@genpact/genome.mfe.mgtwin-app 1.1.5-alpha → 1.1.7-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-334fa341.mjs";
2
- import { p as Ie, _ as vo, a as Ze, r as ho, g as Lt } from "./loadernew-f2732774.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 C, 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 Pt, m as fe, v as et, p as Q, q as oo, s as tt, T as Lt, x as Be, y as ro, z as Mt, B as zt, C as no, D as so, E as Ht, G as ke, H as wt, 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-aeed593e.mjs";
2
+ import { p as ge, _ as ho, a as Ze, r as Ao, g as Ot } from "./loadernew-70126a14.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 Dt(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
+ }, Tt = /* @__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
+ ])) : C("", !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
+ ])) : C("", !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, ", ")) : C("", !0)
159
145
  ]))), 128))
160
- ])) : S("", !0)
161
- ])) : S("", !0)
146
+ ])) : C("", !0)
147
+ ])) : C("", !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(Dt), {
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 ? C("", !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 ? C("", !0) : (v(), h("div", er, " No Recent Questions "))
211
197
  ])
212
198
  ]);
213
199
  };
@@ -222,7 +208,7 @@ const wo = { class: "md:w-72 bg-genpact-blue-box px-3 h-full flex flex-col justi
222
208
  class: "h-8",
223
209
  src: or,
224
210
  alt: "Logo"
225
- }, jt = {
211
+ }, Nt = {
226
212
  __name: "Logo",
227
213
  props: {
228
214
  color: {
@@ -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(Tt, { 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(Nt)
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",
@@ -311,21 +297,21 @@ const br = /* @__PURE__ */ st(ur, [["render", mr]]), Je = {
311
297
  "3,1": "s",
312
298
  "4,0": "s",
313
299
  "4,1": "s"
314
- }, kt = {
300
+ }, It = {
315
301
  i: "Continue your BITS wave",
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 jt = "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/${jt}/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/${jt}/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(It[Je[d.slice(1, 3).join(",")]]), l.value = It[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) || "", R = ((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
+ ...R.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
+ ])) : C("", !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 = Pt(), 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(Lt, { 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(Dt), {
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
+ ])) : C("", !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
+ ])) : C("", !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,30 @@ 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
+ }), Qt = (t) => (Mt("data-v-c9915a62"), t = t(), zt(), 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 = {
736
722
  key: 0,
737
723
  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,
724
+ }, an = {
725
+ key: 1,
726
+ class: "flex flex-wrap gap-2 items-center mt-5"
727
+ }, ln = ["href"], cn = /* @__PURE__ */ Qt(() => /* @__PURE__ */ i("img", {
728
+ src: Mr,
729
+ alt: "LinkedIn Icon",
730
+ class: "w-4 h-4 fil-current"
731
+ }, null, -1)), dn = { key: 2 }, un = {
732
+ key: 0,
733
+ class: "flex flex-wrap gap-2 items-center mt-5"
734
+ }, pn = ["href"], fn = /* @__PURE__ */ Qt(() => /* @__PURE__ */ i("img", {
735
+ src: zr,
736
+ alt: "LinkedIn Icon",
737
+ class: "w-4 h-4 fil-current"
738
+ }, null, -1)), vn = {
739
+ key: 3,
740
740
  class: "w-full pb-3 flex justify-end"
741
- }, ln = /* @__PURE__ */ te({
741
+ }, hn = /* @__PURE__ */ te({
742
742
  __name: "AiResponse",
743
743
  props: {
744
744
  question: {
@@ -763,66 +763,97 @@ const Or = { key: 0 }, Lr = {
763
763
  }
764
764
  },
765
765
  setup(t) {
766
- const e = t, o = k([]), r = k(!1), n = Ae(), s = le();
766
+ const e = t, o = w([]), r = w([]), n = w(!1), s = w(), l = w(!1), a = Ie(), c = le();
767
767
  console.log("this is issue", o.value.length);
768
- const l = async () => {
769
- var a, d, h;
768
+ const A = async () => {
769
+ var m, d, f;
770
770
  try {
771
771
  if (!e.showFeedback)
772
772
  return;
773
- const c = {
773
+ const g = {
774
774
  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);
775
+ skill_id: c.skill_id,
776
+ past_messages: c.past_messages
777
+ }, y = ((m = (await ge("/QuestionToRelevantLinks", g)).data) == null ? void 0 : m.body) || [];
778
+ s.value = y.length, console.log("c2 global length==>", s.value), y.length && (n.value = !0, o.value = y);
779
+ } catch (g) {
780
+ if (console.error(g), Z.isAxiosError(g)) {
781
+ const p = g;
782
+ console.error((d = p.response) == null ? void 0 : d.data), a.setError(((f = p.response) == null ? void 0 : f.data).message);
783
783
  } else
784
- n.setError("There was an issue, please contact helpmate");
784
+ a.setError("There was an issue, please contact helpmate");
785
+ }
786
+ }, u = async () => {
787
+ var m, d, f;
788
+ try {
789
+ if (!e.showFeedback)
790
+ return;
791
+ const g = {
792
+ question: e.question,
793
+ skill_id: c.skill_id,
794
+ past_messages: c.past_messages
795
+ }, y = ((m = (await ge("/QuestionToLilLinks", g)).data) == null ? void 0 : m.body) || [];
796
+ 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));
797
+ } catch (g) {
798
+ if (console.error(g), Z.isAxiosError(g)) {
799
+ const p = g;
800
+ console.error((d = p.response) == null ? void 0 : d.data), a.setError(((f = p.response) == null ? void 0 : f.data).message);
801
+ } else
802
+ a.setError("There was an issue, please contact helpmate");
785
803
  }
786
804
  };
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,
805
+ return ro(async () => {
806
+ await A(), u();
807
+ }), (m, d) => (v(), h("div", en, [
808
+ i("div", tn, [
809
+ i("span", { innerHTML: t.answer }, null, 8, on),
810
+ t.showSources ? (v(), h("div", rn, P(t.showSources), 1)) : C("", !0),
811
+ t.showFeedback ? (v(), h("div", nn, [
812
+ n.value || l.value ? (v(), h("div", sn, "Recommended Learning:")) : C("", !0),
813
+ n.value ? (v(), h("div", an, [
814
+ (v(!0), h(T, null, F(o.value, (f) => (v(), h("a", {
815
+ href: f.card_deeplink_url,
798
816
  target: "_blank",
799
- key: h.id,
817
+ key: f.id,
800
818
  class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
801
819
  }, [
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)
820
+ cn,
821
+ i("div", null, P(f.Content_Title), 1)
822
+ ], 8, ln))), 128))
823
+ ])) : C("", !0)
824
+ ])) : C("", !0),
825
+ t.showFeedback ? (v(), h("div", dn, [
826
+ l.value ? (v(), h("div", un, [
827
+ (v(!0), h(T, null, F(r.value, (f) => (v(), h("a", {
828
+ href: f.card_deeplink_url,
829
+ target: "_blank",
830
+ key: f.id,
831
+ class: "bg-blue-100 text-genpact-blue-box rounded-xl px-2 py-1 cursor-pointer flex gap-2 items-center"
832
+ }, [
833
+ fn,
834
+ i("div", null, P(f.Content_Title), 1)
835
+ ], 8, pn))), 128))
836
+ ])) : C("", !0)
837
+ ])) : C("", !0),
838
+ t.showFeedback ? (v(), h("div", vn, [
839
+ I($r, { "question-id": t.questionId }, null, 8, ["question-id"])
840
+ ])) : C("", !0)
810
841
  ])
811
842
  ]));
812
843
  }
813
844
  });
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 = {
845
+ const An = /* @__PURE__ */ st(hn, [["__scopeId", "data-v-c9915a62"]]), 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
846
  __name: "Greetings",
816
847
  setup(t) {
817
848
  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
849
+ return (o, r) => (v(), h("div", mn, [
850
+ i("div", bn, [
851
+ i("div", gn, " Hello " + P(b(e).learnerName || "Learner") + "! 👋 ", 1),
852
+ yn
822
853
  ])
823
854
  ]));
824
855
  }
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({
856
+ }, 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
857
  __name: "LearnerResponse",
827
858
  props: {
828
859
  question: {
@@ -835,9 +866,9 @@ const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { cl
835
866
  }
836
867
  },
837
868
  setup(t) {
838
- return (e, o) => (v(), m("div", hn, [
839
- i("div", mn, [
840
- i("div", bn, P(t.question), 1)
869
+ return (e, o) => (v(), h("div", wn, [
870
+ i("div", In, [
871
+ i("div", kn, P(t.question), 1)
841
872
  ])
842
873
  ]));
843
874
  }
@@ -845,49 +876,49 @@ const cn = /* @__PURE__ */ st(ln, [["__scopeId", "data-v-cef8a384"]]), dn = { cl
845
876
  function ot(t, e, o) {
846
877
  var r, n, s, l, a;
847
878
  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));
879
+ function c() {
880
+ var u = Date.now() - l;
881
+ u < e && u >= 0 ? r = setTimeout(c, e - u) : (r = null, o || (a = t.apply(s, n), s = n = null));
851
882
  }
852
- var h = function() {
883
+ var A = function() {
853
884
  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;
885
+ var u = o && !r;
886
+ return r || (r = setTimeout(c, e)), u && (a = t.apply(s, n), s = n = null), a;
856
887
  };
857
- return h.clear = function() {
888
+ return A.clear = function() {
858
889
  r && (clearTimeout(r), r = null);
859
- }, h.flush = function() {
890
+ }, A.flush = function() {
860
891
  r && (a = t.apply(s, n), s = n = null, clearTimeout(r), r = null);
861
- }, h;
892
+ }, A;
862
893
  }
863
894
  ot.debounce = ot;
864
895
  var _e = ot;
865
- function gn(t, e, o) {
866
- lo(t) ? ye(t, (r, n) => {
896
+ function Cn(t, e, o) {
897
+ po(t) ? be(t, (r, n) => {
867
898
  n == null || n.removeEventListener(e, o), r == null || r.addEventListener(e, o);
868
899
  }) : Se(() => {
869
900
  t.addEventListener(e, o);
870
901
  }), nt(() => {
871
902
  var r;
872
- (r = y(t)) === null || r === void 0 || r.removeEventListener(e, o);
903
+ (r = b(t)) === null || r === void 0 || r.removeEventListener(e, o);
873
904
  });
874
905
  }
875
- function xn(t, e) {
906
+ function Rn(t, e) {
876
907
  const o = "pointerdown";
877
- return typeof window > "u" || !window ? void 0 : gn(window, o, (n) => {
878
- const s = y(t);
908
+ return typeof window > "u" || !window ? void 0 : Cn(window, o, (n) => {
909
+ const s = b(t);
879
910
  s && (s === n.target || n.composedPath().includes(s) || e(n));
880
911
  });
881
912
  }
882
- function wn(t, e, o) {
913
+ function Yn(t, e, o) {
883
914
  let r = null;
884
- const n = k(!1);
915
+ const n = w(!1);
885
916
  Se(() => {
886
917
  (t.content !== void 0 || o.value) && (n.value = !0), r = new MutationObserver(s), r.observe(e.value, {
887
918
  childList: !0,
888
919
  subtree: !0
889
920
  });
890
- }), nt(() => r.disconnect()), ye(o, (l) => {
921
+ }), nt(() => r.disconnect()), be(o, (l) => {
891
922
  l ? n.value = !0 : n.value = !1;
892
923
  });
893
924
  const s = () => {
@@ -897,7 +928,7 @@ function wn(t, e, o) {
897
928
  hasContent: n
898
929
  };
899
930
  }
900
- function ge(t, e) {
931
+ function ye(t, e) {
901
932
  var o = t.getBoundingClientRect(), r = 1, n = 1;
902
933
  return {
903
934
  width: o.width / r,
@@ -926,40 +957,40 @@ function it(t) {
926
957
  scrollTop: r
927
958
  };
928
959
  }
929
- function Ye(t) {
960
+ function Re(t) {
930
961
  var e = W(t).Element;
931
962
  return t instanceof e || t instanceof Element;
932
963
  }
933
- function Z(t) {
964
+ function V(t) {
934
965
  var e = W(t).HTMLElement;
935
966
  return t instanceof e || t instanceof HTMLElement;
936
967
  }
937
- function Nt(t) {
968
+ function Ft(t) {
938
969
  if (typeof ShadowRoot > "u")
939
970
  return !1;
940
971
  var e = W(t).ShadowRoot;
941
972
  return t instanceof e || t instanceof ShadowRoot;
942
973
  }
943
- function An(t) {
974
+ function Gn(t) {
944
975
  return {
945
976
  scrollLeft: t.scrollLeft,
946
977
  scrollTop: t.scrollTop
947
978
  };
948
979
  }
949
- function kn(t) {
950
- return t === W(t) || !Z(t) ? it(t) : An(t);
980
+ function Sn(t) {
981
+ return t === W(t) || !V(t) ? it(t) : Gn(t);
951
982
  }
952
983
  function ee(t) {
953
984
  return t ? (t.nodeName || "").toLowerCase() : null;
954
985
  }
955
986
  function ue(t) {
956
- return ((Ye(t) ? t.ownerDocument : (
987
+ return ((Re(t) ? t.ownerDocument : (
957
988
  // $FlowFixMe[prop-missing]
958
989
  t.document
959
990
  )) || window.document).documentElement;
960
991
  }
961
992
  function lt(t) {
962
- return ge(ue(t)).left + it(t).scrollLeft;
993
+ return ye(ue(t)).left + it(t).scrollLeft;
963
994
  }
964
995
  function ie(t) {
965
996
  return W(t).getComputedStyle(t);
@@ -968,15 +999,15 @@ function ct(t) {
968
999
  var e = ie(t), o = e.overflow, r = e.overflowX, n = e.overflowY;
969
1000
  return /auto|scroll|overlay|hidden/.test(o + n + r);
970
1001
  }
971
- function En(t) {
1002
+ function Pn(t) {
972
1003
  var e = t.getBoundingClientRect(), o = e.width / t.offsetWidth || 1, r = e.height / t.offsetHeight || 1;
973
1004
  return o !== 1 || r !== 1;
974
1005
  }
975
- function Rn(t, e, o) {
1006
+ function Ln(t, e, o) {
976
1007
  o === void 0 && (o = !1);
977
- var r = Z(e);
978
- Z(e) && En(e);
979
- var n = ue(e), s = ge(t), l = {
1008
+ var r = V(e);
1009
+ V(e) && Pn(e);
1010
+ var n = ue(e), s = ye(t), l = {
980
1011
  scrollLeft: 0,
981
1012
  scrollTop: 0
982
1013
  }, a = {
@@ -984,7 +1015,7 @@ function Rn(t, e, o) {
984
1015
  y: 0
985
1016
  };
986
1017
  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))), {
1018
+ ct(n)) && (l = Sn(e)), V(e) ? (a = ye(e), a.x += e.clientLeft, a.y += e.clientTop) : n && (a.x = lt(n))), {
988
1019
  x: s.left + l.scrollLeft - a.x,
989
1020
  y: s.top + l.scrollTop - a.y,
990
1021
  width: s.width,
@@ -992,7 +1023,7 @@ function Rn(t, e, o) {
992
1023
  };
993
1024
  }
994
1025
  function dt(t) {
995
- var e = ge(t), o = t.offsetWidth, r = t.offsetHeight;
1026
+ var e = ye(t), o = t.offsetWidth, r = t.offsetHeight;
996
1027
  return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
997
1028
  x: t.offsetLeft,
998
1029
  y: t.offsetTop,
@@ -1000,45 +1031,45 @@ function dt(t) {
1000
1031
  height: r
1001
1032
  };
1002
1033
  }
1003
- function Qe(t) {
1034
+ function Ke(t) {
1004
1035
  return ee(t) === "html" ? t : (
1005
1036
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
1006
1037
  // $FlowFixMe[incompatible-return]
1007
1038
  // $FlowFixMe[prop-missing]
1008
1039
  t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
1009
1040
  t.parentNode || // DOM Element detected
1010
- (Nt(t) ? t.host : null) || // ShadowRoot detected
1041
+ (Ft(t) ? t.host : null) || // ShadowRoot detected
1011
1042
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
1012
1043
  ue(t)
1013
1044
  );
1014
1045
  }
1015
- function Tt(t) {
1016
- return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : Z(t) && ct(t) ? t : Tt(Qe(t));
1046
+ function qt(t) {
1047
+ return ["html", "body", "#document"].indexOf(ee(t)) >= 0 ? t.ownerDocument.body : V(t) && ct(t) ? t : qt(Ke(t));
1017
1048
  }
1018
- function Re(t, e) {
1049
+ function Ce(t, e) {
1019
1050
  var o;
1020
1051
  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);
1052
+ var r = qt(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);
1022
1053
  return n ? a : (
1023
1054
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1024
- a.concat(Re(Qe(l)))
1055
+ a.concat(Ce(Ke(l)))
1025
1056
  );
1026
1057
  }
1027
- function Yn(t) {
1058
+ function Mn(t) {
1028
1059
  return ["table", "td", "th"].indexOf(ee(t)) >= 0;
1029
1060
  }
1030
- function Et(t) {
1031
- return !Z(t) || // https://github.com/popperjs/popper-core/issues/837
1061
+ function kt(t) {
1062
+ return !V(t) || // https://github.com/popperjs/popper-core/issues/837
1032
1063
  ie(t).position === "fixed" ? null : t.offsetParent;
1033
1064
  }
1034
- function Gn(t) {
1065
+ function zn(t) {
1035
1066
  var e = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, o = navigator.userAgent.indexOf("Trident") !== -1;
1036
- if (o && Z(t)) {
1067
+ if (o && V(t)) {
1037
1068
  var r = ie(t);
1038
1069
  if (r.position === "fixed")
1039
1070
  return null;
1040
1071
  }
1041
- for (var n = Qe(t); Z(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1072
+ for (var n = Ke(t); V(n) && ["html", "body"].indexOf(ee(n)) < 0; ) {
1042
1073
  var s = ie(n);
1043
1074
  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
1075
  return n;
@@ -1047,16 +1078,16 @@ function Gn(t) {
1047
1078
  return null;
1048
1079
  }
1049
1080
  function Pe(t) {
1050
- for (var e = W(t), o = Et(t); o && Yn(o) && ie(o).position === "static"; )
1051
- 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) {
1081
+ for (var e = W(t), o = kt(t); o && Mn(o) && ie(o).position === "static"; )
1082
+ o = kt(o);
1083
+ return o && (ee(o) === "html" || ee(o) === "body" && ie(o).position === "static") ? e : o || zn(t) || e;
1084
+ }
1085
+ var K = "top", U = "bottom", B = "right", X = "left", ut = "auto", Le = [K, U, B, X], xe = "start", Ye = "end", Hn = "clippingParents", Zt = "viewport", Ee = "popper", On = "reference", Et = /* @__PURE__ */ Le.reduce(function(t, e) {
1086
+ return t.concat([e + "-" + xe, e + "-" + Ye]);
1087
+ }, []), Vt = /* @__PURE__ */ [].concat(Le, [ut]).reduce(function(t, e) {
1088
+ return t.concat([e, e + "-" + xe, e + "-" + Ye]);
1089
+ }, []), 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];
1090
+ function Xn(t) {
1060
1091
  var e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), r = [];
1061
1092
  t.forEach(function(s) {
1062
1093
  e.set(s.name, s);
@@ -1066,8 +1097,8 @@ function Tn(t) {
1066
1097
  var l = [].concat(s.requires || [], s.requiresIfExists || []);
1067
1098
  l.forEach(function(a) {
1068
1099
  if (!o.has(a)) {
1069
- var d = e.get(a);
1070
- d && n(d);
1100
+ var c = e.get(a);
1101
+ c && n(c);
1071
1102
  }
1072
1103
  }), r.push(s);
1073
1104
  }
@@ -1075,15 +1106,15 @@ function Tn(t) {
1075
1106
  o.has(s.name) || n(s);
1076
1107
  }), r;
1077
1108
  }
1078
- function Fn(t) {
1079
- var e = Tn(t);
1080
- return Nn.reduce(function(o, r) {
1109
+ function Un(t) {
1110
+ var e = Xn(t);
1111
+ return Kn.reduce(function(o, r) {
1081
1112
  return o.concat(e.filter(function(n) {
1082
1113
  return n.phase === r;
1083
1114
  }));
1084
1115
  }, []);
1085
1116
  }
1086
- function qn(t) {
1117
+ function Bn(t) {
1087
1118
  var e;
1088
1119
  return function() {
1089
1120
  return e || (e = new Promise(function(o) {
@@ -1096,7 +1127,7 @@ function qn(t) {
1096
1127
  function $(t) {
1097
1128
  return t.split("-")[0];
1098
1129
  }
1099
- function Vn(t) {
1130
+ function Wn(t) {
1100
1131
  var e = t.reduce(function(o, r) {
1101
1132
  var n = o[r.name];
1102
1133
  return o[r.name] = n ? Object.assign({}, n, r, {
@@ -1108,7 +1139,7 @@ function Vn(t) {
1108
1139
  return e[o];
1109
1140
  });
1110
1141
  }
1111
- function Zn(t) {
1142
+ function Jn(t) {
1112
1143
  var e = W(t), o = ue(t), r = e.visualViewport, n = o.clientWidth, s = o.clientHeight, l = 0, a = 0;
1113
1144
  return r && (n = r.width, s = r.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = r.offsetLeft, a = r.offsetTop)), {
1114
1145
  width: n,
@@ -1117,21 +1148,21 @@ function Zn(t) {
1117
1148
  y: a
1118
1149
  };
1119
1150
  }
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;
1151
+ var de = Math.max, Ge = Math.min, De = Math.round;
1152
+ function _n(t) {
1153
+ 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), c = -r.scrollTop;
1123
1154
  return ie(n || o).direction === "rtl" && (a += de(o.clientWidth, n ? n.clientWidth : 0) - s), {
1124
1155
  width: s,
1125
1156
  height: l,
1126
1157
  x: a,
1127
- y: d
1158
+ y: c
1128
1159
  };
1129
1160
  }
1130
- function Vt(t, e) {
1161
+ function Kt(t, e) {
1131
1162
  var o = e.getRootNode && e.getRootNode();
1132
1163
  if (t.contains(e))
1133
1164
  return !0;
1134
- if (o && Nt(o)) {
1165
+ if (o && Ft(o)) {
1135
1166
  var r = e;
1136
1167
  do {
1137
1168
  if (r && t.isSameNode(r))
@@ -1149,24 +1180,24 @@ function rt(t) {
1149
1180
  bottom: t.y + t.height
1150
1181
  });
1151
1182
  }
1152
- function Qn(t) {
1153
- var e = ge(t);
1183
+ function $n(t) {
1184
+ var e = ye(t);
1154
1185
  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
1186
  }
1156
- function Yt(t, e) {
1157
- return e === Ft ? rt(Zn(t)) : Z(e) ? Qn(e) : rt(Kn(ue(t)));
1187
+ function Ct(t, e) {
1188
+ return e === Zt ? rt(Jn(t)) : V(e) ? $n(e) : rt(_n(ue(t)));
1158
1189
  }
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";
1190
+ function es(t) {
1191
+ var e = Ce(Ke(t)), o = ["absolute", "fixed"].indexOf(ie(t).position) >= 0, r = o && V(t) ? Pe(t) : t;
1192
+ return Re(r) ? e.filter(function(n) {
1193
+ return Re(n) && Kt(n, r) && ee(n) !== "body";
1163
1194
  }) : [];
1164
1195
  }
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));
1196
+ function ts(t, e, o) {
1197
+ var r = e === "clippingParents" ? es(t) : [].concat(e), n = [].concat(r, [o]), s = n[0], l = n.reduce(function(a, c) {
1198
+ var A = Ct(t, c);
1199
+ 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;
1200
+ }, Ct(t, s));
1170
1201
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
1171
1202
  }
1172
1203
  function we(t) {
@@ -1175,54 +1206,54 @@ function we(t) {
1175
1206
  function pt(t) {
1176
1207
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
1177
1208
  }
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;
1209
+ function Xt(t) {
1210
+ 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
1211
  switch (n) {
1181
1212
  case K:
1182
- d = {
1213
+ c = {
1183
1214
  x: l,
1184
1215
  y: e.y - o.height
1185
1216
  };
1186
1217
  break;
1187
1218
  case U:
1188
- d = {
1219
+ c = {
1189
1220
  x: l,
1190
1221
  y: e.y + e.height
1191
1222
  };
1192
1223
  break;
1193
1224
  case B:
1194
- d = {
1225
+ c = {
1195
1226
  x: e.x + e.width,
1196
1227
  y: a
1197
1228
  };
1198
1229
  break;
1199
- case Q:
1200
- d = {
1230
+ case X:
1231
+ c = {
1201
1232
  x: e.x - o.width,
1202
1233
  y: a
1203
1234
  };
1204
1235
  break;
1205
1236
  default:
1206
- d = {
1237
+ c = {
1207
1238
  x: e.x,
1208
1239
  y: e.y
1209
1240
  };
1210
1241
  }
1211
- var h = n ? pt(n) : null;
1212
- if (h != null) {
1213
- var c = h === "y" ? "height" : "width";
1242
+ var A = n ? pt(n) : null;
1243
+ if (A != null) {
1244
+ var u = A === "y" ? "height" : "width";
1214
1245
  switch (s) {
1215
1246
  case xe:
1216
- d[h] = d[h] - (e[c] / 2 - o[c] / 2);
1247
+ c[A] = c[A] - (e[u] / 2 - o[u] / 2);
1217
1248
  break;
1218
- case Ge:
1219
- d[h] = d[h] + (e[c] / 2 - o[c] / 2);
1249
+ case Ye:
1250
+ c[A] = c[A] + (e[u] / 2 - o[u] / 2);
1220
1251
  break;
1221
1252
  }
1222
1253
  }
1223
- return d;
1254
+ return c;
1224
1255
  }
1225
- function Kt() {
1256
+ function Ut() {
1226
1257
  return {
1227
1258
  top: 0,
1228
1259
  right: 0,
@@ -1230,76 +1261,76 @@ function Kt() {
1230
1261
  left: 0
1231
1262
  };
1232
1263
  }
1233
- function Qt(t) {
1234
- return Object.assign({}, Kt(), t);
1264
+ function Bt(t) {
1265
+ return Object.assign({}, Ut(), t);
1235
1266
  }
1236
- function Xt(t, e) {
1267
+ function Wt(t, e) {
1237
1268
  return e.reduce(function(o, r) {
1238
1269
  return o[r] = t, o;
1239
1270
  }, {});
1240
1271
  }
1241
1272
  function ft(t, e) {
1242
1273
  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,
1274
+ 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, R = t.elements[d ? y : u], k = ts(Re(R) ? R : R.contextElement || ue(t.elements.popper), l, c), x = ye(t.elements.reference), S = Xt({
1275
+ reference: x,
1276
+ element: E,
1246
1277
  strategy: "absolute",
1247
1278
  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;
1279
+ }), Y = rt(Object.assign({}, E, S)), G = u === Ee ? Y : x, M = {
1280
+ top: k.top - G.top + p.top,
1281
+ bottom: G.bottom - k.bottom + p.bottom,
1282
+ left: k.left - G.left + p.left,
1283
+ right: G.right - k.right + p.right
1284
+ }, L = t.modifiersData.offset;
1285
+ if (u === Ee && L) {
1286
+ var N = L[n];
1287
+ Object.keys(M).forEach(function(j) {
1288
+ var oe = [B, U].indexOf(j) >= 0 ? 1 : -1, z = [K, U].indexOf(j) >= 0 ? "y" : "x";
1289
+ M[j] += N[z] * oe;
1259
1290
  });
1260
1291
  }
1261
- return O;
1292
+ return M;
1262
1293
  }
1263
- var Gt = {
1294
+ var Rt = {
1264
1295
  placement: "bottom",
1265
1296
  modifiers: [],
1266
1297
  strategy: "absolute"
1267
1298
  };
1268
- function Ct() {
1299
+ function Yt() {
1269
1300
  for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
1270
1301
  e[o] = arguments[o];
1271
1302
  return !e.some(function(r) {
1272
1303
  return !(r && typeof r.getBoundingClientRect == "function");
1273
1304
  });
1274
1305
  }
1275
- function Bn(t) {
1306
+ function os(t) {
1276
1307
  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 = {
1308
+ var e = t, o = e.defaultModifiers, r = o === void 0 ? [] : o, n = e.defaultOptions, s = n === void 0 ? Rt : n;
1309
+ return function(a, c, A) {
1310
+ A === void 0 && (A = s);
1311
+ var u = {
1281
1312
  placement: "bottom",
1282
1313
  orderedModifiers: [],
1283
- options: Object.assign({}, Gt, s),
1314
+ options: Object.assign({}, Rt, s),
1284
1315
  modifiersData: {},
1285
1316
  elements: {
1286
1317
  reference: a,
1287
- popper: d
1318
+ popper: c
1288
1319
  },
1289
1320
  attributes: {},
1290
1321
  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)
1322
+ }, m = [], d = !1, f = {
1323
+ state: u,
1324
+ setOptions: function(E) {
1325
+ var R = typeof E == "function" ? E(u.options) : E;
1326
+ p(), u.options = Object.assign({}, s, u.options, R), u.scrollParents = {
1327
+ reference: Re(a) ? Ce(a) : a.contextElement ? Ce(a.contextElement) : [],
1328
+ popper: Ce(c)
1298
1329
  };
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();
1330
+ var k = Un(Wn([].concat(r, u.options.modifiers)));
1331
+ return u.orderedModifiers = k.filter(function(x) {
1332
+ return x.enabled;
1333
+ }), g(), f.update();
1303
1334
  },
1304
1335
  // Sync update – it will always be executed, even if not necessary. This
1305
1336
  // is useful for low frequency updates where sync behavior simplifies the
@@ -1307,175 +1338,175 @@ function Bn(t) {
1307
1338
  // For high frequency updates (e.g. `resize` and `scroll` events), always
1308
1339
  // prefer the async Popper#update method
1309
1340
  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);
1341
+ if (!d) {
1342
+ var E = u.elements, R = E.reference, k = E.popper;
1343
+ if (Yt(R, k)) {
1344
+ u.rects = {
1345
+ reference: Ln(R, Pe(k), u.options.strategy === "fixed"),
1346
+ popper: dt(k)
1347
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(N) {
1348
+ return u.modifiersData[N.name] = Object.assign({}, N.data);
1318
1349
  });
1319
- for (var w = 0; w < c.orderedModifiers.length; w++) {
1320
- if (c.reset === !0) {
1321
- c.reset = !1, w = -1;
1350
+ for (var x = 0; x < u.orderedModifiers.length; x++) {
1351
+ if (u.reset === !0) {
1352
+ u.reset = !1, x = -1;
1322
1353
  continue;
1323
1354
  }
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,
1355
+ var S = u.orderedModifiers[x], Y = S.fn, G = S.options, M = G === void 0 ? {} : G, L = S.name;
1356
+ typeof Y == "function" && (u = Y({
1357
+ state: u,
1358
+ options: M,
1359
+ name: L,
1329
1360
  instance: f
1330
- }) || c);
1361
+ }) || u);
1331
1362
  }
1332
1363
  }
1333
1364
  }
1334
1365
  },
1335
1366
  // Async and optimistically optimized update – it will not be executed if
1336
1367
  // 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);
1368
+ update: Bn(function() {
1369
+ return new Promise(function(y) {
1370
+ f.forceUpdate(), y(u);
1340
1371
  });
1341
1372
  }),
1342
1373
  destroy: function() {
1343
- p(), u = !0;
1374
+ p(), d = !0;
1344
1375
  }
1345
1376
  };
1346
- if (!Ct(a, d))
1377
+ if (!Yt(a, c))
1347
1378
  return f;
1348
- f.setOptions(h).then(function(g) {
1349
- !u && h.onFirstUpdate && h.onFirstUpdate(g);
1379
+ f.setOptions(A).then(function(y) {
1380
+ !d && A.onFirstUpdate && A.onFirstUpdate(y);
1350
1381
  });
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,
1382
+ function g() {
1383
+ u.orderedModifiers.forEach(function(y) {
1384
+ var E = y.name, R = y.options, k = R === void 0 ? {} : R, x = y.effect;
1385
+ if (typeof x == "function") {
1386
+ var S = x({
1387
+ state: u,
1388
+ name: E,
1358
1389
  instance: f,
1359
- options: E
1360
- }), G = function() {
1390
+ options: k
1391
+ }), Y = function() {
1361
1392
  };
1362
- b.push(I || G);
1393
+ m.push(S || Y);
1363
1394
  }
1364
1395
  });
1365
1396
  }
1366
1397
  function p() {
1367
- b.forEach(function(g) {
1368
- return g();
1369
- }), b = [];
1398
+ m.forEach(function(y) {
1399
+ return y();
1400
+ }), m = [];
1370
1401
  }
1371
1402
  return f;
1372
1403
  };
1373
1404
  }
1374
- var De = {
1405
+ var Te = {
1375
1406
  passive: !0
1376
1407
  };
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);
1408
+ function rs(t) {
1409
+ 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);
1410
+ return s && A.forEach(function(u) {
1411
+ u.addEventListener("scroll", o.update, Te);
1412
+ }), a && c.addEventListener("resize", o.update, Te), function() {
1413
+ s && A.forEach(function(u) {
1414
+ u.removeEventListener("scroll", o.update, Te);
1415
+ }), a && c.removeEventListener("resize", o.update, Te);
1385
1416
  };
1386
1417
  }
1387
- var Jn = {
1418
+ var ns = {
1388
1419
  name: "eventListeners",
1389
1420
  enabled: !0,
1390
1421
  phase: "write",
1391
1422
  fn: function() {
1392
1423
  },
1393
- effect: Wn,
1424
+ effect: rs,
1394
1425
  data: {}
1395
1426
  };
1396
- function _n(t) {
1427
+ function ss(t) {
1397
1428
  var e = t.state, o = t.name;
1398
- e.modifiersData[o] = Zt({
1429
+ e.modifiersData[o] = Xt({
1399
1430
  reference: e.rects.reference,
1400
1431
  element: e.rects.popper,
1401
1432
  strategy: "absolute",
1402
1433
  placement: e.placement
1403
1434
  });
1404
1435
  }
1405
- var $n = {
1436
+ var as = {
1406
1437
  name: "popperOffsets",
1407
1438
  enabled: !0,
1408
1439
  phase: "read",
1409
- fn: _n,
1440
+ fn: ss,
1410
1441
  data: {}
1411
- }, es = {
1442
+ }, is = {
1412
1443
  top: "auto",
1413
1444
  right: "auto",
1414
1445
  bottom: "auto",
1415
1446
  left: "auto"
1416
1447
  };
1417
- function ts(t) {
1448
+ function ls(t) {
1418
1449
  var e = t.x, o = t.y, r = window, n = r.devicePixelRatio || 1;
1419
1450
  return {
1420
- x: je(je(e * n) / n) || 0,
1421
- y: je(je(o * n) / n) || 0
1451
+ x: De(De(e * n) / n) || 0,
1452
+ y: De(De(o * n) / n) || 0
1422
1453
  };
1423
1454
  }
1424
- 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);
1455
+ function Gt(t) {
1456
+ 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"), R = X, k = K, x = window;
1457
+ if (A) {
1458
+ var S = Pe(o), Y = "clientHeight", G = "clientWidth";
1459
+ S === W(o) && (S = ue(o), ie(S).position !== "static" && a === "absolute" && (Y = "scrollHeight", G = "scrollWidth")), S = S, (n === K || (n === X || n === B) && s === Ye) && (k = U, p -= S[Y] - r.height, p *= c ? 1 : -1), (n === X || (n === K || n === U) && s === Ye) && (R = B, f -= S[G] - r.width, f *= c ? 1 : -1);
1429
1460
  }
1430
- var O = Object.assign({
1461
+ var M = Object.assign({
1431
1462
  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));
1463
+ }, A && is);
1464
+ if (c) {
1465
+ var L;
1466
+ return Object.assign({}, M, (L = {}, L[k] = E ? "0" : "", L[R] = y ? "0" : "", L.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + p + "px)" : "translate3d(" + f + "px, " + p + "px, 0)", L));
1436
1467
  }
1437
- return Object.assign({}, O, (e = {}, e[E] = R ? p + "px" : "", e[Y] = g ? f + "px" : "", e.transform = "", e));
1468
+ return Object.assign({}, M, (e = {}, e[k] = E ? p + "px" : "", e[R] = y ? f + "px" : "", e.transform = "", e));
1438
1469
  }
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 = {
1470
+ function cs(t) {
1471
+ 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
1472
  placement: $(e.placement),
1442
1473
  variation: we(e.placement),
1443
1474
  popper: e.elements.popper,
1444
1475
  popperRect: e.rects.popper,
1445
1476
  gpuAcceleration: n
1446
1477
  };
1447
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, St(Object.assign({}, h, {
1478
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Gt(Object.assign({}, A, {
1448
1479
  offsets: e.modifiersData.popperOffsets,
1449
1480
  position: e.options.strategy,
1450
1481
  adaptive: l,
1451
- roundOffsets: d
1452
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, St(Object.assign({}, h, {
1482
+ roundOffsets: c
1483
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Gt(Object.assign({}, A, {
1453
1484
  offsets: e.modifiersData.arrow,
1454
1485
  position: "absolute",
1455
1486
  adaptive: !1,
1456
- roundOffsets: d
1487
+ roundOffsets: c
1457
1488
  })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
1458
1489
  "data-popper-placement": e.placement
1459
1490
  });
1460
1491
  }
1461
- var rs = {
1492
+ var ds = {
1462
1493
  name: "computeStyles",
1463
1494
  enabled: !0,
1464
1495
  phase: "beforeWrite",
1465
- fn: os,
1496
+ fn: cs,
1466
1497
  data: {}
1467
1498
  };
1468
- function ns(t) {
1499
+ function us(t) {
1469
1500
  var e = t.state;
1470
1501
  Object.keys(e.elements).forEach(function(o) {
1471
1502
  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) {
1503
+ !V(s) || !ee(s) || (Object.assign(s.style, r), Object.keys(n).forEach(function(l) {
1473
1504
  var a = n[l];
1474
1505
  a === !1 ? s.removeAttribute(l) : s.setAttribute(l, a === !0 ? "" : a);
1475
1506
  }));
1476
1507
  });
1477
1508
  }
1478
- function ss(t) {
1509
+ function ps(t) {
1479
1510
  var e = t.state, o = {
1480
1511
  popper: {
1481
1512
  position: e.options.strategy,
@@ -1490,177 +1521,177 @@ function ss(t) {
1490
1521
  };
1491
1522
  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
1523
  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;
1524
+ 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) {
1525
+ return c[A] = "", c;
1495
1526
  }, {});
1496
- !Z(n) || !ee(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(d) {
1497
- n.removeAttribute(d);
1527
+ !V(n) || !ee(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(c) {
1528
+ n.removeAttribute(c);
1498
1529
  }));
1499
1530
  });
1500
1531
  };
1501
1532
  }
1502
- var as = {
1533
+ var fs = {
1503
1534
  name: "applyStyles",
1504
1535
  enabled: !0,
1505
1536
  phase: "write",
1506
- fn: ns,
1507
- effect: ss,
1537
+ fn: us,
1538
+ effect: ps,
1508
1539
  requires: ["computeStyles"]
1509
- }, is = [Jn, $n, rs, as], ls = /* @__PURE__ */ Bn({
1510
- defaultModifiers: is
1540
+ }, vs = [ns, as, ds, fs], hs = /* @__PURE__ */ os({
1541
+ defaultModifiers: vs
1511
1542
  });
1512
- function cs(t) {
1543
+ function As(t) {
1513
1544
  return t === "x" ? "y" : "x";
1514
1545
  }
1515
- function Fe(t, e, o) {
1516
- return de(t, Ce(e, o));
1546
+ function Qe(t, e, o) {
1547
+ return de(t, Ge(e, o));
1517
1548
  }
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, {
1549
+ function ms(t) {
1550
+ 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 = ft(e, {
1551
+ boundary: c,
1552
+ rootBoundary: A,
1553
+ padding: m,
1554
+ altBoundary: u
1555
+ }), E = $(e.placement), R = we(e.placement), k = !R, x = pt(E), S = As(x), Y = e.modifiersData.popperOffsets, G = e.rects.reference, M = e.rects.popper, L = typeof p == "function" ? p(Object.assign({}, e.rects, {
1525
1556
  placement: e.placement
1526
- })) : p, D = {
1557
+ })) : p, N = {
1527
1558
  x: 0,
1528
1559
  y: 0
1529
1560
  };
1530
- if (G) {
1561
+ if (Y) {
1531
1562
  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) : {
1563
+ var j = x === "y" ? K : X, oe = x === "y" ? U : B, z = x === "y" ? "height" : "width", re = Y[x], ne = Y[x] + y[j], q = Y[x] - y[oe], se = f ? -M[z] / 2 : 0, O = R === xe ? G[z] : M[z], D = R === xe ? -M[z] : -G[z], H = e.elements.arrow, ae = f && H ? dt(H) : {
1533
1564
  width: 0,
1534
1565
  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;
1566
+ }, 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, ht = e.modifiersData.offset ? e.modifiersData.offset[e.placement][x] : 0, At = Y[x] + ze - ht - Ue, mt = Y[x] + Xe - ht;
1536
1567
  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;
1568
+ var bt = Qe(f ? Ge(ne, At) : ne, re, f ? de(q, mt) : q);
1569
+ Y[x] = bt, N[x] = bt - re;
1539
1570
  }
1540
1571
  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;
1572
+ var $t = x === "x" ? K : X, eo = x === "x" ? U : B, He = Y[S], gt = He + y[$t], yt = He - y[eo], xt = Qe(f ? Ge(gt, At) : gt, He, f ? de(yt, mt) : yt);
1573
+ Y[S] = xt, N[S] = xt - He;
1543
1574
  }
1544
1575
  }
1545
- e.modifiersData[r] = D;
1576
+ e.modifiersData[r] = N;
1546
1577
  }
1547
1578
  }
1548
- var us = {
1579
+ var bs = {
1549
1580
  name: "preventOverflow",
1550
1581
  enabled: !0,
1551
1582
  phase: "main",
1552
- fn: ds,
1583
+ fn: ms,
1553
1584
  requiresIfExists: ["offset"]
1554
- }, ps = {
1585
+ }, gs = {
1555
1586
  left: "right",
1556
1587
  right: "left",
1557
1588
  bottom: "top",
1558
1589
  top: "bottom"
1559
1590
  };
1560
- function qe(t) {
1591
+ function Fe(t) {
1561
1592
  return t.replace(/left|right|bottom|top/g, function(e) {
1562
- return ps[e];
1593
+ return gs[e];
1563
1594
  });
1564
1595
  }
1565
- var fs = {
1596
+ var ys = {
1566
1597
  start: "end",
1567
1598
  end: "start"
1568
1599
  };
1569
- function It(t) {
1600
+ function St(t) {
1570
1601
  return t.replace(/start|end/g, function(e) {
1571
- return fs[e];
1602
+ return ys[e];
1572
1603
  });
1573
1604
  }
1574
- function vs(t, e) {
1605
+ function xs(t, e) {
1575
1606
  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;
1607
+ 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 ? Et : Et.filter(function(g) {
1608
+ return we(g) === u;
1609
+ }) : Le, d = m.filter(function(g) {
1610
+ return A.indexOf(g) >= 0;
1580
1611
  });
1581
- u.length === 0 && (u = b);
1582
- var f = u.reduce(function(x, p) {
1583
- return x[p] = ft(t, {
1612
+ d.length === 0 && (d = m);
1613
+ var f = d.reduce(function(g, p) {
1614
+ return g[p] = ft(t, {
1584
1615
  placement: p,
1585
1616
  boundary: n,
1586
1617
  rootBoundary: s,
1587
1618
  padding: l
1588
- })[$(p)], x;
1619
+ })[$(p)], g;
1589
1620
  }, {});
1590
- return Object.keys(f).sort(function(x, p) {
1591
- return f[x] - f[p];
1621
+ return Object.keys(f).sort(function(g, p) {
1622
+ return f[g] - f[p];
1592
1623
  });
1593
1624
  }
1594
- function hs(t) {
1625
+ function ws(t) {
1595
1626
  if ($(t) === ut)
1596
1627
  return [];
1597
- var e = qe(t);
1598
- return [It(t), e, It(e)];
1628
+ var e = Fe(t);
1629
+ return [St(t), e, St(e)];
1599
1630
  }
1600
- function ms(t) {
1631
+ function Is(t) {
1601
1632
  var e = t.state, o = t.options, r = t.name;
1602
1633
  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, {
1634
+ 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), R = E === y, k = c || (R || !g ? [Fe(y)] : ws(y)), x = [y].concat(k).reduce(function(pe, J) {
1635
+ return pe.concat($(J) === ut ? xs(e, {
1605
1636
  placement: J,
1606
- boundary: c,
1607
- rootBoundary: b,
1608
- padding: h,
1609
- flipVariations: x,
1637
+ boundary: u,
1638
+ rootBoundary: m,
1639
+ padding: A,
1640
+ flipVariations: g,
1610
1641
  allowedAutoPlacements: p
1611
1642
  }) : 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) {
1643
+ }, []), S = e.rects.reference, Y = e.rects.popper, G = /* @__PURE__ */ new Map(), M = !0, L = x[0], N = 0; N < x.length; N++) {
1644
+ var j = x[N], oe = $(j), z = we(j) === xe, re = [K, U].indexOf(oe) >= 0, ne = re ? "width" : "height", q = ft(e, {
1645
+ placement: j,
1646
+ boundary: u,
1647
+ rootBoundary: m,
1648
+ altBoundary: d,
1649
+ padding: A
1650
+ }), se = re ? z ? B : X : z ? U : K;
1651
+ S[ne] > Y[ne] && (se = Fe(se));
1652
+ var O = Fe(se), D = [];
1653
+ if (s && D.push(q[oe] <= 0), a && D.push(q[se] <= 0, q[O] <= 0), D.every(function(pe) {
1623
1654
  return pe;
1624
1655
  })) {
1625
- z = N, O = !1;
1656
+ L = j, M = !1;
1626
1657
  break;
1627
1658
  }
1628
- C.set(N, j);
1659
+ G.set(j, D);
1629
1660
  }
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);
1661
+ if (M)
1662
+ for (var H = g ? 3 : 1, ae = function(J) {
1663
+ var ze = x.find(function(Xe) {
1664
+ var he = G.get(Xe);
1634
1665
  if (he)
1635
1666
  return he.slice(0, J).every(function(Ue) {
1636
1667
  return Ue;
1637
1668
  });
1638
1669
  });
1639
- if (Le)
1640
- return z = Le, "break";
1641
- }, ve = M; ve > 0; ve--) {
1642
- var Oe = ae(ve);
1643
- if (Oe === "break")
1670
+ if (ze)
1671
+ return L = ze, "break";
1672
+ }, ve = H; ve > 0; ve--) {
1673
+ var Me = ae(ve);
1674
+ if (Me === "break")
1644
1675
  break;
1645
1676
  }
1646
- e.placement !== z && (e.modifiersData[r]._skip = !0, e.placement = z, e.reset = !0);
1677
+ e.placement !== L && (e.modifiersData[r]._skip = !0, e.placement = L, e.reset = !0);
1647
1678
  }
1648
1679
  }
1649
- var bs = {
1680
+ var ks = {
1650
1681
  name: "flip",
1651
1682
  enabled: !0,
1652
1683
  phase: "main",
1653
- fn: ms,
1684
+ fn: Is,
1654
1685
  requiresIfExists: ["offset"],
1655
1686
  data: {
1656
1687
  _skip: !1
1657
1688
  }
1658
1689
  };
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, {
1690
+ function Es(t, e, o) {
1691
+ var r = $(t), n = [X, K].indexOf(r) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, e, {
1661
1692
  placement: t
1662
1693
  })) : o, l = s[0], a = s[1];
1663
- return l = l || 0, a = (a || 0) * n, [Q, B].indexOf(r) >= 0 ? {
1694
+ return l = l || 0, a = (a || 0) * n, [X, B].indexOf(r) >= 0 ? {
1664
1695
  x: a,
1665
1696
  y: l
1666
1697
  } : {
@@ -1668,45 +1699,45 @@ function ys(t, e, o) {
1668
1699
  y: a
1669
1700
  };
1670
1701
  }
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;
1702
+ function Cs(t) {
1703
+ 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) {
1704
+ return u[m] = Es(m, e.rects, s), u;
1705
+ }, {}), a = l[e.placement], c = a.x, A = a.y;
1706
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += c, e.modifiersData.popperOffsets.y += A), e.modifiersData[r] = l;
1676
1707
  }
1677
- var xs = {
1708
+ var Rs = {
1678
1709
  name: "offset",
1679
1710
  enabled: !0,
1680
1711
  phase: "main",
1681
1712
  requires: ["popperOffsets"],
1682
- fn: gs
1683
- }, ws = function(e, o) {
1713
+ fn: Cs
1714
+ }, Ys = function(e, o) {
1684
1715
  return e = typeof e == "function" ? e(Object.assign({}, o.rects, {
1685
1716
  placement: o.placement
1686
- })) : e, Qt(typeof e != "number" ? e : Xt(e, ze));
1717
+ })) : e, Bt(typeof e != "number" ? e : Wt(e, Le));
1687
1718
  };
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";
1719
+ function Gs(t) {
1720
+ var e, o = t.state, r = t.name, n = t.options, s = o.elements.arrow, l = o.modifiersData.popperOffsets, a = $(o.placement), c = pt(a), A = [X, B].indexOf(a) >= 0, u = A ? "height" : "width";
1690
1721
  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);
1722
+ var m = Ys(n.padding, o), d = dt(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), R = E ? c === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, k = p / 2 - y / 2, x = m[f], S = R - d[u] - m[g], Y = R / 2 - d[u] / 2 + k, G = Qe(x, Y, S), M = c;
1723
+ o.modifiersData[r] = (e = {}, e[M] = G, e.centerOffset = G - Y, e);
1693
1724
  }
1694
1725
  }
1695
- function ks(t) {
1726
+ function Ss(t) {
1696
1727
  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));
1728
+ n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || Kt(e.elements.popper, n) && (e.elements.arrow = n));
1698
1729
  }
1699
- var Es = {
1730
+ var Ps = {
1700
1731
  name: "arrow",
1701
1732
  enabled: !0,
1702
1733
  phase: "main",
1703
- fn: As,
1704
- effect: ks,
1734
+ fn: Gs,
1735
+ effect: Ss,
1705
1736
  requires: ["popperOffsets"],
1706
1737
  requiresIfExists: ["preventOverflow"]
1707
1738
  };
1708
1739
  const $e = (t) => parseInt(t, 10);
1709
- function Rs({
1740
+ function Ls({
1710
1741
  arrowPadding: t,
1711
1742
  emit: e,
1712
1743
  locked: o,
@@ -1716,62 +1747,62 @@ function Rs({
1716
1747
  popperNode: l,
1717
1748
  triggerNode: a
1718
1749
  }) {
1719
- const d = ao({
1750
+ const c = co({
1720
1751
  isOpen: !1,
1721
1752
  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, {
1753
+ }), A = (p) => {
1754
+ var y;
1755
+ (y = c.popperInstance) === null || y === void 0 || y.setOptions((E) => ({
1756
+ ...E,
1757
+ modifiers: [...E.modifiers, {
1727
1758
  name: "eventListeners",
1728
1759
  enabled: p
1729
1760
  }]
1730
1761
  }));
1731
- }, c = () => h(!0), b = () => h(!1), u = () => {
1732
- d.isOpen && (d.isOpen = !1, e("close:popper"));
1762
+ }, u = () => A(!0), m = () => A(!1), d = () => {
1763
+ c.isOpen && (c.isOpen = !1, e("close:popper"));
1733
1764
  }, f = () => {
1734
- d.isOpen || (d.isOpen = !0, e("open:popper"));
1765
+ c.isOpen || (c.isOpen = !0, e("open:popper"));
1735
1766
  };
1736
- ye([() => d.isOpen, s], async ([p]) => {
1737
- p ? (await x(), c()) : b();
1767
+ be([() => c.isOpen, s], async ([p]) => {
1768
+ p ? (await g(), u()) : m();
1738
1769
  });
1739
- const x = async () => {
1740
- await io(), d.popperInstance = ls(a.value, l.value, {
1770
+ const g = async () => {
1771
+ await uo(), c.popperInstance = hs(a.value, l.value, {
1741
1772
  placement: s.value,
1742
- modifiers: [us, bs, {
1773
+ modifiers: [bs, ks, {
1743
1774
  name: "flip",
1744
1775
  enabled: !o.value
1745
- }, Es, {
1776
+ }, Ps, {
1746
1777
  name: "arrow",
1747
1778
  options: {
1748
1779
  padding: $e(t.value)
1749
1780
  }
1750
- }, xs, {
1781
+ }, Rs, {
1751
1782
  name: "offset",
1752
1783
  options: {
1753
1784
  offset: [$e(n.value), $e(r.value)]
1754
1785
  }
1755
1786
  }]
1756
- }), d.popperInstance.update();
1787
+ }), c.popperInstance.update();
1757
1788
  };
1758
1789
  return nt(() => {
1759
1790
  var p;
1760
- (p = d.popperInstance) === null || p === void 0 || p.destroy();
1791
+ (p = c.popperInstance) === null || p === void 0 || p.destroy();
1761
1792
  }), {
1762
- ...Ot(d),
1793
+ ...Ht(c),
1763
1794
  open: f,
1764
- close: u
1795
+ close: d
1765
1796
  };
1766
1797
  }
1767
- const Ys = {
1798
+ const Ms = {
1768
1799
  id: "arrow",
1769
1800
  "data-popper-arrow": ""
1770
1801
  };
1771
- function Gs(t, e) {
1772
- return v(), m("div", Ys);
1802
+ function zs(t, e) {
1803
+ return v(), h("div", Ms);
1773
1804
  }
1774
- function Ut(t, e) {
1805
+ function Jt(t, e) {
1775
1806
  e === void 0 && (e = {});
1776
1807
  var o = e.insertAt;
1777
1808
  if (!(!t || typeof document > "u")) {
@@ -1779,7 +1810,7 @@ function Ut(t, e) {
1779
1810
  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
1811
  }
1781
1812
  }
1782
- var Cs = `
1813
+ var Hs = `
1783
1814
  #arrow[data-v-20b7fd4a],
1784
1815
  #arrow[data-v-20b7fd4a]::before {
1785
1816
  transition: background 250ms ease-in-out;
@@ -1836,13 +1867,13 @@ var Cs = `
1836
1867
  left: -5px;
1837
1868
  }
1838
1869
  `;
1839
- Ut(Cs);
1870
+ Jt(Hs);
1840
1871
  const vt = {};
1841
- vt.render = Gs;
1872
+ vt.render = zs;
1842
1873
  vt.__scopeId = "data-v-20b7fd4a";
1843
- var Ss = vt;
1844
- const Is = ["onKeyup"];
1845
- var Bt = {
1874
+ var Os = vt;
1875
+ const Ds = ["onKeyup"];
1876
+ var _t = {
1846
1877
  props: {
1847
1878
  /**
1848
1879
  * Preferred placement (the "auto" placements will choose the side with most space.)
@@ -1958,94 +1989,94 @@ var Bt = {
1958
1989
  emit: e
1959
1990
  }) {
1960
1991
  const o = t;
1961
- to((H) => ({
1992
+ no((O) => ({
1962
1993
  c81fc0a4: t.zIndex
1963
1994
  }));
1964
- const r = oo(), n = k(null), s = k(null), l = k(null), a = k(!1);
1995
+ const r = so(), n = w(null), s = w(null), l = w(null), a = w(!1);
1965
1996
  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.`);
1997
+ const O = r.default();
1998
+ if (O && O.length > 1)
1999
+ return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${O.length} child nodes.`);
1969
2000
  });
1970
2001
  const {
1971
- arrowPadding: d,
1972
- closeDelay: h,
1973
- content: c,
1974
- disableClickAway: b,
1975
- disabled: u,
2002
+ arrowPadding: c,
2003
+ closeDelay: A,
2004
+ content: u,
2005
+ disableClickAway: m,
2006
+ disabled: d,
1976
2007
  interactive: f,
1977
- locked: x,
2008
+ locked: g,
1978
2009
  offsetDistance: p,
1979
- offsetSkid: g,
1980
- openDelay: R,
1981
- placement: Y,
1982
- show: E
1983
- } = Ot(o), {
1984
- isOpen: w,
1985
- open: I,
1986
- close: G
1987
- } = Rs({
1988
- arrowPadding: d,
2010
+ offsetSkid: y,
2011
+ openDelay: E,
2012
+ placement: R,
2013
+ show: k
2014
+ } = Ht(o), {
2015
+ isOpen: x,
2016
+ open: S,
2017
+ close: Y
2018
+ } = Ls({
2019
+ arrowPadding: c,
1989
2020
  emit: e,
1990
- locked: x,
2021
+ locked: g,
1991
2022
  offsetDistance: p,
1992
- offsetSkid: g,
1993
- placement: Y,
2023
+ offsetSkid: y,
2024
+ placement: R,
1994
2025
  popperNode: s,
1995
2026
  triggerNode: l
1996
2027
  }), {
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());
2028
+ hasContent: G
2029
+ } = 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(Y, A.value), ne = async () => {
2030
+ L.value || M.value || (re.clear(), z());
2000
2031
  }, q = async () => {
2001
- O.value || (L.clear(), re());
2032
+ M.value || (z.clear(), re());
2002
2033
  }, se = () => {
2003
- w.value ? q() : ne();
2034
+ x.value ? q() : ne();
2004
2035
  };
2005
- return ye([C, u], ([H, j]) => {
2006
- w.value && (!H || j) && G();
2007
- }), ye(w, (H) => {
2008
- H ? a.value = !0 : _e.debounce(() => {
2036
+ return be([G, d], ([O, D]) => {
2037
+ x.value && (!O || D) && Y();
2038
+ }), be(x, (O) => {
2039
+ O ? a.value = !0 : _e.debounce(() => {
2009
2040
  a.value = !1;
2010
2041
  }, 200);
2011
- }), At(() => {
2012
- O.value && (E.value ? L() : re());
2013
- }), At(() => {
2014
- N.value && xn(n, q);
2015
- }), (H, j) => (v(), m("div", {
2042
+ }), wt(() => {
2043
+ M.value && (k.value ? z() : re());
2044
+ }), wt(() => {
2045
+ j.value && Rn(n, q);
2046
+ }), (O, D) => (v(), h("div", {
2016
2047
  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;
2048
+ style: lo(b(oe)),
2049
+ onMouseleave: D[2] || (D[2] = (H) => t.hover && q()),
2050
+ ref: (H, ae) => {
2051
+ ae.popperContainerNode = H, n.value = H;
2021
2052
  }
2022
2053
  }, [i("div", {
2023
- ref: (M, ae) => {
2024
- ae.triggerNode = M, l.value = M;
2054
+ ref: (H, ae) => {
2055
+ ae.triggerNode = H, l.value = H;
2025
2056
  },
2026
- onMouseover: j[0] || (j[0] = (M) => t.hover && ne()),
2057
+ onMouseover: D[0] || (D[0] = (H) => t.hover && ne()),
2027
2058
  onClick: se,
2028
2059
  onFocus: ne,
2029
- onKeyup: ro(q, ["esc"])
2030
- }, [tt(H.$slots, "default")], 40, Is), A(zt, {
2060
+ onKeyup: ao(q, ["esc"])
2061
+ }, [tt(O.$slots, "default")], 40, Ds), I(Lt, {
2031
2062
  name: "fade"
2032
2063
  }, {
2033
- default: T(() => [fe(i("div", {
2034
- onClick: j[1] || (j[1] = (M) => !y(f) && q()),
2064
+ default: Q(() => [fe(i("div", {
2065
+ onClick: D[1] || (D[1] = (H) => !b(f) && q()),
2035
2066
  class: "popper",
2036
- ref: (M, ae) => {
2037
- ae.popperNode = M, s.value = M;
2067
+ ref: (H, ae) => {
2068
+ ae.popperNode = H, s.value = H;
2038
2069
  }
2039
- }, [tt(H.$slots, "content", {
2040
- close: y(G),
2070
+ }, [tt(O.$slots, "content", {
2071
+ close: b(Y),
2041
2072
  isOpen: a.value
2042
- }, () => [_(P(y(c)), 1)]), t.arrow ? (v(), me(Ss, {
2073
+ }, () => [_(P(b(u)), 1)]), t.arrow ? (v(), Ae(Os, {
2043
2074
  key: 0
2044
- })) : S("", !0)], 512), [[no, y(D)]])]),
2075
+ })) : C("", !0)], 512), [[io, b(N)]])]),
2045
2076
  _: 3
2046
2077
  })], 36));
2047
2078
  }
2048
- }, Ps = `
2079
+ }, Ts = `
2049
2080
  .inline-block[data-v-5784ed69] {
2050
2081
  display: inline-block;
2051
2082
  }
@@ -2077,256 +2108,256 @@ var Bt = {
2077
2108
  opacity: 0;
2078
2109
  }
2079
2110
  `;
2080
- Ut(Ps);
2081
- Bt.__scopeId = "data-v-5784ed69";
2111
+ Jt(Ts);
2112
+ _t.__scopeId = "data-v-5784ed69";
2082
2113
  var Ne = /* @__PURE__ */ (() => {
2083
- const t = Bt;
2114
+ const t = _t;
2084
2115
  return t.install = (e) => {
2085
2116
  e.component("Popper", t);
2086
2117
  }, t;
2087
2118
  })();
2088
- const zs = {
2119
+ const Ns = {
2089
2120
  key: 0,
2090
2121
  class: "flex gap-2 items-stretch flex-wrap mt-2"
2091
- }, Os = ["onClick"], Ls = {
2122
+ }, js = ["onClick"], Qs = {
2092
2123
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2093
2124
  role: "none"
2094
- }, Ms = ["onClick"], Hs = {
2125
+ }, Fs = ["onClick"], qs = {
2095
2126
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2096
2127
  role: "none"
2097
- }, js = ["onClick"], Ds = {
2128
+ }, Zs = ["onClick"], Vs = {
2098
2129
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2099
2130
  role: "none"
2100
- }, Ns = ["onClick"], Ts = {
2131
+ }, Ks = ["onClick"], Xs = {
2101
2132
  class: "bg-white w-56 rounded-md max-h-60 overflow-auto",
2102
2133
  role: "none"
2103
- }, Fs = ["onClick"], qs = { key: 1 }, Vs = /* @__PURE__ */ i("img", {
2134
+ }, Us = ["onClick"], Bs = { key: 1 }, Ws = /* @__PURE__ */ i("img", {
2104
2135
  class: "w-12 h-12 block loadercss",
2105
2136
  src: Ze,
2106
2137
  alt: "Loader Gif"
2107
- }, null, -1), Zs = [
2108
- Vs
2109
- ], Ks = /* @__PURE__ */ te({
2138
+ }, null, -1), Js = [
2139
+ Ws
2140
+ ], _s = /* @__PURE__ */ te({
2110
2141
  __name: "SkillOptions",
2111
2142
  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;
2143
+ const e = le(), o = Ie(), r = w(!0), n = w(!1), s = w(!1), l = w(!1), a = w(!1), c = async (A) => {
2144
+ var u, m;
2114
2145
  try {
2115
2146
  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}`
2147
+ const d = await Ot(
2148
+ `/initialDataV2?skill_id=${A.skill_id}&prof_id=${yo}&skill_master_id=${A.skill_master_id}`
2118
2149
  );
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);
2150
+ e.selectSkill(d.data), e.addPostSkillSelectionMessage(), r.value = !0;
2151
+ } catch (d) {
2152
+ if (console.error(d), Z.isAxiosError(d)) {
2153
+ const f = d;
2154
+ console.error((u = f.response) == null ? void 0 : u.data), o.setError(((m = f.response) == null ? void 0 : m.data).message);
2124
2155
  } else
2125
2156
  o.setError("There was an issue, please contact helpmate");
2126
2157
  }
2127
2158
  };
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", {
2159
+ return (A, u) => {
2160
+ var m, d, f, g;
2161
+ return r.value ? (v(), h("div", Ns, [
2162
+ (v(!0), h(T, null, F(b(e).user_skills, (p) => (v(), h("div", {
2132
2163
  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),
2164
+ onClick: (y) => c(p),
2134
2165
  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), {
2166
+ }, P(p.skill_name), 9, js))), 128)),
2167
+ (m = b(e).industry_skills) != null && m.length ? (v(), Ae(b(Ne), {
2137
2168
  key: 0,
2138
2169
  show: n.value,
2139
2170
  placement: "bottom"
2140
2171
  }, {
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),
2172
+ content: Q(() => [
2173
+ i("div", Qs, [
2174
+ (v(!0), h(T, null, F(b(e).industry_skills, (p) => (v(), h("div", {
2175
+ onClick: (y) => c(p),
2145
2176
  key: p.skill_id,
2146
2177
  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))
2178
+ }, P(p.skill_name), 9, Fs))), 128))
2148
2179
  ])
2149
2180
  ]),
2150
- default: T(() => [
2181
+ default: Q(() => [
2151
2182
  i("button", {
2152
- onClick: c[0] || (c[0] = (p) => n.value = !n.value),
2153
- onFocusout: c[1] || (c[1] = (p) => n.value = !1),
2183
+ onClick: u[0] || (u[0] = (p) => n.value = !n.value),
2184
+ onFocusout: u[1] || (u[1] = (p) => n.value = !1),
2154
2185
  type: "button",
2155
2186
  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
2187
  }, [
2157
2188
  _(" Industry "),
2158
- A(y(He), { class: "w-3 h-3" })
2189
+ I(b(Oe), { class: "w-3 h-3" })
2159
2190
  ], 32)
2160
2191
  ]),
2161
2192
  _: 1
2162
- }, 8, ["show"])) : S("", !0),
2163
- (u = y(e).service_line_skills) != null && u.length ? (v(), me(y(Ne), {
2193
+ }, 8, ["show"])) : C("", !0),
2194
+ (d = b(e).service_line_skills) != null && d.length ? (v(), Ae(b(Ne), {
2164
2195
  key: 1,
2165
2196
  show: s.value,
2166
2197
  placement: "bottom"
2167
2198
  }, {
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),
2199
+ content: Q(() => [
2200
+ i("div", qs, [
2201
+ (v(!0), h(T, null, F(b(e).service_line_skills, (p) => (v(), h("div", {
2202
+ onClick: (y) => c(p),
2172
2203
  key: p.skill_id,
2173
2204
  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))
2205
+ }, P(p.skill_name), 9, Zs))), 128))
2175
2206
  ])
2176
2207
  ]),
2177
- default: T(() => [
2208
+ default: Q(() => [
2178
2209
  i("button", {
2179
- onClick: c[2] || (c[2] = (p) => s.value = !s.value),
2180
- onFocusout: c[3] || (c[3] = (p) => s.value = !1),
2210
+ onClick: u[2] || (u[2] = (p) => s.value = !s.value),
2211
+ onFocusout: u[3] || (u[3] = (p) => s.value = !1),
2181
2212
  type: "button",
2182
2213
  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
2214
  }, [
2184
2215
  _(" Service Line "),
2185
- A(y(He), { class: "w-3 h-3" })
2216
+ I(b(Oe), { class: "w-3 h-3" })
2186
2217
  ], 32)
2187
2218
  ]),
2188
2219
  _: 1
2189
- }, 8, ["show"])) : S("", !0),
2190
- (f = y(e).digital_skills) != null && f.length ? (v(), me(y(Ne), {
2220
+ }, 8, ["show"])) : C("", !0),
2221
+ (f = b(e).digital_skills) != null && f.length ? (v(), Ae(b(Ne), {
2191
2222
  key: 2,
2192
2223
  show: l.value,
2193
2224
  placement: "bottom"
2194
2225
  }, {
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),
2226
+ content: Q(() => [
2227
+ i("div", Vs, [
2228
+ (v(!0), h(T, null, F(b(e).digital_skills, (p) => (v(), h("div", {
2229
+ onClick: (y) => c(p),
2199
2230
  key: p.skill_id,
2200
2231
  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))
2232
+ }, P(p.skill_name), 9, Ks))), 128))
2202
2233
  ])
2203
2234
  ]),
2204
- default: T(() => [
2235
+ default: Q(() => [
2205
2236
  i("button", {
2206
- onClick: c[4] || (c[4] = (p) => l.value = !l.value),
2207
- onFocusout: c[5] || (c[5] = (p) => l.value = !1),
2237
+ onClick: u[4] || (u[4] = (p) => l.value = !l.value),
2238
+ onFocusout: u[5] || (u[5] = (p) => l.value = !1),
2208
2239
  type: "button",
2209
2240
  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
2241
  }, [
2211
2242
  _(" Digital "),
2212
- A(y(He), { class: "w-3 h-3" })
2243
+ I(b(Oe), { class: "w-3 h-3" })
2213
2244
  ], 32)
2214
2245
  ]),
2215
2246
  _: 1
2216
- }, 8, ["show"])) : S("", !0),
2217
- (x = y(e).professional_skills) != null && x.length ? (v(), me(y(Ne), {
2247
+ }, 8, ["show"])) : C("", !0),
2248
+ (g = b(e).professional_skills) != null && g.length ? (v(), Ae(b(Ne), {
2218
2249
  key: 3,
2219
2250
  show: a.value,
2220
2251
  placement: "bottom"
2221
2252
  }, {
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),
2253
+ content: Q(() => [
2254
+ i("div", Xs, [
2255
+ (v(!0), h(T, null, F(b(e).professional_skills, (p) => (v(), h("div", {
2256
+ onClick: (y) => c(p),
2226
2257
  key: p.skill_id,
2227
2258
  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))
2259
+ }, P(p.skill_name), 9, Us))), 128))
2229
2260
  ])
2230
2261
  ]),
2231
- default: T(() => [
2262
+ default: Q(() => [
2232
2263
  i("button", {
2233
- onClick: c[6] || (c[6] = (p) => a.value = !a.value),
2234
- onFocusout: c[7] || (c[7] = (p) => a.value = !1),
2264
+ onClick: u[6] || (u[6] = (p) => a.value = !a.value),
2265
+ onFocusout: u[7] || (u[7] = (p) => a.value = !1),
2235
2266
  type: "button",
2236
2267
  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
2268
  }, [
2238
2269
  _(" Professional "),
2239
- A(y(He), { class: "w-3 h-3" })
2270
+ I(b(Oe), { class: "w-3 h-3" })
2240
2271
  ], 32)
2241
2272
  ]),
2242
2273
  _: 1
2243
- }, 8, ["show"])) : S("", !0)
2244
- ])) : (v(), m("div", qs, Zs));
2274
+ }, 8, ["show"])) : C("", !0)
2275
+ ])) : (v(), h("div", Bs, Js));
2245
2276
  };
2246
2277
  }
2247
- }), Qs = {
2278
+ }), $s = {
2248
2279
  key: 0,
2249
2280
  class: "flex gap-2 items-center flex-wrap mt-2"
2250
- }, Xs = ["onClick"], Us = {
2281
+ }, ea = ["onClick"], ta = {
2251
2282
  key: 1,
2252
2283
  class: "flex gap-2 items-center flex-wrap"
2253
- }, Bs = ["onClick"], Ws = { key: 1 }, Js = /* @__PURE__ */ i("img", {
2284
+ }, oa = ["onClick"], ra = { key: 1 }, na = /* @__PURE__ */ i("img", {
2254
2285
  class: "w-12 h-12 block loadercss",
2255
2286
  src: Ze,
2256
2287
  alt: "Loader Gif"
2257
- }, null, -1), _s = [
2258
- Js
2259
- ], $s = /* @__PURE__ */ te({
2288
+ }, null, -1), sa = [
2289
+ na
2290
+ ], aa = /* @__PURE__ */ te({
2260
2291
  __name: "PostSkillUseCases",
2261
2292
  setup(t) {
2262
- const e = le(), o = k(!0), r = k(!1), n = async (s) => {
2293
+ const e = le(), o = w(!0), r = w(!1), n = async (s) => {
2263
2294
  if (o.value = !1, !s.isParent) {
2264
2295
  console.log(s.example), e.addConversation({ question: s.useCaseName, answer: s.example }, "faq"), o.value = !0;
2265
2296
  return;
2266
2297
  }
2267
2298
  await e.generateUseCases(s.useCaseId), e.addConversation({ question: s.useCaseName, answer: null }, "faq"), o.value = !0;
2268
2299
  };
2269
- return (s, l) => o.value ? (v(), m("div", Qs, [
2270
- (v(!0), m(F, null, V(y(e).postSkillUseCases, (a) => (v(), m("div", {
2300
+ return (s, l) => o.value ? (v(), h("div", $s, [
2301
+ (v(!0), h(T, null, F(b(e).postSkillUseCases, (a) => (v(), h("div", {
2271
2302
  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),
2303
+ onClick: (c) => n(a),
2273
2304
  key: a.useCaseId
2274
- }, P(a.useCaseName), 9, Xs))), 128)),
2275
- y(e).otherUseCases.length > 0 && !r.value ? (v(), m("button", {
2305
+ }, P(a.useCaseName), 9, ea))), 128)),
2306
+ b(e).otherUseCases.length > 0 && !r.value ? (v(), h("button", {
2276
2307
  key: 0,
2277
2308
  class: "md:text-[14px] text-sm hover:bg-genpact-blue-box bg-genpact-darkest-teal text-white cursor-pointer rounded-md p-2",
2278
2309
  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", {
2310
+ }, " Others ")) : C("", !0),
2311
+ r.value ? (v(), h("div", ta, [
2312
+ (v(!0), h(T, null, F(b(e).otherUseCases, (a) => (v(), h("div", {
2282
2313
  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),
2314
+ onClick: (c) => n(a),
2284
2315
  key: a.useCaseId
2285
- }, P(a.useCaseName), 9, Bs))), 128))
2286
- ])) : S("", !0)
2287
- ])) : (v(), m("div", Ws, _s));
2316
+ }, P(a.useCaseName), 9, oa))), 128))
2317
+ ])) : C("", !0)
2318
+ ])) : (v(), h("div", ra, sa));
2288
2319
  }
2289
- }), ea = { key: 0 }, ta = { key: 1 }, oa = { key: 0 }, ra = { key: 1 }, na = /* @__PURE__ */ te({
2320
+ }), ia = { key: 0 }, la = { key: 1 }, ca = { key: 0 }, da = { key: 1 }, ua = /* @__PURE__ */ te({
2290
2321
  __name: "Conversation",
2291
2322
  setup(t) {
2292
- let e = k(""), o = k("");
2323
+ let e = w(""), o = w("");
2293
2324
  e = '<a style="color:#00AECF;"', o = '<ul style="list-style-type:square; padding-left:20px;"';
2294
- const r = le(), n = k();
2295
- return co(() => {
2325
+ const r = le(), n = w();
2326
+ return fo(() => {
2296
2327
  n.value.scrollTo(0, n.value.scrollHeight);
2297
- }), (s, l) => (v(), m("div", {
2328
+ }), (s, l) => (v(), h("div", {
2298
2329
  ref_key: "nestedElement",
2299
2330
  ref: n,
2300
2331
  class: "smooth-scroll overflow-auto md:p-8 p-3 pb-[80px]"
2301
2332
  }, [
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, {
2333
+ I(xn),
2334
+ (v(!0), h(T, null, F(b(r).conversations, (a, c) => (v(), h("div", { key: c }, [
2335
+ a.question ? (v(), h("div", ia, [
2336
+ I(En, {
2306
2337
  question: a.question,
2307
2338
  "show-feedback": a.showFeedback
2308
2339
  }, null, 8, ["question", "show-feedback"])
2309
- ])) : S("", !0),
2310
- a.answer ? (v(), m("div", ta, [
2311
- A(cn, {
2340
+ ])) : C("", !0),
2341
+ a.answer ? (v(), h("div", la, [
2342
+ I(An, {
2312
2343
  question: a.question,
2313
2344
  "show-sources": a.showSources,
2314
2345
  questionId: a.id,
2315
- answer: a.answer.replaceAll("<a", y(e)).replaceAll("<ul", y(o)),
2346
+ answer: a.answer.replaceAll("<a", b(e)).replaceAll("<ul", b(o)),
2316
2347
  "show-feedback": a.showFeedback
2317
2348
  }, null, 8, ["question", "show-sources", "questionId", "answer", "show-feedback"])
2318
- ])) : S("", !0)
2349
+ ])) : C("", !0)
2319
2350
  ]))), 128)),
2320
- y(r).skill_id ? S("", !0) : (v(), m("div", oa, [
2321
- A(Ks)
2351
+ b(r).skill_id ? C("", !0) : (v(), h("div", ca, [
2352
+ I(_s)
2322
2353
  ])),
2323
- y(r).showPostSkillUseCases ? (v(), m("div", ra, [
2324
- A($s)
2325
- ])) : S("", !0)
2354
+ b(r).showPostSkillUseCases ? (v(), h("div", da, [
2355
+ I(aa)
2356
+ ])) : C("", !0)
2326
2357
  ], 512));
2327
2358
  }
2328
2359
  });
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, [
2360
+ const ce = (t) => (Mt("data-v-ed61c2a4"), t = t(), zt(), 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
2361
  /* @__PURE__ */ _(" If you have any inquiries, we kindly encourage you to consult Genpact's "),
2331
2362
  /* @__PURE__ */ i("a", {
2332
2363
  class: "underline text-blue-500",
@@ -2339,115 +2370,115 @@ const ce = (t) => (po("data-v-ed61c2a4"), t = t(), fo(), t), sa = { class: "max-
2339
2370
  target: "_blank",
2340
2371
  href: "https://dcl.genpact.com/document/9fba671f-08c2-48bf-89d6-a591971bd16c"
2341
2372
  }, "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", {
2373
+ ], -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
2374
  htmlFor: "check",
2344
2375
  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 = {
2376
+ }, " 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
2377
  key: 0,
2347
2378
  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({
2379
+ }, 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
2380
  __name: "HomeView",
2350
2381
  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 = {
2382
+ const e = w(!0), o = w(!1), r = le(), n = Ie(), s = Pt(), l = w(!1), a = w(""), c = async () => {
2383
+ const u = {
2353
2384
  event_type: at.CONSENT
2354
2385
  };
2355
- o.value = !1, s.close(), await Ie("/generateEvent", c);
2356
- }, h = async () => {
2357
- var c, b, u, f, x;
2386
+ o.value = !1, s.close(), await ge("/generateEvent", u);
2387
+ }, A = async () => {
2388
+ var u, m, d, f, g;
2358
2389
  try {
2359
2390
  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;
2391
+ const p = await Ot("/getLearnerData");
2392
+ ((u = p.data) == null ? void 0 : u.maintenance) && vo.replace({ path: "/under-maintenance" }), s.open(), r.initialize(p.data), e.value = !0;
2362
2393
  } 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;
2394
+ if (console.error(p), e.value = !0, Z.isAxiosError(p)) {
2395
+ const y = p;
2396
+ if (console.error((m = y.response) == null ? void 0 : m.data), ((d = y.response) == null ? void 0 : d.status) === 422) {
2397
+ l.value = !0, a.value = ((f = y.response) == null ? void 0 : f.data).message;
2367
2398
  return;
2368
2399
  }
2369
- n.setError(((x = g.response) == null ? void 0 : x.data).message);
2400
+ n.setError(((g = y.response) == null ? void 0 : g.data).message);
2370
2401
  } else
2371
2402
  n.setError("There was an issue, please contact helpmate");
2372
2403
  }
2373
2404
  };
2374
2405
  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)
2406
+ A();
2407
+ }), (u, m) => (v(), h("div", null, [
2408
+ I(qe, { "is-visible": l.value }, {
2409
+ default: Q(() => [
2410
+ i("div", pa, [
2411
+ I(b(je), { class: "w-12 h-12 fill-genpact-blue-box" }),
2412
+ I(Nt, { color: "blue" }),
2413
+ i("h3", fa, P(a.value), 1)
2383
2414
  ])
2384
2415
  ]),
2385
2416
  _: 1
2386
2417
  }, 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())
2418
+ I(qe, {
2419
+ "is-visible": b(s).isOpen,
2420
+ "cross-visible": b(s).crossVisible,
2421
+ onCancel: m[1] || (m[1] = (d) => b(s).close())
2391
2422
  }, {
2392
- default: T(() => [
2393
- i("div", ia, [
2394
- la,
2423
+ default: Q(() => [
2424
+ i("div", va, [
2425
+ ha,
2395
2426
  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
2427
+ i("ul", Aa, [
2428
+ ma,
2429
+ ba,
2430
+ ga,
2431
+ i("li", null, " You can ask a maximum of " + P(b(r).questionLimit) + " questions, with each question limited to 300 characters or less. ", 1),
2432
+ ya,
2433
+ xa,
2434
+ wa
2404
2435
  ])
2405
2436
  ]),
2406
- y(s).crossVisible ? S("", !0) : (v(), m("div", ma, [
2407
- i("div", ba, [
2437
+ b(s).crossVisible ? C("", !0) : (v(), h("div", Ia, [
2438
+ i("div", ka, [
2408
2439
  i("input", {
2409
2440
  type: "checkbox",
2410
2441
  id: "check",
2411
2442
  className: "mr-3",
2412
- onClick: b[0] || (b[0] = (u) => o.value = !o.value)
2443
+ onClick: m[0] || (m[0] = (d) => o.value = !o.value)
2413
2444
  }),
2414
- ya
2445
+ Ea
2415
2446
  ]),
2416
- i("div", ga, [
2447
+ i("div", Ca, [
2417
2448
  i("button", {
2418
2449
  disabled: !o.value,
2419
2450
  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)
2451
+ onClick: c
2452
+ }, " Proceed ", 8, Ra)
2422
2453
  ])
2423
2454
  ]))
2424
2455
  ])
2425
2456
  ]),
2426
2457
  _: 1
2427
2458
  }, 8, ["is-visible", "cross-visible"]),
2428
- e.value ? (v(), m("main", wa, [
2429
- i("div", Aa, [
2430
- A(dr)
2459
+ e.value ? (v(), h("main", Ya, [
2460
+ i("div", Ga, [
2461
+ I(dr)
2431
2462
  ]),
2432
- i("div", ka, [
2433
- i("div", Ea, [
2434
- A(Ht)
2463
+ i("div", Sa, [
2464
+ i("div", Pa, [
2465
+ I(Tt)
2435
2466
  ]),
2436
- i("div", Ra, [
2437
- i("div", Ya, [
2438
- A(na),
2439
- Ga
2467
+ i("div", La, [
2468
+ i("div", Ma, [
2469
+ I(ua),
2470
+ za
2440
2471
  ]),
2441
- i("div", Ca, [
2442
- A(zr)
2472
+ i("div", Ha, [
2473
+ I(Lr)
2443
2474
  ])
2444
2475
  ])
2445
2476
  ])
2446
- ])) : (v(), me(br, { key: 1 }))
2477
+ ])) : (v(), Ae(mr, { key: 1 }))
2447
2478
  ]));
2448
2479
  }
2449
2480
  });
2450
- const Oa = /* @__PURE__ */ st(Sa, [["__scopeId", "data-v-ed61c2a4"]]);
2481
+ const ja = /* @__PURE__ */ st(Oa, [["__scopeId", "data-v-ed61c2a4"]]);
2451
2482
  export {
2452
- Oa as default
2483
+ ja as default
2453
2484
  };