@genpact/genome.mfe.mgtwin-app 1.1.335-alpha → 1.1.336-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/{AssessmentAMA-77879961.mjs → AssessmentAMA-0692fa1a.mjs} +4 -4
  2. package/dist/{AssessmentSimulation-8c7f6d37.mjs → AssessmentSimulation-a30d0b00.mjs} +375 -369
  3. package/dist/{EditSkillAdminData-a60df47f.mjs → EditSkillAdminData-044567e4.mjs} +2 -2
  4. package/dist/{EditSkillData-7cd63c04.mjs → EditSkillData-e70e5197.mjs} +2 -2
  5. package/dist/{HomeView-4b9a9899.mjs → HomeView-53156458.mjs} +5 -5
  6. package/dist/{Loading-67bec750.mjs → Loading-68a5cf63.mjs} +1 -1
  7. package/dist/{LoadingSimulation-cf50d262.mjs → LoadingSimulation-c9bde016.mjs} +1 -1
  8. package/dist/{Modal-58db3acb.mjs → Modal-b41fbd83.mjs} +1 -1
  9. package/dist/{PaperAirplaneIcon-38b9f316.mjs → PaperAirplaneIcon-9c41f6c3.mjs} +1 -1
  10. package/dist/{PromptTesting-5dbd9814.mjs → PromptTesting-317d3a4f.mjs} +3 -3
  11. package/dist/{SkillAutomation-bda8c9c7.mjs → SkillAutomation-207a2b56.mjs} +3 -3
  12. package/dist/{SkillData-bd44a6be.mjs → SkillData-7e41d4ba.mjs} +3 -3
  13. package/dist/{Testcase-ac672c60.mjs → Testcase-f95b79d7.mjs} +3 -3
  14. package/dist/{UnderMaintenance-1c77f1ec.mjs → UnderMaintenance-81399bd4.mjs} +1 -1
  15. package/dist/{VoiceTestcase-0887635a.mjs → VoiceTestcase-ab9c039b.mjs} +3 -3
  16. package/dist/{XMarkIcon-933bd730.mjs → XMarkIcon-0f8e2fe2.mjs} +1 -1
  17. package/dist/{api-6f243fe1.mjs → api-ee985d99.mjs} +1 -1
  18. package/dist/{main-b8626228.mjs → main-6023ab47.mjs} +1663 -1663
  19. package/dist/mgtwin.es.min.js +1 -1
  20. package/dist/mgtwin.umd.min.js +14 -14
  21. package/dist/style.css +1 -1
  22. package/dist/{voiceServices-15a48bfb.mjs → voiceServices-d8d5e7e1.mjs} +2 -2
  23. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { _ as ht, a as dt, L as ft } from "./LoadingSimulation-cf50d262.mjs";
2
- import { _ as gt, a as he, Q as O, M as nt } from "./Modal-58db3acb.mjs";
3
- import { d as M, r as m, H as X, o as l, c as r, a as e, u as B, y as fe, h as T, s as ge, t as H, b as i, f as z, i as P, I as le, F as ve, e as be, w as xe, J as vt, p as Z, g as Y, G as re, C as de, z as bt, K as xt, k as ce, n as W, q as V, m as ct, A as yt, L as ut, l as wt } from "./main-b8626228.mjs";
4
- import { _ as U } from "./_plugin-vue_export-helper-dad06003.mjs";
5
- import { p as K, g as me } from "./api-6f243fe1.mjs";
6
- import { i as D, s as _t, a as At, b as it, c as pe, r as G, d as ie, e as kt, p as lt, f as rt } from "./voiceServices-15a48bfb.mjs";
7
- import { r as St } from "./XMarkIcon-933bd730.mjs";
1
+ import { _ as ht, a as dt, L as pt } from "./LoadingSimulation-c9bde016.mjs";
2
+ import { _ as ft, a as pe, Q as ie, M as nt } from "./Modal-b41fbd83.mjs";
3
+ import { d as R, r as m, H as O, o as i, c as r, a as e, u as H, y as fe, h as T, s as ge, t as V, b as l, f as z, i as P, I as le, F as ve, e as be, w as xe, J as gt, p as K, g as Z, G as re, C as de, z as vt, K as bt, k as ce, n as X, q as $, m as ct, A as xt, L as yt, l as wt } from "./main-6023ab47.mjs";
4
+ import { _ as W } from "./_plugin-vue_export-helper-dad06003.mjs";
5
+ import { p as J, g as me } from "./api-ee985d99.mjs";
6
+ import { i as j, s as _t, a as At, b as it, c as he, r as G, d as ne, e as kt, p as lt, f as rt } from "./voiceServices-d8d5e7e1.mjs";
7
+ import { r as St } from "./XMarkIcon-0f8e2fe2.mjs";
8
8
  import "./loadernew-ac153a51.mjs";
9
9
  import "./_commonjsHelpers-92157f1b.mjs";
10
10
  const Ct = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Nt = ["href"], Lt = /* @__PURE__ */ e("img", {
@@ -15,28 +15,28 @@ const Ct = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
15
15
  Lt
16
16
  ], Tt = ["href"], Ft = /* @__PURE__ */ e("img", {
17
17
  class: "h-9 w-28 cursor-pointer md:w-36",
18
- src: gt,
18
+ src: ft,
19
19
  alt: "Aiguru Logo"
20
20
  }, null, -1), zt = [
21
21
  Ft
22
- ], Rt = /* @__PURE__ */ M({
22
+ ], Mt = /* @__PURE__ */ R({
23
23
  __name: "headerSimulation",
24
24
  setup(p) {
25
- const s = m(""), t = m("");
26
- return X === "prod" ? s.value = "https://genome.genpact.com" : s.value = "https://genome-dev.genpact.com", X === "prod" ? t.value = "https://genome.genpact.com/#aiguru" : t.value = "https://genome-dev.genpact.com/#aiguru", (g, a) => (l(), r("nav", Ct, [
25
+ const t = m(""), s = m("");
26
+ return O === "prod" ? t.value = "https://genome.genpact.com" : t.value = "https://genome-dev.genpact.com", O === "prod" ? s.value = "https://genome.genpact.com/#aiguru" : s.value = "https://genome-dev.genpact.com/#aiguru", (b, a) => (i(), r("nav", Ct, [
27
27
  e("a", {
28
28
  class: "px-2 md:px-0 lg:px-0",
29
- href: s.value,
29
+ href: t.value,
30
30
  target: "_blank"
31
31
  }, Pt, 8, Nt),
32
32
  e("a", {
33
33
  class: "px-2 md:px-0 lg:px-0",
34
- href: t.value,
34
+ href: s.value,
35
35
  target: "_blank"
36
36
  }, zt, 8, Tt)
37
37
  ]));
38
38
  }
39
- }), Mt = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, jt = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), Dt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
39
+ }), Rt = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, Dt = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), jt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
40
40
  /* @__PURE__ */ e("li", null, [
41
41
  /* @__PURE__ */ P(" Choose a "),
42
42
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "quiet space"),
@@ -75,29 +75,29 @@ const Ct = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
75
75
  /* @__PURE__ */ e("span", { class: "font-[600]" }, "10 minutes "),
76
76
  /* @__PURE__ */ P(", so plan accordingly. ")
77
77
  ])
78
- ], -1), qt = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, Et = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), It = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
78
+ ], -1), Et = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916] fontFormattingAMA" }, It = /* @__PURE__ */ e("div", { class: "text-lg md:text-xl font-[700]" }, "Please Note Before You Begin", -1), qt = /* @__PURE__ */ e("ul", { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 text-[#102345] text-sm md:text-base" }, [
79
79
  /* @__PURE__ */ e("li", null, "This simulation is expected to take approximately 15 minutes to complete."),
80
80
  /* @__PURE__ */ e("li", null, " Please ensure it is concluded within 30 minutes, as sessions exceeding this duration will automatically restart from the beginning ")
81
81
  ], -1), Ht = { class: "flex items-end justify-start" }, Bt = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, $t = { class: "w-full rounded-md px-3 py-2 text-lg md:text-xl font-bold text-black" }, Vt = { class: "w-full px-3 py-2 text-sm text-black md:text-base font-[550]" }, Qt = {
82
82
  key: 0,
83
83
  class: "fontFormattingAMA"
84
84
  }, Gt = /* @__PURE__ */ e("br", null, null, -1), Ot = ` You're about to step into a realistic, voice-based client conversation powered by AI.
85
- This is a role-play simulation designed to mirror real-world scenarios. Just follow the prompts, speak naturally, and let the AI guide you. Based on your responses, you’ll receive personalized feedback to help sharpen your client engagement skills.`, Xt = /* @__PURE__ */ M({
85
+ This is a role-play simulation designed to mirror real-world scenarios. Just follow the prompts, speak naturally, and let the AI guide you. Based on your responses, you’ll receive personalized feedback to help sharpen your client engagement skills.`, Xt = /* @__PURE__ */ R({
86
86
  __name: "greetingsSimulation",
87
87
  emits: ["callQuestion"],
88
- setup(p, { emit: s }) {
89
- const t = B(), g = m(!1), a = m(!1), c = () => {
90
- t.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && (t.question = "Let's start", t.beginFlag = !1, g.value = !0), t.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" ? (t.question = "Let's start", t.beginFlag = !1, a.value = !0) : (t.beginFlag = !1, t.question = "Let's start", s("callQuestion"));
91
- }, _ = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, x = ` Hi ${t.learnerName || "Expert"}, and welcome!`, o = ` Hi, ${t.learnerName || "Expert"}. Get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, b = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? _ : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? x : o), A = `Hi, get ready to test your ${t.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, h = ` AI Guru will ask you a few questions on '${t.skillNameForSimulation.trim() || "Unknown"} '. Please provide detailed and thoughtful answers to the best of your knowledge. At the end, you'll receive a feedback, outlining your strengths and improvement areas.`, d = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(t.simulationSkill) ? A : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(t.simulationSkill) ? Ot : h);
92
- return (v, f) => (l(), r("section", null, [
93
- T(he, { "is-visible": g.value }, {
88
+ setup(p, { emit: t }) {
89
+ const s = H(), b = m(!1), a = m(!1), u = () => {
90
+ s.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? (s.question = "Let's start", s.beginFlag = !1, b.value = !0) : s.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" ? (s.question = "Let's start", s.beginFlag = !1, a.value = !0) : (s.beginFlag = !1, s.question = "Let's start", t("callQuestion"));
91
+ }, y = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, v = ` Hi ${s.learnerName || "Expert"}, and welcome!`, o = ` Hi, ${s.learnerName || "Expert"}. Get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, x = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? y : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? v : o), _ = `Hi, get ready to test your ${s.skillNameForSimulation || "Unknown"} knowledge! Here’s what to expect:`, g = ` AI Guru will ask you a few questions on '${s.skillNameForSimulation.trim() || "Unknown"} '. Please provide detailed and thoughtful answers to the best of your knowledge. At the end, you'll receive a feedback, outlining your strengths and improvement areas.`, d = fe(() => ["32b7d6d8-f7a8-40a0-ab84-8784f25897ef"].includes(s.simulationSkill) ? _ : ["7bd03cb6-79ad-4e2a-8a8b-88dc16147369"].includes(s.simulationSkill) ? Ot : g);
92
+ return (h, c) => (i(), r("section", null, [
93
+ T(pe, { "is-visible": b.value }, {
94
94
  default: ge(() => [
95
- e("div", Mt, [
96
- jt,
95
+ e("div", Rt, [
97
96
  Dt,
97
+ jt,
98
98
  e("button", {
99
- onClick: f[0] || (f[0] = (u) => {
100
- g.value = !1, s("callQuestion");
99
+ onClick: c[0] || (c[0] = (f) => {
100
+ b.value = !1, t("callQuestion");
101
101
  }),
102
102
  type: "button",
103
103
  class: "bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700"
@@ -106,14 +106,14 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
106
106
  ]),
107
107
  _: 1
108
108
  }, 8, ["is-visible"]),
109
- T(he, { "is-visible": a.value }, {
109
+ T(pe, { "is-visible": a.value }, {
110
110
  default: ge(() => [
111
- e("div", qt, [
112
- Et,
111
+ e("div", Et, [
113
112
  It,
113
+ qt,
114
114
  e("button", {
115
- onClick: f[1] || (f[1] = (u) => {
116
- a.value = !1, s("callQuestion");
115
+ onClick: c[1] || (c[1] = (f) => {
116
+ a.value = !1, t("callQuestion");
117
117
  }),
118
118
  type: "button",
119
119
  class: "bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700"
@@ -124,22 +124,22 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
124
124
  }, 8, ["is-visible"]),
125
125
  e("div", Ht, [
126
126
  e("div", Bt, [
127
- e("div", $t, H(b.value), 1),
128
- e("div", Vt, H(d.value), 1)
127
+ e("div", $t, V(x.value), 1),
128
+ e("div", Vt, V(d.value), 1)
129
129
  ])
130
130
  ]),
131
- i(t).beginFlag ? (l(), r("span", Qt, [
131
+ l(s).beginFlag ? (i(), r("span", Qt, [
132
132
  e("button", {
133
133
  type: "button",
134
134
  id: "button",
135
- onClick: c,
135
+ onClick: u,
136
136
  class: "mt-4 bg-[#021c42] rounded-md px-4 py-1.5 text-center md:text-base text-sm text-white cursor-pointer italic hover:bg-blue-700 w-32"
137
137
  }, " Let's begin ")
138
138
  ])) : z("", !0),
139
139
  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FTyBj2oA+i/CHhnSNA0m3k02zWB7iFGkI/iO0V0leH/ALP+sapqaalHf3U80cQURiQkhRjtXuFACOu+Nl9QRXiF78CL+bWby/tfEUtsbiQuRHlTg9uK9wooA8L/AOFE63/0N95/38b/ABpsnwG1iWNo5PFl06MOVZ2IP617tRQByHgPwSnhDwqdFuJVvEaRnbevBz7V0VtpGm2coltrC2hkAwGSIA1dooAgurS2vYvKureOaPOdsihhn8ac8I+ytBGBGpQqu0Y28VLRQB5/4T+H174ft9ahutYmvBqAYLvJOzOa8/H7Oc6zGVNeKNuyCq4Ir6AooA8f8PfBzUdK162vr3xFcXtvEcvBKxZX9iDXp/8AYOkZ/wCQXZ/9+V/wrRooA8X8T/BC61/WLm5TW3htJH3JbY+RPoOldD4r+GL+I/Cuj6Mt95f9nhQXI+/ivR6KAKGlaVa6VZQ29tbxRlI1RmRAu4gYyav0UUAf/9k=", mt = (p) => (Z("data-v-cc5db4a2"), p = p(), Y(), p), Ut = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Jt = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Kt = ["innerHTML"], Zt = ["innerHTML"], Yt = {
142
+ }), Wt = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAB9AH0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVW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6VZQ29tbxRlI1RmRAu4gYyav0UUAf/9k=", ut = (p) => (K("data-v-cc5db4a2"), p = p(), Z(), p), Ut = { class: "fontFormattingAMA flex items-end justify-start py-2" }, Jt = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, Kt = ["innerHTML"], Zt = ["innerHTML"], Yt = {
143
143
  key: 0,
144
144
  class: "py-4"
145
145
  }, es = { class: "fontFormattingAMA px-2 py-1.5 md:px-6" }, ts = ["value", "disabled", "name"], ss = {
@@ -156,7 +156,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
156
156
  }, ls = {
157
157
  key: 2,
158
158
  class: "flex flex-col justify-start py-10"
159
- }, rs = /* @__PURE__ */ mt(() => /* @__PURE__ */ e("div", { class: "mb-4" }, " Add Agentic AI to your Digital Skills on Genome.ai and start mastering AI today! ", -1)), ds = /* @__PURE__ */ mt(() => /* @__PURE__ */ e("img", {
159
+ }, rs = /* @__PURE__ */ ut(() => /* @__PURE__ */ e("div", { class: "mb-4" }, " Add Agentic AI to your Digital Skills on Genome.ai and start mastering AI today! ", -1)), ds = /* @__PURE__ */ ut(() => /* @__PURE__ */ e("img", {
160
160
  class: "h-20 w-20",
161
161
  src: Wt,
162
162
  alt: "qr_code"
@@ -166,7 +166,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
166
166
  ], us = {
167
167
  key: 3,
168
168
  class: "flex flex-col justify-start items-start bg-gray-100 rounded-lg"
169
- }, ms = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, ps = /* @__PURE__ */ M({
169
+ }, ms = { class: "flex justify-start items-center md:gap-[40px] gap-[30px]" }, hs = /* @__PURE__ */ R({
170
170
  __name: "responseSimulation",
171
171
  props: {
172
172
  question: {
@@ -196,17 +196,17 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
196
196
  }
197
197
  },
198
198
  emits: ["char-typed"],
199
- setup(p, { emit: s }) {
200
- const t = p, g = m([]), a = m(!1), c = B(), _ = m("");
201
- let x = [], o = "";
202
- const b = async () => {
203
- x = o.split(""), _.value = "";
204
- for (let d = 0; d < x.length; d++)
205
- _.value += x[d], t.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > x.length && d % 30 && s("char-typed")) : d % 30 && s("char-typed"), await new Promise((v) => setTimeout(v, 60));
206
- }, A = () => {
207
- c.isRestart = !0, c.searchBoxdisable = !1, c.showVoiceComponent = !0, c.showSelectTypeConvesation = !1, c.showModelToggle = !0, c.isSpeechToggle = !1;
208
- }, h = fe(() => {
209
- const d = t.answer.replace(/[*#]/g, "").replace(
199
+ setup(p, { emit: t }) {
200
+ const s = p, b = m([]), a = m(!1), u = H(), y = m("");
201
+ let v = [], o = "";
202
+ const x = async () => {
203
+ v = o.split(""), y.value = "";
204
+ for (let d = 0; d < v.length; d++)
205
+ y.value += v[d], s.answer.includes("Feedback and Assessment") ? (console.log("Feedback and Assessment found"), o.length - 5 > v.length && d % 30 && t("char-typed")) : d % 30 && t("char-typed"), await new Promise((h) => setTimeout(h, 60));
206
+ }, _ = () => {
207
+ u.isRestart = !0, u.searchBoxdisable = !1, u.showVoiceComponent = !0, u.showSelectTypeConvesation = !1, u.showModelToggle = !0, u.isSpeechToggle = !1;
208
+ }, g = fe(() => {
209
+ const d = s.answer.replace(/[*#]/g, "").replace(
210
210
  /Assessment Rating & Feedback/g,
211
211
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
212
212
  ).replace(
@@ -237,18 +237,18 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
237
237
  /Model Solution/g,
238
238
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
239
239
  );
240
- (d.includes("Thank you for your participation!") || d.includes("Thank you for your participation")) && (c.searchBoxdisable = !1, a.value = !0), (d.includes("BEGIN ROLE PLAY") || d.includes("BEGIN ROLE PLAY.")) && (c.showSelectTypeConvesation = !0);
241
- const v = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
240
+ (d.includes("Thank you for your participation!") || d.includes("Thank you for your participation")) && (u.searchBoxdisable = !1, a.value = !0), (d.includes("BEGIN ROLE PLAY") || d.includes("BEGIN ROLE PLAY.")) && (u.showSelectTypeConvesation = !0);
241
+ const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
242
242
  if (d.includes("AI Guru")) {
243
243
  if (d.includes("AI Guru"))
244
- return console.log("aig found"), d.replace(v, (f, u, y) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${u}</a>`);
244
+ return console.log("aig found"), d.replace(h, (c, f, A) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${f}</a>`);
245
245
  } else
246
- return d.replace(v, (f, u, y) => `<a href="${y}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${u}</a>`);
246
+ return d.replace(h, (c, f, A) => `<a href="${A}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${f}</a>`);
247
247
  });
248
248
  return le(
249
- () => t.answer,
249
+ () => s.answer,
250
250
  () => {
251
- let d = t.answer.replace(/[*#]/g, "").replace(
251
+ let d = s.answer.replace(/[*#]/g, "").replace(
252
252
  /Assessment Rating & Feedback/g,
253
253
  '<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
254
254
  ).replace(
@@ -276,68 +276,68 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
276
276
  /Model Solution/g,
277
277
  '<div style="font-size: 16px; font-weight: bold;">Model Solution</div>'
278
278
  );
279
- const v = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
280
- d.includes("AI Guru") ? d = d.replace(v, (f, u, y) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${u}</a>`) : d = d.replace(v, (f, u, y) => `<a href="${y}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${u}</a>`), d.includes("Feedback and Assessment") && d.includes("END ROLE PLAY") ? (o = d.split("END ROLE PLAY")[0], console.log("END ROLE PLAY")) : o = d, c.showVoiceComponent && b();
279
+ const h = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
280
+ d.includes("AI Guru") ? d = d.replace(h, (c, f, A) => `<a href="https://genome.genpact.com/#aiguru" target="_blank" style="color: blue; text-decoration: underline; cursor:pointer;">${f}</a>`) : d = d.replace(h, (c, f, A) => `<a href="${A}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${f}</a>`), d.includes("Feedback and Assessment") && d.includes("END ROLE PLAY") ? (o = d.split("END ROLE PLAY")[0], console.log("END ROLE PLAY")) : o = d, u.showVoiceComponent && x();
281
281
  },
282
282
  { immediate: !0 }
283
- ), le(g, (d) => {
284
- c.question = (d ?? []).join(", ");
285
- }), (d, v) => (l(), r("div", Ut, [
283
+ ), le(b, (d) => {
284
+ u.question = (d ?? []).join(", ");
285
+ }), (d, h) => (i(), r("div", Ut, [
286
286
  e("div", Jt, [
287
- i(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && i(c).showVoiceComponent === !0 && i(c).conversations.length - 1 === t.ansId && !t.answer.includes("BEGIN ROLE PLAY") ? (l(), r("span", {
287
+ l(u).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(u).showVoiceComponent === !0 && l(u).conversations.length - 1 === s.ansId && !s.answer.includes("BEGIN ROLE PLAY") ? (i(), r("span", {
288
288
  key: 0,
289
289
  class: "fontFormattingAMA answer-link",
290
- innerHTML: _.value
291
- }, null, 8, Kt)) : (l(), r("span", {
290
+ innerHTML: y.value
291
+ }, null, 8, Kt)) : (i(), r("span", {
292
292
  key: 1,
293
293
  class: "fontFormattingAMA answer-link",
294
- innerHTML: h.value
294
+ innerHTML: g.value
295
295
  }, null, 8, Zt)),
296
296
  e("div", null, [
297
- p.optionsArray.length && i(c).mcqType === "multi_choice" ? (l(), r("div", Yt, [
298
- (l(!0), r(ve, null, be(p.optionsArray, (f, u) => (l(), r("div", {
299
- key: u,
297
+ p.optionsArray.length && l(u).mcqType === "multi_choice" ? (i(), r("div", Yt, [
298
+ (i(!0), r(ve, null, be(p.optionsArray, (c, f) => (i(), r("div", {
299
+ key: f,
300
300
  class: "italic"
301
301
  }, [
302
302
  e("div", es, [
303
303
  xe(e("input", {
304
304
  class: "mr-4 cursor-pointer",
305
305
  type: "checkbox",
306
- value: f,
307
- "onUpdate:modelValue": v[0] || (v[0] = (y) => g.value = y),
308
- disabled: i(c).conversations.length - 1 !== t.ansId,
309
- name: h.value
306
+ value: c,
307
+ "onUpdate:modelValue": h[0] || (h[0] = (A) => b.value = A),
308
+ disabled: l(u).conversations.length - 1 !== s.ansId,
309
+ name: g.value
310
310
  }, null, 8, ts), [
311
- [vt, g.value]
311
+ [gt, b.value]
312
312
  ]),
313
- e("label", ss, H(f), 1)
313
+ e("label", ss, V(c), 1)
314
314
  ])
315
315
  ]))), 128))
316
- ])) : p.optionsArray.length ? (l(), r("div", as, [
317
- (l(!0), r(ve, null, be(p.optionsArray, (f, u) => (l(), r("div", {
318
- key: u,
316
+ ])) : p.optionsArray.length ? (i(), r("div", as, [
317
+ (i(!0), r(ve, null, be(p.optionsArray, (c, f) => (i(), r("div", {
318
+ key: f,
319
319
  class: "italic"
320
320
  }, [
321
321
  e("div", os, [
322
322
  e("input", {
323
323
  class: "mr-4 cursor-pointer",
324
324
  type: "radio",
325
- onClick: (y) => i(c).question = String(p.optionsArray[u]),
326
- disabled: i(c).conversations.length - 1 !== t.ansId,
327
- name: h.value
325
+ onClick: (A) => l(u).question = String(p.optionsArray[f]),
326
+ disabled: l(u).conversations.length - 1 !== s.ansId,
327
+ name: g.value
328
328
  }, null, 8, ns),
329
- e("label", is, H(f), 1)
329
+ e("label", is, V(c), 1)
330
330
  ])
331
331
  ]))), 128))
332
332
  ])) : z("", !0)
333
333
  ]),
334
- a.value && i(c).simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? (l(), r("div", ls, cs)) : z("", !0),
335
- i(c).isSpeechToggle && i(c).showSelectTypeConvesation && i(c).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && i(c).conversations.length - 1 === t.ansId ? (l(), r("div", us, [
334
+ a.value && l(u).simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? (i(), r("div", ls, cs)) : z("", !0),
335
+ l(u).isSpeechToggle && l(u).showSelectTypeConvesation && l(u).simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && l(u).conversations.length - 1 === s.ansId ? (i(), r("div", us, [
336
336
  e("div", ms, [
337
337
  e("button", {
338
338
  type: "button",
339
339
  id: "button",
340
- onClick: v[1] || (v[1] = (f) => A()),
340
+ onClick: h[1] || (h[1] = (c) => _()),
341
341
  class: "mt-4 cursor-pointer bg-[#021c42] hover:bg-blue-700 italic rounded-md px-4 py-2 text-center text-white text-[16px]"
342
342
  }, " Start Conversation ")
343
343
  ])
@@ -346,7 +346,7 @@ This is a role-play simulation designed to mirror real-world scenarios. Just fol
346
346
  ]));
347
347
  }
348
348
  });
349
- const hs = /* @__PURE__ */ U(ps, [["__scopeId", "data-v-cc5db4a2"]]), fs = { class: "flex justify-end items-end py-3" }, gs = { class: "max-w-[80%]" }, vs = { class: "fontFormattingAMA w-fit text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg" }, bs = /* @__PURE__ */ M({
349
+ const ps = /* @__PURE__ */ W(hs, [["__scopeId", "data-v-cc5db4a2"]]), fs = { class: "flex justify-end items-end py-3" }, gs = { class: "max-w-[80%]" }, vs = ["innerHTML"], bs = /* @__PURE__ */ R({
350
350
  __name: "learnerSimulation",
351
351
  props: {
352
352
  question: {
@@ -359,20 +359,23 @@ const hs = /* @__PURE__ */ U(ps, [["__scopeId", "data-v-cc5db4a2"]]), fs = { cla
359
359
  }
360
360
  },
361
361
  setup(p) {
362
- return (s, t) => (l(), r("div", fs, [
362
+ return (t, s) => (i(), r("div", fs, [
363
363
  e("div", gs, [
364
- e("div", vs, H(p.question), 1)
364
+ e("div", {
365
+ class: "w-fit fontFormattingAMA text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3",
366
+ innerHTML: p.question.replace(/\n/g, "<br>")
367
+ }, null, 8, vs)
365
368
  ])
366
369
  ]));
367
370
  }
368
- }), xs = (p) => (Z("data-v-347ad6de"), p = p(), Y(), p), ys = { class: "flex w-full flex-col items-start justify-start bg-white" }, ws = { class: "bot-typing-animation gap-1" }, _s = { class: "block w-full text-lg italic text-gray-800" }, As = /* @__PURE__ */ xs(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
371
+ }), xs = (p) => (K("data-v-347ad6de"), p = p(), Z(), p), ys = { class: "flex w-full flex-col items-start justify-start bg-white" }, ws = { class: "bot-typing-animation gap-1" }, _s = { class: "block w-full text-lg italic text-gray-800" }, As = /* @__PURE__ */ xs(() => /* @__PURE__ */ e("span", { class: "dot-animation" }, [
369
372
  /* @__PURE__ */ e("span", null, "."),
370
373
  /* @__PURE__ */ e("span", null, "."),
371
374
  /* @__PURE__ */ e("span", null, ".")
372
- ], -1)), ks = /* @__PURE__ */ re('<div class="block w-full max-w-full items-stretch" data-v-347ad6de><div class="flex animate-pulse items-start justify-start space-x-4" data-v-347ad6de><div class="flex-1 space-y-6 py-1" data-v-347ad6de><div class="h-2 w-full rounded bg-gray-300" data-v-347ad6de></div><div class="space-y-3" data-v-347ad6de><div class="grid grid-cols-3 gap-4" data-v-347ad6de><div class="col-span-2 h-2 rounded bg-gray-300" data-v-347ad6de></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-347ad6de></div></div><div class="h-2 rounded bg-gray-300" data-v-347ad6de></div></div></div></div></div>', 1), Ss = /* @__PURE__ */ M({
375
+ ], -1)), ks = /* @__PURE__ */ re('<div class="block w-full max-w-full items-stretch" data-v-347ad6de><div class="flex animate-pulse items-start justify-start space-x-4" data-v-347ad6de><div class="flex-1 space-y-6 py-1" data-v-347ad6de><div class="h-2 w-full rounded bg-gray-300" data-v-347ad6de></div><div class="space-y-3" data-v-347ad6de><div class="grid grid-cols-3 gap-4" data-v-347ad6de><div class="col-span-2 h-2 rounded bg-gray-300" data-v-347ad6de></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-347ad6de></div></div><div class="h-2 rounded bg-gray-300" data-v-347ad6de></div></div></div></div></div>', 1), Ss = /* @__PURE__ */ R({
373
376
  __name: "LoadingResponse",
374
377
  setup(p) {
375
- const s = m("Generating response"), t = m([
378
+ const t = m("Generating response"), s = m([
376
379
  "This may take a few seconds",
377
380
  "Fetching the best response for you",
378
381
  "Thinking... give me a moment",
@@ -382,101 +385,101 @@ const hs = /* @__PURE__ */ U(ps, [["__scopeId", "data-v-cc5db4a2"]]), fs = { cla
382
385
  "Compiling a response for you"
383
386
  ]);
384
387
  return setTimeout(() => {
385
- const g = Math.floor(Math.random() * t.value.length);
386
- s.value = t.value[g];
387
- }, 15e3), (g, a) => (l(), r("div", ys, [
388
+ const b = Math.floor(Math.random() * s.value.length);
389
+ t.value = s.value[b];
390
+ }, 15e3), (b, a) => (i(), r("div", ys, [
388
391
  e("div", ws, [
389
- e("div", _s, H(s.value), 1),
392
+ e("div", _s, V(t.value), 1),
390
393
  As
391
394
  ]),
392
395
  ks
393
396
  ]));
394
397
  }
395
398
  });
396
- const Cs = /* @__PURE__ */ U(Ss, [["__scopeId", "data-v-347ad6de"]]), Ns = { class: "flex mx-auto justify-end items-end py-3" }, Ls = { class: "max-w-[80%]" }, Ps = {
399
+ const Cs = /* @__PURE__ */ W(Ss, [["__scopeId", "data-v-347ad6de"]]), Ns = { class: "flex mx-auto justify-end items-end py-3" }, Ls = { class: "max-w-[80%]" }, Ps = {
397
400
  key: 0,
398
401
  class: "fontFormattingAMA w-fit text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg"
399
- }, Ts = /* @__PURE__ */ M({
402
+ }, Ts = /* @__PURE__ */ R({
400
403
  __name: "QuestionStreaming",
401
404
  setup(p) {
402
- const s = B();
403
- return (t, g) => (l(), r("div", Ns, [
405
+ const t = H();
406
+ return (s, b) => (i(), r("div", Ns, [
404
407
  e("div", Ls, [
405
- i(s).userSpeechText.toLowerCase().includes("play") && i(s).userSpeechText.length < 10 ? z("", !0) : (l(), r("div", Ps, H(i(s).userSpeechText), 1))
408
+ l(t).userSpeechText.toLowerCase().includes("play") && l(t).userSpeechText.length < 10 ? z("", !0) : (i(), r("div", Ps, V(l(t).userSpeechText), 1))
406
409
  ])
407
410
  ]));
408
411
  }
409
- }), Fs = { key: 0 }, zs = { key: 1 }, Rs = {
412
+ }), Fs = { key: 0 }, zs = { key: 1 }, Ms = {
410
413
  key: 0,
411
414
  class: "flex"
412
- }, Ms = {
415
+ }, Rs = {
413
416
  key: 1,
414
417
  name: "askQuestion"
415
- }, js = /* @__PURE__ */ M({
418
+ }, Ds = /* @__PURE__ */ R({
416
419
  __name: "conversationSimulation",
417
420
  setup(p) {
418
- let s = m(""), t = m("");
419
- s.value = '<a style="color:#00AECF;"', t.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
420
- const g = B(), a = m(), c = () => {
421
+ let t = m(""), s = m("");
422
+ t.value = '<a style="color:#00AECF;"', s.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
423
+ const b = H(), a = m(), u = () => {
421
424
  a.value.scrollTo(0, a.value.scrollHeight);
422
425
  };
423
426
  return de(() => {
424
427
  var o;
425
- const _ = document.getElementsByName("askQuestion"), x = Array.from(_);
426
- _.length && ((o = x == null ? void 0 : x.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" })), window.addEventListener("custom-event", c);
427
- }), bt(() => {
428
+ const y = document.getElementsByName("askQuestion"), v = Array.from(y);
429
+ y.length && ((o = v == null ? void 0 : v.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" })), window.addEventListener("custom-event", u);
430
+ }), vt(() => {
428
431
  var o;
429
- const _ = document.getElementsByName("askQuestion"), x = Array.from(_);
430
- _.length && ((o = x == null ? void 0 : x.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" }));
431
- }), xt(() => {
432
- window.removeEventListener("custom-event", c);
433
- }), (_, x) => (l(), r("div", {
432
+ const y = document.getElementsByName("askQuestion"), v = Array.from(y);
433
+ y.length && ((o = v == null ? void 0 : v.pop()) == null || o.scrollIntoView({ behavior: "smooth", block: "center" }));
434
+ }), bt(() => {
435
+ window.removeEventListener("custom-event", u);
436
+ }), (y, v) => (i(), r("div", {
434
437
  ref_key: "nestedElement",
435
438
  ref: a,
436
439
  class: "smooth-scroll overflow-auto md:px-6 px-2"
437
440
  }, [
438
441
  T(Xt, {
439
- onCallQuestion: x[0] || (x[0] = (o) => _.$emit("callQuestion"))
442
+ onCallQuestion: v[0] || (v[0] = (o) => y.$emit("callQuestion"))
440
443
  }),
441
- (l(!0), r(ve, null, be(i(g).conversations, (o, b) => (l(), r("div", { key: b }, [
442
- o.question ? (l(), r("div", Fs, [
444
+ (i(!0), r(ve, null, be(l(b).conversations, (o, x) => (i(), r("div", { key: x }, [
445
+ o.question ? (i(), r("div", Fs, [
443
446
  T(bs, {
444
447
  question: o == null ? void 0 : o.question,
445
448
  c2question: o == null ? void 0 : o.c2question,
446
449
  "show-feedback": o == null ? void 0 : o.showFeedback,
447
- id: `qId${b}`,
450
+ id: `qId${x}`,
448
451
  name: "askQuestion",
449
- "que-id": b
452
+ "que-id": x
450
453
  }, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
451
454
  ])) : z("", !0),
452
- o.answer ? (l(), r("div", zs, [
453
- T(hs, {
455
+ o.answer ? (i(), r("div", zs, [
456
+ T(ps, {
454
457
  question: o == null ? void 0 : o.question,
455
458
  c2question: o == null ? void 0 : o.c2question,
456
459
  "show-sources": o == null ? void 0 : o.showSources,
457
460
  questionId: o.id,
458
- answer: o.answer.replaceAll("<a", i(s)).replaceAll("<ul", i(t)),
461
+ answer: o.answer.replaceAll("<a", l(t)).replaceAll("<ul", l(s)),
459
462
  "show-feedback": o.showFeedback,
460
463
  "related-ques": o == null ? void 0 : o.relatedQues,
461
464
  "options-array": o == null ? void 0 : o.optionsArray,
462
- "ans-id": b,
463
- onCharTyped: c
465
+ "ans-id": x,
466
+ onCharTyped: u
464
467
  }, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
465
468
  ])) : z("", !0)
466
469
  ]))), 128)),
467
- i(g).dotLoader ? (l(), r("div", Rs, [
470
+ l(b).dotLoader ? (i(), r("div", Ms, [
468
471
  T(Cs)
469
472
  ])) : z("", !0),
470
- i(g).userspeaking ? (l(), r("div", Ms, [
473
+ l(b).userspeaking ? (i(), r("div", Rs, [
471
474
  T(Ts)
472
475
  ])) : z("", !0)
473
476
  ], 512));
474
477
  }
475
478
  });
476
- const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { class: "flex items-center gap-4 py-2 rounded-full z-10" }, Es = {
479
+ const js = /* @__PURE__ */ W(Ds, [["__scopeId", "data-v-c14e6f9c"]]), Es = { class: "flex items-center gap-4 py-2 rounded-full z-10" }, Is = {
477
480
  key: 0,
478
481
  class: "flex items-center"
479
- }, Is = {
482
+ }, qs = {
480
483
  width: "30",
481
484
  height: "30",
482
485
  viewBox: "0 0 36 24",
@@ -526,187 +529,191 @@ const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { cla
526
529
  })
527
530
  ], -1), Ys = [
528
531
  Zs
529
- ], ea = /* @__PURE__ */ M({
532
+ ], ea = /* @__PURE__ */ R({
530
533
  __name: "NewVoiceConversation",
531
534
  setup(p) {
532
- const s = B(), t = ce(), g = m(""), a = m(!1), c = m("Turn on mic"), _ = () => {
533
- a.value === !1 ? s.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, _t(), D.value = "user", c.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, rt(), At(), D.value = "user", c.value = "Turn off mic") : s.elevenLabs ? (console.log("mic enabled false"), it(), a.value = !1, c.value = "Turn on mic") : (console.log("mic enabled false"), pe(), a.value = !1, c.value = "Turn on mic");
534
- }, x = () => {
535
- s.elevenLabs ? (console.log("closeConversation 11 labs"), it(), D.value = "none", a.value = !1) : (console.log("closeConversation"), pe(), rt(), D.value = "none", a.value = !1);
535
+ const t = H(), s = ce(), b = m(""), a = m(!1), u = m("Turn on mic"), y = () => {
536
+ a.value === !1 ? t.elevenLabs ? (console.log("mic enabled true 11labs"), a.value = !0, _t(), j.value = "user", u.value = "Turn off mic") : (console.log("mic enabled true"), a.value = !0, rt(), At(), j.value = "user", u.value = "Turn off mic") : t.elevenLabs ? (console.log("mic enabled false"), it(), a.value = !1, u.value = "Turn on mic") : (console.log("mic enabled false"), he(), a.value = !1, u.value = "Turn on mic");
537
+ }, v = () => {
538
+ t.elevenLabs ? (console.log("closeConversation 11 labs"), it(), j.value = "none", a.value = !1) : (console.log("closeConversation"), he(), rt(), j.value = "none", a.value = !1);
536
539
  }, o = async () => {
537
- var b, A, h, d, v, f;
540
+ var x, _, g, d, h, c;
538
541
  try {
539
- const u = {
540
- question: G.value || ie.value
542
+ const f = {
543
+ question: G.value || ne.value
541
544
  };
542
- s.conversations.push(u), s.dotLoader = !0, s.question = "";
543
- const y = {
544
- past_messages: s.past_messages,
545
- question: G.value || ie.value,
545
+ t.conversations.push(f), t.dotLoader = !0, t.question = "";
546
+ const A = {
547
+ past_messages: t.past_messages,
548
+ question: G.value || ne.value,
546
549
  bandCode: "4A",
547
550
  userGenomeFunction: "HR",
548
551
  userGenomeRole: "Consultant",
549
552
  skillId: "7bd03cb6-79ad-4e2a-8a8b-88dc16147369"
550
- }, F = await K("/sqlTest", y);
551
- if (D.value = "bot", g.value = (A = (b = F == null ? void 0 : F.data) == null ? void 0 : b.body) == null ? void 0 : A.answer, g.value === "") {
553
+ }, F = await J("/sqlTest", A);
554
+ if (j.value = "bot", b.value = (_ = (x = F == null ? void 0 : F.data) == null ? void 0 : x.body) == null ? void 0 : _.answer, b.value === "") {
552
555
  console.log("in the if case calling api again");
553
- const q = await K("/sqlTest", y);
554
- s.addConversation((h = q.data) == null ? void 0 : h.body, "new");
556
+ const E = await J("/sqlTest", A);
557
+ t.addConversation((g = E.data) == null ? void 0 : g.body, "new");
555
558
  } else
556
- console.log("in the else case"), s.addConversation((d = F.data) == null ? void 0 : d.body, "new");
557
- if (s.dotLoader = !1, s.elevenLabs)
558
- await kt(g.value.replace(/[*#]/g, ""));
559
- else if (g.value.includes("Feedback and Assessment"))
560
- if (pe(), a.value = !1, g.value.includes("END ROLE PLAY")) {
561
- const q = g.value.split("END ROLE PLAY")[0];
562
- if (q.length < 0) {
563
- s.showVoiceComponent = !1;
559
+ console.log("in the else case"), t.addConversation((d = F.data) == null ? void 0 : d.body, "new");
560
+ if (t.dotLoader = !1, t.elevenLabs)
561
+ await kt(b.value.replace(/[*#]/g, ""));
562
+ else if (b.value.includes("Feedback and Assessment"))
563
+ if (he(), a.value = !1, b.value.includes("END ROLE PLAY")) {
564
+ const E = b.value.split("END ROLE PLAY")[0];
565
+ if (E.length < 0) {
566
+ t.showVoiceComponent = !1;
564
567
  return;
565
568
  }
566
- await lt(q.replace(/[*#]/g, "")), s.showVoiceComponent = !1;
569
+ await lt(E.replace(/[*#]/g, "")), t.showVoiceComponent = !1;
567
570
  } else
568
- s.showVoiceComponent = !1;
571
+ t.showVoiceComponent = !1;
569
572
  else
570
- await lt(g.value.replace(/[*#]/g, ""));
571
- } catch (u) {
572
- if (console.error(u), V.isAxiosError(u)) {
573
- const y = u;
574
- console.log("Error found!"), console.error((v = y.response) == null ? void 0 : v.data), t.setError(((f = y.response) == null ? void 0 : f.data).message);
573
+ await lt(b.value.replace(/[*#]/g, ""));
574
+ } catch (f) {
575
+ if (console.error(f), $.isAxiosError(f)) {
576
+ const A = f;
577
+ console.log("Error found!"), console.error((h = A.response) == null ? void 0 : h.data), s.setError(((c = A.response) == null ? void 0 : c.data).message);
575
578
  } else
576
- t.setError("There was an issue, please contact helpmate");
579
+ s.setError("There was an issue, please contact helpmate");
577
580
  }
578
581
  };
579
- return le(G, async (b) => {
580
- if (b) {
581
- if (console.log("Recognized text:", b), G.value.toLowerCase().includes("play") && G.value.length < 10) {
582
+ return le(G, async (x) => {
583
+ if (x) {
584
+ if (console.log("Recognized text:", x), G.value.toLowerCase().includes("play") && G.value.length < 10) {
582
585
  console.log("play command detected, ignoring input");
583
586
  return;
584
587
  }
585
- D.value = "listening", s.userspeaking = !1, await o(), G.value = "";
588
+ j.value = "listening", t.userspeaking = !1, await o(), G.value = "";
586
589
  }
587
- }), le(ie, async (b) => {
588
- b && (console.log("Recognized text:", b), D.value = "listening", await o(), ie.value = "");
589
- }), (b, A) => (l(), r("div", qs, [
590
- i(D) === "bot" ? (l(), r("div", Es, [
590
+ }), le(ne, async (x) => {
591
+ x && (console.log("Recognized text:", x), j.value = "listening", await o(), ne.value = "");
592
+ }), (x, _) => (i(), r("div", Es, [
593
+ l(j) === "bot" ? (i(), r("div", Is, [
591
594
  e("span", null, [
592
- (l(), r("svg", Is, Bs))
595
+ (i(), r("svg", qs, Bs))
593
596
  ])
594
- ])) : i(D) === "user" ? (l(), r("div", $s, [
597
+ ])) : l(j) === "user" ? (i(), r("div", $s, [
595
598
  e("span", null, [
596
- (l(), r("svg", Vs, Gs))
599
+ (i(), r("svg", Vs, Gs))
597
600
  ])
598
- ])) : i(D) === "listening" ? (l(), r("div", Os, Ws)) : z("", !0),
601
+ ])) : l(j) === "listening" ? (i(), r("div", Os, Ws)) : z("", !0),
599
602
  e("div", {
600
- class: W([a.value ? "" : "animate-pulse", "tooltip"])
603
+ class: X([a.value ? "" : "animate-pulse", "tooltip"])
601
604
  }, [
602
- e("span", Us, H(c.value), 1),
603
- a.value ? (l(), r("button", {
605
+ e("span", Us, V(u.value), 1),
606
+ a.value ? (i(), r("button", {
604
607
  key: 0,
605
608
  class: "rounded-full bg-white p-2 transition hover:bg-gray-300",
606
- onClick: A[0] || (A[0] = (h) => _())
607
- }, Ks)) : (l(), r("button", {
609
+ onClick: _[0] || (_[0] = (g) => y())
610
+ }, Ks)) : (i(), r("button", {
608
611
  key: 1,
609
612
  class: "rounded-full bg-white p-2 transition hover:bg-gray-300",
610
- onClick: A[1] || (A[1] = (h) => _())
613
+ onClick: _[1] || (_[1] = (g) => y())
611
614
  }, Ys))
612
615
  ], 2),
613
616
  e("button", {
614
617
  class: "rounded-full bg-white p-2 hover:bg-gray-300",
615
- onClick: A[2] || (A[2] = (h) => x())
618
+ onClick: _[2] || (_[2] = (g) => v())
616
619
  }, [
617
- T(i(St), { class: "h-[10px] w-[10px] text-gray-700" })
620
+ T(l(St), { class: "h-[10px] w-[10px] text-gray-700" })
618
621
  ])
619
622
  ]));
620
623
  }
621
- }), $ = (p) => (Z("data-v-70512682"), p = p(), Y(), p), ta = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, sa = { class: "py-2" }, aa = { class: "flex" }, oa = { class: "z-1 relative w-full" }, na = { class: "flex justify-between my-2 w-full" }, ia = /* @__PURE__ */ $(() => /* @__PURE__ */ e("div", null, null, -1)), la = {
624
+ }), B = (p) => (K("data-v-bc339815"), p = p(), Z(), p), ta = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, sa = { class: "py-2" }, aa = { class: "flex" }, oa = { class: "z-1 relative w-full" }, na = { class: "flex justify-between my-2 w-full" }, ia = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", null, null, -1)), la = {
622
625
  key: 0,
623
626
  class: "flex justify-center bg-genpact-darkest-blue px-4 rounded-full"
624
- }, ra = { class: "relative w-full" }, da = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ca = { class: "tooltip" }, ua = /* @__PURE__ */ $(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), ma = /* @__PURE__ */ $(() => /* @__PURE__ */ e("path", {
627
+ }, ra = { class: "relative w-full" }, da = { class: "absolute inset-y-0 left-0 flex items-center pl-3" }, ca = { class: "tooltip" }, ua = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Restart", -1)), ma = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
625
628
  d: "M12 4C8.229 4 6.343 4 5.172 5.172C4.001 6.344 4 8.229 4 12V18C4 18.943 4 19.414 4.293 19.707C4.586 20 5.057 20 6 20H12C15.771 20 17.657 20 18.828 18.828C19.999 17.656 20 15.771 20 12",
626
629
  stroke: "currentColor",
627
630
  "stroke-width": "2"
628
- }, null, -1)), pa = /* @__PURE__ */ $(() => /* @__PURE__ */ e("path", {
631
+ }, null, -1)), ha = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", {
629
632
  d: "M9 10H15M9 14H12M19 8V2M16 5H22",
630
633
  stroke: "currentColor",
631
634
  "stroke-width": "2",
632
635
  "stroke-linecap": "round",
633
636
  "stroke-linejoin": "round"
634
- }, null, -1)), ha = [
637
+ }, null, -1)), pa = [
635
638
  ma,
636
- pa
637
- ], fa = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ga = { key: 0 }, va = ["disabled"], ba = /* @__PURE__ */ $(() => /* @__PURE__ */ e("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), xa = [
639
+ ha
640
+ ], fa = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ga = { key: 0 }, va = ["disabled"], ba = /* @__PURE__ */ B(() => /* @__PURE__ */ e("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), xa = [
638
641
  ba
639
642
  ], ya = {
640
643
  key: 1,
641
644
  class: "tooltip"
642
- }, wa = /* @__PURE__ */ $(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Processing", -1)), _a = /* @__PURE__ */ $(() => /* @__PURE__ */ e("img", {
645
+ }, wa = /* @__PURE__ */ B(() => /* @__PURE__ */ e("span", { class: "tooltiptext text-genpact-darkest-teal" }, "Processing", -1)), _a = /* @__PURE__ */ B(() => /* @__PURE__ */ e("img", {
643
646
  class: "w-7 h-7",
644
647
  src: dt,
645
648
  alt: "watingIcon"
646
649
  }, null, -1)), Aa = [
647
650
  wa,
648
651
  _a
649
- ], ka = { class: "flex justify-start gap-2 md:gap-1" }, Sa = ["disabled"], Ca = /* @__PURE__ */ $(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-xs font-bold text-gray-500 md:text-sm" }, [
652
+ ], ka = { class: "flex justify-start gap-2 md:gap-1" }, Sa = ["disabled"], Ca = /* @__PURE__ */ B(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-xs font-bold text-gray-500 md:text-sm" }, [
650
653
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
651
- ], -1)), Na = /* @__PURE__ */ M({
654
+ ], -1)), Na = /* @__PURE__ */ R({
652
655
  __name: "NewQuestionSimulation",
653
- setup(p, { expose: s }) {
654
- const t = B(), g = ce(), a = m(""), c = m("");
655
- t.question = "";
656
- const _ = m(null), x = m(!1), o = m(O), b = m(!1), A = m(0);
657
- c.value = t.recognizedText, de(() => {
658
- _.value.focus();
656
+ setup(p, { expose: t }) {
657
+ const s = H(), b = ce(), a = m(""), u = m("");
658
+ s.question = "";
659
+ const y = m(null);
660
+ m(!1), m(ie);
661
+ const v = m(!1), o = m(0);
662
+ u.value = s.recognizedText, de(() => {
663
+ y.value.focus();
659
664
  });
660
- const h = () => {
665
+ const x = () => {
661
666
  window.location.reload();
662
- }, d = (f) => {
663
- const u = f.length;
664
- o.value = O - u, x.value = u >= O;
665
- }, v = async () => {
666
- var f, u, y, F, q, te, se, ae, oe, ne;
667
+ }, _ = async () => {
668
+ var h, c, f, A, F, E, ee, te, se, ae, oe;
667
669
  try {
668
- if (t.question.trim().length < 1) {
670
+ if (s.question.trim().length < 1) {
669
671
  console.log("Please enter answer!");
670
672
  return;
671
673
  }
672
- b.value = !0, t.dotLoader = !0;
674
+ v.value = !0, s.dotLoader = !0;
673
675
  const C = {
674
- question: t.question || t.recognizedText
676
+ question: s.question || s.recognizedText
675
677
  };
676
- t.conversations.push(C);
678
+ s.conversations.push(C);
677
679
  const N = m("");
678
- N.value = t.question || t.recognizedText, t.question = "";
679
- const R = {
680
+ N.value = s.question || s.recognizedText, s.question = "", y.value && (y.value.style.height = "auto");
681
+ const M = {
680
682
  ohr_id: a.value,
681
- past_messages: t.past_messages,
682
- question: N.value || t.recognizedText,
683
- bandCode: t.band_code,
684
- userGenomeFunction: t.genomeFunctionValue,
685
- userGenomeRole: t.genomeRoleValue,
686
- skillId: t.simulationSkill || "937e84ef-e95d-4327-9afe-e7be2bf420eb"
687
- }, L = await K("/sqlTest", R);
688
- if (A.value += (u = (f = L.data) == null ? void 0 : f.body) == null ? void 0 : u.totalTokenCount, console.log("Token Count:", A.value), a.value = (F = (y = L.data) == null ? void 0 : y.body) == null ? void 0 : F.ohr, ((te = (q = L == null ? void 0 : L.data) == null ? void 0 : q.body) == null ? void 0 : te.answer) === "") {
683
+ past_messages: s.past_messages,
684
+ question: N.value || s.recognizedText,
685
+ bandCode: s.band_code,
686
+ userGenomeFunction: s.genomeFunctionValue,
687
+ userGenomeRole: s.genomeRoleValue,
688
+ skillId: s.simulationSkill || "937e84ef-e95d-4327-9afe-e7be2bf420eb"
689
+ }, L = await J("/sqlTest", M);
690
+ if (o.value += (c = (h = L.data) == null ? void 0 : h.body) == null ? void 0 : c.totalTokenCount, console.log("Token Count:", o.value), a.value = (A = (f = L.data) == null ? void 0 : f.body) == null ? void 0 : A.ohr, ((E = (F = L == null ? void 0 : L.data) == null ? void 0 : F.body) == null ? void 0 : E.answer) === "") {
689
691
  console.log("in the if case calling api again");
690
- const j = await K("/sqlTest", R);
691
- t.addConversation((se = j.data) == null ? void 0 : se.body, "new");
692
+ const D = await J("/sqlTest", M);
693
+ s.addConversation((ee = D.data) == null ? void 0 : ee.body, "new");
692
694
  } else
693
- console.log("in the else case"), t.addConversation((ae = L.data) == null ? void 0 : ae.body, "new");
694
- b.value = !1, t.dotLoader = !1, t.recognizedText = "";
695
+ console.log("in the else case"), s.addConversation((te = L.data) == null ? void 0 : te.body, "new");
696
+ v.value = !1, s.dotLoader = !1, s.recognizedText = "";
695
697
  } catch (C) {
696
- if (console.error(C), t.dotLoader = !1, V.isAxiosError(C)) {
698
+ if (console.error(C), s.dotLoader = !1, v.value = !0, $.isAxiosError(C)) {
697
699
  const N = C;
698
- console.log("Error found!"), console.error((oe = N.response) == null ? void 0 : oe.data), g.setError(((ne = N.response) == null ? void 0 : ne.data).message);
700
+ console.log("Error found!"), console.error((se = N.response) == null ? void 0 : se.data), b.setError((oe = (ae = N.response) == null ? void 0 : ae.data) == null ? void 0 : oe.message);
699
701
  } else
700
- g.setError("There was an issue, please contact helpmate");
702
+ b.setError("There was an issue, please contact helpmate");
701
703
  }
704
+ }, g = (h) => {
705
+ h.key === "Enter" && !h.shiftKey && (h.preventDefault(), _());
706
+ }, d = (h) => {
707
+ const c = h.target;
708
+ c.style.height = "auto", c.style.height = c.scrollHeight + "px";
702
709
  };
703
- return s({ sendQuestion: v }), (f, u) => (l(), r("div", ta, [
710
+ return t({ sendQuestion: _ }), (h, c) => (i(), r("div", ta, [
704
711
  e("div", sa, [
705
712
  e("div", aa, [
706
713
  e("div", oa, [
707
714
  e("div", na, [
708
715
  ia,
709
- i(t).showVoiceComponent ? (l(), r("div", la, [
716
+ l(s).showVoiceComponent ? (i(), r("div", la, [
710
717
  T(ea)
711
718
  ])) : z("", !0)
712
719
  ]),
@@ -714,8 +721,8 @@ const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { cla
714
721
  e("div", da, [
715
722
  e("div", ca, [
716
723
  ua,
717
- (l(), r("svg", {
718
- onClick: h,
724
+ (i(), r("svg", {
725
+ onClick: x,
719
726
  class: "ml-2 h-7 w-7 rounded",
720
727
  id: "newTopicDisable",
721
728
  width: "7",
@@ -724,18 +731,18 @@ const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { cla
724
731
  fill: "none",
725
732
  xmlns: "http://www.w3.org/2000/svg",
726
733
  title: "restart"
727
- }, ha))
734
+ }, pa))
728
735
  ])
729
736
  ]),
730
737
  e("div", fa, [
731
- b.value ? (l(), r("div", ya, Aa)) : (l(), r("div", ga, [
732
- (l(), r("svg", {
733
- disabled: i(t).beginFlag === !0,
734
- class: W([
735
- i(t).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
738
+ v.value ? (i(), r("div", ya, Aa)) : (i(), r("div", ga, [
739
+ (i(), r("svg", {
740
+ disabled: l(s).beginFlag === !0,
741
+ class: X([
742
+ l(s).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
736
743
  "bi bi-send ml-2 h-7 w-7 rotate-45 rounded"
737
744
  ]),
738
- onClick: u[0] || (u[0] = (y) => i(t).searchBoxdisable === !1 || i(t).beginFlag === !0 ? "" : v()),
745
+ onClick: c[0] || (c[0] = (f) => l(s).searchBoxdisable === !1 || l(s).beginFlag === !0 ? "" : _()),
739
746
  xmlns: "http://www.w3.org/2000/svg",
740
747
  fill: "currentColor",
741
748
  viewBox: "0 0 16 16"
@@ -743,25 +750,24 @@ const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { cla
743
750
  ]))
744
751
  ]),
745
752
  e("div", ka, [
746
- xe(e("input", {
747
- onPaste: u[1] || (u[1] = yt(() => {
753
+ xe(e("textarea", {
754
+ onPaste: c[1] || (c[1] = xt(() => {
748
755
  }, ["prevent"])),
749
- onKeyup: [
750
- u[2] || (u[2] = ut((y) => b.value ? "" : v(), ["enter"])),
751
- u[4] || (u[4] = (y) => d(i(t).question))
752
- ],
753
- disabled: i(t).beginFlag === !0 || i(t).searchBoxdisable === !1,
754
- class: W([
755
- i(t).beginFlag === !0 || i(t).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
756
- "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] px-[70px]"
756
+ onKeydown: c[2] || (c[2] = (f) => v.value ? "" : g(f)),
757
+ disabled: l(s).searchBoxdisable === !1 || l(s).beginFlag === !0,
758
+ "onUpdate:modelValue": c[3] || (c[3] = (f) => l(s).question = f),
759
+ class: X([
760
+ "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] px-[70px]",
761
+ l(s).beginFlag === !0 || l(s).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white"
757
762
  ]),
758
- "onUpdate:modelValue": u[3] || (u[3] = (y) => i(t).question = y),
759
763
  placeholder: "Write your answer here...",
760
- type: "text",
761
764
  ref_key: "AiSearch",
762
- ref: _
765
+ ref: y,
766
+ rows: "1",
767
+ onInput: c[4] || (c[4] = (f) => d(f)),
768
+ style: { overflow: "hidden", transition: "height 0.2s" }
763
769
  }, null, 42, Sa), [
764
- [ct, i(t).question]
770
+ [ct, l(s).question]
765
771
  ])
766
772
  ])
767
773
  ]),
@@ -772,9 +778,9 @@ const Ds = /* @__PURE__ */ U(js, [["__scopeId", "data-v-c14e6f9c"]]), qs = { cla
772
778
  ]));
773
779
  }
774
780
  });
775
- const La = /* @__PURE__ */ U(Na, [["__scopeId", "data-v-70512682"]]), ue = (p) => (Z("data-v-6c0980b5"), p = p(), Y(), p), Pa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Ta = { class: "py-2" }, Fa = { class: "flex" }, za = { class: "z-1 relative w-full" }, Ra = { class: "relative w-full" }, Ma = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ja = { key: 0 }, Da = ["disabled"], qa = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), Ea = [
776
- qa
777
- ], Ia = {
781
+ const La = /* @__PURE__ */ W(Na, [["__scopeId", "data-v-bc339815"]]), ue = (p) => (K("data-v-6c0980b5"), p = p(), Z(), p), Pa = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Ta = { class: "py-2" }, Fa = { class: "flex" }, za = { class: "z-1 relative w-full" }, Ma = { class: "relative w-full" }, Ra = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, Da = { key: 0 }, ja = ["disabled"], Ea = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), Ia = [
782
+ Ea
783
+ ], qa = {
778
784
  key: 1,
779
785
  class: "tooltip"
780
786
  }, Ha = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("span", { class: "tooltiptext fontFormattingAMA" }, "Waiting for response", -1)), Ba = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("img", {
@@ -786,97 +792,97 @@ const La = /* @__PURE__ */ U(Na, [["__scopeId", "data-v-70512682"]]), ue = (p) =
786
792
  Ba
787
793
  ], Va = { class: "flex justify-start gap-2 md:gap-1" }, Qa = ["disabled"], Ga = /* @__PURE__ */ ue(() => /* @__PURE__ */ e("div", { class: "pt-1 text-start font-sans text-[0.8125rem] md:text-[0.9375rem] font-bold text-gray-500" }, [
788
794
  /* @__PURE__ */ e("div", null, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
789
- ], -1)), Oa = /* @__PURE__ */ M({
795
+ ], -1)), Oa = /* @__PURE__ */ R({
790
796
  __name: "NewMDMQuestionSimulation",
791
797
  setup(p) {
792
- const s = B(), t = ce(), g = m("");
793
- s.question = "";
794
- const a = m(null), c = m(!1), _ = m(O), x = m(!1);
795
- g.value = s.recognizedText, de(() => {
798
+ const t = H(), s = ce(), b = m("");
799
+ t.question = "";
800
+ const a = m(null), u = m(!1), y = m(ie), v = m(!1);
801
+ b.value = t.recognizedText, de(() => {
796
802
  a.value.focus();
797
803
  });
798
- const o = (A) => {
799
- const h = A.length;
800
- _.value = O - h, c.value = h >= O;
801
- }, b = async () => {
802
- var A, h, d;
803
- console.log("options fdsfdscdzxfsdv", s.recognizedText);
804
+ const o = (_) => {
805
+ const g = _.length;
806
+ y.value = ie - g, u.value = g >= ie;
807
+ }, x = async () => {
808
+ var _, g, d;
809
+ console.log("options fdsfdscdzxfsdv", t.recognizedText);
804
810
  try {
805
- if (console.log("options fdsfdscdzxfsdv", s.recognizedText), s.question.trim().length < 1) {
811
+ if (console.log("options fdsfdscdzxfsdv", t.recognizedText), t.question.trim().length < 1) {
806
812
  console.log("Please enter answer!");
807
813
  return;
808
814
  }
809
- x.value = !0, s.dotLoader = !0;
810
- const v = {
811
- question: s.question || s.recognizedText
815
+ v.value = !0, t.dotLoader = !0;
816
+ const h = {
817
+ question: t.question || t.recognizedText
812
818
  };
813
- console.log("ques", v), s.conversations.push(v);
814
- const f = m("");
815
- f.value = s.question || s.recognizedText, s.question = "";
816
- const u = {
817
- assessmentId: s.simulationSkill,
818
- question: f.value,
819
- past_messages: s.past_messages,
820
- prompt: s.generatedPrompt,
821
- assessmentType: s.assessmentType,
819
+ console.log("ques", h), t.conversations.push(h);
820
+ const c = m("");
821
+ c.value = t.question || t.recognizedText, t.question = "";
822
+ const f = {
823
+ assessmentId: t.simulationSkill,
824
+ question: c.value,
825
+ past_messages: t.past_messages,
826
+ prompt: t.generatedPrompt,
827
+ assessmentType: t.assessmentType,
822
828
  userFunction: "HR",
823
- empSeniority: s.empSeniority,
824
- functionRole: s.functionRole,
825
- userBand: s.band_code,
826
- storeFinalFeedback: s.storeFinalFeedback,
827
- storeFinalScore: s.storeFinalScore
829
+ empSeniority: t.empSeniority,
830
+ functionRole: t.functionRole,
831
+ userBand: t.band_code,
832
+ storeFinalFeedback: t.storeFinalFeedback,
833
+ storeFinalScore: t.storeFinalScore
828
834
  };
829
- console.log("Payload for MDM1==> ", u);
830
- let y;
831
- X === "prod" ? y = "/ManualExportActivity" : y = "/fetchCompletionDemo";
832
- const F = await K(y, u);
833
- s.addConversation((A = F.data) == null ? void 0 : A.body, "new"), x.value = !1, s.dotLoader = !1, s.recognizedText = "";
834
- } catch (v) {
835
- if (console.error(v), V.isAxiosError(v)) {
836
- const f = v;
837
- console.log("Error found!"), console.error((h = f.response) == null ? void 0 : h.data), t.setError(((d = f.response) == null ? void 0 : d.data).message);
835
+ console.log("Payload for MDM1==> ", f);
836
+ let A;
837
+ O === "prod" ? A = "/ManualExportActivity" : A = "/fetchCompletionDemo";
838
+ const F = await J(A, f);
839
+ t.addConversation((_ = F.data) == null ? void 0 : _.body, "new"), v.value = !1, t.dotLoader = !1, t.recognizedText = "";
840
+ } catch (h) {
841
+ if (console.error(h), $.isAxiosError(h)) {
842
+ const c = h;
843
+ console.log("Error found!"), console.error((g = c.response) == null ? void 0 : g.data), s.setError(((d = c.response) == null ? void 0 : d.data).message);
838
844
  } else
839
- t.setError("There was an issue, please contact helpmate");
845
+ s.setError("There was an issue, please contact helpmate");
840
846
  }
841
847
  };
842
- return (A, h) => (l(), r("div", Pa, [
848
+ return (_, g) => (i(), r("div", Pa, [
843
849
  e("div", Ta, [
844
850
  e("div", Fa, [
845
851
  e("div", za, [
846
- e("div", Ra, [
847
- e("div", Ma, [
848
- x.value ? (l(), r("div", Ia, $a)) : (l(), r("div", ja, [
849
- (l(), r("svg", {
850
- disabled: i(s).beginFlag === !0,
851
- class: W([
852
- i(s).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
852
+ e("div", Ma, [
853
+ e("div", Ra, [
854
+ v.value ? (i(), r("div", qa, $a)) : (i(), r("div", Da, [
855
+ (i(), r("svg", {
856
+ disabled: l(t).beginFlag === !0,
857
+ class: X([
858
+ l(t).beginFlag === !0 ? "cursor-not-allowed text-gray-600" : "cursor-pointer",
853
859
  "bi bi-send ml-2 h-7 w-7 rotate-45 rounded"
854
860
  ]),
855
- onClick: h[0] || (h[0] = (d) => i(s).searchBoxdisable === !1 || i(s).beginFlag === !0 ? "" : b()),
861
+ onClick: g[0] || (g[0] = (d) => l(t).searchBoxdisable === !1 || l(t).beginFlag === !0 ? "" : x()),
856
862
  xmlns: "http://www.w3.org/2000/svg",
857
863
  fill: "currentColor",
858
864
  viewBox: "0 0 16 16"
859
- }, Ea, 10, Da))
865
+ }, Ia, 10, ja))
860
866
  ]))
861
867
  ]),
862
868
  e("div", Va, [
863
869
  xe(e("input", {
864
870
  onKeyup: [
865
- h[1] || (h[1] = ut((d) => x.value ? "" : b(), ["enter"])),
866
- h[3] || (h[3] = (d) => o(i(s).question))
871
+ g[1] || (g[1] = yt((d) => v.value ? "" : x(), ["enter"])),
872
+ g[3] || (g[3] = (d) => o(l(t).question))
867
873
  ],
868
- disabled: i(s).beginFlag === !0 || i(s).searchBoxdisable === !1,
869
- class: W([
870
- i(s).beginFlag === !0 || i(s).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
874
+ disabled: l(t).beginFlag === !0 || l(t).searchBoxdisable === !1,
875
+ class: X([
876
+ l(t).beginFlag === !0 || l(t).searchBoxdisable === !1 ? "cursor-not-allowed bg-[#e5e7eb]" : "bg-white",
871
877
  "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] pl-[30px] pr-[70px]"
872
878
  ]),
873
- "onUpdate:modelValue": h[2] || (h[2] = (d) => i(s).question = d),
879
+ "onUpdate:modelValue": g[2] || (g[2] = (d) => l(t).question = d),
874
880
  placeholder: "Write your answer here...",
875
881
  type: "text",
876
882
  ref_key: "AiSearch",
877
883
  ref: a
878
884
  }, null, 42, Qa), [
879
- [ct, i(s).question]
885
+ [ct, l(t).question]
880
886
  ])
881
887
  ])
882
888
  ]),
@@ -887,82 +893,82 @@ const La = /* @__PURE__ */ U(Na, [["__scopeId", "data-v-70512682"]]), ue = (p) =
887
893
  ]));
888
894
  }
889
895
  });
890
- const Xa = /* @__PURE__ */ U(Oa, [["__scopeId", "data-v-6c0980b5"]]), ee = (p) => (Z("data-v-2f3d502d"), p = p(), Y(), p), Wa = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ua = {
896
+ const Xa = /* @__PURE__ */ W(Oa, [["__scopeId", "data-v-6c0980b5"]]), Y = (p) => (K("data-v-2f3d502d"), p = p(), Z(), p), Wa = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, Ua = {
891
897
  key: 0,
892
898
  class: "flex flex-col items-center justify-center gap-4"
893
- }, Ja = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Ka = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ", -1)), Za = [
899
+ }, Ja = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Ka = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ", -1)), Za = [
894
900
  Ja,
895
901
  Ka
896
902
  ], Ya = {
897
903
  key: 1,
898
904
  class: "flex flex-col items-center justify-center gap-4"
899
- }, eo = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Invalid URL", -1)), to = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " Invalid URL or assessment not found. Please check the URL or contact support. ", -1)), so = [
905
+ }, eo = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "text-2xl font-[700]" }, "Invalid URL", -1)), to = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " Invalid URL or assessment not found. Please check the URL or contact support. ", -1)), so = [
900
906
  eo,
901
907
  to
902
908
  ], ao = {
903
909
  key: 1,
904
910
  className: "h-screen flex flex-col items-stretch"
905
- }, oo = { class: "z-20" }, no = /* @__PURE__ */ ee(() => /* @__PURE__ */ e("div", { class: "mt-6" }, null, -1)), io = { class: "flex h-full items-stretch overflow-hidden" }, lo = { class: "mx-auto w-11/12 bg-white" }, ro = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, co = {
911
+ }, oo = { class: "z-20" }, no = /* @__PURE__ */ Y(() => /* @__PURE__ */ e("div", { class: "mt-6" }, null, -1)), io = { class: "flex h-full items-stretch overflow-hidden" }, lo = { class: "mx-auto w-11/12 bg-white" }, ro = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, co = {
906
912
  key: 0,
907
913
  class: "relative"
908
914
  }, uo = {
909
915
  key: 1,
910
916
  class: "relative"
911
- }, mo = /* @__PURE__ */ M({
917
+ }, mo = /* @__PURE__ */ R({
912
918
  __name: "AssessmentSimulation",
913
919
  setup(p) {
914
- const s = m(!0), t = m(!1), g = m(!1);
920
+ const t = m(!0), s = m(!1), b = m(!1);
915
921
  m(!1), m(!1);
916
- const a = B(), c = ce(), _ = m(""), x = m(""), o = m(""), b = m(""), A = localStorage.getItem("accessToken");
917
- let h = "";
922
+ const a = H(), u = ce(), y = m(""), v = m(""), o = m(""), x = m(""), _ = localStorage.getItem("accessToken");
923
+ let g = "";
918
924
  const d = m("");
919
- let v = "", f = "";
920
- const u = m(), y = m(!1), F = new URL(window.location.href), q = F.searchParams.get("skillId") || F.searchParams.get("assessmentId");
921
- x.value = F.searchParams.get("mode") ?? "", a.simulationSkill = q ?? "";
922
- const te = ["703331197", "703380812", "703331909", "703363051", "703319578"];
925
+ let h = "", c = "";
926
+ const f = m(), A = m(!1), F = new URL(window.location.href), E = F.searchParams.get("skillId") || F.searchParams.get("assessmentId");
927
+ v.value = F.searchParams.get("mode") ?? "", a.simulationSkill = E ?? "";
928
+ const ee = ["703331197", "703380812", "703331909", "703363051", "703319578"];
923
929
  de(async () => {
924
- s.value = !0, await se(), await oe();
930
+ t.value = !0, await te(), await ae();
925
931
  });
926
- const se = async () => {
927
- var C, N, R, L, E, j, I;
932
+ const te = async () => {
933
+ var C, N, M, L, I, D, q;
928
934
  try {
929
935
  const S = await me(
930
936
  `/getLearnerData?forSimulation=true&skillForSimulation=${a.simulationSkill}`
931
937
  );
932
- a.initialize(S.data), a.assessmentQuestion || (console.log("getAssessmentDetails========================>"), await ae()), s.value = !1, a.simulationSkill === "937e84ef-e95d-4327-9afe-e7be2bf420eb" ? a.skillNameForSimulation = "GenpactNext" : a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ea" || a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? a.skillNameForSimulation = "Agentic AI" : a.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? a.skillNameForSimulation = "Data" : a.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" && (a.skillNameForSimulation = "SLDP Simulation");
938
+ a.initialize(S.data), a.assessmentQuestion || (console.log("getAssessmentDetails========================>"), await se()), t.value = !1, a.simulationSkill === "937e84ef-e95d-4327-9afe-e7be2bf420eb" ? a.skillNameForSimulation = "GenpactNext" : a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ea" || a.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? a.skillNameForSimulation = "Agentic AI" : a.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" ? a.skillNameForSimulation = "Data" : a.simulationSkill === "25f8e44f-b83e-42d6-a168-b0e1fb83b26a" && (a.skillNameForSimulation = "SLDP Simulation");
933
939
  } catch (S) {
934
- if (console.error(S), s.value = !1, V.isAxiosError(S) && ((C = S.response) != null && C.status) || S && typeof S == "object" && "response" in S && S.response && typeof S.response == "object" && "status" in S.response && S.response.status) {
940
+ if (console.error(S), t.value = !1, $.isAxiosError(S) && ((C = S.response) != null && C.status) || S && typeof S == "object" && "response" in S && S.response && typeof S.response == "object" && "status" in S.response && S.response.status) {
935
941
  const k = S;
936
- if (console.log("Error found!"), console.error((N = k.response) == null ? void 0 : N.data), ((R = k.response) == null ? void 0 : R.status) === 424 || ((L = k.response) == null ? void 0 : L.status) === 425 || ((E = k.response) == null ? void 0 : E.status) === 400) {
937
- b.value = (j = k.response) == null ? void 0 : j.status, console.log("errorCode value", b.value), g.value = !0;
942
+ if (console.log("Error found!"), console.error((N = k.response) == null ? void 0 : N.data), ((M = k.response) == null ? void 0 : M.status) === 424 || ((L = k.response) == null ? void 0 : L.status) === 425 || ((I = k.response) == null ? void 0 : I.status) === 400) {
943
+ x.value = (D = k.response) == null ? void 0 : D.status, console.log("errorCode value", x.value), b.value = !0;
938
944
  return;
939
945
  }
940
- c.setError(((I = k.response) == null ? void 0 : I.data).message);
946
+ u.setError(((q = k.response) == null ? void 0 : q.data).message);
941
947
  } else
942
- c.setError("There was an issue, please contact helpmate");
948
+ u.setError("There was an issue, please contact helpmate");
943
949
  }
944
- }, ae = async () => {
945
- var C, N, R, L, E, j, I, S, k, J, ye, we, _e, Ae, ke, Se, Ce, Ne, Le, Pe, Te, Fe, ze, Re, Me, je, De, qe, Ee, Ie, He, Be, $e, Ve, Qe, Ge, Oe, Xe, We, Ue, Je, Ke, Ze, Ye, et, tt, st, at;
950
+ }, se = async () => {
951
+ var C, N, M, L, I, D, q, S, k, U, ye, we, _e, Ae, ke, Se, Ce, Ne, Le, Pe, Te, Fe, ze, Me, Re, De, je, Ee, Ie, qe, He, Be, $e, Ve, Qe, Ge, Oe, Xe, We, Ue, Je, Ke, Ze, Ye, et, tt, st, at;
946
952
  console.log("Start getAssessmentDetails");
947
953
  try {
948
- X === "prod" ? h = `https://api-v2.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}` : h = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}`;
949
- const n = await me(h);
950
- _.value = (N = (C = n == null ? void 0 : n.data) == null ? void 0 : C.data) == null ? void 0 : N.name, a.skillNameForSimulation = _.value, a.generatedPrompt = (L = (R = n == null ? void 0 : n.data) == null ? void 0 : R.data) == null ? void 0 : L.generatedPrompt, a.assessmentType = (j = (E = n == null ? void 0 : n.data) == null ? void 0 : E.data) == null ? void 0 : j.assessmentType, o.value = (S = (I = n == null ? void 0 : n.data) == null ? void 0 : I.data) == null ? void 0 : S.status, y.value = (J = (k = n == null ? void 0 : n.data) == null ? void 0 : k.data) == null ? void 0 : J.editMode, a.empSeniority = (we = (ye = n == null ? void 0 : n.data) == null ? void 0 : ye.data) == null ? void 0 : we.empSeniority, a.functionRole = (Ae = (_e = n == null ? void 0 : n.data) == null ? void 0 : _e.data) == null ? void 0 : Ae.functionRole, v = (Se = (ke = n == null ? void 0 : n.data) == null ? void 0 : ke.data) == null ? void 0 : Se.accessBand, f = (Ne = (Ce = n == null ? void 0 : n.data) == null ? void 0 : Ce.data) == null ? void 0 : Ne.accessOhrList;
954
+ O === "prod" ? g = `https://api-v2.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}` : g = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${a.simulationSkill}`;
955
+ const n = await me(g);
956
+ y.value = (N = (C = n == null ? void 0 : n.data) == null ? void 0 : C.data) == null ? void 0 : N.name, a.skillNameForSimulation = y.value, a.generatedPrompt = (L = (M = n == null ? void 0 : n.data) == null ? void 0 : M.data) == null ? void 0 : L.generatedPrompt, a.assessmentType = (D = (I = n == null ? void 0 : n.data) == null ? void 0 : I.data) == null ? void 0 : D.assessmentType, o.value = (S = (q = n == null ? void 0 : n.data) == null ? void 0 : q.data) == null ? void 0 : S.status, A.value = (U = (k = n == null ? void 0 : n.data) == null ? void 0 : k.data) == null ? void 0 : U.editMode, a.empSeniority = (we = (ye = n == null ? void 0 : n.data) == null ? void 0 : ye.data) == null ? void 0 : we.empSeniority, a.functionRole = (Ae = (_e = n == null ? void 0 : n.data) == null ? void 0 : _e.data) == null ? void 0 : Ae.functionRole, h = (Se = (ke = n == null ? void 0 : n.data) == null ? void 0 : ke.data) == null ? void 0 : Se.accessBand, c = (Ne = (Ce = n == null ? void 0 : n.data) == null ? void 0 : Ce.data) == null ? void 0 : Ne.accessOhrList;
951
957
  const Q = (Pe = (Le = n == null ? void 0 : n.data) == null ? void 0 : Le.data) == null ? void 0 : Pe.createdBy;
952
- if (a.mcqType = (Fe = (Te = n == null ? void 0 : n.data) == null ? void 0 : Te.data) == null ? void 0 : Fe.mcqTypes, a.storeFinalFeedback = (Re = (ze = n == null ? void 0 : n.data) == null ? void 0 : ze.data) == null ? void 0 : Re.storeFinalFeedback, a.storeFinalScore = (je = (Me = n == null ? void 0 : n.data) == null ? void 0 : Me.data) == null ? void 0 : je.storeFinalScore, o.value === "inactive")
953
- t.value = !0;
958
+ if (a.mcqType = (Fe = (Te = n == null ? void 0 : n.data) == null ? void 0 : Te.data) == null ? void 0 : Fe.mcqTypes, a.storeFinalFeedback = (Me = (ze = n == null ? void 0 : n.data) == null ? void 0 : ze.data) == null ? void 0 : Me.storeFinalFeedback, a.storeFinalScore = (De = (Re = n == null ? void 0 : n.data) == null ? void 0 : Re.data) == null ? void 0 : De.storeFinalScore, o.value === "inactive")
959
+ s.value = !0;
954
960
  else if (o.value === "draft")
955
- x.value !== nt.DRAFT && (t.value = !0);
956
- else if (o.value === "active" && y.value && x.value === nt.DRAFT) {
957
- X === "prod" ? h = `https://api-v2.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}` : h = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}`;
958
- const w = await me(h);
959
- a.generatedPrompt = (qe = (De = w == null ? void 0 : w.data) == null ? void 0 : De.data) == null ? void 0 : qe.generatedPrompt, a.assessmentType = (Ie = (Ee = w == null ? void 0 : w.data) == null ? void 0 : Ee.data) == null ? void 0 : Ie.assessmentType, a.empSeniority = (Be = (He = w == null ? void 0 : w.data) == null ? void 0 : He.data) == null ? void 0 : Be.empSeniority, a.functionRole = (Ve = ($e = w == null ? void 0 : w.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.functionRole, a.storeFinalFeedback = (Ge = (Qe = w == null ? void 0 : w.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalFeedback, a.storeFinalScore = (Xe = (Oe = w == null ? void 0 : w.data) == null ? void 0 : Oe.data) == null ? void 0 : Xe.storeFinalScore, v = (Ue = (We = w == null ? void 0 : w.data) == null ? void 0 : We.data) == null ? void 0 : Ue.accessBand, f = (Ke = (Je = w == null ? void 0 : w.data) == null ? void 0 : Je.data) == null ? void 0 : Ke.accessOhrList;
961
+ v.value !== nt.DRAFT && (s.value = !0);
962
+ else if (o.value === "active" && A.value && v.value === nt.DRAFT) {
963
+ O === "prod" ? g = `https://api-v2.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}` : g = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getDraftAssessmentDetailsById?assessmentId=${a.simulationSkill}`;
964
+ const w = await me(g);
965
+ a.generatedPrompt = (Ee = (je = w == null ? void 0 : w.data) == null ? void 0 : je.data) == null ? void 0 : Ee.generatedPrompt, a.assessmentType = (qe = (Ie = w == null ? void 0 : w.data) == null ? void 0 : Ie.data) == null ? void 0 : qe.assessmentType, a.empSeniority = (Be = (He = w == null ? void 0 : w.data) == null ? void 0 : He.data) == null ? void 0 : Be.empSeniority, a.functionRole = (Ve = ($e = w == null ? void 0 : w.data) == null ? void 0 : $e.data) == null ? void 0 : Ve.functionRole, a.storeFinalFeedback = (Ge = (Qe = w == null ? void 0 : w.data) == null ? void 0 : Qe.data) == null ? void 0 : Ge.storeFinalFeedback, a.storeFinalScore = (Xe = (Oe = w == null ? void 0 : w.data) == null ? void 0 : Oe.data) == null ? void 0 : Xe.storeFinalScore, h = (Ue = (We = w == null ? void 0 : w.data) == null ? void 0 : We.data) == null ? void 0 : Ue.accessBand, c = (Ke = (Je = w == null ? void 0 : w.data) == null ? void 0 : Je.data) == null ? void 0 : Ke.accessOhrList;
960
966
  }
961
- const pt = a == null ? void 0 : a.band_code, ot = (Ze = v == null ? void 0 : v.split(",")) == null ? void 0 : Ze.map((w) => w.trim());
962
- if (Q === (a == null ? void 0 : a.ohr) || te.includes(a == null ? void 0 : a.ohr))
967
+ const mt = a == null ? void 0 : a.band_code, ot = (Ze = h == null ? void 0 : h.split(",")) == null ? void 0 : Ze.map((w) => w.trim());
968
+ if (Q === (a == null ? void 0 : a.ohr) || ee.includes(a == null ? void 0 : a.ohr))
963
969
  console.log("User has access to this assessment.");
964
970
  else {
965
- if (ot.length === 0 && f.length === 0)
971
+ if (ot.length === 0 && c.length === 0)
966
972
  throw console.log("Both bands and exceptionOHR are empty. Access denied."), {
967
973
  response: {
968
974
  status: 424,
@@ -971,7 +977,7 @@ const Xa = /* @__PURE__ */ U(Oa, [["__scopeId", "data-v-6c0980b5"]]), ee = (p) =
971
977
  }
972
978
  }
973
979
  };
974
- if (ot.includes(pt) || f.includes(a == null ? void 0 : a.ohr))
980
+ if (ot.includes(mt) || c.includes(a == null ? void 0 : a.ohr))
975
981
  console.log("User has access to this assessment.");
976
982
  else
977
983
  throw console.log("User does not have access to this assessment."), {
@@ -985,70 +991,70 @@ const Xa = /* @__PURE__ */ U(Oa, [["__scopeId", "data-v-6c0980b5"]]), ee = (p) =
985
991
  }
986
992
  console.log("end getAssessmentDetails");
987
993
  } catch (n) {
988
- if (console.error(n), s.value = !1, V.isAxiosError(n) && ((Ye = n.response) != null && Ye.status) || n && typeof n == "object" && "response" in n && n.response && typeof n.response == "object" && "status" in n.response && n.response.status) {
994
+ if (console.error(n), t.value = !1, $.isAxiosError(n) && ((Ye = n.response) != null && Ye.status) || n && typeof n == "object" && "response" in n && n.response && typeof n.response == "object" && "status" in n.response && n.response.status) {
989
995
  const Q = n;
990
996
  if (console.log("Error found!"), console.error((et = Q.response) == null ? void 0 : et.data), ((tt = Q.response) == null ? void 0 : tt.status) === 424 || ((st = Q.response) == null ? void 0 : st.status) === 425) {
991
- g.value = !0;
997
+ b.value = !0;
992
998
  return;
993
999
  }
994
- c.setError(((at = Q.response) == null ? void 0 : at.data).message);
1000
+ u.setError(((at = Q.response) == null ? void 0 : at.data).message);
995
1001
  } else
996
- c.setError("There was an issue, please contact helpmate");
1002
+ u.setError("There was an issue, please contact helpmate");
997
1003
  }
998
- }, oe = async () => {
999
- var C, N, R, L, E, j, I, S;
1004
+ }, ae = async () => {
1005
+ var C, N, M, L, I, D, q, S;
1000
1006
  try {
1001
- X === "prod" ? d.value = "https://api-v2.genpact.com/api/delphi/v2/myprofile" : d.value = "https://api-v2-dev.genpact.com/api/delphi/v2/myprofile";
1002
- const k = await V({
1007
+ O === "prod" ? d.value = "https://api-v2.genpact.com/api/delphi/v2/myprofile" : d.value = "https://api-v2-dev.genpact.com/api/delphi/v2/myprofile";
1008
+ const k = await $({
1003
1009
  url: d.value,
1004
1010
  headers: {
1005
- authorization: `Bearer ${A}`,
1011
+ authorization: `Bearer ${_}`,
1006
1012
  "content-type": "application/json"
1007
1013
  },
1008
1014
  method: "get"
1009
1015
  });
1010
- a.genomeFunctionValue = (R = (N = (C = k == null ? void 0 : k.data) == null ? void 0 : C.role_function) == null ? void 0 : N.function) == null ? void 0 : R.name, a.genomeRoleValue = (j = (E = (L = k == null ? void 0 : k.data) == null ? void 0 : L.role_function) == null ? void 0 : E.role) == null ? void 0 : j.name;
1016
+ a.genomeFunctionValue = (M = (N = (C = k == null ? void 0 : k.data) == null ? void 0 : C.role_function) == null ? void 0 : N.function) == null ? void 0 : M.name, a.genomeRoleValue = (D = (I = (L = k == null ? void 0 : k.data) == null ? void 0 : L.role_function) == null ? void 0 : I.role) == null ? void 0 : D.name;
1011
1017
  } catch (k) {
1012
- if (console.error(k), s.value = !1, V.isAxiosError(k)) {
1013
- const J = k;
1014
- console.log("Error found!"), console.error((I = J.response) == null ? void 0 : I.data), c.setError(((S = J.response) == null ? void 0 : S.data).message);
1018
+ if (console.error(k), t.value = !1, $.isAxiosError(k)) {
1019
+ const U = k;
1020
+ console.log("Error found!"), console.error((q = U.response) == null ? void 0 : q.data), u.setError(((S = U.response) == null ? void 0 : S.data).message);
1015
1021
  } else
1016
- c.setError("There was an issue, please contact helpmate");
1022
+ u.setError("There was an issue, please contact helpmate");
1017
1023
  }
1018
- }, ne = () => {
1024
+ }, oe = () => {
1019
1025
  var C;
1020
- (C = u.value) == null || C.sendQuestion();
1026
+ (C = f.value) == null || C.sendQuestion();
1021
1027
  };
1022
- return (C, N) => (l(), r("section", null, [
1023
- T(he, { "is-visible": g.value }, {
1028
+ return (C, N) => (i(), r("section", null, [
1029
+ T(pe, { "is-visible": b.value }, {
1024
1030
  default: ge(() => [
1025
1031
  e("div", Wa, [
1026
- b.value === 424 || b.value === "425" ? (l(), r("div", Ua, Za)) : z("", !0),
1027
- b.value === 400 ? (l(), r("div", Ya, so)) : z("", !0)
1032
+ x.value === 424 || x.value === "425" ? (i(), r("div", Ua, Za)) : z("", !0),
1033
+ x.value === 400 ? (i(), r("div", Ya, so)) : z("", !0)
1028
1034
  ])
1029
1035
  ]),
1030
1036
  _: 1
1031
1037
  }, 8, ["is-visible"]),
1032
1038
  e("div", null, [
1033
- s.value ? (l(), wt(ft, { key: 0 })) : (l(), r("main", ao, [
1039
+ t.value ? (i(), wt(pt, { key: 0 })) : (i(), r("main", ao, [
1034
1040
  e("div", oo, [
1035
- T(Rt)
1041
+ T(Mt)
1036
1042
  ]),
1037
1043
  no,
1038
1044
  e("div", io, [
1039
1045
  e("div", lo, [
1040
1046
  e("div", ro, [
1041
- T(Ds, { onCallQuestion: ne }),
1047
+ T(js, { onCallQuestion: oe }),
1042
1048
  e("div", {
1043
- class: W(i(a).showVoiceComponent === !0 ? "mt-[160px]" : "mt-[120px]")
1049
+ class: X(l(a).showVoiceComponent === !0 ? "mt-[160px]" : "mt-[120px]")
1044
1050
  }, null, 2)
1045
1051
  ]),
1046
- i(a).assessmentQuestion ? (l(), r("div", co, [
1052
+ l(a).assessmentQuestion ? (i(), r("div", co, [
1047
1053
  T(La, {
1048
1054
  ref_key: "newQuestionRef",
1049
- ref: u
1055
+ ref: f
1050
1056
  }, null, 512)
1051
- ])) : (l(), r("div", uo, [
1057
+ ])) : (i(), r("div", uo, [
1052
1058
  T(Xa)
1053
1059
  ]))
1054
1060
  ])
@@ -1058,7 +1064,7 @@ const Xa = /* @__PURE__ */ U(Oa, [["__scopeId", "data-v-6c0980b5"]]), ee = (p) =
1058
1064
  ]));
1059
1065
  }
1060
1066
  });
1061
- const _o = /* @__PURE__ */ U(mo, [["__scopeId", "data-v-2f3d502d"]]);
1067
+ const _o = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-2f3d502d"]]);
1062
1068
  export {
1063
1069
  _o as default
1064
1070
  };