@genpact/genome.mfe.mgtwin-app 1.1.4-alpha → 1.1.6-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.
@@ -1,8 +1,8 @@
1
- import { o as v, c as m, a as i, d as te, u as le, b as y, e as _, t as P, f as S, g as A, F, r as V, n as be, h as k, i as X, A as _t, j as Ae, w as ye, k as Se, l as Pt, m as fe, v as et, p as T, q as $t, s as tt, T as zt, x as Be, y as eo, z as to, B as oo, C as Ot, D as ke, E as At, G as ro, H as me, I as no, J as so, K as nt, L as ao, M as io, N as lo, O as co, P as uo, Q as po, R as fo } from "./main-af7484f5.mjs";
2
- import { p as Ie, _ as vo, a as Ze, r as ho, g as Lt } from "./loadernew-e14caaa0.mjs";
1
+ import { o as v, c as h, a as i, d as te, u as le, b, e as _, t as P, f as Y, g as I, F as T, r as F, n as me, h as w, i as Z, A as to, j as Ie, w as be, k as Se, l as Lt, m as fe, v as et, p as Q, q as oo, s as tt, T as Mt, x as Be, y as ro, z as zt, B as Ht, C as no, D as so, E as Ot, G as ke, H as It, I as ao, J as Ae, K as io, L as lo, M as nt, N as co, O as uo, P as po, Q as fo, R as vo } from "./main-4af3ccab.mjs";
2
+ import { p as ge, _ as ho, a as Ze, r as Ao, g as Dt } from "./loadernew-e011072e.mjs";
3
3
  import { _ as st } from "./_plugin-vue_export-helper-dad06003.mjs";
4
4
  function mo(t, e) {
5
- return v(), m("svg", {
5
+ return v(), h("svg", {
6
6
  xmlns: "http://www.w3.org/2000/svg",
7
7
  viewBox: "0 0 24 24",
8
8
  fill: "currentColor",
@@ -15,8 +15,8 @@ function mo(t, e) {
15
15
  })
16
16
  ]);
17
17
  }
18
- function He(t, e) {
19
- return v(), m("svg", {
18
+ function Oe(t, e) {
19
+ return v(), h("svg", {
20
20
  xmlns: "http://www.w3.org/2000/svg",
21
21
  viewBox: "0 0 24 24",
22
22
  fill: "currentColor",
@@ -30,7 +30,7 @@ function He(t, e) {
30
30
  ]);
31
31
  }
32
32
  function bo(t, e) {
33
- return v(), m("svg", {
33
+ return v(), h("svg", {
34
34
  xmlns: "http://www.w3.org/2000/svg",
35
35
  viewBox: "0 0 24 24",
36
36
  fill: "currentColor",
@@ -39,8 +39,8 @@ function bo(t, e) {
39
39
  i("path", { d: "M15.73 5.25h1.035A7.465 7.465 0 0118 9.375a7.465 7.465 0 01-1.235 4.125h-.148c-.806 0-1.534.446-2.031 1.08a9.04 9.04 0 01-2.861 2.4c-.723.384-1.35.956-1.653 1.715a4.498 4.498 0 00-.322 1.672V21a.75.75 0 01-.75.75 2.25 2.25 0 01-2.25-2.25c0-1.152.26-2.243.723-3.218C7.74 15.724 7.366 15 6.748 15H3.622c-1.026 0-1.945-.694-2.054-1.715A12.134 12.134 0 011.5 12c0-2.848.992-5.464 2.649-7.521.388-.482.987-.729 1.605-.729H9.77a4.5 4.5 0 011.423.23l3.114 1.04a4.5 4.5 0 001.423.23zM21.669 13.773c.536-1.362.831-2.845.831-4.398 0-1.22-.182-2.398-.52-3.507-.26-.85-1.084-1.368-1.973-1.368H19.1c-.445 0-.72.498-.523.898.591 1.2.924 2.55.924 3.977a8.959 8.959 0 01-1.302 4.666c-.245.403.028.959.5.959h1.053c.832 0 1.612-.453 1.918-1.227z" })
40
40
  ]);
41
41
  }
42
- function yo(t, e) {
43
- return v(), m("svg", {
42
+ function go(t, e) {
43
+ return v(), h("svg", {
44
44
  xmlns: "http://www.w3.org/2000/svg",
45
45
  viewBox: "0 0 24 24",
46
46
  fill: "currentColor",
@@ -49,8 +49,8 @@ function yo(t, e) {
49
49
  i("path", { d: "M7.493 18.75c-.425 0-.82-.236-.975-.632A7.48 7.48 0 016 15.375c0-1.75.599-3.358 1.602-4.634.151-.192.373-.309.6-.397.473-.183.89-.514 1.212-.924a9.042 9.042 0 012.861-2.4c.723-.384 1.35-.956 1.653-1.715a4.498 4.498 0 00.322-1.672V3a.75.75 0 01.75-.75 2.25 2.25 0 012.25 2.25c0 1.152-.26 2.243-.723 3.218-.266.558.107 1.282.725 1.282h3.126c1.026 0 1.945.694 2.054 1.715.045.422.068.85.068 1.285a11.95 11.95 0 01-2.649 7.521c-.388.482-.987.729-1.605.729H14.23c-.483 0-.964-.078-1.423-.23l-3.114-1.04a4.501 4.501 0 00-1.423-.23h-.777zM2.331 10.977a11.969 11.969 0 00-.831 4.398 12 12 0 00.52 3.507c.26.85 1.084 1.368 1.973 1.368H4.9c.445 0 .72-.498.523-.898a8.963 8.963 0 01-.924-3.977c0-1.708.476-3.305 1.302-4.666.245-.403-.028-.959-.5-.959H4.25c-.832 0-1.612.453-1.918 1.227z" })
50
50
  ]);
51
51
  }
52
- function Te(t, e) {
53
- return v(), m("svg", {
52
+ function je(t, e) {
53
+ return v(), h("svg", {
54
54
  xmlns: "http://www.w3.org/2000/svg",
55
55
  viewBox: "0 0 24 24",
56
56
  fill: "currentColor",
@@ -63,22 +63,8 @@ function Te(t, e) {
63
63
  })
64
64
  ]);
65
65
  }
66
- function go(t, e) {
67
- return v(), m("svg", {
68
- xmlns: "http://www.w3.org/2000/svg",
69
- viewBox: "0 0 24 24",
70
- fill: "currentColor",
71
- "aria-hidden": "true"
72
- }, [
73
- i("path", {
74
- "fill-rule": "evenodd",
75
- d: "M19.902 4.098a3.75 3.75 0 00-5.304 0l-4.5 4.5a3.75 3.75 0 001.035 6.037.75.75 0 01-.646 1.353 5.25 5.25 0 01-1.449-8.45l4.5-4.5a5.25 5.25 0 117.424 7.424l-1.757 1.757a.75.75 0 11-1.06-1.06l1.757-1.757a3.75 3.75 0 000-5.304zm-7.389 4.267a.75.75 0 011-.353 5.25 5.25 0 011.449 8.45l-4.5 4.5a5.25 5.25 0 11-7.424-7.424l1.757-1.757a.75.75 0 111.06 1.06l-1.757 1.757a3.75 3.75 0 105.304 5.304l4.5-4.5a3.75 3.75 0 00-1.035-6.037.75.75 0 01-.354-1z",
76
- "clip-rule": "evenodd"
77
- })
78
- ]);
79
- }
80
- function Mt(t, e) {
81
- return v(), m("svg", {
66
+ function Tt(t, e) {
67
+ return v(), h("svg", {
82
68
  xmlns: "http://www.w3.org/2000/svg",
83
69
  viewBox: "0 0 24 24",
84
70
  fill: "currentColor",
@@ -91,18 +77,18 @@ function Mt(t, e) {
91
77
  })
92
78
  ]);
93
79
  }
94
- const We = 300, xo = "97103561-8dc3-4fe7-ad0a-4f8dedac8f6b";
80
+ const We = 300, yo = "97103561-8dc3-4fe7-ad0a-4f8dedac8f6b";
95
81
  var at = /* @__PURE__ */ ((t) => (t.CONSENT = "user_consent", t.FAQ = "most_popular_question", t))(at || {});
96
- const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justify-start pt-4 gap-2 overflow-y-auto" }, Ao = { class: "space-y-2 text-sm" }, ko = { class: "flex gap-2 text-white" }, Eo = { key: 0 }, Ro = { class: "flex items-center gap-2 py-1" }, Yo = { key: 0 }, Go = { class: "tooltip" }, Co = { class: "tooltiptext" }, So = { key: 0 }, Io = ["href"], Po = {
82
+ const xo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justify-start pt-4 gap-2 overflow-y-auto" }, wo = { class: "space-y-2 text-sm" }, Io = { class: "flex gap-2 text-white" }, ko = { key: 0 }, Eo = { class: "flex items-center gap-2 py-1" }, Co = { key: 0 }, Ro = { class: "tooltip" }, Yo = { class: "tooltiptext" }, Go = { key: 0 }, So = ["href"], Po = {
97
83
  key: 1,
98
84
  class: "my-3"
99
- }, zo = /* @__PURE__ */ i("label", null, "Master Guru(s): ", -1), Oo = ["href"], Lo = { key: 0 }, Mo = { class: "md:hidden flex justify-end cursor-pointer" }, Ho = { class: "space-y-2 text-sm text-gray-800" }, jo = { class: "flex items-center gap-2 text-gray-300" }, Do = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Most Popular Questions", -1), No = { class: "tooltip" }, To = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "Access previously answered questions by experts", -1), Fo = { class: "h-[15rem] overflow-auto space-y-2" }, qo = ["onClick"], Vo = { class: "md:truncate tooltip" }, Zo = { class: "tooltiptext" }, Ko = {
85
+ }, Lo = /* @__PURE__ */ i("label", null, "Master Guru(s): ", -1), Mo = ["href"], zo = { key: 0 }, Ho = { class: "md:hidden flex justify-end cursor-pointer" }, Oo = { class: "space-y-2 text-sm text-gray-800" }, Do = { class: "flex items-center gap-2 text-gray-300" }, To = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Most Popular Questions", -1), No = { class: "tooltip" }, jo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "Access previously answered questions by experts", -1), Qo = { class: "h-[15rem] overflow-auto space-y-2" }, Fo = ["onClick"], qo = { class: "md:truncate tooltip" }, Zo = { class: "tooltiptext" }, Vo = {
100
86
  key: 0,
101
87
  class: "bg-gray-200 rounded-md p-2"
102
- }, Qo = { class: "space-y-2 text-sm text-gray-800" }, Xo = { class: "flex items-center gap-2 text-gray-300 mt-4" }, Uo = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Your Recent Questions", -1), Bo = { class: "tooltip" }, Wo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "View your last 3 questions for this skill", -1), Jo = ["onClick"], _o = { class: "md:truncate tooltip" }, $o = { class: "tooltiptext" }, er = {
88
+ }, Ko = { class: "space-y-2 text-sm text-gray-800" }, Xo = { class: "flex items-center gap-2 text-gray-300 mt-4" }, Uo = /* @__PURE__ */ i("h4", { class: "font-bold" }, "Your Recent Questions", -1), Bo = { class: "tooltip" }, Wo = /* @__PURE__ */ i("span", { class: "tooltiptext" }, "View your last 3 questions for this skill", -1), Jo = ["onClick"], _o = { class: "md:truncate tooltip" }, $o = { class: "tooltiptext" }, er = {
103
89
  key: 0,
104
90
  class: "bg-gray-200 rounded-md p-2"
105
- }, Ht = /* @__PURE__ */ te({
91
+ }, Nt = /* @__PURE__ */ te({
106
92
  __name: "SideNav",
107
93
  emits: ["closeDrawer"],
108
94
  setup(t, { emit: e }) {
@@ -119,95 +105,95 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
119
105
  event_type: at.FAQ,
120
106
  question_id: s.id.toString()
121
107
  };
122
- await Ie("/generateEvent", a);
108
+ await ge("/generateEvent", a);
123
109
  }
124
110
  e("closeDrawer");
125
111
  };
126
112
  return (s, l) => {
127
113
  var a;
128
- return v(), m("div", wo, [
129
- i("div", Ao, [
130
- i("div", ko, [
131
- y(o).skill_id ? (v(), m("div", Eo, [
132
- i("div", Ro, [
133
- y(o).skill_id ? (v(), m("div", Yo, [
114
+ return v(), h("div", xo, [
115
+ i("div", wo, [
116
+ i("div", Io, [
117
+ b(o).skill_id ? (v(), h("div", ko, [
118
+ i("div", Eo, [
119
+ b(o).skill_id ? (v(), h("div", Co, [
134
120
  i("h4", null, [
135
121
  _(" Skill: "),
136
- i("b", null, P(y(o).skillName), 1)
122
+ i("b", null, P(b(o).skillName), 1)
137
123
  ])
138
- ])) : S("", !0),
139
- i("div", Go, [
140
- i("span", Co, P(y(o).skillDefinition), 1),
141
- A(y(Te), { class: "w-5 h-5 fill-current" })
124
+ ])) : Y("", !0),
125
+ i("div", Ro, [
126
+ i("span", Yo, P(b(o).skillDefinition), 1),
127
+ I(b(je), { class: "w-5 h-5 fill-current" })
142
128
  ])
143
129
  ]),
144
- y(o).skill_id && y(o).skillVideoLink ? (v(), m("div", So, [
130
+ b(o).skill_id && b(o).skillVideoLink ? (v(), h("div", Go, [
145
131
  i("a", {
146
- href: y(o).skillVideoLink,
132
+ href: b(o).skillVideoLink,
147
133
  target: "_blank",
148
134
  class: "underline text-sm"
149
- }, "Watch " + P(y(o).skillName) + " introduction video", 9, Io)
150
- ])) : S("", !0),
151
- y(o).skill_id ? (v(), m("div", Po, [
152
- zo,
153
- (v(!0), m(F, null, V((a = y(o).guruName) == null ? void 0 : a.split(","), (d, h) => (v(), m("span", { key: h }, [
135
+ }, "Watch " + P(b(o).skillName) + " introduction video", 9, So)
136
+ ])) : Y("", !0),
137
+ b(o).skill_id ? (v(), h("div", Po, [
138
+ Lo,
139
+ (v(!0), h(T, null, F((a = b(o).guruName) == null ? void 0 : a.split(","), (c, A) => (v(), h("span", { key: A }, [
154
140
  i("a", {
155
- href: r(h) || "",
141
+ href: r(A) || "",
156
142
  target: "_blank"
157
- }, P(d.trim()), 9, Oo),
158
- h < y(o).guruName.split(",").length - 1 ? (v(), m("span", Lo, ", ")) : S("", !0)
143
+ }, P(c.trim()), 9, Mo),
144
+ A < b(o).guruName.split(",").length - 1 ? (v(), h("span", zo, ", ")) : Y("", !0)
159
145
  ]))), 128))
160
- ])) : S("", !0)
161
- ])) : S("", !0)
146
+ ])) : Y("", !0)
147
+ ])) : Y("", !0)
162
148
  ])
163
149
  ]),
164
- i("div", Mo, [
165
- A(y(Mt), {
166
- onClick: l[0] || (l[0] = (d) => s.$emit("closeDrawer")),
150
+ i("div", Ho, [
151
+ I(b(Tt), {
152
+ onClick: l[0] || (l[0] = (c) => s.$emit("closeDrawer")),
167
153
  class: "w-6 h-6 fill-white"
168
154
  })
169
155
  ]),
170
- i("div", Ho, [
171
- i("div", jo, [
172
- Do,
156
+ i("div", Oo, [
157
+ i("div", Do, [
158
+ To,
173
159
  i("div", No, [
174
- To,
175
- A(y(Te), { class: "w-5 h-5 fill-current" })
160
+ jo,
161
+ I(b(je), { class: "w-5 h-5 fill-current" })
176
162
  ])
177
163
  ]),
178
- i("div", Fo, [
179
- (v(!0), m(F, null, V(y(o).frequentlyAskedQuestions, (d, h) => (v(), m("div", {
180
- onClick: (c) => n(d, "faq"),
181
- key: h,
182
- class: be([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
164
+ i("div", Qo, [
165
+ (v(!0), h(T, null, F(b(o).frequentlyAskedQuestions, (c, A) => (v(), h("div", {
166
+ onClick: (u) => n(c, "faq"),
167
+ key: A,
168
+ class: me([c.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
183
169
  }, [
184
- i("div", Vo, [
185
- i("span", Zo, P(d.question), 1),
186
- _(" " + P(d.question), 1)
170
+ i("div", qo, [
171
+ i("span", Zo, P(c.question), 1),
172
+ _(" " + P(c.question), 1)
187
173
  ])
188
- ], 10, qo))), 128)),
189
- y(o).frequentlyAskedQuestions.length ? S("", !0) : (v(), m("div", Ko, " No Guru Questions available "))
174
+ ], 10, Fo))), 128)),
175
+ b(o).frequentlyAskedQuestions.length ? Y("", !0) : (v(), h("div", Vo, " No Guru Questions available "))
190
176
  ])
191
177
  ]),
192
- i("div", Qo, [
178
+ i("div", Ko, [
193
179
  i("div", Xo, [
194
180
  Uo,
195
181
  i("div", Bo, [
196
182
  Wo,
197
- A(y(Te), { class: "w-5 h-5 fill-current" })
183
+ I(b(je), { class: "w-5 h-5 fill-current" })
198
184
  ])
199
185
  ]),
200
- (v(!0), m(F, null, V(y(o).recentQuestions, (d, h) => (v(), m("div", {
201
- onClick: (c) => n(d, "recent"),
202
- key: h,
203
- class: be([d.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
186
+ (v(!0), h(T, null, F(b(o).recentQuestions, (c, A) => (v(), h("div", {
187
+ onClick: (u) => n(c, "recent"),
188
+ key: A,
189
+ class: me([c.isShown ? "cursor-not-allowed bg-gray-400" : "cursor-pointer", "bg-gray-200 rounded-md p-2"])
204
190
  }, [
205
191
  i("div", _o, [
206
- i("span", $o, P(d.question), 1),
207
- _(" " + P(d.question), 1)
192
+ i("span", $o, P(c.question), 1),
193
+ _(" " + P(c.question), 1)
208
194
  ])
209
195
  ], 10, Jo))), 128)),
210
- y(o).recentQuestions.length ? S("", !0) : (v(), m("div", er, " No Recent Questions "))
196
+ b(o).recentQuestions.length ? Y("", !0) : (v(), h("div", er, " No Recent Questions "))
211
197
  ])
212
198
  ]);
213
199
  };
@@ -231,15 +217,15 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
231
217
  }
232
218
  },
233
219
  setup(t) {
234
- return (e, o) => (v(), m("div", null, [
235
- t.color === "white" ? (v(), m("img", rr)) : (v(), m("img", nr))
220
+ return (e, o) => (v(), h("div", null, [
221
+ t.color === "white" ? (v(), h("img", rr)) : (v(), h("img", nr))
236
222
  ]));
237
223
  }
238
224
  }, sr = { class: "bg-genpact-blue-box h-full" }, ar = { class: "bg-genpact-blue-box px-3 py-3 flex items-center justify-between gap-4" }, ir = { class: "flex items-center gap-2" }, lr = { class: "flex justify-center items-center font-bold text-white text-xl" }, cr = /* @__PURE__ */ i("div", { class: "flex flex-col items-center" }, [
239
225
  /* @__PURE__ */ i("a", { href: "https://genome.genpact.com" }, [
240
226
  /* @__PURE__ */ i("img", {
241
227
  class: "h-4",
242
- src: vo
228
+ src: ho
243
229
  })
244
230
  ]),
245
231
  /* @__PURE__ */ i("a", {
@@ -249,28 +235,28 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
249
235
  ], -1), dr = {
250
236
  __name: "MobileNav",
251
237
  setup(t) {
252
- const e = k(!1), o = () => {
238
+ const e = w(!1), o = () => {
253
239
  e.value = !0;
254
240
  }, r = () => {
255
241
  e.value = !1;
256
242
  };
257
- return (n, s) => (v(), m(F, null, [
243
+ return (n, s) => (v(), h(T, null, [
258
244
  i("div", null, [
259
245
  i("div", {
260
- class: be([
246
+ class: me([
261
247
  e.value ? "inset-0 z-[50] transition-opacity opacity-100 duration-300" : "w-0 h-0 transition-all delay-100 opacity-0 -z-10",
262
248
  "fixed overflow-hidden bg-gray-900 bg-opacity-40 ease-in-out"
263
249
  ])
264
250
  }, [
265
251
  i("div", {
266
- class: be([e.value ? "-translate-x-0" : "-translate-x-full", "md:w-60 w-3/4 inset-0 z-[48] delay-100 duration-300 ease-in-out transition-all fixed h-full bg-white"])
252
+ class: me([e.value ? "-translate-x-0" : "-translate-x-full", "md:w-60 w-3/4 inset-0 z-[48] delay-100 duration-300 ease-in-out transition-all fixed h-full bg-white"])
267
253
  }, [
268
254
  i("div", sr, [
269
- A(Ht, { onCloseDrawer: r })
255
+ I(Nt, { onCloseDrawer: r })
270
256
  ])
271
257
  ], 2),
272
258
  i("section", {
273
- class: be(e.value ? "w-screen h-full cursor-pointer z-[30]" : "w-0 h-0"),
259
+ class: me(e.value ? "w-screen h-full cursor-pointer z-[30]" : "w-0 h-0"),
274
260
  onClick: r
275
261
  }, null, 2)
276
262
  ], 2)
@@ -281,10 +267,10 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
281
267
  onClick: o,
282
268
  class: "md:hidden block bg-genpact-light-blue p-2 hover:bg-genpact-light-blue/80 cursor-pointer"
283
269
  }, [
284
- A(y(mo), { class: "w-5 h-5 fill-gray-300" })
270
+ I(b(mo), { class: "w-5 h-5 fill-gray-300" })
285
271
  ]),
286
272
  i("div", lr, [
287
- A(jt)
273
+ I(jt)
288
274
  ])
289
275
  ]),
290
276
  cr
@@ -299,10 +285,10 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
299
285
  fr,
300
286
  vr
301
287
  ];
302
- function mr(t, e) {
303
- return v(), m("div", pr, hr);
288
+ function Ar(t, e) {
289
+ return v(), h("div", pr, hr);
304
290
  }
305
- const br = /* @__PURE__ */ st(ur, [["render", mr]]), Je = {
291
+ const mr = /* @__PURE__ */ st(ur, [["render", Ar]]), Je = {
306
292
  "1,1": "i",
307
293
  "2,-1": "i",
308
294
  "2,0": "i",
@@ -316,16 +302,16 @@ const br = /* @__PURE__ */ st(ur, [["render", mr]]), Je = {
316
302
  t: "Go do Transform",
317
303
  s: "Go do Solidify"
318
304
  };
319
- let Ke = `Bearer ${localStorage.getItem("accessToken")}`;
320
- const Dt = "prod";
321
- _t === "local" && (Ke = `Bearer ${{}.VITE_LOCAL_ACCESS_TOKEN}`);
322
- const yr = async () => await X({
305
+ let Ve = `Bearer ${localStorage.getItem("accessToken")}`;
306
+ const Qt = "prod";
307
+ to === "local" && (Ve = `Bearer ${{}.VITE_LOCAL_ACCESS_TOKEN}`);
308
+ const br = async () => await Z({
323
309
  method: "get",
324
- url: `https://api-router.genpact.com/${Dt}/api/genome/v1/employee/performance-report`,
310
+ url: `https://api-router.genpact.com/${Qt}/api/genome/v1/employee/performance-report`,
325
311
  headers: {
326
312
  "x-oauth-config-provider": "cognito-aps1",
327
313
  "x-sharepoint-list-name": "skills",
328
- authorization: Ke
314
+ authorization: Ve
329
315
  }
330
316
  }), gr = async (t) => {
331
317
  const e = `
@@ -340,11 +326,11 @@ const yr = async () => await X({
340
326
  }
341
327
  }
342
328
  `;
343
- return await X({
329
+ return await Z({
344
330
  method: "post",
345
- url: `https://api.genpact.com/${Dt}/genome/my-profile/graphql`,
331
+ url: `https://api.genpact.com/${Qt}/genome/my-profile/graphql`,
346
332
  headers: {
347
- authorization: Ke
333
+ authorization: Ve
348
334
  },
349
335
  data: {
350
336
  query: e,
@@ -353,113 +339,113 @@ const yr = async () => await X({
353
339
  }
354
340
  }
355
341
  });
356
- }, xr = async (t, e) => await X({
342
+ }, yr = async (t, e) => await Z({
357
343
  method: "post",
358
344
  url: "https://rihejfb5x0.execute-api.ap-south-1.amazonaws.com/myplan/link",
359
345
  headers: {
360
346
  "x-oauth-config-provider": "cognito-aps1",
361
- authorization: Ke
347
+ authorization: Ve
362
348
  },
363
349
  data: {
364
350
  skill: t,
365
351
  proficiency: e
366
352
  }
367
- }), wr = {
353
+ }), xr = {
368
354
  key: 0,
369
355
  class: "flex justify-center gap-2 pb-1"
370
- }, Ar = /* @__PURE__ */ te({
356
+ }, wr = /* @__PURE__ */ te({
371
357
  __name: "ChatActionButtons",
372
358
  setup(t) {
373
- const e = le(), o = Ae(), r = k([]), n = k([]), s = k([]), l = k("");
374
- ye(e, (b) => {
375
- b.skillName && (s.value = [], r.value.map((u) => {
376
- u[0] === e.skillName && (s.value = u, console.log(u), console.log(kt[Je[u.slice(1, 3).join(",")]]), l.value = kt[Je[u.slice(1, 3).join(",")]]);
359
+ const e = le(), o = Ie(), r = w([]), n = w([]), s = w([]), l = w("");
360
+ be(e, (m) => {
361
+ m.skillName && (s.value = [], r.value.map((d) => {
362
+ d[0] === e.skillName && (s.value = d, console.log(d), console.log(kt[Je[d.slice(1, 3).join(",")]]), l.value = kt[Je[d.slice(1, 3).join(",")]]);
377
363
  }));
378
364
  });
379
365
  const a = async () => {
380
- var b;
366
+ var m;
381
367
  try {
382
- let u = "";
383
- n.value.map((g) => {
384
- g.skillname === e.skillName && (u = g.currentproficient);
368
+ let d = "";
369
+ n.value.map((y) => {
370
+ y.skillname === e.skillName && (d = y.currentproficient);
385
371
  });
386
- const f = (await xr(e.skillName, u)).data, x = s.value.slice(1, 3).join(","), p = f[Je[x]];
372
+ const f = (await yr(e.skillName, d)).data, g = s.value.slice(1, 3).join(","), p = f[Je[g]];
387
373
  window.open(p, "_blank");
388
- } catch (u) {
389
- if (console.error(u), X.isAxiosError(u)) {
390
- const f = u;
391
- o.setError(((b = f.response) == null ? void 0 : b.data).message);
374
+ } catch (d) {
375
+ if (console.error(d), Z.isAxiosError(d)) {
376
+ const f = d;
377
+ o.setError(((m = f.response) == null ? void 0 : m.data).message);
392
378
  } else
393
379
  o.setError("There was an issue, please contact helpmate");
394
380
  }
395
- }, d = async () => {
396
- var b, u, f;
381
+ }, c = async () => {
382
+ var m, d, f;
397
383
  try {
398
- const x = await gr(e.ohr);
399
- n.value = (f = (u = (b = x.data) == null ? void 0 : b.data) == null ? void 0 : u.MyPlan) == null ? void 0 : f.data;
400
- } catch (x) {
401
- console.error(x), X.isAxiosError(x) ? o.setError("Error fetching current MyPlan proficiencies") : o.setError("There was an issue, please contact helpmate");
384
+ const g = await gr(e.ohr);
385
+ n.value = (f = (d = (m = g.data) == null ? void 0 : m.data) == null ? void 0 : d.MyPlan) == null ? void 0 : f.data;
386
+ } catch (g) {
387
+ console.error(g), Z.isAxiosError(g) ? o.setError("Error fetching current MyPlan proficiencies") : o.setError("There was an issue, please contact helpmate");
402
388
  }
403
- }, h = async () => {
404
- var b, u, f, x;
389
+ }, A = async () => {
390
+ var m, d, f, g;
405
391
  try {
406
- const p = await yr(), g = ((b = p.data) == null ? void 0 : b.Professional_BITS) || "", R = ((u = p.data) == null ? void 0 : u.Digital_BITS) || "", Y = ((f = p.data) == null ? void 0 : f.Industry_BITS) || "";
392
+ const p = await br(), y = ((m = p.data) == null ? void 0 : m.Professional_BITS) || "", E = ((d = p.data) == null ? void 0 : d.Digital_BITS) || "", C = ((f = p.data) == null ? void 0 : f.Industry_BITS) || "";
407
393
  r.value.push(
408
- ...g.split("PROFSKILL|").map((E) => E.split("|")),
409
- ...R.split("DIGITAL|").map((E) => E.split("|")),
410
- ...Y.split("INDUSTRY|").map((E) => E.split("|"))
394
+ ...y.split("PROFSKILL|").map((k) => k.split("|")),
395
+ ...E.split("DIGITAL|").map((k) => k.split("|")),
396
+ ...C.split("INDUSTRY|").map((k) => k.split("|"))
411
397
  );
412
398
  } catch (p) {
413
- if (console.error(p), X.isAxiosError(p)) {
414
- const g = p;
415
- o.setError(((x = g.response) == null ? void 0 : x.data).message);
399
+ if (console.error(p), Z.isAxiosError(p)) {
400
+ const y = p;
401
+ o.setError(((g = y.response) == null ? void 0 : g.data).message);
416
402
  } else
417
403
  o.setError("There was an issue, please contact helpmate");
418
404
  }
419
405
  };
420
406
  Se(() => {
421
- h(), d();
407
+ A(), c();
422
408
  });
423
- const c = () => window.open("https://genome.genpact.com/my-profile", "_blank");
424
- return (b, u) => y(e).skill_id ? (v(), m("div", wr, [
425
- s.value.length ? (v(), m("div", {
409
+ const u = () => window.open("https://genome.genpact.com/my-profile", "_blank");
410
+ return (m, d) => b(e).skill_id ? (v(), h("div", xr, [
411
+ s.value.length ? (v(), h("div", {
426
412
  key: 0,
427
- onClick: u[0] || (u[0] = (f) => a()),
413
+ onClick: d[0] || (d[0] = (f) => a()),
428
414
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
429
- }, P(l.value), 1)) : (v(), m("div", {
415
+ }, P(l.value), 1)) : (v(), h("div", {
430
416
  key: 1,
431
- onClick: u[1] || (u[1] = (f) => c()),
417
+ onClick: d[1] || (d[1] = (f) => u()),
432
418
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
433
419
  }, " Add to Myplan ")),
434
420
  i("div", {
435
- onClick: u[2] || (u[2] = (f) => y(e).clearSkillSelection()),
421
+ onClick: d[2] || (d[2] = (f) => b(e).clearSkillSelection()),
436
422
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
437
423
  }, " Change Skill "),
438
424
  i("div", {
439
- onClick: u[3] || (u[3] = (f) => y(e).clearConversationHistory()),
425
+ onClick: d[3] || (d[3] = (f) => b(e).clearConversationHistory()),
440
426
  class: "border-[1px] bg-gray-200 border-gray-500 text-gray-500 hover:bg-gray-500/80 hover:text-white cursor-pointer text-[12px] px-3 py-1 rounded-md"
441
427
  }, " Clear Chat ")
442
- ])) : S("", !0);
428
+ ])) : Y("", !0);
443
429
  }
444
- }), kr = { class: "absolute bottom-0 w-full z-3 mt-4" }, Er = { class: "md:px-8 px-3 py-2" }, Rr = { class: "border border-gray-200" }, Yr = { class: "relative w-full z-1" }, Gr = {
430
+ }), Ir = { class: "absolute bottom-0 w-full z-3 mt-4" }, kr = { class: "md:px-8 px-3 py-2" }, Er = { class: "border border-gray-200" }, Cr = { class: "relative w-full z-1" }, Rr = {
445
431
  key: 1,
446
432
  class: "absolute top-3 right-4"
447
- }, Cr = /* @__PURE__ */ i("img", {
433
+ }, Yr = /* @__PURE__ */ i("img", {
448
434
  class: "w-10 h-10 block mx-auto loadercss",
449
435
  src: Ze,
450
436
  alt: "Loader Gif"
451
- }, null, -1), Sr = [
452
- Cr
453
- ], Ir = { class: "text-gray-500 md:text-sm text-[11px] flex justify-between" }, Pr = /* @__PURE__ */ i("div", { class: "text-gray-500 text-start md:text-sm text-xs pt-1" }, [
437
+ }, null, -1), Gr = [
438
+ Yr
439
+ ], Sr = { class: "text-gray-500 md:text-sm text-[11px] flex justify-between" }, Pr = /* @__PURE__ */ i("div", { class: "text-gray-500 text-start md:text-sm text-xs pt-1" }, [
454
440
  /* @__PURE__ */ i("div", null, " Note: AI-generated response may not be fully accurate; you may copy the response and check with experts for critical information. ")
455
- ], -1), zr = /* @__PURE__ */ te({
441
+ ], -1), Lr = /* @__PURE__ */ te({
456
442
  __name: "NewQuestion",
457
443
  setup(t) {
458
- const e = Pt(), o = Ae(), r = le(), n = k(""), s = k(!1), l = k(!1), a = k(We), d = (b) => {
459
- const u = b.length;
460
- a.value = We - u, l.value = u >= We;
461
- }, h = async () => {
462
- var b, u, f, x;
444
+ const e = Lt(), o = Ie(), r = le(), n = w(""), s = w(!1), l = w(!1), a = w(We), c = (m) => {
445
+ const d = m.length;
446
+ a.value = We - d, l.value = d >= We;
447
+ }, A = async () => {
448
+ var m, d, f, g;
463
449
  try {
464
450
  if (!r.skill_id) {
465
451
  o.setError("Please select a skill");
@@ -484,58 +470,58 @@ const yr = async () => await X({
484
470
  prof_id: r.prof_id,
485
471
  question: n.value,
486
472
  answer: ""
487
- }, g = await Ie("/fetchCompletion?api_version=1.1", p);
488
- console.log((u = (b = g.data) == null ? void 0 : b.body) == null ? void 0 : u.answer), r.addConversation((f = g.data) == null ? void 0 : f.body, "new"), n.value = "", s.value = !1, console.log(r.past_messages);
473
+ }, y = await ge("/fetchCompletion?api_version=1.1", p);
474
+ console.log((d = (m = y.data) == null ? void 0 : m.body) == null ? void 0 : d.answer), r.addConversation((f = y.data) == null ? void 0 : f.body, "new"), n.value = "", s.value = !1, console.log(r.past_messages);
489
475
  } catch (p) {
490
- if (console.error(p), s.value = !1, X.isAxiosError(p)) {
491
- const g = p;
492
- o.setError(((x = g.response) == null ? void 0 : x.data).message);
476
+ if (console.error(p), s.value = !1, Z.isAxiosError(p)) {
477
+ const y = p;
478
+ o.setError(((g = y.response) == null ? void 0 : g.data).message);
493
479
  } else
494
480
  o.setError("There was an issue, please contact helpmate");
495
481
  }
496
- }, c = async (b) => {
497
- b.which === 13 && (b.preventDefault(), s.value || await h());
482
+ }, u = async (m) => {
483
+ m.which === 13 && (m.preventDefault(), s.value || await A());
498
484
  };
499
- return (b, u) => (v(), m("div", kr, [
500
- i("div", Er, [
501
- A(Ar),
502
- i("div", Rr, [
503
- i("div", Yr, [
485
+ return (m, d) => (v(), h("div", Ir, [
486
+ i("div", kr, [
487
+ I(wr),
488
+ i("div", Er, [
489
+ i("div", Cr, [
504
490
  fe(i("textarea", {
505
491
  id: "chat",
506
- "onUpdate:modelValue": u[0] || (u[0] = (f) => n.value = f),
507
- onKeyup: u[1] || (u[1] = (f) => d(n.value)),
508
- onKeydown: u[2] || (u[2] = (f) => c(f)),
492
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => n.value = f),
493
+ onKeyup: d[1] || (d[1] = (f) => c(n.value)),
494
+ onKeydown: d[2] || (d[2] = (f) => u(f)),
509
495
  class: "block rounded-md p-2.5 pr-16 w-full text-sm bg-white border border-gray-300",
510
496
  placeholder: "Ask a question in less than 300 characters..."
511
497
  }, null, 544), [
512
498
  [et, n.value]
513
499
  ]),
514
- s.value ? (v(), m("div", Gr, Sr)) : (v(), m("button", {
500
+ s.value ? (v(), h("div", Rr, Gr)) : (v(), h("button", {
515
501
  key: 0,
516
- onClick: h,
517
- class: be(["absolute top-4 right-4", y(r).skill_id ? "cursor-pointer" : "cursor-not-allowed fill-gray-400"])
502
+ onClick: A,
503
+ class: me(["absolute top-4 right-4", b(r).skill_id ? "cursor-pointer" : "cursor-not-allowed fill-gray-400"])
518
504
  }, [
519
- A(y(ho), { class: "w-8 h-8 fill-inherit" })
505
+ I(b(Ao), { class: "w-8 h-8 fill-inherit" })
520
506
  ], 2))
521
507
  ])
522
508
  ]),
523
- i("div", Ir, [
524
- i("div", null, P(y(r).questionsLeft) + " Questions Remaining", 1),
509
+ i("div", Sr, [
510
+ i("div", null, P(b(r).questionsLeft) + " Questions Remaining", 1),
525
511
  i("button", {
526
512
  class: "underline text-blue-500",
527
- onClick: u[3] || (u[3] = (f) => y(e).open(!0))
513
+ onClick: d[3] || (d[3] = (f) => b(e).open(!0))
528
514
  }, " Important Instructions ")
529
515
  ]),
530
516
  Pr
531
517
  ])
532
518
  ]));
533
519
  }
534
- });
535
- const Or = { key: 0 }, Lr = {
520
+ }), Mr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACMUlEQVQ4jYVSz0tUURT+zrnv+sYJcTTxlUo/QCJlqLERQTe5iKJlC0HKgszahP0J4aagbVujRTIRCPYfRItqU4GZCEYUFMH0Qy0Edea9e06L99Q3Q9K3uZfv3Pvde873AbXgZDXonvRrS0WbbCjNenUC0tp3qdfAG/xZKc+kCy2F/IDFcfyYL71MRDT9IgCg9cREV8bLPhaNFrA0W02/trZpFoyXvd1euDqUXKa0AAGAb+WBQppX5kuvE153Wlp+uA51X43lErrP++kfMABtK4wNk7HnVGQVgKlrTQFAFVvGZo8ETe1jMT3FOy0YtqMKCIGO5noudsXssAeMGAACFC0Yp11UFTZmNBEQjotgJu6HCwnMLX42eyc+8DwCZh0ACk4V7hEor65CqtLX1Hlh/64LwdlGJQlIlaAsEPclKI7fZ2YllTVVOgPokKqEADwCNdn2XIBvWIkFchlWBRMZqEbfQ9GSb+x7Y/cRqUDVQV0E0dCqiIIINlKz+4Nlf4P6eRVAB4AMq4siMaNu4/chIlTjafMBMF0hNp2qsrle3VrZFiBg1kHHl5S4l4xt8WBvld9O36xzAs35y3ONmYZXRPR5Y/lJObFxhAFARZ6yaWB10YswqtyNp7/tQrz/szjzhpgWVOlZPPypdBC7/YMDNxaDvmuJRbUpjVG0QXF8ru3k9WPbAUwl8WMlrGxNRhJ+Smc9jVzP4Q511Ue/3k1/qEtqDehfJACga7Bxz9p/L++Bv3ah0TBfBrIRAAAAAElFTkSuQmCC", zr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAMAAADDpiTIAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA+NAAAPjQE7csBwAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAt9QTFRFAISxAYSxAoWyA4WyBIayBYazBoezB4ezCIizCYi0Com0C4m0DIq1DYq1Dou1D4u2EIy2EYy2Eo23E423FI63FY63Fo+4F4+4GJC4GZC5GpG5G5G5HJK6HZK6HpK6H5O6IJO7IZS7IpS7I5W8JJW8JZa8Jpa9J5e9KJe9KZi+Kpi+K5m+LJm+LZq/Lpq/L5u/MJvAMZzAMpzAM53BNJ3BNZ7BNp7CN5/COJ/COZ/COqDDO6DDPKHDPaHEPqLEP6LEQKPFQaPFQqTFRKXGRaXGRqbGR6bHSKfHSafHS6jITKnITanJTqrJUavKUqzKU6zKVK3LVa3LVq3LV67MWK7MWa/MWq/NW7DNXLDNXbHNXrHOX7LOYLLOYbPPYrPPY7TPZLTQZbXQZrXQZ7bRaLbRabfRarfRa7jSbLjSbrnTb7rTcLrTcbvUcrvUc7vUdLzUdbzVdr3Vd73VeL7Web7Wer/We7/XfMDXfcDXfsHYf8HYgMLYgcLYgsPZg8PZhMTZhcTahsXah8XaiMbbicbbisfbi8fcjMjcjcjcjsjcj8ndkMndkcrdksrek8velMvelczflszfl83fmM3fmc7gms7gnM/hndDhntDhn9HioNHiodLiotLjo9PjpNPjpdTjptTkp9XkqNXkqdblq9blrNfmrdfmrtjmr9jnsNnnsdnnstrns9rotdvottzpt9zpuN3pud3qut7qu97qvd/rvuDrv+DrwOHsweHswuLsw+LtxOPtxePtxuTux+TuyOTuyeXuyuXvy+bvzObvzefwzufwz+jw0Ojx0enx0unx0+ry1Ory1evy1uvy1+zz2Ozz2e3z2u303O703e/13u/13/D14PD24fH24/H25PL35fL35vP35/P46PT46fT46vX56/X57Pb57fb57vf67/f68Pj68fj78vn78/n79Pr89fr89vv89/v9+Pz9+fz9+v39+/3+/P7+/f7+/v//////VZvjmAAAC5pJREFUeNrt3Ql3FfUdh/EbSAIJISAim4GA0KCA7KuyxCI1TWsQ0CAUuhBEEWuphZaiiJaCFNRiyyIIBFvQyCoFRIqAgEaQggiIEaUQ9gSy/19AT09vTz2nQHLv/Gb5zTyfF8Cd+/0/h+wzoRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8JimtX7tEZgieuMGTZq/c9tll82/nP313yYycnjHMEhDJI1ZdNP+vYMH9cYzjeykTNpeaG7mQOyyJifys1xZTjZJFzZnJr9JWmxooeo7/BXyp+Z/LTc2czollLr9p8GKxqbkjP2Qxf+n7jYnMuvqM5iOjS0yk/nEHs/lFrTkmCoXpLOcPyRtMVMpy2M4P2h020XqVrwb0u/u8id5GCtDuti+MFQtYULf4vxtrxrGhakstnr8pG8CIiv3CWHYmlRnVyqy0HoD5pB5DKtX+spGwmiWV2mRkZDKlSoOFzt8cqs2YCtXKlwrA/IQ1FRotdv7mqwTmVCehQC4AM5U91ZkieP7mUmMGVabxJckAzMssqsyToudvrvHdIGW2ywZgsphU10eACuEAlrOpKmOFz9+c41dDVFknHYC5j1EVqXdNPAC+DtDkIfHzNydZVZGV8gGYrsyqx2EbApjArHpctCGAmcyqRqIN529eZ1c12tkRwLvsqsZAOwI4yK5qPGxHAIXsqsbP7QjA1GFYLV6yJYDWDKvFG7YE0JdhtZhnSwAdGFaLybYEkMywWmTbcf6X2VWNdDsCOMKuaqTZEcAWdlUjyY4AlrKrHpdtCOB5ZtXjiA0BjGdWPdbbEEAGs+oxTv78+dsgTZpWigewllU12SkewI8YVRPxHwiXN2JUTdrwbaCAyxcOgF8KV+a3sudf1YJJdbmrSjSAXSyqzQrRAHiKmDqtJP9AeBt76vN7ufOv7Mqc+jQs5K/Cgk3sRmFFfAmgUvwxoQCms6VOw4TuFJzIlEotFfkM8PsMqfaDwA6BAJ5kR70an7B8/q+yomYdrN4zegNPC9Etw9o9Yz9JYsIgfzfgVAoDqvds9D8XPNON+XzgoaIoz39/S8bzhS7RPUF8eV2m88tXg+9F8VugfP3vI7ELIv7wn85qvjLmTETnv7MVk/lM/Wev1Pj4D/yAvXyoySulNTr+oyNiGMuf2qyo/m8GT47lm78+1nneTX9LpHTLuHhG8rm7Ju+4/s8Hvl78YH3mCYRGI9/M/6rs27eAO/7+tO585A+Yhmn9s8ZPevR73VtyG2gAAAAAAAAAAAAAAAAAAAAAAAAAgJtSH8ieMHX2wr9u/vDwZ99yaPff1ix9eeYzOUNS+SNIn4rtNGrutvPV3wHj6sHVM0f1imMwP4kbsmBfZI/JKtr8TG/uheEPiVkrLkR1K8RL65/qxHzK3TIq76qV+yEfeLoZI+rVcVmp5UciVGx8OMHX/0H2e+L197ZHatOs4W2j/nS57bS87ZZsnnt/TV4nfYPQE3IvLe7i1+O/8/3onxhw8bnoPlX+cbHAmbxR3e2qag/bK/l03PV9/Xj8tZ629gTZ/M5RvGifCpETmXXz4885boRt/a7vzr/FTqujlE6O/FW3CD2w9rabvEbvj4wNdvvsFqkxEkeRGfHLXhA6jgdu+AoNX6s09tjhqy8LH5OY5OtGEb5qA6nDyLnRK4w8bWxTPsc/j0m644rIJKsifNmGUmcx/vr/ftpWY6uCoX4JIE9okUGeCmB8ibHbprb+COCcOw+PtjWAukuNA66N88P5txb7Ctk7AaR+ZJyR64PPBLKkxvjGMwEMKTROOdpZfQAviI2R4o0AYqZWGudc+5n2AOQ+WvbxRABxa4yzchN1B7BMbIm+Xggg7h3jtD23EoBnAojLM8470ooAPBJA3NvGDQUdCcATAcS+Zdxx/h4C8EAAsWuMW65mEoD7Abxp3FOeQQBuB/Ar46aiPgTgbgBDKl0NwBTeSQBuBtD6nHHZl7cTgHsBJHxsXHfoFgJwLYDlxgM+qEsALgXwhPGERQTgTgCdy7wRgMkmADcCiNnlkfM3V9IIwIUAcoxnHKhLAI4H0PSCdwLQ92mADwLINV6STQAOBzDYU+dvLjYjAEcD2HTMWwGYXAJwNADvuY8Agh3AkTgCCHQAZgoBBDuA4lQCCHQAJo8Agh2A6UkAwQ4gjwCCHUBVRwIIdABmJQEEO4CKtgQQ6AD0/FSQAOxRejsBBDoAM40Agh3A5wQQ7ABMPwIIdgB/IoBgB3A+ngACHYDJIoBgB/AOAQQ7gLJkAgh0ACaTAIIdwFwCCHYA+QQQ7ACqbiWAQAdghhJAsANYQADBDuAwAXglgMpTe1bPX7T2w5Mljr5sMgG4HkDVrl8/0j819n8v3H7QuHVXHXrxXgTgbgCVOyZe90EmCZkLTznx+iMJwMUAKrZNuMnf6sf0mH7C9kuYQQDuBfD2d6q7hviJZ22+hr8QgFsB7B9Yk6tIfr7Y1qvIJwB3AigYFVPD62i+sNzG6yiKIQAXAij6TUIEV9J+q42XkkIAzgfwZYQPd689z75ruZcAHA9gb+S36RpbatfFZBCA0wG8lRDFCv1O23Q1wwnA4QBmR/dpV8p+ey7npwTgaADlUT/KN8GeR849RQCOBjA6+iHq7LbjgqYTgJMBzLeyRLMCG67oJQJwMIBtsZam6GHDzwgXEYBzAZxsbHGLEfLXtIoAHAuguKvlMWYG8KdB/gngEetjxKwlALUBLJFYo0UxASgN4JrMPXleIAClAcyRmSO5kABUBnBJ6o9wJhGAygDE7skVf4IAFAbwzySxQbIJQGEAE+UGifmYANQFcFbyfkyPE4C6AJZJLpJSRQDaAnhQdJK9BKAsgJJ6opNMJQBlAWyQnaQDASgLIEd4k88JQFUAVS2EN5lNAKoC2Ce9yQACUBXAfOlNWhCAqgB+Kb1J7UoC0BTAKPFRThOApgAGi4+STwCaApB/SudGAtAUQCPxUZYQgKIASuVHmUkAigI4KT/K4wSgKIB98qOMIQBFAewhAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAAIgAJ8F8JrYe72bADQGkCP1VkviCEBjAD1dOgcC8Ig6ZUJv9Y8EoDKAUL7QWx1DADoDeFTmnX6RRAA6AwjlSbzRqvQQASgNoMlZgTf6SsSfe5RLbbxFfpKhYgEsVhBAKMv6WXyaGPGrHpTa+Hfyi6SKBTBeQwChHocs/v8/PyHyF50iNHFFNxsW+UDo4opaqgggVGdWhYV3eXxgNK8Zu1tm4xl2DNL+sszFPRbSotOk3KNV0SS+4w/Z9aKt7pz1hY8Nt2ePNpsFPkc5mhFSpUGXrpFKq2XtY+1//51uYd3DeoT1DOsV1jusT1gT+9ao27VvWL+we8LuDesfNiBsYNig/xjYNAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/Qu4zQgSZ1wC9gAAAABJRU5ErkJggg==";
521
+ const Hr = { key: 0 }, Or = {
536
522
  key: 0,
537
523
  class: "absolute right-0 pr-4 top-5 cursor-pointer"
538
- }, Mr = { class: "bg-white mt-6" }, Hr = { class: "text-gray-500 px-4 overflow-auto" }, Ve = {
524
+ }, Dr = { class: "bg-white mt-6" }, Tr = { class: "text-gray-500 px-4 overflow-auto" }, qe = {
539
525
  __name: "Modal",
540
526
  props: {
541
527
  isVisible: {
@@ -550,26 +536,26 @@ const Or = { key: 0 }, Lr = {
550
536
  }
551
537
  },
552
538
  setup(t) {
553
- return (e, o) => t.isVisible ? (v(), m("main", Or, [
554
- A(zt, { name: "modal-fade" }, {
555
- default: T(() => [
539
+ return (e, o) => t.isVisible ? (v(), h("main", Hr, [
540
+ I(Mt, { name: "modal-fade" }, {
541
+ default: Q(() => [
556
542
  i("div", {
557
543
  class: "z-50 fixed flex inset-0 justify-center items-center h-screen overflow-auto w-full bg-gray-800/80",
558
544
  onClick: o[2] || (o[2] = (r) => e.$emit("close-modal"))
559
545
  }, [
560
546
  i("div", {
561
547
  class: "modal relative px-6 py-5 rounded-md",
562
- onClick: o[1] || (o[1] = $t(() => {
548
+ onClick: o[1] || (o[1] = oo(() => {
563
549
  }, ["stop"]))
564
550
  }, [
565
- t.crossVisible ? (v(), m("div", Lr, [
566
- A(y(Mt), {
551
+ t.crossVisible ? (v(), h("div", Or, [
552
+ I(b(Tt), {
567
553
  onClick: o[0] || (o[0] = (r) => e.$emit("Cancel")),
568
554
  class: "w-6 h-6 fill-gray-800"
569
555
  })
570
- ])) : S("", !0),
571
- i("div", Mr, [
572
- i("div", Hr, [
556
+ ])) : Y("", !0),
557
+ i("div", Dr, [
558
+ i("div", Tr, [
573
559
  tt(e.$slots, "default")
574
560
  ])
575
561
  ])
@@ -578,21 +564,21 @@ const Or = { key: 0 }, Lr = {
578
564
  ]),
579
565
  _: 3
580
566
  })
581
- ])) : S("", !0);
567
+ ])) : Y("", !0);
582
568
  }
583
- }, jr = { key: 0 }, Dr = {
569
+ }, Nr = { key: 0 }, jr = {
584
570
  key: 1,
585
571
  class: "bg-white rounded-full px-2 py-1 shadow-md flex items-center justify-end gap-2 mt-4 -mb-10 text-md font-light text-gray-800"
586
- }, Nr = { class: "" }, Tr = /* @__PURE__ */ i("h3", { className: "text-xl font-medium mb-6 text-left text-blue-700" }, " Provide Additional Feedback ", -1), Fr = { class: "flex justify-center mt-5" }, qr = { class: "p" }, Vr = /* @__PURE__ */ i("h3", { className: "text-xl font-medium mb-6 text-left text-blue-700" }, " Provide Additional Feedback ", -1), Zr = /* @__PURE__ */ i("label", {
572
+ }, Qr = { class: "" }, Fr = /* @__PURE__ */ i("h3", { className: "text-xl font-medium mb-6 text-left text-blue-700" }, " Provide Additional Feedback ", -1), qr = { class: "flex justify-center mt-5" }, Zr = { class: "p" }, Vr = /* @__PURE__ */ i("h3", { className: "text-xl font-medium mb-6 text-left text-blue-700" }, " Provide Additional Feedback ", -1), Kr = /* @__PURE__ */ i("label", {
587
573
  class: "mr-2 cursor-pointer",
588
574
  for: "harmful"
589
- }, "This is Harmful", -1), Kr = /* @__PURE__ */ i("br", null, null, -1), Qr = /* @__PURE__ */ i("label", {
575
+ }, "This is Harmful", -1), Xr = /* @__PURE__ */ i("br", null, null, -1), Ur = /* @__PURE__ */ i("label", {
590
576
  class: "mr-2 cursor-pointer",
591
577
  for: "incorrect"
592
- }, "This is Incorrect", -1), Xr = /* @__PURE__ */ i("br", null, null, -1), Ur = /* @__PURE__ */ i("label", {
578
+ }, "This is Incorrect", -1), Br = /* @__PURE__ */ i("br", null, null, -1), Wr = /* @__PURE__ */ i("label", {
593
579
  class: "mr-2 cursor-pointer",
594
580
  for: "not-helpful"
595
- }, "This is Not Helpful", -1), Br = /* @__PURE__ */ i("br", null, null, -1), Wr = { class: "flex justify-center mt-5" }, Jr = /* @__PURE__ */ te({
581
+ }, "This is Not Helpful", -1), Jr = /* @__PURE__ */ i("br", null, null, -1), _r = { class: "flex justify-center mt-5" }, $r = /* @__PURE__ */ te({
596
582
  __name: "FeedbackForms",
597
583
  props: {
598
584
  questionId: {
@@ -601,61 +587,61 @@ const Or = { key: 0 }, Lr = {
601
587
  }
602
588
  },
603
589
  setup(t) {
604
- const e = t, o = k(!1), r = k(!1), n = k(!1), s = Ae(), l = k(""), a = k([]), d = async (b) => {
605
- var u, f;
606
- b === "P" ? c() : h();
590
+ const e = t, o = w(!1), r = w(!1), n = w(!1), s = Ie(), l = w(""), a = w([]), c = async (m) => {
591
+ var d, f;
592
+ m === "P" ? u() : A();
607
593
  try {
608
- const x = {
594
+ const g = {
609
595
  question_id: e.questionId,
610
- rating: b,
596
+ rating: m,
611
597
  tags: a.value,
612
598
  content: l.value
613
- }, p = await Ie("/submitFeedback", x);
614
- console.log((u = p.data) == null ? void 0 : u.body), n.value = !0;
615
- } catch (x) {
616
- if (console.error(x), X.isAxiosError(x)) {
617
- const p = x;
599
+ }, p = await ge("/submitFeedback", g);
600
+ console.log((d = p.data) == null ? void 0 : d.body), n.value = !0;
601
+ } catch (g) {
602
+ if (console.error(g), Z.isAxiosError(g)) {
603
+ const p = g;
618
604
  s.setError(((f = p.response) == null ? void 0 : f.data).error);
619
605
  } else
620
606
  s.setError("There was an issue, please contact helpmate");
621
607
  }
622
- }, h = () => {
608
+ }, A = () => {
623
609
  o.value = !o.value;
624
- }, c = () => {
610
+ }, u = () => {
625
611
  r.value = !r.value;
626
612
  };
627
- return (b, u) => (v(), m(F, null, [
628
- n.value ? (v(), m("div", jr)) : (v(), m("div", Dr, [
629
- A(y(yo), {
630
- onClick: u[0] || (u[0] = (f) => d("P")),
613
+ return (m, d) => (v(), h(T, null, [
614
+ n.value ? (v(), h("div", Nr)) : (v(), h("div", jr, [
615
+ I(b(go), {
616
+ onClick: d[0] || (d[0] = (f) => c("P")),
631
617
  class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
632
618
  }),
633
- A(y(bo), {
634
- onClick: u[1] || (u[1] = (f) => d("N")),
619
+ I(b(bo), {
620
+ onClick: d[1] || (d[1] = (f) => c("N")),
635
621
  class: "w-6 h-6 fill-gray-500 hover:fill-gray-800 cursor-pointer"
636
622
  })
637
623
  ])),
638
- A(Ve, {
624
+ I(qe, {
639
625
  "is-visible": r.value,
640
626
  "cross-visible": !0,
641
- onCancel: c
627
+ onCancel: u
642
628
  }, {
643
- default: T(() => [
644
- i("div", Nr, [
645
- Tr,
629
+ default: Q(() => [
630
+ i("div", Qr, [
631
+ Fr,
646
632
  fe(i("textarea", {
647
633
  name: "feedback",
648
634
  id: "feedback",
649
635
  class: "w-full p-2 border-[1px] border-gray-400 rounded-md",
650
636
  rows: "3",
651
- "onUpdate:modelValue": u[2] || (u[2] = (f) => l.value = f),
637
+ "onUpdate:modelValue": d[2] || (d[2] = (f) => l.value = f),
652
638
  placeholder: "Please provide your feedback here"
653
639
  }, null, 512), [
654
640
  [et, l.value]
655
641
  ]),
656
- i("div", Fr, [
642
+ i("div", qr, [
657
643
  i("button", {
658
- onClick: u[3] || (u[3] = (f) => d("P")),
644
+ onClick: d[3] || (d[3] = (f) => c("P")),
659
645
  className: "cursor-pointer px-4 py-2 text-white shadow-md bg-genpact-blue-box focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75"
660
646
  }, " Submit ")
661
647
  ])
@@ -663,26 +649,26 @@ const Or = { key: 0 }, Lr = {
663
649
  ]),
664
650
  _: 1
665
651
  }, 8, ["is-visible"]),
666
- A(Ve, {
652
+ I(qe, {
667
653
  "is-visible": o.value,
668
654
  "cross-visible": !0,
669
- onCancel: h
655
+ onCancel: A
670
656
  }, {
671
- default: T(() => [
672
- i("div", qr, [
657
+ default: Q(() => [
658
+ i("div", Zr, [
673
659
  Vr,
674
660
  fe(i("textarea", {
675
661
  name: "feedback",
676
662
  id: "feedback",
677
663
  class: "w-full p-2 border-[1px] border-gray-400 rounded-md",
678
664
  rows: "3",
679
- "onUpdate:modelValue": u[4] || (u[4] = (f) => l.value = f),
665
+ "onUpdate:modelValue": d[4] || (d[4] = (f) => l.value = f),
680
666
  placeholder: "Please provide your feedback here"
681
667
  }, null, 512), [
682
668
  [et, l.value]
683
669
  ]),
684
670
  fe(i("input", {
685
- "onUpdate:modelValue": u[5] || (u[5] = (f) => a.value = f),
671
+ "onUpdate:modelValue": d[5] || (d[5] = (f) => a.value = f),
686
672
  type: "checkbox",
687
673
  name: "harmful",
688
674
  value: "harmful",
@@ -691,10 +677,10 @@ const Or = { key: 0 }, Lr = {
691
677
  }, null, 512), [
692
678
  [Be, a.value]
693
679
  ]),
694
- Zr,
695
680
  Kr,
681
+ Xr,
696
682
  fe(i("input", {
697
- "onUpdate:modelValue": u[6] || (u[6] = (f) => a.value = f),
683
+ "onUpdate:modelValue": d[6] || (d[6] = (f) => a.value = f),
698
684
  type: "checkbox",
699
685
  name: "incorrect",
700
686
  value: "incorrect",
@@ -703,10 +689,10 @@ const Or = { key: 0 }, Lr = {
703
689
  }, null, 512), [
704
690
  [Be, a.value]
705
691
  ]),
706
- Qr,
707
- Xr,
692
+ Ur,
693
+ Br,
708
694
  fe(i("input", {
709
- "onUpdate:modelValue": u[7] || (u[7] = (f) => a.value = f),
695
+ "onUpdate:modelValue": d[7] || (d[7] = (f) => a.value = f),
710
696
  type: "checkbox",
711
697
  name: "not-helpful",
712
698
  value: "not-helpful",
@@ -715,11 +701,11 @@ const Or = { key: 0 }, Lr = {
715
701
  }, null, 512), [
716
702
  [Be, a.value]
717
703
  ]),
718
- Ur,
719
- Br,
720
- i("div", Wr, [
704
+ Wr,
705
+ Jr,
706
+ i("div", _r, [
721
707
  i("button", {
722
- onClick: u[8] || (u[8] = (f) => d("N")),
708
+ onClick: d[8] || (d[8] = (f) => c("N")),
723
709
  className: "cursor-pointer px-4 py-2 text-white shadow-md bg-genpact-blue-box focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75"
724
710
  }, " Submit ")
725
711
  ])
@@ -729,16 +715,27 @@ const Or = { key: 0 }, Lr = {
729
715
  }, 8, ["is-visible"])
730
716
  ], 64));
731
717
  }
732
- }), _r = { class: "flex justify-start items-end py-3" }, $r = { class: "line-break md:text-[15px] text-sm max-w-[80%] text-gray-800 bg-white rounded-md p-3" }, en = ["innerHTML"], tn = {
718
+ }), it = (t) => (zt("data-v-29742a18"), t = t(), Ht(), t), en = { class: "flex justify-start items-end py-3" }, tn = { class: "line-break md:text-[15px] text-sm max-w-[80%] text-gray-800 bg-white rounded-md p-3" }, on = ["innerHTML"], rn = {
733
719
  key: 0,
734
720
  class: "flex justify-end my-2"
735
- }, on = { key: 1 }, rn = {
721
+ }, nn = { key: 1 }, sn = /* @__PURE__ */ it(() => /* @__PURE__ */ i("div", { class: "font-medium mt-5 mb-2" }, "Recommended Learning:", -1)), an = {
722
+ key: 0,
723
+ class: "flex flex-wrap gap-2 items-center mt-5"
724
+ }, ln = ["href"], cn = /* @__PURE__ */ it(() => /* @__PURE__ */ i("img", {
725
+ src: Mr,
726
+ alt: "LinkedIn Icon",
727
+ class: "w-4 h-4 fil-current"
728
+ }, null, -1)), dn = { key: 2 }, un = {
736
729
  key: 0,
737
- class: "font-medium mt-5 mb-2"
738
- }, nn = { class: "flex flex-wrap gap-2 items-center mt-5" }, sn = ["href"], an = {
739
- key: 2,
730
+ class: "flex flex-wrap gap-2 items-center mt-5"
731
+ }, pn = ["href"], fn = /* @__PURE__ */ it(() => /* @__PURE__ */ i("img", {
732
+ src: zr,
733
+ alt: "LinkedIn Icon",
734
+ class: "w-4 h-4 fil-current"
735
+ }, null, -1)), vn = {
736
+ key: 3,
740
737
  class: "w-full pb-3 flex justify-end"
741
- }, ln = /* @__PURE__ */ te({
738
+ }, hn = /* @__PURE__ */ te({
742
739
  __name: "AiResponse",
743
740
  props: {
744
741
  question: {
@@ -763,66 +760,97 @@ const Or = { key: 0 }, Lr = {
763
760
  }
764
761
  },
765
762
  setup(t) {
766
- const e = t, o = k([]), r = k(!1), n = Ae(), s = le();
763
+ const e = t, o = w([]), r = w([]), n = w(!1), s = w(), l = w(!1), a = Ie(), c = le();
767
764
  console.log("this is issue", o.value.length);
768
- const l = async () => {
769
- var a, d, h;
765
+ const A = async () => {
766
+ var m, d, f;
770
767
  try {
771
768
  if (!e.showFeedback)
772
769
  return;
773
- const c = {
770
+ const g = {
774
771
  question: e.question,
775
- skill_id: s.skill_id,
776
- past_messages: s.past_messages
777
- }, u = ((a = (await Ie("/QuestionToRelevantLinks", c)).data) == null ? void 0 : a.body) || [];
778
- u.length && (r.value = !0, o.value = u);
779
- } catch (c) {
780
- if (console.error(c), X.isAxiosError(c)) {
781
- const b = c;
782
- console.error((d = b.response) == null ? void 0 : d.data), n.setError(((h = b.response) == null ? void 0 : h.data).message);
772
+ skill_id: c.skill_id,
773
+ past_messages: c.past_messages
774
+ }, y = ((m = (await ge("/QuestionToRelevantLinks", g)).data) == null ? void 0 : m.body) || [];
775
+ s.value = y.length, console.log("c2 global length==>", s.value), y.length && (n.value = !0, o.value = y);
776
+ } catch (g) {
777
+ if (console.error(g), Z.isAxiosError(g)) {
778
+ const p = g;
779
+ console.error((d = p.response) == null ? void 0 : d.data), a.setError(((f = p.response) == null ? void 0 : f.data).message);
783
780
  } else
784
- n.setError("There was an issue, please contact helpmate");
781
+ a.setError("There was an issue, please contact helpmate");
782
+ }
783
+ }, u = async () => {
784
+ var m, d, f;
785
+ try {
786
+ if (!e.showFeedback)
787
+ return;
788
+ const g = {
789
+ question: e.question,
790
+ skill_id: c.skill_id,
791
+ past_messages: c.past_messages
792
+ }, y = ((m = (await ge("/QuestionToLilLinks", g)).data) == null ? void 0 : m.body) || [];
793
+ console.log("c2 global length in c3 call==>", s.value), y.length && s.value < 3 && (l.value = !0, r.value = y.slice(0, 3 - s.value));
794
+ } catch (g) {
795
+ if (console.error(g), Z.isAxiosError(g)) {
796
+ const p = g;
797
+ console.error((d = p.response) == null ? void 0 : d.data), a.setError(((f = p.response) == null ? void 0 : f.data).message);
798
+ } else
799
+ a.setError("There was an issue, please contact helpmate");
785
800
  }
786
801
  };
787
- return eo(() => {
788
- l();
789
- }), (a, d) => (v(), m("div", _r, [
790
- i("div", $r, [
791
- i("span", { innerHTML: t.answer }, null, 8, en),
792
- t.showSources ? (v(), m("div", tn, P(t.showSources), 1)) : S("", !0),
793
- t.showFeedback ? (v(), m("div", on, [
794
- r.value ? (v(), m("div", rn, "Recommended Learning:")) : S("", !0),
795
- i("div", nn, [
796
- (v(!0), m(F, null, V(o.value, (h) => (v(), m("a", {
797
- href: h.card_deeplink_url,
802
+ return ro(async () => {
803
+ await A(), u();
804
+ }), (m, d) => (v(), h("div", en, [
805
+ i("div", tn, [
806
+ i("span", { innerHTML: t.answer }, null, 8, on),
807
+ t.showSources ? (v(), h("div", rn, P(t.showSources), 1)) : Y("", !0),
808
+ t.showFeedback ? (v(), h("div", nn, [
809
+ sn,
810
+ n.value ? (v(), h("div", an, [
811
+ (v(!0), h(T, null, F(o.value, (f) => (v(), h("a", {
812
+ href: f.card_deeplink_url,
798
813
  target: "_blank",
799
- key: h.id,
814
+ key: f.id,
800
815
  class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
801
816
  }, [
802
- A(y(go), { class: "w-4 h-4 fil-current" }),
803
- i("div", null, P(h.Content_Title), 1)
804
- ], 8, sn))), 128))
805
- ])
806
- ])) : S("", !0),
807
- t.showFeedback ? (v(), m("div", an, [
808
- A(Jr, { "question-id": t.questionId }, null, 8, ["question-id"])
809
- ])) : S("", !0)
817
+ cn,
818
+ i("div", null, P(f.Content_Title), 1)
819
+ ], 8, ln))), 128))
820
+ ])) : Y("", !0)
821
+ ])) : Y("", !0),
822
+ t.showFeedback ? (v(), h("div", dn, [
823
+ l.value ? (v(), h("div", un, [
824
+ (v(!0), h(T, null, F(r.value, (f) => (v(), h("a", {
825
+ href: f.card_deeplink_url,
826
+ target: "_blank",
827
+ key: f.id,
828
+ class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
829
+ }, [
830
+ fn,
831
+ i("div", null, P(f.Content_Title), 1)
832
+ ], 8, pn))), 128))
833
+ ])) : Y("", !0)
834
+ ])) : Y("", !0),
835
+ t.showFeedback ? (v(), h("div", vn, [
836
+ I($r, { "question-id": t.questionId }, null, 8, ["question-id"])
837
+ ])) : Y("", !0)
810
838
  ])
811
839
  ]));
812
840
  }
813
841
  });
814
- const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { class: "flex justify-start items-end" }, un = { class: "max-w-[80%] space-y-2" }, pn = { class: "w-fit text-gray-800 md:text-xl text-lg font-bold bg-white rounded-md p-3" }, fn = /* @__PURE__ */ i("div", { class: "w-fit md:text-[15px] text-sm text-gray-700 bg-white rounded-md p-3" }, " I'm AI Guru, your learning companion. I can answer questions based on the knowledge curated by Genome Master Gurus, recommend content and direct you the next best action on your skill journey.​ I am still learning, and your feedback will help me improve. Choose a skill to get started.​ ", -1), vn = {
842
+ const An = /* @__PURE__ */ st(hn, [["__scopeId", "data-v-29742a18"]]), mn = { class: "flex justify-start items-end" }, bn = { class: "max-w-[80%] space-y-2" }, gn = { class: "w-fit text-gray-800 md:text-xl text-lg font-bold bg-white rounded-md p-3" }, yn = /* @__PURE__ */ i("div", { class: "w-fit md:text-[15px] text-sm text-gray-700 bg-white rounded-md p-3" }, " I'm AI Guru, your learning companion. I can answer questions based on the knowledge curated by Genome Master Gurus, recommend content and direct you the next best action on your skill journey.​ I am still learning, and your feedback will help me improve. Choose a skill to get started.​ ", -1), xn = {
815
843
  __name: "Greetings",
816
844
  setup(t) {
817
845
  const e = le();
818
- return (o, r) => (v(), m("div", dn, [
819
- i("div", un, [
820
- i("div", pn, " Hello " + P(y(e).learnerName || "Learner") + "! 👋 ", 1),
821
- fn
846
+ return (o, r) => (v(), h("div", mn, [
847
+ i("div", bn, [
848
+ i("div", gn, " Hello " + P(b(e).learnerName || "Learner") + "! 👋 ", 1),
849
+ yn
822
850
  ])
823
851
  ]));
824
852
  }
825
- }, hn = { class: "flex justify-end items-end py-3" }, mn = { class: "max-w-[80%]" }, bn = { class: "w-fit md:text-[15px] text-sm text-white bg-genpact-blue-box rounded-md p-3" }, yn = /* @__PURE__ */ te({
853
+ }, wn = { class: "flex justify-end items-end py-3" }, In = { class: "max-w-[80%]" }, kn = { class: "w-fit md:text-[15px] text-sm text-white bg-genpact-blue-box rounded-md p-3" }, En = /* @__PURE__ */ te({
826
854
  __name: "LearnerResponse",
827
855
  props: {
828
856
  question: {
@@ -835,9 +863,9 @@ const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { cl
835
863
  }
836
864
  },
837
865
  setup(t) {
838
- return (e, o) => (v(), m("div", hn, [
839
- i("div", mn, [
840
- i("div", bn, P(t.question), 1)
866
+ return (e, o) => (v(), h("div", wn, [
867
+ i("div", In, [
868
+ i("div", kn, P(t.question), 1)
841
869
  ])
842
870
  ]));
843
871
  }
@@ -845,49 +873,49 @@ const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { cl
845
873
  function ot(t, e, o) {
846
874
  var r, n, s, l, a;
847
875
  e == null && (e = 100);
848
- function d() {
849
- var c = Date.now() - l;
850
- c < e && c >= 0 ? r = setTimeout(d, e - c) : (r = null, o || (a = t.apply(s, n), s = n = null));
876
+ function c() {
877
+ var u = Date.now() - l;
878
+ u < e && u >= 0 ? r = setTimeout(c, e - u) : (r = null, o || (a = t.apply(s, n), s = n = null));
851
879
  }
852
- var h = function() {
880
+ var A = function() {
853
881
  s = this, n = arguments, l = Date.now();
854
- var c = o && !r;
855
- return r || (r = setTimeout(d, e)), c && (a = t.apply(s, n), s = n = null), a;
882
+ var u = o && !r;
883
+ return r || (r = setTimeout(c, e)), u && (a = t.apply(s, n), s = n = null), a;
856
884
  };
857
- return h.clear = function() {
885
+ return A.clear = function() {
858
886
  r && (clearTimeout(r), r = null);
859
- }, h.flush = function() {
887
+ }, A.flush = function() {
860
888
  r && (a = t.apply(s, n), s = n = null, clearTimeout(r), r = null);
861
- }, h;
889
+ }, A;
862
890
  }
863
891
  ot.debounce = ot;
864
892
  var _e = ot;
865
- function gn(t, e, o) {
866
- lo(t) ? ye(t, (r, n) => {
893
+ function Cn(t, e, o) {
894
+ po(t) ? be(t, (r, n) => {
867
895
  n == null || n.removeEventListener(e, o), r == null || r.addEventListener(e, o);
868
896
  }) : Se(() => {
869
897
  t.addEventListener(e, o);
870
898
  }), nt(() => {
871
899
  var r;
872
- (r = y(t)) === null || r === void 0 || r.removeEventListener(e, o);
900
+ (r = b(t)) === null || r === void 0 || r.removeEventListener(e, o);
873
901
  });
874
902
  }
875
- function xn(t, e) {
903
+ function Rn(t, e) {
876
904
  const o = "pointerdown";
877
- return typeof window > "u" || !window ? void 0 : gn(window, o, (n) => {
878
- const s = y(t);
905
+ return typeof window > "u" || !window ? void 0 : Cn(window, o, (n) => {
906
+ const s = b(t);
879
907
  s && (s === n.target || n.composedPath().includes(s) || e(n));
880
908
  });
881
909
  }
882
- function wn(t, e, o) {
910
+ function Yn(t, e, o) {
883
911
  let r = null;
884
- const n = k(!1);
912
+ const n = w(!1);
885
913
  Se(() => {
886
914
  (t.content !== void 0 || o.value) && (n.value = !0), r = new MutationObserver(s), r.observe(e.value, {
887
915
  childList: !0,
888
916
  subtree: !0
889
917
  });
890
- }), nt(() => r.disconnect()), ye(o, (l) => {
918
+ }), nt(() => r.disconnect()), be(o, (l) => {
891
919
  l ? n.value = !0 : n.value = !1;
892
920
  });
893
921
  const s = () => {
@@ -897,7 +925,7 @@ function wn(t, e, o) {
897
925
  hasContent: n
898
926
  };
899
927
  }
900
- function ge(t, e) {
928
+ function ye(t, e) {
901
929
  var o = t.getBoundingClientRect(), r = 1, n = 1;
902
930
  return {
903
931
  width: o.width / r,
@@ -919,64 +947,64 @@ function W(t) {
919
947
  }
920
948
  return t;
921
949
  }
922
- function it(t) {
950
+ function lt(t) {
923
951
  var e = W(t), o = e.pageXOffset, r = e.pageYOffset;
924
952
  return {
925
953
  scrollLeft: o,
926
954
  scrollTop: r
927
955
  };
928
956
  }
929
- function Ye(t) {
957
+ function Re(t) {
930
958
  var e = W(t).Element;
931
959
  return t instanceof e || t instanceof Element;
932
960
  }
933
- function Z(t) {
961
+ function V(t) {
934
962
  var e = W(t).HTMLElement;
935
963
  return t instanceof e || t instanceof HTMLElement;
936
964
  }
937
- function Nt(t) {
965
+ function Ft(t) {
938
966
  if (typeof ShadowRoot > "u")
939
967
  return !1;
940
968
  var e = W(t).ShadowRoot;
941
969
  return t instanceof e || t instanceof ShadowRoot;
942
970
  }
943
- function An(t) {
971
+ function Gn(t) {
944
972
  return {
945
973
  scrollLeft: t.scrollLeft,
946
974
  scrollTop: t.scrollTop
947
975
  };
948
976
  }
949
- function kn(t) {
950
- return t === W(t) || !Z(t) ? it(t) : An(t);
977
+ function Sn(t) {
978
+ return t === W(t) || !V(t) ? lt(t) : Gn(t);
951
979
  }
952
980
  function ee(t) {
953
981
  return t ? (t.nodeName || "").toLowerCase() : null;
954
982
  }
955
983
  function ue(t) {
956
- return ((Ye(t) ? t.ownerDocument : (
984
+ return ((Re(t) ? t.ownerDocument : (
957
985
  // $FlowFixMe[prop-missing]
958
986
  t.document
959
987
  )) || window.document).documentElement;
960
988
  }
961
- function lt(t) {
962
- return ge(ue(t)).left + it(t).scrollLeft;
989
+ function ct(t) {
990
+ return ye(ue(t)).left + lt(t).scrollLeft;
963
991
  }
964
992
  function ie(t) {
965
993
  return W(t).getComputedStyle(t);
966
994
  }
967
- function ct(t) {
995
+ function dt(t) {
968
996
  var e = ie(t), o = e.overflow, r = e.overflowX, n = e.overflowY;
969
997
  return /auto|scroll|overlay|hidden/.test(o + n + r);
970
998
  }
971
- function En(t) {
999
+ function Pn(t) {
972
1000
  var e = t.getBoundingClientRect(), o = e.width / t.offsetWidth || 1, r = e.height / t.offsetHeight || 1;
973
1001
  return o !== 1 || r !== 1;
974
1002
  }
975
- function Rn(t, e, o) {
1003
+ function Ln(t, e, o) {
976
1004
  o === void 0 && (o = !1);
977
- var r = Z(e);
978
- Z(e) && En(e);
979
- var n = ue(e), s = ge(t), l = {
1005
+ var r = V(e);
1006
+ V(e) && Pn(e);
1007
+ var n = ue(e), s = ye(t), l = {
980
1008
  scrollLeft: 0,
981
1009
  scrollTop: 0
982
1010
  }, a = {
@@ -984,15 +1012,15 @@ function Rn(t, e, o) {
984
1012
  y: 0
985
1013
  };
986
1014
  return (r || !r && !o) && ((ee(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
987
- ct(n)) && (l = kn(e)), Z(e) ? (a = ge(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = lt(n))), {
1015
+ dt(n)) && (l = Sn(e)), V(e) ? (a = ye(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = ct(n))), {
988
1016
  x: s.left + l.scrollLeft - a.x,
989
1017
  y: s.top + l.scrollTop - a.y,
990
1018
  width: s.width,
991
1019
  height: s.height
992
1020
  };
993
1021
  }
994
- function dt(t) {
995
- var e = ge(t), o = t.offsetWidth, r = t.offsetHeight;
1022
+ function ut(t) {
1023
+ var e = ye(t), o = t.offsetWidth, r = t.offsetHeight;
996
1024
  return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
997
1025
  x: t.offsetLeft,
998
1026
  y: t.offsetTop,
@@ -1000,45 +1028,45 @@ function dt(t) {
1000
1028
  height: r
1001
1029
  };
1002
1030
  }
1003
- function Qe(t) {
1031
+ function Ke(t) {
1004
1032
  return ee(t) === "html" ? t : (
1005
1033
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
1006
1034
  // $FlowFixMe[incompatible-return]
1007
1035
  // $FlowFixMe[prop-missing]
1008
1036
  t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
1009
1037
  t.parentNode || // DOM Element detected
1010
- (Nt(t) ? t.host : null) || // ShadowRoot detected
1038
+ (Ft(t) ? t.host : null) || // ShadowRoot detected
1011
1039
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
1012
1040
  ue(t)
1013
1041
  );
1014
1042
  }
1015
- function Tt(t) {
1016
- return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : Z(t) && ct(t) ? t : Tt(Qe(t));
1043
+ function qt(t) {
1044
+ return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : V(t) && dt(t) ? t : qt(Ke(t));
1017
1045
  }
1018
- function Re(t, e) {
1046
+ function Ce(t, e) {
1019
1047
  var o;
1020
1048
  e === void 0 && (e = []);
1021
- var r = Tt(t), n = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = W(r), l = n ? [s].concat(s.visualViewport || [], ct(r) ? r : []) : r, a = e.concat(l);
1049
+ var r = qt(t), n = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = W(r), l = n ? [s].concat(s.visualViewport || [], dt(r) ? r : []) : r, a = e.concat(l);
1022
1050
  return n ? a : (
1023
1051
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1024
- a.concat(Re(Qe(l)))
1052
+ a.concat(Ce(Ke(l)))
1025
1053
  );
1026
1054
  }
1027
- function Yn(t) {
1055
+ function Mn(t) {
1028
1056
  return ["table", "td", "th"].indexOf(ee(t)) >= 0;
1029
1057
  }
1030
1058
  function Et(t) {
1031
- return !Z(t) || // https://github.com/popperjs/popper-core/issues/837
1059
+ return !V(t) || // https://github.com/popperjs/popper-core/issues/837
1032
1060
  ie(t).position === "fixed" ? null : t.offsetParent;
1033
1061
  }
1034
- function Gn(t) {
1062
+ function zn(t) {
1035
1063
  var e = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, o = navigator.userAgent.indexOf("Trident") !== -1;
1036
- if (o && Z(t)) {
1064
+ if (o && V(t)) {
1037
1065
  var r = ie(t);
1038
1066
  if (r.position === "fixed")
1039
1067
  return null;
1040
1068
  }
1041
- for (var n = Qe(t); Z(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1069
+ for (var n = Ke(t); V(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1042
1070
  var s = ie(n);
1043
1071
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
1044
1072
  return n;
@@ -1047,16 +1075,16 @@ function Gn(t) {
1047
1075
  return null;
1048
1076
  }
1049
1077
  function Pe(t) {
1050
- for (var e = W(t), o = Et(t); o && Yn(o) && ie(o).position === "static"; )
1078
+ for (var e = W(t), o = Et(t); o && Mn(o) && ie(o).position === "static"; )
1051
1079
  o = Et(o);
1052
- return o && (ee(o) === "html" || ee(o) === "body" && ie(o).position === "static") ? e : o || Gn(t) || e;
1053
- }
1054
- var K = "top", U = "bottom", B = "right", Q = "left", ut = "auto", ze = [K, U, B, Q], xe = "start", Ge = "end", Cn = "clippingParents", Ft = "viewport", Ee = "popper", Sn = "reference", Rt = /* @__PURE__ */ ze.reduce(function(t, e) {
1055
- return t.concat([e + "-" + xe, e + "-" + Ge]);
1056
- }, []), qt = /* @__PURE__ */ [].concat(ze, [ut]).reduce(function(t, e) {
1057
- return t.concat([e, e + "-" + xe, e + "-" + Ge]);
1058
- }, []), In = "beforeRead", Pn = "read", zn = "afterRead", On = "beforeMain", Ln = "main", Mn = "afterMain", Hn = "beforeWrite", jn = "write", Dn = "afterWrite", Nn = [In, Pn, zn, On, Ln, Mn, Hn, jn, Dn];
1059
- function Tn(t) {
1080
+ return o && (ee(o) === "html" || ee(o) === "body" && ie(o).position === "static") ? e : o || zn(t) || e;
1081
+ }
1082
+ var K = "top", U = "bottom", B = "right", X = "left", pt = "auto", Le = [K, U, B, X], xe = "start", Ye = "end", Hn = "clippingParents", Zt = "viewport", Ee = "popper", On = "reference", Ct = /* @__PURE__ */ Le.reduce(function(t, e) {
1083
+ return t.concat([e + "-" + xe, e + "-" + Ye]);
1084
+ }, []), Vt = /* @__PURE__ */ [].concat(Le, [pt]).reduce(function(t, e) {
1085
+ return t.concat([e, e + "-" + xe, e + "-" + Ye]);
1086
+ }, []), Dn = "beforeRead", Tn = "read", Nn = "afterRead", jn = "beforeMain", Qn = "main", Fn = "afterMain", qn = "beforeWrite", Zn = "write", Vn = "afterWrite", Kn = [Dn, Tn, Nn, jn, Qn, Fn, qn, Zn, Vn];
1087
+ function Xn(t) {
1060
1088
  var e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), r = [];
1061
1089
  t.forEach(function(s) {
1062
1090
  e.set(s.name, s);
@@ -1066,8 +1094,8 @@ function Tn(t) {
1066
1094
  var l = [].concat(s.requires || [], s.requiresIfExists || []);
1067
1095
  l.forEach(function(a) {
1068
1096
  if (!o.has(a)) {
1069
- var d = e.get(a);
1070
- d && n(d);
1097
+ var c = e.get(a);
1098
+ c && n(c);
1071
1099
  }
1072
1100
  }), r.push(s);
1073
1101
  }
@@ -1075,15 +1103,15 @@ function Tn(t) {
1075
1103
  o.has(s.name) || n(s);
1076
1104
  }), r;
1077
1105
  }
1078
- function Fn(t) {
1079
- var e = Tn(t);
1080
- return Nn.reduce(function(o, r) {
1106
+ function Un(t) {
1107
+ var e = Xn(t);
1108
+ return Kn.reduce(function(o, r) {
1081
1109
  return o.concat(e.filter(function(n) {
1082
1110
  return n.phase === r;
1083
1111
  }));
1084
1112
  }, []);
1085
1113
  }
1086
- function qn(t) {
1114
+ function Bn(t) {
1087
1115
  var e;
1088
1116
  return function() {
1089
1117
  return e || (e = new Promise(function(o) {
@@ -1096,7 +1124,7 @@ function qn(t) {
1096
1124
  function $(t) {
1097
1125
  return t.split("-")[0];
1098
1126
  }
1099
- function Vn(t) {
1127
+ function Wn(t) {
1100
1128
  var e = t.reduce(function(o, r) {
1101
1129
  var n = o[r.name];
1102
1130
  return o[r.name] = n ? Object.assign({}, n, r, {
@@ -1108,30 +1136,30 @@ function Vn(t) {
1108
1136
  return e[o];
1109
1137
  });
1110
1138
  }
1111
- function Zn(t) {
1139
+ function Jn(t) {
1112
1140
  var e = W(t), o = ue(t), r = e.visualViewport, n = o.clientWidth, s = o.clientHeight, l = 0, a = 0;
1113
1141
  return r && (n = r.width, s = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, a = r.offsetTop)), {
1114
1142
  width: n,
1115
1143
  height: s,
1116
- x: l + lt(t),
1144
+ x: l + ct(t),
1117
1145
  y: a
1118
1146
  };
1119
1147
  }
1120
- var de = Math.max, Ce = Math.min, je = Math.round;
1121
- function Kn(t) {
1122
- var e, o = ue(t), r = it(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), l = de(o.scrollHeight, o.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -r.scrollLeft + lt(t), d = -r.scrollTop;
1148
+ var de = Math.max, Ge = Math.min, De = Math.round;
1149
+ function _n(t) {
1150
+ var e, o = ue(t), r = lt(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), l = de(o.scrollHeight, o.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -r.scrollLeft + ct(t), c = -r.scrollTop;
1123
1151
  return ie(n || o).direction === "rtl" && (a += de(o.clientWidth, n ? n.clientWidth : 0) - s), {
1124
1152
  width: s,
1125
1153
  height: l,
1126
1154
  x: a,
1127
- y: d
1155
+ y: c
1128
1156
  };
1129
1157
  }
1130
- function Vt(t, e) {
1158
+ function Kt(t, e) {
1131
1159
  var o = e.getRootNode && e.getRootNode();
1132
1160
  if (t.contains(e))
1133
1161
  return !0;
1134
- if (o && Nt(o)) {
1162
+ if (o && Ft(o)) {
1135
1163
  var r = e;
1136
1164
  do {
1137
1165
  if (r && t.isSameNode(r))
@@ -1149,80 +1177,80 @@ function rt(t) {
1149
1177
  bottom: t.y + t.height
1150
1178
  });
1151
1179
  }
1152
- function Qn(t) {
1153
- var e = ge(t);
1180
+ function $n(t) {
1181
+ var e = ye(t);
1154
1182
  return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e;
1155
1183
  }
1156
- function Yt(t, e) {
1157
- return e === Ft ? rt(Zn(t)) : Z(e) ? Qn(e) : rt(Kn(ue(t)));
1184
+ function Rt(t, e) {
1185
+ return e === Zt ? rt(Jn(t)) : V(e) ? $n(e) : rt(_n(ue(t)));
1158
1186
  }
1159
- function Xn(t) {
1160
- var e = Re(Qe(t)), o = ["absolute", "fixed"].indexOf(ie(t).position) >= 0, r = o && Z(t) ? Pe(t) : t;
1161
- return Ye(r) ? e.filter(function(n) {
1162
- return Ye(n) && Vt(n, r) && ee(n) !== "body";
1187
+ function es(t) {
1188
+ var e = Ce(Ke(t)), o = ["absolute", "fixed"].indexOf(ie(t).position) >= 0, r = o && V(t) ? Pe(t) : t;
1189
+ return Re(r) ? e.filter(function(n) {
1190
+ return Re(n) && Kt(n, r) && ee(n) !== "body";
1163
1191
  }) : [];
1164
1192
  }
1165
- function Un(t, e, o) {
1166
- var r = e === "clippingParents" ? Xn(t) : [].concat(e), n = [].concat(r, [o]), s = n[0], l = n.reduce(function(a, d) {
1167
- var h = Yt(t, d);
1168
- return a.top = de(h.top, a.top), a.right = Ce(h.right, a.right), a.bottom = Ce(h.bottom, a.bottom), a.left = de(h.left, a.left), a;
1169
- }, Yt(t, s));
1193
+ function ts(t, e, o) {
1194
+ var r = e === "clippingParents" ? es(t) : [].concat(e), n = [].concat(r, [o]), s = n[0], l = n.reduce(function(a, c) {
1195
+ var A = Rt(t, c);
1196
+ return a.top = de(A.top, a.top), a.right = Ge(A.right, a.right), a.bottom = Ge(A.bottom, a.bottom), a.left = de(A.left, a.left), a;
1197
+ }, Rt(t, s));
1170
1198
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
1171
1199
  }
1172
1200
  function we(t) {
1173
1201
  return t.split("-")[1];
1174
1202
  }
1175
- function pt(t) {
1203
+ function ft(t) {
1176
1204
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
1177
1205
  }
1178
- function Zt(t) {
1179
- var e = t.reference, o = t.element, r = t.placement, n = r ? $(r) : null, s = r ? we(r) : null, l = e.x + e.width / 2 - o.width / 2, a = e.y + e.height / 2 - o.height / 2, d;
1206
+ function Xt(t) {
1207
+ var e = t.reference, o = t.element, r = t.placement, n = r ? $(r) : null, s = r ? we(r) : null, l = e.x + e.width / 2 - o.width / 2, a = e.y + e.height / 2 - o.height / 2, c;
1180
1208
  switch (n) {
1181
1209
  case K:
1182
- d = {
1210
+ c = {
1183
1211
  x: l,
1184
1212
  y: e.y - o.height
1185
1213
  };
1186
1214
  break;
1187
1215
  case U:
1188
- d = {
1216
+ c = {
1189
1217
  x: l,
1190
1218
  y: e.y + e.height
1191
1219
  };
1192
1220
  break;
1193
1221
  case B:
1194
- d = {
1222
+ c = {
1195
1223
  x: e.x + e.width,
1196
1224
  y: a
1197
1225
  };
1198
1226
  break;
1199
- case Q:
1200
- d = {
1227
+ case X:
1228
+ c = {
1201
1229
  x: e.x - o.width,
1202
1230
  y: a
1203
1231
  };
1204
1232
  break;
1205
1233
  default:
1206
- d = {
1234
+ c = {
1207
1235
  x: e.x,
1208
1236
  y: e.y
1209
1237
  };
1210
1238
  }
1211
- var h = n ? pt(n) : null;
1212
- if (h != null) {
1213
- var c = h === "y" ? "height" : "width";
1239
+ var A = n ? ft(n) : null;
1240
+ if (A != null) {
1241
+ var u = A === "y" ? "height" : "width";
1214
1242
  switch (s) {
1215
1243
  case xe:
1216
- d[h] = d[h] - (e[c] / 2 - o[c] / 2);
1244
+ c[A] = c[A] - (e[u] / 2 - o[u] / 2);
1217
1245
  break;
1218
- case Ge:
1219
- d[h] = d[h] + (e[c] / 2 - o[c] / 2);
1246
+ case Ye:
1247
+ c[A] = c[A] + (e[u] / 2 - o[u] / 2);
1220
1248
  break;
1221
1249
  }
1222
1250
  }
1223
- return d;
1251
+ return c;
1224
1252
  }
1225
- function Kt() {
1253
+ function Ut() {
1226
1254
  return {
1227
1255
  top: 0,
1228
1256
  right: 0,
@@ -1230,76 +1258,76 @@ function Kt() {
1230
1258
  left: 0
1231
1259
  };
1232
1260
  }
1233
- function Qt(t) {
1234
- return Object.assign({}, Kt(), t);
1261
+ function Bt(t) {
1262
+ return Object.assign({}, Ut(), t);
1235
1263
  }
1236
- function Xt(t, e) {
1264
+ function Wt(t, e) {
1237
1265
  return e.reduce(function(o, r) {
1238
1266
  return o[r] = t, o;
1239
1267
  }, {});
1240
1268
  }
1241
- function ft(t, e) {
1269
+ function vt(t, e) {
1242
1270
  e === void 0 && (e = {});
1243
- var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Cn : s, a = o.rootBoundary, d = a === void 0 ? Ft : a, h = o.elementContext, c = h === void 0 ? Ee : h, b = o.altBoundary, u = b === void 0 ? !1 : b, f = o.padding, x = f === void 0 ? 0 : f, p = Qt(typeof x != "number" ? x : Xt(x, ze)), g = c === Ee ? Sn : Ee, R = t.rects.popper, Y = t.elements[u ? g : c], E = Un(Ye(Y) ? Y : Y.contextElement || ue(t.elements.popper), l, d), w = ge(t.elements.reference), I = Zt({
1244
- reference: w,
1245
- element: R,
1271
+ var o = e, r = o.placement, n = r === void 0 ? t.placement : r, s = o.boundary, l = s === void 0 ? Hn : s, a = o.rootBoundary, c = a === void 0 ? Zt : a, A = o.elementContext, u = A === void 0 ? Ee : A, m = o.altBoundary, d = m === void 0 ? !1 : m, f = o.padding, g = f === void 0 ? 0 : f, p = Bt(typeof g != "number" ? g : Wt(g, Le)), y = u === Ee ? On : Ee, E = t.rects.popper, C = t.elements[d ? y : u], k = ts(Re(C) ? C : C.contextElement || ue(t.elements.popper), l, c), x = ye(t.elements.reference), S = Xt({
1272
+ reference: x,
1273
+ element: E,
1246
1274
  strategy: "absolute",
1247
1275
  placement: n
1248
- }), G = rt(Object.assign({}, R, I)), C = c === Ee ? G : w, O = {
1249
- top: E.top - C.top + p.top,
1250
- bottom: C.bottom - E.bottom + p.bottom,
1251
- left: E.left - C.left + p.left,
1252
- right: C.right - E.right + p.right
1253
- }, z = t.modifiersData.offset;
1254
- if (c === Ee && z) {
1255
- var D = z[n];
1256
- Object.keys(O).forEach(function(N) {
1257
- var oe = [B, U].indexOf(N) >= 0 ? 1 : -1, L = [K, U].indexOf(N) >= 0 ? "y" : "x";
1258
- O[N] += D[L] * oe;
1276
+ }), R = rt(Object.assign({}, E, S)), G = u === Ee ? R : x, M = {
1277
+ top: k.top - G.top + p.top,
1278
+ bottom: G.bottom - k.bottom + p.bottom,
1279
+ left: k.left - G.left + p.left,
1280
+ right: G.right - k.right + p.right
1281
+ }, L = t.modifiersData.offset;
1282
+ if (u === Ee && L) {
1283
+ var N = L[n];
1284
+ Object.keys(M).forEach(function(j) {
1285
+ var oe = [B, U].indexOf(j) >= 0 ? 1 : -1, z = [K, U].indexOf(j) >= 0 ? "y" : "x";
1286
+ M[j] += N[z] * oe;
1259
1287
  });
1260
1288
  }
1261
- return O;
1289
+ return M;
1262
1290
  }
1263
- var Gt = {
1291
+ var Yt = {
1264
1292
  placement: "bottom",
1265
1293
  modifiers: [],
1266
1294
  strategy: "absolute"
1267
1295
  };
1268
- function Ct() {
1296
+ function Gt() {
1269
1297
  for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
1270
1298
  e[o] = arguments[o];
1271
1299
  return !e.some(function(r) {
1272
1300
  return !(r && typeof r.getBoundingClientRect == "function");
1273
1301
  });
1274
1302
  }
1275
- function Bn(t) {
1303
+ function os(t) {
1276
1304
  t === void 0 && (t = {});
1277
- var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Gt : n;
1278
- return function(a, d, h) {
1279
- h === void 0 && (h = s);
1280
- var c = {
1305
+ var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Yt : n;
1306
+ return function(a, c, A) {
1307
+ A === void 0 && (A = s);
1308
+ var u = {
1281
1309
  placement: "bottom",
1282
1310
  orderedModifiers: [],
1283
- options: Object.assign({}, Gt, s),
1311
+ options: Object.assign({}, Yt, s),
1284
1312
  modifiersData: {},
1285
1313
  elements: {
1286
1314
  reference: a,
1287
- popper: d
1315
+ popper: c
1288
1316
  },
1289
1317
  attributes: {},
1290
1318
  styles: {}
1291
- }, b = [], u = !1, f = {
1292
- state: c,
1293
- setOptions: function(R) {
1294
- var Y = typeof R == "function" ? R(c.options) : R;
1295
- p(), c.options = Object.assign({}, s, c.options, Y), c.scrollParents = {
1296
- reference: Ye(a) ? Re(a) : a.contextElement ? Re(a.contextElement) : [],
1297
- popper: Re(d)
1319
+ }, m = [], d = !1, f = {
1320
+ state: u,
1321
+ setOptions: function(E) {
1322
+ var C = typeof E == "function" ? E(u.options) : E;
1323
+ p(), u.options = Object.assign({}, s, u.options, C), u.scrollParents = {
1324
+ reference: Re(a) ? Ce(a) : a.contextElement ? Ce(a.contextElement) : [],
1325
+ popper: Ce(c)
1298
1326
  };
1299
- var E = Fn(Vn([].concat(r, c.options.modifiers)));
1300
- return c.orderedModifiers = E.filter(function(w) {
1301
- return w.enabled;
1302
- }), x(), f.update();
1327
+ var k = Un(Wn([].concat(r, u.options.modifiers)));
1328
+ return u.orderedModifiers = k.filter(function(x) {
1329
+ return x.enabled;
1330
+ }), g(), f.update();
1303
1331
  },
1304
1332
  // Sync update – it will always be executed, even if not necessary. This
1305
1333
  // is useful for low frequency updates where sync behavior simplifies the
@@ -1307,175 +1335,175 @@ function Bn(t) {
1307
1335
  // For high frequency updates (e.g. `resize` and `scroll` events), always
1308
1336
  // prefer the async Popper#update method
1309
1337
  forceUpdate: function() {
1310
- if (!u) {
1311
- var R = c.elements, Y = R.reference, E = R.popper;
1312
- if (Ct(Y, E)) {
1313
- c.rects = {
1314
- reference: Rn(Y, Pe(E), c.options.strategy === "fixed"),
1315
- popper: dt(E)
1316
- }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(D) {
1317
- return c.modifiersData[D.name] = Object.assign({}, D.data);
1338
+ if (!d) {
1339
+ var E = u.elements, C = E.reference, k = E.popper;
1340
+ if (Gt(C, k)) {
1341
+ u.rects = {
1342
+ reference: Ln(C, Pe(k), u.options.strategy === "fixed"),
1343
+ popper: ut(k)
1344
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(N) {
1345
+ return u.modifiersData[N.name] = Object.assign({}, N.data);
1318
1346
  });
1319
- for (var w = 0; w < c.orderedModifiers.length; w++) {
1320
- if (c.reset === !0) {
1321
- c.reset = !1, w = -1;
1347
+ for (var x = 0; x < u.orderedModifiers.length; x++) {
1348
+ if (u.reset === !0) {
1349
+ u.reset = !1, x = -1;
1322
1350
  continue;
1323
1351
  }
1324
- var I = c.orderedModifiers[w], G = I.fn, C = I.options, O = C === void 0 ? {} : C, z = I.name;
1325
- typeof G == "function" && (c = G({
1326
- state: c,
1327
- options: O,
1328
- name: z,
1352
+ var S = u.orderedModifiers[x], R = S.fn, G = S.options, M = G === void 0 ? {} : G, L = S.name;
1353
+ typeof R == "function" && (u = R({
1354
+ state: u,
1355
+ options: M,
1356
+ name: L,
1329
1357
  instance: f
1330
- }) || c);
1358
+ }) || u);
1331
1359
  }
1332
1360
  }
1333
1361
  }
1334
1362
  },
1335
1363
  // Async and optimistically optimized update – it will not be executed if
1336
1364
  // not necessary (debounced to run at most once-per-tick)
1337
- update: qn(function() {
1338
- return new Promise(function(g) {
1339
- f.forceUpdate(), g(c);
1365
+ update: Bn(function() {
1366
+ return new Promise(function(y) {
1367
+ f.forceUpdate(), y(u);
1340
1368
  });
1341
1369
  }),
1342
1370
  destroy: function() {
1343
- p(), u = !0;
1371
+ p(), d = !0;
1344
1372
  }
1345
1373
  };
1346
- if (!Ct(a, d))
1374
+ if (!Gt(a, c))
1347
1375
  return f;
1348
- f.setOptions(h).then(function(g) {
1349
- !u && h.onFirstUpdate && h.onFirstUpdate(g);
1376
+ f.setOptions(A).then(function(y) {
1377
+ !d && A.onFirstUpdate && A.onFirstUpdate(y);
1350
1378
  });
1351
- function x() {
1352
- c.orderedModifiers.forEach(function(g) {
1353
- var R = g.name, Y = g.options, E = Y === void 0 ? {} : Y, w = g.effect;
1354
- if (typeof w == "function") {
1355
- var I = w({
1356
- state: c,
1357
- name: R,
1379
+ function g() {
1380
+ u.orderedModifiers.forEach(function(y) {
1381
+ var E = y.name, C = y.options, k = C === void 0 ? {} : C, x = y.effect;
1382
+ if (typeof x == "function") {
1383
+ var S = x({
1384
+ state: u,
1385
+ name: E,
1358
1386
  instance: f,
1359
- options: E
1360
- }), G = function() {
1387
+ options: k
1388
+ }), R = function() {
1361
1389
  };
1362
- b.push(I || G);
1390
+ m.push(S || R);
1363
1391
  }
1364
1392
  });
1365
1393
  }
1366
1394
  function p() {
1367
- b.forEach(function(g) {
1368
- return g();
1369
- }), b = [];
1395
+ m.forEach(function(y) {
1396
+ return y();
1397
+ }), m = [];
1370
1398
  }
1371
1399
  return f;
1372
1400
  };
1373
1401
  }
1374
- var De = {
1402
+ var Te = {
1375
1403
  passive: !0
1376
1404
  };
1377
- function Wn(t) {
1378
- var e = t.state, o = t.instance, r = t.options, n = r.scroll, s = n === void 0 ? !0 : n, l = r.resize, a = l === void 0 ? !0 : l, d = W(e.elements.popper), h = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1379
- return s && h.forEach(function(c) {
1380
- c.addEventListener("scroll", o.update, De);
1381
- }), a && d.addEventListener("resize", o.update, De), function() {
1382
- s && h.forEach(function(c) {
1383
- c.removeEventListener("scroll", o.update, De);
1384
- }), a && d.removeEventListener("resize", o.update, De);
1405
+ function rs(t) {
1406
+ var e = t.state, o = t.instance, r = t.options, n = r.scroll, s = n === void 0 ? !0 : n, l = r.resize, a = l === void 0 ? !0 : l, c = W(e.elements.popper), A = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1407
+ return s && A.forEach(function(u) {
1408
+ u.addEventListener("scroll", o.update, Te);
1409
+ }), a && c.addEventListener("resize", o.update, Te), function() {
1410
+ s && A.forEach(function(u) {
1411
+ u.removeEventListener("scroll", o.update, Te);
1412
+ }), a && c.removeEventListener("resize", o.update, Te);
1385
1413
  };
1386
1414
  }
1387
- var Jn = {
1415
+ var ns = {
1388
1416
  name: "eventListeners",
1389
1417
  enabled: !0,
1390
1418
  phase: "write",
1391
1419
  fn: function() {
1392
1420
  },
1393
- effect: Wn,
1421
+ effect: rs,
1394
1422
  data: {}
1395
1423
  };
1396
- function _n(t) {
1424
+ function ss(t) {
1397
1425
  var e = t.state, o = t.name;
1398
- e.modifiersData[o] = Zt({
1426
+ e.modifiersData[o] = Xt({
1399
1427
  reference: e.rects.reference,
1400
1428
  element: e.rects.popper,
1401
1429
  strategy: "absolute",
1402
1430
  placement: e.placement
1403
1431
  });
1404
1432
  }
1405
- var $n = {
1433
+ var as = {
1406
1434
  name: "popperOffsets",
1407
1435
  enabled: !0,
1408
1436
  phase: "read",
1409
- fn: _n,
1437
+ fn: ss,
1410
1438
  data: {}
1411
- }, es = {
1439
+ }, is = {
1412
1440
  top: "auto",
1413
1441
  right: "auto",
1414
1442
  bottom: "auto",
1415
1443
  left: "auto"
1416
1444
  };
1417
- function ts(t) {
1445
+ function ls(t) {
1418
1446
  var e = t.x, o = t.y, r = window, n = r.devicePixelRatio || 1;
1419
1447
  return {
1420
- x: je(je(e * n) / n) || 0,
1421
- y: je(je(o * n) / n) || 0
1448
+ x: De(De(e * n) / n) || 0,
1449
+ y: De(De(o * n) / n) || 0
1422
1450
  };
1423
1451
  }
1424
1452
  function St(t) {
1425
- var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, d = t.gpuAcceleration, h = t.adaptive, c = t.roundOffsets, b = c === !0 ? ts(l) : typeof c == "function" ? c(l) : l, u = b.x, f = u === void 0 ? 0 : u, x = b.y, p = x === void 0 ? 0 : x, g = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), Y = Q, E = K, w = window;
1426
- if (h) {
1427
- var I = Pe(o), G = "clientHeight", C = "clientWidth";
1428
- I === W(o) && (I = ue(o), ie(I).position !== "static" && a === "absolute" && (G = "scrollHeight", C = "scrollWidth")), I = I, (n === K || (n === Q || n === B) && s === Ge) && (E = U, p -= I[G] - r.height, p *= d ? 1 : -1), (n === Q || (n === K || n === U) && s === Ge) && (Y = B, f -= I[C] - r.width, f *= d ? 1 : -1);
1453
+ var e, o = t.popper, r = t.popperRect, n = t.placement, s = t.variation, l = t.offsets, a = t.position, c = t.gpuAcceleration, A = t.adaptive, u = t.roundOffsets, m = u === !0 ? ls(l) : typeof u == "function" ? u(l) : l, d = m.x, f = d === void 0 ? 0 : d, g = m.y, p = g === void 0 ? 0 : g, y = l.hasOwnProperty("x"), E = l.hasOwnProperty("y"), C = X, k = K, x = window;
1454
+ if (A) {
1455
+ var S = Pe(o), R = "clientHeight", G = "clientWidth";
1456
+ S === W(o) && (S = ue(o), ie(S).position !== "static" && a === "absolute" && (R = "scrollHeight", G = "scrollWidth")), S = S, (n === K || (n === X || n === B) && s === Ye) && (k = U, p -= S[R] - r.height, p *= c ? 1 : -1), (n === X || (n === K || n === U) && s === Ye) && (C = B, f -= S[G] - r.width, f *= c ? 1 : -1);
1429
1457
  }
1430
- var O = Object.assign({
1458
+ var M = Object.assign({
1431
1459
  position: a
1432
- }, h && es);
1433
- if (d) {
1434
- var z;
1435
- return Object.assign({}, O, (z = {}, z[E] = R ? "0" : "", z[Y] = g ? "0" : "", z.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", z));
1460
+ }, A && is);
1461
+ if (c) {
1462
+ var L;
1463
+ return Object.assign({}, M, (L = {}, L[k] = E ? "0" : "", L[C] = y ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", L));
1436
1464
  }
1437
- return Object.assign({}, O, (e = {}, e[E] = R ? p + "px" : "", e[Y] = g ? f + "px" : "", e.transform = "", e));
1465
+ return Object.assign({}, M, (e = {}, e[k] = E ? p + "px" : "", e[C] = y ? f + "px" : "", e.transform = "", e));
1438
1466
  }
1439
- function os(t) {
1440
- var e = t.state, o = t.options, r = o.gpuAcceleration, n = r === void 0 ? !0 : r, s = o.adaptive, l = s === void 0 ? !0 : s, a = o.roundOffsets, d = a === void 0 ? !0 : a, h = {
1467
+ function cs(t) {
1468
+ var e = t.state, o = t.options, r = o.gpuAcceleration, n = r === void 0 ? !0 : r, s = o.adaptive, l = s === void 0 ? !0 : s, a = o.roundOffsets, c = a === void 0 ? !0 : a, A = {
1441
1469
  placement: $(e.placement),
1442
1470
  variation: we(e.placement),
1443
1471
  popper: e.elements.popper,
1444
1472
  popperRect: e.rects.popper,
1445
1473
  gpuAcceleration: n
1446
1474
  };
1447
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, St(Object.assign({}, h, {
1475
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, St(Object.assign({}, A, {
1448
1476
  offsets: e.modifiersData.popperOffsets,
1449
1477
  position: e.options.strategy,
1450
1478
  adaptive: l,
1451
- roundOffsets: d
1452
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, St(Object.assign({}, h, {
1479
+ roundOffsets: c
1480
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, St(Object.assign({}, A, {
1453
1481
  offsets: e.modifiersData.arrow,
1454
1482
  position: "absolute",
1455
1483
  adaptive: !1,
1456
- roundOffsets: d
1484
+ roundOffsets: c
1457
1485
  })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
1458
1486
  "data-popper-placement": e.placement
1459
1487
  });
1460
1488
  }
1461
- var rs = {
1489
+ var ds = {
1462
1490
  name: "computeStyles",
1463
1491
  enabled: !0,
1464
1492
  phase: "beforeWrite",
1465
- fn: os,
1493
+ fn: cs,
1466
1494
  data: {}
1467
1495
  };
1468
- function ns(t) {
1496
+ function us(t) {
1469
1497
  var e = t.state;
1470
1498
  Object.keys(e.elements).forEach(function(o) {
1471
1499
  var r = e.styles[o] || {}, n = e.attributes[o] || {}, s = e.elements[o];
1472
- !Z(s) || !ee(s) || (Object.assign(s.style, r), Object.keys(n).forEach(function(l) {
1500
+ !V(s) || !ee(s) || (Object.assign(s.style, r), Object.keys(n).forEach(function(l) {
1473
1501
  var a = n[l];
1474
1502
  a === !1 ? s.removeAttribute(l) : s.setAttribute(l, a === !0 ? "" : a);
1475
1503
  }));
1476
1504
  });
1477
1505
  }
1478
- function ss(t) {
1506
+ function ps(t) {
1479
1507
  var e = t.state, o = {
1480
1508
  popper: {
1481
1509
  position: e.options.strategy,
@@ -1490,177 +1518,177 @@ function ss(t) {
1490
1518
  };
1491
1519
  return Object.assign(e.elements.popper.style, o.popper), e.styles = o, e.elements.arrow && Object.assign(e.elements.arrow.style, o.arrow), function() {
1492
1520
  Object.keys(e.elements).forEach(function(r) {
1493
- var n = e.elements[r], s = e.attributes[r] || {}, l = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : o[r]), a = l.reduce(function(d, h) {
1494
- return d[h] = "", d;
1521
+ var n = e.elements[r], s = e.attributes[r] || {}, l = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : o[r]), a = l.reduce(function(c, A) {
1522
+ return c[A] = "", c;
1495
1523
  }, {});
1496
- !Z(n) || !ee(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(d) {
1497
- n.removeAttribute(d);
1524
+ !V(n) || !ee(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(c) {
1525
+ n.removeAttribute(c);
1498
1526
  }));
1499
1527
  });
1500
1528
  };
1501
1529
  }
1502
- var as = {
1530
+ var fs = {
1503
1531
  name: "applyStyles",
1504
1532
  enabled: !0,
1505
1533
  phase: "write",
1506
- fn: ns,
1507
- effect: ss,
1534
+ fn: us,
1535
+ effect: ps,
1508
1536
  requires: ["computeStyles"]
1509
- }, is = [Jn, $n, rs, as], ls = /* @__PURE__ */ Bn({
1510
- defaultModifiers: is
1537
+ }, vs = [ns, as, ds, fs], hs = /* @__PURE__ */ os({
1538
+ defaultModifiers: vs
1511
1539
  });
1512
- function cs(t) {
1540
+ function As(t) {
1513
1541
  return t === "x" ? "y" : "x";
1514
1542
  }
1515
- function Fe(t, e, o) {
1516
- return de(t, Ce(e, o));
1543
+ function Qe(t, e, o) {
1544
+ return de(t, Ge(e, o));
1517
1545
  }
1518
- function ds(t) {
1519
- var e = t.state, o = t.options, r = t.name, n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !1 : l, d = o.boundary, h = o.rootBoundary, c = o.altBoundary, b = o.padding, u = o.tether, f = u === void 0 ? !0 : u, x = o.tetherOffset, p = x === void 0 ? 0 : x, g = ft(e, {
1520
- boundary: d,
1521
- rootBoundary: h,
1522
- padding: b,
1523
- altBoundary: c
1524
- }), R = $(e.placement), Y = we(e.placement), E = !Y, w = pt(R), I = cs(w), G = e.modifiersData.popperOffsets, C = e.rects.reference, O = e.rects.popper, z = typeof p == "function" ? p(Object.assign({}, e.rects, {
1546
+ function ms(t) {
1547
+ var e = t.state, o = t.options, r = t.name, n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !1 : l, c = o.boundary, A = o.rootBoundary, u = o.altBoundary, m = o.padding, d = o.tether, f = d === void 0 ? !0 : d, g = o.tetherOffset, p = g === void 0 ? 0 : g, y = vt(e, {
1548
+ boundary: c,
1549
+ rootBoundary: A,
1550
+ padding: m,
1551
+ altBoundary: u
1552
+ }), E = $(e.placement), C = we(e.placement), k = !C, x = ft(E), S = As(x), R = e.modifiersData.popperOffsets, G = e.rects.reference, M = e.rects.popper, L = typeof p == "function" ? p(Object.assign({}, e.rects, {
1525
1553
  placement: e.placement
1526
- })) : p, D = {
1554
+ })) : p, N = {
1527
1555
  x: 0,
1528
1556
  y: 0
1529
1557
  };
1530
- if (G) {
1558
+ if (R) {
1531
1559
  if (s || a) {
1532
- var N = w === "y" ? K : Q, oe = w === "y" ? U : B, L = w === "y" ? "height" : "width", re = G[w], ne = G[w] + g[N], q = G[w] - g[oe], se = f ? -O[L] / 2 : 0, H = Y === xe ? C[L] : O[L], j = Y === xe ? -O[L] : -C[L], M = e.elements.arrow, ae = f && M ? dt(M) : {
1560
+ var j = x === "y" ? K : X, oe = x === "y" ? U : B, z = x === "y" ? "height" : "width", re = R[x], ne = R[x] + y[j], q = R[x] - y[oe], se = f ? -M[z] / 2 : 0, O = C === xe ? G[z] : M[z], D = C === xe ? -M[z] : -G[z], H = e.elements.arrow, ae = f && H ? ut(H) : {
1533
1561
  width: 0,
1534
1562
  height: 0
1535
- }, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Kt(), Oe = ve[N], pe = ve[oe], J = Fe(0, C[L], ae[L]), Le = E ? C[L] / 2 - se - J - Oe - z : H - J - Oe - z, Xe = E ? -C[L] / 2 + se + J + pe + z : j + J + pe + z, he = e.elements.arrow && Pe(e.elements.arrow), Ue = he ? w === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, ht = e.modifiersData.offset ? e.modifiersData.offset[e.placement][w] : 0, mt = G[w] + Le - ht - Ue, bt = G[w] + Xe - ht;
1563
+ }, ve = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ut(), Me = ve[j], pe = ve[oe], J = Qe(0, G[z], ae[z]), ze = k ? G[z] / 2 - se - J - Me - L : O - J - Me - L, Xe = k ? -G[z] / 2 + se + J + pe + L : D + J + pe + L, he = e.elements.arrow && Pe(e.elements.arrow), Ue = he ? x === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, At = e.modifiersData.offset ? e.modifiersData.offset[e.placement][x] : 0, mt = R[x] + ze - At - Ue, bt = R[x] + Xe - At;
1536
1564
  if (s) {
1537
- var yt = Fe(f ? Ce(ne, mt) : ne, re, f ? de(q, bt) : q);
1538
- G[w] = yt, D[w] = yt - re;
1565
+ var gt = Qe(f ? Ge(ne, mt) : ne, re, f ? de(q, bt) : q);
1566
+ R[x] = gt, N[x] = gt - re;
1539
1567
  }
1540
1568
  if (a) {
1541
- var Wt = w === "x" ? K : Q, Jt = w === "x" ? U : B, Me = G[I], gt = Me + g[Wt], xt = Me - g[Jt], wt = Fe(f ? Ce(gt, mt) : gt, Me, f ? de(xt, bt) : xt);
1542
- G[I] = wt, D[I] = wt - Me;
1569
+ var $t = x === "x" ? K : X, eo = x === "x" ? U : B, He = R[S], yt = He + y[$t], xt = He - y[eo], wt = Qe(f ? Ge(yt, mt) : yt, He, f ? de(xt, bt) : xt);
1570
+ R[S] = wt, N[S] = wt - He;
1543
1571
  }
1544
1572
  }
1545
- e.modifiersData[r] = D;
1573
+ e.modifiersData[r] = N;
1546
1574
  }
1547
1575
  }
1548
- var us = {
1576
+ var bs = {
1549
1577
  name: "preventOverflow",
1550
1578
  enabled: !0,
1551
1579
  phase: "main",
1552
- fn: ds,
1580
+ fn: ms,
1553
1581
  requiresIfExists: ["offset"]
1554
- }, ps = {
1582
+ }, gs = {
1555
1583
  left: "right",
1556
1584
  right: "left",
1557
1585
  bottom: "top",
1558
1586
  top: "bottom"
1559
1587
  };
1560
- function qe(t) {
1588
+ function Fe(t) {
1561
1589
  return t.replace(/left|right|bottom|top/g, function(e) {
1562
- return ps[e];
1590
+ return gs[e];
1563
1591
  });
1564
1592
  }
1565
- var fs = {
1593
+ var ys = {
1566
1594
  start: "end",
1567
1595
  end: "start"
1568
1596
  };
1569
- function It(t) {
1597
+ function Pt(t) {
1570
1598
  return t.replace(/start|end/g, function(e) {
1571
- return fs[e];
1599
+ return ys[e];
1572
1600
  });
1573
1601
  }
1574
- function vs(t, e) {
1602
+ function xs(t, e) {
1575
1603
  e === void 0 && (e = {});
1576
- var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, d = o.allowedAutoPlacements, h = d === void 0 ? qt : d, c = we(r), b = c ? a ? Rt : Rt.filter(function(x) {
1577
- return we(x) === c;
1578
- }) : ze, u = b.filter(function(x) {
1579
- return h.indexOf(x) >= 0;
1604
+ var o = e, r = o.placement, n = o.boundary, s = o.rootBoundary, l = o.padding, a = o.flipVariations, c = o.allowedAutoPlacements, A = c === void 0 ? Vt : c, u = we(r), m = u ? a ? Ct : Ct.filter(function(g) {
1605
+ return we(g) === u;
1606
+ }) : Le, d = m.filter(function(g) {
1607
+ return A.indexOf(g) >= 0;
1580
1608
  });
1581
- u.length === 0 && (u = b);
1582
- var f = u.reduce(function(x, p) {
1583
- return x[p] = ft(t, {
1609
+ d.length === 0 && (d = m);
1610
+ var f = d.reduce(function(g, p) {
1611
+ return g[p] = vt(t, {
1584
1612
  placement: p,
1585
1613
  boundary: n,
1586
1614
  rootBoundary: s,
1587
1615
  padding: l
1588
- })[$(p)], x;
1616
+ })[$(p)], g;
1589
1617
  }, {});
1590
- return Object.keys(f).sort(function(x, p) {
1591
- return f[x] - f[p];
1618
+ return Object.keys(f).sort(function(g, p) {
1619
+ return f[g] - f[p];
1592
1620
  });
1593
1621
  }
1594
- function hs(t) {
1595
- if ($(t) === ut)
1622
+ function ws(t) {
1623
+ if ($(t) === pt)
1596
1624
  return [];
1597
- var e = qe(t);
1598
- return [It(t), e, It(e)];
1625
+ var e = Fe(t);
1626
+ return [Pt(t), e, Pt(e)];
1599
1627
  }
1600
- function ms(t) {
1628
+ function Is(t) {
1601
1629
  var e = t.state, o = t.options, r = t.name;
1602
1630
  if (!e.modifiersData[r]._skip) {
1603
- for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, d = o.fallbackPlacements, h = o.padding, c = o.boundary, b = o.rootBoundary, u = o.altBoundary, f = o.flipVariations, x = f === void 0 ? !0 : f, p = o.allowedAutoPlacements, g = e.options.placement, R = $(g), Y = R === g, E = d || (Y || !x ? [qe(g)] : hs(g)), w = [g].concat(E).reduce(function(pe, J) {
1604
- return pe.concat($(J) === ut ? vs(e, {
1631
+ for (var n = o.mainAxis, s = n === void 0 ? !0 : n, l = o.altAxis, a = l === void 0 ? !0 : l, c = o.fallbackPlacements, A = o.padding, u = o.boundary, m = o.rootBoundary, d = o.altBoundary, f = o.flipVariations, g = f === void 0 ? !0 : f, p = o.allowedAutoPlacements, y = e.options.placement, E = $(y), C = E === y, k = c || (C || !g ? [Fe(y)] : ws(y)), x = [y].concat(k).reduce(function(pe, J) {
1632
+ return pe.concat($(J) === pt ? xs(e, {
1605
1633
  placement: J,
1606
- boundary: c,
1607
- rootBoundary: b,
1608
- padding: h,
1609
- flipVariations: x,
1634
+ boundary: u,
1635
+ rootBoundary: m,
1636
+ padding: A,
1637
+ flipVariations: g,
1610
1638
  allowedAutoPlacements: p
1611
1639
  }) : J);
1612
- }, []), I = e.rects.reference, G = e.rects.popper, C = /* @__PURE__ */ new Map(), O = !0, z = w[0], D = 0; D < w.length; D++) {
1613
- var N = w[D], oe = $(N), L = we(N) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = ft(e, {
1614
- placement: N,
1615
- boundary: c,
1616
- rootBoundary: b,
1617
- altBoundary: u,
1618
- padding: h
1619
- }), se = re ? L ? B : Q : L ? U : K;
1620
- I[ne] > G[ne] && (se = qe(se));
1621
- var H = qe(se), j = [];
1622
- if (s && j.push(q[oe] <= 0), a && j.push(q[se] <= 0, q[H] <= 0), j.every(function(pe) {
1640
+ }, []), S = e.rects.reference, R = e.rects.popper, G = /* @__PURE__ */ new Map(), M = !0, L = x[0], N = 0; N < x.length; N++) {
1641
+ var j = x[N], oe = $(j), z = we(j) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = vt(e, {
1642
+ placement: j,
1643
+ boundary: u,
1644
+ rootBoundary: m,
1645
+ altBoundary: d,
1646
+ padding: A
1647
+ }), se = re ? z ? B : X : z ? U : K;
1648
+ S[ne] > R[ne] && (se = Fe(se));
1649
+ var O = Fe(se), D = [];
1650
+ if (s && D.push(q[oe] <= 0), a && D.push(q[se] <= 0, q[O] <= 0), D.every(function(pe) {
1623
1651
  return pe;
1624
1652
  })) {
1625
- z = N, O = !1;
1653
+ L = j, M = !1;
1626
1654
  break;
1627
1655
  }
1628
- C.set(N, j);
1656
+ G.set(j, D);
1629
1657
  }
1630
- if (O)
1631
- for (var M = x ? 3 : 1, ae = function(J) {
1632
- var Le = w.find(function(Xe) {
1633
- var he = C.get(Xe);
1658
+ if (M)
1659
+ for (var H = g ? 3 : 1, ae = function(J) {
1660
+ var ze = x.find(function(Xe) {
1661
+ var he = G.get(Xe);
1634
1662
  if (he)
1635
1663
  return he.slice(0, J).every(function(Ue) {
1636
1664
  return Ue;
1637
1665
  });
1638
1666
  });
1639
- if (Le)
1640
- return z = Le, "break";
1641
- }, ve = M; ve > 0; ve--) {
1642
- var Oe = ae(ve);
1643
- if (Oe === "break")
1667
+ if (ze)
1668
+ return L = ze, "break";
1669
+ }, ve = H; ve > 0; ve--) {
1670
+ var Me = ae(ve);
1671
+ if (Me === "break")
1644
1672
  break;
1645
1673
  }
1646
- e.placement !== z && (e.modifiersData[r]._skip = !0, e.placement = z, e.reset = !0);
1674
+ e.placement !== L && (e.modifiersData[r]._skip = !0, e.placement = L, e.reset = !0);
1647
1675
  }
1648
1676
  }
1649
- var bs = {
1677
+ var ks = {
1650
1678
  name: "flip",
1651
1679
  enabled: !0,
1652
1680
  phase: "main",
1653
- fn: ms,
1681
+ fn: Is,
1654
1682
  requiresIfExists: ["offset"],
1655
1683
  data: {
1656
1684
  _skip: !1
1657
1685
  }
1658
1686
  };
1659
- function ys(t, e, o) {
1660
- var r = $(t), n = [Q, K].indexOf(r) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, e, {
1687
+ function Es(t, e, o) {
1688
+ var r = $(t), n = [X, K].indexOf(r) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, e, {
1661
1689
  placement: t
1662
1690
  })) : o, l = s[0], a = s[1];
1663
- return l = l || 0, a = (a || 0) * n, [Q, B].indexOf(r) >= 0 ? {
1691
+ return l = l || 0, a = (a || 0) * n, [X, B].indexOf(r) >= 0 ? {
1664
1692
  x: a,
1665
1693
  y: l
1666
1694
  } : {
@@ -1668,45 +1696,45 @@ function ys(t, e, o) {
1668
1696
  y: a
1669
1697
  };
1670
1698
  }
1671
- function gs(t) {
1672
- var e = t.state, o = t.options, r = t.name, n = o.offset, s = n === void 0 ? [0, 0] : n, l = qt.reduce(function(c, b) {
1673
- return c[b] = ys(b, e.rects, s), c;
1674
- }, {}), a = l[e.placement], d = a.x, h = a.y;
1675
- e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += d, e.modifiersData.popperOffsets.y += h), e.modifiersData[r] = l;
1699
+ function Cs(t) {
1700
+ var e = t.state, o = t.options, r = t.name, n = o.offset, s = n === void 0 ? [0, 0] : n, l = Vt.reduce(function(u, m) {
1701
+ return u[m] = Es(m, e.rects, s), u;
1702
+ }, {}), a = l[e.placement], c = a.x, A = a.y;
1703
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += c, e.modifiersData.popperOffsets.y += A), e.modifiersData[r] = l;
1676
1704
  }
1677
- var xs = {
1705
+ var Rs = {
1678
1706
  name: "offset",
1679
1707
  enabled: !0,
1680
1708
  phase: "main",
1681
1709
  requires: ["popperOffsets"],
1682
- fn: gs
1683
- }, ws = function(e, o) {
1710
+ fn: Cs
1711
+ }, Ys = function(e, o) {
1684
1712
  return e = typeof e == "function" ? e(Object.assign({}, o.rects, {
1685
1713
  placement: o.placement
1686
- })) : e, Qt(typeof e != "number" ? e : Xt(e, ze));
1714
+ })) : e, Bt(typeof e != "number" ? e : Wt(e, Le));
1687
1715
  };
1688
- function As(t) {
1689
- var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), d = pt(a), h = [Q, B].indexOf(a) >= 0, c = h ? "height" : "width";
1716
+ function Gs(t) {
1717
+ var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), c = ft(a), A = [X, B].indexOf(a) >= 0, u = A ? "height" : "width";
1690
1718
  if (!(!s || !l)) {
1691
- var b = ws(n.padding, o), u = dt(s), f = d === "y" ? K : Q, x = d === "y" ? U : B, p = o.rects.reference[c] + o.rects.reference[d] - l[d] - o.rects.popper[c], g = l[d] - o.rects.reference[d], R = Pe(s), Y = R ? d === "y" ? R.clientHeight || 0 : R.clientWidth || 0 : 0, E = p / 2 - g / 2, w = b[f], I = Y - u[c] - b[x], G = Y / 2 - u[c] / 2 + E, C = Fe(w, G, I), O = d;
1692
- o.modifiersData[r] = (e = {}, e[O] = C, e.centerOffset = C - G, e);
1719
+ var m = Ys(n.padding, o), d = ut(s), f = c === "y" ? K : X, g = c === "y" ? U : B, p = o.rects.reference[u] + o.rects.reference[c] - l[c] - o.rects.popper[u], y = l[c] - o.rects.reference[c], E = Pe(s), C = E ? c === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, k = p / 2 - y / 2, x = m[f], S = C - d[u] - m[g], R = C / 2 - d[u] / 2 + k, G = Qe(x, R, S), M = c;
1720
+ o.modifiersData[r] = (e = {}, e[M] = G, e.centerOffset = G - R, e);
1693
1721
  }
1694
1722
  }
1695
- function ks(t) {
1723
+ function Ss(t) {
1696
1724
  var e = t.state, o = t.options, r = o.element, n = r === void 0 ? "[data-popper-arrow]" : r;
1697
- n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || Vt(e.elements.popper, n) && (e.elements.arrow = n));
1725
+ n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || Kt(e.elements.popper, n) && (e.elements.arrow = n));
1698
1726
  }
1699
- var Es = {
1727
+ var Ps = {
1700
1728
  name: "arrow",
1701
1729
  enabled: !0,
1702
1730
  phase: "main",
1703
- fn: As,
1704
- effect: ks,
1731
+ fn: Gs,
1732
+ effect: Ss,
1705
1733
  requires: ["popperOffsets"],
1706
1734
  requiresIfExists: ["preventOverflow"]
1707
1735
  };
1708
1736
  const $e = (t) => parseInt(t, 10);
1709
- function Rs({
1737
+ function Ls({
1710
1738
  arrowPadding: t,
1711
1739
  emit: e,
1712
1740
  locked: o,
@@ -1716,62 +1744,62 @@ function Rs({
1716
1744
  popperNode: l,
1717
1745
  triggerNode: a
1718
1746
  }) {
1719
- const d = ao({
1747
+ const c = co({
1720
1748
  isOpen: !1,
1721
1749
  popperInstance: null
1722
- }), h = (p) => {
1723
- var g;
1724
- (g = d.popperInstance) === null || g === void 0 || g.setOptions((R) => ({
1725
- ...R,
1726
- modifiers: [...R.modifiers, {
1750
+ }), A = (p) => {
1751
+ var y;
1752
+ (y = c.popperInstance) === null || y === void 0 || y.setOptions((E) => ({
1753
+ ...E,
1754
+ modifiers: [...E.modifiers, {
1727
1755
  name: "eventListeners",
1728
1756
  enabled: p
1729
1757
  }]
1730
1758
  }));
1731
- }, c = () => h(!0), b = () => h(!1), u = () => {
1732
- d.isOpen && (d.isOpen = !1, e("close:popper"));
1759
+ }, u = () => A(!0), m = () => A(!1), d = () => {
1760
+ c.isOpen && (c.isOpen = !1, e("close:popper"));
1733
1761
  }, f = () => {
1734
- d.isOpen || (d.isOpen = !0, e("open:popper"));
1762
+ c.isOpen || (c.isOpen = !0, e("open:popper"));
1735
1763
  };
1736
- ye([() => d.isOpen, s], async ([p]) => {
1737
- p ? (await x(), c()) : b();
1764
+ be([() => c.isOpen, s], async ([p]) => {
1765
+ p ? (await g(), u()) : m();
1738
1766
  });
1739
- const x = async () => {
1740
- await io(), d.popperInstance = ls(a.value, l.value, {
1767
+ const g = async () => {
1768
+ await uo(), c.popperInstance = hs(a.value, l.value, {
1741
1769
  placement: s.value,
1742
- modifiers: [us, bs, {
1770
+ modifiers: [bs, ks, {
1743
1771
  name: "flip",
1744
1772
  enabled: !o.value
1745
- }, Es, {
1773
+ }, Ps, {
1746
1774
  name: "arrow",
1747
1775
  options: {
1748
1776
  padding: $e(t.value)
1749
1777
  }
1750
- }, xs, {
1778
+ }, Rs, {
1751
1779
  name: "offset",
1752
1780
  options: {
1753
1781
  offset: [$e(n.value), $e(r.value)]
1754
1782
  }
1755
1783
  }]
1756
- }), d.popperInstance.update();
1784
+ }), c.popperInstance.update();
1757
1785
  };
1758
1786
  return nt(() => {
1759
1787
  var p;
1760
- (p = d.popperInstance) === null || p === void 0 || p.destroy();
1788
+ (p = c.popperInstance) === null || p === void 0 || p.destroy();
1761
1789
  }), {
1762
- ...Ot(d),
1790
+ ...Ot(c),
1763
1791
  open: f,
1764
- close: u
1792
+ close: d
1765
1793
  };
1766
1794
  }
1767
- const Ys = {
1795
+ const Ms = {
1768
1796
  id: "arrow",
1769
1797
  "data-popper-arrow": ""
1770
1798
  };
1771
- function Gs(t, e) {
1772
- return v(), m("div", Ys);
1799
+ function zs(t, e) {
1800
+ return v(), h("div", Ms);
1773
1801
  }
1774
- function Ut(t, e) {
1802
+ function Jt(t, e) {
1775
1803
  e === void 0 && (e = {});
1776
1804
  var o = e.insertAt;
1777
1805
  if (!(!t || typeof document > "u")) {
@@ -1779,7 +1807,7 @@ function Ut(t, e) {
1779
1807
  n.type = "text/css", o === "top" && r.firstChild ? r.insertBefore(n, r.firstChild) : r.appendChild(n), n.styleSheet ? n.styleSheet.cssText = t : n.appendChild(document.createTextNode(t));
1780
1808
  }
1781
1809
  }
1782
- var Cs = `
1810
+ var Hs = `
1783
1811
  #arrow[data-v-20b7fd4a],
1784
1812
  #arrow[data-v-20b7fd4a]::before {
1785
1813
  transition: background 250ms ease-in-out;
@@ -1836,13 +1864,13 @@ var Cs = `
1836
1864
  left: -5px;
1837
1865
  }
1838
1866
  `;
1839
- Ut(Cs);
1840
- const vt = {};
1841
- vt.render = Gs;
1842
- vt.__scopeId = "data-v-20b7fd4a";
1843
- var Ss = vt;
1844
- const Is = ["onKeyup"];
1845
- var Bt = {
1867
+ Jt(Hs);
1868
+ const ht = {};
1869
+ ht.render = zs;
1870
+ ht.__scopeId = "data-v-20b7fd4a";
1871
+ var Os = ht;
1872
+ const Ds = ["onKeyup"];
1873
+ var _t = {
1846
1874
  props: {
1847
1875
  /**
1848
1876
  * Preferred placement (the "auto" placements will choose the side with most space.)
@@ -1958,94 +1986,94 @@ var Bt = {
1958
1986
  emit: e
1959
1987
  }) {
1960
1988
  const o = t;
1961
- to((H) => ({
1989
+ no((O) => ({
1962
1990
  c81fc0a4: t.zIndex
1963
1991
  }));
1964
- const r = oo(), n = k(null), s = k(null), l = k(null), a = k(!1);
1992
+ const r = so(), n = w(null), s = w(null), l = w(null), a = w(!1);
1965
1993
  Se(() => {
1966
- const H = r.default();
1967
- if (H && H.length > 1)
1968
- return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${H.length} child nodes.`);
1994
+ const O = r.default();
1995
+ if (O && O.length > 1)
1996
+ return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${O.length} child nodes.`);
1969
1997
  });
1970
1998
  const {
1971
- arrowPadding: d,
1972
- closeDelay: h,
1973
- content: c,
1974
- disableClickAway: b,
1975
- disabled: u,
1999
+ arrowPadding: c,
2000
+ closeDelay: A,
2001
+ content: u,
2002
+ disableClickAway: m,
2003
+ disabled: d,
1976
2004
  interactive: f,
1977
- locked: x,
2005
+ locked: g,
1978
2006
  offsetDistance: p,
1979
- offsetSkid: g,
1980
- openDelay: R,
1981
- placement: Y,
1982
- show: E
2007
+ offsetSkid: y,
2008
+ openDelay: E,
2009
+ placement: C,
2010
+ show: k
1983
2011
  } = Ot(o), {
1984
- isOpen: w,
1985
- open: I,
1986
- close: G
1987
- } = Rs({
1988
- arrowPadding: d,
2012
+ isOpen: x,
2013
+ open: S,
2014
+ close: R
2015
+ } = Ls({
2016
+ arrowPadding: c,
1989
2017
  emit: e,
1990
- locked: x,
2018
+ locked: g,
1991
2019
  offsetDistance: p,
1992
- offsetSkid: g,
1993
- placement: Y,
2020
+ offsetSkid: y,
2021
+ placement: C,
1994
2022
  popperNode: s,
1995
2023
  triggerNode: l
1996
2024
  }), {
1997
- hasContent: C
1998
- } = wn(r, s, c), O = ke(() => E.value !== null), z = ke(() => u.value || !C.value), D = ke(() => w.value && !z.value), N = ke(() => !b.value && !O.value), oe = ke(() => f.value ? `border: ${p.value}px solid transparent; margin: -${p.value}px;` : null), L = _e.debounce(I, R.value), re = _e.debounce(G, h.value), ne = async () => {
1999
- z.value || O.value || (re.clear(), L());
2025
+ hasContent: G
2026
+ } = Yn(r, s, u), M = ke(() => k.value !== null), L = ke(() => d.value || !G.value), N = ke(() => x.value && !L.value), j = ke(() => !m.value && !M.value), oe = ke(() => f.value ? `border: ${p.value}px solid transparent; margin: -${p.value}px;` : null), z = _e.debounce(S, E.value), re = _e.debounce(R, A.value), ne = async () => {
2027
+ L.value || M.value || (re.clear(), z());
2000
2028
  }, q = async () => {
2001
- O.value || (L.clear(), re());
2029
+ M.value || (z.clear(), re());
2002
2030
  }, se = () => {
2003
- w.value ? q() : ne();
2031
+ x.value ? q() : ne();
2004
2032
  };
2005
- return ye([C, u], ([H, j]) => {
2006
- w.value && (!H || j) && G();
2007
- }), ye(w, (H) => {
2008
- H ? a.value = !0 : _e.debounce(() => {
2033
+ return be([G, d], ([O, D]) => {
2034
+ x.value && (!O || D) && R();
2035
+ }), be(x, (O) => {
2036
+ O ? a.value = !0 : _e.debounce(() => {
2009
2037
  a.value = !1;
2010
2038
  }, 200);
2011
- }), At(() => {
2012
- O.value && (E.value ? L() : re());
2013
- }), At(() => {
2014
- N.value && xn(n, q);
2015
- }), (H, j) => (v(), m("div", {
2039
+ }), It(() => {
2040
+ M.value && (k.value ? z() : re());
2041
+ }), It(() => {
2042
+ j.value && Rn(n, q);
2043
+ }), (O, D) => (v(), h("div", {
2016
2044
  class: "inline-block",
2017
- style: so(y(oe)),
2018
- onMouseleave: j[2] || (j[2] = (M) => t.hover && q()),
2019
- ref: (M, ae) => {
2020
- ae.popperContainerNode = M, n.value = M;
2045
+ style: lo(b(oe)),
2046
+ onMouseleave: D[2] || (D[2] = (H) => t.hover && q()),
2047
+ ref: (H, ae) => {
2048
+ ae.popperContainerNode = H, n.value = H;
2021
2049
  }
2022
2050
  }, [i("div", {
2023
- ref: (M, ae) => {
2024
- ae.triggerNode = M, l.value = M;
2051
+ ref: (H, ae) => {
2052
+ ae.triggerNode = H, l.value = H;
2025
2053
  },
2026
- onMouseover: j[0] || (j[0] = (M) => t.hover && ne()),
2054
+ onMouseover: D[0] || (D[0] = (H) => t.hover && ne()),
2027
2055
  onClick: se,
2028
2056
  onFocus: ne,
2029
- onKeyup: ro(q, ["esc"])
2030
- }, [tt(H.$slots, "default")], 40, Is), A(zt, {
2057
+ onKeyup: ao(q, ["esc"])
2058
+ }, [tt(O.$slots, "default")], 40, Ds), I(Mt, {
2031
2059
  name: "fade"
2032
2060
  }, {
2033
- default: T(() => [fe(i("div", {
2034
- onClick: j[1] || (j[1] = (M) => !y(f) && q()),
2061
+ default: Q(() => [fe(i("div", {
2062
+ onClick: D[1] || (D[1] = (H) => !b(f) && q()),
2035
2063
  class: "popper",
2036
- ref: (M, ae) => {
2037
- ae.popperNode = M, s.value = M;
2064
+ ref: (H, ae) => {
2065
+ ae.popperNode = H, s.value = H;
2038
2066
  }
2039
- }, [tt(H.$slots, "content", {
2040
- close: y(G),
2067
+ }, [tt(O.$slots, "content", {
2068
+ close: b(R),
2041
2069
  isOpen: a.value
2042
- }, () => [_(P(y(c)), 1)]), t.arrow ? (v(), me(Ss, {
2070
+ }, () => [_(P(b(u)), 1)]), t.arrow ? (v(), Ae(Os, {
2043
2071
  key: 0
2044
- })) : S("", !0)], 512), [[no, y(D)]])]),
2072
+ })) : Y("", !0)], 512), [[io, b(N)]])]),
2045
2073
  _: 3
2046
2074
  })], 36));
2047
2075
  }
2048
- }, Ps = `
2076
+ }, Ts = `
2049
2077
  .inline-block[data-v-5784ed69] {
2050
2078
  display: inline-block;
2051
2079
  }
@@ -2077,256 +2105,256 @@ var Bt = {
2077
2105
  opacity: 0;
2078
2106
  }
2079
2107
  `;
2080
- Ut(Ps);
2081
- Bt.__scopeId = "data-v-5784ed69";
2108
+ Jt(Ts);
2109
+ _t.__scopeId = "data-v-5784ed69";
2082
2110
  var Ne = /* @__PURE__ */ (() => {
2083
- const t = Bt;
2111
+ const t = _t;
2084
2112
  return t.install = (e) => {
2085
2113
  e.component("Popper", t);
2086
2114
  }, t;
2087
2115
  })();
2088
- const zs = {
2116
+ const Ns = {
2089
2117
  key: 0,
2090
2118
  class: "flex gap-2 items-stretch flex-wrap mt-2"
2091
- }, Os = ["onClick"], Ls = {
2119
+ }, js = ["onClick"], Qs = {
2092
2120
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2093
2121
  role: "none"
2094
- }, Ms = ["onClick"], Hs = {
2122
+ }, Fs = ["onClick"], qs = {
2095
2123
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2096
2124
  role: "none"
2097
- }, js = ["onClick"], Ds = {
2125
+ }, Zs = ["onClick"], Vs = {
2098
2126
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2099
2127
  role: "none"
2100
- }, Ns = ["onClick"], Ts = {
2128
+ }, Ks = ["onClick"], Xs = {
2101
2129
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2102
2130
  role: "none"
2103
- }, Fs = ["onClick"], qs = { key: 1 }, Vs = /* @__PURE__ */ i("img", {
2131
+ }, Us = ["onClick"], Bs = { key: 1 }, Ws = /* @__PURE__ */ i("img", {
2104
2132
  class: "w-12 h-12 block loadercss",
2105
2133
  src: Ze,
2106
2134
  alt: "Loader Gif"
2107
- }, null, -1), Zs = [
2108
- Vs
2109
- ], Ks = /* @__PURE__ */ te({
2135
+ }, null, -1), Js = [
2136
+ Ws
2137
+ ], _s = /* @__PURE__ */ te({
2110
2138
  __name: "SkillOptions",
2111
2139
  setup(t) {
2112
- const e = le(), o = Ae(), r = k(!0), n = k(!1), s = k(!1), l = k(!1), a = k(!1), d = async (h) => {
2113
- var c, b;
2140
+ const e = le(), o = Ie(), r = w(!0), n = w(!1), s = w(!1), l = w(!1), a = w(!1), c = async (A) => {
2141
+ var u, m;
2114
2142
  try {
2115
2143
  r.value = !1;
2116
- const u = await Lt(
2117
- `/initialDataV2?skill_id=${h.skill_id}&prof_id=${xo}&skill_master_id=${h.skill_master_id}`
2144
+ const d = await Dt(
2145
+ `/initialDataV2?skill_id=${A.skill_id}&prof_id=${yo}&skill_master_id=${A.skill_master_id}`
2118
2146
  );
2119
- e.selectSkill(u.data), e.addPostSkillSelectionMessage(), r.value = !0;
2120
- } catch (u) {
2121
- if (console.error(u), X.isAxiosError(u)) {
2122
- const f = u;
2123
- console.error((c = f.response) == null ? void 0 : c.data), o.setError(((b = f.response) == null ? void 0 : b.data).message);
2147
+ e.selectSkill(d.data), e.addPostSkillSelectionMessage(), r.value = !0;
2148
+ } catch (d) {
2149
+ if (console.error(d), Z.isAxiosError(d)) {
2150
+ const f = d;
2151
+ console.error((u = f.response) == null ? void 0 : u.data), o.setError(((m = f.response) == null ? void 0 : m.data).message);
2124
2152
  } else
2125
2153
  o.setError("There was an issue, please contact helpmate");
2126
2154
  }
2127
2155
  };
2128
- return (h, c) => {
2129
- var b, u, f, x;
2130
- return r.value ? (v(), m("div", zs, [
2131
- (v(!0), m(F, null, V(y(e).user_skills, (p) => (v(), m("div", {
2156
+ return (A, u) => {
2157
+ var m, d, f, g;
2158
+ return r.value ? (v(), h("div", Ns, [
2159
+ (v(!0), h(T, null, F(b(e).user_skills, (p) => (v(), h("div", {
2132
2160
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2133
- onClick: (g) => d(p),
2161
+ onClick: (y) => c(p),
2134
2162
  key: p.skill_id
2135
- }, P(p.skill_name), 9, Os))), 128)),
2136
- (b = y(e).industry_skills) != null && b.length ? (v(), me(y(Ne), {
2163
+ }, P(p.skill_name), 9, js))), 128)),
2164
+ (m = b(e).industry_skills) != null && m.length ? (v(), Ae(b(Ne), {
2137
2165
  key: 0,
2138
2166
  show: n.value,
2139
2167
  placement: "bottom"
2140
2168
  }, {
2141
- content: T(() => [
2142
- i("div", Ls, [
2143
- (v(!0), m(F, null, V(y(e).industry_skills, (p) => (v(), m("div", {
2144
- onClick: (g) => d(p),
2169
+ content: Q(() => [
2170
+ i("div", Qs, [
2171
+ (v(!0), h(T, null, F(b(e).industry_skills, (p) => (v(), h("div", {
2172
+ onClick: (y) => c(p),
2145
2173
  key: p.skill_id,
2146
2174
  class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2147
- }, P(p.skill_name), 9, Ms))), 128))
2175
+ }, P(p.skill_name), 9, Fs))), 128))
2148
2176
  ])
2149
2177
  ]),
2150
- default: T(() => [
2178
+ default: Q(() => [
2151
2179
  i("button", {
2152
- onClick: c[0] || (c[0] = (p) => n.value = !n.value),
2153
- onFocusout: c[1] || (c[1] = (p) => n.value = !1),
2180
+ onClick: u[0] || (u[0] = (p) => n.value = !n.value),
2181
+ onFocusout: u[1] || (u[1] = (p) => n.value = !1),
2154
2182
  type: "button",
2155
2183
  class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2156
2184
  }, [
2157
2185
  _(" Industry "),
2158
- A(y(He), { class: "w-3 h-3" })
2186
+ I(b(Oe), { class: "w-3 h-3" })
2159
2187
  ], 32)
2160
2188
  ]),
2161
2189
  _: 1
2162
- }, 8, ["show"])) : S("", !0),
2163
- (u = y(e).service_line_skills) != null && u.length ? (v(), me(y(Ne), {
2190
+ }, 8, ["show"])) : Y("", !0),
2191
+ (d = b(e).service_line_skills) != null && d.length ? (v(), Ae(b(Ne), {
2164
2192
  key: 1,
2165
2193
  show: s.value,
2166
2194
  placement: "bottom"
2167
2195
  }, {
2168
- content: T(() => [
2169
- i("div", Hs, [
2170
- (v(!0), m(F, null, V(y(e).service_line_skills, (p) => (v(), m("div", {
2171
- onClick: (g) => d(p),
2196
+ content: Q(() => [
2197
+ i("div", qs, [
2198
+ (v(!0), h(T, null, F(b(e).service_line_skills, (p) => (v(), h("div", {
2199
+ onClick: (y) => c(p),
2172
2200
  key: p.skill_id,
2173
2201
  class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2174
- }, P(p.skill_name), 9, js))), 128))
2202
+ }, P(p.skill_name), 9, Zs))), 128))
2175
2203
  ])
2176
2204
  ]),
2177
- default: T(() => [
2205
+ default: Q(() => [
2178
2206
  i("button", {
2179
- onClick: c[2] || (c[2] = (p) => s.value = !s.value),
2180
- onFocusout: c[3] || (c[3] = (p) => s.value = !1),
2207
+ onClick: u[2] || (u[2] = (p) => s.value = !s.value),
2208
+ onFocusout: u[3] || (u[3] = (p) => s.value = !1),
2181
2209
  type: "button",
2182
2210
  class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2183
2211
  }, [
2184
2212
  _(" Service Line "),
2185
- A(y(He), { class: "w-3 h-3" })
2213
+ I(b(Oe), { class: "w-3 h-3" })
2186
2214
  ], 32)
2187
2215
  ]),
2188
2216
  _: 1
2189
- }, 8, ["show"])) : S("", !0),
2190
- (f = y(e).digital_skills) != null && f.length ? (v(), me(y(Ne), {
2217
+ }, 8, ["show"])) : Y("", !0),
2218
+ (f = b(e).digital_skills) != null && f.length ? (v(), Ae(b(Ne), {
2191
2219
  key: 2,
2192
2220
  show: l.value,
2193
2221
  placement: "bottom"
2194
2222
  }, {
2195
- content: T(() => [
2196
- i("div", Ds, [
2197
- (v(!0), m(F, null, V(y(e).digital_skills, (p) => (v(), m("div", {
2198
- onClick: (g) => d(p),
2223
+ content: Q(() => [
2224
+ i("div", Vs, [
2225
+ (v(!0), h(T, null, F(b(e).digital_skills, (p) => (v(), h("div", {
2226
+ onClick: (y) => c(p),
2199
2227
  key: p.skill_id,
2200
2228
  class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2201
- }, P(p.skill_name), 9, Ns))), 128))
2229
+ }, P(p.skill_name), 9, Ks))), 128))
2202
2230
  ])
2203
2231
  ]),
2204
- default: T(() => [
2232
+ default: Q(() => [
2205
2233
  i("button", {
2206
- onClick: c[4] || (c[4] = (p) => l.value = !l.value),
2207
- onFocusout: c[5] || (c[5] = (p) => l.value = !1),
2234
+ onClick: u[4] || (u[4] = (p) => l.value = !l.value),
2235
+ onFocusout: u[5] || (u[5] = (p) => l.value = !1),
2208
2236
  type: "button",
2209
2237
  class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2210
2238
  }, [
2211
2239
  _(" Digital "),
2212
- A(y(He), { class: "w-3 h-3" })
2240
+ I(b(Oe), { class: "w-3 h-3" })
2213
2241
  ], 32)
2214
2242
  ]),
2215
2243
  _: 1
2216
- }, 8, ["show"])) : S("", !0),
2217
- (x = y(e).professional_skills) != null && x.length ? (v(), me(y(Ne), {
2244
+ }, 8, ["show"])) : Y("", !0),
2245
+ (g = b(e).professional_skills) != null && g.length ? (v(), Ae(b(Ne), {
2218
2246
  key: 3,
2219
2247
  show: a.value,
2220
2248
  placement: "bottom"
2221
2249
  }, {
2222
- content: T(() => [
2223
- i("div", Ts, [
2224
- (v(!0), m(F, null, V(y(e).professional_skills, (p) => (v(), m("div", {
2225
- onClick: (g) => d(p),
2250
+ content: Q(() => [
2251
+ i("div", Xs, [
2252
+ (v(!0), h(T, null, F(b(e).professional_skills, (p) => (v(), h("div", {
2253
+ onClick: (y) => c(p),
2226
2254
  key: p.skill_id,
2227
2255
  class: "cursor-pointer hover:text-genpact-blue-box hover:font-bold text-gray-700 block px-4 py-2 text-sm"
2228
- }, P(p.skill_name), 9, Fs))), 128))
2256
+ }, P(p.skill_name), 9, Us))), 128))
2229
2257
  ])
2230
2258
  ]),
2231
- default: T(() => [
2259
+ default: Q(() => [
2232
2260
  i("button", {
2233
- onClick: c[6] || (c[6] = (p) => a.value = !a.value),
2234
- onFocusout: c[7] || (c[7] = (p) => a.value = !1),
2261
+ onClick: u[6] || (u[6] = (p) => a.value = !a.value),
2262
+ onFocusout: u[7] || (u[7] = (p) => a.value = !1),
2235
2263
  type: "button",
2236
2264
  class: "flex items-center gap-2 md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2"
2237
2265
  }, [
2238
2266
  _(" Professional "),
2239
- A(y(He), { class: "w-3 h-3" })
2267
+ I(b(Oe), { class: "w-3 h-3" })
2240
2268
  ], 32)
2241
2269
  ]),
2242
2270
  _: 1
2243
- }, 8, ["show"])) : S("", !0)
2244
- ])) : (v(), m("div", qs, Zs));
2271
+ }, 8, ["show"])) : Y("", !0)
2272
+ ])) : (v(), h("div", Bs, Js));
2245
2273
  };
2246
2274
  }
2247
- }), Qs = {
2275
+ }), $s = {
2248
2276
  key: 0,
2249
2277
  class: "flex gap-2 items-center flex-wrap mt-2"
2250
- }, Xs = ["onClick"], Us = {
2278
+ }, ea = ["onClick"], ta = {
2251
2279
  key: 1,
2252
2280
  class: "flex gap-2 items-center flex-wrap"
2253
- }, Bs = ["onClick"], Ws = { key: 1 }, Js = /* @__PURE__ */ i("img", {
2281
+ }, oa = ["onClick"], ra = { key: 1 }, na = /* @__PURE__ */ i("img", {
2254
2282
  class: "w-12 h-12 block loadercss",
2255
2283
  src: Ze,
2256
2284
  alt: "Loader Gif"
2257
- }, null, -1), _s = [
2258
- Js
2259
- ], $s = /* @__PURE__ */ te({
2285
+ }, null, -1), sa = [
2286
+ na
2287
+ ], aa = /* @__PURE__ */ te({
2260
2288
  __name: "PostSkillUseCases",
2261
2289
  setup(t) {
2262
- const e = le(), o = k(!0), r = k(!1), n = async (s) => {
2290
+ const e = le(), o = w(!0), r = w(!1), n = async (s) => {
2263
2291
  if (o.value = !1, !s.isParent) {
2264
2292
  console.log(s.example), e.addConversation({ question: s.useCaseName, answer: s.example }, "faq"), o.value = !0;
2265
2293
  return;
2266
2294
  }
2267
2295
  await e.generateUseCases(s.useCaseId), e.addConversation({ question: s.useCaseName, answer: null }, "faq"), o.value = !0;
2268
2296
  };
2269
- return (s, l) => o.value ? (v(), m("div", Qs, [
2270
- (v(!0), m(F, null, V(y(e).postSkillUseCases, (a) => (v(), m("div", {
2297
+ return (s, l) => o.value ? (v(), h("div", $s, [
2298
+ (v(!0), h(T, null, F(b(e).postSkillUseCases, (a) => (v(), h("div", {
2271
2299
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2272
- onClick: (d) => n(a),
2300
+ onClick: (c) => n(a),
2273
2301
  key: a.useCaseId
2274
- }, P(a.useCaseName), 9, Xs))), 128)),
2275
- y(e).otherUseCases.length > 0 && !r.value ? (v(), m("button", {
2302
+ }, P(a.useCaseName), 9, ea))), 128)),
2303
+ b(e).otherUseCases.length > 0 && !r.value ? (v(), h("button", {
2276
2304
  key: 0,
2277
2305
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2278
2306
  onClick: l[0] || (l[0] = (a) => r.value = !r.value)
2279
- }, " Others ")) : S("", !0),
2280
- r.value ? (v(), m("div", Us, [
2281
- (v(!0), m(F, null, V(y(e).otherUseCases, (a) => (v(), m("div", {
2307
+ }, " Others ")) : Y("", !0),
2308
+ r.value ? (v(), h("div", ta, [
2309
+ (v(!0), h(T, null, F(b(e).otherUseCases, (a) => (v(), h("div", {
2282
2310
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2283
- onClick: (d) => n(a),
2311
+ onClick: (c) => n(a),
2284
2312
  key: a.useCaseId
2285
- }, P(a.useCaseName), 9, Bs))), 128))
2286
- ])) : S("", !0)
2287
- ])) : (v(), m("div", Ws, _s));
2313
+ }, P(a.useCaseName), 9, oa))), 128))
2314
+ ])) : Y("", !0)
2315
+ ])) : (v(), h("div", ra, sa));
2288
2316
  }
2289
- }), ea = { key: 0 }, ta = { key: 1 }, oa = { key: 0 }, ra = { key: 1 }, na = /* @__PURE__ */ te({
2317
+ }), ia = { key: 0 }, la = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, ua = /* @__PURE__ */ te({
2290
2318
  __name: "Conversation",
2291
2319
  setup(t) {
2292
- let e = k(""), o = k("");
2320
+ let e = w(""), o = w("");
2293
2321
  e = '<a style="color:#00AECF;"', o = '<ul style="list-style-type:square; padding-left:20px;"';
2294
- const r = le(), n = k();
2295
- return co(() => {
2322
+ const r = le(), n = w();
2323
+ return fo(() => {
2296
2324
  n.value.scrollTo(0, n.value.scrollHeight);
2297
- }), (s, l) => (v(), m("div", {
2325
+ }), (s, l) => (v(), h("div", {
2298
2326
  ref_key: "nestedElement",
2299
2327
  ref: n,
2300
2328
  class: "smooth-scroll overflow-auto md:p-8 p-3 pb-[80px]"
2301
2329
  }, [
2302
- A(vn),
2303
- (v(!0), m(F, null, V(y(r).conversations, (a, d) => (v(), m("div", { key: d }, [
2304
- a.question ? (v(), m("div", ea, [
2305
- A(yn, {
2330
+ I(xn),
2331
+ (v(!0), h(T, null, F(b(r).conversations, (a, c) => (v(), h("div", { key: c }, [
2332
+ a.question ? (v(), h("div", ia, [
2333
+ I(En, {
2306
2334
  question: a.question,
2307
2335
  "show-feedback": a.showFeedback
2308
2336
  }, null, 8, ["question", "show-feedback"])
2309
- ])) : S("", !0),
2310
- a.answer ? (v(), m("div", ta, [
2311
- A(cn, {
2337
+ ])) : Y("", !0),
2338
+ a.answer ? (v(), h("div", la, [
2339
+ I(An, {
2312
2340
  question: a.question,
2313
2341
  "show-sources": a.showSources,
2314
2342
  questionId: a.id,
2315
- answer: a.answer.replaceAll("<a", y(e)).replaceAll("<ul", y(o)),
2343
+ answer: a.answer.replaceAll("<a", b(e)).replaceAll("<ul", b(o)),
2316
2344
  "show-feedback": a.showFeedback
2317
2345
  }, null, 8, ["question", "show-sources", "questionId", "answer", "show-feedback"])
2318
- ])) : S("", !0)
2346
+ ])) : Y("", !0)
2319
2347
  ]))), 128)),
2320
- y(r).skill_id ? S("", !0) : (v(), m("div", oa, [
2321
- A(Ks)
2348
+ b(r).skill_id ? Y("", !0) : (v(), h("div", ca, [
2349
+ I(_s)
2322
2350
  ])),
2323
- y(r).showPostSkillUseCases ? (v(), m("div", ra, [
2324
- A($s)
2325
- ])) : S("", !0)
2351
+ b(r).showPostSkillUseCases ? (v(), h("div", da, [
2352
+ I(aa)
2353
+ ])) : Y("", !0)
2326
2354
  ], 512));
2327
2355
  }
2328
2356
  });
2329
- const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4" }, aa = { className: "text-lg font-medium my-6 text-center text-gray-500" }, ia = { class: "max-h-screen overflow-hidden md:py-4 py-8" }, la = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("h3", { className: "text-lg font-bold capitalize mb-4 text-left text-blue-700" }, " Important Instructions ", -1)), ca = { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 md:text-[16px] text-[12px]" }, da = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Please limit your questions to topics directly related to the selected skill.", -1)), ua = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " To maintain confidentiality, refrain from asking or sharing any confidential information such as client names, company financials, or Genpact proprietary information. ", -1)), pa = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Use clear and understandable language; avoid Genpact or industry jargon.", -1)), fa = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " The AI-generated response will be limited to 1,000 characters to ensure concise and focused answers. ", -1)), va = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, [
2357
+ const ce = (t) => (zt("data-v-ed61c2a4"), t = t(), Ht(), t), pa = { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4" }, fa = { className: "text-lg font-medium my-6 text-center text-gray-500" }, va = { class: "max-h-screen overflow-hidden md:py-4 py-8" }, ha = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("h3", { className: "text-lg font-bold capitalize mb-4 text-left text-blue-700" }, " Important Instructions ", -1)), Aa = { className: "list-disc max-h-[40vh] overflow-auto space-y-3 pl-6 md:text-[16px] text-[12px]" }, ma = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Please limit your questions to topics directly related to the selected skill.", -1)), ba = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " To maintain confidentiality, refrain from asking or sharing any confidential information such as client names, company financials, or Genpact proprietary information. ", -1)), ga = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, "Use clear and understandable language; avoid Genpact or industry jargon.", -1)), ya = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " The AI-generated response will be limited to 1,000 characters to ensure concise and focused answers. ", -1)), xa = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, [
2330
2358
  /* @__PURE__ */ _(" If you have any inquiries, we kindly encourage you to consult Genpact's "),
2331
2359
  /* @__PURE__ */ i("a", {
2332
2360
  class: "underline text-blue-500",
@@ -2339,115 +2367,115 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2339
2367
  target: "_blank",
2340
2368
  href: "https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c"
2341
2369
  }, "ChatGPT and Use of AI Programs Policy.")
2342
- ], -1)), ha = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " Kindly note that your inputs maybe subject to audit, and failure to comply with the guidelines may result in disciplinary action. ", -1)), ma = { key: 0 }, ba = { className: "mt-3" }, ya = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("label", {
2370
+ ], -1)), wa = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("li", null, " Kindly note that your inputs maybe subject to audit, and failure to comply with the guidelines may result in disciplinary action. ", -1)), Ia = { key: 0 }, ka = { className: "mt-3" }, Ea = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("label", {
2343
2371
  htmlFor: "check",
2344
2372
  className: "underline text-blue-700 font-bold cursor-pointer md:text-[16px] text-[14px]"
2345
- }, " I acknowledge that I have read, understand and agree to the above instructions ", -1)), ga = { class: "flex justify-center mt-5" }, xa = ["disabled"], wa = {
2373
+ }, " I acknowledge that I have read, understand and agree to the above instructions ", -1)), Ca = { class: "flex justify-center mt-5" }, Ra = ["disabled"], Ya = {
2346
2374
  key: 0,
2347
2375
  className: "h-screen flex flex-col items-stretch"
2348
- }, Aa = { class: "z-20" }, ka = { class: "flex h-full overflow-hidden items-stretch" }, Ea = { class: "hidden md:block" }, Ra = { class: "bg-gray-200 w-screen" }, Ya = { class: "relative h-full w-full flex flex-col overflow-hidden items-stretch" }, Ga = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("div", { class: "md:mt-[130px] mt-[120px]" }, null, -1)), Ca = { class: "relative" }, Sa = /* @__PURE__ */ te({
2376
+ }, Ga = { class: "z-20" }, Sa = { class: "flex h-full overflow-hidden items-stretch" }, Pa = { class: "hidden md:block" }, La = { class: "bg-gray-200 w-screen" }, Ma = { class: "relative h-full w-full flex flex-col overflow-hidden items-stretch" }, za = /* @__PURE__ */ ce(() => /* @__PURE__ */ i("div", { class: "md:mt-[130px] mt-[120px]" }, null, -1)), Ha = { class: "relative" }, Oa = /* @__PURE__ */ te({
2349
2377
  __name: "HomeView",
2350
2378
  setup(t) {
2351
- const e = k(!0), o = k(!1), r = le(), n = Ae(), s = Pt(), l = k(!1), a = k(""), d = async () => {
2352
- const c = {
2379
+ const e = w(!0), o = w(!1), r = le(), n = Ie(), s = Lt(), l = w(!1), a = w(""), c = async () => {
2380
+ const u = {
2353
2381
  event_type: at.CONSENT
2354
2382
  };
2355
- o.value = !1, s.close(), await Ie("/generateEvent", c);
2356
- }, h = async () => {
2357
- var c, b, u, f, x;
2383
+ o.value = !1, s.close(), await ge("/generateEvent", u);
2384
+ }, A = async () => {
2385
+ var u, m, d, f, g;
2358
2386
  try {
2359
2387
  e.value = !1;
2360
- const p = await Lt("/getLearnerData");
2361
- ((c = p.data) == null ? void 0 : c.maintenance) && uo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(p.data), e.value = !0;
2388
+ const p = await Dt("/getLearnerData");
2389
+ ((u = p.data) == null ? void 0 : u.maintenance) && vo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(p.data), e.value = !0;
2362
2390
  } catch (p) {
2363
- if (console.error(p), e.value = !0, X.isAxiosError(p)) {
2364
- const g = p;
2365
- if (console.error((b = g.response) == null ? void 0 : b.data), ((u = g.response) == null ? void 0 : u.status) === 422) {
2366
- l.value = !0, a.value = ((f = g.response) == null ? void 0 : f.data).message;
2391
+ if (console.error(p), e.value = !0, Z.isAxiosError(p)) {
2392
+ const y = p;
2393
+ if (console.error((m = y.response) == null ? void 0 : m.data), ((d = y.response) == null ? void 0 : d.status) === 422) {
2394
+ l.value = !0, a.value = ((f = y.response) == null ? void 0 : f.data).message;
2367
2395
  return;
2368
2396
  }
2369
- n.setError(((x = g.response) == null ? void 0 : x.data).message);
2397
+ n.setError(((g = y.response) == null ? void 0 : g.data).message);
2370
2398
  } else
2371
2399
  n.setError("There was an issue, please contact helpmate");
2372
2400
  }
2373
2401
  };
2374
2402
  return Se(() => {
2375
- h();
2376
- }), (c, b) => (v(), m("div", null, [
2377
- A(Ve, { "is-visible": l.value }, {
2378
- default: T(() => [
2379
- i("div", sa, [
2380
- A(y(Te), { class: "w-12 h-12 fill-genpact-blue-box" }),
2381
- A(jt, { color: "blue" }),
2382
- i("h3", aa, P(a.value), 1)
2403
+ A();
2404
+ }), (u, m) => (v(), h("div", null, [
2405
+ I(qe, { "is-visible": l.value }, {
2406
+ default: Q(() => [
2407
+ i("div", pa, [
2408
+ I(b(je), { class: "w-12 h-12 fill-genpact-blue-box" }),
2409
+ I(jt, { color: "blue" }),
2410
+ i("h3", fa, P(a.value), 1)
2383
2411
  ])
2384
2412
  ]),
2385
2413
  _: 1
2386
2414
  }, 8, ["is-visible"]),
2387
- A(Ve, {
2388
- "is-visible": y(s).isOpen,
2389
- "cross-visible": y(s).crossVisible,
2390
- onCancel: b[1] || (b[1] = (u) => y(s).close())
2415
+ I(qe, {
2416
+ "is-visible": b(s).isOpen,
2417
+ "cross-visible": b(s).crossVisible,
2418
+ onCancel: m[1] || (m[1] = (d) => b(s).close())
2391
2419
  }, {
2392
- default: T(() => [
2393
- i("div", ia, [
2394
- la,
2420
+ default: Q(() => [
2421
+ i("div", va, [
2422
+ ha,
2395
2423
  i("div", null, [
2396
- i("ul", ca, [
2397
- da,
2398
- ua,
2399
- pa,
2400
- i("li", null, " You can ask a maximum of " + P(y(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
2401
- fa,
2402
- va,
2403
- ha
2424
+ i("ul", Aa, [
2425
+ ma,
2426
+ ba,
2427
+ ga,
2428
+ i("li", null, " You can ask a maximum of " + P(b(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
2429
+ ya,
2430
+ xa,
2431
+ wa
2404
2432
  ])
2405
2433
  ]),
2406
- y(s).crossVisible ? S("", !0) : (v(), m("div", ma, [
2407
- i("div", ba, [
2434
+ b(s).crossVisible ? Y("", !0) : (v(), h("div", Ia, [
2435
+ i("div", ka, [
2408
2436
  i("input", {
2409
2437
  type: "checkbox",
2410
2438
  id: "check",
2411
2439
  className: "mr-3",
2412
- onClick: b[0] || (b[0] = (u) => o.value = !o.value)
2440
+ onClick: m[0] || (m[0] = (d) => o.value = !o.value)
2413
2441
  }),
2414
- ya
2442
+ Ea
2415
2443
  ]),
2416
- i("div", ga, [
2444
+ i("div", Ca, [
2417
2445
  i("button", {
2418
2446
  disabled: !o.value,
2419
2447
  className: "disabled:bg-gray-400 disabled:cursor-not-allowed cursor-pointer px-4 py-2 text-white shadow-md bg-genpact-blue-box focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",
2420
- onClick: d
2421
- }, " Proceed ", 8, xa)
2448
+ onClick: c
2449
+ }, " Proceed ", 8, Ra)
2422
2450
  ])
2423
2451
  ]))
2424
2452
  ])
2425
2453
  ]),
2426
2454
  _: 1
2427
2455
  }, 8, ["is-visible", "cross-visible"]),
2428
- e.value ? (v(), m("main", wa, [
2429
- i("div", Aa, [
2430
- A(dr)
2456
+ e.value ? (v(), h("main", Ya, [
2457
+ i("div", Ga, [
2458
+ I(dr)
2431
2459
  ]),
2432
- i("div", ka, [
2433
- i("div", Ea, [
2434
- A(Ht)
2460
+ i("div", Sa, [
2461
+ i("div", Pa, [
2462
+ I(Nt)
2435
2463
  ]),
2436
- i("div", Ra, [
2437
- i("div", Ya, [
2438
- A(na),
2439
- Ga
2464
+ i("div", La, [
2465
+ i("div", Ma, [
2466
+ I(ua),
2467
+ za
2440
2468
  ]),
2441
- i("div", Ca, [
2442
- A(zr)
2469
+ i("div", Ha, [
2470
+ I(Lr)
2443
2471
  ])
2444
2472
  ])
2445
2473
  ])
2446
- ])) : (v(), me(br, { key: 1 }))
2474
+ ])) : (v(), Ae(mr, { key: 1 }))
2447
2475
  ]));
2448
2476
  }
2449
2477
  });
2450
- const Oa = /* @__PURE__ */ st(Sa, [["__scopeId", "data-v-ed61c2a4"]]);
2478
+ const ja = /* @__PURE__ */ st(Oa, [["__scopeId", "data-v-ed61c2a4"]]);
2451
2479
  export {
2452
- Oa as default
2480
+ ja as default
2453
2481
  };