{"version":3,"sources":["webpack:///./src/components/misc/BreadCrumb.vue","webpack:///src/components/misc/BreadCrumb.vue","webpack:///./src/components/misc/BreadCrumb.vue?9896","webpack:///./src/components/misc/BreadCrumb.vue?7e7c","webpack:///./src/components/LawBot.vue?c0f0","webpack:///./src/assets/copilot/chat.png","webpack:///./src/assets/copilot/file.png","webpack:///./src/assets/copilot/Vector.svg","webpack:///./src/components/LawBot.vue?1956","webpack:///./src/components/LawBot.vue?d467","webpack:///./src/components/LawBot.vue","webpack:///src/components/LawBot.vue","webpack:///./src/components/LawBot.vue?c077","webpack:///./src/components/LawBot.vue?1679","webpack:///./src/components/LawBot.vue?b14d","webpack:///./src/components/LawBot.vue?4916","webpack:///./src/components/misc/BreadCrumb.vue?3ac3","webpack:///./src/components/LawBot.vue?9c48"],"names":["render","_vm$subtitle","_vm","this","_c","_self","attrs","subtitle","staticClass","_v","_s","icon","title","_e","class","_t","staticRenderFns","props","type","String","component","module","exports","on","toggleSidebar","_m","expertmode","isSidebarVisible","directives","name","rawName","value","expression","chatMessages","length","staticStyle","fileImg","messagesToday","_l","message","idx","key","truncateText","text","$event","$bvModal","hide","deleteMessage","campaign","messagesYesterday","messagesLast7Days","ref","class_1","class_3","domProps","marked","parse","copyAnswer","regenerateAnswer","loadAnswer","chat","toggleQuestionsFalse","scopedSlots","_u","fn","toggleQuestions","showQuestions","proxy","default_questions","slice","question","index","displayed","chooseMessage","NewText","indexOf","_k","keyCode","sendNewMessage","apply","arguments","target","composing","id","Number","required","Boolean","default","Array","components","data","star","showModal","files","trial_file","history","options","label","created","computed","filteredMessages","filter","_","today","Date","msgDate","dateCreated","toDateString","yesterday","setDate","getDate","diffTime","diffDays","methods","navigator","clipboard","writeText","$toast","success","$emit","div","document","getElementById","scrollTop","scrollHeight","$nextTick","messageDisplay","$refs","messages1","expertMode","warning","splice","maxLength","substring","questionDropdown","error","scrollToBottom","chatContainer"],"mappings":"kHAAA,IAAIA,EAAS,WAAiB,IAAAC,EAAKC,EAAI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A,W,qJCAA,W,kCCAA","file":"js/chunk-2f35619c.b8bb31f7.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"Header\"}},[_c('div',[(!_vm.subtitle)?_c('h3',[_vm._v(_vm._s(_vm.title))]):[_c('span',{staticClass:\"material-symbols-rounded main\"},[_vm._v(_vm._s(_vm.icon))]),_c('h3',[_vm._v(_vm._s(_vm.title))])],(_vm.subtitle)?_c('span',{staticClass:\"divider\"}):_vm._e(),(!_vm.subtitle)?_c('span',{staticClass:\"material-symbols-rounded sub\"},[_vm._v(_vm._s(_vm.icon))]):_vm._e(),_c('p',{class:_vm.subtitle && 'black'},[_vm._v(_vm._s(_vm.subtitle ?? _vm.title))])],2),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div id=\"Header\">\r\n <div>\r\n <h3 v-if=\"!subtitle\">{{ title }}</h3>\r\n <template v-else>\r\n <span class=\"material-symbols-rounded main\">{{ icon }}</span>\r\n <h3>{{ title }}</h3>\r\n </template>\r\n\r\n <span v-if=\"subtitle\" class=\"divider\"></span>\r\n <span v-if=\"!subtitle\" class=\"material-symbols-rounded sub\">{{ icon }}</span>\r\n <p :class=\"subtitle && 'black'\">{{ subtitle ?? title }}</p>\r\n </div>\r\n <slot></slot>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n props: {\r\n title: { type: String },\r\n subtitle: { type: String },\r\n icon: { type: String },\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\nh3, h5, p {\r\n margin-bottom: 0px;\r\n}\r\n\r\nspan.main {\r\n margin-right: 2px;\r\n font-size: 24px;\r\n}\r\n\r\n#Header {\r\n margin: -20px -20px 0px -20px;\r\n padding: 16px 20px;\r\n height: 72px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n & > div {\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n & button {\r\n margin-left: 50px;\r\n }\r\n}\r\n\r\n.divider {\r\n display: inline-block;\r\n margin: 0px 16px;\r\n width: 1px;\r\n height: 32px;\r\n background-color: var(--mid-grey);\r\n}\r\n\r\nspan.sub {\r\n margin-right: 2px;\r\n font-size: 18px;\r\n color: var(--dark-grey);\r\n}\r\n\r\np {\r\n font-weight: 500;\r\n color: var(--dark-grey) !important;\r\n}\r\n\r\n.black {\r\n color: var(--dark-grey) !important;\r\n}\r\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BreadCrumb.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BreadCrumb.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BreadCrumb.vue?vue&type=template&id=9da42f32&scoped=true\"\nimport script from \"./BreadCrumb.vue?vue&type=script&lang=js\"\nexport * from \"./BreadCrumb.vue?vue&type=script&lang=js\"\nimport style0 from \"./BreadCrumb.vue?vue&type=style&index=0&id=9da42f32&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9da42f32\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=0&id=2edda6e7&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/chat.ec32caae.png\";","module.exports = __webpack_public_path__ + \"img/file.1ab5b4a7.png\";","module.exports = __webpack_public_path__ + \"img/Vector.15e09b81.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=4&id=2edda6e7&prod&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=1&id=2edda6e7&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"sidebar\",on:{\"click\":_vm.toggleSidebar}},[_vm._m(0)]),(!_vm.expertmode)?_c('transition',{attrs:{\"name\":\"slide\"}},[(_vm.isSidebarVisible)?_c('div',{directives:[{name:\"clickaway\",rawName:\"v-clickaway\",value:(_vm.toggleSidebar),expression:\"toggleSidebar\"}],staticClass:\"normal\"},[_c('div',{staticClass:\"d-flex justify-content-between top_bar\"},[_c('div',{staticClass:\"d-flex align-items-center lb_left\"},[_c('span',{staticClass:\"material-symbols-rounded\"},[_vm._v(\"smart_toy\")]),_c('p',[_vm._v(\"LawBot\")])]),_c('div')]),_c('div',{staticClass:\"main-content\"},[_c('div',{staticClass:\"left_side\"},[_c('div',{staticClass:\"d-flex justify-content-between ls\"},[_c('p',[_vm._v(\"Recent Conversations\")]),_c('span',{staticClass:\"material-symbols-rounded\"},[_vm._v(\"border_color\")])]),(_vm.chatMessages.length === 0)?_c('div',{staticClass:\"chat-placeholder\"},[_c('img',{staticStyle:{\"width\":\"80px\",\"height\":\"80px\"},attrs:{\"src\":_vm.fileImg,\"alt\":\"\"}}),_c('p',[_vm._v(\" Chat history will show up here once you start a conversation. \")])]):_c('div',{staticClass:\"recent-conversations pb-5\"},[(_vm.messagesToday.length > 0)?_c('div',{staticClass:\"mb-3\"},[_c('p',{staticClass:\"history-text\"},[_vm._v(\"Today\")]),_vm._l((_vm.messagesToday),function(message,idx){return _c('div',{key:idx,staticClass:\"message-item\"},[_c('div',{staticClass:\"message-header\"},[_c('p',[_vm._v(_vm._s(_vm.truncateText(message.text, 27)))]),_c('b-modal',{attrs:{\"id\":`alert-modal-${idx}`,\"custom-class\":\"delete-modal\",\"hide-header\":\"\",\"hide-footer\":\"\",\"centered\":\"\"}},[_c('div',{staticClass:\"delete-prompt\"},[_c('p',[_c('b',[_vm._v(\"Are you sure you want to delete this conversation?\")]),_c('br')]),_c('p',{staticClass:\"bg\"},[_vm._v(\"This action cannot be undone.\")])]),_c('div',{staticClass:\"delete-prompt-options\"},[_c('button',{staticClass:\"btn-outlined\",on:{\"click\":function($event){return _vm.$bvModal.hide(`alert-modal-${idx}`)}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"btn-danger\",on:{\"click\":function($event){return _vm.deleteMessage(idx)}}},[_vm._v(\" Delete \")])])])],1),_c('div',{staticClass:\"message-subheader\"},[_c('p',[_vm._v(\"From \"+_vm._s(_vm.campaign))])])])})],2):_vm._e(),(_vm.messagesYesterday.length > 0)?_c('div',{staticClass:\"mb-3\"},[_c('p',{staticClass:\"history-text\"},[_vm._v(\"Yesterday\")]),_vm._l((_vm.messagesYesterday),function(message,idx){return _c('div',{key:idx,staticClass:\"message-item\"},[_c('div',{staticClass:\"message-header\"},[_c('p',[_vm._v(_vm._s(_vm.truncateText(message.text, 27)))]),_c('b-modal',{attrs:{\"id\":`alert-modal-${idx}`,\"custom-class\":\"delete-modal\",\"hide-header\":\"\",\"hide-footer\":\"\",\"centered\":\"\"}},[_c('div',{staticClass:\"delete-prompt\"},[_c('p',[_c('b',[_vm._v(\"Are you sure you want to delete this conversation?\")]),_c('br')]),_c('p',{staticClass:\"bg\"},[_vm._v(\"This action cannot be undone.\")])]),_c('div',{staticClass:\"delete-prompt-options\"},[_c('button',{staticClass:\"btn-outlined\",on:{\"click\":function($event){return _vm.$bvModal.hide(`alert-modal-${idx}`)}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"btn-danger\",on:{\"click\":function($event){return _vm.deleteMessage(idx)}}},[_vm._v(\" Delete \")])])])],1),_c('div',{staticClass:\"message-subheader\"},[_c('p',[_vm._v(\"From \"+_vm._s(_vm.campaign))])])])})],2):_vm._e(),(_vm.messagesLast7Days.length > 0)?_c('div',{staticClass:\"mb-5\"},[_c('p',{staticClass:\"history-text\"},[_vm._v(\"Previous 7 Days\")]),_vm._l((_vm.messagesLast7Days),function(message,idx){return _c('div',{key:idx,staticClass:\"message-item\"},[_c('div',{staticClass:\"message-header\"},[_c('p',[_vm._v(_vm._s(_vm.truncateText(message.text, 27)))]),_c('b-modal',{attrs:{\"id\":`alert-modal-${idx}`,\"custom-class\":\"delete-modal\",\"hide-header\":\"\",\"hide-footer\":\"\",\"centered\":\"\"}},[_c('div',{staticClass:\"delete-prompt\"},[_c('p',[_c('b',[_vm._v(\"Are you sure you want to delete this conversation?\")]),_c('br')]),_c('p',{staticClass:\"bg\"},[_vm._v(\"This action cannot be undone.\")])]),_c('div',{staticClass:\"delete-prompt-options\"},[_c('button',{staticClass:\"btn-outlined\",on:{\"click\":function($event){return _vm.$bvModal.hide(`alert-modal-${idx}`)}}},[_vm._v(\" Cancel \")]),_c('button',{staticClass:\"btn-danger\",on:{\"click\":function($event){return _vm.deleteMessage(idx)}}},[_vm._v(\" Delete \")])])])],1),_c('div',{staticClass:\"message-subheader\"},[_c('p',[_vm._v(\"From \"+_vm._s(_vm.campaign))])])])})],2):_vm._e()])]),_c('button',{staticClass:\"collapse-btns\",on:{\"click\":_vm.toggleSidebar}},[_c('span',{staticClass:\"material-symbols-rounded\"},[_vm._v(\"keyboard_double_arrow_right\")])]),_c('div',{staticClass:\"content-area\"},[_c('div',{staticClass:\"card border-0\",staticStyle:{\"overflow-y\":\"auto\",\"height\":\"100%\"}},[(!_vm.chatMessages.length)?_c('div',{staticClass:\"no-questions\"},[_c('img',{staticStyle:{\"width\":\"180px\",\"height\":\"180px\"},attrs:{\"src\":_vm.chat,\"alt\":\"\"}}),_c('p',[_vm._v(\"No questions asked yet!\")]),_c('p',[_vm._v(\"Start by selecting a sample question to begin.\")])]):_c('div',{ref:\"messages1\",staticClass:\"chat__box\",attrs:{\"id\":\"messages\"}},[_vm._l((_vm.chatMessages),function(message,idx){return _c('div',{key:idx,class:message.class_1},[_c('div',{staticClass:\"d-flex align-items-start ms-3 me-2\"},[(idx % 2 !== 0)?_c('span',{staticClass:\"material-symbols-rounded st_icon\"},[_vm._v(\"smart_toy\")]):_vm._e(),_c('div',{class:message.class_1},[_c('div',{class:message.class_3},[(message.text)?_c('article',{staticStyle:{\"text-align\":\"start\"},attrs:{\"id\":\"response\"},domProps:{\"innerHTML\":_vm._s(_vm.marked.parse(message.text))}}):_vm._e(),(message.class_1 === 'chat__incoming')?_c('div',{staticClass:\"d-flex justify-content-start\"},[_c('button',{staticClass:\"icon-button\",on:{\"click\":function($event){return _vm.copyAnswer(message.text)}}},[_c('img',{attrs:{\"loading\":\"lazy\",\"src\":\"https://cdn.builder.io/api/v1/image/assets/072fca6f880e47769db5f7634dd8a8c6/9362a8923d32ca8bc5c04a2b7240493a0b95be121fbf3951ec46c906c790bfd2?apiKey=072fca6f880e47769db5f7634dd8a8c6&\"}})]),_c('button',{staticClass:\"icon-button\",on:{\"click\":function($event){return _vm.regenerateAnswer(_vm.chatMessages, idx)}}},[_c('img',{attrs:{\"loading\":\"lazy\",\"src\":\"https://cdn.builder.io/api/v1/image/assets/072fca6f880e47769db5f7634dd8a8c6/eae4d16b1ac11d42038051a950c3e42d5b06c6a5a93ae7facbb44db102a392ba?apiKey=072fca6f880e47769db5f7634dd8a8c6&\"}})])]):_vm._e()])])])])}),(_vm.loadAnswer)?_c('div',{staticClass:\"chat__incoming ms-3\"},[_c('div',{staticClass:\"d-flex align-items-start\"},[_c('span',{staticClass:\"material-symbols-rounded st_icon\",staticStyle:{\"color\":\"white\"}},[_vm._v(\"smart_toy\")]),_c('div',{staticClass:\"chat__bubble__wrapper-incoming\"},[_c('div',{staticClass:\"chat__bubble-incoming animated-background-incoming\"},[_c('b-spinner',{staticClass:\"ms-1 me-2\",staticStyle:{\"width\":\"1.2rem\",\"height\":\"1.2rem\",\"border-width\":\"0.125rem\"},attrs:{\"variant\":\"primary\",\"label\":\"Nexa Thinking\"}}),_c('span',[_vm._v(\"Lawbot is thinking... \")])],1)])])]):_vm._e()],2),_c('div',{staticClass:\"d-flex justify-content-start m-3\"},[_c('b-dropdown',{ref:\"questionDropdown\",attrs:{\"size\":\"lg\",\"variant\":\"link\",\"toggle-class\":\"text-decoration-none p-0\",\"no-caret\":\"\"},on:{\"hide\":_vm.toggleQuestionsFalse},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('div',{on:{\"click\":_vm.toggleQuestions}},[_c('button',{staticClass:\"sample-questions-btn\"},[_c('span',{staticClass:\"dot\"}),_c('span',{staticStyle:{\"color\":\"#1890ff\"}},[_vm._v(\"Sample questions\")]),_c('span',{staticClass:\"material-symbols-rounded\",staticStyle:{\"color\":\"#1890ff\"}},[_vm._v(\" \"+_vm._s(_vm.showQuestions ? \"keyboard_arrow_down\" : \"keyboard_arrow_up\")+\" \")])])])]},proxy:true}],null,false,3549327724)},[_c('div',{staticStyle:{\"width\":\"278px\",\"padding\":\"8px\"}},_vm._l((_vm.default_questions.slice(0, 2)),function(question,index){return _c('button',{key:index,staticClass:\"prompt_css\",attrs:{\"disabled\":_vm.loadAnswer || question.displayed},on:{\"click\":function($event){return _vm.chooseMessage(question, index)}}},[_vm._v(\" \"+_vm._s(question.text)+\" \")])}),0)])],1),_c('div',{staticClass:\"sample-questions-container\",attrs:{\"id\":\"prompts\"},on:{\"click\":_vm.toggleQuestions}}),_c('b-tooltip',{attrs:{\"target\":\"prompts\",\"triggers\":\"click\",\"placement\":\"top\",\"custom-class\":\"DROPDOWN-MENU\"}},[_c('div',_vm._l((_vm.default_questions.slice(0, 2)),function(question,index){return _c('button',{key:index,staticClass:\"prompt_css\",attrs:{\"disabled\":_vm.loadAnswer || question.displayed},on:{\"click\":function($event){return _vm.chooseMessage(question, index)}}},[_vm._v(\" \"+_vm._s(question.text)+\" \")])}),0)]),_c('div',{staticClass:\"input-container\"},[_c('input',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.NewText.length > 0),expression:\"NewText.length > 0\"},{name:\"model\",rawName:\"v-model\",value:(_vm.NewText),expression:\"NewText\"}],staticClass:\"input-field\",attrs:{\"type\":\"text\",\"disabled\":_vm.loadAnswer,\"placeholder\":\"Ask LawBot\"},domProps:{\"value\":(_vm.NewText)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.sendNewMessage.apply(null, arguments)},\"input\":function($event){if($event.target.composing)return;_vm.NewText=$event.target.value}}}),_c('span',{staticClass:\"material-symbols-rounded nr_send\",on:{\"click\":_vm.sendNewMessage}},[_vm._v(\"send\")])])],1)])])]):_vm._e()]):_vm._e()],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"top-icon\"},[_c('span',[_vm._v(\"Follow Up Questions\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\r\n <!-- LawBot SideBar -->\r\n <div>\r\n <div class=\"sidebar\" @click=\"toggleSidebar\">\r\n <div class=\"top-icon\">\r\n <span>Follow Up Questions</span>\r\n </div>\r\n </div>\r\n\r\n <!-- Normal Mode -->\r\n <transition name=\"slide\" v-if=\"!expertmode\">\r\n <div v-if=\"isSidebarVisible\" class=\"normal\" v-clickaway=\"toggleSidebar\">\r\n <div class=\"d-flex justify-content-between top_bar\">\r\n <div class=\"d-flex align-items-center lb_left\">\r\n <span class=\"material-symbols-rounded\">smart_toy</span>\r\n <p>LawBot</p>\r\n </div>\r\n <div></div>\r\n </div>\r\n\r\n <!-- {{ chatMessages }} -->\r\n\r\n <div class=\"main-content\">\r\n <!-- left side -->\r\n <div class=\"left_side\">\r\n <div class=\"d-flex justify-content-between ls\">\r\n <p>Recent Conversations</p>\r\n <span class=\"material-symbols-rounded\">border_color</span>\r\n </div>\r\n <div v-if=\"chatMessages.length === 0\" class=\"chat-placeholder\">\r\n <img :src=\"fileImg\" alt=\"\" style=\"width: 80px; height: 80px\" />\r\n <p>\r\n Chat history will show up here once you start a conversation.\r\n </p>\r\n </div>\r\n <div v-else class=\"recent-conversations pb-5\">\r\n <!-- RESET TO DEFAULT FOR DEBUG -->\r\n <div v-if=\"messagesToday.length > 0\" class=\"mb-3\">\r\n <p class=\"history-text\">Today</p>\r\n <div\r\n v-for=\"(message, idx) in messagesToday\"\r\n :key=\"idx\"\r\n class=\"message-item\"\r\n >\r\n <div class=\"message-header\">\r\n <p>{{ truncateText(message.text, 27) }}</p>\r\n\r\n <!-- <span\r\n class=\"material-symbols-rounded delete-icon\"\r\n @click=\"$bvModal.show(`alert-modal-${idx}`)\"\r\n >delete</span\r\n > -->\r\n <b-modal\r\n :id=\"`alert-modal-${idx}`\"\r\n custom-class=\"delete-modal\"\r\n hide-header\r\n hide-footer\r\n centered\r\n >\r\n <div class=\"delete-prompt\">\r\n <p>\r\n <b\r\n >Are you sure you want to delete this\r\n conversation?</b\r\n ><br />\r\n </p>\r\n <p class=\"bg\">This action cannot be undone.</p>\r\n </div>\r\n <div class=\"delete-prompt-options\">\r\n <button\r\n class=\"btn-outlined\"\r\n @click=\"$bvModal.hide(`alert-modal-${idx}`)\"\r\n >\r\n Cancel\r\n </button>\r\n <button class=\"btn-danger\" @click=\"deleteMessage(idx)\">\r\n Delete\r\n </button>\r\n </div>\r\n </b-modal>\r\n </div>\r\n <div class=\"message-subheader\">\r\n <p>From {{ campaign }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Disable for Debug -->\r\n <div v-if=\"messagesYesterday.length > 0\" class=\"mb-3\">\r\n <p class=\"history-text\">Yesterday</p>\r\n <div\r\n v-for=\"(message, idx) in messagesYesterday\"\r\n :key=\"idx\"\r\n class=\"message-item\"\r\n >\r\n <div class=\"message-header\">\r\n <p>{{ truncateText(message.text, 27) }}</p>\r\n\r\n <b-modal\r\n :id=\"`alert-modal-${idx}`\"\r\n custom-class=\"delete-modal\"\r\n hide-header\r\n hide-footer\r\n centered\r\n >\r\n <div class=\"delete-prompt\">\r\n <p>\r\n <b\r\n >Are you sure you want to delete this\r\n conversation?</b\r\n ><br />\r\n </p>\r\n <p class=\"bg\">This action cannot be undone.</p>\r\n </div>\r\n <div class=\"delete-prompt-options\">\r\n <button\r\n class=\"btn-outlined\"\r\n @click=\"$bvModal.hide(`alert-modal-${idx}`)\"\r\n >\r\n Cancel\r\n </button>\r\n <button class=\"btn-danger\" @click=\"deleteMessage(idx)\">\r\n Delete\r\n </button>\r\n </div>\r\n </b-modal>\r\n </div>\r\n <div class=\"message-subheader\">\r\n <p>From {{ campaign }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div v-if=\"messagesLast7Days.length > 0\" class=\"mb-5\">\r\n <p class=\"history-text\">Previous 7 Days</p>\r\n <div\r\n v-for=\"(message, idx) in messagesLast7Days\"\r\n :key=\"idx\"\r\n class=\"message-item\"\r\n >\r\n <div class=\"message-header\">\r\n <p>{{ truncateText(message.text, 27) }}</p>\r\n\r\n <b-modal\r\n :id=\"`alert-modal-${idx}`\"\r\n custom-class=\"delete-modal\"\r\n hide-header\r\n hide-footer\r\n centered\r\n >\r\n <div class=\"delete-prompt\">\r\n <p>\r\n <b\r\n >Are you sure you want to delete this\r\n conversation?</b\r\n ><br />\r\n </p>\r\n <p class=\"bg\">This action cannot be undone.</p>\r\n </div>\r\n <div class=\"delete-prompt-options\">\r\n <button\r\n class=\"btn-outlined\"\r\n @click=\"$bvModal.hide(`alert-modal-${idx}`)\"\r\n >\r\n Cancel\r\n </button>\r\n <button class=\"btn-danger\" @click=\"deleteMessage(idx)\">\r\n Delete\r\n </button>\r\n </div>\r\n </b-modal>\r\n </div>\r\n <div class=\"message-subheader\">\r\n <p>From {{ campaign }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <button class=\"collapse-btns\" @click=\"toggleSidebar\">\r\n <span class=\"material-symbols-rounded\"\r\n >keyboard_double_arrow_right</span\r\n >\r\n </button>\r\n <!-- right side -->\r\n <div class=\"content-area\">\r\n <div class=\"card border-0\" style=\"overflow-y: auto; height: 100%\">\r\n <div class=\"no-questions\" v-if=\"!chatMessages.length\">\r\n <img :src=\"chat\" alt=\"\" style=\"width: 180px; height: 180px\" />\r\n <p>No questions asked yet!</p>\r\n <p>Start by selecting a sample question to begin.</p>\r\n </div>\r\n <div v-else class=\"chat__box\" id=\"messages\" ref=\"messages1\">\r\n <!-- Incoming Chat box -->\r\n\r\n <div\r\n v-for=\"(message, idx) in chatMessages\"\r\n :key=\"idx\"\r\n :class=\"message.class_1\"\r\n >\r\n <div class=\"d-flex align-items-start ms-3 me-2\">\r\n <span\r\n v-if=\"idx % 2 !== 0\"\r\n class=\"material-symbols-rounded st_icon\"\r\n >smart_toy</span\r\n >\r\n <div :class=\"message.class_1\">\r\n <div :class=\"message.class_3\">\r\n <article\r\n style=\"text-align: start\"\r\n id=\"response\"\r\n v-if=\"message.text\"\r\n v-html=\"marked.parse(message.text)\"\r\n ></article>\r\n <!-- Copy and Regenerate Button -->\r\n <div\r\n v-if=\"message.class_1 === 'chat__incoming'\"\r\n class=\"d-flex justify-content-start\"\r\n >\r\n <button\r\n class=\"icon-button\"\r\n @click=\"copyAnswer(message.text)\"\r\n >\r\n <img\r\n loading=\"lazy\"\r\n src=\"https://cdn.builder.io/api/v1/image/assets/072fca6f880e47769db5f7634dd8a8c6/9362a8923d32ca8bc5c04a2b7240493a0b95be121fbf3951ec46c906c790bfd2?apiKey=072fca6f880e47769db5f7634dd8a8c6&\"\r\n />\r\n </button>\r\n <button\r\n class=\"icon-button\"\r\n @click=\"regenerateAnswer(chatMessages, idx)\"\r\n >\r\n <img\r\n loading=\"lazy\"\r\n src=\"https://cdn.builder.io/api/v1/image/assets/072fca6f880e47769db5f7634dd8a8c6/eae4d16b1ac11d42038051a950c3e42d5b06c6a5a93ae7facbb44db102a392ba?apiKey=072fca6f880e47769db5f7634dd8a8c6&\"\r\n />\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Outgoing chat box -->\r\n <div class=\"chat__incoming ms-3\" v-if=\"loadAnswer\">\r\n <div class=\"d-flex align-items-start\">\r\n <span\r\n class=\"material-symbols-rounded st_icon\"\r\n style=\"color: white\"\r\n >smart_toy</span\r\n >\r\n <div class=\"chat__bubble__wrapper-incoming\">\r\n <div\r\n class=\"chat__bubble-incoming animated-background-incoming\"\r\n >\r\n <b-spinner\r\n class=\"ms-1 me-2\"\r\n variant=\"primary\"\r\n label=\"Nexa Thinking\"\r\n style=\"\r\n width: 1.2rem;\r\n height: 1.2rem;\r\n border-width: 0.125rem;\r\n \"\r\n ></b-spinner>\r\n <span>Lawbot is thinking... </span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-start m-3\">\r\n <b-dropdown\r\n ref=\"questionDropdown\"\r\n @hide=\"toggleQuestionsFalse\"\r\n size=\"lg\"\r\n variant=\"link\"\r\n toggle-class=\"text-decoration-none p-0\"\r\n no-caret\r\n >\r\n <template #button-content>\r\n <div @click=\"toggleQuestions\">\r\n <button class=\"sample-questions-btn\">\r\n <span class=\"dot\"></span>\r\n <span style=\"color: #1890ff\">Sample questions</span>\r\n <span\r\n style=\"color: #1890ff\"\r\n class=\"material-symbols-rounded\"\r\n >\r\n {{\r\n showQuestions\r\n ? \"keyboard_arrow_down\"\r\n : \"keyboard_arrow_up\"\r\n }}\r\n </span>\r\n </button>\r\n </div>\r\n </template>\r\n <div style=\"width: 278px; padding: 8px\">\r\n <button\r\n v-for=\"(question, index) in default_questions.slice(0, 2)\"\r\n :key=\"index\"\r\n @click=\"chooseMessage(question, index)\"\r\n :disabled=\"loadAnswer || question.displayed\"\r\n class=\"prompt_css\"\r\n >\r\n {{ question.text }}\r\n </button>\r\n </div>\r\n </b-dropdown>\r\n </div>\r\n\r\n <!-- Sample Questions Section -->\r\n <div\r\n class=\"sample-questions-container\"\r\n @click=\"toggleQuestions\"\r\n id=\"prompts\"\r\n ></div>\r\n <b-tooltip\r\n target=\"prompts\"\r\n triggers=\"click\"\r\n placement=\"top\"\r\n custom-class=\"DROPDOWN-MENU\"\r\n >\r\n <div>\r\n <button\r\n v-for=\"(question, index) in default_questions.slice(0, 2)\"\r\n :key=\"index\"\r\n @click=\"chooseMessage(question, index)\"\r\n :disabled=\"loadAnswer || question.displayed\"\r\n class=\"prompt_css\"\r\n >\r\n {{ question.text }}\r\n </button>\r\n </div>\r\n </b-tooltip>\r\n\r\n <!-- Input Container -->\r\n <div class=\"input-container\">\r\n <input\r\n type=\"text\"\r\n v-show=\"NewText.length > 0\"\r\n :disabled=\"loadAnswer\"\r\n placeholder=\"Ask LawBot\"\r\n class=\"input-field\"\r\n v-model=\"NewText\"\r\n @keyup.enter=\"sendNewMessage\"\r\n />\r\n <span\r\n class=\"material-symbols-rounded nr_send\"\r\n @click=\"sendNewMessage\"\r\n >send</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </transition>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport fileImg from \"../assets/copilot/file.png\";\r\nimport chat from \"../assets/copilot/chat.png\";\r\nimport star from \"../assets/copilot/Vector.svg\";\r\nimport marked from \"marked\";\r\n\r\nexport default {\r\n props: {\r\n id: {\r\n type: Number,\r\n required: true,\r\n },\r\n loadAnswer: {\r\n type: Boolean,\r\n required: true,\r\n default: false,\r\n },\r\n campaign: {\r\n type: String,\r\n required: true,\r\n },\r\n chatMessages: {\r\n type: Array,\r\n required: true,\r\n },\r\n default_questions: {\r\n type: Array,\r\n required: true,\r\n },\r\n },\r\n components: {},\r\n data() {\r\n return {\r\n isSidebarVisible: false,\r\n fileImg,\r\n chat,\r\n star,\r\n expertmode: false,\r\n showModal: false,\r\n files: [],\r\n trial_file: [],\r\n NewText: \"\",\r\n showQuestions: false,\r\n history: [],\r\n\r\n options: [\r\n {\r\n icon: \"folder_open\",\r\n label: \"View Files\",\r\n },\r\n {\r\n icon: \"archive\",\r\n label: \"Archive\",\r\n },\r\n {\r\n icon: \"delete\",\r\n label: \"Delete\",\r\n },\r\n ],\r\n };\r\n },\r\n created() {\r\n this.marked = marked;\r\n },\r\n\r\n computed: {\r\n filteredMessages() {\r\n return this.chatMessages.filter((_, idx) => idx % 2 === 0);\r\n },\r\n messagesToday() {\r\n return this.filteredMessages.filter((message) => {\r\n const today = new Date();\r\n const msgDate = new Date(message.dateCreated);\r\n return (\r\n msgDate.toDateString() === today.toDateString() // Match today's date\r\n );\r\n });\r\n },\r\n messagesYesterday() {\r\n return this.filteredMessages.filter((message) => {\r\n const today = new Date();\r\n const yesterday = new Date(today);\r\n yesterday.setDate(today.getDate() - 1); // Subtract 1 day\r\n const msgDate = new Date(message.dateCreated);\r\n return msgDate.toDateString() === yesterday.toDateString();\r\n });\r\n },\r\n messagesLast7Days() {\r\n return this.filteredMessages.filter((message) => {\r\n const today = new Date();\r\n const msgDate = new Date(message.dateCreated);\r\n\r\n const diffTime = today - msgDate; // Time difference in milliseconds\r\n const diffDays = diffTime / (1000 * 60 * 60 * 24); // Convert to days\r\n\r\n return diffDays > 1 && diffDays <= 7; // Between 2 and 7 days old\r\n });\r\n },\r\n },\r\n methods: {\r\n copyAnswer(text) {\r\n navigator.clipboard.writeText(text);\r\n this.$toast.success(\"Answer copied to clipboard.\");\r\n },\r\n regenerateAnswer(message, index) {\r\n this.$emit(\"regenerate-answer\", message, index);\r\n\r\n var div = document.getElementById(\"messages\");\r\n div.scrollTop = div.scrollHeight;\r\n\r\n this.$nextTick(() => {\r\n var messageDisplay = this.$refs.messages1;\r\n messageDisplay.scrollTop = messageDisplay.scrollHeight;\r\n });\r\n },\r\n toggleSidebar() {\r\n this.isSidebarVisible = !this.isSidebarVisible;\r\n },\r\n expertMode() {\r\n this.expertmode = true;\r\n },\r\n toggleQuestions() {\r\n if (this.default_questions.length < 2) {\r\n this.toggleQuestionsFalse();\r\n this.$toast.warning(\"No more questions available.\");\r\n return;\r\n }\r\n this.showQuestions = !this.showQuestions; // Toggle the display of questions\r\n },\r\n toggleQuestionsFalse() {\r\n this.showQuestions = false;\r\n },\r\n deleteMessage(idx) {\r\n this.filteredMessages.splice(idx, 1);\r\n this.$bvModal.hide(`alert-modal-${idx}`);\r\n },\r\n truncateText(text, maxLength) {\r\n if (text.length > maxLength) {\r\n return text.substring(0, maxLength) + \"...\";\r\n }\r\n return text;\r\n },\r\n chooseMessage(message, index) {\r\n this.$refs.questionDropdown.hide();\r\n this.showQuestions = false;\r\n\r\n this.$emit(\"question-selected\", message, index);\r\n\r\n var div = document.getElementById(\"messages\");\r\n div.scrollTop = div.scrollHeight;\r\n\r\n this.$nextTick(() => {\r\n var messageDisplay = this.$refs.messages1;\r\n messageDisplay.scrollTop = messageDisplay.scrollHeight;\r\n });\r\n },\r\n\r\n sendNewMessage() {\r\n if (this.NewText.length != 0) {\r\n this.$emit(\"send-message\", this.NewText);\r\n this.NewText = \"\";\r\n\r\n var div = document.getElementById(\"messages\");\r\n div.scrollTop = div.scrollHeight;\r\n\r\n this.$nextTick(() => {\r\n var messageDisplay = this.$refs.messages1;\r\n messageDisplay.scrollTop = messageDisplay.scrollHeight;\r\n });\r\n } else this.$toast.error(\"Please enter a message to send.\");\r\n },\r\n\r\n scrollToBottom() {\r\n this.$nextTick(() => {\r\n const chatContainer = this.$refs.messages1;\r\n chatContainer.scrollTop = chatContainer.scrollHeight;\r\n });\r\n },\r\n },\r\n};\r\n</script>\r\n<style scoped>\r\n#response ::v-deep(div > * > strong) {\r\n font-weight: 600 !important;\r\n}\r\n\r\n#response ::v-deep(div > * > b) {\r\n font-weight: 600 !important;\r\n}\r\n\r\n#response ::v-deep(div h1 *) {\r\n font-size: 2.25rem !important;\r\n line-height: 2.5rem !important;\r\n font-weight: 600 !important;\r\n}\r\n\r\n#response ::v-deep(div h2 *) {\r\n font-size: 1.875rem !important;\r\n line-height: 2.25rem !important;\r\n font-weight: 600 !important;\r\n}\r\n\r\n#response ::v-deep(div h3 *) {\r\n font-size: 1.5rem !important;\r\n line-height: 2rem !important;\r\n font-weight: 600 !important;\r\n}\r\n\r\n#response ::v-deep(div p *) {\r\n font-size: 1rem !important;\r\n line-height: 1.75rem !important;\r\n font-weight: bold !important;\r\n color: #374151 !important;\r\n}\r\n\r\n#response ::v-deep(div a *) {\r\n color: #3b82f6 !important;\r\n text-decoration: underline !important;\r\n font-weight: bold !important;\r\n}\r\n\r\n#response ::v-deep(div ul *) {\r\n font-size: inherit !important;\r\n font-weight: bold !important;\r\n}\r\n\r\n#response ::v-deep(div ol *) {\r\n font-size: inherit !important;\r\n font-weight: bold !important;\r\n}\r\n\r\n#response ::v-deep(div li *) {\r\n font-size: inherit !important;\r\n font-weight: bold !important;\r\n}\r\n\r\n#response ::v-deep(div blockquote strong) {\r\n font-size: 1.125rem !important;\r\n line-height: 1.75rem !important;\r\n font-weight: bold !important;\r\n color: #6b7280 !important;\r\n}\r\n\r\n#response ::v-deep(div pre strong) {\r\n font-size: inherit !important;\r\n font-weight: bold !important;\r\n color: #d97706 !important;\r\n}\r\n\r\n#response ::v-deep(div code strong) {\r\n font-size: 0.875rem !important;\r\n font-weight: bold !important;\r\n background-color: #f3f4f6 !important;\r\n color: #d97706 !important;\r\n}\r\n\r\n#response ::v-deep(div h1) {\r\n font-size: 2.25rem !important;\r\n line-height: 2.5rem !important;\r\n font-weight: 800 !important;\r\n margin-bottom: 1.5rem !important;\r\n}\r\n\r\n#response ::v-deep(div h2) {\r\n font-size: 1.875rem !important;\r\n line-height: 2.25rem !important;\r\n font-weight: 700 !important;\r\n margin-bottom: 1.25rem !important;\r\n}\r\n\r\n#response ::v-deep(div h3) {\r\n font-size: 1.5rem !important;\r\n line-height: 2rem !important;\r\n font-weight: 700 !important;\r\n margin-bottom: 1rem !important;\r\n}\r\n\r\n#response ::v-deep(div p) {\r\n font-size: 1rem !important;\r\n line-height: 1.75rem !important;\r\n margin-bottom: 1rem !important;\r\n color: #374151 !important;\r\n}\r\n\r\n#response ::v-deep(div a) {\r\n color: #3b82f6 !important;\r\n text-decoration: underline !important;\r\n}\r\n\r\n#response ::v-deep(div ul) {\r\n list-style-type: disc !important;\r\n margin-left: 1.25rem !important;\r\n margin-bottom: 1rem !important;\r\n}\r\n\r\n#response ::v-deep(div ol) {\r\n list-style-type: decimal !important;\r\n margin-left: 1.25rem !important;\r\n margin-bottom: 1rem !important;\r\n}\r\n\r\n#response ::v-deep(div li) {\r\n margin-bottom: 0.5rem !important;\r\n}\r\n\r\n#response ::v-deep(div blockquote) {\r\n font-size: 1.125rem !important;\r\n line-height: 1.75rem !important;\r\n color: #6b7280 !important;\r\n border-left: 4px solid #d1d5db !important;\r\n padding-left: 1rem !important;\r\n margin-bottom: 1rem !important;\r\n}\r\n\r\n#response ::v-deep(div pre) {\r\n background-color: #f3f4f6 !important;\r\n padding: 1rem !important;\r\n border-radius: 0.375rem !important;\r\n overflow-x: auto !important;\r\n margin-bottom: 1rem !important;\r\n}\r\n\r\n#response ::v-deep(div code) {\r\n background-color: #f3f4f6 !important;\r\n padding: 0.25rem !important;\r\n border-radius: 0.25rem !important;\r\n font-size: 0.875rem !important;\r\n color: #d97706 !important;\r\n}\r\n\r\n/* Sidebar Lawbot */\r\n.sidebar {\r\n position: fixed;\r\n width: auto;\r\n height: auto;\r\n background-color: var(--primary);\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: space-between;\r\n right: 1rem;\r\n bottom: 1rem;\r\n padding: 0.5rem 1rem;\r\n cursor: pointer;\r\n border-radius: 0.5rem;\r\n}\r\n.top-icon {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n color: #ffffff;\r\n font-size: 16px;\r\n}\r\n\r\n.collapse-btn {\r\n background-color: #ffffff;\r\n border-radius: 50% !important;\r\n width: 48px;\r\n height: 48px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n transform: translateX(-50%);\r\n bottom: 50%;\r\n box-shadow: 0 0 5px #aaabaf;\r\n cursor: pointer;\r\n span {\r\n color: var(--primary);\r\n }\r\n}\r\n.collapse-btns {\r\n z-index: 100;\r\n background-color: #ffffff;\r\n border-radius: 50% !important;\r\n width: 48px;\r\n height: 48px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n transform: translateX(-50%);\r\n bottom: 35%;\r\n box-shadow: 0 0 5px #aaabaf;\r\n cursor: pointer;\r\n span {\r\n color: var(--primary);\r\n }\r\n}\r\n\r\n.normal {\r\n width: 1080px;\r\n position: absolute;\r\n right: 0;\r\n background-color: #fff;\r\n box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);\r\n}\r\n\r\n.slide-enter-active,\r\n.slide-leave-active {\r\n transition: transform 0.3s ease;\r\n}\r\n\r\n.slide-enter, .slide-leave-to /* .slide-leave-active in <2.1.8 */ {\r\n transform: translateX(100%);\r\n}\r\n.top_bar {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 18px;\r\n background-color: var(--primary);\r\n}\r\n\r\n.lb_left {\r\n color: #ffffff;\r\n display: flex;\r\n align-items: center;\r\n gap: 13px;\r\n}\r\n\r\n.lb_left span {\r\n font-size: 24px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.lb_left p {\r\n margin: 0;\r\n font-size: 20px;\r\n font-weight: 600;\r\n line-height: 1;\r\n display: flex;\r\n align-items: center;\r\n color: #ffffff !important;\r\n}\r\n\r\n.mode {\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n background-color: transparent; /* Remove button background */\r\n border: none; /* Remove button border */\r\n cursor: pointer;\r\n padding: 5px 10px;\r\n font-size: 14px;\r\n border-radius: 20px !important;\r\n background: #ffffff;\r\n cursor: pointer;\r\n}\r\n\r\n.mode .em {\r\n margin: 0;\r\n font-size: 14px;\r\n line-height: 1;\r\n display: flex;\r\n align-items: center;\r\n font-weight: 400;\r\n color: var(--primary) !important;\r\n}\r\n\r\n.mode span {\r\n font-size: 24px;\r\n display: flex;\r\n align-items: center;\r\n margin-left: 5px;\r\n color: var(--status-blue) !important;\r\n}\r\n\r\n/* Main Content Styles */\r\n.main-content {\r\n display: flex;\r\n flex-grow: 1;\r\n}\r\n\r\n/* Sidebar Styles */\r\n.left_side {\r\n width: 33%;\r\n height: calc(100vh - 64px);\r\n background-color: #ffffff;\r\n padding: 20px;\r\n border-right: 1px solid #ddd;\r\n position: relative;\r\n overflow-y: auto;\r\n}\r\n\r\n.recent-conversations {\r\n margin-top: 10px;\r\n padding: 10px;\r\n}\r\n\r\n.history-text {\r\n color: var(--Neutral-Dark-Grey, #86888d);\r\n font-family: Poppins;\r\n font-size: 12px;\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: 24px; /* 200% */\r\n}\r\n\r\n.message-item {\r\n padding: 10px;\r\n border-radius: 8px;\r\n margin-bottom: 10px;\r\n position: relative;\r\n background-color: var(--light-grey);\r\n border: 1px solid var(--light-grey);\r\n}\r\n\r\n.message-item:hover {\r\n border: 1px solid var(--Status-Blue, #1890ff);\r\n background: rgba(24, 144, 255, 0.1);\r\n}\r\n\r\n.message-header {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.message-header p {\r\n margin: 0;\r\n font-weight: 600;\r\n}\r\n\r\n.message-subheader {\r\n font-size: 12px;\r\n color: var(--dark-grey) !important;\r\n margin-top: 5px;\r\n}\r\n\r\n.delete-icon {\r\n color: var(--dark-grey);\r\n cursor: pointer;\r\n &:hover {\r\n color: var(--status-red);\r\n }\r\n}\r\n\r\n.ls {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding-bottom: 12px;\r\n border-bottom: 1px solid var(--mid-grey);\r\n}\r\n\r\n.ls p {\r\n font-size: 16px;\r\n font-weight: 500;\r\n line-height: 24px;\r\n color: var(--primary) !important;\r\n margin: 0;\r\n}\r\n\r\n.ls span {\r\n color: var(--primary) !important;\r\n font-size: 24px;\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.chat-placeholder {\r\n padding-top: 40%;\r\n text-align: center;\r\n p {\r\n font-size: 12px;\r\n font-weight: 400;\r\n line-height: 18px;\r\n }\r\n}\r\n\r\n.chat-placeholder i {\r\n font-size: 48px;\r\n color: #ddd;\r\n margin-bottom: 10px;\r\n}\r\n\r\n/* Right Content Area Styles */\r\n.content-area {\r\n width: 67%;\r\n position: relative;\r\n flex-grow: 1;\r\n text-align: center;\r\n height: calc(100vh - 64px);\r\n padding-bottom: 50px;\r\n}\r\n.no-questions {\r\n height: 100%;\r\n display: flex; /* Enable Flexbox */\r\n flex-direction: column; /* Stack child elements vertically */\r\n align-items: center; /* Center child elements horizontally */\r\n justify-content: center;\r\n text-align: center;\r\n}\r\n\r\n.no-questions p {\r\n font-size: 14px;\r\n font-weight: 500;\r\n line-height: 20px;\r\n text-align: center;\r\n}\r\n/* Fixed position for sample questions and input */\r\n.sample-questions-container {\r\n position: sticky;\r\n bottom: 20px;\r\n margin-left: 15px;\r\n}\r\n\r\n.input-container {\r\n height: 100px;\r\n /* position: sticky; */\r\n bottom: 0;\r\n right: 0; /* Align the container to the right edge */\r\n width: 100%;\r\n padding: 12px 20px;\r\n background: var(--interface-grey);\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);\r\n box-sizing: border-box; /* Ensure padding is included in the width calculation */\r\n}\r\n\r\n.input-field {\r\n flex: 1;\r\n background: none;\r\n display: block !important;\r\n}\r\n\r\n.nr_send {\r\n color: var(--primary);\r\n}\r\n\r\n.chat-section {\r\n margin-bottom: 100px; /* Add margin to accommodate the fixed input section */\r\n max-height: calc(100vh - 200px); /* Adjust based on the fixed elements */\r\n}\r\n\r\n.sample-questions-btn {\r\n display: flex;\r\n position: relative;\r\n align-items: center;\r\n padding: 10px 15px;\r\n border-radius: 20px !important;\r\n height: 40px;\r\n background-color: #ffffff;\r\n cursor: pointer;\r\n box-shadow: 0px 4px 10px 0px #e3e5eb99;\r\n border: none;\r\n font-size: 16px;\r\n}\r\n\r\n.dot {\r\n height: 8px;\r\n width: 8px;\r\n background-color: #52c41a;\r\n border-radius: 50%;\r\n margin-right: 10px;\r\n}\r\n\r\n.questions-list {\r\n margin-top: 10px;\r\n padding: 10px;\r\n border-radius: 6px;\r\n}\r\n\r\n.question-btn {\r\n display: block;\r\n text-align: left;\r\n border: 1px solid var(--mid-grey);\r\n padding: 10px;\r\n margin-bottom: 8px;\r\n font-size: 16px;\r\n line-height: 24px;\r\n font-weight: 500;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n color: var(--dark-grey);\r\n}\r\n.prompt_css {\r\n display: block;\r\n text-align: left;\r\n padding: 10px;\r\n font-size: 14px;\r\n line-height: 24px;\r\n font-weight: 500;\r\n border-radius: 6px;\r\n cursor: pointer;\r\n color: var(--neutral-black);\r\n}\r\n.prompt_css:hover {\r\n background: rgba(24, 144, 255, 0.1);\r\n}\r\n</style>\r\n<style scoped>\r\n.custom-header {\r\n width: 100%;\r\n height: 60px;\r\n padding: 16px 24px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n P {\r\n font-size: 20px;\r\n font-weight: 600;\r\n line-height: 28px;\r\n color: var(--neutral-black);\r\n }\r\n}\r\n\r\n.close-btn {\r\n background: transparent;\r\n border: none;\r\n font-size: 24px;\r\n cursor: pointer;\r\n}\r\n\r\n.custom-body {\r\n display: flex;\r\n width: 100%;\r\n height: auto;\r\n padding: 12px 24px; /* Body padding */\r\n gap: 16px; /* Space between child elements */\r\n}\r\n/* Plan Card Styles */\r\n.plan {\r\n width: 100%;\r\n height: auto;\r\n padding: 16px 0px 0px;\r\n gap: 16px;\r\n border-radius: 8px;\r\n border: 1px solid var(--light-grey);\r\n background: var(--interface-grey);\r\n p {\r\n font-size: 32px;\r\n font-weight: 600;\r\n line-height: 48px;\r\n }\r\n}\r\n.current {\r\n height: 44px;\r\n padding: 10px;\r\n gap: 10px;\r\n border: 1px solid var(--mid-grey);\r\n border-radius: 25px;\r\n text-align: center;\r\n margin: auto 13px;\r\n p {\r\n font-size: 16px;\r\n font-weight: 500;\r\n line-height: 24px;\r\n color: var(--dark-grey) !important;\r\n }\r\n}\r\n.update {\r\n height: 44px;\r\n padding: 10px;\r\n gap: 10px;\r\n background: #fae8ff;\r\n border: 1px solid #c319ff;\r\n color: #c319ff !important;\r\n border-radius: 25px;\r\n text-align: center;\r\n margin: auto 13px;\r\n p {\r\n font-size: 16px;\r\n font-weight: 500;\r\n line-height: 24px;\r\n color: #c319ff !important;\r\n }\r\n}\r\n.list {\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n padding-left: 15px;\r\n p {\r\n font-size: 16px;\r\n font-weight: 500;\r\n line-height: 33px;\r\n color: var(--neutral-black) !important;\r\n margin: 0;\r\n }\r\n}\r\n.footer {\r\n font-size: 12px;\r\n font-weight: 400;\r\n line-height: 18px;\r\n text-align: center !important;\r\n}\r\n</style>\r\n<style scoped>\r\n.chat-container {\r\n padding: 20px;\r\n position: relative;\r\n}\r\n.chat-header {\r\n margin-bottom: 10px;\r\n}\r\n.header-input {\r\n width: 100%;\r\n padding: 8px;\r\n font-size: 14px;\r\n border-radius: 8px;\r\n border: 1px solid #ccc;\r\n}\r\n\r\n.chat-box {\r\n flex: 1;\r\n overflow-y: auto;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.user-message,\r\n.bot-message {\r\n margin: 10px 0;\r\n}\r\n\r\n.user-message {\r\n background-color: var(--status-blue);\r\n padding: 10px;\r\n border-radius: 10px;\r\n text-align: right;\r\n margin-left: auto;\r\n max-width: 40%;\r\n height: auto;\r\n}\r\n.user-message::before {\r\n content: \"\";\r\n position: absolute;\r\n top: -10px;\r\n right: 10px;\r\n width: 20px;\r\n height: 20px;\r\n background-color: #4caf50;\r\n clip-path: polygon(50% 0%, 100% 100%, 0% 100%);\r\n}\r\n.bot-message-container {\r\n display: flex;\r\n align-items: center; /* Aligns icon and text vertically in the center */\r\n margin: 10px 10px;\r\n span {\r\n width: 32px;\r\n height: 32px;\r\n background: var(--primary);\r\n border-radius: 50%;\r\n color: #fff;\r\n display: flex; /* This centers the content within the span */\r\n justify-content: center; /* Horizontally centers the icon */\r\n align-items: center;\r\n }\r\n}\r\n.bot-message {\r\n background-color: #f0f0f0;\r\n color: #333;\r\n padding: 10px;\r\n border-radius: 10px;\r\n max-width: 80%;\r\n}\r\n\r\n.bot-text {\r\n font-size: 14px;\r\n line-height: 1.5;\r\n text-align: left;\r\n}\r\n\r\n.thinking {\r\n text-align: center;\r\n font-style: italic;\r\n}\r\n\r\n.loading-dots::after {\r\n content: \"...\";\r\n animation: dots 1s steps(5, end) infinite;\r\n}\r\n\r\n@keyframes dots {\r\n 0%,\r\n 20% {\r\n content: \".\";\r\n }\r\n 40% {\r\n content: \"..\";\r\n }\r\n 60%,\r\n 100% {\r\n content: \"...\";\r\n }\r\n}\r\n\r\n.chat-input-container {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.chat-input {\r\n flex: 1;\r\n padding: 10px;\r\n border-radius: 20px;\r\n border: 1px solid #ccc;\r\n font-size: 14px;\r\n margin-right: 10px;\r\n}\r\n\r\n.send-btn {\r\n background-color: #0084ff;\r\n color: white;\r\n border: none;\r\n border-radius: 50%;\r\n padding: 10px;\r\n cursor: pointer;\r\n font-size: 18px;\r\n}\r\n\r\n.sample-questions {\r\n display: flex;\r\n justify-content: center;\r\n margin-top: 10px;\r\n}\r\n\r\n.sample-btn {\r\n background-color: #f0f0f0;\r\n border: none;\r\n padding: 8px 16px;\r\n border-radius: 20px;\r\n cursor: pointer;\r\n font-size: 12px;\r\n}\r\n</style>\r\n<style scoped>\r\n.animated-background-outgoing {\r\n background: var(--status-blue);\r\n background-size: 200% 100%;\r\n animation: gradientAnimation 3s linear infinite;\r\n}\r\n\r\n@keyframes gradientAnimation {\r\n 0% {\r\n background-position: 0% 0%;\r\n }\r\n\r\n 25% {\r\n background-position: 100% 0%;\r\n }\r\n\r\n 50% {\r\n background-position: 100% 100%;\r\n }\r\n\r\n 75% {\r\n background-position: 0% 100%;\r\n }\r\n\r\n 100% {\r\n background-position: 0% 0%;\r\n }\r\n}\r\n\r\n.animated-background-incoming {\r\n background: var(--light-grey);\r\n background-size: 200% 100%;\r\n animation: gradientAnimation 3s linear infinite;\r\n}\r\n\r\n@keyframes gradientAnimation {\r\n 0% {\r\n background-position: 0% 0%;\r\n }\r\n\r\n 25% {\r\n background-position: 100% 0%;\r\n }\r\n\r\n 50% {\r\n background-position: 100% 100%;\r\n }\r\n\r\n 75% {\r\n background-position: 0% 100%;\r\n }\r\n\r\n 100% {\r\n background-position: 0% 0%;\r\n }\r\n}\r\n\r\n.chat__box {\r\n display: flex;\r\n flex-direction: column;\r\n margin-bottom: 1rem;\r\n height: 100%;\r\n overflow-y: scroll;\r\n}\r\n\r\n.chat__incoming {\r\n margin-right: auto;\r\n margin-top: 0.5rem;\r\n}\r\n\r\n.chat__bubble__wrapper-incoming {\r\n margin-right: auto;\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.chat__bubble-incoming {\r\n padding: 0.3rem 1rem;\r\n background-color: #f1f1f1;\r\n border-bottom-left-radius: 0px;\r\n margin-right: 3rem;\r\n margin-left: 0.5rem;\r\n}\r\n\r\n.chat__bubble-incoming span {\r\n color: #333333;\r\n}\r\n\r\n.chat__outgoing {\r\n margin-left: auto;\r\n margin-top: 0.5rem;\r\n color: white !important;\r\n}\r\n\r\n.chat__bubble__wrapper-outgoing {\r\n margin-left: auto;\r\n margin-bottom: 1rem;\r\n}\r\n\r\n.chat__bubble-outgoing {\r\n padding: 0.3rem 1rem;\r\n background-color: var(--status-blue);\r\n border-bottom-right-radius: 0px;\r\n margin-left: 3rem;\r\n}\r\n\r\n.chat__bubble-outgoing span p {\r\n color: #fff !important;\r\n}\r\n\r\n/* chat suggestions and input */\r\n.chat__suggestion {\r\n display: flex;\r\n border: 2px solid #dddddd;\r\n border-radius: 20px;\r\n padding-left: 10px;\r\n height: auto;\r\n margin-bottom: 0.5rem;\r\n}\r\n\r\n.chat__suggestion:hover {\r\n background-color: #f1f1f1;\r\n transition: 300ms ease-out;\r\n}\r\n\r\n.chat__suggestion span {\r\n text-align: left;\r\n padding-top: 0.2rem;\r\n}\r\n\r\n.chat__input {\r\n display: flex;\r\n border: 2px solid #0058a2;\r\n border-radius: 20px;\r\n padding-left: 10px;\r\n}\r\n\r\n.chat__input input {\r\n border: none;\r\n border-radius: 20px;\r\n height: 40px;\r\n width: 100%;\r\n box-shadow: none;\r\n outline: none;\r\n}\r\n\r\n.chat__input .btn-send {\r\n padding: 0;\r\n margin: 0;\r\n height: 38px;\r\n}\r\n\r\n.chat__input .btn-send span {\r\n color: #0058a2;\r\n font-size: 40px;\r\n}\r\n\r\n.chat__input .btn-send:hover span {\r\n color: #004278;\r\n transition: 300ms ease-out;\r\n}\r\n\r\n.accordion-checkbox {\r\n display: none;\r\n}\r\n\r\n.accordion-label {\r\n cursor: pointer;\r\n display: block;\r\n}\r\n\r\n.accordion-icon {\r\n transition: transform 0.3s;\r\n}\r\n\r\n.accordion-checkbox:checked ~ .accordion-label .accordion-icon {\r\n transform: rotate(-180deg);\r\n}\r\n\r\n.card-header {\r\n padding: 0rem 0rem !important;\r\n padding-top: 1rem !important;\r\n margin-bottom: 0 !important;\r\n color: var(--bs-card-cap-color) !important;\r\n background-color: #ffffff !important;\r\n border-bottom: 0px solid #ffffff !important;\r\n}\r\n\r\n.content-card {\r\n height: 650px;\r\n}\r\n\r\n.underlined {\r\n border-bottom: 1px solid lightgray;\r\n}\r\n\r\ntable tbody {\r\n height: 410px;\r\n overflow-y: scroll;\r\n}\r\n</style>\r\n<style scoped>\r\n.dot_active {\r\n display: inline-block;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background-color: var(--status-green);\r\n margin-right: 5px;\r\n}\r\n.pur {\r\n color: var(--status-violet);\r\n width: 20px;\r\n height: 16px;\r\n cursor: pointer;\r\n}\r\n.blu {\r\n color: var(--status-violet);\r\n}\r\n.st_icon {\r\n background: var(--primary); /* Use your primary color */\r\n border-radius: 50%; /* Make the icon circular */\r\n padding: 5px;\r\n color: #ffffff; /* Make the icon color white */\r\n display: flex; /* Align the icon within the circle */\r\n justify-content: center; /* Center the icon horizontally */\r\n align-items: center; /* Center the icon vertically */\r\n font-size: 24px; /* Adjust the icon size as needed */\r\n}\r\n</style>\r\n\r\n<style scoped>\r\n.delete-prompt {\r\n margin: 8px 8px 20px 8px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.delete-prompt p {\r\n margin-bottom: 0px;\r\n text-align: center;\r\n}\r\n\r\n.delete-prompt p b {\r\n font-weight: 500;\r\n font-size: 16px;\r\n color: var(--neutral-black);\r\n}\r\n\r\n.delete-prompt-options {\r\n display: flex;\r\n justify-content: space-between;\r\n margin: 0px 8px 8px 8px;\r\n}\r\n\r\n.delete-prompt-options button {\r\n width: calc(50% - 4px);\r\n height: 32px;\r\n}\r\n.trial {\r\n background: var(--primary);\r\n color: #ffffff;\r\n}\r\n.DROPDOWN-MENU ::v-deep .tooltip-inner {\r\n max-width: 291px !important;\r\n overflow-y: auto;\r\n padding: 10px;\r\n border: 1px solid var(--light-grey);\r\n box-shadow: 0px 4px 10px 0px #aaabaf99;\r\n transform: translateX(-200px); /* Move the element 20px to the left */\r\n}\r\n</style>\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LawBot.vue?vue&type=template&id=2edda6e7&scoped=true\"\nimport script from \"./LawBot.vue?vue&type=script&lang=js\"\nexport * from \"./LawBot.vue?vue&type=script&lang=js\"\nimport style0 from \"./LawBot.vue?vue&type=style&index=0&id=2edda6e7&prod&scoped=true&lang=css\"\nimport style1 from \"./LawBot.vue?vue&type=style&index=1&id=2edda6e7&prod&scoped=true&lang=css\"\nimport style2 from \"./LawBot.vue?vue&type=style&index=2&id=2edda6e7&prod&scoped=true&lang=css\"\nimport style3 from \"./LawBot.vue?vue&type=style&index=3&id=2edda6e7&prod&scoped=true&lang=css\"\nimport style4 from \"./LawBot.vue?vue&type=style&index=4&id=2edda6e7&prod&scoped=true&lang=css\"\nimport style5 from \"./LawBot.vue?vue&type=style&index=5&id=2edda6e7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2edda6e7\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=3&id=2edda6e7&prod&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=2&id=2edda6e7&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BreadCrumb.vue?vue&type=style&index=0&id=9da42f32&prod&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LawBot.vue?vue&type=style&index=5&id=2edda6e7&prod&scoped=true&lang=css\""],"sourceRoot":""}