@ovalbee/flow-viewer 0.0.4 → 0.1.0

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,411 +1 @@
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=["innerHTML"],oe=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),innerHTML:a.data.content},null,14,ae))}}),ne=["data-theme"],ie=["data-theme"],ce={class:"ob-flow-viewer-tooltip__header"},le=["innerHTML"],re={key:1},de={class:"ob-flow-viewer-tooltip__title-wrap"},se={class:"ob-flow-viewer-tooltip__body"},he={key:0,class:"ob-flow-viewer-tooltip__unavailable"},pe={key:1,class:"ob-flow-viewer-tooltip__description"},ye={key:2,class:"ob-flow-viewer-node__ports"},ke={class:"ob-flow-viewer-node__port-group"},ue={key:0,class:"ob-flow-viewer-node__empty"},me={key:0},ve={class:"ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs"},ge={key:0,class:"ob-flow-viewer-node__empty"},we={key:0},L=72,S=64,fe=1.45,Me=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(oe)};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)*fe;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)+L))}}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+S||z.x>=v.x+A+S||(v.y=Math.max(v.y,z.y+w(b)+L))}}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}}),F=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 D(o){if(i.fitViewOnInit){o.fitView({padding:.15,maxZoom:1});return}const s=j.value,p=i.initialZoom,k=F.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:D},{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",ce,[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,le)):(e.openBlock(),e.createElementBlock("span",re,e.toDisplayString(d.value.node.available?d.value.node.name.slice(0,1).toUpperCase():"?"),1))],4),e.createElementVNode("span",de,[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",se,[d.value.node.available?d.value.node.description?(e.openBlock(),e.createElementBlock("p",pe,e.toDisplayString(d.value.node.description),1)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",he," This node template is unavailable. ")),d.value.node.available?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",ke,[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",ue,"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",me,e.toDisplayString(c.description),1)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",ve,[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",ge,"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",we,e.toDisplayString(c.description),1)):e.createCommentVNode("",!0)]))),128))])])):e.createCommentVNode("",!0)])],44,ie)):e.createCommentVNode("",!0)]))],8,ne)}}});/**
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 xe=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 be=(...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 Ve=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 ze=({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:be("lucide",n.class,...a?[`lucide-${$(Ve(a))}-icon`,`lucide-${$(a)}`]:["lucide-icon"]),...!l.default&&!xe(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(ze,{...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 He=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 _e=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 Ce=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 Ee=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 Ne=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 Ae=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 qe=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 Le=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 Pe=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 $e=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 Ie=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 Te=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 je=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 Fe=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 Oe=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 Re=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 Ze=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 Xe=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 Ue=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 Ge=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 Ye=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 We=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 Je=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 Ke=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 Qe=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 et=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 tt=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 at=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 ot=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 nt=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 it=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 ct=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 lt=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 rt=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 dt=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 st=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 ht=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 pt=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 yt=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 kt=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 ut=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 mt=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 vt=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 gt=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 wt=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 ft=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 Mt=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 xt=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 bt=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 Vt=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 zt=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 Ht=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 _t=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 Ct=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 Et=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 Nt=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 At=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 qt=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 Lt=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 Pt=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 $t=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 It=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 Tt=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 jt=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 Ft=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 Ot=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 Rt=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 Zt=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"}]]),Xt=["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"],Ut=Object.freeze(Xt),T=Object.freeze({archive:_e,"archive-restore":He,"arrow-down-to-line":Ce,"badge-check":Ee,bot:Ne,box:Ae,brain:Le,"brain-circuit":qe,"chart-column":Se,"clipboard-check":Pe,"clock-3":$e,"cloud-download":Ie,combine:Te,copy:je,cpu:Fe,crop:De,crosshair:Oe,database:Re,download:Ze,eye:Xe,"file-down":Ue,files:Ge,film:Ye,"folder-plus":We,"folder-root":Je,"folder-sync":Ke,funnel:Qe,"gallery-vertical-end":et,gauge:tt,"git-branch":at,"git-merge":ot,"hard-drive-download":nt,"hard-drive-upload":it,history:ct,image:dt,"image-plus":rt,"image-up":lt,images:st,layers:ht,"list-checks":pt,"loader-circle":yt,mail:kt,moon:ut,"move-right":mt,"octagon-x":vt,"package-minus":gt,"package-open":wt,"package-plus":ft,play:Mt,radar:xt,route:bt,ruler:Bt,scale:Vt,"scan-eye":zt,"scan-search":Ht,"scan-text":_t,scissors:Ct,search:Et,settings:Nt,"shield-check":At,shuffle:qt,sparkles:Lt,split:St,tag:Pt,tags:$t,terminal:It,"text-cursor-input":Tt,"trash-2":jt,"triangle-alert":Ft,trophy:Dt,video:Ot,"wand-sparkles":Rt,webhook:Zt}),Gt={class:"ob-flow-preview"},Yt=["viewBox"],Wt=["d"],Jt=["x","y"],Kt=["x","y"],Qt=["href","x","y"],ea=["x","y"],ta=["x","y"],_=260,C=100,E=140,aa=140,q=48,N=26,oa=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)<aa&&(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",Gt,[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,Wt))),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,Jt))),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,Kt),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,Qt)):(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,ea)),e.createElementVNode("rect",{x:n.x+100,y:n.y+45,width:"128",height:"10",rx:"5",class:"ob-flow-preview__line"},null,8,ta)],64))),128))],8,Yt)):e.createCommentVNode("",!0)]))}});exports.FlowPreview=oa;exports.FlowViewer=Me;exports.nodePreviewIconNames=Ut;exports.nodePreviewIcons=T;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("vue"),t=require("@vue-flow/core"),n=require("@vue-flow/controls"),r=require("@vue-flow/minimap");var i=Symbol(`flow-viewer-details`),a=[`aria-label`],o={class:`ob-flow-viewer-node__header`},s=[`innerHTML`],c={key:1},l={class:`ob-flow-viewer-node__title`},u={key:0,class:`ob-flow-viewer-node__unavailable`},d={key:0,class:`ob-flow-viewer-node__preview`},f=[`innerHTML`],p={key:1,class:`ob-flow-viewer-node__dropzone`},m={class:`ob-flow-viewer-node__dropzone-icon`},h=[`innerHTML`],g={key:2,class:`ob-flow-viewer-node__variable`},_={key:3,class:`ob-flow-viewer-node__link`},v={class:`ob-flow-viewer-node__button`},y=[`innerHTML`],b={key:4,class:`ob-flow-viewer-node__actions`},x={class:`ob-flow-viewer-node__button`},S=[`innerHTML`],C=(0,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){let r=(0,e.inject)(i),C={"report-preview":`Open report`,"model-download":`Download`,"open-labeling-tool":`Open annotation tool`,"open-map":`Open map`,link:`Open link`},w={image:`<rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/>`,upload:`<path d="M12 3v12"/><path d="m17 8-5-5-5 5"/><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>`,externalLink:`<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>`};return(i,T)=>((0,e.openBlock)(),(0,e.createElementBlock)(`article`,{class:(0,e.normalizeClass)([`ob-flow-viewer-node`,[`ob-flow-viewer-node--${n.data.appearance}`,{"ob-flow-viewer-node--unavailable":!n.data.available}]]),tabindex:`0`,"aria-label":`${n.data.name} node`,onMouseenter:T[0]||=t=>(0,e.unref)(r)?.show(n.data,t),onMouseleave:T[1]||=t=>(0,e.unref)(r)?.hide(),onClick:T[2]||=t=>(0,e.unref)(r)?.show(n.data,t),onFocus:T[3]||=t=>(0,e.unref)(r)?.show(n.data,t),onBlur:T[4]||=t=>(0,e.unref)(r)?.hide()},[(0,e.createElementVNode)(`header`,o,[(0,e.createElementVNode)(`span`,{class:`ob-flow-viewer-node__icon`,style:(0,e.normalizeStyle)({"--ob-node-icon-color":n.data.icon?.color??`#64748b`}),"aria-hidden":`true`},[n.data.icon?.svg?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:0,class:`ob-flow-viewer-node__icon-svg`,innerHTML:n.data.icon.svg},null,8,s)):((0,e.openBlock)(),(0,e.createElementBlock)(`span`,c,(0,e.toDisplayString)(n.data.available?n.data.name.slice(0,1).toUpperCase():`?`),1))],4),(0,e.createElementVNode)(`strong`,l,(0,e.toDisplayString)(n.data.name),1),T[5]||=(0,e.createElementVNode)(`span`,{class:`ob-flow-viewer-node__status`,"aria-hidden":`true`},null,-1)]),n.data.available?((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,{key:1},(0,e.renderList)(n.data.widgets,(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{key:n,class:`ob-flow-viewer-node__widget`,"aria-hidden":`true`},[t.id===`asset-preview`||t.id===`image-preview`?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,d,[((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{class:`ob-flow-viewer-node__glyph`,viewBox:`0 0 24 24`,innerHTML:w.image},null,8,f))])):t.id===`import-drag-drop`?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,p,[(0,e.createElementVNode)(`span`,m,[((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{class:`ob-flow-viewer-node__glyph`,viewBox:`0 0 24 24`,innerHTML:w.upload},null,8,h))]),T[6]||=(0,e.createElementVNode)(`span`,null,`Drop files or folders`,-1)])):t.id===`variable`?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,g,[...T[7]||=[(0,e.createElementVNode)(`span`,null,null,-1),(0,e.createElementVNode)(`span`,null,null,-1)]])):t.id===`link`?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,_,[(0,e.createElementVNode)(`span`,v,[((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{class:`ob-flow-viewer-node__glyph`,viewBox:`0 0 24 24`,innerHTML:w.externalLink},null,8,y)),(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.label??C.link),1)])])):((0,e.openBlock)(),(0,e.createElementBlock)(`div`,b,[(0,e.createElementVNode)(`span`,x,[t.id===`open-labeling-tool`?((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{key:0,class:`ob-flow-viewer-node__glyph`,viewBox:`0 0 24 24`,innerHTML:w.externalLink},null,8,S)):(0,e.createCommentVNode)(``,!0),(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.label??C[t.id]),1)])]))]))),128)):((0,e.openBlock)(),(0,e.createElementBlock)(`p`,u,`This node template is unavailable.`)),n.data.connectedHandles.has(`target`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:2,type:`target`,position:(0,e.unref)(t.Position).Top},null,8,[`position`])):(0,e.createCommentVNode)(``,!0),n.data.connectedHandles.has(`left`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:3,id:`left`,type:`target`,position:(0,e.unref)(t.Position).Left},null,8,[`position`])):(0,e.createCommentVNode)(``,!0),n.data.connectedHandles.has(`right`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:4,id:`right`,type:`target`,position:(0,e.unref)(t.Position).Right},null,8,[`position`])):(0,e.createCommentVNode)(``,!0),n.data.connectedHandles.has(`source`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:5,type:`source`,position:(0,e.unref)(t.Position).Bottom},null,8,[`position`])):(0,e.createCommentVNode)(``,!0),n.data.connectedHandles.has(`left-source`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:6,id:`left-source`,type:`source`,position:(0,e.unref)(t.Position).Left},null,8,[`position`])):(0,e.createCommentVNode)(``,!0),n.data.connectedHandles.has(`right-source`)?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(t.Handle),{key:7,id:`right-source`,type:`source`,position:(0,e.unref)(t.Position).Right},null,8,[`position`])):(0,e.createCommentVNode)(``,!0)],42,a))}}),w=[`innerHTML`],T=(0,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(t){let n=t,r=(0,e.computed)(()=>({width:`${n.data.appearance.width}px`,minHeight:n.data.appearance.height?`${n.data.appearance.height}px`:void 0}));return(n,i)=>((0,e.openBlock)(),(0,e.createElementBlock)(`article`,{class:(0,e.normalizeClass)([`ob-flow-viewer-note`,`ob-flow-viewer-note--${t.data.appearance.color}`]),style:(0,e.normalizeStyle)(r.value),innerHTML:t.data.content},null,14,w))}}),E=[`data-theme`],D=[`data-theme`],O={class:`ob-flow-viewer-tooltip__header`},k=[`innerHTML`],A={key:1},j={class:`ob-flow-viewer-tooltip__title-wrap`},ee={class:`ob-flow-viewer-tooltip__body`},te={key:0,class:`ob-flow-viewer-tooltip__unavailable`},ne={key:1,class:`ob-flow-viewer-tooltip__description`},re={key:2,class:`ob-flow-viewer-node__ports`},ie={class:`ob-flow-viewer-node__port-group`},ae={key:0,class:`ob-flow-viewer-node__empty`},oe={key:0},se={class:`ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs`},M={key:0,class:`ob-flow-viewer-node__empty`},N={key:0},P=(0,e.defineComponent)({__name:`FlowViewer`,props:{document:{},id:{},fitViewOnInit:{type:Boolean,default:!1},showControls:{type:Boolean,default:!0},showMiniMap:{type:Boolean,default:!0},showNodeDetails:{type:Boolean,default:!0},panOnScroll:{type:Boolean,default:!1},minZoom:{default:.1},maxZoom:{default:2},initialZoom:{default:.8},theme:{default:`light`}},setup(a){let o=a,s=(0,e.useId)(),c=(0,e.computed)(()=>o.id??`ob-flow-viewer-${s}`),l={catalog:(0,e.markRaw)(C),note:(0,e.markRaw)(T)},u=[.5,.5],d={"asset-preview":139,"image-preview":139,"import-drag-drop":66,variable:62,link:44};function f(e){return e.kind===`note`?{width:e.appearance.width,height:e.appearance.height??130}:e.appearance===`compact`?{width:220,height:38}:e.available?{width:250,height:e.widgets.reduce((e,t)=>e+(d[t.id]??40),50)}:{width:250,height:72}}let p=(0,e.ref)(null),m=null;function h(){m!==null&&(clearTimeout(m),m=null)}function g(){h(),m=setTimeout(()=>{p.value=null,m=null},140)}(0,e.onBeforeUnmount)(h);function _(e){let t=new Set;for(let n of o.document.edges)n.source===e&&t.add(n.sourceHandle??`source`),n.target===e&&t.add(n.targetHandle??`target`);return t}function v(e,t){if(!o.showNodeDetails)return;h();let n=t.currentTarget;if(!(n instanceof HTMLElement))return;let r=n.getBoundingClientRect(),i=Math.min(404,window.innerWidth-24),a=Math.min(520,window.innerHeight-24),s=r.right+12+i/2;s+i/2>window.innerWidth-12&&(s=r.left-12-i/2),s=Math.max(i/2+12,Math.min(s,window.innerWidth-i/2-12)),p.value={node:e,x:s,y:Math.max(12,Math.min(r.top,window.innerHeight-a-12))}}function y(){g()}(0,e.provide)(i,{show:v,hide:y});let b=(0,e.computed)(()=>o.document.nodes.map(e=>e.kind===`note`?{id:e.id,type:`note`,position:e.position,data:e,style:{width:`${e.appearance.width}px`,height:e.appearance.height?`${e.appearance.height}px`:void 0}}:{id:e.id,type:`catalog`,position:e.position,data:{...e,connectedHandles:_(e.id)},selectable:!1})),x=(0,e.computed)(()=>o.document.edges.map((e,n)=>({id:`viewer-edge-${n}-${e.source}-${e.target}`,source:e.source,target:e.target,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle,type:t.ConnectionLineType.SmoothStep,data:e.data,label:typeof e.data?.label==`string`?e.data.label:void 0,style:e.isVisual?{strokeDasharray:`6 4`}:void 0,selectable:!1}))),S=(0,e.computed)(()=>{if(o.document.nodes.length===0)return{minX:0,minY:0,maxX:0,maxY:0};let e=1/0,t=1/0,n=-1/0,r=-1/0;for(let i of o.document.nodes){let{width:a,height:o}=f(i);e=Math.min(e,i.position.x-a/2),t=Math.min(t,i.position.y-o/2),n=Math.max(n,i.position.x+a/2),r=Math.max(r,i.position.y+o/2)}return{minX:e,minY:t,maxX:n,maxY:r}}),w=(0,e.computed)(()=>{let e=o.document.nodes.filter(e=>e.kind===`node`),t=new Set(o.document.edges.map(e=>e.target)),n=e.filter(e=>!t.has(e.id));return[...n.length>0?n:e.length>0?e:o.document.nodes].sort((e,t)=>e.position.y-t.position.y||e.position.x-t.position.x)[0]}),P=(0,e.shallowRef)(null);function F(){P.value?.fitView({padding:.15,maxZoom:1})}function I(e){if(P.value=e,o.fitViewOnInit){F();return}let t=S.value,n=o.initialZoom,r=w.value?.position??null,i=r?r.x*n:(t.minX+t.maxX)/2*n;e.setViewport({x:e.dimensions.value.width/2-i,y:24-t.minY*n,zoom:n})}return(i,o)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,{class:`ob-flow-viewer`,"data-theme":a.theme},[(0,e.createVNode)((0,e.unref)(t.VueFlow),{id:c.value,nodes:b.value,edges:x.value,"node-origin":u,"node-types":l,"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:I,onNodesInitialized:o[0]||=e=>a.fitViewOnInit?F():void 0},{default:(0,e.withCtx)(()=>[a.showControls?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(n.Controls),{key:0,"show-interactive":!1})):(0,e.createCommentVNode)(``,!0),a.showMiniMap?((0,e.openBlock)(),(0,e.createBlock)((0,e.unref)(r.MiniMap),{key:1,pannable:!0,zoomable:!0,"mask-color":a.theme===`dark`?`rgba(0, 0, 0, 0.55)`:`rgba(240, 240, 240, 0.6)`},null,8,[`mask-color`])):(0,e.createCommentVNode)(``,!0)]),_:1},8,[`id`,`nodes`,`edges`,`min-zoom`,`max-zoom`,`pan-on-scroll`]),((0,e.openBlock)(),(0,e.createBlock)(e.Teleport,{to:`body`},[p.value?((0,e.openBlock)(),(0,e.createElementBlock)(`section`,{key:0,class:`ob-flow-viewer-tooltip`,"data-theme":a.theme,style:(0,e.normalizeStyle)({left:`${p.value.x}px`,top:`${p.value.y}px`}),role:`tooltip`,tabindex:`0`,onMouseenter:h,onMouseleave:y,onFocusin:h,onFocusout:y,onPointerdown:o[1]||=(0,e.withModifiers)(()=>{},[`stop`]),onMousedown:o[2]||=(0,e.withModifiers)(()=>{},[`stop`]),onClick:o[3]||=(0,e.withModifiers)(()=>{},[`stop`])},[(0,e.createElementVNode)(`header`,O,[(0,e.createElementVNode)(`span`,{class:`ob-flow-viewer-tooltip__icon`,style:(0,e.normalizeStyle)({"--ob-node-icon-color":p.value.node.icon?.color??`#64748b`}),"aria-hidden":`true`},[p.value.node.icon?.svg?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:0,class:`ob-flow-viewer-node__icon-svg`,innerHTML:p.value.node.icon.svg},null,8,k)):((0,e.openBlock)(),(0,e.createElementBlock)(`span`,A,(0,e.toDisplayString)(p.value.node.available?p.value.node.name.slice(0,1).toUpperCase():`?`),1))],4),(0,e.createElementVNode)(`span`,j,[(0,e.createElementVNode)(`strong`,null,(0,e.toDisplayString)(p.value.node.name),1),(0,e.createElementVNode)(`code`,null,(0,e.toDisplayString)(p.value.node.key),1)])]),(0,e.createElementVNode)(`div`,ee,[p.value.node.available?p.value.node.description?((0,e.openBlock)(),(0,e.createElementBlock)(`p`,ne,(0,e.toDisplayString)(p.value.node.description),1)):(0,e.createCommentVNode)(``,!0):((0,e.openBlock)(),(0,e.createElementBlock)(`p`,te,` This node template is unavailable. `)),p.value.node.available?((0,e.openBlock)(),(0,e.createElementBlock)(`div`,re,[(0,e.createElementVNode)(`div`,ie,[o[4]||=(0,e.createElementVNode)(`span`,{class:`ob-flow-viewer-node__port-heading`},`Inputs`,-1),p.value.node.inputs.length===0?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,ae,`None`)):(0,e.createCommentVNode)(``,!0),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(p.value.node.inputs,t=>((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:t.key,class:`ob-flow-viewer-node__port`},[(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.name),1),t.description?((0,e.openBlock)(),(0,e.createElementBlock)(`small`,oe,(0,e.toDisplayString)(t.description),1)):(0,e.createCommentVNode)(``,!0)]))),128))]),(0,e.createElementVNode)(`div`,se,[o[5]||=(0,e.createElementVNode)(`span`,{class:`ob-flow-viewer-node__port-heading`},`Outputs`,-1),p.value.node.outputs.length===0?((0,e.openBlock)(),(0,e.createElementBlock)(`span`,M,`None`)):(0,e.createCommentVNode)(``,!0),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(p.value.node.outputs,t=>((0,e.openBlock)(),(0,e.createElementBlock)(`span`,{key:t.key,class:`ob-flow-viewer-node__port`},[(0,e.createElementVNode)(`span`,null,(0,e.toDisplayString)(t.name),1),t.description?((0,e.openBlock)(),(0,e.createElementBlock)(`small`,N,(0,e.toDisplayString)(t.description),1)):(0,e.createCommentVNode)(``,!0)]))),128))])])):(0,e.createCommentVNode)(``,!0)])],44,D)):(0,e.createCommentVNode)(``,!0)]))],8,E))}}),F=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},I=e=>e===``,L=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),R=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),z=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),B=e=>{let t=z(e);return t.charAt(0).toUpperCase()+t.slice(1)},V={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`},H=({name:t,iconNode:n,absoluteStrokeWidth:r,"absolute-stroke-width":i,strokeWidth:a,"stroke-width":o,size:s=V.width,color:c=V.stroke,...l},{slots:u})=>(0,e.h)(`svg`,{...V,...l,width:s,height:s,stroke:c,"stroke-width":I(r)||I(i)||r===!0||i===!0?Number(a||o||V[`stroke-width`])*24/Number(s):a||o||V[`stroke-width`],class:L(`lucide`,l.class,...t?[`lucide-${R(B(t))}-icon`,`lucide-${R(t)}`]:[`lucide-icon`]),...!u.default&&!F(l)&&{"aria-hidden":`true`}},[...n.map(t=>(0,e.h)(...t)),...u.default?[u.default()]:[]]),U=(t,n)=>(r,{slots:i,attrs:a})=>(0,e.h)(H,{...a,...r,iconNode:n,name:t},i),W=U(`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`}]]),G=U(`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`}]]),K=U(`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`}]]),ce=U(`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`}]]),le=U(`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`}]]),ue=U(`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`}]]),de=U(`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`}]]),fe=U(`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`}]]),pe=U(`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`}]]),me=U(`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`}]]),he=U(`clock-3`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6h4`,key:`135r8i`}]]),ge=U(`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`}]]),_e=U(`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`}]]),ve=U(`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`}]]),ye=U(`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`}]]),be=U(`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`}]]),xe=U(`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`}]]),Se=U(`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`}]]),Ce=U(`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`}]]),we=U(`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`}]]),Te=U(`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`}]]),Ee=U(`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`}]]),De=U(`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`}]]),Oe=U(`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`}]]),ke=U(`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`}]]),Ae=U(`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`}]]),je=U(`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`}]]),Me=U(`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`}]]),Ne=U(`gauge`,[[`path`,{d:`m12 14 4-4`,key:`9kzdfg`}],[`path`,{d:`M3.34 19a10 10 0 1 1 17.32 0`,key:`19p75a`}]]),Pe=U(`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`}]]),Fe=U(`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`}]]),Ie=U(`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`}]]),Le=U(`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`}]]),Re=U(`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`}]]),ze=U(`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`}]]),Be=U(`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`}]]),Ve=U(`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`}]]),He=U(`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`}]]),Ue=U(`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`}]]),We=U(`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`}]]),Ge=U(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Ke=U(`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`}]]),qe=U(`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`}]]),Je=U(`move-right`,[[`path`,{d:`M18 8L22 12L18 16`,key:`1r0oui`}],[`path`,{d:`M2 12H22`,key:`1m8cig`}]]),Ye=U(`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`}]]),Xe=U(`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`}]]),Ze=U(`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`}]]),Qe=U(`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`}]]),$e=U(`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`}]]),et=U(`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`}]]),tt=U(`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`}]]),nt=U(`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`}]]),rt=U(`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`}]]),it=U(`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`}]]),at=U(`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`}]]),ot=U(`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`}]]),st=U(`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`}]]),ct=U(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),lt=U(`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`}]]),ut=U(`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`}]]),dt=U(`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`}]]),ft=U(`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`}]]),pt=U(`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`}]]),mt=U(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),ht=U(`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`}]]),gt=U(`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`}]]),_t=U(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),vt=U(`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`}]]),yt=U(`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`}]]),bt=U(`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`}]]),xt=U(`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`}]]),St=U(`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`}]]),Ct=U(`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`}]]),wt=U(`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`}]]),Tt=Object.freeze(`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.square-pen.tag.tags.terminal.text-cursor-input.trash-2.triangle-alert.trophy.video.wand-sparkles.webhook`.split(`.`)),q=Object.freeze({archive:G,"archive-restore":W,"arrow-down-to-line":K,"badge-check":ce,bot:le,box:ue,brain:fe,"brain-circuit":de,"chart-column":pe,"clipboard-check":me,"clock-3":he,"cloud-download":ge,combine:_e,copy:ve,cpu:ye,crop:be,crosshair:xe,database:Se,download:Ce,eye:we,"file-down":Te,files:Ee,film:De,"folder-plus":Oe,"folder-root":ke,"folder-sync":Ae,funnel:je,"gallery-vertical-end":Me,gauge:Ne,"git-branch":Pe,"git-merge":Fe,"hard-drive-download":Ie,"hard-drive-upload":Le,history:Re,image:Ve,"image-plus":Be,"image-up":ze,images:He,layers:Ue,"list-checks":We,"loader-circle":Ge,mail:Ke,moon:qe,"move-right":Je,"octagon-x":Ye,"package-minus":Xe,"package-open":Ze,"package-plus":Qe,play:$e,radar:et,route:tt,ruler:nt,scale:rt,"scan-eye":it,"scan-search":at,"scan-text":ot,scissors:st,search:ct,settings:lt,"shield-check":ut,shuffle:dt,sparkles:ft,split:pt,"square-pen":mt,tag:ht,tags:gt,terminal:_t,"text-cursor-input":vt,"trash-2":yt,"triangle-alert":bt,trophy:xt,video:St,"wand-sparkles":Ct,webhook:wt}),Et={class:`ob-flow-preview`},Dt=[`viewBox`],Ot=[`d`],kt=[`x`,`y`],At=[`x`,`y`],J=[`href`,`x`,`y`],jt=[`x`,`y`],Mt=[`x`,`y`],Y=260,X=100,Z=140,Nt=140,Q=48,$=26,Pt=(0,e.defineComponent)({__name:`FlowPreview`,props:{preview:{},icons:{default:()=>q},iconUrl:{type:Function,default:void 0}},setup(t){let n=t,r=(0,e.computed)(()=>{let e=n.preview?.n??[],t=new Map(e.map(e=>[e.id,{x:e.x,y:e.y}]));for(let r=0;r<e.length;r+=1)for(let e of n.preview?.e??[]){let n=t.get(e.s),r=t.get(e.t);n&&r&&Math.abs(n.x-r.x)<Nt&&(r.x=n.x)}return e.map(e=>({...e,...t.get(e.id)??{x:e.x,y:e.y}}))}),i=(0,e.computed)(()=>{let e=r.value;if(e.length===0)return`0 0 1 1`;let t=1/0,n=1/0,i=-1/0,a=-1/0;for(let r of e)t=Math.min(t,r.x),n=Math.min(n,r.y),i=Math.max(i,r.x+Y),a=Math.max(a,r.y+X);return`${t-Z} ${n-Z} ${i-t+280} ${a-n+280}`}),a=(0,e.computed)(()=>new Map(r.value.map(e=>[e.id,e])));function o(e,t){let n=a.value.get(e),r=a.value.get(t);return!n||!r?``:`M ${n.x+Y/2} ${n.y+X/2} L ${r.x+Y/2} ${r.y+X/2}`}return(n,a)=>((0,e.openBlock)(),(0,e.createElementBlock)(`div`,Et,[t.preview&&t.preview.n.length>0?((0,e.openBlock)(),(0,e.createElementBlock)(`svg`,{key:0,class:`ob-flow-preview__svg`,viewBox:i.value,preserveAspectRatio:`xMidYMid meet`},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(t.preview.e,(t,n)=>((0,e.openBlock)(),(0,e.createElementBlock)(`path`,{key:n,d:o(t.s,t.t),class:`ob-flow-preview__edge`,"vector-effect":`non-scaling-stroke`},null,8,Ot))),128)),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(r.value,t=>((0,e.openBlock)(),(0,e.createElementBlock)(`rect`,{key:t.id,x:t.x,y:t.y,width:Y,height:X,rx:`16`,class:`ob-flow-preview__node`,"vector-effect":`non-scaling-stroke`},null,8,kt))),128)),((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(r.value,n=>((0,e.openBlock)(),(0,e.createElementBlock)(e.Fragment,{key:`content-${n.id}`},[(0,e.createElementVNode)(`rect`,{x:n.x+18,y:n.y+18,width:`64`,height:`64`,rx:`16`,class:`ob-flow-preview__icon-background`,style:(0,e.normalizeStyle)(n.c?{fill:n.c}:void 0)},null,12,At),n.i&&t.icons[n.i]?((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.icons[n.i]),{key:0,x:n.x+$,y:n.y+$,size:Q,color:`white`,"stroke-width":2.5,"aria-hidden":`true`},null,8,[`x`,`y`])):n.i&&t.iconUrl?((0,e.openBlock)(),(0,e.createElementBlock)(`image`,{key:1,href:t.iconUrl(n.i),x:n.x+$,y:n.y+$,width:Q,height:Q},null,8,J)):((0,e.openBlock)(),(0,e.createElementBlock)(`text`,{key:2,x:n.x+50,y:n.y+68,fill:`white`,"font-size":`42`,"font-family":`inherit`,"text-anchor":`middle`},` * `,8,jt)),(0,e.createElementVNode)(`rect`,{x:n.x+100,y:n.y+45,width:`128`,height:`10`,rx:`5`,class:`ob-flow-preview__line`},null,8,Mt)],64))),128))],8,Dt)):(0,e.createCommentVNode)(``,!0)]))}});exports.FlowPreview=Pt,exports.FlowViewer=P,exports.nodePreviewIconNames=Tt,exports.nodePreviewIcons=q;