{"version":3,"sources":["webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue?c026","webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue?8bbf","webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue","webpack:///src/Pages/Mode/LegalMemo/legal_memo.vue","webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue?565b","webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue?4202","webpack:///./src/Pages/Mode/LegalMemo/legal_memo.vue?5549"],"names":["render","_vm","this","_c","_self","staticClass","_m","on","toggleSidebar","_v","goBack","staticStyle","attrs","directives","name","rawName","value","askQuestion","expression","domProps","$event","target","composing","_s","getWordCount","finding","getFile","getJurisdiction","getQuery","class","isAllFieldValid","isSubmitting","generateMemo","_e","sidebarCollapsed","staticRenderFns","components","UploadFiles","sidebar","data","loading","lawbotVisible","isCountry","legalQuery","files","countryMapping","MY","AUS","CAN","NZ","UK","US","SG","USA","jurisdiction","computed","mapState","storeLegalQuery","state","filteredCountryImages","Object","entries","countryImages","filter","countryCode","reduce","acc","key","keys","length","trim","mounted","setTimeout","methods","text","query","$router","push","toggleCountry","showAttachModal","$bvModal","show","hideAttachModal","hide","file","console","log","formData","FormData","$toast","error","forEach","index","append","country","locations","localStorage","getItem","JSON","parse","foundLocation","find","x","title","stringify","id","response","usecase","CreateUsecase","success","params","component"],"mappings":"gHAAA,W,yDCAA,W,yCCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,oBAAoBE,GAAG,CAAC,MAAQN,EAAIO,gBAAgB,CAACL,EAAG,OAAO,CAACE,YAAY,iCAAiC,CAACJ,EAAIQ,GAAG,gCAAgCN,EAAG,IAAI,CAACF,EAAIQ,GAAG,wBAAwBN,EAAG,MA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,QAAAT,GAEAP,EAAAM,OAAA,eAAAK,KAAAM,UAAA,KAAAlD,eACAiC,EAAAM,OAAA,gBAAA5E,aACAsE,EAAAM,OAAA,gBAAApE,SACA8D,EAAAM,OAAA,iBACAN,EAAAM,OAAA,cAAAO,EAAAK,IACAlB,EAAAM,OAAA,qBACA,MAAAa,QAAAC,OAAAC,cAAArB,GACAmB,EAAAnE,OACA,KAAAkD,OAAAoB,QAAA,gBACA,KAAAjC,QAAAC,KAAA,CACA/D,KAAA,kBACAgG,OAAA,CAAAL,GAAAC,EAAAnE,UAAAkE,OAGA,MAAAf,GACA,KAAA3D,cAAA,EACA,KAAA0D,OAAAC,MAAA,oDC7OiX,I,4CCU7WqB,EAAY,eACd,EACA/G,EACAmC,GACA,EACA,KACA,WACA,MAIa,aAAA4E,E,yFCrBf","file":"js/chunk-92030a94.d56ed884.js","sourcesContent":["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!./legal_memo.vue?vue&type=style&index=2&id=5874f92c&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!./legal_memo.vue?vue&type=style&index=0&id=5874f92c&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"breadcrumb_header\"},[_vm._m(0),_c('div',[_c('button',{staticClass:\"open_sidebar me-2\",on:{\"click\":_vm.toggleSidebar}},[_c('span',{staticClass:\"material-symbols-rounded icon\"},[_vm._v(\"keyboard_double_arrow_left\")]),_c('p',[_vm._v(\"Open Sidebar\")])])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-1 mt-3 p-0\"},[_c('div',{staticClass:\"d-flex justify-content-end cursor-pointer back\",on:{\"click\":_vm.goBack}},[_c('span',{staticClass:\"material-symbols-rounded\",staticStyle:{\"margin\":\"0\"}},[_vm._v(\"arrow_back\")]),_c('span',{staticStyle:{\"margin\":\"0 0 0 8px\"}},[_vm._v(\"Back\")])])]),_c('div',{staticClass:\"col-md-10 mt-5 p-0\"},[_c('div',{staticClass:\"left-container mt-3\"},[_vm._m(1),_c('section',{staticClass:\"query-section\"},[_c('article',{staticClass:\"case-file mb-4\"},[_c('h5',{staticClass:\"case-file-title mb-2\"},[_vm._v(\"Ask NeXa\")]),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"searchbar\"},[_c('form',{staticClass:\"entry\"},[_c('label',{staticClass:\"visually-hidden\",attrs:{\"for\":\"legal-question\"}},[_vm._v(\"Analyze the enforceability of the non-compete clause\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.askQuestion),expression:\"askQuestion\"}],staticClass:\"legal-input\",attrs:{\"type\":\"text\",\"id\":\"legal-question\",\"placeholder\":\"Analyze the enforceability of the non-compete clause\",\"aria-label\":\"Analyze the enforceability of the non-compete clause\"},domProps:{\"value\":(_vm.askQuestion)},on:{\"input\":function($event){if($event.target.composing)return;_vm.askQuestion=$event.target.value}}})]),_c('div',{staticClass:\"char-count\"},[_vm._v(\" \"+_vm._s(_vm.getWordCount(_vm.askQuestion))+\" / 3000 \")])])])]),_c('article',{staticClass:\"case-file\"},[_c('h5',{staticClass:\"case-file-title mb-2\"},[_vm._v(\"Findings\")]),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"searchbar\"},[_c('form',{staticClass:\"entry\"},[_c('label',{staticClass:\"visually-hidden\",attrs:{\"for\":\"legal-question\"}},[_vm._v(\"Enter Key Findings or Points e.g., Party B failed to deliver on specific dates, causing financial loss.\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.finding),expression:\"finding\"}],staticClass:\"legal-input\",attrs:{\"type\":\"text\",\"id\":\"legal-question\",\"placeholder\":\"Enter Key Findings or Points e.g., Party B failed to deliver on specific dates, causing financial loss.\",\"aria-label\":\"Enter Key Findings or Points e.g., Party B failed to deliver on specific dates, causing financial loss.\"},domProps:{\"value\":(_vm.finding)},on:{\"input\":function($event){if($event.target.composing)return;_vm.finding=$event.target.value}}})]),_c('div',{staticClass:\"char-count\"},[_vm._v(\" \"+_vm._s(_vm.getWordCount(_vm.finding))+\" / 3000 \")])])])])]),_c('section',{staticClass:\"upload-container\"},[_vm._m(2),_c('UploadFiles',{attrs:{\"not-send\":\"\",\"only-file\":\"\"},on:{\"get-file\":_vm.getFile,\"get-jurisdiction\":_vm.getJurisdiction,\"get-query\":_vm.getQuery}})],1),_c('div',{staticClass:\"footer-upload\"},[_c('button',{class:{\n 'button-generate': _vm.isAllFieldValid,\n 'button-generate-muted': !_vm.isAllFieldValid,\n },staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"gap\":\"8px\"},attrs:{\"disabled\":!_vm.isAllFieldValid || _vm.isSubmitting},on:{\"click\":_vm.generateMemo}},[_vm._v(\" Generate Insight \"),(_vm.isSubmitting)?_c('b-spinner',{staticClass:\"material-symbols-rounded\",staticStyle:{\"scale\":\"0.75\"},attrs:{\"variant\":\"primary\"}}):_vm._e()],1)])])]),(_vm.sidebarCollapsed)?_c('sidebar',{directives:[{name:\"clickaway\",rawName:\"v-clickaway\",value:(_vm.toggleSidebar),expression:\"toggleSidebar\"}],on:{\"toggle-sidebar\":_vm.toggleSidebar}}):_vm._e()],1)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"breadcrumb ms-2\"},[_c('h4',{staticStyle:{\"margin\":\"0\",\"padding-left\":\"10px\"}},[_vm._v(\"NeXa\")]),_c('span',{staticClass:\"divider\"}),_c('span',[_vm._v(\"Draft a Legal Memo\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('section',{staticClass:\"tabs\"},[_c('h5',{staticClass:\"tabs-title\"},[_vm._v(\"Draft a Legal Memo\")]),_c('p',{staticClass:\"tabs-description\"},[_vm._v(\" Enter your legal question, and NeXa will help you create a detailed memo using case law and statutes. \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"upload-header\"},[_c('h5',{staticClass:\"case-file-title mb-2\"},[_vm._v(\"Upload Files\")]),_c('span',{staticClass:\"upload-description\"},[_vm._v(\"Upload any supporting documents to enhance your memo.\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n
\r\n
\r\n
\r\n
NeXa
\r\n \r\n Draft a Legal Memo\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n arrow_back\r\n Back\r\n
\r\n
\r\n
\r\n
\r\n \r\n
Draft a Legal Memo
\r\n
\r\n Enter your legal question, and NeXa will help you create a\r\n detailed memo using case law and statutes.\r\n
\r\n \r\n\r\n \r\n \r\n
Ask NeXa
\r\n
\r\n
\r\n \r\n
\r\n {{ getWordCount(askQuestion) }} / 3000\r\n
\r\n
\r\n
\r\n \r\n \r\n
Findings
\r\n
\r\n
\r\n \r\n
\r\n {{ getWordCount(finding) }} / 3000\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
Upload Files
\r\n Upload any supporting documents to enhance your memo.\r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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!./legal_memo.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!./legal_memo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./legal_memo.vue?vue&type=template&id=5874f92c&scoped=true\"\nimport script from \"./legal_memo.vue?vue&type=script&lang=js\"\nexport * from \"./legal_memo.vue?vue&type=script&lang=js\"\nimport style0 from \"./legal_memo.vue?vue&type=style&index=0&id=5874f92c&prod&scoped=true&lang=css\"\nimport style1 from \"./legal_memo.vue?vue&type=style&index=1&id=5874f92c&prod&scoped=true&lang=css\"\nimport style2 from \"./legal_memo.vue?vue&type=style&index=2&id=5874f92c&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 \"5874f92c\",\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!./legal_memo.vue?vue&type=style&index=1&id=5874f92c&prod&scoped=true&lang=css\""],"sourceRoot":""}