{"version":3,"sources":["utils/answers.js","store/action.js","styles/root.js","store/reducers/helpers/bot/aiTools.js","constants/aiTools.js","services/bots.service.js","constants/integration.js","constants/botCustomizer.js","store/initialState.js","constants/analytics.js","utils/analytics.js","store/reducers/helpers/bot/analytics.js","utils/bot.js","store/reducers/helpers/bot/botDetails.js","components/BotCustomizer/svg/DefaultIcon.js","components/BotCustomizer/svg/Icon1.js","components/BotCustomizer/svg/Icon2.js","components/BotCustomizer/svg/Icon3.js","components/BotCustomizer/svg/Icon4.js","components/BotCustomizer/iconUtils.js","services/fileGenerator.service.js","services/auth.service.js","constants/answerbank/chatlist.js","constants/testSuite.js","utils/testSuite.js","store/reducers/helpers/bot/integrations.js","constants/websocket.js","store/reducers/helpers/bot/questions.js","store/reducers/index.js","store/reducers/init.js","store/reducers/bots.js","store/reducers/helpers/bots.js","store/reducers/user.js","store/reducers/plan.js","store/reducers/onboarding.js","store/reducers/admin.js","store/reducers/bot/answers.js","store/reducers/helpers/bot/categories.js","store/reducers/bot/botDetails.js","store/reducers/bot/categories.js","store/reducers/bot/chatlist.js","store/reducers/bot/integrations/index.js","store/reducers/bot/integrations/settings.js","store/reducers/bot/testSuites.js","store/reducers/bot/ui.js","store/reducers/bot/questions.js","store/reducers/subscription.js","store/reducers/categoryTemplates.js","store/reducers/bot/analytics.js","store/reducers/bot/callbackLogs.js","store/reducers/bot/aiTools.js","store/reducers/websocket.js","store/reducers/invoice.js","store/reducers/bot/settings.js","store/store.js","assets/images/zeroshotbot_black.png","assets/images/auth-banner.png","pages/Auth/hooks.js","pages/Auth/StyledComponents.js","styles/GenericStyledComponents.js","components/Input/Input.style.js","components/Input/Input.js","components/Input/index.js","selectors/user.js","store/useSelector.js","utils/socialAuth/google/useGoogleAuthentication.js","utils/socialAuth/google/useGlobalGoogle.js","pages/Auth/SignUp/hooks.js","components/Alert/Alert.style.js","components/Button/AnchorButton.js","components/Alert/index.js","components/Modals/GenericModal/GenericModal.style.js","components/Modals/GenericModal/index.js","components/Modals/RedirectModal/index.js","pages/Auth/SignUp/SignUp.style.js","pages/Auth/SignUp/index.js","selectors/admin.js","pages/Auth/SignIn/hooks.js","constants/screens.js","pages/Auth/SignIn/SignIn.style.js","pages/Auth/SignIn/index.js","pages/ResetPassword/hooks.js","pages/ResetPassword/ResetPassword.style.js","components/SidebarChat/StyledComponents.js","pages/ResetPassword/index.js","pages/Auth/index.js","components/Title/Title.styles.js","components/Title/index.js","components/Title/Title.js","components/BotCard/BotCard.style.js","components/ToolTips/BaseToolTip.js","components/Modals/ConfirmDelete/index.js","components/WeakStatPopover.js","components/ToolTips/LimitationTooltip.styles.js","components/ToolTips/LimitationToolTip.js","selectors/plan.js","selectors/bots.js","components/BotCard/hooks.js","components/BotCard/index.js","components/BotCard/BotCard.js","components/TextArea/TextArea.styles.js","components/TextArea/index.js","utils/validator.js","selectors/layout.js","selectors/bot/index.js","selectors/bot/answers.js","selectors/featureFlags.js","components/Modals/BotModal/hooks.js","components/Modals/BotModal/BotModal.styles.js","components/Select/Select.styles.js","components/Select/index.js","components/hoc/withFeatureFlags.js","constants/featureFlags.js","components/Modals/BotModal/BotModal.js","components/Modals/NewUserModal/NewUserModal.style.js","components/Modals/NewUserModal/index.js","selectors/categoryTemplates.js","selectors/bot/categories.js","selectors/bot/ui.js","components/Layout/hooks.js","components/Layout/Layout.styles.js","assets/images/robot-icon-black-small.svg","constants/header.js","assets/images/zeroshotbot-header-white-logo.svg","components/Header/Header.style.js","components/MenuItem/MenuItem.styles.js","components/JiraForm/hooks.js","components/JiraForm/JiraForm.style.js","components/JiraForm/index.js","components/MenuItem/index.js","components/MenuItem/MenuItem.js","components/ImpersonationBanner/ImpersonationBanner.style.js","components/ImpersonationBanner/index.js","selectors/subscription.js","components/Header/Header.js","components/Header/index.js","components/TextIcon/TextIcon.styles.js","components/TextIcon/TextIcon.js","components/BackButton/BackButton.style.js","components/BackButton/index.js","components/Sidebar/Sidebar.style.js","constants/joyride_steps/bot_sidebar_menu.js","components/BackButton/BackToBotsPage.js","selectors/bot/aiTools.js","components/Sidebar/hooks.js","components/Sidebar/BotSidebar.js","components/ToolTips/JoyrideTooltip.styles.js","components/ToolTips/JoyrideToolTip.js","constants/joyride_steps/sidebar_chat.js","selectors/bot/chatList.js","components/SidebarChat/hooks.js","components/HR/GenericHR.js","components/CodeBlock/index.js","components/ChatBubble/index.js","components/SidebarChat/index.js","assets/images/zsb-dead-logo.png","components/FallbackBoundary/index.js","assets/images/zeroshotbot-horizontal-medium.svg","constants/plan.js","assets/images/test-suite-sample.png","assets/images/test-suite-sample-2.png","assets/images/analytics-sample.png","components/Modals/FirstLoginPromoModal/StyledComponents.js","services/stripeAPI.service.js","components/Modals/FirstLoginPromoModal/hooks.js","pages/UserProfile/planDetails.js","components/Modals/FirstLoginPromoModal/index.js","components/HR/HRWithCenteredText.js","components/Modals/SequenceViewerModal/SequenceViewerModal.style.js","components/Modals/SequenceViewerModal/index.js","components/Layout/index.js","pages/Bots/bots.styles.js","constants/localStorage.js","pages/Bots/hooks.js","components/Modals/WordPressIntegrationModal/WordPressIntegrationModal.style.js","components/Modals/WordPressIntegrationModal/ImportAlertMessage.js","constants/answerbank/website.js","components/Modals/WordPressIntegrationModal/hooks.js","components/ImportUrlForm/ImportUrlForm.style.js","components/ImportUrlForm/hooks.js","components/ImportUrlForm/index.js","components/Modals/WordPressIntegrationModal/index.js","pages/Bots/index.js","components/Modals/CreateTestsuiteModal/CreateTestsuiteModal.styles.js","components/Modals/CreateTestsuiteModal/index.js","selectors/bot/testSuites.js","components/Modals/AddQuestionToTestSuiteModal/hooks.js","components/Modals/AddQuestionToTestSuiteModal/AddQuestionToTestSuiteModal.styles.js","components/AnswerWithScore/AnswerWithScore.styles.js","components/AnswerRenderer.js","components/AnswerWithScore/index.js","components/AnswerWithScore/AnswerWithScore.js","components/Button/ToggleShowDisplayAnswer/index.js","components/Modals/AddQuestionToTestSuiteModal/index.js","components/Modals/DeleteCategoryModal/DeleteCategoryModal.styles.js","components/Modals/DeleteCategoryModal/hooks.js","components/Modals/DeleteCategoryModal/index.js","components/EditCategoryList/EditCategoryList.styles.js","components/EditCategoryList/index.js","components/TemplateCategories/TemplateCategories.styles.js","components/TemplateCategories/index.js","components/CategoryForm/StyledComponents.js","components/CategoryForm/hooks.js","components/BotCustomizer/CustomizeBot/ColorPicker/ColorPicker.style.js","components/BotCustomizer/CustomizeBot/ColorPicker/index.js","components/CategoryForm/index.js","components/Modals/ViewCategories/StyledComponents.js","services/categories.service.js","components/Modals/ViewCategories/hooks.js","components/Modals/ViewCategories/index.js","components/Modals/ImportAnswerModal/ImportAnswerModal.style.js","components/Modals/ImportAnswerModal/KeywordsForm.js","components/Modals/ImportAnswerModal/ImportAlertMessage.js","components/Modals/ImportAnswerModal/AnswerList.js","components/Modals/ImportAnswerModal/CsvOrJsonStep.js","components/Modals/ImportAnswerModal/TextIngestStep.js","components/Modals/ImportAnswerModal/hooks.js","constants/joyride_steps/import_answer_modal.js","components/Modals/ImportAnswerModal/index.js","components/LimitationBanner/LimitationBanner.styles.js","components/LimitationBanner/index.js","constants/joyride_steps/answer_bank_text_ingest.js","pages/BotDetails/AnswerBank/AnswerBank.constant.js","pages/BotDetails/AnswerBank/hooks.js","pages/BotDetails/AnswerBank/AnswerBank.styles.js","pages/BotDetails/AnswerBank/QuestionToTestSuiteDropdownMenu/QuestionToTestSuiteDropdownMenu.js","pages/BotDetails/AnswerBank/AskedQuestionModal/AskedQuestionModal.style.js","components/DateFilter/DateFilter.styles.js","components/DateFilter/DateFilter.js","components/DateFilter/index.js","pages/BotDetails/AnswerBank/AskedQuestionModal/AskedQuestionModal.js","pages/BotDetails/AnswerBank/MoveCategoryModal/MoveCategoryModal.style.js","pages/BotDetails/AnswerBank/MoveCategoryModal/MoveCategoryModal.js","pages/Admin/Users/UserDetails/UserDetails.style.js","components/DiGraph/StyledComponents.js","utils/apiUtils.js","components/DiGraph/index.js","components/Modals/ExportModal/ExportModal.style.js","components/Modals/ExportModal/hooks.js","components/Modals/ExportModal/index.js","components/Modals/ImportFileModal/ImportFileModal.style.js","components/Modals/ImportFileModal/ImportAlertMessage.js","components/Modals/ImportFileModal/hooks.js","components/Modals/ImportFileModal/index.js","pages/BotDetails/AnswerBank/AnswerTypes/Answer/hooks.js","pages/BotDetails/AnswerBank/SettingsDropdownMenu/SettingsDropdownMenu.style.js","pages/BotDetails/AnswerBank/SettingsDropdownMenu/SettingsDropdownMenu.js","pages/BotDetails/AnswerBank/TabsExtraActions/TabsExtraActions.style.js","pages/BotDetails/AnswerBank/AnswerMenu/AnswerMenu.style.js","pages/BotDetails/AnswerBank/AnswerMenu/AnswerMenu.js","pages/BotDetails/AnswerBank/AnswerMenu/OpenAIAnswerMenu.js","pages/BotDetails/AnswerBank/AnswerMenu/WebsiteMenu.js","pages/BotDetails/AnswerBank/TabsExtraActions/TabsExtraActions.js","components/AnswerItem/Answer.styles.js","components/AnswerItem/AnswerVersionsMenu.js","components/AnswerItem/hooks.js","components/AnswerItem/index.js","components/AnswerItem/Answer.js","components/EmptyAnswer/EmptyAnswer.style.js","assets/images/robot-icon-faded-small.svg","components/EmptyAnswer/index.js","pages/BotDetails/AnswerBank/AnswerList/AnswerList.js","pages/BotDetails/AnswerBank/SortDropdownMenu/SortDropdownMenu.style.js","pages/BotDetails/AnswerBank/SortDropdownMenu/SortDropdownMenu.js","pages/BotDetails/AnswerBank/AnswerTypes/AnswerTabs/hooks.js","pages/BotDetails/AnswerBank/AnswerTypes/AnswerTabs/index.js","pages/BotDetails/AnswerBank/AnswerTypes/Answer/index.js","pages/BotDetails/AnswerBank/AnswerTypes/Website/hooks.js","pages/BotDetails/AnswerBank/AnswerTypes/Website/index.js","pages/BotDetails/AnswerBank/AnswerTypes/File/hooks.js","pages/BotDetails/AnswerBank/AnswerTypes/File/index.js","pages/BotDetails/AnswerBank/AnswerTypes/hooks.js","pages/BotDetails/AnswerBank/AnswerTypes/index.js","components/Modals/AddAnswerModal/index.js","components/Modals/ImportWebsiteModal/hooks.js","components/Modals/ImportWebsiteModal/ImportWebsiteModal.style.js","components/Modals/ImportWebsiteModal/ImportAlertMessage.js","components/Modals/ImportWebsiteModal/index.js","pages/BotDetails/AnswerBank/index.js","selectors/bot/callbackLogs.js","components/Modals/CallbackModal/hooks.js","components/Modals/CallbackModal/CallbackModal.styles.js","components/Modals/CallbackModal/index.js","components/Modals/FeedbackModal/hooks.js","components/Modals/FeedbackModal/FeedbackModal.styles.js","components/Modals/FeedbackModal/index.js","pages/useQuery.js","selectors/bot/analytics.js","pages/BotDetails/Analytics/hooks.js","pages/BotDetails/Analytics/Analytics.styles.js","components/Modals/ConfirmQuestionValidation/index.js","pages/BotDetails/Analytics/index.js","components/Modals/TestCaseModal/TestCaseModal.styles.js","components/Modals/TestCaseModal/index.js","components/TestSuite/TestSuite.styles.js","components/TestSuite/index.js","components/TestSuite/TestSuite.js","components/Modals/ValidationQuestionModal/ValidationQuestionModal.style.js","components/Modals/ValidationQuestionModal/hooks.js","constants/joyride_steps/validation_page.js","components/MoreMenu/MoreMenu.styles.js","components/MoreMenu/index.js","components/Modals/ValidationQuestionModal/index.js","pages/BotDetails/Validation/hooks.js","pages/BotDetails/Validation/Validation.styles.js","pages/BotDetails/Validation/index.js","pages/BotDetails/Integration/Web/Web.styles.js","selectors/publicKeys.js","selectors/bot/integration/index.js","components/BotCustomizer/utils.js","selectors/bot/integration/settings.js","services/azureBlobStorage.service.js","pages/BotDetails/Integration/Web/hooks.js","components/BotCustomizer/BotCustomizer.styles.js","components/BotCustomizer/V1CustomComponent.js","components/BotCustomizer/hooks.js","components/CodeCopier/CodeCopier.styles.js","components/CodeCopier/index.js","components/BotCustomizer/ChatWidgetLauncher/ChatWidgetLauncher.style.js","components/BotCustomizer/ChatWidgetLauncher/index.js","components/BotCustomizer/UploadButton/UploadButton.style.js","components/BotCustomizer/UploadButton/UploadButton.js","components/BotCustomizer/LauncherIconPickerModal/LauncherIconPickerModal.style.js","components/BotCustomizer/LauncherIconPickerModal/index.js","components/BotCustomizer/CustomizeBot/CustomizeBot.style.js","components/BotCustomizer/CustomizeBot/PanelActionButtons.js","components/BotCustomizer/CustomizeBot/constants.js","components/BotCustomizer/CustomizeBot/SearchCustomizer.js","components/BotCustomizer/CustomizeBot/WidgetVersion.js","components/hoc/withOpenAI.js","components/BotCustomizer/CustomizeBot/AccordionPanels/ConfigPanel/index.js","components/BotCustomizer/CustomizeBot/AccordionPanels/ConfigPanel/hooks.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/AdvanceSettings/ContextHistory.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/AdvanceSettings/hooks.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/AdvanceSettings/ToggleSwitchSection.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/AdvanceSettings/index.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/index.js","components/BotCustomizer/CustomizeBot/AccordionPanels/AppearancePanel/hooks.js","components/BotCustomizer/PreviewImageModal/PreviewImageModal.style.js","components/BotCustomizer/PreviewImageModal/index.js","components/BotCustomizer/WidgetLogo/index.js","components/BotCustomizer/CustomizeBot/AccordionPanels/PlacementAndShape/index.js","components/BotCustomizer/CustomizeBot/AccordionPanels/PlacementAndShape/hooks.js","components/BotCustomizer/CustomizeBot/FormBuilder.js","components/BotCustomizer/CustomizeBot/AccordionPanels/FeedbackAndHandOff/hooks.js","components/BotCustomizer/CustomizeBot/AccordionPanels/FeedbackAndHandOff/index.js","components/BotCustomizer/CustomizeBot/index.js","components/BotCustomizer/index.js","pages/BotDetails/Integration/Web/SandboxIntegration.js","pages/BotDetails/Integration/Web/NPMIntegration.js","assets/images/wordpress-icon.svg","constants/integrationPlatforms.js","pages/BotDetails/Integration/Web/index.js","pages/BotDetails/Integration/Demo/index.js","pages/BotDetails/Integration/Mobile/Mobile.styles.js","utils/integration.js","pages/BotDetails/Integration/Mobile/hooks.js","pages/BotDetails/Integration/Mobile/index.js","pages/BotDetails/Integration/Others/Others.styles.js","pages/BotDetails/Integration/Others/hooks.js","pages/BotDetails/Integration/Others/index.js","pages/BotDetails/Integration/Integration.styles.js","pages/BotDetails/Integration/hooks.js","pages/BotDetails/Integration/FacebookMessenger/FacebookMessenger.styles.js","selectors/messenger.js","pages/BotDetails/Integration/FacebookMessenger/hooks.js","pages/BotDetails/Integration/FacebookMessenger/index.js","pages/BotDetails/Integration/Viber/Viber.styles.js","pages/BotDetails/Integration/Viber/hooks.js","pages/BotDetails/Integration/Viber/index.js","pages/BotDetails/Overview/Overview.style.js","utils/plan.js","components/hoc/withPlanLimit.js","components/UpgradeTag.js","pages/BotDetails/Integration/Wordpress/Wordpress.styles.js","pages/BotDetails/Integration/Wordpress/hooks.js","pages/BotDetails/Integration/Wordpress/index.js","pages/BotDetails/Integration/API/API.styles.js","pages/BotDetails/Integration/API/hooks.js","pages/BotDetails/Integration/API/index.js","components/BotCustomizer/PostCustomizationConfirmEditModal.js","components/BotCustomizer/PreCustomizationConfirmEditModal.js","pages/BotDetails/Integration/index.js","pages/BotDetails/Settings/Settings.styles.js","pages/BotDetails/Settings/hooks.js","components/LanguagePicker/LanguagePicker.styles.js","components/LanguagePicker/index.js","components/EditorAndViewer/EditorAndViewer.styles.js","components/EditorAndViewer/Editor/Editor.styles.js","components/RichTextEditor/RichTextEditor.style.js","components/RichTextEditor/hooks.js","components/RichTextEditor/index.js","components/EditorAndViewer/Editor/CodeMirror.js","components/EditorAndViewer/EditorAndViewer.js","components/ToolTips/TitleToolTip.js","pages/BotDetails/Settings/OpenAIResponseSettings.js","pages/BotDetails/Settings/index.js","services/aiTools.service.js","pages/BotDetails/hooks.js","components/Modals/LinkedQuestionModal/LinkedQuestionModal.style.js","services/linkQuestion.service.js","components/Modals/LinkedQuestionModal/hooks.js","components/Modals/LinkedQuestionModal/index.js","components/Modals/ResponsePickerModal/ResponsePickerModal.styles.js","components/Modals/ResponsePickerModal/hooks.js","pages/BotDetails/AnswerBank/SimilarAnswerModal/SimilarAnswerModal.style.js","components/Modals/ResponsePickerModal/index.js","pages/BotDetails/BotDetails.styles.js","services/callback.service.js","pages/BotDetails/CallbackLog/hooks.js","pages/BotDetails/CallbackLog/index.js","pages/BotDetails/Overview/index.js","pages/BotDetails/Questions/hooks.js","components/Modals/AnswerEditor/Variant/Variant.styles.js","pages/BotDetails/Questions/SettingsDropdownMenu/SettingsDropdownMenu.style.js","pages/BotDetails/Questions/SettingsDropdownMenu/SettingsDropdownMenu.js","pages/BotDetails/Questions/QuestionImportExportMenu/QuestionImportExportMenu.style.js","pages/BotDetails/Questions/QuestionImportExportMenu/QuestionImportExportMenu.js","components/Modals/ImportQuestionModal/ImportQuestionModal.style.js","components/Modals/ImportQuestionModal/hooks.js","constants/joyride_steps/import_question_modal.js","components/Modals/ImportQuestionModal/index.js","pages/BotDetails/Questions/index.js","components/Question/hooks.js","components/Question/index.js","components/Modals/SimilarQuestionsModal/hooks.js","components/Modals/SimilarQuestionsModal/index.js","components/Modals/AnswerEditor/AnswerEditor.styles.js","components/CategorySelect/CategorySelect.styles.js","components/CategorySelect/index.js","components/Modals/AnswerEditor/hooks.js","components/QuickReplyFormRow/QuickReplyFormRow.styles.js","assets/images/unlink-solid.svg","assets/images/link-solid.svg","components/HorizontalDivider.js","components/QuickReplyFormRow/index.js","components/Modals/AnswerEditor/QuickRelpy/QuickReply.styles.js","components/Modals/AnswerEditor/QuickRelpy/QuickReply.js","components/Button/ToggleFullScreenButton.js","components/Modals/AnswerEditor/Variant/VariantConditionForm.js","components/EditorAndViewer/Editor/Editor.js","components/Modals/AnswerEditor/Variant/Variants.js","components/Modals/AnswerEditor/index.js","components/Modals/QuestionEditor/hooks.js","components/Modals/QuestionEditor/index.js","pages/BotDetails/ConversationSimulator/hooks.js","pages/BotDetails/ConversationSimulator/index.js","components/Modals/FileEditor/FileEditor.styles.js","components/Modals/FileEditor/hooks.js","components/Modals/FileEditor/index.js","pages/BotDetails/Functions/hooks.js","pages/BotDetails/Functions/StyledComponents.js","pages/BotDetails/Functions/Parameters.js","pages/BotDetails/Functions/Auth.js","pages/BotDetails/Functions/Output.js","pages/BotDetails/Functions/FunctionModal.js","pages/BotDetails/Functions/index.js","components/Modals/WebsiteEditor/hooks.js","components/Modals/WebsiteEditor/index.js","pages/BotDetails/index.js","pages/UserProfile/MyAccount/hooks.js","pages/UserProfile/MyAccount/UserProfile.style.js","pages/UserProfile/MyAccount/index.js","pages/UserProfile/index.style.js","components/Sidebar/UserSidebar.js","components/ActivityLogs/ActivityLogs.style.js","components/ActivityLogs/hooks.js","components/ActivityLogs/ActivityLogsModal.js","pages/Admin/AdminSidebar.style.js","pages/Admin/AdminSidebar.js","pages/Admin/Users/UpdateUserModal.js","pages/Admin/Users/UserDetails/index.js","pages/Admin/Users/Users.style.js","pages/Admin/Users/UsersListTable.js","pages/Admin/Users/index.js","pages/Admin/GlobalVars/GlobalVarsAddModal/GlobalVarsAddModal.style.js","pages/Admin/GlobalVars/GlobalVarsAddModal/GlobalVarsAddModal.js","pages/Admin/GlobalVars/GlobalVarsTable/GlobalVarsTable.style.js","pages/Admin/GlobalVars/GlobalVarsTable/GlobalVarsTable.js","pages/Admin/GlobalVars/GlobalVarsSearch/GlobalVarsSearch.style.js","pages/Admin/GlobalVars/GlobalVarsSearch/GlobalVarsSearch.js","pages/Admin/GlobalVars/GlobalVars.style.js","pages/Admin/GlobalVars/index.js","pages/Admin/Versions/Versions.style.js","pages/Admin/Versions/VersionsTable/VersionsTable.style.js","pages/Admin/Versions/VersionsModal/VersionModal.style.js","pages/Admin/Versions/VersionsModal/VersionModal.js","pages/Admin/Versions/VersionsTable/VersionsTable.js","pages/Admin/Versions/VersionSearch/VersionSearch.style.js","pages/Admin/Versions/VersionSearch/VersionSearch.js","pages/Admin/Versions/index.js","pages/Admin/SidebarRoutes.js","components/ActivityLogs/index.js","pages/UserProfile/OnboardingFlags/OnboardingFlags.style.js","pages/UserProfile/OnboardingFlags/hooks.js","pages/UserProfile/OnboardingFlags/index.js","pages/UserProfile/PlanAndPayments/PlanAndPayments.style.js","selectors/invoice.js","pages/UserProfile/PlanAndPayments/hooks.js","pages/UserProfile/PlanAndPayments/index.js","pages/UserProfile/Subscription/Pricing/Pricing.style.js","pages/UserProfile/Subscription/Pricing/hooks.js","pages/UserProfile/Subscription/Pricing/index.js","components/Modals/CancelSubscriptionModal/hooks.js","components/Modals/CancelSubscriptionModal/index.js","components/Modals/SwitchPlanSubscriptionModal/hooks.js","components/Modals/SwitchPlanSubscriptionModal/index.js","pages/UserProfile/ApiKey/hooks.js","pages/UserProfile/ApiKey/ApiKey.styles.js","components/Modals/ApiKeyModal/hooks.js","components/Modals/ApiKeyModal/ApiKeyModal.styles.js","components/Modals/ApiKeyModal/index.js","pages/UserProfile/ApiKey/index.js","pages/UserProfile/index.js","pages/VerifyEmail/hooks.js","pages/VerifyEmail/index.js","pages/Admin/Admin.style.js","pages/Admin/Dashboard/hooks.js","pages/Admin/Dashboard/dashboardRoutes.js","pages/Admin/Dashboard/DashboardItem/DashboardItem.style.js","pages/Admin/Dashboard/DashboardItem/DashboardItem.js","pages/Admin/Dashboard/Dashboard.styles.js","pages/Admin/Dashboard/index.js","pages/Admin/adminSidebarRoutes.js","pages/Admin/index.js","pages/ConfirmResetPassword/hooks.js","pages/ConfirmResetPassword/ConfirmResetPassword.style.js","pages/ConfirmResetPassword/index.js","selectors/websocket.js","components/PrivateRoute/index.js","components/AdminRoute/index.js","components/IdleTimerCountdown/index.js","pages/Logout/index.js","App.js","reportWebVitals.js","index.js","constants/outboundLinks.js","components/Button/Button.style.js","components/Button/Button.js","components/Button/index.js","services/api.service.js","constants/answerbank/answertype.js","components/Modals/WebsiteEditor/WebsiteEditor.styles.js","constants/routes.js","utils/index.js","constants/error.js","constants/answerbank/defaults.js","utils/dataTypes.js","utils/stringManipulation.js","store/reducers/helpers/bot/answers.js","utils/dates.js","constants/bot.js"],"names":["extractDisplayAnswer","answer","show_html","show_text","text","Array","isArray","length","map","item","getAnswerStringValue","isAnObject","value","extractAnswerFromObjectWithValue","i","type","createDisplayAnswerAPIPayload","displayAnswer","has","Object","fromEntries","entries","filter","key","displayAnswerWithShowTextAndHTML","find","displayAnswerWithTextAndValueObject","displayAnswerTextValue","displayAnswerObject","forEach","obj","splitDisplayAnswer","reduce","acc","arr","extractQuickReplyData","answerFromAPIData","context","quick_reply","quick_reply_options","parseBoolean","messageInputIsDisabled","enabled","message","replies","idx","label","display","question","reply","convertToNewQuickReplyPayload","answerData","quickReply","quickReplyOptions","quickRepliesData","quickRepliesArray","includes","ZSB_CHAT_BREAKER_ENCONDING","splittedAnswer","split","toString","match","htmlString","replace","tempElement","document","createElement","innerHTML","currentValue","nodes","parentNode","from","extractedElement","childNode","childNodes","childCurrent","tagName","getAttribute","textContent","element","outerHTML","imgElementMatch","extractHTMLElement","SIGN_IN_SUCCESS","SIGN_UP_SUCCESS","LOGOUT_USER","LOGOUT_EXTERNAL_USER","EXTERNAL_SIGN_IN_SUCCESS","SET_PAGE_EXTERNAL","UNSET_PAGE_EXTERNAL","WORD_PRESS_SUCCESS","INIT_JAC","SET_ONBOARDING_FLAG","DELETE_ONBOARDING_FLAG","RESET_ONBOARDING_FLAG","SET_PUBLIC_KEY","SPAWN_CREATE","LOAD_APPLICATION","GET_USERNAME","UPDATE_USER","INIT","SET_PLAN","RESET_PLAN","SHOW_FIRST_LOGIN_PLAN","DISMISS_FIRST_LOGIN_PLAN","SET_PLAN_DETAILS","SET_USER_SUBSCRIPTION","SET_STRIPE_STATUS","SET_PAYMENT_METHODS","CANCEL_SUBSCRIPTION","CLOSE_SUCCESS_CANCEL_SUBSCRIPTION_MODAL","SHOW_CANCEL_SUBSCRIPTION_MODAL","CLOSE_CANCEL_SUBSCRIPTION_MODAL","SHOW_SWITCH_PLAN_SUBSCRIPTION_MODAL","CLOSE_SWITCH_PLAN_SUBSCRIPTION_MODAL","SET_VIEW_TYPE","SET_BOTS","SET_TEMP_BOT","ADD_BOT","DELETE_BOT","UPDATE_BOT","VIEW_BOT","IMPORT_BOT","SET_BOT_MODES","UPDATE_BOT_SYNC","BULK_DELETE_ANSWERS","SET_ANSWERS","ADD_ANSWER_QLINK","ADD_ANSWER","ADD_FILE","ADD_MULTIPLE_ANSWERS","SET_DEFAULT_ANSWER","UPDATE_ANSWER","UPDATE_FILE","UPDATE_WEBSITE","DELETE_ANSWERBANK","REMOVE_ANSWER_QLINK","UPDATE_ANSWER_HITCOUNT","SET_SHOW_ANSWER_VERSIONS","SET_SHOW_DRAFT_RESPONSES","SET_SHOW_BELOW_THRESHOLD_RESPONSES","SET_WEBSITE_SELECTED_PAGES","RESET_WEBSITE_SELECTED_PAGES","BULK_MOVE_CATEGORY","SET_CATEGORY_TEMPLATES","GET_CATEGORIES","ADD_CATEGORY","DELETE_CATEGORY","UPDATE_CATEGORY","SET_CATEGORY_MODAL_OPEN","SET_SELECTED_CATEGORY_DETAILS","CLEAR_SELECTED_CATEGORY_DETAILS","SET_CATEGORY_MODAL_CLOSE","IMPORT_CATEGORY_TEMPLATES","SET_TEST_SUITES","SET_TEST_CASES","SET_SELECTED_TEST_SUITE","UPDATE_TEST_SUITE","RUN_TEST_SUITE","DELETE_TEST_CASE","DELETE_TEST_SUITE","ADD_TEST_SUITE","ADD_TEST_CASE","UPDATE_TEST_CASE","SET_INTEGRATIONS","ADD_INTEGRATION","UPDATE_INTEGRATION","DELETE_INTEGRATION","SET_INTEGRATION_PANEL_PERMIT","AUTO_OPEN_INTEGRATION_PANEL","SET_INTEGRATION_ACTIVE_PANEL","RESET_INTEGRATION_PANEL_AND_PERMIT","SET_MESSENGER_API","SET_VIBER_API","SET_CURRENT_INTEGRATION_ID","SET_CURRENT_INTEGRATION_DATA","SAVE_NEW_INTEGRATION","RESET_SEARCH_CUSTOMIZER_DATA","CLEAR_COMPONENT_INTEGRATION_DATA","CLEAR_CURRENT_INTEGRATION_ID","RESET_INTEGRATION_SETTINGS","UPDATE_VIBER_WEBHOOK_STATUS","SET_INTEGRATION_BOT_VERSION","SET_INTEGRATION_WIDGET_TYPE","SET_WIDGET_PLACEHOLDER","SET_WIDGET_THEME_COLOR","SET_WIDGET_FONT_COLOR","SET_WIDGET_HEIGHT","SET_HEADER_AVATAR","SET_HEADER_AVATAR_TYPE","SET_RESPONSE_AVATAR","SET_RESPONSE_AVATAR_TYPE","SET_WIDGET_LAUNCHER_ICON","SET_WIDGET_LAUNCHER_AVATAR_TYPE","SET_WIDGET_AVATAR_COLOR","SET_WIDGET_TITLE","SET_WIDGET_SUBTITLE","SET_WIDGET_WELCOME_MESSAGE","TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH","SET_SHOW_WIDGET_AVATAR_PICKER_MODAL","CLOSE_WIDGET_AVATAR_PICKER_MODAL","RESET_CONFIG_PANEL_SETTINGS","RESET_APPEARANCE_PANEL_SETTINGS","RESET_PLACEMENT_PANEL_SETTINGS","TOGGLE_INTERACTION_HISTORY","TOGGLE_AUTO_OPEN_WIDGET_SETTING","TOGGLE_WIDGET_SPEECH_TO_TEXT","TOGGLE_WIDGET_TEXT_TO_SPEECH","TOGGLE_WIDGET_TYPING_EXPERIENCE","SET_MAX_INTERACTION_HISTORY","SET_WIDGET_CHAT_BUBBLE_COLOR","SET_REPLY_BUBBLE_GRADIENT","SET_WIDGET_FONT_SIZE","SET_CURRENT_INTEGRATION_TYPE","TOGGLE_SHOW_CLOSE_BUTTON","OPEN_EDIT_PANEL_INTEGRATION","SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL","CLOSE_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL","SHOW_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL","CLOSE_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL","SET_DEMO_BACKGROUND","OPEN_IMAGE_VIEWER_MODAL","CLOSE_IMAGE_VIEWER_MODAL","SET_INTEGRATION_IDENTIFIER","SET_INTEGRATION_PATH","SET_LAUNCHER_SHAPE","SET_WIDGET_LAUNCHER_POSITION","SET_LAUNCHER_LABEL","SET_BOT_CUSTOMIZER_ACTIVE_PANEL","SET_INTEGRATION_HANDOFF_LABEL","SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE","SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE","ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD","REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD","CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD","TOGGLE_INTEGRATION_HANDOFF_CALLBACK","TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM","SET_LAUNCHER_AVATAR_TO_CLOUD_PATH","SET_HEADER_AVATAR_TO_CLOUD_PATH","SET_RESPONSE_AVATAR_TO_CLOUD_PATH","SET_DEMO_BACKGROUND_TO_CLOUD_PATH","GET_ALL_USERS","START_IMPERSONATING_USER","STOP_IMPERSONATING_USER","GET_ALL_GLOBAL_VARS","GET_ALL_VERSIONS","CLEANUP_ALL_GLOBAL_VARS","UPDATE_USER_DATA","SET_NETWORK_DIGRAPH_DATA","CLEAR_DIGRAPH_DATA","SHOW_DIGRAPH","HIDE_DIGRAPH","PUSH_CHAT_QUESTION","PUSH_CHAT_ANSWER","PUSH_CHAT_ERROR_REPLY","UPDATE_CHAT_LIST_ITEM","ADD_TO_CHAT_LIST","CLEAR_CHAT_LIST","SET_CHAT_MODE","TOGGLE_EXPAND_SIDEBAR_CHAT","SHOW_CHAT_ANSWER_IN_MODAL","CLOSE_CHAT_ANSWER_IN_MODAL","SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL","CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL","CLEAR_BOT_AGGREGATIONS","REMOVE_BOT_JID","SET_BOT_AGGREGATIONS","SET_BOT_JID","SET_BOT_DETAILS","CLEAR_BOT_DETAILS","SET_BOT_ERROR","SET_BOT_OVERVIEW","SET_BOT_SETTINGS","SET_TYPING_EXPERIENCE","SET_BOTDETAILS_PAGE_READY","SET_BOTDETAILS_PAGE_LOADING","SET_BOT_AS_WEAK_BOT","REMOVE_WEAK_BOT_STATUS","SHOW_BOT_MODAL","CLOSE_BOT_MODAL","CLOSE_WORDPRESS_MODAL","SHOW_RESPONSE_PICKER_MODAL","CLOSE_RESPONSE_PICKER_MODAL","UPDATE_RESPONSE_PICKER_ANSWERS","SHOW_SIMILAR_QUESTIONS_MODAL","CLOSE_SIMILAR_QUESTIONS_MODAL","UPDATE_SIMILAR_QUESTIONS_MODAL","SET_ANSWER_EDITOR_SELECTED_ANSWER","SET_FILE_EDITOR_SELECTED_FILE","SET_WEBSITE_EDITOR_SELECTED_WEBSITE","CLOSE_ANSWER_EDITOR","CLOSE_FILE_EDITOR","CLOSE_WEBSITE_EDITOR","OPEN_ANSWER_EDITOR_CREATE_MODE","UPDATE_ANSWER_EDITOR_ANSWER","UPDATE_FILE_EDITOR_FILE","UPDATE_WEBSITE_EDITOR_WEBSITE","SHOW_QUESTION_EDITOR","UPDATE_QUESTION_EDITOR","UPDATE_QUESTION_EDITOR_SIMILAR_QUESTIONS","CLOSE_QUESTION_EDITOR","PUSH_ANSWER_AS_RESPONSE_PICKER_BEST_ANSWER","PUSH_AS_QUESTION_EDITOR_SELECTED_ANSWER","REMOVE_HARD_LINK_FROM_RESPONSE_PICKER","REMOVE_HARD_LINK_FROM_QUESTION_EDITOR","UPDATE_RESPONSE_PICKER_SIMILAR_QUESTIONS","SET_ANSWER_EDITOR_CARD_INSIGHTS","SET_ANSWER_EDITOR_GRAPH_INSIGHTS","SET_ANSWER_EDITOR_TABLE_INSIGHTS","SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD","SHOW_RESPONSE_PICKER_MODAL_FOR_QUESTIONS","UPDATE_SIMILAR_QUESTIONS_AFTER_HARD_LINK","UPDATE_ANSWER_EDITOR_LINKED_QUESTIONS","SET_ANSWER_EDITOR_LINKED_QUESTIONS","SET_ALL_QUESTIONS","UPDATE_QUESTION","UPDATE_QUESTION_AND_ANSWER","DELETE_QUESTION","ADD_QUESTION","ADD_MULTIPLE_DRAFT_QUESTIONS","SET_ANALYTICS_AGGREGATIONS_DATA","SET_ANALYTICS_TABLE_DATA","SET_ANALYTICS_GRAPH_DATA","VALIDATE_QUESTION_FROM_ANALYTICS","SET_CALLBACK_LOGS_TABLE_DATA","SET_CALLBACK_MODAL_SESSION_DETAILS","CLEAR_CALLBACK_MODAL_SESSION_DETAILS","SET_WS_TOKEN","DISCONNECT_WEBSOCKET","SET_WS_ASK_QUESTION_ACTION","SET_WS_ASK_QUESTION_SENDING","RESET_WS_GENERATED_ANSWER","SET_WS_SCRAPER_ACTION","UPDATE_WS_SCANNED_DATA_SOURCE","RESET_WS_SCANNER","WS_ADD_FILE","RESET_WS_ADD_FILE_ADDED","WS_UPDATE_ACTION","WS_STOP_SCRAPER","SET_WS_IMPORTER_ACTION","SET_WS_IMPORTER_PROGRESS_COUNT","SET_WS_IMPORTER_PROCESS_COMPLETED","SET_AI_TOOLS","ADD_AI_TOOL","EDIT_AI_TOOL","SET_SELECTED_AI_TOOL","DELETE_AI_TOOL","OPEN_AI_TOOL_MODAL","CLOSE_AI_TOOL_MODAL","SET_INVOICES","RESET_INVOICE","INITIALIZE_API_KEY","UNSET_API_KEY","SET_SHOW_API_KEY_MODAL","CLOSE_API_KEY_MODAL","TOGGLE_SEND_CALLBACK_LOG","SET_PAGE_DETAILS","cssVariables","maxHeight","width","primaryColor","secondaryColor","cardShadow","itemListShadow","primaryTransparent","primaryHighlight","blueishGray","primaryGray","gray0","gray1","gray2","gray3","gray4","gray5","primaryBlue","primaryBlueHover","primaryCyanHover","blue1","blue2","red1","red2","red10","cyan","primaryCyan","zsbCyanGradient","errorText","errorButtonColor","errorBgColor","errorBorder","green0","green1","success","successHover","warning","font","bold","normal","fontFamily","extractAIToolData","toolData","tool","name","description","created_time","last_updated_time","parameters","output","ver","restOfContext","auth","properties","restParamProps","paramProps","position","restOfProps","getOutputOptions","toLowerCase","REQUEST_METHODS","RESPONSE_OPTIONS","outputItems","objectProps","id","undefined","authKey","request","DEFAULT_URL_OUTPUT_FIElDS","authDetails","DEFAULT_AUTH_FIELDS","authRequest","authObjProps","SELECTABLE_FIELDS","authItems","urlDefaultDetails","options","default","DEFAULT_URL_OUTPUT_KEYS","DEFAULT_WALKER_OUTPUT_KEYS","toolParameters","jid","stripUUID","createdAt","lastUpdatedAt","parametersInTable","rest","values","getParamsForTable","outputInTable","data","currentItem","createObjectFromArrayOfNameAndValues","pathProperty","urlProperty","urlValue","property","orderBy","pathValue","getOutputItems","version","Boolean","keyPropertyValidator","_","requiredFields","Promise","reject","DATA_TYPES","OUTPUT_TYPES","showAdvanceSettings","showProperties","field","placeholder","collapsibleField","onload","authType","relatedTo","required","action","optionLabel","hide","validator","outputProps","matches","pathVariableMethod","URL","error","advanceSettingOption","tooltip","DEFAULT_WALKER_OUTPUT_FIElDS","DEFAULT_STATIC_OUTPUT_FIElDS","NEW_OBJECT_ITEM","createBot","sentinel","graph","newBot","token","a","apiService","addBot","res","report","deleteBot","botId","Error","editBot","mode","desc","setBotSession","bot","localStorage","setItem","JSON","stringify","fetchBotDetails","getBotDetails","GET_DATA_ERROR","getBotIntegrations","getIntegration","integrationData","dataArr","flatMap","identifier","settingsobj","int_type","path","settings","statistics","status","reverse","MESSENGER_API_VERSION","AUTHENTICATED_PAYLOAD_COMMENT","ASYNC_PAYLOAD_COMMENT","platform","getItem","DEFAULT_WIDGET_WELCOME_MESSAGE","DEMO_FIELDS_PLACEHOLDER","maxUnlike","welcomeMessage","cancelledFormMessage","submittedFormMessage","handoffLabel","formFields","attribute","mandatory","formHeader","DEFAULT_WIDGET_HEIGHT","DEFAULT_BG","DEFAULT_REPLY_BUBBLE_GRADIENT","DEFAULT_WIDGET_VERSION","INTEGRATION_SETTING_PROP_TO_EXCLUDE","BOT_PANEL_KEY_PREFIX","INITIAL_BOT_INTEGRATION_DATA","fontSize","color","height","subtitle","textColor","headerAvatarType","launcherAvatar","headerAvatar","responseAvatar","responseAvatarType","launcherAvatarType","iconColor","shape","bubbleColor","bubbleGradient","autoOpen","showCloseButton","authenticatedUser","callbackEmail","background","displayFormFields","fb_access_token","widgetVersion","fb_api_version","LAUNCHER_ONLY_AVATAR","AVATAR_ICON_OPTIONS","viewType","initialCategoryModalState","isOpen","templates","errors","initialResponsePickerModalState","answers","softLink","withQuestion","botName","title","similarQuestions","itemToChange","initialCallbackLogsState","table","sessionDetails","initialAnalyticsAggregationsState","allAnswersCount","answerCountEachType","visitorCount","sessionCount","uniqueAnswers","totalQuestions","totalUniqueQuestions","hits","totalCorrectValidation","totalIncorrectValidation","categoriesFromES","integrationsFromES","tableData","mostAskedQuestionData","intentsData","initialAnalyticsState","allQuestions","mostAskedQuestions","intents","positiveFeedbackQuestions","negativeFeedbackQuestions","correctQuestions","incorrectQuestions","aggregations","initialAnswerEditorModalState","answerTab","questionsTab","insightsTab","isCreateMode","initialFileEditorModalState","file","initialWebsitEditorModalState","initialQuestionEditorModalState","answersWithScore","initialAIToolModalState","initialImageViewerModal","source","initialBotModalsState","responsePickerModal","similarQuestionsModal","answerEditorModal","questionEditorModal","aiToolModal","avatarPickerModal","imageViewerModal","apiKeyModal","isIntegrationComponent","initialChatAnswerInModal","show","initialChatSequenceInModal","initialChatSelectedSequenceInModal","sequence","initialUIState","modals","weakBotStats","overview","isChatOnDevMode","isAnswerBankReady","chatAnswerInModal","initialWebsiteSelectedPage","urlSelected","urlSelectedRowKeys","categorySelected","categorySelectedRowKeys","initialBotState","analytics","answerCount","fileCount","websiteCount","files","websites","questions","avatar","categories","chatList","currentIntegrationSettings","panel","activePanel","permit","postCustomizationConfirmEditModal","editable","preCustomizationConfirmEditModal","defaultAnswer","integrations","metadata","selectedAnswer","selectedCategory","strippedBotID","testSuites","testSuite","testCases","totalTestSuites","totalIntegrations","hasBotError","ui","websiteSelectedPages","initialPlansAndFeatures","free","basic","advanced","initialPlanState","export_import","payment_status","user_type","plan_type","customer_id","customer","cards","subscription","lastPaymentError","current_bot_count","onboarding_flag","max_ans_count","max_test_cases","max_test_suite","max_bot_count","current_transaction_count","max_txn_count","last_reset_date","payment_methods","payments","plansAndFeatures","invoices","showFirstLoginPlan","initialUserState","email","is_superuser","is_activated","password","firstName","initialWSState","channel","askQuestionActions","askQuestionActiveAction","initialState","isAuthenticated","isExternalPage","user","featureFlags","bots","tempBot","messengerCallback","messengerApi","publicKey","pubAskedQuestion","plan","categoryTemplates","hasLogout","webSocket","admin","is_impersonating","impersonated_user","all_users","all_global_vars","networkData","showDigraph","layout","initialized","botModal","visible","isMobileView","standardFontSize","PERFORMANCE_METRICS_DEFAULT_ANSWERS","PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS","PERFORMANCE_METRICS_INCORRECT_QUESTIONS","INCORRECT_QUESTIONS","CORRECT_QUESTIONS","QUESTION_LOGS","MOST_ASKED_QUESTION","INTENTS","QUESTION_WITH_POSITIVE_FEEDBACK","QUESTION_WITH_NEGATIVE_FEEDBACK","PERFORMANCE_METRICS_PATH_PREFIX","PERFORMANCE_METRICS_HASH","TABLE_VIEW_QUERY","TOOLTIPS","TABLE_VIEW","QUESTION_LOGS_LIST","KEY_METRICS_LIST","getGraphTimeInterval","startDate","endDate","validStartDate","Date","setHours","toISOString","validEndDate","dateInterval","Math","abs","moment","diff","extractESAnalyticsData","dataArray","hit","_source","datetime","feedback","log_type","validation","category","date","logType","interactionID","interaction_id","sessionID","session_id","visitorID","visitor_id","questionID","_id","intent","openai","references","sentiments","named_entities","detected_language","target_language","translation","translation_messages","asking_messages","isElasticAggregationsEmpty","total","getAnalyticsCategoryFilterLink","initialAnswerCountEachType","defaultAnswerCount","openAIAnswerCount","createESAggregationsData","ESdata","default_count","buckets","result","camelCase","hasOwnProperty","doc_count","totalHits","isNoUniqueQuesiton","question_count","answer_count","visitor_count","session_count","unique_answers","uniqueIntentCount","Number","totalIntentCount","sum","integration","validation_count","totalLikes","feedback_count","totalDislikes","containmentRate","CSATScore","positiveFeedback","negativeFeedback","neutral","defaultAnswerPercentage","uniqueAnswersPercentage","String","feedbackSummary","count","likes","dislikes","toFixed","csatScore","getESChartData","ESData","dateFormat","key_as_string","format","createESAnalyticsTableData","positiveFb","negativeFb","allQuestionData","allPositiveFeedback","getCurrentBotDetailsPage","page","ROUTES","BOT_DETAILS","getRedirectPath","redirect","botStatistics","botJID","isWeakBot","weakBotMessage","strippedJID","isEmpty","default_answer","incorrect","fallbackAnswerThreshold","negativeFeedbackThreshold","push","extractBotData","botData","substring","file_count","website_count","mailConfig","mail_config","isWeak","showWeakStat","DEFAULT_BOT_MODE","persona","retrievalCount","max_candidate","useOpenAI","use_openai","autoTranslateResponse","auto_translate_response","syncedDate","synced_date","syncedPoint","synced_point","syncedIndex","synced_index","language","synced","shouldSendCallbackLog","StyleDefaultIcon","styled","svg","props","DefaultIcon","viewbox","viewBox","xmlns","d","fill","StyleIcon1","Icon1","StyleIcon2","Icon2","StyleIcon3","Icon3","StyleIcon4","Icon4","injectToDOM","headerTitle","createdDiv","createElementNS","setAttributeNS","appendChild","classList","add","style","marginRight","float","setAttribute","insertBefore","path2","path3","path4","generateIcon","File","url","preview","ZSB_JS_URI","process","ZSB_JS_TOKEN","COPY_TO_CLIPBOARD_SCRIPT","BOT_SCRIPT","BOT_SCRIPT_V2","generateEncryptedBot","nd","wlk","snt","AES","encrypt","generateEncryptedWordPressBot","pubInfo","generateBotComponent","integrationConfigURL","isMobile","isDemo","botVersion","encryptedBot","authenticatedHTMLTag","generateWebHTMLTagHeader","generateAuthenticatedUserNPMHTMLTag","setToken","expiry","getTime","LOGIN_TOKEN_TTL_HOURS","getToken","tokenStr","tokenObj","parse","removeItem","setImpersonateUser","masterUserND","impersonatedUserObject","authorizedGoogleAccount","code","sigInToGoogle","callback_url","CHAT_ERROR_REPLY","DEFAULT_ERROR_MESSAGE","qlinks","editor","DEFAULT_EDITOR","hitcount","categoryId","score","requestAgent","TEST_STATUS","getTestResult","testStatus","lastTestTime","lastUpdated","PASSED","FAILED","UNTESTED","createTestCaseData","lastTestStatus","fail","unknown","outdated","testCase","expected_answer","last_actual_answer","last_ran_time","last_test_status","actualAnswer","testResult","createTestSuiteDataFromAPI","lastTestRanTime","last_result_summary","lastModified","testCount","test_count","getImageCloudPath","image","imageLocation","azurefolderPath","isImageOrDocFileType","extractedImageName","getFileExtension","snakeCase","SOCKET_URL","extractQuestion","RECONNECT_INTERVAL_IN_MS","currentISODate","linkType","link_type","lastEdited","question_version","extractQuestionData","combinedReducers","reducers","state","newState","reducer","combineReducers","payload","features","restPlanProps","subscriptionData","restOfSubscriptionObj","last_payment_error","cardLastDigit","payment_method","card","last4","cardBrand","brand","detailsPageReady","trial","isProcessing","is_processing","apiGatewayConfig","apigateway_config","order","wordPressModal","allBots","sortBy","getAllBotsData","botModes","filteredBots","BOT_MODES","ZSB","updatedBots","location","botInformation","newBotCreated","isWebsite","scraping_info","newAnswers","extractAnswerData","extractFileData","folderPath","integrationID","defaultAnswerData","extractDefaultAnswer","integrationSettings","botTitle","viber_version","code1","html","botComponent","headerCode","npm","wordpress","code2","fileAdded","scannedTableDataSource","categorizedTableDataSource","scan","categorizedUrls","activeAction","triggerID","websiteFile","percentage","trigger_id","round","updatedBot","updatePlan","website","assign","extractAnswerList","clear","apiConfig","toRemoveFlag","newFlags","flags","newData","viberConfig","all_versions","isBotOpenAIEnabled","answerItem","botWithAnswers","newAnswer","newFiles","response","newCategories","answersArr","updatedChatList","currentChatItem","updatedAnswer","msgIndex","getNodesFromArray","answerBank","deletedAnswer","answerId","counts","filteredAnswers","updatedAnswerQlink","showAnswersVersions","showDraftResponses","showBelowThresholdResponses","bulkDeleteResults","generated_answer","actionList","newGeneratedAnswer","content","generatedAnswer","concatenatedAnswer","isTriggerIdMatch","questionPayload","interactionId","chatAnswer","extractGeneratedAnswer","chatItem","answerContext","sending","pending","processing","extractedUrls","categorizedWebsitePages","extractScannedObject","scanned","scannedUrl","urlList","scrapingInfo","scannedList","testsuite_count","integration_count","typingExperience","newCategory","extractCategoryData","isDeleteAnswer","allAnswers","updatedCategories","cat","isUpdatedAnswer","updatedAnswers","generateRandomColor","isTemplate","isCategoryOnTemplates","some","categoryTemplate","categoryNameErrors","isCollectionValueHasDuplicate","strippedString","categoryExistsOnTemplate","categoryModalErrors","union","answersFromCategorytemplate","fromCombinedAnswer","existingAnswerFromStore","answerFromStore","existingAnswerFromCategoryTemplatePayload","answerFromCategory","categoryIdFromCombinedAnswer","categoryIdFromCategoryTempExistingAnswer","category_id","chatItemToChangeAnswerJID","allIntegrations","updatedIntegrations","filteredIntegrations","selectedPanel","bgSelectOptions","currentBackgroundImage","cloudPath","currentLauncherAvatar","console","log","currentHeaderAvatar","initialSettings","newAvatar","headerSVGIconTypeAvatar","launcherSVGIconTypeAvatar","oldAvatarProp","currentAvatar","avatarPosition","replyBubbleGradient","speechToText","textToSpeech","src","widgetVersionFromPayload","restOfPayload","restOfSettingsProp","currentWidgetVersion","fb_verify_token","icon","integrationId","omit","newLauncherIcon","interactionHistory","maxInteraction","newUserInfoField","splice","updatedFields","customizerActivePanel","getTestSuiteTestSummary","accumulator","suitesData","tc","selectedTestSuiteJID","newTestCase","allTestCases","updatedTestSuites","ts","selectedTestCase","selectedTestSuite","updatedTestCases","expected_answerid","expectedAnswer","updatedTestSuite","suiteData","filteredTestSuites","newResponsePickersAnswers","pushCurrentAnswerAsTopAnswer","extractedAnswers","updatedQuestion","similarAnswerFromPayload","similarAnswers","hasReachedMaxScore","MAX_ANSWER_SCORE_TO_DISABLE_FINAL_VERSION","DEFAULT_ANSWER_VERSION","isVersionToggleDisabled","fileEditorModal","websiteEditorModal","args","UTCToLocal","join","rich_text","rich_html_text","isInteger","clone","getLocalTimeString","file_name","tableDataObj","createMode","isHardLinked","newQuestion","questionJID","extractedQuestions","matchQuestion","linkedQuestionVersion","sortedAnswers","filteredQuestions","answersHasChanged","questionText","currentQuestion","filteredSimilarQuestions","newAnswersOrder","modalStatus","questionId","hasHardLinkFromList","newSimilarQuestionsData","isSidebarChatExpanded","chatSelectedSequenceInModal","modalAction","open","handlePageResizing","extractWebsiteScanList","pages","goto","categoryList","archiveList","archived","questionsWithAnswer","sortedQuestionsWithAnswer","selectedQuestion","updatedQuestions","sortedQuestions","currentQuestionId","pushCurrentQuestionAsTopQuestion","created","cancel_at_period_end","current_period_end","trial_end","autoRenew","isCancelled","showSwitchPlanSubscriptionModal","switchPlan","paymentMethods","pm","billing_details","billingDetails","showCancelledSubscriptionSuccessMessage","showCancelSubscriptionModal","showUpgradedSubscriptionSuccessMessage","extractedCategoryTemplates","graphData","currentAggregations","questionToUpdate","source_id","updateAnalyticsTableQuestionValidation","isQuestionHasValidation","getIfUpdatedQuestionPreviousValidation","hasPreviousValidation","updateAnalyticsAggregationsValidation","filters","hasCategoryFilter","hasIntegrationFilter","categoryFilter","integrationFilter","callbackInteractionIds","sessionId","isFromAPIResponse","sessionData","isCallback","callbackLogs","callbackLogsTableData","flattenDeep","customer_info","emailAddress","mobile","mobileNumber","phoneNumber","others","toolNodes","aiTools","newTool","toolId","updatedTools","target","authenticated","isEqual","invoiceList","invoice","periodStart","lines","period","start","periodEnd","end","currency","amount","invoice_pdf","hostedURL","hosted_invoice_url","Context","createContext","Store","children","useReducer","dispatch","store","React","useMemo","Provider","useSignUp","useContext","history","useHistory","pathname","useLocation","isSignup","useEffect","BOTS_PAGE","StyledAuth","div","StyledSectionWrapper","StyledFormContent","StyledLogo","img","StyledBannerWrapper","StyledImageBanner","form","StyledSpaceBetweenFlexCenter","StyledSpacEvenlyFlexRow","padding","css","StyledFlexRowCenter","StyledFlexRowRight","StyledFlexRowLeft","StyledBotDetailsWrapper","UnpaddedList","ul","StyledWarningBox","StyledFlexColumn","StyledFlexLeftColumn","StyledSpaceBetweenFlexColumn","StyledTag","Tag","StyledInput","full","Input","size","inputRef","allowClear","htmlFor","Password","visibilityToggle","ref","defaultProps","userSelector","isExternalPageSelector","getTokenSelector","useSelector","selector","useGoogleAuthentication","setSignInToGoogle","setEmail","setPassword","setError","setSpinnerLabel","useState","tokenClient","setTokenClient","urlCode","window","href","searchParams","get","authorizeGoogleAccount","decodeURIComponent","handleError","initializeGoogleClient","google","accounts","oauth2","initCodeClient","client_id","scope","ux_mode","redirect_uri","err","handleExistingCodeURL","setTimeout","callback","addEventListener","googleScript","getElementById","removeEventListener","useGlobalGoogle","refreshAuth","googleAuth","requestCode","urlName","urlEmail","setName","loading","setLoading","signupSuccess","setSignupSuccess","isActivated","setIsActivated","signInToGoogle","googleAUth","onSubmit","evt","preventDefault","userCreate","requestGoogleAccess","onChangeName","e","onChangeEmail","onChangePassword","StyledAlert","AntdAlert","Wrapper","noPadding","StyledAnchorLink","Button","adaptButtonColor","AnchorButton","kebabCase","Alert","hasActionButton","actionButtonProps","flexDirection","alignItems","showIcon","danger","onClick","non_field_errors","detail","StyledModal","Modal","isFullScreen","minWidth","isFormModal","variant","okButtonProps","spinning","noCancelButton","noOkButton","footer","disabled","onCancel","cancelText","onOk","cancelButtonProps","hidden","tip","CountDownRedirectModal","redirectURL","showModal","setShowModal","secondsToGo","setSecondsToGo","timerStopped","setTimerStopped","redirectToVerification","timer","setInterval","c","clearInterval","destroyOnClose","CheckCircleTwoTone","twoToneColor","VERIFY_EMAIL","toUpperCase","substr","EXTERNAL_LOGIN","LOGIN","StyledForm","StyledSwitchLinkContainer","StyledSignInGoogleContainer","button","SignUp","onChange","defaultValue","borderRadius","className","to","adminSelector","isAdminSelector","createSelector","isImpersonatingSelector","impersonatedUserSelector","useSignIn","isAdmin","isRedirected","setIsRedirected","successAction","setSuccessAction","googleAccount","setGoogleAccount","spinnerLabel","handleLoginToGoogle","loginAuthenticatedUser","ADMIN_PAGE","userToken","getUser","MINIMUM_RECOMMENDED_WIDTH","device","mobileS","mobileM","mobileL","tablet","laptop","laptopL","desktop","desktopL","Row","SignIn","isNotVerified","REGISTRATION_SUCCESS_MESSAGE","xs","span","md","SIGNUP","RESET_PASSWORD","useResetPassword","showTokenField","setShowTokenField","onTokenSubmit","updatePasswordValidateToken","updatePassword","onChangeToken","StyledResetPasswordFields","StyledResetPasswordBottomLinks","StyledRightNav","StyledBotTitleSideNav","StyledSpinning","Spin","StyledChatComponent","StyledChatQuestionContainer","StyledChatQuestion","StyledChatAnswerContainer","StyledMessageOptions","StyledTestBotInfo","StyledChatViewButton","isSelected","StyledChatContentHeader","StyledChatList","StyledQuickReplyContainer","StyledChatScore","StyledMsgOption","StyledChatAction","Dropdown","StyledChatInputContainer","StyledColFlexbox","StyledLoader","StyledLoaderContainer","StyledLoaderDots","StyledMenu","Menu","StyledLabel","StyledInteractionInput","InputNumber","StyledZoomIn","ZoomInOutlined","StyledWebSocketActionContainer","StyledWebSocketAction","StyledWebSocketActionList","StyledInfoSequence","InfoCircleFilled","Text","Typography","Title","ResetPassword","level","EXTERNAL_SIGNUP","Auth","useAuth","AuthView","AuthBanner","alt","Logo","StyledTitle","hasPrintBtn","hasRightEl","rightEl","subHeader","onPrint","buttonText","startIcon","PrinterOutlined","StyledBotCard","isList","ToolTip","placement","ConfirmDelete","itemTobeDeleted","modalTitle","confirmLoading","okText","StyledPopover","Popover","StyledContentWrapper","WeakStatPopover","weakData","triggerComponent","dataStatName","ExclamationCircleTwoTone","msg","rounded","bordered","maxWidth","DisabledBtn","isBordered","LimitationTooltip","disabledFeat","isAnElement","makeKeywordAsAnchorText","userPlanSelector","planTypeSelector","isFreeUserSelector","planType","onboardingFlagSelector","isAdvancedUserSelector","maxTransactionCountSelector","importExportEnabledSelector","customerPaymentsSelector","customerIdSelector","invoice_id","currentBotCountSelector","maxBotCountSelector","isMaxBotCountReachedSelector","maxBotCount","currentBotCount","botPercentageSelector","customerChargesSelector","charges","payment","showFirstLoginPlanSelector","isTextIngestEnabledSelector","text_ingest","isTextGenerateEnabledSelector","text_generate","isOpenAIPlanEnabledSelector","planDetailsSelector","allBotsSelector","botModesSelector","botsExceedsLimitSelector","botsRemainingSelector","totalExceedingBotsSelector","showWeakBotStatSelector","_state","matchBot","useBotCard","showWeakBotStat","botsExceedsLimit","totalExceedingBots","isConfirmModalOpen","setIsConfirmModalOpen","handleDelete","handleEditBot","BotCard","viewBot","componentLoading","totalAnswersText","totalFilesText","totalWebsiteCount","cardSettings","Item","EditOutlined","DeleteOutlined","indicator","LoadingOutlined","fontStyle","FrownOutlined","getTimeDifference","LockOutlined","overlay","trigger","MoreOutlined","AntdTextArea","TextArea","StyledTextArea","StyledSpan","noPaddingTop","StyledAntdTextArea","$full","disableSpan","$allowClear","contentEditable","autoSize","minRows","maxRows","memo","ANSWER_BANK_JSON_REQUIRED_FIELDS","QUESTION_JSON_REQUIRED_FIELDS","validateAnswerBankJSONSchema","jsonData","missingFields","invalidFields","validateQuestionJSONSchema","BOT_JSON_REQUIRED_FIELDS","layoutSelector","botModalStateSelector","wordPressModalStateSelector","isBotModalVisibleSelector","isWordPressModalVisibleSelector","pageInitializedSelector","isMobileViewSelector","standardFontSizeSelector","currentBotSelector","getBotUIStateSelector","botState","botNameSelector","answerCountSelector","fileCountSelector","totalArtefactsSelector","featureFlagSelector","featuresState","featureFlagFeaturesSelector","featureFlag","getBotModalsStateSelector","botUiState","isPageReadySelector","hasError","strippedBotJIDSelector","botJIDSelector","selectedCategorySelector","getAllQuestionsWithAnswerSelector","questionEditorSelector","showDraftResponsesSelector","showBelowThresholdResponsesSelector","showWeakBotStatInOverviewSelector","isAutoTranslateResponseSelector","isBotTypingExperienceEnabledSelector","botModeSelector","botPersonaSelector","botPersonaRetrievalCountSelector","autoTranslateResponseSelector","isBotOpenAIEnabledSelector","isOpenAIFeatureEnabledSelector","shouldShowTestChatUseContextSelector","openAIFeatureEnabled","contextHistory","isBotMailConfigEnabledSelector","allAnswersSelector","answersSelector","filesSelector","websitesSelector","topDefaultAnswerSelector","allDefaultAnswersSelector","defaultAnswerThresholdSelector","DEFAULT_ANSWER_THRESHOLD","botAggregationsSelector","answerEditorContentsSelector","modalState","fileEditorContentsSelector","websiteEditorContentsSelector","answerEditorAnswerSelector","fileEditorAnswerSelector","websiteEditorAnswerSelector","answerEditorSimilarAnswerSelector","answerEditorAnswer","isAnswerEditorOpenSelector","isFileEditorOpenSelector","isWebsiteEditorOpenSelector","answerEditorQuestionsSelector","answerEditorInsightsSelector","isCreateModeAnswerEditorSelector","getMaxAnswerCountSelector","isCategoryModalOpenSelector","isMaxAnswersSelector","maxAnswerCount","getTotalAnswersLeftSelector","totalAnswersSelectedFromCategoryTemplatesSelector","sumBy","isTotalAnswersSelectedFromCategoryTemplatesReachMaxAnswerCountSelector","totalAnswersSelectedFromCategoryTemplates","totalAnswersLeft","websiteSelectedPageselector","featureFlagsSelector","isBotModeEnabledSelector","botMode","isBotSimulatorEnabledSelector","botSimulator","useBotModal","isMaxBotCountReached","isBotModalVisible","botModalState","importExportEnabled","isBotModeEnabled","nameRef","useRef","descriptionRef","setBotName","botDesc","setBotDesc","botMetaData","setBotMetaData","botAnswer","setBotAnswer","botWebsite","setBotWebsite","botQuestionList","setBotQuestionList","botTestSuites","setBotTestSuites","botCategoryList","setBotCategoryList","showImportModal","setShowImportModal","showImportOption","setShowImportOption","isImportBtnDisabled","setIsImportBtnDisabled","isImportSaveBtnDisabled","setIsImportSaveBtnDisabled","botInfo","setBotInfo","warnMsg","setWarnMsg","selectExportType","setSelectExportType","exportOptions","setExportOptions","botDetails","setBotDetails","DEFAULT_BOT_MODE_ON_BOTMODAL","setBotMode","importStep","setImportStep","isImporting","isImportReady","isCreatingNewBot","isEditingBot","webSocketIsInprogress","handleClearBotData","handleCloseBotModal","handleSubmit","parameter","testsuite","handleUpdateBot","addNewBot","handleImportBot","answerBankValidation","validateBotJSONSchema","answersAllowed","answerList","answerbank","tempWarnMsg","errorMsg","child","option","flat","botNameToSubmit","appendWithParenthesesIfDuplicate","PLAN_LIMIT_ERROR","duration","params","newImportFormat","botParameter","uuid","importer","newBotRes","importBot","is_queued","handleChangeStep","step","handleToggleImportModal","handleCloseImportModal","handleReadBot","reader","FileReader","botString","readAsText","handleChangeImportType","existingImportType","filtered","checked","handleModalSubmit","noBotModes","StyledFooterSubmit","StyledAntUploadContent","p","StyledBotModalFooter","StyledActionButtons","StyledImportLabel","StyledImportLabelError","StyledExportLabel","StyledExportContainer","StyledRoot","StyledAntdSelect","AntdSelect","Option","Select","ghost","$ghost","withFeatureFlag","flag","Component","showLimitationBanner","propTypes","PropTypes","any","isRequired","GENERATE_FAQ","BOT_MODE","Dragger","Upload","Step","Steps","BotModalForm","BotModeSelect","maxLength","BotModal","visibility","handleCreateNewBot","BOT_MODAL_STEPS","headers","beforeUpload","accept","listType","maxCount","ImportOutlined","capitalize","role","UploadOutlined","renderLeftFooterContent","ZSB_CONTACT","rel","PLAN_AND_PAYMENTS","current","percent","strokeColor","trailColor","renderAddBotForm","margin","fontWeight","Group","marginLeft","StyledNewUserModal","StyledNewUserModalContainer","NewBotModal","gutter","categoryTemplatesSelector","allCategoriesSelector","answerCategoriesTabSelector","allCategories","categoryAnswers","filesCategoriesTabSelector","allFiles","websitesCategoriesTabSelector","allWebsites","isUserCategorySelector","uiStateSelector","modalStateSelector","uiState","responsePickerModalSelector","similarQuestionsModalSelector","aiToolModalSelector","isChatOnDevModeSelector","chatAnswerInModalSelector","chatSequenceInModalSelector","chatSequenceInModal","chatSelectedSequenceInModalSelector","isSidebarChatExpandedSelector","isAnswerBankReadySelector","avatarPickerModalSelector","apiKeyModalSelector","isAvatarPickerModalOpenSelector","avatarPicker","imageViewerModalSelector","isImageViewerModalOpenSelector","imageViewerModalSourceSelector","imageViewerModalTitleSelector","isANewBotSelector","oldAge","endsWith","isApiKeyModalOpenSelector","apiKey","useLayout","setRunTour","isImpersonating","isPageReady","onboardingFlags","scrollContainerRef","lastElementRef","WITH_PREFIX_BOT_JID","withPrefixUUID","rightNavOpen","setRightNavOpen","getPublicKey","anyone","loadUserData","init","planData","checkUserData","impersonatedUserObj","loadApplication","setUserDetails","toggleRightNav","setOnboardingFlag","jacLoadApplication","activeGraph","viberCallback","getPlansWithDetails","setDefaultSentinel","sentinelResponse","createGraph","graphResponse","fetchData","validChildren","Children","toArray","isValidElement","childrenWithRef","index","cloneElement","scrollIntoView","behavior","handleCloseJSONAnswerInModal","handleCloseSelectedSequenceInModal","toggleExpandSidebarChat","Sider","AntdLayout","Content","StyledDoubleSidebar","StyledMainContent","StyledTopIcons","StyledBottomIcons","StyledIconWithLabel","StyledSmallRightNavIconLabel","StyledPopoverTitle","StyledPopoverContents","StyledPopoverTextContent","StyledHeaderLogo","StyledSider","StyledLogoSider","StyledHeaderContent","header","menu","userName","StyledUserDetailsMenu","Header","StyledUserDetailsMenuItem","StyledUserDetailsBlock","StyledUserDetails","StyledUserName","StyledUserEmail","StyledPlanDetails","StyledUserMenuDivider","Divider","StyledRouteItem","StyledHeader","StyledPageMenu","StyledDropdownWrapper","StyledHeaderName","StyledProfileAvatar","Avatar","StyledButtonContainer","StyledButtonSpan","StyledTransactionParagraph","isRed","StyledMenuItem","INITIAL_ACTIVE_TAB","useJiraForm","reportTitle","setReportTitle","reportDescription","setReportDescription","isLoading","setIsLoading","isSubmitBtnLoading","setIsSubmitBtnLoading","isVisible","previewImage","previewTitle","previewFile","setPreviewFile","activePage","setActivePage","tickets","setTickets","activePagination","setActivePagination","totalTicketsCount","setTotalTicketsCount","ticketAttachments","setTicketAttachments","initialTicketInfo","ticketId","dateRaised","attachments","ticketInfo","setTicketInfo","createJiraTicket","clearFormData","handlePreviewFile","getBase64","originFileObj","lastIndexOf","handleChangeFile","handleDownloadAttachment","downloadJiraAttachment","blob","base64toBlob","createObjectURL","link","download","filename","click","handleTicketDetails","selectedId","getJiraIssue","fields","attachment","summary","updated","lastUpdate","getAllJiraTickets","getAllJiraTicket","allTickets","issues","onPageChange","handleActivePage","handleChangeReportDescription","handleChangeReportTitle","handleRemoveFile","filteredAttachments","StyledJiraColumn","StyledSplittedRows","StyledJiraForm","StyledPopoverLayout","Layout","StyledResponsiveRow","JiraForm","columns","dataIndex","render","record","labels","str","replaceAll","innerWidth","windowWidth","setWindowWidth","showIconOnly","detectSize","hasSider","collapsed","theme","defaultSelectedKeys","ProfileOutlined","overflow","rows","onPreview","onRemove","multiple","PaperClipOutlined","dataSource","pagination","defaultCurrent","pageSize","formatBytes","MenuItem","ImpersonationBannerContainer","ImpersonationBanner","Link","impersonatedUser","handleStopImpersonation","masterUserGraph","subscriptionSelector","paymentErrorSelector","subscriptionIdSelector","isTrialSubscriptionSelector","trialDaysLeftSelector","trialDaysLeft","unix","planRenewDateSelector","currentPeriodEnd","paymentMethodsSelector","showCancelledSubscriptionSuccessMessageSelector","showUpgradedSubscriptionSuccessMessageSelector","showCancelSubscriptionModalSelector","showSwitchPlanSubscriptionModalSelector","switchPlanSelector","customerSelector","showDowngradeSubscriptionModal","isProcessingSelector","isCancelledSubscriptionSelector","currentTransactionCountSelector","transaction","transactionPercentageSelector","currentTransactionCount","maxTransactionCount","defaultPaymentMethodSelector","invoice_settings","default_payment_method","isPaymentInfoEmptySelector","defaultPaymentMethod","billingDetailsSelector","confirm","isLogout","transactionPercentage","UserOptions","charAt","slice","showInfo","excessTransaction","getTransactionCountParagraph","SUBSCRIPTION","USER_PROFILE","SettingOutlined","AppstoreOutlined","LOGOUT","PoweroffOutlined","justifyContent","textAlign","backgroundColor","triggerSubMenuAction","sm","lg","xl","xxl","noBorder","CaretDownOutlined","StyledTextIcon","TextIcon","StyledBackButton","BackButton","prevPageTitle","iconOnly","noArrow","goBack","ArrowLeftOutlined","StyledCustomTooltip","StyledToolTipContainer","StyledFooterActions","StyledToggleIconWrapper","StyledSidebarBottom","h4","StyledSidebarBottomTitle","StyledSidebarBottomCounts","StyledSidebarItemsTitle","BOT_SIDEBAR_MENU","disableBeacon","hideFooter","styles","zIndex","StyledBack","BackToBotsPage","HomeOutlined","aiToolsSelector","useSidebar","allAITools","isBotSimulatorEnabled","expandedView","setExpandedView","hash","runTour","stepIndex","setStepIndex","onClickCallback","STATUS","FINISHED","SKIPPED","body","remove","EVENTS","STEP_AFTER","TARGET_NOT_FOUND","ACTIONS","PREV","handleClickMenu","slug","handleToggleCollapse","DEFAULT_BOT_DETAILS_LANDING_PAGE","CustomTooltip","backProps","primaryProps","tooltipProps","isLastStep","skipProps","Sidebar","MENU_LIST","menuList","DashboardOutlined","ReadOutlined","QuestionCircleOutlined","ExpandOutlined","RiseOutlined","OrderedListOutlined","FunctionOutlined","FundProjectionScreenOutlined","externalMenuList","ANALYTICS_SUBMENU_ITEMS","FormOutlined","LineChartOutlined","isAlwaysActiveMenu","renderMenu","pathName","normalizeMenuName","slugifiedNamed","slugify","defaultDetailsPage","textAfterMatch","indexOf","isDefaultDetailsPage","parentMenu","submenuItems","renderSubMenu","botLogo","cursor","MenuUnfoldOutlined","MenuFoldOutlined","run","steps","tooltipComponent","continuous","debug","spotlightClicks","showProgress","showSkipButton","isFirstStep","Footer","JoyrideTooltip","closeProps","DEFAULT_ANSWER_STEPS","CHAT_ANSWER_STEPS","chatListSelector","useSidebarChat","handleChatAskQuestion","setContextHistory","setMaxInteraction","SpeechRecognition","webkitSpeechRecognition","isAutoTranslateResponse","isBotTypingExperienceEnabled","defaultAnswerThreshold","shouldShowTestChatUseContext","chatQuestion","setChatQuestion","isSpeechActivated","setSpeechActivated","flipAnswer","setflipAnswer","setSending","listening","setListening","runTourDefaultAnswer","setRunTourDefaultAnswer","stepIndexDefaultAnswer","setStepIndexDefaultAnswer","lastChatAnswer","isQuickButtonsVisible","setIsQuickButtonsVisible","isIncludeDraftAnswers","setIncludeDraftAnswers","isChatMoreMenuOpen","setChatMoreMenuOpen","translateLanguage","setTranslateLanguage","setTypingExperience","bottomChatAreaRef","isNotAnswerBank","isSpeechAllowed","getCurrentBrowser","isM1Chip","synth","speechSynthesis","voices","getVoices","scrollToEnd","block","inline","list","notDefaultAnswerList","chat","CLOSE","onDefaultAnswerClickCallback","handleLinkAnswer","openQuestionEditor","getStoredInteractions","interactionList","handleQuickReplyAnswer","includeDraftAnswers","use_draft","handleSendQuickReply","openResponseModalPicker","keys","responsePickerSelectedAnswer","getQuestionMatchesWithAnswer","getSimilarQuestions","stopListening","concatSpeech","newSpeech","handleTranslateChange","event","editTranslationSettings","handleTypingExperience","handleContextHistoryChange","handleChange","handleFlipAnswer","flippedIndices","answerIndex","handleChangeAnswerVersion","handleCloseSimilarQuestionsModal","handleChangeChatView","isDevMode","handleChangeDropdownVisibility","val","handleShowJSONAnswerInModal","handleShowSelectedSequenceInModal","handleShowAnswerEditorModal","readText","utterThis","SpeechSynthesisUtterance","lang","navigator","onend","onerror","pitch","rate","speak","toggleSpeak","isToggled","recognition","interimResults","maxAlternatives","onresult","results","transcript","onspeechend","onabort","onnomatch","clearChatHistory","StyledHR","GenericHR","StyledPreWrapper","pre","CodeBlock","codeContent","highlightedJson","Prism","highlight","languages","json","dangerouslySetInnerHTML","__html","whiteSpace","wordBreak","StyledChatBubble","noMaxWidth","isDefaultAnswer","ChatBubble","showDisplayAnswer","showJSONAnswerInModal","isOtherPlatformPreview","hideFullAnswer","showFullText","setShowFullText","renderSeeLessCharacters","useCallback","answerRendered","showLessTextCharacters","renderAnchorButton","renderShowMoreButton","renderChatBubble","answerType","renderedDisplayAnswer","renderSplittedBubble","hasZSBChatBreakerEncoding","renderFallback","splittedAns","splittedImageAndText","renderOtherPlatformPreview","alignSelf","marginBottom","showText","FileImageTwoTone","FileTextTwoTone","renderTextOnly","SidebarChat","handleSeekAnswer","handleShowAddTestSuiteModal","MessageOptions","chatIndex","query","stripSpecialCharactersFromText","marginTop","lowerCase","LinkOutlined","chatQuestionMenu","isUseAnotherResponseDisabled","FolderAddOutlined","moreMenu","SearchOutlined","EyeOutlined","EyeInvisibleOutlined","moreOptions","ClearOutlined","min","max","SoundOutlined","renderChatAnswer","renderDevMode","disableScrollParentFix","CloseOutlined","CaretRightFilled","justify","onVisibleChange","DashOutlined","EyeFilled","ToolFilled","Fragment","quickReplyList","renderQuickButtons","overFlowY","onPressEnter","autoFocus","AudioOutlined","AudioMutedOutlined","SendOutlined","StyledDeadBot","StyledErrorWrapper","FallbackComponent","showDetails","onShowDetails","onReload","paddingTop","DeadBotLogo","stack","ReloadOutlined","FallbackBoundary","setShowDetails","handleReload","details","reload","IS_PROCESSING_SUBSCRIPTION","AUTO_RENEW_SUCCESS_MESSAGE","UPGRADE_SUCCESS_MESSAGE","DOWNGRADE_SUCCESS_MESSAGE","CANCELED_CHECKOUT_URL_PARAM","START_TRIAL_DAYS_MESSAGE","PRICE_PER_QUERY","StyledFullWidthWrapper","StyledFullHeightWrapper","StyledLeftSidePromo","StyledFloatingTopLogo","StyledScreenshotsWrapper","stripeAPIService","successURL","cancelURL","jacPrimeRun","ctx","success_url","cancel_url","returnUrl","return_url","auto_renew","useFirstLoginPromoModal","planDetails","SUCCESS_URL","origin","CANCEL_URL","handleStartTrial","checkoutURl","handleDismiss","detailedPlanFeatures","planPrice","stripe","stripePrice","quantity","priceId","FirstLoginPromoModal","gap","feat","CheckCircleFilled","TestSuiteSample","TestSuiteSample2","AnalyticsSample","StyledCenteredText","HRWithCenteredText","StyledSequenceViewerModal","StyledSequenceViewerContainer","SequenceViewerModal","selectedSequenceType","useDefaultViewer","TRANSLATION_DESCRIPTION_LIST","fieldName","SELECTED_SEQUENCE","labelStyle","generated","isChatVisible","SidebarComponent","handleCloseSequenceInModal","isAdminPage","shouldShowSidebar","PopoverContent","stopImpersonation","SmallLogoWhite","HOME","flex","RobotIcon","StepForwardFilled","ColumnWidthOutlined","NewBotCard","Card","StyledBotSearch","StyledSearchInput","StyledBotSorter","StyledSortSelected","botsOrderKey","itemKey","StyledViewTypeMenu","StyledMenuOutlined","MenuOutlined","StyledTableOutlined","TableOutlined","StyledCheckOutlined","CheckOutlined","StyledDownOutlined","DownOutlined","StyledViewTypeDropDown","StyledViewTypeOption","StyledViewTypeText","StyledListviewBots","StyledListviewNewBot","StyledNoBots","StyledNoBotsText","StyledBots","BOT_REDIRECT","INTEGRATION_DATA","useYourBots","isWordPressModalVisible","pageInitialized","nextLocation","searchKey","setSearchKey","setFilteredBots","setViewType","setIsPageReady","botsOrder","setBotsOrder","showNewUserModal","setShowNewUserModal","redirectToBot","trimmedLocation","pop","notification","navigateToBotDetailsPage","BOT_OVERVIEW","ANSWERLIST","handleViewBot","fetchBots","getBots","botRes","fetchBotModes","globalVarGetter","searchResult","onAddBot","onSearchKeyChange","handleSortBots","handleUpdateViewType","StyledModalErrorAlert","ActiveActionLabel","h3","StyledWordPressHeaderContainer","ImportAlertMessage","importErrorMsg","importWarnMsg","similarAnswerWarnMsg","finalAnswerWarnMsg","closable","FILTER_METHOD_OPTIONS","SCANNING_METHOD_OPTIONS","FILTER_METHOD_TOOLTIP","SPINNER_LABEL","SCAN_OPTIONS","crawlerParams","displayScanMethodOptions","showTargetElementOptions","INITIAL_SELECTED_PAGE_LIST","urls","INITIAL_TARGET_ELEMENT","draft","final","UPLOAD_METHOD_OPTIONS","example","VALID_DOMAIN_LIST","VALID_FILE_FORMATS","DEFAULT_WEBSITE_FORM_STATE_VALUE","selectedPageList","selectedTemplate","targetElement","selectedScanningMethod","selectedUploadingMethod","isTargetElementOpen","useWordPressIntegrationModal","onClose","setParsedFileAnswers","controller","AbortController","selectionState","fileUploaded","setFileUploaded","setImportErrorMsg","setImportWarnMsg","setFinalAnswerWarnMsg","modalBtnLoading","setModalBtnLoading","limitErrorMsg","timeoutInSecond","setTimeoutInSecond","currentStep","setCurrentStep","setCrawlerParams","setPages","fileType","setFileType","actionPercentage","setActionPercentage","activeActionLabel","setActiveActionLabel","websiteFormState","setWebsiteFormState","setVersion","setNewBotCreated","integrationName","faker","word","sample","defaultIntegrationPayload","componentTitle","onmessage","prevState","selectedTemplateDetails","handelWebsiteFormStateChanges","newValue","renderImportedUrlParams","crawler","parsedUrl","verifiedURLList","extractedURL","filteredUrl","urlOptions","filterMethod","verifyQueryParams","scrappedUrl","getters","method","expression","generatedURLs","handleGeneratePaginatedUrl","depth","urlDetails","wait_until","timeout","webSocketChannel","syncBot","filesResponse","createIntegration","handleStopScrapping","stopScrapping","handleAddFile","uploadingMethod","addFile","axios","isCancel","renderCrawlerParams","parsedUrlFilter","handleScrapedUrl","urlDataSource","scrapedParams","scannedResponse","resetStates","resetModal","handleCloseUploadModal","handleCancelImport","abort","parsePageRange","pageRange","pagesList","part","trim","renderPageList","concat","azureUpload","configBlob","Blob","blobOptions","blobHTTPHeaders","blobContentType","blobCacheControl","blobServiceClient","BlobServiceClient","blockConfigBlob","getContainerClient","getBlockBlobClient","upload","spawnCreate","publicApiRes","publicInfoRes","pkRes","renderIntegrationPage","BOT_INTEGRATION","getSelectedRowKeysFromCategories","row","handleUploadFile","handleBackward","handleCloseElementSelecting","handleBackToPagesList","StyledBtnAdvanceSettings","SelectOptionTitle","useImportUrlForm","disableUrlFormFields","isWordPressModal","paginateURLList","setPaginatedURLList","scrapePreviewSrc","setScrapePreviewSrc","setShowAdvanceSettings","allUrlIsValid","extractedUrl","domain","scanNotExist","urlIsValid","urlSelectedCount","handleOpenPages","renderWebsitePagesTableColumn","renderWebsiteCategoryTableColumn","domainNameRenderedToolTip","rowSelection","handleChangeRowSelectionWebsitePagesTable","handleChangeRowSelectionWebsiteCategoryTable","generateExampleUrl","scanOption","handleAddUrl","currentUrl","filterConditionToolTipRenderedToolTip","inputtedUrl","handleSelectElement","post_scripts","DEFAULT_SCRAPE_PREVIEW_EXPRESSION","scrapePreview","previewSrc","ScrapingProgressList","itemLayout","grid","column","renderItem","Meta","paragraph","lineHeight","uploadURLSteps","hasFeedback","currentUrlList","addedUrl","handleInputURLChange","PlusCircleOutlined","MinusCircleOutlined","labelCol","Compact","onConfirm","showCancel","scanningMethod","rowKey","handleTargetElementChanges","currentElement","iframe","iframeDocument","contentDocument","contentWindow","complexSelector","nodeList","querySelectorAll","removeAttribute","ImportUrlForm","sandbox","prototypes","func","setUrlList","number","array","string","bool","WordPressIntegrationModal","notificationAPI","parsedFileAnswers","displayStopButton","renderFooter","checkedChildren","unCheckedChildren","defaultChecked","maskClosable","paddingLeft","paddingBottom","BOT_SORTING_LIST","YourBots","pushState","onpopstate","back","viewTypeMenu","handleAddBotClick","SortDropdownMenu","UpOutlined","AddNewBot","newbot","PlusOutlined","prefix","NewUserModal","StyledSuiteInput","CreateTestsuiteModal","showCreateSuiteModal","handleCreateNewSuite","handleCloseCreateSuiteModal","newSuiteName","setNewSuiteName","getMaxTestCases","getMaxTestSuites","getTestSuitesSelector","defaultTestStatus","isMaxTestSuitesSelector","maxTestSuite","selectedTestSuiteSelector","selectedTestSuiteStatusSelector","testCasesSelector","isMaxTestCasesSelector","maxTestCases","useAddQuestionToTestSuiteModal","totalTestCases","onCloseModal","setSelectedTestSuite","showNewTestSuiteModal","setShowNewTestSuiteModal","responses","setResponses","totalAnswers","setTotalAnswers","selectedResponse","setSelectedResponse","setShowDisplayAnswer","maxTestSuites","fetchResponses","getMatches","matchedAnswers","answerInfo","handleCreateNewTestSuite","createTestSuite","newSuite","handleAddQuestionToTestSuite","getTestCases","createTestCase","handleSelectResponse","handleSelectTestSuite","onNext","onPrev","toggleShowNewTestSuiteModal","StyledStepAction","StyledStepContent","StyledTestSuite","StyledTestSuites","StyledTestSuitesList","StyledNoTestSuites","StyledQuestion","StyledAnswerList","StyledAnswerToLink","StyledAnswerLinks","StyledAnswerContainer","StyledAnswerScore","StyledComponent","isWidgetAnswer","AnswerRenderer","showInChatBubble","renderShowMore","AnswerWithScore","chatAnswerType","handleSelect","handleUnlinkQuestion","isCurrentAnswer","isCurrentAnswerHasLink","toolTipText","classNames","selected","firstAnswer","ToggleShowDisplayAnswer","AddQuestionToTestSuiteModal","StyledDeleteContainer","useDeleteCategory","isUserCategory","deleteAnswers","setDeleteAnswers","textChallenge","setTextChallenge","answersList","deleteCategory","onClickDelete","handleOnChange","DeleteCategoryModal","StyledCategoryList","StyledCategoryListNameSection","StyledFolderFilled","FolderFilled","StyledCategoryListName","StyledEditButton","StyledEditOutlined","StyledDeleteButton","StyledDeleteOutlined","EditCategoryList","handleSave","showDeleteCategoryModal","setShowDeleteCategoryModal","StyledTemplateCategory","isEven","StyledTemplateCategoryHeading","StyledTemplateCategoryInfos","StyledTemplateCategoryName","StyledFolderOpenFilled","FolderOpenFilled","StyledFolderOutlined","FolderOutlined","StyledMinusOutlined","MinusOutlined","StyledPlusOutlined","StyledListContainer","showAnswers","StyledListItem","TemplateCategories","template","isCategoryAdded","onAddTemplateCategory","onRemoveTemplateCategory","setShowAnswers","modifiedTemplate","modifiedAnswers","toggleShowAnswers","StyledAlertCard","StyledCategoryModalContent","StyledCategoryModalSidebar","StyledCategoryModalSection","StyledCategoryModalSectionTitle","StyledCategoryNameInput","StyledCategoryColorPicker","StyledPickedCategoryColor","StyledSearchTemplateCategory","StyledSearchOutlined","useCategoryForm","categoryName","setCategoryName","categoryColor","setCategoryColor","searchInput","setSearchInput","filteredTemplates","normalizedSearchInput","handleSidebarClick","handleChangeColor","handleChangeName","onChangeSearchInput","newSelectedTemplate","StyledChromePickerPosition","ColorPicker","onChangeColor","handleChangeFields","setShowColorPicker","onDoubleClick","onChangeComplete","hex","ColorsAvailable","CategoryForm","onSave","triangle","colors","overlayClassName","boxShadow","StyledCategoryModal","importCategoryTemplates","categyNames","useViewCategories","isTotalAnswersSelectedFromCategoryTemplatesReachMaxAnswerCount","isEditingCategory","handleUpdateCategory","handleAddNewCategory","handleCloseModal","createCategory","categoryData","updateCategory","handleBackToCategories","ViewCategories","isSubmitDisabled","HeaderContainer","HeaderTitle","HeaderActions","StyledFooterWrapper","StyledRadioGroup","Radio","MaxSentenceCountWrapper","KeywordsWrapper","EditableAnswerWrapper","TextAreaWrapper","StyledUploadTip","StyledUploadTipTitle","StyledSimilarAnswersLabel","StyledAnswersItem","StyledAnswers","StyledSimilarAnswers","StyledSummaryCard","VerifiedTag","isVerified","ActionContainer","ActionButtons","ProductNameWrapper","MaxAnswersCountWrapper","KeywordsForm","tags","handleTextGenerateObject","inputVisible","setInputVisible","inputValue","setInputValue","editInputIndex","setEditInputIndex","editInputValue","setEditInputValue","editInputRef","focus","handleInputConfirm","handleEditInputChange","handleEditInputConfirm","newTags","tagInputStyle","verticalAlign","wrap","tag","onBlur","isLongTag","tagElem","userSelect","removedTag","handleClose","borderStyle","AnswerList","selectedAnswers","verifiedAnswers","verifyAnswers","handleFindFAQquestion","toggleListCheckbox","handleCheckAnswer","handleDisplaySimilarAnswer","handleDuplicates","handleAnswerIsVerified","handleToggleAnswerEditor","selectedSimilarAnswers","handleVerifyAnswer","handleRemoveAnswer","getSimilarAnswer","toggleCheckBox","verifyAnswersProgress","CheckCircleOutlined","ReconciliationOutlined","SaveOutlined","CsvOrJsonStep","TextIngestStep","ingestSelection","handleRadioChange","setIngestionValue","ingestionValue","maxSentences","setMaxSentences","useImportAnswerModal","setShowUploadModal","setSimilarAnswers","setSelectedSimilarAnswers","setVerifiedAnswers","isVerifyingAnswers","setIsVerifyingAnswers","duplicatesFoundInFile","setDuplicatesFoundInFile","notificationKey","setNotificationKey","limitReached","answersFile","setAnswersFile","setSimilarAnswerWarnMsg","isUploadSuccess","setIsUploadSuccess","verificationBtnLoading","setVerificationBtnLoading","duplicatesFound","setDuplicatesFound","showImportTip","setShowImportTip","showCancelReqModal","setShowCancelReqModal","setSelectedAnswer","showAnswerEditor","setShowAnswerEditor","setIngestSelection","openAiTemplatePlaceholders","setOpenAiTemplatePlaceholders","openAiFAQTemplatePlaceholders","setOpenAiFAQTemplatePlaceholders","textGenerateObject","setTextGenerateObject","editedTextPrompt","setEditedTextPrompt","textGenerateMaxSentence","setTextGenerateMaxSentence","openConfirmationModal","setOpenConfirmationModal","summaryCount","setSummaryCount","fileName","setFileName","textGenerateSource","setTextGenerateSource","generateFAQSource","setGenerateFAQSource","generateFAQObject","setGenerateFAQObject","faqList","setFAQList","generate_faq_params","getStringAnswerDuplicate","input","strippedInput","getDuplicatesFromFileList","newSetAnswers","Set","ansDetails","delete","sources","source_type","csv","noValidAnswersFound","saveToAnswerBank","answersToSubmit","answerDetails","category_color","ans_version","answersResponse","handleCheckSummaryCount","createManyAnswers","isVerifyAll","similarAns","verified_answers","verifiedAnswer","handleVerifiedAnswers","handleSubmitFile","dataValidation","handleDuplicateAnswers","extraAnswers","splicedAnswers","getOpenAiTemplate","placeHolders","placeholders","initialTextGenerateObject","o","getOpenAiFAQTemplate","max_answer_count","textAnswers","hasFileDuplicate","getDuplicatesFromFile","modifyParsedAnswer","parsedAnswers","showTextAnswer","allowedAnsCount","answerToRemove","asnwers","handleRunVerifyAnswersInBackground","closeAll","isAddedAnswer","info","openNotification","btn","close","runVerifyAnswersInBackground","isUrl","generateAanswersViaGpt","generateAanswersViaOpenAI","modifiedAnswer","handleSummarizeSource","getSummary","summarized","handleGenerateFAQ","generateFAQViaOpenAi","parsedAnswerList","faqs","FAQ","FAQs","handleClearData","faq","handleEditAnswer","handleSetIngestionValue","handleStepChange","curr","handleUpdateAnswerEditor","isJson","isCSV","delimiters","csvToArray","handleCheckValidations","handleCloseConfirmationModal","TEXT_INGEST_STEP_ONE","Paragraph","SAMPLE_JSON_FORMAT","ImportAnswerModal","answersToVerify","setAnswersToVerify","getTextGenerateFormElements","getGenerateFAQFormElements","handleGenerateFAQObject","dropdown","stepContent","formElements","getTextGenerateForm","getGenerateFAQForm","SimilarAnswerList","similarAnswer","CloseCircleOutlined","InfoCircleOutlined","handleNextClick","handleNextStep","wordCount","prompt","getTextGenerateButtons","hasAnswer","getGenerateAnswerButtons","validForm","all","then","prevSelectedAnswers","prevAnswer","MinusSquareOutlined","CloseSquareOutlined","valueStyle","suffix","scrollToFirstStep","StyledLimitNoticeWrapper","StyledIcon","FileExclamationTwoTone","StyledH1","h1","StyledButton","LimitationBanner","TEXT_INGEST_DROPDOWN_BUTTON_STEPS","ANSWER_SORTING_LIST","EditTwoTone","useAnswerBank","isCategoryModalOpen","isDetailsPageReady","allDefaultAnswers","isExportImportEnabled","isANewBot","answersOrder","setAnswersOrder","setFilteredAnswers","pageLoading","setPageLoading","setNewAnswer","selectedTab","setSelectedTab","showAskedQuestionModal","setShowAskedQuestionModal","questionLog","setQuestionLog","questionForTestSuite","showAddQuestionToTestSuiteModal","setShowAddQuestionToTestSuiteModal","setSelectedAnswers","showBulkMoveCategoryModal","setShowBulkMoveCategoryModal","showBulkDeleteModal","setShowBulkDeleteModal","moveToCategory","setMoveToCategory","confirmModalLoading","setConfirmModalLoading","showAddPlainAnswerModal","setShowAddPlainAnswerModal","answerVersion","setAnswerVersion","isImportDropdownVisible","setIsImportDropdownVisible","startDateInMS","setDate","getDate","todayInMS","todayISO","dateFilter","setDateFilter","selectedAnswerId","setSelectedAnswerId","askedQuestionModalLoading","setAskedQuestionModalLoading","isAddAnswerDisabled","openExportModal","setOpenExportModal","handleDownloadAnswers","jsonAnswer","itemCategory","categoryItem","fileData","onAddAnswer","skipSimilarCheck","isAnswerExists","TypeError","createAnswer","CREATE_ANSWER_MANUAL_SOURCE","CREATE_ANSWER_MANUAL_SOURCE_TYPE","onAddDraftAnswer","answerdetails","onDelete","ANSWER_FILE_TYPES","deleteAnswer","deleteFile","handleShowAskedQuestions","getQuestionLog","askedQuestions","time","renderFilterAnswer","answerBankList","handleBulkDelete","catch","handleHideDigraph","handleChangeCategory","changeFile","changeAnswer","handleBulkMoveCategory","answerid","currentAnswer","handleManualBotSyncing","exportSelectedAnswers","exportAnswers","handleChangeCheckbox","ans","handleChangeTab","filteredResult","handleCloseAddTestSuiteModal","handleCloseAskedQuestionModal","handleCloseCategoryModal","handleSelectAll","handleSortAnswers","answersByTab","handleShowDigraph","onChangeNewAnswer","handleToggleDropdown","handleDateFilterChange","start_date","end_date","handleOpenExportModal","handleCloseExportModal","TabPane","Tabs","StyledAnswersContainer","StyledGuidelines","StyledGuidelineHeader","StyledFirstLine","StyledGuidelineList","ol","StyledAddAnswer","StyledAnswerTabsContainer","StyledAnswerTabs","StyledAnswerTabsPane","StyledSortDescendingOutlined","SortDescendingOutlined","StyledFirstBotNoAnswers","StyledAnswerbankTabNavWrapper","isMainButtonDisabled","StyledAnswerbankTabNavLabel","StyledAnswerbankTabNavCount","QuestionToTestSuiteDropdownMenu","StyledAskedQuestionModalTitle","StyledQuestionLogItem","StyledAskedQuestion","StyledAskedQuestionTimeAndAction","StyledAskedQuestionTime","StyledMoreOutlined","StyledDatePickerButton","StyledFilterWrapper","StyledDateFilterLabel","RangePicker","DatePicker","DateFilter","subtract","ranges","Today","startOf","disabledDate","endOf","dates","dateStrings","allowEmpty","AskedQuestionModal","endIcon","askedQuestion","StyledCategoryModalFooter","StyledMoveCategoryWrapper","StyledCategoryPicker","StyledCategoryName","MoveCategoryModal","setShowAddCategoryModal","UserDetailsContainer","UserDetailsCTA","UserInformation","GraphModal","SelectContainer","StyledVisNetworkContainer","StyledGraphFallbackContent","NodeDataContainer","getGraphObject","userObject","masterUpdateUser","updatedUser","GraphNotAvailable","DiGraph","container","setHasError","selectedNode","setSelectedNode","graphDepth","getGraph","graphObject","active_gph_id","getGraphData","drawNetwork","getNodeColor","userDataGraph","vis","DataSet","edges","network","Network","kind","from_node_id","to_node_id","bidirected","attributes","arrows","on","node","mapNodeContext","isHovering","mapValues","startCase","CloseCircleFilled","useExportModal","onloadSelected","setSelectedExportType","handleDownloadData","export","resExport","handleChangeExportType","existingExportType","ExportModal","DownloadOutlined","ImportFileModal","disableOverlay","useAnswer","SettingsDropdownMenu","OPENAI","StyledTabActionButtons","FeatureFlagStyledMenu","AnswerMenu","handleOpenModal","handleOpenAddAnswerModal","isTextIngestEnabled","isTextGenerateEnabled","GenerateFAQFeature","GenerateTextGenerate","OpenAIAnswerMenu","WebsiteMenu","handleOpenFileModal","SubMenu","TabsExtraActions","handleOpenAnswerModal","DropdownSettings","GlobalOutlined","FileTextOutlined","RadarChartOutlined","ExclamationCircleOutlined","StyledColumn","Col","titleCell","lastCol","StyledCategory","currentCategory","StyledCategoryDropdownIcon","StyledEdit","StyledMore","AnswerVersionsMenu","handleAnswerDropdownVisibilityChange","isDraftChecked","setIsDraftChecked","isFinalChecked","setIsFinalChecked","dropDownVisivility","handleToggleShowDraft","useAnswerItem","showMore","setShowMore","showAnswerVersionDropdown","setShowAnswerVersionDropdown","handleClickCategoryLink","handleShowFileEditorModal","handleShowWebsiteEditorModal","toggleShowMore","AnswerItem","handleShowLinkedQuestions","onSelectAnswer","onUpdateCategoryAnswer","totalSelectedAnswers","isTitleRow","isFinalAnswer","ANSWER_MENU_ITEMS","CopyOutlined","HistoryOutlined","align","CaretDownFilled","StyledWrapper","StyledBot","StyledLargeText","StyledMessage","EmptyData","search","botJIDParam","URLSearchParams","getBotJIDFromPath","FadedRobot","searchResults","tab","renderTitleRow","searchResultsAnswerList","filteredAnswersList","EmptyAnswer","answersOrderKey","useAnswerTabs","isFreeUser","filesCategory","websitesCategory","answersCategory","categorListTab","setCategoryListTab","SEARCH_KEY_INITIAL_VALUE","searchType","onChangeSearchKey","currentSearchKey","AnswerTabs","getSortBtnTitle","allRecords","newShowDisplayAnswer","tabBarExtraContent","setShowEditCategoryModal","activeKey","SwapOutlined","DeleteFilled","CATEGORY_FILTER_TOOLTIP","Answer","limitReachedContent","useWebsite","allWebsite","Website","useFile","useAnswerType","ANSWER_SLUG","selectedAnswerTypeTab","setSelectedAnswerTypeTab","FILE_SLUG","WEBSITE_SLUG","ZSB_PRICING_PAGE","handleClickCategoryTemplate","BotWithNoAnswers","StillInprogressMessage","renderAnswerTypeContent","ANSWER_BANK_SUBMENU_ITEMS","OPEN_AI_ANSWER_BANK_SUBMENU_ITEMS","AnswerType","tabPosition","onTabClick","destroyInactiveTabPane","AddAnswerModal","paddingRight","useImportWebsiteModal","setPasedAnswers","fileList","setFileList","addFileSuccessMessage","urlCount","preConfigs","renderPreconfigData","handleAddWebsiteJson","fetchWebsiteList","getFiles","websiteResponse","handleSaveElement","websiteList","site","uploadedFileData","ImportWebsiteModal","ImportWebsiteJson","WebsiteButton","ErrorPage","AnswerBank","handleCloseAddAnswerModal","showGuidelines","setShowGuidelines","showUploadAnswerModal","setShowUploadAnswerModal","showUploadFileModal","setShowUploadFileModal","handleResetVerifyingAnswers","handleCloseImportFileModal","saveOnboardingFlag","AnswerBankButtons","disableScrolling","bodyStyle","top","improvedLayout","physics","stabilization","iterations","interaction","navigationButtons","keyboard","callbackLogsSelector","callbackLogsTableDataSelector","callbackLogsSessionDetailsSelector","callbackSessionDetailsDataSelector","callbackSessionDetailsInteractionIdsSelector","callbackSessionFiltersSelector","groupBy","s","useCallbackModal","callbackSessionFilters","callBackInteractionIds","selectedInteractionIDs","setSelectedInteractionIDs","setData","allInteractionIDs","setAllInteractionIDs","handleSelectInteractionID","unselectedIDs","filteredData","StyledItem","isHighlighted","StyledContent","StyledQuestionContainer","StyledDateTime","StyledCallbackModalTitle","StyledLegend","StyleCustomerInforWrapper","CallbackModal","customerInfo","useCallBackModal","minHeight","useFeedbackModal","StyledModalTitle","StyledAnswer","FeedbackModal","useQuery","analyticsSelector","analyticsAggregationsSelector","performanceMetrics","analyticsCategoriesFilterSelector","analyticsIntegrationFilterSelector","analyticsTableSelector","analyticsGraphSelector","analyticsAllQuestionsSelector","largeFont","useAnalytics","integrationFilterOptions","chartData","categoryQueryParamsFilter","tableSpinner","setTableSpinner","graphSpinner","setGraphSpinner","selectedSessionID","setSelectedSessionID","selectedInteractionID","setSelectedInteractionID","callbackInteractionIDs","setCallbackInteractionIDs","sessionFilters","selectedIntegrationChannel","setSelectedIntegrationChannel","selectedCategories","setSelectedCategories","sessionFilteredInfo","setSessionFilteredInfo","sort","setParams","showPagination","setShowPagination","maximizeTableColumn","setMaximizeTableColumn","selectedLog","setSelectedLog","showConfirmQuestionValidation","setShowConfirmQuestionValidation","validationDetails","setValidationDetails","modalIsLoading","setModalIsLoading","showFilterDropdown","setShowFilterDropdown","setFilters","selectedPanelDetails","setSelectedPanelDetails","sequenceActivePannel","setSequenceActivePannel","smallFont","isPerformanceMetricsView","tableViewList","selectedTableView","handleOnSelect","selectId","fetchESAnalyticsTableData","fetchGraphData","getMetricsParams","keyMetricsParams","parseToStartAndEndOfDayISODate","fetchESAnalyticsAggregationsData","handleHashChange","fetchParams","payloadParams","convertToStartOfDay","convertToEndOfDay","categoryJids","getKeyFromList","integrationIds","getElasticByIntervalLogDate","for_aggs","ESResAggregation","getElasticLogDateFilter","handleShowSessionCallbacks","fetchAllIntegrations","tagsList","tagsTree","tagColorTree","questionList","question_group","handleCSVDownloadQlogs","ESRes","unpaginatedData","titleColumn","escapeCSV","handleClickedQuality","sortFields","handleValidateQuestion","updateQuestionValidation","handleChangeDataFilterButton","handleChangeIntegrationSelection","handleChangeCategories","handleCloseInteractionFeedback","handleCloseSessionCallbacks","handleXLSXDownloadQlogs","excludedKeys","xlsxData","whiteListLogs","Question","Authenticated","Feedback","Channel","worksheet","XLSX","json_to_sheet","workbook","book_new","book_append_sheet","handleChangePageNumber","pageNumber","newParams","handleTableChange","sorter","expandTable","logData","logDetails","forMobileViewOnly","localDate","LikeTwoTone","DislikeTwoTone","handleShowMarkQuestionModal","handleChangeFilters","f","handlePanelChange","sequenceList","sequenceDetails","seq","CardsWrapper","ChartWrapper","StyledColumnChart","Column","DataSummaryCard","modalCard","clickableFooter","noFooter","StyledGhostDropdown","StyledFiltersSelect","StyledExpandedRow","StyledMetric","StyledMetricPeriodFilter","StyledQuestionsList","StyledQuestions","StyledShowAnswer","LikeFilled","RowSpaceBetween","KeyMetricsSummaryCard","active","KeyMetricsCardsWrapper","StyledExpandedTableTitle","h5","StyledSequenceContainer","ConfirmQuestionValidation","Panel","Collapse","useBreakpoint","Grid","FILTER_SELECT_OPTIONS","Analytics","componentRef","screens","handlePrint","useReactToPrint","pageStyle","rangePickerStyle","dropdownStyle","questionDropdownMenu","getTablePaginatedTotal","allQuestionsTableData","ArrowsAltOutlined","responsive","filteredValue","onFilter","questionDetails","defaultSortOrder","matchChannel","RegExp","allQuestionsExpandedTableData","compare","b","stringLocaleCompare","mostAskedQuestionsTableData","intentsTableData","filteredColumns","col","bp","expandable","expandedRowRender","config","xField","yField","xAxis","autoRotate","isPerformanceMetricsCardPanelActive","cardName","SelectMenuList","renderExpandedTable","showSorterTooltip","LogMoreDetails","expandedColumns","accordion","sequenceValue","tagRender","onMouseDown","stopPropagation","FilterDropdownMenu","filterItem","LockTwoTone","getPopupContainer","dropdownClassName","popupStyle","ArrowRightOutlined","FilterFilled","optionLabelProp","onSelect","onDeselect","onClear","selectedKeys","SmileOutlined","renderTable","direction","mostAskedQuestionsData","getCurrentTableViewTotalQuestions","defaultPageSize","getContainer","StyledQuestionDetailsModalTitle","StyledQuestionActionAndInfo","StyledEditQuestion","StyledDotSeparator","StyledQuestionTestInfo","StyledTestStatusInfoContainer","StyledTestInfoTextSpan","StyledTestInfoTextDiv","StyledQuestionContent","StyledQuestionDetailsModalLabel","TestCaseModal","handleEditTestCase","modalLoading","onOkModal","isTestPassed","isSelectedDefaultAnswer","isActualDefaultAnswer","isResultOutDated","getTestStatusColor","InfoCircleTwoTone","StyledContentContainer","StyledInfo","StyledInfoName","StyledInfoQuestions","StyledLastModified","StyledTestStatusGraph","StyledTestStatusCount","StyledTestStatusPassed","disableOutdatedAndUntested","StyledTestStatusFailed","TestSuite","handleShowTestCases","handleEditTestSuite","handleDeleteTestSuite","ResponseListWrapper","StyledAddQuestionForm","StyledAddQuestionType","StyledQuestionUploader","StyledQuestionModalLabel","useValidationQuestionModal","shouldUseDefaultAnswer","setShouldUseDefaultAnswer","questionsArr","setQuestionsArr","setQuestion","addQuestionType","setAddQuestionType","testCasesAllowed","csvFile","csvDelimiters","onClickClose","handleReadCSV","questionsToUpload","csvData","handleChangeAnswerType","handleToggleShowBelowThreshold","VALIDATION_WELCOME_STEPS","FIRST_SUITE","RESPONSE_PICKER_STEPS","StyledMoreMenu","MoreMenu","ValidationQuestionModal","handleAddQuestion","handleShowResponses","handleUpdateTestCase","onChangeText","responseCount","QuestionForm","questionType","handleSaveTestCase","testCaseToEdit","useValidation","isMaxTestSuites","isMaxTestCases","setShowCreateSuiteModal","showEditSuiteModal","setShowEditSuiteModal","testSuiteToUpdate","setTestSuiteToUpdate","showTestCases","setShowTestCases","filteredTestCases","setFilteredTestCases","testCaseSearchKey","setTestCaseSearchKey","showValidationQuestionModal","setShowValidationQuestionModal","setResponseCount","setTestCaseToEdit","expectedAnswerToEdit","setExpectedAnswerToEdit","setSelectedTestCase","setActualAnswer","showTestCaseDetailsModal","setShowTestCaseDetailsModal","testLastRanTime","setTestLastRanTime","showTestStatus","setShowTestStatus","setModalLoading","runFirstSuiteTour","setRunFirstSuiteTour","firstSuiteStepIndex","useDraft","setUseDraft","allSuitesUseDraft","setAllSuitesUseDraft","allResponses","setAllResponses","belowThresholdResponses","setBelowThresholdResponses","handleUpdateTestSuite","updateTestSuite","deleteTestSuite","generateDefaultAnswers","responseAnswerList","thresh_score","generateAboveThresholdAnswers","filteredAboveThresholdAnswers","generateBelowThresholdAnswers","filteredBelowThresholdAnswers","totalResponses","handleChangeTestCaseQuestion","getAnswersWithScoreFromQuestion","getStringTestDuplicate","testcase","warn","createManyTestCases","matchedResponse","updateTestCase","handleDeleteTestCase","deleteTestCase","handleRunTestSuite","runTestSuite","handleRunAllTests","runAllTests","handleBackToTestSuites","handleChangeTestSuiteName","handleCloseEditSuiteModal","handleCloseValidationQuestionModal","handleCloseTestCaseDetailsModal","handleDownloadTestCases","handleSearchTestCases","searchedTestCases","handleShowCreateSuite","handleShowEditTestSuiteModal","handleShowTestCase","matchedAnswer","actualAnswerId","handleShowValidationQuestionModal","handleToggleUseDraft","handleToggleAllSuitesUseDraft","StyledToolTip","Tooltip","NoTestGroup","StyledIconWrapper","StyledValidationTable","Table","StyledLinkColumn","TestStatusWrapper","StyledTestStatus","TestCaseHeader","StyledNoTestGroupText","StyledTestCases","StyledTestCasesHeader","StyledTestCasesAction","StyledTestCaseSearchInput","StyledIconSearch","Validation","setFirstSuiteStepIndex","MaxReachedToolTip","getTestResultIcon","EDITED","QuestionCircleFilled","TestCasesList","MaxReachedNotice","TestSuites","RenderTestCaseDetailsModal","CaretRightOutlined","ForwardOutlined","StyledCodeButton","StyledActionBtns","StyledDivider","StyledEncircledNumber","StyledSnippets","StyledCodeBlock","StyledIntegrationSteps","StyledIntegrationInstruction","StyledCollapsiblePanel","StyledCollapsiblePanelHeader","StyledPanelSubheader","publicKeySelector","sentinelSelector","integrationDataSelector","initialIntegrationSettingsSelector","currentSettings","hasIntegrationDataSelector","isIntegrationDataNotLoadedSelector","allIntegrationsSelector","currentIntegrationIDSelector","integrationWithValues","integrationPanelSettingsSelector","currentIntegrationActivePanelSelector","integrationPanelSettings","integrationPanelPermitSelector","shouldShowWidgetSelector","hasIntegrationSettings","widgetVersionSelector","isWidgetV2Selector","isWidgetV1Selector","currentIntegrationSettingsSettingPropSelector","widgetV2TypeSelector","isSearchWidgetSelector","isWidgetV2","widgetV2Type","shouldShowWidgetV2Selector","shouldShowWidgetV1Selector","isWidgetV1","widgetPlaceholderSelector","widgetHeightSelector","isNaN","widgetHeightWithPixelSelector","heightInNumber","widgetThemeColorSelector","widgetIconColorSelector","avatarPositionSelector","integrationChannelNameSelector","currentIntegration","integrationPathSelector","botTitleSelector","launcherPositionSelector","isConfigPanelSettingsUnchangedSelector","isAppearancePanelSettingsUnchangedSelector","isPlacementPanelSettingsUnchangedSelector","interactionHistorySelector","maxInteractionSelector","currentIntegrationTypeSelector","isDemoIntegrationSelector","replyBubbleGradientSelector","gradient","launcherShapeSelector","isMobileIntegrationSelector","integrationType","postCustomizationConfirmEditModalSelector","panelSettings","preCustomizationConfirmEditModalSelector","postCustomizationSelectedPanelOpenSelector","modal","isPostCustomizationEditModalOpenSelector","isPostCustomizationEditModalEditableSelector","customizerActivePanelSelector","isPreCustomizationEditModalOpenSelector","demoIntegrationBackgroundSelector","isDemoCustomBgSelectedSelector","isDemoHasCustomBackgroundSelector","isDemoDarkBackgroundSelector","integrationFolderPathSelector","botJid","demoCustomBackgroundSelector","hasCustomDemoBg","integrationConfigURLSelector","currentIntegrationId","encryptedBotSelector","hexToRGBA","hexColor","alpha","exec","r","parseInt","g","widgetFormFieldsSelectors","widgetAvatarResponseSelector","launcherAvatarSelector","launcherAvatarTypeSelector","isUseWidgetIconRadioDisabledSelector","widgetHeaderAvatarTypeSelector","isUseWidgetIconRadioDisabled","botAvatar","widgetAvatarResponseTypeSelector","isLauncherAvatarCustomSelector","widgetHeaderAvatarSelector","isHeaderAvatarSvgIconSelector","isHeaderAvatarCustomSelector","avatarType","isIconTypeAvatar","showHeaderImagePreviewSelector","isHeaderAvatarCustomType","showLauncherImagePreviewSelector","isAvatarCustomType","isHeaderAvatarCantApplySelector","defaultReplyBubbleColorSelector","themeColor","converted","welcomeMessageSelector","isDemoCustomBackgroundInCloudSelector","demoCustomBackgroundCloudPathSelector","widgetHeaderAvatarCloudPathSelector","launcherAvatarCloudPathSelector","integrationConfigDataSelector","customBackground","demoBackground","widgetType","openWidget","currentFullIntegrationSelector","configData","demoBodySelector","isDemoCustomBgSelected","demoLink","isDemoDarkBg","isDarkBg","generateBody","demoHeaderSelector","botComponentSelector","isMobileIntegration","isAuthenticatedUser","headTagCodeSelector","demoHTMLSelector","demoCustomBackground","zsbComponent","isCustomBg","headTag","HTMLBgImgURL","demoBodyStyle","BLOB_CACHE_CONTROL","containerClient","webContainerClient","getBlobHTMLFilepath","getBlobConfigJsonFilepath","BlobStorageService","uploadDemoHTMLAndImageFiles","demoHTML","isDemoHasCustomBackground","formData","FormData","blockHTMLBlob","htmlBlob","backgroundPathInCloud","blockBackgroundBlob","customBackgroundBlob","append","getAll","uploadIntegrationCustomAvatar","imageFile","avatarPathInCloud","blockImageBlob","customAvatarBlob","uploadConfigJsonData","INTEGRATIOM_METHODS","useWeb","channelName","fullIntegrationData","isPostCustomizationEditable","isPostCustomizationEditModalOpen","isLauncherAvatarCustom","launcherAvatarCloudPath","headerAvatarCloudPath","isHeaderAvatarCustom","locationState","localIntegration","showColorPicker","tempIdentifier","setIdentifier","tempPath","setPath","integrationMethod","setIntegrationMethod","getDuplicateName","findIndex","isNameExisting","onUpdate","editIntegration","widgetIconUrl","handleSaveChannelInfo","isNewIntegration","handleChangeIntegrationMethod","panelNumber","handleBlurFormField","StyledBotCustomComponent","StyledParsedAnswer","StyledTempImage","StyledHeaderrw","StyledResponse","StyledTime","V1CustomComponent","WarningOutlined","AZURE_DEMO_URI","useBotCustomizer","isBotMailConfigEnabled","currentIntegrationID","isHeaderIconTypeAvatar","isAvatarPickerModalOpen","widgetThemeColor","widgetHeight","widgetHeightWithPixel","isCustomBgSelected","isHeaderAvatarNotAllowed","defaultReplyBubbleColor","currentIntegrationSettingsObject","initialIntegrationSettings","isIntegrationDataNotLoaded","integrationConfigData","showUserBg","setShowUserBg","blobHTMLName","showColorPickerBubble","setShowColorPickerBubble","showColorPickerIcon","setShowColorPickerIcon","setIntegrationData","onLoadIntegrationData","setOnloadIntegrationData","chatWidget","getElementsByClassName","setEnableEdit","bgImage","setBgImage","setWidgetImage","setHeaderImage","uploadedBgImage","setUploadedBgImage","uploadedWidgetImage","setUploadedWidgetImage","uploadedHeaderImage","setUploadedHeaderImage","setDemoLink","tempFormFields","viewWidgetImage","setViewWidgetImage","viewHeaderImage","setViewHeaderImage","applyheight","chatWidgetEl","chatWidgetActive","querySelector","applyMessageColor","elem","messages","applyAndAlignHeaderAvatar","setHeaderImg","setHeaderIcon","leftAlignHeader","createdImg","removeHeaderIcon","logoParentEl","removeChild","applyHeaderLogo","headerLogoElement","applyWelcomeMessage","dropMessages","renderCustomComponent","toLocaleTimeString","hour","minute","applyReplyColor","bgColor","applyThemeColor","applyTime","today","messagesCount","timeStampElem","handleChangeWidgetImage","handleUndoFields","handleUndoIcon","handleUndoWidget","handleUndoHeader","headerResponseImgUrl","clearIntegrationData","handleNewUserMessage","newMessage","askQuestion","answerMessage","addResponseMessage","pK","pAQ","handleSubmitCustomizeBot","handleSendToWebIntegration","imgContainer","demoHTMLFile","getBlobClient","demoConfigfile","exists","demoConfigJSON","fetch","configFile","getExistingDemo","isWidgetOpened","toggleWidget","getButtonValue","renderPreviewImgBackground","handleChangeDemoBackground","handleChangeCustomizerActivePanel","StyledDemoLink","isLight","CodeCopier","CopyTwoTone","rotateLeft","keyframes","rotateRight","StyledChatWidgetLauncher","integrationDataColor","ChatWidgetLauncher","points","StyledUpload","UploadButton","StyledAvatarModalRadio","StyledAvatarSelect","StyledAvatarSelectLabel","StyledAvatar","StyledTempIconImage","StyledImageUploaderWrapper","LauncherIconPickerModal","isSearchWidget","showLauncherImagePreview","launcherAvatarInCloud","showIconColorPicker","setShowIconColorPicker","avatarColor","avatarBackgroundColor","handleChangeAvatar","handleChangeAvatarImg","handleChangeAvatarColor","handleChangeAvatarType","handleShowImagePreview","onOpenChange","StyledSimulatorWrapper","botAppearance","StyledErrorBottomText","StyledFormFieldRow","StyledFormFieldSubmit","StyledBotProfileBlock","StyledBtnEditBotProfile","StyledAdvanceSettings","StyledGradientDiv","StyledInputGradient","StyledLabelAutoOpen","StyledBgUpload","StyledCurrentBgLabel","StyledPositionLabel","StyledPositionCols","StyledPositionBtn","StyledRightPosition","StyledPositionMidCols","StyledMidRotateBtn","StyledPositionBtnTrans","StyledBottomLeftPosition","StyledBottomRightPosition","StyledChatBot","StyledChatWidgetV2Bot","StyledSelect","StyledRadio","StyledRadioLabel","StyledSwitchWrapper","StyledWidgetVersionWrapper","StyledCollapsibleHeaderWithRadio","PanelActionButtons","onPanelChange","nextPanelKey","isLastPanel","panelName","isConfigPanelSettingsUnchanged","isAppearancePanelSettingsUnchanged","isPlacementPanelSettingsUnchanged","shouldHideSubmit","MIN_WIDGET_HEIGHT","MAX_WIDGET_HEIGHT","BG_OPTIONS","TEXT_COLOR_LIST","SearchCustomizer","WidgetVersion","SearchRadio","optionType","buttonStyle","ConfigPanel","tempTitle","setTitle","tempSubitle","setSubtitle","tempWelcomeMessage","setWelcomeMessage","tempPlaceholder","setPlaceholder","handleBlur","handleChangeSwitch","handleInputChange","useConfigPanel","ContextHistory","tempMaxInteraction","setTempMaxInteraction","useAdvanceSettings","showHeaderImagePreview","isUseWidgetIconsDisabled","tempFontSize","setTempFontSize","handleChangeHeaderImage","handleChangeResponseImage","handleSelectBubbleColor","handlePreviewAvatar","handleChangeReplyBubbleGradient","handleChangeFontSize","handleBlurFontSizeInput","onToggleSectionChange","settingProp","handleRemoveImage","SwitchSection","onToggleChange","AdvanceSettings","ContextHistoryComponent","onAfterChange","AppearancePanel","tempHeight","setHeight","handleEditAvatar","handleChangeTheme","handleChangeHeight","handleSelectFontColor","useAppearancePanel","isHidden","StyledPreviewWidgetModal","StyledImage","PreviewImageModal","imageSource","WidgetLogo","transform","PlacementAndShape","isDemoCustomBackgroundInCloud","tempLabel","setTempLabel","handleChangeCustomBg","handleSelectDemoBackground","handleShowUserBgPreview","handleSelectLauncherShape","handleChangeLauncherPosition","handleBlurLabelInput","usePlacementAndShape","FormBuilder","onAddFormField","onChangeFormFields","onDeleteFormRow","onBlurFormField","useFeedbackAndHandOff","isSendCallbackLog","widgetFormFields","setTempFormFields","tempMessageSent","setTempMessageSent","tempCancelledMessage","setTempCancelledMessage","handleAddFormField","fieldIndexToChange","handleBlurHandOffFields","handleChangeFormFields","checkbox","newFormFieldsVal","handleChangeHandOffField","handleDeleteFormRow","attr","handleToggleCallbackEmail","handleToggleDisplayFormFields","FeedbackAndHandOff","CustomizeBot","setBotComponent","shouldShowWidgetV2","shouldShowWidgetV1","expandIconPosition","ToolOutlined","HighlightOutlined","DragOutlined","launcher","senderPlaceHolder","hideWidgetMenu","disableClose","clientBubbleColor","BotCustomizer","shouldShowWidget","SandboxIntegration","headTagCode","offset","PACKAGE_NAME","PACKAGE_NAME_V2","NPMIntegration","npmInstallScript","yarnInstallScript","npmjsLink","usageExample","INTEGRATION_PLATFORMS","web","buttonLabel","btnPlan","WordpressIcon","MobileOutlined","FacebookOutlined","viber","PhoneOutlined","api","ApiOutlined","CodeSandboxOutlined","INTEGRATION_PLATFORMS_AS_LIST","Web","WEB_INTEGRATION_PANEL_KEY_PREFIX","showArrow","Demo","getIntegrationPlatform","useMobile","defaultSettings","confirmEditModal","setConfirmEditModal","enableEdit","integrationDataPayload","Mobile","appType","integrationMethods","ConfirmEditModal","StyledApplicationKeyInput","WEBHOOKURL","REACT_APP_WEBHOOK_URL","useOthers","webHookURL","setWebHookURL","generateCode","generateUUID","getUUID","generateUuidResponse","handleSetWebHook","Others","applicationSelected","setApplicationSelected","applicationKey","setApplicationKey","REACT_APP_FACEBOOK_MESSENGER_URL","fadeUp","IconRowsWrapper","StyledIntegrationContainer","StyledCardContainer","StyledPlatformList","List","greyedOut","useIntegration","isAdvancedUser","isPreCustomizationEditModalOpen","contentLoading","setContentLoading","itemToDelete","setItemToDelete","showDeleteModal","setShowDeleteModal","isCurrentPage","deleteIntegration","StyledPanelSubHeader","messengerApiSelector","messengerLatestVersionSelector","latest","useFacebookMessenger","apis","latestVersion","REACT_APP_MESSENGER_ACCESS_TOKEN","messengerAPIs","getMessengerConfig","spawnCreatePublicKey","apiName","fb_version","generateRandomString","fbMessengerToken","FacebookMessenger","useViber","componentIntegrationData","enableManualSetViberWebHook","setEnableManualSetViberWebHook","webHookErrorMsg","setWebHookErrorMsg","getViberConfig","allVersionsData","generateWebhook","viberCallbackJID","pk","handleViberSetWebhook","callbackJID","viberURL","setViberWebHook","event_types","webhookResponse","status_message","handleManualSetWebHook","viber_token","viber_headers","Viber","TitleContainer","OverviewContent","DataSummary","WeakbotWarning","isHeader","WeakbotWarningClickable","userReachedLimit","featurePlanType","userPlanType","withPlanLimit","currentNumber","isString","isNumber","isDateValid","isAfter","UpgradeTag","StyledIntegrationWPDownload","StyledIntegrationInstallationInstruction","useWordpress","wordpressContainerClient","Wordpress","useAPI","getDummyComment","generateDummyIdPayload","generateBoleanPayload","generatePayload","comment","API","botIdPayload","interactionIdPayload","sessionIdPayload","visitorIdPayload","authenticatedPayload","asyncPayload","API_KEY","PostCustomizationConfirmEditModal","selectedPanelToOpen","PreCustomizationConfirmEditModal","renderConfirmModal","UPGRADE_TO_ADVANCED","Integration","integrationColumns","isWeakChannel","getButtonRedirect","btnLabel","PlatformList","IntegrationButtons","actions","IntegrationChannel","integrationTabs","defaultActiveKey","AppleFilled","AndroidFilled","StyledTabPane","StyledContainer","StyledTabs","StyledTabPane1","StyledBotInfoBlock","StyledBotInfo","StyledBotInfoTitle","StyledBotInfoDescription","StyledBtnAction","isThresholdLimitReached","blue10","StyledBtnSaveChanges","NormalInput","StyledColumnSections","useSettings","isOpenAIPlanEnabled","newDefaultAnswer","setNewDefaultAnswer","btnLoading","minThreshold","setThresholdLimitReached","defaultAnswerEditor","setdefaultAnswerEditor","emailRecipients","setEmailRecipients","hasInvalidEmail","setHasInvalidEmail","botDescription","setBotDescription","isConfirmDeleteBot","setIsConfirmDeleteBot","greetings","setGreetings","threshold","setThreshold","otherMetadata","setOtherMetadata","isAddingNewResponse","setIsAddingNewResponse","newResponse","setNewResponse","setUseOpenAI","DEFAULT_LANGUAGE","selectedLanguage","setSelectedLanguage","setParsedAnswer","botPersona","setBotPersona","botRetrievalCount","setBotRetrievalCount","handleDeleteBot","handleSaveChanges","recipients","every","testEmailRegEx","botLanguageConfig","isSettingsFormsHasError","editedHTML","handleAnswerParsing","handleBotNameInput","handleBotDescriptionInput","handleResetToDefault","toggleConfirmDeleteBot","handleNewResponseInput","handleChangeThreshold","handleAddNewResponse","toggleAddNewResponse","handleDeleteGreeting","updatedGreetings","greeting","handleChangeEmailRecipentsInput","maxThreshold","updateFormattedAnswer","plainText","DEFAULT_EXPORT_DETAILS","toggleSendCallbackLog","LanguagePicker","StyledAnswerEditor","isModal","StyledRCEEditor","StyledRCETip","StyledHTMLEditorWrapper","StyledRCE","ReactQuill","AZURE_STORAGE_URI","QUILL_IMAGES_CONTAINER","useRichTextEditor","setRichTextAnswer","isADefaultAnswer","setValue","imageHandler","quillRef","onchange","blockImgBlob","quillImageBlob","range","getEditorSelection","uploadedImgPath","getEditor","insertEmbed","delta","getText","zsbLineBreak","cursorPosition","getSelection","getContents","ops","isCursorAtEnd","quillTextEachLine","line","filteredQuilltext","lastLineWithText","getLinesAroundCursor","lineBefore","lineAfter","isAboveChatBreak","ZSB_CHAT_BREAKER_ELEMENT","isBelowChatBreak","insert","insertText","RichTextEditor","quillModules","toolbar","handlers","chatBreak","modules","CodeMirror","updateAnswer","codeMirrorRef","refresh","lineNumbers","lineWrapping","keyMap","autofocus","onBeforeChange","EditorAndViewer","editedRichTextAnswer","updateTabs","htmlInputed","EDITORS","RICH_TEXT","HTML","StyledTooltip","AntdTooltip","titleSize","TitleToolTip","PERSONA_SELECT_OPTIONS","OpenAIResponseSettings","onToggleUseOpenAI","onToggleTranslateLanguage","onChangeRetrievalCount","onChangeBotPersona","hasFormError","OpenAIComponent","PersonaComponent","Settings","BotModeComponent","border","cancelTokenSource","CancelToken","defaults","common","baseURL","cancelToken","getErrorMessage","getTools","this","deleteTool","changeTool","paramsObject","addTool","useBotDetails","selectedFile","selectedWebsite","questionEditor","chatItemToChangeAnswer","setChatItemToChangeAnswer","currentLocation","setCurrentLocation","setIsChatVisible","linkedAnswerToEdit","setLinkedAnswerToEdit","setQuestionForTestSuite","setRelatedAnswers","showLinkedQuestionModal","setShowLinkedQuestionModal","setShowResponsePickerWithScoresModal","fetchBotOverview","getBotSummary","totals","fetchAnswers","getAnswers","fetchTools","fetchCategoryTemplates","getCategoryTemplates","fetchAggregations","fetchCategories","fetchTestSuites","redirectToAnswerbank","hydrateBotDetails","ANSWERBANK","QUESTIONS","onUpdateAnswer","formattedAnswer","quickButtons","matchedCategory","handleAddInteraction","theTextQuestion","displayQuestion","ws_target","getTestSuites","getCategories","handleCloseAnswerEditor","handleCloseResponsePickerModal","handleCloseLinkedQuestionModal","userAsked","ids","previousHighlighted","el","scrollIntoViewIfNeeded","StyledQuestionModalTitle","StyledLinkedQuestionItem","StyledLinkedQuestion","require","deleteQuestionLink","answerLinked","linkedIndex","unlinkQuestion","useLinkedQuestionModal","LinkedQuestionModal","StyledResponsePicker","StyledModalSection","StyledCurrentQuestion","StyledLinkHint","useResponsePickerModal","questionIdLinked","editableQuestion","showQuestionsSkeleton","setshowQuestionsSkeleton","setNewQuestion","alternateAnswser","handleSelectQuestion","pushAnswerAsResponsePickerAnswer","hardLinkQuestionToAnswer","skipSimilarityCheck","hardLinkQuestion","editQuestion","deleteQuestionHardLink","handleChangeQuestion","ResponsePickerModal","answerWithScoreOptions","ApiFilled","StyledDropdownButtonMenu","isQuestionPage","fetchSessionCallback","withPrefixBotJID","getElasticLogFilter","errMsg","EXCLUDED_CALLBACK_COLUMNS","useCallbackLog","sessionIDParam","selectedCallbackLog","setSelectedCallBackLog","startOfMonthInMS","startOfMonth","STRIPPED_BOT_JID","CALLBACK_LOGS","fetchCallbackByDateRange","isSame","getCallbackByDateRange","handleClickDateFilterButton","startDateConverted","othersCol","filterObjectKeys","Name","Email","EXPORT_TO_EXCEL","StyledCallbackLogsTable","StyledDateFilter","StyledDateFilterWrapper","StyledSessionID","CallbackLogs","renderInteractionIDs","extraData","CallbackLogTable","forwardRef","BotOverview","showWeakBotStatInOverview","totalArtefacts","SUMMARIZED_LIST","isFree","MOST_ASKED_QUESTIONS","ANALYTICS_QUESTION_LOGS","VALIDATION","botStat","useQuestions","allQuestionsWithAnswer","showQuestionImporter","setShowQuestionImporter","setImportFileName","setParsedQuestion","setFilteredQuestions","handleEditQuestion","questionToEdit","handleAddNewQuestion","similarQuestionsRes","handleDeleteQuestion","getAllQuestions","getAllQuestionsWithAnswer","onChangeQuestion","onSearchQuestion","parsedQuestions","handleOpenImportModal","FlexColWrapper","FlexRowWrapper","FlexRowSpaceBetweenWrapper","StyledDeleteIcon","QuestionImportExportMenu","useImportQuestionModal","questionFile","setQuestionFile","parsedFileQuestions","setParsedFileQuestions","setVisibility","setSelectedQuestion","handleDuplicateQuestions","extraQuestions","splicedQuestion","questionToSubmit","resQuestion","newQuestions","questionItem","EMPTY_ANSWER_OBJECT","textQuestions","getStringQuestionDuplicate","newSetQuestion","IMPORT_QUESTION","ImportQuestionModal","verifiedQuestions","handleQuestionIsVerified","handleCheckQuestion","StyledCollapse","StyledSearch","Questions","menudisabled","expandIcon","isActive","rotate","extra","DeleteTwoTone","useQuestion","viewAnswer","setViewAnswer","editing","setEditing","handleDeleteHardLink","handleDeleteQuestionThenHardLinkAnswer","deleteQuestionThenHardLinkAnswer","handleSaveNewQuestion","QuestionFlexColumn","StyledQuestionMoreMenu","StyledLeftActionButtons","deleteOnly","noScore","QUESTION_MENU_ITEMS","EyeTwoTone","ApiTwoTone","useSimilarQuestionsModal","SimilarQuestionsModal","CategoryFieldWrapper","StyledAddVariantButton","StyledSectionContent","StyledErrorMsg","StyledQuickBtnToggleOption","StyledQuestionsWrapper","CategorySelect","isCategoryModal","showSearch","optionFilterProp","filterOption","initialQuickReplies","useAnswerEditor","answerEditorQuestions","answerEditorInsights","setAnswer","setConfirmLoading","tabView","setTabView","setEditor","setEditedHTML","setEditedRichTextAnswer","editedStringAnswer","setEditedStringAnswer","setSelectedCategory","dragId","setDragId","isTextCategory","setIsTextCategory","textCategoryValue","setTextCategoryValue","quickReplies","setQuickReplies","setFullScreen","answerVariants","setAnswerVariants","successMessage","setSuccssMessage","shouldUseSkeletonComponent","setShouldUseSkeletonComponent","DEFAULT_ANSWER_VARIANT","forms","select1","select2","select3","rce","parsedAnswer","setRequestAgent","handleClearAnswerEditorLocalState","isRemoveRowDisabled","scrollIntoWarningView","handleOnUpdateAnswer","istemp","hasNewSimilarAnswers","getSimilarAnswers","handleCloneAnswer","handleOnAddAnswer","ansVersion","isAddRowDisabled","updateEditedStringAnswer","MAX_ANSWERS_SCORE","answerIds","fetchTableData","fetchAggregationsData","filterParams","handleChangeTabView","tabName","getHardLinkQuestionsFromAnswer","addRow","deleteRow","filteredQuickReplies","handleAddAnswerVariant","handleDrag","currentTarget","handleDrop","dragRow","dropRow","dragBoxOrder","dropBoxOrder","newRowOrder","handleUpdateVariantAnswer","editedVariant","isOnlyForm","updatedVariants","handleQuickReplyChange","updatedArr","handleSelectCategory","handleChangeRequestAgentCheckbox","handleChangeDateRange","handleFetchInsightFromDateFilter","StyledQuickReplyLabel","StyledQuickReplyAnswerList","StyledAnswerLabel","StyledDeleteRowButton","HorizontalDivider","orientation","QuickReplyFormRow","onQuickReplyChange","actionSelected","UnlinkIcon","LinkIcon","StyledInputGroup","QuickReply","MemoisedQuickReplyForm","ToggleFullScreenButton","FullscreenExitOutlined","FullscreenOutlined","VariantConditionForm","isFirstRow","selectedItems","setSelectedItems","filteredOptions","Editor","RichText","HTMLEditor","Preview","Variants","onUpdateVariant","variantEditor","setVariantEditor","handleDeleteFormField","formKey","updatedForms","PlusCircleTwoTone","EDITOR_OPTIONS","showAnswerVariant","REACT_APP_SHOW_ANSWER_VARIANT","AnswerEditor","isTemp","isCloneAnswer","isAnswerView","draftToFinalAnswerDisabled","graphConfig","renderAnswerTab","ANSWER_TIP","WarningFilled","right","bottom","left","DISPLAY_ANSWER_TIP","SyncOutlined","q","renderInsightsTab","useQuestionEditor","showSkeleton","setShowSkeleton","disabledNextStep","setDisabledNextStep","handleSaveQuestion","saveAsDraft","handleClickLinkAnswer","getAnswersWithScoreFromQuestionWithLinkedAnswer","handleChangeText","handleChooseNewLinkedAnswer","pushAsQuestionEditorAnswer","QuestionEditor","nodeWidth","dagreGraph","dagre","graphlib","Graph","setDefaultEdgeLabel","useConversationSimulator","useNodesState","initialNodes","setNodes","onNodesChange","useEdgesState","initialEdges","setEdges","onEdgesChange","isHorizontal","setGraph","rankdir","setNode","edge","setEdge","nodeWithPosition","targetPosition","sourcePosition","x","y","nodeHeight","getLayoutedElements","layoutedNodes","layoutedEdges","handleFindAnswer","nodeId","composeNodes","composeEdges","getNodesAndEdgesFromQuestion","prevNodes","prevEdges","sourceId","tempId","getNodesAndEdgesFromAnswer","getAnswerFromNode","nodeData","nodeJid","getAnswer","onNodeClick","ConversationSimulator","elementsSelectable","StyledFileEditor","useFileEditor","fileEditorAnswer","uri","previewDocs","setPreviewDocs","downloadLoading","setDownloadLoading","showPreview","setShowPreview","generateFileUrl","generateFileCdnUrl","cdnUrl","handleDownloadFile","revokeObjectURL","FileEditor","renderFilePreview","EyeInvisibleTwoTone","documents","pluginRenderers","DocViewerRenderers","disableHeader","INITIAL_SELECTED_TOOL_STATE","toDelete","useFunctions","isToolModalOpen","selectedTool","setSelectedTool","handleDeleteTool","handleCloseDeleteModal","handleClickDelete","handleViewTool","handleAddTool","handleCloseToolModal","StyledFormToolsContent","Form","fullWidth","StyledFormItem","StyledFormRow","StyledNameInput","StyledValueInput","StyledFieldRows","StyledFunctionsTable","Parameters","setParamsProps","handleChangeParamName","prop","modifiedProp","handleChangeObjectFieldChange","fieldIdx","filteredParams","deleteProps","addProps","onSelectParamPropType","handleChangeParamDescription","fieldIndex","handleDeleteObjectField","handleAddObjectField","setOutputProps","orderAuth","authProps","displayField","fieldConnected","getAuthPropertyDetails","handleFieldChanges","handleChangeProperties","propertyInfo","authSelected","propertyExist","currentProperties","propertyValue","propertyKey","propertyId","RenderInputField","strong","RenderTextAreaField","RenderSelectField","propIdx","filterField","addAuthProperties","propertyName","idToRemove","newProperty","deleteAuthProperty","RenderCollapsePanel","Output","getOutputPropertyDetails","showAdvancedSettings","objectifiedParamProps","setRequiredFields","orderOutput","activeTab","setActiveTab","isUrlValid","outputDetails","deleteProperty","outputSelected","newOutput","newUrl","renderedOutput","handleOutputPropsChanges","currentOutputProps","selectedOutput","selectedOutputProperties","isManualPathVariable","isOpenAiPathVariable","newPathVariableProperties","newProperties","outputs","renderPathVariableOpenAiUrl","addOutputProperties","selectedOutputProperies","selectedValue","pathVariableValue","openAiURL","requiredField","requiredFieldsOptions","methodTypes","rules","renderAdvanceSettingCondition","currentOutput","urlOutput","handleRequiredFieldChanges","disableNameProperty","FunctionModal","toolName","setToolName","toolDescription","setToolDescription","setShowAdvancedSettings","isFormValid","isOutputValid","handleSubmitTool","objectifiedOutput","toolJid","currentVersion","objectProperties","newItem","authTypeValue","objectType","objectRequest","displayData","authParamsPropsOutput","CodeBlockDetails","test","resolve","outputType","isOutputProps","newProps","Functions","toolColumns","useWebsiteEditor","websiteEditorAnswer","setSelectedPageList","advanceSettingsState","setAdvanceSettingsState","archives","changeWebsite","filteredUrlList","filteredCategoryList","urlItem","WebsiteEditor","isTitle","currentState","WechatFilled","BotDetails","botDetailsRoute","component","BOT_SETTINGS","ANALYTICS","FUNCTIONS","FLOW_SIMULATOR","useUserProfile","setSuccess","useForm","setFieldsValue","editUser","userData","updateUser","SUCCESS_MESSAGE","onFinishFailed","handleGoBack","StyledPageTitle","StyledFormButtons","StyledVersionDetailsContainer","MyAccount","onFinish","initialValues","UserOutlined","ACTIVITY_LOGS","FlagOutlined","ONBOARDING_FLAGS","DollarOutlined","API_KEY_MENU","KeyOutlined","UserSidebar","botsRemaining","botPercentage","selectedKey","setSelectedKey","setMenu","StepForwardOutlined","StepBackwardOutlined","displayAdminSideBar","StyledTitleWrapper","h2","StyledContentSubHeaderWrapper","StyledLogsDetailsContainer","StyledUserInfoContainer","StyledDetailsContainer","eventKey","sortType","useActivityLogs","activityLogs","setActivityLogs","selectedActivityLogs","setSelectedActivityLogs","showDetailsModal","setShowDetailsModal","setIsOpen","setFilter","setBots","setActions","activeBots","setActiveBots","users","setUsers","searchCheckedAction","setSearchCheckedAction","searchCheckedBotList","setSearchCheckedBotList","searchCheckedUsers","setSearchCheckedUsers","totalRecords","setTotalRecords","numberOfRecords","setNumberOfRecords","setPageNumber","items","hasMore","activityLogsState","setActivityLogsState","setSort","ADMIN_ACTIVITY_LOGS","resetState","getActivityLogs","isExecutedAlready","bot_id","activity_type","master_id","loadingTemplate","endMessageTemplate","user_id","param","noOfRecords","fetchFilters","formatDateTime","dateTime","handleModalOpening","activityDate","activityAction","assignActivityMessage","isExportFile","handleChangeFilter","handleSearch","handleCheckedOnSearch","selectedBot","getActivityLogsFilters","types","masters","filterTitle","RobotOutlined","renderNewBotName","activeBot","filterList","overflowY","overflowX","ContainerOutlined","checkedBot","newOpen","setSelectedActivityLogDetails","activity_action","handleModalClosing","handleDownloadActivityLogs","userInfo","newBotName","handleChangeActivityDateSorting","fetchNextScroll","ActivityLogsModal","StyledLayoutSider","AdminSidebar","route","activeMenu","setActiveMenu","currentRouteLocation","exact","UpdateUserModal","showUpdateBotset","setShowUpdateBotset","selectedUser","selectedUserPlan","UserDetails","userJID","setUserData","setUserObject","setloading","editVersion","setEditVersion","selectedVersion","setSelectedVersion","setCurrentVersion","getAllVersions","getVersions","allVersions","versionData","versions","getBotSet","botSet","handleImpersonateClick","userActiveGraph","userType","j_type","userDataPayload","handleSyncSentinel","syncSentinelGlobal","handleSetVersion","updateUserVersion","SidebarRoutes","created_date","alias_map","active_snt_id","spawned_walker_ids","versionDetails","Search","StyledTable","StyledTableContainer","UsersListTable","initLoading","filteredUsers","handleUpdateUser","handleActivityLogsClick","localeCompare","Users","setInitLoading","searchFilter","setSearchFilter","setFilteredUsers","filtered_users","allUsers","getuser","getMasterAllUser","limit","allUsersData","au","ModalHeader","StyledCloseButton","StyledNameTextfieldWrapper","StyledNameTextfield","StyledValueTextfieldWrapper","StyledValueTextarea","StyledButtonWrapper","StyledSaveAddAnother","StyledSave","GlobalVarsAddModal","addGlobalVars","globalVarData","editGlobalVars","nameValue","setNameValue","globalVarsValue","setGlobalVarsValue","isEmptyNameField","setIsEmptyNameField","isEmptyGlobalVarsField","setIsEmptyGlobalVarsField","clickSaveAddAnother","clickSave","isEditing","GlobalVarsTable","totalDatas","datatable","setCurrentData","currentSize","setCurrentSize","isModalOpen","setIsModalOpen","selectedGlobalVar","setSelectedGlobalVar","refetchGlobalVars","getGlobalVars","allGlobalVars","allGlobalVarsData","handleUpdateVersion","handlePagination","GlobalVarsSearch","StyledSearchWrapper","StyledAddButton","AntdButton","GlobalVars","openModal","setOpenModal","currentData","searchedValue","all_global_var","StyledSortAddWrapper","StyledSortingWrapper","StyledFeatureContainer","VersionModal","showVersionsModal","setShowVersionsModal","addVersion","updateVersion","setVersionDetails","checkedFeatures","setCheckedFeatures","showFeaturesInputField","setShowFeaturesInputField","addedFeature","setAddedFeature","featureExist","setFeatureExist","versionExist","setVersionExist","updateAction","setUpdateAction","setModalTitle","handleChangeField","newFeaturesList","handleFeatureCheckboxChange","finalFeatures","set_current","handleUpdate","updatedFeatures","versionList","featuresOptions","handleFeatureInputChange","addonAfter","VersionsTable","handleAddVersions","addVersions","refetchVersions","versionSelected","VersionSearch","Versions","features_string","all_version","ADMIN_USERS","ADMIN_GLOBAL_VARS","ActivityLogs","FieldTimeOutlined","ADMIN_VERSIONS","RightEl","superUser","dataLength","next","inverse","loader","endMessage","scrollableTarget","activityLog","StyledCard","isGray","ProgressSection","FlagName","useOnboardingFlags","resetFlag","resetOnboardingFlag","resetAllFlags","resetAllOnboardingFlag","paidUsersExclusiveOnboarding","OnboardingFlags","hoverContent","hoverable","CloseCircleTwoTone","PageHeader","space","SuccessMessage","InvoiceStatus","StyledCurrentPlan","StyledPlanInfo","StyledPlanCTA","StyledPaymentInfoContainer","StyledPaymentInfoDetail","StyledInvoiceInfo","StyledIsProcessingWrapper","FileFilled","invoicesSelector","usePlanAndPayments","customerCharges","customerId","customerPayments","paymentError","isCancelledSubscription","isPaymentInfoEmpty","isTrialSubscription","planRenewDate","subscriptionId","userDetails","showAddPaymentMethod","setShowAddPaymentMethod","isCreatingPaymentMethod","setIsCreatingPaymentMethod","expandedRows","setExpandedRows","handleChangeCard","fetchSubscriptionStatus","fetchInvoiceList","renewSubscription","getPaymentMethods","paymentMethod","onFormInput","onCancelChangePaymentMethod","showAddPaymentMethodForm","showConfirmCancelSubscriptionModal","toLocaleString","day","year","month","handleExpand","isExpanded","PlanAndPaymentsWrapper","ellipsis","expanded","onExpand","FileSearchOutlined","FilePdfOutlined","ArrowUpOutlined","phone","address","country","CreditCardOutlined","CalendarOutlined","exp_month","exp_year","showHeader","PlanAndPayments","StyledPricing","PlanCard","isCurrentPlan","PlanHeader","PlanCardContent","Features","BottomText","ContactUsSection","ContactDetails","ContactUsButton","PriceHeading","usePricing","isSubscriptionLoading","setIsSubscriptionLoading","selectedPlan","isSuccessModalVisible","setSuccessMessageVisible","getCurrentStripeStatus","getStripeStatus","fetchStripeData","changeStripeIsProcessingStatus","handleCancelSubscription","handleUpgradeSubscription","newPlan","isCheckoutSuccess","handleSwitchPlan","RETURN_PATH","onCloseSubscriptionMessage","Pricing","buttonPlanValue","buttonPlan","wrapperClassName","pull","textTransform","feature","shortFeatures","sf","useCancelSubscriptionModal","newsubscriptionRes","CancelSubscriptionModal","deactivatingBotNotice","useSwitchPlanSubscriptionModal","SwitchPlanSubscriptionModal","useApiKey","apiKeyloading","setApiKeyLoading","initializeApiGateway","handleEnableApiKey","handleDisableApiKey","removeAPIGateway","StyledApiKeyContainer","StyledApiKeySubContainer","useApiKeyModal","isApiKeyModalOpen","StyledApiKey","ApiKeyModal","RenderUserSettingsApiKey","ApiKey","imageStyle","UserProfile","getContent","useVerifyEmail","setCode","verified","setVerified","handleVerify","userActivate","statusText","handleChangeCode","VerifyEmail","autocomplete","htmlType","Container","mainPage","CenteredMessage","useDashboard","dashboardRoutes","alias","StyledDashboardItem","StyledInfoWrapper","StyledName","StyledLinkButton","DashboardItem","Dashboard","adminSidebarRoutes","AdminPage","isMainPage","routes","confirmPassword","setConfirmPassword","hasErrors","hasEnoughCharacters","onChangeConfirmPassword","StyledResetPassword","StyledHeaderTitle","ConfirmResetPassword","isInitialWebsocketStateSelector","websocket","PrivateRoute","isInitialWebsocketState","useWebSocket","shouldReconnect","closeEvent","retryOnError","reconnectInterval","onError","sendJsonMessage","lastMessage","readyState","pathBotJID","connectionStatus","ReadyState","CONNECTING","OPEN","CLOSING","CLOSED","UNINSTANTIATED","clientConnectPayload","wsData","strippedURL","AdminRoute","IdleTimerCountdown","isUserIdle","setUserAsIdle","countdown","setCountdown","countdownTimer","reset","useIdleTimer","onIdle","debounce","crossTab","seconds","minutes","floor","StyledLogout","Logout","App","createBrowserHistory","fn","cb","onUnload","useUnload","SIGNIN","CONFIRM_NEW_PASSWORD","Bots","Admin","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","hover","getColor","getHoverColor","API_BASE_URL","STRIPE_URL","isGeneric","tokenArg","userGET","userPOST","jacSyncSentinelGlobal","jacPrimeRunMultipart","dataCtxArr","stripePOST","stripeGET","detailed","updateGlobalVars","sync_count","getLastWeekISODate","skip_similarity_check","payloadDisplayAnswer","entry_list","importAnswerBank","importDraftAnswerBank","doc_type","pre_text","keywords","post_text","isFromSidebarChat","dont_log","is_async","askQuestion_nolog","createStripeCustomer","createStripeSubscription","getStripeSubscription","subscription_id","cancelSubscription","updateSubscription","getStripeCustomer","getCustomerPayments","getInvoices","setCustomerUsage","addPaymentMethod","updatePaymentMethod","translateBot","linkQuestion","text_input","num_answer_matches","getAnswerInsights","answer_ids","integration_ids","getQuestionsByDateRange","getFeedbackByDateRange","getElasticLogAggregations","snakedCaseParams","category_ids","filter_key","filter_value","interval","start_range","end_range","interactionIds","shouldDeleteAnswers","deleteanswers","exportBot","endDateEndofDay","getDefaultAnswer","isDefault","is_default","changeBotSet","resetBotset","reporter","projectKey","issueType","startAt","jql","maxResults","ticket","issueIdOrKey","attachmentId","generateFBMessengerUUID","post","setViberHook","withAnswer","answer_id","report_with_answer","question_id","getSimilarAnswersWithID","answer_obj","num_matches","isZSBUUID","getHardLinkQuestionsFromAnswerWithScore","withDefaultAnswers","with_default","getQuestion","addFeatureFlag","ctxData","pre_configs","downloadFile","fileDetails","websiteDetails","WEBSITE_NO_PAGE_SELECTED_ERROR_MESSAGE","StyledWebsiteEditor","SpaceBetweenWrapper","USER_PASSWORD","LANGUAGE_AND_REGION","SECURITY","INTEGRATION","ANALYTICS_CATEGORY","random","readAsDataURL","delimiter","readOnlyFirstCol","firstColSplit","cur","multiSplit","uuidPrefix","strippedBotIDFromPath","bytes","l","n","base64Data","contentType","sliceSize","byteCharacters","atob","bytesLength","slicesCount","ceil","byteArrays","sliceIndex","begin","charCodeAt","Uint8Array","temp","userAgent","brave","appName","appVersion","keysToExclude","filteredObject","collection","valueToCompareForDuplicates","keyToCompareForDuplicates","maxTextLength","toolTipTitle","resultString","regex","isTheData","shift","answerLength","isBoolean","lowercasedInput","uuidStr","lastDotIndex","ext","duplicatesToSearch","searchString","duplicateNameFound","highestCount","chars","charactersLength","val1","val2","extractOpenAIAnswerFromAPI","openaiObject","detectedLanguage","targetLanguage","renameAnswerAPIvariables","answerObject","answerObjectScore","categoryid","contextScore","isNotAnAnswer","renameFileAPIvariables","categoryFromAPI","currentAnswerId","scraper","traverse","isObject","pageName","selectedRowKeys","selectedUrlList","urlObj","selectedKeyList","unSelectedUrl","unSelectedKey","websiteSelectionChangesConfirmationMessage","categoryTableSource","selectedUrlCategory","unSelectedUrlCategory","unSelectedUrlCategoryRowKey","categorySelectedUrlCount","extractCategoryCountSelected","scanList","now","getFullYear","getMonth","getTimezoneOffset","differenceBy","timeDiff","diffMin","diffHours","diffDays","isValid"],"mappings":"qUAKaA,EAAuB,SAAAC,GAAW,IACrCC,EAA+BD,EAA/BC,UAAWC,EAAoBF,EAApBE,UAAWC,EAASH,EAATG,KAE9B,OAAIC,MAAMC,QAAQJ,IAAcA,EAAUK,QAChCL,GAAa,IAAIM,KAAI,SAAAC,GAAI,OAAIC,EAAqBD,MACjDJ,MAAMC,QAAQH,IAAcA,EAAUI,OACxCJ,EAAUK,KAAI,SAAAC,GAAI,OAAIC,EAAqBD,MAGtB,kBAAdN,EACPA,EACEE,MAAMC,QAAQL,KAAd,OAAyBA,QAAzB,IAAyBA,OAAzB,EAAyBA,EAAQM,SAClCN,GAAU,IAAIO,KAAI,SAAAC,GAAI,OAAIC,EAAqBD,MAC9CE,YAAWV,KAAX,OAAsBA,QAAtB,IAAsBA,OAAtB,EAAsBA,EAAQW,OAChCC,EAAiCZ,GACb,kBAAXA,EACTA,EAEAG,GAILM,EAAuB,SAAAT,GAC3B,OAAIU,YAAWV,GACNY,EAAiCZ,GACb,kBAAXA,EACTA,EAAS,KACPI,MAAMC,QAAQL,IAAWA,EAAOM,OAClCN,EAAOO,KAAI,SAAAM,GAChB,MAAiB,kBAANA,EACFA,EAAI,KACFH,YAAWG,GACbD,EAAiCC,GAEnCA,KAGJ,IAGHD,EAAmC,SAAAZ,GACvC,MAAoB,UAAhBA,EAAOc,KACH,aAAN,OAAoBd,EAAOW,MAA3B,uCACyB,SAAhBX,EAAOc,MAAmBd,EAAOW,MACnCX,EAA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,GAAgBlC,GAAW,IAC3BoC,GAAoBpC,GAAW,OAEhC,CACDuB,GACAmB,GACAE,GACAzB,GACAe,GACAE,GACApC,GACAp3H,GACAyC,EACAF,EACAqpB,EACAppB,EACAyzH,IAGFp/F,qBAAU,WACJg/F,GACFoB,GAAmBztH,KAEpB,CAACA,IAEJqtB,qBAAU,WACR4iG,0BACKqC,6BACHC,4BAED,CAAC/7H,GAAiB1B,KAErBu4B,qBAAU,WACR,OAAO,WACD3a,IACF+Z,EAAS,CACPt1C,KAAMqK,QAERuU,aAAayd,WAAW+rD,QAG3B,IAiBH,MAAO,CACL9/C,aACAsuG,WACA1+H,QACA8+H,mBACAE,uBACAE,uBACAlC,uBACArsH,6BACAonH,YACA5wH,mBACAk3H,yBACAh7G,SACAi6G,qBACAjF,sBACA8K,eAvJqB,WACrB,OAAInG,EACK,SACE55F,GACF,aACE/f,GAAU00G,GACZ,kBACE10G,EACF,eAEF,QA8IP+f,WACAk8F,mBACAE,mBACArE,mBACA6C,yBACAE,uBACAL,cACA5yC,sBACAu2C,2BACAO,wBACAO,4BACA7D,iBACAvzC,sBACA+yC,4BACAE,0BACAiF,2BA9CiC,WACjC,OACE,eAAC7G,GAAD,CAAiBl3F,QAAS,kBAAMy4F,IAAc,IAA9C,SACE,sBACE3qG,IAAK0pG,GAAiBpE,EAAuB,SAAW,IAAIlhH,KAC5D+2B,IAAI,uBA0CVwvF,iBACA97G,gBACAi9G,0BACAE,0BACAE,kBACAtC,yBACAhwG,qBACAmwG,0BACAxzH,mBACAE,eACAD,iBACAI,qBACAozH,mBACApqG,iBACAkqG,yBACAwE,oBACA9G,8BACAC,mCACAyI,2BA/ciC,SAAAjhE,GACjChlC,EAAS,CAAEt1C,KAAM6M,MAAqB0zB,QAAS+5C,KA+c/Cq7D,mCACAlE,4BACAh2G,eACA+/G,kCA1DwC,SAAAlhE,GACxChlC,EAAS,CAAEt1C,KAAMqN,MAAiCkzB,QAAS+5C,KA0D3DluC,wBACAukG,uBACA+E,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iC,u9E","file":"static/js/main.52b187d1.chunk.js","sourcesContent":["import { has } from 'lodash';\n\nimport { isAnObject, parseBoolean } from './dataTypes';\nimport { ZSB_CHAT_BREAKER_ENCONDING } from 'constants/answerbank/defaults';\n\nexport const extractDisplayAnswer = answer => {\n const { show_html, show_text, text } = answer;\n\n if (Array.isArray(show_html) && show_html.length) {\n return (show_html || []).map(item => getAnswerStringValue(item));\n } else if (Array.isArray(show_text) && show_text.length) {\n return show_text.map(item => getAnswerStringValue(item));\n }\n // --- old Data types and non-answer object --- //\n else if (typeof show_text === 'string') {\n return show_text;\n } else if (Array.isArray(answer) && answer?.length) {\n return (answer || []).map(item => getAnswerStringValue(item));\n } else if (isAnObject(answer) && answer?.value) {\n return extractAnswerFromObjectWithValue(answer);\n } else if (typeof answer === 'string') {\n return answer;\n } else {\n return text;\n }\n};\n\nconst getAnswerStringValue = answer => {\n if (isAnObject(answer)) {\n return extractAnswerFromObjectWithValue(answer);\n } else if (typeof answer === 'string') {\n return answer + '\\n';\n } else if (Array.isArray(answer) && answer.length) {\n return answer.map(i => {\n if (typeof i === 'string') {\n return i + '\\n';\n } else if (isAnObject(i)) {\n return extractAnswerFromObjectWithValue(i);\n }\n return i;\n });\n }\n return '';\n};\n\nconst extractAnswerFromObjectWithValue = answer => {\n if (answer.type === 'image') {\n return ``;\n } else if (answer.type === 'text' && answer.value) {\n return answer.value + '\\n';\n } else if (typeof answer === 'string') {\n return answer + '\\n';\n }\n return '';\n};\n\n/**\n * return => {\n show_text: [{ type: 'text', value: '' }],\n show_html: [''],\n }\n */\nexport const createDisplayAnswerAPIPayload = displayAnswer => {\n // if `displayAnswer` is object we assume it has show_text and/or show_html\n if (\n isAnObject(displayAnswer) &&\n has(displayAnswer, 'show_text') &&\n !has(displayAnswer, 'text')\n ) {\n return displayAnswer;\n } else if (isAnObject(displayAnswer) && has(displayAnswer, 'text')) {\n return Object.fromEntries(\n // clean answer object to only contain show_text && show_html\n Object.entries(displayAnswer).filter(\n ([key, val]) => key === 'show_text' || key === 'show_html'\n )\n );\n }\n // if `displayAnswer` is array we assume it is an array of objects [{show_text: '', show_html: ''}]\n else if (Array.isArray(displayAnswer)) {\n const displayAnswerWithShowTextAndHTML = displayAnswer.find(\n item => item.show_text && item.show_html\n );\n\n const displayAnswerWithTextAndValueObject = displayAnswer.find(\n item => item.type && item.value\n );\n\n if (displayAnswerWithShowTextAndHTML && displayAnswer.length === 1) {\n // return the object that has show_text and show_html\n return displayAnswerWithShowTextAndHTML;\n } else if (displayAnswerWithTextAndValueObject) {\n const displayAnswerTextValue = displayAnswer.find(item => item.value);\n\n // create new object with show_text, show_html\n return {\n show_text: [displayAnswerWithTextAndValueObject],\n show_html: [displayAnswerTextValue?.value],\n };\n } else {\n const displayAnswerObject = {};\n displayAnswer.forEach(obj => {\n if (obj.show_text) {\n displayAnswerObject.show_text = obj.show_text;\n } else if (obj.show_html) {\n displayAnswerObject.show_html = obj.show_html;\n }\n });\n return displayAnswerObject;\n }\n }\n // else we create object containing show_text && show_html\n else if (typeof displayAnswer === 'string') {\n const showText = splitDisplayAnswer(displayAnswer);\n const showHtml = splitDisplayAnswer(displayAnswer)?.reduce((acc, arr) => {\n return [...acc, arr.value];\n }, []);\n\n return {\n show_text: showText,\n show_html: showHtml,\n };\n } else {\n return {\n show_text: [{ type: 'text', value: '' }],\n show_html: [''],\n };\n }\n};\n\nexport const extractQuickReplyData = answerFromAPIData => {\n const { context } = answerFromAPIData;\n const { quick_reply, quick_reply_options } = context;\n if (parseBoolean(quick_reply)) {\n return {\n quick_reply,\n quick_reply_options,\n messageInputIsDisabled: false,\n };\n } else if (isAnObject(quick_reply)) {\n const { enabled, message, replies } = quick_reply;\n const quickRepliesArray = (replies || [])?.map((item, idx) => ({\n key: idx,\n label: item.display,\n question: item.reply,\n answer: item.answer,\n }));\n return {\n quick_reply: enabled,\n quick_reply_options: quickRepliesArray,\n messageInputIsDisabled: message,\n };\n } else {\n return {\n quick_reply: false,\n quick_reply_options: [],\n messageInputIsDisabled: false,\n };\n }\n};\n\nexport const convertToNewQuickReplyPayload = answerData => {\n const {\n quick_reply,\n quick_reply_options,\n messageInputIsDisabled,\n quickReply,\n quickReplyOptions,\n } = answerData;\n const quickRepliesData = {\n enabled: quick_reply?.enabled || parseBoolean(quick_reply || quickReply),\n message: parseBoolean(messageInputIsDisabled),\n replies: [],\n };\n if (Array.isArray(quick_reply?.replies)) {\n const quickRepliesArray = (quick_reply?.replies || []).map(item => ({\n reply: item.reply,\n display: item.display,\n answer: item.answer,\n }));\n quickRepliesData.replies = quickRepliesArray;\n } else if (\n !quick_reply?.replies &&\n (Array.isArray(quick_reply_options) || Array.isArray(quickReplyOptions))\n ) {\n const quickRepliesArray = (\n quick_reply_options ||\n quickReplyOptions ||\n []\n ).map(item => ({\n reply: item.question,\n display: item.label,\n answer: item.answer,\n }));\n quickRepliesData.replies = quickRepliesArray;\n }\n return quickRepliesData;\n};\n\nconst extractHTMLElement = (currentValue, nodes) => {\n const parentNode = Array.from(nodes);\n const extractedElement = parentNode?.reduce((acc, arr) => {\n const childNode = arr.childNodes;\n if (childNode?.length > 0) {\n return Array.from(childNode)?.reduce((childCurrent, value) => {\n if (value.tagName === 'IMG') {\n return [\n ...childCurrent,\n {\n type: 'image',\n value: `\"answer\"`,\n },\n ];\n } else {\n return [\n ...childCurrent,\n {\n type: 'text',\n value: value.textContent,\n },\n ];\n }\n }, acc);\n } else {\n const imgRegex = /]*>/i;\n const element = arr.outerHTML;\n const imgElementMatch = element ? element.match(imgRegex) : null;\n if (imgElementMatch) {\n return [\n ...acc,\n {\n type: 'img',\n value: imgElementMatch[0],\n },\n ];\n } else {\n return [\n ...acc,\n {\n type: 'text',\n value: arr.textContent,\n },\n ];\n }\n }\n }, currentValue);\n\n return extractedElement?.filter(answer => answer.value !== '');\n};\n\nexport const splitDisplayAnswer = displayAnswer => {\n if (!Array.isArray(displayAnswer)) {\n if (\n !displayAnswer?.includes(' {\n const imgRegex = /]*>/;\n const imgElementMatch = arr?.toString().match(imgRegex);\n if (imgElementMatch) {\n const htmlString = arr\n ?.replace('', '')\n ?.replace('', '');\n const tempElement = document.createElement('div');\n tempElement.innerHTML = htmlString;\n const childNodes = tempElement.childNodes;\n return extractHTMLElement(acc, childNodes);\n } else {\n return [\n ...acc,\n {\n type: 'text',\n value: arr,\n },\n ];\n }\n }, []);\n return extractedDisplayAnswer;\n }\n }\n};\n","// SIGNIN / SIGNUP\nexport const SIGN_IN_SUCCESS = 'SIGN_IN_SUCCESS';\nexport const SIGN_UP_SUCCESS = 'SIGN_UP_SUCCESS';\nexport const LOGOUT_USER = 'LOGOUT_USER';\n\n// EXTERNAL PAGE\nexport const LOGOUT_EXTERNAL_USER = 'LOGOUT_EXTERNAL_USER';\nexport const EXTERNAL_SIGN_IN_SUCCESS = 'EXTERNAL_SIGN_IN_SUCCESS';\nexport const SET_PAGE_EXTERNAL = 'SET_PAGE_EXTERNAL';\nexport const UNSET_PAGE_EXTERNAL = 'UNSET_PAGE_EXTERNAL';\nexport const WORD_PRESS_SUCCESS = 'WORD_PRESS_SUCCESS';\n\n// INIT\nexport const INIT_JAC = 'INIT_JAC';\nexport const SET_ONBOARDING_FLAG = 'SET_ONBOARDING_FLAG';\nexport const DELETE_ONBOARDING_FLAG = 'DELETE_ONBOARDING_FLAG';\nexport const RESET_ONBOARDING_FLAG = 'RESET_ONBOARDING_FLAG';\nexport const SET_PUBLIC_KEY = 'SET_PUBLIC_KEY';\nexport const SPAWN_CREATE = 'SPAWN_CREATE';\nexport const LOAD_APPLICATION = 'LOAD_APPLICATION';\n\n// USER\nexport const GET_USERNAME = 'GET_USERNAME';\nexport const UPDATE_USER = 'UPDATE_USER';\n\n// PLAN\nexport const INIT = 'INIT';\nexport const SET_PLAN = 'SET_PLAN';\nexport const RESET_PLAN = 'RESET_PLAN';\nexport const SHOW_FIRST_LOGIN_PLAN = 'SHOW_FIRST_LOGIN_PLAN';\nexport const DISMISS_FIRST_LOGIN_PLAN = 'DISMISS_FIRST_LOGIN_PLAN';\nexport const SET_PLAN_DETAILS = 'SET_PLAN_DETAILS';\n\n// SUBSCRIPTION\nexport const SET_USER_SUBSCRIPTION = 'SET_USER_SUBSCRIPTION';\nexport const SET_STRIPE_STATUS = 'SET_STRIPE_STATUS';\nexport const SET_PAYMENT_METHODS = 'SET_PAYMENT_METHODS';\nexport const CANCEL_SUBSCRIPTION = 'CANCEL_SUBSCRIPTION';\nexport const CLOSE_SUCCESS_CANCEL_SUBSCRIPTION_MODAL =\n 'CLOSE_SUCCESS_CANCEL_SUBSCRIPTION_MODAL';\nexport const SHOW_CANCEL_SUBSCRIPTION_MODAL = 'SHOW_CANCEL_SUBSCRIPTION_MODAL';\nexport const CLOSE_CANCEL_SUBSCRIPTION_MODAL =\n 'CLOSE_CANCEL_SUBSCRIPTION_MODAL';\nexport const SHOW_SWITCH_PLAN_SUBSCRIPTION_MODAL =\n 'SHOW_SWITCH_PLAN_SUBSCRIPTION_MODAL';\nexport const CLOSE_SWITCH_PLAN_SUBSCRIPTION_MODAL =\n 'CLOSE_SWITCH_PLAN_SUBSCRIPTION_MODAL';\n\n// DASHBOARD BOT / BOTS\nexport const SET_VIEW_TYPE = 'SET_VIEW_TYPE';\nexport const SET_BOTS = 'SET_BOTS';\nexport const SET_TEMP_BOT = 'SET_TEMP_BOT';\nexport const ADD_BOT = 'ADD_BOT';\nexport const DELETE_BOT = 'DELETE_BOT';\nexport const UPDATE_BOT = 'UPDATE_BOT';\nexport const VIEW_BOT = 'VIEW_BOT';\nexport const IMPORT_BOT = 'IMPORT_BOT';\nexport const SET_BOT_MODES = 'SET_BOT_MODES';\nexport const UPDATE_BOT_SYNC = 'UPDATE_BOT_SYNC';\n\n// ANSWERS\nexport const BULK_DELETE_ANSWERS = 'BULK_DELETE_ANSWERS';\nexport const SET_ANSWERS = 'SET_ANSWERS';\nexport const ADD_ANSWER_QLINK = 'ADD_ANSWER_QLINK';\nexport const ADD_ANSWER = 'ADD_ANSWER';\nexport const ADD_FILE = 'ADD_FILE';\nexport const ADD_MULTIPLE_ANSWERS = 'ADD_MULTIPLE_ANSWERS';\nexport const SET_DEFAULT_ANSWER = 'SET_DEFAULT_ANSWER';\nexport const UPDATE_ANSWER = 'UPDATE_ANSWER';\nexport const UPDATE_FILE = 'UPDATE_FILE';\nexport const UPDATE_WEBSITE = 'UPDATE_WEBSITE';\nexport const DELETE_ANSWERBANK = 'DELETE_ANSWERBANK';\nexport const REMOVE_ANSWER_QLINK = 'REMOVE_ANSWER_QLINK';\nexport const UPDATE_ANSWER_HITCOUNT = 'UPDATE_ANSWER_HITCOUNT';\nexport const SET_SHOW_ANSWER_VERSIONS = 'SET_SHOW_ANSWER_VERSIONS';\nexport const SET_SHOW_DRAFT_RESPONSES = 'SET_SHOW_DRAFT_RESPONSES';\nexport const SET_SHOW_BELOW_THRESHOLD_RESPONSES =\n 'SET_SHOW_BELOW_THRESHOLD_RESPONSES';\nexport const SET_WEBSITE_SELECTED_PAGES = 'SET_WEBSITE_SELECTED_PAGES';\nexport const RESET_WEBSITE_SELECTED_PAGES = 'RESET_WEBSITE_SELECTED_PAGES';\n\n// ANSWER CATEGORIES\nexport const BULK_MOVE_CATEGORY = 'BULK_MOVE_CATEGORY';\nexport const SET_CATEGORY_TEMPLATES = 'SET_CATEGORY_TEMPLATES';\nexport const GET_CATEGORIES = 'GET_CATEGORIES';\nexport const ADD_CATEGORY = 'ADD_CATEGORY';\nexport const DELETE_CATEGORY = 'DELETE_CATEGORY';\nexport const UPDATE_CATEGORY = 'UPDATE_CATEGORY';\nexport const SET_CATEGORY_MODAL_OPEN = 'SET_CATEGORY_MODAL_OPEN';\nexport const SET_SELECTED_CATEGORY_DETAILS = 'SET_SELECTED_CATEGORY_DETAILS';\nexport const CLEAR_SELECTED_CATEGORY_DETAILS =\n 'CLEAR_SELECTED_CATEGORY_DETAILS';\nexport const SET_CATEGORY_MODAL_CLOSE = 'SET_CATEGORY_MODAL_CLOSE';\nexport const IMPORT_CATEGORY_TEMPLATES = 'IMPORT_CATEGORY_TEMPLATES';\n\n// TEST SUITE\nexport const SET_TEST_SUITES = 'SET_TEST_SUITES';\nexport const SET_TEST_CASES = 'SET_TEST_CASES';\nexport const SET_SELECTED_TEST_SUITE = 'SET_SELECTED_TEST_SUITE';\nexport const UPDATE_TEST_SUITE = 'UPDATE_TEST_SUITE';\nexport const RUN_TEST_SUITE = 'RUN_TEST_SUITE';\nexport const UPDATE_TEST_CASE_STATUS = 'UPDATE_TEST_CASE_STATUS';\nexport const DELETE_TEST_CASE = 'DELETE_TEST_CASE';\nexport const DELETE_TEST_SUITE = 'DELETE_TEST_SUITE';\nexport const ADD_TEST_SUITE = 'ADD_TEST_SUITE';\nexport const ADD_TEST_CASE = 'ADD_TEST_CASE';\nexport const UPDATE_TEST_CASE = 'UPDATE_TEST_CASE';\nexport const UPDATE_TEST_CASE_COUNT = 'UPDATE_TEST_CASE_COUNT';\n\n// INTEGRATION\nexport const SET_INTEGRATIONS = 'SET_INTEGRATIONS';\nexport const ADD_INTEGRATION = 'ADD_INTEGRATION';\nexport const UPDATE_INTEGRATION = 'UPDATE_INTEGRATION';\nexport const DELETE_INTEGRATION = 'DELETE_INTEGRATION';\nexport const SET_INTEGRATION_PANEL_PERMIT = 'SET_INTEGRATION_PANEL_PERMIT';\nexport const AUTO_OPEN_INTEGRATION_PANEL = 'AUTO_OPEN_INTEGRATION_PANEL';\nexport const SET_INTEGRATION_ACTIVE_PANEL = 'SET_INTEGRATION_ACTIVE_PANEL';\nexport const RESET_INTEGRATION_PANEL_AND_PERMIT =\n 'RESET_INTEGRATION_PANEL_AND_PERMIT';\nexport const SET_MESSENGER_API = 'SET_MESSENGER_API';\nexport const SET_VIBER_API = 'SET_VIBER_API';\nexport const SET_COMPONENT_INTEGRATION_DATA = 'SET_COMPONENT_INTEGRATION_DATA';\nexport const SET_CURRENT_INTEGRATION_ID = 'SET_CURRENT_INTEGRATION_ID';\nexport const SET_CURRENT_INTEGRATION_DATA = 'SET_CURRENT_INTEGRATION_DATA';\nexport const SAVE_NEW_INTEGRATION = 'SAVE_NEW_INTEGRATION';\nexport const RESET_SEARCH_CUSTOMIZER_DATA = 'RESET_SEARCH_CUSTOMIZER_DATA';\nexport const CLEAR_COMPONENT_INTEGRATION_DATA =\n 'CLEAR_COMPONENT_INTEGRATION_DATA';\nexport const CLEAR_CURRENT_INTEGRATION_ID = 'CLEAR_CURRENT_INTEGRATION_ID';\nexport const RESET_INTEGRATION_SETTINGS = 'RESET_INTEGRATION_SETTINGS';\nexport const UPDATE_VIBER_WEBHOOK_STATUS = 'UPDATE_VIBER_WEBHOOK_STATUS';\nexport const GENERATE_INTEGRATION_CODE = 'GENERATE_INTEGRATION_CODE';\nexport const SET_INTEGRATION_BOT_VERSION = 'SET_INTEGRATION_BOT_VERSION';\nexport const SET_INTEGRATION_WIDGET_TYPE = 'SET_INTEGRATION_WIDGET_TYPE';\nexport const SET_WIDGET_PLACEHOLDER = 'SET_WIDGET_PLACEHOLDER';\nexport const SET_WIDGET_THEME_COLOR = 'SET_WIDGET_THEME_COLOR';\nexport const SET_WIDGET_FONT_COLOR = 'SET_WIDGET_FONT_COLOR';\nexport const SET_WIDGET_HEIGHT = 'SET_WIDGET_HEIGHT';\nexport const SET_HEADER_AVATAR = 'SET_HEADER_AVATAR';\nexport const SET_HEADER_AVATAR_TYPE = 'SET_HEADER_AVATAR_TYPE';\nexport const SET_RESPONSE_AVATAR = 'SET_RESPONSE_AVATAR';\nexport const SET_RESPONSE_AVATAR_TYPE = 'SET_RESPONSE_AVATAR_TYPE';\nexport const SET_WIDGET_LAUNCHER_ICON = 'SET_WIDGET_LAUNCHER_ICON';\nexport const SET_WIDGET_LAUNCHER_AVATAR_TYPE =\n 'SET_WIDGET_LAUNCHER_AVATAR_TYPE';\nexport const SET_WIDGET_AVATAR_COLOR = 'SET_WIDGET_AVATAR_COLOR';\nexport const SET_WIDGET_TITLE = 'SET_WIDGET_TITLE';\nexport const SET_WIDGET_SUBTITLE = 'SET_WIDGET_SUBTITLE';\nexport const SET_WIDGET_WELCOME_MESSAGE = 'SET_WIDGET_WELCOME_MESSAGE';\nexport const TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH =\n 'TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH';\nexport const SET_SHOW_WIDGET_AVATAR_PICKER_MODAL =\n 'SET_SHOW_WIDGET_AVATAR_PICKER_MODAL';\nexport const CLOSE_WIDGET_AVATAR_PICKER_MODAL =\n 'CLOSE_WIDGET_AVATAR_PICKER_MODAL';\nexport const RESET_CONFIG_PANEL_SETTINGS = 'RESET_CONFIG_PANEL_SETTINGS';\nexport const RESET_APPEARANCE_PANEL_SETTINGS =\n 'RESET_APPEARANCE_PANEL_SETTINGS';\nexport const RESET_PLACEMENT_PANEL_SETTINGS = 'RESET_PLACEMENT_PANEL_SETTINGS';\nexport const TOGGLE_INTERACTION_HISTORY = 'TOGGLE_INTERACTION_HISTORY';\nexport const TOGGLE_AUTO_OPEN_WIDGET_SETTING =\n 'TOGGLE_AUTO_OPEN_WIDGET_SETTING';\nexport const TOGGLE_WIDGET_SPEECH_TO_TEXT = 'TOGGLE_WIDGET_SPEECH_TO_TEXT';\nexport const TOGGLE_WIDGET_TEXT_TO_SPEECH = 'TOGGLE_WIDGET_TEXT_TO_SPEECH';\nexport const TOGGLE_WIDGET_TYPING_EXPERIENCE =\n 'TOGGLE_WIDGET_TYPING_EXPERIENCE';\nexport const SET_MAX_INTERACTION_HISTORY = 'SET_MAX_INTERACTION_HISTORY';\nexport const SET_WIDGET_CHAT_BUBBLE_COLOR = 'SET_WIDGET_CHAT_BUBBLE_COLOR';\nexport const SET_REPLY_BUBBLE_GRADIENT = 'SET_REPLY_BUBBLE_GRADIENT';\nexport const SET_WIDGET_FONT_SIZE = 'SET_WIDGET_FONT_SIZE';\nexport const SET_CURRENT_INTEGRATION_TYPE = 'SET_CURRENT_INTEGRATION_TYPE';\nexport const TOGGLE_SHOW_CLOSE_BUTTON = 'TOGGLE_SHOW_CLOSE_BUTTON';\nexport const OPEN_EDIT_PANEL_INTEGRATION = 'OPEN_EDIT_PANEL_INTEGRATION';\nexport const SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL =\n 'SET_SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL';\nexport const CLOSE_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL =\n 'CLOSE_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL';\nexport const SHOW_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL =\n 'SHOW_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL';\nexport const CLOSE_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL =\n 'CLOSE_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL';\nexport const SET_DEMO_BACKGROUND = 'SET_DEMO_BACKGROUND';\nexport const OPEN_IMAGE_VIEWER_MODAL = 'OPEN_IMAGE_VIEWER_MODAL';\nexport const CLOSE_IMAGE_VIEWER_MODAL = 'CLOSE_IMAGE_VIEWER_MODAL';\nexport const SET_INTEGRATION_IDENTIFIER = 'SET_INTEGRATION_IDENTIFIER';\nexport const SET_INTEGRATION_PATH = 'SET_INTEGRATION_PATH';\nexport const SET_LAUNCHER_SHAPE = 'SET_LAUNCHER_SHAPE';\nexport const SET_WIDGET_LAUNCHER_POSITION = 'SET_WIDGET_LAUNCHER_POSITION';\nexport const SET_LAUNCHER_LABEL = 'SET_LAUNCHER_LABEL';\nexport const SET_BOT_CUSTOMIZER_ACTIVE_PANEL =\n 'SET_BOT_CUSTOMIZER_ACTIVE_PANEL';\nexport const SET_INTEGRATION_HANDOFF_LABEL = 'SET_INTEGRATION_HANDOFF_LABEL';\nexport const SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE =\n 'SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE';\nexport const SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE =\n 'SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE';\nexport const ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD =\n 'ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD';\nexport const REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD =\n 'REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD';\nexport const CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD =\n 'CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD';\nexport const TOGGLE_INTEGRATION_HANDOFF_CALLBACK =\n 'TOGGLE_INTEGRATION_HANDOFF_CALLBACK';\nexport const TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM =\n 'TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM';\nexport const SET_LAUNCHER_AVATAR_TO_CLOUD_PATH =\n 'SET_LAUNCHER_AVATAR_TO_CLOUD_PATH';\nexport const SET_HEADER_AVATAR_TO_CLOUD_PATH =\n 'SET_HEADER_AVATAR_TO_CLOUD_PATH';\nexport const SET_RESPONSE_AVATAR_TO_CLOUD_PATH =\n 'SET_RESPONSE_AVATAR_TO_CLOUD_PATH';\nexport const SET_DEMO_BACKGROUND_TO_CLOUD_PATH =\n 'SET_DEMO_BACKGROUND_TO_CLOUD_PATH';\n\n// ADMIN\nexport const GET_ALL_USERS = 'GET_ALL_USERS';\nexport const START_IMPERSONATING_USER = 'START_IMPERSONATING_USER';\nexport const STOP_IMPERSONATING_USER = 'STOP_IMPERSONATING_USER';\nexport const GET_ALL_GLOBAL_VARS = 'GET_ALL_GLOBAL_VARS';\nexport const GET_ALL_VERSIONS = 'GET_ALL_VERSIONS';\nexport const CLEANUP_ALL_GLOBAL_VARS = 'CLEANUP_ALL_GLOBAL_VARS';\nexport const UPDATE_USER_DATA = 'UPDATE_USER_DATA';\nexport const SET_NETWORK_DIGRAPH_DATA = 'SET_NETWORK_DIGRAPH_DATA';\nexport const CLEAR_DIGRAPH_DATA = 'CLEAR_NETWORK_DIGRAPH_DATA';\nexport const SHOW_DIGRAPH = 'SHOW_DIGRAPH';\nexport const HIDE_DIGRAPH = 'HIDE_DIGRAPH';\n\n// SIDEBAR CHATLIST\nexport const PUSH_CHAT_QUESTION = 'PUSH_CHAT_LIST_QUESTION';\nexport const PUSH_CHAT_ANSWER = 'PUSH_CHAT_ANSWER';\nexport const PUSH_CHAT_ERROR_REPLY = 'PUSH_CHAT_ERROR_REPLY';\n// Update answer with specific chat message index\nexport const UPDATE_CHAT_LIST_ITEM = 'UPDATE_CHAT_LIST_ITEM';\nexport const ADD_TO_CHAT_LIST = 'ADD_TO_CHAT_LIST';\nexport const CLEAR_CHAT_LIST = 'CLEAR_CHAT_LIST';\nexport const SET_CHAT_MODE = 'SET_CHAT_MODE';\nexport const TOGGLE_EXPAND_SIDEBAR_CHAT = 'TOGGLE_EXPAND_SIDEBAR_CHAT';\nexport const SHOW_CHAT_ANSWER_IN_MODAL = 'SHOW_CHAT_ANSWER_IN_MODAL';\nexport const CLOSE_CHAT_ANSWER_IN_MODAL = 'CLOSE_CHAT_ANSWER_IN_MODAL';\nexport const SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL =\n 'SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL';\nexport const CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL =\n 'CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL';\n\n// BOT\nexport const CLEAR_BOT_AGGREGATIONS = 'CLEAR_BOT_AGGREGATIONS';\nexport const REMOVE_BOT_JID = 'REMOVE_BOT_JID';\nexport const SET_BOT_AGGREGATIONS = 'SET_BOT_AGGREGATIONS';\nexport const SET_BOT_JID = 'SET_BOT_JID';\nexport const SET_BOT_DETAILS = 'SET_BOT_DETAILS';\nexport const CLEAR_BOT_DETAILS = 'CLEAR_BOT_DETAILS';\nexport const SET_BOT_ERROR = 'SET_BOT_ERROR';\nexport const SET_BOT_OVERVIEW = 'SET_BOT_OVERVIEW';\nexport const SET_BOT_SETTINGS = 'SET_BOT_SETTINGS';\nexport const SET_TYPING_EXPERIENCE = 'SET_TYPING_EXPERIENCE';\nexport const SET_BOTDETAILS_PAGE_READY = 'SET_BOTDETAILS_PAGE_READY';\nexport const SET_BOTDETAILS_PAGE_LOADING = 'SET_BOTDETAILS_PAGE_LOADING';\nexport const SET_BOT_AS_WEAK_BOT = 'SET_BOT_AS_WEAK_BOT';\nexport const REMOVE_WEAK_BOT_STATUS = 'REMOVE_WEAK_BOT_STATUS';\nexport const SHOW_BOT_MODAL = 'SHOW_BOT_MODAL';\nexport const CLOSE_BOT_MODAL = 'CLOSE_BOT_MODAL';\nexport const CLOSE_WORDPRESS_MODAL = 'CLOSE_WORDPRESS_MODAL';\n\n// MODALS\nexport const SHOW_RESPONSE_PICKER_MODAL = 'SHOW_RESPONSE_PICKER_MODAL';\nexport const CLOSE_RESPONSE_PICKER_MODAL = 'CLOSE_RESPONSE_PICKER_MODAL';\nexport const UPDATE_RESPONSE_PICKER_ANSWERS = 'UPDATE_RESPONSE_PICKER_ANSWERS';\nexport const SHOW_SIMILAR_QUESTIONS_MODAL = 'SHOW_SIMILAR_QUESTIONS_MODAL';\nexport const CLOSE_SIMILAR_QUESTIONS_MODAL = 'CLOSE_SIMILAR_QUESTIONS_MODAL';\nexport const UPDATE_SIMILAR_QUESTIONS_MODAL = 'UPDATE_SIMILAR_QUESTIONS_MODAL';\nexport const SET_ANSWER_EDITOR_SELECTED_ANSWER =\n 'SET_ANSWER_EDITOR_SELECTED_ANSWER';\nexport const SET_FILE_EDITOR_SELECTED_FILE = 'SET_FILE_EDITOR_SELECTED_FILE';\nexport const SET_WEBSITE_EDITOR_SELECTED_WEBSITE =\n 'SET_WEBSITE_EDITOR_SELECTED_WEBSITE';\nexport const CLOSE_ANSWER_EDITOR = 'CLOSE_ANSWER_EDITOR';\nexport const CLOSE_FILE_EDITOR = 'CLOSE_FILE_EDITOR';\nexport const CLOSE_WEBSITE_EDITOR = 'CLOSE_WEBSITE_EDITOR';\nexport const OPEN_ANSWER_EDITOR_CREATE_MODE = 'OPEN_ANSWER_EDITOR_CREATE_MODE';\nexport const UPDATE_ANSWER_EDITOR_ANSWER = 'UPDATE_ANSWER_EDITOR_ANSWER';\nexport const UPDATE_FILE_EDITOR_FILE = 'UPDATE_FILE_EDITOR_FILE';\nexport const UPDATE_WEBSITE_EDITOR_WEBSITE = 'UPDATE_WEBSITE_EDITOR_WEBSITE';\nexport const SHOW_QUESTION_EDITOR = 'SHOW_QUESTION_EDITOR';\nexport const UPDATE_QUESTION_EDITOR = 'UPDATE_QUESTION_EDITOR';\nexport const UPDATE_QUESTION_EDITOR_SIMILAR_QUESTIONS =\n 'UPDATE_QUESTION_EDITOR_SIMILAR_QUESTIONS';\nexport const CLOSE_QUESTION_EDITOR = 'CLOSE_QUESTION_EDITOR';\nexport const PUSH_ANSWER_AS_RESPONSE_PICKER_BEST_ANSWER =\n 'PUSH_ANSWER_AS_RESPONSE_PICKER_BEST_ANSWER';\nexport const PUSH_AS_QUESTION_EDITOR_SELECTED_ANSWER =\n 'PUSH_AS_QUESTION_EDITOR_SELECTED_ANSWER';\nexport const REMOVE_HARD_LINK_FROM_RESPONSE_PICKER =\n 'REMOVE_HARD_LINK_FROM_RESPONSE_PICKER';\nexport const REMOVE_HARD_LINK_FROM_QUESTION_EDITOR =\n 'REMOVE_HARD_LINK_FROM_QUESTION_EDITOR';\nexport const UPDATE_RESPONSE_PICKER_SIMILAR_QUESTIONS =\n 'UPDATE_RESPONSE_PICKER_SIMILAR_QUESTIONS';\nexport const SET_ANSWER_EDITOR_CARD_INSIGHTS =\n 'SET_ANSWER_EDITOR_CARD_INSIGHTS';\nexport const SET_ANSWER_EDITOR_GRAPH_INSIGHTS =\n 'SET_ANSWER_EDITOR_GRAPH_INSIGHTS';\nexport const SET_ANSWER_EDITOR_TABLE_INSIGHTS =\n 'SET_ANSWER_EDITOR_TABLE_INSIGHTS';\n\n// QUESTIONS\nexport const SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD =\n 'SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD';\nexport const SHOW_RESPONSE_PICKER_MODAL_FOR_QUESTIONS =\n 'SHOW_RESPONSE_PICKER_MODAL_FOR_QUESTIONS';\nexport const UPDATE_RESPONSE_PICKER_ANSWERS_AFTER_UNLINK =\n 'UPDATE_RESPONSE_PICKER_ANSWERS_AFTER_UNLINK';\nexport const UPDATE_SIMILAR_QUESTIONS_AFTER_HARD_LINK =\n 'UPDATE_SIMILAR_QUESTIONS_AFTER_HARD_LINK';\nexport const UPDATE_ANSWER_EDITOR_LINKED_QUESTIONS =\n 'UPDATE_ANSWER_EDITOR_LINKED_QUESTIONS';\nexport const SET_ANSWER_EDITOR_LINKED_QUESTIONS =\n 'SET_ANSWER_EDITOR_LINKED_QUESTIONS';\nexport const SET_ALL_QUESTIONS = 'SET_ALL_QUESTIONS';\nexport const UPDATE_QUESTION = 'UPDATE_QUESTION';\nexport const UPDATE_QUESTION_AND_ANSWER = 'UPDATE_QUESTION_AND_ANSWER';\nexport const DELETE_QUESTION = 'DELETE_QUESTION';\nexport const ADD_QUESTION = 'ADD_QUESTION';\nexport const ADD_MULTIPLE_DRAFT_QUESTIONS = 'ADD_MULTIPLE_DRAFT_QUESTIONS';\n\n// ANALYTICS\nexport const SET_ANALYTICS_AGGREGATIONS_DATA =\n 'SET_ANALYTICS_AGGREGATIONS_DATA';\nexport const SET_ANALYTICS_TABLE_DATA = 'SET_ANALYTICS_TABLE_DATA';\nexport const SET_ANALYTICS_GRAPH_DATA = 'SET_ANALYTICS_GRAPH_DATA';\nexport const SET_ANALYTICS_GRAPH_AND_TABLE_DATA =\n 'SET_ANALYTICS_GRAPH_AND_TABLE_DATA';\nexport const SET_ANALYTICS_FROM_ES_DATA = 'SET_ANALYTICS_FROM_ES_DATA';\nexport const VALIDATE_QUESTION_FROM_ANALYTICS =\n 'VALIDATE_QUESTION_FROM_ANALYTICS';\n\n// CALLBACK LOGS\nexport const SET_CALLBACK_LOGS_TABLE_DATA = 'SET_CALLBACK_LOGS_TABLE_DATA';\nexport const SET_CALLBACK_MODAL_SESSION_DETAILS =\n 'SET_CALLBACK_MODAL_SESSION_DETAILS';\nexport const CLEAR_CALLBACK_MODAL_SESSION_DETAILS =\n 'CLEAR_CALLBACK_MODAL_SESSION_DETAILS';\n\n// WEBSOCKET\nexport const SET_WS_TOKEN = 'SET_WS_TOKEN';\nexport const DISCONNECT_WEBSOCKET = 'DISCONNECT_WEBSOCKET';\nexport const SET_WS_ASK_QUESTION_ACTION = 'SET_WS_ASK_QUESTION_ACTION';\nexport const SET_WS_ASK_QUESTION_SENDING = 'SET_WS_ASK_QUESTION_SENDING';\nexport const RESET_WS_GENERATED_ANSWER = 'RESET_WS_GENERATED_ANSWER';\nexport const SET_WS_SCRAPER_ACTION = 'SET_WS_SCRAPER_ACTION ';\nexport const UPDATE_WS_SCANNED_DATA_SOURCE = 'UPDATE_WS_SCANNED_DATA_SOURCE';\nexport const RESET_WS_SCANNER = 'RESET_WS_SCANNER';\nexport const WS_ADD_FILE = 'WS_ADD_FILE';\nexport const RESET_WS_ADD_FILE_ADDED = 'RESET_WS_ADD_FILE_ADDED';\nexport const WS_UPDATE_ACTION = 'WS_UPDATE_ACTION';\nexport const WS_STOP_SCRAPER = 'WS_STOP_SCRAPER';\nexport const SET_WS_IMPORTER_ACTION = 'SET_WS_IMPORTER_ACTION';\nexport const SET_WS_IMPORTER_PROGRESS_COUNT = 'SET_WS_IMPORTER_PROGRESS_COUNT';\nexport const SET_WS_IMPORTER_PROCESS_COMPLETED =\n 'SET_WS_IMPORTER_PROCESS_COMPLETED';\n\n// FUNCTIONS\nexport const SET_AI_TOOLS = 'SET_AI_TOOLS';\nexport const ADD_AI_TOOL = 'ADD_AI_TOOL';\nexport const EDIT_AI_TOOL = 'EDIT_AI_TOOL';\nexport const SET_SELECTED_AI_TOOL = 'SET_SELECTED_AI_TOOL';\nexport const DELETE_AI_TOOL = 'DELETE_AI_TOOL';\nexport const OPEN_AI_TOOL_MODAL = 'OPEN_AI_TOOL_MODAL';\nexport const CLOSE_AI_TOOL_MODAL = 'CLOSE_AI_TOOL_MODAL';\n\n//SET_INVOICES\nexport const SET_INVOICES = 'SET_INVOICE';\nexport const RESET_INVOICE = 'RESET_INVOICE';\n\n//API KEY\nexport const INITIALIZE_API_KEY = 'INITIALIZE_API_KEY';\nexport const UNSET_API_KEY = 'UNSET_API_KEY';\nexport const SET_SHOW_API_KEY_MODAL = 'SET_SHOW_API_KEY_MODAL';\nexport const CLOSE_API_KEY_MODAL = 'CLOSE_API_KEY_MODAL';\n\n// BOT SETTINGS\nexport const TOGGLE_SEND_CALLBACK_LOG = 'TOGGLE_SEND_CALLBACK_LOG';\nexport const SET_PAGE_DETAILS = 'SET_PAGE_DETAILS';\n","export const cssVariables = {\n maxHeight: '100vh',\n width: '100%',\n primaryColor: '#202225',\n secondaryColor: '#f3f3f3',\n cardShadow:\n '0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%)',\n itemListShadow: '0 1px 4px 0 rgb(0 0 0 / 20%), 0 2px 4px 0 rgb(0 0 0 / 20%)',\n primaryTransparent: 'rgba(33, 35, 38, 0.774)',\n primaryHighlight: 'rgba(230, 232, 235)',\n\n // the higher the number the light the color\n blueishGray: '#454b57',\n primaryGray: '#202225',\n gray0: '#66696F',\n gray1: '#d1d1d1',\n gray2: '#e5e5e5',\n gray3: '#f4f6f8',\n gray4: '#f0f2f5',\n gray5: '#F8F9FA',\n primaryBlue: '#167BE7',\n primaryBlueHover: '#daecfd',\n primaryCyanHover: '#dbfafd',\n blue1: '#daecfd',\n blue2: '#1F6BE4',\n red1: '#FFF6F5',\n red2: '#ffeaea',\n red10: '#ff4d4f',\n cyan: '#6AC8BC',\n primaryCyan: '#6AC8BC',\n zsbCyanGradient: 'linear-gradient(180deg, #141414 0%, #43726e 100%)',\n\n // Error message colors\n errorText: '#f5222d',\n errorButtonColor: '#ff4d4f',\n errorBgColor: '#fff1f0',\n errorBorder: '#ffa39e',\n\n green0: '#52c41a',\n green1: '#23b576',\n\n success: '#23b576',\n successHover: '#cce6db',\n warning: '#faad14',\n\n // font styles\n font: {\n bold: 700,\n normal: 500,\n fontFamily: `'Roboto', sans-serif`,\n },\n};\n","import {\n DEFAULT_AUTH_FIELDS,\n DEFAULT_URL_OUTPUT_FIElDS,\n DEFAULT_URL_OUTPUT_KEYS,\n DEFAULT_WALKER_OUTPUT_KEYS,\n REQUEST_METHODS,\n RESPONSE_OPTIONS,\n SELECTABLE_FIELDS,\n} from 'constants/aiTools';\nimport { orderBy } from 'lodash';\nimport { stripUUID } from 'utils';\nimport { isAnObject } from 'utils/dataTypes';\n\nconst createObjectFromArrayOfNameAndValues = (data = []) => {\n if (!Array.isArray(data)) {\n return [];\n }\n\n return data.reduce((acc, currentItem) => {\n acc[currentItem.name] = currentItem.value;\n return acc;\n }, {});\n};\n\nexport const extractAIToolData = toolData => {\n return toolData\n .map(tool => {\n const {\n name,\n description,\n created_time,\n last_updated_time,\n parameters,\n output,\n ver,\n auth,\n ...restOfContext\n } = tool?.context;\n\n const { properties, ...restParamProps } = parameters || {};\n // transform paramProps to array\n // to map easily\n const paramProps = properties\n ? Object.entries(properties)?.map(([key, obj], idx) => {\n const { position, name, ...restOfProps } = obj;\n // transform to an object that the function modal can map the param props\n return {\n // 'properties' are stored in `restOfProps`\n ...restOfProps,\n position: position || idx + 1,\n name: key,\n };\n })\n : null;\n\n const getOutputOptions = (type, key) => {\n if (type === 'url') {\n if (key.toLowerCase() === 'method') {\n return REQUEST_METHODS;\n } else if (\n key.toLowerCase() === 'body' ||\n key.toLowerCase() === 'query' ||\n key.toLowerCase() === 'path' ||\n key.toLowerCase() === 'formatter'\n ) {\n return RESPONSE_OPTIONS;\n }\n return undefined;\n }\n return undefined;\n };\n\n const authItems = auth => {\n const authKey = 'auth';\n\n if (!auth || !auth.request) {\n return {\n ...DEFAULT_URL_OUTPUT_FIElDS.find(\n authDetails => authDetails.name === authKey\n ),\n value: auth?.type || null,\n request: DEFAULT_AUTH_FIELDS,\n };\n }\n\n const authRequest = Object?.entries(auth.request)?.map(([key, obj]) => {\n const authObjProps = isAnObject(obj)\n ? Object.entries(obj).map(([key, val], idx) => {\n // create key/value pair fields\n // for object type\n // to be mapped inside the modal\n return {\n id: idx,\n name: key,\n value: val,\n position: idx + 1,\n };\n })\n : undefined;\n\n return {\n ...DEFAULT_AUTH_FIELDS.find(auth => auth.name === key),\n value: isAnObject(obj)\n ? authObjProps.length > 0\n ? 'manual'\n : null\n : !obj\n ? 'null'\n : obj,\n properties: authObjProps\n ? authObjProps\n : SELECTABLE_FIELDS.includes(key)\n ? [{ id: 0, name: null, value: null }]\n : [],\n };\n });\n\n return {\n ...DEFAULT_URL_OUTPUT_FIElDS.find(\n authDetails => authDetails.name === authKey\n ),\n value: auth.type,\n request:\n [{ ...DEFAULT_AUTH_FIELDS[0], value: auth.type }, ...authRequest] ||\n DEFAULT_AUTH_FIELDS,\n };\n };\n\n const outputItems = Object.entries(output).map(([key, obj], idx) => {\n // transform to an object that the function modal can map/handle the output props\n\n // add objectProps if the current item is typeof === 'object'\n const objectProps = isAnObject(obj)\n ? Object.entries(obj).map(([key, val], idx) => {\n // create key/value pair fields\n // for object type\n // to be mapped inside the modal\n return { id: idx, name: key, value: val, position: idx + 1 };\n })\n : // no object props for non-object\n undefined;\n // add name, value, position, type\n\n if (key === 'auth') {\n return authItems(obj);\n } else {\n return {\n ...DEFAULT_URL_OUTPUT_FIElDS.find(\n urlDefaultDetails => urlDefaultDetails.name === key\n ),\n value: isAnObject(obj)\n ? objectProps.length > 0\n ? 'manual'\n : null\n : !obj\n ? 'null'\n : obj,\n type: obj ? (typeof obj).toLowerCase() : 'string',\n options: getOutputOptions(output['type'], key),\n // add properties if object\n properties: objectProps\n ? objectProps\n : SELECTABLE_FIELDS.includes(key)\n ? [{ id: 0, name: null, value: null }]\n : [],\n default: DEFAULT_URL_OUTPUT_KEYS.includes(key.toLowerCase())\n ? true\n : DEFAULT_WALKER_OUTPUT_KEYS.includes(key.toLowerCase())\n ? true\n : false,\n };\n }\n });\n\n const toolParameters = {\n ...restParamProps,\n properties: paramProps,\n };\n\n // transform param props to object\n // for table display proposes\n const getParamsForTable = () => {\n const { properties, ...rest } = toolParameters;\n const paramProps = properties\n ? Object.values(properties).reduce((acc, obj) => {\n const { name, position, ...rest } = obj;\n acc[name] = rest;\n return acc;\n }, {})\n : null;\n\n return {\n properties: paramProps,\n ...rest,\n };\n };\n\n const getOutputForTable = () => {\n return outputItems.reduce((acc, obj) => {\n const { name, value, type, position, ...rest } = obj;\n // only display the properties if object\n // or value, if string\n acc[name] =\n type === 'object'\n ? rest?.properties\n ? { ...createObjectFromArrayOfNameAndValues(rest.properties) }\n : undefined\n : value;\n return acc;\n }, {});\n };\n\n const getOutputItems = () => {\n const pathProperty = outputItems?.find(\n output => output.name === 'path' && output?.properties?.length\n );\n\n if (pathProperty) {\n const urlProperty = outputItems?.find(\n output => output.name === 'url'\n );\n const urlValue = pathProperty?.properties?.reduce(\n (acc, property) =>\n acc?.replace(property.value, `{${property.name}}`),\n urlProperty.value\n );\n return orderBy(\n [\n ...outputItems?.filter(output => output.name !== 'url'),\n {\n ...urlProperty,\n pathValue: urlValue,\n },\n ],\n 'position',\n 'asc'\n );\n } else {\n return outputItems;\n }\n };\n\n return {\n jid: stripUUID(tool.jid),\n name,\n description,\n createdAt: created_time,\n lastUpdatedAt: last_updated_time,\n parameters: toolParameters,\n parametersInTable: getParamsForTable(),\n outputInTable: getOutputForTable(),\n output: getOutputItems(),\n version: ver,\n ...restOfContext,\n };\n })\n .filter(Boolean);\n};\n\nexport const urlAiToolValidator = (\n _,\n value,\n name,\n requiredFields,\n outputProps\n) => {\n if (name === 'url') {\n const matches = value\n ?.match(/\\{([^}]+)\\}/g)\n ?.map(item => item.replace('{', '').replace('}', ''));\n const pathVariableMethod = outputProps?.find(\n output => output.name === 'path'\n )?.value;\n\n if (\n requiredFields?.filter(field => matches?.includes(field))?.length === 0 &&\n matches?.length > 0 &&\n (pathVariableMethod === 'manual' || pathVariableMethod === '{{$}}')\n ) {\n return Promise.reject(\n 'Property key should be selected in the required field.'\n );\n } else if (\n pathVariableMethod === '{{$}}' &&\n requiredFields?.filter(field => value?.includes(field))?.length === 0\n ) {\n return Promise.reject(\n 'Path Variable is tagged as OpenAI. URL should include required fields.'\n );\n }\n\n try {\n if (!value) {\n return Promise.reject('Please enter url.');\n }\n new URL(value);\n return true;\n } catch (error) {\n return Promise.reject('Please enter a valid url.');\n }\n }\n};\n\nexport const keyPropertyValidator = (_, value, name, requiredFields) => {\n if (!value) {\n return Promise.reject('Please enter key.');\n }\n\n if (!requiredFields?.includes(value) && name === 'query') {\n return Promise.reject(\n 'Property key should be selected in the required field.'\n );\n }\n};\n\nexport const methodPropertyValidator = (\n _,\n value,\n name,\n requiredFields,\n outputProps\n) => {\n const urlValue = outputProps?.find(output => output.name === 'url')?.value;\n\n const matches = urlValue\n ?.match(/\\{([^}]+)\\}/g)\n ?.map(item => item.replace('{', '').replace('}', ''));\n\n if (\n requiredFields?.filter(field => matches?.includes(field))?.length === 0 &&\n matches?.length > 0 &&\n name === 'query' &&\n value !== 'null'\n ) {\n return Promise.reject(\n 'Property key should be selected in the required field.'\n );\n }\n};\n","import {\n keyPropertyValidator,\n urlAiToolValidator,\n} from 'store/reducers/helpers/bot/aiTools';\n\nexport const SELECTABLE_FIELDS = ['header', 'query', 'body', 'path'];\n\nexport const DATA_TYPES = [\n { value: 'string', label: 'String' },\n { value: 'number', label: 'Number' },\n { value: 'date', label: 'Date' },\n { value: 'enum', label: 'Enum' },\n // { value: 'object', label: 'Object (Experimental)' },\n];\n\nexport const OUTPUT_OBJECT_DATA_TYPES = [\n { value: 'string', label: 'String' },\n { value: 'object', label: 'Object' },\n];\n\nexport const OUTPUT_TYPES = [\n { value: 'url', label: 'URL', showAdvanceSettings: true },\n { value: 'walker', label: 'Walker', showAdvanceSettings: false },\n { value: 'static', label: 'Static', showAdvanceSettings: false },\n];\n\nexport const REQUEST_METHODS = [\n { value: 'get', label: 'GET' },\n { value: 'post', label: 'POST' },\n { value: 'put', label: 'PUT' },\n { value: 'patch', label: 'PATCH' },\n { value: 'delete', label: 'DELETE' },\n];\n\nexport const RESPONSE_OPTIONS = [\n { value: 'null', label: 'NULL', showProperties: false },\n { value: '{{$}}', label: 'Open AI', showProperties: false },\n { value: 'manual', label: 'Manual', properties: [], showProperties: true },\n];\n\nexport const AUTH_OPTIONS = [\n {\n value: 'bearer',\n label: 'Bearer Token',\n properties: [],\n showProperties: true,\n },\n {\n value: 'oauth2_client_credentials',\n label: 'OAuth 2',\n properties: [],\n showProperties: true,\n },\n];\nexport const CONTENT_TYPE_OPTIONS = [\n {\n value: 'application/json',\n label: 'application/json',\n },\n {\n value: 'application/x-www-form-urlencoded',\n label: 'application/x-www-form-urlencoded',\n },\n];\n\nexport const DEFAULT_URL_OUTPUT_KEYS = [\n 'type',\n 'url',\n 'method',\n 'header',\n 'body',\n 'query',\n];\n\nexport const DEFAULT_WALKER_OUTPUT_KEYS = ['type', 'code', 'request'];\n\nexport const DEFAULT_AUTH_FIELDS = [\n {\n name: 'type',\n value: '',\n type: 'string',\n position: 1,\n default: true,\n options: AUTH_OPTIONS,\n label: 'Type',\n field: 'select',\n placeholder: 'Select type...',\n collapsibleField: false,\n display: {\n onload: true,\n },\n authType: 'both',\n },\n {\n name: 'url',\n value: '',\n type: 'string',\n position: 2,\n default: true,\n label: 'URL',\n field: 'input',\n placeholder: 'Enter url...',\n collapsibleField: false,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'oauth2_client_credentials',\n },\n {\n name: 'method',\n value: 'get',\n type: 'string',\n position: 3,\n default: true,\n options: REQUEST_METHODS,\n label: 'Method',\n required: true,\n field: 'select',\n placeholder: 'Select method...',\n collapsibleField: false,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'oauth2_client_credentials',\n },\n {\n name: 'Content-Type',\n value: '',\n type: 'string',\n position: 3,\n default: true,\n options: CONTENT_TYPE_OPTIONS,\n label: 'Content-Type',\n field: 'select',\n placeholder: 'Select Content-type...',\n collapsibleField: false,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'oauth2_client_credentials',\n },\n {\n name: 'header',\n value: 'manual',\n properties: [{ id: 0, name: null, value: null }],\n type: 'object',\n position: 4,\n default: true,\n label: 'Header',\n field: null,\n action: ['add', 'delete'],\n collapsibleField: true,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'oauth2_client_credentials',\n },\n {\n name: 'body',\n value: '',\n type: 'object',\n position: 5,\n default: true,\n properties: [{ id: 0, name: null, value: null }],\n options: RESPONSE_OPTIONS,\n label: 'Body',\n optionLabel: 'Method',\n field: null,\n action: ['add', 'delete'],\n collapsibleField: true,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'oauth2_client_credentials',\n },\n {\n name: 'token',\n value: '',\n type: 'string',\n position: 2,\n default: true,\n label: 'Token',\n field: 'input',\n placeholder: 'Enter token...',\n collapsibleField: false,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'bearer',\n },\n {\n name: 'prefix',\n value: 'Bearer',\n type: 'string',\n position: 3,\n default: true,\n label: 'Prefix',\n field: 'input',\n placeholder: 'Enter prefix...',\n collapsibleField: false,\n display: {\n onload: false,\n relatedTo: 'type',\n },\n authType: 'bearer',\n },\n];\n\nexport const DEFAULT_URL_OUTPUT_FIElDS = [\n {\n name: 'type',\n value: 'url',\n type: 'string',\n position: 1,\n default: true,\n hide: false,\n },\n {\n name: 'url',\n value: '',\n type: 'string',\n position: 2,\n default: true,\n label: 'URL',\n field: 'input',\n placeholder: 'Enter url...',\n pathValue: '',\n required: true,\n validator: urlAiToolValidator,\n hide: false,\n display: {\n onload: true,\n },\n advanceSettingOption: false,\n },\n {\n name: 'formatter',\n value: '',\n type: 'string',\n position: 3,\n default: true,\n label: 'Formatter',\n field: 'textArea',\n placeholder: 'How do you want the bot to respond...',\n pathValue: '',\n required: true,\n hide: false,\n tooltip:\n 'Ex. You shall respond on my behalf to provide ...',\n display: {\n onload: true,\n },\n advanceSettingOption: false,\n },\n {\n name: 'method',\n value: 'get',\n type: 'string',\n position: 4,\n default: true,\n options: REQUEST_METHODS,\n label: 'Method',\n required: true,\n field: 'select',\n placeholder: 'Select method...',\n hide: false,\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: false,\n },\n {\n name: 'header',\n value: 'manual',\n properties: [{ id: 0, name: null, value: null }],\n type: 'object',\n position: 5,\n default: true,\n label: 'Header',\n field: null,\n action: ['add', 'delete'],\n hide: false,\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: true,\n },\n {\n name: 'body',\n value: '',\n type: 'object',\n position: 6,\n default: true,\n properties: [{ id: 0, name: null, value: null }],\n options: RESPONSE_OPTIONS,\n label: 'Body',\n optionLabel: 'Method',\n field: null,\n action: ['add', 'delete'],\n hide: false,\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: true,\n },\n {\n name: 'query',\n value: '',\n type: 'object',\n position: 7,\n properties: [\n { id: 0, name: null, value: null, validator: keyPropertyValidator },\n ],\n default: true,\n options: RESPONSE_OPTIONS,\n label: 'Query',\n optionLabel: 'Method',\n field: null,\n action: ['add', 'delete'],\n hide: false,\n validator: keyPropertyValidator,\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: true,\n },\n {\n name: 'path',\n value: '',\n type: 'object',\n position: 8,\n properties: [{ id: 0, name: null, value: null }],\n default: true,\n options: RESPONSE_OPTIONS,\n label: 'Path Variable',\n optionLabel: 'Method',\n field: null,\n action: [],\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: true,\n },\n {\n name: 'auth',\n request: DEFAULT_AUTH_FIELDS,\n position: 9,\n value: '',\n display: {\n onload: false,\n relatedTo: 'url',\n },\n advanceSettingOption: true,\n type: 'array',\n },\n];\n\nexport const DEFAULT_WALKER_OUTPUT_FIElDS = [\n { name: 'type', value: 'walker', type: 'string', position: 1, default: true },\n {\n name: 'code',\n value: '',\n type: 'string',\n position: 2,\n default: true,\n field: 'textArea',\n label: 'Code',\n required: true,\n hide: false,\n placeholder: 'Enter code. ex. response=\"\";',\n display: {\n onload: true,\n },\n },\n // { name: 'request', value: null, type: 'string', position: 3, default: true },\n];\n\nexport const DEFAULT_STATIC_OUTPUT_FIElDS = [\n { name: 'type', value: 'static', type: 'string', position: 1 },\n {\n name: 'response',\n value: null,\n type: 'string',\n position: 2,\n field: 'textArea',\n label: 'Response',\n required: true,\n hide: false,\n placeholder: 'Enter response...',\n display: {\n onload: true,\n },\n },\n];\n\nexport const OBJECT_TYPE_OUTPUT_FIELDS = ['query', 'body'];\nexport const DEFAULT_OUTPUT_TYPE = 'url';\nexport const DEFAULT_METHOD = 'get';\n\nexport const NEW_OBJECT_ITEM = [{ position: 1, name: '' }];\n\nexport const METHODS = [\n { value: 'get', label: 'GET' },\n { value: 'post', label: 'POST' },\n { value: 'put', label: 'PUT' },\n { value: 'patch', label: 'PATCH' },\n { value: 'del', label: 'DELETE' },\n];\n","import { GET_DATA_ERROR } from 'constants/error';\nimport { apiService } from './api.service';\nimport { reverse } from 'lodash';\n\nexport const createBot = async (sentinel, graph, newBot, token) => {\n try {\n const res = await apiService.addBot(sentinel, graph, newBot, token);\n return res.data.report[0];\n } catch (err) {\n throw err;\n }\n};\n\nexport const deleteBot = async (sentinel, botId, token) => {\n try {\n return await apiService.deleteBot(sentinel, botId, token);\n } catch (error) {\n throw new Error();\n }\n};\n\nexport const editBot = async (\n sentinel,\n botId,\n name,\n mode,\n desc = '',\n token\n) => {\n try {\n return await apiService.editBot(sentinel, botId, name, mode, desc, token);\n } catch (error) {\n throw error;\n }\n};\n\nexport const setBotSession = bot => {\n localStorage.setItem('bot', JSON.stringify(bot));\n};\n\nexport const getBotSession = () => JSON.parse(localStorage.getItem('bot'));\n\nexport const getViewType = () => localStorage.getItem('viewType');\n\nexport const getPlatform = () => localStorage.getItem('platform');\n\nexport const setPlatForm = platform =>\n localStorage.setItem('platform', platform);\n\nexport const setViewType = viewType => {\n localStorage.setItem('viewType', viewType);\n};\n\nexport const fetchBotDetails = async (sentinel, jid, token) => {\n try {\n const res = await apiService.getBotDetails(sentinel, jid, token);\n if (\n !res.data.success ||\n !res.data.report[0] ||\n !res.data.report[0].context\n ) {\n throw new Error(GET_DATA_ERROR);\n }\n return res.data.report;\n } catch (error) {\n throw new Error(error.message);\n }\n};\n\nexport const getBotIntegrations = async (sentinel, jid, token) => {\n try {\n const res = await apiService.getIntegration(sentinel, jid, token);\n const integrationData = res.data.report;\n const dataArr = integrationData.flatMap(item => {\n return item\n .flatMap(i => {\n if (i.context.identifier && i.context.settingsobj) {\n return {\n identifier: i.context.identifier,\n type: i.context.int_type || i.context.type,\n id: i.jid,\n path: i.context.path,\n settings: i.context.settingsobj,\n statistics: i.statistics,\n status: i.context.status,\n };\n }\n return null;\n })\n .filter(i => i);\n });\n return reverse(dataArr);\n } catch (error) {\n throw new Error(error);\n }\n};\n","export const MESSENGER_API_VERSION = 'v17.0';\nexport const AUTHENTICATED_PAYLOAD_COMMENT = ` // You can set true/false here if you want to authenticate your request`;\nexport const ASYNC_PAYLOAD_COMMENT = ` // You can set true/false here if you want to user typing experience enable.`;\n\nexport const INTEGRATIONS_CONTAINER_NAME = 'integrations';\n","import { getPlatform } from 'services/bots.service';\nimport { cssVariables } from 'styles/root';\nimport { MESSENGER_API_VERSION } from './integration';\n\nconst platform = getPlatform();\n\nexport const DEFAULT_WIDGET_WELCOME_MESSAGE = `Hi there! Ask me a question and I'll find the answer for you.`;\n\nconst DEMO_FIELDS_PLACEHOLDER = {\n maxUnlike: 3,\n welcomeMessage: DEFAULT_WIDGET_WELCOME_MESSAGE,\n cancelledFormMessage: `You've cancelled the form. Anything else I can help you with?`,\n submittedFormMessage: `Thank you, your information has been submitted. Next available agent will connect with you shortly.`,\n handoffLabel: `Request Agent Call Back`,\n formFields: [\n {\n label: 'Name',\n attribute: 'name',\n mandatory: false,\n },\n {\n label: 'Email',\n attribute: 'email',\n mandatory: true,\n },\n {\n label: 'Phone Number',\n attribute: 'phoneNumber',\n mandatory: false,\n },\n ],\n formHeader: 'Please share your details so we can reach out to you.',\n};\nexport const DEFAULT_WIDGET_HEIGHT = '410px';\nexport const DEFAULT_WIDGET_HEIGHT_WITHOUT_PX = 410;\nexport const DEFAULT_BG = 'dummy_bg.jpg';\nexport const DEFAULT_BG_LIGHT = 'dummy_bg_light.jpg';\n\nexport const DEFAULT_MAX_INTERACTION = 3;\nexport const DEFAULT_REPLY_BUBBLE_GRADIENT = 0.15;\nexport const DEFAULT_WIDGET_VERSION = 'v1';\nexport const INTEGRATION_SETTING_PROP_TO_EXCLUDE = [\n 'initialSettings',\n 'customizerActivePanel',\n];\n\nexport const BOT_PANEL_KEY_PREFIX = 'bot-customizer-panel-';\n\nconst INITIAL_BOT_INTEGRATION_DATA = {\n identifier: '',\n type: '',\n path: '',\n settings: {\n fontSize: null,\n color: cssVariables.primaryColor,\n height: DEFAULT_WIDGET_HEIGHT,\n placeholder: 'Type your query here',\n subtitle: 'Come and Test me',\n textColor: '#fff',\n headerAvatarType: 'none',\n launcherAvatar: 'default',\n headerAvatar: null,\n responseAvatar: null,\n responseAvatarType: 'none',\n launcherAvatarType: 'icon',\n iconColor: '#E9E5E5',\n position: 'bottom-right',\n shape: 'circle',\n label: `Ask bot`,\n bubbleColor: cssVariables.primaryColor,\n bubbleGradient: DEFAULT_REPLY_BUBBLE_GRADIENT,\n autoOpen: true,\n showCloseButton: true,\n authenticatedUser: false,\n callbackEmail: !!platform && platform.includes('demo') ? false : true,\n background: 'dark',\n displayFormFields: true,\n fb_access_token: null,\n widgetVersion: DEFAULT_WIDGET_VERSION,\n fb_api_version: MESSENGER_API_VERSION,\n ...DEMO_FIELDS_PLACEHOLDER,\n },\n};\n\nexport const LAUNCHER_ONLY_AVATAR = ['default', 'icon1'];\n\nexport const AVATAR_ICON_OPTIONS = [\n 'default',\n 'icon1',\n 'icon2',\n 'icon3',\n 'icon4',\n];\n\nexport { DEMO_FIELDS_PLACEHOLDER, INITIAL_BOT_INTEGRATION_DATA };\n","import { DEFAULT_URL_OUTPUT_FIElDS, NEW_OBJECT_ITEM } from 'constants/aiTools';\nimport { INITIAL_BOT_INTEGRATION_DATA } from 'constants/botCustomizer';\nimport { getViewType } from 'services/bots.service';\n\nconst viewType = getViewType();\n\nexport const initialCategoryModalState = {\n jid: '',\n name: '',\n color: '',\n action: '',\n isOpen: false,\n templates: [],\n errors: [],\n};\n\nexport const initialResponsePickerModalState = {\n isOpen: false,\n answers: [],\n softLink: false,\n withQuestion: false,\n botName: null,\n title: null,\n similarQuestions: [],\n itemToChange: {\n question: null,\n answer: {},\n idx: null,\n },\n};\n\nexport const initialCallbackLogsState = {\n table: [],\n sessionDetails: {\n data: [],\n },\n};\n\nexport const initialAnalyticsAggregationsState = {\n allAnswersCount: 0,\n answerCountEachType: {},\n visitorCount: 0,\n sessionCount: 0,\n uniqueAnswers: 0,\n totalQuestions: 0,\n totalUniqueQuestions: 0,\n hits: 0,\n totalCorrectValidation: 0,\n totalIncorrectValidation: 0,\n categoriesFromES: [],\n integrationsFromES: [],\n tableData: {\n mostAskedQuestionData: [],\n intentsData: [],\n },\n};\n\nexport const initialAnalyticsState = {\n table: {\n allQuestions: [],\n mostAskedQuestions: [],\n intents: [],\n positiveFeedbackQuestions: [],\n negativeFeedbackQuestions: [],\n correctQuestions: [],\n incorrectQuestions: [],\n },\n aggregations: initialAnalyticsAggregationsState,\n};\n\nexport const initialAnswerEditorModalState = {\n isOpen: false,\n answerTab: null,\n questionsTab: null,\n insightsTab: {\n aggregations: null,\n graph: null,\n table: null,\n },\n isCreateMode: false,\n};\n\nexport const initialFileEditorModalState = {\n isOpen: false,\n file: null,\n};\n\nexport const initialWebsitEditorModalState = {\n isOpen: false,\n file: null,\n};\n\nexport const initialQuestionEditorModalState = {\n isOpen: false,\n text: null,\n jid: null,\n action: null,\n similarQuestions: [],\n answersWithScore: [],\n version: null,\n};\n\nexport const initialAIToolModalState = {\n isOpen: false,\n jid: null,\n parameters: NEW_OBJECT_ITEM,\n output: DEFAULT_URL_OUTPUT_FIElDS,\n name: '',\n description: '',\n version: 'draft',\n};\n\nexport const initialImageViewerModal = {\n isOpen: false,\n source: null,\n title: null,\n};\n\nexport const initialBotModalsState = {\n responsePickerModal: initialResponsePickerModalState,\n similarQuestionsModal: {\n isOpen: false,\n data: [],\n },\n answerEditorModal: initialAnswerEditorModalState,\n questionEditorModal: initialQuestionEditorModalState,\n aiToolModal: initialAIToolModalState,\n avatarPickerModal: {\n isOpen: false,\n },\n imageViewerModal: initialImageViewerModal,\n apiKeyModal: {\n isOpen: false,\n isIntegrationComponent: false,\n },\n};\n\nexport const initialWeakBotStatsState = {\n overview: true,\n};\n\nexport const initialChatAnswerInModal = {\n show: false,\n answer: {},\n question: {},\n};\n\nexport const initialChatSequenceInModal = {\n show: false,\n answer: {},\n question: {},\n};\n\nexport const initialChatSelectedSequenceInModal = {\n show: false,\n sequence: {},\n};\n\nexport const initialUIState = {\n // TODO: move other bot ui state here\n // TODO: plz use `isOpen` to show/open modals\n modals: initialBotModalsState,\n weakBotStats: initialWeakBotStatsState,\n isChatOnDevMode: false,\n isAnswerBankReady: false,\n chatAnswerInModal: initialChatAnswerInModal,\n};\n\nexport const initialWebsiteSelectedPage = {\n urlSelected: [],\n urlSelectedRowKeys: [],\n categorySelected: [],\n categorySelectedRowKeys: [],\n};\n\nexport const initialBotState = {\n aggregations: {},\n analytics: initialAnalyticsState,\n answerCount: 0,\n fileCount: 0,\n websiteCount: 0,\n answers: [],\n files: [],\n websites: [],\n questions: [],\n avatar: null,\n description: null,\n categories: [],\n chatList: [],\n createdAt: null,\n currentIntegrationSettings: {\n id: null,\n panel: {\n activePanel: 1,\n permit: 1,\n postCustomizationConfirmEditModal: {\n isOpen: false,\n editable: false,\n },\n preCustomizationConfirmEditModal: {\n isOpen: false,\n },\n },\n ...INITIAL_BOT_INTEGRATION_DATA,\n },\n defaultAnswer: [],\n integrations: [],\n jid: null,\n name: null,\n lastUpdatedAt: null,\n metadata: {},\n selectedAnswer: null,\n selectedCategory: initialCategoryModalState,\n strippedBotID: null,\n testSuites: [],\n testSuite: {\n jid: null,\n testCases: [],\n },\n totalTestSuites: null,\n totalIntegrations: null,\n hasBotError: false,\n ui: initialUIState,\n websiteSelectedPages: initialWebsiteSelectedPage,\n};\n\nexport const initialPlansAndFeatures = {\n free: {},\n basic: {},\n advanced: {},\n};\n\nexport const initialPlanState = {\n export_import: false,\n payment_status: '',\n user_type: 'free',\n plan_type: 'free',\n customer_id: null,\n customer: {\n id: null,\n cards: [],\n },\n subscription: null,\n lastPaymentError: null,\n current_bot_count: 0,\n onboarding_flag: [],\n max_ans_count: 10,\n max_test_cases: 5,\n max_test_suite: 1,\n max_bot_count: 1,\n current_transaction_count: 0,\n max_txn_count: 1000,\n last_reset_date: '06/25/2021',\n payment_methods: [],\n payments: [],\n plansAndFeatures: initialPlansAndFeatures,\n invoices: [],\n showFirstLoginPlan: false,\n};\n\nexport const initialUserState = {\n email: '',\n is_superuser: false,\n is_activated: false,\n name: 'Guest',\n password: '',\n firstName: 'Guest',\n};\n\nexport const initialAdminState = {\n is_impersonating: false,\n impersonated_user: {},\n all_users: [],\n all_global_vars: [],\n networkData: {},\n showDigraph: false,\n};\n\nexport const initialWSState = {\n channel: null,\n askQuestionActions: [],\n askQuestionActiveAction: null,\n};\n\nexport const initialState = {\n isAuthenticated: false,\n isExternalPage: Boolean(localStorage.getItem('external')) || false,\n token: null,\n user: initialUserState,\n sentinel: null,\n featureFlags: {},\n graph: null,\n bots: [],\n bot: initialBotState,\n tempBot: null,\n viewType: viewType || 'gridview',\n error: null,\n messengerCallback: null,\n messengerApi: {},\n publicKey: null,\n pubAskedQuestion: null,\n plan: initialPlanState,\n categoryTemplates: [],\n hasLogout: false,\n webSocket: initialWSState,\n admin: initialAdminState,\n layout: {\n initialized: false,\n botModal: {\n visible: false,\n },\n isMobileView: false,\n standardFontSize: '1rem',\n },\n};\n","export const PERFORMANCE_METRICS_DEFAULT_ANSWERS = 'default-answers';\nexport const PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS = 'negative-feedback';\nexport const PERFORMANCE_METRICS_INCORRECT_QUESTIONS = 'incorrect-questions';\nexport const INCORRECT_QUESTIONS = 'incorrect-questions';\nexport const CORRECT_QUESTIONS = 'correct-questions';\nexport const QUESTION_LOGS = 'question-log';\nexport const MOST_ASKED_QUESTION = 'most-asked-question';\nexport const INTENTS = 'intents';\nexport const QUESTION_WITH_POSITIVE_FEEDBACK =\n 'questions-with-positive-feedback';\nexport const QUESTION_WITH_NEGATIVE_FEEDBACK =\n 'questions-with-negative-feedback';\n\nexport const PERFORMANCE_METRICS_DEFAULT_ANSWER_SLUG = `#${PERFORMANCE_METRICS_DEFAULT_ANSWERS}`;\nexport const PERFORMANCE_METRICS_INCORRECT_QUESTIONS_SLUG = `#${PERFORMANCE_METRICS_INCORRECT_QUESTIONS}`;\nexport const PERFORMANCE_METRICS_NEGATIVE_FEEDBACK_SLUG = `#${PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS}`;\nexport const PERFORMANCE_METRICS_PATH_PREFIX = 'performance-metrics';\nexport const PERFORMANCE_METRICS_HASH = '#performance-metrics';\n\nexport const TABLE_VIEW_QUERY = '?tableView=';\n\nexport const TOOLTIPS = {\n CSAT_SCORE:\n 'This counts the thumbs up and thumbs down feedback on the session. CSAT Score is computed based on Total Questions Asked less Total no. of thumbs down over Total Questions Asked.',\n FALLBACK_ANSWER:\n 'This counts the number of Fallback Response is displayed on the interaction. Containment Rate is computed based on Total Questions Asked less Total no. of Fallback Answers Called over Total Questions Asked.',\n QUESTIONS_ASKED:\n 'This counts the number of questions a user/visitor asks the bot.',\n VISITORS:\n 'This counts the number of visitors that access the bot. (per device)',\n SESSIONS: 'This counts the number of sessions the user access the bot.',\n VALIDATIONS_CORRECT: 'This counts the correct questions.',\n VALIDATIONS_INCORRECT: 'This counts the incorrect questions.',\n CORRECT_QUESTIONS_FILTER_ICON: 'Click to show Correct Questions only',\n INCORRECT_QUESTIONS_FILTER_ICON: 'Click to show Incorrect Questions only',\n DEFAULT_ANSWERT: 'This counts the number of default answers called.',\n NEGATIVE_FEEDBACK: 'This counts the number of negative feedbacks.',\n};\n\nexport const TABLE_VIEW = {\n QUESTION_LOGS_LIST: [\n {\n value: 'Question Log',\n key: QUESTION_LOGS,\n },\n {\n value: 'Most Asked Questions',\n key: MOST_ASKED_QUESTION,\n },\n {\n value: 'Intents',\n key: INTENTS,\n },\n {\n value: 'Questions with Positive Feedback',\n key: QUESTION_WITH_POSITIVE_FEEDBACK,\n },\n {\n value: 'Questions with Negative Feedback',\n key: QUESTION_WITH_NEGATIVE_FEEDBACK,\n },\n {\n value: 'Correct Questions',\n key: CORRECT_QUESTIONS,\n },\n {\n value: 'Incorrect Questions',\n key: INCORRECT_QUESTIONS,\n },\n ],\n KEY_METRICS_LIST: [\n {\n value: 'Default Answers',\n key: PERFORMANCE_METRICS_DEFAULT_ANSWERS,\n },\n {\n value: 'Negative Feedback',\n key: PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS,\n },\n {\n value: 'Incorrect Audit Result',\n key: PERFORMANCE_METRICS_INCORRECT_QUESTIONS,\n },\n ],\n};\n","import { QUESTION_LOGS } from 'constants/analytics';\nimport moment from 'moment';\n\nexport const getGraphTimeInterval = (startDate, endDate) => {\n var validStartDate = new Date(\n new Date(startDate).setHours(0, 0, 0, 0)\n ).toISOString();\n var validEndDate = new Date(\n new Date(endDate).setHours(23, 59, 59, 59)\n ).toISOString();\n\n const dateInterval = Math.abs(\n moment(validStartDate).diff(validEndDate, 'days')\n );\n\n if (dateInterval < 6) {\n return '1h';\n } else if (dateInterval >= 6 && dateInterval < 20) {\n return '5h';\n } else if (dateInterval >= 21 && dateInterval < 150) {\n return '1d';\n } else if (dateInterval >= 150 && dateInterval < 365) {\n return '7d';\n } else if (dateInterval <= 365 && dateInterval < 366) {\n return '31d';\n } else {\n return '1d';\n }\n};\n\nexport const extraAnswersFromESHits = ESAnswer => {\n return {\n jid: ESAnswer.id,\n show_html: ESAnswer.show_html,\n show_text: ESAnswer.show_text,\n text: ESAnswer.text,\n type: ESAnswer.type,\n };\n};\n\nexport const extractESAnalyticsData = dataArray => {\n return (dataArray || []).map((hit, key) => {\n const {\n datetime,\n feedback,\n log_type,\n metadata,\n question,\n validation,\n answer,\n category,\n sequence,\n } = hit._source;\n return {\n answer,\n channel: metadata?.channel,\n date: datetime,\n feedback,\n key,\n logType: log_type,\n question,\n interactionID: metadata?.interaction_id,\n sessionID: metadata?.session_id,\n visitorID: metadata?.visitor_id,\n isAuthenticated: metadata?.isAuthenticated,\n questionID: hit?._id,\n validation,\n category,\n intent: metadata?.openai?.intents,\n references: metadata?.openai?.references,\n sentiments: metadata?.openai?.sentiments,\n named_entities: metadata?.openai?.named_entities,\n detected_language: metadata?.openai?.detected_language,\n target_language: metadata?.openai?.target_language,\n translation: metadata?.openai?.translation,\n translation_messages: metadata?.openai?.translation_messages,\n asking_messages: metadata?.openai?.asking_messages,\n sequence,\n };\n });\n};\n\nexport const isElasticAggregationsEmpty = data => {\n const { hits } = data;\n if (!hits?.hits?.length && !hits?.total?.value) {\n return true;\n }\n return false;\n};\n\nexport const getAnalyticsCategoryFilterLink = category => {\n return `analytics?category=${category}#${QUESTION_LOGS}`;\n};\n\nexport const getAnalyticsIntegrationFilterLink = integration => {\n return `analytics?integration=${integration}#${QUESTION_LOGS}`;\n};\n","import moment from 'moment';\nimport { camelCase } from 'lodash';\n\nimport { extractESAnalyticsData, getGraphTimeInterval } from 'utils/analytics';\nimport { initialAnalyticsState } from 'store/initialState';\n\nexport const initialAnswerCountEachType = {\n defaultAnswerCount: 0,\n openAIAnswerCount: 0,\n answerCount: 0,\n fileCount: 0,\n websiteCount: 0,\n};\n\nexport const createESAggregationsData = ESdata => {\n const { aggregations, hits } = ESdata;\n\n // sum of each answer type ['default_answer', 'answer', 'openai_answer']\n const answerCountEachType = (\n aggregations?.default_count?.buckets || []\n ).reduce(\n (result, item) => {\n const key = `${camelCase(item.key)}Count`;\n if (result.hasOwnProperty(key)) {\n result[key] += item.doc_count;\n }\n return result;\n },\n { ...initialAnswerCountEachType }\n );\n\n const totalHits = hits?.hits?.length || 0;\n const isNoUniqueQuesiton =\n !aggregations?.question_count?.buckets ||\n aggregations?.question_count?.value === 0 ||\n !aggregations?.question_count?.value;\n\n if (!aggregations) {\n return {\n ...initialAnalyticsState.aggregations,\n hits: totalHits,\n answerCountEachType,\n };\n } else {\n const allAnswersCount = aggregations?.answer_count?.buckets?.length || 0;\n const visitorCount = aggregations?.visitor_count?.value || 0;\n const sessionCount = aggregations?.session_count?.value || 0;\n const uniqueAnswers = aggregations?.unique_answers?.value || 0;\n const uniqueIntentCount = aggregations?.intents?.buckets?.length || 0;\n const totalQuestions = Number(hits.total?.value) || 0;\n const totalIntentCount = (aggregations?.intents?.buckets || []).reduce(\n (sum, item) => {\n return sum + item.doc_count;\n },\n 0\n );\n\n const categories = (aggregations.categories?.buckets || []).map(\n category => ({\n label: category.key[1],\n value: category.key[1],\n key: category.key[0],\n })\n );\n const integrations = (aggregations.integrations?.buckets || []).map(\n integration => ({\n label: integration.key[1],\n value: integration.key[1],\n key: integration.key[0],\n })\n );\n\n const totalUniqueQuestions = isNoUniqueQuesiton\n ? 0\n : aggregations?.question_count?.buckets?.length;\n\n const totalCorrectValidation =\n (aggregations?.validation_count?.buckets || []).filter(\n value => value.key === 1\n )[0]?.doc_count || 0;\n\n const totalIncorrectValidation =\n (aggregations?.validation_count?.buckets || [])?.filter(\n value => value.key === 0\n )[0]?.doc_count || 0;\n\n const totalLikes =\n (aggregations?.feedback_count?.buckets || []).find(i => i.key === 1)\n ?.doc_count || 0;\n\n const totalDislikes =\n (aggregations?.feedback_count?.buckets || []).find(i => i.key === 0)\n ?.doc_count || 0;\n\n // (Questions Asked - Fallback) / Questions Asked\n const containmentRate =\n ((totalQuestions - answerCountEachType?.defaultAnswerCount || 0) /\n totalQuestions) *\n 100;\n // (Questions Asked - Thumbs Down) / Questions Asked\n const CSATScore = ((totalQuestions - totalDislikes) / totalQuestions) * 100;\n\n const positiveFeedback =\n (totalLikes * 100) / (totalLikes + totalDislikes) || 0;\n\n const negativeFeedback =\n (totalDislikes * 100) / (totalLikes + totalDislikes) || 0;\n\n const neutral =\n ((totalLikes + totalDislikes - (totalLikes + totalDislikes)) * 100) /\n (totalLikes + totalDislikes) || 0;\n\n const defaultAnswerPercentage = totalHits\n ? (answerCountEachType?.defaultAnswerCount * 100) / totalHits\n : 0;\n\n // FIXME: unverified calculation\n const uniqueAnswersPercentage = totalHits\n ? String((uniqueAnswers * 100) / totalHits) + '%'\n : '0%';\n\n const feedbackSummary =\n CSATScore > 50 ? 'positive' : CSATScore < 50 ? 'negative' : 'neutral';\n\n const mostAskedQuestionData = !aggregations?.question_count?.buckets?.length\n ? []\n : // used `arrayData` + `|| []` fallback\n // to make sure it returns an array whether arrayData exists or not\n (aggregations?.question_count?.buckets || []).map((item, key) => {\n return {\n count: item.doc_count,\n question: item.key,\n key,\n };\n });\n\n const intentsData = !aggregations?.intents?.buckets?.length\n ? []\n : (aggregations?.intents?.buckets || []).map((item, key) => {\n return {\n count: item.doc_count,\n intents: item.key,\n key,\n };\n });\n\n return {\n allAnswersCount,\n visitorCount,\n sessionCount,\n uniqueAnswers,\n totalQuestions,\n totalUniqueQuestions,\n hits: totalHits,\n totalCorrectValidation,\n totalIncorrectValidation,\n likes: totalLikes,\n dislikes: totalDislikes,\n containmentRate: containmentRate\n ? containmentRate.toFixed(1) + '%'\n : '0%',\n csatScore: CSATScore ? CSATScore.toFixed(1) + '%' : '0%',\n feedbackSummary,\n uniqueAnswersPercentage,\n positiveFeedback,\n negativeFeedback,\n neutral,\n defaultAnswerPercentage,\n answerCountEachType,\n uniqueIntentCount,\n totalIntentCount,\n categoriesFromES: categories,\n integrationsFromES: integrations,\n tableData: {\n mostAskedQuestionData,\n intentsData,\n },\n };\n }\n};\n\nexport const getESChartData = (startDate, endDate, ESData) => {\n const { aggregations } = ESData;\n const { buckets } = aggregations?.question_count;\n const dateInterval = getGraphTimeInterval(startDate, endDate);\n const dateFormat =\n dateInterval === '1h' || dateInterval === '5h'\n ? `MMMM DD YYYY, h:mm a`\n : `MMMM DD YYYY`;\n\n const chartData = (buckets || []).map(data => {\n return {\n date: moment(data.key_as_string).format(dateFormat),\n count: data.doc_count,\n };\n });\n\n return chartData;\n};\n\nexport const createESAnalyticsTableData = data => {\n const { hits } = data;\n\n const positiveFb = (hits?.hits || []).filter(i => i._source.feedback === 1);\n const negativeFb = (hits?.hits || []).filter(i => i._source.feedback === 0);\n const allQuestionData = extractESAnalyticsData(hits?.hits || []);\n const correctQuestions = (allQuestionData || []).filter(\n i => i.validation === 1\n );\n const incorrectQuestions = (allQuestionData || []).filter(\n i => i.validation === 0\n );\n\n const allPositiveFeedback = extractESAnalyticsData(positiveFb);\n\n const allNegativeFeedback = extractESAnalyticsData(negativeFb);\n\n return {\n allQuestions: allQuestionData,\n correctQuestions,\n incorrectQuestions,\n negativeFeedbackQuestions: allNegativeFeedback,\n positiveFeedbackQuestions: allPositiveFeedback,\n };\n};\n\nexport const convertUndefinedToNoneWithTextValue = data => {\n if (Array.isArray(data)) {\n return data.map(i => {\n return {\n text: !i || i === 'undefined' ? 'None' : i,\n value: i,\n };\n });\n }\n return {\n text: !data || data === 'undefined' ? 'None' : data,\n value: data,\n };\n};\n\nexport const updateAnalyticsTableQuestionValidation = (\n allQuestions,\n questionToUpdate\n) => {\n const { source_id, validation } = questionToUpdate;\n\n return allQuestions.map(question => {\n if (question.questionID === source_id) {\n return {\n ...question,\n validation,\n };\n }\n return question;\n });\n};\n\nexport const getIfUpdatedQuestionPreviousValidation = (\n allQuestions,\n questionToUpdate\n) => {\n const { source_id } = questionToUpdate;\n\n return allQuestions.some(question => {\n return (\n question.questionID === source_id &&\n question.validation !== -1 &&\n typeof question.validation !== 'undefined'\n );\n });\n};\n\nexport const updateAnalyticsAggregationsValidation = (\n aggregations,\n validation,\n hasPreviousValidation\n) => {\n const totalCorrectValidation =\n hasPreviousValidation && validation === 0\n ? aggregations.totalCorrectValidation - 1\n : validation === 1\n ? aggregations.totalCorrectValidation + 1\n : aggregations.totalCorrectValidation;\n const totalIncorrectValidation =\n hasPreviousValidation && validation === 1\n ? aggregations.totalIncorrectValidation - 1\n : validation === 0\n ? aggregations.totalIncorrectValidation + 1\n : aggregations.totalIncorrectValidation;\n return {\n ...aggregations,\n totalCorrectValidation,\n totalIncorrectValidation,\n };\n};\n","import { isEmpty } from 'lodash';\nimport ROUTES from 'constants/routes';\nimport { stripUUID } from 'utils';\nimport {\n INCORRECT_QUESTIONS,\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS,\n PERFORMANCE_METRICS_DEFAULT_ANSWERS,\n TABLE_VIEW_QUERY,\n PERFORMANCE_METRICS_HASH,\n} from 'constants/analytics';\n\nexport const getBotJIDFromPath = (jid, search) => {\n const uuidPrefix = 'urn:uuid:';\n const query = new URLSearchParams(search);\n const botJIDParam = query.get('bot');\n const botJID = jid || botJIDParam?.split(uuidPrefix)?.pop();\n return botJID;\n};\n\nexport const getCurrentBotDetailsPage = (jid, page) => {\n return `${ROUTES.BOT_DETAILS}/${stripUUID(jid)}${page}`;\n};\n\nconst getRedirectPath = (jid, redirect) => {\n switch (redirect) {\n case PERFORMANCE_METRICS_DEFAULT_ANSWERS:\n return `${ROUTES.BOT_DETAILS}/${jid}/analytics${TABLE_VIEW_QUERY}${PERFORMANCE_METRICS_DEFAULT_ANSWERS}${PERFORMANCE_METRICS_HASH}`;\n case INCORRECT_QUESTIONS:\n return `${ROUTES.BOT_DETAILS}/${jid}/analytics${TABLE_VIEW_QUERY}${INCORRECT_QUESTIONS}${PERFORMANCE_METRICS_HASH}`;\n case PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS:\n return `${ROUTES.BOT_DETAILS}/${jid}/analytics${TABLE_VIEW_QUERY}${PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS}${PERFORMANCE_METRICS_HASH}`;\n // default to negative feedback\n default:\n return `${ROUTES.BOT_DETAILS}/${jid}/analytics${TABLE_VIEW_QUERY}${PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS}${PERFORMANCE_METRICS_HASH}`;\n }\n};\n\nexport const botStatistics = (data, botJID) => {\n if (!data) {\n return {\n isWeakBot: false,\n redirect: null,\n weakBotMessage: null,\n totalQuestions: 0,\n };\n }\n\n let isWeakBot = false;\n const strippedJID = stripUUID(botJID || data.jid);\n let redirect = getRedirectPath(strippedJID);\n let totalQuestions = 0;\n\n let weakBotMessage = [];\n if (data === undefined || isEmpty(data.statistics)) {\n return false;\n } else {\n const { default_answer, incorrect, negativeFeedback, total } =\n data.statistics;\n const fallbackAnswerThreshold = total * 0.3;\n const negativeFeedbackThreshold = total * 0.3;\n const incorrectAnswerThreshold = total * 0.1;\n\n if (incorrect > incorrectAnswerThreshold) {\n isWeakBot = true;\n totalQuestions = data.statistics?.incorrect;\n redirect = getRedirectPath(strippedJID, INCORRECT_QUESTIONS);\n weakBotMessage.push(\"The bot doesn't have answer to user queries.\");\n }\n if (default_answer > fallbackAnswerThreshold) {\n isWeakBot = true;\n totalQuestions = data.statistics?.default_answer;\n redirect = getRedirectPath(\n strippedJID,\n PERFORMANCE_METRICS_DEFAULT_ANSWERS\n );\n weakBotMessage.push('Users are unhappy with bot response.');\n }\n if (negativeFeedback > negativeFeedbackThreshold) {\n isWeakBot = true;\n totalQuestions = data.statistics?.negativeFeedback;\n redirect = getRedirectPath(\n strippedJID,\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS\n );\n weakBotMessage.push('Unable to answer the questions correctly.');\n }\n }\n return {\n isWeakBot,\n redirect,\n totalQuestions,\n weakBotMessage,\n };\n};\n","import { DEFAULT_BOT_MODE } from 'constants/bot';\nimport { botStatistics } from 'utils/bot';\nimport { isAnObject } from 'utils/dataTypes';\n\nexport const extractBotData = botData => {\n if (!isAnObject(botData) || !isAnObject(botData.context)) {\n return {};\n }\n const { context, jid, statistics } = botData;\n return {\n jid: jid,\n name: typeof context.name === 'string' ? context.name : '',\n description: context.description,\n metadata: context.metadata || {},\n avatar:\n typeof context.name === 'string' ? context.name.substring(0, 2) : null,\n answerCount: context.answer_count || 0,\n fileCount: context.file_count || 0,\n websiteCount: context.website_count || 0,\n createdAt: context.created_time,\n lastUpdatedAt: context.last_updated_time,\n mailConfig: context?.mail_config || {},\n statistics: statistics || {},\n isWeak: botStatistics(botData).isWeakBot,\n showWeakStat: botStatistics(botData).isWeakBot,\n mode: context?.mode || DEFAULT_BOT_MODE,\n persona: context?.persona,\n retrievalCount: context?.max_candidate,\n useOpenAI: context?.use_openai,\n autoTranslateResponse: context?.auto_translate_response,\n syncedDate: context?.synced_date,\n syncedPoint: context?.synced_point,\n syncedIndex: context?.synced_index,\n language: context?.language,\n synced: context?.synced,\n shouldSendCallbackLog: Boolean(context?.mail_config?.enabled),\n };\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nconst StyleDefaultIcon = styled.svg`\n width: ${props => props.width};\n height: ${props => props.height};\n`;\nconst DefaultIcon = ({ width, height, viewbox, iconColor }) => {\n return (\n \n \n \n );\n};\n\nDefaultIcon.propTypes = {\n width: PropTypes.string,\n height: PropTypes.string,\n viewbox: PropTypes.string,\n iconColor: PropTypes.string,\n};\n\nexport default DefaultIcon;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nconst StyleIcon1 = styled.svg`\n width: ${props => props.width};\n height: ${props => props.height};\n`;\nconst Icon1 = ({ width, height, viewbox, iconColor }) => {\n return (\n \n \n \n );\n};\n\nIcon1.propTypes = {\n width: PropTypes.string,\n height: PropTypes.string,\n viewbox: PropTypes.string,\n iconColor: PropTypes.string,\n};\n\nexport default Icon1;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nconst StyleIcon2 = styled.svg`\n width: ${props => props.width};\n height: ${props => props.height};\n`;\nconst Icon2 = ({ width, height, viewbox, iconColor }) => {\n return (\n \n \n \n \n \n \n );\n};\n\nIcon2.propTypes = {\n width: PropTypes.string,\n height: PropTypes.string,\n viewbox: PropTypes.string,\n iconColor: PropTypes.string,\n};\n\nexport default Icon2;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nconst StyleIcon3 = styled.svg`\n width: ${props => props.width};\n height: ${props => props.height};\n`;\nconst Icon3 = ({ width, height, viewbox, iconColor }) => {\n return (\n \n \n \n );\n};\n\nIcon3.propTypes = {\n width: PropTypes.string,\n height: PropTypes.string,\n viewbox: PropTypes.string,\n iconColor: PropTypes.string,\n};\n\nexport default Icon3;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nconst StyleIcon4 = styled.svg`\n width: ${props => props.width};\n height: ${props => props.height};\n`;\nconst Icon4 = ({ width, height, viewbox, iconColor }) => {\n return (\n \n \n \n );\n};\n\nIcon4.propTypes = {\n width: PropTypes.string,\n height: PropTypes.string,\n viewbox: PropTypes.string,\n iconColor: PropTypes.string,\n};\n\nexport default Icon4;\n","import DefaultIcon from './svg/DefaultIcon';\nimport Icon1 from './svg/Icon1';\nimport Icon2 from './svg/Icon2';\nimport Icon3 from './svg/Icon3';\nimport Icon4 from './svg/Icon4';\n\nconst icon1 = (iconColor, headerTitle) => {\n const createdDiv = document.createElement('div');\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttributeNS(null, 'viewBox', '0 0 21 27');\n svg.setAttributeNS(null, 'width', '35');\n svg.setAttributeNS(null, 'height', '35');\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path.setAttributeNS(\n null,\n 'd',\n 'M20.9111 13.861C21.6222 12.6502 22 11.2601 22 9.84753C22 5.52018 18.5111 2 14.2222 2C9.93333 2 6.44444 5.52018 6.44444 9.84753C6.44444 10.3184 6.48889 10.7892 6.57778 11.2601C4 11.6188 2 13.8834 2 16.574C2 17.5157 2.24444 18.4574 2.71111 19.2646L2.11111 21.417C2.06667 21.574 2.11111 21.7534 2.22222 21.8655C2.31111 21.9552 2.42222 22 2.53333 22C2.57778 22 2.62222 22 2.66667 21.9776L4.86667 21.3274C5.62222 21.7309 6.48889 21.9552 7.35556 21.9552C9.97778 21.9552 12.1778 20.0269 12.6 17.5157C13.1333 17.6278 13.6667 17.6951 14.2444 17.6951C15.5333 17.6951 16.8222 17.3587 17.9556 16.7534L21.3333 17.7399C21.3778 17.7623 21.4222 17.7623 21.4667 17.7623C21.5778 17.7623 21.6889 17.7175 21.7778 17.6278C21.8889 17.5157 21.9333 17.3363 21.8889 17.1794L20.9111 13.861ZM7.33333 21.0583C6.55556 21.0583 5.8 20.8565 5.11111 20.4753C5.04444 20.4305 4.97778 20.4081 4.88889 20.4081C4.84444 20.4081 4.8 20.4081 4.75556 20.4305L3.15556 20.9013L3.6 19.3543C3.64444 19.2422 3.62222 19.1076 3.55556 18.9955C3.11111 18.278 2.86667 17.4484 2.86667 16.5964C2.86667 14.3094 4.57778 12.426 6.75556 12.157C7.48889 14.5785 9.33333 16.4843 11.6889 17.2915C11.3778 19.4215 9.55556 21.0583 7.33333 21.0583ZM18 15.8341C17.8889 15.7892 17.7556 15.8117 17.6667 15.8789C16.6222 16.4843 15.4444 16.7982 14.2444 16.7982C10.4444 16.7982 7.35556 13.6816 7.35556 9.84753C7.35556 6.01345 10.4444 2.89686 14.2444 2.89686C18.0444 2.89686 21.1333 6.01345 21.1333 9.84753C21.1333 11.1704 20.7556 12.4484 20.0667 13.5695C20 13.6816 19.9778 13.8161 20.0222 13.9283L20.8 16.6413L18 15.8341ZM17.0889 7.9417C17.2444 9.37668 16.3778 10.6771 15 11.0807C14.8 11.148 14.6667 11.3049 14.6667 11.5067V12.0673C14.6667 12.3139 14.4667 12.5157 14.2222 12.5157C13.9778 12.5157 13.7778 12.3139 13.7778 12.0673V11.5067C13.7778 11.4619 13.7778 11.4395 13.7778 11.3946C13.8222 10.8341 14.2 10.3632 14.7556 10.2063C15.6889 9.93722 16.3111 9.01794 16.2 8.03139C16.0889 7.11211 15.3556 6.34978 14.4444 6.26009C13.8667 6.19283 13.3111 6.3722 12.8889 6.75336C12.4667 7.13453 12.2222 7.69507 12.2222 8.25561C12.2222 8.41256 12.1333 8.54709 12.0222 8.63677C11.9556 8.68161 11.8667 8.70404 11.7778 8.70404C11.5333 8.70404 11.3333 8.50224 11.3333 8.25561C11.3333 7.42601 11.6889 6.64126 12.2889 6.08072C12.9111 5.52018 13.7333 5.27354 14.5333 5.36323C15.8667 5.52018 16.9556 6.61883 17.0889 7.9417ZM14.5333 13.5695C14.6222 13.6592 14.6667 13.7713 14.6667 13.8834C14.6667 13.9955 14.6222 14.1076 14.5333 14.1973C14.4444 14.287 14.3333 14.3318 14.2222 14.3318C14.1111 14.3318 14 14.287 13.9111 14.1973C13.8222 14.1076 13.7778 13.9955 13.7778 13.8834C13.7778 13.7713 13.8222 13.6592 13.9111 13.5695C14.0667 13.3901 14.3778 13.3901 14.5333 13.5695Z'\n );\n path.setAttributeNS(null, 'fill', iconColor);\n svg.appendChild(path);\n svg.classList.add('headerLogo');\n svg.style.marginRight = '2%';\n svg.style.float = 'left';\n svg.style.height = '80px';\n svg.style.width = '80px';\n createdDiv.appendChild(svg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n return headerTitle;\n};\n\nconst icon2 = (iconColor, headerTitle) => {\n const createdDiv = document.createElement('div');\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttributeNS(null, 'viewBox', '0 0 21 27');\n svg.setAttributeNS(null, 'width', '35');\n svg.setAttributeNS(null, 'height', '35');\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path.setAttributeNS(\n null,\n 'd',\n 'M16.2316 6.01074H7.76843C4.58948 6.01074 2 8.60022 2 11.7792V12.2213C2 15.4002 4.58948 17.9897 7.76843 17.9897H16.2316C19.4105 17.9897 22 15.4002 22 12.2213V11.7792C22 8.60022 19.4105 6.01074 16.2316 6.01074ZM20.5474 12.2213C20.5474 14.6002 18.6105 16.5371 16.2316 16.5371H7.76843C5.38948 16.5371 3.45264 14.6002 3.45264 12.2213V11.7792C3.45264 9.40022 5.38948 7.46338 7.76843 7.46338H16.2316C18.6105 7.46338 20.5474 9.40022 20.5474 11.7792V12.2213Z'\n );\n path.setAttributeNS(null, 'fill', iconColor);\n const path2 = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path2.setAttributeNS(\n null,\n 'd',\n 'M7.34798 13.4005C8.11536 13.4005 8.73745 12.7784 8.73745 12.0111C8.73745 11.2437 8.11536 10.6216 7.34798 10.6216C6.58059 10.6216 5.9585 11.2437 5.9585 12.0111C5.9585 12.7784 6.58059 13.4005 7.34798 13.4005Z'\n );\n path2.setAttributeNS(null, 'fill', iconColor);\n const path3 = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path3.setAttributeNS(\n null,\n 'd',\n 'M11.9993 13.4005C12.7667 13.4005 13.3888 12.7784 13.3888 12.0111C13.3888 11.2437 12.7667 10.6216 11.9993 10.6216C11.2319 10.6216 10.6099 11.2437 10.6099 12.0111C10.6099 12.7784 11.2319 13.4005 11.9993 13.4005Z'\n );\n path3.setAttributeNS(null, 'fill', iconColor);\n const path4 = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path4.setAttributeNS(\n null,\n 'd',\n 'M16.6527 13.4005C17.42 13.4005 18.0421 12.7784 18.0421 12.0111C18.0421 11.2437 17.42 10.6216 16.6527 10.6216C15.8853 10.6216 15.2632 11.2437 15.2632 12.0111C15.2632 12.7784 15.8853 13.4005 16.6527 13.4005Z'\n );\n path4.setAttributeNS(null, 'fill', iconColor);\n svg.appendChild(path);\n svg.appendChild(path2);\n svg.appendChild(path3);\n svg.appendChild(path4);\n svg.classList.add('headerLogo');\n svg.style.marginRight = '2%';\n svg.style.float = 'left';\n svg.style.height = '80px';\n svg.style.width = '80px';\n createdDiv.appendChild(svg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n return headerTitle;\n};\n\nconst icon3 = (iconColor, headerTitle) => {\n const createdDiv = document.createElement('div');\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttributeNS(null, 'viewBox', '0 0 21 27');\n svg.setAttributeNS(null, 'width', '35');\n svg.setAttributeNS(null, 'height', '35');\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path.setAttributeNS(\n null,\n 'd',\n 'M20.8433 12.3889H20.3176V10.5802C20.3176 9.33944 19.3081 8.30895 18.0463 8.30895H12.7466V6.43723C13.5247 6.14281 14.0715 5.38571 14.0715 4.50243C14.0715 3.34575 13.1462 2.42041 11.9895 2.42041C10.8328 2.42041 9.90747 3.34575 9.90747 4.50243C9.90747 5.38571 10.4543 6.12178 11.2324 6.43723V8.30895H5.91167C4.67087 8.30895 3.64038 9.31841 3.64038 10.5802V12.3889H3.13565C2.50473 12.3889 2 12.8936 2 13.5245V16.1954C2 16.8263 2.50473 17.331 3.13565 17.331H3.66141V19.3079C3.66141 20.5487 4.67087 21.5792 5.9327 21.5792H18.0673C19.3081 21.5792 20.3386 20.5697 20.3386 19.3079V17.331H20.8644C21.4953 17.331 22 16.8263 22 16.1954V13.5245C21.979 12.9146 21.4742 12.3889 20.8433 12.3889ZM7.21556 13.0618C7.21556 12.1786 7.9306 11.4846 8.79285 11.4846C9.67613 11.4846 10.3701 12.1996 10.3701 13.0618C10.3701 13.9451 9.6551 14.6391 8.79285 14.6391C7.9306 14.6391 7.21556 13.9241 7.21556 13.0618ZM11.9895 19.2448C10.5594 19.2448 9.40273 18.0881 9.40273 16.6581C9.40273 16.4477 9.57098 16.3005 9.76025 16.3005H14.1977C14.408 16.3005 14.5552 16.4688 14.5552 16.6581C14.5762 18.0881 13.4196 19.2448 11.9895 19.2448ZM15.1651 14.6391C14.2818 14.6391 13.5878 13.9241 13.5878 13.0618C13.5878 12.1786 14.3028 11.4846 15.1651 11.4846C16.0273 11.4846 16.7424 12.1996 16.7424 13.0618C16.7634 13.9241 16.0484 14.6391 15.1651 14.6391Z'\n );\n path.setAttributeNS(null, 'fill', iconColor);\n svg.appendChild(path);\n svg.classList.add('headerLogo');\n svg.style.marginRight = '2%';\n svg.style.float = 'left';\n svg.style.height = '80px';\n svg.style.width = '80px';\n createdDiv.appendChild(svg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n return headerTitle;\n};\n\nconst icon4 = (iconColor, headerTitle) => {\n const createdDiv = document.createElement('div');\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttributeNS(null, 'viewBox', '0 0 21 27');\n svg.setAttributeNS(null, 'width', '35');\n svg.setAttributeNS(null, 'height', '35');\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path.setAttributeNS(\n null,\n 'd',\n 'M20.5 13.5046H20V12.5046C20 11.7089 19.6839 10.9459 19.1213 10.3832C18.5587 9.82064 17.7956 9.50457 17 9.50457H13V7.22717C13.3813 7.00703 13.6793 6.66724 13.8478 6.26048C14.0162 5.85373 14.0458 5.40275 13.9319 4.97748C13.8179 4.55221 13.5668 4.17643 13.2175 3.90841C12.8682 3.64039 12.4403 3.49512 12 3.49512C11.5597 3.49512 11.1318 3.64039 10.7825 3.90841C10.4332 4.17643 10.1821 4.55221 10.0681 4.97748C9.9542 5.40275 9.98376 5.85373 10.1522 6.26048C10.3207 6.66724 10.6187 7.00703 11 7.22717V9.50457H7C6.20435 9.50457 5.44129 9.82064 4.87868 10.3832C4.31607 10.9459 4 11.7089 4 12.5046V13.5046H3.5C3.10218 13.5046 2.72064 13.6626 2.43934 13.9439C2.15804 14.2252 2 14.6067 2 15.0046C2 15.4024 2.15804 15.7839 2.43934 16.0652C2.72064 16.3465 3.10218 16.5046 3.5 16.5046H4V17.5046C4 18.3002 4.31607 19.0633 4.87868 19.6259C5.44129 20.1885 6.20435 20.5046 7 20.5046H17C17.7956 20.5046 18.5587 20.1885 19.1213 19.6259C19.6839 19.0633 20 18.3002 20 17.5046V16.5046H20.5C20.8978 16.5046 21.2794 16.3465 21.5607 16.0652C21.842 15.7839 22 15.4024 22 15.0046C22 14.6067 21.842 14.2252 21.5607 13.9439C21.2794 13.6626 20.8978 13.5046 20.5 13.5046ZM19 17.5046C18.9994 18.0348 18.7885 18.5432 18.4136 18.9181C18.0386 19.2931 17.5302 19.504 17 19.5046H7C6.46975 19.504 5.9614 19.2931 5.58646 18.9181C5.21152 18.5432 5.00061 18.0348 5 17.5046V12.5046C5.0006 11.9743 5.2115 11.466 5.58645 11.091C5.96139 10.7161 6.46975 10.5052 7 10.5046H17C17.5303 10.5052 18.0386 10.7161 18.4136 11.091C18.7885 11.4659 18.9994 11.9743 19 12.5046V17.5046ZM10 15.0046C10 15.3012 9.91203 15.5912 9.7472 15.8379C9.58238 16.0846 9.34811 16.2769 9.07403 16.3904C8.79994 16.5039 8.49834 16.5336 8.20736 16.4757C7.91639 16.4179 7.64912 16.275 7.43934 16.0652C7.22956 15.8554 7.0867 15.5882 7.02882 15.2972C6.97094 15.0062 7.00065 14.7046 7.11418 14.4305C7.22771 14.1565 7.41997 13.9222 7.66664 13.7574C7.91332 13.5925 8.20333 13.5046 8.5 13.5046C8.89782 13.5046 9.27936 13.6626 9.56066 13.9439C9.84196 14.2252 10 14.6067 10 15.0046ZM17 15.0046C17 15.3012 16.912 15.5912 16.7472 15.8379C16.5824 16.0846 16.3481 16.2769 16.074 16.3904C15.7999 16.5039 15.4983 16.5336 15.2074 16.4757C14.9164 16.4179 14.6491 16.275 14.4393 16.0652C14.2296 15.8554 14.0867 15.5882 14.0288 15.2972C13.9709 15.0062 14.0006 14.7046 14.1142 14.4305C14.2277 14.1565 14.42 13.9222 14.6666 13.7574C14.9133 13.5925 15.2033 13.5046 15.5 13.5046C15.8978 13.5046 16.2794 13.6626 16.5607 13.9439C16.842 14.2252 17 14.6067 17 15.0046Z'\n );\n path.setAttributeNS(null, 'fill', iconColor);\n svg.appendChild(path);\n svg.classList.add('headerLogo');\n svg.style.float = 'left';\n svg.style.marginRight = '2%';\n svg.style.height = '80px';\n svg.style.width = '80px';\n createdDiv.appendChild(svg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n return headerTitle;\n};\n\nconst defaultIcon = (iconColor, headerTitle) => {\n const createdDiv = document.createElement('div');\n const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svg.setAttributeNS(null, 'viewBox', '0 0 21 27');\n svg.setAttributeNS(null, 'width', '35');\n svg.setAttributeNS(null, 'height', '35');\n const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n path.setAttributeNS(\n null,\n 'd',\n 'M25.7865398,7.37051863 C25.7865398,8.40803118 25.0432026,9.0390109 24.5004161,9.50205642 C24.2948517,9.67744388 23.9122271,9.9974623 23.9132484,10.1169975 C23.9169623,10.5858924 23.5459436,10.9603479 23.0843986,10.9603479 C23.0820775,10.9603479 23.0797563,10.9603479 23.0774351,10.9603479 C22.6191398,10.9603479 22.2457071,10.5974025 22.2419932,10.1308662 C22.2346582,9.21128497 22.8950826,8.66059289 23.4257989,8.20783098 C23.84222,7.85252751 24.1152846,7.60251311 24.1152846,7.37372636 C24.1152846,6.91058649 23.7444516,6.53377235 23.2886632,6.53377235 C22.832689,6.53377235 22.4617632,6.91058649 22.4617632,7.37372636 C22.4617632,7.84271562 22.0876806,8.22283184 21.6261356,8.22283184 C21.1645906,8.22283184 20.790508,7.84271562 20.790508,7.37372636 C20.790508,5.97421183 21.9110846,4.83556138 23.2884775,4.83556138 C24.6659632,4.83546703 25.7865398,5.97090976 25.7865398,7.37051863 Z M23.1005541,11.7441666 C22.6390091,11.7441666 22.2834031,12.1242828 22.2834031,12.5932721 L22.2834031,12.5997819 C22.2834031,13.0687712 22.639102,13.4456797 23.1005541,13.4456797 C23.5620063,13.4456797 23.9361817,13.0622614 23.9361817,12.5932721 C23.9361817,12.1242828 23.5620991,11.7441666 23.1005541,11.7441666 Z M6.2571796,17.6589411 C5.79563462,17.6589411 5.42155199,18.0390573 5.42155199,18.5080466 C5.42155199,18.9770358 5.79563462,19.357152 6.2571796,19.357152 L6.32681524,19.357152 C6.78836023,19.357152 7.16244286,18.9770358 7.16244286,18.5080466 C7.16244286,18.0390573 6.78836023,17.6589411 6.32681524,17.6589411 L6.2571796,17.6589411 Z M9.16135697,17.6589411 C8.69981198,17.6589411 8.32572935,18.0390573 8.32572935,18.5080466 C8.32572935,18.9770358 8.69981198,19.357152 9.16135697,19.357152 L9.23089975,19.357152 C9.69244474,19.357152 10.0665274,18.9770358 10.0665274,18.5080466 C10.0665274,18.0390573 9.69244474,17.6589411 9.23089975,17.6589411 L9.16135697,17.6589411 Z M33.7036473,4.09693395 L33.7036473,13.6541822 C33.7036473,15.9170483 31.9180039,17.7532861 29.6910563,17.7532861 L18.8541731,17.7532861 C18.6422951,17.7532861 18.4678346,17.7520596 18.3218783,17.7489463 C18.1689585,17.7457385 17.9968192,17.744512 17.9296904,17.7520596 C17.8597762,17.7992322 17.6883797,17.9587697 17.523204,18.1134012 C17.4577465,18.1746311 17.3836542,18.2419935 17.3037125,18.3161487 L14.2377019,21.1557461 C13.9931415,21.3824573 13.6313148,21.4411399 13.3284462,21.3054717 C13.0255776,21.1697092 12.8129568,20.8649747 12.8129568,20.5286346 L12.8129568,11.5265126 L4.05929327,11.5265126 C2.75367154,11.5265126 1.67125524,12.6136506 1.67125524,13.9401421 L1.67125524,23.4973904 C1.67125524,24.8239762 2.75376439,25.8669607 4.05929327,25.8669607 L16.1641949,25.8669607 C16.3726376,25.8669607 16.5676174,25.9642305 16.7215586,26.1070689 L19.2194352,28.4472036 L19.2194352,20.3770221 C19.2194352,19.9080328 19.5935178,19.5279166 20.0550628,19.5279166 C20.5166078,19.5279166 20.8906905,19.9080328 20.8906905,20.3770221 L20.8906905,30.3717484 C20.8906905,30.7080885 20.7012815,31.0082944 20.3983201,31.144057 C20.289967,31.1926447 20.1811498,31.2117967 20.0672259,31.2117967 C19.8625899,31.2117967 19.6607394,31.1264144 19.5037343,30.9807457 L15.84025,27.5650774 L4.05929327,27.5650774 C1.83225282,27.5650774 0,25.7602565 0,23.497296 L0,13.9401421 C0,11.677276 1.83225282,9.82830162 4.05929327,9.82830162 L12.8129568,9.82830162 L12.8129568,4.09693395 C12.8129568,1.8339735 14.6592296,0.0164160393 16.8862701,0.0164160393 L29.6911491,0.0164160393 C31.9180039,0.0164160393 33.7036473,1.8339735 33.7036473,4.09693395 Z M32.032392,4.09693395 C32.032392,2.77034816 30.9964923,1.714627 29.6910563,1.714627 L16.8862701,1.714627 C15.5807412,1.714627 14.484212,2.77034816 14.484212,4.09693395 L14.484212,10.6853321 L14.484212,18.6040898 L16.1642878,17.0612652 C16.242094,16.9890912 16.3292778,16.9230497 16.3928784,16.8634236 C17.1600774,16.1450803 17.356357,16.0302624 18.3570675,16.051207 C18.4935534,16.0541317 18.6561294,16.0551695 18.8541731,16.0551695 L29.6910563,16.0551695 C30.9964923,16.0551695 32.032392,14.980768 32.032392,13.6542766 L32.032392,4.09693395 Z'\n );\n path.setAttributeNS(null, 'fill', iconColor);\n svg.appendChild(path);\n svg.classList.add('headerLogo');\n svg.style.float = 'left';\n svg.style.marginRight = '2%';\n svg.style.height = '80px';\n svg.style.width = '80px';\n createdDiv.appendChild(svg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n return headerTitle;\n};\n\nexport const injectToDOM = {\n icon1,\n icon2,\n icon3,\n icon4,\n defaultIcon,\n};\n\nexport const generateIcon = (avatar, iconColor, width, height, viewbox) => {\n if (avatar instanceof File) {\n return avatar.url || avatar.preview;\n } else {\n switch (avatar) {\n case 'icon1':\n return (\n \n );\n case 'icon2':\n return (\n \n );\n case 'icon3':\n return (\n \n );\n case 'icon4':\n return (\n \n );\n case 'default':\n return (\n \n );\n default:\n return avatar;\n }\n }\n};\n","import { AES } from 'crypto-js';\nimport { cssVariables } from 'styles/root';\nimport { generateIcon } from 'components/BotCustomizer/iconUtils';\n\nconst ZSB_JS_FILE = process.env.REACT_APP_AZURE_BOTCLIENT_FILE;\nconst ZSB_JS_FILE_V2 = process.env.REACT_APP_AZURE_BOTCLIENT_FILE_V2;\nconst ZSB_JS_URI = process.env.REACT_APP_AZURE_BOTCLIENT_URI;\nconst ZSB_JS_TOKEN = process.env.REACT_APP_AZURE_BOTCLIENT_SAS_TOKEN;\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst INTEGRATIONS_CONTAINER_NAME = 'integrations';\n\nconst COPY_ICON = 'copy-outline.svg';\nexport const COPY_TO_CLIPBOARD_SCRIPT = `\n `;\n\nconst GREETING_MSG = `This is a demo page created by Zero Shot Bot platform.`;\nconst DEFAULT_HEADER = 'zeroshotbot-header-white-logo.svg';\nconst DEFAULT_HEADER_LIGHT = 'zeroshotbot-header-black-logo.svg';\n\nexport const BOT_SCRIPT = ``;\nexport const BOT_SCRIPT_V2 = ``;\n\nexport const generateBotHTML = (\n bgImgURL,\n zsbComponent,\n headTag,\n isCustomBg,\n isDarkBg,\n header,\n body\n) => {\n let demoHTML;\n\n const demoBodyStyle = `\n ${isCustomBg ? '' : COPY_TO_CLIPBOARD_SCRIPT}\n \n `;\n demoHTML = headTag.replace('', `$& ${demoBodyStyle}`);\n demoHTML = demoHTML.replace(\n '',\n `$& \n ${isCustomBg ? zsbComponent : header + body + zsbComponent}\n `\n );\n return demoHTML;\n};\n\nexport const generateBody = (demoLink, botName, isDarkBg) => `\n
\n
\n ${botName} Demo Website\n
\n
${GREETING_MSG}
\n \n
`;\n\nexport const generateHeader = isDarkBg =>\n `
\n \"zeroshotbot\"\n
`;\n\nexport const generateEncryptedBot = (\n jid,\n sentinel,\n url,\n publicKey,\n pubAskedQuestion\n) => {\n const botData = {\n url,\n pubAskedQuestion: {\n key: publicKey,\n nd: jid,\n wlk: pubAskedQuestion,\n snt: sentinel,\n },\n };\n\n return AES.encrypt(JSON.stringify(botData), '').toString();\n};\n\nexport const generateEncryptedWordPressBot = (\n jid,\n sentinel,\n url,\n publicKey,\n pubAskedQuestion,\n pubInfo\n) => {\n const botData = {\n url: `${AZURE_STORAGE_URI}${INTEGRATIONS_CONTAINER_NAME}/${url}`,\n key: publicKey,\n nd: jid,\n snt: sentinel,\n // CREDENTIALS FOR WIDGET ASK QUESTION\n pubAskedQuestion: {\n wlk: pubAskedQuestion,\n },\n // CREDENTIALS FOR PUBLIC APIS URL\n pubInfo: {\n wlk: pubInfo,\n },\n };\n\n return AES.encrypt(JSON.stringify(botData), '').toString();\n};\n\nexport const generateBotComponent = (\n jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n integrationData,\n integrationConfigURL,\n height,\n isMobile,\n isDemo,\n botVersion\n) => {\n const encryptedBot = generateEncryptedBot(\n jid,\n sentinel,\n integrationConfigURL,\n publicKey,\n pubAskedQuestion\n );\n const authenticatedHTMLTag = !!integrationData.settings.authenticatedUser\n ? `visitorid=$visitorID`\n : ``;\n const botComponent = isMobile\n ? `WebViewPlus(\n javascriptMode: JavascriptMode.unrestricted,\n onWebViewCreated: (controller) {\n ${\n !!integrationData.settings.authenticatedUser\n ? `final String visitorID = ModalRoute.of(context)!.settings.arguments as String;`\n : ``\n }\n final String botIntegration='${\n botVersion === 'v2' ? BOT_SCRIPT_V2 : BOT_SCRIPT\n }';\n _controller = controller;\n controller.loadString(botIntegration);\n }\n )`\n : ``;\n\n return botComponent;\n};\n\nexport const generateMobileHTMLTagHeader = integrationData => {\n return `FloatingActionButton(\n ${\n !!integrationData?.authenticatedUser\n ? ` onPressed: () => _redirectToWebViewPage(context, ),`\n : ` onPressed: () => _redirectToWebViewPage(context),`\n }\n child: SvgPicture.string('''\n ${generateIcon(integrationData.avatar, integrationData.icon)}\n ''')\n )\n ${\n !!integrationData?.authenticatedUser\n ? ` void _redirectToWebViewPage(BuildContext context, visitorID) {`\n : ` void _redirectToWebViewPage(BuildContext context) {`\n }\n Navigator.push(context,\n MaterialPageRoute(\n builder: (context) => WebViewContainer(),\n ${\n !!integrationData?.authenticatedUser\n ? `settings: RouteSettings(arguments: visitorID)`\n : ``\n }\n ));\n }`;\n};\n\nexport const generateWebHTMLTagHeader = (authenticatedUser, botVersion) => {\n return `\n \n \n \n ${botVersion === 'v2' ? BOT_SCRIPT_V2 : BOT_SCRIPT}\n ${\n !!authenticatedUser\n ? ``\n : ``\n }\n \n `;\n};\n\nexport const generateAuthenticatedUserNPMHTMLTag = authenticatedUser => {\n return authenticatedUser\n ? `useEffect(() => {\n const zsbComponent = document.querySelector('zeroshot-bot')\n zsbComponent.setAttribute('visitorID', '')\n }, []);\n \n `\n : ``;\n};\n","import { apiService } from './api.service';\nconst keys = {\n SESSION: 'Session',\n TOKEN: 'token',\n USER: 'user',\n};\n\nconst LOGIN_TOKEN_TTL_HOURS = 16;\n\nexport const setSession = session =>\n localStorage.setItem(keys.SESSION, JSON.stringify(session));\n\nexport const getSession = () => JSON.parse(localStorage.getItem(keys.SESSION));\n\nexport const setToken = token => {\n const millisecondsPerHour = 1000 * 60 * 60;\n const ttl = LOGIN_TOKEN_TTL_HOURS * millisecondsPerHour;\n if (!token) {\n return;\n }\n const now = new Date();\n\n const item = {\n value: token,\n expiry: now.getTime() + ttl,\n };\n localStorage.setItem('token', JSON.stringify(item));\n};\n\nexport const getToken = () => {\n const tokenStr = localStorage.getItem('token');\n if (!tokenStr) {\n return null;\n }\n\n const tokenObj = JSON.parse(tokenStr);\n const now = new Date();\n\n if (now.getTime() > tokenObj.expiry) {\n localStorage.removeItem('token');\n return null;\n }\n\n return tokenObj.value;\n};\n\nexport const setImpersonateUser = (masterUserND, impersonatedUserObject) => {\n localStorage.setItem('masterUserND', masterUserND);\n localStorage.setItem('impersonatedUserObject', impersonatedUserObject);\n};\n\nexport const clearImpersonatedUserObject = () => {\n localStorage.removeItem('masterUserND');\n localStorage.removeItem('impersonatedUserObject');\n};\n\nexport const authorizedGoogleAccount = async code => {\n try {\n const res = await apiService.sigInToGoogle({\n code,\n callback_url: process.env.REACT_APP_GOOGLE_LOGIN_REDIRECT_URI,\n });\n return res;\n } catch (err) {\n throw err;\n }\n};\n","import { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { DEFAULT_EDITOR } from './defaults';\n\nexport const CHAT_ERROR_REPLY = {\n jid: 'error-reply',\n show_text: DEFAULT_ERROR_MESSAGE,\n text: DEFAULT_ERROR_MESSAGE,\n qlinks: null,\n editor: DEFAULT_EDITOR,\n hitcount: 0,\n type: 'default_answer',\n categoryId: null,\n score: 0,\n quickReply: false,\n quickReplyOptions: null,\n requestAgent: false,\n};\n","export const TEST_STATUS = {\n PASSED: 'Passed',\n FAILED: 'Failed',\n EDITED: 'Edited',\n UNTESTED: 'Not Tested',\n};\n","import { TEST_STATUS } from 'constants/testSuite';\n\nexport const getTestResult = (testStatus, lastTestTime, lastUpdated) => {\n const { EDITED, PASSED, FAILED, UNTESTED } = TEST_STATUS;\n if (lastUpdated > lastTestTime && lastTestTime) {\n return EDITED;\n } else {\n switch (testStatus) {\n case 1:\n return PASSED;\n\n case 0:\n return FAILED;\n default:\n return UNTESTED;\n }\n }\n};\n\n// data => testCase data response from API\n// do not use this if data is already parsed/camelCase or is from context store\nexport const createTestCaseData = data => {\n const lastTestStatus = {\n success: 0,\n fail: 0,\n unknown: 0,\n outdated: 0,\n };\n\n const testCases = data.map(testCase => {\n const { context, jid } = testCase;\n const {\n question,\n expected_answer,\n last_actual_answer,\n last_ran_time,\n last_test_status,\n last_updated_time,\n } = context;\n\n if (\n testCase.context.last_ran_time &&\n new Date(testCase.context.last_updated_time) >\n new Date(testCase.context.last_ran_time)\n ) {\n lastTestStatus.outdated++;\n } else if (testCase.context.last_test_status === 1) {\n lastTestStatus.success++;\n } else if (testCase.context.last_test_status === 0) {\n lastTestStatus.fail++;\n } else {\n lastTestStatus.unknown++;\n }\n return {\n jid,\n key: jid,\n question,\n answer: expected_answer,\n actualAnswer: last_actual_answer,\n lastTestTime: last_ran_time,\n testStatus: last_test_status,\n lastUpdated: last_updated_time,\n testResult: getTestResult(\n last_test_status,\n last_ran_time,\n last_updated_time\n ),\n };\n });\n\n return {\n lastTestStatus,\n testCases: testCases || [],\n };\n};\n\nexport const updateTestCase = (data, currentTestCases) => {\n return currentTestCases.map(testCase => {\n if (data.jid === testCase.jid) {\n const {\n last_actual_answer,\n last_ran_time,\n last_test_status,\n last_updated_time,\n expected_answerid,\n created_time,\n } = data?.context;\n\n return {\n ...testCase,\n created_time,\n expectedAnswer: expected_answerid,\n actualAnswer: last_actual_answer,\n lastTestTime: last_ran_time,\n testStatus: last_test_status,\n testResult: getTestResult(\n last_test_status,\n last_ran_time,\n last_updated_time\n ),\n };\n }\n return testCase;\n });\n};\n\nexport const getTestCaseCurrentStatus = data => {\n const status = {\n success: 0,\n fail: 0,\n unknown: 0,\n outdated: 0,\n };\n for (const testCase of data) {\n if (\n new Date(testCase.context.last_updated_time) >\n new Date(testCase.context.last_ran_time)\n ) {\n status.outdated++;\n } else if (testCase.context.last_test_status === 1) {\n status.success++;\n } else if (testCase.context.last_test_status === 0) {\n status.fail++;\n } else {\n status.unknown++;\n }\n }\n return status;\n};\n\nexport const createTestSuiteDataFromAPI = data => {\n if (Array.isArray(data)) {\n return data.map(data => {\n return {\n jid: data.jid,\n name: data.context.name,\n lastTestRanTime: data.context.last_ran_time,\n lastTestStatus: data.context.last_result_summary,\n lastModified: data.context.last_updated_time,\n testCount: data.context.test_count,\n };\n });\n } else {\n return {\n jid: data.jid,\n name: data.context.name,\n lastTestRanTime: data.context.last_ran_time,\n lastTestStatus: data.context.last_result_summary,\n lastModified: data.context.last_updated_time,\n testCount: data.context.test_count,\n };\n }\n};\n","import { snakeCase, isEmpty } from 'lodash';\nimport { stripUUID } from 'utils';\nimport { getFileExtension, isImageOrDocFileType } from 'utils/dataTypes';\n\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst CUSTOM_AVATAR_CONTAINER_NAME = '$web';\n\n/**\n *\n * @param {object|string} image the image from file or cloud path\n * @param {string} botId current bot id\n * @param {string} imageLocation options ['background', 'launcherAvatar, 'headerAvatar', 'responseAvatar']\n * @returns folderPath in cloud (e.g. `{folder-path}/user_bg.png`)\n *\n * or returns the back `image` if image is detected to be a path\n */\nexport const getImageCloudPath = (image, botId, imageLocation) => {\n const azurefolderPath = stripUUID(botId);\n\n if (\n typeof image === 'string' &&\n isImageOrDocFileType(image) === 'image' &&\n image.includes(azurefolderPath)\n ) {\n return image;\n }\n\n // starting here image should be object type\n // or it will return `null`\n const extractedImageName =\n !isEmpty(image) &&\n typeof image?.name === 'string' &&\n isImageOrDocFileType(image.name) === 'image'\n ? image?.name\n : '';\n\n if (imageLocation?.includes('background')) {\n return `${azurefolderPath}/user_bg.${getFileExtension(extractedImageName)}`;\n }\n // util to get image cloud path during upload to azure\n // azure constainer already have the azure path\n // therefore azure storage uri is not included\n else if (\n imageLocation?.toLowerCase()?.includes('azure') &&\n imageLocation?.toLowerCase()?.includes('avatar')\n ) {\n return `${azurefolderPath}/${snakeCase(imageLocation)}.${getFileExtension(\n extractedImageName\n )}`;\n }\n // custom avatars will have full path\n // since demo background url will inherit the demo html base url\n else if (imageLocation?.toLowerCase().includes('avatar')) {\n return `${AZURE_STORAGE_URI}${CUSTOM_AVATAR_CONTAINER_NAME}/${azurefolderPath}/${snakeCase(\n imageLocation\n )}.${getFileExtension(extractedImageName)}`;\n }\n return null;\n};\n","export const API_BASE_URL = process.env.REACT_APP_API_BASE_URL;\nexport const WEBSOCKET_SUB_DIRECTORY = process.env.REACT_APP_WS_SUB_DIRECTORY;\nexport const SOCKET_URL = `${process.env.REACT_APP_WS_BASE_URL}${WEBSOCKET_SUB_DIRECTORY}`;\n\nexport const RECONNECT_INTERVAL_IN_MS = 1000;\n\nexport const RECONNECT_MESSAGE = `Socket is closed. Reconnect will be attempted in ${\n RECONNECT_INTERVAL_IN_MS / 1000\n} second.`;\n","import { isAnObject } from 'utils/dataTypes';\n\nconst extractQuestion = (context, jid, score) => {\n const currentISODate = new Date().toISOString();\n\n return {\n jid,\n text: context.text,\n type: 'question',\n linkType: context.link_type,\n score,\n lastEdited: context.last_updated_time || currentISODate,\n version: context.question_version,\n };\n};\n\nexport const extractQuestionData = question => {\n if (Array.isArray(question) && question.length) {\n return question.map(item => {\n if (item.question) {\n const { jid, context } = item.question;\n return extractQuestion(context, jid, item.score);\n } else {\n return extractQuestion(item.context, item.jid, item.score);\n }\n });\n } else if (isAnObject(question)) {\n const { jid, context } = question;\n return extractQuestion(context, jid, question.score);\n }\n};\n\nexport const pushCurrentQuestionAsTopQuestion = (\n questions,\n currentQuestionId\n) => {\n const filteredQuestions = questions\n // extract only the question entity\n .map(item => item.question)\n .filter(item => item && item.jid !== currentQuestionId)\n .filter(Boolean);\n\n const currentAnswer = questions\n .map(item => item.question)\n .find(item => item.jid === currentQuestionId);\n // postion hard link response to `questions[0]`\n // to be fetch as the `currentQuestion` on ResponsePickerModal\n return [currentAnswer, ...filteredQuestions];\n};\n","import { userReducer } from 'store/reducers/user';\nimport { adminReducer } from './admin';\nimport { botDetailsReducer } from './bot/botDetails';\nimport { botsReducer } from './bots';\nimport { initReducer } from './init';\nimport { chatListReducer } from './bot/chatlist';\nimport { planReducer } from './plan';\nimport { testSuitesReducer } from './bot/testSuites';\nimport { answersReducer } from './bot/answers';\nimport { categoriesReducer } from './bot/categories';\nimport { integrationsReducer } from './bot/integrations';\nimport { integrationSettingsReducer } from './bot/integrations/settings';\nimport { onboardingReducer } from './onboarding';\nimport { botUIReducer } from './bot/ui';\nimport { questionsReducer } from './bot/questions';\nimport { subscriptionReducer } from './subscription';\nimport { categoriesTemplatesReducer } from './categoryTemplates';\nimport { analyticsReducer } from './bot/analytics';\nimport { callbackLogsReducer } from './bot/callbackLogs';\nimport { aiToolsReducer } from './bot/aiTools';\nimport { websocketReducer } from './websocket';\nimport { invoiceReducer } from './invoice';\nimport { settingsReducer } from './bot/settings';\n\nconst combineReducers =\n (...reducers) =>\n (state, action) =>\n reducers.reduce((newState, reducer) => reducer(newState, action), state);\n\nexport const combinedReducers = combineReducers(\n initReducer,\n botsReducer,\n userReducer,\n planReducer,\n onboardingReducer,\n adminReducer,\n answersReducer,\n botDetailsReducer,\n categoriesReducer,\n chatListReducer,\n integrationsReducer,\n integrationSettingsReducer,\n testSuitesReducer,\n botUIReducer,\n questionsReducer,\n subscriptionReducer,\n categoriesTemplatesReducer,\n analyticsReducer,\n callbackLogsReducer,\n aiToolsReducer,\n websocketReducer,\n invoiceReducer,\n settingsReducer\n);\n","import { has } from 'lodash';\n\nimport { getToken } from 'services/auth.service';\nimport {\n DISMISS_FIRST_LOGIN_PLAN,\n INIT_JAC,\n INIT,\n LOAD_APPLICATION,\n SHOW_FIRST_LOGIN_PLAN,\n} from 'store/action';\nimport { initialPlanState } from 'store/initialState';\n\nexport const initReducer = (state, action) => {\n switch (action.type) {\n case INIT_JAC: {\n const token = getToken();\n const { plan, subscription, ...rest } = action.payload;\n const { features, ...restPlanProps } = plan || {};\n const featureFlags = features?.features || {};\n const { subscription: subscriptionData, ...restOfSubscriptionObj } =\n subscription || {};\n const isAuthenticated = !has(state.isAuthenticated) && !!token;\n const lastPaymentError = subscriptionData?.last_payment_error\n ? {\n ...state.lastPaymentError,\n type: subscriptionData?.last_payment_error?.error?.type,\n code: subscriptionData?.last_payment_error?.error?.code,\n cardLastDigit:\n subscriptionData?.last_payment_error?.error?.payment_method?.card\n ?.last4,\n cardBrand:\n subscriptionData?.last_payment_error?.error?.payment_method?.card\n ?.brand,\n }\n : null;\n const isExternalPage = Boolean(localStorage.getItem('external'));\n\n return {\n ...state,\n isAuthenticated,\n featureFlags,\n plan: restPlanProps || initialPlanState,\n isExternalPage,\n token,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n detailsPageReady: true,\n },\n },\n subscription: {\n ...state.subscription,\n id: subscriptionData?.id,\n trial: subscriptionData?.trial,\n isProcessing: subscriptionData?.is_processing,\n ...restOfSubscriptionObj,\n ...rest,\n },\n lastPaymentError,\n version: features.version,\n layout: {\n ...state.layout,\n initialized: true,\n },\n apiGatewayConfig: plan.apigateway_config || null,\n };\n }\n\n case INIT:\n return {\n ...state,\n plan: {\n ...state.plan,\n ...action.payload,\n },\n featureFlags: {\n ...state.featureFlags,\n ...action.payload.features.features,\n },\n version: action.payload.features.version,\n };\n\n case SHOW_FIRST_LOGIN_PLAN:\n return {\n ...state,\n plan: {\n ...state.plan,\n showFirstLoginPlan: true,\n },\n };\n\n case DISMISS_FIRST_LOGIN_PLAN:\n return {\n ...state,\n plan: {\n ...state.plan,\n showFirstLoginPlan: false,\n },\n };\n\n case LOAD_APPLICATION: {\n const {\n graph,\n sentinel,\n pubAskedQuestion,\n messengerCallback,\n pubInfo,\n ...rest\n } = action.payload;\n const token = getToken();\n const isAuthenticated = !has(state.isAuthenticated) && !!token;\n const isExternalPage = Boolean(localStorage.getItem('external'));\n\n return {\n ...state,\n graph,\n sentinel,\n pubAskedQuestion,\n messengerCallback,\n token,\n isAuthenticated,\n isExternalPage,\n pubInfo,\n ...rest,\n };\n }\n\n default:\n return state;\n }\n};\n","import {\n ADD_BOT,\n CLOSE_BOT_MODAL,\n CLOSE_WORDPRESS_MODAL,\n DELETE_BOT,\n IMPORT_BOT,\n REMOVE_WEAK_BOT_STATUS,\n SET_WS_IMPORTER_PROCESS_COMPLETED,\n SET_BOTS,\n SET_BOT_AS_WEAK_BOT,\n SET_BOT_MODES,\n SET_TEMP_BOT,\n SET_VIEW_TYPE,\n SET_WS_IMPORTER_ACTION,\n SET_WS_IMPORTER_PROGRESS_COUNT,\n SHOW_BOT_MODAL,\n UPDATE_BOT,\n UPDATE_BOT_SYNC,\n VIEW_BOT,\n WORD_PRESS_SUCCESS,\n} from 'store/action';\nimport { initialBotState } from 'store/initialState';\nimport { stripUUID } from 'utils';\nimport { getAllBotsData } from './helpers/bots';\nimport { BOT_MODES, DEFAULT_BOT_MODE } from 'constants/bot';\nimport {\n extractAnswerData,\n extractAnswerList,\n extractDefaultAnswer,\n extractFileData,\n} from './helpers/bot/answers';\nimport {\n generateAuthenticatedUserNPMHTMLTag,\n generateBotComponent,\n generateEncryptedWordPressBot,\n generateWebHTMLTagHeader,\n} from 'services/fileGenerator.service';\nimport { extractBotData } from './helpers/bot/botDetails';\nimport { botStatistics } from 'utils/bot';\n\nexport const botsReducer = (state, action) => {\n switch (action.type) {\n case SET_BOTS: {\n const { bots, order } = action.payload;\n const isExternalPage = Boolean(localStorage.getItem('external')) || false;\n\n if (!bots || !bots.length) {\n return {\n ...state,\n layout: {\n ...state.layout,\n wordPressModal: {\n visible: isExternalPage,\n },\n },\n };\n }\n\n const allBots = getAllBotsData(bots, order);\n\n return {\n ...state,\n bots: allBots,\n layout: {\n ...state.layout,\n wordPressModal: {\n visible: false,\n },\n },\n };\n }\n\n case SET_TEMP_BOT:\n return {\n ...state,\n tempBot: action.payload,\n };\n\n case SET_VIEW_TYPE:\n return {\n ...state,\n viewType: action.payload,\n };\n\n case ADD_BOT: {\n const newBot = action.payload;\n // TODO: create bot data extractor\n const bot = {\n jid: newBot.jid,\n name: newBot.context.name,\n mode: newBot.context.mode || DEFAULT_BOT_MODE,\n description: newBot.context.description,\n metadata: newBot.context.metadata || {},\n avatar: newBot.context.name.substring(0, 2),\n // first index or [0] is the bot information\n answerCount: newBot.length - 1 || 0,\n createdAt: newBot.context.created_time,\n lastUpdatedAt: newBot.context.last_updated_time,\n };\n\n return {\n ...state,\n bots: [bot, ...state.bots],\n plan: {\n ...state.plan,\n current_bot_count: state.plan.current_bot_count + 1,\n },\n };\n }\n\n case IMPORT_BOT: {\n const newBot = action.payload[0];\n const { jid, context } = newBot;\n const bot = {\n jid: jid,\n name: context.name,\n description: context.description,\n metadata: context.metadata || {},\n avatar: context.name.substring(0, 2),\n // first index or [0] is the bot information\n answerCount: action.payload.answerCount || 0,\n websiteCount: action.payload.websiteCount || 0,\n fileCount: action.payload.fileCount || 0,\n createdAt: context.created_time,\n lastUpdatedAt: context.last_updated_time,\n autoTranslateResponse: context.auto_translate_response,\n language: context.language,\n mode: context.mode,\n };\n\n return {\n ...state,\n bots: [bot, ...state.bots],\n plan: {\n ...state.plan,\n current_bot_count: state.plan.current_bot_count + 1,\n },\n };\n }\n\n case VIEW_BOT:\n return {\n ...state,\n bot: {\n ...initialBotState,\n ...action.payload,\n strippedBotID: stripUUID(action.payload.jid),\n },\n };\n\n case SET_BOT_MODES:\n return {\n ...state,\n botModes: action.payload,\n };\n\n case DELETE_BOT:\n const filteredBots = state.bots.filter(bot => bot.jid !== action.payload);\n\n return {\n ...state,\n bots: filteredBots,\n plan: {\n ...state.plan,\n current_bot_count: state.plan.current_bot_count - 1,\n },\n };\n\n case UPDATE_BOT: {\n const { last_updated_time, created_time, ...rest } = action.payload;\n const synced =\n state.bot.mode !== BOT_MODES.ZSB ? false : state.bot.synced;\n const updatedBots = state.bots.map(item => {\n if (item.jid === action.payload.jid) {\n const bot = {\n ...item,\n ...rest,\n createdAt: action.payload.created_time,\n lastUpdatedAt: action.payload.last_updated_time,\n };\n return bot;\n }\n return item;\n });\n\n return {\n ...state,\n bot:\n state.bot.jid === action.payload.jid\n ? {\n ...state.bot,\n ...action.payload,\n }\n : state.bot,\n synced,\n bots: [...updatedBots],\n };\n }\n\n case UPDATE_BOT_SYNC: {\n return {\n ...state,\n bot:\n state.bot.jid === action.payload.jid\n ? {\n ...state.bot,\n synced: true,\n }\n : state.bot,\n };\n }\n\n case SET_BOT_AS_WEAK_BOT: {\n const { location, jid } = action.payload;\n if (location !== 'bots') {\n return state;\n }\n\n const updatedBots = state.bots.map(item => {\n if (item.jid === jid) {\n const bot = {\n ...item,\n showWeakStat: true,\n };\n return bot;\n }\n return item;\n });\n\n return {\n ...state,\n bots: [...updatedBots],\n };\n }\n\n case REMOVE_WEAK_BOT_STATUS: {\n const { location, jid } = action.payload;\n if (location !== 'bots') {\n return state;\n }\n\n const updatedBots = state.bots.map(item => {\n if (item.jid === jid) {\n const bot = {\n ...item,\n showWeakStat: false,\n };\n return bot;\n }\n return item;\n });\n\n return {\n ...state,\n bots: [...updatedBots],\n };\n }\n\n case SHOW_BOT_MODAL: {\n return {\n ...state,\n layout: {\n ...state.layout,\n botModal: {\n visible: true,\n ...action.payload,\n },\n },\n };\n }\n\n case CLOSE_BOT_MODAL: {\n return {\n ...state,\n layout: {\n ...state.layout,\n botModal: {\n visible: false,\n },\n },\n };\n }\n\n case CLOSE_WORDPRESS_MODAL: {\n return {\n ...state,\n layout: {\n ...state.layout,\n wordPressModal: {\n visible: false,\n },\n },\n };\n }\n\n case WORD_PRESS_SUCCESS: {\n const { integration, file, botInformation } = action.payload;\n const newBotCreated = botInformation[0];\n const isWebsite = file.context?.scraping_info;\n const { pubAskedQuestion, publicKey, sentinel, pubInfo } = state;\n const newAnswers = !isWebsite\n ? extractFileData(file)\n : [extractAnswerData(file, true)];\n const folderPath = stripUUID(newBotCreated.jid);\n const integrationID = stripUUID(integration.id);\n const integrationConfigURL = `${folderPath}/${integrationID}/config.json`;\n const botData = extractBotData(newBotCreated);\n const defaultAnswerData = extractDefaultAnswer(\n botInformation[1]?.context,\n botInformation[1]?.jid\n );\n\n const integrationSettings = {\n ...state.bot.currentIntegrationSettings.settings,\n botTitle:\n state.bot.currentIntegrationSettings.settings?.botTitle ||\n state.bot.currentIntegrationSettings.settings?.title ||\n state.bot.currentIntegrationSettings.identifier,\n ...integration.settings,\n viber_version: undefined,\n };\n\n const currentIntegrationSettings = {\n ...state.bot.currentIntegrationSettings,\n ...integration,\n code1: {\n html: {\n botComponent: generateBotComponent(\n newBotCreated.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n integration,\n integrationConfigURL,\n integration?.settings?.height,\n false,\n false\n ),\n headerCode: generateWebHTMLTagHeader(\n integration?.settings?.authenticatedUser,\n newBotCreated?.currentIntegrationSettings?.widgetVersion\n ),\n },\n npm: {\n botComponent: generateBotComponent(\n newBotCreated.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n integration,\n integrationConfigURL,\n integration?.settings?.height,\n false,\n false,\n newBotCreated?.currentIntegrationSettings?.widgetVersion\n ),\n headerCode: generateAuthenticatedUserNPMHTMLTag(\n integration?.settings?.authenticatedUser\n ),\n },\n wordpress: {\n botComponent: generateEncryptedWordPressBot(\n newBotCreated.jid,\n sentinel,\n integrationConfigURL,\n publicKey,\n pubAskedQuestion,\n pubInfo\n ),\n },\n },\n code2: null,\n settings: integrationSettings,\n widgetVersion: 'v1',\n panel: {\n permit: 3,\n activePanel: 3,\n },\n };\n\n const bots = {\n jid: newBotCreated.jid,\n name: newBotCreated.context.name,\n mode: newBotCreated.context.mode || DEFAULT_BOT_MODE,\n description: newBotCreated.context.description,\n metadata: newBotCreated.context.metadata || {},\n avatar: newBotCreated.context.name.substring(0, 2),\n createdAt: newBotCreated.context.created_time,\n lastUpdatedAt: newBotCreated.context.last_updated_time,\n fileCount: !isWebsite && newAnswers.length + state.bot.fileCount,\n websiteCount: isWebsite && newAnswers.length + state.bot.websiteCount,\n };\n\n const bot = {\n ...state.bot,\n ...botData,\n integrations: [integration, ...state.bot.integrations],\n files: !isWebsite ? newAnswers : [],\n websites: isWebsite ? newAnswers : [],\n currentIntegrationSettings,\n strippedBotID: stripUUID(newBotCreated.jid),\n ui: {\n ...state.bot.ui,\n weakBotStats: {\n overview: botStatistics({\n data: botInformation,\n botJID: newBotCreated.jid,\n }).isWeakBot,\n },\n },\n defaultAnswer: [defaultAnswerData],\n };\n\n return {\n ...state,\n bots: [bots, ...state.bots],\n bot,\n plan: {\n ...state.plan,\n current_bot_count: state.plan.current_bot_count + 1,\n },\n webSocket: {\n ...state.webSocket,\n fileAdded: [],\n scannedTableDataSource: [],\n categorizedTableDataSource: [],\n scan: [],\n categorizedUrls: [],\n activeAction: null,\n triggerID: null,\n websiteFile: [],\n },\n };\n }\n\n case SET_WS_IMPORTER_ACTION: {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n activeAction: 'importer',\n percentage: 1,\n triggerID: action.payload,\n },\n };\n }\n\n case SET_WS_IMPORTER_PROGRESS_COUNT: {\n if (state.webSocket.triggerID === action.payload.trigger_id) {\n const count =\n action.payload.data.count === 0 ? 1 : action.payload.data.count;\n const webSocket = {\n ...state.webSocket,\n percentage: Math.round(\n (count / (action.payload.data.total + 1)) * 100\n ),\n activeAction:\n action.payload.status === 'completed'\n ? 'completed'\n : state.webSocket.activeAction,\n };\n\n if (action.payload.status === 'completed') {\n let updatedBots;\n let updatedBot;\n let updatePlan;\n\n if (action.payload.data.bots) {\n const newBot = action.payload.data.bots[0];\n const { jid, context } = newBot;\n updatedBots = [\n {\n jid: jid,\n name: context.name,\n description: context.description,\n metadata: context.metadata || {},\n avatar: context.name.substring(0, 2),\n answerCount: context.answer_count || 0,\n websiteCount: context.website_count || 0,\n fileCount: context.file_count || 0,\n createdAt: context.created_time,\n lastUpdatedAt: context.last_updated_time,\n autoTranslateResponse: context.auto_translate_response,\n language: context.language,\n mode: context.mode,\n },\n ...state.bots,\n ];\n\n updatedBot = state.bot;\n updatePlan = {\n ...state.plan,\n current_bot_count: state.plan.current_bot_count + 1,\n };\n } else if (action.payload.data.website) {\n updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n websiteCount:\n action.payload.data.website + state.bot.websiteCount,\n };\n }\n return bot;\n });\n updatedBot = {\n ...state.bot,\n websiteCount:\n action.payload.data.website + state.bot.websiteCount,\n };\n updatePlan = state.plan;\n }\n\n return {\n ...state,\n bots: updatedBots,\n bot: updatedBot,\n plan: updatePlan,\n webSocket,\n };\n } else {\n return {\n ...state,\n webSocket,\n };\n }\n }\n }\n\n case SET_WS_IMPORTER_PROCESS_COMPLETED: {\n let websites = state.bot?.websites || [];\n if (action.payload) {\n const files = action.payload;\n websites = Object.assign(state.bot, {\n websites: extractAnswerList(\n files?.map(website => ({\n ...website,\n name: 'website',\n }))\n ),\n });\n }\n\n return {\n ...state,\n tempBot: null,\n bot: {\n ...state.bot,\n ...websites,\n },\n webSocket: {\n ...state.webSocket,\n activeAction: null,\n percentage: 0,\n triggerID: null,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { orderBy } from 'lodash';\n\nimport { DEFAULT_BOT_MODE } from 'constants/bot';\nimport { botStatistics } from 'utils/bot';\n\nexport const getAllBotsData = (bots, order) => {\n return orderBy(\n bots.reverse().map((item, key) => {\n return {\n jid: item.jid,\n name: typeof item.context.name === 'string' ? item.context.name : '',\n description: item.context.description,\n metadata: item.context.metadata || {},\n avatar:\n typeof item.context.name === 'string'\n ? item.context.name.substring(0, 2)\n : null,\n answerCount: item.context.answer_count || 0,\n fileCount: item.context.file_count || 0,\n websiteCount: item.context.website_count || 0,\n createdAt: item.context.created_time,\n lastUpdatedAt: item.context.last_updated_time,\n mailConfig: item.context?.mail_config || {},\n statistics: item.statistics || {},\n isWeak: botStatistics(item).isWeakBot,\n showWeakStat: botStatistics(item).isWeakBot,\n mode: item.context?.mode || DEFAULT_BOT_MODE,\n key,\n shouldSendCallbackLog: Boolean(item.context?.mail_config?.enabled),\n };\n }),\n order && order.sortBy ? order.sortBy : 'createdAt',\n !order || !!order.key % 2 === 0 ? 'desc' : 'asc'\n );\n};\n","import { initialState } from 'store/initialState';\nimport {\n SIGN_IN_SUCCESS,\n GET_USERNAME,\n UPDATE_USER,\n LOGOUT_USER,\n SET_PUBLIC_KEY,\n SPAWN_CREATE,\n EXTERNAL_SIGN_IN_SUCCESS,\n SET_PAGE_EXTERNAL,\n LOGOUT_EXTERNAL_USER,\n INITIALIZE_API_KEY,\n UNSET_API_KEY,\n} from '../action';\n\nexport const userReducer = (state, action) => {\n switch (action.type) {\n case SIGN_IN_SUCCESS:\n return {\n ...state,\n isExternalPage: false,\n isAuthenticated: true,\n token: action.payload,\n };\n\n case EXTERNAL_SIGN_IN_SUCCESS:\n return {\n ...state,\n isExternalPage: true,\n isAuthenticated: true,\n token: action.payload,\n };\n\n case SET_PAGE_EXTERNAL:\n return {\n ...state,\n isExternalPage: true,\n };\n\n case GET_USERNAME:\n case UPDATE_USER: {\n return {\n ...state,\n user: {\n ...state.user,\n ...action.payload,\n firstName: action.payload.name\n ? action.payload.name.split(' ')[0] || action.payload.name\n : 'Guest',\n },\n };\n }\n\n case SET_PUBLIC_KEY:\n return {\n ...state,\n publicKey: action.payload,\n };\n\n case SPAWN_CREATE:\n return {\n ...state,\n ...action.payload,\n };\n\n case LOGOUT_USER: {\n localStorage.clear();\n localStorage.removeItem('token');\n return {\n ...initialState,\n hasLogout: true,\n };\n }\n\n case LOGOUT_EXTERNAL_USER: {\n localStorage.clear();\n localStorage.removeItem('token');\n localStorage.setItem('external', 'true');\n return {\n ...initialState,\n isExternalPage: true,\n hasLogout: true,\n };\n }\n\n case INITIALIZE_API_KEY:\n return {\n ...state,\n apiGatewayConfig: action.payload.apiConfig,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n apiKeyModal: {\n isIntegrationComponent: action.payload.isIntegrationComponent,\n isOpen: true,\n },\n },\n },\n },\n };\n\n case UNSET_API_KEY:\n return {\n ...state,\n apiGatewayConfig: null,\n };\n\n default:\n return state;\n }\n};\n","import { RESET_PLAN, SET_PLAN, SET_PLAN_DETAILS } from 'store/action';\nimport { initialPlanState } from 'store/initialState';\n\nexport const planReducer = (state, action) => {\n switch (action.type) {\n case SET_PLAN:\n return {\n ...state,\n plan: {\n ...state.plan,\n ...action.payload,\n },\n };\n\n case RESET_PLAN: {\n return {\n ...state,\n plan: initialPlanState,\n bots: [],\n bot: {\n ...state.bot,\n files: [],\n websites: [],\n answers: [],\n integrations: [],\n categories: [],\n },\n };\n }\n\n case SET_PLAN_DETAILS: {\n return {\n ...state,\n plan: {\n ...state.plan,\n plansAndFeatures: action.payload,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import {\n SET_ONBOARDING_FLAG,\n DELETE_ONBOARDING_FLAG,\n RESET_ONBOARDING_FLAG,\n} from 'store/action';\n\nexport const onboardingReducer = (state, action) => {\n switch (action.type) {\n case SET_ONBOARDING_FLAG:\n return {\n ...state,\n plan: {\n ...state.plan,\n onboarding_flag: [...state.plan.onboarding_flag, action.payload],\n },\n };\n\n case DELETE_ONBOARDING_FLAG: {\n const toRemoveFlag = action.payload;\n const newFlags = state.plan.onboarding_flag.filter(\n flags => flags !== toRemoveFlag\n );\n return {\n ...state,\n plan: {\n ...state.plan,\n onboarding_flag: newFlags,\n },\n };\n }\n\n case RESET_ONBOARDING_FLAG:\n return {\n ...state,\n plan: {\n ...state.plan,\n onboarding_flag: [],\n },\n };\n\n default:\n return state;\n }\n};\n","import {\n CLEANUP_ALL_GLOBAL_VARS,\n CLEAR_DIGRAPH_DATA,\n GET_ALL_GLOBAL_VARS,\n GET_ALL_VERSIONS,\n GET_ALL_USERS,\n SET_MESSENGER_API,\n HIDE_DIGRAPH,\n SET_NETWORK_DIGRAPH_DATA,\n SHOW_DIGRAPH,\n START_IMPERSONATING_USER,\n STOP_IMPERSONATING_USER,\n UPDATE_USER_DATA,\n SET_VIBER_API,\n} from 'store/action';\n\nexport const adminReducer = (state, action) => {\n switch (action.type) {\n case GET_ALL_USERS: {\n return {\n ...state,\n admin: {\n ...state.admin,\n all_users: action.payload,\n },\n };\n }\n\n case UPDATE_USER_DATA: {\n const newData = state.admin.all_users.map(user => {\n if (action.payload.id === user.id) {\n return {\n ...user,\n is_activated: action.payload.is_activated,\n };\n }\n return user;\n });\n return {\n ...state,\n admin: {\n ...state.admin,\n all_users: newData,\n },\n };\n }\n\n case START_IMPERSONATING_USER: {\n const { impersonated_user } = action.payload;\n return {\n ...state,\n bots: [],\n graph: impersonated_user?.graph,\n admin: {\n ...state.admin,\n is_impersonating: true,\n impersonated_user: {\n ...impersonated_user,\n email: impersonated_user?.user,\n },\n },\n };\n }\n\n case STOP_IMPERSONATING_USER: {\n return {\n ...state,\n graph: localStorage.getItem('masterUserND'),\n bots: [],\n admin: {\n ...state.admin,\n is_impersonating: false,\n impersonated_user: {},\n },\n };\n }\n\n case SET_MESSENGER_API: {\n return {\n ...state,\n messengerApi: action.payload,\n };\n }\n\n case SET_VIBER_API: {\n return {\n ...state,\n viberConfig: action.payload,\n };\n }\n\n case GET_ALL_GLOBAL_VARS: {\n return {\n ...state,\n admin: {\n ...state.admin,\n all_global_vars: action.payload,\n },\n };\n }\n\n case GET_ALL_VERSIONS: {\n return {\n ...state,\n admin: {\n ...state.admin,\n all_versions: action.payload,\n },\n };\n }\n\n case CLEANUP_ALL_GLOBAL_VARS: {\n return {\n ...state,\n admin: {\n ...state.admin,\n all_global_vars: [],\n },\n };\n }\n\n case SET_NETWORK_DIGRAPH_DATA:\n return {\n ...state,\n admin: {\n ...state.admin,\n networkData: action.payload,\n },\n };\n\n case CLEAR_DIGRAPH_DATA:\n return {\n ...state,\n admin: {\n ...state.admin,\n networkData: {},\n },\n };\n\n case SHOW_DIGRAPH:\n return {\n ...state,\n admin: {\n ...state.admin,\n showDigraph: true,\n },\n };\n\n case HIDE_DIGRAPH:\n return {\n ...state,\n admin: {\n ...state.admin,\n showDigraph: false,\n },\n };\n\n default:\n return state;\n }\n};\n","import { orderBy } from 'lodash';\n\nimport {\n ADD_ANSWER,\n ADD_ANSWER_QLINK,\n ADD_MULTIPLE_ANSWERS,\n BULK_DELETE_ANSWERS,\n DELETE_ANSWERBANK,\n SET_ANSWERS,\n REMOVE_ANSWER_QLINK,\n SET_DEFAULT_ANSWER,\n SET_SHOW_ANSWER_VERSIONS,\n SET_SHOW_BELOW_THRESHOLD_RESPONSES,\n SET_SHOW_DRAFT_RESPONSES,\n UPDATE_ANSWER,\n UPDATE_ANSWER_HITCOUNT,\n ADD_FILE,\n UPDATE_FILE,\n RESET_WS_GENERATED_ANSWER,\n SET_WS_ASK_QUESTION_ACTION,\n SET_WS_ASK_QUESTION_SENDING,\n SET_WS_SCRAPER_ACTION,\n RESET_WS_SCANNER,\n WS_ADD_FILE,\n RESET_WS_ADD_FILE_ADDED,\n WS_UPDATE_ACTION,\n UPDATE_WS_SCANNED_DATA_SOURCE,\n WS_STOP_SCRAPER,\n UPDATE_WEBSITE,\n SET_WEBSITE_SELECTED_PAGES,\n RESET_WEBSITE_SELECTED_PAGES,\n} from 'store/action';\nimport {\n extractAnswerData,\n extractDefaultAnswer,\n extractFileData,\n extractGeneratedAnswer,\n extractScannedObject,\n categorizedWebsitePages,\n extractAnswerList,\n} from '../helpers/bot/answers';\nimport { extractCategoryData } from '../helpers/bot/categories';\nimport { BOT_MODES } from 'constants/bot';\nimport { getNodesFromArray } from 'utils';\nimport { initialWebsiteSelectedPage } from 'store/initialState';\n\nexport const answersReducer = (state, action) => {\n const synced = state.bot.mode !== BOT_MODES.ZSB ? false : state.bot.synced;\n switch (action.type) {\n case SET_ANSWERS: {\n const { answers, files, defaultAnswer } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n\n const defaultAnswerData = (defaultAnswer || []).map(answerItem => {\n return extractDefaultAnswer(answerItem.context, answerItem.jid);\n });\n\n const botWithAnswers = Object.assign(state.bot, {\n answers: extractAnswerList(answers, isBotOpenAIEnabled),\n files: extractAnswerList(\n files?.filter(\n file =>\n !file.context.scraping_info && file.context.scraping_info === null\n ),\n isBotOpenAIEnabled\n ),\n websites: extractAnswerList(\n files\n ?.filter(\n file =>\n file.context.scraping_info &&\n file.context.scraping_info !== null\n )\n ?.map(website => ({\n ...website,\n name: 'website',\n })),\n isBotOpenAIEnabled\n ),\n defaultAnswer: [...state.bot?.defaultAnswer, ...defaultAnswerData],\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ...botWithAnswers,\n ui: {\n ...state.bot.ui,\n isAnswerBankReady: true,\n },\n },\n };\n }\n\n case ADD_ANSWER: {\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const newAnswer = extractAnswerData(action.payload, isBotOpenAIEnabled);\n const updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n answerCount: state.bot.answerCount + 1,\n };\n }\n return bot;\n });\n\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n answerCount: state.bot.answerCount + 1,\n answers: [newAnswer, ...state.bot.answers],\n synced,\n },\n };\n }\n\n case ADD_FILE: {\n const newFiles = extractFileData(action.payload.response);\n const updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n fileCount:\n action.payload.type === 'file'\n ? newFiles.length + state.bot.fileCount\n : state.bot.fileCount,\n websiteCount:\n action.payload.type === 'website'\n ? newFiles.length + state.bot.websiteCount\n : state.bot.websiteCount,\n };\n }\n return bot;\n });\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n fileCount:\n action.payload.type === 'file'\n ? newFiles.length + state.bot.fileCount\n : state.bot.fileCount,\n websiteCount:\n action.payload.type === 'website'\n ? newFiles.length + state.bot.websiteCount\n : state.bot.websiteCount,\n [action.payload.type + 's']: [\n ...newFiles,\n ...state.bot[action.payload.type + 's'],\n ],\n synced,\n },\n webSocket: {\n ...state.webSocket,\n scannedTableDataSource: [],\n categorizedTableDataSource: [],\n },\n };\n }\n\n case ADD_MULTIPLE_ANSWERS: {\n const { answer, category } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const isNewImporterResponse = answer && category;\n const newAnswers = isNewImporterResponse\n ? extractAnswerData(answer, isBotOpenAIEnabled)\n : extractAnswerData(action.payload, isBotOpenAIEnabled);\n const newCategories = category ? extractCategoryData(category) : [];\n const updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n answerCount: newAnswers.length + state.bot.answers.length,\n };\n }\n return bot;\n });\n\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n answers: [...newAnswers, ...state.bot.answers],\n categories: [...newCategories, ...state.bot.categories],\n synced,\n },\n };\n }\n\n case UPDATE_ANSWER: {\n let answersArr = [];\n const { chatList } = state.bot;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const updatedChatList = [];\n let currentChatItem = {};\n const { updatedAnswer, msgIndex } = action.payload;\n\n const answerData = extractAnswerData(\n getNodesFromArray(updatedAnswer),\n isBotOpenAIEnabled\n );\n\n for (const item of state.bot.answers) {\n if (item.jid === answerData.jid) {\n answersArr.push(answerData);\n } else {\n answersArr.push(item);\n }\n }\n\n if (chatList.length) {\n for (let i = 0; i < chatList?.length; i++) {\n if (chatList[i].answer.jid === answerData.jid && msgIndex === i) {\n currentChatItem = {\n question: chatList[i].question,\n answer: {\n jid: answerData.jid,\n show_text: answerData.show_text,\n show_html: answerData.show_html,\n text: answerData.text,\n qlinks: answerData.qlinks || null,\n score: answerData.score || null,\n hitcount: answerData.hitcount || null,\n editor: answerData.editor || null,\n type: answerData.type,\n sequence: answerData.sequence || [],\n },\n idx: i,\n };\n updatedChatList.push(currentChatItem);\n } else {\n updatedChatList.push({ ...chatList[i] });\n }\n }\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: [...answersArr],\n chatList: updatedChatList,\n synced,\n },\n };\n }\n\n case UPDATE_FILE: {\n const answerData = extractAnswerData(action.payload, true);\n const newFiles = state.bot.files.map(files => {\n if (answerData.jid === files.jid) {\n return answerData;\n }\n return files;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n files: orderBy(newFiles, 'lastEdited', 'desc'),\n synced,\n },\n };\n }\n\n case UPDATE_WEBSITE: {\n const answerData = extractAnswerData(action.payload, true);\n const newAnswers = state.bot.websites?.map(answer => {\n if (answerData.jid === answer.jid) {\n return answerData;\n }\n return answer;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n websites: orderBy(newAnswers, 'lastEdited', 'desc'),\n synced,\n },\n };\n }\n\n case DELETE_ANSWERBANK: {\n const answerBank = state.bot[action.payload.type + 's'];\n const deletedAnswer = answerBank?.find(\n item => item.jid === action.payload.answerId\n );\n\n const counts = {\n answerCount:\n deletedAnswer?.type === 'answer'\n ? state.bot.answerCount - 1\n : state.bot.answerCount,\n fileCount:\n deletedAnswer?.type === 'file'\n ? state.bot.fileCount - 1\n : state.bot.fileCount,\n websiteCount:\n deletedAnswer?.type === 'website'\n ? state.bot.websiteCount - 1\n : state.bot.websiteCount,\n };\n\n const filteredAnswers = answerBank?.filter(\n item => item.jid !== action.payload.answerId\n );\n const updatedBots = state.bots?.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n answerCount: counts.answerCount,\n fileCount: counts.fileCount,\n websiteCount: counts.websiteCount,\n };\n }\n return bot;\n });\n\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n ...counts,\n [action.payload.type + 's']: [...filteredAnswers],\n synced,\n },\n };\n }\n\n case SET_DEFAULT_ANSWER: {\n const defaultAnswerPayload = action.payload;\n const defaultAnswerData = defaultAnswerPayload.map(answerItem => {\n return extractDefaultAnswer(answerItem.context, answerItem.jid);\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n defaultAnswer: [...state.bot?.defaultAnswer, ...defaultAnswerData],\n },\n };\n }\n\n case REMOVE_ANSWER_QLINK: {\n let answersArr = [];\n for (const item of state.bot.answers) {\n if (item.jid === action.payload.answer) {\n if (item.qlinks && item.qlinks.length) {\n item['qlinks'] = item.qlinks.filter(\n answer => answer !== action.payload.question\n );\n }\n answersArr.push(item);\n } else {\n answersArr.push(item);\n }\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: [...answersArr],\n },\n };\n }\n\n case ADD_ANSWER_QLINK:\n let updatedAnswerQlink = [];\n for (const item of state.bot.answers) {\n if (item.jid === action.payload.answer) {\n item.qlinks.push(action.payload.question);\n }\n updatedAnswerQlink.push(item);\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: [...updatedAnswerQlink],\n },\n };\n\n case UPDATE_ANSWER_HITCOUNT: {\n const answer = getNodesFromArray(action.payload);\n let answersArr = [];\n if (answer.type === 'answer') {\n for (const item of state.bot.answers) {\n if (item.jid === action.payload.jid) {\n answersArr.push({\n ...item,\n hitcount: action.payload.hitcount,\n });\n } else {\n answersArr.push(item);\n }\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: [...answersArr],\n },\n };\n } else {\n for (const item of state.bot.defaultAnswer) {\n if (item.jid === action.payload.jid) {\n answersArr.push({\n ...item,\n hitcount: action.payload.hitcount,\n });\n } else {\n answersArr.push(item);\n }\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n defaultAnswer: [...answersArr],\n },\n };\n }\n }\n\n case SET_SHOW_ANSWER_VERSIONS:\n return {\n ...state,\n bot: {\n ...state.bot,\n showAnswersVersions: action.payload || [],\n },\n };\n\n case SET_SHOW_DRAFT_RESPONSES:\n return {\n ...state,\n bot: {\n ...state.bot,\n showDraftResponses: !state.bot.showDraftResponses,\n },\n };\n\n case SET_SHOW_BELOW_THRESHOLD_RESPONSES:\n return {\n ...state,\n bot: {\n ...state.bot,\n showBelowThresholdResponses: !state.bot.showBelowThresholdResponses,\n },\n };\n\n case BULK_DELETE_ANSWERS:\n const bulkDeleteResults = state.bot.answers.filter(\n item => !action.payload.includes(item.jid)\n );\n return {\n ...state,\n bot: { ...state.bot, answers: [...bulkDeleteResults], synced },\n };\n\n case RESET_WS_GENERATED_ANSWER:\n return {\n ...state,\n bot: {\n ...state.bot,\n generated_answer: '',\n },\n };\n\n case SET_WS_ASK_QUESTION_ACTION: {\n const actionList =\n state?.webSocket?.askQuestionActions.length > 0\n ? [...(state?.webSocket?.askQuestionActions || []), action.payload]\n : [action.payload];\n const { chatList } = state.bot;\n const newGeneratedAnswer = action?.payload?.data?.content || '';\n const generatedAnswer = state.webSocket.generatedAnswer || '';\n const concatenatedAnswer = generatedAnswer + newGeneratedAnswer;\n const isTriggerIdMatch = chatList\n ? chatList[chatList?.length - 1]?.questionPayload?.metadata\n ?.interactionId === action?.payload?.trigger_id\n : false;\n\n if (action.payload.status === 'processing' && isTriggerIdMatch) {\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const chatAnswer = extractGeneratedAnswer(\n concatenatedAnswer,\n isBotOpenAIEnabled\n );\n\n const updatedChatList = chatList?.map((chatItem, idx) => {\n if (idx === chatList?.length - 1) {\n return {\n ...chatItem,\n answer: chatAnswer,\n answerContext: {\n ...action.payload?.context,\n error: action.payload?.error || undefined,\n name: action.payload?.name,\n },\n };\n }\n return chatItem;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: updatedChatList,\n },\n webSocket: {\n ...state.webSocket,\n askQuestionActiveAction: action.payload,\n askQuestionActions: actionList,\n generatedAnswer: concatenatedAnswer,\n sending: true,\n },\n };\n } else if (action.payload.type === 'response' && isTriggerIdMatch) {\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const chatAnswer = extractAnswerData(\n action.payload.answer,\n isBotOpenAIEnabled\n );\n\n const updatedChatList = chatList?.map((chatItem, idx) => {\n if (idx === chatList?.length - 1 && chatItem.answer) {\n return {\n ...chatItem,\n answer: chatAnswer,\n answerContext: {\n ...action.payload?.context,\n error: action.payload?.answer.error || undefined,\n name: action.payload?.answer.name,\n },\n };\n } else if (!chatItem.answer) {\n return {\n ...chatItem,\n answer: chatAnswer,\n answerContext: {\n ...action.payload?.context,\n error: action.payload?.error || undefined,\n name: action.payload?.name,\n },\n };\n }\n return chatItem;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: updatedChatList,\n },\n webSocket: {\n ...state.webSocket,\n askQuestionActiveAction: [],\n askQuestionActions: [],\n generatedAnswer: null,\n sending: false,\n },\n };\n }\n\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n askQuestionActiveAction: action.payload,\n askQuestionActions: actionList,\n generatedAnswer,\n sending: true,\n },\n };\n }\n\n case SET_WS_SCRAPER_ACTION: {\n const activeAction = state?.webSocket?.activeAction;\n\n const payload = action.payload;\n if (activeAction !== 'stop_scrapping') {\n if (payload?.pending?.length === 0 && !payload?.processing) {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scan:\n activeAction === 'add_file'\n ? []\n : extractScannedObject(payload.scanned),\n sending: false,\n },\n };\n } else {\n const extractedUrls = categorizedWebsitePages(\n extractScannedObject(payload.scanned)\n );\n\n const pending = payload?.pending?.map(url => {\n return {\n status: 'pending',\n url,\n };\n });\n\n // UNCOMMENT: IF you want to use the scaped again\n // const scapped = payload?.scapped?.map(scapped => {\n // return {\n // status: scanned.error ? 'error' : 'scapped',\n // url: scapped.url,\n // error: scanned.error,\n // };\n // });\n\n const scanned = extractScannedObject(payload.scanned)?.map(\n scannedUrl => {\n return {\n status: 'scanned',\n url: scannedUrl,\n };\n }\n );\n\n // const scannedOnly = scraped\n // ?.filter(\n // scrapedURL =>\n // !scanned.some(scannedUrl => {\n // return scrapedURL.url === scannedUrl.url;\n // })\n // )\n // ?.map(res => {\n // return {\n // status: 'scannedOnly',\n // url: res.url,\n // };\n // });\n\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scan: [\n ...scanned,\n // ...scannedOnly,\n { status: 'processing', url: payload?.processing?.url },\n ...pending,\n ],\n categorizedUrls: [\n { name: 'processing', urlList: [] },\n ...orderBy(extractedUrls, 'name', 'asc'),\n ],\n sending: true,\n },\n };\n }\n }\n return state;\n }\n\n case RESET_WS_SCANNER: {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scan: [],\n categorizedUrls: [],\n sending: false,\n scannedTableDataSource: null,\n categorizedTableDataSource: null,\n activeAction: null,\n triggerID: null,\n },\n };\n }\n\n case SET_WS_ASK_QUESTION_SENDING:\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n sending: true,\n },\n };\n\n case WS_ADD_FILE: {\n const newAnswers = extractFileData(action.payload);\n const isWebsite = newAnswers[0]?.scrapingInfo;\n const updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n websiteCount: isWebsite\n ? newAnswers.length + bot.websiteCount\n : bot.websiteCount,\n fileCount: !isWebsite\n ? newAnswers.length + bot.fileCount\n : bot.fileCount,\n };\n }\n return bot;\n });\n\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n websites: isWebsite\n ? [...newAnswers, ...state.bot.websites]\n : state.bot.websites,\n files: !isWebsite\n ? [...newAnswers, ...state.bot.files]\n : state.bot.files,\n synced,\n websiteCount: isWebsite\n ? newAnswers.length + state.bot.websiteCount\n : state.bot.websiteCount,\n fileCount: !isWebsite\n ? newAnswers.length + state.bot.fileCount\n : state.bot.fileCount,\n },\n webSocket: {\n ...state.webSocket,\n scan: [],\n categorizedUrls: [],\n sending: false,\n fileAdded: newAnswers,\n websiteFile: action.payload,\n },\n };\n }\n\n case RESET_WS_ADD_FILE_ADDED:\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n fileAdded: [],\n scannedTableDataSource: [],\n categorizedTableDataSource: [],\n scan: [],\n categorizedUrls: [],\n activeAction: null,\n triggerID: null,\n websiteFile: [],\n },\n };\n\n case WS_UPDATE_ACTION: {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scannedTableDataSource:\n action.payload.action === 'add_file'\n ? []\n : state?.webSocket?.scannedTableDataSource,\n activeAction: action.payload.action,\n triggerID: action.payload.triggerID,\n scan: [],\n categorizedUrls: [],\n },\n };\n }\n\n case UPDATE_WS_SCANNED_DATA_SOURCE: {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scannedTableDataSource: action?.payload.scannedList,\n categorizedTableDataSource: categorizedWebsitePages(\n action?.payload.scannedList\n ),\n },\n bot: {\n ...state.bot,\n websiteSelectedPages: {\n ...state.bot.websiteSelectedPages,\n ...action.payload.websiteSelectedPages,\n },\n },\n };\n }\n\n case WS_STOP_SCRAPER: {\n return {\n ...state,\n webSocket: {\n ...state.webSocket,\n scan: state.webSocket?.scan\n ?.filter(scanned => scanned.status === 'scanned')\n ?.map(scan => scan.url),\n sending: false,\n activeAction: 'stop_scrapping',\n },\n };\n }\n\n case SET_WEBSITE_SELECTED_PAGES: {\n return {\n ...state,\n bot: {\n ...state.bot,\n websiteSelectedPages: {\n ...state.bot.websiteSelectedPages,\n ...action.payload,\n },\n },\n };\n }\n\n case RESET_WEBSITE_SELECTED_PAGES: {\n return {\n ...state,\n bot: {\n ...state.bot,\n websiteSelectedPages: initialWebsiteSelectedPage,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { stripUUID } from 'utils';\n\nexport const extractCategoryData = categoryAPIData => {\n return categoryAPIData\n .map(category => {\n return {\n jid: stripUUID(category.jid),\n name: category.context.name,\n color: category.context.color,\n };\n })\n .filter(Boolean);\n};\n","import {\n CLEAR_BOT_AGGREGATIONS,\n CLEAR_BOT_DETAILS,\n REMOVE_BOT_JID,\n REMOVE_WEAK_BOT_STATUS,\n SET_BOTDETAILS_PAGE_LOADING,\n SET_BOTDETAILS_PAGE_READY,\n SET_BOT_AGGREGATIONS,\n SET_BOT_DETAILS,\n SET_BOT_ERROR,\n SET_BOT_JID,\n SET_BOT_OVERVIEW,\n SET_BOT_SETTINGS,\n SET_TYPING_EXPERIENCE,\n} from 'store/action';\nimport { initialBotState } from 'store/initialState';\nimport { stripUUID } from 'utils';\nimport { createESAggregationsData } from '../helpers/bot/analytics';\nimport { botStatistics } from 'utils/bot';\nimport { extractBotData } from '../helpers/bot/botDetails';\nimport { extractDefaultAnswer } from '../helpers/bot/answers';\n\nexport const botDetailsReducer = (state, action) => {\n switch (action.type) {\n case SET_BOT_JID:\n return {\n ...state,\n bot: {\n ...state.bot,\n jid: action.payload,\n strippedBotID: stripUUID(action.payload),\n },\n };\n\n case REMOVE_BOT_JID:\n return {\n ...state,\n bot: {\n ...state.bot,\n jid: null,\n strippedBotID: null,\n },\n };\n\n case SET_BOT_OVERVIEW:\n return {\n ...state,\n bot: {\n ...state.bot,\n totalTestSuites: action.payload.testsuite_count || 0,\n totalIntegrations: action.payload.integration_count || 0,\n },\n };\n\n case SET_BOT_SETTINGS: {\n const { bot, defaultAnswer } = action.payload;\n const { jid } = bot;\n const defaultAnswerData = extractDefaultAnswer(\n defaultAnswer.context,\n defaultAnswer.jid\n );\n const updatedBots = state.bots.map(item => {\n if (item.jid === jid) {\n return extractBotData(bot);\n } else {\n return item;\n }\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n ...extractBotData(bot),\n defaultAnswer: [defaultAnswerData],\n },\n bots: [...updatedBots],\n };\n }\n\n case SET_BOT_DETAILS: {\n const botData = extractBotData(action.payload[0]);\n const defaultAnswerData = extractDefaultAnswer(\n action.payload[1]?.context,\n action.payload[1]?.jid\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ...botData,\n defaultAnswer: [defaultAnswerData],\n ui: {\n ...state.bot.ui,\n weakBotStats: {\n overview: botStatistics(action.payload).isWeakBot,\n },\n },\n },\n };\n }\n\n case CLEAR_BOT_DETAILS: {\n return {\n ...state,\n bot: initialBotState,\n };\n }\n\n case SET_BOT_ERROR: {\n return {\n ...state,\n bot: { ...initialBotState, hasBotError: true },\n };\n }\n\n case SET_BOT_AGGREGATIONS: {\n const aggregations = createESAggregationsData(action.payload);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n aggregations,\n },\n };\n }\n\n case CLEAR_BOT_AGGREGATIONS:\n return {\n ...state,\n bot: {\n ...state.bot,\n aggregations: {},\n },\n };\n\n case SET_BOTDETAILS_PAGE_READY:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n detailsPageReady: true,\n },\n },\n };\n\n case SET_BOTDETAILS_PAGE_LOADING:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n detailsPageReady: false,\n },\n },\n };\n\n case REMOVE_WEAK_BOT_STATUS: {\n const { location, jid } = action.payload;\n if (location === 'bots') {\n return state;\n }\n\n if (location === 'integrations') {\n const integrations = state.bot.integrations?.map(integration => {\n if (integration.id === jid) {\n return { ...integration, showWeakStat: false };\n }\n return integration;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n integrations,\n },\n };\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n weakBotStats: {\n ...state.bot.ui.weakBotStats,\n [location]: undefined,\n },\n },\n },\n };\n }\n\n case SET_TYPING_EXPERIENCE: {\n return {\n ...state,\n bot: {\n ...state.bot,\n typingExperience: action.payload,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { union } from 'lodash';\n\nimport {\n ADD_CATEGORY,\n BULK_MOVE_CATEGORY,\n SET_CATEGORY_MODAL_CLOSE,\n GET_CATEGORIES,\n SET_CATEGORY_MODAL_OPEN,\n UPDATE_CATEGORY,\n SET_SELECTED_CATEGORY_DETAILS,\n CLEAR_SELECTED_CATEGORY_DETAILS,\n IMPORT_CATEGORY_TEMPLATES,\n DELETE_CATEGORY,\n} from 'store/action';\nimport { initialCategoryModalState } from 'store/initialState';\nimport {\n generateRandomColor,\n isCollectionValueHasDuplicate,\n stripUUID,\n} from 'utils';\nimport { extractAnswerData, extractCategoryData } from '../helpers/bot/answers';\nimport { strippedString } from 'utils/stringManipulation';\n\nexport const categoriesReducer = (state, action) => {\n switch (action.type) {\n case GET_CATEGORIES: {\n const categories = action.payload.map(category => {\n return {\n jid: stripUUID(category.jid),\n name: category.context.name,\n color: category.context.color,\n };\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n categories,\n },\n };\n }\n\n case ADD_CATEGORY: {\n const newCategory = extractCategoryData(action.payload);\n return {\n ...state,\n bot: {\n ...state.bot,\n categories: [...state.bot.categories, newCategory],\n },\n };\n }\n\n case DELETE_CATEGORY: {\n const { jid, isDeleteAnswer } = action.payload;\n let allAnswers = state.bot.answers;\n const updatedCategories = state.bot.categories?.filter(\n cat => cat.jid !== jid\n );\n\n if (isDeleteAnswer) {\n allAnswers = allAnswers.filter(answer => answer.categoryId !== jid);\n } else {\n allAnswers = allAnswers.map(answer => {\n if (answer.categoryId === jid) {\n return {\n ...answer,\n categoryId: null,\n };\n }\n return answer;\n });\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: allAnswers,\n categories: updatedCategories,\n },\n };\n }\n\n case UPDATE_CATEGORY:\n const newCategory = extractCategoryData(action.payload);\n const updatedCategories = state.bot.categories.map(category => {\n if (stripUUID(category.jid) === stripUUID(newCategory.jid)) {\n return newCategory;\n }\n return category;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n categories: [...updatedCategories],\n },\n };\n\n case BULK_MOVE_CATEGORY: {\n let answersArr = [];\n for (const item of state.bot.answers) {\n const updatedAnswers = action.payload.updatedAnswers;\n const isUpdatedAnswer = updatedAnswers.find(\n answer => answer.jid === item.jid\n );\n if (isUpdatedAnswer) {\n answersArr.push(isUpdatedAnswer);\n } else {\n answersArr.push(item);\n }\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n answers: [...answersArr],\n },\n };\n }\n\n case SET_CATEGORY_MODAL_OPEN: {\n return {\n ...state,\n bot: {\n ...state.bot,\n selectedCategory: {\n ...initialCategoryModalState,\n color:\n action.payload.action === 'add' ? generateRandomColor() : null,\n isOpen: true,\n ...action.payload,\n },\n },\n };\n }\n\n case SET_SELECTED_CATEGORY_DETAILS: {\n const { name, isTemplate } = action.payload;\n const selectedCategory = state.bot.selectedCategory;\n\n const isCategoryOnTemplates = state.categoryTemplates.some(\n categoryTemplate =>\n categoryTemplate?.name?.toLowerCase() === name?.toLowerCase()\n );\n const hasDuplicate = isCollectionValueHasDuplicate(\n state.bot.categories,\n name,\n 'name',\n action.payload.jid || selectedCategory.jid\n );\n const categoryNameErrors = hasDuplicate\n ? `${name} category already exists.`\n : !strippedString(name) &&\n typeof name !== 'undefined' &&\n !selectedCategory.isTemplate &&\n !isTemplate\n ? 'Category name is required.'\n : '';\n const categoryExistsOnTemplate = isCategoryOnTemplates\n ? 'This category already exist on templates.'\n : null;\n const categoryModalErrors = union(\n [categoryExistsOnTemplate, categoryNameErrors].filter(Boolean)\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n selectedCategory: {\n ...selectedCategory,\n ...action.payload,\n errors: categoryModalErrors,\n },\n },\n };\n }\n\n case CLEAR_SELECTED_CATEGORY_DETAILS: {\n if (!state.bot.selectedCategory || !state.bot.selectedCategory.isOpen) {\n return state;\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n selectedCategory: {\n ...state.bot.selectedCategory,\n name: null,\n jid: null,\n color: null,\n },\n },\n };\n }\n\n case SET_CATEGORY_MODAL_CLOSE:\n return {\n ...state,\n bot: {\n ...state.bot,\n selectedCategory: initialCategoryModalState,\n },\n };\n\n case IMPORT_CATEGORY_TEMPLATES: {\n const { answer: answersFromCategorytemplate, category } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const answers = (\n extractAnswerData(answersFromCategorytemplate, isBotOpenAIEnabled) || []\n ).filter(Boolean);\n\n const newAnswers = [...state.bot.answers, ...answers]\n .map(fromCombinedAnswer => {\n const existingAnswerFromStore = state.bot.answers.find(\n answerFromStore =>\n stripUUID(answerFromStore.jid) ===\n stripUUID(fromCombinedAnswer.jid)\n );\n const existingAnswerFromCategoryTemplatePayload = answers.find(\n answerFromCategory =>\n stripUUID(answerFromCategory.jid) ===\n stripUUID(fromCombinedAnswer.jid)\n );\n const categoryIdFromCombinedAnswer =\n fromCombinedAnswer?.categoryId || fromCombinedAnswer?.categoryId;\n const categoryIdFromCategoryTempExistingAnswer =\n existingAnswerFromCategoryTemplatePayload?.categoryId ||\n existingAnswerFromCategoryTemplatePayload?.categoryId ||\n existingAnswerFromCategoryTemplatePayload?.category_id;\n\n if (\n existingAnswerFromStore &&\n existingAnswerFromCategoryTemplatePayload &&\n !Boolean(categoryIdFromCombinedAnswer) &&\n Boolean(categoryIdFromCategoryTempExistingAnswer)\n ) {\n // if current answer exists to store and payload\n // return existing/previous answer\n // then attach categoryId from payload of matched answer\n return {\n ...fromCombinedAnswer,\n categoryId: categoryIdFromCategoryTempExistingAnswer,\n };\n } else if (\n !existingAnswerFromCategoryTemplatePayload ||\n !existingAnswerFromStore\n ) {\n // return answer if it doesn't exists\n return fromCombinedAnswer;\n } else {\n return null;\n }\n })\n .filter(Boolean);\n\n const newCategories = category\n ?.map(category => {\n return {\n jid: stripUUID(category.jid),\n name: category.context.name,\n color: category.context.color,\n };\n })\n .filter(Boolean);\n const updatedBots = state.bots.map(bot => {\n if (bot.jid === state.bot.jid) {\n return {\n ...bot,\n answerCount: newAnswers.length,\n };\n }\n return bot;\n });\n return {\n ...state,\n bots: updatedBots,\n bot: {\n ...state.bot,\n answerCount: newAnswers.length,\n categories: [...state.bot.categories, ...newCategories],\n answers: newAnswers,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { CHAT_ERROR_REPLY } from 'constants/answerbank/chatlist';\nimport {\n ADD_TO_CHAT_LIST,\n CLEAR_CHAT_LIST,\n PUSH_CHAT_ANSWER,\n PUSH_CHAT_ERROR_REPLY,\n PUSH_CHAT_QUESTION,\n UPDATE_CHAT_LIST_ITEM,\n} from 'store/action';\nimport { extractAnswerData } from '../helpers/bot/answers';\n\nexport const chatListReducer = (state, action) => {\n switch (action.type) {\n case ADD_TO_CHAT_LIST:\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: [...state.bot.chatList, ...action.payload],\n },\n };\n\n case PUSH_CHAT_QUESTION: {\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: [\n ...state.bot.chatList,\n {\n question: action.payload?.text,\n // add question payload sent to api\n questionPayload: action.payload,\n },\n ],\n },\n };\n }\n\n case PUSH_CHAT_ERROR_REPLY: {\n const { chatList } = state.bot;\n\n const updatedChatList = chatList.map((chatItem, idx) => {\n if (idx === chatList?.length - 1 && !chatItem.answer) {\n return {\n ...chatItem,\n answer: CHAT_ERROR_REPLY,\n answerContext: {\n error: action.payload,\n },\n };\n }\n return chatItem;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: updatedChatList,\n },\n };\n }\n\n case PUSH_CHAT_ANSWER: {\n const { chatList } = state.bot;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const chatAnswer = extractAnswerData(action.payload, isBotOpenAIEnabled);\n\n const updatedChatList = chatList.map((chatItem, idx) => {\n if (idx === chatList?.length - 1 && !chatItem.answer) {\n return {\n ...chatItem,\n answer: chatAnswer,\n answerContext: {\n ...action.payload?.context,\n error: action.payload?.error || undefined,\n name: action.payload?.name,\n },\n };\n }\n return chatItem;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: updatedChatList,\n },\n webSocket: {\n ...state.webSocket,\n askQuestionActions: [],\n askQuestionActiveAction: null,\n sending: false,\n },\n };\n }\n\n case CLEAR_CHAT_LIST:\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: [],\n },\n };\n\n case UPDATE_CHAT_LIST_ITEM: {\n const { answer, msgIndex, chatItemToChangeAnswerJID } = action.payload;\n const { chatList } = state.bot;\n const updatedChatList = [];\n let currentChatItem = {};\n\n if (chatList.length) {\n for (let i = 0; i < chatList?.length; i++) {\n if (msgIndex === i) {\n currentChatItem = {\n question: chatList[i].question,\n answer: {\n jid: answer.jid,\n show_text: answer.show_text,\n show_html: answer.show_html || answer.show_text,\n text: answer.text,\n qlinks: answer.qlinks || null,\n score: answer.score || null,\n hitcount: answer.hitcount || null,\n editor: answer.editor || null,\n type: answer.type,\n sequence: answer.sequence || [],\n },\n idx: i,\n };\n updatedChatList.push(currentChatItem);\n } else {\n updatedChatList.push({ ...chatList[i] });\n }\n }\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n chatList: updatedChatList,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import {\n ADD_INTEGRATION,\n AUTO_OPEN_INTEGRATION_PANEL,\n DELETE_INTEGRATION,\n SET_INTEGRATIONS,\n RESET_INTEGRATION_PANEL_AND_PERMIT,\n SET_INTEGRATION_ACTIVE_PANEL,\n SET_INTEGRATION_PANEL_PERMIT,\n UPDATE_INTEGRATION,\n UPDATE_VIBER_WEBHOOK_STATUS,\n OPEN_EDIT_PANEL_INTEGRATION,\n SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n CLOSE_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n SET_DEMO_BACKGROUND,\n SET_INTEGRATION_IDENTIFIER,\n SET_INTEGRATION_PATH,\n SET_DEMO_BACKGROUND_TO_CLOUD_PATH,\n SET_LAUNCHER_AVATAR_TO_CLOUD_PATH,\n SET_HEADER_AVATAR_TO_CLOUD_PATH,\n SET_RESPONSE_AVATAR_TO_CLOUD_PATH,\n SHOW_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n CLOSE_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n SAVE_NEW_INTEGRATION,\n} from 'store/action';\nimport { getImageCloudPath } from 'store/reducers/helpers/bot/integrations';\nimport { botStatistics } from 'utils/bot';\n\nexport const integrationsReducer = (state, action) => {\n switch (action.type) {\n case SET_INTEGRATIONS:\n const allIntegrations = action.payload.map((i, key) => {\n return {\n key,\n ...i,\n isWeak: botStatistics(i).isWeakBot,\n showWeakStat: botStatistics(i).isWeakBot,\n };\n });\n return {\n ...state,\n bot: { ...state.bot, integrations: allIntegrations },\n };\n case ADD_INTEGRATION: {\n return {\n ...state,\n bot: {\n ...state.bot,\n integrations: [action.payload, ...state.bot.integrations],\n },\n };\n }\n case UPDATE_VIBER_WEBHOOK_STATUS: {\n const updatedIntegrations = [];\n for (const item of state.bot.integrations) {\n if (item.id === action.payload.id) {\n updatedIntegrations.push({\n ...item,\n status: action.payload.status,\n });\n } else {\n updatedIntegrations.push(item);\n }\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n integrations: [...updatedIntegrations],\n },\n };\n }\n case UPDATE_INTEGRATION: {\n const updatedIntegrations = [];\n for (const item of state.bot.integrations) {\n if (item.id === action.payload.id) {\n updatedIntegrations.push(action.payload);\n } else {\n updatedIntegrations.push(item);\n }\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n integrations: [...updatedIntegrations],\n },\n };\n }\n\n case DELETE_INTEGRATION: {\n const filteredIntegrations = state.bot.integrations.filter(\n item => item.id !== action.payload\n );\n return {\n ...state,\n bot: { ...state.bot, integrations: [...filteredIntegrations] },\n };\n }\n\n case SET_INTEGRATION_PANEL_PERMIT:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n permit: action.payload,\n },\n },\n },\n };\n\n case AUTO_OPEN_INTEGRATION_PANEL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n permit: 3,\n activePanel: 3,\n },\n },\n },\n };\n\n case SET_INTEGRATION_ACTIVE_PANEL: {\n const { panel, permit } = action.payload;\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n permit:\n permit || state.bot.currentIntegrationSettings.panel?.permit,\n activePanel: Number(panel),\n },\n },\n },\n };\n }\n\n case RESET_INTEGRATION_PANEL_AND_PERMIT:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n permit: 1,\n activePanel: 1,\n },\n },\n },\n };\n\n case OPEN_EDIT_PANEL_INTEGRATION: {\n const { panel, permit } = action.payload;\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n permit: !permit\n ? state.bot.currentIntegrationSettings.panel?.permit\n : permit,\n activePanel:\n panel ||\n state.bot.currentIntegrationSettings.panel?.activePanel,\n postCustomizationConfirmEditModal: {\n isOpen: false,\n editable: true,\n },\n },\n },\n },\n };\n }\n\n case SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL:\n const { panel, permit } = state.bot.currentIntegrationSettings.panel;\n const LAST_PANEL_AND_PERMIT_KEY = 3;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n activePanel:\n panel > permit\n ? LAST_PANEL_AND_PERMIT_KEY\n : state.bot.currentIntegrationSettings.panel?.activePanel,\n postCustomizationConfirmEditModal: {\n isOpen: true,\n editable: false,\n selectedPanel: action.payload.panel,\n },\n },\n },\n },\n };\n\n case CLOSE_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n postCustomizationConfirmEditModal: {\n isOpen: false,\n editable: false,\n },\n },\n },\n },\n };\n\n case SET_INTEGRATION_IDENTIFIER:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n identifier: action.payload,\n },\n },\n };\n\n case SET_INTEGRATION_PATH:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n path: action.payload,\n },\n },\n };\n\n case SAVE_NEW_INTEGRATION:\n case SHOW_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n preCustomizationConfirmEditModal: {\n isOpen: true,\n },\n },\n },\n },\n };\n\n case CLOSE_PRE_CUSTOMIZATION_EDIT_WIDGET_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n ...state.bot.currentIntegrationSettings.panel,\n preCustomizationConfirmEditModal: {\n isOpen: false,\n },\n },\n },\n },\n };\n\n case SET_DEMO_BACKGROUND: {\n const background = action.payload;\n // custom bg\n const bgSelectOptions = ['light', 'dark', 'custom'];\n if (\n (typeof background === 'string' &&\n !bgSelectOptions?.includes(background)) ||\n background instanceof File\n ) {\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n background: background,\n },\n },\n },\n };\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n background,\n },\n },\n },\n };\n }\n\n case SET_DEMO_BACKGROUND_TO_CLOUD_PATH: {\n const currentBackgroundImage =\n state.bot.currentIntegrationSettings?.settings?.background;\n\n const cloudPath = getImageCloudPath(\n currentBackgroundImage,\n state.bot?.jid,\n 'demo-background'\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n background: cloudPath || currentBackgroundImage,\n },\n },\n };\n }\n\n case SET_LAUNCHER_AVATAR_TO_CLOUD_PATH: {\n const currentLauncherAvatar =\n state.bot.currentIntegrationSettings?.settings?.launcherAvatar;\n\n console.log(\n 'the settings',\n state.bot.currentIntegrationSettings?.settings\n );\n\n const cloudPath = getImageCloudPath(\n currentLauncherAvatar,\n state.bot?.jid,\n 'launcherAvatar'\n );\n\n console.log('the cloud path', cloudPath, currentLauncherAvatar);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n launcherAvatar: cloudPath || currentLauncherAvatar,\n },\n },\n },\n };\n }\n\n case SET_HEADER_AVATAR_TO_CLOUD_PATH: {\n const currentHeaderAvatar =\n state.bot.currentIntegrationSettings?.settings?.headerAvatar;\n const cloudPath = getImageCloudPath(\n currentHeaderAvatar,\n state.bot?.jid,\n 'headerAvatar'\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n headerAvatar: cloudPath || currentHeaderAvatar,\n },\n },\n },\n };\n }\n\n case SET_RESPONSE_AVATAR_TO_CLOUD_PATH: {\n const currentHeaderAvatar =\n state.bot.currentIntegrationSettings?.currentIntegrationSettings\n ?.headerAvatar;\n const cloudPath = getImageCloudPath(\n currentHeaderAvatar,\n state.bot?.jid,\n 'responseAvatar'\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n headerAvatar: cloudPath || currentHeaderAvatar,\n },\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { isEmpty, omit } from 'lodash';\n\nimport {\n DEFAULT_WIDGET_VERSION,\n INITIAL_BOT_INTEGRATION_DATA,\n INTEGRATION_SETTING_PROP_TO_EXCLUDE,\n LAUNCHER_ONLY_AVATAR,\n} from 'constants/botCustomizer';\nimport { API_BASE_URL } from 'constants/websocket';\nimport {\n generateAuthenticatedUserNPMHTMLTag,\n generateBotComponent,\n generateEncryptedBot,\n generateMobileHTMLTagHeader,\n generateWebHTMLTagHeader,\n} from 'services/fileGenerator.service';\nimport {\n ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n CLEAR_COMPONENT_INTEGRATION_DATA,\n CLEAR_CURRENT_INTEGRATION_ID,\n REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n RESET_APPEARANCE_PANEL_SETTINGS,\n RESET_CONFIG_PANEL_SETTINGS,\n RESET_INTEGRATION_SETTINGS,\n RESET_PLACEMENT_PANEL_SETTINGS,\n RESET_SEARCH_CUSTOMIZER_DATA,\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_CURRENT_INTEGRATION_DATA,\n SET_CURRENT_INTEGRATION_TYPE,\n SET_INTEGRATION_BOT_VERSION,\n SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE,\n SET_INTEGRATION_HANDOFF_LABEL,\n SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE,\n SET_INTEGRATION_WIDGET_TYPE,\n SET_LAUNCHER_LABEL,\n SET_LAUNCHER_SHAPE,\n SET_MAX_INTERACTION_HISTORY,\n SET_REPLY_BUBBLE_GRADIENT,\n SET_WIDGET_AVATAR_COLOR,\n SET_HEADER_AVATAR,\n SET_WIDGET_CHAT_BUBBLE_COLOR,\n SET_WIDGET_FONT_COLOR,\n SET_WIDGET_FONT_SIZE,\n SET_WIDGET_HEIGHT,\n SET_WIDGET_LAUNCHER_ICON,\n SET_WIDGET_LAUNCHER_AVATAR_TYPE,\n SET_WIDGET_LAUNCHER_POSITION,\n SET_WIDGET_PLACEHOLDER,\n SET_WIDGET_SUBTITLE,\n SET_WIDGET_THEME_COLOR,\n SET_WIDGET_TITLE,\n SET_WIDGET_WELCOME_MESSAGE,\n TOGGLE_AUTO_OPEN_WIDGET_SETTING,\n TOGGLE_INTEGRATION_HANDOFF_CALLBACK,\n TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM,\n TOGGLE_INTERACTION_HISTORY,\n TOGGLE_SHOW_CLOSE_BUTTON,\n TOGGLE_WIDGET_SPEECH_TO_TEXT,\n TOGGLE_WIDGET_TEXT_TO_SPEECH,\n TOGGLE_WIDGET_TYPING_EXPERIENCE,\n TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH,\n SET_HEADER_AVATAR_TYPE,\n SET_RESPONSE_AVATAR_TYPE,\n SET_RESPONSE_AVATAR,\n SAVE_NEW_INTEGRATION,\n} from 'store/action';\nimport { stripUUID } from 'utils';\nimport { cssVariables } from 'styles/root';\n\nexport const integrationSettingsReducer = (state, action) => {\n switch (action.type) {\n case RESET_CONFIG_PANEL_SETTINGS:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n botTitle:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .botTitle,\n subtitle:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .subtitle,\n placeholder:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .placeholder,\n welcomeMessage:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .welcomeMessage,\n },\n },\n },\n };\n\n case SET_HEADER_AVATAR:\n const avatar = action.payload;\n const launcherAvatarType =\n state.bot.currentIntegrationSettings.settings?.launcherAvatarType;\n const headerAvatarType =\n state.bot.currentIntegrationSettings.settings?.headerAvatarType;\n const launcherAvatar =\n state.bot.currentIntegrationSettings.settings?.launcherAvatar;\n\n const newAvatar =\n launcherAvatarType === 'icon' && headerAvatarType === 'icon'\n ? launcherAvatar\n : !isEmpty(avatar)\n ? avatar\n : state.bot.currentIntegrationSettings.settings?.headerAvatar;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n headerAvatar: newAvatar,\n },\n },\n },\n };\n\n case SET_RESPONSE_AVATAR: {\n const avatar = action.payload;\n const type =\n state.bot.currentIntegrationSettings.settings?.responseAvatarType;\n // automatically picked launcher avatar if no header avatar\n const launcherAvatar =\n state.bot.currentIntegrationSettings.settings?.launcherAvatar;\n // automatically picked if no response avatar\n const headerAvatar =\n type !== 'none'\n ? state.bot.currentIntegrationSettings.settings?.headerAvatar ||\n launcherAvatar\n : null;\n const headerSVGIconTypeAvatar =\n type === 'icon' && !LAUNCHER_ONLY_AVATAR.includes(avatar)\n ? avatar\n : null;\n const launcherSVGIconTypeAvatar =\n type === 'icon' && !LAUNCHER_ONLY_AVATAR.includes(avatar)\n ? avatar\n : null;\n\n const newAvatar =\n type === 'icon' &&\n (headerSVGIconTypeAvatar || launcherSVGIconTypeAvatar)\n ? headerAvatar || launcherAvatar\n : // for now, we didnt implement custom image for response avatar\n type === 'custom'\n ? avatar || headerAvatar\n : null;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n headerAvatar: newAvatar,\n },\n },\n },\n };\n }\n\n case SET_HEADER_AVATAR_TYPE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n headerAvatarType: action.payload,\n // remove avatar every time type changes\n headerAvatar: null,\n },\n },\n },\n };\n\n case SET_RESPONSE_AVATAR_TYPE: {\n const type = action.payload;\n const launcherAvatar =\n state.bot.currentIntegrationSettings.settings.launcherAvatar;\n const oldAvatarProp =\n state.bot.currentIntegrationSettings.settings.avatar;\n const currentAvatar =\n state.bot.currentIntegrationSettings.settings.responseAvatar;\n const launcherAvatarType =\n state.bot.currentIntegrationSettings.settings.launcherAvatarType;\n\n const responseAvatar =\n type === 'icon' && launcherAvatarType === 'icon'\n ? launcherAvatar || oldAvatarProp\n : type === 'none'\n ? null\n : currentAvatar;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n responseAvatar,\n responseAvatarType: type,\n },\n },\n },\n };\n }\n\n case RESET_APPEARANCE_PANEL_SETTINGS:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n launcherAvatar:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .launcherAvatar,\n responseAvatar:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .responseAvatar,\n avatarPosition:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .avatarPosition,\n height:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .height,\n textColor:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .textColor,\n headerAvatarType:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .headerAvatarType,\n replyBubbleGradient:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .replyBubbleGradient,\n bubbleColor:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .bubbleColor,\n fontSize:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .fontSize,\n autoOpen:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .autoOpen,\n speechToText:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .speechToText,\n textToSpeech:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .textToSpeech,\n typingExperience:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .typingExperience,\n showCloseButton:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .showCloseButton,\n },\n },\n },\n };\n\n case RESET_PLACEMENT_PANEL_SETTINGS:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n background:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .background,\n shape:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .shape,\n src: state.bot.currentIntegrationSettings.initialSettings.settings\n .src,\n position:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .position,\n label:\n state.bot.currentIntegrationSettings.initialSettings.settings\n .label,\n },\n },\n },\n };\n\n case SAVE_NEW_INTEGRATION:\n case SET_CURRENT_INTEGRATION_DATA: {\n const {\n settings,\n type,\n id,\n widgetVersion: widgetVersionFromPayload,\n ...restOfPayload\n } = action.payload;\n const { botTitle, viber_version, ...restOfSettingsProp } = settings || {};\n const { bot, messengerCallback, pubAskedQuestion, publicKey, sentinel } =\n state;\n const currentWidgetVersion =\n widgetVersionFromPayload ||\n bot.currentIntegrationSettings?.widgetVersion ||\n DEFAULT_WIDGET_VERSION;\n\n const folderPath = stripUUID(bot.jid);\n const integrationID = stripUUID(id);\n const integrationConfigURL = `${folderPath}/${integrationID}/config.json`;\n let code1 = null;\n let code2 = null;\n\n switch (type) {\n // WEBHOOK: REACT_APP_API_BASE_URL\n // JID: from current integration JID\n // MESSENGERCALLBACKJID: created thru spawn create\n // >> when user first time create a facebook integration\n // >> or value fetched from `alias_list`\n // PUBLICKEY: publicKey from global store; aslo create thru spawn create,\n // >> when user first time created any integration\n // >> or value fetched from `alias_list`\n case 'facebook-messenger':\n code1 = `${API_BASE_URL}/js_public/walker_callback/${stripUUID(\n id\n )}/${stripUUID(messengerCallback)}?key=${publicKey}`;\n\n code2 = action.payload.settings?.fb_verify_token;\n break;\n\n case 'web':\n code1 = {\n html: {\n botComponent: generateBotComponent(\n bot.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n action.payload,\n integrationConfigURL,\n action.payload.settings.height,\n false,\n currentWidgetVersion\n ),\n headerCode: generateWebHTMLTagHeader(\n action.payload.settings.authenticatedUser,\n currentWidgetVersion\n ),\n },\n npm: {\n botComponent: generateBotComponent(\n bot.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n action.payload,\n integrationConfigURL,\n action.payload.settings.height,\n false,\n currentWidgetVersion\n ),\n headerCode: generateAuthenticatedUserNPMHTMLTag(\n action.payload.settings.authenticatedUser\n ),\n },\n wordpress: {\n botComponent: generateEncryptedBot(\n bot.jid,\n sentinel,\n integrationConfigURL,\n publicKey,\n pubAskedQuestion\n ),\n },\n };\n break;\n\n case 'wordpress':\n code1 = {\n html: {\n botComponent: generateBotComponent(\n bot.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n action.payload,\n integrationConfigURL,\n action.payload.settings.height,\n false,\n currentWidgetVersion\n ),\n headerCode: generateWebHTMLTagHeader(\n action.payload.settings.authenticatedUser,\n currentWidgetVersion\n ),\n },\n npm: {\n botComponent: generateBotComponent(\n bot.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n action.payload,\n integrationConfigURL,\n action.payload.settings.height,\n false,\n currentWidgetVersion\n ),\n headerCode: generateAuthenticatedUserNPMHTMLTag(\n action.payload.settings.authenticatedUser\n ),\n },\n wordpress: {\n botComponent: generateEncryptedBot(\n bot.jid,\n sentinel,\n integrationConfigURL,\n publicKey,\n pubAskedQuestion\n ),\n },\n };\n break;\n\n case 'mobile':\n code2 = generateMobileHTMLTagHeader(action.payload.settings);\n\n code1 = generateBotComponent(\n bot.jid,\n sentinel,\n publicKey,\n pubAskedQuestion,\n action.payload,\n integrationConfigURL,\n action.payload.settings.height,\n true,\n currentWidgetVersion\n );\n break;\n\n case 'viber':\n default:\n break;\n }\n const integrationId = id || state.bot.currentIntegrationSettings?.id;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n // spread initial settings\n ...INITIAL_BOT_INTEGRATION_DATA,\n // add current settings\n ...state.bot.currentIntegrationSettings,\n identifier: state.bot.name,\n id: integrationId,\n type,\n code1,\n code2,\n ...restOfPayload,\n widgetVersion: currentWidgetVersion,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n ...restOfSettingsProp,\n botTitle: action.payload?.settings?.botTitle\n ? botTitle\n : state.bot.currentIntegrationSettings.settings?.botTitle ||\n state.bot.currentIntegrationSettings.identifier,\n viber_version:\n viber_version ||\n state.bot.currentIntegrationSettings?.settings?.viber_version ||\n undefined,\n },\n // state used to reset settings\n initialSettings: isEmpty(\n state.bot.currentIntegrationSettings.initialSettings\n )\n ? {\n identifier: state.bot.name,\n ...omit(\n state.bot.currentIntegrationSettings,\n INTEGRATION_SETTING_PROP_TO_EXCLUDE\n ),\n id: integrationId,\n type,\n ...restOfPayload,\n code1,\n code2,\n widgetVersion: currentWidgetVersion,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n botTitle: action.payload?.settings?.botTitle\n ? botTitle\n : state.bot.currentIntegrationSettings.settings\n ?.botTitle ||\n state.bot.currentIntegrationSettings?.identifier ||\n state.bot.name,\n ...restOfSettingsProp,\n viber_version:\n viber_version ||\n state.bot.currentIntegrationSettings?.settings\n ?.viber_version ||\n undefined,\n },\n }\n : state.bot.currentIntegrationSettings.initialSettings,\n },\n },\n };\n }\n\n case CLEAR_CURRENT_INTEGRATION_ID:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n id: null,\n },\n },\n };\n\n case SET_CURRENT_INTEGRATION_TYPE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n type: action.payload,\n },\n },\n };\n\n case CLEAR_COMPONENT_INTEGRATION_DATA:\n case RESET_INTEGRATION_SETTINGS:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n id: null,\n panel: {\n permit: 1,\n activePanel: 1,\n },\n ...INITIAL_BOT_INTEGRATION_DATA,\n widgetVersion: DEFAULT_WIDGET_VERSION,\n initialSettings: {},\n },\n },\n };\n\n case RESET_SEARCH_CUSTOMIZER_DATA:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n panel: {\n permit: 1,\n activePanel: 1,\n },\n ...INITIAL_BOT_INTEGRATION_DATA,\n widgetVersion: 'v2',\n settings: {\n ...INITIAL_BOT_INTEGRATION_DATA.settings,\n type: 'search',\n },\n },\n },\n };\n\n case SET_INTEGRATION_BOT_VERSION: {\n console.log('action.payload', action.payload);\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n widgetVersion: action.payload,\n },\n },\n };\n }\n\n case SET_INTEGRATION_WIDGET_TYPE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n type: action.payload,\n color:\n action.payload !== 'search'\n ? cssVariables.primaryColor\n : state.bot.currentIntegrationSettings.settings.color,\n },\n },\n },\n };\n\n case SET_WIDGET_HEIGHT: {\n const height =\n typeof action.payload === 'string' && action.payload.includes('px')\n ? Number(action.payload)\n : `${Number(action.payload)}px`;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n height,\n },\n },\n },\n };\n }\n\n case SET_WIDGET_PLACEHOLDER:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n placeholder: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_THEME_COLOR:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n color: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_FONT_COLOR:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n textColor: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_LAUNCHER_ICON: {\n const newLauncherIcon = action.payload;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n launcherAvatar: newLauncherIcon,\n },\n },\n },\n };\n }\n\n case SET_WIDGET_LAUNCHER_AVATAR_TYPE: {\n const type = action.payload;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n launcherAvatarType: type,\n },\n },\n },\n };\n }\n\n case SET_WIDGET_AVATAR_COLOR:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n iconColor: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_TITLE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n botTitle: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_SUBTITLE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n subtitle: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_WELCOME_MESSAGE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n welcomeMessage: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n authenticatedUser: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_INTERACTION_HISTORY:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n interactionHistory: action.payload,\n },\n },\n },\n };\n\n case SET_MAX_INTERACTION_HISTORY:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n maxInteraction: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_CHAT_BUBBLE_COLOR:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n bubbleColor: action.payload,\n },\n },\n },\n };\n\n case SET_REPLY_BUBBLE_GRADIENT:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n replyBubbleGradient: action.payload,\n // to deprecate\n bubbleGradient: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_FONT_SIZE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n fontSize: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_AUTO_OPEN_WIDGET_SETTING:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n autoOpen: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_WIDGET_SPEECH_TO_TEXT:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n speechToText: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_WIDGET_TYPING_EXPERIENCE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n typingExperience: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_WIDGET_TEXT_TO_SPEECH:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n speechToText: action.payload,\n },\n },\n },\n };\n\n case TOGGLE_SHOW_CLOSE_BUTTON:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n showCloseButton: action.payload,\n },\n },\n },\n };\n\n case SET_WIDGET_LAUNCHER_POSITION:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n position: action.payload,\n },\n },\n },\n };\n\n case SET_LAUNCHER_LABEL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n label: action.payload,\n },\n },\n },\n };\n\n case SET_LAUNCHER_SHAPE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n shape: action.payload,\n },\n },\n },\n };\n\n case SET_INTEGRATION_HANDOFF_LABEL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n handoffLabel: action.payload,\n },\n },\n },\n };\n\n case SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n submittedFormMessage: action.payload,\n },\n },\n },\n };\n\n case SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n cancelledFormMessage: action.payload,\n },\n },\n },\n };\n\n case ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD: {\n const newUserInfoField = { label: '', attribute: '', mandatory: false };\n\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n\n formFields: state.bot.currentIntegrationSettings.settings\n ?.formFields?.length\n ? [\n ...state.bot.currentIntegrationSettings.settings.formFields,\n newUserInfoField,\n ]\n : [newUserInfoField],\n },\n },\n },\n };\n }\n\n case REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD: {\n const formFields =\n state.bot.currentIntegrationSettings.settings?.formFields || [];\n\n if (formFields.length) {\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n\n formFields: !isEmpty(action.payload)\n ? formFields.filter(\n field => action.payload !== field.attribute\n )\n : formFields.splice(0, formFields.length - 1),\n },\n },\n },\n };\n }\n return state;\n }\n\n case CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD: {\n if (state.bot.currentIntegrationSettings.settings?.formFields?.length) {\n const formFields =\n state.bot.currentIntegrationSettings.settings.formFields;\n const { key, label, attribute, mandatory } = action.payload;\n const updatedFields = formFields.map((field, idx) => {\n if (idx === key) {\n return {\n label,\n attribute,\n mandatory,\n };\n }\n return field;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n\n formFields: updatedFields,\n },\n },\n },\n };\n }\n return state;\n }\n\n case TOGGLE_INTEGRATION_HANDOFF_CALLBACK:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n callbackEmail: Boolean(\n !state.bot.currentIntegrationSettings.settings.callbackEmail\n ),\n },\n },\n },\n };\n\n case TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n settings: {\n ...state.bot.currentIntegrationSettings.settings,\n displayFormFields: Boolean(\n !state.bot.currentIntegrationSettings.settings.displayFormFields\n ),\n },\n },\n },\n };\n\n case SET_BOT_CUSTOMIZER_ACTIVE_PANEL:\n return {\n ...state,\n bot: {\n ...state.bot,\n currentIntegrationSettings: {\n ...state.bot.currentIntegrationSettings,\n customizerActivePanel: action.payload,\n },\n },\n };\n\n default:\n return state;\n }\n};\n","import { TEST_STATUS } from 'constants/testSuite';\nimport {\n ADD_TEST_CASE,\n ADD_TEST_SUITE,\n DELETE_TEST_CASE,\n DELETE_TEST_SUITE,\n SET_SELECTED_TEST_SUITE,\n SET_TEST_CASES,\n SET_TEST_SUITES,\n UPDATE_TEST_CASE,\n UPDATE_TEST_SUITE,\n RUN_TEST_SUITE,\n} from 'store/action';\nimport {\n createTestCaseData,\n createTestSuiteDataFromAPI,\n updateTestCase,\n} from 'utils/testSuite';\n\nexport const testSuitesReducer = (state, action) => {\n // get test status from parsed test case\n const getTestSuiteTestSummary = testCases => {\n const lastTestStatus = {\n success: 0,\n fail: 0,\n unknown: 0,\n outdated: 0,\n };\n const result = testCases.reduce((accumulator, result) => {\n if (result.testResult === TEST_STATUS.PASSED) {\n accumulator.success++;\n } else if (result.testResult === TEST_STATUS.FAILED) {\n accumulator.fail++;\n } else if (result.testResult === TEST_STATUS.EDITED) {\n accumulator.outdated++;\n } else {\n accumulator.unknown++;\n }\n return accumulator;\n }, lastTestStatus);\n return result;\n };\n\n switch (action.type) {\n case SET_TEST_SUITES: {\n const suitesData = createTestSuiteDataFromAPI(action.payload);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuites: suitesData,\n },\n };\n }\n\n case SET_SELECTED_TEST_SUITE: {\n const { testSuite, testCases } = action.payload;\n const { testCases: tc, lastTestStatus } = createTestCaseData(testCases);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuite: {\n ...testSuite,\n testCases: tc,\n lastTestStatus,\n },\n },\n };\n }\n\n case SET_TEST_CASES:\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuite: {\n ...action.payload,\n },\n },\n };\n\n case ADD_TEST_SUITE:\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuites: [...state.bot.testSuites, action.payload],\n },\n };\n\n case ADD_TEST_CASE: {\n const selectedTestSuiteJID = state.bot?.testSuite?.jid;\n const { testCases: newTestCase } = createTestCaseData(action.payload);\n const allTestCases = [...state.bot.testSuite?.testCases, ...newTestCase];\n\n const updatedTestSuites = state.bot?.testSuites?.map(ts => {\n if (selectedTestSuiteJID === ts.jid) {\n return {\n ...ts,\n testCount: Number(allTestCases.length) + 1,\n lastTestStatus: getTestSuiteTestSummary(allTestCases),\n };\n }\n return ts;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuites: updatedTestSuites || [],\n testSuite: {\n ...state.bot.testSuite,\n testCases: allTestCases,\n lastTestStatus: getTestSuiteTestSummary(allTestCases),\n },\n },\n };\n }\n case UPDATE_TEST_CASE: {\n const selectedTestCase = action.payload;\n const testCases = state.bot.testSuite?.testCases;\n const selectedTestSuite = state.bot?.testSuite;\n\n const updatedTestCases = updateTestCase(selectedTestCase, testCases);\n const updatedTestSuite = {\n ...selectedTestSuite,\n lastTestStatus: getTestSuiteTestSummary(updatedTestCases),\n };\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuite: {\n ...state.bot.testSuite,\n ...updatedTestSuite,\n testCases: updatedTestCases,\n },\n },\n };\n }\n\n case UPDATE_TEST_SUITE: {\n const { jid } = action.payload;\n let testSuite = createTestSuiteDataFromAPI(action.payload);\n const testSuites = state.bot.testSuites?.map(ts => {\n if (ts.jid === jid) {\n const suiteData = createTestSuiteDataFromAPI(action.payload);\n testSuite = suiteData;\n return {\n ...ts,\n ...suiteData,\n };\n }\n return ts;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuites,\n testSuite,\n },\n };\n }\n\n case DELETE_TEST_CASE: {\n const { jid } = action.payload;\n const selectedTestSuiteJID = state.bot?.testSuite?.jid;\n const updatedTestCases = state.bot?.testSuite?.testCases.filter(\n item => item.jid !== jid\n );\n const updatedTestSuites = state.bot?.testSuites?.map(ts => {\n if (selectedTestSuiteJID === ts.jid) {\n return {\n ...ts,\n testCount: Number(updatedTestCases.length) + 1,\n lastTestStatus: getTestSuiteTestSummary(updatedTestCases),\n };\n }\n return ts;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuite: {\n ...state.bot.testSuite,\n testCases: updatedTestCases,\n lastTestStatus: getTestSuiteTestSummary(updatedTestCases),\n },\n testSuites: updatedTestSuites || [],\n },\n };\n }\n\n case RUN_TEST_SUITE: {\n const { testCases, lastTestStatus } = createTestCaseData(action.payload);\n\n const testSuites = state.bot.testSuites.map(testSuite => {\n if (testSuite.jid === state.bot.testSuite.jid) {\n return {\n ...testSuite,\n lastTestStatus,\n };\n }\n return testSuite;\n });\n\n const updatedTestSuite = {\n ...state.bot.testSuite,\n lastTestStatus: lastTestStatus,\n testCases: testCases,\n };\n\n return {\n ...state,\n bot: {\n ...state.bot,\n testSuites,\n testSuite: updatedTestSuite,\n },\n };\n }\n\n case DELETE_TEST_SUITE:\n const filteredTestSuites = state.bot.testSuites.filter(\n item => item.jid !== action.payload\n );\n return {\n ...state,\n bot: { ...state.bot, testSuites: [...filteredTestSuites] },\n };\n\n default:\n return state;\n }\n};\n","import { orderBy } from 'lodash';\nimport {\n OPEN_ANSWER_EDITOR_CREATE_MODE,\n CLOSE_ANSWER_EDITOR,\n CLOSE_RESPONSE_PICKER_MODAL,\n CLOSE_SIMILAR_QUESTIONS_MODAL,\n SET_ANSWER_EDITOR_LINKED_QUESTIONS,\n SET_ANSWER_EDITOR_SELECTED_ANSWER,\n SHOW_RESPONSE_PICKER_MODAL,\n SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD,\n SHOW_SIMILAR_QUESTIONS_MODAL,\n UPDATE_ANSWER_EDITOR_LINKED_QUESTIONS,\n UPDATE_RESPONSE_PICKER_ANSWERS,\n UPDATE_SIMILAR_QUESTIONS_AFTER_HARD_LINK,\n UPDATE_SIMILAR_QUESTIONS_MODAL,\n UPDATE_ANSWER_EDITOR_ANSWER,\n SHOW_QUESTION_EDITOR,\n CLOSE_QUESTION_EDITOR,\n PUSH_ANSWER_AS_RESPONSE_PICKER_BEST_ANSWER,\n REMOVE_HARD_LINK_FROM_RESPONSE_PICKER,\n UPDATE_RESPONSE_PICKER_SIMILAR_QUESTIONS,\n UPDATE_QUESTION_EDITOR,\n PUSH_AS_QUESTION_EDITOR_SELECTED_ANSWER,\n UPDATE_QUESTION_EDITOR_SIMILAR_QUESTIONS,\n REMOVE_HARD_LINK_FROM_QUESTION_EDITOR,\n SET_ANSWER_EDITOR_CARD_INSIGHTS,\n SET_ANSWER_EDITOR_GRAPH_INSIGHTS,\n SET_ANSWER_EDITOR_TABLE_INSIGHTS,\n SET_CHAT_MODE,\n TOGGLE_EXPAND_SIDEBAR_CHAT,\n CLOSE_CHAT_ANSWER_IN_MODAL,\n SHOW_CHAT_ANSWER_IN_MODAL,\n SET_FILE_EDITOR_SELECTED_FILE,\n CLOSE_FILE_EDITOR,\n CLOSE_WEBSITE_EDITOR,\n UPDATE_FILE_EDITOR_FILE,\n SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n SET_SELECTED_AI_TOOL,\n OPEN_AI_TOOL_MODAL,\n CLOSE_AI_TOOL_MODAL,\n ADD_AI_TOOL,\n EDIT_AI_TOOL,\n SET_SHOW_WIDGET_AVATAR_PICKER_MODAL,\n CLOSE_WIDGET_AVATAR_PICKER_MODAL,\n OPEN_IMAGE_VIEWER_MODAL,\n CLOSE_IMAGE_VIEWER_MODAL,\n SET_SHOW_API_KEY_MODAL,\n CLOSE_API_KEY_MODAL,\n SET_PAGE_DETAILS,\n SET_WEBSITE_EDITOR_SELECTED_WEBSITE,\n UPDATE_WEBSITE_EDITOR_WEBSITE,\n} from 'store/action';\nimport {\n initialAnswerEditorModalState,\n initialChatAnswerInModal,\n initialChatSelectedSequenceInModal,\n initialFileEditorModalState,\n initialImageViewerModal,\n initialQuestionEditorModalState,\n initialResponsePickerModalState,\n initialWebsitEditorModalState,\n initialWebsiteSelectedPage,\n} from 'store/initialState';\nimport {\n createESAggregationsData,\n createESAnalyticsTableData,\n getESChartData,\n} from '../helpers/bot/analytics';\nimport {\n DEFAULT_ANSWER_VERSION,\n DEFAULT_EDITOR,\n MAX_ANSWER_SCORE_TO_DISABLE_FINAL_VERSION,\n ZSB_CHAT_BREAKER_ENCONDING,\n} from 'constants/answerbank/defaults';\nimport {\n categorizedWebsitePages,\n extractAnswerData,\n extractWebsiteScanList,\n pushCurrentAnswerAsTopAnswer,\n} from '../helpers/bot/answers';\nimport { extractQuestionData } from '../helpers/bot/questions';\nimport { UTCToLocal, getLocalTimeString } from 'utils/dates';\nimport { parseBoolean } from 'utils/dataTypes';\nimport { DEFAULT_URL_OUTPUT_FIElDS, NEW_OBJECT_ITEM } from 'constants/aiTools';\nimport { getNodesFromArray, handlePageResizing } from 'utils';\n\nexport const botUIReducer = (state, action) => {\n switch (action.type) {\n case SHOW_RESPONSE_PICKER_MODAL: {\n const { answerId, answers } = action.payload;\n const newResponsePickersAnswers = answerId\n ? pushCurrentAnswerAsTopAnswer(answers, answerId)\n : answers;\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...initialResponsePickerModalState,\n isOpen: true,\n ...action.payload,\n answers: newResponsePickersAnswers,\n },\n },\n },\n },\n };\n }\n\n case CLOSE_RESPONSE_PICKER_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: initialResponsePickerModalState,\n },\n },\n },\n };\n\n case UPDATE_RESPONSE_PICKER_ANSWERS: {\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const { answerId, answers, ...rest } = action.payload;\n const extractedAnswers = answers[0]?.score\n ? extractAnswerData(answers, isBotOpenAIEnabled)\n : answers;\n const newResponsePickersAnswers = answerId\n ? pushCurrentAnswerAsTopAnswer(extractedAnswers, answerId)\n : extractedAnswers;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n ...rest,\n answers: newResponsePickersAnswers,\n },\n },\n },\n },\n };\n }\n\n case SHOW_SIMILAR_QUESTIONS_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n similarQuestionsModal: {\n isOpen: true,\n ...action.payload,\n },\n },\n },\n },\n };\n }\n\n case CLOSE_SIMILAR_QUESTIONS_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n similarQuestionsModal: {\n isOpen: false,\n data: [],\n },\n },\n },\n },\n };\n }\n\n case UPDATE_SIMILAR_QUESTIONS_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n similarQuestionsModal: {\n ...state.bot.ui.modals.similarQuestionsModal,\n ...action.payload,\n },\n },\n },\n },\n };\n }\n\n case UPDATE_ANSWER_EDITOR_LINKED_QUESTIONS: {\n const answer = getNodesFromArray(action.payload);\n const updatedQuestion =\n state.bot.ui.modals.answerEditorModal?.questionsTab.map(item => {\n if (item?.jid === answer.jid) {\n return answer;\n }\n return item;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n questionsTab: updatedQuestion,\n },\n },\n },\n },\n };\n }\n\n case UPDATE_ANSWER_EDITOR_ANSWER: {\n const {\n similarAnswers: similarAnswerFromPayload,\n version,\n ...rest\n } = action.payload;\n let similarAnswers = null;\n const hasReachedMaxScore = similarAnswerFromPayload.some(\n response => response.score > MAX_ANSWER_SCORE_TO_DISABLE_FINAL_VERSION\n );\n if (similarAnswerFromPayload) {\n similarAnswers = orderBy(similarAnswerFromPayload, 'score', 'desc');\n }\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n answerTab: {\n ...state.bot.ui.modals.answerEditorModal.answerTab,\n ...rest,\n version: hasReachedMaxScore\n ? 'draft'\n : version || DEFAULT_ANSWER_VERSION,\n similarAnswers: similarAnswers || [],\n isVersionToggleDisabled: hasReachedMaxScore,\n },\n },\n },\n },\n },\n };\n }\n\n case UPDATE_FILE_EDITOR_FILE: {\n const { version } = action.payload;\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n fileEditorModal: {\n ...state.bot.ui.modals.fileEditorModal,\n file: {\n ...state.bot.ui.modals.fileEditorModal.file,\n version: version || DEFAULT_ANSWER_VERSION,\n },\n },\n },\n },\n },\n };\n }\n\n case UPDATE_WEBSITE_EDITOR_WEBSITE: {\n const { version } = action.payload;\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n websiteEditorModal: {\n ...state.bot.ui.modals.websiteEditorModal,\n website: {\n ...state.bot.ui.modals.websiteEditorModal.website,\n version: version || DEFAULT_ANSWER_VERSION,\n },\n },\n },\n },\n },\n };\n }\n\n case SET_ANSWER_EDITOR_LINKED_QUESTIONS: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n questionsTab: action.payload,\n },\n },\n },\n },\n };\n }\n\n case SET_ANSWER_EDITOR_SELECTED_ANSWER: {\n const { answer, args } = action.payload;\n const lastEdited = UTCToLocal(new Date(answer.lastEdited));\n const htmlString = Array.isArray(answer.show_html)\n ? answer.show_html.join(ZSB_CHAT_BREAKER_ENCONDING)\n : String(answer.show_html);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n isOpen: true,\n answerTab: {\n html: htmlString,\n rich_text: htmlString,\n rich_html_text: answer.show_html || answer.show_text,\n text: answer.text,\n type: answer.type,\n categoryId: answer.categoryId,\n id: args === 'clone' ? null : answer.jid,\n editor: answer.editor || DEFAULT_EDITOR,\n idx: Number.isInteger(args) ? args : undefined,\n clone: args === 'clone',\n quickReply: answer.quickReply,\n requestAgent: parseBoolean(answer.requestAgent),\n quickReplyOptions: answer.quickReplyOptions,\n version: answer?.version || DEFAULT_ANSWER_VERSION,\n lastEdited: answer.lastEdited\n ? getLocalTimeString(lastEdited)\n : null,\n },\n },\n },\n },\n },\n };\n }\n\n case SET_FILE_EDITOR_SELECTED_FILE: {\n const { file, args } = action.payload;\n const lastEdited = UTCToLocal(new Date(file.lastEdited));\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n fileEditorModal: {\n isOpen: true,\n file: {\n show_text: [],\n show_html: [],\n file_name: file.text,\n id: file.jid,\n idx: Number.isInteger(args) ? args : undefined,\n clone: args === 'clone',\n version: file?.version || DEFAULT_ANSWER_VERSION,\n lastEdited: file.lastEdited\n ? getLocalTimeString(lastEdited)\n : null,\n },\n },\n },\n },\n },\n };\n }\n\n case SET_ANSWER_EDITOR_CARD_INSIGHTS: {\n const { data, startDate, endDate } = action.payload;\n const aggregations = createESAggregationsData(data);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n insightsTab: {\n ...state.bot.ui.modals.answerEditorModal.insightsTab,\n aggregations,\n startDate,\n endDate,\n },\n },\n },\n },\n analytics: {\n ...state.bot.analytics,\n aggregations: state.bot?.analytics?.aggregations || aggregations,\n startDate,\n endDate,\n },\n },\n };\n }\n\n case SET_ANSWER_EDITOR_GRAPH_INSIGHTS: {\n const { data, startDate, endDate } = action.payload;\n const graph = getESChartData(startDate, endDate, data);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n insightsTab: {\n ...state.bot.ui.modals.answerEditorModal.insightsTab,\n graph,\n },\n },\n },\n },\n },\n };\n }\n\n case SET_ANSWER_EDITOR_TABLE_INSIGHTS: {\n const { data } = action.payload;\n const tableDataObj = createESAnalyticsTableData(data);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n ...state.bot.ui.modals.answerEditorModal,\n insightsTab: {\n ...state.bot.ui.modals.answerEditorModal.insightsTab,\n table: {\n ...state.bot.ui.modals.answerEditorModal.table,\n ...tableDataObj,\n },\n },\n },\n },\n },\n },\n };\n }\n\n case OPEN_ANSWER_EDITOR_CREATE_MODE: {\n const { similarAnswers: similarAnswerFromPayload, ...rest } =\n action.payload;\n let similarAnswers = null;\n if (similarAnswerFromPayload) {\n similarAnswers = orderBy(similarAnswerFromPayload, 'score', 'desc');\n }\n const hasReachedMaxScore = similarAnswerFromPayload.some(\n response => response.score > MAX_ANSWER_SCORE_TO_DISABLE_FINAL_VERSION\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: {\n isOpen: true,\n createMode: true,\n answerTab: {\n ...rest,\n similarAnswers: similarAnswers || [],\n isVersionToggleDisabled: hasReachedMaxScore,\n },\n },\n },\n },\n },\n };\n }\n\n case CLOSE_ANSWER_EDITOR: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n answerEditorModal: initialAnswerEditorModalState,\n },\n },\n },\n };\n }\n\n case CLOSE_FILE_EDITOR: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n fileEditorModal: initialFileEditorModalState,\n },\n },\n },\n };\n }\n\n case CLOSE_WEBSITE_EDITOR: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n websiteEditorModal: initialWebsitEditorModalState,\n },\n },\n websiteSelectedPages: initialWebsiteSelectedPage,\n },\n };\n }\n\n case SHOW_QUESTION_EDITOR: {\n const {\n similarQuestions,\n answerId,\n newQuestion,\n isHardLinked,\n answersWithScore,\n jid,\n ...rest\n } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const questionJID = state.bot?.ui?.modals?.questionEditorModal?.jid;\n const showDraftResponses = state.bot.showDraftResponses;\n\n const extractedQuestions = extractQuestionData(similarQuestions) || [];\n const allQuestions = state.bot.questions || [];\n const matchQuestion = allQuestions?.find(item => item.jid === jid);\n const linkedQuestionVersion =\n jid && matchQuestion?.version ? matchQuestion.version : 'draft';\n\n const extractedAnswers =\n (answersWithScore && answersWithScore[0]?.score) ||\n Array.isArray(answersWithScore)\n ? extractAnswerData(answersWithScore, isBotOpenAIEnabled)\n : answersWithScore || [];\n\n const allAnswers = !showDraftResponses\n ? extractedAnswers.filter(({ version }) => version === 'final')\n : extractedAnswers;\n\n const sortedAnswers = pushCurrentAnswerAsTopAnswer(allAnswers, answerId);\n\n const filteredQuestions = extractedQuestions.filter(\n item => item.jid !== questionJID\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: {\n jid,\n isOpen: true,\n ...rest,\n similarQuestions: filteredQuestions,\n answerId,\n answersWithScore: sortedAnswers,\n isHardLinked,\n version:\n rest.version ||\n state.bot.ui.modals.questionEditorModal?.version ||\n linkedQuestionVersion,\n },\n },\n },\n },\n };\n }\n\n case UPDATE_QUESTION_EDITOR: {\n const { answersWithScore, answerId, jid, ...rest } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const showDraftResponses = state.bot.showDraftResponses;\n const allQuestions = state.bot.questions || [];\n let linkedQuestionVersion = 'draft';\n if (jid) {\n const matchQuestion = allQuestions.find(item => item.jid === jid);\n if (matchQuestion) {\n linkedQuestionVersion = matchQuestion?.version;\n }\n }\n const extractedAnswers =\n (answersWithScore && answersWithScore[0]?.score) ||\n Array.isArray(answersWithScore)\n ? extractAnswerData(answersWithScore, isBotOpenAIEnabled)\n : answersWithScore || [];\n\n const allAnswers = !showDraftResponses\n ? extractedAnswers.filter(({ version }) => version === 'final')\n : extractedAnswers;\n\n const sortedAnswers = pushCurrentAnswerAsTopAnswer(allAnswers, answerId);\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: {\n ...state.bot.ui.modals.questionEditorModal,\n ...rest,\n answerId,\n answersWithScore: sortedAnswers,\n version:\n rest.version ||\n state.bot.ui.modals.questionEditorModal?.version ||\n linkedQuestionVersion,\n },\n },\n },\n },\n };\n }\n\n case UPDATE_QUESTION_EDITOR_SIMILAR_QUESTIONS: {\n const { similarQuestions, answerId, newQuestion, jid, ...rest } =\n action.payload;\n const questionJID = state.bot?.ui?.modals?.questionEditorModal?.jid;\n const extractedQuestions = extractQuestionData(similarQuestions) || [];\n\n const filteredQuestions = extractedQuestions.filter(\n item => item.jid !== questionJID\n );\n\n const allQuestions = state.bot.questions || [];\n let linkedQuestionVersion = 'draft';\n if (jid) {\n const matchQuestion = allQuestions.find(item => item.jid === jid);\n if (matchQuestion) {\n linkedQuestionVersion = matchQuestion?.version;\n }\n }\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: {\n ...state.bot.ui.modals.questionEditorModal,\n ...rest,\n newQuestion,\n similarQuestions: filteredQuestions || [],\n version: linkedQuestionVersion,\n },\n },\n },\n },\n };\n }\n\n case PUSH_AS_QUESTION_EDITOR_SELECTED_ANSWER: {\n const { answersWithScore, answerId, ...rest } = action.payload;\n const sortedAnswers = pushCurrentAnswerAsTopAnswer(\n answersWithScore,\n answerId\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: {\n ...state.bot.ui.modals.questionEditorModal,\n answersWithScore: sortedAnswers,\n answerId,\n answersHasChanged: true,\n },\n },\n },\n },\n };\n }\n\n case CLOSE_QUESTION_EDITOR: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: initialQuestionEditorModalState,\n },\n },\n },\n };\n }\n\n case SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD: {\n const { answerId, answers, itemToChange, ...rest } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const showDraftResponses = state.bot.showDraftResponses;\n const extractedAnswers =\n answers[0]?.score || Array.isArray(answers)\n ? extractAnswerData(answers, isBotOpenAIEnabled)\n : answers;\n const allAnswers = !showDraftResponses\n ? extractedAnswers.filter(({ version }) => version === 'final')\n : extractedAnswers;\n const sortedAnswers = pushCurrentAnswerAsTopAnswer(allAnswers, answerId);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n itemToChange: {\n ...state.bot.ui.modals.responsePickerModal.itemToChange,\n ...itemToChange,\n answer: itemToChange.answer || sortedAnswers[0],\n },\n ...rest,\n isOpen: true,\n answers: sortedAnswers,\n },\n },\n },\n },\n };\n }\n\n case UPDATE_RESPONSE_PICKER_SIMILAR_QUESTIONS: {\n const { similarQuestions, questionText, currentQuestion } =\n action.payload;\n // exclude current linked answer\n const filteredSimilarQuestions = similarQuestions.filter(\n ({ question }) => question.jid !== currentQuestion\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n similarQuestions: filteredSimilarQuestions,\n itemToChange: {\n ...state.bot.ui.modals.responsePickerModal.itemToChange,\n question: {\n ...state.bot.ui.modals.responsePickerModal.itemToChange\n .question,\n text: questionText,\n },\n },\n },\n },\n },\n },\n };\n }\n\n case PUSH_ANSWER_AS_RESPONSE_PICKER_BEST_ANSWER: {\n const { answerId, answers, questionText, ...rest } = action.payload;\n const newAnswersOrder = pushCurrentAnswerAsTopAnswer(\n answers,\n answerId || answers[0]?.jid\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n ...rest,\n isOpen: true,\n answers: newAnswersOrder,\n modalStatus: 'Save to apply your changes',\n itemToChange: {\n ...state.bot.ui.modals.responsePickerModal.itemToChange,\n question: {\n ...state.bot.ui.modals.responsePickerModal.itemToChange\n ?.question,\n text: questionText,\n },\n },\n },\n },\n },\n },\n };\n }\n\n case REMOVE_HARD_LINK_FROM_RESPONSE_PICKER: {\n const filteredQuestions = state.bot.questions.filter(\n item => item.question.jid !== action.payload\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: filteredQuestions,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n isHardLinked: false,\n },\n },\n },\n },\n };\n }\n\n case REMOVE_HARD_LINK_FROM_QUESTION_EDITOR: {\n const filteredQuestions = state.bot.questions.filter(\n item => item.question.jid !== action.payload\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: filteredQuestions,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n questionEditorModal: {\n ...state.bot.ui.modals.questionEditorModal,\n isHardLinked: false,\n jid: null,\n action: 'add',\n },\n },\n },\n },\n };\n }\n\n case UPDATE_SIMILAR_QUESTIONS_AFTER_HARD_LINK: {\n const { questionId, data } = action.payload;\n if (!questionId && data?.length) {\n const hasHardLinkFromList = data.some(item => item.score <= 1);\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n similarQuestionsModal: {\n ...state.bot.ui.modals.similarQuestionsModal,\n data: data,\n hasHardLinkFromList,\n },\n },\n },\n },\n };\n }\n\n const similarQuestionsData =\n state.bot.ui.modals.similarQuestionsModal.data;\n const newSimilarQuestionsData = similarQuestionsData.filter(\n item => item?.question?.jid !== questionId\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n similarQuestionsModal: {\n ...state.bot.ui.modals.similarQuestionsModal,\n data: newSimilarQuestionsData,\n },\n },\n },\n },\n };\n }\n\n case SET_CHAT_MODE:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n isChatOnDevMode: action.payload,\n },\n },\n };\n\n case TOGGLE_EXPAND_SIDEBAR_CHAT:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n isSidebarChatExpanded: !state.bot.ui.isSidebarChatExpanded,\n },\n },\n };\n\n case SHOW_CHAT_ANSWER_IN_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n chatAnswerInModal: {\n show: true,\n answer: action.payload.answer,\n question: action.payload.question,\n },\n },\n },\n };\n\n case CLOSE_CHAT_ANSWER_IN_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n chatAnswerInModal: initialChatAnswerInModal,\n },\n },\n };\n\n case SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n chatSelectedSequenceInModal: {\n show: true,\n sequence: action.payload,\n },\n },\n },\n };\n\n case CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n chatSelectedSequenceInModal: initialChatSelectedSequenceInModal,\n },\n },\n };\n\n case SET_SELECTED_AI_TOOL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n aiToolModal: {\n isOpen: true,\n ...action.payload,\n action: 'edit',\n },\n },\n },\n },\n };\n }\n\n case OPEN_AI_TOOL_MODAL: {\n const { action: modalAction, ...rest } = action.payload;\n const parameters =\n modalAction === 'add'\n ? NEW_OBJECT_ITEM\n : state.bot?.ui?.modals.parameters || {};\n\n const output =\n modalAction === 'add'\n ? DEFAULT_URL_OUTPUT_FIElDS\n : state.bot?.ui?.modals.parameters || {};\n\n const name = modalAction === 'add' ? null : state.bot?.ui?.modals?.name;\n const version =\n modalAction === 'add' ? 'draft' : state.bot?.ui?.modals?.version;\n const description =\n modalAction === 'add' ? null : state.bot?.ui?.modals?.description;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n aiToolModal: {\n isOpen: true,\n jid: null,\n name,\n description,\n parameters,\n version,\n output,\n action: modalAction,\n ...rest,\n },\n },\n },\n },\n };\n }\n\n // close modal on add and edit tool\n case ADD_AI_TOOL:\n case EDIT_AI_TOOL:\n case CLOSE_AI_TOOL_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n aiToolModal: {\n jid: null,\n isOpen: false,\n },\n },\n },\n },\n };\n }\n\n case SET_SHOW_WIDGET_AVATAR_PICKER_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n avatarPickerModal: {\n isOpen: true,\n },\n },\n },\n },\n };\n\n case CLOSE_WIDGET_AVATAR_PICKER_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n avatarPickerModal: {\n isOpen: false,\n },\n },\n },\n },\n };\n\n case OPEN_IMAGE_VIEWER_MODAL: {\n // dont open if no source\n const { source, title } = action.payload;\n const isOpen =\n Boolean(source) && !state.bot.ui?.modals?.imageViewerModal?.isOpen;\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n imageViewerModal: {\n open: isOpen,\n source,\n title,\n },\n },\n },\n },\n };\n }\n case SET_SHOW_API_KEY_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n apiKeyModal: {\n isIntegrationComponent: action.payload,\n isOpen: true,\n },\n },\n },\n },\n };\n }\n case CLOSE_IMAGE_VIEWER_MODAL: {\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n imageViewerModal: initialImageViewerModal,\n },\n },\n },\n };\n }\n case CLOSE_API_KEY_MODAL:\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n apiKeyModal: {\n isIntegrationComponent: null,\n isOpen: false,\n },\n },\n },\n },\n };\n\n case SET_PAGE_DETAILS: {\n return {\n ...state,\n layout: {\n ...state.layout,\n ...handlePageResizing(),\n },\n };\n }\n\n case SET_WEBSITE_EDITOR_SELECTED_WEBSITE: {\n const { website, args } = action.payload;\n const lastEdited = UTCToLocal(new Date(website.lastEdited));\n const scannedList = extractWebsiteScanList(\n website.scrapingInfo?.pages?.map(page => page.goto.url)\n );\n\n console.log('website:', website);\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n websiteEditorModal: {\n isOpen: true,\n website: {\n show_text: [],\n show_html: [],\n file_name: website.text,\n id: website.jid,\n idx: Number.isInteger(args) ? args : undefined,\n clone: args === 'clone',\n version: website?.version || DEFAULT_ANSWER_VERSION,\n lastEdited: website.lastEdited\n ? getLocalTimeString(lastEdited)\n : null,\n scrapingInfo: {\n urlList: scannedList,\n categoryList: categorizedWebsitePages(scannedList),\n archiveList: website?.scrapingInfo?.archived || [],\n url: website.scrapingInfo?.pages[0]?.goto.url,\n },\n },\n },\n },\n },\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { orderBy } from 'lodash';\nimport {\n ADD_MULTIPLE_DRAFT_QUESTIONS,\n ADD_QUESTION,\n DELETE_QUESTION,\n SET_ALL_QUESTIONS,\n SHOW_RESPONSE_PICKER_MODAL_FOR_QUESTIONS,\n UPDATE_QUESTION,\n UPDATE_QUESTION_AND_ANSWER,\n} from 'store/action';\nimport { extractAnswerData } from '../helpers/bot/answers';\nimport {\n extractQuestionData,\n pushCurrentQuestionAsTopQuestion,\n} from '../helpers/bot/questions';\n\nexport const questionsReducer = (state, action) => {\n switch (action.type) {\n case SET_ALL_QUESTIONS: {\n const data = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const questionsWithAnswer = data.map(item => {\n return {\n question: extractQuestionData(item.question, item.score),\n answer: extractAnswerData(item.answer, isBotOpenAIEnabled),\n };\n });\n const sortedQuestionsWithAnswer = orderBy(\n questionsWithAnswer,\n ['question.lastEdited'],\n 'desc'\n );\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: sortedQuestionsWithAnswer,\n },\n };\n }\n\n case ADD_QUESTION: {\n const { answer, question } = action.payload;\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n const newQuestion = extractQuestionData(question);\n const newAnswer = extractAnswerData(answer, isBotOpenAIEnabled);\n const sortedQuestionsWithAnswer = orderBy(\n [{ question: newQuestion, answer: newAnswer }, ...state.bot.questions],\n ['question.lastEdited'],\n 'desc'\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: sortedQuestionsWithAnswer,\n },\n };\n }\n\n case ADD_MULTIPLE_DRAFT_QUESTIONS: {\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: orderBy(\n [...action.payload, ...state.bot.questions],\n ['question.lastEdited'],\n 'desc'\n ),\n },\n };\n }\n\n case UPDATE_QUESTION: {\n const selectedQuestion = action.payload?.context\n ? extractQuestionData(action.payload)\n : action.payload;\n const updatedQuestions = state.bot.questions.map(item => {\n if (selectedQuestion.jid === item.question.jid) {\n return {\n ...item,\n question: selectedQuestion,\n };\n }\n return item;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: orderBy(updatedQuestions, ['question.lastEdited'], 'desc'),\n },\n };\n }\n\n case UPDATE_QUESTION_AND_ANSWER: {\n const isBotOpenAIEnabled = state.bot?.useOpenAI;\n\n const selectedQuestion = action.payload?.question?.context\n ? extractQuestionData(action.payload?.question)\n : action.payload.question;\n const newAnswer = extractAnswerData(\n action.payload?.answer,\n isBotOpenAIEnabled\n );\n const updatedQuestions = state.bot.questions.map(item => {\n if (selectedQuestion.jid === item.question.jid) {\n return {\n answer: newAnswer,\n question: selectedQuestion,\n };\n }\n return item;\n });\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: orderBy(updatedQuestions, ['question.lastEdited'], 'desc'),\n },\n };\n }\n\n case SHOW_RESPONSE_PICKER_MODAL_FOR_QUESTIONS: {\n const { questionId, questions, ...rest } = action.payload;\n const extractedQuestions = questions[0]?.score\n ? extractQuestionData(questions)\n : questions;\n const sortedQuestions = pushCurrentQuestionAsTopQuestion(\n extractedQuestions,\n questionId\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n ui: {\n ...state.bot.ui,\n modals: {\n ...state.bot.ui.modals,\n responsePickerModal: {\n ...state.bot.ui.modals.responsePickerModal,\n ...rest,\n isOpen: true,\n answers: sortedQuestions,\n },\n },\n },\n },\n };\n }\n\n case DELETE_QUESTION: {\n const filteredQuestions = state.bot.questions.filter(\n item => item.question.jid !== action.payload\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n questions: filteredQuestions,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import {\n CANCEL_SUBSCRIPTION,\n CLOSE_CANCEL_SUBSCRIPTION_MODAL,\n CLOSE_SUCCESS_CANCEL_SUBSCRIPTION_MODAL,\n CLOSE_SWITCH_PLAN_SUBSCRIPTION_MODAL,\n SET_PAYMENT_METHODS,\n SET_STRIPE_STATUS,\n SET_USER_SUBSCRIPTION,\n SHOW_CANCEL_SUBSCRIPTION_MODAL,\n SHOW_SWITCH_PLAN_SUBSCRIPTION_MODAL,\n} from 'store/action';\nimport { initialBotState, initialPlanState } from 'store/initialState';\n\nexport const subscriptionReducer = (state, action) => {\n switch (action.type) {\n case SET_STRIPE_STATUS: {\n try {\n const { context } = action.payload;\n const { subscription: subscriptionData, ...restOfSubscriptionObj } =\n context;\n\n return {\n ...state,\n subscription: {\n ...state.subscription,\n isProcessing: subscriptionData?.is_processing,\n ...restOfSubscriptionObj,\n },\n };\n } catch (error) {\n return state;\n }\n }\n case SET_USER_SUBSCRIPTION: {\n try {\n const {\n id,\n created,\n cancel_at_period_end,\n metadata,\n status,\n current_period_end,\n customer,\n trial_end,\n } = action.payload;\n\n return {\n ...state,\n subscription: {\n ...state.subscription,\n id,\n autoRenew: !cancel_at_period_end,\n isCancelled: cancel_at_period_end,\n trial: status === 'trialing',\n customer,\n current_period_end,\n trial_end,\n created,\n showSwitchPlanSubscriptionModal: false,\n switchPlan: null,\n },\n plan: {\n ...state.plan,\n plan_type: metadata.plan_type,\n },\n };\n } catch (error) {\n return state;\n }\n }\n\n case SET_PAYMENT_METHODS: {\n try {\n const paymentMethods = action.payload?.map(pm => {\n const { id, billing_details, card, customer, ...rest } = pm;\n return {\n id,\n billingDetails: billing_details,\n card,\n customer,\n ...rest,\n };\n });\n\n return {\n ...state,\n subscription: {\n ...state.subscription,\n paymentMethods: paymentMethods,\n },\n };\n } catch (error) {\n return state;\n }\n }\n\n case CANCEL_SUBSCRIPTION: {\n try {\n const { metadata, status, cancel_at_period_end } = action.payload;\n const { plan_type } = metadata;\n return {\n ...state,\n plan: {\n ...initialPlanState,\n plansAndFeatures: state.plan.plansAndFeatures,\n plan_type,\n },\n subscription: {\n ...state.subscription,\n trial: status === 'trialing',\n isCancelled: cancel_at_period_end,\n showCancelledSubscriptionSuccessMessage: true,\n },\n bot: initialBotState,\n };\n } catch (error) {\n return state;\n }\n }\n\n case CLOSE_SUCCESS_CANCEL_SUBSCRIPTION_MODAL: {\n return {\n ...state,\n subscription: {\n ...state.subscription,\n showCancelledSubscriptionSuccessMessage: false,\n showCancelSubscriptionModal: false,\n },\n };\n }\n\n case SHOW_CANCEL_SUBSCRIPTION_MODAL: {\n return {\n ...state,\n subscription: {\n ...state.subscription,\n showCancelSubscriptionModal: true,\n },\n };\n }\n\n case SHOW_SWITCH_PLAN_SUBSCRIPTION_MODAL: {\n return {\n ...state,\n subscription: {\n ...state.subscription,\n showSwitchPlanSubscriptionModal: true,\n switchPlan: action.payload,\n },\n };\n }\n\n case CLOSE_CANCEL_SUBSCRIPTION_MODAL: {\n return {\n ...state,\n subscription: {\n ...state.subscription,\n showCancelledSubscriptionSuccessMessage: false,\n showCancelSubscriptionModal: false,\n },\n };\n }\n\n case CLOSE_SWITCH_PLAN_SUBSCRIPTION_MODAL: {\n return {\n ...state,\n subscription: {\n ...state.subscription,\n showUpgradedSubscriptionSuccessMessage: false,\n showSwitchPlanSubscriptionModal: false,\n switchPlan: null,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { SET_CATEGORY_TEMPLATES } from 'store/action';\n\nexport const categoriesTemplatesReducer = (state, action) => {\n switch (action.type) {\n case SET_CATEGORY_TEMPLATES: {\n const extractedCategoryTemplates = Object.values(action.payload).map(\n cat => {\n return {\n name: cat.category[0]?.name,\n color: cat.category[0]?.color,\n answers: cat.answer,\n };\n }\n );\n\n return {\n ...state,\n categoryTemplates: extractedCategoryTemplates,\n };\n }\n\n default:\n return state;\n }\n};\n","import {\n SET_ANALYTICS_AGGREGATIONS_DATA,\n SET_ANALYTICS_GRAPH_DATA,\n SET_ANALYTICS_TABLE_DATA,\n VALIDATE_QUESTION_FROM_ANALYTICS,\n} from 'store/action';\nimport {\n createESAggregationsData,\n createESAnalyticsTableData,\n getESChartData,\n getIfUpdatedQuestionPreviousValidation,\n updateAnalyticsAggregationsValidation,\n updateAnalyticsTableQuestionValidation,\n} from '../helpers/bot/analytics';\n\nexport const analyticsReducer = (state, action) => {\n switch (action.type) {\n case SET_ANALYTICS_GRAPH_DATA: {\n const { data, startDate, endDate } = action.payload;\n\n const graphData = getESChartData(startDate, endDate, data);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n analytics: {\n ...state.bot.analytics,\n graph: graphData,\n },\n },\n };\n }\n\n case SET_ANALYTICS_TABLE_DATA: {\n const { data } = action.payload;\n const tableData = createESAnalyticsTableData(data);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n analytics: {\n ...state.bot.analytics,\n table: {\n ...state.bot.analytics.table,\n ...tableData,\n },\n },\n },\n };\n }\n\n case VALIDATE_QUESTION_FROM_ANALYTICS: {\n const { data } = action.payload;\n const allQuestions = state.bot.analytics.table.allQuestions;\n const currentAggregations = state.bot.analytics.aggregations;\n const tableData = updateAnalyticsTableQuestionValidation(\n allQuestions,\n data\n );\n const isQuestionHasValidation = getIfUpdatedQuestionPreviousValidation(\n allQuestions,\n data\n );\n const aggregations = updateAnalyticsAggregationsValidation(\n currentAggregations,\n data.validation,\n isQuestionHasValidation\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n analytics: {\n ...state.bot.analytics,\n table: {\n ...state.bot.analytics.table,\n ...tableData,\n },\n aggregations: {\n ...state.bot.analytics.aggregations,\n ...aggregations,\n },\n },\n },\n };\n }\n\n case SET_ANALYTICS_AGGREGATIONS_DATA: {\n const { data, filters } = action.payload;\n const { startDate, endDate, categories, integrations } = filters;\n const aggregations = createESAggregationsData(data);\n const hasCategoryFilter = Boolean(categories?.length);\n const hasIntegrationFilter = Boolean(integrations?.length);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n analytics: {\n ...state.bot.analytics,\n aggregations: {\n ...aggregations,\n // category filter fetches the data from ES\n // hence if it has category filter\n // it will not display the other categories that were not selected\n categoryFilter: hasCategoryFilter\n ? // here we use the previous state without the filtered category\n // if categories filter is not empty\n // to display all categories from ES\n state.bot.aggregations.categoriesFromES\n : aggregations.categoriesFromES,\n integrationFilter: hasIntegrationFilter\n ? // same with other filters\n state.bot.aggregations.integrationsFromES\n : aggregations.integrationsFromES,\n },\n startDate,\n endDate,\n table: {\n ...state.bot.analytics?.table,\n mostAskedQuestions: aggregations.tableData.mostAskedQuestionData,\n intents: aggregations.tableData.intentsData,\n },\n },\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { flattenDeep } from 'lodash';\nimport {\n CLEAR_CALLBACK_MODAL_SESSION_DETAILS,\n SET_CALLBACK_LOGS_TABLE_DATA,\n SET_CALLBACK_MODAL_SESSION_DETAILS,\n} from 'store/action';\nimport { createESAnalyticsTableData } from '../helpers/bot/analytics';\nimport { parseBoolean } from 'utils/dataTypes';\n\nexport const callbackLogsReducer = (state, action) => {\n switch (action.type) {\n case SET_CALLBACK_MODAL_SESSION_DETAILS: {\n const { data, callbackInteractionIds, sessionId, isFromAPIResponse } =\n action.payload;\n\n const sessionData = (\n parseBoolean(isFromAPIResponse)\n ? createESAnalyticsTableData(data).allQuestions\n : Array.isArray(data)\n ? data\n : [data]\n )\n .map(question => {\n if (\n question.interactionID &&\n question.sessionID === sessionId &&\n !!callbackInteractionIds &&\n Array.isArray(callbackInteractionIds) &&\n callbackInteractionIds.includes(question.interactionID)\n ) {\n question.isCallback = true;\n return {\n ...question,\n isCallback: true,\n };\n }\n\n return {\n ...question,\n isCallback: false,\n };\n })\n .filter(question => question.sessionID === sessionId);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n callbackLogs: {\n ...state.bot.callbackLogs,\n sessionDetails: {\n sessionId,\n callbackInteractionIds: (Array.isArray(callbackInteractionIds)\n ? callbackInteractionIds\n : [callbackInteractionIds]\n ).filter(Boolean),\n data: sessionData,\n },\n },\n },\n };\n }\n\n case CLEAR_CALLBACK_MODAL_SESSION_DETAILS: {\n return {\n ...state,\n bot: {\n ...state.bot,\n callbackLogs: {\n ...state.bot.callbackLogs,\n sessionDetails: {\n data: [],\n },\n },\n },\n };\n }\n\n case SET_CALLBACK_LOGS_TABLE_DATA: {\n const { data, startDate, endDate } = action.payload;\n const callbackData = flattenDeep(data);\n\n const callbackLogsTableData = callbackData.map((item, key) => {\n return {\n key,\n sessionID: item.session_id || '',\n name: item.customer_info?.name || '',\n email:\n item.customer_info?.email || item.customer_info?.emailAddress || '',\n mobile:\n item.customer_info?.mobile ||\n item.customer_info?.mobileNumber ||\n item.customer_info?.phoneNumber ||\n '',\n date: item.datetime,\n others: { ...item.customer_info },\n interactionID:\n item?.interaction_id && Array.isArray(item.interaction_id)\n ? item.interaction_id\n : typeof item?.interaction_id === 'string'\n ? [item?.interaction_id]\n : [],\n };\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n callbackLogs: {\n ...state.bot.callbackLogs,\n table: callbackLogsTableData,\n startDate,\n endDate,\n },\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { orderBy } from 'lodash';\nimport {\n ADD_AI_TOOL,\n DELETE_AI_TOOL,\n EDIT_AI_TOOL,\n SET_AI_TOOLS,\n} from 'store/action';\nimport { getNodesFromArray } from 'utils';\nimport { extractAIToolData } from '../helpers/bot/aiTools';\n\nexport const aiToolsReducer = (state, action) => {\n switch (action.type) {\n case SET_AI_TOOLS: {\n const toolNodes = getNodesFromArray(action.payload);\n const aiTools = orderBy(\n extractAIToolData(toolNodes),\n 'lastUpdatedAt',\n 'desc'\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n aiTools,\n },\n };\n }\n\n case ADD_AI_TOOL: {\n const toolNodes = getNodesFromArray(action.payload);\n const newTool = extractAIToolData(toolNodes);\n\n return {\n ...state,\n bot: {\n ...state.bot,\n aiTools: [...newTool, ...state.bot.aiTools],\n },\n };\n }\n\n case DELETE_AI_TOOL: {\n const toolId = action.payload;\n const updatedTools = state.bot.aiTools.filter(\n ({ jid }) => jid !== toolId\n );\n\n return {\n ...state,\n bot: {\n ...state.bot,\n aiTools: updatedTools,\n },\n };\n }\n\n case EDIT_AI_TOOL: {\n const toolNodes = getNodesFromArray(action.payload);\n const newTool = extractAIToolData(toolNodes);\n\n const updatedTools = state.bot.aiTools.map(tool => {\n if (newTool[0]?.jid && tool.jid === newTool[0].jid) {\n return newTool[0];\n }\n return tool;\n });\n\n return {\n ...state,\n bot: {\n ...state.bot,\n aiTools: updatedTools,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { isEqual } from 'lodash';\nimport { SET_WS_TOKEN, DISCONNECT_WEBSOCKET } from '../action';\nimport { initialWSState } from 'store/initialState';\n\nexport const websocketReducer = (state, action) => {\n switch (action.type) {\n case SET_WS_TOKEN: {\n const { target, authenticated } = action.payload;\n\n return {\n ...state,\n webSocket: {\n channel: authenticated ? target : null,\n askQuestionActions: [],\n askQuestionActiveAction: null,\n },\n };\n }\n\n case DISCONNECT_WEBSOCKET: {\n // dont change if state is already same as initialWSstate\n if (isEqual(state.webSocket, initialWSState)) {\n return state;\n }\n return {\n ...state,\n webSocket: {\n channel: null,\n askQuestionActions: [],\n askQuestionActiveAction: null,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import { RESET_INVOICE, SET_INVOICES } from 'store/action';\n\nexport const invoiceReducer = (state, action) => {\n switch (action.type) {\n case SET_INVOICES: {\n try {\n const invoiceList = action.payload?.map(invoice => {\n return {\n periodStart: invoice.lines?.data[0]?.period?.start,\n periodEnd:\n invoice.lines?.data[invoice.lines?.data?.length - 1]?.period?.end,\n currency: invoice.currency,\n amount: invoice.total,\n status: invoice.status,\n file: invoice.invoice_pdf,\n hostedURL: invoice.hosted_invoice_url,\n id: invoice.id,\n };\n });\n return {\n ...state,\n invoices: invoiceList,\n };\n } catch (error) {\n return state;\n }\n }\n case RESET_INVOICE: {\n return {\n ...state,\n invoices: [],\n };\n }\n\n default:\n return state;\n }\n};\n","import { TOGGLE_SEND_CALLBACK_LOG } from 'store/action';\n\nexport const settingsReducer = (state, action) => {\n switch (action.type) {\n case TOGGLE_SEND_CALLBACK_LOG: {\n return {\n ...state,\n bot: {\n ...state.bot,\n shouldSendCallbackLog: !state.bot.shouldSendCallbackLog,\n },\n };\n }\n\n default:\n return state;\n }\n};\n","import React, { createContext, useReducer } from 'react';\nimport { combinedReducers } from 'store/reducers';\nimport { initialState } from './initialState';\n\nconst Store = ({ children }) => {\n const [state, dispatch] = useReducer(combinedReducers, initialState);\n const store = React.useMemo(() => [state, dispatch], [state]);\n\n return {children};\n};\n\nexport const Context = createContext(initialState);\nexport default Store;\n","export default __webpack_public_path__ + \"static/media/zeroshotbot_black.dd2c6031.png\";","export default __webpack_public_path__ + \"static/media/auth-banner.27c12ada.png\";","import { useContext, useEffect } from 'react';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { Context } from 'store/store';\nimport ROUTES from 'constants/routes';\n\nconst useSignUp = () => {\n const [state] = useContext(Context);\n const history = useHistory();\n const { pathname } = useLocation();\n const { isAuthenticated } = state;\n const isSignup = pathname.includes('signup') ? true : false;\n\n useEffect(() => {\n if (isAuthenticated) {\n history.push(ROUTES.BOTS_PAGE);\n }\n }, []);\n\n return {\n isSignup,\n pathname,\n };\n};\n\nexport default useSignUp;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledAuth = styled.div`\n margin: auto;\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: center;\n height: 100vh;\n\n a {\n color: ${cssVariables.primaryCyan} !important;\n font-weight: ${cssVariables.font.bold};\n font-size: 14px;\n }\n`;\n\nexport const StyledSectionWrapper = styled.div`\n width: 100%;\n height: 100%;\n\n @media (max-width: 900px) {\n width: 80%;\n }\n`;\n\nexport const StyledFormContent = styled.div`\n display: flex;\n align-items: center;\n flex-direction: column;\n width: 100%;\n padding: 50px;\n margin: auto;\n min-width: 300px;\n max-width: 600px;\n padding: 50px;\n padding-top: 0px;\n height: 100%;\n justify-content: center;\n`;\n\nexport const StyledLogo = styled.img`\n max-width: 300px;\n margin-bottom: 30px;\n display: flex;\n`;\n\nexport const StyledBannerWrapper = styled.div`\n width: 80%;\n background: ${cssVariables.zsbCyanGradient};\n display: flex;\n flex-direction: column;\n padding-top: 120px;\n height: 100%;\n\n > div:has(span) {\n flex-direction: column;\n display: flex;\n justify-content: center;\n align-self: center;\n height: 50%;\n }\n\n div > span {\n font-size: 13px;\n line-height: 17px;\n }\n\n span,\n h1 {\n color: #fff;\n }\n\n h1 {\n align-self: center;\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 30px;\n line-height: 30px;\n text-align: center;\n }\n\n @media (max-width: 900px) {\n display: none;\n }\n`;\n\nexport const StyledImageBanner = styled.img`\n width: 24%;\n height: 45%;\n align-self: end;\n position: absolute;\n bottom: 0;\n max-width: 400px;\n`;\n\nexport const StyledForm = styled.form`\n width: 100%;\n padding: 0 10px;\n margin-top: 24px;\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n`;\n\nexport const StyledSwitchLinkContainer = styled.div`\n width: 100%;\n padding: 0 10px;\n margin-top: 20px;\n display: flex;\n justify-content: center;\n`;\n","import styled, { css } from 'styled-components';\nimport { cssVariables } from './root';\nimport { Tag } from 'antd';\n\nexport const StyledSpaceBetweenFlexCenter = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n flex-direction: row;\n`;\n\nexport const StyledSpacEvenlyFlexRow = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n width: 100%;\n flex-direction: row;\n ${props => {\n if (!props.padding?.includes('px')) {\n return css`\n padding: ${props.padding}px;\n `;\n }\n return ``;\n }}\n`;\n\nexport const StyledFlexRowCenter = styled.div`\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n ${props => {\n if (!props.padding?.includes('px')) {\n return css`\n padding: ${props.padding}px;\n `;\n } else if (props.padding?.includes('px')) {\n return css`\n padding: ${props.padding};\n `;\n }\n return ``;\n }}\n`;\n\nexport const StyledFlexRowRight = styled.div`\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n ${props => {\n if (!props.padding?.includes('px')) {\n return css`\n padding: ${props.padding}px;\n `;\n } else if (props.padding?.includes('px')) {\n return css`\n padding: ${props.padding};\n `;\n }\n return ``;\n }}\n\n .ant-tag {\n text-transform: capitalize;\n }\n`;\n\nexport const StyledFlexRowLeft = styled.div`\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n > * + * {\n margin-left: 10px;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin: 0;\n }\n\n ${props => {\n if (!props.padding?.includes('px')) {\n return css`\n padding: ${props.padding}px;\n `;\n } else if (props.padding?.includes('px')) {\n return css`\n padding: ${props.padding};\n `;\n }\n return ``;\n }}\n`;\n\nexport const StyledBotDetailsWrapper = styled.div`\n display: flex;\n flex-direction: column;\n margin: 24px auto;\n width: 100%;\n height: 100%;\n`;\n\nexport const UnpaddedList = styled.ul`\n padding: 0;\n width: 100%;\n\n li {\n padding: 0;\n list-style: none;\n }\n`;\n\nexport const StyledWarningBox = styled.div`\n padding: 10px;\n border: 1px solid ${cssVariables.warning};\n width: 100%;\n margin: 5px 0;\n`;\n\nexport const StyledFlexColumn = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n ${props => (props.height ? `height: ${props.height};` : `height: auto;`)}\n`;\n\nexport const StyledFlexLeftColumn = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n ${props => (props.width ? `width: ${props.width};` : `width: 100%;`)}\n ${props => (props.height ? `height: ${props.height};` : `height: auto;`)}\n`;\n\nexport const StyledSpaceBetweenFlexColumn = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n ${props =>\n props.height\n ? css`\n height: ${props.height};\n `\n : css`\n height: auto;\n `}\n`;\n\nexport const StyledTextLinkEffect = styled.div`\n text-decoration: underline !important;\n cursor: pointer;\n margin: 0 2px !important;\n color: ${props => props.color || cssVariables.primaryBlue} !important;\n\n &:hover {\n font-weight: 700 !important;\n color: ${cssVariables.primaryBlue} !important;\n }\n`;\n\nexport const StyledTag = styled(Tag)`\n word-break: break-word;\n white-space: break-spaces;\n`;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledInput = styled.div`\n display: flex;\n flex-direction: column;\n width: ${props => (props.full ? '100%' : 'auto')};\n\n label {\n font-weight: ${cssVariables.font.bold};\n }\n .ant-input {\n padding: 10px;\n width: ${props => (props.full ? '100%' : 'auto')};\n }\n\n .ant-input-affix-wrapper,\n .ant-input {\n border-radius: 7px;\n }\n\n .ant-input-affix-wrapper {\n width: ${props => (props.full ? '100%' : 'auto')} !important;\n }\n\n .ant-input-password-large {\n padding-left: 10px;\n height: 45px;\n }\n\n &.ant-input-sm {\n padding: 5px;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Input as AntdInput } from 'antd';\nimport { StyledInput } from './Input.style';\n\nconst Input = props => {\n const { full, label, type, size, inputRef, allowClear, ...rest } = props;\n return (\n \n {label && }\n {type === 'password' ? (\n \n ) : (\n \n )}\n \n );\n};\n\nInput.defaultProps = {\n size: 'large',\n type: 'text',\n};\n\nInput.propTypes = {\n full: PropTypes.bool,\n inputRef: PropTypes.object,\n label: PropTypes.string,\n size: PropTypes.oneOf(['large', 'medium', 'middle', 'default', 'small']),\n type: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nexport { Input };\n","import { Input } from './Input';\n\nexport default Input;\n","import { getToken } from 'services/auth.service';\n\nexport const userSelector = state => state.user;\n\nexport const isAuthenticatedSelector = state => state.isAuthenticated || false;\n\nexport const isExternalPageSelector = state => state.isExternalPage || false;\n\nexport const getTokenSelector = state => state?.token || getToken();\n","import { useContext } from 'react';\nimport { Context } from './store';\n\nconst useSelector = (selector, ...args) => {\n const [state] = useContext(Context);\n\n if (selector) {\n return selector(state, ...args);\n }\n\n return state;\n};\n\nexport default useSelector;\n","import { useState } from 'react';\nimport { useGlobalGoogle } from './useGlobalGoogle';\nimport { authorizedGoogleAccount } from 'services/auth.service';\n\nconst CLIENT_ID = process.env.REACT_APP_GOOGLE_LOGIN_CLIENT_ID;\nconst SCOPE = process.env.REACT_APP_GOOGLE_LOGIN_SCOPE;\nconst REDIRECT_URI = process.env.REACT_APP_GOOGLE_LOGIN_REDIRECT_URI;\n\nfunction useGoogleAuthentication(\n setSignInToGoogle,\n setEmail,\n setPassword,\n setError,\n setSpinnerLabel\n) {\n const [tokenClient, setTokenClient] = useState({});\n const url = new URL(window.location.href);\n const urlCode = url.searchParams.get('code');\n\n const authorizeGoogleAccount = async () => {\n try {\n const response = await authorizedGoogleAccount(\n decodeURIComponent(urlCode)\n );\n if (response.status === 200) {\n if (response.data.type === 'BINDING') {\n setSpinnerLabel('Linking account with Google...');\n } else if (response.data.type === 'REGISTRATION') {\n setSpinnerLabel('Creating an account with Google...');\n } else {\n setSpinnerLabel('Signing in with Google...');\n }\n setTokenClient({ ...tokenClient, user: response.data });\n } else {\n setSignInToGoogle(false);\n return setError(\n (response && response.message) ||\n 'We encountered unexpected error while signing in with Google'\n );\n }\n } catch (err) {\n setSignInToGoogle(false);\n return handleError(err);\n }\n };\n\n const initializeGoogleClient = () => {\n try {\n /* global google */\n return google.accounts.oauth2.initCodeClient({\n client_id: CLIENT_ID,\n scope: SCOPE,\n ux_mode: 'redirect',\n redirect_uri: REDIRECT_URI,\n });\n } catch (err) {\n setSignInToGoogle(false);\n return handleError(err);\n }\n };\n\n const onloadAuth = () => {\n try {\n setTokenClient(initializeGoogleClient());\n handleExistingCodeURL();\n } catch (err) {\n setSignInToGoogle(false);\n return handleError(err);\n }\n };\n\n const refreshAuth = () => {\n try {\n const googleAuth = initializeGoogleClient();\n setTokenClient(googleAuth);\n handleExistingCodeURL();\n return googleAuth.requestCode();\n } catch (err) {\n setSignInToGoogle(false);\n return handleError(err);\n }\n };\n\n const handleError = error => {\n setSignInToGoogle(false);\n return setError(\n (error && error.message) ||\n 'We encountered unexpected error while signing in'\n );\n };\n\n const handleExistingCodeURL = () => {\n try {\n if (urlCode) {\n setSignInToGoogle(true);\n setEmail(null);\n setPassword(null);\n setTimeout(async () => await authorizeGoogleAccount(), 300);\n }\n } catch (err) {\n setSignInToGoogle(false);\n return handleError(err);\n }\n };\n\n useGlobalGoogle(onloadAuth);\n return {\n tokenClient,\n refreshAuth,\n };\n}\n\nexport { useGoogleAuthentication };\n","import { isExternalPageSelector } from 'selectors/user';\nimport useSelector from 'store/useSelector';\n\nfunction useGlobalGoogle(callback) {\n const isExternalPage = useSelector(isExternalPageSelector);\n const loadGoogleScript = () => {\n const googleScript = document.getElementById('global-google-script');\n if (window.google) {\n if (isExternalPage) {\n localStorage.setItem('external', isExternalPage);\n }\n\n callback();\n } else {\n googleScript.addEventListener('load', callback);\n }\n };\n\n // Load the Google script when the page has finished loading\n document.addEventListener('DOMContentLoaded', loadGoogleScript);\n\n // Clean up the event listener when the page is unloaded\n window.addEventListener('beforeunload', () => {\n const googleScript = document.getElementById('global-google-script');\n googleScript.removeEventListener('load', callback);\n });\n}\n\nexport { useGlobalGoogle };\n","import { useState, useContext, useEffect } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Context } from 'store/store';\nimport { apiService } from 'services/api.service';\nimport ROUTES from 'constants/routes';\nimport { useGoogleAuthentication } from 'utils/socialAuth/google/useGoogleAuthentication';\nimport { SIGN_UP_SUCCESS } from 'store/action';\nimport useSelector from 'store/useSelector';\nimport { isExternalPageSelector } from 'selectors/user';\n\nconst useSignUp = () => {\n const [state, dispatch] = useContext(Context);\n const history = useHistory();\n const url = new URL(window.location.href);\n const urlName = url.searchParams.get('name') || '';\n const urlEmail = url.searchParams.get('email') || '';\n const [name, setName] = useState(urlName);\n const [email, setEmail] = useState(urlEmail);\n const [password, setPassword] = useState('');\n const [error, setError] = useState();\n const [loading, setLoading] = useState(false);\n const [signupSuccess, setSignupSuccess] = useState(false);\n const [isActivated, setIsActivated] = useState(false);\n const { isAuthenticated } = state;\n const [signInToGoogle, setSignInToGoogle] = useState(false);\n const [spinnerLabel, setSpinnerLabel] = useState('Processing...');\n const googleAUth = useGoogleAuthentication(\n setSignInToGoogle,\n setEmail,\n setPassword,\n setError,\n setSpinnerLabel\n );\n const isExternalPage = useSelector(isExternalPageSelector);\n\n const onChangeName = e => {\n setName(e.target.value);\n };\n\n const onChangeEmail = e => {\n setEmail(e.target.value);\n };\n\n const onChangePassword = e => {\n setPassword(e.target.value);\n };\n\n const onSubmit = async evt => {\n evt.preventDefault();\n if (loading) {\n return;\n }\n setLoading(true);\n try {\n const res = await apiService.userCreate(email, password, name);\n await dispatch({\n type: SIGN_UP_SUCCESS,\n });\n if (res.data?.is_activated) {\n setIsActivated(true);\n }\n setSignupSuccess(true);\n return setLoading(false);\n } catch (error) {\n setError(\n error.message ||\n 'We encountered unexpected error while creating your account.'\n );\n return setLoading(false);\n }\n };\n\n const requestGoogleAccess = async () => {\n setLoading(true);\n setEmail(null);\n setPassword(null);\n if (Object.values(googleAUth.tokenClient).length > 0) {\n return await googleAUth.tokenClient.requestCode();\n } else {\n return googleAUth.refreshAuth();\n }\n };\n\n useEffect(() => {\n if (isAuthenticated) {\n history.push(ROUTES.BOTS_PAGE);\n }\n }, []);\n\n return {\n email,\n error,\n isActivated,\n loading,\n name,\n onChangeName,\n onChangeEmail,\n onChangePassword,\n onSubmit,\n signupSuccess,\n signInToGoogle,\n requestGoogleAccess,\n isExternalPage,\n };\n};\n\nexport default useSignUp;\n","import styled from 'styled-components';\nimport { Alert as AntdAlert } from 'antd';\n\nexport const StyledAlert = styled(AntdAlert)`\n font-size: 14px;\n width: 100%;\n & .ant-alert-content {\n display: flex;\n flex-direction: column;\n align-items: start;\n }\n`;\n\nexport const Wrapper = styled.div`\n width: 100%;\n margin: ${props => (props.noPadding ? '0px' : `24px auto`)};\n display: flex;\n align-items: center;\n & .ant-alert {\n margin: 0 !important;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { Button } from 'antd';\nimport { kebabCase } from 'lodash';\n\nimport { cssVariables } from 'styles/root';\n\nconst StyledAnchorLink = styled(Button)`\n background-color: transparent !important;\n padding: 0;\n font-size: 12px;\n cursor: pointer;\n border: none !important;\n color: ${props =>\n !props?.adaptButtonColor ? cssVariables.primaryBlue : 'currentColor'};\n margin: 0;\n height: auto;\n\n &.ant-btn {\n span {\n color: ${props =>\n !props?.adaptButtonColor\n ? cssVariables.primaryBlue\n : 'currentColor'} !important;\n }\n }\n`;\n\nconst AnchorButton = props => {\n const { title, adaptButtonColor, ...rest } = props;\n return (\n \n {title}\n \n );\n};\n\nAnchorButton.propTypes = {\n title: PropTypes.string,\n adaptButtonColor: PropTypes.bool,\n};\n\nexport default AnchorButton;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { StyledAlert, Wrapper } from './Alert.style';\nimport { Space } from 'antd';\nimport AnchorButton from 'components/Button/AnchorButton';\n\nconst Alert = ({\n message,\n type,\n hasActionButton,\n actionButtonProps,\n noPadding,\n ...rest\n}) => {\n return (\n \n \n \n \n ) : null\n }\n message={\n Array.isArray(message) ? (\n message.map(i => i)\n ) : (\n <>\n {message.email && (\n
  • \n Email: \n {message.email}\n
  • \n )}\n {message.password && (\n
  • \n Password: \n {message.password}\n
  • \n )}\n {message.name && (\n
  • \n Name: \n {message.name}\n
  • \n )}\n {message.non_field_errors &&\n message.non_field_errors.map((error, key) => (\n
  • {error}
  • \n ))}\n {message.error &&
  • {message.error}
  • }\n {message.detail &&
  • {message.detail}
  • }\n {typeof message === 'string' && message}\n \n )\n }\n />\n
    \n );\n};\n\nAlert.defaultProps = {\n message: { error: 'Oops! We encounter an error.' },\n type: 'info',\n};\n\nAlert.propTypes = {\n message: PropTypes.oneOfType([\n PropTypes.object,\n PropTypes.string,\n PropTypes.array,\n ]),\n type: PropTypes.string,\n noPadding: PropTypes.bool,\n hasActionButton: PropTypes.bool,\n actionButtonProps: PropTypes.shape({\n value: PropTypes.string,\n onClick: PropTypes.func,\n adaptButtonColor: PropTypes.bool,\n }),\n};\n\nexport default Alert;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\nimport { Modal } from 'antd';\n\nexport const StyledModal = styled(Modal)`\n width: ${props => (props.isFullScreen ? '100%' : '70%')};\n max-height: ${props => (props.isFullScreen ? '100vh' : '70vh')};\n top: ${props => (props.isFullScreen ? '0px' : 'null')};\n max-width: ${props => (props.isFullScreen ? '100%' : 'inherit')};\n\n &.ant-modal {\n height: ${props => (props.isFullScreen ? '100% !important' : 'auto')};\n padding-bottom: ${props => (props.isFullScreen ? '0px' : '24px')};\n }\n min-width: ${props => (props.minWidth ? `${props.minWidth}px` : 'auto')};\n\n img {\n width: 100%;\n }\n\n @media (max-width: 1024px) {\n &.ant-modal {\n width: 100%;\n }\n }\n\n @media (max-width: 521px) {\n &.ant-modal {\n width: 100% !important;\n }\n }\n\n @media (max-width: 521px) {\n &.ant-modal {\n width: 100% !important;\n }\n }\n\n @media (max-width: 768px) {\n &.ant-modal {\n width: ${props =>\n props.isFormModal ? '100% !important' : 'fit-content'};\n }\n }\n\n .ant-modal-title {\n display: flex;\n margin-right: 20px;\n align-items: center;\n justify-content: space-between;\n\n :last-child {\n padding: 5px 5px 0 0;\n }\n\n .anticon:hover {\n color: ${cssVariables.primaryBlue};\n cursor: pointer;\n }\n }\n .ant-modal-close {\n max-width: 50px;\n margin-right: 0.4rem;\n }\n\n & .ant-modal-wrap {\n overflow-y: hidden;\n }\n\n .ant-modal-body {\n display: flex;\n flex-direction: column;\n width: 100%;\n padding: 10px 24px;\n row-gap: 10px;\n overflow-y: auto !important;\n max-height: ${props => (props.isFullScreen ? '100vh' : '65vh')};\n align-items: ${props => (props.isFullScreen ? 'center' : 'inherit')};\n height: ${props => (props.isFullScreen ? '80vh' : '70%')} !important;\n\n form {\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n }\n\n .ant-input {\n border-radius: 5px;\n }\n\n .ant-upload-list-item-card-actions button {\n background-color: transparent;\n }\n\n .ant-spin-nested-loading,\n .ant-spin-container {\n display: contents;\n }\n }\n\n .ant-modal-content {\n border-radius: 5px;\n height: ${props => (props.isFullScreen ? '100% !important' : 'auto')};\n }\n\n .ant-modal-header,\n .ant-modal-footer {\n height: ${props => (props.isFullScreen ? '10vh' : '10%')};\n border-radius: 5px;\n border: none;\n padding: 10px 24px;\n\n .ant-modal-title {\n font-weight: ${cssVariables.font.normal};\n font-size: 16px;\n font-family: Roboto, Helvetica, Arial, sans- serif;\n line-height: 1.6;\n h4 {\n margin-top: 5;\n }\n }\n }\n\n .ant-modal-header {\n padding-bottom: 0;\n }\n\n .ant-modal-footer {\n .ant-btn {\n background-color: ${props =>\n props?.variant && props?.variant.includes('primary')\n ? cssVariables.primaryBlue\n : cssVariables.secondaryColor};\n color: ${props =>\n props.okButtonProps && props.okButtonProps.danger\n ? cssVariables.errorText\n : cssVariables.primaryBlue};\n border: none;\n padding: 8px 14px;\n align-self: center;\n height: ${props => (props.isFullScreen ? '5vh' : '100%')};\n text-transform: capitalize;\n border-radius: 5px;\n\n :hover {\n background-color: ${props =>\n props.okButtonProps && props.okButtonProps.danger\n ? cssVariables.red1\n : cssVariables.blue1};\n color: ${props =>\n props.okButtonProps && props.okButtonProps.danger\n ? cssVariables.errorText\n : cssVariables.primaryBlue};\n }\n }\n .ant-btn-primary {\n background-color: ${props =>\n props.okButtonProps && props.okButtonProps.danger\n ? cssVariables.errorButtonColor\n : cssVariables.primaryBlue};\n color: ${cssVariables.secondaryColor};\n border: none;\n }\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Spin } from 'antd';\nimport { StyledModal } from './GenericModal.style';\nimport {\n StyledFlexRowLeft,\n StyledFlexRowRight,\n StyledSpaceBetweenFlexCenter,\n} from 'styles/GenericStyledComponents';\nimport { cssVariables } from 'styles/root';\nimport Button from 'components/Button';\n\nconst Modal = props => {\n const {\n children,\n spinning,\n isFormModal,\n modalStatus,\n noCancelButton,\n noOkButton,\n ...rest\n } = props;\n return (\n \n \n {modalStatus}\n \n \n \n \n \n ,\n ]\n : undefined\n }\n {...rest}\n cancelButtonProps={\n !rest.onCancel || noCancelButton\n ? { hidden: true, ...rest.cancelButtonProps }\n : { ...rest.cancelButtonProps }\n }\n okButtonProps={\n !rest.onOk || noOkButton\n ? { hidden: true, ...rest.okButtonProps }\n : { ...rest.okButtonProps }\n }\n isFormModal={isFormModal}\n >\n \n {children}\n \n \n );\n};\n\nModal.defaultProps = {\n spinning: false,\n};\n\nModal.propTypes = {\n children: PropTypes.any,\n spinning: PropTypes.bool,\n isFormModal: PropTypes.bool,\n noCancelButton: PropTypes.bool,\n noOkButton: PropTypes.bool,\n modalStatus: PropTypes.string,\n};\n\nexport default Modal;\n","import PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom';\nimport { CheckCircleTwoTone } from '@ant-design/icons';\nimport { cssVariables } from 'styles/root';\nimport { useState, useEffect } from 'react';\nimport Modal from 'components/Modals/GenericModal';\nimport ROUTES from 'constants/routes';\nimport { StyledFlexRowLeft } from 'styles/GenericStyledComponents';\nimport useSelector from 'store/useSelector';\nimport { isExternalPageSelector } from 'selectors/user';\n\nconst CountDownRedirectModal = ({ page, redirectURL, email }) => {\n const history = useHistory();\n const [showModal, setShowModal] = useState(true);\n const [secondsToGo, setSecondsToGo] = useState(5);\n const [timerStopped, setTimerStopped] = useState(false);\n const isExternalPage = useSelector(isExternalPageSelector);\n\n const redirectToVerification = email => {\n history.push({\n pathname: redirectURL,\n state: { success: true, email },\n });\n };\n\n useEffect(() => {\n let timer;\n setTimeout(() => {\n timer = setInterval(() => {\n setSecondsToGo(c => c - 1);\n }, 1000);\n\n if (secondsToGo === 1) {\n }\n }, 1000);\n return () => clearInterval(timer);\n }, []);\n\n useEffect(() => {\n if (secondsToGo < 1 && !timerStopped) {\n setShowModal(false);\n return redirectToVerification(email);\n }\n }, [secondsToGo, timerStopped]);\n\n const handleClose = () => {\n setTimerStopped(true);\n return setShowModal(false);\n };\n\n return (\n \n {' '}\n <>\n {` ${\n redirectURL === ROUTES.VERIFY_EMAIL\n ? 'Registration'\n : page[0].toUpperCase() + page.substr(1)\n } success!`}\n \n \n }\n onOk={() => redirectToVerification(email)}\n >\n {`You will be redirect to ${\n redirectURL === isExternalPage\n ? ROUTES.EXTERNAL_LOGIN\n : ROUTES.LOGIN\n ? 'login'\n : page\n } page in ${secondsToGo} second.`}\n \n );\n};\n\nCountDownRedirectModal.propTypes = {\n page: PropTypes.string.isRequired,\n redirectURL: PropTypes.string.isRequired,\n email: PropTypes.string,\n};\n\nexport default CountDownRedirectModal;\n","import styled from 'styled-components';\n\nexport const StyledAuth = styled.div`\n margin: 0 auto;\n padding-top: 120px;\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 472px;\n`;\n\nexport const StyledLogo = styled.img`\n max-width: 300px;\n margin-bottom: 30px;\n`;\n\nexport const StyledForm = styled.form`\n width: 100%;\n padding: 0 10px;\n margin-top: 24px;\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n`;\n\nexport const StyledSwitchLinkContainer = styled.div`\n width: 100%;\n padding: 0 10px;\n margin-top: 20px;\n display: flex;\n justify-content: center;\n`;\n\nexport const StyledSignInGoogleContainer = styled.button`\n transition: background-color 0.3s, box-shadow 0.3s;\n cursor: pointer;\n padding: 12px 16px 12px 42px;\n border: none;\n border-radius: 50px;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);\n color: #757575;\n font-size: 14px;\n font-weight: 500;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n\n background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);\n background-color: white;\n background-repeat: no-repeat;\n background-position: 12px 11px;\n margin-top: 1em;\n\n &:hover {\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25);\n }\n\n &:active {\n background-color: #eeeeee;\n }\n\n &:focus {\n outline: none;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25),\n 0 0 0 3px #c8dafc;\n }\n\n &:disabled {\n filter: grayscale(100%);\n background-color: #ebebeb;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n }\n\n margin: auto;\n margin-top: 35px;\n display: flex;\n`;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport Input from 'components/Input';\nimport useSignUp from './hooks';\nimport Alert from 'components/Alert';\nimport Button from 'components/Button';\nimport ROUTES from 'constants/routes';\nimport CountDownRedirectModal from 'components/Modals/RedirectModal';\nimport {\n StyledForm,\n StyledSignInGoogleContainer,\n StyledSwitchLinkContainer,\n} from './SignUp.style';\nimport { Spin } from 'antd';\n\nconst SignUp = () => {\n const {\n email,\n error,\n isActivated,\n loading,\n name,\n onChangeName,\n onChangeEmail,\n onChangePassword,\n onSubmit,\n signupSuccess,\n signInToGoogle,\n requestGoogleAccess,\n isExternalPage,\n } = useSignUp();\n\n return (\n \n \n {error && }\n {signupSuccess && !error && (\n \n )}\n \n \n \n \n \n \n {`Already have an account? `}\n  \n \n {`Sign In`}\n \n \n {isActivated ? (\n \n ) : !isActivated && signupSuccess ? (\n \n ) : null}\n \n {'Sign up with Google'}\n \n \n );\n};\n\nexport default SignUp;\n","import { createSelector } from 'reselect';\n\nconst userSelector = state => state.user;\nconst adminSelector = state => state.admin;\n\nexport const isAdminSelector = createSelector(\n userSelector,\n user => user?.is_superuser || false\n);\n\nexport const isImpersonatingSelector = createSelector(\n adminSelector,\n admin => admin?.is_impersonating || false\n);\n\nexport const impersonatedUserSelector = createSelector(\n adminSelector,\n admin => admin?.impersonated_user || {}\n);\n","import { useState, useContext, useEffect } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Context } from 'store/store';\nimport { message } from 'antd';\n\nimport { apiService } from 'services/api.service';\nimport ROUTES from 'constants/routes';\nimport {\n SIGN_IN_SUCCESS,\n GET_USERNAME,\n EXTERNAL_SIGN_IN_SUCCESS,\n} from 'store/action';\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { useGoogleAuthentication } from 'utils/socialAuth/google/useGoogleAuthentication';\nimport useSelector from 'store/useSelector';\nimport { getTokenSelector, isExternalPageSelector } from 'selectors/user';\nimport { setToken } from 'services/auth.service';\nimport { isAdminSelector } from 'selectors/admin';\n\nconst useSignIn = () => {\n const [, dispatch] = useContext(Context);\n const isAdmin = useSelector(isAdminSelector);\n const isExternalPage = useSelector(isExternalPageSelector);\n const token = useSelector(getTokenSelector);\n const history = useHistory();\n const [email, setEmail] = useState(\n history.location.state && history.location.state.email\n ? history.location.state.email\n : null\n );\n const [password, setPassword] = useState('');\n const [error, setError] = useState();\n const [loading, setLoading] = useState(false);\n const [isRedirected, setIsRedirected] = useState(false);\n const [successAction, setSuccessAction] = useState('');\n const [googleAccount, setGoogleAccount] = useState(null);\n const [signInToGoogle, setSignInToGoogle] = useState(false);\n const [spinnerLabel, setSpinnerLabel] = useState('Processing...');\n const googleAUth = useGoogleAuthentication(\n setSignInToGoogle,\n setEmail,\n setPassword,\n setError,\n setSpinnerLabel\n );\n\n const handleLoginToGoogle = async googleAccount => {\n setSignInToGoogle(true);\n try {\n if (googleAccount) {\n await loginAuthenticatedUser(googleAccount.token);\n } else {\n setLoading(false);\n setSignInToGoogle(false);\n }\n } catch (err) {\n setSignInToGoogle(false);\n return setError(\n (err && err.message) ||\n 'We encountered unexpected error while signing in'\n );\n }\n return setLoading(false);\n };\n\n const onChangeEmail = e => {\n setEmail(e.target.value);\n };\n\n useEffect(() => {\n if (token) {\n if (isAdmin) {\n history.push(ROUTES.ADMIN_PAGE);\n } else {\n history.push(ROUTES.BOTS_PAGE);\n }\n }\n }, []);\n\n useEffect(() => {\n if (history.location.state && history.location.state.success) {\n setSuccessAction(history.location.state.action);\n setIsRedirected(true);\n }\n }, [history.location.state]);\n const onChangePassword = e => {\n setPassword(e.target.value);\n };\n\n const redirectToVerification = () => {\n history.push({\n pathname: ROUTES.VERIFY_EMAIL,\n state: { email },\n });\n };\n\n const onSubmit = async evt => {\n evt.preventDefault();\n localStorage.removeItem('token');\n if (loading) {\n return;\n }\n setLoading(true);\n try {\n const res = await apiService.userToken(email, password);\n if (res && res.status === 200) {\n try {\n loginAuthenticatedUser(res.data.token);\n } catch (error) {\n throw new Error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n } else {\n setLoading(false);\n return setError(res);\n }\n } catch (err) {\n setLoading(false);\n return setError(\n err?.message || 'We encountered unexpected error while signing in'\n );\n }\n return setLoading(false);\n };\n\n const requestGoogleAccess = async () => {\n setLoading(true);\n setEmail(null);\n setPassword(null);\n if (Object.values(googleAUth.tokenClient).length > 0) {\n return await googleAUth.tokenClient.requestCode();\n } else {\n return googleAUth.refreshAuth();\n }\n };\n\n useEffect(() => {\n if (googleAUth.tokenClient.user && !googleAccount) {\n setGoogleAccount(googleAUth.tokenClient.user);\n handleLoginToGoogle(googleAUth.tokenClient.user);\n }\n }, [googleAUth.tokenClient.user]);\n\n const loginAuthenticatedUser = async token => {\n try {\n const user = await apiService.getUser(token);\n const { email, id, is_activated, is_superuser, name } = user.data;\n setToken(token);\n await dispatch({\n type: isExternalPage ? EXTERNAL_SIGN_IN_SUCCESS : SIGN_IN_SUCCESS,\n payload: token,\n });\n await dispatch({\n type: GET_USERNAME,\n payload: { email, id, is_activated, is_superuser, name },\n });\n\n setLoading(false);\n setError(null);\n setSignInToGoogle(false);\n if (is_superuser) {\n history.push(ROUTES.ADMIN_PAGE);\n } else {\n history.push(ROUTES.BOTS_PAGE);\n }\n } catch (error) {\n setSignInToGoogle(false);\n setLoading(false);\n message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n return {\n email,\n error,\n isRedirected,\n loading,\n signInToGoogle,\n spinnerLabel,\n onChangeEmail,\n onChangePassword,\n onSubmit,\n successAction,\n redirectToVerification,\n requestGoogleAccess,\n isExternalPage,\n };\n};\n\nexport default useSignIn;\n","export const MINIMUM_SCREEN_WIDTH = 768;\n\nexport const MINIMUM_RECOMMENDED_WIDTH = 1024;\n\nconst size = {\n mobileS: '320px',\n mobileM: '375px',\n mobileL: '425px',\n tablet: '768px',\n laptop: '1024px',\n laptopL: '1440px',\n desktop: '2560px',\n};\n\nexport const device = {\n mobileS: `max-width: ${size.mobileS}`,\n mobileM: `max-width: ${size.mobileM}`,\n mobileL: `max-width: ${size.mobileL}`,\n tablet: `max-width: ${size.tablet}`,\n laptop: `max-width: ${size.laptop}`,\n laptopL: `max-width: ${size.laptopL}`,\n desktop: `max-width: ${size.desktop}`,\n desktopL: `max-width: ${size.desktop}`,\n};\n","import { Row } from 'antd';\nimport styled from 'styled-components';\n\nexport const StyledAuth = styled.div`\n margin: 0 auto;\n padding-top: 120px;\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 472px;\n`;\n\nexport const StyledLogo = styled.img`\n max-width: 300px;\n margin-bottom: 30px;\n`;\n\nexport const StyledForm = styled.form`\n width: 100%;\n padding: 0 10px;\n margin-top: 24px;\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n`;\n\nexport const StyledSwitchLinkContainer = styled(Row)`\n width: 100%;\n padding-left: 3%;\n margin-top: 4%;\n`;\n\nexport const StyledSignInGoogleContainer = styled.button`\n transition: background-color 0.3s, box-shadow 0.3s;\n cursor: pointer;\n padding: 12px 16px 12px 42px;\n border: none;\n border-radius: 50px;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);\n color: #757575;\n font-size: 14px;\n font-weight: 500;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,\n Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\n\n background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);\n background-color: white;\n background-repeat: no-repeat;\n background-position: 12px 11px;\n margin-top: 1em;\n\n &:hover {\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25);\n }\n\n &:active {\n background-color: #eeeeee;\n }\n\n &:focus {\n outline: none;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25),\n 0 0 0 3px #c8dafc;\n }\n\n &:disabled {\n filter: grayscale(100%);\n background-color: #ebebeb;\n box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n }\n\n margin: auto;\n margin-top: 35px;\n display: flex;\n`;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Col, Spin } from 'antd';\n\nimport Input from 'components/Input';\nimport useSignIn from './hooks';\nimport Alert from 'components/Alert';\nimport Button from 'components/Button';\nimport ROUTES from 'constants/routes';\nimport LowResoPrompt from 'components/Modals/LowResoPrompt';\nimport { MINIMUM_SCREEN_WIDTH } from 'constants/screens';\nimport {\n StyledForm,\n StyledSignInGoogleContainer,\n StyledSwitchLinkContainer,\n} from './SignIn.style';\n\nconst SignIn = () => {\n const {\n email,\n error,\n isRedirected,\n loading,\n signInToGoogle,\n onChangeEmail,\n onChangePassword,\n onSubmit,\n successAction,\n redirectToVerification,\n requestGoogleAccess,\n spinnerLabel,\n isExternalPage,\n } = useSignIn();\n\n const isNotVerified =\n error &&\n error.non_field_errors &&\n error.non_field_errors[0].includes('not activated');\n\n const REGISTRATION_SUCCESS_MESSAGE = `Your account has been successfully ${\n !isNotVerified ? 'verified' : 'created'\n }. Please enter your login credentials.`;\n const UPDATE_PASSWORD_SUCCESS_MESSAGE = 'Account is updated successfully.';\n\n // if (window.innerWidth < MINIMUM_SCREEN_WIDTH && !isExternalPage) {\n // return ;\n // }\n\n return (\n \n \n {error && (\n redirectToVerification(),\n adaptButtonColor: true,\n }\n : {}\n }\n />\n )}\n {isRedirected && !error && (\n \n )}\n \n \n \n \n \n \n {`Don't have an account`}? \n \n {' '}\n {`Sign Up`}\n \n \n \n {'Forgot Password'}?\n \n \n \n {'Sign in with Google'}\n \n \n );\n};\n\nexport default SignIn;\n","import { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport { apiService } from 'services/api.service';\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { isExternalPageSelector } from 'selectors/user';\nimport useSelector from 'store/useSelector';\n\nconst useResetPassword = () => {\n const history = useHistory();\n const [email, setEmail] = useState('');\n const [token, setToken] = useState('');\n const [showTokenField, setShowTokenField] = useState(false);\n const [error, setError] = useState();\n const [loading, setLoading] = useState(false);\n const isExternalPage = useSelector(isExternalPageSelector);\n\n const onChangeEmail = e => {\n setEmail(e.target.value);\n };\n\n const onChangeToken = e => {\n setToken(e.target.value);\n };\n\n const onTokenSubmit = async e => {\n e.preventDefault();\n\n setLoading(true);\n try {\n const res = await apiService.updatePasswordValidateToken(token);\n if (res && res.status === 200) {\n setLoading(false);\n history.push({\n pathname: '/confirm-new-password',\n state: { token },\n });\n setError(null);\n }\n } catch (err) {\n setLoading(false);\n return setError(err.message || DEFAULT_ERROR_MESSAGE);\n }\n\n return setLoading(false);\n };\n\n const onSubmit = async evt => {\n evt.preventDefault();\n setLoading(true);\n try {\n const res = await apiService.updatePassword(email);\n if (res && res.status === 200) {\n setLoading(false);\n setEmail('');\n setShowTokenField(true);\n setError(null);\n }\n } catch (err) {\n setLoading(false);\n return setError(err.message || DEFAULT_ERROR_MESSAGE);\n }\n return setLoading(false);\n };\n\n return {\n error,\n loading,\n onChangeEmail,\n onSubmit,\n showTokenField,\n onChangeToken,\n onTokenSubmit,\n email,\n token,\n isExternalPage,\n };\n};\n\nexport default useResetPassword;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledResetPassword = styled.div`\n display: block;\n align-items: flex-start;\n margin: 0 auto;\n padding-top: 120px;\n flex-direction: column;\n max-width: 472px;\n`;\n\nexport const StyledHeaderTitle = styled.div`\n margin-bottom: 40px;\n`;\n\nexport const StyledResetPasswordFields = styled.div`\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n\n &label {\n font-weight: ${cssVariables.font.normal};\n }\n`;\n\nexport const StyledResetPasswordBottomLinks = styled.div`\n display: block;\n text-align: center;\n margin-top: 20px;\n\n a {\n margin: 0 20px;\n }\n`;\n\nexport const StyledForm = styled.form`\n width: 100%;\n margin-top: 24px;\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n`;\n","import styled, { css } from 'styled-components';\nimport { cssVariables } from 'styles/root';\nimport { Dropdown, Spin, Menu, InputNumber } from 'antd';\nimport { StyledFlexColumn } from 'styles/GenericStyledComponents';\nimport {\n InfoCircleFilled,\n InfoCircleOutlined,\n ZoomInOutlined,\n} from '@ant-design/icons';\n\nexport const StyledRightNav = styled.div`\n display: flex;\n width: ${props => (props.isSidebarChatExpanded ? '50vw' : '400px')};\n flex-direction: column;\n height: 100vh;\n overflow: hidden;\n\n @media (max-width: 1200px) {\n position: absolute;\n right: 0;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '300px')};\n z-index: 2;\n }\n`;\n\nexport const StyledBotTitleSideNav = styled.div`\n padding: 10px;\n height: 80px;\n background: ${cssVariables.zsbCyanGradient};\n color: #fff;\n font-size: 20px;\n font-weight: ${cssVariables.font.bold};\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n .anticon-close {\n display: none;\n }\n\n @media (max-width: 1200px) {\n background-color: ${cssVariables.gray0};\n border: 1px solid ${cssVariables.gray1};\n border-bottom: none;\n\n .anticon-close {\n display: block;\n cursor: pointer;\n margin-left: 20px;\n position: absolute;\n left: 0;\n }\n }\n`;\n\nexport const StyledSpinning = styled(Spin)`\n min-height: 50vh !important;\n`;\n\nexport const StyledChatComponent = styled.div`\n border-left: 1px solid ${cssVariables.gray1};\n height: calc(100% - 80px);\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background-color: #fff;\n\n & .input-with-label {\n margin: 10px;\n flex-direction: unset;\n height: 40px;\n width: 100%;\n }\n\n & img {\n max-width: 100%;\n }\n`;\n\nexport const StyledChatQuestionContainer = styled.div`\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin-bottom: 10px;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '300px')};\n`;\n\nexport const StyledChatQuestion = styled.div`\n background-color: ${props =>\n props.isChatOnDevMode ? 'transparent' : cssVariables.primaryTransparent};\n color: #fff;\n border-radius: 10px;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '215px')};\n padding: ${props => (props.isChatOnDevMode ? '0px' : '15px')};\n word-break: break-word;\n`;\n\nexport const StyledChatAnswerContainer = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n`;\n\nexport const StyledMessageOptions = styled.div`\n font-size: 11px;\n display: flex;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '270px')};\n flex-direction: column;\n`;\n\nexport const StyledMsgIndicators = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const StyledChatAnswer = styled.div`\n display: flex;\n align-items: center;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '270px')};\n`;\n\nexport const StyledTestBotInfo = styled.div`\n background-color: #fff;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px;\n font-size: 11px;\n & span {\n display: flex;\n align-items: center;\n }\n & .anticon-caret-right {\n margin-right: 5px;\n font-size: 24px;\n }\n`;\n\nexport const StyledChatViewButton = styled(StyledFlexColumn)`\n height: 60px;\n justify-content: center;\n cursor: pointer;\n ${props =>\n props.isSelected\n ? css`\n background-color: ${cssVariables.primaryCyanHover};\n color: ${cssVariables.primaryCyan};\n `\n : css`\n background-color: transparent;\n `}\n`;\n\nexport const StyledChatContentHeader = styled.div`\n & .ant-menu {\n display: flex;\n justify-content: space-between;\n width: 100%;\n background-color: transparent;\n height: 78px;\n & span {\n display: block;\n }\n & .ant-menu-item-selected,\n .ant-menu-item-disabled,\n .ant-menu-item-selected:hover,\n .ant-menu-item-disabled:hover,\n .ant-menu-horizontal {\n padding-top: 10px;\n border: none;\n }\n\n & .ant-menu-item-selected,\n .ant-menu-item-selected:hover,\n .ant-menu-item-disabled,\n .ant-menu-item-disabled:hover {\n background-color: #fff;\n color: ${cssVariables.primaryColor};\n width: 100%;\n text-align: center;\n margin: 0px;\n top: 0px;\n border: none;\n border-top: 1px solid ${cssVariables.primaryColor};\n & .anticon {\n font-weight: ${cssVariables.font.bold};\n font-size: 20px;\n }\n }\n & .ant-menu-item-selected {\n font-weight: ${cssVariables.font.bold};\n }\n & .ant-menu-item:not(.ant-menu-item-selected) {\n background-color: ${cssVariables.gray4};\n }\n }\n`;\n\nexport const StyledChatList = styled.div`\n padding: 10px;\n overflow-y: auto;\n height: 100%;\n`;\n\nexport const StyledQuickReplyContainer = styled.div`\n display: flex;\n flex-flow: wrap;\n justify-content: center;\n & span {\n border: 1px solid ${cssVariables.gray2};\n padding: 5px 10px;\n border-radius: 20px;\n margin: 0px 5px;\n margin-top: 5px;\n height: fit-content;\n text-align: center;\n &:hover {\n background-color: ${cssVariables.gray4};\n cursor: pointer;\n }\n }\n`;\n\nexport const StyledChatScore = styled.div`\n font-style: italic;\n padding: 5px;\n &.danger {\n color: ${cssVariables.errorText};\n }\n\n &.success {\n color: ${cssVariables.primaryBlue};\n }\n\n & .tooltip:hover .tooltiptext {\n visibility: visible;\n }\n`;\n\nexport const StyledMsgOption = styled.div`\n margin: 5px;\n background-color: ${cssVariables.gray4};\n padding: 3px;\n border-radius: 5px;\n width: fit-content;\n display: block;\n\n &:hover {\n cursor: pointer;\n background-color: ${cssVariables.gray2};\n }\n`;\n\nexport const StyledChatAnswerText = styled.div`\n padding: ${props => (props.isChatOnDevMode ? '0px' : '15px')};\n background-color: ${props =>\n props.isChatOnDevMode ? 'transparent' : cssVariables.gray4};\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '250px')};\n border-radius: 10px;\n overflow-x: auto;\n white-space: break-spaces;\n word-break: break-word;\n margin-top: 10px;\n\n &.default-answer {\n background-color: ${cssVariables.red1};\n box-sizing: border-box;\n box-shadow: inset 0px 2px 0px ${cssVariables.red10};\n }\n\n & p {\n margin: 0px;\n margin-bottom: 0px;\n word-break: break-word;\n }\n`;\n\nexport const StyledChatAction = styled(Dropdown)`\n font-size: 15px;\n text-align: center;\n border-radius: 50%;\n padding: 5px;\n &:hover {\n background-color: ${cssVariables.gray2};\n }\n`;\n\nexport const StyledChatInputContainer = styled.div`\n border-top: 1px solid ${cssVariables.gray1};\n background-color: ${cssVariables.gray4};\n height: 60px;\n\n &.disabled {\n pointer-events: none;\n cursor: none;\n opacity: 0.4;\n }\n\n & form {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 5px;\n\n & textarea.ant-input {\n font-size: 16px !important;\n border: none;\n max-height: 37px !important;\n }\n\n & .ant-input:focus {\n border-color: none;\n box-shadow: none;\n }\n\n & button {\n background-color: transparent !important;\n padding: 5px;\n margin: 0px;\n min-width: auto;\n cursor: pointer;\n\n & svg {\n color: ${cssVariables.primaryColor};\n height: 25px;\n font-size: 30px;\n }\n\n &:hover {\n background-color: transparent;\n }\n }\n }\n`;\n\nexport const StyledColFlexbox = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin-top: 10px;\n\n .anticon {\n padding: 5px;\n cursor: pointer;\n &:hover {\n background-color: ${cssVariables.gray4};\n border-radius: 50px;\n }\n }\n`;\n\nexport const StyledLoader = styled.div`\n margin: 10px 10px 10px 0;\n display: flex;\n`;\n\nexport const StyledLoaderContainer = styled.div`\n background-color: #f4f7f9;\n border-radius: 10px;\n padding: 15px;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '215px')};\n text-align: left;\n\n > span:first-child {\n animation-delay: 0.2s !important;\n }\n`;\n\nexport const StyledLoaderDots = styled.span`\n display: inline-block;\n height: 4px;\n width: 4px;\n border-radius: 50%;\n background: gray;\n margin-right: 2px;\n animation: a 0.5s ease infinite alternate;\n`;\n\nexport const StyledMenu = styled(Menu)`\n box-shadow: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%),\n 0 9px 28px 8px rgb(0 0 0 / 5%) !important;\n`;\n\nexport const StyledLabel = styled.label`\n margin-right: 5px;\n`;\n\nexport const StyledInteractionInput = styled(InputNumber)`\n width: 50px;\n // font-size: 12px;\n`;\n\nexport const StyledZoomIn = styled(ZoomInOutlined)`\n font-size: 16px;\n color: ${cssVariables.primaryBlue};\n display: contents;\n`;\n\nexport const StyledWebSocketActionContainer = styled.div`\n font-size: 11px;\n display: flex;\n max-width: ${props => (props.isSidebarChatExpanded ? '100%' : '270px')};\n flex-direction: column;\n`;\n\nexport const StyledWebSocketAction = styled.div`\n font-style: italic;\n padding: 5px;\n color: ${cssVariables.primaryBlue};\n margin-bottom: 8px;\n`;\n\nexport const StyledWebSocketActionList = styled.div`\n padding: 5px;\n color: ${cssVariables.primaryBlue};\n`;\n\nexport const StyledInfoSequence = styled(InfoCircleFilled)`\n position: absolute;\n margin-top: 3px;\n right: 20px;\n font-size: 13px;\n color: ${cssVariables.primaryBlue};\n`;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Typography } from 'antd';\nimport Input from 'components/Input';\nimport useResetPassword from './hooks';\nimport Alert from 'components/Alert';\nimport Button from 'components/Button';\nimport ROUTES from 'constants/routes';\nimport {\n StyledResetPassword,\n StyledHeaderTitle,\n StyledResetPasswordFields,\n StyledResetPasswordBottomLinks,\n StyledForm,\n} from './ResetPassword.style';\nimport { StyledColFlexbox } from 'components/SidebarChat/StyledComponents';\nimport {\n StyledFlexColumn,\n StyledFlexRowLeft,\n} from 'styles/GenericStyledComponents';\n\nconst { Text, Title } = Typography;\n\nconst ResetPassword = () => {\n const {\n error,\n loading,\n onChangeEmail,\n onSubmit,\n showTokenField,\n onTokenSubmit,\n onChangeToken,\n email,\n token,\n isExternalPage,\n } = useResetPassword();\n\n return (\n \n \n Forgot Password?\n We can help you reset your password.\n \n {error && }\n {showTokenField ? (\n \n \n \n \n \n \n ) : (\n \n \n \n \n \n \n )}\n \n \n Sign in\n \n \n Create an account\n \n \n \n );\n};\n\nexport default ResetPassword;\n","import React, { useContext, useMemo } from 'react';\n\nimport Logo from 'assets/images/zeroshotbot_black.png';\nimport AuthBanner from 'assets/images/auth-banner.png';\nimport useAuth from './hooks';\nimport {\n StyledAuth,\n StyledImageBanner,\n StyledBannerWrapper,\n StyledLogo,\n StyledSectionWrapper,\n StyledFormContent,\n} from './StyledComponents';\nimport { StyledFlexColumn } from 'styles/GenericStyledComponents';\nimport SignUp from './SignUp';\nimport { Context } from 'store/store';\nimport SignIn from './SignIn';\nimport ResetPassword from 'pages/ResetPassword';\nimport { SET_PAGE_EXTERNAL, UNSET_PAGE_EXTERNAL } from 'store/action';\n\nconst Auth = () => {\n const { pathname } = useAuth();\n const [state, dispatch] = useContext(Context);\n\n const AuthView = useMemo(() => {\n if (pathname) {\n if (pathname.includes('external-login')) {\n localStorage.setItem('external', 'true');\n dispatch({ type: SET_PAGE_EXTERNAL });\n return ;\n }\n\n if (\n pathname.includes('login') ||\n pathname.includes('sign-in') ||\n pathname === '/'\n ) {\n dispatch({ type: UNSET_PAGE_EXTERNAL });\n localStorage.removeItem('external');\n return ;\n }\n\n if (pathname.includes('signup')) {\n return ;\n }\n\n if (pathname.includes('reset-password')) {\n return ;\n }\n }\n localStorage.removeItem('external');\n return ;\n }, [pathname]);\n\n return (\n \n \n \n

    {`It's easy peasey`}

    \n \n Build your own Next-Gen AI.\n Easy, fast and reliable. No coding required.\n \n
    \n \n
    \n \n \n \n {AuthView}\n \n \n
    \n );\n};\n\nexport default Auth;\n","import { cssVariables } from 'styles/root';\nimport styled, { css } from 'styled-components';\n\nexport const StyledTitle = styled.div`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n\n .primary {\n font-size: 42px;\n line-height: 51px;\n color: ${cssVariables.primaryGray};\n }\n\n .secondary {\n font-size: 32px;\n line-height: 39px;\n color: #31353e;\n }\n\n .responsive-text {\n font-size: 1.5rem;\n line-height: 39px;\n color: #31353e;\n padding-bottom: 2%;\n }\n\n ${props =>\n props.hasPrintBtn || props.hasRightEl\n ? css`\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n .anticon {\n font-size: 16px;\n }\n\n .right-el {\n font-size: 18px;\n }\n `\n : null}\n\n span:last-child {\n margin-left: 2px;\n }\n\n button {\n align-self: center;\n }\n`;\n","import { Title } from './Title';\n\nexport default Title;\n","import React, { useCallback } from 'react';\nimport PropTypes from 'prop-types';\nimport { PrinterOutlined } from '@ant-design/icons';\nimport Button from 'components/Button';\nimport { StyledTitle } from './Title.styles';\n\nconst Title = props => {\n const {\n text,\n type,\n rightEl,\n subHeader,\n hasPrintBtn,\n onPrint,\n buttonText,\n ...rest\n } = props;\n\n if (rightEl) {\n return (\n \n
    {text}
    \n
    {rightEl}
    \n
    \n );\n }\n\n return (\n \n
    {text}
    \n {!!subHeader && {subHeader}}\n {hasPrintBtn ? (\n }\n onClick={onPrint}\n />\n ) : null}\n
    \n );\n};\n\nTitle.propTypes = {\n text: PropTypes.any.isRequired,\n rightEl: PropTypes.any,\n type: PropTypes.oneOf(['primary', 'secondary']),\n subHeader: PropTypes.any,\n hasPrintBtn: PropTypes.bool,\n onPrint: PropTypes.func,\n buttonText: PropTypes.string,\n};\n\nexport { Title };\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledBotCard = styled.div`\n width: 100%;\n height: 100%;\n background-color: #fff;\n position: relative;\n display: flex;\n flex-direction: ${props => (props.isList ? 'row' : 'column')};\n justify-content: space-between;\n box-shadow: ${cssVariables.cardShadow};\n border-radius: 5px;\n align-items: ${props => (props.isList ? 'center' : 'inherit')};\n border-bottom: 1px solid ${cssVariables.gray2};\n padding: ${props => (props.isList ? '10px' : '0px ')};\n margin: ${props => (props.isList ? '10px 0' : '0px ')};\n min-height: ${props => (props.isList ? 'auto' : '180px')};\n\n :hover {\n border-bottom: ${props =>\n props.isList ? `1px solid ${cssVariables.gray3}` : 'none'};\n box-shadow: ${cssVariables.itemListShadow};\n background-color: ${cssVariables.gray5};\n cursor: ${props => (props.isList ? 'pointer' : 'auto')};\n }\n\n .info {\n display: flex;\n align-items: center;\n padding: ${props => (props.isList ? '0px' : '16px 16px 0 16px')};\n width: ${props => (props.isList ? '100%' : 'auto')};\n }\n\n .bot-avatar {\n width: 48px;\n height: 48px;\n border-radius: 50%;\n background: linear-gradient(180deg, #c4c4c4 0%, #fffcfc 100%);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 12px;\n }\n\n .bot-info {\n display: flex;\n flex-direction: ${props => (props.isList ? 'row' : 'column')};\n width: ${props => (props.isList ? '100%' : '70%')};\n }\n\n .weak-bot-button {\n height: 32px;\n display: flex;\n flex-direction: row-reverse;\n margin: ${props => (props.isList ? '0' : '0px 20px 10px 0px')};\n\n .weak-stat {\n color: #fff;\n background-color: ${cssVariables.red10};\n padding: 5px 10px;\n border-radius: 5px;\n .anticon {\n font-size: 18px;\n margin-right: 5px;\n }\n }\n }\n\n .bot-name {\n font-size: 18px;\n line-height: 22px;\n color: ${cssVariables.primaryColor};\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-right: ${props => (props.isList ? '10px' : '0px')};\n }\n\n .bot-actions {\n ${props =>\n props.isList\n ? `\n display: flex;\n flex-start: end;\n flex-direction: row;\n justify-content: flex-end;\n width: 100%;\n align-items: center;`\n : ''}\n }\n\n .bot-footer-actions {\n display: flex;\n flex-direction: ${props => (!props.isList ? 'row' : 'column')};\n align-items: center;\n justify-content: space-between;\n padding-right: ${props => (!props.isList ? '20px' : 0)};\n padding-bottom: ${props => (!props.isList ? '16px' : 0)};\n padding-left: ${props => (!props.isList ? '16px' : 0)};\n font-style: italic;\n color: ${cssVariables.gray0};\n font-size: 13px;\n margin-right: ${props => (props.isList ? '36px' : 0)};\n width: ${props => (props.isList ? '20%' : 'auto')};\n }\n\n .answers {\n font-size: 13px;\n line-height: 23px;\n color: #afafaf;\n }\n\n .more {\n position: absolute;\n transform: rotate(-90deg);\n top: 16px;\n right: 16px;\n padding: 5px;\n\n :hover {\n background: ${cssVariables.gray2};\n border-radius: 50%;\n }\n }\n\n .ant-spin-container,\n .ant-spin-blur {\n width: 100%;\n height: 100%;\n }\n`;\n\nexport const WeakBotContent = styled.div`\n padding: 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 400px;\n border-radius: 10px;\n font-family: 'Roboto';\n font-style: normal;\n\n > h3 {\n margin-top: 16px;\n font-weight: 600;\n font-size: 20px;\n line-height: 20px;\n color: #333333;\n }\n > p {\n font-weight: 400;\n font-size: 14px;\n line-height: 18px;\n color: #333333;\n text-align: center;\n margin-bottom: 20px;\n }\n`;\n\nexport const WeakBotContentActions = styled.div`\n display: flex;\n flex-direction: column;\n gap: 15px;\n width: 100%;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Tooltip } from 'antd';\n\nconst ToolTip = props => {\n const { children, ...rest } = props;\n return (\n \n {children}\n \n );\n};\n\nToolTip.propTypes = {\n children: PropTypes.any.isRequired,\n};\n\nexport default ToolTip;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Modal from '../GenericModal';\n\nconst ConfirmDelete = props => {\n const { itemTobeDeleted, loading, modalTitle, show, ...rest } = props;\n return (\n \n
    {`Are you sure you want to delete ${itemTobeDeleted}?`}
    \n \n );\n};\n\nConfirmDelete.propTypes = {\n itemTobeDeleted: PropTypes.string,\n loading: PropTypes.bool,\n modalTitle: PropTypes.string,\n show: PropTypes.bool.isRequired,\n};\n\nexport default ConfirmDelete;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { useHistory } from 'react-router-dom';\nimport { ExclamationCircleTwoTone } from '@ant-design/icons';\nimport { Popover } from 'antd';\n\nimport { Context } from 'store/store';\nimport Button from './Button';\nimport { StyledSpaceBetweenFlexColumn } from 'styles/GenericStyledComponents';\nimport { cssVariables } from 'styles/root';\nimport { REMOVE_WEAK_BOT_STATUS } from 'store/action';\nimport { botStatistics } from 'utils/bot';\n\nconst StyledPopover = styled(Popover)`\n img {\n max-width: 100%;\n }\n\n p:last-child {\n margin-bottom: 0;\n }\n\n text-align: center;\n`;\n\nconst StyledContentWrapper = styled(StyledSpaceBetweenFlexColumn)`\n max-width: 450px;\n text-align: center;\n padding: 20px 0;\n > * + * {\n margin: 5px 0;\n }\n`;\n\nexport const WeakStatPopover = props => {\n const { weakData, triggerComponent, dataStatName, location, jid, ...rest } =\n props;\n const { push } = useHistory();\n const [_, dispatch] = useContext(Context);\n const { weakBotMessage, redirect } = botStatistics(weakData, jid);\n\n const handleDismiss = () => {\n dispatch({\n type: REMOVE_WEAK_BOT_STATUS,\n payload: {\n location,\n jid: dataStatName === 'bot' ? weakData.jid : weakData.id,\n },\n });\n };\n\n if (!weakData) {\n return false;\n }\n\n const content = (\n \n \n

    \n {dataStatName === 'bot' ? weakData?.name : weakData?.identifier}{' '}\n {'is not doing great lately'}...\n

    \n {weakBotMessage && Array.isArray(weakBotMessage) ? (\n weakBotMessage.map(msg =>

    {msg}

    )\n ) : (\n

    \n {`This ${dataStatName} doesn't have a good conversational skills and introduce \"dead\n end\" most of the time.`}\n

    \n )}\n \n (window.location.href = redirect)}\n value=\"SEE METRICS\"\n variant=\"primary\"\n full\n rounded\n />\n \n \n
    \n );\n\n return (\n \n {triggerComponent || rest.children}\n \n );\n};\n\nWeakStatPopover.propTypes = {\n triggerComponent: PropTypes.node,\n name: PropTypes.string,\n weakData: PropTypes.object.isRequired,\n location: PropTypes.string.isRequired,\n dataStatName: PropTypes.oneOf(['bot', 'channel']).isRequired,\n statMessage: PropTypes.array,\n};\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const DisabledBtn = styled.div`\n border: ${props =>\n props.isBordered ? `1px solid ${cssVariables.gray1}` : 'none'};\n padding: 8px;\n border-radius: 5px;\n color: ${cssVariables.gray1};\n align-items: center;\n justify-content: center;\n display: flex;\n column-gap: 5px;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Tooltip } from 'antd';\n\nimport { DisabledBtn } from './LimitationTooltip.styles';\nimport { makeKeywordAsAnchorText } from 'utils';\n\nconst LimitationTooltip = props => {\n const {\n children,\n disabledFeat,\n isBordered,\n placement,\n title,\n style,\n isAnElement,\n ...rest\n } = props;\n\n return (\n \n {children || (\n \n {disabledFeat}\n \n )}\n \n );\n};\n\nLimitationTooltip.defaultProps = {\n placement: 'topRight',\n isBordered: true,\n};\n\nLimitationTooltip.propTypes = {\n children: PropTypes.any,\n isBordered: PropTypes.bool,\n placement: PropTypes.string,\n style: PropTypes.object,\n title: PropTypes.any.isRequired,\n disabledFeat: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n};\n\nexport default LimitationTooltip;\n","import { createSelector } from 'reselect';\nimport { initialPlansAndFeatures } from 'store/initialState';\nimport { parseBoolean } from 'utils/dataTypes';\n\nexport const userPlanSelector = state => state.plan;\n\nexport const planTypeSelector = createSelector(\n userPlanSelector,\n plan => plan?.plan_type || 'free'\n);\n\nexport const isFreeUserSelector = createSelector(\n planTypeSelector,\n planType => planType?.toLowerCase() === 'free'\n);\n\nexport const onboardingFlagSelector = createSelector(\n userPlanSelector,\n plan => plan?.onboarding_flag || []\n);\n\nexport const isAdvancedUserSelector = createSelector(\n planTypeSelector,\n planType => planType?.toLowerCase() === 'advanced'\n);\n\nexport const isBasicUserSelector = createSelector(\n planTypeSelector,\n planType => planType?.toLowerCase() === 'basic'\n);\n\nexport const maxTransactionCountSelector = createSelector(\n userPlanSelector,\n plan => plan?.max_txn_count || 0\n);\n\nexport const importExportEnabledSelector = createSelector(\n userPlanSelector,\n plan => {\n if (\n !plan?.export_import ||\n (plan?.export_import &&\n typeof plan?.export_import === 'string' &&\n plan?.export_import?.toLowerCase() === 'false')\n ) {\n return false;\n }\n return true;\n }\n);\n\nexport const customerPaymentsSelector = createSelector(\n userPlanSelector,\n plan => plan?.payments || []\n);\n\nexport const invoiceIdSelector = createSelector(\n userPlanSelector,\n plan => plan?.invoice_id\n);\n\nexport const customerIdSelector = createSelector(\n userPlanSelector,\n plan => plan?.customer?.id\n);\n\nexport const currentBotCountSelector = createSelector(\n userPlanSelector,\n plan => plan?.current_bot_count || 0\n);\n\nexport const maxBotCountSelector = createSelector(\n userPlanSelector,\n plan => plan?.max_bot_count || 0\n);\n\nexport const isMaxBotCountReachedSelector = createSelector(\n maxBotCountSelector,\n currentBotCountSelector,\n (maxBotCount, currentBotCount) => maxBotCount <= currentBotCount\n);\n\nexport const botPercentageSelector = createSelector(\n currentBotCountSelector,\n maxBotCountSelector,\n (currentBotCount, maxBotCount) =>\n Math.round((currentBotCount / maxBotCount) * 100)\n);\n\nexport const customerChargesSelector = createSelector(\n customerPaymentsSelector,\n payments => {\n const customerCharges = payments?.charges?.data\n ?.map(payment => payment)\n .filter(Boolean);\n return customerCharges || [];\n }\n);\n\nexport const showFirstLoginPlanSelector = createSelector(\n userPlanSelector,\n plan => plan.showFirstLoginPlan\n);\n\nexport const isTextIngestEnabledSelector = createSelector(\n userPlanSelector,\n plan => parseBoolean(plan.text_ingest)\n);\n\nexport const isTextGenerateEnabledSelector = createSelector(\n userPlanSelector,\n plan => parseBoolean(plan.text_generate)\n);\n\nexport const isOpenAIPlanEnabledSelector = createSelector(\n userPlanSelector,\n plan => parseBoolean(plan.openai)\n);\n\nexport const planDetailsSelector = createSelector(\n userPlanSelector,\n plan => plan?.plansAndFeatures || initialPlansAndFeatures\n);\n","import { createSelector } from 'reselect';\nimport { currentBotCountSelector, maxBotCountSelector } from './plan';\n\nexport const allBotsSelector = state => state?.bots || [];\nexport const botModesSelector = state => state?.botModes || [];\n\nexport const botsExceedsLimitSelector = createSelector(\n currentBotCountSelector,\n maxBotCountSelector,\n (currentBotCount, maxBotCount) => currentBotCount > maxBotCount\n);\n\nexport const botsRemainingSelector = createSelector(\n currentBotCountSelector,\n maxBotCountSelector,\n (currentBotCount, maxBotCount) => maxBotCount - currentBotCount\n);\n\nexport const totalExceedingBotsSelector = createSelector(\n currentBotCountSelector,\n maxBotCountSelector,\n (currentBotCount, maxBotCount) => currentBotCount - maxBotCount\n);\n\nconst botJIdSelector = (_state, botJID) => {\n return botJID;\n};\n\nexport const showWeakBotStatSelector = createSelector(\n allBotsSelector,\n botJIdSelector,\n (allBots, botJID) => {\n const matchBot = allBots?.find(bot => bot?.jid === botJID);\n return matchBot?.showWeakStat || false;\n }\n);\n","import { useContext, useState } from 'react';\nimport { message } from 'antd';\n\nimport { Context } from 'store/store';\nimport { DELETE_BOT, SHOW_BOT_MODAL } from 'store/action';\nimport useSelector from 'store/useSelector';\nimport {\n allBotsSelector,\n botsExceedsLimitSelector,\n showWeakBotStatSelector,\n totalExceedingBotsSelector,\n} from 'selectors/bots';\nimport { deleteBot } from 'services/bots.service';\n\nconst useBotCard = ({ bot }) => {\n const [state, dispatch] = useContext(Context);\n const { sentinel, token } = state;\n\n const allBots = useSelector(allBotsSelector);\n const showWeakBotStat = useSelector(showWeakBotStatSelector, bot.jid);\n const botsExceedsLimit = useSelector(botsExceedsLimitSelector);\n const totalExceedingBots = useSelector(totalExceedingBotsSelector);\n\n const [isConfirmModalOpen, setIsConfirmModalOpen] = useState(false);\n const [loading, setLoading] = useState(false);\n\n const handleEditBot = () => {\n dispatch({\n type: SHOW_BOT_MODAL,\n payload: {\n ...bot,\n action: 'edit',\n },\n });\n };\n\n const handleDelete = async () => {\n setLoading(true);\n try {\n await deleteBot(sentinel, bot.jid, token);\n await dispatch({ type: DELETE_BOT, payload: bot.jid });\n setLoading(false);\n message.success('Bot successfully deleted.');\n return allBots;\n } catch (err) {\n setLoading(false);\n message.error('Something went wrong while deleting your bot');\n }\n };\n\n return {\n botsExceedsLimit,\n handleEditBot,\n totalExceedingBots,\n handleDelete,\n isConfirmModalOpen,\n loading,\n showWeakBotStat,\n setIsConfirmModalOpen,\n };\n};\n\nexport default useBotCard;\n","import { BotCard } from './BotCard';\n\nexport default BotCard;\n","import React from 'react';\nimport {\n MoreOutlined,\n EditOutlined,\n DeleteOutlined,\n FrownOutlined,\n LockOutlined,\n LoadingOutlined,\n} from '@ant-design/icons';\nimport PropTypes from 'prop-types';\nimport { Dropdown, Menu, Spin, Tag } from 'antd';\n\nimport { StyledBotCard } from './BotCard.style';\n\nimport Button from 'components/Button';\nimport { default as ToolTip } from 'components/ToolTips/BaseToolTip';\nimport ConfirmDelete from 'components/Modals/ConfirmDelete';\nimport { getTimeDifference } from 'utils/dates';\nimport { WeakStatPopover } from 'components/WeakStatPopover';\n\nimport LimitationTooltip from 'components/ToolTips/LimitationToolTip';\nimport useBotCard from './hooks';\nimport { parseBoolean } from 'utils/dataTypes';\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport { cssVariables } from 'styles/root';\nimport { BOT_MODES } from 'constants/bot';\n\nconst BotCard = props => {\n const { bot, viewBot, isList, loading, ...rest } = props;\n const { answerCount, fileCount, mode, websiteCount } = bot;\n const {\n botsExceedsLimit,\n handleEditBot,\n totalExceedingBots,\n handleDelete,\n isConfirmModalOpen,\n loading: componentLoading,\n showWeakBotStat,\n setIsConfirmModalOpen,\n } = useBotCard({ bot });\n\n const totalAnswersText =\n !!answerCount && answerCount > 0\n ? `${answerCount} Answer${\n answerCount > 1 && fileCount && isList ? 's' : ''\n }`\n : !answerCount && !fileCount && !websiteCount\n ? `No Answer`\n : null;\n\n const totalFilesText =\n !!fileCount && fileCount > 0\n ? `${fileCount} File${fileCount > 1 ? 's' : ''}`\n : null;\n\n const totalWebsiteCount =\n !!websiteCount && websiteCount > 0\n ? `${websiteCount} Website${websiteCount > 1 ? 's' : ''}`\n : null;\n\n const cardSettings = (\n \n {botsExceedsLimit ? (\n }\n disabled\n style={{ display: 'flex', alignItems: 'center' }}\n >\n \n \n ) : (\n } onClick={handleEditBot} key={1}>\n {'Edit'}\n \n )}\n }\n onClick={() => setIsConfirmModalOpen(true)}\n >\n {'Delete'}\n \n \n );\n\n return (\n }\n >\n \n
    (isList ? viewBot() : false)}>\n
    {bot?.name[0]}
    \n
    \n \n \n {bot?.name}\n \n {totalAnswersText}\n {totalFilesText}\n {totalWebsiteCount}\n {isList ? (\n \n \n {mode?.toUpperCase()}\n \n \n ) : null}\n \n
    \n
    \n
    \n {showWeakBotStat ? (\n
    \n \n
    \n {'Weak Bot'}\n
    \n \n
    \n ) : null}\n
    \n
    (isList ? viewBot() : false)}>\n {bot.lastUpdatedAt && (\n \n {!isList ? (\n \n {mode?.toUpperCase()}\n \n ) : null}\n \n {'Modified'} {getTimeDifference(bot.lastUpdatedAt)}\n \n \n )}\n
    \n {!botsExceedsLimit ? (\n \n ) : (\n \n \n
    {'Locked'}
    \n \n }\n style={{ padding: '8px 16px' }}\n title={`Upgrade or delete at least ${totalExceedingBots} bot(s) to unlock.`}\n />\n )}\n
    \n
    \n \n \n \n\n setIsConfirmModalOpen(false)}\n modalTitle=\"Delete bot\"\n show={isConfirmModalOpen}\n loading={componentLoading || parseBoolean(loading)}\n onOk={handleDelete}\n itemTobeDeleted={bot?.name}\n />\n
    \n \n );\n};\n\nBotCard.propTypes = {\n bot: PropTypes.object.isRequired,\n isList: PropTypes.bool,\n loading: PropTypes.bool,\n viewBot: PropTypes.func.isRequired,\n};\n\nexport { BotCard };\n","import styled, { css } from 'styled-components';\nimport { Input } from 'antd';\nimport { cssVariables } from 'styles/root';\n\nconst { TextArea: AntdTextArea } = Input;\n\nexport const StyledTextArea = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n`;\n\nexport const StyledSpan = styled.span`\n font-weight: ${cssVariables.font.bold};\n padding-top: ${props => (props.noPaddingTop ? 0 : '10px')};\n`;\n\nexport const StyledAntdTextArea = styled(AntdTextArea)`\n border-radius: 5px;\n padding: 5px;\n border: 0.5 solid ${cssVariables.blueishGray};\n\n ${props => {\n if (props.$full) {\n return css`\n display: flex;\n width: 100% !important;\n `;\n }\n }}\n\n &:focus-visible {\n border: none !important;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport {\n StyledTextArea,\n StyledSpan,\n StyledAntdTextArea,\n} from './TextArea.styles';\n\nconst TextArea = props => {\n const {\n value,\n noPaddingTop,\n full,\n children,\n allowClear,\n disableSpan,\n ...rest\n } = props;\n\n return (\n \n {!disableSpan ? (\n {rest.label || ''}\n ) : null}\n \n {children}\n \n \n );\n};\n\nTextArea.defaultProps = {\n autoSize: {\n minRows: 3,\n maxRows: 5,\n },\n};\n\nTextArea.propTypes = {\n value: PropTypes.any,\n children: PropTypes.any,\n textAreaRef: PropTypes.object,\n full: PropTypes.bool,\n noPaddingTop: PropTypes.bool,\n disableSpan: PropTypes.bool,\n allowClear: PropTypes.bool,\n};\n\nexport default React.memo(TextArea);\n","const ANSWER_BANK_JSON_REQUIRED_FIELDS = [\n {\n name: 'text',\n type: 'string',\n },\n {\n name: 'show_text',\n type: ['string', 'object'],\n },\n];\n\nconst QUESTION_JSON_REQUIRED_FIELDS = [\n {\n name: 'text',\n type: 'string',\n },\n];\n\nexport const validateAnswerBankJSONSchema = jsonData => {\n const missingFields = [];\n const invalidFields = [];\n\n for (const data of jsonData) {\n for (const field of ANSWER_BANK_JSON_REQUIRED_FIELDS) {\n if (!data.hasOwnProperty(field.name)) {\n if (!missingFields.includes(field.name)) {\n missingFields.push(field.name);\n }\n } else {\n if (field.type === 'array') {\n if (\n !Array.isArray(data[field.name]) &&\n !invalidFields.includes(field.name)\n ) {\n invalidFields.push(field.name);\n }\n } else if (!field.type.includes(typeof data[field.name])) {\n if (!invalidFields.includes(field.name)) {\n invalidFields.push(field.name);\n }\n }\n }\n }\n }\n\n if (missingFields.length) {\n return {\n status: 'missing_fields',\n data: missingFields,\n };\n }\n\n if (invalidFields.length) {\n return {\n status: 'invalid_fields',\n data: invalidFields,\n };\n }\n\n return {\n status: 'valid',\n data: {},\n };\n};\n\nexport const validateQuestionJSONSchema = jsonData => {\n const missingFields = [];\n const invalidFields = [];\n\n for (const data of jsonData) {\n for (const field of QUESTION_JSON_REQUIRED_FIELDS) {\n if (!data.hasOwnProperty(field.name)) {\n if (!missingFields.includes(field.name)) {\n missingFields.push(field.name);\n }\n } else {\n if (field.type === 'array') {\n if (\n !Array.isArray(data[field.name]) &&\n !invalidFields.includes(field.name)\n ) {\n invalidFields.push(field.name);\n }\n } else if (!field.type.includes(typeof data[field.name])) {\n if (!invalidFields.includes(field.name)) {\n invalidFields.push(field.name);\n }\n }\n }\n }\n }\n\n if (missingFields.length) {\n return {\n status: 'missing_fields',\n data: missingFields,\n };\n }\n\n if (invalidFields.length) {\n return {\n status: 'invalid_fields',\n data: invalidFields,\n };\n }\n\n return {\n status: 'valid',\n data: {},\n };\n};\n\nconst BOT_JSON_REQUIRED_FIELDS = [\n {\n name: 'name',\n type: 'string',\n },\n];\n\nexport const validateBotJSONSchema = data => {\n const missingFields = [];\n const invalidFields = [];\n let answerBankValidation = null;\n\n for (const field of BOT_JSON_REQUIRED_FIELDS) {\n if (!data.hasOwnProperty(field.name)) {\n if (!missingFields.includes(field.name)) {\n missingFields.push(field.name);\n }\n } else {\n if (field.type === 'array') {\n if (!Array.isArray(data[field.name])) {\n if (!invalidFields.includes(field.name)) {\n invalidFields.push(field.name);\n }\n } else if (field.name === 'answerbank') {\n answerBankValidation = validateAnswerBankJSONSchema(data[field.name]);\n }\n } else if (!field.type.includes(typeof data[field.name])) {\n if (!invalidFields.includes(field.name)) {\n invalidFields.push(field.name);\n }\n }\n }\n }\n\n if (missingFields.length) {\n return {\n status: 'missing_fields',\n data: missingFields,\n };\n }\n\n if (invalidFields.length) {\n return {\n status: 'invalid_fields',\n data: invalidFields,\n };\n }\n\n if (answerBankValidation && answerBankValidation.status !== 'valid') {\n return {\n status: `answerbank_${answerBankValidation.status}`,\n data: answerBankValidation.data,\n };\n }\n\n return {\n status: 'valid',\n data: {},\n };\n};\n","import { createSelector } from 'reselect';\n\nexport const layoutSelector = state => state.layout;\n\nexport const botModalStateSelector = createSelector(\n layoutSelector,\n layout => layout?.botModal || {}\n);\n\nexport const wordPressModalStateSelector = createSelector(\n layoutSelector,\n layout => layout?.wordPressModal || {}\n);\n\nexport const isBotModalVisibleSelector = createSelector(\n botModalStateSelector,\n botModal => Boolean(botModal.visible)\n);\n\nexport const isWordPressModalVisibleSelector = createSelector(\n wordPressModalStateSelector,\n wordPressModal => Boolean(wordPressModal.visible)\n);\n\nexport const pageInitializedSelector = createSelector(\n layoutSelector,\n layout => layout.initialized\n);\n\nexport const isMobileViewSelector = createSelector(\n layoutSelector,\n layout => layout.isMobileView\n);\n\nexport const standardFontSizeSelector = createSelector(\n layoutSelector,\n layout => layout.standardFontSize\n);\n","import { createSelector } from 'reselect';\nimport { pageInitializedSelector } from 'selectors/layout';\nimport {\n initialCategoryModalState,\n initialQuestionEditorModalState,\n} from 'store/initialState';\nimport { stripUUID } from 'utils';\nimport { parseBoolean } from 'utils/dataTypes';\n\nexport const currentBotSelector = state => state.bot;\nexport const getFeaturesStateSelector = state => state.featureFlags;\n\nconst getBotUIStateSelector = createSelector(\n currentBotSelector,\n botState => botState.ui\n);\n\nexport const botNameSelector = createSelector(\n currentBotSelector,\n bot => bot.name\n);\n\nexport const answerCountSelector = createSelector(\n currentBotSelector,\n bot => bot.answerCount || 0\n);\n\nexport const fileCountSelector = createSelector(\n currentBotSelector,\n bot => bot.fileCount || 0\n);\n\nexport const totalArtefactsSelector = createSelector(\n answerCountSelector,\n fileCountSelector,\n (answerCount, fileCount) => answerCount + fileCount\n);\n\nexport const featureFlagSelector = createSelector(\n getFeaturesStateSelector,\n featuresState => featuresState\n);\n\nexport const featureFlagVersionSelector = createSelector(\n featureFlagSelector,\n featureFlag => featureFlag?.version\n);\n\nexport const featureFlagFeaturesSelector = createSelector(\n featureFlagSelector,\n featureFlag => featureFlag || {}\n);\n\nexport const getBotModalsStateSelector = createSelector(\n getBotUIStateSelector,\n botUiState => botUiState.modals\n);\n\nexport const isPageReadySelector = createSelector(\n getBotUIStateSelector,\n currentBotSelector,\n pageInitializedSelector,\n (botUiState, bot, initialized) =>\n (botUiState.detailsPageReady || bot.hasError) && initialized\n);\n\nexport const strippedBotJIDSelector = createSelector(currentBotSelector, bot =>\n stripUUID(bot.jid)\n);\n\nexport const botJIDSelector = createSelector(\n currentBotSelector,\n bot => bot.jid\n);\n\nexport const selectedCategorySelector = createSelector(\n currentBotSelector,\n bot => bot.selectedCategory || initialCategoryModalState\n);\n\nexport const getAllQuestionsWithAnswerSelector = createSelector(\n currentBotSelector,\n bot => bot.questions || []\n);\n\nexport const questionEditorSelector = createSelector(\n getBotModalsStateSelector,\n bot => bot.questionEditorModal || initialQuestionEditorModalState\n);\n\nexport const showDraftResponsesSelector = createSelector(\n currentBotSelector,\n botState => botState.showDraftResponses\n);\n\nexport const showBelowThresholdResponsesSelector = createSelector(\n currentBotSelector,\n botState => botState.showBelowThresholdResponses\n);\n\nexport const showWeakBotStatInOverviewSelector = createSelector(\n currentBotSelector,\n getBotUIStateSelector,\n (bot, ui) => {\n return parseBoolean(bot.isWeak && ui?.weakBotStats?.overview);\n }\n);\n\nexport const isAutoTranslateResponseSelector = createSelector(\n currentBotSelector,\n botState => parseBoolean(botState.autoTranslateResponse)\n);\n\nexport const isBotTypingExperienceEnabledSelector = createSelector(\n currentBotSelector,\n botState => parseBoolean(botState.typingExperience)\n);\n\nexport const botModeSelector = createSelector(\n currentBotSelector,\n bot => bot.mode\n);\n\nexport const botPersonaSelector = createSelector(\n currentBotSelector,\n bot => bot.persona\n);\n\nexport const botPersonaRetrievalCountSelector = createSelector(\n currentBotSelector,\n bot => bot.retrievalCount\n);\n\nexport const autoTranslateResponseSelector = createSelector(\n currentBotSelector,\n bot => bot.autoTranslateResponse\n);\n\n// checks if openAI for bot enabled\nexport const isBotOpenAIEnabledSelector = createSelector(\n currentBotSelector,\n botState => parseBoolean(botState.useOpenAI)\n);\n\n// checks if openAI featureFlag is enabled\nexport const isOpenAIFeatureEnabledSelector = createSelector(\n featureFlagFeaturesSelector,\n features => parseBoolean(features.openai)\n);\n\n// checks if openAI for bot enabled\n// and\n// checks if openAI featureFlag is enabled\nexport const isOpenAIBotAndFeatureEnabledSelector = createSelector(\n isBotOpenAIEnabledSelector,\n isOpenAIFeatureEnabledSelector,\n (isBotOpenAIEnabled, openAIFeatureEnabled) =>\n parseBoolean(isBotOpenAIEnabled && openAIFeatureEnabled)\n);\n\nexport const shouldShowTestChatUseContextSelector = createSelector(\n isBotOpenAIEnabledSelector,\n featureFlagFeaturesSelector,\n (isBotOpenAIEnabled, features) =>\n isBotOpenAIEnabled && parseBoolean(features?.contextHistory)\n);\n\nexport const botMailConfigSelector = createSelector(\n currentBotSelector,\n bot => bot.mailConfig || {}\n);\n\nexport const isBotMailConfigEnabledSelector = createSelector(\n currentBotSelector,\n bot => Boolean(bot.shouldSendCallbackLog)\n);\n","import { createSelector } from 'reselect';\nimport { sumBy, flattenDeep, isEmpty, orderBy } from 'lodash';\n\nimport {\n getBotModalsStateSelector,\n currentBotSelector,\n selectedCategorySelector,\n} from '.';\nimport { DEFAULT_ANSWER_THRESHOLD } from 'constants/bot';\nimport {\n initialAnalyticsAggregationsState,\n initialWebsiteSelectedPage,\n} from 'store/initialState';\n\nexport const allAnswersSelector = createSelector(currentBotSelector, bot =>\n orderBy(\n [...bot.answers, ...bot.files, ...bot.websites] || [],\n 'lastEdited',\n 'desc'\n )\n);\n\nexport const answersSelector = createSelector(currentBotSelector, bot =>\n orderBy(bot.answers || [], 'lastEdited', 'desc')\n);\n\nexport const filesSelector = createSelector(currentBotSelector, bot =>\n orderBy(bot.files || [], 'lastEdited', 'desc')\n);\n\nexport const websitesSelector = createSelector(currentBotSelector, bot =>\n orderBy(bot.websites || [], 'lastEdited', 'desc')\n);\n\nexport const topDefaultAnswerSelector = createSelector(\n currentBotSelector,\n bot => bot.defaultAnswer[0] || {}\n);\n\nexport const allDefaultAnswersSelector = createSelector(\n currentBotSelector,\n bot => bot.defaultAnswer || []\n);\n\nexport const defaultAnswerThresholdSelector = createSelector(\n topDefaultAnswerSelector,\n defaultAnswer => defaultAnswer.score || DEFAULT_ANSWER_THRESHOLD\n);\n\nexport const botAggregationsSelector = createSelector(\n currentBotSelector,\n bot => bot.aggregations || initialAnalyticsAggregationsState\n);\n\nexport const answerEditorContentsSelector = createSelector(\n getBotModalsStateSelector,\n modalState => modalState.answerEditorModal\n);\n\nexport const fileEditorContentsSelector = createSelector(\n getBotModalsStateSelector,\n modalState => modalState.fileEditorModal\n);\n\nexport const websiteEditorContentsSelector = createSelector(\n getBotModalsStateSelector,\n modalState => modalState.websiteEditorModal\n);\n\nexport const answerEditorAnswerSelector = createSelector(\n answerEditorContentsSelector,\n answerEditorModal => answerEditorModal?.answerTab\n);\n\nexport const fileEditorAnswerSelector = createSelector(\n fileEditorContentsSelector,\n fileEditorModal => fileEditorModal?.file\n);\n\nexport const websiteEditorAnswerSelector = createSelector(\n websiteEditorContentsSelector,\n websiteEditorModal => websiteEditorModal?.website\n);\n\nexport const answerEditorSimilarAnswerSelector = createSelector(\n answerEditorAnswerSelector,\n answerEditorAnswer => answerEditorAnswer?.similarAnswers || []\n);\n\nexport const isAnswerEditorOpenSelector = createSelector(\n answerEditorContentsSelector,\n answerEditorModal => answerEditorModal?.isOpen\n);\n\nexport const isFileEditorOpenSelector = createSelector(\n fileEditorContentsSelector,\n fileEditorModal => fileEditorModal?.isOpen\n);\n\nexport const isWebsiteEditorOpenSelector = createSelector(\n websiteEditorContentsSelector,\n websiteEditorModal => websiteEditorModal?.isOpen\n);\n\nexport const answerEditorQuestionsSelector = createSelector(\n answerEditorContentsSelector,\n answerEditorModal => answerEditorModal?.questionsTab\n);\n\nexport const answerEditorInsightsSelector = createSelector(\n answerEditorContentsSelector,\n answerEditorModal => answerEditorModal?.insightsTab || {}\n);\n\nexport const isCreateModeAnswerEditorSelector = createSelector(\n answerEditorContentsSelector,\n answerEditorModal => answerEditorModal?.createMode\n);\n\nexport const getMaxAnswerCountSelector = state => state.plan.max_ans_count;\n\nexport const isCategoryModalOpenSelector = createSelector(\n selectedCategorySelector,\n selectedCategory => selectedCategory?.isOpen\n);\n\nexport const isMaxAnswersSelector = createSelector(\n getMaxAnswerCountSelector,\n answersSelector,\n (maxAnswerCount, answers) => maxAnswerCount < answers?.length + 1\n);\n\nexport const getTotalAnswersLeftSelector = createSelector(\n getMaxAnswerCountSelector,\n allAnswersSelector,\n (maxAnswerCount, answers) => maxAnswerCount - answers.length\n);\n\nexport const totalAnswersSelectedFromCategoryTemplatesSelector = createSelector(\n selectedCategorySelector,\n selectedCategory => {\n if (selectedCategory.isTemplate && !isEmpty(selectedCategory.templates)) {\n return sumBy(\n flattenDeep(selectedCategory.templates),\n templates => templates.answers.length\n );\n }\n\n return 0;\n }\n);\n\nexport const isTotalAnswersSelectedFromCategoryTemplatesReachMaxAnswerCountSelector =\n createSelector(\n totalAnswersSelectedFromCategoryTemplatesSelector,\n getTotalAnswersLeftSelector,\n (totalAnswersSelectedFromCategoryTemplates, totalAnswersLeft) =>\n totalAnswersSelectedFromCategoryTemplates > totalAnswersLeft\n ? true\n : false\n );\n\nexport const getSelectedAnswerSimilarAnswersSelector = createSelector(\n answerEditorContentsSelector,\n selectedAnswer => selectedAnswer?.similarAnswers || []\n);\n\nexport const websiteSelectedPageselector = createSelector(\n currentBotSelector,\n bot => bot.websiteSelectedPages || initialWebsiteSelectedPage\n);\n","import { createSelector } from 'reselect';\n\nexport const featureFlagsSelector = state => state.featureFlags;\n\nexport const isBotModeEnabledSelector = createSelector(\n featureFlagsSelector,\n featureFlags => Boolean(featureFlags?.botMode)\n);\n\nexport const isBotSimulatorEnabledSelector = createSelector(\n featureFlagsSelector,\n featureFlags => {\n return Boolean(featureFlags?.botSimulator);\n }\n);\n","import { useRef, useState, useEffect, useContext, useMemo } from 'react';\nimport { message } from 'antd';\nimport { isEmpty } from 'lodash';\n\nimport { validateBotJSONSchema } from 'utils/validator';\nimport { getTotalAnswersLeftSelector } from 'selectors/bot/answers';\nimport useSelector from 'store/useSelector';\nimport { allBotsSelector, botModesSelector } from 'selectors/bots';\nimport { DEFAULT_BOT_MODE_ON_BOTMODAL } from 'constants/bot';\nimport {\n importExportEnabledSelector,\n isMaxBotCountReachedSelector,\n maxBotCountSelector,\n planTypeSelector,\n} from 'selectors/plan';\nimport { Context } from 'store/store';\nimport {\n ADD_BOT,\n CLOSE_BOT_MODAL,\n IMPORT_BOT,\n SET_WS_IMPORTER_PROCESS_COMPLETED,\n SET_TEMP_BOT,\n SET_WS_IMPORTER_ACTION,\n UPDATE_BOT,\n} from 'store/action';\nimport { apiService } from 'services/api.service';\nimport { createBot, editBot } from 'services/bots.service';\nimport {\n botModalStateSelector,\n isBotModalVisibleSelector,\n} from 'selectors/layout';\nimport { GET_DATA_ERROR, PLAN_LIMIT_ERROR } from 'constants/error';\nimport { makeKeywordAsAnchorText } from 'utils';\nimport { isBotModeEnabledSelector } from 'selectors/featureFlags';\nimport { appendWithParenthesesIfDuplicate } from 'utils/stringManipulation';\nimport { uuid } from 'uuidv4';\n\nconst useBotModal = () => {\n const [state, dispatch] = useContext(Context);\n const { graph, sentinel, token, webSocket } = state;\n const totalAnswersLeft = useSelector(getTotalAnswersLeftSelector);\n const botModes = useSelector(botModesSelector);\n const isMaxBotCountReached = useSelector(isMaxBotCountReachedSelector);\n const maxBotCount = useSelector(maxBotCountSelector);\n const isBotModalVisible = useSelector(isBotModalVisibleSelector);\n const planType = useSelector(planTypeSelector);\n const botModalState = useSelector(botModalStateSelector);\n const allBots = useSelector(allBotsSelector);\n const importExportEnabled = useSelector(importExportEnabledSelector);\n const isBotModeEnabled = useSelector(isBotModeEnabledSelector);\n\n const nameRef = useRef();\n const descriptionRef = useRef();\n\n const [botName, setBotName] = useState(botModalState?.name);\n const [botDesc, setBotDesc] = useState(botModalState?.description);\n const [botMetaData, setBotMetaData] = useState(null);\n const [botAnswer, setBotAnswer] = useState([]);\n const [botWebsite, setBotWebsite] = useState([]);\n const [botQuestionList, setBotQuestionList] = useState([]);\n const [botTestSuites, setBotTestSuites] = useState([]);\n const [botCategoryList, setBotCategoryList] = useState([]);\n const [showImportModal, setShowImportModal] = useState(false);\n const [showImportOption, setShowImportOption] = useState(false);\n const [isImportBtnDisabled, setIsImportBtnDisabled] = useState(true);\n const [isImportSaveBtnDisabled, setIsImportSaveBtnDisabled] = useState(false);\n const [loading, setLoading] = useState(false);\n const [botInfo, setBotInfo] = useState({});\n const [warnMsg, setWarnMsg] = useState('');\n const [selectExportType, setSelectExportType] = useState([]);\n const [exportOptions, setExportOptions] = useState([]);\n const [botDetails, setBotDetails] = useState([]);\n const [botMode, setBotMode] = useState(DEFAULT_BOT_MODE_ON_BOTMODAL);\n const [importStep, setImportStep] = useState(0);\n const isImporting = showImportOption && botModalState.action === 'add';\n const isImportReady = Boolean(\n isImporting && (!isEmpty(botInfo) || !isEmpty(botDetails))\n );\n\n const isCreatingNewBot = botModalState.action === 'add';\n const isEditingBot = botModalState.action === 'edit';\n\n const webSocketIsInprogress = useMemo(\n () => webSocket?.percentage > 0 || false,\n [webSocket?.percentage]\n );\n\n useEffect(() => {\n return () => {\n handleClearBotData();\n };\n }, []);\n\n useEffect(() => {\n if (webSocket.activeAction === 'completed') {\n handleCloseBotModal();\n setLoading(false);\n message.success('A new bot is created!');\n dispatch({\n type: SET_WS_IMPORTER_PROCESS_COMPLETED,\n });\n }\n }, [webSocket]);\n\n useEffect(() => {\n setBotName(botModalState?.name);\n setBotMode(botModalState?.mode || DEFAULT_BOT_MODE_ON_BOTMODAL);\n setBotDesc(botModalState?.description);\n }, [botModalState?.name, botModalState?.mode, botModalState?.description]);\n\n const handleClearBotData = () => {\n setBotName('');\n setBotDesc('');\n setBotMetaData(null);\n setBotAnswer(null);\n setBotWebsite(null);\n setBotQuestionList(null);\n setBotTestSuites(null);\n setBotCategoryList(null);\n setBotDetails();\n setBotInfo({});\n setWarnMsg('');\n setExportOptions([]);\n setSelectExportType(null);\n setShowImportModal(false);\n setImportStep(0);\n setShowImportOption(false);\n setBotMode('');\n setLoading(false);\n setIsImportSaveBtnDisabled(false);\n };\n\n const handleSubmit = evt => {\n evt.preventDefault();\n if (botName) {\n const parameter =\n botDetails?.bot?.length > 0\n ? {\n ...botDetails?.bot[0],\n answer: selectExportType.includes('answer') ? botAnswer : [],\n website: selectExportType.includes('website') ? botWebsite : [],\n question: selectExportType.includes('question')\n ? botQuestionList\n : [],\n testsuite: selectExportType.includes('testsuite')\n ? botTestSuites\n : [],\n category: selectExportType.includes('category')\n ? botCategoryList\n : [],\n }\n : {\n answer: botAnswer,\n };\n\n if (isEditingBot) {\n return handleUpdateBot();\n } else {\n addNewBot(\n {\n bot: [\n {\n ...parameter,\n name: botName,\n description: botDesc || null,\n mode: botMode || DEFAULT_BOT_MODE_ON_BOTMODAL,\n metadata: botMetaData,\n },\n ],\n },\n botDetails?.bot?.length > 0\n );\n }\n }\n };\n\n const handleCloseBotModal = () => {\n handleClearBotData();\n dispatch({\n type: CLOSE_BOT_MODAL,\n });\n };\n\n const handleToggleImportModal = () => {\n setShowImportOption(!showImportOption);\n };\n\n const handleCloseImportModal = () => {\n setShowImportModal(false);\n };\n\n const handleReadBot = file => {\n const reader = new FileReader();\n reader.onload = e => {\n const botString = JSON.parse(e.target.result);\n if (botString.bot?.length) {\n setBotDetails(botString);\n setBotInfo(botString.bot[0]);\n } else {\n setBotInfo(botString);\n }\n setIsImportBtnDisabled(false);\n };\n reader.readAsText(file);\n return false;\n };\n\n const handleImportBot = () => {\n const validation = validateBotJSONSchema(botInfo);\n const answersAllowed = totalAnswersLeft;\n const answerList = botInfo.answerbank || botInfo.answer;\n\n let tempWarnMsg = [];\n\n if (validation.status === 'missing_fields') {\n let errorMsg =\n 'Following fields are missing for the data in the json file: ';\n errorMsg += validation.data.join(', ');\n\n message.error(errorMsg, 5);\n\n return;\n }\n\n if (validation.status === 'invalid_fields') {\n let errorMsg =\n 'Following fields have invalid data type for the data in the json file: ';\n errorMsg += validation.data.join(', ');\n\n message.error(errorMsg, 5);\n\n return;\n }\n\n if (validation.status === 'answerbank_invalid_fields') {\n let errorMsg =\n 'Following fields have invalid data type for the answerbank data in the json file: ';\n errorMsg += validation.data.join(', ');\n\n message.error(errorMsg, 5);\n\n return;\n }\n\n if (answerList?.length > answersAllowed) {\n tempWarnMsg.push(\n `Maximum number of answers reached. System will only upload ${answersAllowed} answer(s).`\n );\n }\n\n if (tempWarnMsg.length) {\n setWarnMsg(tempWarnMsg);\n }\n\n const options = [\n {\n label: 'Answer Bank',\n children: [\n botInfo?.answer?.length > 0 && { value: 'answer', label: 'Answers' },\n botInfo?.file?.length > 0 && { value: 'file', label: 'Files' },\n botInfo?.website?.length > 0 && {\n value: 'website',\n label: 'Websites',\n },\n ].filter(child => child !== false),\n },\n botInfo?.category?.length > 0 && {\n value: 'category',\n label: 'Category',\n },\n botInfo?.testsuite?.length > 0 && {\n value: 'testsuite',\n label: 'Testsuite',\n },\n botInfo?.question?.length > 0 && {\n value: 'question',\n label: 'Question',\n },\n ].filter(option => option !== false);\n\n setSelectExportType([\n ...options?.filter(option => !option?.children)?.map(a => a.value),\n ...options\n ?.filter(option => option.children)\n ?.map(a => a?.children?.map(child => child.value))\n ?.flat(),\n ]);\n setExportOptions(options.filter(option => option !== false));\n setBotName(botInfo.name);\n setBotDesc(botInfo.description || botInfo.desc);\n setBotMode(botInfo?.mode || botMode);\n setBotAnswer(answerList);\n setBotWebsite(botInfo.website);\n setBotQuestionList(botInfo.question);\n setBotTestSuites(botInfo.testsuite);\n setBotCategoryList(botInfo.category);\n setBotMetaData(botInfo.metadata);\n setBotInfo(null);\n setImportStep(importStep + 1);\n setIsImportSaveBtnDisabled(false);\n };\n\n const handleChangeImportType = (e, options) => {\n if (Array.isArray(e)) {\n const existingImportType = selectExportType.filter(\n type => !options.map(option => option.value).includes(type)\n );\n\n setSelectExportType([...existingImportType, ...e]);\n } else {\n const filtered = selectExportType.filter(\n value => value !== e.target?.value\n );\n if (!e.target.checked) {\n e.target.value === 'answer'\n ? setSelectExportType([])\n : setSelectExportType(filtered);\n setIsImportSaveBtnDisabled(true);\n } else {\n setIsImportSaveBtnDisabled(false);\n setSelectExportType([...selectExportType, e.target.value]);\n }\n }\n };\n\n const handleModalSubmit = evt => {\n evt.preventDefault();\n const noBotModes = !botModes?.length;\n if (isImportReady && isImporting && !importStep) {\n return handleImportBot();\n }\n if (\n (!isImporting && botName) ||\n (isImporting && isImportReady && importStep)\n ) {\n if (isMaxBotCountReached && isCreatingNewBot) {\n return false;\n } else if (\n !botName ||\n // warn if botModes data is not empty and no value is selected\n // otherwise\n // continue save if no botModes were returned from api\n (!botMode && !noBotModes && isBotModeEnabled)\n ) {\n setWarnMsg('Bot name and bot mode fields are required.');\n }\n // create new bot without import\n else if (\n botName &&\n (botMode || (!botMode && !botModes)) &&\n !isImporting &&\n isCreatingNewBot\n ) {\n addNewBot({\n bot: [{ name: botName, description: botDesc, mode: botMode }],\n });\n } else {\n handleSubmit(evt);\n }\n } else {\n return;\n }\n };\n\n const handleUpdateBot = async () => {\n setLoading(true);\n const botJID = botModalState.jid;\n\n let botNameToSubmit = appendWithParenthesesIfDuplicate(\n allBots.map(bot => bot.name && bot.jid === botJID),\n botName\n );\n\n try {\n const res = await editBot(\n sentinel,\n botJID,\n botNameToSubmit,\n botModalState.mode || DEFAULT_BOT_MODE_ON_BOTMODAL,\n botDesc,\n token\n );\n if (!res.data || !res.data.report[0] || !res.data.report[0].context) {\n throw new Error(GET_DATA_ERROR);\n }\n const updatedBot = res.data.report[0].context;\n dispatch({ type: UPDATE_BOT, payload: { jid: botJID, ...updatedBot } });\n setLoading(false);\n handleCloseBotModal();\n message.success('Bot updated.');\n } catch (error) {\n setLoading(false);\n handleCloseBotModal();\n return message.error({\n content: makeKeywordAsAnchorText(PLAN_LIMIT_ERROR),\n duration: 10,\n });\n }\n };\n\n const addNewBot = async (params, newImportFormat) => {\n setLoading(true);\n const botParameter = params?.bot[0];\n\n let botNameToSubmit = appendWithParenthesesIfDuplicate(\n allBots.map(bot => bot.name),\n botParameter.name\n );\n\n if (isImporting) {\n try {\n const triggerID = uuid();\n let newBotRes;\n dispatch({\n type: SET_TEMP_BOT,\n payload: {\n jid: 'new-temp-bot',\n name: botNameToSubmit,\n description: botParameter.description,\n },\n });\n if (newImportFormat) {\n newBotRes = await apiService.importer(\n sentinel,\n graph,\n token,\n params,\n webSocket.channel,\n triggerID\n );\n } else {\n newBotRes = await apiService.importBot(\n sentinel,\n graph,\n botNameToSubmit,\n botParameter.description,\n botParameter.metadata,\n botParameter.answer,\n botParameter.mode,\n token\n );\n }\n\n if (newBotRes?.data?.is_queued) {\n dispatch({\n type: SET_WS_IMPORTER_ACTION,\n payload: triggerID,\n });\n } else {\n handleCloseBotModal();\n const newBot = newBotRes.data.report;\n dispatch({ type: SET_TEMP_BOT, payload: null });\n dispatch({\n type: IMPORT_BOT,\n payload: {\n ...newBot,\n answerCount: newImportFormat\n ? newBot[0].context.answer_count\n : newBot.length - 1 || 0,\n websiteCount: params?.bot[0]?.websiteCount || 0,\n fileCount: params?.bot[0]?.fileCount || 0,\n },\n });\n message.success('A new bot is created!');\n }\n } catch (err) {\n dispatch({ type: SET_TEMP_BOT, payload: null });\n handleCloseBotModal();\n setLoading(false);\n return message.error('Error while creating a new bot');\n }\n } else {\n const botDetails = {\n name: botNameToSubmit,\n desc: botParameter.description,\n mode: botParameter.mode || DEFAULT_BOT_MODE_ON_BOTMODAL,\n };\n handleCloseBotModal();\n try {\n dispatch({\n type: SET_TEMP_BOT,\n payload: {\n jid: 'new-temp-bot',\n name: botNameToSubmit,\n description: botParameter.description,\n mode: botParameter.mode || DEFAULT_BOT_MODE_ON_BOTMODAL,\n },\n });\n\n const newBot = await createBot(sentinel, graph, botDetails, token);\n dispatch({ type: SET_TEMP_BOT, payload: null });\n dispatch({ type: ADD_BOT, payload: newBot });\n message.success('A new bot is created!');\n setLoading(false);\n } catch (err) {\n dispatch({ type: SET_TEMP_BOT, payload: null });\n setLoading(false);\n return message.error('Error while creating a new bot');\n }\n }\n };\n\n const handleChangeStep = step => {\n if (!step) {\n setBotInfo({});\n handleClearBotData();\n setShowImportOption(true);\n } else {\n setImportStep(step);\n }\n };\n\n return {\n nameRef,\n descriptionRef,\n botModes,\n botMode,\n botName,\n botDesc,\n botDetails,\n botInfo,\n botMetaData,\n botModalState,\n botAnswer,\n botWebsite,\n warnMsg,\n showImportModal,\n showImportOption,\n importStep,\n isImportBtnDisabled,\n isImportReady,\n isImporting,\n isCreatingNewBot,\n isEditingBot,\n exportOptions,\n maxBotCount,\n planType,\n selectExportType,\n setBotMode,\n setBotName,\n setBotDesc,\n setShowImportOption,\n setImportStep,\n setWarnMsg,\n handleChangeStep,\n handleToggleImportModal,\n handleCloseBotModal,\n handleCloseImportModal,\n handleReadBot,\n handleImportBot,\n handleSubmit,\n handleChangeImportType,\n handleModalSubmit,\n isMaxBotCountReached,\n isBotModalVisible,\n importExportEnabled,\n loading,\n isImportSaveBtnDisabled,\n webSocket,\n webSocketIsInprogress,\n };\n};\n\nexport default useBotModal;\n","import Dragger from 'antd/lib/upload/Dragger';\nimport Button from 'components/Button';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledFooterSubmit = styled(Button)`\n background-color: ${cssVariables.primaryBlue} !important;\n color: #fff !important;\n\n :hover {\n background-color: ${cssVariables.primaryBlueHover} !important;\n color: ${cssVariables.primaryBlue} !important;\n }\n`;\n\nexport const StyledAntUploadContent = styled.p`\n height: 250px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100% !important;\n flex-direction: row;\n align-items: center;\n`;\n\nexport const StyledBotModalFooter = styled.div`\n display: flex;\n justify-content: flex-end;\n align-items: center;\n\n &.showImport {\n justify-content: space-between !important;\n }\n`;\n\nexport const StyledActionButtons = styled.div`\n display: flex;\n column-gap: 5px;\n align-items: flex-end;\n`;\n\nexport const StyledImportLabel = styled.span`\n color: ${cssVariables.green0};\n`;\n\nexport const StyledImportLabelError = styled.span`\n color: ${cssVariables.red10};\n`;\n\nexport const StyledExportLabel = styled.div`\n font-size: 16px;\n color: #33363c;\n margin-right: 8px;\n`;\n\nexport const StyledExportContainer = styled.div`\n font-size: 15px;\n line-height: 20px;\n display: flex;\n flex-direction: column;\n font-weight: ${cssVariables.font.bold};\n padding: 15px 0;\n\n > span:first-child {\n margin-top: 10px;\n }\n\n > input[type='checkbox'] {\n justify-content: space-between;\n align-items: center;\n font-size: 14px;\n }\n\n & .ant-checkbox-wrapper,\n .ant-checkbox-wrapper {\n margin: 10px 0 0 0;\n font-weight: ${cssVariables.font.normal} !important;\n }\n`;\n","import styled from 'styled-components';\nimport { Select as AntdSelect } from 'antd';\n\nexport const StyledRoot = styled.div`\n display: flex;\n flex-direction: column;\n width: ${props => (props.full ? '100%' : 'auto')};\n`;\n\nexport const StyledLabel = styled.label`\n margin-right: 5px;\n`;\n\nexport const StyledAntdSelect = styled(AntdSelect)`\n border-radius: 3px;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Select as AntdSelect } from 'antd';\n\nimport { StyledRoot, StyledLabel, StyledAntdSelect } from './Select.styles';\nimport { isAnObject } from 'utils/dataTypes';\n\nconst { Option } = AntdSelect;\n\nconst Select = props => {\n const {\n className,\n label,\n hidden,\n onChange,\n options,\n size,\n type,\n full,\n children,\n ghost,\n ...rest\n } = props;\n\n return (\n \n \n \n );\n};\n\nSelect.defaultProps = {\n size: 'large',\n};\n\nSelect.propTypes = {\n label: PropTypes.string,\n type: PropTypes.string,\n onChange: PropTypes.func,\n ghost: PropTypes.bool,\n hidden: PropTypes.bool,\n full: PropTypes.bool,\n className: PropTypes.any,\n options: PropTypes.array,\n children: PropTypes.any,\n size: PropTypes.oneOf(['large', 'middle', 'medium', 'small']),\n};\n\nexport default Select;\n","/* eslint-disable react/display-name */\nimport { useContext } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { Context } from 'store/store';\n\nexport const withFeatureFlag = (flag, Component, showLimitationBanner) => {\n return props => {\n const [state] = useContext(Context);\n const { featureFlags } = state;\n if (featureFlags[flag]) {\n return Component;\n }\n return null;\n };\n};\n\nwithFeatureFlag.propTypes = {\n Component: PropTypes.any.isRequired,\n};\n","export const OPEN_AI = 'openai';\n\nexport const GENERATE_FAQ = 'generatefaq';\n\nexport const TEXT_GENERATE = 'textgenerate';\n\nexport const CONTEXT_HISTORY = 'contextHistory';\n\nexport const BOT_MODE = 'botMode';\n\nexport const BOT_SIMULATOR = 'botSimulator';\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { Checkbox, Progress, Spin, Steps, Upload } from 'antd';\nimport { ImportOutlined, UploadOutlined } from '@ant-design/icons';\nimport { isEmpty, capitalize } from 'lodash';\n\nimport Input from '../../Input';\nimport TextArea from '../../TextArea';\nimport Modal from '../GenericModal';\nimport Button from '../../Button';\nimport useBotModal from './hooks';\nimport ROUTES from 'constants/routes';\nimport {\n StyledFooterSubmit,\n StyledBotModalFooter,\n StyledActionButtons,\n StyledImportLabel,\n StyledAntUploadContent,\n StyledExportContainer,\n StyledExportLabel,\n StyledImportLabelError,\n} from './BotModal.styles';\nimport Alert from 'components/Alert';\nimport { ZSB_CONTACT } from 'constants/outboundLinks';\nimport LimitationTooltip from 'components/ToolTips/LimitationToolTip';\nimport Select from 'components/Select';\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport { withFeatureFlag } from 'components/hoc/withFeatureFlags';\nimport { BOT_MODE } from 'constants/featureFlags';\nimport Paragraph from 'antd/lib/typography/Paragraph';\n\nconst { Dragger } = Upload;\nconst { Step } = Steps;\n\nconst BotModalForm = ({\n handleModalSubmit,\n botModes,\n botMode,\n action,\n setBotDesc,\n setBotName,\n botName,\n setBotMode,\n botDesc,\n webSocketIsInprogress,\n}) => {\n const BotModeSelect = withFeatureFlag(\n BOT_MODE,\n \n );\n return (\n \n
    \n setBotName(e.target.value)}\n placeholder=\"Enter bot name\"\n defaultValue={botName}\n maxLength=\"30\"\n disabled={webSocketIsInprogress}\n />\n \n setBotDesc(e.target.value)}\n autoSize={{ minRows: 5, maxRows: 5 }}\n defaultValue={botDesc}\n disabled={webSocketIsInprogress}\n />\n \n
    \n );\n};\n\nBotModalForm.propTypes = {\n handleModalSubmit: PropTypes.func,\n botModes: PropTypes.array,\n botMode: PropTypes.string,\n action: PropTypes.string,\n setBotDesc: PropTypes.func,\n setBotName: PropTypes.func,\n botName: PropTypes.string,\n setBotMode: PropTypes.func,\n botDesc: PropTypes.string,\n webSocketIsInprogress: PropTypes.bool,\n};\n\nconst BotModal = ({\n bot,\n disabled,\n title,\n visibility,\n onCancel,\n handleCreateNewBot,\n onOk,\n ...rest\n}) => {\n const {\n botAnswer,\n botWebsite,\n botInfo,\n botMode,\n botModes,\n botMetaData,\n botName,\n botDesc,\n botModalState,\n importStep,\n isImportReady,\n isImporting,\n isCreatingNewBot,\n isEditingBot,\n warnMsg,\n exportOptions,\n maxBotCount,\n planType,\n setBotMode,\n selectExportType,\n handleCloseBotModal,\n handleToggleImportModal,\n handleReadBot,\n handleModalSubmit,\n handleChangeImportType,\n handleChangeStep,\n setBotName,\n setBotDesc,\n isMaxBotCountReached,\n isBotModalVisible,\n importExportEnabled,\n loading,\n isImportSaveBtnDisabled,\n webSocket,\n webSocketIsInprogress,\n } = useBotModal();\n\n const maxBotCountReachedMessage = () => (\n
    \n

    You have reached the maximum allowed bots of {maxBotCount}.

    \n {planType === 'advanced' ? (\n

    \n \n Contact Us\n {' '}\n for support.\n

    \n ) : (\n

    \n Please upgrade your plan to\n increase bot count.\n

    \n )}\n
    \n );\n\n const BOT_MODAL_STEPS = [\n {\n title: 'Import Bot',\n content: () => (\n \n \n \n {'Drag files here or select file'}\n \n \n ),\n },\n {\n title: 'Save',\n content: () => (\n \n ),\n },\n ];\n\n const renderAddBotForm = isImporting => {\n return isImporting ? (\n <>\n \n {BOT_MODAL_STEPS.map((step, idx) => (\n importStep}\n />\n ))}\n \n
    \n {webSocketIsInprogress && (\n \n )}\n {BOT_MODAL_STEPS[importStep].content()}\n
    \n \n ) : (\n \n );\n };\n const ExportOptionSelect = () => (\n \n {'Select data to be imported'}:\n\n {exportOptions?.map((option, idx) => (\n
    \n {option.children ? (\n <>\n \n {option.label}:\n \n handleChangeImportType(e, option.children)}\n style={{ marginLeft: 16 }}\n defaultValue={selectExportType}\n disabled={\n (!selectExportType.includes('answer') &&\n !selectExportType.includes('website') &&\n !selectExportType.includes('file') &&\n option.children.value !== 'answer') ||\n webSocketIsInprogress\n }\n />\n \n ) : (\n \n {option.label}\n \n )}\n
    \n ))}\n
    \n );\n\n const renderLeftFooterContent = isImporting => {\n const showLeftFooterButton =\n (!botMetaData || !botAnswer || !botWebsite) && importExportEnabled;\n\n if (showLeftFooterButton && isCreatingNewBot) {\n return (\n : null}\n variant=\"link\"\n value={!isImporting ? 'Import Bot' : 'Cancel Import'}\n onClick={handleToggleImportModal}\n />\n );\n } else if (!importExportEnabled && isCreatingNewBot) {\n return (\n \n <>{'Import Bot'}\n \n }\n placement=\"top\"\n />\n );\n } else if (\n (botMetaData || botAnswer || botWebsite) &&\n isCreatingNewBot &&\n !isImportSaveBtnDisabled &&\n !webSocketIsInprogress\n ) {\n return (\n {'BOT is ready for import.'}\n );\n } else if (webSocketIsInprogress) {\n return {'Importing Bot...'};\n } else if (isImportSaveBtnDisabled) {\n return (\n \n {'Please select Answer Bank to proceed with Import.'}\n \n );\n } else {\n return null;\n }\n };\n\n return (\n \n {renderLeftFooterContent(isImporting)}\n \n \n \n \n \n ) : null\n }\n {...rest}\n >\n {isMaxBotCountReached && isCreatingNewBot\n ? maxBotCountReachedMessage()\n : renderAddBotForm(isImporting)}\n\n {warnMsg && (\n \n )}\n {exportOptions?.length > 0 && ExportOptionSelect()}\n \n );\n};\n\nBotModal.propTypes = {\n bot: PropTypes.object,\n disabled: PropTypes.bool,\n onCancel: PropTypes.func,\n handleCreateNewBot: PropTypes.func,\n onOk: PropTypes.func,\n title: PropTypes.string,\n visibility: PropTypes.bool,\n onChangeBotName: PropTypes.func,\n onChangeBotDesc: PropTypes.func,\n action: PropTypes.string,\n};\n\nexport default BotModal;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\nimport Modal from '../GenericModal';\n\nexport const StyledNewUserModal = styled(Modal)``;\n\nexport const StyledNewUserModalContainer = styled.div`\n text-align: center;\n padding: 16px 18px 6px 18px;\n color: ${cssVariables.primaryColor};\n display: flex;\n flex-direction: column;\n div {\n display: flex;\n justify-content: space-between;\n\n button {\n background-color: ${cssVariables.gray5};\n color: ${cssVariables.gray0};\n\n :hover {\n background-color: ${cssVariables.gray0};\n color: #fff;\n }\n }\n }\n\n .heading {\n font-size: 20px;\n font-weight: ${cssVariables.font.bold};\n line-height: 8px;\n }\n\n .text-content {\n margin-bottom: 20px;\n }\n`;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '../../Button';\nimport { Context } from 'store/store';\nimport {\n StyledNewUserModal,\n StyledNewUserModalContainer,\n} from './NewUserModal.style';\nimport { SHOW_BOT_MODAL } from 'store/action';\nimport { Col, Row } from 'antd';\n\nconst NewBotModal = ({ title, visible, onCancel }) => {\n const [state, dispatch] = useContext(Context);\n const { user } = state;\n\n return (\n \n \n

    Hello {user?.name || 'User'},

    \n

    Welcome to ZeroShotBot!

    \n

    \n ZeroShotBot is a no-code, no-train bot platform. First of its kind.\n Just add your answers in the answer bank and deploy your bot. Select a\n path you’d like to get started with.\n

    \n\n \n \n \n dispatch({\n type: SHOW_BOT_MODAL,\n payload: {\n action: 'add',\n },\n })\n }\n full\n />\n \n \n \n window.open('https://docs.zeroshotbot.com/', '_black')\n }\n full\n />\n \n \n onCancel()}\n variant=\"secondary\"\n full\n />\n \n \n
    \n \n );\n};\n\nNewBotModal.propTypes = {\n onCancel: PropTypes.func,\n title: PropTypes.string,\n visible: PropTypes.bool,\n};\n\nexport default NewBotModal;\n","export const categoryTemplatesSelector = state => state.categoryTemplates || [];\n","import { createSelector } from 'reselect';\nimport { currentBotSelector } from '.';\nimport {\n allAnswersSelector,\n answersSelector,\n filesSelector,\n websitesSelector,\n} from './answers';\nimport { stripUUID } from 'utils';\nimport { categoryTemplatesSelector } from 'selectors/categoryTemplates';\n\nexport const allCategoriesSelector = createSelector(\n currentBotSelector,\n bot => bot.categories || []\n);\n\nexport const answerCategoriesTabSelector = createSelector(\n allCategoriesSelector,\n answersSelector,\n (allCategories, allAnswers) => {\n const allAnswersTabs = {\n key: 'all',\n name: 'All Answers',\n count: allAnswers.length || 0,\n };\n const answerBankTabs = [allAnswersTabs, ...allCategories]\n .map(category => {\n const categoryAnswers = allAnswers.filter(\n answer =>\n answer && stripUUID(answer.categoryId) === stripUUID(category.jid)\n );\n if (!categoryAnswers.length && category.key !== 'all') {\n return null;\n }\n return {\n key: category.jid || category.key,\n name: category.name,\n count:\n category.key === 'all'\n ? allAnswers.length\n : categoryAnswers.length || 0,\n };\n })\n .filter(Boolean);\n return answerBankTabs;\n }\n);\n\nexport const filesCategoriesTabSelector = createSelector(\n allCategoriesSelector,\n filesSelector,\n (allCategories, allFiles) => {\n const allFilesTab = {\n key: 'all',\n name: 'All Files',\n count: allFiles.length || 0,\n };\n const answerBankTabs = [allFilesTab, ...allCategories]\n .map(category => {\n const categoryAnswers = allFiles.filter(\n file => file && stripUUID(file.categoryId) === stripUUID(category.jid)\n );\n if (!categoryAnswers.length && category.key !== 'all') {\n return null;\n }\n return {\n key: category.jid || category.key,\n name: category.name,\n count:\n category.key === 'all'\n ? allFiles.length\n : categoryAnswers.length || 0,\n };\n })\n .filter(Boolean);\n return answerBankTabs;\n }\n);\n\nexport const websitesCategoriesTabSelector = createSelector(\n allCategoriesSelector,\n websitesSelector,\n (allCategories, allWebsites) => {\n const allWebsitesTab = {\n key: 'all',\n name: 'All Website',\n count: allWebsites.length || 0,\n };\n const answerBankTabs = [allWebsitesTab, ...allCategories]\n .map(category => {\n const categoryAnswers = allWebsites.filter(\n website =>\n website && stripUUID(website.categoryId) === stripUUID(category.jid)\n );\n if (!categoryAnswers.length && category.key !== 'all') {\n return null;\n }\n return {\n key: category.jid || category.key,\n name: category.name,\n count:\n category.key === 'all'\n ? allWebsites.length\n : categoryAnswers.length || 0,\n };\n })\n .filter(Boolean);\n return answerBankTabs;\n }\n);\n\nconst categorySelector = (_state, category) => {\n return category;\n};\n\nexport const isUserCategorySelector = createSelector(\n categoryTemplatesSelector,\n categorySelector,\n (categoryTemplates, category) => {\n return !categoryTemplates.some(\n categoryTemplate =>\n categoryTemplate.name.toLowerCase() === category.name.toLowerCase()\n );\n }\n);\n","import { createSelector } from 'reselect';\nimport { currentBotSelector } from '.';\nimport { parseBoolean } from 'utils/dataTypes';\nimport {\n initialAIToolModalState,\n initialChatAnswerInModal,\n initialChatSelectedSequenceInModal,\n initialChatSequenceInModal,\n initialUIState,\n} from 'store/initialState';\nimport { allAnswersSelector } from './answers';\nimport { allCategoriesSelector } from './categories';\nimport { getTimeDifference } from 'utils/dates';\n\nexport const uiStateSelector = createSelector(\n currentBotSelector,\n bot => bot?.ui || initialUIState\n);\nexport const modalStateSelector = createSelector(\n uiStateSelector,\n uiState => uiState.modals\n);\n\nexport const responsePickerModalSelector = createSelector(\n modalStateSelector,\n modalState => modalState?.responsePickerModal || {}\n);\n\nexport const similarQuestionsModalSelector = createSelector(\n modalStateSelector,\n modalState => modalState?.similarQuestionsModal || {}\n);\n\nexport const aiToolModalSelector = createSelector(\n modalStateSelector,\n modalState => modalState?.aiToolModal || initialAIToolModalState\n);\n\nexport const isChatOnDevModeSelector = createSelector(uiStateSelector, ui =>\n parseBoolean(ui.isChatOnDevMode)\n);\n\nexport const chatAnswerInModalSelector = createSelector(\n uiStateSelector,\n ui => ui.chatAnswerInModal || initialChatAnswerInModal\n);\n\nexport const chatSequenceInModalSelector = createSelector(\n uiStateSelector,\n ui => ui.chatSequenceInModal || initialChatSequenceInModal\n);\n\nexport const chatSelectedSequenceInModalSelector = createSelector(\n uiStateSelector,\n ui => ui.chatSelectedSequenceInModal || initialChatSelectedSequenceInModal\n);\n\nexport const isSidebarChatExpandedSelector = createSelector(\n uiStateSelector,\n ui => parseBoolean(ui.isSidebarChatExpanded)\n);\n\nexport const isAnswerBankReadySelector = createSelector(uiStateSelector, ui =>\n Boolean(ui.isAnswerBankReady)\n);\n\nexport const avatarPickerModalSelector = createSelector(\n modalStateSelector,\n modals => modals.avatarPickerModal\n);\n\nexport const apiKeyModalSelector = createSelector(\n modalStateSelector,\n modals => modals.apiKeyModal\n);\n\nexport const isAvatarPickerModalOpenSelector = createSelector(\n avatarPickerModalSelector,\n avatarPicker => Boolean(avatarPicker.isOpen)\n);\n\nexport const imageViewerModalSelector = createSelector(\n modalStateSelector,\n modals => modals.imageViewerModal\n);\n\nexport const isImageViewerModalOpenSelector = createSelector(\n imageViewerModalSelector,\n imageViewerModal => Boolean(imageViewerModal.isOpen)\n);\n\nexport const imageViewerModalSourceSelector = createSelector(\n imageViewerModalSelector,\n imageViewerModal => imageViewerModal.source\n);\n\nexport const imageViewerModalTitleSelector = createSelector(\n imageViewerModalSelector,\n imageViewerModal => Boolean(imageViewerModal.title)\n);\n\nexport const isANewBotSelector = createSelector(\n currentBotSelector,\n allAnswersSelector,\n allCategoriesSelector,\n (bot, allAnswers, allCategories) => {\n const oldBotAges = [\n 'd ago',\n 'days ago',\n 'day',\n 'days',\n 'yr',\n 'year',\n 'yr ago',\n 'years ago',\n ];\n\n const isNotANewBot = oldBotAges.some(oldAge =>\n getTimeDifference(bot?.createdAt)?.endsWith(oldAge)\n );\n\n if (isNotANewBot || allAnswers.length || allCategories.length) {\n return false;\n }\n return true;\n }\n);\n\nexport const isApiKeyModalOpenSelector = createSelector(\n apiKeyModalSelector,\n apiKey => Boolean(apiKey.isOpen)\n);\n","import React, { useState, useContext, useEffect, useRef } from 'react';\nimport { useLocation, useHistory } from 'react-router-dom';\nimport { isEqual } from 'lodash';\nimport { Context } from 'store/store';\nimport { message } from 'antd';\n\nimport { apiService } from 'services/api.service';\nimport {\n CLOSE_CHAT_ANSWER_IN_MODAL,\n CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n GET_USERNAME,\n INIT_JAC,\n LOAD_APPLICATION,\n LOGOUT_EXTERNAL_USER,\n LOGOUT_USER,\n SET_CHAT_MODE,\n SET_ONBOARDING_FLAG,\n SET_PLAN_DETAILS,\n SET_PUBLIC_KEY,\n SHOW_FIRST_LOGIN_PLAN,\n START_IMPERSONATING_USER,\n TOGGLE_EXPAND_SIDEBAR_CHAT,\n} from 'store/action';\nimport { withPrefixUUID } from 'utils';\nimport { initialUserState } from 'store/initialState';\nimport { isPageReadySelector } from 'selectors/bot';\nimport { allAnswersSelector } from 'selectors/bot/answers';\nimport { getTokenSelector, isExternalPageSelector } from 'selectors/user';\nimport useSelector from 'store/useSelector';\nimport { DEFAULT_ERROR_MESSAGE, GET_DATA_ERROR } from 'constants/error';\nimport { isAdminSelector, isImpersonatingSelector } from 'selectors/admin';\nimport {\n onboardingFlagSelector,\n showFirstLoginPlanSelector,\n} from 'selectors/plan';\nimport ROUTES from 'constants/routes';\nimport {\n chatAnswerInModalSelector,\n chatSequenceInModalSelector,\n chatSelectedSequenceInModalSelector,\n isSidebarChatExpandedSelector,\n} from 'selectors/bot/ui';\n\nconst useLayout = ({ setRunTour, children }) => {\n const [state, dispatch] = useContext(Context);\n const allAnswers = useSelector(allAnswersSelector);\n const chatAnswerInModal = useSelector(chatAnswerInModalSelector);\n const chatSequenceInModal = useSelector(chatSequenceInModalSelector);\n const chatSelectedSequenceInModal = useSelector(\n chatSelectedSequenceInModalSelector\n );\n const isAdmin = useSelector(isAdminSelector);\n const isSidebarChatExpanded = useSelector(isSidebarChatExpandedSelector);\n const isImpersonating = useSelector(isImpersonatingSelector);\n const isPageReady = useSelector(isPageReadySelector);\n const token = useSelector(getTokenSelector);\n const onboardingFlags = useSelector(onboardingFlagSelector);\n const isExternalPage = useSelector(isExternalPageSelector);\n const showFirstLoginPlan = useSelector(showFirstLoginPlanSelector);\n const scrollContainerRef = useRef(null);\n const lastElementRef = useRef(null);\n\n const {\n user,\n bot: { name, hasBotError, jid },\n sentinel,\n graph,\n } = state;\n\n const location = useLocation();\n const { push } = useHistory();\n const { pathname } = location;\n const WITH_PREFIX_BOT_JID = withPrefixUUID(jid || pathname);\n\n const [rightNavOpen, setRightNavOpen] = useState(false);\n\n const getPublicKey = async () => {\n try {\n const res = await apiService.getPublicKey(token);\n dispatch({\n type: SET_PUBLIC_KEY,\n payload: res.data.anyone,\n });\n } catch (error) {}\n };\n\n const loadUserData = async (sentinel, graph) => {\n try {\n const planData = await apiService.init(sentinel, graph, token);\n await dispatch({\n type: INIT_JAC,\n payload: {\n plan: planData.data.report[0].context,\n subscription: planData.data?.report[1]?.context || {},\n },\n });\n getPublicKey();\n } catch (error) {\n throw new Error(GET_DATA_ERROR);\n }\n };\n\n const checkUserData = async () => {\n const impersonatedUserObj = JSON.parse(\n localStorage.getItem('impersonatedUserObject')\n );\n\n if (impersonatedUserObj && impersonatedUserObj?.impersonated_user?.graph) {\n await dispatch({\n type: START_IMPERSONATING_USER,\n payload: impersonatedUserObj,\n });\n loadApplication(impersonatedUserObj?.impersonated_user?.graph);\n } else {\n loadApplication();\n }\n };\n\n const setUserDetails = async () => {\n try {\n const user = await apiService.getUser(token);\n const { email, id, is_activated, is_superuser, name } = user.data;\n dispatch({\n type: GET_USERNAME,\n payload: { email, id, is_activated, is_superuser, name },\n });\n } catch (error) {\n dispatch({\n type: isExternalPage ? LOGOUT_EXTERNAL_USER : LOGOUT_USER,\n });\n }\n };\n\n const toggleRightNav = async () => {\n if (!allAnswers.length) {\n return false;\n }\n setRightNavOpen(!rightNavOpen);\n localStorage.removeItem('interactions');\n if (!rightNavOpen) {\n dispatch({\n type: SET_CHAT_MODE,\n payload: false,\n });\n setRunTour(false);\n if (!onboardingFlags.includes('TestIconBot')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'TestIconBot'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'TestIconBot' });\n }\n }\n };\n\n const loadApplication = async graph => {\n try {\n const res = await apiService.jacLoadApplication(token);\n if (res.data['active:sentinel'] && res.data['active:graph']) {\n const sentinel = res.data['active:sentinel'];\n const activeGraph = res.data['active:graph'];\n const pubAskedQuestion = res.data['spawned:walker:zsb_public_api'];\n const messengerCallback = res.data['spawned:walker:messenger_callback'];\n const viberCallback = res.data['spawned:walker:viber_callback'];\n const pubInfo = res.data['spawned:walker:zsb_public_info'];\n await dispatch({\n type: LOAD_APPLICATION,\n payload: {\n sentinel,\n graph: graph || activeGraph,\n pubAskedQuestion,\n messengerCallback,\n viberCallback,\n pubInfo,\n },\n });\n await loadUserData(sentinel, graph || activeGraph);\n await getPlansWithDetails();\n } else {\n const sentinelResponse = await apiService.setDefaultSentinel(token);\n const graphResponse = await apiService.createGraph(token);\n if (sentinelResponse.status === 200 && graphResponse.status === 200) {\n const {\n data: { sentinel },\n } = sentinelResponse;\n const { data: graph } = graphResponse;\n\n if (sentinel.jid && graph.jid) {\n await dispatch({\n type: LOAD_APPLICATION,\n payload: {\n sentinel: sentinel.jid,\n graph: graph.jid,\n },\n });\n await loadUserData(sentinel.jid, graph.jid);\n await getPlansWithDetails();\n dispatch({\n type: SHOW_FIRST_LOGIN_PLAN,\n });\n }\n }\n }\n } catch (error) {\n return message.error(error?.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n const getPlansWithDetails = async () => {\n try {\n const res = await apiService.getPlansWithDetails(sentinel, token);\n dispatch({\n type: SET_PLAN_DETAILS,\n payload: res.data.report[0],\n });\n } catch (error) {\n return message.error(DEFAULT_ERROR_MESSAGE);\n }\n };\n\n useEffect(() => {\n const fetchData = async () => {\n try {\n if (token && isEqual(user, initialUserState)) {\n await setUserDetails();\n } else if (token && !sentinel && !graph) {\n checkUserData();\n }\n } catch (error) {\n return message.error(error?.message || GET_DATA_ERROR);\n }\n };\n\n if (token) {\n localStorage.removeItem('interactions');\n fetchData();\n }\n }, [graph, sentinel, token, user]);\n\n const toggleExpandSidebarChat = () => {\n dispatch({\n type: TOGGLE_EXPAND_SIDEBAR_CHAT,\n });\n };\n\n const handleCloseJSONAnswerInModal = () => {\n dispatch({\n type: CLOSE_CHAT_ANSWER_IN_MODAL,\n });\n };\n\n const handleCloseSelectedSequenceInModal = () => {\n dispatch({\n type: CLOSE_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n });\n };\n\n useEffect(() => {\n if (!token) {\n dispatch({\n type: isExternalPage ? LOGOUT_EXTERNAL_USER : LOGOUT_USER,\n });\n return push(isExternalPage ? ROUTES.EXTERNAL_LOGIN : ROUTES.LOGIN);\n }\n }, []);\n\n const validChildren = React.Children.toArray(children).filter(child =>\n React.isValidElement(child)\n );\n const childrenWithRef = validChildren.map((child, index) =>\n React.cloneElement(child, {\n ref: index === validChildren.length - 1 ? lastElementRef : null,\n })\n );\n\n useEffect(() => {\n const scrollToBottom = () => {\n if (lastElementRef.current) {\n lastElementRef.current.scrollIntoView({ behavior: 'smooth' });\n }\n };\n\n scrollToBottom();\n }, []);\n\n return {\n allAnswers,\n chatAnswerInModal,\n chatSequenceInModal,\n chatSelectedSequenceInModal,\n isPageReady,\n isAdmin,\n name,\n WITH_PREFIX_BOT_JID,\n location,\n rightNavOpen,\n sentinel,\n toggleRightNav,\n isImpersonating,\n isSidebarChatExpanded,\n hasBotError,\n handleCloseJSONAnswerInModal,\n handleCloseSelectedSequenceInModal,\n showFirstLoginPlan,\n toggleExpandSidebarChat,\n isExternalPage,\n scrollContainerRef,\n childrenWithRef,\n };\n};\n\nexport default useLayout;\n","import styled from 'styled-components';\nimport { Layout as AntdLayout } from 'antd';\nimport { cssVariables } from 'styles/root';\nimport { StyledFlexColumn } from 'styles/GenericStyledComponents';\n\nconst { Sider, Content } = AntdLayout;\n\nexport const StyledDoubleSidebar = styled(AntdLayout)`\n display: flex;\n flex-direction: row;\n overflow: hidden;\n\n & .app-container,\n .ant-layout,\n .ant-layout-content {\n max-height: ${props => (props?.isAdmin ? `none` : `100vh`)};\n }\n\n @keyframes scale_animate {\n 0% {\n transform: scale(1);\n }\n\n 20% {\n transform: scale(0.8);\n }\n\n 70% {\n transform: scale(1.6);\n }\n\n 100% {\n transform: scale(1);\n }\n }\n`;\n\nexport const StyledMainContent = styled.div`\n width: 100%;\n display: flex;\n flex-direction: column;\n height: 100vh;\n`;\n\nexport const StyledTopIcons = styled.div`\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin: 10px 5px;\n`;\n\nexport const StyledBottomIcons = styled(StyledFlexColumn)`\n margin-bottom: 10px;\n`;\n\nexport const StyledIconWithLabel = styled.div`\n margin: 10px auto;\n text-align: center;\n`;\n\nexport const StyledSmallRightNavIconLabel = styled.div`\n font-size: 11px;\n`;\n\nexport const StyledExpandArrow = styled.div`\n font-size: 10px;\n`;\n\nexport const StyledPopoverTitle = styled.div`\n font-weight: ${cssVariables.font.bold};\n font-size: 16px;\n margin-bottom: 10px;\n`;\n\nexport const StyledPopoverContents = styled.div`\n display: flex;\n flex-direction: column;\n row-gap: 10px;\n`;\n\nexport const StyledPopoverTextContent = styled.div`\n display: flex;\n flex-direction: column;\n font-size: 12px;\n`;\n\nexport const StyledHeaderLogo = styled.img`\n height: 40px;\n margin-top: 2%;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledSider = styled(Sider)`\n background: #fff;\n flex: none !important;\n min-width: auto !important;\n width: auto !important;\n`;\n\nexport const StyledLogoSider = styled(Sider)`\n background: #202225;\n padding: 1% 2%;\n`;\n\nexport const StyledHeaderContent = styled(Content)`\n background: #202225;\n padding: 1% 0;\n`;\n","export default __webpack_public_path__ + \"static/media/robot-icon-black-small.2bbe902b.svg\";","export const header = {\n title: 'Zero Shot Bot',\n menu: [\n {\n title: 'Report a Bug',\n path: 'report a bug',\n key: 1,\n },\n {\n title: 'About Us',\n path: 'https://www.zeroshotbot.com/',\n key: 2,\n },\n {\n title: 'Documentation',\n path: 'https://docs.zeroshotbot.com/',\n key: 3,\n },\n ],\n userName: 'Deny He',\n};\n","export default __webpack_public_path__ + \"static/media/zeroshotbot-header-white-logo.08901c0a.svg\";","import { Menu, Divider, Avatar, Layout as AntdLayout } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nconst { Item } = Menu;\n\nconst { Header } = AntdLayout;\n\nexport const StyledUserDetailsMenu = styled(Menu)`\n width: 260px;\n padding: 16px;\n\n & .ant-dropdown-menu-item:hover,\n .ant-dropdown-menu-submenu-title:hover {\n background: rgba(138, 138, 141, 0.1);\n }\n & .ant-dropdown-menu-item {\n text-align: left;\n padding: 10px;\n white-space: normal;\n }\n & .dropdown-container {\n font-weight: ${cssVariables.font.bold};\n font-size: 16px;\n }\n`;\n\nexport const StyledUserDetailsMenuItem = styled(Menu.Item)`\n background: unset;\n`;\n\nexport const StyledUserDetailsBlock = styled.div`\n font-size: 12px;\n display: flex;\n flex-direction: row;\n align-items: center;\n font-size: 12px;\n text-align: left;\n`;\n\nexport const StyledUserDetails = styled.div`\n margin-left: 8px;\n width: 170px;\n`;\n\nexport const StyledUserName = styled.div`\n font-size: 15px;\n font-weight: ${cssVariables.font.normal};\n color: #000000;\n`;\n\nexport const StyledUserEmail = styled.div`\n word-break: break-all;\n`;\n\nexport const StyledPlanDetails = styled(Item)`\n background: rgba(200, 200, 202, 0.1);\n\n &:hover {\n background: rgba(200, 200, 202, 0.1);\n }\n`;\n\nexport const StyledUserMenuDivider = styled(Divider)`\n margin: 0;\n`;\n\nexport const StyledRouteItem = styled(Item)`\n display: flex;\n align-items: center;\n column-gap: 3px;\n`;\n\nexport const StyledHeader = styled.div`\n display: flex;\n width: 100%;\n position: sticky;\n top: 0px;\n background: ${cssVariables.primaryGray};\n position: sticky;\n\n .userDetails {\n background: #202225;\n justify-content: flex-end;\n display: flex;\n text-align: end;\n padding-right: 3%;\n flex: none !important;\n min-width: auto !important;\n width: auto !important;\n }\n`;\n\nexport const StyledHeaderTitle = styled.div`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n font-size: 18px;\n color: #fff;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledHeaderLogo = styled.img`\n height: 40px;\n margin-top: 8px;\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledHeaderMenu = styled(Menu)`\n display: flex;\n align-items: center;\n background: #202225;\n`;\n\nexport const StyledPageMenu = styled(Menu)`\n background-color: #202225 !important;\n color: #fff;\n border-bottom: none !important;\n\n .ant-menu-item-selected {\n background-color: unset !important;\n }\n`;\n\nexport const StyledDropdownWrapper = styled.div`\n display: flex;\n`;\n\nexport const StyledHeaderName = styled.div`\n display: flex;\n column-gap: 5px;\n align-items: center;\n font-size: 1rem;\n color: #fff;\n line-height: 18px;\n cursor: pointer;\n\n :hover {\n text-decoration: underline 1px;\n text-underline-offset: 3px;\n }\n`;\n\nexport const StyledProfileAvatar = styled(Avatar)`\n cursor: pointer;\n box-shadow: 1px 1px 0.5px 0px #b5b5b5;\n margin-right: 10px;\n`;\n\nexport const StyledButtonContainer = styled.div`\n display: flex;\n column-gap: 10px;\n align-items: center;\n`;\n\nexport const StyledButtonSpan = styled.span`\n color: '#fff';\n`;\n\nexport const StyledTransactionParagraph = styled.span`\n color: ${props => (props.isRed ? '#ff4d4f' : 'auto')};\n`;\n","import { Menu } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledMenuItem = styled(Menu.Item)`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n // font-size: 15px;\n color: #fff !important;\n // line-height: 18px;\n cursor: pointer;\n // margin-right: 32px;\n border-bottom: none !important;\n\n &.ant-menu-item-active::after {\n border-bottom: none !important;\n }\n\n &:hover {\n // border-bottom: 1px solid #fff;\n text-decoration: underline 1px;\n text-underline-offset: 3px;\n }\n`;\n","import { useState, useContext, useEffect } from 'react';\nimport { Context } from 'store/store';\nimport { apiService } from 'services/api.service';\nimport { base64toBlob, getBase64 } from 'utils';\nimport { message } from 'antd';\nimport { DEFAULT_ERROR_MESSAGE, GET_DATA_ERROR } from 'constants/error';\n\nconst INITIAL_ACTIVE_TAB = 'createRequest';\n\nconst useJiraForm = () => {\n const [state] = useContext(Context);\n const { sentinel, token, user, graph } = state;\n const [reportTitle, setReportTitle] = useState(null);\n const [reportDescription, setReportDescription] = useState(null);\n const [isLoading, setIsLoading] = useState(false);\n const [isSubmitBtnLoading, setIsSubmitBtnLoading] = useState(false);\n const [previewFile, setPreviewFile] = useState({\n isVisible: false,\n previewImage: '',\n previewTitle: '',\n });\n const [activePage, setActivePage] = useState(INITIAL_ACTIVE_TAB);\n const [tickets, setTickets] = useState();\n const [activePagination, setActivePagination] = useState(1);\n const [totalTicketsCount, setTotalTicketsCount] = useState(0);\n const [ticketAttachments, setTicketAttachments] = useState([]);\n const initialTicketInfo = {\n id: '',\n title: '',\n ticketId: '',\n status: '',\n dateRaised: '',\n description: '',\n attachments: [],\n };\n\n const [ticketInfo, setTicketInfo] = useState(initialTicketInfo);\n\n const handleChangeReportTitle = evt => {\n setReportTitle(evt.target.value);\n };\n\n const handleChangeReportDescription = evt => {\n setReportDescription(evt.target.value);\n };\n\n const createJiraTicket = async evt => {\n evt.preventDefault();\n setIsSubmitBtnLoading(true);\n try {\n const res = await apiService.createJiraTicket(\n reportTitle,\n reportDescription,\n user.name,\n ticketAttachments,\n state.token,\n state.sentinel,\n state.graph\n );\n setIsSubmitBtnLoading(false);\n if (res.data.success) {\n clearFormData();\n message.success('Bug reported successfully submitted.');\n } else {\n throw new Error('Something went wrong while sending your request.');\n }\n setIsSubmitBtnLoading(false);\n } catch (error) {\n setIsSubmitBtnLoading(false);\n message.error(\n error.message || 'Something went wrong while sending your request.'\n );\n }\n };\n\n const handlePreviewFile = async file => {\n if (!file.url && !file.preview) {\n file.preview = await getBase64(file.originFileObj);\n }\n\n setPreviewFile({\n isVisible: true,\n previewImage: file.url || file.preview,\n previewTitle:\n file.name || file.url.substring(file.url.lastIndexOf('/') + 1),\n });\n };\n\n const handleRemoveFile = file => {\n const filteredAttachments = ticketAttachments.filter(\n item => file.name !== item.name\n );\n setTicketAttachments([...filteredAttachments]);\n };\n\n const handleChangeFile = async file => {\n setTicketAttachments([...ticketAttachments, file]);\n return false;\n };\n\n const handleDownloadAttachment = async file => {\n setIsLoading(true);\n try {\n const res = await apiService.downloadJiraAttachment(\n file.id,\n graph,\n sentinel,\n token\n );\n if (\n !res.data ||\n !res.data.success ||\n !res.data.report ||\n !res.data.report[0] ||\n !res.data.report[0].content\n ) {\n throw new Error('Something went wrong while downloading your file.');\n }\n const blob = base64toBlob(res.data.report[0].content);\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.download = file.filename;\n link.href = url;\n link.click();\n } catch (error) {\n setIsLoading(false);\n message.error(\n error.message || 'Something went wrong while downloading your file.'\n );\n }\n setIsLoading(false);\n };\n\n const handleActivePage = page => {\n getAllJiraTickets(1);\n clearFormData();\n setActivePage(page);\n };\n\n useEffect(() => {\n if (!ticketInfo.id || !ticketInfo.ticketId) {\n setActivePage(INITIAL_ACTIVE_TAB);\n }\n }, [ticketInfo]);\n\n const handleTicketDetails = async selectedId => {\n setIsLoading(true);\n try {\n const res = await apiService.getJiraIssue(\n selectedId,\n graph,\n sentinel,\n token\n );\n\n if (\n !res.data.report ||\n !res.data.report[0] ||\n !res.data.report[0] ||\n !res.data.report[0].fields ||\n !res.data.success\n ) {\n throw new Error('Something went wrong while fetching the ticket');\n }\n\n const { attachment, created, description, status, summary, updated } =\n res.data.report[0].fields;\n const { id } = res.data.report[0];\n\n setTicketInfo({\n id,\n ticketId: selectedId,\n title: summary,\n status: status.name,\n dateRaised: created,\n description,\n lastUpdate: updated,\n attachments: attachment,\n });\n } catch (error) {\n setIsLoading(false);\n return message.error(error.message || GET_DATA_ERROR);\n }\n setIsLoading(false);\n setActivePage('ticketDetails');\n };\n\n const getAllJiraTickets = async page => {\n setIsLoading(true);\n const allTickets = await apiService.getAllJiraTicket(\n user?.name,\n token,\n sentinel,\n page * 5 - 5\n );\n if (allTickets) {\n setIsLoading(false);\n }\n setActivePagination(page);\n setTotalTicketsCount(allTickets.data.report[0].total);\n setTickets(allTickets.data.report[0].issues);\n };\n\n const onPageChange = page => {\n getAllJiraTickets(page);\n };\n\n const clearFormData = () => {\n setReportTitle(null);\n setReportDescription(null);\n setTicketAttachments([]);\n };\n\n useEffect(() => {\n clearFormData();\n return () => {\n setTicketInfo(initialTicketInfo);\n };\n }, []);\n\n return {\n activePage,\n activePagination,\n initialTicketInfo,\n isLoading,\n isSubmitBtnLoading,\n previewFile,\n reportTitle,\n reportDescription,\n ticketAttachments,\n tickets,\n ticketInfo,\n totalTicketsCount,\n onPageChange,\n getAllJiraTickets,\n handleTicketDetails,\n handleActivePage,\n handleChangeFile,\n handlePreviewFile,\n createJiraTicket,\n handleChangeReportDescription,\n handleChangeReportTitle,\n setActivePage,\n handleRemoveFile,\n handleDownloadAttachment,\n };\n};\n\nexport default useJiraForm;\n","import { Layout, Row } from 'antd';\nimport styled from 'styled-components';\n\nexport const StyledJiraColumn = styled.div`\n display: flex;\n max-width: 100%;\n padding: 10px 0;\n flex-direction: column;\n margin-left: 10px;\n`;\n\nexport const StyledSplittedRows = styled.div`\n display: flex;\n justify-content: space-between;\n padding: 10px 0;\n margin-left: 10px;\n\n .ant-upload {\n cursor: pointer;\n }\n\n > span:first-child {\n padding: 0;\n }\n`;\n\nexport const StyledJiraForm = styled.form`\n > * {\n margin-bottom: 10px;\n }\n`;\n\nexport const StyledPopoverLayout = styled(Layout)`\n width: 800px;\n padding: 16px;\n background: none;\n\n @media (max-width: 480px) {\n width: 320px;\n padding: 5px;\n }\n\n @media (max-width: 600px) {\n width: 440px;\n padding: 5px;\n }\n\n @media (max-width: 800px) {\n width: 600px;\n }\n`;\n\nexport const StyledResponsiveRow = styled(Row)`\n display: flex;\n justify-content: space-between;\n\n .ant-upload {\n cursor: pointer;\n }\n\n @media (max-width: 600px) {\n flex-direction: column;\n\n button {\n width: 30%;\n }\n }\n`;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport {\n Breadcrumb,\n Layout,\n Menu,\n Pagination,\n Spin,\n Table,\n Tag,\n Upload,\n} from 'antd';\nimport Sider from 'antd/lib/layout/Sider';\nimport { Content } from 'antd/lib/layout/layout';\nimport TextArea from 'components/TextArea';\nimport useJiraForm from './hooks';\nimport {\n EditOutlined,\n PaperClipOutlined,\n ProfileOutlined,\n} from '@ant-design/icons';\n\nimport { formatBytes } from 'utils';\nimport { getLocalTimeString } from 'utils/dates';\nimport {\n StyledJiraForm,\n StyledSplittedRows,\n StyledPopoverLayout,\n StyledResponsiveRow,\n StyledJiraColumn,\n} from './JiraForm.style';\nimport Button from 'components/Button';\nimport Input from 'components/Input';\nimport { MINIMUM_RECOMMENDED_WIDTH } from 'constants/screens';\nimport { cssVariables } from 'styles/root';\n\nconst JiraForm = () => {\n const {\n activePage,\n activePagination,\n isLoading,\n isSubmitBtnLoading,\n reportDescription,\n reportTitle,\n tickets,\n ticketInfo,\n totalTicketsCount,\n onPageChange,\n handleTicketDetails,\n handleActivePage,\n handleChangeFile,\n handlePreviewFile,\n createJiraTicket,\n handleChangeReportDescription,\n handleChangeReportTitle,\n setActivePage,\n handleRemoveFile,\n handleDownloadAttachment,\n } = useJiraForm();\n\n const columns = [\n {\n title: 'ID',\n dataIndex: 'key',\n key: 'key',\n render: (_, record) => {\n return (\n \n handleTicketDetails(\n record.key,\n record.fields.summary,\n record.fields.status.name,\n record.fields.created,\n record.fields.description\n )\n }\n >\n {_}\n \n );\n },\n },\n {\n title: 'Title',\n dataIndex: 'summary',\n key: 'summary',\n render: (_, record) => record.fields.summary,\n },\n {\n title: 'Reporter',\n dataIndex: 'reporter',\n key: 'reporter',\n render: (_, record) =>\n record.fields.labels\n .find(str => str.includes('Reporter:'))\n ?.replace('Reporter:', '')\n .replaceAll('_', ' '),\n },\n {\n title: 'Status',\n dataIndex: 'status',\n key: 'status',\n render: (_, record) => record.fields.status.name,\n },\n {\n title: 'Date Created',\n dataIndex: 'status',\n key: 'status',\n render: (_, record) => {\n return getLocalTimeString(new Date(record.fields.created));\n },\n },\n ];\n\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\n\n const showIconOnly = useMemo(() => {\n return windowWidth < MINIMUM_RECOMMENDED_WIDTH;\n }, [windowWidth]);\n\n const detectSize = () => {\n setWindowWidth(window.innerWidth);\n };\n\n useEffect(() => {\n window.addEventListener('resize', detectSize);\n\n return () => {\n window.removeEventListener('resize', detectSize);\n };\n }, [windowWidth]);\n\n return (\n \n \n \n \n handleActivePage('createRequest')}\n icon={}\n >\n {'Create Request'}\n \n handleActivePage('allRequest')}\n icon={}\n >\n {'All Requests'}\n \n \n \n \n {activePage === 'createRequest' ? (\n \n \n \n \n \n \n \n  {'Upload File'}\n \n \n \n \n \n ) : activePage === 'allRequest' ? (\n \n \n \n \n ) : (\n \n \n \n {' '}\n setActivePage('allRequest')}>All Request\n \n {ticketInfo.id}\n \n \n {'Status'}\n \n {ticketInfo.status}\n \n \n \n {`${ticketInfo.ticketId} - ${ticketInfo.title}`}\n \n \n {'Description'}\n {ticketInfo.description}\n \n {ticketInfo?.attachments && ticketInfo.attachments.length ? (\n \n {'Attachments'}\n {ticketInfo.attachments.map((file, key) => (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n handleDownloadAttachment(file)} key={key}>\n {`${file.filename} (${formatBytes(file.size)})`}\n \n ))}\n \n ) : null}\n \n
    \n {'Date created: '}\n {ticketInfo.dateRaised\n ? getLocalTimeString(new Date(ticketInfo.dateRaised))\n : null}\n
    \n
    \n
    \n {'Last update: '}\n {ticketInfo.lastUpdate\n ? getLocalTimeString(new Date(ticketInfo.lastUpdate))\n : null}\n
    \n
    \n
    \n
    \n )}\n
    \n
    \n
    \n );\n};\n\nJiraForm.propTypes = {};\n\nexport default JiraForm;\n","import { MenuItem } from './MenuItem';\n\nexport default MenuItem;\n","import React from 'react';\nimport { useHistory } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport { StyledMenuItem } from './MenuItem.styles';\nimport { Popover } from 'antd';\nimport JiraForm from 'components/JiraForm';\n\nconst MenuItem = ({ title, path, index }) => {\n const history = useHistory();\n\n const handleMenuClick = () => {\n if (path.includes('https://')) {\n window.open(path);\n } else {\n history.push(path);\n }\n };\n\n return path === 'report a bug' ? (\n \n } trigger=\"click\">\n {title}\n \n \n ) : (\n \n {title}\n \n );\n};\n\nMenuItem.propTypes = {\n title: PropTypes.string.isRequired,\n path: PropTypes.string.isRequired,\n index: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport { MenuItem };\n","import styled from 'styled-components';\nimport { Link } from 'react-router-dom';\n\nexport const ImpersonationBannerContainer = styled.div`\n width: 100%;\n height: 66px;\n display: block;\n background-color: #1667e7;\n padding: 12px 20px;\n color: #ffffff;\n display: flex;\n justify-content: space-between;\n align-items: center;\n z-index: 1;\n`;\n\nexport const StyledLink = styled(Link)`\n color: #ffffff;\n`;\n","import React, { useContext } from 'react';\nimport { Button } from 'antd';\nimport { useHistory } from 'react-router-dom';\n\nimport { Context } from 'store/store';\nimport { ImpersonationBannerContainer } from './ImpersonationBanner.style';\nimport { clearImpersonatedUserObject } from 'services/auth.service';\nimport { apiService } from 'services/api.service';\nimport { STOP_IMPERSONATING_USER, INIT_JAC } from 'store/action';\nimport ROUTES from 'constants/routes';\nimport useSelector from 'store/useSelector';\nimport { impersonatedUserSelector } from 'selectors/admin';\nimport { getTokenSelector } from 'selectors/user';\n\nexport const ImpersonationBanner = () => {\n const [state, dispatch] = useContext(Context);\n const impersonatedUser = useSelector(impersonatedUserSelector);\n const token = useSelector(getTokenSelector);\n const { sentinel } = state;\n const history = useHistory();\n\n const handleStopImpersonation = async () => {\n const masterUserGraph = localStorage.getItem('masterUserND');\n\n const planData = await apiService.init(sentinel, masterUserGraph, token);\n if (planData.status === 200 && planData.data.success) {\n const user = await apiService.getUser(token);\n const { email, id, is_activated, is_superuser, name } = user.data;\n\n await dispatch({\n type: STOP_IMPERSONATING_USER,\n });\n\n await dispatch({\n type: INIT_JAC,\n payload: {\n plan: planData.data.report[0].context,\n subscription: planData.data?.report[1]?.context || {},\n pubAskedQuestion: '',\n messengerCallback: '',\n user: {\n email,\n id,\n is_activated,\n is_superuser,\n name,\n },\n },\n });\n\n await clearImpersonatedUserObject();\n history.push(ROUTES.ADMIN_PAGE);\n }\n };\n\n return (\n \n
    You are impersonating {impersonatedUser?.name || 'User'}
    \n \n
    \n );\n};\n","import moment from 'moment';\nimport { createSelector } from 'reselect';\nimport { isEmpty } from 'lodash';\n\nimport { maxTransactionCountSelector, planTypeSelector } from './plan';\nimport { parseBoolean } from 'utils/dataTypes';\nimport { getLocalTimeString } from 'utils/dates';\n\nexport const subscriptionSelector = state => state.subscription;\nexport const paymentErrorSelector = state => state.lastPaymentError || null;\n\nexport const subscriptionIdSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.id\n);\n\nexport const isTrialSubscriptionSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.trial || false\n);\n\nexport const trialDaysLeftSelector = createSelector(\n subscriptionSelector,\n subscription => {\n if (subscription?.trial_end) {\n const trialEnd = moment.unix(subscription.trial_end);\n const trialDaysLeft = trialEnd.diff(moment(), 'days');\n if (trialDaysLeft >= 0) {\n return trialDaysLeft;\n }\n }\n return null;\n }\n);\n\nexport const planRenewDateSelector = createSelector(\n subscriptionSelector,\n subscription => {\n const currentPeriodEnd = subscription?.current_period_end;\n if (currentPeriodEnd) {\n return moment(currentPeriodEnd * 1000)\n .add(1, 'd')\n .format('MMMM D, YYYY');\n }\n return null;\n }\n);\n\nexport const paymentMethodsSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.paymentMethods || []\n);\n\nexport const showCancelledSubscriptionSuccessMessageSelector = createSelector(\n subscriptionSelector,\n subscription =>\n parseBoolean(subscription?.showCancelledSubscriptionSuccessMessage)\n);\n\nexport const showUpgradedSubscriptionSuccessMessageSelector = createSelector(\n subscriptionSelector,\n subscription =>\n parseBoolean(subscription?.showUpgradedSubscriptionSuccessMessage)\n);\n\nexport const showCancelSubscriptionModalSelector = createSelector(\n subscriptionSelector,\n subscription => parseBoolean(subscription?.showCancelSubscriptionModal)\n);\n\nexport const showSwitchPlanSubscriptionModalSelector = createSelector(\n subscriptionSelector,\n subscription => parseBoolean(subscription?.showSwitchPlanSubscriptionModal)\n);\n\nexport const switchPlanSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.switchPlan\n);\n\nexport const showDowngradeSubscriptionModalSelector = createSelector(\n subscriptionSelector,\n subscription => parseBoolean(subscription?.showDowngradeSubscriptionModal)\n);\n\nexport const customerSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.customer || {}\n);\n\nexport const isProcessingSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.isProcessing || false\n);\n\nexport const isCancelledSubscriptionSelector = createSelector(\n subscriptionSelector,\n subscription => parseBoolean(subscription?.isCancelled) || false\n);\n\nexport const currentTransactionCountSelector = createSelector(\n subscriptionSelector,\n subscription => subscription?.transaction?.count || 0\n);\n\nexport const transactionPercentageSelector = createSelector(\n currentTransactionCountSelector,\n maxTransactionCountSelector,\n (currentTransactionCount, maxTransactionCount) => {\n return Math.round((currentTransactionCount / maxTransactionCount) * 100);\n }\n);\n\nexport const defaultPaymentMethodSelector = createSelector(\n paymentMethodsSelector,\n customerSelector,\n (paymentMethods, customer) => {\n const defaultPaymentMethod =\n paymentMethods.find(\n pm => pm.id === customer?.invoice_settings?.default_payment_method\n ) || paymentMethods[0];\n\n return defaultPaymentMethod || {};\n }\n);\n\nexport const isPaymentInfoEmptySelector = createSelector(\n planTypeSelector,\n paymentMethodsSelector,\n defaultPaymentMethodSelector,\n (planType, paymentMethods, defaultPaymentMethod) => {\n return planType === 'free' ||\n !paymentMethods?.length ||\n isEmpty(defaultPaymentMethod)\n ? true\n : false;\n }\n);\n\nexport const billingDetailsSelector = createSelector(\n defaultPaymentMethodSelector,\n defaultPaymentMethod => defaultPaymentMethod?.billingDetails\n);\n","import React, { useContext, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { useHistory, Link } from 'react-router-dom';\nimport { Dropdown, Avatar, Progress, Popover, Modal, Menu, Layout } from 'antd';\nimport { Context } from 'store/store';\nimport { header } from 'constants/header';\nimport ROUTES from 'constants/routes';\nimport SmallLogoWhite from 'assets/images/zeroshotbot-header-white-logo.svg';\nimport {\n CaretDownOutlined,\n PoweroffOutlined,\n SettingOutlined,\n AppstoreOutlined,\n LockOutlined,\n} from '@ant-design/icons';\nimport Button from 'components/Button';\nimport { STOP_IMPERSONATING_USER } from 'store/action';\nimport {\n StyledUserDetailsMenu,\n StyledUserDetailsMenuItem,\n StyledUserDetailsBlock,\n StyledUserDetails,\n StyledUserName,\n StyledUserEmail,\n StyledPlanDetails,\n StyledUserMenuDivider,\n StyledRouteItem,\n StyledHeader,\n StyledHeaderTitle,\n StyledHeaderLogo,\n StyledHeaderMenu,\n StyledPageMenu,\n StyledDropdownWrapper,\n StyledHeaderName,\n StyledProfileAvatar,\n StyledButtonContainer,\n StyledButtonSpan,\n StyledTransactionParagraph,\n} from './Header.style';\nimport MenuItem from 'components/MenuItem';\nimport { ImpersonationBanner } from 'components/ImpersonationBanner';\nimport useSelector from 'store/useSelector';\nimport { maxTransactionCountSelector, planTypeSelector } from 'selectors/plan';\nimport {\n impersonatedUserSelector,\n isAdminSelector,\n isImpersonatingSelector,\n} from 'selectors/admin';\nimport {\n currentTransactionCountSelector,\n transactionPercentageSelector,\n} from 'selectors/subscription';\nimport { isExternalPageSelector } from 'selectors/user';\n\nconst { Sider, Content } = Layout;\nconst { confirm } = Modal;\nconst PAGE_BASE_URL = process.env.REACT_APP_PAGE_BASE_URL;\n\nconst Header = ({ title, isLogout }) => {\n const history = useHistory();\n const [state, dispatch] = useContext(Context);\n const planType = useSelector(planTypeSelector);\n const impersonatedUser = useSelector(impersonatedUserSelector);\n const isAdmin = useSelector(isAdminSelector);\n const isImpersonating = useSelector(isImpersonatingSelector);\n const currentTransactionCount = useSelector(currentTransactionCountSelector);\n const maxTransactionCount = useSelector(maxTransactionCountSelector);\n const isExternalPage = useSelector(isExternalPageSelector);\n const transactionPercentage = useSelector(transactionPercentageSelector);\n const userName = useMemo(() => {\n return isImpersonating\n ? impersonatedUser.name\n : state.user && (state.user.firstName || state.user.name || 'Guest');\n }, [impersonatedUser.name, isImpersonating, state.user]);\n\n const email = useMemo(() => {\n return isImpersonating ? impersonatedUser.email : state?.user?.email;\n }, [impersonatedUser.email, isImpersonating, state?.user?.email]);\n\n const handleLogout = () => {\n history.push(ROUTES.LOGOUT);\n };\n\n const goToHome = e => {\n if (isAdmin) {\n if (isImpersonating) {\n confirm({\n content: (\n

    \n Impersonating user will end, are you sure you want to go back to\n admin page?\n

    \n ),\n onOk() {\n stopImpersonation();\n history.push(ROUTES.ADMIN_PAGE);\n },\n onCancel() {\n return;\n },\n });\n } else {\n history.push(ROUTES.ADMIN_PAGE);\n }\n } else {\n history.push(ROUTES.HOME);\n }\n };\n\n const stopImpersonation = async () => {\n await dispatch({\n type: STOP_IMPERSONATING_USER,\n });\n };\n\n const getTransactionCountParagraph = () => {\n if (currentTransactionCount > maxTransactionCount) {\n const excessTransaction = Math.abs(\n currentTransactionCount - maxTransactionCount\n );\n return `You have gone above your transaction limit this month. Excess transaction count: ${excessTransaction} `;\n } else {\n return `You have used ${currentTransactionCount} of ${maxTransactionCount} ${\n planType === 'free' ? 'free' : ''\n } transactions per month.`;\n }\n };\n\n const UserOptions = (\n \n \n \n {userName[0].toUpperCase()}\n \n {userName}\n {email}\n \n \n \n \n
    \n \n {planType.charAt(0).toUpperCase() + planType.slice(1)} Plan\n \n
    \n
    \n \n 80}>\n {getTransactionCountParagraph()}\n \n {isExternalPage ? (\n \n Upgrade Plan\n \n ) : (\n Upgrade Plan\n )}\n
    \n
    \n \n history.push(ROUTES.USER_PROFILE)}\n icon={\n state?.user?.is_superuser && isImpersonating ? (\n \n ) : (\n \n )\n }\n >\n
    Settings
    \n \n {state?.user?.is_superuser && !isImpersonating ? (\n history.push(ROUTES.ADMIN_PAGE)}\n icon={}\n >\n
    Admin
    \n \n ) : (\n history.push(ROUTES.BOTS_PAGE)}\n icon={}\n >\n
    My Bots
    \n \n )}\n \n }\n >\n Sign out\n \n
    \n );\n const items1 = ['1', '2', '3'].map(key => ({\n key,\n label: `nav ${key}`,\n }));\n\n return (\n \n {isImpersonating ? : null}\n {!isLogout ? (\n \n \n \n {header.menu.map((item, key) => (\n \n ))}\n \n \n \n \n \n \n {userName[0].toUpperCase()}\n \n \n {`Hi ${userName}`}\n \n \n \n \n \n \n ) : (\n \n \n Already have an account?\n \n \n history.push(\n isExternalPage ? ROUTES.EXTERNAL_LOGIN : ROUTES.LOGIN\n )\n }\n variant=\"secondary\"\n />\n \n )}\n \n );\n};\n\nHeader.propTypes = {\n title: PropTypes.string,\n isLogout: PropTypes.bool,\n // menu: PropTypes.arrayOf(PropTypes.object).isRequired,\n};\n\nexport { Header };\n","import { Header } from './Header';\n\nexport default Header;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledTextIcon = styled.div`\n height: 40px;\n border-radius: 50%;\n background: linear-gradient(180deg, #c4c4c4 0%, #fffcfc 100%);\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n font-size: 18px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 40px;\n\n @media (max-width: 1023px) {\n height: 34px;\n width: 34px;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { StyledTextIcon } from './TextIcon.styles';\n\nconst TextIcon = props => {\n const { children, ...rest } = props;\n return {children};\n};\n\nTextIcon.propTypes = {\n children: PropTypes.any.isRequired,\n};\n\nexport default TextIcon;\n","import Button from 'components/Button';\nimport styled from 'styled-components';\n\nexport const StyledBackButton = styled(Button)`\n width: fit-content;\n font-size: 12px;\n padding: 5px;\n text-align: center !important;\n\n .anticon {\n font-size: 18px;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { useHistory } from 'react-router-dom';\nimport { ArrowLeftOutlined } from '@ant-design/icons';\nimport { StyledBackButton } from './BackButton.style';\n\nconst BackButton = props => {\n let history = useHistory();\n const { prevPageTitle, iconOnly, icon, noArrow, ...rest } = props;\n\n return (\n history.goBack()}\n value={\n !iconOnly\n ? ` Back${prevPageTitle ? ` to ${prevPageTitle}` : null}`\n : null\n }\n startIcon={icon ? icon : noArrow ? undefined : }\n variant=\"link\"\n {...rest}\n />\n );\n};\n\nBackButton.defaultProps = {\n prevPageTitle: 'Previous Page',\n};\n\nBackButton.propTypes = {\n prevPageTitle: PropTypes.string,\n iconOnly: PropTypes.bool,\n icon: PropTypes.node,\n noArrow: PropTypes.bool,\n};\n\nexport default BackButton;\n","import styled from 'styled-components';\nimport { Layout } from 'antd';\nimport { cssVariables } from 'styles/root';\nimport BackButton from 'components/BackButton';\n\nexport const Wrapper = styled(Layout)`\n max-width: max-content;\n width: max-content;\n\n .sider {\n flex: none !important;\n min-width: auto !important;\n width: auto !important;\n }\n\n .sidebar-content {\n overflow: hidden auto;\n }\n\n .sidebar-content::-webkit-scrollbar-track {\n padding-right: 5px;\n }\n\n .sidebar-content::-webkit-scrollbar {\n width: 10px;\n margin-right: 15px;\n }\n\n .sidebar-content::-webkit-scrollbar-thumb {\n background: #cccccc;\n border-radius: 10px;\n margin-right: 15px;\n border: 2px solid #f9f9f9;\n }\n\n .sidebar-content::-webkit-scrollbar-thumb:hover {\n background: #454b57;\n }\n\n .ant-menu.ant-menu-inline-collapsed {\n width: 80px !important;\n }\n\n .ant-layout.ant-layout-sider,\n .ant-layout.ant-layout-has-sider {\n max-width: max-content;\n width: max-content;\n }\n\n .ant-menu-sub.ant-menu-inline {\n text-transform: capitalize;\n font-size: 11px;\n }\n\n .top-sider-menu {\n margin: 20px;\n flex-direction: column;\n align-items: flex-start;\n\n .bot-name-container {\n display: flex;\n align-items: center;\n font-size: 18px;\n gap: 5px;\n\n span {\n font-size: 14px;\n max-width: 76%;\n }\n }\n }\n\n .menu {\n .ant-menu-sub {\n background: #fff;\n }\n height: 80vh;\n padding-left: 20px;\n\n .menu-text {\n text-transform: capitalize;\n }\n\n .ant-menu-item,\n .ant-menu-item-selected {\n background: transparent;\n\n a {\n color: #000;\n }\n\n &::after {\n border: none;\n }\n }\n .ant-menu-item:hover {\n background-color: ${cssVariables.primaryHighlight};\n }\n\n .ant-menu-item-selected {\n font-weight: ${cssVariables.font.bold};\n }\n }\n\n .back {\n display: flex;\n align-items: center;\n cursor: pointer;\n }\n\n .back-arrow {\n width: 24;\n height: 24;\n color: #b9b9b9;\n margin-right: 16px;\n & > svg {\n width: 24px;\n height: 24px;\n }\n }\n\n .back-text {\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n font-size: 13;\n text-transform: uppercase;\n color: #b9b9b9;\n }\n`;\n\nexport const StyledCustomTooltip = styled.div`\n width: 364px;\n display: block;\n background-color: #ffffff;\n padding: 10px;\n border-radius: 6px;\n\n & button {\n cursor: pointer;\n width: 62px;\n height: 30px;\n color: #ffffff;\n background-color: #1f6be4;\n border: 0;\n border-radius: 3px;\n font-size: 10px;\n font-weight: ${cssVariables.font.normal};\n letter-spacing: 2px;\n margin-right: 4px;\n }\n`;\n\nexport const StyledToolTipContainer = styled.div`\n display: block;\n padding: 10px;\n\n & h3 {\n font-weight: ${cssVariables.font.bold};\n }\n`;\n\nexport const StyledFooterActions = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nexport const StyledToggleIconWrapper = styled.div`\n padding: ${props => (props.showIconOnly ? '0 31.5px' : '8px 8px 0px 20px')};\n align-items: center;\n .anticon {\n font-size: 20px;\n }\n`;\n\nexport const StyledSidebarTitle = styled.h4`\n font-size: 14px;\n font-weight: ${cssVariables.font.bold};\n padding: 0 36px;\n margin: 0px;\n text-transform: uppercase;\n`;\n\nexport const StyledSidebarBottom = styled.div`\n width: 100%;\n font-size: 11px;\n position: absolute;\n bottom: 0;\n word-break: break-all;\n padding: 5%;\n text-align: left;\n background: #f9f9fc;\n box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.12);\n\n & > div {\n margin-top: 3%;\n }\n`;\n\nexport const StyledSidebarBackButton = styled(BackButton)`\n width: 88%;\n text-align: left;\n margin-left: 30px;\n margin-top: 30px;\n\n :hover {\n background: none !important;\n }\n`;\n\nexport const StyledSidebarBottomTitle = styled.span`\n font-size: 12px;\n font-weight: ${cssVariables.font.bold};\n margin-bottom: 10px;\n`;\n\nexport const StyledSidebarBottomCounts = styled.span`\n display: inline-block;\n font-size: 0.6rem;\n font-weight: ${cssVariables.font.bold};\n color: #85888e;\n`;\n\nexport const StyledSidebarItemsTitle = styled.p`\n display: inline-block;\n font-size: 0.6rem;\n font-weight: ${cssVariables.font.normal};\n margin-bottom: 0px;\n margin-right: 2%;\n text-transform: uppercase;\n color: #85888e;\n`;\n","export const BOT_SIDEBAR_MENU = [\n {\n content: (\n
    \n \n Bot Menu - Overview\n \n

    \n This is your Bot Menu where you can find the features and\n functionalities that you need to completely setup and integrate your\n bot. The Bot Overview will show you the Total no. of Answers in your\n Answer Bank, Total Questions Asked (Last 7 days), Fallback Answer\n Called (Last 7 days), Total Live Integrations, Total Test Suites, and\n Visitors (Last 7 days).\n

    \n

    \n Click on the link below the tile card to get the details on your Bot.\n Click on Answer Bank in the Bot menu to add answers in your Bot. After\n setting up your Answer Bank, you can test your answers by clicking on\n Automation Testing in the Bot menu. Once your ready to deploy your\n Bot, click on Integration in the menu, then select your desired\n integration channel (Web, Mobile, Viber, Facebook, Sandbox).\n

    \n

    \n Click on Analytics to view a summary of your Bot response and\n performance.\n

    \n

    \n Click on Bot Settings to update your Bot's general settings, response,\n and set the access and permission.\n

    \n
    \n ),\n target: '.bot-menu-sidebar',\n disableBeacon: true,\n hideFooter: true,\n placement: 'auto',\n styles: {\n options: {\n zIndex: 10000,\n },\n },\n },\n];\n","import { useHistory } from 'react-router-dom';\nimport styled from 'styled-components';\nimport PropTypes from 'prop-types';\n\nimport ROUTES from 'constants/routes';\nimport BackButton from '.';\nimport { cssVariables } from 'styles/root';\nimport { HomeOutlined } from '@ant-design/icons';\n\nconst StyledBack = styled(BackButton)`\n text-transform: uppercase;\n color: ${cssVariables.gray0} !important;\n width: 88%;\n text-align: left;\n background: none !important;\n font-weight: ${cssVariables.font.bold};\n font-size: 14px;\n box-shadow: none;\n :hover {\n color: ${cssVariables.gray0} !important;\n background: none !important;\n }\n\n .anticon-arrow-left {\n font-size: 18px;\n }\n`;\n\nexport const BackToBotsPage = props => {\n const history = useHistory();\n const { iconOnly, ...rest } = props;\n return (\n }\n value={!iconOnly ? 'Back to bots' : ''}\n onClick={() => history.push(ROUTES.BOTS_PAGE)}\n {...rest}\n />\n );\n};\n\nBackToBotsPage.propTypes = {\n iconOnly: PropTypes.bool,\n};\n","import { createSelector } from 'reselect';\nimport { currentBotSelector } from '.';\n\nexport const aiToolsSelector = createSelector(\n currentBotSelector,\n bot => bot.aiTools || []\n);\n","import { useContext, useEffect, useMemo, useState } from 'react';\nimport { useHistory, useLocation } from 'react-router-dom';\n\nimport { MINIMUM_RECOMMENDED_WIDTH } from 'constants/screens';\nimport {\n botModeSelector,\n isPageReadySelector,\n strippedBotJIDSelector,\n} from 'selectors/bot';\nimport { Context } from 'store/store';\nimport { allAnswersSelector } from 'selectors/bot/answers';\nimport { onboardingFlagSelector } from 'selectors/plan';\nimport { getTokenSelector, isExternalPageSelector } from 'selectors/user';\nimport { isBotSimulatorEnabledSelector } from 'selectors/featureFlags';\nimport useSelector from 'store/useSelector';\nimport { ACTIONS, EVENTS, STATUS } from 'react-joyride';\nimport { apiService } from 'services/api.service';\nimport { SET_ONBOARDING_FLAG } from 'store/action';\nimport ROUTES from 'constants/routes';\nimport { aiToolsSelector } from 'selectors/bot/aiTools';\nimport { isMobileViewSelector } from 'selectors/layout';\n\nconst useSidebar = () => {\n const [state, dispatch] = useContext(Context);\n\n const allAnswers = useSelector(allAnswersSelector);\n const allAITools = useSelector(aiToolsSelector);\n const isPageReady = useSelector(isPageReadySelector);\n const onboardingFlags = useSelector(onboardingFlagSelector);\n const token = useSelector(getTokenSelector);\n const strippedBotID = useSelector(strippedBotJIDSelector);\n const isBotSimulatorEnabled = useSelector(isBotSimulatorEnabledSelector);\n const mode = useSelector(botModeSelector);\n const isExternalPage = useSelector(isExternalPageSelector);\n const isMobileView = useSelector(isMobileViewSelector);\n\n const [expandedView, setExpandedView] = useState(null);\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\n\n const {\n bot: { name },\n sentinel,\n graph,\n } = state;\n\n const history = useHistory();\n const { pathname, hash } = useLocation();\n\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n const botName = name || 'Unknown Bot';\n\n useEffect(() => {\n if (isPageReady && !onboardingFlags?.includes('BotSideBarMenu')) {\n setRunTour(true);\n }\n return () => setRunTour(false);\n }, [isPageReady, onboardingFlags]);\n\n const detectSize = () => {\n setWindowWidth(window.innerWidth);\n };\n\n const showIconOnly = useMemo(() => {\n // expandedView state will determine the ui\n if (expandedView === true) {\n return false;\n } else if (expandedView === false) {\n return true;\n }\n // but onload expandedView is neither true or false\n // the window size will decide to showIconOnly or not\n return windowWidth < MINIMUM_RECOMMENDED_WIDTH;\n }, [windowWidth, expandedView]);\n\n useEffect(() => {\n window.addEventListener('resize', detectSize);\n\n return () => {\n window.removeEventListener('resize', detectSize);\n };\n }, [windowWidth]);\n\n const handleToggleCollapse = () => {\n if (expandedView === null && !showIconOnly) {\n return setExpandedView(false);\n } else if (expandedView === null && !showIconOnly) {\n return setExpandedView(true);\n }\n return setExpandedView(!expandedView);\n };\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if ([STATUS.FINISHED, STATUS.SKIPPED]?.includes(status)) {\n setRunTour(false);\n setStepIndex(0);\n if (isMobileView) {\n document.body.classList.remove('fullscreen-tour');\n }\n if (!onboardingFlags?.includes('BotSideBarMenu')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'BotSideBarMenu'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'BotSideBarMenu' });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n }\n };\n\n const handleClickMenu = (slug, key) => {\n if (slug === 'analytics') {\n history.push(`${ROUTES.BOT_DETAILS}/${strippedBotID}/${slug}#${key}`);\n } else if (isExternalPage && slug === 'integration') {\n history.push(\n `${ROUTES.BOT_DETAILS}/${strippedBotID}/${slug}#integrated-channels`\n );\n } else if (slug === 'answer-bank') {\n history.push(`${ROUTES.BOT_DETAILS}/${strippedBotID}/${slug}/answers`);\n } else {\n history.push(`${ROUTES.BOT_DETAILS}/${strippedBotID}/${slug}`);\n }\n };\n\n return {\n allAnswers,\n allAITools,\n hash,\n onClickCallback,\n runTour,\n pathname,\n mode,\n handleClickMenu,\n handleToggleCollapse,\n showIconOnly,\n strippedBotID,\n botName,\n isBotSimulatorEnabled,\n stepIndex,\n isExternalPage,\n isMobileView,\n };\n};\n\nexport default useSidebar;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Divider, Menu, Layout } from 'antd';\nimport Joyride from 'react-joyride';\nimport { snakeCase } from 'lodash';\nimport {\n ReadOutlined,\n RiseOutlined,\n ExpandOutlined,\n SettingOutlined,\n AppstoreOutlined,\n FormOutlined,\n DashboardOutlined,\n OrderedListOutlined,\n QuestionCircleOutlined,\n LineChartOutlined,\n FundProjectionScreenOutlined,\n MenuUnfoldOutlined,\n MenuFoldOutlined,\n FunctionOutlined,\n} from '@ant-design/icons';\n\nimport SubMenu from 'antd/lib/menu/SubMenu';\nimport TextIcon from 'components/TextIcon/TextIcon';\nimport {\n Wrapper,\n StyledCustomTooltip,\n StyledToolTipContainer,\n StyledFooterActions,\n StyledToggleIconWrapper,\n} from './Sidebar.style';\nimport { slugify } from 'utils/stringManipulation';\nimport ROUTES from 'constants/routes';\nimport { BOT_SIDEBAR_MENU } from 'constants/joyride_steps/bot_sidebar_menu';\nimport { BackToBotsPage } from 'components/BackButton/BackToBotsPage';\nimport {\n StyledFlexRowCenter,\n StyledSpaceBetweenFlexColumn,\n} from 'styles/GenericStyledComponents';\nimport {\n PERFORMANCE_METRICS_PATH_PREFIX,\n QUESTION_LOGS,\n} from 'constants/analytics';\nimport ToolTip from 'components/ToolTips/BaseToolTip';\nimport botLogo from 'assets/images/robot-icon-black-small.svg';\nimport { useMemo } from 'react';\nimport useSidebar from './hooks';\n\nconst DEFAULT_BOT_DETAILS_LANDING_PAGE = 'overview';\n\nconst CustomTooltip = ({\n index,\n step,\n backProps,\n primaryProps,\n tooltipProps,\n isLastStep,\n skipProps,\n}) => {\n return (\n \n \n {step.title &&
    {step.title}
    }\n
    {step.content}
    \n \n
    \n {index > 0 && (\n \n )}\n {isLastStep ? (\n \n ) : (\n \n )}\n
    \n \n
    \n
    \n
    \n );\n};\n\nCustomTooltip.propTypes = {\n index: PropTypes.number,\n step: PropTypes.object,\n backProps: PropTypes.object,\n primaryProps: PropTypes.object,\n tooltipProps: PropTypes.object,\n isLastStep: PropTypes.bool,\n};\n\nconst Sidebar = () => {\n const {\n allAnswers,\n allAITools,\n hash,\n onClickCallback,\n runTour,\n pathname,\n mode,\n handleClickMenu,\n handleToggleCollapse,\n showIconOnly,\n strippedBotID,\n botName,\n isBotSimulatorEnabled,\n stepIndex,\n isExternalPage,\n } = useSidebar();\n\n const MENU_LIST = useMemo(() => {\n let menuList = [\n {\n name: 'Overview',\n icon: ,\n },\n {\n name: 'Answer Bank',\n icon: ,\n },\n {\n name: 'Linked Questions',\n icon: ,\n },\n {\n name: 'Automation Testing',\n icon: ,\n },\n {\n name: 'Integration',\n icon: ,\n },\n {\n name: 'Analytics',\n icon: ,\n },\n {\n name: 'Callback Logs',\n icon: ,\n },\n {\n name: 'Bot Settings',\n icon: ,\n },\n ];\n menuList = [\n ...menuList.slice(0, 3),\n mode?.includes('openai')\n ? {\n name: 'Functions',\n icon: ,\n }\n : {\n name: 'Flow Simulator',\n icon: ,\n },\n ...menuList.slice(3),\n ];\n\n const externalMenuList = [\n {\n name: 'Answer Bank',\n icon: ,\n },\n\n {\n name: 'Integration',\n icon: ,\n },\n ];\n return isExternalPage ? externalMenuList : menuList;\n }, [mode]);\n\n const ANALYTICS_SUBMENU_ITEMS = [\n {\n name: 'Question Log',\n icon: ,\n key: QUESTION_LOGS,\n },\n {\n name: 'Performance Metrics',\n icon: ,\n key: PERFORMANCE_METRICS_PATH_PREFIX,\n },\n ];\n\n const isAlwaysActiveMenu = [\n 'overview',\n 'answer-bank',\n 'bot-settings',\n 'functions',\n ];\n\n const renderSubMenu = (parentMenu, submenuItems = []) => {\n return (\n \n {submenuItems.map(item => {\n return (\n \n handleClickMenu(slugify(parentMenu.name), item.key)\n }\n >\n {item?.name}\n \n );\n })}\n \n );\n };\n\n const isDefaultDetailsPage = () => {\n const regex = /\\/bot\\/([0-9a-fA-F-]+)/;\n const match = pathname.match(regex);\n\n if (pathname.includes(DEFAULT_BOT_DETAILS_LANDING_PAGE)) {\n return true;\n } else if (match) {\n const textAfterMatch = pathname.slice(\n pathname.indexOf(match[0]) + match[0].length\n );\n\n return (\n (textAfterMatch &&\n textAfterMatch.includes(DEFAULT_BOT_DETAILS_LANDING_PAGE)) ||\n !textAfterMatch\n );\n }\n return false;\n };\n\n const renderMenu = (menu, pathName) => {\n const normalizeMenuName = menu.name.replace(/ /g, '_').toLowerCase();\n const slugifiedNamed = slugify(menu.name);\n const defaultDetailsPage =\n slugify(menu.name) === 'overview' && isDefaultDetailsPage();\n if (menu?.name === 'Analytics') {\n return renderSubMenu(menu, ANALYTICS_SUBMENU_ITEMS);\n } else if (menu?.name === 'Flow Simulator' && !isBotSimulatorEnabled) {\n return null;\n } else if (\n ['Linked Questions', 'Automation Testing'].includes(menu?.name)\n ) {\n return (\n handleClickMenu(slugifiedNamed)}\n disabled={\n !isAlwaysActiveMenu?.includes(slugifiedNamed) && !allAnswers?.length\n }\n >\n {menu.name}\n \n );\n } else {\n return (\n handleClickMenu(slugifiedNamed)}\n disabled={\n !isAlwaysActiveMenu?.includes(slugifiedNamed) &&\n !allAnswers?.length &&\n !allAITools.length\n }\n >\n {menu.name}\n \n );\n }\n };\n\n return (\n \n \n
    \n \n \n
    \n {showIconOnly ? (\n {botName[0]?.toUpperCase() || '?'}\n ) : (\n \"bot\"\n )}\n {!showIconOnly && {botName}}\n
    \n \n
    \n \n \n {!!MENU_LIST\n ? MENU_LIST.map(menu => renderMenu(menu, pathname))\n : null}\n \n \n \n \n {showIconOnly ? : }\n \n \n \n \n
    \n \n
    \n );\n};\n\nexport default Sidebar;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const Wrapper = styled.div`\n width: 364px;\n display: block;\n background-color: #ffffff;\n padding: 10px;\n border-radius: 6px;\n\n button {\n cursor: pointer;\n width: 62px;\n height: 30px;\n color: #fff;\n background-color: ${cssVariables.blue2};\n border: 0;\n border-radius: 3px;\n font-size: 10px;\n font-weight: ${cssVariables.font.normal};\n letter-spacing: 2px;\n margin-right: 4px;\n }\n`;\n\nexport const Content = styled.div`\n display: block;\n padding: 10px;\n h3 {\n font-weight: ${cssVariables.font.bold};\n }\n`;\n\nexport const Footer = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Wrapper, Content, Footer } from './JoyrideTooltip.styles';\n\nconst JoyrideTooltip = ({\n continuous,\n index,\n step,\n backProps,\n closeProps,\n isLastStep,\n primaryProps,\n tooltipProps,\n showSkipButton,\n skipProps,\n ...rest\n}) => {\n const getButton = () => {\n if (isLastStep || (isLastStep && index === 1)) {\n return (\n \n );\n } else if (index === 3) {\n return (\n \n );\n } else {\n return (\n <>\n \n \n \n );\n }\n };\n\n return (\n \n \n {step.title &&
    {step.title}
    }\n
    {step.content}
    \n
    \n
    \n {index > 0 && (\n \n )}\n {continuous && getButton()}\n
    \n
    \n
    \n
    \n );\n};\n\nJoyrideTooltip.propTypes = {\n continuous: PropTypes.bool,\n isLastStep: PropTypes.bool,\n index: PropTypes.number,\n step: PropTypes.object,\n backProps: PropTypes.any,\n closeProps: PropTypes.any,\n primaryProps: PropTypes.any,\n showSkipButton: PropTypes.bool,\n tooltipProps: PropTypes.any,\n skipProps: PropTypes.bool,\n};\n\nexport default JoyrideTooltip;\n","export const DEFAULT_ANSWER_STEPS = [\n {\n content: (\n
    \n

    Default Answer

    \n

    \n This is the Fallback response which the bot provides when none of\n answers are found to be relevant for the question by the AI, based on\n a threshold score defined for the bot.\n

    \n
    \n ),\n target: '.default-chat-answer',\n disableBeacon: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n

    Threshold Score

    \n

    \n We have defined a default Threshold score of 0.1. You can change the\n threshold score as well as Fallback Response for your bot. This option\n is in the Bot settings section in the left navigation bar.\n

    \n
    \n ),\n target: '.default-chat-score',\n disableBeacon: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n

    Use Draft

    \n

    Test your bot using draft answers.

    \n
    \n ),\n target: '.test-answer-use-draft',\n disableBeacon: true,\n placement: 'auto',\n },\n];\n\nexport const CHAT_ANSWER_STEPS = [\n {\n content: (\n
    \n

    Bot Response

    \n

    \n ZSB Bot uses an advanced-first of its kind, AI model to select the\n best response for the question from the answer bank options.\n

    \n

    Anchor and Display Answer

    \n

    The Answer has two components:

    \n

    \n The Anchor Answer is used by the AI model to score the\n relevance of an answer to the question being asked. It is recommended\n to keep this limited to text.\n

    \n

    \n Display Answer is what the bot provides as response. This\n provides you the ability to add rich text content, images, links to\n the answer without affecting the AI model (or your could even use it\n to trick the AI 😉).\n

    \n
    \n ),\n target: '.chat-answer',\n disableBeacon: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n

    Score

    \n

    \n The bot matches the question with all answers in the answer bank and\n returns the answer with the highest relevance score assigned by our\n AI.\n

    \n

    \n The 'Use Another Response' option in the menu (⋮) next to the Answer\n can be used to check what the AI has scored for other answers.\n

    \n
    \n ),\n target: '.chat-score',\n disableBeacon: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n

    Edit Answer

    \n

    \n Not satisfied with the answer? Edit your bot's Anchor or Display\n Answer quickly from here or from within the Answer Bank. You also have\n the ability to nudge the AI's knowledge to make it respond with\n another answer.\n

    \n

    \n Try the 'Use Another Response' option in the menu next to the answer.\n Please note: Linking could change how the bot responds for other\n questions too.\n

    \n
    \n ),\n target: '.chat-edit-answer',\n disableBeacon: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n

    \n The below options are available in the menu in addition to Edit Answer\n and Use Another Response.\n

    \n

    Seek

    \n

    \n You can use Seek, if you have a big list in the answer bank and want\n to navigate to the current answer.\n

    \n

    Hide Display Answer

    \n

    \n This flips the Display answer to show the Anchor Answer. You can\n revert by selecting Show Display answer.\n

    \n
    \n ),\n target: '.chat-action',\n disableBeacon: true,\n placement: 'auto',\n },\n];\n","import { createSelector } from 'reselect';\nimport { currentBotSelector } from '.';\n\nexport const chatListSelector = createSelector(\n currentBotSelector,\n bot => bot.chatList || []\n);\n","import { useState, useEffect, useContext, useRef } from 'react';\nimport { ACTIONS, EVENTS, STATUS } from 'react-joyride';\nimport { message } from 'antd';\nimport { useLocation } from 'react-router-dom';\n\nimport { apiService } from 'services/api.service';\nimport { Context } from 'store/store';\nimport {\n CLEAR_CHAT_LIST,\n CLOSE_SIMILAR_QUESTIONS_MODAL,\n PUSH_CHAT_ANSWER,\n PUSH_CHAT_QUESTION,\n SET_ANSWER_EDITOR_SELECTED_ANSWER,\n SET_BOT_SETTINGS,\n SET_CHAT_MODE,\n SET_ONBOARDING_FLAG,\n SET_TYPING_EXPERIENCE,\n SET_WS_ASK_QUESTION_SENDING,\n SHOW_CHAT_ANSWER_IN_MODAL,\n SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n SHOW_QUESTION_EDITOR,\n SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD,\n} from 'store/action';\nimport { getCurrentBrowser, isM1Chip } from 'utils';\nimport {\n chatAnswerInModalSelector,\n isChatOnDevModeSelector,\n isSidebarChatExpandedSelector,\n similarQuestionsModalSelector,\n} from 'selectors/bot/ui';\nimport { defaultAnswerThresholdSelector } from 'selectors/bot/answers';\nimport { DEFAULT_ERROR_MESSAGE, GET_DATA_ERROR } from 'constants/error';\nimport useSelector from 'store/useSelector';\nimport {\n botModeSelector,\n isAutoTranslateResponseSelector,\n isBotOpenAIEnabledSelector,\n isBotTypingExperienceEnabledSelector,\n shouldShowTestChatUseContextSelector,\n} from 'selectors/bot';\nimport { chatListSelector } from 'selectors/bot/chatList';\n\nconst useSidebarChat = ({\n handleChatAskQuestion,\n setContextHistory,\n maxInteraction,\n setMaxInteraction,\n contextHistory,\n}) => {\n const SpeechRecognition =\n window.SpeechRecognition || window.webkitSpeechRecognition;\n // const SpeechGrammarList =\n // window.SpeechGrammarList || window.webkitSpeechGrammarList;\n // const SpeechRecognitionEvent =\n // window.SpeechRecognitionEvent || window.webkitSpeechRecognitionEvent;\n\n const [state, dispatch] = useContext(Context);\n const similarQuestionsModal = useSelector(similarQuestionsModalSelector);\n const isAutoTranslateResponse = useSelector(isAutoTranslateResponseSelector);\n const isBotTypingExperienceEnabled = useSelector(\n isBotTypingExperienceEnabledSelector\n );\n const isBotOpenAIEnabled = useSelector(isBotOpenAIEnabledSelector);\n const chatList = useSelector(chatListSelector);\n const isChatOnDevMode = useSelector(isChatOnDevModeSelector);\n const isSidebarChatExpanded = useSelector(isSidebarChatExpandedSelector);\n const chatAnswerInModal = useSelector(chatAnswerInModalSelector);\n const defaultAnswerThreshold = useSelector(defaultAnswerThresholdSelector);\n const botMode = useSelector(botModeSelector);\n const shouldShowTestChatUseContext = useSelector(\n shouldShowTestChatUseContextSelector\n );\n\n const {\n sentinel,\n token,\n graph,\n plan: { onboarding_flag },\n bot: { name, jid },\n featureFlags,\n webSocket,\n } = state;\n const { pathname } = useLocation();\n const [chatQuestion, setChatQuestion] = useState(null);\n const [isSpeechActivated, setSpeechActivated] = useState(false);\n const [flipAnswer, setflipAnswer] = useState([]);\n const [sending, setSending] = useState(false);\n const [loading, setLoading] = useState(false);\n const [listening, setListening] = useState(false);\n const [runTour, setRunTour] = useState(false);\n const [runTourDefaultAnswer, setRunTourDefaultAnswer] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n const [stepIndexDefaultAnswer, setStepIndexDefaultAnswer] = useState(0);\n const lastChatAnswer = chatList?.length\n ? chatList[chatList?.length - 1].answer\n : null;\n const [isQuickButtonsVisible, setIsQuickButtonsVisible] = useState(false);\n const [isIncludeDraftAnswers, setIncludeDraftAnswers] = useState(false);\n const [isChatMoreMenuOpen, setChatMoreMenuOpen] = useState(false);\n const [translateLanguage, setTranslateLanguage] = useState(\n isAutoTranslateResponse\n );\n\n const [typingExperience, setTypingExperience] = useState(\n isBotTypingExperienceEnabled\n );\n\n const bottomChatAreaRef = useRef(null);\n\n const excludedBrowsers = ['Opera', 'Firefox'];\n const isNotAnswerBank = !pathname.includes(`answer-bank`) ? true : false;\n // Should allow on google chrome browsers\n // OR\n // Should allow on all browser except browsers inside `excludedBrowsers`\n // AND\n // Should not be on mac m1 chips\n const isSpeechAllowed =\n getCurrentBrowser().includes('Chrome') ||\n (!excludedBrowsers.includes(getCurrentBrowser()) && !isM1Chip());\n const synth = window.speechSynthesis;\n const voices = synth?.getVoices();\n\n useEffect(() => {\n if (chatList !== null && chatList.length) {\n scrollToEnd();\n }\n\n if (\n (lastChatAnswer &&\n !!lastChatAnswer.quickReply &&\n lastChatAnswer.quickReplyOptions &&\n lastChatAnswer.quickReplyOptions.length) ||\n (lastChatAnswer && lastChatAnswer.requestAgent)\n ) {\n setIsQuickButtonsVisible(true);\n } else {\n setIsQuickButtonsVisible(false);\n }\n }, [chatList, isQuickButtonsVisible]);\n\n useEffect(() => {\n scrollToEnd();\n }, [webSocket]);\n\n useEffect(() => {\n return () => {\n dispatch({\n type: SET_CHAT_MODE,\n payload: false,\n });\n };\n }, []);\n\n const handleFlipAnswer = index => {\n if (flipAnswer.includes(index)) {\n const flippedIndices = flipAnswer.filter(\n answerIndex => answerIndex !== index\n );\n setflipAnswer(flippedIndices);\n } else {\n setflipAnswer([...flipAnswer, index]);\n }\n };\n\n const scrollToEnd = () => {\n if (bottomChatAreaRef.current) {\n bottomChatAreaRef.current.scrollIntoView({\n block: 'nearest',\n inline: 'nearest',\n behavior: 'smooth',\n });\n }\n };\n useEffect(() => {\n const answersList = chatList || [];\n const isDefaultAnswer = answersList.some(\n list => list?.answer?.type === 'default_answer'\n );\n\n if (isDefaultAnswer && !onboarding_flag.includes('TestDefaultAnswer')) {\n setTimeout(() => setRunTourDefaultAnswer(true), 2000);\n } else {\n setRunTourDefaultAnswer(false);\n }\n }, [chatList, onboarding_flag]);\n\n useEffect(() => {\n const notDefaultAnswerList = chatList?.filter(\n chat => chat.answerContext?.name !== 'default_answer'\n );\n\n if (\n notDefaultAnswerList?.length === 1 &&\n !onboarding_flag.includes('TestChatAnswer')\n ) {\n setTimeout(() => setRunTour(true), 2000);\n } else {\n setRunTour(false);\n }\n }, [chatList?.length, onboarding_flag]);\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if (\n [STATUS.FINISHED, STATUS.SKIPPED].includes(status) ||\n ACTIONS.CLOSE === action\n ) {\n setRunTour(false);\n setStepIndex(0);\n if (!onboarding_flag.includes('TestChatAnswer')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'TestChatAnswer'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'TestChatAnswer' });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n if (index === 0) {\n }\n }\n };\n\n const onDefaultAnswerClickCallback = async data => {\n const { action, index, type, status } = data;\n if ([STATUS.FINISHED, STATUS.SKIPPED].includes(status)) {\n setRunTourDefaultAnswer(false);\n setStepIndexDefaultAnswer(0);\n if (!onboarding_flag.includes('TestDefaultAnswer')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'TestDefaultAnswer'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'TestDefaultAnswer' });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndexDefaultAnswer(stepIndex);\n if (index === 0) {\n }\n }\n };\n\n const handleChange = e => {\n if (sending || webSocket?.sending) {\n return false;\n }\n setChatQuestion(e.target.value);\n };\n\n const handleSubmit = async (evt, channel) => {\n evt.preventDefault();\n setChatQuestion(null);\n if (sending || webSocket?.sending) {\n return false;\n }\n await dispatch({\n type: SET_WS_ASK_QUESTION_SENDING,\n });\n\n try {\n await handleChatAskQuestion(chatQuestion, channel, isIncludeDraftAnswers);\n } catch (error) {}\n setChatQuestion(null);\n };\n\n const handleLinkAnswer = async (chatItem, idx) => {\n setLoading(true);\n try {\n await openQuestionEditor(chatItem.question, chatItem.answer, idx);\n } catch (error) {}\n setLoading(false);\n };\n\n const getStoredInteractions = () => {\n const interactionList = JSON.parse(localStorage.getItem('interactions'));\n if (interactionList?.length > maxInteraction * 2) {\n interactionList.splice(0, 2);\n }\n return contextHistory ? interactionList : [];\n };\n\n const handleQuickReplyAnswer = async (\n chatAnswer,\n chatQuestion,\n channel,\n includeDraftAnswers\n ) => {\n const questionPayload = {\n text: { ...chatQuestion, question: chatQuestion.label },\n metadata: { channel },\n use_draft: includeDraftAnswers,\n history: getStoredInteractions(),\n };\n\n await dispatch({\n type: PUSH_CHAT_QUESTION,\n payload: questionPayload,\n });\n\n // Add 1 second delay for answer\n setSending(true);\n setTimeout(() => {\n dispatch({\n type: PUSH_CHAT_ANSWER,\n payload: chatAnswer,\n });\n setSending(false);\n }, 1000);\n };\n\n const handleSendQuickReply = async quickReply => {\n setChatQuestion(quickReply.question);\n setSending(true);\n if (typeof quickReply.answer === 'object') {\n handleQuickReplyAnswer(\n quickReply.answer,\n quickReply,\n 'ZSB Platform',\n isIncludeDraftAnswers\n );\n } else {\n await handleChatAskQuestion(\n quickReply,\n 'ZSB Platform',\n isIncludeDraftAnswers\n );\n }\n\n setChatQuestion(null);\n setSending(false);\n };\n\n const openResponseModalPicker = async (text, answer, idx) => {\n setSending(true);\n if (\n text === 'string' &&\n !text.length &&\n !answer &&\n !Object.keys(similarQuestionsModal?.itemToChange)?.length\n ) {\n return false;\n }\n const question =\n typeof text === 'string' && text.length\n ? text\n : similarQuestionsModal.itemToChange?.question;\n const responsePickerSelectedAnswer =\n typeof answer === 'object' && Object.keys(answer).length\n ? answer\n : similarQuestionsModal.itemToChange?.answer;\n\n const title = 'Hard Link Question to Answer';\n const res = await apiService.getQuestionMatchesWithAnswer(\n question,\n null,\n sentinel,\n jid,\n token\n );\n\n if (!res.data?.report[0]) {\n setSending(false);\n return message.error(DEFAULT_ERROR_MESSAGE);\n }\n\n await dispatch({\n type: CLOSE_SIMILAR_QUESTIONS_MODAL,\n });\n await dispatch({\n type: SHOW_RESPONSE_PICKER_MODAL_WITH_ANSWERSCORE_PAYLOAD,\n payload: {\n answers: res.data.report[0],\n botName: name,\n withQuestion: true,\n action: similarQuestionsModal.action || 'edit',\n title,\n isHardLinked: responsePickerSelectedAnswer?.isHardLinked,\n answerId: responsePickerSelectedAnswer?.jid,\n itemToChange: {\n question: {\n text: question,\n jid: answer?.questionId,\n },\n answer: responsePickerSelectedAnswer,\n idx: idx || similarQuestionsModal?.itemToChange?.idx || 0,\n },\n },\n });\n setSending(false);\n };\n\n const openQuestionEditor = async (text, answer, idx) => {\n const res = await apiService.getSimilarQuestions(\n text,\n sentinel,\n jid,\n token\n );\n\n if (!res.data?.report[0]) {\n setSending(false);\n return message.error(DEFAULT_ERROR_MESSAGE);\n }\n const similarQuestions = res.data.report[0];\n\n dispatch({\n type: SHOW_QUESTION_EDITOR,\n payload: {\n action: answer?.isHardLinked ? 'edit' : 'add',\n answerId: answer?.jid,\n isHardLinked: answer?.isHardLinked ? true : false,\n jid: answer?.isHardLinked ? answer?.questionId : null,\n text,\n similarQuestions,\n },\n });\n };\n\n const handleCloseSimilarQuestionsModal = () => {\n dispatch({\n type: CLOSE_SIMILAR_QUESTIONS_MODAL,\n });\n };\n\n const toggleSpeak = () => {\n const isToggled = isSpeechActivated;\n if (!isToggled && SpeechRecognition) {\n const recognition = new SpeechRecognition();\n setSpeechActivated(!isSpeechActivated);\n setListening(true);\n recognition.continuous = false;\n recognition.lang = navigator.language;\n recognition.interimResults = false;\n recognition.maxAlternatives = 1;\n recognition.start();\n\n recognition.onresult = function (event) {\n concatSpeech(event.results[0][0].transcript);\n stopListening();\n };\n recognition.onspeechend = function () {\n console.log('Speech ending');\n stopListening();\n };\n recognition.onend = function () {\n console.log('Speech ending');\n stopListening();\n };\n recognition.onabort = function () {\n console.log('Speech aborted');\n stopListening();\n };\n recognition.onnomatch = function (event) {\n console.log(\"Speech API can't recognize\");\n };\n recognition.onerror = function (event) {\n stopListening();\n console.log('Speech API error occured: ', event.error);\n };\n } else if (isToggled && SpeechRecognition) {\n return stopListening();\n } else {\n console.log('Speech API not supported');\n }\n };\n\n const stopListening = () => {\n setListening(false);\n setSpeechActivated(false);\n };\n\n const readText = (answer, idx) => {\n if (answer && voices.length) {\n // only read the .text\n // show_text could contain html elements\n const utterThis = new SpeechSynthesisUtterance(answer);\n utterThis.lang = navigator.language;\n utterThis.onend = function (event) {\n console.log('SpeechSynthesisUtterance.onend');\n };\n utterThis.onerror = function (event) {\n console.error('SpeechSynthesisUtterance.onerror');\n };\n utterThis.pitch = 1;\n utterThis.rate = 1;\n synth.speak(utterThis);\n }\n };\n\n const concatSpeech = newSpeech => {\n if (chatQuestion) {\n setChatQuestion(`${chatQuestion} ${newSpeech}`);\n } else {\n setChatQuestion(newSpeech);\n }\n };\n\n const handleChangeAnswerVersion = e => {\n return e.target.checked && !isIncludeDraftAnswers\n ? setIncludeDraftAnswers(true)\n : setIncludeDraftAnswers(false);\n };\n\n const handleTranslateChange = async event => {\n setTranslateLanguage(event.target.checked);\n const res = await apiService.editTranslationSettings(\n sentinel,\n jid,\n token,\n event.target.checked\n );\n if (!res.data || !res.data.report[0] || !res.data.report[0].context) {\n throw new Error(GET_DATA_ERROR);\n }\n\n const botData = res.data.report[0];\n const defaultAnswerData = res.data.report[1];\n\n dispatch({\n type: SET_BOT_SETTINGS,\n payload: {\n bot: botData,\n defaultAnswer: defaultAnswerData,\n },\n });\n };\n\n const handleTypingExperience = async event => {\n setTypingExperience(event.target.checked);\n dispatch({\n type: SET_TYPING_EXPERIENCE,\n payload: event.target.checked,\n });\n };\n\n const handleContextHistoryChange = async event => {\n setContextHistory(event.target.checked);\n };\n\n const handleChangeDropdownVisibility = val => {\n setChatMoreMenuOpen(val);\n };\n\n const handleChangeChatView = isDevMode => {\n dispatch({\n type: SET_CHAT_MODE,\n payload: isDevMode,\n });\n };\n\n const handleShowJSONAnswerInModal = (answer, question) => {\n dispatch({\n type: SHOW_CHAT_ANSWER_IN_MODAL,\n payload: { answer, question },\n });\n };\n\n const handleShowSelectedSequenceInModal = sequence => {\n dispatch({\n type: SHOW_CHAT_SELECTED_SEQUENCE_IN_MODAL,\n payload: sequence,\n });\n };\n\n const clearChatHistory = () => {\n dispatch({\n type: CLEAR_CHAT_LIST,\n payload: null,\n });\n };\n\n const handleShowAnswerEditorModal = (answer, args) => {\n dispatch({\n type: SET_ANSWER_EDITOR_SELECTED_ANSWER,\n payload: { answer, args },\n });\n };\n\n return {\n chatAnswerInModal,\n chatList,\n chatQuestion,\n featureFlags,\n flipAnswer,\n bottomChatAreaRef,\n handleChange,\n handleFlipAnswer,\n handleLinkAnswer,\n handleSendQuickReply,\n handleSubmit,\n handleChangeAnswerVersion,\n handleCloseSimilarQuestionsModal,\n handleTranslateChange,\n handleContextHistoryChange,\n handleChangeChatView,\n handleChangeDropdownVisibility,\n handleShowJSONAnswerInModal,\n handleShowSelectedSequenceInModal,\n handleShowAnswerEditorModal,\n isBotOpenAIEnabled,\n isChatMoreMenuOpen,\n isChatOnDevMode,\n isNotAnswerBank,\n isSidebarChatExpanded,\n isSpeechAllowed,\n isQuickButtonsVisible,\n isSpeechActivated,\n lastChatAnswer,\n listening,\n loading,\n maxInteraction,\n name,\n onClickCallback,\n onDefaultAnswerClickCallback,\n openResponseModalPicker,\n readText,\n runTour,\n runTourDefaultAnswer,\n sending,\n setMaxInteraction,\n shouldShowTestChatUseContext,\n similarQuestionsModal,\n stepIndex,\n stepIndexDefaultAnswer,\n toggleSpeak,\n translateLanguage,\n clearChatHistory,\n defaultAnswerThreshold,\n botMode,\n webSocket,\n typingExperience,\n handleTypingExperience,\n };\n};\nexport default useSidebarChat;\n","import React from 'react';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nconst StyledHR = styled.div`\n width: 100%;\n border: none;\n border-top: 1px solid ${cssVariables.gray2};\n`;\n\nconst GenericHR = props => {\n const { ...rest } = props;\n return ;\n};\n\nexport default GenericHR;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Prism from 'prismjs';\nimport styled from 'styled-components';\n\nimport 'styles/prism-one-dark.css';\nimport 'prismjs/components/prism-json';\n\nconst StyledPreWrapper = styled.pre`\n width: 100%;\n`;\n\nconst CodeBlock = ({ codeContent, ...rest }) => {\n const highlightedJson =\n typeof codeContent === 'object'\n ? Prism.highlight(\n JSON.stringify(codeContent, null, 2),\n Prism.languages.json,\n 'javascript'\n )\n : codeContent;\n\n return (\n \n );\n};\n\nCodeBlock.propTypes = {\n codeContent: PropTypes.any.isRequired,\n};\n\nexport default CodeBlock;\n","import React, { useCallback, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\nimport { omit } from 'lodash';\n\nimport { extractDisplayAnswer } from 'utils/answers';\nimport { cssVariables } from 'styles/root';\nimport CodeBlock from 'components/CodeBlock';\nimport { StyledZoomIn } from 'components/SidebarChat/StyledComponents';\nimport {\n StyledFlexLeftColumn,\n StyledFlexRowLeft,\n} from 'styles/GenericStyledComponents';\nimport { ZSB_CHAT_BREAKER_ENCONDING } from 'constants/answerbank/defaults';\nimport { isAnObject, isImageOrDocFileType } from 'utils/dataTypes';\nimport { FileImageTwoTone, FileTextTwoTone } from '@ant-design/icons';\nimport { showLessTextCharacters } from 'utils';\nimport AnchorButton from 'components/Button/AnchorButton';\n\nconst StyledChatBubble = styled.div`\n text-align: left;\n overflow-x: auto;\n box-shadow: 1px 1px 2px 0px #b5b5b5;\n border-radius: 10px;\n font-family: Calibri, sans-serif;\n line-height: 1.5715;\n background-color: #f0f2f5;\n margin: 10px;\n padding: 10px;\n max-width: ${props => (props.noMaxWidth ? '100%' : '80%')};\n\n & p:first-child,\n & p:last-child {\n margin: 0;\n }\n\n & img {\n width: 100% !important;\n }\n\n & p:empty {\n display: none;\n margin: 0;\n }\n\n ${props =>\n props.isDefaultAnswer\n ? css`\n background-color: ${cssVariables.red1};\n box-sizing: border-box;\n box-shadow: 1px 2px 1px 0px ${cssVariables.red10};\n `\n : css``}\n`;\n\nconst ChatBubble = props => {\n const {\n answer,\n showDisplayAnswer,\n isDevMode,\n showJSONAnswerInModal,\n isOtherPlatformPreview,\n width,\n isDefaultAnswer,\n hideFullAnswer,\n ...rest\n } = props;\n const [showFullText, setShowFullText] = useState(false);\n\n const renderSeeLessCharacters = useCallback(\n answerRendered => {\n const maxTextLength = 190;\n return showLessTextCharacters(\n answerRendered,\n showFullText,\n maxTextLength\n );\n },\n [showFullText]\n );\n\n const renderAnchorButton = displayAnswer => (\n setShowFullText(!showFullText)}\n title={renderShowMoreButton(displayAnswer)}\n />\n );\n\n const renderShowMoreButton = useCallback(\n answerRendered => {\n if (showDisplayAnswer || answer?.type?.includes('default')) {\n return null;\n } else if (!showFullText && answerRendered?.length > 200) {\n return ' See More';\n } else if (showFullText && answerRendered?.length > 200) {\n return ' See Less';\n } else {\n return null;\n }\n },\n [showFullText]\n );\n\n const renderChatBubble = (displayAnswer, answerType, idx) => {\n if (hideFullAnswer) {\n const renderedDisplayAnswer = renderSeeLessCharacters(\n extractDisplayAnswer(displayAnswer)\n );\n\n return (\n \n \n {renderShowMoreButton(extractDisplayAnswer(displayAnswer)) &&\n renderAnchorButton(extractDisplayAnswer(displayAnswer))}\n \n );\n } else {\n return (\n \n );\n }\n };\n\n const renderSplittedBubble = value => {\n if (hasZSBChatBreakerEncoding(value)) {\n const splitted = value?.split(ZSB_CHAT_BREAKER_ENCONDING);\n return splitted.map((answer, idx) => {\n return renderChatBubble(answer, answer.type, idx);\n });\n }\n };\n\n const hasZSBChatBreakerEncoding = value => {\n if (value && typeof value === 'string') {\n return value.includes(ZSB_CHAT_BREAKER_ENCONDING) ? true : false;\n }\n return false;\n };\n\n const renderShowHTML = () => {\n if (Array.isArray(answer.show_html)) {\n return answer.show_html.map((html, idx) => {\n if (hasZSBChatBreakerEncoding(html)) {\n return renderSplittedBubble(html);\n }\n return renderChatBubble(html, answer.type, idx);\n });\n } else if (typeof answer.show_html === 'string') {\n if (hasZSBChatBreakerEncoding(answer.show_html)) {\n return renderSplittedBubble(answer.show_html);\n }\n return renderChatBubble(answer.show_html, answer.type);\n }\n };\n\n const renderShowText = () => {\n if (Array.isArray(answer.show_text)) {\n return answer.show_text.map((showText, idx) => {\n if (hasZSBChatBreakerEncoding(showText)) {\n return renderSplittedBubble(showText);\n }\n return renderChatBubble(showText, answer.type, idx);\n });\n } else if (typeof answer.show_text === 'string') {\n if (hasZSBChatBreakerEncoding(answer.show_text)) {\n return renderSplittedBubble(answer.show_text);\n }\n return renderChatBubble(answer.show_text, answer.type);\n }\n };\n\n const renderTextOnly = () => {\n if (typeof answer === 'string') {\n const renderedDisplayAnswer = renderSeeLessCharacters(answer);\n return (\n \n {renderedDisplayAnswer}\n {renderShowMoreButton(answer) && renderAnchorButton(answer)}\n \n );\n } else if (isAnObject(answer)) {\n return renderChatBubble(answer.text, answer.type);\n }\n };\n\n const renderFallback = () => {\n const splittedAnswer = answer?.split(ZSB_CHAT_BREAKER_ENCONDING);\n return splittedAnswer.map((splittedAns, idx) => {\n return renderChatBubble(splittedAns, answer.type, idx);\n });\n };\n\n const renderDevMode = () => {\n return (\n <>\n \n {isDevMode ? (\n \n ) : null}\n \n );\n };\n\n const renderFileAnswer = () => {\n if (isImageOrDocFileType(answer.text) === 'image') {\n return (\n \n \n {answer.text}\n \n );\n }\n return (\n \n {answer.text}\n \n );\n };\n\n const renderOtherPlatformPreview = () => {\n if (Array.isArray(answer)) {\n return answer?.map((answer, key) => {\n return renderChatBubble(answer, answer.type, key);\n });\n } else {\n const splittedAnswer = answer?.split(ZSB_CHAT_BREAKER_ENCONDING);\n return splittedAnswer?.map(answer => {\n const splittedImageAndText = answer?.split(/(?= {\n return renderChatBubble(splittedAnswer, splittedAnswer.type);\n });\n });\n }\n };\n\n return (\n \n {isOtherPlatformPreview\n ? renderOtherPlatformPreview()\n : typeof answer === 'string'\n ? renderFallback()\n : isDevMode\n ? renderDevMode()\n : showDisplayAnswer && typeof answer?.show_html !== 'undefined'\n ? renderShowHTML(answer.show_html)\n : showDisplayAnswer && typeof answer?.show_text !== 'undefined'\n ? renderShowText(answer.show_text)\n : !showDisplayAnswer\n ? renderTextOnly()\n : showDisplayAnswer && ['file', 'website'].includes(answer?.type)\n ? renderFileAnswer()\n : renderFallback()}\n \n );\n};\n\nChatBubble.propTypes = {\n answer: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),\n showDisplayAnswer: PropTypes.bool,\n isDefaultAnswer: PropTypes.bool,\n isDevMode: PropTypes.bool,\n showJSONAnswerInModal: PropTypes.func,\n width: PropTypes.string,\n hideFullAnswer: PropTypes.bool,\n};\n\nexport default ChatBubble;\n","import React, { useMemo } from 'react';\nimport Joyride from 'react-joyride';\nimport { Menu, Row, Col, Tooltip, Checkbox, Dropdown } from 'antd';\nimport PropTypes from 'prop-types';\nimport { lowerCase } from 'lodash';\nimport {\n CloseOutlined,\n CaretRightFilled,\n EditOutlined,\n EyeOutlined,\n MoreOutlined,\n SearchOutlined,\n SendOutlined,\n LinkOutlined,\n InfoCircleFilled,\n EyeInvisibleOutlined,\n FolderAddOutlined,\n ClearOutlined,\n AudioMutedOutlined,\n AudioOutlined,\n SoundOutlined,\n DashOutlined,\n EyeFilled,\n ToolFilled,\n} from '@ant-design/icons';\n\nimport Button from 'components/Button';\nimport {\n StyledRightNav,\n StyledBotTitleSideNav,\n StyledChatComponent,\n StyledChatQuestionContainer,\n StyledChatAnswerContainer,\n StyledMessageOptions,\n StyledChatAnswer,\n StyledChatAnswerText,\n StyledTestBotInfo,\n StyledChatQuestion,\n StyledChatContentHeader,\n StyledChatList,\n StyledQuickReplyContainer,\n StyledChatScore,\n StyledMsgOption,\n StyledChatAction,\n StyledChatInputContainer,\n StyledSpinning,\n StyledColFlexbox,\n StyledLoader,\n StyledLoaderContainer,\n StyledLoaderDots,\n StyledMenu,\n StyledInteractionInput,\n StyledLabel,\n StyledChatViewButton,\n StyledWebSocketAction,\n StyledWebSocketActionContainer,\n StyledWebSocketActionList,\n StyledInfoSequence,\n} from './StyledComponents';\nimport JoyrideTooltip from 'components/ToolTips/JoyrideToolTip';\nimport {\n CHAT_ANSWER_STEPS,\n DEFAULT_ANSWER_STEPS,\n} from 'constants/joyride_steps/sidebar_chat';\nimport useSidebarChat from './hooks';\nimport TextArea from 'components/TextArea';\nimport { isAnObject } from 'utils/dataTypes';\nimport {\n StyledFlexColumn,\n StyledFlexLeftColumn,\n StyledFlexRowLeft,\n StyledFlexRowRight,\n StyledSpacEvenlyFlexRow,\n StyledTag,\n} from 'styles/GenericStyledComponents';\nimport { cssVariables } from 'styles/root';\nimport GenericHR from 'components/HR/GenericHR';\nimport { stripSpecialCharactersFromText } from 'utils/stringManipulation';\nimport CodeBlock from 'components/CodeBlock';\nimport ChatBubble from 'components/ChatBubble';\nimport { BOT_MODES } from 'constants/bot';\n\nconst REQUEST_AGENT_QUICK_BTN = 'Request Callback';\n\nconst SidebarChat = ({\n handleChatAskQuestion,\n handleSeekAnswer,\n handleShowAddTestSuiteModal,\n toggleRightNav,\n contextHistory,\n setContextHistory,\n maxInteraction,\n setMaxInteraction,\n}) => {\n const {\n chatList,\n chatQuestion,\n flipAnswer,\n bottomChatAreaRef,\n handleChange,\n handleFlipAnswer,\n handleLinkAnswer,\n handleSendQuickReply,\n handleSubmit,\n handleChangeAnswerVersion,\n handleShowJSONAnswerInModal,\n handleShowSelectedSequenceInModal,\n isNotAnswerBank,\n handleTranslateChange,\n handleContextHistoryChange,\n handleChangeChatView,\n handleChangeDropdownVisibility,\n handleShowAnswerEditorModal,\n isBotOpenAIEnabled,\n isChatMoreMenuOpen,\n isChatOnDevMode,\n isSidebarChatExpanded,\n isSpeechAllowed,\n isQuickButtonsVisible,\n isSpeechActivated,\n lastChatAnswer,\n listening,\n loading,\n name,\n onClickCallback,\n onDefaultAnswerClickCallback,\n readText,\n runTour,\n runTourDefaultAnswer,\n sending,\n shouldShowTestChatUseContext,\n stepIndex,\n stepIndexDefaultAnswer,\n toggleSpeak,\n translateLanguage,\n clearChatHistory,\n defaultAnswerThreshold,\n botMode,\n webSocket,\n typingExperience,\n handleTypingExperience,\n } = useSidebarChat({\n handleChatAskQuestion,\n setContextHistory,\n maxInteraction,\n setMaxInteraction,\n contextHistory,\n });\n\n const renderQuickButtons = () => {\n const quickReplyList = lastChatAnswer?.quickReply?.enabled\n ? lastChatAnswer?.quickReply?.replies\n : lastChatAnswer?.quickReply\n ? lastChatAnswer?.quickReplyOptions\n : null;\n return (\n \n {quickReplyList ? (\n quickReplyList.map((item, idx) => {\n if (item.reply?.length || item.label?.length) {\n return (\n handleSendQuickReply(item)}\n key={idx}\n >\n {item.reply || item.label}\n \n );\n }\n\n return null;\n })\n ) : (\n \n {REQUEST_AGENT_QUICK_BTN}\n \n )}\n \n );\n };\n\n const MessageOptions = ({ chatItem, chatIndex }) => {\n const { answer, question } = chatItem;\n const { score, qlinks, type, isHardLinked } = chatItem.answer;\n const query =\n typeof question === 'object'\n ? stripSpecialCharactersFromText(question.question)\n : stripSpecialCharactersFromText(question);\n\n return (\n <>\n \n {isAnObject(answer.openai) && Array.isArray(answer.openai.intents) ? (\n \n {answer.openai.intents.map((intent, idx) => (\n \n {lowerCase(intent)}\n \n ))}\n \n ) : null}\n {Array.isArray(qlinks) && !!qlinks.length && qlinks.includes(query) && (\n <>\n \n  {'Linked'}\n \n )}\n {type.includes('default') ? (\n \n \n {'Threshold'}: {defaultAnswerThreshold}\n \n {` `}\n \n \n \n \n ) : (\n <>\n \n {isHardLinked ? 'Hard Linked' : `Score: ${score}`}\n {` `}\n \n \n \n \n \n )}\n \n {!type.includes('default') &&\n ['answer', 'openai_answer', 'file', 'website'].includes(\n chatItem.answer.type\n ) &&\n webSocket?.sending !== true && (\n <>\n {chatItem.answer.type === 'answer' && (\n handleShowAnswerEditorModal(answer, chatIndex)}\n >\n \n  \n {'Edit Source'}\n \n )}\n \n )}\n \n );\n };\n\n MessageOptions.propTypes = {\n chatItem: PropTypes.object.isRequired,\n chatIndex: PropTypes.number.isRequired,\n };\n\n const chatQuestionMenu = (chatItem, idx) => {\n const { question, answer } = chatItem;\n // disabled if\n // 1. chatItem is not last answer\n // 2. is openai answer node\n // 3. if bot has not replied to the question\n const isUseAnotherResponseDisabled =\n chatItem.answer?.type === 'openai_answer' ||\n chatList?.length - 1 > idx ||\n !answer;\n return (\n \n }\n onClick={() => handleShowAddTestSuiteModal(question)}\n >\n {'Add to Test Suite'}\n \n }\n onClick={() => handleLinkAnswer(chatItem, idx)}\n aria-label={'Use another response'}\n disabled={isUseAnotherResponseDisabled}\n >\n {'Use another response'}\n \n \n );\n };\n\n const moreMenu = (chatItem, chatIndex) => {\n const { answer } = chatItem;\n return (\n \n {chatItem.answer.type.includes('default') ? (\n }\n onClick={() => handleLinkAnswer(chatItem, chatIndex)}\n aria-label={'Use another response'}\n >\n {'Use another response'}\n \n ) : (\n <>\n {answer.type === 'answer' ? (\n }\n onClick={() => handleShowAnswerEditorModal(answer, chatIndex)}\n aria-label={'Edit'}\n >\n {'Edit'}\n \n ) : null}\n {isNotAnswerBank ? null : (\n }\n disabled={isNotAnswerBank}\n onClick={() =>\n isAnObject(answer?.openai)\n ? handleSeekAnswer(answer.openai?.references)\n : handleSeekAnswer(answer.jid)\n }\n aria-label={'Highlight Answer'}\n >\n {isAnObject(answer?.openai) && answer?.openai?.references\n ? 'Highlight Answer Reference(s)'\n : 'Highlight Answer'}\n \n )}\n \n ) : (\n \n )\n }\n onClick={() => handleFlipAnswer(chatIndex)}\n >\n {flipAnswer.includes(chatIndex)\n ? 'Show Display Answer'\n : 'Hide Display Answer'}\n \n \n )}\n \n );\n };\n\n const moreOptions = (\n \n \n Clear Chat History\n \n\n \n {'Use Draft'}\n \n\n {(isBotOpenAIEnabled || botMode !== BOT_MODES.ZSB) && (\n \n \n {'Translate Language'}\n \n \n )}\n\n {shouldShowTestChatUseContext && (\n <>\n \n \n {'Use Context'}\n \n \n \n );\n\n moreMenu.propTypes = {\n chatItem: PropTypes.object.isRequired,\n chatIndex: PropTypes.number.isRequired,\n };\n const renderChatBubble = (chatItem, answer, chatIndex) => (\n \n \n handleShowJSONAnswerInModal(\n chatItem.answerContext,\n chatItem.questionPayload\n )\n }\n width=\"auto\"\n hideFullAnswer={chatIndex === chatList.length - 1 ? false : true}\n className={\n chatItem?.answerContext?.name?.includes('default')\n ? 'default-chat-answer'\n : 'chat-answer'\n }\n />\n \n \n \n \n readText(answer, chatIndex)} />\n \n \n );\n\n const renderChatAnswer = (chatItem, chatIndex) => {\n if (Array.isArray(chatItem?.answer.show_html)) {\n return chatItem?.answer?.show_html?.map(html =>\n renderChatBubble(chatItem, html, chatIndex)\n );\n } else if (typeof chatItem?.answer?.show_html === 'string') {\n return renderChatBubble(chatItem, chatItem?.answer, chatIndex);\n } else if (Array.isArray(chatItem?.answer.show_text)) {\n return chatItem?.answer?.show_text?.map(html =>\n renderChatBubble(chatItem, html, chatIndex)\n );\n } else if (typeof chatItem?.answer?.show_text === 'string') {\n return renderChatBubble(chatItem, chatItem?.answer?.show_text, chatIndex);\n }\n };\n\n const renderDevMode = chatItem => (\n \n \n handleShowJSONAnswerInModal(\n chatItem.answerContext,\n chatItem.questionPayload\n )\n }\n width=\"auto\"\n />\n ;\n \n );\n\n return (\n \n \n \n \n toggleRightNav(false)} />\n {name}\n \n \n \n \n \n \n Test your bot here\n \n \n \n \n \n handleChangeDropdownVisibility(true)}\n overlay={moreOptions}\n placement=\"bottomLeft\"\n visible={isChatMoreMenuOpen}\n >\n \n \n \n \n \n \n handleChangeChatView(false)}\n isSelected={!isChatOnDevMode}\n >\n \n {'Preview'}\n \n handleChangeChatView(true)}\n isSelected={isChatOnDevMode}\n >\n \n {'Dev Mode'}\n \n \n \n \n \n {chatList?.map((chatItem, idx) => (\n \n {chatItem.question && (\n \n {isChatOnDevMode ? null : (\n \n \n \n )}\n \n {isChatOnDevMode ? (\n \n ) : (\n chatItem.question?.question || chatItem.question\n )}\n \n \n )}\n {webSocket.askQuestionActions?.length > 0 &&\n !isChatOnDevMode &&\n !!typingExperience &&\n webSocket.askQuestionActions\n ?.filter(action => action.status === 'completed')\n ?.map(action => (\n \n \n \n {action?.type?.charAt(0).toUpperCase() +\n action?.type?.slice(1)}{' '}\n \n handleShowSelectedSequenceInModal(action)\n }\n title=\"View full details\"\n />\n \n \n \n ))}\n\n {(sending === true || webSocket?.sending === true) &&\n chatList.length - 1 === idx && (\n <>\n {webSocket.askQuestionActiveAction?.type &&\n !!typingExperience && (\n \n \n \n {webSocket.askQuestionActiveAction?.type\n ?.charAt(0)\n .toUpperCase() +\n webSocket.askQuestionActiveAction?.type?.slice(\n 1\n ) +\n '...'}\n \n \n \n )}\n {webSocket.generatedAnswer ? null : (\n \n \n \n \n \n \n \n )}\n \n )}\n\n {!isChatOnDevMode &&\n chatItem.answer?.sequence?.map(sequence => (\n \n \n \n {sequence.type?.charAt(0).toUpperCase() +\n sequence?.type?.slice(1)}\n \n handleShowSelectedSequenceInModal(sequence)\n }\n title=\"View full details\"\n />\n \n \n \n ))}\n\n {chatItem.answer ? (\n \n {isChatOnDevMode\n ? renderDevMode(chatItem)\n : flipAnswer.includes(idx)\n ? renderChatBubble(chatItem, chatItem.answer.text, idx)\n : renderChatAnswer(chatItem, idx)}\n \n \n \n \n ) : null}\n \n ))}\n {isQuickButtonsVisible ? renderQuickButtons() : null}\n
    \n \n
    \n \n
    handleSubmit(e, 'ZSB Platform')}>\n \n handleSubmit(e, 'ZSB Platform')}\n noPaddingTop\n autoFocus\n disabled={sending || webSocket?.sending === true}\n />\n \n {isSpeechAllowed ? (\n !isSpeechActivated ? (\n \n ) : (\n <>\n \n \n )\n ) : null}\n \n \n }\n />\n \n \n
    \n
    \n );\n};\n\nSidebarChat.propTypes = {\n handleChatAskQuestion: PropTypes.func.isRequired,\n handleSeekAnswer: PropTypes.func.isRequired,\n handleShowAddTestSuiteModal: PropTypes.func,\n toggleRightNav: PropTypes.func,\n contextHistory: PropTypes.bool,\n setContextHistory: PropTypes.func,\n setMaxInteraction: PropTypes.func,\n maxInteraction: PropTypes.any,\n};\n\nexport default SidebarChat;\n","export default __webpack_public_path__ + \"static/media/zsb-dead-logo.49826e33.png\";","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { ErrorBoundary } from 'react-error-boundary';\nimport styled from 'styled-components';\n\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport {\n StyledFlexColumn,\n StyledFlexRowCenter,\n} from 'styles/GenericStyledComponents';\nimport DeadBotLogo from 'assets/images/zsb-dead-logo.png';\nimport { Alert, Button } from 'antd';\nimport { cssVariables } from 'styles/root';\nimport { ReloadOutlined } from '@ant-design/icons';\n\nconst StyledDeadBot = styled.img`\n height: 400px;\n margin: 40px 0;\n`;\n\nconst Wrapper = styled(StyledFlexRowCenter)`\n justify-content: center;\n\n h3 {\n color: ${cssVariables.errorText};\n font-weight: 900;\n }\n`;\n\nconst StyledErrorWrapper = styled(Alert)`\n justify-content: center !important;\n`;\n\nconst FallbackComponent = ({ error, showDetails, onShowDetails, onReload }) => {\n const handleShowDetails = () => {\n onShowDetails(showDetails);\n };\n\n return (\n \n \n \n

    {'ZSB will brb...'}

    \n \n }\n type=\"link\"\n style={{ marginBottom: 5 }}\n >\n {'Try again'}\n \n \n
    \n }\n />\n \n
    \n );\n};\n\nconst FallbackBoundary = props => {\n const [showDetails, setShowDetails] = useState(false);\n const { children } = props;\n\n const handleReload = details => {\n window.location.reload();\n };\n\n return (\n (\n setShowDetails(!showDetails)}\n showDetails={showDetails}\n onReload={handleReload}\n />\n )}\n >\n {children}\n \n );\n};\n\nFallbackBoundary.propTypes = {\n children: PropTypes.any,\n};\n\nFallbackComponent.propTypes = {\n error: PropTypes.object,\n showDetails: PropTypes.bool,\n onShowDetails: PropTypes.func,\n onReload: PropTypes.func,\n};\n\nexport default FallbackBoundary;\n","export default __webpack_public_path__ + \"static/media/zeroshotbot-horizontal-medium.4d9fc11b.svg\";","export const IS_PROCESSING_SUBSCRIPTION =\n 'Your new subscription is still in process.';\n\nexport const AUTO_RENEW_SUCCESS_MESSAGE =\n 'You have successfully renew your current subscription!';\n\nexport const UPGRADE_SUCCESS_MESSAGE =\n 'You have successfully upgraded your current subscription!';\n\nexport const DOWNGRADE_SUCCESS_MESSAGE =\n 'You have successfully downgraded your current subscription!';\n\nexport const CANCELED_CHECKOUT_URL_PARAM = '?checkout-success=false';\n\nexport const START_TRIAL_DAYS_MESSAGE = 'Start with 14 day trial';\n\nexport const PRICE_PER_QUERY = `$${process.env.REACT_APP_PRICE_PER_QUERY}`;\n\nexport const INTEGRATION_PLAN_LIMIT = 'integration';\n\nexport const PLAN_LIST = ['free', 'basic', 'advanced'];\n","export default __webpack_public_path__ + \"static/media/test-suite-sample.799f43e3.png\";","export default __webpack_public_path__ + \"static/media/test-suite-sample-2.4d1da12c.png\";","export default __webpack_public_path__ + \"static/media/analytics-sample.c3f38eb4.png\";","import { StyledBannerWrapper } from 'pages/Auth/StyledComponents';\nimport styled from 'styled-components';\nimport {\n StyledFlexColumn,\n StyledFlexRowCenter,\n} from 'styles/GenericStyledComponents';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledFullWidthWrapper = styled(StyledFlexRowCenter)`\n @keyframes flip-in {\n 0% {\n transform: rotateX(180deg);\n }\n 100% {\n transform: rotateX(0deg);\n }\n }\n background-color: #fff;\n width: 100vw;\n height: 100vh;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 1001;\n animation: flip-in 1s;\n transform-style: preserve-3d;\n`;\n\nexport const StyledFullHeightWrapper = styled(StyledBannerWrapper)`\n height: 100vh;\n width: 45%;\n position: fixed;\n top: 0;\n bottom: 0;\n right: 0;\n\n img {\n width: auto;\n }\n\n .anticon-close {\n cursor: pointer;\n position: fixed;\n top: 30px;\n right: 30px;\n color: ${cssVariables.gray0};\n }\n`;\n\nexport const StyledLeftSidePromo = styled(StyledFlexColumn)`\n padding: 50px;\n font-family: 'Open Sans';\n width: 55%;\n\n h1 {\n font-size: 24px;\n }\n\n h2 {\n font-size: 18px;\n color: ${cssVariables.gray0};\n }\n\n .anticon-check-circle {\n font-size: 24px;\n }\n\n .ant-btn {\n margin-top: 50px;\n width: 100%;\n }\n\n @media (max-width: 900px) {\n width: 100%;\n }\n`;\n\nexport const StyledFloatingTopLogo = styled.img`\n position: fixed;\n width: 150px;\n top: 30px;\n left: 50px;\n`;\n\nexport const StyledScreenshotsWrapper = styled(StyledFlexColumn)`\n height: 35%;\n\n img {\n z-index: 10;\n width: 50%;\n border-radius: 5px;\n box-shadow: ${cssVariables.itemListShadow};\n position: absolute;\n\n @media (max-width: 1440px) {\n width: 50%;\n\n &:first-child {\n right: 26%;\n bottom: 50%;\n }\n\n &:nth-child(2) {\n bottom: 45%;\n right: 18%;\n }\n\n &:nth-child(3) {\n right: 10%;\n bottom: 30%;\n }\n }\n\n &:first-child {\n right: 26%;\n bottom: 65%;\n }\n\n &:nth-child(2) {\n bottom: 55%;\n right: 18%;\n }\n\n &:nth-child(3) {\n right: 10%;\n bottom: 40%;\n }\n }\n`;\n","import { CANCELED_CHECKOUT_URL_PARAM } from 'constants/plan';\nimport { apiService } from './api.service';\nimport { parseBoolean } from 'utils/dataTypes';\n\nexport const stripeAPIService = {\n switchPlan: function (\n planType,\n successURL,\n cancelURL,\n graph,\n sentinel,\n token\n ) {\n return apiService.jacPrimeRun(\n {\n name: 'switch_plan',\n nd: graph,\n ctx: {\n plan_type: planType,\n success_url: successURL,\n cancel_url: cancelURL,\n },\n },\n sentinel,\n token\n );\n },\n\n overrideCustomerPlan: function (graph, sentinel, token, plan) {\n return apiService.jacPrimeRun(\n {\n name: 'override_customer_plan',\n nd: graph,\n ctx: {\n plan: plan,\n },\n },\n sentinel,\n token\n );\n },\n\n getStripeStatus: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'get_stripe',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n getSubscriptionStatus: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'get_subscription',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n setIsProcessingSubscription: function (status, graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'subscription_is_processing',\n nd: graph,\n ctx: {\n is_processing: status,\n },\n },\n sentinel,\n token\n );\n },\n\n getInvoiceList: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'get_invoice_list',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n getPaymentMethods: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'get_payment_methods',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n updatePaymentMethod: function (\n successURL,\n cancelURL,\n graph,\n sentinel,\n token\n ) {\n return apiService.jacPrimeRun(\n {\n name: 'update_payment_method',\n nd: graph,\n ctx: {\n success_url: successURL,\n cancel_url: cancelURL + CANCELED_CHECKOUT_URL_PARAM,\n },\n },\n sentinel,\n token\n );\n },\n\n cancelSubscription: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'cancel_subscription',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n getCustomer: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'get_customer',\n nd: graph,\n ctx: {},\n },\n sentinel,\n token\n );\n },\n\n changeCard: function (returnUrl, graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'create_billing_portal_session',\n nd: graph,\n ctx: {\n return_url: returnUrl,\n },\n },\n sentinel,\n token\n );\n },\n\n autoRenewSubscription: function (graph, sentinel, token) {\n return apiService.jacPrimeRun(\n {\n name: 'update_auto_renewal',\n nd: graph,\n ctx: {\n auto_renew: true,\n },\n },\n sentinel,\n token\n );\n },\n\n changeStripeIsProcessingStatus: function (\n isProcessing,\n graph,\n sentinel,\n token\n ) {\n return apiService.jacPrimeRun(\n {\n name: 'subscription_is_processing',\n nd: graph,\n ctx: {\n is_processing: parseBoolean(isProcessing),\n },\n },\n sentinel,\n token\n );\n },\n};\n","import { message } from 'antd';\nimport { useContext, useState } from 'react';\n\nimport ROUTES from 'constants/routes';\nimport { stripeAPIService } from 'services/stripeAPI.service';\n\nimport { getTokenSelector } from 'selectors/user';\nimport { DISMISS_FIRST_LOGIN_PLAN } from 'store/action';\nimport { Context } from 'store/store';\nimport useSelector from 'store/useSelector';\nimport { CANCELED_CHECKOUT_URL_PARAM } from 'constants/plan';\nimport { planDetailsSelector } from 'selectors/plan';\n\nconst useFirstLoginPromoModal = () => {\n const [state, dispatch] = useContext(Context);\n const token = useSelector(getTokenSelector);\n const planDetails = useSelector(planDetailsSelector);\n const { graph, sentinel } = state;\n\n const [loading, setLoading] = useState(false);\n\n const SUCCESS_URL = `${window.location.origin}${ROUTES.SUBSCRIPTION}`;\n const CANCEL_URL = `${window.location.origin}${ROUTES.SUBSCRIPTION}${CANCELED_CHECKOUT_URL_PARAM}`;\n\n const handleDismiss = () => {\n dispatch({\n type: DISMISS_FIRST_LOGIN_PLAN,\n });\n };\n\n const handleStartTrial = async () => {\n setLoading(true);\n try {\n const res = await stripeAPIService.switchPlan(\n 'basic',\n SUCCESS_URL,\n CANCEL_URL,\n graph,\n sentinel,\n token\n );\n\n const checkoutURl = res.data?.report[0]?.url;\n if (checkoutURl) {\n window.location.href = checkoutURl;\n setLoading(false);\n } else {\n throw new Error('Something went wrong while fetching checkout URL.');\n }\n } catch (error) {\n message.error(error.message);\n }\n setLoading(false);\n };\n\n return {\n handleDismiss,\n handleStartTrial,\n loading,\n planDetails,\n };\n};\n\nexport default useFirstLoginPromoModal;\n","import { isEmpty } from 'lodash';\n\nimport { PRICE_PER_QUERY } from 'constants/plan';\n\nexport const detailedPlanFeatures = (plan, name, isList) => {\n if (isEmpty(plan)) {\n return [];\n }\n const planPrice = plan.stripe?.find(stripePrice => stripePrice.quantity);\n const priceId = planPrice?.priceId || null;\n return [\n isList ? undefined : name,\n `${plan.max_bot_count} Bot${plan.max_bot_count > 1 ? 's' : ''}`,\n `Up to ${plan.max_ans_count} Answers per bot`,\n plan.integration === 'all'\n ? 'Integrate to multiple Channels'\n : name === 'basic'\n ? 'Integrate on Website and Mobile'\n : undefined,\n `${plan.max_txn_count} queries per month, ${PRICE_PER_QUERY} per query`,\n `${plan.max_test_suite} Test Suite${plan.max_test_suite > 1 ? 's' : ''}`,\n `${plan.max_test_cases} Test Cases`,\n plan.analytics ? `Analytics, Reporting Available` : undefined,\n name === 'advanced' ? '24*7 Support Available' : undefined,\n ].filter(Boolean);\n};\n","import { CheckCircleFilled, CloseOutlined } from '@ant-design/icons';\n\nimport { cssVariables } from 'styles/root';\nimport {\n StyledFlexColumn,\n StyledFlexRowCenter,\n StyledFlexRowLeft,\n} from 'styles/GenericStyledComponents';\nimport Logo from 'assets/images/zeroshotbot-horizontal-medium.svg';\nimport { START_TRIAL_DAYS_MESSAGE } from 'constants/plan';\nimport { StyledImageBanner } from 'pages/Auth/StyledComponents';\nimport AuthBanner from 'assets/images/auth-banner.png';\nimport TestSuiteSample from 'assets/images/test-suite-sample.png';\nimport TestSuiteSample2 from 'assets/images/test-suite-sample-2.png';\nimport AnalyticsSample from 'assets/images/analytics-sample.png';\nimport {\n StyledFloatingTopLogo,\n StyledFullHeightWrapper,\n StyledFullWidthWrapper,\n StyledLeftSidePromo,\n StyledScreenshotsWrapper,\n} from './StyledComponents';\nimport Button from 'components/Button';\nimport useFirstLoginPromoModal from './hooks';\nimport { Spin } from 'antd';\nimport { detailedPlanFeatures } from 'pages/UserProfile/planDetails';\n\nconst FirstLoginPromoModal = () => {\n const { handleDismiss, handleStartTrial, loading, planDetails } =\n useFirstLoginPromoModal();\n return (\n \n \n \n \n \n \n \n \n \n

    {START_TRIAL_DAYS_MESSAGE}

    \n
    \n \n

    {'Access our basic plan features.'}

    \n
    \n \n {detailedPlanFeatures(planDetails?.basic, 'basic', true)?.map(\n (feat, idx) => {\n return (\n \n \n {feat}\n \n );\n }\n )}\n
    \n \n \n \n \n
    \n \n \n \n \"test\n \"test\n \"analytics\n \n \n \n
    \n
    \n
    \n );\n};\n\nexport default FirstLoginPromoModal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nconst StyledCenteredText = styled.div`\n display: flex;\n line-height: 1em;\n color: ${cssVariables.primaryColor};\n margin-top: 5px;\n margin-bottom: 5px;\n width: 100%;\n\n ::before,\n ::after {\n content: '';\n display: inline-block;\n flex-grow: 1;\n margin-top: 0.5em;\n background: gray;\n height: 1px;\n }\n`;\n\nconst HRWithCenteredText = props => {\n const { text, ...rest } = props;\n return {text};\n};\n\nHRWithCenteredText.propTypes = {\n text: PropTypes.string.isRequired,\n};\n\nexport default HRWithCenteredText;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\nimport Modal from '../GenericModal';\n\nexport const StyledSequenceViewerModal = styled(Modal)``;\n\nexport const StyledSequenceViewerContainer = styled.div`\n text-align: lef;\n padding: 16px 18px;\n color: ${cssVariables.primaryColor};\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n div {\n display: flex;\n justify-content: space-between;\n\n button {\n background-color: ${cssVariables.gray5};\n color: ${cssVariables.gray0};\n\n :hover {\n background-color: ${cssVariables.gray0};\n color: #fff;\n }\n }\n }\n\n .heading {\n font-size: 20px;\n font-weight: ${cssVariables.font.bold};\n line-height: 8px;\n }\n\n .text-content {\n margin-bottom: 20px;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n StyledSequenceViewerContainer,\n StyledSequenceViewerModal,\n} from './SequenceViewerModal.style';\nimport useSelector from 'store/useSelector';\nimport { chatSelectedSequenceInModalSelector } from 'selectors/bot/ui';\nimport {\n StyledFlexColumn,\n StyledFlexRowCenter,\n} from 'styles/GenericStyledComponents';\nimport CodeBlock from 'components/CodeBlock';\nimport { Descriptions } from 'antd';\nimport { cssVariables } from 'styles/root';\nimport { useMemo } from 'react';\n\nconst SequenceViewerModal = ({ onCancel }) => {\n const chatSelectedSequenceInModal = useSelector(\n chatSelectedSequenceInModalSelector\n );\n const selectedSequenceType = chatSelectedSequenceInModal.sequence.type;\n const typeList = ['translation', 'retrieval', 'generation', 'calculation'];\n const useDefaultViewer = selectedSequenceType in typeList;\n\n const TRANSLATION_DESCRIPTION_LIST = useMemo(() => {\n if (chatSelectedSequenceInModal.sequence.data) {\n return [\n {\n title: 'Translation',\n fieldName: 'translated_text',\n },\n {\n title: 'Language',\n fieldName: 'detected_language',\n },\n ];\n } else {\n return [\n {\n title: 'Translation',\n fieldName: 'translation',\n },\n {\n title: 'Language',\n fieldName: 'language',\n },\n ];\n }\n }, [chatSelectedSequenceInModal]);\n\n const SELECTED_SEQUENCE = useMemo(\n () =>\n chatSelectedSequenceInModal.sequence.data\n ? chatSelectedSequenceInModal.sequence.data\n : chatSelectedSequenceInModal.sequence,\n [chatSelectedSequenceInModal]\n );\n\n return (\n \n \n \n \n {useDefaultViewer && (\n \n \n \n )}\n\n \n \n {selectedSequenceType === 'translation' &&\n TRANSLATION_DESCRIPTION_LIST?.map((translation, key) => (\n \n {JSON.stringify(SELECTED_SEQUENCE[translation.fieldName])}\n \n ))}\n\n {selectedSequenceType === 'retrieval' &&\n SELECTED_SEQUENCE?.response?.map((response, key) => (\n \n {JSON.stringify(response.text)}\n \n ))}\n\n {selectedSequenceType === 'generation' && (\n \n {JSON.stringify(SELECTED_SEQUENCE.generated)}\n \n )}\n\n {selectedSequenceType === 'calculation' && (\n <>\n \n {JSON.stringify(\n SELECTED_SEQUENCE.response?.answers\n ? SELECTED_SEQUENCE.response?.answers[0]?.context\n ?.text\n : SELECTED_SEQUENCE.response?.answer?.context?.text\n )}\n \n \n {JSON.stringify(\n SELECTED_SEQUENCE.response?.answers\n ? SELECTED_SEQUENCE.response?.answers[0]?.context\n ?.score\n : SELECTED_SEQUENCE.response?.answer?.context?.score\n )}\n \n \n )}\n \n \n \n

    \n \n \n \n );\n};\n\nSequenceViewerModal.propTypes = {\n onCancel: PropTypes.func,\n};\n\nexport default SequenceViewerModal;\n","import React, { useMemo, useContext, useEffect } from 'react';\nimport { Layout as AntdLayout, Popover, Spin } from 'antd';\nimport PropTypes from 'prop-types';\nimport { ColumnWidthOutlined, StepForwardFilled } from '@ant-design/icons';\nimport { omit, isEmpty } from 'lodash';\n\nimport useLayout from './hooks';\nimport {\n StyledDoubleSidebar,\n StyledMainContent,\n StyledTopIcons,\n StyledIconWithLabel,\n StyledSmallRightNavIconLabel,\n StyledPopoverTitle,\n StyledPopoverContents,\n StyledPopoverTextContent,\n StyledBottomIcons,\n StyledHeaderLogo,\n StyledSider,\n StyledLogoSider,\n StyledHeaderContent,\n} from './Layout.styles';\nimport { MINIMUM_SCREEN_WIDTH } from 'constants/screens';\nimport { useHistory, Link } from 'react-router-dom';\nimport RobotIcon from 'assets/images/robot-icon-black-small.svg';\nimport ComponentHeader from 'components/Header';\nimport LowResoPrompt from 'components/Modals/LowResoPrompt';\nimport Sidebar from 'components/Sidebar/BotSidebar';\nimport SidebarChat from 'components/SidebarChat';\nimport ROUTES from 'constants/routes';\nimport FallbackBoundary from 'components/FallbackBoundary';\nimport FirstLoginPromoModal from 'components/Modals/FirstLoginPromoModal';\nimport Modal from 'components/Modals/GenericModal';\nimport {\n StyledFlexColumn,\n StyledFlexRowCenter,\n} from 'styles/GenericStyledComponents';\nimport HRWithCenteredText from 'components/HR/HRWithCenteredText';\nimport CodeBlock from 'components/CodeBlock';\nimport SmallLogoWhite from 'assets/images/zeroshotbot-header-white-logo.svg';\nimport { Context } from 'store/store';\nimport SequenceViewerModal from 'components/Modals/SequenceViewerModal';\nimport { isImpersonatingSelector } from 'selectors/admin';\nimport useSelector from 'store/useSelector';\nimport { SET_PAGE_DETAILS, STOP_IMPERSONATING_USER } from 'store/action';\n\nconst { confirm } = Modal;\nconst { Content, Header, Sider } = AntdLayout;\nconst POPOVER_TITLE = 'Test your bot here!';\n\nconst Layout = ({\n children,\n isChatVisible,\n loading,\n handleChatAskQuestion,\n handleSeekAnswer,\n handleShowAddTestSuiteModal,\n setRunTour,\n runTour,\n SidebarComponent,\n contextHistory,\n setContextHistory,\n maxInteraction,\n setMaxInteraction,\n}) => {\n const {\n allAnswers,\n chatAnswerInModal,\n chatSequenceInModal,\n chatSelectedSequenceInModal,\n isAdmin,\n isPageReady,\n isSidebarChatExpanded,\n WITH_PREFIX_BOT_JID,\n location,\n rightNavOpen,\n toggleRightNav,\n hasBotError,\n handleCloseJSONAnswerInModal,\n handleCloseSequenceInModal,\n handleCloseSelectedSequenceInModal,\n showFirstLoginPlan,\n toggleExpandSidebarChat,\n isExternalPage,\n scrollContainerRef,\n childrenWithRef,\n } = useLayout({ setRunTour, children });\n const isAdminPage = location.pathname?.includes(ROUTES.ADMIN_PAGE);\n const isBotPage = location.pathname?.includes(ROUTES.BOT_DETAILS);\n const [state, dispatch] = useContext(Context);\n const history = useHistory();\n const isImpersonating = useSelector(isImpersonatingSelector);\n\n const shouldShowSidebar =\n WITH_PREFIX_BOT_JID &&\n !hasBotError &&\n location.pathname !== ROUTES.BOTS_PAGE &&\n location.pathname?.includes('/bot/') &&\n !location.pathname?.includes(ROUTES.ADMIN_PAGE);\n\n const PopoverContent = (\n <>\n \n {allAnswers.length ? POPOVER_TITLE : 'Add an answer to test the bot'}\n \n \n \n {allAnswers.length ? (\n <>\n {'You have added your answers.'}\n {'Now test your bot here.'}\n \n ) : (\n <>\n {'You need to add your answers first.'}\n {'Then you can test bot here.'}\n \n )}\n \n \n \n );\n\n const isLoading = useMemo(() => {\n return !!loading && !isPageReady;\n }, [isPageReady, loading]);\n\n const isLowResolution = useMemo(\n () => window.innerWidth < MINIMUM_SCREEN_WIDTH,\n []\n );\n\n const stopImpersonation = async () => {\n await dispatch({\n type: STOP_IMPERSONATING_USER,\n });\n };\n\n const goToHome = e => {\n if (isAdmin) {\n if (isImpersonating) {\n confirm({\n content: (\n

    \n Impersonating user will end, are you sure you want to go back to\n admin page?\n

    \n ),\n onOk() {\n stopImpersonation();\n history.push(ROUTES.ADMIN_PAGE);\n },\n onCancel() {\n return;\n },\n });\n } else {\n history.push(ROUTES.ADMIN_PAGE);\n }\n } else {\n history.push(ROUTES.HOME);\n }\n };\n\n const handlePageResizing = () => {\n dispatch({\n type: SET_PAGE_DETAILS,\n });\n };\n\n useEffect(() => {\n window.addEventListener('resize', handlePageResizing);\n handlePageResizing();\n return () => {\n window.removeEventListener('resize', handlePageResizing);\n };\n }, []);\n\n return (\n \n \n \n \n \n \n goToHome()}\n />\n \n \n \n \n \n\n \n {SidebarComponent ? (\n \n \n \n ) : shouldShowSidebar ? (\n \n \n \n ) : null}\n \n {childrenWithRef}\n \n\n {allAnswers.length && isChatVisible ? (\n \n \n {rightNavOpen || runTour ? (\n \n \n \n Test\n \n \n ) : (\n \n \n \n \n Test\n \n \n \n )}\n \n \n {rightNavOpen ? (\n isSidebarChatExpanded ? (\n \n ) : (\n \n )\n ) : null}\n \n \n ) : null}\n \n \n\n {allAnswers.length && rightNavOpen && isChatVisible ? (\n \n ) : null}\n \n {showFirstLoginPlan ? : null}\n {chatAnswerInModal.show ? (\n \n \n \n \n \n \n

    \n \n {!isEmpty(omit(chatAnswerInModal.answer, 'error')) ? (\n \n \n \n \n ) : null}\n {chatAnswerInModal.answer?.error ? (\n \n \n \n \n ) : null}\n \n \n \n ) : null}\n {chatSequenceInModal.show ? (\n \n \n \n \n \n \n

    \n {chatSequenceInModal.answer.sequence.map(sequence => (\n <>\n \n \n \n \n

    \n \n ))}\n \n \n ) : null}\n {chatSelectedSequenceInModal.show ? (\n \n ) : null}\n \n \n );\n};\n\nLayout.propTypes = {\n children: PropTypes.node,\n isChatVisible: PropTypes.bool,\n handleChatAskQuestion: PropTypes.func,\n handleSeekAnswer: PropTypes.func,\n handleShowAddTestSuiteModal: PropTypes.func,\n loading: PropTypes.bool,\n setRunTour: PropTypes.func,\n runTour: PropTypes.bool,\n SidebarComponent: PropTypes.func,\n setContextHistory: PropTypes.func,\n contextHistory: PropTypes.bool,\n maxInteraction: PropTypes.any,\n setMaxInteraction: PropTypes.func,\n};\n\nexport default Layout;\n","import styled, { css } from 'styled-components';\nimport { Card, Input, Menu, Row } from 'antd';\nimport {\n MenuOutlined,\n TableOutlined,\n DownOutlined,\n CheckOutlined,\n} from '@ant-design/icons';\nimport { cssVariables } from 'styles/root';\n\nexport const NewBotCard = styled(Card)`\n width: 100%;\n background-color: #fff;\n border: 1px solid ${cssVariables.gray1};\n border-radius: 5px;\n align-items: center;\n display: flex;\n text-align: center;\n justify-content: center;\n min-height: 150px;\n cursor: pointer;\n pointer-events: ${props => (props.disabled ? 'none' : 'all')};\n span {\n font-size: 14px;\n }\n :hover {\n cursor: pointer;\n background: ${cssVariables.primaryTransparent};\n color: ${cssVariables.secondaryColor};\n div {\n color: ${cssVariables.secondaryColor};\n }\n }\n\n .anticon-plus {\n font-size: 32px;\n font-weight: ${cssVariables.font.bold};\n }\n\n .ant-card-body {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n`;\n\nexport const StyledRoot = styled.div`\n padding: 0px;\n min-height: 84vh;\n position: relative;\n\n & .MuiPaper-root {\n & .anticon {\n svg {\n width: 25px;\n height: 25px;\n }\n }\n }\n`;\n\nexport const StyledBotSearch = styled(Row)`\n margin-top: 27px;\n margin-bottom: 30px;\n`;\n\nexport const StyledSearchInput = styled(Input)`\n height: 40px;\n border-radius: 3px;\n width: 100%;\n`;\n\nexport const StyledBotSorter = styled.div`\n width: 100%;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n`;\n\nexport const StyledSortSelected = styled(Menu.Item)`\n background-color: ${props =>\n props.botsOrderKey === props.itemKey ? cssVariables.primaryBlue : ''};\n color: ${props => (props.botsOrderKey === props.itemKey ? '#fff' : '')};\n`;\n\nexport const StyledViewTypeMenu = styled.div`\n background: #e8e8e8;\n padding: 8px;\n cursor: pointer;\n border-radius: 5px;\n\n &:hover {\n background-color: ${cssVariables.gray0};\n color: #fff;\n }\n`;\n\nexport const StyledMenuOutlined = styled(MenuOutlined)`\n margin-right: 5px;\n`;\n\nexport const StyledTableOutlined = styled(TableOutlined)`\n margin-right: 5px;\n`;\n\nexport const StyledCheckOutlined = styled(CheckOutlined)`\n margin-right: 5px;\n`;\n\nexport const StyledDownOutlined = styled(DownOutlined)`\n font-size: 12px !important;\n`;\n\nexport const StyledViewTypeDropDown = styled(Menu)`\n & .ant-dropdown-menu-item {\n padding: 0px;\n }\n`;\n\nexport const StyledViewTypeOption = styled.div`\n display: flex;\n align-items: center;\n justify-content: end;\n padding: 10px;\n\n & :hover {\n background: #f0f2f5;\n }\n`;\n\nexport const StyledViewTypeText = styled.span`\n font-weight: ${cssVariables.font.bold};\n width: 80px;\n`;\n\nexport const StyledListviewBots = styled.div`\n position: relative;\n`;\n\nexport const StyledListviewNewBot = styled.div`\n ${props =>\n props.newBot\n ? css`\n column-gap: 7px;\n display: flex;\n flex-direction: row;\n text-align: center;\n height: 45px;\n width: 100px;\n padding: 10px;\n `\n : null}\n`;\n\nexport const StyledNoBots = styled.div`\n text-align: center;\n margin-top: 100px;\n`;\n\nexport const StyledNoBotsText = styled.p`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 18px;\n margin-bottom: 8px;\n`;\n\nexport const StyledBots = styled.div`\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n gap: 20px;\n\n &.flex {\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n\n & .MuiPaper-root,\n > div {\n display: flex;\n width: 250px;\n max-width: 300px;\n }\n\n @media (min-width: 620px) and (max-width: 767px) {\n display: grid;\n gap: 20;\n }\n\n @media (min-width: 0px) and (max-width: 890px) {\n display: grid;\n gap: 20px;\n\n & .MuiPaper-root,\n > div {\n width: 100%;\n max-width: 100%;\n }\n }\n }\n\n & .ant-spin-spinning,\n & .ant-spin-container {\n height: 100%;\n width: 100%;\n }\n`;\n","export const BOT_REDIRECT = 'redirect';\n\nexport const INTEGRATION_DATA = 'integrationData';\n","import { useState, useEffect, useContext } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { message, notification } from 'antd';\nimport _ from 'lodash';\nimport { ACTIONS, EVENTS, STATUS } from 'react-joyride';\n\nimport { Context } from 'store/store';\nimport { apiService } from 'services/api.service';\nimport { fetchBotDetails } from 'services/bots.service';\nimport ROUTES from 'constants/routes';\nimport { BOT_REDIRECT } from 'constants/localStorage';\nimport {\n SET_BOTS,\n VIEW_BOT,\n STOP_IMPERSONATING_USER,\n SET_BOT_DETAILS,\n SET_BOT_MODES,\n SHOW_BOT_MODAL,\n} from 'store/action';\nimport { SET_ONBOARDING_FLAG } from 'store/action';\nimport { GET_DATA_ERROR } from 'constants/error';\nimport { getTokenSelector, isExternalPageSelector } from 'selectors/user';\nimport useSelector from 'store/useSelector';\nimport { isAdminSelector, isImpersonatingSelector } from 'selectors/admin';\nimport {\n onboardingFlagSelector,\n showFirstLoginPlanSelector,\n} from 'selectors/plan';\nimport { allBotsSelector, botModesSelector } from 'selectors/bots';\nimport { stripUUID } from 'utils';\nimport {\n isBotModalVisibleSelector,\n isWordPressModalVisibleSelector,\n pageInitializedSelector,\n} from 'selectors/layout';\n\nconst useYourBots = () => {\n const history = useHistory();\n const [state, dispatch] = useContext(Context);\n const token = useSelector(getTokenSelector);\n const allBots = useSelector(allBotsSelector);\n const isAdmin = useSelector(isAdminSelector);\n const isImpersonating = useSelector(isImpersonatingSelector);\n const onboardingFlags = useSelector(onboardingFlagSelector);\n const showFirstLoginPlan = useSelector(showFirstLoginPlanSelector);\n const isBotModalVisible = useSelector(isBotModalVisibleSelector);\n const isWordPressModalVisible = useSelector(isWordPressModalVisibleSelector);\n const isExternalPage = useSelector(isExternalPageSelector);\n const botModes = useSelector(botModesSelector);\n const pageInitialized = useSelector(pageInitializedSelector);\n const { graph, plan, sentinel, tempBot } = state;\n\n const nextLocation = localStorage.getItem(BOT_REDIRECT);\n const { subscription } = plan;\n const [searchKey, setSearchKey] = useState('');\n const [filteredBots, setFilteredBots] = useState(allBots);\n const [viewType, setViewType] = useState('gridview');\n const [loading, setLoading] = useState(pageInitialized ? false : true);\n const [isPageReady, setIsPageReady] = useState(false);\n const [botsOrder, setBotsOrder] = useState({\n key: 0,\n sortBy: 'lastUpdatedAt',\n });\n const [showNewUserModal, setShowNewUserModal] = useState(\n isPageReady && allBots?.length === 0 && !isAdmin\n );\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n\n const redirectToBot = async () => {\n const trimmedLocation = nextLocation.split('/bot').pop();\n history.push(`${ROUTES.BOT_DETAILS}${trimmedLocation}`);\n };\n\n useEffect(() => {\n if (\n isPageReady &&\n allBots?.length === 0 &&\n !isAdmin &&\n !showFirstLoginPlan\n ) {\n setShowNewUserModal(true);\n } else {\n setShowNewUserModal(false);\n }\n if (isPageReady && nextLocation) {\n redirectToBot();\n }\n }, [allBots?.length, isPageReady, isAdmin, showFirstLoginPlan]);\n\n useEffect(() => {\n if (isPageReady && allBots?.length === 0) {\n if (['past_due', 'unpaid'].includes(subscription?.status)) {\n const openNotification = () => {\n notification['error']({\n message: 'Something wrong with your subscription.',\n description:\n 'Your latest invoice is either past due or unpaid. Please update your payments to continue using our service',\n onClick: () => {\n console.log('Notification Clicked!');\n },\n duration: 10,\n });\n };\n openNotification();\n }\n }\n }, [allBots?.length, isPageReady, subscription]);\n\n useEffect(() => {\n if (isPageReady && !onboardingFlags.includes('ViewBotButton')) {\n setRunTour(true);\n } else {\n setRunTour(false);\n }\n }, [isPageReady, onboardingFlags]);\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if ([STATUS.FINISHED, STATUS.SKIPPED].includes(status)) {\n setRunTour(false);\n setStepIndex(0);\n\n if (!onboardingFlags.includes('ViewBotButton')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'ViewBotButton'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'ViewBotButton' });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n if (index === 0) {\n }\n }\n };\n\n const onAddBot = () => {\n dispatch({\n type: SHOW_BOT_MODAL,\n payload: {\n action: 'add',\n },\n });\n setSearchKey('');\n };\n\n const onSearchKeyChange = e => {\n setSearchKey(e.target.value);\n };\n\n const navigateToBotDetailsPage = (jid, botDetails) => {\n const answerCount = botDetails[0]?.context?.answer_count;\n const fileCount = botDetails[0]?.context?.file_count;\n const websiteCount = botDetails[0]?.context?.website_count;\n if (!answerCount && !fileCount && !websiteCount) {\n history.push(\n `${ROUTES.BOT_DETAILS}/${stripUUID(jid)}${ROUTES.ANSWERLIST}`\n );\n } else {\n history.push(\n `${ROUTES.BOT_DETAILS}/${stripUUID(jid)}${ROUTES.BOT_OVERVIEW}`\n );\n }\n };\n\n const navigateToAnswerBankPage = (jid, botDetails) => {\n history.push(`${ROUTES.BOT_DETAILS}/${stripUUID(jid)}${ROUTES.ANSWERLIST}`);\n };\n\n const handleViewBot = async bot => {\n try {\n setLoading(true);\n dispatch({ type: VIEW_BOT, payload: bot });\n if (!onboardingFlags.includes('ViewBotButton')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'ViewBotButton'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'ViewBotButton' });\n }\n const strippedJID = stripUUID(bot.jid);\n const botDetails = await fetchBotDetails(sentinel, bot.jid, token);\n setLoading(false);\n await dispatch({\n type: SET_BOT_DETAILS,\n payload: {\n ...botDetails,\n jid: bot.jid,\n },\n });\n\n if (isExternalPage) {\n navigateToAnswerBankPage(strippedJID, botDetails);\n } else {\n navigateToBotDetailsPage(strippedJID, botDetails);\n }\n } catch (error) {\n setLoading(false);\n message.error(error.message || GET_DATA_ERROR);\n }\n };\n\n const handleUpdateViewType = type => {\n setViewType(type);\n };\n\n const fetchBots = async () => {\n setLoading(true);\n try {\n const botRes = await apiService.getBots(sentinel, graph, token);\n if (!botRes.data.success || !botRes.data.report) {\n throw new Error(GET_DATA_ERROR);\n }\n\n dispatch({\n type: SET_BOTS,\n payload: { bots: botRes.data.report },\n });\n setIsPageReady(true);\n } catch (error) {\n message.error(error.message || GET_DATA_ERROR);\n setLoading(false);\n setIsPageReady(true);\n }\n\n return setLoading(false);\n };\n\n const fetchBotModes = async () => {\n try {\n const res = await apiService.globalVarGetter(\n 'bot_modes',\n sentinel,\n token\n );\n\n dispatch({\n type: SET_BOT_MODES,\n payload: res.data.report[0],\n });\n } catch (error) {}\n\n return setLoading(false);\n };\n\n const handleSortBots = bot => {\n setBotsOrder(bot);\n setFilteredBots(\n _.orderBy(allBots, bot.sortBy, bot.key % 2 === 0 ? 'desc' : 'asc')\n );\n };\n\n useEffect(() => {\n return () => {\n setFilteredBots([]);\n };\n }, []);\n\n useEffect(() => {\n async function fetchData() {\n if (!!sentinel && !!token && !!graph && !allBots?.length) {\n await fetchBots();\n }\n\n if (!!sentinel && !!token && !!graph && !botModes.length) {\n await fetchBotModes();\n }\n }\n\n fetchData();\n }, [graph, sentinel, token]);\n\n useEffect(() => {\n const searchResult = allBots.filter(bot =>\n bot.name.toLowerCase().includes(searchKey.toLowerCase())\n );\n if (searchResult) {\n setFilteredBots(searchResult);\n } else {\n setFilteredBots(allBots);\n }\n }, [searchKey, allBots]);\n\n const stopImpersonation = async () => {\n await dispatch({\n type: STOP_IMPERSONATING_USER,\n });\n };\n\n return {\n botsOrder,\n bots: filteredBots,\n searchKey,\n loading,\n tempBot,\n viewType,\n onAddBot,\n onClickCallback,\n onSearchKeyChange,\n runTour,\n setRunTour,\n setShowNewUserModal,\n showNewUserModal,\n handleSortBots,\n handleViewBot,\n handleUpdateViewType,\n stopImpersonation,\n isAdmin,\n isImpersonating,\n isBotModalVisible,\n isWordPressModalVisible,\n isExternalPage,\n stepIndex,\n setStepIndex,\n dispatch,\n };\n};\n\nexport default useYourBots;\n","import { Alert } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledAntUploadContent = styled.p`\n display: flex;\n flex-direction: row;\n align-items: center;\n font-size: 14px;\n row-gap: 16px;\n margin-top: -10px;\n height: 150px;\n justify-content: center;\n & .anticon {\n font-size: 30px;\n }\n`;\n\nexport const StyledUploadTip = styled.div`\n font-size: 12px;\n margin-bottom: 5px;\n color: ${cssVariables.primaryBlue};\n\n & .ant-typography pre {\n margin-top: 5px;\n }\n`;\n\nexport const StyledModalErrorAlert = styled(Alert)`\n margin: 20px 0;\n`;\n\nexport const StyledUploadTipTitle = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nexport const ActionContainer = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 16px 0;\n color: ${props => (props?.error ? `red` : `rgba(0, 0, 0, 0.85)`)};\n`;\n\nexport const StyledBtnAdvanceSettings = styled.button`\n display: flex;\n border: none;\n height: 38px;\n background: #ffff;\n color: #1667e7;\n border-radius: 1px;\n cursor: pointer;\n margin-top: 15px;\n float: right;\n line-height: 32px;\n\n &:hover {\n background: #1667e726;\n }\n`;\n\nexport const ActionButtons = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const ActiveActionLabel = styled.h3`\n color: #167be7 !important;\n`;\n\nexport const StyledWordPressHeaderContainer = styled.div`\n text-align: center;\n padding: 16px 10px;\n color: ${cssVariables.primaryColor};\n display: flex;\n flex-direction: column;\n row-gap: 5px;\n div {\n display: flex;\n justify-content: space-between;\n\n button {\n background-color: ${cssVariables.gray5};\n color: ${cssVariables.gray0};\n\n :hover {\n background-color: ${cssVariables.gray0};\n color: #fff;\n }\n }\n }\n\n .heading {\n font-size: 1.2rem;\n font-weight: ${cssVariables.font.bold};\n line-height: 8px;\n }\n\n .text-content {\n margin-bottom: 20px;\n }\n\n h4 {\n text-align: left;\n }\n`;\n","import PropTypes from 'prop-types';\nimport { StyledModalErrorAlert } from './WordPressIntegrationModal.style';\n\nconst ImportAlertMessage = ({\n importErrorMsg,\n importWarnMsg,\n similarAnswerWarnMsg,\n finalAnswerWarnMsg,\n}) => {\n return (\n <>\n {importErrorMsg ? (\n \n ) : null}\n {importWarnMsg ? (\n \n ) : null}\n {similarAnswerWarnMsg ? (\n \n ) : null}\n {finalAnswerWarnMsg ? (\n \n ) : null}\n \n );\n};\n\nexport default ImportAlertMessage;\n\nImportAlertMessage.propTypes = {\n importErrorMsg: PropTypes.string,\n importWarnMsg: PropTypes.string,\n similarAnswerWarnMsg: PropTypes.string,\n finalAnswerWarnMsg: PropTypes.string,\n};\n","export const FILTER_METHOD_OPTIONS = [\n {\n label: 'Exact string',\n value: 'exactString',\n },\n {\n label: 'Start with',\n value: 'start',\n },\n\n {\n label: 'Start with origin and path only',\n value: 'originPath',\n },\n {\n label: 'Start with origin only',\n value: 'origin',\n },\n];\n\nexport const SCANNING_METHOD_OPTIONS = [\n { label: 'Scan all possible URL', value: 'all' },\n { label: ' Includes domain name', value: 'sameDomainOnly' },\n];\n\nexport const FILTER_METHOD_TOOLTIP = 'Capture all available links that';\nexport const SPINNER_LABEL = 'Just a moment...';\n\nexport const SCAN_OPTIONS = [\n {\n value: 'fullWebsite',\n title: 'Full Website',\n description: 'Scan entire content from the provided page.',\n crawlerParams: 'origin',\n displayScanMethodOptions: false,\n showTargetElementOptions: false,\n },\n {\n value: 'nestedPages',\n title: 'Only Nested Pages',\n description: `Scan only nested pages within the URL you provided.`,\n crawlerParams: 'start',\n displayScanMethodOptions: false,\n showTargetElementOptions: false,\n },\n {\n value: 'single',\n title: 'A Single Page',\n description: 'Scan only single URL you provided.',\n crawlerParams: null,\n displayScanMethodOptions: false,\n showTargetElementOptions: true,\n },\n // {\n // value: 'traversing',\n // title: 'Custom Traversing',\n // description: 'Scanning can be more customizable.',\n // crawlerParams: 'start',\n // displayScanMethodOptions: true,\n // showTargetElementOptions: true,\n // },\n];\n\nexport const INITIAL_SELECTED_PAGE_LIST = {\n category: null,\n urls: [],\n};\n\nexport const INITIAL_URL_LIST = [\n {\n key: 0,\n url: null,\n },\n];\n\nexport const INITIAL_TARGET_ELEMENT = {\n draft: 'body',\n final: 'body',\n};\n\nexport const UPLOAD_METHOD_OPTIONS = [\n {\n label: 'Dom Content Loaded',\n value: 'domcontentloaded',\n description:\n 'Use when contents are rendered in server and returned without the need of lazy loading.',\n example: 'e.g. Static Websites',\n },\n {\n label: 'Load',\n value: 'load',\n description: 'Use when website follows lazy loading approach. ',\n example: 'e.g. React/Angular Websites',\n },\n {\n label: 'Network Idle',\n value: 'networkidle',\n description:\n \"Use when load is not sufficient and website's lazy loading approach requires multiple requests that may takes time to complete. \",\n example:\n \"Not recommended as this will be base on network traffic if it's been idle for 500ms.\",\n },\n];\n\nexport const VALID_DOMAIN_LIST = [\n 'https://www.',\n 'www.',\n 'http://www.',\n 'http://',\n 'https://',\n];\n\nexport const VALID_FILE_FORMATS =\n '.txt, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .csv';\n\nexport const DEFAULT_WEBSITE_FORM_STATE_VALUE = {\n urlList: INITIAL_URL_LIST,\n selectedPageList: INITIAL_SELECTED_PAGE_LIST,\n selectedTemplate: 'fullWebsite',\n targetElement: INITIAL_TARGET_ELEMENT,\n selectedScanningMethod: 'all',\n selectedUploadingMethod: 'load',\n isTargetElementOpen: false,\n};\n","import { message } from 'antd';\nimport { useLocation } from 'react-router-dom';\nimport { useHistory } from 'react-router-dom';\nimport { useCallback, useContext, useEffect, useMemo, useState } from 'react';\nimport axios from 'axios';\nimport { Context } from 'store/store';\nimport { apiService } from 'services/api.service';\nimport {\n RESET_WEBSITE_SELECTED_PAGES,\n RESET_WS_SCANNER,\n SET_WEBSITE_SELECTED_PAGES,\n SPAWN_CREATE,\n UPDATE_WS_SCANNED_DATA_SOURCE,\n WORD_PRESS_SUCCESS,\n WS_STOP_SCRAPER,\n WS_UPDATE_ACTION,\n} from 'store/action';\nimport {\n getTotalAnswersLeftSelector,\n websiteSelectedPageselector,\n} from 'selectors/bot/answers';\nimport useSelector from 'store/useSelector';\nimport { createBot, fetchBotDetails } from 'services/bots.service';\nimport { faker } from '@faker-js/faker';\nimport { INTEGRATION_DATA } from 'constants/localStorage';\nimport { stripUUID, withPrefixUUID } from 'utils';\nimport { BlobServiceClient } from '@azure/storage-blob';\nimport { INITIAL_BOT_INTEGRATION_DATA } from 'constants/botCustomizer';\nimport { DEFAULT_ERROR_MESSAGE, GET_DATA_ERROR } from 'constants/error';\nimport ROUTES from 'constants/routes';\nimport {\n DEFAULT_WEBSITE_FORM_STATE_VALUE,\n INITIAL_SELECTED_PAGE_LIST,\n SCAN_OPTIONS,\n} from 'constants/answerbank/website';\nimport {\n categorizedWebsitePages,\n extractScannedObject,\n extractWebsiteScanList,\n} from 'store/reducers/helpers/bot/answers';\nimport { uuid } from 'uuidv4';\n\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst SAS_TOKEN = process.env.REACT_APP_AZURE_SAS_TOKEN;\nconst INTEGRATIONS_CONTAINER_NAME = 'integrations';\n\nconst useWordPressIntegrationModal = ({ onClose, setParsedFileAnswers }) => {\n const history = useHistory();\n const controller = new AbortController();\n const { pathname } = useLocation();\n const [state, dispatch] = useContext(Context);\n const { sentinel, token, plan, webSocket, graph, pubAskedQuestion, pubInfo } =\n state;\n const { plan_type } = plan;\n\n const selectionState = useSelector(websiteSelectedPageselector);\n const answersAllowed = useSelector(getTotalAnswersLeftSelector);\n\n const [fileUploaded, setFileUploaded] = useState(null);\n const [importErrorMsg, setImportErrorMsg] = useState(null);\n const [importWarnMsg, setImportWarnMsg] = useState(null);\n const [finalAnswerWarnMsg, setFinalAnswerWarnMsg] = useState(null);\n const [modalBtnLoading, setModalBtnLoading] = useState(false);\n const limitErrorMsg = `You can add only ${answersAllowed} Answers in ${plan_type.toUpperCase()} Plan. Upgrade your plan to add answers.`;\n const [timeoutInSecond, setTimeoutInSecond] = useState(60);\n const [currentStep, setCurrentStep] = useState(0);\n const [crawlerParams, setCrawlerParams] = useState('start');\n const [pages, setPages] = useState(null);\n // const [paginateURLList, setPaginatedURLList] = useState([]);\n const [fileType, setFileType] = useState('file');\n const [actionPercentage, setActionPercentage] = useState(0);\n const [activeActionLabel, setActiveActionLabel] = useState(null);\n const [websiteFormState, setWebsiteFormState] = useState(\n DEFAULT_WEBSITE_FORM_STATE_VALUE\n );\n const [version, setVersion] = useState(true);\n const [newBotCreated, setNewBotCreated] = useState(null);\n\n const integrationName =\n faker.word.sample().charAt(0).toUpperCase() + faker.word.sample().slice(1);\n const defaultIntegrationPayload = {\n type: 'wordpress',\n identifier: integrationName,\n settings: {\n ...INITIAL_BOT_INTEGRATION_DATA.settings,\n botTitle: integrationName,\n label: `Ask ${integrationName}`,\n componentTitle: integrationName,\n },\n };\n\n window.onmessage = function (e) {\n const targetElement = e.data;\n if (targetElement.type == 'iframe-scraper-target') {\n setWebsiteFormState(prevState => {\n return {\n ...prevState,\n targetElement: {\n ...prevState.targetElement,\n draft: targetElement.target,\n },\n };\n });\n }\n };\n\n const selectedTemplateDetails = useMemo(\n () =>\n SCAN_OPTIONS?.find(\n option => option.value === websiteFormState?.selectedTemplate\n ),\n [websiteFormState?.selectedTemplate]\n );\n\n const handelWebsiteFormStateChanges = (newValue, key) => {\n setWebsiteFormState(prevState => {\n return { ...prevState, [key]: newValue };\n });\n };\n\n const parsedUrlFilter = () => {\n const extractedURL = new URL(websiteFormState?.urlList[0]?.url);\n\n switch (crawlerParams) {\n case 'exactString':\n return websiteFormState?.urlList[0].url + '$';\n case 'origin':\n return extractedURL.origin;\n case 'originPath':\n return extractedURL.origin + extractedURL.pathname;\n default:\n return websiteFormState?.urlList[0].url;\n }\n };\n\n const verifyQueryParams = url => {\n const extractedURL = new URL(url);\n const filteredUrl = webSocket?.scannedTableDataSource?.filter(\n urlOptions => urlOptions.url === url\n )[0];\n\n switch (filteredUrl?.filterMethod) {\n case 'exactString':\n return url + '$';\n case 'origin':\n return extractedURL.origin;\n case 'originPath':\n return extractedURL.origin + extractedURL.pathname;\n default:\n return url;\n }\n };\n\n const renderImportedUrlParams = () => {\n let parsedUrl =\n selectionState?.urlSelected?.length > 0\n ? selectionState?.urlSelected\n : websiteFormState?.urlList?.map(list => list.url);\n let crawler = null;\n\n // Uncomment: If you want to include the url inputted in the field when filtering\n // const crawlerParams = selectedTemplateDetails?.crawlerParams\n // ? '^' + parsedUrlFilter()\n // : null;\n\n const verifiedURLList = selectionState?.urlSelected?.map(url =>\n verifyQueryParams(url)\n );\n const scrappedUrl = verifiedURLList\n ?.map(url => '^' + url)\n ?.filter(urlList => urlList !== null);\n\n const getters = {\n method: websiteFormState?.targetElement ? 'selector' : 'default',\n expression: websiteFormState?.targetElement?.final,\n };\n\n if (websiteFormState?.selectedTemplate === 'pagination') {\n const generatedURLs = handleGeneratePaginatedUrl();\n parsedUrl = generatedURLs?.map((url, key) => {\n return {\n key,\n url,\n };\n });\n }\n\n if (selectedTemplateDetails?.crawlerParams === null) {\n setModalBtnLoading(true);\n }\n\n crawler =\n selectedTemplateDetails?.crawlerParams === null\n ? null\n : {\n filters: scrappedUrl.length > 0 ? scrappedUrl : null,\n depth: 1,\n selector: websiteFormState?.targetElement\n ? websiteFormState?.targetElement?.final + ' a[href]'\n : null,\n };\n\n if (!crawler?.selector) {\n delete crawler?.selector;\n }\n\n if (!getters.expression) {\n delete getters.expression;\n }\n\n return parsedUrl?.map(urlDetails => {\n const params = {\n goto: {\n url: urlDetails,\n wait_until: websiteFormState?.selectedUploadingMethod,\n timeout: timeoutInSecond * 1000,\n },\n getters: [getters],\n crawler,\n };\n\n if (!params.crawler || selectedTemplateDetails?.value !== 'traversing') {\n delete params.crawler;\n } else if (!params.crawler?.filters) {\n delete params.crawler.filters;\n } else if (!params.crawler?.webSocketChannel) {\n delete params.crawler?.webSocketChannel;\n }\n\n if (!params.method) {\n delete params.method;\n delete params.targetElement;\n }\n\n return params;\n });\n };\n\n const syncBot = async (newBot, filesResponse) => {\n setActionPercentage(Math.round((3 / 4) * 100));\n setActiveActionLabel('Syncing Bot...');\n\n const res = await apiService.syncBot(sentinel, newBot.jid, token);\n if (!res.data.success) {\n throw new Error(GET_DATA_ERROR);\n }\n\n createIntegration(newBot, filesResponse);\n };\n\n const handleStopScrapping = async () => {\n try {\n const response = await apiService.stopScrapping(\n webSocket?.triggerID,\n token,\n newBotCreated?.jid,\n sentinel\n );\n\n if (response?.data?.success) {\n dispatch({\n type: WS_STOP_SCRAPER,\n });\n message.error(`Fetching stopped.`);\n }\n } catch (error) {\n setModalBtnLoading(false);\n return message.error(\n error.message || `Something went wrong. Stop fetching failed.`\n );\n }\n };\n\n const handleAddFile = async newBot => {\n let pages;\n\n try {\n dispatch({\n type: WS_UPDATE_ACTION,\n payload: {\n action: 'add_file',\n },\n });\n\n if (answersAllowed <= 0) {\n return message.error(limitErrorMsg);\n }\n\n if (fileType === 'website') {\n if (selectedTemplateDetails?.crawlerParams === null) {\n setModalBtnLoading(false);\n setCurrentStep(currentStep + 1);\n }\n pages = renderImportedUrlParams();\n }\n const payload = {\n file: fileUploaded,\n ver: version ? 'final' : 'draft',\n fileType: fileType === 'file' ? fileType : 'url',\n pages,\n uploadingMethod: websiteFormState?.selectedUploadingMethod,\n timeoutInSecond,\n webSocketChannel:\n fileType === 'website'\n ? webSocket?.channel\n ? webSocket?.channel\n : null\n : null,\n };\n\n if (!payload.file) {\n delete payload.file;\n } else if (!payload.pages) {\n delete payload.pages;\n }\n\n setActionPercentage(Math.round((2 / 4) * 100));\n setActiveActionLabel(\n fileType === 'website' ? 'Importing website...' : 'Adding File...'\n );\n const response = await apiService.addFile(\n payload,\n token,\n newBot?.jid,\n sentinel\n );\n if (response?.data?.is_queued !== true) {\n const filesResponse = response?.data?.report[0]?.success;\n setTimeout(() => {\n setFileUploaded(null);\n syncBot(newBot, filesResponse);\n }, 2000);\n }\n } catch (error) {\n if (axios.isCancel(error)) {\n return message.error(error.message || 'Operation aborted by the user.');\n } else {\n return message.error(\n error.message || `Something went wrong. File upload failed.`\n );\n }\n }\n };\n\n const renderCrawlerParams = () => {\n const parsedUrl = parsedUrlFilter();\n const extractedURL = new URL(websiteFormState?.urlList[0]?.url);\n const params =\n websiteFormState?.selectedScanningMethod === 'all'\n ? {\n filters: ['^' + parsedUrl],\n depth: 1,\n selector: websiteFormState?.targetElement\n ? websiteFormState?.targetElement.final + ' a[href]'\n : null,\n }\n : {\n filters: ['^' + extractedURL],\n depth: 1,\n selector: websiteFormState?.targetElement\n ? websiteFormState?.targetElement.final + ' a[href]'\n : null,\n };\n\n if (!params.selector) {\n delete params.selector;\n }\n return params;\n };\n\n const handleScrapedUrl = async jid => {\n setModalBtnLoading(true);\n let urlDataSource = [];\n const triggerID = uuid();\n dispatch({\n type: WS_UPDATE_ACTION,\n payload: {\n action: 'scrape',\n triggerID,\n },\n });\n\n setActionPercentage(Math.round((2 / 4) * 100));\n setActiveActionLabel('Fetching...');\n\n try {\n const scrapedParams = {\n url: websiteFormState?.urlList[0]?.url,\n uploadingMethod: websiteFormState?.selectedUploadingMethod,\n timeoutInSecond,\n crawler: renderCrawlerParams(),\n webSocketChannel: webSocket?.channel,\n method: websiteFormState?.targetElement ? 'selector' : null,\n expression: websiteFormState?.targetElement?.final,\n triggerID,\n };\n if (!scrapedParams.crawler) {\n delete scrapedParams.crawler;\n } else if (!scrapedParams.crawler?.filters) {\n delete scrapedParams.crawler?.filters;\n } else if (!scrapedParams.crawler?.webSocketChannel) {\n delete scrapedParams.crawler?.webSocketChannel;\n }\n\n if (!scrapedParams.method) {\n delete scrapedParams.method;\n delete scrapedParams.targetElement;\n }\n\n const response = await apiService.scrappedUrl(\n scrapedParams,\n token,\n jid,\n sentinel\n );\n\n const scannedResponse = response.data?.report[0]?.scanned\n ? extractScannedObject(response.data?.report[0]?.scanned)\n : [];\n\n if (scannedResponse?.length > 1) {\n dispatch({\n type: UPDATE_WS_SCANNED_DATA_SOURCE,\n payload: [\n ...extractWebsiteScanList(scannedResponse),\n {\n key: urlDataSource.length,\n url: websiteFormState?.urlList[0]?.url,\n },\n ],\n });\n }\n\n setCurrentStep(currentStep + 1);\n setModalBtnLoading(false);\n } catch (error) {\n if (axios.isCancel(error)) {\n return message.error(error.message || 'Operation aborted by the user.');\n } else {\n setModalBtnLoading(false);\n return message.error(\n error.message || `Something went wrong. File upload failed.`\n );\n }\n }\n };\n\n const handleUploadFile = file => {\n setFileUploaded(file);\n return false;\n };\n\n const handleRemoveFile = () => {\n setImportErrorMsg(null);\n setImportWarnMsg(null);\n setParsedFileAnswers([]);\n };\n\n const resetStates = () => {\n setModalBtnLoading(false);\n setPages(null);\n setWebsiteFormState(DEFAULT_WEBSITE_FORM_STATE_VALUE);\n\n dispatch({\n type: RESET_WEBSITE_SELECTED_PAGES,\n });\n };\n\n const resetModal = useCallback(() => {\n setImportErrorMsg(null);\n setImportWarnMsg(null);\n setFinalAnswerWarnMsg(null);\n setParsedFileAnswers([]);\n }, [setParsedFileAnswers]);\n\n const handleCloseUploadModal = useCallback(() => {\n onClose();\n }, [onClose, resetModal]);\n\n const handleCancelImport = useCallback(() => {\n controller.abort();\n resetStates();\n dispatch({\n type: RESET_WS_SCANNER,\n });\n return handleCloseUploadModal(true);\n }, [controller, handleCloseUploadModal]);\n\n const handleBackward = () => {\n setCurrentStep(0);\n resetStates();\n dispatch({\n type: RESET_WS_SCANNER,\n });\n };\n\n const parsePageRange = pageRange => {\n const [start, end] = pageRange?.split('-').map(Number);\n return Array.from({ length: end - start + 1 }, (_, i) =>\n websiteFormState?.urlList[0]?.url.replace('{pages}', start + i)\n );\n };\n\n const handleGeneratePaginatedUrl = () => {\n if (websiteFormState?.urlList[0]?.url) {\n const pagesList = pages?.split(',').map(part => part.trim());\n let renderPageList = [];\n for (const page of pagesList) {\n if (page.includes('-')) {\n renderPageList = renderPageList.concat(parsePageRange(page));\n } else {\n renderPageList.push(\n websiteFormState?.urlList[0]?.url?.replace('{pages}', page)\n );\n }\n }\n\n // setPaginatedURLList(renderPageList);\n return renderPageList;\n }\n };\n\n const handleCloseElementSelecting = () => {\n handelWebsiteFormStateChanges(false, 'isTargetElementOpen');\n };\n\n const handleSaveElement = () => {\n setWebsiteFormState(prevState => {\n return {\n ...prevState,\n isTargetElementOpen: false,\n targetElement: {\n ...prevState.targetElement,\n final: prevState?.targetElement?.draft,\n },\n };\n });\n };\n\n const handleSubmit = async () => {\n setActiveActionLabel('Adding Bot...');\n setActionPercentage(Math.round((1 / 4) * 100));\n const botDetails = {\n name: `${\n faker.word.sample().charAt(0).toUpperCase() +\n faker.word.sample().slice(1)\n } Bot`,\n desc: 'This bot is automatically created.',\n mode: 'openai',\n };\n const newBot = await createBot(sentinel, graph, botDetails, token);\n fileType === 'file'\n ? handleAddFile(newBot)\n : websiteFormState?.isTargetElementOpen === true\n ? handleSaveElement()\n : currentStep === 0\n ? selectedTemplateDetails?.crawlerParams === null\n ? handleAddFile(newBot)\n : handleScrapedUrl(newBot.jid)\n : handleAddFile(newBot);\n\n setNewBotCreated(newBot);\n };\n\n const azureUpload = async (\n integrationData,\n integrationID,\n integrationName,\n jid\n ) => {\n const folderPath = stripUUID(jid);\n const integrationConfigURL = `${folderPath}/${stripUUID(\n integrationID\n )}/config.json`;\n const configFileType = 'application/json';\n const configBlob = new Blob(\n [\n JSON.stringify({\n ...integrationData,\n integration: {\n name: integrationName,\n id: integrationID,\n },\n }),\n ],\n {\n type: configFileType,\n }\n );\n const blobOptions = {\n blobHTTPHeaders: {\n blobContentType: configBlob.type,\n blobCacheControl: 'public, max-age=0',\n },\n };\n const blobServiceClient = new BlobServiceClient(\n `${AZURE_STORAGE_URI}?${SAS_TOKEN}`\n );\n const blockConfigBlob = blobServiceClient\n .getContainerClient(INTEGRATIONS_CONTAINER_NAME)\n .getBlockBlobClient(integrationConfigURL);\n\n // finally uploading the config file\n await blockConfigBlob.upload(configBlob, configBlob.size, blobOptions);\n };\n\n const spawnCreate = async () => {\n try {\n let publicApiRes = null;\n let publicInfoRes = null;\n\n if (!pubAskedQuestion) {\n publicApiRes = await apiService.spawnCreate('zsb_public_api', token);\n }\n\n if (!pubInfo) {\n publicInfoRes = await apiService.spawnCreate('zsb_public_info', token);\n }\n const pkRes = await apiService.getPublicKey(token);\n const payload = {\n publicKey: pkRes.data.anyone,\n pubAskedQuestion: publicApiRes.data.jid,\n pubInfo: publicInfoRes.data.jid,\n };\n dispatch({\n type: SPAWN_CREATE,\n payload,\n });\n } catch (error) {\n throw new Error('Something went wrong while creating the integration');\n }\n };\n\n const createIntegration = async (newBot, filesResponse) => {\n setActiveActionLabel('Creating Integration...');\n const res = await apiService.createIntegration(\n sentinel,\n withPrefixUUID(newBot.jid || pathname),\n defaultIntegrationPayload,\n 'wordpress',\n token\n );\n\n if (!pubAskedQuestion || !pubInfo) {\n try {\n await spawnCreate();\n } catch (error) {\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n }\n\n await azureUpload(\n res.data.report[0].context.settingsobj,\n res.data.report[0].jid,\n res.data.report[0].context.identifier,\n newBot.jid\n );\n const payload = {\n identifier: res.data.report[0].context.identifier,\n type: res.data.report[0].context.int_type,\n path: res.data.report[0].context.path,\n id: res.data.report[0].jid,\n settings: res.data.report[0].context.settingsobj,\n };\n\n localStorage.setItem(\n INTEGRATION_DATA,\n JSON.stringify({\n ...defaultIntegrationPayload,\n ...payload,\n settings: {\n ...payload.settings,\n botTitle: integrationName,\n componentTitle: integrationName,\n },\n })\n );\n setActionPercentage(Math.round((4 / 4) * 100));\n setActiveActionLabel(\n 'Account successfully setup. Redirecting to integration page...'\n );\n renderIntegrationPage(newBot, payload, filesResponse);\n };\n\n const renderIntegrationPage = async (newBot, integration, file) => {\n const strippedJID = stripUUID(newBot.jid);\n const botInformation = await fetchBotDetails(sentinel, newBot.jid, token);\n await dispatch({\n type: WORD_PRESS_SUCCESS,\n payload: { integration, file, botInformation },\n });\n\n history.push(\n `${ROUTES.BOT_DETAILS}/${stripUUID(strippedJID)}${\n ROUTES.BOT_INTEGRATION\n }?platform=wordpress`\n );\n\n setFileUploaded(null);\n setCurrentStep(0);\n setTimeoutInSecond(60);\n resetStates();\n handleCloseUploadModal(true, true);\n };\n\n const handleBackToPagesList = () => {\n handelWebsiteFormStateChanges(\n INITIAL_SELECTED_PAGE_LIST,\n 'selectedPageList'\n );\n };\n\n const getSelectedRowKeysFromUrls = (urls, data) => {\n return data?.filter(item => urls.includes(item.url)).map(item => item.key);\n };\n\n const getSelectedRowKeysFromCategories = (categories, data) => {\n return data\n ?.filter(item => categories.includes(item.name))\n .map(item => item.key);\n };\n\n useEffect(() => {\n const urlSelectedRowKeys = getSelectedRowKeysFromUrls(\n selectionState.urlSelected,\n webSocket?.scannedTableDataSource\n );\n const categorySelectedRowKeys = getSelectedRowKeysFromCategories(\n selectionState.categorySelected,\n webSocket?.categorizedTableDataSource\n );\n\n dispatch({\n type: SET_WEBSITE_SELECTED_PAGES,\n payload: {\n urlSelectedRowKeys,\n categorySelectedRowKeys,\n },\n });\n }, []);\n\n useEffect(() => {\n if (!webSocket?.sending && webSocket?.scan?.length > 0) {\n setActionPercentage(Math.round((2 / 4) * 100));\n setActiveActionLabel('Verifying...');\n const scannedList = extractWebsiteScanList(webSocket.scan);\n const extractedUrls = categorizedWebsitePages(scannedList);\n const websiteSelectedPages = {\n urlSelectedRowKeys: scannedList?.map(row => {\n return row.key;\n }),\n urlSelected: scannedList?.map(row => {\n return row.url;\n }),\n categorySelected: extractedUrls?.map(row => {\n return row.name;\n }),\n categorySelectedRowKeys: extractedUrls?.map(row => {\n return row.key;\n }),\n };\n\n dispatch({\n type: UPDATE_WS_SCANNED_DATA_SOURCE,\n payload: { scannedList, websiteSelectedPages },\n });\n }\n }, [webSocket?.sending, webSocket?.scan]);\n\n useEffect(() => {\n if (webSocket?.fileAdded?.length > 0) {\n setFileUploaded(null);\n syncBot(newBotCreated, webSocket?.websiteFile[0]);\n }\n }, [webSocket?.fileAdded]);\n\n return {\n importErrorMsg,\n importWarnMsg,\n finalAnswerWarnMsg,\n modalBtnLoading,\n handleCancelImport,\n handleAddFile,\n handleUploadFile,\n handleRemoveFile,\n currentStep,\n handleBackward,\n crawlerParams,\n setCrawlerParams,\n handleCloseElementSelecting,\n fileType,\n setFileType,\n handleSubmit,\n actionPercentage,\n activeActionLabel,\n setModalBtnLoading,\n handelWebsiteFormStateChanges,\n setWebsiteFormState,\n websiteFormState,\n setVersion,\n version,\n webSocket,\n handleStopScrapping,\n handleBackToPagesList,\n newBotCreated,\n };\n};\n\nexport default useWordPressIntegrationModal;\n","import { Alert } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledAntUploadContent = styled.p`\n display: flex;\n flex-direction: row;\n align-items: center;\n font-size: 14px;\n row-gap: 16px;\n margin-top: -10px;\n height: 200px;\n justify-content: center;\n & .anticon {\n font-size: 30px;\n }\n`;\n\nexport const StyledUploadTip = styled.div`\n font-size: 12px;\n margin-bottom: 5px;\n color: ${cssVariables.primaryBlue};\n\n & .ant-typography pre {\n margin-top: 5px;\n }\n`;\n\nexport const StyledModalErrorAlert = styled(Alert)`\n margin: 20px 0;\n`;\n\nexport const StyledUploadTipTitle = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nexport const ActionContainer = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 16px 0;\n color: ${props => (props?.error ? `red` : `rgba(0, 0, 0, 0.85)`)};\n`;\n\nexport const StyledBtnAdvanceSettings = styled.button`\n display: flex;\n border: none;\n height: 38px;\n background: #ffff;\n color: #1667e7;\n border-radius: 1px;\n cursor: pointer;\n margin-top: 15px;\n float: right;\n line-height: 32px;\n\n &:hover {\n background: #1667e726;\n }\n`;\n\nexport const ActionButtons = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const ActiveActionLabel = styled.h3`\n color: #167be7 !important;\n`;\n\nexport const SelectOptionTitle = styled.div`\n font-weight: ${cssVariables.font.bold};\n`;\n","import {\n Avatar,\n Col,\n Form,\n Input,\n InputNumber,\n List,\n Popconfirm,\n Row,\n Select,\n Skeleton,\n Space,\n Spin,\n Table,\n message,\n} from 'antd';\nimport {\n ActiveActionLabel,\n SelectOptionTitle,\n StyledBtnAdvanceSettings,\n} from './ImportUrlForm.style';\nimport {\n FILTER_METHOD_OPTIONS,\n FILTER_METHOD_TOOLTIP,\n INITIAL_TARGET_ELEMENT,\n SCANNING_METHOD_OPTIONS,\n SCAN_OPTIONS,\n SPINNER_LABEL,\n UPLOAD_METHOD_OPTIONS,\n VALID_DOMAIN_LIST,\n} from 'constants/answerbank/website';\nimport { Context } from 'store/store';\nimport { useCallback, useContext, useMemo, useState } from 'react';\nimport { apiService } from 'services/api.service';\nimport { DEFAULT_SCRAPE_PREVIEW_EXPRESSION } from 'constants/bot';\nimport {\n LinkOutlined,\n LoadingOutlined,\n MinusCircleOutlined,\n PlusCircleOutlined,\n QuestionCircleOutlined,\n} from '@ant-design/icons';\nimport { orderBy } from 'lodash';\nimport TextArea from 'components/TextArea';\nimport Button from 'components/Button';\nimport {\n handleChangeRowSelectionWebsiteCategoryTable,\n handleChangeRowSelectionWebsitePagesTable,\n renderWebsiteCategoryTableColumn,\n renderWebsitePagesTableColumn,\n} from 'store/reducers/helpers/bot/answers';\nimport { websiteSelectedPageselector } from 'selectors/bot/answers';\nimport useSelector from 'store/useSelector';\n\nconst useImportUrlForm = ({\n setModalBtnLoading,\n crawlerParams,\n setCrawlerParams,\n handelWebsiteFormStateChanges,\n websiteFormState,\n setWebsiteFormState,\n disableUrlFormFields,\n isWordPressModal,\n}) => {\n const selectionState = useSelector(websiteSelectedPageselector);\n const [state, dispatch] = useContext(Context);\n const {\n bot: { jid },\n sentinel,\n token,\n webSocket,\n } = state;\n\n const [pages, setPages] = useState(null);\n const [paginateURLList, setPaginatedURLList] = useState([]);\n const [scrapePreviewSrc, setScrapePreviewSrc] = useState(null);\n const [timeoutInSecond, setTimeoutInSecond] = useState(60);\n const [showAdvanceSettings, setShowAdvanceSettings] = useState(false);\n\n const allUrlIsValid = useMemo(() => {\n try {\n return websiteFormState?.urlList?.map(list => {\n const extractedUrl = VALID_DOMAIN_LIST?.find(domain =>\n list.url.includes(domain)\n )\n ? list.url\n : VALID_DOMAIN_LIST[0] + list.url;\n new URL(extractedUrl);\n return true;\n });\n } catch (error) {\n return false;\n }\n }, [websiteFormState?.urlList]);\n\n const scanNotExist = useMemo(() => {\n if (webSocket?.scan) {\n return (\n Object.keys(webSocket?.scan)?.length === 0 &&\n Object.keys(webSocket?.scan)\n );\n }\n }, [webSocket?.scan]);\n\n const selectedTemplateDetails = useMemo(\n () =>\n SCAN_OPTIONS?.find(\n option => option.value === websiteFormState?.selectedTemplate\n ),\n [websiteFormState?.selectedTemplate]\n );\n\n const urlIsValid = useCallback(\n url => {\n try {\n new URL(url);\n return true;\n } catch (error) {\n return false;\n }\n },\n [websiteFormState?.urlList]\n );\n\n const urlSelectedCount = urlDetails =>\n urlDetails?.urlList?.filter(url =>\n selectionState?.urlSelected?.includes(url.url)\n )?.length;\n\n const handleOpenPages = page => {\n handelWebsiteFormStateChanges(\n {\n category: page.name,\n urls: webSocket?.scannedTableDataSource?.filter(scanned =>\n page.urlList.some(page => page.url === scanned.url)\n ),\n },\n 'selectedPageList'\n );\n };\n\n const columns = useMemo(\n () =>\n !websiteFormState?.selectedPageList?.urls?.length\n ? renderWebsiteCategoryTableColumn(handleOpenPages, urlSelectedCount)\n : renderWebsitePagesTableColumn,\n [websiteFormState?.selectedPageList, selectionState]\n );\n\n const domainNameRenderedToolTip = useMemo(() => {\n if (selectedTemplateDetails?.displayScanMethodOptions) {\n if (\n urlIsValid(websiteFormState?.urlList[0].url) &&\n websiteFormState?.urlList[0].url\n ) {\n const inputtedUrl = new URL(websiteFormState?.urlList[0]?.url);\n return inputtedUrl.origin;\n }\n }\n return null;\n }, [websiteFormState?.urlList]);\n\n const rowSelection = useMemo(\n () =>\n !websiteFormState?.selectedPageList?.urls?.length\n ? handleChangeRowSelectionWebsiteCategoryTable(selectionState, dispatch)\n : handleChangeRowSelectionWebsitePagesTable(\n webSocket?.categorizedTableDataSource,\n selectionState,\n dispatch\n ),\n [\n websiteFormState?.selectedPageList,\n selectionState,\n webSocket?.categorizedTableDataSource,\n ]\n );\n\n const generateExampleUrl = scanOption => {\n try {\n const extractedUrl = VALID_DOMAIN_LIST?.find(domain =>\n websiteFormState?.urlList[0]?.url.includes(domain)\n )\n ? websiteFormState?.urlList[0]?.url\n : VALID_DOMAIN_LIST[0] + websiteFormState?.urlList[0]?.url;\n const url = new URL(extractedUrl);\n switch (scanOption) {\n case 'fullWebsite':\n return 'e.g. ' + url.origin;\n\n case 'nestedPages':\n return 'e.g. ' + url.origin + '/about-us/';\n\n case 'single':\n return 'e.g. ' + url.origin + '/about-us.html';\n\n default:\n return '';\n }\n } catch {\n return false;\n }\n };\n\n const handleInputURLChange = (value, key) => {\n const currentUrlList = websiteFormState?.urlList.filter(\n details => details.key !== key\n );\n const existingKey = websiteFormState?.urlList.find(\n details => details.key === key\n );\n const addedUrl = existingKey\n ? { key, url: value }\n : {\n key: websiteFormState?.urlList.length,\n url: value,\n };\n setWebsiteFormState(prevState => {\n return {\n ...prevState,\n urlList: orderBy([...currentUrlList, addedUrl], 'key', 'asc'),\n targetElement: INITIAL_TARGET_ELEMENT,\n };\n });\n };\n\n const handleAddUrl = () => {\n handelWebsiteFormStateChanges(\n currentUrl => [\n ...currentUrl,\n { key: websiteFormState?.urlList?.length, url: null },\n ],\n 'urlList'\n );\n };\n\n const handleRemoveUrl = key => {\n handelWebsiteFormStateChanges(\n currentUrl => currentUrl.filter(url => url.key !== key),\n 'urlList'\n );\n };\n\n const parsePageRange = pageRange => {\n const [start, end] = pageRange?.split('-').map(Number);\n return Array.from({ length: end - start + 1 }, (_, i) =>\n websiteFormState?.urlList[0]?.url.replace('{pages}', start + i)\n );\n };\n\n const handleGeneratePaginatedUrl = () => {\n if (websiteFormState?.urlList[0]?.url) {\n const pagesList = pages?.split(',').map(part => part.trim());\n let renderPageList = [];\n for (const page of pagesList) {\n if (page.includes('-')) {\n renderPageList = renderPageList.concat(parsePageRange(page));\n } else {\n renderPageList.push(\n websiteFormState?.urlList[0]?.url?.replace('{pages}', page)\n );\n }\n }\n\n setPaginatedURLList(renderPageList);\n return renderPageList;\n }\n };\n\n const handleTemplateChanges = event => {\n // resetStates();\n setCrawlerParams(selectedTemplateDetails?.crawlerParams);\n handelWebsiteFormStateChanges(event, 'selectedTemplate');\n };\n\n const filterConditionToolTipRenderedToolTip = useMemo(() => {\n if (selectedTemplateDetails?.displayScanMethodOptions) {\n if (\n urlIsValid(websiteFormState?.urlList[0].url) &&\n websiteFormState?.urlList[0].url\n ) {\n const inputtedUrl = new URL(websiteFormState?.urlList[0].url);\n switch (crawlerParams) {\n case 'start':\n return websiteFormState?.urlList[0].url;\n\n case 'originPath':\n return inputtedUrl.origin + inputtedUrl.pathname;\n\n case 'sameDomainOnly':\n return inputtedUrl.origin;\n\n default:\n return null;\n }\n }\n }\n return null;\n }, [websiteFormState?.urlList, crawlerParams]);\n\n const handleSelectElement = async () => {\n try {\n setModalBtnLoading(true);\n handelWebsiteFormStateChanges(true, 'isTargetElementOpen');\n const pages = {\n goto: {\n url: websiteFormState?.urlList[0].url,\n wait_until: websiteFormState?.selectedUploadingMethod,\n timeout: timeoutInSecond * 1000,\n post_scripts: [\n {\n method: 'evaluate',\n expression: DEFAULT_SCRAPE_PREVIEW_EXPRESSION,\n },\n ],\n },\n };\n\n const response = await apiService.scrapePreview(\n pages,\n token,\n jid,\n sentinel\n );\n const blob = new Blob([response?.data?.report[0]], { type: 'text/html' });\n const previewSrc = URL.createObjectURL(blob);\n setScrapePreviewSrc(previewSrc);\n setModalBtnLoading(false);\n } catch (error) {\n setModalBtnLoading(false);\n handelWebsiteFormStateChanges(false, 'isTargetElementOpen');\n message.error(\n `Issue occurred while trying to load ${websiteFormState?.urlList[0].url}. Please contact Admin support.`\n );\n }\n };\n\n const ScrapingProgressList = () => (\n \n {webSocket?.categorizedUrls?.length > 0 && (\n (\n \n \n ) : (\n \n )\n }\n />\n }\n description={\n \n {category.urlList?.length} Page\n {category.urlList?.length > 1 ? 's' : ''}\n \n }\n />\n \n )}\n />\n )}\n \n );\n\n const uploadURLSteps = [\n {\n title: 'Source',\n content: (\n

    \n \n \n {websiteFormState?.urlList?.map(urlDetails => (\n \n ),\n }}\n >\n \n handleInputURLChange(event.target.value, urlDetails.key)\n }\n style={{\n width:\n websiteFormState?.selectedTemplate === 'multiple'\n ? urlDetails.key > 0\n ? '80%'\n : '90%'\n : '100%',\n }}\n value={urlDetails.url}\n disabled={disableUrlFormFields}\n />\n\n {websiteFormState?.selectedTemplate === 'multiple' &&\n urlDetails.key === websiteFormState?.urlList.length - 1 && (\n }\n onClick={handleAddUrl}\n />\n )}\n\n {websiteFormState?.selectedTemplate === 'multiple' &&\n urlDetails.key === websiteFormState?.urlList.length - 1 &&\n urlDetails.key > 0 && (\n }\n onClick={() => handleRemoveUrl(urlDetails.key)}\n />\n )}\n \n ))}\n \n \n {allUrlIsValid && (\n \n \n {SCAN_OPTIONS?.map(option => (\n \n {option.title}\n
    {option.description}
    \n
    {generateExampleUrl(option.value)}
    \n
    \n ))}\n \n {websiteFormState?.selectedTemplate === 'pagination' &&\n websiteFormState?.urlList[0]?.url && (\n \n )}\n
    \n )}\n \n
    \n\n {websiteFormState?.selectedTemplate === 'pagination' && (\n <>\n ,\n }}\n >\n setPages(evt.target.value)}\n disabled={webSocket?.activeAction === 'add_file'}\n />\n \n {paginateURLList.length > 0 && (\n \n URL}\n bordered\n dataSource={paginateURLList}\n renderItem={url => {url}}\n />\n \n )}\n \n )}\n {allUrlIsValid && (\n <>\n {selectedTemplateDetails?.showTargetElementOptions && (\n ,\n }}\n >\n \n \n handelWebsiteFormStateChanges(\n event?.target?.value,\n 'targetElement'\n )\n }\n value={websiteFormState?.targetElement?.final}\n autoSize\n noPaddingTop={true}\n disableSpan={true}\n disabled={disableUrlFormFields}\n />\n \n \n \n \n \n )}\n\n \n setShowAdvanceSettings(!showAdvanceSettings)}\n type=\"button\"\n disabled={disableUrlFormFields}\n >\n {showAdvanceSettings === false\n ? 'Show advanced settings'\n : 'Hide advanced settings'}\n \n \n\n {showAdvanceSettings && (\n <>\n {selectedTemplateDetails?.displayScanMethodOptions && (\n \n \n \n ),\n }}\n >\n \n handelWebsiteFormStateChanges(\n evt,\n 'selectedScanningMethod'\n )\n }\n defaultValue={\n websiteFormState?.selectedScanningMethod\n }\n width=\"100%\"\n >\n {SCANNING_METHOD_OPTIONS?.map(\n (scanningMethod, idx) => (\n \n {scanningMethod.label}\n \n )\n )}\n \n \n \n {websiteFormState?.selectedScanningMethod === 'all' && (\n \n ,\n }}\n >\n setCrawlerParams(evt)}\n defaultValue={crawlerParams}\n width=\"100%\"\n >\n {FILTER_METHOD_OPTIONS?.filter(\n method => method.value !== 'exactString'\n )?.map((filterMethod, idx) => (\n \n {filterMethod.label}\n \n ))}\n \n \n \n )}\n \n )}\n\n \n \n handelWebsiteFormStateChanges(\n event,\n 'selectedUploadingMethod'\n )\n }\n defaultValue={websiteFormState?.selectedUploadingMethod}\n >\n {UPLOAD_METHOD_OPTIONS?.map(option => (\n \n {option.label}\n
    {option.description}
    \n
    {option.example}
    \n
    \n ))}\n \n
    \n \n setTimeoutInSecond(value)}\n />{' '}\n Second(s)\n \n \n )}\n \n )}\n \n ),\n },\n {\n title: 'Verify Website',\n content: (\n <>\n {!isWordPressModal && (\n \n {webSocket?.activeAction === 'add_file'\n ? 'Importing URL...'\n : !webSocket?.scannedTableDataSource\n ? 'Fetching...'\n : null}\n \n )}\n {webSocket?.scannedTableDataSource?.length > 0 ? (\n \n (\n

    \n \n {websiteFormState?.selectedPageList?.category\n ?.charAt(0)\n .toUpperCase() +\n websiteFormState?.selectedPageList?.category?.slice(\n 1\n ) || ''}{' '}\n \n

    \n )}\n />\n
    \n ) : (\n \n )}\n \n ),\n },\n ];\n\n const handleTargetElementChanges = event => {\n setWebsiteFormState(currentElement => {\n return {\n ...currentElement,\n targetElement: {\n ...currentElement.targetElement,\n draft: event?.target?.value,\n },\n };\n });\n const iframe = document.getElementById('iframe');\n if (iframe) {\n const iframeDocument =\n iframe?.contentDocument || iframe?.contentWindow?.document;\n const complexSelector = event?.target?.value;\n const nodeList = iframeDocument?.querySelectorAll(complexSelector);\n const nodesWithAttribute =\n iframeDocument?.querySelectorAll('[scraped-selected]');\n nodesWithAttribute.forEach(function (element) {\n element.removeAttribute('scraped-selected');\n });\n nodeList.forEach(function (element) {\n element.setAttribute('scraped-selected', '');\n });\n }\n };\n\n return {\n uploadURLSteps,\n handleTargetElementChanges,\n scrapePreviewSrc,\n };\n};\n\nexport default useImportUrlForm;\n","import PropTypes from 'prop-types';\nimport useImportUrlForm from './hooks';\nimport { QuestionCircleOutlined } from '@ant-design/icons';\nimport { Form, Steps } from 'antd';\nimport TextArea from 'components/TextArea';\n\nconst { Step } = Steps;\n\nconst ImportUrlForm = ({\n setModalBtnLoading,\n currentStep,\n crawlerParams,\n setCrawlerParams,\n handelWebsiteFormStateChanges,\n websiteFormState,\n setWebsiteFormState,\n disableUrlFormFields,\n isWordPressModal,\n}) => {\n const { uploadURLSteps, handleTargetElementChanges, scrapePreviewSrc } =\n useImportUrlForm({\n setModalBtnLoading,\n crawlerParams,\n setCrawlerParams,\n websiteFormState,\n handelWebsiteFormStateChanges,\n setWebsiteFormState,\n disableUrlFormFields,\n isWordPressModal,\n });\n return (\n <>\n {websiteFormState?.isTargetElementOpen === false ? (\n <>\n \n {uploadURLSteps.map((step, idx) => (\n \n ))}\n \n
    \n {uploadURLSteps[currentStep]?.content}\n
    \n \n ) : (\n <>\n
    \n ,\n }}\n >\n \n \n \n\n {scrapePreviewSrc && (\n \n )}\n \n )}\n \n );\n};\n\nImportUrlForm.prototypes = {\n setModalBtnLoading: PropTypes.func,\n setUrlList: PropTypes.func,\n currentStep: PropTypes.number,\n urlList: PropTypes.array,\n crawlerParams: PropTypes.string,\n setCrawlerParams: PropTypes.func,\n handelWebsiteFormStateChanges: PropTypes.func,\n websiteFormState: PropTypes.obj,\n setWebsiteFormState: PropTypes.func,\n disableUrlFormFields: PropTypes.bool,\n isWordPressModal: PropTypes.bool,\n};\n\nexport default ImportUrlForm;\n","import React, { useMemo, useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport { ImportOutlined } from '@ant-design/icons';\nimport { Context } from 'store/store';\nimport { Progress, Radio, Spin, Steps, Switch } from 'antd';\nimport Button from 'components/Button';\nimport Modal from 'components/Modals/GenericModal';\nimport ImportAlertMessage from './ImportAlertMessage';\nimport {\n StyledAntUploadContent,\n ActiveActionLabel,\n StyledWordPressHeaderContainer,\n} from './WordPressIntegrationModal.style';\nimport useWordPressIntegrationModal from './hooks';\nimport Dragger from 'antd/lib/upload/Dragger';\nimport {\n SPINNER_LABEL,\n VALID_FILE_FORMATS,\n} from 'constants/answerbank/website';\nimport ImportUrlForm from 'components/ImportUrlForm';\nimport { StyledFlexRowLeft } from 'styles/GenericStyledComponents';\nconst { Step } = Steps;\n\nconst WordPressIntegrationModal = ({\n onClose,\n visibility,\n notificationAPI,\n parsedFileAnswers,\n setParsedFileAnswers,\n isImportBtnDisabled,\n}) => {\n const {\n importErrorMsg,\n importWarnMsg,\n finalAnswerWarnMsg,\n modalBtnLoading,\n handleCancelImport,\n handleAddFile,\n handleUploadFile,\n handleRemoveFile,\n currentStep,\n handleBackward,\n crawlerParams,\n setCrawlerParams,\n handleCloseElementSelecting,\n fileType,\n setFileType,\n handleSubmit,\n actionPercentage,\n activeActionLabel,\n setModalBtnLoading,\n handelWebsiteFormStateChanges,\n setWebsiteFormState,\n websiteFormState,\n setVersion,\n version,\n handleStopScrapping,\n webSocket,\n handleBackToPagesList,\n newBotCreated,\n } = useWordPressIntegrationModal({\n onClose,\n visibility,\n notificationAPI,\n parsedFileAnswers,\n setParsedFileAnswers,\n isImportBtnDisabled,\n });\n\n const displayStopButton = useMemo(\n () =>\n !webSocket?.scannedTableDataSource &&\n webSocket?.activeAction === 'scrape',\n [webSocket?.activeAction, webSocket?.scannedTableDataSource]\n );\n\n const disableUrlFormFields = useMemo(\n () => webSocket?.activeAction === 'add_file' || actionPercentage > 0,\n [webSocket?.activeAction, actionPercentage]\n );\n\n const [state] = useContext(Context);\n const { user } = state;\n\n const Header = () => (\n \n

    Hello {user?.name || 'User'},

    \n

    Welcome to ZeroShotBot!

    \n

    \n ZeroShotBot is a no-code, no-train bot platform. We can create a bot and\n create a Wordpress integration for you, you just need to upload a file\n or import a url below.\n

    {' '}\n

    {fileType === 'file' ? 'Select a file' : 'Import Website'}

    \n
    \n );\n\n const renderFooter = (\n \n {websiteFormState?.isTargetElementOpen === false && (\n \n setVersion(value ? 'final' : 'draft')}\n disabled={modalBtnLoading || actionPercentage > 0}\n />\n \n )}\n \n {displayStopButton ? (\n \n \n );\n\n notificationAPI.open({\n message: `Verify answers is running in the background.`,\n btn,\n key,\n placement: 'bottomLeft',\n duration: 500,\n });\n }, [\n notificationAPI,\n setCurrentStep,\n setIsImportBtnDisabled,\n setNotificationKey,\n setShowUploadModal,\n ]);\n\n const runVerifyAnswersInBackground = useCallback(() => {\n handleRunVerifyAnswersInBackground();\n openNotification();\n }, [handleRunVerifyAnswersInBackground, openNotification]);\n\n useEffect(() => {\n if (!visibility && parsedFileAnswers.length) {\n handleCancelImport();\n }\n }, [handleCancelImport, parsedFileAnswers, visibility]);\n\n const isUrl = string => {\n try {\n return Boolean(new URL(string));\n } catch (e) {\n return false;\n }\n };\n\n const generateAanswersViaGpt = async () => {\n setModalBtnLoading(true);\n try {\n const res = await apiService.generateAanswersViaOpenAI(\n sentinel,\n jid,\n token,\n textGenerateObject\n );\n\n if (res?.data?.success) {\n let answer = res?.data?.report[1][0];\n let textGenerateSource = res?.data?.report[0];\n setTextGenerateSource(textGenerateSource);\n answer = answer.replace(/(\\r\\n|\\n|\\r)/gm, '');\n setCurrentStep(currentStep + 1);\n const modifiedAnswer = modifyParsedAnswer([answer]);\n setParsedFileAnswers(modifiedAnswer);\n setIsImportBtnDisabled(false);\n setModalBtnLoading(false);\n message.success('Source successfully generated answer.');\n } else {\n message.error(\n 'Something went wrong with your request. Please try again.'\n );\n setModalBtnLoading(false);\n setIsImportBtnDisabled(true);\n }\n } catch (error) {\n setModalBtnLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n const handleSummarizeSource = async () => {\n if (!isUrl(String(ingestionValue)) && ingestSelection === 'url') {\n return message.error('Please enter a URL');\n }\n\n setImportErrorMsg(null);\n setImportWarnMsg(null);\n setModalBtnLoading(true);\n try {\n const res = await apiService.getSummary(\n sentinel,\n jid,\n String(ingestionValue),\n ingestSelection,\n maxSentences || 10,\n token\n );\n\n const summarized = res.data.report[0];\n\n if (answersAllowed < summarized.length) {\n setImportWarnMsg(\n `Maximum number of answers reached. System will only upload ${\n answersAllowed <= 0 ? 0 : answersAllowed\n } answer(s).`\n );\n }\n\n if (summarized.length) {\n const answers = modifyParsedAnswer(summarized);\n setCurrentStep(currentStep + 1);\n message.success('Source successfully summarized');\n handleDuplicateAnswers(answers);\n handleVerifiedAnswers();\n setParsedFileAnswers(answers);\n } else if (\n Array.isArray(summarized) &&\n !summarized.length &&\n answersAllowed\n ) {\n setImportErrorMsg(`No valid answer found from the file.`);\n }\n if (answersAllowed && summarized.length) {\n setIsImportBtnDisabled(false);\n }\n } catch (error) {\n setModalBtnLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n setModalBtnLoading(false);\n };\n\n const handleGenerateFAQ = async () => {\n setModalBtnLoading(true);\n try {\n if (generateFAQObject?.max_answer_count > answersAllowed) {\n generateFAQObject['max_answer_count'] = answersAllowed;\n }\n const res = await apiService.generateFAQViaOpenAi(\n sentinel,\n token,\n generateFAQObject\n );\n\n if (res?.data?.success && res?.data?.report[1]) {\n const parsedAnswerList = JSON.parse(\n res?.data?.report[1]?.content.replace(/(\\r\\n|\\n|\\r)/gm, '')\n );\n const answerList =\n parsedAnswerList?.faqs ||\n parsedAnswerList?.FAQ ||\n parsedAnswerList?.FAQs;\n\n const parsedAnswers = [];\n setFAQList(answerList);\n setGenerateFAQSource(res?.data?.report[0]);\n setCurrentStep(currentStep + 1);\n answerList?.map(answers =>\n parsedAnswers.push({ text: answers.answer, uuid: uuid() })\n );\n setParsedFileAnswers(parsedAnswers);\n setIsImportBtnDisabled(false);\n setModalBtnLoading(false);\n message.success('Source successfully generated answer.');\n } else {\n message.error(\n 'Something went wrong with your request. Please try again.'\n );\n setModalBtnLoading(false);\n }\n } catch (error) {\n setModalBtnLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n const handleUpdateAnswerEditor = val => {\n const updatedAnswers = parsedFileAnswers.map((answer, key) => {\n if (key === val.idx) {\n setSelectedAnswer(val);\n return val;\n }\n return answer;\n });\n return setParsedFileAnswers(updatedAnswers);\n };\n\n const handleRadioChange = val => {\n setIngestSelection(() => val);\n };\n\n const handleSetIngestionValue = text => {\n setIngestionValue(text);\n };\n\n const handleClearData = () => {\n notificationAPI.close(notificationKey);\n setVerifiedAnswers([]);\n setCurrentStep(currentStep + -1);\n setImportErrorMsg(null);\n setImportWarnMsg(null);\n setFinalAnswerWarnMsg(null);\n setSimilarAnswerWarnMsg(null);\n setSimilarAnswers([]);\n setSummaryCount({ final: 0, draft: 0 });\n };\n\n const handleCloseConfirmationModal = () => {\n handleClearData();\n setCurrentStep(0);\n setOpenConfirmationModal(false);\n return onClose();\n };\n\n const handleFindFAQquestion = answer => {\n return faqList.find(faq => faq.answer === answer)?.question;\n };\n return {\n answersAllowed,\n answersFile,\n currentStep,\n fileType,\n handleRemoveAnswer,\n importErrorMsg,\n importWarnMsg,\n ingestSelection,\n ingestionValue,\n isImportBtnDisabled,\n isUploadSuccess,\n limitReached,\n maxSentences,\n modalBtnLoading,\n parsedFileAnswers,\n duplicatesFound,\n duplicatesFoundInFile,\n handleCancelImport,\n runVerifyAnswersInBackground,\n handleCloseUploadModal,\n handleEditAnswer,\n handleRadioChange,\n handleSetIngestionValue,\n handleRemoveFile,\n handleToggleAnswerEditor,\n handleStepChange,\n handleSubmitFile,\n handleSummarizeSource,\n generateAanswersViaGpt,\n handleGenerateFAQ,\n getOpenAiTemplate,\n openAiTemplatePlaceholders,\n openAiFAQTemplatePlaceholders,\n handleUpdateAnswerEditor,\n handleUploadFile,\n handleCheckValidations,\n selectedAnswer,\n similarAnswers,\n selectedSimilarAnswers,\n allAnswers,\n sentinel,\n setCurrentStep,\n setImportErrorMsg,\n setIngestionValue,\n setTextGenerateObject,\n textGenerateObject,\n setEditedTextPrompt,\n editedTextPrompt,\n setIngestSelection,\n setMaxSentences,\n textGenerateMaxSentence,\n setTextGenerateMaxSentence,\n setParsedFileAnswers,\n setSelectedAnswer,\n setShowImportTip,\n setShowCancelReqModal,\n handleDisplaySimilarAnswer,\n handleVerifyAnswer,\n handleClearData,\n handleCloseConfirmationModal,\n showCancelReqModal,\n showImportTip,\n token,\n visibility,\n onboarding_flag,\n dispatch,\n graph,\n verifiedAnswers,\n verificationBtnLoading,\n similarAnswerWarnMsg,\n finalAnswerWarnMsg,\n summaryCount,\n openConfirmationModal,\n textGenerateSource,\n setGenerateFAQObject,\n generateFAQObject,\n handleFindFAQquestion,\n handleVerifiedAnswers,\n handleDuplicateAnswers,\n handleCheckAnswer,\n setImportWarnMsg,\n };\n};\n\nexport default useImportAnswerModal;\n","export const TEXT_INGEST_STEP_ONE = [\n {\n content: (\n
    \n \n Text Ingest\n \n

    \n You can ingest text from a web page (eg:\n https://www.zeroshotbot.com/terms ). Just copy the url and paste it\n here to start the text ingesting process. Our AI will convert the\n content on the website into relevant answers.\n

    \n
    \n

    \n Or you can chose to use the text or paragraphs option to copy the text\n directly and parse them as answers.\n

    \n
    \n ),\n target: '.text-ingest-inputs',\n disableBeacon: true,\n hideFooter: true,\n placement: 'auto',\n },\n {\n content: (\n
    \n \n Text Ingest\n \n

    Click next to start generating answers.

    \n
    \n ),\n target: '.next-step-button',\n disableBeacon: true,\n hideFooter: true,\n placement: 'auto',\n },\n];\n","import React, { useCallback, useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport Joyride, { ACTIONS, EVENTS, STATUS } from 'react-joyride';\nimport {\n CloseCircleOutlined,\n InfoCircleOutlined,\n MinusSquareOutlined,\n CloseSquareOutlined,\n} from '@ant-design/icons';\nimport {\n Col,\n Input,\n Row,\n Spin,\n Statistic,\n Steps,\n Typography,\n message,\n} from 'antd';\nimport TextArea from 'components/TextArea';\nimport Tooltip from 'components/ToolTips/BaseToolTip';\nimport Button from 'components/Button';\nimport Modal from 'components/Modals/GenericModal';\nimport KeywordsForm from './KeywordsForm';\nimport JoyrideTooltip from 'components/ToolTips/JoyrideToolTip';\nimport { AnswerList } from './AnswerList';\nimport ImportAlertMessage from './ImportAlertMessage';\nimport CsvOrJsonStep from './CsvOrJsonStep';\nimport TextIngestStep from './TextIngestStep';\nimport {\n MaxSentenceCountWrapper,\n KeywordsWrapper,\n StyledFooterWrapper,\n StyledUploadTip,\n StyledUploadTipTitle,\n StyledSimilarAnswersLabel,\n StyledAnswersItem,\n StyledAnswers,\n StyledSimilarAnswers,\n StyledSummaryCard,\n ProductNameWrapper,\n MaxAnswersCountWrapper,\n HeaderContainer,\n HeaderTitle,\n HeaderActions,\n} from './ImportAnswerModal.style';\nimport useImportAnswerModal from './hooks';\nimport { apiService } from 'services/api.service';\nimport { TEXT_INGEST_STEP_ONE } from 'constants/joyride_steps/import_answer_modal';\nimport { SET_ONBOARDING_FLAG } from 'store/action';\nimport Select from 'components/Select';\n\nconst { Paragraph } = Typography;\nconst { Step } = Steps;\n\nconst SAMPLE_JSON_FORMAT = (\n \n
    \n      {`[\n  {\n      \"text\": \"Sample plain answer text\",\n      \"show_text\": \"New answer again for testing\"\n      \"qlinks\": ['hello', 'test question'],\n      \"category\": 'test answers',\n      \"category_color\": \"#d3d3d3\",\n  },\n  {\n      \"text\": \"Another sample answer text\",\n      \"show_text\": \"Another answer for testing\"\n      \"qlinks\": ['question link', 'show me another answer'],\n      \"category\": 'test answers 2',\n      \"category_color\": \"#167be7\",\n  },\n]`}\n    
    \n
    \n);\n\nconst ImportAnswerModal = ({\n fileType,\n onClose,\n visibility,\n setShowUploadModal,\n notificationAPI,\n currentStep,\n setCurrentStep,\n answersToVerify,\n setAnswersToVerify,\n parsedFileAnswers,\n setParsedFileAnswers,\n similarAnswers,\n setSimilarAnswers,\n selectedSimilarAnswers,\n setSelectedSimilarAnswers,\n verifiedAnswers,\n setVerifiedAnswers,\n verifyAnswersProgress,\n isVerifyingAnswers,\n setIsVerifyingAnswers,\n isImportBtnDisabled,\n setIsImportBtnDisabled,\n duplicatesFoundInFile,\n setDuplicatesFoundInFile,\n notificationKey,\n setNotificationKey,\n}) => {\n const {\n answersAllowed,\n importErrorMsg,\n importWarnMsg,\n similarAnswerWarnMsg,\n finalAnswerWarnMsg,\n ingestSelection,\n ingestionValue,\n maxSentences,\n modalBtnLoading,\n duplicatesFound,\n handleCancelImport,\n runVerifyAnswersInBackground,\n handleShowAnswerEditorModal,\n handleRadioChange,\n handleRemoveAnswer,\n handleRemoveFile,\n handleToggleAnswerEditor,\n handleStepChange,\n handleUploadFile,\n handleSubmitFile,\n handleSummarizeSource,\n generateAanswersViaGpt,\n handleGenerateFAQ,\n openAiTemplatePlaceholders,\n openAiFAQTemplatePlaceholders,\n handleDisplaySimilarAnswer,\n handleVerifyAnswer,\n handleClearData,\n handleCheckValidations,\n sentinel,\n setIngestionValue,\n textGenerateObject,\n setTextGenerateObject,\n setMaxSentences,\n setShowImportTip,\n handleCloseConfirmationModal,\n showImportTip,\n token,\n onboarding_flag,\n graph,\n dispatch,\n verificationBtnLoading,\n summaryCount,\n openConfirmationModal,\n setGenerateFAQObject,\n generateFAQObject,\n handleFindFAQquestion,\n handleVerifiedAnswers,\n handleCheckAnswer,\n } = useImportAnswerModal({\n fileType,\n onClose,\n visibility,\n setShowUploadModal,\n notificationAPI,\n currentStep,\n setCurrentStep,\n parsedFileAnswers,\n setParsedFileAnswers,\n similarAnswers,\n setSimilarAnswers,\n selectedSimilarAnswers,\n setSelectedSimilarAnswers,\n verifiedAnswers,\n setVerifiedAnswers,\n isVerifyingAnswers,\n isImportBtnDisabled,\n setIsImportBtnDisabled,\n setIsVerifyingAnswers,\n duplicatesFoundInFile,\n setDuplicatesFoundInFile,\n notificationKey,\n setNotificationKey,\n });\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n\n useEffect(() => {\n if (!onboarding_flag.includes('TextIngest')) {\n setTimeout(() => {\n setRunTour(true);\n }, 1000);\n }\n return () => setRunTour(false);\n }, [onboarding_flag]);\n\n const handleAnswerIsVerified = answer => {\n return (\n verifiedAnswers?.filter(verifiedAnswer => verifiedAnswer === answer)\n ?.length > 0\n );\n };\n\n const handleDuplicates = answer => {\n const answerDetails = answer.text ? answer.text : answer.replace('\\r', '');\n return (\n duplicatesFound.filter(\n item => item.text.replace('\\r', '') === answerDetails\n ).length ||\n duplicatesFoundInFile.filter(\n item => item.text.replace('\\r', '') === answerDetails\n ).length\n );\n };\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if (STATUS.FINISHED === status || STATUS.SKIPPED === status) {\n setRunTour(false);\n setStepIndex(0);\n if (!onboarding_flag.includes('TextIngest')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'TextIngest'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'TextIngest' });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n }\n };\n\n const getTextGenerateFormElements = (property, display, type) => {\n const elements = {\n number: (\n \n \n handleTextGenerateObject(property, e.target.value)}\n type=\"number\"\n size=\"middle\"\n />\n \n ),\n tags: (\n \n \n 0\n ? textGenerateObject?.[property]\n : []\n }\n handleTextGenerateObject={handleTextGenerateObject}\n />\n \n ),\n text: (\n handleTextGenerateObject(property, e.target.value)}\n placeholder=\"Enter instructions to generate answer.\"\n type=\"url\"\n required\n value={textGenerateObject?.[property] || ''}\n />\n ),\n };\n\n return elements[type];\n };\n\n const getGenerateFAQFormElements = (property, title, type, options) => {\n const elements = {\n text: (\n \n {title}\n handleGenerateFAQObject(property, e.target.value)}\n size=\"large\"\n placeholder={`Enter${title}`}\n defaultValue={generateFAQObject?.[property]}\n required\n />\n \n ),\n number: (\n \n \n handleGenerateFAQObject(property, e.target.value)}\n type=\"number\"\n size=\"middle\"\n />\n \n ),\n dropdown: (\n handleGenerateFAQObject(property, e)}\n label={title}\n options={options}\n />\n ),\n };\n\n return elements[type];\n };\n\n const getTextGenerateForm = () => {\n let formElements = [];\n for (const property in openAiTemplatePlaceholders) {\n const { display, type } = openAiTemplatePlaceholders[property];\n formElements.push(getTextGenerateFormElements(property, display, type));\n }\n\n return formElements;\n };\n\n const getGenerateFAQForm = () => {\n let formElements = [];\n for (const property in openAiFAQTemplatePlaceholders) {\n const { title, type, options } = openAiFAQTemplatePlaceholders[property];\n formElements.push(\n getGenerateFAQFormElements(property, title, type, options)\n );\n }\n\n return formElements;\n };\n\n const handleTextGenerateObject = (property, value) => {\n setTextGenerateObject({\n ...textGenerateObject,\n [property]: value,\n });\n };\n\n const handleGenerateFAQObject = (property, value) => {\n setGenerateFAQObject({\n ...generateFAQObject,\n [property]: value,\n });\n };\n\n const stepContent = {\n csv: (\n \n ),\n json: (\n \n ),\n 'text-ingest': (\n \n ),\n 'text-generate': getTextGenerateForm(),\n 'generate-faq': getGenerateFAQForm(),\n };\n\n const ImportStep = () => {\n return (\n <>\n \n \n \n {fileType === 'json' ? (\n \n {showImportTip ? (\n setShowImportTip(false)}\n />\n ) : (\n setShowImportTip(true)}\n />\n )}\n \n ) : null}\n \n {showImportTip && fileType === 'json' && SAMPLE_JSON_FORMAT}\n \n {stepContent[fileType]}\n \n );\n };\n\n const SimilarAnswerList = useCallback(similarAnswers => {\n return (\n \n Similar Answers:\n {similarAnswers?.answerData &&\n similarAnswers?.answerData?.map((similarAnswer, idx) => (\n \n {similarAnswer.answer.context.text}\n \n ))}\n \n );\n }, []);\n\n const toggleCheckBox = e => {\n if (e.target.checked) {\n setAnswersToVerify(parsedFileAnswers);\n } else {\n setAnswersToVerify([]);\n }\n };\n\n const toggleListCheckbox = e => {\n if (e.target.checked) {\n setAnswersToVerify([...answersToVerify, e.target.value]);\n } else {\n setAnswersToVerify([]);\n const newAnswers = answersToVerify.filter(\n answer => answer.uuid !== e.target.value.uuid\n );\n setAnswersToVerify(newAnswers);\n }\n };\n\n const getSimilarAnswer = useCallback(\n answer => {\n const similarAnswer = selectedSimilarAnswers.find(\n a => a.answer === handleCheckAnswer(answer)\n );\n if (similarAnswer) {\n return SimilarAnswerList(similarAnswer);\n } else {\n return null;\n }\n },\n [SimilarAnswerList, handleCheckAnswer, selectedSimilarAnswers]\n );\n\n const stepTitle = {\n csv: 'Import',\n json: 'Import',\n 'text-ingest': 'Source to summarize',\n 'text-generate': 'Text Prompt',\n 'generate-faq': 'Generate',\n };\n\n const modalTitle = {\n csv: 'Select a file (.txt, .csv)',\n json: 'Import Answer Bank (.json)',\n 'text-ingest': 'Text Summarize',\n 'text-generate': 'Text Generate',\n 'generate-faq': 'Generate FAQ',\n };\n\n const steps = [\n {\n title: stepTitle[fileType],\n content: ImportStep,\n },\n {\n title: 'Verify your Answers',\n content: () => (\n \n ),\n },\n ];\n\n const handleNextClick = () => {\n const importActions = {\n csv: handleCheckValidations,\n json: handleCheckValidations,\n 'text-ingest': handleSummarizeSource,\n 'text-generate': generateAanswersViaGpt,\n 'generate-faq': handleGenerateFAQ,\n };\n\n importActions[fileType]();\n };\n\n const handleNextStep = () => {\n setCurrentStep(currentStep + 1);\n };\n\n const wordCount = useCallback(prompt => {\n if (prompt) {\n return prompt.split(' ').length;\n }\n\n return 0;\n }, []);\n\n const getTextGenerateButtons = () => {\n const hasAnswer = parsedFileAnswers.length > 0;\n return (\n <>\n {hasAnswer ? (\n <>\n \n \n \n ) : (\n \n )}\n \n );\n };\n\n const getGenerateAnswerButtons = () => {\n let validForm = false;\n if (generateFAQObject) {\n validForm =\n Object.values(generateFAQObject).filter(fields => fields === '')\n ?.length === 0;\n }\n const hasAnswer = parsedFileAnswers.length > 0;\n return (\n <>\n {hasAnswer ? (\n <>\n \n \n \n ) : (\n \n )}\n \n );\n };\n\n const getActionButtons = () => {\n return (\n <>\n {currentStep ? (\n \n ) : null}\n {!currentStep ? (\n <>\n {fileType === 'text-generate' ? (\n getTextGenerateButtons()\n ) : fileType === 'generate-faq' ? (\n getGenerateAnswerButtons()\n ) : (\n \n )}\n \n ) : (\n {\n handleSubmitFile(fileType);\n }}\n disabled={\n isImportBtnDisabled ||\n !answersAllowed ||\n duplicatesFound.length > 0 ||\n verificationBtnLoading ||\n duplicatesFoundInFile.length > 0\n }\n />\n )}\n \n );\n };\n\n const verifyAnswers = useCallback(() => {\n setIsVerifyingAnswers(true);\n Promise.all(\n answersToVerify.map(async answer => {\n const verifiedAnswers = await handleDisplaySimilarAnswer(\n handleCheckAnswer(answer),\n true\n );\n return verifiedAnswers;\n })\n ).then(res => {\n message.success('No similar answer found.');\n handleVerifiedAnswers();\n setIsVerifyingAnswers(false);\n });\n }, [\n answersToVerify,\n handleCheckAnswer,\n handleDisplaySimilarAnswer,\n handleVerifiedAnswers,\n setIsVerifyingAnswers,\n ]);\n\n const deleteAnswers = () => {\n answersToVerify.forEach((answer, idx) => {\n handleRemoveAnswer(answer);\n // also remove selected answer after delete\n setAnswersToVerify(prevSelectedAnswers =>\n prevSelectedAnswers.filter(\n prevAnswer => prevAnswer.text === answer.text\n )\n );\n });\n };\n\n return (\n <>\n handleSubmitFile(fileType)}\n okText=\"Submit\"\n okButtonProps={{\n disabled: isImportBtnDisabled || !parsedFileAnswers?.length,\n }}\n cancelText={modalBtnLoading ? 'Close' : 'Cancel'}\n confirmLoading={modalBtnLoading}\n destroyOnClose={false}\n maskClosable={false}\n width=\"70%\"\n footer={\n \n {currentStep ? (\n \n )}\n {isLastStep ? (\n \n ) : (\n \n )}\n \n \n \n \n \n );\n};\n\nCustomTooltip.propTypes = {\n continuous: PropTypes.bool,\n index: PropTypes.number,\n step: PropTypes.object,\n backProps: PropTypes.object,\n primaryProps: PropTypes.object,\n tooltipProps: PropTypes.object,\n};\n\nconst AnswerBank = ({\n details,\n handleShowAnswerEditorModal,\n handleShowFileEditorModal,\n handleShowLinkedQuestions,\n handleShowAddTestSuiteModal,\n handleUpdateCategory,\n handleAddNewCategory,\n loading,\n onUpdateCategoryAnswer,\n deleteCategory,\n ...rest\n}) => {\n const {\n answersOrder,\n allAnswers,\n allCategories,\n isANewBot,\n confirmModalLoading,\n filteredAnswers,\n limitReached,\n jid,\n maxAnswerCount,\n moveToCategory,\n pageLoading,\n exportSelectedAnswers,\n selectedAnswers,\n showAskedQuestionModal,\n showAddQuestionToTestSuiteModal,\n showBulkMoveCategoryModal,\n showBulkDeleteModal,\n questionForTestSuite,\n questionLog,\n dateFilter,\n selectedAnswerId,\n askedQuestionModalLoading,\n onDelete,\n handleBulkDelete,\n handleChangeTab,\n handleCloseAskedQuestionModal,\n handleCloseAddTestSuiteModal,\n handleChangeCheckbox,\n handleBulkMoveCategory,\n handleSortAnswers,\n handleShowAskedQuestions,\n handleSelectAll,\n handleShowDigraph,\n handleHideDigraph,\n handleCloseCategoryModal,\n isCategoryModalOpen,\n setShowAskedQuestionModal,\n setShowBulkMoveCategoryModal,\n setShowBulkDeleteModal,\n setShowDisplayAnswer,\n setMoveToCategory,\n showDisplayAnswer,\n showDigraph,\n onboarding_flag,\n setIsImportDropdownVisible,\n isAnswerBankReady,\n sentinel,\n token,\n graph,\n dispatch,\n handleDateFilterChange,\n handleOpenExportModal,\n handleCloseExportModal,\n openExportModal,\n synced,\n botMode,\n handleManualBotSyncing,\n isDetailsPageReady,\n handleChangeCategory,\n newAnswer,\n isAddAnswerDisabled,\n sending,\n onAddAnswer,\n onChangeNewAnswer,\n setAnswerVersion,\n path,\n answerVersion,\n showAddPlainAnswerModal,\n setShowAddPlainAnswerModal,\n handleCloseAddAnswerModal,\n selectedTab,\n isExportImportEnabled,\n renderFilterAnswer,\n setSelectedAnswers,\n } = useAnswerBank({\n onUpdateCategoryAnswer,\n loading,\n });\n const [fileType, setFileType] = useState(null);\n const [showGuidelines, setShowGuidelines] = useState(false);\n const [showUploadAnswerModal, setShowUploadAnswerModal] = useState(false);\n const [showUploadFileModal, setShowUploadFileModal] = useState(false);\n const [currentStep, setCurrentStep] = useState(0);\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n const [answersToVerify, setAnswersToVerify] = useState([]);\n const [parsedFileAnswers, setParsedFileAnswers] = useState([]);\n const [similarAnswers, setSimilarAnswers] = useState([]);\n const [selectedSimilarAnswers, setSelectedSimilarAnswers] = useState([]);\n const [verifiedAnswers, setVerifiedAnswers] = useState([]);\n const [isVerifyingAnswers, setIsVerifyingAnswers] = useState(false);\n const [isImportBtnDisabled, setIsImportBtnDisabled] = useState(true);\n const [duplicatesFoundInFile, setDuplicatesFoundInFile] = useState([]);\n const [notificationKey, setNotificationKey] = useState('');\n\n useEffect(() => {\n if (isAnswerBankReady && !onboarding_flag.includes('ImportAnswerButton')) {\n setRunTour(true);\n }\n return () => setRunTour(false);\n }, [isAnswerBankReady, onboarding_flag]);\n\n const handleResetVerifyingAnswers = useCallback(() => {\n setIsVerifyingAnswers(false);\n setAnswersToVerify([]);\n setParsedFileAnswers([]);\n setSimilarAnswers([]);\n setSelectedSimilarAnswers([]);\n setVerifiedAnswers([]);\n setShowUploadAnswerModal(true);\n setCurrentStep(0);\n }, []);\n\n const handleOpenAnswerModal = useCallback(\n type => {\n setFileType(type);\n if (isVerifyingAnswers) {\n confirm({\n content: (\n

    Background process for verifying answers is already running.

    \n ),\n onOk() {\n notification.close(notificationKey);\n setShowUploadAnswerModal(true);\n },\n onCancel() {\n handleResetVerifyingAnswers();\n notification.close(notificationKey);\n },\n cancelText: 'Cancel',\n okText: 'Resume',\n });\n } else {\n setShowUploadAnswerModal(true);\n }\n },\n [handleResetVerifyingAnswers, isVerifyingAnswers, notificationKey]\n );\n\n const handleOpenFileModal = useCallback(\n type => {\n setFileType(type);\n if (isVerifyingAnswers) {\n confirm({\n content: (\n

    Background process for verifying answers is already running.

    \n ),\n onOk() {\n notification.close(notificationKey);\n setShowUploadFileModal(true);\n },\n onCancel() {\n handleResetVerifyingAnswers();\n notification.close(notificationKey);\n },\n cancelText: 'Cancel',\n okText: 'Resume',\n });\n } else {\n setShowUploadFileModal(true);\n }\n },\n [handleResetVerifyingAnswers, isVerifyingAnswers, notificationKey]\n );\n\n const handleCloseImportAnswerModal = () => {\n setFileType(null);\n setShowUploadAnswerModal(false);\n };\n\n const handleCloseImportFileModal = () => {\n setFileType(null);\n setShowUploadFileModal(false);\n };\n\n const getSortBtnTitle = useMemo(\n () => ANSWER_SORTING_LIST[answersOrder.key].label,\n [answersOrder]\n );\n\n const verifyAnswersProgress = useCallback(\n () => Math.round((verifiedAnswers.length / parsedFileAnswers.length) * 100),\n [parsedFileAnswers.length, verifiedAnswers.length]\n );\n\n const saveOnboardingFlag = async () => {\n if (!onboarding_flag.includes('ImportAnswerButton')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'ImportAnswerButton'\n );\n dispatch({ type: SET_ONBOARDING_FLAG, payload: 'ImportAnswerButton' });\n }\n };\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if (STATUS.FINISHED === status) {\n setRunTour(false);\n setStepIndex(0);\n handleOpenAnswerModal('ingest');\n saveOnboardingFlag();\n } else if (STATUS.SKIPPED === status) {\n setRunTour(false);\n setStepIndex(0);\n saveOnboardingFlag();\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n if (stepIndex === 1) {\n setIsImportDropdownVisible(true);\n setRunTour(false);\n setTimeout(() => {\n setRunTour(true);\n setStepIndex(stepIndex);\n }, 250);\n }\n if (stepIndex === 2) {\n setIsImportDropdownVisible(false);\n setTimeout(() => {\n setStepIndex(stepIndex);\n }, 250);\n }\n\n setStepIndex(stepIndex);\n }\n };\n\n const AnswerBankButtons = () => {\n return (\n \n \n {path('files') && (\n \n }\n value={`Import File`}\n variant=\"link\"\n onClick={() => handleOpenFileModal('file')}\n />\n \n )}\n {path('websites') && (\n \n }\n >\n \n handleOpenFileModal(fileType || 'url')\n }\n />\n \n \n )}\n {botMode === BOT_MODES.ZSB && isExportImportEnabled && (\n \n }\n >\n \n setShowAddPlainAnswerModal(true)\n }\n />\n \n \n )}\n\n {botMode === BOT_MODES.OPENAI && path('answers') && (\n \n }\n >\n \n setShowAddPlainAnswerModal(true)\n }\n />\n \n \n )}\n \n \n );\n };\n\n return (\n \n \n \n \n \n \n {!showGuidelines && (\n \n setShowGuidelines(true)}\n />\n \n )}\n \n {showGuidelines && (\n \n \n \n Answer Bank is the repository of response your bot will use\n when asked a question.\n setShowGuidelines(false)}\n />\n \n Here are few guidelines you should follow:\n \n \n
  • \n Your answer should be definite\n
  • \n
  • \n Keep your answers succinct\n
  • \n
  • No unrelated answers
  • \n
    \n
    \n )}\n\n {isDetailsPageReady &&\n isAnswerBankReady &&\n (runTour || isANewBot) &&\n !allAnswers.length && }\n\n setShowAddPlainAnswerModal(true)}\n path={path}\n selectedTab={selectedTab}\n answersOrder={answersOrder}\n renderFilterAnswer={renderFilterAnswer}\n runTour={runTour}\n setSelectedAnswers={setSelectedAnswers}\n />\n\n {limitReached && (\n \n )}\n\n {isCategoryModalOpen ? (\n \n ) : null}\n\n {showAskedQuestionModal ? (\n \n handleShowAskedQuestions(selectedAnswerId)\n }\n askedQuestionModalLoading={askedQuestionModalLoading}\n />\n ) : null}\n
    \n\n {showUploadAnswerModal && (\n \n )}\n\n {showAddPlainAnswerModal && (\n \n )}\n\n {showUploadFileModal && fileType === 'file' ? (\n \n ) : (\n \n )}\n\n {showAddQuestionToTestSuiteModal && (\n \n )}\n\n \n\n setShowBulkDeleteModal(false)}\n onOk={handleBulkDelete}\n okText=\"Confirm\"\n confirmLoading={confirmModalLoading}\n itemTobeDeleted={`the ${selectedAnswers.length} selected answer(s)`}\n />\n \n \n \n {openExportModal && (\n \n )}\n
    \n
    \n );\n};\n\nAnswerBank.propTypes = {\n details: PropTypes.func,\n handleShowAnswerEditorModal: PropTypes.func,\n handleShowFileEditorModal: PropTypes.func,\n handleUpdateCategory: PropTypes.func,\n handleAddNewCategory: PropTypes.func,\n handleShowAddTestSuiteModal: PropTypes.func,\n handleShowLinkedQuestions: PropTypes.func,\n onUpdateCategoryAnswer: PropTypes.func,\n deleteCategory: PropTypes.func,\n loading: PropTypes.bool,\n};\n\nexport default AnswerBank;\n","import { createSelector } from 'reselect';\nimport { groupBy } from 'lodash';\n\nimport { currentBotSelector } from '.';\nimport { initialCallbackLogsState } from 'store/initialState';\n\nexport const callbackLogsSelector = createSelector(\n currentBotSelector,\n bot => bot.callbackLogs || initialCallbackLogsState\n);\n\nexport const callbackLogsTableDataSelector = createSelector(\n callbackLogsSelector,\n callbackLogs => callbackLogs.table || []\n);\n\nexport const callbackLogsSessionDetailsSelector = createSelector(\n callbackLogsSelector,\n callbackLogs => callbackLogs.sessionDetails || {}\n);\n\nexport const callbackSessionDetailsDataSelector = createSelector(\n callbackLogsSessionDetailsSelector,\n sessionDetails => sessionDetails.data || []\n);\n\nexport const callbackSessionDetailsIdSelector = createSelector(\n callbackLogsSessionDetailsSelector,\n sessionDetails => sessionDetails.sessionId\n);\n\nexport const callbackSessionDetailsInteractionIdsSelector = createSelector(\n callbackLogsSessionDetailsSelector,\n sessionDetails => sessionDetails.callbackInteractionIds\n);\n\nexport const callbackSessionFiltersSelector = createSelector(\n callbackLogsTableDataSelector,\n tableData => {\n const sessions = Object.keys(groupBy(tableData, 'sessionID'));\n\n return (sessions || []).map(s => {\n return {\n text: s === 'undefined' ? 'None' : s,\n value: s,\n };\n });\n }\n);\n","import { useEffect, useState } from 'react';\n\nimport {\n callbackSessionDetailsDataSelector,\n callbackSessionDetailsInteractionIdsSelector,\n callbackSessionFiltersSelector,\n} from 'selectors/bot/callbackLogs';\nimport useSelector from 'store/useSelector';\n\nconst useCallbackModal = () => {\n const sessionData = useSelector(callbackSessionDetailsDataSelector);\n const callbackSessionFilters = useSelector(callbackSessionFiltersSelector);\n const callBackInteractionIds = useSelector(\n callbackSessionDetailsInteractionIdsSelector\n );\n const [selectedInteractionIDs, setSelectedInteractionIDs] = useState([]);\n const [data, setData] = useState([]);\n const [allInteractionIDs, setAllInteractionIDs] = useState([]);\n\n useEffect(() => {\n if (sessionData?.length) {\n setData(sessionData);\n }\n }, [sessionData]);\n\n useEffect(() => {\n return () => {\n setData([]);\n setAllInteractionIDs([]);\n };\n }, []);\n\n useEffect(() => {\n if (callBackInteractionIds?.length) {\n setAllInteractionIDs(callBackInteractionIds);\n }\n }, [callBackInteractionIds]);\n\n const handleSelectInteractionID = e => {\n const unselectedIDs = allInteractionIDs.filter(\n item => !callBackInteractionIds.includes(item.interactionID)\n );\n setAllInteractionIDs(unselectedIDs);\n setSelectedInteractionIDs(e);\n if (e.length) {\n const filteredData = sessionData.filter(\n item => item.interactionID && e.includes(item.interactionID)\n );\n setData(filteredData);\n } else {\n setData(sessionData);\n }\n };\n\n return {\n data,\n callbackSessionFilters,\n allInteractionIDs,\n selectedInteractionIDs,\n handleSelectInteractionID,\n callBackInteractionIds,\n };\n};\n\nexport default useCallbackModal;\n","import { Row } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledItem = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px 0;\n border-bottom: 1px solid #ccc;\n background-color: ${props =>\n props.isHighlighted ? cssVariables.blue1 : 'none'};\n`;\n\nexport const StyledContent = styled.div`\n width: 94%;\n padding-right: 20px;\n`;\n\nexport const StyledQuestionContainer = styled.div`\n display: flex;\n justify-content: flex-end;\n max-width: 90%;\n margin-left: auto;\n margin-bottom: 15px;\n word-break: break-word;\n`;\n\nexport const StyledQuestion = styled.span`\n padding: 15px;\n color: #fff;\n border-radius: 10px;\n background-color: rgba(33, 35, 38, 0.774);\n word-break: break-all;\n`;\n\nexport const StyledAnswerContainer = styled.div`\n display: flex;\n justify-content: flex-start;\n max-width: 90%;\n word-break: break-word;\n`;\n\nexport const StyledAnswer = styled.div`\n padding: 15px;\n border-radius: 10px;\n background-color: #f0f2f5;\n\n & p {\n margin-bottom: 0px;\n }\n`;\n\nexport const StyledDateTime = styled.div`\n font-size: 12px;\n text-align: center;\n`;\n\nexport const StyledCallbackModalTitle = styled.div`\n display: flex;\n width: 100%;\n flex-direction: column;\n\n h4 {\n margin-bottom: 0 !important;\n }\n`;\n\nexport const StyledLegend = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-top: 5px;\n font-size: 11px;\n\n .ant-tag {\n width: 40px;\n }\n`;\n\nexport const StyleCustomerInforWrapper = styled(Row)`\n margin: 2% 0;\n font-size: 11px;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Col, Tag } from 'antd';\n\nimport Modal from 'components/Modals/GenericModal';\nimport { getLocalTimeString } from 'utils/dates';\nimport useCallBackModal from './hooks';\nimport {\n StyledItem,\n StyledContent,\n StyledQuestionContainer,\n StyledQuestion,\n StyledDateTime,\n StyledCallbackModalTitle,\n StyledLegend,\n StyleCustomerInforWrapper,\n} from './CallbackModal.styles';\nimport Select from 'components/Select';\nimport { cssVariables } from 'styles/root';\nimport { AnswerRenderer } from 'components/AnswerRenderer';\n\nconst CallbackModal = ({ onClose, show, loading, customerInfo }) => {\n const {\n allInteractionIDs,\n data,\n handleSelectInteractionID,\n selectedInteractionIDs,\n callBackInteractionIds,\n } = useCallBackModal();\n return (\n \n

    {'Session Details'}

    \n {customerInfo ? (\n \n Email:\n {customerInfo?.email || 'N/A'}\n Phone Number:\n {customerInfo?.mobile || 'N/A'}\n \n ) : null}\n {callBackInteractionIds?.length ? (\n <>\n \n \n  \n {' Callback Requested'}\n \n \n ) : null}\n \n }\n onCancel={onClose}\n cancelText={`Close`}\n spinning={loading}\n style={{ minHeight: '16vh', maxHeight: '80vh' }}\n width={'50%'}\n closable={false}\n >\n <>\n {data.map((item, key) => {\n return (\n \n \n \n {item.question}\n \n \n \n \n {item.interactionID ? (\n <>\n
    {getLocalTimeString(item.date)}
    \n
    {'Interaction ID:'}
    \n
    {item.interactionID}
    \n \n ) : null}\n
    \n \n );\n })}\n \n \n );\n};\n\nCallbackModal.propTypes = {\n sessionID: PropTypes.any,\n callbackInteractionIDs: PropTypes.array,\n loading: PropTypes.bool,\n onClose: PropTypes.func.isRequired,\n questions: PropTypes.array,\n show: PropTypes.bool.isRequired,\n customerInfo: PropTypes.object,\n};\n\nexport default CallbackModal;\n","import { useState, useEffect } from 'react';\n\nconst useFeedbackModal = ({ interactionID, questions }) => {\n const [data, setData] = useState([]);\n\n useEffect(() => {\n setData(\n questions.find(question => question.interactionID === interactionID)\n );\n }, []);\n\n return {\n data,\n };\n};\n\nexport default useFeedbackModal;\n","import styled from 'styled-components';\nimport { Modal } from 'antd';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledModal = styled(Modal)`\n & .ant-modal-footer {\n text-align: left;\n & button {\n margin-right: 8px;\n }\n }\n`;\n\nexport const StyledModalTitle = styled.h4`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n font-size: 18px;\n color: #000;\n`;\n\nexport const StyledItem = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px 0;\n`;\n\nexport const StyledContent = styled.div`\n width: 70%;\n padding-right: 20px;\n`;\n\nexport const StyledQuestionContainer = styled.div`\n display: flex;\n justify-content: flex-end;\n max-width: 90%;\n margin-left: auto;\n margin-bottom: 15px;\n`;\n\nexport const StyledQuestion = styled.span`\n padding: 15px;\n color: #fff;\n border-radius: 10px;\n background-color: rgba(33, 35, 38, 0.774);\n`;\n\nexport const StyledAnswerContainer = styled.div`\n display: flex;\n justify-content: flex-start;\n max-width: 90%;\n`;\n\nexport const StyledAnswer = styled.div`\n padding: 15px;\n border-radius: 10px;\n background-color: #f0f2f5;\n\n & p {\n margin-bottom: 0px;\n }\n`;\n\nexport const StyledDateTime = styled.div`\n font-size: 12px;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { getLocalTimeString } from 'utils/dates';\nimport useFeedbackModal from './hooks';\nimport {\n StyledModal,\n StyledModalTitle,\n StyledItem,\n StyledContent,\n StyledQuestionContainer,\n StyledQuestion,\n StyledAnswerContainer,\n StyledAnswer,\n StyledDateTime,\n} from './FeedbackModal.styles';\nimport { extractDisplayAnswer } from 'utils/answers';\n\nconst FeedbackModal = ({ interactionID, questions, onClose }) => {\n const { data } = useFeedbackModal({ interactionID, questions });\n\n return (\n Feedback Details}\n onCancel={onClose}\n footer={null}\n >\n \n \n \n {data.question}\n \n \n \n \n \n {getLocalTimeString(data.date)}\n \n \n );\n};\n\nFeedbackModal.propTypes = {\n interactionID: PropTypes.string,\n questions: PropTypes.array,\n onClose: PropTypes.func,\n};\n\nexport default FeedbackModal;\n","import { useMemo } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nexport const useQuery = () => {\n const { search } = useLocation();\n return useMemo(() => new URLSearchParams(search), [search]);\n};\n","import { createSelector } from 'reselect';\n\nimport { currentBotSelector } from '.';\nimport {\n initialAnalyticsAggregationsState,\n initialAnalyticsState,\n} from 'store/initialState';\nimport { allCategoriesSelector } from './categories';\n\nexport const analyticsSelector = createSelector(\n currentBotSelector,\n bot => bot.analytics || initialAnalyticsState\n);\n\nexport const performanceMetricsSelector = createSelector(\n analyticsSelector,\n analytics => analytics.performanceMetrics\n);\n\nexport const analyticsAggregationsSelector = createSelector(\n analyticsSelector,\n analytics => analytics.aggregations || initialAnalyticsAggregationsState\n);\n\nexport const analyticsCategoriesFilterSelector = createSelector(\n analyticsAggregationsSelector,\n aggregations => aggregations.categoryFilter || []\n);\n\nexport const analyticsIntegrationFilterSelector = createSelector(\n analyticsAggregationsSelector,\n aggregations => aggregations.integrationFilter || []\n);\n\nexport const allCategoryFilterSelector = createSelector(\n allCategoriesSelector,\n allCategories => {\n return allCategories.map(category => ({\n label: category.name,\n value: category.name,\n key: category.jid,\n }));\n }\n);\n\nexport const analyticsTableSelector = createSelector(\n analyticsSelector,\n analytics => analytics.table\n);\n\nexport const analyticsGraphSelector = createSelector(\n analyticsSelector,\n analytics => analytics.graph || []\n);\n\nexport const analyticsAllQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.allQuestions || []\n);\n\nexport const analyticsMostAskedQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.mostAskedQuestions || []\n);\n\nexport const analyticsCorrectQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.correctQuestions || []\n);\n\nexport const analyticIncorrectQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.incorrectQuestions || []\n);\n\nexport const analyticsQuestionIntentsSelector = createSelector(\n analyticsTableSelector,\n table => table.intents || []\n);\n\nexport const analyticsPositiveFeedbackQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.positiveFeedbackQuestions || []\n);\n\nexport const analyticsNegativeFeedbackQuestionsSelector = createSelector(\n analyticsTableSelector,\n table => table.negativeFeedbackQuestions || []\n);\n","import { useState, useEffect, useContext, useMemo } from 'react';\nimport { message } from 'antd';\nimport { useLocation, useHistory } from 'react-router-dom';\nimport * as XLSX from 'xlsx/xlsx.mjs';\nimport { omit, snakeCase, isEqual } from 'lodash';\n\nimport { apiService } from 'services/api.service';\nimport { Context } from 'store/store';\nimport { isFreeUserSelector } from 'selectors/plan';\nimport { escapeCSV, generateRandomColor, withPrefixUUID } from 'utils';\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { getBotIntegrations } from 'services/bots.service';\nimport {\n SET_INTEGRATIONS,\n SET_ANALYTICS_AGGREGATIONS_DATA,\n SET_ANALYTICS_GRAPH_DATA,\n SET_ANALYTICS_TABLE_DATA,\n SET_CALLBACK_MODAL_SESSION_DETAILS,\n VALIDATE_QUESTION_FROM_ANALYTICS,\n SET_PAGE_DETAILS,\n} from 'store/action';\nimport {\n CORRECT_QUESTIONS,\n INCORRECT_QUESTIONS,\n PERFORMANCE_METRICS_DEFAULT_ANSWERS,\n PERFORMANCE_METRICS_INCORRECT_QUESTIONS,\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS,\n PERFORMANCE_METRICS_PATH_PREFIX,\n QUESTION_LOGS,\n QUESTION_WITH_NEGATIVE_FEEDBACK,\n QUESTION_WITH_POSITIVE_FEEDBACK,\n TABLE_VIEW,\n} from 'constants/analytics';\nimport { extractESAnalyticsData, getGraphTimeInterval } from 'utils/analytics';\nimport { useQuery } from 'pages/useQuery';\nimport useSelector from 'store/useSelector';\nimport {\n analyticsAggregationsSelector,\n analyticsGraphSelector,\n analyticsTableSelector,\n analyticsAllQuestionsSelector,\n analyticsCategoriesFilterSelector,\n analyticsIntegrationFilterSelector,\n} from 'selectors/bot/analytics';\nimport {\n UTCToLocal,\n convertToEndOfDay,\n convertToStartOfDay,\n getLocalTimeString,\n} from 'utils/dates';\nimport { extractDisplayAnswer } from 'utils/answers';\nimport { botJIDSelector, isPageReadySelector } from 'selectors/bot';\nimport { AnswerRenderer } from 'components/AnswerRenderer';\nimport { DislikeTwoTone, LikeTwoTone } from '@ant-design/icons';\nimport { initialAnalyticsAggregationsState } from 'store/initialState';\nimport { isAnObject } from 'utils/dataTypes';\nimport { isMobileViewSelector } from 'selectors/layout';\n\nconst MAX_TABLE_ITEMS_PER_PAGE = 10;\nconst largeFont = { fontSize: 20 };\n\nconst useAnalytics = () => {\n const [state, dispatch] = useContext(Context);\n const isFreeUser = useSelector(isFreeUserSelector);\n const allQuestions = useSelector(analyticsAllQuestionsSelector);\n const aggregations = useSelector(analyticsAggregationsSelector);\n const categoryFilter = useSelector(analyticsCategoriesFilterSelector);\n const integrationFilterOptions = useSelector(\n analyticsIntegrationFilterSelector\n );\n const tableData = useSelector(analyticsTableSelector);\n const chartData = useSelector(analyticsGraphSelector);\n const isPageReady = useSelector(isPageReadySelector);\n const isMobileView = useSelector(isMobileViewSelector);\n const jid = useSelector(botJIDSelector);\n const {\n bot: { integrations },\n token,\n sentinel,\n } = state;\n const location = useLocation();\n const history = useHistory();\n const query = useQuery();\n const { hash } = location;\n\n const WITH_PREFIX_BOT_JID = withPrefixUUID(jid || location.pathname);\n const integrationFilter = query.get('integration');\n const categoryQueryParamsFilter = query.get('category');\n\n const [showAddQuestionToTestSuiteModal, setShowAddQuestionToTestSuiteModal] =\n useState(false);\n const [questionForTestSuite, setQuestionForTestSuite] = useState('');\n const [pageLoading, setPageLoading] = useState(false);\n const [tableSpinner, setTableSpinner] = useState(false);\n const [graphSpinner, setGraphSpinner] = useState(false);\n const [selectedSessionID, setSelectedSessionID] = useState(null);\n const [selectedInteractionID, setSelectedInteractionID] = useState(null);\n const [showModal, setShowModal] = useState(false);\n const [callbackInteractionIDs, setCallbackInteractionIDs] = useState([]);\n const [sessionFilters, setSessionFilters] = useState(null);\n const startDateInMS = new Date().setDate(new Date().getDate() - 7);\n const startDate = new Date(startDateInMS).toISOString();\n const todayInMS = new Date();\n const todayISO = new Date(todayInMS).toISOString();\n const [dateFilter, setDateFilter] = useState({\n startDate: startDate,\n endDate: todayISO,\n });\n const [selectedIntegrationChannel, setSelectedIntegrationChannel] = useState(\n []\n );\n const [selectedCategories, setSelectedCategories] = useState([]);\n const [sessionFilteredInfo, setSessionFilteredInfo] = useState(null);\n const [params, setParams] = useState({\n size: MAX_TABLE_ITEMS_PER_PAGE,\n from: 0,\n page: 1,\n sort: {\n datetime: 'desc',\n },\n });\n\n const [showPagination, setShowPagination] = useState(true);\n const [maximizeTableColumn, setMaximizeTableColumn] = useState(false);\n const [selectedLog, setSelectedLog] = useState(null);\n const [showConfirmQuestionValidation, setShowConfirmQuestionValidation] =\n useState(false);\n const [validationDetails, setValidationDetails] = useState(null);\n const [modalIsLoading, setModalIsLoading] = useState(false);\n const [showFilterDropdown, setShowFilterDropdown] = useState(false);\n const [filters, setFilters] = useState([]);\n const [selectedPanelDetails, setSelectedPanelDetails] = useState(null);\n const [sequenceActivePannel, setSequenceActivePannel] =\n useState('generalInfo');\n const smallFont = { fontSize: 12 };\n\n const isPerformanceMetricsView = useMemo(() => {\n return hash?.includes(PERFORMANCE_METRICS_PATH_PREFIX) ? true : false;\n }, [hash]);\n\n const tableViewList = useMemo(() => {\n return isPerformanceMetricsView\n ? TABLE_VIEW.KEY_METRICS_LIST\n : TABLE_VIEW.QUESTION_LOGS_LIST;\n }, [isPerformanceMetricsView]);\n\n const selectedTableView = useMemo(\n () =>\n query && query.get('tableView')\n ? query.get('tableView')\n : hash?.includes(QUESTION_LOGS)\n ? QUESTION_LOGS\n : PERFORMANCE_METRICS_DEFAULT_ANSWERS,\n [query, hash]\n );\n\n const handleOnSelect = async selectId => {\n await history.replace({ ...location, search: `?tableView=${selectId}` });\n // Fetch all and updated data in the db onchange of filter\n fetchESAnalyticsTableData(dateFilter.startDate, dateFilter.endDate, {\n ...params,\n selectedTableView: selectId,\n });\n fetchGraphData(dateFilter.startDate, dateFilter.endDate, {\n ...params,\n selectedTableView: selectId,\n });\n };\n\n const handleHashChange = () => {\n const { validStartDate, validEndDate } = parseToStartAndEndOfDayISODate();\n if (\n !isPerformanceMetricsView ||\n (isPerformanceMetricsView &&\n isEqual(aggregations, initialAnalyticsAggregationsState))\n ) {\n fetchESAnalyticsAggregationsData(validStartDate, validEndDate, params);\n }\n fetchESAnalyticsTableData(validStartDate, validEndDate, params);\n fetchGraphData(validStartDate, validEndDate, params);\n };\n\n const getMetricsParams = params => {\n // dont use query param `selectedTableView` if `params.selectedTableViewExists`\n if (params.selectedTableView) {\n const keyMetricsParams = {\n feedback: params.selectedTableView.includes(\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS\n )\n ? 0\n : params.selectedTableView.includes(QUESTION_WITH_POSITIVE_FEEDBACK)\n ? 1\n : null,\n answerType:\n params.selectedTableView === PERFORMANCE_METRICS_DEFAULT_ANSWERS\n ? 'default_answer'\n : null,\n validation:\n params.selectedTableView === INCORRECT_QUESTIONS\n ? 0\n : params.selectedTableView === CORRECT_QUESTIONS\n ? 1\n : null,\n };\n return {\n ...params,\n ...keyMetricsParams,\n };\n } else {\n const keyMetricsParams = {\n feedback: selectedTableView.includes(\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS\n )\n ? 0\n : selectedTableView.includes(QUESTION_WITH_POSITIVE_FEEDBACK)\n ? 1\n : null,\n answerType:\n selectedTableView === PERFORMANCE_METRICS_DEFAULT_ANSWERS\n ? 'default_answer'\n : null,\n validation: selectedTableView.includes(INCORRECT_QUESTIONS)\n ? 0\n : selectedTableView === CORRECT_QUESTIONS\n ? 1\n : null,\n };\n return {\n ...params,\n ...keyMetricsParams,\n };\n }\n };\n\n useEffect(() => {\n if (hash && token && jid) {\n handleHashChange();\n }\n }, [hash]);\n\n const handleCloseAddTestSuiteModal = () => {\n setShowAddQuestionToTestSuiteModal(false);\n };\n\n const handleDateFilterChange = (startDate, endDate) => {\n setParams({\n ...params,\n from: 0,\n page: 1,\n });\n setDateFilter({\n startDate,\n endDate,\n });\n };\n\n const handleChangeDataFilterButton = () => {\n const { validStartDate, validEndDate } = parseToStartAndEndOfDayISODate();\n fetchESAnalyticsAggregationsData(validStartDate, validEndDate, params);\n fetchGraphData(validStartDate, validEndDate, params);\n fetchESAnalyticsTableData(validStartDate, validEndDate, params);\n };\n\n const handleChangeIntegrationSelection = (val, args) => {\n setParams({\n ...params,\n from: 0,\n page: 1,\n });\n setSelectedIntegrationChannel(args);\n };\n\n const handleChangeCategories = (val, args) => {\n setParams({\n ...params,\n from: 0,\n page: 1,\n });\n setSelectedCategories(args);\n };\n\n const fetchGraphData = async (startDate, endDate, fetchParams) => {\n setGraphSpinner(true);\n\n const payloadParams = getMetricsParams(fetchParams);\n const validStartDate = convertToStartOfDay(startDate);\n const validEndDate = convertToEndOfDay(endDate);\n const categoryJids = getKeyFromList(selectedCategories);\n const integrationIds = getKeyFromList(selectedIntegrationChannel);\n\n const dateInterval = getGraphTimeInterval(startDate, endDate);\n\n try {\n const ESResAggregation = await apiService.getElasticByIntervalLogDate(\n sentinel,\n jid,\n validStartDate,\n validEndDate,\n dateInterval,\n integrationIds,\n categoryJids,\n token,\n { ...payloadParams, for_aggs: true }\n );\n const { error } = ESResAggregation.data.report[0];\n if (error) {\n throw new Error('No records found');\n }\n dispatch({\n type: SET_ANALYTICS_GRAPH_DATA,\n payload: {\n data: ESResAggregation.data.report[0],\n // add start and end date for future use\n // and to get date interval\n startDate,\n endDate,\n },\n });\n } catch (error) {\n setGraphSpinner(false);\n return message.error(typeof err === 'string' ? error : error.message);\n }\n setGraphSpinner(false);\n };\n\n const getKeyFromList = list => {\n return list.map(item => item.key);\n };\n\n const fetchESAnalyticsAggregationsData = async (\n startDate,\n endDate,\n fetchParams\n ) => {\n const payloadParams =\n // we dont want to fetch filtered aggregations\n selectedTableView || fetchParams.selectedTableView\n ? // so we're passing empty payload param\n {}\n : getMetricsParams(fetchParams);\n const validStartDate = convertToStartOfDay(startDate);\n const validEndDate = convertToEndOfDay(endDate);\n const categoryJids = getKeyFromList(selectedCategories);\n const integrationIds = getKeyFromList(selectedIntegrationChannel);\n const ESResAggregation = await apiService.getElasticLogDateFilter(\n sentinel,\n jid,\n validStartDate,\n validEndDate,\n token,\n integrationIds,\n categoryJids,\n { ...payloadParams, for_aggs: true }\n );\n\n dispatch({\n type: SET_ANALYTICS_AGGREGATIONS_DATA,\n payload: {\n data: ESResAggregation.data.report[0],\n filters: {\n startDate,\n endDate,\n categories: categoryJids,\n integrations: integrationIds,\n },\n },\n });\n };\n\n const fetchESAnalyticsTableData = async (startDate, endDate, fetchParams) => {\n setTableSpinner(true);\n try {\n const payloadParams = getMetricsParams(fetchParams);\n const validStartDate = convertToStartOfDay(startDate);\n const validEndDate = convertToEndOfDay(endDate);\n const categoryJids = getKeyFromList(selectedCategories);\n const integrationIds = getKeyFromList(selectedIntegrationChannel);\n const ESResAggregation = await apiService.getElasticLogDateFilter(\n sentinel,\n jid,\n validStartDate,\n validEndDate,\n token,\n integrationIds,\n categoryJids,\n {\n ...omit(payloadParams, 'selectedTableView'),\n total: aggregations.totalQuestions,\n }\n );\n dispatch({\n type: SET_ANALYTICS_TABLE_DATA,\n payload: {\n data: ESResAggregation.data.report[0],\n startDate,\n endDate,\n },\n });\n } catch (error) {}\n setTableSpinner(false);\n };\n\n const handleShowSessionCallbacks = async row => {\n setSelectedSessionID(row.sessionID);\n dispatch({\n type: SET_CALLBACK_MODAL_SESSION_DETAILS,\n payload: {\n data: row,\n sessionId: row.sessionID,\n },\n });\n setShowModal(true);\n };\n\n // switched from state to memoised sessionData\n const sessionData = useMemo(() => {\n switch (selectedTableView) {\n case PERFORMANCE_METRICS_DEFAULT_ANSWERS:\n case QUESTION_LOGS:\n return allQuestions;\n case PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS:\n return tableData?.negativeFeedbackQuestions;\n case PERFORMANCE_METRICS_INCORRECT_QUESTIONS:\n return tableData?.incorrectQuestions;\n default:\n return [];\n }\n }, [selectedTableView, tableData]);\n\n const handleCloseSessionCallbacks = () => {\n setSelectedSessionID(null);\n setCallbackInteractionIDs([]);\n setShowModal(false);\n };\n\n const handleCloseInteractionFeedback = () => {\n setSelectedInteractionID(null);\n };\n\n const fetchAllIntegrations = async () => {\n try {\n const allIntegrations = await getBotIntegrations(\n sentinel,\n WITH_PREFIX_BOT_JID,\n token\n );\n dispatch({\n type: SET_INTEGRATIONS,\n payload: allIntegrations,\n });\n } catch (error) {\n message.error(error.message);\n }\n };\n\n useEffect(() => {\n if (\n isPageReady &&\n sentinel &&\n !isFreeUser &&\n typeof integrations === 'undefined'\n ) {\n fetchAllIntegrations();\n }\n }, [isPageReady, isFreeUser, sentinel]);\n\n useEffect(() => {\n const questions = allQuestions;\n const tagsList = [\n {\n tag: 'All',\n count: questions?.length,\n },\n ];\n const tagsTree = {};\n const tagColorTree = {};\n const questionList = [];\n\n if (questions && questions.length) {\n for (const question of questions) {\n if (!tagsTree[question.question_group]) {\n tagsTree[question.question_group] = 1;\n } else {\n tagsTree[question.question_group]++;\n }\n questionList.push({\n ...question,\n selected: false,\n });\n }\n }\n\n for (const tag of Object.keys(tagsTree)) {\n tagsList.push({\n tag,\n count: tagsTree[tag],\n });\n\n tagColorTree[tag] = '#' + generateRandomColor();\n }\n }, []);\n\n useEffect(() => {\n if (categoryQueryParamsFilter) {\n setSelectedCategories([categoryQueryParamsFilter]);\n setFilters([...filters, 'category']);\n }\n }, [categoryQueryParamsFilter]);\n\n useEffect(() => {\n if (!filters?.length) {\n setSelectedCategories([]);\n setSelectedIntegrationChannel([]);\n }\n }, [filters]);\n\n const whiteListLogs = (excludedKeys, obj) => {\n excludedKeys.forEach(function (key) {\n delete obj[key];\n });\n return obj;\n };\n\n const handleChangeFilters = (e, args) => {\n if (e?.key) {\n if (filters.includes(e.key)) {\n setFilters(filters.filter(f => f !== e.key));\n } else {\n setFilters([...filters, e.key]);\n }\n }\n };\n\n const handleXLSXDownloadQlogs = () => {\n const excludedKeys = ['type', 'logType', 'key'];\n const questions = allQuestions;\n const xlsxData = questions\n .map(item => {\n item['sessionID'] = !item?.sessionID ? 'N/A' : item.sessionID;\n item['visitorID'] = !item?.visitorID ? 'N/A' : item.visitorID;\n item['channel'] = !item?.channel ? 'N/A' : item.channel;\n item['interactionID'] = !item?.interactionID\n ? 'N/A'\n : item.interactionID;\n item['feedback'] =\n item?.feedback === 0\n ? 'Dislike'\n : item.feedback === 1\n ? 'Like'\n : 'N/A';\n\n return whiteListLogs(excludedKeys, item);\n })\n // rename keys\n .map(i => {\n return {\n 'Session ID': i.sessionID || 'N/A',\n Question: i.question,\n 'Visitor ID': i.visitorID || 'N/A',\n Authenticated: i.isAuthenticated || 'N/A',\n Feedback: i.feedback || 'N/A',\n Date: i.date,\n Channel: i.channel || 'N/A',\n 'Answer Text': i.answer?.text,\n 'Answer Show Text': extractDisplayAnswer(i.answer),\n };\n });\n\n const worksheet = XLSX.utils.json_to_sheet(xlsxData);\n const workbook = XLSX.utils.book_new();\n XLSX.utils.book_append_sheet(workbook, worksheet, 'ZSB Question Logs');\n XLSX.writeFile(workbook, 'zsb-qlogs.xlsx');\n };\n\n const handleCSVDownloadQlogs = async () => {\n setPageLoading(true);\n const { validStartDate, validEndDate } = parseToStartAndEndOfDayISODate();\n const categoryJids = getKeyFromList(selectedCategories);\n const integrationIds = getKeyFromList(selectedIntegrationChannel);\n const payloadParams = getMetricsParams(params);\n const ESRes = await apiService.getElasticLogDateFilter(\n sentinel,\n jid,\n validStartDate,\n validEndDate,\n token,\n integrationIds,\n categoryJids,\n { ...payloadParams, size: aggregations?.totalQuestions }\n );\n\n let unpaginatedData = extractESAnalyticsData(\n ESRes.data.report[0]?.hits?.hits\n );\n\n if (selectedTableView === QUESTION_WITH_POSITIVE_FEEDBACK) {\n unpaginatedData = unpaginatedData.filter(i => i.feedback === 1);\n } else if (selectedTableView === QUESTION_WITH_NEGATIVE_FEEDBACK) {\n unpaginatedData = unpaginatedData.filter(i => i.feedback === 0);\n }\n\n const titleColumn = [\n 'Session ID,',\n 'Question,',\n 'Category,',\n 'Visitor ID,',\n 'Authenticated,',\n 'Feedback,',\n 'Date,',\n 'Channel,',\n 'Answer Text,',\n 'Display Answer,',\n '\\n',\n ];\n const fileData = unpaginatedData.map(item => {\n const sessionID = !item?.sessionID ? 'N/A' : item.sessionID;\n const visitorID = !item?.visitorID ? 'N/A' : item.visitorID;\n const isAuthenticated = !item?.isAuthenticated\n ? 'N/A'\n : item.isAuthenticated;\n const channel = !item?.channel ? 'N/A' : item.channel;\n const category = !item?.category?.name ? 'N/A' : item.category?.name;\n const feedback =\n item?.feedback === 0 ? 'Dislike' : item.feedback === 1 ? 'Like' : 'N/A';\n\n return (\n sessionID +\n ',' +\n escapeCSV(`${item.question}`) +\n ',' +\n category +\n ',' +\n visitorID +\n ',' +\n isAuthenticated +\n ',' +\n feedback +\n ',' +\n item.date +\n ',' +\n channel +\n ',' +\n escapeCSV(`${item.answer?.text}`) +\n ',' +\n escapeCSV(`${extractDisplayAnswer(item.answer)}`) +\n '\\n'\n );\n });\n const blob = new Blob(['\\ufeff', ...titleColumn, ...fileData], {\n type: 'text/csv',\n });\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.download = 'zsb-qlogs.csv';\n link.href = url;\n link.click();\n setPageLoading(false);\n };\n\n const handleClickedQuality = async validation => {\n const tableDiv = document.getElementById('table');\n tableDiv.scrollIntoView({ behavior: 'smooth' }, true);\n handleOnSelect(\n validation === 1\n ? CORRECT_QUESTIONS\n : validation === 0\n ? INCORRECT_QUESTIONS\n : QUESTION_LOGS\n );\n };\n\n const handleChangePageNumber = pageNumber => {\n const newParams = {\n ...params,\n size: params.size,\n page: pageNumber,\n from: pageNumber * params.size - params.size,\n };\n setParams(newParams);\n fetchESAnalyticsTableData(\n dateFilter.startDate,\n dateFilter.endDate,\n newParams\n );\n };\n\n const parseToStartAndEndOfDayISODate = () => {\n const { startDate, endDate } = dateFilter;\n\n var validStartDate = convertToStartOfDay(startDate);\n var validEndDate = convertToEndOfDay(endDate);\n\n return { validStartDate, validEndDate };\n };\n\n const handleTableChange = (pagination, filters, sorter) => {\n const newParams = {\n ...params,\n size: MAX_TABLE_ITEMS_PER_PAGE,\n sort: {\n [sortFields(snakeCase(sorter.field))]:\n sorter.order === 'ascend' ? 'asc' : 'desc',\n },\n };\n setSessionFilteredInfo(filters.sessionID);\n setParams(newParams);\n fetchESAnalyticsTableData(\n dateFilter.startDate,\n dateFilter.endDate,\n newParams\n );\n };\n\n const sortFields = field => {\n switch (field) {\n case 'visitorID':\n return `metadata.${field}`;\n case 'date':\n return `datetime`;\n case 'validation':\n return `validation`;\n case 'channel':\n return `metadata.${field}.keyword`;\n case 'sessionID':\n return `metadata.${field}.keyword`;\n default:\n return `${field}.raw`;\n }\n };\n\n const expandTable = logData => {\n const logDetails = [\n {\n field: 'Question',\n value: logData.question,\n forMobileViewOnly: false,\n },\n {\n field: 'Visitor ID',\n value: (\n
    \n {!!logData?.visitorID ? logData?.visitorID : 'N/A'}\n
    \n ),\n forMobileViewOnly: true,\n },\n {\n field: 'Date',\n value: () => {\n const localDate = UTCToLocal(new Date(logData?.date));\n return
    {getLocalTimeString(localDate)}
    ;\n },\n forMobileViewOnly: true,\n },\n {\n field: 'Channel',\n value:
    {logData?.channel || 'N/A'}
    ,\n forMobileViewOnly: true,\n },\n {\n field: 'Category',\n value: () => {\n const categoryName =\n logData?.category && typeof logData?.category === 'string'\n ? logData?.category\n : isAnObject(logData?.category) && logData?.category.name\n ? logData?.category?.name\n : 'N/A';\n return
    {categoryName}
    ;\n },\n forMobileViewOnly: true,\n },\n {\n field: 'Source',\n value: logData?.answer?.url || logData?.answer?.text,\n forMobileViewOnly: false,\n },\n {\n field: 'Display Answer',\n value: (\n \n ),\n forMobileViewOnly: false,\n },\n {\n field: 'Answer Type',\n value: logData.type,\n forMobileViewOnly: false,\n },\n {\n field: 'Authenticated',\n value: logData.isAuthenticated && logData.isAuthenticated,\n forMobileViewOnly: false,\n },\n {\n field: 'Feedback',\n value:\n logData.feedback === 1 ? (\n \n ) : logData.feedback === 0 ? (\n \n ) : null,\n forMobileViewOnly: false,\n },\n {\n field: 'Intents',\n value: logData.intent && JSON.stringify(logData.intent),\n forMobileViewOnly: false,\n },\n {\n field: 'References',\n value: logData.references && JSON.stringify(logData.references),\n forMobileViewOnly: false,\n },\n {\n field: 'Category',\n value: logData.category?.name || logData.category?.label,\n forMobileViewOnly: false,\n },\n {\n field: 'Channel',\n value: logData.channel,\n forMobileViewOnly: false,\n },\n {\n field: 'Sentiments',\n value: JSON.stringify(logData.sentiments),\n forMobileViewOnly: false,\n },\n {\n field: 'Named Entities',\n value: JSON.stringify(logData.named_entities),\n forMobileViewOnly: false,\n },\n {\n field: 'Detected Language',\n value: logData.detected_language,\n forMobileViewOnly: false,\n },\n {\n field: 'Target Language',\n value: logData.target_language,\n forMobileViewOnly: false,\n },\n {\n field: 'Translation',\n value: logData.translation,\n forMobileViewOnly: false,\n },\n {\n field: 'Translation Message',\n value: JSON.stringify(logData.translation_messages),\n forMobileViewOnly: false,\n },\n {\n field: 'Asking Messages',\n value: JSON.stringify(logData.asking_messages),\n forMobileViewOnly: false,\n },\n {\n field: 'Visitor ID',\n value: logData.visitorID,\n forMobileViewOnly: false,\n },\n {\n field: 'Sequence',\n value: logData.sequence,\n forMobileViewOnly: false,\n },\n ];\n Object.keys(logDetails).forEach(key => {\n if (\n logDetails[key]?.value === null ||\n logDetails[key]?.value === undefined\n ) {\n delete logDetails[key];\n }\n });\n setSelectedLog(logDetails);\n setMaximizeTableColumn(true);\n };\n\n const handlePanelChange = (selectedPanel, value) => {\n setSequenceActivePannel(selectedPanel);\n setSelectedPanelDetails(null);\n if (selectedPanel !== 'generalInfo') {\n const sequenceList = value?.find(\n sequence => sequence.type === selectedPanel\n );\n if (sequenceList) {\n const sequenceDetails = Object.entries(sequenceList)?.map(seq => ({\n field: seq[0],\n value: JSON.stringify(seq[1]),\n }));\n setSelectedPanelDetails(\n sequenceDetails.filter(\n seq => seq?.field !== 'type' && seq?.value !== 'null'\n )\n );\n }\n }\n };\n\n const handleShowMarkQuestionModal = (questionID, validation) => {\n setValidationDetails({\n source_id: questionID,\n validation: validation,\n });\n setShowConfirmQuestionValidation(true);\n };\n\n const handleValidateQuestion = async () => {\n try {\n setModalIsLoading(true);\n const response = await apiService.updateQuestionValidation(\n sentinel,\n jid,\n token,\n validationDetails\n );\n\n if (response.status === 200 || response.data.success) {\n setValidationDetails(null);\n dispatch({\n type: VALIDATE_QUESTION_FROM_ANALYTICS,\n payload: { data: validationDetails },\n });\n setShowConfirmQuestionValidation(false);\n setModalIsLoading(false);\n await message.success('Question validation successfully updated.');\n } else {\n setModalIsLoading(false);\n setValidationDetails(null);\n setShowConfirmQuestionValidation(false);\n throw new Error(DEFAULT_ERROR_MESSAGE);\n }\n } catch (error) {\n setModalIsLoading(false);\n setValidationDetails(null);\n setShowConfirmQuestionValidation(false);\n message.error(error.message || 'Something went wrong. Try again later.');\n }\n };\n\n useEffect(() => {\n setShowPagination(\n selectedTableView === QUESTION_LOGS ||\n selectedTableView === CORRECT_QUESTIONS ||\n selectedTableView === INCORRECT_QUESTIONS ||\n selectedTableView === PERFORMANCE_METRICS_INCORRECT_QUESTIONS ||\n selectedTableView === PERFORMANCE_METRICS_DEFAULT_ANSWERS ||\n selectedTableView === PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS ||\n selectedTableView === QUESTION_WITH_POSITIVE_FEEDBACK ||\n selectedTableView === QUESTION_WITH_NEGATIVE_FEEDBACK\n );\n }, [selectedTableView]);\n\n return {\n chartData,\n callbackInteractionIDs,\n dateFilter,\n handleChangeDataFilterButton,\n handleChangeIntegrationSelection,\n handleChangeCategories,\n handleCloseAddTestSuiteModal,\n handleCloseInteractionFeedback,\n handleCloseSessionCallbacks,\n handleDateFilterChange,\n handleCSVDownloadQlogs,\n handleXLSXDownloadQlogs,\n handleOnSelect,\n handleShowSessionCallbacks,\n handleClickedQuality,\n handleChangePageNumber,\n integrationFilterOptions,\n isFreeUser,\n pageLoading,\n questionForTestSuite,\n selectedInteractionID,\n selectedTableView,\n selectedSessionID,\n sessionFilters,\n showAddQuestionToTestSuiteModal,\n showModal,\n tableSpinner,\n aggregations,\n params,\n showPagination,\n handleTableChange,\n sessionFilteredInfo,\n isPerformanceMetricsView,\n tableViewList,\n maximizeTableColumn,\n selectedLog,\n setMaximizeTableColumn,\n expandTable,\n showConfirmQuestionValidation,\n handleShowMarkQuestionModal,\n validationDetails,\n setShowConfirmQuestionValidation,\n handleValidateQuestion,\n modalIsLoading,\n sessionData,\n allQuestions,\n tableData,\n categoryFilter,\n graphSpinner,\n isPageReady,\n selectedCategories,\n showFilterDropdown,\n setShowFilterDropdown,\n filters,\n setFilters,\n handleChangeFilters,\n handlePanelChange,\n sequenceActivePannel,\n setSequenceActivePannel,\n selectedPanelDetails,\n isMobileView,\n smallFont,\n };\n};\n\nexport default useAnalytics;\n","import styled, { css } from 'styled-components';\nimport { MoreOutlined, LikeFilled, DislikeTwoTone } from '@ant-design/icons';\nimport { Column } from '@ant-design/plots';\nimport { Col, Dropdown, Row } from 'antd';\nimport Button from 'components/Button';\nimport { cssVariables } from '../../../styles/root';\nimport Select from 'components/Select';\n\nexport const CardsWrapper = styled(Row)`\n // display: flex;\n // align-items: center;\n // justify-content: space-between;\n // margin: 20px 0;\n // gap: 5px;\n // height: 180px;\n\n @media (max-width: 768px) {\n // height: 120px;\n // max-width: 94% !important;\n h1 {\n font-size: 30px !important;\n }\n }\n`;\n\nexport const ChartWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin: 20px 0;\n width: 100%;\n height: 200px;\n h4 {\n align-items: start;\n text-align: left;\n font-size: 14px;\n font-weight: ${cssVariables.font.bold};\n color: ${props => props.theme.gray0};\n text-transform: capitalize;\n }\n\n canvas {\n width: 100% !important;\n }\n`;\n\nexport const StyledColumnChart = styled(Column)`\n margin: 0 10px;\n width: 100%;\n`;\n\nexport const DataSummaryCard = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: ${props => (props.modalCard ? '200' : '350')}px;\n width: 100%;\n background-color: #fff;\n border: 1px solid ${cssVariables.gray1};\n padding: 24px;\n height: ${props => (props.modalCard ? '110px' : '100%')};\n\n div:first-child {\n font-size: 1rem;\n text-transform: uppercase;\n color: ${cssVariables.gray0};\n font-weight: ${cssVariables.font.bold};\n text-align: center;\n }\n\n div:nth-child(2) {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-around;\n ${props =>\n props.clickableFooter\n ? css`\n h1 {\n cursor: pointer;\n }\n `\n : ''}\n }\n\n h1 {\n font-size: ${props => (props.modalCard ? 24 : 42)}px;\n margin-bottom: 0;\n }\n\n span div {\n font-size: 14px !important;\n }\n\n @media (max-width: 768px) {\n padding: 10px;\n .anticon {\n font-size: 18px !important;\n }\n\n h1 {\n font-size: 20px !important;\n }\n\n div:first-child {\n font-size: 10px;\n text-transform: uppercase;\n color: ${cssVariables.gray0};\n font-weight: ${cssVariables.font.bold};\n text-align: center;\n }\n\n div:nth-child(3) {\n font-size: 10px !important;\n }\n }\n\n div:nth-child(3) {\n font-size: 12px;\n line-height: 14px;\n text-transform: capitalize;\n text-align: center;\n padding-bottom: ${props => (props.noFooter ? '25px' : '15px')};\n color: ${props =>\n props.feedback === 'positive' || !props.feedback\n ? cssVariables.success\n : props.feedback === 'negative'\n ? cssVariables.red10\n : cssVariables.primaryBlue};\n\n ${props =>\n props.clickableFooter\n ? css`\n cursor: pointer;\n .anticon {\n font-size: 18px !important;\n padding: 0;\n }\n display: flex;\n justify-content: space-around;\n width: 100%;\n `\n : ``}\n }\n`;\n\nexport const StyledDatePickerButton = styled(Button)`\n padding: 3px 12px;\n height: 30px;\n margin-left: 5px;\n`;\n\nexport const StyledGhostDropdown = styled(Dropdown)`\n white-space: nowrap;\n border: 1px solid ${props => props.theme.gray2} !important;\n background-color: #fff;\n color: ${props => props.theme.primaryColor} !important;\n display: flex;\n justify-content: space-between;\n width: 25%;\n font-size: 14px;\n`;\n\nexport const StyledFiltersSelect = styled(Select)`\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-direction: row;\n font-size: 14px;\n\n .ant-select {\n min-width: 200px;\n width: 100%;\n }\n label {\n color: ${cssVariables.gray0};\n width: 100%;\n }\n`;\n\nexport const StyledFilterWrapper = styled(Row)`\n margin: 2% 0;\n`;\n\nexport const StyledExpandedRow = styled.div`\n width: 100%;\n word-break: break-all;\n display: flex;\n flex-direction: column;\n\n img {\n width: 100%;\n }\n`;\n\nexport const StyledRoot = styled.div`\n width: 100%;\n`;\n\nexport const StyledMetric = styled.div`\n position: relative;\n margin-top: 16px;\n`;\n\nexport const StyledMetricPeriodFilter = styled.div`\n display: flex;\n border: 1px solid #e5e8e9;\n border-radius: 3px;\n position: absolute;\n top: -56px;\n right: 0px;\n`;\n\nexport const StyledDateFilterLabel = styled(Col)`\n font-size: 1rem;\n color: #33363c;\n margin-right: 8px;\n`;\n\nexport const StyledQuestionsList = styled.div`\n margin-top: 12px;\n`;\n\nexport const StyledQuestion = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n\n > span:first-child {\n word-break: break-word;\n }\n`;\n\nexport const StyledQuestions = styled.div`\n margin-top: 10px;\n`;\n\nexport const StyledMore = styled(MoreOutlined)`\n transform: rotate(-90deg);\n padding: 10px;\n margin-left: 10px;\n color: #98a5ac;\n\n &:hover {\n background: ${cssVariables.gray4};\n border-radius: 50%;\n }\n`;\n\nexport const StyledColumnClickable = styled.div`\n font-size: 12px;\n cursor: pointer;\n\n &:hover {\n color: #1667e7;\n text-decoration: underline;\n }\n`;\n\nexport const StyledFeedbackThumbsUpIcon = styled(LikeFilled)`\n font-size: 20px;\n color: #e5e111;\n`;\n\nexport const StyledFeedbackThumbsDownIcon = styled(DislikeTwoTone)`\n font-size: 20px;\n`;\n\nexport const StyledShowAnswer = styled.div`\n margin-top: 10;\n`;\n\nexport const RowSpaceBetween = styled(Row)`\n display: flex;\n width: 100%;\n justify-content: space-between;\n`;\n\nexport const DataSummaryCardBotQuality = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 350px;\n width: 100%;\n background-color: #fff;\n border: 1px solid ${cssVariables.gray1};\n padding: 24px;\n height: 100%;\n\n h1 {\n font-size: 25px !important;\n }\n\n div:first-child {\n font-size: 12px;\n text-transform: uppercase;\n color: ${cssVariables.gray0};\n font-weight: ${cssVariables.font.bold};\n text-align: center;\n cursor: pointer;\n }\n\n div:nth-child(2) {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-around;\n cursor: pointer;\n }\n\n div:nth-child(3) {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-around;\n padding-top: 5px;\n cursor: pointer;\n }\n\n .anticon {\n font-size: 25px;\n margin-top: 10px;\n cursor: pointer;\n }\n`;\n\nexport const KeyMetricsSummaryCard = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 350px;\n width: 100%;\n background-color: #fff;\n border: 1px solid ${cssVariables.gray1};\n padding: 24px;\n height: 100%;\n cursor: pointer;\n\n div:first-child {\n font-size: 12px;\n text-transform: uppercase;\n color: ${cssVariables.gray0};\n font-weight: ${cssVariables.font.bold};\n text-align: center;\n }\n\n div:nth-child(2) {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-around;\n }\n\n h1 {\n font-size: 42px;\n margin-bottom: 0;\n }\n\n span div {\n font-size: 14px !important;\n }\n\n @media (max-width: 768px) {\n padding: 10px;\n .anticon {\n font-size: 18px !important;\n }\n\n h1 {\n font-size: 20px !important;\n }\n\n div:first-child {\n font-size: 10px;\n text-transform: uppercase;\n color: ${cssVariables.gray0};\n font-weight: ${cssVariables.font.bold};\n text-align: center;\n }\n\n div:nth-child(3) {\n font-size: 10px !important;\n }\n }\n\n background-color: ${props => (props.active ? '#e6f7ff' : 'none')};\n`;\n\nexport const KeyMetricsCardsWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 20px 0;\n gap: 5px;\n height: 180px;\n\n @media (max-width: 768px) {\n height: 120px;\n max-width: 94% !important;\n h1 {\n font-size: 30px !important;\n }\n }\n\n .active {\n background-color: #e6f7ff;\n border: 1px solid ${cssVariables.primaryBlue};\n }\n`;\n\nexport const StyledExpandedTableTitle = styled.h5`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.normal};\n font-size: 18px;\n line-height: 24px;\n color: #000;\n\n .anticon {\n font-size: 12px;\n }\n`;\n\nexport const StyledSequenceContainer = styled.div`\n padding: 2px 0px;\n\n .ant-collapse > .ant-collapse-item > .ant-collapse-header {\n background: #f0f2f5;\n }\n\n .ant-table-thead > tr > th {\n font-weight: 700 !important;\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Modal from '../GenericModal';\n\nconst ConfirmQuestionValidation = ({\n validationDetails,\n loading,\n modalTitle,\n show,\n ...rest\n}) => {\n return (\n \n
    {`Are you sure you want to mark this as ${\n validationDetails?.validation === 0 ? 'incorrect' : 'correct'\n }?`}
    \n \n );\n};\n\nConfirmQuestionValidation.propTypes = {\n itemTobeDeleted: PropTypes.string,\n loading: PropTypes.bool,\n modalTitle: PropTypes.string,\n show: PropTypes.bool.isRequired,\n};\n\nexport default ConfirmQuestionValidation;\n","/* eslint-disable react/display-name */\nimport React, { useMemo, useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport {\n Spin,\n Table,\n Dropdown,\n Menu,\n Row,\n Col,\n Pagination,\n Space,\n Drawer,\n Checkbox,\n Tag,\n Collapse,\n Grid,\n} from 'antd';\nimport { useReactToPrint } from 'react-to-print';\nimport {\n FolderAddOutlined,\n LockTwoTone,\n CaretDownOutlined,\n SmileOutlined,\n DownloadOutlined,\n CheckOutlined,\n CloseOutlined,\n CheckCircleFilled,\n CloseCircleFilled,\n ArrowsAltOutlined,\n FilterFilled,\n ArrowRightOutlined,\n} from '@ant-design/icons';\nimport { startCase } from 'lodash';\n\nimport Title from 'components/Title';\nimport AddQuestionToTestSuiteModal from 'components/Modals/AddQuestionToTestSuiteModal';\nimport CallbackModal from 'components/Modals/CallbackModal';\nimport FeedbackModal from 'components/Modals/FeedbackModal';\nimport DateFilter from 'components/DateFilter';\nimport { UTCToLocal, getLocalTimeString } from 'utils/dates';\nimport { stringLocaleCompare } from 'utils/stringManipulation';\nimport useAnalytics from './hooks';\nimport {\n CardsWrapper,\n ChartWrapper,\n StyledColumnChart,\n DataSummaryCard,\n StyledDatePickerButton,\n StyledGhostDropdown,\n StyledExpandedRow,\n StyledRoot,\n StyledMetric,\n StyledMetricPeriodFilter,\n StyledDateFilterLabel,\n StyledQuestionsList,\n StyledQuestion,\n StyledQuestions,\n StyledMore,\n StyledShowAnswer,\n StyledFiltersSelect,\n RowSpaceBetween,\n KeyMetricsSummaryCard,\n KeyMetricsCardsWrapper,\n StyledExpandedTableTitle,\n StyledFilterWrapper,\n StyledSequenceContainer,\n} from './Analytics.styles';\nimport LimitationBanner from 'components/LimitationBanner';\nimport { cssVariables } from 'styles/root';\nimport Button from 'components/Button';\nimport moment from 'moment';\nimport ToolTip from 'components/ToolTips/BaseToolTip';\nimport {\n CORRECT_QUESTIONS,\n INCORRECT_QUESTIONS,\n INTENTS,\n MOST_ASKED_QUESTION,\n PERFORMANCE_METRICS_DEFAULT_ANSWERS,\n PERFORMANCE_METRICS_INCORRECT_QUESTIONS,\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS,\n QUESTION_LOGS,\n QUESTION_WITH_NEGATIVE_FEEDBACK,\n QUESTION_WITH_POSITIVE_FEEDBACK,\n TOOLTIPS,\n} from 'constants/analytics';\nimport ConfirmQuestionValidation from 'components/Modals/ConfirmQuestionValidation';\nimport { isAnObject } from 'utils/dataTypes';\nimport { AnswerRenderer } from 'components/AnswerRenderer';\nimport {\n StyledFlexColumn,\n StyledFlexRowLeft,\n} from 'styles/GenericStyledComponents';\n\nconst { Panel } = Collapse;\nconst { useBreakpoint } = Grid;\nconst EXPORT_TO_EXCEL =\n process.env.REACT_APP_EXPORT_TO_EXCEL === 'true' ? true : false;\n\nconst FILTER_SELECT_OPTIONS = [\n {\n label: 'Category',\n value: 'category',\n key: 'category',\n },\n {\n label: 'Integration',\n value: 'integration',\n key: 'integration',\n },\n];\n\nconst Analytics = ({ handleShowAddTestSuiteModal }) => {\n const {\n chartData,\n dateFilter,\n handleChangeDataFilterButton,\n handleChangeIntegrationSelection,\n handleChangeCategories,\n handleCloseAddTestSuiteModal,\n handleCloseInteractionFeedback,\n handleCloseSessionCallbacks,\n handleDateFilterChange,\n handleCSVDownloadQlogs,\n handleXLSXDownloadQlogs,\n handleOnSelect,\n handleShowSessionCallbacks,\n handleClickedQuality,\n handleChangePageNumber,\n integrationFilterOptions,\n isFreeUser,\n pageLoading,\n questionForTestSuite,\n selectedInteractionID,\n selectedTableView,\n selectedSessionID,\n sessionFilters,\n showAddQuestionToTestSuiteModal,\n showModal,\n tableSpinner,\n aggregations,\n params,\n showPagination,\n handleTableChange,\n sessionFilteredInfo,\n isPerformanceMetricsView,\n tableViewList,\n maximizeTableColumn,\n selectedLog,\n setMaximizeTableColumn,\n expandTable,\n showConfirmQuestionValidation,\n handleShowMarkQuestionModal,\n validationDetails,\n setShowConfirmQuestionValidation,\n handleValidateQuestion,\n modalIsLoading,\n sessionData,\n allQuestions,\n tableData,\n categoryFilter,\n graphSpinner,\n isPageReady,\n selectedCategories,\n showFilterDropdown,\n setShowFilterDropdown,\n filters,\n handleChangeFilters,\n setFilters,\n handlePanelChange,\n sequenceActivePannel,\n selectedPanelDetails,\n isMobileView,\n smallFont,\n } = useAnalytics();\n const componentRef = useRef();\n const screens = useBreakpoint();\n const handlePrint = useReactToPrint({\n content: () => componentRef.current,\n pageStyle: `margin: 20px`,\n });\n const { startDate, endDate } = dateFilter;\n const rangePickerStyle = {\n width: screens.xs ? '100%' : 'auto',\n padding: screens.xs ? '8px 12px' : 'auto',\n };\n\n const dropdownStyle = {\n width: screens.xs ? '100%' : 'auto',\n };\n\n const questionDropdownMenu = (question, id, validation) => (\n \n }\n onClick={() => handleShowAddTestSuiteModal(question)}\n >\n {'Add to Test Suite'}\n \n {validation !== 1 && (\n }\n onClick={() => handleShowMarkQuestionModal(id, 1)}\n >\n {'Mark as Correct'}\n \n )}\n {validation !== 0 && (\n }\n onClick={() => handleShowMarkQuestionModal(id, 0)}\n >\n {'Mark as Incorrect'}\n \n )}\n \n );\n\n const getTablePaginatedTotal = () => {\n if (\n [QUESTION_LOGS, PERFORMANCE_METRICS_DEFAULT_ANSWERS].includes(\n selectedTableView\n )\n ) {\n return allQuestions?.length;\n } else if (selectedTableView === MOST_ASKED_QUESTION) {\n return tableData?.mostAskedQuestions?.length;\n } else if (selectedTableView === QUESTION_WITH_POSITIVE_FEEDBACK) {\n return tableData?.positiveFeedbackQuestions?.length;\n } else if (\n [\n QUESTION_WITH_NEGATIVE_FEEDBACK,\n PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS,\n ].includes(selectedTableView)\n ) {\n return tableData?.negativeFeedbackQuestions?.length;\n } else if (selectedTableView === INTENTS) {\n return tableData?.intents?.length;\n } else if (selectedTableView === CORRECT_QUESTIONS) {\n return tableData.correctQuestions?.length;\n } else if (selectedTableView === INCORRECT_QUESTIONS) {\n return tableData.incorrectQuestions?.length;\n }\n return 0;\n };\n\n const getCurrentTableViewTotalQuestions = () => {\n switch (selectedTableView) {\n case PERFORMANCE_METRICS_DEFAULT_ANSWERS:\n return aggregations.answerCountEachType?.defaultAnswerCount;\n case CORRECT_QUESTIONS:\n return aggregations.totalCorrectValidation;\n case INCORRECT_QUESTIONS:\n return aggregations.totalIncorrectValidation;\n case MOST_ASKED_QUESTION:\n return aggregations.tableData.mostAskedQuestionsData?.length || 0;\n case INTENTS:\n return aggregations.tableData.intentsData?.length || 0;\n case QUESTION_WITH_NEGATIVE_FEEDBACK:\n case PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS:\n return aggregations.dislikes;\n case QUESTION_WITH_POSITIVE_FEEDBACK:\n return aggregations.likes;\n case QUESTION_LOGS:\n return aggregations.totalQuestions;\n default:\n return 0;\n }\n };\n\n const allQuestionsTableData = [\n {\n title: '',\n align: 'right',\n dataIndex: 'maximizeTable',\n width: '2%',\n render: (value, row) => (\n expandTable(row)} />\n ),\n\n responsive: ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'],\n },\n {\n title: 'Sessions',\n align: 'center',\n dataIndex: 'sessionID',\n width: '20%',\n sorter: {},\n filters: sessionFilters,\n filteredValue: sessionFilteredInfo || null,\n onFilter: (value, row) => {\n if (value === 'undefined') {\n return !row.sessionID;\n } else {\n return row.sessionID && row.sessionID.includes(value);\n }\n },\n render: (sessionID, row) => {\n if (sessionID) {\n return (\n handleShowSessionCallbacks(row)}\n variant=\"link\"\n style={smallFont}\n />\n );\n } else {\n return 'N/A';\n }\n },\n responsive: ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'],\n },\n {\n title: `Question (${getTablePaginatedTotal()})`,\n dataIndex: 'question',\n width: '40%',\n render: (question, questionDetails) => {\n return (\n \n {question}\n \n \n \n \n );\n },\n responsive: ['xxl', 'xl', 'lg', 'md', 'sm', 'xs'],\n },\n {\n title: 'Visitor ID',\n align: 'center',\n dataIndex: 'visitorID',\n sorter: {},\n render: visitorID => (\n
    {!!visitorID ? visitorID : 'N/A'}
    \n ),\n responsive: ['xxl', 'xl', 'lg'],\n },\n {\n title: 'Date',\n align: 'center',\n dataIndex: 'date',\n width: '20%',\n defaultSortOrder: 'ascend',\n sorter: {},\n render: date => {\n const localDate = UTCToLocal(new Date(date));\n return
    {getLocalTimeString(localDate)}
    ;\n },\n responsive: ['xxl', 'xl', 'lg'],\n },\n {\n title: 'Channel',\n align: 'center',\n dataIndex: 'channel',\n sorter: {},\n onFilter: (value, row) => {\n if (value === 'undefined') {\n return !row.channel;\n } else {\n const matchChannel = new RegExp(`^${value}$`);\n return row?.channel && row?.channel.match(matchChannel);\n }\n },\n render: channel =>
    {channel || 'N/A'}
    ,\n responsive: ['xxl', 'xl', 'lg'],\n },\n {\n title: 'Category',\n align: 'center',\n dataIndex: 'category',\n render: category => {\n const categoryName =\n category && typeof category === 'string'\n ? category\n : isAnObject(category) && category.name\n ? category?.name\n : 'N/A';\n return
    {categoryName}
    ;\n },\n responsive: ['xxl', 'xl', 'lg'],\n },\n ];\n\n const allQuestionsExpandedTableData = [\n {\n title: 'Fields',\n align: 'center',\n dataIndex: 'field',\n sorter: {\n compare: (a, b) => stringLocaleCompare(a.field, b.field),\n },\n },\n {\n title: 'Value',\n dataIndex: 'value',\n align: 'center',\n width: '80%',\n },\n ];\n\n const mostAskedQuestionsTableData = [\n {\n title: 'Count',\n align: 'center',\n dataIndex: 'count',\n width: '12%',\n sorter: (a, b) => b.count - a.count,\n },\n {\n title: `Question (${getTablePaginatedTotal()})`,\n dataIndex: 'question',\n sorter: {\n compare: (a, b) => stringLocaleCompare(a.question, b.question),\n },\n },\n ];\n\n const intentsTableData = [\n {\n title: 'Count',\n align: 'center',\n dataIndex: 'count',\n width: '12%',\n sorter: (a, b) => b.count - a.count,\n },\n {\n title: `Intents (${getTablePaginatedTotal()})`,\n dataIndex: 'intents',\n sorter: {\n compare: (a, b) => stringLocaleCompare(a.intents, b.intents),\n },\n },\n ];\n\n const filteredColumns = allQuestionsTableData.filter(col => {\n if (!col.responsive) {\n return true;\n }\n return col.responsive.some(bp => screens[bp]);\n });\n\n const expandable = {\n // eslint-disable-next-line react/display-name\n expandedRowRender: data => (\n \n \n {'Answer'}  \n \n \n {'Type'}:   {startCase(data?.answer?.type)}\n \n \n \n {'Source'}:   {data?.answer?.text}\n \n \n {'Display Answer'}:\n \n \n ),\n };\n\n const config = useMemo(() => {\n return {\n data: chartData,\n xField: 'date',\n yField: 'count',\n xAxis: {\n label: {\n autoRotate: false,\n },\n },\n };\n }, [chartData]);\n\n const isPerformanceMetricsCardPanelActive = cardName => {\n if (isPerformanceMetricsView) {\n switch (selectedTableView) {\n case PERFORMANCE_METRICS_DEFAULT_ANSWERS:\n return cardName === PERFORMANCE_METRICS_DEFAULT_ANSWERS;\n case PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS:\n return cardName === PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS;\n case PERFORMANCE_METRICS_INCORRECT_QUESTIONS:\n return cardName === PERFORMANCE_METRICS_INCORRECT_QUESTIONS;\n default:\n return cardName === PERFORMANCE_METRICS_DEFAULT_ANSWERS;\n }\n }\n };\n\n const SelectMenuList = (\n handleOnSelect(item.key)}>\n {(tableViewList || []).map(item => (\n {item.value}\n ))}\n \n );\n\n const renderTable = () => {\n switch (selectedTableView) {\n case PERFORMANCE_METRICS_DEFAULT_ANSWERS:\n case QUESTION_LOGS:\n return (\n \n );\n\n case MOST_ASKED_QUESTION:\n return (\n \n );\n\n case INTENTS:\n return (\n \n );\n\n case QUESTION_WITH_POSITIVE_FEEDBACK: {\n return (\n \n );\n }\n\n case PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS:\n case QUESTION_WITH_NEGATIVE_FEEDBACK: {\n return (\n \n );\n }\n\n case CORRECT_QUESTIONS: {\n return (\n \n );\n }\n\n case PERFORMANCE_METRICS_INCORRECT_QUESTIONS:\n case INCORRECT_QUESTIONS: {\n return (\n \n );\n }\n\n default:\n return (\n \n );\n }\n };\n\n const renderExpandedTable = (key, value) => (\n \n );\n\n const LogMoreDetails = () => {\n const sequenceList = selectedLog?.find(\n expandedColumns => expandedColumns?.field === 'Sequence'\n );\n\n return (\n \n handlePanelChange(e, sequenceList?.value)}\n >\n \n {renderExpandedTable(\n 'generalInfo',\n isMobileView\n ? selectedLog?.filter(\n expandedColumns => expandedColumns?.field !== 'Sequence'\n )\n : selectedLog?.filter(\n expandedColumns =>\n expandedColumns?.field !== 'Sequence' &&\n !expandedColumns?.forMobileViewOnly\n )\n )}\n \n {sequenceList?.value?.map(sequenceValue => (\n \n {renderExpandedTable(sequenceValue.type, selectedPanelDetails)}\n \n ))}\n \n \n );\n };\n\n const ExportButtonMenu = () => {\n return (\n \n \n {'CSV'}\n \n \n );\n };\n\n const tagRender = props => {\n const { label, closable, onClose } = props;\n const onPreventMouseDown = event => {\n event.preventDefault();\n event.stopPropagation();\n };\n return (\n \n {label}\n \n );\n };\n\n const FilterDropdownMenu = (\n <>\n \n {FILTER_SELECT_OPTIONS.map(filterItem => (\n \n \n {filterItem.label}\n \n \n ))}\n \n \n \n );\n\n return (\n <>\n \n \n \n {isFreeUser ? (\n }\n subtitle={`Upgrade to view how your visitors interact with your chatbot. `}\n title={`Keep track of your users!`}\n />\n ) : (\n <>\n \n \n \n\n \n \n {'Question logs showing results from'}\n \n \n trigger.parentNode}\n dropdownClassName=\"responsive-range-picker-dropdown\"\n popupStyle={dropdownStyle}\n />\n \n \n {!filters?.length ? (\n }\n onClick={handleChangeDataFilterButton}\n loading={tableSpinner}\n />\n ) : null}\n \n \n {!isPerformanceMetricsView &&\n allQuestions.length &&\n !filters?.length ? (\n \n setShowFilterDropdown(!showFilterDropdown)\n }\n >\n }\n variant=\"link\"\n />\n \n ) : null}\n \n \n\n \n {filters?.length ? (\n \n setFilters([...filters, e])}\n onDeselect={e => setFilters(filters.filter(f => f !== e))}\n onClear={() => setFilters([])}\n placeholder=\"Filter by Category\"\n bordered={false}\n selectedKeys={filters}\n tagRender={tagRender}\n />\n \n ) : null}\n {filters?.includes('category') ? (\n \n cat.value)}\n label=\"Category\"\n mode=\"multiple\"\n optionLabelProp=\"label\"\n allowClear\n onChange={handleChangeCategories}\n size=\"medium\"\n placeholder=\"Select category filter\"\n bordered={false}\n tagRender={tagRender}\n />\n \n ) : null}\n {filters?.includes('integration') ? (\n \n \n \n ) : null}\n {filters?.length ? (\n \n }\n onClick={handleChangeDataFilterButton}\n loading={tableSpinner}\n full={isMobileView}\n />\n \n ) : null}\n \n\n {!isPerformanceMetricsView ? (\n \n \n \n \n
    {`# of sessions`}
    \n

    {aggregations?.sessionCount || 0}

    \n
    \n
    \n
    \n \n \n \n \n
    {`# of visitors`}
    \n

    {aggregations?.visitorCount || 0}

    \n
    \n
    \n
    \n \n \n \n \n
    {`# of questions asked`}
    \n

    {aggregations?.totalQuestions || 0}

    \n
    \n
    \n
    \n \n \n \n
    {'Audit Results'}
    \n
    \n \n

    handleClickedQuality(1)}>\n {aggregations?.totalCorrectValidation || 0}\n

    \n
    \n \n

    handleClickedQuality(0)}>\n {aggregations?.totalIncorrectValidation || 0}\n

    \n
    \n
    \n
    \n \n handleClickedQuality(1)}\n />\n \n \n handleClickedQuality(0)}\n />\n \n
    \n
    \n \n \n \n \n
    {`# of fallback answers called`}
    \n

    \n {aggregations?.answerCountEachType\n ?.defaultAnswerCount || 0}\n

    \n
    {`${\n aggregations?.containmentRate || '0%'\n } Containment Rate`}
    \n
    \n
    \n \n \n \n \n
    {`CSAT Score`}
    \n

    \n \n

    \n
    {aggregations?.csatScore}
    \n \n
    \n \n
    \n ) : (\n \n <>\n \n handleOnSelect(PERFORMANCE_METRICS_DEFAULT_ANSWERS)\n }\n >\n \n
    {`# of default answer`}
    \n

    \n {aggregations?.answerCountEachType\n ?.defaultAnswerCount || 0}\n

    \n \n \n \n handleOnSelect(PERFORMANCE_METRICS_INCORRECT_QUESTIONS)\n }\n >\n \n
    {`# of incorrect audit result`}
    \n

    {aggregations?.totalIncorrectValidation || 0}

    \n \n \n \n handleOnSelect(PERFORMANCE_METRICS_NEGATIVE_FEEDBACKS)\n }\n >\n \n
    {`# of negative feedback`}
    \n

    {aggregations?.dislikes || 0}

    \n \n \n \n
    \n )}\n \n \n

    {`Total questions asked for ${moment(startDate).format(\n 'MMMM D, YYYY'\n )} - ${moment(endDate).format('MMMM D, YYYY')}`}

    \n \n
    \n
    \n \n \n \n }\n />\n \n \n }\n value={'Export'}\n variant=\"success\"\n />\n \n \n \n \n \n {renderTable()} \n \n \n \n {showPagination && (\n \n \n \n )}\n \n \n \n \n {showAddQuestionToTestSuiteModal && (\n \n )}\n {showModal ? (\n \n ) : null}\n {!!sessionData?.length && !!selectedInteractionID && (\n \n )}\n {showConfirmQuestionValidation && (\n setShowConfirmQuestionValidation(false)}\n modalTitle=\"Question Validation\"\n show={showConfirmQuestionValidation}\n loading={modalIsLoading}\n onOk={handleValidateQuestion}\n validationDetails={validationDetails}\n />\n )}\n \n )}\n {' '}\n \n \n {'Expanded Table'}\n \n }\n placement=\"right\"\n onClose={() => setMaximizeTableColumn(false)}\n getContainer={false}\n visible={maximizeTableColumn}\n style={{ position: 'absolute' }}\n >\n \n \n \n );\n};\n\nAnalytics.propTypes = {\n handleShowAddTestSuiteModal: PropTypes.func,\n isPageReady: PropTypes.bool,\n};\n\nexport default Analytics;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledQuestionDetailsModalTitle = styled.h4`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.bold};\n font-size: 18px;\n line-height: 24px;\n color: #33363c;\n margin-bottom: 8px;\n`;\n\nexport const StyledQuestionActionAndInfo = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 30rem;\n`;\n\nexport const StyledEditQuestion = styled.span`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 14px;\n line-height: 20px;\n text-decoration: underline;\n color: #1667e7;\n cursor: pointer;\n`;\n\nexport const StyledDotSeparator = styled.div`\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: #b3b4b7;\n margin: 0 8px;\n`;\n\nexport const StyledQuestionTestInfo = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex: 1 1 auto;\n`;\n\nexport const StyledTestStatusInfoContainer = styled.div`\n display: flex;\n align-items: center;\n\n & div {\n padding: 0 8px;\n font-family: ${cssVariables.font.fontFamily};\n font-size: 12px;\n line-height: 20px;\n letter-spacing: 0.02em;\n border-radius: 3px;\n color: #fff;\n }\n`;\n\nexport const StyledTestInfoTextSpan = styled.span`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 14px;\n line-height: 20px;\n color: #26292d;\n margin-right: 8px;\n`;\n\nexport const StyledTestInfoTextDiv = styled.div`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 14px;\n line-height: 20px;\n color: #26292d;\n margin-right: 15px;\n`;\n\nexport const StyledQuestionContent = styled.div`\n background: #f4f6f8;\n border: 1px solid #d9dadb;\n border-radius: 3px;\n padding: 16px;\n font-size: 16px;\n line-height: 24px;\n color: #33363c;\n margin-bottom: 16px;\n align-items: center;\n\n &.defaultAnswer {\n background-color: ${cssVariables.errorBgColor};\n border: 1px solid ${cssVariables.errorBorder};\n\n & svg {\n color: ${cssVariables.errorText};\n margin-bottom: 2px;\n }\n }\n\n & img {\n max-width: 100%;\n }\n`;\n\nexport const StyledQuestionDetailsModalLabel = styled.h4`\n font-family: ${cssVariables.font.fontFamily};\n font-weight: ${cssVariables.font.bold};\n font-size: 12px;\n line-height: 20px;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n color: #33363c;\n margin-bottom: 8px;\n display: flex;\n align-items: center;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { InfoCircleTwoTone } from '@ant-design/icons';\nimport {\n StyledQuestionDetailsModalTitle,\n StyledQuestionDetailsModalLabel,\n StyledQuestionActionAndInfo,\n StyledEditQuestion,\n StyledDotSeparator,\n StyledQuestionTestInfo,\n StyledTestInfoTextSpan,\n StyledTestInfoTextDiv,\n StyledTestStatusInfoContainer,\n StyledQuestionContent,\n} from './TestCaseModal.styles';\nimport Modal from 'components/Modals/GenericModal';\nimport { default as ToolTip } from 'components/ToolTips/BaseToolTip';\nimport { getTimeDifference } from 'utils/dates';\nimport { cssVariables } from 'styles/root';\nimport { message, Tag } from 'antd';\nimport { TEST_STATUS } from 'constants/testSuite';\nimport { AnswerRenderer } from 'components/AnswerRenderer';\n\nconst TestCaseModal = props => {\n const {\n actualAnswer,\n botName,\n handleEditTestCase,\n modalLoading,\n onOkModal,\n selectedAnswer,\n selectedTestCase,\n visible,\n ...rest\n } = props;\n const { question, lastTestTime, lastUpdated, testResult } = selectedTestCase;\n const isTestPassed = testResult === 'Passed';\n const isSelectedDefaultAnswer = selectedAnswer?.type.includes('default');\n const isActualDefaultAnswer = actualAnswer?.type.includes('default');\n const isResultOutDated = new Date(lastUpdated) > new Date(lastTestTime);\n\n const getTestStatusColor = result => {\n const { PASSED, FAILED, EDITED, UNTESTED } = TEST_STATUS;\n switch (result) {\n case PASSED:\n return cssVariables.success;\n case FAILED:\n return cssVariables.red10;\n case EDITED:\n return cssVariables.warning;\n case UNTESTED:\n return cssVariables.gray0;\n default:\n break;\n }\n };\n\n if (!selectedAnswer) {\n return message.error(\n 'No selected answer found. Please edit/choose an answer first'\n );\n }\n\n return (\n \n
    \n \n {question}\n \n \n handleEditTestCase(selectedTestCase)}\n >\n Edit Test\n \n \n Test Result\n\n \n \n \n \n {testResult}\n \n \n \n \n {`Last Test Run: ${\n lastTestTime ? getTimeDifference(lastTestTime) : 'N/A'\n }`}\n \n \n \n
    \n \n }\n onOk={onOkModal}\n onCancel={onOkModal}\n okText=\"Done\"\n spinning={modalLoading}\n confirmLoading={modalLoading}\n isFormModal\n >\n {isTestPassed ? (\n \n \n {`Display Answer`}  \n \n \n \n \n \n \n ) : (\n <>\n \n \n Expected Display Answer  \n \n \n \n \n \n \n {!!actualAnswer ? (\n \n \n {botName}'s Answer  \n \n \n \n \n \n \n ) : null}\n \n )}\n \n );\n};\n\nTestCaseModal.propTypes = {\n actualAnswer: PropTypes.object,\n botName: PropTypes.string,\n handleEditTestCase: PropTypes.func,\n modalLoading: PropTypes.bool,\n onOkModal: PropTypes.func.isRequired,\n selectedAnswer: PropTypes.object,\n selectedTestCase: PropTypes.object,\n visible: PropTypes.bool.isRequired,\n};\n\nexport default TestCaseModal;\n","import { MoreOutlined } from '@ant-design/icons';\nimport { Col, Row } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledWrapper = styled(Row)`\n align-items: center;\n background: #fff;\n border: 1px solid #e8f0fd;\n border-radius: 5px;\n padding: 2%;\n margin-bottom: 8px;\n cursor: pointer;\n &:hover {\n border: 1px solid ${cssVariables.blue2};\n }\n`;\n\nexport const StyledContentContainer = styled(Col)`\n // display: flex;\n // justify-content: space-between;\n // align-items: center;\n // flex: 1 1 auto;\n`;\n\nexport const StyledInfo = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const StyledInfoName = styled.span`\n font-weight: ${cssVariables.font.normal};\n font-size: 18px;\n line-height: 24px;\n color: #000;\n`;\n\nexport const StyledInfoQuestions = styled.span`\n font-size: 14px;\n color: #66696f;\n`;\n\nexport const StyledLastModified = styled.div`\n font-size: 14px;\n color: #66696f;\n margin-right: 27px;\n`;\n\nexport const StyledMore = styled(MoreOutlined)`\n transform: rotate(-90deg);\n width: 36px;\n height: 48px;\n display: flex;\n justify-content: center;\n align-items: center;\n color: #8c8f93;\n &:hover {\n background: #f5f5f5;\n border-radius: 3px;\n }\n`;\n\nexport const StyledTestStatusGraph = styled.div`\n display: flex;\n width: ${props => (props?.isMobileView ? '55vw' : '273px')};\n height: 8px;\n margin-bottom: 8px;\n`;\n\nexport const StyledTestStatusCount = styled.div`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 14px;\n color: #66696f;\n`;\n\nexport const StyledTestStatusPassed = styled.div`\n width: ${props => {\n return (\n (100 * props.theme.testStatus?.success) /\n (props.theme.disableOutdatedAndUntested\n ? props.theme.testStatus?.success + props.theme.testStatus?.fail\n : props.theme.testCount)\n );\n }}%;\n background: #23b576;\n`;\n\nexport const StyledTestStatusFailed = styled.div`\n width: ${props => {\n return (\n (100 * props.theme.testStatus?.fail) /\n (props.theme.disableOutdatedAndUntested\n ? props.theme.testStatus?.success + props.theme.testStatus?.fail\n : props.theme.testCount)\n );\n }}%;\n background: #eb6841;\n`;\n\n// COMMENTED FOR FUTURE USE OF OUTDATED AND UNTESTED\n// export const StyledTestStatusOutdated = styled.div`\n// width: ${props => {\n// return !props.theme.disableOutdatedAndUntested\n// ? 0\n// : `${(100 * props.theme.testStatus?.outdated) / props.theme.testCount}`;\n// }}%;\n// background: ${cssVariables.warning};\n// `;\n\n// export const StyledTestStatusUntested = styled.div`\n// width: ${props => {\n// return !props.theme.disableOutdatedAndUntested\n// ? 0\n// : `${(100 * props.theme.testStatus?.unknown) / props.theme.testCount}`;\n// }}%;\n// background: #d9dadb;\n// `;\n","import { TestSuite } from './TestSuite';\n\nexport default TestSuite;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Col, Dropdown, Menu, Row } from 'antd';\nimport { DeleteOutlined, EditOutlined } from '@ant-design/icons';\nimport { ThemeProvider } from 'styled-components';\nimport { getTimeDifference } from 'utils/dates';\nimport {\n StyledWrapper,\n StyledContentContainer,\n StyledInfoContainer,\n StyledInfo,\n StyledInfoName,\n StyledInfoQuestions,\n StyledLastModified,\n StyledMore,\n StyledTestStatusGraph,\n StyledTestStatusCount,\n StyledTestStatusPassed,\n StyledTestStatusFailed,\n} from './TestSuite.styles';\n\nconst DISABLE_UNTESTED_AND_OUTDATED = true;\n\nconst TestSuite = ({\n testSuite,\n handleShowTestCases,\n handleEditTestSuite,\n handleDeleteTestSuite,\n isMobileView,\n}) => {\n const theme = {\n testStatus: testSuite?.lastTestStatus,\n testCount: testSuite?.testCount,\n disableOutdatedAndUntested: DISABLE_UNTESTED_AND_OUTDATED,\n };\n\n const moreMenu = (\n \n }\n onClick={() => handleEditTestSuite(testSuite)}\n >\n Edit\n \n }\n onClick={() => handleDeleteTestSuite(testSuite?.jid)}\n >\n Delete\n \n \n );\n\n return (\n \n handleShowTestCases(testSuite)}\n >\n \n \n \n {testSuite?.name}\n \n {testSuite?.testCount} Tests\n \n \n \n \n {testSuite?.lastTestStatus && (\n
    \n \n \n \n \n {/* COMMENTED FOR FUTURE USE OF OUTDATED AND UNTESTED */}\n {/* \n */}\n \n \n \n {testSuite?.lastTestStatus?.success} Passed{' | '}\n {testSuite?.lastTestStatus?.fail} Failed\n {/* COMMENTED FOR FUTURE USE OF OUTDATED AND UNTESTED */}\n {/* {!DISABLE_UNTESTED_AND_OUTDATED &&\n !!testSuite?.lastTestStatus?.outdated &&\n ' | ' + testSuite.lastTestStatus?.outdated + ' Edited'}\n {!DISABLE_UNTESTED_AND_OUTDATED &&\n !!testSuite?.lastTestStatus?.unknown &&\n ' | ' + testSuite.lastTestStatus?.unknown + ' Untested'} */}\n \n
    \n )}\n \n \n \n Last modified {getTimeDifference(testSuite?.lastModified)}\n \n \n
    \n \n \n \n {\n e.stopPropagation();\n }}\n />\n \n \n
    \n );\n};\n\nTestSuite.propTypes = {\n testSuite: PropTypes.object.isRequired,\n handleDeleteTestSuite: PropTypes.func.isRequired,\n handleEditTestSuite: PropTypes.func.isRequired,\n handleShowTestCases: PropTypes.func,\n isMobileView: PropTypes.bool,\n};\n\nexport { TestSuite };\n","import Dragger from 'antd/lib/upload/Dragger';\nimport { Radio } from 'antd';\nimport styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const Wrapper = styled.div`\n display: flex;\n padding: 0 0 24px !important;\n`;\n\nexport const ResponseListWrapper = styled.div`\n overflow-x: hidden;\n overflow-y: auto !important;\n`;\n\nexport const StyledQuestionContainer = styled.div`\n display: flex;\n flex-direction: column;\n margin: 15px 0;\n width: 100%;\n\n & .input-with-label {\n flex: 1 1 auto;\n }\n\n input {\n height: 40px;\n padding: 8px;\n width: 70%;\n }\n\n & .ant-checkbox-wrapper,\n .ant-checkbox-wrapper {\n margin: 10px 0 0 0;\n }\n`;\n\nexport const StyledAddQuestionForm = styled.form`\n margin-top: 10px;\n display: flex;\n flex-direction: row !important;\n\n > div,\n .ant-input {\n width: 100%;\n }\n`;\n\nexport const StyledAddQuestionType = styled(Radio.Group)`\n display: flex;\n width: 100%;\n margin-bottom: 20px;\n\n & .ant-space,\n .ant-radio-wrapper,\n .ant-upload-list-item-info {\n width: 100%;\n display: flex;\n }\n\n & .ant-radio {\n height: 100%;\n width: 17px;\n }\n\n & .ant-upload,\n ant-upload-list {\n width: 100%;\n display: flex;\n }\n\n & .ant-upload-list-item-name {\n width: 100%;\n display: flex;\n white-space: pre-wrap;\n }\n\n &span.ant-radio {\n width: 100%;\n }\n\n .ant-radio-wrapper > span:not(.ant-radio) {\n width: 100%;\n }\n`;\n\nexport const StyledQuestionUploader = styled(Dragger)`\n min-height: 100px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 10px;\n`;\n\nexport const StyledAnswerTypeContainer = styled.div`\n margin: 18px 0;\n`;\n\nexport const StyledQuestionModalLabel = styled.div`\n font-size: 14px;\n font-weight: ${cssVariables.font.normal};\n line-height: 20px;\n display: flex;\n align-items: center;\n gap: 5px;\n justify-content: space-between;\n`;\n\nexport const StyledQuestionContent = styled.div`\n background: #f4f6f8;\n border: 1px solid #d9dadb;\n border-radius: 3px;\n padding: 16px;\n font-size: 16px;\n line-height: 24px;\n color: #33363c;\n margin-bottom: 16px;\n align-items: center;\n\n &.defaultAnswer {\n background-color: ${cssVariables.errorBgColor};\n border: 1px solid ${cssVariables.errorBorder};\n\n & svg {\n color: ${cssVariables.errorText};\n margin-bottom: 2px;\n }\n }\n\n & img {\n max-width: 100%;\n }\n`;\n","import { message } from 'antd';\nimport { useState, useContext, useEffect } from 'react';\nimport { csvToArray } from 'utils';\nimport { Context } from 'store/store';\nimport { ACTIONS, EVENTS, STATUS } from 'react-joyride';\nimport { apiService } from 'services/api.service';\nimport {\n SET_ONBOARDING_FLAG,\n SET_SHOW_BELOW_THRESHOLD_RESPONSES,\n SET_SHOW_DRAFT_RESPONSES,\n} from 'store/action';\nimport { importExportEnabledSelector } from 'selectors/plan';\nimport {\n showBelowThresholdResponsesSelector,\n showDraftResponsesSelector,\n} from 'selectors/bot';\nimport useSelector from 'store/useSelector';\n\nconst useValidationQuestionModal = ({\n totalTestCases,\n testCase,\n responses,\n}) => {\n const [state, dispatch] = useContext(Context);\n const {\n sentinel,\n token,\n graph,\n plan: { max_test_cases, onboarding_flag },\n } = state;\n const showDraftResponses = useSelector(showDraftResponsesSelector);\n const showBelowThresholdResponses = useSelector(\n showBelowThresholdResponsesSelector\n );\n const importExportEnabled = useSelector(importExportEnabledSelector);\n\n const [shouldUseDefaultAnswer, setShouldUseDefaultAnswer] = useState(false);\n const [questionsArr, setQuestionsArr] = useState(null);\n const [importWarnMsg, setImportWarnMsg] = useState(null);\n const [importErrorMsg, setImportErrorMsg] = useState(null);\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n const [showDisplayAnswer, setShowDisplayAnswer] = useState(true);\n const [question, setQuestion] = useState(testCase ? testCase.question : '');\n const [addQuestionType, setAddQuestionType] = useState('input');\n const testCasesAllowed = max_test_cases - totalTestCases;\n const csvFile = [\n '.csv',\n 'text/csv',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n ];\n\n // new question every `comma` or `newline`\n const csvDelimiters = [',', '\\n'];\n\n const handleReadCSV = file => {\n setImportErrorMsg(null);\n setImportWarnMsg(null);\n let questionsToUpload = [];\n if (!file || !csvFile.includes(file.type)) {\n return message.error('Invalid CSV file.');\n }\n const reader = new FileReader();\n reader.onload = e => {\n try {\n const csvData = csvToArray(e.target.result, csvDelimiters);\n if (testCasesAllowed < csvData.length) {\n for (let index = 0; index < testCasesAllowed; index++) {\n questionsToUpload.push(csvData[index]);\n }\n setImportWarnMsg(\n `Max number of test cases reached. System will only upload ${testCasesAllowed} test case(s).`\n );\n } else {\n questionsToUpload = csvData;\n }\n setQuestionsArr(questionsToUpload);\n } catch (error) {\n throw new TypeError(\n 'Unexpected error encountered while processing the file.'\n );\n }\n };\n reader.readAsText(file);\n return false;\n };\n\n const handleChangeAnswerType = e => {\n if (e.target.value === 'default') {\n setShouldUseDefaultAnswer(true);\n } else {\n setShouldUseDefaultAnswer(false);\n }\n };\n\n useEffect(() => {\n if (\n addQuestionType === 'input' &&\n responses &&\n responses.length &&\n !onboarding_flag.includes('FirstSuite')\n ) {\n setTimeout(() => {\n setRunTour(true);\n }, 500);\n }\n return () => setRunTour(false);\n }, [addQuestionType, onboarding_flag, responses]);\n\n const onClickClose = async ({ action, index, type, status }) => {\n if ([STATUS.FINISHED, STATUS.SKIPPED].includes(status)) {\n setRunTour(false);\n setStepIndex(0);\n if (!onboarding_flag.includes('FirstSuite')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'FirstSuite'\n );\n dispatch({\n type: SET_ONBOARDING_FLAG,\n payload: 'FirstSuite',\n });\n }\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n }\n };\n\n const handleToggleShowDraft = () => {\n dispatch({\n type: SET_SHOW_DRAFT_RESPONSES,\n payload: null,\n });\n };\n\n const handleToggleShowBelowThreshold = () => {\n dispatch({\n type: SET_SHOW_BELOW_THRESHOLD_RESPONSES,\n payload: null,\n });\n };\n\n return {\n addQuestionType,\n showDraftResponses,\n handleToggleShowDraft,\n handleReadCSV,\n handleChangeAnswerType,\n shouldUseDefaultAnswer,\n importErrorMsg,\n importWarnMsg,\n importExportEnabled,\n onClickClose,\n question,\n questionsArr,\n runTour,\n setAddQuestionType,\n setShowDisplayAnswer,\n setQuestion,\n showDisplayAnswer,\n stepIndex,\n handleToggleShowBelowThreshold,\n showBelowThresholdResponses,\n };\n};\n\nexport default useValidationQuestionModal;\n","export const VALIDATION_WELCOME_STEPS = [\n {\n content: (\n
    \n

    \n Use this feature to run an automated test of your answers. Just simply\n add your question/s here then run the test to check if your Bot’s\n response are correct based on the threshold.\n

    \n

    Improve your Bot’s performance by running this test regularly.

    \n
    \n ),\n target: '.new-suite-btn',\n disableBeacon: true,\n placement: 'auto',\n },\n];\n\nexport const FIRST_SUITE = [\n {\n content: (\n
    \n

    Click to add questions that you want to test.

    \n
    \n ),\n target: '.add-question-btn',\n disableBeacon: true,\n placement: 'auto',\n },\n];\n\nexport const RESPONSE_PICKER_STEPS = [\n {\n content: (\n
    \n

    Choose your expected answer by clicking the tick mark.

    \n

    \n Note: The Best Answer is placed on the top and has the highest score.\n

    \n
    \n ),\n target: '.firstAnswer',\n disableBeacon: true,\n placement: 'bottom',\n },\n {\n content: (\n
    \n

    {`Click OK to save the test case.`}

    \n
    \n ),\n target: '.validation-response__button',\n disableBeacon: true,\n placement: 'bottom',\n },\n];\n","import { MoreOutlined } from '@ant-design/icons';\nimport styled from 'styled-components';\n\nexport const StyledMoreMenu = styled(MoreOutlined)`\n transform: rotate(-90deg);\n top: 16px;\n right: 16px;\n padding: 5px;\n\n &:hover {\n background: ${props => props.theme.gray2};\n border-radius: 50%;\n }\n\n}`;\n","import React from 'react';\nimport { StyledMoreMenu } from './MoreMenu.styles';\n\nconst MoreMenu = props => {\n const { ...rest } = props;\n return ;\n};\n\nexport default MoreMenu;\n","import React, { useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport Joyride from 'react-joyride';\nimport {\n ResponseListWrapper,\n Wrapper,\n StyledQuestionContainer,\n StyledAddQuestionType,\n StyledQuestionUploader,\n StyledQuestionModalLabel,\n StyledQuestionContent,\n StyledAddQuestionForm,\n} from './ValidationQuestionModal.style';\nimport AnswerWithScore from 'components/AnswerWithScore';\nimport Modal from 'components/Modals/GenericModal';\nimport Input from 'components/Input';\nimport Button from 'components/Button';\nimport { ImportOutlined } from '@ant-design/icons';\nimport { Radio, Space, Checkbox, Tag, Tooltip, Dropdown, Menu } from 'antd';\nimport useValidationQuestionModal from './hooks';\nimport Alert from 'components/Alert';\nimport { RESPONSE_PICKER_STEPS } from 'constants/joyride_steps/validation_page';\nimport JoyrideTooltip from 'components/ToolTips/JoyrideToolTip';\nimport ToggleShowDisplayAnswer from 'components/Button/ToggleShowDisplayAnswer';\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport { extractDisplayAnswer } from 'utils/answers';\nimport MoreMenu from 'components/MoreMenu';\nimport { StyledAntUploadContent } from '../ImportAnswerModal/ImportAnswerModal.style';\n\nconst ValidationQuestionModal = props => {\n const {\n answer,\n handleAddQuestion,\n handleSelect,\n handleShowResponses,\n handleUpdateTestCase,\n modalLoading,\n mode,\n onCloseModal,\n onChangeText,\n onSubmit,\n responseCount,\n responses,\n selectedResponse,\n testCase,\n totalTestCases,\n visible,\n ...rest\n } = props;\n const {\n addQuestionType,\n showDraftResponses,\n handleToggleShowDraft,\n handleReadCSV,\n handleChangeAnswerType,\n shouldUseDefaultAnswer,\n importErrorMsg,\n importWarnMsg,\n importExportEnabled,\n onClickClose,\n question,\n questionsArr,\n runTour,\n setAddQuestionType,\n setShowDisplayAnswer,\n setQuestion,\n showDisplayAnswer,\n stepIndex,\n handleToggleShowBelowThreshold,\n showBelowThresholdResponses,\n } = useValidationQuestionModal({ mode, totalTestCases, testCase, responses });\n\n const isSaveBtnDisabled = () => {\n if (addQuestionType === 'input' && selectedResponse) {\n return false;\n } else if (addQuestionType === 'import' && questionsArr) {\n return false;\n }\n\n return true;\n };\n\n const handleSaveTestCase = (questionType, shouldUseDefaultAnswer) => {\n onClickClose({\n action: 'close',\n index: 1,\n type: 'tour:end',\n status: 'finished',\n });\n handleAddQuestion(questionType, shouldUseDefaultAnswer);\n };\n\n const moreMenu = (\n \n \n \n \n {'Include draft answers'}\n \n \n \n \n \n \n {'Show below threshold responses'}\n \n \n \n \n );\n const QuestionForm = (\n \n {mode === 'Add' ? (\n \n {`Add Test Question`}{' '}\n \n ) : null}\n {addQuestionType === 'input' ? (\n {\n e.preventDefault();\n handleShowResponses(3, question);\n }}\n >\n setQuestion(e.target.value)}\n placeholder=\"Enter test question\"\n required\n value={question}\n size=\"medium\"\n />\n handleShowResponses(3, question)}\n value=\"Show Response\"\n variant=\"primary-btn-v2\"\n />\n \n ) : null}\n \n );\n\n const firstAnswer = useMemo(\n () => responses.filter(response => response?.type === 'answer')[0],\n [responses]\n );\n\n return (\n \n \n \n mode === 'Edit'\n ? handleUpdateTestCase(question, testCase.jid, testCase.testResult)\n : handleSaveTestCase(\n addQuestionType === 'input' ? question : questionsArr,\n shouldUseDefaultAnswer\n )\n }\n okButtonProps={{\n disabled: isSaveBtnDisabled(),\n className: 'validation-response__button',\n }}\n cancelButtonProps={{\n disabled: modalLoading,\n }}\n onCancel={onCloseModal}\n spinning={modalLoading}\n confirmLoading={modalLoading}\n {...rest}\n testCaseToEdit\n isFormModal\n width={'60vw'}\n >\n {mode === 'Add' ? (\n setAddQuestionType(e.target.value)}\n value={addQuestionType}\n >\n \n {QuestionForm}\n {mode === 'Add' && (\n \n \n Import List of Tests (.csv)\n {addQuestionType === 'import' && (\n <>\n {importErrorMsg ? (\n \n ) : null}\n {importWarnMsg ? (\n \n ) : null}\n handleReadCSV(file)}\n multiple={false}\n maxCount={1}\n accept={\n '.csv, text/csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'\n }\n >\n \n \n Drag files here or select file\n \n \n \n Please select an answer type from below\n \n Use best response from answer bank{' '}\n Recommended\n \n \n Apply Fallback Answer to Tests\n \n \n \n )}\n \n \n )}\n \n \n ) : (\n QuestionForm\n )}\n {answer ? (\n <>\n \n
    {'Selected Answer'}
    \n setShowDisplayAnswer(!showDisplayAnswer)}\n />\n
    \n {showDisplayAnswer ? (\n \n ) : (\n {answer}\n )}\n \n ) : null}\n {addQuestionType === 'input' && responses && responses.length > 0 ? (\n \n
    \n \n {'Select Expected Answer'}\n \n \n \n \n {responses.map(response => {\n return (\n !!response && (\n handleSelect(response)}\n key={response.jid}\n />\n )\n );\n })}\n
    \n
    \n ) : null}\n \n
    \n );\n};\n\nValidationQuestionModal.propTypes = {\n answer: PropTypes.string,\n handleAddQuestion: PropTypes.func,\n handleSelect: PropTypes.func,\n handleShowResponses: PropTypes.func,\n handleUpdateTestCase: PropTypes.func,\n modalLoading: PropTypes.bool,\n mode: PropTypes.oneOf(['Add', 'Edit']).isRequired,\n onChangeText: PropTypes.func.isRequired,\n onCloseModal: PropTypes.func.isRequired,\n onSubmit: PropTypes.func,\n responseCount: PropTypes.number,\n responses: PropTypes.array.isRequired,\n selectedResponse: PropTypes.object,\n testCase: PropTypes.object,\n totalTestCases: PropTypes.number,\n visible: PropTypes.bool.isRequired,\n};\n\nexport default ValidationQuestionModal;\n","import { useState, useEffect, useContext } from 'react';\nimport { message } from 'antd';\nimport { Context } from 'store/store';\nimport { apiService } from 'services/api.service';\nimport { strippedString } from 'utils/stringManipulation';\nimport {\n ADD_TEST_SUITE,\n DELETE_TEST_SUITE,\n SET_TEST_SUITES,\n SET_ONBOARDING_FLAG,\n UPDATE_TEST_SUITE,\n RUN_TEST_SUITE,\n SET_SELECTED_TEST_SUITE,\n DELETE_TEST_CASE,\n ADD_TEST_CASE,\n UPDATE_TEST_CASE,\n} from 'store/action';\nimport { ACTIONS, EVENTS, STATUS } from 'react-joyride';\nimport { importExportEnabledSelector } from 'selectors/plan';\nimport {\n getTestSuitesSelector,\n isMaxTestCasesSelector,\n isMaxTestSuitesSelector,\n selectedTestSuiteSelector,\n selectedTestSuiteStatusSelector,\n testCasesSelector,\n} from 'selectors/bot/testSuites';\nimport { DEFAULT_ERROR_MESSAGE, GET_DATA_ERROR } from 'constants/error';\nimport { DEFAULT_ANSWER_VERSION } from 'constants/answerbank/defaults';\nimport {\n allAnswersSelector,\n topDefaultAnswerSelector,\n} from 'selectors/bot/answers';\nimport useSelector from 'store/useSelector';\nimport {\n botJIDSelector,\n showBelowThresholdResponsesSelector,\n showDraftResponsesSelector,\n} from 'selectors/bot';\nimport { isMobileViewSelector } from 'selectors/layout';\n\nconst useValidation = () => {\n const [state, dispatch] = useContext(Context);\n const isMaxTestSuites = useSelector(isMaxTestSuitesSelector);\n const allAnswers = useSelector(allAnswersSelector);\n const testSuites = useSelector(getTestSuitesSelector);\n const importExportEnabled = useSelector(importExportEnabledSelector);\n const isMaxTestCases = useSelector(isMaxTestCasesSelector);\n const showDraftResponses = useSelector(showDraftResponsesSelector);\n const showBelowThresholdResponses = useSelector(\n showBelowThresholdResponsesSelector\n );\n\n const jid = useSelector(botJIDSelector);\n const testCases = useSelector(testCasesSelector);\n const selectedTestSuite = useSelector(selectedTestSuiteSelector);\n const testStatus = useSelector(selectedTestSuiteStatusSelector);\n const isMobileView = useSelector(isMobileViewSelector);\n const defaultAnswer = useSelector(topDefaultAnswerSelector);\n\n const {\n bot: { name },\n token,\n sentinel,\n graph,\n plan: {\n onboarding_flag,\n max_test_cases,\n max_test_suite,\n plan_type,\n export_import,\n },\n } = state;\n\n const [showCreateSuiteModal, setShowCreateSuiteModal] = useState(false);\n const [showEditSuiteModal, setShowEditSuiteModal] = useState(false);\n const [newSuiteName, setNewSuiteName] = useState('');\n const [testSuiteToUpdate, setTestSuiteToUpdate] = useState();\n const [showTestCases, setShowTestCases] = useState(false);\n const [filteredTestCases, setFilteredTestCases] = useState([]);\n const [testCaseSearchKey, setTestCaseSearchKey] = useState('');\n const [showValidationQuestionModal, setShowValidationQuestionModal] =\n useState(false);\n const [responses, setResponses] = useState([]);\n const [selectedResponse, setSelectedResponse] = useState(null);\n const [responseCount, setResponseCount] = useState(3);\n const [testCaseToEdit, setTestCaseToEdit] = useState(null);\n const [expectedAnswerToEdit, setExpectedAnswerToEdit] = useState(null);\n const [selectedTestCase, setSelectedTestCase] = useState(null);\n const [selectedAnswer, setSelectedAnswer] = useState(null);\n const [actualAnswer, setActualAnswer] = useState(null);\n const [showTestCaseDetailsModal, setShowTestCaseDetailsModal] =\n useState(false);\n const [testLastRanTime, setTestLastRanTime] = useState('');\n const [showTestStatus, setShowTestStatus] = useState(false);\n const [modalLoading, setModalLoading] = useState(false);\n const [pageLoading, setPageLoading] = useState(false);\n const [runTour, setRunTour] = useState(false);\n const [stepIndex, setStepIndex] = useState(0);\n const [runFirstSuiteTour, setRunFirstSuiteTour] = useState(false);\n const [firstSuiteStepIndex, setFirstSuiteStepIndex] = useState(0);\n const [isPageReady, setIsPageReady] = useState(false);\n const [useDraft, setUseDraft] = useState(false);\n const [allSuitesUseDraft, setAllSuitesUseDraft] = useState(false);\n const [allResponses, setAllResponses] = useState([]);\n const [belowThresholdResponses, setBelowThresholdResponses] = useState([]);\n\n const handleShowCreateSuite = () => {\n if (isMaxTestSuites) {\n return message.error('Max number of test suites reached.');\n }\n if (runTour) {\n onClickClose({ action: 'close', status: 'skipped' });\n }\n return setShowCreateSuiteModal(true);\n };\n\n const handleCloseCreateSuiteModal = () => {\n setShowCreateSuiteModal(false);\n };\n\n const handleCreateNewSuite = async (evt, newSuiteName) => {\n if (evt) {\n evt.preventDefault();\n }\n if (isMaxTestSuites) {\n return message.error('Max number of test suites reached.');\n }\n\n try {\n const suiteWithSameName = testSuites?.find(\n testSuite => testSuite.name === newSuiteName\n );\n if (suiteWithSameName) {\n return message.error(\n 'Test Suite with same name already exists. Try another name'\n );\n }\n\n const res = await apiService.createTestSuite(\n sentinel,\n jid,\n newSuiteName,\n token\n );\n const data = res.data.report[0];\n const newSuite = {\n jid: data.jid,\n name: data.context.name,\n lastTestRanTime: data.context.last_ran_time,\n lastTestStatus: data.context.last_result_summary,\n lastModified: data.context.last_updated_time,\n testCount: 0,\n };\n dispatch({\n type: ADD_TEST_SUITE,\n payload: newSuite,\n });\n setNewSuiteName('');\n message.success('New suite is created');\n setShowCreateSuiteModal(false);\n handleShowTestCases(newSuite);\n } catch (err) {\n return message.error('Error while creating a new suite');\n }\n };\n\n const handleShowEditTestSuiteModal = testSuite => {\n setTestSuiteToUpdate(testSuite);\n setShowEditSuiteModal(true);\n };\n\n const handleUpdateTestSuite = async evt => {\n evt.preventDefault();\n setModalLoading(true);\n try {\n const suiteWithSameName = testSuites?.find(\n testSuite =>\n testSuite?.jid !== testSuiteToUpdate?.jid &&\n testSuite?.name === testSuiteToUpdate.name\n );\n if (suiteWithSameName) {\n return message.error(\n 'Test Suite with same name already exists. Try another name'\n );\n }\n\n const res = await apiService.updateTestSuite(\n sentinel,\n testSuiteToUpdate.jid,\n testSuiteToUpdate.name,\n token\n );\n\n dispatch({\n type: UPDATE_TEST_SUITE,\n payload: res.data?.report[0],\n });\n setShowEditSuiteModal(false);\n setTestSuiteToUpdate(null);\n message.success('Test Suite is updated successfully');\n } catch (err) {\n setModalLoading(false);\n return message.error('Updating Test Suite is failed');\n }\n setModalLoading(false);\n };\n\n const handleCloseEditSuiteModal = () => {\n setTestSuiteToUpdate(null);\n setShowEditSuiteModal(false);\n };\n\n const handleChangeTestSuiteName = e => {\n setTestSuiteToUpdate({\n ...testSuiteToUpdate,\n name: e.target.value,\n });\n };\n\n const handleDeleteTestSuite = async jid => {\n setPageLoading(true);\n try {\n await apiService.deleteTestSuite(sentinel, jid, token);\n dispatch({\n type: DELETE_TEST_SUITE,\n payload: jid,\n });\n message.success('Test Suite is successfully deleted');\n } catch (err) {\n setPageLoading(false);\n return message.error('Failed to delete Test Suite');\n }\n setPageLoading(false);\n };\n\n const handleShowTestCases = async testSuite => {\n setPageLoading(true);\n try {\n const res = await apiService.getTestCases(sentinel, testSuite.jid, token);\n\n dispatch({\n type: SET_SELECTED_TEST_SUITE,\n payload: {\n testSuite,\n testCases: res.data.report[0],\n },\n });\n\n setShowTestStatus(true);\n setTestLastRanTime(testSuite.lastTestRanTime);\n setShowTestCases(true);\n } catch (err) {\n setPageLoading(false);\n return message(err.message || GET_DATA_ERROR);\n }\n if (testSuites?.length === 1 && !onboarding_flag.includes('FirstSuite')) {\n setTimeout(() => setRunFirstSuiteTour(true), 2000);\n }\n setPageLoading(false);\n };\n\n const handleSearchTestCases = e => {\n const searchKey = e.target.value;\n const searchedTestCases = testCases.filter(testCase =>\n testCase.question.toLowerCase().includes(searchKey.toLowerCase())\n );\n setFilteredTestCases(searchedTestCases);\n setTestCaseSearchKey(searchKey);\n };\n\n const handleShowValidationQuestionModal = testSuite => {\n setRunFirstSuiteTour(false);\n if (isMaxTestCases) {\n return message.error('Max number of test cases reached.');\n }\n\n if (testSuite) {\n setTestSuiteToUpdate(testSuite);\n } else {\n setExpectedAnswerToEdit(null);\n setResponseCount(3);\n setResponses([]);\n setAllResponses([]);\n setBelowThresholdResponses([]);\n setSelectedResponse(null);\n }\n return setShowValidationQuestionModal(true);\n };\n\n const generateDefaultAnswers = responseAnswerList => {\n return {\n jid: responseAnswerList[1].jid,\n score: responseAnswerList[1].context.thresh_score?.toFixed(3) || '0.000',\n text: responseAnswerList[1].context?.text,\n show_text: responseAnswerList[1].context?.show_text,\n show_html:\n responseAnswerList[1].context?.show_html ||\n responseAnswerList[1].context?.show_text,\n type: responseAnswerList[1].name,\n version:\n responseAnswerList[1].context?.ans_version || DEFAULT_ANSWER_VERSION,\n };\n };\n\n const generateAboveThresholdAnswers = responseAnswerList => {\n const filteredAboveThresholdAnswers = responseAnswerList[0]?.filter(\n answerList =>\n answerList?.context?.score > responseAnswerList[1].context?.thresh_score\n );\n return filteredAboveThresholdAnswers?.map((answerInfo, idx) => {\n const { context, name, jid } = answerInfo;\n return {\n jid,\n score: answerInfo?.context?.score?.toFixed(3) || '0.000',\n text: context?.text,\n show_text: context?.show_text,\n show_html: context?.show_html || context?.show_text,\n type: name,\n version: context?.ans_version || DEFAULT_ANSWER_VERSION,\n };\n });\n };\n\n const generateBelowThresholdAnswers = responseAnswerList => {\n const filteredBelowThresholdAnswers = responseAnswerList[0]?.filter(\n answerList =>\n answerList?.context?.score < responseAnswerList[1].context?.thresh_score\n );\n return filteredBelowThresholdAnswers?.map((answerInfo, idx) => {\n const { context, name, jid } = answerInfo;\n return {\n jid,\n score: answerInfo?.context?.score?.toFixed(3) || '0.000',\n text: context?.text,\n show_text: context?.show_text,\n show_html: context?.show_html || context?.show_text,\n type: name,\n version: context?.ans_version || DEFAULT_ANSWER_VERSION,\n };\n });\n };\n\n const handleShowResponses = async (totalResponses, question) => {\n setModalLoading(true);\n handleChangeTestCaseQuestion(question);\n try {\n const res = await apiService.getAnswersWithScoreFromQuestion(\n question,\n jid,\n sentinel,\n token,\n true\n );\n const responseAnswerList = res.data.report;\n const allResponses = [\n generateDefaultAnswers(responseAnswerList),\n ...generateAboveThresholdAnswers(responseAnswerList),\n ];\n\n setResponseCount(totalResponses);\n setResponses(\n showDraftResponses\n ? allResponses\n : allResponses.filter(answer => answer.version === 'final')\n );\n setAllResponses(allResponses);\n setBelowThresholdResponses(\n generateBelowThresholdAnswers(responseAnswerList)\n );\n } catch (err) {\n setModalLoading(false);\n return message.error('Error while getting response');\n }\n setModalLoading(false);\n };\n\n const handleSelectResponse = response => {\n setSelectedResponse(response);\n };\n\n const handleDownloadTestCases = () => {\n const fileData = testCases.map(item => item.question + '\\n');\n const blob = new Blob(['\\ufeff', ...fileData]);\n const url = URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.download = 'zeroshotbot-testcases.csv';\n link.href = url;\n link.click();\n };\n\n const getStringTestDuplicate = (input, id) => {\n if (Array.isArray(input)) {\n return input.some(str =>\n testCases.find(\n testcase =>\n strippedString(testcase.question) === strippedString(str) &&\n testcase.jid !== id\n )\n );\n } else {\n return testCases.find(\n item =>\n strippedString(item.question) === strippedString(input) &&\n item.jid !== id\n );\n }\n };\n\n const handleAddQuestion = async (question, shouldUseDefaultAnswer) => {\n if (isMaxTestCases) {\n return message.error('Max number of test cases reached.');\n }\n setModalLoading(true);\n let res;\n const isAnswerExists = getStringTestDuplicate(question);\n try {\n if (isAnswerExists) {\n setModalLoading(false);\n return message.warn('Test case already exists.');\n }\n if (typeof question === 'string') {\n res = await apiService.createTestCase(\n sentinel,\n selectedTestSuite.jid,\n question,\n selectedResponse,\n token\n );\n } else {\n res = await apiService.createManyTestCases(\n sentinel,\n token,\n selectedTestSuite.jid,\n question,\n shouldUseDefaultAnswer\n );\n }\n\n if (res.status === 200 && !res.data.report.length) {\n setModalLoading(false);\n return message.warn('Duplicated test case(s) found.');\n }\n\n const data = res.data.report;\n\n if (!data || !data.length) {\n throw new Error('No test case found.');\n }\n\n dispatch({\n type: ADD_TEST_CASE,\n payload: data,\n });\n\n setTestCaseSearchKey('');\n setShowValidationQuestionModal(false);\n setTestCaseToEdit(null);\n message.success('TestCase is added successfully');\n } catch (err) {\n setModalLoading(false);\n return message.error(err.message || 'Failed to add question');\n }\n return setModalLoading(false);\n };\n\n const handleShowTestCase = testCase => {\n let expectedAnswer;\n expectedAnswer = allAnswers.find(\n answer => answer?.text === testCase.answer\n );\n\n if (testCase.actualAnswerId) {\n let matchedAnswer;\n matchedAnswer = allAnswers.find(\n answer => answer?.show_text === testCase.actualAnswer\n );\n setActualAnswer(matchedAnswer || defaultAnswer);\n }\n\n setSelectedTestCase(testCase);\n setSelectedAnswer(expectedAnswer || defaultAnswer);\n setShowTestCaseDetailsModal(true);\n };\n\n const handleCloseTestCaseDetailsModal = () => {\n setSelectedAnswer(null);\n setActualAnswer(null);\n setSelectedTestCase(null);\n setShowTestCaseDetailsModal(false);\n };\n\n const handleEditTestCase = async testCase => {\n if (showTestCaseDetailsModal) {\n setModalLoading(true);\n } else {\n setPageLoading(true);\n }\n try {\n const res = await apiService.getAnswersWithScoreFromQuestion(\n testCase.question,\n jid,\n sentinel,\n token,\n true\n );\n const responseAnswerList = res.data.report;\n const allResponses = [\n generateDefaultAnswers(responseAnswerList),\n ...generateAboveThresholdAnswers(responseAnswerList),\n ];\n\n setResponses(\n showDraftResponses\n ? allResponses\n : allResponses.filter(answer => answer.version === 'final')\n );\n setAllResponses(allResponses);\n setBelowThresholdResponses(\n generateBelowThresholdAnswers(responseAnswerList)\n );\n\n const expectedAnswer = allAnswers.find(\n answer => answer.text === testCase.answer\n );\n setTestCaseToEdit(testCase);\n setExpectedAnswerToEdit(expectedAnswer || defaultAnswer);\n setResponseCount(3);\n\n const matchedResponse = [\n ...generateAboveThresholdAnswers(responseAnswerList),\n ...generateBelowThresholdAnswers(responseAnswerList),\n ].find(answer => answer.text === testCase.answer);\n setSelectedResponse(matchedResponse);\n\n setShowTestCaseDetailsModal(false);\n setSelectedTestCase(null);\n setShowValidationQuestionModal(true);\n } catch (err) {\n if (showTestCaseDetailsModal) {\n setModalLoading(false);\n } else {\n setPageLoading(false);\n }\n return message.error('Error while getting response');\n }\n if (showTestCaseDetailsModal) {\n setModalLoading(false);\n } else {\n setPageLoading(false);\n }\n };\n\n const handleCloseValidationQuestionModal = () => {\n setTestCaseToEdit(null);\n setSelectedResponse(null);\n setResponses(null);\n setResponseCount(3);\n setExpectedAnswerToEdit(null);\n setShowValidationQuestionModal(false);\n };\n\n const handleChangeTestCaseQuestion = value => {\n setTestCaseToEdit({\n ...testCaseToEdit,\n question: value,\n });\n };\n\n const handleUpdateTestCase = async (question, id, testResult) => {\n setModalLoading(true);\n try {\n const res = await apiService.updateTestCase(\n sentinel,\n id,\n question,\n selectedResponse.show_text,\n token\n );\n\n dispatch({\n type: UPDATE_TEST_CASE,\n payload: res.data?.report[0],\n });\n\n setShowValidationQuestionModal(false);\n setTestCaseToEdit(null);\n setSelectedResponse(null);\n setResponses(null);\n setResponseCount(3);\n message.success('TestCase is updated successfully');\n } catch (err) {\n setModalLoading(false);\n return message.error('Failed to update TestCase');\n }\n setModalLoading(false);\n };\n\n const handleDeleteTestCase = async testCase => {\n setPageLoading(true);\n try {\n await apiService.deleteTestCase(sentinel, testCase.jid, token);\n dispatch({\n type: DELETE_TEST_CASE,\n payload: {\n jid: testCase.jid,\n },\n });\n setTestCaseSearchKey('');\n\n message.success('TestCase is deleted successfully');\n } catch (err) {\n setPageLoading(false);\n message.error('Failed to delete TestCase');\n }\n setPageLoading(false);\n };\n\n const handleBackToTestSuites = () => {\n setFilteredTestCases([]);\n setTestCaseSearchKey('');\n setShowTestCases(false);\n };\n\n const handleRunTestSuite = async () => {\n setPageLoading(true);\n try {\n const res = await apiService.runTestSuite(\n sentinel,\n selectedTestSuite.jid,\n selectedTestSuite.name,\n token,\n useDraft\n );\n dispatch({\n type: RUN_TEST_SUITE,\n payload: res.data.report[0],\n });\n setTestCaseSearchKey('');\n } catch (err) {\n setPageLoading(false);\n return message.error(\n err.message !== DEFAULT_ERROR_MESSAGE\n ? err.message\n : 'Error while running test'\n );\n }\n setPageLoading(false);\n };\n\n const handleRunAllTests = async () => {\n setPageLoading(true);\n try {\n setPageLoading(true);\n const res = await apiService.runAllTests(\n sentinel,\n jid,\n token,\n allSuitesUseDraft\n );\n\n await dispatch({\n type: SET_TEST_SUITES,\n payload: res.data.report,\n });\n } catch (err) {\n message.error(err.message || GET_DATA_ERROR);\n setPageLoading(false);\n }\n setPageLoading(false);\n };\n\n const onClickClose = async ({ action, index, type, status }) => {\n if (\n [STATUS.FINISHED, STATUS.SKIPPED].includes(status) ||\n ACTIONS.CLOSE === action\n ) {\n setRunTour(false);\n setStepIndex(0);\n if (!onboarding_flag.includes('ValidationWelcomeMessage')) {\n await apiService.setOnboardingFlag(\n sentinel,\n token,\n graph,\n 'ValidationWelcomeMessage'\n );\n dispatch({\n type: SET_ONBOARDING_FLAG,\n payload: 'ValidationWelcomeMessage',\n });\n }\n }\n };\n\n const onClickCallback = async data => {\n const { action, index, type, status } = data;\n if (\n [STATUS.FINISHED, STATUS.SKIPPED].includes(status) ||\n ACTIONS.CLOSE === action\n ) {\n setRunTour(false);\n setStepIndex(0);\n } else if ([EVENTS.STEP_AFTER, EVENTS.TARGET_NOT_FOUND].includes(type)) {\n const stepIndex = index + (action === ACTIONS.PREV ? -1 : 1);\n setStepIndex(stepIndex);\n }\n };\n\n const handleToggleUseDraft = e => {\n return e.target.checked && !useDraft\n ? setUseDraft(true)\n : setUseDraft(false);\n };\n\n const handleToggleAllSuitesUseDraft = e => {\n return e.target.checked && !allSuitesUseDraft\n ? setAllSuitesUseDraft(true)\n : setAllSuitesUseDraft(false);\n };\n\n useEffect(() => {\n if (sentinel) {\n setIsPageReady(true);\n }\n\n return () => setIsPageReady(false);\n }, []);\n\n useEffect(() => {\n if (showDraftResponses && showBelowThresholdResponses) {\n setResponses([...allResponses, ...belowThresholdResponses]);\n } else if (!showDraftResponses && showBelowThresholdResponses) {\n setResponses([\n ...allResponses.filter(answer => answer.version === 'final'),\n ...belowThresholdResponses,\n ]);\n } else if (showDraftResponses && !showBelowThresholdResponses) {\n setResponses(allResponses);\n } else if (!showDraftResponses && !showBelowThresholdResponses) {\n setResponses(allResponses.filter(answer => answer.version === 'final'));\n }\n }, [showBelowThresholdResponses, showDraftResponses]);\n\n useEffect(() => {\n setFilteredTestCases(testCases);\n }, [testCases]);\n\n useEffect(() => {\n if (\n isPageReady &&\n !testSuites?.length &&\n !onboarding_flag.includes('ValidationWelcomeMessage') &&\n !showCreateSuiteModal\n ) {\n setRunTour(true);\n } else {\n setRunTour(false);\n }\n\n if (\n isPageReady &&\n testSuites?.length &&\n !onboarding_flag.includes('FirstSuite') &&\n !showValidationQuestionModal &&\n showTestCases\n ) {\n setRunFirstSuiteTour(true);\n }\n\n return () => {\n setRunFirstSuiteTour(false);\n setRunTour(false);\n };\n }, [\n isPageReady,\n onboarding_flag,\n showValidationQuestionModal,\n testSuites?.length,\n showTestCases,\n showCreateSuiteModal,\n ]);\n\n return {\n actualAnswer,\n name,\n expectedAnswerToEdit,\n filteredTestCases,\n isMaxTestCases,\n isMaxTestSuites,\n importExportEnabled,\n max_test_cases,\n max_test_suite,\n modalLoading,\n onClickClose,\n pageLoading,\n plan_type,\n responseCount,\n responses,\n runFirstSuiteTour,\n runTour,\n setRunFirstSuiteTour,\n selectedAnswer,\n selectedResponse,\n selectedTestCase,\n selectedTestSuite,\n showCreateSuiteModal,\n showEditSuiteModal,\n showTestCaseDetailsModal,\n showTestCases,\n showTestStatus,\n showValidationQuestionModal,\n testCases,\n testCaseSearchKey,\n testCaseToEdit,\n testLastRanTime,\n testStatus,\n testSuites,\n testSuiteToUpdate,\n handleAddQuestion,\n handleBackToTestSuites,\n handleChangeTestCaseQuestion,\n handleChangeTestSuiteName,\n handleCloseCreateSuiteModal,\n handleCloseEditSuiteModal,\n handleCloseValidationQuestionModal,\n handleCloseTestCaseDetailsModal,\n handleCreateNewSuite,\n handleDeleteTestCase,\n handleDeleteTestSuite,\n handleDownloadTestCases,\n handleEditTestCase,\n handleRunAllTests,\n handleRunTestSuite,\n handleSearchTestCases,\n handleSelectResponse,\n handleShowCreateSuite,\n handleShowEditTestSuiteModal,\n handleShowResponses,\n handleShowTestCase,\n handleShowTestCases,\n handleShowValidationQuestionModal,\n handleUpdateTestCase,\n handleUpdateTestSuite,\n handleToggleUseDraft,\n handleToggleAllSuitesUseDraft,\n sentinel,\n token,\n graph,\n dispatch,\n onboarding_flag,\n useDraft,\n allSuitesUseDraft,\n stepIndex,\n firstSuiteStepIndex,\n onClickCallback,\n isMobileView,\n };\n};\n\nexport default useValidation;\n","import styled from 'styled-components';\nimport { Row, Table, Tooltip } from 'antd';\nimport { SearchOutlined } from '@ant-design/icons';\nimport Input from 'components/Input';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledToolTip = styled(Tooltip)`\n strong {\n display: flex;\n width: 100%;\n }\n`;\n\nexport const NoTestGroup = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 65vh;\n margin: auto;\n justify-content: center;\n`;\n\nexport const StyledIconWrapper = styled.div`\n // display: flex;\n // justify-content: start;\n // align-items: center;\n // margin-left: 20px;\n // gap: 10px;\n\n .anticon {\n margin-right: 2%;\n font-size: 16px;\n }\n`;\n\nexport const StyledValidationTable = styled(Table)`\n padding: 0 16px;\n font-size: 0.8rem;\n th.ant-table-cell {\n font-weight: ${cssVariables.font.bold};\n font-size: 0.8rem;\n }\n`;\n\nexport const StyledLinkColumn = styled.div`\n color: ${props => props.theme.primaryBlue};\n font-size: 0.8rem;\n cursor: pointer;\n :hover {\n text-decoration: underline;\n }\n`;\n\nexport const TestStatusWrapper = styled(Row)`\n margin: 16px 0;\n`;\n\nexport const StyledTestStatus = styled.div`\n background: #fff;\n border: 1px solid #f4f6f8;\n border-radius: 5px;\n box-shadow: inset 0px 3px 0px ${props => props.color};\n width: 100%;\n padding: 16px 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n font-family: Roboto;\n\n div:first-child {\n font-weight: ${cssVariables.font.normal};\n font-size: 28px;\n line-height: 24px;\n color: ${props => props.color};\n margin-bottom: 2px;\n }\n\n div:last-child {\n font-size: 14px;\n line-height: 24px;\n color: #000;\n }\n`;\n\nexport const TestCaseHeader = styled(Row)`\n padding: 10px 0;\n align-items: center;\n`;\n\nexport const StyledRoot = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n`;\n\nexport const StyledNoTestGroupText = styled.div`\n font-family: ${cssVariables.font.fontFamily};\n font-size: 26px;\n font-weight: ${cssVariables.font.normal};\n color: #66696f;\n`;\n\nexport const StyledTestCases = styled.div`\n border: 1px solid #e8f0fd;\n border-radius: 5px;\n background: #fff;\n // position: relative;\n`;\n\nexport const StyledTestCasesHeader = styled.div`\n padding: 21px 16px;\n display: flex;\n justify-content: space-between;\n width: 100%;\n`;\n\nexport const StyledTestCasesAction = styled(Row)`\n width: 100%;\n`;\n\nexport const StyledTestCaseSearchInput = styled(Input)`\n margin-right: 8px;\n height: 36px;\n width: 100%;\n`;\n\nexport const StyledIconSearch = styled(SearchOutlined)`\n color: #b3b4b7;\n`;\n","/* eslint-disable react/display-name */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n CaretRightOutlined,\n CheckCircleFilled,\n CloseCircleFilled,\n DeleteOutlined,\n DownloadOutlined,\n EditOutlined,\n ForwardOutlined,\n PlusOutlined,\n QuestionCircleFilled,\n} from '@ant-design/icons';\nimport { Checkbox, Col, Dropdown, Menu, Row, Spin, Tooltip } from 'antd';\nimport Joyride from 'react-joyride';\n\nimport Button from 'components/Button';\nimport Input from 'components/Input';\nimport Modal from 'components/Modals/GenericModal';\nimport TestCaseModal from 'components/Modals/TestCaseModal';\nimport TestSuite from 'components/TestSuite';\nimport Title from 'components/Title';\nimport CreateTestsuiteModal from 'components/Modals/CreateTestsuiteModal';\nimport ValidationQuestionModal from 'components/Modals/ValidationQuestionModal';\nimport { stringLocaleCompare } from 'utils/stringManipulation';\nimport { getLocalTimeString, getTimeDifference } from 'utils/dates';\nimport useValidation from './hooks';\nimport {\n StyledToolTip,\n NoTestGroup,\n StyledIconWrapper,\n StyledValidationTable,\n StyledLinkColumn,\n TestStatusWrapper,\n StyledTestStatus,\n TestCaseHeader,\n StyledRoot,\n StyledNoTestGroupText,\n StyledTestCases,\n StyledTestCasesHeader,\n StyledTestCasesAction,\n StyledTestCaseSearchInput,\n StyledIconSearch,\n} from './Validation.styles';\nimport LimitationBanner from 'components/LimitationBanner';\nimport LimitationTooltip from 'components/ToolTips/LimitationToolTip';\nimport {\n FIRST_SUITE,\n VALIDATION_WELCOME_STEPS,\n} from 'constants/joyride_steps/validation_page';\nimport JoyrideTooltip from 'components/ToolTips/JoyrideToolTip';\nimport BackButton from 'components/BackButton';\nimport { cssVariables } from 'styles/root';\nimport { default as ToolTip } from 'components/ToolTips/BaseToolTip';\nimport MoreMenu from 'components/MoreMenu';\nimport { TEST_STATUS } from 'constants/testSuite';\n\nconst Validation = ({ loading }) => {\n // Alphabetical order of variables\n // to trace easily\n const {\n actualAnswer,\n name,\n expectedAnswerToEdit,\n filteredTestCases,\n isMaxTestCases,\n isMaxTestSuites,\n importExportEnabled,\n max_test_cases,\n max_test_suite,\n modalLoading,\n onClickClose,\n pageLoading,\n plan_type,\n responseCount,\n responses,\n runFirstSuiteTour,\n runTour,\n stepIndex,\n setFirstSuiteStepIndex,\n onClickCallback,\n selectedAnswer,\n selectedResponse,\n selectedTestCase,\n selectedTestSuite,\n showCreateSuiteModal,\n showEditSuiteModal,\n showTestCaseDetailsModal,\n showTestCases,\n showTestStatus,\n showValidationQuestionModal,\n testCases,\n testCaseSearchKey,\n testCaseToEdit,\n testLastRanTime,\n testStatus,\n testSuites,\n testSuiteToUpdate,\n handleAddQuestion,\n handleBackToTestSuites,\n handleChangeTestCaseQuestion,\n handleChangeTestSuiteName,\n handleCloseCreateSuiteModal,\n handleCloseEditSuiteModal,\n handleCloseValidationQuestionModal,\n handleCloseTestCaseDetailsModal,\n handleCreateNewSuite,\n handleDeleteTestCase,\n handleDeleteTestSuite,\n handleDownloadTestCases,\n handleEditTestCase,\n handleRunAllTests,\n handleRunTestSuite,\n handleSearchTestCases,\n handleSelectResponse,\n handleShowCreateSuite,\n handleShowEditTestSuiteModal,\n handleShowResponses,\n handleShowTestCase,\n handleShowTestCases,\n handleShowValidationQuestionModal,\n handleUpdateTestCase,\n handleUpdateTestSuite,\n handleToggleUseDraft,\n handleToggleAllSuitesUseDraft,\n allSuitesUseDraft,\n useDraft,\n isMobileView,\n } = useValidation();\n\n const MaxReachedToolTip = ({ type }) => {\n return (\n \n {`${plan_type.toUpperCase()} Plan has a limit of ${\n type === 'suites' ? max_test_suite : max_test_cases\n } Test ${type.charAt(0).toUpperCase() + type.slice(1)}`}\n {`Upgrade to add more`}\n \n );\n };\n\n const getTestResultIcon = result => {\n const { EDITED, PASSED, FAILED, UNTESTED } = TEST_STATUS;\n switch (result) {\n case PASSED:\n return (\n \n \n {PASSED}\n \n );\n case FAILED:\n return (\n \n \n {FAILED}\n \n );\n case EDITED:\n return (\n \n \n {EDITED}\n \n );\n case UNTESTED:\n return (\n \n \n {UNTESTED}\n \n );\n default:\n return ;\n }\n };\n\n const moreMenu = testCase => {\n return (\n \n }\n onClick={() => handleEditTestCase(testCase)}\n >\n Edit\n \n }\n onClick={() => handleDeleteTestCase(testCase)}\n >\n Delete\n \n \n );\n };\n\n const TestCasesList = [\n {\n title: 'Test Question',\n sorter: {\n compare: (a, b) => stringLocaleCompare(a.question, b.question),\n },\n render: testCase => (\n handleShowTestCase(testCase)}>\n {testCase.question}\n \n ),\n },\n {\n title: 'Result',\n align: 'center',\n dataIndex: 'testResult',\n sorter: (a, b) => stringLocaleCompare(a.testResult, b.testResult),\n render: result => (\n \n {getTestResultIcon(result)}\n \n ),\n },\n {\n title: 'Last Updated',\n align: 'center',\n dataIndex: 'lastUpdated',\n defaultSortOrder: 'descend',\n sorter: (a, b) => stringLocaleCompare(a.lastUpdate, b.lastUpdated),\n render: date => (\n \n {getLocalTimeString(new Date(date))}\n \n ),\n responsive: ['md'],\n },\n {\n title: 'Action',\n align: 'center',\n render: testCase => (\n \n \n \n ),\n },\n ];\n\n MaxReachedToolTip.propTypes = {\n type: PropTypes.oneOf(['cases', 'suites']).isRequired,\n };\n\n const MaxReachedNotice = ({ type }) => {\n return (\n \n );\n };\n\n MaxReachedNotice.propTypes = {\n type: PropTypes.oneOf(['cases', 'suites']).isRequired,\n };\n\n const TestSuites = () => {\n return (\n
    \n {testSuites?.map((testSuite, idx) => (\n \n ))}\n {isMaxTestSuites && }\n
    \n );\n };\n\n const renderEditSuiteModal = () => (\n \n
    \n \n \n \n );\n\n const RenderTestCaseDetailsModal = () => (\n \n );\n\n return (\n \n \n \n \n {!showTestCases ? (\n <>\n \n \n \n \n\n {testSuites?.length ? (\n \n \n \n {'Use draft'}\n \n \n \n ) : null}\n\n {testSuites?.length ? (\n \n }\n value=\"Run\"\n variant=\"success\"\n style={{ width: '100%' }}\n />\n \n ) : (\n \n )}\n {isMaxTestSuites ? (\n \n }\n disabledFeat={`+ New Suite`}\n isAnElement={true}\n />\n \n ) : (\n \n {testSuites?.length ? (\n \n ) : null}\n \n )}\n \n {testSuites?.length ? (\n \n ) : (\n \n \n You have no Test Group\n \n }\n className=\"new-suite-btn\"\n />\n \n )}\n {showCreateSuiteModal && (\n \n )}\n {showEditSuiteModal && renderEditSuiteModal()}\n \n ) : (\n <>\n \n \n \n \n \n\n {testCases.length ? (\n <>\n \n \n \n {'Use draft'}\n \n \n \n \n }\n variant=\"success\"\n full\n />\n \n \n ) : null}\n \n\n \n {`Total Test: ${testCases.length}`}\n \n {`Last modified: ${getTimeDifference(\n selectedTestSuite.lastModified\n )}`}\n \n \n {`Last Run/Tested: ${\n getTimeDifference(testLastRanTime) || 'N/A'\n }`}\n \n \n\n {showTestStatus && (\n \n \n \n
    {testStatus.success}
    \n
    Tests Passed
    \n
    {' '}\n \n \n \n
    {testStatus.fail}
    \n
    Failed Tests
    \n
    \n \n\n \n \n
    {testStatus.outdated}
    \n
    Edited Tests
    \n
    \n \n \n \n
    {testStatus.unknown}
    \n
    Untested
    \n
    \n \n
    \n )}\n\n \n \n \n \n }\n placeholder=\"Type to search test cases\"\n value={testCaseSearchKey}\n onChange={handleSearchTestCases}\n />\n \n \n \n {!importExportEnabled ? (\n \n \n {`Export`}\n \n \n }\n />\n \n ) : (\n \n {' '}\n }\n full\n />{' '}\n \n )}\n {isMaxTestCases ? (\n \n }\n disabledFeat={`Add Test`}\n style={{ whiteSpace: 'nowrap' }}\n isAnElement={true}\n />\n \n ) : (\n \n handleShowValidationQuestionModal(null)\n }\n >\n {' '}\n \n \n )}\n \n \n \n \n\n \n \n\n {isMaxTestCases && }\n {showTestCaseDetailsModal && }\n {showValidationQuestionModal && (\n \n )}\n \n )}\n
    \n
    \n );\n};\n\nexport default Validation;\n","import styled from 'styled-components';\nimport { Divider, Collapse } from 'antd';\nimport Button from 'components/Button';\nimport { cssVariables } from 'styles/root';\n\nconst { Panel } = Collapse;\n\nexport const StyledCodeButton = styled(Button)`\n background-color: ${cssVariables.primaryBlue} !important;\n text-transform: capitalize;\n max-width: 200px;\n\n &.secondary {\n color: ${cssVariables.primaryBlue} !important;\n background-color: transparent !important;\n }\n\n & span {\n font-weight: ${cssVariables.font.normal};\n letter-spacing: 0px;\n }\n`;\n\nexport const StyledActionBtns = styled.div`\n display: flex;\n column-gap: 10px;\n\n & button {\n text-transform: capitalize;\n }\n`;\n\nexport const StyledDivider = styled(Divider)`\n margin: 20px;\n`;\n\nexport const StyledEncircledNumber = styled.div`\n width: 25px;\n height: 25px;\n border-radius: 50%;\n border: 1px solid ${cssVariables.gray1};\n text-align: center;\n color: #0c3980;\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0px 5px;\n`;\n\nexport const StyledSnippets = styled.div`\n background: rgb(191, 221, 255, 0.1);\n padding: 20px;\n border-radius: 5px;\n\n & > * {\n opacity: 1;\n }\n`;\n\nexport const StyledCodeBlock = styled.div`\n max-width: 100%;\n border-radius: 5px;\n\n & pre {\n max-width: 100%;\n width: 100%;\n word-break: break-all;\n }\n`;\n\nexport const StyledIntegrationSteps = styled.div`\n width: 100%;\n\n & form {\n display: flex;\n flex-direction: column;\n row-gap: 16px;\n }\n`;\n\nexport const StyledIntegrationInstruction = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n`;\n\nexport const StyledCollapsiblePanel = styled(Panel)`\n & .ant-collapse-content-box {\n padding: 30px;\n }\n`;\n\nexport const StyledCollapsiblePanelHeader = styled.div`\n display: flex;\n align-items: center;\n\n & span {\n font-size: 1.3rem;\n }\n`;\n\nexport const StyledPanelSubheader = styled.div`\n display: flex;\n align-items: center;\n\n & span {\n font-size: 1rem;\n }\n`;\n\nexport const StyledIntegrationWPDownload = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 24px;\n`;\n\nexport const StyledIntegrationInstallationInstruction = styled.ol`\n margin-top: 10px;\n`;\n","export const publicAskedQuestionSelector = state =>\n state.pubAskedQuestion || '';\n\nexport const publicKeySelector = state => state.publicKey || '';\n\nexport const sentinelSelector = state => state.sentinel || '';\n","import { createSelector } from 'reselect';\nimport { isEmpty, isEqual } from 'lodash';\n\nimport { botJIDSelector, currentBotSelector, strippedBotJIDSelector } from '..';\nimport { allAnswersSelector } from '../answers';\nimport {\n BOT_PANEL_KEY_PREFIX,\n DEFAULT_WIDGET_HEIGHT,\n DEFAULT_MAX_INTERACTION,\n DEFAULT_REPLY_BUBBLE_GRADIENT,\n DEFAULT_WIDGET_HEIGHT_WITHOUT_PX,\n DEFAULT_BG,\n} from 'constants/botCustomizer';\nimport {\n publicAskedQuestionSelector,\n publicKeySelector,\n sentinelSelector,\n} from 'selectors/publicKeys';\nimport { stripUUID } from 'utils';\nimport { generateEncryptedBot } from 'services/fileGenerator.service';\nexport const integrationDataSelector = createSelector(\n currentBotSelector,\n bot => bot.currentIntegrationSettings || {}\n);\n\nexport const initialIntegrationSettingsSelector = createSelector(\n integrationDataSelector,\n currentSettings => currentSettings.initialSettings || {}\n);\n\nexport const hasIntegrationDataSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings => !isEmpty(currentIntegrationSettings.settings)\n);\n\nexport const isIntegrationDataNotLoadedSelector = createSelector(\n integrationDataSelector,\n initialIntegrationSettingsSelector,\n (currentIntegrationSettings, initialSettings) => {\n return (\n isEqual(currentIntegrationSettings, initialSettings) ||\n isEmpty(initialSettings)\n );\n }\n);\n\nexport const allIntegrationsSelector = createSelector(\n currentBotSelector,\n bot => bot.integrations\n);\n\nexport const integrationsFilterSelector = createSelector(\n allIntegrationsSelector,\n allIntegrations => {\n const defaultIntegrations = [\n { key: '0', id: '0', identifier: 'Demo Bot', value: 'Demo bot' },\n { key: '1', id: '1', identifier: 'ZSB Platform', value: 'ZSb Platform' },\n ];\n const integrationWithValues = allIntegrations.map(integration => ({\n ...integration,\n value: integration.identifier,\n }));\n return [...integrationWithValues, ...defaultIntegrations];\n }\n);\n\nexport const currentIntegrationIDSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings =>\n currentIntegrationSettings?.id || currentIntegrationSettings?.jid || null\n);\n\nexport const integrationPanelSettingsSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings => currentIntegrationSettings?.panel\n);\n\nexport const currentIntegrationActivePanelSelector = createSelector(\n integrationPanelSettingsSelector,\n integrationPanelSettings => integrationPanelSettings?.activePanel || 1\n);\n\nexport const integrationPanelPermitSelector = createSelector(\n integrationPanelSettingsSelector,\n integrationPanelSettings => integrationPanelSettings?.permit || 1\n);\n\nexport const shouldShowWidgetSelector = createSelector(\n hasIntegrationDataSelector,\n hasIntegrationSettings => Boolean(hasIntegrationSettings)\n);\n\nexport const widgetVersionSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings =>\n currentIntegrationSettings?.widgetVersion || 'v1'\n);\n\nexport const isWidgetV2Selector = createSelector(\n widgetVersionSelector,\n widgetVersion => widgetVersion === 'v2'\n);\n\nexport const isWidgetV1Selector = createSelector(\n widgetVersionSelector,\n widgetVersion => widgetVersion === 'v1'\n);\n\nexport const currentIntegrationSettingsSettingPropSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings => currentIntegrationSettings.settings || {}\n);\n\nexport const widgetV2TypeSelector = createSelector(\n integrationDataSelector,\n currentIntegrationSettings =>\n currentIntegrationSettings.settings?.type || 'chat'\n);\n\nexport const isSearchWidgetSelector = createSelector(\n isWidgetV2Selector,\n widgetV2TypeSelector,\n (isWidgetV2, widgetV2Type) => Boolean(isWidgetV2 && widgetV2Type === 'search')\n);\n\nexport const shouldShowWidgetV2Selector = createSelector(\n allAnswersSelector,\n isWidgetV2Selector,\n (allAnswers, isWidgetV2) => Boolean(allAnswers.length && isWidgetV2)\n);\n\nexport const shouldShowWidgetV1Selector = createSelector(\n allAnswersSelector,\n isWidgetV1Selector,\n (allAnswers, isWidgetV1) => Boolean(allAnswers.length && isWidgetV1)\n);\n\nexport const widgetPlaceholderSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.placeholder\n);\n\nexport const widgetHeightSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return typeof settings.height === 'string' &&\n settings.height?.includes('px')\n ? !isNaN(settings.height.split('px')[0])\n ? settings.height.split('px')[0]\n : DEFAULT_WIDGET_HEIGHT\n : DEFAULT_WIDGET_HEIGHT_WITHOUT_PX;\n }\n);\n\nexport const widgetHeightWithPixelSelector = createSelector(\n widgetHeightSelector,\n height => {\n const heightInNumber =\n typeof height === 'string' && height.includes('px')\n ? Number(height.split('px')[0])\n : !isNaN(height)\n ? height\n : DEFAULT_WIDGET_HEIGHT_WITHOUT_PX;\n\n return !isNaN(heightInNumber) && typeof height === 'string'\n ? height.includes('px')\n ? height\n : `${height}px`\n : !isNaN(height)\n ? `${height}px`\n : DEFAULT_WIDGET_HEIGHT;\n }\n);\n\nexport const widgetThemeColorSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.color\n);\n\nexport const widgetIconColorSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.iconColor\n);\n\n// either `chat` || `header`\nexport const avatarPositionSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.avatarPosition\n);\n\nexport const integrationChannelNameSelector = createSelector(\n integrationDataSelector,\n currentBotSelector,\n (currentIntegration, bot) => currentIntegration.identifier\n);\n\nexport const integrationPathSelector = createSelector(\n integrationDataSelector,\n currentIntegration => currentIntegration.path || ''\n);\n\nexport const botTitleSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n integrationChannelNameSelector,\n (settings, identifier) => {\n return settings?.botTitle || identifier;\n }\n);\n\nexport const launcherPositionSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return settings?.position || 'bottom-right';\n }\n);\n\nexport const isConfigPanelSettingsUnchangedSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n initialIntegrationSettingsSelector,\n (currentSettings, initialSettings) => {\n return (\n currentSettings.botTitle === initialSettings.settings?.botTitle &&\n currentSettings.subtitle === initialSettings.settings?.subtitle &&\n currentSettings.placeholder === initialSettings.settings?.placeholder &&\n currentSettings.welcomeMessage ===\n initialSettings.settings?.welcomeMessage\n );\n }\n);\n\nexport const isAppearancePanelSettingsUnchangedSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n initialIntegrationSettingsSelector,\n (currentSettings, initialSettings) => {\n return (\n currentSettings.avatar === initialSettings.settings?.avatar &&\n currentSettings.avatarPosition ===\n initialSettings.settings?.avatarPosition &&\n currentSettings.height === initialSettings.settings?.height &&\n currentSettings.textColor === initialSettings.settings?.textColor &&\n currentSettings.headerAvatarType ===\n initialSettings.settings?.headerAvatarType &&\n currentSettings.replyBubbleGradient ===\n initialSettings.settings?.replyBubbleGradient &&\n currentSettings.bubbleColor === initialSettings.settings?.bubbleColor &&\n currentSettings.fontSize === initialSettings.settings?.fontSize &&\n currentSettings.autoOpen === initialSettings.settings?.autoOpen &&\n currentSettings.speechToText === initialSettings.settings?.speechToText &&\n currentSettings.textToSpeech === initialSettings.settings?.textToSpeech &&\n currentSettings.typingExperience ===\n initialSettings.settings?.typingExperience &&\n currentSettings.showCloseButton ===\n initialSettings.settings?.showCloseButton\n );\n }\n);\n\nexport const isPlacementPanelSettingsUnchangedSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n initialIntegrationSettingsSelector,\n (currentSettings, initialSettings) => {\n return (\n currentSettings.background === initialSettings.settings?.background &&\n currentSettings.shape === initialSettings.settings?.shape &&\n currentSettings.src === initialSettings.settings?.src &&\n currentSettings.position === initialSettings.settings?.position &&\n currentSettings.label === initialSettings.settings?.label\n );\n }\n);\n\nexport const interactionHistorySelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return settings.interactionHistory;\n }\n);\n\nexport const maxInteractionSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return settings.maxInteraction || DEFAULT_MAX_INTERACTION;\n }\n);\n\nexport const currentIntegrationTypeSelector = createSelector(\n integrationDataSelector,\n currentIntegration => {\n return currentIntegration?.type || null;\n }\n);\n\nconst platformSelector = (_state, platform) => {\n return platform;\n};\n\nexport const isDemoIntegrationSelector = createSelector(\n currentIntegrationTypeSelector,\n platformSelector,\n (type, platform) => {\n return type ? type.includes('demo') : false;\n }\n);\n\nexport const replyBubbleGradientSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n const gradient =\n settings?.replyBubbleGradient ||\n settings?.bubbleGradient ||\n DEFAULT_REPLY_BUBBLE_GRADIENT;\n return typeof gradient !== 'number' ? Number(gradient) : gradient;\n }\n);\n\nexport const launcherShapeSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.shape || 'circle'\n);\n\nexport const isMobileIntegrationSelector = createSelector(\n currentIntegrationTypeSelector,\n integrationType => {\n return integrationType?.toLowerCase()?.includes('mobile');\n }\n);\n\nexport const postCustomizationConfirmEditModalSelector = createSelector(\n integrationPanelSettingsSelector,\n panelSettings => {\n return panelSettings?.postCustomizationConfirmEditModal || {};\n }\n);\n\nexport const preCustomizationConfirmEditModalSelector = createSelector(\n integrationPanelSettingsSelector,\n panelSettings => {\n return panelSettings?.preCustomizationConfirmEditModal || {};\n }\n);\n\nexport const postCustomizationSelectedPanelOpenSelector = createSelector(\n postCustomizationConfirmEditModalSelector,\n modal => {\n return modal.selectedPanel;\n }\n);\n\nexport const isPostCustomizationEditModalOpenSelector = createSelector(\n postCustomizationConfirmEditModalSelector,\n postCustomizationConfirmEditModal => {\n return Boolean(postCustomizationConfirmEditModal.isOpen);\n }\n);\n\nexport const isPostCustomizationEditModalEditableSelector = createSelector(\n postCustomizationConfirmEditModalSelector,\n postCustomizationConfirmEditModal => {\n return Boolean(postCustomizationConfirmEditModal?.editable);\n }\n);\n\nexport const customizerActivePanelSelector = createSelector(\n integrationDataSelector,\n currentIntegration => {\n return (\n currentIntegration.customizerActivePanel || `${BOT_PANEL_KEY_PREFIX}1`\n );\n }\n);\n\nexport const isPreCustomizationEditModalOpenSelector = createSelector(\n preCustomizationConfirmEditModalSelector,\n modal => {\n return Boolean(modal.isOpen);\n }\n);\n\nexport const demoIntegrationBackgroundSelector = createSelector(\n isDemoIntegrationSelector,\n currentIntegrationSettingsSettingPropSelector,\n (isDemo, settings) => (isDemo ? settings.background || DEFAULT_BG : '')\n);\n\nexport const isDemoCustomBgSelectedSelector = createSelector(\n demoIntegrationBackgroundSelector,\n background => background !== 'dark' && background !== 'light'\n);\n\nexport const isDemoHasCustomBackgroundSelector = createSelector(\n isDemoIntegrationSelector,\n demoIntegrationBackgroundSelector,\n (isDemo, background) => {\n const bgList = ['light', 'dark', 'custom'];\n if (\n isDemo &&\n (background.length || background instanceof File) &&\n !bgList.includes(background)\n ) {\n return true;\n }\n return false;\n }\n);\n\nexport const isDemoDarkBackgroundSelector = createSelector(\n demoIntegrationBackgroundSelector,\n isDemoIntegrationSelector,\n (background, isDemo) => Boolean(isDemo && background === 'dark')\n);\n\nexport const integrationFolderPathSelector = createSelector(\n strippedBotJIDSelector,\n botJid => botJid\n);\n\n// returns the value from `file` type value\n// else null\nexport const demoCustomBackgroundSelector = createSelector(\n demoIntegrationBackgroundSelector,\n isDemoHasCustomBackgroundSelector,\n integrationFolderPathSelector,\n (background, hasCustomDemoBg) => {\n // checks if background is still not uploaded to cloud\n if (hasCustomDemoBg && background instanceof File) {\n return background;\n }\n return null;\n }\n);\n\nconst AZURE_DEMO_URI = process.env.REACT_APP_AZURE_DEMO_URI;\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst INTEGRATIONS_CONTAINER_NAME = 'integrations';\n\nexport const integrationConfigURLSelector = createSelector(\n currentBotSelector,\n isDemoIntegrationSelector,\n currentIntegrationIDSelector,\n (bot, isDemo, currentIntegrationId) => {\n const folderPath = stripUUID(bot.jid);\n const integrationID = stripUUID(currentIntegrationId);\n const fileName = 'config.json';\n\n return isDemo\n ? `${AZURE_DEMO_URI}${folderPath}/${fileName}`\n : !isDemo && integrationID\n ? `${AZURE_STORAGE_URI}${INTEGRATIONS_CONTAINER_NAME}/${folderPath}/${integrationID}/${fileName}`\n : null;\n }\n);\n\nexport const encryptedBotSelector = createSelector(\n sentinelSelector,\n publicAskedQuestionSelector,\n publicKeySelector,\n botJIDSelector,\n integrationConfigURLSelector,\n isDemoIntegrationSelector,\n (sentinel, pubAskedQuestion, publicKey, botJid, integrationConfigURL) => {\n return generateEncryptedBot(\n botJid,\n sentinel,\n integrationConfigURL,\n publicKey,\n pubAskedQuestion\n );\n }\n);\n\nconst ZSB_JS_FILE = process.env.REACT_APP_AZURE_BOTCLIENT_FILE;\nconst ZSB_JS_FILE_V2 = process.env.REACT_APP_AZURE_BOTCLIENT_FILE_V2;\nconst ZSB_JS_URI = process.env.REACT_APP_AZURE_BOTCLIENT_URI;\nconst ZSB_JS_TOKEN = process.env.REACT_APP_AZURE_BOTCLIENT_SAS_TOKEN;\nexport const BOT_SCRIPT = ``;\nexport const BOT_SCRIPT_V2 = ``;\n","export const hexToRGBA = (hexColor, alpha) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hexColor);\n if (result) {\n var r = parseInt(result[1], 16);\n var g = parseInt(result[2], 16);\n var b = parseInt(result[3], 16);\n return alpha ? r + ',' + g + ',' + b + ',' + alpha : r + ',' + g + ',' + b;\n }\n return '';\n};\n","import { createSelector } from 'reselect';\n\nimport {\n botTitleSelector,\n currentIntegrationIDSelector,\n integrationDataSelector,\n currentIntegrationSettingsSettingPropSelector,\n demoCustomBackgroundSelector,\n demoIntegrationBackgroundSelector,\n encryptedBotSelector,\n initialIntegrationSettingsSelector,\n integrationChannelNameSelector,\n integrationConfigURLSelector,\n integrationFolderPathSelector,\n integrationPathSelector,\n interactionHistorySelector,\n isDemoCustomBgSelectedSelector,\n isDemoDarkBackgroundSelector,\n isDemoHasCustomBackgroundSelector,\n isDemoIntegrationSelector,\n isMobileIntegrationSelector,\n launcherPositionSelector,\n launcherShapeSelector,\n maxInteractionSelector,\n replyBubbleGradientSelector,\n widgetHeightWithPixelSelector,\n widgetIconColorSelector,\n widgetPlaceholderSelector,\n widgetThemeColorSelector,\n widgetV2TypeSelector,\n widgetVersionSelector,\n} from '.';\nimport {\n LAUNCHER_ONLY_AVATAR,\n AVATAR_ICON_OPTIONS,\n DEFAULT_REPLY_BUBBLE_GRADIENT,\n DEFAULT_WIDGET_WELCOME_MESSAGE,\n DEFAULT_MAX_INTERACTION,\n DEFAULT_BG,\n DEFAULT_BG_LIGHT,\n} from 'constants/botCustomizer';\nimport { hexToRGBA } from 'components/BotCustomizer/utils';\nimport { isImageOrDocFileType } from 'utils/dataTypes';\nimport { MESSENGER_API_VERSION } from 'constants/integration';\nimport { cssVariables } from 'styles/root';\nimport {\n COPY_TO_CLIPBOARD_SCRIPT,\n generateBody,\n generateHeader,\n} from 'services/fileGenerator.service';\nimport { botNameSelector, currentBotSelector } from '..';\nimport { getImageCloudPath } from 'store/reducers/helpers/bot/integrations';\n\n// TODO: move widget integration settings here plz\nexport const widgetFormFieldsSelectors = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.formFields || []\n);\n\nexport const widgetAvatarResponseSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.responseAvatar\n);\n\nexport const launcherAvatarSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => settings.launcherAvatar || 'default'\n);\n\nexport const launcherAvatarTypeSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return settings.launcherAvatarType || 'icon';\n }\n);\n\nexport const isUseWidgetIconRadioDisabledSelector = createSelector(\n launcherAvatarSelector,\n launcherAvatarTypeSelector,\n (launcherAvatar, launcherAvatarType) => {\n return (\n launcherAvatarType !== 'icon' ||\n (launcherAvatarType === 'icon' &&\n Boolean(\n launcherAvatar && LAUNCHER_ONLY_AVATAR.includes(launcherAvatar)\n ))\n );\n }\n);\n\nexport const widgetHeaderAvatarTypeSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n isUseWidgetIconRadioDisabledSelector,\n (settings, isUseWidgetIconRadioDisabled) => {\n if (settings.headerAvatarType === 'icon' && isUseWidgetIconRadioDisabled) {\n return 'none';\n }\n // Deprecating `botAvatar` to `headerAvatarType`\n return settings.headerAvatarType || settings.botAvatar || 'none';\n }\n);\n\nexport const widgetAvatarResponseTypeSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n isUseWidgetIconRadioDisabledSelector,\n (settings, isUseWidgetIconRadioDisabled) => {\n if (\n settings.responseAvatarType === 'icon' &&\n isUseWidgetIconRadioDisabled\n ) {\n return 'none';\n }\n return settings.responseAvatarType || 'none';\n }\n);\n\nexport const isLauncherAvatarSvgIconSelector = createSelector(\n launcherAvatarTypeSelector,\n launcherAvatarSelector,\n (launcherAvatarType, launcherAvatar) =>\n launcherAvatarType === 'icon' &&\n AVATAR_ICON_OPTIONS.includes(launcherAvatar)\n);\n\nexport const isLauncherAvatarCustomSelector = createSelector(\n launcherAvatarTypeSelector,\n launcherAvatarSelector,\n (launcherAvatarType, launcherAvatar) =>\n launcherAvatarType === 'custom' &&\n !AVATAR_ICON_OPTIONS.includes(launcherAvatar) &&\n (launcherAvatar instanceof File ||\n (typeof launcherAvatar === 'string' &&\n isImageOrDocFileType(launcherAvatar) === 'image'))\n);\n\nexport const widgetHeaderAvatarSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n widgetHeaderAvatarTypeSelector,\n launcherAvatarTypeSelector,\n (settings, headerAvatarType, launcherAvatarType) => {\n if (\n headerAvatarType === 'icon' &&\n launcherAvatarType === 'icon' &&\n !LAUNCHER_ONLY_AVATAR.includes(settings.headerAvatar)\n ) {\n return settings.launcherAvatar;\n }\n return settings.headerAvatar || null;\n }\n);\n\nexport const isHeaderAvatarSvgIconSelector = createSelector(\n widgetHeaderAvatarTypeSelector,\n widgetHeaderAvatarSelector,\n (headerAvatarType, avatar) => {\n return typeof headerAvatarType !== 'undefined' && avatar\n ? headerAvatarType === 'icon' &&\n AVATAR_ICON_OPTIONS.includes(avatar) &&\n !LAUNCHER_ONLY_AVATAR.includes(avatar)\n : // fallback icon type is launcherAvatarType\n false;\n }\n);\n\n// returns true if\n// avatar is file type or in-cloud path\nexport const isHeaderAvatarCustomSelector = createSelector(\n widgetHeaderAvatarTypeSelector,\n isHeaderAvatarSvgIconSelector,\n widgetHeaderAvatarSelector,\n initialIntegrationSettingsSelector,\n (avatarType, isIconTypeAvatar, avatar) => {\n return (\n avatarType === 'custom' &&\n // if avatar is not uploaded yet\n // expects `file` type value\n (avatar instanceof File ||\n (typeof avatar === 'string' &&\n isImageOrDocFileType(avatar) === 'image'))\n );\n }\n);\n\n// only show cloud path avatar\nexport const showHeaderImagePreviewSelector = createSelector(\n widgetHeaderAvatarSelector,\n isHeaderAvatarCustomSelector,\n (avatar, isHeaderAvatarCustomType) => {\n return (\n isHeaderAvatarCustomType &&\n typeof avatar === 'string' &&\n isImageOrDocFileType(avatar) === 'image'\n );\n }\n);\n\n// only show cloud path avatar\nexport const showLauncherImagePreviewSelector = createSelector(\n launcherAvatarSelector,\n isLauncherAvatarCustomSelector,\n (avatar, isAvatarCustomType) => {\n return (\n isAvatarCustomType &&\n typeof avatar === 'string' &&\n isImageOrDocFileType(avatar) === 'image'\n );\n }\n);\n\nexport const isHeaderAvatarCantApplySelector = createSelector(\n widgetHeaderAvatarSelector,\n headerAvatar => {\n return (\n LAUNCHER_ONLY_AVATAR.includes(headerAvatar) ||\n headerAvatar === 'custom' ||\n (headerAvatar !== 'custom' && !AVATAR_ICON_OPTIONS.includes(headerAvatar))\n );\n }\n);\n\n// default replyBubbleColor + gradient\n// value returned is for rendering\n// not for saving into `config.json`\nexport const defaultReplyBubbleColorSelector = createSelector(\n replyBubbleGradientSelector,\n widgetThemeColorSelector,\n (replyBubbleGradient, themeColor) => {\n const converted = hexToRGBA(\n themeColor,\n replyBubbleGradient || DEFAULT_REPLY_BUBBLE_GRADIENT\n );\n return `rgba(${converted})`;\n }\n);\n\nexport const welcomeMessageSelector = createSelector(\n currentIntegrationSettingsSettingPropSelector,\n settings => {\n return settings.welcomeMessage || DEFAULT_WIDGET_WELCOME_MESSAGE;\n }\n);\n\nexport const isDemoCustomBackgroundInCloudSelector = createSelector(\n demoIntegrationBackgroundSelector,\n isDemoHasCustomBackgroundSelector,\n background => {\n const bgList = ['light', 'dark', 'custom'];\n return typeof background === 'string' && !bgList.includes(background)\n ? isImageOrDocFileType(background) === 'image'\n : false;\n }\n);\n\nexport const demoCustomBackgroundCloudPathSelector = createSelector(\n demoIntegrationBackgroundSelector,\n integrationFolderPathSelector,\n (background, folderPath) => {\n const bgList = ['light', 'dark', 'custom'];\n // expects that the customBackground value is from `file` type value\n if (typeof background === 'string' && bgList.includes(background)) {\n return null;\n } else {\n return getImageCloudPath(background, folderPath, 'demo-background');\n }\n }\n);\n\nexport const widgetHeaderAvatarCloudPathSelector = createSelector(\n widgetHeaderAvatarSelector,\n integrationFolderPathSelector,\n (headerAvatar, folderPath) => {\n return getImageCloudPath(headerAvatar, folderPath, 'headerAvatar');\n }\n);\n\nexport const widgetResponseAvatarCloudPathSelector = createSelector(\n widgetAvatarResponseSelector,\n integrationFolderPathSelector,\n (responseAvatar, folderPath) => {\n return getImageCloudPath(responseAvatar, folderPath, 'responseAvatar');\n }\n);\n\nexport const launcherAvatarCloudPathSelector = createSelector(\n launcherAvatarSelector,\n integrationFolderPathSelector,\n (launcherAvatar, folderPath) => {\n return getImageCloudPath(launcherAvatar, folderPath, 'launcherAvatar');\n }\n);\n\nexport const integrationConfigDataSelector = createSelector(\n widgetHeaderAvatarTypeSelector,\n widgetHeaderAvatarSelector,\n launcherAvatarSelector,\n launcherAvatarTypeSelector,\n demoCustomBackgroundSelector,\n welcomeMessageSelector,\n widgetAvatarResponseSelector,\n widgetAvatarResponseTypeSelector,\n widgetFormFieldsSelectors,\n demoIntegrationBackgroundSelector,\n launcherShapeSelector,\n replyBubbleGradientSelector,\n isDemoIntegrationSelector,\n interactionHistorySelector,\n launcherPositionSelector,\n botTitleSelector,\n integrationChannelNameSelector,\n widgetIconColorSelector,\n widgetThemeColorSelector,\n widgetHeightWithPixelSelector,\n widgetPlaceholderSelector,\n widgetV2TypeSelector,\n widgetVersionSelector,\n currentIntegrationIDSelector,\n maxInteractionSelector,\n currentIntegrationSettingsSettingPropSelector,\n currentBotSelector,\n (\n headerAvatarType,\n headerAvatar,\n launcherAvatar,\n launcherAvatarType,\n customBackground,\n welcomeMessage,\n responseAvatar,\n responseAvatarType,\n formFields,\n demoBackground,\n shape,\n replyBubbleGradient,\n isDemo,\n interactionHistory,\n position,\n botTitle,\n identifier,\n iconColor,\n color,\n height,\n placeholder,\n widgetType,\n widgetVersion,\n integrationId,\n maxInteraction,\n settings,\n bot\n ) => {\n return {\n identifier: identifier || bot.name,\n integration: {\n name: identifier || bot.name,\n id: isDemo ? '0' : integrationId,\n },\n autoOpen:\n // openWidget name is deprecated\n typeof settings.autoOpen !== 'undefined'\n ? Boolean(settings.autoOpen)\n : Boolean(settings.openWidget),\n authenticatedUser: Boolean(settings.authenticatedUser),\n background: isDemo\n ? customBackground\n ? // image background\n customBackground\n : // either 'dark', or 'light'\n demoBackground\n : // background is used for demo html\n // therefore non-demo type of integration dont need background\n undefined,\n botTitle,\n // v1 uses `componentTitle`\n componentTitle:\n widgetVersion === 'v1'\n ? botTitle || settings.componentTitle\n : undefined,\n bubbleColor: settings.bubbleColor || color,\n category: shape === 'rectangle' ? 'text' : 'image',\n callbackEmail: Boolean(settings.callbackEmail),\n // widget theme color\n color,\n // whether we allow client to show request agent fields (?)\n displayFormFields: Boolean(settings.displayFormFields),\n // the formfields that will be displayed for request callback\n formFields,\n fb_access_token: settings.fb_access_token || null,\n fb_api_version: settings.fb_api_version || MESSENGER_API_VERSION,\n formHeader: settings.formHeader,\n // font size for chat messages (?)\n fontSize: Boolean(settings.fontSize)\n ? String(settings.fontSize).includes('px')\n ? settings.fontSize\n : `${settings.fontSize}px`\n : '13px',\n iconColor,\n interactionHistory,\n handoffLabel: settings.handoffLabel || `Request Agent Call Back`,\n height,\n // v1 uses avatar && avatarPosition\n avatar: widgetVersion === 'v2' ? undefined : headerAvatar,\n avatarPosition:\n widgetVersion === 'v2'\n ? undefined\n : settings.avatarPosition\n ? headerAvatarType !== 'none' && headerAvatar\n ? 'header'\n : responseAvatarType !== 'none' && responseAvatar\n ? 'chat'\n : settings.avatarPosition\n : undefined,\n headerAvatar,\n responseAvatar,\n launcherAvatar,\n // types are either 'none', 'icon' or 'custom'\n headerAvatarType,\n launcherAvatarType,\n responseAvatarType,\n maxInteraction: maxInteraction || DEFAULT_MAX_INTERACTION,\n maxUnlike: settings.maxUnlike || DEFAULT_MAX_INTERACTION,\n placeholder,\n position,\n // deprecated in v2\n openWidget:\n widgetVersion === 'v2'\n ? undefined\n : typeof settings.autoOpen !== 'undefined'\n ? Boolean(settings.autoOpen)\n : Boolean(settings.openWidget),\n // color gradient of the `color` prop\n replyBubbleGradient,\n // no label needed if widget is circle\n // todo: plz deprecate `src`\n src: shape === 'rectangle' ? settings.label : null,\n label: shape === 'rectangle' ? settings.label : null,\n shape,\n showCloseButton: Boolean(settings.showCloseButton),\n subtitle: settings?.subtitle || 'Come and Test me',\n textColor: settings.textColor || color,\n // v2 can now accept either 'chat' or 'search' type\n type: widgetType,\n widgetVersion,\n welcomeMessage,\n cancelledFormMessage:\n settings.cancelledFormMessage ||\n `You've cancelled the form. Anything else I can help you with?`,\n submittedFormMessage:\n settings.submittedFormMessage ||\n `Thank you, your information has been submitted. Next available agent will connect with you shortly.`,\n typingExperience: Boolean(settings.typingExperience) || false,\n };\n }\n);\n\nexport const currentFullIntegrationSelector = createSelector(\n integrationChannelNameSelector,\n integrationPathSelector,\n integrationConfigDataSelector,\n integrationDataSelector,\n (identifier, path, configData, currentIntegration) => {\n return {\n identifier,\n path,\n type: currentIntegration.type,\n settings: configData,\n };\n }\n);\n\nconst ZSB_JS_FILE = process.env.REACT_APP_AZURE_BOTCLIENT_FILE;\nconst ZSB_JS_FILE_V2 = process.env.REACT_APP_AZURE_BOTCLIENT_FILE_V2;\nconst ZSB_JS_URI = process.env.REACT_APP_AZURE_BOTCLIENT_URI;\nconst ZSB_JS_TOKEN = process.env.REACT_APP_AZURE_BOTCLIENT_SAS_TOKEN;\n\nexport const BOT_SCRIPT = ``;\nexport const BOT_SCRIPT_V2 = ``;\n\nexport const demoBodySelector = createSelector(\n isDemoIntegrationSelector,\n isDemoCustomBgSelectedSelector,\n integrationConfigURLSelector,\n botNameSelector,\n isDemoDarkBackgroundSelector,\n (isDemo, isDemoCustomBgSelected, demoLink, botName, isDemoDarkBg) => {\n return isDemo && !isDemoCustomBgSelected\n ? generateBody(demoLink, botName, isDemoDarkBg)\n : '';\n }\n);\n\nexport const demoHeaderSelector = createSelector(\n isDemoIntegrationSelector,\n isDemoCustomBgSelectedSelector,\n isDemoDarkBackgroundSelector,\n (isDemo, isDemoCustomBgSelected, isDemoDarkBg) => {\n return isDemo && isDemoCustomBgSelected ? generateHeader(isDemoDarkBg) : '';\n }\n);\n\nexport const botComponentSelector = createSelector(\n encryptedBotSelector,\n currentIntegrationSettingsSettingPropSelector,\n isMobileIntegrationSelector,\n widgetVersionSelector,\n widgetHeightWithPixelSelector,\n (encryptedBot, settings, isMobileIntegration, widgetVersion, height) => {\n const isAuthenticatedUser = Boolean(settings.authenticatedUser);\n const authenticatedHTMLTag = isAuthenticatedUser\n ? `visitorid=$visitorID`\n : ``;\n\n const botComponent = isMobileIntegration\n ? `WebViewPlus(\n javascriptMode: JavascriptMode.unrestricted,\n onWebViewCreated: (controller) {\n ${\n isAuthenticatedUser\n ? `final String visitorID = ModalRoute.of(context)!.settings.arguments as String;`\n : ''\n }\n final String botIntegration='${\n widgetVersion === 'v2' ? BOT_SCRIPT_V2 : BOT_SCRIPT\n }';\n _controller = controller;\n controller.loadString(botIntegration);\n }\n )`\n : ``;\n\n return botComponent;\n }\n);\n\nexport const headTagCodeSelector = createSelector(\n widgetVersionSelector,\n widgetVersion => `\n \n \n \n ${widgetVersion === 'v2' ? BOT_SCRIPT_V2 : BOT_SCRIPT}\n \n `\n);\n\nexport const demoHTMLSelector = createSelector(\n isDemoIntegrationSelector,\n demoCustomBackgroundCloudPathSelector,\n botComponentSelector,\n isDemoHasCustomBackgroundSelector,\n headTagCodeSelector,\n isDemoDarkBackgroundSelector,\n demoHeaderSelector,\n demoBodySelector,\n (\n isDemo,\n demoCustomBackground,\n zsbComponent,\n isCustomBg,\n headTag,\n isDarkBg,\n header,\n body\n ) => {\n if (isDemo) {\n const HTMLBgImgURL = isCustomBg\n ? demoCustomBackground\n : isDarkBg\n ? DEFAULT_BG\n : DEFAULT_BG_LIGHT;\n\n let demoHTML;\n\n const demoBodyStyle = `\n ${Boolean(isCustomBg) ? '' : COPY_TO_CLIPBOARD_SCRIPT}\n \n `;\n demoHTML = headTag.replace('', `$& ${demoBodyStyle}`);\n demoHTML = demoHTML.replace(\n '',\n `$& \n ${isCustomBg ? zsbComponent : header + body + zsbComponent}\n `\n );\n return demoHTML;\n }\n\n return null;\n }\n);\n","import { BlobServiceClient } from '@azure/storage-blob';\nimport { getImageCloudPath } from 'store/reducers/helpers/bot/integrations';\n\nconst DEMO_CONTAINER_NAME = '$web';\nconst INTEGRATIONS_CONTAINER_NAME = 'integrations';\nconst SAS_TOKEN = process.env.REACT_APP_AZURE_SAS_TOKEN;\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst BLOB_CACHE_CONTROL = 'public, max-age=0';\n\nconst blobServiceClient = new BlobServiceClient(\n `${AZURE_STORAGE_URI}?${SAS_TOKEN}`\n);\nconst containerClient =\n blobServiceClient.getContainerClient(DEMO_CONTAINER_NAME);\nconst webContainerClient = blobServiceClient.getContainerClient(\n INTEGRATIONS_CONTAINER_NAME\n);\n\nconst getBlobHTMLFilepath = folderPath => folderPath + '/index.html';\nconst getBlobConfigJsonFilepath = folderPath => folderPath + '/config.json';\n\n// let's move the azure upload here\n// for separation of concerns\nexport const BlobStorageService = {\n uploadDemoHTMLAndImageFiles: async function (\n folderPath,\n configData,\n isDemo,\n integrationConfigURL,\n demoHTML,\n isDemoHasCustomBackground,\n demoCustomBackground\n ) {\n try {\n const formData = new FormData();\n\n const blockHTMLBlob = containerClient.getBlockBlobClient(\n getBlobHTMLFilepath(folderPath)\n );\n const htmlBlob = new Blob([demoHTML], { type: 'text/html' });\n // no bg / html upload for web integration\n if (isDemo) {\n const backgroundPathInCloud = getImageCloudPath(\n demoCustomBackground,\n folderPath,\n 'demo-background'\n );\n const blockBackgroundBlob = containerClient.getBlockBlobClient(\n backgroundPathInCloud\n );\n if (isDemoHasCustomBackground) {\n const customBackgroundBlob = new Blob([demoCustomBackground], {\n type: demoCustomBackground.type,\n });\n\n formData.append(\n 'backgroundImage',\n customBackgroundBlob,\n demoCustomBackground.name\n );\n }\n formData.append('upload_file', htmlBlob, 'index.html');\n\n const files = isDemoHasCustomBackground\n ? [formData.getAll('upload_file'), formData.getAll('backgroundImage')]\n : [formData.getAll('upload_file')];\n\n // uploading the blobs\n await Promise.all(\n files.map((file, key) => {\n const blobOptions = {\n blobHTTPHeaders: {\n blobContentType: String(file[0].type),\n blobCacheControl: BLOB_CACHE_CONTROL,\n },\n };\n if (blobOptions) {\n if (file && file[0].type === 'text/html') {\n return blockHTMLBlob.upload(file[0], file[0].size, blobOptions);\n } else if (isDemoHasCustomBackground) {\n return blockBackgroundBlob.upload(\n file[0],\n file[0].size,\n blobOptions\n );\n }\n }\n return false;\n })\n );\n }\n\n const blockConfigBlob = isDemo\n ? containerClient.getBlockBlobClient(\n getBlobConfigJsonFilepath(folderPath)\n )\n : webContainerClient.getBlockBlobClient(integrationConfigURL);\n\n const configFileType = 'application/json';\n const configBlob = new Blob(\n [\n JSON.stringify(\n isDemoHasCustomBackground\n ? {\n ...configData,\n // expects that the background is already uploaded to cloud\n background: getImageCloudPath(\n demoCustomBackground,\n folderPath,\n 'demo-background'\n ),\n }\n : configData\n ),\n ],\n {\n type: configFileType,\n }\n );\n\n const blobOptions = {\n blobHTTPHeaders: {\n blobContentType: configBlob.type,\n blobCacheControl: BLOB_CACHE_CONTROL,\n },\n };\n\n // finally uploading the config file\n await blockConfigBlob.upload(configBlob, configBlob.size, blobOptions);\n } catch (error) {\n throw new TypeError(error.message);\n }\n },\n\n /**\n *\n * @param {string} folderPath the bot id\n * @param {file} imageFile the image file to be uploaded\n * @param {string} imageLocation options ['launcherAvatar', 'headerAvatar', 'responseAvatar']\n */\n uploadIntegrationCustomAvatar: async function (\n folderPath,\n imageFile,\n imageLocation\n ) {\n try {\n const formData = new FormData();\n const avatarPathInCloud = getImageCloudPath(\n imageFile,\n folderPath,\n 'azure' + imageLocation\n );\n\n const blockImageBlob =\n containerClient.getBlockBlobClient(avatarPathInCloud);\n\n const customAvatarBlob = new Blob([imageFile], {\n type: imageFile.type,\n });\n\n formData.append(imageLocation, customAvatarBlob, imageFile.name);\n\n const files = [formData.getAll(imageLocation)];\n\n // uploading the blobs\n await Promise.all(\n files.map((file, key) => {\n const blobOptions = {\n blobHTTPHeaders: {\n blobContentType: String(file[0].type),\n blobCacheControl: BLOB_CACHE_CONTROL,\n },\n };\n if (blobOptions) {\n return blockImageBlob.upload(file[0], file[0].size, blobOptions);\n }\n return false;\n })\n );\n } catch (error) {\n throw new TypeError(error.message);\n }\n },\n\n uploadConfigJsonData: async function (configData, integrationConfigURL) {\n try {\n const blockConfigBlob =\n webContainerClient.getBlockBlobClient(integrationConfigURL);\n\n const configBlob = new Blob([JSON.stringify(configData)], {\n type: 'application/json',\n });\n\n const blobOptions = {\n blobHTTPHeaders: {\n blobContentType: configBlob.type,\n blobCacheControl: BLOB_CACHE_CONTROL,\n },\n };\n\n await blockConfigBlob.upload(configBlob, configBlob.size, blobOptions);\n } catch (error) {\n throw new TypeError(error.message);\n }\n },\n};\n","import { useState, useContext, useEffect } from 'react';\nimport { message } from 'antd';\nimport { useLocation } from 'react-router-dom';\nimport { isEmpty } from 'lodash';\n\nimport { apiService } from 'services/api.service';\nimport { Context } from 'store/store';\nimport { stripUUID } from 'utils';\nimport { strippedString } from 'utils/stringManipulation';\nimport {\n ADD_INTEGRATION,\n OPEN_EDIT_PANEL_INTEGRATION,\n RESET_INTEGRATION_SETTINGS,\n SAVE_NEW_INTEGRATION,\n SET_CURRENT_INTEGRATION_DATA,\n SET_INTEGRATION_IDENTIFIER,\n SET_INTEGRATION_PATH,\n SET_INTEGRATION_WIDGET_TYPE,\n SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n SPAWN_CREATE,\n UPDATE_INTEGRATION,\n} from 'store/action';\nimport {\n integrationDataSelector,\n currentIntegrationIDSelector,\n currentIntegrationActivePanelSelector,\n integrationPanelPermitSelector,\n isPostCustomizationEditModalEditableSelector,\n integrationChannelNameSelector,\n isPostCustomizationEditModalOpenSelector,\n integrationPathSelector,\n widgetVersionSelector,\n} from 'selectors/bot/integration';\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { INTEGRATION_DATA } from 'constants/localStorage';\nimport useSelector from 'store/useSelector';\nimport {\n currentFullIntegrationSelector,\n isHeaderAvatarCustomSelector,\n isLauncherAvatarCustomSelector,\n launcherAvatarCloudPathSelector,\n launcherAvatarSelector,\n widgetHeaderAvatarCloudPathSelector,\n widgetHeaderAvatarSelector,\n} from 'selectors/bot/integration/settings';\nimport { publicKeySelector, sentinelSelector } from 'selectors/publicKeys';\nimport { botJIDSelector } from 'selectors/bot';\nimport { BlobStorageService } from 'services/azureBlobStorage.service';\n\nconst INTEGRATIOM_METHODS = [\n {\n label: 'HTML',\n value: 'html',\n },\n {\n label: 'NPM',\n value: 'npm',\n },\n];\n\nconst useWeb = () => {\n const [state, dispatch] = useContext(Context);\n const permit = useSelector(integrationPanelPermitSelector);\n const activePanel = useSelector(currentIntegrationActivePanelSelector);\n const currentIntegrationId = useSelector(currentIntegrationIDSelector);\n const channelName = useSelector(integrationChannelNameSelector);\n const path = useSelector(integrationPathSelector);\n const publicKey = useSelector(publicKeySelector);\n const fullIntegrationData = useSelector(currentFullIntegrationSelector);\n const sentinel = useSelector(sentinelSelector);\n const botJid = useSelector(botJIDSelector);\n const isPostCustomizationEditable = useSelector(\n isPostCustomizationEditModalEditableSelector\n );\n const isPostCustomizationEditModalOpen = useSelector(\n isPostCustomizationEditModalOpenSelector\n );\n const currentIntegrationSettings = useSelector(integrationDataSelector);\n const isLauncherAvatarCustom = useSelector(isLauncherAvatarCustomSelector);\n const launcherAvatarCloudPath = useSelector(launcherAvatarCloudPathSelector);\n const headerAvatarCloudPath = useSelector(\n widgetHeaderAvatarCloudPathSelector\n );\n const isHeaderAvatarCustom = useSelector(isHeaderAvatarCustomSelector);\n const launcherAvatar = useSelector(launcherAvatarSelector);\n const headerAvatar = useSelector(widgetHeaderAvatarSelector);\n const widgetVersion = useSelector(widgetVersionSelector);\n\n const { state: locationState } = useLocation();\n const {\n token,\n bot: { integrations },\n } = state;\n\n const [loading, setLoading] = useState(false);\n const localIntegration =\n JSON.parse(localStorage.getItem(INTEGRATION_DATA)) || locationState;\n\n const [showColorPicker, setShowColorPicker] = useState(false);\n const [tempIdentifier, setIdentifier] = useState(channelName);\n const [tempPath, setPath] = useState(path);\n const [integrationMethod, setIntegrationMethod] = useState(\n INTEGRATIOM_METHODS[0].value\n );\n\n const getDuplicateName = () => {\n const strippedInput = strippedString(tempIdentifier);\n return (\n integrations.findIndex(\n i =>\n strippedString(i.identifier) === strippedInput &&\n i.id !== currentIntegrationId\n ) >= 0\n );\n };\n\n const spawnCreate = async () => {\n const apiName = 'zsb_public_api';\n try {\n const res = await apiService.spawnCreate(apiName, token);\n const pkRes = await apiService.getPublicKey(token);\n dispatch({\n type: SPAWN_CREATE,\n payload: {\n publicKey: pkRes.data.anyone,\n pubAskedQuestion: res.data.jid,\n },\n });\n } catch (error) {\n throw new Error('Something went wrong while creating the integration');\n }\n };\n\n const onSave = async () => {\n setLoading(true);\n const isNameExisting = getDuplicateName();\n\n try {\n if (isNameExisting) {\n setLoading(false);\n throw new TypeError('Channel name already exists.');\n }\n const res = await apiService.createIntegration(\n sentinel,\n botJid,\n {\n ...fullIntegrationData,\n identifier: tempIdentifier || channelName,\n path: tempPath || path,\n },\n 'web',\n token\n );\n\n if (!publicKey) {\n try {\n await spawnCreate();\n } catch (error) {\n setLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n }\n\n const folderPath = stripUUID(botJid);\n const integrationConfigURL = `${folderPath}/${stripUUID(\n stripUUID(res.data.report[0].jid)\n )}/config.json`;\n\n await BlobStorageService.uploadConfigJsonData(\n res.data.report[0].context.settingsobj,\n integrationConfigURL\n );\n\n const payload = {\n identifier: res.data.report[0].context.identifier,\n type: res.data.report[0].context.int_type,\n path: res.data.report[0].context.path,\n id: res.data.report[0].jid,\n settings: res.data.report[0].context.settingsobj,\n };\n\n localStorage.setItem(INTEGRATION_DATA, JSON.stringify(payload));\n\n dispatch({ type: ADD_INTEGRATION, payload });\n setLoading(false);\n return payload;\n } catch (error) {\n setLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n const onUpdate = async () => {\n setLoading(true);\n // plz move me to a separate form component\n const isNameExisting = getDuplicateName(currentIntegrationId);\n try {\n if (isNameExisting) {\n setLoading(false);\n throw new TypeError('A channel with the same name already exists.');\n }\n const res = await apiService.editIntegration(\n sentinel,\n currentIntegrationId,\n {\n ...fullIntegrationData,\n identifier: tempIdentifier || channelName,\n path: tempPath || path,\n settings: {\n ...fullIntegrationData.settings,\n launcherAvatar: isLauncherAvatarCustom\n ? launcherAvatarCloudPath\n : launcherAvatar,\n widgetIconUrl:\n widgetVersion === 'v1' && isLauncherAvatarCustom\n ? launcherAvatarCloudPath\n : undefined,\n headerAvatar: isHeaderAvatarCustom\n ? headerAvatarCloudPath\n : headerAvatar,\n avatar:\n widgetVersion === 'v1' && isHeaderAvatarCustom\n ? headerAvatarCloudPath\n : undefined,\n },\n },\n 'web',\n token\n );\n\n const folderPath = stripUUID(botJid);\n const integrationConfigURL = `${folderPath}/${stripUUID(\n stripUUID(res.data.report[0].jid)\n )}/config.json`;\n\n await BlobStorageService.uploadConfigJsonData(\n res.data.report[0].context.settingsobj,\n integrationConfigURL\n );\n\n const payload = {\n identifier: res.data.report[0].context.identifier,\n type: res.data.report[0].context.int_type,\n path: res.data.report[0].context.path,\n id: res.data.report[0].jid,\n settings: res.data.report[0].context.settingsobj,\n };\n localStorage.setItem(INTEGRATION_DATA, JSON.stringify(payload));\n\n dispatch({ type: UPDATE_INTEGRATION, payload });\n setLoading(false);\n return payload;\n } catch (error) {\n setLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n };\n\n const handleChangeFields = (name, value) => {\n switch (name) {\n case 'identifier':\n setIdentifier(value);\n break;\n case 'path':\n setPath(value);\n break;\n case 'widgetType':\n dispatch({ type: SET_INTEGRATION_WIDGET_TYPE, payload: value });\n break;\n case 'clear':\n if (showColorPicker) {\n setShowColorPicker(!showColorPicker);\n }\n dispatch({\n type: RESET_INTEGRATION_SETTINGS,\n });\n break;\n default:\n break;\n }\n };\n\n const handleBlurFormField = name => {\n switch (name) {\n case 'identifier':\n if (tempIdentifier && channelName !== tempIdentifier) {\n dispatch({\n type: SET_INTEGRATION_IDENTIFIER,\n payload: tempIdentifier || channelName,\n });\n }\n break;\n case 'path':\n if (tempPath && path !== tempPath) {\n dispatch({\n type: SET_INTEGRATION_PATH,\n payload: tempPath || path,\n });\n }\n break;\n default:\n break;\n }\n };\n\n const handleSaveChannelInfo = async evt => {\n setLoading(true);\n evt.preventDefault();\n\n const isNewIntegration =\n !localIntegration || !localIntegration?.id || !currentIntegrationId;\n\n try {\n const res = isNewIntegration ? await onSave() : await onUpdate();\n if (isNewIntegration) {\n dispatch({\n type: SAVE_NEW_INTEGRATION,\n payload: res,\n });\n message.success(\n isNewIntegration\n ? `Integration channel added`\n : `Successfully updated integration channel`\n );\n } else {\n return;\n }\n } catch (error) {\n return message.error(\n error || `An error encountred while adding the integration channel.`\n );\n }\n setLoading(false);\n };\n\n const handlePanelChange = panel => {\n const panelNumber = panel?.split('-').pop();\n if (\n permit >= 3 &&\n panelNumber < permit &&\n !isPostCustomizationEditable &&\n !isPostCustomizationEditModalOpen\n ) {\n dispatch({\n type: SHOW_POST_CUSTOMIZATION_EDIT_WIDGET_MODAL,\n payload: { panel: Number(panelNumber) },\n });\n } else if (panelNumber <= permit) {\n dispatch({\n type: OPEN_EDIT_PANEL_INTEGRATION,\n payload: { panel: Number(panelNumber) },\n });\n } else if (permit < panelNumber) {\n return message.error(\n `Please complete the current step before you proceed to step ${panelNumber}.`\n );\n }\n };\n\n const handleChangeIntegrationMethod = e => {\n setIntegrationMethod(e);\n };\n\n useEffect(() => {\n if (\n localIntegration?.id &&\n localIntegration?.type !== currentIntegrationSettings?.type\n ) {\n dispatch({\n type: SET_CURRENT_INTEGRATION_DATA,\n payload: { ...localIntegration },\n });\n }\n }, [localIntegration]);\n\n useEffect(() => {\n if (isEmpty(localIntegration) && !isEmpty(currentIntegrationSettings)) {\n localStorage.setItem(\n INTEGRATION_DATA,\n JSON.stringify(currentIntegrationSettings)\n );\n }\n return () => {\n dispatch({\n type: RESET_INTEGRATION_SETTINGS,\n });\n localStorage.removeItem(INTEGRATION_DATA);\n };\n }, []);\n\n return {\n activePanel,\n currentIntegrationId,\n fullIntegrationData,\n loading,\n handleChangeFields,\n handleChangeIntegrationMethod,\n handlePanelChange,\n handleSaveChannelInfo,\n integrationMethod,\n onSave,\n onUpdate,\n INTEGRATIOM_METHODS,\n handleBlurFormField,\n tempIdentifier,\n tempPath,\n channelName,\n path,\n };\n};\n\nexport default useWeb;\n","import styled from 'styled-components';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledBotCustomComponent = styled.div`\n max-width: 250;\n text-align: left;\n overflow-x: auto;\n box-shadow: 1px 1px 2px 0px #b5b5b5;\n border-radius: 10px;\n font-family: Calibri, sans-serif;\n line-height: 1.5715;\n\n & p:first-child {\n margin: 0;\n }\n\n & img {\n width: 100% !important;\n }\n\n &.error {\n max-width: 100%;\n color: ${cssVariables.errorBorder};\n font-weight: ${cssVariables.font.bold};\n background-color: ${cssVariables.errorBgColor};\n border: ${cssVariables.errorBorder};\n padding: 10px;\n border-radius: 8px;\n }\n`;\n\nexport const StyledParsedAnswer = styled.div`\n max-width: 230px;\n border-radius: 10px;\n padding: 15px;\n`;\n\nexport const StyledTempImage = styled.div`\n height: 90px;\n border: 1px solid ${cssVariables.gray2};\n margin-bottom: 8px;\n\n & img {\n height: 100%;\n width: 150px;\n padding: 5px;\n }\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledHeaderrw = styled.div`\n display: -ms-flexbox;\n display: flex;\n white-space: pre-line;\n`;\n\nexport const StyledResponse = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n`;\n\nexport const StyledTime = styled.span`\n font-size: 10px;\n margin-top: 5px;\n font-family: Calibri, sans-serif;\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { WarningOutlined } from '@ant-design/icons';\nimport { Avatar } from 'antd';\n\nimport useSelector from 'store/useSelector';\nimport {\n widgetAvatarResponseSelector,\n widgetAvatarResponseTypeSelector,\n} from 'selectors/bot/integration/settings';\nimport {\n StyledBotCustomComponent,\n StyledHeaderrw,\n StyledParsedAnswer,\n StyledResponse,\n StyledTime,\n} from './BotCustomizer.styles';\nimport { AnswerRenderer } from 'components/AnswerRenderer';\nimport { generateIcon } from './iconUtils';\nimport { currentIntegrationSettingsSettingPropSelector } from 'selectors/bot/integration';\n\nconst V1CustomComponent = ({ message, time, hasError }) => {\n const { fontSize, iconColor, color } = useSelector(\n currentIntegrationSettingsSettingPropSelector\n );\n const responseAvatar = useSelector(widgetAvatarResponseSelector);\n const responseAvatarType = useSelector(widgetAvatarResponseTypeSelector);\n return responseAvatar &&\n responseAvatarType &&\n responseAvatarType !== 'none' ? (\n \n {\n \n }\n \n \n {hasError ? (\n <>\n {' '}\n \n \n ) : (\n \n )}\n \n {time}\n \n \n ) : (\n
    \n \n {hasError ? (\n <>\n {' '}\n \n \n ) : (\n \n )}\n \n {time}\n
    \n );\n};\n\nV1CustomComponent.propTypes = {\n message: PropTypes.string,\n time: PropTypes.string,\n hasError: PropTypes.bool,\n};\n\nexport default V1CustomComponent;\n","import React, { useState, useContext, useEffect, useCallback } from 'react';\nimport {\n addResponseMessage,\n dropMessages,\n isWidgetOpened,\n renderCustomComponent,\n toggleWidget,\n} from 'react-chat-widget';\nimport { message } from 'antd';\nimport { BlobServiceClient } from '@azure/storage-blob';\n\nimport { apiService } from 'services/api.service';\nimport { Context } from 'store/store';\nimport { getBase64 } from 'utils';\nimport { StyledTempImage } from './BotCustomizer.styles';\nimport {\n RESET_INTEGRATION_SETTINGS,\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_CURRENT_INTEGRATION_DATA,\n SET_DEMO_BACKGROUND,\n SET_DEMO_BACKGROUND_TO_CLOUD_PATH,\n SET_HEADER_AVATAR_TO_CLOUD_PATH,\n SET_INTEGRATION_ACTIVE_PANEL,\n SET_LAUNCHER_AVATAR_TO_CLOUD_PATH,\n SPAWN_CREATE,\n} from 'store/action';\nimport { DEFAULT_ERROR_MESSAGE } from 'constants/error';\nimport { INTEGRATION_DATA } from 'constants/localStorage';\nimport {\n AVATAR_ICON_OPTIONS,\n LAUNCHER_ONLY_AVATAR,\n} from 'constants/botCustomizer';\nimport { allAnswersSelector } from 'selectors/bot/answers';\nimport useSelector from 'store/useSelector';\nimport {\n isBotMailConfigEnabledSelector,\n isBotOpenAIEnabledSelector,\n} from 'selectors/bot';\nimport {\n avatarPositionSelector,\n botTitleSelector,\n currentIntegrationIDSelector,\n integrationDataSelector,\n currentIntegrationSettingsSettingPropSelector,\n customizerActivePanelSelector,\n demoCustomBackgroundSelector,\n demoIntegrationBackgroundSelector,\n encryptedBotSelector,\n initialIntegrationSettingsSelector,\n integrationConfigURLSelector,\n integrationFolderPathSelector,\n isPostCustomizationEditModalEditableSelector,\n isDemoCustomBgSelectedSelector,\n isDemoHasCustomBackgroundSelector,\n isDemoIntegrationSelector,\n isIntegrationDataNotLoadedSelector,\n isMobileIntegrationSelector,\n widgetHeightSelector,\n widgetHeightWithPixelSelector,\n widgetIconColorSelector,\n widgetThemeColorSelector,\n isPostCustomizationEditModalOpenSelector,\n} from 'selectors/bot/integration';\nimport {\n defaultReplyBubbleColorSelector,\n isHeaderAvatarSvgIconSelector,\n isHeaderAvatarCantApplySelector,\n isUseWidgetIconRadioDisabledSelector,\n launcherAvatarSelector,\n launcherAvatarTypeSelector,\n welcomeMessageSelector,\n widgetHeaderAvatarSelector,\n widgetHeaderAvatarTypeSelector,\n integrationConfigDataSelector,\n demoHTMLSelector,\n} from 'selectors/bot/integration/settings';\nimport { generateIcon, injectToDOM } from './iconUtils';\nimport { isAvatarPickerModalOpenSelector } from 'selectors/bot/ui';\nimport { useQuery } from 'pages/useQuery';\nimport V1CustomComponent from './V1CustomComponent';\nimport { hexToRGBA } from './utils';\nimport { BlobStorageService } from 'services/azureBlobStorage.service';\n\nconst DEMO_CONTAINER_NAME = '$web';\nconst SAS_TOKEN = process.env.REACT_APP_AZURE_SAS_TOKEN;\nconst AZURE_STORAGE_URI = process.env.REACT_APP_AZURE_STORAGE_URI;\nconst AZURE_DEMO_URI = process.env.REACT_APP_AZURE_DEMO_URI;\nconst LAST_PANEL_AND_PERMIT_KEY = 3;\n\nconst useBotCustomizer = ({ onSave, onUpdate }) => {\n const query = useQuery();\n const [state, dispatch] = useContext(Context);\n const platform = query.get('platform');\n\n const allAnswers = useSelector(allAnswersSelector);\n const isBotOpenAIEnabled = useSelector(isBotOpenAIEnabledSelector);\n const isBotMailConfigEnabled = useSelector(isBotMailConfigEnabledSelector);\n const currentIntegrationID = useSelector(currentIntegrationIDSelector);\n const headerAvatarType = useSelector(widgetHeaderAvatarTypeSelector);\n const isHeaderIconTypeAvatar = useSelector(isHeaderAvatarSvgIconSelector);\n const headerAvatar = useSelector(widgetHeaderAvatarSelector);\n const iconColor = useSelector(widgetIconColorSelector);\n const launcherAvatar = useSelector(launcherAvatarSelector);\n const launcherAvatarType = useSelector(launcherAvatarTypeSelector);\n const isAvatarPickerModalOpen = useSelector(isAvatarPickerModalOpenSelector);\n const widgetThemeColor = useSelector(widgetThemeColorSelector);\n const avatarPosition = useSelector(avatarPositionSelector);\n const isPostCustomizationEditModalOpen = useSelector(\n isPostCustomizationEditModalOpenSelector\n );\n const widgetHeight = useSelector(widgetHeightSelector);\n const widgetHeightWithPixel = useSelector(widgetHeightWithPixelSelector);\n const customizerActivePanel = useSelector(customizerActivePanelSelector);\n const isMobileIntegration = useSelector(isMobileIntegrationSelector);\n const demoCustomBackground = useSelector(demoCustomBackgroundSelector);\n const encryptedBot = useSelector(encryptedBotSelector);\n const folderPath = useSelector(integrationFolderPathSelector);\n const isCustomBgSelected = useSelector(isDemoCustomBgSelectedSelector);\n const isHeaderAvatarNotAllowed = useSelector(isHeaderAvatarCantApplySelector);\n const integrationConfigURL = useSelector(integrationConfigURLSelector);\n const defaultReplyBubbleColor = useSelector(defaultReplyBubbleColorSelector);\n const welcomeMessage = useSelector(welcomeMessageSelector);\n const botTitle = useSelector(botTitleSelector);\n const isUseWidgetIconRadioDisabled = useSelector(\n isUseWidgetIconRadioDisabledSelector\n );\n const isDemo =\n useSelector(isDemoIntegrationSelector) || platform?.includes('demo');\n const isDemoHasCustomBackground = useSelector(\n isDemoHasCustomBackgroundSelector\n );\n const demoBackground = useSelector(demoIntegrationBackgroundSelector);\n const currentIntegrationSettingsObject = useSelector(\n currentIntegrationSettingsSettingPropSelector\n );\n const isPostCustomizationEditable = useSelector(\n isPostCustomizationEditModalEditableSelector\n );\n const currentIntegrationSettings = useSelector(integrationDataSelector);\n const initialIntegrationSettings = useSelector(\n initialIntegrationSettingsSelector\n );\n const isIntegrationDataNotLoaded = useSelector(\n isIntegrationDataNotLoadedSelector\n );\n const integrationConfigData = useSelector(integrationConfigDataSelector);\n const demoHTML = useSelector(demoHTMLSelector);\n\n const {\n sentinel,\n publicKey,\n token,\n bot: { jid, name },\n } = state;\n const [showUserBg, setShowUserBg] = useState(false);\n const blobServiceClient = new BlobServiceClient(\n `${AZURE_STORAGE_URI}?${SAS_TOKEN}`\n );\n const containerClient =\n blobServiceClient.getContainerClient(DEMO_CONTAINER_NAME);\n\n const blobHTMLName = folderPath + '/index.html';\n\n const [loading, setLoading] = useState(false);\n\n const localIntegration = JSON.parse(localStorage.getItem(INTEGRATION_DATA));\n const [showColorPicker, setShowColorPicker] = useState(false);\n const [showColorPickerBubble, setShowColorPickerBubble] = useState(false);\n const [showColorPickerIcon, setShowColorPickerIcon] = useState(false);\n\n // `setIntegrationData` => to change integrationData on component state level\n const [integrationData, setIntegrationData] = useState(\n localIntegration || currentIntegrationSettings\n );\n // Not sure where we need this specific state\n const [onLoadIntegrationData, setOnloadIntegrationData] = useState(\n localIntegration || currentIntegrationSettings\n );\n\n const chatWidget = document.getElementsByClassName('chatBot');\n const [setEnableEdit] = useState(false);\n const [bgImage, setBgImage] = useState(null);\n const [widgetImage, setWidgetImage] = useState(null);\n const [headerImage, setHeaderImage] = useState(null);\n const [uploadedBgImage, setUploadedBgImage] = useState(true);\n const [uploadedWidgetImage, setUploadedWidgetImage] = useState(false);\n const [uploadedHeaderImage, setUploadedHeaderImage] = useState(false);\n const [demoLink, setDemoLink] = useState(null);\n const [tempFormFields, setTempFormFields] = useState(\n integrationData?.settings?.formFields\n );\n\n // To be removed ;)\n\n const [viewWidgetImage, setViewWidgetImage] = useState({\n isVisible: false,\n previewImage: '',\n previewTitle: '',\n });\n\n const [viewHeaderImage, setViewHeaderImage] = useState({\n isVisible: false,\n previewImage: '',\n previewTitle: '',\n });\n\n const applyheight = useCallback(\n chatWidgetEl => {\n const chatWidgetActive = chatWidgetEl.querySelector(\n '.rcw-messages-container'\n );\n if (chatWidgetEl && !!chatWidgetActive) {\n chatWidgetEl.querySelector('.rcw-messages-container').style.height =\n widgetHeightWithPixel;\n chatWidgetEl.querySelector('.rcw-messages-container').style.maxHeight =\n widgetHeightWithPixel;\n }\n return false;\n },\n [widgetHeightWithPixel]\n );\n\n const applyMessageColor = useCallback(\n (elem, color, textColor, fontSize) => {\n let chatWidgetEl = elem;\n if (chatWidgetEl) {\n const messages = [...chatWidgetEl.querySelectorAll('.rcw-message')];\n if (messages) {\n messages.map(elem => {\n if (elem.querySelector('.rcw-message-text')) {\n elem.querySelector('.rcw-message-text').style.backgroundColor =\n color;\n elem.querySelector('.rcw-message-text').style.color = textColor;\n elem.querySelector('.rcw-message-text').style.fontSize = fontSize;\n }\n return null;\n });\n }\n if (chatWidgetEl.querySelector('.rcw-header')) {\n chatWidgetEl.querySelector('.rcw-header h4').style.color = textColor;\n chatWidgetEl.querySelector('.rcw-header').style.color = textColor;\n }\n }\n },\n [currentIntegrationSettings.settings.textColor]\n );\n\n const leftAlignHeader = (chatWidgetEl, headerTitle) => {\n const header = chatWidgetEl.querySelector('.rcw-header');\n if (header) {\n header.style.textAlign = 'left';\n }\n headerTitle.style.padding = '3px';\n };\n\n const applyAndAlignHeaderAvatar = (chatWidgetEl, headerTitle) => {\n if (headerTitle) {\n const header = chatWidgetEl.querySelector('.rcw-header');\n if (header) {\n header.style.display = 'revert';\n }\n if (headerAvatarType === 'custom') {\n setHeaderImg(headerTitle);\n } else if (headerAvatarType === 'icon') {\n setHeaderIcon(headerTitle);\n }\n // Align-to-left ChatHeader contents if avatar is applied\n leftAlignHeader(chatWidgetEl, headerTitle);\n }\n };\n\n const setHeaderImg = useCallback(\n headerTitle => {\n const createdDiv = document.createElement('div');\n const createdImg = document.createElement('img');\n createdImg.classList.add('headerLogo');\n createdImg.style.marginRight = '2%';\n createdImg.style.float = 'left';\n createdImg.style.height = '70px';\n createdImg.style.width = 'auto';\n if (headerAvatar.preview) {\n createdImg.setAttribute('src', headerAvatar.preview);\n } else {\n // expecting it to be a cloudpath\n createdImg.setAttribute('src', headerAvatar);\n }\n createdDiv.appendChild(createdImg);\n createdDiv.setAttribute('id', 'headerLogo');\n headerTitle.parentNode.insertBefore(createdDiv, headerTitle);\n },\n [headerAvatar, headerAvatarType, launcherAvatar, launcherAvatarType]\n );\n\n const setHeaderIcon = useCallback(\n headerTitle => {\n switch (headerAvatar) {\n case 'icon1':\n injectToDOM.icon1(iconColor, headerTitle);\n break;\n case 'icon2':\n injectToDOM.icon2(iconColor, headerTitle);\n break;\n case 'icon3':\n injectToDOM.icon3(iconColor, headerTitle);\n break;\n case 'icon4':\n injectToDOM.icon4(iconColor, headerTitle);\n break;\n default:\n injectToDOM.defaultIcon(iconColor, headerTitle);\n break;\n }\n },\n [headerAvatar, launcherAvatar, launcherAvatarType, headerAvatarType]\n );\n\n const removeHeaderIcon = useCallback((chatWidgetEl, logoParentEl) => {\n logoParentEl?.parentNode?.removeChild(logoParentEl);\n const header = chatWidgetEl.querySelector('.rcw-header');\n if (header) {\n chatWidgetEl.querySelector('.rcw-header').style.textAlign = 'center';\n chatWidgetEl.querySelector('.rcw-header').style.padding = '15px';\n }\n }, []);\n\n const applyHeaderLogo = useCallback(\n chatWidgetEl => {\n if (chatWidgetEl) {\n const headerLogoElement = document.getElementById('headerLogo');\n const headerTitle = chatWidgetEl.querySelector(\n '.rcw-header .rcw-title'\n );\n\n // checks if current avatar is ALLOWED to be displayed\n if (\n (isUseWidgetIconRadioDisabled &&\n LAUNCHER_ONLY_AVATAR.includes(headerAvatar)) ||\n (headerAvatarType === 'custom' &&\n (!headerAvatar || AVATAR_ICON_OPTIONS.includes(headerAvatar)))\n ) {\n return removeHeaderIcon(chatWidgetEl, headerLogoElement);\n }\n // checks if avatar is EMPTY\n else if (\n !headerAvatar ||\n (headerAvatarType === 'icon' && isHeaderAvatarNotAllowed)\n ) {\n return removeHeaderIcon(chatWidgetEl, headerLogoElement);\n }\n // NON-EMPTY avatar goes here\n else {\n if (headerAvatarType === 'custom' || headerAvatarType === 'icon') {\n if (!headerLogoElement) {\n applyAndAlignHeaderAvatar(chatWidgetEl, headerTitle);\n } else {\n headerLogoElement.parentNode.removeChild(headerLogoElement);\n applyAndAlignHeaderAvatar(chatWidgetEl, headerTitle);\n }\n } else {\n return removeHeaderIcon(chatWidgetEl, headerLogoElement);\n }\n }\n }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n headerAvatar,\n isHeaderIconTypeAvatar,\n setHeaderIcon,\n setHeaderImg,\n // include launcherAvatar as dependecy\n // cuz we'll inject current launcher icon value\n // if launcherAvatar and avatar both use widget icons\n launcherAvatar,\n headerAvatarType,\n isUseWidgetIconRadioDisabled,\n removeHeaderIcon,\n botTitle,\n ]\n );\n\n const applyWelcomeMessage = useCallback(\n elem => {\n let chatWidgetEl = elem;\n if (chatWidgetEl && currentIntegrationSettings.settings) {\n const chatWidgetActive = chatWidgetEl.querySelector(\n '.rcw-messages-container'\n );\n if (chatWidgetEl && !!chatWidgetActive) {\n setTimeout(() => {\n dropMessages();\n renderCustomComponent(V1CustomComponent, {\n message: welcomeMessage,\n time: new Date().toLocaleTimeString(navigator.language, {\n hour: '2-digit',\n minute: '2-digit',\n }),\n });\n applyReplyColor(chatWidget[0]);\n }, 500);\n }\n }\n },\n [currentIntegrationSettingsObject]\n );\n\n const applyReplyColor = useCallback(\n elem => {\n const { color, replyBubbleGradient, fontSize } =\n currentIntegrationSettingsObject;\n let chatWidgetEl = elem;\n if (chatWidgetEl) {\n const replies = [\n ...chatWidgetEl.getElementsByClassName('parsedAnswer'),\n ];\n if (replies) {\n const bgColor = hexToRGBA(color, replyBubbleGradient);\n replies.map(elem => (elem.style.backgroundColor = bgColor));\n replies.map(elem => (elem.style.fontSize = fontSize));\n }\n }\n },\n [currentIntegrationSettingsObject, defaultReplyBubbleColor]\n );\n\n const applyThemeColor = useCallback(\n (elem, color) => {\n let chatWidgetEl = elem;\n if (chatWidgetEl) {\n if (\n chatWidgetEl.getElementsByClassName('.rcw-conversation-container') &&\n chatWidgetEl.querySelector('.rcw-header')\n ) {\n chatWidgetEl.querySelector('.rcw-header').style.backgroundColor =\n color;\n }\n if (chatWidgetEl.getElementsByClassName('chatBotWidgetLauncher')[0]) {\n chatWidgetEl.getElementsByClassName(\n 'chatBotWidgetLauncher'\n )[0].style.backgroundColor = color + 260;\n }\n if (chatWidgetEl.querySelector('.rcw-sender')) {\n chatWidgetEl.querySelector('.rcw-sender').style.backgroundColor =\n color + 260;\n chatWidgetEl.querySelector('.rcw-new-message').style.backgroundColor =\n color + 260;\n chatWidgetEl.querySelector('.rcw-send').style.backgroundColor =\n color + 260;\n }\n }\n },\n [currentIntegrationSettings?.settings?.color]\n );\n\n const applyTime = useCallback(\n (elem, today) => {\n let chatWidgetEl = elem;\n if (chatWidgetEl) {\n const messagesCount = chatWidgetEl.querySelectorAll(\n '.rcw-messages-container .rcw-message'\n );\n if (messagesCount) {\n const timeStampElem = messagesCount[\n messagesCount.length - 1\n ].querySelector('.rcw-client .rcw-timestamp');\n if (timeStampElem) {\n timeStampElem.innerHTML = today;\n }\n }\n }\n },\n [integrationData]\n );\n\n const handleChangeWidgetImage = async ({ file }) => {\n setUploadedWidgetImage(true);\n if (file.status === 'removed') {\n setWidgetImage(null);\n handleChangeFields('widgetIconUrl', null);\n setViewWidgetImage({ ...viewWidgetImage, isVisible: false });\n } else {\n setWidgetImage([file]);\n if (!file.url && !file.preview) {\n file.preview = await getBase64(file);\n }\n setViewWidgetImage({\n isVisible: true,\n previewImage: file.url || file.preview,\n previewTitle:\n file.name || file.url.substring(file.url.lastIndexOf('/') + 1),\n });\n handleChangeFields(\n 'widgetIconUrl',\n AZURE_DEMO_URI +\n `${folderPath}/widget${file.name.substr(file.name.indexOf('.'))}`\n );\n }\n };\n\n const handleChangeFields = (name, value) => {\n const key = { [name]: value };\n const { settings } = integrationData;\n setUploadedBgImage(true);\n if (\n name === 'shape' &&\n value !== 'rectangle' &&\n settings?.position?.includes('mid')\n ) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, position: 'bottom-right', shape: value },\n });\n } else if (name === 'shape' && value === 'rectangle') {\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n label: settings?.label || `Ask ${settings.botTitle || 'Me'}`,\n shape: value,\n },\n });\n } else if (\n name === 'avatar' &&\n (value === 'default' || value === 'icon1')\n ) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, avatar: value, avatarPosition: null },\n });\n } else if (name === 'undo') {\n handleUndoFields(value, settings);\n } else if (name === 'undoIcon') {\n if (onLoadIntegrationData.settings.botAvatar === 'icon') {\n handleUndoIcon(settings);\n } else {\n setWidgetImage(null);\n handleUndoWidget(settings);\n }\n } else if (name === 'undoHeaderIcon') {\n setHeaderImage(null);\n handleUndoHeader(settings);\n } else if (name === 'removedHeader') {\n setHeaderImage(null);\n delete integrationData.settings.headerResponseImgUrl;\n } else if (name === 'clear') {\n clearIntegrationData();\n } else if (name === 'background' && value !== 'light' && value !== 'dark') {\n setUploadedBgImage(false);\n if (!bgImage) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, background: demoBackground || 'custom' },\n });\n } else {\n setBgImage(bgImage);\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key },\n });\n }\n } else if (name === 'fontSize') {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, fontSize: value + 'px' },\n });\n } else if (name === 'color') {\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n ...key,\n bubbleColor: value,\n },\n });\n } else if (\n (name === 'widgetIconUrl' && value === null) ||\n (name === 'botAvatar' && value === 'icon')\n ) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key },\n });\n delete integrationData.settings.widgetIconUrl;\n } else if (name === 'authenticatedUser') {\n if (value === true) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key, displayFormFields: false },\n });\n } else {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key, displayFormFields: true },\n });\n }\n } else if (name === 'displayFormFields' && value === false) {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key, callbackEmail: false },\n });\n\n delete integrationData.settings.formFields;\n } else {\n setIntegrationData({\n ...integrationData,\n settings: { ...settings, ...key },\n });\n }\n };\n\n const clearIntegrationData = () => {\n if (showColorPicker) {\n setShowColorPicker(!showColorPicker);\n }\n if (showColorPickerBubble) {\n setShowColorPickerBubble(!showColorPickerBubble);\n }\n if (showColorPickerIcon) {\n setShowColorPickerIcon(!showColorPickerIcon);\n }\n setIntegrationData(initialIntegrationSettings);\n setBgImage(null);\n setWidgetImage(null);\n setHeaderImage(null);\n };\n\n const handleChangeDemoBackground = val => {\n dispatch({ type: SET_DEMO_BACKGROUND, payload: val });\n };\n\n useEffect(() => {\n setIntegrationData(currentIntegrationSettings);\n }, [currentIntegrationSettings]);\n\n const handleUndoIcon = settings => {\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n botAvatar: onLoadIntegrationData.settings.botAvatar,\n headerAvatar: onLoadIntegrationData.settings.headerAvatar,\n responseAvatar: onLoadIntegrationData.settings.responseAvatar,\n iconColor: onLoadIntegrationData.settings.iconColor,\n },\n });\n };\n\n const handleUndoHeader = settings => {\n setUploadedHeaderImage(false);\n setViewHeaderImage({\n isVisible: false,\n previewImage: '',\n previewTitle: '',\n });\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n headerResponseImgUrl:\n onLoadIntegrationData.settings.headerResponseImgUrl,\n },\n });\n };\n\n const handleUndoWidget = settings => {\n setUploadedWidgetImage(false);\n setUploadedHeaderImage(false);\n setViewWidgetImage({\n isVisible: false,\n previewImage: '',\n previewTitle: '',\n });\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n widgetIconUrl: onLoadIntegrationData.settings.widgetIconUrl,\n botAvatar: onLoadIntegrationData.settings.botAvatar,\n },\n });\n };\n\n const handleUndoFields = (value, settings) => {\n if (value === 'botPanelConfig') {\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n botTitle: onLoadIntegrationData.settings.botTitle,\n subtitle: onLoadIntegrationData.settings.subtitle,\n placeholder: onLoadIntegrationData.settings.placeholder,\n welcomeMessage,\n },\n });\n } else if (value === 'botAppearance') {\n setWidgetImage(null);\n setHeaderImage(null);\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n ...onLoadIntegrationData.settings,\n },\n });\n } else if (value === 'botPlacement') {\n setBgImage(null);\n setIntegrationData({\n ...integrationData,\n settings: {\n ...settings,\n background: onLoadIntegrationData.settings.background,\n shape: onLoadIntegrationData.settings.shape,\n src: onLoadIntegrationData.settings.src,\n position: onLoadIntegrationData.settings.position,\n label: onLoadIntegrationData.settings.label,\n },\n });\n }\n };\n\n const handleNewUserMessage = async (\n newMessage,\n channel,\n theme,\n textColor,\n fontSize\n ) => {\n const chatWidget = document.getElementsByClassName('chatBot');\n const today = new Date().toLocaleTimeString(navigator.language, {\n hour: '2-digit',\n minute: '2-digit',\n });\n try {\n const res = await apiService.askQuestion(\n sentinel,\n jid,\n newMessage,\n token,\n channel\n );\n if (chatWidget && chatWidget[0]) {\n await applyTime(chatWidget[0], today);\n applyMessageColor(chatWidget[0], theme, textColor, fontSize);\n const answerMessage = res.data.report[0].context;\n if (\n answerMessage &&\n answerMessage.show_text &&\n answerMessage.show_html\n ) {\n const answerList = answerMessage.show_html || answerMessage.show_text;\n const displayAnswer = Array.isArray(answerList)\n ? answerList\n : [answerList];\n displayAnswer?.map(answer =>\n renderCustomComponent(V1CustomComponent, {\n message: answer,\n time: today,\n })\n );\n } else if (answerMessage && answerMessage.text) {\n addResponseMessage(answerMessage.text);\n } else {\n renderCustomComponent(V1CustomComponent, {\n message: `Error encountered, try reloading the page or contact the Admin.`,\n time: today,\n hasError: true,\n });\n }\n await applyReplyColor(chatWidget[0]);\n }\n } catch (err) {\n throw typeof err === 'string' ? err : err.message;\n }\n };\n\n const spawnCreate = async () => {\n const apiName = 'zsb_public_api';\n try {\n const res = await apiService.spawnCreate(apiName, token);\n const pkRes = await apiService.getPublicKey(token);\n const pK = pkRes.data.anyone;\n const pAQ = res.data.jid;\n dispatch({\n type: SPAWN_CREATE,\n payload: {\n publicKey: pK,\n pubAskedQuestion: pAQ,\n },\n });\n\n return [pK, pAQ];\n } catch (error) {\n throw new Error('Something went wrong while creating the integration');\n }\n };\n\n const handleSubmitCustomizeBot = async evt => {\n if (evt) {\n evt.preventDefault();\n }\n setLoading(true);\n setShowColorPicker(false);\n setShowColorPickerBubble(false);\n setShowColorPickerIcon(false);\n\n if (!publicKey) {\n try {\n await spawnCreate();\n setLoading(false);\n } catch (error) {\n setLoading(false);\n return message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n }\n\n try {\n if (launcherAvatarType === 'custom' && launcherAvatar instanceof File) {\n await BlobStorageService.uploadIntegrationCustomAvatar(\n folderPath,\n launcherAvatar,\n 'launcherAvatar'\n );\n dispatch({\n type: SET_LAUNCHER_AVATAR_TO_CLOUD_PATH,\n });\n }\n if (headerAvatarType === 'custom' && headerAvatar instanceof File) {\n await BlobStorageService.uploadIntegrationCustomAvatar(\n folderPath,\n headerAvatar,\n 'headerAvatar'\n );\n dispatch({\n type: SET_HEADER_AVATAR_TO_CLOUD_PATH,\n });\n }\n\n if (isDemo) {\n await BlobStorageService.uploadDemoHTMLAndImageFiles(\n folderPath,\n integrationConfigData,\n isDemo,\n integrationConfigURL,\n demoHTML,\n isDemoHasCustomBackground,\n demoCustomBackground\n );\n\n if (isDemoHasCustomBackground) {\n dispatch({\n type: SET_DEMO_BACKGROUND_TO_CLOUD_PATH,\n });\n }\n }\n\n if (isDemo) {\n setDemoLink(`${AZURE_DEMO_URI}${folderPath}`);\n }\n } catch (error) {\n message.error(error.message || DEFAULT_ERROR_MESSAGE);\n }\n\n if (!isDemo) {\n await handleSendToWebIntegration();\n }\n\n // ???\n // renderPreviewImgBackground(currentIntegrationSettings.settings.background);\n\n dispatch({\n type: SET_INTEGRATION_ACTIVE_PANEL,\n payload: {\n panel: LAST_PANEL_AND_PERMIT_KEY,\n permit: LAST_PANEL_AND_PERMIT_KEY,\n },\n });\n setIntegrationData(currentIntegrationSettings);\n setOnloadIntegrationData(currentIntegrationSettings);\n setLoading(false);\n };\n\n const handleSendToWebIntegration = async () => {\n try {\n const res = !currentIntegrationID ? await onSave() : await onUpdate();\n\n if (!currentIntegrationID) {\n message.success(`Integration channel added`);\n } else {\n message.success(`Successfully updated integration channel`);\n }\n\n dispatch({\n type: SET_CURRENT_INTEGRATION_DATA,\n payload: res,\n });\n } catch (error) {\n setLoading(false);\n return message.error(\n error || `An error encountred while adding the integration channel.`\n );\n }\n };\n\n const getButtonValue = () => {\n if (currentIntegrationID) {\n return 'Update';\n } else if (loading) {\n return 'Processing';\n } else if (isDemo && demoLink) {\n return 'Update Demo URL';\n } else if (isDemo) {\n return 'Get Demo URL';\n }\n return 'Save';\n };\n\n useEffect(() => {\n const imgContainer = document.getElementsByClassName(\n 'ant-upload-list-picture-card-container'\n );\n\n if (!bgImage && imgContainer && imgContainer[0]) {\n imgContainer[0].classList.add('hidden');\n }\n }, [bgImage]);\n\n useEffect(() => {\n // on component load/update\n async function getExistingDemo() {\n setLoading(true);\n try {\n const demoHTMLFile = containerClient.getBlobClient(blobHTMLName);\n const demoConfigfile = `${AZURE_DEMO_URI}${folderPath}/config.json`;\n const isDemoExists = await demoHTMLFile.exists();\n if (isDemoExists) {\n setDemoLink(`${AZURE_DEMO_URI}${folderPath}`);\n }\n const demoConfigJSON = containerClient.getBlobClient(\n `${folderPath}/config.json`\n );\n const isConfigExists = await demoConfigJSON.exists();\n\n // Addtional check so previous users w/o config file but has demo wont break\n if (isConfigExists) {\n const configFile = await fetch(demoConfigfile);\n const configData = await configFile.json();\n // TODO: create separate reducer for demos\n dispatch({\n type: SET_CURRENT_INTEGRATION_DATA,\n payload: { settings: configData, type: 'demo' },\n });\n } else {\n dispatch({\n type: SET_CURRENT_INTEGRATION_DATA,\n payload: { type: 'demo' },\n });\n }\n setLoading(false);\n } catch (error) {\n if (error.message) {\n message.error(error.message);\n }\n setLoading(false);\n }\n }\n if (isDemo && isIntegrationDataNotLoaded) {\n getExistingDemo();\n }\n }, []);\n\n useEffect(() => {\n if (chatWidget && chatWidget[0] && integrationData.settings) {\n applyheight(chatWidget[0]);\n applyThemeColor(chatWidget[0], integrationData.settings.color);\n applyMessageColor(\n chatWidget[0],\n integrationData.settings.bubbleColor || integrationData.settings.color,\n integrationData.settings.textColor,\n integrationData.settings.fontSize\n );\n applyReplyColor(chatWidget[0]);\n applyHeaderLogo(chatWidget[0]);\n applyWelcomeMessage(chatWidget[0]);\n }\n }, [\n applyMessageColor,\n applyReplyColor,\n applyThemeColor,\n applyheight,\n applyHeaderLogo,\n applyWelcomeMessage,\n chatWidget,\n integrationData,\n headerAvatar,\n headerAvatarType,\n avatarPosition,\n launcherAvatar,\n widgetHeight,\n ]);\n\n useEffect(() => {\n if (currentIntegrationID) {\n setIntegrationData(currentIntegrationSettings);\n }\n }, [currentIntegrationSettings]);\n\n useEffect(() => {\n dropMessages();\n if (!isWidgetOpened()) {\n toggleWidget();\n }\n }, [integrationData, sentinel]);\n\n useEffect(() => {\n return () => {\n if (isDemo) {\n dispatch({\n type: RESET_INTEGRATION_SETTINGS,\n });\n localStorage.removeItem(INTEGRATION_DATA);\n }\n };\n }, []);\n\n const renderPreviewImgBackground = () => {\n return (\n setShowUserBg(true)}>\n \n props.isLight ? cssVariables.secondaryColor : cssVariables.blue1};\n align-items: center;\n\n & .anticon {\n padding: 5px;\n font-size: 18px;\n color: ${props => props.isLight && cssVariables.gray0};\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { CopyToClipboard } from 'react-copy-to-clipboard';\nimport { CopyOutlined, CopyTwoTone } from '@ant-design/icons';\n\nimport { StyledRoot, StyledDemoLink } from './CodeCopier.styles';\nimport { cssVariables } from 'styles/root';\nimport { message } from 'antd';\n\nconst CodeCopier = ({ code, isLight }) => {\n return (\n \n Copy the link below and share it with your team\n \n \n {code}\n \n \n {isLight ? (\n message.info('Copied to clipboard.')}\n />\n ) : (\n message.info('Copied to clipboard.')}\n twoToneColor={cssVariables.primaryBlue}\n />\n )}\n \n \n \n );\n};\n\nCodeCopier.propTypes = {\n isLight: PropTypes.bool,\n code: PropTypes.string.isRequired,\n};\n\nexport default CodeCopier;\n","import styled, { keyframes } from 'styled-components';\n\nconst rotateLeft = keyframes`\n 0% {\n transform: rotate(-45deg);\n };\n\n 100% {\n transform: rotate(0);\n };\n`;\n\nconst rotateRight = keyframes`\n 0% {\n transform: rotate(45deg);\n };\n\n 100% {\n transform: rotate(0);\n };\n`;\n\nexport const StyledChatWidgetLauncher = styled.div`\n display: ${props => (props.isMobile ? 'none' : 'flex')};\n align-self: flex-end;\n margin-right: 20px;\n margin-top: 10px;\n border-radius: 50%;\n height: 55px;\n width: 55px;\n animation: ${rotateRight} 0.5s forwards;\n bottom: 20px;\n cursor: not-allowed;\n background-color: ${props => props.integrationDataColor};\n box-shadow: 1px 2px 3px 1px #b5b5b5;\n\n &:only-child {\n width: 60px;\n height: 60px;\n padding: 5px;\n display: flex;\n justify-content: center;\n position: fixed;\n }\n\n &:not(:only-child) {\n animation: ${rotateLeft} 0.5s forwards;\n padding: 10px;\n justify-content: center;\n }\n`;\n","import { StyledChatWidgetLauncher } from './ChatWidgetLauncher.style';\nimport useSelector from 'store/useSelector';\nimport {\n isMobileIntegrationSelector,\n widgetHeightSelector,\n widgetIconColorSelector,\n widgetThemeColorSelector,\n} from 'selectors/bot/integration';\n\nconst ChatWidgetLauncher = () => {\n const widgetThemeColor = useSelector(widgetThemeColorSelector);\n const iconColor = useSelector(widgetIconColorSelector);\n const height = useSelector(widgetHeightSelector);\n const isMobile = useSelector(isMobileIntegrationSelector);\n return (\n \n \n \n \n \n );\n};\n\nexport default ChatWidgetLauncher;\n","import styled from 'styled-components';\n\nexport const StyledUpload = styled.div`\n margin-top: 8px;\n`;\n","import { StyledUpload } from './UploadButton.style';\nimport { PlusOutlined } from '@ant-design/icons';\n\nconst UploadButton = () => {\n return (\n
    \n \n Upload\n
    \n );\n};\n\nexport default UploadButton;\n","import styled from 'styled-components';\nimport { Radio, Avatar } from 'antd';\nimport { cssVariables } from 'styles/root';\n\nexport const StyledAvatarModalRadio = styled(Radio)`\n padding-top: 30px;\n\n & span:last-child {\n & div {\n & .default {\n & label {\n & span {\n padding: 6px;\n }\n }\n }\n }\n }\n`;\n\nexport const StyledAvatarSelect = styled.input`\n margin-top: 25px;\n display: none;\n\n &:checked + label {\n font-weight: ${cssVariables.font.bold};\n background: ${cssVariables.primaryBlue};\n padding: 25px 15px;\n border-radius: 10%;\n }\n`;\n\nexport const StyledAvatarSelectLabel = styled.label`\n cursor: pointer;\n padding: 25px 15px;\n\n &:hover {\n background: ${cssVariables.blue1};\n padding: 25px 15px;\n border-radius: 10%;\n }\n`;\n\nexport const StyledAvatar = styled(Avatar)`\n background-color: ${props => props.integrationDataColor};\n`;\n\nexport const StyledChromePickerPosition = styled.div`\n position: relative;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n`;\n\nexport const StyledTempIconImage = styled.div`\n height: 100px;\n border: 1px solid ${cssVariables.gray2};\n margin-bottom: 8px;\n width: fit-content;\n\n & img {\n height: 100%;\n width: auto;\n padding: 5px;\n }\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledImageUploaderWrapper = styled.div`\n display: flex;\n align-items: center;\n column-gap: 5px;\n`;\n","import React, { useContext, useState } from 'react';\nimport { ChromePicker } from 'react-color';\nimport { Radio, Space, Tooltip, Upload, Popover } from 'antd';\n\nimport Input from 'components/Input';\nimport Modal from 'components/Modals/GenericModal';\nimport UploadButton from '../UploadButton/UploadButton';\nimport {\n StyledAvatarModalRadio,\n StyledAvatarSelect,\n StyledAvatarSelectLabel,\n StyledChromePickerPosition,\n StyledTempIconImage,\n StyledImageUploaderWrapper,\n StyledAvatar,\n} from './LauncherIconPickerModal.style';\nimport { Context } from 'store/store';\nimport {\n CLOSE_WIDGET_AVATAR_PICKER_MODAL,\n OPEN_IMAGE_VIEWER_MODAL,\n SET_WIDGET_AVATAR_COLOR,\n SET_WIDGET_LAUNCHER_ICON,\n SET_WIDGET_LAUNCHER_AVATAR_TYPE,\n SET_WIDGET_THEME_COLOR,\n} from 'store/action';\nimport useSelector from 'store/useSelector';\nimport {\n isSearchWidgetSelector,\n widgetIconColorSelector,\n widgetThemeColorSelector,\n} from 'selectors/bot/integration';\nimport { getBase64 } from 'utils';\nimport DefaultIcon from '../svg/DefaultIcon';\nimport Icon1 from '../svg/Icon1';\nimport Icon2 from '../svg/Icon2';\nimport Icon3 from '../svg/Icon3';\nimport Icon4 from '../svg/Icon4';\nimport {\n launcherAvatarCloudPathSelector,\n launcherAvatarSelector,\n launcherAvatarTypeSelector,\n showLauncherImagePreviewSelector,\n} from 'selectors/bot/integration/settings';\n\nconst LauncherIconPickerModal = () => {\n const [, dispatch] = useContext(Context);\n\n const themeColor = useSelector(widgetThemeColorSelector);\n const iconColor = useSelector(widgetIconColorSelector);\n const launcherAvatar = useSelector(launcherAvatarSelector);\n const launcherAvatarType = useSelector(launcherAvatarTypeSelector);\n const isSearchWidget = useSelector(isSearchWidgetSelector);\n const showLauncherImagePreview = useSelector(\n showLauncherImagePreviewSelector\n );\n const launcherAvatarInCloud = useSelector(launcherAvatarCloudPathSelector);\n\n const [showIconColorPicker, setShowIconColorPicker] = useState(false);\n\n const avatarColor = isSearchWidget ? themeColor : iconColor;\n const avatarBackgroundColor = isSearchWidget ? '#fff' : themeColor;\n\n const handleChangeAvatar = evt => {\n dispatch({ type: SET_WIDGET_LAUNCHER_ICON, payload: evt.target.value });\n };\n\n const handleChangeAvatarImg = async ({ file, fileList }) => {\n if (!file.url && !file.preview) {\n file.preview = await getBase64(fileList[0]?.originFileObj);\n }\n\n dispatch({\n type: SET_WIDGET_LAUNCHER_ICON,\n payload: file,\n });\n };\n\n const handleChangeAvatarColor = color => {\n if (isSearchWidget) {\n dispatch({ type: SET_WIDGET_THEME_COLOR, payload: color.hex });\n } else {\n dispatch({ type: SET_WIDGET_AVATAR_COLOR, payload: color.hex });\n }\n };\n\n const handleChangeAvatarType = evt => {\n dispatch({\n type: SET_WIDGET_LAUNCHER_AVATAR_TYPE,\n payload: evt.target.value,\n });\n };\n\n const handleCloseModal = () => {\n dispatch({ type: CLOSE_WIDGET_AVATAR_PICKER_MODAL });\n };\n\n const handleShowImagePreview = () => {\n dispatch({\n type: OPEN_IMAGE_VIEWER_MODAL,\n payload: { source: launcherAvatar, title: 'Launcher Avatar Preview' },\n });\n };\n\n return (\n \n \n \n \n Use Icons\n {launcherAvatarType !== 'custom' ? (\n
    \n
    \n
    \n \n \n \n }\n integrationDataColor={avatarBackgroundColor}\n size={45}\n />\n \n \n \n \n \n }\n integrationDataColor={avatarBackgroundColor}\n />\n \n \n \n \n }\n integrationDataColor={avatarBackgroundColor}\n size={45}\n />\n \n \n \n }\n integrationDataColor={avatarBackgroundColor}\n size={45}\n />\n \n \n \n }\n integrationDataColor={avatarBackgroundColor}\n size={45}\n />\n \n
    \n
    \n setShowIconColorPicker(false)}\n >\n \n \n }\n trigger=\"click\"\n open={showIconColorPicker}\n onOpenChange={() =>\n setShowIconColorPicker(!showIconColorPicker)\n }\n overlayClassName={{\n '& .ant-popover-inner': {\n backgroundColor: 'transparent',\n boxShadow: 'none',\n },\n }}\n >\n \n \n
    \n ) : null}\n
    \n \n Custom\n {launcherAvatarType === 'custom' ? (\n <>\n
    \n
    \n \n );\n};\n\nexport default LauncherIconPickerModal;\n","import styled from 'styled-components';\nimport { Collapse, Col, InputNumber, Avatar, Radio, Row } from 'antd';\nimport Button from 'components/Button';\nimport Select from 'components/Select';\nimport { cssVariables } from 'styles/root';\nimport {\n StyledFlexLeftColumn,\n StyledFlexRowLeft,\n} from 'styles/GenericStyledComponents';\n\nconst { Panel } = Collapse;\n\nexport const StyledSimulatorWrapper = styled(Row)`\n width: 100%;\n`;\n\nexport const StyledIntegrationSteps = styled(Col)`\n width: 100%;\n & form {\n display: flex;\n flex-direction: column;\n row-gap: 16px;\n }\n\n .ant-collapse-header .ant-collapse-arrow {\n padding-top: 0 !important;\n }\n`;\n\nexport const StyledCollapsiblePanel = styled(Panel)`\n & .ant-collapse-content-box {\n padding: ${props => (props.botAppearance ? '2% 5% 5% 5%' : '2% 5%')};\n }\n\n & .ant-collapse-arrow {\n top: 50% !important;\n\n & svg {\n font-size: 25px;\n }\n }\n\n & label {\n padding-top: 17px;\n }\n\n & .ant-layout {\n display: flex;\n flex-direction: column;\n row-gap: 16px;\n }\n\n & .rect-wrapper {\n padding: 10px;\n border-radius: 2px;\n color: #fff;\n font-size: 15px;\n text-align: center;\n align-self: center;\n font-weight: ${cssVariables.font.bold};\n word-wrap: break-all;\n margin-top: 25px;\n box-shadow: 1px 1px 0.5px 0px #b5b5b5;\n }\n\n & .formFieldHeader {\n padding-top: 17px;\n }\n`;\n\nexport const StyledCollapsiblePanelHeader = styled.div`\n display: flex;\n align-items: center;\n padding: 1px 6px;\n\n & span {\n font-size: 1rem;\n margin: 0;\n flex-direction: column;\n\n & span {\n font-weight: ${cssVariables.font.bold};\n }\n\n & p {\n font-size: 0.7rem;\n }\n }\n\n & .icon {\n margin-right: 10px;\n vertical-align: middle;\n }\n\n svg {\n font-size: 1.5rem;\n }\n`;\n\nexport const StyledErrorBottomText = styled.span`\n margin-top: 10px;\n font-size: 10px;\n font-weight: ${cssVariables.font.bold};\n text-transform: uppercase;\n text-align: center;\n color: red;\n`;\n\nexport const StyledActionBtns = styled.div`\n display: flex;\n column-gap: 10px;\n padding-top: 15px;\n\n & button {\n text-transform: capitalize;\n }\n`;\n\nexport const StyledLabel = styled.label`\n font-weight: ${cssVariables.font.bold};\n`;\n\nexport const StyledFormFieldRow = styled(Row)`\n display: flex;\n align-items: center;\n width: 100%;\n\n .anticon {\n margin-left: 5px;\n cursor: pointer;\n\n :hover {\n color: ${cssVariables.errorText};\n }\n }\n\n > * + * {\n margin: 5px 0;\n }\n`;\n\nexport const StyledFormFieldSubmit = styled(Button)`\n font-size: 12px;\n margin-top: 10px;\n display: flex;\n align-self: center;\n width: 100%;\n box-shadow: none;\n\n :hover,\n :active {\n background-color: transparent;\n }\n`;\n\nexport const StyledBotProfileBlock = styled.div`\n display: flex;\n`;\n\nexport const StyledBtnEditBotProfile = styled.button`\n border: none;\n width: 40px;\n height: 38px;\n background: #ffff;\n color: #1667e7;\n border-radius: 1px;\n cursor: pointer;\n margin-top: 15px;\n\n &:hover {\n background: #1667e726;\n }\n`;\n\nexport const StyledBtnAdvanceSettings = styled.button`\n display: flex;\n border: none;\n height: 38px;\n background: #ffff;\n color: #1667e7;\n border-radius: 1px;\n cursor: pointer;\n margin-top: 15px;\n float: right;\n line-height: 32px;\n\n &:hover {\n background: #1667e726;\n }\n`;\n\nexport const StyledAdvanceSettings = styled.div`\n padding-top: 10px;\n`;\n\nexport const StyledTempIconImage = styled.div`\n height: 100px;\n border: 1px solid ${cssVariables.gray2};\n margin-bottom: 8px;\n width: fit-content;\n\n & img {\n height: 100%;\n width: auto;\n padding: 5px;\n }\n\n &:hover {\n cursor: pointer;\n }\n`;\n\nexport const StyledImageUploaderWrapper = styled.div`\n display: flex;\n align-items: center;\n column-gap: 5px;\n`;\n\nexport const StyledGradientDiv = styled(Col)`\n margin-top: 15px;\n margin-left: 5px;\n`;\n\nexport const StyledInputGradient = styled(InputNumber)`\n margin-top: 15px;\n padding: 10px;\n border-radius: 3px;\n width: auto;\n`;\n\nexport const StyledLabelAutoOpen = styled.label`\n font-weight: ${cssVariables.font.bold};\n padding-right: 15px;\n`;\n\nexport const StyledBgUpload = styled(StyledFlexRowLeft)`\n & .ant-upload-list-item-list-type-picture-card {\n border-color: ${cssVariables.gray2};\n }\n\n & .ant-tooltip {\n display: none;\n }\n\n & .hidden {\n display: none;\n }\n`;\n\nexport const StyledCurrentBgLabel = styled.span`\n font-size: 12px;\n font-style: italic;\n`;\n\nexport const StyledPositionLabel = styled.span`\n align-self: flex-start;\n font-weight: ${cssVariables.font.bold};\n font-size: 14px;\n display: block;\n padding-top: 15px;\n`;\n\nexport const StyledPositionCols = styled(Col)`\n background-color: #f4f7f9;\n border-color: #f9f9f9;\n border-style: solid;\n height: 110px;\n`;\n\nexport const StyledPositionBtn = styled(Button)`\n background-color: white;\n color: black;\n width: 100%;\n height: 100%;\n border-radius: 0 !important;\n font-size: 15px;\n\n &:hover {\n cursor: pointer;\n background-color: ${cssVariables.primaryBlue};\n color: white;\n }\n\n &:active {\n background-color: ${cssVariables.primaryBlue};\n color: white;\n }\n`;\n\nexport const StyledRightPosition = styled.div`\n padding-left: 70%;\n`;\n\nexport const StyledPositionMidCols = styled(Col)`\n background-color: #f4f7f9;\n border-color: #f9f9f9;\n border-style: solid;\n height: 110px;\n text-align: center;\n`;\n\nexport const StyledMidRotateBtn = styled(Button)`\n background-color: white;\n color: black;\n width: auto;\n height: auto;\n border-radius: 0 !important;\n font-size: 15px;\n padding: 45px;\n position: relative;\n transform: rotate(-90deg);\n\n &:hover {\n cursor: pointer;\n background-color: ${cssVariables.primaryBlue};\n color: white;\n }\n\n &:active {\n background-color: ${cssVariables.primaryBlue};\n color: white;\n }\n`;\n\nexport const StyledPositionBtnTrans = styled(Button)`\n cursor: none;\n`;\n\nexport const StyledBottomLeftPosition = styled.div`\n margin-top: 5em;\n`;\n\nexport const StyledBottomRightPosition = styled.div`\n padding-left: 70%;\n margin-top: 5em;\n`;\n\nexport const StyledChatBot = styled(Col)`\n & .rcw-widget-container {\n z-index: 100;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n display: flex;\n\n & .rcw-conversation-container {\n & .rcw-messages-container {\n & .rcw-message {\n & div:not(rcw-client) {\n & div {\n & div {\n background-color: ${props =>\n props.replyBubbleGradient || props.bubbleGradient} !important;\n color: ${props =>\n props.textColor\n ? props.textColor\n : cssVariables.primaryColor} !important;\n font-size: ${props => props.fontSize || '12px'} !important;\n }\n }\n }\n }\n }\n }\n }\n\n & .rcw-messages-container {\n height: ${props => props.height}px;\n max-height: ${props => props.height}px;\n }\n\n & .rcw-header,\n .rcw-message-text {\n background-color: ${props => props.color} !important;\n color: ${props => (props.textColor ? props.textColor : '#fff')} !important;\n }\n\n & .rcw-conversation-container > .rcw-header {\n border-bottom: 1px solid #d9d9d9;\n font-family: 'Calibri', sans-serif;\n position: relative;\n\n .rcw-title {\n position: relative;\n }\n }\n\n & .rcw-message-text {\n background-color: ${props =>\n props.color !== props.bubbleColor\n ? props.bubbleColor\n : props.color} !important;\n font-size: ${props => props.fontSize} !important;\n }\n\n & .rcw-client .rcw-timestamp {\n font-family: 'Calibri', sans-serif;\n }\n\n & .rcw-client > .rcw-message-text {\n background-color: ${cssVariables.primaryTransparent};\n color: #fff;\n box-shadow: 1px 1px 2px 0px #b5b5b5;\n font-family: 'Calibri', sans-serif;\n }\n\n & .rcw-sender {\n border-top: 1px solid #d9d9d9;\n border-bottom: 1px solid #d9d9d9;\n font-family: 'Calibri', sans-serif;\n }\n\n & h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: inherit !important;\n }\n\n & h1 {\n font-size: 2em;\n }\n\n & h2 {\n font-size: 1.5em;\n }\n`;\n\nexport const StyledChatWidgetV2Bot = styled(Col)`\n #zsb-widget-wrapper {\n position: relative;\n }\n`;\n\nexport const StyledAvatar = styled(Avatar)`\n background-color: ${props => props.color};\n padding: ${props =>\n props.avatar === 'default' || !props.avatar ? '10px' : '0px'};\n\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n`;\nexport const StyledSelect = styled(Select)`\n margin: 0px;\n width: 100%;\n`;\n\nexport const StyledRadio = styled(Radio)`\n padding-left: 40px;\n`;\n\nexport const StyledRadioLabel = styled.div`\n background-color: ${props => props.color};\n color: ${props => props.textColor};\n padding: 15px;\n`;\n\nexport const StyledSwitchWrapper = styled.div`\n display: flex;\n width: 100%;\n flex-direction: column;\n margin-top: 20px;\n\n > div {\n width: 100%;\n display: flex;\n\n b:first-child,\n div:first-child:not(.ant-switch-handle) {\n width: 50%;\n }\n }\n\n > * + * {\n margin: 10px 0;\n }\n`;\n\nexport const StyledInteractionCol = styled(Col)`\n display: flex;\n width: 100%;\n margin-top: 13px;\n\n b:first-child,\n div:first-child:not(.ant-switch-handle) {\n width: 75%;\n }\n`;\n\nexport const StyledInteractionInput = styled(InputNumber)`\n margin-top: 5px;\n border-radius: 3px;\n`;\n\nexport const StyledHeaderWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n`;\n\nexport const StyledWidgetVersionWrapper = styled(StyledFlexLeftColumn)`\n > * + * {\n margin: 10px 0;\n }\n`;\n\nexport const StyledCollapsibleHeaderWithRadio = styled(StyledFlexLeftColumn)`\n > :nth-child(2) {\n margin-left: 36px;\n margin-top: 10px;\n }\n`;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\n\nimport { StyledActionBtns } from './CustomizeBot.style';\nimport Button from 'components/Button';\nimport useSelector from 'store/useSelector';\nimport {\n isAppearancePanelSettingsUnchangedSelector,\n isConfigPanelSettingsUnchangedSelector,\n isPlacementPanelSettingsUnchangedSelector,\n} from 'selectors/bot/integration';\nimport { Context } from 'store/store';\nimport {\n RESET_APPEARANCE_PANEL_SETTINGS,\n RESET_CONFIG_PANEL_SETTINGS,\n RESET_PLACEMENT_PANEL_SETTINGS,\n} from 'store/action';\n\nconst PanelActionButtons = ({\n disabled,\n onPanelChange,\n nextPanelKey,\n isLastPanel,\n panelName,\n}) => {\n const [, dispatch] = useContext(Context);\n const isConfigPanelSettingsUnchanged = useSelector(\n isConfigPanelSettingsUnchangedSelector\n );\n const isAppearancePanelSettingsUnchanged = useSelector(\n isAppearancePanelSettingsUnchangedSelector\n );\n const isPlacementPanelSettingsUnchanged = useSelector(\n isPlacementPanelSettingsUnchangedSelector\n );\n\n const handleClickNext = () => {\n if (!Boolean(isLastPanel)) {\n return onPanelChange(nextPanelKey);\n }\n };\n\n const shouldHideSubmit = () => {\n switch (panelName) {\n case 'config':\n return isConfigPanelSettingsUnchanged;\n case 'appearance':\n return isAppearancePanelSettingsUnchanged;\n case 'placement':\n return isPlacementPanelSettingsUnchanged;\n default:\n return false;\n }\n };\n\n const handleResetPanelFields = () => {\n switch (panelName) {\n case 'config':\n dispatch({ type: RESET_CONFIG_PANEL_SETTINGS });\n break;\n case 'appearance':\n dispatch({ type: RESET_APPEARANCE_PANEL_SETTINGS });\n break;\n case 'placement':\n dispatch({ type: RESET_PLACEMENT_PANEL_SETTINGS });\n break;\n default:\n break;\n }\n };\n\n return (\n \n );\n};\n\nPanelActionButtons.propTypes = {\n disabled: PropTypes.bool,\n onPanelChange: PropTypes.func.isRequired,\n nextPanelKey: PropTypes.string,\n isLastPanel: PropTypes.bool,\n panelName: PropTypes.oneOf(['config', 'appearance', 'placement']).isRequired,\n};\n\nexport default PanelActionButtons;\n","export const MIN_WIDGET_HEIGHT = 250;\nexport const MAX_WIDGET_HEIGHT = 600;\nexport const BG_OPTIONS = [\n {\n label: 'Dark',\n value: 'dark',\n },\n {\n label: 'Light',\n value: 'light',\n },\n {\n label: 'Custom',\n value: 'custom',\n },\n];\nexport const TEXT_COLOR_LIST = [\n {\n label: 'Default',\n value: '#fff',\n },\n {\n label: 'Black',\n value: '#000',\n },\n];\n","import React, { useContext, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { Avatar, Popover } from 'antd';\n\nimport Input from 'components/Input';\nimport {\n StyledActionBtns,\n StyledIntegrationSteps,\n StyledTempIconImage,\n} from './CustomizeBot.style';\nimport ColorPicker from './ColorPicker';\nimport useSelector from 'store/useSelector';\nimport {\n widgetHeightSelector,\n widgetPlaceholderSelector,\n widgetThemeColorSelector,\n} from 'selectors/bot/integration';\nimport { MAX_WIDGET_HEIGHT, MIN_WIDGET_HEIGHT } from './constants';\nimport { Context } from 'store/store';\nimport {\n OPEN_IMAGE_VIEWER_MODAL,\n RESET_SEARCH_CUSTOMIZER_DATA,\n SET_SHOW_WIDGET_AVATAR_PICKER_MODAL,\n SET_WIDGET_HEIGHT,\n SET_WIDGET_PLACEHOLDER,\n SET_WIDGET_THEME_COLOR,\n} from 'store/action';\nimport LauncherIconPickerModal from '../LauncherIconPickerModal';\nimport { isAvatarPickerModalOpenSelector } from 'selectors/bot/ui';\nimport { StyledFlexRowLeft } from 'styles/GenericStyledComponents';\nimport Button from 'components/Button';\nimport { generateIcon } from '../iconUtils';\nimport {\n isHeaderAvatarSvgIconSelector,\n widgetHeaderAvatarSelector,\n} from 'selectors/bot/integration/settings';\n\nconst SearchCustomizer = ({ onUpdate }) => {\n const [, dispatch] = useContext(Context);\n const themeColor = useSelector(widgetThemeColorSelector);\n const height = useSelector(widgetHeightSelector);\n const placeholder = useSelector(widgetPlaceholderSelector);\n const avatar = useSelector(widgetHeaderAvatarSelector);\n const isAvatarPickerModalOpen = useSelector(isAvatarPickerModalOpenSelector);\n const isIconTypeAvatar = useSelector(isHeaderAvatarSvgIconSelector);\n\n const [showColorPicker, setShowColorPicker] = useState(false);\n\n const handleChangeColor = color => {\n dispatch({\n type: SET_WIDGET_THEME_COLOR,\n payload: color.hex,\n });\n };\n\n const handleChangeHeight = evt => {\n dispatch({\n type: SET_WIDGET_HEIGHT,\n payload: evt.target.value,\n });\n };\n\n const handleChangePlaceholder = evt => {\n dispatch({\n type: SET_WIDGET_PLACEHOLDER,\n payload: evt.target.value,\n });\n };\n\n const handleChangeAvatar = () => {\n dispatch({ type: SET_SHOW_WIDGET_AVATAR_PICKER_MODAL });\n };\n\n const handleClear = () => {\n dispatch({ type: RESET_SEARCH_CUSTOMIZER_DATA });\n };\n\n const handlePreviewAvatar = () => {\n dispatch({\n type: OPEN_IMAGE_VIEWER_MODAL,\n payload: { source: avatar, title: 'Search Widget Avatar Preview' },\n });\n };\n\n return (\n \n

    {'Personalise you search widget'}

    \n
    \n \n \n \n }\n trigger=\"click\"\n open={showColorPicker}\n onOpenChange={() => setShowColorPicker(!showColorPicker)}\n overlayClassName={{\n '& .ant-popover-inner': {\n backgroundColor: 'transparent',\n boxShadow: 'none',\n },\n }}\n >\n \n \n \n {isIconTypeAvatar ? (\n \n ) : (\n \n \"widget\n \n )}\n \n \n \n \n \n \n \n {isAvatarPickerModalOpen ? : null}\n
    \n );\n};\n\nSearchCustomizer.propTypes = {\n onUpdate: PropTypes.func,\n};\n\nexport default SearchCustomizer;\n","import React, { useContext } from 'react';\nimport { Col, Radio, Row } from 'antd';\n\nimport useSelector from 'store/useSelector';\nimport {\n widgetVersionSelector,\n isWidgetV1Selector,\n widgetV2TypeSelector,\n} from 'selectors/bot/integration';\nimport { Context } from 'store/store';\nimport {\n SET_INTEGRATION_BOT_VERSION,\n SET_INTEGRATION_WIDGET_TYPE,\n} from 'store/action';\nimport { StyledWidgetVersionWrapper } from './CustomizeBot.style';\nimport { withOpenAI } from 'components/hoc/withOpenAI';\nimport ToolTip from 'components/ToolTips/BaseToolTip';\n\nconst WidgetVersion = () => {\n const [, dispatch] = useContext(Context);\n\n const isWidgetV1 = useSelector(isWidgetV1Selector);\n const widgetType = useSelector(widgetV2TypeSelector);\n const widgetVersion = useSelector(widgetVersionSelector);\n\n const handleChangeBotVersion = evt => {\n dispatch({ type: SET_INTEGRATION_BOT_VERSION, payload: evt.target.value });\n };\n\n const handleChangeWidgetType = evt => {\n dispatch({ type: SET_INTEGRATION_WIDGET_TYPE, payload: evt.target.value });\n };\n const SearchRadio = isWidgetV1\n ? () => (\n \n \n {'Search Widget'}\n \n \n )\n : withOpenAI({'Search Widget'});\n\n return (\n \n \n {'Version 1'}\n {'Version 2'}\n \n \n \n \n {'Chat Widget'}\n \n \n \n \n \n \n \n );\n};\n\nexport default WidgetVersion;\n","/* eslint-disable react/display-name */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport useSelector from 'store/useSelector';\nimport { botModeSelector } from 'selectors/bot';\nimport ToolTip from 'components/ToolTips/BaseToolTip';\n\nexport const withOpenAI = Component => {\n return props => {\n const botMode = useSelector(botModeSelector);\n if (botMode === 'openai') {\n return React.cloneElement(Component, { ...props });\n }\n return (\n \n {React.cloneElement(Component, { ...props, disabled: true })}\n \n );\n };\n};\n\nwithOpenAI.propTypes = {\n Component: PropTypes.any.isRequired,\n};\n","import React from 'react';\nimport { Switch } from 'antd';\n\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport Input from 'components/Input';\nimport {\n StyledErrorBottomText,\n StyledSwitchWrapper,\n} from '../../CustomizeBot.style';\nimport PanelActionButtons from '../../PanelActionButtons';\nimport { useConfigPanel } from './hooks';\n\nconst BOT_PANEL_KEY_PREFIX = 'bot-customizer-panel-';\n\nconst ConfigPanel = () => {\n const {\n handleBlur,\n handleChangeSwitch,\n handleInputChange,\n handlePanelChange,\n authenticatedUser,\n isDemo,\n tempTitle,\n tempSubitle,\n tempPlaceholder,\n tempWelcomeMessage,\n subtitle,\n botTitle,\n welcomeMessage,\n placeholder,\n } = useConfigPanel();\n\n return (\n \n \n {!tempTitle ? (\n \n {'Bot Title is Required.'}\n \n ) : null}\n \n {!tempSubitle ? (\n {'Subtitle is Required.'}\n ) : null}\n \n {!tempPlaceholder ? (\n \n {'Placeholder is Required.'}\n \n ) : null}\n \n {!tempWelcomeMessage ? (\n \n {'Welcome Message is Required.'}\n \n ) : null}\n\n {isDemo && (\n \n
    \n {'Allow Authenticated User'}\n \n
    \n
    \n )}\n\n \n
    \n );\n};\n\nexport default ConfigPanel;\n","import { useContext, useEffect, useState } from 'react';\n\nimport { useQuery } from 'pages/useQuery';\nimport { Context } from 'store/store';\nimport useSelector from 'store/useSelector';\nimport {\n botTitleSelector,\n currentIntegrationSettingsSettingPropSelector,\n isDemoIntegrationSelector,\n} from 'selectors/bot/integration';\nimport {\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_WIDGET_PLACEHOLDER,\n SET_WIDGET_SUBTITLE,\n SET_WIDGET_TITLE,\n SET_WIDGET_WELCOME_MESSAGE,\n TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH,\n} from 'store/action';\n\nexport const useConfigPanel = () => {\n const query = useQuery();\n const [, dispatch] = useContext(Context);\n\n const settings = useSelector(currentIntegrationSettingsSettingPropSelector);\n const botTitle = useSelector(botTitleSelector);\n const isDemo = useSelector(isDemoIntegrationSelector, query.get('platform'));\n\n const { subtitle, placeholder, welcomeMessage, authenticatedUser } = settings;\n\n const [tempTitle, setTitle] = useState(botTitle);\n const [tempSubitle, setSubtitle] = useState(subtitle);\n const [tempWelcomeMessage, setWelcomeMessage] = useState(welcomeMessage);\n const [tempPlaceholder, setPlaceholder] = useState(placeholder);\n\n const handleInputChange = key => evt => {\n switch (key) {\n case 'title':\n setTitle(evt.target.value);\n break;\n\n case 'subtitle':\n setSubtitle(evt.target.value);\n break;\n\n case 'placeholder':\n setPlaceholder(evt.target.value);\n break;\n\n case 'welcomeMessage':\n setWelcomeMessage(evt.target.value);\n break;\n\n default:\n break;\n }\n };\n\n const handlePanelChange = async val => {\n dispatch({ type: SET_BOT_CUSTOMIZER_ACTIVE_PANEL, payload: val });\n };\n\n useEffect(() => {\n // Necessary for demo integration cuz demo config\n // has to be fetched unlike existing integrations\n // has already the configs from the table of integrations\n if (isDemo) {\n if (botTitle !== tempTitle) {\n setTitle(botTitle);\n }\n if (subtitle !== tempSubitle) {\n setSubtitle(subtitle);\n }\n if (welcomeMessage !== tempWelcomeMessage) {\n setWelcomeMessage(botTitle);\n }\n if (placeholder !== tempPlaceholder) {\n setPlaceholder(botTitle);\n }\n }\n }, [botTitle, subtitle, welcomeMessage, placeholder, isDemo]);\n\n const handleBlur = key => evt => {\n // Add delay cuz user might have clicked other component\n // other than the expected next input field\n setTimeout(() => {\n switch (key) {\n case 'title':\n // dont fire if no changes made\n if (tempTitle && tempTitle !== botTitle) {\n dispatch({ type: SET_WIDGET_TITLE, payload: tempTitle });\n }\n break;\n\n case 'subtitle':\n if (tempSubitle && tempSubitle !== subtitle) {\n dispatch({ type: SET_WIDGET_SUBTITLE, payload: tempSubitle });\n }\n break;\n\n case 'placeholder':\n if (tempPlaceholder && tempPlaceholder !== placeholder) {\n dispatch({\n type: SET_WIDGET_PLACEHOLDER,\n payload: tempPlaceholder,\n });\n }\n break;\n\n case 'welcomeMessage':\n if (tempWelcomeMessage && tempWelcomeMessage !== welcomeMessage) {\n dispatch({\n type: SET_WIDGET_WELCOME_MESSAGE,\n payload: tempWelcomeMessage,\n });\n }\n break;\n\n default:\n break;\n }\n }, 50);\n };\n\n const handleChangeSwitch = val => {\n dispatch({\n type: TOGGLE_WIDGET_USER_AUTHETICATED_SWITCH,\n payload: val,\n });\n };\n return {\n handleBlur,\n handleChangeSwitch,\n handleInputChange,\n handlePanelChange,\n authenticatedUser,\n isDemo,\n tempTitle,\n tempSubitle,\n tempPlaceholder,\n tempWelcomeMessage,\n subtitle,\n botTitle,\n welcomeMessage,\n placeholder,\n };\n};\n","import React, { useContext, useState } from 'react';\nimport { Col, Row, Switch } from 'antd';\nimport styled from 'styled-components';\n\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport {\n StyledInteractionInput,\n StyledLabel,\n} from '../../../CustomizeBot.style';\nimport useSelector from 'store/useSelector';\nimport {\n interactionHistorySelector,\n maxInteractionSelector,\n} from 'selectors/bot/integration';\nimport { Context } from 'store/store';\nimport { TOGGLE_INTERACTION_HISTORY } from 'store/action';\nimport { isBotOpenAIEnabledSelector } from 'selectors/bot';\n\nconst StyledWrapper = styled.div`\n > * {\n margin: 10px 0;\n width: 100%;\n }\n`;\n\nconst ContextHistory = props => {\n const [, dispatch] = useContext(Context);\n\n const interactionHistory = useSelector(interactionHistorySelector);\n const maxInteraction = useSelector(maxInteractionSelector);\n const isBotOpenAIEnabled = useSelector(isBotOpenAIEnabledSelector);\n\n const [tempMaxInteraction, setTempMaxInteraction] = useState(maxInteraction);\n\n const handleToggleInteractionHistory = val => {\n dispatch({ type: TOGGLE_INTERACTION_HISTORY, payload: val });\n };\n\n const handleChangeMaxInteractionInput = evt => {\n setTempMaxInteraction(evt.target.value);\n };\n\n const handleBlurMaxInteractionInput = () => {\n dispatch({ type: TOGGLE_INTERACTION_HISTORY, payload: tempMaxInteraction });\n };\n\n return isBotOpenAIEnabled ? (\n \n \n \n {'Enable Context History'} \n \n \n \n \n \n \n \n {'No. of Interactions'}\n \n \n \n \n ) : null;\n};\n\nContextHistory.propTypes = {};\n\nexport default ContextHistory;\n","import { useContext, useState } from 'react';\n\nimport {\n currentIntegrationSettingsSettingPropSelector,\n replyBubbleGradientSelector,\n widgetThemeColorSelector,\n} from 'selectors/bot/integration';\nimport {\n isUseWidgetIconRadioDisabledSelector,\n showHeaderImagePreviewSelector,\n widgetHeaderAvatarSelector,\n widgetHeaderAvatarTypeSelector,\n widgetAvatarResponseSelector,\n widgetAvatarResponseTypeSelector,\n} from 'selectors/bot/integration/settings';\nimport {\n OPEN_IMAGE_VIEWER_MODAL,\n SET_REPLY_BUBBLE_GRADIENT,\n SET_HEADER_AVATAR,\n SET_WIDGET_CHAT_BUBBLE_COLOR,\n SET_WIDGET_FONT_SIZE,\n TOGGLE_AUTO_OPEN_WIDGET_SETTING,\n TOGGLE_SHOW_CLOSE_BUTTON,\n TOGGLE_WIDGET_SPEECH_TO_TEXT,\n TOGGLE_WIDGET_TEXT_TO_SPEECH,\n TOGGLE_WIDGET_TYPING_EXPERIENCE,\n SET_HEADER_AVATAR_TYPE,\n SET_RESPONSE_AVATAR_TYPE,\n SET_RESPONSE_AVATAR,\n} from 'store/action';\nimport useSelector from 'store/useSelector';\nimport { Context } from 'store/store';\nimport { getBase64 } from 'utils';\n\nconst useAdvanceSettings = () => {\n const [, dispatch] = useContext(Context);\n\n const currentSettings = useSelector(\n currentIntegrationSettingsSettingPropSelector\n );\n const headerAvatar = useSelector(widgetHeaderAvatarSelector);\n const headerAvatarType = useSelector(widgetHeaderAvatarTypeSelector);\n const responseAvatarType = useSelector(widgetAvatarResponseTypeSelector);\n const responseAvatar = useSelector(widgetAvatarResponseSelector);\n const widgetThemeColor = useSelector(widgetThemeColorSelector);\n const showHeaderImagePreview = useSelector(showHeaderImagePreviewSelector);\n const replyBubbleGradient = useSelector(replyBubbleGradientSelector);\n const isUseWidgetIconsDisabled = useSelector(\n isUseWidgetIconRadioDisabledSelector\n );\n\n const [showColorPickerBubble, setShowColorPickerBubble] = useState(false);\n const [tempFontSize, setTempFontSize] = useState(currentSettings.fontSize);\n\n const handleChangeAvatarType = (position, value) => {\n if (position === 'header') {\n dispatch({\n type: SET_HEADER_AVATAR_TYPE,\n payload: value,\n });\n } else if (position === 'response') {\n dispatch({\n type: SET_RESPONSE_AVATAR_TYPE,\n payload: value,\n });\n }\n };\n\n const handlePreviewAvatar = position => {\n dispatch({\n type: OPEN_IMAGE_VIEWER_MODAL,\n payload: {\n source: position === 'header' ? headerAvatar : responseAvatar,\n },\n });\n };\n\n const handleChangeHeaderImage = async ({ file, fileList }) => {\n if (file instanceof File) {\n if (!file.url && !file.preview) {\n file.preview = await getBase64(file);\n }\n dispatch({ type: SET_HEADER_AVATAR, payload: file });\n } else {\n dispatch({ type: SET_HEADER_AVATAR, payload: null });\n }\n };\n\n const handleRemoveImage = () => {\n dispatch({ type: SET_HEADER_AVATAR, payload: null });\n };\n\n const handleChangeResponseImage = async ({ file }) => {\n if (!file.url && !file.preview) {\n file.preview = await getBase64(file);\n }\n dispatch({ type: SET_RESPONSE_AVATAR, payload: file });\n };\n\n const handleSelectBubbleColor = color => {\n dispatch({\n type: SET_WIDGET_CHAT_BUBBLE_COLOR,\n payload: color.hex,\n });\n };\n\n const handleChangeReplyBubbleGradient = val => {\n if (typeof val === 'number') {\n dispatch({\n type: SET_REPLY_BUBBLE_GRADIENT,\n payload: val,\n });\n }\n };\n\n const handleChangeFontSize = evt => {\n setTempFontSize(evt.target.value);\n };\n\n const handleBlurFontSizeInput = () => {\n dispatch({\n type: SET_WIDGET_FONT_SIZE,\n payload: tempFontSize,\n });\n };\n\n const onToggleSectionChange = settingProp => val => {\n switch (settingProp) {\n case 'autoOpen':\n dispatch({\n type: TOGGLE_AUTO_OPEN_WIDGET_SETTING,\n payload: val,\n });\n break;\n\n case 'speechToText':\n dispatch({\n type: TOGGLE_WIDGET_SPEECH_TO_TEXT,\n payload: val,\n });\n break;\n\n case 'textToSpeech':\n dispatch({\n type: TOGGLE_WIDGET_TEXT_TO_SPEECH,\n payload: val,\n });\n break;\n\n case 'typingExperience':\n dispatch({\n type: TOGGLE_WIDGET_TYPING_EXPERIENCE,\n payload: val,\n });\n break;\n\n case 'showCloseButton':\n dispatch({\n type: TOGGLE_SHOW_CLOSE_BUTTON,\n payload: val,\n });\n break;\n\n default:\n break;\n }\n };\n\n return {\n currentSettings,\n handleChangeAvatarType,\n handleChangeHeaderImage,\n handleSelectBubbleColor,\n handlePreviewAvatar,\n showColorPickerBubble,\n setShowColorPickerBubble,\n widgetThemeColor,\n showHeaderImagePreview,\n handleChangeReplyBubbleGradient,\n replyBubbleGradient,\n handleChangeFontSize,\n handleBlurFontSizeInput,\n tempFontSize,\n onToggleSectionChange,\n isUseWidgetIconsDisabled,\n responseAvatar,\n responseAvatarType,\n headerAvatar,\n headerAvatarType,\n handleChangeResponseImage,\n handleRemoveImage,\n };\n};\n\nexport default useAdvanceSettings;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Col, Row, Switch } from 'antd';\nimport { InfoCircleTwoTone } from '@ant-design/icons';\nimport styled from 'styled-components';\n\nimport ToolTip from 'components/ToolTips/BaseToolTip';\nimport {\n currentIntegrationSettingsSettingPropSelector,\n isMobileIntegrationSelector,\n} from 'selectors/bot/integration';\nimport useSelector from 'store/useSelector';\nimport { StyledLabelAutoOpen } from 'components/BotCustomizer/CustomizeBot/CustomizeBot.style';\n\nconst StyledWrapper = styled.div`\n > * {\n margin: 10px 0;\n width: 100%;\n }\n`;\n\nconst SwitchSection = ({ onToggleChange }) => {\n const {\n autoOpen,\n speechToText,\n textToSpeech,\n typingExperience,\n showCloseButton,\n } = useSelector(currentIntegrationSettingsSettingPropSelector);\n\n const isMobileIntegration = useSelector(isMobileIntegrationSelector);\n\n return (\n \n \n \n {'Auto Open Widget'}\n \n \n \n \n \n \n \n {'Enable Speech-to-text'} \n \n \n \n \n \n \n \n \n \n \n {'Enable Text-to-speech'} \n \n \n \n \n \n \n \n {'Enable Typing Experience'} \n \n \n \n \n \n\n {isMobileIntegration ? (\n \n \n {'Show Close Button'}\n \n \n \n \n \n ) : null}\n \n );\n};\n\nSwitchSection.propTypes = {\n onToggleChange: PropTypes.func,\n};\n\nexport default SwitchSection;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Radio, Upload, Slider, Popover, Col, Row } from 'antd';\n\nimport {\n StyledAdvanceSettings,\n StyledGradientDiv,\n StyledImageUploaderWrapper,\n StyledInputGradient,\n StyledLabel,\n StyledTempIconImage,\n} from '../../../CustomizeBot.style';\nimport UploadButton from 'components/BotCustomizer/UploadButton/UploadButton';\nimport { CONTEXT_HISTORY } from 'constants/featureFlags';\nimport { withFeatureFlag } from 'components/hoc/withFeatureFlags';\nimport Input from 'components/Input';\nimport { StyledFlexRowLeft } from 'styles/GenericStyledComponents';\nimport ContextHistory from './ContextHistory';\nimport ColorPicker from '../../../ColorPicker';\nimport useAdvanceSettings from './hooks';\nimport SwitchSection from './ToggleSwitchSection';\nimport ToolTip from 'components/ToolTips/BaseToolTip';\n\nconst AdvanceSettings = props => {\n const { showAdvanceSettings } = props;\n\n const {\n currentSettings,\n handleChangeAvatarType,\n handleChangeHeaderImage,\n handleSelectBubbleColor,\n handlePreviewAvatar,\n showColorPickerBubble,\n setShowColorPickerBubble,\n widgetThemeColor,\n showHeaderImagePreview,\n handleChangeReplyBubbleGradient,\n replyBubbleGradient,\n handleChangeFontSize,\n handleBlurFontSizeInput,\n tempFontSize,\n onToggleSectionChange,\n isUseWidgetIconsDisabled,\n responseAvatar,\n responseAvatarType,\n headerAvatar,\n headerAvatarType,\n handleRemoveImage,\n } = useAdvanceSettings();\n\n const { avatarPosition, bubbleColor } = currentSettings;\n\n const ContextHistoryComponent = withFeatureFlag(\n CONTEXT_HISTORY,\n \n );\n\n return (\n
    \n \n
    \n );\n};\n\nAdvanceSettings.propTypes = {\n showAdvanceSettings: PropTypes.bool,\n};\n\nexport default AdvanceSettings;\n","import React from 'react';\nimport { Popover } from 'antd';\n\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport Input from 'components/Input';\nimport {\n StyledAvatar,\n StyledBotProfileBlock,\n StyledBtnAdvanceSettings,\n StyledBtnEditBotProfile,\n StyledErrorBottomText,\n StyledLabel,\n StyledSelect,\n} from '../../CustomizeBot.style';\nimport ColorPicker from '../../ColorPicker';\nimport { generateIcon } from '../../../iconUtils';\nimport {\n MAX_WIDGET_HEIGHT,\n MIN_WIDGET_HEIGHT,\n TEXT_COLOR_LIST,\n} from '../../constants';\nimport AdvanceSettings from './AdvanceSettings';\nimport PanelActionButtons from '../../PanelActionButtons';\nimport { useAppearancePanel } from './hooks';\n\nconst NEXT_PANEL_KEY = 'bot-customizer-panel-3';\n\nconst AppearancePanel = () => {\n const {\n handleEditAvatar,\n handleChangeTheme,\n handleChangeHeight,\n handleSelectFontColor,\n setHeight,\n setShowColorPicker,\n setShowAdvanceSettings,\n showColorPicker,\n showAdvanceSettings,\n iconColor,\n color,\n height,\n textColor,\n botName,\n isAppearancePanelSettingsUnchanged,\n launcherAvatar,\n tempHeight,\n handlePanelChange,\n } = useAppearancePanel();\n\n return (\n \n {`${botName} Widget launcher Icon`}\n \n {\n \n }\n\n \n {'Edit'}\n \n \n\n \n }\n trigger=\"click\"\n open={showColorPicker}\n onOpenChange={() => setShowColorPicker(!showColorPicker)}\n overlayClassName={{\n '& .ant-popover-inner': {\n backgroundColor: 'transparent',\n boxShadow: 'none',\n },\n }}\n >\n \n \n {!color ? (\n \n {'Theme Color is Required.'}\n \n ) : null}\n \n\n setHeight(e.target.value)}\n onBlur={handleChangeHeight}\n />\n {!tempHeight ? (\n {'Height is Required.'}\n ) : null}\n\n setShowAdvanceSettings(!showAdvanceSettings)}\n type=\"button\"\n >\n {showAdvanceSettings === false\n ? 'Show advanced settings'\n : 'Hide advanced settings'}\n \n \n \n \n );\n};\n\nexport default AppearancePanel;\n","import { useContext, useState } from 'react';\n\nimport { Context } from 'store/store';\nimport useSelector from 'store/useSelector';\nimport {\n currentIntegrationSettingsSettingPropSelector,\n isAppearancePanelSettingsUnchangedSelector,\n widgetHeightSelector,\n} from 'selectors/bot/integration';\nimport { botNameSelector } from 'selectors/bot';\nimport {\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_SHOW_WIDGET_AVATAR_PICKER_MODAL,\n SET_WIDGET_FONT_COLOR,\n SET_WIDGET_HEIGHT,\n SET_WIDGET_THEME_COLOR,\n} from 'store/action';\nimport { launcherAvatarSelector } from 'selectors/bot/integration/settings';\n\nexport const useAppearancePanel = () => {\n const settings = useSelector(currentIntegrationSettingsSettingPropSelector);\n const isAppearancePanelSettingsUnchanged = useSelector(\n isAppearancePanelSettingsUnchangedSelector\n );\n const botName = useSelector(botNameSelector);\n const launcherAvatar = useSelector(launcherAvatarSelector);\n const height = useSelector(widgetHeightSelector);\n\n const [, dispatch] = useContext(Context);\n\n const { iconColor, color, textColor } = settings;\n\n const [tempHeight, setHeight] = useState(height);\n const [showColorPicker, setShowColorPicker] = useState(false);\n const [showAdvanceSettings, setShowAdvanceSettings] = useState(false);\n\n const handleEditAvatar = () => {\n dispatch({ type: SET_SHOW_WIDGET_AVATAR_PICKER_MODAL });\n };\n\n const handleChangeTheme = color => {\n dispatch({ type: SET_WIDGET_THEME_COLOR, payload: color.hex });\n };\n\n const handleChangeHeight = () => {\n dispatch({ type: SET_WIDGET_HEIGHT, payload: tempHeight });\n };\n\n const handleSelectFontColor = val => {\n dispatch({ type: SET_WIDGET_FONT_COLOR, payload: val });\n };\n\n const handlePanelChange = val => {\n dispatch({ type: SET_BOT_CUSTOMIZER_ACTIVE_PANEL, payload: val });\n };\n\n return {\n handleEditAvatar,\n handleChangeTheme,\n handleChangeHeight,\n handleSelectFontColor,\n setHeight,\n setShowColorPicker,\n setShowAdvanceSettings,\n showColorPicker,\n showAdvanceSettings,\n iconColor,\n color,\n height,\n textColor,\n botName,\n isAppearancePanelSettingsUnchanged,\n launcherAvatar,\n tempHeight,\n handlePanelChange,\n };\n};\n","import styled from 'styled-components';\nimport Modal from 'components/Modals/GenericModal';\n\nexport const StyledPreviewWidgetModal = styled(Modal)`\n width: 60% !important;\n z-index: 200;\n`;\n\nexport const StyledImage = styled.img`\n width: 100%;\n height: 100%;\n`;\n","import {\n StyledPreviewWidgetModal,\n StyledImage,\n} from './PreviewImageModal.style';\nimport useSelector from 'store/useSelector';\nimport {\n imageViewerModalSourceSelector,\n imageViewerModalTitleSelector,\n isImageViewerModalOpenSelector,\n} from 'selectors/bot/ui';\nimport { useContext } from 'react';\nimport { Context } from 'store/store';\nimport { CLOSE_IMAGE_VIEWER_MODAL } from 'store/action';\n\nconst PreviewImageModal = () => {\n const [, dispatch] = useContext(Context);\n const visible = useSelector(isImageViewerModalOpenSelector);\n const title = useSelector(imageViewerModalTitleSelector);\n const imageSource = useSelector(imageViewerModalSourceSelector);\n\n const handleCloseImagePreview = () => {\n dispatch({ type: CLOSE_IMAGE_VIEWER_MODAL });\n };\n\n return (\n \n \n \n );\n};\n\nexport default PreviewImageModal;\n","import PropTypes from 'prop-types';\nimport { Avatar } from 'antd';\nimport { generateIcon } from '../iconUtils';\n\nconst WidgetLogo = ({\n color,\n shape,\n label,\n position,\n avatar,\n iconColor,\n textColor,\n}) => {\n // TODO: use selectors to remove props\n return shape === 'rectangle' ? (\n \n {label}\n \n ) : (\n \n );\n};\n\nWidgetLogo.propTypes = {\n color: PropTypes.any,\n shape: PropTypes.any,\n label: PropTypes.any,\n position: PropTypes.any,\n avatar: PropTypes.any,\n iconColor: PropTypes.any,\n textColor: PropTypes.any,\n};\n\nexport default WidgetLogo;\n","import React from 'react';\nimport { Radio, Upload } from 'antd';\n\nimport {\n StyledFlexLeftColumn,\n StyledSpacEvenlyFlexRow,\n} from 'styles/GenericStyledComponents';\nimport Input from 'components/Input';\nimport {\n StyledAvatar,\n StyledBgUpload,\n StyledBottomLeftPosition,\n StyledBottomRightPosition,\n StyledCurrentBgLabel,\n StyledErrorBottomText,\n StyledImageUploaderWrapper,\n StyledMidRotateBtn,\n StyledPositionBtn,\n StyledPositionBtnTrans,\n StyledPositionCols,\n StyledPositionLabel,\n StyledPositionMidCols,\n StyledRadio,\n StyledRadioLabel,\n StyledRightPosition,\n} from '../../CustomizeBot.style';\nimport PanelActionButtons from '../../PanelActionButtons';\nimport Select from 'components/Select';\nimport { BG_OPTIONS } from '../../constants';\nimport UploadButton from 'components/BotCustomizer/UploadButton/UploadButton';\nimport { generateIcon } from 'components/BotCustomizer/iconUtils';\nimport WidgetLogo from 'components/BotCustomizer/WidgetLogo';\nimport { StyledTempImage } from 'components/BotCustomizer/BotCustomizer.styles';\nimport { usePlacementAndShape } from './hooks';\n\nconst BOT_PANEL_KEY_PREFIX = 'bot-customizer-panel-';\n\nconst PlacementAndShape = () => {\n const {\n handleSelectDemoBackground,\n handleShowUserBgPreview,\n handleSelectLauncherShape,\n handleChangeLauncherPosition,\n handleBlurLabelInput,\n launcherAvatar,\n color,\n iconColor,\n textColor,\n label,\n position,\n background,\n shape,\n setTempLabel,\n isCustomBgSelected,\n isDemoHasCustomBackground,\n isDemoCustomBackgroundInCloud,\n isDemo,\n botName,\n demoCustomBackground,\n isPlacementPanelSettingsUnchanged,\n handlePanelChange,\n handleChangeCustomBg,\n } = usePlacementAndShape();\n\n const renderPreviewImgBackground = () => {\n return (\n
    \n \n Current demo page background\n \n \n \n \"demo\n \n \n
    \n );\n };\n\n return (\n \n \n );\n};\n\nexport default PlacementAndShape;\n","import { useContext, useState } from 'react';\n\nimport { useQuery } from 'pages/useQuery';\nimport { Context } from 'store/store';\nimport useSelector from 'store/useSelector';\nimport {\n currentIntegrationSettingsSettingPropSelector,\n demoCustomBackgroundSelector,\n isDemoCustomBgSelectedSelector,\n isDemoHasCustomBackgroundSelector,\n isDemoIntegrationSelector,\n isPlacementPanelSettingsUnchangedSelector,\n} from 'selectors/bot/integration';\nimport { botNameSelector } from 'selectors/bot';\nimport {\n OPEN_IMAGE_VIEWER_MODAL,\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_DEMO_BACKGROUND,\n SET_LAUNCHER_LABEL,\n SET_LAUNCHER_SHAPE,\n SET_WIDGET_LAUNCHER_POSITION,\n} from 'store/action';\nimport { getBase64 } from 'utils';\nimport {\n isDemoCustomBackgroundInCloudSelector,\n launcherAvatarSelector,\n} from 'selectors/bot/integration/settings';\n\nexport const usePlacementAndShape = () => {\n const query = useQuery();\n const [, dispatch] = useContext(Context);\n\n const settings = useSelector(currentIntegrationSettingsSettingPropSelector);\n const botName = useSelector(botNameSelector);\n const isDemo = useSelector(isDemoIntegrationSelector, query.get('platform'));\n const isDemoHasCustomBackground = useSelector(\n isDemoHasCustomBackgroundSelector\n );\n const isDemoCustomBackgroundInCloud = useSelector(\n isDemoCustomBackgroundInCloudSelector\n );\n const demoCustomBackground = useSelector(demoCustomBackgroundSelector);\n const isPlacementPanelSettingsUnchanged = useSelector(\n isPlacementPanelSettingsUnchangedSelector\n );\n const isCustomBgSelected = useSelector(isDemoCustomBgSelectedSelector);\n const launcherAvatar = useSelector(launcherAvatarSelector);\n\n const { color, iconColor, textColor, label, position, background, shape } =\n settings;\n\n const [tempLabel, setTempLabel] = useState(label);\n\n const handleSelectDemoBackground = val => {\n dispatch({\n type: SET_DEMO_BACKGROUND,\n payload: val,\n });\n };\n\n const handleChangeCustomBg = async ({ file, fileList }) => {\n if (!file.url && !file.preview) {\n file.preview = await getBase64(fileList[0]?.originFileObj);\n }\n\n dispatch({\n type: SET_DEMO_BACKGROUND,\n payload: file,\n });\n };\n\n const handleShowUserBgPreview = () => {\n dispatch({\n type: OPEN_IMAGE_VIEWER_MODAL,\n payload: {\n source: demoCustomBackground,\n title: 'Demo background preview',\n },\n });\n };\n\n const handleSelectLauncherShape = evt => {\n dispatch({ type: SET_LAUNCHER_SHAPE, payload: evt.target.value });\n };\n\n const handleChangeLauncherPosition = val => {\n dispatch({ type: SET_WIDGET_LAUNCHER_POSITION, payload: val });\n };\n\n const handleBlurLabelInput = () => {\n if (tempLabel) {\n dispatch({ type: SET_LAUNCHER_LABEL, payload: tempLabel });\n }\n };\n\n const handlePanelChange = val => {\n dispatch({ type: SET_BOT_CUSTOMIZER_ACTIVE_PANEL, payload: val });\n };\n\n return {\n handleSelectDemoBackground,\n handleShowUserBgPreview,\n handleSelectLauncherShape,\n handleChangeLauncherPosition,\n handleBlurLabelInput,\n launcherAvatar,\n color,\n iconColor,\n textColor,\n label,\n position,\n background,\n shape,\n tempLabel,\n setTempLabel,\n isCustomBgSelected,\n isDemoHasCustomBackground,\n isDemoCustomBackgroundInCloud,\n isDemo,\n botName,\n demoCustomBackground,\n isPlacementPanelSettingsUnchanged,\n handlePanelChange,\n handleChangeCustomBg,\n };\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { DeleteOutlined, PlusOutlined } from '@ant-design/icons';\nimport { Checkbox, Col } from 'antd';\n\nimport Input from 'components/Input';\nimport {\n StyledFormFieldRow,\n StyledFormFieldSubmit,\n StyledLabel,\n} from './CustomizeBot.style';\n\nconst FormBuilder = ({\n tempFormFields,\n onAddFormField,\n onChangeFormFields,\n onDeleteFormRow,\n onBlurFormField,\n}) => {\n return (\n <>\n
    \n {'Form Fields'}\n
    \n {tempFormFields.map((form, idx) => (\n \n \n \n {`Field ${idx + 1}`}\n \n \n onChangeFormFields(e, idx)}\n onBlur={() => onBlurFormField(idx)}\n />\n \n {/* Only allows delete for last form row */}\n \n {idx === tempFormFields.length - 1 && !!idx ? (\n onDeleteFormRow(form.attribute)}\n />\n ) : null}\n \n \n \n {' '}\n \n onChangeFormFields(e, idx, true)}\n >\n {'Required'}\n \n \n \n \n ))}\n }\n size={'medium'}\n onClick={onAddFormField}\n />\n \n );\n};\n\nFormBuilder.propTypes = {\n tempFormFields: PropTypes.array.isRequired,\n onAddFormField: PropTypes.func.isRequired,\n onDeleteFormRow: PropTypes.func.isRequired,\n onChangeFormFields: PropTypes.func.isRequired,\n onBlurFormField: PropTypes.func.isRequired,\n};\n\nexport default FormBuilder;\n","import { useContext, useEffect, useState } from 'react';\nimport { camelCase, isEqual } from 'lodash';\n\nimport { isBotMailConfigEnabledSelector } from 'selectors/bot';\nimport { currentIntegrationSettingsSettingPropSelector } from 'selectors/bot/integration';\nimport useSelector from 'store/useSelector';\nimport { widgetFormFieldsSelectors } from 'selectors/bot/integration/settings';\nimport { Context } from 'store/store';\nimport {\n ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n SET_BOT_CUSTOMIZER_ACTIVE_PANEL,\n SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE,\n SET_INTEGRATION_HANDOFF_LABEL,\n SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE,\n TOGGLE_INTEGRATION_HANDOFF_CALLBACK,\n TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM,\n} from 'store/action';\n\nconst useFeedbackAndHandOff = () => {\n const [, dispatch] = useContext(Context);\n const {\n authenticatedUser,\n callbackEmail,\n cancelledFormMessage,\n displayFormFields,\n handoffLabel,\n submittedFormMessage,\n } = useSelector(currentIntegrationSettingsSettingPropSelector);\n const isSendCallbackLog = useSelector(isBotMailConfigEnabledSelector);\n const widgetFormFields = useSelector(widgetFormFieldsSelectors);\n\n const [tempFormFields, setTempFormFields] = useState(widgetFormFields);\n const [tempLabel, setTempLabel] = useState(handoffLabel);\n const [tempMessageSent, setTempMessageSent] = useState(submittedFormMessage);\n const [tempCancelledMessage, setTempCancelledMessage] =\n useState(cancelledFormMessage);\n\n const handleChangeFormFields = (e, key, checkbox) => {\n const newFormFieldsVal = tempFormFields.map((f, idx) => {\n if (idx === key) {\n if (checkbox && e.target.checked) {\n f.mandatory = true;\n } else if (checkbox && !e?.target?.checked) {\n f.mandatory = false;\n } else if (!checkbox && e?.target?.value) {\n f.attribute = camelCase(e.target.value);\n f.label = e.target.value;\n }\n }\n return f;\n });\n return setTempFormFields(newFormFieldsVal);\n };\n\n const handleAddFormField = () => {\n dispatch({\n type: ADD_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n });\n };\n\n const handleBlurFormField = key => {\n const fieldIndexToChange = tempFormFields.findIndex(\n (f, idx) => Number(idx) === Number(key)\n );\n if (\n fieldIndexToChange &&\n !isEqual(\n widgetFormFields[fieldIndexToChange],\n tempFormFields[fieldIndexToChange]\n )\n ) {\n dispatch({\n type: CHANGE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n payload: {\n ...tempFormFields[fieldIndexToChange],\n key,\n },\n });\n }\n };\n\n useEffect(() => {\n if (!isEqual(tempFormFields, widgetFormFields)) {\n setTempFormFields(widgetFormFields);\n }\n }, [widgetFormFields]);\n\n const handleDeleteFormRow = attr => {\n dispatch({\n type: REMOVE_INTEGRATION_HANDOFF_USER_INFO_FIELD,\n payload: attr,\n });\n };\n\n const handleToggleCallbackEmail = attr => {\n dispatch({\n type: TOGGLE_INTEGRATION_HANDOFF_CALLBACK,\n });\n };\n\n const handleToggleDisplayFormFields = attr => {\n dispatch({\n type: TOGGLE_INTEGRATION_HANDOFF_DISPLAY_FORM,\n });\n };\n\n const handleBlurHandOffFields = key => evt => {\n // Add delay cuz user might have clicked other component\n // other than the expected next input field\n setTimeout(() => {\n switch (key) {\n case 'label':\n // dont fire if no changes made\n if (tempLabel && tempLabel !== handoffLabel) {\n dispatch({\n type: SET_INTEGRATION_HANDOFF_LABEL,\n payload: tempLabel,\n });\n }\n break;\n\n case 'messageSent':\n if (tempMessageSent && tempMessageSent !== submittedFormMessage) {\n dispatch({\n type: SET_INTEGRATION_HANDOFF_SUCCESS_RESPONSE,\n payload: tempMessageSent,\n });\n }\n break;\n\n case 'cancelMessage':\n if (\n tempCancelledMessage &&\n tempCancelledMessage !== cancelledFormMessage\n ) {\n dispatch({\n type: SET_INTEGRATION_HANDOFF_CANCEL_RESPONSE,\n payload: tempCancelledMessage,\n });\n }\n break;\n\n default:\n break;\n }\n }, 50);\n };\n\n const handleChangeHandOffField = key => evt => {\n switch (key) {\n case 'label':\n // dont fire if no changes made\n setTempLabel(evt.target.value);\n break;\n\n case 'messageSent':\n setTempMessageSent(evt.target.value);\n break;\n\n case 'cancelMessage':\n setTempCancelledMessage(evt.target.value);\n break;\n\n default:\n break;\n }\n };\n\n const handlePanelChange = async val => {\n dispatch({ type: SET_BOT_CUSTOMIZER_ACTIVE_PANEL, payload: val });\n };\n\n return {\n authenticatedUser,\n callbackEmail,\n cancelledFormMessage,\n displayFormFields,\n handoffLabel,\n isSendCallbackLog,\n submittedFormMessage,\n tempFormFields,\n handleAddFormField,\n handleBlurFormField,\n handleBlurHandOffFields,\n handleChangeFormFields,\n handleChangeHandOffField,\n handleDeleteFormRow,\n handlePanelChange,\n handleToggleCallbackEmail,\n handleToggleDisplayFormFields,\n };\n};\n\nexport default useFeedbackAndHandOff;\n","import React from 'react';\nimport { Switch } from 'antd';\n\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport Input from 'components/Input';\nimport TextArea from 'components/TextArea';\nimport {\n StyledErrorBottomText,\n StyledSwitchWrapper,\n} from '../../CustomizeBot.style';\nimport FormBuilder from '../../FormBuilder';\nimport useFeedbackAndHandOff from './hooks';\n\nconst FeedbackAndHandOff = props => {\n const {\n authenticatedUser,\n callbackEmail,\n cancelledFormMessage,\n displayFormFields,\n handoffLabel,\n isSendCallbackLog,\n submittedFormMessage,\n tempFormFields,\n handleAddFormField,\n handleBlurFormField,\n handleBlurHandOffFields,\n handleChangeFormFields,\n handleChangeHandOffField,\n handleDeleteFormRow,\n handlePanelChange,\n handleToggleCallbackEmail,\n handleToggleDisplayFormFields,\n } = useFeedbackAndHandOff();\n\n return (\n \n \n {!handoffLabel ? (\n \n Hand-off Label is Required.\n \n ) : null}\n \n\n {!submittedFormMessage ? (\n \n Hand-off Cancelled Response is Required.\n \n ) : null}\n\n \n\n {!cancelledFormMessage ? (\n \n Hand-off Cancelled Response is Required.\n \n ) : null}\n\n {authenticatedUser === true && (\n \n
    \n {'Display Feedback Form'}\n \n
    \n
    \n )}\n {displayFormFields === true && (\n \n \n {isSendCallbackLog && (\n \n
    \n {'Allow Callback Email'}\n \n
    \n
    \n )}\n
    \n )}\n
    \n );\n};\n\nFeedbackAndHandOff.propTypes = {};\n\nexport default FeedbackAndHandOff;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Widget } from 'react-chat-widget';\nimport { Collapse } from 'antd';\nimport {\n DragOutlined,\n FormOutlined,\n HighlightOutlined,\n ToolOutlined,\n} from '@ant-design/icons';\n\nimport Button from 'components/Button';\nimport CodeCopier from 'components/CodeCopier';\nimport useBotCustomizer from '../hooks';\nimport ChatWidgetLauncher from '../ChatWidgetLauncher';\nimport LauncherIconPickerModal from '../LauncherIconPickerModal';\nimport {\n StyledSimulatorWrapper,\n StyledIntegrationSteps,\n StyledCollapsiblePanel,\n StyledCollapsiblePanelHeader,\n StyledActionBtns,\n StyledChatWidgetV2Bot,\n StyledChatBot,\n} from './CustomizeBot.style';\nimport PanelActionButtons from './PanelActionButtons';\nimport useSelector from 'store/useSelector';\nimport 'zsb-widget-v2';\n\nimport {\n currentIntegrationSettingsSettingPropSelector,\n shouldShowWidgetV1Selector,\n shouldShowWidgetV2Selector,\n} from 'selectors/bot/integration';\nimport SearchCustomizer from './SearchCustomizer';\nimport WidgetVersion from './WidgetVersion';\nimport { StyledFlexLeftColumn } from 'styles/GenericStyledComponents';\nimport ConfigPanel from './AccordionPanels/ConfigPanel';\nimport AppearancePanel from './AccordionPanels/AppearancePanel';\nimport { BOT_PANEL_KEY_PREFIX } from 'constants/botCustomizer';\nimport PreviewImageModal from '../PreviewImageModal';\nimport PlacementAndShape from './AccordionPanels/PlacementAndShape';\nimport FeedbackAndHandOff from './AccordionPanels/FeedbackAndHandOff';\n\nconst CustomizeBot = ({\n handlePanelChange,\n onSave,\n onUpdate,\n setBotComponent,\n}) => {\n // TODO: create separate hook for CustomizeBot component\n // to remove rerendering of \n // that causes form fields to be empty\n const shouldShowWidgetV2 = useSelector(shouldShowWidgetV2Selector);\n const shouldShowWidgetV1 = useSelector(shouldShowWidgetV1Selector);\n const currentIntegrationSettingsObject = useSelector(\n currentIntegrationSettingsSettingPropSelector\n );\n\n const {\n demoLink,\n getButtonValue,\n handleChangeFields,\n handleNewUserMessage,\n handleSubmitCustomizeBot,\n isDemo,\n isMobileIntegration,\n loading,\n isAvatarPickerModalOpen,\n headerAvatar,\n launcherAvatar,\n widgetThemeColor,\n avatarPosition,\n encryptedBot,\n handleChangeCustomizerActivePanel,\n customizerActivePanel,\n defaultReplyBubbleColor,\n } = useBotCustomizer({\n onSave,\n onUpdate,\n setBotComponent,\n });\n\n const {\n botTitle,\n color,\n placeholder,\n subtitle,\n textColor,\n bubbleColor,\n replyBubbleGradient,\n fontSize,\n type,\n height,\n responseAvatarType,\n headerAvatarType,\n } = currentIntegrationSettingsObject;\n\n return (\n \n \n
    \n {isDemo && (\n \n

    \n Bot Widget Styling \n

    \n \n
    \n )}\n {shouldShowWidgetV2 && type === 'search' ? (\n \n ) : (\n <>\n \n \n
    \n \n
    \n \n Bot Panel Config\n

    {`Set your bot’s name and default welcome message.`}

    \n
    \n \n }\n >\n \n \n \n
    \n \n
    \n \n Bot Appearance\n

    Customize your Bot’s look, feel and brand.

    \n
    \n \n }\n key={`${BOT_PANEL_KEY_PREFIX}2`}\n botAppearance={true}\n >\n \n {isAvatarPickerModalOpen ? : null}\n \n