@likec4/diagram 1.0.0-next.0 → 1.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +1 -10
- package/dist/index.d.ts +7 -3
- package/dist/index.js +13043 -1
- package/dist/style.css +1 -1
- package/dist/xyflow/XYFlowEvents.d.ts +1 -1
- package/dist/xyflow/nodes/element/ElementNode.d.ts +2 -1
- package/package.json +18 -40
- package/dist/bundle.js +0 -30
- package/dist/index-DClug9zV.js +0 -23964
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.react-flow{--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.draggable.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow__edges{position:absolute}.react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{--likec4-font-family: var(--likec4-default-font-family, var(--mantine-font-family));--likec4-background-color: var(--mantine-color-body);--likec4-compound-font-family: var(--likec4-font-family, var(--mantine-font-family));--likec4-compound-title-color: var(--likec4-element-loContrast);--likec4-element-font-family: var(--likec4-font-family, var(--mantine-font-family));--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1;--xy-background-color: var(--likec4-background-color)}:where([data-likec4-color=primary]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=blue]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=secondary]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=sky]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=muted]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=slate]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=gray]){--likec4-element-fill: #737373;--likec4-element-stroke: #525252;--likec4-element-hiContrast: #fafafa;--likec4-element-loContrast: #d4d4d4;--likec4-compound-title-color: #d4d4d4;--likec4-relation-lineColor: #6E6E6E;--likec4-relation-labelBg: #18191b;--likec4-relation-labelColor: #C6C6C6}:where([data-likec4-color=red]){--likec4-element-fill: #AC4D39;--likec4-element-stroke: #853A2D;--likec4-element-hiContrast: #FBD3CB;--likec4-element-loContrast: #FF977D;--likec4-compound-title-color: #FF977D;--likec4-relation-lineColor: #AC4D39;--likec4-relation-labelBg: #b91c1c;--likec4-relation-labelColor: #FF977D}:where([data-likec4-color=green]){--likec4-element-fill: #428a4f;--likec4-element-stroke: #2d5d39;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #c2f0c2;--likec4-compound-title-color: #c2f0c2;--likec4-relation-lineColor: #15803d;--likec4-relation-labelBg: #052e16;--likec4-relation-labelColor: #22c55e}:where([data-likec4-color=amber]){--likec4-element-fill: #A35829;--likec4-element-stroke: #7E451D;--likec4-element-hiContrast: #FFE0C2;--likec4-element-loContrast: #FFA057;--likec4-compound-title-color: #FFA057;--likec4-relation-lineColor: #b45309;--likec4-relation-labelBg: #78350f;--likec4-relation-labelColor: #FFE0C2}:where([data-likec4-color=indigo]){--likec4-element-fill: #6366f1;--likec4-element-stroke: #4f46e5;--likec4-element-hiContrast: #eef2ff;--likec4-element-loContrast: #c7d2fe;--likec4-compound-title-color: #c7d2fe;--likec4-relation-lineColor: #6366f1;--likec4-relation-labelBg: #1e1b4b;--likec4-relation-labelColor: #818cf8}._1yqpph0{background-color:transparent}._1yqpph1{padding:0;height:100%}._1yqpph2{position:absolute;top:1rem;left:1rem}._1yqpph3{position:absolute;top:1rem;right:1rem}@media (min-width: 62em){._1yqpph4{--cb-size: var(--cb-size-lg)}}._2h8g8h0{--xy-background-color: var(--likec4-background-color);min-height:100px}._2h8g8h1 .react-flow__pane{cursor:default}._2h8g8h2{--likec4-background-color: transparent !important;--xy-background-color: transparent !important;background-color:transparent!important}:where(._2h8g8h3,._2h8g8h2) .react-flow__attribution{display:none}._14qhjro0{position:relative;width:100%;height:auto;margin-left:auto;margin-right:auto;padding:0;box-sizing:border-box}._1lmzt1h0{top:1rem;right:1rem;margin:0;box-shadow:var(--mantine-shadow-xl)}.bexn7q0{--xy-edge-stroke: var(--likec4-relation-lineColor);--xy-edge-stroke-selected: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-label-color: var(--likec4-relation-labelColor);--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 15%);--xy-edge-stroke-width: 2.5px}[data-mantine-color-scheme=dark] .bexn7q0{--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 75%)}.bexn7q0[data-edge-hovered=true]{--xy-edge-stroke: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-stroke-width: 3px}.react-flow__edge.selected .bexn7q0{--xy-edge-stroke-width: 2.5}.react-flow__edges>svg{mix-blend-mode:lighten}.bexn7q1{stroke-width:calc(var(--xy-edge-stroke-width) + 8);stroke-opacity:.1}.bexn7q2{fill:var(--xy-edge-stroke);stroke:var(--xy-edge-stroke)}.react-flow__edge.selected .bexn7q2{--xy-edge-stroke: var(--xy-edge-stroke-selected)}.bexn7q0[data-edge-hovered=true] .bexn7q3{transition:all .13s ease-out}.bexn7q4{font-family:var(--likec4-font-family);position:absolute;pointer-events:all;cursor:pointer;transform-origin:50% 50%;text-align:left;mix-blend-mode:screen;padding:2px 6px 4px;width:max-content;background-color:var(--xy-edge-label-background-color);border-radius:3px}.bexn7q4[data-edge-hovered=true]{transition:all .14s ease-out;transform:scale(1.1)}.bexn7q5{color:var(--xy-edge-label-color);font-size:calc(.75rem * var(--mantine-scale));transition:color .12s ease-out}@keyframes lbtzdo3{0%{opacity:.6}to{opacity:.4}}.lbtzdo0{width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;position:relative;padding:0;margin:0}.lbtzdo1{width:100%;height:100%;position:relative;border-radius:calc(.375rem * var(--mantine-scale));box-shadow:0 4px 10px .5px #0000001a,0 2px 2px -1px #0006;padding:calc(.5rem * var(--mantine-scale));background:var(--likec4-element-fill);transition:all .3s ease-out}:where(.react-flow__node.selected) .lbtzdo1{box-shadow:none}.lbtzdo2{font-family:var(--likec4-compound-font-family);font-optical-sizing:auto;font-style:normal;text-align:left;display:inline-block;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.2px;line-height:1;opacity:.75;color:var(--likec4-compound-title-color);padding-left:calc(.75rem * var(--mantine-scale));mix-blend-mode:lighten}:where([data-likec4-navigable=true]) .lbtzdo2{padding-left:calc(1.625rem * var(--mantine-scale))}.lbtzdo4{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible;stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6px;animation-duration:.8s;animation-name:lbtzdo3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}.react-flow__node.selected .lbtzdo4{visibility:visible}.lbtzdo5{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));position:absolute;pointer-events:all;left:3px;top:7px;color:var(--likec4-element-loContrast);transform-origin:90% 70%;opacity:.75;transition:all .15s ease-out;transition-delay:0ms;background-color:var(--ai-bg)}.lbtzdo5:hover{box-shadow:var(--mantine-shadow-lg);transform:scale(1.466);opacity:1;transition-delay:0}.lbtzdo5:active{transform:scale(1.1);opacity:1;transition-delay:0}:where(.react-flow__node:not(.dragging) .lbtzdo0:hover) .lbtzdo5:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:scale(1.223);opacity:1;transition-delay:.25s}.lbtzdo5 svg.icon{width:70%;height:70%;stroke-width:1.5}@keyframes _1b6tkn3{0%{opacity:.6}to{opacity:.4}}._1b6tkn2{--_1b6tkn0: color-mix(in srgb, var(--likec4-element-stroke) 90%, var(--likec4-element-fill));--likec4-element-font-family: var(--likec4-font-family);position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:0;margin:0}._1b6tkn4{stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6;animation-duration:.8s;animation-name:_1b6tkn3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}:where([data-likec4-shape=queue],[data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tkn4{stroke-width:10}.react-flow__node.selected ._1b6tkn4{visibility:visible}._1b6tkn5{fill:var(--likec4-element-fill)}._1b6tkn6{fill:var(--likec4-element-stroke)}._1b6tkn7{fill:var(--_1b6tkn0)}._1b6tkn8{flex:0 0 auto;font-family:var(--likec4-element-font-family);font-optical-sizing:auto;font-style:normal;text-align:center;font-weight:500;font-size:calc(1.1875rem * var(--mantine-scale));line-height:1.22;text-wrap:balance;color:var(--likec4-element-hiContrast)}._1b6tkn9{flex:0 1 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.875rem * var(--mantine-scale));line-height:1.2;text-align:center;text-wrap:pretty;color:var(--likec4-element-loContrast);white-space-collapse:preserve-breaks;text-overflow:ellipsis;overflow:hidden}._1b6tkna{flex:0 0 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.75rem * var(--mantine-scale));line-height:1.25;text-align:center;text-wrap:balance;opacity:.92;color:var(--likec4-element-loContrast)}._1b6tkn2:hover ._1b6tkna{opacity:1}._1b6tknb{--_1b6tkn1: calc(1.5rem * var(--mantine-scale));position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:var(--_1b6tkn1);display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden;gap:calc(.5rem * var(--mantine-scale))}._1b6tknb:has(._1b6tkn9):has(._1b6tkna){gap:calc(.375rem * var(--mantine-scale))}:where([data-likec4-shape=queue],[data-likec4-shape=mobile]) ._1b6tknb{padding-left:calc(2.5rem * var(--mantine-scale));padding-right:calc(1.25rem * var(--mantine-scale))}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tknb{padding-top:calc(2.125rem * var(--mantine-scale))}:where([data-likec4-shape=browser]) ._1b6tknb{padding-top:calc(2.25rem * var(--mantine-scale))}._1b6tknd{--_1b6tknc: 30px;flex:0 1 var(--_1b6tknc);max-height:var(--_1b6tknc);margin-top:-8px;position:relative;user-select:none;pointer-events:none;overflow:visible;mix-blend-mode:hard-light}._1b6tknd img{position:absolute;left:0;bottom:0;width:100%;height:auto;object-fit:contain;max-height:calc(var(--_1b6tknc) + 16px)}._1b6tkng{--_1b6tkne: drop-shadow(0 2px 1px rgba(0, 0, 0, .21)) drop-shadow(0 1px 1px color-mix(in srgb, var(--likec4-element-stroke) 40%, transparent)) drop-shadow(0 5px 3px rgba(0, 0, 0, .1)) ;top:0;left:0;position:absolute;pointer-events:none;fill:var(--likec4-element-fill);stroke:var(--likec4-element-stroke);overflow:visible;filter:var(--_1b6tknf, var(--_1b6tkne));transition:filter .3s ease-out;transition-delay:0ms}:where(.react-flow__node.selected) ._1b6tkng{filter:none}._1b6tknh{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));z-index:calc(var(--layer-overlays, 1) + 1);position:absolute;pointer-events:all;left:50%;bottom:0;color:var(--likec4-element-loContrast);transform-origin:50% 65%;opacity:.75;transition:all .15s ease-out;transform:translate(-50%);transition-delay:0ms;background-color:var(--ai-bg)}._1b6tknh:hover{box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.465);opacity:1;transition-delay:0}._1b6tknh:active{transform:translate(-50%) scale(1.1);opacity:1;transition-delay:0}:where([data-likec4-shape=browser]) ._1b6tknh{bottom:3px}:where(.react-flow__node:not(.dragging) ._1b6tkn2:hover) ._1b6tknh:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.25);opacity:1;transition-delay:.25s}._1b6tknh svg.icon{width:70%;height:70%;stroke-width:1.5}._4ysv0o0{position:absolute;left:0;bottom:0;padding-left:6px;padding-bottom:6px}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._4ysv0o0{bottom:6px}:where([data-likec4-shape=queue]) ._4ysv0o0{left:12px;bottom:-3px}._4ysv0o1{display:flex;line-height:.75;font-size:11px;align-items:center;justify-content:center;color:var(--likec4-element-loContrast);padding:2px 5px;border-radius:4px;background-color:color-mix(in srgb,var(--likec4-element-stroke),transparent 20%);transition:all .18s ease-out;opacity:.85}._4ysv0o1:hover{color:var(--likec4-element-hiContrast);background-color:var(--likec4-element-stroke);opacity:1}._4ysv0o1 .icon{display:inline-block;line-height:1;width:11px;height:11px;opacity:.6}._4ysv0o1 span{display:inline-block;line-height:1;margin-left:3px}._4ysv0o2{text-align:left}
|
|
1
|
+
.react-flow{--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.draggable.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow__edges{position:absolute}.react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}._2t65ix0 *,._2t65ix0 *:before,._2t65ix0 *:after{box-sizing:border-box;outline:none;border-width:0;border-style:solid;border-color:transparent}:root,:host{--likec4-font-family: var(--likec4-default-font-family, Helvetica, Arial, sans-serif);--likec4-background-color: var(--mantine-color-body);--likec4-compound-font-family: var(--likec4-font-family);--likec4-compound-title-color: var(--likec4-element-loContrast);--likec4-element-font-family: var(--likec4-font-family);--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=primary]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=blue]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=secondary]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=sky]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=muted]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=slate]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=gray]){--likec4-element-fill: #737373;--likec4-element-stroke: #525252;--likec4-element-hiContrast: #fafafa;--likec4-element-loContrast: #d4d4d4;--likec4-compound-title-color: #d4d4d4;--likec4-relation-lineColor: #6E6E6E;--likec4-relation-labelBg: #18191b;--likec4-relation-labelColor: #C6C6C6}:where([data-likec4-color=red]){--likec4-element-fill: #AC4D39;--likec4-element-stroke: #853A2D;--likec4-element-hiContrast: #FBD3CB;--likec4-element-loContrast: #FF977D;--likec4-compound-title-color: #FF977D;--likec4-relation-lineColor: #AC4D39;--likec4-relation-labelBg: #b91c1c;--likec4-relation-labelColor: #FF977D}:where([data-likec4-color=green]){--likec4-element-fill: #428a4f;--likec4-element-stroke: #2d5d39;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #c2f0c2;--likec4-compound-title-color: #c2f0c2;--likec4-relation-lineColor: #15803d;--likec4-relation-labelBg: #052e16;--likec4-relation-labelColor: #22c55e}:where([data-likec4-color=amber]){--likec4-element-fill: #A35829;--likec4-element-stroke: #7E451D;--likec4-element-hiContrast: #FFE0C2;--likec4-element-loContrast: #FFA057;--likec4-compound-title-color: #FFA057;--likec4-relation-lineColor: #b45309;--likec4-relation-labelBg: #78350f;--likec4-relation-labelColor: #FFE0C2}:where([data-likec4-color=indigo]){--likec4-element-fill: #6366f1;--likec4-element-stroke: #4f46e5;--likec4-element-hiContrast: #eef2ff;--likec4-element-loContrast: #c7d2fe;--likec4-compound-title-color: #c7d2fe;--likec4-relation-lineColor: #6366f1;--likec4-relation-labelBg: #1e1b4b;--likec4-relation-labelColor: #818cf8}._1yqpph0{background-color:transparent}._1yqpph1{padding:0;height:100%}._1yqpph2{position:absolute;top:1rem;left:1rem}._1yqpph3{position:absolute;top:1rem;right:1rem}@media (min-width: 62em){._1yqpph4{--cb-size: var(--cb-size-lg)}}._2h8g8h0{--xy-background-color: var(--likec4-background-color);min-height:100px}._2h8g8h1 .react-flow__pane{cursor:default}._2h8g8h2{--likec4-background-color: transparent !important;--xy-background-color: transparent !important;background-color:transparent!important}:where(._2h8g8h3,._2h8g8h2) .react-flow__attribution{display:none}._14qhjro0{position:relative;width:100%;height:auto;margin-left:auto;margin-right:auto;padding:0;box-sizing:border-box}._1lmzt1h0{top:1rem;right:1rem;margin:0;box-shadow:var(--mantine-shadow-xl)}.bexn7q0{--xy-edge-stroke: var(--likec4-relation-lineColor);--xy-edge-stroke-selected: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-label-color: var(--likec4-relation-labelColor);--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 15%);--xy-edge-stroke-width: 2.5px}[data-mantine-color-scheme=dark] .bexn7q0{--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 75%)}.bexn7q0[data-edge-hovered=true]{--xy-edge-stroke: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-stroke-width: 3px}.react-flow__edge.selected .bexn7q0{--xy-edge-stroke-width: 2.5}.react-flow__edges>svg{mix-blend-mode:lighten}.bexn7q1{stroke-width:calc(var(--xy-edge-stroke-width) + 8);stroke-opacity:.1}.bexn7q2{fill:var(--xy-edge-stroke);stroke:var(--xy-edge-stroke)}.react-flow__edge.selected .bexn7q2{--xy-edge-stroke: var(--xy-edge-stroke-selected)}.bexn7q0[data-edge-hovered=true] .bexn7q3{transition:all .13s ease-out}.bexn7q4{font-family:var(--likec4-font-family);position:absolute;pointer-events:all;cursor:pointer;transform-origin:50% 50%;text-align:left;mix-blend-mode:screen;padding:2px 6px 4px;width:max-content;background-color:var(--xy-edge-label-background-color);border-radius:3px}.bexn7q4[data-edge-hovered=true]{transition:all .14s ease-out;transform:scale(1.1)}.bexn7q5{color:var(--xy-edge-label-color);font-size:calc(.75rem * var(--mantine-scale));transition:color .12s ease-out}@keyframes lbtzdo3{0%{opacity:.6}to{opacity:.4}}.lbtzdo0{width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;position:relative;padding:0;margin:0}.lbtzdo1{width:100%;height:100%;position:relative;border-radius:calc(.375rem * var(--mantine-scale));box-shadow:0 4px 10px .5px #0000001a,0 2px 2px -1px #0006;padding:calc(.5rem * var(--mantine-scale));background:var(--likec4-element-fill);transition:all .3s ease-out}:where(.react-flow__node.selected) .lbtzdo1{box-shadow:none}.lbtzdo2{font-family:var(--likec4-compound-font-family);font-optical-sizing:auto;font-style:normal;text-align:left;display:inline-block;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.2px;line-height:1;opacity:.75;color:var(--likec4-compound-title-color);padding-left:calc(.75rem * var(--mantine-scale));mix-blend-mode:lighten}:where([data-likec4-navigable=true]) .lbtzdo2{padding-left:calc(1.625rem * var(--mantine-scale))}.lbtzdo4{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible;stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6px;animation-duration:.8s;animation-name:lbtzdo3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}.react-flow__node.selected .lbtzdo4{visibility:visible}.lbtzdo5{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));position:absolute;pointer-events:all;left:3px;top:7px;color:var(--likec4-element-loContrast);transform-origin:90% 70%;opacity:.75;transition:all .15s ease-out;transition-delay:0ms;background-color:var(--ai-bg)}.lbtzdo5:hover{box-shadow:var(--mantine-shadow-lg);transform:scale(1.466);opacity:1;transition-delay:0}.lbtzdo5:active{transform:scale(1.1);opacity:1;transition-delay:0}:where(.react-flow__node:not(.dragging) .lbtzdo0:hover) .lbtzdo5:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:scale(1.223);opacity:1;transition-delay:.25s}.lbtzdo5 svg.icon{width:70%;height:70%;stroke-width:1.5}@keyframes _1b6tkn3{0%{opacity:.6}to{opacity:.4}}._1b6tkn2{--_1b6tkn0: color-mix(in srgb, var(--likec4-element-stroke) 90%, var(--likec4-element-fill));--likec4-element-font-family: var(--likec4-font-family);position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:0;margin:0}._1b6tkn4{stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6;animation-duration:.8s;animation-name:_1b6tkn3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}:where([data-likec4-shape=queue],[data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tkn4{stroke-width:10}.react-flow__node.selected ._1b6tkn4{visibility:visible}._1b6tkn5{fill:var(--likec4-element-fill)}._1b6tkn6{fill:var(--likec4-element-stroke)}._1b6tkn7{fill:var(--_1b6tkn0)}._1b6tkn8{flex:0 0 auto;font-family:var(--likec4-element-font-family);font-optical-sizing:auto;font-style:normal;text-align:center;font-weight:500;font-size:calc(1.1875rem * var(--mantine-scale));line-height:1.22;text-wrap:balance;color:var(--likec4-element-hiContrast)}._1b6tkn9{flex:0 1 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.875rem * var(--mantine-scale));line-height:1.2;text-align:center;text-wrap:pretty;color:var(--likec4-element-loContrast);white-space-collapse:preserve-breaks;text-overflow:ellipsis;overflow:hidden}._1b6tkna{flex:0 0 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.75rem * var(--mantine-scale));line-height:1.25;text-align:center;text-wrap:balance;opacity:.92;color:var(--likec4-element-loContrast)}._1b6tkn2:hover ._1b6tkna{opacity:1}._1b6tknb{--_1b6tkn1: calc(1.5rem * var(--mantine-scale));position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:var(--_1b6tkn1);display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden;gap:calc(.5rem * var(--mantine-scale))}._1b6tknb:has(._1b6tkn9):has(._1b6tkna){gap:calc(.375rem * var(--mantine-scale))}:where([data-likec4-shape=queue],[data-likec4-shape=mobile]) ._1b6tknb{padding-left:calc(2.5rem * var(--mantine-scale));padding-right:calc(1.25rem * var(--mantine-scale))}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tknb{padding-top:calc(2.125rem * var(--mantine-scale))}:where([data-likec4-shape=browser]) ._1b6tknb{padding-top:calc(2.25rem * var(--mantine-scale))}._1b6tknd{--_1b6tknc: 30px;flex:0 1 var(--_1b6tknc);max-height:var(--_1b6tknc);margin-top:-8px;position:relative;-webkit-user-select:none;user-select:none;pointer-events:none;overflow:visible;mix-blend-mode:hard-light}._1b6tknd img{position:absolute;left:0;bottom:0;width:100%;height:auto;object-fit:contain;max-height:calc(var(--_1b6tknc) + 16px)}._1b6tkng{--_1b6tkne: drop-shadow(0 2px 1px rgba(0, 0, 0, .21)) drop-shadow(0 1px 1px color-mix(in srgb, var(--likec4-element-stroke) 40%, transparent)) drop-shadow(0 5px 3px rgba(0, 0, 0, .1)) ;top:0;left:0;position:absolute;pointer-events:none;fill:var(--likec4-element-fill);stroke:var(--likec4-element-stroke);overflow:visible;filter:var(--_1b6tknf, var(--_1b6tkne));transition:filter .3s ease-out;transition-delay:0ms}:where(.react-flow__node.selected) ._1b6tkng{filter:none}._1b6tknh{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));z-index:calc(var(--layer-overlays, 1) + 1);position:absolute;pointer-events:all;left:50%;bottom:0;color:var(--likec4-element-loContrast);transform-origin:50% 65%;opacity:.75;transition:all .15s ease-out;transform:translate(-50%);transition-delay:0ms;background-color:var(--ai-bg)}._1b6tknh:hover{box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.465);opacity:1;transition-delay:0}._1b6tknh:active{transform:translate(-50%) scale(1.1);opacity:1;transition-delay:0}:where([data-likec4-shape=browser]) ._1b6tknh{bottom:3px}:where(.react-flow__node:not(.dragging) ._1b6tkn2:hover) ._1b6tknh:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.25);opacity:1;transition-delay:.25s}._1b6tknh svg.icon{width:70%;height:70%;stroke-width:1.5}._4ysv0o0{position:absolute;left:0;bottom:0;padding-left:6px;padding-bottom:6px}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._4ysv0o0{bottom:6px}:where([data-likec4-shape=queue]) ._4ysv0o0{left:12px;bottom:-3px}._4ysv0o1{display:flex;line-height:.75;font-size:11px;align-items:center;justify-content:center;color:var(--likec4-element-loContrast);padding:2px 5px;border-radius:4px;background-color:color-mix(in srgb,var(--likec4-element-stroke),transparent 20%);transition:all .18s ease-out;opacity:.85}._4ysv0o1:hover{color:var(--likec4-element-hiContrast);background-color:var(--likec4-element-stroke);opacity:1}._4ysv0o1 .icon{display:inline-block;line-height:1;width:11px;height:11px;opacity:.6}._4ysv0o1 span{display:inline-block;line-height:1;margin-left:3px}._4ysv0o2{text-align:left}
|
|
@@ -13,7 +13,7 @@ type XYFlowEventHandlers = {
|
|
|
13
13
|
onEdgeClick: EdgeMouseHandler<XYFlowEdge>;
|
|
14
14
|
onChange: (change: Change) => void;
|
|
15
15
|
};
|
|
16
|
-
export declare
|
|
16
|
+
export declare function useXYFlowEvents(): XYFlowEventHandlers;
|
|
17
17
|
type Props = PropsWithChildren<{
|
|
18
18
|
eventHandlers: LikeC4DiagramEventHandlers;
|
|
19
19
|
}>;
|
|
@@ -2,6 +2,7 @@ import { ElementXYFlowNode } from '../../types';
|
|
|
2
2
|
import { NodeProps } from '@xyflow/react';
|
|
3
3
|
|
|
4
4
|
type ElementNodeProps = NodeProps<ElementXYFlowNode>;
|
|
5
|
-
|
|
5
|
+
declare function ElementNode({ id, data: { element }, selected, width, height }: ElementNodeProps): JSX.Element;
|
|
6
|
+
export declare const ElementNodeMemo: typeof ElementNode;
|
|
6
7
|
export {};
|
|
7
8
|
//# sourceMappingURL=ElementNode.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/diagram",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
@@ -18,34 +18,24 @@
|
|
|
18
18
|
"!**/*.spec.*",
|
|
19
19
|
"!**/*.map"
|
|
20
20
|
],
|
|
21
|
+
"sideEffects": [
|
|
22
|
+
"**/*.css"
|
|
23
|
+
],
|
|
21
24
|
"type": "module",
|
|
22
25
|
"exports": {
|
|
23
26
|
".": {
|
|
24
27
|
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js",
|
|
25
29
|
"default": "./dist/index.js"
|
|
26
30
|
},
|
|
27
31
|
"./style.css": "./dist/style.css",
|
|
28
|
-
"./
|
|
29
|
-
"types": "./dist/bundle.d.ts",
|
|
30
|
-
"default": "./dist/bundle.js"
|
|
31
|
-
}
|
|
32
|
+
"./dist/style.css": "./dist/style.css"
|
|
32
33
|
},
|
|
33
34
|
"publishConfig": {
|
|
34
35
|
"registry": "https://registry.npmjs.org",
|
|
35
|
-
"access": "public"
|
|
36
|
-
"exports": {
|
|
37
|
-
".": {
|
|
38
|
-
"types": "./dist/index.d.ts",
|
|
39
|
-
"default": "./dist/index.js"
|
|
40
|
-
},
|
|
41
|
-
"./style.css": "./dist/style.css",
|
|
42
|
-
"./bundle": {
|
|
43
|
-
"types": "./dist/bundle.d.ts",
|
|
44
|
-
"default": "./dist/bundle.js"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
36
|
+
"access": "public"
|
|
47
37
|
},
|
|
48
|
-
"packageManager": "yarn@4.
|
|
38
|
+
"packageManager": "yarn@4.1.1",
|
|
49
39
|
"scripts": {
|
|
50
40
|
"typecheck": "tsc --emitDeclarationOnly --declaration --declarationMap",
|
|
51
41
|
"build:turbo": "run -T turbo build --filter='diagram'",
|
|
@@ -53,29 +43,22 @@
|
|
|
53
43
|
"lint": "run -T eslint src/ --fix",
|
|
54
44
|
"clean": "run -T rimraf dist bundle"
|
|
55
45
|
},
|
|
56
|
-
"
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@likec4/core": "1.0.0-next.2",
|
|
57
48
|
"@mantine/core": "^7.7.0",
|
|
58
49
|
"@mantine/hooks": "^7.7.0",
|
|
59
|
-
"
|
|
60
|
-
"react-
|
|
61
|
-
"
|
|
50
|
+
"framer-motion": "^11.0.22",
|
|
51
|
+
"react-tracked": "^1.7.11",
|
|
52
|
+
"remeda": "^1.56.0",
|
|
53
|
+
"scheduler": "^0.23.0",
|
|
54
|
+
"type-fest": "^4.13.1"
|
|
62
55
|
},
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
"@mantine/hooks": {
|
|
68
|
-
"optional": true
|
|
69
|
-
},
|
|
70
|
-
"scheduler": {
|
|
71
|
-
"optional": true
|
|
72
|
-
}
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"react": "^18.2.0",
|
|
58
|
+
"react-dom": "^18.2.0"
|
|
73
59
|
},
|
|
74
60
|
"devDependencies": {
|
|
75
|
-
"@likec4/core": "1.0.0-next.0",
|
|
76
61
|
"@lume/kiwi": "^0.4.3",
|
|
77
|
-
"@mantine/core": "^7.7.0",
|
|
78
|
-
"@mantine/hooks": "^7.7.0",
|
|
79
62
|
"@mantine/vanilla-extract": "^7.7.0",
|
|
80
63
|
"@react-hookz/deep-equal": "^2.0.2",
|
|
81
64
|
"@react-hookz/web": "^24.0.4",
|
|
@@ -91,16 +74,11 @@
|
|
|
91
74
|
"clsx": "^2.1.0",
|
|
92
75
|
"execa": "^8.0.1",
|
|
93
76
|
"fast-equals": "^5.0.1",
|
|
94
|
-
"framer-motion": "^11.0.22",
|
|
95
77
|
"khroma": "^2.1.0",
|
|
96
78
|
"react": "^18.2.0",
|
|
97
79
|
"react-dom": "^18.2.0",
|
|
98
|
-
"react-tracked": "^1.7.11",
|
|
99
|
-
"remeda": "^1.56.0",
|
|
100
|
-
"scheduler": "^0.23.0",
|
|
101
80
|
"terser": "^5.30.0",
|
|
102
81
|
"tilg": "^0.1.1",
|
|
103
|
-
"type-fest": "^4.13.1",
|
|
104
82
|
"typescript": "^5.4.3",
|
|
105
83
|
"unbuild": "^2.0.0",
|
|
106
84
|
"vite": "^5.2.6",
|
package/dist/bundle.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { u as useIsomorphicLayoutEffect } from './index-DClug9zV.js';
|
|
2
|
-
export { E as EmbeddedLikeC4Diagram, L as LikeC4Diagram, S as StaticLikeC4Diagram } from './index-DClug9zV.js';
|
|
3
|
-
|
|
4
|
-
const Styles = (
|
|
5
|
-
// @ts-expect-error replaced by vite-plugin
|
|
6
|
-
`.react-flow{--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.draggable.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow__edges{position:absolute}.react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}:root{--likec4-font-family: var(--likec4-default-font-family, var(--mantine-font-family));--likec4-background-color: var(--mantine-color-body);--likec4-compound-font-family: var(--likec4-font-family, var(--mantine-font-family));--likec4-compound-title-color: var(--likec4-element-loContrast);--likec4-element-font-family: var(--likec4-font-family, var(--mantine-font-family));--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1;--xy-background-color: var(--likec4-background-color)}:where([data-likec4-color=primary]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=blue]){--likec4-element-fill: #3b82f6;--likec4-element-stroke: #2563eb;--likec4-element-hiContrast: #eff6ff;--likec4-element-loContrast: #bfdbfe;--likec4-compound-title-color: #bfdbfe;--likec4-relation-lineColor: #3b82f6;--likec4-relation-labelBg: #172554;--likec4-relation-labelColor: #60a5fa}:where([data-likec4-color=secondary]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=sky]){--likec4-element-fill: #0284c7;--likec4-element-stroke: #0369a1;--likec4-element-hiContrast: #f0f9ff;--likec4-element-loContrast: #B6ECF7;--likec4-compound-title-color: #B6ECF7;--likec4-relation-lineColor: #0ea5e9;--likec4-relation-labelBg: #082f49;--likec4-relation-labelColor: #38bdf8}:where([data-likec4-color=muted]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=slate]){--likec4-element-fill: #64748b;--likec4-element-stroke: #475569;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #cbd5e1;--likec4-compound-title-color: #cbd5e1;--likec4-relation-lineColor: #64748b;--likec4-relation-labelBg: #0f172a;--likec4-relation-labelColor: #cbd5e1}:where([data-likec4-color=gray]){--likec4-element-fill: #737373;--likec4-element-stroke: #525252;--likec4-element-hiContrast: #fafafa;--likec4-element-loContrast: #d4d4d4;--likec4-compound-title-color: #d4d4d4;--likec4-relation-lineColor: #6E6E6E;--likec4-relation-labelBg: #18191b;--likec4-relation-labelColor: #C6C6C6}:where([data-likec4-color=red]){--likec4-element-fill: #AC4D39;--likec4-element-stroke: #853A2D;--likec4-element-hiContrast: #FBD3CB;--likec4-element-loContrast: #FF977D;--likec4-compound-title-color: #FF977D;--likec4-relation-lineColor: #AC4D39;--likec4-relation-labelBg: #b91c1c;--likec4-relation-labelColor: #FF977D}:where([data-likec4-color=green]){--likec4-element-fill: #428a4f;--likec4-element-stroke: #2d5d39;--likec4-element-hiContrast: #f8fafc;--likec4-element-loContrast: #c2f0c2;--likec4-compound-title-color: #c2f0c2;--likec4-relation-lineColor: #15803d;--likec4-relation-labelBg: #052e16;--likec4-relation-labelColor: #22c55e}:where([data-likec4-color=amber]){--likec4-element-fill: #A35829;--likec4-element-stroke: #7E451D;--likec4-element-hiContrast: #FFE0C2;--likec4-element-loContrast: #FFA057;--likec4-compound-title-color: #FFA057;--likec4-relation-lineColor: #b45309;--likec4-relation-labelBg: #78350f;--likec4-relation-labelColor: #FFE0C2}:where([data-likec4-color=indigo]){--likec4-element-fill: #6366f1;--likec4-element-stroke: #4f46e5;--likec4-element-hiContrast: #eef2ff;--likec4-element-loContrast: #c7d2fe;--likec4-compound-title-color: #c7d2fe;--likec4-relation-lineColor: #6366f1;--likec4-relation-labelBg: #1e1b4b;--likec4-relation-labelColor: #818cf8}._1yqpph0{background-color:transparent}._1yqpph1{padding:0;height:100%}._1yqpph2{position:absolute;top:1rem;left:1rem}._1yqpph3{position:absolute;top:1rem;right:1rem}@media (min-width: 62em){._1yqpph4{--cb-size: var(--cb-size-lg)}}._2h8g8h0{--xy-background-color: var(--likec4-background-color);min-height:100px}._2h8g8h1 .react-flow__pane{cursor:default}._2h8g8h2{--likec4-background-color: transparent !important;--xy-background-color: transparent !important;background-color:transparent!important}:where(._2h8g8h3,._2h8g8h2) .react-flow__attribution{display:none}._14qhjro0{position:relative;width:100%;height:auto;margin-left:auto;margin-right:auto;padding:0;box-sizing:border-box}._1lmzt1h0{top:1rem;right:1rem;margin:0;box-shadow:var(--mantine-shadow-xl)}.bexn7q0{--xy-edge-stroke: var(--likec4-relation-lineColor);--xy-edge-stroke-selected: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-label-color: var(--likec4-relation-labelColor);--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 15%);--xy-edge-stroke-width: 2.5px}[data-mantine-color-scheme=dark] .bexn7q0{--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 75%)}.bexn7q0[data-edge-hovered=true]{--xy-edge-stroke: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);--xy-edge-stroke-width: 3px}.react-flow__edge.selected .bexn7q0{--xy-edge-stroke-width: 2.5}.react-flow__edges>svg{mix-blend-mode:lighten}.bexn7q1{stroke-width:calc(var(--xy-edge-stroke-width) + 8);stroke-opacity:.1}.bexn7q2{fill:var(--xy-edge-stroke);stroke:var(--xy-edge-stroke)}.react-flow__edge.selected .bexn7q2{--xy-edge-stroke: var(--xy-edge-stroke-selected)}.bexn7q0[data-edge-hovered=true] .bexn7q3{transition:all .13s ease-out}.bexn7q4{font-family:var(--likec4-font-family);position:absolute;pointer-events:all;cursor:pointer;transform-origin:50% 50%;text-align:left;mix-blend-mode:screen;padding:2px 6px 4px;width:max-content;background-color:var(--xy-edge-label-background-color);border-radius:3px}.bexn7q4[data-edge-hovered=true]{transition:all .14s ease-out;transform:scale(1.1)}.bexn7q5{color:var(--xy-edge-label-color);font-size:calc(.75rem * var(--mantine-scale));transition:color .12s ease-out}@keyframes lbtzdo3{0%{opacity:.6}to{opacity:.4}}.lbtzdo0{width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;position:relative;padding:0;margin:0}.lbtzdo1{width:100%;height:100%;position:relative;border-radius:calc(.375rem * var(--mantine-scale));box-shadow:0 4px 10px .5px #0000001a,0 2px 2px -1px #0006;padding:calc(.5rem * var(--mantine-scale));background:var(--likec4-element-fill);transition:all .3s ease-out}:where(.react-flow__node.selected) .lbtzdo1{box-shadow:none}.lbtzdo2{font-family:var(--likec4-compound-font-family);font-optical-sizing:auto;font-style:normal;text-align:left;display:inline-block;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.2px;line-height:1;opacity:.75;color:var(--likec4-compound-title-color);padding-left:calc(.75rem * var(--mantine-scale));mix-blend-mode:lighten}:where([data-likec4-navigable=true]) .lbtzdo2{padding-left:calc(1.625rem * var(--mantine-scale))}.lbtzdo4{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible;stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6px;animation-duration:.8s;animation-name:lbtzdo3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}.react-flow__node.selected .lbtzdo4{visibility:visible}.lbtzdo5{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));position:absolute;pointer-events:all;left:3px;top:7px;color:var(--likec4-element-loContrast);transform-origin:90% 70%;opacity:.75;transition:all .15s ease-out;transition-delay:0ms;background-color:var(--ai-bg)}.lbtzdo5:hover{box-shadow:var(--mantine-shadow-lg);transform:scale(1.466);opacity:1;transition-delay:0}.lbtzdo5:active{transform:scale(1.1);opacity:1;transition-delay:0}:where(.react-flow__node:not(.dragging) .lbtzdo0:hover) .lbtzdo5:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:scale(1.223);opacity:1;transition-delay:.25s}.lbtzdo5 svg.icon{width:70%;height:70%;stroke-width:1.5}@keyframes _1b6tkn3{0%{opacity:.6}to{opacity:.4}}._1b6tkn2{--_1b6tkn0: color-mix(in srgb, var(--likec4-element-stroke) 90%, var(--likec4-element-fill));--likec4-element-font-family: var(--likec4-font-family);position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:0;margin:0}._1b6tkn4{stroke:var(--likec4-element-loContrast);transform-origin:center center;stroke-width:6;animation-duration:.8s;animation-name:_1b6tkn3;animation-iteration-count:infinite;animation-direction:alternate;visibility:hidden}:where([data-likec4-shape=queue],[data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tkn4{stroke-width:10}.react-flow__node.selected ._1b6tkn4{visibility:visible}._1b6tkn5{fill:var(--likec4-element-fill)}._1b6tkn6{fill:var(--likec4-element-stroke)}._1b6tkn7{fill:var(--_1b6tkn0)}._1b6tkn8{flex:0 0 auto;font-family:var(--likec4-element-font-family);font-optical-sizing:auto;font-style:normal;text-align:center;font-weight:500;font-size:calc(1.1875rem * var(--mantine-scale));line-height:1.22;text-wrap:balance;color:var(--likec4-element-hiContrast)}._1b6tkn9{flex:0 1 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.875rem * var(--mantine-scale));line-height:1.2;text-align:center;text-wrap:pretty;color:var(--likec4-element-loContrast);white-space-collapse:preserve-breaks;text-overflow:ellipsis;overflow:hidden}._1b6tkna{flex:0 0 auto;font-family:var(--likec4-element-font-family, var(--likec4-font-family));font-optical-sizing:auto;font-style:normal;font-weight:400;font-size:calc(.75rem * var(--mantine-scale));line-height:1.25;text-align:center;text-wrap:balance;opacity:.92;color:var(--likec4-element-loContrast)}._1b6tkn2:hover ._1b6tkna{opacity:1}._1b6tknb{--_1b6tkn1: calc(1.5rem * var(--mantine-scale));position:relative;width:100%;width:-webkit-fill-available;height:100%;height:-webkit-fill-available;padding:var(--_1b6tkn1);display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden;gap:calc(.5rem * var(--mantine-scale))}._1b6tknb:has(._1b6tkn9):has(._1b6tkna){gap:calc(.375rem * var(--mantine-scale))}:where([data-likec4-shape=queue],[data-likec4-shape=mobile]) ._1b6tknb{padding-left:calc(2.5rem * var(--mantine-scale));padding-right:calc(1.25rem * var(--mantine-scale))}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._1b6tknb{padding-top:calc(2.125rem * var(--mantine-scale))}:where([data-likec4-shape=browser]) ._1b6tknb{padding-top:calc(2.25rem * var(--mantine-scale))}._1b6tknd{--_1b6tknc: 30px;flex:0 1 var(--_1b6tknc);max-height:var(--_1b6tknc);margin-top:-8px;position:relative;user-select:none;pointer-events:none;overflow:visible;mix-blend-mode:hard-light}._1b6tknd img{position:absolute;left:0;bottom:0;width:100%;height:auto;object-fit:contain;max-height:calc(var(--_1b6tknc) + 16px)}._1b6tkng{--_1b6tkne: drop-shadow(0 2px 1px rgba(0, 0, 0, .21)) drop-shadow(0 1px 1px color-mix(in srgb, var(--likec4-element-stroke) 40%, transparent)) drop-shadow(0 5px 3px rgba(0, 0, 0, .1)) ;top:0;left:0;position:absolute;pointer-events:none;fill:var(--likec4-element-fill);stroke:var(--likec4-element-stroke);overflow:visible;filter:var(--_1b6tknf, var(--_1b6tkne));transition:filter .3s ease-out;transition-delay:0ms}:where(.react-flow__node.selected) ._1b6tkng{filter:none}._1b6tknh{--ai-bg: color-mix(in srgb , var(--likec4-element-fill), transparent 99%);--ai-bg-hover: color-mix(in srgb , var(--likec4-element-fill) 65%, var(--likec4-element-stroke));--ai-hover: color-mix(in srgb , var(--likec4-element-fill) 50%, var(--likec4-element-stroke));z-index:calc(var(--layer-overlays, 1) + 1);position:absolute;pointer-events:all;left:50%;bottom:0;color:var(--likec4-element-loContrast);transform-origin:50% 65%;opacity:.75;transition:all .15s ease-out;transform:translate(-50%);transition-delay:0ms;background-color:var(--ai-bg)}._1b6tknh:hover{box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.465);opacity:1;transition-delay:0}._1b6tknh:active{transform:translate(-50%) scale(1.1);opacity:1;transition-delay:0}:where([data-likec4-shape=browser]) ._1b6tknh{bottom:3px}:where(.react-flow__node:not(.dragging) ._1b6tkn2:hover) ._1b6tknh:not(:hover){--ai-bg: var(--ai-bg-hover);box-shadow:var(--mantine-shadow-lg);transform:translate(-50%) scale(1.25);opacity:1;transition-delay:.25s}._1b6tknh svg.icon{width:70%;height:70%;stroke-width:1.5}._4ysv0o0{position:absolute;left:0;bottom:0;padding-left:6px;padding-bottom:6px}:where([data-likec4-shape=cylinder],[data-likec4-shape=storage]) ._4ysv0o0{bottom:6px}:where([data-likec4-shape=queue]) ._4ysv0o0{left:12px;bottom:-3px}._4ysv0o1{display:flex;line-height:.75;font-size:11px;align-items:center;justify-content:center;color:var(--likec4-element-loContrast);padding:2px 5px;border-radius:4px;background-color:color-mix(in srgb,var(--likec4-element-stroke),transparent 20%);transition:all .18s ease-out;opacity:.85}._4ysv0o1:hover{color:var(--likec4-element-hiContrast);background-color:var(--likec4-element-stroke);opacity:1}._4ysv0o1 .icon{display:inline-block;line-height:1;width:11px;height:11px;opacity:.6}._4ysv0o1 span{display:inline-block;line-height:1;margin-left:3px}._4ysv0o2{text-align:left}
|
|
7
|
-
`
|
|
8
|
-
);
|
|
9
|
-
let hasStyleSheet = () => {
|
|
10
|
-
for (const sheet of document.styleSheets) {
|
|
11
|
-
const node = sheet.ownerNode;
|
|
12
|
-
if (node && "hasAttribute" in node && node.hasAttribute("data-likec4-styles")) {
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return false;
|
|
17
|
-
};
|
|
18
|
-
function useInjectStyles() {
|
|
19
|
-
useIsomorphicLayoutEffect(() => {
|
|
20
|
-
if (!hasStyleSheet()) {
|
|
21
|
-
const style = document.createElement("style");
|
|
22
|
-
style.innerHTML = Styles;
|
|
23
|
-
style.setAttribute("data-likec4-styles", "");
|
|
24
|
-
document.head.appendChild(style);
|
|
25
|
-
hasStyleSheet = () => true;
|
|
26
|
-
}
|
|
27
|
-
}, []);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { Styles, useInjectStyles };
|