@vc-shell/framework 2.0.5 → 2.0.6-pr232.5b58c86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/ai-agent/index.js +2 -2
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-Y09G7Gnw.js} +659 -720
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-D5HgEXFw.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-Y09G7Gnw.js.map} +1 -1
  5. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js → VcTableAdapter.vue_vue_type_style_index_0_lang-By-yf14g.js} +3368 -3345
  6. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-By-yf14g.js.map +1 -0
  7. package/dist/chunks/index-B78ceaW1.js +45 -0
  8. package/dist/chunks/index-B78ceaW1.js.map +1 -0
  9. package/dist/chunks/vendor-lodash-es-D2n90GJy.js +1436 -0
  10. package/dist/chunks/vendor-lodash-es-D2n90GJy.js.map +1 -0
  11. package/dist/core/plugins/ai-agent/composables/index.d.ts +1 -1
  12. package/dist/core/plugins/ai-agent/composables/index.d.ts.map +1 -1
  13. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts +2 -2
  14. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
  15. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts +7 -18
  16. package/dist/core/plugins/ai-agent/composables/useAiAgentContext.d.ts.map +1 -1
  17. package/dist/core/plugins/ai-agent/constants.d.ts +0 -5
  18. package/dist/core/plugins/ai-agent/constants.d.ts.map +1 -1
  19. package/dist/core/plugins/ai-agent/index.d.ts +1 -1
  20. package/dist/core/plugins/ai-agent/index.d.ts.map +1 -1
  21. package/dist/core/plugins/ai-agent/public.d.ts +1 -1
  22. package/dist/core/plugins/ai-agent/public.d.ts.map +1 -1
  23. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts +1 -5
  24. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
  25. package/dist/core/plugins/ai-agent/services/message-transport.d.ts +1 -3
  26. package/dist/core/plugins/ai-agent/services/message-transport.d.ts.map +1 -1
  27. package/dist/core/plugins/ai-agent/types.d.ts +1 -44
  28. package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
  29. package/dist/framework.js +8 -8
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/dist/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.d.ts +1 -1
  32. package/dist/ui/components/molecules/vc-dropdown-panel/panel-anchor-registry.d.ts.map +1 -1
  33. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts +4 -4
  34. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  35. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  36. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -1
  37. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +4 -3
  38. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts +4 -3
  40. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts.map +1 -1
  41. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
  42. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +1 -1
  43. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
  44. package/dist/ui/composables/useFloatingPosition.d.ts +2 -2
  45. package/dist/ui/composables/useFloatingPosition.d.ts.map +1 -1
  46. package/dist/ui/index.js +2 -2
  47. package/package.json +4 -4
  48. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-HqgHfIV-.js.map +0 -1
  49. package/dist/chunks/index-CacTeJdd.js +0 -117
  50. package/dist/chunks/index-CacTeJdd.js.map +0 -1
  51. package/dist/chunks/vendor-lodash-es-CfnUOh0o.js +0 -1490
  52. package/dist/chunks/vendor-lodash-es-CfnUOh0o.js.map +0 -1
  53. package/dist/core/plugins/ai-agent/utils/deep-merge-changes.d.ts +0 -16
  54. package/dist/core/plugins/ai-agent/utils/deep-merge-changes.d.ts.map +0 -1
  55. package/dist/core/plugins/ai-agent/utils/index.d.ts +0 -2
  56. package/dist/core/plugins/ai-agent/utils/index.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
- import { ref as D, computed as h, shallowRef as ze, watch as H, getCurrentInstance as ee, inject as J, isRef as ke, provide as Se, defineComponent as L, openBlock as w, createElementBlock as N, createElementVNode as $, createCommentVNode as Z, createStaticVNode as Ge, onMounted as le, normalizeStyle as Q, normalizeClass as K, toDisplayString as pe, markRaw as we, createBlock as Y, resolveDynamicComponent as fe, mergeProps as se, resolveComponent as ce, createVNode as W, unref as ie, Transition as Ae, withCtx as Pe, onUnmounted as Fe } from "vue";
2
- import { c as te } from "./vendor-lodash-es-CfnUOh0o.js";
1
+ import { ref as G, computed as d, shallowRef as Be, watch as H, getCurrentInstance as Q, inject as L, isRef as ke, provide as Ce, defineComponent as M, openBlock as S, createElementBlock as j, createElementVNode as R, createCommentVNode as Z, createStaticVNode as Ge, onMounted as oe, normalizeStyle as Y, normalizeClass as K, toDisplayString as pe, markRaw as we, createBlock as X, resolveDynamicComponent as fe, mergeProps as ae, resolveComponent as ce, createVNode as W, unref as se, Transition as Ae, withCtx as Pe, onUnmounted as Fe } from "vue";
2
+ import { c as ee } from "./vendor-lodash-es-D2n90GJy.js";
3
3
  import { u as De } from "./vendor-vueuse-core-CEdpDfzx.js";
4
4
  import { j as Me } from "./vendor-vueuse-shared-BlCOXw5g.js";
5
5
  import { L as Le } from "./vendor-lucide-vue-next-CwUrzD6N.js";
@@ -12,7 +12,7 @@ function We(i, e) {
12
12
  }
13
13
  return e;
14
14
  }
15
- class F {
15
+ class k {
16
16
  authToken = "";
17
17
  /**
18
18
  * JSON parse reviver for converting date strings to Date objects.
@@ -33,7 +33,7 @@ class F {
33
33
  return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
34
34
  }
35
35
  }
36
- class Ve extends F {
36
+ class Ve extends k {
37
37
  http;
38
38
  baseUrl;
39
39
  constructor(e, t) {
@@ -140,7 +140,7 @@ class Ve extends F {
140
140
  }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
141
141
  }
142
142
  }
143
- class fr extends F {
143
+ class dr extends k {
144
144
  http;
145
145
  baseUrl;
146
146
  constructor(e, t) {
@@ -209,7 +209,7 @@ class fr extends F {
209
209
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
210
210
  }
211
211
  }
212
- class pr extends F {
212
+ class fr extends k {
213
213
  http;
214
214
  baseUrl;
215
215
  constructor(e, t) {
@@ -239,7 +239,7 @@ class pr extends F {
239
239
  }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
240
240
  }
241
241
  }
242
- class mr extends F {
242
+ class pr extends k {
243
243
  http;
244
244
  baseUrl;
245
245
  constructor(e, t) {
@@ -381,7 +381,7 @@ class mr extends F {
381
381
  }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
382
382
  }
383
383
  }
384
- class vr extends F {
384
+ class mr extends k {
385
385
  http;
386
386
  baseUrl;
387
387
  constructor(e, t) {
@@ -582,7 +582,7 @@ class vr extends F {
582
582
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
583
583
  }
584
584
  }
585
- class gr extends F {
585
+ class vr extends k {
586
586
  http;
587
587
  baseUrl;
588
588
  constructor(e, t) {
@@ -611,7 +611,7 @@ class gr extends F {
611
611
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
612
612
  }
613
613
  }
614
- class br extends F {
614
+ class gr extends k {
615
615
  http;
616
616
  baseUrl;
617
617
  constructor(e, t) {
@@ -663,7 +663,7 @@ class br extends F {
663
663
  }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
664
664
  }
665
665
  }
666
- class xr extends F {
666
+ class br extends k {
667
667
  http;
668
668
  baseUrl;
669
669
  constructor(e, t) {
@@ -938,7 +938,7 @@ class xr extends F {
938
938
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
939
939
  }
940
940
  }
941
- class Er extends F {
941
+ class xr extends k {
942
942
  http;
943
943
  baseUrl;
944
944
  constructor(e, t) {
@@ -971,7 +971,7 @@ class Er extends F {
971
971
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
972
972
  }
973
973
  }
974
- class yr extends F {
974
+ class Er extends k {
975
975
  http;
976
976
  baseUrl;
977
977
  constructor(e, t) {
@@ -1075,7 +1075,7 @@ class yr extends F {
1075
1075
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1076
1076
  }
1077
1077
  }
1078
- class _r extends F {
1078
+ class yr extends k {
1079
1079
  http;
1080
1080
  baseUrl;
1081
1081
  constructor(e, t) {
@@ -1531,7 +1531,7 @@ class _r extends F {
1531
1531
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1532
1532
  }
1533
1533
  }
1534
- class Ur extends F {
1534
+ class _r extends k {
1535
1535
  http;
1536
1536
  baseUrl;
1537
1537
  constructor(e, t) {
@@ -1633,7 +1633,7 @@ class Ur extends F {
1633
1633
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1634
1634
  }
1635
1635
  }
1636
- class Cr extends F {
1636
+ class Ur extends k {
1637
1637
  http;
1638
1638
  baseUrl;
1639
1639
  constructor(e, t) {
@@ -1689,7 +1689,7 @@ class Cr extends F {
1689
1689
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1690
1690
  }
1691
1691
  }
1692
- class qe extends F {
1692
+ class Ke extends k {
1693
1693
  http;
1694
1694
  baseUrl;
1695
1695
  constructor(e, t) {
@@ -2826,7 +2826,7 @@ class qe extends F {
2826
2826
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2827
2827
  }
2828
2828
  }
2829
- class Tr extends F {
2829
+ class Tr extends k {
2830
2830
  http;
2831
2831
  baseUrl;
2832
2832
  constructor(e, t) {
@@ -2954,7 +2954,7 @@ class Tr extends F {
2954
2954
  }) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2955
2955
  }
2956
2956
  }
2957
- class Sr extends F {
2957
+ class Sr extends k {
2958
2958
  http;
2959
2959
  baseUrl;
2960
2960
  constructor(e, t) {
@@ -3223,7 +3223,7 @@ class Sr extends F {
3223
3223
  }) : t === 401 ? e.text().then((r) => s("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => s("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => s("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3224
3224
  }
3225
3225
  }
3226
- var Ke = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(Ke || {}), He = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(He || {}), Ze = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(Ze || {}), Xe = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(Xe || {}), Ye = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Ye || {}), Qe = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(Qe || {}), et = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(et || {});
3226
+ var qe = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(qe || {}), He = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(He || {}), Ze = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(Ze || {}), Xe = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(Xe || {}), Ye = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Ye || {}), Qe = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(Qe || {}), et = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(et || {});
3227
3227
  class tt extends Error {
3228
3228
  message;
3229
3229
  status;
@@ -3252,7 +3252,7 @@ const xe = {
3252
3252
  prefix: "@vc-shell/framework",
3253
3253
  enabled: !0
3254
3254
  };
3255
- function B(i) {
3255
+ function $(i) {
3256
3256
  const e = { ...rt }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? xe[r] >= xe[e.level] : !1;
3257
3257
  return {
3258
3258
  /**
@@ -3282,7 +3282,7 @@ function B(i) {
3282
3282
  /**
3283
3283
  * Create a child logger with additional context
3284
3284
  */
3285
- child: (r) => B(i ? `${i}:${r}` : r),
3285
+ child: (r) => $(i ? `${i}:${r}` : r),
3286
3286
  /**
3287
3287
  * Set the log level for this logger instance
3288
3288
  */
@@ -3297,14 +3297,14 @@ function B(i) {
3297
3297
  }
3298
3298
  };
3299
3299
  }
3300
- const wr = B(), Ar = {
3301
- core: B("core"),
3302
- ui: B("ui"),
3303
- shared: B("shared"),
3304
- plugins: B("plugins"),
3305
- services: B("services"),
3306
- composables: B("composables")
3307
- }, he = B("use-external-provider"), nt = "externalSignIn", at = () => {
3300
+ const Cr = $(), wr = {
3301
+ core: $("core"),
3302
+ ui: $("ui"),
3303
+ shared: $("shared"),
3304
+ plugins: $("plugins"),
3305
+ services: $("services"),
3306
+ composables: $("composables")
3307
+ }, he = $("use-external-provider"), nt = "externalSignIn", at = () => {
3308
3308
  const i = new Ve(), e = De(
3309
3309
  nt,
3310
3310
  {},
@@ -3322,16 +3322,16 @@ const wr = B(), Ar = {
3322
3322
  const l = window.location.origin, c = window.location.pathname ?? t() ?? "/";
3323
3323
  if (!o)
3324
3324
  throw new Error("The parameter 'authenticationType' cannot be null or undefined.");
3325
- const m = new URL("/externalsignin", l);
3326
- m.searchParams.set("authenticationType", o), m.searchParams.set("returnUrl", c), e.value = { providerType: o }, window.location.assign(m);
3325
+ const p = new URL("/externalsignin", l);
3326
+ p.searchParams.set("authenticationType", o), p.searchParams.set("returnUrl", c), e.value = { providerType: o }, window.location.assign(p);
3327
3327
  } catch (l) {
3328
3328
  throw he.error("External sign-in failed:", l), l;
3329
3329
  }
3330
3330
  }
3331
3331
  async function r(o) {
3332
3332
  try {
3333
- const l = window.location.origin, c = window.location.pathname ?? "/", m = new URL("/externalsignin/signout", l);
3334
- m.searchParams.set("authenticationType", o), m.searchParams.set("returnUrl", c), e.value = {}, window.location.assign(m);
3333
+ const l = window.location.origin, c = window.location.pathname ?? "/", p = new URL("/externalsignin/signout", l);
3334
+ p.searchParams.set("authenticationType", o), p.searchParams.set("returnUrl", c), e.value = {}, window.location.assign(p);
3335
3335
  } catch (l) {
3336
3336
  throw he.error("External sign-out failed:", l), l;
3337
3337
  }
@@ -3351,29 +3351,29 @@ const wr = B(), Ar = {
3351
3351
  signOut: r,
3352
3352
  getProviders: a
3353
3353
  };
3354
- }, me = "vc_auth_data", A = B("use-user");
3354
+ }, me = "vc_auth_data", C = $("use-user");
3355
3355
  function st() {
3356
3356
  try {
3357
3357
  const i = localStorage.getItem(me);
3358
3358
  if (i)
3359
3359
  return JSON.parse(i);
3360
3360
  } catch (i) {
3361
- A.error("Failed to read auth data from storage:", i);
3361
+ C.error("Failed to read auth data from storage:", i);
3362
3362
  }
3363
3363
  return null;
3364
3364
  }
3365
3365
  function Ee(i) {
3366
3366
  try {
3367
- A.debug("storeAuthData - Saving:", i), localStorage.setItem(me, JSON.stringify(i)), A.debug("storeAuthData - Saved successfully");
3367
+ C.debug("storeAuthData - Saving:", i), localStorage.setItem(me, JSON.stringify(i)), C.debug("storeAuthData - Saved successfully");
3368
3368
  } catch (e) {
3369
- A.error("Failed to store auth data:", e);
3369
+ C.error("Failed to store auth data:", e);
3370
3370
  }
3371
3371
  }
3372
3372
  function it() {
3373
3373
  try {
3374
3374
  localStorage.removeItem(me);
3375
3375
  } catch (i) {
3376
- A.error("Failed to clear auth data:", i);
3376
+ C.error("Failed to clear auth data:", i);
3377
3377
  }
3378
3378
  }
3379
3379
  async function ye(i) {
@@ -3387,13 +3387,13 @@ async function ye(i) {
3387
3387
  });
3388
3388
  if (!t.ok) {
3389
3389
  const c = await t.text();
3390
- return A.error("fetchToken - HTTP error:", t.status, t.statusText, c), null;
3390
+ return C.error("fetchToken - HTTP error:", t.status, t.statusText, c), null;
3391
3391
  }
3392
3392
  const n = await t.json();
3393
- A.debug("fetchToken - Response:", n);
3393
+ C.debug("fetchToken - Response:", n);
3394
3394
  const r = n.access_token, a = n.refresh_token, o = n.expires_in;
3395
3395
  if (n.error || !r)
3396
- return A.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3396
+ return C.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3397
3397
  const l = o ? Date.now() + o * 1e3 : null;
3398
3398
  return {
3399
3399
  token: r,
@@ -3402,157 +3402,157 @@ async function ye(i) {
3402
3402
  expires_at: l
3403
3403
  };
3404
3404
  } catch (e) {
3405
- return A.error("fetchToken - Exception:", e), null;
3405
+ return C.error("fetchToken - Exception:", e), null;
3406
3406
  }
3407
3407
  }
3408
3408
  function ot() {
3409
- const i = D(!1), e = D(), t = D(null), { storage: n, signOut: r } = at(), a = new qe(), o = h(() => e.value?.userName != null);
3410
- async function l(_, E) {
3411
- let S = !1;
3409
+ const i = G(!1), e = G(), t = G(null), { storage: n, signOut: r } = at(), a = new Ke(), o = d(() => e.value?.userName != null);
3410
+ async function l(m, T) {
3411
+ let U = !1;
3412
3412
  try {
3413
- i.value = !0, S = await a.validatePasswordResetToken(_, {
3414
- token: E
3413
+ i.value = !0, U = await a.validatePasswordResetToken(m, {
3414
+ token: T
3415
3415
  });
3416
3416
  } catch {
3417
3417
  } finally {
3418
3418
  i.value = !1;
3419
3419
  }
3420
- return S;
3420
+ return U;
3421
3421
  }
3422
- async function c(_) {
3423
- return a.validatePassword(_);
3422
+ async function c(m) {
3423
+ return a.validatePassword(m);
3424
3424
  }
3425
- async function m(_, E, S) {
3426
- return a.resetPasswordByToken(_, {
3427
- newPassword: E,
3428
- token: S
3425
+ async function p(m, T, U) {
3426
+ return a.resetPasswordByToken(m, {
3427
+ newPassword: T,
3428
+ token: U
3429
3429
  });
3430
3430
  }
3431
- async function U(_, E) {
3432
- A.debug("signIn - Entry point");
3431
+ async function g(m, T) {
3432
+ C.debug("signIn - Entry point");
3433
3433
  try {
3434
3434
  i.value = !0;
3435
- const S = await a.login({ userName: _, password: E });
3436
- if (A.debug("signIn - Cookie login completed:", S), !S.succeeded)
3437
- return S;
3438
- A.debug("signIn - Requesting token...");
3439
- const P = await ye({
3435
+ const U = await a.login({ userName: m, password: T });
3436
+ if (C.debug("signIn - Cookie login completed:", U), !U.succeeded)
3437
+ return U;
3438
+ C.debug("signIn - Requesting token...");
3439
+ const A = await ye({
3440
3440
  grant_type: "password",
3441
- username: _,
3442
- password: E,
3441
+ username: m,
3442
+ password: T,
3443
3443
  scope: "offline_access"
3444
3444
  });
3445
- P && (t.value = P, Ee(t.value), A.debug("signIn - Token saved:", t.value));
3446
- const M = await a.getCurrentUser();
3447
- if (M)
3448
- return e.value = M, S;
3445
+ A && (t.value = A, Ee(t.value), C.debug("signIn - Token saved:", t.value));
3446
+ const F = await a.getCurrentUser();
3447
+ if (F)
3448
+ return e.value = F, U;
3449
3449
  throw { succeeded: !1 };
3450
- } catch (S) {
3451
- A.error("signIn failed:", S);
3452
- let P = S.message;
3453
- if (S.response)
3450
+ } catch (U) {
3451
+ C.error("signIn failed:", U);
3452
+ let A = U.message;
3453
+ if (U.response)
3454
3454
  try {
3455
- const M = JSON.parse(S.response);
3456
- P = M.errorDescription || M.errors?.[0]?.description || M.error || P;
3455
+ const F = JSON.parse(U.response);
3456
+ A = F.errorDescription || F.errors?.[0]?.description || F.error || A;
3457
3457
  } catch {
3458
3458
  }
3459
- return { succeeded: !1, error: P, status: S.status };
3459
+ return { succeeded: !1, error: A, status: U.status };
3460
3460
  } finally {
3461
3461
  i.value = !1;
3462
3462
  }
3463
3463
  }
3464
- async function p() {
3465
- A.debug("signOut - Entry point"), e.value = void 0, it(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : a.logout();
3464
+ async function h() {
3465
+ C.debug("signOut - Entry point"), e.value = void 0, it(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : a.logout();
3466
3466
  }
3467
- let d = null;
3468
- async function v() {
3469
- return d || (d = (async () => {
3470
- A.debug("loadUser - Entry point");
3467
+ let y = null;
3468
+ async function w() {
3469
+ return y || (y = (async () => {
3470
+ C.debug("loadUser - Entry point");
3471
3471
  try {
3472
3472
  i.value = !0, performance.mark("vc:auth-start");
3473
- const [_] = await Promise.all([a.getCurrentUser(), g()]);
3474
- e.value = _, performance.mark("vc:auth-done"), A.debug("User details loaded:", e.value);
3475
- } catch (_) {
3476
- A.error("loadUser failed:", _);
3473
+ const [m] = await Promise.all([a.getCurrentUser(), b()]);
3474
+ e.value = m, performance.mark("vc:auth-done"), C.debug("User details loaded:", e.value);
3475
+ } catch (m) {
3476
+ C.error("loadUser failed:", m);
3477
3477
  } finally {
3478
- i.value = !1, d = null;
3478
+ i.value = !1, y = null;
3479
3479
  }
3480
3480
  return { ...e.value };
3481
- })(), d);
3481
+ })(), y);
3482
3482
  }
3483
- async function C(_) {
3483
+ async function x(m) {
3484
3484
  try {
3485
- return i.value = !0, await a.requestPasswordReset(_), { succeeded: !0 };
3486
- } catch (E) {
3487
- return { succeeded: !1, error: E };
3485
+ return i.value = !0, await a.requestPasswordReset(m), { succeeded: !0 };
3486
+ } catch (T) {
3487
+ return { succeeded: !1, error: T };
3488
3488
  } finally {
3489
3489
  i.value = !1;
3490
3490
  }
3491
3491
  }
3492
- async function I(_, E) {
3493
- let S;
3492
+ async function O(m, T) {
3493
+ let U;
3494
3494
  try {
3495
3495
  i.value = !0;
3496
- const P = {
3497
- oldPassword: _,
3498
- newPassword: E
3496
+ const A = {
3497
+ oldPassword: m,
3498
+ newPassword: T
3499
3499
  };
3500
- S = await a.changeCurrentUserPassword(P);
3501
- } catch (P) {
3502
- return { succeeded: !1, errors: [P.message] };
3500
+ U = await a.changeCurrentUserPassword(A);
3501
+ } catch (A) {
3502
+ return { succeeded: !1, errors: [A.message] };
3503
3503
  } finally {
3504
3504
  i.value = !1;
3505
3505
  }
3506
- return S;
3506
+ return U;
3507
3507
  }
3508
- async function x() {
3509
- let _ = null;
3508
+ async function N() {
3509
+ let m = null;
3510
3510
  try {
3511
- _ = await a.getLoginTypes();
3512
- } catch (E) {
3513
- throw A.error("getLoginType failed:", E), E;
3511
+ m = await a.getLoginTypes();
3512
+ } catch (T) {
3513
+ throw C.error("getLoginType failed:", T), T;
3514
3514
  }
3515
- return _;
3516
- }
3517
- const R = 60 * 1e3;
3518
- async function g() {
3519
- if (A.debug("getAccessToken - Entry point"), t.value || (t.value = st()), !t.value)
3520
- return A.debug("getAccessToken - No auth data available"), null;
3521
- const _ = Date.now(), E = t.value.expires_at, S = E ? _ >= E - R : !1;
3522
- if (A.debug("getAccessToken - Token status:", {
3515
+ return m;
3516
+ }
3517
+ const D = 60 * 1e3;
3518
+ async function b() {
3519
+ if (C.debug("getAccessToken - Entry point"), t.value || (t.value = st()), !t.value)
3520
+ return C.debug("getAccessToken - No auth data available"), null;
3521
+ const m = Date.now(), T = t.value.expires_at, U = T ? m >= T - D : !1;
3522
+ if (C.debug("getAccessToken - Token status:", {
3523
3523
  hasToken: !!t.value.access_token,
3524
- expiresAt: E ? new Date(E).toISOString() : "not set",
3525
- now: new Date(_).toISOString(),
3526
- shouldRefresh: S,
3524
+ expiresAt: T ? new Date(T).toISOString() : "not set",
3525
+ now: new Date(m).toISOString(),
3526
+ shouldRefresh: U,
3527
3527
  hasRefreshToken: !!t.value.refresh_token
3528
- }), S && t.value.refresh_token) {
3529
- A.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3530
- const P = await ye({
3528
+ }), U && t.value.refresh_token) {
3529
+ C.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3530
+ const A = await ye({
3531
3531
  grant_type: "refresh_token",
3532
3532
  refresh_token: t.value.refresh_token,
3533
3533
  scope: "offline_access"
3534
3534
  });
3535
- P ? (P.refresh_token = P.refresh_token ?? t.value.refresh_token, t.value = P, Ee(t.value), A.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3536
- expiresAt: P.expires_at ? new Date(P.expires_at).toISOString() : "not set"
3537
- })) : A.warn("getAccessToken - Failed to refresh token, returning existing token");
3535
+ A ? (A.refresh_token = A.refresh_token ?? t.value.refresh_token, t.value = A, Ee(t.value), C.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3536
+ expiresAt: A.expires_at ? new Date(A.expires_at).toISOString() : "not set"
3537
+ })) : C.warn("getAccessToken - Failed to refresh token, returning existing token");
3538
3538
  }
3539
3539
  return t.value?.access_token ?? t.value?.token ?? null;
3540
3540
  }
3541
3541
  return {
3542
- user: h(() => e.value),
3543
- loading: h(() => i.value),
3544
- isAdministrator: h(() => e.value?.isAdministrator),
3542
+ user: d(() => e.value),
3543
+ loading: d(() => i.value),
3544
+ isAdministrator: d(() => e.value?.isAdministrator),
3545
3545
  isAuthenticated: o,
3546
- loadUser: v,
3547
- signIn: U,
3548
- signOut: p,
3546
+ loadUser: w,
3547
+ signIn: g,
3548
+ signOut: h,
3549
3549
  validateToken: l,
3550
3550
  validatePassword: c,
3551
- resetPasswordByToken: m,
3552
- requestPasswordReset: C,
3553
- changeUserPassword: I,
3554
- getLoginType: x,
3555
- getAccessToken: g
3551
+ resetPasswordByToken: p,
3552
+ requestPasswordReset: x,
3553
+ changeUserPassword: O,
3554
+ getLoginType: N,
3555
+ getAccessToken: b
3556
3556
  };
3557
3557
  }
3558
3558
  const lt = Me(ot), ut = () => {
@@ -3566,26 +3566,26 @@ const lt = Me(ot), ut = () => {
3566
3566
  signOut: i.signOut,
3567
3567
  getAccessToken: i.getAccessToken
3568
3568
  };
3569
- }, Oe = Symbol("BladeStack"), ct = Symbol("BladeMessaging"), ht = Symbol("BladeDescriptor"), Pr = Symbol("BladeMaximized"), dt = Symbol("BladeData"), ft = Symbol("BladeBanners"), Or = Symbol("BladeBackButton"), Ir = Symbol("NotificationStore"), Rr = Symbol("WidgetService"), jr = Symbol("DashboardService"), $r = Symbol("MenuService"), Nr = Symbol("SettingsMenuService"), Br = Symbol("AppBarWidgetService"), zr = Symbol("AppBarMobileButtonsService"), pt = Symbol("LanguageService"), mt = Symbol("ToolbarService"), kr = Symbol("DynamicModules"), Gr = Symbol("ModulesReady"), Fr = Symbol("ModulesLoadError"), Dr = Symbol("AppRootElement"), vt = Symbol("EmbeddedMode"), Mr = Symbol("ShellIndicators"), ve = Symbol("AiAgentService"), Lr = Symbol("IsMobile"), Jr = Symbol("IsDesktop"), Wr = Symbol("IsPhone"), Vr = Symbol("IsTablet"), qr = Symbol("IsTouch"), Kr = Symbol("BladeRoutes"), Hr = Symbol("InternalRoutes"), Zr = Symbol("CloseSettingsMenu"), Xr = Symbol("BladeContext"), Yr = Symbol("WidgetScope"), Qr = Symbol("BladeForm"), en = Symbol("BladeLoading"), gt = {
3569
+ }, Oe = Symbol("BladeStack"), ct = Symbol("BladeMessaging"), ht = Symbol("BladeDescriptor"), Ar = Symbol("BladeMaximized"), dt = Symbol("BladeData"), ft = Symbol("BladeBanners"), Pr = Symbol("BladeBackButton"), Or = Symbol("NotificationStore"), Ir = Symbol("WidgetService"), Rr = Symbol("DashboardService"), jr = Symbol("MenuService"), $r = Symbol("SettingsMenuService"), Nr = Symbol("AppBarWidgetService"), zr = Symbol("AppBarMobileButtonsService"), pt = Symbol("LanguageService"), mt = Symbol("ToolbarService"), Br = Symbol("DynamicModules"), kr = Symbol("ModulesReady"), Gr = Symbol("ModulesLoadError"), Fr = Symbol("AppRootElement"), vt = Symbol("EmbeddedMode"), Dr = Symbol("ShellIndicators"), ve = Symbol("AiAgentService"), Mr = Symbol("IsMobile"), Lr = Symbol("IsDesktop"), Jr = Symbol("IsPhone"), Wr = Symbol("IsTablet"), Vr = Symbol("IsTouch"), Kr = Symbol("BladeRoutes"), qr = Symbol("InternalRoutes"), Hr = Symbol("CloseSettingsMenu"), Zr = Symbol("BladeContext"), Xr = Symbol("WidgetScope"), Yr = Symbol("BladeForm"), Qr = Symbol("BladeLoading"), gt = {
3570
3570
  url: "",
3571
3571
  title: "Virto OZ",
3572
3572
  width: 362,
3573
3573
  expandedWidth: 500,
3574
3574
  allowedOrigins: ["*"]
3575
- }, tn = "APP_AI_AGENT_URL", rn = {
3575
+ }, en = "APP_AI_AGENT_URL", tn = {
3576
3576
  EMBEDDED_APP_READY: "EMBEDDED_APP_READY",
3577
3577
  AI_TOGGLE_PANEL: "AI_TOGGLE_PANEL",
3578
3578
  AI_CONTEXT_UPDATE: "AI_CONTEXT_UPDATE",
3579
3579
  AI_CONTEXT_CLEAR: "AI_CONTEXT_CLEAR"
3580
- }, nn = {
3580
+ }, rn = {
3581
3581
  EMBEDDED_HOST_READY: "EMBEDDED_HOST_READY",
3582
3582
  AI_CHAT_MESSAGE: "AI_CHAT_MESSAGE"
3583
- }, bt = "ai-agent-toggle", xt = "lucide-sparkles", Et = "AI Assistant", re = B("ai-agent-panel");
3583
+ }, bt = "ai-agent-toggle", xt = "lucide-sparkles", Et = "AI Assistant", te = $("ai-agent-panel");
3584
3584
  function yt() {
3585
- const i = D("closed"), e = D(!1), t = h(() => i.value !== "closed"), n = h(() => i.value === "expanded"), r = () => {
3586
- i.value === "closed" && (i.value = "open", re.debug("Panel opened"));
3585
+ const i = G("closed"), e = G(!1), t = d(() => i.value !== "closed"), n = d(() => i.value === "expanded"), r = () => {
3586
+ i.value === "closed" && (i.value = "open", te.debug("Panel opened"));
3587
3587
  }, a = () => {
3588
- i.value = "closed", e.value = !1, re.debug("Panel closed, reset initialized state");
3588
+ i.value = "closed", e.value = !1, te.debug("Panel closed, reset initialized state");
3589
3589
  };
3590
3590
  return {
3591
3591
  panelState: i,
@@ -3598,17 +3598,17 @@ function yt() {
3598
3598
  i.value === "closed" ? r() : a();
3599
3599
  },
3600
3600
  expand: () => {
3601
- i.value === "open" && (i.value = "expanded", re.debug("Panel expanded"));
3601
+ i.value === "open" && (i.value = "expanded", te.debug("Panel expanded"));
3602
3602
  },
3603
3603
  collapse: () => {
3604
- i.value === "expanded" && (i.value = "open", re.debug("Panel collapsed"));
3604
+ i.value === "expanded" && (i.value = "open", te.debug("Panel collapsed"));
3605
3605
  },
3606
3606
  resetInitialized: () => {
3607
3607
  e.value = !1;
3608
3608
  }
3609
3609
  };
3610
3610
  }
3611
- const de = B("ai-agent-context");
3611
+ const de = $("ai-agent-context");
3612
3612
  function _e(i) {
3613
3613
  return i ? {
3614
3614
  id: i.id,
@@ -3618,9 +3618,9 @@ function _e(i) {
3618
3618
  } : { id: "unknown", name: "unknown", title: "Unknown" };
3619
3619
  }
3620
3620
  function _t(i) {
3621
- const { userGetter: e, bladeGetter: t, localeGetter: n, tokenGetter: r } = i, a = D(/* @__PURE__ */ new Map()), o = () => {
3622
- const C = t();
3623
- return C ? a.value.get(C.id) ?? {
3621
+ const { userGetter: e, bladeGetter: t, localeGetter: n, tokenGetter: r } = i, a = G(/* @__PURE__ */ new Map()), o = () => {
3622
+ const x = t();
3623
+ return x ? a.value.get(x.id) ?? {
3624
3624
  items: [],
3625
3625
  type: "list",
3626
3626
  suggestions: void 0
@@ -3629,127 +3629,87 @@ function _t(i) {
3629
3629
  type: "list",
3630
3630
  suggestions: void 0
3631
3631
  };
3632
- }, l = h(() => o().items), c = h(() => o().type), m = h(() => o().suggestions), U = h(() => l.value.length);
3632
+ }, l = d(() => o().items), c = d(() => o().type), p = d(() => o().suggestions), g = d(() => l.value.length);
3633
3633
  return {
3634
3634
  contextItems: l,
3635
3635
  contextType: c,
3636
- contextSuggestions: m,
3637
- totalItemsCount: U,
3638
- setContextData: (C, I, x, R) => {
3639
- const g = t()?.id || R;
3640
- return g ? C.length === 0 && !x ? (a.value.delete(g), de.debug(`Context cleared for blade: ${g}`), { cleared: !0 }) : (a.value.set(g, { items: C, type: I, suggestions: x }), de.debug(`Context set for blade: ${g}, items: ${C.length}, type: ${I}`), { cleared: !1 }) : (de.warn("Cannot set context data: no blade id available"), { cleared: !1 });
3636
+ contextSuggestions: p,
3637
+ totalItemsCount: g,
3638
+ setContextData: (x, O, N, D) => {
3639
+ const b = t()?.id || D;
3640
+ return b ? x.length === 0 && !N ? (a.value.delete(b), de.debug(`Context cleared for blade: ${b}`), { cleared: !0 }) : (a.value.set(b, { items: x, type: O, suggestions: N }), de.debug(`Context set for blade: ${b}, items: ${x.length}, type: ${O}`), { cleared: !1 }) : (de.warn("Cannot set context data: no blade id available"), { cleared: !1 });
3641
3641
  },
3642
3642
  buildInitPayload: async () => {
3643
- const C = r ? await r() ?? void 0 : void 0;
3643
+ const x = r ? await r() ?? void 0 : void 0;
3644
3644
  return {
3645
3645
  userId: e()?.id || "",
3646
3646
  locale: n(),
3647
3647
  blade: _e(t()),
3648
3648
  contextType: c.value,
3649
- items: te(l.value),
3650
- suggestions: m.value ? te(m.value) : void 0,
3651
- accessToken: C
3649
+ items: ee(l.value),
3650
+ suggestions: p.value ? ee(p.value) : void 0,
3651
+ accessToken: x
3652
3652
  };
3653
3653
  },
3654
3654
  buildUpdatePayload: async () => {
3655
- const C = r ? await r() ?? void 0 : void 0;
3655
+ const x = r ? await r() ?? void 0 : void 0;
3656
3656
  return {
3657
3657
  blade: _e(t()),
3658
3658
  contextType: c.value,
3659
- items: te(l.value),
3660
- suggestions: m.value ? te(m.value) : void 0,
3659
+ items: ee(l.value),
3660
+ suggestions: p.value ? ee(p.value) : void 0,
3661
3661
  locale: n(),
3662
- accessToken: C
3662
+ accessToken: x
3663
3663
  };
3664
3664
  }
3665
3665
  };
3666
3666
  }
3667
- const G = B("ai-agent-transport");
3667
+ const J = $("ai-agent-transport");
3668
3668
  function Ut(i) {
3669
- try {
3670
- const e = atob(i.content), t = new Array(e.length);
3671
- for (let o = 0; o < e.length; o++)
3672
- t[o] = e.charCodeAt(o);
3673
- const n = new Blob([new Uint8Array(t)], { type: i.contentType }), r = URL.createObjectURL(n), a = document.createElement("a");
3674
- a.href = r, a.download = i.filename, document.body.appendChild(a), a.click(), document.body.removeChild(a), URL.revokeObjectURL(r), G.debug(`File downloaded: ${i.filename}`);
3675
- } catch (e) {
3676
- G.error("Failed to download file:", e);
3677
- }
3678
- }
3679
- function Ct(i) {
3680
- const { getConfig: e, isEmbedded: t, navigateToBlade: n, reloadBlade: r } = i, a = ze(null), o = D(!1), l = D(!1), c = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), U = /* @__PURE__ */ new Set();
3681
- function p(v, C) {
3682
- switch (v) {
3683
- case "PREVIEW_CHANGES": {
3684
- const x = C;
3685
- m.size === 0 && G.warn("No preview changes handlers registered!"), m.forEach((R) => {
3686
- try {
3687
- R(x);
3688
- } catch (g) {
3689
- G.error("Error in preview handler:", g);
3690
- }
3691
- });
3692
- break;
3693
- }
3669
+ const { getConfig: e, isEmbedded: t, navigateToBlade: n } = i, r = Be(null), a = G(!1), o = G(!1), l = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
3670
+ function p(h, y) {
3671
+ switch (h) {
3694
3672
  case "NAVIGATE_TO_APP": {
3695
- const x = C;
3696
- n && x?.bladeName && (n(x.bladeName, x.param, x.options), G.debug(`Navigation requested to: ${x.bladeName}`));
3697
- break;
3698
- }
3699
- case "RELOAD_BLADE":
3700
- r && (r(), G.debug("Blade reload requested"));
3701
- break;
3702
- case "DOWNLOAD_FILE": {
3703
- const x = C;
3704
- x && Ut(x);
3705
- break;
3706
- }
3707
- case "APPLY_CHANGES": {
3708
- const x = C;
3709
- G.warn("APPLY_CHANGES received but not implemented:", x?.changes);
3710
- break;
3711
- }
3712
- case "CHAT_ERROR": {
3713
- const x = C;
3714
- G.error(`Chatbot error [${x?.code}]: ${x?.message}`);
3673
+ const x = y;
3674
+ n && x?.bladeName && (n(x.bladeName, x.param, x.options), J.debug(`Navigation requested to: ${x.bladeName}`));
3715
3675
  break;
3716
3676
  }
3717
3677
  }
3718
- const I = {
3719
- type: v,
3720
- payload: C,
3678
+ const w = {
3679
+ type: h,
3680
+ payload: y,
3721
3681
  timestamp: Date.now()
3722
3682
  };
3723
- c.forEach((x) => {
3683
+ l.forEach((x) => {
3724
3684
  try {
3725
- x(I);
3726
- } catch (R) {
3727
- G.error("Handler error:", R);
3685
+ x(w);
3686
+ } catch (O) {
3687
+ J.error("Handler error:", O);
3728
3688
  }
3729
3689
  });
3730
3690
  }
3731
- function d(v) {
3732
- const I = e().allowedOrigins || ["*"];
3733
- if (!I.includes("*") && !I.includes(v.origin))
3691
+ function g(h) {
3692
+ const w = e().allowedOrigins || ["*"];
3693
+ if (!w.includes("*") && !w.includes(h.origin))
3734
3694
  return;
3735
- const x = v.data;
3695
+ const x = h.data;
3736
3696
  if (!(!x?.type || typeof x.type != "string"))
3737
- switch (G.debug(`Message received: ${x.type}`), x.type) {
3697
+ switch (J.debug(`Message received: ${x.type}`), x.type) {
3738
3698
  // Embedded: parent forwards chat messages wrapped in AI_CHAT_MESSAGE
3739
3699
  case "AI_CHAT_MESSAGE": {
3740
3700
  if (t) {
3741
- const R = x.payload;
3742
- R?.type && p(R.type, R.payload);
3701
+ const O = x.payload;
3702
+ O?.type && p(O.type, O.payload);
3743
3703
  }
3744
3704
  return;
3745
3705
  }
3746
3706
  // Normal: chatbot signals it's ready
3747
3707
  case "CHAT_READY":
3748
- U.forEach((R) => {
3708
+ c.forEach((O) => {
3749
3709
  try {
3750
- R();
3751
- } catch (g) {
3752
- G.error("ChatReady handler error:", g);
3710
+ O();
3711
+ } catch (N) {
3712
+ J.error("ChatReady handler error:", N);
3753
3713
  }
3754
3714
  });
3755
3715
  break;
@@ -3760,51 +3720,46 @@ function Ct(i) {
3760
3720
  }
3761
3721
  }
3762
3722
  return {
3763
- iframeRef: a,
3764
- pendingInitContext: o,
3765
- isListenerRegistered: l,
3766
- setIframeRef(v) {
3767
- a.value = v, G.debug("Iframe ref set:", v ? "available" : "null");
3723
+ iframeRef: r,
3724
+ pendingInitContext: a,
3725
+ isListenerRegistered: o,
3726
+ setIframeRef(h) {
3727
+ r.value = h, J.debug("Iframe ref set:", h ? "available" : "null");
3768
3728
  },
3769
- sendToIframe(v) {
3770
- if (!a.value?.contentWindow) {
3771
- G.warn("Cannot send message: iframe not available");
3729
+ sendToIframe(h) {
3730
+ if (!r.value?.contentWindow) {
3731
+ J.warn("Cannot send message: iframe not available");
3772
3732
  return;
3773
3733
  }
3774
- const I = e().allowedOrigins?.[0] || "*";
3775
- a.value.contentWindow.postMessage(v, I), G.debug(`Sent to iframe: ${v.type}`);
3734
+ const w = e().allowedOrigins?.[0] || "*";
3735
+ r.value.contentWindow.postMessage(h, w), J.debug(`Sent to iframe: ${h.type}`);
3776
3736
  },
3777
- sendToParent(v) {
3737
+ sendToParent(h) {
3778
3738
  if (!window.parent || window.parent === window) {
3779
- G.warn("Cannot send to parent: not in iframe");
3739
+ J.warn("Cannot send to parent: not in iframe");
3780
3740
  return;
3781
3741
  }
3782
- window.parent.postMessage(v, "*"), G.debug(`Sent to parent: ${v.type}`);
3742
+ window.parent.postMessage(h, "*"), J.debug(`Sent to parent: ${h.type}`);
3783
3743
  },
3784
3744
  startListening() {
3785
- l.value || (window.addEventListener("message", d), l.value = !0);
3745
+ o.value || (window.addEventListener("message", g), o.value = !0);
3786
3746
  },
3787
3747
  stopListening() {
3788
- l.value && (window.removeEventListener("message", d), l.value = !1);
3789
- },
3790
- onChatReady(v) {
3791
- return U.add(v), () => {
3792
- U.delete(v);
3793
- };
3748
+ o.value && (window.removeEventListener("message", g), o.value = !1);
3794
3749
  },
3795
- onPreviewChanges(v) {
3796
- return m.add(v), () => {
3797
- m.delete(v);
3750
+ onChatReady(h) {
3751
+ return c.add(h), () => {
3752
+ c.delete(h);
3798
3753
  };
3799
3754
  },
3800
- onMessage(v) {
3801
- return c.add(v), () => {
3802
- c.delete(v);
3755
+ onMessage(h) {
3756
+ return l.add(h), () => {
3757
+ l.delete(h);
3803
3758
  };
3804
3759
  }
3805
3760
  };
3806
3761
  }
3807
- const ne = B("ai-agent-service");
3762
+ const re = $("ai-agent-service");
3808
3763
  function Tt(i) {
3809
3764
  const {
3810
3765
  userGetter: e,
@@ -3812,107 +3767,104 @@ function Tt(i) {
3812
3767
  localeGetter: n,
3813
3768
  tokenGetter: r,
3814
3769
  navigateToBlade: a,
3815
- reloadBlade: o,
3816
- initialConfig: l,
3817
- isEmbedded: c = !1
3818
- } = i, m = D({ ...gt, ...l }), U = yt(), p = _t({
3770
+ initialConfig: o,
3771
+ isEmbedded: l = !1
3772
+ } = i, c = G({ ...gt, ...o }), p = yt(), g = _t({
3819
3773
  userGetter: e,
3820
3774
  bladeGetter: t,
3821
3775
  localeGetter: n,
3822
3776
  tokenGetter: r
3823
- }), d = Ct({
3824
- getConfig: () => m.value,
3825
- isEmbedded: c,
3826
- navigateToBlade: a,
3827
- reloadBlade: o
3828
- }), v = h(() => ({
3777
+ }), h = Ut({
3778
+ getConfig: () => c.value,
3779
+ isEmbedded: l,
3780
+ navigateToBlade: a
3781
+ }), y = d(() => ({
3829
3782
  user: e(),
3830
3783
  currentBlade: t(),
3831
- items: p.contextItems.value
3832
- })), C = async () => {
3833
- if (d.pendingInitContext.value && d.iframeRef.value?.contentWindow) {
3834
- d.pendingInitContext.value = !1, U.isInitialized.value = !0;
3835
- const E = await p.buildInitPayload();
3836
- d.sendToIframe({ type: "INIT_CONTEXT", payload: E }), ne.debug("Flushed pending INIT_CONTEXT");
3784
+ items: g.contextItems.value
3785
+ })), w = async () => {
3786
+ if (h.pendingInitContext.value && h.iframeRef.value?.contentWindow) {
3787
+ h.pendingInitContext.value = !1, p.isInitialized.value = !0;
3788
+ const m = await g.buildInitPayload();
3789
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: m }), re.debug("Flushed pending INIT_CONTEXT");
3837
3790
  }
3838
3791
  };
3839
- d.onChatReady(() => {
3840
- d.iframeRef.value?.contentWindow ? (U.isInitialized.value = !0, p.buildInitPayload().then((E) => {
3841
- d.sendToIframe({ type: "INIT_CONTEXT", payload: E }), ne.info("Chatbot ready, sent INIT_CONTEXT");
3842
- })) : (d.pendingInitContext.value = !0, ne.info("Chatbot ready, iframe ref not available yet — pending INIT_CONTEXT"));
3843
- }), H(d.iframeRef, () => C()), H(
3844
- () => ({ currentBlade: v.value.currentBlade, items: v.value.items }),
3792
+ h.onChatReady(() => {
3793
+ h.iframeRef.value?.contentWindow ? (p.isInitialized.value = !0, g.buildInitPayload().then((m) => {
3794
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: m }), re.info("Chatbot ready, sent INIT_CONTEXT");
3795
+ })) : (h.pendingInitContext.value = !0, re.info("Chatbot ready, iframe ref not available yet — pending INIT_CONTEXT"));
3796
+ }), H(h.iframeRef, () => w()), H(
3797
+ () => ({ currentBlade: y.value.currentBlade, items: y.value.items }),
3845
3798
  async () => {
3846
- if (c) {
3847
- const E = await p.buildInitPayload();
3848
- d.sendToParent({ type: "AI_CONTEXT_UPDATE", payload: E });
3799
+ if (l) {
3800
+ const m = await g.buildInitPayload();
3801
+ h.sendToParent({ type: "AI_CONTEXT_UPDATE", payload: m });
3849
3802
  return;
3850
3803
  }
3851
- if (U.isOpen.value && U.isInitialized.value && d.iframeRef.value?.contentWindow) {
3852
- const E = await p.buildUpdatePayload();
3853
- d.sendToIframe({ type: "UPDATE_CONTEXT", payload: E });
3804
+ if (p.isOpen.value && p.isInitialized.value && h.iframeRef.value?.contentWindow) {
3805
+ const m = await g.buildUpdatePayload();
3806
+ h.sendToIframe({ type: "UPDATE_CONTEXT", payload: m });
3854
3807
  }
3855
3808
  },
3856
3809
  { deep: !0 }
3857
3810
  );
3858
- const I = () => c ? d.sendToParent({ type: "AI_TOGGLE_PANEL" }) : U.open(), x = () => c ? d.sendToParent({ type: "AI_TOGGLE_PANEL" }) : U.close(), R = () => c ? d.sendToParent({ type: "AI_TOGGLE_PANEL" }) : U.toggle(), g = (E) => {
3859
- d.setIframeRef(E), C();
3860
- }, _ = (E, S, P, M) => {
3861
- const { cleared: X } = p.setContextData(E, S, P, M);
3862
- c && X && d.sendToParent({ type: "AI_CONTEXT_CLEAR" });
3811
+ const x = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.open(), O = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.close(), N = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : p.toggle(), D = (m) => {
3812
+ h.setIframeRef(m), w();
3813
+ }, b = (m, T, U, A) => {
3814
+ const { cleared: F } = g.setContextData(m, T, U, A);
3815
+ l && F && h.sendToParent({ type: "AI_CONTEXT_CLEAR" });
3863
3816
  };
3864
- return d.startListening(), c && (d.sendToParent({
3817
+ return h.startListening(), l && (h.sendToParent({
3865
3818
  type: "EMBEDDED_APP_READY",
3866
3819
  payload: { supportedFeatures: ["ai-agent"] }
3867
- }), ne.info("Embedded mode: sent EMBEDDED_APP_READY to parent")), {
3820
+ }), re.info("Embedded mode: sent EMBEDDED_APP_READY to parent")), {
3868
3821
  // State
3869
- panelState: U.panelState,
3870
- config: m,
3871
- context: v,
3872
- isOpen: h(() => !c && U.isOpen.value),
3873
- isExpanded: U.isExpanded,
3874
- totalItemsCount: p.totalItemsCount,
3822
+ panelState: p.panelState,
3823
+ config: c,
3824
+ context: y,
3825
+ isOpen: d(() => !l && p.isOpen.value),
3826
+ isExpanded: p.isExpanded,
3827
+ totalItemsCount: g.totalItemsCount,
3875
3828
  // Panel control
3876
- openPanel: I,
3877
- closePanel: x,
3878
- togglePanel: R,
3879
- expandPanel: () => U.expand(),
3880
- collapsePanel: () => U.collapse(),
3829
+ openPanel: x,
3830
+ closePanel: O,
3831
+ togglePanel: N,
3832
+ expandPanel: () => p.expand(),
3833
+ collapsePanel: () => p.collapse(),
3881
3834
  // Configuration
3882
- setConfig: (E) => {
3883
- m.value = { ...m.value, ...E };
3835
+ setConfig: (m) => {
3836
+ c.value = { ...c.value, ...m };
3884
3837
  },
3885
3838
  // Communication
3886
- sendMessage: (E, S) => {
3887
- d.sendToIframe({ type: E, payload: S });
3839
+ sendMessage: (m, T) => {
3840
+ h.sendToIframe({ type: m, payload: T });
3888
3841
  },
3889
- onMessage: d.onMessage,
3842
+ onMessage: h.onMessage,
3890
3843
  // Internal API
3891
- iframeRef: d.iframeRef,
3892
- _setIframeRef: g,
3893
- _startListening: d.startListening,
3894
- _stopListening: d.stopListening,
3895
- _setContextData: _,
3896
- _onPreviewChanges: d.onPreviewChanges
3844
+ iframeRef: h.iframeRef,
3845
+ _setIframeRef: D,
3846
+ _startListening: h.startListening,
3847
+ _stopListening: h.stopListening,
3848
+ _setContextData: b
3897
3849
  };
3898
3850
  }
3899
3851
  let Ie, Re, je, St;
3900
- function an(i) {
3852
+ function nn(i) {
3901
3853
  Ie = i;
3902
3854
  }
3903
- function sn(i) {
3855
+ function an(i) {
3904
3856
  Re = i;
3905
3857
  }
3906
- function on(i) {
3858
+ function sn(i) {
3907
3859
  je = i;
3908
3860
  }
3909
- function ln(i) {
3861
+ function on(i) {
3910
3862
  St = i;
3911
3863
  }
3912
3864
  function Ue(i, e) {
3913
3865
  if (e.length === 0)
3914
3866
  return { path: i ? `/${i}` : "/", query: {} };
3915
- const t = e[0], n = Ce(t.url);
3867
+ const t = e[0], n = Te(t.url);
3916
3868
  let r;
3917
3869
  for (let l = e.length - 1; l >= 1; l--)
3918
3870
  if (e[l].visible) {
@@ -3921,7 +3873,7 @@ function Ue(i, e) {
3921
3873
  }
3922
3874
  let a = i ? `/${i}` : "";
3923
3875
  if (n && (a += `/${n}`), r) {
3924
- const l = Ce(r.url);
3876
+ const l = Te(r.url);
3925
3877
  l && (a += `/${l}`), r.param && (a += `/${r.param}`);
3926
3878
  }
3927
3879
  const o = {};
@@ -3929,7 +3881,7 @@ function Ue(i, e) {
3929
3881
  l.visible && l.query && Object.assign(o, l.query);
3930
3882
  return { path: a || "/", query: o };
3931
3883
  }
3932
- function un(i, e) {
3884
+ function ln(i, e) {
3933
3885
  let t = i.split("/").filter(Boolean);
3934
3886
  return e && t.length > 0 && t[0] === e && (t = t.slice(1)), t.length === 0 ? {} : {
3935
3887
  workspaceUrl: t[0],
@@ -3937,59 +3889,59 @@ function un(i, e) {
3937
3889
  param: t[2]
3938
3890
  };
3939
3891
  }
3940
- function Ce(i) {
3892
+ function Te(i) {
3941
3893
  if (i)
3942
3894
  return i.replace(/^\/+|\/+$/g, "") || void 0;
3943
3895
  }
3944
- function Te(i) {
3896
+ function Se(i) {
3945
3897
  const e = i.currentRoute.value.params;
3946
3898
  return Object.values(e).find((t) => typeof t == "string" && t) || "";
3947
3899
  }
3948
- function wt(i, e) {
3900
+ function Ct(i, e) {
3949
3901
  function t() {
3950
- const { path: r, query: a } = Ue(Te(i), e.blades.value);
3902
+ const { path: r, query: a } = Ue(Se(i), e.blades.value);
3951
3903
  i.push({ path: r, query: a });
3952
3904
  }
3953
3905
  function n() {
3954
- const { path: r, query: a } = Ue(Te(i), e.blades.value);
3906
+ const { path: r, query: a } = Ue(Se(i), e.blades.value);
3955
3907
  i.replace({ path: r, query: a });
3956
3908
  }
3957
3909
  return { syncUrlPush: t, syncUrlReplace: n };
3958
3910
  }
3959
- const At = "useBlade() was called outside a blade. Navigation methods (openBlade) work everywhere, but blade-specific methods require the component to be rendered inside VcBladeSlot.";
3960
- function j(i) {
3911
+ const wt = "useBlade() was called outside a blade. Navigation methods (openBlade) work everywhere, but blade-specific methods require the component to be rendered inside VcBladeSlot.";
3912
+ function I(i) {
3961
3913
  throw new Error(`[vc-shell] ${i} requires blade context.
3962
- ${At}`);
3914
+ ${wt}`);
3963
3915
  }
3964
- function Pt() {
3965
- const i = (ee() ? J(Oe, void 0) : void 0) ?? Re, e = (ee() ? J(ct, void 0) : void 0) ?? je;
3916
+ function At() {
3917
+ const i = (Q() ? L(Oe, void 0) : void 0) ?? Re, e = (Q() ? L(ct, void 0) : void 0) ?? je;
3966
3918
  if (!i || !e)
3967
3919
  throw new Error(
3968
3920
  "[vc-shell] useBlade() failed: BladeStack or BladeMessaging not available. Ensure BladeNavigationPlugin (plugin-v2) is installed."
3969
3921
  );
3970
- const t = i, n = e, r = ee() ? J(ht, void 0) : void 0, a = ee() ? J(ft, void 0) : void 0;
3922
+ const t = i, n = e, r = Q() ? L(ht, void 0) : void 0, a = Q() ? L(ft, void 0) : void 0;
3971
3923
  let o;
3972
3924
  function l() {
3973
3925
  if (o) return o;
3974
- const y = Ie?.router;
3975
- return y && (o = wt(y, t)), o;
3926
+ const E = Ie?.router;
3927
+ return E && (o = Ct(E, t)), o;
3976
3928
  }
3977
- const c = h(() => (r || j("id"), r.value.id)), m = h(() => (r || j("param"), r.value.param)), U = h(() => (r || j("options"), r.value.options)), p = h(() => (r || j("query"), r.value.query)), d = h(() => (r || j("closable"), r.value.parentId !== void 0)), v = h(() => (r || j("expanded"), t.activeBlade.value?.id === r.value.id)), C = h(() => (r || j("name"), r.value.name));
3978
- let I = !1;
3979
- function x(y) {
3980
- if (I) {
3929
+ const c = d(() => (r || I("id"), r.value.id)), p = d(() => (r || I("param"), r.value.param)), g = d(() => (r || I("options"), r.value.options)), h = d(() => (r || I("query"), r.value.query)), y = d(() => (r || I("closable"), r.value.parentId !== void 0)), w = d(() => (r || I("expanded"), t.activeBlade.value?.id === r.value.id)), x = d(() => (r || I("name"), r.value.name));
3930
+ let O = !1;
3931
+ function N(E) {
3932
+ if (O) {
3981
3933
  console.warn(
3982
3934
  "[vc-shell] provideBladeData() called more than once in the same blade. Only the first call takes effect."
3983
3935
  );
3984
3936
  return;
3985
3937
  }
3986
- I = !0;
3987
- const k = ke(y) ? y : D(y);
3988
- Se(dt, k);
3938
+ O = !0;
3939
+ const B = ke(E) ? E : G(E);
3940
+ Ce(dt, B);
3989
3941
  }
3990
- async function R(y) {
3991
- const { isWorkspace: k, ...ue } = y;
3992
- if (k)
3942
+ async function D(E) {
3943
+ const { isWorkspace: B, ...ue } = E;
3944
+ if (B)
3993
3945
  await t.openWorkspace(ue);
3994
3946
  else {
3995
3947
  const be = r?.value.id;
@@ -3997,306 +3949,306 @@ function Pt() {
3997
3949
  }
3998
3950
  t.activeBlade.value?.url && l()?.syncUrlPush();
3999
3951
  }
4000
- async function g() {
4001
- r || j("closeSelf()");
4002
- const y = await t.closeBlade(r.value.id);
4003
- return y || l()?.syncUrlReplace(), y;
3952
+ async function b() {
3953
+ r || I("closeSelf()");
3954
+ const E = await t.closeBlade(r.value.id);
3955
+ return E || l()?.syncUrlReplace(), E;
4004
3956
  }
4005
- async function _() {
4006
- r || j("closeChildren()"), await t.closeChildren(r.value.id), l()?.syncUrlReplace();
3957
+ async function m() {
3958
+ r || I("closeChildren()"), await t.closeChildren(r.value.id), l()?.syncUrlReplace();
4007
3959
  }
4008
- async function E(y) {
4009
- r || j("replaceWith()"), await t.replaceCurrentBlade({
4010
- ...y,
3960
+ async function T(E) {
3961
+ r || I("replaceWith()"), await t.replaceCurrentBlade({
3962
+ ...E,
4011
3963
  parentId: r.value.parentId
4012
3964
  }), t.activeBlade.value?.url && l()?.syncUrlReplace();
4013
3965
  }
4014
- async function S(y) {
4015
- r || j("coverWith()"), await t.coverCurrentBlade({
4016
- ...y,
3966
+ async function U(E) {
3967
+ r || I("coverWith()"), await t.coverCurrentBlade({
3968
+ ...E,
4017
3969
  parentId: r.value.parentId
4018
3970
  }), t.activeBlade.value?.url && l()?.syncUrlPush();
4019
3971
  }
4020
- async function P(y, k) {
4021
- return r || j("callParent()"), n.callParent(r.value.id, y, k);
3972
+ async function A(E, B) {
3973
+ return r || I("callParent()"), n.callParent(r.value.id, E, B);
4022
3974
  }
4023
- function M(y) {
4024
- r || j("exposeToChildren()"), n.exposeToChildren(r.value.id, y);
3975
+ function F(E) {
3976
+ r || I("exposeToChildren()"), n.exposeToChildren(r.value.id, E);
4025
3977
  }
4026
- function X(y) {
4027
- r || j("onBeforeClose()"), t.registerBeforeClose(r.value.id, y);
3978
+ function le(E) {
3979
+ r || I("onBeforeClose()"), t.registerBeforeClose(r.value.id, E);
4028
3980
  }
4029
- function u(y) {
4030
- r || j("setError()"), t.setBladeError(r.value.id, y);
3981
+ function u(E) {
3982
+ r || I("setError()"), t.setBladeError(r.value.id, E);
4031
3983
  }
4032
3984
  function f() {
4033
- r || j("clearError()"), t.clearBladeError(r.value.id);
3985
+ r || I("clearError()"), t.clearBladeError(r.value.id);
4034
3986
  }
4035
- let b = 0;
4036
- function T(y) {
4037
- a || j("addBanner()");
4038
- const k = `banner-${r.value.id}-${++b}`;
3987
+ let v = 0;
3988
+ function _(E) {
3989
+ a || I("addBanner()");
3990
+ const B = `banner-${r.value.id}-${++v}`;
4039
3991
  return a.value.push({
4040
- ...y,
4041
- id: k,
4042
- dismissible: y.dismissible ?? !1
4043
- }), k;
3992
+ ...E,
3993
+ id: B,
3994
+ dismissible: E.dismissible ?? !1
3995
+ }), B;
4044
3996
  }
4045
- function O(y) {
4046
- a || j("removeBanner()"), a.value = a.value.filter((k) => k.id !== y);
3997
+ function P(E) {
3998
+ a || I("removeBanner()"), a.value = a.value.filter((B) => B.id !== E);
4047
3999
  }
4048
4000
  function z() {
4049
- a || j("clearBanners()"), a.value = a.value.filter((y) => y._system);
4001
+ a || I("clearBanners()"), a.value = a.value.filter((E) => E._system);
4050
4002
  }
4051
4003
  let V = !1, ge = !1;
4052
- function Ne(y) {
4053
- if (r || j("onActivated()"), V) {
4004
+ function Ne(E) {
4005
+ if (r || I("onActivated()"), V) {
4054
4006
  console.warn("[useBlade] onActivated() already registered in this blade.");
4055
4007
  return;
4056
4008
  }
4057
- V = !0, H(v, (k) => {
4058
- k && y();
4009
+ V = !0, H(w, (B) => {
4010
+ B && E();
4059
4011
  });
4060
4012
  }
4061
- function Be(y) {
4062
- if (r || j("onDeactivated()"), ge) {
4013
+ function ze(E) {
4014
+ if (r || I("onDeactivated()"), ge) {
4063
4015
  console.warn("[useBlade] onDeactivated() already registered in this blade.");
4064
4016
  return;
4065
4017
  }
4066
- ge = !0, H(v, (k) => {
4067
- k || y();
4018
+ ge = !0, H(w, (B) => {
4019
+ B || E();
4068
4020
  });
4069
4021
  }
4070
4022
  return {
4071
4023
  id: c,
4072
- param: m,
4073
- options: U,
4074
- query: p,
4075
- closable: d,
4076
- expanded: v,
4077
- name: C,
4078
- provideBladeData: x,
4079
- openBlade: R,
4080
- closeSelf: g,
4081
- closeChildren: _,
4082
- replaceWith: E,
4083
- coverWith: S,
4084
- callParent: P,
4085
- exposeToChildren: M,
4086
- onBeforeClose: X,
4024
+ param: p,
4025
+ options: g,
4026
+ query: h,
4027
+ closable: y,
4028
+ expanded: w,
4029
+ name: x,
4030
+ provideBladeData: N,
4031
+ openBlade: D,
4032
+ closeSelf: b,
4033
+ closeChildren: m,
4034
+ replaceWith: T,
4035
+ coverWith: U,
4036
+ callParent: A,
4037
+ exposeToChildren: F,
4038
+ onBeforeClose: le,
4087
4039
  onActivated: Ne,
4088
- onDeactivated: Be,
4040
+ onDeactivated: ze,
4089
4041
  setError: u,
4090
4042
  clearError: f,
4091
- addBanner: T,
4092
- removeBanner: O,
4043
+ addBanner: _,
4044
+ removeBanner: P,
4093
4045
  clearBanners: z
4094
4046
  };
4095
4047
  }
4096
- let Ot = 0;
4097
- function ae() {
4098
- return `blade_${++Ot}_${Math.random().toString(36).slice(2, 8)}`;
4048
+ let Pt = 0;
4049
+ function ne() {
4050
+ return `blade_${++Pt}_${Math.random().toString(36).slice(2, 8)}`;
4099
4051
  }
4100
- function cn(i, e) {
4101
- const t = D([]), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = h(() => t.value[0]), l = h(() => t.value), c = h(() => {
4052
+ function un(i, e) {
4053
+ const t = G([]), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = d(() => t.value[0]), l = d(() => t.value), c = d(() => {
4102
4054
  for (let u = t.value.length - 1; u >= 0; u--)
4103
4055
  if (t.value[u].visible) return t.value[u];
4104
4056
  });
4105
- function m(u) {
4057
+ function p(u) {
4106
4058
  n.delete(u), r.delete(u), a.delete(u);
4107
4059
  }
4108
- function U(u) {
4060
+ function g(u) {
4109
4061
  const f = i.getBlade(u);
4110
4062
  if (f)
4111
4063
  return f.route;
4112
4064
  }
4113
- async function p(u) {
4065
+ async function h(u) {
4114
4066
  for (let f = u.length - 1; f >= 0; f--) {
4115
- const b = n.get(u[f].id);
4116
- if (b && await b())
4067
+ const v = n.get(u[f].id);
4068
+ if (v && await v())
4117
4069
  return !0;
4118
4070
  }
4119
4071
  return !1;
4120
4072
  }
4121
- function d(u) {
4073
+ function y(u) {
4122
4074
  for (const f of u)
4123
- a.get(f.id)?.(), m(f.id);
4075
+ a.get(f.id)?.(), p(f.id);
4124
4076
  }
4125
- async function v(u) {
4077
+ async function w(u) {
4126
4078
  if (o.value?.name === u.name) return;
4127
- const b = i.getBlade(u.name);
4128
- if (!b)
4079
+ const v = i.getBlade(u.name);
4080
+ if (!v)
4129
4081
  throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4130
- if (e && b.permissions && !e(b.permissions)) {
4082
+ if (e && v.permissions && !e(v.permissions)) {
4131
4083
  console.warn(`[BladeStack] Access denied to workspace '${u.name}'`);
4132
4084
  return;
4133
4085
  }
4134
- d([...t.value]);
4135
- const T = {
4136
- id: ae(),
4086
+ y([...t.value]);
4087
+ const _ = {
4088
+ id: ne(),
4137
4089
  name: u.name,
4138
- url: U(u.name),
4090
+ url: g(u.name),
4139
4091
  // workspace blades don't have param when opened first
4140
4092
  query: u.query,
4141
4093
  options: u.options,
4142
4094
  visible: !0
4143
4095
  };
4144
- t.value = [T], u.onOpen && r.set(T.id, u.onOpen), u.onClose && a.set(T.id, u.onClose), u.onOpen?.();
4096
+ t.value = [_], u.onOpen && r.set(_.id, u.onOpen), u.onClose && a.set(_.id, u.onClose), u.onOpen?.();
4145
4097
  }
4146
- async function C(u) {
4098
+ async function x(u) {
4147
4099
  if (!i.getBlade(u.name))
4148
4100
  throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4149
4101
  const f = u.parentId ?? c.value?.id ?? o.value?.id;
4150
4102
  if (!f)
4151
4103
  throw new Error("[BladeStack] Cannot open blade: no parent blade found");
4152
- const b = t.value.findIndex((z) => z.id === f);
4153
- if (b === -1)
4104
+ const v = t.value.findIndex((z) => z.id === f);
4105
+ if (v === -1)
4154
4106
  throw new Error(`[BladeStack] Parent blade '${f}' not found in stack`);
4155
- const T = t.value.slice(b + 1);
4156
- if (T.length > 0 && await p(T))
4107
+ const _ = t.value.slice(v + 1);
4108
+ if (_.length > 0 && await h(_))
4157
4109
  return;
4158
- d(T);
4159
- const O = {
4160
- id: ae(),
4110
+ y(_);
4111
+ const P = {
4112
+ id: ne(),
4161
4113
  name: u.name,
4162
- url: U(u.name),
4114
+ url: g(u.name),
4163
4115
  param: u.param,
4164
4116
  query: u.query,
4165
4117
  options: u.options,
4166
4118
  parentId: f,
4167
4119
  visible: !0
4168
4120
  };
4169
- t.value = [...t.value.slice(0, b + 1), O], u.onOpen && r.set(O.id, u.onOpen), u.onClose && a.set(O.id, u.onClose), u.onOpen?.();
4121
+ t.value = [...t.value.slice(0, v + 1), P], u.onOpen && r.set(P.id, u.onOpen), u.onClose && a.set(P.id, u.onClose), u.onOpen?.();
4170
4122
  }
4171
- async function I(u) {
4123
+ async function O(u) {
4172
4124
  const f = t.value.findIndex((z) => z.id === u);
4173
4125
  if (f === -1 || f === 0) return !1;
4174
- const b = t.value.slice(f);
4175
- if (await p(b)) return !0;
4176
- d(b), t.value = t.value.slice(0, f);
4177
- const O = t.value.length - 1;
4178
- if (O > 0 && !t.value[O].visible) {
4126
+ const v = t.value.slice(f);
4127
+ if (await h(v)) return !0;
4128
+ y(v), t.value = t.value.slice(0, f);
4129
+ const P = t.value.length - 1;
4130
+ if (P > 0 && !t.value[P].visible) {
4179
4131
  const z = [...t.value];
4180
- z[O] = { ...z[O], visible: !0 }, t.value = z;
4132
+ z[P] = { ...z[P], visible: !0 }, t.value = z;
4181
4133
  }
4182
4134
  return !1;
4183
4135
  }
4184
- async function x(u) {
4136
+ async function N(u) {
4185
4137
  const f = c.value;
4186
4138
  if (!f)
4187
4139
  throw new Error("[BladeStack] No active blade to replace");
4188
4140
  if (!i.getBlade(u.name))
4189
4141
  throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4190
- const b = t.value.findIndex((V) => V.id === f.id);
4191
- if (b === -1)
4142
+ const v = t.value.findIndex((V) => V.id === f.id);
4143
+ if (v === -1)
4192
4144
  throw new Error(`[BladeStack] Active blade '${f.id}' not found in stack`);
4193
- const T = t.value.slice(b + 1);
4194
- if (T.length > 0) {
4195
- if (await p(T)) return;
4196
- d(T);
4145
+ const _ = t.value.slice(v + 1);
4146
+ if (_.length > 0) {
4147
+ if (await h(_)) return;
4148
+ y(_);
4197
4149
  }
4198
- const O = {
4199
- id: ae(),
4150
+ const P = {
4151
+ id: ne(),
4200
4152
  name: u.name,
4201
- url: U(u.name),
4153
+ url: g(u.name),
4202
4154
  param: u.param,
4203
4155
  query: u.query,
4204
4156
  options: u.options,
4205
4157
  parentId: f.parentId,
4206
4158
  visible: !0
4207
4159
  };
4208
- d([f]);
4209
- const z = [...t.value.slice(0, b), O, ...t.value.slice(b + 1)];
4210
- t.value = z, u.onOpen && r.set(O.id, u.onOpen), u.onClose && a.set(O.id, u.onClose), u.onOpen?.();
4160
+ y([f]);
4161
+ const z = [...t.value.slice(0, v), P, ...t.value.slice(v + 1)];
4162
+ t.value = z, u.onOpen && r.set(P.id, u.onOpen), u.onClose && a.set(P.id, u.onClose), u.onOpen?.();
4211
4163
  }
4212
- async function R(u) {
4164
+ async function D(u) {
4213
4165
  const f = c.value;
4214
4166
  if (!f)
4215
4167
  throw new Error("[BladeStack] No active blade to cover");
4216
4168
  if (!i.getBlade(u.name))
4217
4169
  throw new Error(`[BladeStack] Blade '${u.name}' not found in registry`);
4218
- const b = t.value.findIndex((V) => V.id === f.id);
4219
- if (b === -1)
4170
+ const v = t.value.findIndex((V) => V.id === f.id);
4171
+ if (v === -1)
4220
4172
  throw new Error(`[BladeStack] Active blade '${f.id}' not found in stack`);
4221
- const T = t.value.slice(b + 1);
4222
- if (T.length > 0) {
4223
- if (await p(T)) return;
4224
- d(T);
4173
+ const _ = t.value.slice(v + 1);
4174
+ if (_.length > 0) {
4175
+ if (await h(_)) return;
4176
+ y(_);
4225
4177
  }
4226
- const O = {
4227
- id: ae(),
4178
+ const P = {
4179
+ id: ne(),
4228
4180
  name: u.name,
4229
- url: U(u.name),
4181
+ url: g(u.name),
4230
4182
  param: u.param,
4231
4183
  query: u.query,
4232
4184
  options: u.options,
4233
4185
  parentId: f.id,
4234
4186
  visible: !0
4235
- }, z = t.value.slice(0, b);
4236
- z.push({ ...f, visible: !1 }), z.push(O), t.value = z, u.onOpen && r.set(O.id, u.onOpen), u.onClose && a.set(O.id, u.onClose), u.onOpen?.();
4187
+ }, z = t.value.slice(0, v);
4188
+ z.push({ ...f, visible: !1 }), z.push(P), t.value = z, u.onOpen && r.set(P.id, u.onOpen), u.onClose && a.set(P.id, u.onClose), u.onOpen?.();
4237
4189
  }
4238
- async function g(u) {
4239
- const f = t.value.findIndex((O) => O.id === u);
4190
+ async function b(u) {
4191
+ const f = t.value.findIndex((P) => P.id === u);
4240
4192
  if (f === -1) return;
4241
- const b = t.value.slice(f + 1);
4242
- b.length === 0 || await p(b) || (d(b), t.value = t.value.slice(0, f + 1));
4193
+ const v = t.value.slice(f + 1);
4194
+ v.length === 0 || await h(v) || (y(v), t.value = t.value.slice(0, f + 1));
4243
4195
  }
4244
- function _(u, f) {
4196
+ function m(u, f) {
4245
4197
  n.set(u, f);
4246
4198
  }
4247
- function E(u) {
4199
+ function T(u) {
4248
4200
  n.delete(u);
4249
4201
  }
4250
- function S(u, f) {
4251
- const b = t.value.findIndex((O) => O.id === u);
4252
- if (b === -1) return;
4253
- const T = [...t.value];
4254
- T[b] = { ...T[b], error: f }, t.value = T;
4202
+ function U(u, f) {
4203
+ const v = t.value.findIndex((P) => P.id === u);
4204
+ if (v === -1) return;
4205
+ const _ = [...t.value];
4206
+ _[v] = { ..._[v], error: f }, t.value = _;
4255
4207
  }
4256
- function P(u) {
4257
- const f = t.value.findIndex((T) => T.id === u);
4208
+ function A(u) {
4209
+ const f = t.value.findIndex((_) => _.id === u);
4258
4210
  if (f === -1) return;
4259
- const b = [...t.value];
4260
- b[f] = { ...b[f], error: void 0 }, t.value = b;
4211
+ const v = [...t.value];
4212
+ v[f] = { ...v[f], error: void 0 }, t.value = v;
4261
4213
  }
4262
- function M(u, f) {
4263
- const b = t.value.findIndex((O) => O.id === u);
4264
- if (b === -1 || t.value[b].title === f) return;
4265
- const T = [...t.value];
4266
- T[b] = { ...T[b], title: f }, t.value = T;
4214
+ function F(u, f) {
4215
+ const v = t.value.findIndex((P) => P.id === u);
4216
+ if (v === -1 || t.value[v].title === f) return;
4217
+ const _ = [...t.value];
4218
+ _[v] = { ..._[v], title: f }, t.value = _;
4267
4219
  }
4268
- function X(u) {
4220
+ function le(u) {
4269
4221
  for (const f of t.value)
4270
- m(f.id);
4222
+ p(f.id);
4271
4223
  t.value = u;
4272
4224
  }
4273
4225
  return {
4274
4226
  workspace: o,
4275
4227
  blades: l,
4276
4228
  activeBlade: c,
4277
- openWorkspace: v,
4278
- openBlade: C,
4279
- closeBlade: I,
4280
- closeChildren: g,
4281
- replaceCurrentBlade: x,
4282
- coverCurrentBlade: R,
4283
- registerBeforeClose: _,
4284
- unregisterBeforeClose: E,
4285
- setBladeError: S,
4286
- clearBladeError: P,
4287
- setBladeTitle: M,
4288
- _restoreStack: X
4229
+ openWorkspace: w,
4230
+ openBlade: x,
4231
+ closeBlade: O,
4232
+ closeChildren: b,
4233
+ replaceCurrentBlade: N,
4234
+ coverCurrentBlade: D,
4235
+ registerBeforeClose: m,
4236
+ unregisterBeforeClose: T,
4237
+ setBladeError: U,
4238
+ clearBladeError: A,
4239
+ setBladeTitle: F,
4240
+ _restoreStack: le
4289
4241
  };
4290
4242
  }
4291
- function It() {
4292
- const i = J(Oe);
4243
+ function Ot() {
4244
+ const i = L(Oe);
4293
4245
  if (!i)
4294
4246
  throw new Error("[useBladeStack] BladeStack not found. Ensure BladeNavigationPlugin is installed.");
4295
4247
  return i;
4296
4248
  }
4297
- const q = B("use-ai-agent");
4298
- function hn(i) {
4299
- const e = J(pt), { user: t, getAccessToken: n } = ut(), { openBlade: r } = Pt(), { blades: a, activeBlade: o, replaceCurrentBlade: l } = It(), c = i?.isEmbedded, m = Tt({
4249
+ const q = $("use-ai-agent");
4250
+ function cn(i) {
4251
+ const e = L(pt), { user: t, getAccessToken: n } = ut(), { openBlade: r } = At(), { blades: a, activeBlade: o } = Ot(), l = i?.isEmbedded, c = Tt({
4300
4252
  userGetter: () => {
4301
4253
  if (t.value)
4302
4254
  return {
@@ -4307,59 +4259,46 @@ function hn(i) {
4307
4259
  };
4308
4260
  },
4309
4261
  bladeGetter: () => {
4310
- const p = o.value ?? a.value[a.value.length - 1];
4311
- return p ? {
4312
- id: p.id,
4313
- name: p.name,
4314
- title: p.title,
4315
- param: p.param,
4316
- options: p.options
4262
+ const g = o.value ?? a.value[a.value.length - 1];
4263
+ return g ? {
4264
+ id: g.id,
4265
+ name: g.name,
4266
+ title: g.title,
4267
+ param: g.param,
4268
+ options: g.options
4317
4269
  } : null;
4318
4270
  },
4319
4271
  localeGetter: () => e?.currentLocale.value ?? "en",
4320
4272
  tokenGetter: n,
4321
- navigateToBlade: (p, d, v) => {
4322
- r({ name: p, param: d, options: v }).then(() => {
4323
- q.debug(`Navigated to blade: ${p}`);
4324
- }).catch((C) => {
4325
- q.warn(`Blade not found or cannot be opened: ${p}`, C);
4326
- });
4327
- },
4328
- reloadBlade: () => {
4329
- const p = o.value;
4330
- p && l({
4331
- name: p.name,
4332
- param: p.param,
4333
- query: p.query,
4334
- options: p.options
4335
- }).then(() => {
4336
- q.debug("Current blade reloaded");
4337
- }).catch((d) => {
4338
- q.warn("Failed to reload current blade", d);
4273
+ navigateToBlade: (g, h, y) => {
4274
+ r({ name: g, param: h, options: y }).then(() => {
4275
+ q.debug(`Navigated to blade: ${g}`);
4276
+ }).catch((w) => {
4277
+ q.warn(`Blade not found or cannot be opened: ${g}`, w);
4339
4278
  });
4340
4279
  },
4341
4280
  initialConfig: i?.config,
4342
- isEmbedded: c
4281
+ isEmbedded: l
4343
4282
  });
4344
- if (Se(ve, m), q.debug("AiAgentService provided"), i?.addGlobalToolbarButton ?? !0) {
4345
- const p = J(mt, null);
4346
- p ? (p.registerToolbarItem(
4283
+ if (Ce(ve, c), q.debug("AiAgentService provided"), i?.addGlobalToolbarButton ?? !0) {
4284
+ const g = L(mt, null);
4285
+ g ? (g.registerToolbarItem(
4347
4286
  {
4348
4287
  id: bt,
4349
4288
  icon: xt,
4350
4289
  title: Et,
4351
4290
  clickHandler: () => {
4352
- m.togglePanel();
4291
+ c.togglePanel();
4353
4292
  }
4354
4293
  },
4355
4294
  "*"
4356
4295
  // Wildcard for all blades
4357
4296
  ), q.debug("Global AI toolbar button registered with wildcard '*'")) : q.warn("Toolbar service not available, AI button not registered");
4358
4297
  }
4359
- return m;
4298
+ return c;
4360
4299
  }
4361
- function dn() {
4362
- const i = J(ve);
4300
+ function hn() {
4301
+ const i = L(ve);
4363
4302
  if (!i) {
4364
4303
  q.error("AiAgentService not found. Did you forget to call provideAiAgentService()?");
4365
4304
  return;
@@ -4385,7 +4324,7 @@ function dn() {
4385
4324
  onMessage: i.onMessage
4386
4325
  };
4387
4326
  }
4388
- function fn(i) {
4327
+ function dn(i) {
4389
4328
  return {
4390
4329
  id: "ai-agent-toggle",
4391
4330
  icon: i?.icon ?? "lucide-sparkles",
@@ -4395,11 +4334,11 @@ function fn(i) {
4395
4334
  }
4396
4335
  };
4397
4336
  }
4398
- const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4337
+ const It = ["width", "height"], Rt = ["clip-path"], jt = {
4399
4338
  key: 1,
4400
4339
  d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z",
4401
4340
  fill: "url(#virto-oz-gradient-animated)"
4402
- }, Nt = ["id"], Bt = {
4341
+ }, $t = ["id"], Nt = {
4403
4342
  key: 1,
4404
4343
  id: "virto-oz-gradient-animated",
4405
4344
  gradientUnits: "userSpaceOnUse",
@@ -4407,7 +4346,7 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4407
4346
  y1: "0",
4408
4347
  x2: "99",
4409
4348
  y2: "108"
4410
- }, $e = /* @__PURE__ */ L({
4349
+ }, $e = /* @__PURE__ */ M({
4411
4350
  __name: "VcVirtoOzLogo",
4412
4351
  props: {
4413
4352
  width: { default: 22 },
@@ -4415,8 +4354,8 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4415
4354
  animated: { type: Boolean, default: !1 }
4416
4355
  },
4417
4356
  setup(i) {
4418
- const e = h(() => `virto-oz-clip-${Math.random().toString(36).substring(2, 11)}`);
4419
- return (t, n) => (w(), N("svg", {
4357
+ const e = d(() => `virto-oz-clip-${Math.random().toString(36).substring(2, 11)}`);
4358
+ return (t, n) => (S(), j("svg", {
4420
4359
  width: i.width,
4421
4360
  height: i.height,
4422
4361
  viewBox: "0 0 99 108",
@@ -4424,22 +4363,22 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4424
4363
  xmlns: "http://www.w3.org/2000/svg",
4425
4364
  class: "vc-virto-oz-logo"
4426
4365
  }, [
4427
- n[3] || (n[3] = $("path", {
4366
+ n[3] || (n[3] = R("path", {
4428
4367
  d: "M40.1199 2.41576C45.6989 -0.805254 52.5724 -0.805253 58.1514 2.41576L89.2556 20.3738C94.8345 23.5948 98.2713 29.5475 98.2713 35.9895V71.9055C98.2713 78.3475 94.8345 84.3002 89.2556 87.5212L58.1514 105.479C52.5724 108.7 45.6989 108.7 40.1199 105.479L9.01574 87.5212C3.43678 84.3002 0 78.3475 0 71.9055V35.9895C0 29.5475 3.43678 23.5948 9.01574 20.3738L40.1199 2.41576Z",
4429
4368
  fill: "white"
4430
4369
  }, null, -1)),
4431
- i.animated ? (w(), N("path", $t)) : (w(), N("g", {
4370
+ i.animated ? (S(), j("path", jt)) : (S(), j("g", {
4432
4371
  key: 0,
4433
4372
  "clip-path": `url(#${e.value})`
4434
4373
  }, [...n[0] || (n[0] = [
4435
- $("g", { transform: "matrix(0 -0.161514 0.160417 0 49.1357 53.9479)" }, [
4436
- $("foreignObject", {
4374
+ R("g", { transform: "matrix(0 -0.161514 0.160417 0 49.1357 53.9479)" }, [
4375
+ R("foreignObject", {
4437
4376
  x: "-334.01",
4438
4377
  y: "-334.01",
4439
4378
  width: "668.02",
4440
4379
  height: "668.02"
4441
4380
  }, [
4442
- $("div", {
4381
+ R("div", {
4443
4382
  xmlns: "http://www.w3.org/1999/xhtml",
4444
4383
  style: { background: `conic-gradient(
4445
4384
  from 90deg,
@@ -4453,46 +4392,46 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4453
4392
  })
4454
4393
  ])
4455
4394
  ], -1)
4456
- ])], 8, jt)),
4457
- n[4] || (n[4] = $("path", {
4395
+ ])], 8, Rt)),
4396
+ n[4] || (n[4] = R("path", {
4458
4397
  d: "M72.1266 54.0945C72.1266 60.0873 74.3028 71.0379 60.6238 82.8517C65.2871 73.0587 55.8339 77.1002 49.1209 77.1002C36.4152 77.1002 26.1152 66.8002 26.1152 54.0945C26.1152 41.3889 36.4152 31.0889 49.1209 31.0889C61.8266 31.0889 72.1266 41.3889 72.1266 54.0945Z",
4459
4398
  fill: "white"
4460
4399
  }, null, -1)),
4461
- n[5] || (n[5] = $("ellipse", {
4400
+ n[5] || (n[5] = R("ellipse", {
4462
4401
  cx: "49.12",
4463
4402
  cy: "54.09",
4464
4403
  rx: "4.05",
4465
4404
  ry: "4.05",
4466
4405
  fill: "#6C6C6C"
4467
4406
  }, null, -1)),
4468
- n[6] || (n[6] = $("ellipse", {
4407
+ n[6] || (n[6] = R("ellipse", {
4469
4408
  cx: "60.62",
4470
4409
  cy: "54.09",
4471
4410
  rx: "4.05",
4472
4411
  ry: "4.05",
4473
4412
  fill: "#6C6C6C"
4474
4413
  }, null, -1)),
4475
- n[7] || (n[7] = $("ellipse", {
4414
+ n[7] || (n[7] = R("ellipse", {
4476
4415
  cx: "37.62",
4477
4416
  cy: "54.09",
4478
4417
  rx: "4.05",
4479
4418
  ry: "4.05",
4480
4419
  fill: "#6C6C6C"
4481
4420
  }, null, -1)),
4482
- $("defs", null, [
4483
- i.animated ? Z("", !0) : (w(), N("clipPath", {
4421
+ R("defs", null, [
4422
+ i.animated ? Z("", !0) : (S(), j("clipPath", {
4484
4423
  key: 0,
4485
4424
  id: e.value
4486
4425
  }, [...n[1] || (n[1] = [
4487
- $("path", { d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z" }, null, -1)
4488
- ])], 8, Nt)),
4489
- i.animated ? (w(), N("linearGradient", Bt, [...n[2] || (n[2] = [
4426
+ R("path", { d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z" }, null, -1)
4427
+ ])], 8, $t)),
4428
+ i.animated ? (S(), j("linearGradient", Nt, [...n[2] || (n[2] = [
4490
4429
  Ge('<stop offset="0%" stop-color="#FF9533"><animate attributeName="stop-color" values="#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="25%" stop-color="#FF4FBB"><animate attributeName="stop-color" values="#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="50%" stop-color="#EAFF4F"><animate attributeName="stop-color" values="#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="75%" stop-color="#1C91FC"><animate attributeName="stop-color" values="#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="100%" stop-color="#9A2DF8"><animate attributeName="stop-color" values="#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8" dur="4s" repeatCount="indefinite"></animate></stop>', 5)
4491
4430
  ])])) : Z("", !0)
4492
4431
  ])
4493
- ], 8, Rt));
4432
+ ], 8, It));
4494
4433
  }
4495
- }), zt = /* @__PURE__ */ L({
4434
+ }), zt = /* @__PURE__ */ M({
4496
4435
  __name: "vc-material-icon",
4497
4436
  props: {
4498
4437
  icon: {},
@@ -4502,20 +4441,20 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4502
4441
  customSize: {}
4503
4442
  },
4504
4443
  setup(i) {
4505
- const e = i, t = h(() => typeof e.customSize == "number" && e.customSize > 0), n = h(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4506
- return le(() => {
4507
- }), (r, a) => (w(), N("span", {
4444
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4445
+ return oe(() => {
4446
+ }), (r, a) => (S(), j("span", {
4508
4447
  class: K([
4509
4448
  "vc-material-icon",
4510
4449
  "material-symbols-" + i.type,
4511
4450
  !t.value && `vc-material-icon--${i.size}`,
4512
4451
  i.variant ? `vc-material-icon--${i.variant}` : ""
4513
4452
  ]),
4514
- style: Q(n.value),
4453
+ style: Y(n.value),
4515
4454
  "aria-hidden": "true"
4516
4455
  }, pe(i.icon), 7));
4517
4456
  }
4518
- }), kt = /* @__PURE__ */ L({
4457
+ }), Bt = /* @__PURE__ */ M({
4519
4458
  __name: "vc-bootstrap-icon",
4520
4459
  props: {
4521
4460
  icon: {},
@@ -4524,22 +4463,22 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4524
4463
  customSize: {}
4525
4464
  },
4526
4465
  setup(i) {
4527
- const e = i, t = h(() => typeof e.customSize == "number" && e.customSize > 0), n = h(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4528
- le(() => {
4466
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4467
+ oe(() => {
4529
4468
  });
4530
- const r = h(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
4531
- return (a, o) => (w(), N("i", {
4469
+ const r = d(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
4470
+ return (a, o) => (S(), j("i", {
4532
4471
  class: K([
4533
4472
  "vc-bootstrap-icon",
4534
4473
  !t.value && `vc-bootstrap-icon--${i.size}`,
4535
4474
  r.value,
4536
4475
  i.variant ? `vc-bootstrap-icon--${i.variant}` : ""
4537
4476
  ]),
4538
- style: Q(n.value),
4477
+ style: Y(n.value),
4539
4478
  "aria-hidden": "true"
4540
4479
  }, null, 6));
4541
4480
  }
4542
- }), Gt = /* @__PURE__ */ L({
4481
+ }), kt = /* @__PURE__ */ M({
4543
4482
  __name: "vc-lucide-icon",
4544
4483
  props: {
4545
4484
  icon: {},
@@ -4549,18 +4488,18 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4549
4488
  customSize: {}
4550
4489
  },
4551
4490
  setup(i) {
4552
- const e = B("vc-lucide-icon"), t = i, n = h(() => typeof t.customSize == "number" && t.customSize > 0), r = h(() => {
4491
+ const e = $("vc-lucide-icon"), t = i, n = d(() => typeof t.customSize == "number" && t.customSize > 0), r = d(() => {
4553
4492
  if (!t.icon) return "HelpCircleIcon";
4554
4493
  let l = t.icon;
4555
4494
  return l.startsWith("lucide-") && (l = l.substring(7)), l.toLowerCase().endsWith("icon") && (l = l.slice(0, -4)), l.includes("-") && (l = l.split("-").map((c) => c.charAt(0).toUpperCase() + c.slice(1)).join("")), l.charAt(0).toUpperCase() + l.slice(1) + "Icon";
4556
- }), a = h(() => {
4495
+ }), a = d(() => {
4557
4496
  const l = r.value, c = Le[l];
4558
4497
  return !c || typeof c != "object" && typeof c != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : we(c);
4559
- }), o = h(() => n.value && t.customSize ? {
4498
+ }), o = d(() => n.value && t.customSize ? {
4560
4499
  width: `${t.customSize}px`,
4561
4500
  height: `${t.customSize}px`
4562
4501
  } : {});
4563
- return (l, c) => a.value ? (w(), Y(fe(a.value), {
4502
+ return (l, c) => a.value ? (S(), X(fe(a.value), {
4564
4503
  key: 0,
4565
4504
  "stroke-width": t.strokeWidth,
4566
4505
  class: K([
@@ -4568,16 +4507,16 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4568
4507
  !n.value && `vc-lucide-icon--${i.size}`,
4569
4508
  i.variant ? `vc-lucide-icon--${i.variant}` : ""
4570
4509
  ]),
4571
- style: Q(o.value),
4510
+ style: Y(o.value),
4572
4511
  "aria-hidden": "true"
4573
- }, null, 8, ["stroke-width", "class", "style"])) : (w(), N("span", {
4512
+ }, null, 8, ["stroke-width", "class", "style"])) : (S(), j("span", {
4574
4513
  key: 1,
4575
4514
  class: K(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
4576
4515
  }, [...c[0] || (c[0] = [
4577
- $("i", { class: "vc-lucide-icon__fallback" }, null, -1)
4516
+ R("i", { class: "vc-lucide-icon__fallback" }, null, -1)
4578
4517
  ])], 2));
4579
4518
  }
4580
- }), Ft = /* @__PURE__ */ L({
4519
+ }), Gt = /* @__PURE__ */ M({
4581
4520
  __name: "vc-fontawesome-icon",
4582
4521
  props: {
4583
4522
  icon: {},
@@ -4586,22 +4525,22 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4586
4525
  customSize: {}
4587
4526
  },
4588
4527
  setup(i) {
4589
- const e = i, t = h(() => typeof e.customSize == "number" && e.customSize > 0), n = h(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4590
- le(() => {
4528
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
4529
+ oe(() => {
4591
4530
  });
4592
- const r = h(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
4593
- return (a, o) => (w(), N("i", {
4531
+ const r = d(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
4532
+ return (a, o) => (S(), j("i", {
4594
4533
  class: K([
4595
4534
  "vc-fa-icon",
4596
4535
  !t.value && `vc-fa-icon--${i.size}`,
4597
4536
  r.value,
4598
4537
  i.variant ? `vc-fa-icon--${i.variant}` : ""
4599
4538
  ]),
4600
- style: Q(n.value),
4539
+ style: Y(n.value),
4601
4540
  "aria-hidden": "true"
4602
4541
  }, null, 6));
4603
4542
  }
4604
- }), Dt = ["xlink:href"], Mt = /* @__PURE__ */ L({
4543
+ }), Ft = ["xlink:href"], Dt = /* @__PURE__ */ M({
4605
4544
  inheritAttrs: !1,
4606
4545
  __name: "vc-svg-icon",
4607
4546
  props: {
@@ -4613,7 +4552,7 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4613
4552
  strokeWidth: {}
4614
4553
  },
4615
4554
  setup(i) {
4616
- const e = i, t = h(() => typeof e.customSize == "number" && e.customSize > 0), n = h(() => {
4555
+ const e = i, t = d(() => typeof e.customSize == "number" && e.customSize > 0), n = d(() => {
4617
4556
  if (e.icon.startsWith("/") || e.icon.includes("://") || e.icon.startsWith("#"))
4618
4557
  return e.icon;
4619
4558
  const a = e.icon.indexOf("#");
@@ -4622,22 +4561,22 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4622
4561
  return `${e.basePath}/${o}${l}`;
4623
4562
  }
4624
4563
  return `${e.basePath}/${e.icon}`;
4625
- }), r = h(() => {
4564
+ }), r = d(() => {
4626
4565
  const a = {};
4627
4566
  return e.customSize && (a.width = `${e.customSize}px`, a.height = `${e.customSize}px`), e.strokeWidth && (a.strokeWidth = `${e.strokeWidth}`), a;
4628
4567
  });
4629
- return (a, o) => (w(), N("svg", se({
4568
+ return (a, o) => (S(), j("svg", ae({
4630
4569
  xmlns: "http://www.w3.org/2000/svg",
4631
4570
  class: ["vc-svg-icon", !t.value && `vc-svg-icon--${i.size}`, i.variant ? `vc-svg-icon--${i.variant}` : ""],
4632
4571
  style: r.value
4633
4572
  }, a.$attrs), [
4634
- n.value ? (w(), N("use", {
4573
+ n.value ? (S(), j("use", {
4635
4574
  key: 0,
4636
4575
  "xlink:href": n.value
4637
- }, null, 8, Dt)) : Z("", !0)
4576
+ }, null, 8, Ft)) : Z("", !0)
4638
4577
  ], 16));
4639
4578
  }
4640
- }), Lt = ["aria-hidden", "aria-label", "role"], oe = /* @__PURE__ */ L({
4579
+ }), Mt = ["aria-hidden", "aria-label", "role"], ie = /* @__PURE__ */ M({
4641
4580
  __name: "vc-icon",
4642
4581
  props: {
4643
4582
  icon: { default: "lucide-square" },
@@ -4650,7 +4589,7 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4650
4589
  },
4651
4590
  setup(i) {
4652
4591
  const e = i;
4653
- le(() => {
4592
+ oe(() => {
4654
4593
  });
4655
4594
  const t = {
4656
4595
  xs: 12,
@@ -4660,25 +4599,25 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4660
4599
  xl: 22,
4661
4600
  xxl: 30,
4662
4601
  xxxl: 64
4663
- }, n = h(() => typeof e.icon != "string" ? "custom" : e.icon.startsWith("fa-") || e.icon.includes("fa-") ? "fontawesome" : e.icon.startsWith("bi-") ? "bootstrap" : e.icon.startsWith("lucide-") ? "lucide" : e.icon.startsWith("material-") ? "material" : e.icon.startsWith("svg:") ? "svg" : e.icon.endsWith("Icon") ? "lucide" : "custom"), r = h(() => {
4602
+ }, n = d(() => typeof e.icon != "string" ? "custom" : e.icon.startsWith("fa-") || e.icon.includes("fa-") ? "fontawesome" : e.icon.startsWith("bi-") ? "bootstrap" : e.icon.startsWith("lucide-") ? "lucide" : e.icon.startsWith("material-") ? "material" : e.icon.startsWith("svg:") ? "svg" : e.icon.endsWith("Icon") ? "lucide" : "custom"), r = d(() => {
4664
4603
  if (typeof e.icon != "string")
4665
4604
  return e.icon;
4666
4605
  if (n.value === "material" && e.icon.startsWith("material-"))
4667
4606
  return e.icon.replace(/^material-/, "");
4668
4607
  if (n.value === "lucide" && e.icon.startsWith("lucide-")) {
4669
- const g = e.icon.replace(/^lucide-/, "");
4670
- return g.endsWith("Icon") ? g : `${g}Icon`;
4608
+ const b = e.icon.replace(/^lucide-/, "");
4609
+ return b.endsWith("Icon") ? b : `${b}Icon`;
4671
4610
  }
4672
4611
  return e.icon;
4673
- }), a = h(() => n.value === "material"), o = h(() => n.value === "bootstrap"), l = h(() => n.value === "lucide"), c = h(() => n.value === "fontawesome"), m = h(() => {
4612
+ }), a = d(() => n.value === "material"), o = d(() => n.value === "bootstrap"), l = d(() => n.value === "lucide"), c = d(() => n.value === "fontawesome"), p = d(() => {
4674
4613
  if (typeof e.icon != "string")
4675
4614
  return !0;
4676
4615
  if (["fontawesome", "bootstrap"].includes(n.value) || n.value === "material" && e.icon.startsWith("material-") || n.value === "lucide" && e.icon.startsWith("lucide-"))
4677
4616
  return !1;
4678
4617
  if (l.value)
4679
4618
  try {
4680
- const g = typeof r.value == "string" ? r.value : String(r.value);
4681
- return ce(g) !== g;
4619
+ const b = typeof r.value == "string" ? r.value : String(r.value);
4620
+ return ce(b) !== b;
4682
4621
  } catch {
4683
4622
  return !1;
4684
4623
  }
@@ -4687,23 +4626,23 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4687
4626
  } catch {
4688
4627
  return !1;
4689
4628
  }
4690
- }), U = h(() => {
4629
+ }), g = d(() => {
4691
4630
  if (typeof e.icon != "string")
4692
4631
  return we(e.icon);
4693
4632
  if (["fontawesome", "bootstrap", "material"].includes(n.value))
4694
4633
  return "i";
4695
4634
  try {
4696
- const g = typeof r.value == "string" ? r.value : String(r.value), _ = ce(g);
4697
- return _ !== g ? _ : "i";
4635
+ const b = typeof r.value == "string" ? r.value : String(r.value), m = ce(b);
4636
+ return m !== b ? m : "i";
4698
4637
  } catch {
4699
4638
  return "i";
4700
4639
  }
4701
- }), p = h(() => a.value ? zt : o.value ? kt : l.value ? Gt : c.value ? Ft : x.value ? Mt : m.value ? U.value : "i"), d = h(() => e.customSize ? e.customSize : t[e.size]), v = h(() => {
4702
- const g = {};
4703
- return m.value && e.customSize && (g.width = `${e.customSize}px`, g.height = `${e.customSize}px`), g;
4704
- }), C = h(() => e.customSize ? {
4640
+ }), h = d(() => a.value ? zt : o.value ? Bt : l.value ? kt : c.value ? Gt : N.value ? Dt : p.value ? g.value : "i"), y = d(() => e.customSize ? e.customSize : t[e.size]), w = d(() => {
4641
+ const b = {};
4642
+ return p.value && e.customSize && (b.width = `${e.customSize}px`, b.height = `${e.customSize}px`), b;
4643
+ }), x = d(() => e.customSize ? {
4705
4644
  fontSize: `${e.customSize}px`
4706
- } : {}), I = h(() => a.value ? {
4645
+ } : {}), O = d(() => a.value ? {
4707
4646
  icon: typeof r.value == "string" ? r.value.replace(/-outlined$|-rounded$|-sharp$/, "") : r.value,
4708
4647
  size: e.size,
4709
4648
  variant: e.variant,
@@ -4732,50 +4671,50 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4732
4671
  variant: e.variant,
4733
4672
  customSize: e.customSize
4734
4673
  // Set custom size without scaling
4735
- } : x.value ? {
4736
- icon: R.value,
4674
+ } : N.value ? {
4675
+ icon: D.value,
4737
4676
  size: e.size,
4738
4677
  variant: e.variant,
4739
4678
  customSize: e.customSize,
4740
4679
  basePath: e.basePath
4741
- } : m.value ? {
4680
+ } : p.value ? {
4742
4681
  size: e.size,
4743
- width: d.value,
4744
- height: d.value,
4682
+ width: y.value,
4683
+ height: y.value,
4745
4684
  color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
4746
- } : {}), x = h(() => n.value === "svg"), R = h(() => !x.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
4747
- return (g, _) => i.useContainer ? (w(), N("div", se({
4685
+ } : {}), N = d(() => n.value === "svg"), D = d(() => !N.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
4686
+ return (b, m) => i.useContainer ? (S(), j("div", ae({
4748
4687
  key: 0,
4749
4688
  class: ["vc-icon-container", `vc-icon-container--${i.size}`],
4750
- style: C.value,
4689
+ style: x.value,
4751
4690
  "aria-hidden": i.ariaLabel ? void 0 : "true",
4752
4691
  "aria-label": i.ariaLabel || void 0,
4753
4692
  role: i.ariaLabel ? "img" : void 0
4754
- }, g.$attrs), [
4755
- (w(), Y(fe(p.value), se({
4693
+ }, b.$attrs), [
4694
+ (S(), X(fe(h.value), ae({
4756
4695
  class: [
4757
4696
  "vc-icon",
4758
4697
  `vc-icon--${i.size}`,
4759
4698
  i.variant ? `vc-icon--${i.variant}` : "",
4760
- !m.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
4699
+ !p.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
4761
4700
  ],
4762
- style: v.value
4763
- }, I.value), null, 16, ["class", "style"]))
4764
- ], 16, Lt)) : (w(), Y(fe(p.value), se({
4701
+ style: w.value
4702
+ }, O.value), null, 16, ["class", "style"]))
4703
+ ], 16, Mt)) : (S(), X(fe(h.value), ae({
4765
4704
  key: 1,
4766
4705
  class: [
4767
4706
  "vc-icon",
4768
4707
  `vc-icon--${i.size}`,
4769
4708
  i.variant ? `vc-icon--${i.variant}` : "",
4770
- !m.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
4709
+ !p.value && !a.value && !l.value && !o.value && !c.value ? i.icon.toLowerCase() : ""
4771
4710
  ],
4772
- style: v.value,
4711
+ style: w.value,
4773
4712
  "aria-hidden": i.ariaLabel ? void 0 : "true",
4774
4713
  "aria-label": i.ariaLabel || void 0,
4775
4714
  role: i.ariaLabel ? "img" : void 0
4776
- }, { ...I.value, ...g.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
4715
+ }, { ...O.value, ...b.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
4777
4716
  }
4778
- }), Jt = { class: "vc-ai-agent-header" }, Wt = { class: "vc-ai-agent-header__icon" }, Vt = { class: "vc-ai-agent-header__wrapper" }, qt = { class: "vc-ai-agent-header__content" }, Kt = { class: "vc-ai-agent-header__title" }, Ht = { class: "vc-ai-agent-header__controls" }, Zt = /* @__PURE__ */ L({
4717
+ }), Lt = { class: "vc-ai-agent-header" }, Jt = { class: "vc-ai-agent-header__icon" }, Wt = { class: "vc-ai-agent-header__wrapper" }, Vt = { class: "vc-ai-agent-header__content" }, Kt = { class: "vc-ai-agent-header__title" }, qt = { class: "vc-ai-agent-header__controls" }, Ht = /* @__PURE__ */ M({
4779
4718
  __name: "VcAiAgentHeader",
4780
4719
  props: {
4781
4720
  title: {},
@@ -4784,78 +4723,78 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4784
4723
  },
4785
4724
  emits: ["close", "expand", "collapse"],
4786
4725
  setup(i) {
4787
- return (e, t) => (w(), N("div", Jt, [
4788
- $("div", Wt, [
4726
+ return (e, t) => (S(), j("div", Lt, [
4727
+ R("div", Jt, [
4789
4728
  W($e, {
4790
4729
  width: 22,
4791
4730
  height: 24,
4792
4731
  "show-dots": ""
4793
4732
  })
4794
4733
  ]),
4795
- $("div", Vt, [
4796
- $("div", qt, [
4797
- $("div", Kt, pe(i.title), 1)
4734
+ R("div", Wt, [
4735
+ R("div", Vt, [
4736
+ R("div", Kt, pe(i.title), 1)
4798
4737
  ])
4799
4738
  ]),
4800
- $("div", Ht, [
4801
- i.isExpanded ? (w(), N("div", {
4739
+ R("div", qt, [
4740
+ i.isExpanded ? (S(), j("div", {
4802
4741
  key: 0,
4803
4742
  class: "vc-ai-agent-header__button",
4804
4743
  title: "Collapse",
4805
4744
  onClick: t[0] || (t[0] = (n) => e.$emit("collapse"))
4806
4745
  }, [
4807
- W(ie(oe), { icon: "lucide-minus" })
4808
- ])) : (w(), N("div", {
4746
+ W(se(ie), { icon: "lucide-minus" })
4747
+ ])) : (S(), j("div", {
4809
4748
  key: 1,
4810
4749
  class: "vc-ai-agent-header__button",
4811
4750
  title: "Expand",
4812
4751
  onClick: t[1] || (t[1] = (n) => e.$emit("expand"))
4813
4752
  }, [
4814
- W(ie(oe), { icon: "lucide-panel-top" })
4753
+ W(se(ie), { icon: "lucide-panel-top" })
4815
4754
  ])),
4816
- $("div", {
4755
+ R("div", {
4817
4756
  class: "vc-ai-agent-header__button",
4818
4757
  title: "Close",
4819
4758
  onClick: t[2] || (t[2] = (n) => e.$emit("close"))
4820
4759
  }, [
4821
- W(ie(oe), { icon: "lucide-x" })
4760
+ W(se(ie), { icon: "lucide-x" })
4822
4761
  ])
4823
4762
  ])
4824
4763
  ]));
4825
4764
  }
4826
- }), Xt = { class: "vc-ai-agent-loader" }, Yt = { class: "vc-ai-agent-loader__content" }, Qt = { class: "vc-ai-agent-loader__logo" }, er = {
4765
+ }), Zt = { class: "vc-ai-agent-loader" }, Xt = { class: "vc-ai-agent-loader__content" }, Yt = { class: "vc-ai-agent-loader__logo" }, Qt = {
4827
4766
  key: 0,
4828
4767
  class: "vc-ai-agent-loader__text"
4829
- }, tr = /* @__PURE__ */ L({
4768
+ }, er = /* @__PURE__ */ M({
4830
4769
  __name: "VcAiAgentLoader",
4831
4770
  props: {
4832
4771
  text: {}
4833
4772
  },
4834
4773
  setup(i) {
4835
- return (e, t) => (w(), N("div", Xt, [
4836
- $("div", Yt, [
4837
- $("div", Qt, [
4774
+ return (e, t) => (S(), j("div", Zt, [
4775
+ R("div", Xt, [
4776
+ R("div", Yt, [
4838
4777
  W($e, {
4839
4778
  width: 80,
4840
4779
  height: 87,
4841
4780
  animated: ""
4842
4781
  })
4843
4782
  ]),
4844
- i.text ? (w(), N("p", er, pe(i.text), 1)) : Z("", !0)
4783
+ i.text ? (S(), j("p", Qt, pe(i.text), 1)) : Z("", !0)
4845
4784
  ])
4846
4785
  ]));
4847
4786
  }
4848
- }), rr = { class: "vc-ai-agent-iframe" }, nr = ["src"], ar = {
4787
+ }), tr = { class: "vc-ai-agent-iframe" }, rr = ["src"], nr = {
4849
4788
  key: 1,
4850
4789
  class: "vc-ai-agent-iframe__placeholder"
4851
- }, sr = /* @__PURE__ */ L({
4790
+ }, ar = /* @__PURE__ */ M({
4852
4791
  __name: "VcAiAgentIframe",
4853
4792
  props: {
4854
4793
  url: {}
4855
4794
  },
4856
4795
  emits: ["iframe-ready"],
4857
4796
  setup(i, { emit: e }) {
4858
- const t = B("ai-agent-iframe"), n = i, r = e, a = D(null), o = D(!0);
4797
+ const t = $("ai-agent-iframe"), n = i, r = e, a = G(null), o = G(!0);
4859
4798
  H(
4860
4799
  a,
4861
4800
  (c) => {
@@ -4871,17 +4810,17 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4871
4810
  () => {
4872
4811
  o.value = !0;
4873
4812
  }
4874
- ), (c, m) => (w(), N("div", rr, [
4813
+ ), (c, p) => (S(), j("div", tr, [
4875
4814
  W(Ae, { name: "fade" }, {
4876
4815
  default: Pe(() => [
4877
- o.value && i.url ? (w(), Y(tr, {
4816
+ o.value && i.url ? (S(), X(er, {
4878
4817
  key: 0,
4879
4818
  text: c.$t("AI_AGENT.LOADING")
4880
4819
  }, null, 8, ["text"])) : Z("", !0)
4881
4820
  ]),
4882
4821
  _: 1
4883
4822
  }),
4884
- i.url ? (w(), N("iframe", {
4823
+ i.url ? (S(), j("iframe", {
4885
4824
  key: 0,
4886
4825
  ref_key: "iframeRef",
4887
4826
  ref: a,
@@ -4890,51 +4829,51 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4890
4829
  sandbox: "allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox",
4891
4830
  allow: "clipboard-read; clipboard-write",
4892
4831
  onLoad: l
4893
- }, null, 42, nr)) : (w(), N("div", ar, [
4894
- W(ie(oe), {
4832
+ }, null, 42, rr)) : (S(), j("div", nr, [
4833
+ W(se(ie), {
4895
4834
  icon: "lucide-sparkles",
4896
4835
  size: "xl",
4897
4836
  class: "vc-ai-agent-iframe__placeholder-icon"
4898
4837
  }),
4899
- m[0] || (m[0] = $("p", { class: "vc-ai-agent-iframe__placeholder-text" }, "AI Agent URL not configured", -1))
4838
+ p[0] || (p[0] = R("p", { class: "vc-ai-agent-iframe__placeholder-text" }, "AI Agent URL not configured", -1))
4900
4839
  ]))
4901
4840
  ]));
4902
4841
  }
4903
- }), ir = { class: "vc-ai-agent-panel__content" }, pn = /* @__PURE__ */ L({
4842
+ }), sr = { class: "vc-ai-agent-panel__content" }, fn = /* @__PURE__ */ M({
4904
4843
  __name: "VcAiAgentPanel",
4905
4844
  setup(i) {
4906
- const e = J(ve), t = J(vt, !1);
4845
+ const e = L(ve), t = L(vt, !1);
4907
4846
  e || console.error("[VcAiAgentPanel] AiAgentService not provided");
4908
- const n = h(
4847
+ const n = d(
4909
4848
  () => e?.config.value ?? { url: "", title: "AI Assistant", width: 362, expandedWidth: 500 }
4910
- ), r = h(() => !t && (e?.isOpen.value ?? !1)), a = h(() => e?.isExpanded.value ?? !1), o = h(() => e?.totalItemsCount.value ?? 0), l = h(() => ({
4849
+ ), r = d(() => !t && (e?.isOpen.value ?? !1)), a = d(() => e?.isExpanded.value ?? !1), o = d(() => e?.totalItemsCount.value ?? 0), l = d(() => ({
4911
4850
  width: a.value ? `${n.value.expandedWidth ?? 500}px` : `${n.value.width ?? 362}px`
4912
- })), c = () => e?.closePanel(), m = () => e?.expandPanel(), U = () => e?.collapsePanel(), p = (d) => {
4913
- e?._setIframeRef(d);
4851
+ })), c = () => e?.closePanel(), p = () => e?.expandPanel(), g = () => e?.collapsePanel(), h = (y) => {
4852
+ e?._setIframeRef(y);
4914
4853
  };
4915
4854
  return Fe(() => {
4916
4855
  e?._setIframeRef(null);
4917
- }), (d, v) => (w(), Y(Ae, { name: "ai-panel-slide" }, {
4856
+ }), (y, w) => (S(), X(Ae, { name: "ai-panel-slide" }, {
4918
4857
  default: Pe(() => [
4919
- r.value ? (w(), N("div", {
4858
+ r.value ? (S(), j("div", {
4920
4859
  key: 0,
4921
4860
  class: K(["vc-ai-agent-panel", {
4922
4861
  "vc-ai-agent-panel--expanded": a.value
4923
4862
  }]),
4924
- style: Q(l.value)
4863
+ style: Y(l.value)
4925
4864
  }, [
4926
- W(Zt, {
4865
+ W(Ht, {
4927
4866
  title: n.value.title,
4928
4867
  "is-expanded": a.value,
4929
4868
  "items-count": o.value,
4930
4869
  onClose: c,
4931
- onExpand: m,
4932
- onCollapse: U
4870
+ onExpand: p,
4871
+ onCollapse: g
4933
4872
  }, null, 8, ["title", "is-expanded", "items-count"]),
4934
- $("div", ir, [
4935
- W(sr, {
4873
+ R("div", sr, [
4874
+ W(ar, {
4936
4875
  url: n.value.url,
4937
- onIframeReady: p
4876
+ onIframeReady: h
4938
4877
  }, null, 8, ["url"])
4939
4878
  ])
4940
4879
  ], 6)) : Z("", !0)
@@ -4944,95 +4883,95 @@ const Rt = ["width", "height"], jt = ["clip-path"], $t = {
4944
4883
  }
4945
4884
  });
4946
4885
  export {
4947
- mr as $,
4948
- tn as A,
4886
+ pr as $,
4887
+ en as A,
4949
4888
  ht as B,
4950
- Lr as C,
4889
+ Mr as C,
4951
4890
  gt as D,
4952
- rn as E,
4953
- Jr as F,
4954
- qr as G,
4955
- nn as H,
4956
- Wr as I,
4891
+ tn as E,
4892
+ Lr as F,
4893
+ Vr as G,
4894
+ rn as H,
4895
+ Jr as I,
4957
4896
  Kr as J,
4958
- Br as K,
4897
+ Nr as K,
4959
4898
  pt as L,
4960
- Gr as M,
4961
- $r as N,
4962
- Nr as O,
4963
- Ir as P,
4899
+ kr as M,
4900
+ jr as N,
4901
+ $r as O,
4902
+ Or as P,
4964
4903
  tt as Q,
4965
4904
  zr as R,
4966
4905
  Tr as S,
4967
4906
  mt as T,
4968
- fr as U,
4969
- Ke as V,
4970
- Rr as W,
4971
- Dr as X,
4972
- pr as Y,
4973
- F as Z,
4974
- oe as _,
4975
- pn as a,
4976
- Or as a0,
4907
+ dr as U,
4908
+ qe as V,
4909
+ Ir as W,
4910
+ Fr as X,
4911
+ fr as Y,
4912
+ k as Z,
4913
+ ie as _,
4914
+ fn as a,
4915
+ Pr as a0,
4977
4916
  ft as a1,
4978
4917
  dt as a2,
4979
- en as a3,
4980
- Pr as a4,
4981
- vr as a5,
4982
- Zr as a6,
4983
- jr as a7,
4984
- gr as a8,
4985
- br as a9,
4986
- hn as aA,
4987
- kr as aa,
4988
- xr as ab,
4918
+ Qr as a3,
4919
+ Ar as a4,
4920
+ mr as a5,
4921
+ Hr as a6,
4922
+ Rr as a7,
4923
+ vr as a8,
4924
+ gr as a9,
4925
+ cn as aA,
4926
+ Br as aa,
4927
+ br as ab,
4989
4928
  He as ac,
4990
4929
  vt as ad,
4991
4930
  Ze as ae,
4992
4931
  Ve as af,
4993
- Hr as ag,
4994
- Er as ah,
4932
+ qr as ag,
4933
+ xr as ah,
4995
4934
  Xe as ai,
4996
- yr as aj,
4997
- _r as ak,
4998
- Fr as al,
4999
- Ur as am,
4935
+ Er as aj,
4936
+ yr as ak,
4937
+ Gr as al,
4938
+ _r as am,
5000
4939
  Ye as an,
5001
- Cr as ao,
5002
- qe as ap,
4940
+ Ur as ao,
4941
+ Ke as ap,
5003
4942
  Qe as aq,
5004
4943
  Sr as ar,
5005
- Mr as as,
4944
+ Dr as as,
5006
4945
  et as at,
5007
4946
  ot as au,
5008
4947
  lt as av,
5009
- wr as aw,
5010
- Ar as ax,
5011
- It as ay,
4948
+ Cr as aw,
4949
+ wr as ax,
4950
+ Ot as ay,
5012
4951
  ut as az,
5013
4952
  ve as b,
5014
- fn as c,
5015
- B as d,
4953
+ dn as c,
4954
+ $ as d,
5016
4955
  Ue as e,
5017
- cn as f,
4956
+ un as f,
5018
4957
  Oe as g,
5019
4958
  ct as h,
5020
- on as i,
5021
- an as j,
5022
- ln as k,
5023
- Yr as l,
5024
- Xr as m,
5025
- Pt as n,
4959
+ sn as i,
4960
+ nn as j,
4961
+ on as k,
4962
+ Xr as l,
4963
+ Zr as m,
4964
+ At as n,
5026
4965
  at as o,
5027
- un as p,
4966
+ ln as p,
5028
4967
  Ie as q,
5029
4968
  Re as r,
5030
- sn as s,
4969
+ an as s,
5031
4970
  St as t,
5032
- dn as u,
4971
+ hn as u,
5033
4972
  je as v,
5034
- Te as w,
5035
- wt as x,
5036
- Qr as y,
5037
- Vr as z
4973
+ Se as w,
4974
+ Ct as x,
4975
+ Yr as y,
4976
+ Wr as z
5038
4977
  };