@like-a-startup/matildex-chat 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var Kb = Object.defineProperty;
2
2
  var Gb = (t, e, n) => e in t ? Kb(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var $s = (t, e, n) => Gb(t, typeof e != "symbol" ? e + "" : e, n);
4
- /*! Package version @n8n/chat@1.0.12 */
4
+ /*! Package version @n8n/chat@1.0.14 */
5
5
  /**
6
6
  * @vue/shared v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
@@ -1897,7 +1897,7 @@ function vi(t, e) {
1897
1897
  }
1898
1898
  function ke(t, e, n = {}, o, s) {
1899
1899
  if (xt.ce || xt.parent && mo(xt.parent) && xt.parent.ce)
1900
- return e !== "default" && (n.name = e), S(), de(
1900
+ return e !== "default" && (n.name = e), S(), he(
1901
1901
  tt,
1902
1902
  null,
1903
1903
  [Se("slot", n, o && o())],
@@ -1907,7 +1907,7 @@ function ke(t, e, n = {}, o, s) {
1907
1907
  r && r._c && (r._d = !1), S();
1908
1908
  const i = r && Kg(r(n)), a = n.key || // slot content array of a dynamic conditional slot may have a branch
1909
1909
  // key attached in the `createSlots` helper, respect that
1910
- i && i.key, l = de(
1910
+ i && i.key, l = he(
1911
1911
  tt,
1912
1912
  {
1913
1913
  key: (a && !sr(a) ? a : `_${e}`) + // #7256 force differentiate fallback content from actual content
@@ -2588,7 +2588,7 @@ function d5(t, e) {
2588
2588
  if (I === P)
2589
2589
  return;
2590
2590
  I && !Ur(I, P) && (Y = Ne(I), W(I, Q, ne, !0), I = null), P.patchFlag === -2 && (se = !1, P.dynamicChildren = null);
2591
- const { type: re, ref: we, shapeFlag: he } = P;
2591
+ const { type: re, ref: we, shapeFlag: de } = P;
2592
2592
  switch (re) {
2593
2593
  case To:
2594
2594
  y(I, P, U, Y);
@@ -2613,7 +2613,7 @@ function d5(t, e) {
2613
2613
  );
2614
2614
  break;
2615
2615
  default:
2616
- he & 1 ? w(
2616
+ de & 1 ? w(
2617
2617
  I,
2618
2618
  P,
2619
2619
  U,
@@ -2623,7 +2623,7 @@ function d5(t, e) {
2623
2623
  le,
2624
2624
  ae,
2625
2625
  se
2626
- ) : he & 6 ? G(
2626
+ ) : de & 6 ? G(
2627
2627
  I,
2628
2628
  P,
2629
2629
  U,
@@ -2633,7 +2633,7 @@ function d5(t, e) {
2633
2633
  le,
2634
2634
  ae,
2635
2635
  se
2636
- ) : (he & 64 || he & 128) && re.process(
2636
+ ) : (de & 64 || de & 128) && re.process(
2637
2637
  I,
2638
2638
  P,
2639
2639
  U,
@@ -2704,13 +2704,13 @@ function d5(t, e) {
2704
2704
  );
2705
2705
  }, k = (I, P, U, Y, Q, ne, le, ae) => {
2706
2706
  let se, re;
2707
- const { props: we, shapeFlag: he, transition: ve, dirs: X } = I;
2707
+ const { props: we, shapeFlag: de, transition: ve, dirs: X } = I;
2708
2708
  if (se = I.el = i(
2709
2709
  I.type,
2710
2710
  ne,
2711
2711
  we && we.is,
2712
2712
  we
2713
- ), he & 8 ? f(se, I.children) : he & 16 && A(
2713
+ ), de & 8 ? f(se, I.children) : de & 16 && A(
2714
2714
  I.children,
2715
2715
  se,
2716
2716
  null,
@@ -2765,9 +2765,9 @@ function d5(t, e) {
2765
2765
  const ae = P.el = I.el;
2766
2766
  let { patchFlag: se, dynamicChildren: re, dirs: we } = P;
2767
2767
  se |= I.patchFlag & 16;
2768
- const he = I.props || nt, ve = P.props || nt;
2768
+ const de = I.props || nt, ve = P.props || nt;
2769
2769
  let X;
2770
- if (U && Dr(U, !1), (X = ve.onVnodeBeforeUpdate) && Rn(X, U, P, I), we && Nr(P, I, U, "beforeUpdate"), U && Dr(U, !0), (he.innerHTML && ve.innerHTML == null || he.textContent && ve.textContent == null) && f(ae, ""), re ? T(
2770
+ if (U && Dr(U, !1), (X = ve.onVnodeBeforeUpdate) && Rn(X, U, P, I), we && Nr(P, I, U, "beforeUpdate"), U && Dr(U, !0), (de.innerHTML && ve.innerHTML == null || de.textContent && ve.textContent == null) && f(ae, ""), re ? T(
2771
2771
  I.dynamicChildren,
2772
2772
  re,
2773
2773
  ae,
@@ -2787,16 +2787,16 @@ function d5(t, e) {
2787
2787
  !1
2788
2788
  ), se > 0) {
2789
2789
  if (se & 16)
2790
- O(ae, he, ve, U, Q);
2791
- else if (se & 2 && he.class !== ve.class && r(ae, "class", null, ve.class, Q), se & 4 && r(ae, "style", he.style, ve.style, Q), se & 8) {
2790
+ O(ae, de, ve, U, Q);
2791
+ else if (se & 2 && de.class !== ve.class && r(ae, "class", null, ve.class, Q), se & 4 && r(ae, "style", de.style, ve.style, Q), se & 8) {
2792
2792
  const ce = P.dynamicProps;
2793
2793
  for (let Te = 0; Te < ce.length; Te++) {
2794
- const Pe = ce[Te], ut = he[Pe], pt = ve[Pe];
2794
+ const Pe = ce[Te], ut = de[Pe], pt = ve[Pe];
2795
2795
  (pt !== ut || Pe === "value") && r(ae, Pe, ut, pt, Q, U);
2796
2796
  }
2797
2797
  }
2798
2798
  se & 1 && I.children !== P.children && f(ae, P.children);
2799
- } else !le && re == null && O(ae, he, ve, U, Q);
2799
+ } else !le && re == null && O(ae, de, ve, U, Q);
2800
2800
  ((X = ve.onVnodeUpdated) || we) && Ft(() => {
2801
2801
  X && Rn(X, U, P, I), we && Nr(P, I, U, "updated");
2802
2802
  }, Y);
@@ -2849,7 +2849,7 @@ function d5(t, e) {
2849
2849
  }
2850
2850
  }, R = (I, P, U, Y, Q, ne, le, ae, se) => {
2851
2851
  const re = P.el = I ? I.el : a(""), we = P.anchor = I ? I.anchor : a("");
2852
- let { patchFlag: he, dynamicChildren: ve, slotScopeIds: X } = P;
2852
+ let { patchFlag: de, dynamicChildren: ve, slotScopeIds: X } = P;
2853
2853
  X && (ae = ae ? ae.concat(X) : X), I == null ? (o(re, U, Y), o(we, U, Y), A(
2854
2854
  // #10007
2855
2855
  // such fragment like `<></>` will be compiled into
@@ -2863,7 +2863,7 @@ function d5(t, e) {
2863
2863
  le,
2864
2864
  ae,
2865
2865
  se
2866
- )) : he > 0 && he & 64 && ve && // #2715 the previous fragment could've been a BAILed one as a result
2866
+ )) : de > 0 && de & 64 && ve && // #2715 the previous fragment could've been a BAILed one as a result
2867
2867
  // of renderSlot() with no valid children
2868
2868
  I.dynamicChildren ? (T(
2869
2869
  I.dynamicChildren,
@@ -2943,18 +2943,18 @@ function d5(t, e) {
2943
2943
  }, B = (I, P, U, Y, Q, ne, le) => {
2944
2944
  const ae = () => {
2945
2945
  if (I.isMounted) {
2946
- let { next: he, bu: ve, u: X, parent: ce, vnode: Te } = I;
2946
+ let { next: de, bu: ve, u: X, parent: ce, vnode: Te } = I;
2947
2947
  {
2948
2948
  const St = am(I);
2949
2949
  if (St) {
2950
- he && (he.el = Te.el, z(I, he, le)), St.asyncDep.then(() => {
2950
+ de && (de.el = Te.el, z(I, de, le)), St.asyncDep.then(() => {
2951
2951
  I.isUnmounted || ae();
2952
2952
  });
2953
2953
  return;
2954
2954
  }
2955
2955
  }
2956
- let Pe = he, ut;
2957
- Dr(I, !1), he ? (he.el = Te.el, z(I, he, le)) : he = Te, ve && Qs(ve), (ut = he.props && he.props.onVnodeBeforeUpdate) && Rn(ut, ce, he, Te), Dr(I, !0);
2956
+ let Pe = de, ut;
2957
+ Dr(I, !1), de ? (de.el = Te.el, z(I, de, le)) : de = Te, ve && Qs(ve), (ut = de.props && de.props.onVnodeBeforeUpdate) && Rn(ut, ce, de, Te), Dr(I, !0);
2958
2958
  const pt = Xf(I), kt = I.subTree;
2959
2959
  I.subTree = pt, h(
2960
2960
  kt,
@@ -2966,14 +2966,14 @@ function d5(t, e) {
2966
2966
  I,
2967
2967
  Q,
2968
2968
  ne
2969
- ), he.el = pt.el, Pe === null && x5(I, pt.el), X && Ft(X, Q), (ut = he.props && he.props.onVnodeUpdated) && Ft(
2970
- () => Rn(ut, ce, he, Te),
2969
+ ), de.el = pt.el, Pe === null && x5(I, pt.el), X && Ft(X, Q), (ut = de.props && de.props.onVnodeUpdated) && Ft(
2970
+ () => Rn(ut, ce, de, Te),
2971
2971
  Q
2972
2972
  );
2973
2973
  } else {
2974
- let he;
2974
+ let de;
2975
2975
  const { el: ve, props: X } = P, { bm: ce, m: Te, parent: Pe, root: ut, type: pt } = I, kt = mo(P);
2976
- Dr(I, !1), ce && Qs(ce), !kt && (he = X && X.onVnodeBeforeMount) && Rn(he, Pe, P), Dr(I, !0);
2976
+ Dr(I, !1), ce && Qs(ce), !kt && (de = X && X.onVnodeBeforeMount) && Rn(de, Pe, P), Dr(I, !0);
2977
2977
  {
2978
2978
  ut.ce && ut.ce._injectChildStyle(pt);
2979
2979
  const St = I.subTree = Xf(I);
@@ -2987,10 +2987,10 @@ function d5(t, e) {
2987
2987
  ne
2988
2988
  ), P.el = St.el;
2989
2989
  }
2990
- if (Te && Ft(Te, Q), !kt && (he = X && X.onVnodeMounted)) {
2990
+ if (Te && Ft(Te, Q), !kt && (de = X && X.onVnodeMounted)) {
2991
2991
  const St = P;
2992
2992
  Ft(
2993
- () => Rn(he, Pe, St),
2993
+ () => Rn(de, Pe, St),
2994
2994
  Q
2995
2995
  );
2996
2996
  }
@@ -3007,12 +3007,12 @@ function d5(t, e) {
3007
3007
  const Y = I.vnode.props;
3008
3008
  I.vnode = P, I.next = null, i5(I, P.props, Y, U), u5(I, P.children, U), Tr(), zf(I), Mr();
3009
3009
  }, F = (I, P, U, Y, Q, ne, le, ae, se = !1) => {
3010
- const re = I && I.children, we = I ? I.shapeFlag : 0, he = P.children, { patchFlag: ve, shapeFlag: X } = P;
3010
+ const re = I && I.children, we = I ? I.shapeFlag : 0, de = P.children, { patchFlag: ve, shapeFlag: X } = P;
3011
3011
  if (ve > 0) {
3012
3012
  if (ve & 128) {
3013
3013
  N(
3014
3014
  re,
3015
- he,
3015
+ de,
3016
3016
  U,
3017
3017
  Y,
3018
3018
  Q,
@@ -3025,7 +3025,7 @@ function d5(t, e) {
3025
3025
  } else if (ve & 256) {
3026
3026
  K(
3027
3027
  re,
3028
- he,
3028
+ de,
3029
3029
  U,
3030
3030
  Y,
3031
3031
  Q,
@@ -3037,9 +3037,9 @@ function d5(t, e) {
3037
3037
  return;
3038
3038
  }
3039
3039
  }
3040
- X & 8 ? (we & 16 && $e(re, Q, ne), he !== re && f(U, he)) : we & 16 ? X & 16 ? N(
3040
+ X & 8 ? (we & 16 && $e(re, Q, ne), de !== re && f(U, de)) : we & 16 ? X & 16 ? N(
3041
3041
  re,
3042
- he,
3042
+ de,
3043
3043
  U,
3044
3044
  Y,
3045
3045
  Q,
@@ -3048,7 +3048,7 @@ function d5(t, e) {
3048
3048
  ae,
3049
3049
  se
3050
3050
  ) : $e(re, Q, ne, !0) : (we & 8 && f(U, ""), X & 16 && A(
3051
- he,
3051
+ de,
3052
3052
  U,
3053
3053
  Y,
3054
3054
  Q,
@@ -3059,9 +3059,9 @@ function d5(t, e) {
3059
3059
  ));
3060
3060
  }, K = (I, P, U, Y, Q, ne, le, ae, se) => {
3061
3061
  I = I || fo, P = P || fo;
3062
- const re = I.length, we = P.length, he = Math.min(re, we);
3062
+ const re = I.length, we = P.length, de = Math.min(re, we);
3063
3063
  let ve;
3064
- for (ve = 0; ve < he; ve++) {
3064
+ for (ve = 0; ve < de; ve++) {
3065
3065
  const X = P[ve] = se ? _r(P[ve]) : Pn(P[ve]);
3066
3066
  h(
3067
3067
  I[ve],
@@ -3081,7 +3081,7 @@ function d5(t, e) {
3081
3081
  ne,
3082
3082
  !0,
3083
3083
  !1,
3084
- he
3084
+ de
3085
3085
  ) : A(
3086
3086
  P,
3087
3087
  U,
@@ -3091,13 +3091,13 @@ function d5(t, e) {
3091
3091
  le,
3092
3092
  ae,
3093
3093
  se,
3094
- he
3094
+ de
3095
3095
  );
3096
3096
  }, N = (I, P, U, Y, Q, ne, le, ae, se) => {
3097
3097
  let re = 0;
3098
3098
  const we = P.length;
3099
- let he = I.length - 1, ve = we - 1;
3100
- for (; re <= he && re <= ve; ) {
3099
+ let de = I.length - 1, ve = we - 1;
3100
+ for (; re <= de && re <= ve; ) {
3101
3101
  const X = I[re], ce = P[re] = se ? _r(P[re]) : Pn(P[re]);
3102
3102
  if (Ur(X, ce))
3103
3103
  h(
@@ -3115,8 +3115,8 @@ function d5(t, e) {
3115
3115
  break;
3116
3116
  re++;
3117
3117
  }
3118
- for (; re <= he && re <= ve; ) {
3119
- const X = I[he], ce = P[ve] = se ? _r(P[ve]) : Pn(P[ve]);
3118
+ for (; re <= de && re <= ve; ) {
3119
+ const X = I[de], ce = P[ve] = se ? _r(P[ve]) : Pn(P[ve]);
3120
3120
  if (Ur(X, ce))
3121
3121
  h(
3122
3122
  X,
@@ -3131,9 +3131,9 @@ function d5(t, e) {
3131
3131
  );
3132
3132
  else
3133
3133
  break;
3134
- he--, ve--;
3134
+ de--, ve--;
3135
3135
  }
3136
- if (re > he) {
3136
+ if (re > de) {
3137
3137
  if (re <= ve) {
3138
3138
  const X = ve + 1, ce = X < we ? P[X].el : Y;
3139
3139
  for (; re <= ve; )
@@ -3150,7 +3150,7 @@ function d5(t, e) {
3150
3150
  ), re++;
3151
3151
  }
3152
3152
  } else if (re > ve)
3153
- for (; re <= he; )
3153
+ for (; re <= de; )
3154
3154
  W(I[re], Q, ne, !0), re++;
3155
3155
  else {
3156
3156
  const X = re, ce = re, Te = /* @__PURE__ */ new Map();
@@ -3163,7 +3163,7 @@ function d5(t, e) {
3163
3163
  let kt = !1, St = 0;
3164
3164
  const gn = new Array(pt);
3165
3165
  for (re = 0; re < pt; re++) gn[re] = 0;
3166
- for (re = X; re <= he; re++) {
3166
+ for (re = X; re <= de; re++) {
3167
3167
  const mt = I[re];
3168
3168
  if (ut >= pt) {
3169
3169
  W(mt, Q, ne, !0);
@@ -3222,8 +3222,8 @@ function d5(t, e) {
3222
3222
  }
3223
3223
  if (le === tt) {
3224
3224
  o(ne, P, U);
3225
- for (let he = 0; he < se.length; he++)
3226
- Z(se[he], P, U, Y);
3225
+ for (let de = 0; de < se.length; de++)
3226
+ Z(se[de], P, U, Y);
3227
3227
  o(I.anchor, P, U);
3228
3228
  return;
3229
3229
  }
@@ -3235,8 +3235,8 @@ function d5(t, e) {
3235
3235
  if (Y === 0)
3236
3236
  ae.beforeEnter(ne), o(ne, P, U), Ft(() => ae.enter(ne), Q);
3237
3237
  else {
3238
- const { leave: he, delayLeave: ve, afterLeave: X } = ae, ce = () => o(ne, P, U), Te = () => {
3239
- he(ne, () => {
3238
+ const { leave: de, delayLeave: ve, afterLeave: X } = ae, ce = () => o(ne, P, U), Te = () => {
3239
+ de(ne, () => {
3240
3240
  ce(), X && X();
3241
3241
  });
3242
3242
  };
@@ -3252,11 +3252,11 @@ function d5(t, e) {
3252
3252
  children: se,
3253
3253
  dynamicChildren: re,
3254
3254
  shapeFlag: we,
3255
- patchFlag: he,
3255
+ patchFlag: de,
3256
3256
  dirs: ve,
3257
3257
  cacheIndex: X
3258
3258
  } = I;
3259
- if (he === -2 && (Q = !1), ae != null && mi(ae, null, U, I, !0), X != null && (P.renderCache[X] = void 0), we & 256) {
3259
+ if (de === -2 && (Q = !1), ae != null && mi(ae, null, U, I, !0), X != null && (P.renderCache[X] = void 0), we & 256) {
3260
3260
  P.ctx.deactivate(I);
3261
3261
  return;
3262
3262
  }
@@ -3281,13 +3281,13 @@ function d5(t, e) {
3281
3281
  // so that it doesn't take the fast path during unmount - otherwise
3282
3282
  // components nested in v-once are never unmounted.
3283
3283
  !re.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
3284
- (ne !== tt || he > 0 && he & 64) ? $e(
3284
+ (ne !== tt || de > 0 && de & 64) ? $e(
3285
3285
  re,
3286
3286
  P,
3287
3287
  U,
3288
3288
  !1,
3289
3289
  !0
3290
- ) : (ne === tt && he & 384 || !Q && we & 16) && $e(se, P, U), Y && oe(I);
3290
+ ) : (ne === tt && de & 384 || !Q && we & 16) && $e(se, P, U), Y && oe(I);
3291
3291
  }
3292
3292
  (Te && (Pe = le && le.onVnodeUnmounted) || ce) && Ft(() => {
3293
3293
  Pe && Rn(Pe, P, I), ce && Nr(I, null, P, "unmounted");
@@ -3646,7 +3646,7 @@ function L(t, e, n, o, s, r) {
3646
3646
  )
3647
3647
  );
3648
3648
  }
3649
- function de(t, e, n, o, s) {
3649
+ function he(t, e, n, o, s) {
3650
3650
  return fm(
3651
3651
  Se(
3652
3652
  t,
@@ -3797,7 +3797,7 @@ function Lr(t, e) {
3797
3797
  return n.staticCount = e, n;
3798
3798
  }
3799
3799
  function ye(t = "", e = !1) {
3800
- return e ? (S(), de(Ot, null, t)) : Se(Ot, null, t);
3800
+ return e ? (S(), he(Ot, null, t)) : Se(Ot, null, t);
3801
3801
  }
3802
3802
  function Pn(t) {
3803
3803
  return t == null || typeof t == "boolean" ? Se(Ot) : Oe(t) ? Se(
@@ -5615,12 +5615,12 @@ function jy() {
5615
5615
  function we(M) {
5616
5616
  return le.includes(M.toLowerCase());
5617
5617
  }
5618
- const he = {}, ve = (M) => {
5618
+ const de = {}, ve = (M) => {
5619
5619
  console.error(M);
5620
5620
  }, X = (M, ...q) => {
5621
5621
  console.log(`WARN: ${M}`, ...q);
5622
5622
  }, ce = (M, q) => {
5623
- he[`${M}/${q}`] || (console.log(`Deprecated as of ${M}. ${q}`), he[`${M}/${q}`] = !0);
5623
+ de[`${M}/${q}`] || (console.log(`Deprecated as of ${M}. ${q}`), de[`${M}/${q}`] = !0);
5624
5624
  }, Te = new Error();
5625
5625
  function Pe(M, q, { key: ee }) {
5626
5626
  let Ce = 0;
@@ -7329,7 +7329,7 @@ const F9 = { name: "mdi-openInNew", render: B9 }, q9 = { class: "chat-file-name"
7329
7329
  onClick: Gt(a, ["stop"])
7330
7330
  }, [
7331
7331
  Se(C(E9))
7332
- ])) : l.isPreviewable ? (S(), de(C(F9), {
7332
+ ])) : l.isPreviewable ? (S(), he(C(F9), {
7333
7333
  key: 1,
7334
7334
  class: "chat-file-preview"
7335
7335
  })) : ye("", !0)
@@ -7555,7 +7555,7 @@ const F9 = { name: "mdi-openInNew", render: B9 }, q9 = { class: "chat-file-name"
7555
7555
  ])
7556
7556
  ]),
7557
7557
  (W = l.value) != null && W.length && (!c.value || g.value) ? (S(), L("div", Z9, [
7558
- (S(!0), L(tt, null, xn(l.value, (oe) => (S(), de(Mm, {
7558
+ (S(!0), L(tt, null, xn(l.value, (oe) => (S(), he(Mm, {
7559
7559
  key: oe.name,
7560
7560
  file: oe,
7561
7561
  "is-removable": !0,
@@ -9483,7 +9483,7 @@ function bC(t) {
9483
9483
  k[_] = Q, R[_] = Q - z;
9484
9484
  }
9485
9485
  if (a) {
9486
- var ne, le = _ === "x" ? Xt : Yt, ae = _ === "x" ? hn : pn, se = k[w], re = w === "y" ? "height" : "width", we = se + y[le], he = se - y[ae], ve = [Xt, Yt].indexOf(b) !== -1, X = (ne = O == null ? void 0 : O[w]) != null ? ne : 0, ce = ve ? we : se - E[re] - A[re] - X + T.altAxis, Te = ve ? se + E[re] + A[re] - X - T.altAxis : he, Pe = g && ve ? Ux(ce, se, Te) : Yo(g ? ce : we, se, g ? Te : he);
9486
+ var ne, le = _ === "x" ? Xt : Yt, ae = _ === "x" ? hn : pn, se = k[w], re = w === "y" ? "height" : "width", we = se + y[le], de = se - y[ae], ve = [Xt, Yt].indexOf(b) !== -1, X = (ne = O == null ? void 0 : O[w]) != null ? ne : 0, ce = ve ? we : se - E[re] - A[re] - X + T.altAxis, Te = ve ? se + E[re] + A[re] - X - T.altAxis : de, Pe = g && ve ? Ux(ce, se, Te) : Yo(g ? ce : we, se, g ? Te : de);
9487
9487
  k[w] = Pe, R[w] = Pe - se;
9488
9488
  }
9489
9489
  e.modifiersData[o] = R;
@@ -10215,7 +10215,7 @@ const nS = st({
10215
10215
  p.value = !0, n("mouseenter", X);
10216
10216
  }, we = (X) => {
10217
10217
  n("keydown", X);
10218
- }, he = () => {
10218
+ }, de = () => {
10219
10219
  var X;
10220
10220
  (X = A.value) == null || X.select();
10221
10221
  }, ve = () => {
@@ -10236,7 +10236,7 @@ const nS = st({
10236
10236
  autosize: _n(o, "autosize"),
10237
10237
  focus: le,
10238
10238
  blur: ae,
10239
- select: he,
10239
+ select: de,
10240
10240
  clear: ve,
10241
10241
  resizeTextarea: De
10242
10242
  }), (X, ce) => Ut((S(), L("div", gt(C(i), {
@@ -10269,12 +10269,12 @@ const nS = st({
10269
10269
  class: te(C(h).e("prefix-inner"))
10270
10270
  }, [
10271
10271
  ke(X.$slots, "prefix"),
10272
- X.prefixIcon ? (S(), de(C(Zt), {
10272
+ X.prefixIcon ? (S(), he(C(Zt), {
10273
10273
  key: 0,
10274
10274
  class: te(C(h).e("icon"))
10275
10275
  }, {
10276
10276
  default: ge(() => [
10277
- (S(), de(Pt(X.prefixIcon)))
10277
+ (S(), he(Pt(X.prefixIcon)))
10278
10278
  ]),
10279
10279
  _: 1
10280
10280
  }, 8, ["class"])) : ye("v-if", !0)
@@ -10317,17 +10317,17 @@ const nS = st({
10317
10317
  }, [
10318
10318
  !C(N) || !C(Z) || !C(W) ? (S(), L(tt, { key: 0 }, [
10319
10319
  ke(X.$slots, "suffix"),
10320
- X.suffixIcon ? (S(), de(C(Zt), {
10320
+ X.suffixIcon ? (S(), he(C(Zt), {
10321
10321
  key: 0,
10322
10322
  class: te(C(h).e("icon"))
10323
10323
  }, {
10324
10324
  default: ge(() => [
10325
- (S(), de(Pt(X.suffixIcon)))
10325
+ (S(), he(Pt(X.suffixIcon)))
10326
10326
  ]),
10327
10327
  _: 1
10328
10328
  }, 8, ["class"])) : ye("v-if", !0)
10329
10329
  ], 64)) : ye("v-if", !0),
10330
- C(N) ? (S(), de(C(Zt), {
10330
+ C(N) ? (S(), he(C(Zt), {
10331
10331
  key: 1,
10332
10332
  class: te([C(h).e("icon"), C(h).e("clear")]),
10333
10333
  onMousedown: Gt(C(Nt), ["prevent"]),
@@ -10338,13 +10338,13 @@ const nS = st({
10338
10338
  ]),
10339
10339
  _: 1
10340
10340
  }, 8, ["class", "onMousedown"])) : ye("v-if", !0),
10341
- C(Z) ? (S(), de(C(Zt), {
10341
+ C(Z) ? (S(), he(C(Zt), {
10342
10342
  key: 2,
10343
10343
  class: te([C(h).e("icon"), C(h).e("password")]),
10344
10344
  onClick: ne
10345
10345
  }, {
10346
10346
  default: ge(() => [
10347
- (S(), de(Pt(C(B))))
10347
+ (S(), he(Pt(C(B))))
10348
10348
  ]),
10349
10349
  _: 1
10350
10350
  }, 8, ["class"])) : ye("v-if", !0),
@@ -10356,7 +10356,7 @@ const nS = st({
10356
10356
  class: te(C(h).e("count-inner"))
10357
10357
  }, We(C(oe)) + " / " + We(C(u).maxlength), 3)
10358
10358
  ], 2)) : ye("v-if", !0),
10359
- C(D) && C(j) && C(G) ? (S(), de(C(Zt), {
10359
+ C(D) && C(j) && C(G) ? (S(), he(C(Zt), {
10360
10360
  key: 4,
10361
10361
  class: te([
10362
10362
  C(h).e("icon"),
@@ -10365,7 +10365,7 @@ const nS = st({
10365
10365
  ])
10366
10366
  }, {
10367
10367
  default: ge(() => [
10368
- (S(), de(Pt(C(j))))
10368
+ (S(), he(Pt(C(j))))
10369
10369
  ]),
10370
10370
  _: 1
10371
10371
  }, 8, ["class"])) : ye("v-if", !0)
@@ -10501,7 +10501,7 @@ const sa = An(cS), uo = 4, uS = {
10501
10501
  const w = () => {
10502
10502
  document.onselectstart !== f && (document.onselectstart = f);
10503
10503
  };
10504
- return Zr(_n(n, "scrollbarElement"), "mousemove", p), Zr(_n(n, "scrollbarElement"), "mouseleave", _), (k, E) => (S(), de(Sr, {
10504
+ return Zr(_n(n, "scrollbarElement"), "mousemove", p), Zr(_n(n, "scrollbarElement"), "mouseleave", _), (k, E) => (S(), he(Sr, {
10505
10505
  name: C(o).b("fade"),
10506
10506
  persisted: ""
10507
10507
  }, {
@@ -10693,7 +10693,7 @@ const bS = st({
10693
10693
  style: it(C(h)),
10694
10694
  onScroll: v
10695
10695
  }, [
10696
- (S(), de(Pt(E.tag), {
10696
+ (S(), he(Pt(E.tag), {
10697
10697
  id: E.id,
10698
10698
  ref_key: "resizeRef",
10699
10699
  ref: u,
@@ -10709,7 +10709,7 @@ const bS = st({
10709
10709
  _: 3
10710
10710
  }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
10711
10711
  ], 38),
10712
- E.native ? ye("v-if", !0) : (S(), de(vS, {
10712
+ E.native ? ye("v-if", !0) : (S(), he(vS, {
10713
10713
  key: 0,
10714
10714
  ref_key: "barRef",
10715
10715
  ref: m,
@@ -10915,7 +10915,7 @@ const Sv = st({
10915
10915
  u == null || u(), u = void 0;
10916
10916
  }), e({
10917
10917
  triggerRef: s
10918
- }), (f, c) => f.virtualTriggering ? ye("v-if", !0) : (S(), de(C(RS), gt({ key: 0 }, f.$attrs, {
10918
+ }), (f, c) => f.virtualTriggering ? ye("v-if", !0) : (S(), he(C(RS), gt({ key: 0 }, f.$attrs, {
10919
10919
  "aria-controls": C(r),
10920
10920
  "aria-describedby": C(i),
10921
10921
  "aria-expanded": C(l),
@@ -11542,7 +11542,7 @@ const uE = An(TS), ff = Symbol("elTooltip"), nn = st({
11542
11542
  });
11543
11543
  return e({
11544
11544
  triggerRef: f
11545
- }), (_, w) => (S(), de(C(NS), {
11545
+ }), (_, w) => (S(), he(C(NS), {
11546
11546
  id: C(r),
11547
11547
  "virtual-ref": _.virtualRef,
11548
11548
  open: C(i),
@@ -11625,7 +11625,7 @@ const _E = /* @__PURE__ */ ie({
11625
11625
  (F = (z = r.value) == null ? void 0 : z.updatePopper) == null || F.call(z);
11626
11626
  }), e({
11627
11627
  contentRef: r
11628
- }), (z, F) => (S(), de(B8, {
11628
+ }), (z, F) => (S(), he(B8, {
11629
11629
  disabled: !z.teleported,
11630
11630
  to: C(w)
11631
11631
  }, [
@@ -11637,7 +11637,7 @@ const _E = /* @__PURE__ */ ie({
11637
11637
  onBeforeLeave: G
11638
11638
  }, {
11639
11639
  default: ge(() => [
11640
- C(p) ? Ut((S(), de(C(cE), gt({
11640
+ C(p) ? Ut((S(), he(C(cE), gt({
11641
11641
  key: 0,
11642
11642
  id: C(l),
11643
11643
  ref_key: "contentRef",
@@ -11746,7 +11746,7 @@ const xE = ["innerHTML"], CE = { key: 1 }, SE = /* @__PURE__ */ ie({
11746
11746
  onOpen: g,
11747
11747
  onClose: d,
11748
11748
  hide: c
11749
- }), (b, v) => (S(), de(C(uE), {
11749
+ }), (b, v) => (S(), he(C(uE), {
11750
11750
  ref_key: "popperRef",
11751
11751
  ref: r,
11752
11752
  role: b.role
@@ -11801,7 +11801,7 @@ const xE = ["innerHTML"], CE = { key: 1 }, SE = /* @__PURE__ */ ie({
11801
11801
  innerHTML: b.content
11802
11802
  }, null, 8, xE)) : (S(), L("span", CE, We(b.content), 1))
11803
11803
  ]),
11804
- b.showArrow ? (S(), de(C($S), {
11804
+ b.showArrow ? (S(), he(C($S), {
11805
11805
  key: 0,
11806
11806
  "arrow-offset": b.arrowOffset
11807
11807
  }, null, 8, ["arrow-offset"])) : ye("v-if", !0)
@@ -12469,7 +12469,7 @@ const KE = /* @__PURE__ */ ie({
12469
12469
  type: l,
12470
12470
  disabled: u,
12471
12471
  shouldAddSpace: c
12472
- }), (g, d) => (S(), de(Pt(g.tag), gt({
12472
+ }), (g, d) => (S(), he(Pt(g.tag), gt({
12473
12473
  ref_key: "_ref",
12474
12474
  ref: i
12475
12475
  }, C(f), {
@@ -12491,18 +12491,18 @@ const KE = /* @__PURE__ */ ie({
12491
12491
  }), {
12492
12492
  default: ge(() => [
12493
12493
  g.loading ? (S(), L(tt, { key: 0 }, [
12494
- g.$slots.loading ? ke(g.$slots, "loading", { key: 0 }) : (S(), de(C(Zt), {
12494
+ g.$slots.loading ? ke(g.$slots, "loading", { key: 0 }) : (S(), he(C(Zt), {
12495
12495
  key: 1,
12496
12496
  class: te(C(r).is("loading"))
12497
12497
  }, {
12498
12498
  default: ge(() => [
12499
- (S(), de(Pt(g.loadingIcon)))
12499
+ (S(), he(Pt(g.loadingIcon)))
12500
12500
  ]),
12501
12501
  _: 1
12502
12502
  }, 8, ["class"]))
12503
- ], 64)) : g.icon || g.$slots.icon ? (S(), de(C(Zt), { key: 1 }, {
12503
+ ], 64)) : g.icon || g.$slots.icon ? (S(), he(C(Zt), { key: 1 }, {
12504
12504
  default: ge(() => [
12505
- g.icon ? (S(), de(Pt(g.icon), { key: 0 })) : ke(g.$slots, "icon", { key: 1 })
12505
+ g.icon ? (S(), he(Pt(g.icon), { key: 0 })) : ke(g.$slots, "icon", { key: 1 })
12506
12506
  ]),
12507
12507
  _: 3
12508
12508
  })) : ye("v-if", !0),
@@ -12638,7 +12638,7 @@ const $v = {
12638
12638
  }, [
12639
12639
  ke(l.$slots, "default")
12640
12640
  ], 2),
12641
- l.closable ? (S(), de(C(Zt), {
12641
+ l.closable ? (S(), he(C(Zt), {
12642
12642
  key: 0,
12643
12643
  class: te(C(s).e("close")),
12644
12644
  onClick: Gt(i, ["stop"])
@@ -12648,7 +12648,7 @@ const $v = {
12648
12648
  ]),
12649
12649
  _: 1
12650
12650
  }, 8, ["class", "onClick"])) : ye("v-if", !0)
12651
- ], 6)) : (S(), de(Sr, {
12651
+ ], 6)) : (S(), he(Sr, {
12652
12652
  key: 1,
12653
12653
  name: `${C(s).namespace.value}-zoom-in-center`,
12654
12654
  appear: ""
@@ -12664,7 +12664,7 @@ const $v = {
12664
12664
  }, [
12665
12665
  ke(l.$slots, "default")
12666
12666
  ], 2),
12667
- l.closable ? (S(), de(C(Zt), {
12667
+ l.closable ? (S(), he(C(Zt), {
12668
12668
  key: 0,
12669
12669
  class: te(C(s).e("close")),
12670
12670
  onClick: Gt(i, ["stop"])
@@ -13383,7 +13383,7 @@ const AA = ["onKeydown"], TA = ["id", "aria-label", "aria-labelledby", "aria-des
13383
13383
  hide: K,
13384
13384
  focus: De,
13385
13385
  blur: Ke
13386
- }), (fe, xe) => (S(), de(C(gs), {
13386
+ }), (fe, xe) => (S(), he(C(gs), {
13387
13387
  ref_key: "popper",
13388
13388
  ref: d,
13389
13389
  visible: E.value,
@@ -13419,13 +13419,13 @@ const AA = ["onKeydown"], TA = ["id", "aria-label", "aria-labelledby", "aria-des
13419
13419
  color: C(k)
13420
13420
  }, null, 8, ["color"])
13421
13421
  ], 2),
13422
- fe.showAlpha ? (S(), de(cA, {
13422
+ fe.showAlpha ? (S(), he(cA, {
13423
13423
  key: 0,
13424
13424
  ref_key: "alpha",
13425
13425
  ref: g,
13426
13426
  color: C(k)
13427
13427
  }, null, 8, ["color"])) : ye("v-if", !0),
13428
- fe.predefine ? (S(), de(wA, {
13428
+ fe.predefine ? (S(), he(wA, {
13429
13429
  key: 1,
13430
13430
  ref: "predefine",
13431
13431
  color: C(k),
@@ -13706,9 +13706,9 @@ const Ov = Symbol("elPaginationKey"), qA = st({
13706
13706
  "aria-disabled": C(o),
13707
13707
  onClick: r[0] || (r[0] = (i) => s.$emit("click", i))
13708
13708
  }, [
13709
- s.prevText ? (S(), L("span", VA, We(s.prevText), 1)) : (S(), de(C(Zt), { key: 1 }, {
13709
+ s.prevText ? (S(), L("span", VA, We(s.prevText), 1)) : (S(), he(C(Zt), { key: 1 }, {
13710
13710
  default: ge(() => [
13711
- (S(), de(Pt(s.prevIcon)))
13711
+ (S(), he(Pt(s.prevIcon)))
13712
13712
  ]),
13713
13713
  _: 1
13714
13714
  }))
@@ -13748,9 +13748,9 @@ const WA = st({
13748
13748
  "aria-disabled": C(o),
13749
13749
  onClick: r[0] || (r[0] = (i) => s.$emit("click", i))
13750
13750
  }, [
13751
- s.nextText ? (S(), L("span", XA, We(s.nextText), 1)) : (S(), de(C(Zt), { key: 1 }, {
13751
+ s.nextText ? (S(), L("span", XA, We(s.nextText), 1)) : (S(), he(C(Zt), { key: 1 }, {
13752
13752
  default: ge(() => [
13753
- (S(), de(Pt(s.nextIcon)))
13753
+ (S(), he(Pt(s.nextIcon)))
13754
13754
  ]),
13755
13755
  _: 1
13756
13756
  }))
@@ -14161,7 +14161,7 @@ const lT = (t, e, n) => {
14161
14161
  const M = xe(e.selected.map((ee) => ee.value)), q = e.selected[M];
14162
14162
  if (q)
14163
14163
  return V === !0 || V === !1 ? (q.hitState = V, V) : (q.hitState = !q.hitState, q.hitState);
14164
- }, he = (V) => {
14164
+ }, de = (V) => {
14165
14165
  const M = V.target.value;
14166
14166
  if (V.type === "compositionend")
14167
14167
  e.isOnComposition = !1, Ue(() => K(M));
@@ -14239,7 +14239,7 @@ const lT = (t, e, n) => {
14239
14239
  emptyText: O,
14240
14240
  toggleLastOptionHitState: we,
14241
14241
  resetInputState: re,
14242
- handleComposition: he,
14242
+ handleComposition: de,
14243
14243
  onOptionCreate: ae,
14244
14244
  onOptionDestroy: se,
14245
14245
  handleMenuEnter: ve,
@@ -14473,7 +14473,7 @@ const F1 = "ElSelect", uT = /* @__PURE__ */ ie({
14473
14473
  scrollbar: se,
14474
14474
  queryChange: re,
14475
14475
  groupQueryChange: we,
14476
- handleMouseEnter: he,
14476
+ handleMouseEnter: de,
14477
14477
  handleMouseLeave: ve,
14478
14478
  showTagList: X,
14479
14479
  collapseTagList: ce,
@@ -14622,7 +14622,7 @@ const F1 = "ElSelect", uT = /* @__PURE__ */ ie({
14622
14622
  nsSelect: n,
14623
14623
  tagTextStyle: be,
14624
14624
  inputStyle: pe,
14625
- handleMouseEnter: he,
14625
+ handleMouseEnter: de,
14626
14626
  handleMouseLeave: ve,
14627
14627
  showTagList: X,
14628
14628
  collapseTagList: ce,
@@ -14674,7 +14674,7 @@ function pT(t, e, n, o, s, r) {
14674
14674
  style: it(t.selectTagsStyle),
14675
14675
  onClick: e[15] || (e[15] = (...b) => t.focus && t.focus(...b))
14676
14676
  }, [
14677
- t.collapseTags && t.selected.length ? (S(), de(Sr, {
14677
+ t.collapseTags && t.selected.length ? (S(), he(Sr, {
14678
14678
  key: 0,
14679
14679
  onAfterLeave: t.resetInputHeight
14680
14680
  }, {
@@ -14682,7 +14682,7 @@ function pT(t, e, n, o, s, r) {
14682
14682
  x("span", {
14683
14683
  class: te(t.tagWrapperKls)
14684
14684
  }, [
14685
- (S(!0), L(tt, null, xn(t.showTagList, (b) => (S(), de(i, {
14685
+ (S(!0), L(tt, null, xn(t.showTagList, (b) => (S(), he(i, {
14686
14686
  key: t.getValueKey(b),
14687
14687
  closable: !t.selectDisabled && !b.isDisabled,
14688
14688
  size: t.collapseTagSize,
@@ -14699,7 +14699,7 @@ function pT(t, e, n, o, s, r) {
14699
14699
  ]),
14700
14700
  _: 2
14701
14701
  }, 1032, ["closable", "size", "hit", "type", "onClose"]))), 128)),
14702
- t.selected.length > t.maxCollapseTags ? (S(), de(i, {
14702
+ t.selected.length > t.maxCollapseTags ? (S(), he(i, {
14703
14703
  key: 0,
14704
14704
  closable: !1,
14705
14705
  size: t.collapseTagSize,
@@ -14707,7 +14707,7 @@ function pT(t, e, n, o, s, r) {
14707
14707
  "disable-transitions": ""
14708
14708
  }, {
14709
14709
  default: ge(() => [
14710
- t.collapseTagsTooltip ? (S(), de(a, {
14710
+ t.collapseTagsTooltip ? (S(), he(a, {
14711
14711
  key: 0,
14712
14712
  ref: "tagTooltipRef",
14713
14713
  disabled: t.dropMenuVisible,
@@ -14764,7 +14764,7 @@ function pT(t, e, n, o, s, r) {
14764
14764
  ]),
14765
14765
  _: 1
14766
14766
  }, 8, ["onAfterLeave"])) : ye("v-if", !0),
14767
- t.collapseTags ? ye("v-if", !0) : (S(), de(Sr, {
14767
+ t.collapseTags ? ye("v-if", !0) : (S(), he(Sr, {
14768
14768
  key: 1,
14769
14769
  onAfterLeave: t.resetInputHeight
14770
14770
  }, {
@@ -14773,7 +14773,7 @@ function pT(t, e, n, o, s, r) {
14773
14773
  class: te(t.tagWrapperKls),
14774
14774
  style: it(t.prefixWidth && t.selected.length ? { marginLeft: `${t.prefixWidth}px` } : "")
14775
14775
  }, [
14776
- (S(!0), L(tt, null, xn(t.selected, (b) => (S(), de(i, {
14776
+ (S(!0), L(tt, null, xn(t.selected, (b) => (S(), he(i, {
14777
14777
  key: t.getValueKey(b),
14778
14778
  closable: !t.selectDisabled && !b.isDisabled,
14779
14779
  size: t.collapseTagSize,
@@ -14875,22 +14875,22 @@ function pT(t, e, n, o, s, r) {
14875
14875
  ]
14876
14876
  }, vi({
14877
14877
  suffix: ge(() => [
14878
- t.iconComponent && !t.showClose ? (S(), de(l, {
14878
+ t.iconComponent && !t.showClose ? (S(), he(l, {
14879
14879
  key: 0,
14880
14880
  class: te([t.nsSelect.e("caret"), t.nsSelect.e("icon"), t.iconReverse])
14881
14881
  }, {
14882
14882
  default: ge(() => [
14883
- (S(), de(Pt(t.iconComponent)))
14883
+ (S(), he(Pt(t.iconComponent)))
14884
14884
  ]),
14885
14885
  _: 1
14886
14886
  }, 8, ["class"])) : ye("v-if", !0),
14887
- t.showClose && t.clearIcon ? (S(), de(l, {
14887
+ t.showClose && t.clearIcon ? (S(), he(l, {
14888
14888
  key: 1,
14889
14889
  class: te([t.nsSelect.e("caret"), t.nsSelect.e("icon")]),
14890
14890
  onClick: t.handleClearClick
14891
14891
  }, {
14892
14892
  default: ge(() => [
14893
- (S(), de(Pt(t.clearIcon)))
14893
+ (S(), he(Pt(t.clearIcon)))
14894
14894
  ]),
14895
14895
  _: 1
14896
14896
  }, 8, ["class", "onClick"])) : ye("v-if", !0)
@@ -14924,7 +14924,7 @@ function pT(t, e, n, o, s, r) {
14924
14924
  "aria-orientation": "vertical"
14925
14925
  }, {
14926
14926
  default: ge(() => [
14927
- t.showNewOption ? (S(), de(f, {
14927
+ t.showNewOption ? (S(), he(f, {
14928
14928
  key: 0,
14929
14929
  value: t.query,
14930
14930
  created: !0
@@ -15077,7 +15077,7 @@ const hf = () => He(Ov, {}), yT = st({
15077
15077
  onChange: l
15078
15078
  }, {
15079
15079
  default: ge(() => [
15080
- (S(!0), L(tt, null, xn(C(a), (c) => (S(), de(C(bT), {
15080
+ (S(!0), L(tt, null, xn(C(a), (c) => (S(), he(C(bT), {
15081
15081
  key: c,
15082
15082
  value: c,
15083
15083
  label: c + C(o)("el.pagination.pagesize")
@@ -15260,7 +15260,7 @@ const RT = st({
15260
15260
  onFocus: w[2] || (w[2] = (k) => b(!0)),
15261
15261
  onBlur: w[3] || (w[3] = (k) => f.value = !1)
15262
15262
  }, [
15263
- (l.value || f.value) && !_.disabled ? (S(), de(C(nx), { key: 0 })) : (S(), de(C(r1), { key: 1 }))
15263
+ (l.value || f.value) && !_.disabled ? (S(), he(C(nx), { key: 0 })) : (S(), he(C(r1), { key: 1 }))
15264
15264
  ], 42, NT)) : ye("v-if", !0),
15265
15265
  (S(!0), L(tt, null, xn(C(m), (k) => (S(), L("li", {
15266
15266
  key: k,
@@ -15282,7 +15282,7 @@ const RT = st({
15282
15282
  onFocus: w[6] || (w[6] = (k) => b()),
15283
15283
  onBlur: w[7] || (w[7] = (k) => c.value = !1)
15284
15284
  }, [
15285
- (u.value || c.value) && !_.disabled ? (S(), de(C(ox), { key: 0 })) : (S(), de(C(r1), { key: 1 }))
15285
+ (u.value || c.value) && !_.disabled ? (S(), he(C(ox), { key: 0 })) : (S(), he(C(r1), { key: 1 }))
15286
15286
  ], 42, zT)) : ye("v-if", !0),
15287
15287
  _.pageCount > 1 ? (S(), L("li", {
15288
15288
  key: 3,
@@ -15565,7 +15565,7 @@ const UT = An(VT), zv = st({
15565
15565
  return e({
15566
15566
  popperRef: a,
15567
15567
  hide: c
15568
- }), (y, b) => (S(), de(C(gs), gt({
15568
+ }), (y, b) => (S(), he(C(gs), gt({
15569
15569
  ref_key: "tooltipRef",
15570
15570
  ref: i
15571
15571
  }, y.$attrs, {
@@ -19416,7 +19416,7 @@ const q6 = { name: "lucide-zoom-out", render: FP }, j1 = {
19416
19416
  const a = {};
19417
19417
  return e.color && (a.color = `var(--color-${e.color})`), e.strokeWidth && (a["--n8n-icon-stroke-width"] = `${e.strokeWidth}px`), a;
19418
19418
  });
19419
- return (a, l) => C(V1)[a.icon] ?? C(j1)[a.icon] ? (S(), de(Pt(
19419
+ return (a, l) => C(V1)[a.icon] ?? C(j1)[a.icon] ? (S(), he(Pt(
19420
19420
  C(V1)[a.icon] ?? C(j1)[a.icon]
19421
19421
  ), {
19422
19422
  key: 0,
@@ -19452,7 +19452,7 @@ const q6 = { name: "lucide-zoom-out", render: FP }, j1 = {
19452
19452
  x("div", null, null, -1),
19453
19453
  x("div", null, null, -1),
19454
19454
  x("div", null, null, -1)
19455
- ]))) : (S(), de(C(pf), {
19455
+ ]))) : (S(), he(C(pf), {
19456
19456
  key: 1,
19457
19457
  icon: "spinner",
19458
19458
  size: e.size,
@@ -19489,7 +19489,7 @@ const q6 = { name: "lucide-zoom-out", render: FP }, j1 = {
19489
19489
  const s = H(() => o.loading ? "true" : void 0), r = H(() => o.disabled ? "true" : void 0), i = H(() => o.disabled || o.loading), a = H(
19490
19490
  () => o.iconSize ?? (o.size === "xmini" || o.size === "mini" ? "xsmall" : o.size)
19491
19491
  ), l = H(() => `button ${e.button} ${e[o.type]}${o.size ? ` ${e[o.size]}` : ""}${o.outline ? ` ${e.outline}` : ""}${o.loading ? ` ${e.loading}` : ""}${o.float ? ` ${e[`float-${o.float}`]}` : ""}${o.text ? ` ${e.text}` : ""}${o.disabled ? ` ${e.disabled}` : ""}${o.block ? ` ${e.block}` : ""}${o.active ? ` ${e.active}` : ""}${o.icon || o.loading ? ` ${e.withIcon}` : ""}${o.square ? ` ${e.square}` : ""}`);
19492
- return (u, f) => (S(), de(Pt(u.element), gt({
19492
+ return (u, f) => (S(), he(Pt(u.element), gt({
19493
19493
  class: l.value,
19494
19494
  disabled: i.value,
19495
19495
  "aria-disabled": r.value,
@@ -19505,10 +19505,10 @@ const q6 = { name: "lucide-zoom-out", render: FP }, j1 = {
19505
19505
  key: 0,
19506
19506
  class: te(C(e).icon)
19507
19507
  }, [
19508
- u.loading ? (S(), de(C(WP), {
19508
+ u.loading ? (S(), he(C(WP), {
19509
19509
  key: 0,
19510
19510
  size: a.value
19511
- }, null, 8, ["size"])) : u.icon ? (S(), de(C(pf), {
19511
+ }, null, 8, ["size"])) : u.icon ? (S(), he(C(pf), {
19512
19512
  key: 1,
19513
19513
  icon: u.icon,
19514
19514
  size: a.value
@@ -19568,7 +19568,7 @@ const CN = /* @__PURE__ */ ie({
19568
19568
  const s = [];
19569
19569
  return e.align && s.push(`align-${e.align}`), e.color && s.push(e.color), e.compact && s.push("compact"), s.push(`size-${e.size}`), s.push(e.bold ? "bold" : "regular"), s.map((r) => n[r]);
19570
19570
  });
19571
- return (s, r) => (S(), de(Pt(s.tag), gt({
19571
+ return (s, r) => (S(), he(Pt(s.tag), gt({
19572
19572
  class: ["n8n-text", ...o.value]
19573
19573
  }, s.$attrs), {
19574
19574
  default: ge(() => [
@@ -19646,7 +19646,7 @@ const DN = /* @__PURE__ */ ie({
19646
19646
  }, select: () => {
19647
19647
  var f;
19648
19648
  return (f = i.value) == null ? void 0 : f.select();
19649
- } }), (f, c) => (S(), de(C(sa), gt({
19649
+ } }), (f, c) => (S(), he(C(sa), gt({
19650
19650
  ref_key: "innerInput",
19651
19651
  ref: r,
19652
19652
  "model-value": f.modelValue,
@@ -32442,7 +32442,7 @@ $$$$`), d = d.replace(/\$\$(.*?)\$\$/gs, (h, y) => `$\\displaystyle ${y.replace(
32442
32442
  ke(d.$slots, "beforeMessage", fi(Ou({ message: C(o) })))
32443
32443
  ])) : ye("", !0),
32444
32444
  ke(d.$slots, "default", {}, () => [
32445
- C(o).type === "component" && m[C(o).key] ? (S(), de(Pt(m[C(o).key]), fi(gt({ key: 0 }, C(o).arguments)), null, 16)) : (S(), de(C(d8e), {
32445
+ C(o).type === "component" && m[C(o).key] ? (S(), he(Pt(m[C(o).key]), fi(gt({ key: 0 }, C(o).arguments)), null, 16)) : (S(), he(C(d8e), {
32446
32446
  key: 1,
32447
32447
  class: "chat-message-markdown",
32448
32448
  source: a.value,
@@ -32519,11 +32519,11 @@ const _8e = { name: "mdi-chevron-down", render: y8e }, w8e = { class: "chat-wind
32519
32519
  mode: "out-in"
32520
32520
  }, {
32521
32521
  default: ge(() => [
32522
- e.value ? (S(), de(C(_8e), {
32522
+ e.value ? (S(), he(C(_8e), {
32523
32523
  key: 1,
32524
32524
  height: "32",
32525
32525
  width: "32"
32526
- })) : (S(), de(C(v8e), {
32526
+ })) : (S(), he(C(v8e), {
32527
32527
  key: 0,
32528
32528
  height: "32",
32529
32529
  width: "32"
@@ -32552,7 +32552,7 @@ const _8e = { name: "mdi-chevron-down", render: y8e }, w8e = { class: "chat-wind
32552
32552
  return at(() => {
32553
32553
  var r;
32554
32554
  (r = o.value) == null || r.scrollToView();
32555
- }), (r, i) => (S(), de(C(pu), {
32555
+ }), (r, i) => (S(), he(C(pu), {
32556
32556
  ref_key: "messageContainer",
32557
32557
  ref: o,
32558
32558
  class: te(s.value),
@@ -32611,11 +32611,11 @@ const _8e = { name: "mdi-chevron-down", render: y8e }, w8e = { class: "chat-wind
32611
32611
  })
32612
32612
  ])
32613
32613
  ])) : (S(), L("div", A8e, [
32614
- (S(!0), L(tt, null, xn(C(o), (a) => (S(), de(pu, {
32614
+ (S(!0), L(tt, null, xn(C(o), (a) => (S(), he(pu, {
32615
32615
  key: a.id,
32616
32616
  message: a
32617
32617
  }, null, 8, ["message"]))), 128)),
32618
- (S(!0), L(tt, null, xn(r.messages, (a) => (S(), de(pu, {
32618
+ (S(!0), L(tt, null, xn(r.messages, (a) => (S(), he(pu, {
32619
32619
  key: a.id,
32620
32620
  ref_for: !0,
32621
32621
  ref_key: "messageComponents",
@@ -32627,10 +32627,10 @@ const _8e = { name: "mdi-chevron-down", render: y8e }, w8e = { class: "chat-wind
32627
32627
  ]),
32628
32628
  _: 2
32629
32629
  }, 1032, ["message"]))), 128)),
32630
- C(s) ? (S(), de(C8e, { key: 0 })) : ye("", !0)
32630
+ C(s) ? (S(), he(C8e, { key: 0 })) : ye("", !0)
32631
32631
  ]));
32632
32632
  }
32633
- }), M8e = { class: "chat-heading" }, L8e = { class: "chat-new-chat-sticky-wrapper" }, $8e = { class: "chat-confirm-dialog" }, I8e = { class: "chat-confirm-buttons" }, Eb = /* @__PURE__ */ ie({
32633
+ }), M8e = { class: "chat-container" }, L8e = { class: "chat-heading" }, $8e = { class: "chat-new-chat-sticky-wrapper" }, I8e = { class: "chat-confirm-dialog" }, R8e = { class: "chat-confirm-buttons" }, Eb = /* @__PURE__ */ ie({
32634
32634
  __name: "Chat",
32635
32635
  setup(t) {
32636
32636
  const { t: e } = Ki(), n = zu(), { messages: o, currentSessionId: s } = n, { options: r } = _s(), i = J(!1), a = H(() => o.value.some((c) => c.sender === "user"));
@@ -32653,112 +32653,114 @@ const _8e = { name: "mdi-chevron-down", render: y8e }, w8e = { class: "chat-wind
32653
32653
  await u(), !r.showWelcomeScreen && !s.value && await l();
32654
32654
  }), (c, m) => {
32655
32655
  const g = t9;
32656
- return S(), de(t_, { class: "chat-wrapper" }, {
32657
- header: ge(() => [
32658
- x("div", M8e, [
32659
- x("h1", null, We(C(e)("title")), 1),
32660
- m[3] || (m[3] = x("img", {
32661
- src: "https://learning-matildex.skillnest.com/assets/img/chat-matildex-background.png",
32662
- alt: "MatildeX",
32663
- class: "chat-header-logo"
32664
- }, null, -1))
32665
- ])
32666
- ]),
32667
- footer: ge(() => [
32668
- C(s) ? (S(), de(Y9, { key: 0 })) : (S(), de(g, { key: 1 }))
32669
- ]),
32670
- default: ge(() => [
32671
- x("div", L8e, [
32672
- a.value ? (S(), L("button", {
32673
- key: 0,
32674
- class: "chat-new-chat-floating-button",
32675
- onClick: m[0] || (m[0] = (d) => i.value = !0)
32676
- }, [
32677
- Se(C(o9), {
32678
- height: "16",
32679
- width: "16"
32680
- }),
32681
- x("span", null, We(C(e)("newChatButtonText") || "Nuevo Chat"), 1)
32682
- ])) : ye("", !0)
32683
- ]),
32684
- m[4] || (m[4] = x("div", { class: "profile-card" }, [
32685
- x("img", {
32686
- src: "https://learning-matildex.skillnest.com/assets/img/chat-matildex-background.png",
32687
- alt: "MatildeX",
32688
- class: "avatar"
32689
- }),
32690
- x("h3", null, "MatildeX"),
32691
- x("p", { class: "by" }, [
32692
- Nn("Por "),
32693
- x("a", { href: "https://skillnest.com" }, "skillnest.com")
32694
- ]),
32695
- x("p", { class: "description" }, " Asistente de Skillnest que guía a los estudiantes en su aprendizaje y desarrollo en la plataforma. "),
32696
- x("p", {
32697
- class: "terms",
32698
- style: { "text-align": "center", "margin-top": "10px", "font-size": "11px", color: "#666" }
32699
- }, [
32700
- Nn(" Si continúas la interacción en este chat, aceptas los "),
32701
- x("a", {
32702
- href: "https://www.skillnest.com/terminos-y-condiciones",
32703
- target: "_blank",
32704
- style: { color: "inherit", "text-decoration": "underline" }
32705
- }, "Términos y Condiciones"),
32706
- Nn(" de uso para Matildex - Skillnest ")
32656
+ return S(), L("div", M8e, [
32657
+ Se(t_, { class: "chat-wrapper" }, {
32658
+ header: ge(() => [
32659
+ x("div", L8e, [
32660
+ x("h1", null, We(C(e)("title")), 1),
32661
+ m[3] || (m[3] = x("img", {
32662
+ src: "https://learning-matildex.skillnest.com/assets/img/chat-matildex-background.png",
32663
+ alt: "MatildeX",
32664
+ class: "chat-header-logo"
32665
+ }, null, -1))
32707
32666
  ])
32708
- ], -1)),
32709
- !C(s) && C(r).showWelcomeScreen ? (S(), de(u9, {
32710
- key: 0,
32711
- "onClick:button": l
32712
- })) : (S(), de(T8e, {
32713
- key: 1,
32714
- messages: C(o)
32715
- }, null, 8, ["messages"])),
32716
- Se(Sr, { name: "fade" }, {
32717
- default: ge(() => [
32718
- i.value ? (S(), L("div", {
32667
+ ]),
32668
+ footer: ge(() => [
32669
+ C(s) ? (S(), he(Y9, { key: 0 })) : (S(), he(g, { key: 1 }))
32670
+ ]),
32671
+ default: ge(() => [
32672
+ x("div", $8e, [
32673
+ a.value ? (S(), L("button", {
32719
32674
  key: 0,
32720
- class: "chat-confirm-overlay",
32721
- onClick: m[2] || (m[2] = Gt((d) => i.value = !1, ["self"]))
32675
+ class: te(["chat-new-chat-floating-button", { "is-active": i.value }]),
32676
+ onClick: m[0] || (m[0] = (d) => i.value = !0)
32722
32677
  }, [
32723
- x("div", $8e, [
32724
- x("p", null, We(C(e)("newChatConfirmation") || "¿Deseas iniciar un nuevo chat? El historial actual se borrará."), 1),
32725
- x("div", I8e, [
32726
- x("button", {
32727
- class: "chat-confirm-btn cancel",
32728
- onClick: m[1] || (m[1] = (d) => i.value = !1)
32729
- }, We(C(e)("cancel") || "Cancelar"), 1),
32730
- x("button", {
32731
- class: "chat-confirm-btn confirm",
32732
- onClick: f
32733
- }, We(C(e)("confirm") || "Confirmar"), 1)
32734
- ])
32735
- ])
32736
- ])) : ye("", !0)
32678
+ Se(C(o9), {
32679
+ height: "16",
32680
+ width: "16"
32681
+ }),
32682
+ x("span", null, We(C(e)("newChatButtonText") || "Nuevo Chat"), 1)
32683
+ ], 2)) : ye("", !0)
32737
32684
  ]),
32738
- _: 1
32739
- })
32740
- ]),
32741
- _: 1
32742
- });
32685
+ m[4] || (m[4] = x("div", { class: "profile-card" }, [
32686
+ x("img", {
32687
+ src: "https://learning-matildex.skillnest.com/assets/img/chat-matildex-background.png",
32688
+ alt: "MatildeX",
32689
+ class: "avatar"
32690
+ }),
32691
+ x("h3", null, "MatildeX"),
32692
+ x("p", { class: "by" }, [
32693
+ Nn("Por "),
32694
+ x("a", { href: "https://skillnest.com" }, "skillnest.com")
32695
+ ]),
32696
+ x("p", { class: "description" }, " Asistente de Skillnest que guía a los estudiantes en su aprendizaje y desarrollo en la plataforma. "),
32697
+ x("p", {
32698
+ class: "terms",
32699
+ style: { "text-align": "center", "margin-top": "10px", "font-size": "11px", color: "#666" }
32700
+ }, [
32701
+ Nn(" Si continúas la interacción en este chat, aceptas los "),
32702
+ x("a", {
32703
+ href: "https://www.skillnest.com/terminos-y-condiciones",
32704
+ target: "_blank",
32705
+ style: { color: "inherit", "text-decoration": "underline" }
32706
+ }, "Términos y Condiciones"),
32707
+ Nn(" de uso para Matildex - Skillnest ")
32708
+ ])
32709
+ ], -1)),
32710
+ !C(s) && C(r).showWelcomeScreen ? (S(), he(u9, {
32711
+ key: 0,
32712
+ "onClick:button": l
32713
+ })) : (S(), he(T8e, {
32714
+ key: 1,
32715
+ messages: C(o)
32716
+ }, null, 8, ["messages"]))
32717
+ ]),
32718
+ _: 1
32719
+ }),
32720
+ Se(Sr, { name: "fade" }, {
32721
+ default: ge(() => [
32722
+ i.value ? (S(), L("div", {
32723
+ key: 0,
32724
+ class: "chat-confirm-overlay",
32725
+ onClick: m[2] || (m[2] = Gt((d) => i.value = !1, ["self"]))
32726
+ }, [
32727
+ x("div", I8e, [
32728
+ x("p", null, We(C(e)("newChatConfirmation") || "¿Deseas iniciar un nuevo chat? El historial actual se borrará."), 1),
32729
+ x("div", R8e, [
32730
+ x("button", {
32731
+ class: "chat-confirm-btn cancel",
32732
+ onClick: m[1] || (m[1] = (d) => i.value = !1)
32733
+ }, We(C(e)("cancel") || "Cancelar"), 1),
32734
+ x("button", {
32735
+ class: "chat-confirm-btn confirm",
32736
+ onClick: f
32737
+ }, We(C(e)("confirm") || "Confirmar"), 1)
32738
+ ])
32739
+ ])
32740
+ ])) : ye("", !0)
32741
+ ]),
32742
+ _: 1
32743
+ })
32744
+ ]);
32743
32745
  };
32744
32746
  }
32745
- }), R8e = /* @__PURE__ */ ie({
32747
+ }), O8e = /* @__PURE__ */ ie({
32746
32748
  __name: "App",
32747
32749
  props: {},
32748
32750
  setup(t) {
32749
32751
  const { options: e } = _s(), n = H(() => e.mode === "fullscreen");
32750
32752
  return at(() => {
32751
32753
  Un.registerLanguage("xml", Tm), Un.registerLanguage("javascript", Am);
32752
- }), (o, s) => n.value ? (S(), de(Eb, {
32754
+ }), (o, s) => n.value ? (S(), he(Eb, {
32753
32755
  key: 0,
32754
32756
  class: "n8n-chat"
32755
- })) : (S(), de(x8e, {
32757
+ })) : (S(), he(x8e, {
32756
32758
  key: 1,
32757
32759
  class: "n8n-chat"
32758
32760
  }));
32759
32761
  }
32760
32762
  });
32761
- function P8e(t) {
32763
+ function N8e(t) {
32762
32764
  var s, r;
32763
32765
  const e = {
32764
32766
  ...No,
@@ -32781,9 +32783,9 @@ function P8e(t) {
32781
32783
  }
32782
32784
  }, n = e.target ?? gy;
32783
32785
  typeof n == "string" && Ly(n);
32784
- const o = dy(R8e);
32786
+ const o = dy(O8e);
32785
32787
  return o.use(Hy, e), o.mount(n), o;
32786
32788
  }
32787
32789
  export {
32788
- P8e as createChat
32790
+ N8e as createChat
32789
32791
  };