@ovalbee/flow-viewer 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,9 @@ Read-only Vue components for displaying OvalBee workflow graphs.
5
5
  ## Components
6
6
 
7
7
  - `FlowPreview` renders a lightweight SVG preview suitable for cards.
8
- - `FlowViewer` renders an interactive graph with pan, zoom, controls, and a minimap.
8
+ - `FlowViewer` renders an interactive graph with drag-to-pan, pinch/button zoom, controls, and a
9
+ minimap. Wheel panning is opt-in through `panOnScroll` so embedded viewers do not trap page
10
+ scrolling.
9
11
 
10
12
  Import the package styles once through the package entrypoint:
11
13
 
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  fitViewOnInit?: boolean;
5
5
  showControls?: boolean;
6
6
  showMiniMap?: boolean;
7
+ panOnScroll?: boolean;
7
8
  minZoom?: number;
8
9
  maxZoom?: number;
9
10
  initialZoom?: number;
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
13
14
  fitViewOnInit: boolean;
14
15
  showControls: boolean;
15
16
  showMiniMap: boolean;
17
+ panOnScroll: boolean;
16
18
  minZoom: number;
17
19
  maxZoom: number;
18
20
  initialZoom: number;
@@ -1 +1,411 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),g=require("@vue-flow/core"),I=require("@vue-flow/controls"),L=require("@vue-flow/minimap"),z=Symbol("flow-viewer-details"),O=["aria-label"],A={class:"ob-flow-viewer-node__header"},R=["innerHTML"],X={key:1},Z={class:"ob-flow-viewer-node__title-wrap"},Y={class:"ob-flow-viewer-node__title"},W={class:"ob-flow-viewer-node__key"},U={class:"ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped"},G={key:1,class:"ob-flow-viewer-node__widget-image","aria-hidden":"true"},q=e.defineComponent({__name:"FlowViewerNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(n){const d=n,v=e.inject(z),x=d.data.available?d.data.description:"This node template is unavailable.";return(r,c)=>{var m,f;return e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-node",{"ob-flow-viewer-node--unavailable":!n.data.available}]),tabindex:"0","aria-label":`${n.data.name} node`,onMouseenter:c[0]||(c[0]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onMouseleave:c[1]||(c[1]=o=>{var i;return(i=e.unref(v))==null?void 0:i.hide()}),onClick:c[2]||(c[2]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onFocus:c[3]||(c[3]=o=>{var i;return(i=e.unref(v))==null?void 0:i.show(n.data,o)}),onBlur:c[4]||(c[4]=o=>{var i;return(i=e.unref(v))==null?void 0:i.hide()})},[e.createElementVNode("header",A,[e.createElementVNode("span",{class:"ob-flow-viewer-node__icon",style:e.normalizeStyle({"--ob-node-icon-color":((m=n.data.icon)==null?void 0:m.color)??"#64748b"}),"aria-hidden":"true"},[(f=n.data.icon)!=null&&f.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:n.data.icon.svg},null,8,R)):(e.openBlock(),e.createElementBlock("span",X,e.toDisplayString(n.data.available?n.data.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",Z,[e.createElementVNode("strong",Y,e.toDisplayString(n.data.name),1),e.createElementVNode("span",W,e.toDisplayString(n.data.key),1)])]),e.createElementVNode("p",U,e.toDisplayString(e.unref(x)),1),n.data.widgetPreview&&n.data.available?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["ob-flow-viewer-node__widget",`ob-flow-viewer-node__widget--${n.data.widgetPreview}`]),"aria-label":"Widget preview"},[n.data.widgetPreview==="button"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c[5]||(c[5]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-icon"},"↗",-1)),c[6]||(c[6]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-label"},null,-1))],64)):n.data.widgetPreview==="dataset"?(e.openBlock(),e.createElementBlock("span",G)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[c[7]||(c[7]=e.createElementVNode("span",null,null,-1)),c[8]||(c[8]=e.createElementVNode("span",null,null,-1))],64))],2)):e.createCommentVNode("",!0),n.data.connectedHandles.has("target")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:1,type:"target",position:e.unref(g.Position).Top},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("left")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:2,id:"left",type:"target",position:e.unref(g.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("right")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:3,id:"right",type:"target",position:e.unref(g.Position).Right},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:4,type:"source",position:e.unref(g.Position).Bottom},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("left-source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:5,id:"left-source",type:"source",position:e.unref(g.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),n.data.connectedHandles.has("right-source")?(e.openBlock(),e.createBlock(e.unref(g.Handle),{key:6,id:"right-source",type:"source",position:e.unref(g.Position).Right},null,8,["position"])):e.createCommentVNode("",!0)],42,O)}}}),j=e.defineComponent({__name:"FlowViewerNote",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(n){const d=n,v=e.computed(()=>({width:`${d.data.appearance.width}px`,minHeight:d.data.appearance.height?`${d.data.appearance.height}px`:void 0}));return(x,r)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-note",`ob-flow-viewer-note--${n.data.appearance.color}`]),style:e.normalizeStyle(v.value)},e.toDisplayString(n.data.content),7))}}),K=["data-theme"],J=["data-theme"],Q={class:"ob-flow-viewer-tooltip__header"},ee=["innerHTML"],te={key:1},oe={class:"ob-flow-viewer-tooltip__title-wrap"},ne={class:"ob-flow-viewer-tooltip__body"},ie={key:0,class:"ob-flow-viewer-tooltip__unavailable"},ae={key:1,class:"ob-flow-viewer-tooltip__description"},le={key:2,class:"ob-flow-viewer-node__ports"},se={class:"ob-flow-viewer-node__port-group"},ce={key:0,class:"ob-flow-viewer-node__empty"},re={key:0},de={class:"ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs"},ue={key:0,class:"ob-flow-viewer-node__empty"},me={key:0},S=72,P=64,pe=1.45,we=e.defineComponent({__name:"FlowViewer",props:{document:{},fitViewOnInit:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},showMiniMap:{type:Boolean,default:!0},minZoom:{default:.1},maxZoom:{default:2},initialZoom:{default:.8},theme:{default:"light"}},setup(n){const d=n,v={catalog:e.markRaw(q),note:e.markRaw(j)};function x(t){if(t.kind==="note")return t.appearance.height??130;const a=t.description?Math.min(2,Math.max(1,Math.ceil(t.description.length/34))):t.available?0:1,u=a>0?10+a*19.5:0,h=t.available&&t.widgetPreview?10+(t.widgetPreview==="dataset"?72:32):0;return 60+u+h}const r=e.ref(null);let c=null;function m(){c!==null&&(clearTimeout(c),c=null)}function f(){m(),c=setTimeout(()=>{r.value=null,c=null},140)}e.onBeforeUnmount(m);function o(t){const a=new Set;for(const u of d.document.edges)u.source===t&&a.add(u.sourceHandle??"source"),u.target===t&&a.add(u.targetHandle??"target");return a}function i(t,a){m();const u=a.currentTarget;if(!(u instanceof HTMLElement))return;const h=u.getBoundingClientRect(),l=12,s=Math.min(404,window.innerWidth-l*2),y=Math.min(520,window.innerHeight-l*2);let w=h.right+l+s/2;w+s/2>window.innerWidth-l&&(w=h.left-l-s/2),w=Math.max(s/2+l,Math.min(w,window.innerWidth-s/2-l)),r.value={node:t,x:w,y:Math.max(l,Math.min(h.top,window.innerHeight-y-l))}}function p(){f()}e.provide(z,{show:i,hide:p});const k=e.computed(()=>{const t=new Map(d.document.nodes.map(s=>[s.id,{...s.position}])),a=Math.min(...d.document.nodes.map(s=>s.position.x)),u=Math.max(...d.document.nodes.map(s=>s.position.x)),h=(a+u)/2;for(const s of t.values())s.x=h+(s.x-h)*pe;for(let s=0;s<d.document.nodes.length;s+=1)for(const y of d.document.edges){if(y.sourceHandle||y.targetHandle)continue;const w=t.get(y.source),B=t.get(y.target);if(!(!w||!B||Math.abs(w.x-B.x)>=40)&&(B.x=w.x,B.y>w.y)){const E=d.document.nodes.find($=>$.id===y.source);E&&(B.y=Math.max(B.y,w.y+x(E)+S))}}const l=[...d.document.nodes].sort((s,y)=>s.position.y-y.position.y||s.position.x-y.position.x);for(const[s,y]of l.entries()){const w=t.get(y.id);if(w)for(const B of l.slice(0,s)){const E=t.get(B.id);if(!E)continue;const $=y.kind==="note"?y.appearance.width:260,D=B.kind==="note"?B.appearance.width:260;w.x>=E.x+D+P||E.x>=w.x+$+P||(w.y=Math.max(w.y,E.y+x(B)+S))}}return t}),b=e.computed(()=>d.document.nodes.map(t=>{const a=k.value.get(t.id)??t.position;return t.kind==="note"?{id:t.id,type:"note",position:a,data:t,style:{width:`${t.appearance.width}px`,height:t.appearance.height?`${t.appearance.height}px`:void 0}}:{id:t.id,type:"catalog",position:a,data:{...t,connectedHandles:o(t.id)},selectable:!1}})),_=e.computed(()=>d.document.edges.map((t,a)=>({id:`viewer-edge-${a}-${t.source}-${t.target}`,source:t.source,target:t.target,sourceHandle:t.sourceHandle,targetHandle:t.targetHandle,type:g.ConnectionLineType.SmoothStep,data:t.data,style:t.isVisual?{strokeDasharray:"6 4"}:void 0,selectable:!1}))),F=e.computed(()=>{if(d.document.nodes.length===0)return{minX:0,minY:0,maxX:0,maxY:0};let t=1/0,a=1/0,u=-1/0,h=-1/0;for(const l of d.document.nodes){const s=k.value.get(l.id)??l.position,y=l.kind==="note"?l.appearance.width:260,w=x(l);t=Math.min(t,s.x),a=Math.min(a,s.y),u=Math.max(u,s.x+y),h=Math.max(h,s.y+w)}return{minX:t,minY:a,maxX:u,maxY:h}});function T(t){if(d.fitViewOnInit){t.fitView({padding:.15,maxZoom:1});return}const a=F.value,u=d.initialZoom;t.setViewport({x:t.dimensions.value.width/2-(a.minX+a.maxX)/2*u,y:24-a.minY*u,zoom:u})}return(t,a)=>{var u,h;return e.openBlock(),e.createElementBlock("div",{class:"ob-flow-viewer","data-theme":n.theme},[e.createVNode(e.unref(g.VueFlow),{nodes:b.value,edges:_.value,"node-types":v,"fit-view-on-init":!1,"min-zoom":n.minZoom,"max-zoom":n.maxZoom,"nodes-draggable":!1,"nodes-connectable":!1,"elements-selectable":!0,"select-nodes-on-drag":!1,"connect-on-click":!1,"zoom-on-double-click":!1,"delete-key-code":[],"multi-selection-key-code":[],"pan-on-drag":!0,"pan-on-scroll":!0,"zoom-on-scroll":!1,"zoom-on-pinch":!0,class:"ob-flow-viewer__canvas",onPaneReady:T},{default:e.withCtx(()=>[n.showControls?(e.openBlock(),e.createBlock(e.unref(I.Controls),{key:0,"show-interactive":!1})):e.createCommentVNode("",!0),n.showMiniMap?(e.openBlock(),e.createBlock(e.unref(L.MiniMap),{key:1,pannable:!0,zoomable:!0})):e.createCommentVNode("",!0)]),_:1},8,["nodes","edges","min-zoom","max-zoom"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[r.value?(e.openBlock(),e.createElementBlock("section",{key:0,class:"ob-flow-viewer-tooltip","data-theme":n.theme,style:e.normalizeStyle({left:`${r.value.x}px`,top:`${r.value.y}px`}),role:"tooltip",tabindex:"0",onMouseenter:m,onMouseleave:p,onFocusin:m,onFocusout:p},[e.createElementVNode("header",Q,[e.createElementVNode("span",{class:"ob-flow-viewer-tooltip__icon",style:e.normalizeStyle({"--ob-node-icon-color":((u=r.value.node.icon)==null?void 0:u.color)??"#64748b"}),"aria-hidden":"true"},[(h=r.value.node.icon)!=null&&h.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:r.value.node.icon.svg},null,8,ee)):(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(r.value.node.available?r.value.node.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",oe,[e.createElementVNode("strong",null,e.toDisplayString(r.value.node.name),1),e.createElementVNode("code",null,e.toDisplayString(r.value.node.key),1)])]),e.createElementVNode("div",ne,[r.value.node.available?r.value.node.description?(e.openBlock(),e.createElementBlock("p",ae,e.toDisplayString(r.value.node.description),1)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",ie," This node template is unavailable. ")),r.value.node.available?(e.openBlock(),e.createElementBlock("div",le,[e.createElementVNode("div",se,[a[0]||(a[0]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Inputs",-1)),r.value.node.inputs.length===0?(e.openBlock(),e.createElementBlock("span",ce,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.node.inputs,l=>(e.openBlock(),e.createElementBlock("span",{key:l.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(l.name),1),l.description?(e.openBlock(),e.createElementBlock("small",re,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",de,[a[1]||(a[1]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Outputs",-1)),r.value.node.outputs.length===0?(e.openBlock(),e.createElementBlock("span",ue,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value.node.outputs,l=>(e.openBlock(),e.createElementBlock("span",{key:l.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(l.name),1),l.description?(e.openBlock(),e.createElementBlock("small",me,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0)]))),128))])])):e.createCommentVNode("",!0)])],44,J)):e.createCommentVNode("",!0)]))],8,K)}}}),fe={class:"ob-flow-preview"},ye=["viewBox"],he=["d"],ve=["x","y"],ge=["x","y"],ke=["href","x","y"],Be=["x","y"],xe=["x","y"],N=260,V=100,M=140,be=140,C=48,H=26,_e=e.defineComponent({__name:"FlowPreview",props:{preview:{},icons:{default:()=>({})},iconUrl:{type:Function,default:void 0}},setup(n){const d=n,v=e.computed(()=>{var o,i;const m=((o=d.preview)==null?void 0:o.n)??[],f=new Map(m.map(p=>[p.id,{x:p.x,y:p.y}]));for(let p=0;p<m.length;p+=1)for(const k of((i=d.preview)==null?void 0:i.e)??[]){const b=f.get(k.s),_=f.get(k.t);b&&_&&Math.abs(b.x-_.x)<be&&(_.x=b.x)}return m.map(p=>({...p,...f.get(p.id)??{x:p.x,y:p.y}}))}),x=e.computed(()=>{const m=v.value;if(m.length===0)return"0 0 1 1";let f=1/0,o=1/0,i=-1/0,p=-1/0;for(const k of m)f=Math.min(f,k.x),o=Math.min(o,k.y),i=Math.max(i,k.x+N),p=Math.max(p,k.y+V);return`${f-M} ${o-M} ${i-f+M*2} ${p-o+M*2}`}),r=e.computed(()=>new Map(v.value.map(m=>[m.id,m])));function c(m,f){const o=r.value.get(m),i=r.value.get(f);if(!o||!i)return"";const p=o.x+N/2,k=o.y+V/2,b=i.x+N/2,_=i.y+V/2;return`M ${p} ${k} L ${b} ${_}`}return(m,f)=>(e.openBlock(),e.createElementBlock("div",fe,[n.preview&&n.preview.n.length>0?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"ob-flow-preview__svg",viewBox:x.value,preserveAspectRatio:"xMidYMid meet"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.preview.e,(o,i)=>(e.openBlock(),e.createElementBlock("path",{key:i,d:c(o.s,o.t),class:"ob-flow-preview__edge","vector-effect":"non-scaling-stroke"},null,8,he))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,o=>(e.openBlock(),e.createElementBlock("rect",{key:o.id,x:o.x,y:o.y,width:N,height:V,rx:"16",class:"ob-flow-preview__node","vector-effect":"non-scaling-stroke"},null,8,ve))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,o=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`content-${o.id}`},[e.createElementVNode("rect",{x:o.x+18,y:o.y+18,width:"64",height:"64",rx:"16",class:"ob-flow-preview__icon-background",style:e.normalizeStyle(o.c?{fill:o.c}:void 0)},null,12,ge),o.i&&n.icons[o.i]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.icons[o.i]),{key:0,x:o.x+H,y:o.y+H,size:C,color:"white","stroke-width":2.5,"aria-hidden":"true"},null,8,["x","y"])):o.i&&n.iconUrl?(e.openBlock(),e.createElementBlock("image",{key:1,href:n.iconUrl(o.i),x:o.x+H,y:o.y+H,width:C,height:C},null,8,ke)):(e.openBlock(),e.createElementBlock("text",{key:2,x:o.x+50,y:o.y+68,fill:"white","font-size":"42","font-family":"sans-serif","text-anchor":"middle"}," * ",8,Be)),e.createElementVNode("rect",{x:o.x+100,y:o.y+45,width:"128",height:"10",rx:"5",class:"ob-flow-preview__line"},null,8,xe)],64))),128))],8,ye)):e.createCommentVNode("",!0)]))}});exports.FlowPreview=_e;exports.FlowViewer=we;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("@vue-flow/core"),R=require("@vue-flow/controls"),Z=require("@vue-flow/minimap"),I=Symbol("flow-viewer-details"),X=["aria-label"],U={class:"ob-flow-viewer-node__header"},G=["innerHTML"],Y={key:1},W={class:"ob-flow-viewer-node__title-wrap"},J={class:"ob-flow-viewer-node__title"},K={class:"ob-flow-viewer-node__key"},Q={class:"ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped"},ee={key:1,class:"ob-flow-viewer-node__widget-image","aria-hidden":"true"},te=e.defineComponent({__name:"FlowViewerNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(a){const i=a,u=e.inject(I),w=i.data.available?i.data.description:"This node template is unavailable.";return(d,h)=>{var y,f;return e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-node",{"ob-flow-viewer-node--unavailable":!a.data.available}]),tabindex:"0","aria-label":`${a.data.name} node`,onMouseenter:h[0]||(h[0]=n=>{var l;return(l=e.unref(u))==null?void 0:l.show(a.data,n)}),onMouseleave:h[1]||(h[1]=n=>{var l;return(l=e.unref(u))==null?void 0:l.hide()}),onClick:h[2]||(h[2]=n=>{var l;return(l=e.unref(u))==null?void 0:l.show(a.data,n)}),onFocus:h[3]||(h[3]=n=>{var l;return(l=e.unref(u))==null?void 0:l.show(a.data,n)}),onBlur:h[4]||(h[4]=n=>{var l;return(l=e.unref(u))==null?void 0:l.hide()})},[e.createElementVNode("header",U,[e.createElementVNode("span",{class:"ob-flow-viewer-node__icon",style:e.normalizeStyle({"--ob-node-icon-color":((y=a.data.icon)==null?void 0:y.color)??"#64748b"}),"aria-hidden":"true"},[(f=a.data.icon)!=null&&f.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:a.data.icon.svg},null,8,G)):(e.openBlock(),e.createElementBlock("span",Y,e.toDisplayString(a.data.available?a.data.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",W,[e.createElementVNode("strong",J,e.toDisplayString(a.data.name),1),e.createElementVNode("span",K,e.toDisplayString(a.data.key),1)])]),e.createElementVNode("p",Q,e.toDisplayString(e.unref(w)),1),a.data.widgetPreview&&a.data.available?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["ob-flow-viewer-node__widget",`ob-flow-viewer-node__widget--${a.data.widgetPreview}`]),"aria-label":"Widget preview"},[a.data.widgetPreview==="button"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[h[5]||(h[5]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-icon"},"↗",-1)),h[6]||(h[6]=e.createElementVNode("span",{class:"ob-flow-viewer-node__widget-label"},null,-1))],64)):a.data.widgetPreview==="dataset"?(e.openBlock(),e.createElementBlock("span",ee)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[h[7]||(h[7]=e.createElementVNode("span",null,null,-1)),h[8]||(h[8]=e.createElementVNode("span",null,null,-1))],64))],2)):e.createCommentVNode("",!0),a.data.connectedHandles.has("target")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:1,type:"target",position:e.unref(x.Position).Top},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("left")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:2,id:"left",type:"target",position:e.unref(x.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("right")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:3,id:"right",type:"target",position:e.unref(x.Position).Right},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("source")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:4,type:"source",position:e.unref(x.Position).Bottom},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("left-source")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:5,id:"left-source",type:"source",position:e.unref(x.Position).Left},null,8,["position"])):e.createCommentVNode("",!0),a.data.connectedHandles.has("right-source")?(e.openBlock(),e.createBlock(e.unref(x.Handle),{key:6,id:"right-source",type:"source",position:e.unref(x.Position).Right},null,8,["position"])):e.createCommentVNode("",!0)],42,X)}}}),ae=e.defineComponent({__name:"FlowViewerNote",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(a){const i=a,u=e.computed(()=>({width:`${i.data.appearance.width}px`,minHeight:i.data.appearance.height?`${i.data.appearance.height}px`:void 0}));return(w,d)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(["ob-flow-viewer-note",`ob-flow-viewer-note--${a.data.appearance.color}`]),style:e.normalizeStyle(u.value)},e.toDisplayString(a.data.content),7))}}),oe=["data-theme"],ne=["data-theme"],ie={class:"ob-flow-viewer-tooltip__header"},ce=["innerHTML"],le={key:1},re={class:"ob-flow-viewer-tooltip__title-wrap"},de={class:"ob-flow-viewer-tooltip__body"},se={key:0,class:"ob-flow-viewer-tooltip__unavailable"},he={key:1,class:"ob-flow-viewer-tooltip__description"},pe={key:2,class:"ob-flow-viewer-node__ports"},ye={class:"ob-flow-viewer-node__port-group"},ke={key:0,class:"ob-flow-viewer-node__empty"},ue={key:0},me={class:"ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs"},ve={key:0,class:"ob-flow-viewer-node__empty"},ge={key:0},S=72,L=64,we=1.45,fe=e.defineComponent({__name:"FlowViewer",props:{document:{},fitViewOnInit:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},showMiniMap:{type:Boolean,default:!0},panOnScroll:{type:Boolean,default:!1},minZoom:{default:.1},maxZoom:{default:2},initialZoom:{default:.8},theme:{default:"light"}},setup(a){const i=a,u={catalog:e.markRaw(te),note:e.markRaw(ae)};function w(o){if(o.kind==="note")return o.appearance.height??130;const s=o.description?Math.min(2,Math.max(1,Math.ceil(o.description.length/34))):o.available?0:1,p=s>0?10+s*19.5:0,k=o.available&&o.widgetPreview?10+(o.widgetPreview==="dataset"?72:32):0;return 60+p+k}const d=e.ref(null);let h=null;function y(){h!==null&&(clearTimeout(h),h=null)}function f(){y(),h=setTimeout(()=>{d.value=null,h=null},140)}e.onBeforeUnmount(y);function n(o){const s=new Set;for(const p of i.document.edges)p.source===o&&s.add(p.sourceHandle??"source"),p.target===o&&s.add(p.targetHandle??"target");return s}function l(o,s){y();const p=s.currentTarget;if(!(p instanceof HTMLElement))return;const k=p.getBoundingClientRect(),c=12,r=Math.min(404,window.innerWidth-c*2),g=Math.min(520,window.innerHeight-c*2);let v=k.right+c+r/2;v+r/2>window.innerWidth-c&&(v=k.left-c-r/2),v=Math.max(r/2+c,Math.min(v,window.innerWidth-r/2-c)),d.value={node:o,x:v,y:Math.max(c,Math.min(k.top,window.innerHeight-g-c))}}function m(){f()}e.provide(I,{show:l,hide:m});const M=e.computed(()=>{const o=new Map(i.document.nodes.map(r=>[r.id,{...r.position}])),s=Math.min(...i.document.nodes.map(r=>r.position.x)),p=Math.max(...i.document.nodes.map(r=>r.position.x)),k=(s+p)/2;for(const r of o.values())r.x=k+(r.x-k)*we;for(let r=0;r<i.document.nodes.length;r+=1)for(const g of i.document.edges){if(g.sourceHandle||g.targetHandle)continue;const v=o.get(g.source),b=o.get(g.target);if(!(!v||!b||Math.abs(v.x-b.x)>=40)&&(b.x=v.x,b.y>v.y)){const z=i.document.nodes.find(A=>A.id===g.source);z&&(b.y=Math.max(b.y,v.y+w(z)+S))}}const c=[...i.document.nodes].sort((r,g)=>r.position.y-g.position.y||r.position.x-g.position.x);for(const[r,g]of c.entries()){const v=o.get(g.id);if(v)for(const b of c.slice(0,r)){const z=o.get(b.id);if(!z)continue;const A=g.kind==="note"?g.appearance.width:260,O=b.kind==="note"?b.appearance.width:260;v.x>=z.x+O+L||z.x>=v.x+A+L||(v.y=Math.max(v.y,z.y+w(b)+S))}}return o}),B=e.computed(()=>i.document.nodes.map(o=>{const s=M.value.get(o.id)??o.position;return o.kind==="note"?{id:o.id,type:"note",position:s,data:o,style:{width:`${o.appearance.width}px`,height:o.appearance.height?`${o.appearance.height}px`:void 0}}:{id:o.id,type:"catalog",position:s,data:{...o,connectedHandles:n(o.id)},selectable:!1}})),V=e.computed(()=>i.document.edges.map((o,s)=>({id:`viewer-edge-${s}-${o.source}-${o.target}`,source:o.source,target:o.target,sourceHandle:o.sourceHandle,targetHandle:o.targetHandle,type:x.ConnectionLineType.SmoothStep,data:o.data,style:o.isVisual?{strokeDasharray:"6 4"}:void 0,selectable:!1}))),j=e.computed(()=>{if(i.document.nodes.length===0)return{minX:0,minY:0,maxX:0,maxY:0};let o=1/0,s=1/0,p=-1/0,k=-1/0;for(const c of i.document.nodes){const r=M.value.get(c.id)??c.position,g=c.kind==="note"?c.appearance.width:260,v=w(c);o=Math.min(o,r.x),s=Math.min(s,r.y),p=Math.max(p,r.x+g),k=Math.max(k,r.y+v)}return{minX:o,minY:s,maxX:p,maxY:k}}),D=e.computed(()=>{const o=i.document.nodes.filter(c=>c.kind==="node"),s=new Set(i.document.edges.map(c=>c.target)),p=o.filter(c=>!s.has(c.id));return[...p.length>0?p:o.length>0?o:i.document.nodes].sort((c,r)=>{const g=M.value.get(c.id)??c.position,v=M.value.get(r.id)??r.position;return g.y-v.y||g.x-v.x})[0]});function F(o){if(i.fitViewOnInit){o.fitView({padding:.15,maxZoom:1});return}const s=j.value,p=i.initialZoom,k=D.value,c=k?M.value.get(k.id)??k.position:null,r=(k==null?void 0:k.kind)==="note"?k.appearance.width:260,g=c?(c.x+r/2)*p:(s.minX+s.maxX)/2*p;o.setViewport({x:o.dimensions.value.width/2-g,y:24-s.minY*p,zoom:p})}return(o,s)=>{var p,k;return e.openBlock(),e.createElementBlock("div",{class:"ob-flow-viewer","data-theme":a.theme},[e.createVNode(e.unref(x.VueFlow),{nodes:B.value,edges:V.value,"node-types":u,"fit-view-on-init":!1,"min-zoom":a.minZoom,"max-zoom":a.maxZoom,"nodes-draggable":!1,"nodes-connectable":!1,"elements-selectable":!0,"select-nodes-on-drag":!1,"connect-on-click":!1,"zoom-on-double-click":!1,"delete-key-code":[],"multi-selection-key-code":[],"pan-on-drag":!0,"pan-on-scroll":a.panOnScroll,"zoom-on-scroll":!1,"zoom-on-pinch":!0,class:"ob-flow-viewer__canvas",onPaneReady:F},{default:e.withCtx(()=>[a.showControls?(e.openBlock(),e.createBlock(e.unref(R.Controls),{key:0,"show-interactive":!1})):e.createCommentVNode("",!0),a.showMiniMap?(e.openBlock(),e.createBlock(e.unref(Z.MiniMap),{key:1,pannable:!0,zoomable:!0})):e.createCommentVNode("",!0)]),_:1},8,["nodes","edges","min-zoom","max-zoom","pan-on-scroll"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createElementBlock("section",{key:0,class:"ob-flow-viewer-tooltip","data-theme":a.theme,style:e.normalizeStyle({left:`${d.value.x}px`,top:`${d.value.y}px`}),role:"tooltip",tabindex:"0",onMouseenter:y,onMouseleave:m,onFocusin:y,onFocusout:m},[e.createElementVNode("header",ie,[e.createElementVNode("span",{class:"ob-flow-viewer-tooltip__icon",style:e.normalizeStyle({"--ob-node-icon-color":((p=d.value.node.icon)==null?void 0:p.color)??"#64748b"}),"aria-hidden":"true"},[(k=d.value.node.icon)!=null&&k.svg?(e.openBlock(),e.createElementBlock("span",{key:0,class:"ob-flow-viewer-node__icon-svg",innerHTML:d.value.node.icon.svg},null,8,ce)):(e.openBlock(),e.createElementBlock("span",le,e.toDisplayString(d.value.node.available?d.value.node.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",re,[e.createElementVNode("strong",null,e.toDisplayString(d.value.node.name),1),e.createElementVNode("code",null,e.toDisplayString(d.value.node.key),1)])]),e.createElementVNode("div",de,[d.value.node.available?d.value.node.description?(e.openBlock(),e.createElementBlock("p",he,e.toDisplayString(d.value.node.description),1)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",se," This node template is unavailable. ")),d.value.node.available?(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("div",ye,[s[0]||(s[0]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Inputs",-1)),d.value.node.inputs.length===0?(e.openBlock(),e.createElementBlock("span",ke,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.node.inputs,c=>(e.openBlock(),e.createElementBlock("span",{key:c.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(c.name),1),c.description?(e.openBlock(),e.createElementBlock("small",ue,e.toDisplayString(c.description),1)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",me,[s[1]||(s[1]=e.createElementVNode("span",{class:"ob-flow-viewer-node__port-heading"},"Outputs",-1)),d.value.node.outputs.length===0?(e.openBlock(),e.createElementBlock("span",ve,"None")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value.node.outputs,c=>(e.openBlock(),e.createElementBlock("span",{key:c.key,class:"ob-flow-viewer-node__port"},[e.createElementVNode("span",null,e.toDisplayString(c.name),1),c.description?(e.openBlock(),e.createElementBlock("small",ge,e.toDisplayString(c.description),1)):e.createCommentVNode("",!0)]))),128))])])):e.createCommentVNode("",!0)])],44,ne)):e.createCommentVNode("",!0)]))],8,oe)}}});/**
2
+ * @license lucide-vue-next v0.577.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const Me=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1};/**
7
+ * @license lucide-vue-next v0.577.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const P=a=>a==="";/**
12
+ * @license lucide-vue-next v0.577.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const xe=(...a)=>a.filter((i,u,w)=>!!i&&i.trim()!==""&&w.indexOf(i)===u).join(" ").trim();/**
17
+ * @license lucide-vue-next v0.577.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const $=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
22
+ * @license lucide-vue-next v0.577.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const be=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,u,w)=>w?w.toUpperCase():u.toLowerCase());/**
27
+ * @license lucide-vue-next v0.577.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */const Be=a=>{const i=be(a);return i.charAt(0).toUpperCase()+i.slice(1)};/**
32
+ * @license lucide-vue-next v0.577.0 - ISC
33
+ *
34
+ * This source code is licensed under the ISC license.
35
+ * See the LICENSE file in the root directory of this source tree.
36
+ */var H={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
37
+ * @license lucide-vue-next v0.577.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */const Ve=({name:a,iconNode:i,absoluteStrokeWidth:u,"absolute-stroke-width":w,strokeWidth:d,"stroke-width":h,size:y=H.width,color:f=H.stroke,...n},{slots:l})=>e.h("svg",{...H,...n,width:y,height:y,stroke:f,"stroke-width":P(u)||P(w)||u===!0||w===!0?Number(d||h||H["stroke-width"])*24/Number(y):d||h||H["stroke-width"],class:xe("lucide",n.class,...a?[`lucide-${$(Be(a))}-icon`,`lucide-${$(a)}`]:["lucide-icon"]),...!l.default&&!Me(n)&&{"aria-hidden":"true"}},[...i.map(m=>e.h(...m)),...l.default?[l.default()]:[]]);/**
42
+ * @license lucide-vue-next v0.577.0 - ISC
43
+ *
44
+ * This source code is licensed under the ISC license.
45
+ * See the LICENSE file in the root directory of this source tree.
46
+ */const t=(a,i)=>(u,{slots:w,attrs:d})=>e.h(Ve,{...d,...u,iconNode:i,name:a},w);/**
47
+ * @license lucide-vue-next v0.577.0 - ISC
48
+ *
49
+ * This source code is licensed under the ISC license.
50
+ * See the LICENSE file in the root directory of this source tree.
51
+ */const ze=t("archive-restore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);/**
52
+ * @license lucide-vue-next v0.577.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */const He=t("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/**
57
+ * @license lucide-vue-next v0.577.0 - ISC
58
+ *
59
+ * This source code is licensed under the ISC license.
60
+ * See the LICENSE file in the root directory of this source tree.
61
+ */const _e=t("arrow-down-to-line",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);/**
62
+ * @license lucide-vue-next v0.577.0 - ISC
63
+ *
64
+ * This source code is licensed under the ISC license.
65
+ * See the LICENSE file in the root directory of this source tree.
66
+ */const Ce=t("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
67
+ * @license lucide-vue-next v0.577.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */const Ee=t("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
72
+ * @license lucide-vue-next v0.577.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */const Ne=t("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
77
+ * @license lucide-vue-next v0.577.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */const Ae=t("brain-circuit",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]]);/**
82
+ * @license lucide-vue-next v0.577.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const qe=t("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]]);/**
87
+ * @license lucide-vue-next v0.577.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const Se=t("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
92
+ * @license lucide-vue-next v0.577.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const Le=t("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
97
+ * @license lucide-vue-next v0.577.0 - ISC
98
+ *
99
+ * This source code is licensed under the ISC license.
100
+ * See the LICENSE file in the root directory of this source tree.
101
+ */const Pe=t("clock-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]);/**
102
+ * @license lucide-vue-next v0.577.0 - ISC
103
+ *
104
+ * This source code is licensed under the ISC license.
105
+ * See the LICENSE file in the root directory of this source tree.
106
+ */const $e=t("cloud-download",[["path",{d:"M12 13v8l-4-4",key:"1f5nwf"}],["path",{d:"m12 21 4-4",key:"1lfcce"}],["path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284",key:"ui1hmy"}]]);/**
107
+ * @license lucide-vue-next v0.577.0 - ISC
108
+ *
109
+ * This source code is licensed under the ISC license.
110
+ * See the LICENSE file in the root directory of this source tree.
111
+ */const Ie=t("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]);/**
112
+ * @license lucide-vue-next v0.577.0 - ISC
113
+ *
114
+ * This source code is licensed under the ISC license.
115
+ * See the LICENSE file in the root directory of this source tree.
116
+ */const Te=t("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
117
+ * @license lucide-vue-next v0.577.0 - ISC
118
+ *
119
+ * This source code is licensed under the ISC license.
120
+ * See the LICENSE file in the root directory of this source tree.
121
+ */const je=t("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);/**
122
+ * @license lucide-vue-next v0.577.0 - ISC
123
+ *
124
+ * This source code is licensed under the ISC license.
125
+ * See the LICENSE file in the root directory of this source tree.
126
+ */const De=t("crop",[["path",{d:"M6 2v14a2 2 0 0 0 2 2h14",key:"ron5a4"}],["path",{d:"M18 22V8a2 2 0 0 0-2-2H2",key:"7s9ehn"}]]);/**
127
+ * @license lucide-vue-next v0.577.0 - ISC
128
+ *
129
+ * This source code is licensed under the ISC license.
130
+ * See the LICENSE file in the root directory of this source tree.
131
+ */const Fe=t("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/**
132
+ * @license lucide-vue-next v0.577.0 - ISC
133
+ *
134
+ * This source code is licensed under the ISC license.
135
+ * See the LICENSE file in the root directory of this source tree.
136
+ */const Oe=t("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
137
+ * @license lucide-vue-next v0.577.0 - ISC
138
+ *
139
+ * This source code is licensed under the ISC license.
140
+ * See the LICENSE file in the root directory of this source tree.
141
+ */const Re=t("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);/**
142
+ * @license lucide-vue-next v0.577.0 - ISC
143
+ *
144
+ * This source code is licensed under the ISC license.
145
+ * See the LICENSE file in the root directory of this source tree.
146
+ */const Ze=t("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
147
+ * @license lucide-vue-next v0.577.0 - ISC
148
+ *
149
+ * This source code is licensed under the ISC license.
150
+ * See the LICENSE file in the root directory of this source tree.
151
+ */const Xe=t("file-down",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/**
152
+ * @license lucide-vue-next v0.577.0 - ISC
153
+ *
154
+ * This source code is licensed under the ISC license.
155
+ * See the LICENSE file in the root directory of this source tree.
156
+ */const Ue=t("files",[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]]);/**
157
+ * @license lucide-vue-next v0.577.0 - ISC
158
+ *
159
+ * This source code is licensed under the ISC license.
160
+ * See the LICENSE file in the root directory of this source tree.
161
+ */const Ge=t("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);/**
162
+ * @license lucide-vue-next v0.577.0 - ISC
163
+ *
164
+ * This source code is licensed under the ISC license.
165
+ * See the LICENSE file in the root directory of this source tree.
166
+ */const Ye=t("folder-plus",[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/**
167
+ * @license lucide-vue-next v0.577.0 - ISC
168
+ *
169
+ * This source code is licensed under the ISC license.
170
+ * See the LICENSE file in the root directory of this source tree.
171
+ */const We=t("folder-root",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}],["path",{d:"M12 15v5",key:"11xva1"}]]);/**
172
+ * @license lucide-vue-next v0.577.0 - ISC
173
+ *
174
+ * This source code is licensed under the ISC license.
175
+ * See the LICENSE file in the root directory of this source tree.
176
+ */const Je=t("folder-sync",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5",key:"1dkoa9"}],["path",{d:"M12 10v4h4",key:"1czhmt"}],["path",{d:"m12 14 1.535-1.605a5 5 0 0 1 8 1.5",key:"lvuxfi"}],["path",{d:"M22 22v-4h-4",key:"1ewp4q"}],["path",{d:"m22 18-1.535 1.605a5 5 0 0 1-8-1.5",key:"14ync0"}]]);/**
177
+ * @license lucide-vue-next v0.577.0 - ISC
178
+ *
179
+ * This source code is licensed under the ISC license.
180
+ * See the LICENSE file in the root directory of this source tree.
181
+ */const Ke=t("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);/**
182
+ * @license lucide-vue-next v0.577.0 - ISC
183
+ *
184
+ * This source code is licensed under the ISC license.
185
+ * See the LICENSE file in the root directory of this source tree.
186
+ */const Qe=t("gallery-vertical-end",[["path",{d:"M7 2h10",key:"nczekb"}],["path",{d:"M5 6h14",key:"u2x4p"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}]]);/**
187
+ * @license lucide-vue-next v0.577.0 - ISC
188
+ *
189
+ * This source code is licensed under the ISC license.
190
+ * See the LICENSE file in the root directory of this source tree.
191
+ */const et=t("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
192
+ * @license lucide-vue-next v0.577.0 - ISC
193
+ *
194
+ * This source code is licensed under the ISC license.
195
+ * See the LICENSE file in the root directory of this source tree.
196
+ */const tt=t("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);/**
197
+ * @license lucide-vue-next v0.577.0 - ISC
198
+ *
199
+ * This source code is licensed under the ISC license.
200
+ * See the LICENSE file in the root directory of this source tree.
201
+ */const at=t("git-merge",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]]);/**
202
+ * @license lucide-vue-next v0.577.0 - ISC
203
+ *
204
+ * This source code is licensed under the ISC license.
205
+ * See the LICENSE file in the root directory of this source tree.
206
+ */const ot=t("hard-drive-download",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
207
+ * @license lucide-vue-next v0.577.0 - ISC
208
+ *
209
+ * This source code is licensed under the ISC license.
210
+ * See the LICENSE file in the root directory of this source tree.
211
+ */const nt=t("hard-drive-upload",[["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M12 2v8",key:"1q4o3n"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",key:"w68u3i"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"M10 18h.01",key:"h775k"}]]);/**
212
+ * @license lucide-vue-next v0.577.0 - ISC
213
+ *
214
+ * This source code is licensed under the ISC license.
215
+ * See the LICENSE file in the root directory of this source tree.
216
+ */const it=t("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/**
217
+ * @license lucide-vue-next v0.577.0 - ISC
218
+ *
219
+ * This source code is licensed under the ISC license.
220
+ * See the LICENSE file in the root directory of this source tree.
221
+ */const ct=t("image-up",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
222
+ * @license lucide-vue-next v0.577.0 - ISC
223
+ *
224
+ * This source code is licensed under the ISC license.
225
+ * See the LICENSE file in the root directory of this source tree.
226
+ */const lt=t("image-plus",[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]);/**
227
+ * @license lucide-vue-next v0.577.0 - ISC
228
+ *
229
+ * This source code is licensed under the ISC license.
230
+ * See the LICENSE file in the root directory of this source tree.
231
+ */const rt=t("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
232
+ * @license lucide-vue-next v0.577.0 - ISC
233
+ *
234
+ * This source code is licensed under the ISC license.
235
+ * See the LICENSE file in the root directory of this source tree.
236
+ */const dt=t("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]);/**
237
+ * @license lucide-vue-next v0.577.0 - ISC
238
+ *
239
+ * This source code is licensed under the ISC license.
240
+ * See the LICENSE file in the root directory of this source tree.
241
+ */const st=t("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
242
+ * @license lucide-vue-next v0.577.0 - ISC
243
+ *
244
+ * This source code is licensed under the ISC license.
245
+ * See the LICENSE file in the root directory of this source tree.
246
+ */const ht=t("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);/**
247
+ * @license lucide-vue-next v0.577.0 - ISC
248
+ *
249
+ * This source code is licensed under the ISC license.
250
+ * See the LICENSE file in the root directory of this source tree.
251
+ */const pt=t("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
252
+ * @license lucide-vue-next v0.577.0 - ISC
253
+ *
254
+ * This source code is licensed under the ISC license.
255
+ * See the LICENSE file in the root directory of this source tree.
256
+ */const yt=t("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);/**
257
+ * @license lucide-vue-next v0.577.0 - ISC
258
+ *
259
+ * This source code is licensed under the ISC license.
260
+ * See the LICENSE file in the root directory of this source tree.
261
+ */const kt=t("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);/**
262
+ * @license lucide-vue-next v0.577.0 - ISC
263
+ *
264
+ * This source code is licensed under the ISC license.
265
+ * See the LICENSE file in the root directory of this source tree.
266
+ */const ut=t("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);/**
267
+ * @license lucide-vue-next v0.577.0 - ISC
268
+ *
269
+ * This source code is licensed under the ISC license.
270
+ * See the LICENSE file in the root directory of this source tree.
271
+ */const mt=t("octagon-x",[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
272
+ * @license lucide-vue-next v0.577.0 - ISC
273
+ *
274
+ * This source code is licensed under the ISC license.
275
+ * See the LICENSE file in the root directory of this source tree.
276
+ */const vt=t("package-minus",[["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"M16 17h6",key:"1ook5g"}],["path",{d:"M21 13V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",key:"zu9avd"}],["path",{d:"M3.29 7 12 12l8.71-5",key:"19ckod"}],["path",{d:"m7.5 4.27 8.997 5.148",key:"9yrvtv"}]]);/**
277
+ * @license lucide-vue-next v0.577.0 - ISC
278
+ *
279
+ * This source code is licensed under the ISC license.
280
+ * See the LICENSE file in the root directory of this source tree.
281
+ */const gt=t("package-open",[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]]);/**
282
+ * @license lucide-vue-next v0.577.0 - ISC
283
+ *
284
+ * This source code is licensed under the ISC license.
285
+ * See the LICENSE file in the root directory of this source tree.
286
+ */const wt=t("package-plus",[["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"M16 17h6",key:"1ook5g"}],["path",{d:"M19 14v6",key:"1ckrd5"}],["path",{d:"M21 10.535V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.675-.955",key:"28k6lz"}],["path",{d:"M3.29 7 12 12l8.71-5",key:"19ckod"}],["path",{d:"m7.5 4.27 8.997 5.148",key:"9yrvtv"}]]);/**
287
+ * @license lucide-vue-next v0.577.0 - ISC
288
+ *
289
+ * This source code is licensed under the ISC license.
290
+ * See the LICENSE file in the root directory of this source tree.
291
+ */const ft=t("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);/**
292
+ * @license lucide-vue-next v0.577.0 - ISC
293
+ *
294
+ * This source code is licensed under the ISC license.
295
+ * See the LICENSE file in the root directory of this source tree.
296
+ */const Mt=t("radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
297
+ * @license lucide-vue-next v0.577.0 - ISC
298
+ *
299
+ * This source code is licensed under the ISC license.
300
+ * See the LICENSE file in the root directory of this source tree.
301
+ */const xt=t("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
302
+ * @license lucide-vue-next v0.577.0 - ISC
303
+ *
304
+ * This source code is licensed under the ISC license.
305
+ * See the LICENSE file in the root directory of this source tree.
306
+ */const bt=t("ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
307
+ * @license lucide-vue-next v0.577.0 - ISC
308
+ *
309
+ * This source code is licensed under the ISC license.
310
+ * See the LICENSE file in the root directory of this source tree.
311
+ */const Bt=t("scale",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]]);/**
312
+ * @license lucide-vue-next v0.577.0 - ISC
313
+ *
314
+ * This source code is licensed under the ISC license.
315
+ * See the LICENSE file in the root directory of this source tree.
316
+ */const Vt=t("scan-eye",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);/**
317
+ * @license lucide-vue-next v0.577.0 - ISC
318
+ *
319
+ * This source code is licensed under the ISC license.
320
+ * See the LICENSE file in the root directory of this source tree.
321
+ */const zt=t("scan-search",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);/**
322
+ * @license lucide-vue-next v0.577.0 - ISC
323
+ *
324
+ * This source code is licensed under the ISC license.
325
+ * See the LICENSE file in the root directory of this source tree.
326
+ */const Ht=t("scan-text",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 8h8",key:"1jbsf9"}],["path",{d:"M7 12h10",key:"b7w52i"}],["path",{d:"M7 16h6",key:"1vyc9m"}]]);/**
327
+ * @license lucide-vue-next v0.577.0 - ISC
328
+ *
329
+ * This source code is licensed under the ISC license.
330
+ * See the LICENSE file in the root directory of this source tree.
331
+ */const _t=t("scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
332
+ * @license lucide-vue-next v0.577.0 - ISC
333
+ *
334
+ * This source code is licensed under the ISC license.
335
+ * See the LICENSE file in the root directory of this source tree.
336
+ */const Ct=t("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
337
+ * @license lucide-vue-next v0.577.0 - ISC
338
+ *
339
+ * This source code is licensed under the ISC license.
340
+ * See the LICENSE file in the root directory of this source tree.
341
+ */const Et=t("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
342
+ * @license lucide-vue-next v0.577.0 - ISC
343
+ *
344
+ * This source code is licensed under the ISC license.
345
+ * See the LICENSE file in the root directory of this source tree.
346
+ */const Nt=t("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
347
+ * @license lucide-vue-next v0.577.0 - ISC
348
+ *
349
+ * This source code is licensed under the ISC license.
350
+ * See the LICENSE file in the root directory of this source tree.
351
+ */const At=t("shuffle",[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]]);/**
352
+ * @license lucide-vue-next v0.577.0 - ISC
353
+ *
354
+ * This source code is licensed under the ISC license.
355
+ * See the LICENSE file in the root directory of this source tree.
356
+ */const qt=t("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);/**
357
+ * @license lucide-vue-next v0.577.0 - ISC
358
+ *
359
+ * This source code is licensed under the ISC license.
360
+ * See the LICENSE file in the root directory of this source tree.
361
+ */const St=t("split",[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]]);/**
362
+ * @license lucide-vue-next v0.577.0 - ISC
363
+ *
364
+ * This source code is licensed under the ISC license.
365
+ * See the LICENSE file in the root directory of this source tree.
366
+ */const Lt=t("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
367
+ * @license lucide-vue-next v0.577.0 - ISC
368
+ *
369
+ * This source code is licensed under the ISC license.
370
+ * See the LICENSE file in the root directory of this source tree.
371
+ */const Pt=t("tags",[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]);/**
372
+ * @license lucide-vue-next v0.577.0 - ISC
373
+ *
374
+ * This source code is licensed under the ISC license.
375
+ * See the LICENSE file in the root directory of this source tree.
376
+ */const $t=t("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);/**
377
+ * @license lucide-vue-next v0.577.0 - ISC
378
+ *
379
+ * This source code is licensed under the ISC license.
380
+ * See the LICENSE file in the root directory of this source tree.
381
+ */const It=t("text-cursor-input",[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]]);/**
382
+ * @license lucide-vue-next v0.577.0 - ISC
383
+ *
384
+ * This source code is licensed under the ISC license.
385
+ * See the LICENSE file in the root directory of this source tree.
386
+ */const Tt=t("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);/**
387
+ * @license lucide-vue-next v0.577.0 - ISC
388
+ *
389
+ * This source code is licensed under the ISC license.
390
+ * See the LICENSE file in the root directory of this source tree.
391
+ */const jt=t("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
392
+ * @license lucide-vue-next v0.577.0 - ISC
393
+ *
394
+ * This source code is licensed under the ISC license.
395
+ * See the LICENSE file in the root directory of this source tree.
396
+ */const Dt=t("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);/**
397
+ * @license lucide-vue-next v0.577.0 - ISC
398
+ *
399
+ * This source code is licensed under the ISC license.
400
+ * See the LICENSE file in the root directory of this source tree.
401
+ */const Ft=t("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/**
402
+ * @license lucide-vue-next v0.577.0 - ISC
403
+ *
404
+ * This source code is licensed under the ISC license.
405
+ * See the LICENSE file in the root directory of this source tree.
406
+ */const Ot=t("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/**
407
+ * @license lucide-vue-next v0.577.0 - ISC
408
+ *
409
+ * This source code is licensed under the ISC license.
410
+ * See the LICENSE file in the root directory of this source tree.
411
+ */const Rt=t("webhook",[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]]),Zt=["archive","archive-restore","arrow-down-to-line","badge-check","bot","box","brain","brain-circuit","chart-column","clipboard-check","clock-3","cloud-download","combine","copy","cpu","crop","crosshair","database","download","eye","file-down","files","film","folder-plus","folder-root","folder-sync","funnel","gallery-vertical-end","gauge","git-branch","git-merge","hard-drive-download","hard-drive-upload","history","image","image-plus","image-up","images","layers","list-checks","loader-circle","mail","moon","move-right","octagon-x","package-minus","package-open","package-plus","play","radar","route","ruler","scale","scan-eye","scan-search","scan-text","scissors","search","settings","shield-check","shuffle","sparkles","split","tag","tags","terminal","text-cursor-input","trash-2","triangle-alert","trophy","video","wand-sparkles","webhook"],Xt=Object.freeze(Zt),T=Object.freeze({archive:He,"archive-restore":ze,"arrow-down-to-line":_e,"badge-check":Ce,bot:Ee,box:Ne,brain:qe,"brain-circuit":Ae,"chart-column":Se,"clipboard-check":Le,"clock-3":Pe,"cloud-download":$e,combine:Ie,copy:Te,cpu:je,crop:De,crosshair:Fe,database:Oe,download:Re,eye:Ze,"file-down":Xe,files:Ue,film:Ge,"folder-plus":Ye,"folder-root":We,"folder-sync":Je,funnel:Ke,"gallery-vertical-end":Qe,gauge:et,"git-branch":tt,"git-merge":at,"hard-drive-download":ot,"hard-drive-upload":nt,history:it,image:rt,"image-plus":lt,"image-up":ct,images:dt,layers:st,"list-checks":ht,"loader-circle":pt,mail:yt,moon:kt,"move-right":ut,"octagon-x":mt,"package-minus":vt,"package-open":gt,"package-plus":wt,play:ft,radar:Mt,route:xt,ruler:bt,scale:Bt,"scan-eye":Vt,"scan-search":zt,"scan-text":Ht,scissors:_t,search:Ct,settings:Et,"shield-check":Nt,shuffle:At,sparkles:qt,split:St,tag:Lt,tags:Pt,terminal:$t,"text-cursor-input":It,"trash-2":Tt,"triangle-alert":jt,trophy:Dt,video:Ft,"wand-sparkles":Ot,webhook:Rt}),Ut={class:"ob-flow-preview"},Gt=["viewBox"],Yt=["d"],Wt=["x","y"],Jt=["x","y"],Kt=["href","x","y"],Qt=["x","y"],ea=["x","y"],_=260,C=100,E=140,ta=140,q=48,N=26,aa=e.defineComponent({__name:"FlowPreview",props:{preview:{},icons:{default:()=>T},iconUrl:{type:Function,default:void 0}},setup(a){const i=a,u=e.computed(()=>{var n,l;const y=((n=i.preview)==null?void 0:n.n)??[],f=new Map(y.map(m=>[m.id,{x:m.x,y:m.y}]));for(let m=0;m<y.length;m+=1)for(const M of((l=i.preview)==null?void 0:l.e)??[]){const B=f.get(M.s),V=f.get(M.t);B&&V&&Math.abs(B.x-V.x)<ta&&(V.x=B.x)}return y.map(m=>({...m,...f.get(m.id)??{x:m.x,y:m.y}}))}),w=e.computed(()=>{const y=u.value;if(y.length===0)return"0 0 1 1";let f=1/0,n=1/0,l=-1/0,m=-1/0;for(const M of y)f=Math.min(f,M.x),n=Math.min(n,M.y),l=Math.max(l,M.x+_),m=Math.max(m,M.y+C);return`${f-E} ${n-E} ${l-f+E*2} ${m-n+E*2}`}),d=e.computed(()=>new Map(u.value.map(y=>[y.id,y])));function h(y,f){const n=d.value.get(y),l=d.value.get(f);if(!n||!l)return"";const m=n.x+_/2,M=n.y+C/2,B=l.x+_/2,V=l.y+C/2;return`M ${m} ${M} L ${B} ${V}`}return(y,f)=>(e.openBlock(),e.createElementBlock("div",Ut,[a.preview&&a.preview.n.length>0?(e.openBlock(),e.createElementBlock("svg",{key:0,class:"ob-flow-preview__svg",viewBox:w.value,preserveAspectRatio:"xMidYMid meet"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.preview.e,(n,l)=>(e.openBlock(),e.createElementBlock("path",{key:l,d:h(n.s,n.t),class:"ob-flow-preview__edge","vector-effect":"non-scaling-stroke"},null,8,Yt))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,n=>(e.openBlock(),e.createElementBlock("rect",{key:n.id,x:n.x,y:n.y,width:_,height:C,rx:"16",class:"ob-flow-preview__node","vector-effect":"non-scaling-stroke"},null,8,Wt))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,n=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`content-${n.id}`},[e.createElementVNode("rect",{x:n.x+18,y:n.y+18,width:"64",height:"64",rx:"16",class:"ob-flow-preview__icon-background",style:e.normalizeStyle(n.c?{fill:n.c}:void 0)},null,12,Jt),n.i&&a.icons[n.i]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.icons[n.i]),{key:0,x:n.x+N,y:n.y+N,size:q,color:"white","stroke-width":2.5,"aria-hidden":"true"},null,8,["x","y"])):n.i&&a.iconUrl?(e.openBlock(),e.createElementBlock("image",{key:1,href:a.iconUrl(n.i),x:n.x+N,y:n.y+N,width:q,height:q},null,8,Kt)):(e.openBlock(),e.createElementBlock("text",{key:2,x:n.x+50,y:n.y+68,fill:"white","font-size":"42","font-family":"sans-serif","text-anchor":"middle"}," * ",8,Qt)),e.createElementVNode("rect",{x:n.x+100,y:n.y+45,width:"128",height:"10",rx:"5",class:"ob-flow-preview__line"},null,8,ea)],64))),128))],8,Gt)):e.createCommentVNode("",!0)]))}});exports.FlowPreview=aa;exports.FlowViewer=fe;exports.nodePreviewIconNames=Xt;exports.nodePreviewIcons=T;