jch-config-editor 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Canvas/index.d.ts +3 -0
- package/dist/components/Canvas/index.d.ts.map +1 -1
- package/dist/components/ConfigEditor/index.d.ts +3 -0
- package/dist/components/ConfigEditor/index.d.ts.map +1 -1
- package/dist/config-editor.es.js +5395 -5392
- package/dist/config-editor.umd.js +11 -6
- package/package.json +1 -1
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
(function(we,l){const L=_0x1826,z=we();for(;;)try{if(-parseInt(L(1444))/1*(parseInt(L(406))/2)+parseInt(L(378))/3+-parseInt(L(899))/4+parseInt(L(324))/5*(-parseInt(L(682))/6)+parseInt(L(1903))/7*(-parseInt(L(263))/8)+parseInt(L(1655))/9+parseInt(L(1461))/10*(parseInt(L(1677))/11)===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x5a17,216952),(function(we,l){const L=_0x1826;typeof exports===L(2101)&&typeof module!==L(758)?l(exports,require("react/jsx-runtime"),require("react"),require(L(894)),require(L(858)),require(L(453)),require("immer"),require(L(1068)),require(L(1561)),require(L(1118))):typeof define=="function"&&define[L(1066)]?define(["exports","react/jsx-runtime",L(1995),L(894),"@ant-design/icons",L(453),L(1207),L(1068),"react-zoom-pan-pinch",L(1118)],l):(we=typeof globalThis!==L(758)?globalThis:we||self,l(we.ConfigEditor={},we[L(1565)],we[L(1763)],we.antd,we[L(1576)],we.zustand,we[L(1207)],we[L(1068)],we[L(726)]))})(this,function(we,l,L,z,se,sx,et,ve,nt){"use strict";const c=_0x1826;var R0=document[c(922)](c(2062));R0[c(2066)]=`.react-flow{direction:ltr;--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: rgba(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: rgba(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-props, var(--xy-background-color, 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.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.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 .react-flow__edges{position:absolute}.react-flow .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__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.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__pane.selection .react-flow__panel{pointer-events:none}.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.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.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-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__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right: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:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));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))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
|
|
2
|
-
/*$vite$:1*/`,document[c(1361)][c(2054)](R0);function vn(n){const t=c;return n&&n[t(1343)]&&Object[t(1843)].hasOwnProperty[t(671)](n,t(267))?n[t(267)]:n}var qe={},s0={exports:{}},l0;function wn(){const n=c;return l0||(l0=1,(function(t){const x=n;function e(o){return o&&o[_0x1826(1343)]?o:{default:o}}t[x(1480)]=e,t.exports.__esModule=!0,t[x(1480)][x(267)]=t[x(1480)]})(s0)),s0[n(1480)]}var pn={},Co;function jc(){const n=c;if(Co)return pn;Co=1,Object[n(1174)](pn,"__esModule",{value:!0}),pn[n(267)]=void 0;const t={items_per_page:n(1334),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:n(980),next_page:n(1905),prev_5:"向前 5 页",next_5:n(1e3),prev_3:n(313),next_3:"向后 3 页",page_size:"页码"};return pn[n(267)]=t,pn}var zn={},Cn={},Mn={},Bn={},Mo;function Yc(){const n=c;return Mo||(Mo=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn[n(1425)]=void 0,Bn[n(1425)]={yearFormat:n(457),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Bn}var Bo;function Uc(){const n=c;if(Bo)return Mn;Bo=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn[n(267)]=void 0;var t=Yc();function x(s){"@babel/helpers - typeof";const u=n;return x=typeof Symbol=="function"&&u(850)==typeof Symbol[u(547)]?function(f){return typeof f}:function(f){const g=u;return f&&g(828)==typeof Symbol&&f[g(402)]===Symbol&&f!==Symbol.prototype?g(850):typeof f},x(s)}function e(s,u){const f=n;var g=Object[f(1775)](s);if(Object[f(1453)]){var b=Object.getOwnPropertySymbols(s);u&&(b=b[f(891)](function(w){return Object[f(1594)](s,w).enumerable})),g.push[f(1426)](g,b)}return g}function o(s){const u=n;for(var f=1;f<arguments[u(2088)];f++){var g=arguments[f]!=null?arguments[f]:{};f%2?e(Object(g),!0)[u(1105)](function(b){r(s,b,g[b])}):Object[u(1771)]?Object[u(1047)](s,Object[u(1771)](g)):e(Object(g)).forEach(function(b){const w=u;Object[w(1174)](s,b,Object[w(1594)](g,b))})}return s}function r(s,u,f){const g=n;return u=i(u),u in s?Object[g(1174)](s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}function i(s){const u=n;var f=a(s,u(976));return u(850)==x(f)?f:String(f)}function a(s,u){const f=n;if(f(2101)!=x(s)||!s)return s;var g=s[Symbol[f(871)]];if(g!==void 0){var b=g[f(671)](s,u);if(f(2101)!=x(b))return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f(976)===u?String:Number)(s)}var d=o(o({},t[n(1425)]),{},{locale:n(1731),today:"今天",now:"此刻",backToToday:n(1083),ok:"确定",timeSelect:n(1462),dateSelect:n(2099),weekSelect:n(1274),clear:"清除",week:"周",month:"月",year:"年",previousMonth:n(264),nextMonth:n(469),monthSelect:n(934),yearSelect:n(792),decadeSelect:"选择年代",previousYear:n(865),nextYear:n(1839),previousDecade:"上一年代",nextDecade:n(1941),previousCentury:n(1414),nextCentury:n(1759),yearFormat:n(2053),cellDateFormat:"D",monthBeforeYear:!1});return Mn[n(267)]=d,Mn}var Dn={},Do;function Lo(){const n=c;if(Do)return Dn;Do=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.default=void 0;const t={placeholder:"请选择时间",rangePlaceholder:[n(1784),n(1258)]};return Dn.default=t,Dn}var No;function So(){const n=c;if(No)return Cn;No=1;var t=wn()[n(267)];Object[n(1174)](Cn,"__esModule",{value:!0}),Cn[n(267)]=void 0;var x=t(Uc()),e=t(Lo());const o={lang:{placeholder:n(1356),yearPlaceholder:"请选择年份",quarterPlaceholder:n(1136),monthPlaceholder:"请选择月份",weekPlaceholder:n(747),rangePlaceholder:[n(1682),n(1766)],rangeYearPlaceholder:[n(1251),"结束年份"],rangeMonthPlaceholder:[n(1510),n(769)],rangeQuarterPlaceholder:[n(2059),n(580)],rangeWeekPlaceholder:["开始周",n(1713)],...x.default},timePickerLocale:{...e[n(267)]}};return o[n(1372)].ok="确定",Cn[n(267)]=o,Cn}var ko;function Oc(){const n=c;if(ko)return zn;ko=1;var t=wn().default;Object[n(1174)](zn,"__esModule",{value:!0}),zn[n(267)]=void 0;var x=t(So());return zn.default=x[n(267)],zn}var Po;function Gc(){const n=c;if(Po)return qe;Po=1;var t=wn()[n(267)];Object[n(1174)](qe,"__esModule",{value:!0}),qe[n(267)]=void 0;var x=t(jc()),e=t(Oc()),o=t(So()),r=t(Lo());const i=n(1349),a={locale:n(869),Pagination:x.default,DatePicker:o.default,TimePicker:r[n(267)],Calendar:e.default,global:{placeholder:n(911),close:"关闭",sortable:n(1363)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:n(1554),filterCheckAll:"全选",filterSearchPlaceholder:n(1377),emptyText:n(1751),selectAll:n(1973),selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:n(609),triggerAsc:n(993),cancelSort:n(2005)},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:n(1940),Previous:n(778),Finish:n(1078)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:n(562),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:n(1128),selectAll:"全选所有",deselectAll:n(1481),removeAll:"删除全部",selectInvert:n(1829)},Upload:{uploading:n(2077),removeFile:n(1659),uploadError:n(468),previewFile:n(1466),downloadFile:n(2092)},Empty:{description:n(1751)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:n(1120),expand:"展开",collapse:"收起"},Form:{optional:n(644),defaultValidateMessages:{default:n(1287),required:n(1149),enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:n(1949),parse:"${label}不能转换为日期",invalid:n(2094)},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:n(842),min:n(741),max:n(811),range:"${label}须在${min}-${max}字符之间"},number:{len:n(1658),min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:n(2061)},array:{len:n(925),min:"最少${min}个${label}",max:n(1804),range:n(1184)},pattern:{mismatch:n(531)}}},QRCode:{expired:n(1914),refresh:n(1393),scanned:n(376)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return qe.default=a,qe}var lx,Io;function Vc(){return Io||(Io=1,lx=Gc()),lx}var Hc=Vc();const Tc=vn(Hc),qc=n=>(t,x,e)=>{const o=c;return e[o(1121)]=(r,i,...a)=>{const d=o,s=typeof r===d(828)?et[d(1267)](r):r;return t(s,i,...a)},n(e[o(1121)],x,e)},Wc=qc;function Xc(n){return Array.isArray(n)}function Ao(n){const t=c,x=[];for(const e of Object[t(1775)](n)){x[t(1297)](e);const o=n[e];if(o!==null&&typeof o===t(2101)&&!Array.isArray(o))for(const r of Object[t(1775)](o))x[t(1297)](e+"."+r)}return x}function Kc(n,t,x){const e=c,o=n[e(1959)];if(Xc(o)){if(t!=null&&x!=null){const r=o.find(i=>i[t]===x);if(r)return r}return{}}return o}function Eo(n,t,x,e){const o=c,r=Kc(n,x,e),i={...r};if(t&&typeof t===o(2101)&&!Array[o(915)](t))return{...i,...t};if(Array[o(915)](t)){const a={...i};for(const d of t){if(!d||typeof d!="object")continue;const s=d;s.paramsCode!=null&&(a[String(s[o(464)])]=s[o(658)])}return a}return i}const Zc={id:"_",name:"_",sample:{}};function dx(n,t,x){const e=c,o=n.boundDatasetId!=null?String(n.boundDatasetId)[e(1543)]():"",r=o?x.find(a=>a.id===o):void 0,i=r??Zc;try{const a=Eo(i,t,n.boundDatasetBindCode,n[e(1164)]);return new Function(e(896),n.expression)(a)===!0}catch(a){return console.warn(e(384)+n[e(495)]+"]:",a),!1}}function jo(n,t,x){for(const e of n)if(dx(e,t,x))return e}function Yo(n,t){const x=c;for(const e of n){for(const o of e[x(905)][x(514)])o[x(633)]===t&&(o[x(633)]=null,o[x(798)]=null,o.boundDatasetBindValue=null);e[x(1972)]===x(1984)&&e[x(927)]?.[x(2088)]&&Yo(e[x(927)],t)}}function ux(n){const t=c;for(const x of n){for(const e of x[t(905)][t(514)])delete e.bindCodes;x[t(1972)]===t(1984)&&x[t(927)]?.[t(2088)]&&ux(x.children)}}const fx=(n,t)=>({id:n||ve[c(1068)](),name:t||c(1469),nodes:[],canvasConfig:{width:1920,height:1080,background:"#00193C",showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Rc=()=>{const n=c,t=fx();return{id:ve[n(1068)](),name:n(1114),canvases:[t],currentCanvasId:t.id}},Uo=Rc(),S0=Uo.canvases[0],Jc={root:Uo,materials:[],mode:c(635),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:S0[c(906)],canvas:S0[c(1040)],viewport:S0[c(788)],selectedNodeId:S0[c(1359)],selectedNodeIds:S0[c(348)],selectedStatusId:S0[c(1859)],history:S0[c(1089)]},r0=(n,t,x)=>({id:ve[c(1068)](),type:n,targetId:t,payload:x,timestamp:Date[c(958)]()}),je=sx[c(885)]()(Wc((n,t)=>({...Jc,addCanvas:x=>{const e=c,o=fx(ve[e(1068)](),x||e(1504)+(t()[e(1099)][e(771)].length+1));return n(r=>{const i=e;r[i(1099)].canvases[i(1297)](o),r[i(1099)][i(1272)]=o.id;const a=o;r[i(906)]=a[i(906)],r[i(1815)]=a[i(1040)],r[i(788)]=a[i(788)],r[i(1359)]=a[i(1359)],r[i(348)]=a[i(348)],r[i(1859)]=a[i(1859)],r[i(1089)]=a.history}),o.id},removeCanvas:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)].findIndex(i=>i.id===x);if(r!==-1&&!(e[o(1099)][o(771)][o(2088)]<=1)&&(e[o(1099)].canvases.splice(r,1),e[o(1099)][o(1272)]===x)){const i=e.root[o(771)][0];e[o(1099)][o(1272)]=i.id,e[o(906)]=i.nodes,e[o(1815)]=i.canvasConfig,e[o(788)]=i[o(788)],e[o(1359)]=i.selectedNodeId,e[o(348)]=i[o(348)],e.selectedStatusId=i[o(1859)],e[o(1089)]=i[o(1089)]}})},switchCanvas:x=>{n(e=>{const o=_0x1826,r=e.root[o(771)][o(1388)](i=>i.id===x);r&&(e.root[o(1272)]=x,e[o(906)]=r[o(906)],e[o(1815)]=r[o(1040)],e[o(788)]=r[o(788)],e[o(1359)]=r[o(1359)],e[o(348)]=r[o(348)],e[o(1859)]=r[o(1859)],e[o(1089)]=r[o(1089)])})},updateCanvasName:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1099)][r(771)][r(1388)](a=>a.id===x);i&&(i[r(495)]=e)})},getCurrentCanvas:()=>{const x=c,e=t();return e[x(1099)][x(771)].find(o=>o.id===e[x(1099)][x(1272)])},setSelectedNodeIds:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)][o(1388)](i=>i.id===e[o(1099)][o(1272)]);r&&(r[o(348)]=x,e[o(348)]=x)})},addSelectedNodeId:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)].find(i=>i.id===e[o(1099)][o(1272)]);r&&!r[o(348)].includes(x)&&(r[o(348)][o(1297)](x),e.selectedNodeIds=r[o(348)])})},removeSelectedNodeId:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)][o(1388)](i=>i.id===e[o(1099)][o(1272)]);r&&(r[o(348)]=r[o(348)][o(891)](i=>i!==x),e[o(348)]=r[o(348)])})},clearSelectedNodeIds:()=>{n(x=>{const e=_0x1826,o=x[e(1099)][e(771)][e(1388)](r=>r.id===x[e(1099)][e(1272)]);o&&(o[e(348)]=[],x[e(348)]=[])})},addNode:(x,e=!0)=>{n(o=>{const r=_0x1826,i=o[r(1099)][r(771)][r(1388)](d=>d.id===o.root[r(1272)]);if(!i)return;const a={...x,id:x.id||ve.nanoid()};i[r(906)][r(1297)](a),o[r(906)]=i[r(906)],e&&(i[r(1359)]=a.id,o[r(1359)]=a.id,i[r(1089)][r(710)].push(r0(r(448),a.id)),o[r(1089)]=i[r(1089)])})},updateNode:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1099)].canvases.find(d=>d.id===o[r(1099)][r(1272)]);if(!i)return;const a=i[r(906)][r(1388)](d=>d.id===x);a&&(e[r(652)]&&Object.assign(a[r(652)],e[r(652)]),e[r(905)]&&(a[r(905)]={...a[r(905)],...e[r(905)]}),e[r(495)]&&(a[r(495)]=e[r(495)]),e[r(1572)]&&Object[r(646)](a[r(1572)],e[r(1572)]),e[r(927)]&&(a[r(927)]=e[r(927)]),i[r(1089)].past[r(1297)](r0("PROPERTY_CHANGE",x,e)),o[r(1089)]=i[r(1089)],o.nodes=i[r(906)])})},updateNodeStyle:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1099)][r(771)].find(d=>d.id===o[r(1099)][r(1272)]);if(!i)return;const a=i[r(906)][r(1388)](d=>d.id===x);a&&(Object[r(646)](a.normalStyle,e),i[r(1089)][r(710)][r(1297)](r0(r(813),x,{normalStyle:e})),o[r(1089)]=i[r(1089)],o.nodes=i[r(906)])})},updateNodeContent:(x,e)=>{n(o=>{const r=_0x1826,i=o.root.canvases[r(1388)](d=>d.id===o[r(1099)][r(1272)]);if(!i)return;const a=i.nodes[r(1388)](d=>d.id===x);a&&(a[r(905)]={...a[r(905)],...e},i.history.past.push(r0(r(813),x,{contentInfo:e})),o.history=i.history,o[r(906)]=i[r(906)])})},updateNodeControl:(x,e)=>{n(o=>{const r=_0x1826,i=o.root[r(771)][r(1388)](d=>d.id===o[r(1099)].currentCanvasId);if(!i)return;const a=i[r(906)].find(d=>d.id===x);a&&(Object[r(646)](a[r(1572)],e),i[r(1089)].past[r(1297)](r0(r(813),x,{controlInfo:e})),o[r(1089)]=i[r(1089)],o[r(906)]=i[r(906)])})},removeNode:x=>{n(e=>{const o=_0x1826,r=e[o(1099)].canvases[o(1388)](a=>a.id===e[o(1099)][o(1272)]);if(!r)return;const i=r[o(906)][o(1592)](a=>a.id===x);i!==-1&&(r[o(906)][o(272)](i,1),e[o(906)]=r[o(906)],r[o(1359)]===x&&(r[o(1359)]=null,e.selectedNodeId=null,r[o(1859)]=null,e[o(1859)]=null),r.selectedNodeIds=r[o(348)][o(891)](a=>a!==x),e[o(348)]=r.selectedNodeIds,r[o(1089)][o(710)][o(1297)](r0(o(2020),x)),e[o(1089)]=r.history)})},selectNode:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)].find(i=>i.id===e[o(1099)][o(1272)]);r&&(r[o(1359)]=x,e[o(1359)]=x,r.selectedStatusId=null,e[o(1859)]=null,x&&(r[o(1089)][o(710)][o(1297)](r0("NODE_SELECT",x)),e[o(1089)]=r[o(1089)]))})},bringToFront:x=>{n(e=>{const o=_0x1826,r=e[o(1099)].canvases[o(1388)](d=>d.id===e[o(1099)].currentCanvasId);if(!r)return;const i=r[o(906)][o(1592)](d=>d.id===x);if(i===-1||i===r[o(906)][o(2088)]-1)return;const[a]=r[o(906)].splice(i,1);r[o(906)][o(1297)](a),e[o(906)]=r[o(906)],r.history[o(710)][o(1297)](r0(o(813),x,{zOrder:"front"})),e[o(1089)]=r[o(1089)]})},sendToBack:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)].find(d=>d.id===e[o(1099)].currentCanvasId);if(!r)return;const i=r[o(906)][o(1592)](d=>d.id===x);if(i<=0)return;const[a]=r[o(906)].splice(i,1);r.nodes[o(1529)](a),e.nodes=r.nodes,r[o(1089)][o(710)].push(r0(o(813),x,{zOrder:o(1840)})),e[o(1089)]=r[o(1089)]})},addStatus:(x,e)=>{n(o=>{const r=_0x1826,i=o.root[r(771)][r(1388)](s=>s.id===o[r(1099)][r(1272)]);if(!i)return;const a=i[r(906)][r(1388)](s=>s.id===x);if(!a)return;const d={...e,id:ve[r(1068)]()};a[r(905)][r(514)][r(1297)](d),i[r(1089)][r(710)][r(1297)](r0(r(1225),x,{statusId:d.id})),o[r(1089)]=i[r(1089)]})},removeStatus:(x,e)=>{n(o=>{const r=_0x1826,i=o.root[r(771)][r(1388)](s=>s.id===o[r(1099)][r(1272)]);if(!i)return;const a=i[r(906)][r(1388)](s=>s.id===x);if(!a)return;const d=a[r(905)].statusList[r(1592)](s=>s.id===e);d!==-1&&(a[r(905)].statusList[r(272)](d,1),a[r(905)].currentStatusId===e&&(a[r(905)].currentStatusId=void 0),i.selectedStatusId===e&&(i[r(1859)]=null,o[r(1859)]=null))})},updateStatus:(x,e,o)=>{n(r=>{const i=_0x1826,a=r.root[i(771)].find(u=>u.id===r[i(1099)][i(1272)]);if(!a)return;const d=a[i(906)][i(1388)](u=>u.id===x);if(!d)return;const s=d[i(905)].statusList[i(1388)](u=>u.id===e);s&&Object[i(646)](s,o)})},selectStatus:x=>{n(e=>{const o=_0x1826,r=e[o(1099)].canvases[o(1388)](i=>i.id===e[o(1099)][o(1272)]);r&&(r[o(1859)]=x,e[o(1859)]=x)})},evaluateCurrentStatus:(x,e)=>{const o=c,r=t(),i=r[o(1099)][o(771)][o(1388)](s=>s.id===r[o(1099)].currentCanvasId);if(!i)return;const a=i[o(906)][o(1388)](s=>s.id===x);if(!a)return;const{dataPool:d}=t();for(const s of a[o(905)][o(514)])if(dx(s,e,d))return s.id},addDataPoolItem:x=>{const e=ve.nanoid();return n(o=>{const r=_0x1826;let i={};x[r(1959)]&&typeof x[r(1959)]===r(2101)&&(Array[r(915)](x[r(1959)]),i=x[r(1959)]),o[r(722)][r(1297)]({...x,id:e,sample:i})}),e},updateDataPoolItem:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(722)][r(1388)](a=>a.id===x);i&&(e.name!==void 0&&(i.name=e[r(495)]),e[r(1959)]!==void 0&&(e[r(1959)]&&typeof e[r(1959)]===r(2101)?i[r(1959)]=e[r(1959)]:i[r(1959)]={}))})},removeDataPoolItem:x=>{n(e=>{const o=_0x1826,r=e[o(722)].findIndex(i=>i.id===x);if(r!==-1){e[o(722)].splice(r,1);for(const i of e.root[o(771)])Yo(i[o(906)],x)}})},setDataPool:x=>{n(e=>{const o=_0x1826;e[o(722)]=x[o(802)](r=>{const i=o;let a={};return r[i(1959)]&&typeof r[i(1959)]===i(2101)&&(a=r[i(1959)]),{...r,sample:a}})})},setEventFlow:x=>{n(e=>{const o=_0x1826;e[o(1211)]={eventBlocks:x[o(432)]??[],eventRoots:x[o(1230)]??[],editingEventRootId:x.editingEventRootId??null,isEditingEventFlow:x[o(1616)]??!1}})},setExternalHandlerCatalog:x=>{n(e=>{const o=_0x1826,r=new Set;e[o(485)]=[];for(const i of x){const a=String(i.key??"")[o(1543)]();!a||r[o(663)](a)||(r[o(315)](a),e[o(485)][o(1297)]({key:a,label:String(i[o(273)]??"").trim()||a,description:i[o(1217)]}))}})},addMaterial:x=>{n(e=>{const o=_0x1826;if(e[o(1952)].some(a=>a[o(495)]===x[o(495)]))return;const i={...x,id:ve[o(1068)]()};e[o(1952)][o(1297)](i)})},updateMaterial:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1952)][r(1388)](a=>a.id===x);i&&Object[r(646)](i,e)})},removeMaterial:x=>{n(e=>{const o=_0x1826,r=e.materials[o(1592)](i=>i.id===x);r!==-1&&e.materials[o(272)](r,1)})},setViewport:x=>{n(e=>{const o=_0x1826,r=e.root[o(771)].find(i=>i.id===e[o(1099)].currentCanvasId);r&&(Object[o(646)](r[o(788)],x),e[o(788)]=r[o(788)])})},setCanvasConfig:x=>{n(e=>{const o=_0x1826,r=e.root.canvases.find(i=>i.id===e[o(1099)][o(1272)]);r&&(r.canvasConfig={...r[o(1040)],...x},e[o(1815)]=r[o(1040)])})},setMode:x=>{n(e=>{const o=_0x1826;e[o(2019)]=x})},startLineDrawing:x=>{n(e=>{const o=_0x1826;e[o(2019)]=o(2064),e[o(1626)]={isDrawing:!0,material:x,startPoint:null,endPoint:null}})},updateLineDrawing:x=>{n(e=>{const o=_0x1826;e[o(1626)][o(1681)]&&(e.lineDrawing[o(785)]=x)})},endLineDrawing:()=>{n(x=>{const e=_0x1826;x[e(2019)]="select",x[e(1626)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{n(x=>{const e=_0x1826;x[e(2019)]="select",x.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{n(x=>{const e=_0x1826,o=x[e(1099)][e(771)][e(1388)](i=>i.id===x[e(1099)][e(1272)]);if(!o)return;const r=o[e(1089)][e(710)][e(1394)]();r&&(o[e(1089)][e(1168)][e(1297)](r),x[e(1089)]=o[e(1089)])})},redo:()=>{n(x=>{const e=_0x1826,o=x[e(1099)][e(771)].find(i=>i.id===x.root[e(1272)]);if(!o)return;const r=o[e(1089)][e(1168)][e(1394)]();r&&(o[e(1089)][e(710)][e(1297)](r),x[e(1089)]=o[e(1089)])})},recordEvent:x=>{n(e=>{const o=_0x1826,r=e[o(1099)][o(771)].find(i=>i.id===e.root[o(1272)]);r&&(r[o(1089)][o(710)][o(1297)](x),r[o(1089)][o(1168)]=[],e[o(1089)]=r[o(1089)])})},exportScheme:()=>{const x=c,e=t();return{version:x(1597),root:e[x(1099)],materials:e[x(1952)],dataPool:e[x(722)],eventFlow:e[x(1211)],metadata:{name:e.root[x(495)],description:"",createdAt:new Date().toISOString(),updatedAt:new Date()[x(362)]()}}},importScheme:x=>{n(e=>{const o=_0x1826;if(x[o(1099)]){e[o(1099)]=x[o(1099)],e[o(722)]=x.dataPool??[],x[o(1211)]&&(e.eventFlow={eventBlocks:x[o(1211)][o(432)]??[],eventRoots:x[o(1211)][o(1230)]??[],editingEventRootId:x[o(1211)][o(475)]??null,isEditingEventFlow:x[o(1211)][o(1616)]??!1});const r=e[o(1099)][o(771)].find(i=>i.id===e.root[o(1272)])||e[o(1099)].canvases[0];r&&(e[o(1099)].currentCanvasId=r.id,e.nodes=r[o(906)],e[o(1815)]=r[o(1040)],e[o(788)]=r[o(788)],e[o(1359)]=r[o(1359)],e[o(348)]=r[o(348)],e[o(1859)]=r[o(1859)],e[o(1089)]=r[o(1089)])}else{const r=fx();r[o(906)]=x[o(906)]||[],e.root[o(771)]=[r],e[o(1099)][o(1272)]=r.id,e.dataPool=x[o(722)]??[],x[o(1211)]&&(e[o(1211)]={eventBlocks:x[o(1211)][o(432)]??[],eventRoots:x[o(1211)][o(1230)]??[],editingEventRootId:x.eventFlow[o(475)]??null,isEditingEventFlow:x[o(1211)].isEditingEventFlow??!1}),e[o(906)]=r[o(906)],e[o(1815)]=r[o(1040)],e[o(788)]=x.viewport||r.viewport,e.selectedNodeId=null,e[o(1859)]=null,e.history={past:[],future:[]}}for(const r of e.root.canvases)ux(r.nodes)})},exportCanvas:x=>{const e=c,o=t(),r=x||o.root[e(1272)],i=o[e(1099)][e(771)].find(a=>a.id===r);if(!i)throw new Error(e(1504)+r+e(1912));return{version:e(1597),canvas:i,metadata:{name:i[e(495)],description:"",exportedAt:new Date().toISOString()}}},importCanvas:(x,e)=>{n(o=>{const r=_0x1826,i=x[r(1815)],a=e||o[r(1099)][r(1272)],d=o[r(1099)][r(771)][r(1388)](s=>s.id===a);if(d)d[r(495)]=i.name,d[r(906)]=i[r(906)]||[],d[r(1040)]=i[r(1040)],d.viewport=i.viewport,d[r(1359)]=null,d.selectedNodeIds=[],d.selectedStatusId=null,d[r(1089)]=i[r(1089)]||{past:[],future:[]},a===o[r(1099)].currentCanvasId&&(o[r(906)]=d[r(906)],o.canvas=d[r(1040)],o[r(788)]=d[r(788)],o.selectedNodeId=d[r(1359)],o[r(348)]=d.selectedNodeIds,o.selectedStatusId=d.selectedStatusId,o[r(1089)]=d.history);else{const s={...i,id:ve[r(1068)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};o[r(1099)][r(771)].push(s),o.root[r(1272)]=s.id,o[r(906)]=s[r(906)],o[r(1815)]=s.canvasConfig,o[r(788)]=s[r(788)],o[r(1359)]=s[r(1359)],o[r(348)]=s.selectedNodeIds,o[r(1859)]=s.selectedStatusId,o[r(1089)]=s[r(1089)]}for(const s of o[r(1099)][r(771)])ux(s.nodes)})},addEventBlock:x=>{const e=c,o=ve[e(1068)]();return n(r=>{const i=e;r[i(1211)].eventBlocks[i(1297)]({...x,id:o})}),o},upsertEventBlock:x=>{n(e=>{const o=_0x1826,r=e[o(1211)][o(432)].findIndex(i=>i.id===x.id);r!==-1?e[o(1211)][o(432)][r]={...x}:e[o(1211)][o(432)].push({...x})})},updateEventBlock:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1211)].eventBlocks[r(1388)](a=>a.id===x);i&&Object[r(646)](i,e)})},removeEventBlock:x=>{n(e=>{const o=_0x1826,r=e[o(1211)].eventBlocks[o(1592)](i=>i.id===x);r!==-1&&e.eventFlow[o(432)][o(272)](r,1)})},addEventRoot:x=>{const e=c,o=ve[e(1068)]();return n(r=>{const i=e;r[i(1211)].eventRoots[i(1297)]({...x,id:o})}),o},updateEventRoot:(x,e)=>{n(o=>{const r=_0x1826,i=o[r(1211)].eventRoots[r(1388)](a=>a.id===x);i&&Object.assign(i,e)})},removeEventRoot:x=>{n(e=>{const o=_0x1826,r=e[o(1211)][o(1230)][o(1592)](i=>i.id===x);r!==-1&&e[o(1211)].eventRoots[o(272)](r,1)})},setEditingEventRoot:x=>{n(e=>{const o=_0x1826;e.eventFlow[o(475)]=x})},setIsEditingEventFlow:x=>{n(e=>{const o=_0x1826;e[o(1211)].isEditingEventFlow=x})},bindNodeEvent:(x,e,o)=>{const r=ve.nanoid();return n(i=>{const a=_0x1826;i[a(1211)].eventRoots[a(1297)]({id:r,bindNodeId:x,eventType:e,flowData:o,enabled:!0})}),r},unbindNodeEvent:(x,e,o)=>{n(r=>{const i=_0x1826,a=r[i(1211)][i(1230)][i(1592)](d=>{const s=i;return d.bindNodeId!==x||d.eventType!==e?!1:e===s(861)?(d[s(957)]||"")[s(1543)]()===(o||"")[s(1543)]():!0});a!==-1&&r[i(1211)].eventRoots[i(272)](a,1)})},getNodeEventRoots:x=>{const e=c;return t()[e(1211)][e(1230)].filter(o=>o[e(2041)]===x)}}))),Oo=[{id:ve[c(1068)](),name:"矩形",type:c(411),src:"data:image/svg+xml,"+encodeURIComponent(c(287))},{id:ve[c(1068)](),name:"圆形",type:c(411),src:c(1643)+encodeURIComponent(c(1445))},{id:ve[c(1068)](),name:c(1023),type:c(411),src:c(1643)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#faad14" rx="20"/></svg>')},{id:ve.nanoid(),name:"阀门",type:c(411),src:"data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M10 20 L30 10 L50 20 L50 40 L30 50 L10 40 Z" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><circle cx="30" cy="30" r="8" fill="#1890ff"/></svg>')},{id:ve[c(1068)](),name:"泵",type:c(411),src:c(1643)+encodeURIComponent(c(1503))},{id:ve[c(1068)](),name:"罐体",type:c(411),src:"data:image/svg+xml,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="80"><ellipse cx="30" cy="10" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/><rect x="5" y="10" width="50" height="60" fill="#f0f0f0" stroke="#595959" stroke-width="2"/><ellipse cx="30" cy="70" rx="25" ry="10" fill="#d9d9d9" stroke="#595959" stroke-width="2"/></svg>')},{id:ve.nanoid(),name:c(729),type:c(1811),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(945),color:"#262626",textAlign:c(1955)},valueStyle:{fontSize:14,fontWeight:"normal",color:c(592),textAlign:c(1955)}}},{id:ve[c(1068)](),name:"线条",type:c(696),config:{thickness:2,lineWeight:2,color:c(1574),lineType:c(386)}}],bx=n=>({id:ve.nanoid(),name:c(1849),expression:c(326),material:{...n,id:ve[c(1068)]()},boundDatasetId:null}),Go=(n,t,x)=>{const e=c;if(x?.[e(1972)]===e(1564)&&x[e(973)]?.[e(906)]){const o=x[e(973)][e(906)][e(802)](u=>({...u,id:ve[e(1068)]()}));let r=1/0,i=1/0,a=-1/0,d=-1/0;o[e(1105)](u=>{const f=e,g=u[f(652)].x||0,b=u[f(652)].y||0,w=u[f(652)][f(687)]||0,y=u.normalStyle[f(500)]||0;r=Math[f(408)](r,g),i=Math.min(i,b),a=Math[f(363)](a,g+w),d=Math.max(d,b+y)});const s=o[e(802)](u=>({...u,normalStyle:{...u[e(652)],x:(u[e(652)].x||0)-r,y:(u[e(652)].y||0)-i,scale:void 0}}));return{id:ve.nanoid(),name:x[e(495)]||"群组节点",type:e(1984),normalStyle:{width:a-r,height:d-i,x:n,y:t},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:ve[e(1068)](),name:e(998),type:"normal",normalStyle:{width:120,height:100,x:n,y:t,background:e(1515),padding:8},contentInfo:{statusList:x?[bx(x)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:J0}=z[c(1299)],{Text:tt}=z[c(1671)],Vo=({onUploadSvg:n})=>{const t=c,{materials:x,addMaterial:e,removeMaterial:o,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:u}=je(),[f,g]=L[t(1183)]([t(917),t(814),t(303),t(316)]),b=p=>{const v=t,m=new FileReader;return m.onload=M=>{const I=_0x1826,Y=M[I(1917)]?.[I(462)];e({name:p[I(495)][I(1582)](I(400),""),type:"IMAGE",src:Y})},m[v(563)](p),!1},w={basic:x[t(891)](p=>["矩形","圆形","圆角矩形"][t(1052)](p.name)),device:x[t(891)](p=>["阀门","泵","罐体"].includes(p.name)||p.type==="IMAGE"&&!["矩形","圆形",t(1023)][t(1052)](p.name)&&p[t(495)]!==t(1970)),text:x[t(891)](p=>p[t(1972)]===t(1811)),line:x[t(891)](p=>p[t(1972)]===t(696)),group:x[t(891)](p=>p[t(1972)]===t(1564)&&p[t(973)]?.[t(906)]),custom:x.filter(p=>p.type===t(1564)&&!p[t(973)]?.[t(906)]||p[t(1972)]===t(411)&&!["矩形","圆形",t(1023),"阀门","泵","罐体"].includes(p[t(495)]))},y=(p,v)=>{const m=t;p[m(1876)][m(956)]=m(1002),p[m(1876)][m(1960)](m(1035),JSON[m(1039)](v));const M=p[m(2042)][m(1753)](m(1036));M&&p[m(1876)][m(984)](M,20,20)},h=p=>{const v=t;p[v(1972)]===v(696)&&s(p)},C=(p,v=!1)=>{const m=t,M=v===!0,I=a===m(2064)&&M&&d[m(1016)]?.id===p.id;return l[m(1838)](z[m(1715)][m(801)],{draggable:!M,onDragStart:Y=>y(Y,p),onClick:()=>M&&h(p),className:m(567)+m(M?1208:1286)+m(943)+m(1335)+`
|
|
3
|
-
`+(I?m(838):"")+m(685),actions:[M?l[m(1838)](z[m(1140)],{type:m(303),size:m(1948),icon:l[m(1838)](se[m(1902)],{}),onClick:Y=>{Y[m(776)](),h(p)},children:"绘制"},m(435)):null,l.jsx(z[m(1140)],{type:"text",size:"small",danger:!0,icon:l[m(1838)](se[m(877)],{}),onClick:Y=>{Y.stopPropagation(),o(p.id)}},m(779))][m(891)](Boolean),children:l[m(328)](m(701),{className:m(1636)+(M?"":m(1721)),children:[l[m(1838)](m(701),{className:m(524),children:p.type==="IMAGE"&&p.src?l[m(1838)](z[m(1646)],{src:p.src,alt:p[m(495)],width:40,height:40,preview:!1}):p[m(1972)]===m(1811)?l[m(1838)](m(1111),{className:m(1822),children:"T"}):p[m(1972)]===m(696)?l.jsx("div",{className:"w-8 h-0.5 bg-gray-400"}):p.type==="CUSTOM"&&p[m(973)]?.nodes?l[m(1838)](m(1111),{className:m(2079),children:"G"}):l.jsx(m(1111),{className:m(1822),children:"?"})}),l[m(328)](m(701),{className:"flex-1 min-w-0",children:[l[m(1838)](tt,{strong:!0,className:m(1447),children:p[m(495)]}),l[m(328)](m(701),{className:m(1290),children:[l.jsx(tt,{type:m(460),className:m(655),children:p[m(1972)]}),I&&l.jsx(z[m(734)],{color:"blue",className:m(655),children:m(1323)})]})]})]})},p.id)};return l[t(328)]("div",{className:t(2033),children:[l[t(328)](t(701),{className:t(358),children:[l[t(1838)]("h3",{className:t(521),children:t(564)}),l[t(1838)](tt,{type:t(460),className:t(1712),children:t(1495)})]}),l[t(1838)]("div",{className:t(394),children:n?l.jsx(z[t(1140)],{icon:l[t(1838)](se.UploadOutlined,{}),block:!0,type:"dashed",onClick:()=>{n().catch(p=>{console.log(_0x1826(540),p)})},children:t(901)}):l[t(1838)](z[t(1728)],{accept:t(400),beforeUpload:b,showUploadList:!1,children:l[t(1838)](z[t(1140)],{icon:l[t(1838)](se.UploadOutlined,{}),block:!0,type:t(1082),children:t(901)})})}),l[t(1838)](t(701),{className:t(591),children:l[t(328)](z[t(1299)],{activeKey:f,onChange:p=>g(p),ghost:!0,expandIconPosition:t(1015),children:[l[t(1838)](J0,{header:t(1998),children:l[t(1838)](z[t(1715)],{dataSource:w[t(917)],renderItem:p=>C(p,!1),locale:{emptyText:l[t(1838)](z.Empty,{description:t(1416),image:z[t(1439)].PRESENTED_IMAGE_SIMPLE})}})},t(917)),l[t(1838)](J0,{header:t(1623),children:l[t(1838)](z.List,{dataSource:w.device,renderItem:p=>C(p,!1),locale:{emptyText:l.jsx(z[t(1439)],{description:"暂无物料",image:z[t(1439)].PRESENTED_IMAGE_SIMPLE})}})},t(814)),l.jsx(J0,{header:"文本",children:l[t(1838)](z[t(1715)],{dataSource:w[t(303)],renderItem:p=>C(p,!1),locale:{emptyText:l[t(1838)](z.Empty,{description:t(1416),image:z[t(1439)][t(1920)]})}})},t(303)),l.jsxs(J0,{header:l[t(328)](t(701),{className:"flex items-center justify-between",children:[l[t(1838)](t(1111),{children:"线条"}),a===t(2064)&&l[t(1838)](z.Tag,{color:t(711),className:t(655),children:t(1080)})]}),children:[l[t(1838)](z[t(1715)],{dataSource:w.line,renderItem:p=>C(p,!0),locale:{emptyText:l[t(1838)](z[t(1439)],{description:"暂无物料",image:z[t(1439)][t(1920)]})}}),a===t(2064)&&l[t(328)](t(701),{className:t(986),children:[l[t(1838)](t(701),{children:t(1649)}),l[t(1838)](t(701),{children:t(550)})]})]},t(316)),w[t(1984)][t(2088)]>0&&l[t(1838)](J0,{header:"群组",children:l[t(1838)](z[t(1715)],{dataSource:w[t(1984)],renderItem:p=>C(p,!1),locale:{emptyText:l[t(1838)](z[t(1439)],{description:t(1416),image:z[t(1439)].PRESENTED_IMAGE_SIMPLE})}})},t(1984)),w[t(1200)][t(2088)]>0&&l[t(1838)](J0,{header:t(1970),children:l.jsx(z[t(1715)],{dataSource:w.custom,renderItem:p=>C(p,!1),locale:{emptyText:l.jsx(z.Empty,{description:t(1416),image:z.Empty[t(1920)]})}})},t(1200))]})}),l.jsx(t(701),{className:t(1135),children:l[t(1838)](tt,{type:t(460),className:"text-xs",children:a===t(2064)?l[t(1838)](l[t(561)],{children:t(1951)}):l[t(1838)](l[t(561)],{children:t(1202)})})})]})};var hx=function(n,t){return hx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,e){const o=_0x1826;x[o(1106)]=e}||function(x,e){const o=_0x1826;for(var r in e)Object.prototype[o(1600)][o(671)](e,r)&&(x[r]=e[r])},hx(n,t)};function m0(n,t){const x=c;if(typeof t!==x(828)&&t!==null)throw new TypeError("Class extends value "+String(t)+x(1329));hx(n,t);function e(){const o=x;this[o(402)]=n}n[x(1843)]=t===null?Object[x(885)](t):(e[x(1843)]=t[x(1843)],new e)}function _c(n,t,x,e){function o(r){return r instanceof x?r:new x(function(i){i(r)})}return new(x||(x=Promise))(function(r,i){const a=_0x1826;function d(f){const g=_0x1826;try{u(e[g(800)](f))}catch(b){i(b)}}function s(f){const g=_0x1826;try{u(e[g(809)](f))}catch(b){i(b)}}function u(f){const g=_0x1826;f[g(1385)]?r(f[g(658)]):o(f.value)[g(1348)](d,s)}u((e=e[a(1426)](n,t||[]))[a(800)]())})}function Ho(n,t){const x=c;var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a=Object[x(885)]((typeof Iterator===x(828)?Iterator:Object).prototype);return a[x(800)]=d(0),a.throw=d(1),a[x(1791)]=d(2),typeof Symbol=="function"&&(a[Symbol[x(547)]]=function(){return this}),a;function d(u){return function(f){return s([u,f])}}function s(u){const f=x;if(o)throw new TypeError(f(1656));for(;a&&(a=0,u[0]&&(e=0)),e;)try{if(o=1,r&&(i=u[0]&2?r[f(1791)]:u[0]?r[f(809)]||((i=r[f(1791)])&&i[f(671)](r),0):r[f(800)])&&!(i=i[f(671)](r,u[1]))[f(1385)])return i;switch(r=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e[f(273)]++,{value:u[1],done:!1};case 5:e.label++,r=u[1],u=[0];continue;case 7:u=e[f(480)].pop(),e.trys.pop();continue;default:if(i=e[f(657)],!(i=i[f(2088)]>0&&i[i[f(2088)]-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e[f(273)]=u[1];break}if(u[0]===6&&e[f(273)]<i[1]){e[f(273)]=i[1],i=u;break}if(i&&e[f(273)]<i[2]){e[f(273)]=i[2],e[f(480)].push(u);break}i[2]&&e[f(480)][f(1394)](),e[f(657)].pop();continue}u=t.call(n,e)}catch(g){u=[6,g],r=0}finally{o=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function _0(n){const t=c;var x=typeof Symbol=="function"&&Symbol[t(547)],e=x&&n[x],o=0;if(e)return e[t(671)](n);if(n&&typeof n[t(2088)]===t(515))return{next:function(){return n&&o>=n.length&&(n=void 0),{value:n&&n[o++],done:!n}}};throw new TypeError(t(x?370:1850))}function xt(n,t){const x=c;var e=typeof Symbol=="function"&&n[Symbol[x(547)]];if(!e)return n;var o=e[x(671)](n),r,i=[],a;try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)i[x(1297)](r[x(658)])}catch(d){a={error:d}}finally{try{r&&!r[x(1385)]&&(e=o[x(1791)])&&e[x(671)](o)}finally{if(a)throw a[x(1186)]}}return i}function ot(n,t,x){const e=c;if(x||arguments[e(2088)]===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array[e(1843)][e(364)][e(671)](t,0,o)),i[o]=t[o]);return n[e(1628)](i||Array[e(1843)][e(364)][e(671)](t))}function Q0(n){return this instanceof Q0?(this.v=n,this):new Q0(n)}function Qc(n,t,x){const e=c;if(!Symbol[e(1269)])throw new TypeError(e(425));var o=x.apply(n,t||[]),r,i=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object)[e(1843)]),d(e(800)),d(e(809)),d(e(1791),a),r[Symbol[e(1269)]]=function(){return this},r;function a(w){return function(y){return Promise.resolve(y).then(w,g)}}function d(w,y){o[w]&&(r[w]=function(h){return new Promise(function(C,p){i.push([w,h,C,p])>1||s(w,h)})},y&&(r[w]=y(r[w])))}function s(w,y){try{u(o[w](y))}catch(h){b(i[0][3],h)}}function u(w){const y=e;w.value instanceof Q0?Promise[y(491)](w[y(658)].v)[y(1348)](f,g):b(i[0][2],w)}function f(w){s(e(800),w)}function g(w){s(e(809),w)}function b(w,y){const h=e;w(y),i[h(772)](),i.length&&s(i[0][0],i[0][1])}}function Fc(n){const t=c;if(!Symbol[t(1269)])throw new TypeError("Symbol.asyncIterator is not defined.");var x=n[Symbol[t(1269)]],e;return x?x[t(671)](n):(n=typeof _0===t(828)?_0(n):n[Symbol.iterator](),e={},o(t(800)),o(t(809)),o("return"),e[Symbol[t(1269)]]=function(){return this},e);function o(i){e[i]=n[i]&&function(a){return new Promise(function(d,s){const u=_0x1826;a=n[i](a),r(d,s,a[u(1385)],a[u(658)])})}}function r(i,a,d,s){Promise.resolve(s).then(function(u){i({value:u,done:d})},a)}}typeof SuppressedError===c(828)&&SuppressedError;function Ie(n){return typeof n===c(828)}function gx(n){const t=c;var x=function(o){const r=_0x1826;Error.call(o),o.stack=new Error()[r(1555)]},e=n(x);return e[t(1843)]=Object[t(885)](Error[t(1843)]),e[t(1843)][t(402)]=e,e}var yx=gx(function(n){return function(x){const e=_0x1826;n(this),this[e(369)]=x?x[e(2088)]+e(1792)+x[e(802)](function(o,r){return r+1+") "+o.toString()}).join(e(1943)):"",this[e(495)]="UnsubscriptionError",this[e(826)]=x}});function rt(n,t){const x=c;if(n){var e=n[x(799)](t);0<=e&&n[x(272)](e,1)}}var Ln=(function(){const n=c;function t(x){const e=_0x1826;this.initialTeardown=x,this[e(1365)]=!1,this._parentage=null,this[e(2075)]=null}return t[n(1843)][n(1166)]=function(){const x=n;var e,o,r,i,a;if(!this[x(1365)]){this[x(1365)]=!0;var d=this[x(1245)];if(d)if(this[x(1245)]=null,Array.isArray(d))try{for(var s=_0(d),u=s.next();!u[x(1385)];u=s.next()){var f=u.value;f[x(1575)](this)}}catch(C){e={error:C}}finally{try{u&&!u[x(1385)]&&(o=s[x(1791)])&&o.call(s)}finally{if(e)throw e.error}}else d[x(1575)](this);var g=this.initialTeardown;if(Ie(g))try{g()}catch(C){a=C instanceof yx?C[x(826)]:[C]}var b=this[x(2075)];if(b){this._finalizers=null;try{for(var w=_0(b),y=w.next();!y.done;y=w[x(800)]()){var h=y.value;try{Wo(h)}catch(C){a=a??[],C instanceof yx?a=ot(ot([],xt(a)),xt(C[x(826)])):a.push(C)}}}catch(C){r={error:C}}finally{try{y&&!y[x(1385)]&&(i=w[x(1791)])&&i[x(671)](w)}finally{if(r)throw r[x(1186)]}}}if(a)throw new yx(a)}},t[n(1843)][n(315)]=function(x){const e=n;var o;if(x&&x!==this)if(this.closed)Wo(x);else{if(x instanceof t){if(x[e(1365)]||x[e(1745)](this))return;x[e(789)](this)}(this[e(2075)]=(o=this[e(2075)])!==null&&o!==void 0?o:[])[e(1297)](x)}},t[n(1843)][n(1745)]=function(x){const e=n;var o=this[e(1245)];return o===x||Array[e(915)](o)&&o[e(1052)](x)},t.prototype._addParent=function(x){const e=n;var o=this._parentage;this._parentage=Array.isArray(o)?(o[e(1297)](x),o):o?[o,x]:x},t[n(1843)][n(1204)]=function(x){const e=n;var o=this._parentage;o===x?this[e(1245)]=null:Array.isArray(o)&&rt(o,x)},t[n(1843)].remove=function(x){const e=n;var o=this[e(2075)];o&&rt(o,x),x instanceof t&&x[e(1204)](this)},t[n(1934)]=(function(){const x=n;var e=new t;return e[x(1365)]=!0,e})(),t})(),To=Ln[c(1934)];function qo(n){const t=c;return n instanceof Ln||n&&t(1365)in n&&Ie(n[t(1575)])&&Ie(n[t(315)])&&Ie(n[t(1166)])}function Wo(n){Ie(n)?n():n.unsubscribe()}var $c={Promise:void 0},es={setTimeout:function(n,t){for(var x=[],e=2;e<arguments.length;e++)x[e-2]=arguments[e];return setTimeout.apply(void 0,ot([n,t],xt(x)))},clearTimeout:function(n){return clearTimeout(n)},delegate:void 0};function Xo(n){es[c(1008)](function(){throw n})}function Ko(){}function it(n){n()}var mx=(function(n){const t=c;m0(x,n);function x(e){const o=_0x1826;var r=n[o(671)](this)||this;return r[o(440)]=!1,e?(r[o(1732)]=e,qo(e)&&e.add(r)):r[o(1732)]=xs,r}return x[t(885)]=function(e,o,r){return new vx(e,o,r)},x[t(1843)][t(800)]=function(e){const o=t;this[o(440)]||this[o(1669)](e)},x[t(1843)][t(1186)]=function(e){const o=t;this[o(440)]||(this[o(440)]=!0,this._error(e))},x[t(1843)][t(735)]=function(){this.isStopped||(this.isStopped=!0,this._complete())},x[t(1843)][t(1166)]=function(){const e=t;!this[e(1365)]&&(this[e(440)]=!0,n[e(1843)][e(1166)][e(671)](this),this[e(1732)]=null)},x.prototype[t(1669)]=function(e){this.destination.next(e)},x[t(1843)][t(713)]=function(e){const o=t;try{this[o(1732)][o(1186)](e)}finally{this[o(1166)]()}},x[t(1843)][t(1938)]=function(){const e=t;try{this[e(1732)][e(735)]()}finally{this.unsubscribe()}},x})(Ln),ns=(function(){const n=c;function t(x){const e=_0x1826;this[e(1645)]=x}return t.prototype[n(800)]=function(x){const e=n;var o=this[e(1645)];if(o[e(800)])try{o[e(800)](x)}catch(r){at(r)}},t[n(1843)][n(1186)]=function(x){const e=n;var o=this[e(1645)];if(o[e(1186)])try{o[e(1186)](x)}catch(r){at(r)}else at(x)},t.prototype[n(735)]=function(){const x=n;var e=this[x(1645)];if(e.complete)try{e[x(735)]()}catch(o){at(o)}},t})(),vx=(function(n){m0(t,n);function t(x,e,o){const r=_0x1826;var i=n[r(671)](this)||this,a;return Ie(x)||!x?a={next:x??void 0,error:e??void 0,complete:o??void 0}:a=x,i[r(1732)]=new ns(a),i}return t})(mx);function at(n){Xo(n)}function ts(n){throw n}var xs={closed:!0,next:Ko,error:ts,complete:Ko},wx=(function(){return typeof Symbol=="function"&&Symbol[c(1505)]||"@@observable"})();function Zo(n){return n}function os(n){const t=c;return n[t(2088)]===0?Zo:n[t(2088)]===1?n[0]:function(e){return n.reduce(function(o,r){return r(o)},e)}}var Re=(function(){const n=c;function t(x){const e=_0x1826;x&&(this[e(972)]=x)}return t[n(1843)].lift=function(x){const e=n;var o=new t;return o.source=this,o[e(690)]=x,o},t[n(1843)][n(1933)]=function(x,e,o){var r=this,i=is(x)?x:new vx(x,e,o);return it(function(){const a=_0x1826;var d=r,s=d[a(690)],u=d[a(1969)];i[a(315)](s?s[a(671)](i,u):u?r[a(972)](i):r[a(1518)](i))}),i},t[n(1843)][n(1518)]=function(x){const e=n;try{return this[e(972)](x)}catch(o){x[e(1186)](o)}},t[n(1843)][n(1105)]=function(x,e){var o=this;return e=Ro(e),new e(function(r,i){const a=_0x1826;var d=new vx({next:function(s){const u=_0x1826;try{x(s)}catch(f){i(f),d[u(1166)]()}},error:i,complete:r});o[a(1933)](d)})},t[n(1843)][n(972)]=function(x){const e=n;var o;return(o=this[e(1969)])===null||o===void 0?void 0:o.subscribe(x)},t[n(1843)][wx]=function(){return this},t.prototype[n(1648)]=function(){const x=n;for(var e=[],o=0;o<arguments[x(2088)];o++)e[o]=arguments[o];return os(e)(this)},t.prototype.toPromise=function(x){var e=this;return x=Ro(x),new x(function(o,r){const i=_0x1826;var a;e[i(1933)](function(d){return a=d},function(d){return r(d)},function(){return o(a)})})},t.create=function(x){return new t(x)},t})();function Ro(n){const t=c;var x;return(x=n??$c[t(2018)])!==null&&x!==void 0?x:Promise}function rs(n){const t=c;return n&&Ie(n[t(800)])&&Ie(n.error)&&Ie(n[t(735)])}function is(n){return n&&n instanceof mx||rs(n)&&qo(n)}function as(n){return Ie(n?.[c(1987)])}function k0(n){return function(t){const x=_0x1826;if(as(t))return t[x(1987)](function(e){const o=x;try{return n(e,this)}catch(r){this[o(1186)](r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P0(n,t,x,e,o){return new cs(n,t,x,e,o)}var cs=(function(n){const t=c;m0(x,n);function x(e,o,r,i,a,d){const s=_0x1826;var u=n[s(671)](this,e)||this;return u[s(1188)]=a,u[s(323)]=d,u._next=o?function(f){const g=s;try{o(f)}catch(b){e[g(1186)](b)}}:n.prototype[s(1669)],u[s(713)]=i?function(f){const g=s;try{i(f)}catch(b){e.error(b)}finally{this[g(1166)]()}}:n[s(1843)][s(713)],u[s(1938)]=r?function(){const f=s;try{r()}catch(g){e[f(1186)](g)}finally{this[f(1166)]()}}:n.prototype[s(1938)],u}return x.prototype[t(1166)]=function(){const e=t;var o;if(!this.shouldUnsubscribe||this[e(323)]()){var r=this[e(1365)];n.prototype.unsubscribe.call(this),!r&&((o=this[e(1188)])===null||o===void 0||o[e(671)](this))}},x})(mx),ss=gx(function(n){return function(){const x=_0x1826;n(this),this[x(495)]="ObjectUnsubscribedError",this.message=x(1438)}}),Jo=(function(n){const t=c;m0(x,n);function x(){const e=_0x1826;var o=n.call(this)||this;return o.closed=!1,o[e(1770)]=null,o[e(1589)]=[],o[e(440)]=!1,o[e(509)]=!1,o[e(1074)]=null,o}return x[t(1843)][t(1987)]=function(e){var o=new _o(this,this);return o.operator=e,o},x.prototype[t(1836)]=function(){if(this.closed)throw new ss},x[t(1843)][t(800)]=function(e){var o=this;it(function(){const r=_0x1826;var i,a;if(o._throwIfClosed(),!o[r(440)]){!o[r(1770)]&&(o.currentObservers=Array.from(o.observers));try{for(var d=_0(o[r(1770)]),s=d[r(800)]();!s[r(1385)];s=d[r(800)]()){var u=s[r(658)];u[r(800)](e)}}catch(f){i={error:f}}finally{try{s&&!s[r(1385)]&&(a=d.return)&&a[r(671)](d)}finally{if(i)throw i[r(1186)]}}}})},x[t(1843)][t(1186)]=function(e){var o=this;it(function(){const r=_0x1826;if(o._throwIfClosed(),!o.isStopped){o[r(509)]=o[r(440)]=!0,o[r(1074)]=e;for(var i=o[r(1589)];i.length;)i[r(772)]()[r(1186)](e)}})},x[t(1843)].complete=function(){var e=this;it(function(){const o=_0x1826;if(e[o(1836)](),!e[o(440)]){e.isStopped=!0;for(var r=e[o(1589)];r[o(2088)];)r[o(772)]()[o(735)]()}})},x.prototype.unsubscribe=function(){const e=t;this[e(440)]=this[e(1365)]=!0,this.observers=this[e(1770)]=null},Object.defineProperty(x[t(1843)],t(1882),{get:function(){const e=t;var o;return((o=this.observers)===null||o===void 0?void 0:o[e(2088)])>0},enumerable:!1,configurable:!0}),x[t(1843)][t(1518)]=function(e){const o=t;return this._throwIfClosed(),n[o(1843)][o(1518)][o(671)](this,e)},x[t(1843)][t(972)]=function(e){const o=t;return this[o(1836)](),this[o(1761)](e),this._innerSubscribe(e)},x[t(1843)][t(730)]=function(e){const o=t;var r=this,i=this,a=i[o(509)],d=i[o(440)],s=i[o(1589)];return a||d?To:(this.currentObservers=null,s.push(e),new Ln(function(){const u=o;r[u(1770)]=null,rt(s,e)}))},x.prototype[t(1761)]=function(e){const o=t;var r=this,i=r.hasError,a=r[o(1074)],d=r[o(440)];i?e.error(a):d&&e[o(735)]()},x[t(1843)].asObservable=function(){var e=new Re;return e.source=this,e},x[t(885)]=function(e,o){return new _o(e,o)},x})(Re),_o=(function(n){const t=c;m0(x,n);function x(e,o){const r=_0x1826;var i=n[r(671)](this)||this;return i[r(1732)]=e,i[r(1969)]=o,i}return x.prototype[t(800)]=function(e){const o=t;var r,i;(i=(r=this[o(1732)])===null||r===void 0?void 0:r[o(800)])===null||i===void 0||i[o(671)](r,e)},x[t(1843)][t(1186)]=function(e){const o=t;var r,i;(i=(r=this[o(1732)])===null||r===void 0?void 0:r[o(1186)])===null||i===void 0||i[o(671)](r,e)},x[t(1843)][t(735)]=function(){const e=t;var o,r;(r=(o=this[e(1732)])===null||o===void 0?void 0:o[e(735)])===null||r===void 0||r[e(671)](o)},x[t(1843)][t(972)]=function(e){const o=t;var r,i;return(i=(r=this[o(1969)])===null||r===void 0?void 0:r[o(1933)](e))!==null&&i!==void 0?i:To},x})(Jo),ls={now:function(){return Date[c(958)]()}},ds=(function(n){const t=c;m0(x,n);function x(e,o){return n.call(this)||this}return x[t(1843)][t(1223)]=function(e,o){return this},x})(Ln),Qo={setInterval:function(n,t){const x=c;for(var e=[],o=2;o<arguments[x(2088)];o++)e[o-2]=arguments[o];return setInterval[x(1426)](void 0,ot([n,t],xt(e)))},clearInterval:function(n){return clearInterval(n)},delegate:void 0},us=(function(n){const t=c;m0(x,n);function x(e,o){const r=_0x1826;var i=n[r(671)](this,e,o)||this;return i.scheduler=e,i[r(1796)]=o,i.pending=!1,i}return x.prototype.schedule=function(e,o){const r=_0x1826;var i;if(o===void 0&&(o=0),this[r(1365)])return this;this.state=e;var a=this.id,d=this[r(1566)];return a!=null&&(this.id=this[r(1816)](d,a,o)),this[r(794)]=!0,this[r(1292)]=o,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(325)](d,this.id,o),this},x[t(1843)][t(325)]=function(e,o,r){const i=t;return r===void 0&&(r=0),Qo.setInterval(e[i(1874)][i(1913)](e,this),r)},x[t(1843)].recycleAsyncId=function(e,o,r){const i=t;return r===void 0&&(r=0),r!=null&&this[i(1292)]===r&&this[i(794)]===!1?o:(o!=null&&Qo[i(1534)](o),void 0)},x.prototype[t(913)]=function(e,o){const r=t;if(this[r(1365)])return new Error("executing a cancelled action");this[r(794)]=!1;var i=this[r(1928)](e,o);if(i)return i;this[r(794)]===!1&&this.id!=null&&(this.id=this[r(1816)](this.scheduler,this.id,null))},x.prototype[t(1928)]=function(e,o){const r=t;var i=!1,a;try{this[r(1796)](e)}catch(d){i=!0,a=d||new Error("Scheduled action threw falsy error")}if(i)return this[r(1166)](),a},x[t(1843)][t(1166)]=function(){const e=t;if(!this[e(1365)]){var o=this,r=o.id,i=o[e(1566)],a=i[e(1793)];this[e(1796)]=this[e(1935)]=this[e(1566)]=null,this[e(794)]=!1,rt(a,this),r!=null&&(this.id=this[e(1816)](i,r,null)),this[e(1292)]=null,n.prototype[e(1166)][e(671)](this)}},x})(ds),Fo=(function(){const n=c;function t(x,e){const o=_0x1826;e===void 0&&(e=t[o(958)]),this[o(902)]=x,this[o(958)]=e}return t[n(1843)][n(1223)]=function(x,e,o){const r=n;return e===void 0&&(e=0),new this[r(902)](this,x)[r(1223)](o,e)},t.now=ls.now,t})(),fs=(function(n){const t=c;m0(x,n);function x(e,o){const r=_0x1826;o===void 0&&(o=Fo.now);var i=n[r(671)](this,e,o)||this;return i[r(1793)]=[],i[r(492)]=!1,i}return x[t(1843)].flush=function(e){const o=t;var r=this[o(1793)];if(this[o(492)]){r[o(1297)](e);return}var i;this[o(492)]=!0;do if(i=e[o(913)](e[o(1935)],e[o(1292)]))break;while(e=r[o(772)]());if(this[o(492)]=!1,i){for(;e=r[o(772)]();)e[o(1166)]();throw i}},x})(Fo),bs=new fs(us);function hs(n){return n&&Ie(n[c(1223)])}function gs(n){return n[n[c(2088)]-1]}function ys(n){return hs(gs(n))?n.pop():void 0}var $o=function(n){const t=c;return n&&typeof n[t(2088)]===t(515)&&typeof n!==t(828)};function er(n){return Ie(n?.then)}function nr(n){return Ie(n[wx])}function tr(n){const t=c;return Symbol[t(1269)]&&Ie(n?.[Symbol[t(1269)]])}function xr(n){const t=c;return new TypeError(t(1765)+(n!==null&&typeof n===t(2101)?"an invalid object":"'"+n+"'")+t(268))}function ms(){const n=c;return typeof Symbol!==n(828)||!Symbol[n(547)]?n(1170):Symbol[n(547)]}var or=ms();function rr(n){return Ie(n?.[or])}function ir(n){return Qc(this,arguments,function(){var x,e,o,r;return Ho(this,function(i){const a=_0x1826;switch(i[a(273)]){case 0:x=n.getReader(),i.label=1;case 1:i[a(657)][a(1297)]([1,,9,10]),i[a(273)]=2;case 2:return[4,Q0(x[a(1483)]())];case 3:return e=i[a(1044)](),o=e[a(658)],r=e[a(1385)],r?[4,Q0(void 0)]:[3,5];case 4:return[2,i[a(1044)]()];case 5:return[4,Q0(o)];case 6:return[4,i[a(1044)]()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return x.releaseLock(),[7];case 10:return[2]}})})}function ar(n){return Ie(n?.[c(739)])}function I0(n){if(n instanceof Re)return n;if(n!=null){if(nr(n))return vs(n);if($o(n))return ws(n);if(er(n))return ps(n);if(tr(n))return cr(n);if(rr(n))return zs(n);if(ar(n))return Cs(n)}throw xr(n)}function vs(n){return new Re(function(t){var x=n[wx]();if(Ie(x.subscribe))return x.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ws(n){return new Re(function(t){const x=_0x1826;for(var e=0;e<n[x(2088)]&&!t[x(1365)];e++)t[x(800)](n[e]);t[x(735)]()})}function ps(n){return new Re(function(t){const x=_0x1826;n.then(function(e){const o=_0x1826;!t[o(1365)]&&(t[o(800)](e),t[o(735)]())},function(e){return t[_0x1826(1186)](e)})[x(1348)](null,Xo)})}function zs(n){return new Re(function(t){const x=_0x1826;var e,o;try{for(var r=_0(n),i=r.next();!i[x(1385)];i=r.next()){var a=i[x(658)];if(t.next(a),t[x(1365)])return}}catch(d){e={error:d}}finally{try{i&&!i.done&&(o=r[x(1791)])&&o.call(r)}finally{if(e)throw e.error}}t.complete()})}function cr(n){return new Re(function(t){const x=_0x1826;Ms(n,t)[x(1278)](function(e){return t.error(e)})})}function Cs(n){return cr(ir(n))}function Ms(n,t){var x,e,o,r;return _c(this,void 0,void 0,function(){var i,a;return Ho(this,function(d){const s=_0x1826;switch(d[s(273)]){case 0:d[s(657)][s(1297)]([0,5,6,11]),x=Fc(n),d.label=1;case 1:return[4,x[s(800)]()];case 2:if(e=d.sent(),!!e[s(1385)])return[3,4];if(i=e[s(658)],t[s(800)](i),t[s(1365)])return[2];d.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=d[s(1044)](),o={error:a},[3,11];case 6:return d.trys.push([6,,9,10]),e&&!e[s(1385)]&&(r=x[s(1791)])?[4,r[s(671)](x)]:[3,8];case 7:d.sent(),d[s(273)]=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t[s(735)](),[2]}})})}function v0(n,t,x,e,o){const r=c;e===void 0&&(e=0),o===void 0&&(o=!1);var i=t[r(1223)](function(){const a=r;x(),o?n[a(315)](this.schedule(null,e)):this[a(1166)]()},e);if(n[r(315)](i),!o)return i}function sr(n,t){return t===void 0&&(t=0),k0(function(x,e){x.subscribe(P0(e,function(o){return v0(e,n,function(){return e[_0x1826(800)](o)},t)},function(){return v0(e,n,function(){return e[_0x1826(735)]()},t)},function(o){return v0(e,n,function(){return e[_0x1826(1186)](o)},t)}))})}function lr(n,t){return t===void 0&&(t=0),k0(function(x,e){e.add(n.schedule(function(){return x[_0x1826(1933)](e)},t))})}function Bs(n,t){return I0(n).pipe(lr(t),sr(t))}function Ds(n,t){const x=c;return I0(n)[x(1648)](lr(t),sr(t))}function Ls(n,t){return new Re(function(x){const e=_0x1826;var o=0;return t[e(1223)](function(){const r=e;o===n[r(2088)]?x[r(735)]():(x.next(n[o++]),!x[r(1365)]&&this[r(1223)]())})})}function Ns(n,t){return new Re(function(x){var e;return v0(x,t,function(){e=n[or](),v0(x,t,function(){const o=_0x1826;var r,i,a;try{r=e.next(),i=r[o(658)],a=r[o(1385)]}catch(d){x[o(1186)](d);return}a?x.complete():x.next(i)},0,!0)}),function(){const o=_0x1826;return Ie(e?.[o(1791)])&&e[o(1791)]()}})}function dr(n,t){const x=c;if(!n)throw new Error(x(417));return new Re(function(e){v0(e,t,function(){const o=_0x1826;var r=n[Symbol[o(1269)]]();v0(e,t,function(){const i=o;r[i(800)]()[i(1348)](function(a){const d=i;a[d(1385)]?e.complete():e[d(800)](a[d(658)])})},0,!0)})})}function Ss(n,t){return dr(ir(n),t)}function ks(n,t){if(n!=null){if(nr(n))return Bs(n,t);if($o(n))return Ls(n,t);if(er(n))return Ds(n,t);if(tr(n))return dr(n,t);if(rr(n))return Ns(n,t);if(ar(n))return Ss(n,t)}throw xr(n)}function ct(n,t){return t?ks(n,t):I0(n)}function _e(){const n=c;for(var t=[],x=0;x<arguments[n(2088)];x++)t[x]=arguments[x];var e=ys(t);return ct(t,e)}function Ee(n,t){var x=Ie(n)?n:function(){return n},e=function(o){return o.error(x())};return new Re(e)}function Ps(n){return n instanceof Date&&!isNaN(n)}var Is=gx(function(n){return function(x){const e=_0x1826;x===void 0&&(x=null),n(this),this[e(369)]=e(1618),this.name=e(1992),this.info=x}});function As(n,t){const x=c;var e=Ps(n)?{first:n}:{each:n},o=e[x(1113)],r=e[x(584)],i=e[x(697)],a=i===void 0?Es:i,d=e[x(1566)],s=d===void 0?bs:d,u=e[x(535)],f=u===void 0?null:u;if(o==null&&r==null)throw new TypeError("No timeout provided.");return k0(function(g,b){const w=x;var y,h,C=null,p=0,v=function(m){h=v0(b,s,function(){const M=_0x1826;try{y.unsubscribe(),I0(a({meta:f,lastValue:C,seen:p}))[M(1933)](b)}catch(I){b[M(1186)](I)}},m)};y=g[w(1933)](P0(b,function(m){const M=w;h?.unsubscribe(),p++,b[M(800)](C=m),r>0&&v(r)},void 0,void 0,function(){const m=w;!h?.closed&&h?.[m(1166)](),C=null})),!p&&v(o!=null?typeof o===w(515)?o:+o-s[w(958)]():r)})}function Es(n){throw new Is(n)}function st(n,t){return k0(function(x,e){const o=_0x1826;var r=0;x[o(1933)](P0(e,function(i){const a=o;e.next(n[a(671)](t,i,r++))}))})}function js(n,t,x,e,o,r,i,a){var d=[],s=0,u=0,f=!1,g=function(){const y=_0x1826;f&&!d[y(2088)]&&!s&&t[y(735)]()},b=function(y){const h=_0x1826;return s<e?w(y):d[h(1297)](y)},w=function(y){const h=_0x1826;s++;var C=!1;I0(x(y,u++))[h(1933)](P0(t,function(p){t.next(p)},function(){C=!0},void 0,function(){const p=h;if(C)try{s--;for(var v=function(){var M=d[_0x1826(772)]();i||w(M)};d[p(2088)]&&s<e;)v();g()}catch(m){t[p(1186)](m)}}))};return n.subscribe(P0(t,b,function(){f=!0,g()})),function(){}}function px(n,t,x){const e=c;return x===void 0&&(x=1/0),Ie(t)?px(function(o,r){return st(function(i,a){return t(o,i,r,a)})(I0(n(o,r)))},x):(typeof t===e(515)&&(x=t),k0(function(o,r){return js(o,r,n,x)}))}function lt(n){return k0(function(t,x){const e=_0x1826;var o=null,r=!1,i;o=t[e(1933)](P0(x,void 0,void 0,function(a){const d=e;i=I0(n(a,lt(n)(t))),o?(o[d(1166)](),o=null,i[d(1933)](x)):r=!0})),r&&(o[e(1166)](),o=null,i[e(1933)](x))})}function Ys(n,t,x){var e=Ie(n)||t||x?{next:n,error:t,complete:x}:n;return e?k0(function(o,r){const i=_0x1826;var a;(a=e.subscribe)===null||a===void 0||a.call(e);var d=!0;o[i(1933)](P0(r,function(s){const u=i;var f;(f=e[u(800)])===null||f===void 0||f[u(671)](e,s),r[u(800)](s)},function(){const s=i;var u;d=!1,(u=e[s(735)])===null||u===void 0||u[s(671)](e),r.complete()},function(s){const u=i;var f;d=!1,(f=e[u(1186)])===null||f===void 0||f[u(671)](e,s),r[u(1186)](s)},function(){const s=i;var u,f;d&&((u=e[s(1166)])===null||u===void 0||u[s(671)](e)),(f=e[s(1939)])===null||f===void 0||f[s(671)](e)}))}):Zo}function zx(n){const t=c;return encodeURIComponent((n||"")[t(1543)]()||t(461))}function Us(n){const t=c;return n[t(1827)]==="external"?n.bindNodeId+t(875)+zx(n[t(957)]??""):n[t(2041)]+"::"+n[t(1827)]}function ur(n,t){return n+":"+t}class F0{static[c(1098)];eventSubjects=new Map;[c(1259)]=new Map;[c(432)]=new Map;[c(449)]=new Map;[c(1310)];constructor(){}static getInstance(){const t=c;return!F0[t(1098)]&&(F0[t(1098)]=new F0),F0[t(1098)]}[c(1117)](t){const x=c;this.eventBlocks[x(2010)](t.id,t)}[c(1241)](t){this[c(432)].delete(t)}[c(2060)](t){return this[c(432)].get(t)}[c(689)](t){this.defaultRuntimeHandlers=t}[c(824)](t){const x=c;if(!t)return;const e=this[x(1310)];this[x(1310)]={dataRequest:{...e?.[x(947)],...t[x(947)]},external:{...e?.external,...t.external}}}[c(1676)](t){const x=c,e=this[x(1310)];if(!(!e&&!t))return{dataRequest:{...e?.[x(947)],...t?.[x(947)]},external:{...e?.[x(861)],...t?.[x(861)]}}}[c(950)](t){const x=c,e=this[x(1259)].get(t.id);e&&(e.unsubscribe(),this[x(1259)][x(779)](t.id)),this.eventSubjects[x(779)](t.id)}[c(1305)](t){const x=c,e=Us(t),o=this[x(449)][x(1519)](e);o&&o.id!==t.id&&this[x(950)](o),this.nodeEventBindings[x(2010)](e,t),!this[x(745)][x(663)](t.id)&&this[x(465)](t)}[c(341)](t,x,e){const o=c;if(x==="external"){const d=t+o(875)+zx(e??""),s=this[o(449)][o(1519)](d);s&&(this[o(950)](s),this.nodeEventBindings.delete(d));return}const r=t+"::"+x,i=ur(t,x),a=this[o(449)][o(1519)](r)??this[o(449)][o(1519)](i);a&&(this[o(950)](a),this.nodeEventBindings[o(779)](r),this.nodeEventBindings[o(779)](i))}[c(819)](t){const x=c,e=[];this[x(449)][x(1105)]((o,r)=>{const i=x;o[i(2041)]===t&&e[i(1297)]({key:r,root:o})}),e[x(1105)](({key:o,root:r})=>{const i=x;this[i(950)](r),this.nodeEventBindings[i(779)](o)})}[c(1129)](t){const x=c,e=[];return this.nodeEventBindings[x(1105)](o=>{o.bindNodeId===t&&e.push(o)}),e}[c(1872)](t,x,e){const o=c,r=t+"::"+x,i=this[o(449)][o(1519)](r)??this[o(449)].get(ur(t,x));if(!i||!i[o(1431)])return _e({success:!0,result:null,path:[],duration:0});if(!this[o(745)].get(i.id))return Ee(()=>new Error(o(1890)+r));const d=Date[o(958)](),s={...e,executionPath:e[o(351)]||[],runtimeHandlers:this.mergeRuntimeHandlers(e[o(1506)])};return this[o(855)](i,s)[o(1648)](st(u=>({success:!0,result:u,path:s[o(351)],duration:Date[o(958)]()-d})),lt(u=>_e({success:!1,error:u.message||"Event flow execution failed",path:s.executionPath,duration:Date[o(958)]()-d})))}[c(1491)](t,x,e){const o=c,r=t+"::ext::"+zx(x),i=this[o(449)][o(1519)](r);if(!i||!i.enabled)return _e({success:!0,result:null,path:[],duration:0});if(!this.eventSubjects[o(1519)](i.id))return Ee(()=>new Error(o(1890)+r));const d=Date[o(958)](),s={...e,executionPath:e[o(351)]||[],runtimeHandlers:this[o(1676)](e[o(1506)])};return this[o(855)](i,s)[o(1648)](st(u=>({success:!0,result:u,path:s[o(351)],duration:Date[o(958)]()-d})),lt(u=>_e({success:!1,error:u[o(369)]||o(297),path:s[o(351)],duration:Date[o(958)]()-d})))}createEventFlowPipeline(t){const x=c,e=new Jo;this[x(745)][x(2010)](t.id,e)}executeEventFlow(t,x){const e=c,{nodes:o,edges:r}=t[e(852)];if(o[e(2088)]===0)return _e(null);const i=o[e(891)](a=>a[e(1834)][e(2088)]===0);return i[e(2088)]===0?Ee(()=>new Error(e(1707))):this[e(1532)](i,o,r,x,{})}[c(1532)](t,x,e,o,r){const i=c;if(t[i(2088)]===0)return _e(r);const a=t.map(d=>this.executeSingleFlowNode(d,o,r)[i(1648)](Ys(s=>{const u=i;r[d.id]=s,o.executionPath[u(1297)](d.id)})));return ct(a).pipe(px(d=>d,1),st(()=>{const d=i,s=new Set;return t[d(1105)](f=>{const g=d;f[g(2107)].forEach(b=>{const w=g,y=x[w(1388)](h=>h.id===b);y&&y[w(1834)].every(C=>r[C]!==void 0)&&s[w(315)](b)})}),x.filter(f=>s[d(663)](f.id))}),px(d=>d.length>0?this.executeFlowNodes(d,x,e,o,r):_e(r)),As(3e4),lt(d=>{const s=i;return console[s(1186)](s(953),d),Ee(()=>d)}))}[c(749)](t){const x=c;return this[x(432)][x(1519)](t[x(628)])??t[x(896)][x(1705)]}[c(1240)](t,x,e){return t.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(o,r)=>{const i=_0x1826,a=String(r)[i(1543)]();if(a[i(2055)]("$")){const s=this[i(841)](e,a[i(364)](1));return s==null?"":String(s)}const d=x[a];return d==null?"":String(d)})}executeBuiltin(t,x,e){const o=c,r=t.builtinId;if(!r)return Ee(()=>new Error(o(640)));if(r===o(1095)){const i=t[o(833)]??{},a=String(i[o(1261)]??""),d=i[o(422)]??"info",s=i[o(1160)],u=this[o(1240)](a,e,x);if(!u[o(1543)]())return Ee(()=>new Error("Message 提示内容为空"));try{const f={type:d,content:u};if(s!=null&&s!==""){const g=Number(s);!Number.isNaN(g)&&(f[o(1160)]=g)}return z.message[o(1958)](f),_e({ok:!0,builtinId:r,content:u,level:d})}catch(f){return Ee(()=>f)}}if(r==="switchCanvas"){const i=t[o(833)]??{},a=String(i[o(1878)]??"")[o(1543)]();if(!a)return Ee(()=>new Error(o(359)));if(!x[o(338)])return Ee(()=>new Error(o(418)));try{return x[o(338)](a),_e({ok:!0,builtinId:r,targetCanvasId:a})}catch(d){return Ee(()=>d)}}return Ee(()=>new Error(o(1482)+String(r)))}[c(791)](t,x,e){try{const o=t(x,e);return o instanceof Promise?ct(o):_e(o)}catch(o){return Ee(()=>o)}}[c(1999)](t,x,e){const o=c,r=this[o(749)](t);if(!r)return Ee(()=>new Error("Event block not found: "+t[o(628)]));const i=this[o(1033)](t,x,e),a=r[o(1351)]??o(614);if(a===o(947)){const d=(r[o(600)]||"")[o(1543)]();if(!d)return Ee(()=>new Error("事件块未配置 dataRequestKey"));const s=x[o(1506)]?.[o(947)]?.[d];return s?this[o(791)](s,x,i):Ee(()=>new Error(o(1209)+d))}if(a==="external"){const d=(r[o(479)]||"")[o(1543)]();if(!d)return Ee(()=>new Error("事件块未配置 externalHandlerKey"));const s=x.runtimeHandlers?.external?.[d];return s?this[o(791)](s,x,i):Ee(()=>new Error(o(1333)+d))}if(a==="builtin")return this.executeBuiltin(r,x,i);try{const d=new Function(o(1368),"context",o(559),r[o(978)]),s=d(x[o(1559)],x,i);return s instanceof Promise?ct(s):_e(s)}catch(d){return Ee(()=>d)}}prepareEventArgs(t,x,e){const o=c,r={$event:x[o(951)],$data:x[o(896)],$node:x.triggerNode},{inputMapping:i}=t[o(896)];return i&&Object.entries(i)[o(1105)](([a,d])=>{const s=o;if(d.startsWith(s(1981))){const u=d[s(1582)](s(1981),"");r[a]=e[u]}else if(d.startsWith("$")){const u=d[s(364)](1);r[a]=this[s(841)](x,u)}else r[a]=d}),r}[c(841)](t,x){const e=c;return x[e(853)](".")[e(442)]((o,r)=>{if(o!==null&&typeof o===e(2101)&&r in o)return o[r]},t)}[c(321)](){const t=c;this[t(1259)].forEach(x=>x.unsubscribe()),this[t(1259)][t(1867)](),this[t(745)][t(1867)](),this.nodeEventBindings[t(1867)]()}}const $0=F0.getInstance(),fr=({node:n,children:t,runtimeHandlers:x,flowContextData:e})=>{const o=c,{eventFlow:r,switchCanvas:i}=je(),a=L[o(270)](null),d=L.useCallback(()=>{const u=o;return r[u(1230)][u(891)](f=>f[u(2041)]===n.id&&f[u(1431)])},[r[o(1230)],n.id]),s=L.useCallback(u=>f=>{const g=_0x1826,b=d()[g(891)](y=>y[g(1827)]===u);if(b[g(2088)]===0)return;u!=="mouseOver"&&u!==g(664)&&f[g(308)](),f.stopPropagation();const w=e&&typeof e=="object"?{...e}:{};b[g(1105)](y=>{const h=g;$0.emit(n.id,u,{triggerNode:n,originalEvent:f,data:w,runtimeHandlers:x,switchCanvas:i})[h(1933)]({next:C=>{const p=h;!C[p(2044)]&&console[p(1186)](p(1062),C[p(1186)])},error:C=>{const p=h;console[p(1186)](p(740),C)}})})},[d,n,x,e]);return L[o(1046)](()=>{const u=o;return d()[u(1105)](g=>{$0[u(1305)](g)}),()=>{$0.unbindAllForNode(n.id)}},[d,n.id]),L[o(1046)](()=>{const u=o,f=a[u(1621)];if(!f)return;const g={click:s(u(410)),mousedown:s(u(1954)),mouseup:s("mouseUp"),dblclick:s("doubleClick"),mouseover:s(u(1471)),mouseleave:s(u(664)),mouseenter:s("mouseEnter"),contextmenu:s(u(1075))};return Object[u(889)](g).forEach(([b,w])=>{f[u(1619)](b,w,!0)}),()=>{Object[u(889)](g).forEach(([w,y])=>{f.removeEventListener(w,y,!0)})}},[s]),L[o(1692)](t,{ref:u=>{const f=o;a.current=u;const g=t[f(1915)];typeof g===f(828)?g(u):g&&f(1621)in g&&(g[f(1621)]=u)}})},{Text:br}=z.Typography,hr=(n,t)=>{const x=c;if(!t||!n)return{value:void 0};if(Array.isArray(n)){const e=n[x(1388)](o=>o[x(464)]===t);if(e)return{value:e[x(658)],unit:e.unit}}else if(typeof n===x(2101)){const e=t[x(853)](".");let o=n;for(const r of e){if(o===null||typeof o!==x(2101))return{value:void 0};o=o[r]}if(o!==void 0)return{value:o,unit:n[x(1413)]}}return{value:void 0}};function Os(n){return Array[c(915)](n)}const Gs=(n,t,x)=>{const e=c,o=n.content||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:d}=o;if(!r)return{value:void 0};if(i){const s=t[e(1388)](u=>u.id===i);if(s){let u;Os(s[e(1959)])?a!=null&&d!=null?u=s[e(1959)].find(g=>g[a]===d)||{}:u={}:u=s[e(1959)];const f=x&&typeof x=="object"?{...u,...x}:u;return hr(f,r)}}return hr(x,r)},Vs=(n,t)=>{const x=c;if(n==null||n==="")return"";if(t===-1)return String(n);const e=Number(n);return isNaN(e)?String(n):e[x(1127)](t??2)},Hs=(n,t,x,e,o)=>{const r=c;switch(n.type){case r(411):const i=n,a=i.backgroundColor,d=i[r(929)];let s=i.src;return d&&s&&s[r(1052)]("data:image/svg+xml")&&(n[r(495)]==="矩形"?s=r(1643)+encodeURIComponent(r(2089)+d+r(1881)):n[r(495)]==="圆形"?s=r(1643)+encodeURIComponent(r(1607)+d+r(1570)):n.name===r(1023)&&(s="data:image/svg+xml,"+encodeURIComponent(r(2089)+d+r(1358)))),l[r(1838)]("div",{className:r(2035),style:{backgroundColor:a},children:s?l[r(1838)]("img",{src:s,alt:n[r(495)],style:{width:"100%",height:"100%",objectFit:r(1635)}}):l[r(1838)](r(701),{className:"w-full h-full flex items-center justify-center",children:l[r(1838)](r(1111),{className:r(458),children:r(605)})})});case r(1811):const u=n,{label:f,value:g,valueSourceCode:b,unit:w,decimals:y,labelStyle:h,valueStyle:C,customStyle:p}=u[r(1261)]||{},{value:v,unit:m}=b?Gs(u,o||[],t):{value:void 0,unit:void 0},M=v!==void 0?v:g,I=Vs(M,y),Y=w||m||"";return l.jsxs(r(701),{className:"w-full h-full flex flex-col justify-center gap-1",style:{...p},children:[f&&l[r(1838)](br,{style:{fontSize:14,fontWeight:r(945),color:r(1574),textAlign:"left",...h},children:f}),I&&l[r(328)](br,{style:{fontSize:14,color:r(592),textAlign:r(1955),...C},children:[I,Y?" "+Y:""]})]});case"LINE":const G=n,{thickness:V=2,color:U=r(648),dashed:Q=!1,lineType:W=r(Q?1082:386),lineWeight:q=V,startX:T=0,startY:B=0,endX:D=100,endY:N=0}=G.config||{},E=_=>{const J=r,$=Math[J(363)](q,1);switch(_){case J(386):return"";case J(1082):return $*8+","+$*4;case J(843):return $*12+","+$*3+","+$*2+","+$*3;case"phantom":return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case J(317):return $+","+$*3;case"dash-dot":return $*8+","+$*3+","+$+","+$*3;default:return""}},P=E(W),k=x?r(592):U;return l[r(1838)](r(701),{className:r(937),style:{overflow:r(1084)},children:l.jsxs(r(1521),{className:r(1028),width:"100%",height:r(1608),style:{overflow:"visible",pointerEvents:"none"},children:[l[r(1838)]("line",{x1:T,y1:B,x2:D,y2:N,stroke:r(1515),strokeWidth:Math.max(q,10),strokeLinecap:r(938),strokeLinejoin:r(938),style:{pointerEvents:r(459),cursor:"pointer"}}),l[r(1838)](r(316),{x1:T,y1:B,x2:D,y2:N,stroke:k,strokeWidth:q,strokeDasharray:P,strokeLinecap:r(938),strokeLinejoin:r(938),style:{pointerEvents:r(582)}})]})});case"CUSTOM":const Z=n;return Z.render?Z[r(1314)]({}):l[r(1838)](r(701),{className:r(872),children:l[r(1838)](r(1111),{className:r(458),children:r(1916)})});default:return l[r(1838)]("div",{className:r(872),children:l[r(1838)](r(1111),{className:r(458),children:r(1500)})})}},Ts=({node:n,isSelected:t=!1,onClick:x,onMouseDown:e,data:o,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:d})=>{const s=c,{normalStyle:u,controlInfo:f}=n,{isClickable:g,isDraggable:b,isResizable:w}=f,y=n.contentInfo,h=je(S=>S[s(722)]),C=je(S=>S[s(279)]),p=L[s(270)](x);L[s(1046)](()=>{p.current=x},[x]);const[v,m]=L.useState(null),M=L.useRef(null),I=L[s(270)](null),Y=L[s(270)](null),G=L[s(270)](null),V=L.useRef(null),[U,Q]=L[s(1183)](null),[W,q]=L[s(1183)](null),T=L[s(270)](null),B=L[s(662)](()=>{const S=s,A=n[S(905)].statusList;if(A[S(2088)]===0)return;const K=jo(A,o,h);return K||A[0]},[n[s(905)][s(514)],o,h]),D=L.useRef(n.contentInfo[s(1473)]);L[s(1046)](()=>{const S=s;D[S(1621)]=n[S(905)][S(1473)]},[n.id]),L.useEffect(()=>{const S=s,A=B?.id;A!==void 0&&D.current!==A&&(D[S(1621)]=A,C(n.id,{contentInfo:{...n[S(905)],currentStatusId:A}}))},[B?.id,n.id,C]);const N=B?.material,E=N?.[s(1972)]===s(696),P=E?N.config:null,k=u[s(568)]??1,Z=(u[s(687)]||100)*k,_=(u.height||100)*k,J=L[s(1179)](()=>{const S=s,A=V[S(1621)]?.[S(1994)](S(539));if(!A)return i;const K=A.getBoundingClientRect(),X=parseFloat(A[S(2062)].width);return X?K[S(687)]/X:i},[i]),$=L[s(1179)]((S,A)=>{const K=s;S[K(776)](),S[K(308)]();const X=P?.[K(1963)]||0,H=P?.startY||0,ae=P?.[K(1931)]||0,fe=P?.[K(526)]||0,me=u.x||0,he=u.y||0,pe=Math.max((P?.[K(1538)]||P?.[K(2100)]||2)*2,4),Le=Math[K(408)](X,ae),Ce=Math[K(408)](H,fe),Ne=Math[K(363)](X,ae),Ye=Math[K(363)](H,fe),He=Math.max(Ne-Le,pe),Ge=Math[K(363)](Ye-Ce,pe);M[K(1621)]={mouseX:S[K(493)],mouseY:S[K(1644)],startX:X,startY:H,endX:ae,endY:fe,nodeX:me,nodeY:he};const Se=Math.min(X,ae),Te=Math[K(408)](H,fe);Y[K(1621)]={nodeX:me+Se,nodeY:he+Te,width:He,height:Ge,startX:X-Se,startY:H-Te,endX:ae-Se,endY:fe-Te},I[K(1621)]=B||null,m(A)},[P,u.x,u.y,B]);L.useEffect(()=>{const S=s;if(!v||!E||!P||!r)return;const A=X=>{const H=_0x1826,ae=M[H(1621)];if(!ae||!V[H(1621)])return;const fe=J(),me=(X.clientX-ae[H(1260)])/fe,he=(X[H(1644)]-ae[H(1212)])/fe;let pe=ae.startX,Le=ae[H(1210)],Ce=ae[H(1931)],Ne=ae[H(526)],Ye=ae[H(385)],He=ae[H(463)];v===H(1870)?(pe=ae[H(1963)]+me,Le=ae[H(1210)]+he,pe<0&&(Ye=ae[H(385)]+pe,Ce=ae[H(1931)]-pe,pe=0),Le<0&&(He=ae[H(463)]+Le,Ne=ae[H(526)]-Le,Le=0)):(Ce=ae.endX+me,Ne=ae[H(526)]+he,Ce<0&&(Ye=ae[H(385)]+Ce,pe=ae[H(1963)]-Ce,Ce=0),Ne<0&&(He=ae[H(463)]+Ne,Le=ae[H(1210)]-Ne,Ne=0));const Ge=Math[H(363)]((P[H(1538)]||2)*2,4),Se=Math[H(408)](pe,Ce),Te=Math.min(Le,Ne),t0=Math[H(363)](pe,Ce),B0=Math[H(363)](Le,Ne),hn=Ye+Se,gn=He+Te,H0=pe-Se,Ze=Le-Te,D0=Ce-Se,Ue=Ne-Te,h0=Math[H(363)](t0-Se,Ge),g0=Math[H(363)](B0-Te,Ge);Y.current={nodeX:hn,nodeY:gn,width:h0,height:g0,startX:H0,startY:Ze,endX:D0,endY:Ue};const x0=V.current;x0[H(2062)].left=hn+"px",x0[H(2062)][H(1171)]=gn+"px",x0[H(2062)].width=h0+"px",x0[H(2062)][H(500)]=g0+"px",x0[H(1156)](H(2074)).forEach(L0=>{const W0=H;L0[W0(1703)]("x1",String(H0)),L0[W0(1703)]("y1",String(Ze)),L0[W0(1703)]("x2",String(D0)),L0.setAttribute("y2",String(Ue))});const T0=x0[H(1753)](H(1468)),q0=x0.querySelector('[data-handle="end"]');T0&&(T0.style[H(1955)]=H0-6+"px",T0.style[H(1171)]=Ze-6+"px"),q0&&(q0[H(2062)][H(1955)]=D0-6+"px",q0[H(2062)].top=Ue-6+"px")},K=()=>{const X=_0x1826,H=Y[X(1621)];if(!H||!r){m(null),M.current=null,Y.current=null,I[X(1621)]=null;return}const ae=je.getState()[X(906)].find(Ce=>Ce.id===n.id),fe=ae?.contentInfo[X(514)]??n.contentInfo[X(514)],me=I[X(1621)],he=me?.id??fe[X(1388)](Ce=>Ce[X(1016)][X(1972)]===X(696))?.id,pe=fe[X(802)](Ce=>{const Ne=X;if(Ce[Ne(1016)][Ne(1972)]!=="LINE"||Ce.id!==he)return Ce;const Ye=Ce[Ne(1016)];return{...Ce,material:{...Ye,config:{...Ye.config,startX:H.startX,startY:H[Ne(1210)],endX:H[Ne(1931)],endY:H[Ne(526)]}}}}),Le=ae?.[X(905)]??y;r(n.id,{normalStyle:{x:H.nodeX,y:H.nodeY,width:H[X(687)],height:H.height},contentInfo:{...Le,statusList:pe}}),m(null),M[X(1621)]=null,Y[X(1621)]=null,I[X(1621)]=null};return window[S(1619)](S(968),A),window[S(1619)](S(511),K),()=>{const X=S;window[X(1581)](X(968),A),window[X(1581)](X(511),K)}},[v,E,P,n.id,u,y,n[s(905)][s(514)],r,J]),L[s(1046)](()=>{const S=s;if(!U||!r)return;const A=X=>{const H=_0x1826;if(!V[H(1621)])return;const ae=J(),fe=(X[H(493)]-U[H(1963)])/ae,me=(X[H(1644)]-U.startY)/ae;let he=U.startWidth,pe=U[H(964)],Le=U.startNodeX,Ce=U[H(1556)];switch(U[H(1003)]){case"se":he=Math[H(363)](20,U[H(305)]+fe),pe=Math[H(363)](20,U[H(964)]+me);break;case"sw":he=Math.max(20,U[H(305)]-fe),pe=Math[H(363)](20,U[H(964)]+me),Le=U[H(1138)]+(U.startWidth-he);break;case"ne":he=Math[H(363)](20,U.startWidth+fe),pe=Math[H(363)](20,U[H(964)]-me),Ce=U[H(1556)]+(U[H(964)]-pe);break;case"nw":he=Math[H(363)](20,U[H(305)]-fe),pe=Math[H(363)](20,U[H(964)]-me),Le=U[H(1138)]+(U[H(305)]-he),Ce=U[H(1556)]+(U[H(964)]-pe);break}G.current={x:Le,y:Ce,width:he,height:pe};const Ne=V[H(1621)];Ne[H(2062)].left=Le+"px",Ne[H(2062)].top=Ce+"px",Ne[H(2062)][H(687)]=he+"px",Ne[H(2062)][H(500)]=pe+"px"},K=()=>{const X=_0x1826,H=G[X(1621)];H&&r(n.id,{normalStyle:{...u,x:H.x,y:H.y,width:H[X(687)],height:H.height}}),Q(null),G[X(1621)]=null};return window[S(1619)](S(968),A),window[S(1619)](S(511),K),()=>{const X=S;window.removeEventListener("mousemove",A),window[X(1581)](X(511),K)}},[U,r,n.id,u,J]);const te=L[s(1179)]((S,A)=>{const K=s;S[K(776)](),S[K(308)](),Q({corner:A,startX:S[K(493)],startY:S[K(1644)],startWidth:u.width||100,startHeight:u.height||100,startNodeX:u.x||0,startNodeY:u.y||0})},[u[s(687)],u.height,u.x,u.y]),ee=L[s(1179)](S=>{const A=s;S[A(776)](),S[A(308)]();const K=V[A(1621)]?.[A(650)]();K&&q({startX:S[A(493)],startY:S.clientY,startAngle:u[A(615)]||0,centerX:K[A(1955)]+K[A(687)]/2,centerY:K[A(1171)]+K.height/2})},[u.rotate]);L.useEffect(()=>{const S=s;if(!W)return;const A=X=>{const H=_0x1826,ae=X[H(493)]-W[H(1270)],fe=X[H(1644)]-W[H(1871)];let he=(Math[H(530)](fe,ae)*(180/Math.PI)+90)%360;if(he<0&&(he+=360),T.current=he,V[H(1621)]){const pe=u[H(1430)]||"";V[H(1621)][H(2062)][H(1430)]=("rotate("+he+"deg) "+pe)[H(1543)]()}},K=()=>{const X=_0x1826,H=T[X(1621)]??W[X(979)];T[X(1621)]=null,r&&r(n.id,{normalStyle:{...u,rotate:Math[X(938)](H)}}),q(null)};return window[S(1619)](S(968),A),window.addEventListener(S(511),K),()=>{const X=S;window.removeEventListener(X(968),A),window.removeEventListener(X(511),K)}},[W,r,n.id,u]);const re=n[s(1972)]==="group",ce={position:"absolute",left:u.x||0,top:u.y||0,width:Z,height:_,background:re?s(1515):u[s(554)]||s(1515),backgroundImage:re?void 0:u[s(1517)]?s(2032)+u[s(1517)]+")":void 0,backgroundSize:s(825),backgroundPosition:s(843),padding:Array[s(915)](u[s(566)])?u[s(566)][s(2022)]("px ")+"px":u[s(566)],margin:Array.isArray(u[s(1571)])?u.margin.join(s(1982))+"px":u[s(1571)],borderRadius:re?void 0:u.borderRadius,border:t&&!E?s(1557):E||re?s(582):u.border||s(720),pointerEvents:s(1509),opacity:u[s(1265)]??1,transform:(s(2056)+(T[s(1621)]??(u[s(615)]||0))+s(887)+(u[s(1430)]||"")).trim(),transformOrigin:"center center",zIndex:t?1e3:u.zIndex??1,cursor:b&&!v?s(1029):g?"pointer":"default",boxSizing:s(1418),overflow:s(t||E||re?1084:1276)},ie=P?{x:P[s(1963)]||0,y:P[s(1210)]||0}:{x:0,y:0},F=P?{x:P[s(1931)]||0,y:P[s(526)]||0}:{x:0,y:0},le=l[s(328)]("div",{ref:V,"data-node-id":n.id,style:ce,onClick:S=>{const A=s;console.log("NodeRenderer onClick",n.id,A(829),g);const K=p[A(1621)];g&&K&&!v&&!U&&!W&&(S[A(776)](),K(S))},onMouseDown:S=>{b&&e&&!v&&e(S)},children:[t&&!E&&l[s(328)](l.Fragment,{children:[!re&&l[s(328)](l[s(561)],{children:[l[s(1838)](s(701),{className:s(886),style:{zIndex:9999,pointerEvents:s(1509),cursor:s(1144),marginTop:s(1048),marginLeft:s(1048)},onMouseDown:S=>te(S,"nw"),title:"拖拽调整大小"}),l[s(1838)](s(701),{className:s(1835),style:{zIndex:9999,pointerEvents:s(1509),cursor:s(1019),marginTop:s(1048),marginRight:"-6px"},onMouseDown:S=>te(S,"ne"),title:"拖拽调整大小"}),l.jsx(s(701),{className:s(715),style:{zIndex:9999,pointerEvents:s(1509),cursor:s(2049),marginBottom:s(1048),marginLeft:s(1048)},onMouseDown:S=>te(S,"sw"),title:s(1782)}),l[s(1838)](s(701),{className:"absolute bottom-0 right-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:s(1983),marginBottom:s(1048),marginRight:s(1048)},onMouseDown:S=>te(S,"se"),title:"拖拽调整大小"})]}),l[s(1838)](s(701),{className:s(970),style:{zIndex:9999,pointerEvents:s(1509),cursor:s(982),marginTop:s(733),transform:"translateX(-50%)",boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:S=>ee(S),title:s(533)}),l[s(1838)]("div",{className:s(985),style:{zIndex:9998,pointerEvents:"none",marginTop:"-14px",transform:"translateX(-50%)"}}),l[s(328)](s(701),{className:s(2058),children:[n[s(495)]," ",B?"("+B.name+")":""]})]}),t&&E&&P&&r&&l.jsxs(l.Fragment,{children:[l[s(1838)](s(701),{"data-handle":s(1870),className:s(1404),style:{left:ie.x-6,top:ie.y-6,boxShadow:s(1069)},onMouseDown:S=>$(S,s(1870)),title:s(1612)}),l[s(1838)]("div",{"data-handle":"end",className:s(1404),style:{left:F.x-6,top:F.y-6,boxShadow:s(1069)},onMouseDown:S=>$(S,s(1015)),title:s(1442)}),l[s(1838)](s(701),{className:s(2058),children:n.name})]}),l[s(1838)](s(701),{className:"w-full h-full relative",children:N?l.jsx(s(701),{className:s(579),children:Hs(N,o,t,n,h)}):re?null:l[s(1838)](s(701),{className:"w-full h-full flex items-center justify-center text-gray-300 text-xs",children:s(1009)})}),n[s(1972)]===s(1984)&&n.children&&l.jsx(s(701),{className:s(904),children:n.children[s(802)](S=>l.jsx("div",{className:s(1927),children:l[s(1838)](Cx,{node:S,isSelected:!1,data:o,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:d})},S.id))})]});return a?l[s(1838)](fr,{node:n,flowContextData:d,children:le}):le},Cx=L[c(1879)](Ts,(n,t)=>{const x=c,e=n.node,o=t[x(1368)],r=e.id===o.id&&e[x(652)].x===o[x(652)].x&&e[x(652)].y===o[x(652)].y&&e.normalStyle.width===o[x(652)][x(687)]&&e[x(652)][x(500)]===o[x(652)].height&&e.normalStyle[x(615)]===o[x(652)][x(615)],i=e.contentInfo===o[x(905)],a=JSON[x(1039)](n[x(738)]??null)===JSON.stringify(t[x(738)]??null),d=n[x(454)]===t[x(454)]&&n[x(568)]===t[x(568)]&&n.enableEventFlow===t[x(558)]&&a,s=b=>{const w=x,y=[];return b[w(905)]?.statusList?.[w(1105)](h=>{const C=w;if(h[C(1016)]?.[C(1972)]==="LINE"){const p=h[C(1016)][C(973)];y.push({statusId:h.id,startX:p?.[C(1963)]??0,startY:p?.[C(1210)]??0,endX:p?.[C(1931)]??100,endY:p?.[C(526)]??0})}}),y},u=s(e),f=s(o);let g=!0;if(u.length!==f.length)g=!1;else for(let b=0;b<u[x(2088)];b++){const w=u[b],y=f.find(h=>h.statusId===w[x(1502)]);if(!y||w[x(1963)]!==y[x(1963)]||w.startY!==y.startY||w[x(1931)]!==y[x(1931)]||w.endY!==y.endY){g=!1;break}}return r&&i&&d&&g}),qs=[c(592),c(668),c(1746),c(392),c(415),c(1553),c(289),c(1006),"#595959","#262626",c(1020),"#d9d9d9",c(1546),c(444),"#ff4d4f","#73d13d"],en=({value:n="#1890ff",onChange:t,onChangeComplete:x})=>{const e=c,[o,r]=L[e(1183)](!1),[i,a]=L[e(1183)](n),d=L[e(270)](null);L[e(1046)](()=>{a(n)},[n]),L.useEffect(()=>{const u=e,f=g=>{const b=_0x1826;d[b(1621)]&&!d.current.contains(g[b(1917)])&&(r(!1),x?.({toHexString:()=>i}))};return o&&document.addEventListener(u(1910),f),()=>document[u(1581)](u(1910),f)},[o,x,i]);const s=u=>{a(u),t?.({toHexString:()=>u})};return l[e(328)]("div",{ref:d,style:{position:e(2072),display:e(2040)},children:[l.jsx(e(701),{onClick:()=>r(!o),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:e(1131)}}),o&&l.jsxs("div",{style:{position:e(654),top:32,left:0,zIndex:1e3,background:"#fff",padding:8,borderRadius:4,boxShadow:e(507),border:e(306)},children:[l.jsx(e(701),{style:{display:"grid",gridTemplateColumns:e(675),gap:4},children:qs.map(u=>l[e(1838)]("div",{onClick:()=>{s(u),r(!1),x?.({toHexString:()=>u})},style:{width:20,height:20,backgroundColor:u,border:e(i===u?1557:1891),borderRadius:2,cursor:"pointer"}},u))}),l[e(1838)](e(1194),{type:e(575),value:i,onChange:u=>s(u[e(1917)][e(658)]),onBlur:()=>x?.({toHexString:()=>i}),style:{width:"100%",marginTop:8,height:28,border:"1px solid #d9d9d9",borderRadius:4}})]})]})},{TextArea:Ws}=z[c(1300)];function Xs(n){const t=c;if(!n||!(n instanceof HTMLElement))return!1;const x=n[t(1004)];return!!(x===t(496)||x===t(1813)||x===t(1666)||x===t(1780)||n.isContentEditable||n[t(1994)](t(1018))||n.closest('[role="combobox"]')||n.closest(t(327)))}const gr=({defaultTestData:n,readonly:t=!1,backgroundImageUrl:x})=>{const e=c,o=L.useRef(null),r=L[e(270)](null),i=L[e(270)](null),{nodes:a,selectedNodeId:d,selectedNodeIds:s,mode:u,lineDrawing:f,viewport:g,canvas:b,root:w,setViewport:y,setCanvasConfig:h,addNode:C,selectNode:p,updateNode:v,removeNode:m,bringToFront:M,sendToBack:I,undo:Y,redo:G,setMode:V,startLineDrawing:U,endLineDrawing:Q,cancelLineDrawing:W,addCanvas:q,removeCanvas:T,switchCanvas:B,updateCanvasName:D,exportCanvas:N,importCanvas:E,setSelectedNodeIds:P}=je(),[k,Z]=L[e(1183)](!1),[,_]=L[e(1183)]({}),J=L.useRef(u);L.useEffect(()=>{const j=e;J[j(1621)]=u},[u]),L[e(1046)](()=>{V(t?"preview":"select")},[t,V]);const $=L[e(270)](!1),te=L[e(270)]({x:0,y:0}),ee=L.useRef({x:0,y:0,newX:0,newY:0}),re=L[e(270)](null),[ce,ie]=L[e(1183)]({start:null,end:null,isDrawing:!1}),[F,le]=L[e(1183)]({start:null,end:null}),S=s,A=P;L[e(270)](!1);const[K,X]=L[e(1183)](!1),[H,ae]=L[e(1183)](!1),[fe,me]=L[e(1183)](()=>JSON[e(1039)](n??null,null,2)),he=L[e(662)](()=>{const j=e;if(!H)return n;try{return JSON[j(903)](fe)}catch{return n}},[fe,n,H]),pe=L.useMemo(()=>{const j=e,O=he;if(O!==null&&typeof O===j(2101))return O;if(O!==void 0)return{_payload:O}},[he]),Le=L.useMemo(()=>{const j=e,O=he;return O!==null&&typeof O===j(2101)&&!Array.isArray(O)?O:Array.isArray(O)?{_telemetryRows:O}:O==null?{}:{_payload:O}},[he]),Ce=L[e(1179)](()=>{const j=e;let O=n;if(H)try{O=JSON[j(903)](fe)}catch{O=n}me(JSON[j(1039)](O??null,null,2)),X(!0)},[fe,n,H]),[Ne,Ye]=L[e(1183)](!1),[He,Ge]=L[e(1183)](!1),[Se,Te]=L[e(1183)](""),[t0,B0]=L[e(1183)](!1),hn=L[e(1179)](()=>{const j=e;try{const O=N(),oe=JSON[j(1039)](O,null,2),xe="data:application/json;charset=utf-8,"+encodeURIComponent(oe),de="canvas_"+O[j(1815)][j(495)]+"_"+Date.now()+j(1122),R=document[j(922)]("a");R.setAttribute(j(319),xe),R[j(1703)](j(477),de),R[j(410)](),z[j(369)].success(j(1280))}catch{z[j(369)][j(1186)](j(1435))}},[N]),gn=L[e(1179)](()=>{const j=e;try{const O=JSON[j(903)](Se);t0?E(O):E(O,w[j(1272)]||void 0),Ge(!1),Te(""),B0(!1),z[j(369)][j(2044)](j(1091))}catch{z[j(369)][j(1186)]("JSON 格式错误,请检查输入")}},[Se,t0,E,w[e(1272)]]),H0=L[e(1179)](j=>{const O=e,oe=new FileReader;return oe.onload=xe=>{const de=_0x1826;try{const R=xe[de(1917)]?.[de(462)],ne=JSON[de(903)](R);t0?E(ne):E(ne,w[de(1272)]||void 0),z[de(369)][de(2044)](de(1091)),Ge(!1),B0(!1)}catch{z[de(369)].error(de(846))}},oe[O(1043)](j),!1},[t0,E,w.currentCanvasId]),[Ze,D0]=L[e(1183)](!1),Ue=L[e(1179)]((j,O)=>{const oe=e;if(!r[oe(1621)])return{x:0,y:0};const xe=r[oe(1621)][oe(650)](),de=j-xe[oe(1955)],R=O-xe[oe(1171)],ne=xe[oe(687)]/b[oe(687)],be=xe[oe(500)]/b[oe(500)],ye=de/ne,ge=R/be;return{x:Math[oe(938)](ye),y:Math.round(ge)}},[b[e(687)],b[e(500)]]),h0=L.useCallback((j,O)=>Ue(j,O),[Ue]),g0=L[e(1179)]((j,O,oe=!0)=>{const xe=e;if(!f[xe(1016)])return;const de=f[xe(1016)],R=de[xe(973)]||{},ne=R[xe(1538)]||R[xe(2100)]||2,be=Math[xe(408)](j.x,O.x),ye=Math[xe(408)](j.y,O.y),ge=Math[xe(938)](j.x-be),Me=Math[xe(938)](j.y-ye),ze=Math[xe(938)](O.x-be),De=Math.round(O.y-ye),Oe=Math[xe(363)](ne*2,4),Je=Math[xe(363)](Math[xe(1242)](j.x-O.x),Oe),N0=Math[xe(363)](Math[xe(1242)](j.y-O.y),Oe),y0={...de,id:ve[xe(1068)](),config:{color:R[xe(575)],lineWeight:ne,thickness:ne,lineType:R[xe(1530)],startX:ge,startY:Me,endX:ze,endY:De}},mn={id:ve[xe(1068)](),name:de[xe(495)]+"_"+Date[xe(958)](),type:"normal",normalStyle:{width:Je,height:N0,x:be,y:ye,background:"transparent"},contentInfo:{statusList:[bx(y0)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(C(mn,!1),oe){const Z0={x:O.x,y:O.y};ie({start:Z0,end:{...Z0},isDrawing:!0})}else ie({start:null,end:null,isDrawing:!1}),Q()},[f.material,C,Q]),x0=L[e(1179)](()=>{const j=e,O=o[j(1621)]?.[j(1935)];O&&y({scale:O[j(568)],positionX:O[j(1338)],positionY:O[j(1533)]})},[y]),$t=L[e(1179)](j=>{const O=e;$.current||u!==O(996)&&(j.target===r[O(1621)]||j[O(1917)][O(1022)]?.[O(1815)]===O(1403))&&(p(null),A([]))},[p,u]),T0=L[e(1179)](j=>{const O=e;if(j[O(634)]===0){if(u===O(2064)&&f[O(1016)]){j[O(776)]();const oe=Ue(j[O(493)],j[O(1644)]);ce[O(1681)]?ce[O(1870)]&&g0(ce[O(1870)],oe,!0):ie({start:oe,end:oe,isDrawing:!0});return}if(u===O(996)&&!Ze){const oe=h0(j[O(493)],j[O(1644)]);le({start:oe,end:oe}),A([]),p(null),j.preventDefault(),j[O(776)]()}}},[u,f[e(1016)],ce[e(1681)],ce[e(1870)],Ze,g0,Ue,h0]),q0=L[e(1179)](j=>{const O=e;if(!(u!==O(2064)||!f.material)&&ce[O(1681)]&&ce[O(1870)]){const oe=Ue(j[O(493)],j[O(1644)]);g0(ce[O(1870)],oe,!1)}},[u,f[e(1016)],ce[e(1681)],ce[e(1870)],g0,Ue]),L0=L[e(1179)](j=>{const O=e;j.preventDefault(),j[O(1876)][O(674)]=O(1002),Z(!0)},[]),W0=L.useCallback(j=>{j[e(308)](),Z(!1)},[]),yo=L[e(1179)](j=>{const O=e;if(j.preventDefault(),Z(!1),!(!r[O(1621)]||u!==O(635)))try{const oe=j.dataTransfer[O(709)](O(1035));if(!oe)return;const xe=JSON.parse(oe),de=Ue(j[O(493)],j[O(1644)]),R=de.x-50,ne=de.y-50,be=Go(R,ne,xe);C(be),A([be.id])}catch(oe){console[O(1186)](O(395),oe)}},[u,C,Ue]),mo=L[e(1179)]((j,O)=>{const oe=e;u!==oe(635)&&u!==oe(996)||!O[oe(1572)].isDraggable||(j.stopPropagation(),p(O.id),$[oe(1621)]=!0,te.current={x:j[oe(493)],y:j.clientY},ee[oe(1621)]={x:O[oe(652)].x||0,y:O.normalStyle.y||0,newX:O.normalStyle.x||0,newY:O[oe(652)].y||0},re.current=O,j[oe(308)]())},[u,p]);L[e(1046)](()=>{const j=e,O=R=>{const ne=_0x1826;if($[ne(1621)]&&d&&re.current){if(!r[ne(1621)])return;const be=r[ne(1621)].getBoundingClientRect(),ye=be[ne(687)]/b[ne(687)],ge=be[ne(500)]/b[ne(500)],Me=R.clientX-te.current.x,ze=R.clientY-te.current.y,De=Me/ye,Oe=ze/ge,Je=ee[ne(1621)].x+De,N0=ee.current.y+Oe,y0=document[ne(1753)](ne(1887)+d+'"]');y0&&(y0.style[ne(1955)]=Je+"px",y0[ne(2062)][ne(1171)]=N0+"px"),ee.current[ne(290)]=Je,ee[ne(1621)][ne(716)]=N0}if(u===ne(996)&&F[ne(1870)]){const be=h0(R[ne(493)],R[ne(1644)]);le(ye=>({...ye,end:be}))}if(u===ne(2064)&&ce[ne(1681)]){const be=Ue(R[ne(493)],R[ne(1644)]);ie(ye=>({...ye,end:be}))}},oe=()=>{const R=_0x1826;if($[R(1621)]&&d&&re[R(1621)]){const ne=je[R(356)](),be=ee[R(1621)][R(290)]??ee[R(1621)].x,ye=ee.current[R(716)]??ee[R(1621)].y;ne.updateNode(d,{normalStyle:{...re.current.normalStyle,x:be,y:ye}})}if($[R(1621)]=!1,re.current=null,_({}),u===R(996)&&F[R(1870)]&&F[R(1015)]){const ne=Math[R(408)](F.start.x,F[R(1015)].x),be=Math[R(363)](F[R(1870)].x,F[R(1015)].x),ye=Math[R(408)](F[R(1870)].y,F[R(1015)].y),ge=Math.max(F[R(1870)].y,F[R(1015)].y),Me=a[R(891)](ze=>{const De=R,Oe=ze[De(652)].x||0,Je=ze[De(652)].y||0,N0=ze.normalStyle[De(687)]||0,y0=ze[De(652)][De(500)]||0,mn=Oe+N0/2,Z0=Je+y0/2;return mn>=ne&&mn<=be&&Z0>=ye&&Z0<=ge})[R(802)](ze=>ze.id);A(Me),le({start:null,end:null})}},xe=R=>{const ne=_0x1826;if(!Xs(R[ne(1917)])){if(R.key===ne(1924)&&u===ne(2064)&&(ie({start:null,end:null,isDrawing:!1}),W()),R.key==="Delete"&&(d?m(d):S[ne(2088)]>0&&(S[ne(1105)](be=>m(be)),A([]))),R[ne(1405)]&&R[ne(1823)]==="z"&&(R[ne(308)](),Y()),R[ne(1405)]&&R[ne(1823)]==="y"&&(R[ne(308)](),G()),(u===ne(635)||u===ne(996))&&(R[ne(1823)]===ne(723)||R.key==="ArrowRight"||R[ne(1823)]==="ArrowUp"||R[ne(1823)]===ne(1220))){const be=S[ne(2088)]>0?S:d?[d]:[];if(be[ne(2088)]>0){R[ne(308)]();const ye=R[ne(1823)]==="ArrowLeft"?-2:R[ne(1823)]==="ArrowRight"?2:0,ge=R.key===ne(1688)?-2:R[ne(1823)]===ne(1220)?2:0;be.forEach(Me=>{const ze=ne,De=a[ze(1388)](Oe=>Oe.id===Me);De&&v(Me,{normalStyle:{...De[ze(652)],x:(De[ze(652)].x||0)+ye,y:(De.normalStyle.y||0)+ge}})})}}R[ne(1823)]===" "&&!Ze&&(R.preventDefault(),D0(!0))}},de=R=>{R.key===" "&&Ze&&D0(!1)};return window[j(1619)](j(968),O),window[j(1619)]("mouseup",oe),window[j(1619)](j(795),xe),window[j(1619)](j(1667),de),()=>{const R=j;window[R(1581)](R(968),O),window[R(1581)]("mouseup",oe),window.removeEventListener(R(795),xe),window[R(1581)](R(1667),de)}},[d,F,u,ce.isDrawing,S,a,b.width,b.height,m,Y,Ze,G,W,Ue,h0,A,v]);const ex=(j,O=!0)=>{const oe=e,xe={...j,id:ve[oe(1068)](),name:j.name+"_副本",normalStyle:{...j[oe(652)],x:(j[oe(652)].x||0)+(O?20:0),y:(j.normalStyle.y||0)+(O?20:0)}};return j[oe(1972)]===oe(1984)&&j[oe(927)]&&(xe[oe(927)]=j[oe(927)].map(de=>ex(de,!1))),xe},nx=L[e(1179)](()=>{const j=e,O=S.length>0?S[j(802)](xe=>a[j(1388)](de=>de.id===xe)).filter(Boolean):d?[a[j(1388)](xe=>xe.id===d)].filter(Boolean):[];if(O.length===0)return;const oe=[];O[j(1105)](xe=>{const de=j,R=ex(xe);C(R),oe[de(1297)](R.id)}),oe[j(2088)]===1?p(oe[0]):A(oe)},[d,S,a,C,p,A]),tx=L[e(1179)](()=>{const j=e;if(S[j(2088)]<2)return;const O=[];for(let ye=0;ye<S[j(2088)];ye++){const ge=S[ye],Me=a[j(1388)](ze=>ze.id===ge);if(Me){if(Me?.[j(1972)]===j(1984)){Me[j(927)][j(1105)](De=>O[j(1297)]({...De,normalStyle:{...De[j(652)],x:(Me[j(652)].x||0)+(De[j(652)].x||0),y:(Me.normalStyle.y||0)+(De[j(652)].y||0)}})),m(ge);continue}O[j(1297)](Me)}}if(O[j(2088)]<2)return;let oe=1/0,xe=1/0,de=-1/0,R=-1/0;O[j(1105)](ye=>{const ge=j,Me=ye.normalStyle.x||0,ze=ye[ge(652)].y||0,De=ye[ge(652)][ge(687)]||0,Oe=ye[ge(652)][ge(500)]||0;oe=Math[ge(408)](oe,Me),xe=Math[ge(408)](xe,ze),de=Math[ge(363)](de,Me+De),R=Math[ge(363)](R,ze+Oe)});const ne=O[j(802)](ye=>({...ye,normalStyle:{...ye.normalStyle,x:(ye[j(652)].x||0)-oe,y:(ye.normalStyle.y||0)-xe}})),be={id:ve.nanoid(),name:j(350)+Date.now(),type:j(1984),normalStyle:{x:oe,y:xe,width:de-oe,height:R-xe,background:j(1515)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:ne};S[j(1105)](ye=>m(ye)),C(be),A([]),p(be.id)},[S,a,m,C,p]),xx=j=>{const O=e,oe={...j,id:ve[O(1068)]()};return j[O(1972)]===O(1984)&&j[O(927)]&&(oe[O(927)]=j[O(927)][O(802)](xe=>xx(xe))),oe},ox=L.useCallback(()=>{const j=e,O=S[j(2088)]>0?S[j(802)](oe=>a[j(1388)](xe=>xe.id===oe)).filter(oe=>!!oe&&oe.type===j(1984)):d?[a.find(oe=>oe.id===d)][j(891)](oe=>!!oe&&oe[j(1972)]===j(1984)):[];O[j(2088)]!==0&&(O.forEach(oe=>{const xe=j;if(!oe[xe(927)]||oe[xe(927)][xe(2088)]===0)return;const de=oe.children[xe(802)](R=>{const ne=xe,be=xx(R);return{...be,normalStyle:{...be.normalStyle,x:(oe[ne(652)].x||0)+(be[ne(652)].x||0),y:(oe.normalStyle.y||0)+(be[ne(652)].y||0)}}});m(oe.id),de[xe(1105)](R=>C(R))}),A([]),p(null))},[d,S,a,m,C,p,A]),Jn=L[e(1179)](j=>{const O=e;if(S[O(2088)]<2)return;const oe=S.map(ge=>a[O(1388)](Me=>Me.id===ge))[O(891)](ge=>!!ge&&ge.type!==O(1984));if(oe[O(2088)]<2)return;let xe=1/0,de=-1/0,R=1/0,ne=-1/0;oe[O(1105)](ge=>{const Me=O,ze=ge[Me(652)].x||0,De=ge[Me(652)].y||0;xe=Math[Me(408)](xe,ze),de=Math[Me(363)](de,ze),R=Math[Me(408)](R,De),ne=Math[Me(363)](ne,De)});const be=[...oe].sort((ge,Me)=>{const ze=O;return j===ze(282)?(ge[ze(652)].x||0)-(Me[ze(652)].x||0):(ge.normalStyle.y||0)-(Me[ze(652)].y||0)}),ye=be[O(2088)];if(j===O(282)){const ge=de-xe,Me=ge/(ye-1);be[O(1105)]((ze,De)=>{const Oe=O,Je=xe+Me*De;v(ze.id,{normalStyle:{...ze[Oe(652)],x:Je}})})}else{const ge=ne-R,Me=ge/(ye-1);be[O(1105)]((ze,De)=>{const Oe=O,Je=R+Me*De;v(ze.id,{normalStyle:{...ze[Oe(652)],y:Je}})})}},[S,a,v]),X0=j=>{const O=e,oe=j[O(905)][O(514)][O(1388)](xe=>xe[O(1016)].type===O(696));return oe?oe[O(1016)][O(973)]:null},K0=L.useCallback(j=>{const O=e;if(S.length<2)return;const oe=je[O(356)](),xe=S[O(802)](R=>a[O(1388)](ne=>ne.id===R))[O(891)](R=>!!R);if(xe[O(2088)]<2)return;let de=0;switch(j){case O(1955):de=Math[O(408)](...xe.map(R=>{const ne=O,be=X0(R);return be?(R.normalStyle.x||0)+(be[ne(1963)]||0):R[ne(652)].x||0}));break;case O(291):de=Math[O(363)](...xe[O(802)](R=>{const ne=O,be=X0(R);return be?(R[ne(652)].x||0)+(be[ne(1931)]||0):(R[ne(652)].x||0)+(R[ne(652)][ne(687)]||0)}));break;case O(1171):de=Math[O(408)](...xe[O(802)](R=>{const ne=O,be=X0(R);return be?(R[ne(652)].y||0)+(be[ne(1210)]||0):R.normalStyle.y||0}));break;case O(787):de=Math[O(363)](...xe.map(R=>{const ne=O,be=X0(R);return be?(R.normalStyle.y||0)+(be[ne(526)]||0):(R[ne(652)].y||0)+(R[ne(652)].height||0)}));break}xe.forEach(R=>{const ne=O;let be=R[ne(652)].x||0,ye=R.normalStyle.y||0;const ge=X0(R);switch(j){case ne(1955):ge?be=de-(ge[ne(1963)]||0):be=de;break;case ne(291):ge?be=de-(ge.endX||0):be=de-(R[ne(652)].width||0);break;case"top":ge?ye=de-(ge[ne(1210)]||0):ye=de;break;case ne(787):ge?ye=de-(ge[ne(526)]||0):ye=de-(R.normalStyle[ne(500)]||0);break}oe[ne(279)](R.id,{normalStyle:{...R[ne(652)],x:be,y:ye}})})},[S,a]),vo=[{icon:l[e(1838)](se[e(1694)],{}),title:e(1889),active:u===e(635),onClick:()=>{V(e(635))}},{icon:l[e(1838)](se[e(1061)],{}),title:"框选模式",active:u===e(996),onClick:()=>{V(e(996)),A([])}},{icon:l[e(1838)](se[e(1350)],{}),title:"拖拽模式",active:u===e(1275),onClick:()=>{V(e(1275))}},{icon:l[e(1838)](se[e(1902)],{}),title:"线条绘制",active:u===e(2064),onClick:()=>{V(e(2064))}},{icon:l.jsx(se[e(1458)],{}),title:e(1767),active:u===e(1215),onClick:()=>{V(e(1215))}}],yn=L.useCallback(()=>S[e(2088)]>0?S:d?[d]:[],[S,d]),rx=L[e(1179)](()=>{const j=e,O=yn();if(O[j(2088)]===0)return;a.filter(xe=>O.includes(xe.id))[j(802)](xe=>xe.id)[j(1105)](xe=>M(xe))},[yn,a,M]),ix=L[e(1179)](()=>{const j=e,O=yn();if(O[j(2088)]===0)return;[...a.filter(xe=>O.includes(xe.id))[j(802)](xe=>xe.id)][j(2003)]()[j(1105)](xe=>I(xe))},[yn,a,I]),wo=L[e(662)](()=>[{icon:l[e(1838)](se[e(620)],{}),title:"撤销 (Ctrl+Z)",onClick:Y},{icon:l[e(1838)](se[e(1609)],{}),title:"重做 (Ctrl+Y)",onClick:G},{icon:l[e(1838)](se[e(1673)],{}),title:"置于顶层",disabled:!d&&S[e(2088)]===0,onClick:rx},{icon:l[e(1838)](se.DownSquareOutlined,{}),title:e(1345),disabled:!d&&S[e(2088)]===0,onClick:ix},{icon:l[e(1838)](se[e(401)],{}),title:e(1150),disabled:!d&&S.length===0,onClick:nx},{icon:l[e(1838)](se[e(1061)],{}),title:e(2038),disabled:S[e(2088)]<2,onClick:tx},{icon:l[e(1838)](se[e(380)],{}),title:e(840),disabled:!d&&S.length===0,onClick:ox},{icon:l[e(1838)](se.AlignLeftOutlined,{}),title:e(618),disabled:S[e(2088)]<2,onClick:()=>K0("left")},{icon:l[e(1838)](se[e(1076)],{}),title:"右对齐",disabled:S[e(2088)]<2,onClick:()=>K0(e(291))},{icon:l[e(1838)](se[e(587)],{}),title:e(1699),disabled:S[e(2088)]<2,onClick:()=>K0(e(1171))},{icon:l[e(1838)](se[e(1266)],{}),title:e(1544),disabled:S[e(2088)]<2,onClick:()=>K0("bottom")},{icon:l[e(1838)](se[e(2050)],{}),title:"水平分布",disabled:S[e(2088)]<2,onClick:()=>Jn(e(282))},{icon:l[e(1838)](se.ColumnHeightOutlined,{}),title:e(1252),disabled:S[e(2088)]<2,onClick:()=>Jn(e(1463))},{icon:l[e(1838)](se.SettingOutlined,{}),title:e(619),onClick:()=>Ye(!0)},{icon:l[e(1838)](se.ExperimentOutlined,{}),title:"数据模拟",type:e(336),onClick:Ce},{icon:l[e(1838)](se.DeleteOutlined,{}),title:"删除选中 (Delete)",disabled:!d&&S[e(2088)]===0,onClick:()=>{const j=e;d?m(d):S.length>0&&(S[j(1105)](O=>m(O)),A([]))}}],[Y,G,u,V,A,S,tx,ox,nx,K0,Jn,rx,ix,Ye,X,Ce,d,m,w[e(1272)]]),[ax,_n]=L[e(1183)](!1),[Qn,Fn]=L[e(1183)](""),[cx,$n]=L[e(1183)](null);return l.jsxs("div",{className:e(1986),children:[!t&&l.jsxs(e(701),{className:e(1762),children:[l.jsxs(z[e(692)],{children:[vo[e(802)](j=>l[e(1838)](z[e(1886)],{title:j[e(952)],children:l[e(1838)](z[e(1140)],{type:j[e(1979)]?e(336):e(267),icon:j.icon,onClick:j[e(1107)]})},j[e(952)])),l.jsx(e(701),{className:e(510)}),l[e(1838)](z[e(1810)],{value:w[e(1272)],onChange:B,style:{width:140},dropdownRender:j=>l.jsxs(l.Fragment,{children:[j,l.jsx(e(701),{className:e(1690),children:l.jsx(z[e(1140)],{type:"link",size:e(1948),block:!0,onClick:()=>_n(!0),children:"管理画布..."})})]}),children:w[e(771)].map(j=>l[e(1838)](z[e(1810)][e(1640)],{value:j.id,children:j[e(495)]},j.id))}),l.jsx(z[e(1140)],{icon:l[e(1838)](se.PlusOutlined,{}),size:e(1948),onClick:()=>q(),title:e(1900)}),l.jsx(z[e(1886)],{title:e(1567),children:l.jsx(z.Button,{icon:l.jsx(se[e(488)],{}),size:e(1948),onClick:hn})}),l[e(1838)](z[e(1886)],{title:"导入画布",children:l[e(1838)](z[e(1140)],{icon:l[e(1838)](se[e(1679)],{}),size:e(1948),onClick:()=>Ge(!0)})})]}),l[e(1838)](z.Space,{children:wo[e(802)](j=>l[e(1838)](z.Tooltip,{title:j[e(952)],children:l.jsx(z.Button,{type:j[e(1979)]?e(336):j[e(1972)]||e(267),icon:j[e(1898)],onClick:j[e(1107)],disabled:j[e(571)]})},j[e(952)]))})]}),l[e(1838)]("div",{ref:i,className:e(622),children:l[e(1838)](nt.TransformWrapper,{ref:o,initialScale:1,initialPositionX:0,initialPositionY:0,minScale:.5,maxScale:5,onTransformed:x0,limitToBounds:!1,centerZoomedOut:!1,panning:{disabled:t||!Ze&&(u==="select"||u==="line-draw"||u===e(996)),velocityDisabled:!0},wheel:{disabled:t,step:.1},pinch:{disabled:t},doubleClick:{disabled:!0},children:({zoomIn:j,zoomOut:O,resetTransform:oe})=>l[e(328)](l[e(561)],{children:[!t&&l[e(1838)]("div",{className:e(1907),children:l[e(328)](z[e(692)],{direction:e(1463),children:[l[e(1838)](z[e(1886)],{title:"放大",children:l.jsx(z[e(1140)],{icon:l[e(1838)](se[e(1704)],{}),onClick:()=>j()})}),l[e(1838)](z[e(1886)],{title:"缩小",children:l[e(1838)](z[e(1140)],{icon:l.jsx(se[e(736)],{}),onClick:()=>O()})}),l[e(1838)](z[e(1886)],{title:e(990),children:l.jsx(z[e(1140)],{onClick:()=>oe(),children:e(1608)})}),l[e(328)](e(701),{className:"text-center text-xs text-gray-500",children:[Math[e(938)](g[e(568)]*100),"%"]})]})}),l[e(1838)](nt[e(808)],{wrapperStyle:{width:e(1608),height:e(1608),position:e(2072),overflow:e(t?1084:1276)},contentStyle:{width:t?b[e(687)]+"px":e(1608),height:t?b[e(500)]+"px":e(1608),display:e(949),alignItems:t?e(1161):"center",justifyContent:e(t?1161:843)},children:l[e(328)](e(701),{ref:r,"data-canvas":"true",className:e(301)+(k?e(1708):"")+" "+(u==="line-draw"?e(1930):"")+" "+(Ze?e(281):""),style:{width:b[e(687)],height:b[e(500)],flexShrink:0,backgroundColor:b[e(554)],backgroundImage:b[e(1517)]?e(2032)+b[e(1517)]+")":void 0,backgroundSize:e(825),backgroundPosition:"center"},onClick:$t,onMouseDown:T0,onDoubleClick:q0,onDragOver:L0,onDragLeave:W0,onDrop:yo,children:[x&&!t&&l[e(328)](e(701),{className:e(1079),style:{width:b[e(687)],height:b.height},children:[l[e(1838)](e(1875),{src:x,alt:"",className:e(918),draggable:!1}),l[e(1838)](e(1521),{className:e(595),width:1920,height:1080,children:l.jsx(e(1304),{x:"0",y:"0",width:e(1094),height:e(1526),fill:e(582),stroke:e(1578),strokeWidth:"2"})})]}),b.showGrid!==!1&&l.jsxs(e(1521),{className:e(595),width:b[e(687)],height:b[e(500)],children:[l.jsx(e(1895),{children:l[e(1838)](e(1789),{id:"grid",width:"20",height:"20",patternUnits:e(851),children:l.jsx(e(1221),{d:e(1330),fill:e(582),stroke:e(834),opacity:"0.2",strokeWidth:"1"})})}),l[e(1838)](e(1304),{width:e(1608),height:e(1608),fill:e(528)})]}),a[e(802)](xe=>l.jsx(Cx,{node:xe,isSelected:u===e(1215)?!1:d===xe.id||S[e(1052)](xe.id),data:pe,onClick:u==="preview"?void 0:de=>{const R=e;console.log(R(1151),xe.id,R(2009),J[R(1621)]),J[R(1621)]!==R(2064)&&(de[R(1390)]?(p(xe.id),A([...S,xe.id])):(p(xe.id),A([xe.id])))},onMouseDown:u===e(1215)?void 0:de=>mo(de,xe),onUpdateNode:u===e(1215)?void 0:(de,R)=>v(de,R),scale:g[e(568)],enableEventFlow:u==="preview",eventFlowData:Le},""+xe.id)),u===e(2064)&&ce[e(1681)]&&ce[e(1870)]&&ce[e(1015)]&&l[e(1838)](e(1521),{className:e(595),width:b.width,height:b[e(500)],children:l[e(1838)]("line",{x1:ce[e(1870)].x,y1:ce.start.y,x2:ce[e(1015)].x,y2:ce[e(1015)].y,stroke:e(592),strokeWidth:"2",strokeDasharray:"5,5",strokeLinecap:"round",strokeLinejoin:e(938)})}),u===e(996)&&F[e(1870)]&&F.end&&l[e(1838)]("div",{className:e(1497),style:{left:Math[e(408)](F[e(1870)].x,F[e(1015)].x),top:Math[e(408)](F[e(1870)].y,F[e(1015)].y),width:Math.abs(F[e(1015)].x-F[e(1870)].x),height:Math[e(1242)](F[e(1015)].y-F[e(1870)].y),zIndex:9999}})]})})]})})}),l.jsx(z[e(346)],{title:e(1674),open:K,onCancel:()=>X(!1),footer:null,children:l[e(1838)](z[e(688)],{layout:e(1463),children:l[e(1838)](z.Form[e(801)],{label:e(780),children:l[e(1838)](Ws,{value:fe,onChange:j=>{const O=e;ae(!0),me(j[O(1917)][O(658)])},rows:10,placeholder:e(340)})})})}),l[e(1838)](z[e(346)],{title:e(619),open:Ne,onCancel:()=>Ye(!1),footer:null,children:l[e(328)](z[e(688)],{layout:e(1463),children:[l.jsx(z[e(688)][e(801)],{label:"宽度",children:l.jsx(z[e(624)],{value:b.width,onChange:j=>h({width:j||1920}),min:100,max:5e3,style:{width:e(1608)}})}),l[e(1838)](z[e(688)][e(801)],{label:"高度",children:l[e(1838)](z[e(624)],{value:b[e(500)],onChange:j=>h({height:j||1080}),min:100,max:5e3,style:{width:e(1608)}})}),l.jsx(z[e(688)][e(801)],{label:e(407),children:l[e(1838)](z[e(1809)],{checked:b[e(1034)]!==!1,onChange:j=>h({showGrid:j})})}),l.jsx(z[e(688)].Item,{label:"背景色",children:l[e(328)](e(701),{className:e(1717),children:[l[e(1838)](en,{value:b[e(554)]||"#00193C",onChange:j=>h({background:j[e(1283)]()})}),l[e(1838)](z[e(1300)],{value:b.background,onChange:j=>h({background:j[e(1917)][e(658)]}),placeholder:e(1546)})]})}),l[e(328)](z[e(688)][e(801)],{label:e(960),children:[l[e(328)](e(701),{className:e(1717),children:[l[e(1838)](z[e(1728)],{accept:"image/*",showUploadList:!1,beforeUpload:j=>{const O=e;if(!j.type[O(2055)](O(1896)))return z[O(369)][O(1186)](O(1783)),!1;const xe=new FileReader;return xe[O(967)]=de=>{const R=O,ne=de[R(1917)]?.[R(462)];h({backgroundImage:ne}),z[R(369)][R(2044)]("背景图片上传成功")},xe[O(563)](j),!1},children:l[e(1838)](z[e(1140)],{icon:l[e(1838)](se[e(1679)],{}),children:e(1684)})}),l[e(1838)](z.Input,{value:b[e(1517)],onChange:j=>h({backgroundImage:j[e(1917)][e(658)]}),placeholder:e(424),style:{flex:1}}),b[e(1517)]&&l[e(1838)](z[e(1140)],{icon:l[e(1838)](se[e(1257)],{}),onClick:()=>h({backgroundImage:void 0}),danger:!0,size:e(1948)})]}),b.backgroundImage&&l[e(1838)](e(701),{className:e(403),style:{maxWidth:e(1608)},children:l.jsx(e(1875),{src:b.backgroundImage,alt:"背景预览",style:{maxWidth:e(1608),maxHeight:120,objectFit:e(1635)}})})]})]})}),l[e(328)](z[e(346)],{title:"画布管理",open:ax,onCancel:()=>{_n(!1),$n(null),Fn("")},footer:null,children:[l[e(1838)](z[e(1715)],{dataSource:w[e(771)],renderItem:j=>l[e(1838)](z[e(1715)].Item,{actions:[cx===j.id?l[e(1838)](z[e(1140)],{type:"primary",size:"small",onClick:()=>{D(j.id,Qn),$n(null)},children:"保存"}):l[e(1838)](z[e(1140)],{type:e(303),icon:l[e(1838)](se[e(1902)],{}),size:e(1948),onClick:()=>{const O=e;$n(j.id),Fn(j[O(495)])}}),w.canvases[e(2088)]>1&&l[e(1838)](z[e(1140)],{type:"text",danger:!0,icon:l[e(1838)](se[e(877)],{}),size:e(1948),onClick:()=>T(j.id)})][e(891)](Boolean),children:cx===j.id?l[e(1838)](z[e(1300)],{value:Qn,onChange:O=>Fn(O.target[e(658)]),size:e(1948),style:{width:200}}):l[e(328)](e(1111),{style:{fontWeight:w.currentCanvasId===j.id?e(945):e(343)},children:[j[e(495)]," ",w[e(1272)]===j.id&&e(677)]})})}),l[e(1838)](e(701),{className:e(1024),children:l.jsx(z[e(1140)],{type:e(336),icon:l.jsx(se[e(870)],{}),onClick:()=>q(),children:e(1900)})})]}),l[e(1838)](z[e(346)],{title:"导入画布",open:He,onOk:gn,onCancel:()=>{Ge(!1),Te(""),B0(!1)},width:600,children:l[e(328)](e(701),{className:e(1964),children:[l[e(328)](e(701),{children:[l[e(1838)]("p",{className:"mb-2",children:e(467)}),l[e(1838)](e(1194),{type:e(1921),accept:e(1122),onChange:j=>{const O=e,oe=j.target[O(706)]?.[0];oe&&H0(oe)},className:e(1861)})]}),l[e(1838)](e(701),{className:"text-center text-gray-400",children:"或"}),l[e(328)](e(701),{children:[l[e(1838)]("p",{className:e(450),children:e(1306)}),l[e(1838)]("textarea",{value:Se,onChange:j=>Te(j.target[e(658)]),placeholder:"粘贴画布 JSON 内容...",className:e(589)})]}),l[e(328)](e(701),{className:e(1717),children:[l.jsx(e(1194),{type:e(672),id:"importAsNewCanvas",checked:t0,onChange:j=>B0(j.target.checked),className:e(1976)}),l[e(1838)](e(273),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:e(681)})]})]})})]})},{Option:dt}=z[c(1810)];function yr(n){return Array[c(915)](n)}function Ks(n){const t=c,x=new Set;return n[t(1105)](e=>Object[t(1775)](e)[t(1105)](o=>x[t(315)](o))),Array.from(x)}function Zs(n,t){const x=c;return n[x(802)]((e,o)=>{const r=x,i=e[t],a=e[r(495)];return{label:String(a??"项 "+(o+1)),value:typeof i===r(976)||typeof i===r(515)?i:String(i)}})}function mr(n,t=""){const x=c,e=[];for(const[o,r]of Object[x(889)](n)){const i=t?t+"."+o:o;r!==null&&typeof r===x(2101)&&!Array[x(915)](r)?e.push(...mr(r,i)):e.push({paramsCode:i,paramsName:i,value:r})}return e}function Rs(n,t,x){const e=c;if(yr(n)){if(t!=null&&x!=null){const o=n[e(1388)](r=>r[t]===x);if(o)return o}return{}}return n}const Js=({material:n,onSave:t})=>{const x=c,e=n,o=e[x(1261)]||{},r=je(v=>v.dataPool),[i,a]=L[x(1183)]({label:o[x(273)]||"",value:o[x(658)]||"",valueSourceCode:o[x(497)]||"",unit:o[x(1413)]||"",decimals:o[x(630)]??2,labelFontSize:o.labelStyle?.[x(1865)]||14,labelFontWeight:o[x(1253)]?.fontWeight||x(945),labelColor:o[x(1253)]?.color||x(1574),valueFontSize:o.valueStyle?.fontSize||14,valueFontWeight:o[x(472)]?.[x(752)]||x(343),valueColor:o[x(472)]?.[x(575)]||x(592),boundDatasetId:o.boundDatasetId||"",boundDatasetBindCode:o.boundDatasetBindCode||"",boundDatasetBindValue:o[x(1164)]??null}),d=L[x(662)](()=>r[x(1388)](m=>m.id===i.boundDatasetId),[r,i[x(633)]]),s=d?yr(d[x(1959)]):!1,u=L[x(662)](()=>{const v=x;if(!d)return[];const m=Rs(d[v(1959)],i[v(798)],i[v(1164)]);return mr(m)},[d,i[x(798)],i[x(1164)]]);L.useEffect(()=>{const v=x;a({label:o[v(273)]||"",value:o[v(658)]||"",valueSourceCode:o[v(497)]||"",unit:o[v(1413)]||"",decimals:o.decimals??2,labelFontSize:o.labelStyle?.[v(1865)]||14,labelFontWeight:o[v(1253)]?.[v(752)]||v(945),labelColor:o.labelStyle?.color||"#262626",valueFontSize:o[v(472)]?.[v(1865)]||14,valueFontWeight:o[v(472)]?.[v(752)]||v(343),valueColor:o[v(472)]?.[v(575)]||v(592),boundDatasetId:o[v(633)]||"",boundDatasetBindCode:o.boundDatasetBindCode||"",boundDatasetBindValue:o.boundDatasetBindValue??null})},[n.id]);const f=(v,m)=>{a(M=>({...M,[v]:m}))},g=v=>{a(m=>({...m,boundDatasetId:v,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{t({content:{...o,boundDatasetId:v||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},b=v=>{a(m=>({...m,boundDatasetBindCode:v||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{t({content:{...o,boundDatasetBindCode:v||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=v=>{a(m=>({...m,boundDatasetBindValue:v??null,valueSourceCode:""})),setTimeout(()=>{t({content:{...o,boundDatasetBindValue:v??void 0,valueSourceCode:void 0}})},0)},y=v=>{const m=x,M=u.find(Y=>Y.paramsCode===v),I=M?.[m(1413)]||"";a(Y=>({...Y,valueSourceCode:v,unit:I,value:String(M?.value||"")})),setTimeout(()=>{t({content:{...o,valueSourceCode:v,value:String(M?.[m(658)]||""),unit:I}})},0)},h=()=>{const v=x;t({content:{...o,label:i.label,value:i[v(658)],valueSourceCode:i.valueSourceCode,unit:i[v(1413)],decimals:i.decimals,boundDatasetId:i[v(633)]||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i[v(1164)]??void 0,labelStyle:{fontSize:i[v(1400)],fontWeight:i[v(868)],color:i[v(372)]},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[v(1772)],color:i[v(602)]}}})},C=d&&s?Ks(d[x(1959)]):[],p=d&&s&&i.boundDatasetBindCode?Zs(d.sample,i[x(798)]):[];return l[x(328)](x(701),{className:x(1964),children:[l[x(1838)](z.Divider,{style:{marginTop:0},children:x(1873)}),l[x(328)](z.Form,{layout:x(1463),children:[l.jsx(z[x(688)][x(801)],{label:x(1531),children:l[x(1838)](z.Input,{value:i[x(273)],onChange:v=>f("label",v.target[x(658)]),onBlur:h,placeholder:x(839)})}),l.jsx(z.Form[x(801)],{label:x(269),help:x(1580),children:l.jsx(z[x(1810)],{allowClear:!0,placeholder:r.length===0?x(1298):x(1993),value:i[x(633)]||void 0,onChange:g,style:{width:"100%"},options:r[x(802)](v=>({label:v[x(495)],value:v.id}))})}),d&&s&&l[x(328)](l[x(561)],{children:[l[x(1838)](z[x(688)][x(801)],{label:"绑定字段",help:x(1527),children:l[x(1838)](z[x(1810)],{allowClear:!0,placeholder:x(669),value:i.boundDatasetBindCode||void 0,onChange:b,style:{width:x(1608)},options:C[x(802)](v=>({label:v,value:v}))})}),i[x(798)]&&l.jsx(z.Form[x(801)],{label:x(920),help:x(503),children:l.jsx(z[x(1810)],{allowClear:!0,placeholder:x(629),value:i[x(1164)]??void 0,onChange:w,style:{width:x(1608)},options:p})})]}),l[x(1838)](z[x(688)][x(801)],{label:x(1967),help:x(d?1237:295),children:l[x(1838)](z[x(1810)],{value:i[x(497)]||void 0,onChange:y,placeholder:d?"选择数据字段":x(295),allowClear:!0,disabled:!d,style:{width:x(1608)},options:u[x(802)](v=>({value:v.paramsCode,label:v[x(1569)]}))})}),l[x(1838)](z[x(688)][x(801)],{label:i[x(497)]?x(1277):x(2106),help:i.valueSourceCode?x(1814):x(762),children:l[x(1838)](z[x(1300)],{value:i[x(658)],onChange:v=>f("value",v.target.value),onBlur:h,placeholder:i[x(497)]?x(1593):"输入值文本",disabled:!!i.valueSourceCode,variant:i[x(497)]?x(490):void 0})}),l[x(1838)](z[x(688)][x(801)],{label:"单位",help:x(412),children:l[x(1838)](z[x(1300)],{value:i[x(1413)],onChange:v=>f("unit",v[x(1917)][x(658)]),onBlur:h,placeholder:x(1852),suffix:i[x(497)]&&u[x(2088)]>0?l[x(1838)](z[x(734)],{color:x(711),style:{marginRight:-8},children:"自动"}):null})}),l[x(1838)](z[x(688)].Item,{label:x(1844),help:x(912),children:l[x(1838)](z[x(624)],{value:i[x(630)],onChange:v=>f(x(630),v??2),onBlur:h,min:-1,max:10,style:{width:x(1608)}})})]}),l.jsx(z[x(1756)],{children:x(419)}),l[x(328)](z[x(688)],{layout:x(1463),children:[l.jsxs(z[x(692)],{children:[l[x(1838)](z[x(688)].Item,{label:x(368),children:l[x(1838)](z[x(624)],{value:i[x(1400)],onChange:v=>f(x(1400),v||14),onBlur:h,min:8,max:72})}),l[x(1838)](z[x(688)][x(801)],{label:x(1493),children:l.jsxs(z.Select,{value:i[x(868)],onChange:v=>{f(x(868),v),setTimeout(h,0)},style:{width:100},children:[l.jsx(dt,{value:"normal",children:"正常"}),l.jsx(dt,{value:x(945),children:"粗体"})]})})]}),l.jsx(z[x(688)][x(801)],{label:x(2047),children:l[x(328)]("div",{className:x(1717),children:[l.jsx(en,{value:i[x(372)]||x(1574),onChange:v=>{const m=x;f(m(372),v[m(1283)]())},onChangeComplete:v=>{const m=x;t({content:{...o,label:i[m(273)],value:i[m(658)],valueSourceCode:i[m(497)],unit:i[m(1413)],decimals:i[m(630)],boundDatasetId:i[m(633)]||void 0,boundDatasetBindCode:i[m(798)]||void 0,boundDatasetBindValue:i[m(1164)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[m(868)],color:v[m(1283)]()},valueStyle:{fontSize:i[m(302)],fontWeight:i[m(1772)],color:i[m(602)]}}})}}),l[x(1838)](z.Input,{value:i[x(372)],onChange:v=>f("labelColor",v[x(1917)][x(658)]),onBlur:h,placeholder:"#262626",style:{width:100}})]})})]}),l[x(1838)](z.Divider,{children:x(1818)}),l[x(328)](z[x(688)],{layout:x(1463),children:[l[x(328)](z[x(692)],{children:[l[x(1838)](z[x(688)][x(801)],{label:x(368),children:l[x(1838)](z[x(624)],{value:i[x(302)],onChange:v=>f("valueFontSize",v||14),onBlur:h,min:8,max:72})}),l.jsx(z[x(688)].Item,{label:"字体粗细",children:l[x(328)](z.Select,{value:i[x(1772)],onChange:v=>{f(x(1772),v),setTimeout(h,0)},style:{width:100},children:[l.jsx(dt,{value:x(343),children:"正常"}),l.jsx(dt,{value:"bold",children:"粗体"})]})})]}),l[x(1838)](z[x(688)][x(801)],{label:"文字颜色",children:l[x(328)](x(701),{className:x(1717),children:[l.jsx(en,{value:i[x(602)]||x(592),onChange:v=>{f("valueColor",v[x(1283)]())},onChangeComplete:v=>{const m=x;t({content:{...o,label:i[m(273)],value:i[m(658)],valueSourceCode:i.valueSourceCode,unit:i[m(1413)],decimals:i[m(630)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i[m(1164)]??void 0,labelStyle:{fontSize:i[m(1400)],fontWeight:i[m(868)],color:i[m(372)]},valueStyle:{fontSize:i[m(302)],fontWeight:i[m(1772)],color:v[m(1283)]()}}})}}),l[x(1838)](z.Input,{value:i[x(602)],onChange:v=>f(x(602),v[x(1917)][x(658)]),onBlur:h,placeholder:x(592),style:{width:100}})]})})]})]})},_s=({material:n,onSave:t})=>{const x=c,e=n,[o,r]=L[x(1183)]({name:n[x(495)],src:e.src||"",backgroundColor:e.backgroundColor||"",fillColor:e.fillColor||""});L[x(1046)](()=>{const d=x;r({name:n[d(495)],src:e[d(1744)]||"",backgroundColor:e[d(1596)]||"",fillColor:e.fillColor||""})},[n.id]);const i=(d,s)=>{r(u=>({...u,[d]:s}))},a=()=>{const d=x;t({name:o[d(495)],src:o.src,backgroundColor:o[d(1596)]})};return l[x(328)](x(701),{className:x(1964),children:[l.jsx(z[x(1756)],{style:{marginTop:0},children:"图片属性"}),l[x(328)](z[x(688)],{layout:x(1463),children:[l[x(1838)](z[x(688)][x(801)],{label:x(856),children:l[x(1838)](z[x(1300)],{value:o.name,onChange:d=>i(x(495),d.target[x(658)]),onBlur:a})}),l.jsx(z[x(688)].Item,{label:x(742),children:l[x(1838)](z.Input[x(1824)],{value:o.src,onChange:d=>i(x(1744),d[x(1917)][x(658)]),onBlur:a,rows:4,placeholder:x(977)})}),l[x(1838)](z[x(688)][x(801)],{label:x(266),children:l.jsxs("div",{className:x(1717),children:[l[x(1838)](en,{value:o.fillColor||"#1890ff",onChange:d=>{const s=x,u=d[s(1283)]();i(s(929),u),t({name:o[s(495)],src:o[s(1744)],backgroundColor:o.backgroundColor,fillColor:u})}}),l[x(1838)](z.Input,{value:o[x(929)],onChange:d=>i("fillColor",d[x(1917)][x(658)]),onBlur:a,placeholder:x(592)})]})}),l.jsx(z[x(688)][x(801)],{label:x(955),children:l[x(328)](x(701),{className:"flex items-center gap-2",children:[l.jsx(en,{value:o[x(1596)]||x(592),onChange:d=>{const s=x,u=d[s(1283)]();i("backgroundColor",u),t({name:o.name,src:o[s(1744)],backgroundColor:u,fillColor:o[s(929)]})}}),l[x(1838)](z.Input,{value:o.backgroundColor,onChange:d=>i(x(1596),d.target[x(658)]),onBlur:a,placeholder:x(592)})]})})]})]})},{Option:Qs}=z[c(1810)],Fs=({material:n,onSave:t})=>{const x=c,e=n[x(973)]||{},[o,r]=L[x(1183)]({lineWeight:e.lineWeight||e[x(2100)]||2,color:e.color||"#262626",lineType:e[x(1530)]||"solid",startX:e[x(1963)]??0,startY:e[x(1210)]??0,endX:e.endX??100,endY:e.endY??0}),i=JSON[x(1039)]({sw:e[x(1538)]??e[x(2100)],c:e[x(575)],t:e.lineType,sx:e[x(1963)],sy:e.startY,ex:e.endX,ey:e.endY});L[x(1046)](()=>{const s=x;r({lineWeight:e[s(1538)]||e.thickness||2,color:e[s(575)]||s(1574),lineType:e.lineType||s(386),startX:e[s(1963)]??0,startY:e[s(1210)]??0,endX:e.endX??100,endY:e.endY??0})},[n.id,i]);const a=s=>{const u=x,f={...o,...s};r(f),t({config:{...e,thickness:f[u(1538)],lineWeight:f[u(1538)],color:f[u(575)],lineType:f.lineType,startX:f.startX,startY:f.startY,endX:f[u(1931)],endY:f[u(526)]}})},d=[{value:"solid",label:"实线",desc:x(1177)},{value:x(1082),label:"虚线",desc:x(583)},{value:x(843),label:"点画线(中心线)",desc:x(848)},{value:x(639),label:x(1428),desc:x(2070)},{value:"dot",label:"点线",desc:x(1734)},{value:x(1077),label:x(505),desc:"长划-点交替"}];return l[x(328)](x(701),{className:"space-y-4",children:[l.jsx(z[x(1756)],{style:{marginTop:0},children:"起止位置(相对节点)"}),l.jsxs(z.Form,{layout:x(1463),children:[l.jsxs(x(701),{className:x(1380),children:[l.jsx(z[x(688)][x(801)],{label:x(572),className:x(450),children:l[x(1838)](z[x(624)],{value:o[x(1963)],onChange:s=>a({startX:s??0}),style:{width:"100%"}})}),l.jsx(z[x(688)].Item,{label:x(732),className:x(450),children:l[x(1838)](z[x(624)],{value:o[x(1210)],onChange:s=>a({startY:s??0}),style:{width:x(1608)}})}),l[x(1838)](z[x(688)][x(801)],{label:x(731),className:x(450),children:l[x(1838)](z[x(624)],{value:o[x(1931)],onChange:s=>a({endX:s??100}),style:{width:x(1608)}})}),l[x(1838)](z[x(688)].Item,{label:x(312),className:x(450),children:l[x(1838)](z.InputNumber,{value:o[x(526)],onChange:s=>a({endY:s??0}),style:{width:x(1608)}})})]}),l.jsx(z.Form.Item,{label:"快速对齐",className:x(2015),children:l[x(328)](z[x(692)],{children:[l[x(1838)](z[x(1140)],{size:"small",onClick:()=>{const s=x,u=e.startX??o[s(1963)],f=e.startY??o[s(1210)],g=e[s(1931)]??o[s(1931)],b=e.endY??o.endY,w=g-u,y=b-f,h=Math.sqrt(w*w+y*y),C=w>=0?1:-1;a({endX:u+C*h,endY:f})},title:x(275),children:"水平"}),l[x(1838)](z.Button,{size:x(1948),onClick:()=>{const s=x,u=e[s(1963)]??o[s(1963)],f=e[s(1210)]??o[s(1210)],g=e[s(1931)]??o.endX,b=e[s(526)]??o.endY,w=g-u,y=b-f,h=Math[s(1800)](w*w+y*y),C=y>=0?1:-1;a({endX:u,endY:f+C*h})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l.jsx(z[x(1140)],{size:"small",onClick:()=>{const s=x,u=e[s(1963)]??o[s(1963)],f=e[s(1210)]??o[s(1210)],g=e.endX??o[s(1931)],b=e[s(526)]??o[s(526)];a({startX:g,startY:b,endX:u,endY:f})},title:x(2083),children:"反向"})]})})]}),l[x(1838)](z[x(1756)],{children:"线条属性"}),l[x(328)](z[x(688)],{layout:x(1463),children:[l[x(1838)](z[x(688)][x(801)],{label:"线型",help:x(1787),children:l.jsx(z[x(1810)],{value:o[x(1530)],onChange:s=>a({lineType:s}),children:d[x(802)](s=>l[x(1838)](Qs,{value:s.value,children:l.jsxs(x(701),{className:x(1657),children:[l.jsx("span",{children:s.label}),l[x(1838)](x(1111),{className:"text-xs text-gray-400",children:s[x(569)]})]})},s[x(658)]))})}),l[x(1838)](z[x(688)][x(801)],{label:x(2063),children:l.jsx(z[x(624)],{value:o[x(1538)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[x(1838)](z.Form[x(801)],{label:"颜色",children:l[x(328)](x(701),{className:x(1717),children:[l[x(1838)](en,{value:o[x(575)]||x(648),onChange:s=>a({color:s[x(1283)]()})}),l[x(1838)](z[x(1300)],{value:o[x(575)],onChange:s=>a({color:s[x(1917)][x(658)]}),placeholder:x(648),style:{width:100}})]})})]})]})};function vr(n){return Array[c(915)](n)}function $s(n){const t=c,x=new Set;return n[t(1105)](e=>Object.keys(e)[t(1105)](o=>x[t(315)](o))),Array.from(x)}function el(n,t){const x=c;return n[x(802)]((e,o)=>{const r=x,i=e[t],a=e[r(495)];return{label:String(a??"项 "+(o+1)),value:typeof i===r(976)||typeof i=="number"?i:String(i)}})}function nl(n,t,x){const e=c;if(vr(n)){if(t!=null&&x!=null){const o=n[e(1388)](r=>r[t]===x);if(o)return o}return{}}return n}const wr=({status:n,onUpdate:t,onAppendToExpression:x})=>{const e=c,o=je(y=>y[e(722)]),r=o[e(1388)](y=>y.id===n[e(633)]),i=r?vr(r[e(1959)]):!1,a=r?nl(r.sample,n.boundDatasetBindCode,n[e(1164)]):{},d=Ao(a),s=y=>{const h=e,C=h(836)+y;x?x(C):t({expression:""+(n.expression||"")+C})},u=y=>{t({boundDatasetId:y??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=y=>{t({boundDatasetBindCode:y??null,boundDatasetBindValue:null})},g=y=>{t({boundDatasetBindValue:y??null})},b=r&&i?$s(r[e(1959)]):[],w=r&&i&&n[e(798)]?el(r.sample,n[e(798)]):[];return l[e(328)](l[e(561)],{children:[l[e(1838)](z[e(688)][e(801)],{label:"绑定数据集",extra:o[e(2088)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":e(429),children:l.jsx(z.Select,{allowClear:!0,placeholder:o[e(2088)]===0?e(1309):"选择数据池中的数据集",value:n[e(633)]??void 0,options:o.map(y=>({label:y[e(495)],value:y.id})),onChange:u})}),r&&i&&l.jsxs(l[e(561)],{children:[l[e(1838)](z.Form.Item,{label:e(1384),extra:e(1527),children:l[e(1838)](z[e(1810)],{allowClear:!0,placeholder:e(669),value:n.boundDatasetBindCode??void 0,options:b.map(y=>({label:y,value:y})),onChange:f})}),n[e(798)]&&l[e(1838)](z.Form[e(801)],{label:e(920),extra:"选择该字段对应的具体值以定位数据项",children:l[e(1838)](z.Select,{allowClear:!0,placeholder:e(629),value:n.boundDatasetBindValue??void 0,options:w,onChange:g})})]}),d[e(2088)]>0&&l[e(1838)](z.Form[e(801)],{label:e(926),children:l[e(1838)](z[e(692)],{size:[4,4],wrap:!0,children:d[e(802)](y=>l[e(1838)](z[e(734)],{className:e(560),onClick:()=>s(y),children:e(836)+y},y))})})]})},pr=({material:n,onSave:t})=>{const x=c;switch(n[x(1972)]){case x(1811):return l[x(1838)](Js,{material:n,onSave:t});case x(411):return l[x(1838)](_s,{material:n,onSave:t});case"LINE":return l[x(1838)](Fs,{material:n,onSave:t});default:return l.jsx(x(701),{className:x(781),children:x(1254)})}},{Panel:zr}=z[c(1299)],{TextArea:tl}=z.Input,xl=({node:n,updateNode:t,materials:x})=>{const e=c,o=x[e(891)](f=>f[e(1972)]!==e(1564)||!f.config?.nodes),r=(f,g)=>{const b=e,w=n.children?.[b(802)](y=>y.id===f?{...y,contentInfo:{...y.contentInfo,statusList:g}}:y);t(n.id,{children:w})},i=f=>{const g=e,b=n[g(927)]?.[g(1388)](y=>y.id===f);if(!b)return;const w={id:ve[g(1068)](),name:"状态"+(b[g(905)][g(514)][g(2088)]+1),expression:b[g(905)][g(514)][g(2088)]===0?g(326):g(2091),material:{...o[0],id:ve.nanoid()},boundDatasetId:null};r(f,[...b[g(905)][g(514)],w])},a=(f,g)=>{const b=e,w=n.children?.[b(1388)](h=>h.id===f);if(!w)return;const y=w.contentInfo[b(514)][b(891)](h=>h.id!==g);r(f,y)},d=(f,g,b)=>{const w=e,y=n[w(927)]?.[w(1388)](C=>C.id===f);if(!y)return;const h=y.contentInfo[w(514)][w(802)](C=>C.id===g?{...C,...b}:C);r(f,h)},s=(f,g,b)=>{const w=e,y=n.children?.[w(1388)](p=>p.id===f);if(!y)return;const h=y[w(905)][w(514)][w(1592)](p=>p.id===g);if(h===-1)return;const C=[...y.contentInfo[w(514)]];b==="up"&&h>0?[C[h],C[h-1]]=[C[h-1],C[h]]:b===w(724)&&h<C[w(2088)]-1&&([C[h],C[h+1]]=[C[h+1],C[h]]),r(f,C)},u=(f,g,b)=>{const w=e,y=x[w(1388)](h=>h.id===b);y&&d(f,g,{material:{...y,id:ve.nanoid()}})};return l[e(328)](e(701),{className:e(1964),children:[l.jsx(e(701),{className:e(890),children:l.jsxs("div",{className:e(659),children:[l.jsx("strong",{children:e(2039)}),e(1042)]})}),l[e(1838)](z.Collapse,{ghost:!0,children:n[e(927)]?.[e(802)]((f,g)=>l[e(1838)](zr,{header:l[e(328)]("div",{className:e(1353),children:[l[e(328)](e(1111),{className:e(863),children:[e(499),g+1]}),l[e(328)](z.Tag,{color:e(711),style:{fontSize:e(1904),padding:e(878)},children:[f[e(905)].statusList.length," 个状态"]})]}),children:l.jsxs(e(701),{className:e(1975),children:[l.jsxs("div",{className:e(1514),children:[l.jsx(e(1111),{className:e(431),children:"状态列表"}),l[e(1838)](z[e(1140)],{type:e(336),size:e(1948),icon:l[e(1838)](se[e(870)],{}),onClick:()=>i(f.id),children:"添加状态"})]}),f[e(905)].statusList[e(2088)]===0?l[e(1838)](e(701),{className:e(702),children:e(307)}):l[e(1838)](z[e(1299)],{ghost:!0,children:f[e(905)][e(514)][e(802)]((b,w)=>l[e(1838)](zr,{header:l[e(328)]("div",{className:e(1717),children:[l[e(1838)]("span",{className:e(532),children:w+1}),l.jsx(e(1111),{className:"font-medium",children:b[e(495)]}),l.jsx(z[e(734)],{color:e(267),className:e(655),children:b.material.type})]}),extra:l[e(328)](z[e(692)],{size:"small",onClick:y=>y[e(776)](),children:[l[e(1838)](z[e(1140)],{type:e(303),size:e(1948),icon:l[e(1838)](se[e(1880)],{}),disabled:w===0,onClick:y=>{y.stopPropagation(),s(f.id,b.id,"up")}}),l[e(1838)](z[e(1140)],{type:e(303),size:e(1948),icon:l[e(1838)](se.ArrowDownOutlined,{}),disabled:w===f[e(905)][e(514)][e(2088)]-1,onClick:y=>{y[e(776)](),s(f.id,b.id,"down")}}),l[e(1838)](z[e(1140)],{type:e(303),size:e(1948),danger:!0,icon:l[e(1838)](se[e(877)],{}),onClick:y=>{y[e(776)](),a(f.id,b.id)}})]}),children:l[e(328)](z[e(688)],{layout:e(1463),children:[l.jsx(z[e(688)][e(801)],{label:e(1624),children:l[e(1838)](z[e(1300)],{value:b[e(495)],onChange:y=>d(f.id,b.id,{name:y[e(1917)][e(658)]}),placeholder:"输入状态名称"})}),l[e(1838)](wr,{status:b,onUpdate:y=>d(f.id,b.id,y)}),l.jsx(z[e(688)].Item,{label:e(693),help:e(1224),children:l.jsx(tl,{value:b[e(992)],onChange:y=>d(f.id,b.id,{expression:y.target.value}),rows:3,placeholder:"return true;"})}),l.jsx(z.Form.Item,{label:e(1863),children:l.jsxs(e(701),{className:e(1717),children:[l.jsx(z[e(734)],{color:e(711),children:b[e(1016)].name}),l[e(1838)](z[e(734)],{color:e(267),children:b.material[e(1972)]}),l.jsx(z.Select,{placeholder:e(2097),style:{width:150},value:void 0,onChange:y=>y&&u(f.id,b.id,y),options:o[e(802)](y=>({value:y.id,label:y[e(495)]+" ("+y[e(1972)]+")"}))})]})}),l[e(1838)](z[e(1756)],{style:{margin:"12px 0"}}),l[e(328)](e(701),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[e(328)]("div",{className:e(2108),children:[l[e(1838)](e(1111),{className:"text-sm font-medium",children:"物料属性"}),l[e(1838)](z[e(734)],{children:b[e(1016)][e(495)]})]}),l.jsx(pr,{material:b[e(1016)],onSave:y=>{const h=e,C={...b[h(1016)],...y};d(f.id,b.id,{material:C})}})]})]})},b.id))})]})},f.id))})]})};function Ae(n){const t=c;if(typeof n===t(976)||typeof n===t(515))return""+n;let x="";if(Array[t(915)](n))for(let e=0,o;e<n[t(2088)];e++)(o=Ae(n[e]))!==""&&(x+=(x&&" ")+o);else for(let e in n)n[e]&&(x+=(x&&" ")+e);return x}var ol={value:()=>{}};function ut(){const n=c;for(var t=0,x=arguments[n(2088)],e={},o;t<x;++t){if(!(o=arguments[t]+"")||o in e||/[\s.]/[n(1398)](o))throw new Error("illegal type: "+o);e[o]=[]}return new ft(e)}function ft(n){this._=n}function rl(n,t){const x=c;return n[x(1543)]().split(/^|\s+/).map(function(e){const o=x;var r="",i=e.indexOf(".");if(i>=0&&(r=e[o(364)](i+1),e=e.slice(0,i)),e&&!t.hasOwnProperty(e))throw new Error(o(2001)+e);return{type:e,name:r}})}ft.prototype=ut[c(1843)]={constructor:ft,on:function(n,t){const x=c;var e=this._,o=rl(n+"",e),r,i=-1,a=o[x(2088)];if(arguments[x(2088)]<2){for(;++i<a;)if((r=(n=o[i])[x(1972)])&&(r=il(e[r],n[x(495)])))return r;return}if(t!=null&&typeof t!==x(828))throw new Error("invalid callback: "+t);for(;++i<a;)if(r=(n=o[i])[x(1972)])e[r]=Cr(e[r],n.name,t);else if(t==null)for(r in e)e[r]=Cr(e[r],n[x(495)],null);return this},copy:function(){const n=c;var t={},x=this._;for(var e in x)t[e]=x[e][n(364)]();return new ft(t)},call:function(n,t){const x=c;if((r=arguments[x(2088)]-2)>0)for(var e=new Array(r),o=0,r,i;o<r;++o)e[o]=arguments[o+2];if(!this._[x(1600)](n))throw new Error(x(2001)+n);for(i=this._[n],o=0,r=i[x(2088)];o<r;++o)i[o][x(658)][x(1426)](t,e)},apply:function(n,t,x){const e=c;if(!this._[e(1600)](n))throw new Error(e(2001)+n);for(var o=this._[n],r=0,i=o[e(2088)];r<i;++r)o[r][e(658)].apply(t,x)}};function il(n,t){const x=c;for(var e=0,o=n[x(2088)],r;e<o;++e)if((r=n[e])[x(495)]===t)return r.value}function Cr(n,t,x){const e=c;for(var o=0,r=n[e(2088)];o<r;++o)if(n[o][e(495)]===t){n[o]=ol,n=n[e(364)](0,o).concat(n.slice(o+1));break}return x!=null&&n[e(1297)]({name:t,value:x}),n}var Mx=c(1401);const Mr={svg:c(1866),xhtml:Mx,xlink:c(1496),xml:"http://www.w3.org/XML/1998/namespace",xmlns:c(962)};function bt(n){const t=c;var x=n+="",e=x[t(799)](":");return e>=0&&(x=n[t(364)](0,e))!=="xmlns"&&(n=n.slice(e+1)),Mr[t(1600)](x)?{space:Mr[x],local:n}:n}function al(n){return function(){const t=_0x1826;var x=this[t(784)],e=this[t(1773)];return e===Mx&&x[t(433)][t(1773)]===Mx?x[t(922)](n):x[t(1585)](e,n)}}function cl(n){return function(){const t=_0x1826;return this[t(784)].createElementNS(n[t(608)],n[t(1097)])}}function Br(n){var t=bt(n);return(t.local?cl:al)(t)}function sl(){}function Bx(n){return n==null?sl:function(){return this[_0x1826(1753)](n)}}function ll(n){const t=c;typeof n!==t(828)&&(n=Bx(n));for(var x=this[t(513)],e=x.length,o=new Array(e),r=0;r<e;++r)for(var i=x[r],a=i[t(2088)],d=o[r]=new Array(a),s,u,f=0;f<a;++f)(s=i[f])&&(u=n[t(671)](s,s[t(379)],f,i))&&(t(379)in s&&(u[t(379)]=s[t(379)]),d[f]=u);return new We(o,this[t(434)])}function dl(n){const t=c;return n==null?[]:Array[t(915)](n)?n:Array.from(n)}function ul(){return[]}function Dr(n){return n==null?ul:function(){return this.querySelectorAll(n)}}function fl(n){return function(){return dl(n[_0x1826(1426)](this,arguments))}}function bl(n){const t=c;typeof n===t(828)?n=fl(n):n=Dr(n);for(var x=this[t(513)],e=x[t(2088)],o=[],r=[],i=0;i<e;++i)for(var a=x[i],d=a.length,s,u=0;u<d;++u)(s=a[u])&&(o[t(1297)](n.call(s,s.__data__,u,a)),r[t(1297)](s));return new We(o,r)}function Lr(n){return function(){return this[_0x1826(1294)](n)}}function Nr(n){return function(t){return t[_0x1826(1294)](n)}}var hl=Array[c(1843)][c(1388)];function gl(n){return function(){return hl.call(this.children,n)}}function yl(){return this[c(1966)]}function ml(n){return this.select(n==null?yl:gl(typeof n=="function"?n:Nr(n)))}var vl=Array[c(1843)].filter;function wl(){return Array[c(2029)](this.children)}function pl(n){return function(){const t=_0x1826;return vl[t(671)](this[t(927)],n)}}function zl(n){return this[c(642)](n==null?wl:pl(typeof n=="function"?n:Nr(n)))}function Cl(n){const t=c;typeof n!="function"&&(n=Lr(n));for(var x=this[t(513)],e=x[t(2088)],o=new Array(e),r=0;r<e;++r)for(var i=x[r],a=i.length,d=o[r]=[],s,u=0;u<a;++u)(s=i[u])&&n[t(671)](s,s[t(379)],u,i)&&d[t(1297)](s);return new We(o,this[t(434)])}function Sr(n){const t=c;return new Array(n[t(2088)])}function Ml(){const n=c;return new We(this._enter||this._groups[n(802)](Sr),this[n(434)])}function ht(n,t){const x=c;this.ownerDocument=n[x(784)],this[x(1773)]=n[x(1773)],this[x(1669)]=null,this[x(1412)]=n,this[x(379)]=t}ht[c(1843)]={constructor:ht,appendChild:function(n){const t=c;return this._parent[t(1318)](n,this[t(1669)])},insertBefore:function(n,t){return this._parent.insertBefore(n,t)},querySelector:function(n){const t=c;return this[t(1412)][t(1753)](n)},querySelectorAll:function(n){return this[c(1412)].querySelectorAll(n)}};function Bl(n){return function(){return n}}function Dl(n,t,x,e,o,r){const i=c;for(var a=0,d,s=t[i(2088)],u=r.length;a<u;++a)(d=t[a])?(d.__data__=r[a],e[a]=d):x[a]=new ht(n,r[a]);for(;a<s;++a)(d=t[a])&&(o[a]=d)}function Ll(n,t,x,e,o,r,i){const a=c;var d,s,u=new Map,f=t[a(2088)],g=r[a(2088)],b=new Array(f),w;for(d=0;d<f;++d)(s=t[d])&&(b[d]=w=i[a(671)](s,s.__data__,d,t)+"",u[a(663)](w)?o[d]=s:u[a(2010)](w,s));for(d=0;d<g;++d)w=i[a(671)](n,r[d],d,r)+"",(s=u[a(1519)](w))?(e[d]=s,s[a(379)]=r[d],u.delete(w)):x[d]=new ht(n,r[d]);for(d=0;d<f;++d)(s=t[d])&&u[a(1519)](b[d])===s&&(o[d]=s)}function Nl(n){return n[c(379)]}function Sl(n,t){const x=c;if(!arguments[x(2088)])return Array[x(2029)](this,Nl);var e=t?Ll:Dl,o=this[x(434)],r=this._groups;typeof n!==x(828)&&(n=Bl(n));for(var i=r[x(2088)],a=new Array(i),d=new Array(i),s=new Array(i),u=0;u<i;++u){var f=o[u],g=r[u],b=g.length,w=kl(n[x(671)](f,f&&f[x(379)],u,o)),y=w[x(2088)],h=d[u]=new Array(y),C=a[u]=new Array(y),p=s[u]=new Array(b);e(f,g,h,C,p,w,t);for(var v=0,m=0,M,I;v<y;++v)if(M=h[v]){for(v>=m&&(m=v+1);!(I=C[m])&&++m<y;);M[x(1669)]=I||null}}return a=new We(a,o),a[x(721)]=d,a[x(1321)]=s,a}function kl(n){const t=c;return typeof n===t(2101)&&t(2088)in n?n:Array[t(2029)](n)}function Pl(){const n=c;return new We(this[n(1321)]||this[n(513)].map(Sr),this[n(434)])}function Il(n,t,x){const e=c;var o=this.enter(),r=this,i=this.exit();return typeof n===e(828)?(o=n(o),o&&(o=o[e(753)]())):o=o[e(705)](n+""),t!=null&&(r=t(r),r&&(r=r[e(753)]())),x==null?i.remove():x(i),o&&r?o[e(1126)](r).order():r}function Al(n){const t=c;for(var x=n.selection?n[t(753)]():n,e=this._groups,o=x._groups,r=e[t(2088)],i=o[t(2088)],a=Math.min(r,i),d=new Array(r),s=0;s<a;++s)for(var u=e[s],f=o[s],g=u[t(2088)],b=d[s]=new Array(g),w,y=0;y<g;++y)(w=u[y]||f[y])&&(b[y]=w);for(;s<r;++s)d[s]=e[s];return new We(d,this._parents)}function El(){const n=c;for(var t=this[n(513)],x=-1,e=t[n(2088)];++x<e;)for(var o=t[x],r=o[n(2088)]-1,i=o[r],a;--r>=0;)(a=o[r])&&(i&&a[n(837)](i)^4&&i[n(1977)][n(1318)](a,i),i=a);return this}function jl(n){const t=c;n||(n=Yl);function x(g,b){const w=_0x1826;return g&&b?n(g[w(379)],b[w(379)]):!g-!b}for(var e=this[t(513)],o=e.length,r=new Array(o),i=0;i<o;++i){for(var a=e[i],d=a[t(2088)],s=r[i]=new Array(d),u,f=0;f<d;++f)(u=a[f])&&(s[f]=u);s[t(1614)](x)}return new We(r,this._parents)[t(1689)]()}function Yl(n,t){return n<t?-1:n>t?1:n>=t?0:NaN}function Ul(){const n=c;var t=arguments[0];return arguments[0]=this,t[n(1426)](null,arguments),this}function Ol(){return Array.from(this)}function Gl(){const n=c;for(var t=this[n(513)],x=0,e=t[n(2088)];x<e;++x)for(var o=t[x],r=0,i=o[n(2088)];r<i;++r){var a=o[r];if(a)return a}return null}function Vl(){let n=0;for(const t of this)++n;return n}function Hl(){return!this.node()}function Tl(n){const t=c;for(var x=this[t(513)],e=0,o=x.length;e<o;++e)for(var r=x[e],i=0,a=r[t(2088)],d;i<a;++i)(d=r[i])&&n[t(671)](d,d[t(379)],i,r);return this}function ql(n){return function(){this.removeAttribute(n)}}function Wl(n){return function(){const t=_0x1826;this[t(1911)](n[t(608)],n[t(1097)])}}function Xl(n,t){return function(){this[_0x1826(1703)](n,t)}}function Kl(n,t){return function(){const x=_0x1826;this[x(1968)](n[x(608)],n[x(1097)],t)}}function Zl(n,t){return function(){const x=_0x1826;var e=t[x(1426)](this,arguments);e==null?this[x(763)](n):this[x(1703)](n,e)}}function Rl(n,t){return function(){const x=_0x1826;var e=t[x(1426)](this,arguments);e==null?this[x(1911)](n.space,n[x(1097)]):this[x(1968)](n[x(608)],n.local,e)}}function Jl(n,t){const x=c;var e=bt(n);if(arguments[x(2088)]<2){var o=this.node();return e[x(1097)]?o[x(1420)](e[x(608)],e[x(1097)]):o[x(1060)](e)}return this[x(584)]((t==null?e.local?Wl:ql:typeof t===x(828)?e[x(1097)]?Rl:Zl:e[x(1097)]?Kl:Xl)(e,t))}function kr(n){const t=c;return n[t(784)]&&n[t(784)][t(2065)]||n[t(1157)]&&n||n[t(2065)]}function _l(n){return function(){this[_0x1826(2062)].removeProperty(n)}}function Ql(n,t,x){return function(){const e=_0x1826;this[e(2062)][e(342)](n,t,x)}}function Fl(n,t,x){return function(){const e=_0x1826;var o=t.apply(this,arguments);o==null?this[e(2062)][e(817)](n):this[e(2062)].setProperty(n,o,x)}}function $l(n,t,x){const e=c;return arguments[e(2088)]>1?this[e(584)]((t==null?_l:typeof t=="function"?Fl:Ql)(n,t,x??"")):nn(this.node(),n)}function nn(n,t){const x=c;return n[x(2062)][x(1423)](t)||kr(n)[x(774)](n,null).getPropertyValue(t)}function ed(n){return function(){delete this[n]}}function nd(n,t){return function(){this[n]=t}}function td(n,t){return function(){var e=t[_0x1826(1426)](this,arguments);e==null?delete this[n]:this[n]=e}}function xd(n,t){const x=c;return arguments[x(2088)]>1?this[x(584)]((t==null?ed:typeof t===x(828)?td:nd)(n,t)):this.node()[n]}function Pr(n){return n[c(1543)]().split(/^|\s+/)}function Dx(n){return n[c(946)]||new Ir(n)}function Ir(n){const t=c;this[t(389)]=n,this._names=Pr(n[t(1060)](t(1929))||"")}Ir.prototype={add:function(n){const t=c;var x=this._names[t(799)](n);x<0&&(this._names[t(1297)](n),this[t(389)][t(1703)]("class",this[t(1971)][t(2022)](" ")))},remove:function(n){const t=c;var x=this[t(1971)][t(799)](n);x>=0&&(this[t(1971)][t(272)](x,1),this[t(389)][t(1703)](t(1929),this._names[t(2022)](" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function Ar(n,t){const x=c;for(var e=Dx(n),o=-1,r=t.length;++o<r;)e[x(315)](t[o])}function Er(n,t){const x=c;for(var e=Dx(n),o=-1,r=t.length;++o<r;)e[x(1575)](t[o])}function od(n){return function(){Ar(this,n)}}function rd(n){return function(){Er(this,n)}}function id(n,t){return function(){(t[_0x1826(1426)](this,arguments)?Ar:Er)(this,n)}}function ad(n,t){const x=c;var e=Pr(n+"");if(arguments[x(2088)]<2){for(var o=Dx(this.node()),r=-1,i=e[x(2088)];++r<i;)if(!o[x(1392)](e[r]))return!1;return!0}return this[x(584)]((typeof t===x(828)?id:t?od:rd)(e,t))}function cd(){const n=c;this[n(2066)]=""}function sd(n){return function(){this.textContent=n}}function ld(n){return function(){const t=_0x1826;var x=n[t(1426)](this,arguments);this[t(2066)]=x??""}}function dd(n){const t=c;return arguments[t(2088)]?this[t(584)](n==null?cd:(typeof n=="function"?ld:sd)(n)):this[t(1368)]()[t(2066)]}function ud(){const n=c;this[n(653)]=""}function fd(n){return function(){const t=_0x1826;this[t(653)]=n}}function bd(n){return function(){const t=_0x1826;var x=n.apply(this,arguments);this[t(653)]=x??""}}function hd(n){const t=c;return arguments[t(2088)]?this[t(584)](n==null?ud:(typeof n===t(828)?bd:fd)(n)):this[t(1368)]().innerHTML}function gd(){const n=c;this[n(360)]&&this[n(1977)][n(2054)](this)}function yd(){return this[c(584)](gd)}function md(){const n=c;this[n(420)]&&this.parentNode[n(1318)](this,this[n(1977)].firstChild)}function vd(){return this[c(584)](md)}function wd(n){const t=c;var x=typeof n=="function"?n:Br(n);return this[t(635)](function(){return this.appendChild(x.apply(this,arguments))})}function pd(){return null}function zd(n,t){const x=c;var e=typeof n===x(828)?n:Br(n),o=t==null?pd:typeof t=="function"?t:Bx(t);return this.select(function(){const r=x;return this[r(1318)](e[r(1426)](this,arguments),o[r(1426)](this,arguments)||null)})}function Cd(){const n=c;var t=this.parentNode;t&&t[n(1332)](this)}function Md(){return this.each(Cd)}function Bd(){const n=c;var t=this.cloneNode(!1),x=this.parentNode;return x?x.insertBefore(t,this[n(360)]):t}function Dd(){const n=c;var t=this[n(585)](!0),x=this[n(1977)];return x?x[n(1318)](t,this[n(360)]):t}function Ld(n){return this[c(635)](n?Dd:Bd)}function Nd(n){const t=c;return arguments[t(2088)]?this[t(830)]("__data__",n):this[t(1368)]()[t(379)]}function Sd(n){return function(t){const x=_0x1826;n.call(this,t,this[x(379)])}}function kd(n){const t=c;return n.trim()[t(853)](/^|\s+/).map(function(x){const e=t;var o="",r=x[e(799)](".");return r>=0&&(o=x.slice(r+1),x=x.slice(0,r)),{type:x,name:o}})}function Pd(n){return function(){const t=_0x1826;var x=this[t(1507)];if(x){for(var e=0,o=-1,r=x.length,i;e<r;++e)i=x[e],(!n[t(1972)]||i.type===n[t(1972)])&&i[t(495)]===n[t(495)]?this[t(1581)](i[t(1972)],i[t(1650)],i[t(767)]):x[++o]=i;++o?x[t(2088)]=o:delete this[t(1507)]}}}function Id(n,t,x){return function(){const e=_0x1826;var o=this[e(1507)],r,i=Sd(t);if(o){for(var a=0,d=o[e(2088)];a<d;++a)if((r=o[a])[e(1972)]===n[e(1972)]&&r[e(495)]===n.name){this.removeEventListener(r[e(1972)],r[e(1650)],r[e(767)]),this[e(1619)](r[e(1972)],r[e(1650)]=i,r[e(767)]=x),r[e(658)]=t;return}}this[e(1619)](n.type,i,x),r={type:n[e(1972)],name:n[e(495)],value:t,listener:i,options:x},o?o[e(1297)](r):this.__on=[r]}}function Ad(n,t,x){const e=c;var o=kd(n+""),r,i=o.length,a;if(arguments.length<2){var d=this.node()[e(1507)];if(d){for(var s=0,u=d[e(2088)],f;s<u;++s)for(r=0,f=d[s];r<i;++r)if((a=o[r])[e(1972)]===f[e(1972)]&&a[e(495)]===f[e(495)])return f[e(658)]}return}for(d=t?Id:Pd,r=0;r<i;++r)this.each(d(o[r],t,x));return this}function jr(n,t,x){const e=c;var o=kr(n),r=o[e(1045)];typeof r===e(828)?r=new r(t,x):(r=o[e(1157)][e(2103)](e(1918)),x?(r.initEvent(t,x[e(631)],x[e(691)]),r[e(1087)]=x[e(1087)]):r[e(857)](t,!1,!1)),n[e(1142)](r)}function Ed(n,t){return function(){return jr(this,n,t)}}function jd(n,t){return function(){return jr(this,n,t[_0x1826(1426)](this,arguments))}}function Yd(n,t){const x=c;return this.each((typeof t===x(828)?jd:Ed)(n,t))}function*Ud(){const n=c;for(var t=this[n(513)],x=0,e=t[n(2088)];x<e;++x)for(var o=t[x],r=0,i=o[n(2088)],a;r<i;++r)(a=o[r])&&(yield a)}var Yr=[null];function We(n,t){const x=c;this[x(513)]=n,this[x(434)]=t}function Nn(){const n=c;return new We([[document[n(433)]]],Yr)}function Od(){return this}We[c(1843)]=Nn.prototype={constructor:We,select:ll,selectAll:bl,selectChild:ml,selectChildren:zl,filter:Cl,data:Sl,enter:Ml,exit:Pl,join:Il,merge:Al,selection:Od,order:El,sort:jl,call:Ul,nodes:Ol,node:Gl,size:Vl,empty:Hl,each:Tl,attr:Jl,style:$l,property:xd,classed:ad,text:dd,html:hd,raise:yd,lower:vd,append:wd,insert:zd,remove:Md,clone:Ld,datum:Nd,on:Ad,dispatch:Yd,[Symbol[c(547)]]:Ud};function Xe(n){const t=c;return typeof n===t(976)?new We([[document[t(1753)](n)]],[document[t(433)]]):new We([[n]],Yr)}function Gd(n){const t=c;let x;for(;x=n[t(1065)];)n=x;return n}function Qe(n,t){const x=c;if(n=Gd(n),t===void 0&&(t=n[x(2042)]),t){var e=t[x(1638)]||t;if(e[x(387)]){var o=e.createSVGPoint();return o.x=n[x(493)],o.y=n.clientY,o=o[x(1742)](t.getScreenCTM().inverse()),[o.x,o.y]}if(t.getBoundingClientRect){var r=t[x(650)]();return[n[x(493)]-r[x(1955)]-t[x(311)],n[x(1644)]-r[x(1171)]-t.clientTop]}}return[n[x(1446)],n[x(1724)]]}const Vd={passive:!1},Sn={capture:!0,passive:!1};function Lx(n){n[c(482)]()}function tn(n){const t=c;n[t(308)](),n[t(482)]()}function Ur(n){const t=c;var x=n[t(1157)][t(433)],e=Xe(n).on("dragstart.drag",tn,Sn);t(1271)in x?e.on(t(1630),tn,Sn):(x[t(670)]=x[t(2062)].MozUserSelect,x[t(2062)].MozUserSelect="none")}function Or(n,t){const x=c;var e=n.document[x(433)],o=Xe(n).on(x(1248),null);t&&(o.on(x(1477),tn,Sn),setTimeout(function(){const r=x;o.on(r(1477),null)},0)),x(1271)in e?o.on(x(1630),null):(e[x(2062)][x(1730)]=e[x(670)],delete e.__noselect)}const gt=n=>()=>n;function Nx(n,{sourceEvent:t,subject:x,target:e,identifier:o,active:r,x:i,y:a,dx:d,dy:s,dispatch:u}){Object[c(1047)](this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:x,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:u}})}Nx.prototype.on=function(){const n=c;var t=this._.on[n(1426)](this._,arguments);return t===this._?this:t};function Hd(n){const t=c;return!n.ctrlKey&&!n[t(634)]}function Td(){return this[c(1977)]}function qd(n,t){return t??{x:n.x,y:n.y}}function Wd(){const n=c;return navigator[n(607)]||n(1132)in this}function Gr(){const n=c;var t=Hd,x=Td,e=qd,o=Wd,r={},i=ut("start",n(1275),"end"),a=0,d,s,u,f,g=0;function b(M){const I=n;M.on(I(1484),w)[I(891)](o).on(I(1167),C).on(I(2024),p,Vd).on(I(502),v)[I(2062)](I(2076),I(582)).style(I(1312),I(1848))}function w(M,I){const Y=n;if(!(f||!t[Y(671)](this,M,I))){var G=m(this,x[Y(671)](this,M,I),M,I,"mouse");G&&(Xe(M[Y(1719)]).on(Y(278),y,Sn).on(Y(1273),h,Sn),Ur(M[Y(1719)]),Lx(M),u=!1,d=M[Y(493)],s=M[Y(1644)],G("start",M))}}function y(M){const I=n;if(tn(M),!u){var Y=M.clientX-d,G=M[I(1644)]-s;u=Y*Y+G*G>g}r.mouse(I(1275),M)}function h(M){const I=n;Xe(M.view).on(I(1727),null),Or(M[I(1719)],u),tn(M),r[I(1539)]("end",M)}function C(M,I){const Y=n;if(t[Y(671)](this,M,I)){var G=M[Y(1185)],V=x[Y(671)](this,M,I),U=G[Y(2088)],Q,W;for(Q=0;Q<U;++Q)(W=m(this,V,M,I,G[Q][Y(1801)],G[Q]))&&(Lx(M),W(Y(1870),M,G[Q]))}}function p(M){const I=n;var Y=M[I(1185)],G=Y[I(2088)],V,U;for(V=0;V<G;++V)(U=r[Y[V][I(1801)]])&&(tn(M),U(I(1275),M,Y[V]))}function v(M){const I=n;var Y=M.changedTouches,G=Y[I(2088)],V,U;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),V=0;V<G;++V)(U=r[Y[V][I(1801)]])&&(Lx(M),U(I(1015),M,Y[V]))}function m(M,I,Y,G,V,U){const Q=n;var W=i[Q(1002)](),q=Qe(U||Y,I),T,B,D;if((D=e.call(M,new Nx(Q(598),{sourceEvent:Y,target:b,identifier:V,active:a,x:q[0],y:q[1],dx:0,dy:0,dispatch:W}),G))!=null)return T=D.x-q[0]||0,B=D.y-q[1]||0,function N(E,P,k){const Z=Q;var _=q,J;switch(E){case Z(1870):r[V]=N,J=a++;break;case"end":delete r[V],--a;case Z(1275):q=Qe(k||P,I),J=a;break}W[Z(671)](E,M,new Nx(E,{sourceEvent:P,subject:D,target:b,identifier:V,active:J,x:q[0]+T,y:q[1]+B,dx:q[0]-_[0],dy:q[1]-_[1],dispatch:W}),G)}}return b[n(891)]=function(M){const I=n;return arguments[I(2088)]?(t=typeof M===I(828)?M:gt(!!M),b):t},b[n(1781)]=function(M){const I=n;return arguments.length?(x=typeof M===I(828)?M:gt(M),b):x},b[n(1735)]=function(M){const I=n;return arguments[I(2088)]?(e=typeof M===I(828)?M:gt(M),b):e},b[n(884)]=function(M){return arguments[n(2088)]?(o=typeof M=="function"?M:gt(!!M),b):o},b.on=function(){const M=n;var I=i.on[M(1426)](i,arguments);return I===i?b:I},b.clickDistance=function(M){return arguments[n(2088)]?(g=(M=+M)*M,b):Math.sqrt(g)},b}function Sx(n,t,x){const e=c;n[e(1843)]=t[e(1843)]=x,x[e(402)]=n}function Vr(n,t){var e=Object[c(885)](n.prototype);for(var o in t)e[o]=t[o];return e}function kn(){}var Pn=.7,yt=1/Pn,xn=c(1012),In="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",i0=c(518),Xd=/^#([0-9a-f]{3,8})$/,Kd=new RegExp("^rgb\\("+xn+","+xn+","+xn+c(1558)),Zd=new RegExp(c(345)+i0+","+i0+","+i0+c(1558)),Rd=new RegExp(c(963)+xn+","+xn+","+xn+","+In+c(1558)),Jd=new RegExp(c(963)+i0+","+i0+","+i0+","+In+"\\)$"),_d=new RegExp(c(1776)+In+","+i0+","+i0+c(1558)),Qd=new RegExp(c(1282)+In+","+i0+","+i0+","+In+c(1558)),Hr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Sx(kn,A0,{copy(n){return Object.assign(new this.constructor,this,n)},displayable(){const n=c;return this[n(355)]()[n(1627)]()},hex:Tr,formatHex:Tr,formatHex8:Fd,formatHsl:$d,formatRgb:qr,toString:qr});function Tr(){return this.rgb().formatHex()}function Fd(){return this[c(355)]().formatHex8()}function $d(){const n=c;return Rr(this)[n(1670)]()}function qr(){const n=c;return this[n(355)]()[n(806)]()}function A0(n){const t=c;var x,e;return n=(n+"")[t(1543)]()[t(1642)](),(x=Xd.exec(n))?(e=x[1][t(2088)],x=parseInt(x[1],16),e===6?Wr(x):e===3?new Ve(x>>8&15|x>>4&240,x>>4&15|x&240,(x&15)<<4|x&15,1):e===8?mt(x>>24&255,x>>16&255,x>>8&255,(x&255)/255):e===4?mt(x>>12&15|x>>8&240,x>>8&15|x>>4&240,x>>4&15|x&240,((x&15)<<4|x&15)/255):null):(x=Kd[t(988)](n))?new Ve(x[1],x[2],x[3],1):(x=Zd[t(988)](n))?new Ve(x[1]*255/100,x[2]*255/100,x[3]*255/100,1):(x=Rd.exec(n))?mt(x[1],x[2],x[3],x[4]):(x=Jd[t(988)](n))?mt(x[1]*255/100,x[2]*255/100,x[3]*255/100,x[4]):(x=_d[t(988)](n))?Zr(x[1],x[2]/100,x[3]/100,1):(x=Qd[t(988)](n))?Zr(x[1],x[2]/100,x[3]/100,x[4]):Hr[t(1600)](n)?Wr(Hr[n]):n===t(1515)?new Ve(NaN,NaN,NaN,0):null}function Wr(n){return new Ve(n>>16&255,n>>8&255,n&255,1)}function mt(n,t,x,e){return e<=0&&(n=t=x=NaN),new Ve(n,t,x,e)}function eu(n){const t=c;return n instanceof kn||(n=A0(n)),n?(n=n[t(355)](),new Ve(n.r,n.g,n.b,n.opacity)):new Ve}function kx(n,t,x,e){return arguments[c(2088)]===1?eu(n):new Ve(n,t,x,e??1)}function Ve(n,t,x,e){this.r=+n,this.g=+t,this.b=+x,this.opacity=+e}Sx(Ve,kx,Vr(kn,{brighter(n){const t=c;return n=n==null?yt:Math[t(1357)](yt,n),new Ve(this.r*n,this.g*n,this.b*n,this.opacity)},darker(n){const t=c;return n=n==null?Pn:Math.pow(Pn,n),new Ve(this.r*n,this.g*n,this.b*n,this[t(1265)])},rgb(){return this},clamp(){return new Ve(E0(this.r),E0(this.g),E0(this.b),vt(this.opacity))},displayable(){const n=c;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[n(1265)]&&this[n(1265)]<=1},hex:Xr,formatHex:Xr,formatHex8:nu,formatRgb:Kr,toString:Kr}));function Xr(){return"#"+j0(this.r)+j0(this.g)+j0(this.b)}function nu(){return"#"+j0(this.r)+j0(this.g)+j0(this.b)+j0((isNaN(this.opacity)?1:this.opacity)*255)}function Kr(){const n=c,t=vt(this[n(1265)]);return""+(t===1?n(1374):"rgba(")+E0(this.r)+", "+E0(this.g)+", "+E0(this.b)+(t===1?")":", "+t+")")}function vt(n){const t=c;return isNaN(n)?1:Math[t(363)](0,Math[t(408)](1,n))}function E0(n){const t=c;return Math[t(363)](0,Math[t(408)](255,Math[t(938)](n)||0))}function j0(n){const t=c;return n=E0(n),(n<16?"0":"")+n[t(1492)](16)}function Zr(n,t,x,e){return e<=0?n=t=x=NaN:x<=0||x>=1?n=t=NaN:t<=0&&(n=NaN),new Fe(n,t,x,e)}function Rr(n){const t=c;if(n instanceof Fe)return new Fe(n.h,n.s,n.l,n[t(1265)]);if(n instanceof kn||(n=A0(n)),!n)return new Fe;if(n instanceof Fe)return n;n=n.rgb();var x=n.r/255,e=n.g/255,o=n.b/255,r=Math.min(x,e,o),i=Math[t(363)](x,e,o),a=NaN,d=i-r,s=(i+r)/2;return d?(x===i?a=(e-o)/d+(e<o)*6:e===i?a=(o-x)/d+2:a=(x-e)/d+4,d/=s<.5?i+r:2-i-r,a*=60):d=s>0&&s<1?0:a,new Fe(a,d,s,n[t(1265)])}function tu(n,t,x,e){return arguments[c(2088)]===1?Rr(n):new Fe(n,t,x,e??1)}function Fe(n,t,x,e){const o=c;this.h=+n,this.s=+t,this.l=+x,this[o(1265)]=+e}Sx(Fe,tu,Vr(kn,{brighter(n){const t=c;return n=n==null?yt:Math[t(1357)](yt,n),new Fe(this.h,this.s,this.l*n,this.opacity)},darker(n){const t=c;return n=n==null?Pn:Math.pow(Pn,n),new Fe(this.h,this.s,this.l*n,this[t(1265)])},rgb(){const n=c;var t=this.h%360+(this.h<0)*360,x=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,o=e+(e<.5?e:1-e)*x,r=2*e-o;return new Ve(Px(t>=240?t-240:t+120,r,o),Px(t,r,o),Px(t<120?t+240:t-120,r,o),this[n(1265)])},clamp(){const n=c;return new Fe(Jr(this.h),wt(this.s),wt(this.l),vt(this[n(1265)]))},displayable(){const n=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[n(1265)]<=1},formatHsl(){const n=c,t=vt(this.opacity);return""+n(t===1?1634:1050)+Jr(this.h)+", "+wt(this.s)*100+n(704)+wt(this.l)*100+"%"+(t===1?")":", "+t+")")}}));function Jr(n){return n=(n||0)%360,n<0?n+360:n}function wt(n){const t=c;return Math[t(363)](0,Math[t(408)](1,n||0))}function Px(n,t,x){return(n<60?t+(x-t)*n/60:n<180?x:n<240?t+(x-t)*(240-n)/60:t)*255}const Ix=n=>()=>n;function xu(n,t){return function(x){return n+x*t}}function ou(n,t,x){const e=c;return n=Math.pow(n,x),t=Math[e(1357)](t,x)-n,x=1/x,function(o){return Math[e(1357)](n+o*t,x)}}function ru(n){return(n=+n)==1?_r:function(t,x){return x-t?ou(t,x,n):Ix(isNaN(t)?x:t)}}function _r(n,t){var x=t-n;return x?xu(n,x):Ix(isNaN(n)?t:n)}const pt=(function n(t){var x=ru(t);function e(o,r){const i=_0x1826;var a=x((o=kx(o)).r,(r=kx(r)).r),d=x(o.g,r.g),s=x(o.b,r.b),u=_r(o.opacity,r[i(1265)]);return function(f){const g=i;return o.r=a(f),o.g=d(f),o.b=s(f),o[g(1265)]=u(f),o+""}}return e.gamma=n,e})(1);function iu(n,t){const x=c;t||(t=[]);var e=n?Math[x(408)](t.length,n[x(2088)]):0,o=t.slice(),r;return function(i){for(r=0;r<e;++r)o[r]=n[r]*(1-i)+t[r]*i;return o}}function au(n){return ArrayBuffer[c(1406)](n)&&!(n instanceof DataView)}function cu(n,t){const x=c;var e=t?t[x(2088)]:0,o=n?Math[x(408)](e,n[x(2088)]):0,r=new Array(o),i=new Array(e),a;for(a=0;a<o;++a)r[a]=An(n[a],t[a]);for(;a<e;++a)i[a]=t[a];return function(d){for(a=0;a<o;++a)i[a]=r[a](d);return i}}function su(n,t){var x=new Date;return n=+n,t=+t,function(e){return x[_0x1826(1522)](n*(1-e)+t*e),x}}function a0(n,t){return n=+n,t=+t,function(x){return n*(1-x)+t*x}}function lu(n,t){const x=c;var e={},o={},r;(n===null||typeof n!==x(2101))&&(n={}),(t===null||typeof t!="object")&&(t={});for(r in t)r in n?e[r]=An(n[r],t[r]):o[r]=t[r];return function(i){for(r in e)o[r]=e[r](i);return o}}var Ax=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ex=new RegExp(Ax[c(1969)],"g");function du(n){return function(){return n}}function uu(n){return function(t){return n(t)+""}}function Qr(n,t){const x=c;var e=Ax[x(892)]=Ex[x(892)]=0,o,r,i,a=-1,d=[],s=[];for(n=n+"",t=t+"";(o=Ax.exec(n))&&(r=Ex[x(988)](t));)(i=r.index)>e&&(i=t[x(364)](e,i),d[a]?d[a]+=i:d[++a]=i),(o=o[0])===(r=r[0])?d[a]?d[a]+=r:d[++a]=r:(d[++a]=null,s[x(1297)]({i:a,x:a0(o,r)})),e=Ex[x(892)];return e<t.length&&(i=t[x(364)](e),d[a]?d[a]+=i:d[++a]=i),d.length<2?s[0]?uu(s[0].x):du(t):(t=s[x(2088)],function(u){const f=x;for(var g=0,b;g<t;++g)d[(b=s[g]).i]=b.x(u);return d[f(2022)]("")})}function An(n,t){const x=c;var e=typeof t,o;return t==null||e==="boolean"?Ix(t):(e===x(515)?a0:e===x(976)?(o=A0(t))?(t=o,pt):Qr:t instanceof A0?pt:t instanceof Date?su:au(t)?iu:Array[x(915)](t)?cu:typeof t[x(1057)]!==x(828)&&typeof t[x(1492)]!==x(828)||isNaN(t)?lu:a0)(n,t)}var Fr=180/Math.PI,jx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function $r(n,t,x,e,o,r){const i=c;var a,d,s;return(a=Math[i(1800)](n*n+t*t))&&(n/=a,t/=a),(s=n*x+t*e)&&(x-=n*s,e-=t*s),(d=Math[i(1800)](x*x+e*e))&&(x/=d,e/=d,s/=d),n*e<t*x&&(n=-n,t=-t,s=-s,a=-a),{translateX:o,translateY:r,rotate:Math.atan2(t,n)*Fr,skewX:Math[i(1013)](s)*Fr,scaleX:a,scaleY:d}}var zt;function fu(n){const t=c,x=new(typeof DOMMatrix===t(828)?DOMMatrix:WebKitCSSMatrix)(n+"");return x.isIdentity?jx:$r(x.a,x.b,x.c,x.d,x.e,x.f)}function bu(n){const t=c;return n==null||(zt||(zt=document[t(1585)](t(1866),"g")),zt.setAttribute(t(1430),n),!(n=zt[t(1430)][t(1341)][t(935)]()))?jx:(n=n[t(1014)],$r(n.a,n.b,n.c,n.d,n.e,n.f))}function ei(n,t,x,e){function o(s){const u=_0x1826;return s.length?s[u(1394)]()+" ":""}function r(s,u,f,g,b,w){const y=_0x1826;if(s!==f||u!==g){var h=b.push(y(1308),null,t,null,x);w.push({i:h-4,x:a0(s,f)},{i:h-2,x:a0(u,g)})}else(f||g)&&b[y(1297)](y(1308)+f+t+g+x)}function i(s,u,f,g){const b=_0x1826;s!==u?(s-u>180?u+=360:u-s>180&&(s+=360),g[b(1297)]({i:f[b(1297)](o(f)+b(2056),null,e)-2,x:a0(s,u)})):u&&f[b(1297)](o(f)+b(2056)+u+e)}function a(s,u,f,g){const b=_0x1826;s!==u?g[b(1297)]({i:f[b(1297)](o(f)+b(1542),null,e)-2,x:a0(s,u)}):u&&f[b(1297)](o(f)+b(1542)+u+e)}function d(s,u,f,g,b,w){const y=_0x1826;if(s!==f||u!==g){var h=b.push(o(b)+y(759),null,",",null,")");w[y(1297)]({i:h-4,x:a0(s,f)},{i:h-2,x:a0(u,g)})}else(f!==1||g!==1)&&b[y(1297)](o(b)+y(759)+f+","+g+")")}return function(s,u){const f=_0x1826;var g=[],b=[];return s=n(s),u=n(u),r(s[f(1758)],s[f(1459)],u.translateX,u.translateY,g,b),i(s[f(615)],u.rotate,g,b),a(s[f(1256)],u[f(1256)],g,b),d(s[f(1205)],s.scaleY,u.scaleX,u.scaleY,g,b),s=u=null,function(w){const y=f;for(var h=-1,C=b[y(2088)],p;++h<C;)g[(p=b[h]).i]=p.x(w);return g[y(2022)]("")}}}var hu=ei(fu,c(2008),c(334),c(2016)),gu=ei(bu,", ",")",")"),yu=1e-12;function ni(n){return((n=Math[c(1123)](n))+1/n)/2}function mu(n){return((n=Math[c(1123)](n))-1/n)/2}function vu(n){return((n=Math.exp(2*n))-1)/(n+1)}const Ct=(function n(t,x,e){const o=c;function r(i,a){const d=_0x1826;var s=i[0],u=i[1],f=i[2],g=a[0],b=a[1],w=a[2],y=g-s,h=b-u,C=y*y+h*h,p,v;if(C<yu)v=Math[d(1478)](w/f)/t,p=function(V){const U=d;return[s+V*y,u+V*h,f*Math[U(1123)](t*V*v)]};else{var m=Math[d(1800)](C),M=(w*w-f*f+e*C)/(2*f*x*m),I=(w*w-f*f-e*C)/(2*w*x*m),Y=Math[d(1478)](Math[d(1800)](M*M+1)-M),G=Math.log(Math[d(1800)](I*I+1)-I);v=(G-Y)/t,p=function(V){var U=V*v,Q=ni(Y),W=f/(x*m)*(Q*vu(t*U+Y)-mu(Y));return[s+W*y,u+W*h,f*Q/ni(t*U+Y)]}}return p.duration=v*1e3*t/Math.SQRT2,p}return r[o(667)]=function(i){var d=Math[o(363)](.001,+i),s=d*d,u=s*s;return n(d,s,u)},r})(Math[c(1639)],2,4);var on=0,En=0,jn=0,ti=1e3,Mt,Yn,Bt=0,Y0=0,Dt=0,Un=typeof performance===c(2101)&&performance.now?performance:Date,xi=typeof window=="object"&&window[c(1615)]?window[c(1615)][c(1913)](window):function(n){setTimeout(n,17)};function Yx(){const n=c;return Y0||(xi(wu),Y0=Un[n(958)]()+Dt)}function wu(){Y0=0}function Lt(){const n=c;this[n(551)]=this._time=this._next=null}Lt[c(1843)]=oi[c(1843)]={constructor:Lt,restart:function(n,t,x){const e=c;if(typeof n!="function")throw new TypeError(e(1289));x=(x==null?Yx():+x)+(t==null?0:+t),!this[e(1669)]&&Yn!==this&&(Yn?Yn._next=this:Mt=this,Yn=this),this[e(551)]=n,this[e(1750)]=x,Ux()},stop:function(){const n=c;this[n(551)]&&(this[n(551)]=null,this[n(1750)]=1/0,Ux())}};function oi(n,t,x){const e=c;var o=new Lt;return o[e(2007)](n,t,x),o}function pu(){const n=c;Yx(),++on;for(var t=Mt,x;t;)(x=Y0-t[n(1750)])>=0&&t[n(551)][n(671)](void 0,x),t=t[n(1669)];--on}function ri(){Y0=(Bt=Un[c(958)]())+Dt,on=En=0;try{pu()}finally{on=0,Cu(),Y0=0}}function zu(){var n=Un.now(),t=n-Bt;t>ti&&(Dt-=t,Bt=n)}function Cu(){const n=c;for(var t,x=Mt,e,o=1/0;x;)x[n(551)]?(o>x[n(1750)]&&(o=x[n(1750)]),t=x,x=x[n(1669)]):(e=x[n(1669)],x._next=null,x=t?t[n(1669)]=e:Mt=e);Yn=t,Ux(o)}function Ux(n){const t=c;if(!on){En&&(En=clearTimeout(En));var x=n-Y0;x>24?(n<1/0&&(En=setTimeout(ri,n-Un.now()-Dt)),jn&&(jn=clearInterval(jn))):(jn||(Bt=Un[t(958)](),jn=setInterval(zu,ti)),on=1,xi(ri))}}function ii(n,t,x){const e=c;var o=new Lt;return t=t==null?0:+t,o[e(2007)](r=>{o.stop(),n(r+t)},t,x),o}var Mu=ut("start",c(1015),c(1601),c(309)),Bu=[],ai=0,ci=1,Ox=2,Nt=3,si=4,Gx=5,St=6;function kt(n,t,x,e,o,r){const i=c;var a=n.__transition;if(!a)n[i(354)]={};else if(x in a)return;Du(n,x,{name:t,index:e,group:o,on:Mu,tween:Bu,time:r.time,delay:r[i(1292)],duration:r[i(1160)],ease:r[i(923)],timer:null,state:ai})}function Vx(n,t){const x=c;var e=$e(n,t);if(e[x(1935)]>ai)throw new Error(x(933));return e}function c0(n,t){const x=c;var e=$e(n,t);if(e[x(1935)]>Nt)throw new Error(x(1173));return e}function $e(n,t){const x=c;var e=n[x(354)];if(!e||!(e=e[t]))throw new Error(x(1137));return e}function Du(n,t,x){const e=c;var o=n[e(354)],r;o[t]=x,x[e(1086)]=oi(i,0,x[e(529)]);function i(u){const f=e;x[f(1935)]=ci,x.timer[f(2007)](a,x[f(1292)],x.time),x[f(1292)]<=u&&a(u-x[f(1292)])}function a(u){const f=e;var g,b,w,y;if(x.state!==ci)return s();for(g in o)if(y=o[g],y[f(495)]===x[f(495)]){if(y[f(1935)]===Nt)return ii(a);y.state===si?(y[f(1935)]=St,y[f(1086)].stop(),y.on[f(671)](f(309),n,n[f(379)],y.index,y[f(1984)]),delete o[g]):+g<t&&(y[f(1935)]=St,y[f(1086)].stop(),y.on[f(671)]("cancel",n,n[f(379)],y.index,y[f(1984)]),delete o[g])}if(ii(function(){const h=f;x.state===Nt&&(x[h(1935)]=si,x[h(1086)].restart(d,x[h(1292)],x[h(529)]),d(u))}),x[f(1935)]=Ox,x.on.call("start",n,n[f(379)],x[f(1460)],x[f(1984)]),x.state===Ox){for(x[f(1935)]=Nt,r=new Array(w=x[f(786)][f(2088)]),g=0,b=-1;g<w;++g)(y=x[f(786)][g][f(658)][f(671)](n,n[f(379)],x[f(1460)],x.group))&&(r[++b]=y);r[f(2088)]=b+1}}function d(u){const f=e;for(var g=u<x[f(1160)]?x.ease[f(671)](null,u/x[f(1160)]):(x[f(1086)][f(2007)](s),x[f(1935)]=Gx,1),b=-1,w=r[f(2088)];++b<w;)r[b][f(671)](n,g);x[f(1935)]===Gx&&(x.on[f(671)](f(1015),n,n[f(379)],x[f(1460)],x.group),s())}function s(){const u=e;x[u(1935)]=St,x[u(1086)][u(1301)](),delete o[t];for(var f in o)return;delete n[u(354)]}}function Pt(n,t){const x=c;var e=n[x(354)],o,r,i=!0,a;if(e){t=t==null?null:t+"";for(a in e){if((o=e[a]).name!==t){i=!1;continue}r=o[x(1935)]>Ox&&o[x(1935)]<Gx,o[x(1935)]=St,o[x(1086)][x(1301)](),o.on.call(x(r?309:1601),n,n[x(379)],o.index,o.group),delete e[a]}i&&delete n.__transition}}function Lu(n){return this[c(584)](function(){Pt(this,n)})}function Nu(n,t){var x,e;return function(){const o=_0x1826;var r=c0(this,n),i=r[o(786)];if(i!==x){e=x=i;for(var a=0,d=e[o(2088)];a<d;++a)if(e[a].name===t){e=e[o(364)](),e[o(272)](a,1);break}}r[o(786)]=e}}function Su(n,t,x){const e=c;var o,r;if(typeof x!==e(828))throw new Error;return function(){const i=e;var a=c0(this,n),d=a[i(786)];if(d!==o){r=(o=d).slice();for(var s={name:t,value:x},u=0,f=r[i(2088)];u<f;++u)if(r[u].name===t){r[u]=s;break}u===f&&r[i(1297)](s)}a[i(786)]=r}}function ku(n,t){const x=c;var e=this[x(1396)];if(n+="",arguments[x(2088)]<2){for(var o=$e(this[x(1368)](),e)[x(786)],r=0,i=o[x(2088)],a;r<i;++r)if((a=o[r])[x(495)]===n)return a[x(658)];return null}return this[x(584)]((t==null?Nu:Su)(e,n,t))}function Hx(n,t,x){const e=c;var o=n._id;return n[e(584)](function(){const r=e;var i=c0(this,o);(i[r(658)]||(i[r(658)]={}))[t]=x[r(1426)](this,arguments)}),function(r){const i=e;return $e(r,o)[i(658)][t]}}function li(n,t){const x=c;var e;return(typeof t===x(515)?a0:t instanceof A0?pt:(e=A0(t))?(t=e,pt):Qr)(n,t)}function Pu(n){return function(){this[_0x1826(763)](n)}}function Iu(n){return function(){const t=_0x1826;this.removeAttributeNS(n[t(608)],n[t(1097)])}}function Au(n,t,x){var e,o=x+"",r;return function(){var a=this[_0x1826(1060)](n);return a===o?null:a===e?r:r=t(e=a,x)}}function Eu(n,t,x){var e,o=x+"",r;return function(){const i=_0x1826;var a=this[i(1420)](n[i(608)],n.local);return a===o?null:a===e?r:r=t(e=a,x)}}function ju(n,t,x){var e,o,r;return function(){const i=_0x1826;var a,d=x(this),s;return d==null?void this[i(763)](n):(a=this[i(1060)](n),s=d+"",a===s?null:a===e&&s===o?r:(o=s,r=t(e=a,d)))}}function Yu(n,t,x){var e,o,r;return function(){const i=_0x1826;var a,d=x(this),s;return d==null?void this[i(1911)](n[i(608)],n[i(1097)]):(a=this[i(1420)](n[i(608)],n[i(1097)]),s=d+"",a===s?null:a===e&&s===o?r:(o=s,r=t(e=a,d)))}}function Uu(n,t){const x=c;var e=bt(n),o=e===x(1430)?gu:li;return this[x(1794)](n,typeof t=="function"?(e.local?Yu:ju)(e,o,Hx(this,x(1743)+n,t)):t==null?(e[x(1097)]?Iu:Pu)(e):(e.local?Eu:Au)(e,o,t))}function Ou(n,t){return function(x){const e=_0x1826;this.setAttribute(n,t[e(671)](this,x))}}function Gu(n,t){return function(x){const e=_0x1826;this[e(1968)](n[e(608)],n[e(1097)],t[e(671)](this,x))}}function Vu(n,t){const x=c;var e,o;function r(){var i=t.apply(this,arguments);return i!==o&&(e=(o=i)&&Gu(n,i)),e}return r[x(542)]=t,r}function Hu(n,t){const x=c;var e,o;function r(){var a=t[_0x1826(1426)](this,arguments);return a!==o&&(e=(o=a)&&Ou(n,a)),e}return r[x(542)]=t,r}function Tu(n,t){const x=c;var e=x(1743)+n;if(arguments.length<2)return(e=this.tween(e))&&e[x(542)];if(t==null)return this[x(786)](e,null);if(typeof t!="function")throw new Error;var o=bt(n);return this.tween(e,(o.local?Vu:Hu)(o,t))}function qu(n,t){return function(){const x=_0x1826;Vx(this,n)[x(1292)]=+t[x(1426)](this,arguments)}}function Wu(n,t){return t=+t,function(){const x=_0x1826;Vx(this,n)[x(1292)]=t}}function Xu(n){const t=c;var x=this[t(1396)];return arguments.length?this[t(584)]((typeof n===t(828)?qu:Wu)(x,n)):$e(this.node(),x)[t(1292)]}function Ku(n,t){return function(){const x=_0x1826;c0(this,n).duration=+t[x(1426)](this,arguments)}}function Zu(n,t){return t=+t,function(){const x=_0x1826;c0(this,n)[x(1160)]=t}}function Ru(n){const t=c;var x=this[t(1396)];return arguments[t(2088)]?this[t(584)]((typeof n===t(828)?Ku:Zu)(x,n)):$e(this.node(),x).duration}function Ju(n,t){const x=c;if(typeof t!==x(828))throw new Error;return function(){const e=x;c0(this,n)[e(923)]=t}}function _u(n){const t=c;var x=this[t(1396)];return arguments[t(2088)]?this[t(584)](Ju(x,n)):$e(this.node(),x)[t(923)]}function Qu(n,t){return function(){const x=_0x1826;var e=t[x(1426)](this,arguments);if(typeof e!==x(828))throw new Error;c0(this,n)[x(923)]=e}}function Fu(n){const t=c;if(typeof n!==t(828))throw new Error;return this[t(584)](Qu(this._id,n))}function $u(n){const t=c;typeof n!==t(828)&&(n=Lr(n));for(var x=this[t(513)],e=x[t(2088)],o=new Array(e),r=0;r<e;++r)for(var i=x[r],a=i[t(2088)],d=o[r]=[],s,u=0;u<a;++u)(s=i[u])&&n[t(671)](s,s.__data__,u,i)&&d.push(s);return new d0(o,this._parents,this[t(1490)],this[t(1396)])}function ef(n){const t=c;if(n._id!==this._id)throw new Error;for(var x=this[t(513)],e=n[t(513)],o=x.length,r=e.length,i=Math.min(o,r),a=new Array(o),d=0;d<i;++d)for(var s=x[d],u=e[d],f=s[t(2088)],g=a[d]=new Array(f),b,w=0;w<f;++w)(b=s[w]||u[w])&&(g[w]=b);for(;d<o;++d)a[d]=x[d];return new d0(a,this[t(434)],this._name,this[t(1396)])}function nf(n){const t=c;return(n+"").trim()[t(853)](/^|\s+/)[t(611)](function(x){const e=t;var o=x[e(799)](".");return o>=0&&(x=x[e(364)](0,o)),!x||x==="start"})}function tf(n,t,x){var e,o,r=nf(t)?Vx:c0;return function(){const i=_0x1826;var a=r(this,n),d=a.on;d!==e&&(o=(e=d)[i(1002)]()).on(t,x),a.on=o}}function xf(n,t){const x=c;var e=this[x(1396)];return arguments[x(2088)]<2?$e(this[x(1368)](),e).on.on(n):this[x(584)](tf(e,n,t))}function of(n){return function(){const t=_0x1826;var x=this.parentNode;for(var e in this[t(354)])if(+e!==n)return;x&&x[t(1332)](this)}}function rf(){const n=c;return this.on("end.remove",of(this[n(1396)]))}function af(n){const t=c;var x=this[t(1490)],e=this[t(1396)];typeof n!==t(828)&&(n=Bx(n));for(var o=this[t(513)],r=o.length,i=new Array(r),a=0;a<r;++a)for(var d=o[a],s=d.length,u=i[a]=new Array(s),f,g,b=0;b<s;++b)(f=d[b])&&(g=n.call(f,f.__data__,b,d))&&("__data__"in f&&(g[t(379)]=f.__data__),u[b]=g,kt(u[b],x,e,b,u,$e(f,e)));return new d0(i,this[t(434)],x,e)}function cf(n){const t=c;var x=this[t(1490)],e=this._id;typeof n!==t(828)&&(n=Dr(n));for(var o=this[t(513)],r=o[t(2088)],i=[],a=[],d=0;d<r;++d)for(var s=o[d],u=s[t(2088)],f,g=0;g<u;++g)if(f=s[g]){for(var b=n[t(671)](f,f[t(379)],g,s),w,y=$e(f,e),h=0,C=b[t(2088)];h<C;++h)(w=b[h])&&kt(w,x,e,h,b,y);i[t(1297)](b),a[t(1297)](f)}return new d0(i,a,x,e)}var sf=Nn[c(1843)][c(402)];function lf(){const n=c;return new sf(this[n(513)],this[n(434)])}function df(n,t){var x,e,o;return function(){const r=_0x1826;var i=nn(this,n),a=(this[r(2062)][r(817)](n),nn(this,n));return i===a?null:i===x&&a===e?o:o=t(x=i,e=a)}}function di(n){return function(){const t=_0x1826;this[t(2062)][t(817)](n)}}function uf(n,t,x){var e,o=x+"",r;return function(){var i=nn(this,n);return i===o?null:i===e?r:r=t(e=i,x)}}function ff(n,t,x){var e,o,r;return function(){const i=_0x1826;var a=nn(this,n),d=x(this),s=d+"";return d==null&&(s=d=(this[i(2062)][i(817)](n),nn(this,n))),a===s?null:a===e&&s===o?r:(o=s,r=t(e=a,d))}}function bf(n,t){const x=c;var e,o,r,i=x(1599)+t,a=x(866)+i,d;return function(){const s=x;var u=c0(this,n),f=u.on,g=u[s(658)][i]==null?d||(d=di(t)):void 0;(f!==e||r!==g)&&(o=(e=f)[s(1002)]()).on(a,r=g),u.on=o}}function hf(n,t,x){const e=c;var o=(n+="")=="transform"?hu:li;return t==null?this.styleTween(n,df(n,o)).on("end.style."+n,di(n)):typeof t=="function"?this[e(1741)](n,ff(n,o,Hx(this,e(1599)+n,t))).each(bf(this[e(1396)],n)):this[e(1741)](n,uf(n,o,t),x).on(e(1550)+n,null)}function gf(n,t,x){return function(e){const o=_0x1826;this[o(2062)][o(342)](n,t[o(671)](this,e),x)}}function yf(n,t,x){const e=c;var o,r;function i(){var d=t[_0x1826(1426)](this,arguments);return d!==r&&(o=(r=d)&&gf(n,d,x)),o}return i[e(542)]=t,i}function mf(n,t,x){const e=c;var o=e(1599)+(n+="");if(arguments[e(2088)]<2)return(o=this[e(786)](o))&&o[e(542)];if(t==null)return this[e(786)](o,null);if(typeof t!="function")throw new Error;return this.tween(o,yf(n,t,x??""))}function vf(n){return function(){const t=_0x1826;this[t(2066)]=n}}function wf(n){return function(){const t=_0x1826;var x=n(this);this[t(2066)]=x??""}}function pf(n){const t=c;return this[t(786)](t(303),typeof n===t(828)?wf(Hx(this,t(303),n)):vf(n==null?"":n+""))}function zf(n){return function(t){const x=_0x1826;this[x(2066)]=n[x(671)](this,t)}}function Cf(n){const t=c;var x,e;function o(){var i=n[_0x1826(1426)](this,arguments);return i!==e&&(x=(e=i)&&zf(i)),x}return o[t(542)]=n,o}function Mf(n){const t=c;var x=t(303);if(arguments.length<1)return(x=this.tween(x))&&x[t(542)];if(n==null)return this[t(786)](x,null);if(typeof n!="function")throw new Error;return this[t(786)](x,Cf(n))}function Bf(){const n=c;for(var t=this[n(1490)],x=this[n(1396)],e=ui(),o=this[n(513)],r=o[n(2088)],i=0;i<r;++i)for(var a=o[i],d=a[n(2088)],s,u=0;u<d;++u)if(s=a[u]){var f=$e(s,x);kt(s,t,e,u,a,{time:f[n(529)]+f[n(1292)]+f.duration,delay:0,duration:f[n(1160)],ease:f.ease})}return new d0(o,this[n(434)],t,e)}function Df(){const n=c;var t,x,e=this,o=e[n(1396)],r=e[n(1424)]();return new Promise(function(i,a){const d=n;var s={value:a},u={value:function(){--r===0&&i()}};e[d(584)](function(){const f=d;var g=c0(this,o),b=g.on;b!==t&&(x=(t=b)[f(1002)](),x._[f(1601)].push(s),x._[f(309)][f(1297)](s),x._[f(1015)].push(u)),g.on=x}),r===0&&i()})}var Lf=0;function d0(n,t,x,e){const o=c;this[o(513)]=n,this[o(434)]=t,this._name=x,this[o(1396)]=e}function ui(){return++Lf}var u0=Nn[c(1843)];d0.prototype={constructor:d0,select:af,selectAll:cf,selectChild:u0[c(1195)],selectChildren:u0[c(645)],filter:$u,merge:ef,selection:lf,transition:Bf,call:u0[c(671)],nodes:u0.nodes,node:u0.node,size:u0[c(1424)],empty:u0[c(777)],each:u0.each,on:xf,attr:Uu,attrTween:Tu,style:hf,styleTween:mf,text:pf,textTween:Mf,remove:rf,tween:ku,delay:Xu,duration:Ru,ease:_u,easeVarying:Fu,end:Df,[Symbol[c(547)]]:u0[Symbol[c(547)]]};function Nf(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var Sf={time:null,delay:0,duration:250,ease:Nf};function kf(n,t){const x=c;for(var e;!(e=n[x(354)])||!(e=e[t]);)if(!(n=n[x(1977)]))throw new Error(x(1668)+t+x(1620));return e}function Pf(n){const t=c;var x,e;n instanceof d0?(x=n[t(1396)],n=n[t(1490)]):(x=ui(),(e=Sf)[t(529)]=Yx(),n=n==null?null:n+"");for(var o=this[t(513)],r=o[t(2088)],i=0;i<r;++i)for(var a=o[i],d=a[t(2088)],s,u=0;u<d;++u)(s=a[u])&&kt(s,n,x,u,a,e||kf(s,x));return new d0(o,this[t(434)],n,x)}Nn[c(1843)].interrupt=Lu,Nn[c(1843)][c(1165)]=Pf;const It=n=>()=>n;function If(n,{sourceEvent:t,target:x,transform:e,dispatch:o}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},transform:{value:e,enumerable:!0,configurable:!0},_:{value:o}})}function f0(n,t,x){this.k=n,this.x=t,this.y=x}f0.prototype={constructor:f0,scale:function(n){return n===1?this:new f0(this.k*n,this.x,this.y)},translate:function(n,t){return n===0&t===0?this:new f0(this.k,this.x+this.k*n,this.y+this.k*t)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){const t=c;return n[t(1002)]().domain(n.range()[t(802)](this[t(1427)],this)[t(802)](n[t(1799)],n))},rescaleY:function(n){const t=c;return n[t(1002)]()[t(1819)](n[t(1233)]().map(this[t(1263)],this)[t(802)](n[t(1799)],n))},toString:function(){const n=c;return n(1308)+this.x+","+this.y+n(455)+this.k+")"}};var At=new f0(1,0,0);fi.prototype=f0[c(1843)];function fi(n){const t=c;for(;!n[t(1214)];)if(!(n=n.parentNode))return At;return n[t(1214)]}function Tx(n){n[c(482)]()}function On(n){const t=c;n.preventDefault(),n[t(482)]()}function Af(n){const t=c;return(!n[t(1405)]||n.type==="wheel")&&!n[t(634)]}function Ef(){const n=c;var t=this;return t instanceof SVGElement?(t=t[n(1638)]||t,t[n(1693)]("viewBox")?(t=t[n(1989)].baseVal,[[t.x,t.y],[t.x+t[n(687)],t.y+t[n(500)]]]):[[0,0],[t[n(687)][n(1341)][n(658)],t[n(500)].baseVal[n(658)]]]):[[0,0],[t.clientWidth,t.clientHeight]]}function bi(){return this[c(1214)]||At}function jf(n){const t=c;return-n[t(352)]*(n[t(1125)]===1?.05:n[t(1125)]?1:.002)*(n[t(1405)]?10:1)}function Yf(){return navigator[c(607)]||"ontouchstart"in this}function Uf(n,t,x){const e=c;var o=n[e(1427)](t[0][0])-x[0][0],r=n[e(1427)](t[1][0])-x[1][0],i=n.invertY(t[0][1])-x[0][1],a=n[e(1263)](t[1][1])-x[1][1];return n[e(1513)](r>o?(o+r)/2:Math.min(0,o)||Math[e(363)](0,r),a>i?(i+a)/2:Math.min(0,i)||Math[e(363)](0,a))}function hi(){const n=c;var t=Af,x=Ef,e=Uf,o=jf,r=Yf,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],d=250,s=Ct,u=ut("start",n(536),n(1015)),f,g,b,w=500,y=150,h=0,C=10;function p(B){const D=n;B[D(830)]("__zoom",bi).on(D(1846),V,{passive:!1}).on(D(466),U).on(D(1748),Q)[D(891)](r).on(D(626),W).on(D(617),q).on("touchend.zoom touchcancel.zoom",T)[D(2062)](D(1312),D(1848))}p[n(1430)]=function(B,D,N,E){const P=n;var k=B.selection?B[P(753)]():B;k.property(P(1214),bi),B!==k?I(B,D,N,E):k.interrupt().each(function(){const Z=P;Y(this,arguments)[Z(1936)](E)[Z(1870)]()[Z(536)](null,typeof D=="function"?D[Z(1426)](this,arguments):D)[Z(1015)]()})},p.scaleBy=function(B,D,N,E){const P=n;p[P(1991)](B,function(){const k=P;var Z=this.__zoom.k,_=typeof D=="function"?D[k(1426)](this,arguments):D;return Z*_},N,E)},p[n(1991)]=function(B,D,N,E){const P=n;p[P(1430)](B,function(){const k=P;var Z=x[k(1426)](this,arguments),_=this[k(1214)],J=N==null?M(Z):typeof N===k(828)?N[k(1426)](this,arguments):N,$=_.invert(J),te=typeof D===k(828)?D[k(1426)](this,arguments):D;return e(m(v(_,te),J,$),Z,a)},N,E)},p[n(1687)]=function(B,D,N,E){const P=n;p[P(1430)](B,function(){const k=P;return e(this.__zoom[k(1513)](typeof D=="function"?D.apply(this,arguments):D,typeof N=="function"?N[k(1426)](this,arguments):N),x[k(1426)](this,arguments),a)},null,E)},p[n(1629)]=function(B,D,N,E,P){p.transform(B,function(){const k=_0x1826;var Z=x.apply(this,arguments),_=this[k(1214)],J=E==null?M(Z):typeof E===k(828)?E[k(1426)](this,arguments):E;return e(At[k(1513)](J[0],J[1])[k(568)](_.k).translate(typeof D===k(828)?-D[k(1426)](this,arguments):-D,typeof N===k(828)?-N[k(1426)](this,arguments):-N),Z,a)},E,P)};function v(B,D){const N=n;return D=Math.max(i[0],Math[N(408)](i[1],D)),D===B.k?B:new f0(D,B.x,B.y)}function m(B,D,N){var E=D[0]-N[0]*B.k,P=D[1]-N[1]*B.k;return E===B.x&&P===B.y?B:new f0(B.k,E,P)}function M(B){return[(+B[0][0]+ +B[1][0])/2,(+B[0][1]+ +B[1][1])/2]}function I(B,D,N,E){const P=n;B.on(P(1169),function(){const k=P;Y(this,arguments)[k(1936)](E)[k(1870)]()}).on("interrupt.zoom end.zoom",function(){const k=P;Y(this,arguments)[k(1936)](E)[k(1015)]()})[P(786)](P(536),function(){const k=P;var Z=this,_=arguments,J=Y(Z,_)[k(1936)](E),$=x[k(1426)](Z,_),te=N==null?M($):typeof N===k(828)?N[k(1426)](Z,_):N,ee=Math.max($[1][0]-$[0][0],$[1][1]-$[0][1]),re=Z[k(1214)],ce=typeof D===k(828)?D[k(1426)](Z,_):D,ie=s(re[k(1799)](te)[k(1628)](ee/re.k),ce[k(1799)](te)[k(1628)](ee/ce.k));return function(F){const le=k;if(F===1)F=ce;else{var S=ie(F),A=ee/S[2];F=new f0(A,te[0]-S[0]*A,te[1]-S[1]*A)}J[le(536)](null,F)}})}function Y(B,D,N){return!N&&B[n(1056)]||new G(B,D)}function G(B,D){const N=n;this.that=B,this[N(559)]=D,this.active=0,this.sourceEvent=null,this[N(1100)]=x.apply(B,D),this.taps=0}G.prototype={event:function(B){return B&&(this.sourceEvent=B),this},start:function(){const B=n;return++this[B(1979)]===1&&(this[B(2069)][B(1056)]=this,this[B(1872)](B(1870))),this},zoom:function(B,D){const N=n;return this[N(1539)]&&B!=="mouse"&&(this[N(1539)][1]=D[N(1799)](this[N(1539)][0])),this[N(1764)]&&B!==N(1729)&&(this[N(1764)][1]=D.invert(this[N(1764)][0])),this.touch1&&B!=="touch"&&(this.touch1[1]=D[N(1799)](this[N(1788)][0])),this[N(2069)][N(1214)]=D,this[N(1872)]("zoom"),this},end:function(){const B=n;return--this[B(1979)]===0&&(delete this[B(2069)][B(1056)],this[B(1872)](B(1015))),this},emit:function(B){const D=n;var N=Xe(this[D(2069)])[D(1147)]();u.call(B,this[D(2069)],new If(B,{sourceEvent:this[D(1065)],target:p,transform:this[D(2069)][D(1214)],dispatch:u}),N)}};function V(B,...D){const N=n;if(!t[N(1426)](this,arguments))return;var E=Y(this,D).event(B),P=this.__zoom,k=Math[N(363)](i[0],Math.min(i[1],P.k*Math.pow(2,o.apply(this,arguments)))),Z=Qe(B);if(E[N(1037)])(E.mouse[0][0]!==Z[0]||E[N(1539)][0][1]!==Z[1])&&(E[N(1539)][1]=P[N(1799)](E.mouse[0]=Z)),clearTimeout(E[N(1037)]);else{if(P.k===k)return;E[N(1539)]=[Z,P.invert(Z)],Pt(this),E[N(1870)]()}On(B),E[N(1037)]=setTimeout(_,y),E[N(536)](N(1539),e(m(v(P,k),E[N(1539)][0],E[N(1539)][1]),E.extent,a));function _(){const J=N;E[J(1037)]=null,E.end()}}function U(B,...D){const N=n;if(b||!t[N(1426)](this,arguments))return;var E=B.currentTarget,P=Y(this,D,!0)[N(1936)](B),k=Xe(B[N(1719)]).on(N(1996),$,!0).on("mouseup.zoom",te,!0),Z=Qe(B,E),_=B[N(493)],J=B[N(1644)];Ur(B.view),Tx(B),P.mouse=[Z,this[N(1214)][N(1799)](Z)],Pt(this),P.start();function $(ee){const re=N;if(On(ee),!P.moved){var ce=ee.clientX-_,ie=ee[re(1644)]-J;P[re(1808)]=ce*ce+ie*ie>h}P[re(1936)](ee)[re(536)]("mouse",e(m(P[re(2069)].__zoom,P[re(1539)][0]=Qe(ee,E),P[re(1539)][1]),P.extent,a))}function te(ee){const re=N;k.on(re(873),null),Or(ee[re(1719)],P[re(1808)]),On(ee),P[re(1936)](ee)[re(1015)]()}}function Q(B,...D){const N=n;if(t[N(1426)](this,arguments)){var E=this[N(1214)],P=Qe(B[N(1185)]?B[N(1185)][0]:B,this),k=E.invert(P),Z=E.k*(B.shiftKey?.5:2),_=e(m(v(E,Z),P,k),x[N(1426)](this,D),a);On(B),d>0?Xe(this)[N(1165)]().duration(d)[N(671)](I,_,P,B):Xe(this)[N(671)](p[N(1430)],_,P,B)}}function W(B,...D){const N=n;if(t[N(1426)](this,arguments)){var E=B.touches,P=E.length,k=Y(this,D,B[N(1185)][N(2088)]===P)[N(1936)](B),Z,_,J,$;for(Tx(B),_=0;_<P;++_)J=E[_],$=Qe(J,this),$=[$,this[N(1214)][N(1799)]($),J[N(1801)]],k[N(1764)]?!k[N(1788)]&&k[N(1764)][2]!==$[2]&&(k[N(1788)]=$,k[N(1798)]=0):(k[N(1764)]=$,Z=!0,k[N(1798)]=1+!!f);f&&(f=clearTimeout(f)),Z&&(k[N(1798)]<2&&(g=$[0],f=setTimeout(function(){f=null},w)),Pt(this),k[N(1870)]())}}function q(B,...D){const N=n;if(this[N(1056)]){var E=Y(this,D)[N(1936)](B),P=B[N(1185)],k=P[N(2088)],Z,_,J,$;for(On(B),Z=0;Z<k;++Z)_=P[Z],J=Qe(_,this),E[N(1764)]&&E[N(1764)][2]===_.identifier?E[N(1764)][0]=J:E[N(1788)]&&E.touch1[2]===_[N(1801)]&&(E.touch1[0]=J);if(_=E[N(2069)][N(1214)],E[N(1788)]){var te=E[N(1764)][0],ee=E[N(1764)][1],re=E.touch1[0],ce=E[N(1788)][1],ie=(ie=re[0]-te[0])*ie+(ie=re[1]-te[1])*ie,F=(F=ce[0]-ee[0])*F+(F=ce[1]-ee[1])*F;_=v(_,Math[N(1800)](ie/F)),J=[(te[0]+re[0])/2,(te[1]+re[1])/2],$=[(ee[0]+ce[0])/2,(ee[1]+ce[1])/2]}else if(E[N(1764)])J=E[N(1764)][0],$=E[N(1764)][1];else return;E.zoom(N(1729),e(m(_,J,$),E[N(1100)],a))}}function T(B,...D){const N=n;if(this[N(1056)]){var E=Y(this,D).event(B),P=B.changedTouches,k=P.length,Z,_;for(Tx(B),b&&clearTimeout(b),b=setTimeout(function(){b=null},w),Z=0;Z<k;++Z)_=P[Z],E[N(1764)]&&E[N(1764)][2]===_[N(1801)]?delete E[N(1764)]:E.touch1&&E.touch1[2]===_[N(1801)]&&delete E[N(1788)];if(E[N(1788)]&&!E[N(1764)]&&(E.touch0=E.touch1,delete E.touch1),E.touch0)E.touch0[1]=this[N(1214)][N(1799)](E.touch0[0]);else if(E[N(1015)](),E[N(1798)]===2&&(_=Qe(_,this),Math[N(1489)](g[0]-_[0],g[1]-_[1])<C)){var J=Xe(this).on(N(1748));J&&J.apply(this,arguments)}}}return p[n(1316)]=function(B){const D=n;return arguments.length?(o=typeof B===D(828)?B:It(+B),p):o},p.filter=function(B){const D=n;return arguments[D(2088)]?(t=typeof B===D(828)?B:It(!!B),p):t},p.touchable=function(B){const D=n;return arguments[D(2088)]?(r=typeof B===D(828)?B:It(!!B),p):r},p[n(1100)]=function(B){return arguments.length?(x=typeof B=="function"?B:It([[+B[0][0],+B[0][1]],[+B[1][0],+B[1][1]]]),p):x},p.scaleExtent=function(B){return arguments[n(2088)]?(i[0]=+B[0],i[1]=+B[1],p):[i[0],i[1]]},p[n(577)]=function(B){return arguments[n(2088)]?(a[0][0]=+B[0][0],a[1][0]=+B[1][0],a[0][1]=+B[0][1],a[1][1]=+B[1][1],p):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},p[n(1946)]=function(B){return arguments.length?(e=B,p):e},p[n(1160)]=function(B){return arguments[n(2088)]?(d=+B,p):d},p[n(699)]=function(B){return arguments[n(2088)]?(s=B,p):s},p.on=function(){const B=n;var D=u.on[B(1426)](u,arguments);return D===u?p:D},p[n(421)]=function(B){const D=n;return arguments[D(2088)]?(h=(B=+B)*B,p):Math[D(1800)](h)},p[n(388)]=function(B){return arguments.length?(C=+B,p):C},p}const Ke={error001:()=>c(1234),error002:()=>c(820),error003:n=>c(790)+n+'" not found. Using fallback type "default".',error004:()=>c(1302),error005:()=>c(1508),error006:()=>c(1860),error007:n=>"The old edge with id="+n+c(1328),error009:n=>c(1449)+n+c(543),error008:(n,{id:t,sourceHandle:x,targetHandle:e})=>c(1820)+n+c(441)+(n==="source"?x:e)+c(1387)+t+".",error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:n=>c(1988)+n+c(847),error012:n=>'Node with id "'+n+c(1026),error013:(n="react")=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+n+"/dist/style.css' or base.css to make sure everything is working properly.",error014:()=>c(632),error015:()=>c(1980)},Gn=[[Number.NEGATIVE_INFINITY,Number[c(1777)]],[Number.POSITIVE_INFINITY,Number[c(1662)]]],gi=[c(1545)," ",c(1924)],yi={"node.a11yDescription.default":c(816),"node.a11yDescription.keyboardDisabled":c(2025),"node.a11yDescription.ariaLiveMessage":({direction:n,x:t,y:x})=>"Moved selected node "+n+c(1085)+t+c(451)+x,"edge.a11yDescription.default":c(1613),"controls.ariaLabel":c(1475),"controls.zoomIn.ariaLabel":c(1768),"controls.zoomOut.ariaLabel":c(1611),"controls.fitView.ariaLabel":c(616),"controls.interactive.ariaLabel":c(1851),"minimap.ariaLabel":c(1825),"handle.ariaLabel":c(1595)};var rn;(function(n){const t=c;n.Strict=t(337),n[t(854)]=t(1486)})(rn||(rn={}));var U0;(function(n){const t=c;n[t(2012)]=t(1432),n[t(1536)]=t(1463),n[t(1830)]=t(282)})(U0||(U0={}));var Vn;(function(n){const t=c;n.Partial="partial",n[t(1031)]=t(1346)})(Vn||(Vn={}));const mi={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var w0;(function(n){const t=c;n.Bezier=t(267),n[t(330)]=t(349),n[t(1586)]=t(487),n[t(1373)]="smoothstep",n[t(1923)]=t(333)})(w0||(w0={}));var Et;(function(n){const t=c;n[t(1869)]=t(1990),n[t(1652)]="arrowclosed"})(Et||(Et={}));var ue;(function(n){const t=c;n[t(1591)]=t(1955),n[t(478)]=t(1171),n[t(1467)]=t(291),n.Bottom=t(787)})(ue||(ue={}));const vi={[ue[c(1591)]]:ue[c(1467)],[ue[c(1467)]]:ue[c(1591)],[ue[c(478)]]:ue[c(728)],[ue[c(728)]]:ue[c(478)]};function wi(n){const t=c;return n===null?null:t(n?679:1961)}const pi=n=>"id"in n&&"source"in n&&"target"in n,Of=n=>"id"in n&&c(895)in n&&!(c(1969)in n)&&!(c(1917)in n),qx=n=>"id"in n&&c(1752)in n&&!(c(1969)in n)&&!(c(1917)in n),Hn=(n,t=[0,0])=>{const x=c,{width:e,height:o}=b0(n),r=n[x(1288)]??t,i=e*r[0],a=o*r[1];return{x:n[x(895)].x-i,y:n[x(895)].y-a}},Gf=(n,t={nodeOrigin:[0,0]})=>{const x=c;if(process.env.NODE_ENV===x(1625)&&!t[x(1568)]&&console[x(1331)](x(1219)),n[x(2088)]===0)return{x:0,y:0,width:0,height:0};const e=n.reduce((o,r)=>{const i=x,a=typeof r=="string";let d=!t[i(1568)]&&!a?r:void 0;t[i(1568)]&&(d=a?t[i(1568)][i(1519)](r):qx(r)?r:t[i(1568)].get(r.id));const s=d?Ut(d,t[i(1337)]):{x:0,y:0,x2:0,y2:0};return jt(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Yt(e)},Tn=(n,t={})=>{const x=c;let e={x:1/0,y:1/0,x2:-1/0,y2:-1/0},o=!1;return n[x(1105)](r=>{const i=x;(t[i(891)]===void 0||t[i(891)](r))&&(e=jt(e,Ut(r)),o=!0)}),o?Yt(e):{x:0,y:0,width:0,height:0}},Wx=(n,t,[x,e,o]=[0,0,1],r=!1,i=!1)=>{const a=c,d={...Xn(t,[x,e,o]),width:t[a(687)]/o,height:t[a(500)]/o},s=[];for(const u of n[a(1909)]()){const{measured:f,selectable:g=!0,hidden:b=!1}=u;if(i&&!g||b)continue;const w=f[a(687)]??u.width??u.initialWidth??null,y=f.height??u[a(500)]??u[a(1162)]??null,h=qn(d,cn(u)),C=(w??0)*(y??0),p=r&&h>0;(!u[a(1752)][a(879)]||p||h>=C||u.dragging)&&s[a(1297)](u)}return s},Vf=(n,t)=>{const x=c,e=new Set;return n[x(1105)](o=>{e[x(315)](o.id)}),t[x(891)](o=>e[x(663)](o.source)||e[x(663)](o.target))};function Hf(n,t){const x=c,e=new Map,o=t?.[x(906)]?new Set(t[x(906)].map(r=>r.id)):null;return n[x(1105)](r=>{const i=x;r[i(1285)].width&&r[i(1285)][i(500)]&&(t?.[i(775)]||!r[i(1276)])&&(!o||o[i(663)](r.id))&&e.set(r.id,r)}),e}async function Tf({nodes:n,width:t,height:x,panZoom:e,minZoom:o,maxZoom:r},i){const a=c;if(n[a(1424)]===0)return Promise[a(491)](!0);const d=Hf(n,i),s=Tn(d),u=Kx(s,t,x,i?.[a(965)]??o,i?.[a(944)]??r,i?.padding??.1);return await e.setViewport(u,{duration:i?.[a(1160)],ease:i?.ease,interpolate:i?.[a(699)]}),Promise[a(491)](!0)}function zi({nodeId:n,nextPosition:t,nodeLookup:x,nodeOrigin:e=[0,0],nodeExtent:o,onError:r}){const i=c,a=x[i(1519)](n),d=a[i(684)]?x[i(1519)](a[i(684)]):void 0,{x:s,y:u}=d?d.internals[i(1053)]:{x:0,y:0},f=a[i(1288)]??e;let g=a[i(1100)]||o;if(a[i(1100)]==="parent"&&!a[i(382)])if(!d)r?.(i(1134),Ke[i(1894)]());else{const w=d[i(1285)][i(687)],y=d[i(1285)].height;w&&y&&(g=[[s,u],[s+w,u+y]])}else d&&ln(a[i(1100)])&&(g=[[a[i(1100)][0][0]+s,a.extent[0][1]+u],[a[i(1100)][1][0]+s,a[i(1100)][1][1]+u]]);const b=ln(g)?O0(t,g,a.measured):t;return(a.measured.width===void 0||a[i(1285)][i(500)]===void 0)&&r?.(i(1821),Ke[i(1262)]()),{position:{x:b.x-s+(a[i(1285)][i(687)]??0)*f[0],y:b.y-u+(a[i(1285)][i(500)]??0)*f[1]},positionAbsolute:b}}async function qf({nodesToRemove:n=[],edgesToRemove:t=[],nodes:x,edges:e,onBeforeDelete:o}){const r=c,i=new Set(n[r(802)](b=>b.id)),a=[];for(const b of x){if(b[r(1520)]===!1)continue;const w=i.has(b.id),y=!w&&b[r(684)]&&a[r(1388)](h=>h.id===b.parentId);(w||y)&&a[r(1297)](b)}const d=new Set(t[r(802)](b=>b.id)),s=e[r(891)](b=>b[r(1520)]!==!1),u=Vf(a,s),f=u;for(const b of s)d[r(663)](b.id)&&!f[r(1388)](y=>y.id===b.id)&&f[r(1297)](b);if(!o)return{edges:f,nodes:a};const g=await o({nodes:a,edges:f});return typeof g===r(782)?g?{edges:f,nodes:a}:{edges:[],nodes:[]}:g}const an=(n,t=0,x=1)=>Math.min(Math[c(363)](n,t),x),O0=(n={x:0,y:0},t,x)=>({x:an(n.x,t[0][0],t[1][0]-(x?.[c(687)]??0)),y:an(n.y,t[0][1],t[1][1]-(x?.height??0))});function Ci(n,t,x){const e=c,{width:o,height:r}=b0(x),{x:i,y:a}=x[e(1752)][e(1053)];return O0(n,[[i,a],[i+o,a+r]],t)}const Mi=(n,t,x)=>{const e=c;return n<t?an(Math[e(1242)](n-t),1,t)/t:n>x?-an(Math[e(1242)](n-x),1,t)/t:0},Bi=(n,t,x=15,e=40)=>{const o=c,r=Mi(n.x,e,t[o(687)]-e)*x,i=Mi(n.y,e,t[o(500)]-e)*x;return[r,i]},jt=(n,t)=>({x:Math[c(408)](n.x,t.x),y:Math[c(408)](n.y,t.y),x2:Math[c(363)](n.x2,t.x2),y2:Math.max(n.y2,t.y2)}),Xx=({x:n,y:t,width:x,height:e})=>({x:n,y:t,x2:n+x,y2:t+e}),Yt=({x:n,y:t,x2:x,y2:e})=>({x:n,y:t,width:x-n,height:e-t}),cn=(n,t=[0,0])=>{const x=c,{x:e,y:o}=qx(n)?n.internals[x(1053)]:Hn(n,t);return{x:e,y:o,width:n.measured?.[x(687)]??n.width??n[x(983)]??0,height:n[x(1285)]?.[x(500)]??n[x(500)]??n[x(1162)]??0}},Ut=(n,t=[0,0])=>{const x=c,{x:e,y:o}=qx(n)?n.internals.positionAbsolute:Hn(n,t);return{x:e,y:o,x2:e+(n.measured?.[x(687)]??n[x(687)]??n.initialWidth??0),y2:o+(n[x(1285)]?.[x(500)]??n[x(500)]??n.initialHeight??0)}},Di=(n,t)=>Yt(jt(Xx(n),Xx(t))),qn=(n,t)=>{const x=c,e=Math[x(363)](0,Math[x(408)](n.x+n[x(687)],t.x+t[x(687)])-Math[x(363)](n.x,t.x)),o=Math[x(363)](0,Math[x(408)](n.y+n[x(500)],t.y+t[x(500)])-Math.max(n.y,t.y));return Math[x(2046)](e*o)},Li=n=>e0(n[c(687)])&&e0(n[c(500)])&&e0(n.x)&&e0(n.y),e0=n=>!isNaN(n)&&isFinite(n),Ni=(n,t)=>{const x=c;process.env.NODE_ENV===x(1625)&&console[x(1331)](x(1841)+t+x(393)+n)},Wn=(n,t=[1,1])=>{const x=c;return{x:t[0]*Math[x(938)](n.x/t[0]),y:t[1]*Math[x(938)](n.y/t[1])}},Xn=({x:n,y:t},[x,e,o],r=!1,i=[1,1])=>{const a={x:(n-x)/o,y:(t-e)/o};return r?Wn(a,i):a},Ot=({x:n,y:t},[x,e,o])=>({x:n*o+x,y:t*o+e});function sn(n,t){const x=c;if(typeof n===x(515))return Math.floor((t-t/(1+n))*.5);if(typeof n===x(976)&&n[x(1362)]("px")){const e=parseFloat(n);if(!Number.isNaN(e))return Math[x(1159)](e)}if(typeof n===x(976)&&n.endsWith("%")){const e=parseFloat(n);if(!Number[x(1974)](e))return Math[x(1159)](t*e*.01)}return console[x(1186)]('[React Flow] The padding value "'+n+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function Wf(n,t,x){const e=c;if(typeof n=="string"||typeof n===e(515)){const o=sn(n,x),r=sn(n,t);return{top:o,right:r,bottom:o,left:r,x:r*2,y:o*2}}if(typeof n=="object"){const o=sn(n[e(1171)]??n.y??0,x),r=sn(n[e(787)]??n.y??0,x),i=sn(n[e(1955)]??n.x??0,t),a=sn(n[e(291)]??n.x??0,t);return{top:o,right:a,bottom:r,left:i,x:i+a,y:o+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function Xf(n,t,x,e,o,r){const i=c,{x:a,y:d}=Ot(n,[t,x,e]),{x:s,y:u}=Ot({x:n.x+n[i(687)],y:n.y+n[i(500)]},[t,x,e]),f=o-s,g=r-u;return{left:Math[i(1159)](a),top:Math.floor(d),right:Math[i(1159)](f),bottom:Math[i(1159)](g)}}const Kx=(n,t,x,e,o,r)=>{const i=c,a=Wf(r,t,x),d=(t-a.x)/n.width,s=(x-a.y)/n[i(500)],u=Math[i(408)](d,s),f=an(u,e,o),g=n.x+n[i(687)]/2,b=n.y+n[i(500)]/2,w=t/2-g*f,y=x/2-b*f,h=Xf(n,w,y,f,t,x),C={left:Math[i(408)](h[i(1955)]-a.left,0),top:Math[i(408)](h.top-a.top,0),right:Math.min(h[i(291)]-a.right,0),bottom:Math[i(408)](h[i(787)]-a.bottom,0)};return{x:w-C[i(1955)]+C[i(291)],y:y-C[i(1171)]+C.bottom,zoom:f}},Kn=()=>typeof navigator!==c(758)&&navigator?.[c(1244)]?.[c(799)]("Mac")>=0;function ln(n){const t=c;return n!=null&&n!==t(1464)}function b0(n){const t=c;return{width:n.measured?.[t(687)]??n[t(687)]??n[t(983)]??0,height:n.measured?.[t(500)]??n[t(500)]??n.initialHeight??0}}function Si(n){const t=c;return(n[t(1285)]?.[t(687)]??n[t(687)]??n[t(983)])!==void 0&&(n[t(1285)]?.[t(500)]??n[t(500)]??n[t(1162)])!==void 0}function ki(n,t={width:0,height:0},x,e,o){const r=c,i={...n},a=e[r(1519)](x);if(a){const d=a[r(1288)]||o;i.x+=a[r(1752)][r(1053)].x-(t[r(687)]??0)*d[0],i.y+=a[r(1752)].positionAbsolute.y-(t.height??0)*d[1]}return i}function Pi(n,t){const x=c;if(n[x(1424)]!==t[x(1424)])return!1;for(const e of n)if(!t[x(663)](e))return!1;return!0}function Kf(){let n,t;return{promise:new Promise((e,o)=>{n=e,t=o}),resolve:n,reject:t}}function Zf(n){return{...yi,...n||{}}}function Zn(n,{snapGrid:t=[0,0],snapToGrid:x=!1,transform:e,containerBounds:o}){const r=c,{x:i,y:a}=n0(n),d=Xn({x:i-(o?.[r(1955)]??0),y:a-(o?.[r(1171)]??0)},e),{x:s,y:u}=x?Wn(d,t):d;return{xSnapped:s,ySnapped:u,...d}}const Zx=n=>({width:n[c(1806)],height:n[c(2082)]}),Ii=n=>n?.[c(1378)]?.()||window?.[c(1157)],Rf=[c(496),"SELECT",c(1813)];function Ai(n){const t=c,x=n[t(1032)]?.()?.[0]||n[t(1917)];return x?.nodeType!==1?!1:Rf[t(1052)](x.nodeName)||x[t(1693)]("contenteditable")||!!x[t(1994)](t(522))}const Ei=n=>c(493)in n,n0=(n,t)=>{const x=c,e=Ei(n),o=e?n.clientX:n[x(1587)]?.[0][x(493)],r=e?n[x(1644)]:n[x(1587)]?.[0][x(1644)];return{x:o-(t?.[x(1955)]??0),y:r-(t?.[x(1171)]??0)}},ji=(n,t,x,e,o)=>{const r=c,i=t[r(1156)]("."+n);return!i||!i[r(2088)]?null:Array[r(2029)](i).map(a=>{const d=r,s=a.getBoundingClientRect();return{id:a.getAttribute(d(1232)),type:n,nodeId:o,position:a[d(1060)](d(1249)),x:(s.left-x.left)/e,y:(s[d(1171)]-x[d(1171)])/e,...Zx(a)}})};function Yi({sourceX:n,sourceY:t,targetX:x,targetY:e,sourceControlX:o,sourceControlY:r,targetControlX:i,targetControlY:a}){const d=c,s=n*.125+o*.375+i*.375+x*.125,u=t*.125+r*.375+a*.375+e*.125,f=Math[d(1242)](s-n),g=Math[d(1242)](u-t);return[s,u,f,g]}function Gt(n,t){const x=c;return n>=0?.5*n:t*25*Math[x(1800)](-n)}function Ui({pos:n,x1:t,y1:x,x2:e,y2:o,c:r}){const i=c;switch(n){case ue[i(1591)]:return[t-Gt(t-e,r),x];case ue[i(1467)]:return[t+Gt(e-t,r),x];case ue.Top:return[t,x-Gt(x-o,r)];case ue[i(728)]:return[t,x+Gt(o-x,r)]}}function Oi({sourceX:n,sourceY:t,sourcePosition:x=ue[c(728)],targetX:e,targetY:o,targetPosition:r=ue.Top,curvature:i=.25}){const[a,d]=Ui({pos:x,x1:n,y1:t,x2:e,y2:o,c:i}),[s,u]=Ui({pos:r,x1:e,y1:o,x2:n,y2:t,c:i}),[f,g,b,w]=Yi({sourceX:n,sourceY:t,targetX:e,targetY:o,sourceControlX:a,sourceControlY:d,targetControlX:s,targetControlY:u});return["M"+n+","+t+" C"+a+","+d+" "+s+","+u+" "+e+","+o,f,g,b,w]}function Gi({sourceX:n,sourceY:t,targetX:x,targetY:e}){const o=c,r=Math[o(1242)](x-n)/2,i=x<n?x+r:x-r,a=Math.abs(e-t)/2,d=e<t?e+a:e-a;return[i,d,r,a]}function Jf({sourceNode:n,targetNode:t,selected:x=!1,zIndex:e=0,elevateOnSelect:o=!1,zIndexMode:r=c(917)}){const i=c;if(r==="manual")return e;const a=o&&x?e+1e3:e,d=Math[i(363)](n[i(684)]||o&&n.selected?n[i(1752)].z:0,t.parentId||o&&t[i(1470)]?t[i(1752)].z:0);return a+d}function _f({sourceNode:n,targetNode:t,width:x,height:e,transform:o}){const r=jt(Ut(n),Ut(t));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-o[0]/o[2],y:-o[1]/o[2],width:x/o[2],height:e/o[2]};return qn(i,Yt(r))>0}const Qf=({source:n,sourceHandle:t,target:x,targetHandle:e})=>c(1978)+n+(t||"")+"-"+x+(e||""),Ff=(n,t)=>{const x=c;return t[x(1093)](e=>e[x(1969)]===n[x(1969)]&&e[x(1917)]===n.target&&(e[x(1956)]===n[x(1956)]||!e.sourceHandle&&!n[x(1956)])&&(e.targetHandle===n[x(981)]||!e[x(981)]&&!n.targetHandle))},Vi=(n,t,x={})=>{const e=c;if(!n.source||!n[e(1917)])return Ni(e(381),Ke.error006()),t;const o=x[e(1947)]||Qf;let r;return pi(n)?r={...n}:r={...n,id:o(n)},Ff(r,t)?t:(r[e(1956)]===null&&delete r[e(1956)],r[e(981)]===null&&delete r[e(981)],t.concat(r))};function Hi({sourceX:n,sourceY:t,targetX:x,targetY:e}){const[o,r,i,a]=Gi({sourceX:n,sourceY:t,targetX:x,targetY:e});return["M "+n+","+t+"L "+x+","+e,o,r,i,a]}const Ti={[ue[c(1591)]]:{x:-1,y:0},[ue[c(1467)]]:{x:1,y:0},[ue[c(478)]]:{x:0,y:-1},[ue[c(728)]]:{x:0,y:1}},$f=({source:n,sourcePosition:t=ue[c(728)],target:x})=>{const e=c;return t===ue.Left||t===ue[e(1467)]?n.x<x.x?{x:1,y:0}:{x:-1,y:0}:n.y<x.y?{x:0,y:1}:{x:0,y:-1}},qi=(n,t)=>Math[c(1800)](Math[c(1357)](t.x-n.x,2)+Math[c(1357)](t.y-n.y,2));function e5({source:n,sourcePosition:t=ue.Bottom,target:x,targetPosition:e=ue.Top,center:o,offset:r,stepPosition:i}){const a=c,d=Ti[t],s=Ti[e],u={x:n.x+d.x*r,y:n.y+d.y*r},f={x:x.x+s.x*r,y:x.y+s.y*r},g=$f({source:u,sourcePosition:t,target:f}),b=g.x!==0?"x":"y",w=g[b];let y=[],h,C;const p={x:0,y:0},v={x:0,y:0},[,,m,M]=Gi({sourceX:n.x,sourceY:n.y,targetX:x.x,targetY:x.y});if(d[b]*s[b]===-1){b==="x"?(h=o.x??u.x+(f.x-u.x)*i,C=o.y??(u.y+f.y)/2):(h=o.x??(u.x+f.x)/2,C=o.y??u.y+(f.y-u.y)*i);const V=[{x:h,y:u.y},{x:h,y:f.y}],U=[{x:u.x,y:C},{x:f.x,y:C}];d[b]===w?y=b==="x"?V:U:y=b==="x"?U:V}else{const V=[{x:u.x,y:f.y}],U=[{x:f.x,y:u.y}];if(b==="x"?y=d.x===w?U:V:y=d.y===w?V:U,t===e){const B=Math.abs(n[b]-x[b]);if(B<=r){const D=Math[a(408)](r-1,r-B);d[b]===w?p[b]=(u[b]>n[b]?-1:1)*D:v[b]=(f[b]>x[b]?-1:1)*D}}if(t!==e){const B=b==="x"?"y":"x",D=d[b]===s[B],N=u[B]>f[B],E=u[B]<f[B];(d[b]===1&&(!D&&N||D&&E)||d[b]!==1&&(!D&&E||D&&N))&&(y=b==="x"?V:U)}const Q={x:u.x+p.x,y:u.y+p.y},W={x:f.x+v.x,y:f.y+v.y},q=Math[a(363)](Math.abs(Q.x-y[0].x),Math[a(1242)](W.x-y[0].x)),T=Math[a(363)](Math[a(1242)](Q.y-y[0].y),Math[a(1242)](W.y-y[0].y));q>=T?(h=(Q.x+W.x)/2,C=y[0].y):(h=y[0].x,C=(Q.y+W.y)/2)}const I={x:u.x+p.x,y:u.y+p.y},Y={x:f.x+v.x,y:f.y+v.y};return[[n,...I.x!==y[0].x||I.y!==y[0].y?[I]:[],...y,...Y.x!==y[y[a(2088)]-1].x||Y.y!==y[y[a(2088)]-1].y?[Y]:[],x],h,C,m,M]}function n5(n,t,x,e){const o=c,r=Math[o(408)](qi(n,t)/2,qi(t,x)/2,e),{x:i,y:a}=t;if(n.x===i&&i===x.x||n.y===a&&a===x.y)return"L"+i+" "+a;if(n.y===a){const u=n.x<x.x?-1:1,f=n.y<x.y?1:-1;return"L "+(i+r*u)+","+a+"Q "+i+","+a+" "+i+","+(a+r*f)}const d=n.x<x.x?1:-1,s=n.y<x.y?-1:1;return"L "+i+","+(a+r*s)+"Q "+i+","+a+" "+(i+r*d)+","+a}function Rx({sourceX:n,sourceY:t,sourcePosition:x=ue[c(728)],targetX:e,targetY:o,targetPosition:r=ue[c(478)],borderRadius:i=5,centerX:a,centerY:d,offset:s=20,stepPosition:u=.5}){const f=c,[g,b,w,y,h]=e5({source:{x:n,y:t},sourcePosition:x,target:{x:e,y:o},targetPosition:r,center:{x:a,y:d},offset:s,stepPosition:u});let C="M"+g[0].x+" "+g[0].y;for(let p=1;p<g[f(2088)]-1;p++)C+=n5(g[p-1],g[p],g[p+1],i);return C+="L"+g[g[f(2088)]-1].x+" "+g[g[f(2088)]-1].y,[C,b,w,y,h]}function Wi(n){const t=c;return n&&!!(n.internals[t(879)]||n[t(1805)]?.[t(2088)])&&!!(n[t(1285)].width||n[t(687)]||n.initialWidth)}function t5(n){const t=c,{sourceNode:x,targetNode:e}=n;if(!Wi(x)||!Wi(e))return null;const o=x[t(1752)].handleBounds||Xi(x[t(1805)]),r=e[t(1752)].handleBounds||Xi(e[t(1805)]),i=Ki(o?.[t(1969)]??[],n.sourceHandle),a=Ki(n.connectionMode===rn.Strict?r?.[t(1917)]??[]:(r?.target??[])[t(1628)](r?.[t(1969)]??[]),n[t(981)]);if(!i||!a)return n[t(1383)]?.(t(1284),Ke[t(770)](i?t(1917):"source",{id:n.id,sourceHandle:n[t(1956)],targetHandle:n[t(981)]})),null;const d=i?.[t(895)]||ue[t(728)],s=a?.position||ue[t(478)],u=G0(x,i,d),f=G0(e,a,s);return{sourceX:u.x,sourceY:u.y,targetX:f.x,targetY:f.y,sourcePosition:d,targetPosition:s}}function Xi(n){const t=c;if(!n)return null;const x=[],e=[];for(const o of n)o[t(687)]=o[t(687)]??1,o.height=o[t(500)]??1,o[t(1972)]===t(1969)?x[t(1297)](o):o[t(1972)]===t(1917)&&e[t(1297)](o);return{source:x,target:e}}function G0(n,t,x=ue[c(1591)],e=!1){const o=c,r=(t?.x??0)+n[o(1752)][o(1053)].x,i=(t?.y??0)+n[o(1752)][o(1053)].y,{width:a,height:d}=t??b0(n);if(e)return{x:r+a/2,y:i+d/2};switch(t?.[o(895)]??x){case ue.Top:return{x:r+a/2,y:i};case ue[o(1467)]:return{x:r+a,y:i+d/2};case ue.Bottom:return{x:r+a/2,y:i+d};case ue[o(1591)]:return{x:r,y:i+d/2}}}function Ki(n,t){const x=c;return n&&(t?n[x(1388)](e=>e.id===t):n[0])||null}function Jx(n,t){const x=c;return n?typeof n===x(976)?n:""+(t?t+"__":"")+Object[x(1775)](n)[x(1614)]()[x(802)](o=>o+"="+n[o])[x(2022)]("&"):""}function x5(n,{id:t,defaultColor:x,defaultMarkerStart:e,defaultMarkerEnd:o}){const r=c,i=new Set;return n[r(442)]((a,d)=>{const s=r;return[d[s(2067)]||e,d[s(768)]||o][s(1105)](u=>{const f=s;if(u&&typeof u===f(2101)){const g=Jx(u,t);!i.has(g)&&(a[f(1297)]({id:g,color:u[f(575)]||x,...u}),i.add(g))}}),a},[])[r(1614)]((a,d)=>a.id.localeCompare(d.id))}const Zi=1e3,o5=10,_x={nodeOrigin:[0,0],nodeExtent:Gn,elevateNodesOnSelect:!0,zIndexMode:c(917),defaults:{}},r5={..._x,checkEquality:!0};function Qx(n,t){const x={...n};for(const e in t)t[e]!==void 0&&(x[e]=t[e]);return x}function i5(n,t,x){const e=c,o=Qx(_x,x);for(const r of n.values())if(r[e(684)])eo(r,n,t,o);else{const i=Hn(r,o[e(1337)]),a=ln(r[e(1100)])?r.extent:o.nodeExtent,d=O0(i,a,b0(r));r[e(1752)][e(1053)]=d}}function a5(n,t){const x=c;if(!n[x(1805)])return n[x(1285)]?t?.[x(1752)].handleBounds:void 0;const e=[],o=[];for(const r of n[x(1805)]){const i={id:r.id,width:r.width??1,height:r[x(500)]??1,nodeId:n.id,x:r.x,y:r.y,position:r[x(895)],type:r.type};r[x(1972)]==="source"?e[x(1297)](i):r[x(1972)]===x(1917)&&o[x(1297)](i)}return{source:e,target:o}}function Fx(n){return n===c(483)}function $x(n,t,x,e={}){const o=c,r=Qx(r5,e),i={i:0},a=new Map(t),d=r?.[o(932)]&&!Fx(r[o(414)])?Zi:0;let s=n[o(2088)]>0,u=!1;t[o(1867)](),x[o(1867)]();for(const f of n){let g=a[o(1519)](f.id);if(r.checkEquality&&f===g?.[o(1752)][o(1602)])t[o(2010)](f.id,g);else{const b=Hn(f,r[o(1337)]),w=ln(f[o(1100)])?f[o(1100)]:r[o(1375)],y=O0(b,w,b0(f));g={...r[o(1279)],...f,measured:{width:f[o(1285)]?.[o(687)],height:f.measured?.[o(500)]},internals:{positionAbsolute:y,handleBounds:a5(f,g),z:Ri(f,d,r[o(414)]),userNode:f}},t[o(2010)](f.id,g)}(g.measured===void 0||g[o(1285)][o(687)]===void 0||g[o(1285)].height===void 0)&&!g[o(1276)]&&(s=!1),f.parentId&&eo(g,t,x,e,i),u||=f[o(1470)]??!1}return{nodesInitialized:s,hasSelectedNodes:u}}function c5(n,t){const x=c;if(!n[x(684)])return;const e=t[x(1519)](n[x(684)]);e?e.set(n.id,n):t[x(2010)](n.parentId,new Map([[n.id,n]]))}function eo(n,t,x,e,o){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:d,zIndexMode:s}=Qx(_x,e),u=n[r(684)],f=t[r(1519)](u);if(!f){console[r(1331)](r(1552)+u+r(627));return}c5(n,x),o&&!f.parentId&&f[r(1752)][r(373)]===void 0&&s===r(1509)&&(f[r(1752)][r(373)]=++o.i,f[r(1752)].z=f[r(1752)].z+o.i*o5),o&&f[r(1752)][r(373)]!==void 0&&(o.i=f[r(1752)][r(373)]);const g=i&&!Fx(s)?Zi:0,{x:b,y:w,z:y}=s5(n,f,a,d,g,s),{positionAbsolute:h}=n.internals,C=b!==h.x||w!==h.y;(C||y!==n[r(1752)].z)&&t[r(2010)](n.id,{...n,internals:{...n.internals,positionAbsolute:C?{x:b,y:w}:h,z:y}})}function Ri(n,t,x){const e=c,o=e0(n[e(1021)])?n[e(1021)]:0;return Fx(x)?o:o+(n.selected?t:0)}function s5(n,t,x,e,o,r){const i=c,{x:a,y:d}=t[i(1752)][i(1053)],s=b0(n),u=Hn(n,x),f=ln(n.extent)?O0(u,n[i(1100)],s):u;let g=O0({x:a+f.x,y:d+f.y},e,s);n[i(1100)]===i(1464)&&(g=Ci(g,s,t));const b=Ri(n,o,r),w=t[i(1752)].z??0;return{x:g.x,y:g.y,z:w>=b?w+1:b}}function no(n,t,x,e=[0,0]){const o=c,r=[],i=new Map;for(const a of n){const d=t[o(1519)](a[o(684)]);if(!d)continue;const s=i[o(1519)](a.parentId)?.[o(391)]??cn(d),u=Di(s,a.rect);i[o(2010)](a.parentId,{expandedRect:u,parent:d})}return i.size>0&&i[o(1105)](({expandedRect:a,parent:d},s)=>{const u=o,f=d[u(1752)][u(1053)],g=b0(d),b=d.origin??e,w=a.x<f.x?Math[u(938)](Math.abs(f.x-a.x)):0,y=a.y<f.y?Math[u(938)](Math[u(1242)](f.y-a.y)):0,h=Math[u(363)](g.width,Math[u(938)](a[u(687)])),C=Math[u(363)](g[u(500)],Math[u(938)](a[u(500)])),p=(h-g[u(687)])*b[0],v=(C-g[u(500)])*b[1];(w>0||y>0||p||v)&&(r.push({id:s,type:"position",position:{x:d[u(895)].x-w+p,y:d[u(895)].y-y+v}}),x[u(1519)](s)?.[u(1105)](m=>{const M=u;!n.some(I=>I.id===m.id)&&r[M(1297)]({id:m.id,type:"position",position:{x:m[M(895)].x+w,y:m[M(895)].y+y}})})),(g.width<a[u(687)]||g[u(500)]<a[u(500)]||w||y)&&r[u(1297)]({id:s,type:u(1201),setAttributes:!0,dimensions:{width:h+(w?b[0]*w-p:0),height:C+(y?b[1]*y-v:0)}})}),r}function l5(n,t,x,e,o,r,i){const a=c,d=e?.querySelector(a(1303));let s=!1;if(!d)return{changes:[],updatedInternals:s};const u=[],f=window.getComputedStyle(d),{m22:g}=new window.DOMMatrixReadOnly(f[a(1430)]),b=[];for(const w of n[a(1909)]()){const y=t.get(w.id);if(!y)continue;if(y[a(1276)]){t[a(2010)](y.id,{...y,internals:{...y[a(1752)],handleBounds:void 0}}),s=!0;continue}const h=Zx(w[a(718)]),C=y.measured[a(687)]!==h[a(687)]||y[a(1285)][a(500)]!==h[a(500)];if(!!(h[a(687)]&&h[a(500)]&&(C||!y[a(1752)].handleBounds||w.force))){const v=w.nodeElement[a(650)](),m=ln(y[a(1100)])?y[a(1100)]:r;let{positionAbsolute:M}=y[a(1752)];y.parentId&&y[a(1100)]===a(1464)?M=Ci(M,h,t[a(1519)](y[a(684)])):m&&(M=O0(M,m,h));const I={...y,measured:h,internals:{...y[a(1752)],positionAbsolute:M,handleBounds:{source:ji(a(1969),w[a(718)],v,g,y.id),target:ji(a(1917),w.nodeElement,v,g,y.id)}}};t[a(2010)](y.id,I),y[a(684)]&&eo(I,t,x,{nodeOrigin:o,zIndexMode:i}),s=!0,C&&(u[a(1297)]({id:y.id,type:a(1201),dimensions:h}),y[a(382)]&&y[a(684)]&&b[a(1297)]({id:y.id,parentId:y[a(684)],rect:cn(I,o)}))}}if(b.length>0){const w=no(b,t,x,o);u[a(1297)](...w)}return{changes:u,updatedInternals:s}}async function d5({delta:n,panZoom:t,transform:x,translateExtent:e,width:o,height:r}){const i=c;if(!t||!n.x&&!n.y)return Promise[i(491)](!1);const a=await t[i(883)]({x:x[0]+n.x,y:x[1]+n.y,zoom:x[2]},[[0,0],[o,r]],e),d=!!a&&(a.x!==x[0]||a.y!==x[1]||a.k!==x[2]);return Promise.resolve(d)}function Ji(n,t,x,e,o,r){const i=c;let a=o;const d=e[i(1519)](a)||new Map;e.set(a,d.set(x,t)),a=o+"-"+n;const s=e[i(1519)](a)||new Map;if(e[i(2010)](a,s.set(x,t)),r){a=o+"-"+n+"-"+r;const u=e.get(a)||new Map;e.set(a,u.set(x,t))}}function _i(n,t,x){const e=c;n[e(1867)](),t.clear();for(const o of x){const{source:r,target:i,sourceHandle:a=null,targetHandle:d=null}=o,s={edgeId:o.id,source:r,target:i,sourceHandle:a,targetHandle:d},u=r+"-"+a+"--"+i+"-"+d,f=i+"-"+d+"--"+r+"-"+a;Ji(e(1969),s,f,n,r,a),Ji(e(1917),s,u,n,i,d),t[e(2010)](o.id,o)}}function Qi(n,t){const x=c;if(!n[x(684)])return!1;const e=t[x(1519)](n[x(684)]);return e?e[x(1470)]?!0:Qi(e,t):!1}function Fi(n,t,x){const e=c;let o=n;do{if(o?.[e(1294)]?.(t))return!0;if(o===x)return!1;o=o?.[e(1198)]}while(o);return!1}function u5(n,t,x,e){const o=c,r=new Map;for(const[i,a]of n)if((a[o(1470)]||a.id===e)&&(!a[o(684)]||!Qi(a,n))&&(a[o(1537)]||t&&typeof a[o(1537)]===o(758))){const d=n[o(1519)](i);d&&r[o(2010)](i,{id:i,position:d[o(895)]||{x:0,y:0},distance:{x:x.x-d[o(1752)][o(1053)].x,y:x.y-d[o(1752)][o(1053)].y},extent:d[o(1100)],parentId:d.parentId,origin:d.origin,expandParent:d.expandParent,internals:{positionAbsolute:d[o(1752)][o(1053)]||{x:0,y:0}},measured:{width:d[o(1285)][o(687)]??0,height:d[o(1285)][o(500)]??0}})}return r}function to({nodeId:n,dragItems:t,nodeLookup:x,dragging:e=!0}){const o=c,r=[];for(const[a,d]of t){const s=x[o(1519)](a)?.[o(1752)].userNode;s&&r[o(1297)]({...s,position:d[o(895)],dragging:e})}if(!n)return[r[0],r];const i=x[o(1519)](n)?.internals[o(1602)];return[i?{...i,position:t[o(1519)](n)?.[o(895)]||i[o(895)],dragging:e}:r[0],r]}function f5({dragItems:n,snapGrid:t,x,y:e}){const o=c,r=n[o(1909)]()[o(800)]()[o(658)];if(!r)return null;const i={x:x-r.distance.x,y:e-r[o(1680)].y},a=Wn(i,t);return{x:a.x-i.x,y:a.y-i.y}}function b5({onNodeMouseDown:n,getStoreItems:t,onDragStart:x,onDrag:e,onDragStop:o}){let r={x:null,y:null},i=0,a=new Map,d=!1,s={x:0,y:0},u=null,f=!1,g=null,b=!1,w=!1,y=null;function h({noDragClassName:p,handleSelector:v,domNode:m,isSelectable:M,nodeId:I,nodeClickDistance:Y=0}){const G=_0x1826;g=Xe(m);function V({x:q,y:T}){const B=_0x1826,{nodeLookup:D,nodeExtent:N,snapGrid:E,snapToGrid:P,nodeOrigin:k,onNodeDrag:Z,onSelectionDrag:_,onError:J,updateNodePositions:$}=t();r={x:q,y:T};let te=!1;const ee=a[B(1424)]>1,re=ee&&N?Xx(Tn(a)):null,ce=ee&&P?f5({dragItems:a,snapGrid:E,x:q,y:T}):null;for(const[ie,F]of a){if(!D[B(663)](ie))continue;let le={x:q-F[B(1680)].x,y:T-F[B(1680)].y};P&&(le=ce?{x:Math[B(938)](le.x+ce.x),y:Math.round(le.y+ce.y)}:Wn(le,E));let S=null;if(ee&&N&&!F[B(1100)]&&re){const{positionAbsolute:X}=F[B(1752)],H=X.x-re.x+N[0][0],ae=X.x+F.measured.width-re.x2+N[1][0],fe=X.y-re.y+N[0][1],me=X.y+F[B(1285)][B(500)]-re.y2+N[1][1];S=[[H,fe],[ae,me]]}const{position:A,positionAbsolute:K}=zi({nodeId:ie,nextPosition:le,nodeLookup:D,nodeExtent:S||N,nodeOrigin:k,onError:J});te=te||F[B(895)].x!==A.x||F[B(895)].y!==A.y,F[B(895)]=A,F[B(1752)][B(1053)]=K}if(w=w||te,!!te&&($(a,!0),y&&(e||Z||!I&&_))){const[ie,F]=to({nodeId:I,dragItems:a,nodeLookup:D});e?.(y,a,ie,F),Z?.(y,ie,F),!I&&_?.(y,F)}}async function U(){if(!u)return;const{transform:q,panBy:T,autoPanSpeed:B,autoPanOnNodeDrag:D}=t();if(!D){d=!1,cancelAnimationFrame(i);return}const[N,E]=Bi(s,u,B);(N!==0||E!==0)&&(r.x=(r.x??0)-N/q[2],r.y=(r.y??0)-E/q[2],await T({x:N,y:E})&&V(r)),i=requestAnimationFrame(U)}function Q(q){const T=_0x1826,{nodeLookup:B,multiSelectionActive:D,nodesDraggable:N,transform:E,snapGrid:P,snapToGrid:k,selectNodesOnDrag:Z,onNodeDragStart:_,onSelectionDragStart:J,unselectNodesAndEdges:$}=t();f=!0,(!Z||!M)&&!D&&I&&!B[T(1519)](I)?.selected&&$(),M&&Z&&I&&n?.(I);const te=Zn(q.sourceEvent,{transform:E,snapGrid:P,snapToGrid:k,containerBounds:u});if(r=te,a=u5(B,N,te,I),a[T(1424)]>0&&(x||_||!I&&J)){const[ee,re]=to({nodeId:I,dragItems:a,nodeLookup:B});x?.(q[T(1065)],a,ee,re),_?.(q[T(1065)],ee,re),!I&&J?.(q.sourceEvent,re)}}const W=Gr().clickDistance(Y).on("start",q=>{const T=_0x1826,{domNode:B,nodeDragThreshold:D,transform:N,snapGrid:E,snapToGrid:P}=t();u=B?.[T(650)]()||null,b=!1,w=!1,y=q.sourceEvent,D===0&&Q(q),r=Zn(q.sourceEvent,{transform:N,snapGrid:E,snapToGrid:P,containerBounds:u}),s=n0(q.sourceEvent,u)}).on(G(1275),q=>{const T=G,{autoPanOnNodeDrag:B,transform:D,snapGrid:N,snapToGrid:E,nodeDragThreshold:P,nodeLookup:k}=t(),Z=Zn(q[T(1065)],{transform:D,snapGrid:N,snapToGrid:E,containerBounds:u});if(y=q[T(1065)],(q.sourceEvent.type===T(1238)&&q[T(1065)][T(1587)][T(2088)]>1||I&&!k.has(I))&&(b=!0),!b){if(!d&&B&&f&&(d=!0,U()),!f){const _=n0(q.sourceEvent,u),J=_.x-s.x,$=_.y-s.y;Math.sqrt(J*J+$*$)>P&&Q(q)}(r.x!==Z[T(1070)]||r.y!==Z[T(1663)])&&a&&f&&(s=n0(q[T(1065)],u),V(Z))}}).on(G(1015),q=>{const T=G;if(!(!f||b)&&(d=!1,f=!1,cancelAnimationFrame(i),a.size>0)){const{nodeLookup:B,updateNodePositions:D,onNodeDragStop:N,onSelectionDragStop:E}=t();if(w&&(D(a,!1),w=!1),o||N||!I&&E){const[P,k]=to({nodeId:I,dragItems:a,nodeLookup:B,dragging:!1});o?.(q[T(1065)],a,P,k),N?.(q.sourceEvent,P,k),!I&&E?.(q.sourceEvent,k)}}})[G(891)](q=>{const T=G,B=q[T(1917)];return!q[T(634)]&&(!p||!Fi(B,"."+p,m))&&(!v||Fi(B,v,m))});g[G(671)](W)}function C(){const p=_0x1826;g?.on(p(519),null)}return{update:h,destroy:C}}function h5(n,t,x){const e=c,o=[],r={x:n.x-x,y:n.y-x,width:x*2,height:x*2};for(const i of t[e(1909)]())qn(r,cn(i))>0&&o.push(i);return o}const g5=250;function y5(n,t,x,e){const o=c;let r=[],i=1/0;const a=h5(n,x,t+g5);for(const d of a){const s=[...d[o(1752)].handleBounds?.[o(1969)]??[],...d[o(1752)][o(879)]?.[o(1917)]??[]];for(const u of s){if(e.nodeId===u[o(2093)]&&e[o(1972)]===u[o(1972)]&&e.id===u.id)continue;const{x:f,y:g}=G0(d,u,u[o(895)],!0),b=Math[o(1800)](Math.pow(f-n.x,2)+Math[o(1357)](g-n.y,2));b>t||(b<i?(r=[{...u,x:f,y:g}],i=b):b===i&&r[o(1297)]({...u,x:f,y:g}))}}if(!r.length)return null;if(r[o(2088)]>1){const d=e.type==="source"?"target":o(1969);return r[o(1388)](s=>s[o(1972)]===d)??r[0]}return r[0]}function $i(n,t,x,e,o,r=!1){const i=c,a=e[i(1519)](n);if(!a)return null;const d=o===i(337)?a[i(1752)][i(879)]?.[t]:[...a[i(1752)][i(879)]?.source??[],...a[i(1752)][i(879)]?.[i(1917)]??[]],s=(x?d?.[i(1388)](u=>u.id===x):d?.[0])??null;return s&&r?{...s,...G0(a,s,s[i(895)],!0)}:s}function ea(n,t){const x=c;return n||(t?.classList.contains(x(1917))?"target":t?.[x(946)].contains(x(1969))?x(1969):null)}function m5(n,t){let x=null;return t?x=!0:n&&!t&&(x=!1),x}const na=()=>!0;function v5(n,{connectionMode:t,connectionRadius:x,handleId:e,nodeId:o,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:d,lib:s,autoPanOnConnect:u,flowId:f,panBy:g,cancelConnection:b,onConnectStart:w,onConnect:y,onConnectEnd:h,isValidConnection:C=na,onReconnectEnd:p,updateConnection:v,getTransform:m,getFromHandle:M,autoPanSpeed:I,dragThreshold:Y=1,handleDomNode:G}){const V=c,U=Ii(n[V(1917)]);let Q=0,W;const{x:q,y:T}=n0(n),B=ea(r,G),D=a?.[V(650)]();let N=!1;if(!D||!B)return;const E=$i(o,B,e,d,t);if(!E)return;let P=n0(n,D),k=!1,Z=null,_=!1,J=null;function $(){if(!u||!D)return;const[S,A]=Bi(P,D,I);g({x:S,y:A}),Q=requestAnimationFrame($)}const te={...E,nodeId:o,type:B,position:E[V(895)]},ee=d[V(1519)](o);let ce={inProgress:!0,isValid:null,from:G0(ee,te,ue[V(1591)],!0),fromHandle:te,fromPosition:te[V(895)],fromNode:ee,to:P,toHandle:null,toPosition:vi[te[V(895)]],toNode:null,pointer:P};function ie(){N=!0,v(ce),w?.(n,{nodeId:o,handleId:e,handleType:B})}Y===0&&ie();function F(S){const A=V;if(!N){const{x:me,y:he}=n0(S),pe=me-q,Le=he-T;if(!(pe*pe+Le*Le>Y*Y))return;ie()}if(!M()||!te){le(S);return}const K=m();P=n0(S,D),W=y5(Xn(P,K,!1,[1,1]),x,d,te),!k&&($(),k=!0);const X=ta(S,{handle:W,connectionMode:t,fromNodeId:o,fromHandleId:e,fromType:A(i?1917:1969),isValidConnection:C,doc:U,lib:s,flowId:f,nodeLookup:d});J=X[A(2037)],Z=X[A(698)],_=m5(!!W,X[A(1218)]);const H=d[A(1519)](o),ae=H?G0(H,te,ue.Left,!0):ce[A(2029)],fe={...ce,from:ae,isValid:_,to:X[A(1407)]&&_?Ot({x:X[A(1407)].x,y:X[A(1407)].y},K):P,toHandle:X[A(1407)],toPosition:_&&X.toHandle?X.toHandle[A(895)]:vi[te[A(895)]],toNode:X.toHandle?d[A(1519)](X[A(1407)][A(2093)]):null,pointer:P};v(fe),ce=fe}function le(S){const A=V;if(!(A(1587)in S&&S[A(1587)][A(2088)]>0)){if(N){(W||J)&&Z&&_&&y?.(Z);const{inProgress:K,...X}=ce,H={...X,toPosition:ce.toHandle?ce.toPosition:null};h?.(S,H),r&&p?.(S,H)}b(),cancelAnimationFrame(Q),k=!1,_=!1,Z=null,J=null,U[A(1581)](A(968),F),U[A(1581)](A(511),le),U.removeEventListener(A(1238),F),U[A(1581)]("touchend",le)}}U[V(1619)]("mousemove",F),U[V(1619)]("mouseup",le),U[V(1619)](V(1238),F),U[V(1619)](V(2017),le)}function ta(n,{handle:t,connectionMode:x,fromNodeId:e,fromHandleId:o,fromType:r,doc:i,lib:a,flowId:d,isValidConnection:s=na,nodeLookup:u}){const f=c,g=r==="target",b=t?i[f(1753)]("."+a+f(695)+d+"-"+t?.nodeId+"-"+t?.id+"-"+t?.type+'"]'):null,{x:w,y}=n0(n),h=i[f(1049)](w,y),C=h?.classList.contains(a+f(1474))?h:b,p={handleDomNode:C,isValid:!1,connection:null,toHandle:null};if(C){const v=ea(void 0,C),m=C[f(1060)](f(1213)),M=C.getAttribute(f(1232)),I=C.classList.contains("connectable"),Y=C[f(946)][f(1392)](f(1786));if(!m||!v)return p;const G={source:g?m:e,sourceHandle:g?M:o,target:g?e:m,targetHandle:g?o:M};p[f(698)]=G;const V=I&&Y,U=V&&(x===rn.Strict?g&&v===f(1969)||!g&&v===f(1917):m!==e||M!==o);p[f(1218)]=U&&s(G),p[f(1407)]=$i(m,v,M,u,x,!0)}return p}const xo={onPointerDown:v5,isValid:ta};function w5({domNode:n,panZoom:t,getTransform:x,getViewScale:e}){const o=Xe(n);function r({translateExtent:a,width:d,height:s,zoomStep:u=1,pannable:f=!0,zoomable:g=!0,inversePan:b=!1}){const w=_0x1826,y=m=>{const M=_0x1826;if(m[M(1065)][M(1972)]!==M(1037)||!t)return;const I=x(),Y=m[M(1065)].ctrlKey&&Kn()?10:1,G=-m[M(1065)][M(352)]*(m[M(1065)].deltaMode===1?.05:m[M(1065)][M(1125)]?1:.002)*u,V=I[2]*Math.pow(2,G*Y);t[M(1991)](V)};let h=[0,0];const C=m=>{const M=_0x1826;(m.sourceEvent[M(1972)]==="mousedown"||m[M(1065)].type===M(867))&&(h=[m[M(1065)][M(493)]??m.sourceEvent.touches[0].clientX,m[M(1065)][M(1644)]??m[M(1065)][M(1587)][0].clientY])},p=m=>{const M=_0x1826,I=x();if(m[M(1065)][M(1972)]!==M(968)&&m.sourceEvent[M(1972)]!==M(1238)||!t)return;const Y=[m[M(1065)].clientX??m[M(1065)][M(1587)][0].clientX,m[M(1065)][M(1644)]??m[M(1065)][M(1587)][0][M(1644)]],G=[Y[0]-h[0],Y[1]-h[1]];h=Y;const V=e()*Math.max(I[2],Math[M(1478)](I[2]))*(b?-1:1),U={x:I[0]-G[0]*V,y:I[1]-G[1]*V},Q=[[0,0],[d,s]];t.setViewportConstrained({x:U.x,y:U.y,zoom:I[2]},Q,a)},v=hi().on(w(1870),C).on(w(536),f?p:null).on("zoom.wheel",g?y:null);o.call(v,{})}function i(){o.on("zoom",null)}return{update:r,destroy:i,pointer:Qe}}const Vt=n=>({x:n.x,y:n.y,zoom:n.k}),oo=({x:n,y:t,zoom:x})=>At[c(1513)](n,t)[c(568)](x),dn=(n,t)=>n[c(1917)][c(1994)]("."+t),xa=(n,t)=>t===2&&Array[c(915)](n)&&n[c(1052)](2),p5=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,ro=(n,t=0,x=p5,e=()=>{})=>{const o=c,r=typeof t===o(515)&&t>0;return!r&&e(),r?n[o(1165)]()[o(1160)](t)[o(923)](x).on(o(1015),e):n},oa=n=>{const t=c,x=n[t(1405)]&&Kn()?10:1;return-n.deltaY*(n.deltaMode===1?.05:n[t(1125)]?1:.002)*x};function z5({zoomPanValues:n,noWheelClassName:t,d3Selection:x,d3Zoom:e,panOnScrollMode:o,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:d,onPanZoomEnd:s}){return u=>{const f=_0x1826;if(dn(u,t))return u[f(1405)]&&u[f(308)](),!1;u[f(308)](),u[f(482)]();const g=x[f(830)]("__zoom").k||1;if(u[f(1405)]&&i){const C=Qe(u),p=oa(u),v=g*Math[f(1357)](2,p);e[f(1991)](x,v,C,u);return}const b=u[f(1125)]===1?20:1;let w=o===U0[f(1536)]?0:u[f(276)]*b,y=o===U0[f(1830)]?0:u[f(352)]*b;!Kn()&&u.shiftKey&&o!==U0[f(1536)]&&(w=u[f(352)]*b,y=0),e[f(1687)](x,-(w/g)*r,-(y/g)*r,{internal:!0});const h=Vt(x.property("__zoom"));clearTimeout(n[f(1812)]),n[f(908)]?(d?.(u,h),n[f(1812)]=setTimeout(()=>{const C=f;s?.(u,h),n[C(908)]=!1},150)):(n[f(908)]=!0,a?.(u,h))}}function C5({noWheelClassName:n,preventScrolling:t,d3ZoomHandler:x}){return function(e,o){const r=_0x1826,i=e[r(1972)]==="wheel",a=!t&&i&&!e.ctrlKey,d=dn(e,n);if(e[r(1405)]&&i&&d&&e[r(308)](),a||d)return null;e[r(308)](),x[r(671)](this,e,o)}}function M5({zoomPanValues:n,onDraggingChange:t,onPanZoomStart:x}){return e=>{const o=_0x1826;if(e.sourceEvent?.internal)return;const r=Vt(e[o(1430)]);n[o(1235)]=e[o(1065)]?.[o(634)]||0,n[o(1382)]=!0,n[o(1664)]=r,e[o(1065)]?.[o(1972)]===o(1910)&&t(!0),x&&x?.(e.sourceEvent,r)}}function B5({zoomPanValues:n,panOnDrag:t,onPaneContextMenu:x,onTransformChange:e,onPanZoom:o}){return r=>{const i=_0x1826;n.usedRightMouseButton=!!(x&&xa(t,n[i(1235)]??0)),!r[i(1065)]?.[i(612)]&&e([r[i(1430)].x,r[i(1430)].y,r.transform.k]),o&&!r[i(1065)]?.[i(1803)]&&o?.(r[i(1065)],Vt(r[i(1430)]))}}function D5({zoomPanValues:n,panOnDrag:t,panOnScroll:x,onDraggingChange:e,onPanZoomEnd:o,onPaneContextMenu:r}){return i=>{const a=_0x1826;if(!i[a(1065)]?.internal&&(n[a(1382)]=!1,r&&xa(t,n[a(1235)]??0)&&!n[a(751)]&&i[a(1065)]&&r(i.sourceEvent),n[a(751)]=!1,e(!1),o)){const d=Vt(i.transform);n[a(1664)]=d,clearTimeout(n[a(940)]),n.timerId=setTimeout(()=>{o?.(i[a(1065)],d)},x?150:0)}}}function L5({zoomActivationKeyPressed:n,zoomOnScroll:t,zoomOnPinch:x,panOnDrag:e,panOnScroll:o,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:d,lib:s,connectionInProgress:u}){return f=>{const g=_0x1826,b=n||t,w=x&&f[g(1405)],y=f[g(1972)]==="wheel";if(f.button===1&&f[g(1972)]===g(1910)&&(dn(f,s+g(1494))||dn(f,s+g(737))))return!0;if(!e&&!b&&!o&&!r&&!x||i||u&&!y||dn(f,a)&&y||dn(f,d)&&(!y||o&&y&&!n)||!x&&f[g(1405)]&&y)return!1;if(!x&&f[g(1972)]===g(867)&&f[g(1587)]?.length>1)return f[g(308)](),!1;if(!b&&!o&&!w&&y||!e&&(f[g(1972)]===g(1910)||f[g(1972)]===g(867))||Array[g(915)](e)&&!e[g(1052)](f.button)&&f[g(1972)]===g(1910))return!1;const h=Array.isArray(e)&&e[g(1052)](f[g(634)])||!f[g(634)]||f[g(634)]<=1;return(!f[g(1405)]||y)&&h}}function N5({domNode:n,minZoom:t,maxZoom:x,translateExtent:e,viewport:o,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}){const s=c,u={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=n[s(650)](),g=hi()[s(1326)]([t,x])[s(577)](e),b=Xe(n)[s(671)](g);v({x:o.x,y:o.y,zoom:an(o[s(536)],t,x)},[[0,0],[f[s(687)],f[s(500)]]],e);const w=b.on(s(1846)),y=b.on("dblclick.zoom");g[s(1316)](oa);function h(W,q){const T=s;return b?new Promise(B=>{const D=_0x1826;g?.[D(699)](q?.[D(699)]===D(1239)?An:Ct).transform(ro(b,q?.[D(1160)],q?.[D(923)],()=>B(!0)),W)}):Promise[T(491)](!1)}function C({noWheelClassName:W,noPanClassName:q,onPaneContextMenu:T,userSelectionActive:B,panOnScroll:D,panOnDrag:N,panOnScrollMode:E,panOnScrollSpeed:P,preventScrolling:k,zoomOnPinch:Z,zoomOnScroll:_,zoomOnDoubleClick:J,zoomActivationKeyPressed:$,lib:te,onTransformChange:ee,connectionInProgress:re,paneClickDistance:ce,selectionOnDrag:ie}){const F=s;B&&!u.isZoomingOrPanning&&p();const le=D&&!$&&!B;g[F(421)](ie?1/0:!e0(ce)||ce<0?0:ce);const S=le?z5({zoomPanValues:u,noWheelClassName:W,d3Selection:b,d3Zoom:g,panOnScrollMode:E,panOnScrollSpeed:P,zoomOnPinch:Z,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):C5({noWheelClassName:W,preventScrolling:k,d3ZoomHandler:w});if(b.on(F(1846),S,{passive:!1}),!B){const K=M5({zoomPanValues:u,onDraggingChange:d,onPanZoomStart:i});g.on(F(1870),K);const X=B5({zoomPanValues:u,panOnDrag:N,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ee});g.on(F(536),X);const H=D5({zoomPanValues:u,panOnDrag:N,panOnScroll:D,onPaneContextMenu:T,onPanZoomEnd:a,onDraggingChange:d});g.on(F(1015),H)}const A=L5({zoomActivationKeyPressed:$,panOnDrag:N,zoomOnScroll:_,panOnScroll:D,zoomOnDoubleClick:J,zoomOnPinch:Z,userSelectionActive:B,noPanClassName:q,noWheelClassName:W,lib:te,connectionInProgress:re});g[F(891)](A),J?b.on(F(1748),y):b.on("dblclick.zoom",null)}function p(){g.on("zoom",null)}async function v(W,q,T){const B=s,D=oo(W),N=g?.[B(1946)]()(D,q,T);return N&&await h(N),new Promise(E=>E(N))}async function m(W,q){const T=oo(W);return await h(T,q),new Promise(B=>B(T))}function M(W){const q=s;if(b){const T=oo(W),B=b[q(830)](q(1214));(B.k!==W[q(536)]||B.x!==W.x||B.y!==W.y)&&g?.transform(b,T,null,{sync:!0})}}function I(){const W=s,q=b?fi(b[W(1368)]()):{x:0,y:0,k:1};return{x:q.x,y:q.y,zoom:q.k}}function Y(W,q){return b?new Promise(T=>{const B=_0x1826;g?.[B(699)](q?.[B(699)]===B(1239)?An:Ct)[B(1991)](ro(b,q?.[B(1160)],q?.[B(923)],()=>T(!0)),W)}):Promise.resolve(!1)}function G(W,q){const T=s;return b?new Promise(B=>{const D=_0x1826;g?.interpolate(q?.[D(699)]===D(1239)?An:Ct)[D(881)](ro(b,q?.duration,q?.[D(923)],()=>B(!0)),W)}):Promise[T(491)](!1)}function V(W){g?.scaleExtent(W)}function U(W){g?.[s(577)](W)}function Q(W){const q=!e0(W)||W<0?0:W;g?.clickDistance(q)}return{update:C,destroy:p,setViewport:m,setViewportConstrained:v,getViewport:I,scaleTo:Y,scaleBy:G,setScaleExtent:V,setTranslateExtent:U,syncViewport:M,setClickDistance:Q}}var un;(function(n){const t=c;n[t(823)]=t(316),n[t(1595)]="handle"})(un||(un={}));function S5({width:n,prevWidth:t,height:x,prevHeight:e,affectsX:o,affectsY:r}){const i=n-t,a=x-e,d=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&o&&(d[0]=d[0]*-1),a&&r&&(d[1]=d[1]*-1),d}function ra(n){const t=c,x=n.includes(t(291))||n[t(1052)](t(1955)),e=n[t(1052)]("bottom")||n[t(1052)](t(1171)),o=n[t(1052)](t(1955)),r=n.includes(t(1171));return{isHorizontal:x,isVertical:e,affectsX:o,affectsY:r}}function p0(n,t){return Math[c(363)](0,t-n)}function z0(n,t){return Math.max(0,n-t)}function Ht(n,t,x){return Math[c(363)](0,t-n,n-x)}function ia(n,t){return n?!t:t}function k5(n,t,x,e,o,r,i,a){const d=c;let{affectsX:s,affectsY:u}=t;const{isHorizontal:f,isVertical:g}=t,b=f&&g,{xSnapped:w,ySnapped:y}=x,{minWidth:h,maxWidth:C,minHeight:p,maxHeight:v}=e,{x:m,y:M,width:I,height:Y,aspectRatio:G}=n;let V=Math[d(1159)](f?w-n[d(1001)]:0),U=Math[d(1159)](g?y-n[d(304)]:0);const Q=I+(s?-V:V),W=Y+(u?-U:U),q=-r[0]*I,T=-r[1]*Y;let B=Ht(Q,h,C),D=Ht(W,p,v);if(i){let P=0,k=0;s&&V<0?P=p0(m+V+q,i[0][0]):!s&&V>0&&(P=z0(m+Q+q,i[1][0])),u&&U<0?k=p0(M+U+T,i[0][1]):!u&&U>0&&(k=z0(M+W+T,i[1][1])),B=Math[d(363)](B,P),D=Math[d(363)](D,k)}if(a){let P=0,k=0;s&&V>0?P=z0(m+V,a[0][0]):!s&&V<0&&(P=p0(m+Q,a[1][0])),u&&U>0?k=z0(M+U,a[0][1]):!u&&U<0&&(k=p0(M+W,a[1][1])),B=Math[d(363)](B,P),D=Math[d(363)](D,k)}if(o){if(f){const P=Ht(Q/G,p,v)*G;if(B=Math[d(363)](B,P),i){let k=0;!s&&!u||s&&!u&&b?k=z0(M+T+Q/G,i[1][1])*G:k=p0(M+T+(s?V:-V)/G,i[0][1])*G,B=Math[d(363)](B,k)}if(a){let k=0;!s&&!u||s&&!u&&b?k=p0(M+Q/G,a[1][1])*G:k=z0(M+(s?V:-V)/G,a[0][1])*G,B=Math.max(B,k)}}if(g){const P=Ht(W*G,h,C)/G;if(D=Math[d(363)](D,P),i){let k=0;!s&&!u||u&&!s&&b?k=z0(m+W*G+q,i[1][0])/G:k=p0(m+(u?U:-U)*G+q,i[0][0])/G,D=Math[d(363)](D,k)}if(a){let k=0;!s&&!u||u&&!s&&b?k=p0(m+W*G,a[1][0])/G:k=z0(m+(u?U:-U)*G,a[0][0])/G,D=Math[d(363)](D,k)}}}U=U+(U<0?D:-D),V=V+(V<0?B:-B),o&&(b?Q>W*G?U=(ia(s,u)?-V:V)/G:V=(ia(s,u)?-U:U)*G:f?(U=V/G,u=s):(V=U*G,s=u));const N=s?m+V:m,E=u?M+U:M;return{width:I+(s?-V:V),height:Y+(u?-U:U),x:r[0]*V*(s?-1:1)+N,y:r[1]*U*(u?-1:1)+E}}const aa={width:0,height:0,x:0,y:0},P5={...aa,pointerX:0,pointerY:0,aspectRatio:1};function I5(n){const t=c;return[[0,0],[n[t(1285)].width,n[t(1285)][t(500)]]]}function A5(n,t,x){const e=c,o=t[e(895)].x+n[e(895)].x,r=t[e(895)].y+n[e(895)].y,i=n[e(1285)][e(687)]??0,a=n.measured[e(500)]??0,d=x[0]*i,s=x[1]*a;return[[o-d,r-s],[o+i-d,r+a-s]]}function E5({domNode:n,nodeId:t,getStoreItems:x,onChange:e,onEnd:o}){const r=c,i=Xe(n);let a={controlDirection:ra(r(501)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(1937)],maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:u,boundaries:f,keepAspectRatio:g,resizeDirection:b,onResizeStart:w,onResize:y,onResizeEnd:h,shouldResize:C}){const p=r;let v={...aa},m={...P5};a={boundaries:f,resizeDirection:b,keepAspectRatio:g,controlDirection:ra(u)};let M,I=null,Y=[],G,V,U,Q=!1;const W=Gr().on("start",q=>{const T=_0x1826,{nodeLookup:B,transform:D,snapGrid:N,snapToGrid:E,nodeOrigin:P,paneDomNode:k}=x();if(M=B[T(1519)](t),!M)return;I=k?.[T(650)]()??null;const{xSnapped:Z,ySnapped:_}=Zn(q[T(1065)],{transform:D,snapGrid:N,snapToGrid:E,containerBounds:I});v={width:M.measured[T(687)]??0,height:M[T(1285)].height??0,x:M[T(895)].x??0,y:M[T(895)].y??0},m={...v,pointerX:Z,pointerY:_,aspectRatio:v.width/v[T(500)]},G=void 0,M[T(684)]&&(M[T(1100)]===T(1464)||M[T(382)])&&(G=B[T(1519)](M[T(684)]),V=G&&M.extent==="parent"?I5(G):void 0),Y=[],U=void 0;for(const[J,$]of B)if($[T(684)]===t&&(Y[T(1297)]({id:J,position:{...$.position},extent:$[T(1100)]}),$[T(1100)]===T(1464)||$[T(382)])){const te=A5($,M,$[T(1288)]??P);U?U=[[Math[T(408)](te[0][0],U[0][0]),Math[T(408)](te[0][1],U[0][1])],[Math[T(363)](te[1][0],U[1][0]),Math[T(363)](te[1][1],U[1][1])]]:U=te}w?.(q,{...v})}).on("drag",q=>{const T=_0x1826,{transform:B,snapGrid:D,snapToGrid:N,nodeOrigin:E}=x(),P=Zn(q[T(1065)],{transform:B,snapGrid:D,snapToGrid:N,containerBounds:I}),k=[];if(!M)return;const{x:Z,y:_,width:J,height:$}=v,te={},ee=M[T(1288)]??E,{width:re,height:ce,x:ie,y:F}=k5(m,a.controlDirection,P,a[T(921)],a[T(1778)],ee,V,U),le=re!==J,S=ce!==$,A=ie!==Z&&le,K=F!==_&&S;if(!A&&!K&&!le&&!S)return;if((A||K||ee[0]===1||ee[1]===1)&&(te.x=A?ie:v.x,te.y=K?F:v.y,v.x=te.x,v.y=te.y,Y[T(2088)]>0)){const fe=ie-Z,me=F-_;for(const he of Y)he[T(895)]={x:he[T(895)].x-fe+ee[0]*(re-J),y:he.position.y-me+ee[1]*(ce-$)},k[T(1297)](he)}if((le||S)&&(te.width=le&&(!a.resizeDirection||a[T(284)]===T(282))?re:v[T(687)],te[T(500)]=S&&(!a[T(284)]||a[T(284)]===T(1463))?ce:v[T(500)],v[T(687)]=te[T(687)],v[T(500)]=te[T(500)]),G&&M[T(382)]){const fe=ee[0]*(te.width??0);te.x&&te.x<fe&&(v.x=fe,m.x=m.x-(te.x-fe));const me=ee[1]*(te[T(500)]??0);te.y&&te.y<me&&(v.y=me,m.y=m.y-(te.y-me))}const X=S5({width:v.width,prevWidth:J,height:v[T(500)],prevHeight:$,affectsX:a[T(914)][T(506)],affectsY:a[T(914)][T(2104)]}),H={...v,direction:X};C?.(q,H)!==!1&&(Q=!0,y?.(q,H),e(te,k))}).on(p(1015),q=>{Q&&(h?.(q,{...v}),o?.({...v}),Q=!1)});i[p(671)](W)}function s(){const u=r;i.on(u(519),null)}return{update:d,destroy:s}}var Tt={exports:{}},io={},qt={exports:{}},ao={},ca;function j5(){const n=c;if(ca)return ao;ca=1;var t=L;function x(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var e=n(828)===typeof Object.is?Object.is:x,o=t.useState,r=t[n(1046)],i=t[n(1797)],a=t[n(1583)];function d(g,b){const w=n;var y=b(),h=o({inst:{value:y,getSnapshot:b}}),C=h[0][w(1584)],p=h[1];return i(function(){const v=w;C[v(658)]=y,C[v(1603)]=b,s(C)&&p({inst:C})},[g,y,b]),r(function(){return s(C)&&p({inst:C}),g(function(){s(C)&&p({inst:C})})},[g]),a(y),y}function s(g){var b=g.getSnapshot;g=g.value;try{var w=b();return!e(g,w)}catch{return!0}}function u(g,b){return b()}var f=typeof window>"u"||n(758)===typeof window.document||n(758)===typeof window[n(1157)][n(922)]?u:d;return ao[n(651)]=t[n(651)]!==void 0?t.useSyncExternalStore:f,ao}var co={},sa;function Y5(){const n=c;return sa||(sa=1,n(1925)!==process.env.NODE_ENV&&(function(){const t=n;function x(y,h){return y===h&&(y!==0||1/y===1/h)||y!==y&&h!==h}function e(y,h){const C=_0x1826;g||i[C(2002)]===void 0||(g=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=h();if(!b){var v=h();a(p,v)||(console[C(1186)](C(1855)),b=!0)}v=d({inst:{value:p,getSnapshot:h}});var m=v[0][C(1584)],M=v[1];return u(function(){m.value=p,m.getSnapshot=h,o(m)&&M({inst:m})},[y,p,h]),s(function(){return o(m)&&M({inst:m}),y(function(){o(m)&&M({inst:m})})},[y]),f(p),p}function o(y){const h=_0x1826;var C=y.getSnapshot;y=y[h(658)];try{var p=C();return!a(y,p)}catch{return!0}}function r(y,h){return h()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&t(828)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(1352)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(1352)](Error());var i=L,a=t(828)===typeof Object.is?Object.is:x,d=i[t(1183)],s=i[t(1046)],u=i[t(1797)],f=i[t(1583)],g=!1,b=!1,w=t(758)===typeof window||t(758)===typeof window[t(1157)]||t(758)===typeof window[t(1157)][t(922)]?r:e;co[t(651)]=i[t(651)]!==void 0?i.useSyncExternalStore:w,t(758)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(283)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(283)](Error())})()),co}var la;function da(){const n=c;return la?qt[n(1480)]:(la=1,process.env.NODE_ENV===n(1925)?qt.exports=j5():qt[n(1480)]=Y5(),qt.exports)}var ua;function U5(){const n=c;if(ua)return io;ua=1;var t=L,x=da();function e(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var o=n(828)===typeof Object.is?Object.is:e,r=x.useSyncExternalStore,i=t.useRef,a=t[n(1046)],d=t.useMemo,s=t[n(1583)];return io.useSyncExternalStoreWithSelector=function(u,f,g,b,w){const y=n;var h=i(null);if(h.current===null){var C={hasValue:!1,value:null};h[y(1621)]=C}else C=h[y(1621)];h=d(function(){function v(G){const V=_0x1826;if(!m){if(m=!0,M=G,G=b(G),w!==void 0&&C[V(2057)]){var U=C.value;if(w(U,G))return I=U}return I=G}if(U=I,o(M,G))return U;var Q=b(G);return w!==void 0&&w(U,Q)?(M=G,U):(M=G,I=Q)}var m=!1,M,I,Y=g===void 0?null:g;return[function(){return v(f())},Y===null?void 0:function(){return v(Y())}]},[f,g,b,w]);var p=r(u,h[0],h[1]);return a(function(){const v=y;C.hasValue=!0,C[v(658)]=p},[p]),s(p),p},io}var so={},fa;function O5(){const n=c;return fa||(fa=1,n(1925)!==process.env.NODE_ENV&&(function(){const t=n;function x(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}t(758)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&t(828)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(1352)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(1352)](Error());var e=L,o=da(),r=t(828)===typeof Object.is?Object.is:x,i=o[t(651)],a=e[t(270)],d=e[t(1046)],s=e[t(662)],u=e[t(1583)];so[t(1695)]=function(f,g,b,w,y){const h=t;var C=a(null);if(C.current===null){var p={hasValue:!1,value:null};C.current=p}else p=C[h(1621)];C=s(function(){function m(V){const U=_0x1826;if(!M){if(M=!0,I=V,V=w(V),y!==void 0&&p.hasValue){var Q=p[U(658)];if(y(Q,V))return Y=Q}return Y=V}if(Q=Y,r(I,V))return Q;var W=w(V);return y!==void 0&&y(Q,W)?(I=V,Q):(I=V,Y=W)}var M=!1,I,Y,G=b===void 0?null:b;return[function(){return m(g())},G===null?void 0:function(){return m(G())}]},[g,b,w,y]);var v=i(f,C[0],C[1]);return d(function(){const m=h;p[m(2057)]=!0,p[m(658)]=v},[v]),u(v),v},t(758)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[t(283)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[t(283)](Error())})()),so}var ba;function G5(){const n=c;return ba?Tt.exports:(ba=1,process.env.NODE_ENV===n(1925)?Tt[n(1480)]=U5():Tt[n(1480)]=O5(),Tt[n(1480)])}var V5=G5();const H5=vn(V5),T5={},ha=n=>{let t;const x=new Set,e=(u,f)=>{const g=_0x1826,b=typeof u===g(828)?u(t):u;if(!Object.is(b,t)){const w=t;t=f??(typeof b!="object"||b===null)?b:Object[g(646)]({},t,b),x.forEach(y=>y(t,w))}},o=()=>t,r=()=>s,i=u=>{const f=_0x1826;return x[f(315)](u),()=>x[f(779)](u)},a=()=>{const u=_0x1826;(T5?u(1925):void 0)!==u(1925)&&console[u(1331)]("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),x[u(1867)]()},d={setState:e,getState:o,getInitialState:r,subscribe:i,destroy:a},s=t=n(e,o,d);return d},q5=n=>n?ha(n):ha,{useDebugValue:W5}=L,{useSyncExternalStoreWithSelector:X5}=H5,K5=n=>n;function ga(n,t=K5,x){const e=c,o=X5(n.subscribe,n.getState,n[e(1315)]||n[e(557)],t,x);return W5(o),o}const ya=(n,t)=>{const x=c,e=q5(n),o=(r,i=t)=>ga(e,r,i);return Object[x(646)](o,e),o},Z5=(n,t)=>n?ya(n,t):ya;function ke(n,t){const x=c;if(Object.is(n,t))return!0;if(typeof n!="object"||n===null||typeof t!="object"||t===null)return!1;if(n instanceof Map&&t instanceof Map){if(n[x(1424)]!==t.size)return!1;for(const[o,r]of n)if(!Object.is(r,t[x(1519)](o)))return!1;return!0}if(n instanceof Set&&t instanceof Set){if(n[x(1424)]!==t[x(1424)])return!1;for(const o of n)if(!t[x(663)](o))return!1;return!0}const e=Object.keys(n);if(e[x(2088)]!==Object.keys(t).length)return!1;for(const o of e)if(!Object.prototype[x(1600)][x(671)](t,o)||!Object.is(n[o],t[o]))return!1;return!0}const Wt=L.createContext(null),R5=Wt.Provider,ma=Ke[c(1010)]();function Be(n,t){const x=c,e=L[x(1528)](Wt);if(e===null)throw new Error(ma);return ga(e,n,t)}function Pe(){const n=c,t=L[n(1528)](Wt);if(t===null)throw new Error(ma);return L[n(662)](()=>({getState:t[n(356)],setState:t[n(1121)],subscribe:t[n(1933)]}),[t])}const va={display:"none"},J5={position:c(654),width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1276),clip:c(1985),clipPath:c(1319)},wa="react-flow__node-desc",pa=c(656),_5=c(1448),Q5=n=>n[c(1476)],F5=n=>n[c(1064)];function $5({rfId:n}){const t=c,x=Be(Q5);return l[t(1838)](t(701),{id:_5+"-"+n,"aria-live":t(357),"aria-atomic":t(1403),style:J5,children:x})}function eb({rfId:n,disableKeyboardA11y:t}){const x=c,e=Be(F5);return l[x(328)](l[x(561)],{children:[l.jsx(x(701),{id:wa+"-"+n,style:va,children:t?e[x(1785)]:e[x(1092)]}),l[x(1838)]("div",{id:pa+"-"+n,style:va,children:e[x(683)]}),!t&&l[x(1838)]($5,{rfId:n})]})}const Xt=L[c(1604)](({position:n="top-left",children:t,className:x,style:e,...o},r)=>{const i=c,a=(""+n)[i(853)]("-");return l.jsx(i(701),{className:Ae([i(599),x,...a]),style:e,ref:r,...o,children:t})});Xt[c(1342)]=c(1651);function nb({proOptions:n,position:t="bottom-right"}){const x=c;return n?.hideAttribution?null:l[x(1838)](Xt,{position:t,className:x(1711),"data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:l[x(1838)]("a",{href:x(588),target:x(298),rel:x(494),"aria-label":x(2095),children:x(2006)})})}const tb=n=>{const t=c,x=[],e=[];for(const[,o]of n[t(1568)])o[t(1470)]&&x[t(1297)](o[t(1752)].userNode);for(const[,o]of n[t(1124)])o.selected&&e[t(1297)](o);return{selectedNodes:x,selectedEdges:e}},Kt=n=>n.id;function xb(n,t){const x=c;return ke(n[x(1189)][x(802)](Kt),t[x(1189)][x(802)](Kt))&&ke(n[x(2004)].map(Kt),t[x(2004)][x(802)](Kt))}function ob({onSelectionChange:n}){const t=c,x=Pe(),{selectedNodes:e,selectedEdges:o}=Be(tb,xb);return L[t(1046)](()=>{const r=t,i={nodes:e,edges:o};n?.(i),x[r(356)]().onSelectionChangeHandlers[r(1105)](a=>a(i))},[e,o,n]),null}const rb=n=>!!n[c(818)];function ib({onSelectionChange:n}){const t=c,x=Be(rb);return n||x?l[t(1838)](ob,{onSelectionChange:n}):null}const lo=typeof window<"u"?L.useLayoutEffect:L.useEffect,za=[0,0],ab={x:0,y:0,zoom:1},cb=[c(906),c(2048),c(1451),c(1499),c(443),c(2081),c(436),c(416),c(1190),c(1344),"autoPanOnNodeFocus",c(941),c(428),c(517),c(594),"elevateNodesOnSelect",c(796),c(965),"maxZoom",c(1375),c(1181),"onEdgesChange",c(1203),c(397),"snapGrid",c(1236),c(577),c(1216),"defaultEdgeOptions","fitView",c(766),c(1660),c(939),c(754),c(1749),c(1737),"onNodeDragStop",c(549),c(293),c(427),c(803),c(296),c(481),"noPanClassName",c(1337),c(649),c(966),c(1383),"connectionRadius","isValidConnection",c(954),c(1454),c(1130),c(1054),c(930),c(1090),c(1064),c(414)],Ca=[...cb,"rfId"],sb=n=>({setNodes:n[c(1807)],setEdges:n[c(344)],setMinZoom:n[c(1443)],setMaxZoom:n[c(1700)],setTranslateExtent:n.setTranslateExtent,setNodeExtent:n.setNodeExtent,reset:n[c(810)],setDefaultNodesAndEdges:n[c(1360)]}),Ma={translateExtent:Gn,nodeOrigin:za,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(426),rfId:"1"};function lb(n){const t=c,{setNodes:x,setEdges:e,setMinZoom:o,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:d,setDefaultNodesAndEdges:s}=Be(sb,ke),u=Pe();lo(()=>(s(n[_0x1826(1451)],n.defaultEdges),()=>{f.current=Ma,d()}),[]);const f=L[t(270)](Ma);return lo(()=>{const g=t;for(const b of Ca){const w=n[b],y=f[g(1621)][b];w!==y&&typeof n[b]!==g(758)&&(b==="nodes"?x(w):b===g(2048)?e(w):b===g(965)?o(w):b===g(944)?r(w):b==="translateExtent"?i(w):b===g(1375)?a(w):b===g(1064)?u.setState({ariaLabelConfig:Zf(w)}):b===g(1101)?u.setState({fitViewQueued:w}):b===g(766)?u[g(1121)]({fitViewOptions:w}):u[g(1121)]({[b]:w}))}f.current=n},Ca[t(802)](g=>n[g])),null}function Ba(){const n=c;return typeof window===n(758)||!window[n(1408)]?null:window[n(1408)](n(274))}function db(n){const t=c,[x,e]=L[t(1183)](n==="system"?null:n);return L.useEffect(()=>{const o=t;if(n!==o(299)){e(n);return}const r=Ba(),i=()=>e(r?.[o(1294)]?o(936):o(1058));return i(),r?.[o(1619)](o(573),i),()=>{const a=o;r?.[a(1581)](a(573),i)}},[n]),x!==null?x:Ba()?.matches?t(936):t(1058)}const Da=typeof document<"u"?document:null;function Rn(n=null,t={target:Da,actInsideInputWithModifier:!0}){const x=c,[e,o]=L[x(1183)](!1),r=L[x(270)](!1),i=L.useRef(new Set([])),[a,d]=L[x(662)](()=>{const s=x;if(n!==null){const u=Array[s(915)](n)?n:[n],f=u[s(891)](b=>typeof b===s(976))[s(802)](b=>b[s(1582)]("+",`
|
|
4
|
-
`)[s(
|
|
1
|
+
(function(be,l){const D=_0xa8e1,C=be();for(;;)try{if(parseInt(D(1425))/1+parseInt(D(2135))/2+parseInt(D(2105))/3*(parseInt(D(2083))/4)+-parseInt(D(646))/5*(parseInt(D(1735))/6)+parseInt(D(1262))/7*(parseInt(D(1447))/8)+parseInt(D(2148))/9+-parseInt(D(1085))/10*(parseInt(D(1004))/11)===l)break;C.push(C.shift())}catch{C.push(C.shift())}})(_0x29ef,323616),(function(be,l){const D=_0xa8e1;typeof exports===D(1918)&&typeof module!==D(910)?l(exports,require("react/jsx-runtime"),require(D(1096)),require(D(675)),require(D(1144)),require("zustand"),require("immer"),require("nanoid"),require(D(1940)),require(D(821))):typeof define===D(1200)&&define[D(1568)]?define([D(1240),D(811),"react",D(675),D(1144),"zustand","immer",D(1137),D(1940),D(821)],l):(be=typeof globalThis!==D(910)?globalThis:be||self,l(be[D(2100)]={},be[D(1503)],be[D(557)],be[D(675)],be[D(1177)],be[D(868)],be[D(951)],be[D(1137)],be[D(1512)]))})(this,function(be,l,D,C,le,lx,$n,pe,et){"use strict";function _0xa8e1(be,l){be=be-386;const D=_0x29ef();let C=D[be];if(_0xa8e1.lSyBoU===void 0){var le=function(et){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let J0="",vn="";for(let qe=0,c0,s0,pn=0;s0=et.charAt(pn++);~s0&&(c0=qe%4?c0*64+s0:s0,qe++%4)?J0+=String.fromCharCode(255&c0>>(-2*qe&6)):0)s0=c.indexOf(s0);for(let qe=0,c0=J0.length;qe<c0;qe++)vn+="%"+("00"+J0.charCodeAt(qe).toString(16)).slice(-2);return decodeURIComponent(vn)};_0xa8e1.EBxaYK=le,_0xa8e1.NBmmBJ={},_0xa8e1.lSyBoU=!0}const lx=D[0],$n=be+lx,pe=_0xa8e1.NBmmBJ[$n];return pe?C=pe:(C=_0xa8e1.EBxaYK(C),_0xa8e1.NBmmBJ[$n]=C),C}const c=_0xa8e1;var J0=document[c(1759)](c(752));J0[c(1931)]=`.react-flow{direction:ltr;--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: rgba(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: rgba(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-props, var(--xy-background-color, 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.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.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 .react-flow__edges{position:absolute}.react-flow .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__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.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__pane.selection .react-flow__panel{pointer-events:none}.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.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.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-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__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right: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:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));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))}.ConfigEditor-module__configEditor__dinNG{width:100%;height:100%;display:flex;flex-direction:column}.ConfigEditor-module__configEditor__dinNG .ant-layout{background:#f5f5f5}.ConfigEditor-module__configEditor__dinNG .ant-layout-sider{background:#fff}.ConfigEditor-module__configEditor__dinNG .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:8px 0}.ConfigEditor-module__configEditor__dinNG .ant-list-item{padding:8px 12px}.ConfigEditor-module__canvasGrid__yL2Pn{background-image:linear-gradient(#e8e8e8 1px,transparent 1px),linear-gradient(90deg,#e8e8e8 1px,transparent 1px);background-size:20px 20px}.ConfigEditor-module__nodeSelected__CePHY{box-shadow:0 0 0 2px #1890ff,0 0 10px #1890ff4d}.ConfigEditor-module__dragging__w3tvz{cursor:grabbing!important;opacity:.8}.ConfigEditor-module__toolbarBtn__vRYDU{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.ConfigEditor-module__toolbarBtn__vRYDU:hover{background-color:#f3f4f6}.ConfigEditor-module__toolbarBtn__vRYDU.ConfigEditor-module__active__nREu2{background-color:#dbeafe;color:#2563eb}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item{margin-bottom:12px}.ConfigEditor-module__propertyForm__f-Egu .ant-form-item-label{padding-bottom:4px}.ConfigEditor-module__materialItem__rDby0{transition:all .2s}.ConfigEditor-module__materialItem__rDby0:hover{background-color:#f9fafb}.ConfigEditor-module__materialItem__rDby0.ConfigEditor-module__selected__rIJzf{background-color:#eff6ff;box-shadow:0 0 0 2px #60a5fa}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar{width:6px;height:6px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.ConfigEditor-module__configEditor__dinNG ::-webkit-scrollbar-thumb:hover{background:#a8a8a8}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\\!visible{visibility:visible!important}.visible{visibility:visible}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-10{z-index:10}.z-50{z-index:50}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.\\!mr-0{margin-right:0!important}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.w-0\\.5{width:.125rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.min-w-\\[180px\\]{min-width:180px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-none{list-style-type:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.\\!bg-blue-500{--tw-bg-opacity: 1 !important;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))!important}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\\/50{background-color:#eff6ff80}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/10{background-color:#3b82f61a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1)) }.ring-opacity-50{--tw-ring-opacity: .5 }.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.file\\:mr-4::file-selector-button{margin-right:1rem}.file\\:rounded-full::file-selector-button{border-radius:9999px}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-blue-50::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-semibold::file-selector-button{font-weight:600}.file\\:text-blue-700::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.hover\\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:file\\:bg-blue-100::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1)) }
|
|
2
|
+
/*$vite$:1*/`,document[c(897)][c(1762)](J0);function vn(e){const n=c;return e&&e[n(1157)]&&Object[n(578)][n(1697)][n(1225)](e,"default")?e[n(1170)]:e}var qe={},c0={exports:{}},s0;function pn(){const e=c;return s0?c0[e(1240)]:(s0=1,(function(n){const t=e;function x(o){return o&&o[_0xa8e1(1157)]?o:{default:o}}n.exports=x,n.exports.__esModule=!0,n[t(1240)][t(1170)]=n[t(1240)]})(c0),c0.exports)}var bn={},Mo;function Yc(){const e=c;if(Mo)return bn;Mo=1,Object[e(2e3)](bn,"__esModule",{value:!0}),bn[e(1170)]=void 0;const n={items_per_page:e(2167),jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1030),next_page:"下一页",prev_5:e(1392),next_5:"向后 5 页",prev_3:e(779),next_3:e(826),page_size:"页码"};return bn[e(1170)]=n,bn}var zn={},Cn={},Mn={},Bn={},Bo;function Uc(){const e=c;return Bo||(Bo=1,Object[e(2e3)](Bn,e(1157),{value:!0}),Bn[e(1083)]=void 0,Bn.commonLocale={yearFormat:e(1130),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Bn}var Do;function Oc(){const e=c;if(Do)return Mn;Do=1,Object.defineProperty(Mn,e(1157),{value:!0}),Mn[e(1170)]=void 0;var n=Uc();function t(s){"@babel/helpers - typeof";const f=e;return t=f(1200)==typeof Symbol&&f(1944)==typeof Symbol[f(533)]?function(u){return typeof u}:function(u){const y=f;return u&&y(1200)==typeof Symbol&&u[y(1445)]===Symbol&&u!==Symbol[y(578)]?"symbol":typeof u},t(s)}function x(s,f){const u=e;var y=Object[u(785)](s);if(Object[u(2048)]){var h=Object.getOwnPropertySymbols(s);f&&(h=h[u(1928)](function(w){const g=u;return Object[g(1378)](s,w)[g(668)]})),y[u(541)][u(816)](y,h)}return y}function o(s){const f=e;for(var u=1;u<arguments[f(2062)];u++){var y=arguments[u]!=null?arguments[u]:{};u%2?x(Object(y),!0)[f(1575)](function(h){r(s,h,y[h])}):Object[f(2054)]?Object[f(1266)](s,Object[f(2054)](y)):x(Object(y))[f(1575)](function(h){Object[f(2e3)](s,h,Object.getOwnPropertyDescriptor(y,h))})}return s}function r(s,f,u){const y=e;return f=i(f),f in s?Object[y(2e3)](s,f,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[f]=u,s}function i(s){var u=a(s,e(891));return t(u)=="symbol"?u:String(u)}function a(s,f){const u=e;if(u(1918)!=t(s)||!s)return s;var y=s[Symbol[u(1977)]];if(y!==void 0){var h=y.call(s,f);if(t(h)!="object")return h;throw new TypeError(u(1129))}return(f==="string"?String:Number)(s)}var d=o(o({},n[e(1083)]),{},{locale:e(1763),today:"今天",now:"此刻",backToToday:e(1584),ok:"确定",timeSelect:e(526),dateSelect:e(539),weekSelect:e(594),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1143),nextMonth:e(1916),monthSelect:e(1666),yearSelect:"选择年份",decadeSelect:e(1716),previousYear:e(924),nextYear:e(1391),previousDecade:e(882),nextDecade:"下一年代",previousCentury:e(1056),nextCentury:e(2064),yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return Mn[e(1170)]=d,Mn}var Dn={},Lo;function No(){const e=c;if(Lo)return Dn;Lo=1,Object.defineProperty(Dn,e(1157),{value:!0}),Dn[e(1170)]=void 0;const n={placeholder:e(1467),rangePlaceholder:["开始时间",e(925)]};return Dn.default=n,Dn}var So;function ko(){const e=c;if(So)return Cn;So=1;var n=pn()[e(1170)];Object[e(2e3)](Cn,e(1157),{value:!0}),Cn[e(1170)]=void 0;var t=n(Oc()),x=n(No());const o={lang:{placeholder:e(1462),yearPlaceholder:"请选择年份",quarterPlaceholder:e(1804),monthPlaceholder:e(654),weekPlaceholder:e(1777),rangePlaceholder:[e(2099),e(1029)],rangeYearPlaceholder:["开始年份",e(2151)],rangeMonthPlaceholder:[e(1239),e(930)],rangeQuarterPlaceholder:["开始季度",e(858)],rangeWeekPlaceholder:["开始周",e(647)],...t[e(1170)]},timePickerLocale:{...x[e(1170)]}};return o[e(1489)].ok="确定",Cn[e(1170)]=o,Cn}var Po;function Gc(){const e=c;if(Po)return zn;Po=1;var n=pn().default;Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=void 0;var t=n(ko());return zn.default=t[e(1170)],zn}var Io;function Hc(){const e=c;if(Io)return qe;Io=1;var n=pn().default;Object.defineProperty(qe,"__esModule",{value:!0}),qe[e(1170)]=void 0;var t=n(Yc()),x=n(Gc()),o=n(ko()),r=n(No());const i=e(478),a={locale:"zh-cn",Pagination:t.default,DatePicker:o[e(1170)],TimePicker:r[e(1170)],Calendar:x.default,global:{placeholder:e(726),close:"关闭",sortable:e(1836)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:e(1639),selectAll:e(1536),selectInvert:e(1202),selectNone:e(426),selectionAll:e(452),sortTitle:"排序",expand:"展开行",collapse:e(2032),triggerDesc:e(1783),triggerAsc:e(2012),cancelSort:e(1191)},Modal:{okText:"确定",cancelText:"取消",justOkText:e(2090)},Tour:{Next:e(1680),Previous:"上一步",Finish:e(1466)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(1536),removeCurrent:e(1468),selectAll:e(452),deselectAll:e(1958),removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:e(764),removeFile:e(803),uploadError:"上传错误",previewFile:e(1529),downloadFile:e(406)},Empty:{description:e(1639)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(2117),expand:"展开",collapse:"收起"},Form:{optional:e(697),defaultValidateMessages:{default:e(1515),required:"请输入${label}",enum:e(1541),whitespace:e(1038),date:{format:e(835),parse:e(1360),invalid:e(1872)},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:e(952),min:e(659),max:e(1167),range:e(922)},number:{len:e(2069),min:"${label}最小值为${min}",max:e(841),range:e(993)},array:{len:e(893),min:e(743),max:e(590),range:e(2111)},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},QRCode:{expired:e(1657),refresh:e(1771),scanned:e(1974)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}};return qe[e(1170)]=a,qe}var dx,jo;function Tc(){return jo||(jo=1,dx=Hc()),dx}var Vc=Tc();const qc=vn(Vc),Wc=e=>(n,t,x)=>{const o=c;return x[o(860)]=(r,i,...a)=>{const d=o,s=typeof r=="function"?$n[d(1288)](r):r;return n(s,i,...a)},e(x[o(860)],t,x)},Xc=Wc;function Kc(e){return Array[c(738)](e)}function Ao(e){const n=c,t=[];for(const x of Object[n(785)](e)){t[n(541)](x);const o=e[x];if(o!==null&&typeof o===n(1918)&&!Array[n(738)](o))for(const r of Object.keys(o))t[n(541)](x+"."+r)}return t}function Zc(e,n,t){const x=c,o=e[x(1550)];if(Kc(o)){if(n!=null&&t!=null){const r=o[x(583)](i=>i[n]===t);if(r)return r}return{}}return o}function Eo(e,n,t,x){const o=c,r=Zc(e,t,x),i={...r};if(n&&typeof n=="object"&&!Array[o(738)](n))return{...i,...n};if(Array.isArray(n)){const a={...i};for(const d of n){if(!d||typeof d!==o(1918))continue;const s=d;s[o(1203)]!=null&&(a[String(s[o(1203)])]=s[o(1989)])}return a}return i}const Rc={id:"_",name:"_",sample:{}};function ux(e,n,t){const x=c,o=e[x(1230)]!=null?String(e[x(1230)])[x(562)]():"",r=o?t[x(583)](a=>a.id===o):void 0,i=r??Rc;try{const a=Eo(i,n,e.boundDatasetBindCode,e.boundDatasetBindValue);return new Function(x(618),e.expression)(a)===!0}catch(a){return console[x(1166)]("状态表达式执行失败 ["+e.name+"]:",a),!1}}function Yo(e,n,t){for(const x of e)if(ux(x,n,t))return x}function Uo(e,n){const t=c;for(const x of e){for(const o of x.contentInfo[t(1350)])o[t(1230)]===n&&(o[t(1230)]=null,o[t(1715)]=null,o[t(658)]=null);x[t(1721)]==="group"&&x.children?.[t(2062)]&&Uo(x[t(1933)],n)}}function fx(e){const n=c;for(const t of e){for(const x of t[n(503)][n(1350)])delete x[n(1286)];t[n(1721)]==="group"&&t[n(1933)]?.[n(2062)]&&fx(t[n(1933)])}}const hx=(e,n)=>({id:e||pe.nanoid(),name:n||c(1583),nodes:[],canvasConfig:{width:1920,height:1080,background:"#00193C",showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Jc=()=>{const e=c,n=hx();return{id:pe[e(1137)](),name:e(1103),canvases:[n],currentCanvasId:n.id}},Oo=Jc(),S0=Oo[c(1348)][0],_c={root:Oo,materials:[],mode:"select",lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:S0[c(2159)],canvas:S0[c(1018)],viewport:S0.viewport,selectedNodeId:S0[c(1557)],selectedNodeIds:S0[c(921)],selectedStatusId:S0[c(435)],history:S0[c(1251)]},x0=(e,n,t)=>({id:pe.nanoid(),type:e,targetId:n,payload:t,timestamp:Date.now()}),Ee=lx[c(943)]()(Xc((e,n)=>({..._c,addCanvas:t=>{const x=c,o=hx(pe.nanoid(),t||x(1005)+(n()[x(709)][x(1348)][x(2062)]+1));return e(r=>{const i=x;r[i(709)][i(1348)][i(541)](o),r[i(709)].currentCanvasId=o.id;const a=o;r.nodes=a[i(2159)],r.canvas=a[i(1018)],r[i(463)]=a[i(463)],r.selectedNodeId=a.selectedNodeId,r[i(921)]=a.selectedNodeIds,r[i(435)]=a[i(435)],r[i(1251)]=a[i(1251)]}),o.id},removeCanvas:t=>{e(x=>{const o=_0xa8e1,r=x.root.canvases[o(2005)](i=>i.id===t);if(r!==-1&&!(x[o(709)][o(1348)][o(2062)]<=1)&&(x.root[o(1348)][o(1675)](r,1),x[o(709)][o(524)]===t)){const i=x[o(709)][o(1348)][0];x[o(709)][o(524)]=i.id,x[o(2159)]=i[o(2159)],x[o(1868)]=i[o(1018)],x.viewport=i.viewport,x[o(1557)]=i[o(1557)],x.selectedNodeIds=i[o(921)],x[o(435)]=i[o(435)],x[o(1251)]=i.history}})},switchCanvas:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)][o(1348)][o(583)](i=>i.id===t);r&&(x[o(709)][o(524)]=t,x[o(2159)]=r[o(2159)],x[o(1868)]=r[o(1018)],x[o(463)]=r[o(463)],x.selectedNodeId=r[o(1557)],x[o(921)]=r[o(921)],x[o(435)]=r[o(435)],x.history=r.history)})},updateCanvasName:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(709)][r(1348)][r(583)](a=>a.id===t);i&&(i[r(413)]=x)})},getCurrentCanvas:()=>{const t=c,x=n();return x.root[t(1348)][t(583)](o=>o.id===x.root[t(524)])},setSelectedNodeIds:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)].canvases.find(i=>i.id===x[o(709)][o(524)]);r&&(r[o(921)]=t,x.selectedNodeIds=t)})},addSelectedNodeId:t=>{e(x=>{const o=_0xa8e1,r=x.root[o(1348)][o(583)](i=>i.id===x[o(709)][o(524)]);r&&!r[o(921)].includes(t)&&(r[o(921)][o(541)](t),x[o(921)]=r[o(921)])})},removeSelectedNodeId:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)].canvases[o(583)](i=>i.id===x.root.currentCanvasId);r&&(r[o(921)]=r[o(921)][o(1928)](i=>i!==t),x.selectedNodeIds=r[o(921)])})},clearSelectedNodeIds:()=>{e(t=>{const x=_0xa8e1,o=t[x(709)][x(1348)][x(583)](r=>r.id===t[x(709)][x(524)]);o&&(o[x(921)]=[],t.selectedNodeIds=[])})},addNode:(t,x=!0)=>{e(o=>{const r=_0xa8e1,i=o.root.canvases[r(583)](d=>d.id===o[r(709)].currentCanvasId);if(!i)return;const a={...t,id:t.id||pe[r(1137)]()};i[r(2159)].push(a),o[r(2159)]=i[r(2159)],x&&(i.selectedNodeId=a.id,o[r(1557)]=a.id,i.history[r(652)][r(541)](x0(r(1117),a.id)),o[r(1251)]=i[r(1251)])})},updateNode:(t,x)=>{e(o=>{const r=_0xa8e1,i=o.root.canvases.find(d=>d.id===o[r(709)][r(524)]);if(!i)return;const a=i[r(2159)][r(583)](d=>d.id===t);a&&(x[r(2020)]&&Object[r(1607)](a.normalStyle,x[r(2020)]),x[r(503)]&&(a[r(503)]={...a.contentInfo,...x[r(503)]}),x[r(413)]&&(a[r(413)]=x[r(413)]),x[r(2006)]&&Object.assign(a[r(2006)],x.controlInfo),x[r(1933)]&&(a[r(1933)]=x[r(1933)]),i[r(1251)][r(652)].push(x0("PROPERTY_CHANGE",t,x)),o[r(1251)]=i[r(1251)],o[r(2159)]=i[r(2159)])})},updateNodeStyle:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(709)][r(1348)][r(583)](d=>d.id===o.root[r(524)]);if(!i)return;const a=i[r(2159)].find(d=>d.id===t);a&&(Object[r(1607)](a.normalStyle,x),i[r(1251)][r(652)].push(x0(r(2065),t,{normalStyle:x})),o[r(1251)]=i[r(1251)],o.nodes=i[r(2159)])})},updateNodeContent:(t,x)=>{e(o=>{const r=_0xa8e1,i=o.root[r(1348)][r(583)](d=>d.id===o[r(709)][r(524)]);if(!i)return;const a=i[r(2159)][r(583)](d=>d.id===t);a&&(a.contentInfo={...a.contentInfo,...x},i[r(1251)][r(652)][r(541)](x0(r(2065),t,{contentInfo:x})),o[r(1251)]=i[r(1251)],o[r(2159)]=i[r(2159)])})},updateNodeControl:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(709)][r(1348)].find(d=>d.id===o[r(709)][r(524)]);if(!i)return;const a=i[r(2159)].find(d=>d.id===t);a&&(Object[r(1607)](a[r(2006)],x),i[r(1251)][r(652)].push(x0(r(2065),t,{controlInfo:x})),o[r(1251)]=i.history,o[r(2159)]=i[r(2159)])})},removeNode:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)].canvases[o(583)](a=>a.id===x[o(709)].currentCanvasId);if(!r)return;const i=r[o(2159)][o(2005)](a=>a.id===t);i!==-1&&(r[o(2159)][o(1675)](i,1),x.nodes=r.nodes,r[o(1557)]===t&&(r.selectedNodeId=null,x[o(1557)]=null,r.selectedStatusId=null,x[o(435)]=null),r[o(921)]=r[o(921)][o(1928)](a=>a!==t),x[o(921)]=r.selectedNodeIds,r[o(1251)].past[o(541)](x0(o(2164),t)),x.history=r[o(1251)])})},selectNode:t=>{e(x=>{const o=_0xa8e1,r=x.root[o(1348)][o(583)](i=>i.id===x[o(709)][o(524)]);r&&(r[o(1557)]=t,x[o(1557)]=t,r[o(435)]=null,x[o(435)]=null,t&&(r.history[o(652)][o(541)](x0(o(1117),t)),x[o(1251)]=r[o(1251)]))})},bringToFront:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)][o(1348)][o(583)](d=>d.id===x[o(709)].currentCanvasId);if(!r)return;const i=r.nodes.findIndex(d=>d.id===t);if(i===-1||i===r[o(2159)][o(2062)]-1)return;const[a]=r[o(2159)][o(1675)](i,1);r[o(2159)][o(541)](a),x.nodes=r[o(2159)],r.history[o(652)][o(541)](x0(o(2065),t,{zOrder:o(1717)})),x[o(1251)]=r[o(1251)]})},sendToBack:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)][o(1348)][o(583)](d=>d.id===x[o(709)].currentCanvasId);if(!r)return;const i=r[o(2159)][o(2005)](d=>d.id===t);if(i<=0)return;const[a]=r.nodes[o(1675)](i,1);r.nodes[o(689)](a),x.nodes=r[o(2159)],r[o(1251)][o(652)].push(x0(o(2065),t,{zOrder:"back"})),x.history=r[o(1251)]})},addStatus:(t,x)=>{e(o=>{const r=_0xa8e1,i=o.root[r(1348)].find(s=>s.id===o[r(709)][r(524)]);if(!i)return;const a=i.nodes.find(s=>s.id===t);if(!a)return;const d={...x,id:pe.nanoid()};a[r(503)][r(1350)][r(541)](d),i[r(1251)][r(652)][r(541)](x0(r(1441),t,{statusId:d.id})),o.history=i[r(1251)]})},removeStatus:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(709)][r(1348)].find(s=>s.id===o[r(709)].currentCanvasId);if(!i)return;const a=i[r(2159)].find(s=>s.id===t);if(!a)return;const d=a[r(503)][r(1350)].findIndex(s=>s.id===x);d!==-1&&(a.contentInfo[r(1350)].splice(d,1),a[r(503)][r(955)]===x&&(a[r(503)][r(955)]=void 0),i[r(435)]===x&&(i.selectedStatusId=null,o[r(435)]=null))})},updateStatus:(t,x,o)=>{e(r=>{const i=_0xa8e1,a=r[i(709)][i(1348)][i(583)](f=>f.id===r.root[i(524)]);if(!a)return;const d=a.nodes.find(f=>f.id===t);if(!d)return;const s=d[i(503)][i(1350)].find(f=>f.id===x);s&&Object[i(1607)](s,o)})},selectStatus:t=>{e(x=>{const o=_0xa8e1,r=x.root[o(1348)][o(583)](i=>i.id===x[o(709)][o(524)]);r&&(r[o(435)]=t,x[o(435)]=t)})},evaluateCurrentStatus:(t,x)=>{const o=c,r=n(),i=r[o(709)].canvases[o(583)](s=>s.id===r[o(709)][o(524)]);if(!i)return;const a=i[o(2159)].find(s=>s.id===t);if(!a)return;const{dataPool:d}=n();for(const s of a.contentInfo.statusList)if(ux(s,x,d))return s.id},addDataPoolItem:t=>{const x=c,o=pe[x(1137)]();return e(r=>{const i=x;let a={};t[i(1550)]&&typeof t[i(1550)]===i(1918)&&(Array[i(738)](t.sample)?a=t[i(1550)]:a=t.sample),r[i(772)][i(541)]({...t,id:o,sample:a})}),o},updateDataPoolItem:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(772)][r(583)](a=>a.id===t);i&&(x[r(413)]!==void 0&&(i[r(413)]=x[r(413)]),x[r(1550)]!==void 0&&(x[r(1550)]&&typeof x[r(1550)]===r(1918)?i.sample=x[r(1550)]:i[r(1550)]={}))})},removeDataPoolItem:t=>{e(x=>{const o=_0xa8e1,r=x.dataPool[o(2005)](i=>i.id===t);if(r!==-1){x.dataPool[o(1675)](r,1);for(const i of x[o(709)].canvases)Uo(i[o(2159)],t)}})},setDataPool:t=>{e(x=>{const o=_0xa8e1;x.dataPool=t[o(1008)](r=>{const i=o;let a={};return r.sample&&typeof r[i(1550)]===i(1918)&&(a=r[i(1550)]),{...r,sample:a}})})},setEventFlow:t=>{e(x=>{const o=_0xa8e1;x[o(964)]={eventBlocks:t[o(1402)]??[],eventRoots:t.eventRoots??[],editingEventRootId:t[o(651)]??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(x=>{const o=_0xa8e1,r=new Set;x[o(608)]=[];for(const i of t){const a=String(i.key??"")[o(562)]();!a||r[o(1071)](a)||(r.add(a),x[o(608)].push({key:a,label:String(i[o(444)]??"")[o(562)]()||a,description:i[o(1520)]}))}})},addMaterial:t=>{e(x=>{const o=_0xa8e1;if(x[o(2026)].some(a=>a[o(413)]===t[o(413)]))return;const i={...t,id:pe[o(1137)]()};x.materials[o(541)](i)})},updateMaterial:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(2026)][r(583)](a=>a.id===t);i&&Object.assign(i,x)})},removeMaterial:t=>{e(x=>{const o=_0xa8e1,r=x[o(2026)][o(2005)](i=>i.id===t);r!==-1&&x.materials[o(1675)](r,1)})},setViewport:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)].canvases[o(583)](i=>i.id===x[o(709)][o(524)]);r&&(Object.assign(r.viewport,t),x[o(463)]=r[o(463)])})},setCanvasConfig:t=>{e(x=>{const o=_0xa8e1,r=x[o(709)].canvases[o(583)](i=>i.id===x[o(709)][o(524)]);r&&(r[o(1018)]={...r.canvasConfig,...t},x[o(1868)]=r.canvasConfig)})},setMode:t=>{e(x=>{x.mode=t})},startLineDrawing:t=>{e(x=>{const o=_0xa8e1;x[o(1258)]=o(620),x[o(688)]={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(x=>{const o=_0xa8e1;x[o(688)][o(1346)]&&(x[o(688)][o(1687)]=t)})},endLineDrawing:()=>{e(t=>{const x=_0xa8e1;t[x(1258)]=x(1080),t[x(688)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const x=_0xa8e1;t[x(1258)]=x(1080),t[x(688)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const x=_0xa8e1,o=t[x(709)][x(1348)][x(583)](i=>i.id===t[x(709)].currentCanvasId);if(!o)return;const r=o.history.past[x(655)]();r&&(o[x(1251)][x(1833)][x(541)](r),t[x(1251)]=o[x(1251)])})},redo:()=>{e(t=>{const x=_0xa8e1,o=t[x(709)][x(1348)][x(583)](i=>i.id===t[x(709)].currentCanvasId);if(!o)return;const r=o[x(1251)][x(1833)][x(655)]();r&&(o[x(1251)][x(652)].push(r),t[x(1251)]=o[x(1251)])})},recordEvent:t=>{e(x=>{const o=_0xa8e1,r=x.root[o(1348)][o(583)](i=>i.id===x.root.currentCanvasId);r&&(r[o(1251)].past[o(541)](t),r.history.future=[],x[o(1251)]=r[o(1251)])})},exportScheme:()=>{const t=c,x=n();return{version:t(2173),root:x[t(709)],materials:x.materials,dataPool:x[t(772)],eventFlow:x[t(964)],metadata:{name:x[t(709)][t(413)],description:"",createdAt:new Date()[t(1528)](),updatedAt:new Date()[t(1528)]()}}},importScheme:t=>{e(x=>{const o=_0xa8e1;if(t[o(709)]){x[o(709)]=t[o(709)],x[o(772)]=t[o(772)]??[],t[o(964)]&&(x[o(964)]={eventBlocks:t[o(964)][o(1402)]??[],eventRoots:t.eventFlow.eventRoots??[],editingEventRootId:t[o(964)][o(651)]??null,isEditingEventFlow:t[o(964)][o(927)]??!1});const r=x.root.canvases[o(583)](i=>i.id===x[o(709)][o(524)])||x[o(709)][o(1348)][0];r&&(x[o(709)][o(524)]=r.id,x[o(2159)]=r[o(2159)],x[o(1868)]=r[o(1018)],x[o(463)]=r.viewport,x[o(1557)]=r[o(1557)],x[o(921)]=r[o(921)],x[o(435)]=r.selectedStatusId,x[o(1251)]=r.history)}else{const r=hx();r[o(2159)]=t[o(2159)]||[],x[o(709)][o(1348)]=[r],x.root[o(524)]=r.id,x[o(772)]=t[o(772)]??[],t[o(964)]&&(x[o(964)]={eventBlocks:t.eventFlow[o(1402)]??[],eventRoots:t[o(964)].eventRoots??[],editingEventRootId:t[o(964)][o(651)]??null,isEditingEventFlow:t[o(964)][o(927)]??!1}),x[o(2159)]=r[o(2159)],x.canvas=r[o(1018)],x.viewport=t[o(463)]||r[o(463)],x[o(1557)]=null,x.selectedStatusId=null,x[o(1251)]={past:[],future:[]}}for(const r of x.root.canvases)fx(r[o(2159)])})},exportCanvas:t=>{const x=c,o=n(),r=t||o[x(709)][x(524)],i=o[x(709)][x(1348)][x(583)](a=>a.id===r);if(!i)throw new Error(x(1005)+r+x(2125));return{version:"2.0.0",canvas:i,metadata:{name:i[x(413)],description:"",exportedAt:new Date()[x(1528)]()}}},importCanvas:(t,x)=>{e(o=>{const r=_0xa8e1,i=t[r(1868)],a=x||o[r(709)][r(524)],d=o[r(709)][r(1348)].find(s=>s.id===a);if(d)d.name=i[r(413)],d[r(2159)]=i[r(2159)]||[],d[r(1018)]=i.canvasConfig,d[r(463)]=i[r(463)],d[r(1557)]=null,d[r(921)]=[],d[r(435)]=null,d[r(1251)]=i[r(1251)]||{past:[],future:[]},a===o[r(709)][r(524)]&&(o.nodes=d[r(2159)],o[r(1868)]=d.canvasConfig,o[r(463)]=d.viewport,o.selectedNodeId=d.selectedNodeId,o[r(921)]=d[r(921)],o[r(435)]=d.selectedStatusId,o[r(1251)]=d[r(1251)]);else{const s={...i,id:pe[r(1137)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};o.root[r(1348)][r(541)](s),o[r(709)][r(524)]=s.id,o[r(2159)]=s[r(2159)],o[r(1868)]=s[r(1018)],o[r(463)]=s[r(463)],o.selectedNodeId=s[r(1557)],o[r(921)]=s[r(921)],o[r(435)]=s[r(435)],o[r(1251)]=s[r(1251)]}for(const s of o[r(709)][r(1348)])fx(s[r(2159)])})},addEventBlock:t=>{const x=pe.nanoid();return e(o=>{const r=_0xa8e1;o[r(964)][r(1402)][r(541)]({...t,id:x})}),x},upsertEventBlock:t=>{e(x=>{const o=_0xa8e1,r=x[o(964)][o(1402)].findIndex(i=>i.id===t.id);r!==-1?x.eventFlow[o(1402)][r]={...t}:x[o(964)][o(1402)].push({...t})})},updateEventBlock:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(964)][r(1402)][r(583)](a=>a.id===t);i&&Object[r(1607)](i,x)})},removeEventBlock:t=>{e(x=>{const o=_0xa8e1,r=x.eventFlow[o(1402)].findIndex(i=>i.id===t);r!==-1&&x[o(964)][o(1402)][o(1675)](r,1)})},addEventRoot:t=>{const x=pe.nanoid();return e(o=>{const r=_0xa8e1;o.eventFlow[r(789)].push({...t,id:x})}),x},updateEventRoot:(t,x)=>{e(o=>{const r=_0xa8e1,i=o[r(964)][r(789)][r(583)](a=>a.id===t);i&&Object[r(1607)](i,x)})},removeEventRoot:t=>{e(x=>{const o=_0xa8e1,r=x[o(964)][o(789)][o(2005)](i=>i.id===t);r!==-1&&x.eventFlow.eventRoots[o(1675)](r,1)})},setEditingEventRoot:t=>{e(x=>{const o=_0xa8e1;x[o(964)].editingEventRootId=t})},setIsEditingEventFlow:t=>{e(x=>{const o=_0xa8e1;x.eventFlow[o(927)]=t})},bindNodeEvent:(t,x,o)=>{const r=pe.nanoid();return e(i=>{const a=_0xa8e1;i[a(964)].eventRoots[a(541)]({id:r,bindNodeId:t,eventType:x,flowData:o,enabled:!0})}),r},unbindNodeEvent:(t,x,o)=>{e(r=>{const i=_0xa8e1,a=r[i(964)][i(789)].findIndex(d=>{const s=i;return d.bindNodeId!==t||d.eventType!==x?!1:x===s(1234)?(d[s(1890)]||"")[s(562)]()===(o||"")[s(562)]():!0});a!==-1&&r[i(964)].eventRoots[i(1675)](a,1)})},getNodeEventRoots:t=>{const x=c;return n()[x(964)][x(789)][x(1928)](o=>o[x(1658)]===t)}}))),Go=[{id:pe[c(1137)](),name:"矩形",type:c(1214),src:c(1603)+encodeURIComponent(c(962))},{id:pe[c(1137)](),name:"圆形",type:"IMAGE",src:"data:image/svg+xml,"+encodeURIComponent(c(1119))},{id:pe[c(1137)](),name:"圆角矩形",type:c(1214),src:c(1603)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#faad14" rx="20"/></svg>')},{id:pe[c(1137)](),name:"阀门",type:c(1214),src:c(1603)+encodeURIComponent(c(394))},{id:pe.nanoid(),name:"泵",type:c(1214),src:c(1603)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="35" r="20" fill="#bfbfbf" stroke="#595959" stroke-width="2"/><rect x="25" y="5" width="10" height="15" fill="#595959"/><path d="M30 20 L30 35 M20 30 Q30 45 40 30" stroke="#595959" stroke-width="2" fill="none"/></svg>')},{id:pe[c(1137)](),name:"罐体",type:c(1214),src:c(1603)+encodeURIComponent(c(892))},{id:pe.nanoid(),name:c(768),type:"TEXT",content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1294),color:c(822),textAlign:"left"},valueStyle:{fontSize:14,fontWeight:"normal",color:c(1743),textAlign:c(1044)}}},{id:pe[c(1137)](),name:"线条",type:c(1744),config:{thickness:2,lineWeight:2,color:c(822),lineType:c(1999)}}],gx=e=>({id:pe.nanoid(),name:"默认状态",expression:c(2145),material:{...e,id:pe[c(1137)]()},boundDatasetId:null}),Ho=(e,n,t)=>{const x=c;if(t?.[x(1721)]==="CUSTOM"&&t[x(669)]?.nodes){const o=t.config[x(2159)][x(1008)](f=>({...f,id:pe[x(1137)]()}));let r=1/0,i=1/0,a=-1/0,d=-1/0;o.forEach(f=>{const u=x,y=f[u(2020)].x||0,h=f[u(2020)].y||0,w=f[u(2020)][u(1088)]||0,g=f[u(2020)].height||0;r=Math[u(880)](r,y),i=Math.min(i,h),a=Math[u(1121)](a,y+w),d=Math[u(1121)](d,h+g)});const s=o.map(f=>({...f,normalStyle:{...f[x(2020)],x:(f[x(2020)].x||0)-r,y:(f.normalStyle.y||0)-i,scale:void 0}}));return{id:pe[x(1137)](),name:t.name||x(788),type:x(650),normalStyle:{width:a-r,height:d-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:pe[x(1137)](),name:x(1187),type:"normal",normalStyle:{width:120,height:100,x:e,y:n,background:x(1913),padding:8},contentInfo:{statusList:t?[gx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:_0}=C[c(824)],{Text:nt}=C[c(1116)],To=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:x,removeMaterial:o,selectedStatusId:r,selectStatus:i,mode:a,lineDrawing:d,startLineDrawing:s,cancelLineDrawing:f}=Ee(),[u,y]=D[n(744)]([n(2154),n(2022),n(1525),n(693)]),h=z=>{const m=n,v=new FileReader;return v[m(1527)]=M=>{const I=m,E=M[I(854)]?.[I(1596)];x({name:z.name[I(1341)](I(1446),""),type:I(1214),src:E})},v[m(1609)](z),!1},w={basic:t.filter(z=>["矩形","圆形",n(1738)][n(545)](z[n(413)])),device:t[n(1928)](z=>["阀门","泵","罐体"][n(545)](z.name)||z.type===n(1214)&&!["矩形","圆形",n(1738)][n(545)](z.name)&&z[n(413)]!=="自定义"),text:t.filter(z=>z.type===n(1459)),line:t[n(1928)](z=>z[n(1721)]===n(1744)),group:t.filter(z=>z[n(1721)]===n(1678)&&z[n(669)]?.[n(2159)]),custom:t[n(1928)](z=>z[n(1721)]==="CUSTOM"&&!z[n(669)]?.nodes||z.type===n(1214)&&!["矩形","圆形",n(1738),"阀门","泵","罐体"][n(545)](z[n(413)]))},g=(z,m)=>{const v=n;z[v(434)].effectAllowed=v(508),z.dataTransfer.setData(v(2120),JSON[v(552)](m));const M=z[v(1179)][v(954)](".material-preview");M&&z[v(434)][v(1222)](M,20,20)},p=z=>{const m=n;z[m(1721)]===m(1744)&&s(z)},b=(z,m=!1)=>{const v=n,M=m===!0,I=a===v(620)&&M&&d.material?.id===z.id;return l.jsx(C[v(1040)][v(820)],{draggable:!M,onDragStart:E=>g(E,z),onClick:()=>M&&p(z),className:v(1033)+(M?"cursor-pointer":v(1588))+v(1870)+v(1229)+v(1870)+(I?"bg-blue-50 ring-2 ring-blue-400":"")+v(1983),actions:[M?l.jsx(C[v(1539)],{type:v(1525),size:"small",icon:l.jsx(le[v(1400)],{}),onClick:E=>{E.stopPropagation(),p(z)},children:"绘制"},"draw"):null,l[v(662)](C[v(1539)],{type:v(1525),size:"small",danger:!0,icon:l[v(662)](le[v(1142)],{}),onClick:E=>{E[v(1118)](),o(z.id)}},"delete")][v(1928)](Boolean),children:l.jsxs(v(1861),{className:v(1091)+(M?"":v(1380)),children:[l[v(662)](v(1861),{className:v(1828),children:z[v(1721)]===v(1214)&&z[v(1444)]?l[v(662)](C[v(1764)],{src:z[v(1444)],alt:z[v(413)],width:40,height:40,preview:!1}):z[v(1721)]===v(1459)?l[v(662)]("span",{className:v(558),children:"T"}):z[v(1721)]===v(1744)?l[v(662)](v(1861),{className:v(1811)}):z[v(1721)]===v(1678)&&z[v(669)]?.[v(2159)]?l[v(662)](v(1082),{className:"text-xs text-blue-500 font-bold",children:"G"}):l.jsx(v(1082),{className:v(558),children:"?"})}),l[v(1304)]("div",{className:v(755),children:[l[v(662)](nt,{strong:!0,className:v(1881),children:z[v(413)]}),l[v(1304)](v(1861),{className:v(1795),children:[l.jsx(nt,{type:v(1585),className:v(676),children:z[v(1721)]}),I&&l[v(662)](C[v(736)],{color:v(1519),className:v(676),children:v(747)})]})]})]})},z.id)};return l[n(1304)](n(1861),{className:n(2182),children:[l[n(1304)](n(1861),{className:n(1156),children:[l[n(662)]("h3",{className:n(838),children:"物料库"}),l.jsx(nt,{type:n(1585),className:n(1310),children:"拖拽物料到画布创建节点"})]}),l[n(662)](n(1861),{className:"p-3 border-b border-gray-200",children:e?l[n(662)](C[n(1539)],{icon:l[n(662)](le.UploadOutlined,{}),block:!0,type:n(705),onClick:()=>{const z=n;e()[z(1780)](m=>{const v=z;console[v(833)](v(1947),m)})},children:n(1429)}):l[n(662)](C[n(544)],{accept:n(1446),beforeUpload:h,showUploadList:!1,children:l.jsx(C[n(1539)],{icon:l.jsx(le[n(1896)],{}),block:!0,type:n(705),children:n(1429)})})}),l[n(662)](n(1861),{className:n(1419),children:l.jsxs(C[n(824)],{activeKey:u,onChange:z=>y(z),ghost:!0,expandIconPosition:n(592),children:[l[n(662)](_0,{header:"基础形状",children:l.jsx(C[n(1040)],{dataSource:w[n(2154)],renderItem:z=>b(z,!1),locale:{emptyText:l[n(662)](C.Empty,{description:n(2096),image:C[n(1265)][n(894)]})}})},n(2154)),l[n(662)](_0,{header:n(522),children:l[n(662)](C[n(1040)],{dataSource:w[n(2022)],renderItem:z=>b(z,!1),locale:{emptyText:l[n(662)](C[n(1265)],{description:"暂无物料",image:C[n(1265)][n(894)]})}})},n(2022)),l[n(662)](_0,{header:"文本",children:l[n(662)](C[n(1040)],{dataSource:w[n(1525)],renderItem:z=>b(z,!1),locale:{emptyText:l[n(662)](C.Empty,{description:n(2096),image:C.Empty[n(894)]})}})},n(1525)),l.jsxs(_0,{header:l[n(1304)](n(1861),{className:"flex items-center justify-between",children:[l[n(662)](n(1082),{children:"线条"}),a===n(620)&&l.jsx(C.Tag,{color:n(1519),className:n(676),children:n(644)})]}),children:[l[n(662)](C[n(1040)],{dataSource:w[n(693)],renderItem:z=>b(z,!0),locale:{emptyText:l[n(662)](C[n(1265)],{description:n(2096),image:C.Empty[n(894)]})}}),a==="line-draw"&&l[n(1304)](n(1861),{className:n(1250),children:[l[n(662)](n(1861),{children:"点击线条物料开始绘制"}),l[n(662)]("div",{children:n(698)})]})]},n(693)),w.group[n(2062)]>0&&l[n(662)](_0,{header:"群组",children:l[n(662)](C[n(1040)],{dataSource:w[n(650)],renderItem:z=>b(z,!1),locale:{emptyText:l[n(662)](C[n(1265)],{description:n(2096),image:C[n(1265)][n(894)]})}})},n(650)),w[n(994)].length>0&&l[n(662)](_0,{header:"自定义",children:l[n(662)](C[n(1040)],{dataSource:w[n(994)],renderItem:z=>b(z,!1),locale:{emptyText:l[n(662)](C[n(1265)],{description:n(2096),image:C[n(1265)].PRESENTED_IMAGE_SIMPLE})}})},n(994))]})}),l[n(662)](n(1861),{className:"p-3 border-t border-gray-200 bg-gray-50",children:l[n(662)](nt,{type:n(1585),className:n(676),children:a===n(620)?l[n(662)](l.Fragment,{children:n(859)}):l.jsx(l[n(1907)],{children:n(1842)})})})]})};var yx=function(e,n){const t=c;return yx=Object[t(805)]||{__proto__:[]}instanceof Array&&function(x,o){x.__proto__=o}||function(x,o){const r=t;for(var i in o)Object[r(578)][r(1697)][r(1225)](o,i)&&(x[i]=o[i])},yx(e,n)};function v0(e,n){const t=c;if(typeof n!="function"&&n!==null)throw new TypeError(t(1765)+String(n)+t(1395));yx(e,n);function x(){const o=t;this[o(1445)]=e}e.prototype=n===null?Object[t(943)](n):(x[t(578)]=n[t(578)],new x)}function Fc(e,n,t,x){function o(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){const a=_0xa8e1;function d(u){const y=_0xa8e1;try{f(x[y(1148)](u))}catch(h){i(h)}}function s(u){const y=_0xa8e1;try{f(x[y(638)](u))}catch(h){i(h)}}function f(u){const y=_0xa8e1;u[y(2075)]?r(u[y(1989)]):o(u[y(1989)])[y(2156)](d,s)}f((x=x[a(816)](e,n||[]))[a(1148)]())})}function Vo(e,n){const t=c;var x={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a=Object[t(943)]((typeof Iterator===t(1200)?Iterator:Object).prototype);return a[t(1148)]=d(0),a[t(638)]=d(1),a[t(2024)]=d(2),typeof Symbol===t(1200)&&(a[Symbol[t(533)]]=function(){return this}),a;function d(f){return function(u){return s([f,u])}}function s(f){const u=t;if(o)throw new TypeError("Generator is already executing.");for(;a&&(a=0,f[0]&&(x=0)),x;)try{if(o=1,r&&(i=f[0]&2?r[u(2024)]:f[0]?r.throw||((i=r[u(2024)])&&i[u(1225)](r),0):r[u(1148)])&&!(i=i[u(1225)](r,f[1]))[u(2075)])return i;switch(r=0,i&&(f=[f[0]&2,i[u(1989)]]),f[0]){case 0:case 1:i=f;break;case 4:return x.label++,{value:f[1],done:!1};case 5:x[u(444)]++,r=f[1],f=[0];continue;case 7:f=x[u(1138)][u(655)](),x[u(1098)][u(655)]();continue;default:if(i=x[u(1098)],!(i=i[u(2062)]>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){x=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){x[u(444)]=f[1];break}if(f[0]===6&&x[u(444)]<i[1]){x.label=i[1],i=f;break}if(i&&x[u(444)]<i[2]){x[u(444)]=i[2],x[u(1138)][u(541)](f);break}i[2]&&x[u(1138)][u(655)](),x.trys[u(655)]();continue}f=n[u(1225)](e,x)}catch(y){f=[6,y],r=0}finally{o=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function F0(e){const n=c;var t=typeof Symbol=="function"&&Symbol[n(533)],x=t&&e[t],o=0;if(x)return x[n(1225)](e);if(e&&typeof e.length===n(710))return{next:function(){return e&&o>=e[n(2062)]&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?n(989):"Symbol.iterator is not defined.")}function tt(e,n){const t=c;var x=typeof Symbol=="function"&&e[Symbol[t(533)]];if(!x)return e;var o=x[t(1225)](e),r,i=[],a;try{for(;(n===void 0||n-- >0)&&!(r=o[t(1148)]()).done;)i[t(541)](r.value)}catch(d){a={error:d}}finally{try{r&&!r[t(2075)]&&(x=o[t(2024)])&&x[t(1225)](o)}finally{if(a)throw a[t(1750)]}}return i}function xt(e,n,t){const x=c;if(t||arguments[x(2062)]===2)for(var o=0,r=n[x(2062)],i;o<r;o++)(i||!(o in n))&&(i||(i=Array[x(578)][x(423)][x(1225)](n,0,o)),i[o]=n[o]);return e.concat(i||Array[x(578)][x(423)][x(1225)](n))}function Q0(e){return this instanceof Q0?(this.v=e,this):new Q0(e)}function Qc(e,n,t){const x=c;if(!Symbol[x(1427)])throw new TypeError(x(1270));var o=t[x(816)](e,n||[]),r,i=[];return r=Object[x(943)]((typeof AsyncIterator===x(1200)?AsyncIterator:Object)[x(578)]),d(x(1148)),d(x(638)),d("return",a),r[Symbol[x(1427)]]=function(){return this},r;function a(w){return function(g){const p=_0xa8e1;return Promise[p(777)](g)[p(2156)](w,y)}}function d(w,g){o[w]&&(r[w]=function(p){return new Promise(function(b,z){i[_0xa8e1(541)]([w,p,b,z])>1||s(w,p)})},g&&(r[w]=g(r[w])))}function s(w,g){try{f(o[w](g))}catch(p){h(i[0][3],p)}}function f(w){const g=x;w[g(1989)]instanceof Q0?Promise[g(777)](w[g(1989)].v).then(u,y):h(i[0][2],w)}function u(w){s(x(1148),w)}function y(w){s(x(638),w)}function h(w,g){const p=x;w(g),i[p(1059)](),i.length&&s(i[0][0],i[0][1])}}function $c(e){const n=c;if(!Symbol.asyncIterator)throw new TypeError(n(1270));var t=e[Symbol[n(1427)]],x;return t?t.call(e):(e=typeof F0=="function"?F0(e):e[Symbol[n(533)]](),x={},o(n(1148)),o(n(638)),o(n(2024)),x[Symbol[n(1427)]]=function(){return this},x);function o(i){x[i]=e[i]&&function(a){return new Promise(function(d,s){const f=_0xa8e1;a=e[i](a),r(d,s,a[f(2075)],a[f(1989)])})}}function r(i,a,d,s){const f=n;Promise.resolve(s)[f(2156)](function(u){i({value:u,done:d})},a)}}typeof SuppressedError===c(1200)&&SuppressedError;function Ie(e){return typeof e===c(1200)}function mx(e){const n=c;var t=function(o){const r=_0xa8e1;Error[r(1225)](o),o[r(1162)]=new Error()[r(1162)]},x=e(t);return x.prototype=Object.create(Error[n(578)]),x[n(578)].constructor=x,x}var wx=mx(function(e){return function(t){const x=_0xa8e1;e(this),this[x(2068)]=t?t.length+x(1491)+t[x(1008)](function(o,r){const i=x;return r+1+") "+o[i(926)]()}).join(`
|
|
3
|
+
`):"",this[x(413)]="UnsubscriptionError",this[x(1185)]=t}});function ot(e,n){const t=c;if(e){var x=e[t(1276)](n);0<=x&&e.splice(x,1)}}var Ln=(function(){const e=c;function n(t){const x=_0xa8e1;this.initialTeardown=t,this[x(2034)]=!1,this[x(1982)]=null,this[x(1991)]=null}return n[e(578)][e(1245)]=function(){const t=e;var x,o,r,i,a;if(!this[t(2034)]){this[t(2034)]=!0;var d=this[t(1982)];if(d)if(this[t(1982)]=null,Array[t(738)](d))try{for(var s=F0(d),f=s[t(1148)]();!f[t(2075)];f=s[t(1148)]()){var u=f[t(1989)];u[t(619)](this)}}catch(b){x={error:b}}finally{try{f&&!f[t(2075)]&&(o=s.return)&&o[t(1225)](s)}finally{if(x)throw x[t(1750)]}}else d.remove(this);var y=this[t(1305)];if(Ie(y))try{y()}catch(b){a=b instanceof wx?b[t(1185)]:[b]}var h=this._finalizers;if(h){this[t(1991)]=null;try{for(var w=F0(h),g=w[t(1148)]();!g[t(2075)];g=w.next()){var p=g[t(1989)];try{Xo(p)}catch(b){a=a??[],b instanceof wx?a=xt(xt([],tt(a)),tt(b[t(1185)])):a.push(b)}}}catch(b){r={error:b}}finally{try{g&&!g[t(2075)]&&(i=w[t(2024)])&&i[t(1225)](w)}finally{if(r)throw r.error}}}if(a)throw new wx(a)}},n[e(578)][e(1796)]=function(t){const x=e;var o;if(t&&t!==this)if(this[x(2034)])Xo(t);else{if(t instanceof n){if(t[x(2034)]||t[x(1454)](this))return;t[x(1460)](this)}(this[x(1991)]=(o=this[x(1991)])!==null&&o!==void 0?o:[]).push(t)}},n[e(578)][e(1454)]=function(t){var o=this[e(1982)];return o===t||Array.isArray(o)&&o.includes(t)},n[e(578)][e(1460)]=function(t){const x=e;var o=this._parentage;this[x(1982)]=Array.isArray(o)?(o[x(541)](t),o):o?[o,t]:t},n.prototype[e(513)]=function(t){const x=e;var o=this[x(1982)];o===t?this[x(1982)]=null:Array[x(738)](o)&&ot(o,t)},n.prototype.remove=function(t){const x=e;var o=this[x(1991)];o&&ot(o,t),t instanceof n&&t[x(513)](this)},n[e(679)]=(function(){const t=e;var x=new n;return x[t(2034)]=!0,x})(),n})(),qo=Ln[c(679)];function Wo(e){const n=c;return e instanceof Ln||e&&"closed"in e&&Ie(e.remove)&&Ie(e[n(1796)])&&Ie(e[n(1245)])}function Xo(e){Ie(e)?e():e.unsubscribe()}var es={Promise:void 0},ns={setTimeout:function(e,n){const t=c;for(var x=[],o=2;o<arguments.length;o++)x[o-2]=arguments[o];return setTimeout[t(816)](void 0,xt([e,n],tt(x)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ko(e){ns.setTimeout(function(){throw e})}function Zo(){}function rt(e){e()}var vx=(function(e){const n=c;v0(t,e);function t(x){const o=_0xa8e1;var r=e[o(1225)](this)||this;return r[o(1649)]=!1,x?(r.destination=x,Wo(x)&&x[o(1796)](r)):r[o(1915)]=os,r}return t[n(943)]=function(x,o,r){return new px(x,o,r)},t[n(578)][n(1148)]=function(x){const o=n;this[o(1649)]||this[o(1841)](x)},t.prototype.error=function(x){const o=n;this[o(1649)]||(this[o(1649)]=!0,this[o(1671)](x))},t[n(578)].complete=function(){const x=n;this.isStopped||(this[x(1649)]=!0,this[x(828)]())},t[n(578)][n(1245)]=function(){const x=n;!this[x(2034)]&&(this[x(1649)]=!0,e[x(578)].unsubscribe[x(1225)](this),this.destination=null)},t[n(578)][n(1841)]=function(x){const o=n;this[o(1915)][o(1148)](x)},t[n(578)]._error=function(x){const o=n;try{this[o(1915)][o(1750)](x)}finally{this[o(1245)]()}},t[n(578)][n(828)]=function(){const x=n;try{this.destination[x(1361)]()}finally{this[x(1245)]()}},t})(Ln),ts=(function(){const e=c;function n(t){const x=_0xa8e1;this[x(494)]=t}return n.prototype[e(1148)]=function(t){const x=e;var o=this[x(494)];if(o[x(1148)])try{o[x(1148)](t)}catch(r){it(r)}},n[e(578)][e(1750)]=function(t){var o=this[e(494)];if(o.error)try{o.error(t)}catch(r){it(r)}else it(t)},n[e(578)].complete=function(){const t=e;var x=this[t(494)];if(x[t(1361)])try{x.complete()}catch(o){it(o)}},n})(),px=(function(e){v0(n,e);function n(t,x,o){var i=e[_0xa8e1(1225)](this)||this,a;return Ie(t)||!t?a={next:t??void 0,error:x??void 0,complete:o??void 0}:a=t,i.destination=new ts(a),i}return n})(vx);function it(e){Ko(e)}function xs(e){throw e}var os={closed:!0,next:Zo,error:xs,complete:Zo},bx=(function(){const e=c;return typeof Symbol===e(1200)&&Symbol[e(1233)]||e(607)})();function Ro(e){return e}function rs(e){const n=c;return e[n(2062)]===0?Ro:e[n(2062)]===1?e[0]:function(x){return e[n(1745)](function(r,i){return i(r)},x)}}var Re=(function(){const e=c;function n(t){const x=_0xa8e1;t&&(this[x(474)]=t)}return n[e(578)][e(1100)]=function(t){const x=e;var o=new n;return o[x(1413)]=this,o[x(1478)]=t,o},n[e(578)].subscribe=function(t,x,o){var r=this,i=as(t)?t:new px(t,x,o);return rt(function(){const a=_0xa8e1;var d=r,s=d[a(1478)],f=d[a(1413)];i[a(1796)](s?s.call(i,f):f?r[a(474)](i):r._trySubscribe(i))}),i},n[e(578)][e(1533)]=function(t){const x=e;try{return this[x(474)](t)}catch(o){t[x(1750)](o)}},n[e(578)][e(1575)]=function(t,x){var o=this;return x=Jo(x),new x(function(r,i){var a=new px({next:function(d){const s=_0xa8e1;try{t(d)}catch(f){i(f),a[s(1245)]()}},error:i,complete:r});o.subscribe(a)})},n[e(578)][e(474)]=function(t){const x=e;var o;return(o=this[x(1413)])===null||o===void 0?void 0:o[x(1435)](t)},n[e(578)][bx]=function(){return this},n[e(578)].pipe=function(){const t=e;for(var x=[],o=0;o<arguments[t(2062)];o++)x[o]=arguments[o];return rs(x)(this)},n[e(578)][e(597)]=function(t){var x=this;return t=Jo(t),new t(function(o,r){var i;x.subscribe(function(a){return i=a},function(a){return r(a)},function(){return o(i)})})},n[e(943)]=function(t){return new n(t)},n})();function Jo(e){const n=c;var t;return(t=e??es[n(1905)])!==null&&t!==void 0?t:Promise}function is(e){const n=c;return e&&Ie(e[n(1148)])&&Ie(e[n(1750)])&&Ie(e[n(1361)])}function as(e){return e&&e instanceof vx||is(e)&&Wo(e)}function cs(e){return Ie(e?.[c(1100)])}function k0(e){return function(n){const t=_0xa8e1;if(cs(n))return n.lift(function(x){const o=_0xa8e1;try{return e(x,this)}catch(r){this[o(1750)](r)}});throw new TypeError(t(1436))}}function P0(e,n,t,x,o){return new ss(e,n,t,x,o)}var ss=(function(e){const n=c;v0(t,e);function t(x,o,r,i,a,d){const s=_0xa8e1;var f=e[s(1225)](this,x)||this;return f[s(1524)]=a,f[s(627)]=d,f[s(1841)]=o?function(u){const y=s;try{o(u)}catch(h){x[y(1750)](h)}}:e[s(578)][s(1841)],f[s(1671)]=i?function(u){const y=s;try{i(u)}catch(h){x.error(h)}finally{this[y(1245)]()}}:e[s(578)]._error,f[s(828)]=r?function(){const u=s;try{r()}catch(y){x.error(y)}finally{this[u(1245)]()}}:e[s(578)][s(828)],f}return t[n(578)][n(1245)]=function(){const x=n;var o;if(!this[x(627)]||this.shouldUnsubscribe()){var r=this[x(2034)];e[x(578)][x(1245)][x(1225)](this),!r&&((o=this.onFinalize)===null||o===void 0||o[x(1225)](this))}},t})(vx),ls=mx(function(e){return function(){const t=_0xa8e1;e(this),this[t(413)]=t(1334),this[t(2068)]="object unsubscribed"}}),_o=(function(e){const n=c;v0(t,e);function t(){const x=_0xa8e1;var o=e[x(1225)](this)||this;return o[x(2034)]=!1,o.currentObservers=null,o[x(1131)]=[],o[x(1649)]=!1,o[x(468)]=!1,o[x(1834)]=null,o}return t[n(578)].lift=function(x){const o=n;var r=new Fo(this,this);return r[o(1478)]=x,r},t[n(578)][n(733)]=function(){if(this[n(2034)])throw new ls},t[n(578)][n(1148)]=function(x){var o=this;rt(function(){const r=_0xa8e1;var i,a;if(o[r(733)](),!o[r(1649)]){!o.currentObservers&&(o[r(1469)]=Array[r(400)](o[r(1131)]));try{for(var d=F0(o[r(1469)]),s=d[r(1148)]();!s[r(2075)];s=d[r(1148)]()){var f=s.value;f[r(1148)](x)}}catch(u){i={error:u}}finally{try{s&&!s[r(2075)]&&(a=d[r(2024)])&&a[r(1225)](d)}finally{if(i)throw i[r(1750)]}}}})},t[n(578)][n(1750)]=function(x){var o=this;rt(function(){const r=_0xa8e1;if(o[r(733)](),!o[r(1649)]){o[r(468)]=o[r(1649)]=!0,o.thrownError=x;for(var i=o[r(1131)];i[r(2062)];)i[r(1059)]()[r(1750)](x)}})},t[n(578)][n(1361)]=function(){var x=this;rt(function(){const o=_0xa8e1;if(x[o(733)](),!x.isStopped){x[o(1649)]=!0;for(var r=x[o(1131)];r[o(2062)];)r[o(1059)]()[o(1361)]()}})},t[n(578)][n(1245)]=function(){const x=n;this[x(1649)]=this[x(2034)]=!0,this[x(1131)]=this[x(1469)]=null},Object[n(2e3)](t.prototype,n(576),{get:function(){const x=n;var o;return((o=this[x(1131)])===null||o===void 0?void 0:o[x(2062)])>0},enumerable:!1,configurable:!0}),t[n(578)][n(1533)]=function(x){const o=n;return this[o(733)](),e[o(578)][o(1533)][o(1225)](this,x)},t[n(578)]._subscribe=function(x){const o=n;return this[o(733)](),this._checkFinalizedStatuses(x),this[o(2122)](x)},t.prototype[n(2122)]=function(x){const o=n;var r=this,i=this,a=i.hasError,d=i[o(1649)],s=i[o(1131)];return a||d?qo:(this[o(1469)]=null,s.push(x),new Ln(function(){const f=o;r[f(1469)]=null,ot(s,x)}))},t.prototype[n(534)]=function(x){const o=n;var r=this,i=r[o(468)],a=r.thrownError,d=r.isStopped;i?x[o(1750)](a):d&&x.complete()},t[n(578)][n(2095)]=function(){const x=n;var o=new Re;return o[x(1413)]=this,o},t[n(943)]=function(x,o){return new Fo(x,o)},t})(Re),Fo=(function(e){const n=c;v0(t,e);function t(x,o){const r=_0xa8e1;var i=e[r(1225)](this)||this;return i[r(1915)]=x,i[r(1413)]=o,i}return t.prototype[n(1148)]=function(x){const o=n;var r,i;(i=(r=this[o(1915)])===null||r===void 0?void 0:r[o(1148)])===null||i===void 0||i[o(1225)](r,x)},t.prototype[n(1750)]=function(x){const o=n;var r,i;(i=(r=this[o(1915)])===null||r===void 0?void 0:r.error)===null||i===void 0||i[o(1225)](r,x)},t[n(578)][n(1361)]=function(){const x=n;var o,r;(r=(o=this[x(1915)])===null||o===void 0?void 0:o[x(1361)])===null||r===void 0||r[x(1225)](o)},t[n(578)][n(474)]=function(x){var o,r;return(r=(o=this.source)===null||o===void 0?void 0:o.subscribe(x))!==null&&r!==void 0?r:qo},t})(_o),ds={now:function(){return Date[c(429)]()}},us=(function(e){const n=c;v0(t,e);function t(x,o){return e[_0xa8e1(1225)](this)||this}return t[n(578)][n(806)]=function(x,o){return this},t})(Ln),Qo={setInterval:function(e,n){for(var t=[],x=2;x<arguments.length;x++)t[x-2]=arguments[x];return setInterval.apply(void 0,xt([e,n],tt(t)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},fs=(function(e){const n=c;v0(t,e);function t(x,o){const r=_0xa8e1;var i=e.call(this,x,o)||this;return i[r(1784)]=x,i[r(1366)]=o,i[r(991)]=!1,i}return t[n(578)][n(806)]=function(x,o){const r=n;var i;if(o===void 0&&(o=0),this[r(2034)])return this;this.state=x;var a=this.id,d=this.scheduler;return a!=null&&(this.id=this[r(883)](d,a,o)),this[r(991)]=!0,this.delay=o,this.id=(i=this.id)!==null&&i!==void 0?i:this[r(1751)](d,this.id,o),this},t.prototype[n(1751)]=function(x,o,r){const i=n;return r===void 0&&(r=0),Qo[i(904)](x.flush[i(1410)](x,this),r)},t.prototype[n(883)]=function(x,o,r){const i=n;return r===void 0&&(r=0),r!=null&&this[i(842)]===r&&this[i(991)]===!1?o:(o!=null&&Qo[i(449)](o),void 0)},t.prototype[n(1927)]=function(x,o){const r=n;if(this[r(2034)])return new Error(r(1548));this[r(991)]=!1;var i=this._execute(x,o);if(i)return i;this[r(991)]===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this[r(1784)],this.id,null))},t[n(578)][n(1368)]=function(x,o){const r=n;var i=!1,a;try{this[r(1366)](x)}catch(d){i=!0,a=d||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),a},t[n(578)].unsubscribe=function(){const x=n;if(!this[x(2034)]){var o=this,r=o.id,i=o[x(1784)],a=i.actions;this.work=this[x(1711)]=this.scheduler=null,this[x(991)]=!1,ot(a,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this[x(842)]=null,e[x(578)][x(1245)].call(this)}},t})(us),$o=(function(){const e=c;function n(t,x){const o=_0xa8e1;x===void 0&&(x=n[o(429)]),this[o(1517)]=t,this[o(429)]=x}return n[e(578)][e(806)]=function(t,x,o){const r=e;return x===void 0&&(x=0),new this[r(1517)](this,t)[r(806)](o,x)},n[e(429)]=ds.now,n})(),hs=(function(e){const n=c;v0(t,e);function t(x,o){const r=_0xa8e1;o===void 0&&(o=$o.now);var i=e[r(1225)](this,x,o)||this;return i[r(1586)]=[],i[r(758)]=!1,i}return t[n(578)][n(971)]=function(x){const o=n;var r=this[o(1586)];if(this[o(758)]){r[o(541)](x);return}var i;this[o(758)]=!0;do if(i=x[o(1927)](x[o(1711)],x.delay))break;while(x=r[o(1059)]());if(this[o(758)]=!1,i){for(;x=r[o(1059)]();)x[o(1245)]();throw i}},t})($o),gs=new hs(fs);function ys(e){return e&&Ie(e.schedule)}function ms(e){return e[e[c(2062)]-1]}function ws(e){const n=c;return ys(ms(e))?e[n(655)]():void 0}var er=function(e){const n=c;return e&&typeof e[n(2062)]===n(710)&&typeof e!==n(1200)};function nr(e){return Ie(e?.[c(2156)])}function tr(e){return Ie(e[bx])}function xr(e){return Symbol[c(1427)]&&Ie(e?.[Symbol.asyncIterator])}function or(e){const n=c;return new TypeError(n(819)+(e!==null&&typeof e===n(1918)?n(753):"'"+e+"'")+n(1093))}function vs(){const e=c;return typeof Symbol!==e(1200)||!Symbol.iterator?e(2181):Symbol[e(533)]}var rr=vs();function ir(e){return Ie(e?.[rr])}function ar(e){return Qc(this,arguments,function(){var t,x,o,r;return Vo(this,function(i){const a=_0xa8e1;switch(i[a(444)]){case 0:t=e[a(909)](),i[a(444)]=1;case 1:i[a(1098)][a(541)]([1,,9,10]),i.label=2;case 2:return[4,Q0(t[a(1152)]())];case 3:return x=i[a(1728)](),o=x[a(1989)],r=x[a(2075)],r?[4,Q0(void 0)]:[3,5];case 4:return[2,i[a(1728)]()];case 5:return[4,Q0(o)];case 6:return[4,i[a(1728)]()];case 7:return i[a(1728)](),[3,2];case 8:return[3,10];case 9:return t[a(1860)](),[7];case 10:return[2]}})})}function cr(e){return Ie(e?.[c(909)])}function I0(e){if(e instanceof Re)return e;if(e!=null){if(tr(e))return ps(e);if(er(e))return bs(e);if(nr(e))return zs(e);if(xr(e))return sr(e);if(ir(e))return Cs(e);if(cr(e))return Ms(e)}throw or(e)}function ps(e){return new Re(function(n){const t=_0xa8e1;var x=e[bx]();if(Ie(x[t(1435)]))return x.subscribe(n);throw new TypeError(t(1950))})}function bs(e){return new Re(function(n){const t=_0xa8e1;for(var x=0;x<e[t(2062)]&&!n[t(2034)];x++)n.next(e[x]);n[t(1361)]()})}function zs(e){return new Re(function(n){e.then(function(t){const x=_0xa8e1;!n[x(2034)]&&(n[x(1148)](t),n.complete())},function(t){return n[_0xa8e1(1750)](t)}).then(null,Ko)})}function Cs(e){return new Re(function(n){const t=_0xa8e1;var x,o;try{for(var r=F0(e),i=r[t(1148)]();!i[t(2075)];i=r[t(1148)]()){var a=i[t(1989)];if(n[t(1148)](a),n[t(2034)])return}}catch(d){x={error:d}}finally{try{i&&!i.done&&(o=r[t(2024)])&&o.call(r)}finally{if(x)throw x[t(1750)]}}n.complete()})}function sr(e){return new Re(function(n){const t=_0xa8e1;Bs(e,n)[t(1780)](function(x){return n[t(1750)](x)})})}function Ms(e){return sr(ar(e))}function Bs(e,n){var t,x,o,r;return Fc(this,void 0,void 0,function(){var i,a;return Vo(this,function(d){const s=_0xa8e1;switch(d[s(444)]){case 0:d[s(1098)][s(541)]([0,5,6,11]),t=$c(e),d.label=1;case 1:return[4,t[s(1148)]()];case 2:if(x=d[s(1728)](),!!x.done)return[3,4];if(i=x[s(1989)],n[s(1148)](i),n[s(2034)])return[2];d[s(444)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=d[s(1728)](),o={error:a},[3,11];case 6:return d[s(1098)][s(541)]([6,,9,10]),x&&!x[s(2075)]&&(r=t[s(2024)])?[4,r[s(1225)](t)]:[3,8];case 7:d[s(1728)](),d[s(444)]=8;case 8:return[3,10];case 9:if(o)throw o[s(1750)];return[7];case 10:return[7];case 11:return n[s(1361)](),[2]}})})}function p0(e,n,t,x,o){const r=c;x===void 0&&(x=0),o===void 0&&(o=!1);var i=n[r(806)](function(){const a=r;t(),o?e[a(1796)](this.schedule(null,x)):this.unsubscribe()},x);if(e[r(1796)](i),!o)return i}function lr(e,n){return n===void 0&&(n=0),k0(function(t,x){t[_0xa8e1(1435)](P0(x,function(r){return p0(x,e,function(){return x[_0xa8e1(1148)](r)},n)},function(){return p0(x,e,function(){return x[_0xa8e1(1361)]()},n)},function(r){return p0(x,e,function(){return x[_0xa8e1(1750)](r)},n)}))})}function dr(e,n){return n===void 0&&(n=0),k0(function(t,x){const o=_0xa8e1;x[o(1796)](e[o(806)](function(){return t[o(1435)](x)},n))})}function Ds(e,n){const t=c;return I0(e)[t(1165)](dr(n),lr(n))}function Ls(e,n){return I0(e).pipe(dr(n),lr(n))}function Ns(e,n){return new Re(function(t){const x=_0xa8e1;var o=0;return n[x(806)](function(){const r=x;o===e[r(2062)]?t.complete():(t.next(e[o++]),!t.closed&&this[r(806)]())})})}function Ss(e,n){return new Re(function(t){var x;return p0(t,n,function(){x=e[rr](),p0(t,n,function(){const o=_0xa8e1;var r,i,a;try{r=x[o(1148)](),i=r[o(1989)],a=r[o(2075)]}catch(d){t[o(1750)](d);return}a?t.complete():t.next(i)},0,!0)}),function(){const o=_0xa8e1;return Ie(x?.[o(2024)])&&x[o(2024)]()}})}function ur(e,n){const t=c;if(!e)throw new Error(t(1855));return new Re(function(x){p0(x,n,function(){var o=e[Symbol.asyncIterator]();p0(x,n,function(){const r=_0xa8e1;o[r(1148)]()[r(2156)](function(i){const a=r;i[a(2075)]?x[a(1361)]():x[a(1148)](i[a(1989)])})},0,!0)})})}function ks(e,n){return ur(ar(e),n)}function Ps(e,n){if(e!=null){if(tr(e))return Ds(e,n);if(er(e))return Ns(e,n);if(nr(e))return Ls(e,n);if(xr(e))return ur(e,n);if(ir(e))return Ss(e,n);if(cr(e))return ks(e,n)}throw or(e)}function at(e,n){return n?Ps(e,n):I0(e)}function _e(){const e=c;for(var n=[],t=0;t<arguments[e(2062)];t++)n[t]=arguments[t];var x=ws(n);return at(n,x)}function Ae(e,n){var t=Ie(e)?e:function(){return e},x=function(o){return o[_0xa8e1(1750)](t())};return new Re(x)}function Is(e){return e instanceof Date&&!isNaN(e)}var js=mx(function(e){return function(t){const x=_0xa8e1;t===void 0&&(t=null),e(this),this[x(2068)]=x(1387),this[x(413)]="TimeoutError",this[x(1660)]=t}});function As(e,n){const t=c;var x=Is(e)?{first:e}:{each:e},o=x[t(724)],r=x[t(916)],i=x[t(1112)],a=i===void 0?Es:i,d=x[t(1784)],s=d===void 0?gs:d,f=x[t(1723)],u=f===void 0?null:f;if(o==null&&r==null)throw new TypeError(t(1285));return k0(function(y,h){const w=t;var g,p,b=null,z=0,m=function(v){p=p0(h,s,function(){const M=_0xa8e1;try{g.unsubscribe(),I0(a({meta:u,lastValue:b,seen:z})).subscribe(h)}catch(I){h[M(1750)](I)}},v)};g=y[w(1435)](P0(h,function(v){const M=w;p?.unsubscribe(),z++,h[M(1148)](b=v),r>0&&m(r)},void 0,void 0,function(){const v=w;!p?.[v(2034)]&&p?.[v(1245)](),b=null})),!z&&m(o!=null?typeof o===w(710)?o:+o-s[w(429)]():r)})}function Es(e){throw new js(e)}function ct(e,n){return k0(function(t,x){const o=_0xa8e1;var r=0;t[o(1435)](P0(x,function(i){const a=o;x[a(1148)](e[a(1225)](n,i,r++))}))})}function Ys(e,n,t,x,o,r,i,a){const d=c;var s=[],f=0,u=0,y=!1,h=function(){const p=_0xa8e1;y&&!s[p(2062)]&&!f&&n[p(1361)]()},w=function(p){return f<x?g(p):s.push(p)},g=function(p){f++;var b=!1;I0(t(p,u++)).subscribe(P0(n,function(z){n[_0xa8e1(1148)](z)},function(){b=!0},void 0,function(){const z=_0xa8e1;if(b)try{f--;for(var m=function(){var M=s[_0xa8e1(1059)]();i||g(M)};s[z(2062)]&&f<x;)m();h()}catch(v){n[z(1750)](v)}}))};return e[d(1435)](P0(n,w,function(){y=!0,h()})),function(){}}function zx(e,n,t){const x=c;return t===void 0&&(t=1/0),Ie(n)?zx(function(o,r){return ct(function(i,a){return n(o,i,r,a)})(I0(e(o,r)))},t):(typeof n===x(710)&&(t=n),k0(function(o,r){return Ys(o,r,e,t)}))}function st(e){return k0(function(n,t){const x=_0xa8e1;var o=null,r=!1,i;o=n[x(1435)](P0(t,void 0,void 0,function(a){const d=x;i=I0(e(a,st(e)(n))),o?(o[d(1245)](),o=null,i[d(1435)](t)):r=!0})),r&&(o[x(1245)](),o=null,i[x(1435)](t))})}function Us(e,n,t){var x=Ie(e)||n||t?{next:e,error:n,complete:t}:e;return x?k0(function(o,r){const i=_0xa8e1;var a;(a=x[i(1435)])===null||a===void 0||a[i(1225)](x);var d=!0;o[i(1435)](P0(r,function(s){const f=i;var u;(u=x[f(1148)])===null||u===void 0||u.call(x,s),r.next(s)},function(){const s=i;var f;d=!1,(f=x[s(1361)])===null||f===void 0||f[s(1225)](x),r[s(1361)]()},function(s){const f=i;var u;d=!1,(u=x.error)===null||u===void 0||u[f(1225)](x,s),r[f(1750)](s)},function(){const s=i;var f,u;d&&((f=x[s(1245)])===null||f===void 0||f[s(1225)](x)),(u=x[s(1264)])===null||u===void 0||u[s(1225)](x)}))}):Ro}function Cx(e){return encodeURIComponent((e||"").trim()||"__default__")}function Os(e){const n=c;return e[n(1407)]===n(1234)?e.bindNodeId+n(1642)+Cx(e[n(1890)]??""):e[n(1658)]+"::"+e.eventType}function fr(e,n){return e+":"+n}class $0{static[c(1182)];[c(1683)]=new Map;[c(1604)]=new Map;[c(1402)]=new Map;[c(830)]=new Map;defaultRuntimeHandlers;constructor(){}static[c(1256)](){const n=c;return!$0[n(1182)]&&($0.instance=new $0),$0[n(1182)]}[c(869)](n){this[c(1402)].set(n.id,n)}[c(1566)](n){const t=c;this[t(1402)][t(1826)](n)}[c(505)](n){const t=c;return this[t(1402)][t(834)](n)}[c(470)](n){const t=c;this[t(1706)]=n}mergeDefaultRuntimeHandlers(n){const t=c;if(!n)return;const x=this.defaultRuntimeHandlers;this[t(1706)]={dataRequest:{...x?.[t(421)],...n[t(421)]},external:{...x?.[t(1234)],...n.external}}}[c(464)](n){const t=c,x=this[t(1706)];if(!(!x&&!n))return{dataRequest:{...x?.[t(421)],...n?.dataRequest},external:{...x?.[t(1234)],...n?.[t(1234)]}}}[c(784)](n){const t=c,x=this.subscriptions[t(834)](n.id);x&&(x[t(1245)](),this[t(1604)][t(1826)](n.id)),this.eventSubjects[t(1826)](n.id)}[c(2008)](n){const t=c,x=Os(n),o=this[t(830)][t(834)](x);o&&o.id!==n.id&&this.disposeEventRootPipeline(o),this[t(830)].set(x,n),!this[t(1683)][t(1071)](n.id)&&this[t(2018)](n)}[c(1370)](n,t,x){const o=c;if(t===o(1234)){const d=n+o(1642)+Cx(x??""),s=this.nodeEventBindings[o(834)](d);s&&(this.disposeEventRootPipeline(s),this[o(830)][o(1826)](d));return}const r=n+"::"+t,i=fr(n,t),a=this[o(830)][o(834)](r)??this[o(830)].get(i);a&&(this[o(784)](a),this[o(830)][o(1826)](r),this[o(830)][o(1826)](i))}[c(1060)](n){const t=c,x=[];this[t(830)][t(1575)]((o,r)=>{const i=t;o[i(1658)]===n&&x[i(541)]({key:r,root:o})}),x.forEach(({key:o,root:r})=>{const i=t;this[i(784)](r),this[i(830)][i(1826)](o)})}[c(387)](n){const t=c,x=[];return this[t(830)].forEach(o=>{const r=t;o[r(1658)]===n&&x[r(541)](o)}),x}[c(1662)](n,t,x){const o=c,r=n+"::"+t,i=this[o(830)].get(r)??this.nodeEventBindings[o(834)](fr(n,t));if(!i||!i[o(1670)])return _e({success:!0,result:null,path:[],duration:0});if(!this[o(1683)][o(834)](i.id))return Ae(()=>new Error("Event flow not initialized for "+r));const d=Date[o(429)](),s={...x,executionPath:x[o(483)]||[],runtimeHandlers:this[o(464)](x[o(1139)])};return this.executeEventFlow(i,s)[o(1165)](ct(f=>({success:!0,result:f,path:s[o(483)],duration:Date.now()-d})),st(f=>_e({success:!1,error:f[o(2068)]||o(1594),path:s[o(483)],duration:Date.now()-d})))}[c(1026)](n,t,x){const o=c,r=n+o(1642)+Cx(t),i=this[o(830)][o(834)](r);if(!i||!i.enabled)return _e({success:!0,result:null,path:[],duration:0});if(!this[o(1683)][o(834)](i.id))return Ae(()=>new Error(o(460)+r));const d=Date.now(),s={...x,executionPath:x[o(483)]||[],runtimeHandlers:this[o(464)](x[o(1139)])};return this[o(1877)](i,s)[o(1165)](ct(f=>({success:!0,result:f,path:s[o(483)],duration:Date.now()-d})),st(f=>_e({success:!1,error:f[o(2068)]||"Event flow execution failed",path:s.executionPath,duration:Date[o(429)]()-d})))}[c(2018)](n){const t=c,x=new _o;this[t(1683)].set(n.id,x)}[c(1877)](n,t){const x=c,{nodes:o,edges:r}=n[x(1875)];if(o.length===0)return _e(null);const i=o.filter(a=>a[x(1284)][x(2062)]===0);return i[x(2062)]===0?Ae(()=>new Error("No start node found in event flow")):this[x(717)](i,o,r,t,{})}[c(717)](n,t,x,o,r){const i=c;if(n.length===0)return _e(r);const a=n[i(1008)](d=>this.executeSingleFlowNode(d,o,r).pipe(Us(s=>{const f=i;r[d.id]=s,o[f(483)][f(541)](d.id)})));return at(a)[i(1165)](zx(d=>d,1),ct(()=>{const d=i,s=new Set;return n[d(1575)](u=>{const y=d;u[y(633)][y(1575)](h=>{const w=y,g=t[w(583)](p=>p.id===h);g&&g[w(1284)].every(b=>r[b]!==void 0)&&s[w(1796)](h)})}),t.filter(u=>s[d(1071)](u.id))}),zx(d=>{const s=i;return d[s(2062)]>0?this[s(717)](d,t,x,o,r):_e(r)}),As(3e4),st(d=>(console.error("Event flow execution error:",d),Ae(()=>d))))}resolveFlowEventBlock(n){const t=c;return this[t(1402)][t(834)](n[t(2084)])??n.data.eventBlock}[c(1292)](n,t,x){return n.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(o,r)=>{const i=_0xa8e1,a=String(r)[i(562)]();if(a[i(1674)]("$")){const s=this[i(942)](x,a.slice(1));return s==null?"":String(s)}const d=t[a];return d==null?"":String(d)})}[c(999)](n,t,x){const o=c,r=n[o(1917)];if(!r)return Ae(()=>new Error(o(840)));if(r==="antdMessage"){const i=n[o(2147)]??{},a=String(i[o(450)]??""),d=i[o(487)]??o(1660),s=i[o(405)],f=this[o(1292)](a,x,t);if(!f[o(562)]())return Ae(()=>new Error(o(432)));try{const u={type:d,content:f};if(s!=null&&s!==""){const y=Number(s);!Number[o(1494)](y)&&(u[o(405)]=y)}return C[o(2068)][o(1211)](u),_e({ok:!0,builtinId:r,content:f,level:d})}catch(u){return Ae(()=>u)}}if(r==="switchCanvas"){const i=n[o(2147)]??{},a=String(i[o(731)]??"")[o(562)]();if(!a)return Ae(()=>new Error(o(879)));if(!t.switchCanvas)return Ae(()=>new Error(o(664)));try{return t[o(2142)](a),_e({ok:!0,builtinId:r,targetCanvasId:a})}catch(d){return Ae(()=>d)}}return Ae(()=>new Error(o(1362)+String(r)))}[c(504)](n,t,x){try{const o=n(t,x);return o instanceof Promise?at(o):_e(o)}catch(o){return Ae(()=>o)}}executeSingleFlowNode(n,t,x){const o=c,r=this[o(1394)](n);if(!r)return Ae(()=>new Error(o(1217)+n[o(2084)]));const i=this[o(1749)](n,t,x),a=r[o(1212)]??o(2102);if(a===o(421)){const d=(r.dataRequestKey||"").trim();if(!d)return Ae(()=>new Error(o(425)));const s=t.runtimeHandlers?.[o(421)]?.[d];return s?this.invokeRuntimeHandler(s,t,i):Ae(()=>new Error(o(1153)+d))}if(a===o(1234)){const d=(r[o(1077)]||"")[o(562)]();if(!d)return Ae(()=>new Error(o(1420)));const s=t[o(1139)]?.external?.[d];return s?this.invokeRuntimeHandler(s,t,i):Ae(()=>new Error(o(851)+d))}if(a===o(1830))return this[o(999)](r,t,i);try{const d=new Function(o(1470),"context",o(1102),r.callback),s=d(t[o(1186)],t,i);return s instanceof Promise?at(s):_e(s)}catch(d){return Ae(()=>d)}}prepareEventArgs(n,t,x){const o=c,r={$event:t.originalEvent,$data:t.data,$node:t[o(1186)]},{inputMapping:i}=n[o(618)];return i&&Object.entries(i)[o(1575)](([a,d])=>{const s=o;if(d[s(1674)](s(1172))){const f=d[s(1341)]("$prev.","");r[a]=x[f]}else if(d.startsWith("$")){const f=d[s(423)](1);r[a]=this[s(942)](t,f)}else r[a]=d}),r}getValueFromPath(n,t){const x=c;return t[x(1296)](".")[x(1745)]((o,r)=>{if(o!==null&&typeof o===x(1918)&&r in o)return o[r]},n)}[c(2176)](){const n=c;this[n(1604)].forEach(t=>t.unsubscribe()),this[n(1604)].clear(),this[n(1683)][n(1822)](),this[n(830)][n(1822)]()}}const en=$0[c(1256)](),hr=({node:e,children:n,runtimeHandlers:t,flowContextData:x})=>{const o=c,{eventFlow:r,switchCanvas:i}=Ee(),a=D.useRef(null),d=D[o(983)](()=>{const f=o;return r[f(789)][f(1928)](u=>u[f(1658)]===e.id&&u.enabled)},[r[o(789)],e.id]),s=D[o(983)](f=>u=>{const y=_0xa8e1,h=d()[y(1928)](g=>g[y(1407)]===f);if(h[y(2062)]===0)return;f!==y(543)&&f!==y(1807)&&u.preventDefault(),u[y(1118)]();const w=x&&typeof x===y(1918)?{...x}:{};h[y(1575)](g=>{const p=y;en.emit(e.id,f,{triggerNode:e,originalEvent:u,data:w,runtimeHandlers:t,switchCanvas:i})[p(1435)]({next:b=>{const z=p;!b[z(767)]&&console.error("Event flow execution failed:",b[z(1750)])},error:b=>{console[p(1750)]("Event flow error:",b)}})})},[d,e,t,x]);return D[o(433)](()=>{const f=o;return d()[f(1575)](y=>{en[f(2008)](y)}),()=>{en[f(1060)](e.id)}},[d,e.id]),D.useEffect(()=>{const f=o,u=a[f(515)];if(!u)return;const y={click:s(f(827)),mousedown:s(f(1440)),mouseup:s(f(1063)),dblclick:s(f(2002)),mouseover:s(f(543)),mouseleave:s("mouseLeave"),mouseenter:s("mouseEnter"),contextmenu:s(f(1986))};return Object.entries(y)[f(1575)](([h,w])=>{u.addEventListener(h,w,!0)}),()=>{Object.entries(y).forEach(([h,w])=>{u[_0xa8e1(2009)](h,w,!0)})}},[s]),D[o(1238)](n,{ref:f=>{const u=o;a.current=f;const y=n[u(1693)];typeof y===u(1200)?y(f):y&&u(515)in y&&(y.current=f)}})},{Text:gr}=C.Typography,yr=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array[t(738)](e)){const x=e[t(583)](o=>o.paramsCode===n);if(x)return{value:x.value,unit:x[t(1840)]}}else if(typeof e=="object"){const x=n[t(1296)](".");let o=e;for(const r of x){if(o===null||typeof o!="object")return{value:void 0};o=o[r]}if(o!==void 0)return{value:o,unit:e[t(1840)]}}return{value:void 0}};function Gs(e){return Array[c(738)](e)}const Hs=(e,n,t)=>{const x=c,o=e[x(450)]||{},{valueSourceCode:r,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:d}=o;if(!r)return{value:void 0};if(i){const s=n[x(583)](f=>f.id===i);if(s){let f;Gs(s[x(1550)])?a!=null&&d!=null?f=s[x(1550)][x(583)](y=>y[a]===d)||{}:f={}:f=s[x(1550)];const u=t&&typeof t=="object"?{...f,...t}:f;return yr(u,r)}}return yr(t,r)},Ts=(e,n)=>{if(e==null||e==="")return"";if(n===-1)return String(e);const t=Number(e);return isNaN(t)?String(e):t.toFixed(n??2)},Vs=(e,n,t,x,o)=>{const r=c;switch(e[r(1721)]){case r(1214):const i=e,a=i[r(934)],d=i[r(2130)];let s=i.src;return d&&s&&s[r(545)]("data:image/svg+xml")&&(e[r(413)]==="矩形"?s=r(1603)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+d+r(804)):e[r(413)]==="圆形"?s=r(1603)+encodeURIComponent(r(1996)+d+r(1812)):e[r(413)]===r(1738)&&(s=r(1603)+encodeURIComponent(r(399)+d+r(815)))),l[r(662)](r(1861),{className:r(1289),style:{backgroundColor:a},children:s?l[r(662)](r(1101),{src:s,alt:e[r(413)],style:{width:"100%",height:"100%",objectFit:"contain"}}):l[r(662)](r(1861),{className:r(2007),children:l.jsx("span",{className:"text-gray-400 text-xs",children:r(1379)})})});case r(1459):const f=e,{label:u,value:y,valueSourceCode:h,unit:w,decimals:g,labelStyle:p,valueStyle:b,customStyle:z}=f[r(450)]||{},{value:m,unit:v}=h?Hs(f,o||[],n):{value:void 0,unit:void 0},M=m!==void 0?m:y,I=Ts(M,g),E=w||v||"";return l[r(1304)](r(1861),{className:r(796),style:{...z},children:[u&&l[r(662)](gr,{style:{fontSize:14,fontWeight:r(1294),color:r(822),textAlign:"left",...p},children:u}),I&&l[r(1304)](gr,{style:{fontSize:14,color:"#1890ff",textAlign:r(1044),...b},children:[I,E?" "+E:""]})]});case r(1744):const G=e,{thickness:O=2,color:U=r(661),dashed:F=!1,lineType:X=F?r(705):"solid",lineWeight:W=O,startX:T=0,startY:N=0,endX:L=100,endY:B=0}=G.config||{},A=R=>{const _=r,Q=Math[_(1121)](W,1);switch(R){case _(1999):return"";case"dashed":return Q*8+","+Q*4;case _(645):return Q*12+","+Q*3+","+Q*2+","+Q*3;case _(1900):return Q*12+","+Q*3+","+Q*2+","+Q*3+","+Q*2+","+Q*3;case _(1028):return Q+","+Q*3;case"dash-dot":return Q*8+","+Q*3+","+Q+","+Q*3;default:return""}},P=A(X),j=t?r(1743):U;return l[r(662)](r(1861),{className:r(507),style:{overflow:"visible"},children:l[r(1304)](r(1921),{className:r(529),width:"100%",height:r(1437),style:{overflow:r(1065),pointerEvents:r(1316)},children:[l[r(662)]("line",{x1:T,y1:N,x2:L,y2:B,stroke:"transparent",strokeWidth:Math[r(1121)](W,10),strokeLinecap:r(814),strokeLinejoin:r(814),style:{pointerEvents:r(1634),cursor:"pointer"}}),l[r(662)](r(693),{x1:T,y1:N,x2:L,y2:B,stroke:j,strokeWidth:W,strokeDasharray:P,strokeLinecap:r(814),strokeLinejoin:r(814),style:{pointerEvents:"none"}})]})});case r(1678):const Z=e;return Z[r(1105)]?Z[r(1105)]({}):l[r(662)](r(1861),{className:r(1865),children:l[r(662)](r(1082),{className:r(2051),children:"自定义组件"})});default:return l[r(662)]("div",{className:r(1865),children:l.jsx("span",{className:r(2051),children:r(1694)})})}},qs=({node:e,isSelected:n=!1,onClick:t,onMouseDown:x,data:o,onUpdateNode:r,scale:i=1,enableEventFlow:a=!1,eventFlowData:d})=>{const s=c,{normalStyle:f,controlInfo:u}=e,{isClickable:y,isDraggable:h,isResizable:w}=u,g=e[s(503)],p=Ee(k=>k[s(772)]),b=Ee(k=>k[s(1337)]),z=D.useRef(t);D[s(433)](()=>{const k=s;z[k(515)]=t},[t]);const[m,v]=D[s(744)](null),M=D[s(649)](null),I=D[s(649)](null),E=D[s(649)](null),G=D[s(649)](null),O=D[s(649)](null),[U,F]=D[s(744)](null),[X,W]=D.useState(null),T=D[s(649)](null),N=D[s(476)](()=>{const k=s,S=e[k(503)].statusList;if(S[k(2062)]===0)return;const q=Yo(S,o,p);return q||S[0]},[e[s(503)][s(1350)],o,p]),L=D[s(649)](e[s(503)][s(955)]);D[s(433)](()=>{const k=s;L[k(515)]=e[k(503)][k(955)]},[e.id]),D[s(433)](()=>{const k=s,S=N?.id;S!==void 0&&L[k(515)]!==S&&(L[k(515)]=S,b(e.id,{contentInfo:{...e[k(503)],currentStatusId:S}}))},[N?.id,e.id,b]);const B=N?.[s(972)],A=B?.type===s(1744),P=A?B[s(669)]:null,j=f[s(872)]??1,Z=(f[s(1088)]||100)*j,R=(f.height||100)*j,_=D[s(983)](()=>{const k=s,S=O[k(515)]?.[k(1892)](k(936));if(!S)return i;const q=S[k(1412)](),K=parseFloat(S[k(752)][k(1088)]);return K?q.width/K:i},[i]),Q=D[s(983)]((k,S)=>{const q=s;k[q(1118)](),k[q(2106)]();const K=P?.[q(1685)]||0,V=P?.[q(1397)]||0,ae=P?.[q(420)]||0,ge=P?.[q(878)]||0,me=f.x||0,he=f.y||0,ve=Math.max((P?.[q(2138)]||P?.[q(1354)]||2)*2,4),Ne=Math[q(880)](K,ae),Me=Math[q(880)](V,ge),De=Math[q(1121)](K,ae),Oe=Math[q(1121)](V,ge),Ye=Math[q(1121)](De-Ne,ve),Je=Math[q(1121)](Oe-Me,ve);M.current={mouseX:k.clientX,mouseY:k[q(1477)],startX:K,startY:V,endX:ae,endY:ge,nodeX:me,nodeY:he};const Pe=Math[q(880)](K,ae),Te=Math[q(880)](V,ge);E[q(515)]={nodeX:me+Pe,nodeY:he+Te,width:Ye,height:Je,startX:K-Pe,startY:V-Te,endX:ae-Pe,endY:ge-Te},I[q(515)]=N||null,v(S)},[P,f.x,f.y,N]);D[s(433)](()=>{const k=s;if(!m||!A||!P||!r)return;const S=K=>{const V=_0xa8e1,ae=M[V(515)];if(!ae||!O[V(515)])return;const ge=_(),me=(K[V(1403)]-ae.mouseX)/ge,he=(K[V(1477)]-ae[V(519)])/ge;let ve=ae[V(1685)],Ne=ae[V(1397)],Me=ae.endX,De=ae.endY,Oe=ae[V(2129)],Ye=ae[V(2053)];m===V(1679)?(ve=ae.startX+me,Ne=ae[V(1397)]+he,ve<0&&(Oe=ae.nodeX+ve,Me=ae[V(420)]-ve,ve=0),Ne<0&&(Ye=ae[V(2053)]+Ne,De=ae[V(878)]-Ne,Ne=0)):(Me=ae[V(420)]+me,De=ae[V(878)]+he,Me<0&&(Oe=ae[V(2129)]+Me,ve=ae[V(1685)]-Me,Me=0),De<0&&(Ye=ae.nodeY+De,Ne=ae[V(1397)]-De,De=0));const Je=Math[V(1121)]((P[V(2138)]||2)*2,4),Pe=Math[V(880)](ve,Me),Te=Math[V(880)](Ne,De),h0=Math[V(1121)](ve,Me),g0=Math.max(Ne,De),y0=Oe+Pe,yn=Ye+Te,T0=ve-Pe,V0=Ne-Te,Ze=Me-Pe,D0=De-Te,Ge=Math[V(1121)](h0-Pe,Je),m0=Math[V(1121)](g0-Te,Je);E[V(515)]={nodeX:y0,nodeY:yn,width:Ge,height:m0,startX:T0,startY:V0,endX:Ze,endY:D0};const Ve=O[V(515)];Ve[V(752)].left=y0+"px",Ve.style[V(1813)]=yn+"px",Ve[V(752)].width=Ge+"px",Ve[V(752)][V(1945)]=m0+"px",Ve[V(848)](V(1778)).forEach(L0=>{const X0=V;L0[X0(1727)]("x1",String(T0)),L0.setAttribute("y1",String(V0)),L0[X0(1727)]("x2",String(Ze)),L0[X0(1727)]("y2",String(D0))});const q0=Ve[V(954)](V(1785)),W0=Ve[V(954)](V(1838));q0&&(q0[V(752)][V(1044)]=T0-6+"px",q0[V(752)][V(1813)]=V0-6+"px"),W0&&(W0[V(752)][V(1044)]=Ze-6+"px",W0[V(752)][V(1813)]=D0-6+"px")},q=()=>{const K=_0xa8e1,V=E[K(515)];if(!V||!r){v(null),M[K(515)]=null,E[K(515)]=null,I[K(515)]=null;return}const ae=Ee[K(1560)]().nodes[K(583)](Me=>Me.id===e.id),ge=ae?.[K(503)][K(1350)]??e.contentInfo[K(1350)],me=I[K(515)],he=me?.id??ge.find(Me=>Me[K(972)][K(1721)]===K(1744))?.id,ve=ge.map(Me=>{const De=K;if(Me[De(972)].type!==De(1744)||Me.id!==he)return Me;const Oe=Me[De(972)];return{...Me,material:{...Oe,config:{...Oe[De(669)],startX:V[De(1685)],startY:V[De(1397)],endX:V[De(420)],endY:V.endY}}}}),Ne=ae?.[K(503)]??g;r(e.id,{normalStyle:{x:V.nodeX,y:V[K(2053)],width:V[K(1088)],height:V.height},contentInfo:{...Ne,statusList:ve}}),v(null),M.current=null,E[K(515)]=null,I.current=null};return window[k(437)](k(1843),S),window[k(437)](k(1124),q),()=>{const K=k;window.removeEventListener(K(1843),S),window[K(2009)](K(1124),q)}},[m,A,P,e.id,f,g,e.contentInfo[s(1350)],r,_]),D[s(433)](()=>{const k=s;if(!U||!r)return;const S=K=>{const V=_0xa8e1;if(!O[V(515)])return;const ae=_(),ge=(K.clientX-U[V(1685)])/ae,me=(K[V(1477)]-U[V(1397)])/ae;let he=U[V(1846)],ve=U.startHeight,Ne=U[V(997)],Me=U[V(1895)];switch(U[V(2067)]){case"se":he=Math[V(1121)](20,U[V(1846)]+ge),ve=Math[V(1121)](20,U[V(1333)]+me);break;case"sw":he=Math[V(1121)](20,U[V(1846)]-ge),ve=Math[V(1121)](20,U[V(1333)]+me),Ne=U[V(997)]+(U[V(1846)]-he);break;case"ne":he=Math[V(1121)](20,U[V(1846)]+ge),ve=Math.max(20,U.startHeight-me),Me=U[V(1895)]+(U.startHeight-ve);break;case"nw":he=Math[V(1121)](20,U[V(1846)]-ge),ve=Math.max(20,U[V(1333)]-me),Ne=U[V(997)]+(U[V(1846)]-he),Me=U[V(1895)]+(U.startHeight-ve);break}G.current={x:Ne,y:Me,width:he,height:ve};const De=O.current;De[V(752)].left=Ne+"px",De[V(752)][V(1813)]=Me+"px",De[V(752)][V(1088)]=he+"px",De[V(752)].height=ve+"px"},q=()=>{const K=_0xa8e1,V=G[K(515)];V&&r(e.id,{normalStyle:{...f,x:V.x,y:V.y,width:V[K(1088)],height:V[K(1945)]}}),F(null),G[K(515)]=null};return window.addEventListener(k(1843),S),window[k(437)]("mouseup",q),()=>{const K=k;window[K(2009)](K(1843),S),window[K(2009)](K(1124),q)}},[U,r,e.id,f,_]);const te=D.useCallback((k,S)=>{const q=s;k.stopPropagation(),k[q(2106)](),F({corner:S,startX:k.clientX,startY:k.clientY,startWidth:f[q(1088)]||100,startHeight:f[q(1945)]||100,startNodeX:f.x||0,startNodeY:f.y||0})},[f.width,f[s(1945)],f.x,f.y]),ce=D[s(983)](k=>{const S=s;k[S(1118)](),k[S(2106)]();const q=O[S(515)]?.getBoundingClientRect();q&&W({startX:k[S(1403)],startY:k[S(1477)],startAngle:f[S(2041)]||0,centerX:q.left+q[S(1088)]/2,centerY:q[S(1813)]+q.height/2})},[f[s(2041)]]);D[s(433)](()=>{const k=s;if(!X)return;const S=K=>{const V=_0xa8e1,ae=K[V(1403)]-X[V(2050)],ge=K[V(1477)]-X[V(714)];let he=(Math[V(1120)](ge,ae)*(180/Math.PI)+90)%360;if(he<0&&(he+=360),T[V(515)]=he,O[V(515)]){const ve=f[V(1558)]||"";O.current[V(752)][V(1558)]=("rotate("+he+"deg) "+ve)[V(562)]()}},q=()=>{const K=_0xa8e1,V=T[K(515)]??X[K(626)];T[K(515)]=null,r&&r(e.id,{normalStyle:{...f,rotate:Math[K(814)](V)}}),W(null)};return window[k(437)](k(1843),S),window.addEventListener(k(1124),q),()=>{const K=k;window.removeEventListener("mousemove",S),window[K(2009)](K(1124),q)}},[X,r,e.id,f]);const $=e[s(1721)]===s(650),se={position:"absolute",left:f.x||0,top:f.y||0,width:Z,height:R,background:$?s(1913):f[s(996)]||"transparent",backgroundImage:$?void 0:f[s(1555)]?s(866)+f.backgroundImage+")":void 0,backgroundSize:s(1140),backgroundPosition:"center",padding:Array[s(738)](f[s(813)])?f[s(813)].join(s(1941))+"px":f.padding,margin:Array[s(738)](f.margin)?f[s(2052)][s(2171)](s(1941))+"px":f[s(2052)],borderRadius:$?void 0:f[s(1818)],border:n&&!A?s(586):A?"none":$?s(1316):f.border||s(1007),pointerEvents:"auto",opacity:f.opacity??1,transform:(s(2089)+(T[s(515)]??(f.rotate||0))+s(532)+(f.transform||""))[s(562)](),transformOrigin:"center center",zIndex:n?1e3:f[s(1383)]??1,cursor:s(h&&!m?1023:y?856:1170),boxSizing:"border-box",overflow:n||A||$?s(1065):"hidden"},xe=P?{x:P[s(1685)]||0,y:P[s(1397)]||0}:{x:0,y:0},oe=P?{x:P[s(420)]||0,y:P[s(878)]||0}:{x:0,y:0},ie=l[s(1304)](s(1861),{ref:O,"data-node-id":e.id,style:se,onClick:k=>{const S=s;console[S(833)]("NodeRenderer onClick",e.id,S(1904),y);const q=z[S(515)];y&&q&&!m&&!U&&!X&&(k[S(1118)](),q(k))},onMouseDown:k=>{h&&x&&!m&&x(k)},children:[n&&!A&&l[s(1304)](l[s(1907)],{children:[!$&&l.jsxs(l[s(1907)],{children:[l[s(662)]("div",{className:"absolute top-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1104),cursor:s(1417),marginTop:s(441),marginLeft:"-6px"},onMouseDown:k=>te(k,"nw"),title:"拖拽调整大小"}),l[s(662)](s(1861),{className:s(1181),style:{zIndex:9999,pointerEvents:s(1104),cursor:"ne-resize",marginTop:s(441),marginRight:s(441)},onMouseDown:k=>te(k,"ne"),title:"拖拽调整大小"}),l[s(662)](s(1861),{className:s(1919),style:{zIndex:9999,pointerEvents:s(1104),cursor:s(1024),marginBottom:s(441),marginLeft:s(441)},onMouseDown:k=>te(k,"sw"),title:s(1614)}),l[s(662)](s(1861),{className:s(472),style:{zIndex:9999,pointerEvents:s(1104),cursor:s(2003),marginBottom:s(441),marginRight:"-6px"},onMouseDown:k=>te(k,"se"),title:"拖拽调整大小"})]}),l[s(662)]("div",{className:"absolute top-0 left-1/2 w-4 h-4 bg-green-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(1104),cursor:"grab",marginTop:s(1072),transform:s(1955),boxShadow:s(2085)},onMouseDown:k=>ce(k),title:"拖拽旋转"}),l[s(662)](s(1861),{className:"absolute top-0 left-1/2 w-0.5 h-3 bg-green-500",style:{zIndex:9998,pointerEvents:s(1316),marginTop:s(781),transform:s(1955)}}),l[s(1304)](s(1861),{className:s(1223),children:[e[s(413)]," ",N?"("+N[s(413)]+")":""]})]}),n&&A&&P&&r&&l[s(1304)](l.Fragment,{children:[l.jsx(s(1861),{"data-handle":s(1679),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:xe.x-6,top:xe.y-6,boxShadow:s(2085)},onMouseDown:k=>Q(k,"start"),title:"拖拽调整起点"}),l[s(662)](s(1861),{"data-handle":s(592),className:s(2092),style:{left:oe.x-6,top:oe.y-6,boxShadow:s(2085)},onMouseDown:k=>Q(k,s(592)),title:"拖拽调整终点"}),l[s(662)](s(1861),{className:s(1223),children:e[s(413)]})]}),l[s(662)](s(1861),{className:s(507),children:B?l[s(662)](s(1861),{className:s(1505),children:Vs(B,o,n,e,p)}):$?null:l[s(662)](s(1861),{className:s(622),children:s(982)})}),e[s(1721)]===s(650)&&e.children&&l.jsx(s(1861),{className:s(884),children:e[s(1933)].map(k=>l[s(662)](s(1861),{className:s(465),children:l[s(662)](Mx,{node:k,isSelected:!1,data:o,onUpdateNode:r,scale:i,enableEventFlow:a,eventFlowData:d})},k.id))})]});return a?l[s(662)](hr,{node:e,flowContextData:d,children:ie}):ie},Mx=D[c(1707)](qs,(e,n)=>{const t=c,x=e[t(1470)],o=n[t(1470)],r=x.id===o.id&&x[t(2020)].x===o[t(2020)].x&&x[t(2020)].y===o[t(2020)].y&&x[t(2020)][t(1088)]===o.normalStyle[t(1088)]&&x[t(2020)].height===o[t(2020)].height&&x[t(2020)].rotate===o[t(2020)][t(2041)],i=x.contentInfo===o[t(503)],a=JSON[t(552)](e[t(518)]??null)===JSON[t(552)](n[t(518)]??null),d=e.isSelected===n[t(1627)]&&e[t(872)]===n[t(872)]&&e[t(981)]===n[t(981)]&&a,s=h=>{const w=t,g=[];return h.contentInfo?.[w(1350)]?.[w(1575)](p=>{const b=w;if(p[b(972)]?.[b(1721)]===b(1744)){const z=p[b(972)][b(669)];g[b(541)]({statusId:p.id,startX:z?.[b(1685)]??0,startY:z?.[b(1397)]??0,endX:z?.[b(420)]??100,endY:z?.endY??0})}}),g},f=s(x),u=s(o);let y=!0;if(f.length!==u[t(2062)])y=!1;else for(let h=0;h<f[t(2062)];h++){const w=f[h],g=u[t(583)](p=>p[t(1092)]===w[t(1092)]);if(!g||w[t(1685)]!==g[t(1685)]||w[t(1397)]!==g.startY||w[t(420)]!==g[t(420)]||w[t(878)]!==g[t(878)]){y=!1;break}}return r&&i&&d&&y}),Ws=[c(1743),"#52c41a",c(1194),c(1782),"#722ed1","#eb2f96","#13c2c2",c(1654),"#595959",c(822),"#8c8c8c",c(661),c(1534),c(1773),c(898),c(690)],nn=({value:e=c(1743),onChange:n,onChangeComplete:t})=>{const x=c,[o,r]=D[x(744)](!1),[i,a]=D.useState(e),d=D[x(649)](null);D[x(433)](()=>{a(e)},[e]),D.useEffect(()=>{const f=x,u=y=>{const h=_0xa8e1;d[h(515)]&&!d.current[h(2168)](y[h(854)])&&(r(!1),t?.({toHexString:()=>i}))};return o&&document[f(437)](f(818),u),()=>document.removeEventListener(f(818),u)},[o,t,i]);const s=f=>{a(f),n?.({toHexString:()=>f})};return l[x(1304)](x(1861),{ref:d,style:{position:x(1255),display:x(457)},children:[l[x(662)](x(1861),{onClick:()=>r(!o),style:{width:28,height:28,backgroundColor:i,border:"1px solid #d9d9d9",borderRadius:4,cursor:x(856)}}),o&&l.jsxs(x(1861),{style:{position:x(678),top:32,left:0,zIndex:1e3,background:x(1327),padding:8,borderRadius:4,boxShadow:"0 2px 8px rgba(0,0,0,0.15)",border:x(1320)},children:[l[x(662)](x(1861),{style:{display:x(787),gridTemplateColumns:x(1821),gap:4},children:Ws[x(1008)](f=>l.jsx("div",{onClick:()=>{s(f),r(!1),t?.({toHexString:()=>f})},style:{width:20,height:20,backgroundColor:f,border:i===f?x(586):"1px solid #d9d9d9",borderRadius:2,cursor:x(856)}},f))}),l[x(662)](x(1968),{type:"color",value:i,onChange:f=>s(f[x(854)][x(1989)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:x(1437),marginTop:8,height:28,border:"1px solid #d9d9d9",borderRadius:4}})]})]})},{TextArea:Xs}=C[c(2162)];function Ks(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e.tagName;return!!(t===n(2170)||t===n(1267)||t==="SELECT"||t===n(617)||e[n(1268)]||e.closest('[contenteditable="true"]')||e[n(1892)](n(517))||e[n(1892)](n(2033)))}const mr=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:x})=>{const o=c,r=D[o(649)](null),i=D[o(649)](null),a=D[o(649)](null),{nodes:d,selectedNodeId:s,selectedNodeIds:f,mode:u,lineDrawing:y,viewport:h,canvas:w,root:g,setViewport:p,setCanvasConfig:b,addNode:z,selectNode:m,updateNode:v,removeNode:M,bringToFront:I,sendToBack:E,undo:G,redo:O,setMode:U,startLineDrawing:F,endLineDrawing:X,cancelLineDrawing:W,addCanvas:T,removeCanvas:N,switchCanvas:L,updateCanvasName:B,exportCanvas:A,importCanvas:P,setSelectedNodeIds:j}=Ee(),[Z,R]=D.useState(!1),[,_]=D.useState({}),Q=D.useRef(u);D[o(433)](()=>{const Y=o;Q[Y(515)]=u},[u]),D[o(433)](()=>{U(n?"preview":"select")},[n,U]),D[o(433)](()=>{const Y=o;if(n&&x&&w[Y(1088)]>0){const H=Math.min(x/w[Y(1088)],1);requestAnimationFrame(()=>{const ne=Y;r.current?.[ne(1022)](0,0,H)})}},[n,x,w.width]);const te=D[o(649)](!1),ce=D[o(649)]({x:0,y:0}),$=D[o(649)]({x:0,y:0,newX:0,newY:0}),se=D[o(649)](null),[xe,oe]=D[o(744)]({start:null,end:null,isDrawing:!1}),[ie,k]=D[o(744)]({start:null,end:null}),S=f,q=j;D[o(649)](!1);const[K,V]=D[o(744)](!1),[ae,ge]=D[o(744)](!1),[me,he]=D[o(744)](()=>JSON[o(552)](e??null,null,2)),ve=D.useMemo(()=>{const Y=o;if(!ae)return e;try{return JSON[Y(1499)](me)}catch{return e}},[me,e,ae]),Ne=D[o(476)](()=>{const Y=o,H=ve;if(H!==null&&typeof H===Y(1918))return H;if(H!==void 0)return{_payload:H}},[ve]),Me=D.useMemo(()=>{const Y=o,H=ve;return H!==null&&typeof H===Y(1918)&&!Array.isArray(H)?H:Array[Y(738)](H)?{_telemetryRows:H}:H==null?{}:{_payload:H}},[ve]),De=D[o(983)](()=>{const Y=o;let H=e;if(ae)try{H=JSON[Y(1499)](me)}catch{H=e}he(JSON[Y(552)](H??null,null,2)),V(!0)},[me,e,ae]),[Oe,Ye]=D.useState(!1),[Je,Pe]=D[o(744)](!1),[Te,h0]=D[o(744)](""),[g0,y0]=D[o(744)](!1),yn=D[o(983)](()=>{const Y=o;try{const H=A(),ne=JSON.stringify(H,null,2),re=Y(1226)+encodeURIComponent(ne),de=Y(1249)+H[Y(1868)][Y(413)]+"_"+Date.now()+".json",J=document[Y(1759)]("a");J[Y(1727)](Y(1016),re),J[Y(1727)](Y(1363),de),J[Y(827)](),C[Y(2068)][Y(767)](Y(566))}catch{C[Y(2068)].error(Y(1386))}},[A]),T0=D.useCallback(()=>{const Y=o;try{const H=JSON[Y(1499)](Te);g0?P(H):P(H,g[Y(524)]||void 0),Pe(!1),h0(""),y0(!1),C[Y(2068)][Y(767)](Y(887))}catch{C.message.error(Y(428))}},[Te,g0,P,g.currentCanvasId]),V0=D[o(983)](Y=>{const H=o,ne=new FileReader;return ne.onload=re=>{const de=_0xa8e1;try{const J=re[de(854)]?.[de(1596)],ee=JSON[de(1499)](J);g0?P(ee):P(ee,g[de(524)]||void 0),C.message[de(767)](de(887)),Pe(!1),y0(!1)}catch{C[de(2068)][de(1750)]("文件格式错误")}},ne[H(967)](Y),!1},[g0,P,g[o(524)]]),[Ze,D0]=D[o(744)](!1),Ge=D[o(983)]((Y,H)=>{const ne=o;if(!i[ne(515)])return{x:0,y:0};const re=i[ne(515)].getBoundingClientRect(),de=Y-re[ne(1044)],J=H-re[ne(1813)],ee=re.width/w[ne(1088)],fe=re[ne(1945)]/w[ne(1945)],we=de/ee,ye=J/fe;return{x:Math[ne(814)](we),y:Math[ne(814)](ye)}},[w[o(1088)],w.height]),m0=D[o(983)]((Y,H)=>Ge(Y,H),[Ge]),Ve=D[o(983)]((Y,H,ne=!0)=>{const re=o;if(!y[re(972)])return;const de=y[re(972)],J=de[re(669)]||{},ee=J.lineWeight||J.thickness||2,fe=Math[re(880)](Y.x,H.x),we=Math[re(880)](Y.y,H.y),ye=Math[re(814)](Y.x-fe),ze=Math[re(814)](Y.y-we),Be=Math.round(H.x-fe),Le=Math[re(814)](H.y-we),Ue=Math[re(1121)](ee*2,4),a0=Math[re(1121)](Math.abs(Y.x-H.x),Ue),N0=Math[re(1121)](Math[re(1787)](Y.y-H.y),Ue),w0={...de,id:pe[re(1137)](),config:{color:J[re(2185)],lineWeight:ee,thickness:ee,lineType:J[re(1911)],startX:ye,startY:ze,endX:Be,endY:Le}},wn={id:pe[re(1137)](),name:de[re(413)]+"_"+Date[re(429)](),type:re(2118),normalStyle:{width:a0,height:N0,x:fe,y:we,background:re(1913)},contentInfo:{statusList:[gx(w0)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(z(wn,!1),ne){const R0={x:H.x,y:H.y};oe({start:R0,end:{...R0},isDrawing:!0})}else oe({start:null,end:null,isDrawing:!1}),X()},[y[o(972)],z,X]),Qt=D.useCallback(()=>{const Y=o,H=r[Y(515)]?.state;H&&p({scale:H[Y(872)],positionX:H[Y(1538)],positionY:H.positionY})},[p]),q0=D[o(983)](Y=>{const H=o;te.current||u!==H(600)&&(Y[H(854)]===i.current||Y[H(854)].dataset?.canvas===H(807))&&(m(null),q([]))},[m,u]),W0=D[o(983)](Y=>{const H=o;if(Y[H(1295)]===0){if(u==="line-draw"&&y[H(972)]){Y[H(1118)]();const ne=Ge(Y.clientX,Y[H(1477)]);xe[H(1346)]?xe.start&&Ve(xe[H(1679)],ne,!0):oe({start:ne,end:ne,isDrawing:!0});return}if(u===H(600)&&!Ze){const ne=m0(Y[H(1403)],Y[H(1477)]);k({start:ne,end:ne}),q([]),m(null),Y[H(2106)](),Y[H(1118)]()}}},[u,y[o(972)],xe[o(1346)],xe[o(1679)],Ze,Ve,Ge,m0]),L0=D[o(983)](Y=>{const H=o;if(!(u!==H(620)||!y[H(972)])&&xe.isDrawing&&xe[H(1679)]){const ne=Ge(Y[H(1403)],Y.clientY);Ve(xe[H(1679)],ne,!1)}},[u,y[o(972)],xe[o(1346)],xe.start,Ve,Ge]),X0=D[o(983)](Y=>{const H=o;Y[H(2106)](),Y[H(434)][H(1936)]=H(508),R(!0)},[]),wo=D[o(983)](Y=>{Y[o(2106)](),R(!1)},[]),vo=D[o(983)](Y=>{const H=o;if(Y.preventDefault(),R(!1),!(!i[H(515)]||u!==H(1080)))try{const ne=Y.dataTransfer[H(390)]("application/json");if(!ne)return;const re=JSON[H(1499)](ne),de=Ge(Y[H(1403)],Y[H(1477)]),J=de.x-50,ee=de.y-50,fe=Ho(J,ee,re);z(fe),q([fe.id])}catch(ne){console[H(1750)](H(1045),ne)}},[u,z,Ge]),po=D[o(983)]((Y,H)=>{const ne=o;u!==ne(1080)&&u!==ne(600)||!H[ne(2006)][ne(1957)]||(Y[ne(1118)](),m(H.id),te[ne(515)]=!0,ce[ne(515)]={x:Y[ne(1403)],y:Y[ne(1477)]},$[ne(515)]={x:H.normalStyle.x||0,y:H[ne(2020)].y||0,newX:H[ne(2020)].x||0,newY:H[ne(2020)].y||0},se[ne(515)]=H,Y[ne(2106)]())},[u,m]);D.useEffect(()=>{const Y=o,H=J=>{const ee=_0xa8e1;if(te.current&&s&&se[ee(515)]){if(!i[ee(515)])return;const fe=i[ee(515)][ee(1412)](),we=fe[ee(1088)]/w[ee(1088)],ye=fe.height/w[ee(1945)],ze=J[ee(1403)]-ce[ee(515)].x,Be=J.clientY-ce.current.y,Le=ze/we,Ue=Be/ye,a0=$[ee(515)].x+Le,N0=$.current.y+Ue,w0=document[ee(954)]('[data-node-id="'+s+'"]');w0&&(w0[ee(752)][ee(1044)]=a0+"px",w0[ee(752)].top=N0+"px"),$.current.newX=a0,$[ee(515)][ee(770)]=N0}if(u===ee(600)&&ie.start){const fe=m0(J[ee(1403)],J[ee(1477)]);k(we=>({...we,end:fe}))}if(u==="line-draw"&&xe[ee(1346)]){const fe=Ge(J.clientX,J[ee(1477)]);oe(we=>({...we,end:fe}))}},ne=()=>{const J=_0xa8e1;if(te[J(515)]&&s&&se.current){const ee=Ee[J(1560)](),fe=$[J(515)][J(1483)]??$.current.x,we=$.current[J(770)]??$.current.y;ee[J(1337)](s,{normalStyle:{...se[J(515)][J(2020)],x:fe,y:we}})}if(te[J(515)]=!1,se[J(515)]=null,_({}),u===J(600)&&ie[J(1679)]&&ie[J(592)]){const ee=Math[J(880)](ie[J(1679)].x,ie.end.x),fe=Math[J(1121)](ie.start.x,ie[J(592)].x),we=Math.min(ie.start.y,ie[J(592)].y),ye=Math.max(ie[J(1679)].y,ie[J(592)].y),ze=d[J(1928)](Be=>{const Le=J,Ue=Be[Le(2020)].x||0,a0=Be[Le(2020)].y||0,N0=Be[Le(2020)][Le(1088)]||0,w0=Be[Le(2020)][Le(1945)]||0,wn=Ue+N0/2,R0=a0+w0/2;return wn>=ee&&wn<=fe&&R0>=we&&R0<=ye})[J(1008)](Be=>Be.id);q(ze),k({start:null,end:null})}},re=J=>{const ee=_0xa8e1;if(!Ks(J[ee(854)])){if(J[ee(438)]==="Escape"&&u===ee(620)&&(oe({start:null,end:null,isDrawing:!1}),W()),J[ee(438)]===ee(1277)&&(s?M(s):S.length>0&&(S.forEach(fe=>M(fe)),q([]))),J.ctrlKey&&J[ee(438)]==="z"&&(J[ee(2106)](),G()),J[ee(1701)]&&J[ee(438)]==="y"&&(J[ee(2106)](),O()),(u===ee(1080)||u===ee(600))&&(J.key===ee(1434)||J[ee(438)]===ee(1964)||J[ee(438)]===ee(553)||J[ee(438)]==="ArrowDown")){const fe=S[ee(2062)]>0?S:s?[s]:[];if(fe.length>0){J[ee(2106)]();const we=J[ee(438)]==="ArrowLeft"?-2:J.key===ee(1964)?2:0,ye=J[ee(438)]===ee(553)?-2:J[ee(438)]===ee(599)?2:0;fe[ee(1575)](ze=>{const Be=ee,Le=d.find(Ue=>Ue.id===ze);Le&&v(ze,{normalStyle:{...Le[Be(2020)],x:(Le[Be(2020)].x||0)+we,y:(Le[Be(2020)].y||0)+ye}})})}}J[ee(438)]===" "&&!Ze&&(J[ee(2106)](),D0(!0))}},de=J=>{J[_0xa8e1(438)]===" "&&Ze&&D0(!1)};return window[Y(437)](Y(1843),H),window[Y(437)](Y(1124),ne),window.addEventListener(Y(1041),re),window[Y(437)](Y(388),de),()=>{const J=Y;window[J(2009)](J(1843),H),window[J(2009)]("mouseup",ne),window.removeEventListener(J(1041),re),window[J(2009)](J(388),de)}},[s,ie,u,xe[o(1346)],S,d,w[o(1088)],w.height,M,G,Ze,O,W,Ge,m0,q,v]);const $t=(Y,H=!0)=>{const ne=o,re={...Y,id:pe[ne(1137)](),name:Y[ne(413)]+ne(1035),normalStyle:{...Y[ne(2020)],x:(Y.normalStyle.x||0)+(H?20:0),y:(Y[ne(2020)].y||0)+(H?20:0)}};return Y[ne(1721)]===ne(650)&&Y.children&&(re[ne(1933)]=Y[ne(1933)][ne(1008)](de=>$t(de,!1))),re},ex=D.useCallback(()=>{const Y=o,H=S.length>0?S[Y(1008)](re=>d[Y(583)](de=>de.id===re))[Y(1928)](Boolean):s?[d.find(re=>re.id===s)][Y(1928)](Boolean):[];if(H[Y(2062)]===0)return;const ne=[];H[Y(1575)](re=>{const de=Y,J=$t(re);z(J),ne[de(541)](J.id)}),ne[Y(2062)]===1?m(ne[0]):q(ne)},[s,S,d,z,m,q]),nx=D[o(983)](()=>{const Y=o;if(S.length<2)return;const H=[];for(let we=0;we<S.length;we++){const ye=S[we],ze=d[Y(583)](Be=>Be.id===ye);if(ze){if(ze?.[Y(1721)]===Y(650)){ze.children.forEach(Le=>H.push({...Le,normalStyle:{...Le[Y(2020)],x:(ze.normalStyle.x||0)+(Le[Y(2020)].x||0),y:(ze[Y(2020)].y||0)+(Le[Y(2020)].y||0)}})),M(ye);continue}H[Y(541)](ze)}}if(H[Y(2062)]<2)return;let ne=1/0,re=1/0,de=-1/0,J=-1/0;H.forEach(we=>{const ye=Y,ze=we[ye(2020)].x||0,Be=we[ye(2020)].y||0,Le=we[ye(2020)][ye(1088)]||0,Ue=we[ye(2020)][ye(1945)]||0;ne=Math[ye(880)](ne,ze),re=Math.min(re,Be),de=Math.max(de,ze+Le),J=Math[ye(1121)](J,Be+Ue)});const ee=H[Y(1008)](we=>({...we,normalStyle:{...we[Y(2020)],x:(we.normalStyle.x||0)-ne,y:(we.normalStyle.y||0)-re}})),fe={id:pe[Y(1137)](),name:Y(1932)+Date[Y(429)](),type:Y(650),normalStyle:{x:ne,y:re,width:de-ne,height:J-re,background:"transparent"},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:ee};S.forEach(we=>M(we)),z(fe),q([]),m(fe.id)},[S,d,M,z,m]),tx=Y=>{const H=o,ne={...Y,id:pe.nanoid()};return Y[H(1721)]===H(650)&&Y.children&&(ne[H(1933)]=Y[H(1933)].map(re=>tx(re))),ne},xx=D[o(983)](()=>{const Y=o,H=S[Y(2062)]>0?S[Y(1008)](ne=>d[Y(583)](re=>re.id===ne))[Y(1928)](ne=>!!ne&&ne[Y(1721)]===Y(650)):s?[d[Y(583)](ne=>ne.id===s)][Y(1928)](ne=>!!ne&&ne.type===Y(650)):[];H[Y(2062)]!==0&&(H.forEach(ne=>{const re=Y;if(!ne[re(1933)]||ne[re(1933)][re(2062)]===0)return;const de=ne[re(1933)][re(1008)](J=>{const ee=re,fe=tx(J);return{...fe,normalStyle:{...fe[ee(2020)],x:(ne[ee(2020)].x||0)+(fe[ee(2020)].x||0),y:(ne[ee(2020)].y||0)+(fe[ee(2020)].y||0)}}});M(ne.id),de[re(1575)](J=>z(J))}),q([]),m(null))},[s,S,d,M,z,m,q]),Jn=D.useCallback(Y=>{const H=o;if(S[H(2062)]<2)return;const ne=S.map(ye=>d[H(583)](ze=>ze.id===ye))[H(1928)](ye=>!!ye&&ye[H(1721)]!==H(650));if(ne[H(2062)]<2)return;let re=1/0,de=-1/0,J=1/0,ee=-1/0;ne[H(1575)](ye=>{const ze=H,Be=ye[ze(2020)].x||0,Le=ye[ze(2020)].y||0;re=Math[ze(880)](re,Be),de=Math[ze(1121)](de,Be),J=Math.min(J,Le),ee=Math[ze(1121)](ee,Le)});const fe=[...ne][H(2128)]((ye,ze)=>{const Be=H;return Y===Be(445)?(ye.normalStyle.x||0)-(ze.normalStyle.x||0):(ye[Be(2020)].y||0)-(ze.normalStyle.y||0)}),we=fe.length;if(Y===H(445)){const ye=de-re,ze=ye/(we-1);fe[H(1575)]((Be,Le)=>{const Ue=H,a0=re+ze*Le;v(Be.id,{normalStyle:{...Be[Ue(2020)],x:a0}})})}else{const ye=ee-J,ze=ye/(we-1);fe[H(1575)]((Be,Le)=>{const Ue=J+ze*Le;v(Be.id,{normalStyle:{...Be.normalStyle,y:Ue}})})}},[S,d,v]),K0=Y=>{const H=o,ne=Y[H(503)].statusList.find(re=>re.material[H(1721)]===H(1744));return ne?ne.material[H(669)]:null},Z0=D[o(983)](Y=>{const H=o;if(S[H(2062)]<2)return;const ne=Ee[H(1560)](),re=S[H(1008)](J=>d[H(583)](ee=>ee.id===J)).filter(J=>!!J);if(re[H(2062)]<2)return;let de=0;switch(Y){case H(1044):de=Math[H(880)](...re.map(J=>{const ee=H,fe=K0(J);return fe?(J[ee(2020)].x||0)+(fe[ee(1685)]||0):J[ee(2020)].x||0}));break;case H(2049):de=Math[H(1121)](...re[H(1008)](J=>{const ee=H,fe=K0(J);return fe?(J.normalStyle.x||0)+(fe[ee(420)]||0):(J[ee(2020)].x||0)+(J.normalStyle.width||0)}));break;case H(1813):de=Math[H(880)](...re[H(1008)](J=>{const ee=H,fe=K0(J);return fe?(J[ee(2020)].y||0)+(fe[ee(1397)]||0):J[ee(2020)].y||0}));break;case H(1227):de=Math[H(1121)](...re[H(1008)](J=>{const ee=H,fe=K0(J);return fe?(J[ee(2020)].y||0)+(fe[ee(878)]||0):(J[ee(2020)].y||0)+(J[ee(2020)][ee(1945)]||0)}));break}re.forEach(J=>{const ee=H;let fe=J.normalStyle.x||0,we=J.normalStyle.y||0;const ye=K0(J);switch(Y){case"left":ye?fe=de-(ye[ee(1685)]||0):fe=de;break;case"right":ye?fe=de-(ye[ee(420)]||0):fe=de-(J[ee(2020)][ee(1088)]||0);break;case ee(1813):ye?we=de-(ye[ee(1397)]||0):we=de;break;case ee(1227):ye?we=de-(ye[ee(878)]||0):we=de-(J[ee(2020)].height||0);break}ne[ee(1337)](J.id,{normalStyle:{...J[ee(2020)],x:fe,y:we}})})},[S,d]),bo=[{icon:l[o(662)](le[o(2011)],{}),title:o(527),active:u===o(1080),onClick:()=>{U(o(1080))}},{icon:l[o(662)](le[o(692)],{}),title:o(1323),active:u===o(600),onClick:()=>{U(o(600)),q([])}},{icon:l[o(662)](le[o(1364)],{}),title:o(1094),active:u==="drag",onClick:()=>{U(o(722))}},{icon:l[o(662)](le[o(1400)],{}),title:o(1274),active:u===o(620),onClick:()=>{U(o(620))}},{icon:l[o(662)](le[o(1852)],{}),title:o(1248),active:u===o(1287),onClick:()=>{U(o(1287))}}],mn=D[o(983)](()=>S.length>0?S:s?[s]:[],[S,s]),ox=D.useCallback(()=>{const Y=o,H=mn();if(H.length===0)return;d[Y(1928)](re=>H[Y(545)](re.id))[Y(1008)](re=>re.id).forEach(re=>I(re))},[mn,d,I]),rx=D[o(983)](()=>{const Y=o,H=mn();if(H[Y(2062)]===0)return;[...d.filter(re=>H.includes(re.id))[Y(1008)](re=>re.id)][Y(1359)]()[Y(1575)](re=>E(re))},[mn,d,E]),ix=D[o(476)](()=>[{icon:l.jsx(le[o(825)],{}),title:"撤销 (Ctrl+Z)",onClick:G},{icon:l[o(662)](le[o(1414)],{}),title:o(1329),onClick:O},{icon:l[o(662)](le[o(467)],{}),title:"置于顶层",disabled:!s&&S[o(2062)]===0,onClick:ox},{icon:l[o(662)](le[o(1885)],{}),title:o(1247),disabled:!s&&S.length===0,onClick:rx},{icon:l[o(662)](le[o(1449)],{}),title:o(1321),disabled:!s&&S[o(2062)]===0,onClick:ex},{icon:l.jsx(le[o(692)],{}),title:o(2134),disabled:S[o(2062)]<2,onClick:nx},{icon:l[o(662)](le.UngroupOutlined,{}),title:"解除组合",disabled:!s&&S[o(2062)]===0,onClick:xx},{icon:l.jsx(le[o(786)],{}),title:o(1867),disabled:S[o(2062)]<2,onClick:()=>Z0(o(1044))},{icon:l[o(662)](le[o(1756)],{}),title:o(2127),disabled:S[o(2062)]<2,onClick:()=>Z0(o(2049))},{icon:l[o(662)](le[o(466)],{}),title:o(1300),disabled:S.length<2,onClick:()=>Z0("top")},{icon:l[o(662)](le[o(766)],{}),title:o(1291),disabled:S[o(2062)]<2,onClick:()=>Z0(o(1227))},{icon:l[o(662)](le.ColumnWidthOutlined,{}),title:o(1854),disabled:S.length<2,onClick:()=>Jn("horizontal")},{icon:l[o(662)](le.ColumnHeightOutlined,{}),title:o(403),disabled:S.length<2,onClick:()=>Jn("vertical")},{icon:l[o(662)](le.SettingOutlined,{}),title:o(1021),onClick:()=>Ye(!0)},{icon:l.jsx(le[o(1301)],{}),title:o(2010),type:"primary",onClick:De},{icon:l[o(662)](le[o(1142)],{}),title:o(1235),disabled:!s&&S[o(2062)]===0,onClick:()=>{const Y=o;s?M(s):S[Y(2062)]>0&&(S[Y(1575)](H=>M(H)),q([]))}}],[G,O,u,U,q,S,nx,xx,ex,Z0,Jn,ox,rx,Ye,V,De,s,M,g.currentCanvasId]),[ax,_n]=D.useState(!1),[cx,Fn]=D[o(744)](""),[sx,Qn]=D[o(744)](null);return l.jsxs(o(1861),{className:o(845),children:[!n&&l.jsxs(o(1861),{className:o(1725),children:[l[o(1304)](C[o(1389)],{children:[bo.map(Y=>l[o(662)](C[o(1273)],{title:Y[o(1926)],children:l[o(662)](C[o(1539)],{type:Y[o(778)]?o(1621):o(1170),icon:Y[o(1722)],onClick:Y.onClick})},Y[o(1926)])),l[o(662)](o(1861),{className:"w-px h-6 bg-gray-300 mx-2"}),l[o(662)](C[o(1428)],{value:g[o(524)],onChange:L,style:{width:140},dropdownRender:Y=>l[o(1304)](l[o(1907)],{children:[Y,l[o(662)](o(1861),{className:o(1315),children:l.jsx(C[o(1539)],{type:o(1606),size:o(976),block:!0,onClick:()=>_n(!0),children:o(1552)})})]}),children:g[o(1348)].map(Y=>l.jsx(C[o(1428)][o(567)],{value:Y.id,children:Y[o(413)]},Y.id))}),l[o(662)](C[o(1539)],{icon:l.jsx(le[o(2091)],{}),size:o(976),onClick:()=>T(),title:o(1597)}),l[o(662)](C[o(1273)],{title:o(1542),children:l.jsx(C[o(1539)],{icon:l[o(662)](le[o(1601)],{}),size:"small",onClick:yn})}),l.jsx(C[o(1273)],{title:o(648),children:l[o(662)](C.Button,{icon:l[o(662)](le.UploadOutlined,{}),size:o(976),onClick:()=>Pe(!0)})})]}),l[o(662)](C.Space,{children:ix[o(1008)](Y=>l[o(662)](C[o(1273)],{title:Y[o(1926)],children:l[o(662)](C[o(1539)],{type:Y[o(778)]?o(1621):Y[o(1721)]||o(1170),icon:Y.icon,onClick:Y[o(1837)],disabled:Y[o(782)]})},Y[o(1926)]))})]}),l.jsx(o(1861),{ref:a,className:o(2044),children:l.jsx(et[o(1134)],{ref:r,initialScale:1,initialPositionX:0,initialPositionY:0,minScale:n&&x?Math[o(880)](x/w[o(1088)],1):.5,maxScale:n&&x?1:5,onTransformed:Qt,limitToBounds:!1,centerZoomedOut:!1,panning:{disabled:!Ze&&u!==o(722),velocityDisabled:!0},wheel:{step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:Y,zoomOut:H,resetTransform:ne})=>l.jsxs(l.Fragment,{children:[!n&&l[o(662)](o(1861),{className:o(800),children:l[o(1304)](C[o(1389)],{direction:o(984),children:[l.jsx(C[o(1273)],{title:"放大",children:l.jsx(C[o(1539)],{icon:l[o(662)](le.ZoomInOutlined,{}),onClick:()=>Y()})}),l.jsx(C[o(1273)],{title:"缩小",children:l.jsx(C.Button,{icon:l[o(662)](le[o(1244)],{}),onClick:()=>H()})}),l[o(662)](C.Tooltip,{title:o(1511),children:l[o(662)](C[o(1539)],{onClick:()=>ne(),children:o(1437)})}),l[o(1304)](o(1861),{className:o(1856),children:[Math[o(814)](h[o(872)]*100),"%"]})]})}),l[o(662)](et[o(2016)],{wrapperStyle:{width:"100%",height:o(1437),position:o(1255),overflow:o(n?1065:1409)},contentStyle:{width:n?w.width+"px":o(1437),height:n?w[o(1945)]+"px":"100%",display:"flex",alignItems:o(n?1638:645),justifyContent:n?"flex-start":o(645)},children:l[o(1304)](o(1861),{ref:i,"data-canvas":o(807),className:o(1243)+(Z?o(398):"")+" "+(u===o(620)?o(1851):"")+" "+(Ze?o(488):""),style:{width:w[o(1088)],height:w.height,flexShrink:0,backgroundColor:w.background,backgroundImage:w.backgroundImage?o(866)+w[o(1555)]+")":void 0,backgroundSize:"cover",backgroundPosition:o(645)},onClick:q0,onMouseDown:W0,onDoubleClick:L0,onDragOver:X0,onDragLeave:wo,onDrop:vo,children:[t&&!n&&l[o(1304)]("div",{className:"absolute top-0 left-0 pointer-events-none overflow-hidden",style:{width:w[o(1088)],height:w.height},children:[l[o(662)](o(1101),{src:t,alt:"",className:o(1003),draggable:!1}),l[o(662)](o(1921),{className:o(486),width:1920,height:1080,children:l[o(662)](o(1204),{x:"0",y:"0",width:o(588),height:o(1531),fill:"none",stroke:o(587),strokeWidth:"2"})})]}),w[o(1859)]!==!1&&l[o(1304)](o(1921),{className:o(486),width:w.width,height:w.height,children:[l[o(662)](o(1742),{children:l[o(662)](o(1464),{id:o(787),width:"20",height:"20",patternUnits:o(1054),children:l[o(662)](o(555),{d:o(520),fill:o(1316),stroke:o(1990),opacity:o(2070),strokeWidth:"1"})})}),l[o(662)](o(1204),{width:o(1437),height:o(1437),fill:"url(#grid)"})]}),d[o(1008)](re=>l[o(662)](Mx,{node:re,isSelected:u===o(1287)?!1:s===re.id||S[o(545)](re.id),data:Ne,onClick:u==="preview"?void 0:de=>{const J=o;console.log("Node onClick:",re.id,J(635),Q[J(515)]),Q.current!=="line-draw"&&(de[J(953)]?(m(re.id),q([...S,re.id])):(m(re.id),q([re.id])))},onMouseDown:u===o(1287)?void 0:de=>po(de,re),onUpdateNode:u===o(1287)?void 0:(de,J)=>v(de,J),scale:h[o(872)],enableEventFlow:u==="preview",eventFlowData:Me},""+re.id)),u===o(620)&&xe[o(1346)]&&xe[o(1679)]&&xe[o(592)]&&l[o(662)](o(1921),{className:o(486),width:w[o(1088)],height:w.height,children:l[o(662)]("line",{x1:xe[o(1679)].x,y1:xe[o(1679)].y,x2:xe[o(592)].x,y2:xe[o(592)].y,stroke:o(1743),strokeWidth:"2",strokeDasharray:o(1653),strokeLinecap:"round",strokeLinejoin:o(814)})}),u===o(600)&&ie[o(1679)]&&ie[o(592)]&&l.jsx(o(1861),{className:o(1526),style:{left:Math[o(880)](ie.start.x,ie.end.x),top:Math[o(880)](ie[o(1679)].y,ie[o(592)].y),width:Math.abs(ie[o(592)].x-ie[o(1679)].x),height:Math.abs(ie[o(592)].y-ie[o(1679)].y),zIndex:9999}})]})})]})})}),l[o(662)](C[o(1263)],{title:"数据模拟",open:K,onCancel:()=>V(!1),footer:null,children:l[o(662)](C[o(938)],{layout:o(984),children:l[o(662)](C.Form[o(820)],{label:o(1758),children:l[o(662)](Xs,{value:me,onChange:Y=>{const H=o;ge(!0),he(Y[H(854)][H(1989)])},rows:10,placeholder:o(2071)})})})}),l.jsx(C.Modal,{title:"画布配置",open:Oe,onCancel:()=>Ye(!1),footer:null,children:l[o(1304)](C[o(938)],{layout:o(984),children:[l[o(662)](C[o(938)][o(820)],{label:"宽度",children:l[o(662)](C[o(1053)],{value:w.width,onChange:Y=>b({width:Y||1920}),min:100,max:5e3,style:{width:"100%"}})}),l.jsx(C[o(938)][o(820)],{label:"高度",children:l.jsx(C[o(1053)],{value:w[o(1945)],onChange:Y=>b({height:Y||1080}),min:100,max:5e3,style:{width:"100%"}})}),l[o(662)](C[o(938)][o(820)],{label:"显示网格",children:l[o(662)](C[o(1788)],{checked:w[o(1859)]!==!1,onChange:Y=>b({showGrid:Y})})}),l[o(662)](C[o(938)][o(820)],{label:o(1484),children:l.jsxs(o(1861),{className:o(1055),children:[l.jsx(nn,{value:w[o(996)]||"#00193C",onChange:Y=>b({background:Y[o(2039)]()})}),l[o(662)](C[o(2162)],{value:w[o(996)],onChange:Y=>b({background:Y.target[o(1989)]}),placeholder:"#ffffff"})]})}),l[o(1304)](C[o(938)][o(820)],{label:o(1883),children:[l[o(1304)]("div",{className:o(1055),children:[l[o(662)](C[o(544)],{accept:o(2014),showUploadList:!1,beforeUpload:Y=>{const H=o;if(!Y[H(1721)][H(1674)]("image/"))return C[H(2068)][H(1750)](H(1943)),!1;const re=new FileReader;return re[H(1527)]=de=>{const J=H,ee=de[J(854)]?.result;b({backgroundImage:ee}),C[J(2068)][J(767)](J(1480))},re.readAsDataURL(Y),!1},children:l[o(662)](C[o(1539)],{icon:l[o(662)](le[o(1896)],{}),children:o(458)})}),l[o(662)](C.Input,{value:w.backgroundImage,onChange:Y=>b({backgroundImage:Y[o(854)].value}),placeholder:o(1173),style:{flex:1}}),w[o(1555)]&&l[o(662)](C[o(1539)],{icon:l[o(662)](le[o(591)],{}),onClick:()=>b({backgroundImage:void 0}),danger:!0,size:"small"})]}),w[o(1555)]&&l[o(662)](o(1861),{className:o(877),style:{maxWidth:o(1437)},children:l.jsx(o(1101),{src:w[o(1555)],alt:o(498),style:{maxWidth:"100%",maxHeight:120,objectFit:o(495)}})})]})]})}),l[o(1304)](C[o(1263)],{title:o(1832),open:ax,onCancel:()=>{_n(!1),Qn(null),Fn("")},footer:null,children:[l[o(662)](C.List,{dataSource:g.canvases,renderItem:Y=>l.jsx(C[o(1040)][o(820)],{actions:[sx===Y.id?l[o(662)](C[o(1539)],{type:o(1621),size:o(976),onClick:()=>{B(Y.id,cx),Qn(null)},children:"保存"}):l.jsx(C[o(1539)],{type:o(1525),icon:l[o(662)](le.EditOutlined,{}),size:o(976),onClick:()=>{const H=o;Qn(Y.id),Fn(Y[H(413)])}}),g[o(1348)].length>1&&l[o(662)](C[o(1539)],{type:o(1525),danger:!0,icon:l.jsx(le[o(1142)],{}),size:o(976),onClick:()=>N(Y.id)})][o(1928)](Boolean),children:sx===Y.id?l[o(662)](C[o(2162)],{value:cx,onChange:H=>Fn(H[o(854)].value),size:o(976),style:{width:200}}):l[o(1304)]("span",{style:{fontWeight:g[o(524)]===Y.id?"bold":"normal"},children:[Y.name," ",g[o(524)]===Y.id&&o(2045)]})})}),l[o(662)]("div",{className:"mt-4 flex justify-end",children:l.jsx(C[o(1539)],{type:o(1621),icon:l[o(662)](le[o(2091)],{}),onClick:()=>T(),children:"新建画布"})})]}),l[o(662)](C[o(1263)],{title:o(648),open:Je,onOk:T0,onCancel:()=>{Pe(!1),h0(""),y0(!1)},width:600,children:l.jsxs(o(1861),{className:o(2160),children:[l[o(1304)](o(1861),{children:[l[o(662)]("p",{className:o(392),children:"选择 JSON 文件导入:"}),l[o(662)](o(1968),{type:o(1873),accept:o(1766),onChange:Y=>{const H=o,ne=Y[H(854)][H(1889)]?.[0];ne&&V0(ne)},className:o(944)})]}),l[o(662)](o(1861),{className:"text-center text-gray-400",children:"或"}),l[o(1304)]("div",{children:[l[o(662)]("p",{className:o(392),children:o(625)}),l[o(662)](o(1442),{value:Te,onChange:Y=>h0(Y[o(854)].value),placeholder:o(2021),className:o(1307)})]}),l[o(1304)](o(1861),{className:"flex items-center gap-2",children:[l.jsx(o(1968),{type:o(1122),id:"importAsNewCanvas",checked:g0,onChange:Y=>y0(Y[o(854)][o(1188)]),className:o(1079)}),l[o(662)](o(444),{htmlFor:"importAsNewCanvas",className:o(1099),children:o(570)})]})]})})]})},{Option:lt}=C[c(1428)];function wr(e){return Array[c(738)](e)}function Zs(e){const n=c,t=new Set;return e[n(1575)](x=>Object[n(785)](x)[n(1575)](o=>t[n(1796)](o))),Array.from(t)}function Rs(e,n){const t=c;return e[t(1008)]((x,o)=>{const r=t,i=x[n],a=x.name;return{label:String(a??"项 "+(o+1)),value:typeof i===r(891)||typeof i===r(710)?i:String(i)}})}function vr(e,n=""){const t=c,x=[];for(const[o,r]of Object.entries(e)){const i=n?n+"."+o:o;r!==null&&typeof r===t(1918)&&!Array[t(738)](r)?x[t(541)](...vr(r,i)):x[t(541)]({paramsCode:i,paramsName:i,value:r})}return x}function Js(e,n,t){const x=c;if(wr(e)){if(n!=null&&t!=null){const o=e[x(583)](r=>r[n]===t);if(o)return o}return{}}return e}const _s=({material:e,onSave:n})=>{const t=c,x=e,o=x.content||{},r=Ee(m=>m.dataPool),[i,a]=D[t(744)]({label:o.label||"",value:o[t(1989)]||"",valueSourceCode:o[t(1020)]||"",unit:o[t(1840)]||"",decimals:o[t(2137)]??2,labelFontSize:o.labelStyle?.fontSize||14,labelFontWeight:o[t(1862)]?.[t(802)]||t(1294),labelColor:o.labelStyle?.[t(2185)]||"#262626",valueFontSize:o.valueStyle?.[t(456)]||14,valueFontWeight:o[t(1808)]?.fontWeight||t(2118),valueColor:o[t(1808)]?.[t(2185)]||t(1743),boundDatasetId:o[t(1230)]||"",boundDatasetBindCode:o[t(1715)]||"",boundDatasetBindValue:o[t(658)]??null}),d=D[t(476)](()=>{const m=t;return r[m(583)](v=>v.id===i[m(1230)])},[r,i[t(1230)]]),s=d?wr(d[t(1550)]):!1,f=D.useMemo(()=>{const m=t;if(!d)return[];const v=Js(d[m(1550)],i[m(1715)],i[m(658)]);return vr(v)},[d,i[t(1715)],i[t(658)]]);D.useEffect(()=>{const m=t;a({label:o[m(444)]||"",value:o.value||"",valueSourceCode:o[m(1020)]||"",unit:o[m(1840)]||"",decimals:o.decimals??2,labelFontSize:o[m(1862)]?.[m(456)]||14,labelFontWeight:o[m(1862)]?.[m(802)]||m(1294),labelColor:o[m(1862)]?.[m(2185)]||m(822),valueFontSize:o[m(1808)]?.[m(456)]||14,valueFontWeight:o[m(1808)]?.[m(802)]||"normal",valueColor:o[m(1808)]?.[m(2185)]||m(1743),boundDatasetId:o[m(1230)]||"",boundDatasetBindCode:o[m(1715)]||"",boundDatasetBindValue:o[m(658)]??null})},[e.id]);const u=(m,v)=>{a(M=>({...M,[m]:v}))},y=m=>{a(v=>({...v,boundDatasetId:m,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...o,boundDatasetId:m||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},h=m=>{a(v=>({...v,boundDatasetBindCode:m||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...o,boundDatasetBindCode:m||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},w=m=>{a(v=>({...v,boundDatasetBindValue:m??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...o,boundDatasetBindValue:m??void 0,valueSourceCode:void 0}})},0)},g=m=>{const v=t,M=f[v(583)](E=>E[v(1203)]===m),I=M?.[v(1840)]||"";a(E=>({...E,valueSourceCode:m,unit:I,value:String(M?.[v(1989)]||"")})),setTimeout(()=>{n({content:{...o,valueSourceCode:m,value:String(M?.value||""),unit:I}})},0)},p=()=>{const m=t;n({content:{...o,label:i[m(444)],value:i.value,valueSourceCode:i[m(1020)],unit:i[m(1840)],decimals:i[m(2137)],boundDatasetId:i[m(1230)]||void 0,boundDatasetBindCode:i[m(1715)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[m(386)],fontWeight:i.labelFontWeight,color:i.labelColor},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[m(1208)],color:i[m(1880)]}}})},b=d&&s?Zs(d[t(1550)]):[],z=d&&s&&i.boundDatasetBindCode?Rs(d[t(1550)],i[t(1715)]):[];return l[t(1304)]("div",{className:t(2160),children:[l[t(662)](C[t(918)],{style:{marginTop:0},children:"文本内容"}),l.jsxs(C[t(938)],{layout:t(984),children:[l[t(662)](C[t(938)][t(820)],{label:"标签文本 (label)",children:l.jsx(C[t(2162)],{value:i[t(444)],onChange:m=>u(t(444),m[t(854)][t(1989)]),onBlur:p,placeholder:t(1978)})}),l.jsx(C.Form.Item,{label:t(1980),help:t(1966),children:l[t(662)](C[t(1428)],{allowClear:!0,placeholder:r[t(2062)]===0?t(1074):t(2180),value:i[t(1230)]||void 0,onChange:y,style:{width:t(1437)},options:r[t(1008)](m=>({label:m[t(413)],value:m.id}))})}),d&&s&&l.jsxs(l[t(1907)],{children:[l[t(662)](C.Form.Item,{label:t(1802),help:t(1850),children:l.jsx(C.Select,{allowClear:!0,placeholder:"选择绑定字段",value:i[t(1715)]||void 0,onChange:h,style:{width:t(1437)},options:b[t(1008)](m=>({label:m,value:m}))})}),i[t(1715)]&&l[t(662)](C.Form[t(820)],{label:t(1532),help:"选择该字段对应的具体值以定位数据项",children:l.jsx(C[t(1428)],{allowClear:!0,placeholder:t(757),value:i[t(658)]??void 0,onChange:w,style:{width:t(1437)},options:z})})]}),l[t(662)](C[t(938)][t(820)],{label:"值来源",help:t(d?855:1061),children:l[t(662)](C[t(1428)],{value:i[t(1020)]||void 0,onChange:g,placeholder:d?t(1347):"请先绑定数据集",allowClear:!0,disabled:!d,style:{width:t(1437)},options:f.map(m=>({value:m[t(1203)],label:m.paramsName}))})}),l[t(662)](C.Form[t(820)],{label:i[t(1020)]?t(1713):t(397),help:i.valueSourceCode?t(890):t(1145),children:l[t(662)](C[t(2162)],{value:i[t(1989)],onChange:m=>u("value",m[t(854)].value),onBlur:p,placeholder:i.valueSourceCode?t(1219):t(1199),disabled:!!i[t(1020)],variant:i.valueSourceCode?t(1133):void 0})}),l.jsx(C[t(938)][t(820)],{label:"单位",help:t(1163),children:l.jsx(C[t(2162)],{value:i[t(1840)],onChange:m=>u("unit",m[t(854)].value),onBlur:p,placeholder:"单位(如°C、%、MPa等)",suffix:i[t(1020)]&&f[t(2062)]>0?l[t(662)](C[t(736)],{color:t(1519),style:{marginRight:-8},children:"自动"}):null})}),l.jsx(C.Form.Item,{label:t(970),help:t(1355),children:l[t(662)](C.InputNumber,{value:i[t(2137)],onChange:m=>u(t(2137),m??2),onBlur:p,min:-1,max:10,style:{width:t(1437)}})})]}),l[t(662)](C[t(918)],{children:t(1039)}),l.jsxs(C.Form,{layout:t(984),children:[l.jsxs(C[t(1389)],{children:[l[t(662)](C[t(938)][t(820)],{label:t(1299),children:l[t(662)](C[t(1053)],{value:i[t(386)],onChange:m=>u(t(386),m||14),onBlur:p,min:8,max:72})}),l[t(662)](C.Form[t(820)],{label:t(1271),children:l[t(1304)](C[t(1428)],{value:i[t(2131)],onChange:m=>{u(t(2131),m),setTimeout(p,0)},style:{width:100},children:[l.jsx(lt,{value:"normal",children:"正常"}),l.jsx(lt,{value:t(1294),children:"粗体"})]})})]}),l[t(662)](C[t(938)][t(820)],{label:"文字颜色",children:l[t(1304)]("div",{className:t(1055),children:[l[t(662)](nn,{value:i[t(1668)]||t(822),onChange:m=>{const v=t;u(v(1668),m[v(2039)]())},onChangeComplete:m=>{const v=t;n({content:{...o,label:i[v(444)],value:i[v(1989)],valueSourceCode:i[v(1020)],unit:i[v(1840)],decimals:i[v(2137)],boundDatasetId:i[v(1230)]||void 0,boundDatasetBindCode:i[v(1715)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[v(2131)],color:m[v(2039)]()},valueStyle:{fontSize:i.valueFontSize,fontWeight:i[v(1208)],color:i[v(1880)]}}})}}),l[t(662)](C[t(2162)],{value:i[t(1668)],onChange:m=>u(t(1668),m.target.value),onBlur:p,placeholder:t(822),style:{width:100}})]})})]}),l[t(662)](C.Divider,{children:t(436)}),l[t(1304)](C[t(938)],{layout:t(984),children:[l.jsxs(C[t(1389)],{children:[l[t(662)](C[t(938)][t(820)],{label:t(1299),children:l[t(662)](C.InputNumber,{value:i[t(2169)],onChange:m=>u("valueFontSize",m||14),onBlur:p,min:8,max:72})}),l[t(662)](C[t(938)].Item,{label:t(1271),children:l.jsxs(C[t(1428)],{value:i[t(1208)],onChange:m=>{u(t(1208),m),setTimeout(p,0)},style:{width:100},children:[l.jsx(lt,{value:"normal",children:"正常"}),l.jsx(lt,{value:t(1294),children:"粗体"})]})})]}),l.jsx(C.Form[t(820)],{label:t(1688),children:l.jsxs("div",{className:"flex items-center gap-2",children:[l[t(662)](nn,{value:i[t(1880)]||t(1743),onChange:m=>{const v=t;u(v(1880),m[v(2039)]())},onChangeComplete:m=>{const v=t;n({content:{...o,label:i[v(444)],value:i[v(1989)],valueSourceCode:i[v(1020)],unit:i[v(1840)],decimals:i[v(2137)],boundDatasetId:i[v(1230)]||void 0,boundDatasetBindCode:i[v(1715)]||void 0,boundDatasetBindValue:i[v(658)]??void 0,labelStyle:{fontSize:i.labelFontSize,fontWeight:i[v(2131)],color:i[v(1668)]},valueStyle:{fontSize:i[v(2169)],fontWeight:i.valueFontWeight,color:m[v(2039)]()}}})}}),l[t(662)](C[t(2162)],{value:i[t(1880)],onChange:m=>u("valueColor",m[t(854)][t(1989)]),onBlur:p,placeholder:"#1890ff",style:{width:100}})]})})]})]})},Fs=({material:e,onSave:n})=>{const t=c,x=e,[o,r]=D[t(744)]({name:e.name,src:x.src||"",backgroundColor:x.backgroundColor||"",fillColor:x[t(2130)]||""});D[t(433)](()=>{const d=t;r({name:e.name,src:x[d(1444)]||"",backgroundColor:x[d(934)]||"",fillColor:x.fillColor||""})},[e.id]);const i=(d,s)=>{r(f=>({...f,[d]:s}))},a=()=>{const d=t;n({name:o[d(413)],src:o.src,backgroundColor:o[d(934)]})};return l[t(1304)](t(1861),{className:"space-y-4",children:[l[t(662)](C.Divider,{style:{marginTop:0},children:t(1934)}),l[t(1304)](C[t(938)],{layout:t(984),children:[l[t(662)](C[t(938)][t(820)],{label:t(1438),children:l[t(662)](C[t(2162)],{value:o.name,onChange:d=>i(t(413),d.target[t(1989)]),onBlur:a})}),l[t(662)](C[t(938)].Item,{label:t(986),children:l[t(662)](C.Input.TextArea,{value:o[t(1444)],onChange:d=>i(t(1444),d[t(854)].value),onBlur:a,rows:4,placeholder:"输入图片 URL 或 Data URI"})}),l[t(662)](C[t(938)][t(820)],{label:t(1326),children:l[t(1304)](t(1861),{className:t(1055),children:[l.jsx(nn,{value:o[t(2130)]||t(1743),onChange:d=>{const s=t,f=d[s(2039)]();i(s(2130),f),n({name:o[s(413)],src:o[s(1444)],backgroundColor:o[s(934)],fillColor:f})}}),l[t(662)](C[t(2162)],{value:o[t(2130)],onChange:d=>i("fillColor",d[t(854)].value),onBlur:a,placeholder:t(1743)})]})}),l[t(662)](C[t(938)].Item,{label:"背景颜色",children:l[t(1304)](t(1861),{className:t(1055),children:[l[t(662)](nn,{value:o.backgroundColor||"#1890ff",onChange:d=>{const s=t,f=d[s(2039)]();i(s(934),f),n({name:o.name,src:o.src,backgroundColor:f,fillColor:o[s(2130)]})}}),l[t(662)](C.Input,{value:o[t(934)],onChange:d=>i("backgroundColor",d[t(854)][t(1989)]),onBlur:a,placeholder:t(1743)})]})})]})]})},{Option:Qs}=C[c(1428)],$s=({material:e,onSave:n})=>{const t=c,x=e[t(669)]||{},[o,r]=D[t(744)]({lineWeight:x[t(2138)]||x[t(1354)]||2,color:x.color||t(822),lineType:x[t(1911)]||t(1999),startX:x[t(1685)]??0,startY:x[t(1397)]??0,endX:x[t(420)]??100,endY:x[t(878)]??0}),i=JSON[t(552)]({sw:x.lineWeight??x.thickness,c:x[t(2185)],t:x[t(1911)],sx:x[t(1685)],sy:x.startY,ex:x[t(420)],ey:x[t(878)]});D.useEffect(()=>{const s=t;r({lineWeight:x.lineWeight||x[s(1354)]||2,color:x.color||s(822),lineType:x[s(1911)]||s(1999),startX:x[s(1685)]??0,startY:x[s(1397)]??0,endX:x.endX??100,endY:x[s(878)]??0})},[e.id,i]);const a=s=>{const f=t,u={...o,...s};r(u),n({config:{...x,thickness:u.lineWeight,lineWeight:u[f(2138)],color:u[f(2185)],lineType:u[f(1911)],startX:u[f(1685)],startY:u[f(1397)],endX:u[f(420)],endY:u[f(878)]}})},d=[{value:"solid",label:"实线",desc:t(1475)},{value:t(705),label:"虚线",desc:t(2179)},{value:"center",label:t(876),desc:t(933)},{value:t(1900),label:t(1498),desc:t(1611)},{value:t(1028),label:"点线",desc:t(2178)},{value:"dash-dot",label:t(589),desc:t(741)}];return l.jsxs(t(1861),{className:t(2160),children:[l.jsx(C.Divider,{style:{marginTop:0},children:"起止位置(相对节点)"}),l[t(1304)](C[t(938)],{layout:t(984),children:[l[t(1304)]("div",{className:t(2001),children:[l.jsx(C[t(938)][t(820)],{label:"起点 X",className:t(392),children:l[t(662)](C[t(1053)],{value:o[t(1685)],onChange:s=>a({startX:s??0}),style:{width:"100%"}})}),l[t(662)](C[t(938)][t(820)],{label:t(1036),className:t(392),children:l[t(662)](C.InputNumber,{value:o[t(1397)],onChange:s=>a({startY:s??0}),style:{width:t(1437)}})}),l[t(662)](C[t(938)][t(820)],{label:"终点 X",className:t(392),children:l[t(662)](C.InputNumber,{value:o[t(420)],onChange:s=>a({endX:s??100}),style:{width:t(1437)}})}),l[t(662)](C.Form[t(820)],{label:"终点 Y",className:t(392),children:l[t(662)](C[t(1053)],{value:o[t(878)],onChange:s=>a({endY:s??0}),style:{width:t(1437)}})})]}),l[t(662)](C[t(938)][t(820)],{label:t(1878),className:"mt-4",children:l[t(1304)](C[t(1389)],{children:[l[t(662)](C[t(1539)],{size:t(976),onClick:()=>{const s=t,f=x[s(1685)]??o[s(1685)],u=x[s(1397)]??o.startY,y=x.endX??o[s(420)],h=x[s(878)]??o.endY,w=y-f,g=h-u,p=Math[s(1692)](w*w+g*g),b=w>=0?1:-1;a({endX:f+b*p,endY:u})},title:"将线条变为水平线,保持长度",children:"水平"}),l[t(662)](C[t(1539)],{size:t(976),onClick:()=>{const s=t,f=x.startX??o[s(1685)],u=x[s(1397)]??o.startY,y=x[s(420)]??o[s(420)],h=x[s(878)]??o[s(878)],w=y-f,g=h-u,p=Math[s(1692)](w*w+g*g),b=g>=0?1:-1;a({endX:f,endY:u+b*p})},title:"将线条变为垂直线,保持长度",children:"垂直"}),l[t(662)](C[t(1539)],{size:"small",onClick:()=>{const s=t,f=x[s(1685)]??o[s(1685)],u=x[s(1397)]??o[s(1397)],y=x[s(420)]??o.endX,h=x[s(878)]??o.endY;a({startX:y,startY:h,endX:f,endY:u})},title:t(1457),children:"反向"})]})})]}),l[t(662)](C[t(918)],{children:"线条属性"}),l[t(1304)](C[t(938)],{layout:t(984),children:[l.jsx(C[t(938)][t(820)],{label:"线型",help:t(694),children:l[t(662)](C[t(1428)],{value:o[t(1911)],onChange:s=>a({lineType:s}),children:d.map(s=>l.jsx(Qs,{value:s[t(1989)],children:l[t(1304)]("div",{className:"flex flex-col",children:[l[t(662)](t(1082),{children:s[t(444)]}),l[t(662)](t(1082),{className:"text-xs text-gray-400",children:s[t(1677)]})]})},s[t(1989)]))})}),l.jsx(C[t(938)][t(820)],{label:t(1648),children:l.jsx(C[t(1053)],{value:o.lineWeight,onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l.jsx(C[t(938)][t(820)],{label:"颜色",children:l[t(1304)](t(1861),{className:"flex items-center gap-2",children:[l[t(662)](nn,{value:o[t(2185)]||"#d9d9d9",onChange:s=>a({color:s[t(2039)]()})}),l[t(662)](C.Input,{value:o.color,onChange:s=>a({color:s[t(854)][t(1989)]}),placeholder:t(661),style:{width:100}})]})})]})]})};function pr(e){return Array.isArray(e)}function el(e){const n=c,t=new Set;return e.forEach(x=>Object[n(785)](x)[n(1575)](o=>t.add(o))),Array[n(400)](t)}function nl(e,n){return e.map((t,x)=>{const o=_0xa8e1,r=t[n],i=t.name;return{label:String(i??"项 "+(x+1)),value:typeof r===o(891)||typeof r===o(710)?r:String(r)}})}function tl(e,n,t){const x=c;if(pr(e)){if(n!=null&&t!=null){const o=e[x(583)](r=>r[n]===t);if(o)return o}return{}}return e}const br=({status:e,onUpdate:n,onAppendToExpression:t})=>{const x=c,o=Ee(g=>g[x(772)]),r=o.find(g=>g.id===e.boundDatasetId),i=r?pr(r.sample):!1,a=r?tl(r[x(1550)],e[x(1715)],e[x(658)]):{},d=Ao(a),s=g=>{const p=x,b="data."+g;t?t(b):n({expression:""+(e[p(901)]||"")+b})},f=g=>{n({boundDatasetId:g??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},u=g=>{n({boundDatasetBindCode:g??null,boundDatasetBindValue:null})},y=g=>{n({boundDatasetBindValue:g??null})},h=r&&i?el(r[x(1550)]):[],w=r&&i&&e[x(1715)]?nl(r[x(1550)],e.boundDatasetBindCode):[];return l.jsxs(l[x(1907)],{children:[l[x(662)](C[x(938)].Item,{label:x(1980),extra:o[x(2062)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":x(2040),children:l.jsx(C[x(1428)],{allowClear:!0,placeholder:o[x(2062)]===0?x(1127):"选择数据池中的数据集",value:e.boundDatasetId??void 0,options:o[x(1008)](g=>({label:g[x(413)],value:g.id})),onChange:f})}),r&&i&&l[x(1304)](l[x(1907)],{children:[l[x(662)](C[x(938)][x(820)],{label:x(1802),extra:x(1850),children:l[x(662)](C[x(1428)],{allowClear:!0,placeholder:x(2140),value:e[x(1715)]??void 0,options:h.map(g=>({label:g,value:g})),onChange:u})}),e.boundDatasetBindCode&&l[x(662)](C[x(938)][x(820)],{label:x(1532),extra:"选择该字段对应的具体值以定位数据项",children:l[x(662)](C[x(1428)],{allowClear:!0,placeholder:x(757),value:e[x(658)]??void 0,options:w,onChange:y})})]}),d[x(2062)]>0&&l[x(662)](C[x(938)][x(820)],{label:x(475),children:l.jsx(C.Space,{size:[4,4],wrap:!0,children:d[x(1008)](g=>l[x(662)](C[x(736)],{className:x(1332),onClick:()=>s(g),children:x(1051)+g},g))})})]})},zr=({material:e,onSave:n})=>{const t=c;switch(e[t(1721)]){case"TEXT":return l[t(662)](_s,{material:e,onSave:n});case t(1214):return l[t(662)](Fs,{material:e,onSave:n});case t(1744):return l[t(662)]($s,{material:e,onSave:n});default:return l[t(662)](t(1861),{className:"text-center text-gray-400 py-8",children:"暂不支持编辑此类型的物料"})}},{Panel:Cr}=C.Collapse,{TextArea:xl}=C.Input,ol=({node:e,updateNode:n,materials:t})=>{const x=c,o=t[x(1928)](u=>u[x(1721)]!==x(1678)||!u[x(669)]?.[x(2159)]),r=(u,y)=>{const h=x,w=e[h(1933)]?.[h(1008)](g=>g.id===u?{...g,contentInfo:{...g.contentInfo,statusList:y}}:g);n(e.id,{children:w})},i=u=>{const y=x,h=e.children?.find(g=>g.id===u);if(!h)return;const w={id:pe[y(1137)](),name:"状态"+(h[y(503)][y(1350)][y(2062)]+1),expression:h[y(503)].statusList[y(2062)]===0?y(2145):y(1962),material:{...o[0],id:pe[y(1137)]()},boundDatasetId:null};r(u,[...h[y(503)][y(1350)],w])},a=(u,y)=>{const h=x,w=e[h(1933)]?.[h(583)](p=>p.id===u);if(!w)return;const g=w.contentInfo.statusList[h(1928)](p=>p.id!==y);r(u,g)},d=(u,y,h)=>{const w=x,g=e.children?.[w(583)](b=>b.id===u);if(!g)return;const p=g[w(503)][w(1350)][w(1008)](b=>b.id===y?{...b,...h}:b);r(u,p)},s=(u,y,h)=>{const w=x,g=e[w(1933)]?.[w(583)](z=>z.id===u);if(!g)return;const p=g[w(503)][w(1350)][w(2005)](z=>z.id===y);if(p===-1)return;const b=[...g[w(503)].statusList];h==="up"&&p>0?[b[p],b[p-1]]=[b[p-1],b[p]]:h===w(629)&&p<b.length-1&&([b[p],b[p+1]]=[b[p+1],b[p]]),r(u,b)},f=(u,y,h)=>{const w=x,g=t.find(p=>p.id===h);g&&d(u,y,{material:{...g,id:pe[w(1137)]()}})};return l[x(1304)](x(1861),{className:x(2160),children:[l.jsx(x(1861),{className:"p-3 bg-blue-50 border border-blue-200 rounded-lg mb-4",children:l[x(1304)](x(1861),{className:x(2023),children:[l[x(662)](x(1367),{children:x(788)}),x(1398)]})}),l.jsx(C[x(824)],{ghost:!0,children:e.children?.[x(1008)]((u,y)=>l.jsx(Cr,{header:l[x(1304)]("div",{className:"flex items-center justify-between w-full pr-4",children:[l.jsxs(x(1082),{className:"font-medium text-sm",children:[x(577),y+1]}),l[x(1304)](C[x(736)],{color:x(1519),style:{fontSize:"12px",padding:x(1626)},children:[u.contentInfo[x(1350)].length," 个状态"]})]}),children:l[x(1304)]("div",{className:x(596),children:[l.jsxs("div",{className:x(903),children:[l[x(662)](x(1082),{className:x(1920),children:x(684)}),l[x(662)](C[x(1539)],{type:"primary",size:x(976),icon:l.jsx(le[x(2091)],{}),onClick:()=>i(u.id),children:"添加状态"})]}),u[x(503)][x(1350)].length===0?l.jsx(x(1861),{className:x(836),children:x(696)}):l[x(662)](C[x(824)],{ghost:!0,children:u[x(503)][x(1350)][x(1008)]((h,w)=>l.jsx(Cr,{header:l.jsxs(x(1861),{className:"flex items-center gap-2",children:[l[x(662)](x(1082),{className:x(1546),children:w+1}),l[x(662)]("span",{className:x(521),children:h[x(413)]}),l[x(662)](C[x(736)],{color:x(1170),className:"text-xs",children:h[x(972)][x(1721)]})]}),extra:l.jsxs(C[x(1389)],{size:x(976),onClick:g=>g[x(1118)](),children:[l.jsx(C[x(1539)],{type:x(1525),size:x(976),icon:l.jsx(le[x(1544)],{}),disabled:w===0,onClick:g=>{g[x(1118)](),s(u.id,h.id,"up")}}),l[x(662)](C[x(1539)],{type:x(1525),size:x(976),icon:l[x(662)](le[x(1399)],{}),disabled:w===u[x(503)][x(1350)][x(2062)]-1,onClick:g=>{const p=x;g[p(1118)](),s(u.id,h.id,p(629))}}),l.jsx(C[x(1539)],{type:x(1525),size:x(976),danger:!0,icon:l.jsx(le[x(1142)],{}),onClick:g=>{g[x(1118)](),a(u.id,h.id)}})]}),children:l[x(1304)](C[x(938)],{layout:"vertical",children:[l[x(662)](C.Form.Item,{label:"状态名称",children:l[x(662)](C[x(2162)],{value:h.name,onChange:g=>d(u.id,h.id,{name:g[x(854)][x(1989)]}),placeholder:x(2087)})}),l[x(662)](br,{status:h,onUpdate:g=>d(u.id,h.id,g)}),l[x(662)](C[x(938)][x(820)],{label:"执行表达式",help:x(1549),children:l.jsx(xl,{value:h[x(901)],onChange:g=>d(u.id,h.id,{expression:g[x(854)][x(1989)]}),rows:3,placeholder:x(2145)})}),l[x(662)](C[x(938)].Item,{label:x(1718),children:l.jsxs(x(1861),{className:"flex items-center gap-2",children:[l.jsx(C.Tag,{color:x(1519),children:h[x(972)].name}),l[x(662)](C[x(736)],{color:x(1170),children:h[x(972)][x(1721)]}),l.jsx(C[x(1428)],{placeholder:x(1193),style:{width:150},value:void 0,onChange:g=>g&&f(u.id,h.id,g),options:o[x(1008)](g=>({value:g.id,label:g[x(413)]+" ("+g[x(1721)]+")"}))})]})}),l[x(662)](C[x(918)],{style:{margin:"12px 0"}}),l[x(1304)](x(1861),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l[x(1304)](x(1861),{className:x(1496),children:[l[x(662)](x(1082),{className:x(2013),children:"物料属性"}),l.jsx(C[x(736)],{children:h[x(972)][x(413)]})]}),l.jsx(zr,{material:h[x(972)],onSave:g=>{const p=x,b={...h[p(972)],...g};d(u.id,h.id,{material:b})}})]})]})},h.id))})]})},u.id))})]})};function je(e){const n=c;if(typeof e=="string"||typeof e===n(710))return""+e;let t="";if(Array[n(738)](e))for(let x=0,o;x<e.length;x++)(o=je(e[x]))!==""&&(t+=(t&&" ")+o);else for(let x in e)e[x]&&(t+=(t&&" ")+x);return t}var rl={value:()=>{}};function dt(){const e=c;for(var n=0,t=arguments[e(2062)],x={},o;n<t;++n){if(!(o=arguments[n]+"")||o in x||/[\s.]/.test(o))throw new Error(e(699)+o);x[o]=[]}return new ut(x)}function ut(e){this._=e}function il(e,n){const t=c;return e[t(562)]()[t(1296)](/^|\s+/)[t(1008)](function(x){const o=t;var r="",i=x[o(1276)](".");if(i>=0&&(r=x[o(423)](i+1),x=x[o(423)](0,i)),x&&!n[o(1697)](x))throw new Error("unknown type: "+x);return{type:x,name:r}})}ut[c(578)]=dt[c(578)]={constructor:ut,on:function(e,n){const t=c;var x=this._,o=il(e+"",x),r,i=-1,a=o[t(2062)];if(arguments.length<2){for(;++i<a;)if((r=(e=o[i])[t(1721)])&&(r=al(x[r],e[t(413)])))return r;return}if(n!=null&&typeof n!==t(1200))throw new Error(t(1471)+n);for(;++i<a;)if(r=(e=o[i])[t(1721)])x[r]=Mr(x[r],e[t(413)],n);else if(n==null)for(r in x)x[r]=Mr(x[r],e[t(413)],null);return this},copy:function(){const e=c;var n={},t=this._;for(var x in t)n[x]=t[x][e(423)]();return new ut(n)},call:function(e,n){const t=c;if((r=arguments[t(2062)]-2)>0)for(var x=new Array(r),o=0,r,i;o<r;++o)x[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error(t(1871)+e);for(i=this._[e],o=0,r=i[t(2062)];o<r;++o)i[o][t(1989)].apply(n,x)},apply:function(e,n,t){const x=c;if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],r=0,i=o.length;r<i;++r)o[r][x(1989)][x(816)](n,t)}};function al(e,n){const t=c;for(var x=0,o=e[t(2062)],r;x<o;++x)if((r=e[x])[t(413)]===n)return r[t(1989)]}function Mr(e,n,t){const x=c;for(var o=0,r=e[x(2062)];o<r;++o)if(e[o][x(413)]===n){e[o]=rl,e=e[x(423)](0,o).concat(e[x(423)](o+1));break}return t!=null&&e.push({name:n,value:t}),e}var Bx=c(960);const Br={svg:c(1492),xhtml:Bx,xlink:c(1275),xml:c(773),xmlns:c(1012)};function ft(e){const n=c;var t=e+="",x=t[n(1276)](":");return x>=0&&(t=e[n(423)](0,x))!==n(2029)&&(e=e[n(423)](x+1)),Br[n(1697)](t)?{space:Br[t],local:e}:e}function cl(e){return function(){const n=_0xa8e1;var t=this[n(1426)],x=this.namespaceURI;return x===Bx&&t[n(1324)][n(1390)]===Bx?t.createElement(e):t.createElementNS(x,e)}}function sl(e){return function(){const n=_0xa8e1;return this[n(1426)][n(1664)](e[n(1637)],e[n(1115)])}}function Dr(e){const n=c;var t=ft(e);return(t[n(1115)]?sl:cl)(t)}function ll(){}function Dx(e){return e==null?ll:function(){return this[_0xa8e1(954)](e)}}function dl(e){const n=c;typeof e!="function"&&(e=Dx(e));for(var t=this[n(1732)],x=t.length,o=new Array(x),r=0;r<x;++r)for(var i=t[r],a=i[n(2062)],d=o[r]=new Array(a),s,f,u=0;u<a;++u)(s=i[u])&&(f=e[n(1225)](s,s.__data__,u,i))&&(n(1159)in s&&(f[n(1159)]=s[n(1159)]),d[u]=f);return new We(o,this[n(1655)])}function ul(e){const n=c;return e==null?[]:Array[n(738)](e)?e:Array[n(400)](e)}function fl(){return[]}function Lr(e){return e==null?fl:function(){return this.querySelectorAll(e)}}function hl(e){return function(){return ul(e[_0xa8e1(816)](this,arguments))}}function gl(e){const n=c;typeof e=="function"?e=hl(e):e=Lr(e);for(var t=this[n(1732)],x=t[n(2062)],o=[],r=[],i=0;i<x;++i)for(var a=t[i],d=a[n(2062)],s,f=0;f<d;++f)(s=a[f])&&(o[n(541)](e[n(1225)](s,s[n(1159)],f,a)),r.push(s));return new We(o,r)}function Nr(e){return function(){return this[_0xa8e1(1815)](e)}}function Sr(e){return function(n){return n[_0xa8e1(1815)](e)}}var yl=Array[c(578)].find;function ml(e){return function(){return yl.call(this.children,e)}}function wl(){return this[c(2144)]}function vl(e){const n=c;return this.select(e==null?wl:ml(typeof e===n(1200)?e:Sr(e)))}var pl=Array[c(578)][c(1928)];function bl(){const e=c;return Array[e(400)](this[e(1933)])}function zl(e){return function(){const n=_0xa8e1;return pl.call(this[n(1933)],e)}}function Cl(e){const n=c;return this[n(1823)](e==null?bl:zl(typeof e===n(1200)?e:Sr(e)))}function Ml(e){const n=c;typeof e!==n(1200)&&(e=Nr(e));for(var t=this[n(1732)],x=t[n(2062)],o=new Array(x),r=0;r<x;++r)for(var i=t[r],a=i[n(2062)],d=o[r]=[],s,f=0;f<a;++f)(s=i[f])&&e[n(1225)](s,s[n(1159)],f,i)&&d[n(541)](s);return new We(o,this[n(1655)])}function kr(e){return new Array(e.length)}function Bl(){const e=c;return new We(this[e(623)]||this._groups[e(1008)](kr),this[e(1655)])}function ht(e,n){const t=c;this[t(1426)]=e[t(1426)],this[t(1390)]=e[t(1390)],this[t(1841)]=null,this[t(1110)]=e,this[t(1159)]=n}ht.prototype={constructor:ht,appendChild:function(e){const n=c;return this._parent[n(1487)](e,this[n(1841)])},insertBefore:function(e,n){const t=c;return this[t(1110)][t(1487)](e,n)},querySelector:function(e){return this[c(1110)].querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Dl(e){return function(){return e}}function Ll(e,n,t,x,o,r){const i=c;for(var a=0,d,s=n.length,f=r[i(2062)];a<f;++a)(d=n[a])?(d[i(1159)]=r[a],x[a]=d):t[a]=new ht(e,r[a]);for(;a<s;++a)(d=n[a])&&(o[a]=d)}function Nl(e,n,t,x,o,r,i){const a=c;var d,s,f=new Map,u=n[a(2062)],y=r.length,h=new Array(u),w;for(d=0;d<u;++d)(s=n[d])&&(h[d]=w=i.call(s,s[a(1159)],d,n)+"",f[a(1071)](w)?o[d]=s:f[a(674)](w,s));for(d=0;d<y;++d)w=i[a(1225)](e,r[d],d,r)+"",(s=f[a(834)](w))?(x[d]=s,s[a(1159)]=r[d],f[a(1826)](w)):t[d]=new ht(e,r[d]);for(d=0;d<u;++d)(s=n[d])&&f.get(h[d])===s&&(o[d]=s)}function Sl(e){return e[c(1159)]}function kl(e,n){const t=c;if(!arguments[t(2062)])return Array[t(400)](this,Sl);var x=n?Nl:Ll,o=this[t(1655)],r=this[t(1732)];typeof e!="function"&&(e=Dl(e));for(var i=r.length,a=new Array(i),d=new Array(i),s=new Array(i),f=0;f<i;++f){var u=o[f],y=r[f],h=y[t(2062)],w=Pl(e[t(1225)](u,u&&u[t(1159)],f,o)),g=w[t(2062)],p=d[f]=new Array(g),b=a[f]=new Array(g),z=s[f]=new Array(h);x(u,y,p,b,z,w,n);for(var m=0,v=0,M,I;m<g;++m)if(M=p[m]){for(m>=v&&(v=m+1);!(I=b[v])&&++v<g;);M[t(1841)]=I||null}}return a=new We(a,o),a[t(623)]=d,a._exit=s,a}function Pl(e){const n=c;return typeof e=="object"&&"length"in e?e:Array[n(400)](e)}function Il(){const e=c;return new We(this[e(1636)]||this[e(1732)][e(1008)](kr),this[e(1655)])}function jl(e,n,t){const x=c;var o=this.enter(),r=this,i=this[x(1901)]();return typeof e===x(1200)?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),n!=null&&(r=n(r),r&&(r=r[x(1497)]())),t==null?i[x(619)]():t(i),o&&r?o[x(1793)](r)[x(1259)]():r}function Al(e){const n=c;for(var t=e.selection?e[n(1497)]():e,x=this[n(1732)],o=t._groups,r=x[n(2062)],i=o[n(2062)],a=Math[n(880)](r,i),d=new Array(r),s=0;s<a;++s)for(var f=x[s],u=o[s],y=f.length,h=d[s]=new Array(y),w,g=0;g<y;++g)(w=f[g]||u[g])&&(h[g]=w);for(;s<r;++s)d[s]=x[s];return new We(d,this._parents)}function El(){const e=c;for(var n=this[e(1732)],t=-1,x=n[e(2062)];++t<x;)for(var o=n[t],r=o[e(2062)]-1,i=o[r],a;--r>=0;)(a=o[r])&&(i&&a[e(497)](i)^4&&i[e(1141)][e(1487)](a,i),i=a);return this}function Yl(e){const n=c;e||(e=Ul);function t(y,h){const w=_0xa8e1;return y&&h?e(y[w(1159)],h[w(1159)]):!y-!h}for(var x=this[n(1732)],o=x[n(2062)],r=new Array(o),i=0;i<o;++i){for(var a=x[i],d=a[n(2062)],s=r[i]=new Array(d),f,u=0;u<d;++u)(f=a[u])&&(s[u]=f);s.sort(t)}return new We(r,this[n(1655)])[n(1259)]()}function Ul(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Ol(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Gl(){return Array[c(400)](this)}function Hl(){const e=c;for(var n=this[e(1732)],t=0,x=n[e(2062)];t<x;++t)for(var o=n[t],r=0,i=o.length;r<i;++r){var a=o[r];if(a)return a}return null}function Tl(){let e=0;for(const n of this)++e;return e}function Vl(){return!this[c(1470)]()}function ql(e){const n=c;for(var t=this._groups,x=0,o=t[n(2062)];x<o;++x)for(var r=t[x],i=0,a=r[n(2062)],d;i<a;++i)(d=r[i])&&e.call(d,d[n(1159)],i,r);return this}function Wl(e){return function(){this[_0xa8e1(1485)](e)}}function Xl(e){return function(){const n=_0xa8e1;this[n(424)](e[n(1637)],e[n(1115)])}}function Kl(e,n){return function(){this.setAttribute(e,n)}}function Zl(e,n){return function(){const t=_0xa8e1;this.setAttributeNS(e[t(1637)],e[t(1115)],n)}}function Rl(e,n){return function(){const t=_0xa8e1;var x=n[t(816)](this,arguments);x==null?this[t(1485)](e):this[t(1727)](e,x)}}function Jl(e,n){return function(){const t=_0xa8e1;var x=n[t(816)](this,arguments);x==null?this[t(424)](e[t(1637)],e.local):this.setAttributeNS(e.space,e.local,x)}}function _l(e,n){const t=c;var x=ft(e);if(arguments[t(2062)]<2){var o=this[t(1470)]();return x[t(1115)]?o[t(1231)](x[t(1637)],x[t(1115)]):o[t(1893)](x)}return this[t(916)]((n==null?x[t(1115)]?Xl:Wl:typeof n===t(1200)?x[t(1115)]?Jl:Rl:x[t(1115)]?Zl:Kl)(x,n))}function Pr(e){const n=c;return e[n(1426)]&&e[n(1426)][n(1792)]||e[n(1372)]&&e||e[n(1792)]}function Fl(e){return function(){const n=_0xa8e1;this[n(752)][n(1084)](e)}}function Ql(e,n,t){return function(){const x=_0xa8e1;this[x(752)][x(1325)](e,n,t)}}function $l(e,n,t){return function(){const x=_0xa8e1;var o=n[x(816)](this,arguments);o==null?this.style[x(1084)](e):this[x(752)][x(1325)](e,o,t)}}function ed(e,n,t){const x=c;return arguments.length>1?this.each((n==null?Fl:typeof n===x(1200)?$l:Ql)(e,n,t??"")):tn(this[x(1470)](),e)}function tn(e,n){const t=c;return e[t(752)][t(1254)](n)||Pr(e)[t(1516)](e,null)[t(1254)](n)}function nd(e){return function(){delete this[e]}}function td(e,n){return function(){this[e]=n}}function xd(e,n){return function(){var x=n[_0xa8e1(816)](this,arguments);x==null?delete this[e]:this[e]=x}}function od(e,n){const t=c;return arguments[t(2062)]>1?this.each((n==null?nd:typeof n===t(1200)?xd:td)(e,n)):this[t(1470)]()[e]}function Ir(e){const n=c;return e[n(562)]()[n(1296)](/^|\s+/)}function Lx(e){return e.classList||new jr(e)}function jr(e){const n=c;this[n(871)]=e,this[n(511)]=Ir(e.getAttribute(n(2136))||"")}jr[c(578)]={add:function(e){const n=c;var t=this._names[n(1276)](e);t<0&&(this[n(511)].push(e),this[n(871)].setAttribute(n(2136),this[n(511)][n(2171)](" ")))},remove:function(e){const n=c;var t=this[n(511)][n(1276)](e);t>=0&&(this[n(511)].splice(t,1),this[n(871)].setAttribute(n(2136),this[n(511)][n(2171)](" ")))},contains:function(e){return this[c(511)].indexOf(e)>=0}};function Ar(e,n){const t=c;for(var x=Lx(e),o=-1,r=n[t(2062)];++o<r;)x[t(1796)](n[o])}function Er(e,n){const t=c;for(var x=Lx(e),o=-1,r=n[t(2062)];++o<r;)x[t(619)](n[o])}function rd(e){return function(){Ar(this,e)}}function id(e){return function(){Er(this,e)}}function ad(e,n){return function(){(n[_0xa8e1(816)](this,arguments)?Ar:Er)(this,e)}}function cd(e,n){const t=c;var x=Ir(e+"");if(arguments[t(2062)]<2){for(var o=Lx(this[t(1470)]()),r=-1,i=x.length;++r<i;)if(!o.contains(x[r]))return!1;return!0}return this.each((typeof n===t(1200)?ad:n?rd:id)(x,n))}function sd(){const e=c;this[e(1931)]=""}function ld(e){return function(){const n=_0xa8e1;this[n(1931)]=e}}function dd(e){return function(){const n=_0xa8e1;var t=e[n(816)](this,arguments);this[n(1931)]=t??""}}function ud(e){const n=c;return arguments.length?this[n(916)](e==null?sd:(typeof e===n(1200)?dd:ld)(e)):this.node().textContent}function fd(){this.innerHTML=""}function hd(e){return function(){const n=_0xa8e1;this[n(598)]=e}}function gd(e){return function(){const n=_0xa8e1;var t=e.apply(this,arguments);this[n(598)]=t??""}}function yd(e){const n=c;return arguments.length?this.each(e==null?fd:(typeof e=="function"?gd:hd)(e)):this.node()[n(598)]}function md(){const e=c;this[e(637)]&&this.parentNode[e(1762)](this)}function wd(){return this[c(916)](md)}function vd(){const e=c;this[e(1176)]&&this[e(1141)][e(1487)](this,this.parentNode[e(580)])}function pd(){return this.each(vd)}function bd(e){const n=c;var t=typeof e===n(1200)?e:Dr(e);return this.select(function(){const x=n;return this[x(1762)](t[x(816)](this,arguments))})}function zd(){return null}function Cd(e,n){const t=c;var x=typeof e===t(1200)?e:Dr(e),o=n==null?zd:typeof n=="function"?n:Dx(n);return this.select(function(){const r=t;return this[r(1487)](x[r(816)](this,arguments),o.apply(this,arguments)||null)})}function Md(){const e=c;var n=this.parentNode;n&&n[e(1929)](this)}function Bd(){return this.each(Md)}function Dd(){const e=c;var n=this.cloneNode(!1),t=this[e(1141)];return t?t.insertBefore(n,this[e(637)]):n}function Ld(){const e=c;var n=this[e(727)](!0),t=this.parentNode;return t?t[e(1487)](n,this.nextSibling):n}function Nd(e){return this[c(1080)](e?Ld:Dd)}function Sd(e){const n=c;return arguments[n(2062)]?this[n(1746)](n(1159),e):this[n(1470)]().__data__}function kd(e){return function(n){const t=_0xa8e1;e.call(this,n,this[t(1159)])}}function Pd(e){const n=c;return e.trim()[n(1296)](/^|\s+/).map(function(t){const x=n;var o="",r=t[x(1276)](".");return r>=0&&(o=t[x(423)](r+1),t=t[x(423)](0,r)),{type:t,name:o}})}function Id(e){return function(){const n=_0xa8e1;var t=this[n(923)];if(t){for(var x=0,o=-1,r=t[n(2062)],i;x<r;++x)i=t[x],(!e[n(1721)]||i[n(1721)]===e[n(1721)])&&i.name===e[n(413)]?this.removeEventListener(i[n(1721)],i[n(1702)],i[n(469)]):t[++o]=i;++o?t[n(2062)]=o:delete this.__on}}}function jd(e,n,t){return function(){const x=_0xa8e1;var o=this.__on,r,i=kd(n);if(o){for(var a=0,d=o[x(2062)];a<d;++a)if((r=o[a])[x(1721)]===e[x(1721)]&&r[x(413)]===e[x(413)]){this[x(2009)](r.type,r[x(1702)],r.options),this[x(437)](r[x(1721)],r[x(1702)]=i,r[x(469)]=t),r[x(1989)]=n;return}}this[x(437)](e[x(1721)],i,t),r={type:e[x(1721)],name:e[x(413)],value:n,listener:i,options:t},o?o[x(541)](r):this[x(923)]=[r]}}function Ad(e,n,t){const x=c;var o=Pd(e+""),r,i=o[x(2062)],a;if(arguments[x(2062)]<2){var d=this[x(1470)]()[x(923)];if(d){for(var s=0,f=d.length,u;s<f;++s)for(r=0,u=d[s];r<i;++r)if((a=o[r])[x(1721)]===u[x(1721)]&&a[x(413)]===u[x(413)])return u[x(1989)]}return}for(d=n?jd:Id,r=0;r<i;++r)this[x(916)](d(o[r],n,t));return this}function Yr(e,n,t){const x=c;var o=Pr(e),r=o[x(1481)];typeof r===x(1200)?r=new r(n,t):(r=o[x(1372)].createEvent(x(719)),t?(r[x(1002)](n,t[x(1540)],t.cancelable),r[x(1608)]=t[x(1608)]):r.initEvent(n,!1,!1)),e[x(959)](r)}function Ed(e,n){return function(){return Yr(this,e,n)}}function Yd(e,n){return function(){return Yr(this,e,n[_0xa8e1(816)](this,arguments))}}function Ud(e,n){const t=c;return this.each((typeof n===t(1200)?Yd:Ed)(e,n))}function*Od(){const e=c;for(var n=this[e(1732)],t=0,x=n.length;t<x;++t)for(var o=n[t],r=0,i=o[e(2062)],a;r<i;++r)(a=o[r])&&(yield a)}var Ur=[null];function We(e,n){const t=c;this[t(1732)]=e,this[t(1655)]=n}function Nn(){const e=c;return new We([[document[e(1324)]]],Ur)}function Gd(){return this}We.prototype=Nn[c(578)]={constructor:We,select:dl,selectAll:gl,selectChild:vl,selectChildren:Cl,filter:Ml,data:kl,enter:Bl,exit:Il,join:jl,merge:Al,selection:Gd,order:El,sort:Yl,call:Ol,nodes:Gl,node:Hl,size:Tl,empty:Vl,each:ql,attr:_l,style:ed,property:od,classed:cd,text:ud,html:yd,raise:wd,lower:pd,append:bd,insert:Cd,remove:Bd,clone:Nd,datum:Sd,on:Ad,dispatch:Ud,[Symbol[c(533)]]:Od};function Xe(e){const n=c;return typeof e===n(891)?new We([[document[n(954)](e)]],[document[n(1324)]]):new We([[e]],Ur)}function Hd(e){const n=c;let t;for(;t=e[n(2076)];)e=t;return e}function Fe(e,n){const t=c;if(e=Hd(e),n===void 0&&(n=e[t(1179)]),n){var x=n[t(660)]||n;if(x.createSVGPoint){var o=x[t(707)]();return o.x=e[t(1403)],o.y=e[t(1477)],o=o[t(1338)](n[t(1205)]()[t(602)]()),[o.x,o.y]}if(n[t(1412)]){var r=n.getBoundingClientRect();return[e[t(1403)]-r.left-n.clientLeft,e.clientY-r[t(1813)]-n[t(1847)]]}}return[e[t(1405)],e[t(737)]]}const Td={passive:!1},Sn={capture:!0,passive:!1};function Nx(e){e.stopImmediatePropagation()}function xn(e){e[c(2106)](),e.stopImmediatePropagation()}function Or(e){const n=c;var t=e.document[n(1324)],x=Xe(e).on(n(1665),xn,Sn);n(1973)in t?x.on(n(2110),xn,Sn):(t.__noselect=t[n(752)][n(448)],t[n(752)].MozUserSelect="none")}function Gr(e,n){const t=c;var x=e[t(1372)][t(1324)],o=Xe(e).on(t(1665),null);n&&(o.on(t(1375),xn,Sn),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in x?o.on(t(2110),null):(x.style[t(448)]=x[t(1132)],delete x.__noselect)}const gt=e=>()=>e;function Sx(e,{sourceEvent:n,subject:t,target:x,identifier:o,active:r,x:i,y:a,dx:d,dy:s,dispatch:f}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:r,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:d,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:f}})}Sx[c(578)].on=function(){const e=c;var n=this._.on[e(816)](this._,arguments);return n===this._?this:n};function Vd(e){const n=c;return!e[n(1701)]&&!e[n(1295)]}function qd(){return this[c(1141)]}function Wd(e,n){return n??{x:e.x,y:e.y}}function Xd(){const e=c;return navigator.maxTouchPoints||e(409)in this}function Hr(){const e=c;var n=Vd,t=qd,x=Wd,o=Xd,r={},i=dt(e(1679),"drag",e(592)),a=0,d,s,f,u,y=0;function h(M){const I=e;M.on(I(1146),w)[I(1928)](o).on(I(1448),b).on(I(1961),z,Td).on(I(2037),m).style("touch-action","none")[I(752)](I(720),"rgba(0,0,0,0)")}function w(M,I){const E=e;if(!(u||!n.call(this,M,I))){var G=v(this,t[E(1225)](this,M,I),M,I,E(1579));G&&(Xe(M[E(1922)]).on("mousemove.drag",g,Sn).on(E(455),p,Sn),Or(M[E(1922)]),Nx(M),f=!1,d=M[E(1403)],s=M[E(1477)],G(E(1679),M))}}function g(M){const I=e;if(xn(M),!f){var E=M[I(1403)]-d,G=M[I(1477)]-s;f=E*E+G*G>y}r[I(1579)]("drag",M)}function p(M){const I=e;Xe(M[I(1922)]).on(I(571),null),Gr(M[I(1922)],f),xn(M),r[I(1579)](I(592),M)}function b(M,I){const E=e;if(n[E(1225)](this,M,I)){var G=M[E(1616)],O=t[E(1225)](this,M,I),U=G[E(2062)],F,X;for(F=0;F<U;++F)(X=v(this,O,M,I,G[F][E(528)],G[F]))&&(Nx(M),X("start",M,G[F]))}}function z(M){const I=e;var E=M[I(1616)],G=E[I(2062)],O,U;for(O=0;O<G;++O)(U=r[E[O][I(528)]])&&(xn(M),U(I(722),M,E[O]))}function m(M){const I=e;var E=M.changedTouches,G=E.length,O,U;for(u&&clearTimeout(u),u=setTimeout(function(){u=null},500),O=0;O<G;++O)(U=r[E[O][I(528)]])&&(Nx(M),U("end",M,E[O]))}function v(M,I,E,G,O,U){const F=e;var X=i[F(508)](),W=Fe(U||E,I),T,N,L;if((L=x[F(1225)](M,new Sx(F(1473),{sourceEvent:E,target:h,identifier:O,active:a,x:W[0],y:W[1],dx:0,dy:0,dispatch:X}),G))!=null)return T=L.x-W[0]||0,N=L.y-W[1]||0,function B(A,P,j){const Z=F;var R=W,_;switch(A){case Z(1679):r[O]=B,_=a++;break;case"end":delete r[O],--a;case"drag":W=Fe(j||P,I),_=a;break}X[Z(1225)](A,M,new Sx(A,{sourceEvent:P,subject:L,target:h,identifier:O,active:_,x:W[0]+T,y:W[1]+N,dx:W[0]-R[0],dy:W[1]-R[1],dispatch:X}),G)}}return h[e(1928)]=function(M){return arguments.length?(n=typeof M=="function"?M:gt(!!M),h):n},h.container=function(M){const I=e;return arguments[I(2062)]?(t=typeof M===I(1200)?M:gt(M),h):t},h[e(1518)]=function(M){const I=e;return arguments.length?(x=typeof M===I(1200)?M:gt(M),h):x},h[e(1760)]=function(M){const I=e;return arguments[I(2062)]?(o=typeof M===I(1200)?M:gt(!!M),h):o},h.on=function(){var M=i.on.apply(i,arguments);return M===i?h:M},h.clickDistance=function(M){const I=e;return arguments[I(2062)]?(y=(M=+M)*M,h):Math[I(1692)](y)},h}function kx(e,n,t){const x=c;e[x(578)]=n[x(578)]=t,t[x(1445)]=e}function Tr(e,n){var x=Object.create(e[c(578)]);for(var o in n)x[o]=n[o];return x}function kn(){}var Pn=.7,yt=1/Pn,on=c(1630),In=c(1736),o0=c(852),Kd=/^#([0-9a-f]{3,8})$/,Zd=new RegExp(c(1714)+on+","+on+","+on+c(754)),Rd=new RegExp(c(1714)+o0+","+o0+","+o0+c(754)),Jd=new RegExp("^rgba\\("+on+","+on+","+on+","+In+c(754)),_d=new RegExp("^rgba\\("+o0+","+o0+","+o0+","+In+"\\)$"),Fd=new RegExp("^hsl\\("+In+","+o0+","+o0+c(754)),Qd=new RegExp(c(853)+In+","+o0+","+o0+","+In+c(754)),Vr={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};kx(kn,j0,{copy(e){const n=c;return Object[n(1607)](new this[n(1445)],this,e)},displayable(){const e=c;return this[e(396)]()[e(769)]()},hex:qr,formatHex:qr,formatHex8:$d,formatHsl:eu,formatRgb:Wr,toString:Wr});function qr(){const e=c;return this[e(396)]()[e(896)]()}function $d(){const e=c;return this[e(396)]()[e(1050)]()}function eu(){const e=c;return Jr(this)[e(446)]()}function Wr(){return this[c(396)]().formatRgb()}function j0(e){const n=c;var t,x;return e=(e+"")[n(562)]().toLowerCase(),(t=Kd[n(1513)](e))?(x=t[1][n(2062)],t=parseInt(t[1],16),x===6?Xr(t):x===3?new He(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):x===8?mt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):x===4?mt(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Zd[n(1513)](e))?new He(t[1],t[2],t[3],1):(t=Rd.exec(e))?new He(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Jd[n(1513)](e))?mt(t[1],t[2],t[3],t[4]):(t=_d[n(1513)](e))?mt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Fd[n(1513)](e))?Rr(t[1],t[2]/100,t[3]/100,1):(t=Qd[n(1513)](e))?Rr(t[1],t[2]/100,t[3]/100,t[4]):Vr[n(1697)](e)?Xr(Vr[e]):e===n(1913)?new He(NaN,NaN,NaN,0):null}function Xr(e){return new He(e>>16&255,e>>8&255,e&255,1)}function mt(e,n,t,x){return x<=0&&(e=n=t=NaN),new He(e,n,t,x)}function nu(e){const n=c;return e instanceof kn||(e=j0(e)),e?(e=e[n(396)](),new He(e.r,e.g,e.b,e[n(1647)])):new He}function Px(e,n,t,x){return arguments[c(2062)]===1?nu(e):new He(e,n,t,x??1)}function He(e,n,t,x){const o=c;this.r=+e,this.g=+n,this.b=+t,this[o(1647)]=+x}kx(He,Px,Tr(kn,{brighter(e){return e=e==null?yt:Math.pow(yt,e),new He(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){const n=c;return e=e==null?Pn:Math[n(2153)](Pn,e),new He(this.r*e,this.g*e,this.b*e,this[n(1647)])},rgb(){return this},clamp(){const e=c;return new He(A0(this.r),A0(this.g),A0(this.b),wt(this[e(1647)]))},displayable(){const e=c;return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this[e(1647)]&&this[e(1647)]<=1},hex:Kr,formatHex:Kr,formatHex8:tu,formatRgb:Zr,toString:Zr}));function Kr(){return"#"+E0(this.r)+E0(this.g)+E0(this.b)}function tu(){const e=c;return"#"+E0(this.r)+E0(this.g)+E0(this.b)+E0((isNaN(this[e(1647)])?1:this[e(1647)])*255)}function Zr(){const e=c,n=wt(this.opacity);return""+e(n===1?1027:454)+A0(this.r)+", "+A0(this.g)+", "+A0(this.b)+(n===1?")":", "+n+")")}function wt(e){const n=c;return isNaN(e)?1:Math[n(1121)](0,Math[n(880)](1,e))}function A0(e){const n=c;return Math[n(1121)](0,Math[n(880)](255,Math.round(e)||0))}function E0(e){const n=c;return e=A0(e),(e<16?"0":"")+e[n(926)](16)}function Rr(e,n,t,x){return x<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new Qe(e,n,t,x)}function Jr(e){const n=c;if(e instanceof Qe)return new Qe(e.h,e.s,e.l,e.opacity);if(e instanceof kn||(e=j0(e)),!e)return new Qe;if(e instanceof Qe)return e;e=e[n(396)]();var t=e.r/255,x=e.g/255,o=e.b/255,r=Math[n(880)](t,x,o),i=Math[n(1121)](t,x,o),a=NaN,d=i-r,s=(i+r)/2;return d?(t===i?a=(x-o)/d+(x<o)*6:x===i?a=(o-t)/d+2:a=(t-x)/d+4,d/=s<.5?i+r:2-i-r,a*=60):d=s>0&&s<1?0:a,new Qe(a,d,s,e[n(1647)])}function xu(e,n,t,x){return arguments.length===1?Jr(e):new Qe(e,n,t,x??1)}function Qe(e,n,t,x){const o=c;this.h=+e,this.s=+n,this.l=+t,this[o(1647)]=+x}kx(Qe,xu,Tr(kn,{brighter(e){const n=c;return e=e==null?yt:Math[n(2153)](yt,e),new Qe(this.h,this.s,this.l*e,this[n(1647)])},darker(e){const n=c;return e=e==null?Pn:Math[n(2153)](Pn,e),new Qe(this.h,this.s,this.l*e,this[n(1647)])},rgb(){const e=c;var n=this.h%360+(this.h<0)*360,t=isNaN(n)||isNaN(this.s)?0:this.s,x=this.l,o=x+(x<.5?x:1-x)*t,r=2*x-o;return new He(Ix(n>=240?n-240:n+120,r,o),Ix(n,r,o),Ix(n<120?n+240:n-120,r,o),this[e(1647)])},clamp(){const e=c;return new Qe(_r(this.h),vt(this.s),vt(this.l),wt(this[e(1647)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this[e(1647)]<=1},formatHsl(){const e=c,n=wt(this[e(1647)]);return""+(n===1?"hsl(":e(1564))+_r(this.h)+", "+vt(this.s)*100+"%, "+vt(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function _r(e){return e=(e||0)%360,e<0?e+360:e}function vt(e){const n=c;return Math[n(1121)](0,Math[n(880)](1,e||0))}function Ix(e,n,t){return(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)*255}const jx=e=>()=>e;function ou(e,n){return function(t){return e+t*n}}function ru(e,n,t){const x=c;return e=Math[x(2153)](e,t),n=Math[x(2153)](n,t)-e,t=1/t,function(o){return Math[x(2153)](e+o*n,t)}}function iu(e){return(e=+e)==1?Fr:function(n,t){return t-n?ru(n,t,e):jx(isNaN(n)?t:n)}}function Fr(e,n){var t=n-e;return t?ou(e,t):jx(isNaN(e)?n:e)}const pt=(function e(n){var t=iu(n);function x(o,r){const i=_0xa8e1;var a=t((o=Px(o)).r,(r=Px(r)).r),d=t(o.g,r.g),s=t(o.b,r.b),f=Fr(o[i(1647)],r[i(1647)]);return function(u){const y=i;return o.r=a(u),o.g=d(u),o.b=s(u),o[y(1647)]=f(u),o+""}}return x.gamma=e,x})(1);function au(e,n){const t=c;n||(n=[]);var x=e?Math[t(880)](n[t(2062)],e[t(2062)]):0,o=n[t(423)](),r;return function(i){for(r=0;r<x;++r)o[r]=e[r]*(1-i)+n[r]*i;return o}}function cu(e){return ArrayBuffer[c(931)](e)&&!(e instanceof DataView)}function su(e,n){const t=c;var x=n?n[t(2062)]:0,o=e?Math.min(x,e[t(2062)]):0,r=new Array(o),i=new Array(x),a;for(a=0;a<o;++a)r[a]=jn(e[a],n[a]);for(;a<x;++a)i[a]=n[a];return function(d){for(a=0;a<o;++a)i[a]=r[a](d);return i}}function lu(e,n){var t=new Date;return e=+e,n=+n,function(x){return t[_0xa8e1(408)](e*(1-x)+n*x),t}}function r0(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function du(e,n){const t=c;var x={},o={},r;(e===null||typeof e!==t(1918))&&(e={}),(n===null||typeof n!==t(1918))&&(n={});for(r in n)r in e?x[r]=jn(e[r],n[r]):o[r]=n[r];return function(i){for(r in x)o[r]=x[r](i);return o}}var Ax=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ex=new RegExp(Ax[c(1413)],"g");function uu(e){return function(){return e}}function fu(e){return function(n){return e(n)+""}}function Qr(e,n){const t=c;var x=Ax[t(1995)]=Ex.lastIndex=0,o,r,i,a=-1,d=[],s=[];for(e=e+"",n=n+"";(o=Ax[t(1513)](e))&&(r=Ex[t(1513)](n));)(i=r[t(950)])>x&&(i=n[t(423)](x,i),d[a]?d[a]+=i:d[++a]=i),(o=o[0])===(r=r[0])?d[a]?d[a]+=r:d[++a]=r:(d[++a]=null,s[t(541)]({i:a,x:r0(o,r)})),x=Ex.lastIndex;return x<n[t(2062)]&&(i=n[t(423)](x),d[a]?d[a]+=i:d[++a]=i),d[t(2062)]<2?s[0]?fu(s[0].x):uu(n):(n=s[t(2062)],function(f){const u=t;for(var y=0,h;y<n;++y)d[(h=s[y]).i]=h.x(f);return d[u(2171)]("")})}function jn(e,n){const t=c;var x=typeof n,o;return n==null||x===t(1385)?jx(n):(x===t(710)?r0:x===t(891)?(o=j0(n))?(n=o,pt):Qr:n instanceof j0?pt:n instanceof Date?lu:cu(n)?au:Array.isArray(n)?su:typeof n.valueOf!==t(1200)&&typeof n[t(926)]!==t(1200)||isNaN(n)?du:r0)(e,n)}var $r=180/Math.PI,Yx={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ei(e,n,t,x,o,r){const i=c;var a,d,s;return(a=Math[i(1692)](e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*x)&&(t-=e*s,x-=n*s),(d=Math[i(1692)](t*t+x*x))&&(t/=d,x/=d,s/=d),e*x<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:o,translateY:r,rotate:Math[i(1120)](n,e)*$r,skewX:Math[i(1624)](s)*$r,scaleX:a,scaleY:d}}var bt;function hu(e){const n=c,t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(605)]?Yx:ei(t.a,t.b,t.c,t.d,t.e,t.f)}function gu(e){const n=c;return e==null||(bt||(bt=document[n(1664)](n(1492),"g")),bt.setAttribute("transform",e),!(e=bt[n(1558)][n(621)].consolidate()))?Yx:(e=e[n(1963)],ei(e.a,e.b,e.c,e.d,e.e,e.f))}function ni(e,n,t,x){function o(s){return s[_0xa8e1(2062)]?s.pop()+" ":""}function r(s,f,u,y,h,w){const g=_0xa8e1;if(s!==u||f!==y){var p=h[g(541)](g(549),null,n,null,t);w[g(541)]({i:p-4,x:r0(s,u)},{i:p-2,x:r0(f,y)})}else(u||y)&&h.push(g(549)+u+n+y+t)}function i(s,f,u,y){const h=_0xa8e1;s!==f?(s-f>180?f+=360:f-s>180&&(s+=360),y[h(541)]({i:u[h(541)](o(u)+h(2089),null,x)-2,x:r0(s,f)})):f&&u[h(541)](o(u)+h(2089)+f+x)}function a(s,f,u,y){const h=_0xa8e1;s!==f?y[h(541)]({i:u[h(541)](o(u)+h(1726),null,x)-2,x:r0(s,f)}):f&&u[h(541)](o(u)+"skewX("+f+x)}function d(s,f,u,y,h,w){const g=_0xa8e1;if(s!==u||f!==y){var p=h[g(541)](o(h)+g(550),null,",",null,")");w[g(541)]({i:p-4,x:r0(s,u)},{i:p-2,x:r0(f,y)})}else(u!==1||y!==1)&&h[g(541)](o(h)+g(550)+u+","+y+")")}return function(s,f){const u=_0xa8e1;var y=[],h=[];return s=e(s),f=e(f),r(s[u(1043)],s[u(523)],f[u(1043)],f[u(523)],y,h),i(s.rotate,f[u(2041)],y,h),a(s[u(975)],f[u(975)],y,h),d(s.scaleX,s[u(1874)],f.scaleX,f[u(1874)],y,h),s=f=null,function(w){const g=u;for(var p=-1,b=h[g(2062)],z;++p<b;)y[(z=h[p]).i]=z.x(w);return y[g(2171)]("")}}}var yu=ni(hu,c(2093),c(2155),c(775)),mu=ni(gu,", ",")",")"),wu=1e-12;function ti(e){return((e=Math[c(902)](e))+1/e)/2}function vu(e){return((e=Math[c(902)](e))-1/e)/2}function pu(e){return((e=Math[c(902)](2*e))-1)/(e+1)}const zt=(function e(n,t,x){const o=c;function r(i,a){const d=_0xa8e1;var s=i[0],f=i[1],u=i[2],y=a[0],h=a[1],w=a[2],g=y-s,p=h-f,b=g*g+p*p,z,m;if(b<wu)m=Math.log(w/u)/n,z=function(O){const U=_0xa8e1;return[s+O*g,f+O*p,u*Math[U(902)](n*O*m)]};else{var v=Math.sqrt(b),M=(w*w-u*u+x*b)/(2*u*t*v),I=(w*w-u*u-x*b)/(2*w*t*v),E=Math[d(833)](Math[d(1692)](M*M+1)-M),G=Math[d(833)](Math[d(1692)](I*I+1)-I);m=(G-E)/n,z=function(O){var U=O*m,F=ti(E),X=u/(t*v)*(F*pu(n*U+E)-vu(E));return[s+X*g,f+X*p,u*F/ti(n*U+E)]}}return z[d(405)]=m*1e3*n/Math[d(2132)],z}return r[o(1848)]=function(i){var a=Math.max(.001,+i),d=a*a,s=d*d;return e(a,d,s)},r})(Math[c(2132)],2,4);var rn=0,An=0,En=0,xi=1e3,Ct,Yn,Mt=0,Y0=0,Bt=0,Un=typeof performance=="object"&&performance[c(429)]?performance:Date,oi=typeof window=="object"&&window.requestAnimationFrame?window[c(531)].bind(window):function(e){setTimeout(e,17)};function Ux(){const e=c;return Y0||(oi(bu),Y0=Un[e(429)]()+Bt)}function bu(){Y0=0}function Dt(){const e=c;this[e(1888)]=this._time=this[e(1841)]=null}Dt[c(578)]=ri[c(578)]={constructor:Dt,restart:function(e,n,t){const x=c;if(typeof e!==x(1200))throw new TypeError(x(1319));t=(t==null?Ux():+t)+(n==null?0:+n),!this[x(1841)]&&Yn!==this&&(Yn?Yn._next=this:Ct=this,Yn=this),this[x(1888)]=e,this[x(723)]=t,Ox()},stop:function(){const e=c;this[e(1888)]&&(this[e(1888)]=null,this[e(723)]=1/0,Ox())}};function ri(e,n,t){const x=c;var o=new Dt;return o[x(1602)](e,n,t),o}function zu(){const e=c;Ux(),++rn;for(var n=Ct,t;n;)(t=Y0-n[e(723)])>=0&&n._call[e(1225)](void 0,t),n=n[e(1841)];--rn}function ii(){Y0=(Mt=Un[c(429)]())+Bt,rn=An=0;try{zu()}finally{rn=0,Mu(),Y0=0}}function Cu(){var e=Un.now(),n=e-Mt;n>xi&&(Bt-=n,Mt=e)}function Mu(){const e=c;for(var n,t=Ct,x,o=1/0;t;)t[e(1888)]?(o>t[e(723)]&&(o=t[e(723)]),n=t,t=t[e(1841)]):(x=t[e(1841)],t[e(1841)]=null,t=n?n[e(1841)]=x:Ct=x);Yn=n,Ox(o)}function Ox(e){const n=c;if(!rn){An&&(An=clearTimeout(An));var t=e-Y0;t>24?(e<1/0&&(An=setTimeout(ii,e-Un[n(429)]()-Bt)),En&&(En=clearInterval(En))):(En||(Mt=Un[n(429)](),En=setInterval(Cu,xi)),rn=1,oi(ii))}}function ai(e,n,t){const x=c;var o=new Dt;return n=n==null?0:+n,o[x(1602)](r=>{o[x(1e3)](),e(r+n)},n,t),o}var Bu=dt("start",c(592),c(1898),c(817)),Du=[],ci=0,si=1,Gx=2,Lt=3,li=4,Hx=5,Nt=6;function St(e,n,t,x,o,r){const i=c;var a=e[i(1617)];if(!a)e[i(1617)]={};else if(t in a)return;Lu(e,t,{name:n,index:x,group:o,on:Bu,tween:Du,time:r[i(642)],delay:r[i(842)],duration:r[i(405)],ease:r[i(1543)],timer:null,state:ci})}function Tx(e,n){var t=$e(e,n);if(t.state>ci)throw new Error("too late; already scheduled");return t}function i0(e,n){const t=c;var x=$e(e,n);if(x.state>Lt)throw new Error(t(2186));return x}function $e(e,n){const t=c;var x=e.__transition;if(!x||!(x=x[n]))throw new Error(t(889));return x}function Lu(e,n,t){const x=c;var o=e[x(1617)],r;o[n]=t,t[x(1349)]=ri(i,0,t[x(642)]);function i(f){const u=x;t[u(1711)]=si,t[u(1349)][u(1602)](a,t[u(842)],t[u(642)]),t[u(842)]<=f&&a(f-t[u(842)])}function a(f){const u=x;var y,h,w,g;if(t[u(1711)]!==si)return s();for(y in o)if(g=o[y],g[u(413)]===t.name){if(g[u(1711)]===Lt)return ai(a);g[u(1711)]===li?(g.state=Nt,g.timer[u(1e3)](),g.on[u(1225)](u(817),e,e[u(1159)],g[u(950)],g[u(650)]),delete o[y]):+y<n&&(g[u(1711)]=Nt,g[u(1349)][u(1e3)](),g.on[u(1225)](u(1898),e,e.__data__,g[u(950)],g[u(650)]),delete o[y])}if(ai(function(){const p=u;t.state===Lt&&(t[p(1711)]=li,t[p(1349)].restart(d,t.delay,t[p(642)]),d(f))}),t[u(1711)]=Gx,t.on[u(1225)](u(1679),e,e[u(1159)],t[u(950)],t.group),t[u(1711)]===Gx){for(t.state=Lt,r=new Array(w=t[u(1344)][u(2062)]),y=0,h=-1;y<w;++y)(g=t[u(1344)][y].value.call(e,e[u(1159)],t[u(950)],t[u(650)]))&&(r[++h]=g);r.length=h+1}}function d(f){const u=x;for(var y=f<t[u(405)]?t[u(1543)][u(1225)](null,f/t.duration):(t[u(1349)][u(1602)](s),t[u(1711)]=Hx,1),h=-1,w=r.length;++h<w;)r[h].call(e,y);t[u(1711)]===Hx&&(t.on[u(1225)](u(592),e,e[u(1159)],t.index,t[u(650)]),s())}function s(){const f=x;t[f(1711)]=Nt,t.timer[f(1e3)](),delete o[n];for(var u in o)return;delete e[f(1617)]}}function kt(e,n){const t=c;var x=e[t(1617)],o,r,i=!0,a;if(x){n=n==null?null:n+"";for(a in x){if((o=x[a])[t(413)]!==n){i=!1;continue}r=o[t(1711)]>Gx&&o.state<Hx,o[t(1711)]=Nt,o.timer[t(1e3)](),o.on[t(1225)](r?t(817):"cancel",e,e.__data__,o.index,o[t(650)]),delete x[a]}i&&delete e[t(1617)]}}function Nu(e){return this.each(function(){kt(this,e)})}function Su(e,n){var t,x;return function(){const o=_0xa8e1;var r=i0(this,e),i=r[o(1344)];if(i!==t){x=t=i;for(var a=0,d=x[o(2062)];a<d;++a)if(x[a][o(413)]===n){x=x[o(423)](),x[o(1675)](a,1);break}}r[o(1344)]=x}}function ku(e,n,t){const x=c;var o,r;if(typeof t!==x(1200))throw new Error;return function(){const i=x;var a=i0(this,e),d=a[i(1344)];if(d!==o){r=(o=d)[i(423)]();for(var s={name:n,value:t},f=0,u=r[i(2062)];f<u;++f)if(r[f][i(413)]===n){r[f]=s;break}f===u&&r[i(541)](s)}a.tween=r}}function Pu(e,n){const t=c;var x=this[t(2098)];if(e+="",arguments[t(2062)]<2){for(var o=$e(this[t(1470)](),x).tween,r=0,i=o[t(2062)],a;r<i;++r)if((a=o[r]).name===e)return a.value;return null}return this[t(916)]((n==null?Su:ku)(x,e,n))}function Vx(e,n,t){const x=c;var o=e[x(2098)];return e[x(916)](function(){const r=x;var i=i0(this,o);(i[r(1989)]||(i[r(1989)]={}))[n]=t[r(816)](this,arguments)}),function(r){const i=x;return $e(r,o)[i(1989)][n]}}function di(e,n){const t=c;var x;return(typeof n===t(710)?r0:n instanceof j0?pt:(x=j0(n))?(n=x,pt):Qr)(e,n)}function Iu(e){return function(){this[_0xa8e1(1485)](e)}}function ju(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Au(e,n,t){var x,o=t+"",r;return function(){var i=this.getAttribute(e);return i===o?null:i===x?r:r=n(x=i,t)}}function Eu(e,n,t){var x,o=t+"",r;return function(){const i=_0xa8e1;var a=this.getAttributeNS(e[i(1637)],e[i(1115)]);return a===o?null:a===x?r:r=n(x=a,t)}}function Yu(e,n,t){var x,o,r;return function(){const i=_0xa8e1;var a,d=t(this),s;return d==null?void this[i(1485)](e):(a=this[i(1893)](e),s=d+"",a===s?null:a===x&&s===o?r:(o=s,r=n(x=a,d)))}}function Uu(e,n,t){var x,o,r;return function(){const i=_0xa8e1;var a,d=t(this),s;return d==null?void this[i(424)](e.space,e.local):(a=this[i(1231)](e[i(1637)],e[i(1115)]),s=d+"",a===s?null:a===x&&s===o?r:(o=s,r=n(x=a,d)))}}function Ou(e,n){const t=c;var x=ft(e),o=x===t(1558)?mu:di;return this[t(742)](e,typeof n===t(1200)?(x[t(1115)]?Uu:Yu)(x,o,Vx(this,t(2046)+e,n)):n==null?(x[t(1115)]?ju:Iu)(x):(x.local?Eu:Au)(x,o,n))}function Gu(e,n){return function(t){const x=_0xa8e1;this.setAttribute(e,n[x(1225)](this,t))}}function Hu(e,n){return function(t){const x=_0xa8e1;this[x(1345)](e[x(1637)],e[x(1115)],n.call(this,t))}}function Tu(e,n){var t,x;function o(){var i=n[_0xa8e1(816)](this,arguments);return i!==x&&(t=(x=i)&&Hu(e,i)),t}return o._value=n,o}function Vu(e,n){var t,x;function o(){var i=n[_0xa8e1(816)](this,arguments);return i!==x&&(t=(x=i)&&Gu(e,i)),t}return o._value=n,o}function qu(e,n){const t=c;var x="attr."+e;if(arguments[t(2062)]<2)return(x=this[t(1344)](x))&&x[t(561)];if(n==null)return this[t(1344)](x,null);if(typeof n!==t(1200))throw new Error;var o=ft(e);return this[t(1344)](x,(o[t(1115)]?Tu:Vu)(o,n))}function Wu(e,n){return function(){const t=_0xa8e1;Tx(this,e)[t(842)]=+n[t(816)](this,arguments)}}function Xu(e,n){return n=+n,function(){const t=_0xa8e1;Tx(this,e)[t(842)]=n}}function Ku(e){const n=c;var t=this._id;return arguments[n(2062)]?this[n(916)]((typeof e===n(1200)?Wu:Xu)(t,e)):$e(this[n(1470)](),t).delay}function Zu(e,n){return function(){const t=_0xa8e1;i0(this,e)[t(405)]=+n[t(816)](this,arguments)}}function Ru(e,n){return n=+n,function(){const t=_0xa8e1;i0(this,e)[t(405)]=n}}function Ju(e){const n=c;var t=this[n(2098)];return arguments[n(2062)]?this[n(916)]((typeof e=="function"?Zu:Ru)(t,e)):$e(this[n(1470)](),t)[n(405)]}function _u(e,n){const t=c;if(typeof n!==t(1200))throw new Error;return function(){const x=t;i0(this,e)[x(1543)]=n}}function Fu(e){const n=c;var t=this._id;return arguments[n(2062)]?this[n(916)](_u(t,e)):$e(this[n(1470)](),t)[n(1543)]}function Qu(e,n){return function(){var t=n.apply(this,arguments);if(typeof t!="function")throw new Error;i0(this,e).ease=t}}function $u(e){const n=c;if(typeof e!="function")throw new Error;return this[n(916)](Qu(this[n(2098)],e))}function ef(e){const n=c;typeof e!="function"&&(e=Nr(e));for(var t=this[n(1732)],x=t[n(2062)],o=new Array(x),r=0;r<x;++r)for(var i=t[r],a=i.length,d=o[r]=[],s,f=0;f<a;++f)(s=i[f])&&e[n(1225)](s,s[n(1159)],f,i)&&d[n(541)](s);return new l0(o,this[n(1655)],this[n(1047)],this[n(2098)])}function nf(e){const n=c;if(e._id!==this[n(2098)])throw new Error;for(var t=this[n(1732)],x=e[n(1732)],o=t.length,r=x.length,i=Math[n(880)](o,r),a=new Array(o),d=0;d<i;++d)for(var s=t[d],f=x[d],u=s.length,y=a[d]=new Array(u),h,w=0;w<u;++w)(h=s[w]||f[w])&&(y[w]=h);for(;d<o;++d)a[d]=t[d];return new l0(a,this[n(1655)],this._name,this[n(2098)])}function tf(e){const n=c;return(e+"")[n(562)]()[n(1296)](/^|\s+/)[n(1161)](function(t){const x=n;var o=t[x(1276)](".");return o>=0&&(t=t.slice(0,o)),!t||t===x(1679)})}function xf(e,n,t){var x,o,r=tf(n)?Tx:i0;return function(){const i=_0xa8e1;var a=r(this,e),d=a.on;d!==x&&(o=(x=d)[i(508)]()).on(n,t),a.on=o}}function of(e,n){const t=c;var x=this[t(2098)];return arguments.length<2?$e(this[t(1470)](),x).on.on(e):this.each(xf(x,e,n))}function rf(e){return function(){const n=_0xa8e1;var t=this[n(1141)];for(var x in this.__transition)if(+x!==e)return;t&&t[n(1929)](this)}}function af(){const e=c;return this.on(e(729),rf(this[e(2098)]))}function cf(e){const n=c;var t=this._name,x=this[n(2098)];typeof e!==n(1200)&&(e=Dx(e));for(var o=this[n(1732)],r=o[n(2062)],i=new Array(r),a=0;a<r;++a)for(var d=o[a],s=d[n(2062)],f=i[a]=new Array(s),u,y,h=0;h<s;++h)(u=d[h])&&(y=e.call(u,u[n(1159)],h,d))&&(n(1159)in u&&(y[n(1159)]=u[n(1159)]),f[h]=y,St(f[h],t,x,h,f,$e(u,x)));return new l0(i,this[n(1655)],t,x)}function sf(e){const n=c;var t=this[n(1047)],x=this[n(2098)];typeof e!==n(1200)&&(e=Lr(e));for(var o=this[n(1732)],r=o[n(2062)],i=[],a=[],d=0;d<r;++d)for(var s=o[d],f=s.length,u,y=0;y<f;++y)if(u=s[y]){for(var h=e[n(1225)](u,u[n(1159)],y,s),w,g=$e(u,x),p=0,b=h.length;p<b;++p)(w=h[p])&&St(w,t,x,p,h,g);i[n(541)](h),a.push(u)}return new l0(i,a,t,x)}var lf=Nn.prototype[c(1445)];function df(){const e=c;return new lf(this[e(1732)],this._parents)}function uf(e,n){var t,x,o;return function(){const r=_0xa8e1;var i=tn(this,e),a=(this[r(752)][r(1084)](e),tn(this,e));return i===a?null:i===t&&a===x?o:o=n(t=i,x=a)}}function ui(e){return function(){this[_0xa8e1(752)].removeProperty(e)}}function ff(e,n,t){var x,o=t+"",r;return function(){var i=tn(this,e);return i===o?null:i===x?r:r=n(x=i,t)}}function hf(e,n,t){var x,o,r;return function(){const i=_0xa8e1;var a=tn(this,e),d=t(this),s=d+"";return d==null&&(s=d=(this.style[i(1084)](e),tn(this,e))),a===s?null:a===x&&s===o?r:(o=s,r=n(x=a,d))}}function gf(e,n){const t=c;var x,o,r,i="style."+n,a=t(2027)+i,d;return function(){const s=t;var f=i0(this,e),u=f.on,y=f[s(1989)][i]==null?d||(d=ui(n)):void 0;(u!==x||r!==y)&&(o=(x=u)[s(508)]()).on(a,r=y),f.on=o}}function yf(e,n,t){const x=c;var o=(e+="")===x(1558)?yu:di;return n==null?this[x(794)](e,uf(e,o)).on(x(537)+e,ui(e)):typeof n===x(1200)?this[x(794)](e,hf(e,o,Vx(this,x(1453)+e,n)))[x(916)](gf(this[x(2098)],e)):this[x(794)](e,ff(e,o,n),t).on(x(537)+e,null)}function mf(e,n,t){return function(x){const o=_0xa8e1;this[o(752)].setProperty(e,n[o(1225)](this,x),t)}}function wf(e,n,t){const x=c;var o,r;function i(){var d=n[_0xa8e1(816)](this,arguments);return d!==r&&(o=(r=d)&&mf(e,d,t)),o}return i[x(561)]=n,i}function vf(e,n,t){const x=c;var o=x(1453)+(e+="");if(arguments[x(2062)]<2)return(o=this[x(1344)](o))&&o[x(561)];if(n==null)return this[x(1344)](o,null);if(typeof n!==x(1200))throw new Error;return this[x(1344)](o,wf(e,n,t??""))}function pf(e){return function(){this.textContent=e}}function bf(e){return function(){const n=_0xa8e1;var t=e(this);this[n(1931)]=t??""}}function zf(e){const n=c;return this.tween("text",typeof e===n(1200)?bf(Vx(this,n(1525),e)):pf(e==null?"":e+""))}function Cf(e){return function(n){this.textContent=e.call(this,n)}}function Mf(e){const n=c;var t,x;function o(){var i=e[_0xa8e1(816)](this,arguments);return i!==x&&(t=(x=i)&&Cf(i)),t}return o[n(561)]=e,o}function Bf(e){const n=c;var t=n(1525);if(arguments[n(2062)]<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!==n(1200))throw new Error;return this[n(1344)](t,Mf(e))}function Df(){const e=c;for(var n=this._name,t=this[e(2098)],x=fi(),o=this[e(1732)],r=o[e(2062)],i=0;i<r;++i)for(var a=o[i],d=a[e(2062)],s,f=0;f<d;++f)if(s=a[f]){var u=$e(s,t);St(s,n,x,f,a,{time:u[e(642)]+u.delay+u[e(405)],delay:0,duration:u[e(405)],ease:u[e(1543)]})}return new l0(o,this[e(1655)],n,x)}function Lf(){const e=c;var n,t,x=this,o=x[e(2098)],r=x[e(547)]();return new Promise(function(i,a){var d={value:a},s={value:function(){--r===0&&i()}};x.each(function(){const f=_0xa8e1;var u=i0(this,o),y=u.on;y!==n&&(t=(n=y)[f(508)](),t._[f(1898)].push(d),t._.interrupt.push(d),t._[f(592)][f(541)](s)),u.on=t}),r===0&&i()})}var Nf=0;function l0(e,n,t,x){const o=c;this[o(1732)]=e,this._parents=n,this[o(1047)]=t,this[o(2098)]=x}function fi(){return++Nf}var d0=Nn[c(578)];l0[c(578)]={constructor:l0,select:cf,selectAll:sf,selectChild:d0[c(929)],selectChildren:d0[c(1987)],filter:ef,merge:nf,selection:df,transition:Df,call:d0[c(1225)],nodes:d0[c(2159)],node:d0[c(1470)],size:d0[c(547)],empty:d0.empty,each:d0[c(916)],on:of,attr:Ou,attrTween:qu,style:yf,styleTween:vf,text:zf,textTween:Bf,remove:af,tween:Pu,delay:Ku,duration:Ju,ease:Fu,easeVarying:$u,end:Lf,[Symbol[c(533)]]:d0[Symbol.iterator]};function Sf(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var kf={time:null,delay:0,duration:250,ease:Sf};function Pf(e,n){const t=c;for(var x;!(x=e[t(1617)])||!(x=x[n]);)if(!(e=e[t(1141)]))throw new Error("transition "+n+t(462));return x}function If(e){const n=c;var t,x;e instanceof l0?(t=e[n(2098)],e=e[n(1047)]):(t=fi(),(x=kf)[n(642)]=Ux(),e=e==null?null:e+"");for(var o=this[n(1732)],r=o[n(2062)],i=0;i<r;++i)for(var a=o[i],d=a[n(2062)],s,f=0;f<d;++f)(s=a[f])&&St(s,e,t,f,a,x||Pf(s,t));return new l0(o,this[n(1655)],e,t)}Nn[c(578)][c(817)]=Nu,Nn[c(578)].transition=If;const Pt=e=>()=>e;function jf(e,{sourceEvent:n,target:t,transform:x,dispatch:o}){Object[c(1266)](this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:o}})}function u0(e,n,t){this.k=e,this.x=n,this.y=t}u0.prototype={constructor:u0,scale:function(e){return e===1?this:new u0(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new u0(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){const n=c;return e[n(508)]()[n(1067)](e[n(1737)]()[n(1008)](this[n(2141)],this)[n(1008)](e[n(1571)],e))},rescaleY:function(e){const n=c;return e[n(508)]()[n(1067)](e[n(1737)]()[n(1008)](this[n(812)],this)[n(1008)](e[n(1571)],e))},toString:function(){const e=c;return e(549)+this.x+","+this.y+e(829)+this.k+")"}};var It=new u0(1,0,0);hi[c(578)]=u0[c(578)];function hi(e){const n=c;for(;!e.__zoom;)if(!(e=e[n(1141)]))return It;return e[n(1401)]}function qx(e){e.stopImmediatePropagation()}function On(e){const n=c;e[n(2106)](),e[n(1790)]()}function Af(e){const n=c;return(!e[n(1701)]||e.type===n(716))&&!e[n(1295)]}function Ef(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(660)]||n,n[e(489)](e(1576))?(n=n[e(1576)][e(621)],[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width[e(621)][e(1989)],n[e(1945)][e(621)].value]]):[[0,0],[n.clientWidth,n[e(740)]]]}function gi(){return this[c(1401)]||It}function Yf(e){const n=c;return-e[n(1155)]*(e[n(670)]===1?.05:e[n(670)]?1:.002)*(e.ctrlKey?10:1)}function Uf(){const e=c;return navigator.maxTouchPoints||e(409)in this}function Of(e,n,t){const x=c;var o=e[x(2141)](n[0][0])-t[0][0],r=e[x(2141)](n[1][0])-t[1][0],i=e.invertY(n[0][1])-t[0][1],a=e[x(812)](n[1][1])-t[1][1];return e[x(1472)](r>o?(o+r)/2:Math[x(880)](0,o)||Math[x(1121)](0,r),a>i?(i+a)/2:Math[x(880)](0,i)||Math[x(1121)](0,a))}function yi(){const e=c;var n=Af,t=Ef,x=Of,o=Yf,r=Uf,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],d=250,s=zt,f=dt(e(1679),e(1068),"end"),u,y,h,w=500,g=150,p=0,b=10;function z(N){const L=e;N[L(1746)](L(1401),gi).on("wheel.zoom",O,{passive:!1}).on(L(1689),U).on(L(680),F)[L(1928)](r).on(L(1686),X).on("touchmove.zoom",W).on("touchend.zoom touchcancel.zoom",T)[L(752)]("-webkit-tap-highlight-color","rgba(0,0,0,0)")}z.transform=function(N,L,B,A){const P=e;var j=N[P(1497)]?N[P(1497)]():N;j[P(1746)](P(1401),gi),N!==j?I(N,L,B,A):j.interrupt().each(function(){const Z=P;E(this,arguments)[Z(1547)](A).start()[Z(1068)](null,typeof L===Z(1200)?L.apply(this,arguments):L)[Z(592)]()})},z.scaleBy=function(N,L,B,A){const P=e;z[P(1937)](N,function(){const j=P;var Z=this[j(1401)].k,R=typeof L===j(1200)?L.apply(this,arguments):L;return Z*R},B,A)},z[e(1937)]=function(N,L,B,A){const P=e;z[P(1558)](N,function(){const j=P;var Z=t[j(816)](this,arguments),R=this[j(1401)],_=B==null?M(Z):typeof B===j(1200)?B[j(816)](this,arguments):B,Q=R[j(1571)](_),te=typeof L=="function"?L[j(816)](this,arguments):L;return x(v(m(R,te),_,Q),Z,a)},B,A)},z[e(1358)]=function(N,L,B,A){z.transform(N,function(){const P=_0xa8e1;return x(this[P(1401)][P(1472)](typeof L===P(1200)?L[P(816)](this,arguments):L,typeof B===P(1200)?B[P(816)](this,arguments):B),t[P(816)](this,arguments),a)},null,A)},z[e(1514)]=function(N,L,B,A,P){const j=e;z[j(1558)](N,function(){const Z=j;var R=t.apply(this,arguments),_=this[Z(1401)],Q=A==null?M(R):typeof A=="function"?A.apply(this,arguments):A;return x(It[Z(1472)](Q[0],Q[1])[Z(872)](_.k).translate(typeof L===Z(1200)?-L[Z(816)](this,arguments):-L,typeof B=="function"?-B[Z(816)](this,arguments):-B),R,a)},A,P)};function m(N,L){const B=e;return L=Math[B(1121)](i[0],Math[B(880)](i[1],L)),L===N.k?N:new u0(L,N.x,N.y)}function v(N,L,B){var A=L[0]-B[0]*N.k,P=L[1]-B[1]*N.k;return A===N.x&&P===N.y?N:new u0(N.k,A,P)}function M(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function I(N,L,B,A){const P=e;N.on("start.zoom",function(){E(this,arguments).event(A).start()}).on(P(1545),function(){const j=P;E(this,arguments)[j(1547)](A).end()}).tween(P(1068),function(){const j=P;var Z=this,R=arguments,_=E(Z,R).event(A),Q=t[j(816)](Z,R),te=B==null?M(Q):typeof B===j(1200)?B[j(816)](Z,R):B,ce=Math.max(Q[1][0]-Q[0][0],Q[1][1]-Q[0][1]),$=Z[j(1401)],se=typeof L=="function"?L[j(816)](Z,R):L,xe=s($.invert(te)[j(1147)](ce/$.k),se.invert(te)[j(1147)](ce/se.k));return function(oe){if(oe===1)oe=se;else{var ie=xe(oe),k=ce/ie[2];oe=new u0(k,te[0]-ie[0]*k,te[1]-ie[1]*k)}_.zoom(null,oe)}})}function E(N,L,B){return!B&&N.__zooming||new G(N,L)}function G(N,L){const B=e;this[B(1160)]=N,this[B(1102)]=L,this.active=0,this[B(2076)]=null,this.extent=t[B(816)](N,L),this[B(1567)]=0}G[e(578)]={event:function(N){return N&&(this.sourceEvent=N),this},start:function(){const N=e;return++this[N(778)]===1&&(this.that[N(1740)]=this,this.emit("start")),this},zoom:function(N,L){const B=e;return this[B(1579)]&&N!==B(1579)&&(this[B(1579)][1]=L.invert(this.mouse[0])),this[B(1752)]&&N!==B(756)&&(this[B(1752)][1]=L[B(1571)](this.touch0[0])),this[B(682)]&&N!==B(756)&&(this.touch1[1]=L.invert(this[B(682)][0])),this[B(1160)][B(1401)]=L,this[B(1662)](B(1068)),this},end:function(){const N=e;return--this[N(778)]===0&&(delete this[N(1160)][N(1740)],this[N(1662)]("end")),this},emit:function(N){const L=e;var B=Xe(this[L(1160)])[L(1192)]();f[L(1225)](N,this[L(1160)],new jf(N,{sourceEvent:this[L(2076)],target:z,transform:this.that[L(1401)],dispatch:f}),B)}};function O(N,...L){const B=e;if(!n[B(816)](this,arguments))return;var A=E(this,L)[B(1547)](N),P=this[B(1401)],j=Math[B(1121)](i[0],Math.min(i[1],P.k*Math.pow(2,o.apply(this,arguments)))),Z=Fe(N);if(A.wheel)(A[B(1579)][0][0]!==Z[0]||A[B(1579)][0][1]!==Z[1])&&(A[B(1579)][1]=P[B(1571)](A[B(1579)][0]=Z)),clearTimeout(A.wheel);else{if(P.k===j)return;A[B(1579)]=[Z,P[B(1571)](Z)],kt(this),A[B(1679)]()}On(N),A[B(716)]=setTimeout(R,g),A[B(1068)](B(1579),x(v(m(P,j),A[B(1579)][0],A[B(1579)][1]),A[B(1887)],a));function R(){const _=B;A[_(716)]=null,A[_(592)]()}}function U(N,...L){const B=e;if(h||!n[B(816)](this,arguments))return;var A=N[B(1179)],P=E(this,L,!0)[B(1547)](N),j=Xe(N[B(1922)]).on(B(510),Q,!0).on(B(1772),te,!0),Z=Fe(N,A),R=N[B(1403)],_=N[B(1477)];Or(N.view),qx(N),P[B(1579)]=[Z,this[B(1401)].invert(Z)],kt(this),P[B(1679)]();function Q(ce){const $=B;if(On(ce),!P[$(1879)]){var se=ce[$(1403)]-R,xe=ce[$(1477)]-_;P[$(1879)]=se*se+xe*xe>p}P[$(1547)](ce)[$(1068)]($(1579),x(v(P.that.__zoom,P[$(1579)][0]=Fe(ce,A),P[$(1579)][1]),P[$(1887)],a))}function te(ce){const $=B;j.on("mousemove.zoom mouseup.zoom",null),Gr(ce[$(1922)],P[$(1879)]),On(ce),P[$(1547)](ce)[$(592)]()}}function F(N,...L){const B=e;if(n[B(816)](this,arguments)){var A=this.__zoom,P=Fe(N.changedTouches?N[B(1616)][0]:N,this),j=A.invert(P),Z=A.k*(N[B(953)]?.5:2),R=x(v(m(A,Z),P,j),t[B(816)](this,L),a);On(N),d>0?Xe(this)[B(1261)]()[B(405)](d)[B(1225)](I,R,P,N):Xe(this)[B(1225)](z.transform,R,P,N)}}function X(N,...L){const B=e;if(n.apply(this,arguments)){var A=N[B(1357)],P=A[B(2062)],j=E(this,L,N[B(1616)][B(2062)]===P)[B(1547)](N),Z,R,_,Q;for(qx(N),R=0;R<P;++R)_=A[R],Q=Fe(_,this),Q=[Q,this[B(1401)][B(1571)](Q),_[B(528)]],j[B(1752)]?!j.touch1&&j[B(1752)][2]!==Q[2]&&(j[B(682)]=Q,j.taps=0):(j[B(1752)]=Q,Z=!0,j[B(1567)]=1+!!u);u&&(u=clearTimeout(u)),Z&&(j[B(1567)]<2&&(y=Q[0],u=setTimeout(function(){u=null},w)),kt(this),j[B(1679)]())}}function W(N,...L){const B=e;if(this[B(1740)]){var A=E(this,L).event(N),P=N[B(1616)],j=P[B(2062)],Z,R,_,Q;for(On(N),Z=0;Z<j;++Z)R=P[Z],_=Fe(R,this),A[B(1752)]&&A[B(1752)][2]===R[B(528)]?A.touch0[0]=_:A.touch1&&A[B(682)][2]===R[B(528)]&&(A[B(682)][0]=_);if(R=A[B(1160)].__zoom,A.touch1){var te=A[B(1752)][0],ce=A.touch0[1],$=A[B(682)][0],se=A.touch1[1],xe=(xe=$[0]-te[0])*xe+(xe=$[1]-te[1])*xe,oe=(oe=se[0]-ce[0])*oe+(oe=se[1]-ce[1])*oe;R=m(R,Math[B(1692)](xe/oe)),_=[(te[0]+$[0])/2,(te[1]+$[1])/2],Q=[(ce[0]+se[0])/2,(ce[1]+se[1])/2]}else if(A[B(1752)])_=A[B(1752)][0],Q=A.touch0[1];else return;A[B(1068)](B(756),x(v(R,_,Q),A[B(1887)],a))}}function T(N,...L){const B=e;if(this[B(1740)]){var A=E(this,L)[B(1547)](N),P=N[B(1616)],j=P[B(2062)],Z,R;for(qx(N),h&&clearTimeout(h),h=setTimeout(function(){h=null},w),Z=0;Z<j;++Z)R=P[Z],A[B(1752)]&&A.touch0[2]===R[B(528)]?delete A[B(1752)]:A[B(682)]&&A[B(682)][2]===R[B(528)]&&delete A[B(682)];if(A[B(682)]&&!A[B(1752)]&&(A[B(1752)]=A[B(682)],delete A.touch1),A[B(1752)])A[B(1752)][1]=this[B(1401)][B(1571)](A[B(1752)][0]);else if(A[B(592)](),A[B(1567)]===2&&(R=Fe(R,this),Math[B(2114)](y[0]-R[0],y[1]-R[1])<b)){var _=Xe(this).on("dblclick.zoom");_&&_[B(816)](this,arguments)}}}return z.wheelDelta=function(N){return arguments[e(2062)]?(o=typeof N=="function"?N:Pt(+N),z):o},z[e(1928)]=function(N){const L=e;return arguments[L(2062)]?(n=typeof N===L(1200)?N:Pt(!!N),z):n},z[e(1760)]=function(N){const L=e;return arguments[L(2062)]?(r=typeof N===L(1200)?N:Pt(!!N),z):r},z[e(1887)]=function(N){const L=e;return arguments.length?(t=typeof N===L(1200)?N:Pt([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),z):t},z[e(1090)]=function(N){return arguments[e(2062)]?(i[0]=+N[0],i[1]=+N[1],z):[i[0],i[1]]},z[e(2030)]=function(N){return arguments[e(2062)]?(a[0][0]=+N[0][0],a[1][0]=+N[1][0],a[0][1]=+N[0][1],a[1][1]=+N[1][1],z):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},z.constrain=function(N){return arguments[e(2062)]?(x=N,z):x},z.duration=function(N){return arguments[e(2062)]?(d=+N,z):d},z.interpolate=function(N){return arguments[e(2062)]?(s=N,z):s},z.on=function(){const N=e;var L=f.on[N(816)](f,arguments);return L===f?z:L},z[e(867)]=function(N){const L=e;return arguments[L(2062)]?(p=(N=+N)*N,z):Math[L(1692)](p)},z.tapDistance=function(N){return arguments[e(2062)]?(b=+N,z):b},z}const Ke={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>c(1672)+e+c(1495),error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>c(899),error006:()=>c(1946),error007:e=>c(1831)+e+c(666),error009:e=>c(1704)+e+c(1551),error008:(e,{id:n,sourceHandle:t,targetHandle:x})=>c(801)+e+c(1591)+(e===c(1413)?t:x)+c(1014)+n+".",error010:()=>c(1111),error011:e=>c(1196)+e+c(1495),error012:e=>c(780)+e+c(613),error013:(e=c(1096))=>c(1465)+e+"/dist/style.css' or base.css to make sure everything is working properly.",error014:()=>c(864),error015:()=>c(1461)},Gn=[[Number[c(2082)],Number.NEGATIVE_INFINITY],[Number[c(774)],Number[c(774)]]],mi=[c(525)," ",c(1959)],wi={"node.a11yDescription.default":c(1123),"node.a11yDescription.keyboardDisabled":c(1075),"node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(1087)+e+c(546)+n+", y: "+t,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":c(704),"controls.interactive.ariaLabel":c(1663),"minimap.ariaLabel":"Mini Map","handle.ariaLabel":c(540)};var an;(function(e){const n=c;e[n(1352)]="strict",e[n(1006)]=n(1507)})(an||(an={}));var U0;(function(e){const n=c;e[n(1490)]=n(2079),e.Vertical="vertical",e.Horizontal="horizontal"})(U0||(U0={}));var Hn;(function(e){const n=c;e[n(1171)]=n(2059),e[n(912)]=n(535)})(Hn||(Hn={}));const vi={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var b0;(function(e){const n=c;e[n(1158)]=n(1170),e[n(1210)]=n(1025),e.Step=n(628),e[n(771)]="smoothstep",e[n(1388)]="simplebezier"})(b0||(b0={}));var jt;(function(e){const n=c;e.Arrow=n(1013),e[n(2066)]=n(1073)})(jt||(jt={}));var ue;(function(e){const n=c;e[n(1493)]=n(1044),e.Top=n(1813),e.Right=n(2049),e[n(569)]=n(1227)})(ue||(ue={}));const pi={[ue[c(1493)]]:ue[c(810)],[ue[c(810)]]:ue[c(1493)],[ue.Top]:ue[c(569)],[ue[c(569)]]:ue.Top};function bi(e){const n=c;return e===null?null:n(e?1175:493)}const zi=e=>"id"in e&&c(1413)in e&&"target"in e,Gf=e=>"id"in e&&c(1781)in e&&!(c(1413)in e)&&!(c(854)in e),Wx=e=>"id"in e&&c(739)in e&&!(c(1413)in e)&&!("target"in e),Tn=(e,n=[0,0])=>{const t=c,{width:x,height:o}=f0(e),r=e[t(1700)]??n,i=x*r[0],a=o*r[1];return{x:e[t(1781)].x-i,y:e[t(1781)].y-a}},Hf=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(667)&&!n[t(700)]&&console.warn("Please use `getNodesBounds` from `useReactFlow`/`useSvelteFlow` hook to ensure correct values for sub flows. If not possible, you have to provide a nodeLookup to support sub flows."),e[t(2062)]===0)return{x:0,y:0,width:0,height:0};const x=e[t(1745)]((o,r)=>{const i=t,a=typeof r===i(891);let d=!n[i(700)]&&!a?r:void 0;n.nodeLookup&&(d=a?n[i(700)].get(r):Wx(r)?r:n.nodeLookup.get(r.id));const s=d?Yt(d,n[i(915)]):{x:0,y:0,x2:0,y2:0};return At(o,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Et(x)},Vn=(e,n={})=>{let t={x:1/0,y:1/0,x2:-1/0,y2:-1/0},x=!1;return e.forEach(o=>{const r=_0xa8e1;(n[r(1928)]===void 0||n[r(1928)](o))&&(t=At(t,Yt(o)),x=!0)}),x?Et(t):{x:0,y:0,width:0,height:0}},Xx=(e,n,[t,x,o]=[0,0,1],r=!1,i=!1)=>{const a=c,d={...Xn(n,[t,x,o]),width:n[a(1088)]/o,height:n[a(1945)]/o},s=[];for(const f of e.values()){const{measured:u,selectable:y=!0,hidden:h=!1}=f;if(i&&!y||h)continue;const w=u.width??f[a(1088)]??f[a(1381)]??null,g=u.height??f.height??f.initialHeight??null,p=qn(d,sn(f)),b=(w??0)*(g??0),z=r&&p>0;(!f[a(739)][a(1169)]||z||p>=b||f[a(1396)])&&s[a(541)](f)}return s},Tf=(e,n)=>{const t=c,x=new Set;return e.forEach(o=>{x.add(o.id)}),n[t(1928)](o=>x[t(1071)](o[t(1413)])||x[t(1071)](o.target))};function Vf(e,n){const t=c,x=new Map,o=n?.nodes?new Set(n[t(2159)][t(1008)](r=>r.id)):null;return e[t(1575)](r=>{const i=t;r.measured[i(1088)]&&r[i(974)][i(1945)]&&(n?.[i(1408)]||!r[i(1409)])&&(!o||o[i(1071)](r.id))&&x[i(674)](r.id,r)}),x}async function qf({nodes:e,width:n,height:t,panZoom:x,minZoom:o,maxZoom:r},i){const a=c;if(e[a(547)]===0)return Promise[a(777)](!0);const d=Vf(e,i),s=Vn(d),f=Zx(s,n,t,i?.[a(1458)]??o,i?.[a(1899)]??r,i?.[a(813)]??.1);return await x[a(961)](f,{duration:i?.[a(405)],ease:i?.[a(1543)],interpolate:i?.[a(1452)]}),Promise[a(777)](!0)}function Ci({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:x=[0,0],nodeExtent:o,onError:r}){const i=c,a=t.get(e),d=a.parentId?t[i(834)](a[i(611)]):void 0,{x:s,y:f}=d?d[i(739)][i(1523)]:{x:0,y:0},u=a[i(1700)]??x;let y=a[i(1887)]||o;if(a.extent===i(1733)&&!a[i(1747)])if(!d)r?.(i(1866),Ke[i(612)]());else{const w=d[i(974)].width,g=d[i(974)].height;w&&g&&(y=[[s,f],[s+w,f+g]])}else d&&dn(a[i(1887)])&&(y=[[a[i(1887)][0][0]+s,a[i(1887)][0][1]+f],[a.extent[1][0]+s,a[i(1887)][1][1]+f]]);const h=dn(y)?O0(n,y,a[i(974)]):n;return(a[i(974)][i(1088)]===void 0||a[i(974)][i(1945)]===void 0)&&r?.(i(963),Ke[i(556)]()),{position:{x:h.x-s+(a.measured[i(1088)]??0)*u[0],y:h.y-f+(a.measured[i(1945)]??0)*u[1]},positionAbsolute:h}}async function Wf({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:x,onBeforeDelete:o}){const r=c,i=new Set(e[r(1008)](h=>h.id)),a=[];for(const h of t){if(h[r(949)]===!1)continue;const w=i[r(1071)](h.id),g=!w&&h.parentId&&a[r(583)](p=>p.id===h[r(611)]);(w||g)&&a[r(541)](h)}const d=new Set(n[r(1008)](h=>h.id)),s=x[r(1928)](h=>h.deletable!==!1),f=Tf(a,s),u=f;for(const h of s)d[r(1071)](h.id)&&!u[r(583)](g=>g.id===h.id)&&u[r(541)](h);if(!o)return{edges:u,nodes:a};const y=await o({nodes:a,edges:u});return typeof y===r(1385)?y?{edges:u,nodes:a}:{edges:[],nodes:[]}:y}const cn=(e,n=0,t=1)=>Math[c(880)](Math[c(1121)](e,n),t),O0=(e={x:0,y:0},n,t)=>({x:cn(e.x,n[0][0],n[1][0]-(t?.[c(1088)]??0)),y:cn(e.y,n[0][1],n[1][1]-(t?.[c(1945)]??0))});function Mi(e,n,t){const x=c,{width:o,height:r}=f0(t),{x:i,y:a}=t.internals[x(1523)];return O0(e,[[i,a],[i+o,a+r]],n)}const Bi=(e,n,t)=>{const x=c;return e<n?cn(Math[x(1787)](e-n),1,n)/n:e>t?-cn(Math[x(1787)](e-t),1,n)/n:0},Di=(e,n,t=15,x=40)=>{const o=c,r=Bi(e.x,x,n[o(1088)]-x)*t,i=Bi(e.y,x,n.height-x)*t;return[r,i]},At=(e,n)=>({x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),x2:Math[c(1121)](e.x2,n.x2),y2:Math[c(1121)](e.y2,n.y2)}),Kx=({x:e,y:n,width:t,height:x})=>({x:e,y:n,x2:e+t,y2:n+x}),Et=({x:e,y:n,x2:t,y2:x})=>({x:e,y:n,width:t-e,height:x-n}),sn=(e,n=[0,0])=>{const t=c,{x,y:o}=Wx(e)?e[t(739)][t(1523)]:Tn(e,n);return{x,y:o,width:e[t(974)]?.[t(1088)]??e[t(1088)]??e[t(1381)]??0,height:e[t(974)]?.[t(1945)]??e.height??e[t(870)]??0}},Yt=(e,n=[0,0])=>{const t=c,{x,y:o}=Wx(e)?e.internals[t(1523)]:Tn(e,n);return{x,y:o,x2:x+(e.measured?.width??e[t(1088)]??e[t(1381)]??0),y2:o+(e[t(974)]?.[t(1945)]??e[t(1945)]??e.initialHeight??0)}},Li=(e,n)=>Et(At(Kx(e),Kx(n))),qn=(e,n)=>{const t=c,x=Math[t(1121)](0,Math.min(e.x+e[t(1088)],n.x+n.width)-Math.max(e.x,n.x)),o=Math[t(1121)](0,Math[t(880)](e.y+e[t(1945)],n.y+n[t(1945)])-Math[t(1121)](e.y,n.y));return Math.ceil(x*o)},Ni=e=>e0(e.width)&&e0(e[c(1945)])&&e0(e.x)&&e0(e.y),e0=e=>!isNaN(e)&&isFinite(e),Si=(e,n)=>{const t=c;process.env.NODE_ENV===t(667)&&console.warn(t(1942)+n+t(593)+e)},Wn=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math.round(e.x/n[0]),y:n[1]*Math[t(814)](e.y/n[1])}},Xn=({x:e,y:n},[t,x,o],r=!1,i=[1,1])=>{const a={x:(e-t)/o,y:(n-x)/o};return r?Wn(a,i):a},Ut=({x:e,y:n},[t,x,o])=>({x:e*o+t,y:n*o+x});function ln(e,n){const t=c;if(typeof e=="number")return Math[t(1031)]((n-n/(1+e))*.5);if(typeof e===t(891)&&e[t(1282)]("px")){const x=parseFloat(e);if(!Number[t(1494)](x))return Math[t(1031)](x)}if(typeof e===t(891)&&e[t(1282)]("%")){const x=parseFloat(e);if(!Number.isNaN(x))return Math[t(1031)](n*x*.01)}return console.error(t(1592)+e+'" is invalid. Please provide a number or a string with a valid unit (px or %).'),0}function Xf(e,n,t){const x=c;if(typeof e===x(891)||typeof e===x(710)){const o=ln(e,t),r=ln(e,n);return{top:o,right:r,bottom:o,left:r,x:r*2,y:o*2}}if(typeof e=="object"){const o=ln(e[x(1813)]??e.y??0,t),r=ln(e[x(1227)]??e.y??0,t),i=ln(e[x(1044)]??e.x??0,n),a=ln(e[x(2049)]??e.x??0,n);return{top:o,right:a,bottom:r,left:i,x:i+a,y:o+r}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function Kf(e,n,t,x,o,r){const i=c,{x:a,y:d}=Ut(e,[n,t,x]),{x:s,y:f}=Ut({x:e.x+e[i(1088)],y:e.y+e[i(1945)]},[n,t,x]),u=o-s,y=r-f;return{left:Math.floor(a),top:Math[i(1031)](d),right:Math[i(1031)](u),bottom:Math.floor(y)}}const Zx=(e,n,t,x,o,r)=>{const i=c,a=Xf(r,n,t),d=(n-a.x)/e[i(1088)],s=(t-a.y)/e[i(1945)],f=Math.min(d,s),u=cn(f,x,o),y=e.x+e[i(1088)]/2,h=e.y+e[i(1945)]/2,w=n/2-y*u,g=t/2-h*u,p=Kf(e,w,g,u,n,t),b={left:Math.min(p.left-a[i(1044)],0),top:Math.min(p.top-a[i(1813)],0),right:Math.min(p[i(2049)]-a[i(2049)],0),bottom:Math[i(880)](p[i(1227)]-a[i(1227)],0)};return{x:w-b[i(1044)]+b[i(2049)],y:g-b[i(1813)]+b[i(1227)],zoom:u}},Kn=()=>typeof navigator<"u"&&navigator?.[c(957)]?.[c(1276)]("Mac")>=0;function dn(e){return e!=null&&e!=="parent"}function f0(e){const n=c;return{width:e[n(974)]?.width??e[n(1088)]??e[n(1381)]??0,height:e[n(974)]?.height??e[n(1945)]??e[n(870)]??0}}function ki(e){const n=c;return(e[n(974)]?.[n(1088)]??e[n(1088)]??e[n(1381)])!==void 0&&(e.measured?.[n(1945)]??e.height??e[n(870)])!==void 0}function Pi(e,n={width:0,height:0},t,x,o){const r=c,i={...e},a=x.get(t);if(a){const d=a[r(1700)]||o;i.x+=a[r(739)].positionAbsolute.x-(n.width??0)*d[0],i.y+=a.internals[r(1523)].y-(n.height??0)*d[1]}return i}function Ii(e,n){const t=c;if(e.size!==n[t(547)])return!1;for(const x of e)if(!n[t(1071)](x))return!1;return!0}function Zf(){let e,n;return{promise:new Promise((x,o)=>{e=x,n=o}),resolve:e,reject:n}}function Rf(e){return{...wi,...e||{}}}function Zn(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:x,containerBounds:o}){const r=c,{x:i,y:a}=n0(e),d=Xn({x:i-(o?.left??0),y:a-(o?.[r(1813)]??0)},x),{x:s,y:f}=t?Wn(d,n):d;return{xSnapped:s,ySnapped:f,...d}}const Rx=e=>({width:e[c(473)],height:e[c(1106)]}),ji=e=>e?.[c(1015)]?.()||window?.[c(1372)],Jf=[c(2170),c(1724),c(1267)];function Ai(e){const n=c,t=e[n(1107)]?.()?.[0]||e.target;return t?.[n(1720)]!==1?!1:Jf[n(545)](t[n(1488)])||t[n(489)](n(1894))||!!t.closest(".nokey")}const Ei=e=>c(1403)in e,n0=(e,n)=>{const t=c,x=Ei(e),o=x?e[t(1403)]:e.touches?.[0][t(1403)],r=x?e[t(1477)]:e.touches?.[0][t(1477)];return{x:o-(n?.[t(1044)]??0),y:r-(n?.[t(1813)]??0)}},Yi=(e,n,t,x,o)=>{const r=c,i=n[r(848)]("."+e);return!i||!i[r(2062)]?null:Array.from(i)[r(1008)](a=>{const d=r,s=a.getBoundingClientRect();return{id:a.getAttribute(d(990)),type:e,nodeId:o,position:a[d(1893)]("data-handlepos"),x:(s[d(1044)]-t[d(1044)])/x,y:(s[d(1813)]-t[d(1813)])/x,...Rx(a)}})};function Ui({sourceX:e,sourceY:n,targetX:t,targetY:x,sourceControlX:o,sourceControlY:r,targetControlX:i,targetControlY:a}){const d=c,s=e*.125+o*.375+i*.375+t*.125,f=n*.125+r*.375+a*.375+x*.125,u=Math[d(1787)](s-e),y=Math[d(1787)](f-n);return[s,f,u,y]}function Ot(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(1692)](-e)}function Oi({pos:e,x1:n,y1:t,x2:x,y2:o,c:r}){const i=c;switch(e){case ue[i(1493)]:return[n-Ot(n-x,r),t];case ue[i(810)]:return[n+Ot(x-n,r),t];case ue[i(482)]:return[n,t-Ot(t-o,r)];case ue[i(569)]:return[n,t+Ot(o-t,r)]}}function Gi({sourceX:e,sourceY:n,sourcePosition:t=ue[c(569)],targetX:x,targetY:o,targetPosition:r=ue.Top,curvature:i=.25}){const[a,d]=Oi({pos:t,x1:e,y1:n,x2:x,y2:o,c:i}),[s,f]=Oi({pos:r,x1:x,y1:o,x2:e,y2:n,c:i}),[u,y,h,w]=Ui({sourceX:e,sourceY:n,targetX:x,targetY:o,sourceControlX:a,sourceControlY:d,targetControlX:s,targetControlY:f});return["M"+e+","+n+" C"+a+","+d+" "+s+","+f+" "+x+","+o,u,y,h,w]}function Hi({sourceX:e,sourceY:n,targetX:t,targetY:x}){const o=c,r=Math[o(1787)](t-e)/2,i=t<e?t+r:t-r,a=Math[o(1787)](x-n)/2,d=x<n?x+a:x-a;return[i,d,r,a]}function _f({sourceNode:e,targetNode:n,selected:t=!1,zIndex:x=0,elevateOnSelect:o=!1,zIndexMode:r=c(2154)}){const i=c;if(r==="manual")return x;const a=o&&t?x+1e3:x,d=Math.max(e[i(611)]||o&&e[i(509)]?e[i(739)].z:0,n[i(611)]||o&&n[i(509)]?n[i(739)].z:0);return a+d}function Ff({sourceNode:e,targetNode:n,width:t,height:x,transform:o}){const r=At(Yt(e),Yt(n));r.x===r.x2&&(r.x2+=1),r.y===r.y2&&(r.y2+=1);const i={x:-o[0]/o[2],y:-o[1]/o[2],width:t/o[2],height:x/o[2]};return qn(i,Et(r))>0}const Qf=({source:e,sourceHandle:n,target:t,targetHandle:x})=>c(992)+e+(n||"")+"-"+t+(x||""),$f=(e,n)=>{const t=c;return n[t(1805)](x=>x[t(1413)]===e[t(1413)]&&x[t(854)]===e[t(854)]&&(x[t(1241)]===e[t(1241)]||!x[t(1241)]&&!e[t(1241)])&&(x[t(1580)]===e[t(1580)]||!x[t(1580)]&&!e[t(1580)]))},Ti=(e,n,t={})=>{const x=c;if(!e[x(1413)]||!e.target)return Si(x(2042),Ke[x(2152)]()),n;const o=t[x(1857)]||Qf;let r;return zi(e)?r={...e}:r={...e,id:o(e)},$f(r,n)?n:(r[x(1241)]===null&&delete r[x(1241)],r[x(1580)]===null&&delete r.targetHandle,n[x(1147)](r))};function Vi({sourceX:e,sourceY:n,targetX:t,targetY:x}){const[o,r,i,a]=Hi({sourceX:e,sourceY:n,targetX:t,targetY:x});return["M "+e+","+n+"L "+t+","+x,o,r,i,a]}const qi={[ue.Left]:{x:-1,y:0},[ue[c(810)]]:{x:1,y:0},[ue[c(482)]]:{x:0,y:-1},[ue[c(569)]]:{x:0,y:1}},e2=({source:e,sourcePosition:n=ue[c(569)],target:t})=>{const x=c;return n===ue[x(1493)]||n===ue[x(810)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},Wi=(e,n)=>Math[c(1692)](Math[c(2153)](n.x-e.x,2)+Math.pow(n.y-e.y,2));function n2({source:e,sourcePosition:n=ue[c(569)],target:t,targetPosition:x=ue[c(482)],center:o,offset:r,stepPosition:i}){const a=c,d=qi[n],s=qi[x],f={x:e.x+d.x*r,y:e.y+d.y*r},u={x:t.x+s.x*r,y:t.y+s.y*r},y=e2({source:f,sourcePosition:n,target:u}),h=y.x!==0?"x":"y",w=y[h];let g=[],p,b;const z={x:0,y:0},m={x:0,y:0},[,,v,M]=Hi({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(d[h]*s[h]===-1){h==="x"?(p=o.x??f.x+(u.x-f.x)*i,b=o.y??(f.y+u.y)/2):(p=o.x??(f.x+u.x)/2,b=o.y??f.y+(u.y-f.y)*i);const O=[{x:p,y:f.y},{x:p,y:u.y}],U=[{x:f.x,y:b},{x:u.x,y:b}];d[h]===w?g=h==="x"?O:U:g=h==="x"?U:O}else{const O=[{x:f.x,y:u.y}],U=[{x:u.x,y:f.y}];if(h==="x"?g=d.x===w?U:O:g=d.y===w?O:U,n===x){const N=Math[a(1787)](e[h]-t[h]);if(N<=r){const L=Math[a(880)](r-1,r-N);d[h]===w?z[h]=(f[h]>e[h]?-1:1)*L:m[h]=(u[h]>t[h]?-1:1)*L}}if(n!==x){const N=h==="x"?"y":"x",L=d[h]===s[N],B=f[N]>u[N],A=f[N]<u[N];(d[h]===1&&(!L&&B||L&&A)||d[h]!==1&&(!L&&A||L&&B))&&(g=h==="x"?O:U)}const F={x:f.x+z.x,y:f.y+z.y},X={x:u.x+m.x,y:u.y+m.y},W=Math.max(Math[a(1787)](F.x-g[0].x),Math[a(1787)](X.x-g[0].x)),T=Math[a(1121)](Math[a(1787)](F.y-g[0].y),Math[a(1787)](X.y-g[0].y));W>=T?(p=(F.x+X.x)/2,b=g[0].y):(p=g[0].x,b=(F.y+X.y)/2)}const I={x:f.x+z.x,y:f.y+z.y},E={x:u.x+m.x,y:u.y+m.y};return[[e,...I.x!==g[0].x||I.y!==g[0].y?[I]:[],...g,...E.x!==g[g[a(2062)]-1].x||E.y!==g[g[a(2062)]-1].y?[E]:[],t],p,b,v,M]}function t2(e,n,t,x){const o=Math.min(Wi(e,n)/2,Wi(n,t)/2,x),{x:r,y:i}=n;if(e.x===r&&r===t.x||e.y===i&&i===t.y)return"L"+r+" "+i;if(e.y===i){const s=e.x<t.x?-1:1,f=e.y<t.y?1:-1;return"L "+(r+o*s)+","+i+"Q "+r+","+i+" "+r+","+(i+o*f)}const a=e.x<t.x?1:-1,d=e.y<t.y?-1:1;return"L "+r+","+(i+o*d)+"Q "+r+","+i+" "+(r+o*a)+","+i}function Jx({sourceX:e,sourceY:n,sourcePosition:t=ue[c(569)],targetX:x,targetY:o,targetPosition:r=ue[c(482)],borderRadius:i=5,centerX:a,centerY:d,offset:s=20,stepPosition:f=.5}){const u=c,[y,h,w,g,p]=n2({source:{x:e,y:n},sourcePosition:t,target:{x,y:o},targetPosition:r,center:{x:a,y:d},offset:s,stepPosition:f});let b="M"+y[0].x+" "+y[0].y;for(let z=1;z<y.length-1;z++)b+=t2(y[z-1],y[z],y[z+1],i);return b+="L"+y[y.length-1].x+" "+y[y[u(2062)]-1].y,[b,h,w,g,p]}function Xi(e){const n=c;return e&&!!(e[n(739)][n(1169)]||e.handles?.[n(2062)])&&!!(e[n(974)].width||e[n(1088)]||e.initialWidth)}function x2(e){const n=c,{sourceNode:t,targetNode:x}=e;if(!Xi(t)||!Xi(x))return null;const o=t[n(739)].handleBounds||Ki(t[n(416)]),r=x[n(739)][n(1169)]||Ki(x.handles),i=Zi(o?.source??[],e[n(1241)]),a=Zi(e[n(1423)]===an[n(1352)]?r?.[n(854)]??[]:(r?.[n(854)]??[])[n(1147)](r?.source??[]),e.targetHandle);if(!i||!a)return e[n(886)]?.(n(783),Ke[n(1902)](n(i?854:1413),{id:e.id,sourceHandle:e[n(1241)],targetHandle:e[n(1580)]})),null;const d=i?.[n(1781)]||ue.Bottom,s=a?.[n(1781)]||ue.Top,f=G0(t,i,d),u=G0(x,a,s);return{sourceX:f.x,sourceY:f.y,targetX:u.x,targetY:u.y,sourcePosition:d,targetPosition:s}}function Ki(e){const n=c;if(!e)return null;const t=[],x=[];for(const o of e)o[n(1088)]=o[n(1088)]??1,o[n(1945)]=o.height??1,o[n(1721)]==="source"?t.push(o):o[n(1721)]===n(854)&&x[n(541)](o);return{source:t,target:x}}function G0(e,n,t=ue[c(1493)],x=!1){const o=c,r=(n?.x??0)+e.internals[o(1523)].x,i=(n?.y??0)+e[o(739)][o(1523)].y,{width:a,height:d}=n??f0(e);if(x)return{x:r+a/2,y:i+d/2};switch(n?.[o(1781)]??t){case ue[o(482)]:return{x:r+a/2,y:i};case ue[o(810)]:return{x:r+a,y:i+d/2};case ue[o(569)]:return{x:r+a/2,y:i+d};case ue[o(1493)]:return{x:r,y:i+d/2}}}function Zi(e,n){const t=c;return e&&(n?e[t(583)](x=>x.id===n):e[0])||null}function _x(e,n){const t=c;return e?typeof e===t(891)?e:""+(n?n+"__":"")+Object[t(785)](e)[t(2128)]()[t(1008)](o=>o+"="+e[o])[t(2171)]("&"):""}function o2(e,{id:n,defaultColor:t,defaultMarkerStart:x,defaultMarkerEnd:o}){const r=c,i=new Set;return e[r(1745)]((a,d)=>{const s=r;return[d[s(1939)]||x,d[s(573)]||o][s(1575)](f=>{const u=s;if(f&&typeof f=="object"){const y=_x(f,n);!i[u(1071)](y)&&(a[u(541)]({id:y,color:f[u(2185)]||t,...f}),i[u(1796)](y))}}),a},[]).sort((a,d)=>a.id[r(760)](d.id))}const Ri=1e3,r2=10,Fx={nodeOrigin:[0,0],nodeExtent:Gn,elevateNodesOnSelect:!0,zIndexMode:c(2154),defaults:{}},i2={...Fx,checkEquality:!0};function Qx(e,n){const t={...e};for(const x in n)n[x]!==void 0&&(t[x]=n[x]);return t}function a2(e,n,t){const x=c,o=Qx(Fx,t);for(const r of e[x(1328)]())if(r[x(611)])no(r,e,n,o);else{const i=Tn(r,o[x(915)]),a=dn(r[x(1887)])?r[x(1887)]:o[x(634)],d=O0(i,a,f0(r));r.internals[x(1523)]=d}}function c2(e,n){const t=c;if(!e[t(416)])return e.measured?n?.[t(739)][t(1169)]:void 0;const x=[],o=[];for(const r of e[t(416)]){const i={id:r.id,width:r.width??1,height:r[t(1945)]??1,nodeId:e.id,x:r.x,y:r.y,position:r.position,type:r[t(1721)]};r[t(1721)]==="source"?x[t(541)](i):r[t(1721)]===t(854)&&o.push(i)}return{source:x,target:o}}function $x(e){return e===c(1522)}function eo(e,n,t,x={}){const o=c,r=Qx(i2,x),i={i:0},a=new Map(n),d=r?.[o(1559)]&&!$x(r[o(1376)])?Ri:0;let s=e[o(2062)]>0,f=!1;n[o(1822)](),t[o(1822)]();for(const u of e){let y=a.get(u.id);if(r[o(615)]&&u===y?.[o(739)][o(2115)])n[o(674)](u.id,y);else{const h=Tn(u,r.nodeOrigin),w=dn(u.extent)?u.extent:r.nodeExtent,g=O0(h,w,f0(u));y={...r[o(749)],...u,measured:{width:u[o(974)]?.[o(1088)],height:u[o(974)]?.height},internals:{positionAbsolute:g,handleBounds:c2(u,y),z:Ji(u,d,r.zIndexMode),userNode:u}},n[o(674)](u.id,y)}(y.measured===void 0||y[o(974)][o(1088)]===void 0||y[o(974)][o(1945)]===void 0)&&!y[o(1409)]&&(s=!1),u[o(611)]&&no(y,n,t,x,i),f||=u[o(509)]??!1}return{nodesInitialized:s,hasSelectedNodes:f}}function s2(e,n){const t=c;if(!e.parentId)return;const x=n.get(e.parentId);x?x.set(e.id,e):n[t(674)](e.parentId,new Map([[e.id,e]]))}function no(e,n,t,x,o){const r=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:d,zIndexMode:s}=Qx(Fx,x),f=e.parentId,u=n[r(834)](f);if(!u){console[r(1166)](r(485)+f+" not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.");return}s2(e,t),o&&!u[r(611)]&&u.internals[r(1891)]===void 0&&s===r(1104)&&(u[r(739)][r(1891)]=++o.i,u[r(739)].z=u[r(739)].z+o.i*r2),o&&u[r(739)][r(1891)]!==void 0&&(o.i=u.internals[r(1891)]);const y=i&&!$x(s)?Ri:0,{x:h,y:w,z:g}=l2(e,u,a,d,y,s),{positionAbsolute:p}=e.internals,b=h!==p.x||w!==p.y;(b||g!==e[r(739)].z)&&n[r(674)](e.id,{...e,internals:{...e[r(739)],positionAbsolute:b?{x:h,y:w}:p,z:g}})}function Ji(e,n,t){const x=c,o=e0(e[x(1383)])?e[x(1383)]:0;return $x(t)?o:o+(e[x(509)]?n:0)}function l2(e,n,t,x,o,r){const i=c,{x:a,y:d}=n[i(739)][i(1523)],s=f0(e),f=Tn(e,t),u=dn(e[i(1887)])?O0(f,e[i(1887)],s):f;let y=O0({x:a+u.x,y:d+u.y},x,s);e[i(1887)]==="parent"&&(y=Mi(y,s,n));const h=Ji(e,o,r),w=n.internals.z??0;return{x:y.x,y:y.y,z:w>=h?w+1:h}}function to(e,n,t,x=[0,0]){const o=c,r=[],i=new Map;for(const a of e){const d=n[o(834)](a[o(611)]);if(!d)continue;const s=i[o(834)](a[o(611)])?.[o(721)]??sn(d),f=Li(s,a.rect);i.set(a[o(611)],{expandedRect:f,parent:d})}return i.size>0&&i[o(1575)](({expandedRect:a,parent:d},s)=>{const f=o,u=d.internals[f(1523)],y=f0(d),h=d[f(1700)]??x,w=a.x<u.x?Math[f(814)](Math.abs(u.x-a.x)):0,g=a.y<u.y?Math[f(814)](Math[f(1787)](u.y-a.y)):0,p=Math[f(1121)](y[f(1088)],Math[f(814)](a[f(1088)])),b=Math[f(1121)](y[f(1945)],Math[f(814)](a[f(1945)])),z=(p-y[f(1088)])*h[0],m=(b-y.height)*h[1];(w>0||g>0||z||m)&&(r.push({id:s,type:f(1781),position:{x:d.position.x-w+z,y:d[f(1781)].y-g+m}}),t.get(s)?.forEach(v=>{const M=f;!e.some(I=>I.id===v.id)&&r[M(541)]({id:v.id,type:M(1781),position:{x:v[M(1781)].x+w,y:v[M(1781)].y+g}})})),(y.width<a[f(1088)]||y[f(1945)]<a[f(1945)]||w||g)&&r[f(541)]({id:s,type:"dimensions",setAttributes:!0,dimensions:{width:p+(w?h[0]*w-z:0),height:b+(g?h[1]*g-m:0)}})}),r}function d2(e,n,t,x,o,r,i){const a=c,d=x?.[a(954)](a(490));let s=!1;if(!d)return{changes:[],updatedInternals:s};const f=[],u=window.getComputedStyle(d),{m22:y}=new window[a(1236)](u[a(1558)]),h=[];for(const w of e[a(1328)]()){const g=n.get(w.id);if(!g)continue;if(g.hidden){n[a(674)](g.id,{...g,internals:{...g[a(739)],handleBounds:void 0}}),s=!0;continue}const p=Rx(w.nodeElement),b=g.measured.width!==p[a(1088)]||g[a(974)][a(1945)]!==p.height;if(!!(p[a(1088)]&&p.height&&(b||!g.internals[a(1169)]||w.force))){const m=w[a(1824)][a(1412)](),v=dn(g[a(1887)])?g[a(1887)]:r;let{positionAbsolute:M}=g[a(739)];g[a(611)]&&g.extent===a(1733)?M=Mi(M,p,n[a(834)](g[a(611)])):v&&(M=O0(M,v,p));const I={...g,measured:p,internals:{...g[a(739)],positionAbsolute:M,handleBounds:{source:Yi(a(1413),w[a(1824)],m,y,g.id),target:Yi(a(854),w[a(1824)],m,y,g.id)}}};n[a(674)](g.id,I),g[a(611)]&&no(I,n,t,{nodeOrigin:o,zIndexMode:i}),s=!0,b&&(f[a(541)]({id:g.id,type:a(636),dimensions:p}),g[a(1747)]&&g[a(611)]&&h[a(541)]({id:g.id,parentId:g[a(611)],rect:sn(I,o)}))}}if(h.length>0){const w=to(h,n,t,o);f[a(541)](...w)}return{changes:f,updatedInternals:s}}async function u2({delta:e,panZoom:n,transform:t,translateExtent:x,width:o,height:r}){const i=c;if(!n||!e.x&&!e.y)return Promise[i(777)](!1);const a=await n.setViewportConstrained({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[o,r]],x),d=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(777)](d)}function _i(e,n,t,x,o,r){const i=c;let a=o;const d=x[i(834)](a)||new Map;x[i(674)](a,d[i(674)](t,n)),a=o+"-"+e;const s=x[i(834)](a)||new Map;if(x[i(674)](a,s[i(674)](t,n)),r){a=o+"-"+e+"-"+r;const f=x[i(834)](a)||new Map;x[i(674)](a,f[i(674)](t,n))}}function Fi(e,n,t){const x=c;e[x(1822)](),n[x(1822)]();for(const o of t){const{source:r,target:i,sourceHandle:a=null,targetHandle:d=null}=o,s={edgeId:o.id,source:r,target:i,sourceHandle:a,targetHandle:d},f=r+"-"+a+"--"+i+"-"+d,u=i+"-"+d+"--"+r+"-"+a;_i(x(1413),s,u,e,r,a),_i(x(854),s,f,e,i,d),n[x(674)](o.id,o)}}function Qi(e,n){const t=c;if(!e[t(611)])return!1;const x=n.get(e[t(611)]);return x?x[t(509)]?!0:Qi(x,n):!1}function $i(e,n,t){const x=c;let o=e;do{if(o?.[x(1815)]?.(n))return!0;if(o===t)return!1;o=o?.[x(1573)]}while(o);return!1}function f2(e,n,t,x){const o=c,r=new Map;for(const[i,a]of e)if((a.selected||a.id===x)&&(!a[o(611)]||!Qi(a,e))&&(a.draggable||n&&typeof a.draggable===o(910))){const d=e.get(i);d&&r.set(i,{id:i,position:d[o(1781)]||{x:0,y:0},distance:{x:t.x-d[o(739)].positionAbsolute.x,y:t.y-d[o(739)][o(1523)].y},extent:d[o(1887)],parentId:d[o(611)],origin:d.origin,expandParent:d.expandParent,internals:{positionAbsolute:d[o(739)][o(1523)]||{x:0,y:0}},measured:{width:d[o(974)][o(1088)]??0,height:d[o(974)].height??0}})}return r}function xo({nodeId:e,dragItems:n,nodeLookup:t,dragging:x=!0}){const o=c,r=[];for(const[a,d]of n){const s=t[o(834)](a)?.[o(739)][o(2115)];s&&r[o(541)]({...s,position:d[o(1781)],dragging:x})}if(!e)return[r[0],r];const i=t[o(834)](e)?.[o(739)][o(2115)];return[i?{...i,position:n[o(834)](e)?.[o(1781)]||i[o(1781)],dragging:x}:r[0],r]}function h2({dragItems:e,snapGrid:n,x:t,y:x}){const o=c,r=e[o(1328)]().next()[o(1989)];if(!r)return null;const i={x:t-r.distance.x,y:x-r[o(968)].y},a=Wn(i,n);return{x:a.x-i.x,y:a.y-i.y}}function g2({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:x,onDragStop:o}){let r={x:null,y:null},i=0,a=new Map,d=!1,s={x:0,y:0},f=null,u=!1,y=null,h=!1,w=!1,g=null;function p({noDragClassName:z,handleSelector:m,domNode:v,isSelectable:M,nodeId:I,nodeClickDistance:E=0}){const G=_0xa8e1;y=Xe(v);function O({x:W,y:T}){const N=_0xa8e1,{nodeLookup:L,nodeExtent:B,snapGrid:A,snapToGrid:P,nodeOrigin:j,onNodeDrag:Z,onSelectionDrag:R,onError:_,updateNodePositions:Q}=n();r={x:W,y:T};let te=!1;const ce=a[N(547)]>1,$=ce&&B?Kx(Vn(a)):null,se=ce&&P?h2({dragItems:a,snapGrid:A,x:W,y:T}):null;for(const[xe,oe]of a){if(!L.has(xe))continue;let ie={x:W-oe[N(968)].x,y:T-oe.distance.y};P&&(ie=se?{x:Math.round(ie.x+se.x),y:Math[N(814)](ie.y+se.y)}:Wn(ie,A));let k=null;if(ce&&B&&!oe[N(1887)]&&$){const{positionAbsolute:K}=oe[N(739)],V=K.x-$.x+B[0][0],ae=K.x+oe[N(974)][N(1088)]-$.x2+B[1][0],ge=K.y-$.y+B[0][1],me=K.y+oe[N(974)].height-$.y2+B[1][1];k=[[V,ge],[ae,me]]}const{position:S,positionAbsolute:q}=Ci({nodeId:xe,nextPosition:ie,nodeLookup:L,nodeExtent:k||B,nodeOrigin:j,onError:_});te=te||oe[N(1781)].x!==S.x||oe[N(1781)].y!==S.y,oe[N(1781)]=S,oe[N(739)][N(1523)]=q}if(w=w||te,!!te&&(Q(a,!0),g&&(x||Z||!I&&R))){const[xe,oe]=xo({nodeId:I,dragItems:a,nodeLookup:L});x?.(g,a,xe,oe),Z?.(g,xe,oe),!I&&R?.(g,oe)}}async function U(){if(!f)return;const{transform:W,panBy:T,autoPanSpeed:N,autoPanOnNodeDrag:L}=n();if(!L){d=!1,cancelAnimationFrame(i);return}const[B,A]=Di(s,f,N);(B!==0||A!==0)&&(r.x=(r.x??0)-B/W[2],r.y=(r.y??0)-A/W[2],await T({x:B,y:A})&&O(r)),i=requestAnimationFrame(U)}function F(W){const T=_0xa8e1,{nodeLookup:N,multiSelectionActive:L,nodesDraggable:B,transform:A,snapGrid:P,snapToGrid:j,selectNodesOnDrag:Z,onNodeDragStart:R,onSelectionDragStart:_,unselectNodesAndEdges:Q}=n();u=!0,(!Z||!M)&&!L&&I&&!N.get(I)?.selected&&Q(),M&&Z&&I&&e?.(I);const te=Zn(W.sourceEvent,{transform:A,snapGrid:P,snapToGrid:j,containerBounds:f});if(r=te,a=f2(N,B,te,I),a[T(547)]>0&&(t||R||!I&&_)){const[ce,$]=xo({nodeId:I,dragItems:a,nodeLookup:N});t?.(W[T(2076)],a,ce,$),R?.(W[T(2076)],ce,$),!I&&_?.(W[T(2076)],$)}}const X=Hr()[G(867)](E).on(G(1679),W=>{const T=G,{domNode:N,nodeDragThreshold:L,transform:B,snapGrid:A,snapToGrid:P}=n();f=N?.[T(1412)]()||null,h=!1,w=!1,g=W.sourceEvent,L===0&&F(W),r=Zn(W[T(2076)],{transform:B,snapGrid:A,snapToGrid:P,containerBounds:f}),s=n0(W.sourceEvent,f)}).on(G(722),W=>{const T=G,{autoPanOnNodeDrag:N,transform:L,snapGrid:B,snapToGrid:A,nodeDragThreshold:P,nodeLookup:j}=n(),Z=Zn(W[T(2076)],{transform:L,snapGrid:B,snapToGrid:A,containerBounds:f});if(g=W[T(2076)],(W[T(2076)][T(1721)]===T(1581)&&W[T(2076)][T(1357)][T(2062)]>1||I&&!j[T(1071)](I))&&(h=!0),!h){if(!d&&N&&u&&(d=!0,U()),!u){const R=n0(W.sourceEvent,f),_=R.x-s.x,Q=R.y-s.y;Math[T(1692)](_*_+Q*Q)>P&&F(W)}(r.x!==Z[T(1669)]||r.y!==Z[T(908)])&&a&&u&&(s=n0(W.sourceEvent,f),O(Z))}}).on(G(592),W=>{const T=G;if(!(!u||h)&&(d=!1,u=!1,cancelAnimationFrame(i),a[T(547)]>0)){const{nodeLookup:N,updateNodePositions:L,onNodeDragStop:B,onSelectionDragStop:A}=n();if(w&&(L(a,!1),w=!1),o||B||!I&&A){const[P,j]=xo({nodeId:I,dragItems:a,nodeLookup:N,dragging:!1});o?.(W.sourceEvent,a,P,j),B?.(W[T(2076)],P,j),!I&&A?.(W.sourceEvent,j)}}}).filter(W=>{const T=G,N=W[T(854)];return!W[T(1295)]&&(!z||!$i(N,"."+z,v))&&(!m||$i(N,m,v))});y[G(1225)](X)}function b(){const z=_0xa8e1;y?.on(z(861),null)}return{update:p,destroy:b}}function y2(e,n,t){const x=c,o=[],r={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n.values())qn(r,sn(i))>0&&o[x(541)](i);return o}const m2=250;function w2(e,n,t,x){const o=c;let r=[],i=1/0;const a=y2(e,t,n+m2);for(const d of a){const s=[...d[o(739)].handleBounds?.[o(1413)]??[],...d.internals[o(1169)]?.[o(854)]??[]];for(const f of s){if(x[o(1589)]===f[o(1589)]&&x.type===f.type&&x.id===f.id)continue;const{x:u,y}=G0(d,f,f[o(1781)],!0),h=Math.sqrt(Math[o(2153)](u-e.x,2)+Math[o(2153)](y-e.y,2));h>n||(h<i?(r=[{...f,x:u,y}],i=h):h===i&&r.push({...f,x:u,y}))}}if(!r[o(2062)])return null;if(r[o(2062)]>1){const d=x[o(1721)]===o(1413)?"target":o(1413);return r[o(583)](s=>s[o(1721)]===d)??r[0]}return r[0]}function ea(e,n,t,x,o,r=!1){const i=c,a=x[i(834)](e);if(!a)return null;const d=o===i(2028)?a[i(739)].handleBounds?.[n]:[...a.internals[i(1169)]?.[i(1413)]??[],...a[i(739)].handleBounds?.[i(854)]??[]],s=(t?d?.find(f=>f.id===t):d?.[0])??null;return s&&r?{...s,...G0(a,s,s.position,!0)}:s}function na(e,n){const t=c;return e||(n?.[t(502)].contains(t(854))?t(854):n?.[t(502)][t(2168)]("source")?t(1413):null)}function v2(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const ta=()=>!0;function p2(e,{connectionMode:n,connectionRadius:t,handleId:x,nodeId:o,edgeUpdaterType:r,isTarget:i,domNode:a,nodeLookup:d,lib:s,autoPanOnConnect:f,flowId:u,panBy:y,cancelConnection:h,onConnectStart:w,onConnect:g,onConnectEnd:p,isValidConnection:b=ta,onReconnectEnd:z,updateConnection:m,getTransform:v,getFromHandle:M,autoPanSpeed:I,dragThreshold:E=1,handleDomNode:G}){const O=c,U=ji(e[O(854)]);let F=0,X;const{x:W,y:T}=n0(e),N=na(r,G),L=a?.[O(1412)]();let B=!1;if(!L||!N)return;const A=ea(o,N,x,d,n);if(!A)return;let P=n0(e,L),j=!1,Z=null,R=!1,_=null;function Q(){if(!f||!L)return;const[k,S]=Di(P,L,I);y({x:k,y:S}),F=requestAnimationFrame(Q)}const te={...A,nodeId:o,type:N,position:A[O(1781)]},ce=d[O(834)](o);let se={inProgress:!0,isValid:null,from:G0(ce,te,ue[O(1493)],!0),fromHandle:te,fromPosition:te.position,fromNode:ce,to:P,toHandle:null,toPosition:pi[te[O(1781)]],toNode:null,pointer:P};function xe(){B=!0,m(se),w?.(e,{nodeId:o,handleId:x,handleType:N})}E===0&&xe();function oe(k){const S=O;if(!B){const{x:me,y:he}=n0(k),ve=me-W,Ne=he-T;if(!(ve*ve+Ne*Ne>E*E))return;xe()}if(!M()||!te){ie(k);return}const q=v();P=n0(k,L),X=w2(Xn(P,q,!1,[1,1]),t,d,te),!j&&(Q(),j=!0);const K=xa(k,{handle:X,connectionMode:n,fromNodeId:o,fromHandleId:x,fromType:S(i?854:1413),isValidConnection:b,doc:U,lib:s,flowId:u,nodeLookup:d});_=K[S(536)],Z=K[S(1456)],R=v2(!!X,K[S(1095)]);const V=d[S(834)](o),ae=V?G0(V,te,ue[S(1493)],!0):se[S(400)],ge={...se,from:ae,isValid:R,to:K[S(843)]&&R?Ut({x:K[S(843)].x,y:K.toHandle.y},q):P,toHandle:K.toHandle,toPosition:R&&K.toHandle?K[S(843)][S(1781)]:pi[te[S(1781)]],toNode:K[S(843)]?d[S(834)](K[S(843)][S(1589)]):null,pointer:P};m(ge),se=ge}function ie(k){const S=O;if(!(S(1357)in k&&k[S(1357)][S(2062)]>0)){if(B){(X||_)&&Z&&R&&g?.(Z);const{inProgress:q,...K}=se,V={...K,toPosition:se[S(843)]?se[S(1994)]:null};p?.(k,V),r&&z?.(k,V)}h(),cancelAnimationFrame(F),j=!1,R=!1,Z=null,_=null,U[S(2009)](S(1843),oe),U[S(2009)](S(1124),ie),U[S(2009)](S(1581),oe),U[S(2009)]("touchend",ie)}}U[O(437)](O(1843),oe),U.addEventListener(O(1124),ie),U[O(437)](O(1581),oe),U.addEventListener(O(1770),ie)}function xa(e,{handle:n,connectionMode:t,fromNodeId:x,fromHandleId:o,fromType:r,doc:i,lib:a,flowId:d,isValidConnection:s=ta,nodeLookup:f}){const u=c,y=r===u(854),h=n?i[u(954)]("."+a+u(2074)+d+"-"+n?.[u(1589)]+"-"+n?.id+"-"+n?.[u(1721)]+'"]'):null,{x:w,y:g}=n0(e),p=i[u(415)](w,g),b=p?.[u(502)][u(2168)](a+u(1298))?p:h,z={handleDomNode:b,isValid:!1,connection:null,toHandle:null};if(b){const m=na(void 0,b),v=b[u(1893)](u(795)),M=b.getAttribute(u(990)),I=b[u(502)][u(2168)](u(761)),E=b[u(502)][u(2168)](u(442));if(!v||!m)return z;const G={source:y?v:x,sourceHandle:y?M:o,target:y?x:v,targetHandle:y?o:M};z[u(1456)]=G;const O=I&&E,U=O&&(t===an[u(1352)]?y&&m==="source"||!y&&m===u(854):v!==x||M!==o);z[u(1095)]=U&&s(G),z[u(843)]=ea(v,m,M,f,t,!0)}return z}const oo={onPointerDown:p2,isValid:xa};function b2({domNode:e,panZoom:n,getTransform:t,getViewScale:x}){const o=Xe(e);function r({translateExtent:a,width:d,height:s,zoomStep:f=1,pannable:u=!0,zoomable:y=!0,inversePan:h=!1}){const w=_0xa8e1,g=v=>{const M=_0xa8e1;if(v.sourceEvent[M(1721)]!==M(716)||!n)return;const I=t(),E=v.sourceEvent.ctrlKey&&Kn()?10:1,G=-v.sourceEvent.deltaY*(v[M(2076)][M(670)]===1?.05:v[M(2076)][M(670)]?1:.002)*f,O=I[2]*Math.pow(2,G*E);n.scaleTo(O)};let p=[0,0];const b=v=>{const M=_0xa8e1;(v[M(2076)].type===M(818)||v[M(2076)][M(1721)]===M(1135))&&(p=[v[M(2076)][M(1403)]??v.sourceEvent.touches[0].clientX,v[M(2076)][M(1477)]??v[M(2076)][M(1357)][0][M(1477)]])},z=v=>{const M=_0xa8e1,I=t();if(v[M(2076)][M(1721)]!=="mousemove"&&v.sourceEvent.type!==M(1581)||!n)return;const E=[v[M(2076)][M(1403)]??v[M(2076)][M(1357)][0][M(1403)],v.sourceEvent[M(1477)]??v[M(2076)][M(1357)][0].clientY],G=[E[0]-p[0],E[1]-p[1]];p=E;const O=x()*Math[M(1121)](I[2],Math.log(I[2]))*(h?-1:1),U={x:I[0]-G[0]*O,y:I[1]-G[1]*O},F=[[0,0],[d,s]];n.setViewportConstrained({x:U.x,y:U.y,zoom:I[2]},F,a)},m=yi().on(w(1679),b).on(w(1068),u?z:null).on(w(823),y?g:null);o.call(m,{})}function i(){o.on("zoom",null)}return{update:r,destroy:i,pointer:Fe}}const Gt=e=>({x:e.x,y:e.y,zoom:e.k}),ro=({x:e,y:n,zoom:t})=>It[c(1472)](e,n)[c(872)](t),un=(e,n)=>e.target.closest("."+n),oa=(e,n)=>n===2&&Array[c(738)](e)&&e[c(545)](2),z2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,io=(e,n=0,t=z2,x=()=>{})=>{const o=c,r=typeof n===o(710)&&n>0;return!r&&x(),r?e[o(1261)]()[o(405)](n)[o(1543)](t).on(o(592),x):e},ra=e=>{const n=c,t=e[n(1701)]&&Kn()?10:1;return-e[n(1155)]*(e[n(670)]===1?.05:e[n(670)]?1:.002)*t};function C2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:x,panOnScrollMode:o,panOnScrollSpeed:r,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:d,onPanZoomEnd:s}){return f=>{const u=_0xa8e1;if(un(f,n))return f[u(1701)]&&f.preventDefault(),!1;f[u(2106)](),f.stopImmediatePropagation();const y=t[u(1746)](u(1401)).k||1;if(f[u(1701)]&&i){const b=Fe(f),z=ra(f),m=y*Math.pow(2,z);x[u(1937)](t,m,b,f);return}const h=f.deltaMode===1?20:1;let w=o===U0[u(412)]?0:f[u(2081)]*h,g=o===U0[u(1209)]?0:f.deltaY*h;!Kn()&&f[u(953)]&&o!==U0[u(412)]&&(w=f[u(1155)]*h,g=0),x[u(1358)](t,-(w/y)*r,-(g/y)*r,{internal:!0});const p=Gt(t[u(1746)](u(1401)));clearTimeout(e.panScrollTimeout),e[u(1656)]?(d?.(f,p),e[u(1339)]=setTimeout(()=>{s?.(f,p),e.isPanScrolling=!1},150)):(e[u(1656)]=!0,a?.(f,p))}}function M2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(x,o){const r=_0xa8e1,i=x[r(1721)]==="wheel",a=!n&&i&&!x[r(1701)],d=un(x,e);if(x[r(1701)]&&i&&d&&x[r(2106)](),a||d)return null;x[r(2106)](),t[r(1225)](this,x,o)}}function B2({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return x=>{const o=_0xa8e1;if(x.sourceEvent?.internal)return;const r=Gt(x[o(1558)]);e[o(1563)]=x[o(2076)]?.button||0,e[o(1827)]=!0,e[o(1903)]=r,x[o(2076)]?.[o(1721)]===o(818)&&n(!0),t&&t?.(x[o(2076)],r)}}function D2({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:x,onPanZoom:o}){return r=>{const i=_0xa8e1;e[i(1676)]=!!(t&&oa(n,e.mouseButton??0)),!r[i(2076)]?.[i(939)]&&x([r[i(1558)].x,r[i(1558)].y,r[i(1558)].k]),o&&!r[i(2076)]?.[i(1673)]&&o?.(r[i(2076)],Gt(r[i(1558)]))}}function L2({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:x,onPanZoomEnd:o,onPaneContextMenu:r}){return i=>{const a=_0xa8e1;if(!i[a(2076)]?.[a(1673)]&&(e[a(1827)]=!1,r&&oa(n,e[a(1563)]??0)&&!e[a(1676)]&&i.sourceEvent&&r(i[a(2076)]),e[a(1676)]=!1,x(!1),o)){const d=Gt(i[a(1558)]);e[a(1903)]=d,clearTimeout(e[a(565)]),e[a(565)]=setTimeout(()=>{o?.(i[a(2076)],d)},t?150:0)}}}function N2({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:x,panOnScroll:o,zoomOnDoubleClick:r,userSelectionActive:i,noWheelClassName:a,noPanClassName:d,lib:s,connectionInProgress:f}){return u=>{const y=_0xa8e1,h=e||n,w=t&&u[y(1701)],g=u[y(1721)]===y(716);if(u[y(1295)]===1&&u[y(1721)]===y(818)&&(un(u,s+"-flow__node")||un(u,s+y(1037))))return!0;if(!x&&!h&&!o&&!r&&!t||i||f&&!g||un(u,a)&&g||un(u,d)&&(!g||o&&g&&!e)||!t&&u[y(1701)]&&g)return!1;if(!t&&u.type===y(1135)&&u[y(1357)]?.[y(2062)]>1)return u.preventDefault(),!1;if(!h&&!o&&!w&&g||!x&&(u[y(1721)]===y(818)||u.type===y(1135))||Array[y(738)](x)&&!x[y(545)](u[y(1295)])&&u[y(1721)]==="mousedown")return!1;const p=Array[y(738)](x)&&x[y(545)](u[y(1295)])||!u[y(1295)]||u[y(1295)]<=1;return(!u[y(1701)]||g)&&p}}function S2({domNode:e,minZoom:n,maxZoom:t,translateExtent:x,viewport:o,onPanZoom:r,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:d}){const s=c,f={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},u=e[s(1412)](),y=yi().scaleExtent([n,t])[s(2030)](x),h=Xe(e)[s(1225)](y);m({x:o.x,y:o.y,zoom:cn(o[s(1068)],n,t)},[[0,0],[u[s(1088)],u[s(1945)]]],x);const w=h.on("wheel.zoom"),g=h.on(s(680));y[s(715)](ra);function p(X,W){return h?new Promise(T=>{const N=_0xa8e1;y?.interpolate(W?.[N(1452)]===N(2080)?jn:zt)[N(1558)](io(h,W?.[N(405)],W?.[N(1543)],()=>T(!0)),X)}):Promise.resolve(!1)}function b({noWheelClassName:X,noPanClassName:W,onPaneContextMenu:T,userSelectionActive:N,panOnScroll:L,panOnDrag:B,panOnScrollMode:A,panOnScrollSpeed:P,preventScrolling:j,zoomOnPinch:Z,zoomOnScroll:R,zoomOnDoubleClick:_,zoomActivationKeyPressed:Q,lib:te,onTransformChange:ce,connectionInProgress:$,paneClickDistance:se,selectionOnDrag:xe}){const oe=s;N&&!f.isZoomingOrPanning&&z();const ie=L&&!Q&&!N;y[oe(867)](xe?1/0:!e0(se)||se<0?0:se);const k=ie?C2({zoomPanValues:f,noWheelClassName:X,d3Selection:h,d3Zoom:y,panOnScrollMode:A,panOnScrollSpeed:P,zoomOnPinch:Z,onPanZoomStart:i,onPanZoom:r,onPanZoomEnd:a}):M2({noWheelClassName:X,preventScrolling:j,d3ZoomHandler:w});if(h.on("wheel.zoom",k,{passive:!1}),!N){const q=B2({zoomPanValues:f,onDraggingChange:d,onPanZoomStart:i});y.on("start",q);const K=D2({zoomPanValues:f,panOnDrag:B,onPaneContextMenu:!!T,onPanZoom:r,onTransformChange:ce});y.on(oe(1068),K);const V=L2({zoomPanValues:f,panOnDrag:B,panOnScroll:L,onPaneContextMenu:T,onPanZoomEnd:a,onDraggingChange:d});y.on(oe(592),V)}const S=N2({zoomActivationKeyPressed:Q,panOnDrag:B,zoomOnScroll:R,panOnScroll:L,zoomOnDoubleClick:_,zoomOnPinch:Z,userSelectionActive:N,noPanClassName:W,noWheelClassName:X,lib:te,connectionInProgress:$});y.filter(S),_?h.on(oe(680),g):h.on(oe(680),null)}function z(){y.on("zoom",null)}async function m(X,W,T){const N=ro(X),L=y?.constrain()(N,W,T);return L&&await p(L),new Promise(B=>B(L))}async function v(X,W){const T=ro(X);return await p(T,W),new Promise(N=>N(T))}function M(X){const W=s;if(h){const T=ro(X),N=h.property("__zoom");(N.k!==X[W(1068)]||N.x!==X.x||N.y!==X.y)&&y?.[W(1558)](h,T,null,{sync:!0})}}function I(){const X=h?hi(h.node()):{x:0,y:0,k:1};return{x:X.x,y:X.y,zoom:X.k}}function E(X,W){const T=s;return h?new Promise(N=>{const L=_0xa8e1;y?.[L(1452)](W?.[L(1452)]===L(2080)?jn:zt)[L(1937)](io(h,W?.duration,W?.[L(1543)],()=>N(!0)),X)}):Promise[T(777)](!1)}function G(X,W){const T=s;return h?new Promise(N=>{const L=_0xa8e1;y?.[L(1452)](W?.interpolate===L(2080)?jn:zt)[L(401)](io(h,W?.[L(405)],W?.[L(1543)],()=>N(!0)),X)}):Promise[T(777)](!1)}function O(X){y?.[s(1090)](X)}function U(X){y?.[s(2030)](X)}function F(X){const W=s,T=!e0(X)||X<0?0:X;y?.[W(867)](T)}return{update:b,destroy:z,setViewport:v,setViewportConstrained:m,getViewport:I,scaleTo:E,scaleBy:G,setScaleExtent:O,setTranslateExtent:U,syncViewport:M,setClickDistance:F}}var fn;(function(e){const n=c;e[n(1232)]=n(693),e[n(540)]=n(1128)})(fn||(fn={}));function k2({width:e,prevWidth:n,height:t,prevHeight:x,affectsX:o,affectsY:r}){const i=e-n,a=t-x,d=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&o&&(d[0]=d[0]*-1),a&&r&&(d[1]=d[1]*-1),d}function ia(e){const n=c,t=e[n(545)](n(2049))||e.includes("left"),x=e[n(545)]("bottom")||e[n(545)](n(1813)),o=e[n(545)](n(1044)),r=e.includes("top");return{isHorizontal:t,isVertical:x,affectsX:o,affectsY:r}}function z0(e,n){return Math[c(1121)](0,n-e)}function C0(e,n){return Math[c(1121)](0,e-n)}function Ht(e,n,t){return Math[c(1121)](0,n-e,e-t)}function aa(e,n){return e?!n:n}function P2(e,n,t,x,o,r,i,a){const d=c;let{affectsX:s,affectsY:f}=n;const{isHorizontal:u,isVertical:y}=n,h=u&&y,{xSnapped:w,ySnapped:g}=t,{minWidth:p,maxWidth:b,minHeight:z,maxHeight:m}=x,{x:v,y:M,width:I,height:E,aspectRatio:G}=e;let O=Math.floor(u?w-e[d(1216)]:0),U=Math[d(1031)](y?g-e.pointerY:0);const F=I+(s?-O:O),X=E+(f?-U:U),W=-r[0]*I,T=-r[1]*E;let N=Ht(F,p,b),L=Ht(X,z,m);if(i){let P=0,j=0;s&&O<0?P=z0(v+O+W,i[0][0]):!s&&O>0&&(P=C0(v+F+W,i[1][0])),f&&U<0?j=z0(M+U+T,i[0][1]):!f&&U>0&&(j=C0(M+X+T,i[1][1])),N=Math.max(N,P),L=Math[d(1121)](L,j)}if(a){let P=0,j=0;s&&O>0?P=C0(v+O,a[0][0]):!s&&O<0&&(P=z0(v+F,a[1][0])),f&&U>0?j=C0(M+U,a[0][1]):!f&&U<0&&(j=z0(M+X,a[1][1])),N=Math.max(N,P),L=Math.max(L,j)}if(o){if(u){const P=Ht(F/G,z,m)*G;if(N=Math.max(N,P),i){let j=0;!s&&!f||s&&!f&&h?j=C0(M+T+F/G,i[1][1])*G:j=z0(M+T+(s?O:-O)/G,i[0][1])*G,N=Math[d(1121)](N,j)}if(a){let j=0;!s&&!f||s&&!f&&h?j=z0(M+F/G,a[1][1])*G:j=C0(M+(s?O:-O)/G,a[0][1])*G,N=Math.max(N,j)}}if(y){const P=Ht(X*G,p,b)/G;if(L=Math[d(1121)](L,P),i){let j=0;!s&&!f||f&&!s&&h?j=C0(v+X*G+W,i[1][0])/G:j=z0(v+(f?U:-U)*G+W,i[0][0])/G,L=Math[d(1121)](L,j)}if(a){let j=0;!s&&!f||f&&!s&&h?j=z0(v+X*G,a[1][0])/G:j=C0(v+(f?U:-U)*G,a[0][0])/G,L=Math.max(L,j)}}}U=U+(U<0?L:-L),O=O+(O<0?N:-N),o&&(h?F>X*G?U=(aa(s,f)?-O:O)/G:O=(aa(s,f)?-U:U)*G:u?(U=O/G,f=s):(O=U*G,s=f));const B=s?v+O:v,A=f?M+U:M;return{width:I+(s?-O:O),height:E+(f?-U:U),x:r[0]*O*(s?-1:1)+B,y:r[1]*U*(f?-1:1)+A}}const ca={width:0,height:0,x:0,y:0},I2={...ca,pointerX:0,pointerY:0,aspectRatio:1};function j2(e){const n=c;return[[0,0],[e[n(974)][n(1088)],e[n(974)][n(1945)]]]}function A2(e,n,t){const x=c,o=n.position.x+e.position.x,r=n.position.y+e.position.y,i=e.measured[x(1088)]??0,a=e[x(974)].height??0,d=t[0]*i,s=t[1]*a;return[[o-d,r-s],[o+i-d,r+a-s]]}function E2({domNode:e,nodeId:n,getStoreItems:t,onChange:x,onEnd:o}){const r=c,i=Xe(e);let a={controlDirection:ia(r(920)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number[r(673)],maxHeight:Number[r(673)]},resizeDirection:void 0,keepAspectRatio:!1};function d({controlPosition:f,boundaries:u,keepAspectRatio:y,resizeDirection:h,onResizeStart:w,onResize:g,onResizeEnd:p,shouldResize:b}){const z=r;let m={...ca},v={...I2};a={boundaries:u,resizeDirection:h,keepAspectRatio:y,controlDirection:ia(f)};let M,I=null,E=[],G,O,U,F=!1;const X=Hr().on("start",W=>{const T=_0xa8e1,{nodeLookup:N,transform:L,snapGrid:B,snapToGrid:A,nodeOrigin:P,paneDomNode:j}=t();if(M=N[T(834)](n),!M)return;I=j?.[T(1412)]()??null;const{xSnapped:Z,ySnapped:R}=Zn(W.sourceEvent,{transform:L,snapGrid:B,snapToGrid:A,containerBounds:I});m={width:M.measured[T(1088)]??0,height:M.measured[T(1945)]??0,x:M[T(1781)].x??0,y:M[T(1781)].y??0},v={...m,pointerX:Z,pointerY:R,aspectRatio:m[T(1088)]/m[T(1945)]},G=void 0,M[T(611)]&&(M[T(1887)]===T(1733)||M.expandParent)&&(G=N[T(834)](M[T(611)]),O=G&&M[T(1887)]===T(1733)?j2(G):void 0),E=[],U=void 0;for(const[_,Q]of N)if(Q.parentId===n&&(E.push({id:_,position:{...Q.position},extent:Q[T(1887)]}),Q[T(1887)]===T(1733)||Q.expandParent)){const te=A2(Q,M,Q[T(1700)]??P);U?U=[[Math.min(te[0][0],U[0][0]),Math.min(te[0][1],U[0][1])],[Math[T(1121)](te[1][0],U[1][0]),Math[T(1121)](te[1][1],U[1][1])]]:U=te}w?.(W,{...m})}).on(z(722),W=>{const T=z,{transform:N,snapGrid:L,snapToGrid:B,nodeOrigin:A}=t(),P=Zn(W[T(2076)],{transform:N,snapGrid:L,snapToGrid:B,containerBounds:I}),j=[];if(!M)return;const{x:Z,y:R,width:_,height:Q}=m,te={},ce=M[T(1700)]??A,{width:$,height:se,x:xe,y:oe}=P2(v,a[T(1730)],P,a[T(1993)],a[T(1431)],ce,O,U),ie=$!==_,k=se!==Q,S=xe!==Z&&ie,q=oe!==R&&k;if(!S&&!q&&!ie&&!k)return;if((S||q||ce[0]===1||ce[1]===1)&&(te.x=S?xe:m.x,te.y=q?oe:m.y,m.x=te.x,m.y=te.y,E[T(2062)]>0)){const ge=xe-Z,me=oe-R;for(const he of E)he.position={x:he[T(1781)].x-ge+ce[0]*($-_),y:he.position.y-me+ce[1]*(se-Q)},j[T(541)](he)}if((ie||k)&&(te.width=ie&&(!a[T(1886)]||a[T(1886)]===T(445))?$:m[T(1088)],te[T(1945)]=k&&(!a[T(1886)]||a[T(1886)]===T(984))?se:m.height,m[T(1088)]=te[T(1088)],m[T(1945)]=te[T(1945)]),G&&M[T(1747)]){const ge=ce[0]*(te[T(1088)]??0);te.x&&te.x<ge&&(m.x=ge,v.x=v.x-(te.x-ge));const me=ce[1]*(te[T(1945)]??0);te.y&&te.y<me&&(m.y=me,v.y=v.y-(te.y-me))}const K=k2({width:m.width,prevWidth:_,height:m.height,prevHeight:Q,affectsX:a[T(1730)][T(850)],affectsY:a.controlDirection[T(492)]}),V={...m,direction:K};b?.(W,V)!==!1&&(F=!0,g?.(W,V),x(te,j))}).on(z(592),W=>{F&&(p?.(W,{...m}),o?.({...m}),F=!1)});i[z(1225)](X)}function s(){const f=r;i.on(f(861),null)}return{update:d,destroy:s}}var Tt={exports:{}},ao={},Vt={exports:{}},co={},sa;function Y2(){const e=c;if(sa)return co;sa=1;var n=D;function t(y,h){return y===h&&(y!==0||1/y===1/h)||y!==y&&h!==h}var x=e(1200)===typeof Object.is?Object.is:t,o=n[e(744)],r=n[e(433)],i=n[e(2174)],a=n[e(1667)];function d(y,h){const w=e;var g=h(),p=o({inst:{value:g,getSnapshot:h}}),b=p[0][w(1317)],z=p[1];return i(function(){const m=w;b[m(1989)]=g,b[m(1474)]=h,s(b)&&z({inst:b})},[y,g,h]),r(function(){return s(b)&&z({inst:b}),y(function(){s(b)&&z({inst:b})})},[y]),a(g),g}function s(y){const h=e;var w=y[h(1474)];y=y[h(1989)];try{var g=w();return!x(y,g)}catch{return!0}}function f(y,h){return h()}var u=e(910)===typeof window||e(910)===typeof window[e(1372)]||typeof window[e(1372)][e(1759)]>"u"?f:d;return co[e(995)]=n.useSyncExternalStore!==void 0?n[e(995)]:u,co}var so={},la;function U2(){const e=c;return la||(la=1,e(1748)!==process.env.NODE_ENV&&(function(){const n=e;function t(g,p){return g===p&&(g!==0||1/g===1/p)||g!==g&&p!==p}function x(g,p){const b=_0xa8e1;y||i[b(395)]===void 0||(y=!0,console[b(1750)](b(1965)));var z=p();if(!h){var m=p();a(z,m)||(console[b(1750)](b(514)),h=!0)}m=d({inst:{value:z,getSnapshot:p}});var v=m[0][b(1317)],M=m[1];return f(function(){const I=b;v.value=z,v[I(1474)]=p,o(v)&&M({inst:v})},[g,z,p]),s(function(){return o(v)&&M({inst:v}),g(function(){o(v)&&M({inst:v})})},[g]),u(z),z}function o(g){const p=_0xa8e1;var b=g[p(1474)];g=g[p(1989)];try{var z=b();return!a(g,z)}catch{return!0}}function r(g,p){return p()}n(910)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1200)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1985)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1985)](Error());var i=D,a=n(1200)===typeof Object.is?Object.is:t,d=i[n(744)],s=i[n(433)],f=i[n(2174)],u=i[n(1667)],y=!1,h=!1,w=n(910)===typeof window||n(910)===typeof window[n(1372)]||n(910)===typeof window[n(1372)].createElement?r:x;so.useSyncExternalStore=i[n(995)]!==void 0?i.useSyncExternalStore:w,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&n(1200)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(657)](Error())})()),so}var da;function ua(){const e=c;return da||(da=1,process.env.NODE_ENV===e(1748)?Vt[e(1240)]=Y2():Vt[e(1240)]=U2()),Vt.exports}var fa;function O2(){const e=c;if(fa)return ao;fa=1;var n=D,t=ua();function x(f,u){return f===u&&(f!==0||1/f===1/u)||f!==f&&u!==u}var o=e(1200)===typeof Object.is?Object.is:x,r=t.useSyncExternalStore,i=n.useRef,a=n.useEffect,d=n[e(476)],s=n[e(1667)];return ao[e(671)]=function(f,u,y,h,w){var g=i(null);if(g.current===null){var p={hasValue:!1,value:null};g.current=p}else p=g.current;g=d(function(){function z(E){const G=_0xa8e1;if(!m){if(m=!0,v=E,E=h(E),w!==void 0&&p[G(1684)]){var O=p.value;if(w(O,E))return M=O}return M=E}if(O=M,o(v,E))return O;var U=h(E);return w!==void 0&&w(O,U)?(v=E,O):(v=E,M=U)}var m=!1,v,M,I=y===void 0?null:y;return[function(){return z(u())},I===null?void 0:function(){return z(I())}]},[u,y,h,w]);var b=r(f,g[0],g[1]);return a(function(){const z=_0xa8e1;p.hasValue=!0,p[z(1989)]=b},[b]),s(b),b},ao}var lo={},ha;function G2(){const e=c;return ha||(ha=1,e(1748)!==process.env.NODE_ENV&&(function(){const n=e;function t(u,y){return u===y&&(u!==0||1/u===1/y)||u!==u&&y!==y}n(910)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1200)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1985)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1985)](Error());var x=D,o=ua(),r=typeof Object.is=="function"?Object.is:t,i=o.useSyncExternalStore,a=x[n(649)],d=x.useEffect,s=x[n(476)],f=x[n(1667)];lo[n(671)]=function(u,y,h,w,g){const p=n;var b=a(null);if(b[p(515)]===null){var z={hasValue:!1,value:null};b[p(515)]=z}else z=b[p(515)];b=s(function(){function v(O){const U=_0xa8e1;if(!M){if(M=!0,I=O,O=w(O),g!==void 0&&z.hasValue){var F=z[U(1989)];if(g(F,O))return E=F}return E=O}if(F=E,r(I,O))return F;var X=w(O);return g!==void 0&&g(F,X)?(I=O,F):(I=O,E=X)}var M=!1,I,E,G=h===void 0?null:h;return[function(){return v(y())},G===null?void 0:function(){return v(G())}]},[y,h,w,g]);var m=i(u,b[0],b[1]);return d(function(){const v=p;z[v(1684)]=!0,z[v(1989)]=m},[m]),f(m),m},n(910)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1200)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(657)](Error())})()),lo}var ga;function H2(){const e=c;return ga||(ga=1,process.env.NODE_ENV===e(1748)?Tt[e(1240)]=O2():Tt[e(1240)]=G2()),Tt[e(1240)]}var T2=H2();const V2=vn(T2),q2={},ya=e=>{let n;const t=new Set,x=(f,u)=>{const y=_0xa8e1,h=typeof f===y(1200)?f(n):f;if(!Object.is(h,n)){const w=n;n=u??(typeof h!==y(1918)||h===null)?h:Object[y(1607)]({},n,h),t[y(1575)](g=>g(n,w))}},o=()=>n,r=()=>s,i=f=>{const u=_0xa8e1;return t[u(1796)](f),()=>t[u(1826)](f)},a=()=>{const f=_0xa8e1;(q2?f(1748):void 0)!==f(1748)&&console.warn(f(1302)),t[f(1822)]()},d={setState:x,getState:o,getInitialState:r,subscribe:i,destroy:a},s=n=e(x,o,d);return d},W2=e=>e?ya(e):ya,{useDebugValue:X2}=D,{useSyncExternalStoreWithSelector:K2}=V2,Z2=e=>e;function ma(e,n=Z2,t){const x=c,o=K2(e[x(1435)],e[x(1560)],e[x(708)]||e[x(1404)],n,t);return X2(o),o}const wa=(e,n)=>{const t=W2(e),x=(o,r=n)=>ma(t,o,r);return Object.assign(x,t),x},R2=(e,n)=>e?wa(e,n):wa;function Se(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(1918)||e===null||typeof n!="object"||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e.size!==n[t(547)])return!1;for(const[o,r]of e)if(!Object.is(r,n[t(834)](o)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e[t(547)]!==n[t(547)])return!1;for(const o of e)if(!n.has(o))return!1;return!0}const x=Object.keys(e);if(x[t(2062)]!==Object.keys(n).length)return!1;for(const o of x)if(!Object[t(578)][t(1697)][t(1225)](n,o)||!Object.is(e[o],n[o]))return!1;return!0}const qt=D[c(1633)](null),J2=qt[c(2056)],va=Ke[c(1253)]();function Ce(e,n){const t=c,x=D[t(1377)](qt);if(x===null)throw new Error(va);return ma(x,e,n)}function ke(){const e=c,n=D[e(1377)](qt);if(n===null)throw new Error(va);return D[e(476)](()=>({getState:n[e(1560)],setState:n.setState,subscribe:n[e(1435)]}),[n])}const pa={display:c(1316)},_2={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1409),clip:"rect(0px, 0px, 0px, 0px)",clipPath:c(2107)},ba=c(584),za=c(2077),F2=c(1278),Q2=e=>e[c(1695)],$2=e=>e.ariaLabelConfig;function e5({rfId:e}){const n=c,t=Ce(Q2);return l[n(662)]("div",{id:F2+"-"+e,"aria-live":n(1113),"aria-atomic":n(807),style:_2,children:t})}function n5({rfId:e,disableKeyboardA11y:n}){const t=c,x=Ce($2);return l[t(1304)](l[t(1907)],{children:[l.jsx(t(1861),{id:ba+"-"+e,style:pa,children:n?x[t(1553)]:x[t(389)]}),l[t(662)]("div",{id:za+"-"+e,style:pa,children:x["edge.a11yDescription.default"]}),!n&&l[t(662)](e5,{rfId:e})]})}const Wt=D[c(1797)](({position:e="top-left",children:n,className:t,style:x,...o},r)=>{const i=c,a=(""+e)[i(1296)]("-");return l[i(662)](i(1861),{className:je(["react-flow__panel",t,...a]),style:x,ref:r,...o,children:n})});Wt[c(1108)]=c(1814);function t5({proOptions:e,position:n="bottom-right"}){const t=c;return e?.[t(1351)]?null:l.jsx(Wt,{position:n,className:t(1032),"data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:l[t(662)]("a",{href:t(1864),target:t(1858),rel:"noopener noreferrer","aria-label":"React Flow attribution",children:t(1215)})})}const x5=e=>{const n=c,t=[],x=[];for(const[,o]of e[n(700)])o[n(509)]&&t[n(541)](o[n(739)][n(2115)]);for(const[,o]of e[n(614)])o[n(509)]&&x.push(o);return{selectedNodes:t,selectedEdges:x}},Xt=e=>e.id;function o5(e,n){const t=c;return Se(e.selectedNodes[t(1008)](Xt),n[t(471)][t(1008)](Xt))&&Se(e[t(1293)].map(Xt),n.selectedEdges[t(1008)](Xt))}function r5({onSelectionChange:e}){const n=c,t=ke(),{selectedNodes:x,selectedEdges:o}=Ce(x5,o5);return D[n(433)](()=>{const r=n,i={nodes:x,edges:o};e?.(i),t[r(1560)]()[r(683)][r(1575)](a=>a(i))},[x,o,e]),null}const i5=e=>!!e[c(683)];function a5({onSelectionChange:e}){const n=c,t=Ce(i5);return e||t?l[n(662)](r5,{onSelectionChange:e}):null}const uo=typeof window<"u"?D[c(2174)]:D[c(433)],Ca=[0,0],c5={x:0,y:0,zoom:1},s5=[c(2159),c(530),c(1699),c(1455),"onConnect","onConnectStart","onConnectEnd","onClickConnectStart",c(1034),c(2184),c(1613),c(1731),c(874),c(765),"edgesReconnectable",c(1559),c(1097),c(1458),c(1899),"nodeExtent","onNodesChange","onEdgesChange",c(1786),c(1423),c(551),c(431),c(2030),c(1623),"defaultEdgeOptions","fitView",c(1810),c(734),c(1335),c(2157),c(2143),c(1416),"onNodeDragStop",c(1078),"onSelectionDragStart",c(702),c(1070),c(2058),c(2165),c(978),c(915),"autoPanOnConnect",c(1972),c(886),c(1610),c(1535),"selectNodesOnDrag",c(1309),c(1803),"onBeforeDelete",c(1967),c(969),c(711),c(1376)],Ma=[...s5,c(1593)],l5=e=>({setNodes:e[c(725)],setEdges:e[c(1178)],setMinZoom:e.setMinZoom,setMaxZoom:e.setMaxZoom,setTranslateExtent:e.setTranslateExtent,setNodeExtent:e.setNodeExtent,reset:e[c(2126)],setDefaultNodesAndEdges:e[c(1620)]}),Ba={translateExtent:Gn,nodeOrigin:Ca,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(1384),rfId:"1"};function d5(e){const n=c,{setNodes:t,setEdges:x,setMinZoom:o,setMaxZoom:r,setTranslateExtent:i,setNodeExtent:a,reset:d,setDefaultNodesAndEdges:s}=Ce(l5,Se),f=ke();uo(()=>{const y=_0xa8e1;return s(e.defaultNodes,e[y(1455)]),()=>{const h=y;u[h(515)]=Ba,d()}},[]);const u=D[n(649)](Ba);return uo(()=>{const y=n;for(const h of Ma){const w=e[h],g=u[y(515)][h];w!==g&&typeof e[h]!==y(910)&&(h===y(2159)?t(w):h==="edges"?x(w):h===y(1458)?o(w):h===y(1899)?r(w):h===y(2030)?i(w):h===y(634)?a(w):h===y(711)?f[y(860)]({ariaLabelConfig:Rf(w)}):h===y(1635)?f.setState({fitViewQueued:w}):h===y(1810)?f[y(860)]({fitViewOptions:w}):f[y(860)]({[h]:w}))}u[y(515)]=e},Ma[n(1008)](y=>e[y])),null}function Da(){const e=c;return typeof window===e(910)||!window[e(477)]?null:window[e(477)]("(prefers-color-scheme: dark)")}function u5(e){const n=c,[t,x]=D[n(744)](e===n(1114)?null:e);return D[n(433)](()=>{const o=n;if(e!==o(1114)){x(e);return}const r=Da(),i=()=>x(r?.[o(1815)]?o(973):o(1242));return i(),r?.[o(437)](o(1754),i),()=>{r?.[o(2009)]("change",i)}},[e]),t!==null?t:Da()?.[n(1815)]?n(973):n(1242)}const La=typeof document<"u"?document:null;function Rn(e=null,n={target:La,actInsideInputWithModifier:!0}){const t=c,[x,o]=D.useState(!1),r=D[t(649)](!1),i=D[t(649)](new Set([])),[a,d]=D.useMemo(()=>{const s=t;if(e!==null){const f=Array[s(738)](e)?e:[e],u=f.filter(h=>typeof h===s(891))[s(1008)](h=>h[s(1341)]("+",`
|
|
4
|
+
`)[s(1341)](`
|
|
5
5
|
|
|
6
6
|
`,`
|
|
7
|
-
+`)
|
|
8
|
-
`)),g=f[s(442)]((b,w)=>b[s(1628)](...w),[]);return[f,g]}return[[],[]]},[n]);return L.useEffect(()=>{const s=x,u=t?.[s(1917)]??Da,f=t?.[s(1196)]??!0;if(n!==null){const g=y=>{const h=s;if(r[h(1621)]=y[h(1405)]||y.metaKey||y[h(1390)]||y[h(1391)],(!r[h(1621)]||r.current&&!f)&&Ai(y))return!1;const p=Na(y.code,d);if(i.current[h(315)](y[p]),La(a,i[h(1621)],!1)){const v=y[h(1032)]?.()?.[0]||y.target,m=v?.[h(661)]===h(576)||v?.[h(661)]==="A";t[h(308)]!==!1&&(r[h(1621)]||!m)&&y[h(308)](),o(!0)}},b=y=>{const h=s,C=Na(y[h(1590)],d);La(a,i.current,!0)?(o(!1),i.current[h(1867)]()):i[h(1621)].delete(y[C]),y.key===h(1498)&&i[h(1621)][h(1867)](),r[h(1621)]=!1},w=()=>{const y=s;i.current[y(1867)](),o(!1)};return u?.addEventListener(s(795),g),u?.[s(1619)](s(1667),b),window.addEventListener(s(1371),w),window[s(1619)](s(1714),w),()=>{const y=s;u?.[y(1581)]("keydown",g),u?.[y(1581)]("keyup",b),window[y(1581)](y(1371),w),window[y(1581)](y(1714),w)}}},[n,o]),e}function La(n,t,x){const e=c;return n[e(891)](o=>x||o[e(2088)]===t[e(1424)])[e(1093)](o=>o[e(611)](r=>t.has(r)))}function Na(n,t){const x=c;return t[x(1052)](n)?x(1590):"key"}const ub=()=>{const n=c,t=Pe();return L[n(662)](()=>{const x=n;return{zoomIn:e=>{const o=_0x1826,{panZoom:r}=t.getState();return r?r[o(881)](1.2,e):Promise[o(491)](!1)},zoomOut:e=>{const o=_0x1826,{panZoom:r}=t[o(356)]();return r?r[o(881)](1/1.2,e):Promise.resolve(!1)},zoomTo:(e,o)=>{const r=_0x1826,{panZoom:i}=t[r(356)]();return i?i[r(1991)](e,o):Promise[r(491)](!1)},getZoom:()=>t[x(356)]()[x(1430)][2],setViewport:async(e,o)=>{const r=x,{transform:[i,a,d],panZoom:s}=t[r(356)]();return s?(await s[r(1733)]({x:e.x??i,y:e.y??a,zoom:e[r(536)]??d},o),Promise.resolve(!0)):Promise[r(491)](!1)},getViewport:()=>{const e=x,[o,r,i]=t[e(356)]()[e(1430)];return{x:o,y:r,zoom:i}},setCenter:async(e,o,r)=>{const i=x;return t[i(356)]()[i(1884)](e,o,r)},fitBounds:async(e,o)=>{const r=x,{width:i,height:a,minZoom:d,maxZoom:s,panZoom:u}=t[r(356)](),f=Kx(e,i,a,d,s,o?.[r(566)]??.1);return u?(await u[r(1733)](f,{duration:o?.[r(1160)],ease:o?.[r(923)],interpolate:o?.[r(699)]}),Promise[r(491)](!0)):Promise[r(491)](!1)},screenToFlowPosition:(e,o={})=>{const r=x,{transform:i,snapGrid:a,snapToGrid:d,domNode:s}=t[r(356)]();if(!s)return e;const{x:u,y:f}=s[r(650)](),g={x:e.x-u,y:e.y-f},b=o[r(1485)]??a,w=o.snapToGrid??d;return Xn(g,i,w,b)},flowToScreenPosition:e=>{const o=x,{transform:r,domNode:i}=t[o(356)]();if(!i)return e;const{x:a,y:d}=i[o(650)](),s=Ot(e,r);return{x:s.x+a,y:s.y+d}}}},[])};function Sa(n,t){const x=c,e=[],o=new Map,r=[];for(const i of n)if(i.type===x(315)){r[x(1297)](i);continue}else if(i[x(1972)]==="remove"||i.type===x(1582))o[x(2010)](i.id,[i]);else{const a=o.get(i.id);a?a[x(1297)](i):o[x(2010)](i.id,[i])}for(const i of t){const a=o.get(i.id);if(!a){e[x(1297)](i);continue}if(a[0].type===x(1575))continue;if(a[0][x(1972)]===x(1582)){e[x(1297)]({...a[0][x(486)]});continue}const d={...i};for(const s of a)fb(s,d);e.push(d)}return r.length&&r.forEach(i=>{const a=x;i[a(1460)]!==void 0?e[a(272)](i.index,0,{...i[a(486)]}):e[a(1297)]({...i[a(486)]})}),e}function fb(n,t){const x=c;switch(n[x(1972)]){case"select":{t[x(1470)]=n[x(1470)];break}case"position":{typeof n.position!==x(758)&&(t.position=n[x(895)]),typeof n[x(2036)]!==x(758)&&(t.dragging=n.dragging);break}case"dimensions":{typeof n[x(1201)]<"u"&&(t[x(1285)]={...n[x(1201)]},n[x(2023)]&&((n[x(2023)]===!0||n[x(2023)]===x(687))&&(t[x(687)]=n.dimensions[x(687)]),(n[x(2023)]===!0||n[x(2023)]===x(500))&&(t[x(500)]=n[x(1201)][x(500)]))),typeof n.resizing===x(782)&&(t[x(1560)]=n[x(1560)]);break}}}function ka(n,t){return Sa(n,t)}function Pa(n,t){return Sa(n,t)}function V0(n,t){return{id:n,type:c(635),selected:t}}function fn(n,t=new Set,x=!1){const e=c,o=[];for(const[r,i]of n){const a=t[e(663)](r);!(i[e(1470)]===void 0&&!a)&&i.selected!==a&&(x&&(i[e(1470)]=a),o[e(1297)](V0(i.id,a)))}return o}function Ia({items:n=[],lookup:t}){const x=c,e=[],o=new Map(n[x(802)](r=>[r.id,r]));for(const[r,i]of n[x(889)]()){const a=t[x(1519)](i.id),d=a?.[x(1752)]?.[x(1602)]??a;d!==void 0&&d!==i&&e[x(1297)]({id:i.id,item:i,type:x(1582)}),d===void 0&&e[x(1297)]({item:i,type:x(315),index:r})}for(const[r]of t)o.get(r)===void 0&&e[x(1297)]({id:r,type:x(1575)});return e}function Aa(n){return{id:n.id,type:"remove"}}const Ea=n=>Of(n),bb=n=>pi(n);function ja(n){return L[c(1604)](n)}function Ya(n){const t=c,[x,e]=L.useState(BigInt(0)),[o]=L[t(1183)](()=>hb(()=>e(r=>r+BigInt(1))));return lo(()=>{const r=t,i=o[r(1519)]();i.length&&(n(i),o.reset())},[x]),o}function hb(n){let t=[];return{get:()=>t,reset:()=>{t=[]},push:x=>{t[_0x1826(1297)](x),n()}}}const Ua=L[c(1953)](null);function gb({children:n}){const t=c,x=Pe(),e=L[t(1179)](d=>{const s=t,{nodes:u=[],setNodes:f,hasDefaultNodes:g,onNodesChange:b,nodeLookup:w,fitViewQueued:y,onNodesChangeMiddlewareMap:h}=x[s(356)]();let C=u;for(const v of d)C=typeof v=="function"?v(C):v;let p=Ia({items:C,lookup:w});for(const v of h[s(1909)]())p=v(p);g&&f(C),p[s(2088)]>0?b?.(p):y&&window[s(1615)](()=>{const{fitViewQueued:v,nodes:m,setNodes:M}=x.getState();v&&M(m)})},[]),o=Ya(e),r=L[t(1179)](d=>{const s=t,{edges:u=[],setEdges:f,hasDefaultEdges:g,onEdgesChange:b,edgeLookup:w}=x[s(356)]();let y=u;for(const h of d)y=typeof h===s(828)?h(y):h;g?f(y):b&&b(Ia({items:y,lookup:w}))},[]),i=Ya(r),a=L[t(662)](()=>({nodeQueue:o,edgeQueue:i}),[]);return l[t(1838)](Ua[t(849)],{value:a,children:n})}function yb(){const n=c,t=L[n(1528)](Ua);if(!t)throw new Error(n(1897));return t}const mb=n=>!!n[c(288)];function uo(){const n=c,t=ub(),x=Pe(),e=yb(),o=Be(mb),r=L[n(662)](()=>{const i=n,a=b=>x[i(356)]()[i(1568)][i(1519)](b),d=b=>{const w=i;e[w(831)][w(1297)](b)},s=b=>{const w=i;e[w(586)][w(1297)](b)},u=b=>{const w=i,{nodeLookup:y,nodeOrigin:h}=x[w(356)](),C=Ea(b)?b:y[w(1519)](b.id),p=C[w(684)]?ki(C.position,C[w(1285)],C[w(684)],y,h):C[w(895)],v={...C,position:p,width:C[w(1285)]?.width??C[w(687)],height:C.measured?.[w(500)]??C[w(500)]};return cn(v)},f=(b,w,y={replace:!1})=>{const h=i;d(C=>C[h(802)](p=>{const v=h;if(p.id===b){const m=typeof w===v(828)?w(p):w;return y[v(1582)]&&Ea(m)?m:{...p,...m}}return p}))},g=(b,w,y={replace:!1})=>{const h=i;s(C=>C[h(802)](p=>{const v=h;if(p.id===b){const m=typeof w===v(828)?w(p):w;return y[v(1582)]&&bb(m)?m:{...p,...m}}return p}))};return{getNodes:()=>x[i(356)]()[i(906)][i(802)](b=>({...b})),getNode:b=>a(b)?.internals[i(1602)],getInternalNode:a,getEdges:()=>{const b=i,{edges:w=[]}=x[b(356)]();return w[b(802)](y=>({...y}))},getEdge:b=>x[i(356)]()[i(1124)][i(1519)](b),setNodes:d,setEdges:s,addNodes:b=>{const w=i,y=Array.isArray(b)?b:[b];e[w(831)][w(1297)](h=>[...h,...y])},addEdges:b=>{const w=i,y=Array[w(915)](b)?b:[b];e[w(586)].push(h=>[...h,...y])},toObject:()=>{const b=i,{nodes:w=[],edges:y=[],transform:h}=x.getState(),[C,p,v]=h;return{nodes:w[b(802)](m=>({...m})),edges:y[b(802)](m=>({...m})),viewport:{x:C,y:p,zoom:v}}},deleteElements:async({nodes:b=[],edges:w=[]})=>{const y=i,{nodes:h,edges:C,onNodesDelete:p,onEdgesDelete:v,triggerNodeChanges:m,triggerEdgeChanges:M,onDelete:I,onBeforeDelete:Y}=x.getState(),{nodes:G,edges:V}=await qf({nodesToRemove:b,edgesToRemove:w,nodes:h,edges:C,onBeforeDelete:Y}),U=V[y(2088)]>0,Q=G[y(2088)]>0;if(U){const W=V.map(Aa);v?.(V),M(W)}if(Q){const W=G[y(802)](Aa);p?.(G),m(W)}return(Q||U)&&I?.({nodes:G,edges:V}),{deletedNodes:G,deletedEdges:V}},getIntersectingNodes:(b,w=!0,y)=>{const h=Li(b),C=h?b:u(b),p=y!==void 0;return C?(y||x.getState().nodes).filter(v=>{const m=_0x1826,M=x[m(356)]()[m(1568)][m(1519)](v.id);if(M&&!h&&(v.id===b.id||!M[m(1752)].positionAbsolute))return!1;const I=cn(p?v:M),Y=qn(I,C);return w&&Y>0||Y>=I[m(687)]*I[m(500)]||Y>=C.width*C.height}):[]},isNodeIntersecting:(b,w,y=!0)=>{const h=i,C=Li(b),p=C?b:u(b);if(!p)return!1;const v=qn(p,w);return y&&v>0||v>=w[h(687)]*w.height||v>=p[h(687)]*p[h(500)]},updateNode:f,updateNodeData:(b,w,y={replace:!1})=>{f(b,h=>{const C=_0x1826,p=typeof w=="function"?w(h):w;return y[C(1582)]?{...h,data:p}:{...h,data:{...h[C(896)],...p}}},y)},updateEdge:g,updateEdgeData:(b,w,y={replace:!1})=>{g(b,h=>{const C=_0x1826,p=typeof w===C(828)?w(h):w;return y.replace?{...h,data:p}:{...h,data:{...h[C(896)],...p}}},y)},getNodesBounds:b=>{const w=i,{nodeLookup:y,nodeOrigin:h}=x[w(356)]();return Gf(b,{nodeLookup:y,nodeOrigin:h})},getHandleConnections:({type:b,id:w,nodeId:y})=>Array[i(2029)](x[i(356)]()[i(1606)][i(1519)](y+"-"+b+(w?"-"+w:""))?.values()??[]),getNodeConnections:({type:b,handleId:w,nodeId:y})=>Array[i(2029)](x.getState()[i(1606)][i(1519)](""+y+(b?w?"-"+b+"-"+w:"-"+b:""))?.[i(1909)]()??[]),fitView:async b=>{const w=i,y=x[w(356)]().fitViewResolver??Kf();return x.setState({fitViewQueued:!0,fitViewOptions:b,fitViewResolver:y}),e[w(831)][w(1297)](h=>[...h]),y.promise}}},[]);return L[n(662)](()=>({...r,...t,viewportInitialized:o}),[o])}const Oa=n=>n[c(1470)],vb=typeof window!==c(758)?window:void 0;function wb({deleteKeyCode:n,multiSelectionKeyCode:t}){const x=c,e=Pe(),{deleteElements:o}=uo(),r=Rn(n,{actInsideInputWithModifier:!1}),i=Rn(t,{target:vb});L.useEffect(()=>{const a=_0x1826;if(r){const{edges:d,nodes:s}=e.getState();o({nodes:s[a(891)](Oa),edges:d.filter(Oa)}),e.setState({nodesSelectionActive:!1})}},[r]),L[x(1046)](()=>{e[x(1121)]({multiSelectionActive:i})},[i])}function pb(n){const t=c,x=Pe();L[t(1046)](()=>{const e=t,o=()=>{const r=_0x1826;if(!n[r(1621)]||!(n.current.checkVisibility?.()??!0))return!1;const i=Zx(n[r(1621)]);(i[r(500)]===0||i.width===0)&&x.getState()[r(1383)]?.(r(1381),Ke[r(862)]()),x[r(1121)]({width:i[r(687)]||500,height:i.height||500})};if(n[e(1621)]){o(),window[e(1619)](e(1716),o);const r=new ResizeObserver(()=>o());return r[e(1588)](n[e(1621)]),()=>{const i=e;window[i(1581)](i(1716),o),r&&n.current&&r[i(603)](n[i(1621)])}}},[])}const Zt={position:c(654),width:"100%",height:"100%",top:0,left:0},zb=n=>({userSelectionActive:n.userSelectionActive,lib:n[c(504)],connectionInProgress:n[c(698)][c(1452)]});function Cb({onPaneContextMenu:n,zoomOnScroll:t=!0,zoomOnPinch:x=!0,panOnScroll:e=!1,panOnScrollSpeed:o=.5,panOnScrollMode:r=U0[c(2012)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:d,translateExtent:s,minZoom:u,maxZoom:f,zoomActivationKeyCode:g,preventScrolling:b=!0,children:w,noWheelClassName:y,noPanClassName:h,onViewportChange:C,isControlledViewport:p,paneClickDistance:v,selectionOnDrag:m}){const M=c,I=Pe(),Y=L.useRef(null),{userSelectionActive:G,lib:V,connectionInProgress:U}=Be(zb,ke),Q=Rn(g),W=L[M(270)]();pb(Y);const q=L[M(1179)](T=>{const B=M;C?.({x:T[0],y:T[1],zoom:T[2]}),!p&&I[B(1121)]({transform:T})},[C,p]);return L.useEffect(()=>{const T=M;if(Y[T(1621)]){W[T(1621)]=N5({domNode:Y[T(1621)],minZoom:u,maxZoom:f,translateExtent:s,viewport:d,onDraggingChange:E=>I[T(1121)](P=>P[T(1206)]===E?P:{paneDragging:E}),onPanZoomStart:(E,P)=>{const k=T,{onViewportChangeStart:Z,onMoveStart:_}=I[k(356)]();_?.(E,P),Z?.(P)},onPanZoom:(E,P)=>{const k=T,{onViewportChange:Z,onMove:_}=I[k(356)]();_?.(E,P),Z?.(P)},onPanZoomEnd:(E,P)=>{const k=T,{onViewportChangeEnd:Z,onMoveEnd:_}=I[k(356)]();_?.(E,P),Z?.(P)}});const{x:B,y:D,zoom:N}=W[T(1621)][T(2043)]();return I[T(1121)]({panZoom:W[T(1621)],transform:[B,D,N],domNode:Y[T(1621)][T(1994)](T(815))}),()=>{W.current?.destroy()}}},[]),L[M(1046)](()=>{const T=M;W[T(1621)]?.[T(637)]({onPaneContextMenu:n,zoomOnScroll:t,zoomOnPinch:x,panOnScroll:e,panOnScrollSpeed:o,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:Q,preventScrolling:b,noPanClassName:h,userSelectionActive:G,noWheelClassName:y,lib:V,onTransformChange:q,connectionInProgress:U,selectionOnDrag:m,paneClickDistance:v})},[n,t,x,e,o,r,i,a,Q,b,h,G,y,V,q,U,m,v]),l[M(1838)](M(701),{className:"react-flow__renderer",ref:Y,style:Zt,children:w})}const Mb=n=>({userSelectionActive:n[c(900)],userSelectionRect:n[c(1864)]});function Bb(){const n=c,{userSelectionActive:t,userSelectionRect:x}=Be(Mb,ke);return t&&x?l[n(1838)](n(701),{className:n(1311),style:{width:x[n(687)],height:x[n(500)],transform:n(1308)+x.x+"px, "+x.y+n(334)}}):null}const fo=(n,t)=>x=>{x[_0x1826(1917)]===t.current&&n?.(x)},Db=n=>({userSelectionActive:n[c(900)],elementsSelectable:n[c(1203)],connectionInProgress:n[c(698)][c(1452)],dragging:n[c(1206)]});function Lb({isSelecting:n,selectionKeyPressed:t,selectionMode:x=Vn[c(1031)],panOnDrag:e,paneClickDistance:o,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:u,onPaneMouseEnter:f,onPaneMouseMove:g,onPaneMouseLeave:b,children:w}){const y=c,h=Pe(),{userSelectionActive:C,elementsSelectable:p,dragging:v,connectionInProgress:m}=Be(Db,ke),M=p&&(n||C),I=L[y(270)](null),Y=L[y(270)](),G=L[y(270)](new Set),V=L[y(270)](new Set),U=L.useRef(!1),Q=P=>{const k=y;if(U[k(1621)]||m){U.current=!1;return}d?.(P),h[k(356)]()[k(473)](),h[k(1121)]({nodesSelectionActive:!1})},W=P=>{const k=y;if(Array[k(915)](e)&&e?.includes(2)){P[k(308)]();return}s?.(P)},q=u?P=>u(P):void 0,T=P=>{const k=y;U.current&&(P[k(776)](),U.current=!1)},B=P=>{const k=y,{domNode:Z}=h.getState();if(Y[k(1621)]=Z?.getBoundingClientRect(),!Y.current)return;const _=P.target===I.current;if(!_&&!!P[k(1917)][k(1994)](k(522))||!n||!(r&&_||t)||P.button!==0||!P[k(1709)])return;P.target?.[k(1842)]?.(P[k(1899)]),U.current=!1;const{x:te,y:ee}=n0(P[k(329)],Y[k(1621)]);h[k(1121)]({userSelectionRect:{width:0,height:0,startX:te,startY:ee,x:te,y:ee}}),!_&&(P[k(776)](),P.preventDefault())},D=P=>{const k=y,{userSelectionRect:Z,transform:_,nodeLookup:J,edgeLookup:$,connectionLookup:te,triggerNodeChanges:ee,triggerEdgeChanges:re,defaultEdgeOptions:ce,resetSelectedElements:ie}=h[k(356)]();if(!Y.current||!Z)return;const{x:F,y:le}=n0(P.nativeEvent,Y[k(1621)]),{startX:S,startY:A}=Z;if(!U[k(1621)]){const fe=t?0:o;if(Math[k(1489)](F-S,le-A)<=fe)return;ie(),i?.(P)}U[k(1621)]=!0;const K={startX:S,startY:A,x:F<S?F:S,y:le<A?le:A,width:Math.abs(F-S),height:Math.abs(le-A)},X=G.current,H=V.current;G[k(1621)]=new Set(Wx(J,K,_,x===Vn.Partial,!0)[k(802)](fe=>fe.id)),V[k(1621)]=new Set;const ae=ce?.[k(399)]??!0;for(const fe of G[k(1621)]){const me=te[k(1519)](fe);if(me)for(const{edgeId:he}of me.values()){const pe=$[k(1519)](he);pe&&(pe[k(399)]??ae)&&V[k(1621)][k(315)](he)}}if(!Pi(X,G[k(1621)])){const fe=fn(J,G[k(1621)],!0);ee(fe)}if(!Pi(H,V[k(1621)])){const fe=fn($,V[k(1621)]);re(fe)}h[k(1121)]({userSelectionRect:K,userSelectionActive:!0,nodesSelectionActive:!1})},N=P=>{const k=y;P.button===0&&(P.target?.[k(1007)]?.(P[k(1899)]),!C&&P[k(1917)]===I[k(1621)]&&h.getState()[k(1864)]&&Q?.(P),h.setState({userSelectionActive:!1,userSelectionRect:null}),U[k(1621)]&&(a?.(P),h[k(1121)]({nodesSelectionActive:G[k(1621)][k(1424)]>0})))},E=e===!0||Array[y(915)](e)&&e[y(1052)](0);return l.jsxs(y(701),{className:Ae([y(876),{draggable:E,dragging:v,selection:n}]),onClick:M?void 0:fo(Q,I),onContextMenu:fo(W,I),onWheel:fo(q,I),onPointerEnter:M?void 0:f,onPointerMove:M?D:g,onPointerUp:M?N:void 0,onPointerDownCapture:M?B:void 0,onClickCapture:M?T:void 0,onPointerLeave:b,ref:I,style:Zt,children:[w,l.jsx(Bb,{})]})}function bo({id:n,store:t,unselect:x=!1,nodeRef:e}){const o=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:d,onError:s}=t[o(356)](),u=d.get(n);if(!u){s?.("012",Ke[o(641)](n));return}t.setState({nodesSelectionActive:!1}),u[o(1470)]?(x||u.selected&&a)&&(i({nodes:[u],edges:[]}),requestAnimationFrame(()=>e?.[o(1621)]?.[o(1371)]())):r([n])}function Ga({nodeRef:n,disabled:t=!1,noDragClassName:x,handleSelector:e,nodeId:o,isSelectable:r,nodeClickDistance:i}){const a=c,d=Pe(),[s,u]=L.useState(!1),f=L[a(270)]();return L[a(1046)](()=>{const g=a;f[g(1621)]=b5({getStoreItems:()=>d[g(356)](),onNodeMouseDown:b=>{bo({id:b,store:d,nodeRef:n})},onDragStart:()=>{u(!0)},onDragStop:()=>{u(!1)}})},[]),L[a(1046)](()=>{const g=a;if(!(t||!n[g(1621)]||!f[g(1621)]))return f[g(1621)][g(637)]({noDragClassName:x,handleSelector:e,domNode:n[g(1621)],isSelectable:r,nodeId:o,nodeClickDistance:i}),()=>{const b=g;f[b(1621)]?.[b(880)]()}},[x,e,t,r,n,o,i]),s}const Nb=n=>t=>t[c(1470)]&&(t[c(1537)]||n&&typeof t[c(1537)]>"u");function Va(){const n=c,t=Pe();return L[n(1179)](e=>{const o=n,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:d,onError:s,updateNodePositions:u,nodeLookup:f,nodeOrigin:g}=t[o(356)](),b=new Map,w=Nb(d),y=i?a[0]:5,h=i?a[1]:5,C=e[o(1369)].x*y*e[o(2e3)],p=e[o(1369)].y*h*e[o(2e3)];for(const[,v]of f){if(!w(v))continue;let m={x:v[o(1752)][o(1053)].x+C,y:v[o(1752)][o(1053)].y+p};i&&(m=Wn(m,a));const{position:M,positionAbsolute:I}=zi({nodeId:v.id,nextPosition:m,nodeLookup:f,nodeExtent:r,nodeOrigin:g,onError:s});v[o(895)]=M,v.internals.positionAbsolute=I,b[o(2010)](v.id,v)}u(b)},[])}const ho=L.createContext(null),Sb=ho[c(849)];ho[c(761)];const Ha=()=>L.useContext(ho),kb=n=>({connectOnClick:n[c(1216)],noPanClassName:n[c(1437)],rfId:n[c(1755)]}),Pb=(n,t,x)=>e=>{const o=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=e,{fromHandle:d,toHandle:s,isValid:u}=a,f=s?.[o(2093)]===n&&s?.id===t&&s?.[o(1972)]===x;return{connectingFrom:d?.[o(2093)]===n&&d?.id===t&&d?.[o(1972)]===x,connectingTo:f,clickConnecting:r?.[o(2093)]===n&&r?.id===t&&r?.[o(1972)]===x,isPossibleEndHandle:i===rn[o(2045)]?d?.[o(1972)]!==x:n!==d?.[o(2093)]||t!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:f&&u}};function Ib({type:n="source",position:t=ue[c(478)],isValidConnection:x,isConnectable:e=!0,isConnectableStart:o=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:d,className:s,onMouseDown:u,onTouchStart:f,...g},b){const w=c,y=i||null,h=n===w(1917),C=Pe(),p=Ha(),{connectOnClick:v,noPanClassName:m,rfId:M}=Be(kb,ke),{connectingFrom:I,connectingTo:Y,clickConnecting:G,isPossibleEndHandle:V,connectionInProcess:U,clickConnectionInProcess:Q,valid:W}=Be(Pb(p,y,n),ke);!p&&C.getState().onError?.(w(1563),Ke[w(1222)]());const q=D=>{const N=w,{defaultEdgeOptions:E,onConnect:P,hasDefaultEdges:k}=C[N(356)](),Z={...E,...D};if(k){const{edges:_,setEdges:J}=C[N(356)]();J(Vi(Z,_))}P?.(Z),a?.(Z)},T=D=>{const N=w;if(!p)return;const E=Ei(D[N(329)]);if(o&&(E&&D[N(634)]===0||!E)){const P=C.getState();xo[N(1720)](D[N(329)],{handleDomNode:D[N(2042)],autoPanOnConnect:P[N(649)],connectionMode:P.connectionMode,connectionRadius:P[N(1908)],domNode:P.domNode,nodeLookup:P[N(1568)],lib:P.lib,isTarget:h,handleId:y,nodeId:p,flowId:P[N(1755)],panBy:P[N(2073)],cancelConnection:P.cancelConnection,onConnectStart:P[N(2081)],onConnectEnd:(...k)=>C[N(356)]()[N(436)]?.(...k),updateConnection:P.updateConnection,onConnect:q,isValidConnection:x||((...k)=>C[N(356)]()[N(793)]?.(...k)??!0),getTransform:()=>C[N(356)]()[N(1430)],getFromHandle:()=>C.getState()[N(698)][N(544)],autoPanSpeed:P[N(1090)],dragThreshold:P[N(1130)]})}E?u?.(D):f?.(D)},B=D=>{const N=w,{onClickConnectStart:E,onClickConnectEnd:P,connectionClickStartHandle:k,connectionMode:Z,isValidConnection:_,lib:J,rfId:$,nodeLookup:te,connection:ee}=C[N(356)]();if(!p||!k&&!o)return;if(!k){E?.(D.nativeEvent,{nodeId:p,handleId:y,handleType:n}),C[N(1121)]({connectionClickStartHandle:{nodeId:p,type:n,id:y}});return}const re=Ii(D[N(1917)]),ce=x||_,{connection:ie,isValid:F}=xo[N(1218)](D[N(329)],{handle:{nodeId:p,id:y,type:n},connectionMode:Z,fromNodeId:k.nodeId,fromHandleId:k.id||null,fromType:k[N(1972)],isValidConnection:ce,flowId:$,doc:re,lib:J,nodeLookup:te});F&&ie&&q(ie);const le=structuredClone(ee);delete le.inProgress,le[N(1103)]=le[N(1407)]?le[N(1407)][N(895)]:null,P?.(D,le),C.setState({connectionClickStartHandle:null})};return l[w(1838)](w(701),{"data-handleid":y,"data-nodeid":p,"data-handlepos":t,"data-id":M+"-"+p+"-"+y+"-"+n,className:Ae([w(1854),w(1364)+t,"nodrag",m,s,{source:!h,target:h,connectable:e,connectablestart:o,connectableend:r,clickconnecting:G,connectingfrom:I,connectingto:Y,valid:W,connectionindicator:e&&(!U||V)&&(U||Q?r:o)}]),onMouseDown:T,onTouchStart:T,onClick:v?B:void 0,ref:b,...g,children:d})}const bn=L[c(1879)](ja(Ib));function Ab({data:n,isConnectable:t,sourcePosition:x=ue[c(728)]}){const e=c;return l.jsxs(l[e(561)],{children:[n?.[e(273)],l.jsx(bn,{type:"source",position:x,isConnectable:t})]})}function Eb({data:n,isConnectable:t,targetPosition:x=ue[c(478)],sourcePosition:e=ue[c(728)]}){const o=c;return l[o(328)](l.Fragment,{children:[l[o(1838)](bn,{type:o(1917),position:x,isConnectable:t}),n?.label,l.jsx(bn,{type:o(1969),position:e,isConnectable:t})]})}function jb(){return null}function Yb({data:n,isConnectable:t,targetPosition:x=ue[c(478)]}){const e=c;return l[e(328)](l.Fragment,{children:[l.jsx(bn,{type:e(1917),position:x,isConnectable:t}),n?.[e(273)]]})}const Rt={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Ta={input:Ab,default:Eb,output:Yb,group:jb};function Ub(n){const t=c;return n[t(1752)][t(879)]===void 0?{width:n[t(687)]??n[t(983)]??n[t(2062)]?.[t(687)],height:n.height??n[t(1162)]??n[t(2062)]?.[t(500)]}:{width:n[t(687)]??n[t(2062)]?.[t(687)],height:n.height??n[t(2062)]?.[t(500)]}}const Ob=n=>{const t=c,{width:x,height:e,x:o,y:r}=Tn(n.nodeLookup,{filter:i=>!!i.selected});return{width:e0(x)?x:null,height:e0(e)?e:null,userSelectionActive:n[t(900)],transformString:"translate("+n[t(1430)][0]+t(2028)+n[t(1430)][1]+"px) scale("+n[t(1430)][2]+t(1525)+o+t(2028)+r+t(334)}};function Gb({onSelectionContextMenu:n,noPanClassName:t,disableKeyboardA11y:x}){const e=c,o=Pe(),{width:r,height:i,transformString:a,userSelectionActive:d}=Be(Ob,ke),s=Va(),u=L[e(270)](null);L[e(1046)](()=>{const w=e;!x&&u[w(1621)]?.[w(1367)]({preventScroll:!0})},[x]);const f=!d&&r!==null&&i!==null;if(Ga({nodeRef:u,disabled:!f}),!f)return null;const g=n?w=>{const y=e,h=o.getState()[y(906)][y(891)](C=>C.selected);n(w,h)}:void 0,b=w=>{const y=e;Object[y(1843)][y(1600)][y(671)](Rt,w[y(1823)])&&(w.preventDefault(),s({direction:Rt[w[y(1823)]],factor:w[y(1390)]?4:1}))};return l[e(1838)](e(701),{className:Ae([e(383),e(1399),t]),style:{transform:a},children:l.jsx("div",{ref:u,className:e(995),onContextMenu:g,tabIndex:x?void 0:-1,onKeyDown:x?void 0:b,style:{width:r,height:i}})})}const qa=typeof window!==c(758)?window:void 0,Vb=n=>{const t=c;return{nodesSelectionActive:n[t(1718)],userSelectionActive:n[t(900)]}};function Wa({children:n,onPaneClick:t,onPaneMouseEnter:x,onPaneMouseMove:e,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:u,selectionMode:f,onSelectionStart:g,onSelectionEnd:b,multiSelectionKeyCode:w,panActivationKeyCode:y,zoomActivationKeyCode:h,elementsSelectable:C,zoomOnScroll:p,zoomOnPinch:v,panOnScroll:m,panOnScrollSpeed:M,panOnScrollMode:I,zoomOnDoubleClick:Y,panOnDrag:G,defaultViewport:V,translateExtent:U,minZoom:Q,maxZoom:W,preventScrolling:q,onSelectionContextMenu:T,noWheelClassName:B,noPanClassName:D,disableKeyboardA11y:N,onViewportChange:E,isControlledViewport:P}){const k=c,{nodesSelectionActive:Z,userSelectionActive:_}=Be(Vb,ke),J=Rn(s,{target:qa}),$=Rn(y,{target:qa}),te=$||G,ee=$||m,re=u&&te!==!0,ce=J||_||re;return wb({deleteKeyCode:d,multiSelectionKeyCode:w}),l[k(1838)](Cb,{onPaneContextMenu:r,elementsSelectable:C,zoomOnScroll:p,zoomOnPinch:v,panOnScroll:ee,panOnScrollSpeed:M,panOnScrollMode:I,zoomOnDoubleClick:Y,panOnDrag:!J&&te,defaultViewport:V,translateExtent:U,minZoom:Q,maxZoom:W,zoomActivationKeyCode:h,preventScrolling:q,noWheelClassName:B,noPanClassName:D,onViewportChange:E,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:re,children:l.jsxs(Lb,{onSelectionStart:g,onSelectionEnd:b,onPaneClick:t,onPaneMouseEnter:x,onPaneMouseMove:e,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:te,isSelecting:!!ce,selectionMode:f,selectionKeyPressed:J,paneClickDistance:a,selectionOnDrag:re,children:[n,Z&&l.jsx(Gb,{onSelectionContextMenu:T,noPanClassName:D,disableKeyboardA11y:N})]})})}Wa.displayName=c(1192);const Hb=L[c(1879)](Wa),Tb=n=>t=>{const x=c;return n?Wx(t[x(1568)],{x:0,y:0,width:t[x(687)],height:t.height},t[x(1430)],!0)[x(802)](e=>e.id):Array[x(2029)](t[x(1568)][x(1775)]())};function qb(n){return Be(L[c(1179)](Tb(n),[n]),ke)}const Wb=n=>n.updateNodeInternals;function Xb(){const n=c,t=Be(Wb),[x]=L[n(1183)](()=>typeof ResizeObserver>"u"?null:new ResizeObserver(e=>{const o=_0x1826,r=new Map;e[o(1105)](i=>{const a=o,d=i[a(1917)].getAttribute("data-id");r[a(2010)](d,{id:d,nodeElement:i[a(1917)],force:!0})}),t(r)}));return L[n(1046)](()=>()=>{x?.[_0x1826(1901)]()},[x]),x}function Kb({node:n,nodeType:t,hasDimensions:x,resizeObserver:e}){const o=c,r=Pe(),i=L[o(270)](null),a=L[o(270)](null),d=L[o(270)](n.sourcePosition),s=L[o(270)](n.targetPosition),u=L.useRef(t),f=x&&!!n.internals[o(879)];return L.useEffect(()=>{const g=o;i[g(1621)]&&!n[g(1276)]&&(!f||a[g(1621)]!==i[g(1621)])&&(a[g(1621)]&&e?.[g(603)](a[g(1621)]),e?.[g(1588)](i[g(1621)]),a[g(1621)]=i.current)},[f,n[o(1276)]]),L.useEffect(()=>()=>{const g=_0x1826;a.current&&(e?.[g(603)](a.current),a[g(1621)]=null)},[]),L[o(1046)](()=>{const g=o;if(i.current){const b=u[g(1621)]!==t,w=d[g(1621)]!==n[g(1790)],y=s[g(1621)]!==n[g(1322)];(b||w||y)&&(u[g(1621)]=t,d[g(1621)]=n[g(1790)],s[g(1621)]=n[g(1322)],r[g(356)]()[g(606)](new Map([[n.id,{id:n.id,nodeElement:i[g(1621)],force:!0}]])))}},[n.id,t,n[o(1790)],n[o(1322)]]),i}function Zb({id:n,onClick:t,onMouseEnter:x,onMouseMove:e,onMouseLeave:o,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:d,nodesConnectable:s,nodesFocusable:u,resizeObserver:f,noDragClassName:g,noPanClassName:b,disableKeyboardA11y:w,rfId:y,nodeTypes:h,nodeClickDistance:C,onError:p}){const v=c,{node:m,internals:M,isParent:I}=Be(ie=>{const F=_0x1826,le=ie[F(1568)][F(1519)](n),S=ie[F(318)].has(n);return{node:le,internals:le[F(1752)],isParent:S}},ke);let Y=m[v(1972)]||"default",G=h?.[Y]||Ta[Y];G===void 0&&(p?.(v(2030),Ke[v(812)](Y)),Y=v(267),G=h?.default||Ta[v(267)]);const V=!!(m[v(1537)]||a&&typeof m[v(1537)]===v(758)),U=!!(m[v(399)]||d&&typeof m[v(399)]===v(758)),Q=!!(m[v(1957)]||s&&typeof m[v(1957)]===v(758)),W=!!(m[v(748)]||u&&typeof m[v(748)]===v(758)),q=Pe(),T=Si(m),B=Kb({node:m,nodeType:Y,hasDimensions:T,resizeObserver:f}),D=Ga({nodeRef:B,disabled:m.hidden||!V,noDragClassName:g,handleSelector:m[v(1832)],nodeId:n,isSelectable:U,nodeClickDistance:C}),N=Va();if(m[v(1276)])return null;const E=b0(m),P=Ub(m),k=U||V||t||x||e||o,Z=x?ie=>x(ie,{...M.userNode}):void 0,_=e?ie=>e(ie,{...M[v(1602)]}):void 0,J=o?ie=>o(ie,{...M[v(1602)]}):void 0,$=r?ie=>r(ie,{...M[v(1602)]}):void 0,te=i?ie=>i(ie,{...M[v(1602)]}):void 0,ee=ie=>{const F=v,{selectNodesOnDrag:le,nodeDragThreshold:S}=q[F(356)]();U&&(!le||!V||S>0)&&bo({id:n,store:q,nodeRef:B}),t&&t(ie,{...M.userNode})},re=ie=>{const F=v;if(!(Ai(ie[F(329)])||w)){if(gi[F(1052)](ie.key)&&U){const le=ie.key===F(1924);bo({id:n,store:q,unselect:le,nodeRef:B})}else if(V&&m[F(1470)]&&Object[F(1843)][F(1600)][F(671)](Rt,ie.key)){ie[F(308)]();const{ariaLabelConfig:le}=q[F(356)]();q[F(1121)]({ariaLiveMessage:le[F(300)]({direction:ie.key[F(1582)](F(1869),"").toLowerCase(),x:~~M[F(1053)].x,y:~~M[F(1053)].y})}),N({direction:Rt[ie[F(1823)]],factor:ie[F(1390)]?4:1})}}},ce=()=>{const ie=v;if(w||!B[ie(1621)]?.[ie(1294)](ie(636)))return;const{transform:F,width:le,height:S,autoPanOnNodeFocus:A,setCenter:K}=q[ie(356)]();if(!A)return;!(Wx(new Map([[n,m]]),{x:0,y:0,width:le,height:S},F,!0)[ie(2088)]>0)&&K(m.position.x+E[ie(687)]/2,m[ie(895)].y+E[ie(500)]/2,{zoom:F[2]})};return l[v(1838)]("div",{className:Ae([v(314),v(1152)+Y,{[b]:V},m[v(1523)],{selected:m[v(1470)],selectable:U,parent:I,draggable:V,dragging:D}]),ref:B,style:{zIndex:M.z,transform:v(1308)+M[v(1053)].x+v(2028)+M[v(1053)].y+v(334),pointerEvents:k?"all":v(582),visibility:v(T?1084:1276),...m[v(2062)],...P},"data-id":n,"data-testid":v(1397)+n,onMouseEnter:Z,onMouseMove:_,onMouseLeave:J,onContextMenu:$,onClick:ee,onDoubleClick:te,onKeyDown:W?re:void 0,tabIndex:W?0:void 0,onFocus:W?ce:void 0,role:m[v(1429)]??(W?v(1984):void 0),"aria-roledescription":"node","aria-describedby":w?void 0:wa+"-"+y,"aria-label":m[v(1293)],...m[v(1892)],children:l[v(1838)](Sb,{value:n,children:l[v(1838)](G,{id:n,data:m.data,type:Y,positionAbsoluteX:M[v(1053)].x,positionAbsoluteY:M.positionAbsolute.y,selected:m[v(1470)]??!1,selectable:U,draggable:V,deletable:m[v(1520)]??!0,isConnectable:Q,sourcePosition:m[v(1790)],targetPosition:m.targetPosition,dragging:D,dragHandle:m[v(1832)],zIndex:M.z,parentId:m[v(684)],...E})})})}var Rb=L[c(1879)](Zb);const Jb=n=>({nodesDraggable:n[c(1344)],nodesConnectable:n[c(941)],nodesFocusable:n[c(428)],elementsSelectable:n[c(1203)],onError:n[c(1383)]});function Xa(n){const t=c,{nodesDraggable:x,nodesConnectable:e,nodesFocusable:o,elementsSelectable:r,onError:i}=Be(Jb,ke),a=qb(n[t(1701)]),d=Xb();return l[t(1838)](t(701),{className:t(581),style:Zt,children:a[t(802)](s=>{const u=t;return l[u(1838)](Rb,{id:s,nodeTypes:n.nodeTypes,nodeExtent:n[u(1375)],onClick:n[u(760)],onMouseEnter:n[u(1281)],onMouseMove:n[u(445)],onMouseLeave:n.onNodeMouseLeave,onContextMenu:n.onNodeContextMenu,onDoubleClick:n[u(2051)],noDragClassName:n[u(2085)],noPanClassName:n[u(1437)],rfId:n.rfId,disableKeyboardA11y:n.disableKeyboardA11y,resizeObserver:d,nodesDraggable:x,nodesConnectable:e,nodesFocusable:o,elementsSelectable:r,nodeClickDistance:n.nodeClickDistance,onError:i},s)})})}Xa.displayName="NodeRenderer";const _b=L[c(1879)](Xa);function Qb(n){const t=c;return Be(L[t(1179)](e=>{const o=t;if(!n)return e[o(2048)][o(802)](i=>i.id);const r=[];if(e[o(687)]&&e.height)for(const i of e.edges){const a=e[o(1568)][o(1519)](i[o(1969)]),d=e[o(1568)][o(1519)](i[o(1917)]);a&&d&&_f({sourceNode:a,targetNode:d,width:e[o(687)],height:e[o(500)],transform:e[o(1430)]})&&r[o(1297)](i.id)}return r},[n]),ke)}const Fb=({color:n=c(582),strokeWidth:t=1})=>{const x=c,e={strokeWidth:t,...n&&{stroke:n}};return l[x(1838)](x(2098),{className:x(1990),style:e,strokeLinecap:x(938),fill:x(582),strokeLinejoin:"round",points:x(1116)})},$b=({color:n="none",strokeWidth:t=1})=>{const x=c,e={strokeWidth:t,...n&&{stroke:n,fill:n}};return l.jsx(x(2098),{className:x(2011),style:e,strokeLinecap:"round",strokeLinejoin:x(938),points:x(1395)})},Ka={[Et[c(1869)]]:Fb,[Et.ArrowClosed]:$b};function e2(n){const t=c,x=Pe();return L[t(662)](()=>{const o=t;return Object[o(1843)][o(1600)][o(671)](Ka,n)?Ka[n]:(x[o(356)]()[o(1383)]?.("009",Ke[o(1354)](n)),null)},[n])}const n2=({id:n,type:t,color:x,width:e=12.5,height:o=12.5,markerUnits:r=c(1647),strokeWidth:i,orient:a=c(1739)})=>{const d=c,s=e2(t);return s?l[d(1838)](d(1598),{className:d(1706),id:n,markerWidth:""+e,markerHeight:""+o,viewBox:"-10 -10 20 20",markerUnits:r,orient:a,refX:"0",refY:"0",children:l[d(1838)](s,{color:x,strokeWidth:i})}):null},Za=({defaultColor:n,rfId:t})=>{const x=c,e=Be(i=>i[x(2048)]),o=Be(i=>i[x(2071)]),r=L[x(662)](()=>{const i=x;return x5(e,{id:t,defaultColor:n,defaultMarkerStart:o?.[i(2067)],defaultMarkerEnd:o?.[i(768)]})},[e,o,t,n]);return r[x(2088)]?l.jsx(x(1521),{className:x(974),"aria-hidden":x(1403),children:l[x(1838)](x(1895),{children:r[x(802)](i=>l[x(1838)](n2,{id:i.id,type:i.type,color:i[x(575)],width:i.width,height:i[x(500)],markerUnits:i[x(1722)],strokeWidth:i.strokeWidth,orient:i[x(1307)]},i.id))})}):null};Za[c(1342)]=c(1191);var t2=L.memo(Za);function Ra({x:n,y:t,label:x,labelStyle:e,labelShowBg:o=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:d,className:s,...u}){const f=c,[g,b]=L[f(1183)]({x:1,y:0,width:0,height:0}),w=Ae(["react-flow__edge-textwrapper",s]),y=L[f(270)](null);return L.useEffect(()=>{const h=f;if(y[h(1621)]){const C=y[h(1621)][h(1698)]();b({x:C.x,y:C.y,width:C[h(687)],height:C[h(500)]})}},[x]),x?l.jsxs("g",{transform:f(1308)+(n-g[f(687)]/2)+" "+(t-g[f(500)]/2)+")",className:w,visibility:g[f(687)]?"visible":"hidden",...u,children:[o&&l.jsx("rect",{width:g[f(687)]+2*i[0],x:-i[0],y:-i[1],height:g[f(500)]+2*i[1],className:f(750),style:r,rx:a,ry:a}),l[f(1838)](f(303),{className:"react-flow__edge-text",y:g[f(500)]/2,dy:f(1945),ref:y,style:e,children:x}),d]}):null}Ra[c(1342)]=c(2034);const x2=L[c(1879)](Ra);function Jt({path:n,labelX:t,labelY:x,label:e,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d,interactionWidth:s=20,...u}){const f=c;return l.jsxs(l[f(561)],{children:[l[f(1838)]("path",{...u,d:n,fill:f(582),className:Ae([f(1847),u[f(1523)]])}),s?l[f(1838)](f(1221),{d:n,fill:"none",strokeOpacity:0,strokeWidth:s,className:"react-flow__edge-interaction"}):null,e&&e0(t)&&e0(x)?l.jsx(x2,{x:t,y:x,label:e,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d}):null]})}function Ja({pos:n,x1:t,y1:x,x2:e,y2:o}){const r=c;return n===ue[r(1591)]||n===ue[r(1467)]?[.5*(t+e),x]:[t,.5*(x+o)]}function _a({sourceX:n,sourceY:t,sourcePosition:x=ue[c(728)],targetX:e,targetY:o,targetPosition:r=ue.Top}){const[i,a]=Ja({pos:x,x1:n,y1:t,x2:e,y2:o}),[d,s]=Ja({pos:r,x1:e,y1:o,x2:n,y2:t}),[u,f,g,b]=Yi({sourceX:n,sourceY:t,targetX:e,targetY:o,sourceControlX:i,sourceControlY:a,targetControlX:d,targetControlY:s});return["M"+n+","+t+" C"+i+","+a+" "+d+","+s+" "+e+","+o,u,f,g,b]}function Qa(n){const t=c;return L[t(1879)](({id:x,sourceX:e,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:w,style:y,markerEnd:h,markerStart:C,interactionWidth:p})=>{const v=t,[m,M,I]=_a({sourceX:e,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:d}),Y=n.isInternal?void 0:x;return l[v(1838)](Jt,{id:Y,path:m,labelX:M,labelY:I,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:w,style:y,markerEnd:h,markerStart:C,interactionWidth:p})})}const o2=Qa({isInternal:!1}),Fa=Qa({isInternal:!0});o2[c(1342)]="SimpleBezierEdge",Fa[c(1342)]="SimpleBezierEdgeInternal";function $a(n){const t=c;return L[t(1879)](({id:x,sourceX:e,sourceY:o,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:g,style:b,sourcePosition:w=ue[t(728)],targetPosition:y=ue.Top,markerEnd:h,markerStart:C,pathOptions:p,interactionWidth:v})=>{const m=t,[M,I,Y]=Rx({sourceX:e,sourceY:o,sourcePosition:w,targetX:r,targetY:i,targetPosition:y,borderRadius:p?.[m(756)],offset:p?.[m(893)],stepPosition:p?.[m(1229)]}),G=n[m(1059)]?void 0:x;return l[m(1838)](Jt,{id:G,path:M,labelX:I,labelY:Y,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:u,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:h,markerStart:C,interactionWidth:v})})}const ec=$a({isInternal:!1}),nc=$a({isInternal:!0});ec[c(1342)]=c(604),nc.displayName=c(987);function tc(n){const t=c;return L[t(1879)](({id:x,...e})=>{const o=t,r=n.isInternal?void 0:x;return l[o(1838)](ec,{...e,id:r,pathOptions:L[o(662)](()=>({borderRadius:0,offset:e[o(1853)]?.offset}),[e[o(1853)]?.[o(893)]])})})}const r2=tc({isInternal:!1}),xc=tc({isInternal:!0});r2.displayName="StepEdge",xc.displayName=c(835);function oc(n){return L.memo(({id:t,sourceX:x,sourceY:e,targetX:o,targetY:r,label:i,labelStyle:a,labelShowBg:d,labelBgStyle:s,labelBgPadding:u,labelBgBorderRadius:f,style:g,markerEnd:b,markerStart:w,interactionWidth:y})=>{const h=_0x1826,[C,p,v]=Hi({sourceX:x,sourceY:e,targetX:o,targetY:r}),m=n[h(1059)]?void 0:t;return l[h(1838)](Jt,{id:m,path:C,labelX:p,labelY:v,label:i,labelStyle:a,labelShowBg:d,labelBgStyle:s,labelBgPadding:u,labelBgBorderRadius:f,style:g,markerEnd:b,markerStart:w,interactionWidth:y})})}const i2=oc({isInternal:!1}),rc=oc({isInternal:!0});i2.displayName=c(2102),rc[c(1342)]=c(1180);function ic(n){const t=c;return L[t(1879)](({id:x,sourceX:e,sourceY:o,targetX:r,targetY:i,sourcePosition:a=ue[t(728)],targetPosition:d=ue[t(478)],label:s,labelStyle:u,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:w,style:y,markerEnd:h,markerStart:C,pathOptions:p,interactionWidth:v})=>{const[m,M,I]=Oi({sourceX:e,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:d,curvature:p?.curvature}),Y=n.isInternal?void 0:x;return l.jsx(Jt,{id:Y,path:m,labelX:M,labelY:I,label:s,labelStyle:u,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:w,style:y,markerEnd:h,markerStart:C,interactionWidth:v})})}const a2=ic({isInternal:!1}),ac=ic({isInternal:!0});a2[c(1342)]=c(959),ac.displayName=c(1320);const cc={default:ac,straight:rc,step:xc,smoothstep:nc,simplebezier:Fa},sc={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},c2=(n,t,x)=>{const e=c;return x===ue[e(1591)]?n-t:x===ue[e(1467)]?n+t:n},s2=(n,t,x)=>{const e=c;return x===ue[e(478)]?n-t:x===ue[e(728)]?n+t:n},lc="react-flow__edgeupdater";function dc({position:n,centerX:t,centerY:x,radius:e=10,onMouseDown:o,onMouseEnter:r,onMouseOut:i,type:a}){const d=c;return l[d(1838)](d(374),{onMouseDown:o,onMouseEnter:r,onMouseOut:i,className:Ae([lc,lc+"-"+a]),cx:c2(t,e,n),cy:s2(x,e,n),r:e,stroke:d(1515),fill:d(1515)})}function l2({isReconnectable:n,reconnectRadius:t,edge:x,sourceX:e,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,onReconnect:s,onReconnectStart:u,onReconnectEnd:f,setReconnecting:g,setUpdateHover:b}){const w=c,y=Pe(),h=(M,I)=>{const Y=_0x1826;if(M[Y(634)]!==0)return;const{autoPanOnConnect:G,domNode:V,connectionMode:U,connectionRadius:Q,lib:W,onConnectStart:q,cancelConnection:T,nodeLookup:B,rfId:D,panBy:N,updateConnection:E}=y[Y(356)](),P=I[Y(1972)]===Y(1917),k=(J,$)=>{const te=Y;g(!1),f?.(J,x,I[te(1972)],$)},Z=J=>s?.(x,J),_=(J,$)=>{g(!0),u?.(M,x,I.type),q?.(J,$)};xo[Y(1720)](M[Y(329)],{autoPanOnConnect:G,connectionMode:U,connectionRadius:Q,domNode:V,handleId:I.id,nodeId:I[Y(2093)],nodeLookup:B,isTarget:P,edgeUpdaterType:I[Y(1972)],lib:W,flowId:D,cancelConnection:T,panBy:N,isValidConnection:(...J)=>y[Y(356)]().isValidConnection?.(...J)??!0,onConnect:Z,onConnectStart:_,onConnectEnd:(...J)=>y[Y(356)]().onConnectEnd?.(...J),onReconnectEnd:k,updateConnection:E,getTransform:()=>y[Y(356)]()[Y(1430)],getFromHandle:()=>y[Y(356)]()[Y(698)].fromHandle,dragThreshold:y[Y(356)]()[Y(1130)],handleDomNode:M[Y(2042)]})},C=M=>h(M,{nodeId:x.target,id:x[w(981)]??null,type:w(1917)}),p=M=>h(M,{nodeId:x[w(1969)],id:x.sourceHandle??null,type:w(1969)}),v=()=>b(!0),m=()=>b(!1);return l[w(328)](l[w(561)],{children:[(n===!0||n==="source")&&l[w(1838)](dc,{position:a,centerX:e,centerY:o,radius:t,onMouseDown:C,onMouseEnter:v,onMouseOut:m,type:w(1969)}),(n===!0||n===w(1917))&&l[w(1838)](dc,{position:d,centerX:r,centerY:i,radius:t,onMouseDown:p,onMouseEnter:v,onMouseOut:m,type:"target"})]})}function d2({id:n,edgesFocusable:t,edgesReconnectable:x,elementsSelectable:e,onClick:o,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,reconnectRadius:u,onReconnect:f,onReconnectStart:g,onReconnectEnd:b,rfId:w,edgeTypes:y,noPanClassName:h,onError:C,disableKeyboardA11y:p}){const v=c;let m=Be(A=>A.edgeLookup[v(1519)](n));const M=Be(A=>A.defaultEdgeOptions);m=M?{...M,...m}:m;let I=m[v(1972)]||"default",Y=y?.[I]||cc[I];Y===void 0&&(C?.("011",Ke[v(1409)](I)),I=v(267),Y=y?.[v(267)]||cc.default);const G=!!(m.focusable||t&&typeof m.focusable>"u"),V=typeof f!==v(758)&&(m[v(285)]||x&&typeof m[v(285)]===v(758)),U=!!(m[v(399)]||e&&typeof m.selectable>"u"),Q=L.useRef(null),[W,q]=L.useState(!1),[T,B]=L[v(1183)](!1),D=Pe(),{zIndex:N,sourceX:E,sourceY:P,targetX:k,targetY:Z,sourcePosition:_,targetPosition:J}=Be(L.useCallback(A=>{const K=v,X=A[K(1568)][K(1519)](m[K(1969)]),H=A[K(1568)][K(1519)](m[K(1917)]);if(!X||!H)return{zIndex:m[K(1021)],...sc};const ae=t5({id:n,sourceNode:X,targetNode:H,sourceHandle:m[K(1956)]||null,targetHandle:m[K(981)]||null,connectionMode:A[K(397)],onError:C});return{zIndex:Jf({selected:m.selected,zIndex:m.zIndex,sourceNode:X,targetNode:H,elevateOnSelect:A.elevateEdgesOnSelect,zIndexMode:A[K(414)]}),...ae||sc}},[m[v(1969)],m[v(1917)],m[v(1956)],m[v(981)],m.selected,m.zIndex]),ke),$=L[v(662)](()=>m[v(2067)]?v(2068)+Jx(m[v(2067)],w)+"')":void 0,[m[v(2067)],w]),te=L[v(662)](()=>m[v(768)]?"url('#"+Jx(m[v(768)],w)+"')":void 0,[m[v(768)],w]);if(m[v(1276)]||E===null||P===null||k===null||Z===null)return null;const ee=A=>{const K=v,{addSelectedEdges:X,unselectNodesAndEdges:H,multiSelectionActive:ae}=D[K(356)]();U&&(D[K(1121)]({nodesSelectionActive:!1}),m[K(1470)]&&ae?(H({nodes:[],edges:[m]}),Q[K(1621)]?.[K(1371)]()):X([n])),o&&o(A,m)},re=r?A=>{r(A,{...m})}:void 0,ce=i?A=>{i(A,{...m})}:void 0,ie=a?A=>{a(A,{...m})}:void 0,F=d?A=>{d(A,{...m})}:void 0,le=s?A=>{s(A,{...m})}:void 0,S=A=>{const K=v;if(!p&&gi.includes(A.key)&&U){const{unselectNodesAndEdges:X,addSelectedEdges:H}=D[K(356)]();A[K(1823)]===K(1924)?(Q[K(1621)]?.[K(1371)](),X({edges:[m]})):H([n])}};return l[v(1838)](v(1521),{style:{zIndex:N},children:l[v(328)]("g",{className:Ae([v(680),v(1178)+I,m[v(1523)],h,{selected:m.selected,animated:m.animated,inactive:!U&&!o,updating:W,selectable:U}]),onClick:ee,onDoubleClick:re,onContextMenu:ce,onMouseEnter:ie,onMouseMove:F,onMouseLeave:le,onKeyDown:G?S:void 0,tabIndex:G?0:void 0,role:m.ariaRole??(G?v(1984):"img"),"aria-roledescription":"edge","data-id":n,"data-testid":v(1769)+n,"aria-label":m[v(1293)]===null?void 0:m[v(1293)]||v(597)+m[v(1969)]+" to "+m[v(1917)],"aria-describedby":G?pa+"-"+w:void 0,ref:Q,...m[v(1892)],children:[!T&&l[v(1838)](Y,{id:n,source:m.source,target:m[v(1917)],type:m[v(1972)],selected:m[v(1470)],animated:m.animated,selectable:U,deletable:m[v(1520)]??!0,label:m[v(273)],labelStyle:m[v(1253)],labelShowBg:m[v(2052)],labelBgStyle:m[v(844)],labelBgPadding:m[v(439)],labelBgBorderRadius:m[v(1547)],sourceX:E,sourceY:P,targetX:k,targetY:Z,sourcePosition:_,targetPosition:J,data:m.data,style:m[v(2062)],sourceHandleId:m.sourceHandle,targetHandleId:m[v(981)],markerStart:$,markerEnd:te,pathOptions:v(1853)in m?m[v(1853)]:void 0,interactionWidth:m[v(2026)]}),V&&l[v(1838)](l2,{edge:m,isReconnectable:V,reconnectRadius:u,onReconnect:f,onReconnectStart:g,onReconnectEnd:b,sourceX:E,sourceY:P,targetX:k,targetY:Z,sourcePosition:_,targetPosition:J,setUpdateHover:q,setReconnecting:B})]})})}var u2=L.memo(d2);const f2=n=>({edgesFocusable:n[c(517)],edgesReconnectable:n[c(594)],elementsSelectable:n[c(1203)],connectionMode:n[c(397)],onError:n[c(1383)]});function uc({defaultMarkerColor:n,onlyRenderVisibleElements:t,rfId:x,edgeTypes:e,noPanClassName:o,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:u,reconnectRadius:f,onEdgeDoubleClick:g,onReconnectStart:b,onReconnectEnd:w,disableKeyboardA11y:y}){const h=c,{edgesFocusable:C,edgesReconnectable:p,elementsSelectable:v,onError:m}=Be(f2,ke),M=Qb(t);return l.jsxs(h(701),{className:h(331),children:[l[h(1838)](t2,{defaultColor:n,rfId:x}),M.map(I=>l.jsx(u2,{id:I,edgesFocusable:C,edgesReconnectable:p,elementsSelectable:v,noPanClassName:o,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,onClick:u,reconnectRadius:f,onDoubleClick:g,onReconnectStart:b,onReconnectEnd:w,rfId:x,onError:m,edgeTypes:e,disableKeyboardA11y:y},I))]})}uc[c(1342)]="EdgeRenderer";const b2=L.memo(uc),h2=n=>"translate("+n.transform[0]+c(2028)+n[c(1430)][1]+c(1637)+n[c(1430)][2]+")";function g2({children:n}){const t=c,x=Be(h2);return l[t(1838)](t(701),{className:t(1246),style:{transform:x},children:n})}function y2(n){const t=c,x=uo(),e=L[t(270)](!1);L[t(1046)](()=>{const o=t;!e.current&&x[o(1774)]&&n&&(setTimeout(()=>n(x),1),e.current=!0)},[n,x[t(1774)]])}const m2=n=>n[c(288)]?.[c(265)];function v2(n){const t=c,x=Be(m2),e=Pe();return L[t(1046)](()=>{const o=t;n&&(x?.(n),e[o(1121)]({transform:[n.x,n.y,n[o(536)]]}))},[n,x]),null}function w2(n){const t=c;return n.connection[t(1452)]?{...n.connection,to:Xn(n[t(698)].to,n[t(1430)])}:{...n[t(698)]}}function p2(n){return w2}function z2(n){const t=p2();return Be(t,ke)}const C2=n=>({nodesConnectable:n[c(941)],isValid:n.connection[c(1218)],inProgress:n[c(698)].inProgress,width:n[c(687)],height:n[c(500)]});function M2({containerStyle:n,style:t,type:x,component:e}){const o=c,{nodesConnectable:r,width:i,height:a,isValid:d,inProgress:s}=Be(C2,ke);return!(i&&r&&s)?null:l.jsx(o(1521),{style:n,width:i,height:a,className:o(601),children:l[o(1838)]("g",{className:Ae([o(864),wi(d)]),children:l[o(1838)](fc,{style:t,type:x,CustomComponent:e,isValid:d})})})}const fc=({style:n,type:t=w0[c(1422)],CustomComponent:x,isValid:e})=>{const o=c,{inProgress:r,from:i,fromNode:a,fromHandle:d,fromPosition:s,to:u,toNode:f,toHandle:g,toPosition:b,pointer:w}=z2();if(!r)return;if(x)return l.jsx(x,{connectionLineType:t,connectionLineStyle:n,fromNode:a,fromHandle:d,fromX:i.x,fromY:i.y,toX:u.x,toY:u.y,fromPosition:s,toPosition:b,connectionStatus:wi(e),toNode:f,toHandle:g,pointer:w});let y="";const h={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:u.x,targetY:u.y,targetPosition:b};switch(t){case w0[o(1422)]:[y]=Oi(h);break;case w0[o(1923)]:[y]=_a(h);break;case w0.Step:[y]=Rx({...h,borderRadius:0});break;case w0[o(1373)]:[y]=Rx(h);break;default:[y]=Hi(h)}return l.jsx(o(1221),{d:y,fill:o(582),className:o(361),style:n})};fc[c(1342)]=c(335);const B2={};function bc(n=B2){const t=c,x=L.useRef(n),e=Pe();L[t(1046)](()=>{const o=t;if(process.env.NODE_ENV==="development"){const r=new Set([...Object.keys(x[o(1621)]),...Object[o(1775)](n)]);for(const i of r)if(x[o(1621)][i]!==n[i]){e[o(356)]()[o(1383)]?.(o(712),Ke[o(1376)]());break}x[o(1621)]=n}},[n])}function D2(){const n=c,t=Pe(),x=L[n(270)](!1);L[n(1046)](()=>{const e=n;if(process.env.NODE_ENV===e(1625)&&!x.current){const o=document[e(1753)](e(1653));o&&window[e(774)](o)[e(1021)]!=="1"&&t[e(356)]()[e(1383)]?.(e(773),Ke.error013(e(1995))),x[e(1621)]=!0}},[])}function hc({nodeTypes:n,edgeTypes:t,onInit:x,onNodeClick:e,onEdgeClick:o,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,onSelectionContextMenu:f,onSelectionStart:g,onSelectionEnd:b,connectionLineType:w,connectionLineStyle:y,connectionLineComponent:h,connectionLineContainerStyle:C,selectionKeyCode:p,selectionOnDrag:v,selectionMode:m,multiSelectionKeyCode:M,panActivationKeyCode:I,zoomActivationKeyCode:Y,deleteKeyCode:G,onlyRenderVisibleElements:V,elementsSelectable:U,defaultViewport:Q,translateExtent:W,minZoom:q,maxZoom:T,preventScrolling:B,defaultMarkerColor:D,zoomOnScroll:N,zoomOnPinch:E,panOnScroll:P,panOnScrollSpeed:k,panOnScrollMode:Z,zoomOnDoubleClick:_,panOnDrag:J,onPaneClick:$,onPaneMouseEnter:te,onPaneMouseMove:ee,onPaneMouseLeave:re,onPaneScroll:ce,onPaneContextMenu:ie,paneClickDistance:F,nodeClickDistance:le,onEdgeContextMenu:S,onEdgeMouseEnter:A,onEdgeMouseMove:K,onEdgeMouseLeave:X,reconnectRadius:H,onReconnect:ae,onReconnectStart:fe,onReconnectEnd:me,noDragClassName:he,noWheelClassName:pe,noPanClassName:Le,disableKeyboardA11y:Ce,nodeExtent:Ne,rfId:Ye,viewport:He,onViewportChange:Ge}){const Se=c;return bc(n),bc(t),D2(),y2(x),v2(He),l[Se(1838)](Hb,{onPaneClick:$,onPaneMouseEnter:te,onPaneMouseMove:ee,onPaneMouseLeave:re,onPaneContextMenu:ie,onPaneScroll:ce,paneClickDistance:F,deleteKeyCode:G,selectionKeyCode:p,selectionOnDrag:v,selectionMode:m,onSelectionStart:g,onSelectionEnd:b,multiSelectionKeyCode:M,panActivationKeyCode:I,zoomActivationKeyCode:Y,elementsSelectable:U,zoomOnScroll:N,zoomOnPinch:E,zoomOnDoubleClick:_,panOnScroll:P,panOnScrollSpeed:k,panOnScrollMode:Z,panOnDrag:J,defaultViewport:Q,translateExtent:W,minZoom:q,maxZoom:T,onSelectionContextMenu:f,preventScrolling:B,noDragClassName:he,noWheelClassName:pe,noPanClassName:Le,disableKeyboardA11y:Ce,onViewportChange:Ge,isControlledViewport:!!He,children:l.jsxs(g2,{children:[l[Se(1838)](b2,{edgeTypes:t,onEdgeClick:o,onEdgeDoubleClick:i,onReconnect:ae,onReconnectStart:fe,onReconnectEnd:me,onlyRenderVisibleElements:V,onEdgeContextMenu:S,onEdgeMouseEnter:A,onEdgeMouseMove:K,onEdgeMouseLeave:X,reconnectRadius:H,defaultMarkerColor:D,noPanClassName:Le,disableKeyboardA11y:Ce,rfId:Ye}),l[Se(1838)](M2,{style:y,type:w,component:h,containerStyle:C}),l.jsx(Se(701),{className:Se(1696)}),l[Se(1838)](_b,{nodeTypes:n,onNodeClick:e,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:u,nodeClickDistance:le,onlyRenderVisibleElements:V,noPanClassName:Le,noDragClassName:he,disableKeyboardA11y:Ce,nodeExtent:Ne,rfId:Ye}),l[Se(1838)](Se(701),{className:Se(1702)})]})})}hc[c(1342)]=c(1540);const L2=L[c(1879)](hc),gc=({nodes:n,edges:t,defaultNodes:x,defaultEdges:e,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d=.5,maxZoom:s=2,nodeOrigin:u,nodeExtent:f,zIndexMode:g=c(917)}={})=>{const b=c,w=new Map,y=new Map,h=new Map,C=new Map,p=e??t??[],v=x??n??[],m=u??[0,0],M=f??Gn;_i(h,C,p);const{nodesInitialized:I}=$x(v,w,y,{nodeOrigin:m,nodeExtent:M,zIndexMode:g});let Y=[0,0,1];if(i&&o&&r){const G=Tn(w,{filter:W=>!!((W[b(687)]||W[b(983)])&&(W.height||W[b(1162)]))}),{x:V,y:U,zoom:Q}=Kx(G,o,r,d,s,a?.[b(566)]??.1);Y=[V,U,Q]}return{rfId:"1",width:o??0,height:r??0,transform:Y,nodes:v,nodesInitialized:I,nodeLookup:w,parentLookup:y,edges:p,edgeLookup:C,connectionLookup:h,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:x!==void 0,hasDefaultEdges:e!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Gn,nodeExtent:M,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:rn[b(2045)],domNode:null,paneDragging:!1,noPanClassName:b(426),nodeOrigin:m,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:a,fitViewResolver:null,connection:{...mi},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Ni,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:b(1995),debug:!1,ariaLabelConfig:yi,zIndexMode:g,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},N2=({nodes:n,edges:t,defaultNodes:x,defaultEdges:e,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,zIndexMode:g})=>Z5((b,w)=>{async function y(){const h=_0x1826,{nodeLookup:C,panZoom:p,fitViewOptions:v,fitViewResolver:m,width:M,height:I,minZoom:Y,maxZoom:G}=w();p&&(await Tf({nodes:C,width:M,height:I,panZoom:p,minZoom:Y,maxZoom:G},v),m?.[h(491)](!0),b({fitViewResolver:null}))}return{...gc({nodes:n,edges:t,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:u,nodeExtent:f,defaultNodes:x,defaultEdges:e,zIndexMode:g}),setNodes:h=>{const{nodeLookup:C,parentLookup:p,nodeOrigin:v,elevateNodesOnSelect:m,fitViewQueued:M,zIndexMode:I,nodesSelectionActive:Y}=w(),{nodesInitialized:G,hasSelectedNodes:V}=$x(h,C,p,{nodeOrigin:v,nodeExtent:f,elevateNodesOnSelect:m,checkEquality:!0,zIndexMode:I}),U=Y&&V;M&&G?(y(),b({nodes:h,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:U})):b({nodes:h,nodesInitialized:G,nodesSelectionActive:U})},setEdges:h=>{const{connectionLookup:C,edgeLookup:p}=w();_i(C,p,h),b({edges:h})},setDefaultNodesAndEdges:(h,C)=>{if(h){const{setNodes:p}=w();p(h),b({hasDefaultNodes:!0})}if(C){const{setEdges:p}=w();p(C),b({hasDefaultEdges:!0})}},updateNodeInternals:h=>{const C=_0x1826,{triggerNodeChanges:p,nodeLookup:v,parentLookup:m,domNode:M,nodeOrigin:I,nodeExtent:Y,debug:G,fitViewQueued:V,zIndexMode:U}=w(),{changes:Q,updatedInternals:W}=l5(h,v,m,M,I,Y,U);W&&(i5(v,m,{nodeOrigin:I,nodeExtent:Y,zIndexMode:U}),V?(y(),b({fitViewQueued:!1,fitViewOptions:void 0})):b({}),Q?.[C(2088)]>0&&(G&&console[C(1478)](C(1071),Q),p?.(Q)))},updateNodePositions:(h,C=!1)=>{const p=_0x1826,v=[];let m=[];const{nodeLookup:M,triggerNodeChanges:I,connection:Y,updateConnection:G,onNodesChangeMiddlewareMap:V}=w();for(const[U,Q]of h){const W=M[p(1519)](U),q=!!(W?.[p(382)]&&W?.[p(684)]&&Q?.[p(895)]),T={id:U,type:p(895),position:q?{x:Math[p(363)](0,Q[p(895)].x),y:Math[p(363)](0,Q[p(895)].y)}:Q[p(895)],dragging:C};if(W&&Y.inProgress&&Y[p(1355)].id===W.id){const B=G0(W,Y[p(544)],ue[p(1591)],!0);G({...Y,from:B})}q&&W[p(684)]&&v[p(1297)]({id:U,parentId:W[p(684)],rect:{...Q.internals.positionAbsolute,width:Q[p(1285)][p(687)]??0,height:Q[p(1285)].height??0}}),m[p(1297)](T)}if(v[p(2088)]>0){const{parentLookup:U,nodeOrigin:Q}=w(),W=no(v,M,U,Q);m[p(1297)](...W)}for(const U of V[p(1909)]())m=U(m);I(m)},triggerNodeChanges:h=>{const C=_0x1826,{onNodesChange:p,setNodes:v,nodes:m,hasDefaultNodes:M,debug:I}=w();if(h?.length){if(M){const Y=ka(h,m);v(Y)}I&&console.log(C(1071),h),p?.(h)}},triggerEdgeChanges:h=>{const C=_0x1826,{onEdgesChange:p,setEdges:v,edges:m,hasDefaultEdges:M,debug:I}=w();if(h?.length){if(M){const Y=Pa(h,m);v(Y)}I&&console.log(C(404),h),p?.(h)}},addSelectedNodes:h=>{const C=_0x1826,{multiSelectionActive:p,edgeLookup:v,nodeLookup:m,triggerNodeChanges:M,triggerEdgeChanges:I}=w();if(p){const Y=h[C(802)](G=>V0(G,!0));M(Y);return}M(fn(m,new Set([...h]),!0)),I(fn(v))},addSelectedEdges:h=>{const{multiSelectionActive:C,edgeLookup:p,nodeLookup:v,triggerNodeChanges:m,triggerEdgeChanges:M}=w();if(C){const I=h.map(Y=>V0(Y,!0));M(I);return}M(fn(p,new Set([...h]))),m(fn(v,new Set,!0))},unselectNodesAndEdges:({nodes:h,edges:C}={})=>{const p=_0x1826,{edges:v,nodes:m,nodeLookup:M,triggerNodeChanges:I,triggerEdgeChanges:Y}=w(),G=h||m,V=C||v,U=[];for(const W of G){if(!W.selected)continue;const q=M.get(W.id);q&&(q[p(1470)]=!1),U[p(1297)](V0(W.id,!1))}const Q=[];for(const W of V)W.selected&&Q[p(1297)](V0(W.id,!1));I(U),Y(Q)},setMinZoom:h=>{const C=_0x1826,{panZoom:p,maxZoom:v}=w();p?.[C(1155)]([h,v]),b({minZoom:h})},setMaxZoom:h=>{const{panZoom:C,minZoom:p}=w();C?.setScaleExtent([p,h]),b({maxZoom:h})},setTranslateExtent:h=>{const C=_0x1826;w()[C(288)]?.[C(537)](h),b({translateExtent:h})},resetSelectedElements:()=>{const h=_0x1826,{edges:C,nodes:p,triggerNodeChanges:v,triggerEdgeChanges:m,elementsSelectable:M}=w();if(!M)return;const I=p[h(442)]((G,V)=>V[h(1470)]?[...G,V0(V.id,!1)]:G,[]),Y=C[h(442)]((G,V)=>V[h(1470)]?[...G,V0(V.id,!1)]:G,[]);v(I),m(Y)},setNodeExtent:h=>{const{nodes:C,nodeLookup:p,parentLookup:v,nodeOrigin:m,elevateNodesOnSelect:M,nodeExtent:I,zIndexMode:Y}=w();h[0][0]===I[0][0]&&h[0][1]===I[0][1]&&h[1][0]===I[1][0]&&h[1][1]===I[1][1]||($x(C,p,v,{nodeOrigin:m,nodeExtent:h,elevateNodesOnSelect:M,checkEquality:!1,zIndexMode:Y}),b({nodeExtent:h}))},panBy:h=>{const{transform:C,width:p,height:v,panZoom:m,translateExtent:M}=w();return d5({delta:h,panZoom:m,transform:C,translateExtent:M,width:p,height:v})},setCenter:async(h,C,p)=>{const v=_0x1826,{width:m,height:M,maxZoom:I,panZoom:Y}=w();if(!Y)return Promise[v(491)](!1);const G=typeof p?.[v(536)]!==v(758)?p[v(536)]:I;return await Y[v(1733)]({x:m/2-h*G,y:M/2-C*G,zoom:G},{duration:p?.[v(1160)],ease:p?.[v(923)],interpolate:p?.[v(699)]}),Promise[v(491)](!0)},cancelConnection:()=>{b({connection:{...mi}})},updateConnection:h=>{b({connection:h})},reset:()=>b({...gc()})}},Object.is);function S2({initialNodes:n,initialEdges:t,defaultNodes:x,defaultEdges:e,initialWidth:o,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:d,fitView:s,nodeOrigin:u,nodeExtent:f,zIndexMode:g,children:b}){const w=c,[y]=L[w(1183)](()=>N2({nodes:n,edges:t,defaultNodes:x,defaultEdges:e,width:o,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:d,nodeOrigin:u,nodeExtent:f,zIndexMode:g}));return l.jsx(R5,{value:y,children:l[w(1838)](gb,{children:b})})}function k2({children:n,nodes:t,edges:x,defaultNodes:e,defaultEdges:o,width:r,height:i,fitView:a,fitViewOptions:d,minZoom:s,maxZoom:u,nodeOrigin:f,nodeExtent:g,zIndexMode:b}){const w=c;return L[w(1528)](Wt)?l[w(1838)](l.Fragment,{children:n}):l.jsx(S2,{initialNodes:t,initialEdges:x,defaultNodes:e,defaultEdges:o,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:u,nodeOrigin:f,nodeExtent:g,zIndexMode:b,children:n})}const P2={width:c(1608),height:"100%",overflow:c(1276),position:c(2072),zIndex:0};function I2({nodes:n,edges:t,defaultNodes:x,defaultEdges:e,className:o,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:d,onInit:s,onMove:u,onMoveStart:f,onMoveEnd:g,onConnect:b,onConnectStart:w,onConnectEnd:y,onClickConnectStart:h,onClickConnectEnd:C,onNodeMouseEnter:p,onNodeMouseMove:v,onNodeMouseLeave:m,onNodeContextMenu:M,onNodeDoubleClick:I,onNodeDragStart:Y,onNodeDrag:G,onNodeDragStop:V,onNodesDelete:U,onEdgesDelete:Q,onDelete:W,onSelectionChange:q,onSelectionDragStart:T,onSelectionDrag:B,onSelectionDragStop:D,onSelectionContextMenu:N,onSelectionStart:E,onSelectionEnd:P,onBeforeDelete:k,connectionMode:Z,connectionLineType:_=w0[c(1422)],connectionLineStyle:J,connectionLineComponent:$,connectionLineContainerStyle:te,deleteKeyCode:ee=c(744),selectionKeyCode:re=c(686),selectionOnDrag:ce=!1,selectionMode:ie=Vn[c(1031)],panActivationKeyCode:F=c(692),multiSelectionKeyCode:le=Kn()?c(1498):c(2096),zoomActivationKeyCode:S=Kn()?c(1498):c(2096),snapToGrid:A,snapGrid:K,onlyRenderVisibleElements:X=!1,selectNodesOnDrag:H,nodesDraggable:ae,autoPanOnNodeFocus:fe,nodesConnectable:me,nodesFocusable:he,nodeOrigin:pe=za,edgesFocusable:Le,edgesReconnectable:Ce,elementsSelectable:Ne=!0,defaultViewport:Ye=ab,minZoom:He=.5,maxZoom:Ge=2,translateExtent:Se=Gn,preventScrolling:Te=!0,nodeExtent:t0,defaultMarkerColor:B0=c(1877),zoomOnScroll:hn=!0,zoomOnPinch:gn=!0,panOnScroll:H0=!1,panOnScrollSpeed:Ze=.5,panOnScrollMode:D0=U0[c(2012)],zoomOnDoubleClick:Ue=!0,panOnDrag:h0=!0,onPaneClick:g0,onPaneMouseEnter:x0,onPaneMouseMove:$t,onPaneMouseLeave:T0,onPaneScroll:q0,onPaneContextMenu:L0,paneClickDistance:W0=1,nodeClickDistance:yo=0,children:mo,onReconnect:ex,onReconnectStart:nx,onReconnectEnd:tx,onEdgeContextMenu:xx,onEdgeDoubleClick:ox,onEdgeMouseEnter:Jn,onEdgeMouseMove:X0,onEdgeMouseLeave:K0,reconnectRadius:vo=10,onNodesChange:yn,onEdgesChange:rx,noDragClassName:ix="nodrag",noWheelClassName:wo=c(1942),noPanClassName:ax="nopan",fitView:_n,fitViewOptions:Qn,connectOnClick:Fn,attributionPosition:cx,proOptions:$n,defaultEdgeOptions:j,elevateNodesOnSelect:O=!0,elevateEdgesOnSelect:oe=!1,disableKeyboardA11y:xe=!1,autoPanOnConnect:de,autoPanOnNodeDrag:R,autoPanSpeed:ne,connectionRadius:be,isValidConnection:ye,onError:ge,style:Me,id:ze,nodeDragThreshold:De,connectionDragThreshold:Oe,viewport:Je,onViewportChange:N0,width:y0,height:mn,colorMode:Z0="light",debug:Ph,onScroll:Ic,ariaLabelConfig:Ih,zIndexMode:Ac=c(917),...Ah},Eh){const o0=c,po=ze||"1",jh=db(Z0),Yh=L[o0(1179)](Ec=>{const zo=o0;Ec[zo(2042)][zo(1457)]({top:0,left:0,behavior:zo(1950)}),Ic?.(Ec)},[Ic]);return l.jsx(o0(701),{"data-testid":o0(1962),...Ah,onScroll:Yh,style:{...Me,...P2},ref:Eh,className:Ae(["react-flow",o,jh]),id:ze,role:o0(405),children:l[o0(328)](k2,{nodes:n,edges:t,width:y0,height:mn,fitView:_n,fitViewOptions:Qn,minZoom:He,maxZoom:Ge,nodeOrigin:pe,nodeExtent:t0,zIndexMode:Ac,children:[l[o0(1838)](lb,{nodes:n,edges:t,defaultNodes:x,defaultEdges:e,onConnect:b,onConnectStart:w,onConnectEnd:y,onClickConnectStart:h,onClickConnectEnd:C,nodesDraggable:ae,autoPanOnNodeFocus:fe,nodesConnectable:me,nodesFocusable:he,edgesFocusable:Le,edgesReconnectable:Ce,elementsSelectable:Ne,elevateNodesOnSelect:O,elevateEdgesOnSelect:oe,minZoom:He,maxZoom:Ge,nodeExtent:t0,onNodesChange:yn,onEdgesChange:rx,snapToGrid:A,snapGrid:K,connectionMode:Z,translateExtent:Se,connectOnClick:Fn,defaultEdgeOptions:j,fitView:_n,fitViewOptions:Qn,onNodesDelete:U,onEdgesDelete:Q,onDelete:W,onNodeDragStart:Y,onNodeDrag:G,onNodeDragStop:V,onSelectionDrag:B,onSelectionDragStart:T,onSelectionDragStop:D,onMove:u,onMoveStart:f,onMoveEnd:g,noPanClassName:ax,nodeOrigin:pe,rfId:po,autoPanOnConnect:de,autoPanOnNodeDrag:R,autoPanSpeed:ne,onError:ge,connectionRadius:be,isValidConnection:ye,selectNodesOnDrag:H,nodeDragThreshold:De,connectionDragThreshold:Oe,onBeforeDelete:k,debug:Ph,ariaLabelConfig:Ih,zIndexMode:Ac}),l[o0(1838)](L2,{onInit:s,onNodeClick:a,onEdgeClick:d,onNodeMouseEnter:p,onNodeMouseMove:v,onNodeMouseLeave:m,onNodeContextMenu:M,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:i,connectionLineType:_,connectionLineStyle:J,connectionLineComponent:$,connectionLineContainerStyle:te,selectionKeyCode:re,selectionOnDrag:ce,selectionMode:ie,deleteKeyCode:ee,multiSelectionKeyCode:le,panActivationKeyCode:F,zoomActivationKeyCode:S,onlyRenderVisibleElements:X,defaultViewport:Ye,translateExtent:Se,minZoom:He,maxZoom:Ge,preventScrolling:Te,zoomOnScroll:hn,zoomOnPinch:gn,zoomOnDoubleClick:Ue,panOnScroll:H0,panOnScrollSpeed:Ze,panOnScrollMode:D0,panOnDrag:h0,onPaneClick:g0,onPaneMouseEnter:x0,onPaneMouseMove:$t,onPaneMouseLeave:T0,onPaneScroll:q0,onPaneContextMenu:L0,paneClickDistance:W0,nodeClickDistance:yo,onSelectionContextMenu:N,onSelectionStart:E,onSelectionEnd:P,onReconnect:ex,onReconnectStart:nx,onReconnectEnd:tx,onEdgeContextMenu:xx,onEdgeDoubleClick:ox,onEdgeMouseEnter:Jn,onEdgeMouseMove:X0,onEdgeMouseLeave:K0,reconnectRadius:vo,defaultMarkerColor:B0,noDragClassName:ix,noWheelClassName:wo,noPanClassName:ax,rfId:po,disableKeyboardA11y:xe,nodeExtent:t0,viewport:Je,onViewportChange:N0}),l[o0(1838)](ib,{onSelectionChange:q}),mo,l[o0(1838)](nb,{proOptions:$n,position:cx}),l[o0(1838)](eb,{rfId:po,disableKeyboardA11y:xe})]})})}var A2=ja(I2);function E2(n){const t=c,[x,e]=L[t(1183)](n),o=L[t(1179)](r=>e(i=>ka(r,i)),[]);return[x,e,o]}function j2(n){const t=c,[x,e]=L[t(1183)](n),o=L[t(1179)](r=>e(i=>Pa(r,i)),[]);return[x,e,o]}function Y2({dimensions:n,lineWidth:t,variant:x,className:e}){const o=c;return l[o(1838)](o(1221),{strokeWidth:t,d:"M"+n[0]/2+o(1541)+n[1]+o(673)+n[1]/2+" H"+n[0],className:Ae([o(1255),x,e])})}function U2({radius:n,className:t}){const x=c;return l[x(1838)]("circle",{cx:n,cy:n,r:n,className:Ae([x(1255),x(1386),t])})}var C0;(function(n){const t=c;n.Lines=t(1672),n[t(546)]=t(1386),n[t(578)]=t(916)})(C0||(C0={}));const O2={[C0[c(546)]]:1,[C0[c(271)]]:1,[C0[c(578)]]:6},G2=n=>({transform:n[c(1430)],patternId:c(353)+n.rfId});function yc({id:n,variant:t=C0.Dots,gap:x=20,size:e,lineWidth:o=1,offset:r=0,color:i,bgColor:a,style:d,className:s,patternClassName:u}){const f=c,g=L[f(270)](null),{transform:b,patternId:w}=Be(G2,ke),y=e||O2[t],h=t===C0.Dots,C=t===C0[f(578)],p=Array[f(915)](x)?x:[x,x],v=[p[0]*b[2]||1,p[1]*b[2]||1],m=y*b[2],M=Array[f(915)](r)?r:[r,r],I=C?[m,m]:v,Y=[M[0]*b[2]||1+I[0]/2,M[1]*b[2]||1+I[1]/2],G=""+w+(n||"");return l[f(328)]("svg",{className:Ae([f(2014),s]),style:{...d,...Zt,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:g,"data-testid":"rf__background",children:[l[f(1838)](f(1789),{id:G,x:b[0]%v[0],y:b[1]%v[1],width:v[0],height:v[1],patternUnits:f(851),patternTransform:f(621)+Y[0]+",-"+Y[1]+")",children:h?l[f(1838)](U2,{radius:m/2,className:u}):l[f(1838)](Y2,{dimensions:I,lineWidth:o,variant:t,className:u})}),l[f(1838)]("rect",{x:"0",y:"0",width:f(1608),height:f(1608),fill:f(764)+G+")"})]})}yc[c(1342)]=c(1030);const V2=L[c(1879)](yc);function H2(){const n=c;return l[n(1838)](n(1521),{xmlns:n(1866),viewBox:n(1027),children:l.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function T2(){const n=c;return l.jsx(n(1521),{xmlns:n(1866),viewBox:n(1325),children:l[n(1838)]("path",{d:n(746)})})}function q2(){const n=c;return l.jsx(n(1521),{xmlns:n(1866),viewBox:n(1025),children:l[n(1838)](n(1221),{d:n(971)})})}function W2(){const n=c;return l[n(1838)](n(1521),{xmlns:n(1866),viewBox:n(1610),children:l[n(1838)](n(1221),{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function X2(){const n=c;return l[n(1838)](n(1521),{xmlns:"http://www.w3.org/2000/svg",viewBox:n(1610),children:l.jsx(n(1221),{d:n(347)})})}function _t({children:n,className:t,...x}){const e=c;return l.jsx(e(634),{type:e(634),className:Ae([e(339),t]),...x,children:n})}const K2=n=>({isInteractive:n.nodesDraggable||n[c(941)]||n[c(1203)],minZoomReached:n[c(1430)][2]<=n[c(965)],maxZoomReached:n.transform[2]>=n[c(944)],ariaLabelConfig:n[c(1064)]});function mc({style:n,showZoom:t=!0,showFitView:x=!0,showInteractive:e=!0,fitViewOptions:o,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:d,className:s,children:u,position:f=c(1888),orientation:g=c(1463),"aria-label":b}){const w=c,y=Pe(),{isInteractive:h,minZoomReached:C,maxZoomReached:p,ariaLabelConfig:v}=Be(K2,ke),{zoomIn:m,zoomOut:M,fitView:I}=uo(),Y=()=>{m(),r?.()},G=()=>{M(),i?.()},V=()=>{I(o),a?.()},U=()=>{y[_0x1826(1121)]({nodesDraggable:!h,nodesConnectable:!h,elementsSelectable:!h}),d?.(!h)},Q=g===w(282)?w(282):w(1463);return l.jsxs(Xt,{className:Ae([w(1051),Q,s]),position:f,style:n,"data-testid":w(999),"aria-label":b??v["controls.ariaLabel"],children:[t&&l[w(328)](l[w(561)],{children:[l[w(1838)](_t,{onClick:Y,className:"react-flow__controls-zoomin",title:v[w(423)],"aria-label":v[w(423)],disabled:p,children:l[w(1838)](H2,{})}),l.jsx(_t,{onClick:G,className:"react-flow__controls-zoomout",title:v[w(948)],"aria-label":v[w(948)],disabled:C,children:l[w(1838)](T2,{})})]}),x&&l.jsx(_t,{className:w(1632),onClick:V,title:v[w(1088)],"aria-label":v[w(1088)],children:l[w(1838)](q2,{})}),e&&l.jsx(_t,{className:"react-flow__controls-interactive",onClick:U,title:v[w(1622)],"aria-label":v[w(1622)],children:h?l.jsx(X2,{}):l[w(1838)](W2,{})}),u]})}mc.displayName=c(520);const Z2=L[c(1879)](mc);function R2({id:n,x:t,y:x,width:e,height:o,style:r,color:i,strokeColor:a,strokeWidth:d,className:s,borderRadius:u,shapeRendering:f,selected:g,onClick:b}){const w=c,{background:y,backgroundColor:h}=r||{},C=i||y||h;return l[w(1838)]("rect",{className:Ae([w(1108),{selected:g},s]),x:t,y:x,rx:u,ry:u,width:e,height:o,style:{fill:C,stroke:a,strokeWidth:d},shapeRendering:f,onClick:b?p=>b(p,n):void 0})}const J2=L[c(1879)](R2),_2=n=>n[c(906)][c(802)](t=>t.id),go=n=>n instanceof Function?n:()=>n;function Q2({nodeStrokeColor:n,nodeColor:t,nodeClassName:x="",nodeBorderRadius:e=5,nodeStrokeWidth:o,nodeComponent:r=J2,onClick:i}){const a=c,d=Be(_2,ke),s=go(t),u=go(n),f=go(x),g=typeof window>"u"||window[a(1313)]?a(280):a(1856);return l[a(1838)](l.Fragment,{children:d[a(802)](b=>l.jsx($2,{id:b,nodeColorFunc:s,nodeStrokeColorFunc:u,nodeClassNameFunc:f,nodeBorderRadius:e,nodeStrokeWidth:o,NodeComponent:r,onClick:i,shapeRendering:g},b))})}function F2({id:n,nodeColorFunc:t,nodeStrokeColorFunc:x,nodeClassNameFunc:e,nodeBorderRadius:o,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:d}){const s=c,{node:u,x:f,y:g,width:b,height:w}=Be(y=>{const h=_0x1826,C=y.nodeLookup.get(n);if(!C)return{node:void 0,x:0,y:0,width:0,height:0};const p=C[h(1752)][h(1602)],{x:v,y:m}=C[h(1752)][h(1053)],{width:M,height:I}=b0(p);return{node:p,x:v,y:m,width:M,height:I}},ke);return!u||u[s(1276)]||!Si(u)?null:l[s(1838)](a,{x:f,y:g,width:b,height:w,style:u[s(2062)],selected:!!u[s(1470)],className:e(u),color:t(u),borderRadius:o,strokeColor:x(u),strokeWidth:r,shapeRendering:i,onClick:d,id:u.id})}const $2=L[c(1879)](F2);var eh=L[c(1879)](Q2);const nh=200,th=150,xh=n=>!n[c(1276)],oh=n=>{const t=c,x={x:-n.transform[0]/n[t(1430)][2],y:-n.transform[1]/n.transform[2],width:n[t(687)]/n.transform[2],height:n.height/n[t(1430)][2]};return{viewBB:x,boundingRect:n[t(1568)][t(1424)]>0?Di(Tn(n[t(1568)],{filter:xh}),x):x,rfId:n.rfId,panZoom:n[t(288)],translateExtent:n.translateExtent,flowWidth:n[t(687)],flowHeight:n[t(500)],ariaLabelConfig:n[t(1064)]}},rh=c(1740);function vc({style:n,className:t,nodeStrokeColor:x,nodeColor:e,nodeClassName:o="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:d,maskColor:s,maskStrokeColor:u,maskStrokeWidth:f,position:g="bottom-right",onClick:b,onNodeClick:w,pannable:y=!1,zoomable:h=!1,ariaLabel:C,inversePan:p,zoomStep:v=1,offsetScale:m=5}){const M=c,I=Pe(),Y=L[M(270)](null),{boundingRect:G,viewBB:V,rfId:U,panZoom:Q,translateExtent:W,flowWidth:q,flowHeight:T,ariaLabelConfig:B}=Be(oh,ke),D=n?.[M(687)]??nh,N=n?.height??th,E=G.width/D,P=G.height/N,k=Math[M(363)](E,P),Z=k*D,_=k*N,J=m*k,$=G.x-(Z-G[M(687)])/2-J,te=G.y-(_-G[M(500)])/2-J,ee=Z+J*2,re=_+J*2,ce=rh+"-"+U,ie=L.useRef(0),F=L[M(270)]();ie[M(1621)]=k,L[M(1046)](()=>{const K=M;if(Y[K(1621)]&&Q)return F[K(1621)]=w5({domNode:Y[K(1621)],panZoom:Q,getTransform:()=>I[K(356)]()[K(1430)],getViewScale:()=>ie.current}),()=>{F[K(1621)]?.destroy()}},[Q]),L[M(1046)](()=>{const K=M;F[K(1621)]?.[K(637)]({translateExtent:W,width:q,height:T,inversePan:p,pannable:y,zoomStep:v,zoomable:h})},[y,h,p,v,W,q,T]);const le=b?K=>{const X=M,[H,ae]=F.current?.[X(1131)](K)||[0,0];b(K,{x:H,y:ae})}:void 0,S=w?L[M(1179)]((K,X)=>{const H=M,ae=I[H(356)]()[H(1568)][H(1519)](X)[H(1752)].userNode;w(K,ae)},[]):void 0,A=C??B[M(805)];return l[M(1838)](Xt,{position:g,style:{...n,"--xy-minimap-background-color-props":typeof d===M(976)?d:void 0,"--xy-minimap-mask-background-color-props":typeof s===M(976)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof u===M(976)?u:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===M(515)?f*k:void 0,"--xy-minimap-node-background-color-props":typeof e===M(976)?e:void 0,"--xy-minimap-node-stroke-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-width-props":typeof i===M(515)?i:void 0},className:Ae([M(717),t]),"data-testid":"rf__minimap",children:l.jsxs(M(1521),{width:D,height:N,viewBox:$+" "+te+" "+ee+" "+re,className:M(2084),role:M(1875),"aria-labelledby":ce,ref:Y,onClick:le,children:[A&&l[M(1838)](M(952),{id:ce,children:A}),l[M(1838)](eh,{onClick:S,nodeColor:e,nodeStrokeColor:x,nodeBorderRadius:r,nodeClassName:o,nodeStrokeWidth:i,nodeComponent:a}),l[M(1838)]("path",{className:M(1845),d:"M"+($-J)+","+(te-J)+"h"+(ee+J*2)+"v"+(re+J*2)+"h"+(-ee-J*2)+M(1109)+V.x+","+V.y+"h"+V[M(687)]+"v"+V[M(500)]+"h"+-V.width+"z",fillRule:"evenodd",pointerEvents:"none"})]})})}vc[c(1342)]=c(1456);const ih=L[c(1879)](vc),ah=n=>t=>n?""+Math.max(1/t.transform[2],1):void 0,ch={[un[c(823)]]:"right",[un[c(1595)]]:c(501)};function sh({nodeId:n,position:t,variant:x=un[c(1595)],className:e,style:o=void 0,children:r,color:i,minWidth:a=10,minHeight:d=10,maxWidth:s=Number[c(1937)],maxHeight:u=Number[c(1937)],keepAspectRatio:f=!1,resizeDirection:g,autoScale:b=!0,shouldResize:w,onResizeStart:y,onResize:h,onResizeEnd:C}){const p=c,v=Ha(),m=typeof n=="string"?n:v,M=Pe(),I=L[p(270)](null),Y=x===un[p(1595)],G=Be(L[p(1179)](ah(Y&&b),[Y,b]),ke),V=L[p(270)](null),U=t??ch[x];L[p(1046)](()=>{const W=p;if(!(!I[W(1621)]||!m))return!V[W(1621)]&&(V.current=E5({domNode:I.current,nodeId:m,getStoreItems:()=>{const q=W,{nodeLookup:T,transform:B,snapGrid:D,snapToGrid:N,nodeOrigin:E,domNode:P}=M[q(356)]();return{nodeLookup:T,transform:B,snapGrid:D,snapToGrid:N,nodeOrigin:E,paneDomNode:P}},onChange:(q,T)=>{const B=W,{triggerNodeChanges:D,nodeLookup:N,parentLookup:E,nodeOrigin:P}=M.getState(),k=[],Z={x:q.x,y:q.y},_=N[B(1519)](m);if(_&&_[B(382)]&&_.parentId){const J=_.origin??P,$=q[B(687)]??_[B(1285)][B(687)]??0,te=q.height??_.measured[B(500)]??0,ee={id:_.id,parentId:_[B(684)],rect:{width:$,height:te,...ki({x:q.x??_[B(895)].x,y:q.y??_[B(895)].y},{width:$,height:te},_[B(684)],N,J)}},re=no([ee],N,E,P);k[B(1297)](...re),Z.x=q.x?Math[B(363)](J[0]*$,q.x):void 0,Z.y=q.y?Math[B(363)](J[1]*te,q.y):void 0}if(Z.x!==void 0&&Z.y!==void 0){const J={id:m,type:B(895),position:{...Z}};k[B(1297)](J)}if(q.width!==void 0&&q.height!==void 0){const J=g?g===B(282)?B(687):B(500):!0,$={id:m,type:"dimensions",resizing:!0,setAttributes:J,dimensions:{width:q[B(687)],height:q.height}};k[B(1297)]($)}for(const J of T){const $={...J,type:B(895)};k.push($)}D(k)},onEnd:({width:q,height:T})=>{const B=W,D={id:m,type:B(1201),resizing:!1,dimensions:{width:q,height:T}};M[B(356)]()[B(1605)]([D])}})),V[W(1621)][W(637)]({controlPosition:U,boundaries:{minWidth:a,minHeight:d,maxWidth:s,maxHeight:u},keepAspectRatio:f,resizeDirection:g,onResizeStart:y,onResize:h,onResizeEnd:C,shouldResize:w}),()=>{const q=W;V[q(1621)]?.[q(880)]()}},[U,a,d,s,u,f,y,h,C,w]);const Q=U[p(853)]("-");return l[p(1838)](p(701),{className:Ae([p(525),p(470),...Q,x,e]),ref:I,style:{...o,scale:G,...i&&{[p(Y?1596:294)]:i}},children:r})}L[c(1879)](sh);const wc=n=>Symbol[c(547)]in n,pc=n=>"entries"in n,zc=(n,t)=>{const x=c,e=n instanceof Map?n:new Map(n[x(889)]()),o=t instanceof Map?t:new Map(t[x(889)]());if(e[x(1424)]!==o.size)return!1;for(const[r,i]of e)if(!o.has(r)||!Object.is(i,o[x(1519)](r)))return!1;return!0},lh=(n,t)=>{const x=c,e=n[Symbol.iterator](),o=t[Symbol.iterator]();let r=e[x(800)](),i=o.next();for(;!r[x(1385)]&&!i[x(1385)];){if(!Object.is(r.value,i[x(658)]))return!1;r=e[x(800)](),i=o.next()}return!!r[x(1385)]&&!!i[x(1385)]};function dh(n,t){const x=c;return Object.is(n,t)?!0:typeof n!==x(2101)||n===null||typeof t!="object"||t===null||Object[x(1115)](n)!==Object[x(1115)](t)?!1:wc(n)&&wc(t)?pc(n)&&pc(t)?zc(n,t):lh(n,t):zc({entries:()=>Object.entries(n)},{entries:()=>Object[x(889)](t)})}const Cc={inlineScript:c(660),dataRequest:c(552),external:"外部方法",builtin:c(2080)},uh=[{label:c(665),value:"antdMessage"},{label:c(1747),value:"switchCanvas"}],fh=[{label:c(1697),value:"info"},{label:c(2044),value:"success"},{label:c(666),value:c(666)},{label:c(1186),value:"error"},{label:c(928),value:"loading"}];function Mc(n,t,x){const e=c,o=x[e(891)](i=>i[e(1917)]===n),r=o[e(2088)];return o.map((i,a)=>{const d=e,s=t[d(1388)](f=>f.id===i[d(1969)]),u=s?.[d(896)];return{sourceId:i.source,sourceLabel:u?.[d(273)]??i[d(1969)],edgeIndex:a,totalIncoming:r}})}const bh=({data:n,id:t})=>{const x=c,{root:e}=je(),o=Be(L[x(1179)](a=>Mc(t,a[x(906)],a.edges)[x(802)](({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[t]),dh),r=n[x(1705)][x(1351)]??x(614),i=r===x(947)?n[x(1705)][x(600)]:r===x(861)?n[x(1705)][x(479)]:r==="builtin"?n[x(1705)][x(1779)]===x(1095)?n[x(1705)].builtinId+": "+String(n[x(1705)][x(833)]?.[x(1261)]??"").slice(0,24):n[x(1705)][x(1779)]==="switchCanvas"?x(1858)+(e[x(771)].find(a=>a.id===n[x(1705)][x(833)]?.[x(1878)])?.name??x(1654)):n[x(1705)][x(1779)]:null;return l.jsxs("div",{className:"bg-white border-2 border-blue-500 rounded-lg p-3 min-w-[180px] shadow-md",children:[l[x(1838)](bn,{type:"target",position:ue[x(478)],className:x(727)}),l[x(328)]("div",{className:x(2108),children:[l[x(1838)](x(1111),{className:"font-medium text-sm truncate",children:n[x(273)]}),l[x(328)](z[x(692)],{size:x(1948),children:[l[x(1838)](z[x(1140)],{type:x(303),size:"small",icon:l[x(1838)](se[x(1902)],{}),onClick:()=>n[x(574)](t)}),l[x(1838)](z[x(1140)],{type:x(303),size:"small",danger:!0,icon:l.jsx(se[x(877)],{}),onClick:()=>n.onDelete(t)})]})]}),l.jsx("div",{className:x(1450),children:l[x(328)](z[x(734)],{color:r===x(614)?x(267):r===x(262)?"cyan":x(1379),className:x(377),children:[Cc[r],i?x(1347)+i:""]})}),l[x(328)]("div",{className:x(1822),children:[n[x(1705)][x(1834)]?.length>0&&l[x(328)]("div",{children:[x(897),n.eventBlock[x(1834)].map(a=>a[x(495)])[x(2022)](", ")]}),o[x(2088)]>0&&l[x(328)]("div",{className:x(888),children:["上游连线:",o[x(802)](a=>l[x(328)]("div",{className:x(647),children:["←「",a.label,x(516)]},a[x(1441)]))]})]}),l[x(1838)](bn,{type:x(1969),position:ue[x(728)],className:x(727)})]})},hh={eventBlock:bh},gh=Object[c(889)](Cc).map(([n,t])=>({label:t,value:n})),Bc=[{label:"点击",value:c(410)},{label:c(1264),value:c(1954)},{label:c(534),value:c(1389)},{label:"双击",value:c(1419)},{label:"鼠标移入",value:c(1471)},{label:c(1683),value:c(664)},{label:c(725),value:c(1760)},{label:"右键菜单",value:c(1075)},{label:c(1317),value:"dataRequest"},{label:c(1227),value:"external"}];function yh(n,t){const x=c,e={},o=[...n];return o[x(1105)]((r,i)=>{const a=x,d=t.inputs[i]?.[a(495)]??(o[a(2088)]===1?a(1678):a(1678)+i);e[d]=a(1981)+r[a(1969)]}),e}function mh(n,t,x){const e=c;return x[n]?.name??(t===1?"prev":e(1678)+n)}const vh=[{label:c(976),value:c(976)},{label:c(515),value:c(515)},{label:c(782),value:c(782)},{label:c(2101),value:c(2101)},{label:c(1883),value:c(1883)}];function Dc(n){const t=c,x=Bc.find(o=>o.value===n.eventType),e=x?.[t(273)]??n[t(1827)];if(n.eventType===t(861)){const o=(n.externalEventKey||"").trim();return o?e+t(1347)+o:e}return e}const wh=({open:n,onClose:t,bindNodeId:x})=>{const e=c,{nodes:o,eventFlow:r,externalHandlerCatalog:i,addEventBlock:a,upsertEventBlock:d,removeEventBlock:s,addEventRoot:u,updateEventRoot:f,root:g}=je(),[b,w,y]=E2([]),[h,C,p]=j2([]),v=L[e(270)](b);v[e(1621)]=b;const[m,M]=L[e(1183)](null),[I,Y]=L[e(1183)](!1),[G]=z[e(688)].useForm(),V=z.Form[e(1081)]("eventType",G),[U,Q]=L.useState(null),[W,q]=L.useState(!1),[T]=z[e(688)][e(565)](),B=z[e(688)][e(1081)](e(1351),T),D=z[e(688)][e(1081)](e(1779),T),N=z.Form[e(1081)]("inputs",T),E=L[e(662)](()=>!W||!U?[]:Mc(U.id,b,h),[W,U,b,h]),P=L[e(270)](()=>{}),k=L.useRef(()=>{});L[e(1046)](()=>{const S=e;if(W&&U){const A=U.builtinConfig??{},{outputs:K,...X}=U;T[S(396)]({...X,executorType:U[S(1351)]??S(614),builtinId:U[S(1779)],inputs:U[S(1834)]??[],builtinConfig:{content:String(A.content??""),level:String(A[S(422)]??S(1697)),duration:A[S(1160)]===void 0||A[S(1160)]===null?void 0:Number(A.duration)}})}},[W,U,T]);const Z=L[e(1179)](S=>{C(A=>Vi(S,A))},[C]),_=S=>{const A=e,K={bindNodeId:S[A(2041)],eventType:S[A(1827)],externalEventKey:S[A(1827)]===A(861)?(S.externalEventKey||"")[A(1543)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},X=u(K);M({...K,id:X}),G[A(1562)](),Y(!1),z[A(369)][A(2044)](A(2087))},J=L[e(1179)](S=>{const A=e;s(S),w(K=>K[A(891)](X=>X.id!==S)),C(K=>K.filter(X=>X.source!==S&&X[A(1917)]!==S))},[s,w,C]),$=L[e(1179)](S=>{const A=e,K=v[A(1621)][A(1388)](ae=>ae.id===S)?.[A(896)]?.[A(1705)],X=r[A(432)][A(1388)](ae=>ae.id===S),H=K??X;H?(Q({...H,id:S}),q(!0)):z[A(369)][A(666)](A(446))},[r[e(432)]]);P[e(1621)]=$,k[e(1621)]=J,L[e(1046)](()=>{const S=e;if(n&&m){const A=m[S(852)][S(906)].map(X=>({id:X.id,type:S(1705),position:X[S(895)],data:{label:X[S(896)][S(273)],eventBlock:X[S(896)][S(1705)],onEdit:H=>P[S(1621)](H),onDelete:H=>k.current(H)}})),K=m[S(852)].edges[S(802)](X=>({id:X.id,source:X.source,target:X[S(1917)]}));w(A),C(K)}},[n,m,w,C]);const te=()=>{const S=e,A={name:S(538),executorType:"inlineScript",callback:"return args;",inputs:[],outputs:[]},K=a(A),X={...A,id:K},H={id:K,type:"eventBlock",position:{x:100+b[S(2088)]*50,y:100+b.length*30},data:{label:X[S(495)],eventBlock:X,onEdit:ae=>P[S(1621)](ae),onDelete:ae=>k[S(1621)](ae)}};w(ae=>[...ae,H])},ee=()=>{const S=e,A={name:S(1110),executorType:S(262),builtinId:S(1095),builtinConfig:{content:S(942),level:"info"},callback:S(859),inputs:[],outputs:[]},K=a(A),X={...A,id:K},H={id:K,type:S(1705),position:{x:120+b[S(2088)]*50,y:140+b[S(2088)]*30},data:{label:X[S(495)],eventBlock:X,onEdit:ae=>P[S(1621)](ae),onDelete:ae=>k[S(1621)](ae)}};w(ae=>[...ae,H])},re=()=>{const S=e,A={name:S(1747),executorType:S(262),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[S(771)][0]?.id||""},callback:S(859),inputs:[],outputs:[]},K=a(A),X={...A,id:K},H={id:K,type:"eventBlock",position:{x:120+b[S(2088)]*50,y:140+b[S(2088)]*30},data:{label:X[S(495)],eventBlock:X,onEdit:ae=>P[S(1621)](ae),onDelete:ae=>k[S(1621)](ae)}};w(ae=>[...ae,H])},ce=S=>{const A=e;if(!U)return;const K=S[A(1351)]??U[A(1351)]??A(614),X={name:S.name,callback:S[A(978)]??U[A(978)],executorType:K,dataRequestKey:K==="dataRequest"?(S.dataRequestKey||"")[A(1543)]():void 0,externalHandlerKey:K===A(861)?(S.externalHandlerKey||"")[A(1543)]():void 0,builtinId:K==="builtin"?S[A(1779)]:void 0,builtinConfig:K===A(262)&&S.builtinId==="antdMessage"?{content:String(S[A(833)]?.content??"").trim(),level:S[A(833)]?.level||A(1697),duration:S[A(833)]?.[A(1160)]===null||S[A(833)]?.[A(1160)]===void 0?void 0:Number(S[A(833)][A(1160)])}:K===A(262)&&S[A(1779)]==="switchCanvas"?{targetCanvasId:String(S[A(833)]?.[A(1878)]??"")[A(1543)]()}:void 0},H=S.inputs??[],ae=H.filter(me=>me?.[A(495)]&&String(me[A(495)])[A(1543)]()),fe={...U,...X,inputs:ae,outputs:[]};d(fe),w(me=>me[A(802)](he=>he.id===U.id?{...he,data:{...he.data,label:fe[A(495)]||he[A(896)].label,eventBlock:fe}}:he)),q(!1),Q(null),z[A(369)].success("事件块已更新")},ie=()=>{const S=e;if(!m)return;const A=b[S(802)](X=>{const H=S,ae=h[H(891)](he=>he[H(1917)]===X.id),fe=X[H(896)][H(1705)],me={...fe,outputs:[]};return{id:X.id,eventBlockId:X.id,position:X[H(895)],inputs:ae.map(he=>he.source),outputs:h[H(891)](he=>he[H(1969)]===X.id)[H(802)](he=>he.target),data:{label:X[H(896)][H(273)],eventBlock:me,inputMapping:yh(ae,me)}}}),K=h[S(802)](X=>({id:X.id,source:X[S(1969)],target:X.target}));f(m.id,{flowData:{nodes:A,edges:K}}),$0[S(1305)]({...m,flowData:{nodes:A,edges:K}}),z.message[S(2044)]("事件流保存成功"),t()},F=L[e(662)](()=>o[e(802)](S=>({label:S[e(495)],value:S.id})),[o]),le=L[e(662)](()=>x?r.eventRoots[e(891)](S=>S.bindNodeId===x):r.eventRoots,[r[e(1230)],x]);return n?l.jsxs(z[e(346)],{title:e(1965),open:n,onCancel:t,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[m?l[e(328)](e(701),{className:e(1926),style:{height:700},children:[l.jsxs("div",{className:e(498),children:[l[e(1838)](z.Space,{children:l.jsxs(e(1111),{className:"font-medium",children:[e(1011),Dc(m)," →"," ",o.find(S=>S.id===m[e(2041)])?.[e(495)]]})}),l[e(328)](z[e(692)],{children:[l[e(1838)](z[e(1140)],{icon:l[e(1838)](se[e(870)],{}),onClick:te,children:"添加事件块"}),l[e(1838)](z[e(1140)],{icon:l[e(1838)](se.PlusOutlined,{}),onClick:ee,children:e(1110)}),l.jsx(z[e(1140)],{icon:l[e(1838)](se.PlusOutlined,{}),onClick:re,children:e(1747)}),l.jsx(z[e(1140)],{type:e(336),icon:l.jsx(se[e(1826)],{}),onClick:ie,children:"保存"}),l[e(1838)](z[e(1140)],{icon:l[e(1838)](se[e(1257)],{}),onClick:()=>M(null),children:e(1675)})]})]}),l[e(1838)](e(701),{className:"flex-1",children:l.jsxs(A2,{nodes:b,edges:h,onNodesChange:y,onEdgesChange:p,onConnect:Z,nodeTypes:hh,fitView:!0,children:[l[e(1838)](V2,{}),l.jsx(Z2,{}),l.jsx(ih,{})]})})]}):l[e(328)](e(701),{className:e(1410),children:[l.jsxs("div",{className:e(1096),children:[l[e(1838)]("h3",{className:e(366),children:e(570)}),l[e(1838)](z[e(1140)],{type:e(336),icon:l[e(1838)](se.PlusOutlined,{}),onClick:()=>Y(!0),children:e(1339)})]}),l[e(1838)](z[e(1715)],{dataSource:le,renderItem:S=>l[e(1838)](z[e(1715)][e(801)],{actions:[l[e(1838)](z[e(1140)],{type:"primary",icon:l.jsx(se[e(1902)],{}),onClick:()=>M(S),children:"编辑"},e(1143))],children:l[e(1838)](z.List[e(801)][e(1498)],{title:l[e(328)](z[e(692)],{children:[l.jsxs(e(1111),{children:[e(907),Dc(S)]}),l[e(1838)](z[e(734)],{color:e(711),children:o[e(1388)](A=>A.id===S.bindNodeId)?.[e(495)]||S[e(2041)]})]}),description:e(882)+S[e(852)].nodes[e(2088)]+e(590)+S.flowData[e(2048)].length})}),locale:{emptyText:l[e(1838)](z[e(1439)],{description:e(1153)})}}),l[e(1838)](z[e(346)],{title:e(1339),open:I,onCancel:()=>{G.resetFields(),Y(!1)},footer:null,afterOpenChange:S=>{S&&(G[e(1562)](),x&&G.setFieldsValue({bindNodeId:x}))},children:l[e(328)](z[e(688)],{form:G,onFinish:_,layout:e(1463),children:[l[e(1838)](z[e(688)].Item,{name:e(2041),label:e(1163),rules:[{required:!0,message:e(1421)}],initialValue:x,children:l[e(1838)](z[e(1810)],{options:F,placeholder:e(1548),disabled:!!x})}),l[e(1838)](z[e(688)][e(801)],{name:e(1827),label:e(991),rules:[{required:!0,message:e(1067)}],children:l[e(1838)](z.Select,{options:Bc,placeholder:e(1145)})}),V==="external"&&l[e(1838)](z[e(688)][e(801)],{name:e(957),label:"外部事件标识",rules:[{required:!0,message:e(1487)},{validator:(S,A)=>(A||"")[e(1543)]()?Promise[e(491)]():Promise[e(797)](new Error("标识不能为空"))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[e(1838)](z[e(1300)],{placeholder:e(452)})}),l[e(1838)](z[e(688)].Item,{className:e(1148),children:l.jsxs(z[e(692)],{className:e(1250),children:[l.jsx(z[e(1140)],{onClick:()=>{G[e(1562)](),Y(!1)},children:"取消"}),l.jsx(z[e(1140)],{type:e(336),htmlType:e(1141),children:"创建"})]})})]})})]}),l[e(1838)](z.Modal,{title:"编辑事件块",open:W,onCancel:()=>{q(!1),Q(null)},footer:null,destroyOnClose:!0,children:l[e(328)](z[e(688)],{form:T,onFinish:ce,layout:e(1463),children:[l[e(1838)](z[e(688)][e(801)],{name:e(495),label:"名称",rules:[{required:!0,message:e(371)}],children:l[e(1838)](z[e(1300)],{})}),l[e(1838)](z[e(688)][e(801)],{name:"executorType",label:e(1268),rules:[{required:!0,message:"请选择执行方式"}],children:l[e(1838)](z[e(1810)],{options:gh,placeholder:e(548)})}),B==="builtin"&&l.jsx(z[e(688)][e(801)],{name:e(1779),label:e(2080),rules:[{required:!0,message:e(1133)}],children:l[e(1838)](z[e(1810)],{options:uh,placeholder:e(1228)})}),B==="builtin"&&D===e(1095)&&l[e(328)](l[e(561)],{children:[l.jsx(z[e(688)][e(801)],{name:[e(833),e(1261)],label:e(1524),rules:[{required:!0,message:e(527)}],extra:e(1511),children:l[e(1838)](z[e(1300)].TextArea,{rows:3,placeholder:e(703)})}),l[e(1838)](z[e(688)][e(801)],{name:[e(833),e(422)],label:e(523),children:l[e(1838)](z[e(1810)],{options:fh})}),l[e(1838)](z.Form[e(801)],{name:["builtinConfig",e(1160)],label:e(596),extra:e(484),children:l[e(1838)](z[e(624)],{min:0,step:.5,style:{width:e(1608)},placeholder:"默认"})})]}),B===e(262)&&D==="switchCanvas"&&l[e(1838)](z[e(688)][e(801)],{name:[e(833),"targetCanvasId"],label:"目标画布",rules:[{required:!0,message:e(1641)}],children:l.jsx(z[e(1810)],{placeholder:e(708),options:g[e(771)][e(802)](S=>({value:S.id,label:S[e(495)]}))})}),B===e(947)&&l[e(1838)](z.Form[e(801)],{name:e(600),label:e(1182),rules:[{required:!0,message:e(1893)},{validator:(S,A)=>(A||"")[e(1543)]()?Promise.resolve():Promise[e(797)](new Error(e(1579)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l.jsx(z[e(1300)],{placeholder:e(1433)})}),B==="external"&&l[e(1838)](z[e(688)][e(801)],{name:e(479),label:e(1944),rules:[{required:!0,message:"请填写外部方法标识"},{validator:(S,A)=>(A||"").trim()?Promise[e(491)]():Promise[e(797)](new Error(e(1579)))}],extra:i[e(2088)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[e(2088)]>0?l.jsx(z[e(1810)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:"选择已注册的外部方法",options:i.map(S=>({value:S[e(1823)],label:S[e(273)],title:S[e(1217)]?S.label+" — "+S[e(1217)]:S.label+" ("+S[e(1823)]+")"}))}):l.jsx(z.Input,{placeholder:e(1512)})}),B==="inlineScript"&&l[e(1838)](z.Form.Item,{name:e(978),label:e(2031),rules:[{validator:(S,A)=>{const K=e;return typeof A=="string"&&A[K(1543)]()?Promise[K(491)]():Promise[K(797)](new Error(K(1187)))}}],children:l.jsx(z[e(1300)][e(1824)],{rows:6,placeholder:e(1501)})}),E[e(2088)]>0&&l[e(328)](e(701),{className:e(1434),children:[l[e(1838)]("div",{className:e(438),children:e(1139)}),l[e(1838)]("ul",{className:e(1063),children:E.map(S=>{const A=e,K=N??U?.[A(1834)]??[],X=mh(S[A(719)],S.totalIncoming,K);return l[A(328)]("li",{className:A(375),children:[l.jsxs(A(701),{className:A(489),children:["第 ",S[A(719)]+1,A(437),S[A(1073)],A(1226),l[A(1838)](A(1906),{children:A(625)})," →"," ",l[A(328)](A(1590),{className:A(1549),children:[A(1005),X]})]}),l.jsxs("div",{className:A(909),children:["在下方第 ",S.edgeIndex+1,A(277)]})]},S[A(1441)])})})]}),l[e(1838)](e(701),{className:e(430),children:e(1837)}),l[e(328)](e(701),{className:e(1551),children:[e(765)," ",l[e(1838)](e(1590),{children:e(1440)}),",多入边用 ",l[e(1838)](e(1590),{children:e(1017)}),"、",l[e(1838)](e(1590),{children:e(1535)}),"…"]}),l[e(1838)](z.Form[e(1715)],{name:e(1834),children:(S,{add:A,remove:K})=>l[e(328)](l.Fragment,{children:[S[e(802)](({key:X,name:H,...ae})=>l[e(328)](z.Space,{align:e(390),wrap:!0,className:e(450),children:[l[e(1838)](z[e(688)][e(801)],{...ae,name:[H,"name"],rules:[{required:!0,message:"名称"}],children:l[e(1838)](z[e(1300)],{placeholder:"参数名,如 A",style:{width:140}})}),l[e(1838)](z[e(688)][e(801)],{...ae,name:[H,e(1972)],initialValue:"any",children:l[e(1838)](z[e(1810)],{options:vh,style:{width:100}})}),l[e(1838)](se[e(1617)],{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>K(H)})]},X)),l[e(1838)](z[e(1140)],{type:e(1082),onClick:()=>A({type:e(1883)}),block:!0,icon:l.jsx(se[e(870)],{}),children:e(1340)})]})}),l.jsx(z.Form.Item,{className:e(365),children:l[e(328)](z[e(692)],{className:e(1250),children:[l[e(1838)](z[e(1140)],{onClick:()=>{q(!1),Q(null)},children:"取消"}),l.jsx(z[e(1140)],{type:e(336),htmlType:"submit",children:"保存"})]})})]})})]}):null},Qt={click:"点击",mouseDown:c(1264),mouseUp:c(534),doubleClick:"双击",mouseOver:c(1455),mouseLeave:"鼠标移出",mouseEnter:"鼠标进入",contextMenu:c(845),dataRequest:c(1317),external:"外部事件"};function ph(n){const t=c;if(n[t(1827)]===t(861)){const x=(n[t(957)]||"").trim();return x?Qt.external+" · "+x:Qt.external}return Qt[n[t(1827)]]}const zh=Object[c(889)](Qt)[c(802)](([n,t])=>({label:t,value:n})),Ch=({nodeId:n})=>{const t=c,{eventFlow:x,addEventRoot:e,updateEventRoot:o,removeEventRoot:r}=je(),[i,a]=L[t(1183)](!1),[d,s]=L[t(1183)](null),[u,f]=L.useState(!1),[g]=z[t(688)][t(565)](),b=z[t(688)][t(1081)](t(1827),g),w=L[t(662)](()=>{const v=t;return x[v(1230)][v(891)](m=>m[v(2041)]===n)},[x.eventRoots,n]),y=v=>{const m=t,M={bindNodeId:n,eventType:v[m(1827)],externalEventKey:v[m(1827)]===m(861)?(v[m(957)]||"")[m(1543)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};e(M),g[m(1562)](),f(!1)},h=v=>{s(v),a(!0)},C=(v,m)=>{o(v.id,{enabled:m})},p=v=>{r(v)};return l[t(328)](t(701),{children:[l.jsxs(t(701),{className:t(1096),children:[l[t(1838)]("h4",{className:t(975),children:t(755)}),l[t(1838)](z[t(1140)],{type:"primary",size:t(1948),icon:l[t(1838)](se[t(870)],{}),onClick:()=>f(!0),children:t(1573)})]}),l[t(1838)](z[t(1715)],{dataSource:w,renderItem:v=>l[t(1838)](z.List.Item,{actions:[l[t(1838)](z.Switch,{checked:v[t(1431)],size:t(1948),onChange:m=>C(v,m)},t(1922)),l[t(1838)](z[t(1140)],{type:t(303),size:t(1948),icon:l[t(1838)](se.EditOutlined,{}),onClick:()=>h(v)},"edit"),l[t(1838)](z[t(556)],{title:t(807),description:t(1833),onConfirm:()=>p(v.id),children:l[t(1838)](z[t(1140)],{type:t(303),danger:!0,size:t(1948),icon:l[t(1838)](se.DeleteOutlined,{})})},t(779))],children:l.jsx(z[t(1715)][t(801)][t(1498)],{title:l[t(328)](z[t(692)],{children:[l[t(1838)](z.Tag,{color:v[t(1431)]?t(711):"default",children:ph(v)}),l[t(328)]("span",{className:t(1665),children:[v.flowData[t(906)][t(2088)],t(1291)]})]}),description:v.enabled?l.jsx(t(1111),{className:t(1411),children:"已启用"}):l[t(1838)](t(1111),{className:t(1665),children:t(1243)})})}),locale:{emptyText:l[t(1838)](z[t(1439)],{image:z.Empty[t(1920)],description:t(2021)})}}),l[t(1838)](z[t(346)],{title:"添加事件流",open:u,onCancel:()=>{g[t(1562)](),f(!1)},footer:null,afterOpenChange:v=>{v&&g[t(1562)]()},children:l.jsxs(z[t(688)],{form:g,onFinish:y,layout:t(1463),children:[l.jsx(z.Form.Item,{name:t(1827),label:t(991),rules:[{required:!0,message:t(1067)}],children:l[t(1838)](z[t(1810)],{options:zh,placeholder:t(1119)})}),b===t(861)&&l.jsx(z[t(688)][t(801)],{name:"externalEventKey",label:t(476),rules:[{required:!0,message:t(1487)},{validator:(v,m)=>(m||"")[t(1543)]()?Promise[t(491)]():Promise[t(797)](new Error(t(1579)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[t(1838)](z[t(1300)],{placeholder:"例如:refresh 或 parent:reload"})}),l[t(1838)](z.Form[t(801)],{className:t(1148),children:l[t(328)](z[t(692)],{className:"w-full justify-end",children:[l[t(1838)](z[t(1140)],{onClick:()=>f(!1),children:"取消"}),l[t(1838)](z[t(1140)],{type:t(336),htmlType:"submit",children:"创建"})]})})]})}),l[t(1838)](wh,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:n})]})},{Panel:M0}=z[c(1299)],{TabPane:Ft}=z.Tabs,{TextArea:Mh}=z[c(1300)],Lc=({defaultTestData:n})=>{const t=c,{nodes:x,selectedNodeId:e,updateNode:o,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:d,selectedStatusId:s,selectStatus:u}=je(),[f]=z[t(688)].useForm(),[g,b]=L[t(1183)](t(917)),[w,y]=L[t(1183)](!1),[h,C]=L[t(1183)](null),[p,v]=L[t(1183)]({}),m=L[t(662)](()=>x[t(1388)](N=>N.id===e),[x,e]),M=m?.[t(905)][t(514)]||[],I=D=>{const N=t;e&&(D.normalStyle&&r(e,D[N(652)]),D.name!==void 0&&o(e,{name:D[N(495)]}),D[N(1572)]&&i(e,D.controlInfo))};console[t(1478)](e,t(1359),m),L[t(1046)](()=>{const D=t;m&&m&&(f[D(396)]({name:m[D(495)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:D(1515),borderRadius:0,opacity:1,...m[D(652)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...m[D(1572)]}}),u(null))},[m,u,f]);const Y=()=>{const D=t;!e||!m||(C(D(804)),y(!0))},G=D=>{const N=t;if(!e||!m)return;const E={id:ve[N(1068)](),name:D[N(495)]+N(1736)+(M[N(2088)]+1),expression:M[N(2088)]===0?N(326):"return false;",material:{...D,id:ve[N(1068)]()},boundDatasetId:null};if(h==="new"){const P=[...M,E];a(e,{statusList:P})}else if(h){const P=M[N(802)](k=>{const Z=N;return k.id===h?{...k,material:{...D,id:ve[Z(1068)]()}}:k});a(e,{statusList:P})}y(!1),C(null)},V=D=>{const N=t;if(!e||!m)return;const E=m.contentInfo[N(514)]?.[N(891)](P=>P.id!==D)||[];a(e,{statusList:E}),s===D&&u(null)},U=(D,N)=>{const E=t;if(!e||!m)return;const P=m[E(905)].statusList?.map(k=>k.id===D?{...k,...N}:k)||[];a(e,{statusList:P})},Q=D=>{const N=t;if(!e||!m)return;const E={...D,id:ve.nanoid(),name:D[N(495)]+N(456),expression:N(2091)},P=[...M,E];a(e,{statusList:P})},W=(D,N)=>{const E=t;if(!e||!m)return;const P=M[E(1592)](Z=>Z.id===D);if(P===-1)return;const k=[...M];N==="up"&&P>0?[k[P],k[P-1]]=[k[P-1],k[P]]:N===E(724)&&P<k[E(2088)]-1&&([k[P],k[P+1]]=[k[P+1],k[P]]),a(e,{statusList:k})},q=D=>{C(D),y(!0)},T=(D,N)=>{const E=t,P=N[E(973)]||{},k=P.startX??0,Z=P[E(1210)]??0,_=P[E(1931)]??100,J=P[E(526)]??0,$=Math.max((P[E(1538)]||P[E(2100)]||2)*2,4),te=Math[E(408)](k,_),ee=Math[E(408)](Z,J),re=Math[E(363)](k,_),ce=Math[E(363)](Z,J),ie=Math[E(363)](re-te,$),F=Math[E(363)](ce-ee,$),le=D[E(652)].x||0,S=D[E(652)].y||0;return{material:{...N,config:{...P,startX:k-te,startY:Z-ee,endX:_-te,endY:J-ee}},box:{x:le+te,y:S+ee,width:ie,height:F}}},B=(D,N)=>{const E=t;if(!e||!m)return;const{list:P,lineBox:k}=M[E(442)]((Z,_)=>{const J=E;if(_.id!==D)return Z[J(1072)].push(_),Z;let $;if(_[J(1016)][J(1972)]===J(696)&&J(973)in N&&N[J(973)]!==void 0){const te=_.material,ee=N.config;$={...te,...N,config:{...te.config||{},...ee}}}else $={..._[J(1016)],...N};if($.type==="LINE"){const{material:te,box:ee}=T(m,$);return Z[J(1072)][J(1297)]({..._,material:te}),Z[J(541)]=ee,Z}return Z[J(1072)].push({..._,material:$}),Z},{list:[],lineBox:null});k!==null?o(e,{normalStyle:{...m[E(652)],x:k.x,y:k.y,width:k[E(687)],height:k[E(500)]},contentInfo:{...m.contentInfo,statusList:P}}):a(e,{statusList:P})};return m?l[t(328)]("div",{className:t(623),children:[l.jsxs(t(701),{className:t(358),children:[l[t(1838)]("h3",{className:"text-lg font-semibold text-gray-800",children:"属性面板"}),l.jsx("p",{className:"text-sm text-gray-500",children:t(1370)})]}),l.jsx(t(701),{className:t(1175),children:l[t(328)](z[t(1831)],{activeKey:g,onChange:b,children:[l[t(1838)](Ft,{tab:"基础",children:l[t(328)](z[t(688)],{form:f,layout:"vertical",onValuesChange:I,initialValues:{name:m[t(495)]},children:[l[t(1838)](z[t(688)][t(801)],{label:t(1172),name:"name",children:l[t(1838)](z[t(1300)],{placeholder:t(508)})}),l[t(328)](z[t(1299)],{ghost:!0,defaultActiveKey:[t(895),t(1424),t(2062)],children:[l[t(1838)](M0,{header:"位置",children:l[t(328)](z[t(692)],{children:[l[t(1838)](z[t(688)][t(801)],{label:"X",name:[t(652),"x"],children:l.jsx(z[t(624)],{})}),l[t(1838)](z.Form[t(801)],{label:"Y",name:["normalStyle","y"],children:l[t(1838)](z.InputNumber,{})})]})},"position"),l[t(1838)](M0,{header:"尺寸",children:l.jsxs(z.Space,{children:[l.jsx(z[t(688)][t(801)],{label:"宽度",name:[t(652),"width"],children:l.jsx(z.InputNumber,{min:10})}),l[t(1838)](z[t(688)][t(801)],{label:"高度",name:[t(652),t(500)],children:l[t(1838)](z[t(624)],{min:10})})]})},t(1424)),l[t(328)](M0,{header:"样式",children:[l.jsx(z[t(688)][t(801)],{label:"背景色",name:["normalStyle","background"],children:l[t(1838)](z[t(1300)],{placeholder:t(1802)})}),l[t(1838)](z[t(688)].Item,{label:t(638),name:["normalStyle",t(566)],children:l[t(1838)](z[t(624)],{min:0})}),l[t(1838)](z[t(688)][t(801)],{label:"圆角",name:["normalStyle","borderRadius"],children:l.jsx(z[t(624)],{min:0})}),l[t(1838)](z.Form[t(801)],{label:t(2105),name:[t(652),t(568)],help:"等比缩放节点的宽高",children:l[t(1838)](z[t(624)],{min:.1,max:5,step:.1})}),l[t(1838)](z[t(688)][t(801)],{label:t(989),name:[t(652),t(615)],help:t(1327),children:l[t(1838)](z[t(624)],{min:0,max:360,step:1})}),l[t(1838)](z[t(688)][t(801)],{label:t(398),name:[t(652),"opacity"],children:l[t(1838)](z[t(624)],{min:0,max:1,step:.1})}),l[t(1838)](z[t(688)][t(801)],{label:"层级",name:["normalStyle",t(1021)],children:l[t(1838)](z[t(624)],{})})]},"style")]})]})},t(917)),l[t(1838)](Ft,{tab:"状态",children:m[t(1972)]===t(1984)&&m.children?l[t(1838)](xl,{node:m,updateNode:o,materials:d}):l[t(328)](t(701),{className:t(1857),children:[l[t(328)](t(701),{className:t(2108),children:[l.jsxs(t(1111),{className:t(1102),children:[t(1415),l[t(1838)](z[t(734)],{color:"blue",className:t(1402),children:M[t(2088)]})]}),l.jsx(z.Button,{type:t(336),size:t(1948),icon:l[t(1838)](se[t(870)],{}),onClick:Y,children:t(447)})]}),l[t(1838)]("p",{className:t(874),children:t(1472)}),M.length>0&&l[t(1838)](t(701),{className:t(1828),children:l[t(1838)]("div",{className:t(1041),children:l.jsxs(t(701),{children:[l[t(1838)](t(1111),{className:t(431),children:t(367)}),l[t(1838)](t(1111),{className:"ml-2 text-sm font-medium text-blue-600",children:"由表达式自动计算"})]})})}),M.length===0?l[t(1838)](t(701),{className:"text-center text-gray-400 py-4 bg-gray-50 rounded-lg",children:t(307)}):l[t(1838)](z[t(1299)],{ghost:!0,defaultActiveKey:M[0]?.id+e,children:M.map((D,N)=>l[t(1838)](M0,{header:l[t(328)](t(701),{className:t(1717),children:[l[t(1838)](t(1111),{className:"text-xs text-gray-400 w-5",children:N+1}),l[t(1838)]("span",{className:t(1102),children:D[t(495)]}),l[t(1838)](z.Tag,{color:t(267),className:t(655),children:D[t(1016)][t(1972)]})]}),extra:l[t(328)](z.Space,{size:t(1948),onClick:E=>E[t(776)](),children:[l[t(1838)](z[t(1140)],{type:t(303),size:"small",icon:l.jsx(se[t(1880)],{}),disabled:N===0,onClick:E=>{E[t(776)](),W(D.id,"up")}}),l[t(1838)](z[t(1140)],{type:t(303),size:t(1948),icon:l[t(1838)](se[t(1516)],{}),disabled:N===M[t(2088)]-1,onClick:E=>{const P=t;E[P(776)](),W(D.id,P(724))}}),l[t(1838)](z[t(1140)],{type:t(303),size:"small",icon:l[t(1838)](se[t(401)],{}),onClick:E=>{E[t(776)](),Q(D)}}),l[t(1838)](z.Button,{type:t(303),size:"small",danger:!0,icon:l[t(1838)](se[t(877)],{}),onClick:E=>{E[t(776)](),V(D.id)}})]}),children:l[t(328)](z[t(688)],{layout:t(1463),children:[l.jsx(z[t(688)][t(801)],{label:t(1624),children:l[t(1838)](z[t(1300)],{value:D.name,onChange:E=>U(D.id,{name:E[t(1917)][t(658)]}),placeholder:t(413)})}),l[t(1838)](wr,{status:D,onUpdate:E=>U(D.id,E),onAppendToExpression:E=>{const P=t;v(k=>({...k,[D.id]:(k[D.id]??D[P(992)])+E}))}}),l[t(1838)](z[t(688)][t(801)],{label:t(693),help:t(678),children:l[t(1838)](Mh,{value:p[D.id]??D.expression,onChange:E=>v(P=>({...P,[D.id]:E[t(1917)].value})),onBlur:E=>{const P=t;U(D.id,{expression:E.target[P(658)]}),v(k=>{const Z={...k};return delete Z[D.id],Z})},rows:3,placeholder:"return true;"})}),l[t(1838)](z[t(688)][t(801)],{label:t(832),children:l[t(328)](t(701),{className:t(1717),children:[l[t(1838)](z[t(734)],{color:t(711),children:D[t(1016)][t(495)]}),l[t(1838)](z[t(734)],{color:"default",children:D[t(1016)][t(1972)]}),l[t(1838)](z.Button,{type:t(322),size:t(1948),icon:l[t(1838)](se[t(1902)],{}),onClick:()=>q(D.id),children:t(1863)})]})}),l[t(1838)](z[t(1756)],{style:{margin:t(2078)}}),l[t(328)](t(701),{className:t(676),children:[l[t(328)]("div",{className:t(2108),children:[l.jsx(t(1111),{className:t(975),children:t(1366)}),l[t(1838)](z[t(734)],{children:D[t(1016)].name})]}),l.jsx(pr,{material:D[t(1016)],onSave:E=>B(D.id,E)})]})]})},D.id+e))})]})},"status"),l[t(1838)](Ft,{tab:"控制",children:l[t(328)](z[t(688)],{form:f,layout:t(1463),onValuesChange:I,children:[l[t(1838)](z.Form[t(801)],{label:"可拖拽",name:[t(1572),t(1038)],valuePropName:t(1436),children:l.jsx(z.Switch,{})}),l[t(1838)](z[t(688)][t(801)],{label:t(474),name:["controlInfo","isClickable"],valuePropName:t(1436),children:l[t(1838)](z.Switch,{})}),l[t(1838)](z[t(688)][t(801)],{label:t(1862),name:["controlInfo",t(707)],valuePropName:t(1436),children:l.jsx(z[t(1809)],{})}),l[t(1838)](z[t(688)][t(801)],{label:"可选中",name:[t(1572),"isSelectable"],valuePropName:t(1436),children:l[t(1838)](z.Switch,{})})]})},"control"),l.jsx(Ft,{tab:t(1104),children:l.jsx(Ch,{nodeId:m.id})},t(898))]})}),l[t(1838)](t(701),{className:t(1135),children:l[t(328)](t(701),{className:t(1822),children:[l[t(328)](t(701),{children:[t(1146),m.id[t(364)](0,8),"..."]}),l[t(328)](t(701),{children:[t(1795),M.length]})]})}),l.jsx(z[t(346)],{title:"选择物料",open:w,onCancel:()=>{y(!1),C(null)},footer:null,width:600,children:l[t(1838)](t(701),{className:t(1465),children:l.jsxs(z[t(1299)],{ghost:!0,defaultActiveKey:[t(917),t(814),"text",t(316)],children:[l.jsx(M0,{header:t(1998),children:l[t(1838)](t(701),{className:t(1055),children:d.filter(D=>["矩形","圆形",t(1023)][t(1052)](D[t(495)])).map(D=>l.jsx(Nc,{material:D,onClick:()=>G(D)},D.id))})},t(917)),l[t(1838)](M0,{header:"设备图标",children:l[t(1838)](t(701),{className:t(1055),children:d[t(891)](D=>["阀门","泵","罐体"][t(1052)](D[t(495)])||D[t(1972)]===t(411)&&!["矩形","圆形",t(1023)].includes(D[t(495)]))[t(802)](D=>l[t(1838)](Nc,{material:D,onClick:()=>G(D)},D.id))})},"device"),l[t(1838)](M0,{header:"文本",children:l.jsx("div",{className:t(1055),children:d[t(891)](D=>D[t(1972)]===t(1811))[t(802)](D=>l[t(328)]("div",{className:t(286),onClick:()=>G(D),children:[l[t(1838)](t(701),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[t(1838)](t(1111),{className:t(1479),children:"T"})}),l[t(1838)](t(1111),{className:t(655),children:D[t(495)]})]},D.id))})},t(303)),l[t(1838)](M0,{header:"线条",children:l[t(1838)]("div",{className:t(1055),children:d[t(891)](D=>D[t(1972)]==="LINE")[t(802)](D=>l.jsxs(t(701),{className:t(286),onClick:()=>G(D),children:[l[t(1838)]("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[t(1838)](t(701),{className:t(1112)})}),l[t(1838)]("span",{className:t(655),children:D.name})]},D.id))})},t(316))]})})})]}):l[t(1838)](t(701),{className:t(593),children:l[t(1838)](z.Empty,{description:"请选择一个节点"})})},Nc=({material:n,onClick:t})=>{const x=c,e=n.type===x(411)?n[x(1744)]:void 0;return l[x(328)]("div",{className:x(286),onClick:t,children:[l.jsx(x(701),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center",children:e?l[x(1838)]("img",{src:e,alt:n[x(495)],className:x(409)}):l[x(1838)](x(1111),{className:"text-xs",children:n[x(495)][0]})}),l[x(1838)]("span",{className:x(655),children:n[x(495)]})]})},Bh="ConfigEditor-module__configEditor__dinNG",Dh={configEditor:Bh},Lh=c(553);function Sc(n){return Array[c(915)](n)}const kc=({open:n,onClose:t})=>{const x=c,{dataPool:e,addDataPoolItem:o,updateDataPoolItem:r,removeDataPoolItem:i}=je(),[a]=z[x(688)].useForm(),[d,s]=L[x(1183)](null);L[x(1046)](()=>{!n&&(s(null),a.resetFields())},[n,a]);const u=()=>{const y=x;s("__new__"),a[y(396)]({name:y(1932)+(e[y(2088)]+1),sampleJson:""})},f=y=>{const h=x;s(y.id),a[h(396)]({name:y[h(495)],sampleJson:JSON[h(1039)](y[h(1959)]??{},null,2)})},g=y=>{const h=x,C=y[h(1543)]();if(!C)return{};const p=JSON.parse(C);if(p===null||typeof p!==h(2101))throw new Error(h(471));if(Array[h(915)](p)){for(let v=0;v<p[h(2088)];v++)if(typeof p[v]!="object"||p[v]===null)throw new Error(h(1685)+(v+1)+h(1710));return p}return p},b=()=>{const y=x;a[y(292)]().then(h=>{const C=y;let p;try{p=g(h[C(1296)])}catch(m){z.message.error(m instanceof Error?m[C(369)]:"sample JSON 无效");return}const v=h[C(495)][C(1543)]();if(!v){z.message[C(1186)](C(371));return}d===C(1726)?(o({name:v,sample:p}),z.message.success("已添加")):d&&(r(d,{name:v,sample:p}),z[C(369)][C(2044)](C(694))),s(null),a[C(1562)]()})[y(1278)](()=>{})},w=[{title:"名称",dataIndex:x(495),key:x(495)},{title:"类型",key:"type",width:100,render:(y,h)=>Sc(h[x(1959)])?l[x(328)](z[x(734)],{color:x(711),children:["数组 (",h.sample[x(2088)],x(512)]}):l[x(1838)](z[x(734)],{children:"对象"})},{title:x(821),key:x(1775),width:90,render:(y,h)=>{const C=x;if(Sc(h[C(1959)])){const p=h[C(1959)][0];return p?Object.keys(p)[C(2088)]:0}return Object[C(1775)](h[C(1959)]||{})[C(2088)]}},{title:"操作",key:x(1793),width:160,render:(y,h)=>l.jsxs(z[x(692)],{children:[l.jsx(z[x(1140)],{type:x(322),size:x(1948),icon:l[x(1838)](se[x(1902)],{}),onClick:()=>f(h),children:"编辑"}),l[x(1838)](z[x(556)],{title:x(1324),description:"所有绑定此数据集的状态将自动解除绑定。",onConfirm:()=>{const C=x;i(h.id),z[C(369)][C(2044)](C(1199))},children:l[x(1838)](z.Button,{type:x(322),size:x(1948),danger:!0,icon:l[x(1838)](se[x(877)],{}),children:"删除"})})]})}];return l[x(328)](z.Modal,{title:x(1725),open:n,onCancel:t,width:760,footer:null,destroyOnClose:!0,children:[l.jsxs("p",{className:x(1723),children:[x(332)," ",l[x(1838)](x(1590),{className:"bg-gray-100 px-1 rounded",children:x(961)}),x(1631)]}),l[x(1838)](x(701),{className:x(310),children:l[x(1838)](z[x(1140)],{type:"primary",icon:l[x(1838)](se[x(870)],{}),onClick:u,children:x(1336)})}),d&&l.jsxs("div",{className:x(2027),children:[l.jsxs(x(701),{className:x(1738),children:[d===x(1726)?"新建":"编辑",x(1919)]}),l.jsxs(z.Form,{form:a,layout:x(1463),children:[l.jsx(z[x(688)][x(801)],{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[x(1838)](z[x(1300)],{placeholder:x(743)})}),l.jsx(z.Form[x(801)],{name:x(1296),label:x(714),rules:[{required:!0,message:"必填"}],children:l.jsx(z[x(1300)][x(1824)],{rows:12,className:x(1754),placeholder:Lh})}),l[x(328)](z.Space,{children:[l[x(1838)](z[x(1140)],{type:"primary",onClick:b,children:"保存"}),l[x(1838)](z[x(1140)],{onClick:()=>{const y=x;s(null),a[y(1562)]()},children:"取消"})]})]})]}),l.jsx(z[x(1577)],{size:x(1948),rowKey:"id",dataSource:e,columns:w,pagination:!1,locale:{emptyText:x(1158)}})]})},{Header:Nh,Sider:Pc,Content:Sh}=z[c(1868)],kh=({initialScheme:n,onChange:t,readonly:x=!1,headerExtra:e,className:o="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:u,initialEventFlow:f,externalEventActions:g,onUploadSvg:b,defaultTestData:w,backgroundImageUrl:y})=>{const h=c,[C,p]=L.useState(!1),[v,m]=L.useState(!1),[M,I]=L.useState(""),[Y]=L.useState(()=>[{paramsCode:h(997),paramsName:"通频速度有效值",value:25,paramsUnit:h(822)},{paramsCode:h(712),paramsName:h(643),value:1.5,paramsUnit:h(1691)}]),G=w!==void 0?w:Y,V=i&&!x,{exportScheme:U,importScheme:Q,nodes:W,materials:q,dataPool:T,eventFlow:B,root:D,addMaterial:N,setDataPool:E,setEventFlow:P,setExternalHandlerCatalog:k}=je();L[h(270)](null);const Z=L.useRef(!1);L[h(1046)](()=>{const ee=h;if(!Z[ee(1621)]&&(Z[ee(1621)]=!0,Oo[ee(1105)](re=>N(re)),n&&Q(n),f!==void 0&&P(f),g&&g[ee(2088)]>0)){k(g);const re={};for(const ce of g){const ie=String(ce[ee(1823)]??"").trim();ie&&ce[ee(827)]&&(re[ie]=ce.handler)}Object.keys(re)[ee(2088)]>0&&$0[ee(824)]({external:re})}},[]),L[h(1046)](()=>{s&&s[h(2088)]>0&&s.forEach(re=>N(re))},[]),L.useEffect(()=>{u!==void 0&&E(u)},[u,E]),L[h(1046)](()=>{if(t){const ee=U();t(ee)}},[W,q,T,B,D,t,U]);const _=L.useCallback(()=>{const ee=h,re=U(),ce=JSON[ee(1039)](re,null,2),ie="data:application/json;charset=utf-8,"+encodeURIComponent(ce),F=ee(613)+Date[ee(958)]()+ee(1122),le=document[ee(922)]("a");le.setAttribute(ee(319),ie),le.setAttribute(ee(477),F),le[ee(410)](),z[ee(369)][ee(2044)]("导出成功!")},[U]),J=L[h(1179)](()=>{const ee=h;try{const re=JSON[ee(903)](M);Q(re),p(!1),I(""),z.message[ee(2044)](ee(1193))}catch{z[ee(369)][ee(1186)](ee(1247))}},[M,Q]),$=L[h(1179)](ee=>{const re=h,ce=new FileReader;return ce.onload=ie=>{const F=_0x1826;try{const le=ie.target?.[F(462)],S=JSON.parse(le);Q(S),z[F(369)][F(2044)](F(1193)),p(!1)}catch{z[F(369)].error("文件格式错误")}},ce[re(1043)](ee),!1},[Q]),te=L[h(1179)](()=>U(),[U]);return L[h(1154)](L[h(270)]?.(),()=>({getScheme:te,exportScheme:U,importScheme:Q}),[te,U,Q]),l[h(1838)](z[h(860)],{locale:Tc,children:l[h(1838)](h(701),{className:Dh[h(1488)],style:r,children:l.jsxs(z[h(1868)],{className:"h-full w-full "+(x?"":h(757))+" "+o,children:[V&&l[h(328)](Nh,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[h(328)](h(701),{className:h(320),children:[l[h(1838)](h(701),{className:h(1231),children:h(1661)}),l.jsxs(h(701),{className:"text-sm text-gray-500",children:[W[h(2088)],h(1291)]})]}),l.jsxs(z.Space,{children:[e,!x&&l[h(328)](l[h(561)],{children:[l[h(1838)](z[h(1886)],{title:h(1176),children:l[h(1838)](z[h(1140)],{icon:l[h(1838)](se[h(488)],{}),onClick:_,children:"导出"})}),l[h(1838)](z[h(1886)],{title:"导入 JSON",children:l[h(1838)](z[h(1140)],{icon:l[h(1838)](se[h(1679)],{}),onClick:()=>p(!0),children:"导入"})}),l[h(1838)](z.Tooltip,{title:"节点状态用的数据集(与事件流无关)",children:l[h(1838)](z[h(1140)],{icon:l[h(1838)](se[h(994)],{}),onClick:()=>m(!0),children:h(700)})})]})]})]}),l[h(328)](z[h(1868)],{children:[a&&!x&&l[h(1838)](Pc,{width:280,className:h(783),theme:h(1058),children:l[h(1838)](Vo,{onUploadSvg:b})}),l[h(1838)](Sh,{className:h(910),children:l[h(1838)](gr,{defaultTestData:G,readonly:x,backgroundImageUrl:y})}),d&&!x&&l[h(1838)](Pc,{width:360,className:h(783),theme:h(1058),children:l.jsx(Lc,{defaultTestData:Array[h(915)](G)?G:void 0})})]}),l[h(1838)](kc,{open:v,onClose:()=>m(!1)}),l[h(1838)](z.Modal,{title:h(931),open:C,onOk:J,onCancel:()=>{p(!1),I("")},width:600,children:l[h(328)](h(701),{className:h(1964),children:[l[h(328)](h(701),{children:[l.jsx("p",{className:"mb-2",children:h(467)}),l.jsx(h(1194),{type:"file",accept:h(1122),onChange:ee=>{const re=h,ce=ee[re(1917)][re(706)]?.[0];ce&&$(ce)},className:h(545)})]}),l[h(1838)](h(701),{className:h(610),children:"或"}),l[h(328)](h(701),{children:[l.jsx("p",{className:h(450),children:h(1306)}),l[h(1838)](h(969),{value:M,onChange:ee=>I(ee[h(1917)][h(658)]),placeholder:"粘贴 JSON 内容...",className:h(589)})]})]})})]})})})};we[c(1417)]=gr,we[c(1817)]=kh,we[c(1997)]=kc,we[c(1757)]=fr,we.MaterialPanel=Vo,we[c(1686)]=Cx,we.PropertyPanel=Lc,we[c(555)]=Eo,we[c(2086)]=Ao,we[c(924)]=Go,we[c(1885)]=bx,we[c(1633)]=dx,we[c(2090)]=$0,we.findActiveStatus=jo,we[c(2013)]=Oo,we[c(1197)]=je,Object[c(1174)](we,Symbol.toStringTag,{value:c(1295)})});function _0x1826(we,l){we=we-262;const L=_0x5a17();let z=L[we];if(_0x1826.sBbNIQ===void 0){var se=function(nt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let R0="",vn="";for(let qe=0,s0,l0,wn=0;l0=nt.charAt(wn++);~l0&&(s0=qe%4?s0*64+l0:l0,qe++%4)?R0+=String.fromCharCode(255&s0>>(-2*qe&6)):0)l0=c.indexOf(l0);for(let qe=0,s0=R0.length;qe<s0;qe++)vn+="%"+("00"+R0.charCodeAt(qe).toString(16)).slice(-2);return decodeURIComponent(vn)};_0x1826.cNdXxg=se,_0x1826.BKsZhf={},_0x1826.sBbNIQ=!0}const sx=L[0],et=we+sx,ve=_0x1826.BKsZhf[et];return ve?z=ve:(z=_0x1826.cNdXxg(z),_0x1826.BKsZhf[et]=z),z}function _0x5a17(){const we=["w1jLywn0iezSB3DDoIa","C2v0ug9PBNrLCKnHChr1CMu","ChjVDg90ExbL","5l+D55wz5Bcp5PwW5l2n","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","D2HLzwWUEM9VBq","CMvHy3qTzMXVD19FzwrNzs1WyxrO","CMDIysGWldaSmcWWkq","6BUy6k6K54Q25Ocb","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","vg9Nz2XLieLUDgvYywn0AxzPDhK","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","Cgf0Ae9WDgLVBNm","CMvHy3qTzMXVD19FAgfUzgXL","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","z2vVBwv0CMLJuhjLy2LZAw9U","BwiTna","6lEZ6l2SoIa","C2vSzwn0zwrtDgf0Dxnjza","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","5y+V6lcd5Pw05AsN5Bcp","5PU05O2I54MP5PAz","DxnLCLnLBgvJDgLVBLjLy3q","zM9UDfnPEMu","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","y2XLyxi","tgf5B3v0","qxjYB3C","C3rHCNq","y2vUDgvYwq","zw1PDa","5PAh5PYS5yAf5A65","zMX1C2G","Aw1N","zgf0yvrYyw5ZzMvY","i2iXyJfInW","DgfYz2v0q2fUDMfZswq","BwvTBW","qxjYB3DvCe91DgXPBMvK","iIbYEd0InciVpJWVC3zNpG","B2jZzxj2zwq","yw55","C2v0q2vUDgvY","y3jLyxrLrgvMyxvSDfn0yxr1CW","vg9VBhrPCa","w2rHDgeTBM9Kzs1Pzd0I","yM90Dg9TlwXLzNq","6ycj5OUP5QIH5BYp","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","mxb4ihnVBgLKicnKowq5zdK","zg9Tqxr0CMLIDxrLCW","6k+35AgR5yAz6k+35Rgc5Qch6k+g","zxjYB3iWmdu","zgvMCW","Aw1Hz2uV","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","AwnVBG","Cg9PBNrLCKLK","5PAW5BU655s75BId","zgLZy29UBMvJDa","rwrPDe91DgXPBMvK","nZb0quDUyvq","mtjWEa","5lIl5lIa6Ag1","C3rYB25N","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","y29UBMvJDgLVBLjHzgL1CW","DMfSDwvZ","Bw91C2vKB3DU","CMvTB3zLqxr0CMLIDxrLtLm","ios4JEwTMowCQa","yMLUza","5lQm57U056cb6l+h5PYF","CMvM","6iEQ5A6A5lMj57Ue5lU2","DgfYz2v0","rxzLBNq","5PwW5O2U6zUg","ufjfu0vovevex0LnquDfx1njtvbmrq","zMLSzq","zw5HyMXL","u2LTCgXLqMv6AwvY","rxnJyxbL","ChjVzhvJDgLVBG","Ac1MDwXSigzSzxGGzMXLEc1JB2W","Cg9PBNrLCI1LDMvUDhmTyxv0BW","x2v4zwn1Dgu","y2XHC3m","y3vYC29YlwnYB3nZAgfPCG","zw5Kwa","5PwW5O2U6zUgia","C3vIC2nYAwjL","ru1qvfK","C3rHDgu","zxzLBNq","tufyx1zbtfvf","x2nVBxbSzxrL","zMLUywXPEMu","5lIl5lIa5Q2L","5lIl5lIa5BM05lUJ","BM93AgvLBa","cIaG","5Asw6yoO5PA55Rov5Qch6k+g","mc4Zzw0","y29UC3rYywLU","z2v0rwrNzuLK","C21HBgW","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Aw5ZDgfUDa","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","Bwf0zxjPywXZ","y3jLyxrLq29UDgv4Da","Bw91C2veB3DU","BgvMDa","C291CMnLsgfUzgXL","y29UBMvJDgfIBgu","B3bLBG","C2fTCgXL","C2v0rgf0yq","Aw52ywXPza","CMzFx3DYyxbWzxi","C3rHCNry","C3bHy2uTEs00","5lQl5lU25Rwb57Yw6l6r5zMO","zMLYC3rfBgvTzw50q2HPBgq","5yc85P2L5RQq","C2v0qxr0CMLIDxrLtLm","C291CMnL","6iEQ5A6A5lMj","x25HBwvZ","DhLWzq","5ywO6ycj5B2t6Ag1","Axnoyu4","C3bHy2uTEs0Z","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","CgfYzw50tM9Kzq","EhKTzwrNzv9F","ywn0AxzL","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","jhbYzxyU","ChGG","C2uTCMvZAxPL","z3jVDxa","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","BgLMDa","rwrNzsb0ExbLici","DMLLD0jVEa","yxjYB3C","C2nHBgvuBW","vgLTzw91DevYCM9Y","6ycj5OUP5PwW5O2U6zUg","y2XVC2vZDa","CMvHy3q","Bw91C2vTB3zLlNPVB20","rgf0yvbVB2XnB2rHBa","5z+656ga5B2I54Q2","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","zMfJDg9Y","Dw5RBM93BIb0ExbLoIa","C3rHCNruCMfUC2L0Aw9U","CMv2zxjZzq","C2vSzwn0zwrfzgDLCW","5y+w5RAi5O6s5BQp","uMvHy3qGrMXVDW","CMvZDgfYDa","ChGSia","Bw9KztO","C2v0","yxjYB3DJBg9Zzwq","rNjLzq","Aw5PDe1HDgvYAwfSCW","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","BxqTna","zgvNkq","Dg91y2HLBMq","uhjVBwLZzq","Bw9Kzq","tK9erv9eruXfveu","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","AM9PBG","C2v0qxr0CMLIDxrLCW","Dg91y2HTB3zLlMrYywC","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Aw50zxjHy3rPB25xAwr0Aa","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","ChGS","zNjVBq","mdaZ","5OMN6kgm5lUJ56cb","DxjSka","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","rwrNzvrLEhq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","zhjHz2DPBMC","AgfUzgXLrg9TtM9Kzq","57Ue5zci6ycj5lIT6iQc54k5","576K57Ue6iQc54k5","Aw5SAw5LlwjSB2nR","yMLUze5Vzgvjza","y3vYCMvUDfrHCMDLDa","z2v0vMLLD3bVCNq","C3vJy2vZCW","u3rYAwn0","y2vPBa","5PAh5A2x6AkC6iMY","zwrNzxm","C3CTCMvZAxPL","q29SDw1Uv2LKDgHpDxrSAw5Lza","B25oB2rLrg91yMXLq2XPy2S","BgfIzwXtAg93qMC","wvLzwEw5Ta","yxbWzw5Kq2HPBgq","C3rHCNrZv2L0Aa","CM90yxrLka","AgfZvMfSDwu","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","5BYa5AEl5A2J5BQM","z2v0rxzLBNrcBg9JAW","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","C3r5Bgu","57Q/5A6977Yi5yop57sG77Yj","BgLUzs1KCMf3","zgvMyxvSDfzPzxC","Dgv4DenVBNrLBNq","BwfYA2vYu3rHCNq","DxjSkcCJ","DgHHDa","6zw/5yIslEwpJoEcUEs6PoABVW","zgvMyxvSDevKz2vpChrPB25Z","CMvSyxrPDMu","CgfUqNK","C3zNigXPBMu","x2zPBMfSAxPLCNm","Dg91y2GTywn0Aw9U","5PAh5lU25lIk5lYG5lIT","mtjWEcaW","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","5yAf572U5yQO5l2C","B25dB25Uzwn0u3rHCNq","B2zMC2v0sgvPz2H0","5lQK5O2I6lw354k55zkm57Ui54k5","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","BM9eCMfNq2XHC3noyw1L","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","5lQl5lU25Rwb5yIB5BU65OIq5yQF","BgvUz3rO","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","zxzLBNrcDxm","CMv0DxjUigzHBhnLoW","5lIl6l295PAh5lU2","BM9KzuLK","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","q29UDhjVBa","6ycj5OUP5PAW54MP5PAz","Cg9SEwXPBMu","6ycj5OUP5PEL5PYF","DgHPy2TUzxnZ","B2jQzwn0","u3rYywLNAhrfzgDL","y3jLyxrLrxzLBNq","ywzMzwn0C1K","57YP5Ps+5Q+u5l6l","5yc85PAh5PYS","B3v0Chv0CW","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","yNvPBhrPBG","mJq0mZG0shbTtgDo","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","C3LUy1zPzxDWB3j0","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","zgvMyxvSDa","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","57Ur5A6A5PwW5O2U6zUg","DxnLuMvM","tgLUzxm","C3bSAwnL","BgfIzwW","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","zgvSDgfy","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","Bw91C2vTB3zLlMrYywC","DxbKyxrLtM9Kzq","y3jPC3bfzgDLCW","y3vYC29YlwDYywi","Ag9YAxPVBNrHBa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","CMvZAxPLrgLYzwn0Aw9U","CMvJB25Uzwn0ywjSzq","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","CgfUwM9VBq","iZeZyZjJmG","BMv3wa","CMLNAhq","DMfSAwrHDgvgAwvSzhm","B25tzwXLy3rPB25eCMfNu3rHCNq","yM9YzgvYq29SB3i","6k+35ywi57Ur5A6A5PwW5O2U6zUg","B25nB3zL","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","x2jSyw5R","C3LZDgvT","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","CMvSyxrPDMuG","DMfSDwvgB250u2L6zq","Dgv4Da","Cg9PBNrLCLK","C3rHCNrxAwr0Aa","mxb4ihnVBgLKicnMmgyWzJa","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","ChjLDMvUDerLzMf1Bhq","Aw50zxjYDxb0","BwiTmW","y2XPzw50tgvMDa","57Ui54k5ifK","5zcr5yMnidmG6Ag1","CMvHy3qTzMXVD19FBM9Kzq","ywrK","BgLUzq","zg90","CgfYzw50tg9VA3vW","AhjLzG","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","y2XLyxjbBgW","BgLUAW","C2HVDwXKvw5ZDwjZy3jPyMu","nJG3nZi1CKHrzujI","CMvXDwvZDefZEw5Jswq","CMv0DxjUihrYDwu7","w3jVBgu9iMXPC3rIB3GIxq","ANn4CW","BMf0AxzLrxzLBNq","u3rYywLNAhq","CMvHy3qTzMXVD19FzwrNzxm","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","C2LTCgXLyMv6AwvY","ChGP","q29UBMvJDgLVBKXPBMu","ChjPBwfYEq","C3rYAwn0","C3DPDgnOq2fUDMfZ","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","Dw5IAw5KtM9Kzuv2zw50","C2v0uhjVCgvYDhK","BM9YBwfS","C2v0rwrNzxm","xNjNyLWO","tw9KywW","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","C2vSzwn0zwroB2rLswrZ","C3rYywLNAhq","576K57UexW","zxHLy3v0Aw9Uugf0Aa","zgvSDgfz","Cgf0DgvYBI0","x190CMfUC2L0Aw9U","CMDI","z2v0u3rHDgu","yxnZzxj0AxzL","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","5PYQ6ywn572U55UU5Qch55s75BIdieLe","BMv4DfnPyMXPBMC","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","Dg9ju09tDhjPBMC","Bwf4","C2XPy2u","BwiTmcbTDc00","Dgv4Dc1SzYbMB250lw1LzgL1Bq","5B2t5yMn54Q25OcboG","5A2x5l2t5AsN5Bcp","BwvZC2fNzq","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","6k+35AgR5yAz5zcn56EW","BgfIzwXdB2XVCG","CM9VDfbHCMvUDeLUzgv4","y2LYy2XL","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","5BEY5OMR5O+p","iw1Ylta","otG5nZmZtwLcrfLK","x19KyxrHx18","vw5NCM91Ce91DgXPBMvK","mda2","zxHWyw5KugfYzw50","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","BM9KzvG","C29SAwq","y3jLyxrLu1zhug9PBNq","DgfWrgLZDgfUy2u","x25Vzgu","yMfZzwXPBMu","zxHWyw5Kzwrszwn0","i2y1mJiYza","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","C2v0rMLLBgrZvMfSDwu","y29UBMvJDgLVBK1Vzgu","6ycp5PIo5BQM","C2vSzwn0ywjSzq","lNn2zW","q29WEu91DgXPBMvK","y29UC3rYDwn0B3i","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","yxbWBgLJyxrPB24","mJGYnJjTug9Tsge","5PI+56s6572r5Qc8","BwLU","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","y2XPy2S","su1br0u","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","6l6t5ywL54Q25Ocb5zcn56EW","EKLUzgv4tw9Kzq","iZCYmMvKmq","B25dBgLJA0nVBM5Ly3rtDgfYDa","sxrLCMfIBguGy2fUBM90igjLig51BgW","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","5Qch562+5Qc35BYp","ChjLDMLVDxntAwjSAw5N","y2XPy2TeAxn0yw5Jzq","Bgv2zwW","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","BM9Wyw4","B25tzwXLy3rPB25eCMfNu3rVCa","BM9KzxngB2n1C2fIBgu","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","zxzLBNrcBg9JA3m","zg9JDw1LBNrfBgvTzw50","x3bHCMvUDhm","zhjHDW","B25dB25Uzwn0rw5K","ioADOEwfPEI+UsdIHPdJGiW","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","BgfIzwXcz1bHzgrPBMC","AxntDg9WCgvK","igHHBMrSzsbPzdOGiG","CMvKDwnL","B25dB25Uzwn0","iZaWmdaWma","B25oB2rLtw91C2vnB3zL","5OM+5lIn5yIW5lQl5lU25z2x","5RE75yQG54Q25Ocb","tK9erv9truXfq1q","BM9Kzuv2zw50qMLUzgLUz3m","BwiTmG","lcb5oIa","5l6l5AAc77YACMvMCMvZAa","ENvZDgfUza","AxntzwXLy3rLza","ksbZy2fSzsG","x+wKJEwiTG","wvLzwq","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","C3rYB2TL","C2vJB25Kyxj5","x19KzwzHDwX0x18","CMvZDwX0","BM9KzvK","CgfYyw1Zq29Kzq","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","Bw91C2vKB3DUlNPVB20","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","5lIk5lYG6zsz6k+V","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","BM9KCMfN","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","DMfSDwvtDhLSzq","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","5y+V54k55yE7","zwrPDgLUz0v2zw50uM9VDeLK","5Asw6yoO5lQl5lU25Qch6k+g","zg93BMXVywq","vg9W","zxH0zxjUywXiyw5KBgvYs2v5","B3bZ","B25nB3zLrw5K","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","BwfUDwfS","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","AxrLBq","C3rLCa","rg93BMXVywrpDxrSAw5Lza","Dgv4Dc1NCMf5ltGWma","zMLSBgvK","CMvZB2X2zq","x2fJDgL2zq","y2XPzw50wa","BM9VCgvUzxiGBM9YzwzLCNjLCG","BMfTzq","su5qvvq","DMfSDwvtB3vYy2vdB2rL","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","5A2q6iQc54k5ia","AgvPz2H0","yM90Dg9TlxjPz2H0","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","BgLI","55s754k557Q/","ywzMzwn0C1G","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","6l6t5ywL6iQc54k55zcn56EW","AgfZrxjYB3i","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","Bw91C2v1Ca","ioMHUsK","x2DYB3vWCW","C3rHDhvZtgLZDa","BNvTyMvY","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","zwrNzxngB2n1C2fIBgu","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","lMrYywC","q29UDhjVBhm","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","lM5VA2v5","54Q25OcbicH0ExbLkq","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","zw5Kwq","6k+35AgR5yAz5O+q56s65yAf5A65","DxjSkcnNCMLKkq","DgLTzq","yxrHBJi","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","5OUw5OU95PEl6l2S","6BYG5Qch6yEk5Ps+","Bwv0yq","EM9VBq","C2v0vhjHBNnSyxrLrxH0zw50","5PAW5lQl5lU25z2x","w2rHDgeTy2fUDMfZpsj0CNvLiL0","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","BgLUzujVEa","x3zHBhvL","iIbKB2vZBID0igv4Axn0lG","zNjVBuHHBMrSzq","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","rg90CW","AxrLCMf0B3i","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","B25tzwXLy3rPB25eCMfN","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","x2nHBgW","6k+35Rgc5PwW5O2U","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","yMfJA2DYB3vUza","yNvPBgrnzxjNzwreyxrHuMvJB3jK","ug9Wy29UzMLYBq","z2v0sw5PDgLHBfn0yxrL","zw5HyMXLrxzLBNrgBg93","yxjNCW","y3vYC29YlxbVAw50zxiGBwiTma","rNjHz21LBNq","6k+36l6t5ywL5PcC57sI5yAf5A65","CMvHzefZrgf0yvvsta","54MP5PAz5BQt","DxnLrM9YBq","CgfKzgLUzW","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","C2nHBgu","zgvZyW","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","zgLZywjSzwq","6lw354k5ifG","y2HHBMDL","B25fzgL0","y29SB3i","qLvuve9o","DhjHBNnSyxrLrxH0zw50","q3jVC3m","DY1MDwXSigGTzNvSBa","57Ut5P2F5A2J5BQM","CMvHy3qTzMXVD19FBM9Kzxm","BM9Uzq","6zw/5yIs6zE06zQu","zwfJAa","y2XVBMvoB2rL","zwrNzvf1zxvL","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","lcdOV57MJQxMLBa6ia","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","iZe4otbMzG","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","zwrNzxnszwnVBM5Ly3rHyMXL","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","5OYb57UT5PE26zE077Yi56Es77Yj","rwrNzsbMCM9Tia","yMvMB3jLC3rHCNq","CMvHy3qTzMXVD19FCgfUzwW","zgf0yvjLCxvLC3rlzxK","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","DMfSDwvdB2XVCG","Dw5VyNnLCNzL","u21VB3rOu3rLCevKz2u","5PEG5zU+54Mh","DxbKyxrLtM9KzuLUDgvYBMfSCW","Bwf4vg91y2HqB2LUDhm","C3bHy2u","54k55yE76zMn5BQp","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","zxzLCNK","C3LUyW","C2nOzw1LxW","Aw5SAw5Lu2nYAxb0","CM90yxrL","rML0ifzPzxC","Dg91y2HTB3zLlNPVB20","5BEM5A+56B2q","55s75BId6ywn572U","vw5KB091DgXPBMvK","DhjHBNnSyxrLkc0","zMXLEc0XihjLBgf0AxzL","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","sw5WDxroDw1Izxi","5Pw05z2x6l+u5zUE5yc8","Dg91y2HZDgfYDc56B29T","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","zxzLBNrcBg9JA0LK","6ycj5OUP57Ur5A6A5yc8","zgvJAw1HBhm","yNvIyMXLCW","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","yM91BMreyxrHC2v0swq","yNv0Dg9U","C2vSzwn0","oMzVy3vZlxzPC2LIBgu","DxbKyxrL","5yAf6l656lED","CgHHBNrVBq","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","zxjYB3iWmti","C2vSzwn0qwXS","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","77Yi5y+V6ycj77Yj","C2vSzwn0q2HPBgrYzw4","yxnZAwDU","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","i2q5zdLKoq","yxv0B1bHBK9Uq29UBMvJDa","z2v0qM91BMrPBMDdBgLLBNrszwn0","DxnLu3LUy0v4DgvYBMfSu3rVCMu","BM9YBwfSu3r5Bgu","Aw5Uzxjive1m","ywjZB2X1Dgu","Dgv4Dc14CW","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","Dhj5CW","DMfSDwu","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","5yAf6igu6isA5PYS","BM9Kzu5HBwu","DxnLtwvTBW","AgfZ","Bw91C2vmzwf2zq","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","D2fYBMLUzW","CMHV","iZuYyZqXyq","6ycj5OUP57Ur5A6A5A2x5Q61","x19UB3nLBgvJDa","y2fSBa","y2HLy2TIB3G","ie0Wia","zhjVCevMzMvJDa","CMvWzwf0kdGSidfMCIK","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","kow9K+wjJsK","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","DMfSAwq","CMvHy3qTzMXVD19FzwrNzq","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","nKzcD0zqzG","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","CgfYzw50swq","cIaGicaGicaG","u2HPzNq","D2LKDgG","rM9YBq","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","B3bLCMf0B3i","y2fUy2vSywjSzq","u3bHy2u","5OMN6kgm6kgO6l6+5BYp","5BEY5l+D5A2y","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","teLorq","D2L0Aa","y29UBMvJDgLVBG","Aw50zxjWB2XHDgu","5PwW5O2U5RgG","zgL2","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","jsWG","yxbWzw5K","zMLSzxm","AxnszxnPEMfIBgu","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","z2v0rgf0yq","CgfZDa","yMX1zq","mdaY","x2vYCM9Y","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","BMv3wq","CMvHy3qTzMXVD19FBwLUAw1HCa","BM9KzuvSzw1LBNq","zwrNzuLUzgv4","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","x2vUDgvY","zgf0yvbVB2W","qxjYB3Dmzwz0","zg93BG","6BYG5Qch6l+B5ywL","uMvHy3rAB29TugfUugLUy2G","iwjNlwjSDwuTntaW","qM90Dg9T","5PAh5PYS5Qch562+","x2LUBMvYu3vIC2nYAwjL","57Ui54k5ifG","6lw354k5ifK","ltiWChG","vgfN","y29TCgXLDgu","wM9VBu91De91DgXPBMvK","lwzSB3DFx2vKz2u","zxzLBNrgBg93rgf0yq","z2v0uMvHzgvY","rxzLBNqGzMXVDYbLCNjVCJO","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","5zU+54Mh5zYW5z2aicHZCMmP","5AAc77YA55s15PY65Rwl54k56zUg","qMfJA3nWywnL","zxzLBNrtDwjQzwn0CW","ttaGmgGZmNy0lJjimhO","6k+36ycj5OUP5zgO","zM9JDxnHyMXL","CMvZB2X2zuzSB3DfDMvUDejSB2nR","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","DxnLzfjPz2H0tw91C2vcDxr0B24","zM9UDfDLAwDODa","C2vSzwn0Aw9U","B25ezwXLDgu","5lQl5lU25Rwb57Ur5A6A","yM9YzgvYuMfKAxvZ","B3zLCMzSB3CTAgLKzgvU","Dw5KzwzPBMvK","C2nHBguO","B25oB2rLq2XPy2S","q29UC3vTzxi","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","CMvTB3zLqxr0CMLIDxrL","DxjSkcm","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","zML0vMLLD09WDgLVBNm","B3b0Aw9UCW","BwfYA2vYrw5K","57Ut5P2F5PYi5lU9","zxjYB3iWmdG","y2fUDMfZzxm","C2HPzNq","mdeZ","z2v0q29TChv0zwrtDhLSzq","Aw5JBhvKzuHPzgrLBK5VzgvZ","C3rVCfbYB3bHz2f0Aw9U","zw1WDhK","5lIk5lIa5Q2L","zgvSzxrL","5Rwl6k+v5PwW5O2UicHku09okq","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","yM9VBgvHBG","yMCTD2HPDgu","B3DUzxjeB2n1BwvUDa","zw5Kug9PBNq","DhDLzw4","yM90Dg9T","DMLLD3bVCNq","x2fKzfbHCMvUDa","tM9Kzsb0ExbLici","Aw52B2TLuNvUDgLTzuHHBMrSzxi","6ycj5OUP5BM05lU9","AxnwywXPzenVBM5Ly3rPB24","CgvUzgLUzW","A2v5zg93BG","zwXLDMf0zuvKz2vZt25tzwXLy3q","CMvQzwn0","yM91BMreyxrHC2v0qMLUzenVzgu","Aw5KzxHpzG","BMv4Da","sxrLBq","BwfW","B25nB3zLu3rHCNq","BMv3","BwLUAw1HCc5HCMLHtgfIzwW","zM9YBwf0uMDI","56gU6k6K5yIG6zMK","vhjHBNnMB3jTq29TCg9Uzw50","DgHYB3C","CMvZzxq","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","zxjYB3iWmdm","ufjpuevsvfLFq0HbtKDf","zgv2AwnL","lNjLywn0lwzSB3C","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","CMvTB3zLuhjVCgvYDhK","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","Dw5IAw5KqwXSrM9YtM9Kzq","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","5A2x5Q615PwW","Bw0VCW","tgLUzq","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","y292zxi","zxjYB3jZ","AgfUzgXLCG","zNvUy3rPB24","AxndBgLJA2fIBgu6","ChjVCgvYDhK","BM9Kzvf1zxvL","57Ur5A6A54MP5PAz","yNvPBhrPBKnVBMzPzW","i2yWzJbMma","u3rLCevKz2vjBNrLCM5HBa","zgf0ys4","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","6l6t5ywL5Qch562+5PAh5PYS","6kEJ6zMK57Ue5zci","z2v0vMfSDwvgCM9Tugf0Aa","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","y2vUDgvY","BgfIzwXcz1n0EwXL","5y+Z6zsU6i+C5y2v","5PAh5lU25Qc85BYp6zsz6k+V","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","6zw/54k5lEEFREEcUEs6PoABVW","uhjVDMLKzxi","C3LTyM9S","DxnLCLnWywnLt25vC2u","zMXVD0rHDge","C3bSAxq","tg9VC2u","zxHLy3v0zuv2zw50rMXVDW","5zU+54Mh5zcn56EW","Aw5PDev2zw50","qgfUDc1KzxnPz24VAwnVBNm","CMv0DxjUig51BgW7","q29UzMLNuhjVDMLKzxi","zxH0zxjUywW","zxjYB3iWmdq","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","zw5KlG","Dg91y2HZDgfYDa","BgfIzwXgB250v2vPz2H0","EMGTy24","ugX1C091DgXPBMvK","Dg9qCMLTAxrPDMu","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","oJPLEhq6oG","CMvHy3qTzMXVD19FCgfUzq","rgvSzxrLt3v0BgLUzwq","mca0ChG","AgfUzgXLqM91BMrZ","zgvZDhjVEq","C2nHBgvcEq","6iQc54k55PwWoIa","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","Dg91y2HHyMXL","y3jLyxrL","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","zgvNksa","BxqTmsb0zxH0lwfTyMvYltGWma","zw50CMLLCW","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","zMLSDgvY","BgfZDeLUzgv4","B2zMC2v0","yw50za","Cg9ZAxrPB24","zgf0yq","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","zxzLBNrMBg93","mtq0mZyWnfrqtw5swq","DxnLCLnLBgvJDgLVBKfJDgL2zq","5lIk5lYGifnwrW","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","CgfYC2u","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","y29UDgvUDeLUzM8","BM9Kzxm","6kEM5y+roIa","Axnqyw5ty3jVBgXPBMC","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","yMCTz3jHEs0XmdaGCMvSyxrPDMu","6k+36ycj5OUP","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","zxHLy3v0zq","y29UDhjVBerPCMvJDgLVBG","AxnbCNjHEq","y3jVC3m","yMfZAwm","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","C3vWChjLC3nLza","57Ur5A6A5yc8","yM91BMrHCMLLCW","y3jLyxrLrwXLBwvUDa","zwfZzq","y3jLyxrLrgvMyxvSDe5Vzgu","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","y2HPBgrYzw4","Bg9HzgLUzW","zMLSBenVBg9Y","zgvIDwC","5A+85ywL57Ue5Ocb5PA55Qgi","zwXLDMf0zu5VzgvZt25tzwXLy3q","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","6ycj5OUP5PYi5lU9","y29UC29SAwrHDgu","zgfYAW","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","CM91BMq","B25fzgDLC0rLBgv0zq","DgLTzxjjza","BM9KzxndB25Uzwn0ywjSzq","5Pon5l2C5OIq5yQF","cIaGicaGicaGica","Bwf4wM9VBq","yM9Sza","y2XHC3nmAxn0","zgf0yvjLCxvLC3q","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","zMXLEa","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","B3jPz2LUywXfDMvUDa","DgL0Bgu","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","C2vSzwn0tM9KzxnpBKrYywC","6iom5PMV6AkC6iMY","zwzMzwn0qwXSB3DLza","zxH0zxjUywXfDMvUDeTLEq","BM93","qMv6AwvYrwrNzq","6iom5PMV5zU+54Mh","kgrHDgePid0+igjVB2XLyw4","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","xNjNyMfCka","C3rHCNrizwLNAhq","BwLUwM9VBq","yxv0B1bHBK9UtM9KzurYywC","B25SB2fK","Bw91C2vTB3zL","Dgv4DgfYzwe","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","x3n1yNnJCMLIzq","y29UzMLN","CMvHy3qTzMXVD19FBwfYA2vY","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","C3rYAw5N","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","y2fSBgjHy2S","C3rHCNrbBMDSzq","5lIk5lIa6Ag1","DgfYz2v0sgfUzgXL","z3jHyG","Aw5PDgLHBfDPzhrO","C2v0rhjHz0LTywDL","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","zxHLyW","5PEl6l2S6kEs5BQM","6yEn572U6kEg5zU+","6kEM5y+r5PA55BYp","zxHWCMvZC2LVBG","54k55yE75y2h5BQp","rgf0ywjHC2vpDxrSAw5Lza","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","yM94lxnLBgvJDa","mdaX","5PAW6iQc54k5","CMzFx2nVBNrYB2XZ","5zcr5zcoiduG6Ag1","Cg9PBNrLCLG","y29WEq","y29YBMvY","DgfNtMfTzq","yxjNCY4","i2zHogmXnG","CMvSzwfZzvbVAw50zxjdyxb0DxjL","C2v0vgLTzw91Da","5PEG54Q25Ocb","zxjYB3iWmde","57Yw6l6roIa","xhmQkfSRlv0/xgqRkvXZkG","yxrHBG","Bwf0CML4","zw5K","Bwf0zxjPywW","yxjNCY5WCMv2ma","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","BMuTCMvZAxPL","iZHJogm4yW","EKLUzgv4","zgf0yxnLDa","5zYg6kEs55+P5B2I","BxqTncbMBgv4igP1C3rPzNKTzw5K","mcaWidmYidmW","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","mcaWidmYidmY","ywjZB2X1DguGDg9WltaGBgvMDc0W","Bw92zq","qMfJA2DYB3vUza","rNvSBa","y29TCg9ZzwrqyxrO","ChjLCgfYzuv2zw50qxjNCW","C2HVD0DYAwq","yxbWBgLJyxrPB24VANnVBG","lM1HDgvYAwfSlxbYzxzPzxC","D2HLzwW","AxneCMfNz2fIBgu","C3rYAw5NAwz5","y2fUDMfZq29UzMLN","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","CMvHzefZvgv4Da","C2vUDa","q3vZDg9TrxzLBNq","DxnLrwzMzwn0","zgvMAw5LuhjVCgvYDgLLCW","ltzWEa","zwXLBwvUDezYB21qB2LUDa","AhnSysG","CMvHy3qTzMXVD19Fy29UDhjVBhm","Aw5JBhvKzxm","Cg9ZAxrPB25byNnVBhv0zq","B25czwzVCMvezwXLDgu","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","x196B29TAw5N","DMfSDwvpzG","BgLNAhq","AxnjBNrLCM5HBa","z2v0qxr0CMLIDxrL","r3jVDxbpDxrSAw5Lza","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","yxjPyuXHyMvSq29UzMLN","C291CMnLrxzLBNq","yw1K","6k+36ycj5OUP6kEM5y+r5PA55BYp","BMfUB2LK","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","EfnUyxbWzwq","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","BgLZDa","C291CMnLtgfIzwW","DgHYB3DUrxjYB3i","y29UDgv4De1LBNu","qwXPz25sAwDODe91DgXPBMvK","zgfZAc1KB3q","57Ut5P2F5A+86kEi","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMuGB3zLCMzSB3CTAgLKzgvU","57Uy5yI25QIH5BYp","DxnLv2f0y2G","zgfZAgvK","6l+u5zUE5lUk5AsP","DMLZAwjSzq","lIbozxCGCg9ZAxrPB24SihG6ia","DgLTzxi","zgv0ywLS","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","AgLZDg9YEq","yxv0B1bHBLnWzwvK","55s75BId5A+85ywL5OIq5yQF77Yb","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","C29Tzq","mtKYma","yw50ze1LC3nHz2u","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","Bg9JywW","Aw5ZDgfUy2u","CM9VDa","zxH0zw50","zML0vMLLDW","zM9UDc1TzwrPDw0","Dg9qB3nPDgLVBG","5lQl5lU25Rwb","zM9YrwfJAa","x19WCM90B19F","B25dBgLJAW","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","EGOGicaGicaGie0","twvZC2fNzsdMJ5dNPlO","C3bHBG","DY04igGTmc41igjNlwDYyxKTndaW","zMLYC3q","6BUy6k6K6Ag555UU","z2v0uhjVDg90ExbLt2y","ltuSltqGmcWWic01ldq","CMvNAxn0zxjfDMvUDejSB2nR","CMvHy3qTzg9T","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","5Asn5yI25OIq5yQF","C2v0u3rHDgu","lMPZB24","zxHW","zwrNzuXVB2T1Ca","zgvSDgfnB2rL","BwvYz2u","Dg9gAxHLza","5yIG6zMK5B2t6Ag1","z2v0tM9Kzuv2zw50qMLUzgLUz3m","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","Cg9PBNrLCG","B250B3vJAhn0yxj0","6k+36ycj5OUP5yAf572U5yQO5l2C","mda1","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","6k+36ycj5OUP5A2J5BQM","DhjHBNnPDgLVBIbUB3qGzM91BMq","C3rHCNroB2rLwa","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","qNv0Dg9U","C3vIBwL0","zgLZCgf0y2HfDMvUDa","zwrPDa","BNCTCMvZAxPL","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","6iQc54k5ieLeoIa","zgf0Dw0","BwiTma","6k+36l6t5ywLjhTSywjLBh0","5Asn5yI26iQc54k5","tM9KzsbVBKnSAwnRoG","CMvHy3qTzMXVD19FBM9Kzs0","5PQc5PEG5lQl5lU25Rwb","DxnLsw1WzxjHDgL2zuHHBMrSzq","C2v0u2nHBgvfEhrLBNq","CxvLCNLtzwXLy3rVCKfSBa","zg9JDw1LBNq","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","zMXVB3i","zhvYyxrPB24","zMXLEc1ZDgfYDa","Aw5PDgLHBeHLAwDODa","57Ur5A6A6iQc54k5","yM91BMreyxrHC2v0qMLUzfzHBhvL","DhjHBNnPDgLVBG","Dw5ZDwjZy3jPyMu","Dg91y2HZDgfYDc5KCMfN","zNv0DxjL","C3rHCNqUEM9VBq","qebPDgvYyxrVCG","Dg9W","6iQc54k55zcn56EW","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","zgvMAw5LuhjVCgvYDhK","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","5A+85yE6iePtt04","6l+E57UT5A6E57Q/","CMvHy3qTzMXVD19FzwrNzs0","DxnLq2fSBgjHy2S","u3rYywLNAhrfzgDLsw50zxjUywW","B25oB2rLC0nOyw5Nzq","6k+35Rgc5Qch6k+g","DxnLu3rHDgu","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","y2HHBMDLzfrVDwnOzxm","zxjYB3i","6k+35AgR5yAz5OMN6kgm5lUJ56cb","B25gAw5HBgL6zq","C2vSzwn0zwroB2rLCW","B25dBgLJA0nVBM5Ly3rfBMq","twfYA2vYrgvMAw5PDgLVBNm","rMXVD1jLBMrLCMvY","5A+85ywL5OIq5yQF77Yb","Aw5WDxq","C2vSzwn0q2HPBgq","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","DxnLrwrPDg9Yu3rVCMu","CgfYzw50rwXLBwvUDa","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","y3vZDg9T","zgLTzw5ZAw9UCW","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","zwXLBwvUDhntzwXLy3rHyMXL","x3jLBw92zvbHCMvUDa","C2nHBgvy","CgfUzurYywDNAw5N","Aw1Tzxi","y3vYC29YlxbVAw50zxi","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","C3rHCNrz","zxzLBNrgBg93","Bw91C2vz","zgf0ys1UB2rLAwq","x196B29T","ChjLDMLLDW","y29UBMvJDe9Uq2XPy2S","zgvZy3jPChrPB24","AxnwywXPza","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","qxjYB3DeB3DU","Cgf0Aa","zxjYB3iWmta","C2nOzwr1Bgu","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","tufurvjjquXFu1rbvfvtx0niqu5hrq","44cn77YA5lIk5RI4","5Asw6yoO5lQl5lU2","6ycj5OUP5yw35l2t5yAf572U6io95yQB","C3rLCfbVC2L0Aw9U","zxzLBNrsB290CW","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","zgf0ys1Oyw5KBgvPza","CMfUz2u","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","Bw91C2vcDxr0B24","C25HCfrVr3jPza","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","Dg91y2HTB3zL","BgLUzwfY","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","Dw5YzwDPC3rLCKv2zw50qMXVy2S","ywjZ","5BEY56Ab55sO","DxnLCKfNzw50","x3bHCMvUDgfNzq","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","zhjHz3n0yxj0lMrYywC","zgf0ys1Oyw5KBgvWB3m","DY1MDwXSigP1C3rPzNKTzw5K","5BYa5AEl5BM05lU9","5z6c55U05yIg5BId","BgfIzwXtDhLSzq","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","C2TLD1G","q2XVC2vpDxrSAw5Lza","57Ut5P2F5PE26zE0","C3vIC2nYAxb0Aw9UCW","Bw91C2vy","y29UDgvUDa","zxjYB3iWmtu","Aw52zxj0wq","6BYG5Qch5OYj5lIl","B3bHy2L0Eq","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","ChjVzhvJzq","5OMN6kgm5PA55BYp","yxn5BMnjDgvYyxrVCG","y2vUDgvYwa","B25ZzwXLy3rZDgfYDa","y3vYCMvUDenHBNzHC0LK","Bw91C2v1Cc5KCMfN","6ycj5OUP5zgO","zhjHzW","AgLKzgvU","6BUy6k6K5yc877Yi5Ash55sO77Yj","y2f0y2G","zgvMyxvSDhm","55s75BId5A+85yE65OIq5yQF77Yb","B25oB2rLtw91C2vfBNrLCG","xMHZBgfCka","Dg9izxHtDhjPBMC","mda4","BwvHC3vYzwq","y3vYC29Ylw1VDMu","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","B3jPz2LU","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","ios4QUIkGUEcUq","zgvSyxK","yxjPyuXHyMvS","Bwf0y2HLCW","tw9KDwXL","C2fTCgXLsNnVBG","ChvZAa","5PQc5PEG5PwW5O2U6zUg","q29SBgfWC2u","sw5WDxq","C3rVCa","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","lNH5zMXVD19FDMLLD3bVCNq","CMvJDa","yMLUze5VzgvfDMvUDa","57ky6ls0iePtt04G5yAf5A6577YA","B3jPzw50","DhjHBNnSyxrLka","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","y2HYB21L","CMvUzgvY","z2v0u2vYDMvYu3rHDgu","D2HLzwXezwX0yq","5PwW5O2U6k+35Rgc","Aw5Zzxj0qMvMB3jL","Aw5ZzxqOmtaWjsK","qMv6AwvYrwrNzuLUDgvYBMfS","x2v4Axq","DgfYz2v0ug9ZAxrPB24","57Uy5yI25lIT","5yIG6zMK6k+L5PwW5O2U6zUg77YF","mcaWidmYidu","C2nHBgvfEhrLBNq","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","igrVzxmGBM90igv4Axn0lG","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","tsaYmcaWieWGmcaWidaGmJa","D2fYBG","CMvTB3zLq2HPBgq","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","5P2Hl+MHTq","Ag92zxi6yMCTz3jHEs0Xmda","5PAW5BU65PwW5O2U6zUg","BM9Kzu9YAwDPBG","Cg9ZAxrPB25y","5PAW5BU65lQl5lU25Rwb","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","yMfZzvzHBa","zgLZCgXHEu5HBwu","x19LC01VzhvSzq","BM9KzxneCMfNz2fIBgu","572U5lQo5BQv5Bgc","zNvSBa","imk3ia","DgHLBG","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","rhjHz091DgXPBMvK","zxHLy3v0B3juExbL","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","zxjYB3iWmdK","zNjVBu5Vzgu","6k+36ycj5OUP5PEL5PYF","Cg93","iIbYEd0ImJaIlZ48l3n2zZ4","C2vSzwn0zwroB2rLswq","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","AgvHza","zw5KC1DPDgG","5y+V5O6s5BQp","CMvHy3qTzMXVD19FAgfUzgXLlq","y2XVC2vK","54MP5PAz5BgE5OcN","zM9JDxm","BM9Kzq","zgLYzwn0Aw9U","57Yw6l6r6ycj5lIT6iQc54k555Qe5BgE5OcN","yMX1CG","BgfUzW","u21VB3rOu3rLCa","CMDIka","BM9Kzuv4DgvUDa","zxjYB3iWmdi","5zYO562B6ycj6Ag55lIT5PcC57sI","z2v0uM9VDe5Vzgu","ChvYCgXL","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","mda0","AxnAB29TAw5Nt3jqyw5UAw5N","B25fCNjVCG","57Ur5A6A5A2x5Q61","zg9Uzq","zg90CW","iIWGzwrNzsbPzdOG","zMLUza","Bw91C2vvCa","C2HPzNrlzxK","ywX0s2v5","y29UDgfPBNm","54k55yE75yI35PAW","Cg9W","ltuSltqGmcWWic01ldqGltuSltq","x2LK","CMzFx25VzguT","DgvZDa","CMvHy3qTzMXVD19Fy29UDgfPBMvY","BgfIzwXgB250u2L6zq","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","BwWTmG","Dhj1zq","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","y3rYBeTLEq","AxnwAwv3","Dg9iyw5KBgu","Bwf0y2HnzwrPyq","zxjYB3iWmte","Cc02","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","x3bHCMvUDa","Dw5PDa","5lIk5lIa5lIw57QQ","54Q25Ocb5yIx6kgO","5PQc5PEG54MP5PAz","q2fUDMfZ","yM9YzgvYlwjVEa","zg91yMXLq2XPy2S","z2v0qxr0CMLIDxrLtLm","6k+36ycj5OUP6iQc54k5","qMv6AwvY","z2v0uhjVCgvYDhLwywX1zq","C2L6zq","y29TBw9Utg9JywXL","yxbWBhK","Aw52zxj0wa","5ygh5OoZ57Q/","yxjPyvjVBgu","DhjHBNnMB3jT","zw5HyMXLza","zNjLzq","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","55s75BId5A+85yE65AsX6lsL","y2HLy2TLza","BM9qyw5dBgfZC05HBwu","B2jQzwn0ihvUC3vIC2nYAwjLza","rw1WDhK","yxjNCY5WCMv2","C291CMnLswq","5OUw5OU96lcd5Pw057Ui54k5","C2v0twLUwM9VBq","mtrSy3zIs2i","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","CgfNzvG","yMXVy2SGDhj1BMnHDgu","CMvHy3qTzMXVD19FyxjPys1SAxzL","twfYA2vYihr5CguGiG","Dgv4Dc14CYbTyI0X","zgvMyxvSDe5VzgvZ","Aw5qCM9NCMvZCW","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","BM9KzurYywDuAhjLC2HVBgq","6BYG5Qch56E75ywL","twLUAu1HCa","C2nYB2XSvg8","rxLLt3v0BgLUzwq","DhjHBNnSyxrLwq","Aw5KzxG","mZuYmeLUv3LpyG","6ycj5OUP5PE26zE0","DMvYDgLJywW","CgfYzw50","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","6Ake6kEi5PAh5lU2","uMLNAhq","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","55s75BIdide","C2vSzwn0zwq","Bw91C2vpDMvY","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","y3vYCMvUDfn0yxr1C0LK","lwzSB3DFx2HHBMrSzq","q29UDhjVBcbqyw5LBa","yxjPyuXPDMvnzxnZywDL","y2XPy2SUzhjHzW","Bg9N","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","zxHWB3j0CW","5y+w5RAi5ywO6ycj","5PYQ55+L5yAf572U5yQO5l2CoIa","CMvHza","Bw91C2vKB3DUlMrYywC","C25HCeDYAwq","Bg9VC2u","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","y29UzMLNrwrPDg9Y","AhLWB3q","x25HBwu","zw1PDev4DgvYBMfS","Dg9tDhjPBMC","5A2x5l2t57kx57Ug","lwzSB3DFx25Vzgu","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","twv0yq","zgvMyxvSDevKz2vZ","5PYQ55+L57g75z6l","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","C3rHDhvZswq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","55s75BIdia","B2jZzxj2ywjSzq","CNvUDgLTzuHHBMrSzxjZ","x19VBG","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","yxv0BW","5BYa5AEl5PYi5lU9","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","DhjHBNnSyxrL","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","DhjHBNnWyxjLBNq","qxjYB3DeB3DUt3v0BgLUzwq","yMfJA2DYB3vUzeLTywDL","x3rYEvn1yNnJCMLIzq","z2v0","zgvSzxrHyMXL","C3zN","C2v0vgLTzq","y2XHC3noyw1L","5O+q56s65yAf5A65","ksb0CMfUC2XHDguO","mta4ma","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","DxnLq29UDgv4Da","Dw5ZAgLMDa","BgLUzvr5Cgu","5Qch562+5PAh5PYSicHSywjLBcK","zxHLy3v0zuzSB3DoB2rLCW","Cg9ZAxrPB25z","y2XLyxjjBNrLCNzHBa","yxjNCY5WCMv2mq","vMvYDgLJywW","zhjHz2DHyMXL","BgLUzvDLAwDODa","Bw91C2u","r3jHCgHwAwv3","idaGvG","C2TLD1GO","DhjPBq","5lIl5A+56B2q","rw50zxi","i2zMzMzMzG","BgfIzwXcz0jVCMrLCLjHzgL1CW","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","yMCTD2HPDguGChGTmsbYB3vUzgvK","zw5KlNn0EwXLlG","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Ilti","ugfYzw50ig5VzguG","i2vImMy5nG","5PEG562B6ycj6Ag5","C3rHy2S","C3rHCNroB2rLwq","mNb4ihnVBgLKicmXodKWzMy","xcKK","DhjPz2DLCK5Vzgu","CMvZAxPPBMC","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","CMvZzxrgAwvSzhm","mdeW","q1vtve9n","ANn4uNvUDgLTzq","C2nOzwr1BgvY","5A+85yE65B2t5yMn55s75BId","BM9KzuXVB2T1Ca","CgfYyw1ZtMfTzq","iI8+pc9ZDMC+","BwfYz2LU","y29UDhjVBeLUzM8","5RE75yQG5lQl5lU25Rwb","iZi2mJyYnG","CMvTB3zL","AwnVBNm","vgfIBgu","EwvSBg93","5Qch6k+g5lIn6io95lI656M6","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","CMvTB3zLrxzLBNrmAxn0zw5LCG","CMvWBgfJzq","DxnLrgvIDwDwywX1zq","Aw5ZDa","y3jLyxrLrwXLBwvUDe5t","u3rLCa","Dg91y2HLCW","B2jZzxj2zq","B2jZzxj2zxjZ","y29Kzq","tgvMDa","zMLUzeLUzgv4","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","sgfUzgXL","yMfJA2DYB3vUzenVBg9Y","mI4WlJa","BwfYA2vY","C3r5BguU","AgfZt3DUuhjVCgvYDhK","y2fUy2vS","DxnLCK5Vzgu","z2v0u25HChnOB3q","zM9YD2fYzfjLzG","DhjPz2DLCK5VzgvdAgfUz2vZ","y29UBMvJDgLVBKXVB2T1Ca","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","mtaWjq","uMvKB091DgXPBMvK","mcaWidi1idmY","wM9VBsbpDxq","5OUw5OU96lcd5Pw06lw354k5","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","C29YDa","CMvXDwvZDefUAw1HDgLVBKzYyw1L","AxnfzgL0Aw5NrxzLBNrgBg93","twLUDxndAxjJBgvpDxrSAw5Lza","vgLTzw91DcbOyxmGB2nJDxjYzwq","ywrKrxzLBNrmAxn0zw5LCG","ig5VDcbMB3vUza","y3vYCMvUDa","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","6k6+5Ash5zU+5Qch","54Q25Ocb5zcn56EW","zgv2zwXVCg1LBNq","BgLUzurYyxDPBMC","zgLZCgXHEwfIBgu","y29Uy2f0","DhjHBNnSyxrLvg8","C2vSzwn0C3rHCNqUzhjHzW","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","zxzHBhvHDgvtDgf0DxnfEhbYzxnZAw9U","AhnSka","y29UDgfPBG","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","ChGPihnJywXLka","B3DUzxjtvKDfBgvTzw50","u1fsvdi","t3b0Aw9U","6k+36ycj5OUP55UU5Qch55s75BId","Dg9mB3DLCKnHC2u","zgf0ytPPBwfNzs9ZDMCREg1Sla","y2XPzw50wq","CgfYDgLHBe9IC2vYDMvY","sw1Hz2u","C3rYB2TLv2LKDgG","CgLWzq","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","BgLZDgvUzxi","ugfUzwW","qxjYB3DdBg9Zzwq","lNjLywn0lwzSB3DFx3bHBMu","5PYQ55+L55s75BId","mJm4ntuXm3fbB3PRwG","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","zMXLEcbMBgv4lwnVBa","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","5yIG6zMK5PAh5lU2","B25oB2rLC0rLBgv0zq","57Ue5Ocb57Yw6l6r5zMO","ue9tsvrjvKvFsu5gsu5jvfK","EvnUyxbWzwq","ChjLDLzPzxDWB3j0","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","u0vmrunu","A2v5Dxa","DhjHBNnPDgLVBIa","x25LEhq","zM9YBwf0shnS","vhLWB2DYyxbOEq","BgLUzxm","vxbtCxvHCMvpDxrSAw5Lza","5PwW5O2U5QIH5OUF","6l+u5zUE5yIx6kgO","BwvYz2vsDw50Aw1LsgfUzgXLCNm","mtK0otjRvKTYug8","ChjLDG","vxbSB2fKt3v0BgLUzwq","zgLZDgfUy2u","AxneCMf3Aw5N","5BYa5AEl5PEL5PYF","6BYG5Qch56E75yE6","5lIk5lYG5zU+54Mh","5PwW57Ue56YSia","tM9KzvjLBMrLCMvY","DhjHBNnSyxrLqNK","qxjYB3DvCa","B3jKzxi","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","Bs9ZWRi","y2XVBMvfBgvTzw50","AgfZqxr0CMLIDxrL","u2vSzwn0t3v0BgLUzwq","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","Aw5MBW","z2v0qKjVEa","5lIk5A+56B2q","C2v0twf4wM9VBq","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","C2v0qxr0CMLIDxrL","wM9VBuLUt3v0BgLUzwq","zxzLBNrcBg9JAW","CMvHy3qTzMXVD19FyxjYB3DOzwfK","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","AxnqCMLTyxj5","ioMHUEw/HEMHU+AyR+wVUEIXOq","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","Dgv4Dc1ZBq","57Ut5P2F5zgO","y29UDgv4Dg1LBNu","tgLZDa","CMvZAxPL","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","BM9KzxntzwXLy3rPB25by3rPDMu","DMLLDW","B25qB2LUDgvYrg93BG","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","BwfYA2vYvw5PDhm","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","CgfNzvK","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","x19UzxDFxW","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","vxbSB2fK","Dg91y2G","tw96vxnLCLnLBgvJDa","EMHFq04","zgvZDgLUyxrPB24","C2v0vMLLD3bVCNq","5A+g6zUg54k554Q2","C3vIAMvJDa","x+EkTUAaGq","B25oB2rLrhjHz1n0yxj0","zM9UDc1TzwrPDw0GBwiTmG","yxv0BY1ZDgfYDc1YzxzLCNnL","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","C3r5BgvuD2vLBG","Bwf0CML4vhjHBNnMB3jT","yxr0CI4","C3jJ","x2HHC1bHCMvUDa","i2zHywqXna","6lEZ6l2S55s75BId","zgjSy2XPy2SUEM9VBq","B25oB2rLrhjHzW","x3rPBwu","5PQc5PEG5PwW5O2U","Aw50zxjUywXZ","CxvLCNLtzwXLy3rVCG","zM9UDc1TB25VihrLEhqTC20","CMzjza","rgL2AwrLCG","rxzLBNrgBg93qMLUzgLUzW","DhjHBNnSyxrLwa","5lIl5lIa5lIw57QQ","Bw91C2vfBNrLCG","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","uMvHy3q","Dg91y2GW","ww91ihbYB3zPzgvKia","57Ut5P2F5PEL5PYF","6Ake6kEi5QIH5BYp","wM9VBsbjBG","CMzFx2vKz2uT","y3vYCMvUDe9IC2vYDMvYCW","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","DMfSDwvgB250v2vPz2H0","BMfTzxnWywnLvvjj","DMLLD3bVCNrjBML0AwfSAxPLza","A2v5CW","xMHZBfWO","tKvhqvrjvKvFsu5gsu5jvfK","A2vLCefZCgvJDfjHDgLV","yNvPBhrPBKLK","t1busu9o","y29UDgfPBMvY","5OUw5OU96lcd5Pw05AsN5Bcp","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","5BYa5AEl5PE26zE0","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","y29UBMvJDgfIBgvLBMq","6ycj5OUP57Q/5P2H5Qc35BYp","Dg91y2GX","Cgf0DgvYBG","C291CMnLug9ZAxrPB24","CMv0DxjU","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","ywn0Aw9UCW","yxr0CLr3zwvU","54Q25Ocb5PwWoIa","D29YAW","DxnLtgf5B3v0rwzMzwn0","DgfWCW","Aw52zxj0","C3fYDa","AwrLBNrPzMLLCG","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","Aw50zxjUywW","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","AgfUzgXLCW","B2zMC2v0v2LKDgG","C2v0tM9Kzxm","Bw92zwq","u3DPDgnO","u2vSzwn0","vevyva","CgfUu2nYB2XSvgLTzw91Da","vevyvefsrue","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","y2fUDMfZ","CMvJEwnSzufZEw5Jswq","q29UzMLNrwrPDg9Y","5yc85Qc35BYp","zg9TywLU","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","mde1","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","A2v5","vgv4DefYzwe","twLUAsbnyxa","u2f2zu91DgXPBMvK","zxzLBNruExbL","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","5y+n6ycj5B2t6Ag1","sg9YAxPVBNrHBa","vgfICW","zhjHz0HHBMrSzq","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","Aw5WDxrZ","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","x3rOCM93swzdBg9Zzwq","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","ANn4","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","yMfJAW"];return _0x5a17=function(){return we},_0x5a17()}
|
|
7
|
+
+`)[s(1296)](`
|
|
8
|
+
`)),y=u[s(1745)]((h,w)=>h.concat(...w),[]);return[u,y]}return[[],[]]},[e]);return D[t(433)](()=>{const s=t,f=n?.[s(854)]??La,u=n?.[s(422)]??!0;if(e!==null){const y=g=>{const p=s;if(r[p(515)]=g.ctrlKey||g[p(2113)]||g.shiftKey||g[p(799)],(!r.current||r[p(515)]&&!u)&&Ai(g))return!1;const z=Sa(g[p(1622)],d);if(i[p(515)][p(1796)](g[z]),Na(a,i[p(515)],!1)){const m=g[p(1107)]?.()?.[0]||g[p(854)],v=m?.[p(1488)]==="BUTTON"||m?.[p(1488)]==="A";n[p(2106)]!==!1&&(r.current||!v)&&g[p(2106)](),o(!0)}},h=g=>{const p=s,b=Sa(g[p(1622)],d);Na(a,i[p(515)],!0)?(o(!1),i[p(515)][p(1822)]()):i.current[p(1826)](g[b]),g[p(438)]==="Meta"&&i.current[p(1822)](),r[p(515)]=!1},w=()=>{const g=s;i[g(515)][g(1822)](),o(!1)};return f?.[s(437)]("keydown",y),f?.[s(437)](s(388),h),window.addEventListener(s(2047),w),window[s(437)](s(1952),w),()=>{const g=s;f?.[g(2009)](g(1041),y),f?.[g(2009)](g(388),h),window[g(2009)](g(2047),w),window[g(2009)](g(1952),w)}}},[e,o]),x}function Na(e,n,t){const x=c;return e[x(1928)](o=>t||o.length===n[x(547)])[x(1805)](o=>o[x(1161)](r=>n[x(1071)](r)))}function Sa(e,n){const t=c;return n.includes(e)?t(1622):t(438)}const f5=()=>{const e=ke();return D.useMemo(()=>{const n=_0xa8e1;return{zoomIn:t=>{const x=_0xa8e1,{panZoom:o}=e[x(1560)]();return o?o[x(401)](1.2,t):Promise[x(777)](!1)},zoomOut:t=>{const{panZoom:x}=e.getState();return x?x.scaleBy(1/1.2,t):Promise.resolve(!1)},zoomTo:(t,x)=>{const o=_0xa8e1,{panZoom:r}=e.getState();return r?r[o(1937)](t,x):Promise[o(777)](!1)},getZoom:()=>e[n(1560)]()[n(1558)][2],setViewport:async(t,x)=>{const o=n,{transform:[r,i,a],panZoom:d}=e[o(1560)]();return d?(await d[o(961)]({x:t.x??r,y:t.y??i,zoom:t[o(1068)]??a},x),Promise.resolve(!0)):Promise[o(777)](!1)},getViewport:()=>{const t=n,[x,o,r]=e[t(1560)]().transform;return{x,y:o,zoom:r}},setCenter:async(t,x,o)=>e[n(1560)]().setCenter(t,x,o),fitBounds:async(t,x)=>{const o=n,{width:r,height:i,minZoom:a,maxZoom:d,panZoom:s}=e[o(1560)](),f=Zx(t,r,i,a,d,x?.[o(813)]??.1);return s?(await s[o(961)](f,{duration:x?.duration,ease:x?.[o(1543)],interpolate:x?.[o(1452)]}),Promise[o(777)](!0)):Promise.resolve(!1)},screenToFlowPosition:(t,x={})=>{const o=n,{transform:r,snapGrid:i,snapToGrid:a,domNode:d}=e.getState();if(!d)return t;const{x:s,y:f}=d.getBoundingClientRect(),u={x:t.x-s,y:t.y-f},y=x[o(551)]??i,h=x[o(431)]??a;return Xn(u,r,h,y)},flowToScreenPosition:t=>{const x=n,{transform:o,domNode:r}=e[x(1560)]();if(!r)return t;const{x:i,y:a}=r.getBoundingClientRect(),d=Ut(t,o);return{x:d.x+i,y:d.y+a}}}},[])};function ka(e,n){const t=c,x=[],o=new Map,r=[];for(const i of e)if(i.type===t(1796)){r[t(541)](i);continue}else if(i[t(1721)]===t(619)||i.type===t(1341))o.set(i.id,[i]);else{const a=o[t(834)](i.id);a?a[t(541)](i):o[t(674)](i.id,[i])}for(const i of n){const a=o[t(834)](i.id);if(!a){x[t(541)](i);continue}if(a[0][t(1721)]===t(619))continue;if(a[0][t(1721)]===t(1341)){x[t(541)]({...a[0][t(1719)]});continue}const d={...i};for(const s of a)h5(s,d);x[t(541)](d)}return r[t(2062)]&&r[t(1575)](i=>{const a=t;i[a(950)]!==void 0?x[a(1675)](i[a(950)],0,{...i[a(1719)]}):x[a(541)]({...i[a(1719)]})}),x}function h5(e,n){const t=c;switch(e.type){case t(1080):{n.selected=e[t(509)];break}case t(1781):{typeof e[t(1781)]!==t(910)&&(n[t(1781)]=e[t(1781)]),typeof e[t(1396)]!==t(910)&&(n.dragging=e[t(1396)]);break}case"dimensions":{typeof e[t(636)]!==t(910)&&(n[t(974)]={...e.dimensions},e[t(1948)]&&((e[t(1948)]===!0||e.setAttributes===t(1088))&&(n[t(1088)]=e.dimensions[t(1088)]),(e.setAttributes===!0||e[t(1948)]===t(1945))&&(n.height=e[t(636)][t(1945)]))),typeof e.resizing=="boolean"&&(n[t(686)]=e[t(686)]);break}}}function Pa(e,n){return ka(e,n)}function Ia(e,n){return ka(e,n)}function H0(e,n){return{id:e,type:c(1080),selected:n}}function hn(e,n=new Set,t=!1){const x=c,o=[];for(const[r,i]of e){const a=n.has(r);!(i[x(509)]===void 0&&!a)&&i[x(509)]!==a&&(t&&(i[x(509)]=a),o.push(H0(i.id,a)))}return o}function ja({items:e=[],lookup:n}){const t=c,x=[],o=new Map(e.map(r=>[r.id,r]));for(const[r,i]of e[t(1708)]()){const a=n[t(834)](i.id),d=a?.[t(739)]?.userNode??a;d!==void 0&&d!==i&&x[t(541)]({id:i.id,item:i,type:t(1341)}),d===void 0&&x[t(541)]({item:i,type:t(1796),index:r})}for(const[r]of n)o[t(834)](r)===void 0&&x[t(541)]({id:r,type:t(619)});return x}function Aa(e){const n=c;return{id:e.id,type:n(619)}}const Ea=e=>Gf(e),g5=e=>zi(e);function Ya(e){return D[c(1797)](e)}function Ua(e){const n=c,[t,x]=D.useState(BigInt(0)),[o]=D[n(744)](()=>y5(()=>x(r=>r+BigInt(1))));return uo(()=>{const r=n,i=o[r(834)]();i.length&&(e(i),o.reset())},[t]),o}function y5(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0xa8e1(541)](t),e()}}}const Oa=D[c(1633)](null);function m5({children:e}){const n=c,t=ke(),x=D.useCallback(d=>{const s=_0xa8e1,{nodes:f=[],setNodes:u,hasDefaultNodes:y,onNodesChange:h,nodeLookup:w,fitViewQueued:g,onNodesChangeMiddlewareMap:p}=t[s(1560)]();let b=f;for(const m of d)b=typeof m=="function"?m(b):m;let z=ja({items:b,lookup:w});for(const m of p[s(1328)]())z=m(z);y&&u(b),z[s(2062)]>0?h?.(z):g&&window[s(531)](()=>{const m=s,{fitViewQueued:v,nodes:M,setNodes:I}=t[m(1560)]();v&&I(M)})},[]),o=Ua(x),r=D.useCallback(d=>{const s=_0xa8e1,{edges:f=[],setEdges:u,hasDefaultEdges:y,onEdgesChange:h,edgeLookup:w}=t.getState();let g=f;for(const p of d)g=typeof p===s(1200)?p(g):p;y?u(g):h&&h(ja({items:g,lookup:w}))},[]),i=Ua(r),a=D[n(476)](()=>({nodeQueue:o,edgeQueue:i}),[]);return l[n(662)](Oa[n(2056)],{value:a,children:e})}function w5(){const e=c,n=D[e(1377)](Oa);if(!n)throw new Error(e(1297));return n}const v5=e=>!!e[c(631)];function fo(){const e=c,n=f5(),t=ke(),x=w5(),o=Ce(v5),r=D[e(476)](()=>{const i=e,a=h=>t[i(1560)]()[i(700)][i(834)](h),d=h=>{const w=i;x.nodeQueue[w(541)](h)},s=h=>{const w=i;x[w(917)][w(541)](h)},f=h=>{const w=i,{nodeLookup:g,nodeOrigin:p}=t[w(1560)](),b=Ea(h)?h:g.get(h.id),z=b[w(611)]?Pi(b[w(1781)],b[w(974)],b[w(611)],g,p):b.position,m={...b,position:z,width:b.measured?.[w(1088)]??b[w(1088)],height:b[w(974)]?.[w(1945)]??b[w(1945)]};return sn(m)},u=(h,w,g={replace:!1})=>{d(p=>p.map(b=>{const z=_0xa8e1;if(b.id===h){const m=typeof w===z(1200)?w(b):w;return g[z(1341)]&&Ea(m)?m:{...b,...m}}return b}))},y=(h,w,g={replace:!1})=>{const p=i;s(b=>b[p(1008)](z=>{const m=p;if(z.id===h){const v=typeof w===m(1200)?w(z):w;return g.replace&&g5(v)?v:{...z,...v}}return z}))};return{getNodes:()=>t[i(1560)]().nodes[i(1008)](h=>({...h})),getNode:h=>a(h)?.internals[i(2115)],getInternalNode:a,getEdges:()=>{const h=i,{edges:w=[]}=t[h(1560)]();return w[h(1008)](g=>({...g}))},getEdge:h=>t[i(1560)]().edgeLookup[i(834)](h),setNodes:d,setEdges:s,addNodes:h=>{const w=i,g=Array[w(738)](h)?h:[h];x[w(691)][w(541)](p=>[...p,...g])},addEdges:h=>{const w=i,g=Array[w(738)](h)?h:[h];x.edgeQueue[w(541)](p=>[...p,...g])},toObject:()=>{const h=i,{nodes:w=[],edges:g=[],transform:p}=t[h(1560)](),[b,z,m]=p;return{nodes:w.map(v=>({...v})),edges:g.map(v=>({...v})),viewport:{x:b,y:z,zoom:m}}},deleteElements:async({nodes:h=[],edges:w=[]})=>{const g=i,{nodes:p,edges:b,onNodesDelete:z,onEdgesDelete:m,triggerNodeChanges:v,triggerEdgeChanges:M,onDelete:I,onBeforeDelete:E}=t[g(1560)](),{nodes:G,edges:O}=await Wf({nodesToRemove:h,edgesToRemove:w,nodes:p,edges:b,onBeforeDelete:E}),U=O[g(2062)]>0,F=G[g(2062)]>0;if(U){const X=O[g(1008)](Aa);m?.(O),M(X)}if(F){const X=G[g(1008)](Aa);z?.(G),v(X)}return(F||U)&&I?.({nodes:G,edges:O}),{deletedNodes:G,deletedEdges:O}},getIntersectingNodes:(h,w=!0,g)=>{const p=i,b=Ni(h),z=b?h:f(h),m=g!==void 0;return z?(g||t[p(1560)]().nodes)[p(1928)](v=>{const M=p,I=t[M(1560)]()[M(700)][M(834)](v.id);if(I&&!b&&(v.id===h.id||!I[M(739)][M(1523)]))return!1;const E=sn(m?v:I),G=qn(E,z);return w&&G>0||G>=E[M(1088)]*E.height||G>=z[M(1088)]*z[M(1945)]}):[]},isNodeIntersecting:(h,w,g=!0)=>{const p=i,b=Ni(h),z=b?h:f(h);if(!z)return!1;const m=qn(z,w);return g&&m>0||m>=w[p(1088)]*w[p(1945)]||m>=z[p(1088)]*z.height},updateNode:u,updateNodeData:(h,w,g={replace:!1})=>{u(h,p=>{const b=_0xa8e1,z=typeof w===b(1200)?w(p):w;return g[b(1341)]?{...p,data:z}:{...p,data:{...p[b(618)],...z}}},g)},updateEdge:y,updateEdgeData:(h,w,g={replace:!1})=>{y(h,p=>{const b=_0xa8e1,z=typeof w===b(1200)?w(p):w;return g[b(1341)]?{...p,data:z}:{...p,data:{...p[b(618)],...z}}},g)},getNodesBounds:h=>{const w=i,{nodeLookup:g,nodeOrigin:p}=t[w(1560)]();return Hf(h,{nodeLookup:g,nodeOrigin:p})},getHandleConnections:({type:h,id:w,nodeId:g})=>Array.from(t.getState()[i(1598)].get(g+"-"+h+(w?"-"+w:""))?.[i(1328)]()??[]),getNodeConnections:({type:h,handleId:w,nodeId:g})=>Array[i(400)](t[i(1560)]()[i(1598)].get(""+g+(h?w?"-"+h+"-"+w:"-"+h:""))?.[i(1328)]()??[]),fitView:async h=>{const w=i,g=t[w(1560)]()[w(1652)]??Zf();return t[w(860)]({fitViewQueued:!0,fitViewOptions:h,fitViewResolver:g}),x[w(691)].push(p=>[...p]),g[w(572)]}}},[]);return D[e(476)](()=>({...r,...n,viewportInitialized:o}),[o])}const Ga=e=>e.selected,p5=typeof window!==c(910)?window:void 0;function b5({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,x=ke(),{deleteElements:o}=fo(),r=Rn(e,{actInsideInputWithModifier:!1}),i=Rn(n,{target:p5});D[t(433)](()=>{const a=t;if(r){const{edges:d,nodes:s}=x.getState();o({nodes:s[a(1928)](Ga),edges:d[a(1928)](Ga)}),x[a(860)]({nodesSelectionActive:!1})}},[r]),D[t(433)](()=>{x[t(860)]({multiSelectionActive:i})},[i])}function z5(e){const n=c,t=ke();D[n(433)](()=>{const x=n,o=()=>{const r=_0xa8e1;if(!e[r(515)]||!(e[r(515)][r(750)]?.()??!0))return!1;const i=Rx(e[r(515)]);(i[r(1945)]===0||i.width===0)&&t[r(1560)]()[r(886)]?.("004",Ke[r(1910)]()),t.setState({width:i[r(1088)]||500,height:i[r(1945)]||500})};if(e[x(515)]){o(),window[x(437)]("resize",o);const r=new ResizeObserver(()=>o());return r[x(542)](e[x(515)]),()=>{const i=x;window[i(2009)](i(1703),o),r&&e[i(515)]&&r.unobserve(e[i(515)])}}},[])}const Kt={position:"absolute",width:c(1437),height:c(1437),top:0,left:0},C5=e=>({userSelectionActive:e[c(1698)],lib:e[c(1956)],connectionInProgress:e[c(1456)][c(1644)]});function M5({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:x=!1,panOnScrollSpeed:o=.5,panOnScrollMode:r=U0[c(1490)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:d,translateExtent:s,minZoom:f,maxZoom:u,zoomActivationKeyCode:y,preventScrolling:h=!0,children:w,noWheelClassName:g,noPanClassName:p,onViewportChange:b,isControlledViewport:z,paneClickDistance:m,selectionOnDrag:v}){const M=c,I=ke(),E=D.useRef(null),{userSelectionActive:G,lib:O,connectionInProgress:U}=Ce(C5,Se),F=Rn(y),X=D[M(649)]();z5(E);const W=D[M(983)](T=>{const N=M;b?.({x:T[0],y:T[1],zoom:T[2]}),!z&&I[N(860)]({transform:T})},[b,z]);return D[M(433)](()=>{const T=M;if(E.current){X[T(515)]=S2({domNode:E[T(515)],minZoom:f,maxZoom:u,translateExtent:s,viewport:d,onDraggingChange:A=>I[T(860)](P=>P[T(895)]===A?P:{paneDragging:A}),onPanZoomStart:(A,P)=>{const j=T,{onViewportChangeStart:Z,onMoveStart:R}=I[j(1560)]();R?.(A,P),Z?.(P)},onPanZoom:(A,P)=>{const j=T,{onViewportChange:Z,onMove:R}=I[j(1560)]();R?.(A,P),Z?.(P)},onPanZoomEnd:(A,P)=>{const j=T,{onViewportChangeEnd:Z,onMoveEnd:R}=I[j(1560)]();R?.(A,P),Z?.(P)}});const{x:N,y:L,zoom:B}=X[T(515)][T(1269)]();return I.setState({panZoom:X[T(515)],transform:[N,L,B],domNode:E[T(515)][T(1892)](T(1741))}),()=>{const A=T;X[A(515)]?.[A(2088)]()}}},[]),D[M(433)](()=>{const T=M;X[T(515)]?.[T(1125)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:x,panOnScrollSpeed:o,panOnScrollMode:r,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:F,preventScrolling:h,noPanClassName:p,userSelectionActive:G,noWheelClassName:g,lib:O,onTransformChange:W,connectionInProgress:U,selectionOnDrag:v,paneClickDistance:m})},[e,n,t,x,o,r,i,a,F,h,p,G,g,O,W,U,v,m]),l.jsx(M(1861),{className:M(2172),ref:E,style:Kt,children:w})}const B5=e=>({userSelectionActive:e.userSelectionActive,userSelectionRect:e[c(2017)]});function D5(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Ce(B5,Se);return n&&t?l[e(662)]("div",{className:e(849),style:{width:t.width,height:t[e(1945)],transform:e(549)+t.x+e(2093)+t.y+e(2155)}}):null}const ho=(e,n)=>t=>{const x=_0xa8e1;t[x(854)]===n[x(515)]&&e?.(t)},L5=e=>({userSelectionActive:e[c(1698)],elementsSelectable:e.elementsSelectable,connectionInProgress:e[c(1456)].inProgress,dragging:e[c(895)]});function N5({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Hn[c(912)],panOnDrag:x,paneClickDistance:o,selectionOnDrag:r,onSelectionStart:i,onSelectionEnd:a,onPaneClick:d,onPaneContextMenu:s,onPaneScroll:f,onPaneMouseEnter:u,onPaneMouseMove:y,onPaneMouseLeave:h,children:w}){const g=c,p=ke(),{userSelectionActive:b,elementsSelectable:z,dragging:m,connectionInProgress:v}=Ce(L5,Se),M=z&&(e||b),I=D.useRef(null),E=D[g(649)](),G=D[g(649)](new Set),O=D.useRef(new Set),U=D[g(649)](!1),F=P=>{const j=g;if(U[j(515)]||v){U.current=!1;return}d?.(P),p.getState()[j(1086)](),p[j(860)]({nodesSelectionActive:!1})},X=P=>{const j=g;if(Array.isArray(x)&&x?.[j(545)](2)){P[j(2106)]();return}s?.(P)},W=f?P=>f(P):void 0,T=P=>{const j=g;U[j(515)]&&(P.stopPropagation(),U[j(515)]=!1)},N=P=>{const j=g,{domNode:Z}=p[j(1560)]();if(E.current=Z?.[j(1412)](),!E[j(515)])return;const R=P[j(854)]===I[j(515)];if(!R&&!!P[j(854)][j(1892)](j(928))||!e||!(r&&R||n)||P[j(1295)]!==0||!P.isPrimary)return;P[j(854)]?.[j(410)]?.(P.pointerId),U[j(515)]=!1;const{x:te,y:ce}=n0(P[j(1690)],E.current);p[j(860)]({userSelectionRect:{width:0,height:0,startX:te,startY:ce,x:te,y:ce}}),!R&&(P[j(1118)](),P[j(2106)]())},L=P=>{const j=g,{userSelectionRect:Z,transform:R,nodeLookup:_,edgeLookup:Q,connectionLookup:te,triggerNodeChanges:ce,triggerEdgeChanges:$,defaultEdgeOptions:se,resetSelectedElements:xe}=p.getState();if(!E[j(515)]||!Z)return;const{x:oe,y:ie}=n0(P.nativeEvent,E[j(515)]),{startX:k,startY:S}=Z;if(!U[j(515)]){const ge=n?0:o;if(Math[j(2114)](oe-k,ie-S)<=ge)return;xe(),i?.(P)}U[j(515)]=!0;const q={startX:k,startY:S,x:oe<k?oe:k,y:ie<S?ie:S,width:Math[j(1787)](oe-k),height:Math[j(1787)](ie-S)},K=G.current,V=O.current;G[j(515)]=new Set(Xx(_,q,R,t===Hn[j(1171)],!0)[j(1008)](ge=>ge.id)),O[j(515)]=new Set;const ae=se?.selectable??!0;for(const ge of G[j(515)]){const me=te[j(834)](ge);if(me)for(const{edgeId:he}of me[j(1328)]()){const ve=Q[j(834)](he);ve&&(ve[j(1776)]??ae)&&O[j(515)][j(1796)](he)}}if(!Ii(K,G[j(515)])){const ge=hn(_,G[j(515)],!0);ce(ge)}if(!Ii(V,O[j(515)])){const ge=hn(Q,O[j(515)]);$(ge)}p[j(860)]({userSelectionRect:q,userSelectionActive:!0,nodesSelectionActive:!1})},B=P=>{const j=g;P.button===0&&(P.target?.[j(762)]?.(P[j(713)]),!b&&P.target===I[j(515)]&&p.getState()[j(2017)]&&F?.(P),p[j(860)]({userSelectionActive:!1,userSelectionRect:null}),U[j(515)]&&(a?.(P),p[j(860)]({nodesSelectionActive:G[j(515)][j(547)]>0})))},A=x===!0||Array.isArray(x)&&x[g(545)](0);return l.jsxs(g(1861),{className:je(["react-flow__pane",{draggable:A,dragging:m,selection:e}]),onClick:M?void 0:ho(F,I),onContextMenu:ho(X,I),onWheel:ho(W,I),onPointerEnter:M?void 0:u,onPointerMove:M?L:y,onPointerUp:M?B:void 0,onPointerDownCapture:M?N:void 0,onClickCapture:M?T:void 0,onPointerLeave:h,ref:I,style:Kt,children:[w,l[g(662)](D5,{})]})}function go({id:e,store:n,unselect:t=!1,nodeRef:x}){const o=c,{addSelectedNodes:r,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:d,onError:s}=n.getState(),f=d[o(834)](e);if(!f){s?.("012",Ke[o(1869)](e));return}n[o(860)]({nodesSelectionActive:!1}),f[o(509)]?(t||f[o(509)]&&a)&&(i({nodes:[f],edges:[]}),requestAnimationFrame(()=>x?.[o(515)]?.[o(2047)]())):r([e])}function Ha({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:x,nodeId:o,isSelectable:r,nodeClickDistance:i}){const a=c,d=ke(),[s,f]=D[a(744)](!1),u=D[a(649)]();return D.useEffect(()=>{const y=a;u[y(515)]=g2({getStoreItems:()=>d[y(1560)](),onNodeMouseDown:h=>{go({id:h,store:d,nodeRef:e})},onDragStart:()=>{f(!0)},onDragStop:()=>{f(!1)}})},[]),D[a(433)](()=>{const y=a;if(!(n||!e[y(515)]||!u[y(515)]))return u[y(515)][y(1125)]({noDragClassName:t,handleSelector:x,domNode:e[y(515)],isSelectable:r,nodeId:o,nodeClickDistance:i}),()=>{const h=y;u.current?.[h(2088)]()}},[t,x,n,r,e,o,i]),s}const S5=e=>n=>n.selected&&(n[c(1646)]||e&&typeof n.draggable===c(910));function Ta(){const e=c,n=ke();return D[e(983)](x=>{const o=e,{nodeExtent:r,snapToGrid:i,snapGrid:a,nodesDraggable:d,onError:s,updateNodePositions:f,nodeLookup:u,nodeOrigin:y}=n[o(1560)](),h=new Map,w=S5(d),g=i?a[0]:5,p=i?a[1]:5,b=x.direction.x*g*x.factor,z=x[o(1180)].y*p*x[o(1650)];for(const[,m]of u){if(!w(m))continue;let v={x:m[o(739)].positionAbsolute.x+b,y:m[o(739)][o(1523)].y+z};i&&(v=Wn(v,a));const{position:M,positionAbsolute:I}=Ci({nodeId:m.id,nextPosition:v,nodeLookup:u,nodeExtent:r,nodeOrigin:y,onError:s});m[o(1781)]=M,m[o(739)][o(1523)]=I,h[o(674)](m.id,m)}f(h)},[])}const yo=D[c(1633)](null),k5=yo[c(2056)];yo.Consumer;const Va=()=>D[c(1377)](yo),P5=e=>({connectOnClick:e[c(1623)],noPanClassName:e[c(978)],rfId:e[c(1593)]}),I5=(e,n,t)=>x=>{const o=c,{connectionClickStartHandle:r,connectionMode:i,connection:a}=x,{fromHandle:d,toHandle:s,isValid:f}=a,u=s?.[o(1589)]===e&&s?.id===n&&s?.[o(1721)]===t;return{connectingFrom:d?.[o(1589)]===e&&d?.id===n&&d?.type===t,connectingTo:u,clickConnecting:r?.nodeId===e&&r?.id===n&&r?.type===t,isPossibleEndHandle:i===an[o(1352)]?d?.[o(1721)]!==t:e!==d?.[o(1589)]||n!==d?.id,connectionInProcess:!!d,clickConnectionInProcess:!!r,valid:u&&f}};function j5({type:e=c(1413),position:n=ue[c(482)],isValidConnection:t,isConnectable:x=!0,isConnectableStart:o=!0,isConnectableEnd:r=!0,id:i,onConnect:a,children:d,className:s,onMouseDown:f,onTouchStart:u,...y},h){const w=c,g=i||null,p=e===w(854),b=ke(),z=Va(),{connectOnClick:m,noPanClassName:v,rfId:M}=Ce(P5,Se),{connectingFrom:I,connectingTo:E,clickConnecting:G,isPossibleEndHandle:O,connectionInProcess:U,clickConnectionInProcess:F,valid:X}=Ce(I5(z,g,e),Se);!z&&b[w(1560)]()[w(886)]?.(w(1710),Ke.error010());const W=L=>{const B=w,{defaultEdgeOptions:A,onConnect:P,hasDefaultEdges:j}=b.getState(),Z={...A,...L};if(j){const{edges:R,setEdges:_}=b[B(1560)]();_(Ti(Z,R))}P?.(Z),a?.(Z)},T=L=>{const B=w;if(!z)return;const A=Ei(L[B(1690)]);if(o&&(A&&L[B(1295)]===0||!A)){const P=b[B(1560)]();oo.onPointerDown(L.nativeEvent,{handleDomNode:L[B(1179)],autoPanOnConnect:P[B(582)],connectionMode:P[B(1423)],connectionRadius:P[B(1610)],domNode:P.domNode,nodeLookup:P[B(700)],lib:P.lib,isTarget:p,handleId:g,nodeId:z,flowId:P[B(1593)],panBy:P[B(1164)],cancelConnection:P[B(2072)],onConnectStart:P[B(1313)],onConnectEnd:(...j)=>b[B(1560)]()[B(1257)]?.(...j),updateConnection:P.updateConnection,onConnect:W,isValidConnection:t||((...j)=>b[B(1560)]().isValidConnection?.(...j)??!0),getTransform:()=>b[B(1560)]()[B(1558)],getFromHandle:()=>b[B(1560)]()[B(1456)][B(980)],autoPanSpeed:P.autoPanSpeed,dragThreshold:P.connectionDragThreshold})}A?f?.(L):u?.(L)},N=L=>{const B=w,{onClickConnectStart:A,onClickConnectEnd:P,connectionClickStartHandle:j,connectionMode:Z,isValidConnection:R,lib:_,rfId:Q,nodeLookup:te,connection:ce}=b[B(1560)]();if(!z||!j&&!o)return;if(!j){A?.(L[B(1690)],{nodeId:z,handleId:g,handleType:e}),b.setState({connectionClickStartHandle:{nodeId:z,type:e,id:g}});return}const $=ji(L[B(854)]),se=t||R,{connection:xe,isValid:oe}=oo[B(1095)](L[B(1690)],{handle:{nodeId:z,id:g,type:e},connectionMode:Z,fromNodeId:j.nodeId,fromHandleId:j.id||null,fromType:j[B(1721)],isValidConnection:se,flowId:Q,doc:$,lib:_,nodeLookup:te});oe&&xe&&W(xe);const ie=structuredClone(ce);delete ie[B(1644)],ie[B(1994)]=ie[B(843)]?ie[B(843)][B(1781)]:null,P?.(L,ie),b[B(860)]({connectionClickStartHandle:null})};return l[w(662)](w(1861),{"data-handleid":g,"data-nodeid":z,"data-handlepos":n,"data-id":M+"-"+z+"-"+g+"-"+e,className:je([w(906),w(979)+n,w(1312),v,s,{source:!p,target:p,connectable:x,connectablestart:o,connectableend:r,clickconnecting:G,connectingfrom:I,connectingto:E,valid:X,connectionindicator:x&&(!U||O)&&(U||F?r:o)}]),onMouseDown:T,onTouchStart:T,onClick:m?N:void 0,ref:h,...y,children:d})}const gn=D[c(1707)](Ya(j5));function A5({data:e,isConnectable:n,sourcePosition:t=ue[c(569)]}){const x=c;return l.jsxs(l[x(1907)],{children:[e?.[x(444)],l.jsx(gn,{type:"source",position:t,isConnectable:n})]})}function E5({data:e,isConnectable:n,targetPosition:t=ue[c(482)],sourcePosition:x=ue.Bottom}){const o=c;return l[o(1304)](l[o(1907)],{children:[l[o(662)](gn,{type:"target",position:t,isConnectable:n}),e?.label,l[o(662)](gn,{type:o(1413),position:x,isConnectable:n})]})}function Y5(){return null}function U5({data:e,isConnectable:n,targetPosition:t=ue[c(482)]}){const x=c;return l.jsxs(l.Fragment,{children:[l.jsx(gn,{type:x(854),position:t,isConnectable:n}),e?.[x(444)]]})}const Zt={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},qa={input:A5,default:E5,output:U5,group:Y5};function O5(e){const n=c;return e[n(739)][n(1169)]===void 0?{width:e[n(1088)]??e[n(1381)]??e[n(752)]?.width,height:e[n(1945)]??e[n(870)]??e[n(752)]?.[n(1945)]}:{width:e[n(1088)]??e[n(752)]?.width,height:e[n(1945)]??e[n(752)]?.height}}const G5=e=>{const n=c,{width:t,height:x,x:o,y:r}=Vn(e[n(700)],{filter:i=>!!i.selected});return{width:e0(t)?t:null,height:e0(x)?x:null,userSelectionActive:e[n(1698)],transformString:"translate("+e[n(1558)][0]+n(932)+e[n(1558)][1]+n(839)+e[n(1558)][2]+n(941)+o+n(932)+r+n(2155)}};function H5({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const x=c,o=ke(),{width:r,height:i,transformString:a,userSelectionActive:d}=Ce(G5,Se),s=Ta(),f=D[x(649)](null);D[x(433)](()=>{const w=x;!t&&f[w(515)]?.[w(947)]({preventScroll:!0})},[t]);const u=!d&&r!==null&&i!==null;if(Ha({nodeRef:f,disabled:!u}),!u)return null;const y=e?w=>{const g=x,p=o[g(1560)]()[g(2159)][g(1928)](b=>b.selected);e(w,p)}:void 0,h=w=>{const g=x;Object[g(578)][g(1697)][g(1225)](Zt,w[g(438)])&&(w[g(2106)](),s({direction:Zt[w[g(438)]],factor:w.shiftKey?4:1}))};return l[x(662)](x(1861),{className:je([x(1246),x(1019),n]),style:{transform:a},children:l[x(662)]("div",{ref:f,className:x(2019),onContextMenu:y,tabIndex:t?void 0:-1,onKeyDown:t?void 0:h,style:{width:r,height:i}})})}const Wa=typeof window!==c(910)?window:void 0,T5=e=>{const n=c;return{nodesSelectionActive:e[n(640)],userSelectionActive:e[n(1698)]}};function Xa({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:d,selectionKeyCode:s,selectionOnDrag:f,selectionMode:u,onSelectionStart:y,onSelectionEnd:h,multiSelectionKeyCode:w,panActivationKeyCode:g,zoomActivationKeyCode:p,elementsSelectable:b,zoomOnScroll:z,zoomOnPinch:m,panOnScroll:v,panOnScrollSpeed:M,panOnScrollMode:I,zoomOnDoubleClick:E,panOnDrag:G,defaultViewport:O,translateExtent:U,minZoom:F,maxZoom:X,preventScrolling:W,onSelectionContextMenu:T,noWheelClassName:N,noPanClassName:L,disableKeyboardA11y:B,onViewportChange:A,isControlledViewport:P}){const j=c,{nodesSelectionActive:Z,userSelectionActive:R}=Ce(T5,Se),_=Rn(s,{target:Wa}),Q=Rn(g,{target:Wa}),te=Q||G,ce=Q||v,$=f&&te!==!0,se=_||R||$;return b5({deleteKeyCode:d,multiSelectionKeyCode:w}),l[j(662)](M5,{onPaneContextMenu:r,elementsSelectable:b,zoomOnScroll:z,zoomOnPinch:m,panOnScroll:ce,panOnScrollSpeed:M,panOnScrollMode:I,zoomOnDoubleClick:E,panOnDrag:!_&&te,defaultViewport:O,translateExtent:U,minZoom:F,maxZoom:X,zoomActivationKeyCode:p,preventScrolling:W,noWheelClassName:N,noPanClassName:L,onViewportChange:A,isControlledViewport:P,paneClickDistance:a,selectionOnDrag:$,children:l[j(1304)](N5,{onSelectionStart:y,onSelectionEnd:h,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:o,onPaneContextMenu:r,onPaneScroll:i,panOnDrag:te,isSelecting:!!se,selectionMode:u,selectionKeyPressed:_,paneClickDistance:a,selectionOnDrag:$,children:[e,Z&&l[j(662)](H5,{onSelectionContextMenu:T,noPanClassName:L,disableKeyboardA11y:B})]})})}Xa[c(1108)]=c(1382);const V5=D[c(1707)](Xa),q5=e=>n=>{const t=c;return e?Xx(n[t(700)],{x:0,y:0,width:n[t(1088)],height:n[t(1945)]},n[t(1558)],!0).map(x=>x.id):Array[t(400)](n[t(700)].keys())};function W5(e){return Ce(D[c(983)](q5(e),[e]),Se)}const X5=e=>e[c(1279)];function K5(){const e=c,n=Ce(X5),[t]=D.useState(()=>typeof ResizeObserver===_0xa8e1(910)?null:new ResizeObserver(o=>{const r=new Map;o.forEach(i=>{const a=_0xa8e1,d=i[a(854)][a(1893)](a(574));r[a(674)](d,{id:d,nodeElement:i[a(854)],force:!0})}),n(r)}));return D[e(433)](()=>()=>{t?.disconnect()},[t]),t}function Z5({node:e,nodeType:n,hasDimensions:t,resizeObserver:x}){const o=c,r=ke(),i=D.useRef(null),a=D[o(649)](null),d=D[o(649)](e[o(1661)]),s=D.useRef(e[o(1168)]),f=D.useRef(n),u=t&&!!e[o(739)][o(1169)];return D[o(433)](()=>{const y=o;i[y(515)]&&!e[y(1409)]&&(!u||a.current!==i[y(515)])&&(a.current&&x?.[y(641)](a[y(515)]),x?.[y(542)](i.current),a.current=i[y(515)])},[u,e.hidden]),D.useEffect(()=>()=>{const y=_0xa8e1;a[y(515)]&&(x?.[y(641)](a[y(515)]),a[y(515)]=null)},[]),D[o(433)](()=>{const y=o;if(i[y(515)]){const h=f[y(515)]!==n,w=d[y(515)]!==e.sourcePosition,g=s[y(515)]!==e[y(1168)];(h||w||g)&&(f.current=n,d.current=e[y(1661)],s[y(515)]=e.targetPosition,r[y(1560)]()[y(1279)](new Map([[e.id,{id:e.id,nodeElement:i.current,force:!0}]])))}},[e.id,n,e[o(1661)],e.targetPosition]),i}function R5({id:e,onClick:n,onMouseEnter:t,onMouseMove:x,onMouseLeave:o,onContextMenu:r,onDoubleClick:i,nodesDraggable:a,elementsSelectable:d,nodesConnectable:s,nodesFocusable:f,resizeObserver:u,noDragClassName:y,noPanClassName:h,disableKeyboardA11y:w,rfId:g,nodeTypes:p,nodeClickDistance:b,onError:z}){const m=c,{node:v,internals:M,isParent:I}=Ce(xe=>{const oe=_0xa8e1,ie=xe[oe(700)][oe(834)](e),k=xe[oe(1340)][oe(1071)](e);return{node:ie,internals:ie[oe(739)],isParent:k}},Se);let E=v.type||m(1170),G=p?.[E]||qa[E];G===void 0&&(z?.(m(581),Ke[m(865)](E)),E=m(1170),G=p?.[m(1170)]||qa[m(1170)]);const O=!!(v[m(1646)]||a&&typeof v.draggable===m(910)),U=!!(v[m(1776)]||d&&typeof v[m(1776)]===m(910)),F=!!(v[m(761)]||s&&typeof v.connectable===m(910)),X=!!(v[m(2060)]||f&&typeof v[m(2060)]===m(910)),W=ke(),T=ki(v),N=Z5({node:v,nodeType:E,hasDimensions:T,resizeObserver:u}),L=Ha({nodeRef:N,disabled:v[m(1409)]||!O,noDragClassName:y,handleSelector:v[m(407)],nodeId:e,isSelectable:U,nodeClickDistance:b}),B=Ta();if(v[m(1409)])return null;const A=f0(v),P=O5(v),j=U||O||n||t||x||o,Z=t?xe=>t(xe,{...M[m(2115)]}):void 0,R=x?xe=>x(xe,{...M[m(2115)]}):void 0,_=o?xe=>o(xe,{...M.userNode}):void 0,Q=r?xe=>r(xe,{...M[m(2115)]}):void 0,te=i?xe=>i(xe,{...M[m(2115)]}):void 0,ce=xe=>{const{selectNodesOnDrag:oe,nodeDragThreshold:ie}=W.getState();U&&(!oe||!O||ie>0)&&go({id:e,store:W,nodeRef:N}),n&&n(xe,{...M.userNode})},$=xe=>{const oe=m;if(!(Ai(xe[oe(1690)])||w)){if(mi.includes(xe[oe(438)])&&U){const ie=xe.key===oe(1959);go({id:e,store:W,unselect:ie,nodeRef:N})}else if(O&&v[oe(509)]&&Object[oe(578)][oe(1697)][oe(1225)](Zt,xe[oe(438)])){xe.preventDefault();const{ariaLabelConfig:ie}=W[oe(1560)]();W[oe(860)]({ariaLiveMessage:ie["node.a11yDescription.ariaLiveMessage"]({direction:xe[oe(438)][oe(1341)](oe(1829),"")[oe(847)](),x:~~M[oe(1523)].x,y:~~M.positionAbsolute.y})}),B({direction:Zt[xe[oe(438)]],factor:xe[oe(953)]?4:1})}}},se=()=>{const xe=m;if(w||!N.current?.[xe(1815)](xe(1577)))return;const{transform:oe,width:ie,height:k,autoPanOnNodeFocus:S,setCenter:q}=W[xe(1560)]();if(!S)return;!(Xx(new Map([[e,v]]),{x:0,y:0,width:ie,height:k},oe,!0)[xe(2062)]>0)&&q(v.position.x+A[xe(1088)]/2,v[xe(1781)].y+A.height/2,{zoom:oe[2]})};return l[m(662)](m(1861),{className:je([m(1151),m(1641)+E,{[h]:O},v[m(2177)],{selected:v[m(509)],selectable:U,parent:I,draggable:O,dragging:L}]),ref:N,style:{zIndex:M.z,transform:m(549)+M[m(1523)].x+"px,"+M[m(1523)].y+"px)",pointerEvents:j?"all":"none",visibility:T?m(1065):"hidden",...v[m(752)],...P},"data-id":e,"data-testid":m(1081)+e,onMouseEnter:Z,onMouseMove:R,onMouseLeave:_,onContextMenu:Q,onClick:ce,onDoubleClick:te,onKeyDown:X?$:void 0,tabIndex:X?0:void 0,onFocus:X?se:void 0,role:v[m(1794)]??(X?m(650):void 0),"aria-roledescription":m(1470),"aria-describedby":w?void 0:ba+"-"+g,"aria-label":v.ariaLabel,...v.domAttributes,children:l[m(662)](k5,{value:e,children:l[m(662)](G,{id:e,data:v[m(618)],type:E,positionAbsoluteX:M[m(1523)].x,positionAbsoluteY:M[m(1523)].y,selected:v[m(509)]??!1,selectable:U,draggable:O,deletable:v[m(949)]??!0,isConnectable:F,sourcePosition:v[m(1661)],targetPosition:v[m(1168)],dragging:L,dragHandle:v[m(407)],zIndex:M.z,parentId:v.parentId,...A})})})}var J5=D[c(1707)](R5);const _5=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e[c(1731)],nodesFocusable:e.nodesFocusable,elementsSelectable:e[c(1786)],onError:e[c(886)]});function Ka(e){const n=c,{nodesDraggable:t,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,onError:i}=Ce(_5,Se),a=W5(e[n(2104)]),d=K5();return l[n(662)](n(1861),{className:n(419),style:Kt,children:a[n(1008)](s=>{const f=n;return l.jsx(J5,{id:s,nodeTypes:e[f(1845)],nodeExtent:e[f(634)],onClick:e[f(1835)],onMouseEnter:e[f(790)],onMouseMove:e.onNodeMouseMove,onMouseLeave:e.onNodeMouseLeave,onContextMenu:e[f(1537)],onDoubleClick:e[f(427)],noDragClassName:e.noDragClassName,noPanClassName:e.noPanClassName,rfId:e[f(1593)],disableKeyboardA11y:e[f(1281)],resizeObserver:d,nodesDraggable:t,nodesConnectable:x,nodesFocusable:o,elementsSelectable:r,nodeClickDistance:e.nodeClickDistance,onError:i},s)})})}Ka.displayName="NodeRenderer";const F5=D[c(1707)](Ka);function Q5(e){const n=c;return Ce(D[n(983)](x=>{const o=n;if(!e)return x[o(530)][o(1008)](i=>i.id);const r=[];if(x[o(1088)]&&x[o(1945)])for(const i of x[o(530)]){const a=x[o(700)][o(834)](i[o(1413)]),d=x.nodeLookup.get(i[o(854)]);a&&d&&Ff({sourceNode:a,targetNode:d,width:x[o(1088)],height:x[o(1945)],transform:x.transform})&&r[o(541)](i.id)}return r},[e]),Se)}const $5=({color:e=c(1316),strokeWidth:n=1})=>{const t=c,x={strokeWidth:n,...e&&{stroke:e}};return l[t(662)](t(632),{className:t(1013),style:x,strokeLinecap:t(814),fill:t(1316),strokeLinejoin:"round",points:t(1562)})},eh=({color:e=c(1316),strokeWidth:n=1})=>{const t=c,x={strokeWidth:n,...e&&{stroke:e,fill:e}};return l.jsx(t(632),{className:t(1073),style:x,strokeLinecap:t(814),strokeLinejoin:t(814),points:t(418)})},Za={[jt[c(1829)]]:$5,[jt.ArrowClosed]:eh};function nh(e){const n=c,t=ke();return D[n(476)](()=>{const o=n;return Object[o(578)][o(1697)][o(1225)](Za,e)?Za[e]:(t[o(1560)]()[o(886)]?.(o(1062),Ke[o(2139)](e)),null)},[e])}const th=({id:e,type:n,color:t,width:x=12.5,height:o=12.5,markerUnits:r=c(1817),strokeWidth:i,orient:a=c(1521)})=>{const d=c,s=nh(n);return s?l[d(662)](d(1195),{className:d(500),id:e,markerWidth:""+x,markerHeight:""+o,viewBox:d(1463),markerUnits:r,orient:a,refX:"0",refY:"0",children:l[d(662)](s,{color:t,strokeWidth:i})}):null},Ra=({defaultColor:e,rfId:n})=>{const t=c,x=Ce(i=>i[t(530)]),o=Ce(i=>i[t(2004)]),r=D[t(476)](()=>{const i=t;return o2(x,{id:n,defaultColor:e,defaultMarkerStart:o?.[i(1939)],defaultMarkerEnd:o?.[i(573)]})},[x,o,n,e]);return r[t(2062)]?l[t(662)](t(1921),{className:t(1849),"aria-hidden":t(807),children:l[t(662)](t(1742),{children:r.map(i=>l[t(662)](th,{id:i.id,type:i[t(1721)],color:i.color,width:i.width,height:i.height,markerUnits:i.markerUnits,strokeWidth:i[t(1817)],orient:i[t(1322)]},i.id))})}):null};Ra.displayName=c(2025);var xh=D[c(1707)](Ra);function Ja({x:e,y:n,label:t,labelStyle:x,labelShowBg:o=!0,labelBgStyle:r,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:d,className:s,...f}){const u=c,[y,h]=D[u(744)]({x:1,y:0,width:0,height:0}),w=je(["react-flow__edge-textwrapper",s]),g=D.useRef(null);return D.useEffect(()=>{const p=u;if(g.current){const b=g[p(515)].getBBox();h({x:b.x,y:b.y,width:b.width,height:b[p(1945)]})}},[t]),t?l[u(1304)]("g",{transform:u(549)+(e-y.width/2)+" "+(n-y[u(1945)]/2)+")",className:w,visibility:y[u(1088)]?u(1065):u(1409),...f,children:[o&&l.jsx(u(1204),{width:y[u(1088)]+2*i[0],x:-i[0],y:-i[1],height:y[u(1945)]+2*i[1],className:u(946),style:r,rx:a,ry:a}),l[u(662)]("text",{className:u(945),y:y[u(1945)]/2,dy:"0.3em",ref:g,style:x,children:t}),d]}):null}Ja.displayName=c(2119);const oh=D[c(1707)](Ja);function Rt({path:e,labelX:n,labelY:t,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d,interactionWidth:s=20,...f}){const u=c;return l[u(1304)](l[u(1907)],{children:[l[u(662)](u(555),{...f,d:e,fill:u(1316),className:je(["react-flow__edge-path",f[u(2177)]])}),s?l.jsx("path",{d:e,fill:u(1316),strokeOpacity:0,strokeWidth:s,className:"react-flow__edge-interaction"}):null,x&&e0(n)&&e0(t)?l[u(662)](oh,{x:n,y:t,label:x,labelStyle:o,labelShowBg:r,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:d}):null]})}function _a({pos:e,x1:n,y1:t,x2:x,y2:o}){const r=c;return e===ue[r(1493)]||e===ue[r(810)]?[.5*(n+x),t]:[n,.5*(t+o)]}function Fa({sourceX:e,sourceY:n,sourcePosition:t=ue[c(569)],targetX:x,targetY:o,targetPosition:r=ue.Top}){const[i,a]=_a({pos:t,x1:e,y1:n,x2:x,y2:o}),[d,s]=_a({pos:r,x1:x,y1:o,x2:e,y2:n}),[f,u,y,h]=Ui({sourceX:e,sourceY:n,targetX:x,targetY:o,sourceControlX:i,sourceControlY:a,targetControlX:d,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+d+","+s+" "+x+","+o,f,u,y,h]}function Qa(e){const n=c;return D[n(1707)](({id:t,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:w,style:g,markerEnd:p,markerStart:b,interactionWidth:z})=>{const m=n,[v,M,I]=Fa({sourceX:x,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:d}),E=e.isInternal?void 0:t;return l[m(662)](Rt,{id:E,path:v,labelX:M,labelY:I,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:w,style:g,markerEnd:p,markerStart:b,interactionWidth:z})})}const rh=Qa({isInternal:!1}),$a=Qa({isInternal:!0});rh[c(1108)]=c(1976),$a[c(1108)]=c(1912);function ec(e){const n=c;return D[n(1707)](({id:t,sourceX:x,sourceY:o,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:y,style:h,sourcePosition:w=ue.Bottom,targetPosition:g=ue[n(482)],markerEnd:p,markerStart:b,pathOptions:z,interactionWidth:m})=>{const v=n,[M,I,E]=Jx({sourceX:x,sourceY:o,sourcePosition:w,targetX:r,targetY:i,targetPosition:g,borderRadius:z?.[v(1818)],offset:z?.offset,stepPosition:z?.[v(1970)]}),G=e[v(1975)]?void 0:t;return l.jsx(Rt,{id:G,path:M,labelX:I,labelY:E,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:y,style:h,markerEnd:p,markerStart:b,interactionWidth:m})})}const nc=ec({isInternal:!1}),tc=ec({isInternal:!0});nc[c(1108)]=c(538),tc[c(1108)]=c(1365);function xc(e){const n=c;return D[n(1707)](({id:t,...x})=>{const o=n,r=e[o(1975)]?void 0:t;return l.jsx(nc,{...x,id:r,pathOptions:D[o(476)](()=>({borderRadius:0,offset:x.pathOptions?.offset}),[x.pathOptions?.[o(703)]])})})}const ih=xc({isInternal:!1}),oc=xc({isInternal:!0});ih[c(1108)]=c(1356),oc[c(1108)]="StepEdgeInternal";function rc(e){const n=c;return D[n(1707)](({id:t,sourceX:x,sourceY:o,targetX:r,targetY:i,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:y,style:h,markerEnd:w,markerStart:g,interactionWidth:p})=>{const b=n,[z,m,v]=Vi({sourceX:x,sourceY:o,targetX:r,targetY:i}),M=e[b(1975)]?void 0:t;return l[b(662)](Rt,{id:M,path:z,labelX:m,labelY:v,label:a,labelStyle:d,labelShowBg:s,labelBgStyle:f,labelBgPadding:u,labelBgBorderRadius:y,style:h,markerEnd:w,markerStart:g,interactionWidth:p})})}const ah=rc({isInternal:!1}),ic=rc({isInternal:!0});ah[c(1108)]=c(1042),ic[c(1108)]="StraightEdgeInternal";function ac(e){const n=c;return D.memo(({id:t,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a=ue[n(569)],targetPosition:d=ue.Top,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:w,style:g,markerEnd:p,markerStart:b,pathOptions:z,interactionWidth:m})=>{const v=n,[M,I,E]=Gi({sourceX:x,sourceY:o,sourcePosition:a,targetX:r,targetY:i,targetPosition:d,curvature:z?.[v(404)]}),G=e[v(1975)]?void 0:t;return l.jsx(Rt,{id:G,path:M,labelX:I,labelY:E,label:s,labelStyle:f,labelShowBg:u,labelBgStyle:y,labelBgPadding:h,labelBgBorderRadius:w,style:g,markerEnd:p,markerStart:b,interactionWidth:m})})}const ch=ac({isInternal:!1}),cc=ac({isInternal:!0});ch[c(1108)]=c(1574),cc[c(1108)]=c(459);const sc={default:cc,straight:ic,step:oc,smoothstep:tc,simplebezier:$a},lc={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},sh=(e,n,t)=>{const x=c;return t===ue.Left?e-n:t===ue[x(810)]?e+n:e},lh=(e,n,t)=>{const x=c;return t===ue.Top?e-n:t===ue[x(569)]?e+n:e},dc=c(718);function uc({position:e,centerX:n,centerY:t,radius:x=10,onMouseDown:o,onMouseEnter:r,onMouseOut:i,type:a}){const d=c;return l.jsx(d(1619),{onMouseDown:o,onMouseEnter:r,onMouseOut:i,className:je([dc,dc+"-"+a]),cx:sh(n,x,e),cy:lh(t,x,e),r:x,stroke:d(1913),fill:d(1913)})}function dh({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:x,sourceY:o,targetX:r,targetY:i,sourcePosition:a,targetPosition:d,onReconnect:s,onReconnectStart:f,onReconnectEnd:u,setReconnecting:y,setUpdateHover:h}){const w=c,g=ke(),p=(M,I)=>{const E=_0xa8e1;if(M[E(1295)]!==0)return;const{autoPanOnConnect:G,domNode:O,connectionMode:U,connectionRadius:F,lib:X,onConnectStart:W,cancelConnection:T,nodeLookup:N,rfId:L,panBy:B,updateConnection:A}=g[E(1560)](),P=I[E(1721)]==="target",j=(_,Q)=>{const te=E;y(!1),u?.(_,t,I[te(1721)],Q)},Z=_=>s?.(t,_),R=(_,Q)=>{const te=E;y(!0),f?.(M,t,I[te(1721)]),W?.(_,Q)};oo[E(1283)](M[E(1690)],{autoPanOnConnect:G,connectionMode:U,connectionRadius:F,domNode:O,handleId:I.id,nodeId:I[E(1589)],nodeLookup:N,isTarget:P,edgeUpdaterType:I.type,lib:X,flowId:L,cancelConnection:T,panBy:B,isValidConnection:(..._)=>g[E(1560)]()[E(1535)]?.(..._)??!0,onConnect:Z,onConnectStart:R,onConnectEnd:(..._)=>g[E(1560)]()[E(1257)]?.(..._),onReconnectEnd:j,updateConnection:A,getTransform:()=>g.getState()[E(1558)],getFromHandle:()=>g[E(1560)]()[E(1456)][E(980)],dragThreshold:g.getState()[E(1803)],handleDomNode:M.currentTarget})},b=M=>p(M,{nodeId:t.target,id:t[w(1580)]??null,type:w(854)}),z=M=>p(M,{nodeId:t[w(1413)],id:t.sourceHandle??null,type:w(1413)}),m=()=>h(!0),v=()=>h(!1);return l.jsxs(l.Fragment,{children:[(e===!0||e===w(1413))&&l[w(662)](uc,{position:a,centerX:x,centerY:o,radius:n,onMouseDown:b,onMouseEnter:m,onMouseOut:v,type:w(1413)}),(e===!0||e===w(854))&&l[w(662)](uc,{position:d,centerX:r,centerY:i,radius:n,onMouseDown:z,onMouseEnter:m,onMouseOut:v,type:"target"})]})}function uh({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:x,onClick:o,onDoubleClick:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,reconnectRadius:f,onReconnect:u,onReconnectStart:y,onReconnectEnd:h,rfId:w,edgeTypes:g,noPanClassName:p,onError:b,disableKeyboardA11y:z}){const m=c;let v=Ce(S=>S[m(614)][m(834)](e));const M=Ce(S=>S[m(2004)]);v=M?{...M,...v}:v;let I=v[m(1721)]||m(1170),E=g?.[I]||sc[I];E===void 0&&(b?.("011",Ke[m(672)](I)),I=m(1170),E=g?.[m(1170)]||sc[m(1170)]);const G=!!(v[m(2060)]||n&&typeof v.focusable===m(910)),O=typeof u!==m(910)&&(v[m(2109)]||t&&typeof v[m(2109)]===m(910)),U=!!(v[m(1776)]||x&&typeof v[m(1776)]===m(910)),F=D[m(649)](null),[X,W]=D[m(744)](!1),[T,N]=D[m(744)](!1),L=ke(),{zIndex:B,sourceX:A,sourceY:P,targetX:j,targetY:Z,sourcePosition:R,targetPosition:_}=Ce(D[m(983)](S=>{const q=m,K=S[q(700)][q(834)](v[q(1413)]),V=S[q(700)][q(834)](v[q(854)]);if(!K||!V)return{zIndex:v[q(1383)],...lc};const ae=x2({id:e,sourceNode:K,targetNode:V,sourceHandle:v.sourceHandle||null,targetHandle:v[q(1580)]||null,connectionMode:S[q(1423)],onError:b});return{zIndex:_f({selected:v[q(509)],zIndex:v[q(1383)],sourceNode:K,targetNode:V,elevateOnSelect:S[q(1097)],zIndexMode:S[q(1376)]}),...ae||lc}},[v[m(1413)],v[m(854)],v[m(1241)],v[m(1580)],v[m(509)],v.zIndex]),Se),Q=D.useMemo(()=>v[m(1939)]?m(685)+_x(v.markerStart,w)+"')":void 0,[v[m(1939)],w]),te=D[m(476)](()=>v[m(573)]?m(685)+_x(v.markerEnd,w)+"')":void 0,[v[m(573)],w]);if(v.hidden||A===null||P===null||j===null||Z===null)return null;const ce=S=>{const q=m,{addSelectedEdges:K,unselectNodesAndEdges:V,multiSelectionActive:ae}=L[q(1560)]();U&&(L[q(860)]({nodesSelectionActive:!1}),v.selected&&ae?(V({nodes:[],edges:[v]}),F[q(515)]?.blur()):K([e])),o&&o(S,v)},$=r?S=>{r(S,{...v})}:void 0,se=i?S=>{i(S,{...v})}:void 0,xe=a?S=>{a(S,{...v})}:void 0,oe=d?S=>{d(S,{...v})}:void 0,ie=s?S=>{s(S,{...v})}:void 0,k=S=>{const q=m;if(!z&&mi[q(545)](S[q(438)])&&U){const{unselectNodesAndEdges:K,addSelectedEdges:V}=L[q(1560)]();S[q(438)]===q(1959)?(F.current?.[q(2047)](),K({edges:[v]})):V([e])}};return l[m(662)](m(1921),{style:{zIndex:B},children:l[m(1304)]("g",{className:je([m(624),m(1011)+I,v[m(2177)],p,{selected:v[m(509)],animated:v[m(1353)],inactive:!U&&!o,updating:X,selectable:U}]),onClick:ce,onDoubleClick:$,onContextMenu:se,onMouseEnter:xe,onMouseMove:oe,onMouseLeave:ie,onKeyDown:G?k:void 0,tabIndex:G?0:void 0,role:v[m(1794)]??(G?"group":m(1101)),"aria-roledescription":m(1938),"data-id":e,"data-testid":"rf__edge-"+e,"aria-label":v[m(1569)]===null?void 0:v[m(1569)]||m(1949)+v[m(1413)]+m(935)+v.target,"aria-describedby":G?za+"-"+w:void 0,ref:F,...v[m(1126)],children:[!T&&l.jsx(E,{id:e,source:v[m(1413)],target:v[m(854)],type:v.type,selected:v[m(509)],animated:v[m(1353)],selectable:U,deletable:v[m(949)]??!0,label:v.label,labelStyle:v[m(1862)],labelShowBg:v[m(1729)],labelBgStyle:v[m(564)],labelBgPadding:v[m(956)],labelBgBorderRadius:v[m(1331)],sourceX:A,sourceY:P,targetX:j,targetY:Z,sourcePosition:R,targetPosition:_,data:v[m(618)],style:v[m(752)],sourceHandleId:v[m(1241)],targetHandleId:v.targetHandle,markerStart:Q,markerEnd:te,pathOptions:m(1799)in v?v.pathOptions:void 0,interactionWidth:v[m(1908)]}),O&&l[m(662)](dh,{edge:v,isReconnectable:O,reconnectRadius:f,onReconnect:u,onReconnectStart:y,onReconnectEnd:h,sourceX:A,sourceY:P,targetX:j,targetY:Z,sourcePosition:R,targetPosition:_,setUpdateHover:W,setReconnecting:N})]})})}var fh=D[c(1707)](uh);const hh=e=>({edgesFocusable:e[c(765)],edgesReconnectable:e[c(1150)],elementsSelectable:e[c(1786)],connectionMode:e[c(1423)],onError:e.onError});function fc({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:x,noPanClassName:o,onReconnect:r,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:d,onEdgeMouseLeave:s,onEdgeClick:f,reconnectRadius:u,onEdgeDoubleClick:y,onReconnectStart:h,onReconnectEnd:w,disableKeyboardA11y:g}){const p=c,{edgesFocusable:b,edgesReconnectable:z,elementsSelectable:m,onError:v}=Ce(hh,Se),M=Q5(n);return l[p(1304)](p(1861),{className:"react-flow__edges",children:[l.jsx(xh,{defaultColor:e,rfId:t}),M[p(1008)](I=>l[p(662)](fh,{id:I,edgesFocusable:b,edgesReconnectable:z,elementsSelectable:m,noPanClassName:o,onReconnect:r,onContextMenu:i,onMouseEnter:a,onMouseMove:d,onMouseLeave:s,onClick:f,reconnectRadius:u,onDoubleClick:y,onReconnectStart:h,onReconnectEnd:w,rfId:t,onError:v,edgeTypes:x,disableKeyboardA11y:g},I))]})}fc[c(1108)]="EdgeRenderer";const gh=D[c(1707)](fc),yh=e=>c(549)+e[c(1558)][0]+c(932)+e.transform[1]+"px) scale("+e[c(1558)][2]+")";function mh({children:e}){const n=c,t=Ce(yh);return l[n(662)](n(1861),{className:n(1767),style:{transform:t},children:e})}function wh(e){const n=c,t=fo(),x=D.useRef(!1);D.useEffect(()=>{const o=_0xa8e1;!x[o(515)]&&t[o(560)]&&e&&(setTimeout(()=>e(t),1),x[o(515)]=!0)},[e,t[n(560)]])}const vh=e=>e.panZoom?.syncViewport;function ph(e){const n=Ce(vh),t=ke();return D.useEffect(()=>{const x=_0xa8e1;e&&(n?.(e),t.setState({transform:[e.x,e.y,e[x(1068)]]}))},[e,n]),null}function bh(e){const n=c;return e[n(1456)][n(1644)]?{...e.connection,to:Xn(e[n(1456)].to,e.transform)}:{...e[n(1456)]}}function zh(e){return bh}function Ch(e){const n=zh();return Ce(n,Se)}const Mh=e=>({nodesConnectable:e[c(1731)],isValid:e.connection[c(1095)],inProgress:e.connection.inProgress,width:e.width,height:e[c(1945)]});function Bh({containerStyle:e,style:n,type:t,component:x}){const o=c,{nodesConnectable:r,width:i,height:a,isValid:d,inProgress:s}=Ce(Mh,Se);return!(i&&r&&s)?null:l.jsx("svg",{style:e,width:i,height:a,className:o(1997),children:l[o(662)]("g",{className:je([o(1221),bi(d)]),children:l[o(662)](hc,{style:n,type:t,CustomComponent:x,isValid:d})})})}const hc=({style:e,type:n=b0[c(1158)],CustomComponent:t,isValid:x})=>{const o=c,{inProgress:r,from:i,fromNode:a,fromHandle:d,fromPosition:s,to:f,toNode:u,toHandle:y,toPosition:h,pointer:w}=Ch();if(!r)return;if(t)return l[o(662)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:d,fromX:i.x,fromY:i.y,toX:f.x,toY:f.y,fromPosition:s,toPosition:h,connectionStatus:bi(x),toNode:u,toHandle:y,pointer:w});let g="";const p={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:f.x,targetY:f.y,targetPosition:h};switch(n){case b0[o(1158)]:[g]=Gi(p);break;case b0.SimpleBezier:[g]=Fa(p);break;case b0[o(1605)]:[g]=Jx({...p,borderRadius:0});break;case b0[o(771)]:[g]=Jx(p);break;default:[g]=Vi(p)}return l[o(662)]("path",{d:g,fill:"none",className:o(1430),style:e})};hc.displayName=c(554);const Dh={};function gc(e=Dh){const n=c,t=D[n(649)](e),x=ke();D[n(433)](()=>{const o=n;if(process.env.NODE_ENV===o(667)){const r=new Set([...Object[o(785)](t[o(515)]),...Object[o(785)](e)]);for(const i of r)if(t.current[i]!==e[i]){x.getState()[o(886)]?.(o(873),Ke.error002());break}t[o(515)]=e}},[e])}function Lh(){const e=c,n=ke(),t=D[e(649)](!1);D[e(433)](()=>{const x=e;if(process.env.NODE_ENV===x(667)&&!t[x(515)]){const o=document[x(954)](x(966));o&&window[x(1516)](o)[x(1383)]!=="1"&&n.getState().onError?.("013",Ke[x(1631)](x(1096))),t.current=!0}},[])}function yc({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:x,onEdgeClick:o,onNodeDoubleClick:r,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:f,onSelectionContextMenu:u,onSelectionStart:y,onSelectionEnd:h,connectionLineType:w,connectionLineStyle:g,connectionLineComponent:p,connectionLineContainerStyle:b,selectionKeyCode:z,selectionOnDrag:m,selectionMode:v,multiSelectionKeyCode:M,panActivationKeyCode:I,zoomActivationKeyCode:E,deleteKeyCode:G,onlyRenderVisibleElements:O,elementsSelectable:U,defaultViewport:F,translateExtent:X,minZoom:W,maxZoom:T,preventScrolling:N,defaultMarkerColor:L,zoomOnScroll:B,zoomOnPinch:A,panOnScroll:P,panOnScrollSpeed:j,panOnScrollMode:Z,zoomOnDoubleClick:R,panOnDrag:_,onPaneClick:Q,onPaneMouseEnter:te,onPaneMouseMove:ce,onPaneMouseLeave:$,onPaneScroll:se,onPaneContextMenu:xe,paneClickDistance:oe,nodeClickDistance:ie,onEdgeContextMenu:k,onEdgeMouseEnter:S,onEdgeMouseMove:q,onEdgeMouseLeave:K,reconnectRadius:V,onReconnect:ae,onReconnectStart:ge,onReconnectEnd:me,noDragClassName:he,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:Me,nodeExtent:De,rfId:Oe,viewport:Ye,onViewportChange:Je}){const Pe=c;return gc(e),gc(n),Lh(),wh(t),ph(Ye),l.jsx(V5,{onPaneClick:Q,onPaneMouseEnter:te,onPaneMouseMove:ce,onPaneMouseLeave:$,onPaneContextMenu:xe,onPaneScroll:se,paneClickDistance:oe,deleteKeyCode:G,selectionKeyCode:z,selectionOnDrag:m,selectionMode:v,onSelectionStart:y,onSelectionEnd:h,multiSelectionKeyCode:M,panActivationKeyCode:I,zoomActivationKeyCode:E,elementsSelectable:U,zoomOnScroll:B,zoomOnPinch:A,zoomOnDoubleClick:R,panOnScroll:P,panOnScrollSpeed:j,panOnScrollMode:Z,panOnDrag:_,defaultViewport:F,translateExtent:X,minZoom:W,maxZoom:T,onSelectionContextMenu:u,preventScrolling:N,noDragClassName:he,noWheelClassName:ve,noPanClassName:Ne,disableKeyboardA11y:Me,onViewportChange:Je,isControlledViewport:!!Ye,children:l[Pe(1304)](mh,{children:[l.jsx(gh,{edgeTypes:n,onEdgeClick:o,onEdgeDoubleClick:i,onReconnect:ae,onReconnectStart:ge,onReconnectEnd:me,onlyRenderVisibleElements:O,onEdgeContextMenu:k,onEdgeMouseEnter:S,onEdgeMouseMove:q,onEdgeMouseLeave:K,reconnectRadius:V,defaultMarkerColor:L,noPanClassName:Ne,disableKeyboardA11y:Me,rfId:Oe}),l[Pe(662)](Bh,{style:g,type:w,component:p,containerStyle:b}),l[Pe(662)](Pe(1861),{className:Pe(1506)}),l[Pe(662)](F5,{nodeTypes:e,onNodeClick:x,onNodeDoubleClick:r,onNodeMouseEnter:a,onNodeMouseMove:d,onNodeMouseLeave:s,onNodeContextMenu:f,nodeClickDistance:ie,onlyRenderVisibleElements:O,noPanClassName:Ne,noDragClassName:he,disableKeyboardA11y:Me,nodeExtent:De,rfId:Oe}),l.jsx(Pe(1861),{className:"react-flow__viewport-portal"})]})})}yc[c(1108)]=c(447);const Nh=D[c(1707)](yc),mc=({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d=.5,maxZoom:s=2,nodeOrigin:f,nodeExtent:u,zIndexMode:y=c(2154)}={})=>{const h=c,w=new Map,g=new Map,p=new Map,b=new Map,z=x??n??[],m=t??e??[],v=f??[0,0],M=u??Gn;Fi(p,b,z);const{nodesInitialized:I}=eo(m,w,g,{nodeOrigin:v,nodeExtent:M,zIndexMode:y});let E=[0,0,1];if(i&&o&&r){const G=Vn(w,{filter:X=>!!((X[h(1088)]||X[h(1381)])&&(X.height||X[h(870)]))}),{x:O,y:U,zoom:F}=Zx(G,o,r,d,s,a?.[h(813)]??.1);E=[O,U,F]}return{rfId:"1",width:o??0,height:r??0,transform:E,nodes:m,nodesInitialized:I,nodeLookup:w,parentLookup:g,edges:z,edgeLookup:b,connectionLookup:p,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:x!==void 0,panZoom:null,minZoom:d,maxZoom:s,translateExtent:Gn,nodeExtent:M,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:an[h(1352)],domNode:null,paneDragging:!1,noPanClassName:h(1384),nodeOrigin:v,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:i??!1,fitViewOptions:a,fitViewResolver:null,connection:{...vi},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Si,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:h(1096),debug:!1,ariaLabelConfig:wi,zIndexMode:y,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},Sh=({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:f,nodeExtent:u,zIndexMode:y})=>R2((h,w)=>{async function g(){const p=_0xa8e1,{nodeLookup:b,panZoom:z,fitViewOptions:m,fitViewResolver:v,width:M,height:I,minZoom:E,maxZoom:G}=w();z&&(await qf({nodes:b,width:M,height:I,panZoom:z,minZoom:E,maxZoom:G},m),v?.[p(777)](!0),h({fitViewResolver:null}))}return{...mc({nodes:e,edges:n,width:o,height:r,fitView:i,fitViewOptions:a,minZoom:d,maxZoom:s,nodeOrigin:f,nodeExtent:u,defaultNodes:t,defaultEdges:x,zIndexMode:y}),setNodes:p=>{const{nodeLookup:b,parentLookup:z,nodeOrigin:m,elevateNodesOnSelect:v,fitViewQueued:M,zIndexMode:I,nodesSelectionActive:E}=w(),{nodesInitialized:G,hasSelectedNodes:O}=eo(p,b,z,{nodeOrigin:m,nodeExtent:u,elevateNodesOnSelect:v,checkEquality:!0,zIndexMode:I}),U=E&&O;M&&G?(g(),h({nodes:p,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:U})):h({nodes:p,nodesInitialized:G,nodesSelectionActive:U})},setEdges:p=>{const{connectionLookup:b,edgeLookup:z}=w();Fi(b,z,p),h({edges:p})},setDefaultNodesAndEdges:(p,b)=>{if(p){const{setNodes:z}=w();z(p),h({hasDefaultNodes:!0})}if(b){const{setEdges:z}=w();z(b),h({hasDefaultEdges:!0})}},updateNodeInternals:p=>{const b=_0xa8e1,{triggerNodeChanges:z,nodeLookup:m,parentLookup:v,domNode:M,nodeOrigin:I,nodeExtent:E,debug:G,fitViewQueued:O,zIndexMode:U}=w(),{changes:F,updatedInternals:X}=d2(p,m,v,M,I,E,U);X&&(a2(m,v,{nodeOrigin:I,nodeExtent:E,zIndexMode:U}),O?(g(),h({fitViewQueued:!1,fitViewOptions:void 0})):h({}),F?.length>0&&(G&&console[b(833)](b(1220),F),z?.(F)))},updateNodePositions:(p,b=!1)=>{const z=_0xa8e1,m=[];let v=[];const{nodeLookup:M,triggerNodeChanges:I,connection:E,updateConnection:G,onNodesChangeMiddlewareMap:O}=w();for(const[U,F]of p){const X=M.get(U),W=!!(X?.expandParent&&X?.[z(611)]&&F?.[z(1781)]),T={id:U,type:z(1781),position:W?{x:Math.max(0,F[z(1781)].x),y:Math.max(0,F[z(1781)].y)}:F[z(1781)],dragging:b};if(X&&E[z(1644)]&&E[z(563)].id===X.id){const N=G0(X,E.fromHandle,ue[z(1493)],!0);G({...E,from:N})}W&&X.parentId&&m[z(541)]({id:U,parentId:X[z(611)],rect:{...F.internals.positionAbsolute,width:F.measured[z(1088)]??0,height:F[z(974)].height??0}}),v[z(541)](T)}if(m[z(2062)]>0){const{parentLookup:U,nodeOrigin:F}=w(),X=to(m,M,U,F);v[z(541)](...X)}for(const U of O[z(1328)]())v=U(v);I(v)},triggerNodeChanges:p=>{const b=_0xa8e1,{onNodesChange:z,setNodes:m,nodes:v,hasDefaultNodes:M,debug:I}=w();if(p?.[b(2062)]){if(M){const E=Pa(p,v);m(E)}I&&console[b(833)](b(1220),p),z?.(p)}},triggerEdgeChanges:p=>{const b=_0xa8e1,{onEdgesChange:z,setEdges:m,edges:v,hasDefaultEdges:M,debug:I}=w();if(p?.[b(2062)]){if(M){const E=Ia(p,v);m(E)}I&&console[b(833)]("React Flow: trigger edge changes",p),z?.(p)}},addSelectedNodes:p=>{const b=_0xa8e1,{multiSelectionActive:z,edgeLookup:m,nodeLookup:v,triggerNodeChanges:M,triggerEdgeChanges:I}=w();if(z){const E=p[b(1008)](G=>H0(G,!0));M(E);return}M(hn(v,new Set([...p]),!0)),I(hn(m))},addSelectedEdges:p=>{const b=_0xa8e1,{multiSelectionActive:z,edgeLookup:m,nodeLookup:v,triggerNodeChanges:M,triggerEdgeChanges:I}=w();if(z){const E=p[b(1008)](G=>H0(G,!0));I(E);return}I(hn(m,new Set([...p]))),M(hn(v,new Set,!0))},unselectNodesAndEdges:({nodes:p,edges:b}={})=>{const z=_0xa8e1,{edges:m,nodes:v,nodeLookup:M,triggerNodeChanges:I,triggerEdgeChanges:E}=w(),G=p||v,O=b||m,U=[];for(const X of G){if(!X.selected)continue;const W=M[z(834)](X.id);W&&(W.selected=!1),U[z(541)](H0(X.id,!1))}const F=[];for(const X of O)X[z(509)]&&F[z(541)](H0(X.id,!1));I(U),E(F)},setMinZoom:p=>{const{panZoom:b,maxZoom:z}=w();b?.setScaleExtent([p,z]),h({minZoom:p})},setMaxZoom:p=>{const b=_0xa8e1,{panZoom:z,minZoom:m}=w();z?.[b(1500)]([m,p]),h({maxZoom:p})},setTranslateExtent:p=>{const b=_0xa8e1;w().panZoom?.[b(1433)](p),h({translateExtent:p})},resetSelectedElements:()=>{const p=_0xa8e1,{edges:b,nodes:z,triggerNodeChanges:m,triggerEdgeChanges:v,elementsSelectable:M}=w();if(!M)return;const I=z[p(1745)]((G,O)=>O.selected?[...G,H0(O.id,!1)]:G,[]),E=b[p(1745)]((G,O)=>O[p(509)]?[...G,H0(O.id,!1)]:G,[]);m(I),v(E)},setNodeExtent:p=>{const{nodes:b,nodeLookup:z,parentLookup:m,nodeOrigin:v,elevateNodesOnSelect:M,nodeExtent:I,zIndexMode:E}=w();p[0][0]===I[0][0]&&p[0][1]===I[0][1]&&p[1][0]===I[1][0]&&p[1][1]===I[1][1]||(eo(b,z,m,{nodeOrigin:v,nodeExtent:p,elevateNodesOnSelect:M,checkEquality:!1,zIndexMode:E}),h({nodeExtent:p}))},panBy:p=>{const{transform:b,width:z,height:m,panZoom:v,translateExtent:M}=w();return u2({delta:p,panZoom:v,transform:b,translateExtent:M,width:z,height:m})},setCenter:async(p,b,z)=>{const m=_0xa8e1,{width:v,height:M,maxZoom:I,panZoom:E}=w();if(!E)return Promise[m(777)](!1);const G=typeof z?.[m(1068)]!==m(910)?z[m(1068)]:I;return await E[m(961)]({x:v/2-p*G,y:M/2-b*G,zoom:G},{duration:z?.[m(405)],ease:z?.[m(1543)],interpolate:z?.[m(1452)]}),Promise[m(777)](!0)},cancelConnection:()=>{h({connection:{...vi}})},updateConnection:p=>{h({connection:p})},reset:()=>h({...mc()})}},Object.is);function kh({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:x,initialWidth:o,initialHeight:r,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:d,fitView:s,nodeOrigin:f,nodeExtent:u,zIndexMode:y,children:h}){const w=c,[g]=D[w(744)](()=>Sh({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:o,height:r,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:d,nodeOrigin:f,nodeExtent:u,zIndexMode:y}));return l[w(662)](J2,{value:g,children:l.jsx(m5,{children:h})})}function Ph({children:e,nodes:n,edges:t,defaultNodes:x,defaultEdges:o,width:r,height:i,fitView:a,fitViewOptions:d,minZoom:s,maxZoom:f,nodeOrigin:u,nodeExtent:y,zIndexMode:h}){const w=c;return D[w(1377)](qt)?l[w(662)](l[w(1907)],{children:e}):l[w(662)](kh,{initialNodes:n,initialEdges:t,defaultNodes:x,defaultEdges:o,initialWidth:r,initialHeight:i,fitView:a,initialFitViewOptions:d,initialMinZoom:s,initialMaxZoom:f,nodeOrigin:u,nodeExtent:y,zIndexMode:h,children:e})}const Ih={width:c(1437),height:"100%",overflow:c(1409),position:c(1255),zIndex:0};function jh({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,className:o,nodeTypes:r,edgeTypes:i,onNodeClick:a,onEdgeClick:d,onInit:s,onMove:f,onMoveStart:u,onMoveEnd:y,onConnect:h,onConnectStart:w,onConnectEnd:g,onClickConnectStart:p,onClickConnectEnd:b,onNodeMouseEnter:z,onNodeMouseMove:m,onNodeMouseLeave:v,onNodeContextMenu:M,onNodeDoubleClick:I,onNodeDragStart:E,onNodeDrag:G,onNodeDragStop:O,onNodesDelete:U,onEdgesDelete:F,onDelete:X,onSelectionChange:W,onSelectionDragStart:T,onSelectionDrag:N,onSelectionDragStop:L,onSelectionContextMenu:B,onSelectionStart:A,onSelectionEnd:P,onBeforeDelete:j,connectionMode:Z,connectionLineType:R=b0[c(1158)],connectionLineStyle:_,connectionLineComponent:Q,connectionLineContainerStyle:te,deleteKeyCode:ce=c(1712),selectionKeyCode:$=c(1001),selectionOnDrag:se=!1,selectionMode:xe=Hn.Full,panActivationKeyCode:oe=c(1389),multiSelectionKeyCode:ie=Kn()?c(1218):c(798),zoomActivationKeyCode:k=Kn()?c(1218):"Control",snapToGrid:S,snapGrid:q,onlyRenderVisibleElements:K=!1,selectNodesOnDrag:V,nodesDraggable:ae,autoPanOnNodeFocus:ge,nodesConnectable:me,nodesFocusable:he,nodeOrigin:ve=Ca,edgesFocusable:Ne,edgesReconnectable:Me,elementsSelectable:De=!0,defaultViewport:Oe=c5,minZoom:Ye=.5,maxZoom:Je=2,translateExtent:Pe=Gn,preventScrolling:Te=!0,nodeExtent:h0,defaultMarkerColor:g0=c(393),zoomOnScroll:y0=!0,zoomOnPinch:yn=!0,panOnScroll:T0=!1,panOnScrollSpeed:V0=.5,panOnScrollMode:Ze=U0[c(1490)],zoomOnDoubleClick:D0=!0,panOnDrag:Ge=!0,onPaneClick:m0,onPaneMouseEnter:Ve,onPaneMouseMove:Qt,onPaneMouseLeave:q0,onPaneScroll:W0,onPaneContextMenu:L0,paneClickDistance:X0=1,nodeClickDistance:wo=0,children:vo,onReconnect:po,onReconnectStart:$t,onReconnectEnd:ex,onEdgeContextMenu:nx,onEdgeDoubleClick:tx,onEdgeMouseEnter:xx,onEdgeMouseMove:Jn,onEdgeMouseLeave:K0,reconnectRadius:Z0=10,onNodesChange:bo,onEdgesChange:mn,noDragClassName:ox=c(1312),noWheelClassName:rx=c(1615),noPanClassName:ix="nopan",fitView:ax,fitViewOptions:_n,connectOnClick:cx,attributionPosition:Fn,proOptions:sx,defaultEdgeOptions:Qn,elevateNodesOnSelect:Y=!0,elevateEdgesOnSelect:H=!1,disableKeyboardA11y:ne=!1,autoPanOnConnect:re,autoPanOnNodeDrag:de,autoPanSpeed:J,connectionRadius:ee,isValidConnection:fe,onError:we,style:ye,id:ze,nodeDragThreshold:Be,connectionDragThreshold:Le,viewport:Ue,onViewportChange:a0,width:N0,height:w0,colorMode:wn=c(1242),debug:R0,onScroll:jc,ariaLabelConfig:Ig,zIndexMode:Ac="basic",...jg},Ag){const t0=c,zo=ze||"1",Eg=u5(wn),Yg=D[t0(983)](Ec=>{const Co=t0;Ec[Co(1179)][Co(1373)]({top:0,left:0,behavior:Co(1969)}),jc?.(Ec)},[jc]);return l[t0(662)](t0(1861),{"data-testid":t0(1951),...jg,onScroll:Yg,style:{...ye,...Ih},ref:Ag,className:je([t0(1183),o,Eg]),id:ze,role:t0(2036),children:l[t0(1304)](Ph,{nodes:e,edges:n,width:N0,height:w0,fitView:ax,fitViewOptions:_n,minZoom:Ye,maxZoom:Je,nodeOrigin:ve,nodeExtent:h0,zIndexMode:Ac,children:[l[t0(662)](d5,{nodes:e,edges:n,defaultNodes:t,defaultEdges:x,onConnect:h,onConnectStart:w,onConnectEnd:g,onClickConnectStart:p,onClickConnectEnd:b,nodesDraggable:ae,autoPanOnNodeFocus:ge,nodesConnectable:me,nodesFocusable:he,edgesFocusable:Ne,edgesReconnectable:Me,elementsSelectable:De,elevateNodesOnSelect:Y,elevateEdgesOnSelect:H,minZoom:Ye,maxZoom:Je,nodeExtent:h0,onNodesChange:bo,onEdgesChange:mn,snapToGrid:S,snapGrid:q,connectionMode:Z,translateExtent:Pe,connectOnClick:cx,defaultEdgeOptions:Qn,fitView:ax,fitViewOptions:_n,onNodesDelete:U,onEdgesDelete:F,onDelete:X,onNodeDragStart:E,onNodeDrag:G,onNodeDragStop:O,onSelectionDrag:N,onSelectionDragStart:T,onSelectionDragStop:L,onMove:f,onMoveStart:u,onMoveEnd:y,noPanClassName:ix,nodeOrigin:ve,rfId:zo,autoPanOnConnect:re,autoPanOnNodeDrag:de,autoPanSpeed:J,onError:we,connectionRadius:ee,isValidConnection:fe,selectNodesOnDrag:V,nodeDragThreshold:Be,connectionDragThreshold:Le,onBeforeDelete:j,debug:R0,ariaLabelConfig:Ig,zIndexMode:Ac}),l.jsx(Nh,{onInit:s,onNodeClick:a,onEdgeClick:d,onNodeMouseEnter:z,onNodeMouseMove:m,onNodeMouseLeave:v,onNodeContextMenu:M,onNodeDoubleClick:I,nodeTypes:r,edgeTypes:i,connectionLineType:R,connectionLineStyle:_,connectionLineComponent:Q,connectionLineContainerStyle:te,selectionKeyCode:$,selectionOnDrag:se,selectionMode:xe,deleteKeyCode:ce,multiSelectionKeyCode:ie,panActivationKeyCode:oe,zoomActivationKeyCode:k,onlyRenderVisibleElements:K,defaultViewport:Oe,translateExtent:Pe,minZoom:Ye,maxZoom:Je,preventScrolling:Te,zoomOnScroll:y0,zoomOnPinch:yn,zoomOnDoubleClick:D0,panOnScroll:T0,panOnScrollSpeed:V0,panOnScrollMode:Ze,panOnDrag:Ge,onPaneClick:m0,onPaneMouseEnter:Ve,onPaneMouseMove:Qt,onPaneMouseLeave:q0,onPaneScroll:W0,onPaneContextMenu:L0,paneClickDistance:X0,nodeClickDistance:wo,onSelectionContextMenu:B,onSelectionStart:A,onSelectionEnd:P,onReconnect:po,onReconnectStart:$t,onReconnectEnd:ex,onEdgeContextMenu:nx,onEdgeDoubleClick:tx,onEdgeMouseEnter:xx,onEdgeMouseMove:Jn,onEdgeMouseLeave:K0,reconnectRadius:Z0,defaultMarkerColor:g0,noDragClassName:ox,noWheelClassName:rx,noPanClassName:ix,rfId:zo,disableKeyboardA11y:ne,nodeExtent:h0,viewport:Ue,onViewportChange:a0}),l[t0(662)](a5,{onSelectionChange:W}),vo,l.jsx(t5,{proOptions:sx,position:Fn}),l[t0(662)](n5,{rfId:zo,disableKeyboardA11y:ne})]})})}var Ah=Ya(jh);function Eh(e){const n=c,[t,x]=D.useState(e),o=D[n(983)](r=>x(i=>Pa(r,i)),[]);return[t,x,o]}function Yh(e){const n=c,[t,x]=D[n(744)](e),o=D[n(983)](r=>x(i=>Ia(r,i)),[]);return[t,x,o]}function Uh({dimensions:e,lineWidth:n,variant:t,className:x}){const o=c;return l.jsx(o(555),{strokeWidth:n,d:"M"+e[0]/2+o(1853)+e[1]+" M0 "+e[1]/2+" H"+e[0],className:je([o(2035),t,x])})}function Oh({radius:e,className:n}){const t=c;return l.jsx("circle",{cx:e,cy:e,r:e,className:je([t(2035),t(695),n])})}var M0;(function(e){const n=c;e[n(1089)]=n(2175),e[n(2116)]="dots",e[n(1418)]=n(1149)})(M0||(M0={}));const Gh={[M0[c(2116)]]:1,[M0[c(1089)]]:1,[M0[c(1418)]]:6},Hh=e=>({transform:e[c(1558)],patternId:c(616)+e[c(1593)]});function wc({id:e,variant:n=M0[c(2116)],gap:t=20,size:x,lineWidth:o=1,offset:r=0,color:i,bgColor:a,style:d,className:s,patternClassName:f}){const u=c,y=D[u(649)](null),{transform:h,patternId:w}=Ce(Hh,Se),g=x||Gh[n],p=n===M0[u(2116)],b=n===M0[u(1418)],z=Array[u(738)](t)?t:[t,t],m=[z[0]*h[2]||1,z[1]*h[2]||1],v=g*h[2],M=Array[u(738)](r)?r:[r,r],I=b?[v,v]:m,E=[M[0]*h[2]||1+I[0]/2,M[1]*h[2]||1+I[1]/2],G=""+w+(e||"");return l[u(1304)](u(1921),{className:je([u(791),s]),style:{...d,...Kt,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:y,"data-testid":u(1189),children:[l.jsx(u(1464),{id:G,x:h[0]%m[0],y:h[1]%m[1],width:m[0],height:m[1],patternUnits:u(1054),patternTransform:"translate(-"+E[0]+",-"+E[1]+")",children:p?l.jsx(Oh,{radius:v/2,className:f}):l[u(662)](Uh,{dimensions:I,lineWidth:o,variant:n,className:f})}),l[u(662)](u(1204),{x:"0",y:"0",width:"100%",height:u(1437),fill:"url(#"+G+")"})]})}wc[c(1108)]=c(443);const Th=D[c(1707)](wc);function Vh(){const e=c;return l[e(662)](e(1921),{xmlns:e(1492),viewBox:e(808),children:l[e(662)]("path",{d:e(1369)})})}function qh(){const e=c;return l[e(662)](e(1921),{xmlns:e(1492),viewBox:"0 0 32 5",children:l[e(662)](e(555),{d:e(1109)})})}function Wh(){const e=c;return l[e(662)](e(1921),{xmlns:e(1492),viewBox:"0 0 32 30",children:l[e(662)](e(555),{d:e(846)})})}function Xh(){const e=c;return l.jsx(e(1921),{xmlns:e(1492),viewBox:e(1342),children:l[e(662)](e(555),{d:e(1197)})})}function Kh(){const e=c;return l[e(662)](e(1921),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1342),children:l[e(662)]("path",{d:e(512)})})}function Jt({children:e,className:n,...t}){const x=c;return l.jsx(x(1295),{type:x(1295),className:je([x(1502),n]),...t,children:e})}const Zh=e=>({isInteractive:e[c(2184)]||e[c(1731)]||e[c(1786)],minZoomReached:e[c(1558)][2]<=e[c(1458)],maxZoomReached:e[c(1558)][2]>=e[c(1899)],ariaLabelConfig:e[c(711)]});function vc({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:x=!0,fitViewOptions:o,onZoomIn:r,onZoomOut:i,onFitView:a,onInteractiveChange:d,className:s,children:f,position:u=c(1318),orientation:y="vertical","aria-label":h}){const w=c,g=ke(),{isInteractive:p,minZoomReached:b,maxZoomReached:z,ariaLabelConfig:m}=Ce(Zh,Se),{zoomIn:v,zoomOut:M,fitView:I}=fo(),E=()=>{v(),r?.()},G=()=>{M(),i?.()},O=()=>{I(o),a?.()},U=()=>{g.setState({nodesDraggable:!p,nodesConnectable:!p,elementsSelectable:!p}),d?.(!p)},F=y===w(445)?"horizontal":"vertical";return l.jsxs(Wt,{className:je(["react-flow__controls",F,s]),position:u,style:e,"data-testid":"rf__controls","aria-label":h??m[w(1048)],children:[n&&l[w(1304)](l.Fragment,{children:[l[w(662)](Jt,{onClick:E,className:w(900),title:m[w(1971)],"aria-label":m[w(1971)],disabled:z,children:l[w(662)](Vh,{})}),l.jsx(Jt,{onClick:G,className:w(793),title:m[w(516)],"aria-label":m["controls.zoomOut.ariaLabel"],disabled:b,children:l[w(662)](qh,{})})]}),t&&l[w(662)](Jt,{className:"react-flow__controls-fitview",onClick:O,title:m[w(1311)],"aria-label":m[w(1311)],children:l.jsx(Wh,{})}),x&&l[w(662)](Jt,{className:w(1909),onClick:U,title:m["controls.interactive.ariaLabel"],"aria-label":m[w(914)],children:p?l[w(662)](Kh,{}):l[w(662)](Xh,{})}),f]})}vc[c(1108)]=c(663);const Rh=D[c(1707)](vc);function Jh({id:e,x:n,y:t,width:x,height:o,style:r,color:i,strokeColor:a,strokeWidth:d,className:s,borderRadius:f,shapeRendering:u,selected:y,onClick:h}){const w=c,{background:g,backgroundColor:p}=r||{},b=i||g||p;return l[w(662)](w(1204),{className:je([w(1306),{selected:y},s]),x:n,y:t,rx:f,ry:f,width:x,height:o,style:{fill:b,stroke:a,strokeWidth:d},shapeRendering:u,onClick:h?z=>h(z,e):void 0})}const _h=D.memo(Jh),Fh=e=>e[c(2159)].map(n=>n.id),mo=e=>e instanceof Function?e:()=>e;function Qh({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:x=5,nodeStrokeWidth:o,nodeComponent:r=_h,onClick:i}){const a=c,d=Ce(Fh,Se),s=mo(n),f=mo(e),u=mo(t),y=typeof window===a(910)||window[a(479)]?a(837):"geometricPrecision";return l[a(662)](l[a(1907)],{children:d[a(1008)](h=>l[a(662)](eg,{id:h,nodeColorFunc:s,nodeStrokeColorFunc:f,nodeClassNameFunc:u,nodeBorderRadius:x,nodeStrokeWidth:o,NodeComponent:r,onClick:i,shapeRendering:y},h))})}function $h({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:x,nodeBorderRadius:o,nodeStrokeWidth:r,shapeRendering:i,NodeComponent:a,onClick:d}){const s=c,{node:f,x:u,y,width:h,height:w}=Ce(g=>{const p=_0xa8e1,b=g.nodeLookup.get(e);if(!b)return{node:void 0,x:0,y:0,width:0,height:0};const z=b.internals[p(2115)],{x:m,y:v}=b[p(739)][p(1523)],{width:M,height:I}=f0(z);return{node:z,x:m,y:v,width:M,height:I}},Se);return!f||f[s(1409)]||!ki(f)?null:l[s(662)](a,{x:u,y,width:h,height:w,style:f[s(752)],selected:!!f[s(509)],className:x(f),color:n(f),borderRadius:o,strokeColor:t(f),strokeWidth:r,shapeRendering:i,onClick:d,id:f.id})}const eg=D[c(1707)]($h);var ng=D[c(1707)](Qh);const tg=200,xg=150,og=e=>!e.hidden,rg=e=>{const n=c,t={x:-e[n(1558)][0]/e.transform[2],y:-e[n(1558)][1]/e[n(1558)][2],width:e[n(1088)]/e.transform[2],height:e.height/e[n(1558)][2]};return{viewBB:t,boundingRect:e[n(700)][n(547)]>0?Li(Vn(e[n(700)],{filter:og}),t):t,rfId:e[n(1593)],panZoom:e[n(631)],translateExtent:e.translateExtent,flowWidth:e[n(1088)],flowHeight:e.height,ariaLabelConfig:e.ariaLabelConfig}},ig=c(2097);function pc({style:e,className:n,nodeStrokeColor:t,nodeColor:x,nodeClassName:o="",nodeBorderRadius:r=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:d,maskColor:s,maskStrokeColor:f,maskStrokeWidth:u,position:y=c(920),onClick:h,onNodeClick:w,pannable:g=!1,zoomable:p=!1,ariaLabel:b,inversePan:z,zoomStep:m=1,offsetScale:v=5}){const M=c,I=ke(),E=D[M(649)](null),{boundingRect:G,viewBB:O,rfId:U,panZoom:F,translateExtent:X,flowWidth:W,flowHeight:T,ariaLabelConfig:N}=Ce(rg,Se),L=e?.width??tg,B=e?.height??xg,A=G[M(1088)]/L,P=G[M(1945)]/B,j=Math.max(A,P),Z=j*L,R=j*B,_=v*j,Q=G.x-(Z-G[M(1088)])/2-_,te=G.y-(R-G.height)/2-_,ce=Z+_*2,$=R+_*2,se=ig+"-"+U,xe=D[M(649)](0),oe=D[M(649)]();xe[M(515)]=j,D.useEffect(()=>{const q=M;if(E[q(515)]&&F)return oe[q(515)]=b2({domNode:E[q(515)],panZoom:F,getTransform:()=>I.getState()[q(1558)],getViewScale:()=>xe[q(515)]}),()=>{const K=q;oe[K(515)]?.[K(2088)]()}},[F]),D[M(433)](()=>{const q=M;oe[q(515)]?.[q(1125)]({translateExtent:X,width:W,height:T,inversePan:z,pannable:g,zoomStep:m,zoomable:p})},[g,p,z,m,X,W,T]);const ie=h?q=>{const[K,V]=oe.current?.pointer(q)||[0,0];h(q,{x:K,y:V})}:void 0,k=w?D[M(983)]((q,K)=>{const V=M,ae=I[V(1560)]()[V(700)].get(K)[V(739)][V(2115)];w(q,ae)},[]):void 0,S=b??N[M(451)];return l[M(662)](Wt,{position:y,style:{...e,"--xy-minimap-background-color-props":typeof d=="string"?d:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof f===M(891)?f:void 0,"--xy-minimap-mask-stroke-width-props":typeof u===M(710)?u*j:void 0,"--xy-minimap-node-background-color-props":typeof x=="string"?x:void 0,"--xy-minimap-node-stroke-color-props":typeof t===M(891)?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i=="number"?i:void 0},className:je([M(417),n]),"data-testid":M(402),children:l[M(1304)](M(1921),{width:L,height:B,viewBox:Q+" "+te+" "+ce+" "+$,className:"react-flow__minimap-svg",role:M(1101),"aria-labelledby":se,ref:E,onClick:ie,children:[S&&l[M(662)]("title",{id:se,children:S}),l[M(662)](ng,{onClick:k,nodeColor:x,nodeStrokeColor:t,nodeBorderRadius:r,nodeClassName:o,nodeStrokeWidth:i,nodeComponent:a}),l[M(662)]("path",{className:M(905),d:"M"+(Q-_)+","+(te-_)+"h"+(ce+_*2)+"v"+($+_*2)+"h"+(-ce-_*2)+M(1884)+O.x+","+O.y+"h"+O[M(1088)]+"v"+O.height+"h"+-O.width+"z",fillRule:M(1696),pointerEvents:M(1316)})]})})}pc[c(1108)]="MiniMap";const ag=D[c(1707)](pc),cg=e=>n=>e?""+Math[c(1121)](1/n[c(1558)][2],1):void 0,sg={[fn.Line]:c(2049),[fn.Handle]:c(920)};function lg({nodeId:e,position:n,variant:t=fn.Handle,className:x,style:o=void 0,children:r,color:i,minWidth:a=10,minHeight:d=10,maxWidth:s=Number[c(673)],maxHeight:f=Number[c(673)],keepAspectRatio:u=!1,resizeDirection:y,autoScale:h=!0,shouldResize:w,onResizeStart:g,onResize:p,onResizeEnd:b}){const z=c,m=Va(),v=typeof e=="string"?e:m,M=ke(),I=D[z(649)](null),E=t===fn[z(540)],G=Ce(D[z(983)](cg(E&&h),[E,h]),Se),O=D[z(649)](null),U=n??sg[t];D[z(433)](()=>{const X=z;if(!(!I[X(515)]||!v))return!O.current&&(O[X(515)]=E2({domNode:I.current,nodeId:v,getStoreItems:()=>{const{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:B,domNode:A}=M.getState();return{nodeLookup:W,transform:T,snapGrid:N,snapToGrid:L,nodeOrigin:B,paneDomNode:A}},onChange:(W,T)=>{const N=X,{triggerNodeChanges:L,nodeLookup:B,parentLookup:A,nodeOrigin:P}=M[N(1560)](),j=[],Z={x:W.x,y:W.y},R=B[N(834)](v);if(R&&R[N(1747)]&&R[N(611)]){const _=R[N(1700)]??P,Q=W[N(1088)]??R[N(974)].width??0,te=W.height??R[N(974)].height??0,ce={id:R.id,parentId:R[N(611)],rect:{width:Q,height:te,...Pi({x:W.x??R[N(1781)].x,y:W.y??R.position.y},{width:Q,height:te},R[N(611)],B,_)}},$=to([ce],B,A,P);j[N(541)](...$),Z.x=W.x?Math.max(_[0]*Q,W.x):void 0,Z.y=W.y?Math[N(1121)](_[1]*te,W.y):void 0}if(Z.x!==void 0&&Z.y!==void 0){const _={id:v,type:N(1781),position:{...Z}};j.push(_)}if(W[N(1088)]!==void 0&&W[N(1945)]!==void 0){const _=y?y===N(445)?N(1088):N(1945):!0,Q={id:v,type:N(636),resizing:!0,setAttributes:_,dimensions:{width:W[N(1088)],height:W.height}};j.push(Q)}for(const _ of T){const Q={..._,type:N(1781)};j.push(Q)}L(j)},onEnd:({width:W,height:T})=>{const N=X,L={id:v,type:N(636),resizing:!1,dimensions:{width:W,height:T}};M[N(1560)]()[N(1924)]([L])}})),O[X(515)][X(1125)]({controlPosition:U,boundaries:{minWidth:a,minHeight:d,maxWidth:s,maxHeight:f},keepAspectRatio:u,resizeDirection:y,onResizeStart:g,onResize:p,onResizeEnd:b,shouldResize:w}),()=>{O[X(515)]?.destroy()}},[U,a,d,s,f,u,g,p,b,w]);const F=U[z(1296)]("-");return l.jsx(z(1861),{className:je([z(601),z(1312),...F,t,x]),ref:I,style:{...o,scale:G,...i&&{[z(E?934:2187)]:i}},children:r})}D.memo(lg);const bc=e=>Symbol[c(533)]in e,zc=e=>c(1708)in e,Cc=(e,n)=>{const t=c,x=e instanceof Map?e:new Map(e[t(1708)]()),o=n instanceof Map?n:new Map(n[t(1708)]());if(x[t(547)]!==o[t(547)])return!1;for(const[r,i]of x)if(!o[t(1071)](r)||!Object.is(i,o[t(834)](r)))return!1;return!0},dg=(e,n)=>{const t=c,x=e[Symbol[t(533)]](),o=n[Symbol[t(533)]]();let r=x[t(1148)](),i=o[t(1148)]();for(;!r.done&&!i[t(2075)];){if(!Object.is(r[t(1989)],i.value))return!1;r=x[t(1148)](),i=o[t(1148)]()}return!!r.done&&!!i[t(2075)]};function ug(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(1918)||e===null||typeof n!="object"||n===null||Object[t(1844)](e)!==Object[t(1844)](n)?!1:bc(e)&&bc(n)?zc(e)&&zc(n)?Cc(e,n):dg(e,n):Cc({entries:()=>Object.entries(e)},{entries:()=>Object[t(1708)](n)})}const Mc={inlineScript:c(1314),dataRequest:c(1290),external:c(1582),builtin:"内置动作"},fg=[{label:c(585),value:c(481)},{label:c(1816),value:"switchCanvas"}],hg=[{label:c(1660),value:c(1660)},{label:c(767),value:"success"},{label:c(759),value:"warning"},{label:c(1750),value:c(1750)},{label:c(1136),value:c(1136)}];function Bc(e,n,t){const x=c,o=t[x(1928)](i=>i[x(854)]===e),r=o.length;return o[x(1008)]((i,a)=>{const d=x,s=n.find(u=>u.id===i.source),f=s?.[d(618)];return{sourceId:i[d(1413)],sourceLabel:f?.[d(444)]??i.source,edgeIndex:a,totalIncoming:r}})}const gg=({data:e,id:n})=>{const t=c,{root:x}=Ee(),o=Ce(D[t(983)](a=>Bc(n,a[t(2159)],a[t(530)]).map(({sourceId:d,sourceLabel:s})=>({sourceId:d,label:s})),[n]),ug),r=e.eventBlock[t(1212)]??"inlineScript",i=r===t(421)?e[t(2073)].dataRequestKey:r===t(1234)?e.eventBlock[t(1077)]:r===t(1830)?e[t(2073)][t(1917)]===t(481)?e[t(2073)][t(1917)]+": "+String(e.eventBlock[t(2147)]?.content??"").slice(0,24):e.eventBlock[t(1917)]==="switchCanvas"?"跳转: "+(x[t(1348)].find(a=>a.id===e[t(2073)].builtinConfig?.[t(731)])?.[t(413)]??t(1406)):e[t(2073)].builtinId:null;return l.jsxs(t(1861),{className:t(603),children:[l[t(662)](gn,{type:"target",position:ue[t(482)],className:t(1451)}),l[t(1304)](t(1861),{className:"flex items-center justify-between mb-2",children:[l[t(662)]("span",{className:t(1501),children:e[t(444)]}),l[t(1304)](C[t(1389)],{size:t(976),children:[l[t(662)](C.Button,{type:t(1525),size:t(976),icon:l[t(662)](le[t(1400)],{}),onClick:()=>e.onEdit(n)}),l[t(662)](C[t(1539)],{type:t(1525),size:"small",danger:!0,icon:l[t(662)](le[t(1142)],{}),onClick:()=>e[t(2157)](n)})]})]}),l[t(662)](t(1861),{className:"text-xs mb-1",children:l[t(1304)](C[t(736)],{color:r==="inlineScript"?t(1170):r===t(1830)?t(1979):t(1820),className:t(2123),children:[Mc[r],i?t(2057)+i:""]})}),l[t(1304)](t(1861),{className:t(558),children:[e[t(2073)][t(1284)]?.[t(2062)]>0&&l[t(1304)](t(1861),{children:[t(1705),e[t(2073)][t(1284)][t(1008)](a=>a[t(413)])[t(2171)](", ")]}),o[t(2062)]>0&&l.jsxs("div",{className:t(1643),children:[t(606),o[t(1008)](a=>l.jsxs(t(1861),{className:"pl-1 border-l-2 border-amber-200",children:["←「",a[t(444)],t(1058)]},a[t(1775)]))]})]}),l[t(662)](gn,{type:"source",position:ue[t(569)],className:"!bg-blue-500"})]})},yg={eventBlock:gg},mg=Object[c(1708)](Mc)[c(1008)](([e,n])=>({label:n,value:e})),Dc=[{label:"点击",value:c(827)},{label:c(1052),value:c(1440)},{label:"鼠标释放",value:c(1063)},{label:"双击",value:c(2002)},{label:c(480),value:c(543)},{label:c(1198),value:c(1807)},{label:c(1443),value:c(863)},{label:"右键菜单",value:c(1986)},{label:c(1998),value:c(421)},{label:c(706),value:c(1234)}];function wg(e,n){const t=c,x={},o=[...e];return o[t(1575)]((r,i)=>{const a=t,d=n[a(1284)][i]?.name??(o[a(2062)]===1?a(2166):a(2166)+i);x[d]=a(1172)+r[a(1413)]}),x}function vg(e,n,t){const x=c;return t[e]?.[x(413)]??(n===1?x(2166):x(2166)+e)}const pg=[{label:"string",value:c(891)},{label:"number",value:"number"},{label:"boolean",value:c(1385)},{label:c(1918),value:c(1918)},{label:c(653),value:"any"}];function Lc(e){const n=c,t=Dc[n(583)](o=>o.value===e[n(1407)]),x=t?.label??e[n(1407)];if(e[n(1407)]===n(1234)){const o=(e[n(1890)]||"").trim();return o?x+" · "+o:x}return x}const bg=({open:e,onClose:n,bindNodeId:t})=>{const x=c,{nodes:o,eventFlow:r,externalHandlerCatalog:i,addEventBlock:a,upsertEventBlock:d,removeEventBlock:s,addEventRoot:f,updateEventRoot:u,root:y}=Ee(),[h,w,g]=Eh([]),[p,b,z]=Yh([]),m=D.useRef(h);m[x(515)]=h;const[v,M]=D[x(744)](null),[I,E]=D[x(744)](!1),[G]=C[x(938)].useForm(),O=C[x(938)][x(728)](x(1407),G),[U,F]=D[x(744)](null),[X,W]=D[x(744)](!1),[T]=C[x(938)][x(1049)](),N=C.Form[x(728)](x(1212),T),L=C[x(938)][x(728)](x(1917),T),B=C.Form.useWatch("inputs",T),A=D.useMemo(()=>!X||!U?[]:Bc(U.id,h,p),[X,U,h,p]),P=D.useRef(()=>{}),j=D[x(649)](()=>{});D[x(433)](()=>{const k=x;if(X&&U){const S=U[k(2147)]??{},{outputs:q,...K}=U;T.setFieldsValue({...K,executorType:U[k(1212)]??"inlineScript",builtinId:U.builtinId,inputs:U.inputs??[],builtinConfig:{content:String(S[k(450)]??""),level:String(S[k(487)]??"info"),duration:S.duration===void 0||S[k(405)]===null?void 0:Number(S.duration)}})}},[X,U,T]);const Z=D[x(983)](k=>{b(S=>Ti(k,S))},[b]),R=k=>{const S=x,q={bindNodeId:k.bindNodeId,eventType:k[S(1407)],externalEventKey:k[S(1407)]===S(1234)?(k.externalEventKey||"")[S(562)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},K=f(q);M({...q,id:K}),G[S(1510)](),E(!1),C[S(2068)][S(767)](S(1876))},_=D[x(983)](k=>{const S=x;s(k),w(q=>q[S(1928)](K=>K.id!==k)),b(q=>q[S(1928)](K=>K[S(1413)]!==k&&K[S(854)]!==k))},[s,w,b]),Q=D[x(983)](k=>{const S=x,q=m[S(515)][S(583)](ae=>ae.id===k)?.[S(618)]?.[S(2073)],K=r[S(1402)][S(583)](ae=>ae.id===k),V=q??K;V?(F({...V,id:k}),W(!0)):C[S(2068)][S(759)](S(1482))},[r.eventBlocks]);P.current=Q,j[x(515)]=_,D[x(433)](()=>{const k=x;if(e&&v){const S=v[k(1875)][k(2159)][k(1008)](K=>({id:K.id,type:k(2073),position:K[k(1781)],data:{label:K[k(618)][k(444)],eventBlock:K.data[k(2073)],onEdit:V=>P[k(515)](V),onDelete:V=>j.current(V)}})),q=v[k(1875)][k(530)][k(1008)](K=>({id:K.id,source:K[k(1413)],target:K.target}));w(S),b(q)}},[e,v,w,b]);const te=()=>{const k=x,S={name:"新事件块",executorType:k(2102),callback:k(1424),inputs:[],outputs:[]},q=a(S),K={...S,id:q},V={id:q,type:k(2073),position:{x:100+h[k(2062)]*50,y:100+h[k(2062)]*30},data:{label:K[k(413)],eventBlock:K,onEdit:ae=>P[k(515)](ae),onDelete:ae=>j[k(515)](ae)}};w(ae=>[...ae,V])},ce=()=>{const k=x,S={name:k(1651),executorType:"builtin",builtinId:k(481),builtinConfig:{content:k(2086),level:"info"},callback:k(1906),inputs:[],outputs:[]},q=a(S),K={...S,id:q},V={id:q,type:k(2073),position:{x:120+h[k(2062)]*50,y:140+h.length*30},data:{label:K[k(413)],eventBlock:K,onEdit:ae=>P[k(515)](ae),onDelete:ae=>j[k(515)](ae)}};w(ae=>[...ae,V])},$=()=>{const k=x,S={name:k(1816),executorType:k(1830),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:y[k(1348)][0]?.id||""},callback:k(1906),inputs:[],outputs:[]},q=a(S),K={...S,id:q},V={id:q,type:"eventBlock",position:{x:120+h[k(2062)]*50,y:140+h.length*30},data:{label:K[k(413)],eventBlock:K,onEdit:ae=>P[k(515)](ae),onDelete:ae=>j.current(ae)}};w(ae=>[...ae,V])},se=k=>{const S=x;if(!U)return;const q=k[S(1212)]??U[S(1212)]??S(2102),K={name:k[S(413)],callback:k[S(1371)]??U[S(1371)],executorType:q,dataRequestKey:q===S(421)?(k[S(1076)]||"")[S(562)]():void 0,externalHandlerKey:q===S(1234)?(k[S(1077)]||"")[S(562)]():void 0,builtinId:q===S(1830)?k[S(1917)]:void 0,builtinConfig:q==="builtin"&&k[S(1917)]===S(481)?{content:String(k[S(2147)]?.content??"")[S(562)](),level:k[S(2147)]?.[S(487)]||S(1660),duration:k[S(2147)]?.duration===null||k[S(2147)]?.[S(405)]===void 0?void 0:Number(k[S(2147)][S(405)])}:q===S(1830)&&k[S(1917)]==="switchCanvas"?{targetCanvasId:String(k[S(2147)]?.targetCanvasId??"")[S(562)]()}:void 0},V=k[S(1284)]??[],ae=V[S(1928)](me=>me?.[S(413)]&&String(me[S(413)]).trim()),ge={...U,...K,inputs:ae,outputs:[]};d(ge),w(me=>me.map(he=>he.id===U.id?{...he,data:{...he.data,label:ge[S(413)]||he[S(618)][S(444)],eventBlock:ge}}:he)),W(!1),F(null),C[S(2068)][S(767)]("事件块已更新")},xe=()=>{const k=x;if(!v)return;const S=h[k(1008)](K=>{const V=k,ae=p[V(1928)](he=>he[V(854)]===K.id),ge=K[V(618)][V(2073)],me={...ge,outputs:[]};return{id:K.id,eventBlockId:K.id,position:K[V(1781)],inputs:ae[V(1008)](he=>he[V(1413)]),outputs:p[V(1928)](he=>he[V(1413)]===K.id).map(he=>he.target),data:{label:K.data[V(444)],eventBlock:me,inputMapping:wg(ae,me)}}}),q=p[k(1008)](K=>({id:K.id,source:K.source,target:K[k(854)]}));u(v.id,{flowData:{nodes:S,edges:q}}),en[k(2008)]({...v,flowData:{nodes:S,edges:q}}),C[k(2068)].success(k(609)),n()},oe=D[x(476)](()=>o[x(1008)](k=>({label:k[x(413)],value:k.id})),[o]),ie=D[x(476)](()=>t?r[x(789)][x(1928)](k=>k[x(1658)]===t):r[x(789)],[r[x(789)],t]);return e?l[x(1304)](C[x(1263)],{title:x(862),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[v?l[x(1304)]("div",{className:"h-full flex flex-col",style:{height:700},children:[l[x(1304)](x(1861),{className:x(1640),children:[l[x(662)](C[x(1389)],{children:l.jsxs(x(1082),{className:"font-medium",children:[x(1190),Lc(v)," →"," ",o[x(583)](k=>k.id===v.bindNodeId)?.name]})}),l.jsxs(C[x(1389)],{children:[l.jsx(C.Button,{icon:l[x(662)](le[x(2091)],{}),onClick:te,children:"添加事件块"}),l.jsx(C.Button,{icon:l[x(662)](le[x(2091)],{}),onClick:ce,children:"Message 提示"}),l[x(662)](C[x(1539)],{icon:l.jsx(le[x(2091)],{}),onClick:$,children:"跳转画布"}),l[x(662)](C[x(1539)],{type:x(1621),icon:l.jsx(le[x(735)],{}),onClick:xe,children:"保存"}),l[x(662)](C[x(1539)],{icon:l[x(662)](le[x(591)],{}),onClick:()=>M(null),children:x(797)})]})]}),l[x(662)](x(1861),{className:x(1984),children:l[x(1304)](Ah,{nodes:h,edges:p,onNodesChange:g,onEdgesChange:z,onConnect:Z,nodeTypes:yg,fitView:!0,children:[l[x(662)](Th,{}),l[x(662)](Rh,{}),l[x(662)](ag,{})]})})]}):l[x(1304)](x(1861),{className:x(1681),children:[l.jsxs(x(1861),{className:x(1184),children:[l[x(662)]("h3",{className:x(1981),children:x(1336)}),l[x(662)](C[x(1539)],{type:x(1621),icon:l[x(662)](le.PlusOutlined,{}),onClick:()=>E(!0),children:x(885)})]}),l[x(662)](C[x(1040)],{dataSource:ie,renderItem:k=>l[x(662)](C[x(1040)].Item,{actions:[l[x(662)](C[x(1539)],{type:x(1621),icon:l[x(662)](le[x(1400)],{}),onClick:()=>M(k),children:"编辑"},x(2149))],children:l[x(662)](C.List[x(820)][x(1218)],{title:l.jsxs(C[x(1389)],{children:[l[x(1304)](x(1082),{children:[x(1809),Lc(k)]}),l[x(662)](C[x(736)],{color:"blue",children:o[x(583)](S=>S.id===k[x(1658)])?.[x(413)]||k[x(1658)]})]}),description:x(506)+k[x(1875)][x(2159)][x(2062)]+", 连接数: "+k[x(1875)][x(530)][x(2062)]})}),locale:{emptyText:l[x(662)](C[x(1265)],{description:x(1343)})}}),l[x(662)](C[x(1263)],{title:"新建事件流",open:I,onCancel:()=>{G[x(1510)](),E(!1)},footer:null,afterOpenChange:k=>{k&&(G[x(1510)](),t&&G.setFieldsValue({bindNodeId:t}))},children:l[x(1304)](C[x(938)],{form:G,onFinish:R,layout:x(984),children:[l.jsx(C[x(938)].Item,{name:x(1658),label:x(2124),rules:[{required:!0,message:"请选择节点"}],initialValue:t,children:l[x(662)](C[x(1428)],{options:oe,placeholder:x(1206),disabled:!!t})}),l.jsx(C.Form[x(820)],{name:"eventType",label:x(2133),rules:[{required:!0,message:x(1682)}],children:l[x(662)](C[x(1428)],{options:Dc,placeholder:x(2150)})}),O===x(1234)&&l[x(662)](C[x(938)][x(820)],{name:x(1890),label:"外部事件标识",rules:[{required:!0,message:x(1645)},{validator:(k,S)=>(S||"").trim()?Promise[x(777)]():Promise[x(2183)](new Error(x(1272)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(662)](C.Input,{placeholder:"例如:refresh"})}),l[x(662)](C.Form[x(820)],{className:x(1374),children:l[x(1304)](C[x(1389)],{className:x(1761),children:[l[x(662)](C[x(1539)],{onClick:()=>{G[x(1510)](),E(!1)},children:"取消"}),l[x(662)](C[x(1539)],{type:x(1621),htmlType:x(1806),children:"创建"})]})})]})})]}),l.jsx(C[x(1263)],{title:"编辑事件块",open:X,onCancel:()=>{W(!1),F(null)},footer:null,destroyOnClose:!0,children:l.jsxs(C[x(938)],{form:T,onFinish:se,layout:x(984),children:[l[x(662)](C[x(938)][x(820)],{name:x(413),label:"名称",rules:[{required:!0,message:x(1595)}],children:l[x(662)](C[x(2162)],{})}),l.jsx(C[x(938)][x(820)],{name:x(1212),label:x(958),rules:[{required:!0,message:x(1897)}],children:l[x(662)](C[x(1428)],{options:mg,placeholder:"不同方式对应下方不同配置项"})}),N===x(1830)&&l.jsx(C[x(938)][x(820)],{name:x(1917),label:x(1486),rules:[{required:!0,message:x(2161)}],children:l[x(662)](C[x(1428)],{options:fg,placeholder:x(687)})}),N===x(1830)&&L===x(481)&&l[x(1304)](l[x(1907)],{children:[l[x(662)](C[x(938)][x(820)],{name:[x(2147),"content"],label:"提示内容",rules:[{required:!0,message:x(2146)}],extra:x(1954),children:l[x(662)](C[x(2162)][x(1590)],{rows:3,placeholder:x(1882)})}),l[x(662)](C[x(938)][x(820)],{name:[x(2147),x(487)],label:"状态 (type)",children:l.jsx(C[x(1428)],{options:hg})}),l[x(662)](C.Form[x(820)],{name:[x(2147),"duration"],label:"持续时间(秒)",extra:"留空使用 antd 默认;填 0 表示不自动关闭",children:l.jsx(C[x(1053)],{min:0,step:.5,style:{width:x(1437)},placeholder:"默认"})})]}),N===x(1830)&&L==="switchCanvas"&&l.jsx(C.Form.Item,{name:["builtinConfig","targetCanvasId"],label:"目标画布",rules:[{required:!0,message:"请选择目标画布"}],children:l[x(662)](C[x(1428)],{placeholder:x(988),options:y.canvases[x(1008)](k=>({value:k.id,label:k[x(413)]}))})}),N===x(421)&&l[x(662)](C[x(938)][x(820)],{name:"dataRequestKey",label:x(548),rules:[{required:!0,message:x(2103)},{validator:(k,S)=>(S||"")[x(562)]()?Promise[x(777)]():Promise.reject(new Error(x(1272)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(662)](C[x(2162)],{placeholder:x(1154)})}),N===x(1234)&&l[x(662)](C[x(938)][x(820)],{name:x(1077),label:"外部方法标识",rules:[{required:!0,message:"请填写外部方法标识"},{validator:(k,S)=>(S||"").trim()?Promise[x(777)]():Promise[x(2183)](new Error(x(1272)))}],extra:i[x(2062)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i.length>0?l.jsx(C[x(1428)],{showSearch:!0,optionFilterProp:x(444),allowClear:!0,placeholder:x(639),options:i[x(1008)](k=>({value:k[x(438)],label:k[x(444)],title:k.description?k.label+x(1629)+k.description:k[x(444)]+" ("+k[x(438)]+")"}))}):l[x(662)](C[x(2162)],{placeholder:x(559)})}),N===x(2102)&&l[x(662)](C.Form[x(820)],{name:x(1371),label:x(453),rules:[{validator:(k,S)=>{const q=x;return typeof S===q(891)&&S[q(562)]()?Promise.resolve():Promise.reject(new Error("请填写执行代码"))}}],children:l[x(662)](C.Input[x(1590)],{rows:6,placeholder:x(1757)})}),A.length>0&&l.jsxs(x(1861),{className:"mb-4 p-3 bg-amber-50 rounded border border-amber-100 text-sm",children:[l.jsx(x(1861),{className:x(665),children:x(1587)}),l[x(662)]("ul",{className:"list-none space-y-2 m-0 p-0",children:A[x(1008)](k=>{const S=x,q=B??U?.[S(1284)]??[],K=vg(k[S(913)],k[S(1509)],q);return l.jsxs("li",{className:"pl-2 border-l-2 border-amber-300",children:[l.jsxs(S(1861),{className:S(1789),children:["第 ",k[S(913)]+1,S(1572),k[S(1925)],"」:上游",l.jsx(S(1367),{children:S(1476)})," →"," ",l[S(1304)]("code",{className:S(1556),children:[S(1207),K]})]}),l[S(1304)](S(1861),{className:S(1659),children:[S(1057),k[S(913)]+1,S(1709)]})]},k[S(1775)])})})]}),l[x(662)](x(1861),{className:x(2078),children:x(1819)}),l[x(1304)](x(1861),{className:"text-xs text-gray-500 mb-2",children:[x(1739)," ",l.jsx("code",{children:"args.prev"}),",多入边用 ",l[x(662)](x(1622),{children:x(751)}),"、",l[x(662)]("code",{children:x(730)}),"…"]}),l[x(662)](C[x(938)][x(1040)],{name:"inputs",children:(k,{add:S,remove:q})=>l[x(1304)](l[x(1907)],{children:[k[x(1008)](({key:K,name:V,...ae})=>l[x(1304)](C[x(1389)],{align:"baseline",wrap:!0,className:x(392),children:[l.jsx(C[x(938)][x(820)],{...ae,name:[V,x(413)],rules:[{required:!0,message:"名称"}],children:l[x(662)](C.Input,{placeholder:x(1213),style:{width:140}})}),l[x(662)](C[x(938)][x(820)],{...ae,name:[V,x(1721)],initialValue:x(653),children:l[x(662)](C[x(1428)],{options:pg,style:{width:100}})}),l[x(662)](le[x(919)],{className:x(1069),onClick:()=>q(V)})]},K)),l[x(662)](C.Button,{type:x(705),onClick:()=>S({type:x(653)}),block:!0,icon:l.jsx(le[x(2091)],{}),children:x(2094)})]})}),l[x(662)](C.Form[x(820)],{className:x(987),children:l[x(1304)](C[x(1389)],{className:x(1761),children:[l[x(662)](C[x(1539)],{onClick:()=>{W(!1),F(null)},children:"取消"}),l[x(662)](C[x(1539)],{type:x(1621),htmlType:x(1806),children:"保存"})]})})]})})]}):null},_t={click:"点击",mouseDown:c(1052),mouseUp:c(1046),doubleClick:"双击",mouseOver:"鼠标移入",mouseLeave:c(1198),mouseEnter:c(1443),contextMenu:c(844),dataRequest:c(1998),external:"外部事件"};function zg(e){const n=c;if(e.eventType==="external"){const t=(e[n(1890)]||"")[n(562)]();return t?_t[n(1234)]+n(2057)+t:_t[n(1234)]}return _t[e[n(1407)]]}const Cg=Object.entries(_t)[c(1008)](([e,n])=>({label:n,value:e})),Mg=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:x,updateEventRoot:o,removeEventRoot:r}=Ee(),[i,a]=D.useState(!1),[d,s]=D.useState(null),[f,u]=D.useState(!1),[y]=C[n(938)][n(1049)](),h=C[n(938)][n(728)](n(1407),y),w=D[n(476)](()=>{const m=n;return t.eventRoots[m(1928)](v=>v[m(1658)]===e)},[t[n(789)],e]),g=m=>{const v=n,M={bindNodeId:e,eventType:m.eventType,externalEventKey:m.eventType===v(1234)?(m.externalEventKey||"")[v(562)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};x(M),y[v(1510)](),u(!1)},p=m=>{s(m),a(!0)},b=(m,v)=>{o(m.id,{enabled:v})},z=m=>{r(m)};return l[n(1304)](n(1861),{children:[l.jsxs(n(1861),{className:n(1184),children:[l.jsx("h4",{className:n(2013),children:n(1508)}),l.jsx(C[n(1539)],{type:n(1621),size:n(976),icon:l[n(662)](le[n(2091)],{}),onClick:()=>u(!0),children:n(1691)})]}),l[n(662)](C[n(1040)],{dataSource:w,renderItem:m=>l.jsx(C[n(1040)].Item,{actions:[l[n(662)](C[n(1788)],{checked:m[n(1670)],size:"small",onChange:v=>b(m,v)},n(656)),l.jsx(C[n(1539)],{type:n(1525),size:n(976),icon:l[n(662)](le.EditOutlined,{}),onClick:()=>p(m)},n(2149)),l[n(662)](C[n(809)],{title:"确认删除",description:"删除后无法恢复,是否继续?",onConfirm:()=>z(m.id),children:l[n(662)](C.Button,{type:n(1525),danger:!0,size:"small",icon:l[n(662)](le[n(1142)],{})})},"delete")],children:l[n(662)](C[n(1040)].Item[n(1218)],{title:l.jsxs(C.Space,{children:[l.jsx(C[n(736)],{color:m.enabled?n(1519):n(1170),children:zg(m)}),l[n(1304)](n(1082),{className:n(604),children:[m[n(1875)][n(2159)].length,n(1960)]})]}),description:m.enabled?l[n(662)](n(1082),{className:"text-xs text-green-600",children:n(1618)}):l[n(662)]("span",{className:n(604),children:"已禁用"})})}),locale:{emptyText:l[n(662)](C.Empty,{image:C[n(1265)][n(894)],description:n(2061)})}}),l[n(662)](C[n(1263)],{title:n(1691),open:f,onCancel:()=>{y[n(1510)](),u(!1)},footer:null,afterOpenChange:m=>{m&&y.resetFields()},children:l.jsxs(C.Form,{form:y,onFinish:g,layout:n(984),children:[l[n(662)](C[n(938)][n(820)],{name:n(1407),label:"触发方式",rules:[{required:!0,message:n(1682)}],children:l.jsx(C[n(1428)],{options:Cg,placeholder:n(1439)})}),h===n(1234)&&l[n(662)](C[n(938)].Item,{name:n(1890),label:n(414),rules:[{required:!0,message:n(1645)},{validator:(m,v)=>(v||"")[n(562)]()?Promise[n(777)]():Promise[n(2183)](new Error("标识不能为空"))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(662)](C.Input,{placeholder:"例如:refresh 或 parent:reload"})}),l[n(662)](C[n(938)].Item,{className:"mb-0",children:l[n(1304)](C[n(1389)],{className:"w-full justify-end",children:[l[n(662)](C[n(1539)],{onClick:()=>u(!1),children:"取消"}),l[n(662)](C[n(1539)],{type:n(1621),htmlType:n(1806),children:"创建"})]})})]})}),l.jsx(bg,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e})]})},{Panel:B0}=C[c(824)],{TabPane:Ft}=C[c(1774)],{TextArea:Bg}=C.Input,Nc=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:x,updateNode:o,updateNodeStyle:r,updateNodeControl:i,updateNodeContent:a,materials:d,selectedStatusId:s,selectStatus:f}=Ee(),[u]=C[n(938)][n(1049)](),[y,h]=D.useState(n(2154)),[w,g]=D.useState(!1),[p,b]=D[n(744)](null),[z,m]=D[n(744)]({}),v=D[n(476)](()=>t[n(583)](B=>B.id===x),[t,x]),M=v?.[n(503)][n(1350)]||[],I=L=>{const B=n;x&&(L[B(2020)]&&r(x,L[B(2020)]),L[B(413)]!==void 0&&o(x,{name:L.name}),L[B(2006)]&&i(x,L.controlInfo))};console[n(833)](x,n(1557),v),D[n(433)](()=>{const L=n;v&&v&&(u[L(1632)]({name:v[L(413)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:L(1913),borderRadius:0,opacity:1,...v[L(2020)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...v[L(2006)]}}),f(null))},[v,f,u]);const E=()=>{const L=n;!x||!v||(b(L(1992)),g(!0))},G=L=>{const B=n;if(!x||!v)return;const A={id:pe[B(1137)](),name:L.name+B(579)+(M[B(2062)]+1),expression:M[B(2062)]===0?"return true;":B(1962),material:{...L,id:pe[B(1137)]()},boundDatasetId:null};if(p==="new"){const P=[...M,A];a(x,{statusList:P})}else if(p){const P=M[B(1008)](j=>{const Z=B;return j.id===p?{...j,material:{...L,id:pe[Z(1137)]()}}:j});a(x,{statusList:P})}g(!1),b(null)},O=L=>{const B=n;if(!x||!v)return;const A=v.contentInfo[B(1350)]?.[B(1928)](P=>P.id!==L)||[];a(x,{statusList:A}),s===L&&f(null)},U=(L,B)=>{const A=n;if(!x||!v)return;const P=v.contentInfo[A(1350)]?.[A(1008)](j=>j.id===L?{...j,...B}:j)||[];a(x,{statusList:P})},F=L=>{const B=n;if(!x||!v)return;const A={...L,id:pe[B(1137)](),name:L.name+B(746),expression:B(1962)},P=[...M,A];a(x,{statusList:P})},X=(L,B)=>{const A=n;if(!x||!v)return;const P=M[A(2005)](Z=>Z.id===L);if(P===-1)return;const j=[...M];B==="up"&&P>0?[j[P],j[P-1]]=[j[P-1],j[P]]:B===A(629)&&P<j[A(2062)]-1&&([j[P],j[P+1]]=[j[P+1],j[P]]),a(x,{statusList:j})},W=L=>{b(L),g(!0)},T=(L,B)=>{const A=n,P=B[A(669)]||{},j=P[A(1685)]??0,Z=P[A(1397)]??0,R=P[A(420)]??100,_=P.endY??0,Q=Math.max((P[A(2138)]||P[A(1354)]||2)*2,4),te=Math[A(880)](j,R),ce=Math.min(Z,_),$=Math.max(j,R),se=Math.max(Z,_),xe=Math[A(1121)]($-te,Q),oe=Math[A(1121)](se-ce,Q),ie=L[A(2020)].x||0,k=L[A(2020)].y||0;return{material:{...B,config:{...P,startX:j-te,startY:Z-ce,endX:R-te,endY:_-ce}},box:{x:ie+te,y:k+ce,width:xe,height:oe}}},N=(L,B)=>{const A=n;if(!x||!v)return;const{list:P,lineBox:j}=M[A(1745)]((Z,R)=>{const _=A;if(R.id!==L)return Z[_(461)].push(R),Z;let Q;if(R[_(972)].type===_(1744)&&_(669)in B&&B[_(669)]!==void 0){const te=R.material,ce=B.config;Q={...te,...B,config:{...te.config||{},...ce}}}else Q={...R[_(972)],...B};if(Q[_(1721)]===_(1744)){const{material:te,box:ce}=T(v,Q);return Z[_(461)].push({...R,material:te}),Z[_(575)]=ce,Z}return Z.list[_(541)]({...R,material:Q}),Z},{list:[],lineBox:null});j!==null?o(x,{normalStyle:{...v[A(2020)],x:j.x,y:j.y,width:j[A(1088)],height:j.height},contentInfo:{...v[A(503)],statusList:P}}):a(x,{statusList:P})};return v?l.jsxs(n(1861),{className:"h-full flex flex-col bg-white border-l border-gray-200",children:[l[n(1304)](n(1861),{className:"p-4 border-b border-gray-200",children:[l[n(662)]("h3",{className:n(838),children:n(439)}),l[n(662)]("p",{className:"text-sm text-gray-500",children:"编辑选中节点的属性"})]}),l[n(662)](n(1861),{className:n(875),children:l.jsxs(C.Tabs,{activeKey:y,onChange:h,children:[l[n(662)](Ft,{tab:"基础",children:l[n(1304)](C[n(938)],{form:u,layout:n(984),onValuesChange:I,initialValues:{name:v[n(413)]},children:[l[n(662)](C[n(938)].Item,{label:n(1798),name:n(413),children:l.jsx(C[n(2162)],{placeholder:"输入节点名称"})}),l[n(1304)](C.Collapse,{ghost:!0,defaultActiveKey:[n(1781),n(547),n(752)],children:[l[n(662)](B0,{header:"位置",children:l.jsxs(C[n(1389)],{children:[l[n(662)](C.Form[n(820)],{label:"X",name:[n(2020),"x"],children:l.jsx(C[n(1053)],{})}),l[n(662)](C[n(938)][n(820)],{label:"Y",name:[n(2020),"y"],children:l.jsx(C[n(1053)],{})})]})},n(1781)),l[n(662)](B0,{header:"尺寸",children:l.jsxs(C[n(1389)],{children:[l[n(662)](C[n(938)][n(820)],{label:"宽度",name:[n(2020),"width"],children:l[n(662)](C[n(1053)],{min:10})}),l[n(662)](C.Form.Item,{label:"高度",name:[n(2020),n(1945)],children:l.jsx(C[n(1053)],{min:10})})]})},n(547)),l[n(1304)](B0,{header:"样式",children:[l[n(662)](C[n(938)].Item,{label:"背景色",name:["normalStyle","background"],children:l[n(662)](C.Input,{placeholder:n(1599)})}),l[n(662)](C[n(938)][n(820)],{label:"内边距",name:[n(2020),n(813)],children:l[n(662)](C[n(1053)],{min:0})}),l.jsx(C[n(938)].Item,{label:"圆角",name:[n(2020),n(1818)],children:l[n(662)](C[n(1053)],{min:0})}),l[n(662)](C.Form.Item,{label:n(1561),name:[n(2020),n(872)],help:"等比缩放节点的宽高",children:l[n(662)](C[n(1053)],{min:.1,max:5,step:.1})}),l.jsx(C[n(938)][n(820)],{label:n(776),name:[n(2020),n(2041)],help:n(1554),children:l[n(662)](C[n(1053)],{min:0,max:360,step:1})}),l[n(662)](C[n(938)][n(820)],{label:n(881),name:[n(2020),n(1647)],children:l[n(662)](C[n(1053)],{min:0,max:1,step:.1})}),l[n(662)](C[n(938)][n(820)],{label:"层级",name:["normalStyle",n(1383)],children:l.jsx(C[n(1053)],{})})]},n(752))]})]})},"basic"),l[n(662)](Ft,{tab:"状态",children:v.type===n(650)&&v[n(1933)]?l[n(662)](ol,{node:v,updateNode:o,materials:d}):l.jsxs("div",{className:"mb-4",children:[l[n(1304)]("div",{className:"flex items-center justify-between mb-2",children:[l[n(1304)](n(1082),{className:"font-medium",children:["状态列表",l[n(662)](C.Tag,{color:n(1519),className:n(484),children:M.length})]}),l[n(662)](C[n(1539)],{type:n(1621),size:n(976),icon:l[n(662)](le.PlusOutlined,{}),onClick:E,children:n(1504)})]}),l.jsx("p",{className:n(1734),children:n(1801)}),M[n(2062)]>0&&l[n(662)]("div",{className:n(430),children:l[n(662)]("div",{className:n(491),children:l.jsxs("div",{children:[l.jsx("span",{className:n(1920),children:"当前状态:"}),l.jsx(n(1082),{className:n(2043),children:"由表达式自动计算"})]})})}),M[n(2062)]===0?l[n(662)](n(1861),{className:n(836),children:"暂无状态,点击上方按钮添加"}):l[n(662)](C[n(824)],{ghost:!0,defaultActiveKey:M[0]?.id+x,children:M[n(1008)]((L,B)=>l[n(662)](B0,{header:l[n(1304)]("div",{className:n(1055),children:[l[n(662)](n(1082),{className:n(1546),children:B+1}),l[n(662)](n(1082),{className:"font-medium",children:L[n(413)]}),l[n(662)](C.Tag,{color:n(1170),className:n(676),children:L.material[n(1721)]})]}),extra:l[n(1304)](C.Space,{size:n(976),onClick:A=>A[n(1118)](),children:[l.jsx(C[n(1539)],{type:n(1525),size:"small",icon:l[n(662)](le.ArrowUpOutlined,{}),disabled:B===0,onClick:A=>{A.stopPropagation(),X(L.id,"up")}}),l[n(662)](C[n(1539)],{type:n(1525),size:n(976),icon:l[n(662)](le[n(1399)],{}),disabled:B===M[n(2062)]-1,onClick:A=>{A[n(1118)](),X(L.id,"down")}}),l.jsx(C[n(1539)],{type:"text",size:n(976),icon:l[n(662)](le[n(1449)],{}),onClick:A=>{A[n(1118)](),F(L)}}),l.jsx(C[n(1539)],{type:"text",size:n(976),danger:!0,icon:l[n(662)](le.DeleteOutlined,{}),onClick:A=>{A[n(1118)](),O(L.id)}})]}),children:l[n(1304)](C[n(938)],{layout:n(984),children:[l[n(662)](C[n(938)][n(820)],{label:n(1769),children:l.jsx(C[n(2162)],{value:L[n(413)],onChange:A=>U(L.id,{name:A[n(854)][n(1989)]}),placeholder:n(2087)})}),l[n(662)](br,{status:L,onUpdate:A=>U(L.id,A),onAppendToExpression:A=>{const P=n;m(j=>({...j,[L.id]:(j[L.id]??L[P(901)])+A}))}}),l[n(662)](C.Form[n(820)],{label:n(2063),help:n(792),children:l[n(662)](Bg,{value:z[L.id]??L[n(901)],onChange:A=>m(P=>({...P,[L.id]:A.target[n(1989)]})),onBlur:A=>{const P=n;U(L.id,{expression:A[P(854)][P(1989)]}),m(j=>{const Z={...j};return delete Z[L.id],Z})},rows:3,placeholder:"return true;"})}),l[n(662)](C[n(938)][n(820)],{label:n(1260),children:l[n(1304)](n(1861),{className:n(1055),children:[l[n(662)](C.Tag,{color:n(1519),children:L[n(972)][n(413)]}),l[n(662)](C[n(736)],{color:n(1170),children:L[n(972)][n(1721)]}),l[n(662)](C[n(1539)],{type:"link",size:"small",icon:l[n(662)](le[n(1400)],{}),onClick:()=>W(L.id),children:n(1718)})]})}),l[n(662)](C[n(918)],{style:{margin:n(985)}}),l[n(1304)](n(1861),{className:n(496),children:[l.jsxs(n(1861),{className:"flex items-center justify-between mb-2",children:[l.jsx(n(1082),{className:n(2013),children:"物料属性"}),l[n(662)](C.Tag,{children:L[n(972)][n(413)]})]}),l.jsx(zr,{material:L[n(972)],onSave:A=>N(L.id,A)})]})]})},L.id+x))})]})},n(1578)),l[n(662)](Ft,{tab:"控制",children:l[n(1304)](C[n(938)],{form:u,layout:n(984),onValuesChange:I,children:[l.jsx(C[n(938)][n(820)],{label:"可拖拽",name:[n(2006),n(1957)],valuePropName:n(1188),children:l.jsx(C.Switch,{})}),l[n(662)](C.Form[n(820)],{label:n(1935),name:[n(2006),n(411)],valuePropName:n(1188),children:l[n(662)](C[n(1788)],{})}),l[n(662)](C[n(938)][n(820)],{label:"可调整大小",name:[n(2006),n(1066)],valuePropName:n(1188),children:l[n(662)](C[n(1788)],{})}),l[n(662)](C[n(938)][n(820)],{label:n(2108),name:["controlInfo",n(1863)],valuePropName:n(1188),children:l[n(662)](C[n(1788)],{})})]})},"control"),l[n(662)](Ft,{tab:n(1800),children:l[n(662)](Mg,{nodeId:v.id})},"eventflow")]})}),l[n(662)](n(1861),{className:n(681),children:l.jsxs(n(1861),{className:"text-xs text-gray-500",children:[l[n(1304)]("div",{children:[n(568),v.id[n(423)](0,8),n(2158)]}),l[n(1304)](n(1861),{children:[n(1017),M[n(2062)]]})]})}),l[n(662)](C[n(1263)],{title:n(1237),open:w,onCancel:()=>{g(!1),b(null)},footer:null,width:600,children:l.jsx(n(1861),{className:n(391),children:l[n(1304)](C.Collapse,{ghost:!0,defaultActiveKey:["basic",n(2022),n(1525),"line"],children:[l[n(662)](B0,{header:n(1753),children:l[n(662)]("div",{className:"grid grid-cols-4 gap-2",children:d.filter(L=>["矩形","圆形","圆角矩形"].includes(L[n(413)]))[n(1008)](L=>l[n(662)](Sc,{material:L,onClick:()=>G(L)},L.id))})},n(2154)),l[n(662)](B0,{header:n(522),children:l[n(662)]("div",{className:n(2038),children:d[n(1928)](L=>["阀门","泵","罐体"].includes(L.name)||L.type===n(1214)&&!["矩形","圆形",n(1738)].includes(L[n(413)]))[n(1008)](L=>l.jsx(Sc,{material:L,onClick:()=>G(L)},L.id))})},"device"),l.jsx(B0,{header:"文本",children:l[n(662)]("div",{className:"grid grid-cols-4 gap-2",children:d.filter(L=>L.type==="TEXT").map(L=>l[n(1304)](n(1861),{className:n(1479),onClick:()=>G(L),children:[l[n(662)](n(1861),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[n(662)](n(1082),{className:n(1415),children:"T"})}),l[n(662)](n(1082),{className:n(676),children:L[n(413)]})]},L.id))})},n(1525)),l[n(662)](B0,{header:"线条",children:l.jsx("div",{className:n(2038),children:d[n(1928)](L=>L[n(1721)]===n(1744))[n(1008)](L=>l[n(1304)](n(1861),{className:n(1479),onClick:()=>G(L),children:[l[n(662)](n(1861),{className:n(1201),children:l.jsx("div",{className:"w-8 h-0.5 bg-gray-400"})}),l[n(662)](n(1082),{className:n(676),children:L.name})]},L.id))})},"line")]})})})]}):l[n(662)](n(1861),{className:n(595),children:l.jsx(C.Empty,{description:n(2015)})})},Sc=({material:e,onClick:n})=>{const t=c,x=e[t(1721)]==="IMAGE"?e[t(1444)]:void 0;return l.jsxs(t(1861),{className:t(1479),onClick:n,children:[l.jsx(t(1861),{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center",children:x?l[t(662)](t(1101),{src:x,alt:e.name,className:t(1914)}):l[t(662)](t(1082),{className:"text-xs",children:e[t(413)][0]})}),l.jsx(t(1082),{className:t(676),children:e[t(413)]})]})},Dg="ConfigEditor-module__configEditor__dinNG",Lg={configEditor:Dg},Ng=c(1450);function kc(e){return Array[c(738)](e)}const Pc=({open:e,onClose:n})=>{const t=c,{dataPool:x,addDataPoolItem:o,updateDataPoolItem:r,removeDataPoolItem:i}=Ee(),[a]=C[t(938)][t(1049)](),[d,s]=D[t(744)](null);D[t(433)](()=>{const g=t;!e&&(s(null),a[g(1510)]())},[e,a]);const f=()=>{const g=t;s(g(2055)),a[g(1632)]({name:g(1625)+(x[g(2062)]+1),sampleJson:""})},u=g=>{const p=t;s(g.id),a[p(1632)]({name:g[p(413)],sampleJson:JSON[p(552)](g.sample??{},null,2)})},y=g=>{const p=t,b=g.trim();if(!b)return{};const z=JSON[p(1499)](b);if(z===null||typeof z!==p(1918))throw new Error(p(1064));if(Array[p(738)](z)){for(let m=0;m<z.length;m++)if(typeof z[m]!==p(1918)||z[m]===null)throw new Error(p(1422)+(m+1)+p(1252));return z}return z},h=()=>{const g=t;a[g(701)]()[g(2156)](p=>{const b=g;let z;try{z=y(p[b(1612)])}catch(v){C[b(2068)][b(1750)](v instanceof Error?v[b(2068)]:b(732));return}const m=p.name[b(562)]();if(!m){C[b(2068)][b(1750)](b(1595));return}d===b(2055)?(o({name:m,sample:z}),C[b(2068)][b(767)](b(998))):d&&(r(d,{name:m,sample:z}),C[b(2068)].success(b(643))),s(null),a.resetFields()})[g(1780)](()=>{})},w=[{title:"名称",dataIndex:t(413),key:t(413)},{title:"类型",key:t(1721),width:100,render:(g,p)=>kc(p[t(1550)])?l[t(1304)](C.Tag,{color:t(1519),children:[t(1432),p[t(1550)][t(2062)],t(1393)]}):l[t(662)](C[t(736)],{children:"对象"})},{title:t(1411),key:t(785),width:90,render:(g,p)=>{const b=t;if(kc(p[b(1550)])){const z=p[b(1550)][0];return z?Object.keys(z)[b(2062)]:0}return Object[b(785)](p[b(1550)]||{})[b(2062)]}},{title:"操作",key:t(1586),width:160,render:(g,p)=>l.jsxs(C[t(1389)],{children:[l[t(662)](C[t(1539)],{type:"link",size:t(976),icon:l[t(662)](le[t(1400)],{}),onClick:()=>u(p),children:"编辑"}),l.jsx(C[t(809)],{title:"删除该数据集?",description:t(2031),onConfirm:()=>{const b=t;i(p.id),C[b(2068)][b(767)]("已删除,相关状态已解除数据集绑定")},children:l[t(662)](C[t(1539)],{type:"link",size:t(976),danger:!0,icon:l[t(662)](le[t(1142)],{}),children:"删除"})})]})}];return l.jsxs(C[t(1263)],{title:t(977),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1304)]("p",{className:t(1930),children:[t(1755)," ",l[t(662)](t(1622),{className:t(677),children:t(1628)}),t(630)]}),l[t(662)](t(1861),{className:t(745),children:l[t(662)](C[t(1539)],{type:t(1621),icon:l.jsx(le[t(2091)],{}),onClick:f,children:"新建数据集"})}),d&&l.jsxs(t(1861),{className:t(965),children:[l[t(1304)]("div",{className:"font-medium mb-2",children:[d===t(2055)?"新建":"编辑",t(1570)]}),l[t(1304)](C[t(938)],{form:a,layout:t(984),children:[l[t(662)](C.Form[t(820)],{name:t(413),label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(662)](C[t(2162)],{placeholder:"如:电机测点集"})}),l[t(662)](C[t(938)][t(820)],{name:t(1612),label:"示例数据(JSON 对象或数组)",rules:[{required:!0,message:"必填"}],children:l.jsx(C[t(2162)][t(1590)],{rows:12,className:"font-mono text-sm",placeholder:Ng})}),l[t(1304)](C[t(1389)],{children:[l.jsx(C[t(1539)],{type:t(1621),onClick:h,children:"保存"}),l[t(662)](C[t(1539)],{onClick:()=>{const g=t;s(null),a[g(1510)]()},children:"取消"})]})]})]}),l.jsx(C.Table,{size:t(976),rowKey:"id",dataSource:x,columns:w,pagination:!1,locale:{emptyText:t(2163)}})]})},{Header:Sg,Sider:Ic,Content:kg}=C[c(1308)],Pg=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:x,className:o="",style:r,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:d=!0,customMaterials:s,initialDataPool:f,initialEventFlow:u,externalEventActions:y,onUploadSvg:h,defaultTestData:w,backgroundImageUrl:g,initialViewportWidth:p})=>{const b=c,[z,m]=D.useState(!1),[v,M]=D[b(744)](!1),[I,E]=D.useState(""),[G]=D[b(744)](()=>[{paramsCode:b(1791),paramsName:"通频速度有效值",value:25,paramsUnit:b(831)},{paramsCode:"002",paramsName:"通频加速度有效值",value:1.5,paramsUnit:b(1953)}]),O=w!==void 0?w:G,U=i&&!t,{exportScheme:F,importScheme:X,nodes:W,materials:T,dataPool:N,eventFlow:L,root:B,addMaterial:A,setDataPool:P,setEventFlow:j,setExternalHandlerCatalog:Z}=Ee();D[b(649)](null);const R=D.useRef(!1);D[b(433)](()=>{const $=b;if(!R[$(515)]&&(R.current=!0,Go[$(1575)](se=>A(se)),e&&X(e),u!==void 0&&j(u),y&&y.length>0)){Z(y);const se={};for(const xe of y){const oe=String(xe[$(438)]??"")[$(562)]();oe&&xe.handler&&(se[oe]=xe[$(763)])}Object.keys(se)[$(2062)]>0&&en[$(1839)]({external:se})}},[]),D[b(433)](()=>{const $=b;s&&s[$(2062)]>0&&s[$(1575)](se=>A(se))},[]),D.useEffect(()=>{f!==void 0&&P(f)},[f,P]),D.useEffect(()=>{if(n){const $=F();n($)}},[W,T,N,L,B,n,F]);const _=D[b(983)](()=>{const $=b,se=F(),xe=JSON.stringify(se,null,2),oe=$(1226)+encodeURIComponent(xe),ie=$(2101)+Date[$(429)]()+".json",k=document[$(1759)]("a");k[$(1727)]($(1016),oe),k[$(1727)]($(1363),ie),k.click(),C[$(2068)].success($(937))},[F]),Q=D[b(983)](()=>{const $=b;try{const se=JSON[$(1499)](I);X(se),m(!1),E(""),C.message[$(767)]($(499))}catch{C.message[$(1750)]($(428))}},[I,X]),te=D[b(983)]($=>{const se=b,xe=new FileReader;return xe[se(1527)]=oe=>{const ie=se;try{const k=oe[ie(854)]?.[ie(1596)],S=JSON.parse(k);X(S),C.message[ie(767)]("导入成功!"),m(!1)}catch{C[ie(2068)][ie(1750)](ie(1010))}},xe.readAsText($),!1},[X]),ce=D.useCallback(()=>F(),[F]);return D[b(610)](D[b(649)]?.(),()=>({getScheme:ce,exportScheme:F,importScheme:X}),[ce,F,X]),l[b(662)](C[b(940)],{locale:qc,children:l[b(662)](b(1861),{className:Lg[b(2121)],style:r,children:l[b(1304)](C.Layout,{className:b(888)+(t?"":"overflow-hidden")+" "+o,children:[U&&l[b(1304)](Sg,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[b(1304)](b(1861),{className:b(857),children:[l.jsx(b(1861),{className:b(712),children:b(1228)}),l.jsxs(b(1861),{className:b(501),children:[W.length,b(1960)]})]}),l.jsxs(C[b(1389)],{children:[x,!t&&l[b(1304)](l.Fragment,{children:[l.jsx(C.Tooltip,{title:"导出 JSON",children:l.jsx(C[b(1539)],{icon:l[b(662)](le.DownloadOutlined,{}),onClick:_,children:"导出"})}),l[b(662)](C[b(1273)],{title:"导入 JSON",children:l.jsx(C[b(1539)],{icon:l[b(662)](le[b(1896)],{}),onClick:()=>m(!0),children:"导入"})}),l[b(662)](C[b(1273)],{title:b(2112),children:l[b(662)](C[b(1539)],{icon:l[b(662)](le.DatabaseOutlined,{}),onClick:()=>M(!0),children:b(1600)})})]})]})]}),l[b(1304)](C[b(1308)],{children:[a&&!t&&l[b(662)](Ic,{width:280,className:"bg-white",theme:b(1242),children:l[b(662)](To,{onUploadSvg:h})}),l[b(662)](kg,{className:b(1330),children:l.jsx(mr,{defaultTestData:O,readonly:t,backgroundImageUrl:g,initialViewportWidth:p})}),d&&!t&&l[b(662)](Ic,{width:360,className:b(1174),theme:b(1242),children:l[b(662)](Nc,{defaultTestData:Array.isArray(O)?O:void 0})})]}),l[b(662)](Pc,{open:v,onClose:()=>M(!1)}),l.jsx(C[b(1263)],{title:b(1009),open:z,onOk:Q,onCancel:()=>{m(!1),E("")},width:600,children:l[b(1304)]("div",{className:b(2160),children:[l[b(1304)](b(1861),{children:[l[b(662)]("p",{className:b(392),children:b(440)}),l[b(662)](b(1968),{type:"file",accept:".json",onChange:$=>{const se=b,xe=$[se(854)][se(1889)]?.[0];xe&&te(xe)},className:`block w-full text-sm text-gray-500
|
|
9
|
+
file:mr-4 file:py-2 file:px-4
|
|
10
|
+
file:rounded-full file:border-0
|
|
11
|
+
file:text-sm file:font-semibold
|
|
12
|
+
file:bg-blue-50 file:text-blue-700
|
|
13
|
+
hover:file:bg-blue-100`})]}),l.jsx(b(1861),{className:"text-center text-gray-400",children:"或"}),l[b(1304)]("div",{children:[l.jsx("p",{className:"mb-2",children:"粘贴 JSON 内容:"}),l.jsx(b(1442),{value:I,onChange:$=>E($[b(854)].value),placeholder:b(1303),className:b(1307)})]})]})})]})})})};be[c(1779)]=mr,be[c(2100)]=Pg,be[c(948)]=Pc,be.EventFlowBinding=hr,be[c(1280)]=To,be[c(1923)]=Mx,be.PropertyPanel=Nc,be[c(1768)]=Eo,be[c(748)]=Ao,be[c(1224)]=Ho,be[c(1825)]=gx,be.evaluateStatusExpression=ux,be[c(911)]=en,be[c(1565)]=Yo,be[c(1421)]=Go,be[c(832)]=Ee,Object[c(2e3)](be,Symbol[c(907)],{value:"Module"})});function _0x29ef(){const be=["qwXPz25sAwDODe91DgXPBMvK","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","5Rwl6k+v5PwW5O2UicHku09okq","y3jLyxrLrwXLBwvUDa","Dg91y2HHyMXL","DY1MDwXSigP1C3rPzNKTzw5K","yxbWzw5Kq2HPBgq","EMHFq04","sw1Hz2u","q2XHC3mGzxH0zw5KCYb2ywX1zsa","lMPZB24","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","yNvPBgrnzxjNzwreyxrHuMvJB3jK","54Q25Ocb5zcn56EW","Dg91y2HLBMq","54k55yE75yI35PAW","Bw91C2v1Cc56B29T","iZaWmdaWma","vgfICW","C291CMnLswq","C2vSzwn0ywjSzq","6k+36ycj5OUP5zgO","C3zNigXPBMu","q2fUDMfZ","y2f0y2G","Cg9ZAxrPB24","i2y1mJiYza","54k55yE76zMn5BQp","C2nOzwr1BgvY","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","zwXLBwvUDhntzwXLy3rHyMXL","ywjZ","u3DPDgnO","Dgv4Dc1NCMf5ltGWma","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","mdaX","zgvMyxvSDfzPzxC","BwvYz2u","yxjPyvjVBgu","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","ywrK","zM9YD2fYzfjLzG","6iQc54k55zcn56EW","Cgf0Ae9WDgLVBNm","5lQl5lU25Rwb","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","57Ur5A6A5A2x5Q61","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","6k+36ycj5OUP5A2J5BQM","C29Tzq","C3vIBwL0","Bw91C2vmzwf2zq","DMfSDwvtDhLSzq","6kEM5y+roIa","zML0vMLLD09WDgLVBNm","DY04igGTmc41igjNlwDYyxKTndaW","iI8+pc9ZDMC+","Dg9W","ugfUzwW","Bwf0y2HLCW","6lEZ6l2S55s75BId","C3rYB2TLv2LKDgG","yM9YzgvYuMfKAxvZ","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","ChvYCgXL","CMvWzwf0kdGSidfMCIK","y2XLyxi","C2vSzwn0qwXS","BM9KzuvSzw1LBNq","y3jLyxrLrgvMyxvSDfn0yxr1CW","zgvSzxrL","AxnAB29TAw5Nt3jqyw5UAw5N","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","qxjYB3C","yNvPBhrPBG","vgHLig9SzcbLzgDLihDPDgGGAwq9","55s75BId566H55cg","zNv0DxjL","DgHYB3DUrxjYB3i","B25oB2rLq2XPy2S","5y+V5O6s5BQp","B25dBgLJAW","w2rHDgeTAgfUzgXLpsjLBMqIxq","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","Dw5PDa","x25LEhq","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","Bw91C2vTB3zL","z2v0uhjVDg90ExbLt2y","BM9Kzvr5CgvZ","C3rHCNrxAwr0Aa","y2XPzw50vg9W","CMHV","CMvHy3qTzMXVD19FBwfYA2vY","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","y3vYC29YlwnYB3nZAgfPCG","rxLLt3v0BgLUzwq","idaGvG","5Rc05BMZ5yIg5BId","sxrLCMfIBguGy2fUBM90igjLig51BgW","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","z2v0rwrNzuLK","x2jSyw5R","C2HVD0DYAwq","CMvSzwfZzuXVy2S","zgL2","BgfIzwXtDhLSzq","AxntzwXLy3rHyMXL","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","mda1","5BEM5A+56B2q","y2fUDMfZ","zxjYB3iWmti","cIaGicaGicaGica","Dw5RBM93BIb0ExbLoIa","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","zMLSzq","C2nHBgvz","zMXVD0rHDge","5lQl5lU25Rwb5yIB5BU65OIq5yQF","zxHLy3v0zuv2zw50rMXVDW","5B+R6ycF5A+56B2q","Bw92zwq","DMfSDwvdB2XVCG","yMXVy2SGDhj1BMnHDgu","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","6iom5PMV5zU+54Mh","EGOGicaGicaGie0","rg93BLnXDwfYzu91DgXPBMvK","CMvZAxPLrgLYzwn0Aw9U","zxH0zw50","x2nHBgW","zMLSzxm","zxH0zxjUywXfDMvUDeTLEq","CM9VDfbHCMvUDeLUzgv4","y2XVC2vZDa","z2v0qxr0CMLIDxrL","y29UDgvUDgvKAxrHyMXL","C3rHCNroB2rLwq","vxbSB2fKt3v0BgLUzwq","6k+36ycj5OUP5OMN6kgm5PA55BYp","y2fUy2vS","Bwf4wM9VBq","CgHHBNrVBq","zxHPDa","zxjYB3iWmdG","ChjLDLzPzxDWB3j0","AxndBgLJA2fIBgu6","uhjVBwLZzq","CMv0DxjUig51BgW7","rNjHz21LBNq","Aw50zxjHy3rPB25xAwr0Aa","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","zxjYB3iWmdq","BgLUzvr5Cgu","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","DhjHBNnWyxjLBNq","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","zgvZDgLUyxrPB24","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","yNvPBhrPBKLK","B2jQzwn0","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","C3zN","DMLLDW","tM9KzvjLBMrLCMvY","DhjPz2DLCK5VzgvdAgfUz2vZ","C291CMnLtgfIzwW","DgL0Bgu","zxHLy3v0zq","zMLSDgvY","CMvTB3zLq2HPBgq","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","Dgv4DenVBNrLBNq","576K57UexW","y2HPBgrYzw4","5zU+54Mh5BgE5OcN","5y+V54k55yE7","zhjVCevMzMvJDa","C2nHBgvuBW","zwrNzq","BwfYA2vYu3rHCNq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","ChGG","w1jLywn0iezSB3DDoIa","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","C3LTyM9S","AgvPz2H0","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","C2v0qxr0CMLIDxrLCW","rwrNzsbMCM9Tia","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","CMzFx3DYyxbWzxi","y29UDgv4Dg1LBNu","Bs9ZWRi","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","DhjHBNnSyxrLwcGTntaLkq","BgLI","AxneCMfNz2fIBgu","5y+w5RAi5ywO6ycj","rxnJyxbL","ios4QUIkGUEcUq","Dg91y2HTB3zLlMrYywC","CMv0DxjUigzHBhnLoW","Bwf0CML4","qxjYB3DsAwDODa","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","zgvIDwC","Aw5WDxq","Aw5ZDgfUDa","C3rLCfbVC2L0Aw9U","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","yxv0B1bHBK9UtM9KzurYywC","B25ZzwXLy3rZDgfYDa","5BEY5OMR5O+p","AxnjBNrLCM5HBa","u2LTCgXLqMv6AwvYrwrNzq","Dg9qCMLTAxrPDMu","6l6t5ywL5Qch562+5PAh5PYS","y3LHBG","57Ur5A6A5PwW5O2U6zUg","Dgv4Dc1SzYbMB250lw1LzgL1Bq","x3bHCMvUDgfNzq","cIaGicaGicaG","zMXLEc0X","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","y29UDgv4De1LBNu","C2vSzwn0q2HPBgrYzw4","C3vWChjLC3nLza","DMfSDwu","i2yWzJbMma","x2zPBMfSAxPLCNm","BMv3","yM91BMrHCMLLCW","Dg9qB3nPDgLVBG","BgfZDeLUzgv4","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","5PwW5O2U6k+35Rgc","C29SAwq","zgvMAw5LuhjVCgvYDhK","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","zg91yMXLq2XPy2S","C2uTCMvZAxPL","zgvMyxvSDevKz2vpChrPB25Z","zMLUzeLUzgv4","y29UDhjVBeLUzM8","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","yMLUze5VzgvfDMvUDa","CMvTB3zLrxzLBNrmAxn0zw5LCG","5PwW5O2U5QIH5OUF","u2vSzwn0t3v0BgLUzwq","54k55yE75y2h5BQp","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","Aw1Hz2uVkG","6k+36ycj5OUP5lIa5lIQ6iQc54k5","vhjHBNnMB3jTq29TCg9Uzw50","DxnLCLnLBgvJDgLVBLjLy3q","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","BM9YBwfSu3r5Bgu","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","zgv2AwnL","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","CMv0DxjU","twfYA2vYrgvMAw5PDgLVBNm","Bwf0zxjPywXZ","zw5KlG","C3rYAwn0","Eg1SBNm","DhjHBNnSyxrLrxH0zw50","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","5ywZ6zET6kgm","w3jVBgu9iMXPC3rIB3GIxq","y2XVC2vK","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","yxbWBgLJyxrPB24","Dg91y2HLBMqUzhjHzYb0B3vJAgnHBMnLBc5KCMfN","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","Dg9izxHtDhjPBMC","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","CM90yxrL","mda2","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","zMXLEc0XihjLBgf0AxzL","kow9K+wjJsK","yxr0CI4","yMX1CG","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","CMLNAhq","y2vUDgvYwa","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","BwfYz2LU","BM9KzvK","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","x19UzxDFxW","uhjVDMLKzxi","imk3ia","B25nB3zL","CgfYDgLHBa","zM9JDxnHyMXL","5PQc5PEG5lQl5lU25Rwb57Ur5A6A","BgvUz3rO","5OMN6kgm6kgO6l6+5BYp","5lIl5lIa5lIw57QQ","ufjpuevsvfLFq0HbtKDf","qxjYB3DdBg9Zzwq","y29YBMvY","BwvZC2fNzq","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","mc4Y","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","y2fUy2vSq29UBMvJDgLVBG","zxzLBNrcBg9JAW","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","zg9Uzq","C291CMnLrxzLBNq","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","zNjLzq","BgLUzwfY","zgvSDgfy","tKvhqvrjvKvFsu5gsu5jvfK","mtzlseP2v0C","zxzLBNrcBg9JA0LK","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","5Pon5l2C5OIq5yQF","6l6t5ywL54Q25Ocb5zcn56EW","zgvZDhjVEq","CM90yxrLka","55+L6ygt5lQg","ugX1C091DgXPBMvK","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","ChGSia","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","yxnpyNnLCNzHyMXL","5PQc5PEG54MP5PAz","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","x2LK","5BYa5AEl5PEL5PYF","q29UzMLNrwrPDg9Y","C2nOzw1LxW","Aw5SAw5Lu2nYAxb0","6k+35AgR5yAz6k+35Rgc5Qch6k+g","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","ndmZntmZEeHorMXL","ChjLDMvUDerLzMf1Bhq","Aw5ZzxqOmtaWjsK","5y+V6ycj5lIT","CMvJB25Uzwn0ywjSzq","C2vSzwn0C3rHCNqUzhjHzW","jhTSywjLBh3MLBdPH4/POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","Bwv0yuTLEq","AhLWB3q","DxnLCK5Vzgu","rg90CW","5Asn5yI25OIq5yQF","BM9YBwfS","rwrNzvrLEhq","yxbWBgLJyxrPB24VANnVBG","y29UzMLNrwrPDg9Y","x2LUBMvYu3vIC2nYAwjL","iw1Ylta","57Ur5A6A6iQc54k5","ios4JEwTMowCQa","CMvZzxq","5y+Z5A+56B2q","C29YDa","BM9KzvG","zMLSBenVBg9Y","BgfIzwXgB250v2vPz2H0","u1fsvdi","6kEM5y+r5PA55BYp","57Ue5zci6ycj5lIT6iQc54k5","oduYmdm4wuLQs0Tk","y2XHC3m","zgvJAw1HBhm","BgLUzvDLAwDODa","zxjYB3iWmdK","6ycj5OUP57Ur5A6A5A2x5Q61","Aw52zxj0wa","C3DPDgnOq2fUDMfZ","B25oB2rLrhjHzW","zMLYC3rfBgvTzw50q2HPBgq","CMv0DxjUihrYDwu7","6k+35AgR5yAz5O+q56s65yAf5A65","yNvPBhrPBKnVBMzPzW","mZe3mtq4m2HxyK1ABW","zwrPDa","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","57Ut5P2F5BM05lU9","zxjYB3iWmdy","Cg93","yMfZAwm","ChGP","DgHLBG","B25ezwXLDgu","lI4U","BM9Kzxm","C3bHy2uTEs00","6k+36ycj5OUP5yAf572U5yQO5l2C","sw5WDxq","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","tK9erv9eruXfveu","B25nB3zLrw5K","ChjLDG","5P2Hl+MHTq","y29UDgfPBNm","DMfSDwvgB250u2L6zq","su5qvvq","AM9PBG","CMvHy3qTzMXVD19FCMvUzgvYzxi","mI4WlJa","DxnLtgf5B3v0rwzMzwn0","BgLUzxm","y2XLyxjbBgW","y2XHC3noyw1L","5A+g6zUg54k554Q2","6zw/5yIs6zE06zQu","6ycj5OUP5PwW5O2U6zUg","qebPDgvYyxrVCG","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","CMvQzwn0","BM9KzxneCMfNz2fIBgu","y29SB3i","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","yM9YzgvYq29SB3i","BgfIzwXgB250u2L6zq","z2v0tM9Kzuv2zw50qMLUzgLUz3m","A2v5Dxa","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","z2v0rgf0yq","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","BwiTmG","i2iXyJfInW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","C3rHCNruCMfUC2L0Aw9U","CMDI","5yc85PAh5PYS","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","zNjVBq","C2nHBgvcEq","CMzFx21PBMLTyxa","5z6c55U05yIg5BId","y3vYDMf0DxjL","zhvYyxrPB24","5lIl6l295PAh5lU2","zhjHz0HHBMrSzq","C2v0vgLTzq","B250B3vJAhn0yxj0","C2v0ug9PBNrLCKnHChr1CMu","AxndBgLJA2fIBgu","vMvYDgLJywW","BMfTzq","5Asw6yoO5lQl5lU25Qch6k+g","zwXLBwvUDezYB21qB2LUDa","AgfUzgXLCW","CMvHy3qTzMXVD19FBwLUAw1HCa","ltuSltqGmcWWic01ldqGltuSltq","CMvHy3qTzMXVD19FBM9Kzxm","zw5Kwa","zgf0yvjLCxvLC3q","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","C2XPy2u","CMvTB3zLqxr0CMLIDxrLtLm","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","5RIf56M65OMa5PYj","B25oB2rLrg91yMXLq2XPy2S","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","BM93","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","C25HCfrVr3jPza","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","DxnLrwzMzwn0","zgf0yvrYyw5ZzMvY","C2vSzwn0zwrtDgf0Dxnjza","5yc85Qc35BYp","ywrKrxzLBNrmAxn0zw5LCG","A2v5","5BgE5OcN6z2I5P2/","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","ltzWEa","y29UBMvJDgfIBgvLBMq","qMfJA2DYB3vUza","BgfIzwW","Ag9YAxPVBNrHBa","zM9YBwf0shnS","r3jHCgHwAwv3","tw96vxnLCLnLBgvJDa","y2XLyxjjBNrLCNzHBa","y29UDgvUDa","BwLUAw1HCc5HCMLHtgfIzwW","5ywO6ycj5OMa5PYj","5OMN6kgm5lUJ56cb","CMDIysG","Bw91C2v1Cc5KCMfN","zM9UDfnPEMu","Aw5SAw5LlwjSB2nR","5lIk5lYG5zU+54Mh","qMv6AwvYrwrNzuLUDgvYBMfS","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","BgLZDa","ig5VDcbMB3vUza","DMLLD3bVCNq","BwvYz2vsDw50Aw1LsgfUzgXLCNm","Cg9PBNrLCI1LDMvUDhmTyxv0BW","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","vxbtCxvHCMvpDxrSAw5Lza","AgfZrxjYB3i","B3b0Aw9UCW","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","C2vSzwn0zwroB2rLCW","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","B2zMC2v0v2LKDgG","x3n1yNnJCMLIzq","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","DxnLtwvTBW","Bwf0y2HnzwrPyq","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","y2HYB21L","6BYG5Qch56E75ywL","yw50ze1LC3nHz2u","vg9W","zxHLy3v0Aw9Uugf0Aa","BwWTmG","ugfYzw50ig5VzguG","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","Bgv2zwW","y3vYC29YlwDYywi","AgfZqxr0CMLIDxrL","lNH5zMXVD19FDMLLD3bVCNq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","ywzMzwn0C1K","Aw52ywXPza","CgfYDgLHBe9IC2vYDMvY","y29UDgfPBG","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","6iom5PMV6Ake6kEi","5A+85ywL5OIq5yQF77Yb","CMvHy3qTzMXVD19FyxjYB3DOzwfK","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","y2XHC3nmAxn0","y29UDgvUDeLUzM8","Aw52B2TLuNvUDgLTzuHHBMrSzxi","z2v0rxzLBNrcBg9JAW","6iQc54k55PwWoIa","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","y29WEq","C2vSzwn0zwq","Bw91C2vTB3zLlNPVB20","x25HBwvZ","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","x3jLBw92zvbHCMvUDa","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","y3vYCMvUDa","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","w3jVBgu9iMnVBwjVyM94iL0","zxzLBNrgBg93rgf0yq","Bw91C2vz","tsaYmcaWieWGmcaWidaGmJa","zM9UDc1TzwrPDw0","6k6+5Ash5zU+5Qch","DhjHBNnSyxrLwq","y3vYCMvUDenHBNzHC0LK","rw50zxi","6ycj5OUP5PE26zE0","6ycj5OUP5QIH5BYp","AwrLBNrPzMLLCG","ywjZB2X1DguGDg9WltaGBgvMDc0W","zwrNzxm","CMvXDwvZDefUAw1HDgLVBKzYyw1L","zgvNksa","AxrLCMf0B3i","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","zNvSBa","AgfUzgXLrg9TtM9Kzq","zw5KlNn0EwXLlG","u21VB3rOu3rLCevKz2u","6ycj5OUP5PEL5PYF","sgfUzgXL","ChvZAa","B2jZzxj2zq","Bw91C2vpDMvY","vxbSB2fK","Aw5JBhvKzxm","lIbozxCGCg9ZAxrPB24SihG6ia","C2L6zq","6k+35Rgc5Qch6k+g","DhjHBNnSyxrLka","C2nHBguO","C25HCeDYAwq","C3rYAw5NAwz5","qxjYB3DvCa","q29UBMvJDgLVBKXPBMu","Cgf0Aa","zxjYB3iWmtu","uMvHy3q","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","DMLLD3bVCNrjBML0AwfSAxPLza","x3zHBhvL","DhjPBq","zNjVBu5Vzgu","BgfIzwXcz1n0EwXL","DgLTzxjjza","55s75BId5A+85yE65OIq5yQF77Yb","t3b0Aw9U","6iQc54k5ieLeoIa","qM90Dg9T","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","ChjVBwLZzq","BwfYA2vYrw5K","zgf0ys1Pza","BgLUzujVEa","B2jZzxj2zwq","5A2q6iQc54k5ia","ChjVDg90ExbL","x+EkTUAaGq","zMLYC3rdAgLSza","mdaZ","yxv0B1bHBK9Uq29UBMvJDa","zMLUza","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","mNb4ihnVBgLKicmXodKWzMy","EwvSBg93","mtKYma","55s754k557Q/","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","q2XVC2vpDxrSAw5Lza","zw5K","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","6ycj5OUP5zgO","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","C3bHy2uTEs0Z","Dg9qCM9TAxnL","Aw5Uzxjive1m","qxjYB3DeB3DU","yM94lxnLBgvJDa","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","Aw52zxjZzq","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","AxnjzgvUDgL0Eq","5lIk5RI46l+E57Q/oG","qebVyNnLCNzHyMXL","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","DxnLsw1WzxjHDgL2zuHHBMrSzq","CgfYzw50swq","zxjYB3iWmdu","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","zwrNzuXVB2T1Ca","y2HLy2TfCxvHBgL0Eq","Cgf0DgvYBI0","t1busu9o","zgf0yq","CMvTB3zL","BgLUzs1KCMf3","yMfZzvzHBa","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","x2vUDgvY","CMvHy3qTzMXVD19FzwrNzq","57ky6ls0iePtt04G5yAf5A6577YA","C3rHCNrbBMDSzq","C2HVDwXKvw5ZDwjZy3jPyMu","C3rLCa","zg93BG","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","CgfUwM9VBq","Cg9SEwXPBMu","B3v0Chv0CW","BM9Kzuv4DgvUDa","Bw9KztO","zgLTzw5ZAw9UCW","BMv4DfnPyMXPBMC","DgHYB3C","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","BM9KzxntzwXLy3rPB25by3rPDMu","Dw5VyNnLCNzL","DgLTzq","5BEY5l+D5A2y","57Uy5yI25QIH5BYp","y2vUDgvY","mtq1tLD2u2rA","57Ut5P2F5zgO","5A+85ywL55s75BId","DxnLuMvM","z3jVDxa","zwrPDgLUz0v2zw50uM9VDeLK","CgfZDa","yw55","6k+36ycj5OUP5PYi5lU9","Cg9W","zw5HyMXL","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","yM91BMreyxrHC2v0qMLUzfzHBhvL","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","B3DUzxjtvKDfBgvTzw50","i2q5zdLKoq","ANn4","q29UDhjVBhm","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","igrVzxmGBM90igv4Axn0lG","zgv2zwXVCg1LBNq","zw51BwvYywjSzq","y29UzMLN","zgvSDgfnB2rL","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","zxjYB3iWmte","tufyx1zbtfvf","C2v0","yw50za","Dgv4Dc14CW","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","ywjZB2X1Dgu","ru1qvfK","zgjSy2XPy2SUEM9VBq","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","Dg91y2GX","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","54Q25Ocb5yIx6kgO","DxjSkcCJ","CMvZAxPPBMC","6ycj5OUP5yw35l2t5yAf572U6io95yQB","BgLUzurYyxDPBMC","Dw5ZAgLMDa","iZCZzdeZza","BM9Kzvf1zxvL","r3jVDxbpDxrSAw5Lza","BgLUzq","6ycj5OUP57Q/5P2H5Qc35BYp","zg90CW","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","77Yi5y+V6ycj77Yj","54k55yE755s75BId56gU5A6A6lw354k55zkm57Ui54k5","AwXSzwDHBcb0ExbLoIa","BM9KzuXVB2T1Ca","DMfSAwrHDgvgAwvSzhm","B25tzwXLy3rPB25eCMfNu3rVCa","B2zMC2v0","rML0ifzPzxC","zgfZAgvK","5Asw6yoO5lQl5lU2","y3jLyxrLu1zhug9PBNq","z2v0u2vYDMvYu3rHDgu","CM9VDa","BNvTyMvY","yxjPyuXHyMvSq29UzMLN","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","Cg9PBNrLCKLK","y2vUDgvYwq","D2HLzwXezwX0yq","D2HLzwW","zxHLy3v0zuzSB3DoB2rLCW","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","rxzLBNq","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","zxHWyw5Kzwrszwn0","zhjHzW","x3rPBwu","zMLYC3q","C2v0tM9Kzxm","6k+36ycj5OUP","y2XVBMvoB2rL","DxnLv2f0y2G","zw5KlNjLBw92zq","yxjNCY5WCMv2mq","DgfYz2v0q2fUDMfZswq","C2fTCgXLiePtt04G5PEG5Pwi","x3rOCM93swzdBg9Zzwq","B25oB2rLC0rLBgv0zq","u2f2zu91DgXPBMvK","vgfN","CgfNzvK","AxnbCNjHEq","Aw50zxjUywXZ","y2XPzw50sgvPz2H0","6zw/5yIslEEcUEs6PoABVW","yxr0CLr3zwvU","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","DxnLu3rHDgu","BwiTmW","x+wKJEwiTG","57Uy5yI25lIT","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","zgvMyxvSDhm","y2HLy2TwAxnPyMLSAxr5","yxjNCY5WCMv2ma","C3r5Bgu","yw4GAw52ywXPzcbVyMPLy3q","xcKK","zMXLEc0Xig1PBI13lta","Dg91y2G","6ycj5OUP57Ur5A6A5yc8","x2fJDgL2zq","D2fYBMLUzW","Bg9JywXLq29TCgfYzq","y29UBMvJDgfIBgu","CMvSzwfZzvbVAw50zxjdyxb0DxjL","AgfUzgXLCG","5PAh5lU25lIk5lYG5lIT","zwrNzxngB2n1C2fIBgu","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","C3vJy2vZCW","5PAh5PYS5Qch562+","zgLZCgXHEwfIBgu","BMv3wq","u21VB3rOu3rLCa","zgf0yvbVB2W","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","ue9tsvrjvKvFsu5gsu5jvfK","zgvNkq","5PEl6l2S6kEs5BQM","CMvZB2X2zq","ywn0AxzL","5zcr5yMnidmG6Ag1","tM9Kzsb3AxrOigLKici","lte0ChG","zgLZywjSzwq","mda4","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","A2v5CW","qwXPz25mzwz0t3v0BgLUzwq","z3jPza","576K57Ue6iQc54k5","zxzLBNrsB290CW","B25oB2rLtw91C2vfBNrLCG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","C3r5BgvuD2vLBG","zgf0ys1UB2rLAwq","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","6l+u5zUE5yIx6kgO","q29UDhjVBa","ywX0s2v5","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","zM9UDfDLAwDODa","5yIG6zMK5PAh5lU2","iIbYEd0InciVpJWVC3zNpG","C2v0uhjVDg90ExbLt2y","C2nOzwr1Bgu","Dhj1zq","mcaWidmYidmY","ug9Wy29UzMLYBq","uMLNAhq","CMvHy3qVANn4lxj1BNrPBwu","Aw52zxj0wq","CgfKzgLUzW","CM91BMq","iIbYEd0ImJaIlZ48l3n2zZ4","yxbWBhK","Aw50zxjYDxb0","Bw91C2vKB3DU","ww91ihbYB3zPzgvKia","sxrLBq","CMvHy3qTzg9T","iZi2mJyYnG","EM9VBs53AgvLBa","q29SBgfWC2u","vw5KB091DgXPBMvK","5zcr5zcoidmG6Ag1","y2XPy2S","x2nVBxbSzxrL","ksbZy2fSzsG","BM9Kzuv2zw50qMLUzgLUz3m","Bw0VCW","DxnLrwrPDg9Yu3rVCMu","Bg9N","z2v0","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","y3jPC3bfzgDLCW","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","ChGPihnJywXLka","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","zgvSyxK","Dg9iyw5KBgu","5y+Z6zsU6i+C5y2v","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","Dg9mB3DLCKnHC2u","CxvLCNLtzwXLy3rVCKfSBa","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","ywzMzwn0C1G","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","xMHZBgfCka","DgfYz2v0","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","Cg9PBNrLCG","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","57Ut5P2F5A2J5BQM","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","C2v0u3rHDgu","lMrYywC","5lQl5lU25Rwb57Yw6l6r5zMO","Bw91C2vfBNrLCG","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","zxjYB3iWmdm","DxjSka","y2XPy2TeAxn0yw5Jzq","ENvZDgfUza","CMvNAxn0zxjfDMvUDejSB2nR","Aw5PDgLHBeHLAwDODa","x25Vzgu","C2nHBgu","mdaY","BM9KzxngB2n1C2fIBgu","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","54k555s757Q/77Yi5lIT5B+d57Q/77Yj","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","zw5Kwq","5PYQ6ywn572U55UU5Qch55s75BIdieLe","BwLU","6ycp5PIo5BQM","5lIk5lIa5BM05lUJ","CMvJEwnSzufZEw5Jswq","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","5PAW5BU65lQl5lU25Rwb","B25fCNjVCG","55s75BId5A+85ywL5OIq5yQF77Yb","Ac1MDwXSihCTzNvSBca","DhjHBNnPDgLVBIbUB3qGzM91BMq","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","C3rYAw5N","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","ufjfu0vovevex0LnquDfx1njtvbmrq","CgfUzurYywDNAw5N","zM9YBwf0sgv4","AgvHza","i2zMngq0zG","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","zxHWCMvZC2LVBG","zxHW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltm","C2v0sw50zxj2ywW","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","CMvHy3qTzMXVD19FAgfUzgXL","Dg9tDhjPBMDuywC","EvnUyxbWzwq","z2v0uMvHzgvY","Dw5KzwzPBMvK","zxzLBNrcDxm","rNvSBa","zwrNzuLUzgv4","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","BM9Kzu9YAwDPBG","zwfJAa","zwrNzvf1zxvL","rgL2AwrLCG","twLUDxndAxjJBgvpDxrSAw5Lza","yM90Dg9TlxjPz2H0","C2vSzwn0zwroB2rLswrZ","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95A2x56YM5lMl6zE0","x19VBG","5lIk5lIa5BM0icHdB250CM9S6zsU5yQG5BEM5PA55zcr6zsUkq","57Ut5P2F5PE26zE0","Dg9tDhjPBMC","AxnfzgL0Aw5NrxzLBNrgBg93","lM5VA2v5","C2vSzwn0q2HPBgq","57Ut5P2F5PYi5lU9","AxnwAwv3","ChGS","6zw/54k5lEEFREEcUEs6PoABVW","yMfJA2DYB3vUzenVBg9Y","ihrVia","w2rHDgeTy2fUDMfZpsj0CNvLiL0","5A+85yE65OIq5yQF77Yb","rM9YBq","C3LUyW","q29UzMLNuhjVDMLKzxi","ksb0CMfUC2XHDguO","z2v0vMfSDwvgCM9Tugf0Aa","y3jLyxrL","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","CMvHy3qTzMXVD19FzwrNzs10zxH0","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","zM9JDxm","rgf0yvbVB2XnB2rHBa","zgvSzxrHyMXL","Aw5KzxG","Aw1Tzxi","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","C2HPzNrlzxK","CxvLCNLtzwXLy3rVCG","y3vYCMvUDfn0yxr1C0LK","BgfIzwXcz1bHzgrPBMC","DxnLCKfNzw50","5OMN6kgm5PA55BYp","zgLZCgf0y2HfDMvUDa","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","C2v0vMLLD3bVCNq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","mde1","zxzLBNrgBg93","BwiTncbWltmGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKigjNlwjSDwuTntaVnta","lNjLywn0lwzSB3DFx3bHBMu","CMvHzefZvgv4Da","zgLZDgfUy2u","yxv0B1bHBLnWzwvK","5l+D55wz5Bcp5PwW5l2n","zMX1C2G","Bwf0zxjPywW","zgfYAW","BwvHC3vYzwq","C2TLD1G","C21HBgW","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","BM9qyw5dBgfZC05HBwu","CMvHy3qTzMXVD19FAgfUzgXLlq","zNjVBuHHBMrSzq","zw5HyMXLrxzLBNrgBg93","5PEG54Q25Ocb","DxnLq2fSBgjHy2S","DMvYDgLJywW","mtjWEcaW","5zU+54Mh5zYW5z2aicHZCMmP","BwiTmcbTDc00","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","zgf0ys1Oyw5KBgvPza","CgvUzgLUzW","EhKTzwrNzv9F","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","y3vZDg9T","DxnLu3LUy0v4DgvYBMfSu3rVCMu","yMfJA2DYB3vUza","C3rHCNroB2rLwa","5BEY5RE75yQG","zxHLy3v0zuj1AwX0Aw4","C3rVCa","u2HPzNq","Aw5PDev2zw50","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","ody0mdvQwxzwBhG","55s75BIdia","tg9VC2u","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","BwfW","5A+85ywL57Ue5Ocb5PA55Qgi","5PAh5lU25Qc85BYp6zsz6k+V","CMvHy3qTzMXVD19FzwrNzs0","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc94BwXUCY8","yxjYB3C","iIWGzwrNzsbPzdOG","z2v0uM9VDe5Vzgu","AhjLzG","54Q25Ocb5PwWoIa","y2fUDMfZq29UzMLN","CMvHy3qTzMXVD19Fy29UDgfPBMvY","DMfSDwvtB3vYy2vdB2rL","55s75BId6ywn572U","C2v0vhjHBNnMB3jT","Bw92zq","C3CTCMvZAxPL","C3rYywLNAhq","zw1PDev4DgvYBMfS","CMDIka","zg90","57Ut5P2F5PEL5PYF","5lIk5lIa6Ag1","zMXVB3i","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","B25dBgLJA0nVBM5Ly3rfBMq","x+wjR+ACRa","6lw354k5ifK","lwzSB3DFx2vKz2u","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","5Qch562+5Qc35BYp","tgLZDa","A2v5zg93BG","u3rYywLNAhrfzgDL","DhjHBNnSyxrLwa","BgvMDa","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","6BYG5Qch6yEk5Ps+","x25HBwu","y29UDhjVBhmUyxjPyuXHyMvS","DxnLrM9YBq","zM9YBwf0sgv4oa","zgf0ys4","6BYG5Qch5OYj5lIl","sw5WDxroDw1Izxi","DxnLCLnWywnLt25vC2u","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","5lIk5lIa5lIw57QQ","5zYO5lIl5PA556YSia","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","C2HPzNq","Dw5IAw5KqwXSrM9YtM9Kzq","6k+35ywi57Ur5A6A5PwW5O2U6zUg","mda5","Bw91C2vvCa","C2fTCgXLiow/HEMHU+AyRYbku09oiowVUEIXOEAiLUAvSoE7Ha","DMLZAwjSzq","AxnszxnPEMfIBgu","zg9TywLU","EM9VBq","Dgv4Dc1NCMf5ltqWmcbOB3zLCJP0zxH0lxjLzc01mdaGy3vYC29YlxbVAw50zxi","B25nB3zLu3rHCNq","AgfZ","ltiWChG","yxjYB3DJBg9Zzwq","5PQc5PEG5PwW5O2U6zUg","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","zgf0yvjLCxvLC3rlzxK","zxH0zxjUywXiyw5KBgvYs2v5","B25tzwXLy3rPB25eCMfN","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","C2vSzwn0","CMzFx25VzguT","C3bHBG","y29TBw9Utg9JywXL","CMvTB3zLuhjVCgvYDhK","mteZme1htNPjuW","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","tw92zwqGC2vSzwn0zwqGBM9Kzsa","D2LKDgG","tgLUzxm","C2nHBgvfEhrLBNq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","C3rHDhvZswq","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","5OUw5OU95QIH5BYp","AxnwywXPza","CMvHy3q","zwXLDMf0zuvKz2vZt25tzwXLy3q","Dhj5CW","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","BgLMDa","Aw1N","yxjNCW","6BUy6k6K6Ag555UU","yxv0BW","CMvUzgvY","B2zMC2v0sgvPz2H0","y29TCg9ZzwrqyxrO","zgLZCgXHEu5HBwu","ttaGmgGZmNy0lJjimhO","x3bHCMvUDa","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","D2L0Aa","yxnZzxj0AxzL","C3LZDgvT","Bg9JywW","vhLWB2DYyxbOEq","tK9erv9truXfq1q","C3rVCfbYB3bHz2f0Aw9U","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","yxrHBJi","Bwf4","y2HLy2TIB3G","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","Bw91C2v1Ca","DxbKyxrL","zg9Tqxr0CMLIDxrLCW","5PQc5PEG5PwW5O2U6zUg77Ym6k+35OMt5BYa44cm5PwW5O2U5RgG44cn5RE75yQG","AgfUzgXL","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","wvLzwq","B2jZzxj2zxjZ","x19UB3nLBgvJDa","zMLSBgvK","vhjHBNnMB3jTv3jHChbLCG","Dg91y2HZDgfYDa","Bg9HzgLUzW","BMfUB2LK","B3bZ","CNvUDgLTzuHHBMrSzxjZ","y292zxi","CgfYzw50tM9Kzq","rgvSzxrLt3v0BgLUzwq","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","qgfUDc1KzxnPz24VAwnVBNm","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","Bw91C2vKB3DUlMrYywC","y29Uy2f0","BMv4Da","y3jVC3m","zwrNzxnszwnVBM5Ly3rHyMXL","CMvHy3qTzMXVD19FBM9Kzq","CMvHza","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","zgvSDgfz","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","x19LC01VzhvSzq","qMv6AwvY","x19KyxrHx18","DgHHDa","zxzLCNK","C3rHy2S","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","CgfUqNK","CgLWzq","D2fYBG","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","DgfYz2v0ug9ZAxrPB24","AgfUzgXLqM91BMrZ","zgvMyxvSDa","ugfYDgLHBa","jhbYzxyU","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","yMCTD2HPDgu","DMfSAwq","ChjLDMLVDxntAwjSAw5N","AwnVBNm","C2v0rwrNzxm","y3vYCMvUDfrHCMDLDa","zgLYzwn0Aw9U","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","Aw5ZDgfUy2u","CMvHy3qTzMXVDW","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","zxjYB3jZ","DhjPz2DLCK5Vzgu","5PAW6iQc54k5","y2HLy2TLza","CMzFx2jHy2TNCM91BMq","57Yw6l6roIa","5y+w5RAi5O6s5BQp","zgf0Dw0","6ycj5OUP5PAW54MP5PAz","i2zHywqXna","BwfYA2vY","rwrNzsb0ExbLici","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","6BYG5Qch56E75yE6","6l6t5ywL5yc85PAh5PYS","zNvUy3rPB24","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","5y+n6ycj5B2t6Ag1","CgfYyw1Zq29Kzq","CMvJDa","z2v0u2nYzwvUq1rn","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","yxjNCY4","DMfSDwvgB250v2vPz2H0","sg9YAxPVBNrHBa","u3rYywLNAhq","B3bLBG","zxHLy3v0B3juExbL","5y+c5PwW5zcn77Ym5AAciee","su1br0u","uMvHy3qGrMXVDW","Cg9PBNrLCLG","rxzLBNqGyMXVy2SGBM90igzVDw5KoIa","twv0yq","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","C2v0rhjHz0LTywDL","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","y3jLyxrLrgvMyxvSDe5Vzgu","y2fSBa","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","yM90Dg9T","57Ue5Ocb57Yw6l6r5zMO","Ag92zxi6yMCTz3jHEs0Xmda","yM91BMreyxrHC2v0swq","z2v0qxr0CMLIDxrLtLm","tgLUzq","B2jZzxj2ywjSzq","zxH0zxjUywW","5yIG6zMK6ycj5lITicHezwXLDguP","re9ntwf0CML4uMvHze9UBhK","6ycj5OUP54MP5PAz","y2XVBMvfBgvTzw50","5BYa5AEl5PYi5lU9","zxHWB3j0CW","C291CMnLsgfUzgXL","BgLNAhq","CMvSyxrPDMuG","wM9VBu91De91DgXPBMvK","Dw5ZDwjZy3jPyMu","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","572U5lQo5BQv5Bgc","6Ake6kEi5QIH5BYp","y2fUDMfZxW","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","AgLZDg9YEq","ioMHUEw/HEMHU+AyR+wVUEIXOq","zxjYB3iWmde","z2v0uhjVCgvYDhLwywX1zq","CMvSyxrPDMu","z2v0sw5ZDgfUy2u","B25dB25Uzwn0rw5K","Bw9Kzq","B3jKzxi","57Ur5A6A54MP5PAz","DhjHBNnPDgLVBG","nJy5mJbnDfbOu1m","tw9KywW","zMLUywXPEMu","rw1WDhK","zgvMAw5LuhjVCgvYDgLLCW","vevyvefsrue","AxndB250zw50rwrPDgfIBgu","z2v0vMLLD3bVCNq","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","5A2x5l2t57kx57Ug","5Qch6k+g5lIn6io95lI656M6","vg9VBhrPCa","57Q/5P2H57Uy5yI2","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","Aw5KzxHpzG","rgvSzxrL","CMvHy3qTzMXVD19FyxjPys1SAxzL","DxbKyxrLtM9KzuLUDgvYBMfSCW","twf0zxjPywXqyw5LBa","zgLZywjSzuTLEwjVyxjKqteXEq","zw5KC1DPDgG","B25qB2LUDgvYrg93BG","Aw5WDxrZ","tM8GDgLTzw91DcbWCM92AwrLzc4","yMLUzenVzgvZ","ChjLDMLLDW","ChjVzhvJzq","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","6k+35Rgc5PwW5O2U","5lIl5A+56B2q","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","C2vSzwn0zwrfzgDLCW","yM9Sza","yNv0Dg9U","C3bSAxq","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","lwzSB3DFx2HHBMrSzq","5A2x5l2t5AsN5Bcp","5lIk5A+56B2q","rxHWzxjPBwvUDe91DgXPBMvK","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","57ky6ls0iePtt04G5yAf5A65lI4U","ANn4CW","Aw5PDgLHBfrLyxjKB3DU","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","tgf5B3v0","BM9KzurYywDuAhjLC2HVBgq","Dgv4Dc1ZBq","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","BM9KCMfN","B25dB25Uzwn0u3rHCNq","5yAf6igu6isA5PYS","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","BM9Uzq","Aw5ZDa","yM90Dg9TlwXLzNq","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","mxb4ihnVBgLKicnMmgyWzJa","5Asn5yI26iQc54k5","B3jPzw50","5Qgg6ycj5QIH5BYp","zg9JDw1LBNrfBgvTzw50","C2v0uhjVCgvYDhK","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","i2zMzG","DMfSDwvZ","6yEn5ygAicHdDhjSk1KP","yMCTz3jHEs0XmdaGCMvSyxrPDMu","BgfIzwXcz0jVCMrLCLjHzgL1CW","y3vYC29YlxbVAw50zxiGBwiTma","C3rHCNrizwLNAhq","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","B25fzgDLC0rLBgv0zq","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","DxbKyxrLtM9Kzq","Bwf0CML4vhjHBNnMB3jT","CgfUu2nYB2XSvgLTzw91Da","CgfYzw50tg9VA3vW","CMvWBgfJzq","mcaWidi1idmY","5PQc5PEG5lQl5lU25Rwb","DhDLzw4","C2v0qxr0CMLIDxrLtLm","AxneCMf3Aw5N","6ycj5OUP5PwW5O2U5A2x5Q61","y2fUDMfZzxm","DgLTzxi","C3rHDhvZtgLZDa","AgLKzuf0DhjPyNv0Aw9U","u3rYAwn0","yw5PBwf0zwq","DgHPy2TUzxnZ","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","u3rLCevKz2u","Dg91y2HLCW","DhjHBNnSyxrLqNK","CMv2zxjZzq","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","y29TCgXLDgu","5PYQ55+L5yAf572U5yQO5l2CoIa","zg93BMXVywq","rhjHz091DgXPBMvK","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","D29YAW","C3rYB25N","x2v4zwn1Dgu","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","Dw5IAw5KtM9Kzuv2zw50","y2fSBgjHy2S","zg9JDw1LBNq","C2nYB2XSvg8","BwiTma","y2XPy2SUzhjHzW","EKLUzgv4tw9Kzq","DxnLq29UDgv4Da","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","5PEG5zU+54Mh","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","Aw5PDgLHBfDPzhrO","rMXVD1jLBMrLCMvY","EKLUzgv4","BM9Wyw4","yM9VBgvHBG","55s75BId5A+85yE65AsX6lsL","vgLTzw91DcbOyxmGB2nJDxjYzwq","u2LTCgXLqMv6AwvY","u3bHy2u","BMfTzxnWywnLvvjj","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","5zcr5yMniduG6Ag1","ioMHUsK","CMvZB2X2zuzSB3DfDMvUDejSB2nR","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","zhjHz2DPBMC","C3rHCNrz","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","qxjYB3DeB3DUt3v0BgLUzwq","rwrPDe91DgXPBMvK","x196B29T","zxzLBNrcBg9JA3m","y2XPzw50wa","z2v0sw5PDgLHBfn0yxrL","CgfNzvG","5PYQ55+L55s75BId","zxzLBNruExbL","Aw5JBhvKzuHPzgrLBK5VzgvZ","AgLKzgvU","yMLUza","5A2x5Q615PwW","z2v0qM91BMrPBMDdBgLLBNrszwn0","C291CMnL","uMvKB091DgXPBMvK","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","B25oB2rLrhjHz1n0yxj0","BNCTCMvZAxPL","q3jVC3m","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","Aw5PDe1HDgvYAwfSCW","5PwW57Ue56YSia","y29UBMvJDgLVBK1Vzgu","CMv0DxjUigfYz3m7","mJiYodaYv2nSBxbf","B3DUzxjeB2n1BwvUDa","yxn5BMnjDgvYyxrVCG","u2vSzwn0","5lIk5lYGifnwrW","CMvHy3qTzMXVD19Fy29UBMvJDgLVBI1WyxrO","A2vLCefZCgvJDfjHDgLV","5PwW57UeicG","C2v0vhjHBNnSyxrLrxH0zw50","qxjYB3Dmzwz0","C3vIC2nYAwjL","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","mtaWjq","5zU+54Mh5zcn56EW","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","Bw91C2veB3DU","tufurvjjquXFu1rbvfvtx0niqu5hrq","Dgv4DgfYzwe","6BYG5Qch6l+B5ywL","C3jJ","y29UC3rYDwn0B3i","lNn2zW","mZjrANr0t2m","Dg91y2HZDgfYDc5KCMfN","q29WEu91DgXPBMvK","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","iwjNlwjSDwuTntaW","Aw50zxjWB2XHDgu","C3r5BguU","x2HHC1bHCMvUDa","zgvMyxvSDevKz2vZ","y29UBMvJDgLVBG","5lQK5O2I6lw354k55zkm57Ui54k5","BwLUwM9VBq","vevyva","x2fKzfbHCMvUDa","sxqGC2vLBxmGDgHHDcb5B3uGyxjLihrYEwLUzYb0BYbKCMfNigeGBM9Kzsb0Agf0igLZig5VDcbPBML0AwfSAxPLzc4GugXLyxnLihvZzsbVBK5VzgvZq2HHBMDLigfZigv4CgXHAw5LzcbPBIb0AguGzg9JCY4","6k+36ycj5OUP5PEL5PYF","lteWic0XmcaYmcaYma","Cgf0DgvYBG","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","57Ut5P2F5A+86kEi","6k+36ycj5OUP5PE26zE0","5yIG6zMK5B2t6Ag1","y3vYCMvUDe9IC2vYDMvYCW","BM9Kzq","Aw52ywXPzcbJywXSyMfJAZOG","DhjHBNnSyxrL","yMvMB3jLC3rHCNq","z2v0u25HChnOB3q","6l+E57UT5A6E57Q/","5Pw05z2x6l+u5zUE5yc8","y2XPzw50wq","B3bLCMf0B3i","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","q3vZDg9TrxzLBNq","5OM+5lIn5yIW5lQl5lU25z2x","BMv3wa","6iom5PMV6iMY","CMvTB3zLqxr0CMLIDxrL","5yAf572U5yQO5l2C","Aw5Zzxj0qMvMB3jL","BM9Kzu5HBwu","BgfUzW","rNjLzq","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","tgvMDa","Axnoyu4","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","C2vSzwn0Aw9U","5ygh5OoZ57Q/","CgfYC2u","C2v0u2nHBgvfEhrLBNq","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","ANn4uNvUDgLTzq","5RE75yQG54Q25Ocb","DY1MDwXSigGTzNvSBa","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","Bg9VC2u","5lQl5lU25Rwb57Ur5A6A","Dg90ywXjBMnVBwLUzW","CMvZzxrgAwvSzhm","6yEn572U6kEg5zU+","uMvHy3rAB29TugfUugLUy2G","zxHLyW","DhjHBNnSyxrLvg8","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","z2v0q29TChv0zwrtDhLSzq","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","C3vIAMvJDa","yMX1zq","zgvZy3jPChrPB24","yxv0BY1ZDgfYDc1YzxzLCNnL","BwfUDwfS","Cg9ZAxrPB25byNnVBhv0zq","B25gAw5HBgL6zq","Dgv4Da","ywjZB2X1DguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWigjNlwjSDwuTntaWlZeWihbVAw50zxiTzxzLBNrZlw5VBMu","B25SB2fK","Dg9ju09tDhjPBMC","6Ake6kEi5PAh5lU2","u3vWChjLC3nLzevYCM9Y","mta4ma","57Ur5A6A5yc8","x3rYEvn1yNnJCMLIzq","i2zMzMzMzG","AxnwywXPzenVBM5Ly3rPB24","5ywO6ycj5B2t6Ag1","B25oB2rLq29UDgv4De1LBNu","Cg9ZAxrPB25y","qNv0Dg9U","yNvIyMXLCW","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","5A+85yE65B2t5yMn55s75BId","zwfZzq","qxjYB3DvCe91DgXPBMvK","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","zxzLBNq","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","C2fTCgXL","iIbKB2vZBID0igv4Axn0lG","566H55cg55s75BIdlI4U","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","yMfJA2DYB3vUzeLTywDL","yMCTD2HPDguGChGTmsbYB3vUzgvK","C2vSzwn0zwroB2rLswq","DhjHBNnMB3jT","zwXLDMf0zu5VzgvZt25tzwXLy3q","z2v0u3rHDgu","57YP5Ps+5Q+u5l6l","ltuSltqGmcWWic01ldq","Bw91C2vcDxr0B24","AhnSysG","zMLUzefJDgL2zvn0yxr1CW","Dw5YzwDPC3rLCKv2zw50qMXVy2S","DgfWCW","yw1K","yxjPyuXHyMvS","5PwW5O2U6zUg","Aw52zxj0","ioADOEwfPEI+UsdIHPdJGiW","CgfYzw50rwXLBwvUDa","qMv6AwvYrwrNzq","zM9YrwfJAa","DMLLD0jVEa","oMzVy3vZlxzPC2LIBgu","C3rHDhvZ","Bw91C2u","DgfYz2v0sgfUzgXL","Dg91y2HTB3zL","5Asw6yoO5PA55Rov","55s75BIdide","6l+u5zUE5lUk5AsP","C2vJB25Kyxj5","ywn0Aw9UCW","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","y3vYC29Ylw1VDMu","BM9KzuLK","vgv4DefYzwe","igHHBMrSzsbPzdOGiG","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","CMzjza","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","6k+35AgR5yAz5zcn56EW","CMvZDwX0","5PAW5BU655s75BId","y29UBMvJDgLVBKXVB2T1Ca","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","5PwW5O2U5RgG","rg93BMXVywrpDxrSAw5Lza","CMvZDgfYDa","zgf0ytPPBwfNzs9ZDMCREg1Sla","C3vIC2nYAxb0Aw9UCW","u3rLCa","BgLUAW","yxnZAwDU","zgv0ywLS","CMvHzefZrgf0yvvsta","y29UBMvJDgLVBLjHzgL1CW","6zw/5yIslEwpJoEcUEs6PoABVW","C2fTCgXLsNnVBG","yxv0B1bHBK9UtM9KzuzVy3vZ","5OUw5OU96lcd5Pw05AsN5Bcp","BM93AgvLBa","y2HHBMDLzfrVDwnOzxm","x190CMfUC2L0Aw9U","5BEY5zcV55sO","y2LYy2XL","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","ChjPBwfYEq","y29Kzq","y29UBMvJDe9Uq2XPy2S","yxrHBG","5PwW5O2U6zUgia","mca0ChG","AxntzwXLy3rLza","kgrHDgePid0+igjVB2XLyw4","iokaLca","xhmQkfSRlv0/xgqRkvXZkG","zxjYB3iWmtm","C2v0rMLLBgrZvMfSDwu","y3jLyxrLq29UDgv4Da","C3rYB2TL","zML0vMLLDW","x2v4Axq","C3bHy2u","zMXLEc1ZDgfYDa","5PQc5PEG5PwW5O2U","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","CMvHy3qTzMXVD19FBM9Kzs0","oJPLEhq6oG","BxqTmsb0zxH0lwfTyMvYltGWma","Aw5qCM9NCMvZCW","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","zhjHz2DHyMXL","B3bHy2L0Eq","57Q/5A6977Yi5yop57sG77Yj","AxntDg9WCgvK","zMfJDg9Y","twvZC2fNzsdMJ5dNPlO","zML0vMLLD1jLC29SDMvY","nsW1","i2zHogmXnG","x3bHCMvUDhm","Axnqyw5ty3jVBgXPBMC","5lQm57U056cb6l+h5PYF","yMLUze5Vzgvjza","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","Aw5MBW","C291CMnLug9ZAxrPB24","zw1PDa","vg9Nz2XLieLUDgvYywn0AxzPDhK","y3jLyxrLrwXLBwvUDe5t","zhjHz3n0yxj0lMrYywC","6ycj5OUP5PYi5lU9","DxnLrgvIDwDwywX1zq","BgfIzwXdB2XVCG","EfnUyxbWzwq","zw5HyMXLza","x2vYCM9Y","tM9Kzsb0ExbLici","Aw50zxjUywW","C3rHCNrZv2L0Aa","C3bSAwnL","DxnLzfjPz2H0tw91C2vcDxr0B24","zgvZyW","q1vtve9n","C3rHCNq","5lIl5lIa5Q2L","Cc02","6k+36ycj5OUP6kEM5y+r5PA55BYp","zxzLBNrtDwjQzwn0CW","AgfZvMfSDwu","C3rHCNry","Dg91y2HZDgfYDc56B29T","zw5Kug9PBNq","5PAh5A2x6AkC6iMY","Bw91C2vKB3DUlNPVB20","BMf0AxzLrxzLBNq","5RE75yQG5lQl5lU25Rwb","C3fYDa","CMvM","5PYQ55+L57g75z6l","yxjPyuXPDMvnzxnZywDL","zxzLBM9Kza","AgfZt3DUuhjVCgvYDhK","DxnLCLnLBgvJDgLVBKfJDgL2zq","zgvMyxvSDe5VzgvZ","B3jPz2LU","y3rYBeTLEq","BgLZDgvUzxi","CMvZAxPL","twfYA2vYihr5CguGiG","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","BwvTBW","zw50CMLLCW","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","mdeW","C3rHDgu","qMfJA3nWywnL","6BUy6k6K5yc877Yi5Ash55sO77Yj","xNjNyLWO","yM91BMreyxrHC2v0qMLUzenVzgu","6ycj5OUP5BM05lUJ","zNjVBNq","5PU05O2I54MP5PAz","AxrLBq","BM9Kzvr5Cgu","DhLWzq","AwnVBG","Bwv0yq","u0vmrunu","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","C2TLD1GO","C2v0qxr0CMLIDxrL","C2vUDa","BgfIzwXtAg93qMC","y29UDhjVBerPCMvJDgLVBG","BM9KzxndB25Uzwn0ywjSzq","x2DYB3vWCW","CgfYzw50","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","odqWntruD0PYq3q","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","CMfUz2u","5zYg6kEs55+P5B2I","56YSideG6kgm5A+55BQu56YSideG5P2H5OYh5zcr5PYS5z2x55Qe6l+E57Q/77Ym56YSidiG6kgm5A+55BQu56YSidiG5P2H4OcM4OcM77Yi6Ag65BQp5lIo55s75BId6l+E57Q/5RE75yQG6Ag65BQp5lIa6iE077Ym5ywi6l+E5zYO5yMn77Yj44cc5lIn5RE75yQG6kgm5PE277YA5y2v5ywL6l6555sO","x196B29TAw5N","lNjLywn0lwzSB3C","zgvMCW","iZe4otbMzG","teLorq","CMvKDwnL","ChjVCgvYDhK","zxHWyw5KugfYzw50","ChjVzhvJDgLVBG","ChjLCgfYzuv2zw50qxjNCW","zxjYB3i","CMvXDwvZDefZEw5Jswq","Dg91y2GW","5z+656ga5B2I54Q2","y2HHBMDL","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6"];return _0x29ef=function(){return be},_0x29ef()}
|