Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.85/designer/js/definition-builder/diagram-builder/components/transitions/FloatingConnectionLine",["module","exports","require","liferay!frontend-js-react-web$react","portal-workflow-kaleo-designer-web$react-flow-renderer","./utils"],(function(e,t,r){var o;window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(o=r("liferay!frontend-js-react-web$react"))&&o.__esModule?o:{default:o},i=r("portal-workflow-kaleo-designer-web$react-flow-renderer"),n=r("./utils");var l=({sourceNode:e,sourcePosition:t,targetPosition:r,targetX:o,targetY:l})=>{if(!e)return null;const{sx:s,sy:d}=(0,n.getEdgeParams)(e,{__rf:{height:1,position:{x:o,y:l},width:1},id:"connection-target"}),f=(0,i.getBezierPath)({sourcePosition:t,sourceX:s,sourceY:d,targetPosition:r,targetX:o,targetY:l});return a.default.createElement("g",null,a.default.createElement("path",{className:"animated",d:f,fill:"none",stroke:"#222",strokeWidth:1.5}),a.default.createElement("circle",{cx:o,cy:l,fill:"#fff",r:3,stroke:"#222",strokeWidth:1.5}))};t.default=l}));
//# sourceMappingURL=FloatingConnectionLine.js.map