@aitronos/freddy-plugins 0.4.62 → 0.4.63

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.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- var je = Object.defineProperty;
2
- var Ue = (y, m, s) => m in y ? je(y, m, { enumerable: !0, configurable: !0, writable: !0, value: s }) : y[m] = s;
3
- var ye = (y, m, s) => Ue(y, typeof m != "symbol" ? m + "" : m, s);
4
- import { defineAsyncComponent as R, defineComponent as N, createElementBlock as f, openBlock as c, normalizeStyle as oe, normalizeClass as F, createStaticVNode as Ke, createBlock as E, Transition as le, withCtx as Z, createCommentVNode as S, createElementVNode as a, renderSlot as q, toDisplayString as B, createVNode as L, unref as A, ref as D, computed as M, Fragment as O, renderList as U, resolveDynamicComponent as K, watch as G, withKeys as z, withModifiers as j, withDirectives as Q, vModelText as Y, createTextVNode as J, onMounted as me, nextTick as te, shallowRef as Ge, mergeProps as se, vModelDynamic as Ze, onUnmounted as Fe, useAttrs as qe } from "vue";
5
- import { I as We, _ as H, a as pe, b as Je, c as Be, d as he, e as ee, f as Qe, g as Se, h as Ye, i as Xe, j as ce, k as et, l as tt, m as ot, n as nt, o as fe, p as st, q as ae, r as it, s as at, u as ne, t as lt, v as ct, w as rt, x as dt, y as ut, z as pt, A as Te, B as ht, C as $e, D as ft, E as mt, F as vt, G as yt, H as gt, J as It, K as bt, L as kt, M as Me, N as _t, O as Le, P as Ve, Q as Ct, R as wt, S as St, T as xe, U as Tt } from "./icons-GUqeJvd4.js";
6
- import { V as Pc, W as Ac, X as Dc, Y as Fc, Z as Bc, $ as Mc, a0 as Lc, a1 as Vc, a2 as Ec, a3 as Nc, a4 as Rc, a5 as Oc, a6 as zc, a7 as Hc, a8 as jc, a9 as Uc, aa as Kc, ab as Gc, ac as Zc, ad as qc, ae as Wc, af as Jc, ag as Qc, ah as Yc, ai as Xc, aj as er, ak as tr, al as or, am as nr, an as sr, ao as ir, ap as ar, aq as lr, ar as cr, as as rr, at as dr, au as ur, av as pr, aw as hr, ax as fr, ay as mr, az as vr, aA as yr, aB as gr, aC as Ir, aD as br, aE as kr, aF as _r, aG as Cr, aH as wr, aI as Sr, aJ as Tr, aK as $r, aL as xr, aM as Pr, aN as Ar, aO as Dr, aP as Fr, aQ as Br, aR as Mr, aS as Lr, aT as Vr, aU as Er, aV as Nr, aW as Rr, aX as Or, aY as zr, aZ as Hr, a_ as jr, a$ as Ur, b0 as Kr, b1 as Gr, b2 as Zr, b3 as qr, b4 as Wr, b5 as Jr, b6 as Qr, b7 as Yr, b8 as Xr, b9 as ed, ba as td, bb as od, bc as nd, bd as sd, be as id, bf as ad, bg as ld, bh as cd, bi as rd, bj as dd, bk as ud, bl as pd, bm as hd, bn as fd, bo as md, bp as vd, bq as yd, br as gd, bs as Id, bt as bd, bu as kd, bv as _d, bw as Cd, bx as wd, by as Sd, bz as Td, bA as $d, bB as xd, bC as Pd, bD as Ad, bE as Dd, c3 as Fd, bI as Bd, b$ as Md, bW as Ld, bQ as Vd, bZ as Ed, b_ as Nd, bH as Rd, c1 as Od, bX as zd, bK as Hd, bO as jd, bM as Ud, bP as Kd, bL as Gd, bR as Zd, bT as qd, bJ as Wd, bY as Jd, c0 as Qd, bS as Yd, c4 as Xd, bG as eu, bF as tu, c2 as ou, bN as nu, bV as su, bU as iu } from "./icons-GUqeJvd4.js";
7
- const Ee = {
1
+ var ze = Object.defineProperty;
2
+ var He = (y, m, s) => m in y ? ze(y, m, { enumerable: !0, configurable: !0, writable: !0, value: s }) : y[m] = s;
3
+ var ye = (y, m, s) => He(y, typeof m != "symbol" ? m + "" : m, s);
4
+ import { defineAsyncComponent as R, defineComponent as N, createElementBlock as f, openBlock as c, normalizeStyle as oe, normalizeClass as F, createStaticVNode as Ue, createBlock as E, Transition as le, withCtx as Z, createCommentVNode as w, createElementVNode as a, renderSlot as q, toDisplayString as B, createVNode as L, unref as D, ref as A, computed as M, Fragment as O, renderList as j, resolveDynamicComponent as K, watch as G, withKeys as z, withModifiers as U, withDirectives as Q, vModelText as Y, createTextVNode as J, onMounted as me, nextTick as te, shallowRef as je, mergeProps as se, vModelDynamic as Ke, onUnmounted as De, useAttrs as Ge } from "vue";
5
+ import { I as Ze, _ as H, a as pe, b as qe, c as We, d as he, e as ee, f as Je, g as Qe, h as Ye, i as Xe, j as ce, k as et, l as tt, m as ot, n as nt, o as fe, p as st, q as ae, r as it, s as at, u as ne, t as lt, v as ct, w as rt, x as dt, y as ut, z as pt, A as Se, B as ht, C as Te, D as ft, E as mt, F as vt, G as yt, H as gt, J as It, K as bt, L as kt, M as Fe, N as _t, O as Be, P as Me, Q as Ct, R as wt, S as St, T as $e, U as Tt } from "./icons-GUqeJvd4.js";
6
+ import { V as Ac, W as Dc, X as Fc, Y as Bc, Z as Mc, $ as Lc, a0 as Vc, a1 as Ec, a2 as Nc, a3 as Rc, a4 as Oc, a5 as zc, a6 as Hc, a7 as Uc, a8 as jc, a9 as Kc, aa as Gc, ab as Zc, ac as qc, ad as Wc, ae as Jc, af as Qc, ag as Yc, ah as Xc, ai as er, aj as tr, ak as or, al as nr, am as sr, an as ir, ao as ar, ap as lr, aq as cr, ar as rr, as as dr, at as ur, au as pr, av as hr, aw as fr, ax as mr, ay as vr, az as yr, aA as gr, aB as Ir, aC as br, aD as kr, aE as _r, aF as Cr, aG as wr, aH as Sr, aI as Tr, aJ as $r, aK as xr, aL as Pr, aM as Ar, aN as Dr, aO as Fr, aP as Br, aQ as Mr, aR as Lr, aS as Vr, aT as Er, aU as Nr, aV as Rr, aW as Or, aX as zr, aY as Hr, aZ as Ur, a_ as jr, a$ as Kr, b0 as Gr, b1 as Zr, b2 as qr, b3 as Wr, b4 as Jr, b5 as Qr, b6 as Yr, b7 as Xr, b8 as ed, b9 as td, ba as od, bb as nd, bc as sd, bd as id, be as ad, bf as ld, bg as cd, bh as rd, bi as dd, bj as ud, bk as pd, bl as hd, bm as fd, bn as md, bo as vd, bp as yd, bq as gd, br as Id, bs as bd, bt as kd, bu as _d, bv as Cd, bw as wd, bx as Sd, by as Td, bz as $d, bA as xd, bB as Pd, bC as Ad, bD as Dd, bE as Fd, c3 as Bd, bI as Md, b$ as Ld, bW as Vd, bQ as Ed, bZ as Nd, b_ as Rd, bH as Od, c1 as zd, bX as Hd, bK as Ud, bO as jd, bM as Kd, bP as Gd, bL as Zd, bR as qd, bT as Wd, bJ as Jd, bY as Qd, c0 as Yd, bS as Xd, c4 as eu, bG as tu, bF as ou, c2 as nu, bN as su, bV as iu, bU as au } from "./icons-GUqeJvd4.js";
7
+ const Le = {
8
8
  mounted(y) {
9
9
  y.getAttribute("class") || y.setAttribute("class", "base-fallback-style");
10
10
  }
@@ -63,9 +63,9 @@ const xt = [
63
63
  "id",
64
64
  "colspan",
65
65
  "rowspan"
66
- ], Pe = (y) => y.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi, "").replace(/on\w+="[^"]*"/gi, "").replace(/javascript:/gi, ""), Ae = (y) => {
66
+ ], xe = (y) => y.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi, "").replace(/on\w+="[^"]*"/gi, "").replace(/javascript:/gi, ""), Pe = (y) => {
67
67
  if (!ge)
68
- return Pe(y);
68
+ return xe(y);
69
69
  try {
70
70
  return ge.sanitize(y, {
71
71
  ALLOWED_TAGS: xt,
@@ -73,19 +73,19 @@ const xt = [
73
73
  USE_PROFILES: { html: !0 }
74
74
  });
75
75
  } catch {
76
- return Pe(y);
76
+ return xe(y);
77
77
  }
78
- }, Ne = {
78
+ }, Ve = {
79
79
  mounted(y, m) {
80
- y.innerHTML = Ae(m.value || "");
80
+ y.innerHTML = Pe(m.value || "");
81
81
  },
82
82
  updated(y, m) {
83
- y.innerHTML = Ae(m.value || "");
83
+ y.innerHTML = Pe(m.value || "");
84
84
  }
85
- }, Kl = {
85
+ }, Gl = {
86
86
  install(y) {
87
87
  var m;
88
- y.directive("icon-style", Ee), y.directive("fr-sanitize", Ne);
88
+ y.directive("icon-style", Le), y.directive("fr-sanitize", Ve);
89
89
  try {
90
90
  const s = /* @__PURE__ */ Object.assign({
91
91
  "./icons/IconAddChatPop.vue": () => import("./icons-GUqeJvd4.js").then((e) => e.c5),
@@ -256,15 +256,15 @@ const xt = [
256
256
  typeof process < "u" && process.env.NODE_ENV;
257
257
  }
258
258
  }
259
- }, Gl = {
259
+ }, Zl = {
260
260
  install(y) {
261
- y.directive("fr-sanitize", Ne);
261
+ y.directive("fr-sanitize", Ve);
262
262
  }
263
- }, Zl = {
263
+ }, ql = {
264
264
  install(y) {
265
- y.directive("icon-style", Ee);
265
+ y.directive("icon-style", Le);
266
266
  }
267
- }, ql = /* @__PURE__ */ N({
267
+ }, Wl = /* @__PURE__ */ N({
268
268
  __name: "AnimeSpaceman",
269
269
  props: {
270
270
  customClass: {},
@@ -279,7 +279,7 @@ const xt = [
279
279
  class: F(["spaceman-logo", m.customClass]),
280
280
  style: oe(m.customStyle)
281
281
  }, [...s[0] || (s[0] = [
282
- Ke(`<g><defs><clipPath id="GlassClip"><path d="M380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5
282
+ Ue(`<g><defs><clipPath id="GlassClip"><path d="M380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5
283
283
  s-28.485-16.599-34.877-24.192c-3.101-3.684-4.177-8.66-2.93-13.311l7.453-27.798c0.756-2.82,3.181-4.868,6.088-5.13
284
284
  c6.755-0.61,20.546-0.608,41.785,5.087s33.181,12.591,38.725,16.498c2.387,1.682,3.461,4.668,2.705,7.488L380.857,346.164z"></path></clipPath><clipPath id="cordClip"><rect width="800" height="600"></rect></clipPath></defs><g id="planet"><circle fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="572.859" cy="108.803" r="90.788"></circle><circle id="craterBig" fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="548.891" cy="62.319" r="13.074"></circle><circle id="craterSmall" fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="591.743" cy="158.918" r="7.989"></circle><path id="ring" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-miterlimit="10" d="
285
285
  M476.562,101.461c-30.404,2.164-49.691,4.221-49.691,8.007c0,6.853,63.166,12.408,141.085,12.408s141.085-5.555,141.085-12.408
@@ -318,7 +318,7 @@ const xt = [
318
318
  }), At = {
319
319
  key: 0,
320
320
  class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
321
- }, Dt = { class: "flex justify-center items-center" }, Ft = { class: "modal-header" }, Bt = { class: "modal-body" }, Mt = { class: "modal-footer" }, Wl = /* @__PURE__ */ N({
321
+ }, Dt = { class: "flex justify-center items-center" }, Ft = { class: "modal-header" }, Bt = { class: "modal-body" }, Mt = { class: "modal-footer" }, Jl = /* @__PURE__ */ N({
322
322
  __name: "AdvancedModal",
323
323
  props: {
324
324
  isVisible: { type: Boolean },
@@ -345,7 +345,7 @@ const xt = [
345
345
  ])
346
346
  ], 2)
347
347
  ])
348
- ])) : S("", !0)
348
+ ])) : w("", !0)
349
349
  ]),
350
350
  _: 3
351
351
  }));
@@ -379,13 +379,13 @@ const xt = [
379
379
  a("div", Rt, [
380
380
  a("div", Ot, B(i.assistantId), 1),
381
381
  i.isDefault ? (c(), f("div", zt, [
382
- L(A(We), { class: "freddy-assistant-field__lock-icon" })
383
- ])) : S("", !0)
382
+ L(D(Ze), { class: "freddy-assistant-field__lock-icon" })
383
+ ])) : w("", !0)
384
384
  ])
385
385
  ])
386
386
  ], 2));
387
387
  }
388
- }), jt = /* @__PURE__ */ H(Ht, [["__scopeId", "data-v-482ea9be"]]), Ut = { class: "freddy-assistant-list" }, Kt = { class: "freddy-assistant-list__container" }, Gt = /* @__PURE__ */ N({
388
+ }), Ut = /* @__PURE__ */ H(Ht, [["__scopeId", "data-v-482ea9be"]]), jt = { class: "freddy-assistant-list" }, Kt = { class: "freddy-assistant-list__container" }, Gt = /* @__PURE__ */ N({
389
389
  __name: "AssistantList",
390
390
  props: {
391
391
  assistants: { default: () => [] },
@@ -393,7 +393,7 @@ const xt = [
393
393
  },
394
394
  emits: ["assistantClick"],
395
395
  setup(y, { emit: m }) {
396
- const s = y, e = m, i = D(s.selectedAssistantId), l = M(() => {
396
+ const s = y, e = m, i = A(s.selectedAssistantId), l = M(() => {
397
397
  const u = s.selectedAssistantId ?? i.value;
398
398
  return s.assistants.map((d) => ({
399
399
  ...d,
@@ -402,21 +402,21 @@ const xt = [
402
402
  }), r = (u, d) => {
403
403
  i.value = u.assistantId, e("assistantClick", u, d);
404
404
  };
405
- return (u, d) => (c(), f("div", Ut, [
405
+ return (u, d) => (c(), f("div", jt, [
406
406
  a("div", Kt, [
407
- (c(!0), f(O, null, U(l.value, (o, g) => (c(), E(A(jt), {
407
+ (c(!0), f(O, null, j(l.value, (o, g) => (c(), E(D(Ut), {
408
408
  key: o.id || g,
409
409
  name: o.name,
410
410
  date: o.date,
411
411
  assistantId: o.assistantId,
412
412
  isDefault: o.isDefault,
413
413
  isSelected: o.isSelected,
414
- onAssistantFieldClick: (k) => r(o, k)
414
+ onAssistantFieldClick: (b) => r(o, b)
415
415
  }, null, 8, ["name", "date", "assistantId", "isDefault", "isSelected", "onAssistantFieldClick"]))), 128))
416
416
  ])
417
417
  ]));
418
418
  }
419
- }), Jl = /* @__PURE__ */ H(Gt, [["__scopeId", "data-v-37cf8653"]]), be = (y, m, s) => {
419
+ }), Ql = /* @__PURE__ */ H(Gt, [["__scopeId", "data-v-37cf8653"]]), be = (y, m, s) => {
420
420
  const e = y[m];
421
421
  return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((i, l) => {
422
422
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -437,7 +437,7 @@ const xt = [
437
437
  }, Qt = {
438
438
  key: 2,
439
439
  class: "freddy-assistants-header__side-icon"
440
- }, Yt = { class: "freddy-assistants-header__content" }, Xt = { class: "freddy-assistants-header__content-inner" }, eo = { class: "freddy-assistants-header__text-content" }, to = { class: "freddy-assistants-header__id-badge" }, oo = { class: "freddy-assistants-header__actions" }, Ql = /* @__PURE__ */ N({
440
+ }, Yt = { class: "freddy-assistants-header__content" }, Xt = { class: "freddy-assistants-header__content-inner" }, eo = { class: "freddy-assistants-header__text-content" }, to = { class: "freddy-assistants-header__id-badge" }, oo = { class: "freddy-assistants-header__actions" }, Yl = /* @__PURE__ */ N({
441
441
  __name: "AssistantsHeader",
442
442
  props: {
443
443
  assistantImage: { default: void 0 },
@@ -452,7 +452,7 @@ const xt = [
452
452
  e("playground", d);
453
453
  }, r = (d) => d ? R(
454
454
  () => be(/* @__PURE__ */ Object.assign({ "../../icons/IconAddChatPop.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c5), "../../icons/IconAddFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c6), "../../icons/IconAddPeople.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c7), "../../icons/IconAitronos.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c8), "../../icons/IconApple.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c9), "../../icons/IconApplePay.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ca), "../../icons/IconAppsGrid.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cb), "../../icons/IconArrowDown.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cc), "../../icons/IconArrowLeft.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cd), "../../icons/IconArrowUp.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ce), "../../icons/IconBadgeCheck.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cf), "../../icons/IconBroom.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cg), "../../icons/IconBuildings.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ch), "../../icons/IconCalendarWithTickInside.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ci), "../../icons/IconCallNotAllowed.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cj), "../../icons/IconCardPay.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ck), "../../icons/IconCaution.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cl), "../../icons/IconChangeLog.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cm), "../../icons/IconCheckCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cn), "../../icons/IconCheckInCircle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.co), "../../icons/IconCheckRounded.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cp), "../../icons/IconChevronDown.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cq), "../../icons/IconChevronLeft.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cr), "../../icons/IconChevronRight.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cs), "../../icons/IconChevronUp.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ct), "../../icons/IconCircledCheck.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cu), "../../icons/IconClock.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cv), "../../icons/IconClosedEnvelope.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cw), "../../icons/IconCloudUpload.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cx), "../../icons/IconConnectorConfluence.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cy), "../../icons/IconConnectorFigma.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cz), "../../icons/IconConnectorFreshDesk.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cA), "../../icons/IconConnectorGitHub.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cB), "../../icons/IconConnectorJira.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cC), "../../icons/IconConnectorLinear.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cD), "../../icons/IconConnectorNotion.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cE), "../../icons/IconConnectorSlack.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cF), "../../icons/IconConnectorZapier.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cG), "../../icons/IconCopy.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cH), "../../icons/IconCross.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cI), "../../icons/IconCrossCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cJ), "../../icons/IconCrossInCircle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cK), "../../icons/IconCurrentTick.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cL), "../../icons/IconDataUpload.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cM), "../../icons/IconDelete.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cN), "../../icons/IconDeleteFillRed.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cO), "../../icons/IconDialingPhone.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cP), "../../icons/IconDisabledAlert.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cQ), "../../icons/IconDocumentation.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cR), "../../icons/IconDownload.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cS), "../../icons/IconDribbble.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cT), "../../icons/IconDropdownArrow.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cU), "../../icons/IconEdit.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cV), "../../icons/IconEditLinePath.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cW), "../../icons/IconEllipse.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cX), "../../icons/IconExcelThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cY), "../../icons/IconExpand.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.cZ), "../../icons/IconEye.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c_), "../../icons/IconFacebook.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.c$), "../../icons/IconFigma.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d0), "../../icons/IconFile.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d1), "../../icons/IconFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d2), "../../icons/IconFileUpload.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d3), "../../icons/IconFilter.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d4), "../../icons/IconFolder.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d5), "../../icons/IconFreddyHub.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d6), "../../icons/IconFreddyHubLogo.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d7), "../../icons/IconFreddyHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d8), "../../icons/IconFreddyHubTitle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d9), "../../icons/IconFreddySmall.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.da), "../../icons/IconGlobExpand.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.db), "../../icons/IconGlobe.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dc), "../../icons/IconGoogle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dd), "../../icons/IconHollowCircle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.de), "../../icons/IconHome.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.df), "../../icons/IconInfoRounded.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dg), "../../icons/IconInvalidInvoice.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dh), "../../icons/IconInvoice.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.di), "../../icons/IconInvoiceSwitch.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dj), "../../icons/IconLapTableBottom.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dk), "../../icons/IconLense.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dl), "../../icons/IconLightCross.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dm), "../../icons/IconLink04.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dn), "../../icons/IconLoadingError.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dp), "../../icons/IconLoadingOrg.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dq), "../../icons/IconLocationWithCircleIn.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dr), "../../icons/IconLock.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ds), "../../icons/IconMarketPlace.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dt), "../../icons/IconMaximize.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.du), "../../icons/IconMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dv), "../../icons/IconMutedMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dw), "../../icons/IconNewNotification.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dx), "../../icons/IconNewTab.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dy), "../../icons/IconNotification.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dz), "../../icons/IconOpenBook.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dA), "../../icons/IconPaperAirPlane.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dB), "../../icons/IconPauseCircle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dC), "../../icons/IconPdfThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dD), "../../icons/IconPenEdit.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dE), "../../icons/IconPencil.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dF), "../../icons/IconPeopleHub.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dG), "../../icons/IconPersonCircle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dH), "../../icons/IconPits.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dI), "../../icons/IconPlay.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dJ), "../../icons/IconPlus.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dK), "../../icons/IconPolygonDown.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dL), "../../icons/IconPresentation.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dM), "../../icons/IconProgressBase.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dN), "../../icons/IconProgressComplete.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dO), "../../icons/IconProgressGoing.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dP), "../../icons/IconPurpose.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dQ), "../../icons/IconPurseCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dR), "../../icons/IconQuestion.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dS), "../../icons/IconRadio.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dT), "../../icons/IconRadioFill.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dU), "../../icons/IconRefresh.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dV), "../../icons/IconRevertedTriangle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dW), "../../icons/IconRobotScreen.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dX), "../../icons/IconRoundTick.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dY), "../../icons/IconSearch.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.dZ), "../../icons/IconSearchOptimised.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d_), "../../icons/IconSectionHide.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.d$), "../../icons/IconSend.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e0), "../../icons/IconSettings.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e1), "../../icons/IconSettingsBold.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e2), "../../icons/IconSize.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e3), "../../icons/IconSliderKnobs.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e4), "../../icons/IconSortIdle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e5), "../../icons/IconSparkle.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e6), "../../icons/IconSpotlio.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e7), "../../icons/IconStar.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e8), "../../icons/IconStatistics.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.e9), "../../icons/IconStopChat.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ea), "../../icons/IconStreamLineHub.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.eb), "../../icons/IconStreamLineHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ec), "../../icons/IconSun.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ed), "../../icons/IconSwap.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ee), "../../icons/IconText.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ef), "../../icons/IconTextThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.eg), "../../icons/IconThinDocument.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.eh), "../../icons/IconThinFile.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ei), "../../icons/IconThumbsDown.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ej), "../../icons/IconTick.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ek), "../../icons/IconUser.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.el), "../../icons/IconVerticalDots.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.em), "../../icons/IconVideoCamera.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.en), "../../icons/IconWarningOctal.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.eo), "../../icons/IconX.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.ep), "../../icons/IconZip.vue": () => import("./icons-GUqeJvd4.js").then((o) => o.eq) }), `../../icons/${d}.vue`, 4).catch(() => import("./icons-GUqeJvd4.js").then((o) => o.dX))
455
- ) : Be, u = M(() => r(s.assistantIcon));
455
+ ) : We, u = M(() => r(s.assistantIcon));
456
456
  return (d, o) => (c(), f("div", Zt, [
457
457
  a("div", {
458
458
  class: F(["freddy-assistants-header__avatar-section", {
@@ -470,7 +470,7 @@ const xt = [
470
470
  class: "freddy-assistants-header__edit-overlay",
471
471
  onClick: i
472
472
  }, [
473
- L(A(pe), { class: "freddy-assistants-header__edit-icon" })
473
+ L(D(pe), { class: "freddy-assistants-header__edit-icon" })
474
474
  ])
475
475
  ])) : (c(), f("div", Jt, [
476
476
  (c(), E(K(u.value), { class: "freddy-assistants-header__icon-component" })),
@@ -478,12 +478,12 @@ const xt = [
478
478
  class: "freddy-assistants-header__edit-overlay-icon",
479
479
  onClick: i
480
480
  }, [
481
- L(A(pe), { class: "freddy-assistants-header__edit-icon" })
481
+ L(D(pe), { class: "freddy-assistants-header__edit-icon" })
482
482
  ])
483
483
  ])),
484
484
  d.assistantImage && d.assistantIcon ? (c(), f("div", Qt, [
485
485
  (c(), E(K(u.value), { class: "freddy-assistants-header__side-icon-component" }))
486
- ])) : S("", !0)
486
+ ])) : w("", !0)
487
487
  ], 2),
488
488
  a("div", Yt, [
489
489
  a("div", Xt, [
@@ -497,7 +497,7 @@ const xt = [
497
497
  class: "freddy-assistants-header__playground-button",
498
498
  onClick: l
499
499
  }, [
500
- L(A(Je), { class: "freddy-assistants-header__playground-icon" }),
500
+ L(D(qe), { class: "freddy-assistants-header__playground-icon" }),
501
501
  o[0] || (o[0] = a("span", { class: "freddy-assistants-header__playground-label" }, "Playground", -1))
502
502
  ])
503
503
  ])
@@ -535,10 +535,10 @@ const xt = [
535
535
  alt: i.altText,
536
536
  class: "freddy-avatar-choosing__image"
537
537
  }, null, 8, no),
538
- i.isSelected ? (c(), f("div", so)) : S("", !0),
538
+ i.isSelected ? (c(), f("div", so)) : w("", !0),
539
539
  i.isSelected ? (c(), f("div", io, [
540
540
  L(he, { class: "freddy-avatar-choosing__check-icon-svg" })
541
- ])) : S("", !0)
541
+ ])) : w("", !0)
542
542
  ], 2));
543
543
  }
544
544
  }), lo = { class: "freddy-avatar-list" }, co = {
@@ -547,7 +547,7 @@ const xt = [
547
547
  }, ro = { class: "freddy-avatar-list__grid" }, uo = {
548
548
  key: 1,
549
549
  class: "freddy-avatar-list__selected-info"
550
- }, Yl = /* @__PURE__ */ N({
550
+ }, Xl = /* @__PURE__ */ N({
551
551
  __name: "AvatarList",
552
552
  props: {
553
553
  avatars: {},
@@ -558,7 +558,7 @@ const xt = [
558
558
  },
559
559
  emits: ["selectionChange", "avatarClick"],
560
560
  setup(y, { expose: m, emit: s }) {
561
- const e = y, i = s, l = D(null), r = M(() => e.avatars.find((d) => d.id === l.value) || null), u = (d) => {
561
+ const e = y, i = s, l = A(null), r = M(() => e.avatars.find((d) => d.id === l.value) || null), u = (d) => {
562
562
  l.value === d && e.allowDeselect ? l.value = null : l.value = d, i("selectionChange", l.value), i("avatarClick", d, l.value === d);
563
563
  };
564
564
  return m({
@@ -573,31 +573,35 @@ const xt = [
573
573
  }), (d, o) => {
574
574
  var g;
575
575
  return c(), f("div", lo, [
576
- d.title ? (c(), f("h3", co, B(d.title), 1)) : S("", !0),
576
+ d.title ? (c(), f("h3", co, B(d.title), 1)) : w("", !0),
577
577
  a("div", ro, [
578
- (c(!0), f(O, null, U(d.avatars, (k) => (c(), E(A(ao), {
579
- key: k.id,
580
- imageUrl: k.url,
581
- isSelected: l.value === k.id,
582
- altText: k.name,
583
- onClick: (P) => u(k.id)
578
+ (c(!0), f(O, null, j(d.avatars, (b) => (c(), E(D(ao), {
579
+ key: b.id,
580
+ imageUrl: b.url,
581
+ isSelected: l.value === b.id,
582
+ altText: b.name,
583
+ onClick: ($) => u(b.id)
584
584
  }, null, 8, ["imageUrl", "isSelected", "altText", "onClick"]))), 128))
585
585
  ]),
586
586
  d.showSelectedInfo ? (c(), f("div", uo, [
587
587
  a("p", null, "Selected: " + B(((g = r.value) == null ? void 0 : g.name) || "None"), 1)
588
- ])) : S("", !0)
588
+ ])) : w("", !0)
589
589
  ]);
590
590
  };
591
591
  }
592
- }), po = { class: "freddy-choose-assistant-avatar" }, ho = { class: "freddy-choose-assistant-avatar__header" }, fo = { class: "freddy-choose-assistant-avatar__title-section" }, mo = { class: "freddy-choose-assistant-avatar__title-row" }, vo = { class: "freddy-choose-assistant-avatar__title" }, yo = ["aria-label"], go = { class: "freddy-choose-assistant-avatar__description" }, Io = { class: "freddy-choose-assistant-avatar__content" }, bo = { class: "freddy-choose-assistant-avatar__section" }, ko = { class: "freddy-choose-assistant-avatar__icon-container" }, _o = { class: "freddy-choose-assistant-avatar__icon-search" }, Co = ["aria-label"], wo = { class: "freddy-choose-assistant-avatar__icon-grid" }, So = ["onClick", "title"], To = { class: "freddy-choose-assistant-avatar__icon-wrapper" }, $o = {
592
+ }), po = { class: "freddy-choose-assistant-avatar" }, ho = { class: "freddy-choose-assistant-avatar__header" }, fo = { class: "freddy-choose-assistant-avatar__title-section" }, mo = { class: "freddy-choose-assistant-avatar__title-row" }, vo = { class: "freddy-choose-assistant-avatar__title" }, yo = ["aria-label"], go = { class: "freddy-choose-assistant-avatar__description" }, Io = { class: "freddy-choose-assistant-avatar__content" }, bo = { class: "freddy-choose-assistant-avatar__section" }, ko = { class: "freddy-choose-assistant-avatar__icon-container" }, _o = { class: "freddy-choose-assistant-avatar__icon-search" }, Co = ["aria-label"], wo = { class: "freddy-choose-assistant-avatar__icon-grid" }, So = ["onClick", "title"], To = { class: "freddy-choose-assistant-avatar__icon-wrapper" }, $o = ["src", "alt"], xo = {
593
+ key: 0,
594
+ class: "freddy-choose-assistant-avatar__section"
595
+ }, Po = {
593
596
  key: 1,
594
- class: "freddy-choose-assistant-avatar__icon-placeholder"
595
- }, xo = { class: "freddy-choose-assistant-avatar__section" }, Po = { class: "freddy-choose-assistant-avatar__voice-list" }, Ao = { class: "freddy-choose-assistant-avatar__actions" }, Do = ["disabled"], Xl = /* @__PURE__ */ N({
597
+ class: "freddy-choose-assistant-avatar__section"
598
+ }, Ao = { class: "freddy-choose-assistant-avatar__voice-list" }, Do = { class: "freddy-choose-assistant-avatar__actions" }, Fo = ["disabled"], ec = /* @__PURE__ */ N({
596
599
  __name: "ChooseAssistantAvatar",
597
600
  props: {
598
601
  title: { default: "Choose your assistant" },
599
602
  description: { default: "Choose your assistant's appearance and select a preferred voice." },
600
603
  icons: { default: () => [] },
604
+ imageUrls: { default: () => [] },
601
605
  faces: {},
602
606
  voices: { default: () => [
603
607
  { id: 1, name: "Alloy" },
@@ -617,55 +621,60 @@ const xt = [
617
621
  uploadButtonAriaLabel: { default: "Upload custom icon" },
618
622
  allowMultipleSelection: { type: Boolean, default: !1 }
619
623
  },
620
- emits: ["close", "cancel", "save", "iconSelect", "faceSelect", "voiceSelect", "searchInput", "searchClick", "uploadClick"],
624
+ emits: ["close", "cancel", "save", "iconSelect", "imageSelect", "faceSelect", "voiceSelect", "searchInput", "searchClick", "uploadClick"],
621
625
  setup(y, { expose: m, emit: s }) {
622
626
  const e = y, i = () => {
623
627
  const t = [];
624
628
  let p = 1;
625
- for (const [w, _] of Object.entries(Se))
629
+ for (const [S, _] of Object.entries(Qe))
626
630
  if (typeof _ == "object" && _ && "default" in _) {
627
631
  const n = _.default;
628
632
  t.push({
629
633
  id: p++,
630
- name: w.replace("Icon", ""),
634
+ name: S.replace("Icon", ""),
631
635
  // Remove 'Icon' prefix for display
632
- iconName: w,
636
+ iconName: S,
633
637
  // Store the full icon name
634
638
  component: n
635
639
  // Keep for backward compatibility
636
640
  });
637
641
  }
638
642
  return t;
639
- }, l = M(() => e.icons.length > 0 ? e.icons : i()), r = s, u = D(null), d = D(null), o = D(null), g = D(""), k = M(() => g.value ? l.value.filter(
643
+ }, l = M(() => e.icons.length > 0 ? e.icons : i()), r = s, u = A(null), d = A(null), o = A(null), g = A(null), b = A(null), $ = A("");
644
+ M(() => $.value ? l.value.filter(
640
645
  (p) => {
641
- var w;
642
- return (w = p.name) == null ? void 0 : w.toLowerCase().includes(g.value.toLowerCase());
646
+ var S;
647
+ return (S = p.name) == null ? void 0 : S.toLowerCase().includes($.value.toLowerCase());
643
648
  }
644
- ) : l.value), P = M(() => u.value !== null || d.value !== null || o.value !== null), V = () => {
649
+ ) : l.value);
650
+ const V = M(() => u.value !== null || d.value !== null || g.value !== null || b.value !== null), v = () => {
645
651
  r("close");
646
- }, v = () => {
647
- r("cancel");
648
652
  }, T = () => {
649
- P.value && r("save", {
653
+ r("cancel");
654
+ }, k = () => {
655
+ V.value && r("save", {
650
656
  selectedIconId: u.value,
651
- selectedFaceId: d.value,
652
- selectedVoiceId: o.value
657
+ selectedImageUrl: d.value,
658
+ selectedFaceId: g.value,
659
+ selectedVoiceId: b.value
653
660
  });
654
- }, b = (t) => {
655
- u.value = t.id, r("iconSelect", t);
656
- }, I = (t) => {
657
- o.value = t.id, r("voiceSelect", t);
661
+ }, I = (t, p) => {
662
+ d.value = t, o.value = p, r("imageSelect", t);
658
663
  }, C = (t) => {
659
- g.value = t || "", r("searchInput", t || "");
660
- }, x = () => {
664
+ b.value = t.id, r("voiceSelect", t);
665
+ }, P = (t) => {
666
+ $.value = t || "", r("searchInput", t || "");
667
+ }, h = () => {
661
668
  r("uploadClick");
662
- }, h = (t) => Se[t] || Be;
669
+ };
663
670
  return m({
664
671
  selectedIconId: u,
665
- selectedFaceId: d,
666
- selectedVoiceId: o,
672
+ selectedImageUrl: d,
673
+ selectedImageIndex: o,
674
+ selectedFaceId: g,
675
+ selectedVoiceId: b,
667
676
  resetSelections: () => {
668
- u.value = null, d.value = null, o.value = null;
677
+ u.value = null, d.value = null, o.value = null, g.value = null, b.value = null;
669
678
  }
670
679
  }), (t, p) => (c(), f("div", po, [
671
680
  a("div", ho, [
@@ -674,10 +683,10 @@ const xt = [
674
683
  a("h1", vo, B(t.title), 1),
675
684
  a("button", {
676
685
  class: "freddy-choose-assistant-avatar__close-button",
677
- onClick: V,
686
+ onClick: v,
678
687
  "aria-label": t.closeButtonAriaLabel
679
688
  }, [
680
- L(A(ee), { class: "freddy-choose-assistant-avatar__close-icon" })
689
+ L(D(ee), { class: "freddy-choose-assistant-avatar__close-icon" })
681
690
  ], 8, yo)
682
691
  ])
683
692
  ]),
@@ -690,78 +699,74 @@ const xt = [
690
699
  a("div", _o, [
691
700
  a("button", {
692
701
  class: "freddy-choose-assistant-avatar__search-button",
693
- onClick: x,
702
+ onClick: h,
694
703
  "aria-label": t.uploadButtonAriaLabel
695
704
  }, [
696
- L(A(Qe), { class: "freddy-choose-assistant-avatar__upload-icon" })
705
+ L(D(Je), { class: "freddy-choose-assistant-avatar__upload-icon" })
697
706
  ], 8, Co),
698
- L(A(_e), {
699
- searchInput: g.value,
707
+ L(D(_e), {
708
+ searchInput: $.value,
700
709
  "onUpdate:searchInput": [
701
- p[0] || (p[0] = (w) => g.value = w),
702
- C
710
+ p[0] || (p[0] = (S) => $.value = S),
711
+ P
703
712
  ],
704
713
  placeholder: t.searchPlaceholder,
705
714
  class: "freddy-choose-assistant-avatar__search-input-wrapper"
706
715
  }, null, 8, ["searchInput", "placeholder"])
707
716
  ]),
708
717
  a("div", wo, [
709
- (c(!0), f(O, null, U(k.value, (w, _) => {
710
- var n;
711
- return c(), f("div", {
712
- key: w.id || _,
713
- class: F(["freddy-choose-assistant-avatar__icon-item", {
714
- "freddy-choose-assistant-avatar__icon-item--selected": u.value === w.id
715
- }]),
716
- onClick: (W) => b(w),
717
- title: w.name
718
- }, [
719
- a("div", To, [
720
- w.component || w.iconName ? (c(), E(K(
721
- w.component || (w.iconName ? h(w.iconName) : null)
722
- ), {
723
- key: 0,
724
- class: "freddy-choose-assistant-avatar__icon-svg"
725
- })) : (c(), f("div", $o, B(((n = w.name) == null ? void 0 : n.charAt(0)) || "?"), 1))
726
- ])
727
- ], 10, So);
728
- }), 128))
718
+ (c(!0), f(O, null, j(e.imageUrls, (S, _) => (c(), f("div", {
719
+ key: _,
720
+ class: F(["freddy-choose-assistant-avatar__icon-item", {
721
+ "freddy-choose-assistant-avatar__icon-item--selected": o.value === _
722
+ }]),
723
+ onClick: (n) => I(S, _),
724
+ title: `Image ${_ + 1}`
725
+ }, [
726
+ a("div", To, [
727
+ a("img", {
728
+ src: S,
729
+ alt: `Image ${_ + 1}`,
730
+ class: "freddy-choose-assistant-avatar__icon-image"
731
+ }, null, 8, $o)
732
+ ])
733
+ ], 10, So))), 128))
729
734
  ])
730
735
  ])
731
736
  ]),
732
- p[3] || (p[3] = a("div", { class: "freddy-choose-assistant-avatar__section" }, [
733
- a("h3", { class: "freddy-choose-assistant-avatar__section-title" }, " Choose the face "),
734
- a("div", { class: "freddy-choose-assistant-avatar__face-grid" })
735
- ], -1)),
736
- a("div", xo, [
737
- p[2] || (p[2] = a("h3", { class: "freddy-choose-assistant-avatar__section-title" }, " Choose the voice ", -1)),
738
- a("div", Po, [
739
- (c(!0), f(O, null, U(t.voices, (w, _) => (c(), E(A(Re), {
740
- key: w.id || _,
741
- voiceName: w.name,
742
- isSelected: o.value === w.id,
743
- onClick: (n) => I(w)
737
+ t.faces && t.faces.length ? (c(), f("div", xo, [...p[2] || (p[2] = [
738
+ a("h3", { class: "freddy-choose-assistant-avatar__section-title" }, " Choose the face ", -1),
739
+ a("div", { class: "freddy-choose-assistant-avatar__face-grid" }, null, -1)
740
+ ])])) : w("", !0),
741
+ t.voices && t.voices.length ? (c(), f("div", Po, [
742
+ p[3] || (p[3] = a("h3", { class: "freddy-choose-assistant-avatar__section-title" }, " Choose the voice ", -1)),
743
+ a("div", Ao, [
744
+ (c(!0), f(O, null, j(t.voices, (S, _) => (c(), E(D(Ee), {
745
+ key: S.id || _,
746
+ voiceName: S.name,
747
+ isSelected: b.value === S.id,
748
+ onClick: (n) => C(S)
744
749
  }, null, 8, ["voiceName", "isSelected", "onClick"]))), 128))
745
750
  ])
746
- ]),
747
- a("div", Ao, [
751
+ ])) : w("", !0),
752
+ a("div", Do, [
748
753
  a("button", {
749
754
  class: "freddy-choose-assistant-avatar__cancel-button",
750
- onClick: v
755
+ onClick: T
751
756
  }, B(t.cancelButtonText), 1),
752
757
  a("button", {
753
758
  class: "freddy-choose-assistant-avatar__save-button",
754
- onClick: T,
755
- disabled: !P.value
756
- }, B(t.saveButtonText), 9, Do)
759
+ onClick: k,
760
+ disabled: !V.value
761
+ }, B(t.saveButtonText), 9, Fo)
757
762
  ])
758
763
  ])
759
764
  ]));
760
765
  }
761
- }), Fo = ["onClick", "aria-selected", "onKeydown"], Bo = { class: "freddy-plugin-menu-button-label" }, Mo = {
766
+ }), Bo = ["onClick", "aria-selected", "onKeydown"], Mo = { class: "freddy-plugin-menu-button-label" }, Lo = {
762
767
  key: 0,
763
768
  class: "freddy-plugin-menu-button-badge"
764
- }, Lo = /* @__PURE__ */ N({
769
+ }, Vo = /* @__PURE__ */ N({
765
770
  __name: "BaseTabButton",
766
771
  props: {
767
772
  tabList: {},
@@ -782,7 +787,7 @@ const xt = [
782
787
  "primary-active": "background-031525",
783
788
  "bg-primary-active-bordered": "background-border"
784
789
  }[g] || g;
785
- }), u = D(s.currentTab);
790
+ }), u = A(s.currentTab);
786
791
  G(
787
792
  () => s.currentTab,
788
793
  (o) => {
@@ -800,57 +805,57 @@ const xt = [
800
805
  { "freddy-plugin-nav-bar--full-width": s.fullWidth }
801
806
  ])
802
807
  }, [
803
- (c(!0), f(O, null, U(s.tabList, (k, P) => (c(), f("button", {
808
+ (c(!0), f(O, null, j(s.tabList, (b, $) => (c(), f("button", {
804
809
  class: F([
805
810
  "freddy-plugin-menu-button",
806
811
  `freddy-plugin-menu-button--${r.value}`,
807
- { "freddy-plugin-menu-button--active": u.value === k.id },
812
+ { "freddy-plugin-menu-button--active": u.value === b.id },
808
813
  { "freddy-plugin-menu-button--full-width": s.fullWidth }
809
814
  ]),
810
- key: P,
811
- onClick: (V) => d(k),
812
- "aria-selected": u.value === k.id,
815
+ key: $,
816
+ onClick: (V) => d(b),
817
+ "aria-selected": u.value === b.id,
813
818
  role: "tab",
814
819
  tabindex: "0",
815
820
  onKeydown: [
816
- z((V) => d(k), ["enter"]),
817
- z(j((V) => d(k), ["prevent"]), ["space"])
821
+ z((V) => d(b), ["enter"]),
822
+ z(U((V) => d(b), ["prevent"]), ["space"])
818
823
  ]
819
824
  }, [
820
- a("span", Bo, B(k.title), 1),
821
- k.badge !== void 0 ? (c(), f("span", Mo, B(k.badge), 1)) : S("", !0),
822
- r.value === "bottom-dash" && u.value === k.id ? (c(), f("span", {
825
+ a("span", Mo, B(b.title), 1),
826
+ b.badge !== void 0 ? (c(), f("span", Lo, B(b.badge), 1)) : w("", !0),
827
+ r.value === "bottom-dash" && u.value === b.id ? (c(), f("span", {
823
828
  key: 1,
824
- class: F({ "freddy-plugin-active-tab-bottom": u.value === k.id })
825
- }, null, 2)) : S("", !0)
826
- ], 42, Fo))), 128))
829
+ class: F({ "freddy-plugin-active-tab-bottom": u.value === b.id })
830
+ }, null, 2)) : w("", !0)
831
+ ], 42, Bo))), 128))
827
832
  ], 2));
828
833
  }
829
- }), Vo = { class: "rules-management" }, Eo = { class: "rules-header" }, No = { class: "header-actions" }, Ro = { class: "search-wrapper" }, Oo = ["onKeydown"], zo = {
834
+ }), Eo = { class: "rules-management" }, No = { class: "rules-header" }, Ro = { class: "header-actions" }, Oo = { class: "search-wrapper" }, zo = ["onKeydown"], Ho = {
830
835
  class: "tabs-container",
831
836
  role: "tablist",
832
837
  "aria-label": "Rules filter tabs"
833
- }, Ho = ["id", "aria-labelledby"], jo = {
838
+ }, Uo = ["id", "aria-labelledby"], jo = {
834
839
  class: "rules-table",
835
840
  role: "table",
836
841
  "aria-label": "Rules list"
837
- }, Uo = {
842
+ }, Ko = {
838
843
  class: "col-dependencies",
839
844
  scope: "col"
840
- }, Ko = {
845
+ }, Go = {
841
846
  class: "info-icon",
842
847
  title: "Number of dependent rules",
843
848
  "aria-label": "Information about dependencies",
844
849
  role: "img"
845
- }, Go = { class: "rule-info" }, Zo = { class: "rule-title" }, qo = { class: "rule-description" }, Wo = ["aria-label"], Jo = { class: "dependencies-count" }, Qo = ["aria-label"], Yo = { class: "creator-info" }, Xo = { class: "creator-wrapper" }, en = ["src", "alt"], tn = { class: "creator-details" }, on = { class: "creator-name" }, nn = { class: "creator-username" }, sn = { class: "action-cell" }, an = ["aria-label"], ln = { class: "action-icons" }, cn = ["onClick", "onKeydown", "aria-label"], rn = ["onClick", "onKeydown", "aria-label"], dn = {
850
+ }, Zo = { class: "rule-info" }, qo = { class: "rule-title" }, Wo = { class: "rule-description" }, Jo = ["aria-label"], Qo = { class: "dependencies-count" }, Yo = ["aria-label"], Xo = { class: "creator-info" }, en = { class: "creator-wrapper" }, tn = ["src", "alt"], on = { class: "creator-details" }, nn = { class: "creator-name" }, sn = { class: "creator-username" }, an = { class: "action-cell" }, ln = ["aria-label"], cn = { class: "action-icons" }, rn = ["onClick", "onKeydown", "aria-label"], dn = ["onClick", "onKeydown", "aria-label"], un = {
846
851
  class: "pagination-container",
847
852
  role: "navigation",
848
853
  "aria-label": "Pagination"
849
- }, un = ["disabled", "onKeydown", "tabindex"], pn = {
854
+ }, pn = ["disabled", "onKeydown", "tabindex"], hn = {
850
855
  class: "page-numbers",
851
856
  role: "list",
852
857
  "aria-label": "Page numbers"
853
- }, hn = ["onClick", "onKeydown", "disabled", "aria-label", "aria-current", "tabindex"], fn = ["disabled", "onKeydown", "tabindex"], mn = /* @__PURE__ */ N({
858
+ }, fn = ["onClick", "onKeydown", "disabled", "aria-label", "aria-current", "tabindex"], mn = ["disabled", "onKeydown", "tabindex"], vn = /* @__PURE__ */ N({
854
859
  __name: "RulesManagement",
855
860
  props: {
856
861
  rules: { default: () => [] },
@@ -865,7 +870,7 @@ const xt = [
865
870
  },
866
871
  emits: ["search", "createRule", "tabChange", "edit", "view", "pageChange"],
867
872
  setup(y, { emit: m }) {
868
- const s = y, e = m, i = D(""), l = D(s.initialTab), r = D(1), u = M(() => s.tabs.map((h, t) => ({
873
+ const s = y, e = m, i = A(""), l = A(s.initialTab), r = A(1), u = M(() => s.tabs.map((h, t) => ({
869
874
  id: t + 1,
870
875
  title: h.label,
871
876
  badge: h.count,
@@ -885,19 +890,19 @@ const xt = [
885
890
  return t.title.toLowerCase().includes(h) || ((p = t.description) == null ? void 0 : p.toLowerCase().includes(h)) || t.creator.name.toLowerCase().includes(h);
886
891
  }
887
892
  );
888
- }), k = M(() => {
893
+ }), b = M(() => {
889
894
  const h = [], t = s.totalPages, p = r.value;
890
895
  if (t <= 7)
891
- for (let w = 1; w <= t; w++)
892
- h.push(w);
896
+ for (let S = 1; S <= t; S++)
897
+ h.push(S);
893
898
  else {
894
899
  h.push(1), p > 3 && h.push("...");
895
- for (let w = Math.max(2, p - 1); w <= Math.min(t - 1, p + 1); w++)
896
- h.push(w);
900
+ for (let S = Math.max(2, p - 1); S <= Math.min(t - 1, p + 1); S++)
901
+ h.push(S);
897
902
  p < t - 2 && h.push("..."), h.push(t);
898
903
  }
899
904
  return h;
900
- }), P = () => {
905
+ }), $ = () => {
901
906
  e("search", i.value);
902
907
  }, V = () => {
903
908
  e("createRule");
@@ -905,24 +910,24 @@ const xt = [
905
910
  l.value = h, e("tabChange", h);
906
911
  }, T = (h) => {
907
912
  e("edit", h);
908
- }, b = (h) => {
913
+ }, k = (h) => {
909
914
  e("view", h);
910
915
  }, I = (h) => {
911
916
  r.value = h, e("pageChange", h);
912
917
  }, C = () => {
913
918
  r.value > 1 && I(r.value - 1);
914
- }, x = () => {
919
+ }, P = () => {
915
920
  r.value < s.totalPages && I(r.value + 1);
916
921
  };
917
- return (h, t) => (c(), f("div", Vo, [
918
- a("div", Eo, [
922
+ return (h, t) => (c(), f("div", Eo, [
923
+ a("div", No, [
919
924
  t[3] || (t[3] = a("div", { class: "header-content" }, [
920
925
  a("h1", { class: "title" }, "Rules Management"),
921
926
  a("p", { class: "subtitle" }, " Manage and organize your organization's rules and guidelines ")
922
927
  ], -1)),
923
- a("div", No, [
924
- a("div", Ro, [
925
- L(A(Ye), {
928
+ a("div", Ro, [
929
+ a("div", Oo, [
930
+ L(D(Ye), {
926
931
  class: "search-icon",
927
932
  "aria-hidden": "true"
928
933
  }),
@@ -931,7 +936,7 @@ const xt = [
931
936
  class: "search-input",
932
937
  placeholder: "Search",
933
938
  "onUpdate:modelValue": t[0] || (t[0] = (p) => i.value = p),
934
- onInput: P,
939
+ onInput: $,
935
940
  "aria-label": "Search rules"
936
941
  }, null, 544), [
937
942
  [Y, i.value]
@@ -946,21 +951,21 @@ const xt = [
946
951
  onClick: V,
947
952
  onKeydown: [
948
953
  z(V, ["enter"]),
949
- z(j(V, ["prevent"]), ["space"])
954
+ z(U(V, ["prevent"]), ["space"])
950
955
  ],
951
956
  "aria-label": "Create new rule",
952
957
  tabindex: "0"
953
958
  }, [
954
- L(A(Xe), {
959
+ L(D(Xe), {
955
960
  class: "plus-icon",
956
961
  "aria-hidden": "true"
957
962
  }),
958
963
  t[2] || (t[2] = J(" Create Rule ", -1))
959
- ], 40, Oo)
964
+ ], 40, zo)
960
965
  ])
961
966
  ]),
962
- a("div", zo, [
963
- L(Lo, {
967
+ a("div", Ho, [
968
+ L(Vo, {
964
969
  tabList: u.value,
965
970
  currentTab: d.value,
966
971
  activeStateType: "bottom-dash",
@@ -985,10 +990,10 @@ const xt = [
985
990
  class: "col-status",
986
991
  scope: "col"
987
992
  }, "Status", -1)),
988
- a("th", Uo, [
993
+ a("th", Ko, [
989
994
  t[4] || (t[4] = J(" Dependencies ", -1)),
990
- a("span", Ko, [
991
- L(A(ce), { "aria-hidden": "true" })
995
+ a("span", Go, [
996
+ L(D(ce), { "aria-hidden": "true" })
992
997
  ])
993
998
  ]),
994
999
  t[7] || (t[7] = a("th", {
@@ -1002,130 +1007,130 @@ const xt = [
1002
1007
  ])
1003
1008
  ]),
1004
1009
  a("tbody", null, [
1005
- (c(!0), f(O, null, U(g.value, (p) => (c(), f("tr", {
1010
+ (c(!0), f(O, null, j(g.value, (p) => (c(), f("tr", {
1006
1011
  key: p.id,
1007
1012
  class: "rule-row",
1008
1013
  role: "row"
1009
1014
  }, [
1010
- a("td", Go, [
1011
- a("div", Zo, B(p.title), 1),
1012
- a("div", qo, B(p.description), 1)
1015
+ a("td", Zo, [
1016
+ a("div", qo, B(p.title), 1),
1017
+ a("div", Wo, B(p.description), 1)
1013
1018
  ]),
1014
1019
  a("td", null, [
1015
1020
  a("span", {
1016
1021
  class: F(["status-badge", p.status.toLowerCase()]),
1017
1022
  "aria-label": `Status: ${p.status}`
1018
- }, B(p.status), 11, Wo)
1023
+ }, B(p.status), 11, Jo)
1019
1024
  ]),
1020
- a("td", Jo, [
1025
+ a("td", Qo, [
1021
1026
  a("span", {
1022
1027
  "aria-label": `${p.dependencies} dependencies`
1023
- }, B(p.dependencies), 9, Qo)
1028
+ }, B(p.dependencies), 9, Yo)
1024
1029
  ]),
1025
- a("td", Yo, [
1026
- a("div", Xo, [
1030
+ a("td", Xo, [
1031
+ a("div", en, [
1027
1032
  a("img", {
1028
1033
  src: p.creator.avatar,
1029
1034
  alt: `${p.creator.name} avatar`,
1030
1035
  class: "creator-avatar"
1031
- }, null, 8, en),
1032
- a("div", tn, [
1033
- a("div", on, B(p.creator.name), 1),
1034
- a("div", nn, B(p.creator.username), 1)
1036
+ }, null, 8, tn),
1037
+ a("div", on, [
1038
+ a("div", nn, B(p.creator.name), 1),
1039
+ a("div", sn, B(p.creator.username), 1)
1035
1040
  ])
1036
1041
  ])
1037
1042
  ]),
1038
- a("td", sn, [
1043
+ a("td", an, [
1039
1044
  a("span", {
1040
1045
  class: F(["status-badge", p.status.toLowerCase()]),
1041
1046
  "aria-label": `Status: ${p.status}`
1042
- }, B(p.status), 11, an),
1043
- a("div", ln, [
1047
+ }, B(p.status), 11, ln),
1048
+ a("div", cn, [
1044
1049
  a("button", {
1045
1050
  class: "icon-btn",
1046
- onClick: (w) => T(p),
1051
+ onClick: (S) => T(p),
1047
1052
  onKeydown: [
1048
- z((w) => T(p), ["enter"]),
1049
- z(j((w) => T(p), ["prevent"]), ["space"])
1053
+ z((S) => T(p), ["enter"]),
1054
+ z(U((S) => T(p), ["prevent"]), ["space"])
1050
1055
  ],
1051
1056
  "aria-label": `Edit ${p.title}`,
1052
1057
  tabindex: "0"
1053
1058
  }, [
1054
- L(A(pe), { "aria-hidden": "true" })
1055
- ], 40, cn),
1059
+ L(D(pe), { "aria-hidden": "true" })
1060
+ ], 40, rn),
1056
1061
  a("button", {
1057
1062
  class: "icon-btn",
1058
- onClick: (w) => b(p),
1063
+ onClick: (S) => k(p),
1059
1064
  onKeydown: [
1060
- z((w) => b(p), ["enter"]),
1061
- z(j((w) => b(p), ["prevent"]), ["space"])
1065
+ z((S) => k(p), ["enter"]),
1066
+ z(U((S) => k(p), ["prevent"]), ["space"])
1062
1067
  ],
1063
1068
  "aria-label": `View ${p.title}`,
1064
1069
  tabindex: "0"
1065
1070
  }, [
1066
- L(A(et), { "aria-hidden": "true" })
1067
- ], 40, rn)
1071
+ L(D(et), { "aria-hidden": "true" })
1072
+ ], 40, dn)
1068
1073
  ])
1069
1074
  ])
1070
1075
  ]))), 128))
1071
1076
  ])
1072
1077
  ])
1073
- ], 8, Ho),
1074
- a("nav", dn, [
1078
+ ], 8, Uo),
1079
+ a("nav", un, [
1075
1080
  a("button", {
1076
1081
  class: "pagination-btn",
1077
1082
  disabled: r.value === 1,
1078
1083
  onClick: C,
1079
1084
  onKeydown: [
1080
1085
  z(C, ["enter"]),
1081
- z(j(C, ["prevent"]), ["space"])
1086
+ z(U(C, ["prevent"]), ["space"])
1082
1087
  ],
1083
1088
  "aria-label": "Go to previous page",
1084
1089
  tabindex: r.value === 1 ? -1 : 0
1085
- }, " Previous ", 40, un),
1086
- a("div", pn, [
1087
- (c(!0), f(O, null, U(k.value, (p) => (c(), f("button", {
1090
+ }, " Previous ", 40, pn),
1091
+ a("div", hn, [
1092
+ (c(!0), f(O, null, j(b.value, (p) => (c(), f("button", {
1088
1093
  key: p,
1089
1094
  class: F([
1090
1095
  "page-number",
1091
1096
  { active: r.value === p, ellipsis: p === "..." }
1092
1097
  ]),
1093
- onClick: (w) => p !== "..." && I(p),
1098
+ onClick: (S) => p !== "..." && I(p),
1094
1099
  onKeydown: [
1095
- z((w) => p !== "..." && I(p), ["enter"]),
1096
- z(j((w) => p !== "..." && I(p), ["prevent"]), ["space"])
1100
+ z((S) => p !== "..." && I(p), ["enter"]),
1101
+ z(U((S) => p !== "..." && I(p), ["prevent"]), ["space"])
1097
1102
  ],
1098
1103
  disabled: p === "...",
1099
1104
  "aria-label": p === "..." ? "More pages" : `Go to page ${p}`,
1100
1105
  "aria-current": r.value === p ? "page" : void 0,
1101
1106
  tabindex: p === "..." ? -1 : 0,
1102
1107
  role: "listitem"
1103
- }, B(p), 43, hn))), 128))
1108
+ }, B(p), 43, fn))), 128))
1104
1109
  ]),
1105
1110
  a("button", {
1106
1111
  class: "pagination-btn",
1107
1112
  disabled: r.value === h.totalPages,
1108
- onClick: x,
1113
+ onClick: P,
1109
1114
  onKeydown: [
1110
- z(x, ["enter"]),
1111
- z(j(x, ["prevent"]), ["space"])
1115
+ z(P, ["enter"]),
1116
+ z(U(P, ["prevent"]), ["space"])
1112
1117
  ],
1113
1118
  "aria-label": "Go to next page",
1114
1119
  tabindex: r.value === h.totalPages ? -1 : 0
1115
- }, " Next ", 40, fn)
1120
+ }, " Next ", 40, mn)
1116
1121
  ])
1117
1122
  ]));
1118
1123
  }
1119
- }), ec = /* @__PURE__ */ H(mn, [["__scopeId", "data-v-e6ad3a6e"]]), vn = { class: "freddy-vector-frame__content" }, yn = { class: "freddy-vector-frame__icon-container" }, gn = { class: "freddy-vector-frame__title" }, In = {
1124
+ }), tc = /* @__PURE__ */ H(vn, [["__scopeId", "data-v-e6ad3a6e"]]), yn = { class: "freddy-vector-frame__content" }, gn = { class: "freddy-vector-frame__icon-container" }, In = { class: "freddy-vector-frame__title" }, bn = {
1120
1125
  key: 0,
1121
1126
  class: "freddy-vector-frame__badge"
1122
- }, bn = { class: "freddy-vector-frame__badge-content" }, kn = { class: "freddy-vector-frame__badge-text" }, _n = {
1127
+ }, kn = { class: "freddy-vector-frame__badge-content" }, _n = { class: "freddy-vector-frame__badge-text" }, Cn = {
1123
1128
  key: 1,
1124
1129
  class: "freddy-vector-frame__tick-container"
1125
- }, Cn = {
1130
+ }, wn = {
1126
1131
  key: 0,
1127
1132
  class: "freddy-vector-frame__underline"
1128
- }, wn = /* @__PURE__ */ N({
1133
+ }, Sn = /* @__PURE__ */ N({
1129
1134
  __name: "VectorFrame",
1130
1135
  props: {
1131
1136
  title: { default: "Main Vector Store" },
@@ -1134,35 +1139,35 @@ const xt = [
1134
1139
  },
1135
1140
  emits: ["click"],
1136
1141
  setup(y, { emit: m }) {
1137
- const s = y, e = m, i = D(s.isSelected), l = (r) => {
1142
+ const s = y, e = m, i = A(s.isSelected), l = (r) => {
1138
1143
  i.value = !i.value, e("click", r);
1139
1144
  };
1140
1145
  return (r, u) => (c(), f("div", {
1141
1146
  class: F(["freddy-vector-frame", { "freddy-vector-frame--clicked": i.value }]),
1142
1147
  onClick: l
1143
1148
  }, [
1144
- a("div", vn, [
1145
- a("div", yn, [
1146
- L(A(tt), { class: "freddy-vector-frame__icon" })
1149
+ a("div", yn, [
1150
+ a("div", gn, [
1151
+ L(D(tt), { class: "freddy-vector-frame__icon" })
1147
1152
  ]),
1148
- a("div", gn, B(r.title), 1),
1149
- i.value ? S("", !0) : (c(), f("div", In, [
1150
- a("div", bn, [
1151
- L(A(ot), { class: "freddy-vector-frame__badge-icon" }),
1152
- a("div", kn, B(r.badgeText), 1)
1153
+ a("div", In, B(r.title), 1),
1154
+ i.value ? w("", !0) : (c(), f("div", bn, [
1155
+ a("div", kn, [
1156
+ L(D(ot), { class: "freddy-vector-frame__badge-icon" }),
1157
+ a("div", _n, B(r.badgeText), 1)
1153
1158
  ])
1154
1159
  ])),
1155
- i.value ? (c(), f("div", _n, [
1156
- L(A(nt), { class: "freddy-vector-frame__tick-icon" })
1157
- ])) : S("", !0)
1160
+ i.value ? (c(), f("div", Cn, [
1161
+ L(D(nt), { class: "freddy-vector-frame__tick-icon" })
1162
+ ])) : w("", !0)
1158
1163
  ]),
1159
- i.value ? (c(), f("div", Cn)) : S("", !0)
1164
+ i.value ? (c(), f("div", wn)) : w("", !0)
1160
1165
  ], 2));
1161
1166
  }
1162
- }), tc = /* @__PURE__ */ H(wn, [["__scopeId", "data-v-e2bc0b9f"]]), Sn = { class: "freddy-vector-section" }, Tn = { class: "freddy-vector-section__content" }, $n = { class: "freddy-vector-section__header" }, xn = { class: "freddy-vector-section__count" }, Pn = { class: "freddy-vector-section__main" }, An = { class: "freddy-vector-section__search-container" }, Dn = { class: "freddy-vector-section__search-header" }, Fn = { class: "freddy-vector-section__search-label" }, Bn = { class: "freddy-vector-section__help-icon" }, Mn = { class: "freddy-vector-section__search-input-container" }, Ln = { class: "freddy-vector-section__filter-results" }, Vn = { class: "freddy-vector-section__filter" }, En = { class: "freddy-vector-section__filter-button" }, Nn = { class: "freddy-vector-section__results-count" }, Rn = { class: "freddy-vector-section__frames-container" }, On = {
1167
+ }), oc = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-e2bc0b9f"]]), Tn = { class: "freddy-vector-section" }, $n = { class: "freddy-vector-section__content" }, xn = { class: "freddy-vector-section__header" }, Pn = { class: "freddy-vector-section__count" }, An = { class: "freddy-vector-section__main" }, Dn = { class: "freddy-vector-section__search-container" }, Fn = { class: "freddy-vector-section__search-header" }, Bn = { class: "freddy-vector-section__search-label" }, Mn = { class: "freddy-vector-section__help-icon" }, Ln = { class: "freddy-vector-section__search-input-container" }, Vn = { class: "freddy-vector-section__filter-results" }, En = { class: "freddy-vector-section__filter" }, Nn = { class: "freddy-vector-section__filter-button" }, Rn = { class: "freddy-vector-section__results-count" }, On = { class: "freddy-vector-section__frames-container" }, zn = {
1163
1168
  key: 0,
1164
1169
  class: "freddy-vector-section__show-more"
1165
- }, zn = { class: "freddy-vector-section__show-more-text" }, Hn = { class: "freddy-vector-section__add-section" }, jn = { class: "freddy-vector-section__add-container" }, Un = /* @__PURE__ */ N({
1170
+ }, Hn = { class: "freddy-vector-section__show-more-text" }, Un = { class: "freddy-vector-section__add-section" }, jn = { class: "freddy-vector-section__add-container" }, Kn = /* @__PURE__ */ N({
1166
1171
  __name: "VectorSection",
1167
1172
  props: {
1168
1173
  title: { default: "Knowledge" },
@@ -1246,35 +1251,35 @@ const xt = [
1246
1251
  },
1247
1252
  emits: ["frameClick", "addVectorStore", "showMore", "searchInput"],
1248
1253
  setup(y, { emit: m }) {
1249
- const s = y, e = m, i = D(""), l = D(s.maxDisplayed), r = M(() => i.value.trim() ? s.frames.filter(
1254
+ const s = y, e = m, i = A(""), l = A(s.maxDisplayed), r = M(() => i.value.trim() ? s.frames.filter(
1250
1255
  (v) => v.title.toLowerCase().includes(i.value.toLowerCase())
1251
- ) : s.frames), u = M(() => r.value.slice(0, l.value)), d = M(() => r.value.length), o = M(() => r.value.length > l.value), g = M(() => r.value.length - l.value), k = () => {
1256
+ ) : s.frames), u = M(() => r.value.slice(0, l.value)), d = M(() => r.value.length), o = M(() => r.value.length > l.value), g = M(() => r.value.length - l.value), b = () => {
1252
1257
  e("addVectorStore");
1253
- }, P = () => {
1258
+ }, $ = () => {
1254
1259
  l.value = r.value.length, e("showMore");
1255
1260
  }, V = (v) => {
1256
1261
  i.value = v || "", l.value = s.maxDisplayed, e("searchInput", i.value);
1257
1262
  };
1258
- return (v, T) => (c(), f("div", Sn, [
1259
- a("div", Tn, [
1260
- a("div", $n, [
1263
+ return (v, T) => (c(), f("div", Tn, [
1264
+ a("div", $n, [
1265
+ a("div", xn, [
1261
1266
  T[1] || (T[1] = a("div", { class: "freddy-vector-section__title" }, "Knowledge", -1)),
1262
- a("div", xn, B(v.dbCount) + " DBs added", 1)
1267
+ a("div", Pn, B(v.dbCount) + " DBs added", 1)
1263
1268
  ]),
1264
- a("div", Pn, [
1265
- a("div", An, [
1266
- a("div", Dn, [
1267
- a("div", Fn, [
1269
+ a("div", An, [
1270
+ a("div", Dn, [
1271
+ a("div", Fn, [
1272
+ a("div", Bn, [
1268
1273
  T[2] || (T[2] = J(" Vector Stores ", -1)),
1269
- a("div", Bn, [
1270
- L(A(fe), { class: "freddy-vector-section__help-icon-svg" })
1274
+ a("div", Mn, [
1275
+ L(D(fe), { class: "freddy-vector-section__help-icon-svg" })
1271
1276
  ])
1272
1277
  ]),
1273
- a("div", Mn, [
1274
- L(A(_e), {
1278
+ a("div", Ln, [
1279
+ L(D(_e), {
1275
1280
  searchInput: i.value,
1276
1281
  "onUpdate:searchInput": [
1277
- T[0] || (T[0] = (b) => i.value = b),
1282
+ T[0] || (T[0] = (k) => i.value = k),
1278
1283
  V
1279
1284
  ],
1280
1285
  placeholder: v.searchPlaceholder,
@@ -1283,40 +1288,40 @@ const xt = [
1283
1288
  ])
1284
1289
  ])
1285
1290
  ]),
1286
- a("div", Ln, [
1287
- a("div", Vn, [
1288
- a("div", En, [
1289
- L(A(st), { class: "freddy-vector-section__filter-icon" }),
1291
+ a("div", Vn, [
1292
+ a("div", En, [
1293
+ a("div", Nn, [
1294
+ L(D(st), { class: "freddy-vector-section__filter-icon" }),
1290
1295
  T[3] || (T[3] = a("span", { class: "freddy-vector-section__filter-text" }, "Filter by", -1)),
1291
- L(A(ae), { class: "freddy-vector-section__filter-arrow" })
1296
+ L(D(ae), { class: "freddy-vector-section__filter-arrow" })
1292
1297
  ])
1293
1298
  ]),
1294
- a("div", Nn, B(d.value) + " databases found ", 1)
1299
+ a("div", Rn, B(d.value) + " databases found ", 1)
1295
1300
  ]),
1296
- a("div", Rn, [
1297
- (c(!0), f(O, null, U(u.value, (b, I) => (c(), f("div", {
1298
- key: b.id || I,
1301
+ a("div", On, [
1302
+ (c(!0), f(O, null, j(u.value, (k, I) => (c(), f("div", {
1303
+ key: k.id || I,
1299
1304
  class: "freddy-vector-section__frame-item"
1300
1305
  }))), 128))
1301
1306
  ]),
1302
- o.value ? (c(), f("div", On, [
1307
+ o.value ? (c(), f("div", zn, [
1303
1308
  a("button", {
1304
1309
  class: "freddy-vector-section__show-more-button",
1305
- onClick: P
1310
+ onClick: $
1306
1311
  }, [
1307
- a("span", zn, "Show " + B(g.value) + " more", 1),
1308
- L(A(ae), { class: "freddy-vector-section__show-more-icon" })
1312
+ a("span", Hn, "Show " + B(g.value) + " more", 1),
1313
+ L(D(ae), { class: "freddy-vector-section__show-more-icon" })
1309
1314
  ])
1310
- ])) : S("", !0)
1315
+ ])) : w("", !0)
1311
1316
  ]),
1312
- a("div", Hn, [
1317
+ a("div", Un, [
1313
1318
  T[5] || (T[5] = a("div", { class: "freddy-vector-section__add-title" }, "Knowledge", -1)),
1314
1319
  a("div", jn, [
1315
1320
  a("button", {
1316
1321
  class: "freddy-vector-section__add-button",
1317
- onClick: k
1322
+ onClick: b
1318
1323
  }, [
1319
- L(A(it), { class: "freddy-vector-section__add-icon" }),
1324
+ L(D(it), { class: "freddy-vector-section__add-icon" }),
1320
1325
  T[4] || (T[4] = a("span", { class: "freddy-vector-section__add-text" }, "Add vector store to assistant", -1))
1321
1326
  ])
1322
1327
  ])
@@ -1324,13 +1329,13 @@ const xt = [
1324
1329
  ])
1325
1330
  ]));
1326
1331
  }
1327
- }), oc = /* @__PURE__ */ H(Un, [["__scopeId", "data-v-8434fbf8"]]), Kn = { class: "freddy-voice-list" }, Gn = {
1332
+ }), nc = /* @__PURE__ */ H(Kn, [["__scopeId", "data-v-8434fbf8"]]), Gn = { class: "freddy-voice-list" }, Zn = {
1328
1333
  key: 0,
1329
1334
  class: "freddy-voice-list__title"
1330
- }, Zn = { class: "freddy-voice-list__container" }, qn = {
1335
+ }, qn = { class: "freddy-voice-list__container" }, Wn = {
1331
1336
  key: 1,
1332
1337
  class: "freddy-voice-list__selected-info"
1333
- }, nc = /* @__PURE__ */ N({
1338
+ }, sc = /* @__PURE__ */ N({
1334
1339
  __name: "VoiceList",
1335
1340
  props: {
1336
1341
  voices: {},
@@ -1340,7 +1345,7 @@ const xt = [
1340
1345
  },
1341
1346
  emits: ["selectionChange", "voiceClick"],
1342
1347
  setup(y, { expose: m, emit: s }) {
1343
- const e = y, i = s, l = D(null), r = M(() => e.voices.find((d) => d.id === l.value) || null), u = (d) => {
1348
+ const e = y, i = s, l = A(null), r = M(() => e.voices.find((d) => d.id === l.value) || null), u = (d) => {
1344
1349
  l.value === d && e.allowDeselect ? l.value = null : l.value = d, i("selectionChange", l.value), i("voiceClick", d, l.value === d);
1345
1350
  };
1346
1351
  return m({
@@ -1354,29 +1359,29 @@ const xt = [
1354
1359
  }
1355
1360
  }), (d, o) => {
1356
1361
  var g;
1357
- return c(), f("div", Kn, [
1358
- d.title ? (c(), f("h3", Gn, B(d.title), 1)) : S("", !0),
1359
- a("div", Zn, [
1360
- (c(!0), f(O, null, U(d.voices, (k) => (c(), E(A(Re), {
1361
- key: k.id,
1362
- voiceName: k.name,
1363
- isSelected: l.value === k.id,
1364
- onClick: (P) => u(k.id)
1362
+ return c(), f("div", Gn, [
1363
+ d.title ? (c(), f("h3", Zn, B(d.title), 1)) : w("", !0),
1364
+ a("div", qn, [
1365
+ (c(!0), f(O, null, j(d.voices, (b) => (c(), E(D(Ee), {
1366
+ key: b.id,
1367
+ voiceName: b.name,
1368
+ isSelected: l.value === b.id,
1369
+ onClick: ($) => u(b.id)
1365
1370
  }, null, 8, ["voiceName", "isSelected", "onClick"]))), 128))
1366
1371
  ]),
1367
- d.showSelectedInfo ? (c(), f("div", qn, [
1372
+ d.showSelectedInfo ? (c(), f("div", Wn, [
1368
1373
  a("p", null, "Selected: " + B(((g = r.value) == null ? void 0 : g.name) || "None"), 1)
1369
- ])) : S("", !0)
1374
+ ])) : w("", !0)
1370
1375
  ]);
1371
1376
  };
1372
1377
  }
1373
- }), Wn = { class: "freddy-voice-selection__container" }, Jn = { class: "freddy-voice-selection__icon-container" }, Qn = { class: "freddy-voice-selection__icon" }, Yn = { class: "freddy-voice-selection__play-background" }, Xn = { class: "freddy-voice-selection__name-container" }, es = { class: "freddy-voice-selection__name-wrapper" }, ts = { class: "freddy-voice-selection__name" }, os = {
1378
+ }), Jn = { class: "freddy-voice-selection__container" }, Qn = { class: "freddy-voice-selection__icon-container" }, Yn = { class: "freddy-voice-selection__icon" }, Xn = { class: "freddy-voice-selection__play-background" }, es = { class: "freddy-voice-selection__name-container" }, ts = { class: "freddy-voice-selection__name-wrapper" }, os = { class: "freddy-voice-selection__name" }, ns = {
1374
1379
  key: 0,
1375
1380
  class: "freddy-voice-selection__check-icon"
1376
- }, ns = {
1381
+ }, ss = {
1377
1382
  key: 1,
1378
1383
  class: "freddy-voice-selection__indicator"
1379
- }, Re = /* @__PURE__ */ N({
1384
+ }, Ee = /* @__PURE__ */ N({
1380
1385
  __name: "VoiceSelection",
1381
1386
  props: {
1382
1387
  voiceName: {},
@@ -1391,26 +1396,26 @@ const xt = [
1391
1396
  class: F(["freddy-voice-selection", { "freddy-voice-selection--selected": i.isSelected }]),
1392
1397
  onClick: e
1393
1398
  }, [
1394
- a("div", Wn, [
1395
- a("div", Jn, [
1396
- a("div", Qn, [
1397
- a("div", Yn, [
1398
- L(A(at), { class: "freddy-voice-selection__triangle-icon" })
1399
+ a("div", Jn, [
1400
+ a("div", Qn, [
1401
+ a("div", Yn, [
1402
+ a("div", Xn, [
1403
+ L(D(at), { class: "freddy-voice-selection__triangle-icon" })
1399
1404
  ])
1400
1405
  ])
1401
1406
  ]),
1402
- a("div", Xn, [
1403
- a("div", es, [
1404
- a("div", ts, B(i.voiceName), 1)
1407
+ a("div", es, [
1408
+ a("div", ts, [
1409
+ a("div", os, B(i.voiceName), 1)
1405
1410
  ])
1406
1411
  ]),
1407
- i.isSelected ? (c(), f("div", os, [
1408
- L(A(he), { class: "freddy-voice-selection__check-icon-svg" })
1409
- ])) : (c(), f("div", ns))
1412
+ i.isSelected ? (c(), f("div", ns, [
1413
+ L(D(he), { class: "freddy-voice-selection__check-icon-svg" })
1414
+ ])) : (c(), f("div", ss))
1410
1415
  ])
1411
1416
  ], 2));
1412
1417
  }
1413
- }), ss = ["innerHTML"], is = { key: 1 }, re = /* @__PURE__ */ N({
1418
+ }), is = ["innerHTML"], as = { key: 1 }, re = /* @__PURE__ */ N({
1414
1419
  __name: "Tooltip",
1415
1420
  props: {
1416
1421
  text: {},
@@ -1420,7 +1425,7 @@ const xt = [
1420
1425
  },
1421
1426
  setup(y) {
1422
1427
  ne();
1423
- const m = D(!1), s = D(!1), e = D(null);
1428
+ const m = A(!1), s = A(!1), e = A(null);
1424
1429
  let i = null;
1425
1430
  function l() {
1426
1431
  i && clearTimeout(i), i = setTimeout(() => {
@@ -1459,27 +1464,27 @@ const xt = [
1459
1464
  u.html ? (c(), f("span", {
1460
1465
  key: 0,
1461
1466
  innerHTML: u.text
1462
- }, null, 8, ss)) : (c(), f("span", is, B(u.text), 1))
1467
+ }, null, 8, is)) : (c(), f("span", as, B(u.text), 1))
1463
1468
  ])
1464
- ], 2)) : S("", !0)
1469
+ ], 2)) : w("", !0)
1465
1470
  ]),
1466
1471
  _: 3
1467
1472
  })
1468
1473
  ], 544));
1469
1474
  }
1470
- }), as = ["disabled", "aria-disabled", "aria-label"], ls = {
1475
+ }), ls = ["disabled", "aria-disabled", "aria-label"], cs = {
1471
1476
  key: 0,
1472
1477
  class: "freddy-plugins-button-label"
1473
- }, cs = {
1478
+ }, rs = {
1474
1479
  key: 1,
1475
1480
  class: "freddy-plugins-button-label"
1476
- }, rs = ["disabled", "aria-disabled", "aria-label"], ds = {
1481
+ }, ds = ["disabled", "aria-disabled", "aria-label"], us = {
1477
1482
  key: 0,
1478
1483
  class: "freddy-plugins-button-label"
1479
- }, us = {
1484
+ }, ps = {
1480
1485
  key: 1,
1481
1486
  class: "freddy-plugins-button-label"
1482
- }, ps = /* @__PURE__ */ N({
1487
+ }, hs = /* @__PURE__ */ N({
1483
1488
  __name: "BaseButton",
1484
1489
  props: {
1485
1490
  size: { default: "md" },
@@ -1543,7 +1548,7 @@ const xt = [
1543
1548
  IconFolder: R(() => import("./icons-GUqeJvd4.js").then((v) => v.d5)),
1544
1549
  IconText: R(() => import("./icons-GUqeJvd4.js").then((v) => v.ef)),
1545
1550
  IconLink04: R(() => import("./icons-GUqeJvd4.js").then((v) => v.dn))
1546
- }, i = M(() => s.leftIcon && e[s.leftIcon] || null), l = M(() => s.rightIcon && e[s.rightIcon] || null), r = m, u = D(!1), d = M(() => [
1551
+ }, i = M(() => s.leftIcon && e[s.leftIcon] || null), l = M(() => s.rightIcon && e[s.rightIcon] || null), r = m, u = A(!1), d = M(() => [
1547
1552
  "freddy-plugins-base-button",
1548
1553
  `freddy-plugins-base-button--${s.size}`,
1549
1554
  `freddy-plugins-base-button--${s.hierarchy}`,
@@ -1559,9 +1564,9 @@ const xt = [
1559
1564
  !s.disabled && !s.loading && r("click", v);
1560
1565
  }, g = (v) => {
1561
1566
  !s.disabled && !s.loading && r("leftIconClick", v);
1562
- }, k = (v) => {
1567
+ }, b = (v) => {
1563
1568
  !s.disabled && !s.loading && r("rightIconClick", v);
1564
- }, P = () => {
1569
+ }, $ = () => {
1565
1570
  u.value = !0;
1566
1571
  }, V = () => {
1567
1572
  u.value = !1;
@@ -1579,7 +1584,7 @@ const xt = [
1579
1584
  "aria-label": v.iconOnly ? v.label : void 0,
1580
1585
  role: "button",
1581
1586
  onClick: o,
1582
- onMouseenter: P,
1587
+ onMouseenter: $,
1583
1588
  onMouseleave: V
1584
1589
  }, [
1585
1590
  v.loading ? (c(), f(O, { key: 0 }, [
@@ -1587,7 +1592,7 @@ const xt = [
1587
1592
  class: "freddy-plugins-button-spinner",
1588
1593
  "aria-hidden": "true"
1589
1594
  }, null, -1)),
1590
- v.loadingText || v.label ? (c(), f("span", ls, B(v.loadingText || v.label), 1)) : S("", !0)
1595
+ v.loadingText || v.label ? (c(), f("span", cs, B(v.loadingText || v.label), 1)) : w("", !0)
1591
1596
  ], 64)) : v.iconOnly ? (c(), E(K(i.value), {
1592
1597
  key: 1,
1593
1598
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-center", `freddy-plugins-button-icon--${v.size}`]),
@@ -1597,17 +1602,17 @@ const xt = [
1597
1602
  key: 0,
1598
1603
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-left", `freddy-plugins-button-icon--${v.size}`]),
1599
1604
  "aria-hidden": "true",
1600
- onClick: j(g, ["stop"])
1601
- }, null, 8, ["class"])) : S("", !0),
1602
- v.label ? (c(), f("span", cs, B(v.label), 1)) : S("", !0),
1605
+ onClick: U(g, ["stop"])
1606
+ }, null, 8, ["class"])) : w("", !0),
1607
+ v.label ? (c(), f("span", rs, B(v.label), 1)) : w("", !0),
1603
1608
  v.rightIcon ? (c(), E(K(l.value), {
1604
1609
  key: 2,
1605
1610
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-right", `freddy-plugins-button-icon--${v.size}`]),
1606
1611
  "aria-hidden": "true",
1607
- onClick: j(k, ["stop"])
1608
- }, null, 8, ["class"])) : S("", !0)
1612
+ onClick: U(b, ["stop"])
1613
+ }, null, 8, ["class"])) : w("", !0)
1609
1614
  ], 64))
1610
- ], 42, as)
1615
+ ], 42, ls)
1611
1616
  ]),
1612
1617
  _: 1
1613
1618
  }, 8, ["text", "placement"])) : (c(), f("button", {
@@ -1618,7 +1623,7 @@ const xt = [
1618
1623
  "aria-label": v.iconOnly ? v.label : void 0,
1619
1624
  role: "button",
1620
1625
  onClick: o,
1621
- onMouseenter: P,
1626
+ onMouseenter: $,
1622
1627
  onMouseleave: V
1623
1628
  }, [
1624
1629
  v.loading ? (c(), f(O, { key: 0 }, [
@@ -1626,7 +1631,7 @@ const xt = [
1626
1631
  class: "freddy-plugins-button-spinner",
1627
1632
  "aria-hidden": "true"
1628
1633
  }, null, -1)),
1629
- v.loadingText || v.label ? (c(), f("span", ds, B(v.loadingText || v.label), 1)) : S("", !0)
1634
+ v.loadingText || v.label ? (c(), f("span", us, B(v.loadingText || v.label), 1)) : w("", !0)
1630
1635
  ], 64)) : v.iconOnly ? (c(), E(K(i.value), {
1631
1636
  key: 1,
1632
1637
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-center", `freddy-plugins-button-icon--${v.size}`]),
@@ -1636,22 +1641,22 @@ const xt = [
1636
1641
  key: 0,
1637
1642
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-left", `freddy-plugins-button-icon--${v.size}`]),
1638
1643
  "aria-hidden": "true",
1639
- onClick: j(g, ["stop"])
1640
- }, null, 8, ["class"])) : S("", !0),
1641
- v.label ? (c(), f("span", us, B(v.label), 1)) : S("", !0),
1644
+ onClick: U(g, ["stop"])
1645
+ }, null, 8, ["class"])) : w("", !0),
1646
+ v.label ? (c(), f("span", ps, B(v.label), 1)) : w("", !0),
1642
1647
  v.rightIcon ? (c(), E(K(l.value), {
1643
1648
  key: 2,
1644
1649
  class: F(["freddy-plugins-button-icon freddy-plugins-button-icon-right", `freddy-plugins-button-icon--${v.size}`]),
1645
1650
  "aria-hidden": "true",
1646
- onClick: j(k, ["stop"])
1647
- }, null, 8, ["class"])) : S("", !0)
1651
+ onClick: U(b, ["stop"])
1652
+ }, null, 8, ["class"])) : w("", !0)
1648
1653
  ], 64))
1649
- ], 42, rs));
1654
+ ], 42, ds));
1650
1655
  }
1651
- }), Oe = /* @__PURE__ */ H(ps, [["__scopeId", "data-v-ca53fa07"]]), hs = ["disabled", "aria-label", "onClick"], fs = {
1656
+ }), Ne = /* @__PURE__ */ H(hs, [["__scopeId", "data-v-ca53fa07"]]), fs = ["disabled", "aria-label", "onClick"], ms = {
1652
1657
  key: 0,
1653
1658
  class: "freddy-plugins-social-button-label"
1654
- }, ms = /* @__PURE__ */ N({
1659
+ }, vs = /* @__PURE__ */ N({
1655
1660
  __name: "SocialButtons",
1656
1661
  props: {
1657
1662
  providers: {},
@@ -1804,37 +1809,37 @@ const xt = [
1804
1809
  "freddy-plugins-social-button--disabled": s.disabled,
1805
1810
  "freddy-plugins-social-button--icon-only": s.iconOnly
1806
1811
  }
1807
- ], o = (g, k) => {
1808
- s.disabled || e("click", g, k);
1812
+ ], o = (g, b) => {
1813
+ s.disabled || e("click", g, b);
1809
1814
  };
1810
- return (g, k) => (c(), f("div", {
1815
+ return (g, b) => (c(), f("div", {
1811
1816
  class: F(l.value),
1812
1817
  style: oe(g.style)
1813
1818
  }, [
1814
- (c(!0), f(O, null, U(g.providers, (P) => (c(), f("button", {
1815
- key: P,
1816
- class: F(d(P)),
1819
+ (c(!0), f(O, null, j(g.providers, ($) => (c(), f("button", {
1820
+ key: $,
1821
+ class: F(d($)),
1817
1822
  disabled: g.disabled,
1818
- "aria-label": g.iconOnly ? u(P) : void 0,
1823
+ "aria-label": g.iconOnly ? u($) : void 0,
1819
1824
  role: "button",
1820
- onClick: (V) => o(P, V)
1825
+ onClick: (V) => o($, V)
1821
1826
  }, [
1822
- (c(), E(K(r(P)), {
1827
+ (c(), E(K(r($)), {
1823
1828
  class: "freddy-plugins-social-button-icon",
1824
1829
  "aria-hidden": "true"
1825
1830
  })),
1826
- g.iconOnly ? S("", !0) : (c(), f("span", fs, B(u(P)), 1))
1827
- ], 10, hs))), 128))
1831
+ g.iconOnly ? w("", !0) : (c(), f("span", ms, B(u($)), 1))
1832
+ ], 10, fs))), 128))
1828
1833
  ], 6));
1829
1834
  }
1830
- }), sc = /* @__PURE__ */ H(ms, [["__scopeId", "data-v-22e5ee7c"]]), vs = ["innerHTML"], De = "nord", ic = /* @__PURE__ */ N({
1835
+ }), ic = /* @__PURE__ */ H(vs, [["__scopeId", "data-v-22e5ee7c"]]), ys = ["innerHTML"], Ae = "nord", ac = /* @__PURE__ */ N({
1831
1836
  __name: "CodeBlock",
1832
1837
  props: {
1833
1838
  code: {},
1834
1839
  language: {}
1835
1840
  },
1836
1841
  setup(y) {
1837
- const m = y, s = D("");
1842
+ const m = y, s = A("");
1838
1843
  let e = null, i = null;
1839
1844
  const l = async () => {
1840
1845
  try {
@@ -1872,30 +1877,30 @@ const xt = [
1872
1877
  }
1873
1878
  try {
1874
1879
  e || (e = await i({
1875
- themes: [De],
1880
+ themes: [Ae],
1876
1881
  langs: r
1877
1882
  })), s.value = e.codeToHtml(m.code, {
1878
1883
  lang: m.language,
1879
- theme: De
1884
+ theme: Ae
1880
1885
  });
1881
1886
  } catch {
1882
1887
  s.value = `<pre><code>${m.code.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;")}</code></pre>`;
1883
1888
  }
1884
1889
  };
1885
1890
  return G(() => [m.code, m.language], u, { immediate: !0 }), me(u), (d, o) => (c(), f("pre", null, [
1886
- a("code", { innerHTML: s.value }, null, 8, vs)
1891
+ a("code", { innerHTML: s.value }, null, 8, ys)
1887
1892
  ]));
1888
1893
  }
1889
- }), ys = ["aria-checked", "aria-disabled", "aria-label"], gs = ["checked", "disabled"], Is = {
1894
+ }), gs = ["aria-checked", "aria-disabled", "aria-label"], Is = ["checked", "disabled"], bs = {
1890
1895
  key: 0,
1891
1896
  class: "freddy-plugins-checkbox-dash"
1892
- }, bs = {
1897
+ }, ks = {
1893
1898
  key: 1,
1894
1899
  class: "freddy-plugins-checkbox-icon",
1895
1900
  viewBox: "0 0 12 12",
1896
1901
  fill: "none",
1897
1902
  xmlns: "http://www.w3.org/2000/svg"
1898
- }, ks = ["stroke"], ac = /* @__PURE__ */ N({
1903
+ }, _s = ["stroke"], lc = /* @__PURE__ */ N({
1899
1904
  __name: "CustomCheckbox",
1900
1905
  props: {
1901
1906
  isChecked: { type: Boolean },
@@ -1931,19 +1936,19 @@ const xt = [
1931
1936
  checked: l.isChecked,
1932
1937
  disabled: l.disabled,
1933
1938
  onChange: i
1934
- }, null, 40, gs),
1935
- l.isDashInput && l.isChecked ? (c(), f("span", Is)) : l.isChecked && !l.isDashInput ? (c(), f("svg", bs, [
1939
+ }, null, 40, Is),
1940
+ l.isDashInput && l.isChecked ? (c(), f("span", bs)) : l.isChecked && !l.isDashInput ? (c(), f("svg", ks, [
1936
1941
  a("path", {
1937
1942
  d: "M10 3L4.5 8.5L2 6",
1938
1943
  stroke: l.blueCheckbox ? "var(--text-50, var(--text-inverse))" : "#000",
1939
1944
  "stroke-width": "1.6666",
1940
1945
  "stroke-linecap": "round",
1941
1946
  "stroke-linejoin": "round"
1942
- }, null, 8, ks)
1943
- ])) : S("", !0)
1944
- ], 10, ys));
1947
+ }, null, 8, _s)
1948
+ ])) : w("", !0)
1949
+ ], 10, gs));
1945
1950
  }
1946
- }), _s = ["aria-label"], Cs = ["innerHTML"], ws = { key: 1 }, Ss = /* @__PURE__ */ N({
1951
+ }), Cs = ["aria-label"], ws = ["innerHTML"], Ss = { key: 1 }, Ts = /* @__PURE__ */ N({
1947
1952
  __name: "TooltipV2",
1948
1953
  props: {
1949
1954
  text: {},
@@ -1954,13 +1959,13 @@ const xt = [
1954
1959
  hideDelay: { default: 0 }
1955
1960
  },
1956
1961
  setup(y) {
1957
- const m = y, s = D(!1), e = D(!1), i = D(null);
1962
+ const m = y, s = A(!1), e = A(!1), i = A(null);
1958
1963
  let l = null, r = null;
1959
1964
  const u = () => {
1960
1965
  r && (clearTimeout(r), r = null), l && clearTimeout(l), l = setTimeout(() => {
1961
1966
  if (i.value) {
1962
- const k = i.value.getBoundingClientRect();
1963
- e.value = k.top < 150;
1967
+ const b = i.value.getBoundingClientRect();
1968
+ e.value = b.top < 150;
1964
1969
  }
1965
1970
  s.value = !0;
1966
1971
  }, m.delay);
@@ -1973,7 +1978,7 @@ const xt = [
1973
1978
  }, g = () => {
1974
1979
  d();
1975
1980
  };
1976
- return (k, P) => (c(), f("div", {
1981
+ return (b, $) => (c(), f("div", {
1977
1982
  ref_key: "tooltipWrapper",
1978
1983
  ref: i,
1979
1984
  class: "freddy-plugins-tooltip-v2-wrapper",
@@ -1983,33 +1988,33 @@ const xt = [
1983
1988
  onFocusout: g,
1984
1989
  tabindex: "0"
1985
1990
  }, [
1986
- q(k.$slots, "default", {}, void 0, !0),
1991
+ q(b.$slots, "default", {}, void 0, !0),
1987
1992
  L(le, { name: "fade" }, {
1988
1993
  default: Z(() => [
1989
1994
  s.value ? (c(), f("div", {
1990
1995
  key: 0,
1991
1996
  class: F(["freddy-plugins-tooltip-v2-content", [
1992
- k.placement,
1997
+ b.placement,
1993
1998
  e.value ? "force-bottom" : "",
1994
- k.contentClass
1999
+ b.contentClass
1995
2000
  ]]),
1996
2001
  role: "tooltip",
1997
- "aria-label": k.text
2002
+ "aria-label": b.text
1998
2003
  }, [
1999
- q(k.$slots, "content", {}, () => [
2000
- k.html ? (c(), f("span", {
2004
+ q(b.$slots, "content", {}, () => [
2005
+ b.html ? (c(), f("span", {
2001
2006
  key: 0,
2002
- innerHTML: k.text
2003
- }, null, 8, Cs)) : (c(), f("span", ws, B(k.text), 1))
2007
+ innerHTML: b.text
2008
+ }, null, 8, ws)) : (c(), f("span", Ss, B(b.text), 1))
2004
2009
  ], !0)
2005
- ], 10, _s)) : S("", !0)
2010
+ ], 10, Cs)) : w("", !0)
2006
2011
  ]),
2007
2012
  _: 3
2008
2013
  })
2009
2014
  ], 544));
2010
2015
  }
2011
- }), Ts = /* @__PURE__ */ H(Ss, [["__scopeId", "data-v-55872ec8"]]);
2012
- class $s {
2016
+ }), $s = /* @__PURE__ */ H(Ts, [["__scopeId", "data-v-55872ec8"]]);
2017
+ class xs {
2013
2018
  constructor(m) {
2014
2019
  ye(this, "apiKey", null);
2015
2020
  ye(this, "baseUrl", "https://api.openai.com/v1");
@@ -2277,8 +2282,8 @@ User request: ${m}` : m, o = {
2277
2282
  success: !1,
2278
2283
  error: ((e = (await g.json().catch(() => ({}))).error) == null ? void 0 : e.message) || `API request failed with status ${g.status}: ${g.statusText}`
2279
2284
  };
2280
- const P = (u = (r = (l = (i = (await g.json()).output) == null ? void 0 : i[0]) == null ? void 0 : l.content) == null ? void 0 : r[0]) == null ? void 0 : u.text;
2281
- return P ? this.processResponse(P, m, s) : {
2285
+ const $ = (u = (r = (l = (i = (await g.json()).output) == null ? void 0 : i[0]) == null ? void 0 : l.content) == null ? void 0 : r[0]) == null ? void 0 : u.text;
2286
+ return $ ? this.processResponse($, m, s) : {
2282
2287
  success: !1,
2283
2288
  error: "No response received from AI"
2284
2289
  };
@@ -2306,48 +2311,48 @@ User request: ${m}` : m, o = {
2306
2311
  };
2307
2312
  }
2308
2313
  }
2309
- const ue = new $s(
2314
+ const ue = new xs(
2310
2315
  "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"
2311
- ), xs = { class: "freddy-plugins-simple-chat-interface" }, Ps = { class: "freddy-plugins-messages-list" }, As = {
2316
+ ), Ps = { class: "freddy-plugins-simple-chat-interface" }, As = { class: "freddy-plugins-messages-list" }, Ds = {
2312
2317
  key: 0,
2313
2318
  class: "freddy-plugins-user-message-container"
2314
- }, Ds = { class: "freddy-plugins-user-bubble" }, Fs = { class: "freddy-plugins-user-actions" }, Bs = {
2319
+ }, Fs = { class: "freddy-plugins-user-bubble" }, Bs = { class: "freddy-plugins-user-actions" }, Ms = {
2315
2320
  class: "freddy-plugins-action-btn",
2316
2321
  title: "Copy"
2317
- }, Ms = {
2322
+ }, Ls = {
2318
2323
  class: "freddy-plugins-action-btn",
2319
2324
  title: "Edit"
2320
- }, Ls = {
2325
+ }, Vs = {
2321
2326
  key: 1,
2322
2327
  class: "freddy-plugins-assistant-message-container"
2323
- }, Vs = { class: "freddy-plugins-assistant-content" }, Es = { class: "freddy-plugins-assistant-text" }, Ns = {
2328
+ }, Es = { class: "freddy-plugins-assistant-content" }, Ns = { class: "freddy-plugins-assistant-text" }, Rs = {
2324
2329
  key: 0,
2325
2330
  class: "freddy-plugins-changes-card"
2326
- }, Rs = { class: "freddy-plugins-changes-header" }, Os = { class: "freddy-plugins-header-left" }, zs = { class: "freddy-plugins-change-title" }, Hs = {
2331
+ }, Os = { class: "freddy-plugins-changes-header" }, zs = { class: "freddy-plugins-header-left" }, Hs = { class: "freddy-plugins-change-title" }, Us = {
2327
2332
  key: 0,
2328
2333
  class: "freddy-plugins-stat-added"
2329
2334
  }, js = {
2330
2335
  key: 1,
2331
2336
  class: "freddy-plugins-stat-removed"
2332
- }, Us = { class: "freddy-plugins-changes-content" }, Ks = { class: "freddy-plugins-content-description" }, Gs = {
2337
+ }, Ks = { class: "freddy-plugins-changes-content" }, Gs = { class: "freddy-plugins-content-description" }, Zs = {
2333
2338
  key: 0,
2334
2339
  class: "freddy-plugins-content-actions"
2335
- }, Zs = ["onClick"], qs = ["onClick"], Ws = {
2340
+ }, qs = ["onClick"], Ws = ["onClick"], Js = {
2336
2341
  key: 1,
2337
2342
  class: "freddy-plugins-applied-label"
2338
- }, Js = { class: "freddy-plugins-assistant-actions" }, Qs = {
2343
+ }, Qs = { class: "freddy-plugins-assistant-actions" }, Ys = {
2339
2344
  class: "freddy-plugins-action-btn",
2340
2345
  title: "Refresh"
2341
- }, Ys = {
2346
+ }, Xs = {
2342
2347
  class: "freddy-plugins-action-btn",
2343
2348
  title: "Copy"
2344
- }, Xs = {
2349
+ }, ei = {
2345
2350
  class: "freddy-plugins-action-btn",
2346
2351
  title: "Thumbs down"
2347
- }, ei = {
2352
+ }, ti = {
2348
2353
  key: 0,
2349
2354
  class: "freddy-plugins-processing-indicator"
2350
- }, ti = { class: "freddy-plugins-chat-input-area" }, oi = { class: "freddy-plugins-folder-btn" }, ni = ["placeholder", "onKeydown"], si = ["disabled"], ii = /* @__PURE__ */ N({
2355
+ }, oi = { class: "freddy-plugins-chat-input-area" }, ni = { class: "freddy-plugins-folder-btn" }, si = ["placeholder", "onKeydown"], ii = ["disabled"], ai = /* @__PURE__ */ N({
2351
2356
  __name: "SimpleChatInterface",
2352
2357
  props: {
2353
2358
  placeholder: {},
@@ -2358,11 +2363,11 @@ const ue = new $s(
2358
2363
  },
2359
2364
  emits: ["send", "acceptChanges", "denyChanges", "textReplacement", "textCompletion"],
2360
2365
  setup(y, { expose: m, emit: s }) {
2361
- const e = y, i = s, l = D(""), r = D(null), u = D(null), d = D(e.messages || []), o = D(!1);
2366
+ const e = y, i = s, l = A(""), r = A(null), u = A(null), d = A(e.messages || []), o = A(!1);
2362
2367
  e.openaiApiKey && ue.setApiKey(e.openaiApiKey), G(
2363
2368
  () => e.messages,
2364
2369
  (t) => {
2365
- t && (d.value = t, b());
2370
+ t && (d.value = t, k());
2366
2371
  }
2367
2372
  ), G(
2368
2373
  () => e.openaiApiKey,
@@ -2381,7 +2386,7 @@ const ue = new $s(
2381
2386
  default:
2382
2387
  return "Text Improvement";
2383
2388
  }
2384
- }, k = (t) => {
2389
+ }, b = (t) => {
2385
2390
  switch (t) {
2386
2391
  case "replace":
2387
2392
  return "Your text has been improved and replaced";
@@ -2392,8 +2397,8 @@ const ue = new $s(
2392
2397
  default:
2393
2398
  return "Text has been improved";
2394
2399
  }
2395
- }, P = async (t) => {
2396
- var p, w;
2400
+ }, $ = async (t) => {
2401
+ var p, S;
2397
2402
  if (!ue.isConfigured()) {
2398
2403
  const _ = {
2399
2404
  id: Date.now().toString(),
@@ -2401,7 +2406,7 @@ const ue = new $s(
2401
2406
  sender: "assistant",
2402
2407
  timestamp: /* @__PURE__ */ new Date()
2403
2408
  };
2404
- d.value.push(_), b();
2409
+ d.value.push(_), k();
2405
2410
  return;
2406
2411
  }
2407
2412
  o.value = !0;
@@ -2420,9 +2425,9 @@ const ue = new $s(
2420
2425
  // Explicitly set to false for new messages
2421
2426
  changes: _.hasChanges ? {
2422
2427
  title: _.changeTitle || g(_.action),
2423
- description: _.changeDescription || k(_.action),
2428
+ description: _.changeDescription || b(_.action),
2424
2429
  added: ((p = _.stats) == null ? void 0 : p.added) || 0,
2425
- removed: ((w = _.stats) == null ? void 0 : w.removed) || 0,
2430
+ removed: ((S = _.stats) == null ? void 0 : S.removed) || 0,
2426
2431
  data: {
2427
2432
  originalText: e.textBoxContent,
2428
2433
  improvedText: _.improvedText || _.content,
@@ -2430,7 +2435,7 @@ const ue = new $s(
2430
2435
  }
2431
2436
  } : void 0
2432
2437
  };
2433
- d.value.push(n), b();
2438
+ d.value.push(n), k();
2434
2439
  } else {
2435
2440
  const n = {
2436
2441
  id: Date.now().toString(),
@@ -2438,7 +2443,7 @@ const ue = new $s(
2438
2443
  sender: "assistant",
2439
2444
  timestamp: /* @__PURE__ */ new Date()
2440
2445
  };
2441
- d.value.push(n), b();
2446
+ d.value.push(n), k();
2442
2447
  }
2443
2448
  } catch {
2444
2449
  const n = {
@@ -2447,7 +2452,7 @@ const ue = new $s(
2447
2452
  sender: "assistant",
2448
2453
  timestamp: /* @__PURE__ */ new Date()
2449
2454
  };
2450
- d.value.push(n), b();
2455
+ d.value.push(n), k();
2451
2456
  } finally {
2452
2457
  o.value = !1;
2453
2458
  }
@@ -2460,7 +2465,7 @@ const ue = new $s(
2460
2465
  sender: "user",
2461
2466
  timestamp: /* @__PURE__ */ new Date()
2462
2467
  };
2463
- d.value.push(p), i("send", t), l.value = "", T(), b(), e.enableAI && await P(t);
2468
+ d.value.push(p), i("send", t), l.value = "", T(), k(), e.enableAI && await $(t);
2464
2469
  }, v = () => {
2465
2470
  l.value += `
2466
2471
  `, T();
@@ -2468,7 +2473,7 @@ const ue = new $s(
2468
2473
  te(() => {
2469
2474
  u.value && (u.value.style.height = "auto", u.value.style.height = Math.min(u.value.scrollHeight, 120) + "px");
2470
2475
  });
2471
- }, b = () => {
2476
+ }, k = () => {
2472
2477
  te(() => {
2473
2478
  r.value && (r.value.scrollTop = r.value.scrollHeight);
2474
2479
  });
@@ -2479,126 +2484,126 @@ const ue = new $s(
2479
2484
  };
2480
2485
  return m({
2481
2486
  addAIResponse: (t, p) => {
2482
- const w = {
2487
+ const S = {
2483
2488
  id: Date.now().toString(),
2484
2489
  content: t,
2485
2490
  sender: "assistant",
2486
2491
  timestamp: /* @__PURE__ */ new Date(),
2487
2492
  changes: p
2488
2493
  };
2489
- d.value.push(w), b();
2494
+ d.value.push(S), k();
2490
2495
  },
2491
2496
  addAIResponseFromApi: (t) => {
2492
- const p = gt(t), w = It(p), _ = bt(p), n = {
2497
+ const p = gt(t), S = It(p), _ = bt(p), n = {
2493
2498
  id: Date.now().toString(),
2494
- content: w,
2499
+ content: S,
2495
2500
  sender: "assistant",
2496
2501
  timestamp: /* @__PURE__ */ new Date(),
2497
2502
  applied: !1,
2498
2503
  // Explicitly set to false for new messages
2499
2504
  changes: _
2500
2505
  };
2501
- d.value.push(n), b();
2506
+ d.value.push(n), k();
2502
2507
  }
2503
- }), (t, p) => (c(), f("div", xs, [
2508
+ }), (t, p) => (c(), f("div", Ps, [
2504
2509
  a("div", {
2505
2510
  ref_key: "messagesContainer",
2506
2511
  ref: r,
2507
2512
  class: "freddy-plugins-chat-messages"
2508
2513
  }, [
2509
- a("div", Ps, [
2510
- (c(!0), f(O, null, U(d.value, (w) => (c(), f("div", {
2511
- key: w.id,
2512
- class: F(["freddy-plugins-message", w.sender])
2514
+ a("div", As, [
2515
+ (c(!0), f(O, null, j(d.value, (S) => (c(), f("div", {
2516
+ key: S.id,
2517
+ class: F(["freddy-plugins-message", S.sender])
2513
2518
  }, [
2514
- w.sender === "user" ? (c(), f("div", As, [
2515
- a("div", Ds, B(w.content), 1),
2516
- a("div", Fs, [
2517
- a("button", Bs, [
2518
- L(A(Te), { class: "freddy-plugins-action-icon" })
2519
- ]),
2519
+ S.sender === "user" ? (c(), f("div", Ds, [
2520
+ a("div", Fs, B(S.content), 1),
2521
+ a("div", Bs, [
2520
2522
  a("button", Ms, [
2521
- L(A(pe), { class: "freddy-plugins-action-icon" })
2523
+ L(D(Se), { class: "freddy-plugins-action-icon" })
2524
+ ]),
2525
+ a("button", Ls, [
2526
+ L(D(pe), { class: "freddy-plugins-action-icon" })
2522
2527
  ])
2523
2528
  ])
2524
- ])) : (c(), f("div", Ls, [
2525
- a("div", Vs, [
2526
- a("p", Es, B(w.content), 1),
2527
- w.changes ? (c(), f("div", Ns, [
2528
- a("div", Rs, [
2529
- a("div", Os, [
2530
- L(A(ht), { class: "freddy-plugins-building-icon" }),
2531
- a("span", zs, B(w.changes.title || "Instructions"), 1),
2532
- w.changes.added > 0 ? (c(), f("span", Hs, "+" + B(w.changes.added), 1)) : S("", !0),
2533
- w.changes.removed > 0 ? (c(), f("span", js, "-" + B(w.changes.removed), 1)) : S("", !0),
2529
+ ])) : (c(), f("div", Vs, [
2530
+ a("div", Es, [
2531
+ a("p", Ns, B(S.content), 1),
2532
+ S.changes ? (c(), f("div", Rs, [
2533
+ a("div", Os, [
2534
+ a("div", zs, [
2535
+ L(D(ht), { class: "freddy-plugins-building-icon" }),
2536
+ a("span", Hs, B(S.changes.title || "Instructions"), 1),
2537
+ S.changes.added > 0 ? (c(), f("span", Us, "+" + B(S.changes.added), 1)) : w("", !0),
2538
+ S.changes.removed > 0 ? (c(), f("span", js, "-" + B(S.changes.removed), 1)) : w("", !0),
2534
2539
  p[1] || (p[1] = a("span", { class: "freddy-plugins-changes-applied" }, "Changes applied", -1))
2535
2540
  ])
2536
2541
  ]),
2537
- a("div", Us, [
2542
+ a("div", Ks, [
2538
2543
  p[5] || (p[5] = a("div", { class: "freddy-plugins-content-header" }, [
2539
2544
  a("span", { class: "freddy-plugins-content-title" }, "Instructions")
2540
2545
  ], -1)),
2541
- a("p", Ks, B(w.changes.description), 1),
2542
- w.applied ? (c(), f("div", Ws, [
2543
- L(A($e), { class: "freddy-plugins-applied-icon" }),
2546
+ a("p", Gs, B(S.changes.description), 1),
2547
+ S.applied ? (c(), f("div", Js, [
2548
+ L(D(Te), { class: "freddy-plugins-applied-icon" }),
2544
2549
  p[4] || (p[4] = J(" Applied ", -1))
2545
- ])) : (c(), f("div", Gs, [
2550
+ ])) : (c(), f("div", Zs, [
2546
2551
  a("button", {
2547
2552
  class: "freddy-plugins-accept-btn",
2548
- onClick: (_) => I(w)
2553
+ onClick: (_) => I(S)
2549
2554
  }, [
2550
- L(A($e), { class: "freddy-plugins-btn-icon" }),
2555
+ L(D(Te), { class: "freddy-plugins-btn-icon" }),
2551
2556
  p[2] || (p[2] = J(" Accept ", -1))
2552
- ], 8, Zs),
2557
+ ], 8, qs),
2553
2558
  a("button", {
2554
2559
  class: "freddy-plugins-deny-btn",
2555
- onClick: (_) => C(w)
2560
+ onClick: (_) => C(S)
2556
2561
  }, [
2557
- L(A(ee), { class: "freddy-plugins-btn-icon" }),
2562
+ L(D(ee), { class: "freddy-plugins-btn-icon" }),
2558
2563
  p[3] || (p[3] = J(" Deny ", -1))
2559
- ], 8, qs)
2564
+ ], 8, Ws)
2560
2565
  ]))
2561
2566
  ])
2562
- ])) : S("", !0),
2563
- a("div", Js, [
2564
- a("button", Qs, [
2565
- L(A(ft), { class: "freddy-plugins-action-icon" })
2566
- ]),
2567
+ ])) : w("", !0),
2568
+ a("div", Qs, [
2567
2569
  a("button", Ys, [
2568
- L(A(Te), { class: "freddy-plugins-action-icon" })
2570
+ L(D(ft), { class: "freddy-plugins-action-icon" })
2569
2571
  ]),
2570
2572
  a("button", Xs, [
2571
- L(A(mt), { class: "freddy-plugins-action-icon" })
2573
+ L(D(Se), { class: "freddy-plugins-action-icon" })
2574
+ ]),
2575
+ a("button", ei, [
2576
+ L(D(mt), { class: "freddy-plugins-action-icon" })
2572
2577
  ])
2573
2578
  ])
2574
2579
  ])
2575
2580
  ]))
2576
2581
  ], 2))), 128))
2577
2582
  ]),
2578
- o.value ? (c(), f("div", ei, [...p[6] || (p[6] = [
2583
+ o.value ? (c(), f("div", ti, [...p[6] || (p[6] = [
2579
2584
  a("div", { class: "freddy-plugins-processing-content" }, [
2580
2585
  a("div", { class: "freddy-plugins-processing-spinner" }),
2581
2586
  a("span", { class: "freddy-plugins-processing-text" }, "AI is processing your request...")
2582
2587
  ], -1)
2583
- ])])) : S("", !0)
2588
+ ])])) : w("", !0)
2584
2589
  ], 512),
2585
- a("div", ti, [
2586
- a("button", oi, [
2587
- L(A(vt), { class: "freddy-plugins-folder-icon" })
2590
+ a("div", oi, [
2591
+ a("button", ni, [
2592
+ L(D(vt), { class: "freddy-plugins-folder-icon" })
2588
2593
  ]),
2589
2594
  Q(a("textarea", {
2590
2595
  ref_key: "inputRef",
2591
2596
  ref: u,
2592
- "onUpdate:modelValue": p[0] || (p[0] = (w) => l.value = w),
2597
+ "onUpdate:modelValue": p[0] || (p[0] = (S) => l.value = S),
2593
2598
  placeholder: t.placeholder || "Type here...",
2594
2599
  class: "freddy-plugins-chat-input",
2595
2600
  rows: "1",
2596
2601
  onKeydown: [
2597
- z(j(V, ["exact", "prevent"]), ["enter"]),
2598
- z(j(v, ["shift", "exact"]), ["enter"])
2602
+ z(U(V, ["exact", "prevent"]), ["enter"]),
2603
+ z(U(v, ["shift", "exact"]), ["enter"])
2599
2604
  ],
2600
2605
  onInput: T
2601
- }, null, 40, ni), [
2606
+ }, null, 40, si), [
2602
2607
  [Y, l.value]
2603
2608
  ]),
2604
2609
  a("button", {
@@ -2606,15 +2611,15 @@ const ue = new $s(
2606
2611
  disabled: !l.value.trim(),
2607
2612
  onClick: V
2608
2613
  }, [
2609
- L(A(yt), { class: "freddy-plugins-send-icon" })
2610
- ], 8, si)
2614
+ L(D(yt), { class: "freddy-plugins-send-icon" })
2615
+ ], 8, ii)
2611
2616
  ])
2612
2617
  ]));
2613
2618
  }
2614
- }), ai = { class: "freddy-plugins-edit-excerpt-modal-content" }, li = { class: "freddy-plugins-edit-excerpt-modal-header" }, ci = { class: "freddy-plugins-edit-excerpt-modal-header-content" }, ri = { class: "freddy-plugins-edit-excerpt-modal-icon" }, di = { class: "freddy-plugins-edit-excerpt-modal-text" }, ui = { class: "freddy-plugins-edit-excerpt-modal-title" }, pi = { class: "freddy-plugins-edit-excerpt-modal-subtitle" }, hi = { class: "freddy-plugins-edit-excerpt-modal-textarea-section" }, fi = { class: "freddy-plugins-edit-excerpt-modal-footer" }, mi = { class: "freddy-plugins-edit-excerpt-modal-footer-content" }, vi = {
2619
+ }), li = { class: "freddy-plugins-edit-excerpt-modal-content" }, ci = { class: "freddy-plugins-edit-excerpt-modal-header" }, ri = { class: "freddy-plugins-edit-excerpt-modal-header-content" }, di = { class: "freddy-plugins-edit-excerpt-modal-icon" }, ui = { class: "freddy-plugins-edit-excerpt-modal-text" }, pi = { class: "freddy-plugins-edit-excerpt-modal-title" }, hi = { class: "freddy-plugins-edit-excerpt-modal-subtitle" }, fi = { class: "freddy-plugins-edit-excerpt-modal-textarea-section" }, mi = { class: "freddy-plugins-edit-excerpt-modal-footer" }, vi = { class: "freddy-plugins-edit-excerpt-modal-footer-content" }, yi = {
2615
2620
  key: 0,
2616
2621
  class: "freddy-plugins-edit-excerpt-modal-ai-container"
2617
- }, yi = /* @__PURE__ */ N({
2622
+ }, gi = /* @__PURE__ */ N({
2618
2623
  __name: "EditFeaturedExcerptModal",
2619
2624
  props: {
2620
2625
  isVisible: {
@@ -2648,7 +2653,7 @@ const ue = new $s(
2648
2653
  },
2649
2654
  emits: ["close", "save", "cancel", "askAI", "toggleAI"],
2650
2655
  setup(y, { emit: m }) {
2651
- const s = y, e = m, i = D(s.initialContent), l = D(!1), r = D([]), u = D(null);
2656
+ const s = y, e = m, i = A(s.initialContent), l = A(!1), r = A([]), u = A(null);
2652
2657
  G(
2653
2658
  () => s.initialContent,
2654
2659
  (I) => {
@@ -2661,39 +2666,39 @@ const ue = new $s(
2661
2666
  e("save", i.value);
2662
2667
  }, g = () => {
2663
2668
  l.value = !1, r.value = [], e("cancel");
2664
- }, k = () => {
2669
+ }, b = () => {
2665
2670
  l.value = !0, e("toggleAI", l.value), e("askAI", i.value);
2666
- }, P = async (I) => {
2671
+ }, $ = async (I) => {
2667
2672
  }, V = (I) => {
2668
2673
  I.changes && I.changes.data && I.changes.data.improvedText && (i.value, i.value = I.changes.data.improvedText, I.applied = !0);
2669
2674
  }, v = (I) => {
2670
2675
  }, T = (I) => {
2671
- }, b = (I) => {
2676
+ }, k = (I) => {
2672
2677
  };
2673
2678
  return (I, C) => (c(), E(le, { name: "modal" }, {
2674
2679
  default: Z(() => [
2675
2680
  y.isVisible ? (c(), f("div", {
2676
2681
  key: 0,
2677
2682
  class: "freddy-plugins-edit-excerpt-modal-overlay",
2678
- onClick: j(d, ["self"])
2683
+ onClick: U(d, ["self"])
2679
2684
  }, [
2680
2685
  a("div", {
2681
2686
  class: F(["freddy-plugins-edit-excerpt-modal-container", { "ai-active": l.value }])
2682
2687
  }, [
2683
- a("div", ai, [
2684
- a("div", li, [
2685
- a("div", ci, [
2686
- a("div", ri, [
2687
- L(A(kt), {
2688
+ a("div", li, [
2689
+ a("div", ci, [
2690
+ a("div", ri, [
2691
+ a("div", di, [
2692
+ L(D(kt), {
2688
2693
  class: "freddy-plugins-edit-excerpt-edit-icon",
2689
2694
  "center-distance": 36,
2690
2695
  "circle-gap": 44,
2691
2696
  "show-circles": !0
2692
2697
  })
2693
2698
  ]),
2694
- a("div", di, [
2695
- a("h2", ui, B(y.title), 1),
2696
- a("p", pi, B(y.description), 1)
2699
+ a("div", ui, [
2700
+ a("h2", pi, B(y.title), 1),
2701
+ a("p", hi, B(y.description), 1)
2697
2702
  ])
2698
2703
  ]),
2699
2704
  a("button", {
@@ -2702,14 +2707,14 @@ const ue = new $s(
2702
2707
  onClick: d,
2703
2708
  "aria-label": "Close modal"
2704
2709
  }, [
2705
- L(A(ee), { class: "freddy-plugins-edit-excerpt-modal-close-icon" })
2710
+ L(D(ee), { class: "freddy-plugins-edit-excerpt-modal-close-icon" })
2706
2711
  ], 4),
2707
- S("", !0),
2712
+ w("", !0),
2708
2713
  C[1] || (C[1] = a("div", { class: "freddy-plugins-edit-excerpt-modal-header-spacing" }, null, -1))
2709
2714
  ]),
2710
- a("div", hi, [
2715
+ a("div", fi, [
2711
2716
  Q(a("textarea", {
2712
- "onUpdate:modelValue": C[0] || (C[0] = (x) => i.value = x),
2717
+ "onUpdate:modelValue": C[0] || (C[0] = (P) => i.value = P),
2713
2718
  class: "freddy-plugins-edit-excerpt-modal-textarea",
2714
2719
  placeholder: "The text thats needed",
2715
2720
  rows: "12"
@@ -2717,14 +2722,14 @@ const ue = new $s(
2717
2722
  [Y, i.value]
2718
2723
  ])
2719
2724
  ]),
2720
- a("div", fi, [
2721
- a("div", mi, [
2722
- l.value ? S("", !0) : (c(), f("button", {
2725
+ a("div", mi, [
2726
+ a("div", vi, [
2727
+ l.value ? w("", !0) : (c(), f("button", {
2723
2728
  key: 0,
2724
2729
  class: "freddy-plugins-edit-excerpt-modal-ai-btn",
2725
- onClick: k
2730
+ onClick: b
2726
2731
  }, [
2727
- L(A(Me), { class: "freddy-plugins-edit-excerpt-modal-ai-icon" }),
2732
+ L(D(Fe), { class: "freddy-plugins-edit-excerpt-modal-ai-icon" }),
2728
2733
  C[2] || (C[2] = a("span", { class: "freddy-plugins-edit-excerpt-modal-ai-text" }, " Ask AI ", -1))
2729
2734
  ])),
2730
2735
  a("div", { class: "freddy-plugins-edit-excerpt-modal-action-buttons" }, [
@@ -2740,8 +2745,8 @@ const ue = new $s(
2740
2745
  ])
2741
2746
  ])
2742
2747
  ]),
2743
- l.value ? (c(), f("div", vi, [
2744
- L(ii, {
2748
+ l.value ? (c(), f("div", yi, [
2749
+ L(ai, {
2745
2750
  ref_key: "chatRef",
2746
2751
  ref: u,
2747
2752
  placeholder: "Type here...",
@@ -2749,29 +2754,29 @@ const ue = new $s(
2749
2754
  "enable-a-i": !0,
2750
2755
  "openai-api-key": y.openaiApiKey,
2751
2756
  "text-box-content": i.value,
2752
- onSend: P,
2757
+ onSend: $,
2753
2758
  onAcceptChanges: V,
2754
2759
  onDenyChanges: v,
2755
2760
  onTextReplacement: T,
2756
- onTextCompletion: b
2761
+ onTextCompletion: k
2757
2762
  }, null, 8, ["messages", "openai-api-key", "text-box-content"])
2758
- ])) : S("", !0)
2763
+ ])) : w("", !0)
2759
2764
  ], 2)
2760
- ])) : S("", !0)
2765
+ ])) : w("", !0)
2761
2766
  ]),
2762
2767
  _: 1
2763
2768
  }));
2764
2769
  }
2765
- }), Ie = /* @__PURE__ */ H(yi, [["__scopeId", "data-v-d2e675b0"]]), gi = { class: "freddy-plugins-textarea-input-field-wrapper" }, Ii = { class: "freddy-plugins-textarea-input-container" }, bi = { class: "freddy-plugins-textarea-header" }, ki = { class: "freddy-plugins-textarea-label-wrapper" }, _i = { class: "freddy-plugins-textarea-label-container" }, Ci = {
2770
+ }), Ie = /* @__PURE__ */ H(gi, [["__scopeId", "data-v-d2e675b0"]]), Ii = { class: "freddy-plugins-textarea-input-field-wrapper" }, bi = { class: "freddy-plugins-textarea-input-container" }, ki = { class: "freddy-plugins-textarea-header" }, _i = { class: "freddy-plugins-textarea-label-wrapper" }, Ci = { class: "freddy-plugins-textarea-label-container" }, wi = {
2766
2771
  key: 0,
2767
2772
  class: "freddy-plugins-textarea-required"
2768
- }, wi = { class: "freddy-plugins-textarea-input-wrapper" }, Si = ["placeholder", "disabled", "readonly"], Ti = {
2773
+ }, Si = { class: "freddy-plugins-textarea-input-wrapper" }, Ti = ["placeholder", "disabled", "readonly"], $i = {
2769
2774
  key: 1,
2770
2775
  class: "freddy-plugins-textarea-diff-container"
2771
- }, $i = { class: "freddy-plugins-textarea-diff-content" }, xi = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--old" }, Pi = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--new" }, Ai = {
2776
+ }, xi = { class: "freddy-plugins-textarea-diff-content" }, Pi = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--old" }, Ai = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--new" }, Di = {
2772
2777
  key: 2,
2773
2778
  class: "freddy-plugins-textarea-tags-container"
2774
- }, Di = { class: "freddy-plugins-textarea-tags" }, Fi = { class: "freddy-plugins-textarea-tag-content" }, Bi = ["onClick", "onKeydown", "aria-label"], Mi = /* @__PURE__ */ N({
2779
+ }, Fi = { class: "freddy-plugins-textarea-tags" }, Bi = { class: "freddy-plugins-textarea-tag-content" }, Mi = ["onClick", "onKeydown", "aria-label"], Li = /* @__PURE__ */ N({
2775
2780
  __name: "TextAreaInputField",
2776
2781
  props: {
2777
2782
  modelValue: { default: "" },
@@ -2805,69 +2810,69 @@ const ue = new $s(
2805
2810
  },
2806
2811
  emits: ["update:modelValue", "input", "focus", "blur", "ask-ai", "expand", "remove-tag", "tooltip-click", "add-tag", "tags-click"],
2807
2812
  setup(y, { expose: m, emit: s }) {
2808
- const e = y, i = s, l = D(null), r = D(
2813
+ const e = y, i = s, l = A(null), r = A(
2809
2814
  null
2810
- ), u = D(e.modelValue), d = D(""), o = D(!1), g = D("expand"), k = D(!1), P = M(() => e.showTags && e.tags.length > 0 ? "" : e.placeholder);
2815
+ ), u = A(e.modelValue), d = A(""), o = A(!1), g = A("expand"), b = A(!1), $ = M(() => e.showTags && e.tags.length > 0 ? "" : e.placeholder);
2811
2816
  G(
2812
2817
  () => e.modelValue,
2813
- ($) => {
2814
- u.value = $;
2818
+ (x) => {
2819
+ u.value = x;
2815
2820
  }
2816
2821
  );
2817
2822
  const V = () => {
2818
2823
  i("update:modelValue", u.value), i("input", u.value);
2819
- }, v = ($) => {
2820
- k.value = !0, i("focus", $);
2821
- }, T = ($) => {
2822
- k.value = !1, i("blur", $);
2823
- }, b = ($) => {
2824
+ }, v = (x) => {
2825
+ b.value = !0, i("focus", x);
2826
+ }, T = (x) => {
2827
+ b.value = !1, i("blur", x);
2828
+ }, k = (x) => {
2824
2829
  }, I = () => {
2825
2830
  e.tagsOnly && i("tags-click");
2826
2831
  }, C = () => {
2827
2832
  i("tooltip-click");
2828
- }, x = ($) => {
2829
- ($.key === "Enter" || $.key === " ") && ($.preventDefault(), C());
2833
+ }, P = (x) => {
2834
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), C());
2830
2835
  }, h = () => {
2831
2836
  d.value = u.value, g.value = "ai", o.value = !0, i("ask-ai", u.value);
2832
- }, t = ($) => {
2833
- ($.key === "Enter" || $.key === " ") && ($.preventDefault(), h());
2837
+ }, t = (x) => {
2838
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), h());
2834
2839
  }, p = () => {
2835
2840
  d.value = u.value, g.value = "expand", o.value = !0, i("expand", u.value);
2836
- }, w = ($) => {
2837
- ($.key === "Enter" || $.key === " ") && ($.preventDefault(), p());
2838
- }, _ = ($) => {
2839
- i("remove-tag", $);
2840
- }, n = ($, de) => {
2841
- ($.key === "Enter" || $.key === " ") && ($.preventDefault(), _(de));
2841
+ }, S = (x) => {
2842
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), p());
2843
+ }, _ = (x) => {
2844
+ i("remove-tag", x);
2845
+ }, n = (x, de) => {
2846
+ (x.key === "Enter" || x.key === " ") && (x.preventDefault(), _(de));
2842
2847
  }, W = () => {
2843
2848
  u.value = d.value, i("update:modelValue", d.value), i("input", d.value), o.value = !1;
2844
- }, X = ($) => {
2845
- u.value = $, i("update:modelValue", $), i("input", $), o.value = !1;
2849
+ }, X = (x) => {
2850
+ u.value = x, i("update:modelValue", x), i("input", x), o.value = !1;
2846
2851
  }, Ce = () => {
2847
2852
  u.value = d.value, i("update:modelValue", d.value), i("input", d.value), o.value = !1;
2848
- }, ze = () => {
2853
+ }, Re = () => {
2849
2854
  i("ask-ai", u.value);
2850
- }, He = ($) => {
2855
+ }, Oe = (x) => {
2851
2856
  };
2852
2857
  return m({
2853
2858
  focus: () => {
2854
- var $;
2855
- ($ = l.value) == null || $.focus();
2859
+ var x;
2860
+ (x = l.value) == null || x.focus();
2856
2861
  }
2857
- }), ($, de) => (c(), f("div", gi, [
2858
- a("div", Ii, [
2859
- a("div", bi, [
2860
- a("div", ki, [
2861
- a("div", _i, [
2862
+ }), (x, de) => (c(), f("div", Ii, [
2863
+ a("div", bi, [
2864
+ a("div", ki, [
2865
+ a("div", _i, [
2866
+ a("div", Ci, [
2862
2867
  a("label", {
2863
2868
  class: F(["freddy-plugins-textarea-label", {
2864
- "freddy-plugins-textarea-label--underlined": $.showUnderlines
2869
+ "freddy-plugins-textarea-label--underlined": x.showUnderlines
2865
2870
  }])
2866
- }, B($.dynamicTitle || $.label), 3),
2867
- $.required ? (c(), f("span", Ci, "*")) : S("", !0),
2868
- $.$slots.tooltip ? q($.$slots, "tooltip", { key: 1 }, void 0, !0) : $.showTooltip && $.tooltipText ? (c(), E(Ts, {
2871
+ }, B(x.dynamicTitle || x.label), 3),
2872
+ x.required ? (c(), f("span", wi, "*")) : w("", !0),
2873
+ x.$slots.tooltip ? q(x.$slots, "tooltip", { key: 1 }, void 0, !0) : x.showTooltip && x.tooltipText ? (c(), E($s, {
2869
2874
  key: 2,
2870
- text: $.tooltipText,
2875
+ text: x.tooltipText,
2871
2876
  placement: "top"
2872
2877
  }, {
2873
2878
  default: Z(() => [
@@ -2877,16 +2882,16 @@ const ue = new $s(
2877
2882
  "aria-label": "Help",
2878
2883
  tabindex: "0",
2879
2884
  onClick: C,
2880
- onKeydown: x
2885
+ onKeydown: P
2881
2886
  }, [
2882
- L(A(fe), { class: "freddy-plugins-textarea-tooltip-icon" })
2887
+ L(D(fe), { class: "freddy-plugins-textarea-tooltip-icon" })
2883
2888
  ], 32)
2884
2889
  ]),
2885
2890
  _: 1
2886
- }, 8, ["text"])) : S("", !0)
2891
+ }, 8, ["text"])) : w("", !0)
2887
2892
  ])
2888
2893
  ]),
2889
- $.showAiButton ? (c(), f("button", {
2894
+ x.showAiButton ? (c(), f("button", {
2890
2895
  key: 0,
2891
2896
  type: "button",
2892
2897
  class: "freddy-plugins-textarea-ai-button",
@@ -2895,49 +2900,49 @@ const ue = new $s(
2895
2900
  "aria-label": "Ask AI for help",
2896
2901
  tabindex: "0"
2897
2902
  }, [
2898
- L(A(Me), { class: "freddy-plugins-textarea-ai-icon" })
2899
- ], 32)) : S("", !0)
2903
+ L(D(Fe), { class: "freddy-plugins-textarea-ai-icon" })
2904
+ ], 32)) : w("", !0)
2900
2905
  ]),
2901
- a("div", wi, [
2902
- $.diffMode ? S("", !0) : Q((c(), f("textarea", {
2906
+ a("div", Si, [
2907
+ x.diffMode ? w("", !0) : Q((c(), f("textarea", {
2903
2908
  key: 0,
2904
2909
  ref_key: "textareaRef",
2905
2910
  ref: l,
2906
2911
  "onUpdate:modelValue": de[0] || (de[0] = (ie) => u.value = ie),
2907
2912
  class: F(["freddy-plugins-textarea-input", {
2908
- "freddy-plugins-textarea-input--error": $.hasError,
2909
- "freddy-plugins-textarea-input--disabled": $.disabled,
2910
- "freddy-plugins-textarea-input--focused": k.value,
2911
- "freddy-plugins-textarea-input--with-tags": $.showTags && $.tags.length > 0,
2912
- "freddy-plugins-textarea-input--tags-only": $.tagsOnly
2913
+ "freddy-plugins-textarea-input--error": x.hasError,
2914
+ "freddy-plugins-textarea-input--disabled": x.disabled,
2915
+ "freddy-plugins-textarea-input--focused": b.value,
2916
+ "freddy-plugins-textarea-input--with-tags": x.showTags && x.tags.length > 0,
2917
+ "freddy-plugins-textarea-input--tags-only": x.tagsOnly
2913
2918
  }]),
2914
- placeholder: P.value,
2915
- disabled: $.disabled,
2916
- readonly: $.readonly || $.tagsOnly,
2919
+ placeholder: $.value,
2920
+ disabled: x.disabled,
2921
+ readonly: x.readonly || x.tagsOnly,
2917
2922
  onInput: V,
2918
2923
  onFocus: v,
2919
2924
  onBlur: T,
2920
- onKeydown: b,
2925
+ onKeydown: k,
2921
2926
  onClick: I
2922
- }, null, 42, Si)), [
2927
+ }, null, 42, Ti)), [
2923
2928
  [Y, u.value]
2924
2929
  ]),
2925
- $.diffMode ? (c(), f("div", Ti, [
2926
- a("div", $i, [
2927
- a("div", xi, B($.oldText), 1),
2928
- a("div", Pi, B($.newText), 1)
2930
+ x.diffMode ? (c(), f("div", $i, [
2931
+ a("div", xi, [
2932
+ a("div", Pi, B(x.oldText), 1),
2933
+ a("div", Ai, B(x.newText), 1)
2929
2934
  ])
2930
- ])) : S("", !0),
2931
- $.showTags && $.tags.length > 0 ? (c(), f("div", Ai, [
2932
- a("div", Di, [
2933
- (c(!0), f(O, null, U($.tags, (ie, ve) => (c(), f("div", {
2935
+ ])) : w("", !0),
2936
+ x.showTags && x.tags.length > 0 ? (c(), f("div", Di, [
2937
+ a("div", Fi, [
2938
+ (c(!0), f(O, null, j(x.tags, (ie, ve) => (c(), f("div", {
2934
2939
  key: `${ie}-${ve}`,
2935
2940
  class: "freddy-plugins-textarea-tag"
2936
2941
  }, [
2937
- a("div", Fi, [
2942
+ a("div", Bi, [
2938
2943
  a("span", {
2939
2944
  class: F(["freddy-plugins-textarea-tag-text", {
2940
- "freddy-plugins-textarea-tag-text--underlined": $.showUnderlines
2945
+ "freddy-plugins-textarea-tag-text--underlined": x.showUnderlines
2941
2946
  }])
2942
2947
  }, B(ie), 3)
2943
2948
  ]),
@@ -2949,75 +2954,75 @@ const ue = new $s(
2949
2954
  "aria-label": `Remove ${ie} tag`,
2950
2955
  tabindex: "0"
2951
2956
  }, [
2952
- L(A(ee), { class: "freddy-plugins-textarea-tag-close-icon" })
2953
- ], 40, Bi)
2957
+ L(D(ee), { class: "freddy-plugins-textarea-tag-close-icon" })
2958
+ ], 40, Mi)
2954
2959
  ]))), 128))
2955
2960
  ]),
2956
- $.showAddTagsPlaceholder ? (c(), f("span", {
2961
+ x.showAddTagsPlaceholder ? (c(), f("span", {
2957
2962
  key: 0,
2958
2963
  class: F(["freddy-plugins-textarea-add-tags", {
2959
- "freddy-plugins-textarea-add-tags--underlined": $.showUnderlines
2964
+ "freddy-plugins-textarea-add-tags--underlined": x.showUnderlines
2960
2965
  }])
2961
- }, B($.addTagsPlaceholder), 3)) : S("", !0)
2962
- ])) : S("", !0),
2966
+ }, B(x.addTagsPlaceholder), 3)) : w("", !0)
2967
+ ])) : w("", !0),
2963
2968
  a("button", {
2964
2969
  type: "button",
2965
2970
  class: "freddy-plugins-textarea-expand-button",
2966
2971
  onClick: p,
2967
- onKeydown: w,
2972
+ onKeydown: S,
2968
2973
  "aria-label": "Expand textarea",
2969
2974
  tabindex: "0"
2970
2975
  }, [
2971
- L(A(_t), { class: "freddy-plugins-textarea-expand-icon" })
2976
+ L(D(_t), { class: "freddy-plugins-textarea-expand-icon" })
2972
2977
  ], 32)
2973
2978
  ])
2974
2979
  ]),
2975
- $.showHint && $.hintText && !$.hasError ? (c(), f("p", {
2980
+ x.showHint && x.hintText && !x.hasError ? (c(), f("p", {
2976
2981
  key: 0,
2977
2982
  class: F(["freddy-plugins-textarea-hint-text", {
2978
- "freddy-plugins-textarea-hint-text--underlined": $.showUnderlines
2983
+ "freddy-plugins-textarea-hint-text--underlined": x.showUnderlines
2979
2984
  }])
2980
- }, B($.hintText), 3)) : S("", !0),
2981
- $.hasError && $.errorMessage ? (c(), f("p", {
2985
+ }, B(x.hintText), 3)) : w("", !0),
2986
+ x.hasError && x.errorMessage ? (c(), f("p", {
2982
2987
  key: 1,
2983
2988
  class: F(["freddy-plugins-textarea-error-text", {
2984
- "freddy-plugins-textarea-error-text--underlined": $.showUnderlines
2989
+ "freddy-plugins-textarea-error-text--underlined": x.showUnderlines
2985
2990
  }])
2986
- }, B($.errorMessage), 3)) : S("", !0),
2991
+ }, B(x.errorMessage), 3)) : w("", !0),
2987
2992
  g.value === "ai" ? (c(), E(Ie, {
2988
2993
  key: 2,
2989
2994
  ref_key: "aiModalRef",
2990
2995
  ref: r,
2991
2996
  "is-visible": o.value && g.value === "ai",
2992
- title: $.modalTitle,
2993
- description: $.modalDescription,
2997
+ title: x.modalTitle,
2998
+ description: x.modalDescription,
2994
2999
  "initial-content": u.value,
2995
- "openai-api-key": $.openaiApiKey,
2996
- "openai-model": $.openaiModel,
2997
- "openai-organization": $.openaiOrganization,
3000
+ "openai-api-key": x.openaiApiKey,
3001
+ "openai-model": x.openaiModel,
3002
+ "openai-organization": x.openaiOrganization,
2998
3003
  "auto-show-a-i": !0,
2999
3004
  onClose: W,
3000
3005
  onSave: X,
3001
3006
  onCancel: Ce,
3002
- onAskAI: ze,
3003
- onToggleAI: He
3004
- }, null, 8, ["is-visible", "title", "description", "initial-content", "openai-api-key", "openai-model", "openai-organization"])) : S("", !0),
3007
+ onAskAI: Re,
3008
+ onToggleAI: Oe
3009
+ }, null, 8, ["is-visible", "title", "description", "initial-content", "openai-api-key", "openai-model", "openai-organization"])) : w("", !0),
3005
3010
  g.value === "expand" ? (c(), E(Ie, {
3006
3011
  key: 3,
3007
3012
  "is-visible": o.value && g.value === "expand",
3008
- title: $.modalTitle,
3009
- description: $.modalDescription,
3013
+ title: x.modalTitle,
3014
+ description: x.modalDescription,
3010
3015
  "initial-content": u.value,
3011
3016
  "openai-api-key": "",
3012
- "openai-model": $.openaiModel,
3017
+ "openai-model": x.openaiModel,
3013
3018
  "openai-organization": "",
3014
3019
  onClose: W,
3015
3020
  onSave: X,
3016
3021
  onCancel: Ce
3017
- }, null, 8, ["is-visible", "title", "description", "initial-content", "openai-model"])) : S("", !0)
3022
+ }, null, 8, ["is-visible", "title", "description", "initial-content", "openai-model"])) : w("", !0)
3018
3023
  ]));
3019
3024
  }
3020
- }), Li = /* @__PURE__ */ H(Mi, [["__scopeId", "data-v-279e4bd4"]]), Vi = /* @__PURE__ */ N({
3025
+ }), Vi = /* @__PURE__ */ H(Li, [["__scopeId", "data-v-279e4bd4"]]), Ei = /* @__PURE__ */ N({
3021
3026
  __name: "Descriptions",
3022
3027
  props: {
3023
3028
  modelValue: { default: "" },
@@ -3050,7 +3055,7 @@ const ue = new $s(
3050
3055
  },
3051
3056
  emits: ["update:modelValue", "input", "focus", "blur", "ask-ai", "expand", "remove-tag", "tooltip-click", "add-tag", "tags-click"],
3052
3057
  setup(y, { expose: m, emit: s }) {
3053
- const e = y, i = s, l = D(e.modelValue), r = D([...e.tags]);
3058
+ const e = y, i = s, l = A(e.modelValue), r = A([...e.tags]);
3054
3059
  G(
3055
3060
  () => e.modelValue,
3056
3061
  (p) => {
@@ -3065,9 +3070,9 @@ const ue = new $s(
3065
3070
  );
3066
3071
  const u = M(() => e.type === "tags"), d = M(() => e.type === "tags" && (e.stage === "placeholder" || e.stage === "focused")), o = M(() => (e.stage === "focused", "Add tags...")), g = M(() => e.stage === "error" || e.destructive);
3067
3072
  M(() => g.value && e.destructive ? e.errorMessage : e.hintText), M(() => e.stage === "placeholder" ? e.placeholder : e.stage === "focused" && e.type === "tags" || e.stage === "default" || e.stage === "focused" ? "" : e.placeholder);
3068
- const k = (p) => {
3073
+ const b = (p) => {
3069
3074
  l.value = p, i("update:modelValue", p);
3070
- }, P = (p) => {
3075
+ }, $ = (p) => {
3071
3076
  i("input", p);
3072
3077
  }, V = (p) => {
3073
3078
  i("focus", p);
@@ -3075,13 +3080,13 @@ const ue = new $s(
3075
3080
  i("blur", p);
3076
3081
  }, T = (p) => {
3077
3082
  i("ask-ai", p);
3078
- }, b = (p) => {
3083
+ }, k = (p) => {
3079
3084
  i("expand", p);
3080
3085
  }, I = (p) => {
3081
3086
  r.value.splice(p, 1), i("remove-tag", p);
3082
3087
  }, C = () => {
3083
3088
  i("tooltip-click");
3084
- }, x = (p) => {
3089
+ }, P = (p) => {
3085
3090
  i("add-tag", p);
3086
3091
  }, h = () => {
3087
3092
  i("tags-click");
@@ -3089,11 +3094,11 @@ const ue = new $s(
3089
3094
  return m({
3090
3095
  focus: () => {
3091
3096
  }
3092
- }), (p, w) => (c(), E(Li, {
3097
+ }), (p, S) => (c(), E(Vi, {
3093
3098
  modelValue: l.value,
3094
3099
  "onUpdate:modelValue": [
3095
- w[0] || (w[0] = (_) => l.value = _),
3096
- k
3100
+ S[0] || (S[0] = (_) => l.value = _),
3101
+ b
3097
3102
  ],
3098
3103
  label: p.label,
3099
3104
  placeholder: p.placeholder,
@@ -3122,18 +3127,18 @@ const ue = new $s(
3122
3127
  "old-text": p.oldText,
3123
3128
  "new-text": p.newText,
3124
3129
  "tags-only": p.tagsOnly,
3125
- onInput: P,
3130
+ onInput: $,
3126
3131
  onFocus: V,
3127
3132
  onBlur: v,
3128
3133
  onAskAi: T,
3129
- onExpand: b,
3134
+ onExpand: k,
3130
3135
  onRemoveTag: I,
3131
3136
  onTooltipClick: C,
3132
- onAddTag: x,
3137
+ onAddTag: P,
3133
3138
  onTagsClick: h
3134
3139
  }, null, 8, ["modelValue", "label", "placeholder", "disabled", "readonly", "required", "show-tooltip", "tooltip-text", "show-ai-button", "show-tags", "tags", "show-add-tags-placeholder", "add-tags-placeholder", "hint-text", "has-error", "error-message", "modal-title", "modal-description", "openai-api-key", "openai-model", "openai-organization", "show-underlines", "dynamic-title", "show-hint", "diff-mode", "old-text", "new-text", "tags-only"]));
3135
3140
  }
3136
- }), lc = /* @__PURE__ */ H(Vi, [["__scopeId", "data-v-19ded011"]]), Ei = { class: "freddy-plugins-diff-container" }, Ni = ["innerHTML"], Ri = ["placeholder"], Oi = /* @__PURE__ */ N({
3141
+ }), cc = /* @__PURE__ */ H(Ei, [["__scopeId", "data-v-19ded011"]]), Ni = { class: "freddy-plugins-diff-container" }, Ri = ["innerHTML"], Oi = ["placeholder"], zi = /* @__PURE__ */ N({
3137
3142
  __name: "DiffTextarea",
3138
3143
  props: {
3139
3144
  modelValue: {},
@@ -3144,7 +3149,7 @@ const ue = new $s(
3144
3149
  },
3145
3150
  emits: ["update:modelValue"],
3146
3151
  setup(y, { expose: m, emit: s }) {
3147
- const e = y, i = s, l = D(null), r = D(e.modelValue);
3152
+ const e = y, i = s, l = A(null), r = A(e.modelValue);
3148
3153
  G(
3149
3154
  () => e.modelValue,
3150
3155
  (o) => {
@@ -3156,11 +3161,11 @@ const ue = new $s(
3156
3161
  }, d = M(() => {
3157
3162
  if (!e.originalText || !e.improvedText) return "";
3158
3163
  const o = e.originalText.split(/(\s+)/), g = e.improvedText.split(/(\s+)/);
3159
- let k = "";
3160
- const P = o.filter((v) => !g.includes(v) && v.trim()).join(" ");
3161
- P && (k += `<span class="freddy-plugins-diff-removed">${P}</span>`);
3164
+ let b = "";
3165
+ const $ = o.filter((v) => !g.includes(v) && v.trim()).join(" ");
3166
+ $ && (b += `<span class="freddy-plugins-diff-removed">${$}</span>`);
3162
3167
  const V = g.filter((v) => !o.includes(v) && v.trim()).join(" ");
3163
- return V && (k && (k += "<br>"), k += `<span class="freddy-plugins-diff-added">${V}</span>`), k || (k = `<span class="freddy-plugins-diff-improved">${e.improvedText}</span>`), k;
3168
+ return V && (b && (b += "<br>"), b += `<span class="freddy-plugins-diff-added">${V}</span>`), b || (b = `<span class="freddy-plugins-diff-improved">${e.improvedText}</span>`), b;
3164
3169
  });
3165
3170
  return m({
3166
3171
  focus: () => {
@@ -3171,25 +3176,25 @@ const ue = new $s(
3171
3176
  var o;
3172
3177
  return (o = l.value) == null ? void 0 : o.blur();
3173
3178
  }
3174
- }), (o, g) => (c(), f("div", Ei, [
3179
+ }), (o, g) => (c(), f("div", Ni, [
3175
3180
  o.showDiff && d.value ? (c(), f("div", {
3176
3181
  key: 0,
3177
3182
  class: "freddy-plugins-diff-preview",
3178
3183
  innerHTML: d.value
3179
- }, null, 8, Ni)) : Q((c(), f("textarea", {
3184
+ }, null, 8, Ri)) : Q((c(), f("textarea", {
3180
3185
  key: 1,
3181
3186
  ref_key: "textareaRef",
3182
3187
  ref: l,
3183
- "onUpdate:modelValue": g[0] || (g[0] = (k) => r.value = k),
3188
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => r.value = b),
3184
3189
  class: "freddy-plugins-diff-textarea",
3185
3190
  placeholder: o.placeholder,
3186
3191
  onInput: u
3187
- }, null, 40, Ri)), [
3192
+ }, null, 40, Oi)), [
3188
3193
  [Y, r.value]
3189
3194
  ])
3190
3195
  ]));
3191
3196
  }
3192
- }), cc = /* @__PURE__ */ H(Oi, [["__scopeId", "data-v-54efeaf3"]]), zi = ["aria-checked", "tabindex", "onKeydown", "disabled"], Hi = /* @__PURE__ */ N({
3197
+ }), rc = /* @__PURE__ */ H(zi, [["__scopeId", "data-v-54efeaf3"]]), Hi = ["aria-checked", "tabindex", "onKeydown", "disabled"], Ui = /* @__PURE__ */ N({
3193
3198
  __name: "Switch",
3194
3199
  props: {
3195
3200
  modelValue: { type: Boolean },
@@ -3214,25 +3219,25 @@ const ue = new $s(
3214
3219
  tabindex: l.disabled ? -1 : 0,
3215
3220
  onClick: i,
3216
3221
  onKeydown: [
3217
- z(j(i, ["prevent"]), ["space"]),
3218
- z(j(i, ["prevent"]), ["enter"])
3222
+ z(U(i, ["prevent"]), ["space"]),
3223
+ z(U(i, ["prevent"]), ["enter"])
3219
3224
  ],
3220
3225
  disabled: l.disabled
3221
3226
  }, [...r[0] || (r[0] = [
3222
3227
  a("span", { class: "freddy-plugins-switch__track" }, null, -1),
3223
3228
  a("span", { class: "freddy-plugins-switch__thumb" }, null, -1)
3224
- ])], 42, zi));
3229
+ ])], 42, Hi));
3225
3230
  }
3226
3231
  }), ji = {
3227
3232
  key: 0,
3228
3233
  class: "freddy-plugins-dropdown-search-bar"
3229
- }, Ui = ["placeholder"], Ki = { class: "freddy-plugins-dropdown-options" }, Gi = ["onClick"], Zi = { class: "freddy-plugins-dropdown-option-label" }, qi = {
3234
+ }, Ki = ["placeholder"], Gi = { class: "freddy-plugins-dropdown-options" }, Zi = ["onClick"], qi = { class: "freddy-plugins-dropdown-option-label" }, Wi = {
3230
3235
  key: 1,
3231
3236
  class: "freddy-plugins-dropdown-option-shortcut"
3232
- }, Wi = {
3237
+ }, Ji = {
3233
3238
  key: 0,
3234
3239
  class: "freddy-plugins-dropdown-no-options"
3235
- }, rc = /* @__PURE__ */ N({
3240
+ }, dc = /* @__PURE__ */ N({
3236
3241
  __name: "Dropdown",
3237
3242
  props: {
3238
3243
  label: { default: "Select" },
@@ -3256,7 +3261,7 @@ const ue = new $s(
3256
3261
  },
3257
3262
  emits: ["select", "toggle"],
3258
3263
  setup(y, { emit: m }) {
3259
- const s = y, e = m, i = D(!1), l = D(""), r = D(null), u = Ge([...s.options]);
3264
+ const s = y, e = m, i = A(!1), l = A(""), r = A(null), u = je([...s.options]);
3260
3265
  G(
3261
3266
  () => s.options,
3262
3267
  (C) => {
@@ -3265,7 +3270,7 @@ const ue = new $s(
3265
3270
  );
3266
3271
  const d = () => {
3267
3272
  if (r.value) return;
3268
- const C = u.value.find((x) => x.default);
3273
+ const C = u.value.find((P) => P.default);
3269
3274
  C && (r.value = C);
3270
3275
  };
3271
3276
  G(
@@ -3275,34 +3280,34 @@ const ue = new $s(
3275
3280
  },
3276
3281
  { immediate: !0 }
3277
3282
  );
3278
- const o = M(() => s.label !== "Select" ? s.label : r.value ? r.value.label : "Select"), g = M(() => s.showIcon ? s.customIcon ? s.customIcon : s.openUp ? Le : ae : null), k = () => {
3283
+ const o = M(() => s.label !== "Select" ? s.label : r.value ? r.value.label : "Select"), g = M(() => s.showIcon ? s.customIcon ? s.customIcon : s.openUp ? Be : ae : null), b = () => {
3279
3284
  i.value = !i.value, i.value || (l.value = "");
3280
- }, P = () => {
3285
+ }, $ = () => {
3281
3286
  i.value = !1, l.value = "";
3282
3287
  }, V = M(() => !s.searchable || !l.value ? u.value : u.value.filter(
3283
3288
  (C) => C.label.toLowerCase().includes(l.value.toLowerCase())
3284
- )), v = (C, x) => {
3289
+ )), v = (C, P) => {
3285
3290
  C.type !== "toggle" && T(C);
3286
3291
  }, T = (C) => {
3287
- r.value = C, e("select", C), s.stayOpen || P();
3288
- }, b = (C, x) => {
3292
+ r.value = C, e("select", C), s.stayOpen || $();
3293
+ }, k = (C, P) => {
3289
3294
  const h = u.value.findIndex(
3290
3295
  (t) => t.value === C.value
3291
3296
  );
3292
- h !== -1 && (u.value[h].checked = x), e("toggle", { ...C, checked: x });
3297
+ h !== -1 && (u.value[h].checked = P), e("toggle", { ...C, checked: P });
3293
3298
  }, I = (C) => {
3294
- C.target.closest(".freddy-plugins-dropdown-wrapper") || P();
3299
+ C.target.closest(".freddy-plugins-dropdown-wrapper") || $();
3295
3300
  };
3296
3301
  return G(i, (C) => {
3297
3302
  C ? setTimeout(() => {
3298
3303
  document.addEventListener("click", I);
3299
3304
  }, 0) : document.removeEventListener("click", I);
3300
- }), (C, x) => (c(), f("div", {
3305
+ }), (C, P) => (c(), f("div", {
3301
3306
  class: "freddy-plugins-dropdown-wrapper",
3302
- onKeydown: z(P, ["esc"]),
3307
+ onKeydown: z($, ["esc"]),
3303
3308
  tabindex: "0"
3304
3309
  }, [
3305
- L(Oe, {
3310
+ L(Ne, {
3306
3311
  class: "freddy-plugins-dropdown-trigger",
3307
3312
  label: o.value,
3308
3313
  iconOnly: C.iconOnly,
@@ -3310,7 +3315,7 @@ const ue = new $s(
3310
3315
  leftIcon: !C.chevronRight && C.showIcon ? g.value : void 0,
3311
3316
  size: C.size,
3312
3317
  hierarchy: "tertiary",
3313
- onClick: k,
3318
+ onClick: b,
3314
3319
  "aria-expanded": i.value,
3315
3320
  "aria-haspopup": !0,
3316
3321
  type: "button"
@@ -3331,58 +3336,58 @@ const ue = new $s(
3331
3336
  }, [
3332
3337
  C.searchable ? (c(), f("div", ji, [
3333
3338
  Q(a("input", {
3334
- "onUpdate:modelValue": x[0] || (x[0] = (h) => l.value = h),
3339
+ "onUpdate:modelValue": P[0] || (P[0] = (h) => l.value = h),
3335
3340
  type: "text",
3336
3341
  class: "freddy-plugins-dropdown-search-input",
3337
3342
  placeholder: C.searchPlaceholder
3338
- }, null, 8, Ui), [
3343
+ }, null, 8, Ki), [
3339
3344
  [Y, l.value]
3340
3345
  ])
3341
- ])) : S("", !0),
3342
- a("ul", Ki, [
3343
- (c(!0), f(O, null, U(V.value, (h) => (c(), f("li", {
3346
+ ])) : w("", !0),
3347
+ a("ul", Gi, [
3348
+ (c(!0), f(O, null, j(V.value, (h) => (c(), f("li", {
3344
3349
  key: h.value,
3345
3350
  class: F(["freddy-plugins-dropdown-option", {
3346
3351
  "freddy-plugins-dropdown-option--toggle": h.type === "toggle"
3347
3352
  }]),
3348
3353
  onClick: (t) => v(h)
3349
3354
  }, [
3350
- a("span", Zi, [
3355
+ a("span", qi, [
3351
3356
  !C.optionIconRight && h.icon ? (c(), E(K(h.icon), {
3352
3357
  key: 0,
3353
3358
  class: "freddy-plugins-dropdown-option-icon"
3354
- })) : S("", !0),
3359
+ })) : w("", !0),
3355
3360
  a("span", null, B(h.label), 1),
3356
- C.showShortcut && h.shortcut ? (c(), f("span", qi, B(h.shortcut), 1)) : S("", !0),
3361
+ C.showShortcut && h.shortcut ? (c(), f("span", Wi, B(h.shortcut), 1)) : w("", !0),
3357
3362
  C.optionIconRight && h.icon ? (c(), E(K(h.icon), {
3358
3363
  key: 2,
3359
3364
  class: "freddy-plugins-dropdown-option-icon freddy-plugins-dropdown-option-icon--right"
3360
- })) : S("", !0)
3365
+ })) : w("", !0)
3361
3366
  ]),
3362
- h.type === "toggle" ? (c(), E(Hi, {
3367
+ h.type === "toggle" ? (c(), E(Ui, {
3363
3368
  key: 0,
3364
3369
  modelValue: h.checked ?? !1,
3365
3370
  size: s.size,
3366
3371
  "onUpdate:modelValue": (t) => {
3367
- b(h, t);
3372
+ k(h, t);
3368
3373
  },
3369
- onClick: x[1] || (x[1] = j(() => {
3374
+ onClick: P[1] || (P[1] = U(() => {
3370
3375
  }, ["stop"]))
3371
- }, null, 8, ["modelValue", "size", "onUpdate:modelValue"])) : S("", !0)
3372
- ], 10, Gi))), 128)),
3373
- V.value.length === 0 ? (c(), f("li", Wi, [
3376
+ }, null, 8, ["modelValue", "size", "onUpdate:modelValue"])) : w("", !0)
3377
+ ], 10, Zi))), 128)),
3378
+ V.value.length === 0 ? (c(), f("li", Ji, [
3374
3379
  q(C.$slots, "no-options", {}, () => [
3375
- x[2] || (x[2] = J("No options", -1))
3380
+ P[2] || (P[2] = J("No options", -1))
3376
3381
  ])
3377
- ])) : S("", !0)
3382
+ ])) : w("", !0)
3378
3383
  ])
3379
- ], 2)) : S("", !0)
3384
+ ], 2)) : w("", !0)
3380
3385
  ], 32));
3381
3386
  }
3382
- }), Ji = { class: "verification-container" }, Qi = { class: "verification-header" }, Yi = { class: "verification-subtitle" }, Xi = { class: "code-input-container" }, ea = { class: "code-inputs" }, ta = ["onUpdate:modelValue", "onInput", "onKeydown", "disabled"], oa = { class: "verification-actions" }, na = {
3387
+ }), Qi = { class: "verification-container" }, Yi = { class: "verification-header" }, Xi = { class: "verification-subtitle" }, ea = { class: "code-input-container" }, ta = { class: "code-inputs" }, oa = ["onUpdate:modelValue", "onInput", "onKeydown", "disabled"], na = { class: "verification-actions" }, sa = {
3383
3388
  key: 0,
3384
3389
  class: "error-message"
3385
- }, sa = { class: "verification-footer" }, ia = { class: "resend-text" }, aa = ["disabled"], dc = /* @__PURE__ */ N({
3390
+ }, ia = { class: "verification-footer" }, aa = { class: "resend-text" }, la = ["disabled"], uc = /* @__PURE__ */ N({
3386
3391
  __name: "EmailCodeVerification",
3387
3392
  props: {
3388
3393
  email: {},
@@ -3393,10 +3398,10 @@ const ue = new $s(
3393
3398
  },
3394
3399
  emits: ["verify", "resend"],
3395
3400
  setup(y, { emit: m }) {
3396
- const s = y, { brand: e, loading: i, error: l, resendCooldown: r } = s, u = m, d = D(["", "", "", ""]), o = D([]), g = M(() => d.value.every((I) => I !== "")), k = M(() => d.value.join("")), P = (I, C) => {
3397
- const x = C.target, h = x.value;
3401
+ const s = y, { brand: e, loading: i, error: l, resendCooldown: r } = s, u = m, d = A(["", "", "", ""]), o = A([]), g = M(() => d.value.every((I) => I !== "")), b = M(() => d.value.join("")), $ = (I, C) => {
3402
+ const P = C.target, h = P.value;
3398
3403
  if (!/^\d*$/.test(h)) {
3399
- x.value = "";
3404
+ P.value = "";
3400
3405
  return;
3401
3406
  }
3402
3407
  d.value[I] = h, h && I < 3 && te(() => {
@@ -3405,24 +3410,24 @@ const ue = new $s(
3405
3410
  });
3406
3411
  }, V = (I, C) => {
3407
3412
  C.key === "Backspace" && !d.value[I] && I > 0 && te(() => {
3408
- var x;
3409
- (x = o.value[I - 1]) == null || x.focus();
3413
+ var P;
3414
+ (P = o.value[I - 1]) == null || P.focus();
3410
3415
  });
3411
3416
  }, v = (I) => {
3412
3417
  var p;
3413
3418
  I.preventDefault();
3414
3419
  const C = (p = I.clipboardData) == null ? void 0 : p.getData("text");
3415
3420
  if (!C) return;
3416
- const x = C.replace(/\D/g, "").slice(0, 4).split("");
3417
- d.value = [...x, "", "", "", ""].slice(0, 4);
3418
- const h = d.value.findIndex((w) => w === ""), t = h === -1 ? 3 : h;
3421
+ const P = C.replace(/\D/g, "").slice(0, 4).split("");
3422
+ d.value = [...P, "", "", "", ""].slice(0, 4);
3423
+ const h = d.value.findIndex((S) => S === ""), t = h === -1 ? 3 : h;
3419
3424
  te(() => {
3420
- var w;
3421
- (w = o.value[t]) == null || w.focus();
3425
+ var S;
3426
+ (S = o.value[t]) == null || S.focus();
3422
3427
  });
3423
3428
  }, T = () => {
3424
- g.value && u("verify", k.value);
3425
- }, b = () => {
3429
+ g.value && u("verify", b.value);
3430
+ }, k = () => {
3426
3431
  u("resend");
3427
3432
  };
3428
3433
  return me(() => {
@@ -3431,71 +3436,71 @@ const ue = new $s(
3431
3436
  (I = o.value[0]) == null || I.focus();
3432
3437
  });
3433
3438
  }), (I, C) => (c(), f("div", {
3434
- class: F(["email-verification", `email-verification--${A(e)}`])
3439
+ class: F(["email-verification", `email-verification--${D(e)}`])
3435
3440
  }, [
3436
- a("div", Ji, [
3437
- a("div", Qi, [
3441
+ a("div", Qi, [
3442
+ a("div", Yi, [
3438
3443
  C[1] || (C[1] = a("h2", { class: "verification-title" }, "Verify Your Email", -1)),
3439
- a("p", Yi, [
3444
+ a("p", Xi, [
3440
3445
  C[0] || (C[0] = J(" We've sent a 4-digit verification code to ", -1)),
3441
3446
  a("strong", null, B(I.email), 1)
3442
3447
  ])
3443
3448
  ]),
3444
3449
  a("form", {
3445
- onSubmit: j(T, ["prevent"]),
3450
+ onSubmit: U(T, ["prevent"]),
3446
3451
  class: "verification-form"
3447
3452
  }, [
3448
- a("div", Xi, [
3449
- a("div", ea, [
3450
- (c(), f(O, null, U(4, (x, h) => Q(a("input", {
3453
+ a("div", ea, [
3454
+ a("div", ta, [
3455
+ (c(), f(O, null, j(4, (P, h) => Q(a("input", {
3451
3456
  key: h,
3452
3457
  ref_for: !0,
3453
3458
  ref: (t) => o.value[h] = t,
3454
3459
  "onUpdate:modelValue": (t) => d.value[h] = t,
3455
3460
  type: "text",
3456
3461
  maxlength: "1",
3457
- class: F(["code-input", `code-input--${A(e)}`]),
3458
- onInput: (t) => P(h, t),
3462
+ class: F(["code-input", `code-input--${D(e)}`]),
3463
+ onInput: (t) => $(h, t),
3459
3464
  onKeydown: (t) => V(h, t),
3460
3465
  onPaste: v,
3461
- disabled: A(i),
3466
+ disabled: D(i),
3462
3467
  autocomplete: "one-time-code"
3463
- }, null, 42, ta), [
3468
+ }, null, 42, oa), [
3464
3469
  [Y, d.value[h]]
3465
3470
  ])), 64))
3466
3471
  ])
3467
3472
  ]),
3468
- a("div", oa, [
3469
- L(Oe, {
3473
+ a("div", na, [
3474
+ L(Ne, {
3470
3475
  type: "submit",
3471
- label: A(i) ? "Verifying..." : "Verify Code",
3476
+ label: D(i) ? "Verifying..." : "Verify Code",
3472
3477
  hierarchy: "primary",
3473
3478
  size: "lg",
3474
- loading: A(i),
3475
- disabled: !g.value || A(i),
3476
- class: F(`verify-button verify-button--${A(e)}`)
3479
+ loading: D(i),
3480
+ disabled: !g.value || D(i),
3481
+ class: F(`verify-button verify-button--${D(e)}`)
3477
3482
  }, null, 8, ["label", "loading", "disabled", "class"])
3478
3483
  ]),
3479
- A(l) ? (c(), f("div", na, B(A(l)), 1)) : S("", !0),
3480
- a("div", sa, [
3481
- a("p", ia, [
3484
+ D(l) ? (c(), f("div", sa, B(D(l)), 1)) : w("", !0),
3485
+ a("div", ia, [
3486
+ a("p", aa, [
3482
3487
  C[2] || (C[2] = J(" Didn't receive the code? ", -1)),
3483
3488
  a("button", {
3484
3489
  type: "button",
3485
3490
  class: "resend-button",
3486
- disabled: A(r) > 0,
3487
- onClick: b
3488
- }, B(A(r) > 0 ? `Resend in ${A(r)}s` : "Resend code"), 9, aa)
3491
+ disabled: D(r) > 0,
3492
+ onClick: k
3493
+ }, B(D(r) > 0 ? `Resend in ${D(r)}s` : "Resend code"), 9, la)
3489
3494
  ])
3490
3495
  ])
3491
3496
  ], 32)
3492
3497
  ])
3493
3498
  ], 2));
3494
3499
  }
3495
- }), la = { class: "freddy-plugins-input-field-wrapper" }, ca = ["for"], ra = {
3500
+ }), ca = { class: "freddy-plugins-input-field-wrapper" }, ra = ["for"], da = {
3496
3501
  key: 0,
3497
3502
  class: "freddy-plugins-required-asterisk"
3498
- }, da = /* @__PURE__ */ N({
3503
+ }, ua = /* @__PURE__ */ N({
3499
3504
  __name: "BaseInput",
3500
3505
  props: {
3501
3506
  size: { default: "md" },
@@ -3526,15 +3531,15 @@ const ue = new $s(
3526
3531
  inputId: l,
3527
3532
  containerClasses: r,
3528
3533
  focusInput: u
3529
- }), (d, o) => (c(), f("div", la, [
3534
+ }), (d, o) => (c(), f("div", ca, [
3530
3535
  d.label ? (c(), f("label", {
3531
3536
  key: 0,
3532
3537
  for: l.value,
3533
3538
  class: F(["freddy-plugins-input-field-label", `freddy-plugins-input-field-label--${d.colorStyle}`])
3534
3539
  }, [
3535
3540
  J(B(d.label) + " ", 1),
3536
- d.required ? (c(), f("span", ra, "*")) : S("", !0)
3537
- ], 10, ca)) : S("", !0),
3541
+ d.required ? (c(), f("span", da, "*")) : w("", !0)
3542
+ ], 10, ra)) : w("", !0),
3538
3543
  a("div", {
3539
3544
  class: F(["freddy-plugins-input-field-container", r.value]),
3540
3545
  onClick: u
@@ -3544,10 +3549,10 @@ const ue = new $s(
3544
3549
  d.hintText ? (c(), f("p", {
3545
3550
  key: 1,
3546
3551
  class: F(["freddy-plugins-input-hint-text", `freddy-plugins-input-hint-text--${d.colorStyle}`])
3547
- }, B(d.hintText), 3)) : S("", !0)
3552
+ }, B(d.hintText), 3)) : w("", !0)
3548
3553
  ]));
3549
3554
  }
3550
- }), ke = /* @__PURE__ */ H(da, [["__scopeId", "data-v-bb114a19"]]), ua = ["src", "alt"], pa = ["id", "placeholder", "disabled", "readonly", "maxlength"], ha = /* @__PURE__ */ N({
3555
+ }), ke = /* @__PURE__ */ H(ua, [["__scopeId", "data-v-bb114a19"]]), pa = ["src", "alt"], ha = ["id", "placeholder", "disabled", "readonly", "maxlength"], fa = /* @__PURE__ */ N({
3551
3556
  __name: "CardInput",
3552
3557
  props: {
3553
3558
  cardNumber: { default: "" },
@@ -3600,7 +3605,7 @@ const ue = new $s(
3600
3605
  },
3601
3606
  emits: ["update:cardNumber", "card-type-detected", "update:modelValue", "input", "focus", "blur", "trailing-icon-click", "keydown", "leading-icon-click", "trailing-button-click", "update:countryCode", "update:phoneNumber", "country-change", "update:currency", "update:amount", "currency-change", "update:protocol", "update:url", "protocol-change", "update:tags", "tag-added", "tag-removed", "max-tags-reached", "copy-success", "copy-error"],
3602
3607
  setup(y, { expose: m, emit: s }) {
3603
- const e = y, i = s, l = D(null), r = D(null), u = D(""), d = D(""), o = D("unknown"), g = M(() => ({
3608
+ const e = y, i = s, l = A(null), r = A(null), u = A(""), d = A(""), o = A("unknown"), g = M(() => ({
3604
3609
  size: e.size,
3605
3610
  colorStyle: e.colorStyle,
3606
3611
  state: e.state,
@@ -3609,9 +3614,9 @@ const ue = new $s(
3609
3614
  label: e.label,
3610
3615
  hintText: e.hintText,
3611
3616
  disabled: e.disabled
3612
- })), k = (_) => _ ? typeof _ == "object" ? _ : typeof _ == "string" ? R(
3617
+ })), b = (_) => _ ? typeof _ == "object" ? _ : typeof _ == "string" ? R(
3613
3618
  () => be(/* @__PURE__ */ Object.assign({ "../../icons/IconAddChatPop.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c5), "../../icons/IconAddFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c6), "../../icons/IconAddPeople.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c7), "../../icons/IconAitronos.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c8), "../../icons/IconApple.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c9), "../../icons/IconApplePay.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ca), "../../icons/IconAppsGrid.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cb), "../../icons/IconArrowDown.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cc), "../../icons/IconArrowLeft.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cd), "../../icons/IconArrowUp.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ce), "../../icons/IconBadgeCheck.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cf), "../../icons/IconBroom.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cg), "../../icons/IconBuildings.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ch), "../../icons/IconCalendarWithTickInside.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ci), "../../icons/IconCallNotAllowed.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cj), "../../icons/IconCardPay.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ck), "../../icons/IconCaution.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cl), "../../icons/IconChangeLog.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cm), "../../icons/IconCheckCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cn), "../../icons/IconCheckInCircle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.co), "../../icons/IconCheckRounded.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cp), "../../icons/IconChevronDown.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cq), "../../icons/IconChevronLeft.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cr), "../../icons/IconChevronRight.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cs), "../../icons/IconChevronUp.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ct), "../../icons/IconCircledCheck.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cu), "../../icons/IconClock.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cv), "../../icons/IconClosedEnvelope.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cw), "../../icons/IconCloudUpload.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cx), "../../icons/IconConnectorConfluence.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cy), "../../icons/IconConnectorFigma.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cz), "../../icons/IconConnectorFreshDesk.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cA), "../../icons/IconConnectorGitHub.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cB), "../../icons/IconConnectorJira.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cC), "../../icons/IconConnectorLinear.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cD), "../../icons/IconConnectorNotion.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cE), "../../icons/IconConnectorSlack.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cF), "../../icons/IconConnectorZapier.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cG), "../../icons/IconCopy.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cH), "../../icons/IconCross.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cI), "../../icons/IconCrossCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cJ), "../../icons/IconCrossInCircle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cK), "../../icons/IconCurrentTick.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cL), "../../icons/IconDataUpload.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cM), "../../icons/IconDelete.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cN), "../../icons/IconDeleteFillRed.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cO), "../../icons/IconDialingPhone.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cP), "../../icons/IconDisabledAlert.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cQ), "../../icons/IconDocumentation.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cR), "../../icons/IconDownload.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cS), "../../icons/IconDribbble.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cT), "../../icons/IconDropdownArrow.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cU), "../../icons/IconEdit.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cV), "../../icons/IconEditLinePath.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cW), "../../icons/IconEllipse.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cX), "../../icons/IconExcelThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cY), "../../icons/IconExpand.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.cZ), "../../icons/IconEye.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c_), "../../icons/IconFacebook.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.c$), "../../icons/IconFigma.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d0), "../../icons/IconFile.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d1), "../../icons/IconFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d2), "../../icons/IconFileUpload.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d3), "../../icons/IconFilter.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d4), "../../icons/IconFolder.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d5), "../../icons/IconFreddyHub.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d6), "../../icons/IconFreddyHubLogo.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d7), "../../icons/IconFreddyHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d8), "../../icons/IconFreddyHubTitle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d9), "../../icons/IconFreddySmall.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.da), "../../icons/IconGlobExpand.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.db), "../../icons/IconGlobe.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dc), "../../icons/IconGoogle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dd), "../../icons/IconHollowCircle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.de), "../../icons/IconHome.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.df), "../../icons/IconInfoRounded.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dg), "../../icons/IconInvalidInvoice.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dh), "../../icons/IconInvoice.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.di), "../../icons/IconInvoiceSwitch.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dj), "../../icons/IconLapTableBottom.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dk), "../../icons/IconLense.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dl), "../../icons/IconLightCross.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dm), "../../icons/IconLink04.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dn), "../../icons/IconLoadingError.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dp), "../../icons/IconLoadingOrg.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dq), "../../icons/IconLocationWithCircleIn.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dr), "../../icons/IconLock.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ds), "../../icons/IconMarketPlace.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dt), "../../icons/IconMaximize.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.du), "../../icons/IconMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dv), "../../icons/IconMutedMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dw), "../../icons/IconNewNotification.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dx), "../../icons/IconNewTab.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dy), "../../icons/IconNotification.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dz), "../../icons/IconOpenBook.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dA), "../../icons/IconPaperAirPlane.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dB), "../../icons/IconPauseCircle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dC), "../../icons/IconPdfThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dD), "../../icons/IconPenEdit.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dE), "../../icons/IconPencil.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dF), "../../icons/IconPeopleHub.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dG), "../../icons/IconPersonCircle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dH), "../../icons/IconPits.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dI), "../../icons/IconPlay.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dJ), "../../icons/IconPlus.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dK), "../../icons/IconPolygonDown.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dL), "../../icons/IconPresentation.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dM), "../../icons/IconProgressBase.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dN), "../../icons/IconProgressComplete.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dO), "../../icons/IconProgressGoing.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dP), "../../icons/IconPurpose.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dQ), "../../icons/IconPurseCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dR), "../../icons/IconQuestion.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dS), "../../icons/IconRadio.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dT), "../../icons/IconRadioFill.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dU), "../../icons/IconRefresh.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dV), "../../icons/IconRevertedTriangle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dW), "../../icons/IconRobotScreen.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dX), "../../icons/IconRoundTick.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dY), "../../icons/IconSearch.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.dZ), "../../icons/IconSearchOptimised.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d_), "../../icons/IconSectionHide.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.d$), "../../icons/IconSend.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e0), "../../icons/IconSettings.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e1), "../../icons/IconSettingsBold.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e2), "../../icons/IconSize.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e3), "../../icons/IconSliderKnobs.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e4), "../../icons/IconSortIdle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e5), "../../icons/IconSparkle.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e6), "../../icons/IconSpotlio.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e7), "../../icons/IconStar.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e8), "../../icons/IconStatistics.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.e9), "../../icons/IconStopChat.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ea), "../../icons/IconStreamLineHub.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.eb), "../../icons/IconStreamLineHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ec), "../../icons/IconSun.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ed), "../../icons/IconSwap.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ee), "../../icons/IconText.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ef), "../../icons/IconTextThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.eg), "../../icons/IconThinDocument.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.eh), "../../icons/IconThinFile.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ei), "../../icons/IconThumbsDown.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ej), "../../icons/IconTick.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ek), "../../icons/IconUser.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.el), "../../icons/IconVerticalDots.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.em), "../../icons/IconVideoCamera.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.en), "../../icons/IconWarningOctal.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.eo), "../../icons/IconX.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.ep), "../../icons/IconZip.vue": () => import("./icons-GUqeJvd4.js").then((n) => n.eq) }), `../../icons/${_}.vue`, 4).catch(() => ({ template: "<div></div>" }))
3614
- ) : null : null, P = M(() => k(e.trailingIcon)), V = M(() => {
3619
+ ) : null : null, $ = M(() => b(e.trailingIcon)), V = M(() => {
3615
3620
  switch (o.value) {
3616
3621
  case "amex":
3617
3622
  return 17;
@@ -3626,11 +3631,11 @@ const ue = new $s(
3626
3631
  "freddy-plugins-input-field--focused": e.state === "focused",
3627
3632
  "freddy-plugins-input-field--disabled": e.state === "disabled",
3628
3633
  "freddy-plugins-input-field--with-leading": e.showCardIcon && o.value !== "unknown",
3629
- "freddy-plugins-input-field--with-trailing": !!P.value
3634
+ "freddy-plugins-input-field--with-trailing": !!$.value
3630
3635
  })), T = (_) => {
3631
3636
  const n = _.replace(/\D/g, "");
3632
3637
  return /^4/.test(n) ? "visa" : /^5[1-5]/.test(n) || /^2[2-7]/.test(n) ? "mastercard" : /^3[47]/.test(n) ? "amex" : /^6/.test(n) ? "discover" : "unknown";
3633
- }, b = (_) => {
3638
+ }, k = (_) => {
3634
3639
  const n = _.replace(/\D/g, "");
3635
3640
  return T(n) === "amex" ? n.replace(/(\d{4})(\d{6})(\d{5})/, "$1 $2 $3").replace(/(\d{4})(\d{1,6})/, "$1 $2").substring(0, 17) : n.replace(/(\d{4})(\d{4})(\d{4})(\d{4})/, "$1 $2 $3 $4").replace(/(\d{4})(\d{4})(\d{4})/, "$1 $2 $3").replace(/(\d{4})(\d{4})/, "$1 $2").replace(/(\d{4})/, "$1").substring(0, 19);
3636
3641
  }, I = (_) => {
@@ -3644,10 +3649,10 @@ const ue = new $s(
3644
3649
  return n[_] || n.unknown;
3645
3650
  }, C = (_) => {
3646
3651
  const W = _.target.value;
3647
- u.value = W.replace(/\D/g, ""), d.value = b(W);
3652
+ u.value = W.replace(/\D/g, ""), d.value = k(W);
3648
3653
  const X = T(u.value);
3649
3654
  X !== o.value && (o.value = X, i("card-type-detected", X)), i("update:modelValue", d.value), i("update:cardNumber", u.value), i("input", d.value);
3650
- }, x = (_) => {
3655
+ }, P = (_) => {
3651
3656
  [8, 9, 27, 13, 46].indexOf(_.keyCode) !== -1 || // Allow Ctrl+A, Ctrl+C, Ctrl+V, Ctrl+X
3652
3657
  _.keyCode === 65 && _.ctrlKey === !0 || _.keyCode === 67 && _.ctrlKey === !0 || _.keyCode === 86 && _.ctrlKey === !0 || _.keyCode === 88 && _.ctrlKey === !0 || // Allow home, end, left, right
3653
3658
  _.keyCode >= 35 && _.keyCode <= 39 || (_.shiftKey || _.keyCode < 48 || _.keyCode > 57) && (_.keyCode < 96 || _.keyCode > 105) && _.preventDefault();
@@ -3657,18 +3662,18 @@ const ue = new $s(
3657
3662
  i("blur", _);
3658
3663
  }, p = (_) => {
3659
3664
  i("trailing-icon-click", _);
3660
- }, w = () => {
3665
+ }, S = () => {
3661
3666
  var _;
3662
3667
  (_ = l.value) == null || _.focus();
3663
3668
  };
3664
3669
  return G(
3665
3670
  () => e.cardNumber,
3666
3671
  (_) => {
3667
- _ !== u.value && (u.value = _, d.value = b(_), o.value = T(_));
3672
+ _ !== u.value && (u.value = _, d.value = k(_), o.value = T(_));
3668
3673
  },
3669
3674
  { immediate: !0 }
3670
3675
  ), m({
3671
- focus: w,
3676
+ focus: S,
3672
3677
  inputRef: l
3673
3678
  }), (_, n) => (c(), E(ke, se(g.value, {
3674
3679
  onFocus: h,
@@ -3685,8 +3690,8 @@ const ue = new $s(
3685
3690
  src: I(o.value),
3686
3691
  alt: `${o.value} card`,
3687
3692
  class: "freddy-plugins-card-icon-image"
3688
- }, null, 8, ua)
3689
- ], 2)) : S("", !0),
3693
+ }, null, 8, pa)
3694
+ ], 2)) : w("", !0),
3690
3695
  Q(a("input", {
3691
3696
  id: (W = r.value) == null ? void 0 : W.inputId,
3692
3697
  ref_key: "inputRef",
@@ -3700,23 +3705,23 @@ const ue = new $s(
3700
3705
  maxlength: V.value,
3701
3706
  class: F(["freddy-plugins-input-field freddy-plugins-card-input-field", v.value]),
3702
3707
  onInput: C,
3703
- onKeydown: x,
3708
+ onKeydown: P,
3704
3709
  onFocus: h,
3705
3710
  onBlur: t
3706
- }, null, 42, pa), [
3711
+ }, null, 42, ha), [
3707
3712
  [Y, d.value]
3708
3713
  ]),
3709
- P.value ? (c(), E(K(P.value), {
3714
+ $.value ? (c(), E(K($.value), {
3710
3715
  key: 1,
3711
3716
  class: F(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${_.colorStyle}`]),
3712
3717
  onClick: p
3713
- }, null, 8, ["class"])) : S("", !0)
3718
+ }, null, 8, ["class"])) : w("", !0)
3714
3719
  ];
3715
3720
  }),
3716
3721
  _: 1
3717
3722
  }, 16));
3718
3723
  }
3719
- }), fa = /* @__PURE__ */ H(ha, [["__scopeId", "data-v-3a6797a1"]]), ma = ["id", "type", "placeholder", "disabled", "readonly"], va = /* @__PURE__ */ N({
3724
+ }), ma = /* @__PURE__ */ H(fa, [["__scopeId", "data-v-3a6797a1"]]), va = ["id", "type", "placeholder", "disabled", "readonly"], ya = /* @__PURE__ */ N({
3720
3725
  __name: "DefaultInput",
3721
3726
  props: {
3722
3727
  placeholder: { default: "" },
@@ -3737,7 +3742,7 @@ const ue = new $s(
3737
3742
  },
3738
3743
  emits: ["update:modelValue", "input", "focus", "blur", "keydown", "leading-icon-click", "trailing-icon-click"],
3739
3744
  setup(y, { expose: m, emit: s }) {
3740
- const e = y, i = s, l = D(null), r = D(null), u = D(e.modelValue || ""), d = M(() => ({
3745
+ const e = y, i = s, l = A(null), r = A(null), u = A(e.modelValue || ""), d = M(() => ({
3741
3746
  size: e.size,
3742
3747
  colorStyle: e.colorStyle,
3743
3748
  state: e.state,
@@ -3748,14 +3753,14 @@ const ue = new $s(
3748
3753
  disabled: e.disabled
3749
3754
  })), o = (h) => h ? typeof h == "object" ? h : typeof h == "string" ? R(
3750
3755
  () => be(/* @__PURE__ */ Object.assign({ "../../icons/IconAddChatPop.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c5), "../../icons/IconAddFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c6), "../../icons/IconAddPeople.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c7), "../../icons/IconAitronos.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c8), "../../icons/IconApple.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c9), "../../icons/IconApplePay.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ca), "../../icons/IconAppsGrid.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cb), "../../icons/IconArrowDown.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cc), "../../icons/IconArrowLeft.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cd), "../../icons/IconArrowUp.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ce), "../../icons/IconBadgeCheck.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cf), "../../icons/IconBroom.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cg), "../../icons/IconBuildings.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ch), "../../icons/IconCalendarWithTickInside.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ci), "../../icons/IconCallNotAllowed.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cj), "../../icons/IconCardPay.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ck), "../../icons/IconCaution.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cl), "../../icons/IconChangeLog.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cm), "../../icons/IconCheckCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cn), "../../icons/IconCheckInCircle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.co), "../../icons/IconCheckRounded.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cp), "../../icons/IconChevronDown.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cq), "../../icons/IconChevronLeft.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cr), "../../icons/IconChevronRight.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cs), "../../icons/IconChevronUp.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ct), "../../icons/IconCircledCheck.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cu), "../../icons/IconClock.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cv), "../../icons/IconClosedEnvelope.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cw), "../../icons/IconCloudUpload.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cx), "../../icons/IconConnectorConfluence.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cy), "../../icons/IconConnectorFigma.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cz), "../../icons/IconConnectorFreshDesk.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cA), "../../icons/IconConnectorGitHub.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cB), "../../icons/IconConnectorJira.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cC), "../../icons/IconConnectorLinear.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cD), "../../icons/IconConnectorNotion.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cE), "../../icons/IconConnectorSlack.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cF), "../../icons/IconConnectorZapier.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cG), "../../icons/IconCopy.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cH), "../../icons/IconCross.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cI), "../../icons/IconCrossCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cJ), "../../icons/IconCrossInCircle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cK), "../../icons/IconCurrentTick.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cL), "../../icons/IconDataUpload.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cM), "../../icons/IconDelete.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cN), "../../icons/IconDeleteFillRed.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cO), "../../icons/IconDialingPhone.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cP), "../../icons/IconDisabledAlert.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cQ), "../../icons/IconDocumentation.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cR), "../../icons/IconDownload.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cS), "../../icons/IconDribbble.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cT), "../../icons/IconDropdownArrow.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cU), "../../icons/IconEdit.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cV), "../../icons/IconEditLinePath.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cW), "../../icons/IconEllipse.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cX), "../../icons/IconExcelThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cY), "../../icons/IconExpand.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.cZ), "../../icons/IconEye.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c_), "../../icons/IconFacebook.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.c$), "../../icons/IconFigma.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d0), "../../icons/IconFile.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d1), "../../icons/IconFileSystem.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d2), "../../icons/IconFileUpload.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d3), "../../icons/IconFilter.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d4), "../../icons/IconFolder.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d5), "../../icons/IconFreddyHub.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d6), "../../icons/IconFreddyHubLogo.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d7), "../../icons/IconFreddyHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d8), "../../icons/IconFreddyHubTitle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d9), "../../icons/IconFreddySmall.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.da), "../../icons/IconGlobExpand.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.db), "../../icons/IconGlobe.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dc), "../../icons/IconGoogle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dd), "../../icons/IconHollowCircle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.de), "../../icons/IconHome.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.df), "../../icons/IconInfoRounded.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dg), "../../icons/IconInvalidInvoice.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dh), "../../icons/IconInvoice.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.di), "../../icons/IconInvoiceSwitch.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dj), "../../icons/IconLapTableBottom.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dk), "../../icons/IconLense.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dl), "../../icons/IconLightCross.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dm), "../../icons/IconLink04.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dn), "../../icons/IconLoadingError.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dp), "../../icons/IconLoadingOrg.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dq), "../../icons/IconLocationWithCircleIn.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dr), "../../icons/IconLock.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ds), "../../icons/IconMarketPlace.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dt), "../../icons/IconMaximize.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.du), "../../icons/IconMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dv), "../../icons/IconMutedMicrophone.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dw), "../../icons/IconNewNotification.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dx), "../../icons/IconNewTab.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dy), "../../icons/IconNotification.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dz), "../../icons/IconOpenBook.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dA), "../../icons/IconPaperAirPlane.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dB), "../../icons/IconPauseCircle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dC), "../../icons/IconPdfThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dD), "../../icons/IconPenEdit.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dE), "../../icons/IconPencil.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dF), "../../icons/IconPeopleHub.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dG), "../../icons/IconPersonCircle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dH), "../../icons/IconPits.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dI), "../../icons/IconPlay.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dJ), "../../icons/IconPlus.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dK), "../../icons/IconPolygonDown.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dL), "../../icons/IconPresentation.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dM), "../../icons/IconProgressBase.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dN), "../../icons/IconProgressComplete.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dO), "../../icons/IconProgressGoing.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dP), "../../icons/IconPurpose.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dQ), "../../icons/IconPurseCircleFill.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dR), "../../icons/IconQuestion.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dS), "../../icons/IconRadio.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dT), "../../icons/IconRadioFill.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dU), "../../icons/IconRefresh.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dV), "../../icons/IconRevertedTriangle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dW), "../../icons/IconRobotScreen.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dX), "../../icons/IconRoundTick.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dY), "../../icons/IconSearch.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.dZ), "../../icons/IconSearchOptimised.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d_), "../../icons/IconSectionHide.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.d$), "../../icons/IconSend.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e0), "../../icons/IconSettings.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e1), "../../icons/IconSettingsBold.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e2), "../../icons/IconSize.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e3), "../../icons/IconSliderKnobs.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e4), "../../icons/IconSortIdle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e5), "../../icons/IconSparkle.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e6), "../../icons/IconSpotlio.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e7), "../../icons/IconStar.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e8), "../../icons/IconStatistics.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.e9), "../../icons/IconStopChat.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ea), "../../icons/IconStreamLineHub.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.eb), "../../icons/IconStreamLineHubNewLogo.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ec), "../../icons/IconSun.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ed), "../../icons/IconSwap.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ee), "../../icons/IconText.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ef), "../../icons/IconTextThumbnail.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.eg), "../../icons/IconThinDocument.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.eh), "../../icons/IconThinFile.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ei), "../../icons/IconThumbsDown.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ej), "../../icons/IconTick.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ek), "../../icons/IconUser.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.el), "../../icons/IconVerticalDots.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.em), "../../icons/IconVideoCamera.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.en), "../../icons/IconWarningOctal.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.eo), "../../icons/IconX.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.ep), "../../icons/IconZip.vue": () => import("./icons-GUqeJvd4.js").then((t) => t.eq) }), `../../icons/${h}.vue`, 4).catch(() => ({ template: "<div></div>" }))
3751
- ) : null : null, g = M(() => o(e.leadingIcon)), k = M(() => o(e.trailingIcon)), P = M(() => ({
3756
+ ) : null : null, g = M(() => o(e.leadingIcon)), b = M(() => o(e.trailingIcon)), $ = M(() => ({
3752
3757
  [`freddy-plugins-input-field--${e.size}`]: !0,
3753
3758
  [`freddy-plugins-input-field--${e.colorStyle}`]: !0,
3754
3759
  "freddy-plugins-input-field--destructive": e.destructive,
3755
3760
  "freddy-plugins-input-field--focused": e.state === "focused",
3756
3761
  "freddy-plugins-input-field--disabled": e.state === "disabled",
3757
3762
  "freddy-plugins-input-field--with-leading": !!g.value,
3758
- "freddy-plugins-input-field--with-trailing": !!k.value
3763
+ "freddy-plugins-input-field--with-trailing": !!b.value
3759
3764
  })), V = (h) => {
3760
3765
  const t = h.target;
3761
3766
  u.value = t.value, i("update:modelValue", t.value), i("input", t.value);
@@ -3763,13 +3768,13 @@ const ue = new $s(
3763
3768
  i("focus", h);
3764
3769
  }, T = (h) => {
3765
3770
  i("blur", h);
3766
- }, b = (h) => {
3771
+ }, k = (h) => {
3767
3772
  i("keydown", h);
3768
3773
  }, I = (h) => {
3769
3774
  i("leading-icon-click", h);
3770
3775
  }, C = (h) => {
3771
3776
  i("trailing-icon-click", h);
3772
- }, x = () => {
3777
+ }, P = () => {
3773
3778
  var h;
3774
3779
  (h = l.value) == null || h.focus();
3775
3780
  };
@@ -3779,7 +3784,7 @@ const ue = new $s(
3779
3784
  h !== void 0 && (u.value = h);
3780
3785
  }
3781
3786
  ), m({
3782
- focus: x,
3787
+ focus: P,
3783
3788
  inputRef: l
3784
3789
  }), (h, t) => (c(), E(ke, se(d.value, {
3785
3790
  onFocus: v,
@@ -3792,23 +3797,23 @@ const ue = new $s(
3792
3797
  key: 0,
3793
3798
  class: F(["freddy-plugins-input-leading-icon", `freddy-plugins-input-leading-icon--${h.colorStyle}`]),
3794
3799
  onClick: I
3795
- }, null, 8, ["class"])) : S("", !0),
3800
+ }, null, 8, ["class"])) : w("", !0),
3796
3801
  Q(a("input", {
3797
3802
  id: (p = r.value) == null ? void 0 : p.inputId,
3798
3803
  ref_key: "inputRef",
3799
3804
  ref: l,
3800
- "onUpdate:modelValue": t[0] || (t[0] = (w) => u.value = w),
3805
+ "onUpdate:modelValue": t[0] || (t[0] = (S) => u.value = S),
3801
3806
  type: h.inputType,
3802
3807
  placeholder: h.placeholder,
3803
3808
  disabled: h.disabled,
3804
3809
  readonly: h.readonly,
3805
- class: F(["freddy-plugins-input-field", P.value]),
3810
+ class: F(["freddy-plugins-input-field", $.value]),
3806
3811
  onInput: V,
3807
3812
  onFocus: v,
3808
3813
  onBlur: T,
3809
- onKeydown: b
3810
- }, null, 42, ma), [
3811
- [Ze, u.value]
3814
+ onKeydown: k
3815
+ }, null, 42, va), [
3816
+ [Ke, u.value]
3812
3817
  ]),
3813
3818
  h.trailingIcon === "IconQuestion" && h.tooltipText ? (c(), E(re, {
3814
3819
  key: 1,
@@ -3816,25 +3821,25 @@ const ue = new $s(
3816
3821
  placement: "top"
3817
3822
  }, {
3818
3823
  default: Z(() => [
3819
- (c(), E(K(k.value), {
3824
+ (c(), E(K(b.value), {
3820
3825
  class: F(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${h.colorStyle}`])
3821
3826
  }, null, 8, ["class"]))
3822
3827
  ]),
3823
3828
  _: 1
3824
- }, 8, ["text"])) : k.value ? (c(), E(K(k.value), {
3829
+ }, 8, ["text"])) : b.value ? (c(), E(K(b.value), {
3825
3830
  key: 2,
3826
3831
  class: F(["freddy-plugins-input-trailing-icon", `freddy-plugins-input-trailing-icon--${h.colorStyle}`]),
3827
3832
  onClick: C
3828
- }, null, 8, ["class"])) : S("", !0)
3833
+ }, null, 8, ["class"])) : w("", !0)
3829
3834
  ];
3830
3835
  }),
3831
3836
  _: 1
3832
3837
  }, 16));
3833
3838
  }
3834
- }), ya = /* @__PURE__ */ H(va, [["__scopeId", "data-v-e865b202"]]), ga = { class: "freddy-plugins-figma-dropdown-text" }, Ia = ["onClick"], ba = { class: "freddy-plugins-country-flag" }, ka = { class: "freddy-plugins-country-name" }, _a = { class: "freddy-plugins-country-dial-code" }, Ca = ["id", "placeholder", "disabled", "readonly"], wa = {
3839
+ }), ga = /* @__PURE__ */ H(ya, [["__scopeId", "data-v-e865b202"]]), Ia = { class: "freddy-plugins-figma-dropdown-text" }, ba = ["onClick"], ka = { class: "freddy-plugins-country-flag" }, _a = { class: "freddy-plugins-country-name" }, Ca = { class: "freddy-plugins-country-dial-code" }, wa = ["id", "placeholder", "disabled", "readonly"], Sa = {
3835
3840
  key: 0,
3836
3841
  class: "freddy-plugins-figma-help-icon"
3837
- }, Sa = /* @__PURE__ */ N({
3842
+ }, Ta = /* @__PURE__ */ N({
3838
3843
  __name: "PhoneInput",
3839
3844
  props: {
3840
3845
  countryCode: { default: "US" },
@@ -3887,7 +3892,7 @@ const ue = new $s(
3887
3892
  },
3888
3893
  emits: ["update:countryCode", "update:phoneNumber", "country-change", "update:modelValue", "input", "focus", "blur", "keydown", "leading-icon-click", "trailing-icon-click", "trailing-button-click", "update:currency", "update:amount", "currency-change", "update:protocol", "update:url", "protocol-change", "update:cardNumber", "card-type-detected", "update:tags", "tag-added", "tag-removed", "max-tags-reached", "copy-success", "copy-error"],
3889
3894
  setup(y, { expose: m, emit: s }) {
3890
- const e = y, i = s, l = D(null), r = D(null), u = D(e.phoneNumber || ""), d = D(!1), o = D(e.countryCode || "US"), g = [
3895
+ const e = y, i = s, l = A(null), r = A(null), u = A(e.phoneNumber || ""), d = A(!1), o = A(e.countryCode || "US"), g = [
3891
3896
  { code: "US", name: "United States", flag: "🇺🇸", dialCode: "+1" },
3892
3897
  { code: "GB", name: "United Kingdom", flag: "🇬🇧", dialCode: "+44" },
3893
3898
  { code: "CA", name: "Canada", flag: "🇨🇦", dialCode: "+1" },
@@ -3898,7 +3903,7 @@ const ue = new $s(
3898
3903
  { code: "ES", name: "Spain", flag: "🇪🇸", dialCode: "+34" },
3899
3904
  { code: "JP", name: "Japan", flag: "🇯🇵", dialCode: "+81" },
3900
3905
  { code: "IN", name: "India", flag: "🇮🇳", dialCode: "+91" }
3901
- ], k = M(() => ({
3906
+ ], b = M(() => ({
3902
3907
  size: e.size,
3903
3908
  colorStyle: e.colorStyle,
3904
3909
  state: e.state,
@@ -3907,26 +3912,26 @@ const ue = new $s(
3907
3912
  label: e.label,
3908
3913
  hintText: e.hintText,
3909
3914
  disabled: e.disabled
3910
- })), P = M(
3915
+ })), $ = M(
3911
3916
  () => e.countryOptions || g
3912
- ), V = M(() => P.value.find(
3917
+ ), V = M(() => $.value.find(
3913
3918
  (t) => t.code === o.value
3914
- ) || P.value[0]), v = () => {
3919
+ ) || $.value[0]), v = () => {
3915
3920
  e.disabled || (d.value = !d.value);
3916
3921
  }, T = (t) => {
3917
3922
  o.value = t.code, i("update:countryCode", t.code), i("country-change", t);
3918
- const p = u.value.replace(/^\+\d+\s*/, ""), w = `${t.dialCode} ${p}`.trim();
3919
- u.value = w, i("update:phoneNumber", w), i("update:modelValue", w), d.value = !1;
3920
- }, b = (t) => {
3923
+ const p = u.value.replace(/^\+\d+\s*/, ""), S = `${t.dialCode} ${p}`.trim();
3924
+ u.value = S, i("update:phoneNumber", S), i("update:modelValue", S), d.value = !1;
3925
+ }, k = (t) => {
3921
3926
  const p = t.target;
3922
3927
  u.value = p.value;
3923
- const w = `${V.value.dialCode} ${p.value}`;
3924
- i("update:modelValue", w), i("update:phoneNumber", p.value), i("input", w);
3928
+ const S = `${V.value.dialCode} ${p.value}`;
3929
+ i("update:modelValue", S), i("update:phoneNumber", p.value), i("input", S);
3925
3930
  }, I = (t) => {
3926
3931
  i("focus", t);
3927
3932
  }, C = (t) => {
3928
3933
  i("blur", t);
3929
- }, x = () => {
3934
+ }, P = () => {
3930
3935
  var t;
3931
3936
  (t = l.value) == null || t.focus();
3932
3937
  }, h = (t) => {
@@ -3945,44 +3950,44 @@ const ue = new $s(
3945
3950
  }
3946
3951
  ), me(() => {
3947
3952
  document.addEventListener("click", h);
3948
- }), Fe(() => {
3953
+ }), De(() => {
3949
3954
  document.removeEventListener("click", h);
3950
3955
  }), m({
3951
- focus: x,
3956
+ focus: P,
3952
3957
  inputRef: l
3953
- }), (t, p) => (c(), E(ke, se(k.value, {
3958
+ }), (t, p) => (c(), E(ke, se(b.value, {
3954
3959
  onFocus: I,
3955
3960
  onBlur: C
3956
3961
  }), {
3957
3962
  default: Z(() => {
3958
- var w;
3963
+ var S;
3959
3964
  return [
3960
3965
  a("div", {
3961
3966
  class: F(["freddy-plugins-figma-dropdown", `freddy-plugins-figma-dropdown--${t.colorStyle}`]),
3962
3967
  onClick: v
3963
3968
  }, [
3964
- a("span", ga, B(V.value.code), 1),
3965
- L(A(ae), { class: "freddy-plugins-figma-dropdown-icon" })
3969
+ a("span", Ia, B(V.value.code), 1),
3970
+ L(D(ae), { class: "freddy-plugins-figma-dropdown-icon" })
3966
3971
  ], 2),
3967
3972
  d.value ? (c(), f("div", {
3968
3973
  key: 0,
3969
3974
  class: F(["freddy-plugins-country-options-dropdown", `freddy-plugins-country-options-dropdown--${t.colorStyle}`])
3970
3975
  }, [
3971
- (c(!0), f(O, null, U(P.value, (_) => (c(), f("div", {
3976
+ (c(!0), f(O, null, j($.value, (_) => (c(), f("div", {
3972
3977
  key: _.code,
3973
3978
  class: F(["freddy-plugins-country-option", `freddy-plugins-country-option--${t.colorStyle}`]),
3974
3979
  onClick: (n) => T(_)
3975
3980
  }, [
3976
- a("span", ba, B(_.flag), 1),
3977
- a("span", ka, B(_.name), 1),
3978
- a("span", _a, B(_.dialCode), 1)
3979
- ], 10, Ia))), 128))
3980
- ], 2)) : S("", !0),
3981
+ a("span", ka, B(_.flag), 1),
3982
+ a("span", _a, B(_.name), 1),
3983
+ a("span", Ca, B(_.dialCode), 1)
3984
+ ], 10, ba))), 128))
3985
+ ], 2)) : w("", !0),
3981
3986
  a("div", {
3982
3987
  class: F(["freddy-plugins-figma-text-input", `freddy-plugins-figma-text-input--${t.colorStyle}`])
3983
3988
  }, [
3984
3989
  Q(a("input", {
3985
- id: (w = r.value) == null ? void 0 : w.inputId,
3990
+ id: (S = r.value) == null ? void 0 : S.inputId,
3986
3991
  ref_key: "inputRef",
3987
3992
  ref: l,
3988
3993
  "onUpdate:modelValue": p[0] || (p[0] = (_) => u.value = _),
@@ -3991,34 +3996,34 @@ const ue = new $s(
3991
3996
  disabled: t.disabled,
3992
3997
  readonly: t.readonly,
3993
3998
  class: "freddy-plugins-figma-phone-input",
3994
- onInput: b,
3999
+ onInput: k,
3995
4000
  onFocus: I,
3996
4001
  onBlur: C
3997
- }, null, 40, Ca), [
4002
+ }, null, 40, wa), [
3998
4003
  [Y, u.value]
3999
4004
  ]),
4000
- t.trailingIcon === "IconQuestion" ? (c(), f("div", wa, [
4005
+ t.trailingIcon === "IconQuestion" ? (c(), f("div", Sa, [
4001
4006
  t.tooltipText ? (c(), E(re, {
4002
4007
  key: 0,
4003
4008
  text: t.tooltipText,
4004
4009
  placement: "top"
4005
4010
  }, {
4006
4011
  default: Z(() => [
4007
- L(A(fe), { class: "freddy-plugins-figma-help-icon-svg" })
4012
+ L(D(fe), { class: "freddy-plugins-figma-help-icon-svg" })
4008
4013
  ]),
4009
4014
  _: 1
4010
- }, 8, ["text"])) : (c(), E(A(fe), {
4015
+ }, 8, ["text"])) : (c(), E(D(fe), {
4011
4016
  key: 1,
4012
4017
  class: "freddy-plugins-figma-help-icon-svg"
4013
4018
  }))
4014
- ])) : S("", !0)
4019
+ ])) : w("", !0)
4015
4020
  ], 2)
4016
4021
  ];
4017
4022
  }),
4018
4023
  _: 1
4019
4024
  }, 16));
4020
4025
  }
4021
- }), Ta = /* @__PURE__ */ H(Sa, [["__scopeId", "data-v-20d005c2"]]), $a = /* @__PURE__ */ N({
4026
+ }), $a = /* @__PURE__ */ H(Ta, [["__scopeId", "data-v-20d005c2"]]), xa = /* @__PURE__ */ N({
4022
4027
  __name: "InputField",
4023
4028
  props: {
4024
4029
  size: { default: "md" },
@@ -4125,9 +4130,9 @@ const ue = new $s(
4125
4130
  e("input", h);
4126
4131
  }, g = (h) => {
4127
4132
  e("focus", h);
4128
- }, k = (h) => {
4133
+ }, b = (h) => {
4129
4134
  e("blur", h);
4130
- }, P = (h) => {
4135
+ }, $ = (h) => {
4131
4136
  e("keydown", h);
4132
4137
  }, V = (h) => {
4133
4138
  e("leading-icon-click", h);
@@ -4135,42 +4140,42 @@ const ue = new $s(
4135
4140
  e("trailing-icon-click", h);
4136
4141
  }, T = (h) => {
4137
4142
  e("update:countryCode", h);
4138
- }, b = (h) => {
4143
+ }, k = (h) => {
4139
4144
  e("update:phoneNumber", h);
4140
4145
  }, I = (h) => {
4141
4146
  e("country-change", h);
4142
4147
  }, C = (h) => {
4143
4148
  e("update:cardNumber", h);
4144
- }, x = (h) => {
4149
+ }, P = (h) => {
4145
4150
  e("card-type-detected", h);
4146
4151
  };
4147
- return (h, t) => i.value === "phone" ? (c(), E(Ta, se({ key: 0 }, l.value, {
4152
+ return (h, t) => i.value === "phone" ? (c(), E($a, se({ key: 0 }, l.value, {
4148
4153
  "onUpdate:modelValue": d,
4149
4154
  "onUpdate:countryCode": T,
4150
- "onUpdate:phoneNumber": b,
4155
+ "onUpdate:phoneNumber": k,
4151
4156
  onCountryChange: I,
4152
4157
  onInput: o,
4153
4158
  onFocus: g,
4154
- onBlur: k
4155
- }), null, 16)) : i.value === "card" ? (c(), E(fa, se({ key: 1 }, r.value, {
4159
+ onBlur: b
4160
+ }), null, 16)) : i.value === "card" ? (c(), E(ma, se({ key: 1 }, r.value, {
4156
4161
  "onUpdate:modelValue": d,
4157
4162
  "onUpdate:cardNumber": C,
4158
- onCardTypeDetected: x,
4163
+ onCardTypeDetected: P,
4159
4164
  onInput: o,
4160
4165
  onFocus: g,
4161
- onBlur: k,
4166
+ onBlur: b,
4162
4167
  onTrailingIconClick: v
4163
- }), null, 16)) : (c(), E(ya, se({ key: 2 }, u.value, {
4168
+ }), null, 16)) : (c(), E(ga, se({ key: 2 }, u.value, {
4164
4169
  "onUpdate:modelValue": d,
4165
4170
  onInput: o,
4166
4171
  onFocus: g,
4167
- onBlur: k,
4168
- onKeydown: P,
4172
+ onBlur: b,
4173
+ onKeydown: $,
4169
4174
  onLeadingIconClick: V,
4170
4175
  onTrailingIconClick: v
4171
4176
  }), null, 16));
4172
4177
  }
4173
- }), uc = /* @__PURE__ */ H($a, [["__scopeId", "data-v-5a761e6c"]]), xa = {
4178
+ }), pc = /* @__PURE__ */ H(xa, [["__scopeId", "data-v-5a761e6c"]]), Pa = {
4174
4179
  name: "ModalBox",
4175
4180
  props: {
4176
4181
  isVisible: {
@@ -4187,38 +4192,38 @@ const ue = new $s(
4187
4192
  this.$emit("close");
4188
4193
  }
4189
4194
  }
4190
- }, Pa = {
4195
+ }, Aa = {
4191
4196
  key: 0,
4192
4197
  class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
4193
- }, Aa = { class: "flex justify-center items-center" }, Da = { class: "freddy-plugins-modal-header" }, Fa = { class: "freddy-plugins-modal-body" }, Ba = { class: "freddy-plugins-modal-footer" };
4194
- function Ma(y, m, s, e, i, l) {
4198
+ }, Da = { class: "flex justify-center items-center" }, Fa = { class: "freddy-plugins-modal-header" }, Ba = { class: "freddy-plugins-modal-body" }, Ma = { class: "freddy-plugins-modal-footer" };
4199
+ function La(y, m, s, e, i, l) {
4195
4200
  return c(), E(le, { name: "modal" }, {
4196
4201
  default: Z(() => [
4197
- s.isVisible ? (c(), f("div", Pa, [
4198
- a("div", Aa, [
4202
+ s.isVisible ? (c(), f("div", Aa, [
4203
+ a("div", Da, [
4199
4204
  a("div", {
4200
4205
  class: F({
4201
4206
  "p-8 bg-background rounded-[2.5rem] overflow-hidden text-white": s.largeModel,
4202
4207
  "freddy-plugins-modal-container-large": s.largeModel
4203
4208
  })
4204
4209
  }, [
4205
- a("div", Da, [
4210
+ a("div", Fa, [
4206
4211
  q(y.$slots, "header")
4207
4212
  ]),
4208
- a("div", Fa, [
4213
+ a("div", Ba, [
4209
4214
  q(y.$slots, "body")
4210
4215
  ]),
4211
- a("div", Ba, [
4216
+ a("div", Ma, [
4212
4217
  q(y.$slots, "footer")
4213
4218
  ])
4214
4219
  ], 2)
4215
4220
  ])
4216
- ])) : S("", !0)
4221
+ ])) : w("", !0)
4217
4222
  ]),
4218
4223
  _: 3
4219
4224
  });
4220
4225
  }
4221
- const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4226
+ const Va = /* @__PURE__ */ H(Pa, [["render", La]]), hc = /* @__PURE__ */ N({
4222
4227
  __name: "InstructionsModal",
4223
4228
  props: {
4224
4229
  isVisible: {
@@ -4227,7 +4232,7 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4227
4232
  }
4228
4233
  },
4229
4234
  setup(y) {
4230
- return (m, s) => (c(), E(La, { isVisible: y.isVisible }, {
4235
+ return (m, s) => (c(), E(Va, { isVisible: y.isVisible }, {
4231
4236
  header: Z(() => [...s[0] || (s[0] = [
4232
4237
  a("h2", null, "Instructions", -1)
4233
4238
  ])]),
@@ -4237,7 +4242,7 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4237
4242
  _: 1
4238
4243
  }, 8, ["isVisible"]));
4239
4244
  }
4240
- }), Va = ["value", "placeholder"], Ea = /* @__PURE__ */ N({
4245
+ }), Ea = ["value", "placeholder"], Na = /* @__PURE__ */ N({
4241
4246
  __name: "InstructiontextArea",
4242
4247
  props: {
4243
4248
  inputValue: {},
@@ -4258,9 +4263,9 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4258
4263
  onInput: l,
4259
4264
  class: "instruction-text-input",
4260
4265
  "aria-label": "Instruction input"
4261
- }, null, 44, Va));
4266
+ }, null, 44, Ea));
4262
4267
  }
4263
- }), hc = /* @__PURE__ */ H(Ea, [["__scopeId", "data-v-d4000e78"]]), Na = { class: "freddy-plugins-modal-header" }, Ra = { class: "freddy-plugins-modal-body" }, fc = /* @__PURE__ */ N({
4268
+ }), fc = /* @__PURE__ */ H(Na, [["__scopeId", "data-v-d4000e78"]]), Ra = { class: "freddy-plugins-modal-header" }, Oa = { class: "freddy-plugins-modal-body" }, mc = /* @__PURE__ */ N({
4264
4269
  __name: "ModalOverlay",
4265
4270
  props: {
4266
4271
  modalTitle: {},
@@ -4283,10 +4288,10 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4283
4288
  }, [
4284
4289
  a("div", {
4285
4290
  class: "freddy-plugins-modal-content",
4286
- onClick: u[0] || (u[0] = j(() => {
4291
+ onClick: u[0] || (u[0] = U(() => {
4287
4292
  }, ["stop"]))
4288
4293
  }, [
4289
- a("header", Na, [
4294
+ a("header", Ra, [
4290
4295
  a("h2", {
4291
4296
  class: F(["freddy-plugins-modal-title", r.headerClass])
4292
4297
  }, B(r.modalTitle), 3),
@@ -4294,16 +4299,16 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4294
4299
  class: "freddy-plugins-modal-close",
4295
4300
  onClick: i
4296
4301
  }, [
4297
- L(Ve, { class: "freddy-plugins-modal-close-icon" })
4302
+ L(Me, { class: "freddy-plugins-modal-close-icon" })
4298
4303
  ])
4299
4304
  ]),
4300
- a("div", Ra, [
4305
+ a("div", Oa, [
4301
4306
  q(r.$slots, "content")
4302
4307
  ])
4303
4308
  ])
4304
4309
  ]));
4305
4310
  }
4306
- }), Oa = /* @__PURE__ */ N({
4311
+ }), za = /* @__PURE__ */ N({
4307
4312
  __name: "Spinner",
4308
4313
  props: {
4309
4314
  customClass: {}
@@ -4313,7 +4318,7 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4313
4318
  class: F(["freddy-plugin-spinner", m.customClass])
4314
4319
  }, null, 2));
4315
4320
  }
4316
- }), za = ["placeholder", "maxlength"], _e = /* @__PURE__ */ N({
4321
+ }), Ha = ["placeholder", "maxlength"], _e = /* @__PURE__ */ N({
4317
4322
  inheritAttrs: !1,
4318
4323
  __name: "SearchInput",
4319
4324
  props: {
@@ -4324,7 +4329,7 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4324
4329
  },
4325
4330
  emits: ["update:searchInput", "clear"],
4326
4331
  setup(y, { emit: m }) {
4327
- const s = qe(), e = D(null), i = D(null), l = D(null), r = m, u = () => {
4332
+ const s = Ge(), e = A(null), i = A(null), l = A(null), r = m, u = () => {
4328
4333
  var g;
4329
4334
  (g = i.value) == null || g.focus();
4330
4335
  }, d = () => {
@@ -4332,50 +4337,50 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4332
4337
  }, o = () => {
4333
4338
  r("clear");
4334
4339
  };
4335
- return (g, k) => {
4336
- var P;
4340
+ return (g, b) => {
4341
+ var $;
4337
4342
  return c(), f("div", {
4338
4343
  ref_key: "dropdownRef",
4339
4344
  ref: l,
4340
- class: F(["freddy-search-wrapper", A(s).class]),
4345
+ class: F(["freddy-search-wrapper", D(s).class]),
4341
4346
  onClick: u
4342
4347
  }, [
4343
- L(A(Ct), { class: "freddy-search-icon" }),
4348
+ L(D(Ct), { class: "freddy-search-icon" }),
4344
4349
  Q(a("input", {
4345
4350
  type: "text",
4346
4351
  id: "search-input",
4347
4352
  class: "freddy-search-input",
4348
4353
  ref_key: "searchInput",
4349
4354
  ref: i,
4350
- "onUpdate:modelValue": k[0] || (k[0] = (V) => e.value = V),
4355
+ "onUpdate:modelValue": b[0] || (b[0] = (V) => e.value = V),
4351
4356
  onInput: d,
4352
4357
  placeholder: g.placeholder,
4353
4358
  maxlength: g.maxCharLimit
4354
- }, null, 40, za), [
4359
+ }, null, 40, Ha), [
4355
4360
  [Y, e.value]
4356
4361
  ]),
4357
- g.showLoaderForSearch ? (c(), E(Oa, {
4362
+ g.showLoaderForSearch ? (c(), E(za, {
4358
4363
  key: 0,
4359
4364
  class: "freddy-search-spinner"
4360
- })) : S("", !0),
4361
- g.showCloseButton && !g.showLoaderForSearch && ((P = e.value) != null && P.length) ? (c(), E(A(ee), {
4365
+ })) : w("", !0),
4366
+ g.showCloseButton && !g.showLoaderForSearch && (($ = e.value) != null && $.length) ? (c(), E(D(ee), {
4362
4367
  key: 1,
4363
4368
  class: "freddy-search-close",
4364
4369
  onClick: o
4365
- })) : S("", !0)
4370
+ })) : w("", !0)
4366
4371
  ], 2);
4367
4372
  };
4368
4373
  }
4369
- }), Ha = { class: "model-dropdown-selected-content" }, ja = ["src", "alt"], Ua = { class: "model-dropdown-placeholder" }, Ka = {
4374
+ }), Ua = { class: "model-dropdown-selected-content" }, ja = ["src", "alt"], Ka = { class: "model-dropdown-placeholder" }, Ga = {
4370
4375
  key: 0,
4371
4376
  class: "model-dropdown-menu"
4372
- }, Ga = {
4377
+ }, Za = {
4373
4378
  key: 0,
4374
4379
  class: "model-dropdown-search"
4375
- }, Za = { class: "model-dropdown-options" }, qa = ["onClick"], Wa = ["src", "alt"], Ja = { class: "model-dropdown-option-value" }, Qa = {
4380
+ }, qa = { class: "model-dropdown-options" }, Wa = ["onClick"], Ja = ["src", "alt"], Qa = { class: "model-dropdown-option-value" }, Ya = {
4376
4381
  key: 0,
4377
4382
  class: "model-dropdown-no-options"
4378
- }, Ya = /* @__PURE__ */ N({
4383
+ }, Xa = /* @__PURE__ */ N({
4379
4384
  __name: "ModelDropdown",
4380
4385
  props: {
4381
4386
  options: {},
@@ -4386,24 +4391,24 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4386
4391
  },
4387
4392
  emits: ["select"],
4388
4393
  setup(y, { emit: m }) {
4389
- const s = y, e = m, i = D(!1), l = D(""), r = D(null), u = M(() => !s.searchable || !l.value ? s.options : s.options.filter(
4390
- (P) => P.value.toLowerCase().includes(l.value.toLowerCase())
4394
+ const s = y, e = m, i = A(!1), l = A(""), r = A(null), u = M(() => !s.searchable || !l.value ? s.options : s.options.filter(
4395
+ ($) => $.value.toLowerCase().includes(l.value.toLowerCase())
4391
4396
  )), d = () => {
4392
4397
  i.value = !i.value, i.value || (l.value = "");
4393
4398
  }, o = () => {
4394
4399
  i.value = !1, l.value = "";
4395
- }, g = (P) => {
4396
- r.value = P, e("select", P), o();
4397
- }, k = (P) => {
4398
- P.target.closest(".model-dropdown-wrapper") || o();
4400
+ }, g = ($) => {
4401
+ r.value = $, e("select", $), o();
4402
+ }, b = ($) => {
4403
+ $.target.closest(".model-dropdown-wrapper") || o();
4399
4404
  };
4400
- return G(i, (P) => {
4401
- P ? setTimeout(() => {
4402
- document.addEventListener("click", k);
4403
- }, 0) : document.removeEventListener("click", k);
4404
- }), Fe(() => {
4405
- document.removeEventListener("click", k);
4406
- }), (P, V) => {
4405
+ return G(i, ($) => {
4406
+ $ ? setTimeout(() => {
4407
+ document.addEventListener("click", b);
4408
+ }, 0) : document.removeEventListener("click", b);
4409
+ }), De(() => {
4410
+ document.removeEventListener("click", b);
4411
+ }), ($, V) => {
4407
4412
  var v, T;
4408
4413
  return c(), f("div", {
4409
4414
  class: "model-dropdown-wrapper",
@@ -4411,21 +4416,21 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4411
4416
  }, [
4412
4417
  a("div", {
4413
4418
  class: F(["model-dropdown-trigger", [
4414
- `model-dropdown-trigger--${P.size}`,
4419
+ `model-dropdown-trigger--${$.size}`,
4415
4420
  { "model-dropdown-trigger--open": i.value }
4416
4421
  ]]),
4417
4422
  onClick: d
4418
4423
  }, [
4419
- a("div", Ha, [
4424
+ a("div", Ua, [
4420
4425
  (v = r.value) != null && v.imageSrc ? (c(), f("img", {
4421
4426
  key: 0,
4422
4427
  src: r.value.imageSrc,
4423
4428
  alt: r.value.value,
4424
4429
  class: "model-dropdown-selected-image"
4425
- }, null, 8, ja)) : S("", !0),
4426
- a("span", Ua, B(((T = r.value) == null ? void 0 : T.value) || P.modelPlaceholder), 1)
4430
+ }, null, 8, ja)) : w("", !0),
4431
+ a("span", Ka, B(((T = r.value) == null ? void 0 : T.value) || $.modelPlaceholder), 1)
4427
4432
  ]),
4428
- i.value ? (c(), E(Le, {
4433
+ i.value ? (c(), E(Be, {
4429
4434
  key: 1,
4430
4435
  class: "model-dropdown-chevron"
4431
4436
  })) : (c(), E(ae, {
@@ -4433,41 +4438,41 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4433
4438
  class: "model-dropdown-chevron"
4434
4439
  }))
4435
4440
  ], 2),
4436
- i.value ? (c(), f("div", Ka, [
4437
- P.searchable ? (c(), f("div", Ga, [
4441
+ i.value ? (c(), f("div", Ga, [
4442
+ $.searchable ? (c(), f("div", Za, [
4438
4443
  L(_e, {
4439
4444
  modelValue: l.value,
4440
- "onUpdate:modelValue": V[0] || (V[0] = (b) => l.value = b),
4441
- placeholder: P.searchPlaceholder,
4445
+ "onUpdate:modelValue": V[0] || (V[0] = (k) => l.value = k),
4446
+ placeholder: $.searchPlaceholder,
4442
4447
  showCloseButton: !0
4443
4448
  }, null, 8, ["modelValue", "placeholder"])
4444
- ])) : S("", !0),
4445
- a("ul", Za, [
4446
- (c(!0), f(O, null, U(u.value, (b) => {
4449
+ ])) : w("", !0),
4450
+ a("ul", qa, [
4451
+ (c(!0), f(O, null, j(u.value, (k) => {
4447
4452
  var I;
4448
4453
  return c(), f("li", {
4449
- key: b.id,
4454
+ key: k.id,
4450
4455
  class: F(["model-dropdown-option", {
4451
- "model-dropdown-option--selected": ((I = r.value) == null ? void 0 : I.id) === b.id
4456
+ "model-dropdown-option--selected": ((I = r.value) == null ? void 0 : I.id) === k.id
4452
4457
  }]),
4453
- onClick: (C) => g(b)
4458
+ onClick: (C) => g(k)
4454
4459
  }, [
4455
- b.imageSrc ? (c(), f("img", {
4460
+ k.imageSrc ? (c(), f("img", {
4456
4461
  key: 0,
4457
- src: b.imageSrc,
4458
- alt: b.value,
4462
+ src: k.imageSrc,
4463
+ alt: k.value,
4459
4464
  class: "model-dropdown-option-image"
4460
- }, null, 8, Wa)) : S("", !0),
4461
- a("span", Ja, B(b.value), 1)
4462
- ], 10, qa);
4465
+ }, null, 8, Ja)) : w("", !0),
4466
+ a("span", Qa, B(k.value), 1)
4467
+ ], 10, Wa);
4463
4468
  }), 128)),
4464
- u.value.length === 0 ? (c(), f("li", Qa, " No providers found ")) : S("", !0)
4469
+ u.value.length === 0 ? (c(), f("li", Ya, " No providers found ")) : w("", !0)
4465
4470
  ])
4466
- ])) : S("", !0)
4471
+ ])) : w("", !0)
4467
4472
  ], 32);
4468
4473
  };
4469
4474
  }
4470
- }), mc = /* @__PURE__ */ H(Ya, [["__scopeId", "data-v-75f8685b"]]), vc = /* @__PURE__ */ N({
4475
+ }), vc = /* @__PURE__ */ H(Xa, [["__scopeId", "data-v-75f8685b"]]), yc = /* @__PURE__ */ N({
4471
4476
  __name: "OutputModeModal",
4472
4477
  props: {
4473
4478
  isVisible: {
@@ -4517,11 +4522,11 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4517
4522
  onToggleAI: i
4518
4523
  }, null, 8, ["is-visible", "initial-content", "openai-api-key", "openai-model", "openai-organization"]));
4519
4524
  }
4520
- }), Xa = {
4525
+ }), el = {
4521
4526
  key: 0,
4522
4527
  class: "freddy-pagination-nav",
4523
4528
  "aria-label": "Pagination"
4524
- }, el = ["disabled"], tl = { class: "freddy-pagination-dynamic-container" }, ol = ["onClick", "disabled"], nl = ["disabled"], yc = /* @__PURE__ */ N({
4529
+ }, tl = ["disabled"], ol = { class: "freddy-pagination-dynamic-container" }, nl = ["onClick", "disabled"], sl = ["disabled"], gc = /* @__PURE__ */ N({
4525
4530
  __name: "Pagination",
4526
4531
  props: {
4527
4532
  totalItems: { type: Number, required: !0, default: 0 },
@@ -4546,30 +4551,30 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4546
4551
  function r(u) {
4547
4552
  u === "..." || u === s.currentPage || typeof u == "number" && u >= 1 && u <= i.value && e("update:currentPage", u);
4548
4553
  }
4549
- return (u, d) => i.value > 0 ? (c(), f("nav", Xa, [
4554
+ return (u, d) => i.value > 0 ? (c(), f("nav", el, [
4550
4555
  a("button", {
4551
4556
  class: F(["freddy-pagination-end-button", { "freddy-pagination-hover-enabled": y.currentPage !== 1 }]),
4552
4557
  onClick: d[0] || (d[0] = (o) => r(y.currentPage - 1)),
4553
4558
  disabled: y.currentPage === 1
4554
- }, " Previous ", 10, el),
4555
- a("div", tl, [
4556
- (c(!0), f(O, null, U(l.value, (o) => (c(), f("button", {
4559
+ }, " Previous ", 10, tl),
4560
+ a("div", ol, [
4561
+ (c(!0), f(O, null, j(l.value, (o) => (c(), f("button", {
4557
4562
  key: String(o),
4558
4563
  class: F(["freddy-pagination-number-button", { active: o === y.currentPage }]),
4559
4564
  onClick: (g) => r(o),
4560
4565
  disabled: o === "..." || o === y.currentPage
4561
- }, B(o), 11, ol))), 128)),
4566
+ }, B(o), 11, nl))), 128)),
4562
4567
  a("button", {
4563
4568
  class: F(["freddy-pagination-end-button", {
4564
4569
  "freddy-pagination-hover-enabled": y.currentPage !== i.value
4565
4570
  }]),
4566
4571
  onClick: d[1] || (d[1] = (o) => r(y.currentPage + 1)),
4567
4572
  disabled: y.currentPage === i.value || i.value === 0
4568
- }, " Next ", 10, nl)
4573
+ }, " Next ", 10, sl)
4569
4574
  ])
4570
- ])) : S("", !0);
4575
+ ])) : w("", !0);
4571
4576
  }
4572
- }), sl = ["disabled"], gc = /* @__PURE__ */ N({
4577
+ }), il = ["disabled"], Ic = /* @__PURE__ */ N({
4573
4578
  __name: "SendButton",
4574
4579
  props: {
4575
4580
  disabled: { type: Boolean },
@@ -4583,33 +4588,33 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4583
4588
  onClick: s[0] || (s[0] = (e) => m.$emit("click"))
4584
4589
  }, [
4585
4590
  (c(), E(K(wt), { class: "chat-bar-send-icon" }))
4586
- ], 10, sl));
4591
+ ], 10, il));
4587
4592
  }
4588
- }), il = {
4593
+ }), al = {
4589
4594
  key: 0,
4590
4595
  class: "skeleton-card"
4591
- }, al = {
4596
+ }, ll = {
4592
4597
  key: 0,
4593
4598
  class: "skeleton-line skeleton-wave skeleton-w-32 skeleton-h-6 mb-2"
4594
- }, ll = {
4599
+ }, cl = {
4595
4600
  key: 1,
4596
4601
  class: "skeleton-paragraph"
4597
- }, cl = {
4602
+ }, rl = {
4598
4603
  key: 0,
4599
4604
  class: "skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"
4600
- }, rl = {
4605
+ }, dl = {
4601
4606
  key: 2,
4602
4607
  class: "skeleton-single-box"
4603
- }, dl = {
4608
+ }, ul = {
4604
4609
  key: 0,
4605
4610
  class: "skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"
4606
- }, ul = {
4611
+ }, pl = {
4607
4612
  key: 3,
4608
4613
  class: "skeleton-table"
4609
- }, pl = {
4614
+ }, hl = {
4610
4615
  key: 0,
4611
4616
  class: "skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40"
4612
- }, hl = { class: "table-full" }, Ic = /* @__PURE__ */ N({
4617
+ }, fl = { class: "table-full" }, bc = /* @__PURE__ */ N({
4613
4618
  __name: "SkeletonLoader",
4614
4619
  props: {
4615
4620
  type: {},
@@ -4618,24 +4623,24 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4618
4623
  },
4619
4624
  setup(y) {
4620
4625
  const m = y, { type: s, hasHeader: e = !1, count: i = 5 } = m;
4621
- return (l, r) => A(s) === "card" ? (c(), f("div", il, [
4622
- A(e) ? (c(), f("div", al)) : S("", !0),
4626
+ return (l, r) => D(s) === "card" ? (c(), f("div", al, [
4627
+ D(e) ? (c(), f("div", ll)) : w("", !0),
4623
4628
  r[0] || (r[0] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-6 skeleton-w-3-4" }, null, -1)),
4624
4629
  r[1] || (r[1] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1)),
4625
4630
  r[2] || (r[2] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6" }, null, -1))
4626
- ])) : A(s) === "paragraph" ? (c(), f("div", ll, [
4627
- A(e) ? (c(), f("div", cl)) : S("", !0),
4631
+ ])) : D(s) === "paragraph" ? (c(), f("div", cl, [
4632
+ D(e) ? (c(), f("div", rl)) : w("", !0),
4628
4633
  r[3] || (r[3] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1)),
4629
4634
  r[4] || (r[4] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6" }, null, -1)),
4630
4635
  r[5] || (r[5] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-3-4" }, null, -1))
4631
- ])) : A(s) === "single-box" ? (c(), f("div", rl, [
4632
- A(e) ? (c(), f("div", dl)) : S("", !0),
4636
+ ])) : D(s) === "single-box" ? (c(), f("div", dl, [
4637
+ D(e) ? (c(), f("div", ul)) : w("", !0),
4633
4638
  r[6] || (r[6] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1))
4634
- ])) : A(s) === "table" ? (c(), f("div", ul, [
4635
- A(e) ? (c(), f("div", pl)) : S("", !0),
4636
- a("table", hl, [
4639
+ ])) : D(s) === "table" ? (c(), f("div", pl, [
4640
+ D(e) ? (c(), f("div", hl)) : w("", !0),
4641
+ a("table", fl, [
4637
4642
  a("tbody", null, [
4638
- (c(!0), f(O, null, U(A(i), (u) => (c(), f("tr", { key: u }, [...r[7] || (r[7] = [
4643
+ (c(!0), f(O, null, j(D(i), (u) => (c(), f("tr", { key: u }, [...r[7] || (r[7] = [
4639
4644
  a("td", { class: "td-padding" }, [
4640
4645
  a("div", { class: "skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full" })
4641
4646
  ], -1),
@@ -4645,21 +4650,21 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4645
4650
  ])]))), 128))
4646
4651
  ])
4647
4652
  ])
4648
- ])) : S("", !0);
4653
+ ])) : w("", !0);
4649
4654
  }
4650
- }), fl = { class: "freddy-plugins-slider-container" }, ml = {
4655
+ }), ml = { class: "freddy-plugins-slider-container" }, vl = {
4651
4656
  key: 0,
4652
4657
  class: "freddy-plugins-slider-header"
4653
- }, vl = {
4658
+ }, yl = {
4654
4659
  key: 0,
4655
4660
  class: "freddy-plugins-slider-label-section"
4656
- }, yl = { class: "freddy-plugins-slider-label" }, gl = {
4661
+ }, gl = { class: "freddy-plugins-slider-label" }, Il = {
4657
4662
  key: 1,
4658
4663
  class: "freddy-plugins-slider-value-badge"
4659
- }, Il = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-label"], bl = {
4664
+ }, bl = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-disabled", "aria-label"], kl = {
4660
4665
  key: 1,
4661
4666
  class: "freddy-plugins-slider-hint"
4662
- }, kl = /* @__PURE__ */ N({
4667
+ }, _l = /* @__PURE__ */ N({
4663
4668
  __name: "Slider",
4664
4669
  props: {
4665
4670
  modelValue: {},
@@ -4677,109 +4682,109 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4677
4682
  },
4678
4683
  emits: ["update:modelValue", "update:rangeValue"],
4679
4684
  setup(y, { emit: m }) {
4680
- const s = y, e = m, i = D(!1), l = D(null), r = M(() => {
4685
+ const s = y, e = m, i = A(!1), l = A(null), r = M(() => {
4681
4686
  var I;
4682
- const b = ((I = s.step.toString().split(".")[1]) == null ? void 0 : I.length) || 0;
4683
- return b > 0 ? s.modelValue.toFixed(b) : Math.round(s.modelValue);
4687
+ const k = ((I = s.step.toString().split(".")[1]) == null ? void 0 : I.length) || 0;
4688
+ return k > 0 ? s.modelValue.toFixed(k) : Math.round(s.modelValue);
4684
4689
  }), u = M(() => {
4685
- const b = s.max - s.min, I = s.modelValue - s.min;
4686
- return Math.min(100, Math.max(0, I / b * 100));
4687
- }), d = M(() => u.value), o = (b) => {
4688
- const I = Math.round(b / s.step) * s.step;
4690
+ const k = s.max - s.min, I = s.modelValue - s.min;
4691
+ return Math.min(100, Math.max(0, I / k * 100));
4692
+ }), d = M(() => u.value), o = (k) => {
4693
+ const I = Math.round(k / s.step) * s.step;
4689
4694
  return Math.min(s.max, Math.max(s.min, I));
4690
- }, g = (b) => {
4695
+ }, g = (k) => {
4691
4696
  if (!l.value) return s.modelValue;
4692
4697
  const I = l.value.getBoundingClientRect(), C = Math.max(
4693
4698
  0,
4694
- Math.min(1, (b - I.left) / I.width)
4695
- ), x = s.min + C * (s.max - s.min), h = Math.round(x / s.step) * s.step;
4699
+ Math.min(1, (k - I.left) / I.width)
4700
+ ), P = s.min + C * (s.max - s.min), h = Math.round(P / s.step) * s.step;
4696
4701
  return Math.min(s.max, Math.max(s.min, h));
4697
- }, k = (b) => {
4698
- const I = o(b);
4702
+ }, b = (k) => {
4703
+ const I = o(k);
4699
4704
  I !== s.modelValue && e("update:modelValue", I);
4700
- }, P = (b) => {
4705
+ }, $ = (k) => {
4701
4706
  if (s.disabled) return;
4702
- b.preventDefault(), b.stopPropagation(), i.value = !0;
4703
- const I = (x) => {
4707
+ k.preventDefault(), k.stopPropagation(), i.value = !0;
4708
+ const I = (P) => {
4704
4709
  if (!i.value) return;
4705
- x.preventDefault();
4706
- const h = g(x.clientX);
4707
- k(h);
4710
+ P.preventDefault();
4711
+ const h = g(P.clientX);
4712
+ b(h);
4708
4713
  }, C = () => {
4709
4714
  i.value = !1, document.removeEventListener("mousemove", I), document.removeEventListener("mouseup", C);
4710
4715
  };
4711
4716
  document.addEventListener("mousemove", I), document.addEventListener("mouseup", C);
4712
- }, V = (b) => {
4717
+ }, V = (k) => {
4713
4718
  if (s.disabled) return;
4714
- b.preventDefault(), b.stopPropagation(), i.value = !0;
4715
- const I = (x) => {
4716
- !i.value || !x.touches[0] || (x.preventDefault(), k(g(x.touches[0].clientX)));
4719
+ k.preventDefault(), k.stopPropagation(), i.value = !0;
4720
+ const I = (P) => {
4721
+ !i.value || !P.touches[0] || (P.preventDefault(), b(g(P.touches[0].clientX)));
4717
4722
  }, C = () => {
4718
4723
  i.value = !1, document.removeEventListener("touchmove", I), document.removeEventListener("touchend", C);
4719
4724
  };
4720
4725
  document.addEventListener("touchmove", I), document.addEventListener("touchend", C);
4721
- }, v = (b) => {
4726
+ }, v = (k) => {
4722
4727
  if (s.disabled || i.value) return;
4723
- b.preventDefault(), b.stopPropagation();
4724
- const I = g(b.clientX);
4725
- k(I);
4726
- }, T = (b) => {
4728
+ k.preventDefault(), k.stopPropagation();
4729
+ const I = g(k.clientX);
4730
+ b(I);
4731
+ }, T = (k) => {
4727
4732
  if (s.disabled) return;
4728
4733
  let I = s.modelValue;
4729
- switch (b.key) {
4734
+ switch (k.key) {
4730
4735
  case "ArrowLeft":
4731
4736
  case "ArrowDown":
4732
- b.preventDefault(), I = s.modelValue - s.step;
4737
+ k.preventDefault(), I = s.modelValue - s.step;
4733
4738
  break;
4734
4739
  case "ArrowRight":
4735
4740
  case "ArrowUp":
4736
- b.preventDefault(), I = s.modelValue + s.step;
4741
+ k.preventDefault(), I = s.modelValue + s.step;
4737
4742
  break;
4738
4743
  case "Home":
4739
- b.preventDefault(), I = s.min;
4744
+ k.preventDefault(), I = s.min;
4740
4745
  break;
4741
4746
  case "End":
4742
- b.preventDefault(), I = s.max;
4747
+ k.preventDefault(), I = s.max;
4743
4748
  break;
4744
4749
  case "PageDown":
4745
- b.preventDefault(), I = s.modelValue - s.step * 10;
4750
+ k.preventDefault(), I = s.modelValue - s.step * 10;
4746
4751
  break;
4747
4752
  case "PageUp":
4748
- b.preventDefault(), I = s.modelValue + s.step * 10;
4753
+ k.preventDefault(), I = s.modelValue + s.step * 10;
4749
4754
  break;
4750
4755
  default:
4751
4756
  return;
4752
4757
  }
4753
- k(I);
4758
+ b(I);
4754
4759
  };
4755
- return (b, I) => (c(), f("div", fl, [
4756
- b.label || b.showValue ? (c(), f("div", ml, [
4757
- b.label ? (c(), f("div", vl, [
4758
- a("span", yl, B(b.label), 1),
4759
- b.tooltip ? (c(), E(re, {
4760
+ return (k, I) => (c(), f("div", ml, [
4761
+ k.label || k.showValue ? (c(), f("div", vl, [
4762
+ k.label ? (c(), f("div", yl, [
4763
+ a("span", gl, B(k.label), 1),
4764
+ k.tooltip ? (c(), E(re, {
4760
4765
  key: 0,
4761
- text: b.tooltip,
4762
- placement: b.tooltipPlacement
4766
+ text: k.tooltip,
4767
+ placement: k.tooltipPlacement
4763
4768
  }, {
4764
4769
  default: Z(() => [
4765
4770
  L(ce, { class: "freddy-plugins-slider-tooltip-icon" })
4766
4771
  ]),
4767
4772
  _: 1
4768
- }, 8, ["text", "placement"])) : S("", !0)
4769
- ])) : S("", !0),
4770
- b.showValue ? (c(), f("div", gl, B(r.value), 1)) : S("", !0)
4771
- ])) : S("", !0),
4773
+ }, 8, ["text", "placement"])) : w("", !0)
4774
+ ])) : w("", !0),
4775
+ k.showValue ? (c(), f("div", Il, B(r.value), 1)) : w("", !0)
4776
+ ])) : w("", !0),
4772
4777
  a("div", {
4773
- class: F(["freddy-plugins-slider-track-container", { "freddy-plugins-slider-disabled": b.disabled }]),
4778
+ class: F(["freddy-plugins-slider-track-container", { "freddy-plugins-slider-disabled": k.disabled }]),
4774
4779
  onClick: v,
4775
4780
  onKeydown: T,
4776
- tabindex: b.disabled ? -1 : 0,
4781
+ tabindex: k.disabled ? -1 : 0,
4777
4782
  role: "slider",
4778
- "aria-valuemin": b.min,
4779
- "aria-valuemax": b.max,
4780
- "aria-valuenow": b.modelValue,
4781
- "aria-disabled": b.disabled,
4782
- "aria-label": b.label || "Slider"
4783
+ "aria-valuemin": k.min,
4784
+ "aria-valuemax": k.max,
4785
+ "aria-valuenow": k.modelValue,
4786
+ "aria-disabled": k.disabled,
4787
+ "aria-label": k.label || "Slider"
4783
4788
  }, [
4784
4789
  a("div", {
4785
4790
  ref_key: "sliderTrack",
@@ -4793,30 +4798,30 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4793
4798
  a("div", {
4794
4799
  class: F(["freddy-plugins-slider-thumb", {
4795
4800
  "freddy-plugins-slider-thumb-dragging": i.value,
4796
- "freddy-plugins-slider-thumb-disabled": b.disabled
4801
+ "freddy-plugins-slider-thumb-disabled": k.disabled
4797
4802
  }]),
4798
4803
  style: oe({ left: d.value + "%" }),
4799
- onMousedown: P,
4804
+ onMousedown: $,
4800
4805
  onTouchstart: V
4801
4806
  }, null, 38)
4802
- ], 42, Il),
4803
- b.hint ? (c(), f("p", bl, B(b.hint), 1)) : S("", !0)
4807
+ ], 42, bl),
4808
+ k.hint ? (c(), f("p", kl, B(k.hint), 1)) : w("", !0)
4804
4809
  ]));
4805
4810
  }
4806
- }), bc = /* @__PURE__ */ H(kl, [["__scopeId", "data-v-156893ff"]]), _l = { class: "freddy-plugins-snackbar-content" }, Cl = { class: "freddy-plugins-snackbar-left" }, wl = { class: "freddy-plugins-snackbar-text" }, Sl = ["innerHTML"], Tl = ["innerHTML"], $l = ["onClick"], kc = /* @__PURE__ */ N({
4811
+ }), kc = /* @__PURE__ */ H(_l, [["__scopeId", "data-v-156893ff"]]), Cl = { class: "freddy-plugins-snackbar-content" }, wl = { class: "freddy-plugins-snackbar-left" }, Sl = { class: "freddy-plugins-snackbar-text" }, Tl = ["innerHTML"], $l = ["innerHTML"], xl = ["onClick"], _c = /* @__PURE__ */ N({
4807
4812
  __name: "SnackBar",
4808
4813
  setup(y) {
4809
4814
  ne();
4810
4815
  const { snackQueue: m } = St(), s = (l) => {
4811
4816
  switch (l) {
4812
4817
  case "success":
4813
- return xe;
4818
+ return $e;
4814
4819
  case "danger":
4815
4820
  return ee;
4816
4821
  case "info":
4817
4822
  return ce;
4818
4823
  default:
4819
- return xe;
4824
+ return $e;
4820
4825
  }
4821
4826
  }, e = M(() => {
4822
4827
  const l = m.value[m.value.length - 1];
@@ -4835,12 +4840,12 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4835
4840
  return (l, r) => (c(), f("div", {
4836
4841
  class: F(["freddy-plugins-snackbar-container", `freddy-plugins-snackbar-container--${e.value}`])
4837
4842
  }, [
4838
- (c(!0), f(O, null, U(A(m), (u, d) => (c(), f("div", {
4843
+ (c(!0), f(O, null, j(D(m), (u, d) => (c(), f("div", {
4839
4844
  key: d,
4840
4845
  class: F(["freddy-plugins-snackbar", `freddy-plugins-snackbar--${u.toastType}`])
4841
4846
  }, [
4842
- a("div", _l, [
4843
- a("div", Cl, [
4847
+ a("div", Cl, [
4848
+ a("div", wl, [
4844
4849
  (c(), E(K(s(u.toastType)), {
4845
4850
  class: F(["freddy-plugins-snackbar-icon", [
4846
4851
  u.toastType === "info" && "freddy-plugins-snackbar-icon--info",
@@ -4848,40 +4853,40 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4848
4853
  u.toastType === "success" && "freddy-plugins-snackbar-icon--success"
4849
4854
  ]])
4850
4855
  }, null, 8, ["class"])),
4851
- a("div", wl, [
4856
+ a("div", Sl, [
4852
4857
  a("p", {
4853
4858
  class: "freddy-plugins-snackbar-title",
4854
4859
  innerHTML: u.title
4855
- }, null, 8, Sl),
4860
+ }, null, 8, Tl),
4856
4861
  a("p", {
4857
4862
  class: "freddy-plugins-snackbar-message",
4858
4863
  innerHTML: u.message
4859
- }, null, 8, Tl)
4864
+ }, null, 8, $l)
4860
4865
  ])
4861
4866
  ]),
4862
4867
  a("button", {
4863
4868
  class: "freddy-plugins-snackbar-close-btn",
4864
4869
  onClick: (o) => i(d)
4865
4870
  }, [
4866
- L(Ve, { class: "freddy-plugins-snackbar-close-icon" })
4867
- ], 8, $l)
4871
+ L(Me, { class: "freddy-plugins-snackbar-close-icon" })
4872
+ ], 8, xl)
4868
4873
  ])
4869
4874
  ], 2))), 128))
4870
4875
  ], 2));
4871
4876
  }
4872
- }), xl = { class: "freddy-plugins-switch-slot__header" }, Pl = {
4877
+ }), Pl = { class: "freddy-plugins-switch-slot__header" }, Al = {
4873
4878
  key: 0,
4874
4879
  class: "freddy-plugins-switch-slot__label-section"
4875
- }, Al = {
4880
+ }, Dl = {
4876
4881
  key: 0,
4877
4882
  class: "freddy-plugins-switch-slot__label"
4878
- }, Dl = ["aria-checked", "tabindex", "onKeydown", "disabled"], Fl = {
4883
+ }, Fl = ["aria-checked", "tabindex", "onKeydown", "disabled"], Bl = {
4879
4884
  key: 0,
4880
4885
  class: "freddy-plugins-switch-slot__content"
4881
- }, Bl = {
4886
+ }, Ml = {
4882
4887
  key: 1,
4883
4888
  class: "freddy-plugins-switch-slot__hint"
4884
- }, Ml = /* @__PURE__ */ N({
4889
+ }, Ll = /* @__PURE__ */ N({
4885
4890
  __name: "SwitchSlot",
4886
4891
  props: {
4887
4892
  modelValue: { type: Boolean },
@@ -4904,9 +4909,9 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4904
4909
  "freddy-plugins-switch-slot--disabled": l.disabled
4905
4910
  }])
4906
4911
  }, [
4907
- a("div", xl, [
4908
- l.label || l.tooltip ? (c(), f("div", Pl, [
4909
- l.label ? (c(), f("span", Al, B(l.label), 1)) : S("", !0),
4912
+ a("div", Pl, [
4913
+ l.label || l.tooltip ? (c(), f("div", Al, [
4914
+ l.label ? (c(), f("span", Dl, B(l.label), 1)) : w("", !0),
4910
4915
  l.tooltip ? (c(), E(re, {
4911
4916
  key: 1,
4912
4917
  text: l.tooltip,
@@ -4916,8 +4921,8 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4916
4921
  L(ce, { class: "freddy-plugins-switch-slot__tooltip-icon" })
4917
4922
  ]),
4918
4923
  _: 1
4919
- }, 8, ["text", "placement"])) : S("", !0)
4920
- ])) : S("", !0),
4924
+ }, 8, ["text", "placement"])) : w("", !0)
4925
+ ])) : w("", !0),
4921
4926
  a("button", {
4922
4927
  class: F(["freddy-plugins-switch-slot__switch", { "freddy-plugins-switch-slot__switch--on": l.modelValue }]),
4923
4928
  "aria-checked": l.modelValue,
@@ -4925,22 +4930,22 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4925
4930
  tabindex: l.disabled ? -1 : 0,
4926
4931
  onClick: i,
4927
4932
  onKeydown: [
4928
- z(j(i, ["prevent"]), ["space"]),
4929
- z(j(i, ["prevent"]), ["enter"])
4933
+ z(U(i, ["prevent"]), ["space"]),
4934
+ z(U(i, ["prevent"]), ["enter"])
4930
4935
  ],
4931
4936
  disabled: l.disabled
4932
4937
  }, [...r[0] || (r[0] = [
4933
4938
  a("span", { class: "freddy-plugins-switch-slot__track" }, null, -1),
4934
4939
  a("span", { class: "freddy-plugins-switch-slot__thumb" }, null, -1)
4935
- ])], 42, Dl)
4940
+ ])], 42, Fl)
4936
4941
  ]),
4937
- l.showSlotContent ? (c(), f("div", Fl, [
4942
+ l.showSlotContent ? (c(), f("div", Bl, [
4938
4943
  q(l.$slots, "content", {}, void 0, !0)
4939
- ])) : S("", !0),
4940
- l.hint ? (c(), f("p", Bl, B(l.hint), 1)) : S("", !0)
4944
+ ])) : w("", !0),
4945
+ l.hint ? (c(), f("p", Ml, B(l.hint), 1)) : w("", !0)
4941
4946
  ], 2));
4942
4947
  }
4943
- }), _c = /* @__PURE__ */ H(Ml, [["__scopeId", "data-v-edc0859a"]]), Ll = { class: "freddy-plugin-nav-bar" }, Vl = ["onClick"], Cc = /* @__PURE__ */ N({
4948
+ }), Cc = /* @__PURE__ */ H(Ll, [["__scopeId", "data-v-edc0859a"]]), Vl = { class: "freddy-plugin-nav-bar" }, El = ["onClick"], wc = /* @__PURE__ */ N({
4944
4949
  __name: "TabList",
4945
4950
  props: {
4946
4951
  tabList: {},
@@ -4951,11 +4956,11 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4951
4956
  },
4952
4957
  emits: ["tabSwitch"],
4953
4958
  setup(y, { emit: m }) {
4954
- const s = y, e = m, i = D(s.currentTab), l = (r) => {
4959
+ const s = y, e = m, i = A(s.currentTab), l = (r) => {
4955
4960
  i.value !== r.id && (i.value = r.id, e("tabSwitch", r.id));
4956
4961
  };
4957
- return (r, u) => (c(), f("div", Ll, [
4958
- (c(!0), f(O, null, U(r.tabList, (d, o) => (c(), f("button", {
4962
+ return (r, u) => (c(), f("div", Vl, [
4963
+ (c(!0), f(O, null, j(r.tabList, (d, o) => (c(), f("button", {
4959
4964
  class: "freddy-plugin-tab-list-menu-button",
4960
4965
  key: o,
4961
4966
  onClick: (g) => l(d)
@@ -4964,10 +4969,10 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4964
4969
  a("span", {
4965
4970
  class: F({ "freddy-plugin-active-tab": i.value === d.id })
4966
4971
  }, null, 2)
4967
- ], 8, Vl))), 128))
4972
+ ], 8, El))), 128))
4968
4973
  ]));
4969
4974
  }
4970
- }), El = { class: "freddy-plugins-toast-wrapper" }, Nl = { class: "freddy-plugins-toast-icon-wrapper" }, Rl = { class: "freddy-plugins-toast-message" }, Ol = ["onClick"], wc = /* @__PURE__ */ N({
4975
+ }), Nl = { class: "freddy-plugins-toast-wrapper" }, Rl = { class: "freddy-plugins-toast-icon-wrapper" }, Ol = { class: "freddy-plugins-toast-message" }, zl = ["onClick"], Sc = /* @__PURE__ */ N({
4971
4976
  __name: "ToastMessage",
4972
4977
  setup(y) {
4973
4978
  const { toastQueue: m } = Tt(), s = {
@@ -4988,37 +4993,37 @@ const La = /* @__PURE__ */ H(xa, [["render", Ma]]), pc = /* @__PURE__ */ N({
4988
4993
  }, l = (r) => {
4989
4994
  m.value.splice(r, 1);
4990
4995
  };
4991
- return (r, u) => (c(), f("div", El, [
4992
- (c(!0), f(O, null, U(A(m), (d, o) => (c(), f("div", {
4996
+ return (r, u) => (c(), f("div", Nl, [
4997
+ (c(!0), f(O, null, j(D(m), (d, o) => (c(), f("div", {
4993
4998
  key: o,
4994
4999
  class: F(["freddy-plugins-toast-item", e(d.toastType)])
4995
5000
  }, [
4996
- a("div", Nl, [
5001
+ a("div", Rl, [
4997
5002
  (c(), E(K(i(d.toastType)), { class: "freddy-plugins-toast-icon" }))
4998
5003
  ]),
4999
- a("span", Rl, B(d.message), 1),
5004
+ a("span", Ol, B(d.message), 1),
5000
5005
  a("button", {
5001
5006
  class: "freddy-plugins-toast-close-button",
5002
5007
  onClick: (g) => l(o)
5003
5008
  }, [
5004
- L(A(ee), { class: "freddy-plugins-toast-close-icon" })
5005
- ], 8, Ol)
5009
+ L(D(ee), { class: "freddy-plugins-toast-close-icon" })
5010
+ ], 8, zl)
5006
5011
  ], 2))), 128))
5007
5012
  ]));
5008
5013
  }
5009
5014
  });
5010
- function Sc(y = {}) {
5015
+ function Tc(y = {}) {
5011
5016
  const {
5012
5017
  logErrors: m = !0,
5013
5018
  throwOnCritical: s = !1,
5014
5019
  maxRetries: e = 3
5015
- } = y, i = D([]), l = D(!1), r = D(0), u = M(() => i.value.length > 0), d = M(() => i.value[i.value.length - 1] || null), o = (T, b) => {
5020
+ } = y, i = A([]), l = A(!1), r = A(0), u = M(() => i.value.length > 0), d = M(() => i.value[i.value.length - 1] || null), o = (T, k) => {
5016
5021
  const I = {
5017
5022
  message: T instanceof Error ? T.message : String(T),
5018
5023
  stack: T instanceof Error ? T.stack : void 0,
5019
5024
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
5020
5025
  context: {
5021
- ...b,
5026
+ ...k,
5022
5027
  retryCount: r.value,
5023
5028
  userAgent: typeof navigator < "u" ? navigator.userAgent : "Unknown"
5024
5029
  }
@@ -5026,35 +5031,35 @@ function Sc(y = {}) {
5026
5031
  if (T && typeof T == "object" && "status" in T && (I.code = T.status), i.value.push(I), m && process.env.NODE_ENV, s && v(T))
5027
5032
  throw T;
5028
5033
  return I;
5029
- }, g = async (T, b) => {
5034
+ }, g = async (T, k) => {
5030
5035
  l.value = !0;
5031
5036
  try {
5032
5037
  const I = await T();
5033
5038
  return r.value = 0, { data: I, error: null };
5034
5039
  } catch (I) {
5035
- return { data: null, error: o(I, b) };
5040
+ return { data: null, error: o(I, k) };
5036
5041
  } finally {
5037
5042
  l.value = !1;
5038
5043
  }
5039
- }, k = async (T, b) => {
5044
+ }, b = async (T, k) => {
5040
5045
  let I = null;
5041
5046
  for (let C = 1; C <= e; C++) {
5042
5047
  r.value = C - 1;
5043
- const x = await g(T, {
5044
- ...b,
5048
+ const P = await g(T, {
5049
+ ...k,
5045
5050
  attempt: C,
5046
5051
  maxRetries: e
5047
5052
  });
5048
- if (x.data !== null)
5049
- return x;
5050
- if (I = x.error, I != null && I.code && typeof I.code == "number" && I.code >= 400 && I.code < 500)
5053
+ if (P.data !== null)
5054
+ return P;
5055
+ if (I = P.error, I != null && I.code && typeof I.code == "number" && I.code >= 400 && I.code < 500)
5051
5056
  break;
5052
5057
  C < e && await new Promise(
5053
5058
  (h) => setTimeout(h, Math.pow(2, C) * 1e3)
5054
5059
  );
5055
5060
  }
5056
5061
  return { data: null, error: I };
5057
- }, P = () => {
5062
+ }, $ = () => {
5058
5063
  i.value = [], r.value = 0;
5059
5064
  }, V = (T) => {
5060
5065
  T >= 0 && T < i.value.length && i.value.splice(T, 1);
@@ -5077,35 +5082,35 @@ function Sc(y = {}) {
5077
5082
  // Methods
5078
5083
  handleError: o,
5079
5084
  handleAsync: g,
5080
- retryAsync: k,
5081
- clearErrors: P,
5085
+ retryAsync: b,
5086
+ clearErrors: $,
5082
5087
  clearError: V,
5083
5088
  isCriticalError: v
5084
5089
  };
5085
5090
  }
5086
- function Tc(y = {}) {
5091
+ function $c(y = {}) {
5087
5092
  const {
5088
5093
  enableMetrics: m = process.env.NODE_ENV === "development",
5089
5094
  trackMemory: s = !1,
5090
5095
  sampleRate: e = 0.1
5091
- } = y, i = D([]), l = D(!1), r = D(0), u = M(() => i.value.length === 0 ? 0 : i.value.reduce((h, t) => h + t.renderTime, 0) / i.value.length), d = M(() => i.value.length === 0 ? 0 : Math.max(...i.value.map((x) => x.renderTime))), o = (x) => {
5092
- !m || Math.random() > e || (l.value = !0, r.value = performance.now(), x && process.env.NODE_ENV);
5093
- }, g = (x, h = 1) => {
5096
+ } = y, i = A([]), l = A(!1), r = A(0), u = M(() => i.value.length === 0 ? 0 : i.value.reduce((h, t) => h + t.renderTime, 0) / i.value.length), d = M(() => i.value.length === 0 ? 0 : Math.max(...i.value.map((P) => P.renderTime))), o = (P) => {
5097
+ !m || Math.random() > e || (l.value = !0, r.value = performance.now(), P && process.env.NODE_ENV);
5098
+ }, g = (P, h = 1) => {
5094
5099
  if (!l.value || !m) return;
5095
- const w = {
5100
+ const S = {
5096
5101
  renderTime: performance.now() - r.value,
5097
5102
  componentCount: h,
5098
5103
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
5099
5104
  };
5100
5105
  if (s && "memory" in performance) {
5101
5106
  const _ = performance.memory;
5102
- w.memoryUsage = _.usedJSHeapSize;
5107
+ S.memoryUsage = _.usedJSHeapSize;
5103
5108
  }
5104
- return i.value.push(w), i.value.length > 100 && i.value.shift(), l.value = !1, x && process.env.NODE_ENV, w;
5105
- }, k = async (x, h) => {
5109
+ return i.value.push(S), i.value.length > 100 && i.value.shift(), l.value = !1, P && process.env.NODE_ENV, S;
5110
+ }, b = async (P, h) => {
5106
5111
  o(h);
5107
5112
  try {
5108
- const t = await x(), p = g(h) || {
5113
+ const t = await P(), p = g(h) || {
5109
5114
  renderTime: 0,
5110
5115
  componentCount: 1,
5111
5116
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
@@ -5114,36 +5119,36 @@ function Tc(y = {}) {
5114
5119
  } catch (t) {
5115
5120
  throw g(h), t;
5116
5121
  }
5117
- }, P = (x, h) => {
5122
+ }, $ = (P, h) => {
5118
5123
  let t;
5119
5124
  return (...p) => {
5120
- clearTimeout(t), t = setTimeout(() => x(...p), h);
5125
+ clearTimeout(t), t = setTimeout(() => P(...p), h);
5121
5126
  };
5122
- }, V = (x, h) => {
5127
+ }, V = (P, h) => {
5123
5128
  let t;
5124
5129
  return (...p) => {
5125
- t || (x(...p), t = !0, setTimeout(() => t = !1, h));
5130
+ t || (P(...p), t = !0, setTimeout(() => t = !1, h));
5126
5131
  };
5127
- }, v = (x, h = 5e3) => {
5128
- "requestIdleCallback" in window ? window.requestIdleCallback(x, { timeout: h }) : setTimeout(x, 0);
5129
- }, T = async (x, h = 0) => (h > 0 && await new Promise((t) => setTimeout(t, h)), new Promise((t) => {
5132
+ }, v = (P, h = 5e3) => {
5133
+ "requestIdleCallback" in window ? window.requestIdleCallback(P, { timeout: h }) : setTimeout(P, 0);
5134
+ }, T = async (P, h = 0) => (h > 0 && await new Promise((t) => setTimeout(t, h)), new Promise((t) => {
5130
5135
  v(async () => {
5131
5136
  try {
5132
- const p = await x();
5137
+ const p = await P();
5133
5138
  t(p);
5134
5139
  } catch (p) {
5135
5140
  throw p;
5136
5141
  }
5137
5142
  });
5138
- })), b = (x, h, t) => {
5139
- const p = Math.ceil(t / h), w = Math.ceil(p * 0.5);
5143
+ })), k = (P, h, t) => {
5144
+ const p = Math.ceil(t / h), S = Math.ceil(p * 0.5);
5140
5145
  return (_) => {
5141
- const n = Math.max(0, Math.floor(_ / h) - w), W = Math.min(x.length, n + p + w * 2);
5146
+ const n = Math.max(0, Math.floor(_ / h) - S), W = Math.min(P.length, n + p + S * 2);
5142
5147
  return {
5143
- visibleItems: x.slice(n, W),
5148
+ visibleItems: P.slice(n, W),
5144
5149
  startIndex: n,
5145
5150
  endIndex: W,
5146
- totalHeight: x.length * h,
5151
+ totalHeight: P.length * h,
5147
5152
  offsetY: n * h
5148
5153
  };
5149
5154
  };
@@ -5168,258 +5173,258 @@ function Tc(y = {}) {
5168
5173
  // Performance tracking
5169
5174
  startTracking: o,
5170
5175
  endTracking: g,
5171
- measureAsync: k,
5176
+ measureAsync: b,
5172
5177
  // Optimization utilities
5173
- debounce: P,
5178
+ debounce: $,
5174
5179
  throttle: V,
5175
5180
  scheduleWork: v,
5176
5181
  lazyLoad: T,
5177
- createVirtualList: b,
5182
+ createVirtualList: k,
5178
5183
  // Management
5179
5184
  clearMetrics: I,
5180
5185
  getSummary: C
5181
5186
  };
5182
5187
  }
5183
5188
  export {
5184
- Wl as AdvancedModal,
5185
- ql as AnimeSpaceman,
5186
- jt as AssistantField,
5187
- Jl as AssistantList,
5188
- Ql as AssistantsHeader,
5189
+ Jl as AdvancedModal,
5190
+ Wl as AnimeSpaceman,
5191
+ Ut as AssistantField,
5192
+ Ql as AssistantList,
5193
+ Yl as AssistantsHeader,
5189
5194
  ao as AvatarChoosing,
5190
- Yl as AvatarList,
5191
- Oe as BaseButton,
5195
+ Xl as AvatarList,
5196
+ Ne as BaseButton,
5192
5197
  ke as BaseInput,
5193
- Lo as BaseTabButton,
5194
- fa as CardInput,
5195
- Xl as ChooseAssistantAvatar,
5196
- ic as CodeBlock,
5197
- Pc as ConfirmationModal,
5198
- ac as CustomCheckbox,
5199
- ya as DefaultInput,
5200
- Ac as DeleteConfirmationModal,
5201
- lc as Descriptions,
5202
- cc as DiffTextarea,
5203
- rc as Dropdown,
5198
+ Vo as BaseTabButton,
5199
+ ma as CardInput,
5200
+ ec as ChooseAssistantAvatar,
5201
+ ac as CodeBlock,
5202
+ Ac as ConfirmationModal,
5203
+ lc as CustomCheckbox,
5204
+ ga as DefaultInput,
5205
+ Dc as DeleteConfirmationModal,
5206
+ cc as Descriptions,
5207
+ rc as DiffTextarea,
5208
+ dc as Dropdown,
5204
5209
  Ie as EditFeaturedExcerptModal,
5205
- dc as EmailCodeVerification,
5206
- Dc as IconAddChatPop,
5210
+ uc as EmailCodeVerification,
5211
+ Fc as IconAddChatPop,
5207
5212
  it as IconAddFileSystem,
5208
- Fc as IconAddPeople,
5209
- Bc as IconAitronos,
5213
+ Bc as IconAddPeople,
5214
+ Mc as IconAitronos,
5210
5215
  dt as IconApple,
5211
- Mc as IconApplePay,
5212
- Lc as IconAppsGrid,
5213
- Vc as IconArrowDown,
5214
- Ec as IconArrowLeft,
5215
- Nc as IconArrowUp,
5216
+ Lc as IconApplePay,
5217
+ Vc as IconAppsGrid,
5218
+ Ec as IconArrowDown,
5219
+ Nc as IconArrowLeft,
5220
+ Rc as IconArrowUp,
5216
5221
  nt as IconBadgeCheck,
5217
- Rc as IconBroom,
5218
- Oc as IconBuildings,
5219
- zc as IconCalendarWithTickInside,
5220
- Hc as IconCallNotAllowed,
5222
+ Oc as IconBroom,
5223
+ zc as IconBuildings,
5224
+ Hc as IconCalendarWithTickInside,
5225
+ Uc as IconCallNotAllowed,
5221
5226
  jc as IconCardPay,
5222
- Uc as IconCaution,
5223
- Kc as IconChangeLog,
5224
- Gc as IconCheckCircleFill,
5225
- xe as IconCheckInCircle,
5226
- $e as IconCheckRounded,
5227
+ Kc as IconCaution,
5228
+ Gc as IconChangeLog,
5229
+ Zc as IconCheckCircleFill,
5230
+ $e as IconCheckInCircle,
5231
+ Te as IconCheckRounded,
5227
5232
  ae as IconChevronDown,
5228
- Zc as IconChevronLeft,
5229
- qc as IconChevronRight,
5230
- Le as IconChevronUp,
5231
- Wc as IconCircledCheck,
5232
- Jc as IconClock,
5233
- Qc as IconClosedEnvelope,
5234
- Yc as IconCloudUpload,
5235
- Xc as IconConnectorConfluence,
5236
- er as IconConnectorFigma,
5237
- tr as IconConnectorFreshDesk,
5238
- or as IconConnectorGitHub,
5239
- nr as IconConnectorJira,
5240
- sr as IconConnectorLinear,
5241
- ir as IconConnectorNotion,
5242
- ar as IconConnectorSlack,
5243
- lr as IconConnectorZapier,
5244
- Te as IconCopy,
5233
+ qc as IconChevronLeft,
5234
+ Wc as IconChevronRight,
5235
+ Be as IconChevronUp,
5236
+ Jc as IconCircledCheck,
5237
+ Qc as IconClock,
5238
+ Yc as IconClosedEnvelope,
5239
+ Xc as IconCloudUpload,
5240
+ er as IconConnectorConfluence,
5241
+ tr as IconConnectorFigma,
5242
+ or as IconConnectorFreshDesk,
5243
+ nr as IconConnectorGitHub,
5244
+ sr as IconConnectorJira,
5245
+ ir as IconConnectorLinear,
5246
+ ar as IconConnectorNotion,
5247
+ lr as IconConnectorSlack,
5248
+ cr as IconConnectorZapier,
5249
+ Se as IconCopy,
5245
5250
  ee as IconCross,
5246
- cr as IconCrossCircleFill,
5247
- rr as IconCrossInCircle,
5248
- dr as IconCurrentTick,
5249
- Qe as IconDataUpload,
5250
- ur as IconDelete,
5251
- pr as IconDeleteFillRed,
5252
- hr as IconDialingPhone,
5253
- fr as IconDisabledAlert,
5254
- mr as IconDocumentation,
5255
- vr as IconDownload,
5251
+ rr as IconCrossCircleFill,
5252
+ dr as IconCrossInCircle,
5253
+ ur as IconCurrentTick,
5254
+ Je as IconDataUpload,
5255
+ pr as IconDelete,
5256
+ hr as IconDeleteFillRed,
5257
+ fr as IconDialingPhone,
5258
+ mr as IconDisabledAlert,
5259
+ vr as IconDocumentation,
5260
+ yr as IconDownload,
5256
5261
  lt as IconDribbble,
5257
- yr as IconDropdownArrow,
5262
+ gr as IconDropdownArrow,
5258
5263
  pe as IconEdit,
5259
5264
  kt as IconEditLinePath,
5260
- gr as IconEllipse,
5261
- Ir as IconExcelThumbnail,
5265
+ Ir as IconEllipse,
5266
+ br as IconExcelThumbnail,
5262
5267
  _t as IconExpand,
5263
5268
  et as IconEye,
5264
5269
  ut as IconFacebook,
5265
5270
  ct as IconFigma,
5266
5271
  ht as IconFile,
5267
5272
  tt as IconFileSystem,
5268
- br as IconFileUpload,
5273
+ kr as IconFileUpload,
5269
5274
  st as IconFilter,
5270
5275
  vt as IconFolder,
5271
- kr as IconFreddyHub,
5272
- _r as IconFreddyHubLogo,
5273
- Cr as IconFreddyHubNewLogo,
5274
- wr as IconFreddyHubTitle,
5275
- Sr as IconFreddySmall,
5276
- Tr as IconGlobExpand,
5277
- $r as IconGlobe,
5276
+ _r as IconFreddyHub,
5277
+ Cr as IconFreddyHubLogo,
5278
+ wr as IconFreddyHubNewLogo,
5279
+ Sr as IconFreddyHubTitle,
5280
+ Tr as IconFreddySmall,
5281
+ $r as IconGlobExpand,
5282
+ xr as IconGlobe,
5278
5283
  pt as IconGoogle,
5279
- xr as IconHollowCircle,
5280
- Pr as IconHome,
5284
+ Pr as IconHollowCircle,
5285
+ Ar as IconHome,
5281
5286
  ce as IconInfoRounded,
5282
- Ar as IconInvalidInvoice,
5283
- Dr as IconInvoice,
5284
- Fr as IconInvoiceSwitch,
5285
- Br as IconLapTableBottom,
5286
- Mr as IconLense,
5287
- Ve as IconLightCross,
5288
- Lr as IconLink04,
5289
- Vr as IconLoadingError,
5290
- Er as IconLoadingOrg,
5291
- Nr as IconLocationWithCircleIn,
5292
- We as IconLock,
5293
- Rr as IconMarketPlace,
5294
- Or as IconMaximize,
5295
- zr as IconMicrophone,
5296
- Hr as IconMutedMicrophone,
5287
+ Dr as IconInvalidInvoice,
5288
+ Fr as IconInvoice,
5289
+ Br as IconInvoiceSwitch,
5290
+ Mr as IconLapTableBottom,
5291
+ Lr as IconLense,
5292
+ Me as IconLightCross,
5293
+ Vr as IconLink04,
5294
+ Er as IconLoadingError,
5295
+ Nr as IconLoadingOrg,
5296
+ Rr as IconLocationWithCircleIn,
5297
+ Ze as IconLock,
5298
+ Or as IconMarketPlace,
5299
+ zr as IconMaximize,
5300
+ Hr as IconMicrophone,
5301
+ Ur as IconMutedMicrophone,
5297
5302
  jr as IconNewNotification,
5298
- Je as IconNewTab,
5299
- Ur as IconNotification,
5300
- Kr as IconOpenBook,
5303
+ qe as IconNewTab,
5304
+ Kr as IconNotification,
5305
+ Gr as IconOpenBook,
5301
5306
  yt as IconPaperAirPlane,
5302
- Gr as IconPauseCircle,
5303
- Zr as IconPdfThumbnail,
5304
- qr as IconPenEdit,
5305
- Wr as IconPencil,
5306
- Jr as IconPeopleHub,
5307
- Qr as IconPersonCircle,
5308
- Yr as IconPits,
5309
- Xr as IconPlay,
5307
+ Zr as IconPauseCircle,
5308
+ qr as IconPdfThumbnail,
5309
+ Wr as IconPenEdit,
5310
+ Jr as IconPencil,
5311
+ Qr as IconPeopleHub,
5312
+ Yr as IconPersonCircle,
5313
+ Xr as IconPits,
5314
+ ed as IconPlay,
5310
5315
  Xe as IconPlus,
5311
- ed as IconPolygonDown,
5312
- td as IconPresentation,
5313
- od as IconProgressBase,
5314
- nd as IconProgressComplete,
5315
- sd as IconProgressGoing,
5316
- id as IconPurpose,
5317
- ad as IconPurseCircleFill,
5316
+ td as IconPolygonDown,
5317
+ od as IconPresentation,
5318
+ nd as IconProgressBase,
5319
+ sd as IconProgressComplete,
5320
+ id as IconProgressGoing,
5321
+ ad as IconPurpose,
5322
+ ld as IconPurseCircleFill,
5318
5323
  fe as IconQuestion,
5319
- ld as IconRadio,
5320
- cd as IconRadioFill,
5324
+ cd as IconRadio,
5325
+ rd as IconRadioFill,
5321
5326
  ft as IconRefresh,
5322
5327
  at as IconRevertedTriangle,
5323
- Be as IconRobotScreen,
5324
- rd as IconRoundTick,
5328
+ We as IconRobotScreen,
5329
+ dd as IconRoundTick,
5325
5330
  Ye as IconSearch,
5326
5331
  Ct as IconSearchOptimised,
5327
- dd as IconSectionHide,
5332
+ ud as IconSectionHide,
5328
5333
  wt as IconSend,
5329
- ud as IconSettings,
5330
- pd as IconSettingsBold,
5331
- hd as IconSize,
5332
- fd as IconSliderKnobs,
5333
- md as IconSortIdle,
5334
- Me as IconSparkle,
5335
- vd as IconSpotlio,
5334
+ pd as IconSettings,
5335
+ hd as IconSettingsBold,
5336
+ fd as IconSize,
5337
+ md as IconSliderKnobs,
5338
+ vd as IconSortIdle,
5339
+ Fe as IconSparkle,
5340
+ yd as IconSpotlio,
5336
5341
  ot as IconStar,
5337
- yd as IconStatistics,
5338
- gd as IconStopChat,
5339
- Id as IconStreamLineHub,
5340
- bd as IconStreamLineHubNewLogo,
5341
- Ee as IconStyleDirective,
5342
- kd as IconSun,
5343
- _d as IconSwap,
5344
- Cd as IconText,
5345
- wd as IconTextThumbnail,
5346
- Sd as IconThinDocument,
5347
- Td as IconThinFile,
5342
+ gd as IconStatistics,
5343
+ Id as IconStopChat,
5344
+ bd as IconStreamLineHub,
5345
+ kd as IconStreamLineHubNewLogo,
5346
+ Le as IconStyleDirective,
5347
+ _d as IconSun,
5348
+ Cd as IconSwap,
5349
+ wd as IconText,
5350
+ Sd as IconTextThumbnail,
5351
+ Td as IconThinDocument,
5352
+ $d as IconThinFile,
5348
5353
  mt as IconThumbsDown,
5349
5354
  he as IconTick,
5350
- $d as IconUser,
5351
- xd as IconVerticalDots,
5352
- Pd as IconVideoCamera,
5353
- Ad as IconWarningOctal,
5355
+ xd as IconUser,
5356
+ Pd as IconVerticalDots,
5357
+ Ad as IconVideoCamera,
5358
+ Dd as IconWarningOctal,
5354
5359
  rt as IconX,
5355
- Dd as IconZip,
5356
- uc as InputField,
5357
- pc as InstructionsModal,
5358
- hc as InstructiontextArea,
5359
- La as ModalBox,
5360
- fc as ModalOverlay,
5361
- mc as ModelDropdown,
5362
- vc as OutputModeModal,
5363
- yc as Pagination,
5364
- Ta as PhoneInput,
5365
- ec as RulesManagement,
5360
+ Fd as IconZip,
5361
+ pc as InputField,
5362
+ hc as InstructionsModal,
5363
+ fc as InstructiontextArea,
5364
+ Va as ModalBox,
5365
+ mc as ModalOverlay,
5366
+ vc as ModelDropdown,
5367
+ yc as OutputModeModal,
5368
+ gc as Pagination,
5369
+ $a as PhoneInput,
5370
+ tc as RulesManagement,
5366
5371
  _e as SearchInput,
5367
- gc as SendButton,
5368
- ii as SimpleChatInterface,
5369
- Ic as SkeletonLoader,
5370
- bc as Slider,
5371
- kc as SnackBar,
5372
- sc as SocialButtons,
5373
- Oa as Spinner,
5374
- Hi as Switch,
5375
- _c as SwitchSlot,
5376
- Cc as TabList,
5377
- Li as TextAreaInputField,
5378
- wc as ToastMessage,
5372
+ Ic as SendButton,
5373
+ ai as SimpleChatInterface,
5374
+ bc as SkeletonLoader,
5375
+ kc as Slider,
5376
+ _c as SnackBar,
5377
+ ic as SocialButtons,
5378
+ za as Spinner,
5379
+ Ui as Switch,
5380
+ Cc as SwitchSlot,
5381
+ wc as TabList,
5382
+ Vi as TextAreaInputField,
5383
+ Sc as ToastMessage,
5379
5384
  re as Tooltip,
5380
- Ts as TooltipV2,
5381
- tc as VectorFrame,
5382
- oc as VectorSection,
5383
- nc as VoiceList,
5384
- Re as VoiceSelection,
5385
- Fd as aiResponseToChatMessage,
5386
- Bd as calculatePercentage,
5387
- Md as cloneDeepSafe,
5388
- Ld as copyToClipboard,
5385
+ $s as TooltipV2,
5386
+ oc as VectorFrame,
5387
+ nc as VectorSection,
5388
+ sc as VoiceList,
5389
+ Ee as VoiceSelection,
5390
+ Bd as aiResponseToChatMessage,
5391
+ Md as calculatePercentage,
5392
+ Ld as cloneDeepSafe,
5393
+ Vd as copyToClipboard,
5389
5394
  bt as createChangesObject,
5390
- Vd as daysInMonth,
5391
- Ed as debounce,
5392
- Nd as deepEqual,
5393
- Kl as default,
5394
- Rd as defaultImageSrc,
5395
- Od as extractStats,
5396
- zd as fileSizeFormatter,
5397
- Hd as fillMissingDays,
5395
+ Ed as daysInMonth,
5396
+ Nd as debounce,
5397
+ Rd as deepEqual,
5398
+ Gl as default,
5399
+ Od as defaultImageSrc,
5400
+ zd as extractStats,
5401
+ Hd as fileSizeFormatter,
5402
+ Ud as fillMissingDays,
5398
5403
  jd as formatDate,
5399
- Ud as formatDateToLocaleString,
5400
- Kd as formatLastUsedDate,
5401
- Gl as frSanitizePlugin,
5402
- Gd as getDatesForMonth,
5403
- Zd as getDaysInMonth,
5404
+ Kd as formatDateToLocaleString,
5405
+ Gd as formatLastUsedDate,
5406
+ Zl as frSanitizePlugin,
5407
+ Zd as getDatesForMonth,
5408
+ qd as getDaysInMonth,
5404
5409
  It as getDisplayContent,
5405
- qd as getFileNameFromUrl,
5406
- Wd as getShortMonthName,
5407
- Jd as hasOverflow,
5408
- Qd as hasTextImprovements,
5409
- Zl as iconStylePlugin,
5410
- Yd as interpolateColor,
5411
- Xd as isValidAIResponse,
5412
- eu as openConfirmBoxModal,
5413
- tu as openDeleteConfirmModal,
5414
- ou as parseAITextResponse,
5410
+ Wd as getFileNameFromUrl,
5411
+ Jd as getShortMonthName,
5412
+ Qd as hasOverflow,
5413
+ Yd as hasTextImprovements,
5414
+ ql as iconStylePlugin,
5415
+ Xd as interpolateColor,
5416
+ eu as isValidAIResponse,
5417
+ tu as openConfirmBoxModal,
5418
+ ou as openDeleteConfirmModal,
5419
+ nu as parseAITextResponse,
5415
5420
  gt as parseApiResponse,
5416
- nu as readableDateFormat,
5417
- su as scrollToBottom,
5418
- iu as scrollToElement,
5419
- Sc as useErrorHandler,
5420
- Tc as usePerformance,
5421
+ su as readableDateFormat,
5422
+ iu as scrollToBottom,
5423
+ au as scrollToElement,
5424
+ Tc as useErrorHandler,
5425
+ $c as usePerformance,
5421
5426
  St as useSnackBar,
5422
5427
  Tt as useToast,
5423
- Ne as vFrSanitize
5428
+ Ve as vFrSanitize
5424
5429
  };
5425
5430
  //# sourceMappingURL=index.js.map