jch-config-editor 1.0.6 → 1.0.7
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.map +1 -1
- package/dist/config-editor.es.js +4785 -4805
- package/dist/config-editor.umd.js +9 -16
- package/package.json +1 -1
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
(function(ze,l){const L=_0x4b9b,z=ze();for(;;)try{if(parseInt(L(796))/1*(-parseInt(L(577))/2)+parseInt(L(1542))/3+parseInt(L(1810))/4+-parseInt(L(468))/5*(-parseInt(L(382))/6)+parseInt(L(678))/7+parseInt(L(704))/8+-parseInt(L(850))/9*(-parseInt(L(1050))/10)===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x2db7,528807),(function(ze,l){const L=_0x4b9b;typeof exports===L(1057)&&typeof module<"u"?l(exports,require(L(1101)),require("react"),require(L(1940)),require(L(416)),require("zustand"),require(L(832)),require("nanoid"),require(L(631)),require("react-dom")):typeof define===L(1151)&&define[L(1559)]?define([L(456),"react/jsx-runtime","react","antd",L(416),L(1506),L(832),L(1239),L(631),L(1064)],l):(ze=typeof globalThis!==L(891)?globalThis:ze||self,l(ze[L(814)]={},ze[L(904)],ze[L(879)],ze[L(1940)],ze[L(674)],ze[L(1506)],ze.immer,ze[L(1239)],ze.ReactZoomPanPinch))})(this,function(ze,l,L,z,le,sx,n0,ve,t0){"use strict";function _0x4b9b(ze,l){ze=ze-146;const L=_0x2db7();let z=L[ze];if(_0x4b9b.DoYxzq===void 0){var le=function(t0){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Jn="",mt="";for(let Ve=0,dn,un,wt=0;un=t0.charAt(wt++);~un&&(dn=Ve%4?dn*64+un:un,Ve++%4)?Jn+=String.fromCharCode(255&dn>>(-2*Ve&6)):0)un=c.indexOf(un);for(let Ve=0,dn=Jn.length;Ve<dn;Ve++)mt+="%"+("00"+Jn.charCodeAt(Ve).toString(16)).slice(-2);return decodeURIComponent(mt)};_0x4b9b.iUJyAx=le,_0x4b9b.ShFIWv={},_0x4b9b.DoYxzq=!0}const sx=L[0],n0=ze+sx,ve=_0x4b9b.ShFIWv[n0];return ve?z=ve:(z=_0x4b9b.iUJyAx(z),_0x4b9b.ShFIWv[n0]=z),z}const c=_0x4b9b;var Jn=document.createElement("style");Jn[c(204)]=`.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(1362)][c(820)](Jn);function mt(e){const n=c;return e&&e[n(1410)]&&Object[n(502)][n(1885)][n(211)](e,n(1729))?e[n(1729)]:e}var Ve={},dn={exports:{}},un;function wt(){const e=c;return un?dn.exports:(un=1,(function(n){const t=_0x4b9b;function x(r){return r&&r[_0x4b9b(1410)]?r:{default:r}}n[t(456)]=x,n[t(456)][t(1410)]=!0,n.exports.default=n.exports})(dn),dn[e(456)])}var vt={},No;function Oc(){const e=c;if(No)return vt;No=1,Object.defineProperty(vt,e(1410),{value:!0}),vt[e(1729)]=void 0;const n={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:e(1928),next_page:e(1414),prev_5:"向前 5 页",next_5:e(1745),prev_3:e(974),next_3:"向后 3 页",page_size:"页码"};return vt[e(1729)]=n,vt}var pt={},zt={},Ct={},Mt={},So;function Gc(){const e=c;return So||(So=1,Object[e(447)](Mt,e(1410),{value:!0}),Mt[e(1324)]=void 0,Mt[e(1324)]={yearFormat:e(507),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Mt}var ko;function Tc(){const e=c;if(ko)return Ct;ko=1,Object[e(447)](Ct,e(1410),{value:!0}),Ct[e(1729)]=void 0;var n=Gc();function t(s){"@babel/helpers - typeof";const d=e;return t=d(1151)==typeof Symbol&&d(1546)==typeof Symbol[d(277)]?function(f){return typeof f}:function(f){const b=d;return f&&b(1151)==typeof Symbol&&f[b(1263)]===Symbol&&f!==Symbol[b(502)]?b(1546):typeof f},t(s)}function x(s,d){const f=e;var b=Object.keys(s);if(Object[f(1249)]){var h=Object[f(1249)](s);d&&(h=h.filter(function(v){const g=f;return Object.getOwnPropertyDescriptor(s,v)[g(1584)]})),b[f(177)][f(242)](b,h)}return b}function r(s){const d=e;for(var f=1;f<arguments.length;f++){var b=arguments[f]!=null?arguments[f]:{};f%2?x(Object(b),!0)[d(366)](function(h){o(s,h,b[h])}):Object[d(911)]?Object.defineProperties(s,Object[d(911)](b)):x(Object(b))[d(366)](function(h){const v=d;Object[v(447)](s,h,Object[v(1821)](b,h))})}return s}function o(s,d,f){const b=e;return d=i(d),d in s?Object[b(447)](s,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[d]=f,s}function i(s){var f=a(s,e(816));return t(f)=="symbol"?f:String(f)}function a(s,d){const f=e;if(t(s)!="object"||!s)return s;var b=s[Symbol[f(1517)]];if(b!==void 0){var h=b[f(211)](s,d);if(f(1057)!=t(h))return h;throw new TypeError(f(815))}return(f(816)===d?String:Number)(s)}var u=r(r({},n[e(1324)]),{},{locale:e(1743),today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:e(770),weekSelect:e(1510),clear:"清除",week:"周",month:"月",year:"年",previousMonth:e(1952),nextMonth:e(1766),monthSelect:e(1825),yearSelect:e(479),decadeSelect:e(1036),previousYear:"上一年 (Control键加左方向键)",nextYear:e(454),previousDecade:e(1772),nextDecade:e(723),previousCentury:e(1563),nextCentury:e(1711),yearFormat:e(730),cellDateFormat:"D",monthBeforeYear:!1});return Ct[e(1729)]=u,Ct}var Bt={},Io;function Po(){const e=c;if(Io)return Bt;Io=1,Object.defineProperty(Bt,e(1410),{value:!0}),Bt[e(1729)]=void 0;const n={placeholder:e(1285),rangePlaceholder:[e(245),"结束时间"]};return Bt[e(1729)]=n,Bt}var Ao;function jo(){const e=c;if(Ao)return zt;Ao=1;var n=wt()[e(1729)];Object[e(447)](zt,e(1410),{value:!0}),zt[e(1729)]=void 0;var t=n(Tc()),x=n(Po());const r={lang:{placeholder:e(1149),yearPlaceholder:"请选择年份",quarterPlaceholder:e(1404),monthPlaceholder:e(1642),weekPlaceholder:e(1281),rangePlaceholder:[e(647),e(1923)],rangeYearPlaceholder:[e(1368),e(910)],rangeMonthPlaceholder:[e(1100),e(612)],rangeQuarterPlaceholder:[e(274),e(1002)],rangeWeekPlaceholder:["开始周",e(167)],...t.default},timePickerLocale:{...x[e(1729)]}};return r[e(858)].ok="确定",zt[e(1729)]=r,zt}var Eo;function Hc(){const e=c;if(Eo)return pt;Eo=1;var n=wt()[e(1729)];Object[e(447)](pt,e(1410),{value:!0}),pt[e(1729)]=void 0;var t=n(jo());return pt[e(1729)]=t[e(1729)],pt}var Yo;function Vc(){const e=c;if(Yo)return Ve;Yo=1;var n=wt()[e(1729)];Object[e(447)](Ve,e(1410),{value:!0}),Ve.default=void 0;var t=n(Oc()),x=n(Hc()),r=n(jo()),o=n(Po());const i=e(154),a={locale:e(1858),Pagination:t[e(1729)],DatePicker:r[e(1729)],TimePicker:o[e(1729)],Calendar:x[e(1729)],global:{placeholder:e(1977),close:"关闭",sortable:"可排序"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:e(409),filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:e(1716),selectInvert:e(1337),selectNone:e(295),selectionAll:e(169),sortTitle:"排序",expand:e(1736),collapse:e(1926),triggerDesc:e(1523),triggerAsc:e(1834),cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:e(236)},Tour:{Next:e(1529),Previous:e(1629),Finish:e(372)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:e(1716),removeCurrent:e(1223),selectAll:e(169),deselectAll:"取消全选",removeAll:e(1443),selectInvert:e(1337)},Upload:{uploading:e(1105),removeFile:"删除文件",uploadError:e(1531),previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:e(315)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:e(604),expand:"展开",collapse:"收起"},Form:{optional:e(929),defaultValidateMessages:{default:e(727),required:"请输入${label}",enum:e(1370),whitespace:e(616),date:{format:e(1409),parse:"${label}不能转换为日期",invalid:e(431)},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:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:e(1890),min:e(600),max:e(481),range:e(1585)},array:{len:e(455),min:e(1581),max:e(957),range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:e(1751)}}},QRCode:{expired:e(370),refresh:"点击刷新",scanned:e(1356)},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:e(1034)}};return Ve[e(1729)]=a,Ve}var lx,Uo;function qc(){return Uo||(Uo=1,lx=Vc()),lx}var Wc=qc();const Xc=mt(Wc),Kc=e=>(n,t,x)=>{const r=c;return x.setState=(o,i,...a)=>{const u=_0x4b9b,s=typeof o===u(1151)?n0[u(1883)](o):o;return n(s,i,...a)},e(x[r(1215)],t,x)},Zc=Kc;function Rc(e){return Array.isArray(e)}function Oo(e){const n=c,t=[];for(const x of Object[n(964)](e)){t[n(177)](x);const r=e[x];if(r!==null&&typeof r===n(1057)&&!Array[n(1922)](r))for(const o of Object[n(964)](r))t[n(177)](x+"."+o)}return t}function Jc(e,n,t){const x=e.sample;if(Rc(x)){if(n!=null&&t!=null){const r=x.find(o=>o[n]===t);if(r)return r}return{}}return x}function Go(e,n,t,x){const r=c,o=Jc(e,t,x),i={...o};if(n&&typeof n===r(1057)&&!Array[r(1922)](n))return{...i,...n};if(Array.isArray(n)){const a={...i};for(const u of n){if(!u||typeof u!==r(1057))continue;const s=u;s[r(1276)]!=null&&(a[String(s.paramsCode)]=s[r(1161)])}return a}return i}const _c={id:"_",name:"_",sample:{}};function dx(e,n,t){const x=c,r=e[x(1738)]!=null?String(e[x(1738)]).trim():"",o=r?t[x(871)](a=>a.id===r):void 0,i=o??_c;try{const a=Go(i,n,e[x(1543)],e.boundDatasetBindValue);return new Function(x(1934),e.expression)(a)===!0}catch(a){return console[x(823)](x(859)+e[x(1388)]+"]:",a),!1}}function To(e,n,t){for(const x of e)if(dx(x,n,t))return x}function Ho(e,n){const t=c;for(const x of e){for(const r of x.contentInfo.statusList)r[t(1738)]===n&&(r[t(1738)]=null,r[t(1543)]=null,r.boundDatasetBindValue=null);x[t(954)]==="group"&&x.children?.length&&Ho(x[t(882)],n)}}function ux(e){const n=c;for(const t of e){for(const x of t.contentInfo.statusList)delete x[n(293)];t[n(954)]==="group"&&t[n(882)]?.[n(586)]&&ux(t[n(882)])}}const fx=(e,n)=>({id:e||ve[c(1239)](),name:n||c(956),nodes:[],canvasConfig:{width:3e3,height:2e3,background:c(1003),showGrid:!0},viewport:{scale:1,positionX:0,positionY:0},selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null,history:{past:[],future:[]}}),Fc=()=>{const e=c,n=fx();return{id:ve[e(1239)](),name:e(1889),canvases:[n],currentCanvasId:n.id}},Vo=Fc(),In=Vo[c(1555)][0],Qc={root:Vo,materials:[],mode:c(1380),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:In.nodes,canvas:In[c(1413)],viewport:In[c(1363)],selectedNodeId:In[c(255)],selectedNodeIds:In[c(1790)],selectedStatusId:In[c(264)],history:In.history},on=(e,n,t)=>({id:ve[c(1239)](),type:e,targetId:n,payload:t,timestamp:Date.now()}),Ye=sx[c(827)]()(Zc((e,n)=>({...Qc,addCanvas:t=>{const x=c,r=fx(ve.nanoid(),t||x(1204)+(n()[x(171)][x(1555)][x(586)]+1));return e(o=>{const i=x;o.root[i(1555)][i(177)](r),o.root.currentCanvasId=r.id;const a=r;o[i(459)]=a.nodes,o.canvas=a.canvasConfig,o.viewport=a[i(1363)],o.selectedNodeId=a[i(255)],o[i(1790)]=a[i(1790)],o[i(264)]=a[i(264)],o[i(297)]=a[i(297)]}),r.id},removeCanvas:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(1e3)](i=>i.id===t);if(o!==-1&&!(x.root[r(1555)][r(586)]<=1)&&(x.root[r(1555)][r(1744)](o,1),x[r(171)].currentCanvasId===t)){const i=x[r(171)][r(1555)][0];x.root.currentCanvasId=i.id,x.nodes=i.nodes,x[r(1619)]=i[r(1413)],x.viewport=i.viewport,x[r(255)]=i[r(255)],x[r(1790)]=i.selectedNodeIds,x.selectedStatusId=i[r(264)],x.history=i[r(297)]}})},switchCanvas:t=>{e(x=>{const r=_0x4b9b,o=x.root.canvases[r(871)](i=>i.id===t);o&&(x.root[r(1741)]=t,x[r(459)]=o[r(459)],x[r(1619)]=o[r(1413)],x[r(1363)]=o[r(1363)],x[r(255)]=o[r(255)],x[r(1790)]=o[r(1790)],x.selectedStatusId=o[r(264)],x[r(297)]=o[r(297)])})},updateCanvasName:(t,x)=>{e(r=>{const o=_0x4b9b,i=r.root.canvases[o(871)](a=>a.id===t);i&&(i[o(1388)]=x)})},getCurrentCanvas:()=>{const t=c,x=n();return x[t(171)][t(1555)][t(871)](r=>r.id===x[t(171)][t(1741)])},setSelectedNodeIds:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)].canvases[r(871)](i=>i.id===x[r(171)].currentCanvasId);o&&(o[r(1790)]=t,x[r(1790)]=t)})},addSelectedNodeId:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)].canvases[r(871)](i=>i.id===x[r(171)].currentCanvasId);o&&!o.selectedNodeIds[r(444)](t)&&(o[r(1790)][r(177)](t),x.selectedNodeIds=o.selectedNodeIds)})},removeSelectedNodeId:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)].canvases[r(871)](i=>i.id===x[r(171)][r(1741)]);o&&(o[r(1790)]=o[r(1790)].filter(i=>i!==t),x[r(1790)]=o[r(1790)])})},clearSelectedNodeIds:()=>{e(t=>{const x=_0x4b9b,r=t.root[x(1555)].find(o=>o.id===t[x(171)].currentCanvasId);r&&(r[x(1790)]=[],t[x(1790)]=[])})},addNode:(t,x=!0)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](u=>u.id===r[o(171)][o(1741)]);if(!i)return;const a={...t,id:t.id||ve.nanoid()};i[o(459)][o(177)](a),r[o(459)]=i[o(459)],x&&(i[o(255)]=a.id,r[o(255)]=a.id,i[o(297)][o(260)].push(on("NODE_SELECT",a.id)),r[o(297)]=i[o(297)])})},updateNode:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](u=>u.id===r[o(171)][o(1741)]);if(!i)return;const a=i[o(459)][o(871)](u=>u.id===t);a&&(x.normalStyle&&Object[o(150)](a[o(1578)],x[o(1578)]),x[o(889)]&&(a[o(889)]={...a[o(889)],...x.contentInfo}),x[o(1388)]&&(a[o(1388)]=x[o(1388)]),x[o(912)]&&Object.assign(a.controlInfo,x[o(912)]),x.children&&(a.children=x[o(882)]),i[o(297)][o(260)][o(177)](on(o(900),t,x)),r.history=i[o(297)],r.nodes=i[o(459)])})},updateNodeStyle:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](u=>u.id===r[o(171)].currentCanvasId);if(!i)return;const a=i[o(459)][o(871)](u=>u.id===t);a&&(Object[o(150)](a.normalStyle,x),i.history[o(260)][o(177)](on("PROPERTY_CHANGE",t,{normalStyle:x})),r[o(297)]=i[o(297)],r.nodes=i[o(459)])})},updateNodeContent:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](u=>u.id===r[o(171)][o(1741)]);if(!i)return;const a=i[o(459)].find(u=>u.id===t);a&&(a[o(889)]={...a[o(889)],...x},i[o(297)][o(260)][o(177)](on(o(900),t,{contentInfo:x})),r[o(297)]=i[o(297)],r[o(459)]=i[o(459)])})},updateNodeControl:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](u=>u.id===r[o(171)][o(1741)]);if(!i)return;const a=i.nodes[o(871)](u=>u.id===t);a&&(Object[o(150)](a.controlInfo,x),i[o(297)][o(260)][o(177)](on(o(900),t,{controlInfo:x})),r[o(297)]=i.history,r[o(459)]=i[o(459)])})},removeNode:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(871)](a=>a.id===x[r(171)].currentCanvasId);if(!o)return;const i=o[r(459)][r(1e3)](a=>a.id===t);i!==-1&&(o.nodes.splice(i,1),x[r(459)]=o[r(459)],o[r(255)]===t&&(o[r(255)]=null,x[r(255)]=null,o[r(264)]=null,x.selectedStatusId=null),o[r(1790)]=o.selectedNodeIds[r(917)](a=>a!==t),x[r(1790)]=o[r(1790)],o[r(297)].past[r(177)](on(r(1264),t)),x.history=o[r(297)])})},selectNode:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(871)](i=>i.id===x.root[r(1741)]);o&&(o[r(255)]=t,x[r(255)]=t,o[r(264)]=null,x[r(264)]=null,t&&(o[r(297)][r(260)][r(177)](on("NODE_SELECT",t)),x[r(297)]=o[r(297)]))})},bringToFront:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(871)](u=>u.id===x[r(171)][r(1741)]);if(!o)return;const i=o.nodes[r(1e3)](u=>u.id===t);if(i===-1||i===o[r(459)][r(586)]-1)return;const[a]=o[r(459)][r(1744)](i,1);o[r(459)][r(177)](a),x[r(459)]=o[r(459)],o.history[r(260)][r(177)](on(r(900),t,{zOrder:r(1658)})),x[r(297)]=o[r(297)]})},sendToBack:t=>{e(x=>{const r=_0x4b9b,o=x.root[r(1555)][r(871)](u=>u.id===x[r(171)].currentCanvasId);if(!o)return;const i=o[r(459)].findIndex(u=>u.id===t);if(i<=0)return;const[a]=o.nodes[r(1744)](i,1);o.nodes.unshift(a),x[r(459)]=o.nodes,o[r(297)][r(260)].push(on(r(900),t,{zOrder:r(1784)})),x.history=o[r(297)]})},addStatus:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)][o(1555)][o(871)](s=>s.id===r.root[o(1741)]);if(!i)return;const a=i[o(459)][o(871)](s=>s.id===t);if(!a)return;const u={...x,id:ve[o(1239)]()};a.contentInfo[o(1378)].push(u),i[o(297)].past[o(177)](on(o(1172),t,{statusId:u.id})),r[o(297)]=i[o(297)]})},removeStatus:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(171)].canvases.find(s=>s.id===r.root.currentCanvasId);if(!i)return;const a=i[o(459)][o(871)](s=>s.id===t);if(!a)return;const u=a[o(889)][o(1378)][o(1e3)](s=>s.id===x);u!==-1&&(a[o(889)].statusList[o(1744)](u,1),a[o(889)][o(1869)]===x&&(a[o(889)][o(1869)]=void 0),i[o(264)]===x&&(i[o(264)]=null,r.selectedStatusId=null))})},updateStatus:(t,x,r)=>{e(o=>{const i=_0x4b9b,a=o[i(171)][i(1555)][i(871)](d=>d.id===o.root[i(1741)]);if(!a)return;const u=a[i(459)][i(871)](d=>d.id===t);if(!u)return;const s=u[i(889)][i(1378)][i(871)](d=>d.id===x);s&&Object[i(150)](s,r)})},selectStatus:t=>{e(x=>{const r=_0x4b9b,o=x.root.canvases[r(871)](i=>i.id===x.root.currentCanvasId);o&&(o[r(264)]=t,x[r(264)]=t)})},evaluateCurrentStatus:(t,x)=>{const r=c,o=n(),i=o[r(171)][r(1555)][r(871)](s=>s.id===o.root[r(1741)]);if(!i)return;const a=i.nodes[r(871)](s=>s.id===t);if(!a)return;const{dataPool:u}=n();for(const s of a[r(889)][r(1378)])if(dx(s,x,u))return s.id},addDataPoolItem:t=>{const x=c,r=ve[x(1239)]();return e(o=>{const i=x;let a={};t.sample&&typeof t[i(1129)]=="object"&&(Array.isArray(t[i(1129)]),a=t[i(1129)]),o[i(1183)][i(177)]({...t,id:r,sample:a})}),r},updateDataPoolItem:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(1183)][o(871)](a=>a.id===t);i&&(x[o(1388)]!==void 0&&(i[o(1388)]=x.name),x[o(1129)]!==void 0&&(x[o(1129)]&&typeof x[o(1129)]===o(1057)?i.sample=x[o(1129)]:i.sample={}))})},removeDataPoolItem:t=>{e(x=>{const r=_0x4b9b,o=x.dataPool[r(1e3)](i=>i.id===t);if(o!==-1){x[r(1183)][r(1744)](o,1);for(const i of x.root[r(1555)])Ho(i.nodes,t)}})},setDataPool:t=>{e(x=>{const r=_0x4b9b;x[r(1183)]=t[r(1779)](o=>{const i=r;let a={};return o[i(1129)]&&typeof o[i(1129)]===i(1057)&&(a=o[i(1129)]),{...o,sample:a}})})},setEventFlow:t=>{e(x=>{const r=_0x4b9b;x[r(322)]={eventBlocks:t[r(768)]??[],eventRoots:t.eventRoots??[],editingEventRootId:t.editingEventRootId??null,isEditingEventFlow:t.isEditingEventFlow??!1}})},setExternalHandlerCatalog:t=>{e(x=>{const r=_0x4b9b,o=new Set;x[r(1021)]=[];for(const i of t){const a=String(i[r(1671)]??"")[r(1826)]();!a||o[r(1949)](a)||(o[r(505)](a),x[r(1021)][r(177)]({key:a,label:String(i[r(1820)]??"")[r(1826)]()||a,description:i[r(1022)]}))}})},addMaterial:t=>{e(x=>{const r=_0x4b9b;if(x[r(1956)][r(1385)](a=>a.name===t[r(1388)]))return;const i={...t,id:ve.nanoid()};x.materials.push(i)})},updateMaterial:(t,x)=>{e(r=>{const o=_0x4b9b,i=r.materials.find(a=>a.id===t);i&&Object[o(150)](i,x)})},removeMaterial:t=>{e(x=>{const r=_0x4b9b,o=x[r(1956)][r(1e3)](i=>i.id===t);o!==-1&&x[r(1956)][r(1744)](o,1)})},setViewport:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(871)](i=>i.id===x[r(171)].currentCanvasId);o&&(Object[r(150)](o[r(1363)],t),x.viewport=o[r(1363)])})},setCanvasConfig:t=>{e(x=>{const r=_0x4b9b,o=x.root[r(1555)][r(871)](i=>i.id===x[r(171)].currentCanvasId);o&&(o[r(1413)]={...o[r(1413)],...t},x[r(1619)]=o.canvasConfig)})},setMode:t=>{e(x=>{const r=_0x4b9b;x[r(281)]=t})},startLineDrawing:t=>{e(x=>{const r=_0x4b9b;x.mode=r(778),x.lineDrawing={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{e(x=>{const r=_0x4b9b;x[r(1656)][r(718)]&&(x[r(1656)][r(1927)]=t)})},endLineDrawing:()=>{e(t=>{const x=_0x4b9b;t[x(281)]=x(1380),t[x(1656)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{e(t=>{const x=_0x4b9b;t[x(281)]=x(1380),t[x(1656)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{e(t=>{const x=_0x4b9b,r=t[x(171)].canvases.find(i=>i.id===t.root[x(1741)]);if(!r)return;const o=r[x(297)][x(260)][x(1455)]();o&&(r[x(297)][x(1645)].push(o),t[x(297)]=r[x(297)])})},redo:()=>{e(t=>{const x=_0x4b9b,r=t[x(171)][x(1555)][x(871)](i=>i.id===t[x(171)][x(1741)]);if(!r)return;const o=r[x(297)].future[x(1455)]();o&&(r.history[x(260)][x(177)](o),t.history=r[x(297)])})},recordEvent:t=>{e(x=>{const r=_0x4b9b,o=x[r(171)][r(1555)][r(871)](i=>i.id===x[r(171)].currentCanvasId);o&&(o[r(297)][r(260)].push(t),o[r(297)][r(1645)]=[],x[r(297)]=o[r(297)])})},exportScheme:()=>{const t=c,x=n();return{version:t(1374),root:x.root,materials:x[t(1956)],dataPool:x[t(1183)],eventFlow:x[t(322)],metadata:{name:x[t(171)][t(1388)],description:"",createdAt:new Date()[t(238)](),updatedAt:new Date()[t(238)]()}}},importScheme:t=>{e(x=>{const r=_0x4b9b;if(t.root){x.root=t[r(171)],x[r(1183)]=t[r(1183)]??[],t[r(322)]&&(x[r(322)]={eventBlocks:t.eventFlow[r(768)]??[],eventRoots:t.eventFlow[r(480)]??[],editingEventRootId:t[r(322)][r(1659)]??null,isEditingEventFlow:t.eventFlow[r(779)]??!1});const o=x.root[r(1555)].find(i=>i.id===x.root[r(1741)])||x[r(171)].canvases[0];o&&(x[r(171)][r(1741)]=o.id,x[r(459)]=o[r(459)],x.canvas=o.canvasConfig,x.viewport=o[r(1363)],x.selectedNodeId=o.selectedNodeId,x[r(1790)]=o[r(1790)],x[r(264)]=o[r(264)],x[r(297)]=o.history)}else{const o=fx();o[r(459)]=t[r(459)]||[],x[r(171)][r(1555)]=[o],x[r(171)][r(1741)]=o.id,x[r(1183)]=t[r(1183)]??[],t[r(322)]&&(x[r(322)]={eventBlocks:t.eventFlow[r(768)]??[],eventRoots:t[r(322)].eventRoots??[],editingEventRootId:t.eventFlow[r(1659)]??null,isEditingEventFlow:t[r(322)][r(779)]??!1}),x[r(459)]=o[r(459)],x[r(1619)]=o[r(1413)],x[r(1363)]=t[r(1363)]||o.viewport,x[r(255)]=null,x[r(264)]=null,x[r(297)]={past:[],future:[]}}for(const o of x.root.canvases)ux(o[r(459)])})},exportCanvas:t=>{const x=c,r=n(),o=t||r[x(171)].currentCanvasId,i=r.root[x(1555)].find(a=>a.id===o);if(!i)throw new Error("画布 "+o+" 不存在");return{version:"2.0.0",canvas:i,metadata:{name:i.name,description:"",exportedAt:new Date()[x(238)]()}}},importCanvas:(t,x)=>{e(r=>{const o=_0x4b9b,i=t[o(1619)],a=x||r[o(171)].currentCanvasId,u=r[o(171)][o(1555)][o(871)](s=>s.id===a);if(u)u[o(1388)]=i[o(1388)],u[o(459)]=i.nodes||[],u.canvasConfig=i[o(1413)],u.viewport=i[o(1363)],u.selectedNodeId=null,u.selectedNodeIds=[],u[o(264)]=null,u[o(297)]=i[o(297)]||{past:[],future:[]},a===r[o(171)][o(1741)]&&(r[o(459)]=u[o(459)],r.canvas=u.canvasConfig,r[o(1363)]=u[o(1363)],r[o(255)]=u[o(255)],r[o(1790)]=u.selectedNodeIds,r[o(264)]=u.selectedStatusId,r.history=u[o(297)]);else{const s={...i,id:ve.nanoid(),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};r.root[o(1555)][o(177)](s),r[o(171)][o(1741)]=s.id,r.nodes=s[o(459)],r[o(1619)]=s.canvasConfig,r[o(1363)]=s[o(1363)],r[o(255)]=s.selectedNodeId,r[o(1790)]=s[o(1790)],r[o(264)]=s[o(264)],r[o(297)]=s[o(297)]}for(const s of r.root[o(1555)])ux(s[o(459)])})},addEventBlock:t=>{const x=c,r=ve[x(1239)]();return e(o=>{const i=x;o.eventFlow[i(768)][i(177)]({...t,id:r})}),r},upsertEventBlock:t=>{e(x=>{const r=_0x4b9b,o=x[r(322)][r(768)][r(1e3)](i=>i.id===t.id);o!==-1?x[r(322)][r(768)][o]={...t}:x[r(322)][r(768)][r(177)]({...t})})},updateEventBlock:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(322)].eventBlocks.find(a=>a.id===t);i&&Object[o(150)](i,x)})},removeEventBlock:t=>{e(x=>{const r=_0x4b9b,o=x[r(322)].eventBlocks[r(1e3)](i=>i.id===t);o!==-1&&x.eventFlow[r(768)].splice(o,1)})},addEventRoot:t=>{const x=c,r=ve[x(1239)]();return e(o=>{const i=x;o[i(322)][i(480)].push({...t,id:r})}),r},updateEventRoot:(t,x)=>{e(r=>{const o=_0x4b9b,i=r[o(322)].eventRoots[o(871)](a=>a.id===t);i&&Object[o(150)](i,x)})},removeEventRoot:t=>{e(x=>{const r=_0x4b9b,o=x.eventFlow[r(480)].findIndex(i=>i.id===t);o!==-1&&x.eventFlow[r(480)][r(1744)](o,1)})},setEditingEventRoot:t=>{e(x=>{const r=_0x4b9b;x[r(322)].editingEventRootId=t})},setIsEditingEventFlow:t=>{e(x=>{const r=_0x4b9b;x[r(322)][r(779)]=t})},bindNodeEvent:(t,x,r)=>{const o=c,i=ve[o(1239)]();return e(a=>{const u=o;a[u(322)][u(480)].push({id:i,bindNodeId:t,eventType:x,flowData:r,enabled:!0})}),i},unbindNodeEvent:(t,x,r)=>{e(o=>{const i=_0x4b9b,a=o[i(322)].eventRoots.findIndex(u=>{const s=i;return u[s(643)]!==t||u[s(699)]!==x?!1:x===s(1789)?(u.externalEventKey||"").trim()===(r||"")[s(1826)]():!0});a!==-1&&o.eventFlow[i(480)][i(1744)](a,1)})},getNodeEventRoots:t=>{const x=c;return n()[x(322)][x(480)][x(917)](r=>r[x(643)]===t)}}))),qo=[{id:ve.nanoid(),name:"矩形",type:c(1076),src:c(1316)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1890ff" rx="4"/></svg>')},{id:ve.nanoid(),name:"圆形",type:c(1076),src:c(1316)+encodeURIComponent(c(1568))},{id:ve[c(1239)](),name:c(419),type:c(1076),src:c(1316)+encodeURIComponent(c(436))},{id:ve[c(1239)](),name:"阀门",type:c(1076),src:c(1316)+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.nanoid(),name:"泵",type:"IMAGE",src:c(1316)+encodeURIComponent(c(1159))},{id:ve[c(1239)](),name:"罐体",type:"IMAGE",src:c(1316)+encodeURIComponent(c(667))},{id:ve[c(1239)](),name:c(1623),type:c(581),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(819),color:c(1228),textAlign:c(1460)},valueStyle:{fontSize:14,fontWeight:c(350),color:"#1890ff",textAlign:c(1460)}}},{id:ve.nanoid(),name:"线条",type:c(1167),config:{thickness:2,lineWeight:2,color:c(1228),lineType:c(1290)}}],bx=e=>({id:ve[c(1239)](),name:c(1620),expression:c(1433),material:{...e,id:ve[c(1239)]()},boundDatasetId:null}),Wo=(e,n,t)=>{const x=c;if(t?.type==="CUSTOM"&&t[x(1255)]?.[x(459)]){const r=t[x(1255)][x(459)].map(d=>({...d,id:ve[x(1239)]()}));let o=1/0,i=1/0,a=-1/0,u=-1/0;r[x(366)](d=>{const f=x,b=d[f(1578)].x||0,h=d[f(1578)].y||0,v=d[f(1578)].width||0,g=d[f(1578)][f(800)]||0;o=Math[f(1291)](o,b),i=Math.min(i,h),a=Math[f(1122)](a,b+v),u=Math[f(1122)](u,h+g)});const s=r[x(1779)](d=>({...d,normalStyle:{...d.normalStyle,x:(d[x(1578)].x||0)-o,y:(d[x(1578)].y||0)-i,scale:void 0}}));return{id:ve[x(1239)](),name:t.name||x(475),type:x(523),normalStyle:{width:a-o,height:u-i,x:e,y:n},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:ve[x(1239)](),name:x(441),type:x(350),normalStyle:{width:120,height:100,x:e,y:n,background:x(994),padding:8},contentInfo:{statusList:t?[bx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:_n}=z[c(1351)],{Text:x0}=z[c(1860)],Xo=({onUploadSvg:e})=>{const n=c,{materials:t,addMaterial:x,removeMaterial:r,selectedStatusId:o,selectStatus:i,mode:a,lineDrawing:u,startLineDrawing:s,cancelLineDrawing:d}=Ye(),[f,b]=L[n(195)](["basic",n(1318),n(875),n(428)]),h=m=>{const w=n,y=new FileReader;return y[w(761)]=C=>{const I=w,Y=C.target?.[I(830)];x({name:m[I(1388)][I(1084)](I(698),""),type:I(1076),src:Y})},y[w(200)](m),!1},v={basic:t.filter(m=>["矩形","圆形","圆角矩形"][n(444)](m[n(1388)])),device:t.filter(m=>["阀门","泵","罐体"][n(444)](m[n(1388)])||m[n(954)]===n(1076)&&!["矩形","圆形",n(419)][n(444)](m[n(1388)])&&m[n(1388)]!==n(453)),text:t[n(917)](m=>m[n(954)]==="TEXT"),line:t[n(917)](m=>m[n(954)]==="LINE"),group:t[n(917)](m=>m[n(954)]===n(457)&&m.config?.[n(459)]),custom:t.filter(m=>m[n(954)]===n(457)&&!m[n(1255)]?.[n(459)]||m.type===n(1076)&&!["矩形","圆形",n(419),"阀门","泵","罐体"][n(444)](m[n(1388)]))},g=(m,w)=>{const y=n;m[y(853)].effectAllowed=y(1043),m[y(853)][y(777)]("application/json",JSON[y(520)](w));const C=m[y(1222)][y(713)](y(1049));C&&m[y(853)].setDragImage(C,20,20)},p=m=>{m[n(954)]==="LINE"&&s(m)},M=(m,w=!1)=>{const y=n,C=w===!0,I=a===y(778)&&C&&u.material?.id===m.id;return l[y(1667)](z.List.Item,{draggable:!C,onDragStart:Y=>g(Y,m),onClick:()=>C&&p(m),className:y(1561)+y(C?497:838)+y(1747)+y(347)+y(1747)+(I?y(414):"")+y(1580),actions:[C?l[y(1667)](z[y(978)],{type:y(875),size:y(1715),icon:l[y(1667)](le[y(1311)],{}),onClick:Y=>{Y[y(1440)](),p(m)},children:"绘制"},y(1864)):null,l.jsx(z[y(978)],{type:y(875),size:y(1715),danger:!0,icon:l.jsx(le[y(521)],{}),onClick:Y=>{Y[y(1440)](),r(m.id)}},y(567))][y(917)](Boolean),children:l.jsxs(y(1574),{className:y(1719)+(C?"":y(632)),children:[l[y(1667)]("div",{className:y(812),children:m[y(954)]==="IMAGE"&&m.src?l[y(1667)](z[y(894)],{src:m[y(920)],alt:m[y(1388)],width:40,height:40,preview:!1}):m.type==="TEXT"?l[y(1667)]("span",{className:y(247),children:"T"}):m[y(954)]===y(1167)?l.jsx(y(1574),{className:y(1251)}):m.type===y(457)&&m.config?.[y(459)]?l.jsx("span",{className:y(391),children:"G"}):l[y(1667)](y(1627),{className:y(247),children:"?"})}),l[y(1200)]("div",{className:y(884),children:[l.jsx(x0,{strong:!0,className:y(374),children:m[y(1388)]}),l[y(1200)](y(1574),{className:y(360),children:[l[y(1667)](x0,{type:y(1963),className:y(257),children:m[y(954)]}),I&&l[y(1667)](z[y(239)],{color:y(1262),className:y(257),children:y(1526)})]})]})]})},m.id)};return l[n(1200)](n(1574),{className:n(305),children:[l[n(1200)](n(1574),{className:n(588),children:[l[n(1667)]("h3",{className:"text-lg font-semibold text-gray-800",children:n(1818)}),l[n(1667)](x0,{type:n(1963),className:n(1214),children:n(1694)})]}),l.jsx("div",{className:n(787),children:e?l[n(1667)](z[n(978)],{icon:l[n(1667)](le.UploadOutlined,{}),block:!0,type:n(725),onClick:()=>{const m=n;e()[m(1174)](w=>{const y=m;console[y(870)](y(1194),w)})},children:n(1482)}):l[n(1667)](z[n(849)],{accept:n(698),beforeUpload:h,showUploadList:!1,children:l.jsx(z[n(978)],{icon:l[n(1667)](le[n(524)],{}),block:!0,type:"dashed",children:n(1482)})})}),l[n(1667)](n(1574),{className:n(1148),children:l[n(1200)](z[n(1351)],{activeKey:f,onChange:m=>b(m),ghost:!0,expandIconPosition:n(935),children:[l[n(1667)](_n,{header:n(1178),children:l[n(1667)](z.List,{dataSource:v[n(590)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1667)](z[n(1557)],{description:n(482),image:z[n(1557)][n(1229)]})}})},"basic"),l[n(1667)](_n,{header:"设备图标",children:l[n(1667)](z.List,{dataSource:v[n(1318)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1667)](z.Empty,{description:n(482),image:z[n(1557)][n(1229)]})}})},"device"),l[n(1667)](_n,{header:"文本",children:l.jsx(z[n(1541)],{dataSource:v[n(875)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(z[n(1557)],{description:n(482),image:z[n(1557)].PRESENTED_IMAGE_SIMPLE})}})},n(875)),l[n(1200)](_n,{header:l[n(1200)](n(1574),{className:"flex items-center justify-between",children:[l[n(1667)](n(1627),{children:"线条"}),a===n(778)&&l[n(1667)](z[n(239)],{color:"blue",className:n(257),children:n(510)})]}),children:[l[n(1667)](z[n(1541)],{dataSource:v[n(428)],renderItem:m=>M(m,!0),locale:{emptyText:l[n(1667)](z[n(1557)],{description:n(482),image:z[n(1557)][n(1229)]})}}),a===n(778)&&l[n(1200)](n(1574),{className:n(1272),children:[l[n(1667)](n(1574),{children:n(720)}),l.jsx(n(1574),{children:"点击画布确定起点和终点"})]})]},"line"),v[n(523)][n(586)]>0&&l.jsx(_n,{header:"群组",children:l[n(1667)](z[n(1541)],{dataSource:v[n(523)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1667)](z.Empty,{description:n(482),image:z[n(1557)][n(1229)]})}})},n(523)),v[n(351)].length>0&&l[n(1667)](_n,{header:n(453),children:l[n(1667)](z[n(1541)],{dataSource:v[n(351)],renderItem:m=>M(m,!1),locale:{emptyText:l[n(1667)](z[n(1557)],{description:"暂无物料",image:z.Empty[n(1229)]})}})},n(351))]})}),l.jsx(n(1574),{className:n(915),children:l[n(1667)](x0,{type:n(1963),className:"text-xs",children:a===n(778)?l[n(1667)](l.Fragment,{children:n(1631)}):l[n(1667)](l[n(990)],{children:n(190)})})})]})};var hx=function(e,n){const t=c;return hx=Object[t(1582)]||{__proto__:[]}instanceof Array&&function(x,r){const o=t;x[o(1293)]=r}||function(x,r){const o=t;for(var i in r)Object[o(502)][o(1885)][o(211)](r,i)&&(x[i]=r[i])},hx(e,n)};function Cn(e,n){const t=c;if(typeof n!==t(1151)&&n!==null)throw new TypeError("Class extends value "+String(n)+t(1340));hx(e,n);function x(){const r=t;this[r(1263)]=e}e[t(502)]=n===null?Object[t(827)](n):(x[t(502)]=n[t(502)],new x)}function $c(e,n,t,x){function r(o){return o instanceof t?o:new t(function(i){i(o)})}return new(t||(t=Promise))(function(o,i){const a=_0x4b9b;function u(f){try{d(x.next(f))}catch(b){i(b)}}function s(f){try{d(x.throw(f))}catch(b){i(b)}}function d(f){const b=_0x4b9b;f[b(1418)]?o(f[b(1161)]):r(f.value)[b(909)](u,s)}d((x=x[a(242)](e,n||[]))[a(218)]())})}function Ko(e,n){const t=c;var x={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a=Object[t(827)]((typeof Iterator===t(1151)?Iterator:Object)[t(502)]);return a[t(218)]=u(0),a.throw=u(1),a[t(1638)]=u(2),typeof Symbol===t(1151)&&(a[Symbol[t(277)]]=function(){return this}),a;function u(d){return function(f){return s([d,f])}}function s(d){const f=t;if(r)throw new TypeError(f(924));for(;a&&(a=0,d[0]&&(x=0)),x;)try{if(r=1,o&&(i=d[0]&2?o[f(1638)]:d[0]?o[f(1165)]||((i=o.return)&&i[f(211)](o),0):o.next)&&!(i=i[f(211)](o,d[1]))[f(1418)])return i;switch(o=0,i&&(d=[d[0]&2,i[f(1161)]]),d[0]){case 0:case 1:i=d;break;case 4:return x[f(1820)]++,{value:d[1],done:!1};case 5:x[f(1820)]++,o=d[1],d=[0];continue;case 7:d=x[f(717)][f(1455)](),x[f(707)][f(1455)]();continue;default:if(i=x[f(707)],!(i=i.length>0&&i[i[f(586)]-1])&&(d[0]===6||d[0]===2)){x=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){x[f(1820)]=d[1];break}if(d[0]===6&&x.label<i[1]){x.label=i[1],i=d;break}if(i&&x.label<i[2]){x[f(1820)]=i[2],x.ops[f(177)](d);break}i[2]&&x[f(717)][f(1455)](),x[f(707)][f(1455)]();continue}d=n[f(211)](e,x)}catch(b){d=[6,b],o=0}finally{r=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function Fn(e){const n=c;var t=typeof Symbol===n(1151)&&Symbol[n(277)],x=t&&e[t],r=0;if(x)return x[n(211)](e);if(e&&typeof e[n(586)]===n(536))return{next:function(){return e&&r>=e[n(586)]&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?n(1242):"Symbol.iterator is not defined.")}function o0(e,n){const t=c;var x=typeof Symbol===t(1151)&&e[Symbol[t(277)]];if(!x)return e;var r=x[t(211)](e),o,i=[],a;try{for(;(n===void 0||n-- >0)&&!(o=r.next())[t(1418)];)i[t(177)](o.value)}catch(u){a={error:u}}finally{try{o&&!o[t(1418)]&&(x=r[t(1638)])&&x[t(211)](r)}finally{if(a)throw a[t(1243)]}}return i}function r0(e,n,t){const x=c;if(t||arguments[x(586)]===2)for(var r=0,o=n[x(586)],i;r<o;r++)(i||!(r in n))&&(i||(i=Array[x(502)][x(1562)][x(211)](n,0,r)),i[r]=n[r]);return e[x(174)](i||Array[x(502)][x(1562)][x(211)](n))}function Qn(e){return this instanceof Qn?(this.v=e,this):new Qn(e)}function es(e,n,t){const x=c;if(!Symbol.asyncIterator)throw new TypeError(x(585));var r=t[x(242)](e,n||[]),o,i=[];return o=Object[x(827)]((typeof AsyncIterator===x(1151)?AsyncIterator:Object).prototype),u("next"),u(x(1165)),u(x(1638),a),o[Symbol[x(1180)]]=function(){return this},o;function a(v){return function(g){const p=_0x4b9b;return Promise.resolve(g)[p(909)](v,b)}}function u(v,g){r[v]&&(o[v]=function(p){return new Promise(function(M,m){i[_0x4b9b(177)]([v,p,M,m])>1||s(v,p)})},g&&(o[v]=g(o[v])))}function s(v,g){try{d(r[v](g))}catch(p){h(i[0][3],p)}}function d(v){const g=x;v.value instanceof Qn?Promise[g(817)](v.value.v)[g(909)](f,b):h(i[0][2],v)}function f(v){s(x(218),v)}function b(v){s(x(1165),v)}function h(v,g){const p=x;v(g),i.shift(),i[p(586)]&&s(i[0][0],i[0][1])}}function ns(e){const n=c;if(!Symbol[n(1180)])throw new TypeError(n(585));var t=e[Symbol.asyncIterator],x;return t?t[n(211)](e):(e=typeof Fn===n(1151)?Fn(e):e[Symbol[n(277)]](),x={},r("next"),r(n(1165)),r(n(1638)),x[Symbol[n(1180)]]=function(){return this},x);function r(i){x[i]=e[i]&&function(a){return new Promise(function(u,s){const d=_0x4b9b;a=e[i](a),o(u,s,a[d(1418)],a.value)})}}function o(i,a,u,s){const d=n;Promise[d(817)](s)[d(909)](function(f){i({value:f,done:u})},a)}}typeof SuppressedError===c(1151)&&SuppressedError;function Pe(e){return typeof e===c(1151)}function gx(e){const n=c;var t=function(r){const o=_0x4b9b;Error[o(211)](r),r[o(303)]=new Error().stack},x=e(t);return x.prototype=Object[n(827)](Error[n(502)]),x[n(502)][n(1263)]=x,x}var yx=gx(function(e){return function(t){const x=_0x4b9b;e(this),this[x(1695)]=t?t[x(586)]+` errors occurred during unsubscription:
|
|
3
|
-
`+t[x(1779)](function(r,o){const i=x;return o+1+") "+r[i(1428)]()}).join(x(890)):"",this[x(1388)]="UnsubscriptionError",this.errors=t}});function i0(e,n){const t=c;if(e){var x=e[t(1836)](n);0<=x&&e[t(1744)](x,1)}}var Dt=(function(){const e=c;function n(t){const x=_0x4b9b;this[x(212)]=t,this[x(1175)]=!1,this[x(1008)]=null,this[x(968)]=null}return n[e(502)].unsubscribe=function(){const t=e;var x,r,o,i,a;if(!this.closed){this[t(1175)]=!0;var u=this._parentage;if(u)if(this._parentage=null,Array[t(1922)](u))try{for(var s=Fn(u),d=s.next();!d[t(1418)];d=s[t(218)]()){var f=d[t(1161)];f[t(1898)](this)}}catch(M){x={error:M}}finally{try{d&&!d.done&&(r=s[t(1638)])&&r.call(s)}finally{if(x)throw x.error}}else u[t(1898)](this);var b=this[t(212)];if(Pe(b))try{b()}catch(M){a=M instanceof yx?M[t(1038)]:[M]}var h=this[t(968)];if(h){this._finalizers=null;try{for(var v=Fn(h),g=v[t(218)]();!g[t(1418)];g=v[t(218)]()){var p=g.value;try{Jo(p)}catch(M){a=a??[],M instanceof yx?a=r0(r0([],o0(a)),o0(M.errors)):a[t(177)](M)}}}catch(M){o={error:M}}finally{try{g&&!g[t(1418)]&&(i=v.return)&&i[t(211)](v)}finally{if(o)throw o[t(1243)]}}}if(a)throw new yx(a)}},n[e(502)].add=function(t){const x=e;var r;if(t&&t!==this)if(this.closed)Jo(t);else{if(t instanceof n){if(t[x(1175)]||t[x(1799)](this))return;t[x(918)](this)}(this._finalizers=(r=this[x(968)])!==null&&r!==void 0?r:[])[x(177)](t)}},n.prototype._hasParent=function(t){const x=e;var r=this[x(1008)];return r===t||Array[x(1922)](r)&&r[x(444)](t)},n[e(502)][e(918)]=function(t){const x=e;var r=this[x(1008)];this[x(1008)]=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},n.prototype._removeParent=function(t){const x=e;var r=this[x(1008)];r===t?this[x(1008)]=null:Array[x(1922)](r)&&i0(r,t)},n[e(502)][e(1898)]=function(t){const x=e;var r=this[x(968)];r&&i0(r,t),t instanceof n&&t[x(377)](this)},n.EMPTY=(function(){const t=e;var x=new n;return x[t(1175)]=!0,x})(),n})(),Zo=Dt[c(1004)];function Ro(e){const n=c;return e instanceof Dt||e&&"closed"in e&&Pe(e.remove)&&Pe(e[n(505)])&&Pe(e[n(1125)])}function Jo(e){const n=c;Pe(e)?e():e[n(1125)]()}var ts={Promise:void 0},xs={setTimeout:function(e,n){const t=c;for(var x=[],r=2;r<arguments[t(586)];r++)x[r-2]=arguments[r];return setTimeout[t(242)](void 0,r0([e,n],o0(x)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function _o(e){xs.setTimeout(function(){throw e})}function Fo(){}function a0(e){e()}var mx=(function(e){const n=c;Cn(t,e);function t(x){const r=_0x4b9b;var o=e[r(211)](this)||this;return o[r(1655)]=!1,x?(o[r(280)]=x,Ro(x)&&x[r(505)](o)):o[r(280)]=is,o}return t[n(827)]=function(x,r,o){return new wx(x,r,o)},t[n(502)][n(218)]=function(x){const r=n;this.isStopped||this[r(960)](x)},t[n(502)][n(1243)]=function(x){const r=n;this[r(1655)]||(this.isStopped=!0,this[r(1773)](x))},t[n(502)].complete=function(){const x=n;this.isStopped||(this[x(1655)]=!0,this[x(1089)]())},t.prototype.unsubscribe=function(){const x=n;!this.closed&&(this[x(1655)]=!0,e[x(502)].unsubscribe[x(211)](this),this[x(280)]=null)},t[n(502)][n(960)]=function(x){const r=n;this[r(280)][r(218)](x)},t.prototype[n(1773)]=function(x){const r=n;try{this.destination[r(1243)](x)}finally{this[r(1125)]()}},t[n(502)][n(1089)]=function(){const x=n;try{this[x(280)][x(237)]()}finally{this[x(1125)]()}},t})(Dt),os=(function(){const e=c;function n(t){const x=_0x4b9b;this[x(1465)]=t}return n[e(502)].next=function(t){const x=e;var r=this[x(1465)];if(r[x(218)])try{r[x(218)](t)}catch(o){c0(o)}},n[e(502)][e(1243)]=function(t){const x=e;var r=this[x(1465)];if(r[x(1243)])try{r.error(t)}catch(o){c0(o)}else c0(t)},n[e(502)][e(237)]=function(){const t=e;var x=this[t(1465)];if(x[t(237)])try{x[t(237)]()}catch(r){c0(r)}},n})(),wx=(function(e){Cn(n,e);function n(t,x,r){var i=e[_0x4b9b(211)](this)||this,a;return Pe(t)||!t?a={next:t??void 0,error:x??void 0,complete:r??void 0}:a=t,i.destination=new os(a),i}return n})(mx);function c0(e){_o(e)}function rs(e){throw e}var is={closed:!0,next:Fo,error:rs,complete:Fo},vx=(function(){const e=c;return typeof Symbol===e(1151)&&Symbol[e(1714)]||e(543)})();function Qo(e){return e}function as(e){const n=c;return e[n(586)]===0?Qo:e[n(586)]===1?e[0]:function(x){return e[n(1468)](function(o,i){return i(o)},x)}}var Ke=(function(){const e=c;function n(t){const x=_0x4b9b;t&&(this[x(867)]=t)}return n.prototype[e(1441)]=function(t){const x=e;var r=new n;return r[x(385)]=this,r[x(1431)]=t,r},n[e(502)][e(865)]=function(t,x,r){var o=this,i=ss(t)?t:new wx(t,x,r);return a0(function(){const a=_0x4b9b;var u=o,s=u[a(1431)],d=u[a(385)];i.add(s?s[a(211)](i,d):d?o._subscribe(i):o[a(1020)](i))}),i},n[e(502)][e(1020)]=function(t){try{return this._subscribe(t)}catch(x){t.error(x)}},n.prototype[e(366)]=function(t,x){var r=this;return x=$o(x),new x(function(o,i){const a=_0x4b9b;var u=new wx({next:function(s){const d=_0x4b9b;try{t(s)}catch(f){i(f),u[d(1125)]()}},error:i,complete:o});r[a(865)](u)})},n[e(502)][e(867)]=function(t){const x=e;var r;return(r=this.source)===null||r===void 0?void 0:r[x(865)](t)},n[e(502)][vx]=function(){return this},n[e(502)][e(365)]=function(){const t=e;for(var x=[],r=0;r<arguments[t(586)];r++)x[r]=arguments[r];return as(x)(this)},n.prototype[e(1439)]=function(t){var x=this;return t=$o(t),new t(function(r,o){const i=_0x4b9b;var a;x[i(865)](function(u){return a=u},function(u){return o(u)},function(){return r(a)})})},n[e(827)]=function(t){return new n(t)},n})();function $o(e){const n=c;var t;return(t=e??ts[n(685)])!==null&&t!==void 0?t:Promise}function cs(e){const n=c;return e&&Pe(e.next)&&Pe(e[n(1243)])&&Pe(e.complete)}function ss(e){return e&&e instanceof mx||cs(e)&&Ro(e)}function ls(e){return Pe(e?.lift)}function Pn(e){return function(n){const t=_0x4b9b;if(ls(n))return n[t(1441)](function(x){const r=t;try{return e(x,this)}catch(o){this[r(1243)](o)}});throw new TypeError(t(1427))}}function An(e,n,t,x,r){return new ds(e,n,t,x,r)}var ds=(function(e){const n=c;Cn(t,e);function t(x,r,o,i,a,u){const s=_0x4b9b;var d=e.call(this,x)||this;return d[s(622)]=a,d[s(734)]=u,d[s(960)]=r?function(f){const b=s;try{r(f)}catch(h){x[b(1243)](h)}}:e[s(502)][s(960)],d[s(1773)]=i?function(f){const b=s;try{i(f)}catch(h){x[b(1243)](h)}finally{this[b(1125)]()}}:e[s(502)][s(1773)],d[s(1089)]=o?function(){const f=s;try{o()}catch(b){x[f(1243)](b)}finally{this[f(1125)]()}}:e[s(502)][s(1089)],d}return t[n(502)].unsubscribe=function(){const x=n;var r;if(!this.shouldUnsubscribe||this[x(734)]()){var o=this[x(1175)];e[x(502)].unsubscribe[x(211)](this),!o&&((r=this[x(622)])===null||r===void 0||r[x(211)](this))}},t})(mx),us=gx(function(e){return function(){const t=_0x4b9b;e(this),this[t(1388)]=t(1657),this[t(1695)]=t(1628)}}),er=(function(e){const n=c;Cn(t,e);function t(){const x=_0x4b9b;var r=e[x(211)](this)||this;return r[x(1175)]=!1,r[x(1469)]=null,r[x(1136)]=[],r[x(1655)]=!1,r[x(1268)]=!1,r[x(1500)]=null,r}return t.prototype.lift=function(x){const r=_0x4b9b;var o=new nr(this,this);return o[r(1431)]=x,o},t.prototype[n(1754)]=function(){if(this[n(1175)])throw new us},t[n(502)][n(218)]=function(x){var r=this;a0(function(){const o=_0x4b9b;var i,a;if(r[o(1754)](),!r[o(1655)]){!r[o(1469)]&&(r[o(1469)]=Array[o(1256)](r[o(1136)]));try{for(var u=Fn(r.currentObservers),s=u[o(218)]();!s[o(1418)];s=u[o(218)]()){var d=s[o(1161)];d[o(218)](x)}}catch(f){i={error:f}}finally{try{s&&!s[o(1418)]&&(a=u.return)&&a[o(211)](u)}finally{if(i)throw i[o(1243)]}}}})},t[n(502)][n(1243)]=function(x){var r=this;a0(function(){const o=_0x4b9b;if(r[o(1754)](),!r[o(1655)]){r[o(1268)]=r[o(1655)]=!0,r[o(1500)]=x;for(var i=r[o(1136)];i[o(586)];)i[o(430)]()[o(1243)](x)}})},t[n(502)][n(237)]=function(){var x=this;a0(function(){const r=_0x4b9b;if(x[r(1754)](),!x[r(1655)]){x.isStopped=!0;for(var o=x[r(1136)];o.length;)o.shift()[r(237)]()}})},t[n(502)][n(1125)]=function(){const x=n;this[x(1655)]=this[x(1175)]=!0,this[x(1136)]=this.currentObservers=null},Object.defineProperty(t[n(502)],"observed",{get:function(){const x=n;var r;return((r=this[x(1136)])===null||r===void 0?void 0:r[x(586)])>0},enumerable:!1,configurable:!0}),t.prototype[n(1020)]=function(x){const r=n;return this[r(1754)](),e[r(502)][r(1020)][r(211)](this,x)},t[n(502)][n(867)]=function(x){const r=n;return this._throwIfClosed(),this[r(1005)](x),this._innerSubscribe(x)},t[n(502)][n(677)]=function(x){const r=n;var o=this,i=this,a=i[r(1268)],u=i[r(1655)],s=i.observers;return a||u?Zo:(this.currentObservers=null,s[r(177)](x),new Dt(function(){const d=r;o[d(1469)]=null,i0(s,x)}))},t.prototype[n(1005)]=function(x){const r=n;var o=this,i=o[r(1268)],a=o[r(1500)],u=o.isStopped;i?x[r(1243)](a):u&&x[r(237)]()},t[n(502)][n(584)]=function(){const x=n;var r=new Ke;return r[x(385)]=this,r},t[n(827)]=function(x,r){return new nr(x,r)},t})(Ke),nr=(function(e){const n=c;Cn(t,e);function t(x,r){const o=_0x4b9b;var i=e.call(this)||this;return i[o(280)]=x,i[o(385)]=r,i}return t.prototype[n(218)]=function(x){const r=n;var o,i;(i=(o=this[r(280)])===null||o===void 0?void 0:o[r(218)])===null||i===void 0||i.call(o,x)},t.prototype[n(1243)]=function(x){const r=n;var o,i;(i=(o=this[r(280)])===null||o===void 0?void 0:o.error)===null||i===void 0||i[r(211)](o,x)},t.prototype[n(237)]=function(){const x=n;var r,o;(o=(r=this[x(280)])===null||r===void 0?void 0:r[x(237)])===null||o===void 0||o[x(211)](r)},t[n(502)][n(867)]=function(x){const r=n;var o,i;return(i=(o=this[r(385)])===null||o===void 0?void 0:o[r(865)](x))!==null&&i!==void 0?i:Zo},t})(er),fs={now:function(){return Date[c(1832)]()}},bs=(function(e){const n=c;Cn(t,e);function t(x,r){return e.call(this)||this}return t[n(502)].schedule=function(x,r){return this},t})(Dt),tr={setInterval:function(e,n){const t=c;for(var x=[],r=2;r<arguments[t(586)];r++)x[r-2]=arguments[r];return setInterval[t(242)](void 0,r0([e,n],o0(x)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},hs=(function(e){const n=c;Cn(t,e);function t(x,r){const o=_0x4b9b;var i=e[o(211)](this,x,r)||this;return i[o(1389)]=x,i.work=r,i[o(1573)]=!1,i}return t[n(502)].schedule=function(x,r){const o=n;var i;if(r===void 0&&(r=0),this[o(1175)])return this;this[o(1375)]=x;var a=this.id,u=this.scheduler;return a!=null&&(this.id=this[o(1040)](u,a,r)),this[o(1573)]=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,r),this},t[n(502)][n(1098)]=function(x,r,o){const i=n;return o===void 0&&(o=0),tr.setInterval(x[i(1150)].bind(x,this),o)},t.prototype[n(1040)]=function(x,r,o){const i=n;return o===void 0&&(o=0),o!=null&&this[i(639)]===o&&this[i(1573)]===!1?r:(r!=null&&tr[i(189)](r),void 0)},t[n(502)].execute=function(x,r){const o=n;if(this[o(1175)])return new Error("executing a cancelled action");this[o(1573)]=!1;var i=this[o(756)](x,r);if(i)return i;this[o(1573)]===!1&&this.id!=null&&(this.id=this[o(1040)](this[o(1389)],this.id,null))},t.prototype[n(756)]=function(x,r){const o=n;var i=!1,a;try{this[o(1750)](x)}catch(u){i=!0,a=u||new Error(o(240))}if(i)return this[o(1125)](),a},t[n(502)].unsubscribe=function(){const x=n;if(!this[x(1175)]){var r=this,o=r.id,i=r[x(1389)],a=i[x(400)];this[x(1750)]=this[x(1375)]=this[x(1389)]=null,this[x(1573)]=!1,i0(a,this),o!=null&&(this.id=this[x(1040)](i,o,null)),this[x(639)]=null,e[x(502)][x(1125)][x(211)](this)}},t})(bs),xr=(function(){const e=c;function n(t,x){const r=_0x4b9b;x===void 0&&(x=n[r(1832)]),this.schedulerActionCtor=t,this[r(1832)]=x}return n.prototype[e(626)]=function(t,x,r){const o=e;return x===void 0&&(x=0),new this[o(1345)](this,t).schedule(r,x)},n[e(1832)]=fs[e(1832)],n})(),gs=(function(e){const n=c;Cn(t,e);function t(x,r){const o=_0x4b9b;r===void 0&&(r=xr[o(1832)]);var i=e[o(211)](this,x,r)||this;return i[o(400)]=[],i[o(1156)]=!1,i}return t[n(502)][n(1150)]=function(x){const r=n;var o=this[r(400)];if(this._active){o[r(177)](x);return}var i;this[r(1156)]=!0;do if(i=x[r(386)](x[r(1375)],x[r(639)]))break;while(x=o[r(430)]());if(this[r(1156)]=!1,i){for(;x=o[r(430)]();)x[r(1125)]();throw i}},t})(xr),ys=new gs(hs);function ms(e){return e&&Pe(e[c(626)])}function ws(e){return e[e[c(586)]-1]}function vs(e){const n=c;return ms(ws(e))?e[n(1455)]():void 0}var or=function(e){return e&&typeof e[c(586)]=="number"&&typeof e!="function"};function rr(e){return Pe(e?.then)}function ir(e){return Pe(e[vx])}function ar(e){return Symbol.asyncIterator&&Pe(e?.[Symbol[c(1180)]])}function cr(e){const n=c;return new TypeError(n(163)+(e!==null&&typeof e=="object"?n(335):"'"+e+"'")+n(1080))}function ps(){const e=c;return typeof Symbol!==e(1151)||!Symbol[e(277)]?e(971):Symbol[e(277)]}var sr=ps();function lr(e){return Pe(e?.[sr])}function dr(e){return es(this,arguments,function(){var t,x,r,o;return Ko(this,function(i){const a=_0x4b9b;switch(i[a(1820)]){case 0:t=e[a(1306)](),i.label=1;case 1:i[a(707)].push([1,,9,10]),i[a(1820)]=2;case 2:return[4,Qn(t.read())];case 3:return x=i.sent(),r=x[a(1161)],o=x[a(1418)],o?[4,Qn(void 0)]:[3,5];case 4:return[2,i[a(530)]()];case 5:return[4,Qn(r)];case 6:return[4,i[a(530)]()];case 7:return i[a(530)](),[3,2];case 8:return[3,10];case 9:return t[a(828)](),[7];case 10:return[2]}})})}function ur(e){return Pe(e?.[c(1306)])}function jn(e){if(e instanceof Ke)return e;if(e!=null){if(ir(e))return zs(e);if(or(e))return Cs(e);if(rr(e))return Ms(e);if(ar(e))return fr(e);if(lr(e))return Bs(e);if(ur(e))return Ds(e)}throw cr(e)}function zs(e){return new Ke(function(n){const t=_0x4b9b;var x=e[vx]();if(Pe(x[t(865)]))return x[t(865)](n);throw new TypeError(t(1861))})}function Cs(e){return new Ke(function(n){const t=_0x4b9b;for(var x=0;x<e.length&&!n.closed;x++)n[t(218)](e[x]);n[t(237)]()})}function Ms(e){return new Ke(function(n){const t=_0x4b9b;e[t(909)](function(x){const r=t;!n.closed&&(n[r(218)](x),n[r(237)]())},function(x){return n[t(1243)](x)})[t(909)](null,_o)})}function Bs(e){return new Ke(function(n){const t=_0x4b9b;var x,r;try{for(var o=Fn(e),i=o[t(218)]();!i.done;i=o.next()){var a=i[t(1161)];if(n.next(a),n[t(1175)])return}}catch(u){x={error:u}}finally{try{i&&!i.done&&(r=o[t(1638)])&&r.call(o)}finally{if(x)throw x[t(1243)]}}n[t(237)]()})}function fr(e){return new Ke(function(n){const t=_0x4b9b;Ls(e,n)[t(1174)](function(x){return n[t(1243)](x)})})}function Ds(e){return fr(dr(e))}function Ls(e,n){var t,x,r,o;return $c(this,void 0,void 0,function(){var i,a;return Ko(this,function(u){const s=_0x4b9b;switch(u.label){case 0:u.trys[s(177)]([0,5,6,11]),t=ns(e),u.label=1;case 1:return[4,t[s(218)]()];case 2:if(x=u.sent(),!!x.done)return[3,4];if(i=x[s(1161)],n[s(218)](i),n.closed)return[2];u[s(1820)]=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u.sent(),r={error:a},[3,11];case 6:return u[s(707)][s(177)]([6,,9,10]),x&&!x[s(1418)]&&(o=t.return)?[4,o.call(t)]:[3,8];case 7:u[s(530)](),u[s(1820)]=8;case 8:return[3,10];case 9:if(r)throw r.error;return[7];case 10:return[7];case 11:return n[s(237)](),[2]}})})}function Mn(e,n,t,x,r){const o=c;x===void 0&&(x=0),r===void 0&&(r=!1);var i=n[o(626)](function(){const a=o;t(),r?e[a(505)](this[a(626)](null,x)):this.unsubscribe()},x);if(e[o(505)](i),!r)return i}function br(e,n){return n===void 0&&(n=0),Pn(function(t,x){t.subscribe(An(x,function(r){return Mn(x,e,function(){return x[_0x4b9b(218)](r)},n)},function(){return Mn(x,e,function(){return x.complete()},n)},function(r){return Mn(x,e,function(){return x[_0x4b9b(1243)](r)},n)}))})}function hr(e,n){return n===void 0&&(n=0),Pn(function(t,x){const r=_0x4b9b;x.add(e[r(626)](function(){return t[r(865)](x)},n))})}function Ns(e,n){const t=c;return jn(e)[t(365)](hr(n),br(n))}function Ss(e,n){return jn(e).pipe(hr(n),br(n))}function ks(e,n){return new Ke(function(t){const x=_0x4b9b;var r=0;return n[x(626)](function(){const o=x;r===e[o(586)]?t[o(237)]():(t[o(218)](e[r++]),!t.closed&&this[o(626)]())})})}function Is(e,n){return new Ke(function(t){var x;return Mn(t,n,function(){x=e[sr](),Mn(t,n,function(){const r=_0x4b9b;var o,i,a;try{o=x[r(218)](),i=o[r(1161)],a=o[r(1418)]}catch(u){t[r(1243)](u);return}a?t[r(237)]():t[r(218)](i)},0,!0)}),function(){const r=_0x4b9b;return Pe(x?.[r(1638)])&&x[r(1638)]()}})}function gr(e,n){const t=c;if(!e)throw new Error(t(764));return new Ke(function(x){Mn(x,n,function(){var r=e[Symbol.asyncIterator]();Mn(x,n,function(){const o=_0x4b9b;r.next()[o(909)](function(i){const a=o;i[a(1418)]?x.complete():x.next(i[a(1161)])})},0,!0)})})}function Ps(e,n){return gr(dr(e),n)}function As(e,n){if(e!=null){if(ir(e))return Ns(e,n);if(or(e))return ks(e,n);if(rr(e))return Ss(e,n);if(ar(e))return gr(e,n);if(lr(e))return Is(e,n);if(ur(e))return Ps(e,n)}throw cr(e)}function s0(e,n){return n?As(e,n):jn(e)}function _e(){const e=c;for(var n=[],t=0;t<arguments[e(586)];t++)n[t]=arguments[t];var x=vs(n);return s0(n,x)}function je(e,n){var t=Pe(e)?e:function(){return e},x=function(r){return r.error(t())};return new Ke(x)}function js(e){return e instanceof Date&&!isNaN(e)}var Es=gx(function(e){return function(t){const x=_0x4b9b;t===void 0&&(t=null),e(this),this[x(1695)]=x(1945),this[x(1388)]=x(1062),this[x(735)]=t}});function Ys(e,n){const t=c;var x=js(e)?{first:e}:{each:e},r=x[t(857)],o=x[t(1442)],i=x[t(1117)],a=i===void 0?Us:i,u=x.scheduler,s=u===void 0?ys:u,d=x[t(609)],f=d===void 0?null:d;if(r==null&&o==null)throw new TypeError(t(1556));return Pn(function(b,h){const v=t;var g,p,M=null,m=0,w=function(y){p=Mn(h,s,function(){const C=_0x4b9b;try{g[C(1125)](),jn(a({meta:f,lastValue:M,seen:m}))[C(865)](h)}catch(I){h[C(1243)](I)}},y)};g=b[v(865)](An(h,function(y){p?.unsubscribe(),m++,h.next(M=y),o>0&&w(o)},void 0,void 0,function(){const y=v;!p?.closed&&p?.[y(1125)](),M=null})),!m&&w(r!=null?typeof r===v(536)?r:+r-s.now():o)})}function Us(e){throw new Es(e)}function l0(e,n){return Pn(function(t,x){const r=_0x4b9b;var o=0;t[r(865)](An(x,function(i){const a=r;x[a(218)](e[a(211)](n,i,o++))}))})}function Os(e,n,t,x,r,o,i,a){const u=c;var s=[],d=0,f=0,b=!1,h=function(){const p=_0x4b9b;b&&!s[p(586)]&&!d&&n[p(237)]()},v=function(p){return d<x?g(p):s.push(p)},g=function(p){const M=_0x4b9b;d++;var m=!1;jn(t(p,f++))[M(865)](An(n,function(w){n[M(218)](w)},function(){m=!0},void 0,function(){const w=M;if(m)try{d--;for(var y=function(){var C=s.shift();i||g(C)};s[w(586)]&&d<x;)y();h()}catch(C){n[w(1243)](C)}}))};return e[u(865)](An(n,v,function(){b=!0,h()})),function(){}}function px(e,n,t){const x=c;return t===void 0&&(t=1/0),Pe(n)?px(function(r,o){return l0(function(i,a){return n(r,i,o,a)})(jn(e(r,o)))},t):(typeof n===x(536)&&(t=n),Pn(function(r,o){return Os(r,o,e,t)}))}function d0(e){return Pn(function(n,t){const x=_0x4b9b;var r=null,o=!1,i;r=n[x(865)](An(t,void 0,void 0,function(a){i=jn(e(a,d0(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r[x(1125)](),r=null,i[x(865)](t))})}function Gs(e,n,t){var x=Pe(e)||n||t?{next:e,error:n,complete:t}:e;return x?Pn(function(r,o){const i=_0x4b9b;var a;(a=x.subscribe)===null||a===void 0||a.call(x);var u=!0;r[i(865)](An(o,function(s){const d=i;var f;(f=x[d(218)])===null||f===void 0||f[d(211)](x,s),o.next(s)},function(){const s=i;var d;u=!1,(d=x[s(237)])===null||d===void 0||d[s(211)](x),o[s(237)]()},function(s){const d=i;var f;u=!1,(f=x.error)===null||f===void 0||f[d(211)](x,s),o[d(1243)](s)},function(){const s=i;var d,f;u&&((d=x[s(1125)])===null||d===void 0||d[s(211)](x)),(f=x[s(1639)])===null||f===void 0||f[s(211)](x)}))}):Qo}function zx(e){return encodeURIComponent((e||"").trim()||"__default__")}function Ts(e){const n=c;return e[n(699)]===n(1789)?e[n(643)]+n(1346)+zx(e[n(1212)]??""):e[n(643)]+"::"+e[n(699)]}function yr(e,n){return e+":"+n}class $n{static[c(1549)];[c(1687)]=new Map;[c(1553)]=new Map;[c(768)]=new Map;nodeEventBindings=new Map;[c(623)];constructor(){}static[c(1718)](){const n=c;return!$n[n(1549)]&&($n[n(1549)]=new $n),$n[n(1549)]}[c(1111)](n){this[c(768)].set(n.id,n)}unregisterEventBlock(n){const t=c;this.eventBlocks[t(567)](n)}[c(649)](n){return this.eventBlocks.get(n)}[c(666)](n){const t=c;this[t(623)]=n}[c(831)](n){const t=c;if(!n)return;const x=this[t(623)];this[t(623)]={dataRequest:{...x?.[t(1426)],...n[t(1426)]},external:{...x?.external,...n[t(1789)]}}}mergeRuntimeHandlers(n){const t=c,x=this[t(623)];if(!(!x&&!n))return{dataRequest:{...x?.[t(1426)],...n?.dataRequest},external:{...x?.[t(1789)],...n?.[t(1789)]}}}disposeEventRootPipeline(n){const t=c,x=this[t(1553)][t(1450)](n.id);x&&(x[t(1125)](),this.subscriptions.delete(n.id)),this[t(1687)][t(567)](n.id)}[c(981)](n){const t=c,x=Ts(n),r=this.nodeEventBindings[t(1450)](x);r&&r.id!==n.id&&this[t(953)](r),this.nodeEventBindings.set(x,n),!this.eventSubjects[t(1949)](n.id)&&this[t(1803)](n)}[c(499)](n,t,x){const r=c;if(t==="external"){const u=n+r(1346)+zx(x??""),s=this[r(196)].get(u);s&&(this[r(953)](s),this[r(196)][r(567)](u));return}const o=n+"::"+t,i=yr(n,t),a=this[r(196)][r(1450)](o)??this[r(196)][r(1450)](i);a&&(this[r(953)](a),this[r(196)].delete(o),this[r(196)][r(567)](i))}[c(1748)](n){const t=c,x=[];this[t(196)][t(366)]((r,o)=>{r[t(643)]===n&&x.push({key:o,root:r})}),x[t(366)](({key:r,root:o})=>{const i=t;this[i(953)](o),this[i(196)].delete(r)})}[c(1794)](n){const t=c,x=[];return this[t(196)].forEach(r=>{r[t(643)]===n&&x.push(r)}),x}[c(1737)](n,t,x){const r=c,o=n+"::"+t,i=this.nodeEventBindings[r(1450)](o)??this[r(196)][r(1450)](yr(n,t));if(!i||!i[r(1406)])return _e({success:!0,result:null,path:[],duration:0});if(!this[r(1687)][r(1450)](i.id))return je(()=>new Error("Event flow not initialized for "+o));const u=Date.now(),s={...x,executionPath:x[r(1847)]||[],runtimeHandlers:this[r(1437)](x[r(1590)])};return this[r(1924)](i,s)[r(365)](l0(d=>({success:!0,result:d,path:s[r(1847)],duration:Date[r(1832)]()-u})),d0(d=>_e({success:!1,error:d[r(1695)]||r(618),path:s[r(1847)],duration:Date[r(1832)]()-u})))}[c(944)](n,t,x){const r=c,o=n+r(1346)+zx(t),i=this[r(196)][r(1450)](o);if(!i||!i.enabled)return _e({success:!0,result:null,path:[],duration:0});if(!this[r(1687)][r(1450)](i.id))return je(()=>new Error(r(1608)+o));const u=Date[r(1832)](),s={...x,executionPath:x[r(1847)]||[],runtimeHandlers:this[r(1437)](x[r(1590)])};return this.executeEventFlow(i,s).pipe(l0(d=>({success:!0,result:d,path:s[r(1847)],duration:Date[r(1832)]()-u})),d0(d=>_e({success:!1,error:d[r(1695)]||"Event flow execution failed",path:s[r(1847)],duration:Date[r(1832)]()-u})))}[c(1803)](n){const t=c,x=new er;this[t(1687)][t(901)](n.id,x)}[c(1924)](n,t){const x=c,{nodes:r,edges:o}=n[x(1073)];if(r[x(586)]===0)return _e(null);const i=r[x(917)](a=>a[x(1752)][x(586)]===0);return i[x(586)]===0?je(()=>new Error(x(1090))):this[x(518)](i,r,o,t,{})}[c(518)](n,t,x,r,o){const i=c;if(n[i(586)]===0)return _e(o);const a=n.map(u=>this[i(842)](u,r,o)[i(365)](Gs(s=>{const d=i;o[u.id]=s,r[d(1847)][d(177)](u.id)})));return s0(a)[i(365)](px(u=>u,1),l0(()=>{const u=i,s=new Set;return n[u(366)](f=>{const b=u;f.outputs[b(366)](h=>{const v=b,g=t[v(871)](p=>p.id===h);g&&g[v(1752)][v(689)](M=>o[M]!==void 0)&&s[v(505)](h)})}),t[u(917)](f=>s[u(1949)](f.id))}),px(u=>{const s=i;return u[s(586)]>0?this[s(518)](u,t,x,r,o):_e(o)}),Ys(3e4),d0(u=>{const s=i;return console[s(1243)](s(1485),u),je(()=>u)}))}[c(1474)](n){const t=c;return this[t(768)][t(1450)](n[t(1862)])??n[t(1934)][t(538)]}interpolateBuiltinString(n,t,x){const r=c;return n[r(1084)](/\{\{\s*([^}]+?)\s*\}\}/g,(o,i)=>{const a=r,u=String(i)[a(1826)]();if(u.startsWith("$")){const d=this.getValueFromPath(x,u[a(1562)](1));return d==null?"":String(d)}const s=t[u];return s==null?"":String(s)})}[c(1301)](n,t,x){const r=c,o=n[r(1284)];if(!o)return je(()=>new Error(r(597)));if(o===r(559)){const i=n[r(576)]??{},a=String(i.content??""),u=i.level??"info",s=i[r(558)],d=this[r(1179)](a,x,t);if(!d.trim())return je(()=>new Error(r(243)));try{const f={type:u,content:d};if(s!=null&&s!==""){const b=Number(s);!Number[r(1717)](b)&&(f[r(558)]=b)}return z[r(1695)].open(f),_e({ok:!0,builtinId:o,content:d,level:u})}catch(f){return je(()=>f)}}if(o==="switchCanvas"){const i=n[r(576)]??{},a=String(i[r(1238)]??"")[r(1826)]();if(!a)return je(()=>new Error("未配置目标画布 ID"));if(!t[r(840)])return je(()=>new Error(r(1497)));try{return t[r(840)](a),_e({ok:!0,builtinId:o,targetCanvasId:a})}catch(u){return je(()=>u)}}return je(()=>new Error("未知内置动作: "+String(o)))}[c(424)](n,t,x){try{const r=n(t,x);return r instanceof Promise?s0(r):_e(r)}catch(r){return je(()=>r)}}[c(842)](n,t,x){const r=c,o=this[r(1474)](n);if(!o)return je(()=>new Error("Event block not found: "+n.eventBlockId));const i=this[r(692)](n,t,x),a=o.executorType??r(1954);if(a===r(1426)){const u=(o.dataRequestKey||"")[r(1826)]();if(!u)return je(()=>new Error("事件块未配置 dataRequestKey"));const s=t[r(1590)]?.[r(1426)]?.[u];return s?this.invokeRuntimeHandler(s,t,i):je(()=>new Error("未注册 dataRequest 处理器: "+u))}if(a===r(1789)){const u=(o[r(1438)]||"")[r(1826)]();if(!u)return je(()=>new Error(r(1219)));const s=t.runtimeHandlers?.[r(1789)]?.[u];return s?this[r(424)](s,t,i):je(()=>new Error("未注册 external 处理器: "+u))}if(a==="builtin")return this[r(1301)](o,t,i);try{const u=new Function("node","context","args",o[r(599)]),s=u(t.triggerNode,t,i);return s instanceof Promise?s0(s):_e(s)}catch(u){return je(()=>u)}}[c(692)](n,t,x){const r=c,o={$event:t.originalEvent,$data:t[r(1934)],$node:t[r(319)]},{inputMapping:i}=n.data;return i&&Object.entries(i).forEach(([a,u])=>{const s=r;if(u[s(188)](s(680))){const d=u[s(1084)](s(680),"");o[a]=x[d]}else if(u.startsWith("$")){const d=u[s(1562)](1);o[a]=this[s(294)](t,d)}else o[a]=u}),o}getValueFromPath(n,t){const x=c;return t[x(1551)](".")[x(1468)]((r,o)=>{if(r!==null&&typeof r===x(1057)&&o in r)return r[o]},n)}[c(217)](){const n=c;this.subscriptions[n(366)](t=>t[n(1125)]()),this[n(1553)][n(1364)](),this[n(1687)][n(1364)](),this[n(196)][n(1364)]()}}const et=$n[c(1718)](),mr=({node:e,children:n,runtimeHandlers:t,flowContextData:x})=>{const r=c,{eventFlow:o,switchCanvas:i}=Ye(),a=L[r(519)](null),u=L.useCallback(()=>{const d=r;return o[d(480)][d(917)](f=>f[d(643)]===e.id&&f[d(1406)])},[o[r(480)],e.id]),s=L[r(1234)](d=>f=>{const b=_0x4b9b,h=u()[b(917)](g=>g[b(699)]===d);if(h[b(586)]===0)return;d!=="mouseOver"&&d!==b(1072)&&f[b(1390)](),f[b(1440)]();const v=x&&typeof x===b(1057)?{...x}:{};h[b(366)](g=>{const p=b;et[p(1737)](e.id,d,{triggerNode:e,originalEvent:f,data:v,runtimeHandlers:t,switchCanvas:i}).subscribe({next:M=>{const m=p;!M.success&&console[m(1243)](m(168),M[m(1243)])},error:M=>{const m=p;console[m(1243)](m(1547),M)}})})},[u,e,t,x]);return L[r(614)](()=>{const d=r;return u()[d(366)](b=>{et[d(981)](b)}),()=>{et[d(1748)](e.id)}},[u,e.id]),L.useEffect(()=>{const d=r,f=a[d(1292)];if(!f)return;const b={click:s(d(407)),mousedown:s(d(805)),mouseup:s(d(401)),dblclick:s("doubleClick"),mouseover:s("mouseOver"),mouseleave:s(d(1072)),mouseenter:s(d(1593)),contextmenu:s(d(1419))};return Object[d(679)](b).forEach(([h,v])=>{f[d(1947)](h,v,!0)}),()=>{const h=d;Object.entries(b)[h(366)](([v,g])=>{f[h(1240)](v,g,!0)})}},[s]),L.cloneElement(n,{ref:d=>{const f=r;a[f(1292)]=d;const b=n.ref;typeof b===f(1151)?b(d):b&&f(1292)in b&&(b[f(1292)]=d)}})},{Text:wr}=z.Typography,vr=(e,n)=>{const t=c;if(!n||!e)return{value:void 0};if(Array.isArray(e)){const x=e[t(871)](r=>r[t(1276)]===n);if(x)return{value:x[t(1161)],unit:x[t(706)]}}else if(typeof e===t(1057)){const x=n[t(1551)](".");let r=e;for(const o of x){if(r===null||typeof r!="object")return{value:void 0};r=r[o]}if(r!==void 0)return{value:r,unit:e.unit}}return{value:void 0}};function Hs(e){return Array.isArray(e)}const Vs=(e,n,t)=>{const x=c,r=e[x(1077)]||{},{valueSourceCode:o,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:u}=r;if(!o)return{value:void 0};if(i){const s=n[x(871)](d=>d.id===i);if(s){let d;Hs(s[x(1129)])?a!=null&&u!=null?d=s.sample[x(871)](b=>b[a]===u)||{}:d={}:d=s.sample;const f=t&&typeof t===x(1057)?{...d,...t}:d;return vr(f,o)}}return vr(t,o)},qs=(e,n)=>{const t=c;if(e==null||e==="")return"";if(n===-1)return String(e);const x=Number(e);return isNaN(x)?String(e):x[t(682)](n??2)},Ws=(e,n,t,x,r)=>{const o=c;switch(e[o(954)]){case"IMAGE":const i=e,a=i[o(484)],u=i[o(250)];let s=i[o(920)];return u&&s&&s.includes(o(714))&&(e[o(1388)]==="矩形"?s=o(1316)+encodeURIComponent(o(1069)+u+o(980)):e[o(1388)]==="圆形"?s=o(1316)+encodeURIComponent(o(744)+u+'"/></svg>'):e.name==="圆角矩形"&&(s=o(1316)+encodeURIComponent(o(1069)+u+'" rx="20"/></svg>'))),l[o(1667)](o(1574),{className:o(1367),style:{backgroundColor:a},children:s?l[o(1667)](o(1333),{src:s,alt:e[o(1388)],style:{width:o(346),height:o(346),objectFit:o(393)}}):l[o(1667)]("div",{className:o(1727),children:l[o(1667)](o(1627),{className:o(1154),children:"无图片"})})});case"TEXT":const d=e,{label:f,value:b,valueSourceCode:h,unit:v,decimals:g,labelStyle:p,valueStyle:M,customStyle:m}=d[o(1077)]||{},{value:w,unit:y}=h?Vs(d,r||[],n):{value:void 0,unit:void 0},C=w!==void 0?w:b,I=qs(C,g),Y=v||y||"";return l.jsxs(o(1574),{className:o(323),style:{...m},children:[f&&l[o(1667)](wr,{style:{fontSize:14,fontWeight:o(819),color:"#262626",textAlign:"left",...p},children:f}),I&&l[o(1200)](wr,{style:{fontSize:14,color:"#1890ff",textAlign:o(1460),...M},children:[I,Y?" "+Y:""]})]});case o(1167):const O=e,{thickness:T=2,color:U=o(1797),dashed:Q=!1,lineType:X=o(Q?725:1290),lineWeight:W=T,startX:G=0,startY:N=0,endX:B=100,endY:D=0}=O[o(1255)]||{},j=_=>{const R=o,ee=Math[R(1122)](W,1);switch(_){case"solid":return"";case R(725):return ee*8+","+ee*4;case"center":return ee*12+","+ee*3+","+ee*2+","+ee*3;case"phantom":return ee*12+","+ee*3+","+ee*2+","+ee*3+","+ee*2+","+ee*3;case R(248):return ee+","+ee*3;case R(149):return ee*8+","+ee*3+","+ee+","+ee*3;default:return""}},A=j(X),P=t?"#1890ff":U;return l[o(1667)](o(1574),{className:o(703),style:{overflow:o(1768)},children:l[o(1200)](o(1533),{className:o(939),width:o(346),height:o(346),style:{overflow:o(1768),pointerEvents:o(1598)},children:[l[o(1667)](o(428),{x1:G,y1:N,x2:B,y2:D,stroke:o(994),strokeWidth:Math[o(1122)](W,10),strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:o(1787),cursor:"pointer"}}),l[o(1667)]("line",{x1:G,y1:N,x2:B,y2:D,stroke:P,strokeWidth:W,strokeDasharray:A,strokeLinecap:o(846),strokeLinejoin:o(846),style:{pointerEvents:o(1598)}})]})});case o(457):const Z=e;return Z[o(728)]?Z[o(728)]({}):l[o(1667)]("div",{className:o(564),children:l[o(1667)](o(1627),{className:o(1154),children:o(1679)})});default:return l.jsx("div",{className:o(564),children:l[o(1667)](o(1627),{className:"text-gray-400 text-xs",children:"未知类型"})})}},Xs=({node:e,isSelected:n=!1,onClick:t,onMouseDown:x,data:r,onUpdateNode:o,scale:i=1,enableEventFlow:a=!1,eventFlowData:u})=>{const s=c,{normalStyle:d,controlInfo:f}=e,{isClickable:b,isDraggable:h,isResizable:v}=f,g=e[s(889)],p=Ye(S=>S.dataPool),M=Ye(S=>S[s(328)]),m=L[s(519)](t);L[s(614)](()=>{const S=s;m[S(1292)]=t},[t]);const[w,y]=L[s(195)](null),C=L[s(519)](null),I=L.useRef(null),Y=L.useRef(null),O=L[s(519)](null),T=L.useRef(null),[U,Q]=L[s(195)](null),[X,W]=L[s(195)](null),G=L.useRef(null),N=L[s(477)](()=>{const S=s,k=e[S(889)].statusList;if(k.length===0)return;const K=To(k,r,p);return K||k[0]},[e.contentInfo[s(1378)],r,p]),B=L[s(519)](e.contentInfo[s(1869)]);L[s(614)](()=>{const S=s;B.current=e[S(889)][S(1869)]},[e.id]),L[s(614)](()=>{const S=s,k=N?.id;k!==void 0&&B.current!==k&&(B[S(1292)]=k,M(e.id,{contentInfo:{...e[S(889)],currentStatusId:k}}))},[N?.id,e.id,M]);const D=N?.material,j=D?.[s(954)]==="LINE",A=j?D[s(1255)]:null,P=d[s(936)]??1,Z=(d[s(575)]||100)*P,_=(d[s(800)]||100)*P,R=L.useCallback(()=>{const S=s,k=T[S(1292)]?.[S(709)](S(1765));if(!k)return i;const K=k[S(1704)](),q=parseFloat(k[S(571)][S(575)]);return q?K.width/q:i},[i]),ee=L[s(1234)]((S,k)=>{const K=s;S[K(1440)](),S[K(1390)]();const q=A?.[K(1107)]||0,V=A?.startY||0,F=A?.[K(1903)]||0,de=A?.[K(883)]||0,me=d.x||0,he=d.y||0,we=Math[K(1122)]((A?.[K(1334)]||A?.thickness||2)*2,4),Ne=Math[K(1291)](q,F),pe=Math[K(1291)](V,de),De=Math[K(1122)](q,F),Ee=Math[K(1122)](V,de),He=Math.max(De-Ne,we),Ze=Math[K(1122)](Ee-pe,we);C[K(1292)]={mouseX:S[K(1669)],mouseY:S.clientY,startX:q,startY:V,endX:F,endY:de,nodeX:me,nodeY:he};const Ie=Math[K(1291)](q,F),Re=Math.min(V,de);Y.current={nodeX:me+Ie,nodeY:he+Re,width:He,height:Ze,startX:q-Ie,startY:V-Re,endX:F-Ie,endY:de-Re},I[K(1292)]=N||null,y(k)},[A,d.x,d.y,N]);L[s(614)](()=>{const S=s;if(!w||!j||!A||!o)return;const k=q=>{const V=_0x4b9b,F=C[V(1292)];if(!F||!T[V(1292)])return;const de=R(),me=(q[V(1669)]-F[V(1053)])/de,he=(q[V(302)]-F[V(1537)])/de;let we=F[V(1107)],Ne=F[V(1330)],pe=F[V(1903)],De=F[V(883)],Ee=F.nodeX,He=F[V(349)];w==="start"?(we=F[V(1107)]+me,Ne=F.startY+he,we<0&&(Ee=F.nodeX+we,pe=F[V(1903)]-we,we=0),Ne<0&&(He=F.nodeY+Ne,De=F[V(883)]-Ne,Ne=0)):(pe=F.endX+me,De=F.endY+he,pe<0&&(Ee=F[V(1644)]+pe,we=F[V(1107)]-pe,pe=0),De<0&&(He=F[V(349)]+De,Ne=F[V(1330)]-De,De=0));const Ze=Math[V(1122)]((A[V(1334)]||2)*2,4),Ie=Math[V(1291)](we,pe),Re=Math.min(Ne,De),yn=Math[V(1122)](we,pe),Rt=Math.max(Ne,De),mn=Ee+Ie,kn=He+Re,wn=we-Ie,tn=Ne-Re,sn=pe-Ie,qn=De-Re,ht=Math[V(1122)](yn-Ie,Ze),gt=Math[V(1122)](Rt-Re,Ze);Y[V(1292)]={nodeX:mn,nodeY:kn,width:ht,height:gt,startX:wn,startY:tn,endX:sn,endY:qn};const Ue=T[V(1292)];Ue[V(571)].left=mn+"px",Ue[V(571)][V(534)]=kn+"px",Ue[V(571)].width=ht+"px",Ue[V(571)].height=gt+"px",Ue[V(1266)](V(594)).forEach(xn=>{const yt=V;xn.setAttribute("x1",String(wn)),xn.setAttribute("y1",String(tn)),xn[yt(202)]("x2",String(sn)),xn[yt(202)]("y2",String(qn))});const Oe=Ue.querySelector(V(1401)),ln=Ue[V(713)](V(1950));Oe&&(Oe.style[V(1460)]=wn-6+"px",Oe[V(571)][V(534)]=tn-6+"px"),ln&&(ln[V(571)][V(1460)]=sn-6+"px",ln[V(571)][V(534)]=qn-6+"px")},K=()=>{const q=_0x4b9b,V=Y.current;if(!V||!o){y(null),C[q(1292)]=null,Y[q(1292)]=null,I.current=null;return}const F=Ye[q(1357)]()[q(459)][q(871)](pe=>pe.id===e.id),de=F?.[q(889)][q(1378)]??e[q(889)][q(1378)],me=I[q(1292)],he=me?.id??de.find(pe=>pe.material[q(954)]===q(1167))?.id,we=de.map(pe=>{const De=q;if(pe[De(1742)][De(954)]!==De(1167)||pe.id!==he)return pe;const Ee=pe[De(1742)];return{...pe,material:{...Ee,config:{...Ee[De(1255)],startX:V[De(1107)],startY:V[De(1330)],endX:V[De(1903)],endY:V.endY}}}}),Ne=F?.contentInfo??g;o(e.id,{normalStyle:{x:V[q(1644)],y:V[q(349)],width:V[q(575)],height:V[q(800)]},contentInfo:{...Ne,statusList:we}}),y(null),C[q(1292)]=null,Y[q(1292)]=null,I[q(1292)]=null};return window[S(1947)](S(232),k),window[S(1947)]("mouseup",K),()=>{const q=S;window[q(1240)](q(232),k),window.removeEventListener(q(1486),K)}},[w,j,A,e.id,d,g,e[s(889)][s(1378)],o,R]),L[s(614)](()=>{const S=s;if(!U||!o)return;const k=q=>{const V=_0x4b9b;if(!T[V(1292)])return;const F=R(),de=(q.clientX-U[V(1107)])/F,me=(q[V(302)]-U.startY)/F;let he=U[V(398)],we=U[V(1347)],Ne=U.startNodeX,pe=U.startNodeY;switch(U[V(762)]){case"se":he=Math[V(1122)](20,U[V(398)]+de),we=Math[V(1122)](20,U[V(1347)]+me);break;case"sw":he=Math[V(1122)](20,U[V(398)]-de),we=Math[V(1122)](20,U.startHeight+me),Ne=U[V(788)]+(U[V(398)]-he);break;case"ne":he=Math[V(1122)](20,U[V(398)]+de),we=Math[V(1122)](20,U[V(1347)]-me),pe=U[V(529)]+(U[V(1347)]-we);break;case"nw":he=Math[V(1122)](20,U[V(398)]-de),we=Math.max(20,U[V(1347)]-me),Ne=U[V(788)]+(U[V(398)]-he),pe=U.startNodeY+(U[V(1347)]-we);break}O[V(1292)]={x:Ne,y:pe,width:he,height:we};const De=T[V(1292)];De[V(571)][V(1460)]=Ne+"px",De[V(571)].top=pe+"px",De.style[V(575)]=he+"px",De[V(571)].height=we+"px"},K=()=>{const q=_0x4b9b,V=O[q(1292)];V&&o(e.id,{normalStyle:{...d,x:V.x,y:V.y,width:V[q(575)],height:V[q(800)]}}),Q(null),O[q(1292)]=null};return window.addEventListener("mousemove",k),window[S(1947)](S(1486),K),()=>{const q=S;window[q(1240)](q(232),k),window[q(1240)](q(1486),K)}},[U,o,e.id,d,R]);const xe=L[s(1234)]((S,k)=>{const K=s;S.stopPropagation(),S[K(1390)](),Q({corner:k,startX:S[K(1669)],startY:S[K(302)],startWidth:d[K(575)]||100,startHeight:d.height||100,startNodeX:d.x||0,startNodeY:d.y||0})},[d[s(575)],d[s(800)],d.x,d.y]),ae=L[s(1234)](S=>{const k=s;S[k(1440)](),S.preventDefault();const K=T[k(1292)]?.[k(1704)]();K&&W({startX:S.clientX,startY:S[k(302)],startAngle:d[k(1195)]||0,centerX:K[k(1460)]+K[k(575)]/2,centerY:K[k(534)]+K[k(800)]/2})},[d[s(1195)]]);L[s(614)](()=>{const S=s;if(!X)return;const k=q=>{const V=_0x4b9b,F=q[V(1669)]-X[V(460)],de=q[V(302)]-X[V(376)];let he=(Math[V(219)](de,F)*(180/Math.PI)+90)%360;if(he<0&&(he+=360),G[V(1292)]=he,T[V(1292)]){const we=d[V(1879)]||"";T[V(1292)].style[V(1879)]=("rotate("+he+"deg) "+we)[V(1826)]()}},K=()=>{const q=_0x4b9b,V=G[q(1292)]??X.startAngle;G[q(1292)]=null,o&&o(e.id,{normalStyle:{...d,rotate:Math[q(846)](V)}}),W(null)};return window.addEventListener("mousemove",k),window[S(1947)](S(1486),K),()=>{const q=S;window.removeEventListener("mousemove",k),window[q(1240)]("mouseup",K)}},[X,o,e.id,d]);const ce=e[s(954)]===s(523),ie={position:s(1254),left:d.x||0,top:d.y||0,width:Z,height:_,background:ce?"transparent":d.background||s(994),backgroundImage:ce?void 0:d[s(1520)]?s(1434)+d[s(1520)]+")":void 0,backgroundSize:s(1331),backgroundPosition:s(1692),padding:Array.isArray(d[s(1252)])?d[s(1252)].join(s(1408))+"px":d[s(1252)],margin:Array[s(1922)](d.margin)?d[s(1572)].join("px ")+"px":d[s(1572)],borderRadius:ce?void 0:d[s(1233)],border:n&&!j?s(1791):j||ce?s(1598):d[s(683)]||s(1567),pointerEvents:s(661),opacity:d.opacity??1,transform:(s(1042)+(G.current??(d[s(1195)]||0))+s(592)+(d[s(1879)]||"")).trim(),transformOrigin:s(363),zIndex:n?1e3:d.zIndex??1,cursor:h&&!w?"move":s(b?205:1729),boxSizing:s(1054),overflow:s(n||j||ce?1768:1061)},oe=A?{x:A[s(1107)]||0,y:A.startY||0}:{x:0,y:0},ne=A?{x:A[s(1903)]||0,y:A[s(883)]||0}:{x:0,y:0},se=l[s(1200)](s(1574),{ref:T,"data-node-id":e.id,style:ie,onClick:S=>{const k=s;console[k(870)]("NodeRenderer onClick",e.id,k(1613),b);const K=m[k(1292)];b&&K&&!w&&!U&&!X&&(S[k(1440)](),K(S))},onMouseDown:S=>{h&&x&&!w&&x(S)},children:[n&&!j&&l.jsxs(l[s(990)],{children:[!ce&&l[s(1200)](l[s(990)],{children:[l[s(1667)](s(1574),{className:s(759),style:{zIndex:9999,pointerEvents:s(661),cursor:"nw-resize",marginTop:s(1814),marginLeft:s(1814)},onMouseDown:S=>xe(S,"nw"),title:s(1328)}),l[s(1667)]("div",{className:s(1607),style:{zIndex:9999,pointerEvents:s(661),cursor:"ne-resize",marginTop:"-6px",marginRight:s(1814)},onMouseDown:S=>xe(S,"ne"),title:s(1328)}),l[s(1667)]("div",{className:"absolute bottom-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:s(661),cursor:s(1321),marginBottom:s(1814),marginLeft:s(1814)},onMouseDown:S=>xe(S,"sw"),title:s(1328)}),l[s(1667)]("div",{className:s(371),style:{zIndex:9999,pointerEvents:s(661),cursor:s(625),marginBottom:s(1814),marginRight:s(1814)},onMouseDown:S=>xe(S,"se"),title:s(1328)})]}),l[s(1667)]("div",{className:s(1456),style:{zIndex:9999,pointerEvents:s(661),cursor:s(1416),marginTop:s(1142),transform:"translateX(-50%)",boxShadow:"0 0 4px rgba(0,0,0,0.3)"},onMouseDown:S=>ae(S),title:s(184)}),l[s(1667)](s(1574),{className:s(1775),style:{zIndex:9998,pointerEvents:"none",marginTop:"-14px",transform:s(566)}}),l[s(1200)](s(1574),{className:s(919),children:[e[s(1388)]," ",N?"("+N[s(1388)]+")":""]})]}),n&&j&&A&&o&&l[s(1200)](l.Fragment,{children:[l.jsx("div",{"data-handle":"start",className:s(361),style:{left:oe.x-6,top:oe.y-6,boxShadow:s(1601)},onMouseDown:S=>ee(S,s(750)),title:s(1112)}),l[s(1667)](s(1574),{"data-handle":s(935),className:s(361),style:{left:ne.x-6,top:ne.y-6,boxShadow:s(1601)},onMouseDown:S=>ee(S,s(935)),title:s(1028)}),l[s(1667)](s(1574),{className:s(919),children:e.name})]}),l[s(1667)](s(1574),{className:s(703),children:D?l.jsx("div",{className:"w-full h-full",children:Ws(D,r,n,e,p)}):ce?null:l[s(1667)]("div",{className:s(445),children:s(737)})}),e.type===s(523)&&e[s(882)]&&l[s(1667)](s(1574),{className:s(1373),children:e[s(882)].map(S=>l[s(1667)](s(1574),{className:s(1013),children:l[s(1667)](Cx,{node:S,isSelected:!1,data:r,onUpdateNode:o,scale:i,enableEventFlow:a,eventFlowData:u})},S.id))})]});return a?l[s(1667)](mr,{node:e,flowContextData:u,children:se}):se},Cx=L[c(234)](Xs,(e,n)=>{const t=c,x=e[t(742)],r=n[t(742)],o=x.id===r.id&&x.normalStyle.x===r.normalStyle.x&&x[t(1578)].y===r.normalStyle.y&&x[t(1578)].width===r[t(1578)][t(575)]&&x[t(1578)][t(800)]===r[t(1578)][t(800)]&&x[t(1578)][t(1195)]===r[t(1578)].rotate,i=x[t(889)]===r[t(889)],a=JSON[t(520)](e[t(1688)]??null)===JSON[t(520)](n[t(1688)]??null),u=e[t(164)]===n[t(164)]&&e[t(936)]===n[t(936)]&&e[t(1577)]===n.enableEventFlow&&a,s=h=>{const v=t,g=[];return h[v(889)]?.[v(1378)]?.[v(366)](p=>{const M=v;if(p[M(1742)]?.[M(954)]===M(1167)){const m=p[M(1742)][M(1255)];g[M(177)]({statusId:p.id,startX:m?.[M(1107)]??0,startY:m?.[M(1330)]??0,endX:m?.[M(1903)]??100,endY:m?.[M(883)]??0})}}),g},d=s(x),f=s(r);let b=!0;if(d[t(586)]!==f.length)b=!1;else for(let h=0;h<d[t(586)];h++){const v=d[h],g=f.find(p=>p[t(320)]===v[t(320)]);if(!g||v[t(1107)]!==g[t(1107)]||v.startY!==g[t(1330)]||v.endX!==g[t(1903)]||v[t(883)]!==g[t(883)]){b=!1;break}}return o&&i&&u&&b}),Ks=["#1890ff",c(1538),c(839),c(1467),c(1166),c(1722),c(856),c(1550),c(1957),c(1228),c(1394),c(1797),c(1888),"#000000","#ff4d4f","#73d13d"],nt=({value:e="#1890ff",onChange:n,onChangeComplete:t})=>{const x=c,[r,o]=L[x(195)](!1),[i,a]=L[x(195)](e),u=L[x(519)](null);L[x(614)](()=>{a(e)},[e]),L.useEffect(()=>{const d=x,f=b=>{const h=_0x4b9b;u[h(1292)]&&!u[h(1292)][h(1652)](b[h(1875)])&&(o(!1),t?.({toHexString:()=>i}))};return r&&document[d(1947)]("mousedown",f),()=>document[d(1240)](d(651),f)},[r,t,i]);const s=d=>{a(d),n?.({toHexString:()=>d})};return l[x(1200)](x(1574),{ref:u,style:{position:"relative",display:x(961)},children:[l[x(1667)](x(1574),{onClick:()=>o(!r),style:{width:28,height:28,backgroundColor:i,border:x(176),borderRadius:4,cursor:x(205)}}),r&&l.jsxs("div",{style:{position:x(1254),top:32,left:0,zIndex:1e3,background:"#fff",padding:8,borderRadius:4,boxShadow:x(973),border:x(907)},children:[l[x(1667)](x(1574),{style:{display:x(946),gridTemplateColumns:x(1911),gap:4},children:Ks.map(d=>l[x(1667)](x(1574),{onClick:()=>{s(d),o(!1),t?.({toHexString:()=>d})},style:{width:20,height:20,backgroundColor:d,border:i===d?"2px solid #1890ff":x(176),borderRadius:2,cursor:x(205)}},d))}),l[x(1667)](x(908),{type:x(258),value:i,onChange:d=>s(d[x(1875)][x(1161)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:"100%",marginTop:8,height:28,border:"1px solid #d9d9d9",borderRadius:4}})]})]})},{TextArea:Zs}=z[c(1871)];function Rs(e){const n=c;if(!e||!(e instanceof HTMLElement))return!1;const t=e[n(1591)];return!!(t===n(1851)||t==="TEXTAREA"||t==="SELECT"||t===n(1702)||e[n(1164)]||e[n(709)](n(767))||e[n(709)](n(948))||e[n(709)](n(687)))}const pr=({defaultTestData:e,readonly:n=!1,backgroundImageUrl:t,initialViewportWidth:x,initialViewportHeight:r})=>{const o=c,i=L[o(519)](null),a=L[o(519)](null),u=L[o(519)](null),{nodes:s,selectedNodeId:d,selectedNodeIds:f,mode:b,lineDrawing:h,viewport:v,canvas:g,root:p,setViewport:M,setCanvasConfig:m,addNode:w,selectNode:y,updateNode:C,removeNode:I,bringToFront:Y,sendToBack:O,undo:T,redo:U,setMode:Q,startLineDrawing:X,endLineDrawing:W,cancelLineDrawing:G,addCanvas:N,removeCanvas:B,switchCanvas:D,updateCanvasName:j,exportCanvas:A,importCanvas:P,setSelectedNodeIds:Z}=Ye(),[_,R]=L[o(195)](!1),[,ee]=L[o(195)]({}),xe=L.useRef(b);L[o(614)](()=>{const E=o;xe[E(1292)]=b},[b]),L[o(614)](()=>{const E=o;Q(E(n?450:1380))},[n,Q]);const ae=n&&x&&g[o(575)]>0?Math[o(1291)](x/g[o(575)],1):1,ce=n&&x&&g[o(575)]>0?g[o(575)]*(ae-1)/2:0,ie=n&&x&&g[o(800)]>0?g[o(800)]*(ae-1)/2:0;L[o(614)](()=>{const E=o;if(n&&x&&g[E(575)]>0){const H=Math.min(x/g.width,1),te=g[E(575)]*(H-1)/2,re=g[E(800)]*(H-1)/2;let ue=0;const J=()=>{const $=E;i[$(1292)]?i[$(1292)][$(676)](te,re,H):ue<20&&(ue++,setTimeout(J,50))};J()}},[n,x,g[o(575)],g[o(800)]]);const oe=L[o(519)](!1),ne=L.useRef({x:0,y:0}),se=L[o(519)]({x:0,y:0,newX:0,newY:0}),S=L[o(519)](null),[k,K]=L.useState({start:null,end:null,isDrawing:!1}),[q,V]=L[o(195)]({start:null,end:null}),F=f,de=Z;L[o(519)](!1);const[me,he]=L[o(195)](!1),[we,Ne]=L[o(195)](!1),[pe,De]=L[o(195)](()=>JSON[o(520)](e??null,null,2)),Ee=L[o(477)](()=>{const E=o;if(!we)return e;try{return JSON[E(1757)](pe)}catch{return e}},[pe,e,we]),He=L.useMemo(()=>{const E=o,H=Ee;if(H!==null&&typeof H===E(1057))return H;if(H!==void 0)return{_payload:H}},[Ee]),Ze=L.useMemo(()=>{const E=o,H=Ee;return H!==null&&typeof H=="object"&&!Array[E(1922)](H)?H:Array[E(1922)](H)?{_telemetryRows:H}:H==null?{}:{_payload:H}},[Ee]),Ie=L[o(1234)](()=>{const E=o;let H=e;if(we)try{H=JSON[E(1757)](pe)}catch{H=e}De(JSON[E(520)](H??null,null,2)),he(!0)},[pe,e,we]),[Re,yn]=L[o(195)](!1),[Rt,mn]=L[o(195)](!1),[kn,wn]=L[o(195)](""),[tn,sn]=L[o(195)](!1),qn=L[o(1234)](()=>{const E=o;try{const H=A(),te=JSON[E(520)](H,null,2),re=E(1838)+encodeURIComponent(te),ue="canvas_"+H.canvas[E(1388)]+"_"+Date[E(1832)]()+E(1492),J=document[E(1564)]("a");J.setAttribute(E(492),re),J[E(202)](E(1086),ue),J.click(),z.message.success("画布导出成功!")}catch{z[E(1695)][E(1243)](E(1060))}},[A]),ht=L[o(1234)](()=>{const E=o;try{const H=JSON.parse(kn);tn?P(H):P(H,p[E(1741)]||void 0),mn(!1),wn(""),sn(!1),z[E(1695)][E(1332)]("画布导入成功!")}catch{z[E(1695)][E(1243)](E(1689))}},[kn,tn,P,p[o(1741)]]),gt=L.useCallback(E=>{const H=o,te=new FileReader;return te.onload=re=>{const ue=_0x4b9b;try{const J=re[ue(1875)]?.[ue(830)],$=JSON.parse(J);tn?P($):P($,p[ue(1741)]||void 0),z[ue(1695)].success(ue(1970)),mn(!1),sn(!1)}catch{z[ue(1695)][ue(1243)](ue(1384))}},te[H(1382)](E),!1},[tn,P,p[o(1741)]]),[Ue,Jt]=L.useState(!1),Oe=L[o(1234)]((E,H)=>{const te=o;if(!a[te(1292)])return{x:0,y:0};const re=a.current[te(1704)](),ue=E-re[te(1460)],J=H-re.top,$=re[te(575)]/g[te(575)],be=re[te(800)]/g[te(800)],ge=ue/$,ye=J/be;return{x:Math[te(846)](ge),y:Math[te(846)](ye)}},[g[o(575)],g.height]),ln=L[o(1234)]((E,H)=>Oe(E,H),[Oe]),xn=L[o(1234)]((E,H,te=!0)=>{const re=o;if(!h[re(1742)])return;const ue=h[re(1742)],J=ue[re(1255)]||{},$=J.lineWeight||J[re(798)]||2,be=Math.min(E.x,H.x),ge=Math[re(1291)](E.y,H.y),ye=Math[re(846)](E.x-be),Be=Math[re(846)](E.y-ge),Ce=Math[re(846)](H.x-be),Le=Math[re(846)](H.y-ge),Ge=Math[re(1122)]($*2,4),Je=Math[re(1122)](Math[re(1534)](E.x-H.x),Ge),vn=Math[re(1122)](Math.abs(E.y-H.y),Ge),pn={...ue,id:ve.nanoid(),config:{color:J.color,lineWeight:$,thickness:$,lineType:J[re(193)],startX:ye,startY:Be,endX:Ce,endY:Le}},Zn={id:ve[re(1239)](),name:ue[re(1388)]+"_"+Date[re(1832)](),type:"normal",normalStyle:{width:Je,height:vn,x:be,y:ge,background:re(994)},contentInfo:{statusList:[bx(pn)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(w(Zn,!1),te){const Rn={x:H.x,y:H.y};K({start:Rn,end:{...Rn},isDrawing:!0})}else K({start:null,end:null,isDrawing:!1}),W()},[h[o(1742)],w,W]),yt=L[o(1234)](()=>{const E=o,H=i[E(1292)]?.[E(1375)];H&&M({scale:H[E(936)],positionX:H[E(1045)],positionY:H[E(794)]})},[M]),yo=L[o(1234)](E=>{const H=o;oe[H(1292)]||b!==H(1458)&&(E[H(1875)]===a[H(1292)]||E.target.dataset?.[H(1619)]===H(420))&&(y(null),de([]))},[y,b]),mo=L.useCallback(E=>{const H=o;if(E[H(1705)]===0){if(b===H(778)&&h[H(1742)]){E[H(1440)]();const te=Oe(E[H(1669)],E[H(302)]);k[H(718)]?k[H(750)]&&xn(k.start,te,!0):K({start:te,end:te,isDrawing:!0});return}if(b===H(1458)&&!Ue){const te=ln(E[H(1669)],E.clientY);V({start:te,end:te}),de([]),y(null),E[H(1390)](),E.stopPropagation()}}},[b,h[o(1742)],k[o(718)],k[o(750)],Ue,xn,Oe,ln]),wo=L[o(1234)](E=>{const H=o;if(!(b!==H(778)||!h.material)&&k.isDrawing&&k.start){const te=Oe(E[H(1669)],E[H(302)]);xn(k.start,te,!1)}},[b,h[o(1742)],k[o(718)],k[o(750)],xn,Oe]),vo=L[o(1234)](E=>{const H=o;E[H(1390)](),E[H(853)][H(574)]=H(1043),R(!0)},[]),po=L.useCallback(E=>{E[o(1390)](),R(!1)},[]),zo=L.useCallback(E=>{const H=o;if(E[H(1390)](),R(!1),!(!a[H(1292)]||b!==H(1380)))try{const te=E[H(853)].getData("application/json");if(!te)return;const re=JSON[H(1757)](te),ue=Oe(E[H(1669)],E[H(302)]),J=ue.x-50,$=ue.y-50,be=Wo(J,$,re);w(be),de([be.id])}catch(te){console.error(H(435),te)}},[b,w,Oe]),Co=L[o(1234)]((E,H)=>{const te=o;b!==te(1380)&&b!==te(1458)||!H[te(912)][te(1647)]||(E[te(1440)](),y(H.id),oe[te(1292)]=!0,ne[te(1292)]={x:E[te(1669)],y:E.clientY},se[te(1292)]={x:H[te(1578)].x||0,y:H[te(1578)].y||0,newX:H[te(1578)].x||0,newY:H[te(1578)].y||0},S[te(1292)]=H,E[te(1390)]())},[b,y]);L[o(614)](()=>{const E=o,H=J=>{const $=_0x4b9b;if(oe.current&&d&&S[$(1292)]){if(!a[$(1292)])return;const be=a[$(1292)][$(1704)](),ge=be[$(575)]/g.width,ye=be[$(800)]/g[$(800)],Be=J[$(1669)]-ne[$(1292)].x,Ce=J.clientY-ne[$(1292)].y,Le=Be/ge,Ge=Ce/ye,Je=se[$(1292)].x+Le,vn=se[$(1292)].y+Ge,pn=document.querySelector($(1914)+d+'"]');pn&&(pn[$(571)][$(1460)]=Je+"px",pn[$(571)][$(534)]=vn+"px"),se[$(1292)].newX=Je,se[$(1292)][$(1010)]=vn}if(b==="box-select"&&q[$(750)]){const be=ln(J[$(1669)],J.clientY);V(ge=>({...ge,end:be}))}if(b===$(778)&&k[$(718)]){const be=Oe(J[$(1669)],J[$(302)]);K(ge=>({...ge,end:be}))}},te=()=>{const J=_0x4b9b;if(oe[J(1292)]&&d&&S.current){const $=Ye[J(1357)](),be=se[J(1292)][J(470)]??se.current.x,ge=se[J(1292)][J(1010)]??se.current.y;$[J(328)](d,{normalStyle:{...S.current[J(1578)],x:be,y:ge}})}if(oe.current=!1,S[J(1292)]=null,ee({}),b===J(1458)&&q[J(750)]&&q[J(935)]){const $=Math.min(q[J(750)].x,q[J(935)].x),be=Math.max(q[J(750)].x,q[J(935)].x),ge=Math[J(1291)](q[J(750)].y,q.end.y),ye=Math[J(1122)](q.start.y,q[J(935)].y),Be=s[J(917)](Ce=>{const Le=J,Ge=Ce[Le(1578)].x||0,Je=Ce[Le(1578)].y||0,vn=Ce[Le(1578)][Le(575)]||0,pn=Ce[Le(1578)][Le(800)]||0,Zn=Ge+vn/2,Rn=Je+pn/2;return Zn>=$&&Zn<=be&&Rn>=ge&&Rn<=ye})[J(1779)](Ce=>Ce.id);de(Be),V({start:null,end:null})}},re=J=>{const $=_0x4b9b;if(!Rs(J.target)){if(J[$(1671)]==="Escape"&&b==="line-draw"&&(K({start:null,end:null,isDrawing:!1}),G()),J.key===$(1226)&&(d?I(d):F[$(586)]>0&&(F.forEach(be=>I(be)),de([]))),J[$(1137)]&&J[$(1671)]==="z"&&(J.preventDefault(),T()),J.ctrlKey&&J[$(1671)]==="y"&&(J[$(1390)](),U()),(b===$(1380)||b==="box-select")&&(J[$(1671)]==="ArrowLeft"||J.key==="ArrowRight"||J[$(1671)]===$(686)||J[$(1671)]==="ArrowDown")){const be=F[$(586)]>0?F:d?[d]:[];if(be.length>0){J[$(1390)]();const ge=J[$(1671)]==="ArrowLeft"?-2:J.key===$(1300)?2:0,ye=J[$(1671)]===$(686)?-2:J[$(1671)]==="ArrowDown"?2:0;be[$(366)](Be=>{const Ce=$,Le=s[Ce(871)](Ge=>Ge.id===Be);Le&&C(Be,{normalStyle:{...Le[Ce(1578)],x:(Le[Ce(1578)].x||0)+ge,y:(Le[Ce(1578)].y||0)+ye}})})}}J[$(1671)]===" "&&!Ue&&(J[$(1390)](),Jt(!0))}},ue=J=>{J[_0x4b9b(1671)]===" "&&Ue&&Jt(!1)};return window[E(1947)]("mousemove",H),window[E(1947)](E(1486),te),window[E(1947)](E(1197),re),window[E(1947)]("keyup",ue),()=>{const J=E;window[J(1240)]("mousemove",H),window[J(1240)](J(1486),te),window[J(1240)]("keydown",re),window[J(1240)](J(1058),ue)}},[d,q,b,k[o(718)],F,s,g[o(575)],g[o(800)],I,T,Ue,U,G,Oe,ln,de,C]);const ex=(E,H=!0)=>{const te=o,re={...E,id:ve[te(1239)](),name:E[te(1388)]+te(1366),normalStyle:{...E[te(1578)],x:(E.normalStyle.x||0)+(H?20:0),y:(E[te(1578)].y||0)+(H?20:0)}};return E[te(954)]===te(523)&&E.children&&(re[te(882)]=E.children[te(1779)](ue=>ex(ue,!1))),re},nx=L[o(1234)](()=>{const E=o,H=F[E(586)]>0?F.map(re=>s[E(871)](ue=>ue.id===re)).filter(Boolean):d?[s[E(871)](re=>re.id===d)].filter(Boolean):[];if(H[E(586)]===0)return;const te=[];H[E(366)](re=>{const ue=E,J=ex(re);w(J),te[ue(177)](J.id)}),te[E(586)]===1?y(te[0]):de(te)},[d,F,s,w,y,de]),tx=L[o(1234)](()=>{const E=o;if(F[E(586)]<2)return;const H=[];for(let ge=0;ge<F[E(586)];ge++){const ye=F[ge],Be=s.find(Ce=>Ce.id===ye);if(Be){if(Be?.[E(954)]===E(523)){Be.children.forEach(Le=>H[E(177)]({...Le,normalStyle:{...Le[E(1578)],x:(Be.normalStyle.x||0)+(Le.normalStyle.x||0),y:(Be.normalStyle.y||0)+(Le[E(1578)].y||0)}})),I(ye);continue}H.push(Be)}}if(H.length<2)return;let te=1/0,re=1/0,ue=-1/0,J=-1/0;H.forEach(ge=>{const ye=E,Be=ge.normalStyle.x||0,Ce=ge.normalStyle.y||0,Le=ge[ye(1578)].width||0,Ge=ge.normalStyle.height||0;te=Math[ye(1291)](te,Be),re=Math[ye(1291)](re,Ce),ue=Math[ye(1122)](ue,Be+Le),J=Math[ye(1122)](J,Ce+Ge)});const $=H[E(1779)](ge=>({...ge,normalStyle:{...ge[E(1578)],x:(ge[E(1578)].x||0)-te,y:(ge[E(1578)].y||0)-re}})),be={id:ve[E(1239)](),name:E(719)+Date[E(1832)](),type:"group",normalStyle:{x:te,y:re,width:ue-te,height:J-re,background:E(994)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:$};F[E(366)](ge=>I(ge)),w(be),de([]),y(be.id)},[F,s,I,w,y]),xx=E=>{const H=o,te={...E,id:ve[H(1239)]()};return E[H(954)]===H(523)&&E.children&&(te.children=E.children[H(1779)](re=>xx(re))),te},ox=L.useCallback(()=>{const E=o,H=F[E(586)]>0?F[E(1779)](te=>s[E(871)](re=>re.id===te)).filter(te=>!!te&&te[E(954)]===E(523)):d?[s[E(871)](te=>te.id===d)].filter(te=>!!te&&te[E(954)]===E(523)):[];H[E(586)]!==0&&(H[E(366)](te=>{const re=E;if(!te.children||te[re(882)].length===0)return;const ue=te[re(882)][re(1779)](J=>{const $=re,be=xx(J);return{...be,normalStyle:{...be[$(1578)],x:(te[$(1578)].x||0)+(be[$(1578)].x||0),y:(te[$(1578)].y||0)+(be.normalStyle.y||0)}}});I(te.id),ue[re(366)](J=>w(J))}),de([]),y(null))},[d,F,s,I,w,y,de]),_t=L[o(1234)](E=>{const H=o;if(F.length<2)return;const te=F[H(1779)](ye=>s[H(871)](Be=>Be.id===ye))[H(917)](ye=>!!ye&&ye[H(954)]!==H(523));if(te[H(586)]<2)return;let re=1/0,ue=-1/0,J=1/0,$=-1/0;te.forEach(ye=>{const Be=H,Ce=ye[Be(1578)].x||0,Le=ye.normalStyle.y||0;re=Math[Be(1291)](re,Ce),ue=Math[Be(1122)](ue,Ce),J=Math.min(J,Le),$=Math[Be(1122)]($,Le)});const be=[...te][H(1540)]((ye,Be)=>{const Ce=H;return E===Ce(522)?(ye[Ce(1578)].x||0)-(Be[Ce(1578)].x||0):(ye.normalStyle.y||0)-(Be[Ce(1578)].y||0)}),ge=be[H(586)];if(E==="horizontal"){const ye=ue-re,Be=ye/(ge-1);be[H(366)]((Ce,Le)=>{const Ge=H,Je=re+Be*Le;C(Ce.id,{normalStyle:{...Ce[Ge(1578)],x:Je}})})}else{const ye=$-J,Be=ye/(ge-1);be[H(366)]((Ce,Le)=>{const Ge=H,Je=J+Be*Le;C(Ce.id,{normalStyle:{...Ce[Ge(1578)],y:Je}})})}},[F,s,C]),Wn=E=>{const H=o,te=E.contentInfo[H(1378)][H(871)](re=>re[H(1742)][H(954)]===H(1167));return te?te.material[H(1255)]:null},Xn=L[o(1234)](E=>{const H=o;if(F[H(586)]<2)return;const te=Ye[H(1357)](),re=F[H(1779)](J=>s[H(871)]($=>$.id===J))[H(917)](J=>!!J);if(re[H(586)]<2)return;let ue=0;switch(E){case"left":ue=Math.min(...re.map(J=>{const $=H,be=Wn(J);return be?(J[$(1578)].x||0)+(be.startX||0):J[$(1578)].x||0}));break;case"right":ue=Math[H(1122)](...re[H(1779)](J=>{const $=H,be=Wn(J);return be?(J[$(1578)].x||0)+(be[$(1903)]||0):(J[$(1578)].x||0)+(J[$(1578)][$(575)]||0)}));break;case H(534):ue=Math.min(...re[H(1779)](J=>{const $=H,be=Wn(J);return be?(J.normalStyle.y||0)+(be[$(1330)]||0):J.normalStyle.y||0}));break;case H(1761):ue=Math[H(1122)](...re[H(1779)](J=>{const $=H,be=Wn(J);return be?(J[$(1578)].y||0)+(be[$(883)]||0):(J[$(1578)].y||0)+(J[$(1578)][$(800)]||0)}));break}re.forEach(J=>{const $=H;let be=J[$(1578)].x||0,ge=J[$(1578)].y||0;const ye=Wn(J);switch(E){case $(1460):ye?be=ue-(ye[$(1107)]||0):be=ue;break;case $(1208):ye?be=ue-(ye[$(1903)]||0):be=ue-(J[$(1578)][$(575)]||0);break;case $(534):ye?ge=ue-(ye[$(1330)]||0):ge=ue;break;case $(1761):ye?ge=ue-(ye[$(883)]||0):ge=ue-(J[$(1578)].height||0);break}te[$(328)](J.id,{normalStyle:{...J[$(1578)],x:be,y:ge}})})},[F,s]),rx=[{icon:l[o(1667)](le.SelectOutlined,{}),title:"选择模式",active:b===o(1380),onClick:()=>{Q(o(1380))}},{icon:l[o(1667)](le[o(942)],{}),title:o(873),active:b===o(1458),onClick:()=>{Q(o(1458)),de([])}},{icon:l.jsx(le[o(1296)],{}),title:o(1350),active:b===o(921),onClick:()=>{Q(o(921))}},{icon:l[o(1667)](le[o(1311)],{}),title:o(1275),active:b===o(778),onClick:()=>{Q(o(778))}},{icon:l[o(1667)](le.EyeOutlined,{}),title:"预览模式",active:b===o(450),onClick:()=>{Q(o(450))}}],Kn=L[o(1234)](()=>F[o(586)]>0?F:d?[d]:[],[F,d]),Ft=L[o(1234)](()=>{const E=o,H=Kn();if(H[E(586)]===0)return;s[E(917)](re=>H[E(444)](re.id)).map(re=>re.id).forEach(re=>Y(re))},[Kn,s,Y]),ix=L[o(1234)](()=>{const E=o,H=Kn();if(H[E(586)]===0)return;[...s[E(917)](re=>H.includes(re.id))[E(1779)](re=>re.id)][E(417)]()[E(366)](re=>O(re))},[Kn,s,O]),Mo=L[o(477)](()=>[{icon:l.jsx(le[o(551)],{}),title:"撤销 (Ctrl+Z)",onClick:T},{icon:l[o(1667)](le.RedoOutlined,{}),title:"重做 (Ctrl+Y)",onClick:U},{icon:l.jsx(le[o(766)],{}),title:o(608),disabled:!d&&F.length===0,onClick:Ft},{icon:l[o(1667)](le[o(1162)],{}),title:o(1877),disabled:!d&&F[o(586)]===0,onClick:ix},{icon:l[o(1667)](le[o(283)],{}),title:o(1905),disabled:!d&&F[o(586)]===0,onClick:nx},{icon:l[o(1667)](le[o(942)],{}),title:"组合选中节点",disabled:F[o(586)]<2,onClick:tx},{icon:l.jsx(le[o(999)],{}),title:o(1576),disabled:!d&&F[o(586)]===0,onClick:ox},{icon:l[o(1667)](le[o(684)],{}),title:o(1840),disabled:F.length<2,onClick:()=>Xn(o(1460))},{icon:l[o(1667)](le.AlignRightOutlined,{}),title:o(1081),disabled:F[o(586)]<2,onClick:()=>Xn(o(1208))},{icon:l[o(1667)](le[o(364)],{}),title:o(1235),disabled:F.length<2,onClick:()=>Xn(o(534))},{icon:l[o(1667)](le.VerticalAlignBottomOutlined,{}),title:o(282),disabled:F.length<2,onClick:()=>Xn("bottom")},{icon:l[o(1667)](le[o(1155)],{}),title:o(1278),disabled:F.length<2,onClick:()=>_t(o(522))},{icon:l[o(1667)](le[o(359)],{}),title:o(1449),disabled:F[o(586)]<2,onClick:()=>_t(o(1056))},{icon:l[o(1667)](le[o(1960)],{}),title:"画布配置",onClick:()=>yn(!0)},{icon:l.jsx(le[o(388)],{}),title:o(1177),type:o(526),onClick:Ie},{icon:l.jsx(le.DeleteOutlined,{}),title:o(1231),disabled:!d&&F[o(586)]===0,onClick:()=>{const E=o;d?I(d):F[E(586)]>0&&(F[E(366)](H=>I(H)),de([]))}}],[T,U,b,Q,de,F,tx,ox,nx,Xn,_t,Ft,ix,yn,he,Ie,d,I,p[o(1741)]]),[Bo,ax]=L[o(195)](!1),[cx,Qt]=L[o(195)](""),[$t,e0]=L[o(195)](null);return l.jsxs("div",{className:o(749),children:[!n&&l[o(1200)](o(1574),{className:o(1454),children:[l.jsxs(z[o(1220)],{children:[rx[o(1779)](E=>l[o(1667)](z[o(396)],{title:E[o(1592)],children:l[o(1667)](z[o(978)],{type:E[o(1931)]?o(526):"default",icon:E.icon,onClick:E[o(1817)]})},E[o(1592)])),l[o(1667)](o(1574),{className:o(408)}),l[o(1667)](z[o(1359)],{value:p.currentCanvasId,onChange:D,style:{width:140},dropdownRender:E=>l[o(1200)](l.Fragment,{children:[E,l[o(1667)](o(1574),{className:o(695),children:l[o(1667)](z[o(978)],{type:o(535),size:o(1715),block:!0,onClick:()=>ax(!0),children:o(1677)})})]}),children:p[o(1555)].map(E=>l[o(1667)](z[o(1359)][o(949)],{value:E.id,children:E.name},E.id))}),l[o(1667)](z[o(978)],{icon:l[o(1667)](le[o(1087)],{}),size:o(1715),onClick:()=>N(),title:o(1453)}),l[o(1667)](z.Tooltip,{title:o(1778),children:l[o(1667)](z[o(978)],{icon:l.jsx(le[o(745)],{}),size:o(1715),onClick:qn})}),l.jsx(z[o(396)],{title:o(1317),children:l[o(1667)](z[o(978)],{icon:l[o(1667)](le[o(524)],{}),size:o(1715),onClick:()=>mn(!0)})})]}),l[o(1667)](z[o(1220)],{children:Mo[o(1779)](E=>l[o(1667)](z[o(396)],{title:E[o(1592)],children:l[o(1667)](z.Button,{type:E.active?o(526):E[o(954)]||o(1729),icon:E[o(1398)],onClick:E[o(1817)],disabled:E[o(729)]})},E[o(1592)]))})]}),l.jsx(o(1574),{ref:u,className:o(265),style:n&&x?{display:o(1602),justifyContent:"center",alignItems:o(1692)}:void 0,children:l[o(1667)](t0[o(1478)],{ref:i,initialScale:ae,initialPositionX:ce,initialPositionY:ie,minScale:n&&x?Math[o(1291)](x/g.width,1):.5,maxScale:n&&x?1:5,onTransformed:yt,limitToBounds:n&&!!x,centerZoomedOut:!1,panning:{disabled:!Ue&&b!==o(921),velocityDisabled:!0},wheel:{step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:E,zoomOut:H,resetTransform:te})=>l.jsxs(l[o(990)],{children:[!n&&l[o(1667)](o(1574),{className:o(1096),children:l[o(1200)](z[o(1220)],{direction:o(1056),children:[l[o(1667)](z[o(396)],{title:"放大",children:l[o(1667)](z[o(978)],{icon:l[o(1667)](le.ZoomInOutlined,{}),onClick:()=>E()})}),l[o(1667)](z[o(396)],{title:"缩小",children:l.jsx(z.Button,{icon:l[o(1667)](le[o(993)],{}),onClick:()=>H()})}),l[o(1667)](z[o(396)],{title:o(1280),children:l[o(1667)](z.Button,{onClick:()=>te(),children:o(346)})}),l[o(1200)]("div",{className:o(1703),children:[Math[o(846)](v[o(936)]*100),"%"]})]})}),l[o(1667)](t0[o(1314)],{wrapperStyle:n&&x?{width:x,height:r||"100%",position:o(1524),overflow:o(1061)}:{width:o(346),height:o(346),position:"relative",overflow:n?"visible":"hidden"},contentStyle:{width:n?g[o(575)]+"px":o(346),height:n?g[o(800)]+"px":o(346),display:"flex",alignItems:n?"flex-start":o(1692),justifyContent:n?o(1387):"center"},children:l[o(1200)]("div",{ref:a,"data-canvas":o(420),className:o(1919)+(_?o(1915):"")+" "+(b===o(778)?o(1473):"")+" "+(Ue?o(1305):""),style:{width:g[o(575)],height:g[o(800)],flexShrink:0,backgroundColor:g.background,backgroundImage:g.backgroundImage?o(1434)+g.backgroundImage+")":void 0,backgroundSize:"cover",backgroundPosition:o(1692)},onClick:yo,onMouseDown:mo,onDoubleClick:wo,onDragOver:vo,onDragLeave:po,onDrop:zo,children:[t&&!n&&l.jsxs(o(1574),{className:"absolute top-0 left-0 pointer-events-none overflow-hidden",style:{width:g.width,height:g[o(800)]},children:[l[o(1667)]("img",{src:t,alt:"",className:o(1663),draggable:!1}),l[o(1667)](o(1533),{className:o(1895),width:1920,height:1080,children:l.jsx("rect",{x:"0",y:"0",width:o(1812),height:o(1697),fill:o(1598),stroke:o(230),strokeWidth:"2"})})]}),g[o(1128)]!==!1&&l[o(1200)]("svg",{className:o(1895),width:g[o(575)],height:g.height,children:[l[o(1667)]("defs",{children:l.jsx(o(1948),{id:o(946),width:"20",height:"20",patternUnits:"userSpaceOnUse",children:l.jsx("path",{d:o(478),fill:"none",stroke:o(1683),opacity:o(1227),strokeWidth:"1"})})}),l[o(1667)](o(390),{width:o(346),height:o(346),fill:"url(#grid)"})]}),s[o(1779)](re=>l[o(1667)](Cx,{node:re,isSelected:b===o(450)?!1:d===re.id||F[o(444)](re.id),data:He,onClick:b===o(450)?void 0:ue=>{const J=o;console.log(J(515),re.id,"mode:",xe[J(1292)]),xe[J(1292)]!=="line-draw"&&(ue[J(563)]?(y(re.id),de([...F,re.id])):(y(re.id),de([re.id])))},onMouseDown:b===o(450)?void 0:ue=>Co(ue,re),onUpdateNode:b===o(450)?void 0:(ue,J)=>C(ue,J),scale:v[o(936)],enableEventFlow:b===o(450),eventFlowData:Ze},""+re.id)),b===o(778)&&k[o(718)]&&k[o(750)]&&k.end&&l.jsx(o(1533),{className:o(1895),width:g[o(575)],height:g[o(800)],children:l[o(1667)]("line",{x1:k.start.x,y1:k.start.y,x2:k[o(935)].x,y2:k[o(935)].y,stroke:o(194),strokeWidth:"2",strokeDasharray:o(201),strokeLinecap:o(846),strokeLinejoin:o(846)})}),b===o(1458)&&q[o(750)]&&q[o(935)]&&l[o(1667)]("div",{className:"absolute border-2 border-blue-500 bg-blue-500/10 pointer-events-none",style:{left:Math[o(1291)](q[o(750)].x,q[o(935)].x),top:Math.min(q.start.y,q[o(935)].y),width:Math[o(1534)](q[o(935)].x-q[o(750)].x),height:Math.abs(q[o(935)].y-q.start.y),zIndex:9999}})]})})]})})}),l[o(1667)](z[o(785)],{title:o(1177),open:me,onCancel:()=>he(!1),footer:null,children:l[o(1667)](z[o(642)],{layout:"vertical",children:l[o(1667)](z[o(642)][o(1417)],{label:"测试数据 (JSON)",children:l.jsx(Zs,{value:pe,onChange:E=>{const H=o;Ne(!0),De(E[H(1875)].value)},rows:10,placeholder:o(466)})})})}),l[o(1667)](z.Modal,{title:o(862),open:Re,onCancel:()=>yn(!1),footer:null,children:l.jsxs(z[o(642)],{layout:"vertical",children:[l[o(1667)](z[o(642)].Item,{label:"宽度",children:l[o(1667)](z[o(1078)],{value:g[o(575)],onChange:E=>m({width:E||1920}),min:100,max:5e3,style:{width:o(346)}})}),l.jsx(z[o(642)][o(1417)],{label:"高度",children:l[o(1667)](z.InputNumber,{value:g[o(800)],onChange:E=>m({height:E||1080}),min:100,max:5e3,style:{width:o(346)}})}),l[o(1667)](z.Form[o(1417)],{label:"显示网格",children:l[o(1667)](z[o(1870)],{checked:g[o(1128)]!==!1,onChange:E=>m({showGrid:E})})}),l[o(1667)](z[o(642)][o(1417)],{label:o(1816),children:l.jsxs("div",{className:o(1466),children:[l.jsx(nt,{value:g.background||o(1003),onChange:E=>m({background:E[o(656)]()})}),l[o(1667)](z[o(1871)],{value:g[o(546)],onChange:E=>m({background:E[o(1875)][o(1161)]}),placeholder:o(1888)})]})}),l[o(1200)](z[o(642)].Item,{label:o(1381),children:[l[o(1200)](o(1574),{className:o(1466),children:[l[o(1667)](z.Upload,{accept:"image/*",showUploadList:!1,beforeUpload:E=>{const H=o;if(!E[H(954)][H(188)](H(1377)))return z[H(1695)][H(1243)](H(1429)),!1;const re=new FileReader;return re[H(761)]=ue=>{const J=H,$=ue[J(1875)]?.[J(830)];m({backgroundImage:$}),z[J(1695)][J(1332)]("背景图片上传成功")},re[H(200)](E),!1},children:l[o(1667)](z[o(978)],{icon:l.jsx(le[o(524)],{}),children:o(525)})}),l[o(1667)](z.Input,{value:g.backgroundImage,onChange:E=>m({backgroundImage:E[o(1875)].value}),placeholder:o(1759),style:{flex:1}}),g[o(1520)]&&l[o(1667)](z.Button,{icon:l[o(1667)](le[o(573)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:o(1715)})]}),g.backgroundImage&&l[o(1667)](o(1574),{className:"mt-2 p-2 border rounded",style:{maxWidth:o(346)},children:l[o(1667)](o(1333),{src:g[o(1520)],alt:o(187),style:{maxWidth:o(346),maxHeight:120,objectFit:"contain"}})})]})]})}),l[o(1200)](z[o(785)],{title:"画布管理",open:Bo,onCancel:()=>{ax(!1),e0(null),Qt("")},footer:null,children:[l.jsx(z[o(1541)],{dataSource:p.canvases,renderItem:E=>l[o(1667)](z.List.Item,{actions:[$t===E.id?l[o(1667)](z[o(978)],{type:o(526),size:"small",onClick:()=>{j(E.id,cx),e0(null)},children:"保存"}):l.jsx(z[o(978)],{type:o(875),icon:l[o(1667)](le[o(1311)],{}),size:"small",onClick:()=>{const H=o;e0(E.id),Qt(E[H(1388)])}}),p.canvases[o(586)]>1&&l[o(1667)](z[o(978)],{type:o(875),danger:!0,icon:l[o(1667)](le[o(521)],{}),size:o(1715),onClick:()=>B(E.id)})][o(917)](Boolean),children:$t===E.id?l[o(1667)](z[o(1871)],{value:cx,onChange:H=>Qt(H[o(1875)][o(1161)]),size:o(1715),style:{width:200}}):l[o(1200)](o(1627),{style:{fontWeight:p[o(1741)]===E.id?o(819):"normal"},children:[E[o(1388)]," ",p[o(1741)]===E.id&&o(1681)]})})}),l[o(1667)](o(1574),{className:o(1342),children:l.jsx(z.Button,{type:o(526),icon:l[o(1667)](le[o(1087)],{}),onClick:()=>N(),children:"新建画布"})})]}),l[o(1667)](z[o(785)],{title:o(1317),open:Rt,onOk:ht,onCancel:()=>{mn(!1),wn(""),sn(!1)},width:600,children:l.jsxs(o(1574),{className:"space-y-4",children:[l.jsxs(o(1574),{children:[l[o(1667)]("p",{className:o(389),children:o(926)}),l.jsx("input",{type:o(1191),accept:o(1492),onChange:E=>{const H=o,te=E.target[H(153)]?.[0];te&>(te)},className:o(593)})]}),l[o(1667)]("div",{className:o(771),children:"或"}),l.jsxs(o(1574),{children:[l[o(1667)]("p",{className:o(389),children:"粘贴 JSON 内容:"}),l[o(1667)](o(1635),{value:kn,onChange:E=>wn(E.target.value),placeholder:o(159),className:o(1109)})]}),l[o(1200)](o(1574),{className:"flex items-center gap-2",children:[l[o(1667)]("input",{type:o(975),id:"importAsNewCanvas",checked:tn,onChange:E=>sn(E[o(1875)].checked),className:"w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500"}),l[o(1667)]("label",{htmlFor:"importAsNewCanvas",className:o(266),children:"导入为新画布(不覆盖当前画布)"})]})]})})]})},{Option:u0}=z[c(1359)];function zr(e){return Array[c(1922)](e)}function Js(e){const n=c,t=new Set;return e.forEach(x=>Object[n(964)](x)[n(366)](r=>t[n(505)](r))),Array[n(1256)](t)}function _s(e,n){const t=c;return e[t(1779)]((x,r)=>{const o=t,i=x[n],a=x[o(1388)];return{label:String(a??"项 "+(r+1)),value:typeof i===o(816)||typeof i===o(536)?i:String(i)}})}function Cr(e,n=""){const t=c,x=[];for(const[r,o]of Object[t(679)](e)){const i=n?n+"."+r:r;o!==null&&typeof o===t(1057)&&!Array[t(1922)](o)?x[t(177)](...Cr(o,i)):x[t(177)]({paramsCode:i,paramsName:i,value:o})}return x}function Fs(e,n,t){const x=c;if(zr(e)){if(n!=null&&t!=null){const r=e[x(871)](o=>o[n]===t);if(r)return r}return{}}return e}const Qs=({material:e,onSave:n})=>{const t=c,x=e,r=x[t(1077)]||{},o=Ye(w=>w.dataPool),[i,a]=L[t(195)]({label:r[t(1820)]||"",value:r[t(1161)]||"",valueSourceCode:r.valueSourceCode||"",unit:r[t(706)]||"",decimals:r[t(1972)]??2,labelFontSize:r[t(997)]?.[t(1037)]||14,labelFontWeight:r[t(997)]?.[t(404)]||t(819),labelColor:r[t(997)]?.[t(258)]||"#262626",valueFontSize:r[t(1762)]?.[t(1037)]||14,valueFontWeight:r[t(1762)]?.fontWeight||t(350),valueColor:r[t(1762)]?.[t(258)]||"#1890ff",boundDatasetId:r[t(1738)]||"",boundDatasetBindCode:r[t(1543)]||"",boundDatasetBindValue:r.boundDatasetBindValue??null}),u=L[t(477)](()=>o.find(w=>w.id===i.boundDatasetId),[o,i[t(1738)]]),s=u?zr(u[t(1129)]):!1,d=L[t(477)](()=>{const w=t;if(!u)return[];const y=Fs(u.sample,i[w(1543)],i[w(1365)]);return Cr(y)},[u,i.boundDatasetBindCode,i[t(1365)]]);L[t(614)](()=>{const w=t;a({label:r.label||"",value:r[w(1161)]||"",valueSourceCode:r[w(1876)]||"",unit:r[w(706)]||"",decimals:r[w(1972)]??2,labelFontSize:r.labelStyle?.[w(1037)]||14,labelFontWeight:r[w(997)]?.[w(404)]||w(819),labelColor:r[w(997)]?.[w(258)]||"#262626",valueFontSize:r[w(1762)]?.fontSize||14,valueFontWeight:r.valueStyle?.[w(404)]||w(350),valueColor:r.valueStyle?.[w(258)]||w(194),boundDatasetId:r[w(1738)]||"",boundDatasetBindCode:r[w(1543)]||"",boundDatasetBindValue:r[w(1365)]??null})},[e.id]);const f=(w,y)=>{a(C=>({...C,[w]:y}))},b=w=>{a(y=>({...y,boundDatasetId:w,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...r,boundDatasetId:w||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},h=w=>{a(y=>({...y,boundDatasetBindCode:w||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{n({content:{...r,boundDatasetBindCode:w||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=w=>{a(y=>({...y,boundDatasetBindValue:w??null,valueSourceCode:""})),setTimeout(()=>{n({content:{...r,boundDatasetBindValue:w??void 0,valueSourceCode:void 0}})},0)},g=w=>{const y=t,C=d[y(871)](Y=>Y[y(1276)]===w),I=C?.[y(706)]||"";a(Y=>({...Y,valueSourceCode:w,unit:I,value:String(C?.[y(1161)]||"")})),setTimeout(()=>{n({content:{...r,valueSourceCode:w,value:String(C?.[y(1161)]||""),unit:I}})},0)},p=()=>{const w=t;n({content:{...r,label:i.label,value:i[w(1161)],valueSourceCode:i[w(1876)],unit:i.unit,decimals:i[w(1972)],boundDatasetId:i[w(1738)]||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[w(251)],fontWeight:i[w(1192)],color:i[w(932)]},valueStyle:{fontSize:i[w(1016)],fontWeight:i[w(506)],color:i[w(1721)]}}})},M=u&&s?Js(u[t(1129)]):[],m=u&&s&&i[t(1543)]?_s(u[t(1129)],i[t(1543)]):[];return l.jsxs(t(1574),{className:t(1093),children:[l[t(1667)](z[t(1941)],{style:{marginTop:0},children:"文本内容"}),l[t(1200)](z[t(642)],{layout:t(1056),children:[l[t(1667)](z[t(642)][t(1417)],{label:t(1476),children:l.jsx(z[t(1871)],{value:i[t(1820)],onChange:w=>f(t(1820),w[t(1875)][t(1161)]),onBlur:p,placeholder:t(486)})}),l[t(1667)](z[t(642)][t(1417)],{label:t(721),help:t(394),children:l[t(1667)](z[t(1359)],{allowClear:!0,placeholder:o.length===0?"暂无数据集":"选择数据集",value:i[t(1738)]||void 0,onChange:b,style:{width:t(346)},options:o[t(1779)](w=>({label:w[t(1388)],value:w.id}))})}),u&&s&&l.jsxs(l.Fragment,{children:[l[t(1667)](z.Form[t(1417)],{label:t(813),help:t(697),children:l[t(1667)](z[t(1359)],{allowClear:!0,placeholder:"选择绑定字段",value:i[t(1543)]||void 0,onChange:h,style:{width:"100%"},options:M[t(1779)](w=>({label:w,value:w}))})}),i.boundDatasetBindCode&&l[t(1667)](z.Form[t(1417)],{label:t(630),help:"选择该字段对应的具体值以定位数据项",children:l[t(1667)](z[t(1359)],{allowClear:!0,placeholder:t(693),value:i[t(1365)]??void 0,onChange:v,style:{width:t(346)},options:m})})]}),l[t(1667)](z[t(642)][t(1417)],{label:t(1907),help:t(u?748:1842),children:l[t(1667)](z[t(1359)],{value:i.valueSourceCode||void 0,onChange:g,placeholder:t(u?1640:1842),allowClear:!0,disabled:!u,style:{width:"100%"},options:d[t(1779)](w=>({value:w[t(1276)],label:w[t(1674)]}))})}),l[t(1667)](z.Form[t(1417)],{label:i.valueSourceCode?t(334):t(1886),help:i.valueSourceCode?t(1327):t(1913),children:l.jsx(z[t(1871)],{value:i.value,onChange:w=>f(t(1161),w[t(1875)][t(1161)]),onBlur:p,placeholder:i.valueSourceCode?t(511):t(1134),disabled:!!i[t(1876)],variant:i.valueSourceCode?t(222):void 0})}),l.jsx(z[t(642)][t(1417)],{label:"单位",help:t(688),children:l.jsx(z.Input,{value:i[t(706)],onChange:w=>f("unit",w[t(1875)][t(1161)]),onBlur:p,placeholder:t(1713),suffix:i[t(1876)]&&d[t(586)]>0?l[t(1667)](z[t(239)],{color:t(1262),style:{marginRight:-8},children:"自动"}):null})}),l[t(1667)](z[t(642)].Item,{label:t(1548),help:t(226),children:l[t(1667)](z.InputNumber,{value:i[t(1972)],onChange:w=>f(t(1972),w??2),onBlur:p,min:-1,max:10,style:{width:t(346)}})})]}),l[t(1667)](z[t(1941)],{children:t(733)}),l[t(1200)](z[t(642)],{layout:"vertical",children:[l.jsxs(z[t(1220)],{children:[l[t(1667)](z[t(642)][t(1417)],{label:t(633),children:l[t(1667)](z[t(1078)],{value:i[t(251)],onChange:w=>f("labelFontSize",w||14),onBlur:p,min:8,max:72})}),l[t(1667)](z[t(642)][t(1417)],{label:t(170),children:l[t(1200)](z[t(1359)],{value:i[t(1192)],onChange:w=>{f(t(1192),w),setTimeout(p,0)},style:{width:100},children:[l[t(1667)](u0,{value:t(350),children:"正常"}),l[t(1667)](u0,{value:t(819),children:"粗体"})]})})]}),l[t(1667)](z.Form[t(1417)],{label:"文字颜色",children:l.jsxs(t(1574),{className:t(1466),children:[l.jsx(nt,{value:i[t(932)]||"#262626",onChange:w=>{f("labelColor",w[t(656)]())},onChangeComplete:w=>{const y=t;n({content:{...r,label:i[y(1820)],value:i[y(1161)],valueSourceCode:i[y(1876)],unit:i[y(706)],decimals:i[y(1972)],boundDatasetId:i[y(1738)]||void 0,boundDatasetBindCode:i[y(1543)]||void 0,boundDatasetBindValue:i[y(1365)]??void 0,labelStyle:{fontSize:i[y(251)],fontWeight:i[y(1192)],color:w[y(656)]()},valueStyle:{fontSize:i[y(1016)],fontWeight:i[y(506)],color:i[y(1721)]}}})}}),l[t(1667)](z[t(1871)],{value:i.labelColor,onChange:w=>f(t(932),w[t(1875)][t(1161)]),onBlur:p,placeholder:t(1228),style:{width:100}})]})})]}),l[t(1667)](z[t(1941)],{children:t(179)}),l.jsxs(z[t(642)],{layout:t(1056),children:[l[t(1200)](z[t(1220)],{children:[l.jsx(z[t(642)][t(1417)],{label:t(633),children:l[t(1667)](z[t(1078)],{value:i[t(1016)],onChange:w=>f(t(1016),w||14),onBlur:p,min:8,max:72})}),l.jsx(z[t(642)][t(1417)],{label:t(170),children:l[t(1200)](z[t(1359)],{value:i.valueFontWeight,onChange:w=>{f(t(506),w),setTimeout(p,0)},style:{width:100},children:[l[t(1667)](u0,{value:"normal",children:"正常"}),l[t(1667)](u0,{value:t(819),children:"粗体"})]})})]}),l.jsx(z[t(642)][t(1417)],{label:t(406),children:l[t(1200)](t(1574),{className:"flex items-center gap-2",children:[l.jsx(nt,{value:i[t(1721)]||t(194),onChange:w=>{const y=t;f(y(1721),w[y(656)]())},onChangeComplete:w=>{const y=t;n({content:{...r,label:i[y(1820)],value:i[y(1161)],valueSourceCode:i.valueSourceCode,unit:i[y(706)],decimals:i.decimals,boundDatasetId:i[y(1738)]||void 0,boundDatasetBindCode:i[y(1543)]||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[y(251)],fontWeight:i[y(1192)],color:i.labelColor},valueStyle:{fontSize:i[y(1016)],fontWeight:i.valueFontWeight,color:w.toHexString()}}})}}),l[t(1667)](z[t(1871)],{value:i.valueColor,onChange:w=>f(t(1721),w.target[t(1161)]),onBlur:p,placeholder:t(194),style:{width:100}})]})})]})]})},$s=({material:e,onSave:n})=>{const t=c,x=e,[r,o]=L[t(195)]({name:e[t(1388)],src:x[t(920)]||"",backgroundColor:x[t(484)]||"",fillColor:x[t(250)]||""});L[t(614)](()=>{const u=t;o({name:e[u(1388)],src:x[u(920)]||"",backgroundColor:x[u(484)]||"",fillColor:x[u(250)]||""})},[e.id]);const i=(u,s)=>{o(d=>({...d,[u]:s}))},a=()=>{const u=t;n({name:r[u(1388)],src:r[u(920)],backgroundColor:r[u(484)]})};return l[t(1200)](t(1574),{className:t(1093),children:[l[t(1667)](z[t(1941)],{style:{marginTop:0},children:t(229)}),l[t(1200)](z[t(642)],{layout:t(1056),children:[l[t(1667)](z.Form[t(1417)],{label:t(375),children:l.jsx(z[t(1871)],{value:r[t(1388)],onChange:u=>i(t(1388),u[t(1875)][t(1161)]),onBlur:a})}),l.jsx(z.Form[t(1417)],{label:t(705),children:l[t(1667)](z[t(1871)].TextArea,{value:r[t(920)],onChange:u=>i("src",u[t(1875)][t(1161)]),onBlur:a,rows:4,placeholder:t(743)})}),l[t(1667)](z.Form.Item,{label:t(1017),children:l[t(1200)]("div",{className:t(1466),children:[l[t(1667)](nt,{value:r[t(250)]||t(194),onChange:u=>{const s=t,d=u[s(656)]();i(s(250),d),n({name:r.name,src:r.src,backgroundColor:r[s(484)],fillColor:d})}}),l[t(1667)](z[t(1871)],{value:r[t(250)],onChange:u=>i("fillColor",u[t(1875)][t(1161)]),onBlur:a,placeholder:t(194)})]})}),l[t(1667)](z.Form[t(1417)],{label:t(826),children:l[t(1200)]("div",{className:t(1466),children:[l.jsx(nt,{value:r[t(484)]||t(194),onChange:u=>{const s=t,d=u[s(656)]();i(s(484),d),n({name:r.name,src:r[s(920)],backgroundColor:d,fillColor:r[s(250)]})}}),l[t(1667)](z[t(1871)],{value:r.backgroundColor,onChange:u=>i(t(484),u[t(1875)][t(1161)]),onBlur:a,placeholder:t(194)})]})})]})]})},{Option:el}=z[c(1359)],nl=({material:e,onSave:n})=>{const t=c,x=e[t(1255)]||{},[r,o]=L[t(195)]({lineWeight:x[t(1334)]||x.thickness||2,color:x[t(258)]||t(1228),lineType:x[t(193)]||"solid",startX:x[t(1107)]??0,startY:x[t(1330)]??0,endX:x[t(1903)]??100,endY:x[t(883)]??0}),i=JSON[t(520)]({sw:x[t(1334)]??x[t(798)],c:x[t(258)],t:x[t(193)],sx:x.startX,sy:x[t(1330)],ex:x.endX,ey:x.endY});L[t(614)](()=>{const s=t;o({lineWeight:x.lineWeight||x[s(798)]||2,color:x.color||s(1228),lineType:x[s(193)]||s(1290),startX:x[s(1107)]??0,startY:x[s(1330)]??0,endX:x.endX??100,endY:x[s(883)]??0})},[e.id,i]);const a=s=>{const d=t,f={...r,...s};o(f),n({config:{...x,thickness:f.lineWeight,lineWeight:f.lineWeight,color:f.color,lineType:f.lineType,startX:f.startX,startY:f[d(1330)],endX:f.endX,endY:f[d(883)]}})},u=[{value:"solid",label:"实线",desc:t(885)},{value:t(725),label:"虚线",desc:t(1512)},{value:"center",label:"点画线(中心线)",desc:t(337)},{value:"phantom",label:"假想线",desc:"长划-双点交替"},{value:t(248),label:"点线",desc:t(550)},{value:t(149),label:t(1878),desc:"长划-点交替"}];return l.jsxs(t(1574),{className:t(1093),children:[l[t(1667)](z[t(1941)],{style:{marginTop:0},children:t(1187)}),l.jsxs(z.Form,{layout:t(1056),children:[l[t(1200)](t(1574),{className:t(1259),children:[l[t(1667)](z[t(642)][t(1417)],{label:t(829),className:t(389),children:l[t(1667)](z[t(1078)],{value:r[t(1107)],onChange:s=>a({startX:s??0}),style:{width:"100%"}})}),l.jsx(z.Form.Item,{label:"起点 Y",className:t(389),children:l.jsx(z[t(1078)],{value:r[t(1330)],onChange:s=>a({startY:s??0}),style:{width:t(346)}})}),l[t(1667)](z.Form[t(1417)],{label:t(228),className:"mb-2",children:l[t(1667)](z[t(1078)],{value:r[t(1903)],onChange:s=>a({endX:s??100}),style:{width:t(346)}})}),l[t(1667)](z[t(642)][t(1417)],{label:"终点 Y",className:t(389),children:l[t(1667)](z[t(1078)],{value:r[t(883)],onChange:s=>a({endY:s??0}),style:{width:"100%"}})})]}),l[t(1667)](z[t(642)][t(1417)],{label:t(776),className:t(1822),children:l[t(1200)](z[t(1220)],{children:[l.jsx(z.Button,{size:"small",onClick:()=>{const s=t,d=x.startX??r.startX,f=x[s(1330)]??r[s(1330)],b=x.endX??r[s(1903)],h=x.endY??r[s(883)],v=b-d,g=h-f,p=Math[s(874)](v*v+g*g),M=v>=0?1:-1;a({endX:d+M*p,endY:f})},title:"将线条变为水平线,保持长度",children:"水平"}),l[t(1667)](z.Button,{size:t(1715),onClick:()=>{const s=t,d=x[s(1107)]??r.startX,f=x[s(1330)]??r[s(1330)],b=x[s(1903)]??r[s(1903)],h=x[s(883)]??r[s(883)],v=b-d,g=h-f,p=Math[s(874)](v*v+g*g),M=g>=0?1:-1;a({endX:d,endY:f+M*p})},title:t(1583),children:"垂直"}),l[t(1667)](z[t(978)],{size:"small",onClick:()=>{const s=t,d=x.startX??r[s(1107)],f=x[s(1330)]??r.startY,b=x[s(1903)]??r[s(1903)],h=x.endY??r[s(883)];a({startX:b,startY:h,endX:d,endY:f})},title:t(1774),children:"反向"})]})})]}),l[t(1667)](z[t(1941)],{children:t(662)}),l.jsxs(z[t(642)],{layout:"vertical",children:[l[t(1667)](z[t(642)][t(1417)],{label:"线型",help:t(1710),children:l.jsx(z[t(1359)],{value:r.lineType,onChange:s=>a({lineType:s}),children:u[t(1779)](s=>l[t(1667)](el,{value:s[t(1161)],children:l.jsxs("div",{className:"flex flex-col",children:[l[t(1667)](t(1627),{children:s[t(1820)]}),l[t(1667)]("span",{className:"text-xs text-gray-400",children:s[t(461)]})]})},s[t(1161)]))})}),l.jsx(z[t(642)][t(1417)],{label:t(1845),children:l[t(1667)](z[t(1078)],{value:r[t(1334)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(1667)](z[t(642)][t(1417)],{label:"颜色",children:l[t(1200)](t(1574),{className:t(1466),children:[l[t(1667)](nt,{value:r[t(258)]||"#d9d9d9",onChange:s=>a({color:s[t(656)]()})}),l[t(1667)](z[t(1871)],{value:r[t(258)],onChange:s=>a({color:s[t(1875)][t(1161)]}),placeholder:t(1797),style:{width:100}})]})})]})]})};function Mr(e){return Array[c(1922)](e)}function tl(e){const n=c,t=new Set;return e[n(366)](x=>Object[n(964)](x)[n(366)](r=>t[n(505)](r))),Array[n(1256)](t)}function xl(e,n){const t=c;return e[t(1779)]((x,r)=>{const o=t,i=x[n],a=x[o(1388)];return{label:String(a??"项 "+(r+1)),value:typeof i=="string"||typeof i===o(536)?i:String(i)}})}function ol(e,n,t){const x=c;if(Mr(e)){if(n!=null&&t!=null){const r=e[x(871)](o=>o[n]===t);if(r)return r}return{}}return e}const Br=({status:e,onUpdate:n,onAppendToExpression:t})=>{const x=c,r=Ye(g=>g[x(1183)]),o=r[x(871)](g=>g.id===e[x(1738)]),i=o?Mr(o[x(1129)]):!1,a=o?ol(o[x(1129)],e[x(1543)],e.boundDatasetBindValue):{},u=Oo(a),s=g=>{const p=x,M=p(312)+g;t?t(M):n({expression:""+(e.expression||"")+M})},d=g=>{n({boundDatasetId:g??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=g=>{n({boundDatasetBindCode:g??null,boundDatasetBindValue:null})},b=g=>{n({boundDatasetBindValue:g??null})},h=o&&i?tl(o[x(1129)]):[],v=o&&i&&e[x(1543)]?xl(o[x(1129)],e[x(1543)]):[];return l[x(1200)](l[x(990)],{children:[l[x(1667)](z[x(642)].Item,{label:x(721),extra:r[x(586)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":x(740),children:l[x(1667)](z[x(1359)],{allowClear:!0,placeholder:r[x(586)]===0?"暂无数据集,请打开「数据池」添加":x(950),value:e.boundDatasetId??void 0,options:r[x(1779)](g=>({label:g[x(1388)],value:g.id})),onChange:d})}),o&&i&&l.jsxs(l[x(990)],{children:[l.jsx(z[x(642)][x(1417)],{label:x(813),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[x(1667)](z.Select,{allowClear:!0,placeholder:x(1289),value:e[x(1543)]??void 0,options:h[x(1779)](g=>({label:g,value:g})),onChange:f})}),e[x(1543)]&&l.jsx(z[x(642)][x(1417)],{label:x(630),extra:"选择该字段对应的具体值以定位数据项",children:l[x(1667)](z[x(1359)],{allowClear:!0,placeholder:x(693),value:e[x(1365)]??void 0,options:v,onChange:b})})]}),u[x(586)]>0&&l[x(1667)](z[x(642)][x(1417)],{label:x(818),children:l.jsx(z[x(1220)],{size:[4,4],wrap:!0,children:u[x(1779)](g=>l[x(1667)](z.Tag,{className:x(1488),onClick:()=>s(g),children:x(312)+g},g))})})]})},Dr=({material:e,onSave:n})=>{const t=c;switch(e[t(954)]){case t(581):return l[t(1667)](Qs,{material:e,onSave:n});case"IMAGE":return l.jsx($s,{material:e,onSave:n});case t(1167):return l[t(1667)](nl,{material:e,onSave:n});default:return l[t(1667)]("div",{className:"text-center text-gray-400 py-8",children:t(1487)})}},{Panel:Lr}=z[c(1351)],{TextArea:rl}=z[c(1871)],il=({node:e,updateNode:n,materials:t})=>{const x=c,r=t[x(917)](f=>f[x(954)]!==x(457)||!f.config?.[x(459)]),o=(f,b)=>{const h=x,v=e[h(882)]?.[h(1779)](g=>{const p=h;return g.id===f?{...g,contentInfo:{...g[p(889)],statusList:b}}:g});n(e.id,{children:v})},i=f=>{const b=x,h=e[b(882)]?.[b(871)](g=>g.id===f);if(!h)return;const v={id:ve.nanoid(),name:"状态"+(h.contentInfo[b(1378)][b(586)]+1),expression:h[b(889)][b(1378)][b(586)]===0?b(1433):b(1121),material:{...r[0],id:ve[b(1239)]()},boundDatasetId:null};o(f,[...h[b(889)][b(1378)],v])},a=(f,b)=>{const h=x,v=e[h(882)]?.[h(871)](p=>p.id===f);if(!v)return;const g=v.contentInfo[h(1378)].filter(p=>p.id!==b);o(f,g)},u=(f,b,h)=>{const v=x,g=e.children?.find(M=>M.id===f);if(!g)return;const p=g[v(889)][v(1378)][v(1779)](M=>M.id===b?{...M,...h}:M);o(f,p)},s=(f,b,h)=>{const v=x,g=e[v(882)]?.[v(871)](m=>m.id===f);if(!g)return;const p=g[v(889)][v(1378)][v(1e3)](m=>m.id===b);if(p===-1)return;const M=[...g[v(889)][v(1378)]];h==="up"&&p>0?[M[p],M[p-1]]=[M[p-1],M[p]]:h==="down"&&p<M[v(586)]-1&&([M[p],M[p+1]]=[M[p+1],M[p]]),o(f,M)},d=(f,b,h)=>{const v=x,g=t[v(871)](p=>p.id===h);g&&u(f,b,{material:{...g,id:ve[v(1239)]()}})};return l[x(1200)](x(1574),{className:x(1093),children:[l[x(1667)](x(1574),{className:x(637),children:l[x(1200)](x(1574),{className:x(1881),children:[l[x(1667)](x(1246),{children:x(475)}),":为每个子节点配置多个状态和绑定"]})}),l.jsx(z[x(1351)],{ghost:!0,children:e.children?.[x(1779)]((f,b)=>l[x(1667)](Lr,{header:l[x(1200)](x(1574),{className:x(1867),children:[l.jsxs(x(1627),{className:"font-medium text-sm",children:[x(1070),b+1]}),l.jsxs(z[x(239)],{color:x(1262),style:{fontSize:x(1606),padding:x(1052)},children:[f[x(889)][x(1378)][x(586)],x(1127)]})]}),children:l[x(1200)](x(1574),{className:x(923),children:[l.jsxs(x(1574),{className:"flex justify-between items-center mb-3",children:[l[x(1667)](x(1627),{className:x(1570),children:x(1158)}),l[x(1667)](z[x(978)],{type:x(526),size:x(1715),icon:l[x(1667)](le[x(1087)],{}),onClick:()=>i(f.id),children:x(641)})]}),f[x(889)][x(1378)].length===0?l[x(1667)]("div",{className:x(1299),children:x(1393)}):l[x(1667)](z[x(1351)],{ghost:!0,children:f.contentInfo[x(1378)].map((h,v)=>l[x(1667)](Lr,{header:l[x(1200)](x(1574),{className:x(1466),children:[l.jsx(x(1627),{className:"text-xs text-gray-400 w-5",children:v+1}),l[x(1667)](x(1627),{className:x(1958),children:h.name}),l[x(1667)](z.Tag,{color:x(1729),className:"text-xs",children:h.material[x(954)]})]}),extra:l[x(1200)](z[x(1220)],{size:x(1715),onClick:g=>g[x(1440)](),children:[l[x(1667)](z[x(978)],{type:"text",size:x(1715),icon:l.jsx(le.ArrowUpOutlined,{}),disabled:v===0,onClick:g=>{g[x(1440)](),s(f.id,h.id,"up")}}),l[x(1667)](z[x(978)],{type:"text",size:x(1715),icon:l[x(1667)](le[x(1407)],{}),disabled:v===f[x(889)][x(1378)].length-1,onClick:g=>{const p=x;g[p(1440)](),s(f.id,h.id,p(1147))}}),l[x(1667)](z[x(978)],{type:x(875),size:x(1715),danger:!0,icon:l[x(1667)](le[x(521)],{}),onClick:g=>{g.stopPropagation(),a(f.id,h.id)}})]}),children:l[x(1200)](z.Form,{layout:x(1056),children:[l[x(1667)](z[x(642)][x(1417)],{label:x(1648),children:l.jsx(z[x(1871)],{value:h[x(1388)],onChange:g=>u(f.id,h.id,{name:g[x(1875)][x(1161)]}),placeholder:x(1496)})}),l[x(1667)](Br,{status:h,onUpdate:g=>u(f.id,h.id,g)}),l[x(1667)](z[x(642)].Item,{label:x(945),help:"单参数 data(对象),须 return true/false;测点数组按 paramsCode 合并进 data。",children:l[x(1667)](rl,{value:h.expression,onChange:g=>u(f.id,h.id,{expression:g[x(1875)][x(1161)]}),rows:3,placeholder:"return true;"})}),l[x(1667)](z[x(642)][x(1417)],{label:x(166),children:l[x(1200)](x(1574),{className:x(1466),children:[l[x(1667)](z.Tag,{color:x(1262),children:h[x(1742)][x(1388)]}),l.jsx(z[x(239)],{color:x(1729),children:h[x(1742)][x(954)]}),l[x(1667)](z[x(1359)],{placeholder:"选择新物料",style:{width:150},value:void 0,onChange:g=>g&&d(f.id,h.id,g),options:r[x(1779)](g=>({value:g.id,label:g.name+" ("+g.type+")"}))})]})}),l[x(1667)](z[x(1941)],{style:{margin:x(569)}}),l[x(1200)](x(1574),{className:"bg-gray-50 rounded-lg p-3 border border-gray-200",children:[l.jsxs(x(1574),{className:x(572),children:[l.jsx(x(1627),{className:x(710),children:x(1536)}),l[x(1667)](z[x(239)],{children:h[x(1742)][x(1388)]})]}),l.jsx(Dr,{material:h[x(1742)],onSave:g=>{const p=x,M={...h[p(1742)],...g};u(f.id,h.id,{material:M})}})]})]})},h.id))})]})},f.id))})]})};function Ae(e){const n=c;if(typeof e===n(816)||typeof e=="number")return""+e;let t="";if(Array.isArray(e))for(let x=0,r;x<e[n(586)];x++)(r=Ae(e[x]))!==""&&(t+=(t&&" ")+r);else for(let x in e)e[x]&&(t+=(t&&" ")+x);return t}var al={value:()=>{}};function f0(){const e=c;for(var n=0,t=arguments.length,x={},r;n<t;++n){if(!(r=arguments[n]+"")||r in x||/[\s.]/[e(892)](r))throw new Error(e(1065)+r);x[r]=[]}return new b0(x)}function b0(e){this._=e}function cl(e,n){const t=c;return e[t(1826)]()[t(1551)](/^|\s+/).map(function(x){const r=t;var o="",i=x[r(1836)](".");if(i>=0&&(o=x.slice(i+1),x=x.slice(0,i)),x&&!n[r(1885)](x))throw new Error(r(1532)+x);return{type:x,name:o}})}b0.prototype=f0[c(502)]={constructor:b0,on:function(e,n){const t=c;var x=this._,r=cl(e+"",x),o,i=-1,a=r[t(586)];if(arguments[t(586)]<2){for(;++i<a;)if((o=(e=r[i])[t(954)])&&(o=sl(x[o],e[t(1388)])))return o;return}if(n!=null&&typeof n!==t(1151))throw new Error(t(1312)+n);for(;++i<a;)if(o=(e=r[i])[t(954)])x[o]=Nr(x[o],e[t(1388)],n);else if(n==null)for(o in x)x[o]=Nr(x[o],e[t(1388)],null);return this},copy:function(){const e=c;var n={},t=this._;for(var x in t)n[x]=t[x][e(1562)]();return new b0(n)},call:function(e,n){const t=c;if((o=arguments[t(586)]-2)>0)for(var x=new Array(o),r=0,o,i;r<o;++r)x[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw new Error(t(1532)+e);for(i=this._[e],r=0,o=i[t(586)];r<o;++r)i[r][t(1161)].apply(n,x)},apply:function(e,n,t){const x=c;if(!this._[x(1885)](e))throw new Error(x(1532)+e);for(var r=this._[e],o=0,i=r[x(586)];o<i;++o)r[o][x(1161)][x(242)](n,t)}};function sl(e,n){const t=c;for(var x=0,r=e[t(586)],o;x<r;++x)if((o=e[x])[t(1388)]===n)return o[t(1161)]}function Nr(e,n,t){const x=c;for(var r=0,o=e.length;r<o;++r)if(e[r][x(1388)]===n){e[r]=al,e=e[x(1562)](0,r).concat(e[x(1562)](r+1));break}return t!=null&&e.push({name:n,value:t}),e}var Mx="http://www.w3.org/1999/xhtml";const Sr={svg:"http://www.w3.org/2000/svg",xhtml:Mx,xlink:c(1343),xml:c(1943),xmlns:"http://www.w3.org/2000/xmlns/"};function h0(e){const n=c;var t=e+="",x=t[n(1836)](":");return x>=0&&(t=e[n(1562)](0,x))!==n(1273)&&(e=e[n(1562)](x+1)),Sr[n(1885)](t)?{space:Sr[t],local:e}:e}function ll(e){return function(){const n=_0x4b9b;var t=this.ownerDocument,x=this[n(458)];return x===Mx&&t[n(270)][n(458)]===Mx?t[n(1564)](e):t[n(275)](x,e)}}function dl(e){return function(){const n=_0x4b9b;return this.ownerDocument[n(275)](e.space,e[n(487)])}}function kr(e){var n=h0(e);return(n.local?dl:ll)(n)}function ul(){}function Bx(e){return e==null?ul:function(){return this[_0x4b9b(713)](e)}}function fl(e){const n=c;typeof e!==n(1151)&&(e=Bx(e));for(var t=this[n(354)],x=t[n(586)],r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i.length,u=r[o]=new Array(a),s,d,f=0;f<a;++f)(s=i[f])&&(d=e[n(211)](s,s[n(1882)],f,i))&&(n(1882)in s&&(d.__data__=s[n(1882)]),u[f]=d);return new qe(r,this[n(617)])}function bl(e){const n=c;return e==null?[]:Array[n(1922)](e)?e:Array[n(1256)](e)}function hl(){return[]}function Ir(e){return e==null?hl:function(){return this[_0x4b9b(1266)](e)}}function gl(e){return function(){return bl(e[_0x4b9b(242)](this,arguments))}}function yl(e){const n=c;typeof e=="function"?e=gl(e):e=Ir(e);for(var t=this[n(354)],x=t.length,r=[],o=[],i=0;i<x;++i)for(var a=t[i],u=a[n(586)],s,d=0;d<u;++d)(s=a[d])&&(r[n(177)](e[n(211)](s,s.__data__,d,a)),o[n(177)](s));return new qe(r,o)}function Pr(e){return function(){return this.matches(e)}}function Ar(e){return function(n){return n[_0x4b9b(1904)](e)}}var ml=Array[c(502)].find;function wl(e){return function(){const n=_0x4b9b;return ml[n(211)](this[n(882)],e)}}function vl(){return this[c(1494)]}function pl(e){const n=c;return this[n(1380)](e==null?vl:wl(typeof e===n(1151)?e:Ar(e)))}var zl=Array[c(502)][c(917)];function Cl(){const e=c;return Array[e(1256)](this[e(882)])}function Ml(e){return function(){const n=_0x4b9b;return zl[n(211)](this[n(882)],e)}}function Bl(e){return this[c(263)](e==null?Cl:Ml(typeof e=="function"?e:Ar(e)))}function Dl(e){const n=c;typeof e!="function"&&(e=Pr(e));for(var t=this[n(354)],x=t[n(586)],r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i[n(586)],u=r[o]=[],s,d=0;d<a;++d)(s=i[d])&&e[n(211)](s,s[n(1882)],d,i)&&u[n(177)](s);return new qe(r,this[n(617)])}function jr(e){return new Array(e.length)}function Ll(){const e=c;return new qe(this[e(1544)]||this._groups[e(1779)](jr),this[e(617)])}function g0(e,n){const t=c;this.ownerDocument=e[t(1763)],this[t(458)]=e[t(458)],this[t(960)]=null,this[t(845)]=e,this.__data__=n}g0.prototype={constructor:g0,appendChild:function(e){const n=c;return this[n(845)].insertBefore(e,this[n(960)])},insertBefore:function(e,n){const t=c;return this[t(845)][t(1880)](e,n)},querySelector:function(e){const n=c;return this[n(845)][n(713)](e)},querySelectorAll:function(e){const n=c;return this._parent[n(1266)](e)}};function Nl(e){return function(){return e}}function Sl(e,n,t,x,r,o){const i=c;for(var a=0,u,s=n.length,d=o[i(586)];a<d;++a)(u=n[a])?(u[i(1882)]=o[a],x[a]=u):t[a]=new g0(e,o[a]);for(;a<s;++a)(u=n[a])&&(r[a]=u)}function kl(e,n,t,x,r,o,i){const a=c;var u,s,d=new Map,f=n[a(586)],b=o[a(586)],h=new Array(f),v;for(u=0;u<f;++u)(s=n[u])&&(h[u]=v=i[a(211)](s,s[a(1882)],u,n)+"",d.has(v)?r[u]=s:d[a(901)](v,s));for(u=0;u<b;++u)v=i.call(e,o[u],u,o)+"",(s=d[a(1450)](v))?(x[u]=s,s[a(1882)]=o[u],d[a(567)](v)):t[u]=new g0(e,o[u]);for(u=0;u<f;++u)(s=n[u])&&d[a(1450)](h[u])===s&&(r[u]=s)}function Il(e){return e[c(1882)]}function Pl(e,n){const t=c;if(!arguments[t(586)])return Array[t(1256)](this,Il);var x=n?kl:Sl,r=this[t(617)],o=this[t(354)];typeof e!==t(1151)&&(e=Nl(e));for(var i=o[t(586)],a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var f=r[d],b=o[d],h=b[t(586)],v=Al(e[t(211)](f,f&&f.__data__,d,r)),g=v[t(586)],p=u[d]=new Array(g),M=a[d]=new Array(g),m=s[d]=new Array(h);x(f,b,p,M,m,v,n);for(var w=0,y=0,C,I;w<g;++w)if(C=p[w]){for(w>=y&&(y=w+1);!(I=M[y])&&++y<g;);C[t(960)]=I||null}}return a=new qe(a,r),a[t(1544)]=u,a._exit=s,a}function Al(e){const n=c;return typeof e===n(1057)&&n(586)in e?e:Array[n(1256)](e)}function jl(){const e=c;return new qe(this[e(1968)]||this[e(354)][e(1779)](jr),this[e(617)])}function El(e,n,t){const x=c;var r=this[x(726)](),o=this,i=this[x(1566)]();return typeof e===x(1151)?(r=e(r),r&&(r=r[x(780)]())):r=r[x(969)](e+""),n!=null&&(o=n(o),o&&(o=o.selection())),t==null?i.remove():t(i),r&&o?r[x(1792)](o)[x(1140)]():o}function Yl(e){const n=c;for(var t=e[n(780)]?e[n(780)]():e,x=this._groups,r=t[n(354)],o=x[n(586)],i=r[n(586)],a=Math[n(1291)](o,i),u=new Array(o),s=0;s<a;++s)for(var d=x[s],f=r[s],b=d.length,h=u[s]=new Array(b),v,g=0;g<b;++g)(v=d[g]||f[g])&&(h[g]=v);for(;s<o;++s)u[s]=x[s];return new qe(u,this[n(617)])}function Ul(){const e=c;for(var n=this[e(354)],t=-1,x=n[e(586)];++t<x;)for(var r=n[t],o=r[e(586)]-1,i=r[o],a;--o>=0;)(a=r[o])&&(i&&a[e(1319)](i)^4&&i.parentNode[e(1880)](a,i),i=a);return this}function Ol(e){const n=c;e||(e=Gl);function t(b,h){const v=_0x4b9b;return b&&h?e(b.__data__,h[v(1882)]):!b-!h}for(var x=this[n(354)],r=x[n(586)],o=new Array(r),i=0;i<r;++i){for(var a=x[i],u=a[n(586)],s=o[i]=new Array(u),d,f=0;f<u;++f)(d=a[f])&&(s[f]=d);s.sort(t)}return new qe(o,this._parents)[n(1140)]()}function Gl(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function Tl(){const e=c;var n=arguments[0];return arguments[0]=this,n[e(242)](null,arguments),this}function Hl(){return Array[c(1256)](this)}function Vl(){const e=c;for(var n=this[e(354)],t=0,x=n[e(586)];t<x;++t)for(var r=n[t],o=0,i=r.length;o<i;++o){var a=r[o];if(a)return a}return null}function ql(){let e=0;for(const n of this)++e;return e}function Wl(){return!this[c(742)]()}function Xl(e){const n=c;for(var t=this[n(354)],x=0,r=t[n(586)];x<r;++x)for(var o=t[x],i=0,a=o[n(586)],u;i<a;++i)(u=o[i])&&e.call(u,u[n(1882)],i,o);return this}function Kl(e){return function(){this[_0x4b9b(348)](e)}}function Zl(e){return function(){const n=_0x4b9b;this[n(560)](e[n(1088)],e[n(487)])}}function Rl(e,n){return function(){this[_0x4b9b(202)](e,n)}}function Jl(e,n){return function(){const t=_0x4b9b;this[t(1009)](e.space,e[t(487)],n)}}function _l(e,n){return function(){const t=_0x4b9b;var x=n[t(242)](this,arguments);x==null?this[t(348)](e):this[t(202)](e,x)}}function Fl(e,n){return function(){const t=_0x4b9b;var x=n[t(242)](this,arguments);x==null?this[t(560)](e[t(1088)],e[t(487)]):this[t(1009)](e[t(1088)],e[t(487)],x)}}function Ql(e,n){const t=c;var x=h0(e);if(arguments[t(586)]<2){var r=this[t(742)]();return x.local?r.getAttributeNS(x[t(1088)],x.local):r[t(1396)](x)}return this[t(1442)]((n==null?x.local?Zl:Kl:typeof n===t(1151)?x[t(487)]?Fl:_l:x[t(487)]?Jl:Rl)(x,n))}function Er(e){const n=c;return e[n(1763)]&&e.ownerDocument[n(988)]||e.document&&e||e[n(988)]}function $l(e){return function(){const n=_0x4b9b;this[n(571)][n(1701)](e)}}function ed(e,n,t){return function(){const x=_0x4b9b;this[x(571)][x(1133)](e,n,t)}}function nd(e,n,t){return function(){const x=_0x4b9b;var r=n[x(242)](this,arguments);r==null?this[x(571)][x(1701)](e):this[x(571)][x(1133)](e,r,t)}}function td(e,n,t){const x=c;return arguments[x(586)]>1?this[x(1442)]((n==null?$l:typeof n===x(1151)?nd:ed)(e,n,t??"")):tt(this[x(742)](),e)}function tt(e,n){const t=c;return e[t(571)].getPropertyValue(n)||Er(e).getComputedStyle(e,null)[t(1196)](n)}function xd(e){return function(){delete this[e]}}function od(e,n){return function(){this[e]=n}}function rd(e,n){return function(){var x=n[_0x4b9b(242)](this,arguments);x==null?delete this[e]:this[e]=x}}function id(e,n){const t=c;return arguments.length>1?this[t(1442)]((n==null?xd:typeof n===t(1151)?rd:od)(e,n)):this.node()[e]}function Yr(e){const n=c;return e[n(1826)]()[n(1551)](/^|\s+/)}function Dx(e){return e[c(1108)]||new Ur(e)}function Ur(e){const n=c;this[n(1386)]=e,this[n(982)]=Yr(e[n(1396)](n(963))||"")}Ur[c(502)]={add:function(e){const n=c;var t=this[n(982)][n(1836)](e);t<0&&(this._names[n(177)](e),this[n(1386)][n(202)](n(963),this[n(982)][n(1856)](" ")))},remove:function(e){const n=c;var t=this[n(982)][n(1836)](e);t>=0&&(this[n(982)][n(1744)](t,1),this[n(1386)][n(202)](n(963),this[n(982)].join(" ")))},contains:function(e){return this[c(982)].indexOf(e)>=0}};function Or(e,n){const t=c;for(var x=Dx(e),r=-1,o=n.length;++r<o;)x[t(505)](n[r])}function Gr(e,n){const t=c;for(var x=Dx(e),r=-1,o=n[t(586)];++r<o;)x[t(1898)](n[r])}function ad(e){return function(){Or(this,e)}}function cd(e){return function(){Gr(this,e)}}function sd(e,n){return function(){(n.apply(this,arguments)?Or:Gr)(this,e)}}function ld(e,n){const t=c;var x=Yr(e+"");if(arguments[t(586)]<2){for(var r=Dx(this[t(742)]()),o=-1,i=x[t(586)];++o<i;)if(!r[t(1652)](x[o]))return!1;return!0}return this[t(1442)]((typeof n===t(1151)?sd:n?ad:cd)(x,n))}function dd(){this.textContent=""}function ud(e){return function(){const n=_0x4b9b;this[n(204)]=e}}function fd(e){return function(){const n=_0x4b9b;var t=e[n(242)](this,arguments);this[n(204)]=t??""}}function bd(e){const n=c;return arguments[n(586)]?this[n(1442)](e==null?dd:(typeof e=="function"?fd:ud)(e)):this[n(742)]()[n(204)]}function hd(){const e=c;this[e(782)]=""}function gd(e){return function(){this.innerHTML=e}}function yd(e){return function(){const n=_0x4b9b;var t=e[n(242)](this,arguments);this[n(782)]=t??""}}function md(e){const n=c;return arguments.length?this[n(1442)](e==null?hd:(typeof e===n(1151)?yd:gd)(e)):this[n(742)]()[n(782)]}function wd(){const e=c;this[e(887)]&&this[e(1902)].appendChild(this)}function vd(){return this.each(wd)}function pd(){const e=c;this[e(967)]&&this[e(1902)].insertBefore(this,this[e(1902)][e(146)])}function zd(){return this[c(1442)](pd)}function Cd(e){const n=c;var t=typeof e=="function"?e:kr(e);return this[n(1380)](function(){const x=n;return this[x(820)](t[x(242)](this,arguments))})}function Md(){return null}function Bd(e,n){const t=c;var x=typeof e===t(1151)?e:kr(e),r=n==null?Md:typeof n===t(1151)?n:Bx(n);return this[t(1380)](function(){const o=t;return this[o(1880)](x[o(242)](this,arguments),r.apply(this,arguments)||null)})}function Dd(){var e=this.parentNode;e&&e.removeChild(this)}function Ld(){return this[c(1442)](Dd)}function Nd(){const e=c;var n=this[e(898)](!1),t=this[e(1902)];return t?t[e(1880)](n,this[e(887)]):n}function Sd(){const e=c;var n=this[e(898)](!0),t=this[e(1902)];return t?t[e(1880)](n,this.nextSibling):n}function kd(e){return this[c(1380)](e?Sd:Nd)}function Id(e){const n=c;return arguments.length?this[n(659)]("__data__",e):this[n(742)]()[n(1882)]}function Pd(e){return function(n){const t=_0x4b9b;e.call(this,n,this[t(1882)])}}function Ad(e){const n=c;return e[n(1826)]()[n(1551)](/^|\s+/)[n(1779)](function(t){const x=n;var r="",o=t[x(1836)](".");return o>=0&&(r=t[x(1562)](o+1),t=t[x(1562)](0,o)),{type:t,name:r}})}function jd(e){return function(){const n=_0x4b9b;var t=this.__on;if(t){for(var x=0,r=-1,o=t[n(586)],i;x<o;++x)i=t[x],(!e[n(954)]||i.type===e[n(954)])&&i[n(1388)]===e.name?this[n(1240)](i[n(954)],i[n(596)],i[n(544)]):t[++r]=i;++r?t[n(586)]=r:delete this[n(1831)]}}}function Ed(e,n,t){return function(){const x=_0x4b9b;var r=this[x(1831)],o,i=Pd(n);if(r){for(var a=0,u=r[x(586)];a<u;++a)if((o=r[a]).type===e[x(954)]&&o[x(1388)]===e[x(1388)]){this.removeEventListener(o.type,o[x(596)],o.options),this.addEventListener(o[x(954)],o[x(596)]=i,o[x(544)]=t),o.value=n;return}}this[x(1947)](e[x(954)],i,t),o={type:e[x(954)],name:e[x(1388)],value:n,listener:i,options:t},r?r.push(o):this[x(1831)]=[o]}}function Yd(e,n,t){const x=c;var r=Ad(e+""),o,i=r[x(586)],a;if(arguments[x(586)]<2){var u=this[x(742)]()[x(1831)];if(u){for(var s=0,d=u[x(586)],f;s<d;++s)for(o=0,f=u[s];o<i;++o)if((a=r[o])[x(954)]===f[x(954)]&&a[x(1388)]===f[x(1388)])return f.value}return}for(u=n?Ed:jd,o=0;o<i;++o)this.each(u(r[o],n,t));return this}function Tr(e,n,t){const x=c;var r=Er(e),o=r[x(483)];typeof o===x(1151)?o=new o(n,t):(o=r[x(860)][x(1271)]("Event"),t?(o[x(1027)](n,t.bubbles,t.cancelable),o.detail=t[x(922)]):o[x(1027)](n,!1,!1)),e.dispatchEvent(o)}function Ud(e,n){return function(){return Tr(this,e,n)}}function Od(e,n){return function(){return Tr(this,e,n.apply(this,arguments))}}function Gd(e,n){const t=c;return this.each((typeof n===t(1151)?Od:Ud)(e,n))}function*Td(){const e=c;for(var n=this[e(354)],t=0,x=n[e(586)];t<x;++t)for(var r=n[t],o=0,i=r.length,a;o<i;++o)(a=r[o])&&(yield a)}var Hr=[null];function qe(e,n){const t=c;this._groups=e,this[t(617)]=n}function Lt(){const e=c;return new qe([[document[e(270)]]],Hr)}function Hd(){return this}qe[c(502)]=Lt.prototype={constructor:qe,select:fl,selectAll:yl,selectChild:pl,selectChildren:Bl,filter:Dl,data:Pl,enter:Ll,exit:jl,join:El,merge:Yl,selection:Hd,order:Ul,sort:Ol,call:Tl,nodes:Hl,node:Vl,size:ql,empty:Wl,each:Xl,attr:Ql,style:td,property:id,classed:ld,text:bd,html:md,raise:vd,lower:zd,append:Cd,insert:Bd,remove:Ld,clone:kd,datum:Id,on:Yd,dispatch:Gd,[Symbol.iterator]:Td};function We(e){const n=c;return typeof e===n(816)?new qe([[document[n(713)](e)]],[document[n(270)]]):new qe([[e]],Hr)}function Vd(e){const n=c;let t;for(;t=e[n(1168)];)e=t;return e}function Fe(e,n){const t=c;if(e=Vd(e),n===void 0&&(n=e[t(1222)]),n){var x=n[t(601)]||n;if(x[t(539)]){var r=x[t(539)]();return r.x=e[t(1669)],r.y=e[t(302)],r=r[t(855)](n.getScreenCTM()[t(1605)]()),[r.x,r.y]}if(n[t(1704)]){var o=n[t(1704)]();return[e[t(1669)]-o[t(1460)]-n.clientLeft,e[t(302)]-o[t(534)]-n.clientTop]}}return[e[t(1811)],e[t(1462)]]}const qd={passive:!1},Nt={capture:!0,passive:!1};function Lx(e){e[c(797)]()}function xt(e){const n=c;e.preventDefault(),e[n(797)]()}function Vr(e){const n=c;var t=e[n(860)][n(270)],x=We(e).on(n(1525),xt,Nt);n(418)in t?x.on("selectstart.drag",xt,Nt):(t[n(489)]=t[n(571)][n(514)],t.style[n(514)]=n(1598))}function qr(e,n){const t=c;var x=e[t(860)].documentElement,r=We(e).on(t(1525),null);n&&(r.on(t(1859),xt,Nt),setTimeout(function(){const o=t;r.on(o(1859),null)},0)),t(418)in x?r.on(t(537),null):(x[t(571)][t(514)]=x[t(489)],delete x.__noselect)}const y0=e=>()=>e;function Nx(e,{sourceEvent:n,subject:t,target:x,identifier:r,active:o,x:i,y:a,dx:u,dy:s,dispatch:d}){Object[c(547)](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:r,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:d}})}Nx.prototype.on=function(){const e=c;var n=this._.on[e(242)](this._,arguments);return n===this._?this:n};function Wd(e){const n=c;return!e[n(1137)]&&!e[n(1705)]}function Xd(){return this[c(1902)]}function Kd(e,n){return n??{x:e.x,y:e.y}}function Zd(){const e=c;return navigator[e(1746)]||e(1501)in this}function Wr(){const e=c;var n=Wd,t=Xd,x=Kd,r=Zd,o={},i=f0(e(750),e(921),e(935)),a=0,u,s,d,f,b=0;function h(C){const I=e;C.on(I(500),v)[I(917)](r).on(I(1610),M).on(I(1063),m,qd).on("touchend.drag touchcancel.drag",w)[I(571)](I(941),I(1598))[I(571)](I(1769),"rgba(0,0,0,0)")}function v(C,I){const Y=e;if(!(f||!n[Y(211)](this,C,I))){var O=y(this,t.call(this,C,I),C,I,Y(1253));O&&(We(C.view).on(Y(611),g,Nt).on(Y(1935),p,Nt),Vr(C[Y(1936)]),Lx(C),d=!1,u=C[Y(1669)],s=C.clientY,O(Y(750),C))}}function g(C){const I=e;if(xt(C),!d){var Y=C[I(1669)]-u,O=C[I(302)]-s;d=Y*Y+O*O>b}o[I(1253)](I(921),C)}function p(C){const I=e;We(C[I(1936)]).on(I(471),null),qr(C.view,d),xt(C),o[I(1253)](I(935),C)}function M(C,I){const Y=e;if(n[Y(211)](this,C,I)){var O=C[Y(636)],T=t[Y(211)](this,C,I),U=O[Y(586)],Q,X;for(Q=0;Q<U;++Q)(X=y(this,T,C,I,O[Q][Y(249)],O[Q]))&&(Lx(C),X(Y(750),C,O[Q]))}}function m(C){const I=e;var Y=C.changedTouches,O=Y[I(586)],T,U;for(T=0;T<O;++T)(U=o[Y[T][I(249)]])&&(xt(C),U(I(921),C,Y[T]))}function w(C){const I=e;var Y=C[I(636)],O=Y[I(586)],T,U;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),T=0;T<O;++T)(U=o[Y[T][I(249)]])&&(Lx(C),U(I(935),C,Y[T]))}function y(C,I,Y,O,T,U){const Q=e;var X=i[Q(1043)](),W=Fe(U||Y,I),G,N,B;if((B=x[Q(211)](C,new Nx("beforestart",{sourceEvent:Y,target:h,identifier:T,active:a,x:W[0],y:W[1],dx:0,dy:0,dispatch:X}),O))!=null)return G=B.x-W[0]||0,N=B.y-W[1]||0,function D(j,A,P){const Z=Q;var _=W,R;switch(j){case Z(750):o[T]=D,R=a++;break;case Z(935):delete o[T],--a;case Z(921):W=Fe(P||A,I),R=a;break}X[Z(211)](j,C,new Nx(j,{sourceEvent:A,subject:B,target:h,identifier:T,active:R,x:W[0]+G,y:W[1]+N,dx:W[0]-_[0],dy:W[1]-_[1],dispatch:X}),O)}}return h[e(917)]=function(C){const I=e;return arguments[I(586)]?(n=typeof C===I(1151)?C:y0(!!C),h):n},h.container=function(C){return arguments[e(586)]?(t=typeof C=="function"?C:y0(C),h):t},h.subject=function(C){const I=e;return arguments.length?(x=typeof C===I(1151)?C:y0(C),h):x},h[e(1224)]=function(C){return arguments[e(586)]?(r=typeof C=="function"?C:y0(!!C),h):r},h.on=function(){const C=e;var I=i.on[C(242)](i,arguments);return I===i?h:I},h.clickDistance=function(C){const I=e;return arguments[I(586)]?(b=(C=+C)*C,h):Math[I(874)](b)},h}function Sx(e,n,t){const x=c;e[x(502)]=n.prototype=t,t.constructor=e}function Xr(e,n){const t=c;var x=Object[t(827)](e[t(502)]);for(var r in n)x[r]=n[r];return x}function St(){}var kt=.7,m0=1/kt,ot=c(1545),It=c(355),rn=c(570),Rd=/^#([0-9a-f]{3,8})$/,Jd=new RegExp(c(769)+ot+","+ot+","+ot+c(1309)),_d=new RegExp(c(769)+rn+","+rn+","+rn+"\\)$"),Fd=new RegExp(c(333)+ot+","+ot+","+ot+","+It+c(1309)),Qd=new RegExp(c(333)+rn+","+rn+","+rn+","+It+c(1309)),$d=new RegExp(c(285)+It+","+rn+","+rn+"\\)$"),eu=new RegExp("^hsla\\("+It+","+rn+","+rn+","+It+c(1309)),Kr={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(St,En,{copy(e){const n=c;return Object.assign(new this[n(1263)],this,e)},displayable(){const e=c;return this[e(221)]()[e(1392)]()},hex:Zr,formatHex:Zr,formatHex8:nu,formatHsl:tu,formatRgb:Rr,toString:Rr});function Zr(){return this[c(221)]().formatHex()}function nu(){const e=c;return this[e(221)]()[e(589)]()}function tu(){const e=c;return $r(this)[e(1634)]()}function Rr(){return this[c(221)]().formatRgb()}function En(e){const n=c;var t,x;return e=(e+"")[n(1826)]()[n(634)](),(t=Rd.exec(e))?(x=t[1][n(586)],t=parseInt(t[1],16),x===6?Jr(t):x===3?new Te(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):x===8?w0(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):x===4?w0(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=Jd[n(772)](e))?new Te(t[1],t[2],t[3],1):(t=_d.exec(e))?new Te(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Fd.exec(e))?w0(t[1],t[2],t[3],t[4]):(t=Qd[n(772)](e))?w0(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=$d[n(772)](e))?Qr(t[1],t[2]/100,t[3]/100,1):(t=eu[n(772)](e))?Qr(t[1],t[2]/100,t[3]/100,t[4]):Kr[n(1885)](e)?Jr(Kr[e]):e===n(994)?new Te(NaN,NaN,NaN,0):null}function Jr(e){return new Te(e>>16&255,e>>8&255,e&255,1)}function w0(e,n,t,x){return x<=0&&(e=n=t=NaN),new Te(e,n,t,x)}function xu(e){const n=c;return e instanceof St||(e=En(e)),e?(e=e[n(221)](),new Te(e.r,e.g,e.b,e[n(553)])):new Te}function kx(e,n,t,x){return arguments.length===1?xu(e):new Te(e,n,t,x??1)}function Te(e,n,t,x){this.r=+e,this.g=+n,this.b=+t,this.opacity=+x}Sx(Te,kx,Xr(St,{brighter(e){const n=c;return e=e==null?m0:Math[n(1479)](m0,e),new Te(this.r*e,this.g*e,this.b*e,this[n(553)])},darker(e){const n=c;return e=e==null?kt:Math[n(1479)](kt,e),new Te(this.r*e,this.g*e,this.b*e,this[n(553)])},rgb(){return this},clamp(){const e=c;return new Te(Yn(this.r),Yn(this.g),Yn(this.b),v0(this[e(553)]))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_r,formatHex:_r,formatHex8:ou,formatRgb:Fr,toString:Fr}));function _r(){return"#"+Un(this.r)+Un(this.g)+Un(this.b)}function ou(){const e=c;return"#"+Un(this.r)+Un(this.g)+Un(this.b)+Un((isNaN(this.opacity)?1:this[e(553)])*255)}function Fr(){const e=c,n=v0(this[e(553)]);return""+e(n===1?1959:1344)+Yn(this.r)+", "+Yn(this.g)+", "+Yn(this.b)+(n===1?")":", "+n+")")}function v0(e){const n=c;return isNaN(e)?1:Math[n(1122)](0,Math[n(1291)](1,e))}function Yn(e){const n=c;return Math.max(0,Math[n(1291)](255,Math[n(846)](e)||0))}function Un(e){const n=c;return e=Yn(e),(e<16?"0":"")+e[n(1428)](16)}function Qr(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 $r(e){const n=c;if(e instanceof Qe)return new Qe(e.h,e.s,e.l,e[n(553)]);if(e instanceof St||(e=En(e)),!e)return new Qe;if(e instanceof Qe)return e;e=e[n(221)]();var t=e.r/255,x=e.g/255,r=e.b/255,o=Math[n(1291)](t,x,r),i=Math[n(1122)](t,x,r),a=NaN,u=i-o,s=(i+o)/2;return u?(t===i?a=(x-r)/u+(x<r)*6:x===i?a=(r-t)/u+2:a=(t-x)/u+4,u/=s<.5?i+o:2-i-o,a*=60):u=s>0&&s<1?0:a,new Qe(a,u,s,e[n(553)])}function ru(e,n,t,x){return arguments[c(586)]===1?$r(e):new Qe(e,n,t,x??1)}function Qe(e,n,t,x){this.h=+e,this.s=+n,this.l=+t,this.opacity=+x}Sx(Qe,ru,Xr(St,{brighter(e){const n=c;return e=e==null?m0:Math[n(1479)](m0,e),new Qe(this.h,this.s,this.l*e,this[n(553)])},darker(e){const n=c;return e=e==null?kt:Math[n(1479)](kt,e),new Qe(this.h,this.s,this.l*e,this[n(553)])},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,r=x+(x<.5?x:1-x)*t,o=2*x-r;return new Te(Ix(n>=240?n-240:n+120,o,r),Ix(n,o,r),Ix(n<120?n+240:n-120,o,r),this[e(553)])},clamp(){const e=c;return new Qe(ei(this.h),p0(this.s),p0(this.l),v0(this[e(553)]))},displayable(){const e=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[e(553)]&&this.opacity<=1},formatHsl(){const e=c,n=v0(this.opacity);return""+(n===1?"hsl(":e(791))+ei(this.h)+", "+p0(this.s)*100+e(1153)+p0(this.l)*100+"%"+(n===1?")":", "+n+")")}}));function ei(e){return e=(e||0)%360,e<0?e+360:e}function p0(e){return Math[c(1122)](0,Math.min(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 Px=e=>()=>e;function iu(e,n){return function(t){return e+t*n}}function au(e,n,t){const x=c;return e=Math[x(1479)](e,t),n=Math[x(1479)](n,t)-e,t=1/t,function(r){return Math[x(1479)](e+r*n,t)}}function cu(e){return(e=+e)==1?ni:function(n,t){return t-n?au(n,t,e):Px(isNaN(n)?t:n)}}function ni(e,n){var t=n-e;return t?iu(e,t):Px(isNaN(e)?n:e)}const z0=(function e(n){const t=c;var x=cu(n);function r(o,i){const a=_0x4b9b;var u=x((o=kx(o)).r,(i=kx(i)).r),s=x(o.g,i.g),d=x(o.b,i.b),f=ni(o.opacity,i[a(553)]);return function(b){const h=a;return o.r=u(b),o.g=s(b),o.b=d(b),o[h(553)]=f(b),o+""}}return r[t(172)]=e,r})(1);function su(e,n){const t=c;n||(n=[]);var x=e?Math.min(n[t(586)],e[t(586)]):0,r=n[t(1562)](),o;return function(i){for(o=0;o<x;++o)r[o]=e[o]*(1-i)+n[o]*i;return r}}function lu(e){return ArrayBuffer[c(825)](e)&&!(e instanceof DataView)}function du(e,n){const t=c;var x=n?n.length:0,r=e?Math[t(1291)](x,e[t(586)]):0,o=new Array(r),i=new Array(x),a;for(a=0;a<r;++a)o[a]=Pt(e[a],n[a]);for(;a<x;++a)i[a]=n[a];return function(u){for(a=0;a<r;++a)i[a]=o[a](u);return i}}function uu(e,n){var t=new Date;return e=+e,n=+n,function(x){return t[_0x4b9b(1499)](e*(1-x)+n*x),t}}function an(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function fu(e,n){const t=c;var x={},r={},o;(e===null||typeof e!="object")&&(e={}),(n===null||typeof n!==t(1057))&&(n={});for(o in n)o in e?x[o]=Pt(e[o],n[o]):r[o]=n[o];return function(i){for(o in x)r[o]=x[o](i);return r}}var Ax=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jx=new RegExp(Ax[c(385)],"g");function bu(e){return function(){return e}}function hu(e){return function(n){return e(n)+""}}function ti(e,n){const t=c;var x=Ax.lastIndex=jx[t(1973)]=0,r,o,i,a=-1,u=[],s=[];for(e=e+"",n=n+"";(r=Ax[t(772)](e))&&(o=jx[t(772)](n));)(i=o[t(1511)])>x&&(i=n[t(1562)](x,i),u[a]?u[a]+=i:u[++a]=i),(r=r[0])===(o=o[0])?u[a]?u[a]+=o:u[++a]=o:(u[++a]=null,s[t(177)]({i:a,x:an(r,o)})),x=jx[t(1973)];return x<n[t(586)]&&(i=n[t(1562)](x),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?hu(s[0].x):bu(n):(n=s[t(586)],function(d){const f=t;for(var b=0,h;b<n;++b)u[(h=s[b]).i]=h.x(d);return u[f(1856)]("")})}function Pt(e,n){const t=c;var x=typeof n,r;return n==null||x==="boolean"?Px(n):(x===t(536)?an:x===t(816)?(r=En(n))?(n=r,z0):ti:n instanceof En?z0:n instanceof Date?uu:lu(n)?su:Array[t(1922)](n)?du:typeof n[t(1339)]!==t(1151)&&typeof n[t(1428)]!="function"||isNaN(n)?fu:an)(e,n)}var xi=180/Math.PI,Ex={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function oi(e,n,t,x,r,o){const i=c;var a,u,s;return(a=Math[i(874)](e*e+n*n))&&(e/=a,n/=a),(s=e*t+n*x)&&(t-=e*s,x-=n*s),(u=Math[i(874)](t*t+x*x))&&(t/=u,x/=u,s/=u),e*x<n*t&&(e=-e,n=-n,s=-s,a=-a),{translateX:r,translateY:o,rotate:Math[i(219)](n,e)*xi,skewX:Math.atan(s)*xi,scaleX:a,scaleY:u}}var C0;function gu(e){const n=c,t=new(typeof DOMMatrix===n(1151)?DOMMatrix:WebKitCSSMatrix)(e+"");return t[n(1475)]?Ex:oi(t.a,t.b,t.c,t.d,t.e,t.f)}function yu(e){const n=c;return e==null||(C0||(C0=document.createElementNS("http://www.w3.org/2000/svg","g")),C0[n(202)](n(1879),e),!(e=C0[n(1879)][n(1624)][n(1395)]()))?Ex:(e=e[n(1420)],oi(e.a,e.b,e.c,e.d,e.e,e.f))}function ri(e,n,t,x){function r(s){const d=_0x4b9b;return s[d(586)]?s[d(1455)]()+" ":""}function o(s,d,f,b,h,v){const g=_0x4b9b;if(s!==f||d!==b){var p=h[g(177)](g(675),null,n,null,t);v[g(177)]({i:p-4,x:an(s,f)},{i:p-2,x:an(d,b)})}else(f||b)&&h[g(177)](g(675)+f+n+b+t)}function i(s,d,f,b){const h=_0x4b9b;s!==d?(s-d>180?d+=360:d-s>180&&(s+=360),b[h(177)]({i:f[h(177)](r(f)+h(1042),null,x)-2,x:an(s,d)})):d&&f[h(177)](r(f)+h(1042)+d+x)}function a(s,d,f,b){const h=_0x4b9b;s!==d?b.push({i:f[h(177)](r(f)+h(1315),null,x)-2,x:an(s,d)}):d&&f[h(177)](r(f)+"skewX("+d+x)}function u(s,d,f,b,h,v){const g=_0x4b9b;if(s!==f||d!==b){var p=h[g(177)](r(h)+g(1632),null,",",null,")");v[g(177)]({i:p-4,x:an(s,f)},{i:p-2,x:an(d,b)})}else(f!==1||b!==1)&&h[g(177)](r(h)+g(1632)+f+","+b+")")}return function(s,d){const f=_0x4b9b;var b=[],h=[];return s=e(s),d=e(d),o(s[f(976)],s.translateY,d.translateX,d[f(1668)],b,h),i(s[f(1195)],d[f(1195)],b,h),a(s[f(185)],d[f(185)],b,h),u(s[f(1279)],s[f(557)],d[f(1279)],d[f(557)],b,h),s=d=null,function(v){const g=f;for(var p=-1,M=h[g(586)],m;++p<M;)b[(m=h[p]).i]=m.x(v);return b.join("")}}}var mu=ri(gu,c(809),"px)",c(1490)),wu=ri(yu,", ",")",")"),vu=1e-12;function ii(e){return((e=Math[c(1141)](e))+1/e)/2}function pu(e){return((e=Math[c(1141)](e))-1/e)/2}function zu(e){return((e=Math[c(1141)](2*e))-1)/(e+1)}const M0=(function e(n,t,x){const r=c;function o(i,a){const u=_0x4b9b;var s=i[0],d=i[1],f=i[2],b=a[0],h=a[1],v=a[2],g=b-s,p=h-d,M=g*g+p*p,m,w;if(M<vu)w=Math[u(870)](v/f)/n,m=function(T){const U=u;return[s+T*g,d+T*p,f*Math[U(1141)](n*T*w)]};else{var y=Math[u(874)](M),C=(v*v-f*f+x*M)/(2*f*t*y),I=(v*v-f*f-x*M)/(2*v*t*y),Y=Math[u(870)](Math[u(874)](C*C+1)-C),O=Math[u(870)](Math[u(874)](I*I+1)-I);w=(O-Y)/n,m=function(T){var U=T*w,Q=ii(Y),X=f/(t*y)*(Q*zu(n*U+Y)-pu(Y));return[s+X*g,d+X*p,f*Q/ii(n*U+Y)]}}return m[u(558)]=w*1e3*n/Math[u(443)],m}return o[r(803)]=function(i){var a=Math.max(.001,+i),u=a*a,s=u*u;return e(a,u,s)},o})(Math[c(443)],2,4);var rt=0,At=0,jt=0,ai=1e3,B0,Et,D0=0,On=0,L0=0,Yt=typeof performance===c(1057)&&performance[c(1832)]?performance:Date,ci=typeof window===c(1057)&&window[c(1846)]?window[c(1846)][c(998)](window):function(e){setTimeout(e,17)};function Yx(){return On||(ci(Cu),On=Yt.now()+L0)}function Cu(){On=0}function N0(){const e=c;this[e(1589)]=this._time=this[e(960)]=null}N0[c(502)]=si[c(502)]={constructor:N0,restart:function(e,n,t){const x=c;if(typeof e!==x(1151))throw new TypeError(x(1097));t=(t==null?Yx():+t)+(n==null?0:+n),!this[x(960)]&&Et!==this&&(Et?Et[x(960)]=this:B0=this,Et=this),this[x(1589)]=e,this[x(1484)]=t,Ux()},stop:function(){const e=c;this._call&&(this[e(1589)]=null,this[e(1484)]=1/0,Ux())}};function si(e,n,t){const x=c;var r=new N0;return r[x(1760)](e,n,t),r}function Mu(){const e=c;Yx(),++rt;for(var n=B0,t;n;)(t=On-n[e(1484)])>=0&&n[e(1589)][e(211)](void 0,t),n=n[e(960)];--rt}function li(){On=(D0=Yt[c(1832)]())+L0,rt=At=0;try{Mu()}finally{rt=0,Du(),On=0}}function Bu(){var n=Yt[c(1832)](),t=n-D0;t>ai&&(L0-=t,D0=n)}function Du(){const e=c;for(var n,t=B0,x,r=1/0;t;)t[e(1589)]?(r>t[e(1484)]&&(r=t[e(1484)]),n=t,t=t[e(960)]):(x=t[e(960)],t[e(960)]=null,t=n?n._next=x:B0=x);Et=n,Ux(r)}function Ux(e){const n=c;if(!rt){At&&(At=clearTimeout(At));var t=e-On;t>24?(e<1/0&&(At=setTimeout(li,e-Yt[n(1832)]()-L0)),jt&&(jt=clearInterval(jt))):(jt||(D0=Yt[n(1832)](),jt=setInterval(Bu,ai)),rt=1,ci(li))}}function di(e,n,t){const x=c;var r=new N0;return n=n==null?0:+n,r[x(1760)](o=>{r[x(1521)](),e(o+n)},n,t),r}var Lu=f0("start",c(935),c(343),c(1217)),Nu=[],ui=0,fi=1,Ox=2,S0=3,bi=4,Gx=5,k0=6;function I0(e,n,t,x,r,o){const i=c;var a=e[i(1477)];if(!a)e[i(1477)]={};else if(t in a)return;Su(e,t,{name:n,index:x,group:r,on:Lu,tween:Nu,time:o[i(1225)],delay:o[i(639)],duration:o[i(558)],ease:o[i(1925)],timer:null,state:ui})}function Tx(e,n){const t=c;var x=$e(e,n);if(x[t(1375)]>ui)throw new Error(t(1612));return x}function cn(e,n){const t=c;var x=$e(e,n);if(x.state>S0)throw new Error(t(1767));return x}function $e(e,n){var x=e[c(1477)];if(!x||!(x=x[n]))throw new Error("transition not found");return x}function Su(e,n,t){const x=c;var r=e[x(1477)],o;r[n]=t,t[x(660)]=si(i,0,t.time);function i(d){const f=x;t[f(1375)]=fi,t.timer[f(1760)](a,t.delay,t.time),t[f(639)]<=d&&a(d-t[f(639)])}function a(d){const f=x;var b,h,v,g;if(t[f(1375)]!==fi)return s();for(b in r)if(g=r[b],g[f(1388)]===t[f(1388)]){if(g[f(1375)]===S0)return di(a);g[f(1375)]===bi?(g.state=k0,g[f(660)][f(1521)](),g.on[f(211)](f(1217),e,e[f(1882)],g[f(1511)],g.group),delete r[b]):+b<n&&(g.state=k0,g[f(660)][f(1521)](),g.on[f(211)](f(343),e,e[f(1882)],g[f(1511)],g[f(523)]),delete r[b])}if(di(function(){const p=f;t[p(1375)]===S0&&(t[p(1375)]=bi,t.timer[p(1760)](u,t[p(639)],t[p(1225)]),u(d))}),t[f(1375)]=Ox,t.on[f(211)](f(750),e,e.__data__,t.index,t[f(523)]),t[f(1375)]===Ox){for(t[f(1375)]=S0,o=new Array(v=t.tween[f(586)]),b=0,h=-1;b<v;++b)(g=t[f(1724)][b][f(1161)].call(e,e[f(1882)],t.index,t[f(523)]))&&(o[++h]=g);o.length=h+1}}function u(d){const f=x;for(var b=d<t[f(558)]?t.ease.call(null,d/t[f(558)]):(t[f(660)][f(1760)](s),t.state=Gx,1),h=-1,v=o[f(586)];++h<v;)o[h].call(e,b);t.state===Gx&&(t.on[f(211)](f(935),e,e[f(1882)],t[f(1511)],t[f(523)]),s())}function s(){const d=x;t[d(1375)]=k0,t[d(660)].stop(),delete r[n];for(var f in r)return;delete e.__transition}}function P0(e,n){const t=c;var x=e[t(1477)],r,o,i=!0,a;if(x){n=n==null?null:n+"";for(a in x){if((r=x[a])[t(1388)]!==n){i=!1;continue}o=r[t(1375)]>Ox&&r[t(1375)]<Gx,r.state=k0,r.timer[t(1521)](),r.on[t(211)](o?t(1217):"cancel",e,e[t(1882)],r[t(1511)],r[t(523)]),delete x[a]}i&&delete e[t(1477)]}}function ku(e){return this[c(1442)](function(){P0(this,e)})}function Iu(e,n){var t,x;return function(){const r=_0x4b9b;var o=cn(this,e),i=o[r(1724)];if(i!==t){x=t=i;for(var a=0,u=x[r(586)];a<u;++a)if(x[a].name===n){x=x[r(1562)](),x.splice(a,1);break}}o[r(1724)]=x}}function Pu(e,n,t){const x=c;var r,o;if(typeof t!==x(1151))throw new Error;return function(){const i=x;var a=cn(this,e),u=a[i(1724)];if(u!==r){o=(r=u)[i(1562)]();for(var s={name:n,value:t},d=0,f=o[i(586)];d<f;++d)if(o[d][i(1388)]===n){o[d]=s;break}d===f&&o[i(177)](s)}a[i(1724)]=o}}function Au(e,n){const t=c;var x=this[t(1853)];if(e+="",arguments.length<2){for(var r=$e(this[t(742)](),x)[t(1724)],o=0,i=r[t(586)],a;o<i;++o)if((a=r[o])[t(1388)]===e)return a[t(1161)];return null}return this[t(1442)]((n==null?Iu:Pu)(x,e,n))}function Hx(e,n,t){const x=c;var r=e[x(1853)];return e[x(1442)](function(){const o=x;var i=cn(this,r);(i[o(1161)]||(i.value={}))[n]=t[o(242)](this,arguments)}),function(o){const i=x;return $e(o,r)[i(1161)][n]}}function hi(e,n){const t=c;var x;return(typeof n===t(536)?an:n instanceof En?z0:(x=En(n))?(n=x,z0):ti)(e,n)}function ju(e){return function(){this[_0x4b9b(348)](e)}}function Eu(e){return function(){const n=_0x4b9b;this[n(560)](e[n(1088)],e[n(487)])}}function Yu(e,n,t){var x,r=t+"",o;return function(){var a=this[_0x4b9b(1396)](e);return a===r?null:a===x?o:o=n(x=a,t)}}function Uu(e,n,t){var x,r=t+"",o;return function(){const i=_0x4b9b;var a=this[i(1335)](e[i(1088)],e[i(487)]);return a===r?null:a===x?o:o=n(x=a,t)}}function Ou(e,n,t){var x,r,o;return function(){const i=_0x4b9b;var a,u=t(this),s;return u==null?void this[i(348)](e):(a=this[i(1396)](e),s=u+"",a===s?null:a===x&&s===r?o:(r=s,o=n(x=a,u)))}}function Gu(e,n,t){var x,r,o;return function(){const i=_0x4b9b;var a,u=t(this),s;return u==null?void this[i(560)](e.space,e[i(487)]):(a=this[i(1335)](e[i(1088)],e[i(487)]),s=u+"",a===s?null:a===x&&s===r?o:(r=s,o=n(x=a,u)))}}function Tu(e,n){const t=c;var x=h0(e),r=x===t(1879)?wu:hi;return this.attrTween(e,typeof n=="function"?(x[t(487)]?Gu:Ou)(x,r,Hx(this,t(1257)+e,n)):n==null?(x[t(487)]?Eu:ju)(x):(x[t(487)]?Uu:Yu)(x,r,n))}function Hu(e,n){return function(t){const x=_0x4b9b;this[x(202)](e,n[x(211)](this,t))}}function Vu(e,n){return function(t){const x=_0x4b9b;this[x(1009)](e[x(1088)],e.local,n[x(211)](this,t))}}function qu(e,n){const t=c;var x,r;function o(){var a=n[_0x4b9b(242)](this,arguments);return a!==r&&(x=(r=a)&&Vu(e,a)),x}return o[t(1951)]=n,o}function Wu(e,n){const t=c;var x,r;function o(){var a=n[_0x4b9b(242)](this,arguments);return a!==r&&(x=(r=a)&&Hu(e,a)),x}return o[t(1951)]=n,o}function Xu(e,n){const t=c;var x="attr."+e;if(arguments[t(586)]<2)return(x=this.tween(x))&&x[t(1951)];if(n==null)return this.tween(x,null);if(typeof n!="function")throw new Error;var r=h0(e);return this.tween(x,(r[t(487)]?qu:Wu)(r,n))}function Ku(e,n){return function(){const t=_0x4b9b;Tx(this,e)[t(639)]=+n[t(242)](this,arguments)}}function Zu(e,n){return n=+n,function(){const t=_0x4b9b;Tx(this,e)[t(639)]=n}}function Ru(e){const n=c;var t=this[n(1853)];return arguments.length?this.each((typeof e=="function"?Ku:Zu)(t,e)):$e(this[n(742)](),t)[n(639)]}function Ju(e,n){return function(){const t=_0x4b9b;cn(this,e)[t(558)]=+n[t(242)](this,arguments)}}function _u(e,n){return n=+n,function(){const t=_0x4b9b;cn(this,e)[t(558)]=n}}function Fu(e){const n=c;var t=this[n(1853)];return arguments.length?this[n(1442)]((typeof e===n(1151)?Ju:_u)(t,e)):$e(this[n(742)](),t)[n(558)]}function Qu(e,n){const t=c;if(typeof n!==t(1151))throw new Error;return function(){const x=t;cn(this,e)[x(1925)]=n}}function $u(e){const n=c;var t=this[n(1853)];return arguments[n(586)]?this[n(1442)](Qu(t,e)):$e(this[n(742)](),t)[n(1925)]}function ef(e,n){return function(){const t=_0x4b9b;var x=n.apply(this,arguments);if(typeof x!==t(1151))throw new Error;cn(this,e)[t(1925)]=x}}function nf(e){const n=c;if(typeof e!==n(1151))throw new Error;return this[n(1442)](ef(this[n(1853)],e))}function tf(e){const n=c;typeof e!==n(1151)&&(e=Pr(e));for(var t=this._groups,x=t[n(586)],r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i[n(586)],u=r[o]=[],s,d=0;d<a;++d)(s=i[d])&&e.call(s,s[n(1882)],d,i)&&u[n(177)](s);return new fn(r,this[n(617)],this[n(474)],this[n(1853)])}function xf(e){const n=c;if(e[n(1853)]!==this[n(1853)])throw new Error;for(var t=this[n(354)],x=e._groups,r=t[n(586)],o=x.length,i=Math.min(r,o),a=new Array(r),u=0;u<i;++u)for(var s=t[u],d=x[u],f=s[n(586)],b=a[u]=new Array(f),h,v=0;v<f;++v)(h=s[v]||d[v])&&(b[v]=h);for(;u<r;++u)a[u]=t[u];return new fn(a,this._parents,this[n(474)],this[n(1853)])}function of(e){const n=c;return(e+"").trim()[n(1551)](/^|\s+/)[n(689)](function(t){const x=n;var r=t.indexOf(".");return r>=0&&(t=t[x(1562)](0,r)),!t||t===x(750)})}function rf(e,n,t){var x,r,o=of(n)?Tx:cn;return function(){const i=_0x4b9b;var a=o(this,e),u=a.on;u!==x&&(r=(x=u)[i(1043)]()).on(n,t),a.on=r}}function af(e,n){const t=c;var x=this._id;return arguments[t(586)]<2?$e(this[t(742)](),x).on.on(e):this[t(1442)](rf(x,e,n))}function cf(e){return function(){const n=_0x4b9b;var t=this.parentNode;for(var x in this[n(1477)])if(+x!==e)return;t&&t[n(464)](this)}}function sf(){const e=c;return this.on(e(1119),cf(this[e(1853)]))}function lf(e){const n=c;var t=this[n(474)],x=this[n(1853)];typeof e!==n(1151)&&(e=Bx(e));for(var r=this._groups,o=r[n(586)],i=new Array(o),a=0;a<o;++a)for(var u=r[a],s=u[n(586)],d=i[a]=new Array(s),f,b,h=0;h<s;++h)(f=u[h])&&(b=e[n(211)](f,f[n(1882)],h,u))&&("__data__"in f&&(b.__data__=f[n(1882)]),d[h]=b,I0(d[h],t,x,h,d,$e(f,x)));return new fn(i,this[n(617)],t,x)}function df(e){const n=c;var t=this[n(474)],x=this[n(1853)];typeof e!==n(1151)&&(e=Ir(e));for(var r=this[n(354)],o=r[n(586)],i=[],a=[],u=0;u<o;++u)for(var s=r[u],d=s[n(586)],f,b=0;b<d;++b)if(f=s[b]){for(var h=e[n(211)](f,f.__data__,b,s),v,g=$e(f,x),p=0,M=h[n(586)];p<M;++p)(v=h[p])&&I0(v,t,x,p,h,g);i[n(177)](h),a.push(f)}return new fn(i,a,t,x)}var uf=Lt[c(502)].constructor;function ff(){const e=c;return new uf(this[e(354)],this._parents)}function bf(e,n){var t,x,r;return function(){const o=_0x4b9b;var i=tt(this,e),a=(this[o(571)][o(1701)](e),tt(this,e));return i===a?null:i===t&&a===x?r:r=n(t=i,x=a)}}function gi(e){return function(){const n=_0x4b9b;this[n(571)][n(1701)](e)}}function hf(e,n,t){var x,r=t+"",o;return function(){var i=tt(this,e);return i===r?null:i===x?o:o=n(x=i,t)}}function gf(e,n,t){var x,r,o;return function(){const i=_0x4b9b;var a=tt(this,e),u=t(this),s=u+"";return u==null&&(s=u=(this[i(571)][i(1701)](e),tt(this,e))),a===s?null:a===x&&s===r?o:(r=s,o=n(x=a,u))}}function yf(e,n){const t=c;var x,r,o,i=t(635)+n,a=t(214)+i,u;return function(){const s=t;var d=cn(this,e),f=d.on,b=d[s(1161)][i]==null?u||(u=gi(n)):void 0;(f!==x||o!==b)&&(r=(x=f)[s(1043)]()).on(a,o=b),d.on=r}}function mf(e,n,t){const x=c;var r=(e+="")===x(1879)?mu:hi;return n==null?this[x(561)](e,bf(e,r)).on(x(1569)+e,gi(e)):typeof n===x(1151)?this[x(561)](e,gf(e,r,Hx(this,"style."+e,n)))[x(1442)](yf(this[x(1853)],e)):this[x(561)](e,hf(e,r,n),t).on(x(1569)+e,null)}function wf(e,n,t){return function(x){const r=_0x4b9b;this.style[r(1133)](e,n.call(this,x),t)}}function vf(e,n,t){var x,r;function o(){var a=n[_0x4b9b(242)](this,arguments);return a!==r&&(x=(r=a)&&wf(e,a,t)),x}return o._value=n,o}function pf(e,n,t){const x=c;var r=x(635)+(e+="");if(arguments[x(586)]<2)return(r=this[x(1724)](r))&&r[x(1951)];if(n==null)return this.tween(r,null);if(typeof n!="function")throw new Error;return this[x(1724)](r,vf(e,n,t??""))}function zf(e){return function(){const n=_0x4b9b;this[n(204)]=e}}function Cf(e){return function(){var n=e(this);this.textContent=n??""}}function Mf(e){const n=c;return this[n(1724)](n(875),typeof e=="function"?Cf(Hx(this,n(875),e)):zf(e==null?"":e+""))}function Bf(e){return function(n){const t=_0x4b9b;this[t(204)]=e.call(this,n)}}function Df(e){const n=c;var t,x;function r(){var o=e.apply(this,arguments);return o!==x&&(t=(x=o)&&Bf(o)),t}return r[n(1951)]=e,r}function Lf(e){const n=c;var t=n(875);if(arguments[n(586)]<1)return(t=this[n(1724)](t))&&t[n(1951)];if(e==null)return this[n(1724)](t,null);if(typeof e!==n(1151))throw new Error;return this.tween(t,Df(e))}function Nf(){const e=c;for(var n=this[e(474)],t=this[e(1853)],x=yi(),r=this[e(354)],o=r[e(586)],i=0;i<o;++i)for(var a=r[i],u=a.length,s,d=0;d<u;++d)if(s=a[d]){var f=$e(s,t);I0(s,n,x,d,a,{time:f[e(1225)]+f[e(639)]+f[e(558)],delay:0,duration:f[e(558)],ease:f[e(1925)]})}return new fn(r,this[e(617)],n,x)}function Sf(){const e=c;var n,t,x=this,r=x[e(1853)],o=x[e(161)]();return new Promise(function(i,a){const u=e;var s={value:a},d={value:function(){--o===0&&i()}};x[u(1442)](function(){const f=u;var b=cn(this,r),h=b.on;h!==n&&(t=(n=h)[f(1043)](),t._[f(343)][f(177)](s),t._.interrupt[f(177)](s),t._[f(935)][f(177)](d)),b.on=t}),o===0&&i()})}var kf=0;function fn(e,n,t,x){const r=c;this[r(354)]=e,this._parents=n,this[r(474)]=t,this[r(1853)]=x}function yi(){return++kf}var bn=Lt.prototype;fn.prototype={constructor:fn,select:lf,selectAll:df,selectChild:bn[c(847)],selectChildren:bn[c(774)],filter:tf,merge:xf,selection:ff,transition:Nf,call:bn[c(211)],nodes:bn[c(459)],node:bn[c(742)],size:bn.size,empty:bn.empty,each:bn.each,on:af,attr:Tu,attrTween:Xu,style:mf,styleTween:pf,text:Mf,textTween:Lf,remove:sf,tween:Au,delay:Ru,duration:Fu,ease:$u,easeVarying:nf,end:Sf,[Symbol[c(277)]]:bn[Symbol[c(277)]]};function If(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Pf={time:null,delay:0,duration:250,ease:If};function Af(e,n){const t=c;for(var x;!(x=e[t(1477)])||!(x=x[n]);)if(!(e=e.parentNode))throw new Error("transition "+n+" not found");return x}function jf(e){const n=c;var t,x;e instanceof fn?(t=e._id,e=e._name):(t=yi(),(x=Pf)[n(1225)]=Yx(),e=e==null?null:e+"");for(var r=this[n(354)],o=r.length,i=0;i<o;++i)for(var a=r[i],u=a[n(586)],s,d=0;d<u;++d)(s=a[d])&&I0(s,e,t,d,a,x||Af(s,t));return new fn(r,this._parents,e,t)}Lt[c(502)][c(1217)]=ku,Lt[c(502)][c(197)]=jf;const A0=e=>()=>e;function Ef(e,{sourceEvent:n,target:t,transform:x,dispatch:r}){Object[c(547)](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:r}})}function hn(e,n,t){this.k=e,this.x=n,this.y=t}hn[c(502)]={constructor:hn,scale:function(e){return e===1?this:new hn(this.k*e,this.x,this.y)},translate:function(e,n){return e===0&n===0?this:new hn(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(1043)]().domain(e[n(851)]()[n(1779)](this[n(568)],this)[n(1779)](e.invert,e))},rescaleY:function(e){const n=c;return e[n(1043)]().domain(e.range()[n(1779)](this.invertY,this)[n(1779)](e.invert,e))},toString:function(){const e=c;return e(675)+this.x+","+this.y+e(1854)+this.k+")"}};var j0=new hn(1,0,0);mi[c(502)]=hn[c(502)];function mi(e){const n=c;for(;!e[n(271)];)if(!(e=e[n(1902)]))return j0;return e[n(271)]}function Vx(e){e[c(797)]()}function Ut(e){const n=c;e[n(1390)](),e[n(797)]()}function Yf(e){const n=c;return(!e[n(1137)]||e.type===n(591))&&!e.button}function Uf(){const e=c;var n=this;return n instanceof SVGElement?(n=n[e(601)]||n,n[e(233)](e(760))?(n=n.viewBox[e(1624)],[[n.x,n.y],[n.x+n[e(575)],n.y+n[e(800)]]]):[[0,0],[n[e(575)][e(1624)].value,n[e(800)][e(1624)][e(1161)]]]):[[0,0],[n[e(1181)],n[e(1452)]]]}function wi(){return this[c(271)]||j0}function Of(e){const n=c;return-e[n(1210)]*(e[n(1091)]===1?.05:e[n(1091)]?1:.002)*(e[n(1137)]?10:1)}function Gf(){const e=c;return navigator[e(1746)]||e(1501)in this}function Tf(e,n,t){const x=c;var r=e[x(568)](n[0][0])-t[0][0],o=e.invertX(n[1][0])-t[1][0],i=e[x(672)](n[0][1])-t[0][1],a=e[x(672)](n[1][1])-t[1][1];return e[x(751)](o>r?(r+o)/2:Math.min(0,r)||Math[x(1122)](0,o),a>i?(i+a)/2:Math[x(1291)](0,i)||Math[x(1122)](0,a))}function vi(){const e=c;var n=Yf,t=Uf,x=Tf,r=Of,o=Gf,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],u=250,s=M0,d=f0(e(750),"zoom",e(935)),f,b,h,v=500,g=150,p=0,M=10;function m(N){const B=e;N[B(659)](B(271),wi).on(B(183),T,{passive:!1}).on(B(1805),U).on("dblclick.zoom",Q)[B(917)](o).on("touchstart.zoom",X).on(B(1595),W).on("touchend.zoom touchcancel.zoom",G)[B(571)](B(1769),B(888))}m[e(1879)]=function(N,B,D,j){const A=e;var P=N[A(780)]?N[A(780)]():N;P[A(659)](A(271),wi),N!==P?I(N,B,D,j):P[A(1217)]()[A(1442)](function(){const Z=A;Y(this,arguments)[Z(1201)](j).start()[Z(1360)](null,typeof B===Z(1151)?B.apply(this,arguments):B)[Z(935)]()})},m[e(379)]=function(N,B,D,j){m.scaleTo(N,function(){var P=this[_0x4b9b(271)].k,Z=typeof B=="function"?B.apply(this,arguments):B;return P*Z},D,j)},m[e(433)]=function(N,B,D,j){const A=e;m[A(1879)](N,function(){const P=A;var Z=t[P(242)](this,arguments),_=this.__zoom,R=D==null?C(Z):typeof D===P(1151)?D.apply(this,arguments):D,ee=_[P(962)](R),xe=typeof B=="function"?B[P(242)](this,arguments):B;return x(y(w(_,xe),R,ee),Z,a)},D,j)},m[e(841)]=function(N,B,D,j){const A=e;m[A(1879)](N,function(){const P=A;return x(this[P(271)].translate(typeof B===P(1151)?B.apply(this,arguments):B,typeof D=="function"?D[P(242)](this,arguments):D),t[P(242)](this,arguments),a)},null,j)},m[e(1827)]=function(N,B,D,j,A){const P=e;m[P(1879)](N,function(){const Z=P;var _=t[Z(242)](this,arguments),R=this.__zoom,ee=j==null?C(_):typeof j===Z(1151)?j[Z(242)](this,arguments):j;return x(j0[Z(751)](ee[0],ee[1])[Z(936)](R.k)[Z(751)](typeof B===Z(1151)?-B[Z(242)](this,arguments):-B,typeof D=="function"?-D.apply(this,arguments):-D),_,a)},j,A)};function w(N,B){return B=Math[e(1122)](i[0],Math.min(i[1],B)),B===N.k?N:new hn(B,N.x,N.y)}function y(N,B,D){var j=B[0]-D[0]*N.k,A=B[1]-D[1]*N.k;return j===N.x&&A===N.y?N:new hn(N.k,j,A)}function C(N){return[(+N[0][0]+ +N[1][0])/2,(+N[0][1]+ +N[1][1])/2]}function I(N,B,D,j){const A=e;N.on(A(387),function(){const P=A;Y(this,arguments)[P(1201)](j)[P(750)]()}).on(A(1230),function(){const P=A;Y(this,arguments)[P(1201)](j)[P(935)]()}).tween(A(1360),function(){const P=A;var Z=this,_=arguments,R=Y(Z,_).event(j),ee=t[P(242)](Z,_),xe=D==null?C(ee):typeof D=="function"?D[P(242)](Z,_):D,ae=Math.max(ee[1][0]-ee[0][0],ee[1][1]-ee[0][1]),ce=Z[P(271)],ie=typeof B===P(1151)?B[P(242)](Z,_):B,oe=s(ce[P(962)](xe).concat(ae/ce.k),ie.invert(xe)[P(174)](ae/ie.k));return function(ne){const se=P;if(ne===1)ne=ie;else{var S=oe(ne),k=ae/S[2];ne=new hn(k,xe[0]-S[0]*k,xe[1]-S[1]*k)}R[se(1360)](null,ne)}})}function Y(N,B,D){return!D&&N[e(652)]||new O(N,B)}function O(N,B){const D=e;this[D(548)]=N,this[D(1160)]=B,this[D(1931)]=0,this[D(1168)]=null,this[D(1874)]=t[D(242)](N,B),this[D(1502)]=0}O[e(502)]={event:function(N){const B=e;return N&&(this[B(1168)]=N),this},start:function(){const N=e;return++this[N(1931)]===1&&(this.that[N(652)]=this,this[N(1737)](N(750))),this},zoom:function(N,B){const D=e;return this[D(1253)]&&N!==D(1253)&&(this[D(1253)][1]=B[D(962)](this[D(1253)][0])),this[D(1625)]&&N!==D(1116)&&(this[D(1625)][1]=B[D(962)](this[D(1625)][0])),this[D(1868)]&&N!=="touch"&&(this.touch1[1]=B.invert(this[D(1868)][0])),this[D(548)][D(271)]=B,this[D(1737)](D(1360)),this},end:function(){const N=e;return--this[N(1931)]===0&&(delete this.that.__zooming,this[N(1737)](N(935))),this},emit:function(N){const B=e;var D=We(this[B(548)])[B(1908)]();d[B(211)](N,this[B(548)],new Ef(N,{sourceEvent:this[B(1168)],target:m,transform:this.that[B(271)],dispatch:d}),D)}};function T(N,...B){const D=e;if(!n[D(242)](this,arguments))return;var j=Y(this,B)[D(1201)](N),A=this[D(271)],P=Math[D(1122)](i[0],Math[D(1291)](i[1],A.k*Math[D(1479)](2,r[D(242)](this,arguments)))),Z=Fe(N);if(j[D(591)])(j[D(1253)][0][0]!==Z[0]||j[D(1253)][0][1]!==Z[1])&&(j.mouse[1]=A[D(962)](j[D(1253)][0]=Z)),clearTimeout(j[D(591)]);else{if(A.k===P)return;j[D(1253)]=[Z,A[D(962)](Z)],P0(this),j.start()}Ut(N),j[D(591)]=setTimeout(_,g),j.zoom("mouse",x(y(w(A,P),j[D(1253)][0],j[D(1253)][1]),j[D(1874)],a));function _(){const R=D;j[R(591)]=null,j[R(935)]()}}function U(N,...B){const D=e;if(h||!n[D(242)](this,arguments))return;var j=N[D(1222)],A=Y(this,B,!0)[D(1201)](N),P=We(N.view).on("mousemove.zoom",ee,!0).on(D(1621),xe,!0),Z=Fe(N,j),_=N.clientX,R=N[D(302)];Vr(N[D(1936)]),Vx(N),A[D(1253)]=[Z,this[D(271)][D(962)](Z)],P0(this),A.start();function ee(ae){const ce=D;if(Ut(ae),!A.moved){var ie=ae[ce(1669)]-_,oe=ae[ce(302)]-R;A.moved=ie*ie+oe*oe>p}A[ce(1201)](ae).zoom(ce(1253),x(y(A[ce(548)][ce(271)],A.mouse[0]=Fe(ae,j),A.mouse[1]),A.extent,a))}function xe(ae){const ce=D;P.on("mousemove.zoom mouseup.zoom",null),qr(ae[ce(1936)],A[ce(1198)]),Ut(ae),A[ce(1201)](ae)[ce(935)]()}}function Q(N,...B){const D=e;if(n[D(242)](this,arguments)){var j=this[D(271)],A=Fe(N[D(636)]?N[D(636)][0]:N,this),P=j[D(962)](A),Z=j.k*(N[D(563)]?.5:2),_=x(y(w(j,Z),A,P),t[D(242)](this,B),a);Ut(N),u>0?We(this)[D(197)]().duration(u)[D(211)](I,_,A,N):We(this)[D(211)](m.transform,_,A,N)}}function X(N,...B){const D=e;if(n[D(242)](this,arguments)){var j=N.touches,A=j[D(586)],P=Y(this,B,N.changedTouches[D(586)]===A).event(N),Z,_,R,ee;for(Vx(N),_=0;_<A;++_)R=j[_],ee=Fe(R,this),ee=[ee,this[D(271)][D(962)](ee),R[D(249)]],P[D(1625)]?!P[D(1868)]&&P.touch0[2]!==ee[2]&&(P[D(1868)]=ee,P.taps=0):(P[D(1625)]=ee,Z=!0,P.taps=1+!!f);f&&(f=clearTimeout(f)),Z&&(P[D(1502)]<2&&(b=ee[0],f=setTimeout(function(){f=null},v)),P0(this),P.start())}}function W(N,...B){const D=e;if(this[D(652)]){var j=Y(this,B)[D(1201)](N),A=N.changedTouches,P=A.length,Z,_,R,ee;for(Ut(N),Z=0;Z<P;++Z)_=A[Z],R=Fe(_,this),j.touch0&&j[D(1625)][2]===_.identifier?j[D(1625)][0]=R:j[D(1868)]&&j.touch1[2]===_.identifier&&(j[D(1868)][0]=R);if(_=j[D(548)][D(271)],j[D(1868)]){var xe=j[D(1625)][0],ae=j[D(1625)][1],ce=j[D(1868)][0],ie=j[D(1868)][1],oe=(oe=ce[0]-xe[0])*oe+(oe=ce[1]-xe[1])*oe,ne=(ne=ie[0]-ae[0])*ne+(ne=ie[1]-ae[1])*ne;_=w(_,Math.sqrt(oe/ne)),R=[(xe[0]+ce[0])/2,(xe[1]+ce[1])/2],ee=[(ae[0]+ie[0])/2,(ae[1]+ie[1])/2]}else if(j[D(1625)])R=j[D(1625)][0],ee=j.touch0[1];else return;j[D(1360)]("touch",x(y(_,R,ee),j.extent,a))}}function G(N,...B){const D=e;if(this[D(652)]){var j=Y(this,B).event(N),A=N[D(636)],P=A[D(586)],Z,_;for(Vx(N),h&&clearTimeout(h),h=setTimeout(function(){h=null},v),Z=0;Z<P;++Z)_=A[Z],j[D(1625)]&&j[D(1625)][2]===_.identifier?delete j[D(1625)]:j[D(1868)]&&j[D(1868)][2]===_[D(249)]&&delete j[D(1868)];if(j[D(1868)]&&!j[D(1625)]&&(j[D(1625)]=j[D(1868)],delete j[D(1868)]),j[D(1625)])j[D(1625)][1]=this.__zoom[D(962)](j.touch0[0]);else if(j[D(935)](),j[D(1502)]===2&&(_=Fe(_,this),Math[D(493)](b[0]-_[0],b[1]-_[1])<M)){var R=We(this).on("dblclick.zoom");R&&R.apply(this,arguments)}}}return m.wheelDelta=function(N){const B=e;return arguments[B(586)]?(r=typeof N===B(1151)?N:A0(+N),m):r},m[e(917)]=function(N){const B=e;return arguments[B(586)]?(n=typeof N===B(1151)?N:A0(!!N),m):n},m[e(1224)]=function(N){const B=e;return arguments[B(586)]?(o=typeof N===B(1151)?N:A0(!!N),m):o},m[e(1874)]=function(N){const B=e;return arguments[B(586)]?(t=typeof N===B(1151)?N:A0([[+N[0][0],+N[0][1]],[+N[1][0],+N[1][1]]]),m):t},m.scaleExtent=function(N){return arguments[e(586)]?(i[0]=+N[0],i[1]=+N[1],m):[i[0],i[1]]},m[e(1643)]=function(N){return arguments.length?(a[0][0]=+N[0][0],a[1][0]=+N[1][0],a[0][1]=+N[0][1],a[1][1]=+N[1][1],m):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},m[e(1304)]=function(N){return arguments[e(586)]?(x=N,m):x},m.duration=function(N){return arguments[e(586)]?(u=+N,m):u},m[e(696)]=function(N){return arguments[e(586)]?(s=N,m):s},m.on=function(){var N=d.on.apply(d,arguments);return N===d?m:N},m[e(1047)]=function(N){return arguments[e(586)]?(p=(N=+N)*N,m):Math.sqrt(p)},m[e(1833)]=function(N){return arguments[e(586)]?(M=+N,m):M},m}const Xe={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>c(1690),error003:e=>'Node type "'+e+'" not found. Using fallback type "default".',error004:()=>c(1446),error005:()=>c(423),error006:()=>c(1470),error007:e=>"The old edge with id="+e+c(353),error009:e=>'Marker type "'+e+`" doesn't exist.`,error008:(e,{id:n,sourceHandle:t,targetHandle:x})=>c(1218)+e+c(1829)+(e===c(385)?t:x)+c(1216)+n+".",error010:()=>c(1308),error011:e=>c(965)+e+c(158),error012:e=>c(1962)+e+c(914),error013:(e=c(1680))=>"It seems that you haven't loaded the styles. Please import '@xyflow/"+e+"/dist/style.css' or base.css to make sure everything is working properly.",error014:()=>c(369),error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},Ot=[[Number[c(644)],Number.NEGATIVE_INFINITY],[Number[c(933)],Number.POSITIVE_INFINITY]],pi=[c(1965)," ","Escape"],zi={"node.a11yDescription.default":c(321),"node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:n,y:t})=>c(1636)+e+c(540)+n+c(1383)+t,"edge.a11yDescription.default":c(504),"controls.ariaLabel":c(1320),"controls.zoomIn.ariaLabel":c(1459),"controls.zoomOut.ariaLabel":c(1664),"controls.fitView.ariaLabel":c(739),"controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":c(1411),"handle.ariaLabel":c(1326)};var it;(function(e){const n=c;e[n(311)]=n(1777),e[n(995)]=n(1415)})(it||(it={}));var Gn;(function(e){const n=c;e.Free="free",e[n(314)]="vertical",e[n(1626)]=n(522)})(Gn||(Gn={}));var Gt;(function(e){const n=c;e[n(852)]=n(472),e[n(1336)]=n(758)})(Gt||(Gt={}));const Ci={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Bn;(function(e){const n=c;e[n(1244)]=n(1729),e[n(1866)]="straight",e[n(1059)]=n(1676),e.SmoothStep=n(646),e[n(671)]=n(415)})(Bn||(Bn={}));var E0;(function(e){const n=c;e.Arrow=n(1930),e.ArrowClosed=n(1046)})(E0||(E0={}));var fe;(function(e){const n=c;e.Left="left",e[n(331)]=n(534),e[n(209)]=n(1208),e.Bottom=n(1761)})(fe||(fe={}));const Mi={[fe[c(1953)]]:fe.Right,[fe.Right]:fe.Left,[fe[c(331)]]:fe[c(1113)],[fe[c(1113)]]:fe[c(331)]};function Bi(e){return e===null?null:e?c(1896):"invalid"}const Di=e=>"id"in e&&c(385)in e&&c(1875)in e,Hf=e=>"id"in e&&c(1604)in e&&!("source"in e)&&!(c(1875)in e),qx=e=>"id"in e&&c(1725)in e&&!(c(385)in e)&&!(c(1875)in e),Tt=(e,n=[0,0])=>{const t=c,{width:x,height:r}=gn(e),o=e[t(1265)]??n,i=x*o[0],a=r*o[1];return{x:e.position.x-i,y:e.position.y-a}},Vf=(e,n={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1031)&&!n[t(1942)]&&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(586)]===0)return{x:0,y:0,width:0,height:0};const x=e[t(1468)]((r,o)=>{const i=t,a=typeof o===i(816);let u=!n.nodeLookup&&!a?o:void 0;n[i(1942)]&&(u=a?n[i(1942)][i(1450)](o):qx(o)?o:n[i(1942)][i(1450)](o.id));const s=u?O0(u,n[i(1372)]):{x:0,y:0,x2:0,y2:0};return Y0(r,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return U0(x)},Ht=(e,n={})=>{const t=c;let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},r=!1;return e[t(366)](o=>{(n[t(917)]===void 0||n.filter(o))&&(x=Y0(x,O0(o)),r=!0)}),r?U0(x):{x:0,y:0,width:0,height:0}},Wx=(e,n,[t,x,r]=[0,0,1],o=!1,i=!1)=>{const a=c,u={...Wt(n,[t,x,r]),width:n[a(575)]/r,height:n[a(800)]/r},s=[];for(const d of e[a(269)]()){const{measured:f,selectable:b=!0,hidden:h=!1}=d;if(i&&!b||h)continue;const v=f[a(575)]??d[a(575)]??d.initialWidth??null,g=f[a(800)]??d[a(800)]??d[a(1793)]??null,p=Vt(u,ct(d)),M=(v??0)*(g??0),m=o&&p>0;(!d.internals.handleBounds||m||p>=M||d[a(1018)])&&s.push(d)}return s},qf=(e,n)=>{const t=c,x=new Set;return e[t(366)](r=>{x[t(505)](r.id)}),n[t(917)](r=>x[t(1949)](r[t(385)])||x[t(1949)](r.target))};function Wf(e,n){const t=c,x=new Map,r=n?.[t(459)]?new Set(n[t(459)][t(1779)](o=>o.id)):null;return e[t(366)](o=>{const i=t;o[i(1575)][i(575)]&&o[i(1575)][i(800)]&&(n?.includeHiddenNodes||!o[i(1061)])&&(!r||r[i(1949)](o.id))&&x.set(o.id,o)}),x}async function Xf({nodes:e,width:n,height:t,panZoom:x,minZoom:r,maxZoom:o},i){const a=c;if(e[a(161)]===0)return Promise[a(817)](!0);const u=Wf(e,i),s=Ht(u),d=Kx(s,n,t,i?.[a(1079)]??r,i?.[a(628)]??o,i?.padding??.1);return await x[a(1186)](d,{duration:i?.duration,ease:i?.[a(1925)],interpolate:i?.[a(696)]}),Promise[a(817)](!0)}function Li({nodeId:e,nextPosition:n,nodeLookup:t,nodeOrigin:x=[0,0],nodeExtent:r,onError:o}){const i=c,a=t[i(1450)](e),u=a[i(934)]?t.get(a[i(934)]):void 0,{x:s,y:d}=u?u[i(1725)][i(1035)]:{x:0,y:0},f=a[i(1265)]??x;let b=a[i(1874)]||r;if(a[i(1874)]===i(545)&&!a[i(843)])if(!u)o?.(i(1588),Xe[i(1106)]());else{const v=u[i(1575)].width,g=u[i(1575)][i(800)];v&&g&&(b=[[s,d],[s+v,d+g]])}else u&<(a[i(1874)])&&(b=[[a[i(1874)][0][0]+s,a[i(1874)][0][1]+d],[a[i(1874)][1][0]+s,a[i(1874)][1][1]+d]]);const h=lt(b)?Tn(n,b,a[i(1575)]):n;return(a[i(1575)][i(575)]===void 0||a[i(1575)].height===void 0)&&o?.(i(959),Xe[i(1514)]()),{position:{x:h.x-s+(a[i(1575)][i(575)]??0)*f[0],y:h.y-d+(a[i(1575)][i(800)]??0)*f[1]},positionAbsolute:h}}async function Kf({nodesToRemove:e=[],edgesToRemove:n=[],nodes:t,edges:x,onBeforeDelete:r}){const o=c,i=new Set(e.map(h=>h.id)),a=[];for(const h of t){if(h.deletable===!1)continue;const v=i[o(1949)](h.id),g=!v&&h.parentId&&a[o(871)](p=>p.id===h[o(934)]);(v||g)&&a[o(177)](h)}const u=new Set(n[o(1779)](h=>h.id)),s=x.filter(h=>h[o(1509)]!==!1),d=qf(a,s),f=d;for(const h of s)u[o(1949)](h.id)&&!f[o(871)](g=>g.id===h.id)&&f[o(177)](h);if(!r)return{edges:f,nodes:a};const b=await r({nodes:a,edges:f});return typeof b===o(1298)?b?{edges:f,nodes:a}:{edges:[],nodes:[]}:b}const at=(e,n=0,t=1)=>Math[c(1291)](Math[c(1122)](e,n),t),Tn=(e={x:0,y:0},n,t)=>({x:at(e.x,n[0][0],n[1][0]-(t?.[c(575)]??0)),y:at(e.y,n[0][1],n[1][1]-(t?.[c(800)]??0))});function Ni(e,n,t){const x=c,{width:r,height:o}=gn(t),{x:i,y:a}=t[x(1725)][x(1035)];return Tn(e,[[i,a],[i+r,a+o]],n)}const Si=(e,n,t)=>{const x=c;return e<n?at(Math[x(1534)](e-n),1,n)/n:e>t?-at(Math[x(1534)](e-t),1,n)/n:0},ki=(e,n,t=15,x=40)=>{const r=c,o=Si(e.x,x,n.width-x)*t,i=Si(e.y,x,n[r(800)]-x)*t;return[o,i]},Y0=(e,n)=>({x:Math[c(1291)](e.x,n.x),y:Math.min(e.y,n.y),x2:Math[c(1122)](e.x2,n.x2),y2:Math[c(1122)](e.y2,n.y2)}),Xx=({x:e,y:n,width:t,height:x})=>({x:e,y:n,x2:e+t,y2:n+x}),U0=({x:e,y:n,x2:t,y2:x})=>({x:e,y:n,width:t-e,height:x-n}),ct=(e,n=[0,0])=>{const t=c,{x,y:r}=qx(e)?e[t(1725)][t(1035)]:Tt(e,n);return{x,y:r,width:e[t(1575)]?.[t(575)]??e[t(575)]??e.initialWidth??0,height:e[t(1575)]?.[t(800)]??e[t(800)]??e[t(1793)]??0}},O0=(e,n=[0,0])=>{const t=c,{x,y:r}=qx(e)?e[t(1725)][t(1035)]:Tt(e,n);return{x,y:r,x2:x+(e[t(1575)]?.[t(575)]??e[t(575)]??e.initialWidth??0),y2:r+(e[t(1575)]?.height??e[t(800)]??e.initialHeight??0)}},Ii=(e,n)=>U0(Y0(Xx(e),Xx(n))),Vt=(e,n)=>{const t=c,x=Math[t(1122)](0,Math[t(1291)](e.x+e.width,n.x+n[t(575)])-Math[t(1122)](e.x,n.x)),r=Math.max(0,Math[t(1291)](e.y+e[t(800)],n.y+n.height)-Math[t(1122)](e.y,n.y));return Math[t(916)](x*r)},Pi=e=>en(e[c(575)])&&en(e[c(800)])&&en(e.x)&&en(e.y),en=e=>!isNaN(e)&&isFinite(e),Ai=(e,n)=>{const t=c;process.env.NODE_ENV===t(1031)&&console.warn("[React Flow]: "+n+t(1912)+e)},qt=(e,n=[1,1])=>{const t=c;return{x:n[0]*Math[t(846)](e.x/n[0]),y:n[1]*Math[t(846)](e.y/n[1])}},Wt=({x:e,y:n},[t,x,r],o=!1,i=[1,1])=>{const a={x:(e-t)/r,y:(n-x)/r};return o?qt(a,i):a},G0=({x:e,y:n},[t,x,r])=>({x:e*r+t,y:n*r+x});function st(e,n){const t=c;if(typeof e===t(536))return Math[t(405)]((n-n/(1+e))*.5);if(typeof e=="string"&&e[t(306)]("px")){const x=parseFloat(e);if(!Number[t(1717)](x))return Math[t(405)](x)}if(typeof e===t(816)&&e[t(306)]("%")){const x=parseFloat(e);if(!Number.isNaN(x))return Math[t(405)](n*x*.01)}return console.error(t(741)+e+t(199)),0}function Zf(e,n,t){const x=c;if(typeof e=="string"||typeof e===x(536)){const r=st(e,t),o=st(e,n);return{top:r,right:o,bottom:r,left:o,x:o*2,y:r*2}}if(typeof e===x(1057)){const r=st(e[x(534)]??e.y??0,t),o=st(e[x(1761)]??e.y??0,t),i=st(e[x(1460)]??e.x??0,n),a=st(e.right??e.x??0,n);return{top:r,right:a,bottom:o,left:i,x:i+a,y:r+o}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function Rf(e,n,t,x,r,o){const i=c,{x:a,y:u}=G0(e,[n,t,x]),{x:s,y:d}=G0({x:e.x+e[i(575)],y:e.y+e[i(800)]},[n,t,x]),f=r-s,b=o-d;return{left:Math[i(405)](a),top:Math[i(405)](u),right:Math[i(405)](f),bottom:Math[i(405)](b)}}const Kx=(e,n,t,x,r,o)=>{const i=c,a=Zf(o,n,t),u=(n-a.x)/e[i(575)],s=(t-a.y)/e[i(800)],d=Math[i(1291)](u,s),f=at(d,x,r),b=e.x+e[i(575)]/2,h=e.y+e.height/2,v=n/2-b*f,g=t/2-h*f,p=Rf(e,v,g,f,n,t),M={left:Math[i(1291)](p[i(1460)]-a[i(1460)],0),top:Math[i(1291)](p[i(534)]-a[i(534)],0),right:Math[i(1291)](p[i(1208)]-a[i(1208)],0),bottom:Math.min(p[i(1761)]-a.bottom,0)};return{x:v-M.left+M[i(1208)],y:g-M.top+M.bottom,zoom:f}},Xt=()=>typeof navigator!==c(891)&&navigator?.[c(1358)]?.[c(1836)](c(1819))>=0;function lt(e){const n=c;return e!=null&&e!==n(545)}function gn(e){const n=c;return{width:e[n(1575)]?.[n(575)]??e[n(575)]??e[n(1801)]??0,height:e[n(1575)]?.[n(800)]??e[n(800)]??e.initialHeight??0}}function ji(e){const n=c;return(e.measured?.[n(575)]??e.width??e[n(1801)])!==void 0&&(e.measured?.[n(800)]??e[n(800)]??e[n(1793)])!==void 0}function Ei(e,n={width:0,height:0},t,x,r){const o=c,i={...e},a=x.get(t);if(a){const u=a.origin||r;i.x+=a[o(1725)][o(1035)].x-(n[o(575)]??0)*u[0],i.y+=a[o(1725)].positionAbsolute.y-(n.height??0)*u[1]}return i}function Yi(e,n){const t=c;if(e[t(161)]!==n[t(161)])return!1;for(const x of e)if(!n[t(1949)](x))return!1;return!0}function Jf(){let e,n;return{promise:new Promise((x,r)=>{e=x,n=r}),resolve:e,reject:n}}function _f(e){return{...zi,...e||{}}}function Kt(e,{snapGrid:n=[0,0],snapToGrid:t=!1,transform:x,containerBounds:r}){const o=c,{x:i,y:a}=nn(e),u=Wt({x:i-(r?.[o(1460)]??0),y:a-(r?.top??0)},x),{x:s,y:d}=t?qt(u,n):u;return{xSnapped:s,ySnapped:d,...u}}const Zx=e=>({width:e[c(1508)],height:e[c(966)]}),Ui=e=>e?.[c(352)]?.()||window?.[c(860)],Ff=["INPUT",c(1516),c(979)];function Oi(e){const n=c,t=e.composedPath?.()?.[0]||e[n(1875)];return t?.[n(765)]!==1?!1:Ff[n(444)](t[n(1472)])||t[n(233)](n(284))||!!t.closest(n(317))}const Gi=e=>"clientX"in e,nn=(e,n)=>{const t=c,x=Gi(e),r=x?e[t(1669)]:e[t(578)]?.[0].clientX,o=x?e[t(302)]:e[t(578)]?.[0][t(302)];return{x:r-(n?.left??0),y:o-(n?.[t(534)]??0)}},Ti=(e,n,t,x,r)=>{const o=c,i=n.querySelectorAll("."+e);return!i||!i[o(586)]?null:Array[o(1256)](i)[o(1779)](a=>{const u=o,s=a.getBoundingClientRect();return{id:a[u(1396)]("data-handleid"),type:e,nodeId:r,position:a[u(1396)](u(1649)),x:(s[u(1460)]-t.left)/x,y:(s.top-t.top)/x,...Zx(a)}})};function Hi({sourceX:e,sourceY:n,targetX:t,targetY:x,sourceControlX:r,sourceControlY:o,targetControlX:i,targetControlY:a}){const u=c,s=e*.125+r*.375+i*.375+t*.125,d=n*.125+o*.375+a*.375+x*.125,f=Math[u(1534)](s-e),b=Math.abs(d-n);return[s,d,f,b]}function T0(e,n){const t=c;return e>=0?.5*e:n*25*Math[t(874)](-e)}function Vi({pos:e,x1:n,y1:t,x2:x,y2:r,c:o}){const i=c;switch(e){case fe[i(1953)]:return[n-T0(n-x,o),t];case fe.Right:return[n+T0(x-n,o),t];case fe[i(331)]:return[n,t-T0(t-r,o)];case fe[i(1113)]:return[n,t+T0(r-t,o)]}}function qi({sourceX:e,sourceY:n,sourcePosition:t=fe[c(1113)],targetX:x,targetY:r,targetPosition:o=fe[c(331)],curvature:i=.25}){const[a,u]=Vi({pos:t,x1:e,y1:n,x2:x,y2:r,c:i}),[s,d]=Vi({pos:o,x1:x,y1:r,x2:e,y2:n,c:i}),[f,b,h,v]=Hi({sourceX:e,sourceY:n,targetX:x,targetY:r,sourceControlX:a,sourceControlY:u,targetControlX:s,targetControlY:d});return["M"+e+","+n+" C"+a+","+u+" "+s+","+d+" "+x+","+r,f,b,h,v]}function Wi({sourceX:e,sourceY:n,targetX:t,targetY:x}){const r=c,o=Math[r(1534)](t-e)/2,i=t<e?t+o:t-o,a=Math.abs(x-n)/2,u=x<n?x+a:x-a;return[i,u,o,a]}function Qf({sourceNode:e,targetNode:n,selected:t=!1,zIndex:x=0,elevateOnSelect:r=!1,zIndexMode:o="basic"}){const i=c;if(o===i(1901))return x;const a=r&&t?x+1e3:x,u=Math[i(1122)](e.parentId||r&&e.selected?e[i(1725)].z:0,n.parentId||r&&n.selected?n[i(1725)].z:0);return a+u}function $f({sourceNode:e,targetNode:n,width:t,height:x,transform:r}){const o=Y0(O0(e),O0(n));o.x===o.x2&&(o.x2+=1),o.y===o.y2&&(o.y2+=1);const i={x:-r[0]/r[2],y:-r[1]/r[2],width:t/r[2],height:x/r[2]};return Vt(i,U0(o))>0}const e2=({source:e,sourceHandle:n,target:t,targetHandle:x})=>"xy-edge__"+e+(n||"")+"-"+t+(x||""),n2=(e,n)=>{const t=c;return n[t(1385)](x=>x[t(385)]===e[t(385)]&&x[t(1875)]===e[t(1875)]&&(x.sourceHandle===e[t(1199)]||!x[t(1199)]&&!e[t(1199)])&&(x[t(1026)]===e[t(1026)]||!x[t(1026)]&&!e[t(1026)]))},Xi=(e,n,t={})=>{const x=c;if(!e.source||!e[x(1875)])return Ai(x(1448),Xe.error006()),n;const r=t[x(1599)]||e2;let o;return Di(e)?o={...e}:o={...e,id:r(e)},n2(o,n)?n:(o[x(1199)]===null&&delete o[x(1199)],o[x(1026)]===null&&delete o.targetHandle,n[x(174)](o))};function Ki({sourceX:e,sourceY:n,targetX:t,targetY:x}){const[r,o,i,a]=Wi({sourceX:e,sourceY:n,targetX:t,targetY:x});return["M "+e+","+n+"L "+t+","+x,r,o,i,a]}const Zi={[fe[c(1953)]]:{x:-1,y:0},[fe[c(209)]]:{x:1,y:0},[fe.Top]:{x:0,y:-1},[fe[c(1113)]]:{x:0,y:1}},t2=({source:e,sourcePosition:n=fe[c(1113)],target:t})=>{const x=c;return n===fe[x(1953)]||n===fe[x(209)]?e.x<t.x?{x:1,y:0}:{x:-1,y:0}:e.y<t.y?{x:0,y:1}:{x:0,y:-1}},Ri=(e,n)=>Math[c(874)](Math[c(1479)](n.x-e.x,2)+Math[c(1479)](n.y-e.y,2));function x2({source:e,sourcePosition:n=fe[c(1113)],target:t,targetPosition:x=fe[c(331)],center:r,offset:o,stepPosition:i}){const a=c,u=Zi[n],s=Zi[x],d={x:e.x+u.x*o,y:e.y+u.y*o},f={x:t.x+s.x*o,y:t.y+s.y*o},b=t2({source:d,sourcePosition:n,target:f}),h=b.x!==0?"x":"y",v=b[h];let g=[],p,M;const m={x:0,y:0},w={x:0,y:0},[,,y,C]=Wi({sourceX:e.x,sourceY:e.y,targetX:t.x,targetY:t.y});if(u[h]*s[h]===-1){h==="x"?(p=r.x??d.x+(f.x-d.x)*i,M=r.y??(d.y+f.y)/2):(p=r.x??(d.x+f.x)/2,M=r.y??d.y+(f.y-d.y)*i);const T=[{x:p,y:d.y},{x:p,y:f.y}],U=[{x:d.x,y:M},{x:f.x,y:M}];u[h]===v?g=h==="x"?T:U:g=h==="x"?U:T}else{const T=[{x:d.x,y:f.y}],U=[{x:f.x,y:d.y}];if(h==="x"?g=u.x===v?U:T:g=u.y===v?T:U,n===x){const N=Math[a(1534)](e[h]-t[h]);if(N<=o){const B=Math.min(o-1,o-N);u[h]===v?m[h]=(d[h]>e[h]?-1:1)*B:w[h]=(f[h]>t[h]?-1:1)*B}}if(n!==x){const N=h==="x"?"y":"x",B=u[h]===s[N],D=d[N]>f[N],j=d[N]<f[N];(u[h]===1&&(!B&&D||B&&j)||u[h]!==1&&(!B&&j||B&&D))&&(g=h==="x"?T:U)}const Q={x:d.x+m.x,y:d.y+m.y},X={x:f.x+w.x,y:f.y+w.y},W=Math[a(1122)](Math.abs(Q.x-g[0].x),Math.abs(X.x-g[0].x)),G=Math[a(1122)](Math[a(1534)](Q.y-g[0].y),Math[a(1534)](X.y-g[0].y));W>=G?(p=(Q.x+X.x)/2,M=g[0].y):(p=g[0].x,M=(Q.y+X.y)/2)}const I={x:d.x+m.x,y:d.y+m.y},Y={x:f.x+w.x,y:f.y+w.y};return[[e,...I.x!==g[0].x||I.y!==g[0].y?[I]:[],...g,...Y.x!==g[g[a(586)]-1].x||Y.y!==g[g.length-1].y?[Y]:[],t],p,M,y,C]}function o2(e,n,t,x){const r=Math.min(Ri(e,n)/2,Ri(n,t)/2,x),{x:o,y:i}=n;if(e.x===o&&o===t.x||e.y===i&&i===t.y)return"L"+o+" "+i;if(e.y===i){const s=e.x<t.x?-1:1,d=e.y<t.y?1:-1;return"L "+(o+r*s)+","+i+"Q "+o+","+i+" "+o+","+(i+r*d)}const a=e.x<t.x?1:-1,u=e.y<t.y?-1:1;return"L "+o+","+(i+r*u)+"Q "+o+","+i+" "+(o+r*a)+","+i}function Rx({sourceX:e,sourceY:n,sourcePosition:t=fe[c(1113)],targetX:x,targetY:r,targetPosition:o=fe[c(331)],borderRadius:i=5,centerX:a,centerY:u,offset:s=20,stepPosition:d=.5}){const f=c,[b,h,v,g,p]=x2({source:{x:e,y:n},sourcePosition:t,target:{x,y:r},targetPosition:o,center:{x:a,y:u},offset:s,stepPosition:d});let M="M"+b[0].x+" "+b[0].y;for(let m=1;m<b[f(586)]-1;m++)M+=o2(b[m-1],b[m],b[m+1],i);return M+="L"+b[b[f(586)]-1].x+" "+b[b.length-1].y,[M,h,v,g,p]}function Ji(e){const n=c;return e&&!!(e.internals[n(1824)]||e[n(619)]?.length)&&!!(e[n(1575)][n(575)]||e[n(575)]||e[n(1801)])}function r2(e){const n=c,{sourceNode:t,targetNode:x}=e;if(!Ji(t)||!Ji(x))return null;const r=t[n(1725)][n(1824)]||_i(t[n(619)]),o=x.internals[n(1824)]||_i(x[n(619)]),i=Fi(r?.[n(385)]??[],e[n(1199)]),a=Fi(e[n(712)]===it[n(311)]?o?.[n(1875)]??[]:(o?.target??[])[n(174)](o?.[n(385)]??[]),e[n(1026)]);if(!i||!a)return e[n(947)]?.(n(1447),Xe.error008(n(i?1875:385),{id:e.id,sourceHandle:e[n(1199)],targetHandle:e.targetHandle})),null;const u=i?.position||fe[n(1113)],s=a?.[n(1604)]||fe.Top,d=Hn(t,i,u),f=Hn(x,a,s);return{sourceX:d.x,sourceY:d.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:s}}function _i(e){const n=c;if(!e)return null;const t=[],x=[];for(const r of e)r[n(575)]=r[n(575)]??1,r[n(800)]=r[n(800)]??1,r[n(954)]==="source"?t[n(177)](r):r[n(954)]===n(1875)&&x[n(177)](r);return{source:t,target:x}}function Hn(e,n,t=fe[c(1953)],x=!1){const r=c,o=(n?.x??0)+e[r(1725)][r(1035)].x,i=(n?.y??0)+e[r(1725)].positionAbsolute.y,{width:a,height:u}=n??gn(e);if(x)return{x:o+a/2,y:i+u/2};switch(n?.position??t){case fe[r(331)]:return{x:o+a/2,y:i};case fe[r(209)]:return{x:o+a,y:i+u/2};case fe.Bottom:return{x:o+a/2,y:i+u};case fe[r(1953)]:return{x:o,y:i+u/2}}}function Fi(e,n){const t=c;return e&&(n?e[t(871)](x=>x.id===n):e[0])||null}function Jx(e,n){const t=c;return e?typeof e===t(816)?e:""+(n?n+"__":"")+Object[t(964)](e).sort()[t(1779)](r=>r+"="+e[r])[t(1856)]("&"):""}function i2(e,{id:n,defaultColor:t,defaultMarkerStart:x,defaultMarkerEnd:r}){const o=c,i=new Set;return e.reduce((a,u)=>{const s=_0x4b9b;return[u[s(1974)]||x,u[s(869)]||r][s(366)](d=>{const f=s;if(d&&typeof d===f(1057)){const b=Jx(d,n);!i[f(1949)](b)&&(a[f(177)]({id:b,color:d[f(258)]||t,...d}),i.add(b))}}),a},[])[o(1540)]((a,u)=>a.id.localeCompare(u.id))}const Qi=1e3,a2=10,_x={nodeOrigin:[0,0],nodeExtent:Ot,elevateNodesOnSelect:!0,zIndexMode:c(590),defaults:{}},c2={..._x,checkEquality:!0};function Fx(e,n){const t={...e};for(const x in n)n[x]!==void 0&&(t[x]=n[x]);return t}function s2(e,n,t){const x=c,r=Fx(_x,t);for(const o of e[x(269)]())if(o[x(934)])eo(o,e,n,r);else{const i=Tt(o,r.nodeOrigin),a=lt(o.extent)?o.extent:r[x(665)],u=Tn(i,a,gn(o));o[x(1725)][x(1035)]=u}}function l2(e,n){const t=c;if(!e[t(619)])return e.measured?n?.[t(1725)][t(1824)]:void 0;const x=[],r=[];for(const o of e.handles){const i={id:o.id,width:o[t(575)]??1,height:o.height??1,nodeId:e.id,x:o.x,y:o.y,position:o[t(1604)],type:o[t(954)]};o[t(954)]===t(385)?x[t(177)](i):o[t(954)]==="target"&&r[t(177)](i)}return{source:x,target:r}}function Qx(e){return e===c(1901)}function $x(e,n,t,x={}){const r=c,o=Fx(c2,x),i={i:0},a=new Map(n),u=o?.[r(256)]&&!Qx(o.zIndexMode)?Qi:0;let s=e[r(586)]>0,d=!1;n[r(1364)](),t.clear();for(const f of e){let b=a[r(1450)](f.id);if(o[r(854)]&&f===b?.[r(1725)][r(1527)])n.set(f.id,b);else{const h=Tt(f,o[r(1372)]),v=lt(f.extent)?f.extent:o.nodeExtent,g=Tn(h,v,gn(f));b={...o[r(1041)],...f,measured:{width:f.measured?.[r(575)],height:f.measured?.[r(800)]},internals:{positionAbsolute:g,handleBounds:l2(f,b),z:$i(f,u,o.zIndexMode),userNode:f}},n[r(901)](f.id,b)}(b[r(1575)]===void 0||b.measured[r(575)]===void 0||b[r(1575)][r(800)]===void 0)&&!b[r(1061)]&&(s=!1),f[r(934)]&&eo(b,n,t,x,i),d||=f[r(833)]??!1}return{nodesInitialized:s,hasSelectedNodes:d}}function d2(e,n){const t=c;if(!e[t(934)])return;const x=n.get(e[t(934)]);x?x[t(901)](e.id,e):n.set(e[t(934)],new Map([[e.id,e]]))}function eo(e,n,t,x,r){const o=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:u,zIndexMode:s}=Fx(_x,x),d=e[o(934)],f=n[o(1450)](d);if(!f){console[o(823)](o(452)+d+o(1641));return}d2(e,t),r&&!f[o(934)]&&f.internals[o(1837)]===void 0&&s===o(661)&&(f[o(1725)].rootParentIndex=++r.i,f[o(1725)].z=f.internals.z+r.i*a2),r&&f.internals[o(1837)]!==void 0&&(r.i=f[o(1725)][o(1837)]);const b=i&&!Qx(s)?Qi:0,{x:h,y:v,z:g}=u2(e,f,a,u,b,s),{positionAbsolute:p}=e[o(1725)],M=h!==p.x||v!==p.y;(M||g!==e.internals.z)&&n[o(901)](e.id,{...e,internals:{...e[o(1725)],positionAbsolute:M?{x:h,y:v}:p,z:g}})}function $i(e,n,t){const x=c,r=en(e.zIndex)?e[x(1019)]:0;return Qx(t)?r:r+(e[x(833)]?n:0)}function u2(e,n,t,x,r,o){const i=c,{x:a,y:u}=n.internals[i(1035)],s=gn(e),d=Tt(e,t),f=lt(e[i(1874)])?Tn(d,e[i(1874)],s):d;let b=Tn({x:a+f.x,y:u+f.y},x,s);e[i(1874)]===i(545)&&(b=Ni(b,s,n));const h=$i(e,r,o),v=n.internals.z??0;return{x:b.x,y:b.y,z:v>=h?v+1:h}}function no(e,n,t,x=[0,0]){const r=c,o=[],i=new Map;for(const a of e){const u=n[r(1450)](a[r(934)]);if(!u)continue;const s=i[r(1450)](a[r(934)])?.[r(1622)]??ct(u),d=Ii(s,a[r(390)]);i.set(a[r(934)],{expandedRect:d,parent:u})}return i[r(161)]>0&&i[r(366)](({expandedRect:a,parent:u},s)=>{const d=r,f=u[d(1725)][d(1035)],b=gn(u),h=u[d(1265)]??x,v=a.x<f.x?Math[d(846)](Math[d(1534)](f.x-a.x)):0,g=a.y<f.y?Math[d(846)](Math[d(1534)](f.y-a.y)):0,p=Math.max(b[d(575)],Math[d(846)](a.width)),M=Math.max(b[d(800)],Math[d(846)](a[d(800)])),m=(p-b[d(575)])*h[0],w=(M-b[d(800)])*h[1];(v>0||g>0||m||w)&&(o.push({id:s,type:"position",position:{x:u[d(1604)].x-v+m,y:u.position.y-g+w}}),t[d(1450)](s)?.[d(366)](y=>{const C=d;!e[C(1385)](I=>I.id===y.id)&&o[C(177)]({id:y.id,type:C(1604),position:{x:y.position.x+v,y:y.position.y+g}})})),(b.width<a[d(575)]||b.height<a[d(800)]||v||g)&&o.push({id:s,type:"dimensions",setAttributes:!0,dimensions:{width:p+(v?h[0]*v-m:0),height:M+(g?h[1]*g-w:0)}})}),o}function f2(e,n,t,x,r,o,i){const a=c,u=x?.querySelector(a(1422));let s=!1;if(!u)return{changes:[],updatedInternals:s};const d=[],f=window[a(1503)](u),{m22:b}=new window[a(624)](f.transform),h=[];for(const v of e[a(269)]()){const g=n[a(1450)](v.id);if(!g)continue;if(g[a(1061)]){n.set(g.id,{...g,internals:{...g.internals,handleBounds:void 0}}),s=!0;continue}const p=Zx(v[a(1614)]),M=g[a(1575)][a(575)]!==p[a(575)]||g[a(1575)][a(800)]!==p[a(800)];if(!!(p[a(575)]&&p[a(800)]&&(M||!g[a(1725)].handleBounds||v[a(605)]))){const w=v[a(1614)][a(1704)](),y=lt(g.extent)?g[a(1874)]:o;let{positionAbsolute:C}=g.internals;g[a(934)]&&g[a(1874)]===a(545)?C=Ni(C,p,n[a(1450)](g.parentId)):y&&(C=Tn(C,y,p));const I={...g,measured:p,internals:{...g.internals,positionAbsolute:C,handleBounds:{source:Ti(a(385),v.nodeElement,w,b,g.id),target:Ti(a(1875),v[a(1614)],w,b,g.id)}}};n[a(901)](g.id,I),g[a(934)]&&eo(I,n,t,{nodeOrigin:r,zIndexMode:i}),s=!0,M&&(d[a(177)]({id:g.id,type:"dimensions",dimensions:p}),g[a(843)]&&g[a(934)]&&h[a(177)]({id:g.id,parentId:g[a(934)],rect:ct(I,r)}))}}if(h[a(586)]>0){const v=no(h,n,t,r);d[a(177)](...v)}return{changes:d,updatedInternals:s}}async function b2({delta:e,panZoom:n,transform:t,translateExtent:x,width:r,height:o}){const i=c;if(!n||!e.x&&!e.y)return Promise[i(817)](!1);const a=await n[i(1402)]({x:t[0]+e.x,y:t[1]+e.y,zoom:t[2]},[[0,0],[r,o]],x),u=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(817)](u)}function ea(e,n,t,x,r,o){const i=c;let a=r;const u=x[i(1450)](a)||new Map;x[i(901)](a,u[i(901)](t,n)),a=r+"-"+e;const s=x.get(a)||new Map;if(x[i(901)](a,s.set(t,n)),o){a=r+"-"+e+"-"+o;const d=x[i(1450)](a)||new Map;x[i(901)](a,d[i(901)](t,n))}}function na(e,n,t){const x=c;e[x(1364)](),n.clear();for(const r of t){const{source:o,target:i,sourceHandle:a=null,targetHandle:u=null}=r,s={edgeId:r.id,source:o,target:i,sourceHandle:a,targetHandle:u},d=o+"-"+a+"--"+i+"-"+u,f=i+"-"+u+"--"+o+"-"+a;ea("source",s,f,e,o,a),ea("target",s,d,e,i,u),n[x(901)](r.id,r)}}function ta(e,n){const t=c;if(!e.parentId)return!1;const x=n[t(1450)](e.parentId);return x?x[t(833)]?!0:ta(x,n):!1}function xa(e,n,t){const x=c;let r=e;do{if(r?.[x(1904)]?.(n))return!0;if(r===t)return!1;r=r?.parentElement}while(r);return!1}function h2(e,n,t,x){const r=c,o=new Map;for(const[i,a]of e)if((a[r(833)]||a.id===x)&&(!a[r(934)]||!ta(a,e))&&(a[r(1828)]||n&&typeof a[r(1828)]===r(891))){const u=e.get(i);u&&o[r(901)](i,{id:i,position:u[r(1604)]||{x:0,y:0},distance:{x:t.x-u[r(1725)].positionAbsolute.x,y:t.y-u[r(1725)][r(1035)].y},extent:u[r(1874)],parentId:u[r(934)],origin:u[r(1265)],expandParent:u[r(843)],internals:{positionAbsolute:u[r(1725)][r(1035)]||{x:0,y:0}},measured:{width:u.measured[r(575)]??0,height:u[r(1575)].height??0}})}return o}function to({nodeId:e,dragItems:n,nodeLookup:t,dragging:x=!0}){const r=c,o=[];for(const[a,u]of n){const s=t[r(1450)](a)?.[r(1725)].userNode;s&&o[r(177)]({...s,position:u[r(1604)],dragging:x})}if(!e)return[o[0],o];const i=t[r(1450)](e)?.[r(1725)][r(1527)];return[i?{...i,position:n[r(1450)](e)?.position||i[r(1604)],dragging:x}:o[0],o]}function g2({dragItems:e,snapGrid:n,x:t,y:x}){const r=c,o=e.values()[r(218)]()[r(1161)];if(!o)return null;const i={x:t-o[r(722)].x,y:x-o.distance.y},a=qt(i,n);return{x:a.x-i.x,y:a.y-i.y}}function y2({onNodeMouseDown:e,getStoreItems:n,onDragStart:t,onDrag:x,onDragStop:r}){let o={x:null,y:null},i=0,a=new Map,u=!1,s={x:0,y:0},d=null,f=!1,b=null,h=!1,v=!1,g=null;function p({noDragClassName:m,handleSelector:w,domNode:y,isSelectable:C,nodeId:I,nodeClickDistance:Y=0}){const O=_0x4b9b;b=We(y);function T({x:W,y:G}){const N=_0x4b9b,{nodeLookup:B,nodeExtent:D,snapGrid:j,snapToGrid:A,nodeOrigin:P,onNodeDrag:Z,onSelectionDrag:_,onError:R,updateNodePositions:ee}=n();o={x:W,y:G};let xe=!1;const ae=a[N(161)]>1,ce=ae&&D?Xx(Ht(a)):null,ie=ae&&A?g2({dragItems:a,snapGrid:j,x:W,y:G}):null;for(const[oe,ne]of a){if(!B[N(1949)](oe))continue;let se={x:W-ne[N(722)].x,y:G-ne[N(722)].y};A&&(se=ie?{x:Math[N(846)](se.x+ie.x),y:Math[N(846)](se.y+ie.y)}:qt(se,j));let S=null;if(ae&&D&&!ne[N(1874)]&&ce){const{positionAbsolute:q}=ne[N(1725)],V=q.x-ce.x+D[0][0],F=q.x+ne[N(1575)].width-ce.x2+D[1][0],de=q.y-ce.y+D[0][1],me=q.y+ne.measured[N(800)]-ce.y2+D[1][1];S=[[V,de],[F,me]]}const{position:k,positionAbsolute:K}=Li({nodeId:oe,nextPosition:se,nodeLookup:B,nodeExtent:S||D,nodeOrigin:P,onError:R});xe=xe||ne.position.x!==k.x||ne[N(1604)].y!==k.y,ne.position=k,ne.internals.positionAbsolute=K}if(v=v||xe,!!xe&&(ee(a,!0),g&&(x||Z||!I&&_))){const[oe,ne]=to({nodeId:I,dragItems:a,nodeLookup:B});x?.(g,a,oe,ne),Z?.(g,oe,ne),!I&&_?.(g,ne)}}async function U(){if(!d)return;const{transform:W,panBy:G,autoPanSpeed:N,autoPanOnNodeDrag:B}=n();if(!B){u=!1,cancelAnimationFrame(i);return}const[D,j]=ki(s,d,N);(D!==0||j!==0)&&(o.x=(o.x??0)-D/W[2],o.y=(o.y??0)-j/W[2],await G({x:D,y:j})&&T(o)),i=requestAnimationFrame(U)}function Q(W){const G=_0x4b9b,{nodeLookup:N,multiSelectionActive:B,nodesDraggable:D,transform:j,snapGrid:A,snapToGrid:P,selectNodesOnDrag:Z,onNodeDragStart:_,onSelectionDragStart:R,unselectNodesAndEdges:ee}=n();f=!0,(!Z||!C)&&!B&&I&&!N[G(1450)](I)?.[G(833)]&&ee(),C&&Z&&I&&e?.(I);const xe=Kt(W.sourceEvent,{transform:j,snapGrid:A,snapToGrid:P,containerBounds:d});if(o=xe,a=h2(N,D,xe,I),a[G(161)]>0&&(t||_||!I&&R)){const[ae,ce]=to({nodeId:I,dragItems:a,nodeLookup:N});t?.(W[G(1168)],a,ae,ce),_?.(W[G(1168)],ae,ce),!I&&R?.(W[G(1168)],ce)}}const X=Wr().clickDistance(Y).on(O(750),W=>{const G=O,{domNode:N,nodeDragThreshold:B,transform:D,snapGrid:j,snapToGrid:A}=n();d=N?.getBoundingClientRect()||null,h=!1,v=!1,g=W[G(1168)],B===0&&Q(W),o=Kt(W[G(1168)],{transform:D,snapGrid:j,snapToGrid:A,containerBounds:d}),s=nn(W[G(1168)],d)}).on(O(921),W=>{const G=O,{autoPanOnNodeDrag:N,transform:B,snapGrid:D,snapToGrid:j,nodeDragThreshold:A,nodeLookup:P}=n(),Z=Kt(W[G(1168)],{transform:B,snapGrid:D,snapToGrid:j,containerBounds:d});if(g=W[G(1168)],(W[G(1168)].type===G(227)&&W[G(1168)][G(578)][G(586)]>1||I&&!P[G(1949)](I))&&(h=!0),!h){if(!u&&N&&f&&(u=!0,U()),!f){const _=nn(W[G(1168)],d),R=_.x-s.x,ee=_.y-s.y;Math[G(874)](R*R+ee*ee)>A&&Q(W)}(o.x!==Z[G(1188)]||o.y!==Z[G(1424)])&&a&&f&&(s=nn(W[G(1168)],d),T(Z))}}).on(O(935),W=>{const G=O;if(!(!f||h)&&(u=!1,f=!1,cancelAnimationFrame(i),a[G(161)]>0)){const{nodeLookup:N,updateNodePositions:B,onNodeDragStop:D,onSelectionDragStop:j}=n();if(v&&(B(a,!1),v=!1),r||D||!I&&j){const[A,P]=to({nodeId:I,dragItems:a,nodeLookup:N,dragging:!1});r?.(W[G(1168)],a,A,P),D?.(W.sourceEvent,A,P),!I&&j?.(W[G(1168)],P)}}})[O(917)](W=>{const G=O,N=W[G(1875)];return!W.button&&(!m||!xa(N,"."+m,y))&&(!w||xa(N,w,y))});b[O(211)](X)}function M(){const m=_0x4b9b;b?.on(m(300),null)}return{update:p,destroy:M}}function m2(e,n,t){const x=c,r=[],o={x:e.x-t,y:e.y-t,width:t*2,height:t*2};for(const i of n.values())Vt(o,ct(i))>0&&r[x(177)](i);return r}const w2=250;function v2(e,n,t,x){const r=c;let o=[],i=1/0;const a=m2(e,t,n+w2);for(const u of a){const s=[...u[r(1725)][r(1824)]?.[r(385)]??[],...u.internals.handleBounds?.[r(1875)]??[]];for(const d of s){if(x[r(1855)]===d[r(1855)]&&x[r(954)]===d[r(954)]&&x.id===d.id)continue;const{x:f,y:b}=Hn(u,d,d[r(1604)],!0),h=Math[r(874)](Math.pow(f-e.x,2)+Math[r(1479)](b-e.y,2));h>n||(h<i?(o=[{...d,x:f,y:b}],i=h):h===i&&o[r(177)]({...d,x:f,y:b}))}}if(!o.length)return null;if(o[r(586)]>1){const u=x.type===r(385)?r(1875):r(385);return o[r(871)](s=>s[r(954)]===u)??o[0]}return o[0]}function oa(e,n,t,x,r,o=!1){const i=c,a=x.get(e);if(!a)return null;const u=r===i(1777)?a.internals[i(1824)]?.[n]:[...a[i(1725)].handleBounds?.[i(385)]??[],...a[i(1725)][i(1824)]?.[i(1875)]??[]],s=(t?u?.[i(871)](d=>d.id===t):u?.[0])??null;return s&&o?{...s,...Hn(a,s,s[i(1604)],!0)}:s}function ra(e,n){const t=c;return e||(n?.[t(1108)][t(1652)]("target")?t(1875):n?.classList[t(1652)](t(385))?t(385):null)}function p2(e,n){let t=null;return n?t=!0:e&&!n&&(t=!1),t}const ia=()=>!0;function z2(e,{connectionMode:n,connectionRadius:t,handleId:x,nodeId:r,edgeUpdaterType:o,isTarget:i,domNode:a,nodeLookup:u,lib:s,autoPanOnConnect:d,flowId:f,panBy:b,cancelConnection:h,onConnectStart:v,onConnect:g,onConnectEnd:p,isValidConnection:M=ia,onReconnectEnd:m,updateConnection:w,getTransform:y,getFromHandle:C,autoPanSpeed:I,dragThreshold:Y=1,handleDomNode:O}){const T=c,U=Ui(e[T(1875)]);let Q=0,X;const{x:W,y:G}=nn(e),N=ra(o,O),B=a?.[T(1704)]();let D=!1;if(!B||!N)return;const j=oa(r,N,x,u,n);if(!j)return;let A=nn(e,B),P=!1,Z=null,_=!1,R=null;function ee(){if(!d||!B)return;const[S,k]=ki(A,B,I);b({x:S,y:k}),Q=requestAnimationFrame(ee)}const xe={...j,nodeId:r,type:N,position:j.position},ae=u[T(1450)](r);let ie={inProgress:!0,isValid:null,from:Hn(ae,xe,fe[T(1953)],!0),fromHandle:xe,fromPosition:xe[T(1604)],fromNode:ae,to:A,toHandle:null,toPosition:Mi[xe[T(1604)]],toNode:null,pointer:A};function oe(){D=!0,w(ie),v?.(e,{nodeId:r,handleId:x,handleType:N})}Y===0&&oe();function ne(S){const k=T;if(!D){const{x:me,y:he}=nn(S),we=me-W,Ne=he-G;if(!(we*we+Ne*Ne>Y*Y))return;oe()}if(!C()||!xe){se(S);return}const K=y();A=nn(S,B),X=v2(Wt(A,K,!1,[1,1]),t,u,xe),!P&&(ee(),P=!0);const q=aa(S,{handle:X,connectionMode:n,fromNodeId:r,fromHandleId:x,fromType:k(i?1875:385),isValidConnection:M,doc:U,lib:s,flowId:f,nodeLookup:u});R=q[k(1083)],Z=q[k(330)],_=p2(!!X,q[k(1906)]);const V=u[k(1450)](r),F=V?Hn(V,xe,fe[k(1953)],!0):ie[k(1256)],de={...ie,from:F,isValid:_,to:q[k(291)]&&_?G0({x:q[k(291)].x,y:q[k(291)].y},K):A,toHandle:q[k(291)],toPosition:_&&q.toHandle?q.toHandle.position:Mi[xe.position],toNode:q[k(291)]?u[k(1450)](q.toHandle[k(1855)]):null,pointer:A};w(de),ie=de}function se(S){const k=T;if(!("touches"in S&&S[k(578)].length>0)){if(D){(X||R)&&Z&&_&&g?.(Z);const{inProgress:K,...q}=ie,V={...q,toPosition:ie[k(291)]?ie[k(533)]:null};p?.(S,V),o&&m?.(S,V)}h(),cancelAnimationFrame(Q),P=!1,_=!1,Z=null,R=null,U[k(1240)]("mousemove",ne),U[k(1240)](k(1486),se),U[k(1240)](k(227),ne),U[k(1240)](k(653),se)}}U[T(1947)]("mousemove",ne),U[T(1947)](T(1486),se),U.addEventListener(T(227),ne),U[T(1947)](T(653),se)}function aa(e,{handle:n,connectionMode:t,fromNodeId:x,fromHandleId:r,fromType:o,doc:i,lib:a,flowId:u,isValidConnection:s=ia,nodeLookup:d}){const f=c,b=o===f(1875),h=n?i[f(713)]("."+a+f(1338)+u+"-"+n?.nodeId+"-"+n?.id+"-"+n?.[f(954)]+'"]'):null,{x:v,y:g}=nn(e),p=i[f(640)](v,g),M=p?.[f(1108)][f(1652)](a+f(848))?p:h,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const w=ra(void 0,M),y=M[f(1396)](f(1135)),C=M[f(1396)](f(235)),I=M[f(1108)].contains(f(1007)),Y=M.classList[f(1652)]("connectableend");if(!y||!w)return m;const O={source:b?y:x,sourceHandle:b?C:r,target:b?x:y,targetHandle:b?r:C};m[f(330)]=O;const T=I&&Y,U=T&&(t===it[f(311)]?b&&w===f(385)||!b&&w===f(1875):y!==x||C!==r);m[f(1906)]=U&&s(O),m[f(291)]=oa(y,w,C,d,t,!0)}return m}const xo={onPointerDown:z2,isValid:aa};function C2({domNode:e,panZoom:n,getTransform:t,getViewScale:x}){const r=We(e);function o({translateExtent:a,width:u,height:s,zoomStep:d=1,pannable:f=!0,zoomable:b=!0,inversePan:h=!1}){const v=_0x4b9b,g=y=>{const C=_0x4b9b;if(y[C(1168)].type!==C(591)||!n)return;const I=t(),Y=y[C(1168)][C(1137)]&&Xt()?10:1,O=-y[C(1168)][C(1210)]*(y[C(1168)][C(1091)]===1?.05:y[C(1168)][C(1091)]?1:.002)*d,T=I[2]*Math[C(1479)](2,O*Y);n[C(433)](T)};let p=[0,0];const M=y=>{const C=_0x4b9b;(y[C(1168)][C(954)]===C(651)||y[C(1168)][C(954)]===C(1651))&&(p=[y[C(1168)][C(1669)]??y.sourceEvent[C(578)][0].clientX,y[C(1168)].clientY??y[C(1168)][C(578)][0][C(302)]])},m=y=>{const C=_0x4b9b,I=t();if(y.sourceEvent[C(954)]!=="mousemove"&&y[C(1168)][C(954)]!==C(227)||!n)return;const Y=[y[C(1168)][C(1669)]??y[C(1168)].touches[0][C(1669)],y[C(1168)][C(302)]??y[C(1168)][C(578)][0][C(302)]],O=[Y[0]-p[0],Y[1]-p[1]];p=Y;const T=x()*Math[C(1122)](I[2],Math.log(I[2]))*(h?-1:1),U={x:I[0]-O[0]*T,y:I[1]-O[1]*T},Q=[[0,0],[u,s]];n.setViewportConstrained({x:U.x,y:U.y,zoom:I[2]},Q,a)},w=vi().on(v(750),M).on("zoom",f?m:null).on("zoom.wheel",b?g:null);r[v(211)](w,{})}function i(){const a=_0x4b9b;r.on(a(1360),null)}return{update:o,destroy:i,pointer:Fe}}const H0=e=>({x:e.x,y:e.y,zoom:e.k}),oo=({x:e,y:n,zoom:t})=>j0[c(751)](e,n)[c(936)](t),dt=(e,n)=>e[c(1875)].closest("."+n),ca=(e,n)=>n===2&&Array.isArray(e)&&e[c(444)](2),M2=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,ro=(e,n=0,t=M2,x=()=>{})=>{const r=c,o=typeof n=="number"&&n>0;return!o&&x(),o?e[r(197)]()[r(558)](n)[r(1925)](t).on(r(935),x):e},sa=e=>{const n=c,t=e[n(1137)]&&Xt()?10:1;return-e[n(1210)]*(e[n(1091)]===1?.05:e[n(1091)]?1:.002)*t};function B2({zoomPanValues:e,noWheelClassName:n,d3Selection:t,d3Zoom:x,panOnScrollMode:r,panOnScrollSpeed:o,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:u,onPanZoomEnd:s}){return d=>{const f=_0x4b9b;if(dt(d,n))return d[f(1137)]&&d[f(1390)](),!1;d[f(1390)](),d[f(797)]();const b=t.property(f(271)).k||1;if(d.ctrlKey&&i){const M=Fe(d),m=sa(d),w=b*Math.pow(2,m);x[f(433)](t,w,M,d);return}const h=d.deltaMode===1?20:1;let v=r===Gn[f(314)]?0:d[f(1850)]*h,g=r===Gn[f(1626)]?0:d[f(1210)]*h;!Xt()&&d[f(563)]&&r!==Gn.Vertical&&(v=d.deltaY*h,g=0),x[f(841)](t,-(v/b)*o,-(g/b)*o,{internal:!0});const p=H0(t.property(f(271)));clearTimeout(e[f(1723)]),e[f(1852)]?(u?.(d,p),e[f(1723)]=setTimeout(()=>{const M=f;s?.(d,p),e[M(1852)]=!1},150)):(e[f(1852)]=!0,a?.(d,p))}}function D2({noWheelClassName:e,preventScrolling:n,d3ZoomHandler:t}){return function(x,r){const o=_0x4b9b,i=x[o(954)]==="wheel",a=!n&&i&&!x[o(1137)],u=dt(x,e);if(x[o(1137)]&&i&&u&&x[o(1390)](),a||u)return null;x[o(1390)](),t.call(this,x,r)}}function L2({zoomPanValues:e,onDraggingChange:n,onPanZoomStart:t}){return x=>{const r=_0x4b9b;if(x.sourceEvent?.[r(996)])return;const o=H0(x[r(1879)]);e[r(664)]=x[r(1168)]?.[r(1705)]||0,e[r(897)]=!0,e[r(1288)]=o,x[r(1168)]?.[r(954)]===r(651)&&n(!0),t&&t?.(x[r(1168)],o)}}function N2({zoomPanValues:e,panOnDrag:n,onPaneContextMenu:t,onTransformChange:x,onPanZoom:r}){return o=>{const i=_0x4b9b;e.usedRightMouseButton=!!(t&&ca(n,e[i(664)]??0)),!o[i(1168)]?.[i(736)]&&x([o[i(1879)].x,o[i(1879)].y,o[i(1879)].k]),r&&!o[i(1168)]?.[i(996)]&&r?.(o[i(1168)],H0(o[i(1879)]))}}function S2({zoomPanValues:e,panOnDrag:n,panOnScroll:t,onDraggingChange:x,onPanZoomEnd:r,onPaneContextMenu:o}){return i=>{const a=_0x4b9b;if(!i.sourceEvent?.[a(996)]&&(e[a(897)]=!1,o&&ca(n,e[a(664)]??0)&&!e[a(259)]&&i.sourceEvent&&o(i[a(1168)]),e.usedRightMouseButton=!1,x(!1),r)){const u=H0(i[a(1879)]);e[a(1288)]=u,clearTimeout(e[a(836)]),e[a(836)]=setTimeout(()=>{r?.(i[a(1168)],u)},t?150:0)}}}function k2({zoomActivationKeyPressed:e,zoomOnScroll:n,zoomOnPinch:t,panOnDrag:x,panOnScroll:r,zoomOnDoubleClick:o,userSelectionActive:i,noWheelClassName:a,noPanClassName:u,lib:s,connectionInProgress:d}){return f=>{const b=_0x4b9b,h=e||n,v=t&&f[b(1137)],g=f[b(954)]===b(591);if(f[b(1705)]===1&&f[b(954)]==="mousedown"&&(dt(f,s+b(516))||dt(f,s+b(215))))return!0;if(!x&&!h&&!r&&!o&&!t||i||d&&!g||dt(f,a)&&g||dt(f,u)&&(!g||r&&g&&!e)||!t&&f[b(1137)]&&g)return!1;if(!t&&f[b(954)]===b(1651)&&f.touches?.[b(586)]>1)return f[b(1390)](),!1;if(!h&&!r&&!v&&g||!x&&(f[b(954)]===b(651)||f[b(954)]===b(1651))||Array.isArray(x)&&!x[b(444)](f.button)&&f[b(954)]===b(651))return!1;const p=Array.isArray(x)&&x[b(444)](f[b(1705)])||!f[b(1705)]||f.button<=1;return(!f[b(1137)]||g)&&p}}function I2({domNode:e,minZoom:n,maxZoom:t,translateExtent:x,viewport:r,onPanZoom:o,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:u}){const s=c,d={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=e.getBoundingClientRect(),b=vi().scaleExtent([n,t]).translateExtent(x),h=We(e)[s(211)](b);w({x:r.x,y:r.y,zoom:at(r.zoom,n,t)},[[0,0],[f.width,f[s(800)]]],x);const v=h.on(s(183)),g=h.on(s(1094));b[s(341)](sa);function p(X,W){const G=s;return h?new Promise(N=>{const B=_0x4b9b;b?.[B(696)](W?.[B(696)]===B(1917)?Pt:M0)[B(1879)](ro(h,W?.[B(558)],W?.[B(1925)],()=>N(!0)),X)}):Promise[G(817)](!1)}function M({noWheelClassName:X,noPanClassName:W,onPaneContextMenu:G,userSelectionActive:N,panOnScroll:B,panOnDrag:D,panOnScrollMode:j,panOnScrollSpeed:A,preventScrolling:P,zoomOnPinch:Z,zoomOnScroll:_,zoomOnDoubleClick:R,zoomActivationKeyPressed:ee,lib:xe,onTransformChange:ae,connectionInProgress:ce,paneClickDistance:ie,selectionOnDrag:oe}){const ne=s;N&&!d[ne(897)]&&m();const se=B&&!ee&&!N;b[ne(1047)](oe?1/0:!en(ie)||ie<0?0:ie);const S=se?B2({zoomPanValues:d,noWheelClassName:X,d3Selection:h,d3Zoom:b,panOnScrollMode:j,panOnScrollSpeed:A,zoomOnPinch:Z,onPanZoomStart:i,onPanZoom:o,onPanZoomEnd:a}):D2({noWheelClassName:X,preventScrolling:P,d3ZoomHandler:v});if(h.on(ne(183),S,{passive:!1}),!N){const K=L2({zoomPanValues:d,onDraggingChange:u,onPanZoomStart:i});b.on("start",K);const q=N2({zoomPanValues:d,panOnDrag:D,onPaneContextMenu:!!G,onPanZoom:o,onTransformChange:ae});b.on(ne(1360),q);const V=S2({zoomPanValues:d,panOnDrag:D,panOnScroll:B,onPaneContextMenu:G,onPanZoomEnd:a,onDraggingChange:u});b.on(ne(935),V)}const k=k2({zoomActivationKeyPressed:ee,panOnDrag:D,zoomOnScroll:_,panOnScroll:B,zoomOnDoubleClick:R,zoomOnPinch:Z,userSelectionActive:N,noPanClassName:W,noWheelClassName:X,lib:xe,connectionInProgress:ce});b.filter(k),R?h.on(ne(1094),g):h.on(ne(1094),null)}function m(){const X=s;b.on(X(1360),null)}async function w(X,W,G){const N=oo(X),B=b?.constrain()(N,W,G);return B&&await p(B),new Promise(D=>D(B))}async function y(X,W){const G=oo(X);return await p(G,W),new Promise(N=>N(G))}function C(X){const W=s;if(h){const G=oo(X),N=h[W(659)](W(271));(N.k!==X[W(1360)]||N.x!==X.x||N.y!==X.y)&&b?.transform(h,G,null,{sync:!0})}}function I(){const X=h?mi(h.node()):{x:0,y:0,k:1};return{x:X.x,y:X.y,zoom:X.k}}function Y(X,W){const G=s;return h?new Promise(N=>{const B=_0x4b9b;b?.[B(696)](W?.[B(696)]===B(1917)?Pt:M0)[B(433)](ro(h,W?.[B(558)],W?.ease,()=>N(!0)),X)}):Promise[G(817)](!1)}function O(X,W){return h?new Promise(G=>{const N=_0x4b9b;b?.[N(696)](W?.[N(696)]===N(1917)?Pt:M0)[N(379)](ro(h,W?.[N(558)],W?.[N(1925)],()=>G(!0)),X)}):Promise.resolve(!1)}function T(X){b?.[s(287)](X)}function U(X){b?.[s(1643)](X)}function Q(X){const W=s,G=!en(X)||X<0?0:X;b?.[W(1047)](G)}return{update:M,destroy:m,setViewport:y,setViewportConstrained:w,getViewport:I,scaleTo:Y,scaleBy:O,setScaleExtent:T,setTranslateExtent:U,syncViewport:C,setClickDistance:Q}}var ut;(function(e){const n=c;e.Line=n(428),e[n(1326)]="handle"})(ut||(ut={}));function P2({width:e,prevWidth:n,height:t,prevHeight:x,affectsX:r,affectsY:o}){const i=e-n,a=t-x,u=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&r&&(u[0]=u[0]*-1),a&&o&&(u[1]=u[1]*-1),u}function la(e){const n=c,t=e[n(444)]("right")||e.includes(n(1460)),x=e[n(444)](n(1761))||e[n(444)](n(534)),r=e[n(444)](n(1460)),o=e.includes(n(534));return{isHorizontal:t,isVertical:x,affectsX:r,affectsY:o}}function Dn(e,n){return Math[c(1122)](0,n-e)}function Ln(e,n){return Math[c(1122)](0,e-n)}function V0(e,n,t){return Math.max(0,n-e,e-t)}function da(e,n){return e?!n:n}function A2(e,n,t,x,r,o,i,a){const u=c;let{affectsX:s,affectsY:d}=n;const{isHorizontal:f,isVertical:b}=n,h=f&&b,{xSnapped:v,ySnapped:g}=t,{minWidth:p,maxWidth:M,minHeight:m,maxHeight:w}=x,{x:y,y:C,width:I,height:Y,aspectRatio:O}=e;let T=Math[u(405)](f?v-e[u(1376)]:0),U=Math[u(405)](b?g-e[u(1176)]:0);const Q=I+(s?-T:T),X=Y+(d?-U:U),W=-o[0]*I,G=-o[1]*Y;let N=V0(Q,p,M),B=V0(X,m,w);if(i){let A=0,P=0;s&&T<0?A=Dn(y+T+W,i[0][0]):!s&&T>0&&(A=Ln(y+Q+W,i[1][0])),d&&U<0?P=Dn(C+U+G,i[0][1]):!d&&U>0&&(P=Ln(C+X+G,i[1][1])),N=Math[u(1122)](N,A),B=Math[u(1122)](B,P)}if(a){let A=0,P=0;s&&T>0?A=Ln(y+T,a[0][0]):!s&&T<0&&(A=Dn(y+Q,a[1][0])),d&&U>0?P=Ln(C+U,a[0][1]):!d&&U<0&&(P=Dn(C+X,a[1][1])),N=Math[u(1122)](N,A),B=Math[u(1122)](B,P)}if(r){if(f){const A=V0(Q/O,m,w)*O;if(N=Math[u(1122)](N,A),i){let P=0;!s&&!d||s&&!d&&h?P=Ln(C+G+Q/O,i[1][1])*O:P=Dn(C+G+(s?T:-T)/O,i[0][1])*O,N=Math[u(1122)](N,P)}if(a){let P=0;!s&&!d||s&&!d&&h?P=Dn(C+Q/O,a[1][1])*O:P=Ln(C+(s?T:-T)/O,a[0][1])*O,N=Math.max(N,P)}}if(b){const A=V0(X*O,p,M)/O;if(B=Math.max(B,A),i){let P=0;!s&&!d||d&&!s&&h?P=Ln(y+X*O+W,i[1][0])/O:P=Dn(y+(d?U:-U)*O+W,i[0][0])/O,B=Math.max(B,P)}if(a){let P=0;!s&&!d||d&&!s&&h?P=Dn(y+X*O,a[1][0])/O:P=Ln(y+(d?U:-U)*O,a[0][0])/O,B=Math.max(B,P)}}}U=U+(U<0?B:-B),T=T+(T<0?N:-N),r&&(h?Q>X*O?U=(da(s,d)?-T:T)/O:T=(da(s,d)?-U:U)*O:f?(U=T/O,d=s):(T=U*O,s=d));const D=s?y+T:y,j=d?C+U:C;return{width:I+(s?-T:T),height:Y+(d?-U:U),x:o[0]*T*(s?-1:1)+D,y:o[1]*U*(d?-1:1)+j}}const ua={width:0,height:0,x:0,y:0},j2={...ua,pointerX:0,pointerY:0,aspectRatio:1};function E2(e){const n=c;return[[0,0],[e[n(1575)][n(575)],e.measured[n(800)]]]}function Y2(e,n,t){const x=c,r=n[x(1604)].x+e[x(1604)].x,o=n[x(1604)].y+e[x(1604)].y,i=e.measured[x(575)]??0,a=e[x(1575)][x(800)]??0,u=t[0]*i,s=t[1]*a;return[[r-u,o-s],[r+i-u,o+a-s]]}function U2({domNode:e,nodeId:n,getStoreItems:t,onChange:x,onEnd:r}){const o=c,i=We(e);let a={controlDirection:la("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number[o(781)]},resizeDirection:void 0,keepAspectRatio:!1};function u({controlPosition:d,boundaries:f,keepAspectRatio:b,resizeDirection:h,onResizeStart:v,onResize:g,onResizeEnd:p,shouldResize:M}){const m=o;let w={...ua},y={...j2};a={boundaries:f,resizeDirection:h,keepAspectRatio:b,controlDirection:la(d)};let C,I=null,Y=[],O,T,U,Q=!1;const X=Wr().on("start",W=>{const G=_0x4b9b,{nodeLookup:N,transform:B,snapGrid:D,snapToGrid:j,nodeOrigin:A,paneDomNode:P}=t();if(C=N[G(1450)](n),!C)return;I=P?.[G(1704)]()??null;const{xSnapped:Z,ySnapped:_}=Kt(W.sourceEvent,{transform:B,snapGrid:D,snapToGrid:j,containerBounds:I});w={width:C.measured.width??0,height:C.measured[G(800)]??0,x:C.position.x??0,y:C[G(1604)].y??0},y={...w,pointerX:Z,pointerY:_,aspectRatio:w[G(575)]/w[G(800)]},O=void 0,C[G(934)]&&(C[G(1874)]===G(545)||C[G(843)])&&(O=N[G(1450)](C.parentId),T=O&&C[G(1874)]===G(545)?E2(O):void 0),Y=[],U=void 0;for(const[R,ee]of N)if(ee[G(934)]===n&&(Y[G(177)]({id:R,position:{...ee[G(1604)]},extent:ee[G(1874)]}),ee[G(1874)]===G(545)||ee.expandParent)){const xe=Y2(ee,C,ee[G(1265)]??A);U?U=[[Math[G(1291)](xe[0][0],U[0][0]),Math[G(1291)](xe[0][1],U[0][1])],[Math.max(xe[1][0],U[1][0]),Math[G(1122)](xe[1][1],U[1][1])]]:U=xe}v?.(W,{...w})}).on(m(921),W=>{const G=m,{transform:N,snapGrid:B,snapToGrid:D,nodeOrigin:j}=t(),A=Kt(W.sourceEvent,{transform:N,snapGrid:B,snapToGrid:D,containerBounds:I}),P=[];if(!C)return;const{x:Z,y:_,width:R,height:ee}=w,xe={},ae=C[G(1265)]??j,{width:ce,height:ie,x:oe,y:ne}=A2(y,a[G(1286)],A,a[G(1732)],a[G(645)],ae,T,U),se=ce!==R,S=ie!==ee,k=oe!==Z&&se,K=ne!==_&&S;if(!k&&!K&&!se&&!S)return;if((k||K||ae[0]===1||ae[1]===1)&&(xe.x=k?oe:w.x,xe.y=K?ne:w.y,w.x=xe.x,w.y=xe.y,Y.length>0)){const de=oe-Z,me=ne-_;for(const he of Y)he[G(1604)]={x:he.position.x-de+ae[0]*(ce-R),y:he[G(1604)].y-me+ae[1]*(ie-ee)},P[G(177)](he)}if((se||S)&&(xe[G(575)]=se&&(!a[G(807)]||a.resizeDirection===G(522))?ce:w[G(575)],xe[G(800)]=S&&(!a[G(807)]||a[G(807)]===G(1056))?ie:w[G(800)],w[G(575)]=xe[G(575)],w[G(800)]=xe[G(800)]),O&&C[G(843)]){const de=ae[0]*(xe.width??0);xe.x&&xe.x<de&&(w.x=de,y.x=y.x-(xe.x-de));const me=ae[1]*(xe[G(800)]??0);xe.y&&xe.y<me&&(w.y=me,y.y=y.y-(xe.y-me))}const q=P2({width:w.width,prevWidth:R,height:w[G(800)],prevHeight:ee,affectsX:a.controlDirection[G(1241)],affectsY:a[G(1286)][G(1698)]}),V={...w,direction:q};M?.(W,V)!==!1&&(Q=!0,g?.(W,V),x(xe,P))}).on("end",W=>{Q&&(p?.(W,{...w}),r?.({...w}),Q=!1)});i[m(211)](X)}function s(){const d=o;i.on(d(300),null)}return{update:u,destroy:s}}var q0={exports:{}},io={},W0={exports:{}},ao={},fa;function O2(){const e=c;if(fa)return ao;fa=1;var n=L;function t(b,h){return b===h&&(b!==0||1/b===1/h)||b!==b&&h!==h}var x=typeof Object.is=="function"?Object.is:t,r=n[e(195)],o=n.useEffect,i=n.useLayoutEffect,a=n[e(702)];function u(b,h){const v=e;var g=h(),p=r({inst:{value:g,getSnapshot:h}}),M=p[0][v(786)],m=p[1];return i(function(){const w=v;M[w(1161)]=g,M[w(448)]=h,s(M)&&m({inst:M})},[b,g,h]),o(function(){return s(M)&&m({inst:M}),b(function(){s(M)&&m({inst:M})})},[b]),a(g),g}function s(b){const h=e;var v=b[h(448)];b=b[h(1161)];try{var g=v();return!x(b,g)}catch{return!0}}function d(b,h){return h()}var f=e(891)===typeof window||e(891)===typeof window[e(860)]||e(891)===typeof window[e(860)][e(1564)]?d:u;return ao[e(906)]=n[e(906)]!==void 0?n.useSyncExternalStore:f,ao}var co={},ba;function G2(){const e=c;return ba||(ba=1,e(1425)!==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 M=_0x4b9b;b||i[M(844)]===void 0||(b=!0,console.error(M(434)));var m=p();if(!h){var w=p();a(m,w)||(console.error(M(1857)),h=!0)}w=u({inst:{value:m,getSnapshot:p}});var y=w[0][M(786)],C=w[1];return d(function(){y.value=m,y.getSnapshot=p,r(y)&&C({inst:y})},[g,m,p]),s(function(){return r(y)&&C({inst:y}),g(function(){r(y)&&C({inst:y})})},[g]),f(m),m}function r(g){const p=_0x4b9b;var M=g[p(448)];g=g[p(1161)];try{var m=M();return!a(g,m)}catch{return!0}}function o(g,p){return p()}n(891)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1151)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1682)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1682)](Error());var i=L,a=typeof Object.is=="function"?Object.is:t,u=i[n(195)],s=i[n(614)],d=i[n(1353)],f=i[n(702)],b=!1,h=!1,v=n(891)===typeof window||n(891)===typeof window.document||n(891)===typeof window.document.createElement?o:x;co[n(906)]=i.useSyncExternalStore!==void 0?i[n(906)]:v,n(891)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1151)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1699)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),co}var ha;function ga(){const e=c;return ha||(ha=1,process.env.NODE_ENV===e(1425)?W0[e(456)]=O2():W0.exports=G2()),W0[e(456)]}var ya;function T2(){const e=c;if(ya)return io;ya=1;var n=L,t=ga();function x(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var r=typeof Object.is=="function"?Object.is:x,o=t[e(906)],i=n.useRef,a=n[e(614)],u=n[e(477)],s=n.useDebugValue;return io[e(1600)]=function(d,f,b,h,v){const g=e;var p=i(null);if(p[g(1292)]===null){var M={hasValue:!1,value:null};p[g(1292)]=M}else M=p[g(1292)];p=u(function(){function w(O){const T=_0x4b9b;if(!y){if(y=!0,C=O,O=h(O),v!==void 0&&M[T(191)]){var U=M[T(1161)];if(v(U,O))return I=U}return I=O}if(U=I,r(C,O))return U;var Q=h(O);return v!==void 0&&v(U,Q)?(C=O,U):(C=O,I=Q)}var y=!1,C,I,Y=b===void 0?null:b;return[function(){return w(f())},Y===null?void 0:function(){return w(Y())}]},[f,b,h,v]);var m=o(d,p[0],p[1]);return a(function(){const w=g;M[w(191)]=!0,M.value=m},[m]),s(m),m},io}var so={},ma;function H2(){const e=c;return ma||(ma=1,e(1425)!==process.env.NODE_ENV&&(function(){const n=e;function t(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1682)](Error());var x=L,r=ga(),o=typeof Object.is=="function"?Object.is:t,i=r[n(906)],a=x.useRef,u=x[n(614)],s=x.useMemo,d=x[n(702)];so[n(1600)]=function(f,b,h,v,g){const p=n;var M=a(null);if(M[p(1292)]===null){var m={hasValue:!1,value:null};M[p(1292)]=m}else m=M[p(1292)];M=s(function(){function y(T){const U=_0x4b9b;if(!C){if(C=!0,I=T,T=v(T),g!==void 0&&m.hasValue){var Q=m[U(1161)];if(g(Q,T))return Y=Q}return Y=T}if(Q=Y,o(I,T))return Q;var X=v(T);return g!==void 0&&g(Q,X)?(I=T,Q):(I=T,Y=X)}var C=!1,I,Y,O=h===void 0?null:h;return[function(){return y(b())},O===null?void 0:function(){return y(O())}]},[b,h,v,g]);var w=i(f,M[0],M[1]);return u(function(){const y=p;m[y(191)]=!0,m[y(1161)]=w},[w]),d(w),w},n(891)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&n(1151)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[n(1699)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[n(1699)](Error())})()),so}var wa;function V2(){const e=c;return wa?q0.exports:(wa=1,process.env.NODE_ENV==="production"?q0[e(456)]=T2():q0[e(456)]=H2(),q0[e(456)])}var q2=V2();const W2=mt(q2),X2={},va=e=>{let n;const t=new Set,x=(d,f)=>{const b=_0x4b9b,h=typeof d===b(1151)?d(n):d;if(!Object.is(h,n)){const v=n;n=f??(typeof h!="object"||h===null)?h:Object[b(150)]({},n,h),t[b(366)](g=>g(n,v))}},r=()=>n,o=()=>s,i=d=>{const f=_0x4b9b;return t[f(505)](d),()=>t[f(567)](d)},a=()=>{const d=_0x4b9b;(X2?d(1425):void 0)!==d(1425)&&console[d(823)](d(555)),t[d(1364)]()},u={setState:x,getState:r,getInitialState:o,subscribe:i,destroy:a},s=n=e(x,r,u);return u},K2=e=>e?va(e):va,{useDebugValue:Z2}=L,{useSyncExternalStoreWithSelector:R2}=W2,J2=e=>e;function pa(e,n=J2,t){const x=c,r=R2(e[x(865)],e[x(1357)],e[x(1260)]||e[x(338)],n,t);return Z2(r),r}const za=(e,n)=>{const t=c,x=K2(e),r=(o,i=n)=>pa(x,o,i);return Object[t(150)](r,x),r},_2=(e,n)=>e?za(e,n):za;function Se(e,n){const t=c;if(Object.is(e,n))return!0;if(typeof e!==t(1057)||e===null||typeof n!==t(1057)||n===null)return!1;if(e instanceof Map&&n instanceof Map){if(e[t(161)]!==n[t(161)])return!1;for(const[r,o]of e)if(!Object.is(o,n[t(1450)](r)))return!1;return!0}if(e instanceof Set&&n instanceof Set){if(e.size!==n[t(161)])return!1;for(const r of e)if(!n[t(1949)](r))return!1;return!0}const x=Object[t(964)](e);if(x[t(586)]!==Object[t(964)](n)[t(586)])return!1;for(const r of x)if(!Object[t(502)][t(1885)][t(211)](n,r)||!Object.is(e[r],n[r]))return!1;return!0}const X0=L.createContext(null),F2=X0[c(1843)],Ca=Xe.error001();function Me(e,n){const t=c,x=L[t(1006)](X0);if(x===null)throw new Error(Ca);return pa(x,e,n)}function ke(){const e=c,n=L.useContext(X0);if(n===null)throw new Error(Ca);return L[e(477)](()=>({getState:n.getState,setState:n[e(1215)],subscribe:n[e(865)]}),[n])}const Ma={display:c(1598)},Q2={position:c(1254),width:1,height:1,margin:-1,border:0,padding:0,overflow:c(1061),clip:c(775),clipPath:c(598)},Ba="react-flow__node-desc",Da=c(402),$2=c(512),e3=e=>e.ariaLiveMessage,n3=e=>e.ariaLabelConfig;function t3({rfId:e}){const n=c,t=Me(e3);return l.jsx(n(1574),{id:$2+"-"+e,"aria-live":n(1519),"aria-atomic":n(420),style:Q2,children:t})}function x3({rfId:e,disableKeyboardA11y:n}){const t=c,x=Me(n3);return l.jsxs(l[t(990)],{children:[l[t(1667)](t(1574),{id:Ba+"-"+e,style:Ma,children:n?x["node.a11yDescription.default"]:x[t(928)]}),l[t(1667)]("div",{id:Da+"-"+e,style:Ma,children:x[t(1039)]}),!n&&l[t(1667)](t3,{rfId:e})]})}const K0=L[c(1530)](({position:e=c(669),children:n,className:t,style:x,...r},o)=>{const i=c,a=(""+e)[i(1551)]("-");return l[i(1667)]("div",{className:Ae([i(324),t,...a]),style:x,ref:o,...r,children:n})});K0[c(1169)]=c(615);function o3({proOptions:e,position:n="bottom-right"}){const t=c;return e?.[t(878)]?null:l[t(1667)](K0,{position:n,className:t(1493),"data-message":"Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev",children:l[t(1667)]("a",{href:t(501),target:t(1102),rel:t(902),"aria-label":t(1918),children:t(1597)})})}const r3=e=>{const n=c,t=[],x=[];for(const[,r]of e[n(1942)])r.selected&&t[n(177)](r[n(1725)][n(1527)]);for(const[,r]of e[n(1432)])r[n(833)]&&x[n(177)](r);return{selectedNodes:t,selectedEdges:x}},Z0=e=>e.id;function i3(e,n){const t=c;return Se(e.selectedNodes[t(1779)](Z0),n[t(427)][t(1779)](Z0))&&Se(e[t(587)][t(1779)](Z0),n[t(587)][t(1779)](Z0))}function a3({onSelectionChange:e}){const n=c,t=ke(),{selectedNodes:x,selectedEdges:r}=Me(r3,i3);return L[n(614)](()=>{const o=n,i={nodes:x,edges:r};e?.(i),t[o(1357)]()[o(531)][o(366)](a=>a(i))},[x,r,e]),null}const c3=e=>!!e[c(531)];function s3({onSelectionChange:e}){const n=c,t=Me(c3);return e||t?l[n(1667)](a3,{onSelectionChange:e}):null}const lo=typeof window!==c(891)?L[c(1353)]:L[c(614)],La=[0,0],l3={x:0,y:0,zoom:1},d3=[c(459),c(1884),c(1720),c(1976),c(610),c(1170),"onConnectEnd","onClickConnectStart",c(1023),c(1513),"autoPanOnNodeFocus","nodesConnectable",c(246),c(1706),"edgesReconnectable",c(256),c(1014),c(1079),"maxZoom",c(665),c(1032),c(1865),c(1250),c(712),c(1665),c(1445),"translateExtent","connectOnClick",c(1730),c(345),c(985),c(602),c(381),c(156),c(231),"onNodeDragStart",c(1586),c(793),c(509),c(442),c(1971),"onMove",c(192),c(1024),"nodeOrigin",c(1294),c(403),c(947),c(1033),c(1739),"selectNodesOnDrag",c(1830),"connectionDragThreshold",c(1707),c(1839),c(1352),c(495),c(1579)],Na=[...d3,"rfId"],u3=e=>({setNodes:e[c(426)],setEdges:e[c(1430)],setMinZoom:e[c(252)],setMaxZoom:e[c(899)],setTranslateExtent:e[c(1673)],setNodeExtent:e.setNodeExtent,reset:e[c(1015)],setDefaultNodesAndEdges:e[c(1848)]}),Sa={translateExtent:Ot,nodeOrigin:La,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(290),rfId:"1"};function f3(e){const n=c,{setNodes:t,setEdges:x,setMinZoom:r,setMaxZoom:o,setTranslateExtent:i,setNodeExtent:a,reset:u,setDefaultNodesAndEdges:s}=Me(u3,Se),d=ke();lo(()=>{const b=_0x4b9b;return s(e[b(1720)],e[b(1976)]),()=>{const h=b;f[h(1292)]=Sa,u()}},[]);const f=L[n(519)](Sa);return lo(()=>{const b=n;for(const h of Na){const v=e[h],g=f[b(1292)][h];v!==g&&(typeof e[h]>"u"||(h===b(459)?t(v):h===b(1884)?x(v):h===b(1079)?r(v):h==="maxZoom"?o(v):h===b(1643)?i(v):h===b(665)?a(v):h===b(495)?d[b(1215)]({ariaLabelConfig:_f(v)}):h===b(345)?d[b(1215)]({fitViewQueued:v}):h===b(985)?d[b(1215)]({fitViewOptions:v}):d[b(1215)]({[h]:v})))}f[b(1292)]=e},Na[n(1779)](b=>e[b])),null}function ka(){const e=c;return typeof window>"u"||!window[e(309)]?null:window[e(309)](e(1630))}function b3(e){const n=c,[t,x]=L[n(195)](e==="system"?null:e);return L[n(614)](()=>{const r=n;if(e!=="system"){x(e);return}const o=ka(),i=()=>x(o?.[r(1904)]?"dark":"light");return i(),o?.[r(1947)](r(1152),i),()=>{const a=r;o?.[a(1240)](a(1152),i)}},[e]),t!==null?t:ka()?.[n(1904)]?n(1887):n(1603)}const Ia=typeof document!==c(891)?document:null;function Zt(e=null,n={target:Ia,actInsideInputWithModifier:!0}){const t=c,[x,r]=L[t(195)](!1),o=L.useRef(!1),i=L.useRef(new Set([])),[a,u]=L[t(477)](()=>{const s=t;if(e!==null){const d=Array[s(1922)](e)?e:[e],f=d[s(917)](h=>typeof h===s(816))[s(1779)](h=>h[s(1084)]("+",`
|
|
4
|
-
|
|
1
|
+
(function(pe,l){const N=_0x5299,z=pe();for(;;)try{if(-parseInt(N(2235))/1*(parseInt(N(1785))/2)+-parseInt(N(1251))/3*(-parseInt(N(1136))/4)+-parseInt(N(1825))/5*(-parseInt(N(2086))/6)+parseInt(N(471))/7+-parseInt(N(1107))/8+-parseInt(N(1372))/9*(-parseInt(N(795))/10)+-parseInt(N(2031))/11===l)break;z.push(z.shift())}catch{z.push(z.shift())}})(_0x15bf,660301),(function(pe,l){const N=_0x5299;typeof exports=="object"&&typeof module<"u"?l(exports,require(N(567)),require("react"),require("antd"),require(N(1504)),require(N(1327)),require(N(1982)),require("nanoid"),require(N(1694)),require("react-dom")):typeof define===N(1568)&&define[N(1675)]?define([N(1132),N(567),"react","antd",N(1504),N(1327),N(1982),"nanoid",N(1694),"react-dom"],l):(pe=typeof globalThis<"u"?globalThis:pe||self,l(pe[N(2192)]={},pe.jsxRuntime,pe[N(1566)],pe.antd,pe.icons,pe[N(1327)],pe[N(1982)],pe[N(1143)],pe[N(1868)]))})(this,function(pe,l,N,z,le,sx,nt,ve,tt){"use strict";function _0x15bf(){const pe=["CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","zMLUzefJDgL2zvn0yxr1CW","CMvHy3qTzMXVD19FAgfUzgXLlq","xMHZBgfCka","C3rHCNq","B3b0Aw9UCW","C2fTCgXLsNnVBG","Bw91C2v1Cc56B29T","D2HLzwWUEM9VBq","y2LYy2XL","jhTSywjLBh3POBVKUlOKE2XLBN3KUkRLRzFNRky","re9ntwf0CML4uMvHze9UBhK","sxqGC2vLBxmGDgHHDcb5B3uGAgf2zw4NDcbSB2fKzwqGDgHLihn0EwXLCY4GugXLyxnLigLTCg9YDcaNqhH5zMXVDY8","B3jPz2LU","57Ui54k5ifK","zgfZAgvK","Aw52zxj0wq","BM9Kzvf1zxvL","ug9Wy29UzMLYBq","B3jKzxi","57Yw6l6r5lQl5lU25z2x","C3rHCNroB2rLwa","y2HHBMDLzfrVDwnOzxm","DhjHBNnSyxrLqNK","rxHWzxjPBwvUDe91DgXPBMvK","mc4Y","yNv0Dg9U","B3bZ","zxjYB3iWmdm","zgfYAW","tgLUzxm","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","ios4QUEkTUAaGq","AgLKzuf0DhjPyNv0Aw9U","54k55yE75yI35PAW","qwXPz25sAwDODe91DgXPBMvK","y2XVC2vZDa","5OUw5OU96lcd5Pw05AsN5Bcp","qMv6AwvY","5BEY5l+D5A2y","CMvHy3qTzMXVD19FzwrNzs10zxH0D3jHChbLCG","BNCTCMvZAxPL","zw5Kwa","Dgv4DenVBNrLBNq","Aw5PDe1HDgvYAwfSCW","z2v0q29TChv0zwrtDhLSzq","BMv3wq","Aw1Tzxi","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","zgLZCgXHEwfIBgu","C2v0uhjVDg90ExbLt2y","54MP5PAz5BgE5OcN","Dhj1zq","DgfYz2v0ug9ZAxrPB24","z3jHyG","C2v0u2nHBgvfEhrLBNq","AxnwywXPzenVBM5Ly3rPB24","y3jLyxrLrwXLBwvUDe5t","ig5VDcbMB3vUza","Bw91C2vKB3DUlNPVB20","B25tzwXLy3rPB25eCMfNu3rVCa","C3rHCNrZv2L0Aa","Dg91y2GTywn0Aw9U","6k+36ycj5OUP5A2J5BQM","yMfJA2DYB3vUzenVBg9Y","C2v0vMLLD3bVCNq","vMvYDgLJywW","5PwW57UeicG","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","6lw354k5ifG","C3r5BguU","zxHPDa","CMvHy3qTzMXVD19Fy29UDhjVBhmTyNv0Dg9U","57ky6ls0iePtt04G5yAf5A6577YA","zgfZAc1KB3q","zg9Uzq","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","l2rPC3qVC3r5BguUy3nZjYbVCIbIyxnLlMnZCYb0BYbTywTLihn1CMuGzxzLCNL0AgLUzYbPCYb3B3jRAw5NihbYB3bLCMX5lG","6ycj5OUP5PwW5O2U5A2x5Q61","Bwf4","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","imk3ia","DxjSka","DxbKyxrLtM9Kzq","CMvZzxq","DhjHBNnPDgLVBIa","zMXVD0rHDge","AgfUzgXLrg9TtM9Kzq","zM9UDfDLAwDODa","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","lcdOV57MJQxMLBa6ia","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","i2zMzMzMzG","5RE75yQG5lQl5lU25z2x","y29TCgXLDgu","mZiZmJKXmwDLsKrYBW","Cg9PBNrLCG","lI4U","5Asw6yoO5PA55Rov5Qch6k+g","54Q25OcbicH0ExbLkq","6k+35AgR5yAz6k+35Rgc5Qch6k+g","Dg9ju09tDhjPBMC","6iEQ5A6A5lMj57Ue5lU2","CMvHy3qTzMXVD19Fy29UDhjVBhmTAw50zxjHy3rPDMu","CM90yxrL","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","zgf0yvjLCxvLC3q","Dg9W","jhbYzxyU","5lIl5lIa5BM05lUJ","zMLSzxm","CgfYzw50tg9VA3vW","6k+35AgR5yAz5zcn56EW","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWltq","BM9KzvG","vgHLig9SzcbLzgDLihDPDgGGAwq9","AxneCMfNz2fIBgu","5PYQ55+L5yAf572U5yQO5l2CoIa","rMXVD1jLBMrLCMvY","iZHJogm4yW","57Ut5P2F5A2J5BQM","5lIk5A+56B2q","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","6lw354k5ifK","yMLUza","i2vImMy5nG","5PwW5O2U6zUg","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","zgvMyxvSDa","Cgf0Aa","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","kgrHDgePid0+igjVB2XLyw4","y29UDhjVBeLUzM8","Bwf4vg91y2HqB2LUDhm","C3rHCNqUEM9VBq","Dgv4Dc1SzYbMB250lw1LzgL1Bq","u3rYywLNAhrfzgDL","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","x3bHCMvUDgfNzq","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","u21VB3rOu3rLCa","zhjHz2DHyMXL","q29UDhjVBhm","EKLUzgv4","rNjHz21LBNq","CgfYC2u","mtjWEa","Aw5PDgLHBfDPzhrO","mZK2CuvOquHb","rhjHz091DgXPBMvK","Aw5KzxHpzG","y3vYCMvUDa","CgfKzgLUzW","yxv0B1bHBK9Uq29UBMvJDa","jhTSywjLBh3MNidLSjeKE21PBN3KUkRLRzFNRky","DxjSkcnNCMLKkq","Bw91C2vTB3zLlNPVB20GBw91C2v1Cc56B29T","B2jZzxj2zxjZ","mda2","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","CMv0DxjUihrYDwu7","ltiWChG","yw5PBwf0zwq","zM9JDxnHyMXL","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","5RE75yQG5lQl5lU25Rwb","tw96vxnLCLnLBgvJDa","ywjZ","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","zxjYB3iWmdu","C2v0","BgLNAhq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+phbHDgGGzd0ItteWidiWieWZmcaXmcbmntaGmJaGtduWidqWieWZmca1mcbmmtaGndaGwIiGzMLSBd0Ii2jMyMzIzIiGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIlZ48y2LYy2XLign4psiZmciGy3K9iJmWiIbYpsi4iIbMAwXSpsiJmtG5mgzMiI8+pc9ZDMC+","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","zxjYB3iWmdK","x25LEhq","CgvUzgLUzW","57Ue5zci6ycj5lIT6iQc54k5","AgfZrxjYB3i","Dgv4Dc14CYb0zxH0lwDYyxKTntaWig1Iltm","q29SDw1UsgvPz2H0t3v0BgLUzwq","x+wjR+ACRa","C3rVCa","x3rOCM93swzdBg9Zzwq","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","yMCTz3jHEs0XmdaGCMvSyxrPDMu","CMvXDwvZDefZEw5Jswq","y2XHC3noyw1L","BMuTCMvZAxPL","iIWGzwrNzsbPzdOG","zg91yMXLq2XPy2S","w3jVBgu9iMnVBwjVyM94iL0","Dw5ZAgLMDa","BNvTyMvY","CgfNzvG","x2HHC1bHCMvUDa","y3LHBG","yMCTD2HPDguGChGTmsbYB3vUzgvK","57Q/5A6977Yi5yop57sG77Yj","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","y29UDgvUDgvKAxrHyMXL","6ycj5OUP5yw35l2t5yAf572U6io95yQB","zhjHz0HHBMrSzq","B25dBgLJAW","CMvHy3qTzMXVD19FzwrNzq","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","y2vUDgvYignLBNrLCG","BMv4Da","6iom5PMV5zU+54Mh","C2nOzwr1BgvY","5O+q56s65yAf5A65","ltzWEa","DgHHDa","w1jLywn0iezSB3DDoIbtzwvTCYbSAwTLihLVDsbOyxzLig5VDcb1C2vKihP1C3rHBMqGChjVDMLKzxiGyxmGyw4Gyw5Jzxn0B3iUieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCImWmde","6lEZ6l2S55s75BId","BM9KzxndB25Uzwn0ywjSzq","Dw5KzwzPBMvK","x2zPBMfSAxPLCNm","ios4JEwTMowCQa","zM9UDc1TB25VihrLEhqTC20","tM8GDgLTzw91DcbWCM92AwrLzc4","zxzLBNrgBg93rgf0yq","C3rHDgu","5PAh5lU25lIk5lYG5lIT","mda5","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","y29UBMvJDgfIBgu","Bw91C2vmzwf2zq","zxjYB3iWmde","CMvZAxPPBMC","A2v5Dxa","zgf0yq","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","C3rLCfbVC2L0Aw9U","CMvHy3qTzMXVD19FyxjPys1SAxzL","6k+36ycj5OUP5PEL5PYF","55s75BId5A+85yE65AsX6lsL","u3rYywLNAhrfzgDLsw50zxjUywW","AwnVBG","6l6t5ywL54Q25Ocb5zcn56EW","CgfYzw50","BgLUzurYyxDPBMC","sg9YAxPVBNrHBa","zMfJDg9Y","6zw/5yIslEEcUEs6PoABVW","y3vYC29YlxbVAw50zxiGBwiTma","ywzMzwn0C1G","C2nOzwr1Bgu","5y+V5O6s5BQp","BgLUzujVEa","DhjHBNnSyxrLvg8","q29UzMLNrwrPDg9Y","yxbWBgLJyxrPB24","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","5Pon5l2C5OIq5yQF","57Ur5A6A5A2x5Q61","zgf0yvrYyw5ZzMvY","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","zgf0ys4","lNH5zMXVD19FDMLLD3bVCNq","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","ChGSia","y2vUDgvYwq","C2TLD1GO","zMLSBenVBg9Y","zwXLBwvUDezYB21qB2LUDa","B3bLCMf0B3i","z2v0sw5ZDgfUy2u","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","yMfZzvzHBa","B25ZzwXLy3rZDgfYDa","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","DhjHBNnMB3jT","CMvTB3zLqxr0CMLIDxrL","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","zhjHz2DPBMC","C291CMnLtgfIzwW","D2HLzwXezwX0yq","DMfSDwvgB250u2L6zq","zxzLBNrcBg9JAW","BgLUzwfY","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","CMLNAhq","qMv6AwvYrwrNzq","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","B3bHy2L0Eq","DgHYB3DUrxjYB3i","u3vWChjLC3nLzevYCM9Y","Dgv4Dc14CYbTyI0X","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","tw9KDwXL","5PAW5BU655s75BId","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","CMvZAxPLrgLYzwn0Aw9U","odq1odq5suDyEvHv","Aw5ZDgfUy2u","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","Cg9ZAxrPB25byNnVBhv0zq","x25HBwu","AxneCMf3Aw5N","zw5KC1DPDgG","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","zg9JDw1LBNrfBgvTzw50","Aw52B2TLuNvUDgLTzuHHBMrSzxi","Bg9JywXLq29TCgfYzq","B25oB2rLq29UDgv4De1LBNu","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","BM9KzxneCMfNz2fIBgu","BM9Kzuv4DgvUDa","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","B25dB25Uzwn0rw5K","C3r5BgvuD2vLBG","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","5BEM5A+56B2q","B25oB2rLrhjHz1n0yxj0","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","q29SBgfWC2u","zxzLBNrtDwjQzwn0CW","5PkK6zsaicHdDhjSk1OP","6ycj5OUP5BM05lUJ","mcaWidi1idmY","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","x25Vzgu","yM91BMreyxrHC2v0qMLUzenVzgu","rwrNzvrLEhq","AgLKzgvU","EKLUzgv4tw9Kzq","zxH0zxjUywXfDMvUDeTLEq","zwXLDMf0zuvKz2vZt25tzwXLy3q","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","ufjfu0vovevex0LnquDfx1njtvbmrq","z3jPza","Dg91y2HTB3zLlMrYywC","vxbtCxvHCMvpDxrSAw5Lza","6l6t5ywL5yc85PAh5PYS","5y+n6ycj5B2t6Ag1","tK9erv9truXfq1q","AgvPz2H0","DMfSDwvpzG","nJe0nJe3nvr4r3fPzW","vxbSB2fKt3v0BgLUzwq","vw5KB091DgXPBMvK","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4Gww91ignHBIb0AgvUihvZzsb0AguGyxjYB3CGA2v5CYb0BYbTB3zLihrOzsbUB2rLigfYB3vUzc4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","x2nHBgW","zw51BwvYywjSzq","y29UBMvJDe9Uq2XPy2S","C2v0vgLTzw91Da","zMLUywXPEMu","6iEQ5A6A5lMj","6l+u5zUE5yIx6kgO","55UU5Qch55s75BId","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","ywjZB2X1DguGyM90Dg9TltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","BwvHC3vYzwq","DMfSAwrHDgvgAwvSzhm","BwLU","6zw/5yIslEwpJoEcUEs6PoABVW","x+wKJEwiTG","DhjHBNnSyxrLwq","zNjVBu5Vzgu","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","Dg9qB3nPDgLVBG","5Pw05z2x6l+u5zUE5yc8","zwrNzxngB2n1C2fIBgu","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","yxnZzxj0AxzL","6k+35AgR5yAz5Asw6yoO5PA55Rov5Qch6k+g","562j5Q+u57YP5Ps+6iQc54k555Qe5A696AUy","C3vIC2nYAwjL","y2vPBa","BgLZDgvUzxi","lMrYywC","zgvMyxvSDe5VzgvZ","6ycp5PIo5BQM","C2fTCgXL","54Q25Ocb5PwWoIa","zgvNkq","y3jLyxrLu1zhug9PBNq","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","C3rHCNrz","BgfZDeLUzgv4","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","x19KyxrHx18","Bw0VCW","B2jQzwn0ihvUC3vIC2nYAwjLza","B3v0Chv0CW","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","BwfYA2vYrw5K","C3jJ","zgf0yvjLCxvLC3rlzxK","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","yw50ze1LC3nHz2u","54k55yE76zMn5BQp","57Ue5Ocb57Yw6l6r5zMO","zMXVB3i","zNjLzq","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","u2vSzwn0","AxnjzgvUDgL0Eq","Bw91C2vTB3zL","C2v0rMLLBgrZvMfSDwu","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","B25nB3zL","zgf0ytPPBwfNzs9ZDMCREg1S","Dg9mB3DLCKnHC2u","yxjYB3DJBg9Zzwq","Dw5RBM93BIb0ExbLoIa","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","Dw5YzwDPC3rLCKv2zw50qMXVy2S","zgLYzwn0Aw9U","x3zHBhvL","5AAc77YA55s15PY65Rwl54k56zUg","5lQl5lU25z2x5PYQ6ywn572UigrHDgfszxf1zxn0s2v5","y29UDgfPBNm","5yIG6zMK5PAh5lU2","zxzLBNrcBg9JA3m","rxzLBNq","B25oB2rLrhjHz1n0B3a","DgfWCW","C2vSzwn0q2HPBgrYzw4","zM9JDxm","y29Kzq","zg9TywLU","qwXPz25mzwz0t3v0BgLUzwq","6k+36ycj5OUP55UU5Qch55s75BId","yMLUze5Vzgvjza","6Ake6kEi5PAh5lU2","zM9YBwf0sgv4","6kEJ6zMK57Ue5zci","tKvhqvrjvKvFsu5gsu5jvfK","C2HPzNrlzxK","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","5B2t5yMn54Q25OcboG","Cg9ZAxrPB25y","54Q25Ocb5zcn56EW","CMvHy3qVANn4lxj1BNrPBwu","Bwf0zxjPywXZ","B25fzgDLC0rLBgv0zq","t3b0Aw9U","BwvTBW","BMf0AxzLrxzLBNq","5y+V54k55yE7","B3bLBG","wM9VBu91De91DgXPBMvK","vgLTzw91DevYCM9Y","rwrPDe91DgXPBMvK","vgfICW","54MP5PAz5BQt","Aw52zxj0","mxb4ihnVBgLKicnMmgyWzJa","5PI+56s6572r5Qc8","i2zMngq0zG","y2HPBgrYzw4","BgfIzwXgB250v2vPz2H0","C3DPDgnOq2fUDMfZ","Bw9Kzq","zxHLy3v0zuv2zw50rMXVDW","BM9KzvK","zw5HyMXLza","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","5yIG6zMK5ywO6yoO","B25ezwXLDgu","qebPDgvYyxrVCG","CMv0DxjUig51BgW7","zM9UDc1TzwrPDw0","B3jPz2LUywXfDMvUDa","BMfTzq","ChGPihnJywXLka","CMvZzxrgAwvSzhm","su5qvvq","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","CMv0DxjUigfYz3m7","u3rYAwn0","u21VB3rOu3rLCevKz2u","CMvTB3zLqxr0CMLIDxrLtLm","C291CMnLrxzLBNq","C3rYAw5NAwz5","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","AxnbCNjHEq","C3LUy1zPzxDWB3j0","tufyx1zbtfvf","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","Bg9N","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","C3rHDhvZtgLZDa","zxHLy3v0Aw5NigeGy2fUy2vSBgvKigfJDgLVBG","yMXVy2SGDhj1BMnHDgu","yM90Dg9TlwXLzNq","5PwW5O2U5QIH5OUF","AgfZvMfSDwu","y29Uy2f0","C3rHy2S","zxjYB3iWmdi","5zU+54Mh5zYW5z2aicHZCMmP","Aw5Uzxjive1m","y2fUy2vSywjSzq","ywXS","lIbozxCGCg9ZAxrPB24SihG6ia","B25nB3zLrw5K","yxnZAwDU","Cg9ZAxrPB25z","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","C2uTCMvZAxPL","z2v0uhjVDg90ExbLt2y","5BYa5AEl5PEL5PYF","DxjSkcm","DxnLtgf5B3v0rwzMzwn0","Dgv4Dc1NCMf5ltyWmcbTDc0WlJu","5PQc5PEG5lQl5lU25Rwb","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","zMX1C2G","6BYG5Qch5OYj5lIl","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","DxnLu3rHDgu","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","CMvHy3qTzMXVD19FzwrNzs10zxH0","C3rHCNruCMfUC2L0Aw9U","u3rLCevKz2u","5BEY56Ab55sO","yM9YzgvYq29SB3i","6k6+5Ash5zU+5Qch","6k+36ycj5OUP","q29WEu91DgXPBMvK","x3rPBwu","B250B3vJAhn0yxj0","5lIl5A+56B2q","twLUAsbnyxa","ugfYDgLHBa","CMvZDwX0","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","q29UDhjVBcbqyw5LBa","Bwv0yq","C2v0rgf0yq","zMXLEa","C2vSzwn0","C29YDa","EM9VBq","lMPZB24","DxnLCLnLBgvJDgLVBLjLy3q","y2fUDMfZq29UzMLN","5BgE5OcN6z2I5P2/","BgfIzwXtAg93qMC","yMfJAW","zM9YD2fYzfjLzG","DxnLtwvTBW","zgvZDgLUyxrPB24","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","5PU05O2I54MP5PAz","C3vJy2vZCW","5PAh5lU25Qc85BYp6zsz6k+V","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","yxbWzw5Kq2HPBgq","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","B2zMC2v0","zgLZywjSzwq","ywrK","rgvSzxrL","C2vSzwn0zwroB2rLswq","C3r5Bgu","DMLLD0jVEa","5A+85yE6iePtt04","y2XVC2vK","qxjYB3DeB3DU","B2zMC2v0v2LKDgG","5ywO6ycj5OMa5PYj","6kEM5y+r5PA55BYp","BwfYA2vYvw5PDhm","CMvHzefZvgv4Da","B25oB2rLtw91C2vfBNrLCG","D2fYBG","y29UzMLN","6ycj5OUP5PEL5PYF","BgvUz3rO","5z+656ga5B2I54Q2","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","DMfSDwvtDhLSzq","Aw5PDgLHBfrLyxjKB3DU","ywjZB2X1DguGDg9WltaGBgvMDc0W","w2rHDgeTBM9Kzs1Pzd0I","twv0yq","5OMN6kgm6kgO6l6+5BYp","C2v0twLUwM9VBq","5PQc5PEG54MP5PAz","zxHLy3v0Aw9Uugf0Aa","z2v0rgf0yq","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","5lIk5lIa5BM05lUJ","igvYCM9YCYbVy2n1CNjLzcbKDxjPBMCGDw5ZDwjZy3jPChrPB246cG","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","Bw91C2vTB3zLlNPVB20","zgLTzw5ZAw9UCW","6k+36ycj5OUP5PE26zE0","yw55","y29UBMvJDgLVBK1Vzgu","DY00igGTncb0zxH0lwjSDwuTnJaWigjVCMrLCI1NCMf5ltmWmcbYB3vUzgvKigzVy3vZoNjPBMCTyMX1zs01mda","B25tzwXLy3rPB25eCMfNu3rHCNq","CMvZB2X2zq","y2XLyxi","Aw5SAw5LlwjSB2nR","AgfUzgXLqM91BMrZ","u2LTCgXLqMv6AwvYrwrNzuLUDgvYBMfS","5ygh5OoZ57Q/","C3rYAwn0","zNv0DxjL","CMvHza","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","572U5lQo5BQv5Bgc","Aw5PDev2zw50","y29TBw9Utg9JywXL","iZaWmdaWma","C3rYB25N","x2DYB3vWCW","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","6iQc54k55Qc55O2U54Q25Ocb6kgO6l6+5BYp6k6H566x57Ut5P6C5PI+56s65A+55BQu54MP5PAz77Ym56YS5lIa5lIQ6l+u5zUEihrYDwuG55Qe54Q25Ocb5lI65B2t5yMn54Q25Ocb","BM9Kzuv2zw50qMLUzgLUz3m","5Qgg6ycj5QIH5BYp","y3vZDg9T","D2HLzwW","Bwf0y2HLCW","B25gAw5HBgL6zq","AxndBgLJA2fIBgu6","5zYO5lIl5PA556YSia","x2fJDgL2zq","zgf0ys1Pza","yxbWzw5K","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","Cg9W","x19VBG","zgvSDgfz","5A2q6iQc54k5ia","DxnLrM9YBq","tgvMDa","zwfZzq","6k+35ywi57Ur5A6A5PwW5O2U6zUg","CMvKDwnL","u3rYywLNAhq","q29UC3vTzxi","Bw91C2vKB3DUlMrYywC","y2XPzw50sgvPz2H0","x+EkTUAaGq","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","zxzLBNrcBg9JA0LK","rxnJyxbL","DMfSDwvZ","ChjPBwfYEq","CMvQzwn0","y29UBMvJDgfIBgvLBMq","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","y2vUDgvYwa","z2v0uhjVCgvYDhLwywX1zq","DxnLCLnLBgvJDgLVBKfJDgL2zq","zgvSDgfy","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltq","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","yM9VBgvHBG","5y+w5RAi5ywO6ycj","Aw5WDxrZ","i2zHywqXna","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","mZa0mJe3merzv1r1Eq","zgvMAw5LuhjVCgvYDhK","Cg9PBNrLCLK","qxjYB3DdBg9Zzwq","AxnwAwv3","y29UDgvUDeLUzM8","vgfIBgu","u1fsvdi","CMvHy3qTzMXVD19Fy29UDhjVBhm","zgLZy29UBMvJDa","C2vSzwn0zwroB2rLswrZ","zgv0ywLS","zML0vMLLD09WDgLVBNm","B25fzgDLC0nOyw5Nzq","5RIq5y+y6iMY","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","yM94lxnLBgvJDa","BwvYz2u","C3LUyW","ChGS","yM90Dg9T","AgfUzgXLCG","5PwW57Ue56YSia","Cg9ZAxrPB24","AxnfzgL0Aw5NrxzLBNrgBg93","Aw50zxjWB2XHDgu","BM9qyw5dBgfZC05HBwu","Bwf0CML4","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","BM9Kzxm","Dg9tDhjPBMDuywC","CMvHy3qTzMXVD19FBM9Kzs1KzxnJ","5Asn5yI26iQc54k5","mcaWidmYidmY","qxjYB3Dmzwz0","CMvM","D2LKDgG","DhjHBNnPDgLVBG","B25fCNjVCG","ChjLDMLLDW","5PYQ55+L55s75BId","Bs9ZWRi","C25HCeDYAwq","5Asw6yoO5lQl5lU2","qxjYB3DeB3DUt3v0BgLUzwq","zhvYyxrPB24","Aw50zxjUywW","vw5ZDwjZy3jPChrPB25fCNjVCG","qebVyNnLCNzHyMXL","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","i2iXyJfInW","u2vSzwn0t3v0BgLUzwq","CMvSyxrPDMuG","jhTSywjLBh3KUi3OG73OVAZMJAlKUlRML6xMNj8","teLorq","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","Bgv2zwW","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","BgfIzwW","6zw/54k5lEEFREEcUEs6PoABVW","BgLUzvr5Cgu","C2vSzwn0zwq","x2vUDgvY","AxnAB29TAw5Nt3jqyw5UAw5N","Cgf0DgvYBG","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGicaGicbMAwXLoM1YltqGzMLSztPWEs0YigzPBgu6ChGTnaOGicaGicaGicaGicaGicaGicbMAwXLoNjVDw5KzwqTzNvSBcbMAwXLoMjVCMrLCI0WcIaGicaGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicaGicaGzMLSztPIzY1IBhvLltuWigzPBgu6Dgv4Dc1IBhvLltCWmaOGicaGicaGicaGicaGicaGicbOB3zLCJPMAwXLoMjNlwjSDwuTmtaW","tM9Kzsb3AxrOigLKici","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","A2v5CW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","5PAW5BU65PwW5O2U6zUg","D29YAW","vg9Nz2XLieLUDgvYywn0AxzPDhK","qMv6AwvYrwrNzuLUDgvYBMfS","zgf0yvbVB2W","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","BgLUzvDLAwDODa","Bwf4wM9VBq","Cg9PBNrLCLG","lNjLywn0lwzSB3DFx3bHBMu","BxqTmsb0zxH0lwfTyMvYltGWma","yxnpyNnLCNzHyMXL","5A+85ywL57Ue5Ocb5PA55Qgi","y29UDhjVBhmUyxjPyuXHyMvS","5yAf6l656lED","x2fKzfbHCMvUDa","yM9YzgvY","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","6k+36l6t5ywL5PcC57sI5yAf5A65","q2XVC2vpDxrSAw5Lza","6yEn572U6kEg5zU+","r3jVDxbpDxrSAw5Lza","u3LTyM9SlML0zxjHDg9YigLZig5VDcbKzwzPBMvKlG","y2XVBMvfBgvTzw50","z2fTBwe","zwXLBwvUDhntzwXLy3rHyMXL","ChjLDG","y3jLyxrLrxzLBNq","BwvYz2vsDw50Aw1LsgfUzgXLCNm","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","zNjVBq","z2v0qM91BMrPBMDdBgLLBNrszwn0","ltuSltqGmcWWic01ldq","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","6l6t5ywL6iQc54k55zcn56EW","Dg9WlwXLzNq","77YA5lI65Q+p5lIQ5A2q6iQc54k56ywn572U5AsA5lIQ54Q25Ocb5zkm57Ur5A6A","566H55cg55s75BIdlI4U","oJPLEhq6oG","y3vYCMvUDfrHCMDLDa","qxjYB3DvCa","Dw5IAw5KqwXSrM9YtM9Kzq","iZuYyZqXyq","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","BwfYA2vYu3rHCNq","BM93AgvLBa","Bg9HzgLUzW","rw1WDhK","yxrHBJi","5A+g6zUg54k554Q2","6ycj5OUP6k+L5A2x5Q615A+55BQu55Qe5yw35l2t5yc85lUL5A6A5l2n5PwW5O2U6Ag5","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","zM9Yy2u","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","zw1WDhK","x2v4Axq","qMfJA3nWywnL","mtaWjq","z2v0qxr0CMLIDxrLtLm","CM9VDa","5OM+5lIn5yIW5lQl5lU25z2x","BM9Uzq","Bw9KztO","uMLNAhq","y29WEq","B3jPzw50","BMfTzxnWywnLvvjj","DgHLBG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs04","C2v0vhjHBNnSyxrLrxH0zw50","yMfZAwm","CgfYyw1Zq29Kzq","6k+36ycj5OUP5lIa5lIQ6iQc54k5","5PAh5PYS5Qch562+","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","ChGG","zgLZDgfUy2u","x190CMfUC2L0Aw9U","C3rYB2TL","mda0","zxzLBNruExbL","y29UBMvJDgLVBG","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","ChjVzhvJDgLVBG","oMzVy3vZlxzPC2LIBgu","Dg91y2HTB3zLlNPVB20","z2v0vMfSDwvgCM9Tugf0Aa","mtKYma","5PEG5zU+54Mh","yxjPyuXHyMvS","yxjPyuXHyMvSq29UzMLN","Dw5VyNnLCNzL","yxv0BW","DxbKyxrLtM9KzuLUDgvYBMfSCW","CMzFx2vKz2uT","u2LTCgXLqMv6AwvYrwrNzq","CMvTB3zLrxzLBNrmAxn0zw5LCG","tgLZDa","zg93BMXVywq","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","zwrNzxm","lwzSB3DFx2HHBMrSzq","CgLWzq","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","x196B29TAw5N","Aw50zxjUywXZ","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","rgL2AwrLCG","z2v0u3rHDgu","AgfZt3DUuhjVCgvYDhK","x3bHCMvUDhm","lNn2zW","BM9KzuXVB2T1Ca","CMv0DxjUigzHBhnLoW","x3rYEvn1yNnJCMLIzq","zg93BG","C3bHBG","C291CMnL","5A+85yE65OIq5yQF77Yb","uhjVCgvYDhLqyw5LBa","C3LTyM9S","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","yMfZzwXPBMu","Aw5ZDa","zw1PDa","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","Bg9JywW","y29UC3rYDwn0B3i","57Ut5P2F5A+86kEi","y29UDhjVBa","zMLYC3rfBgvTzw50q2HPBgq","zw50zxi","sgfUzgXL","CxvLCNLtzwXLy3rVCG","A2v5zg93BG","rM9YBq","55s75BId5A+85yE65OIq5yQF77Yb","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","5OMN6kgm5PA55BYp","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","ChjVDg90ExbL","zM9UDc1TzwrPDw0GDgv4Dc1ZBq","C2HPzNq","DMfSAwq","5PYQ5RoO5yAmigv4DgvYBMfSiowKHoEqHUwzQdOG","xcKK","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","5BYa5AEl5A2J5BQM","iokaLca","EvnUyxbWzwq","wM9VBsbpDxq","57Ut5P2F5PEL5PYF","zw50CMLLCW","55s75BId5A+85ywL5OIq5yQF77Yb","5A2x5l2t5AsN5Bcp","AgfUzgXL","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","y2XPzw50tgvMDa","x196B29T","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","zwrPDgLUz0v2zw50uM9VDeLK","qxjYB3DsAwDODa","B3zLCMzSB3CTAgLKzgvU","su1br0u","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","AwrLBNrPzMLLCG","vMvYDgLJywXbBgLNBKjVDhrVBu91DgXPBMvK","CMvHy3qTzMXVD19FzwrNzxm","57Uy5yI25QIH5BYp","AxnszxnPEMfIBgu","Dg91y2GX","zgvIDwC","yNvPBgrnzxjNzwreyxrHuMvJB3jK","zMLUza","55+L6ygt5lQg","CMvHy3qTzMXVD19FyxjYB3DOzwfK","zgvMyxvSDfzPzxC","BgLUAW","ugfUzwW","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","mdeW","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","5yAf6igu6isA5PYS","i2q5zdLKoq","57Ur5A6A5yc8","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","Dw5ZDwjZy3jPyMu","5PAW6iQc54k5","zg9TtM9Kzq","zgvSzxrL","zgf0ys1Oyw5KBgvWB3m","5A+85ywL5OIq5yQF77Yb","u0vmrunu","x19UzxDFxW","rgvSzxrLt3v0BgLUzwq","5ywO6ycj5B2t6Ag1","C3rLCa","zgvSDgfnB2rL","B25oB2rLC0rLBgv0zq","y3vYCMvUDe9IC2vYDMvYCW","y3jLyxrL","C3rHDhvZswq","u3bHy2u","6l+E57UT5A6E57Q/","yM90Dg9TlxjPz2H0","AM9PBG","yxjNCY5WCMv2ma","iwjNlwjSDwuTntaW","C21HBgW","iIbYEd0InciVpJWVC3zNpG","ufjpuevsvfLFq0HbtKDf","CxvLCNLtzwXLy3rVCKfSBa","57Q/5P2H5BgE5OcN","572U5lQo6Ag25Bgc","zgvSzxrHyMXL","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","lwzSB3DFx2vKz2u","BwLUwM9VBq","qMfJA2DYB3vUza","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","EM9VBs53AgvLBa","B25fzgL0","5zU+54Mh5zcn56EW","rxzLBNqGzMXVDYbLCNjVCJO","5Qch6k+g5lIn6io95lI656M6","C2nHBgvuBW","z2v0rxzLBNrcBg9JAW","A2v5","CgfYzw50rwXLBwvUDa","Dgv4Da","Eg1SBNm","z2v0vMLLD3bVCNq","uhjVBwLZzq","z2v0qxr0CMLIDxrL","C3rYB2TLv2LKDgG","6BYG5Qch56E75yE6","otK5ody2neHHqurqAG","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","5y+V6lcd5Pw05AsN5Bcp","y2XPy2SUzhjHzW","6k+36ycj5OUP5OMN6kgm5PA55BYp","DY1MDwXSigGTzNvSBa","C2nHBgu","BwvZC2fNzq","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","C3fYDa","5lQl5lU25Rwb5yIB5BU65OIq5yQF","C3rHCNrxAwr0Aa","rML0ifzPzxC","DxnLv2f0y2G","DY1MDwXSigP1C3rPzNKTzw5K","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","DMfSDwvdB2XVCG","zML0vMLLDW","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","C3rHDhvZ","ue9tsvrjvKvFsu5gsu5jvfK","5y+V5OUw5OU9","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","w2rHDgeTy2fUDMfZpsj0CNvLiL0","yxjNCY4","zxHWB3j0CW","Bw91C2vvCa","C2vUDa","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","mtu0mZjoAgHlzwm","DxnLrwrPDg9Yu3rVCMu","DhjHBNnSyxrLrxH0zw50","Dg91y2HZDgfYDc5KCMfN","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","CMv2zxjZzq","y2XVBMvoB2rL","BMfUB2LK","BgLUzxm","tK9erv9eruXfveu","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","zhjHDW","5zcr5zcoidmG6Ag1","zw5K","zM9UDc1TzwrPDw0GDgv4Dc1HBwjLCI05ntaGBwiTmG","BwLUAw1HCc5HCMLHtgfIzwW","zM9YBwf0sgv4oa","BM9Kzq","C2vSzwn0ywjSzq","lte0ChG","y3jLyxrLq29UDgv4Da","x2LUBMvYu3vIC2nYAwjL","57YP5Ps+5Q+u5l6l","CMDIka","y29UBMvJDgLVBLjHzgL1CW","5PAh5A2x6AkC6iMY","ios4QUIkGUEcUq","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","t1busu9o","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","yxbWBgLJyxrPB24VANnVBG","Cc02","y2f0y2G","CM90yxrLka","B25SB2fK","zxHWCMvZC2LVBG","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","5A2x5Q615PwW","6ycj5OUP5PE26zE0","x3n1yNnJCMLIzq","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iImXodKWzMyIihj4psi0iI8+pc9ZDMC+","5lQK5O2I6lw354k55zkm57Ui54k5","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","ChvZAa","Bw91C2vz","Aw52ywXPza","C2nHBgvcEq","6BYG5Qch56E75ywL","zxjYB3iWmdG","5A+85yE65B2t5yMn55s75BId","BgfIzwXdB2XVCG","D2fYBMLUzW","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","tM9Kzsb0ExbLici","sxrLBq","CMvHy3qTzMXVD19FC2vSzwn0Aw9UihjLywn0lwzSB3DFx2nVBNrHAw5LCG","ChjVzhvJzq","Bwv0yuTLEq","rNjLzq","iZi2mJyYnG","C3vIBwL0","AhjLzG","z2v0u2nYzwvUq1rn","CgfUzurYywDNAw5N","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","C2v0qxr0CMLIDxrLtLm","CMvSyxrPDMu","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","C21VB3rOC3rLCa","zxHLy3v0zq","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","DMLLDW","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","zgvZDhjVEq","DhjPz2DLCK5Vzgu","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","idaGvG","zgv2AwnL","twfJ","rg93BMXVywrpDxrSAw5Lza","6k+36ycj5OUP6kEM5y+r5PA55BYp","C2v0tM9Kzxm","B25czwzVCMvezwXLDgu","zgvZy3jPChrPB24","CMzjza","igHHBMrSzsbPzdOGiG","5zU+54Mh5BgE5OcN","CgfUwM9VBq","C2vSzwn0C3rHCNqUzhjHzW","5lIk5lYGifnwrW","5zYg6kEs55+P5B2I","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","5PYQ5RoO5yAmigrHDgfszxf1zxn0iowKHoEqHUwzQdOG","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","vgv4DefYzwe","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","C3zN","5OUw5OU96lcd5Pw06lw354k5","5lQl5lU25Rwb57Ur5A6A","CMvZDgfYDa","Aw52zxjZzq","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","Bw91C2vKB3DU","y29UDgv4Dg1LBNu","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","DhLWzq","vevyva","C3bSAxq","w3jVBgu9iMXPC3rIB3GIxq","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","xNjNyMfCka","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","ndaYqwr1CLvy","DgfYz2v0sgfUzgXL","Axnqyw5ty3jVBgXPBMC","ywrKrxzLBNrmAxn0zw5LCG","ugXLyxnLihvZzsbGz2v0tM9KzxncB3vUzhnGigzYB20GyhvZzvjLywn0rMXVD2aVyhvZzvn2zwX0zuzSB3DGigHVB2SGDg8Gzw5ZDxjLignVCNjLy3qGDMfSDwvZigzVCIbZDwiGzMXVD3mUieLMig5VDcbWB3nZAwjSzsWGEw91igHHDMuGDg8GChjVDMLKzsbHig5VzgvmB29RDxaGDg8GC3vWCg9YDcbZDwiGzMXVD3mU","CMDIysG","BwfYA2vY","6zw/5yIs6zE06zQu","rxzLBNrgBg93qMLUzgLUzW","zgf0ys1UB2rLAwq","zxzLBNrgBg93","cIaGicaGicaGica","ww91ihbYB3zPzgvKia","z2v0uM9VDe5Vzgu","rNvSBa","Dg9qCM9TAxnL","zxHLy3v0zuj1AwX0Aw4","ioMHUEw/HEMHU+AyR+wVUEIXOq","Cg9PBNrLCI1LDMvUDhmTyxv0BW","zgvMAw5LuhjVCgvYDgLLCW","Aw5KzxG","CMzFx3DYyxbWzxi","y2fUDMfZzxm","re9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO","mNb4ihnVBgLKicmXodKWzMy","5BYa5AEl5PYi5lU9","BM9KzxngB2n1C2fIBgu","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","BMv3","6k+35AgR5yAz5O+q56s65yAf5A65","Aw5PDgLHBeHLAwDODa","B25dBgLJA0nVBM5Ly3rfBMq","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","B3DUzxjtvKDfBgvTzw50","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","Aw5MBW","yxv0B1bHBK9UtM9KzuzVy3vZ","BgLZDa","5Qch562+5Qc35BYp","6ycj5OUP5QIH5BYp","zxzLBM9Kza","C2XPy2u","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","CMvJDa","z3jVDxa","yMX1zq","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","u2HPzNq","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","DgL0Bgu","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","q29SDw1Uv2LKDgHpDxrSAw5Lza","zMLSDgvY","mda4","5Qch562+5PAh5PYSicHSywjLBcK","zMXLEc0X","5Bgv5BYa6kgm","DMvYDgLJywW","Dgv4DgfYzwe","zxHLy3v0zuzSB3DoB2rLCW","Cg93","CM9VDfbHCMvUDeLUzgv4","q1vtve9n","x19WCM90B19F","y3jLyxrLrwXLBwvUDa","C2v0q2vUDgvY","zw5HyMXLrxzLBNrgBg93","6ycj5OUP6kAb6lEZ6l2S55Qe55s75BId","C2v0vhjHBNnMB3jT","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","BM9Kzu5HBwu","AhLWB3q","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","CMvTB3zL","BM9Kzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","ENvZDgfUza","B3DUzxjeB2n1BwvUDa","iZe4otbMzG","DhjHBNnWyxjLBNq","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","5B+R6ycF5A+56B2q","lcb5oIa","zw5Kug9PBNq","57Ui54k5ifG","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVViZPOBSGCMv0DxjUihrYDwuVzMfSC2xVVjVMTyVNGRNMLBdNU4tMJiKGCgfYyw1Zq29KzsdLKiJLUBBOV5SGzgf0yEoaGG","x2nVBxbSzxrL","6iom5PMV5zU+54Mh5lIk5lYG5OIq5yQF","zgvSyxK","B2zMC2v0sgvPz2H0","twLUDxndAxjJBgvpDxrSAw5Lza","yMfJA2DYB3vUza","BgfIzwXcz0jVCMrLCLjHzgL1CW","5BEY5RE75yQG","BgfIzwXtDhLSzq","wvLzwq","yxv0B1bHBLnWzwvK","55s754k557Q/","yxrHBG","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","Dg91y2HTB3zL","57Ur5A6A6iQc54k5","mcaWidmYidmW","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","BM9KCMfN","C2vSzwn0zwroB2rLCW","6l+u5zUE5lUk5AsP","5Rc05BMZ5yIg5BId","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","mde1","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","6ycj5OUP54MP5PAz","i2zHogmXnG","jhTSywjLBh3MNidLPjOKE21HEh3KUkRLRzFNRky","uMvKB091DgXPBMvK","AxnjBNrLCM5HBa","lNjLywn0lwzSB3C","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","C3rVCfbYB3bHz2f0Aw9U","Aw1N","mJDet3PNuxK","ugX1C091DgXPBMvK","AgfZqxr0CMLIDxrL","vg9W","yNvPBhrPBG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","DhjHBNnSyxrLkc0","5lQl5lU25z2x5BEY5PU05PAW","yxjNCW","nsW1","6ycj5OUP57Q/5P2H5Qc35BYp","5PAW5lQl5lU25z2x","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","zxjYB3iWmte","5PAW5BU65lQl5lU25Rwb","zxzLBNrsB290CW","mdeY","tM9KzvjLBMrLCMvY","q29UDhjVBa","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","mcaWidmYidu","Bw91C2u","AxntzwXLy3rLza","6BYG5Qch6l+B5ywL","qxjYB3C","CMDIysGWldaSmcWWkq","576K57UexW","C2v0qxr0CMLIDxrL","zgf0Dw0","zw1PDev4DgvYBMfS","CMvUzgvY","ANn4","DhjPBq","Aw5JBhvKzxm","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","6iom5PMV6iMY","CMvHy3qTzMXVD19FBM9Kzxm","ru1qvfK","BwiTna","AgfZ","yxbWBhK","AhnSysG","mca0ChG","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","kow9K+wjJsK","BgLMDa","AxndBgLJA2fIBgu","zxjYB3iWmdq","CMvJEwnSzufZEw5Jswq","5OYb57UT5PE26zE077Yi56Es77Yj","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","C29Tzq","Bw91C2veB3DU","vhLWB2DYyxbOEq","CMvZB2X2zuzSB3DfDMvUDejSB2nR","rxLLt3v0BgLUzwq","DMLZAwjSzq","y2fSBa","yxjNCY5WCMv2","C2nHBguO","BM9Kzu9YAwDPBG","y2fSBgjHy2S","DxbKyxrLq29UBMvJDgLVBG","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","C2vSzwn0zwrfzgDLCW","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","Dgv4Dc1ZBq","CMvJB25Uzwn0ywjSzq","5ywL5y+c5zcn77Yi5OYj6l+E57Q/6Ag65BQp77YjoIa","DxjSkcCJ","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","DMfSDwu","q2XHC3mGzxH0zw5KCYb2ywX1zsa","C3rHCNry","BgvMDa","CgHHBNrVBq","zxjYB3jZ","u3DPDgnO","5PEG562B6ycj6Ag5","6k+35Rgc5PwW5O2U","y2XLyxjbBgW","zM9UDc1TzwrPDw0GBwiTmG","CMvHy3qTzMXVD19FzwrNzs0","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","mta4ma","B2jZzxj2ywjSzq","5Rwl6k+v5PwW5O2UicHku09okq","q2fUDMfZ","CgfUqNK","zwXLDMf0zu5VzgvZt25tzwXLy3q","zwrNzuXVB2T1Ca","u2LTCgXLqMv6AwvY","u3rLCevKz2vjBNrLCM5HBa","rw50zxi","y29TCg9ZzwrqyxrO","zgL2","5lQl5lU25Rwb57Yw6l6r5zMO","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","DgfYz2v0","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","y3jLyxrLrgvMyxvSDfn0yxr1CW","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","ywjZB2X1Dgu","qNv0Dg9U","ChjVCgvYDhK","vxbSB2fK","y2XHC3m","B25oB2rLrg91yMXLq2XPy2S","BwiTmW","B2jZzxj2zq","CNvUDgLTzuHHBMrSzxjZ","C3rHCNrizwLNAhq","5l6l5AAc77YACMvMCMvZAcdMIjyGCgfYzw50oNjLBg9Hza","zMXLEcbMBgv4lwnVBa","C3bHy2uTEs00","Dg9tDhjPBMC","Dg9izxHtDhjPBMC","DgHYB3C","yxjPyvjVBgu","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","yM9Sza","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","5PEG54Q25Ocb","5PYQ55+L57g75z6l","CgfYzw50swq","DgLTzq","C2nHBgvy","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","B2jZzxj2zwq","ChjLDMvUDerLzMf1Bhq","CMvHy3qTzMXVD19FBM9Kzq","qgfUDc1KzxnPz24VAwnVBNm","y29UBMvJDgLVBKXVB2T1Ca","y2XPzw50wq","uMvHy3qGrMXVDW","5PwW5O2U5RgG","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","zg90","BM9Kzvr5Cgu","zxHWyw5Kzwrszwn0","zMLSzq","6k+36ycj5OUP5zgO","C2HVDwXKvw5ZDwjZy3jPyMu","zxzLCNK","zgjSy2XPy2SUEM9VBq","Aw50zxjYDxb0","BxqTmIbWltiGyM9YzgvYihjVDw5Kzwq","DhjHBNnSyxrL","Dg91y2HLBMq","uhjVDMLKzxi","B2jQzwn0","Bg9VC2u","Aw5Zzxj0qMvMB3jL","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","BgLI","CMvWBgfJzq","y2fUy2vS","BwiTmG","zxjYB3i","zxzLBNq","rwrNzvjLBMrLCMvY","Bwf0y2HnzwrPyq","Cg9SEwXPBMu","5PQc5PEG5PwW5O2U","y292zxi","C2vJB25Kyxj5","i2zMzG","zgLZCgf0y2HfDMvUDa","y3vYC29YlwDYywi","5yc85P2L5RQq","Cgf0DgvYBI0","CMzFx25VzguT","5OUw5OU95PEl6l2S","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","BgfIzwXgB250u2L6zq","zg90CW","yM91BMreyxrHC2v0qMLUzfzHBhvL","Bw91C2vpDMvY","DxnLzfjPz2H0tw91C2vcDxr0B24","5lQm57U056cb6l+h5PYF","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","6ycj5OUP5PYi5lU9","mI4WlJa","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","C2nOzw1LxW","6ycj5OUP57Ur5A6A5yc8","Dg91y2G","y2HLy2TwAxnPyMLSAxr5","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","x2LK","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","BgLUzq","uMvHy3q","DxnLq2fSBgjHy2S","zNvUy3rPB24","AhnSka","zwrNzuLUzgv4","DhDLzw4","x2v4zwn1Dgu","5zYO562B6ycj6Ag55lIT5PcC57sI","C2v0rwrNzxm","6ycj5OUP5PwW5O2U6zUg","y29UC3rYywLU","BwfW","Bw91C2vcDxr0B24","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","C2HVD0DYAwq","sw1Hz2u","zw5Kwq","DxnLCLnWywnLt25vC2u","y29UDgvUDa","zxH0zxjUywW","DxnLrgvIDwDwywX1zq","wM9VBsbjBG","5yIG6zMK5B2t6Ag1","yxv0B1bHBK9UtM9KzurYywC","CMv0DxjU","ChvYCgXL","y29UzMLNrwrPDg9Y","6lEZ6l2SoIa","rgf0ywjHC2vpDxrSAw5Lza","Bw91C2vTB3zLlMrYywC","6ycj5OUP57Ur5A6A5A2x5Q61","44cn77YA5lIk5RI4","5yIG6zMK6ycj5lITicHezwXLDguP","CMvNAxn0zxjfDMvUDejSB2nR","DxnLu3LUy0v4DgvYBMfSu3rVCMu","5lIl5lIa6Ag1","BwfUDwfS","54Q25Ocb5yIx6kgO","Dg9qCMLTAxrPDMu","Bwf0zxjPywW","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","rwrNzsbMCM9Tia","x2vYCM9Y","C2v0u3rHDgu","yM91BMreyxrHC2v0swq","Bw92zwq","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","twLUAu1HCa","y29UDhjVBerPCMvJDgLVBG","DhjPz2DLCK5VzgvdAgfUz2vZ","zM9YBwf0uMDI","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","ie0Wia","z2v0sw5PDgLHBfn0yxrL","5OMa5PYj57Ur5A6A5Q2K5PwW5O2U6zUg55Qe54Q25Ocb5Bcg6iEQ5yQO6kEJ6zMK57Ur5A6A44cc","CgfUu2nYB2XSvgLTzw91Da","ywn0Aw9UCW","yNvPBhrPBKnVBMzPzW","zwrPDa","55s75BIdide","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","C2v0sw50zxj2ywW","AxntDg9WCgvK","z2v0uMvHzgvY","lY8G5y+V55sO5y+c5PwWoGOVlYbUB2rLic0G6kEM5y+r5lQl5lU255Qe6iQc54k5cI8VignVBNrLEhqGlsdKUOVKU7BKUiRKUiVMLOCklY8GyxjNCYaTios8OowfPEEAHowpGUAvSaOkCMv0DxjUigfYz3m7","6k+35Rgc5Qch6k+g","lM5VA2v5","C2L6zq","zxH0zxjUywXiyw5KBgvYs2v5","5yc85Qc35BYp","B25dB25Uzwn0u3rHCNq","Dg9iyw5KBgu","AxnwywXPza","5Asw6yoO5PA55Rov","y2vUDgvY","EfnUyxbWzwq","iZu5ntK1oq","zxHWyw5KugfYzw50","zgvMyxvSDevKz2vpChrPB25Z","BM9KzurYywDuAhjLC2HVBgq","DxnLCK5Vzgu","zg9JDw1LBNq","Aw52zxj0wa","zxH0zw50","q3jVC3m","y2fUDMfZ","y2XPzw50v2LKDgG","DgfWrgLZDgfUy2u","C2TLD1G","y2XLyxjjBNrLCNzHBa","5lIk5lIa6Ag1","Aw5WDxq","5BYa5AEl5zgO","EMGTy24","6BYG5Qch6yEk5Ps+","5RIf56M65OMa5PYj","5OMN6kgm5lUJ56cb","C2v0rhjHz0LTywDL","zwrNzxnszwnVBM5Ly3rHyMXL","Aw5qCM9NCMvZCW","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","y2XPzw50vg9W","DMLLD3bVCNq","x3jLBw92zvbHCMvUDa","CMvTB3zLq2HPBgq","6k+36ycj5OUP5yAf572U5yQO5l2C","mtjWEcaW","zwrNzvf1zxvL","yw1K","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","yxn5BMnjDgvYyxrVCG","BMv4DfnPyMXPBMC","zxjYB3iWmtu","zgf0ys1Oyw5KBgvPza","55s75BIdia","tgf5B3v0","zwfJAa","6kEM5y+roIa","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","BxqTncbMBgv4igP1C3rPzNKTzw5K","yM9YzgvYlwjVEa","mdaY","zgLZCgXHEu5HBwu","C29SAwq","y2XPy2TeAxn0yw5Jzq","6yEn5ygAicHdDhjSk1KP","sw5WDxq","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","BM9Wyw4","Bw91C2vfBNrLCG","AgLZDg9YEq","DxnLq29UDgv4Da","C2LTCgXLyMv6AwvY","zxHW","ioMHUsK","y3vYCMvUDfn0yxr1C0LK","rg90CW","zgv2zwXVCg1LBNq","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","yMX1CG","C291CMnLug9ZAxrPB24","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM","Dg91y2HLCW","z2v0","Aw5ZzxqOmtaWjsK","zNjVBNq","CMvHy3qTzMXVDW","yMfJA2DYB3vUzeLTywDL","u3rLCa","z2v0u25HChnOB3q","CMvTB3zLuhjVCgvYDhK","y29UDgv4De1LBNu","BgfIzwXcz1bHzgrPBMC","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","vhjHBNnMB3jTq29TCg9Uzw50","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","CMzFx21PBMLTyxa","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","CgfYzw50tM9Kzq","r3jHCgHwAwv3","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","Dg91y2GW","Bw92zq","C291CMnLswq","5Asn5yI25OIq5yQF","DxnLCKfNzw50","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","y2HLy2TLza","vhjHBNnMB3jTv3jHChbLCG","BM9YBwfSu3r5Bgu","5PwW5O2U6k+35Rgc","zML0vMLLD1jLC29SDMvY","y3vYCMvUDenHBNzHC0LK","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","x25HBwvZ","DxbKyxrL","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBwLU","w1jLywn0iezSB3DDoIa","y2XHC3nmAxn0","mdaX","rg93BLnXDwfYzu91DgXPBMvK","Dgv4Dc14CW","Cgf0Ae9WDgLVBNm","iZaWmtKZqW","Aw5SAw5Lu2nYAxb0","zMLYC3rdAgLSza","zM9YrwfJAa","5A2x5l2t57kx57Ug","ihrVia","B25nB3zLu3rHCNq","C2nHBgvfEhrLBNq","DhjHBNnSyxrLwcGTntaLkq","zhjHzW","y29UDgfPBG","ioADOEwfPEI+UsdIHPdJGiW","y29YBMvY","C291CMnLsgfUzgXL","DgLTzxi","zw5KlNn0EwXLlG","x2jSyw5R","BwiTmcbTDc00","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","C2v0qxr0CMLIDxrLCW","sw5WDxroDw1Izxi","BM9Kzvr5CgvZ","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","5y+Z5A+56B2q","BgLUzs1KCMf3","5PEl6l2S6kEs5BQM","DMfSDwvgB250v2vPz2H0","zgvJAw1HBhm","C3vIC2nYAxb0Aw9UCW","CMvHy3qTzMXVD19FCgfUzq","zxHLyW","Dw5PDa","C2vSzwn0zwrtDgf0Dxnjza","C2nHBgvz","6iom5PMV6Ake6kEi","mLvnzNrjra","ywzMzwn0C1K","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","EMHFq04","zxjYB3iWmtm","C3bSAwnL","6iQc54k55PwWoIa","6iQc54k5ieLeoIa","CMvHy3qTzMXVD19FBM9Kzs0","576K57Ue6iQc54k5","CMvHy3qTzMXVD19FAgfUzgXL","6Ake6kEi5QIH5BYp","C2vSzwn0Aw9U","ugfYzw50ig5VzguG","yMCTD2HPDgu","DY04igGTmc41igjNlwDYyxKTndaW","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","u2v0DgLUz091DgXPBMvK","C3rHCNroB2rLwq","y2XPy2S","AxrLCMf0B3i","iZCZzdeZza","ywn0AxzL","BM9KzuvSzw1LBNq","5RE75yQG54Q25Ocb","BgfIzwXcz1n0EwXL","DgLTzxjjza","mxb4ihnVBgLKicnKowq5zdK","Ag9YAxPVBNrHBa","CMvZAxPL","zhjVCevMzMvJDa","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","BxqTna","B25oB2rLC0nOyw5Nzq","CMvXDwvZDefUAw1HDgLVBKzYyw1L","C2v0uhjVCgvYDhK","ChjLCgfYzuv2zw50qxjNCW","CgfYDgLHBe9IC2vYDMvY","DMfSDwvtB3vYy2vdB2rL","y29UDgv4Da","ntyYmZbdsxvuz2S","CMvHy3qTzMXVD19FCMvUzgvYzxi","yM91BMrHCMLLCW","5l6l5AAc77YABMf2AwDHDgvuB+oaGw9Wzw5eAwfSB2C","y3jPC3bfzgDLCW","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","zMLUzeLUzgv4","zMXLEc0Xig1PBI13lta","DhjHBNnSyxrLwa","x19LC01VzhvSzq","tgLUzq","77Ym5AsA5ywL6l6555sOia","5PwW5O2U6zUgia","ChGP","56gU6k6K5yIG6zMK","6BUy6k6K5yc877Yi5Ash55sO77Yj","6ycj5OUP5BM05lU9","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","5A+85ywL5lI65PAW55s75BId77Yi5lIn6kAg55Uw5B2t5yMn55s75BId77Yj","xMHZBfWO","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94AhrTBa","Dg90ywXjBMnVBwLUzW","AxrLBq","DxnLrwzMzwn0","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","Bw91C2v1Ca","C25HCfrVr3jPza","Bwf0CML4vhjHBNnMB3jT","BM9KzuLK","DgfYz2v0q2fUDMfZswq","Dhj5CW","C3rYAw5N","y3vYC29YlxbVAw50zxi","BgLZDc1UB25LihnWywnLlxKTmIbTltaGCc0W","yM9YzgvYuMfKAxvZ","C3bHy2u","zgvMyxvSDevKz2vZ","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","5y+Z6zsU6i+C5y2v","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","Dg91y2HHyMXL","uMvHy3rAB29TugfUugLUy2G","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","zM9YBwf0shnS","Dg91y2HZDgfYDa","x3bHCMvUDa","AgfUzgXLCW","qM90Dg9T","CMvHzefZrgf0yvvsta","57Uy5yI25lIT","y3rYBeTLEq","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","zM9UDfnPEMu","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","ChjLDLzPzxDWB3j0","Aw5ZDgfUDa","C2vSzwn0tM9KzxnpBKrYywC","6k+36ycj5OUP6iQc54k5","vgfN","zgvMCW","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","zg9Tqxr0CMLIDxrLCW","BM9YBwfS","vg9VBhrPCa","BM93","5PAh5PYS5yAf5A65","BwfYz2LU","CMfUz2u","yxjYB3C","y29SB3i","iIbKB2vZBID0igv4Axn0lG","5zcr5yMniduG6Ag1","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","ANn4CW","C3bHy2uTEs0Z","CMDI","q29UBMvJDgLVBKXPBMu","6k+36l6t5ywLjhTSywjLBh0","B25qB2LUDgvYrg93BG","DgHPy2TUzxnZ","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","zwzMzwn0qwXSB3DLza","yMvMB3jLC3rHCNq","CM91BMq","ugXLyxnLig9UBhKGAgLKzsb0AgLZigf0DhjPyNv0Aw9UihDOzw4GEw91igfYzsbZDwjZy3jPyMvKihrVifjLywn0iezSB3CGuhjVoIbODhrWCZOVl3bYBY5YzwfJDgzSB3CUzgv2","DxnLuMvM","6BUy6k6K54Q25Ocb","C3vWChjLC3nLza","y2XPzw50wa","tw9KywW","5Bcg57Q/5P2H5y+y5lI65Rc05BMZ57Q/77Ym5l+D5OYb6zw/5BQM","55s75BId6ywn572U","5y+c5PwW5zcn77Ym5AAciee","x19UB3nLBgvJDa","zxzLBNrMBg93","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","C2v0vgLTzq","zxHLy3v0B3juExbL","DhjHBNnSyxrLka","igrVzxmGBM90igv4Axn0lG","vevyvefsrue","yNvPBhrPBKLK","6Ag65PE26zki5PEl6l2S6kEs5BQM77Yi5BQM77Yj","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","zgf0ytPPBwfNzs9ZDMCREg1Sla","yMLUze5VzgvfDMvUDa","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","CgfZDa"];return _0x15bf=function(){return pe},_0x15bf()}function _0x5299(pe,l){pe=pe-438;const N=_0x15bf();let z=N[pe];if(_0x5299.kGJzDh===void 0){var le=function(tt){const c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=";let Q0="",vn="";for(let He=0,d0,u0,pn=0;u0=tt.charAt(pn++);~u0&&(d0=He%4?d0*64+u0:u0,He++%4)?Q0+=String.fromCharCode(255&d0>>(-2*He&6)):0)u0=c.indexOf(u0);for(let He=0,d0=Q0.length;He<d0;He++)vn+="%"+("00"+Q0.charCodeAt(He).toString(16)).slice(-2);return decodeURIComponent(vn)};_0x5299.OrCerD=le,_0x5299.QiXwlB={},_0x5299.kGJzDh=!0}const sx=N[0],nt=pe+sx,ve=_0x5299.QiXwlB[nt];return ve?z=ve:(z=_0x5299.OrCerD(z),_0x5299.QiXwlB[nt]=z),z}const c=_0x5299;var Q0=document.createElement(c(693));Q0[c(1978)]=`.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.head[c(686)](Q0);function vn(n){const e=c;return n&&n.__esModule&&Object[e(1007)][e(976)][e(1429)](n,e(2064))?n[e(2064)]:n}var He={},d0={exports:{}},u0;function pn(){const n=c;return u0?d0.exports:(u0=1,(function(e){const t=_0x5299;function x(r){return r&&r[_0x5299(1834)]?r:{default:r}}e.exports=x,e[t(1132)][t(1834)]=!0,e[t(1132)][t(2064)]=e[t(1132)]})(d0),d0[n(1132)])}var zn={},Bo;function Uc(){const n=c;if(Bo)return zn;Bo=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.default=void 0;const e={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:n(1657),next_page:n(1601),prev_5:n(1898),next_5:"向后 5 页",prev_3:"向前 3 页",next_3:n(1148),page_size:"页码"};return zn.default=e,zn}var Cn={},Mn={},Bn={},Dn={},Do;function Oc(){const n=c;return Do||(Do=1,Object[n(796)](Dn,n(1834),{value:!0}),Dn[n(744)]=void 0,Dn[n(744)]={yearFormat:n(1346),dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Dn}var Lo;function Gc(){const n=c;if(Lo)return Bn;Lo=1,Object[n(796)](Bn,n(1834),{value:!0}),Bn[n(2064)]=void 0;var e=Oc();function t(s){"@babel/helpers - typeof";const d=n;return t=typeof Symbol=="function"&&d(987)==typeof Symbol.iterator?function(f){return typeof f}:function(f){const g=d;return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?g(987):typeof f},t(s)}function x(s,d){const f=n;var g=Object[f(864)](s);if(Object[f(1733)]){var b=Object[f(1733)](s);d&&(b=b.filter(function(v){const h=f;return Object.getOwnPropertyDescriptor(s,v)[h(476)]})),g.push.apply(g,b)}return g}function r(s){const d=n;for(var f=1;f<arguments[d(707)];f++){var g=arguments[f]!=null?arguments[f]:{};f%2?x(Object(g),!0)[d(1753)](function(b){o(s,b,g[b])}):Object[d(896)]?Object[d(1270)](s,Object[d(896)](g)):x(Object(g))[d(1753)](function(b){const v=d;Object[v(796)](s,b,Object[v(1579)](g,b))})}return s}function o(s,d,f){const g=n;return d=i(d),d in s?Object[g(796)](s,d,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[d]=f,s}function i(s){const d=n;var f=a(s,d(1857));return d(987)==t(f)?f:String(f)}function a(s,d){const f=n;if(f(1523)!=t(s)||!s)return s;var g=s[Symbol[f(1604)]];if(g!==void 0){var b=g.call(s,d);if(f(1523)!=t(b))return b;throw new TypeError(f(647))}return(f(1857)===d?String:Number)(s)}var u=r(r({},e[n(744)]),{},{locale:n(1788),today:"今天",now:"此刻",backToToday:n(1357),ok:"确定",timeSelect:n(1176),dateSelect:n(706),weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:n(1302),nextMonth:n(1816),monthSelect:n(1554),yearSelect:n(1841),decadeSelect:n(451),previousYear:"上一年 (Control键加左方向键)",nextYear:n(441),previousDecade:n(722),nextDecade:n(2045),previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1});return Bn[n(2064)]=u,Bn}var Ln={},No;function So(){const n=c;if(No)return Ln;No=1,Object[n(796)](Ln,n(1834),{value:!0}),Ln[n(2064)]=void 0;const e={placeholder:n(727),rangePlaceholder:["开始时间","结束时间"]};return Ln[n(2064)]=e,Ln}var ko;function Io(){const n=c;if(ko)return Mn;ko=1;var e=pn()[n(2064)];Object[n(796)](Mn,"__esModule",{value:!0}),Mn.default=void 0;var t=e(Gc()),x=e(So());const r={lang:{placeholder:n(2176),yearPlaceholder:"请选择年份",quarterPlaceholder:n(1998),monthPlaceholder:"请选择月份",weekPlaceholder:n(1514),rangePlaceholder:[n(637),n(1019)],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:[n(1276),"结束月份"],rangeQuarterPlaceholder:[n(1015),n(2056)],rangeWeekPlaceholder:[n(1659),"结束周"],...t[n(2064)]},timePickerLocale:{...x.default}};return r.lang.ok="确定",Mn[n(2064)]=r,Mn}var Po;function Vc(){const n=c;if(Po)return Cn;Po=1;var e=pn()[n(2064)];Object[n(796)](Cn,n(1834),{value:!0}),Cn.default=void 0;var t=e(Io());return Cn[n(2064)]=t[n(2064)],Cn}var Ao;function Hc(){const n=c;if(Ao)return He;Ao=1;var e=pn()[n(2064)];Object[n(796)](He,"__esModule",{value:!0}),He.default=void 0;var t=e(Uc()),x=e(Vc()),r=e(Io()),o=e(So());const i="${label}不是一个有效的${type}",a={locale:n(1660),Pagination:t[n(2064)],DatePicker:r[n(2064)],TimePicker:o.default,Calendar:x[n(2064)],global:{placeholder:n(654),close:"关闭",sortable:n(2189)},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:n(1450),filterCheckAll:"全选",filterSearchPlaceholder:n(1573),emptyText:n(1536),selectAll:n(1066),selectInvert:n(467),selectNone:n(1662),selectionAll:n(699),sortTitle:"排序",expand:n(1308),collapse:"关闭行",triggerDesc:n(524),triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:n(1044)},Tour:{Next:"下一步",Previous:"上一步",Finish:n(995)},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:n(884),itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:n(1066),removeCurrent:n(1588),selectAll:n(699),deselectAll:n(791),removeAll:n(593),selectInvert:"反选当页"},Upload:{uploading:n(2164),removeFile:n(546),uploadError:"上传错误",previewFile:n(558),downloadFile:"下载文件"},Empty:{description:n(1536)},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:n(1731),expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:n(522),required:n(1904),enum:n(1966),whitespace:n(1004),date:{format:n(1350),parse:n(849),invalid:n(1727)},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(1945),min:n(2092),max:n(1365),range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:n(533),max:n(970),range:n(910)},array:{len:"须为${len}个${label}",min:n(634),max:n(1618),range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:n(1300)}}},QRCode:{expired:n(1552),refresh:n(1969),scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:n(809)}};return He[n(2064)]=a,He}var lx,jo;function Tc(){return jo||(jo=1,lx=Hc()),lx}var qc=Tc();const Wc=vn(qc),Xc=n=>(e,t,x)=>{const r=c;return x[r(1609)]=(o,i,...a)=>{const u=r,s=typeof o===u(1568)?nt[u(1194)](o):o;return e(s,i,...a)},n(x[r(1609)],t,x)},Kc=Xc;function Zc(n){return Array[c(611)](n)}function Eo(n){const e=c,t=[];for(const x of Object[e(864)](n)){t[e(1181)](x);const r=n[x];if(r!==null&&typeof r=="object"&&!Array.isArray(r))for(const o of Object.keys(r))t[e(1181)](x+"."+o)}return t}function Rc(n,e,t){const x=c,r=n[x(506)];if(Zc(r)){if(e!=null&&t!=null){const o=r.find(i=>i[e]===t);if(o)return o}return{}}return r}function Yo(n,e,t,x){const r=c,o=Rc(n,t,x),i={...o};if(e&&typeof e===r(1523)&&!Array[r(611)](e))return{...i,...e};if(Array.isArray(e)){const a={...i};for(const u of e){if(!u||typeof u!==r(1523))continue;const s=u;s[r(938)]!=null&&(a[String(s[r(938)])]=s[r(1443)])}return a}return i}const Jc={id:"_",name:"_",sample:{}};function dx(n,e,t){const x=c,r=n[x(1610)]!=null?String(n[x(1610)])[x(1404)]():"",o=r?t[x(1043)](a=>a.id===r):void 0,i=o??Jc;try{const a=Yo(i,e,n[x(455)],n[x(1549)]);return new Function(x(2172),n[x(1173)])(a)===!0}catch(a){return console[x(704)]("状态表达式执行失败 ["+n[x(599)]+"]:",a),!1}}function Uo(n,e,t){for(const x of n)if(dx(x,e,t))return x}function Oo(n,e){const t=c;for(const x of n){for(const r of x[t(800)][t(617)])r[t(1610)]===e&&(r[t(1610)]=null,r.boundDatasetBindCode=null,r[t(1549)]=null);x[t(1244)]===t(1295)&&x[t(584)]?.length&&Oo(x[t(584)],e)}}function ux(n){const e=c;for(const t of n){for(const x of t[e(800)][e(617)])delete x.bindCodes;t[e(1244)]===e(1295)&&t.children?.[e(707)]&&ux(t.children)}}const fx=(n,e)=>({id:n||ve.nanoid(),name:e||c(1626),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:[]}}),_c=()=>{const n=c,e=fx();return{id:ve[n(1143)](),name:"默认项目",canvases:[e],currentCanvasId:e.id}},Go=_c(),N0=Go[c(1273)][0],Qc={root:Go,materials:[],mode:c(667),lineDrawing:{isDrawing:!1,material:null,startPoint:null,endPoint:null},eventFlow:{eventBlocks:[],eventRoots:[],editingEventRootId:null,isEditingEventFlow:!1},dataPool:[],externalHandlerCatalog:[],nodes:N0[c(824)],canvas:N0[c(672)],viewport:N0[c(1669)],selectedNodeId:N0[c(692)],selectedNodeIds:N0[c(805)],selectedStatusId:N0[c(1782)],history:N0[c(1697)]},n0=(n,e,t)=>({id:ve[c(1143)](),type:n,targetId:e,payload:t,timestamp:Date[c(1891)]()}),Ye=sx[c(1071)]()(Kc((n,e)=>({...Qc,addCanvas:t=>{const x=c,r=fx(ve[x(1143)](),t||x(1681)+(e().root[x(1273)][x(707)]+1));return n(o=>{const i=x;o[i(926)][i(1273)][i(1181)](r),o.root[i(1739)]=r.id;const a=r;o[i(824)]=a.nodes,o.canvas=a[i(672)],o[i(1669)]=a[i(1669)],o[i(692)]=a[i(692)],o.selectedNodeIds=a[i(805)],o[i(1782)]=a[i(1782)],o[i(1697)]=a[i(1697)]}),r.id},removeCanvas:t=>{n(x=>{const r=_0x5299,o=x.root[r(1273)][r(1831)](i=>i.id===t);if(o!==-1&&!(x[r(926)].canvases.length<=1)&&(x[r(926)][r(1273)].splice(o,1),x[r(926)][r(1739)]===t)){const i=x[r(926)].canvases[0];x[r(926)][r(1739)]=i.id,x[r(824)]=i[r(824)],x[r(1652)]=i[r(672)],x[r(1669)]=i[r(1669)],x[r(692)]=i[r(692)],x.selectedNodeIds=i[r(805)],x[r(1782)]=i.selectedStatusId,x.history=i[r(1697)]}})},switchCanvas:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)].find(i=>i.id===t);o&&(x.root[r(1739)]=t,x.nodes=o[r(824)],x[r(1652)]=o[r(672)],x.viewport=o[r(1669)],x.selectedNodeId=o[r(692)],x[r(805)]=o[r(805)],x.selectedStatusId=o[r(1782)],x[r(1697)]=o.history)})},updateCanvasName:(t,x)=>{n(r=>{const o=_0x5299,i=r.root[o(1273)][o(1043)](a=>a.id===t);i&&(i[o(599)]=x)})},getCurrentCanvas:()=>{const t=c,x=e();return x.root[t(1273)][t(1043)](r=>r.id===x[t(926)][t(1739)])},setSelectedNodeIds:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)][r(1043)](i=>i.id===x.root.currentCanvasId);o&&(o.selectedNodeIds=t,x[r(805)]=t)})},addSelectedNodeId:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)].find(i=>i.id===x[r(926)][r(1739)]);o&&!o[r(805)][r(1405)](t)&&(o[r(805)][r(1181)](t),x[r(805)]=o.selectedNodeIds)})},removeSelectedNodeId:t=>{n(x=>{const r=_0x5299,o=x.root.canvases.find(i=>i.id===x[r(926)][r(1739)]);o&&(o[r(805)]=o.selectedNodeIds.filter(i=>i!==t),x[r(805)]=o[r(805)])})},clearSelectedNodeIds:()=>{n(t=>{const x=_0x5299,r=t[x(926)][x(1273)][x(1043)](o=>o.id===t.root[x(1739)]);r&&(r[x(805)]=[],t[x(805)]=[])})},addNode:(t,x=!0)=>{n(r=>{const o=_0x5299,i=r.root[o(1273)][o(1043)](u=>u.id===r[o(926)].currentCanvasId);if(!i)return;const a={...t,id:t.id||ve[o(1143)]()};i.nodes[o(1181)](a),r[o(824)]=i[o(824)],x&&(i[o(692)]=a.id,r[o(692)]=a.id,i[o(1697)][o(1934)][o(1181)](n0("NODE_SELECT",a.id)),r[o(1697)]=i[o(1697)])})},updateNode:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)].find(u=>u.id===r[o(926)][o(1739)]);if(!i)return;const a=i[o(824)].find(u=>u.id===t);a&&(x[o(1736)]&&Object[o(632)](a[o(1736)],x.normalStyle),x[o(800)]&&(a[o(800)]={...a[o(800)],...x[o(800)]}),x[o(599)]&&(a[o(599)]=x[o(599)]),x[o(2069)]&&Object.assign(a.controlInfo,x.controlInfo),x[o(584)]&&(a[o(584)]=x[o(584)]),i.history.past[o(1181)](n0(o(1081),t,x)),r[o(1697)]=i.history,r.nodes=i.nodes)})},updateNodeStyle:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)][o(1043)](u=>u.id===r[o(926)][o(1739)]);if(!i)return;const a=i[o(824)][o(1043)](u=>u.id===t);a&&(Object[o(632)](a[o(1736)],x),i.history[o(1934)][o(1181)](n0("PROPERTY_CHANGE",t,{normalStyle:x})),r[o(1697)]=i.history,r[o(824)]=i[o(824)])})},updateNodeContent:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)].find(u=>u.id===r.root[o(1739)]);if(!i)return;const a=i.nodes[o(1043)](u=>u.id===t);a&&(a[o(800)]={...a[o(800)],...x},i[o(1697)][o(1934)][o(1181)](n0("PROPERTY_CHANGE",t,{contentInfo:x})),r.history=i[o(1697)],r[o(824)]=i[o(824)])})},updateNodeControl:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)][o(1043)](u=>u.id===r[o(926)][o(1739)]);if(!i)return;const a=i[o(824)][o(1043)](u=>u.id===t);a&&(Object.assign(a.controlInfo,x),i.history[o(1934)][o(1181)](n0(o(1081),t,{controlInfo:x})),r.history=i.history,r.nodes=i.nodes)})},removeNode:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)][r(1043)](a=>a.id===x[r(926)].currentCanvasId);if(!o)return;const i=o.nodes.findIndex(a=>a.id===t);i!==-1&&(o[r(824)][r(1790)](i,1),x.nodes=o[r(824)],o.selectedNodeId===t&&(o[r(692)]=null,x[r(692)]=null,o.selectedStatusId=null,x[r(1782)]=null),o[r(805)]=o.selectedNodeIds[r(1304)](a=>a!==t),x[r(805)]=o.selectedNodeIds,o[r(1697)][r(1934)][r(1181)](n0(r(1145),t)),x.history=o.history)})},selectNode:t=>{n(x=>{const r=_0x5299,o=x.root[r(1273)].find(i=>i.id===x.root[r(1739)]);o&&(o[r(692)]=t,x[r(692)]=t,o[r(1782)]=null,x[r(1782)]=null,t&&(o.history.past[r(1181)](n0(r(468),t)),x[r(1697)]=o[r(1697)]))})},bringToFront:t=>{n(x=>{const r=_0x5299,o=x[r(926)].canvases.find(u=>u.id===x[r(926)][r(1739)]);if(!o)return;const i=o[r(824)][r(1831)](u=>u.id===t);if(i===-1||i===o[r(824)][r(707)]-1)return;const[a]=o[r(824)][r(1790)](i,1);o[r(824)][r(1181)](a),x[r(824)]=o[r(824)],o.history.past.push(n0(r(1081),t,{zOrder:r(1712)})),x.history=o[r(1697)]})},sendToBack:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)][r(1043)](u=>u.id===x[r(926)][r(1739)]);if(!o)return;const i=o[r(824)].findIndex(u=>u.id===t);if(i<=0)return;const[a]=o[r(824)][r(1790)](i,1);o[r(824)][r(2133)](a),x.nodes=o[r(824)],o.history[r(1934)][r(1181)](n0(r(1081),t,{zOrder:r(675)})),x[r(1697)]=o[r(1697)]})},addStatus:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)].find(s=>s.id===r[o(926)][o(1739)]);if(!i)return;const a=i[o(824)][o(1043)](s=>s.id===t);if(!a)return;const u={...x,id:ve.nanoid()};a[o(800)][o(617)][o(1181)](u),i[o(1697)].past[o(1181)](n0("MATERIAL_STATUS_CHANGE",t,{statusId:u.id})),r[o(1697)]=i[o(1697)]})},removeStatus:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(926)][o(1273)][o(1043)](s=>s.id===r[o(926)][o(1739)]);if(!i)return;const a=i[o(824)].find(s=>s.id===t);if(!a)return;const u=a.contentInfo.statusList[o(1831)](s=>s.id===x);u!==-1&&(a[o(800)][o(617)][o(1790)](u,1),a[o(800)].currentStatusId===x&&(a.contentInfo.currentStatusId=void 0),i[o(1782)]===x&&(i[o(1782)]=null,r[o(1782)]=null))})},updateStatus:(t,x,r)=>{n(o=>{const i=_0x5299,a=o[i(926)].canvases.find(d=>d.id===o[i(926)].currentCanvasId);if(!a)return;const u=a[i(824)][i(1043)](d=>d.id===t);if(!u)return;const s=u.contentInfo[i(617)][i(1043)](d=>d.id===x);s&&Object[i(632)](s,r)})},selectStatus:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)].find(i=>i.id===x[r(926)].currentCanvasId);o&&(o[r(1782)]=t,x[r(1782)]=t)})},evaluateCurrentStatus:(t,x)=>{const r=c,o=e(),i=o[r(926)][r(1273)].find(s=>s.id===o[r(926)][r(1739)]);if(!i)return;const a=i[r(824)][r(1043)](s=>s.id===t);if(!a)return;const{dataPool:u}=e();for(const s of a[r(800)][r(617)])if(dx(s,x,u))return s.id},addDataPoolItem:t=>{const x=c,r=ve[x(1143)]();return n(o=>{const i=x;let a={};t[i(506)]&&typeof t[i(506)]===i(1523)&&(Array[i(611)](t[i(506)])?a=t[i(506)]:a=t.sample),o.dataPool[i(1181)]({...t,id:r,sample:a})}),r},updateDataPoolItem:(t,x)=>{n(r=>{const o=_0x5299,i=r.dataPool[o(1043)](a=>a.id===t);i&&(x[o(599)]!==void 0&&(i[o(599)]=x[o(599)]),x[o(506)]!==void 0&&(x[o(506)]&&typeof x[o(506)]===o(1523)?i[o(506)]=x[o(506)]:i[o(506)]={}))})},removeDataPoolItem:t=>{n(x=>{const r=_0x5299,o=x[r(870)][r(1831)](i=>i.id===t);if(o!==-1){x[r(870)][r(1790)](o,1);for(const i of x[r(926)][r(1273)])Oo(i.nodes,t)}})},setDataPool:t=>{n(x=>{const r=_0x5299;x[r(870)]=t[r(1577)](o=>{const i=r;let a={};return o[i(506)]&&typeof o[i(506)]===i(1523)&&(a=o[i(506)]),{...o,sample:a}})})},setEventFlow:t=>{n(x=>{const r=_0x5299;x[r(1261)]={eventBlocks:t[r(547)]??[],eventRoots:t[r(1387)]??[],editingEventRootId:t[r(1029)]??null,isEditingEventFlow:t[r(819)]??!1}})},setExternalHandlerCatalog:t=>{n(x=>{const r=_0x5299,o=new Set;x[r(645)]=[];for(const i of t){const a=String(i.key??"")[r(1404)]();!a||o[r(1411)](a)||(o[r(690)](a),x[r(645)][r(1181)]({key:a,label:String(i[r(854)]??"")[r(1404)]()||a,description:i[r(1222)]}))}})},addMaterial:t=>{n(x=>{const r=_0x5299;if(x.materials[r(1423)](a=>a[r(599)]===t[r(599)]))return;const i={...t,id:ve.nanoid()};x[r(568)][r(1181)](i)})},updateMaterial:(t,x)=>{n(r=>{const o=_0x5299,i=r.materials[o(1043)](a=>a.id===t);i&&Object[o(632)](i,x)})},removeMaterial:t=>{n(x=>{const r=_0x5299,o=x.materials[r(1831)](i=>i.id===t);o!==-1&&x[r(568)].splice(o,1)})},setViewport:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)][r(1043)](i=>i.id===x.root[r(1739)]);o&&(Object[r(632)](o.viewport,t),x[r(1669)]=o[r(1669)])})},setCanvasConfig:t=>{n(x=>{const r=_0x5299,o=x[r(926)][r(1273)].find(i=>i.id===x[r(926)].currentCanvasId);o&&(o.canvasConfig={...o.canvasConfig,...t},x.canvas=o.canvasConfig)})},setMode:t=>{n(x=>{const r=_0x5299;x[r(587)]=t})},startLineDrawing:t=>{n(x=>{const r=_0x5299;x[r(587)]=r(1774),x.lineDrawing={isDrawing:!0,material:t,startPoint:null,endPoint:null}})},updateLineDrawing:t=>{n(x=>{const r=_0x5299;x[r(2182)][r(2240)]&&(x[r(2182)][r(1334)]=t)})},endLineDrawing:()=>{n(t=>{const x=_0x5299;t[x(587)]="select",t.lineDrawing={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},cancelLineDrawing:()=>{n(t=>{const x=_0x5299;t[x(587)]="select",t[x(2182)]={isDrawing:!1,material:null,startPoint:null,endPoint:null}})},undo:()=>{n(t=>{const x=_0x5299,r=t.root[x(1273)][x(1043)](i=>i.id===t[x(926)][x(1739)]);if(!r)return;const o=r.history.past[x(762)]();o&&(r[x(1697)][x(739)][x(1181)](o),t.history=r[x(1697)])})},redo:()=>{n(t=>{const x=_0x5299,r=t[x(926)][x(1273)][x(1043)](i=>i.id===t.root[x(1739)]);if(!r)return;const o=r[x(1697)][x(739)][x(762)]();o&&(r[x(1697)][x(1934)][x(1181)](o),t.history=r[x(1697)])})},recordEvent:t=>{n(x=>{const r=_0x5299,o=x.root.canvases[r(1043)](i=>i.id===x[r(926)][r(1739)]);o&&(o[r(1697)].past[r(1181)](t),o[r(1697)][r(739)]=[],x.history=o.history)})},exportScheme:()=>{const t=c,x=e();return{version:t(1555),root:x[t(926)],materials:x.materials,dataPool:x[t(870)],eventFlow:x[t(1261)],metadata:{name:x[t(926)][t(599)],description:"",createdAt:new Date().toISOString(),updatedAt:new Date()[t(2037)]()}}},importScheme:t=>{n(x=>{const r=_0x5299;if(t.root){x[r(926)]=t[r(926)],x.dataPool=t[r(870)]??[],t[r(1261)]&&(x[r(1261)]={eventBlocks:t[r(1261)].eventBlocks??[],eventRoots:t[r(1261)].eventRoots??[],editingEventRootId:t[r(1261)][r(1029)]??null,isEditingEventFlow:t[r(1261)][r(819)]??!1});const o=x[r(926)][r(1273)][r(1043)](i=>i.id===x[r(926)][r(1739)])||x[r(926)].canvases[0];o&&(x[r(926)].currentCanvasId=o.id,x[r(824)]=o[r(824)],x[r(1652)]=o.canvasConfig,x[r(1669)]=o[r(1669)],x[r(692)]=o[r(692)],x.selectedNodeIds=o[r(805)],x.selectedStatusId=o.selectedStatusId,x.history=o[r(1697)])}else{const o=fx();o[r(824)]=t[r(824)]||[],x.root[r(1273)]=[o],x[r(926)][r(1739)]=o.id,x[r(870)]=t[r(870)]??[],t[r(1261)]&&(x[r(1261)]={eventBlocks:t[r(1261)][r(547)]??[],eventRoots:t[r(1261)][r(1387)]??[],editingEventRootId:t[r(1261)][r(1029)]??null,isEditingEventFlow:t[r(1261)].isEditingEventFlow??!1}),x[r(824)]=o[r(824)],x.canvas=o[r(672)],x[r(1669)]=t[r(1669)]||o[r(1669)],x[r(692)]=null,x[r(1782)]=null,x[r(1697)]={past:[],future:[]}}for(const o of x[r(926)].canvases)ux(o.nodes)})},exportCanvas:t=>{const x=c,r=e(),o=t||r[x(926)][x(1739)],i=r.root[x(1273)][x(1043)](a=>a.id===o);if(!i)throw new Error(x(1681)+o+x(2159));return{version:"2.0.0",canvas:i,metadata:{name:i[x(599)],description:"",exportedAt:new Date()[x(2037)]()}}},importCanvas:(t,x)=>{n(r=>{const o=_0x5299,i=t[o(1652)],a=x||r[o(926)][o(1739)],u=r[o(926)][o(1273)][o(1043)](s=>s.id===a);if(u)u[o(599)]=i.name,u.nodes=i[o(824)]||[],u[o(672)]=i.canvasConfig,u[o(1669)]=i[o(1669)],u.selectedNodeId=null,u[o(805)]=[],u[o(1782)]=null,u[o(1697)]=i[o(1697)]||{past:[],future:[]},a===r[o(926)][o(1739)]&&(r.nodes=u[o(824)],r[o(1652)]=u[o(672)],r.viewport=u[o(1669)],r[o(692)]=u[o(692)],r[o(805)]=u[o(805)],r[o(1782)]=u[o(1782)],r[o(1697)]=u.history);else{const s={...i,id:ve[o(1143)](),selectedNodeId:null,selectedNodeIds:[],selectedStatusId:null};r[o(926)].canvases.push(s),r[o(926)][o(1739)]=s.id,r[o(824)]=s[o(824)],r[o(1652)]=s.canvasConfig,r[o(1669)]=s[o(1669)],r[o(692)]=s[o(692)],r.selectedNodeIds=s[o(805)],r.selectedStatusId=s.selectedStatusId,r[o(1697)]=s[o(1697)]}for(const s of r.root.canvases)ux(s[o(824)])})},addEventBlock:t=>{const x=c,r=ve[x(1143)]();return n(o=>{const i=x;o[i(1261)][i(547)].push({...t,id:r})}),r},upsertEventBlock:t=>{n(x=>{const r=_0x5299,o=x[r(1261)][r(547)][r(1831)](i=>i.id===t.id);o!==-1?x[r(1261)][r(547)][o]={...t}:x[r(1261)][r(547)].push({...t})})},updateEventBlock:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(1261)][o(547)][o(1043)](a=>a.id===t);i&&Object.assign(i,x)})},removeEventBlock:t=>{n(x=>{const r=_0x5299,o=x[r(1261)].eventBlocks[r(1831)](i=>i.id===t);o!==-1&&x[r(1261)][r(547)].splice(o,1)})},addEventRoot:t=>{const x=c,r=ve[x(1143)]();return n(o=>{const i=x;o[i(1261)].eventRoots[i(1181)]({...t,id:r})}),r},updateEventRoot:(t,x)=>{n(r=>{const o=_0x5299,i=r[o(1261)][o(1387)][o(1043)](a=>a.id===t);i&&Object[o(632)](i,x)})},removeEventRoot:t=>{n(x=>{const r=_0x5299,o=x.eventFlow.eventRoots[r(1831)](i=>i.id===t);o!==-1&&x[r(1261)].eventRoots[r(1790)](o,1)})},setEditingEventRoot:t=>{n(x=>{const r=_0x5299;x[r(1261)][r(1029)]=t})},setIsEditingEventFlow:t=>{n(x=>{const r=_0x5299;x[r(1261)].isEditingEventFlow=t})},bindNodeEvent:(t,x,r)=>{const o=c,i=ve[o(1143)]();return n(a=>{const u=o;a.eventFlow[u(1387)][u(1181)]({id:i,bindNodeId:t,eventType:x,flowData:r,enabled:!0})}),i},unbindNodeEvent:(t,x,r)=>{n(o=>{const i=_0x5299,a=o[i(1261)].eventRoots[i(1831)](u=>{const s=i;return u.bindNodeId!==t||u.eventType!==x?!1:x===s(1585)?(u.externalEventKey||"").trim()===(r||"")[s(1404)]():!0});a!==-1&&o[i(1261)][i(1387)][i(1790)](a,1)})},getNodeEventRoots:t=>{const x=c;return e()[x(1261)][x(1387)][x(1304)](r=>r[x(557)]===t)}}))),Vo=[{id:ve.nanoid(),name:"矩形",type:"IMAGE",src:c(1931)+encodeURIComponent(c(1178))},{id:ve.nanoid(),name:"圆形",type:"IMAGE",src:c(1931)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><circle cx="40" cy="40" r="38" fill="#52c41a"/></svg>')},{id:ve[c(1143)](),name:c(1229),type:c(1032),src:c(1931)+encodeURIComponent(c(865))},{id:ve[c(1143)](),name:"阀门",type:"IMAGE",src:c(1931)+encodeURIComponent(c(2112))},{id:ve[c(1143)](),name:"泵",type:c(1032),src:c(1931)+encodeURIComponent(c(1230))},{id:ve[c(1143)](),name:"罐体",type:c(1032),src:"data:image/svg+xml,"+encodeURIComponent(c(1243))},{id:ve.nanoid(),name:c(940),type:c(1245),content:{label:"标签",value:"值",labelStyle:{fontSize:14,fontWeight:c(1492),color:c(1197),textAlign:c(1446)},valueStyle:{fontSize:14,fontWeight:"normal",color:c(1329),textAlign:"left"}}},{id:ve[c(1143)](),name:"线条",type:"LINE",config:{thickness:2,lineWeight:2,color:c(1197),lineType:c(1690)}}],bx=n=>({id:ve[c(1143)](),name:c(1913),expression:c(2099),material:{...n,id:ve.nanoid()},boundDatasetId:null}),Ho=(n,e,t)=>{const x=c;if(t?.type===x(1314)&&t[x(705)]?.[x(824)]){const r=t[x(705)][x(824)].map(d=>({...d,id:ve[x(1143)]()}));let o=1/0,i=1/0,a=-1/0,u=-1/0;r[x(1753)](d=>{const f=x,g=d.normalStyle.x||0,b=d[f(1736)].y||0,v=d.normalStyle[f(831)]||0,h=d.normalStyle[f(469)]||0;o=Math[f(487)](o,g),i=Math[f(487)](i,b),a=Math[f(2014)](a,g+v),u=Math[f(2014)](u,b+h)});const s=r[x(1577)](d=>({...d,normalStyle:{...d.normalStyle,x:(d[x(1736)].x||0)-o,y:(d.normalStyle.y||0)-i,scale:void 0}}));return{id:ve.nanoid(),name:t.name||x(1794),type:x(1295),normalStyle:{width:a-o,height:u-i,x:n,y:e},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:s}}return{id:ve[x(1143)](),name:x(1058),type:"normal",normalStyle:{width:120,height:100,x:n,y:e,background:x(1330),padding:8},contentInfo:{statusList:t?[bx(t)]:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}}},{Panel:F0}=z[c(448)],{Text:xt}=z[c(1425)],To=({onUploadSvg:n})=>{const e=c,{materials:t,addMaterial:x,removeMaterial:r,selectedStatusId:o,selectStatus:i,mode:a,lineDrawing:u,startLineDrawing:s,cancelLineDrawing:d}=Ye(),[f,g]=N[e(646)]([e(937),e(1216),e(1100),e(1565)]),b=m=>{const w=e,y=new FileReader;return y[w(1172)]=C=>{const P=w,Y=C[P(1470)]?.result;x({name:m[P(599)][P(1528)](P(978),""),type:P(1032),src:Y})},y[w(1875)](m),!1},v={basic:t[e(1304)](m=>["矩形","圆形",e(1229)][e(1405)](m[e(599)])),device:t[e(1304)](m=>["阀门","泵","罐体"][e(1405)](m[e(599)])||m.type==="IMAGE"&&!["矩形","圆形",e(1229)].includes(m[e(599)])&&m[e(599)]!==e(480)),text:t[e(1304)](m=>m[e(1244)]===e(1245)),line:t[e(1304)](m=>m[e(1244)]===e(850)),group:t[e(1304)](m=>m[e(1244)]===e(1314)&&m.config?.[e(824)]),custom:t[e(1304)](m=>m[e(1244)]==="CUSTOM"&&!m[e(705)]?.nodes||m[e(1244)]==="IMAGE"&&!["矩形","圆形",e(1229),"阀门","泵","罐体"][e(1405)](m[e(599)]))},h=(m,w)=>{const y=e;m[y(2197)][y(1908)]=y(931),m[y(2197)][y(665)](y(1168),JSON[y(609)](w));const C=m[y(906)][y(1e3)](".material-preview");C&&m.dataTransfer[y(1664)](C,20,20)},p=m=>{const w=e;m[w(1244)]===w(850)&&s(m)},M=(m,w=!1)=>{const y=e,C=w===!0,P=a===y(1774)&&C&&u[y(1605)]?.id===m.id;return l[y(1403)](z[y(964)].Item,{draggable:!C,onDragStart:Y=>h(Y,m),onClick:()=>C&&p(m),className:y(2166)+(C?y(1858):"cursor-move")+`
|
|
3
|
+
hover:bg-gray-100`+y(1262)+(P?y(1202):"")+`
|
|
4
|
+
`,actions:[C?l[y(1403)](z.Button,{type:y(1100),size:y(1079),icon:l[y(1403)](le[y(577)],{}),onClick:Y=>{Y.stopPropagation(),p(m)},children:"绘制"},y(1147)):null,l[y(1403)](z[y(1475)],{type:y(1100),size:y(1079),danger:!0,icon:l.jsx(le.DeleteOutlined,{}),onClick:Y=>{Y[y(1370)](),r(m.id)}},y(1060))][y(1304)](Boolean),children:l[y(1900)]("div",{className:"flex items-center gap-3 w-full py-2 "+(C?"":y(610)),children:[l[y(1403)](y(1467),{className:"material-preview w-12 h-12 flex items-center justify-center bg-white rounded border border-gray-200",children:m[y(1244)]===y(1032)&&m[y(520)]?l[y(1403)](z[y(1581)],{src:m.src,alt:m[y(599)],width:40,height:40,preview:!1}):m[y(1244)]===y(1245)?l[y(1403)](y(983),{className:y(1140),children:"T"}):m.type==="LINE"?l[y(1403)]("div",{className:y(1800)}):m[y(1244)]===y(1314)&&m[y(705)]?.[y(824)]?l[y(1403)]("span",{className:y(603),children:"G"}):l[y(1403)](y(983),{className:y(1140),children:"?"})}),l.jsxs(y(1467),{className:y(1832),children:[l[y(1403)](xt,{strong:!0,className:y(619),children:m[y(599)]}),l[y(1900)](y(1467),{className:"flex items-center gap-1",children:[l.jsx(xt,{type:y(1538),className:"text-xs",children:m[y(1244)]}),P&&l[y(1403)](z[y(1885)],{color:y(1296),className:y(1748),children:y(1876)})]})]})]})},m.id)};return l[e(1900)]("div",{className:e(2067),children:[l[e(1900)]("div",{className:"p-4 border-b border-gray-200",children:[l[e(1403)]("h3",{className:e(2108),children:e(579)}),l[e(1403)](xt,{type:e(1538),className:e(1438),children:e(1115)})]}),l.jsx(e(1467),{className:e(966),children:n?l[e(1403)](z[e(1475)],{icon:l[e(1403)](le.UploadOutlined,{}),block:!0,type:e(1950),onClick:()=>{n().catch(m=>{const w=_0x5299;console[w(615)](w(1627),m)})},children:"上传 SVG"}):l[e(1403)](z[e(1477)],{accept:e(978),beforeUpload:b,showUploadList:!1,children:l.jsx(z[e(1475)],{icon:l[e(1403)](le.UploadOutlined,{}),block:!0,type:e(1950),children:e(1228)})})}),l[e(1403)](e(1467),{className:e(2011),children:l[e(1900)](z[e(448)],{activeKey:f,onChange:m=>g(m),ghost:!0,expandIconPosition:"end",children:[l[e(1403)](F0,{header:e(708),children:l[e(1403)](z.List,{dataSource:v[e(937)],renderItem:m=>M(m,!1),locale:{emptyText:l.jsx(z[e(914)],{description:e(717),image:z[e(914)][e(462)]})}})},e(937)),l[e(1403)](F0,{header:e(653),children:l[e(1403)](z.List,{dataSource:v[e(1216)],renderItem:m=>M(m,!1),locale:{emptyText:l[e(1403)](z.Empty,{description:"暂无物料",image:z.Empty[e(462)]})}})},e(1216)),l[e(1403)](F0,{header:"文本",children:l[e(1403)](z[e(964)],{dataSource:v.text,renderItem:m=>M(m,!1),locale:{emptyText:l[e(1403)](z.Empty,{description:e(717),image:z[e(914)].PRESENTED_IMAGE_SIMPLE})}})},e(1100)),l[e(1900)](F0,{header:l[e(1900)](e(1467),{className:"flex items-center justify-between",children:[l.jsx(e(983),{children:"线条"}),a==="line-draw"&&l[e(1403)](z[e(1885)],{color:e(1296),className:e(1748),children:e(1038)})]}),children:[l[e(1403)](z.List,{dataSource:v[e(1565)],renderItem:m=>M(m,!0),locale:{emptyText:l[e(1403)](z.Empty,{description:e(717),image:z[e(914)][e(462)]})}}),a===e(1774)&&l[e(1900)](e(1467),{className:e(1435),children:[l[e(1403)](e(1467),{children:"点击线条物料开始绘制"}),l.jsx("div",{children:"点击画布确定起点和终点"})]})]},e(1565)),v.group[e(707)]>0&&l[e(1403)](F0,{header:"群组",children:l[e(1403)](z[e(964)],{dataSource:v[e(1295)],renderItem:m=>M(m,!1),locale:{emptyText:l[e(1403)](z.Empty,{description:e(717),image:z[e(914)][e(462)]})}})},"group"),v[e(752)][e(707)]>0&&l.jsx(F0,{header:e(480),children:l[e(1403)](z[e(964)],{dataSource:v[e(752)],renderItem:m=>M(m,!1),locale:{emptyText:l[e(1403)](z[e(914)],{description:e(717),image:z.Empty.PRESENTED_IMAGE_SIMPLE})}})},"custom")]})}),l[e(1403)](e(1467),{className:e(1174),children:l[e(1403)](xt,{type:e(1538),className:e(1748),children:a===e(1774)?l.jsx(l[e(2082)],{children:e(1013)}):l[e(1403)](l.Fragment,{children:e(1933)})})})]})};var hx=function(n,e){const t=c;return hx=Object[t(1985)]||{__proto__:[]}instanceof Array&&function(x,r){const o=t;x[o(1315)]=r}||function(x,r){const o=t;for(var i in r)Object.prototype.hasOwnProperty[o(1429)](r,i)&&(x[i]=r[i])},hx(n,e)};function m0(n,e){const t=c;if(typeof e!==t(1568)&&e!==null)throw new TypeError(t(1444)+String(e)+" is not a constructor or null");hx(n,e);function x(){this.constructor=n}n[t(1007)]=e===null?Object[t(1071)](e):(x[t(1007)]=e[t(1007)],new x)}function Fc(n,e,t,x){function r(o){return o instanceof t?o:new t(function(i){i(o)})}return new(t||(t=Promise))(function(o,i){const a=_0x5299;function u(f){const g=_0x5299;try{d(x[g(2148)](f))}catch(b){i(b)}}function s(f){const g=_0x5299;try{d(x[g(1489)](f))}catch(b){i(b)}}function d(f){const g=_0x5299;f[g(2010)]?o(f.value):r(f[g(1443)])[g(934)](u,s)}d((x=x[a(1412)](n,e||[])).next())})}function qo(n,e){const t=c;var x={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a=Object[t(1071)]((typeof Iterator=="function"?Iterator:Object)[t(1007)]);return a.next=u(0),a[t(1489)]=u(1),a[t(1590)]=u(2),typeof Symbol===t(1568)&&(a[Symbol.iterator]=function(){return this}),a;function u(d){return function(f){return s([d,f])}}function s(d){const f=t;if(r)throw new TypeError(f(1146));for(;a&&(a=0,d[0]&&(x=0)),x;)try{if(r=1,o&&(i=d[0]&2?o[f(1590)]:d[0]?o.throw||((i=o[f(1590)])&&i[f(1429)](o),0):o.next)&&!(i=i[f(1429)](o,d[1]))[f(2010)])return i;switch(o=0,i&&(d=[d[0]&2,i[f(1443)]]),d[0]){case 0:case 1:i=d;break;case 4:return x[f(854)]++,{value:d[1],done:!1};case 5:x[f(854)]++,o=d[1],d=[0];continue;case 7:d=x[f(1962)].pop(),x[f(1856)][f(762)]();continue;default:if(i=x.trys,!(i=i[f(707)]>0&&i[i[f(707)]-1])&&(d[0]===6||d[0]===2)){x=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){x[f(854)]=d[1];break}if(d[0]===6&&x[f(854)]<i[1]){x[f(854)]=i[1],i=d;break}if(i&&x[f(854)]<i[2]){x[f(854)]=i[2],x[f(1962)][f(1181)](d);break}i[2]&&x[f(1962)].pop(),x[f(1856)][f(762)]();continue}d=e[f(1429)](n,x)}catch(g){d=[6,g],o=0}finally{r=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function $0(n){const e=c;var t=typeof Symbol===e(1568)&&Symbol.iterator,x=t&&n[t],r=0;if(x)return x[e(1429)](n);if(n&&typeof n[e(707)]===e(2134))return{next:function(){return n&&r>=n[e(707)]&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e(t?1278:888))}function ot(n,e){const t=c;var x=typeof Symbol===t(1568)&&n[Symbol.iterator];if(!x)return n;var r=x.call(n),o,i=[],a;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)i[t(1181)](o[t(1443)])}catch(u){a={error:u}}finally{try{o&&!o[t(2010)]&&(x=r.return)&&x[t(1429)](r)}finally{if(a)throw a[t(1531)]}}return i}function rt(n,e,t){const x=c;if(t||arguments[x(707)]===2)for(var r=0,o=e[x(707)],i;r<o;r++)(i||!(r in e))&&(i||(i=Array[x(1007)].slice.call(e,0,r)),i[r]=e[r]);return n.concat(i||Array.prototype[x(1292)][x(1429)](e))}function en(n){return this instanceof en?(this.v=n,this):new en(n)}function $c(n,e,t){const x=c;if(!Symbol[x(1677)])throw new TypeError(x(2027));var r=t[x(1412)](n,e||[]),o,i=[];return o=Object[x(1071)]((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u(x(2148)),u(x(1489)),u(x(1590),a),o[Symbol.asyncIterator]=function(){return this},o;function a(v){return function(h){const p=_0x5299;return Promise[p(732)](h)[p(934)](v,g)}}function u(v,h){r[v]&&(o[v]=function(p){return new Promise(function(M,m){i[_0x5299(1181)]([v,p,M,m])>1||s(v,p)})},h&&(o[v]=h(o[v])))}function s(v,h){try{d(r[v](h))}catch(p){b(i[0][3],p)}}function d(v){const h=x;v[h(1443)]instanceof en?Promise[h(732)](v.value.v)[h(934)](f,g):b(i[0][2],v)}function f(v){s(x(2148),v)}function g(v){s("throw",v)}function b(v,h){const p=x;v(h),i[p(1009)](),i[p(707)]&&s(i[0][0],i[0][1])}}function es(n){const e=c;if(!Symbol[e(1677)])throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol[e(1677)]],x;return t?t[e(1429)](n):(n=typeof $0===e(1568)?$0(n):n[Symbol[e(1805)]](),x={},r("next"),r("throw"),r(e(1590)),x[Symbol[e(1677)]]=function(){return this},x);function r(i){x[i]=n[i]&&function(a){return new Promise(function(u,s){const d=_0x5299;a=n[i](a),o(u,s,a[d(2010)],a[d(1443)])})}}function o(i,a,u,s){const d=e;Promise[d(732)](s)[d(934)](function(f){i({value:f,done:u})},a)}}typeof SuppressedError===c(1568)&&SuppressedError;function Pe(n){return typeof n===c(1568)}function gx(n){const e=c;var t=function(r){const o=_0x5299;Error[o(1429)](r),r[o(624)]=new Error()[o(624)]},x=n(t);return x[e(1007)]=Object[e(1071)](Error[e(1007)]),x[e(1007)][e(994)]=x,x}var yx=gx(function(n){return function(t){const x=_0x5299;n(this),this[x(1114)]=t?t.length+x(723)+t.map(function(r,o){const i=x;return o+1+") "+r[i(1487)]()})[x(1076)](`
|
|
5
|
+
`):"",this[x(599)]=x(842),this[x(1448)]=t}});function it(n,e){const t=c;if(n){var x=n[t(2088)](e);0<=x&&n[t(1790)](x,1)}}var Nn=(function(){const n=c;function e(t){const x=_0x5299;this[x(711)]=t,this[x(696)]=!1,this._parentage=null,this[x(2158)]=null}return e.prototype[n(1057)]=function(){const t=n;var x,r,o,i,a;if(!this[t(696)]){this[t(696)]=!0;var u=this[t(2076)];if(u)if(this[t(2076)]=null,Array[t(611)](u))try{for(var s=$0(u),d=s[t(2148)]();!d.done;d=s[t(2148)]()){var f=d[t(1443)];f.remove(this)}}catch(M){x={error:M}}finally{try{d&&!d[t(2010)]&&(r=s[t(1590)])&&r[t(1429)](s)}finally{if(x)throw x.error}}else u.remove(this);var g=this.initialTeardown;if(Pe(g))try{g()}catch(M){a=M instanceof yx?M.errors:[M]}var b=this[t(2158)];if(b){this[t(2158)]=null;try{for(var v=$0(b),h=v.next();!h.done;h=v.next()){var p=h[t(1443)];try{Ko(p)}catch(M){a=a??[],M instanceof yx?a=rt(rt([],ot(a)),ot(M[t(1448)])):a[t(1181)](M)}}}catch(M){o={error:M}}finally{try{h&&!h[t(2010)]&&(i=v[t(1590)])&&i[t(1429)](v)}finally{if(o)throw o.error}}}if(a)throw new yx(a)}},e[n(1007)].add=function(t){const x=n;var r;if(t&&t!==this)if(this[x(696)])Ko(t);else{if(t instanceof e){if(t[x(696)]||t._hasParent(this))return;t[x(881)](this)}(this[x(2158)]=(r=this[x(2158)])!==null&&r!==void 0?r:[])[x(1181)](t)}},e.prototype[n(2136)]=function(t){const x=n;var r=this._parentage;return r===t||Array.isArray(r)&&r[x(1405)](t)},e[n(1007)][n(881)]=function(t){const x=n;var r=this._parentage;this._parentage=Array[x(611)](r)?(r[x(1181)](t),r):r?[r,t]:t},e.prototype._removeParent=function(t){const x=n;var r=this[x(2076)];r===t?this[x(2076)]=null:Array[x(611)](r)&&it(r,t)},e[n(1007)].remove=function(t){const x=n;var r=this[x(2158)];r&&it(r,t),t instanceof e&&t[x(1670)](this)},e[n(1409)]=(function(){const t=n;var x=new e;return x[t(696)]=!0,x})(),e})(),Wo=Nn[c(1409)];function Xo(n){const e=c;return n instanceof Nn||n&&e(696)in n&&Pe(n.remove)&&Pe(n.add)&&Pe(n[e(1057)])}function Ko(n){const e=c;Pe(n)?n():n[e(1057)]()}var ns={Promise:void 0},ts={setTimeout:function(n,e){const t=c;for(var x=[],r=2;r<arguments[t(707)];r++)x[r-2]=arguments[r];return setTimeout.apply(void 0,rt([n,e],ot(x)))},clearTimeout:function(n){return clearTimeout(n)},delegate:void 0};function Zo(n){ts[c(478)](function(){throw n})}function Ro(){}function at(n){n()}var mx=(function(n){const e=c;m0(t,n);function t(x){const r=_0x5299;var o=n.call(this)||this;return o[r(1629)]=!1,x?(o[r(678)]=x,Xo(x)&&x[r(690)](o)):o[r(678)]=rs,o}return t[e(1071)]=function(x,r,o){return new wx(x,r,o)},t.prototype.next=function(x){const r=e;this[r(1629)]||this[r(2115)](x)},t[e(1007)][e(1531)]=function(x){const r=e;this.isStopped||(this[r(1629)]=!0,this[r(1608)](x))},t.prototype[e(2030)]=function(){const x=e;this[x(1629)]||(this[x(1629)]=!0,this._complete())},t[e(1007)][e(1057)]=function(){const x=e;!this.closed&&(this[x(1629)]=!0,n[x(1007)][x(1057)][x(1429)](this),this[x(678)]=null)},t[e(1007)][e(2115)]=function(x){const r=e;this[r(678)][r(2148)](x)},t[e(1007)][e(1608)]=function(x){const r=e;try{this[r(678)][r(1531)](x)}finally{this[r(1057)]()}},t[e(1007)][e(1337)]=function(){const x=e;try{this[x(678)][x(2030)]()}finally{this[x(1057)]()}},t})(Nn),xs=(function(){const n=c;function e(t){const x=_0x5299;this[x(1822)]=t}return e[n(1007)][n(2148)]=function(t){const x=n;var r=this[x(1822)];if(r[x(2148)])try{r[x(2148)](t)}catch(o){ct(o)}},e[n(1007)][n(1531)]=function(t){const x=n;var r=this[x(1822)];if(r[x(1531)])try{r[x(1531)](t)}catch(o){ct(o)}else ct(t)},e[n(1007)][n(2030)]=function(){const t=n;var x=this[t(1822)];if(x.complete)try{x[t(2030)]()}catch(r){ct(r)}},e})(),wx=(function(n){m0(e,n);function e(t,x,r){const o=_0x5299;var i=n.call(this)||this,a;return Pe(t)||!t?a={next:t??void 0,error:x??void 0,complete:r??void 0}:a=t,i[o(678)]=new xs(a),i}return e})(mx);function ct(n){Zo(n)}function os(n){throw n}var rs={closed:!0,next:Ro,error:os,complete:Ro},vx=(function(){const n=c;return typeof Symbol===n(1568)&&Symbol[n(1457)]||n(843)})();function Jo(n){return n}function is(n){return n.length===0?Jo:n.length===1?n[0]:function(t){return n.reduce(function(x,r){return r(x)},t)}}var Xe=(function(){const n=c;function e(t){t&&(this._subscribe=t)}return e[n(1007)][n(1417)]=function(t){const x=n;var r=new e;return r[x(984)]=this,r[x(2207)]=t,r},e[n(1007)][n(500)]=function(t,x,r){var o=this,i=cs(t)?t:new wx(t,x,r);return at(function(){const a=_0x5299;var u=o,s=u.operator,d=u.source;i[a(690)](s?s.call(i,d):d?o._subscribe(i):o._trySubscribe(i))}),i},e[n(1007)]._trySubscribe=function(t){const x=n;try{return this[x(1177)](t)}catch(r){t.error(r)}},e[n(1007)][n(1753)]=function(t,x){var r=this;return x=_o(x),new x(function(o,i){const a=_0x5299;var u=new wx({next:function(s){const d=_0x5299;try{t(s)}catch(f){i(f),u[d(1057)]()}},error:i,complete:o});r[a(500)](u)})},e[n(1007)]._subscribe=function(t){const x=n;var r;return(r=this[x(984)])===null||r===void 0?void 0:r[x(500)](t)},e[n(1007)][vx]=function(){return this},e.prototype[n(969)]=function(){for(var t=[],x=0;x<arguments.length;x++)t[x]=arguments[x];return is(t)(this)},e.prototype[n(1266)]=function(t){var x=this;return t=_o(t),new t(function(r,o){const i=_0x5299;var a;x[i(500)](function(u){return a=u},function(u){return o(u)},function(){return r(a)})})},e[n(1071)]=function(t){return new e(t)},e})();function _o(n){const e=c;var t;return(t=n??ns[e(1103)])!==null&&t!==void 0?t:Promise}function as(n){const e=c;return n&&Pe(n[e(2148)])&&Pe(n[e(1531)])&&Pe(n[e(2030)])}function cs(n){return n&&n instanceof mx||as(n)&&Xo(n)}function ss(n){return Pe(n?.lift)}function S0(n){return function(e){const t=_0x5299;if(ss(e))return e[t(1417)](function(x){const r=t;try{return n(x,this)}catch(o){this[r(1531)](o)}});throw new TypeError("Unable to lift unknown Observable type")}}function k0(n,e,t,x,r){return new ls(n,e,t,x,r)}var ls=(function(n){const e=c;m0(t,n);function t(x,r,o,i,a,u){const s=_0x5299;var d=n[s(1429)](this,x)||this;return d[s(755)]=a,d.shouldUnsubscribe=u,d[s(2115)]=r?function(f){try{r(f)}catch(g){x.error(g)}}:n[s(1007)][s(2115)],d[s(1608)]=i?function(f){const g=s;try{i(f)}catch(b){x.error(b)}finally{this[g(1057)]()}}:n[s(1007)][s(1608)],d._complete=o?function(){const f=s;try{o()}catch(g){x.error(g)}finally{this[f(1057)]()}}:n[s(1007)][s(1337)],d}return t[e(1007)][e(1057)]=function(){const x=e;var r;if(!this[x(1515)]||this.shouldUnsubscribe()){var o=this[x(696)];n[x(1007)][x(1057)][x(1429)](this),!o&&((r=this.onFinalize)===null||r===void 0||r[x(1429)](this))}},t})(mx),ds=gx(function(n){return function(){const t=_0x5299;n(this),this[t(599)]="ObjectUnsubscribedError",this[t(1114)]=t(516)}}),Qo=(function(n){const e=c;m0(t,n);function t(){const x=_0x5299;var r=n[x(1429)](this)||this;return r.closed=!1,r[x(1070)]=null,r[x(2095)]=[],r.isStopped=!1,r.hasError=!1,r[x(2227)]=null,r}return t.prototype[e(1417)]=function(x){const r=e;var o=new Fo(this,this);return o[r(2207)]=x,o},t[e(1007)][e(2123)]=function(){if(this.closed)throw new ds},t[e(1007)].next=function(x){var r=this;at(function(){const o=_0x5299;var i,a;if(r._throwIfClosed(),!r[o(1629)]){!r[o(1070)]&&(r[o(1070)]=Array[o(897)](r[o(2095)]));try{for(var u=$0(r[o(1070)]),s=u.next();!s.done;s=u[o(2148)]()){var d=s[o(1443)];d[o(2148)](x)}}catch(f){i={error:f}}finally{try{s&&!s[o(2010)]&&(a=u[o(1590)])&&a[o(1429)](u)}finally{if(i)throw i[o(1531)]}}}})},t[e(1007)][e(1531)]=function(x){var r=this;at(function(){const o=_0x5299;if(r[o(2123)](),!r.isStopped){r[o(2118)]=r[o(1629)]=!0,r[o(2227)]=x;for(var i=r.observers;i[o(707)];)i[o(1009)]()[o(1531)](x)}})},t[e(1007)][e(2030)]=function(){var x=this;at(function(){const r=_0x5299;if(x[r(2123)](),!x[r(1629)]){x.isStopped=!0;for(var o=x[r(2095)];o[r(707)];)o.shift()[r(2030)]()}})},t[e(1007)].unsubscribe=function(){const x=e;this[x(1629)]=this.closed=!0,this[x(2095)]=this.currentObservers=null},Object[e(796)](t[e(1007)],e(1501),{get:function(){const x=e;var r;return((r=this[x(2095)])===null||r===void 0?void 0:r[x(707)])>0},enumerable:!1,configurable:!0}),t[e(1007)][e(981)]=function(x){const r=e;return this[r(2123)](),n[r(1007)][r(981)][r(1429)](this,x)},t[e(1007)][e(1177)]=function(x){const r=e;return this[r(2123)](),this[r(1090)](x),this[r(1157)](x)},t[e(1007)][e(1157)]=function(x){const r=e;var o=this,i=this,a=i[r(2118)],u=i[r(1629)],s=i[r(2095)];return a||u?Wo:(this[r(1070)]=null,s.push(x),new Nn(function(){o.currentObservers=null,it(s,x)}))},t[e(1007)]._checkFinalizedStatuses=function(x){const r=e;var o=this,i=o.hasError,a=o[r(2227)],u=o[r(1629)];i?x[r(1531)](a):u&&x.complete()},t[e(1007)][e(877)]=function(){const x=e;var r=new Xe;return r[x(984)]=this,r},t[e(1071)]=function(x,r){return new Fo(x,r)},t})(Xe),Fo=(function(n){const e=c;m0(t,n);function t(x,r){const o=_0x5299;var i=n[o(1429)](this)||this;return i[o(678)]=x,i.source=r,i}return t[e(1007)][e(2148)]=function(x){const r=e;var o,i;(i=(o=this[r(678)])===null||o===void 0?void 0:o.next)===null||i===void 0||i.call(o,x)},t.prototype[e(1531)]=function(x){const r=e;var o,i;(i=(o=this[r(678)])===null||o===void 0?void 0:o.error)===null||i===void 0||i.call(o,x)},t[e(1007)].complete=function(){const x=e;var r,o;(o=(r=this[x(678)])===null||r===void 0?void 0:r[x(2030)])===null||o===void 0||o[x(1429)](r)},t[e(1007)][e(1177)]=function(x){const r=e;var o,i;return(i=(o=this.source)===null||o===void 0?void 0:o[r(500)](x))!==null&&i!==void 0?i:Wo},t})(Qo),us={now:function(){return Date[c(1891)]()}},fs=(function(n){const e=c;m0(t,n);function t(x,r){return n[_0x5299(1429)](this)||this}return t[e(1007)][e(2188)]=function(x,r){return this},t})(Nn),$o={setInterval:function(n,e){const t=c;for(var x=[],r=2;r<arguments[t(707)];r++)x[r-2]=arguments[r];return setInterval.apply(void 0,rt([n,e],ot(x)))},clearInterval:function(n){return clearInterval(n)},delegate:void 0},bs=(function(n){const e=c;m0(t,n);function t(x,r){const o=_0x5299;var i=n[o(1429)](this,x,r)||this;return i.scheduler=x,i[o(867)]=r,i[o(2116)]=!1,i}return t[e(1007)][e(2188)]=function(x,r){const o=e;var i;if(r===void 0&&(r=0),this[o(696)])return this;this.state=x;var a=this.id,u=this[o(2150)];return a!=null&&(this.id=this[o(1420)](u,a,r)),this[o(2116)]=!0,this[o(1339)]=r,this.id=(i=this.id)!==null&&i!==void 0?i:this[o(2127)](u,this.id,r),this},t[e(1007)][e(2127)]=function(x,r,o){const i=e;return o===void 0&&(o=0),$o[i(1628)](x[i(643)][i(2060)](x,this),o)},t[e(1007)][e(1420)]=function(x,r,o){const i=e;return o===void 0&&(o=0),o!=null&&this[i(1339)]===o&&this[i(2116)]===!1?r:(r!=null&&$o[i(1656)](r),void 0)},t.prototype[e(1208)]=function(x,r){const o=e;if(this[o(696)])return new Error(o(618));this[o(2116)]=!1;var i=this[o(1572)](x,r);if(i)return i;this[o(2116)]===!1&&this.id!=null&&(this.id=this[o(1420)](this[o(2150)],this.id,null))},t[e(1007)][e(1572)]=function(x,r){const o=e;var i=!1,a;try{this[o(867)](x)}catch(u){i=!0,a=u||new Error(o(1842))}if(i)return this[o(1057)](),a},t[e(1007)].unsubscribe=function(){const x=e;if(!this[x(696)]){var r=this,o=r.id,i=r[x(2150)],a=i[x(1623)];this[x(867)]=this[x(2163)]=this[x(2150)]=null,this[x(2116)]=!1,it(a,this),o!=null&&(this.id=this.recycleAsyncId(i,o,null)),this[x(1339)]=null,n.prototype[x(1057)][x(1429)](this)}},t})(fs),er=(function(){const n=c;function e(t,x){const r=_0x5299;x===void 0&&(x=e[r(1891)]),this.schedulerActionCtor=t,this[r(1891)]=x}return e.prototype.schedule=function(t,x,r){const o=_0x5299;return x===void 0&&(x=0),new this.schedulerActionCtor(this,t)[o(2188)](r,x)},e[n(1891)]=us.now,e})(),hs=(function(n){const e=c;m0(t,n);function t(x,r){const o=_0x5299;r===void 0&&(r=er[o(1891)]);var i=n.call(this,x,r)||this;return i.actions=[],i[o(758)]=!1,i}return t[e(1007)][e(643)]=function(x){const r=e;var o=this[r(1623)];if(this._active){o[r(1181)](x);return}var i;this[r(758)]=!0;do if(i=x[r(1208)](x.state,x[r(1339)]))break;while(x=o[r(1009)]());if(this[r(758)]=!1,i){for(;x=o[r(1009)]();)x[r(1057)]();throw i}},t})(er),gs=new hs(bs);function ys(n){return n&&Pe(n[c(2188)])}function ms(n){return n[n[c(707)]-1]}function ws(n){return ys(ms(n))?n.pop():void 0}var nr=function(n){const e=c;return n&&typeof n[e(707)]===e(2134)&&typeof n!==e(1568)};function tr(n){return Pe(n?.[c(934)])}function xr(n){return Pe(n[vx])}function or(n){return Symbol[c(1677)]&&Pe(n?.[Symbol.asyncIterator])}function rr(n){const e=c;return new TypeError(e(1263)+(n!==null&&typeof n===e(1523)?"an invalid object":"'"+n+"'")+e(2125))}function vs(){const n=c;return typeof Symbol!==n(1568)||!Symbol[n(1805)]?n(595):Symbol[n(1805)]}var ir=vs();function ar(n){return Pe(n?.[ir])}function cr(n){return $c(this,arguments,function(){var t,x,r,o;return qo(this,function(i){const a=_0x5299;switch(i[a(854)]){case 0:t=n.getReader(),i.label=1;case 1:i.trys[a(1181)]([1,,9,10]),i.label=2;case 2:return[4,en(t[a(740)]())];case 3:return x=i[a(1134)](),r=x[a(1443)],o=x[a(2010)],o?[4,en(void 0)]:[3,5];case 4:return[2,i[a(1134)]()];case 5:return[4,en(r)];case 6:return[4,i.sent()];case 7:return i[a(1134)](),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function sr(n){return Pe(n?.[c(1630)])}function I0(n){if(n instanceof Xe)return n;if(n!=null){if(xr(n))return ps(n);if(nr(n))return zs(n);if(tr(n))return Cs(n);if(or(n))return lr(n);if(ar(n))return Ms(n);if(sr(n))return Bs(n)}throw rr(n)}function ps(n){return new Xe(function(e){const t=_0x5299;var x=n[vx]();if(Pe(x[t(500)]))return x[t(500)](e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function zs(n){return new Xe(function(e){const t=_0x5299;for(var x=0;x<n[t(707)]&&!e[t(696)];x++)e.next(n[x]);e.complete()})}function Cs(n){return new Xe(function(e){const t=_0x5299;n[t(934)](function(x){const r=t;!e[r(696)]&&(e.next(x),e[r(2030)]())},function(x){return e[t(1531)](x)}).then(null,Zo)})}function Ms(n){return new Xe(function(e){const t=_0x5299;var x,r;try{for(var o=$0(n),i=o[t(2148)]();!i[t(2010)];i=o[t(2148)]()){var a=i[t(1443)];if(e[t(2148)](a),e[t(696)])return}}catch(u){x={error:u}}finally{try{i&&!i[t(2010)]&&(r=o.return)&&r[t(1429)](o)}finally{if(x)throw x[t(1531)]}}e[t(2030)]()})}function lr(n){return new Xe(function(e){const t=_0x5299;Ds(n,e)[t(1170)](function(x){return e.error(x)})})}function Bs(n){return lr(cr(n))}function Ds(n,e){var t,x,r,o;return Fc(this,void 0,void 0,function(){var i,a;return qo(this,function(u){const s=_0x5299;switch(u[s(854)]){case 0:u[s(1856)].push([0,5,6,11]),t=es(n),u[s(854)]=1;case 1:return[4,t.next()];case 2:if(x=u[s(1134)](),!!x[s(2010)])return[3,4];if(i=x.value,e.next(i),e[s(696)])return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u[s(1134)](),r={error:a},[3,11];case 6:return u[s(1856)].push([6,,9,10]),x&&!x[s(2010)]&&(o=t[s(1590)])?[4,o[s(1429)](t)]:[3,8];case 7:u[s(1134)](),u[s(854)]=8;case 8:return[3,10];case 9:if(r)throw r[s(1531)];return[7];case 10:return[7];case 11:return e[s(2030)](),[2]}})})}function w0(n,e,t,x,r){const o=c;x===void 0&&(x=0),r===void 0&&(r=!1);var i=e.schedule(function(){const a=_0x5299;t(),r?n[a(690)](this[a(2188)](null,x)):this[a(1057)]()},x);if(n[o(690)](i),!r)return i}function dr(n,e){return e===void 0&&(e=0),S0(function(t,x){t[_0x5299(500)](k0(x,function(o){return w0(x,n,function(){return x[_0x5299(2148)](o)},e)},function(){return w0(x,n,function(){return x[_0x5299(2030)]()},e)},function(o){return w0(x,n,function(){return x.error(o)},e)}))})}function ur(n,e){return e===void 0&&(e=0),S0(function(t,x){const r=_0x5299;x.add(n[r(2188)](function(){return t[r(500)](x)},e))})}function Ls(n,e){const t=c;return I0(n)[t(969)](ur(e),dr(e))}function Ns(n,e){const t=c;return I0(n)[t(969)](ur(e),dr(e))}function Ss(n,e){return new Xe(function(t){const x=_0x5299;var r=0;return e[x(2188)](function(){const o=x;r===n.length?t[o(2030)]():(t[o(2148)](n[r++]),!t.closed&&this.schedule())})})}function ks(n,e){return new Xe(function(t){var x;return w0(t,e,function(){x=n[ir](),w0(t,e,function(){const r=_0x5299;var o,i,a;try{o=x.next(),i=o[r(1443)],a=o[r(2010)]}catch(u){t[r(1531)](u);return}a?t[r(2030)]():t.next(i)},0,!0)}),function(){return Pe(x?.return)&&x.return()}})}function fr(n,e){if(!n)throw new Error("Iterable cannot be null");return new Xe(function(t){w0(t,e,function(){const x=_0x5299;var r=n[Symbol[x(1677)]]();w0(t,e,function(){const o=x;r[o(2148)]()[o(934)](function(i){const a=o;i.done?t.complete():t[a(2148)](i[a(1443)])})},0,!0)})})}function Is(n,e){return fr(cr(n),e)}function Ps(n,e){if(n!=null){if(xr(n))return Ls(n,e);if(nr(n))return Ss(n,e);if(tr(n))return Ns(n,e);if(or(n))return fr(n,e);if(ar(n))return ks(n,e);if(sr(n))return Is(n,e)}throw rr(n)}function st(n,e){return e?Ps(n,e):I0(n)}function Je(){const n=c;for(var e=[],t=0;t<arguments[n(707)];t++)e[t]=arguments[t];var x=ws(e);return st(e,x)}function Ee(n,e){var t=Pe(n)?n:function(){return n},x=function(r){return r[_0x5299(1531)](t())};return new Xe(x)}function As(n){return n instanceof Date&&!isNaN(n)}var js=gx(function(n){return function(t){const x=_0x5299;t===void 0&&(t=null),n(this),this[x(1114)]="Timeout has occurred",this[x(599)]=x(576),this.info=t}});function Es(n,e){const t=c;var x=As(n)?{first:n}:{each:n},r=x.first,o=x[t(1683)],i=x.with,a=i===void 0?Ys:i,u=x[t(2150)],s=u===void 0?gs:u,d=x[t(664)],f=d===void 0?null:d;if(r==null&&o==null)throw new TypeError(t(2161));return S0(function(g,b){const v=t;var h,p,M=null,m=0,w=function(y){p=w0(b,s,function(){const C=_0x5299;try{h[C(1057)](),I0(a({meta:f,lastValue:M,seen:m})).subscribe(b)}catch(P){b[C(1531)](P)}},y)};h=g[v(500)](k0(b,function(y){p?.[v(1057)](),m++,b.next(M=y),o>0&&w(o)},void 0,void 0,function(){const y=v;!p?.[y(696)]&&p?.[y(1057)](),M=null})),!m&&w(r!=null?typeof r===v(2134)?r:+r-s[v(1891)]():o)})}function Ys(n){throw new js(n)}function lt(n,e){return S0(function(t,x){const r=_0x5299;var o=0;t[r(500)](k0(x,function(i){x[r(2148)](n.call(e,i,o++))}))})}function Us(n,e,t,x,r,o,i,a){var u=[],s=0,d=0,f=!1,g=function(){const h=_0x5299;f&&!u[h(707)]&&!s&&e[h(2030)]()},b=function(h){const p=_0x5299;return s<x?v(h):u[p(1181)](h)},v=function(h){const p=_0x5299;s++;var M=!1;I0(t(h,d++))[p(500)](k0(e,function(m){e[p(2148)](m)},function(){M=!0},void 0,function(){if(M)try{s--;for(var m=function(){var y=u[_0x5299(1009)]();i||v(y)};u.length&&s<x;)m();g()}catch(w){e.error(w)}}))};return n.subscribe(k0(e,b,function(){f=!0,g()})),function(){}}function px(n,e,t){return t===void 0&&(t=1/0),Pe(e)?px(function(x,r){return lt(function(o,i){return e(x,o,r,i)})(I0(n(x,r)))},t):(typeof e=="number"&&(t=e),S0(function(x,r){return Us(x,r,n,t)}))}function dt(n){return S0(function(e,t){const x=_0x5299;var r=null,o=!1,i;r=e.subscribe(k0(t,void 0,void 0,function(a){const u=_0x5299;i=I0(n(a,dt(n)(e))),r?(r[u(1057)](),r=null,i[u(500)](t)):o=!0})),o&&(r.unsubscribe(),r=null,i[x(500)](t))})}function Os(n,e,t){var x=Pe(n)||e||t?{next:n,error:e,complete:t}:n;return x?S0(function(r,o){var i;(i=x.subscribe)===null||i===void 0||i.call(x);var a=!0;r.subscribe(k0(o,function(u){const s=_0x5299;var d;(d=x[s(2148)])===null||d===void 0||d[s(1429)](x,u),o[s(2148)](u)},function(){const u=_0x5299;var s;a=!1,(s=x[u(2030)])===null||s===void 0||s[u(1429)](x),o.complete()},function(u){const s=_0x5299;var d;a=!1,(d=x[s(1531)])===null||d===void 0||d[s(1429)](x,u),o[s(1531)](u)},function(){const u=_0x5299;var s,d;a&&((s=x.unsubscribe)===null||s===void 0||s[u(1429)](x)),(d=x[u(479)])===null||d===void 0||d.call(x)}))}):Jo}function zx(n){return encodeURIComponent((n||"")[c(1404)]()||"__default__")}function Gs(n){const e=c;return n[e(947)]==="external"?n.bindNodeId+"::ext::"+zx(n[e(459)]??""):n[e(557)]+"::"+n.eventType}function br(n,e){return n+":"+e}class nn{static[c(2236)];[c(449)]=new Map;[c(1778)]=new Map;[c(547)]=new Map;nodeEventBindings=new Map;[c(1051)];constructor(){}static[c(2208)](){const e=c;return!nn[e(2236)]&&(nn[e(2236)]=new nn),nn.instance}[c(1599)](e){const t=c;this[t(547)][t(2110)](e.id,e)}[c(540)](e){const t=c;this.eventBlocks[t(1060)](e)}[c(1097)](e){const t=c;return this[t(547)][t(1710)](e)}setDefaultRuntimeHandlers(e){const t=c;this[t(1051)]=e}[c(1006)](e){const t=c;if(!e)return;const x=this[t(1051)];this[t(1051)]={dataRequest:{...x?.[t(2042)],...e[t(2042)]},external:{...x?.external,...e[t(1585)]}}}[c(894)](e){const t=c,x=this[t(1051)];if(!(!x&&!e))return{dataRequest:{...x?.[t(2042)],...e?.[t(2042)]},external:{...x?.external,...e?.[t(1585)]}}}[c(510)](e){const t=c,x=this[t(1778)][t(1710)](e.id);x&&(x[t(1057)](),this[t(1778)][t(1060)](e.id)),this[t(449)].delete(e.id)}[c(1932)](e){const t=c,x=Gs(e),r=this[t(750)][t(1710)](x);r&&r.id!==e.id&&this.disposeEventRootPipeline(r),this[t(750)].set(x,e),!this[t(449)][t(1411)](e.id)&&this[t(1606)](e)}unbindNodeEvent(e,t,x){const r=c;if(t===r(1585)){const u=e+r(905)+zx(x??""),s=this[r(750)].get(u);s&&(this[r(510)](s),this.nodeEventBindings[r(1060)](u));return}const o=e+"::"+t,i=br(e,t),a=this[r(750)].get(o)??this[r(750)][r(1710)](i);a&&(this[r(510)](a),this[r(750)][r(1060)](o),this.nodeEventBindings[r(1060)](i))}[c(908)](e){const t=c,x=[];this[t(750)][t(1753)]((r,o)=>{const i=t;r[i(557)]===e&&x[i(1181)]({key:o,root:r})}),x.forEach(({key:r,root:o})=>{const i=t;this.disposeEventRootPipeline(o),this[i(750)][i(1060)](r)})}getNodeEventBindings(e){const t=c,x=[];return this[t(750)][t(1753)](r=>{const o=t;r[o(557)]===e&&x[o(1181)](r)}),x}[c(991)](e,t,x){const r=c,o=e+"::"+t,i=this.nodeEventBindings[r(1710)](o)??this[r(750)][r(1710)](br(e,t));if(!i||!i[r(590)])return Je({success:!0,result:null,path:[],duration:0});if(!this[r(449)][r(1710)](i.id))return Ee(()=>new Error(r(483)+o));const u=Date[r(1891)](),s={...x,executionPath:x[r(718)]||[],runtimeHandlers:this[r(894)](x[r(1482)])};return this.executeEventFlow(i,s)[r(969)](lt(d=>({success:!0,result:d,path:s[r(718)],duration:Date[r(1891)]()-u})),dt(d=>Je({success:!1,error:d[r(1114)]||r(709),path:s[r(718)],duration:Date[r(1891)]()-u})))}[c(1401)](e,t,x){const r=c,o=e+r(905)+zx(t),i=this[r(750)].get(o);if(!i||!i.enabled)return Je({success:!0,result:null,path:[],duration:0});if(!this[r(449)].get(i.id))return Ee(()=>new Error("Event flow not initialized for "+o));const u=Date[r(1891)](),s={...x,executionPath:x[r(718)]||[],runtimeHandlers:this[r(894)](x[r(1482)])};return this[r(588)](i,s)[r(969)](lt(d=>({success:!0,result:d,path:s[r(718)],duration:Date[r(1891)]()-u})),dt(d=>Je({success:!1,error:d[r(1114)]||r(709),path:s[r(718)],duration:Date.now()-u})))}createEventFlowPipeline(e){const t=c,x=new Qo;this[t(449)].set(e.id,x)}[c(588)](e,t){const x=c,{nodes:r,edges:o}=e[x(2022)];if(r.length===0)return Je(null);const i=r.filter(a=>a[x(792)][x(707)]===0);return i[x(707)]===0?Ee(()=>new Error(x(1299))):this[x(1311)](i,r,o,t,{})}[c(1311)](e,t,x,r,o){const i=c;if(e.length===0)return Je(o);const a=e.map(u=>this[i(1014)](u,r,o)[i(969)](Os(s=>{const d=i;o[u.id]=s,r[d(718)][d(1181)](u.id)})));return st(a).pipe(px(u=>u,1),lt(()=>{const u=i,s=new Set;return e[u(1753)](f=>{const g=u;f[g(517)][g(1753)](b=>{const v=g,h=t[v(1043)](p=>p.id===b);h&&h[v(792)].every(M=>o[M]!==void 0)&&s[v(690)](b)})}),t[u(1304)](f=>s[u(1411)](f.id))}),px(u=>{const s=i;return u[s(707)]>0?this[s(1311)](u,t,x,r,o):Je(o)}),Es(3e4),dt(u=>{const s=i;return console[s(1531)](s(721),u),Ee(()=>u)}))}resolveFlowEventBlock(e){const t=c;return this[t(547)][t(1710)](e[t(777)])??e[t(2172)][t(2220)]}[c(1705)](e,t,x){return e.replace(/\{\{\s*([^}]+?)\s*\}\}/g,(r,o)=>{const i=_0x5299,a=String(o)[i(1404)]();if(a[i(1996)]("$")){const s=this.getValueFromPath(x,a[i(1292)](1));return s==null?"":String(s)}const u=t[a];return u==null?"":String(u)})}[c(1267)](e,t,x){const r=c,o=e[r(1928)];if(!o)return Ee(()=>new Error(r(794)));if(o==="antdMessage"){const i=e[r(1624)]??{},a=String(i[r(1584)]??""),u=i[r(852)]??r(1286),s=i[r(840)],d=this[r(1705)](a,x,t);if(!d[r(1404)]())return Ee(()=>new Error(r(823)));try{const f={type:u,content:d};if(s!=null&&s!==""){const g=Number(s);!Number.isNaN(g)&&(f[r(840)]=g)}return z[r(1114)][r(574)](f),Je({ok:!0,builtinId:o,content:d,level:u})}catch(f){return Ee(()=>f)}}if(o==="switchCanvas"){const i=e[r(1624)]??{},a=String(i[r(1855)]??"").trim();if(!a)return Ee(()=>new Error("未配置目标画布 ID"));if(!t.switchCanvas)return Ee(()=>new Error("当前环境不支持画布切换"));try{return t[r(586)](a),Je({ok:!0,builtinId:o,targetCanvasId:a})}catch(u){return Ee(()=>u)}}return Ee(()=>new Error(r(2053)+String(o)))}invokeRuntimeHandler(e,t,x){try{const r=e(t,x);return r instanceof Promise?st(r):Je(r)}catch(r){return Ee(()=>r)}}executeSingleFlowNode(e,t,x){const r=c,o=this[r(1426)](e);if(!o)return Ee(()=>new Error("Event block not found: "+e[r(777)]));const i=this[r(1821)](e,t,x),a=o[r(1924)]??"inlineScript";if(a===r(2042)){const u=(o.dataRequestKey||"")[r(1404)]();if(!u)return Ee(()=>new Error(r(544)));const s=t[r(1482)]?.[r(2042)]?.[u];return s?this[r(2244)](s,t,i):Ee(()=>new Error(r(1231)+u))}if(a===r(1585)){const u=(o[r(1635)]||"").trim();if(!u)return Ee(()=>new Error(r(684)));const s=t[r(1482)]?.external?.[u];return s?this[r(2244)](s,t,i):Ee(()=>new Error(r(1011)+u))}if(a===r(1376))return this[r(1267)](o,t,i);try{const u=new Function(r(1153),r(1824),r(1380),o[r(1433)]),s=u(t[r(1213)],t,i);return s instanceof Promise?st(s):Je(s)}catch(u){return Ee(()=>u)}}[c(1821)](e,t,x){const r=c,o={$event:t[r(598)],$data:t.data,$node:t[r(1213)]},{inputMapping:i}=e.data;return i&&Object.entries(i)[r(1753)](([a,u])=>{const s=r;if(u[s(1996)]("$prev.")){const d=u[s(1528)](s(2044),"");o[a]=x[d]}else if(u[s(1996)]("$")){const d=u[s(1292)](1);o[a]=this.getValueFromPath(t,d)}else o[a]=u}),o}[c(953)](e,t){const x=c;return t[x(1246)](".")[x(770)]((r,o)=>{if(r!==null&&typeof r===x(1523)&&o in r)return r[o]},e)}[c(1452)](){const e=c;this[e(1778)].forEach(t=>t.unsubscribe()),this[e(1778)][e(733)](),this[e(449)][e(733)](),this[e(750)].clear()}}const tn=nn.getInstance(),hr=({node:n,children:e,runtimeHandlers:t,flowContextData:x})=>{const r=c,{eventFlow:o,switchCanvas:i}=Ye(),a=N[r(1912)](null),u=N[r(1567)](()=>{const d=r;return o[d(1387)][d(1304)](f=>f[d(557)]===n.id&&f[d(590)])},[o[r(1387)],n.id]),s=N[r(1567)](d=>f=>{const g=_0x5299,b=u()[g(1304)](h=>h[g(947)]===d);if(b.length===0)return;d!==g(1550)&&d!==g(2168)&&f[g(1502)](),f.stopPropagation();const v=x&&typeof x===g(1523)?{...x}:{};b[g(1753)](h=>{const p=g;tn[p(991)](n.id,d,{triggerNode:n,originalEvent:f,data:v,runtimeHandlers:t,switchCanvas:i}).subscribe({next:M=>{const m=p;!M[m(681)]&&console[m(1531)](m(2194),M[m(1531)])},error:M=>{const m=p;console[m(1531)](m(1094),M)}})})},[u,n,t,x]);return N[r(1849)](()=>{const d=r;return u()[d(1753)](g=>{tn[d(1932)](g)}),()=>{tn[d(908)](n.id)}},[u,n.id]),N[r(1849)](()=>{const d=r,f=a[d(2089)];if(!f)return;const g={click:s(d(1804)),mousedown:s(d(1424)),mouseup:s("mouseUp"),dblclick:s("doubleClick"),mouseover:s(d(1550)),mouseleave:s(d(2168)),mouseenter:s(d(1696)),contextmenu:s(d(1718))};return Object[d(1020)](g).forEach(([b,v])=>{f.addEventListener(b,v,!0)}),()=>{const b=d;Object.entries(g)[b(1753)](([v,h])=>{f.removeEventListener(v,h,!0)})}},[s]),N[r(889)](e,{ref:d=>{const f=r;a.current=d;const g=e[f(830)];typeof g===f(1568)?g(d):g&&f(2089)in g&&(g[f(2089)]=d)}})},{Text:gr}=z.Typography,yr=(n,e)=>{const t=c;if(!e||!n)return{value:void 0};if(Array.isArray(n)){const x=n[t(1043)](r=>r.paramsCode===e);if(x)return{value:x[t(1443)],unit:x.unit}}else if(typeof n=="object"){const x=e.split(".");let r=n;for(const o of x){if(r===null||typeof r!==t(1523))return{value:void 0};r=r[o]}if(r!==void 0)return{value:r,unit:n[t(1781)]}}return{value:void 0}};function Vs(n){return Array[c(611)](n)}const Hs=(n,e,t)=>{const x=c,r=n.content||{},{valueSourceCode:o,boundDatasetId:i,boundDatasetBindCode:a,boundDatasetBindValue:u}=r;if(!o)return{value:void 0};if(i){const s=e[x(1043)](d=>d.id===i);if(s){let d;Vs(s.sample)?a!=null&&u!=null?d=s[x(506)].find(g=>g[a]===u)||{}:d={}:d=s[x(506)];const f=t&&typeof t=="object"?{...d,...t}:d;return yr(f,o)}}return yr(t,o)},Ts=(n,e)=>{if(n==null||n==="")return"";if(e===-1)return String(n);const t=Number(n);return isNaN(t)?String(n):t.toFixed(e??2)},qs=(n,e,t,x,r)=>{const o=c;switch(n.type){case o(1032):const i=n,a=i[o(1999)],u=i[o(2205)];let s=i[o(520)];return u&&s&&s.includes(o(535))&&(n[o(599)]==="矩形"?s=o(1931)+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="'+u+o(1080)):n[o(599)]==="圆形"?s="data:image/svg+xml,"+encodeURIComponent(o(683)+u+'"/></svg>'):n.name===o(1229)&&(s=o(1931)+encodeURIComponent(o(1415)+u+'" rx="20"/></svg>'))),l[o(1403)](o(1467),{className:o(1391),style:{backgroundColor:a},children:s?l[o(1403)](o(1371),{src:s,alt:n[o(599)],style:{width:o(924),height:o(924),objectFit:o(1760)}}):l[o(1403)](o(1467),{className:o(1676),children:l.jsx("span",{className:"text-gray-400 text-xs",children:o(955)})})});case o(1245):const d=n,{label:f,value:g,valueSourceCode:b,unit:v,decimals:h,labelStyle:p,valueStyle:M,customStyle:m}=d[o(1584)]||{},{value:w,unit:y}=b?Hs(d,r||[],e):{value:void 0,unit:void 0},C=w!==void 0?w:g,P=Ts(C,h),Y=v||y||"";return l[o(1900)]("div",{className:o(2077),style:{...m},children:[f&&l[o(1403)](gr,{style:{fontSize:14,fontWeight:"bold",color:o(1197),textAlign:o(1446),...p},children:f}),P&&l[o(1900)](gr,{style:{fontSize:14,color:o(1329),textAlign:o(1446),...M},children:[P,Y?" "+Y:""]})]});case"LINE":const G=n,{thickness:T=2,color:U=o(1054),dashed:Q=!1,lineType:X=Q?"dashed":o(1690),lineWeight:W=T,startX:O=0,startY:L=0,endX:B=100,endY:D=0}=G[o(705)]||{},E=_=>{const Z=o,$=Math[Z(2014)](W,1);switch(_){case Z(1690):return"";case Z(1950):return $*8+","+$*4;case"center":return $*12+","+$*3+","+$*2+","+$*3;case Z(1447):return $*12+","+$*3+","+$*2+","+$*3+","+$*2+","+$*3;case Z(1510):return $+","+$*3;case"dash-dot":return $*8+","+$*3+","+$+","+$*3;default:return""}},A=E(X),S=t?o(1329):U;return l[o(1403)](o(1467),{className:o(2140),style:{overflow:"visible"},children:l.jsxs(o(1235),{className:o(712),width:o(924),height:o(924),style:{overflow:"visible",pointerEvents:o(928)},children:[l[o(1403)](o(1565),{x1:O,y1:L,x2:B,y2:D,stroke:"transparent",strokeWidth:Math[o(2014)](W,10),strokeLinecap:o(1910),strokeLinejoin:o(1910),style:{pointerEvents:o(945),cursor:o(2032)}}),l.jsx(o(1565),{x1:O,y1:L,x2:B,y2:D,stroke:S,strokeWidth:W,strokeDasharray:A,strokeLinecap:o(1910),strokeLinejoin:o(1910),style:{pointerEvents:"none"}})]})});case o(1314):const R=n;return R[o(1402)]?R[o(1402)]({}):l[o(1403)](o(1467),{className:o(614),children:l.jsx(o(983),{className:o(1526),children:o(2038)})});default:return l[o(1403)](o(1467),{className:o(614),children:l[o(1403)](o(983),{className:o(1526),children:o(1496)})})}},Ws=({node:n,isSelected:e=!1,onClick:t,onMouseDown:x,data:r,onUpdateNode:o,scale:i=1,enableEventFlow:a=!1,eventFlowData:u})=>{const s=c,{normalStyle:d,controlInfo:f}=n,{isClickable:g,isDraggable:b,isResizable:v}=f,h=n[s(800)],p=Ye(I=>I[s(870)]),M=Ye(I=>I[s(2019)]),m=N[s(1912)](t);N.useEffect(()=>{const I=s;m[I(2089)]=t},[t]);const[w,y]=N[s(646)](null),C=N[s(1912)](null),P=N[s(1912)](null),Y=N[s(1912)](null),G=N[s(1912)](null),T=N.useRef(null),[U,Q]=N[s(646)](null),[X,W]=N[s(646)](null),O=N[s(1912)](null),L=N[s(677)](()=>{const I=s,k=n[I(800)][I(617)];if(k[I(707)]===0)return;const K=Uo(k,r,p);return K||k[0]},[n[s(800)].statusList,r,p]),B=N[s(1912)](n.contentInfo[s(1702)]);N[s(1849)](()=>{const I=s;B[I(2089)]=n[I(800)].currentStatusId},[n.id]),N[s(1849)](()=>{const I=s,k=L?.id;k!==void 0&&B[I(2089)]!==k&&(B.current=k,M(n.id,{contentInfo:{...n[I(800)],currentStatusId:k}}))},[L?.id,n.id,M]);const D=L?.[s(1605)],E=D?.[s(1244)]===s(850),A=E?D[s(705)]:null,S=d.scale??1,R=(d[s(831)]||100)*S,_=(d[s(469)]||100)*S,Z=N[s(1567)](()=>{const I=s,k=T[I(2089)]?.[I(1971)](I(1130));if(!k)return i;const K=k[I(898)](),V=parseFloat(k[I(693)].width);return V?K[I(831)]/V:i},[i]),$=N[s(1567)]((I,k)=>{const K=s;I[K(1370)](),I[K(1502)]();const V=A?.[K(1445)]||0,H=A?.[K(511)]||0,ie=A?.[K(1977)]||0,be=A?.[K(1582)]||0,me=d.x||0,he=d.y||0,we=Math[K(2014)]((A?.[K(872)]||A?.[K(1906)]||2)*2,4),Ne=Math[K(487)](V,ie),ze=Math[K(487)](H,be),De=Math[K(2014)](V,ie),Oe=Math[K(2014)](H,be),Ge=Math[K(2014)](De-Ne,we),Ke=Math[K(2014)](Oe-ze,we);C.current={mouseX:I[K(1915)],mouseY:I[K(1506)],startX:V,startY:H,endX:ie,endY:be,nodeX:me,nodeY:he};const Ie=Math[K(487)](V,ie),Ze=Math[K(487)](H,be);Y[K(2089)]={nodeX:me+Ie,nodeY:he+Ze,width:Ge,height:Ke,startX:V-Ie,startY:H-Ze,endX:ie-Ie,endY:be-Ze},P[K(2089)]=L||null,y(k)},[A,d.x,d.y,L]);N[s(1849)](()=>{const I=s;if(!w||!E||!A||!o)return;const k=V=>{const H=_0x5299,ie=C[H(2089)];if(!ie||!T[H(2089)])return;const be=Z(),me=(V[H(1915)]-ie.mouseX)/be,he=(V[H(1506)]-ie[H(1182)])/be;let we=ie[H(1445)],Ne=ie.startY,ze=ie[H(1977)],De=ie[H(1582)],Oe=ie[H(2050)],Ge=ie[H(589)];w===H(1939)?(we=ie[H(1445)]+me,Ne=ie[H(511)]+he,we<0&&(Oe=ie[H(2050)]+we,ze=ie[H(1977)]-we,we=0),Ne<0&&(Ge=ie[H(589)]+Ne,De=ie[H(1582)]-Ne,Ne=0)):(ze=ie[H(1977)]+me,De=ie.endY+he,ze<0&&(Oe=ie.nodeX+ze,we=ie.startX-ze,ze=0),De<0&&(Ge=ie[H(589)]+De,Ne=ie.startY-De,De=0));const Ke=Math.max((A[H(872)]||2)*2,4),Ie=Math.min(we,ze),Ze=Math[H(487)](Ne,De),r0=Math[H(2014)](we,ze),V0=Math[H(2014)](Ne,De),B0=Oe+Ie,i0=Ge+Ze,a0=we-Ie,H0=Ne-Ze,T0=ze-Ie,q0=De-Ze,Re=Math.max(r0-Ie,Ke),W0=Math[H(2014)](V0-Ze,Ke);Y.current={nodeX:B0,nodeY:i0,width:Re,height:W0,startX:a0,startY:H0,endX:T0,endY:q0};const je=T[H(2089)];je[H(693)][H(1446)]=B0+"px",je[H(693)][H(2043)]=i0+"px",je[H(693)].width=Re+"px",je[H(693)].height=W0+"px",je[H(1082)]("svg line").forEach(D0=>{const mn=H;D0[mn(1399)]("x1",String(a0)),D0.setAttribute("y1",String(H0)),D0.setAttribute("x2",String(T0)),D0[mn(1399)]("y2",String(q0))});const c0=je[H(1e3)](H(1869)),K0=je[H(1e3)]('[data-handle="end"]');c0&&(c0[H(693)][H(1446)]=a0-6+"px",c0[H(693)][H(2043)]=H0-6+"px"),K0&&(K0.style[H(1446)]=T0-6+"px",K0.style[H(2043)]=q0-6+"px")},K=()=>{const V=_0x5299,H=Y[V(2089)];if(!H||!o){y(null),C.current=null,Y.current=null,P[V(2089)]=null;return}const ie=Ye[V(975)]()[V(824)].find(ze=>ze.id===n.id),be=ie?.[V(800)][V(617)]??n[V(800)][V(617)],me=P[V(2089)],he=me?.id??be[V(1043)](ze=>ze.material[V(1244)]===V(850))?.id,we=be[V(1577)](ze=>{const De=V;if(ze[De(1605)][De(1244)]!==De(850)||ze.id!==he)return ze;const Oe=ze[De(1605)];return{...ze,material:{...Oe,config:{...Oe[De(705)],startX:H[De(1445)],startY:H[De(511)],endX:H[De(1977)],endY:H[De(1582)]}}}}),Ne=ie?.[V(800)]??h;o(n.id,{normalStyle:{x:H[V(2050)],y:H[V(589)],width:H[V(831)],height:H[V(469)]},contentInfo:{...Ne,statusList:we}}),y(null),C[V(2089)]=null,Y.current=null,P.current=null};return window.addEventListener(I(531),k),window[I(1254)](I(1851),K),()=>{const V=I;window[V(963)](V(531),k),window[V(963)](V(1851),K)}},[w,E,A,n.id,d,h,n[s(800)][s(617)],o,Z]),N[s(1849)](()=>{const I=s;if(!U||!o)return;const k=V=>{const H=_0x5299;if(!T[H(2089)])return;const ie=Z(),be=(V[H(1915)]-U[H(1445)])/ie,me=(V[H(1506)]-U.startY)/ie;let he=U[H(1118)],we=U[H(1483)],Ne=U[H(1956)],ze=U[H(1803)];switch(U[H(1762)]){case"se":he=Math.max(20,U[H(1118)]+be),we=Math.max(20,U[H(1483)]+me);break;case"sw":he=Math[H(2014)](20,U[H(1118)]-be),we=Math[H(2014)](20,U[H(1483)]+me),Ne=U.startNodeX+(U[H(1118)]-he);break;case"ne":he=Math[H(2014)](20,U[H(1118)]+be),we=Math[H(2014)](20,U.startHeight-me),ze=U[H(1803)]+(U[H(1483)]-we);break;case"nw":he=Math[H(2014)](20,U.startWidth-be),we=Math[H(2014)](20,U[H(1483)]-me),Ne=U[H(1956)]+(U[H(1118)]-he),ze=U.startNodeY+(U[H(1483)]-we);break}G[H(2089)]={x:Ne,y:ze,width:he,height:we};const De=T[H(2089)];De[H(693)][H(1446)]=Ne+"px",De[H(693)][H(2043)]=ze+"px",De.style.width=he+"px",De.style[H(469)]=we+"px"},K=()=>{const V=_0x5299,H=G[V(2089)];H&&o(n.id,{normalStyle:{...d,x:H.x,y:H.y,width:H.width,height:H[V(469)]}}),Q(null),G[V(2089)]=null};return window.addEventListener("mousemove",k),window.addEventListener(I(1851),K),()=>{const V=I;window[V(963)](V(531),k),window[V(963)](V(1851),K)}},[U,o,n.id,d,Z]);const te=N.useCallback((I,k)=>{const K=s;I[K(1370)](),I.preventDefault(),Q({corner:k,startX:I[K(1915)],startY:I[K(1506)],startWidth:d[K(831)]||100,startHeight:d.height||100,startNodeX:d.x||0,startNodeY:d.y||0})},[d.width,d[s(469)],d.x,d.y]),se=N.useCallback(I=>{const k=s;I.stopPropagation(),I[k(1502)]();const K=T[k(2089)]?.getBoundingClientRect();K&&W({startX:I[k(1915)],startY:I[k(1506)],startAngle:d[k(2040)]||0,centerX:K[k(1446)]+K[k(831)]/2,centerY:K[k(2043)]+K.height/2})},[d.rotate]);N[s(1849)](()=>{const I=s;if(!X)return;const k=V=>{const H=_0x5299,ie=V[H(1915)]-X[H(784)],be=V[H(1506)]-X[H(2203)];let he=(Math[H(915)](be,ie)*(180/Math.PI)+90)%360;if(he<0&&(he+=360),O.current=he,T[H(2089)]){const we=d.transform||"";T[H(2089)][H(693)][H(2213)]=(H(1171)+he+"deg) "+we).trim()}},K=()=>{const V=_0x5299,H=O[V(2089)]??X.startAngle;O.current=null,o&&o(n.id,{normalStyle:{...d,rotate:Math[V(1910)](H)}}),W(null)};return window.addEventListener("mousemove",k),window[I(1254)]("mouseup",K),()=>{const V=I;window.removeEventListener(V(531),k),window.removeEventListener("mouseup",K)}},[X,o,n.id,d]);const ce=n[s(1244)]==="group",re={position:s(1474),left:d.x||0,top:d.y||0,width:R,height:_,background:ce?s(1330):d[s(1342)]||"transparent",backgroundImage:ce?void 0:d[s(1714)]?s(2018)+d.backgroundImage+")":void 0,backgroundSize:s(1537),backgroundPosition:s(1641),padding:Array[s(611)](d[s(2090)])?d[s(2090)][s(1076)](s(942))+"px":d[s(2090)],margin:Array[s(611)](d[s(1893)])?d[s(1893)][s(1076)]("px ")+"px":d.margin,borderRadius:ce?void 0:d[s(1860)],border:e&&!E?s(1275):E||ce?s(928):d[s(882)]||s(1250),pointerEvents:s(959),opacity:d[s(2226)]??1,transform:(s(1171)+(O.current??(d[s(2040)]||0))+"deg) "+(d[s(2213)]||""))[s(1404)](),transformOrigin:s(2147),zIndex:e?1e3:d.zIndex??1,cursor:b&&!w?s(1729):g?s(2032):"default",boxSizing:s(1687),overflow:e||E||ce?"visible":s(457)},xe=A?{x:A[s(1445)]||0,y:A.startY||0}:{x:0,y:0},ne=A?{x:A[s(1977)]||0,y:A[s(1582)]||0}:{x:0,y:0},ae=l[s(1900)](s(1467),{ref:T,"data-node-id":n.id,style:re,onClick:I=>{const k=s;console.log("NodeRenderer onClick",n.id,k(756),g);const K=m.current;g&&K&&!w&&!U&&!X&&(I[k(1370)](),K(I))},onMouseDown:I=>{b&&x&&!w&&x(I)},children:[e&&!E&&l[s(1900)](l.Fragment,{children:[!ce&&l[s(1900)](l[s(2082)],{children:[l.jsx(s(1467),{className:"absolute top-0 left-0 w-3 h-3 bg-blue-500 border-2 border-white rounded-full",style:{zIndex:9999,pointerEvents:"auto",cursor:s(1976),marginTop:s(2152),marginLeft:s(2152)},onMouseDown:I=>te(I,"nw"),title:"拖拽调整大小"}),l[s(1403)](s(1467),{className:s(1167),style:{zIndex:9999,pointerEvents:s(959),cursor:s(2129),marginTop:s(2152),marginRight:s(2152)},onMouseDown:I=>te(I,"ne"),title:s(1972)}),l[s(1403)](s(1467),{className:s(484),style:{zIndex:9999,pointerEvents:s(959),cursor:"sw-resize",marginBottom:s(2152),marginLeft:s(2152)},onMouseDown:I=>te(I,"sw"),title:s(1972)}),l.jsx(s(1467),{className:s(2198),style:{zIndex:9999,pointerEvents:s(959),cursor:s(635),marginBottom:s(2152),marginRight:s(2152)},onMouseDown:I=>te(I,"se"),title:s(1972)})]}),l[s(1403)]("div",{className:s(1331),style:{zIndex:9999,pointerEvents:s(959),cursor:s(1989),marginTop:s(2100),transform:s(1758),boxShadow:s(1056)},onMouseDown:I=>se(I),title:s(1545)}),l[s(1403)]("div",{className:s(1321),style:{zIndex:9998,pointerEvents:s(928),marginTop:s(1155),transform:s(1758)}}),l[s(1900)](s(1467),{className:"absolute -top-6 left-0 bg-blue-500 text-white text-xs px-2 py-0.5 rounded whitespace-nowrap",children:[n[s(599)]," ",L?"("+L.name+")":""]})]}),e&&E&&A&&o&&l[s(1900)](l[s(2082)],{children:[l[s(1403)](s(1467),{"data-handle":s(1939),className:s(685),style:{left:xe.x-6,top:xe.y-6,boxShadow:s(1056)},onMouseDown:I=>$(I,s(1939)),title:s(1236)}),l[s(1403)](s(1467),{"data-handle":s(1149),className:"absolute w-3 h-3 bg-blue-500 border-2 border-white rounded-full cursor-move z-50",style:{left:ne.x-6,top:ne.y-6,boxShadow:s(1056)},onMouseDown:I=>$(I,s(1149)),title:"拖拽调整终点"}),l[s(1403)]("div",{className:s(1324),children:n[s(599)]})]}),l[s(1403)](s(1467),{className:s(2140),children:D?l[s(1403)](s(1467),{className:s(1112),children:qs(D,r,e,n,p)}):ce?null:l[s(1403)]("div",{className:s(992),children:s(1495)})}),n.type===s(1295)&&n.children&&l[s(1403)](s(1467),{className:"absolute inset-0 pointer-events-none",children:n[s(584)][s(1577)](I=>l[s(1403)](s(1467),{className:s(1269),children:l.jsx(Cx,{node:I,isSelected:!1,data:r,onUpdateNode:o,scale:i,enableEventFlow:a,eventFlowData:u})},I.id))})]});return a?l[s(1403)](hr,{node:n,flowContextData:u,children:ae}):ae},Cx=N[c(571)](Ws,(n,e)=>{const t=c,x=n[t(1153)],r=e.node,o=x.id===r.id&&x[t(1736)].x===r[t(1736)].x&&x.normalStyle.y===r[t(1736)].y&&x[t(1736)][t(831)]===r[t(1736)][t(831)]&&x[t(1736)][t(469)]===r[t(1736)][t(469)]&&x[t(1736)].rotate===r[t(1736)][t(2040)],i=x[t(800)]===r[t(800)],a=JSON[t(609)](n[t(2162)]??null)===JSON[t(609)](e[t(2162)]??null),u=n.isSelected===e[t(1394)]&&n.scale===e[t(1113)]&&n[t(1318)]===e.enableEventFlow&&a,s=b=>{const v=t,h=[];return b[v(800)]?.[v(617)]?.[v(1753)](p=>{const M=v;if(p[M(1605)]?.type===M(850)){const m=p.material.config;h.push({statusId:p.id,startX:m?.startX??0,startY:m?.startY??0,endX:m?.endX??100,endY:m?.[M(1582)]??0})}}),h},d=s(x),f=s(r);let g=!0;if(d[t(707)]!==f[t(707)])g=!1;else for(let b=0;b<d[t(707)];b++){const v=d[b],h=f.find(p=>p[t(1072)]===v[t(1072)]);if(!h||v[t(1445)]!==h[t(1445)]||v[t(511)]!==h[t(511)]||v[t(1977)]!==h[t(1977)]||v[t(1582)]!==h.endY){g=!1;break}}return o&&i&&u&&g}),Xs=["#1890ff",c(909),c(793),"#f5222d","#722ed1",c(2061),"#13c2c2",c(1364),c(1643),"#262626",c(2055),c(1054),c(2028),c(745),c(583),c(1806)],xn=({value:n=c(1329),onChange:e,onChangeComplete:t})=>{const x=c,[r,o]=N[x(646)](!1),[i,a]=N[x(646)](n),u=N[x(1912)](null);N[x(1849)](()=>{a(n)},[n]),N.useEffect(()=>{const d=x,f=g=>{const b=_0x5299;u[b(2089)]&&!u[b(2089)][b(545)](g[b(1470)])&&(o(!1),t?.({toHexString:()=>i}))};return r&&document.addEventListener(d(1241),f),()=>document[d(963)](d(1241),f)},[r,t,i]);const s=d=>{a(d),e?.({toHexString:()=>d})};return l.jsxs(x(1467),{ref:u,style:{position:x(1204),display:x(734)},children:[l[x(1403)](x(1467),{onClick:()=>o(!r),style:{width:28,height:28,backgroundColor:i,border:x(1812),borderRadius:4,cursor:x(2032)}}),r&&l.jsxs("div",{style:{position:x(1474),top:32,left:0,zIndex:1e3,background:x(1539),padding:8,borderRadius:4,boxShadow:x(444),border:x(581)},children:[l.jsx(x(1467),{style:{display:x(463),gridTemplateColumns:"repeat(8, 1fr)",gap:4},children:Xs[x(1577)](d=>l[x(1403)](x(1467),{onClick:()=>{s(d),o(!1),t?.({toHexString:()=>d})},style:{width:20,height:20,backgroundColor:d,border:x(i===d?1275:1812),borderRadius:2,cursor:x(2032)}},d))}),l[x(1403)](x(1658),{type:x(1896),value:i,onChange:d=>s(d[x(1470)][x(1443)]),onBlur:()=>t?.({toHexString:()=>i}),style:{width:x(924),marginTop:8,height:28,border:x(1812),borderRadius:4}})]})]})},{TextArea:Ks}=z[c(1693)];function Zs(n){const e=c;if(!n||!(n instanceof HTMLElement))return!1;const t=n.tagName;return!!(t===e(602)||t==="TEXTAREA"||t===e(1063)||t===e(1166)||n.isContentEditable||n.closest('[contenteditable="true"]')||n[e(1971)](e(2132))||n[e(1971)](e(1247)))}const mr=({defaultTestData:n,readonly:e=!1,backgroundImageUrl:t,initialViewportWidth:x,initialViewportHeight:r})=>{const o=c,i=N.useRef(null),a=N[o(1912)](null),u=N.useRef(null),{nodes:s,selectedNodeId:d,selectedNodeIds:f,mode:g,lineDrawing:b,viewport:v,canvas:h,root:p,setViewport:M,setCanvasConfig:m,addNode:w,selectNode:y,updateNode:C,removeNode:P,bringToFront:Y,sendToBack:G,undo:T,redo:U,setMode:Q,startLineDrawing:X,endLineDrawing:W,cancelLineDrawing:O,addCanvas:L,removeCanvas:B,switchCanvas:D,updateCanvasName:E,exportCanvas:A,importCanvas:S,setSelectedNodeIds:R}=Ye(),[_,Z]=N[o(646)](!1),[,$]=N[o(646)]({}),te=N[o(1912)](g);N.useEffect(()=>{const j=o;te[j(2089)]=g},[g]),N[o(1849)](()=>{const j=o;Q(j(e?834:667))},[e,Q]);const se=e&&x&&h[o(831)]>0?Math.min(x/h[o(831)],1):1;N[o(1849)](()=>{if(e&&x&&h.width>0){const j=Math.min(x/h.width,1);let q=0;const ee=()=>{const oe=_0x5299;i.current?i[oe(2089)][oe(1320)](0,0,j):q<20&&(q++,setTimeout(ee,50))};ee()}},[e,x,h.width]);const ce=N[o(1912)](!1),re=N.useRef({x:0,y:0}),xe=N[o(1912)]({x:0,y:0,newX:0,newY:0}),ne=N[o(1912)](null),[ae,I]=N[o(646)]({start:null,end:null,isDrawing:!1}),[k,K]=N.useState({start:null,end:null}),V=f,H=R;N[o(1912)](!1);const[ie,be]=N[o(646)](!1),[me,he]=N[o(646)](!1),[we,Ne]=N[o(646)](()=>JSON[o(609)](n??null,null,2)),ze=N.useMemo(()=>{if(!me)return n;try{return JSON.parse(we)}catch{return n}},[we,n,me]),De=N[o(677)](()=>{const j=ze;if(j!==null&&typeof j=="object")return j;if(j!==void 0)return{_payload:j}},[ze]),Oe=N.useMemo(()=>{const j=o,q=ze;return q!==null&&typeof q=="object"&&!Array[j(611)](q)?q:Array[j(611)](q)?{_telemetryRows:q}:q==null?{}:{_payload:q}},[ze]),Ge=N[o(1567)](()=>{const j=o;let q=n;if(me)try{q=JSON[j(2083)](we)}catch{q=n}Ne(JSON[j(609)](q??null,null,2)),be(!0)},[we,n,me]),[Ke,Ie]=N[o(646)](!1),[Ze,r0]=N[o(646)](!1),[V0,B0]=N[o(646)](""),[i0,a0]=N[o(646)](!1),H0=N[o(1567)](()=>{const j=o;try{const q=A(),ee=JSON[j(609)](q,null,2),oe=j(1354)+encodeURIComponent(ee),de="canvas_"+q[j(1652)][j(599)]+"_"+Date.now()+j(670),J=document[j(1316)]("a");J[j(1399)](j(1199),oe),J.setAttribute(j(965),de),J.click(),z[j(1114)][j(681)](j(1003))}catch{z.message[j(1531)](j(2177))}},[A]),T0=N.useCallback(()=>{const j=o;try{const q=JSON[j(2083)](V0);i0?S(q):S(q,p[j(1739)]||void 0),r0(!1),B0(""),a0(!1),z.message.success(j(1021))}catch{z[j(1114)].error("JSON 格式错误,请检查输入")}},[V0,i0,S,p[o(1739)]]),q0=N.useCallback(j=>{const q=o,ee=new FileReader;return ee[q(1172)]=oe=>{const de=q;try{const J=oe.target?.[de(661)],F=JSON[de(2083)](J);i0?S(F):S(F,p[de(1739)]||void 0),z.message[de(681)](de(1021)),r0(!1),a0(!1)}catch{z[de(1114)][de(1531)](de(682))}},ee[q(702)](j),!1},[i0,S,p[o(1739)]]),[Re,W0]=N[o(646)](!1),je=N.useCallback((j,q)=>{const ee=o;if(!a[ee(2089)])return{x:0,y:0};const oe=a[ee(2089)][ee(898)](),de=j-oe[ee(1446)],J=q-oe.top,F=oe.width/h[ee(831)],fe=oe[ee(469)]/h[ee(469)],ye=de/F,ge=J/fe;return{x:Math[ee(1910)](ye),y:Math.round(ge)}},[h.width,h[o(469)]]),X0=N[o(1567)]((j,q)=>je(j,q),[je]),c0=N[o(1567)]((j,q,ee=!0)=>{const oe=o;if(!b[oe(1605)])return;const de=b[oe(1605)],J=de[oe(705)]||{},F=J[oe(872)]||J[oe(1906)]||2,fe=Math[oe(487)](j.x,q.x),ye=Math[oe(487)](j.y,q.y),ge=Math[oe(1910)](j.x-fe),Be=Math[oe(1910)](j.y-ye),Ce=Math[oe(1910)](q.x-fe),Le=Math[oe(1910)](q.y-ye),Ue=Math[oe(2014)](F*2,4),s0=Math[oe(2014)](Math[oe(2106)](j.x-q.x),Ue),L0=Math[oe(2014)](Math.abs(j.y-q.y),Ue),y0={...de,id:ve[oe(1143)](),config:{color:J[oe(1896)],lineWeight:F,thickness:F,lineType:J[oe(856)],startX:ge,startY:Be,endX:Ce,endY:Le}},J0={id:ve[oe(1143)](),name:de[oe(599)]+"_"+Date[oe(1891)](),type:"normal",normalStyle:{width:s0,height:L0,x:fe,y:ye,background:oe(1330)},contentInfo:{statusList:[bx(y0)],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0}};if(w(J0,!1),ee){const _0={x:q.x,y:q.y};I({start:_0,end:{..._0},isDrawing:!0})}else I({start:null,end:null,isDrawing:!1}),W()},[b[o(1605)],w,W]),K0=N[o(1567)](()=>{const j=o,q=i.current?.[j(2163)];q&&M({scale:q.scale,positionX:q[j(565)],positionY:q[j(633)]})},[M]),D0=N.useCallback(j=>{const q=o;ce[q(2089)]||g!==q(811)&&(j[q(1470)]===a.current||j[q(1470)].dataset?.[q(1652)]===q(1987))&&(y(null),H([]))},[y,g]),mn=N[o(1567)](j=>{const q=o;if(j[q(1961)]===0){if(g===q(1774)&&b[q(1605)]){j[q(1370)]();const ee=je(j.clientX,j[q(1506)]);ae[q(2240)]?ae[q(1939)]&&c0(ae.start,ee,!0):I({start:ee,end:ee,isDrawing:!0});return}if(g===q(811)&&!Re){const ee=X0(j.clientX,j.clientY);K({start:ee,end:ee}),H([]),y(null),j[q(1502)](),j[q(1370)]()}}},[g,b[o(1605)],ae[o(2240)],ae[o(1939)],Re,c0,je,X0]),yo=N[o(1567)](j=>{const q=o;if(!(g!=="line-draw"||!b[q(1605)])&&ae[q(2240)]&&ae[q(1939)]){const ee=je(j[q(1915)],j[q(1506)]);c0(ae[q(1939)],ee,!1)}},[g,b.material,ae[o(2240)],ae[o(1939)],c0,je]),mo=N.useCallback(j=>{const q=o;j[q(1502)](),j[q(2197)][q(1815)]="copy",Z(!0)},[]),wo=N[o(1567)](j=>{j[o(1502)](),Z(!1)},[]),vo=N[o(1567)](j=>{const q=o;if(j[q(1502)](),Z(!1),!(!a[q(2089)]||g!=="select"))try{const ee=j[q(2197)][q(719)]("application/json");if(!ee)return;const oe=JSON[q(2083)](ee),de=je(j[q(1915)],j[q(1506)]),J=de.x-50,F=de.y-50,fe=Ho(J,F,oe);w(fe),H([fe.id])}catch(ee){console[q(1531)]("Failed to parse dropped material:",ee)}},[g,w,je]),po=N.useCallback((j,q)=>{const ee=o;g!==ee(667)&&g!==ee(811)||!q[ee(2069)][ee(2052)]||(j[ee(1370)](),y(q.id),ce[ee(2089)]=!0,re[ee(2089)]={x:j[ee(1915)],y:j.clientY},xe[ee(2089)]={x:q[ee(1736)].x||0,y:q[ee(1736)].y||0,newX:q[ee(1736)].x||0,newY:q.normalStyle.y||0},ne[ee(2089)]=q,j.preventDefault())},[g,y]);N[o(1849)](()=>{const j=o,q=J=>{const F=_0x5299;if(ce[F(2089)]&&d&&ne[F(2089)]){if(!a[F(2089)])return;const fe=a[F(2089)].getBoundingClientRect(),ye=fe[F(831)]/h[F(831)],ge=fe[F(469)]/h[F(469)],Be=J[F(1915)]-re[F(2089)].x,Ce=J[F(1506)]-re[F(2089)].y,Le=Be/ye,Ue=Ce/ge,s0=xe[F(2089)].x+Le,L0=xe[F(2089)].y+Ue,y0=document[F(1e3)](F(713)+d+'"]');y0&&(y0[F(693)][F(1446)]=s0+"px",y0.style[F(2043)]=L0+"px"),xe[F(2089)].newX=s0,xe[F(2089)][F(1981)]=L0}if(g===F(811)&&k[F(1939)]){const fe=X0(J[F(1915)],J.clientY);K(ye=>({...ye,end:fe}))}if(g===F(1774)&&ae[F(2240)]){const fe=je(J.clientX,J[F(1506)]);I(ye=>({...ye,end:fe}))}},ee=()=>{const J=_0x5299;if(ce[J(2089)]&&d&&ne[J(2089)]){const F=Ye[J(975)](),fe=xe[J(2089)].newX??xe.current.x,ye=xe[J(2089)][J(1981)]??xe[J(2089)].y;F[J(2019)](d,{normalStyle:{...ne.current.normalStyle,x:fe,y:ye}})}if(ce[J(2089)]=!1,ne[J(2089)]=null,$({}),g===J(811)&&k[J(1939)]&&k[J(1149)]){const F=Math.min(k[J(1939)].x,k[J(1149)].x),fe=Math[J(2014)](k.start.x,k.end.x),ye=Math[J(487)](k[J(1939)].y,k[J(1149)].y),ge=Math[J(2014)](k[J(1939)].y,k[J(1149)].y),Be=s[J(1304)](Ce=>{const Le=J,Ue=Ce[Le(1736)].x||0,s0=Ce[Le(1736)].y||0,L0=Ce[Le(1736)][Le(831)]||0,y0=Ce[Le(1736)][Le(469)]||0,J0=Ue+L0/2,_0=s0+y0/2;return J0>=F&&J0<=fe&&_0>=ye&&_0<=ge}).map(Ce=>Ce.id);H(Be),K({start:null,end:null})}},oe=J=>{const F=_0x5299;if(!Zs(J[F(1470)])){if(J[F(1098)]===F(778)&&g===F(1774)&&(I({start:null,end:null,isDrawing:!1}),O()),J[F(1098)]===F(691)&&(d?P(d):V.length>0&&(V[F(1753)](fe=>P(fe)),H([]))),J[F(1877)]&&J[F(1098)]==="z"&&(J[F(1502)](),T()),J[F(1877)]&&J.key==="y"&&(J[F(1502)](),U()),(g===F(667)||g===F(811))&&(J[F(1098)]===F(829)||J[F(1098)]===F(1030)||J.key===F(907)||J[F(1098)]===F(697))){const fe=V[F(707)]>0?V:d?[d]:[];if(fe[F(707)]>0){J.preventDefault();const ye=J[F(1098)]==="ArrowLeft"?-2:J[F(1098)]===F(1030)?2:0,ge=J[F(1098)]===F(907)?-2:J[F(1098)]===F(697)?2:0;fe[F(1753)](Be=>{const Ce=F,Le=s[Ce(1043)](Ue=>Ue.id===Be);Le&&C(Be,{normalStyle:{...Le[Ce(1736)],x:(Le[Ce(1736)].x||0)+ye,y:(Le[Ce(1736)].y||0)+ge}})})}}J.key===" "&&!Re&&(J[F(1502)](),W0(!0))}},de=J=>{J[_0x5299(1098)]===" "&&Re&&W0(!1)};return window[j(1254)]("mousemove",q),window.addEventListener("mouseup",ee),window[j(1254)]("keydown",oe),window[j(1254)](j(2171),de),()=>{const J=j;window[J(963)](J(531),q),window[J(963)](J(1851),ee),window[J(963)](J(1001),oe),window[J(963)](J(2171),de)}},[d,k,g,ae[o(2240)],V,s,h[o(831)],h[o(469)],P,T,Re,U,O,je,X0,H,C]);const ex=(j,q=!0)=>{const ee=o,oe={...j,id:ve.nanoid(),name:j[ee(599)]+ee(2121),normalStyle:{...j[ee(1736)],x:(j[ee(1736)].x||0)+(q?20:0),y:(j.normalStyle.y||0)+(q?20:0)}};return j[ee(1244)]===ee(1295)&&j[ee(584)]&&(oe[ee(584)]=j[ee(584)][ee(1577)](de=>ex(de,!1))),oe},nx=N[o(1567)](()=>{const j=o,q=V[j(707)]>0?V.map(oe=>s[j(1043)](de=>de.id===oe))[j(1304)](Boolean):d?[s[j(1043)](oe=>oe.id===d)][j(1304)](Boolean):[];if(q[j(707)]===0)return;const ee=[];q.forEach(oe=>{const de=ex(oe);w(de),ee.push(de.id)}),ee[j(707)]===1?y(ee[0]):H(ee)},[d,V,s,w,y,H]),tx=N[o(1567)](()=>{const j=o;if(V.length<2)return;const q=[];for(let ye=0;ye<V[j(707)];ye++){const ge=V[ye],Be=s.find(Ce=>Ce.id===ge);if(Be){if(Be?.[j(1244)]===j(1295)){Be[j(584)][j(1753)](Le=>q[j(1181)]({...Le,normalStyle:{...Le[j(1736)],x:(Be[j(1736)].x||0)+(Le[j(1736)].x||0),y:(Be.normalStyle.y||0)+(Le[j(1736)].y||0)}})),P(ge);continue}q[j(1181)](Be)}}if(q[j(707)]<2)return;let ee=1/0,oe=1/0,de=-1/0,J=-1/0;q.forEach(ye=>{const ge=j,Be=ye[ge(1736)].x||0,Ce=ye[ge(1736)].y||0,Le=ye[ge(1736)][ge(831)]||0,Ue=ye[ge(1736)].height||0;ee=Math.min(ee,Be),oe=Math[ge(487)](oe,Ce),de=Math[ge(2014)](de,Be+Le),J=Math[ge(2014)](J,Ce+Ue)});const F=q.map(ye=>({...ye,normalStyle:{...ye[j(1736)],x:(ye[j(1736)].x||0)-ee,y:(ye[j(1736)].y||0)-oe}})),fe={id:ve[j(1143)](),name:j(1398)+Date[j(1891)](),type:j(1295),normalStyle:{x:ee,y:oe,width:de-ee,height:J-oe,background:j(1330)},contentInfo:{statusList:[],currentStatusId:void 0},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0},children:F};V[j(1753)](ye=>P(ye)),w(fe),H([]),y(fe.id)},[V,s,P,w,y]),xx=j=>{const q=o,ee={...j,id:ve[q(1143)]()};return j.type===q(1295)&&j[q(584)]&&(ee[q(584)]=j.children.map(oe=>xx(oe))),ee},ox=N.useCallback(()=>{const j=o,q=V.length>0?V[j(1577)](ee=>s[j(1043)](oe=>oe.id===ee))[j(1304)](ee=>!!ee&&ee[j(1244)]===j(1295)):d?[s[j(1043)](ee=>ee.id===d)][j(1304)](ee=>!!ee&&ee[j(1244)]===j(1295)):[];q[j(707)]!==0&&(q[j(1753)](ee=>{const oe=j;if(!ee[oe(584)]||ee.children[oe(707)]===0)return;const de=ee.children[oe(1577)](J=>{const F=oe,fe=xx(J);return{...fe,normalStyle:{...fe[F(1736)],x:(ee.normalStyle.x||0)+(fe.normalStyle.x||0),y:(ee.normalStyle.y||0)+(fe[F(1736)].y||0)}}});P(ee.id),de[oe(1753)](J=>w(J))}),H([]),y(null))},[d,V,s,P,w,y,H]),_n=N[o(1567)](j=>{const q=o;if(V[q(707)]<2)return;const ee=V[q(1577)](ge=>s[q(1043)](Be=>Be.id===ge)).filter(ge=>!!ge&&ge[q(1244)]!==q(1295));if(ee[q(707)]<2)return;let oe=1/0,de=-1/0,J=1/0,F=-1/0;ee[q(1753)](ge=>{const Be=q,Ce=ge[Be(1736)].x||0,Le=ge[Be(1736)].y||0;oe=Math[Be(487)](oe,Ce),de=Math[Be(2014)](de,Ce),J=Math[Be(487)](J,Le),F=Math.max(F,Le)});const fe=[...ee].sort((ge,Be)=>{const Ce=q;return j===Ce(1813)?(ge.normalStyle.x||0)-(Be[Ce(1736)].x||0):(ge[Ce(1736)].y||0)-(Be[Ce(1736)].y||0)}),ye=fe.length;if(j===q(1813)){const ge=de-oe,Be=ge/(ye-1);fe.forEach((Ce,Le)=>{const Ue=oe+Be*Le;C(Ce.id,{normalStyle:{...Ce.normalStyle,x:Ue}})})}else{const ge=F-J,Be=ge/(ye-1);fe[q(1753)]((Ce,Le)=>{const Ue=q,s0=J+Be*Le;C(Ce.id,{normalStyle:{...Ce[Ue(1736)],y:s0}})})}},[V,s,C]),Z0=j=>{const q=o,ee=j.contentInfo[q(617)][q(1043)](oe=>oe.material.type===q(850));return ee?ee.material[q(705)]:null},R0=N[o(1567)](j=>{const q=o;if(V[q(707)]<2)return;const ee=Ye.getState(),oe=V.map(J=>s.find(F=>F.id===J))[q(1304)](J=>!!J);if(oe.length<2)return;let de=0;switch(j){case"left":de=Math[q(487)](...oe[q(1577)](J=>{const F=q,fe=Z0(J);return fe?(J[F(1736)].x||0)+(fe[F(1445)]||0):J[F(1736)].x||0}));break;case q(2223):de=Math.max(...oe[q(1577)](J=>{const F=q,fe=Z0(J);return fe?(J[F(1736)].x||0)+(fe[F(1977)]||0):(J[F(1736)].x||0)+(J[F(1736)][F(831)]||0)}));break;case"top":de=Math[q(487)](...oe[q(1577)](J=>{const F=q,fe=Z0(J);return fe?(J[F(1736)].y||0)+(fe[F(511)]||0):J[F(1736)].y||0}));break;case q(815):de=Math[q(2014)](...oe[q(1577)](J=>{const F=q,fe=Z0(J);return fe?(J.normalStyle.y||0)+(fe.endY||0):(J[F(1736)].y||0)+(J[F(1736)][F(469)]||0)}));break}oe.forEach(J=>{const F=q;let fe=J[F(1736)].x||0,ye=J[F(1736)].y||0;const ge=Z0(J);switch(j){case"left":ge?fe=de-(ge[F(1445)]||0):fe=de;break;case"right":ge?fe=de-(ge[F(1977)]||0):fe=de-(J.normalStyle[F(831)]||0);break;case F(2043):ge?ye=de-(ge[F(511)]||0):ye=de;break;case"bottom":ge?ye=de-(ge[F(1582)]||0):ye=de-(J.normalStyle[F(469)]||0);break}ee[F(2019)](J.id,{normalStyle:{...J[F(1736)],x:fe,y:ye}})})},[V,s]),zo=[{icon:l[o(1403)](le[o(847)],{}),title:o(1290),active:g===o(667),onClick:()=>{Q("select")}},{icon:l[o(1403)](le[o(887)],{}),title:o(751),active:g===o(811),onClick:()=>{Q(o(811)),H([])}},{icon:l[o(1403)](le[o(2087)],{}),title:"拖拽模式",active:g==="drag",onClick:()=>{Q(o(1759))}},{icon:l[o(1403)](le.EditOutlined,{}),title:"线条绘制",active:g==="line-draw",onClick:()=>{Q(o(1774))}},{icon:l[o(1403)](le[o(1427)],{}),title:o(1796),active:g===o(834),onClick:()=>{Q(o(834))}}],wn=N.useCallback(()=>V[o(707)]>0?V:d?[d]:[],[V,d]),Qn=N[o(1567)](()=>{const j=o,q=wn();if(q[j(707)]===0)return;s[j(1304)](oe=>q[j(1405)](oe.id))[j(1577)](oe=>oe.id)[j(1753)](oe=>Y(oe))},[wn,s,Y]),Fn=N[o(1567)](()=>{const j=o,q=wn();if(q[j(707)]===0)return;[...s[j(1304)](oe=>q[j(1405)](oe.id)).map(oe=>oe.id)][j(1141)]()[j(1753)](oe=>G(oe))},[wn,s,G]),rx=N[o(677)](()=>[{icon:l[o(1403)](le[o(473)],{}),title:o(450),onClick:T},{icon:l.jsx(le[o(1366)],{}),title:o(1692),onClick:U},{icon:l[o(1403)](le[o(465)],{}),title:o(1084),disabled:!d&&V.length===0,onClick:Qn},{icon:l[o(1403)](le[o(1747)],{}),title:o(742),disabled:!d&&V[o(707)]===0,onClick:Fn},{icon:l.jsx(le[o(655)],{}),title:o(827),disabled:!d&&V[o(707)]===0,onClick:nx},{icon:l[o(1403)](le.GroupOutlined,{}),title:o(2117),disabled:V[o(707)]<2,onClick:tx},{icon:l[o(1403)](le.UngroupOutlined,{}),title:o(560),disabled:!d&&V[o(707)]===0,onClick:ox},{icon:l.jsx(le[o(555)],{}),title:o(445),disabled:V[o(707)]<2,onClick:()=>R0(o(1446))},{icon:l.jsx(le[o(1970)],{}),title:o(1773),disabled:V[o(707)]<2,onClick:()=>R0(o(2223))},{icon:l[o(1403)](le[o(2222)],{}),title:o(2057),disabled:V.length<2,onClick:()=>R0("top")},{icon:l.jsx(le[o(1036)],{}),title:o(658),disabled:V[o(707)]<2,onClick:()=>R0(o(815))},{icon:l[o(1403)](le[o(1303)],{}),title:o(1358),disabled:V[o(707)]<2,onClick:()=>_n(o(1813))},{icon:l[o(1403)](le[o(2120)],{}),title:"垂直分布",disabled:V[o(707)]<2,onClick:()=>_n("vertical")},{icon:l[o(1403)](le[o(1802)],{}),title:"画布配置",onClick:()=>Ie(!0)},{icon:l.jsx(le[o(1959)],{}),title:"数据模拟",type:o(780),onClick:Ge},{icon:l.jsx(le.DeleteOutlined,{}),title:o(1598),disabled:!d&&V[o(707)]===0,onClick:()=>{const j=o;d?P(d):V[j(707)]>0&&(V[j(1753)](q=>P(q)),H([]))}}],[T,U,g,Q,H,V,tx,ox,nx,R0,_n,Qn,Fn,Ie,be,Ge,d,P,p[o(1739)]]),[Co,ix]=N[o(646)](!1),[ax,$n]=N.useState(""),[cx,et]=N.useState(null);return l.jsxs("div",{className:o(1232),children:[!e&&l[o(1900)](o(1467),{className:o(1830),children:[l[o(1900)](z[o(1073)],{children:[zo[o(1577)](j=>l[o(1403)](z[o(1890)],{title:j[o(1301)],children:l.jsx(z[o(1475)],{type:j.active?o(780):o(2064),icon:j[o(2179)],onClick:j.onClick})},j.title)),l[o(1403)](o(1467),{className:o(453)}),l.jsx(z[o(529)],{value:p[o(1739)],onChange:D,style:{width:140},dropdownRender:j=>l[o(1900)](l[o(2082)],{children:[j,l[o(1403)](o(1467),{className:o(2074),children:l[o(1403)](z[o(1475)],{type:o(1047),size:o(1079),block:!0,onClick:()=>ix(!0),children:o(904)})})]}),children:p[o(1273)].map(j=>l[o(1403)](z[o(529)][o(570)],{value:j.id,children:j.name},j.id))}),l[o(1403)](z[o(1475)],{icon:l.jsx(le[o(1373)],{}),size:o(1079),onClick:()=>L(),title:o(2232)}),l.jsx(z[o(1890)],{title:o(1187),children:l[o(1403)](z[o(1475)],{icon:l[o(1403)](le[o(1218)],{}),size:o(1079),onClick:H0})}),l[o(1403)](z[o(1890)],{title:"导入画布",children:l[o(1403)](z[o(1475)],{icon:l[o(1403)](le[o(472)],{}),size:o(1079),onClick:()=>r0(!0)})})]}),l[o(1403)](z[o(1073)],{children:rx[o(1577)](j=>l[o(1403)](z[o(1890)],{title:j[o(1301)],children:l[o(1403)](z[o(1475)],{type:j[o(1807)]?"primary":j[o(1244)]||o(2064),icon:j.icon,onClick:j[o(2144)],disabled:j[o(689)]})},j[o(1301)]))})]}),l.jsx("div",{ref:u,className:"flex-1 relative",style:e&&x?{display:o(666),justifyContent:o(1641),alignItems:"center"}:void 0,children:l[o(1403)](tt[o(1735)],{ref:i,initialScale:se,initialPositionX:0,initialPositionY:0,minScale:e&&x?Math[o(487)](x/h[o(831)],1):.5,maxScale:e&&x?1:5,onTransformed:K0,limitToBounds:e&&!!x,centerZoomedOut:!1,panning:{disabled:!Re&&g!=="drag",velocityDisabled:!0},wheel:{step:.1},pinch:{disabled:!1},doubleClick:{disabled:!0},children:({zoomIn:j,zoomOut:q,resetTransform:ee})=>l[o(1900)](l[o(2082)],{children:[!e&&l[o(1403)](o(1467),{className:"absolute bottom-4 right-4 z-10 bg-white rounded-lg shadow-lg p-2",children:l[o(1900)](z[o(1073)],{direction:"vertical",children:[l[o(1403)](z[o(1890)],{title:"放大",children:l[o(1403)](z[o(1475)],{icon:l.jsx(le.ZoomInOutlined,{}),onClick:()=>j()})}),l[o(1403)](z[o(1890)],{title:"缩小",children:l[o(1403)](z.Button,{icon:l[o(1403)](le[o(575)],{}),onClick:()=>q()})}),l[o(1403)](z[o(1890)],{title:o(886),children:l.jsx(z[o(1475)],{onClick:()=>ee(),children:o(924)})}),l[o(1900)](o(1467),{className:o(1494),children:[Math[o(1910)](v.scale*100),"%"]})]})}),l.jsx(tt[o(1721)],{wrapperStyle:e&&x?{width:x,height:r||"100%",position:o(1204),overflow:"hidden"}:{width:o(924),height:"100%",position:"relative",overflow:o(e?1428:457)},contentStyle:{width:e?h[o(831)]+"px":o(924),height:e?h[o(469)]+"px":o(924),display:o(666),alignItems:e?"flex-start":o(1641),justifyContent:e?"flex-start":o(1641)},children:l[o(1900)](o(1467),{ref:a,"data-canvas":o(1987),className:o(848)+(_?o(748):"")+" "+(g===o(1774)?"cursor-crosshair":"")+" "+(Re?o(1541):""),style:{width:h.width,height:h[o(469)],flexShrink:0,backgroundColor:h[o(1342)],backgroundImage:h[o(1714)]?o(2018)+h[o(1714)]+")":void 0,backgroundSize:o(1537),backgroundPosition:o(1641)},onClick:D0,onMouseDown:mn,onDoubleClick:yo,onDragOver:mo,onDragLeave:wo,onDrop:vo,children:[t&&!e&&l[o(1900)](o(1467),{className:"absolute top-0 left-0 pointer-events-none overflow-hidden",style:{width:h[o(831)],height:h.height},children:[l[o(1403)]("img",{src:t,alt:"",className:"absolute top-0 left-0 select-none",draggable:!1}),l.jsx(o(1235),{className:o(1360),width:1920,height:1080,children:l[o(1403)](o(1294),{x:"0",y:"0",width:o(954),height:o(1456),fill:o(928),stroke:"yellow",strokeWidth:"2"})})]}),h[o(1580)]!==!1&&l[o(1900)](o(1235),{className:"absolute top-0 left-0 pointer-events-none",width:h.width,height:h[o(469)],children:[l[o(1403)](o(1886),{children:l.jsx(o(860),{id:"grid",width:"20",height:"20",patternUnits:o(1583),children:l[o(1403)](o(2065),{d:"M 20 0 L 0 0 0 20",fill:o(928),stroke:"#f0f0f0",opacity:o(1960),strokeWidth:"1"})})}),l[o(1403)](o(1294),{width:o(924),height:o(924),fill:o(2093)})]}),s[o(1577)](oe=>l[o(1403)](Cx,{node:oe,isSelected:g===o(834)?!1:d===oe.id||V[o(1405)](oe.id),data:De,onClick:g===o(834)?void 0:de=>{const J=o;console[J(615)]("Node onClick:",oe.id,J(929),te[J(2089)]),te[J(2089)]!==J(1774)&&(de[J(562)]?(y(oe.id),H([...V,oe.id])):(y(oe.id),H([oe.id])))},onMouseDown:g===o(834)?void 0:de=>po(de,oe),onUpdateNode:g===o(834)?void 0:(de,J)=>C(de,J),scale:v[o(1113)],enableEventFlow:g==="preview",eventFlowData:Oe},""+oe.id)),g==="line-draw"&&ae[o(2240)]&&ae.start&&ae.end&&l[o(1403)](o(1235),{className:o(1360),width:h[o(831)],height:h[o(469)],children:l[o(1403)](o(1565),{x1:ae.start.x,y1:ae[o(1939)].y,x2:ae[o(1149)].x,y2:ae.end.y,stroke:o(1329),strokeWidth:"2",strokeDasharray:o(1381),strokeLinecap:o(1910),strokeLinejoin:o(1910)})}),g==="box-select"&&k[o(1939)]&&k[o(1149)]&&l.jsx("div",{className:"absolute border-2 border-blue-500 bg-blue-500/10 pointer-events-none",style:{left:Math[o(487)](k.start.x,k[o(1149)].x),top:Math[o(487)](k[o(1939)].y,k[o(1149)].y),width:Math[o(2106)](k[o(1149)].x-k[o(1939)].x),height:Math.abs(k[o(1149)].y-k.start.y),zIndex:9999}})]})})]})})}),l.jsx(z[o(1916)],{title:o(621),open:ie,onCancel:()=>be(!1),footer:null,children:l[o(1403)](z[o(1002)],{layout:"vertical",children:l[o(1403)](z[o(1002)][o(1192)],{label:o(1458),children:l.jsx(Ks,{value:we,onChange:j=>{const q=o;he(!0),Ne(j[q(1470)][q(1443)])},rows:10,placeholder:o(642)})})})}),l[o(1403)](z[o(1916)],{title:o(1918),open:Ke,onCancel:()=>Ie(!1),footer:null,children:l[o(1900)](z.Form,{layout:o(1309),children:[l[o(1403)](z[o(1002)][o(1192)],{label:"宽度",children:l.jsx(z.InputNumber,{value:h.width,onChange:j=>m({width:j||1920}),min:100,max:5e3,style:{width:o(924)}})}),l[o(1403)](z[o(1002)][o(1192)],{label:"高度",children:l[o(1403)](z[o(1770)],{value:h[o(469)],onChange:j=>m({height:j||1080}),min:100,max:5e3,style:{width:"100%"}})}),l.jsx(z[o(1002)][o(1192)],{label:o(582),children:l[o(1403)](z[o(1449)],{checked:h[o(1580)]!==!1,onChange:j=>m({showGrid:j})})}),l[o(1403)](z[o(1002)][o(1192)],{label:o(1407),children:l.jsxs(o(1467),{className:o(949),children:[l[o(1403)](xn,{value:h[o(1342)]||o(1750),onChange:j=>m({background:j[o(1488)]()})}),l[o(1403)](z[o(1693)],{value:h[o(1342)],onChange:j=>m({background:j.target[o(1443)]}),placeholder:o(2028)})]})}),l[o(1900)](z[o(1002)][o(1192)],{label:o(2149),children:[l[o(1900)](o(1467),{className:o(949),children:[l[o(1403)](z.Upload,{accept:"image/*",showUploadList:!1,beforeUpload:j=>{const q=o;if(!j[q(1244)][q(1996)]("image/"))return z[q(1114)][q(1531)]("只能上传图片文件!"),!1;const oe=new FileReader;return oe[q(1172)]=de=>{const J=q,F=de[J(1470)]?.[J(661)];m({backgroundImage:F}),z[J(1114)][J(681)](J(1338))},oe[q(1875)](j),!1},children:l[o(1403)](z[o(1475)],{icon:l[o(1403)](le.UploadOutlined,{}),children:"上传图片"})}),l.jsx(z[o(1693)],{value:h[o(1714)],onChange:j=>m({backgroundImage:j[o(1470)][o(1443)]}),placeholder:o(2212),style:{flex:1}}),h.backgroundImage&&l[o(1403)](z[o(1475)],{icon:l[o(1403)](le[o(885)],{}),onClick:()=>m({backgroundImage:void 0}),danger:!0,size:o(1079)})]}),h[o(1714)]&&l.jsx("div",{className:o(1519),style:{maxWidth:o(924)},children:l.jsx("img",{src:h[o(1714)],alt:o(1784),style:{maxWidth:o(924),maxHeight:120,objectFit:o(1760)}})})]})]})}),l[o(1900)](z.Modal,{title:"画布管理",open:Co,onCancel:()=>{ix(!1),et(null),$n("")},footer:null,children:[l[o(1403)](z.List,{dataSource:p[o(1273)],renderItem:j=>l.jsx(z[o(964)][o(1192)],{actions:[cx===j.id?l.jsx(z[o(1475)],{type:"primary",size:"small",onClick:()=>{E(j.id,ax),et(null)},children:"保存"}):l.jsx(z[o(1475)],{type:"text",icon:l.jsx(le[o(577)],{}),size:"small",onClick:()=>{et(j.id),$n(j.name)}}),p[o(1273)][o(707)]>1&&l[o(1403)](z[o(1475)],{type:o(1100),danger:!0,icon:l[o(1403)](le[o(1065)],{}),size:"small",onClick:()=>B(j.id)})][o(1304)](Boolean),children:cx===j.id?l[o(1403)](z[o(1693)],{value:ax,onChange:q=>$n(q[o(1470)][o(1443)]),size:"small",style:{width:200}}):l[o(1900)](o(983),{style:{fontWeight:p[o(1739)]===j.id?o(1492):o(1889)},children:[j[o(599)]," ",p[o(1739)]===j.id&&o(1416)]})})}),l.jsx("div",{className:o(1686),children:l.jsx(z[o(1475)],{type:o(780),icon:l[o(1403)](le[o(1373)],{}),onClick:()=>L(),children:o(2232)})})]}),l[o(1403)](z.Modal,{title:"导入画布",open:Ze,onOk:T0,onCancel:()=>{r0(!1),B0(""),a0(!1)},width:600,children:l[o(1900)](o(1467),{className:o(1486),children:[l[o(1900)](o(1467),{children:[l.jsx("p",{className:o(1530),children:o(1561)}),l[o(1403)](o(1658),{type:"file",accept:o(670),onChange:j=>{const q=o,ee=j[q(1470)][q(2046)]?.[0];ee&&q0(ee)},className:o(2225)})]}),l[o(1403)](o(1467),{className:o(687),children:"或"}),l.jsxs("div",{children:[l[o(1403)]("p",{className:"mb-2",children:o(2008)}),l[o(1403)](o(1310),{value:V0,onChange:j=>B0(j.target.value),placeholder:o(1025),className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]}),l[o(1900)](o(1467),{className:o(949),children:[l[o(1403)](o(1658),{type:"checkbox",id:"importAsNewCanvas",checked:i0,onChange:j=>a0(j[o(1470)].checked),className:o(730)}),l[o(1403)](o(854),{htmlFor:"importAsNewCanvas",className:"text-sm text-gray-700",children:o(1843)})]})]})})]})},{Option:ut}=z[c(529)];function wr(n){return Array[c(611)](n)}function Rs(n){const e=c,t=new Set;return n[e(1753)](x=>Object.keys(x)[e(1753)](r=>t[e(690)](r))),Array[e(897)](t)}function Js(n,e){const t=c;return n[t(1577)]((x,r)=>{const o=t,i=x[e],a=x.name;return{label:String(a??"项 "+(r+1)),value:typeof i===o(1857)||typeof i===o(2134)?i:String(i)}})}function vr(n,e=""){const t=c,x=[];for(const[r,o]of Object.entries(n)){const i=e?e+"."+r:r;o!==null&&typeof o=="object"&&!Array.isArray(o)?x[t(1181)](...vr(o,i)):x.push({paramsCode:i,paramsName:i,value:o})}return x}function _s(n,e,t){const x=c;if(wr(n)){if(e!=null&&t!=null){const r=n[x(1043)](o=>o[e]===t);if(r)return r}return{}}return n}const Qs=({material:n,onSave:e})=>{const t=c,x=n,r=x[t(1584)]||{},o=Ye(w=>w[t(870)]),[i,a]=N[t(646)]({label:r.label||"",value:r[t(1443)]||"",valueSourceCode:r[t(1823)]||"",unit:r[t(1781)]||"",decimals:r[t(1777)]??2,labelFontSize:r[t(1345)]?.[t(1879)]||14,labelFontWeight:r[t(1345)]?.[t(2024)]||"bold",labelColor:r[t(1345)]?.[t(1896)]||t(1197),valueFontSize:r[t(710)]?.[t(1879)]||14,valueFontWeight:r[t(710)]?.[t(2024)]||t(1889),valueColor:r.valueStyle?.color||t(1329),boundDatasetId:r.boundDatasetId||"",boundDatasetBindCode:r[t(455)]||"",boundDatasetBindValue:r[t(1549)]??null}),u=N[t(677)](()=>{const w=t;return o[w(1043)](y=>y.id===i[w(1610)])},[o,i[t(1610)]]),s=u?wr(u[t(506)]):!1,d=N[t(677)](()=>{const w=t;if(!u)return[];const y=_s(u.sample,i[w(455)],i[w(1549)]);return vr(y)},[u,i[t(455)],i[t(1549)]]);N[t(1849)](()=>{const w=t;a({label:r[w(854)]||"",value:r[w(1443)]||"",valueSourceCode:r[w(1823)]||"",unit:r[w(1781)]||"",decimals:r[w(1777)]??2,labelFontSize:r[w(1345)]?.[w(1879)]||14,labelFontWeight:r[w(1345)]?.fontWeight||w(1492),labelColor:r[w(1345)]?.color||w(1197),valueFontSize:r[w(710)]?.[w(1879)]||14,valueFontWeight:r[w(710)]?.[w(2024)]||w(1889),valueColor:r[w(710)]?.[w(1896)]||w(1329),boundDatasetId:r[w(1610)]||"",boundDatasetBindCode:r[w(455)]||"",boundDatasetBindValue:r[w(1549)]??null})},[n.id]);const f=(w,y)=>{a(C=>({...C,[w]:y}))},g=w=>{a(y=>({...y,boundDatasetId:w,boundDatasetBindCode:"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{e({content:{...r,boundDatasetId:w||void 0,boundDatasetBindCode:void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},b=w=>{a(y=>({...y,boundDatasetBindCode:w||"",boundDatasetBindValue:null,valueSourceCode:""})),setTimeout(()=>{e({content:{...r,boundDatasetBindCode:w||void 0,boundDatasetBindValue:void 0,valueSourceCode:void 0}})},0)},v=w=>{a(y=>({...y,boundDatasetBindValue:w??null,valueSourceCode:""})),setTimeout(()=>{e({content:{...r,boundDatasetBindValue:w??void 0,valueSourceCode:void 0}})},0)},h=w=>{const y=t,C=d[y(1043)](Y=>Y[y(938)]===w),P=C?.[y(1781)]||"";a(Y=>({...Y,valueSourceCode:w,unit:P,value:String(C?.[y(1443)]||"")})),setTimeout(()=>{e({content:{...r,valueSourceCode:w,value:String(C?.[y(1443)]||""),unit:P}})},0)},p=()=>{const w=t;e({content:{...r,label:i[w(854)],value:i[w(1443)],valueSourceCode:i.valueSourceCode,unit:i.unit,decimals:i.decimals,boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i[w(1549)]??void 0,labelStyle:{fontSize:i[w(1547)],fontWeight:i[w(585)],color:i[w(1188)]},valueStyle:{fontSize:i[w(2219)],fontWeight:i[w(1776)],color:i[w(1123)]}}})},M=u&&s?Rs(u.sample):[],m=u&&s&&i[t(455)]?Js(u[t(506)],i[t(455)]):[];return l[t(1900)](t(1467),{className:t(1486),children:[l[t(1403)](z[t(974)],{style:{marginTop:0},children:t(1892)}),l[t(1900)](z[t(1002)],{layout:t(1309),children:[l[t(1403)](z[t(1002)][t(1192)],{label:t(1306),children:l[t(1403)](z[t(1693)],{value:i[t(854)],onChange:w=>f(t(854),w.target.value),onBlur:p,placeholder:"输入标签文本"})}),l[t(1403)](z[t(1002)][t(1192)],{label:"绑定数据集",help:t(761),children:l[t(1403)](z[t(529)],{allowClear:!0,placeholder:o[t(707)]===0?"暂无数据集":t(1575),value:i[t(1610)]||void 0,onChange:g,style:{width:t(924)},options:o.map(w=>({label:w.name,value:w.id}))})}),u&&s&&l[t(1900)](l.Fragment,{children:[l[t(1403)](z.Form[t(1192)],{label:t(2196),help:t(1205),children:l.jsx(z[t(529)],{allowClear:!0,placeholder:"选择绑定字段",value:i[t(455)]||void 0,onChange:b,style:{width:t(924)},options:M.map(w=>({label:w,value:w}))})}),i[t(455)]&&l[t(1403)](z.Form[t(1192)],{label:t(1055),help:t(917),children:l[t(1403)](z[t(529)],{allowClear:!0,placeholder:t(1558),value:i[t(1549)]??void 0,onChange:v,style:{width:t(924)},options:m})})]}),l.jsx(z[t(1002)][t(1192)],{label:t(1542),help:t(u?1248:769),children:l[t(1403)](z[t(529)],{value:i.valueSourceCode||void 0,onChange:h,placeholder:u?t(2013):"请先绑定数据集",allowClear:!0,disabled:!u,style:{width:t(924)},options:d.map(w=>({value:w[t(938)],label:w.paramsName}))})}),l[t(1403)](z.Form.Item,{label:i[t(1823)]?t(1840):"值文本",help:i.valueSourceCode?t(1209):"手动输入显示的值",children:l[t(1403)](z[t(1693)],{value:i[t(1443)],onChange:w=>f(t(1443),w[t(1470)].value),onBlur:p,placeholder:i.valueSourceCode?t(1546):t(466),disabled:!!i[t(1823)],variant:i[t(1823)]?"filled":void 0})}),l[t(1403)](z[t(1002)][t(1192)],{label:"单位",help:t(1500),children:l[t(1403)](z[t(1693)],{value:i.unit,onChange:w=>f(t(1781),w[t(1470)][t(1443)]),onBlur:p,placeholder:t(1509),suffix:i.valueSourceCode&&d[t(707)]>0?l.jsx(z[t(1885)],{color:t(1296),style:{marginRight:-8},children:"自动"}):null})}),l[t(1403)](z[t(1002)][t(1192)],{label:"保留小数位",help:t(1283),children:l[t(1403)](z[t(1770)],{value:i[t(1777)],onChange:w=>f("decimals",w??2),onBlur:p,min:-1,max:10,style:{width:t(924)}})})]}),l.jsx(z[t(974)],{children:t(1289)}),l[t(1900)](z[t(1002)],{layout:t(1309),children:[l[t(1900)](z[t(1073)],{children:[l[t(1403)](z.Form.Item,{label:"字体大小",children:l[t(1403)](z[t(1770)],{value:i[t(1547)],onChange:w=>f("labelFontSize",w||14),onBlur:p,min:8,max:72})}),l[t(1403)](z[t(1002)][t(1192)],{label:"字体粗细",children:l[t(1900)](z[t(529)],{value:i[t(585)],onChange:w=>{f(t(585),w),setTimeout(p,0)},style:{width:100},children:[l[t(1403)](ut,{value:t(1889),children:"正常"}),l[t(1403)](ut,{value:t(1492),children:"粗体"})]})})]}),l[t(1403)](z.Form.Item,{label:t(1161),children:l[t(1900)](t(1467),{className:t(949),children:[l[t(1403)](xn,{value:i[t(1188)]||"#262626",onChange:w=>{const y=t;f(y(1188),w[y(1488)]())},onChangeComplete:w=>{const y=t;e({content:{...r,label:i.label,value:i[y(1443)],valueSourceCode:i[y(1823)],unit:i.unit,decimals:i[y(1777)],boundDatasetId:i.boundDatasetId||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i.boundDatasetBindValue??void 0,labelStyle:{fontSize:i[y(1547)],fontWeight:i[y(585)],color:w.toHexString()},valueStyle:{fontSize:i[y(2219)],fontWeight:i[y(1776)],color:i[y(1123)]}}})}}),l[t(1403)](z[t(1693)],{value:i[t(1188)],onChange:w=>f(t(1188),w[t(1470)][t(1443)]),onBlur:p,placeholder:t(1197),style:{width:100}})]})})]}),l[t(1403)](z[t(974)],{children:t(1636)}),l[t(1900)](z.Form,{layout:t(1309),children:[l.jsxs(z.Space,{children:[l[t(1403)](z.Form.Item,{label:t(1022),children:l[t(1403)](z[t(1770)],{value:i[t(2219)],onChange:w=>f(t(2219),w||14),onBlur:p,min:8,max:72})}),l[t(1403)](z[t(1002)][t(1192)],{label:t(1754),children:l[t(1900)](z[t(529)],{value:i[t(1776)],onChange:w=>{f(t(1776),w),setTimeout(p,0)},style:{width:100},children:[l[t(1403)](ut,{value:"normal",children:"正常"}),l.jsx(ut,{value:t(1492),children:"粗体"})]})})]}),l[t(1403)](z[t(1002)][t(1192)],{label:t(1161),children:l[t(1900)](t(1467),{className:t(949),children:[l[t(1403)](xn,{value:i[t(1123)]||t(1329),onChange:w=>{const y=t;f(y(1123),w[y(1488)]())},onChangeComplete:w=>{const y=t;e({content:{...r,label:i[y(854)],value:i[y(1443)],valueSourceCode:i[y(1823)],unit:i[y(1781)],decimals:i[y(1777)],boundDatasetId:i[y(1610)]||void 0,boundDatasetBindCode:i.boundDatasetBindCode||void 0,boundDatasetBindValue:i[y(1549)]??void 0,labelStyle:{fontSize:i[y(1547)],fontWeight:i[y(585)],color:i[y(1188)]},valueStyle:{fontSize:i[y(2219)],fontWeight:i[y(1776)],color:w[y(1488)]()}}})}}),l.jsx(z[t(1693)],{value:i.valueColor,onChange:w=>f(t(1123),w[t(1470)].value),onBlur:p,placeholder:t(1329),style:{width:100}})]})})]})]})},Fs=({material:n,onSave:e})=>{const t=c,x=n,[r,o]=N.useState({name:n[t(599)],src:x[t(520)]||"",backgroundColor:x[t(1999)]||"",fillColor:x.fillColor||""});N.useEffect(()=>{o({name:n.name,src:x.src||"",backgroundColor:x.backgroundColor||"",fillColor:x.fillColor||""})},[n.id]);const i=(u,s)=>{o(d=>({...d,[u]:s}))},a=()=>{const u=t;e({name:r[u(599)],src:r[u(520)],backgroundColor:r[u(1999)]})};return l[t(1900)](t(1467),{className:t(1486),children:[l[t(1403)](z[t(974)],{style:{marginTop:0},children:t(1225)}),l.jsxs(z[t(1002)],{layout:t(1309),children:[l[t(1403)](z[t(1002)][t(1192)],{label:t(1093),children:l[t(1403)](z[t(1693)],{value:r[t(599)],onChange:u=>i(t(599),u[t(1470)].value),onBlur:a})}),l[t(1403)](z[t(1002)][t(1192)],{label:t(626),children:l[t(1403)](z[t(1693)][t(1233)],{value:r[t(520)],onChange:u=>i(t(520),u[t(1470)].value),onBlur:a,rows:4,placeholder:t(1887)})}),l.jsx(z[t(1002)].Item,{label:t(592),children:l.jsxs(t(1467),{className:t(949),children:[l[t(1403)](xn,{value:r[t(2205)]||"#1890ff",onChange:u=>{const s=t,d=u[s(1488)]();i(s(2205),d),e({name:r.name,src:r[s(520)],backgroundColor:r[s(1999)],fillColor:d})}}),l[t(1403)](z[t(1693)],{value:r[t(2205)],onChange:u=>i("fillColor",u[t(1470)][t(1443)]),onBlur:a,placeholder:t(1329)})]})}),l[t(1403)](z[t(1002)][t(1192)],{label:"背景颜色",children:l[t(1900)]("div",{className:t(949),children:[l[t(1403)](xn,{value:r[t(1999)]||t(1329),onChange:u=>{const s=t,d=u[s(1488)]();i(s(1999),d),e({name:r[s(599)],src:r[s(520)],backgroundColor:d,fillColor:r[s(2205)]})}}),l[t(1403)](z[t(1693)],{value:r[t(1999)],onChange:u=>i(t(1999),u[t(1470)][t(1443)]),onBlur:a,placeholder:"#1890ff"})]})})]})]})},{Option:$s}=z.Select,el=({material:n,onSave:e})=>{const t=c,x=n[t(705)]||{},[r,o]=N[t(646)]({lineWeight:x[t(872)]||x[t(1906)]||2,color:x[t(1896)]||"#262626",lineType:x.lineType||t(1690),startX:x[t(1445)]??0,startY:x[t(511)]??0,endX:x[t(1977)]??100,endY:x.endY??0}),i=JSON[t(609)]({sw:x[t(872)]??x[t(1906)],c:x[t(1896)],t:x.lineType,sx:x[t(1445)],sy:x[t(511)],ex:x[t(1977)],ey:x[t(1582)]});N[t(1849)](()=>{const s=t;o({lineWeight:x.lineWeight||x[s(1906)]||2,color:x[s(1896)]||s(1197),lineType:x[s(856)]||s(1690),startX:x[s(1445)]??0,startY:x[s(511)]??0,endX:x[s(1977)]??100,endY:x[s(1582)]??0})},[n.id,i]);const a=s=>{const d=t,f={...r,...s};o(f),e({config:{...x,thickness:f.lineWeight,lineWeight:f.lineWeight,color:f[d(1896)],lineType:f[d(856)],startX:f.startX,startY:f[d(511)],endX:f[d(1977)],endY:f[d(1582)]}})},u=[{value:t(1690),label:"实线",desc:t(1074)},{value:t(1950),label:"虚线",desc:t(1258)},{value:t(1641),label:"点画线(中心线)",desc:t(855)},{value:t(1447),label:t(737),desc:t(488)},{value:"dot",label:"点线",desc:t(916)},{value:t(2009),label:t(1348),desc:t(2185)}];return l[t(1900)](t(1467),{className:"space-y-4",children:[l.jsx(z[t(974)],{style:{marginTop:0},children:t(871)}),l[t(1900)](z[t(1002)],{layout:t(1309),children:[l.jsxs(t(1467),{className:t(920),children:[l[t(1403)](z[t(1002)][t(1192)],{label:t(2004),className:t(1530),children:l[t(1403)](z[t(1770)],{value:r[t(1445)],onChange:s=>a({startX:s??0}),style:{width:t(924)}})}),l[t(1403)](z.Form[t(1192)],{label:t(2059),className:t(1530),children:l[t(1403)](z[t(1770)],{value:r[t(511)],onChange:s=>a({startY:s??0}),style:{width:t(924)}})}),l[t(1403)](z[t(1002)][t(1192)],{label:t(1335),className:t(1530),children:l[t(1403)](z[t(1770)],{value:r[t(1977)],onChange:s=>a({endX:s??100}),style:{width:t(924)}})}),l[t(1403)](z[t(1002)][t(1192)],{label:t(1949),className:t(1530),children:l.jsx(z[t(1770)],{value:r[t(1582)],onChange:s=>a({endY:s??0}),style:{width:"100%"}})})]}),l[t(1403)](z.Form.Item,{label:t(1332),className:t(1817),children:l[t(1900)](z[t(1073)],{children:[l[t(1403)](z[t(1475)],{size:t(1079),onClick:()=>{const s=t,d=x[s(1445)]??r[s(1445)],f=x[s(511)]??r[s(511)],g=x[s(1977)]??r[s(1977)],b=x[s(1582)]??r[s(1582)],v=g-d,h=b-f,p=Math[s(1116)](v*v+h*h),M=v>=0?1:-1;a({endX:d+M*p,endY:f})},title:t(1917),children:"水平"}),l[t(1403)](z.Button,{size:t(1079),onClick:()=>{const s=t,d=x[s(1445)]??r[s(1445)],f=x.startY??r[s(511)],g=x[s(1977)]??r[s(1977)],b=x.endY??r[s(1582)],v=g-d,h=b-f,p=Math.sqrt(v*v+h*h),M=h>=0?1:-1;a({endX:d,endY:f+M*p})},title:t(1708),children:"垂直"}),l[t(1403)](z[t(1475)],{size:t(1079),onClick:()=>{const s=t,d=x[s(1445)]??r[s(1445)],f=x[s(511)]??r.startY,g=x.endX??r.endX,b=x[s(1582)]??r[s(1582)];a({startX:g,startY:b,endX:d,endY:f})},title:t(1179),children:"反向"})]})})]}),l.jsx(z[t(974)],{children:t(1083)}),l[t(1900)](z[t(1002)],{layout:t(1309),children:[l.jsx(z[t(1002)].Item,{label:"线型",help:t(1382),children:l.jsx(z[t(529)],{value:r[t(856)],onChange:s=>a({lineType:s}),children:u[t(1577)](s=>l.jsx($s,{value:s[t(1443)],children:l[t(1900)](t(1467),{className:t(1485),children:[l[t(1403)](t(983),{children:s[t(854)]}),l.jsx(t(983),{className:"text-xs text-gray-400",children:s.desc})]})},s[t(1443)]))})}),l[t(1403)](z[t(1002)][t(1192)],{label:t(2139),children:l[t(1403)](z[t(1770)],{value:r[t(872)],onChange:s=>a({lineWeight:s||2}),min:1,max:20,style:{width:120}})}),l[t(1403)](z[t(1002)][t(1192)],{label:"颜色",children:l[t(1900)](t(1467),{className:"flex items-center gap-2",children:[l.jsx(xn,{value:r[t(1896)]||t(1054),onChange:s=>a({color:s[t(1488)]()})}),l[t(1403)](z.Input,{value:r[t(1896)],onChange:s=>a({color:s[t(1470)].value}),placeholder:t(1054),style:{width:100}})]})})]})]})};function pr(n){return Array[c(611)](n)}function nl(n){const e=c,t=new Set;return n[e(1753)](x=>Object[e(864)](x)[e(1753)](r=>t[e(690)](r))),Array[e(897)](t)}function tl(n,e){const t=c;return n[t(1577)]((x,r)=>{const o=t,i=x[e],a=x[o(599)];return{label:String(a??"项 "+(r+1)),value:typeof i===o(1857)||typeof i===o(2134)?i:String(i)}})}function xl(n,e,t){const x=c;if(pr(n)){if(e!=null&&t!=null){const r=n[x(1043)](o=>o[e]===t);if(r)return r}return{}}return n}const zr=({status:n,onUpdate:e,onAppendToExpression:t})=>{const x=c,r=Ye(h=>h[x(870)]),o=r[x(1043)](h=>h.id===n[x(1610)]),i=o?pr(o[x(506)]):!1,a=o?xl(o[x(506)],n[x(455)],n.boundDatasetBindValue):{},u=Eo(a),s=h=>{const p=x,M=p(2199)+h;t?t(M):e({expression:""+(n[p(1173)]||"")+M})},d=h=>{e({boundDatasetId:h??null,boundDatasetBindCode:null,boundDatasetBindValue:null})},f=h=>{e({boundDatasetBindCode:h??null,boundDatasetBindValue:null})},g=h=>{e({boundDatasetBindValue:h??null})},b=o&&i?nl(o.sample):[],v=o&&i&&n.boundDatasetBindCode?tl(o[x(506)],n[x(455)]):[];return l.jsxs(l[x(2082)],{children:[l[x(1403)](z[x(1002)][x(1192)],{label:"绑定数据集",extra:r[x(707)]===0?"请先在顶部工具栏点击「数据池」添加至少一个数据集(JSON 对象模板);宿主项目也可通过 initialScheme.dataPool 或 useEditorStore.getState().setDataPool() 注入。":x(1878),children:l[x(1403)](z[x(529)],{allowClear:!0,placeholder:r[x(707)]===0?"暂无数据集,请打开「数据池」添加":"选择数据池中的数据集",value:n[x(1610)]??void 0,options:r[x(1577)](h=>({label:h[x(599)],value:h.id})),onChange:d})}),o&&i&&l[x(1900)](l[x(2082)],{children:[l[x(1403)](z.Form[x(1192)],{label:x(2196),extra:"该数据集的 sample 为数组,请选择用于匹配数据项的字段",children:l[x(1403)](z.Select,{allowClear:!0,placeholder:x(1596),value:n[x(455)]??void 0,options:b[x(1577)](h=>({label:h,value:h})),onChange:f})}),n[x(455)]&&l[x(1403)](z[x(1002)][x(1192)],{label:x(1055),extra:"选择该字段对应的具体值以定位数据项",children:l.jsx(z[x(529)],{allowClear:!0,placeholder:x(1558),value:n[x(1549)]??void 0,options:v,onChange:g})})]}),u[x(707)]>0&&l[x(1403)](z[x(1002)].Item,{label:x(1772),children:l.jsx(z[x(1073)],{size:[4,4],wrap:!0,children:u.map(h=>l[x(1403)](z.Tag,{className:x(2186),onClick:()=>s(h),children:"data."+h},h))})})]})},Cr=({material:n,onSave:e})=>{const t=c;switch(n[t(1244)]){case t(1245):return l[t(1403)](Qs,{material:n,onSave:e});case t(1032):return l[t(1403)](Fs,{material:n,onSave:e});case t(850):return l[t(1403)](el,{material:n,onSave:e});default:return l[t(1403)](t(1467),{className:t(935),children:t(1563)})}},{Panel:Mr}=z[c(448)],{TextArea:ol}=z[c(1693)],rl=({node:n,updateNode:e,materials:t})=>{const x=c,r=t[x(1304)](f=>f.type!==x(1314)||!f[x(705)]?.[x(824)]),o=(f,g)=>{const b=x,v=n[b(584)]?.map(h=>{const p=b;return h.id===f?{...h,contentInfo:{...h[p(800)],statusList:g}}:h});e(n.id,{children:v})},i=f=>{const g=x,b=n[g(584)]?.[g(1043)](h=>h.id===f);if(!b)return;const v={id:ve[g(1143)](),name:"状态"+(b.contentInfo[g(617)][g(707)]+1),expression:b[g(800)][g(617)][g(707)]===0?"return true;":g(980),material:{...r[0],id:ve[g(1143)]()},boundDatasetId:null};o(f,[...b[g(800)][g(617)],v])},a=(f,g)=>{const b=x,v=n[b(584)]?.[b(1043)](p=>p.id===f);if(!v)return;const h=v[b(800)][b(617)][b(1304)](p=>p.id!==g);o(f,h)},u=(f,g,b)=>{const v=x,h=n[v(584)]?.[v(1043)](M=>M.id===f);if(!h)return;const p=h[v(800)][v(617)][v(1577)](M=>M.id===g?{...M,...b}:M);o(f,p)},s=(f,g,b)=>{const v=x,h=n[v(584)]?.[v(1043)](m=>m.id===f);if(!h)return;const p=h[v(800)].statusList.findIndex(m=>m.id===g);if(p===-1)return;const M=[...h[v(800)][v(617)]];b==="up"&&p>0?[M[p],M[p-1]]=[M[p-1],M[p]]:b==="down"&&p<M[v(707)]-1&&([M[p],M[p+1]]=[M[p+1],M[p]]),o(f,M)},d=(f,g,b)=>{const v=x,h=t[v(1043)](p=>p.id===b);h&&u(f,g,{material:{...h,id:ve.nanoid()}})};return l.jsxs("div",{className:"space-y-4",children:[l[x(1403)](x(1467),{className:x(492),children:l[x(1900)]("div",{className:"text-sm text-blue-700",children:[l[x(1403)](x(746),{children:"群组节点"}),x(903)]})}),l[x(1403)](z.Collapse,{ghost:!0,children:n[x(584)]?.map((f,g)=>l[x(1403)](Mr,{header:l[x(1900)](x(1467),{className:x(883),children:[l[x(1900)](x(983),{className:x(1008),children:[x(765),g+1]}),l[x(1900)](z[x(1885)],{color:"blue",style:{fontSize:x(2084),padding:x(1414)},children:[f[x(800)][x(617)].length,x(1967)]})]}),children:l[x(1900)](x(1467),{className:x(1901),children:[l[x(1900)](x(1467),{className:"flex justify-between items-center mb-3",children:[l[x(1403)](x(983),{className:"text-sm text-gray-600",children:"状态列表"}),l[x(1403)](z[x(1475)],{type:x(780),size:"small",icon:l[x(1403)](le.PlusOutlined,{}),onClick:()=>i(f.id),children:x(1809)})]}),f[x(800)][x(617)][x(707)]===0?l[x(1403)](x(1467),{className:x(1180),children:x(918)}):l[x(1403)](z[x(448)],{ghost:!0,children:f[x(800)].statusList[x(1577)]((b,v)=>l[x(1403)](Mr,{header:l[x(1900)](x(1467),{className:x(949),children:[l.jsx(x(983),{className:x(1768),children:v+1}),l[x(1403)](x(983),{className:"font-medium",children:b[x(599)]}),l[x(1403)](z.Tag,{color:x(2064),className:x(1748),children:b[x(1605)][x(1244)]})]}),extra:l[x(1900)](z.Space,{size:x(1079),onClick:h=>h[x(1370)](),children:[l.jsx(z[x(1475)],{type:x(1100),size:"small",icon:l[x(1403)](le.ArrowUpOutlined,{}),disabled:v===0,onClick:h=>{h[x(1370)](),s(f.id,b.id,"up")}}),l[x(1403)](z[x(1475)],{type:"text",size:x(1079),icon:l.jsx(le[x(839)],{}),disabled:v===f.contentInfo[x(617)][x(707)]-1,onClick:h=>{const p=x;h[p(1370)](),s(f.id,b.id,p(982))}}),l[x(1403)](z[x(1475)],{type:x(1100),size:x(1079),danger:!0,icon:l.jsx(le[x(1065)],{}),onClick:h=>{h.stopPropagation(),a(f.id,b.id)}})]}),children:l[x(1900)](z[x(1002)],{layout:x(1309),children:[l.jsx(z[x(1002)][x(1192)],{label:"状态名称",children:l.jsx(z.Input,{value:b.name,onChange:h=>u(f.id,b.id,{name:h[x(1470)][x(1443)]}),placeholder:"输入状态名称"})}),l[x(1403)](zr,{status:b,onUpdate:h=>u(f.id,b.id,h)}),l.jsx(z[x(1002)].Item,{label:x(715),help:x(1336),children:l[x(1403)](ol,{value:b.expression,onChange:h=>u(f.id,b.id,{expression:h[x(1470)][x(1443)]}),rows:3,placeholder:x(2099)})}),l.jsx(z[x(1002)][x(1192)],{label:x(680),children:l.jsxs(x(1467),{className:x(949),children:[l[x(1403)](z.Tag,{color:x(1296),children:b[x(1605)][x(599)]}),l[x(1403)](z.Tag,{color:x(2064),children:b[x(1605)][x(1244)]}),l.jsx(z[x(529)],{placeholder:"选择新物料",style:{width:150},value:void 0,onChange:h=>h&&d(f.id,b.id,h),options:r[x(1577)](h=>({value:h.id,label:h[x(599)]+" ("+h[x(1244)]+")"}))})]})}),l[x(1403)](z[x(974)],{style:{margin:x(1673)}}),l[x(1900)](x(1467),{className:x(2016),children:[l[x(1900)](x(1467),{className:x(2230),children:[l[x(1403)](x(983),{className:x(1033),children:x(1986)}),l[x(1403)](z.Tag,{children:b[x(1605)][x(599)]})]}),l[x(1403)](Cr,{material:b[x(1605)],onSave:h=>{const p=x,M={...b[p(1605)],...h};u(f.id,b.id,{material:M})}})]})]})},b.id))})]})},f.id))})]})};function Ae(n){const e=c;if(typeof n===e(1857)||typeof n=="number")return""+n;let t="";if(Array[e(611)](n))for(let x=0,r;x<n.length;x++)(r=Ae(n[x]))!==""&&(t+=(t&&" ")+r);else for(let x in n)n[x]&&(t+=(t&&" ")+x);return t}var il={value:()=>{}};function ft(){const n=c;for(var e=0,t=arguments[n(707)],x={},r;e<t;++e){if(!(r=arguments[e]+"")||r in x||/[\s.]/.test(r))throw new Error("illegal type: "+r);x[r]=[]}return new bt(x)}function bt(n){this._=n}function al(n,e){const t=c;return n[t(1404)]()[t(1246)](/^|\s+/)[t(1577)](function(x){const r=t;var o="",i=x[r(2088)](".");if(i>=0&&(o=x.slice(i+1),x=x.slice(0,i)),x&&!e.hasOwnProperty(x))throw new Error(r(538)+x);return{type:x,name:o}})}bt.prototype=ft[c(1007)]={constructor:bt,on:function(n,e){const t=c;var x=this._,r=al(n+"",x),o,i=-1,a=r[t(707)];if(arguments.length<2){for(;++i<a;)if((o=(n=r[i]).type)&&(o=cl(x[o],n[t(599)])))return o;return}if(e!=null&&typeof e!==t(1568))throw new Error("invalid callback: "+e);for(;++i<a;)if(o=(n=r[i])[t(1244)])x[o]=Br(x[o],n[t(599)],e);else if(e==null)for(o in x)x[o]=Br(x[o],n[t(599)],null);return this},copy:function(){const n=c;var e={},t=this._;for(var x in t)e[x]=t[x][n(1292)]();return new bt(e)},call:function(n,e){const t=c;if((o=arguments.length-2)>0)for(var x=new Array(o),r=0,o,i;r<o;++r)x[r]=arguments[r+2];if(!this._[t(976)](n))throw new Error("unknown type: "+n);for(i=this._[n],r=0,o=i[t(707)];r<o;++r)i[r].value[t(1412)](e,x)},apply:function(n,e,t){const x=c;if(!this._.hasOwnProperty(n))throw new Error(x(538)+n);for(var r=this._[n],o=0,i=r[x(707)];o<i;++o)r[o][x(1443)][x(1412)](e,t)}};function cl(n,e){const t=c;for(var x=0,r=n[t(707)],o;x<r;++x)if((o=n[x]).name===e)return o[t(1443)]}function Br(n,e,t){const x=c;for(var r=0,o=n[x(707)];r<o;++r)if(n[r][x(599)]===e){n[r]=il,n=n[x(1292)](0,r)[x(623)](n[x(1292)](r+1));break}return t!=null&&n[x(1181)]({name:e,value:t}),n}var Mx=c(1846);const Dr={svg:c(1720),xhtml:Mx,xlink:c(2098),xml:c(1845),xmlns:"http://www.w3.org/2000/xmlns/"};function ht(n){const e=c;var t=n+="",x=t[e(2088)](":");return x>=0&&(t=n[e(1292)](0,x))!==e(1101)&&(n=n[e(1292)](x+1)),Dr[e(976)](t)?{space:Dr[t],local:n}:n}function sl(n){return function(){const e=_0x5299;var t=this[e(1328)],x=this.namespaceURI;return x===Mx&&t[e(2243)].namespaceURI===Mx?t.createElement(n):t[e(1992)](x,n)}}function ll(n){return function(){const e=_0x5299;return this.ownerDocument[e(1992)](n[e(1861)],n[e(993)])}}function Lr(n){const e=c;var t=ht(n);return(t[e(993)]?ll:sl)(t)}function dl(){}function Bx(n){return n==null?dl:function(){return this[_0x5299(1e3)](n)}}function ul(n){const e=c;typeof n!==e(1568)&&(n=Bx(n));for(var t=this[e(747)],x=t.length,r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i.length,u=r[o]=new Array(a),s,d,f=0;f<a;++f)(s=i[f])&&(d=n.call(s,s[e(514)],f,i))&&(e(514)in s&&(d.__data__=s[e(514)]),u[f]=d);return new Te(r,this[e(977)])}function fl(n){const e=c;return n==null?[]:Array[e(611)](n)?n:Array.from(n)}function bl(){return[]}function Nr(n){return n==null?bl:function(){return this[_0x5299(1082)](n)}}function hl(n){return function(){return fl(n[_0x5299(1412)](this,arguments))}}function gl(n){const e=c;typeof n===e(1568)?n=hl(n):n=Nr(n);for(var t=this._groups,x=t[e(707)],r=[],o=[],i=0;i<x;++i)for(var a=t[i],u=a[e(707)],s,d=0;d<u;++d)(s=a[d])&&(r[e(1181)](n[e(1429)](s,s[e(514)],d,a)),o[e(1181)](s));return new Te(r,o)}function Sr(n){return function(){return this[_0x5299(754)](n)}}function kr(n){return function(e){return e[_0x5299(754)](n)}}var yl=Array[c(1007)][c(1043)];function ml(n){return function(){const e=_0x5299;return yl[e(1429)](this[e(584)],n)}}function wl(){return this[c(997)]}function vl(n){const e=c;return this[e(667)](n==null?wl:ml(typeof n===e(1568)?n:kr(n)))}var pl=Array.prototype.filter;function zl(){return Array[c(897)](this.children)}function Cl(n){return function(){const e=_0x5299;return pl[e(1429)](this[e(584)],n)}}function Ml(n){return this.selectAll(n==null?zl:Cl(typeof n=="function"?n:kr(n)))}function Bl(n){const e=c;typeof n!==e(1568)&&(n=Sr(n));for(var t=this[e(747)],x=t.length,r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i[e(707)],u=r[o]=[],s,d=0;d<a;++d)(s=i[d])&&n[e(1429)](s,s[e(514)],d,i)&&u[e(1181)](s);return new Te(r,this._parents)}function Ir(n){const e=c;return new Array(n[e(707)])}function Dl(){const n=c;return new Te(this[n(858)]||this[n(747)].map(Ir),this._parents)}function gt(n,e){const t=c;this[t(1328)]=n.ownerDocument,this[t(933)]=n[t(933)],this._next=null,this[t(1872)]=n,this.__data__=e}gt.prototype={constructor:gt,appendChild:function(n){const e=c;return this[e(1872)][e(1525)](n,this._next)},insertBefore:function(n,e){const t=c;return this[t(1872)][t(1525)](n,e)},querySelector:function(n){const e=c;return this[e(1872)][e(1e3)](n)},querySelectorAll:function(n){const e=c;return this[e(1872)][e(1082)](n)}};function Ll(n){return function(){return n}}function Nl(n,e,t,x,r,o){const i=c;for(var a=0,u,s=e[i(707)],d=o.length;a<d;++a)(u=e[a])?(u.__data__=o[a],x[a]=u):t[a]=new gt(n,o[a]);for(;a<s;++a)(u=e[a])&&(r[a]=u)}function Sl(n,e,t,x,r,o,i){const a=c;var u,s,d=new Map,f=e.length,g=o.length,b=new Array(f),v;for(u=0;u<f;++u)(s=e[u])&&(b[u]=v=i[a(1429)](s,s[a(514)],u,e)+"",d[a(1411)](v)?r[u]=s:d[a(2110)](v,s));for(u=0;u<g;++u)v=i.call(n,o[u],u,o)+"",(s=d[a(1710)](v))?(x[u]=s,s[a(514)]=o[u],d[a(1060)](v)):t[u]=new gt(n,o[u]);for(u=0;u<f;++u)(s=e[u])&&d[a(1710)](b[u])===s&&(r[u]=s)}function kl(n){return n.__data__}function Il(n,e){const t=c;if(!arguments[t(707)])return Array.from(this,kl);var x=e?Sl:Nl,r=this._parents,o=this[t(747)];typeof n!==t(1568)&&(n=Ll(n));for(var i=o.length,a=new Array(i),u=new Array(i),s=new Array(i),d=0;d<i;++d){var f=r[d],g=o[d],b=g.length,v=Pl(n[t(1429)](f,f&&f.__data__,d,r)),h=v[t(707)],p=u[d]=new Array(h),M=a[d]=new Array(h),m=s[d]=new Array(b);x(f,g,p,M,m,v,e);for(var w=0,y=0,C,P;w<h;++w)if(C=p[w]){for(w>=y&&(y=w+1);!(P=M[y])&&++y<h;);C._next=P||null}}return a=new Te(a,r),a[t(858)]=u,a[t(922)]=s,a}function Pl(n){const e=c;return typeof n===e(1523)&&e(707)in n?n:Array[e(897)](n)}function Al(){const n=c;return new Te(this._exit||this[n(747)][n(1577)](Ir),this[n(977)])}function jl(n,e,t){const x=c;var r=this[x(998)](),o=this,i=this[x(2006)]();return typeof n===x(1568)?(r=n(r),r&&(r=r.selection())):r=r[x(760)](n+""),e!=null&&(o=e(o),o&&(o=o.selection())),t==null?i[x(1325)]():t(i),r&&o?r[x(812)](o)[x(1954)]():o}function El(n){const e=c;for(var t=n[e(1797)]?n[e(1797)]():n,x=this[e(747)],r=t[e(747)],o=x.length,i=r[e(707)],a=Math[e(487)](o,i),u=new Array(o),s=0;s<a;++s)for(var d=x[s],f=r[s],g=d[e(707)],b=u[s]=new Array(g),v,h=0;h<g;++h)(v=d[h]||f[h])&&(b[h]=v);for(;s<o;++s)u[s]=x[s];return new Te(u,this[e(977)])}function Yl(){const n=c;for(var e=this[n(747)],t=-1,x=e[n(707)];++t<x;)for(var r=e[t],o=r[n(707)]-1,i=r[o],a;--o>=0;)(a=r[o])&&(i&&a[n(447)](i)^4&&i[n(1725)][n(1525)](a,i),i=a);return this}function Ul(n){const e=c;n||(n=Ol);function t(g,b){return g&&b?n(g[_0x5299(514)],b.__data__):!g-!b}for(var x=this[e(747)],r=x[e(707)],o=new Array(r),i=0;i<r;++i){for(var a=x[i],u=a[e(707)],s=o[i]=new Array(u),d,f=0;f<u;++f)(d=a[f])&&(s[f]=d);s[e(668)](t)}return new Te(o,this[e(977)])[e(1954)]()}function Ol(n,e){return n<e?-1:n>e?1:n>=e?0:NaN}function Gl(){const n=c;var e=arguments[0];return arguments[0]=this,e[n(1412)](null,arguments),this}function Vl(){return Array[c(897)](this)}function Hl(){const n=c;for(var e=this[n(747)],t=0,x=e[n(707)];t<x;++t)for(var r=e[t],o=0,i=r[n(707)];o<i;++o){var a=r[o];if(a)return a}return null}function Tl(){let n=0;for(const e of this)++n;return n}function ql(){return!this[c(1153)]()}function Wl(n){const e=c;for(var t=this[e(747)],x=0,r=t.length;x<r;++x)for(var o=t[x],i=0,a=o[e(707)],u;i<a;++i)(u=o[i])&&n[e(1429)](u,u.__data__,i,o);return this}function Xl(n){return function(){this[_0x5299(2214)](n)}}function Kl(n){return function(){const e=_0x5299;this.removeAttributeNS(n[e(1861)],n[e(993)])}}function Zl(n,e){return function(){this[_0x5299(1399)](n,e)}}function Rl(n,e){return function(){const t=_0x5299;this[t(1203)](n[t(1861)],n.local,e)}}function Jl(n,e){return function(){const t=_0x5299;var x=e[t(1412)](this,arguments);x==null?this[t(2214)](n):this[t(1399)](n,x)}}function _l(n,e){return function(){const t=_0x5299;var x=e[t(1412)](this,arguments);x==null?this.removeAttributeNS(n[t(1861)],n.local):this[t(1203)](n[t(1861)],n[t(993)],x)}}function Ql(n,e){const t=c;var x=ht(n);if(arguments[t(707)]<2){var r=this.node();return x[t(993)]?r[t(925)](x[t(1861)],x[t(993)]):r[t(1104)](x)}return this[t(1683)]((e==null?x[t(993)]?Kl:Xl:typeof e===t(1568)?x[t(993)]?_l:Jl:x[t(993)]?Rl:Zl)(x,e))}function Pr(n){const e=c;return n[e(1328)]&&n[e(1328)].defaultView||n.document&&n||n[e(1046)]}function Fl(n){return function(){this[_0x5299(693)].removeProperty(n)}}function $l(n,e,t){return function(){const x=_0x5299;this.style[x(1820)](n,e,t)}}function ed(n,e,t){return function(){const x=_0x5299;var r=e[x(1412)](this,arguments);r==null?this.style[x(1717)](n):this[x(693)].setProperty(n,r,t)}}function nd(n,e,t){const x=c;return arguments[x(707)]>1?this[x(1683)]((e==null?Fl:typeof e=="function"?ed:$l)(n,e,t??"")):on(this[x(1153)](),n)}function on(n,e){const t=c;return n[t(693)][t(785)](e)||Pr(n)[t(1980)](n,null).getPropertyValue(e)}function td(n){return function(){delete this[n]}}function xd(n,e){return function(){this[n]=e}}function od(n,e){return function(){var x=e[_0x5299(1412)](this,arguments);x==null?delete this[n]:this[n]=x}}function rd(n,e){const t=c;return arguments[t(707)]>1?this[t(1683)]((e==null?td:typeof e=="function"?od:xd)(n,e)):this[t(1153)]()[n]}function Ar(n){const e=c;return n.trim()[e(1246)](/^|\s+/)}function Dx(n){return n.classList||new jr(n)}function jr(n){const e=c;this[e(454)]=n,this._names=Ar(n[e(1104)](e(1478))||"")}jr[c(1007)]={add:function(n){const e=c;var t=this[e(1741)][e(2088)](n);t<0&&(this[e(1741)][e(1181)](n),this[e(454)][e(1399)](e(1478),this[e(1741)].join(" ")))},remove:function(n){const e=c;var t=this[e(1741)].indexOf(n);t>=0&&(this[e(1741)][e(1790)](t,1),this[e(454)][e(1399)]("class",this[e(1741)][e(1076)](" ")))},contains:function(n){const e=c;return this._names[e(2088)](n)>=0}};function Er(n,e){const t=c;for(var x=Dx(n),r=-1,o=e.length;++r<o;)x[t(690)](e[r])}function Yr(n,e){const t=c;for(var x=Dx(n),r=-1,o=e[t(707)];++r<o;)x[t(1325)](e[r])}function id(n){return function(){Er(this,n)}}function ad(n){return function(){Yr(this,n)}}function cd(n,e){return function(){(e[_0x5299(1412)](this,arguments)?Er:Yr)(this,n)}}function sd(n,e){const t=c;var x=Ar(n+"");if(arguments[t(707)]<2){for(var r=Dx(this[t(1153)]()),o=-1,i=x[t(707)];++o<i;)if(!r.contains(x[o]))return!1;return!0}return this.each((typeof e===t(1568)?cd:e?id:ad)(x,e))}function ld(){this.textContent=""}function dd(n){return function(){const e=_0x5299;this[e(1978)]=n}}function ud(n){return function(){const e=_0x5299;var t=n[e(1412)](this,arguments);this[e(1978)]=t??""}}function fd(n){const e=c;return arguments[e(707)]?this[e(1683)](n==null?ld:(typeof n===e(1568)?ud:dd)(n)):this.node()[e(1978)]}function bd(){const n=c;this[n(627)]=""}function hd(n){return function(){const e=_0x5299;this[e(627)]=n}}function gd(n){return function(){const e=_0x5299;var t=n.apply(this,arguments);this[e(627)]=t??""}}function yd(n){const e=c;return arguments[e(707)]?this[e(1683)](n==null?bd:(typeof n===e(1568)?gd:hd)(n)):this.node()[e(627)]}function md(){this[c(1678)]&&this.parentNode.appendChild(this)}function wd(){return this[c(1683)](md)}function vd(){const n=c;this.previousSibling&&this[n(1725)][n(1525)](this,this.parentNode[n(1752)])}function pd(){return this[c(1683)](vd)}function zd(n){const e=c;var t=typeof n===e(1568)?n:Lr(n);return this[e(667)](function(){const x=e;return this[x(686)](t[x(1412)](this,arguments))})}function Cd(){return null}function Md(n,e){const t=c;var x=typeof n=="function"?n:Lr(n),r=e==null?Cd:typeof e=="function"?e:Bx(e);return this[t(667)](function(){const o=t;return this[o(1525)](x[o(1412)](this,arguments),r[o(1412)](this,arguments)||null)})}function Bd(){const n=c;var e=this[n(1725)];e&&e[n(1671)](this)}function Dd(){return this[c(1683)](Bd)}function Ld(){const n=c;var e=this[n(1142)](!1),t=this.parentNode;return t?t[n(1525)](e,this[n(1678)]):e}function Nd(){const n=c;var e=this[n(1142)](!0),t=this[n(1725)];return t?t[n(1525)](e,this.nextSibling):e}function Sd(n){return this[c(667)](n?Nd:Ld)}function kd(n){const e=c;return arguments.length?this[e(1476)](e(514),n):this[e(1153)]().__data__}function Id(n){return function(e){const t=_0x5299;n.call(this,e,this[t(514)])}}function Pd(n){const e=c;return n[e(1404)]()[e(1246)](/^|\s+/)[e(1577)](function(t){const x=e;var r="",o=t[x(2088)](".");return o>=0&&(r=t.slice(o+1),t=t[x(1292)](0,o)),{type:t,name:r}})}function Ad(n){return function(){const e=_0x5299;var t=this[e(763)];if(t){for(var x=0,r=-1,o=t[e(707)],i;x<o;++x)i=t[x],(!n[e(1244)]||i[e(1244)]===n[e(1244)])&&i.name===n[e(599)]?this[e(963)](i[e(1244)],i[e(502)],i.options):t[++r]=i;++r?t[e(707)]=r:delete this[e(763)]}}}function jd(n,e,t){return function(){const x=_0x5299;var r=this[x(763)],o,i=Id(e);if(r){for(var a=0,u=r[x(707)];a<u;++a)if((o=r[a]).type===n[x(1244)]&&o[x(599)]===n[x(599)]){this[x(963)](o[x(1244)],o[x(502)],o[x(1940)]),this[x(1254)](o[x(1244)],o[x(502)]=i,o.options=t),o[x(1443)]=e;return}}this[x(1254)](n[x(1244)],i,t),o={type:n[x(1244)],name:n[x(599)],value:e,listener:i,options:t},r?r[x(1181)](o):this[x(763)]=[o]}}function Ed(n,e,t){const x=c;var r=Pd(n+""),o,i=r[x(707)],a;if(arguments.length<2){var u=this.node()[x(763)];if(u){for(var s=0,d=u[x(707)],f;s<d;++s)for(o=0,f=u[s];o<i;++o)if((a=r[o])[x(1244)]===f[x(1244)]&&a[x(599)]===f.name)return f[x(1443)]}return}for(u=e?jd:Ad,o=0;o<i;++o)this[x(1683)](u(r[o],e,t));return this}function Ur(n,e,t){const x=c;var r=Pr(n),o=r.CustomEvent;typeof o===x(1568)?o=new o(e,t):(o=r[x(1648)][x(893)](x(548)),t?(o[x(743)](e,t.bubbles,t[x(628)]),o[x(806)]=t[x(806)]):o[x(743)](e,!1,!1)),n[x(1540)](o)}function Yd(n,e){return function(){return Ur(this,n,e)}}function Ud(n,e){return function(){return Ur(this,n,e[_0x5299(1412)](this,arguments))}}function Od(n,e){const t=c;return this[t(1683)]((typeof e===t(1568)?Ud:Yd)(n,e))}function*Gd(){const n=c;for(var e=this[n(747)],t=0,x=e.length;t<x;++t)for(var r=e[t],o=0,i=r.length,a;o<i;++o)(a=r[o])&&(yield a)}var Or=[null];function Te(n,e){const t=c;this[t(747)]=n,this[t(977)]=e}function Sn(){const n=c;return new Te([[document[n(2243)]]],Or)}function Vd(){return this}Te[c(1007)]=Sn[c(1007)]={constructor:Te,select:ul,selectAll:gl,selectChild:vl,selectChildren:Ml,filter:Bl,data:Il,enter:Dl,exit:Al,join:jl,merge:El,selection:Vd,order:Yl,sort:Ul,call:Gl,nodes:Vl,node:Hl,size:Tl,empty:ql,each:Wl,attr:Ql,style:nd,property:rd,classed:sd,text:fd,html:yd,raise:wd,lower:pd,append:zd,insert:Md,remove:Dd,clone:Sd,datum:kd,on:Ed,dispatch:Od,[Symbol[c(1805)]]:Gd};function qe(n){const e=c;return typeof n===e(1857)?new Te([[document[e(1e3)](n)]],[document.documentElement]):new Te([[n]],Or)}function Hd(n){const e=c;let t;for(;t=n[e(608)];)n=t;return n}function _e(n,e){const t=c;if(n=Hd(n),e===void 0&&(e=n[t(906)]),e){var x=e[t(1284)]||e;if(x[t(509)]){var r=x[t(509)]();return r.x=n[t(1915)],r.y=n[t(1506)],r=r[t(1853)](e[t(1200)]()[t(1239)]()),[r.x,r.y]}if(e[t(898)]){var o=e[t(898)]();return[n[t(1915)]-o.left-e[t(1026)],n[t(1506)]-o[t(2043)]-e[t(1668)]]}}return[n[t(2135)],n.pageY]}const Td={passive:!1},kn={capture:!0,passive:!1};function Lx(n){n[c(1740)]()}function rn(n){const e=c;n[e(1502)](),n[e(1740)]()}function Gr(n){const e=c;var t=n[e(1648)].documentElement,x=qe(n).on("dragstart.drag",rn,kn);e(2211)in t?x.on("selectstart.drag",rn,kn):(t[e(1920)]=t[e(693)][e(2105)],t[e(693)][e(2105)]=e(928))}function Vr(n,e){const t=c;var x=n[t(1648)][t(2243)],r=qe(n).on("dragstart.drag",null);e&&(r.on("click.drag",rn,kn),setTimeout(function(){const o=t;r.on(o(1110),null)},0)),"onselectstart"in x?r.on(t(1227),null):(x[t(693)][t(2105)]=x[t(1920)],delete x[t(1920)])}const yt=n=>()=>n;function Nx(n,{sourceEvent:e,subject:t,target:x,identifier:r,active:o,x:i,y:a,dx:u,dy:s,dispatch:d}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:t,enumerable:!0,configurable:!0},target:{value:x,enumerable:!0,configurable:!0},identifier:{value:r,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:d}})}Nx[c(1007)].on=function(){var n=this._.on.apply(this._,arguments);return n===this._?this:n};function qd(n){return!n.ctrlKey&&!n.button}function Wd(){return this[c(1725)]}function Xd(n,e){return e??{x:n.x,y:n.y}}function Kd(){return navigator[c(2070)]||"ontouchstart"in this}function Hr(){const n=c;var e=qd,t=Wd,x=Xd,r=Kd,o={},i=ft("start",n(1759),n(1149)),a=0,u,s,d,f,g=0;function b(C){const P=n;C.on(P(773),v)[P(1304)](r).on(P(1139),M).on(P(464),m,Td).on("touchend.drag touchcancel.drag",w)[P(693)](P(1997),"none").style(P(539),P(1397))}function v(C,P){const Y=n;if(!(f||!e[Y(1429)](this,C,P))){var G=y(this,t.call(this,C,P),C,P,"mouse");G&&(qe(C.view).on(Y(1595),h,kn).on("mouseup.drag",p,kn),Gr(C[Y(1210)]),Lx(C),d=!1,u=C.clientX,s=C[Y(1506)],G(Y(1939),C))}}function h(C){const P=n;if(rn(C),!d){var Y=C[P(1915)]-u,G=C[P(1506)]-s;d=Y*Y+G*G>g}o[P(1393)]("drag",C)}function p(C){const P=n;qe(C[P(1210)]).on(P(988),null),Vr(C[P(1210)],d),rn(C),o[P(1393)](P(1149),C)}function M(C,P){const Y=n;if(e[Y(1429)](this,C,P)){var G=C[Y(1957)],T=t[Y(1429)](this,C,P),U=G[Y(707)],Q,X;for(Q=0;Q<U;++Q)(X=y(this,T,C,P,G[Q][Y(1035)],G[Q]))&&(Lx(C),X(Y(1939),C,G[Q]))}}function m(C){const P=n;var Y=C[P(1957)],G=Y[P(707)],T,U;for(T=0;T<G;++T)(U=o[Y[T][P(1035)]])&&(rn(C),U(P(1759),C,Y[T]))}function w(C){const P=n;var Y=C[P(1957)],G=Y.length,T,U;for(f&&clearTimeout(f),f=setTimeout(function(){f=null},500),T=0;T<G;++T)(U=o[Y[T][P(1035)]])&&(Lx(C),U("end",C,Y[T]))}function y(C,P,Y,G,T,U){const Q=n;var X=i[Q(931)](),W=_e(U||Y,P),O,L,B;if((B=x[Q(1429)](C,new Nx(Q(1909),{sourceEvent:Y,target:b,identifier:T,active:a,x:W[0],y:W[1],dx:0,dy:0,dispatch:X}),G))!=null)return O=B.x-W[0]||0,L=B.y-W[1]||0,function D(E,A,S){const R=Q;var _=W,Z;switch(E){case R(1939):o[T]=D,Z=a++;break;case R(1149):delete o[T],--a;case R(1759):W=_e(S||A,P),Z=a;break}X[R(1429)](E,C,new Nx(E,{sourceEvent:A,subject:B,target:b,identifier:T,active:Z,x:W[0]+O,y:W[1]+L,dx:W[0]-_[0],dy:W[1]-_[1],dispatch:X}),G)}}return b[n(1304)]=function(C){return arguments.length?(e=typeof C=="function"?C:yt(!!C),b):e},b.container=function(C){const P=n;return arguments[P(707)]?(t=typeof C===P(1568)?C:yt(C),b):t},b.subject=function(C){return arguments[n(707)]?(x=typeof C=="function"?C:yt(C),b):x},b.touchable=function(C){const P=n;return arguments.length?(r=typeof C===P(1568)?C:yt(!!C),b):r},b.on=function(){const C=n;var P=i.on[C(1412)](i,arguments);return P===i?b:P},b[n(1691)]=function(C){const P=n;return arguments.length?(g=(C=+C)*C,b):Math[P(1116)](g)},b}function Sx(n,e,t){const x=c;n[x(1007)]=e[x(1007)]=t,t[x(994)]=n}function Tr(n,e){const t=c;var x=Object[t(1071)](n[t(1007)]);for(var r in e)x[r]=e[r];return x}function In(){}var Pn=.7,mt=1/Pn,an="\\s*([+-]?\\d+)\\s*",An=c(1034),t0=c(1667),Zd=/^#([0-9a-f]{3,8})$/,Rd=new RegExp("^rgb\\("+an+","+an+","+an+c(1012)),Jd=new RegExp("^rgb\\("+t0+","+t0+","+t0+c(1012)),_d=new RegExp("^rgba\\("+an+","+an+","+an+","+An+"\\)$"),Qd=new RegExp(c(1249)+t0+","+t0+","+t0+","+An+"\\)$"),Fd=new RegExp(c(1844)+An+","+t0+","+t0+c(1012)),$d=new RegExp(c(1938)+An+","+t0+","+t0+","+An+"\\)$"),qr={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(In,P0,{copy(n){const e=c;return Object.assign(new this[e(994)],this,n)},displayable(){const n=c;return this[n(1902)]()[n(1984)]()},hex:Wr,formatHex:Wr,formatHex8:eu,formatHsl:nu,formatRgb:Xr,toString:Xr});function Wr(){const n=c;return this[n(1902)]()[n(559)]()}function eu(){const n=c;return this[n(1902)]()[n(1152)]()}function nu(){const n=c;return _r(this)[n(1870)]()}function Xr(){const n=c;return this[n(1902)]()[n(1616)]()}function P0(n){const e=c;var t,x;return n=(n+"")[e(1404)]()[e(536)](),(t=Zd[e(1780)](n))?(x=t[1][e(707)],t=parseInt(t[1],16),x===6?Kr(t):x===3?new Ve(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):x===8?wt(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):x===4?wt(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=Rd.exec(n))?new Ve(t[1],t[2],t[3],1):(t=Jd[e(1780)](n))?new Ve(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=_d[e(1780)](n))?wt(t[1],t[2],t[3],t[4]):(t=Qd[e(1780)](n))?wt(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Fd.exec(n))?Jr(t[1],t[2]/100,t[3]/100,1):(t=$d[e(1780)](n))?Jr(t[1],t[2]/100,t[3]/100,t[4]):qr[e(976)](n)?Kr(qr[n]):n===e(1330)?new Ve(NaN,NaN,NaN,0):null}function Kr(n){return new Ve(n>>16&255,n>>8&255,n&255,1)}function wt(n,e,t,x){return x<=0&&(n=e=t=NaN),new Ve(n,e,t,x)}function tu(n){const e=c;return n instanceof In||(n=P0(n)),n?(n=n[e(1902)](),new Ve(n.r,n.g,n.b,n[e(2226)])):new Ve}function kx(n,e,t,x){return arguments[c(707)]===1?tu(n):new Ve(n,e,t,x??1)}function Ve(n,e,t,x){const r=c;this.r=+n,this.g=+e,this.b=+t,this[r(2226)]=+x}Sx(Ve,kx,Tr(In,{brighter(n){const e=c;return n=n==null?mt:Math[e(1312)](mt,n),new Ve(this.r*n,this.g*n,this.b*n,this[e(2226)])},darker(n){const e=c;return n=n==null?Pn:Math[e(1312)](Pn,n),new Ve(this.r*n,this.g*n,this.b*n,this[e(2226)])},rgb(){return this},clamp(){const n=c;return new Ve(A0(this.r),A0(this.g),A0(this.b),vt(this[n(2226)]))},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.opacity&&this[n(2226)]<=1},hex:Zr,formatHex:Zr,formatHex8:xu,formatRgb:Rr,toString:Rr}));function Zr(){return"#"+j0(this.r)+j0(this.g)+j0(this.b)}function xu(){const n=c;return"#"+j0(this.r)+j0(this.g)+j0(this.b)+j0((isNaN(this[n(2226)])?1:this[n(2226)])*255)}function Rr(){const n=c,e=vt(this[n(2226)]);return""+n(e===1?1159:1256)+A0(this.r)+", "+A0(this.g)+", "+A0(this.b)+(e===1?")":", "+e+")")}function vt(n){const e=c;return isNaN(n)?1:Math[e(2014)](0,Math[e(487)](1,n))}function A0(n){const e=c;return Math[e(2014)](0,Math[e(487)](255,Math[e(1910)](n)||0))}function j0(n){return n=A0(n),(n<16?"0":"")+n.toString(16)}function Jr(n,e,t,x){return x<=0?n=e=t=NaN:t<=0||t>=1?n=e=NaN:e<=0&&(n=NaN),new Qe(n,e,t,x)}function _r(n){const e=c;if(n instanceof Qe)return new Qe(n.h,n.s,n.l,n[e(2226)]);if(n instanceof In||(n=P0(n)),!n)return new Qe;if(n instanceof Qe)return n;n=n[e(1902)]();var t=n.r/255,x=n.g/255,r=n.b/255,o=Math[e(487)](t,x,r),i=Math[e(2014)](t,x,r),a=NaN,u=i-o,s=(i+o)/2;return u?(t===i?a=(x-r)/u+(x<r)*6:x===i?a=(r-t)/u+2:a=(t-x)/u+4,u/=s<.5?i+o:2-i-o,a*=60):u=s>0&&s<1?0:a,new Qe(a,u,s,n[e(2226)])}function ou(n,e,t,x){return arguments[c(707)]===1?_r(n):new Qe(n,e,t,x??1)}function Qe(n,e,t,x){const r=c;this.h=+n,this.s=+e,this.l=+t,this[r(2226)]=+x}Sx(Qe,ou,Tr(In,{brighter(n){const e=c;return n=n==null?mt:Math[e(1312)](mt,n),new Qe(this.h,this.s,this.l*n,this[e(2226)])},darker(n){const e=c;return n=n==null?Pn:Math[e(1312)](Pn,n),new Qe(this.h,this.s,this.l*n,this.opacity)},rgb(){const n=c;var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,x=this.l,r=x+(x<.5?x:1-x)*t,o=2*x-r;return new Ve(Ix(e>=240?e-240:e+120,o,r),Ix(e,o,r),Ix(e<120?e+240:e-120,o,r),this[n(2226)])},clamp(){return new Qe(Qr(this.h),pt(this.s),pt(this.l),vt(this.opacity))},displayable(){const n=c;return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this[n(2226)]&&this[n(2226)]<=1},formatHsl(){const n=c,e=vt(this[n(2226)]);return""+n(e===1?1569:1413)+Qr(this.h)+", "+pt(this.s)*100+"%, "+pt(this.l)*100+"%"+(e===1?")":", "+e+")")}}));function Qr(n){return n=(n||0)%360,n<0?n+360:n}function pt(n){return Math[c(2014)](0,Math.min(1,n||0))}function Ix(n,e,t){return(n<60?e+(t-e)*n/60:n<180?t:n<240?e+(t-e)*(240-n)/60:e)*255}const Px=n=>()=>n;function ru(n,e){return function(t){return n+t*e}}function iu(n,e,t){return n=Math[c(1312)](n,t),e=Math.pow(e,t)-n,t=1/t,function(r){return Math.pow(n+r*e,t)}}function au(n){return(n=+n)==1?Fr:function(e,t){return t-e?iu(e,t,n):Px(isNaN(e)?t:e)}}function Fr(n,e){var t=e-n;return t?ru(n,t):Px(isNaN(n)?e:n)}const zt=(function n(e){const t=c;var x=au(e);function r(o,i){const a=_0x5299;var u=x((o=kx(o)).r,(i=kx(i)).r),s=x(o.g,i.g),d=x(o.b,i.b),f=Fr(o[a(2226)],i[a(2226)]);return function(g){const b=a;return o.r=u(g),o.g=s(g),o.b=d(g),o[b(2226)]=f(g),o+""}}return r[t(890)]=n,r})(1);function cu(n,e){const t=c;e||(e=[]);var x=n?Math[t(487)](e[t(707)],n.length):0,r=e[t(1292)](),o;return function(i){for(o=0;o<x;++o)r[o]=n[o]*(1-i)+e[o]*i;return r}}function su(n){return ArrayBuffer[c(799)](n)&&!(n instanceof DataView)}function lu(n,e){const t=c;var x=e?e[t(707)]:0,r=n?Math[t(487)](x,n[t(707)]):0,o=new Array(r),i=new Array(x),a;for(a=0;a<r;++a)o[a]=jn(n[a],e[a]);for(;a<x;++a)i[a]=e[a];return function(u){for(a=0;a<r;++a)i[a]=o[a](u);return i}}function du(n,e){var t=new Date;return n=+n,e=+e,function(x){return t[_0x5299(1923)](n*(1-x)+e*x),t}}function x0(n,e){return n=+n,e=+e,function(t){return n*(1-t)+e*t}}function uu(n,e){const t=c;var x={},r={},o;(n===null||typeof n!==t(1523))&&(n={}),(e===null||typeof e!==t(1523))&&(e={});for(o in e)o in n?x[o]=jn(n[o],e[o]):r[o]=e[o];return function(i){for(o in x)r[o]=x[o](i);return r}}var Ax=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jx=new RegExp(Ax[c(984)],"g");function fu(n){return function(){return n}}function bu(n){return function(e){return n(e)+""}}function $r(n,e){const t=c;var x=Ax[t(512)]=jx[t(512)]=0,r,o,i,a=-1,u=[],s=[];for(n=n+"",e=e+"";(r=Ax[t(1780)](n))&&(o=jx[t(1780)](e));)(i=o.index)>x&&(i=e.slice(x,i),u[a]?u[a]+=i:u[++a]=i),(r=r[0])===(o=o[0])?u[a]?u[a]+=o:u[++a]=o:(u[++a]=null,s[t(1181)]({i:a,x:x0(r,o)})),x=jx[t(512)];return x<e[t(707)]&&(i=e[t(1292)](x),u[a]?u[a]+=i:u[++a]=i),u[t(707)]<2?s[0]?bu(s[0].x):fu(e):(e=s[t(707)],function(d){const f=t;for(var g=0,b;g<e;++g)u[(b=s[g]).i]=b.x(d);return u[f(1076)]("")})}function jn(n,e){const t=c;var x=typeof e,r;return e==null||x===t(790)?Px(e):(x===t(2134)?x0:x===t(1857)?(r=P0(e))?(e=r,zt):$r:e instanceof P0?zt:e instanceof Date?du:su(e)?cu:Array[t(611)](e)?lu:typeof e[t(470)]!==t(1568)&&typeof e[t(1487)]!="function"||isNaN(e)?uu:x0)(n,e)}var ei=180/Math.PI,Ex={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ni(n,e,t,x,r,o){const i=c;var a,u,s;return(a=Math[i(1116)](n*n+e*e))&&(n/=a,e/=a),(s=n*t+e*x)&&(t-=n*s,x-=e*s),(u=Math[i(1116)](t*t+x*x))&&(t/=u,x/=u,s/=u),n*x<e*t&&(n=-n,e=-e,s=-s,a=-a),{translateX:r,translateY:o,rotate:Math[i(915)](e,n)*ei,skewX:Math[i(1349)](s)*ei,scaleX:a,scaleY:u}}var Ct;function hu(n){const e=c,t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return t[e(530)]?Ex:ni(t.a,t.b,t.c,t.d,t.e,t.f)}function gu(n){const e=c;return n==null||(Ct||(Ct=document[e(1992)](e(1720),"g")),Ct[e(1399)](e(2213),n),!(n=Ct[e(2213)][e(2210)].consolidate()))?Ex:(n=n[e(822)],ni(n.a,n.b,n.c,n.d,n.e,n.f))}function ti(n,e,t,x){function r(s){const d=_0x5299;return s[d(707)]?s[d(762)]()+" ":""}function o(s,d,f,g,b,v){const h=_0x5299;if(s!==f||d!==g){var p=b[h(1181)](h(1925),null,e,null,t);v[h(1181)]({i:p-4,x:x0(s,f)},{i:p-2,x:x0(d,g)})}else(f||g)&&b[h(1181)](h(1925)+f+e+g+t)}function i(s,d,f,g){const b=_0x5299;s!==d?(s-d>180?d+=360:d-s>180&&(s+=360),g[b(1181)]({i:f[b(1181)](r(f)+b(1171),null,x)-2,x:x0(s,d)})):d&&f[b(1181)](r(f)+"rotate("+d+x)}function a(s,d,f,g){const b=_0x5299;s!==d?g[b(1181)]({i:f.push(r(f)+b(2204),null,x)-2,x:x0(s,d)}):d&&f[b(1181)](r(f)+b(2204)+d+x)}function u(s,d,f,g,b,v){const h=_0x5299;if(s!==f||d!==g){var p=b[h(1181)](r(b)+h(1431),null,",",null,")");v[h(1181)]({i:p-4,x:x0(s,f)},{i:p-2,x:x0(d,g)})}else(f!==1||g!==1)&&b[h(1181)](r(b)+"scale("+f+","+g+")")}return function(s,d){const f=_0x5299;var g=[],b=[];return s=n(s),d=n(d),o(s[f(1833)],s[f(490)],d[f(1833)],d[f(490)],g,b),i(s[f(2040)],d.rotate,g,b),a(s.skewX,d[f(1655)],g,b),u(s.scaleX,s[f(1783)],d[f(1499)],d[f(1783)],g,b),s=d=null,function(v){const h=f;for(var p=-1,M=b[h(707)],m;++p<M;)g[(m=b[p]).i]=m.x(v);return g[h(1076)]("")}}}var yu=ti(hu,c(2202),c(1838),c(508)),mu=ti(gu,", ",")",")"),wu=1e-12;function xi(n){return((n=Math[c(1700)](n))+1/n)/2}function vu(n){return((n=Math[c(1700)](n))-1/n)/2}function pu(n){return((n=Math[c(1700)](2*n))-1)/(n+1)}const Mt=(function n(e,t,x){function r(o,i){const a=_0x5299;var u=o[0],s=o[1],d=o[2],f=i[0],g=i[1],b=i[2],v=f-u,h=g-s,p=v*v+h*h,M,m;if(p<wu)m=Math.log(b/d)/e,M=function(G){return[u+G*v,s+G*h,d*Math.exp(e*G*m)]};else{var w=Math[a(1116)](p),y=(b*b-d*d+x*p)/(2*d*t*w),C=(b*b-d*d-x*p)/(2*b*t*w),P=Math[a(615)](Math[a(1116)](y*y+1)-y),Y=Math[a(615)](Math[a(1116)](C*C+1)-C);m=(Y-P)/e,M=function(G){var T=G*m,U=xi(P),Q=d/(t*w)*(U*pu(e*T+P)-vu(P));return[u+Q*v,s+Q*h,d*U/xi(e*T+P)]}}return M[a(840)]=m*1e3*e/Math[a(802)],M}return r.rho=function(o){var a=Math[_0x5299(2014)](.001,+o),u=a*a,s=u*u;return n(a,u,s)},r})(Math.SQRT2,2,4);var cn=0,En=0,Yn=0,oi=1e3,Bt,Un,Dt=0,E0=0,Lt=0,On=typeof performance===c(1523)&&performance[c(1891)]?performance:Date,ri=typeof window===c(1523)&&window.requestAnimationFrame?window[c(1819)][c(2060)](window):function(n){setTimeout(n,17)};function Yx(){return E0||(ri(zu),E0=On.now()+Lt)}function zu(){E0=0}function Nt(){const n=c;this[n(475)]=this._time=this[n(2115)]=null}Nt.prototype=ii[c(1007)]={constructor:Nt,restart:function(n,e,t){const x=c;if(typeof n!==x(1568))throw new TypeError(x(1493));t=(t==null?Yx():+t)+(e==null?0:+e),!this[x(2115)]&&Un!==this&&(Un?Un[x(2115)]=this:Bt=this,Un=this),this[x(475)]=n,this[x(656)]=t,Ux()},stop:function(){const n=c;this._call&&(this[n(475)]=null,this[n(656)]=1/0,Ux())}};function ii(n,e,t){const x=c;var r=new Nt;return r[x(1238)](n,e,t),r}function Cu(){const n=c;Yx(),++cn;for(var e=Bt,t;e;)(t=E0-e[n(656)])>=0&&e[n(475)][n(1429)](void 0,t),e=e[n(2115)];--cn}function ai(){E0=(Dt=On[c(1891)]())+Lt,cn=En=0;try{Cu()}finally{cn=0,Bu(),E0=0}}function Mu(){var n=On.now(),e=n-Dt;e>oi&&(Lt-=e,Dt=n)}function Bu(){const n=c;for(var e,t=Bt,x,r=1/0;t;)t._call?(r>t[n(656)]&&(r=t[n(656)]),e=t,t=t[n(2115)]):(x=t[n(2115)],t[n(2115)]=null,t=e?e[n(2115)]=x:Bt=x);Un=e,Ux(r)}function Ux(n){const e=c;if(!cn){En&&(En=clearTimeout(En));var t=n-E0;t>24?(n<1/0&&(En=setTimeout(ai,n-On[e(1891)]()-Lt)),Yn&&(Yn=clearInterval(Yn))):(Yn||(Dt=On[e(1891)](),Yn=setInterval(Mu,oi)),cn=1,ri(ai))}}function ci(n,e,t){const x=c;var r=new Nt;return e=e==null?0:+e,r[x(1238)](o=>{r.stop(),n(o+e)},e,t),r}var Du=ft(c(1939),c(1149),"cancel",c(1518)),Lu=[],si=0,li=1,Ox=2,St=3,di=4,Gx=5,kt=6;function It(n,e,t,x,r,o){const i=c;var a=n[i(944)];if(!a)n.__transition={};else if(t in a)return;Nu(n,t,{name:e,index:x,group:r,on:Du,tween:Lu,time:o[i(1498)],delay:o[i(1339)],duration:o[i(840)],ease:o.ease,timer:null,state:si})}function Vx(n,e){const t=c;var x=Fe(n,e);if(x[t(2163)]>si)throw new Error(t(2015));return x}function o0(n,e){const t=c;var x=Fe(n,e);if(x[t(2163)]>St)throw new Error("too late; already running");return x}function Fe(n,e){var x=n[c(944)];if(!x||!(x=x[e]))throw new Error("transition not found");return x}function Nu(n,e,t){const x=c;var r=n[x(944)],o;r[e]=t,t[x(1764)]=ii(i,0,t[x(1498)]);function i(d){const f=x;t[f(2163)]=li,t[f(1764)][f(1238)](a,t[f(1339)],t.time),t[f(1339)]<=d&&a(d-t.delay)}function a(d){const f=x;var g,b,v,h;if(t[f(2163)]!==li)return s();for(g in r)if(h=r[g],h.name===t[f(599)]){if(h[f(2163)]===St)return ci(a);h.state===di?(h[f(2163)]=kt,h[f(1764)][f(2122)](),h.on[f(1429)](f(1518),n,n.__data__,h[f(1271)],h[f(1295)]),delete r[g]):+g<e&&(h.state=kt,h[f(1764)][f(2122)](),h.on.call(f(1529),n,n.__data__,h[f(1271)],h.group),delete r[g])}if(ci(function(){const p=f;t[p(2163)]===St&&(t[p(2163)]=di,t[p(1764)][p(1238)](u,t[p(1339)],t.time),u(d))}),t[f(2163)]=Ox,t.on[f(1429)](f(1939),n,n.__data__,t[f(1271)],t[f(1295)]),t[f(2163)]===Ox){for(t[f(2163)]=St,o=new Array(v=t[f(1571)][f(707)]),g=0,b=-1;g<v;++g)(h=t[f(1571)][g].value[f(1429)](n,n[f(514)],t.index,t[f(1295)]))&&(o[++b]=h);o[f(707)]=b+1}}function u(d){const f=x;for(var g=d<t[f(840)]?t[f(768)][f(1429)](null,d/t[f(840)]):(t[f(1764)][f(1238)](s),t.state=Gx,1),b=-1,v=o[f(707)];++b<v;)o[b].call(n,g);t[f(2163)]===Gx&&(t.on.call(f(1149),n,n[f(514)],t.index,t[f(1295)]),s())}function s(){const d=x;t[d(2163)]=kt,t[d(1764)].stop(),delete r[e];for(var f in r)return;delete n[d(944)]}}function Pt(n,e){const t=c;var x=n.__transition,r,o,i=!0,a;if(x){e=e==null?null:e+"";for(a in x){if((r=x[a]).name!==e){i=!1;continue}o=r[t(2163)]>Ox&&r[t(2163)]<Gx,r.state=kt,r[t(1764)].stop(),r.on[t(1429)](o?"interrupt":t(1529),n,n[t(514)],r[t(1271)],r.group),delete x[a]}i&&delete n[t(944)]}}function Su(n){return this[c(1683)](function(){Pt(this,n)})}function ku(n,e){var t,x;return function(){const r=_0x5299;var o=o0(this,n),i=o.tween;if(i!==t){x=t=i;for(var a=0,u=x[r(707)];a<u;++a)if(x[a][r(599)]===e){x=x[r(1292)](),x[r(1790)](a,1);break}}o[r(1571)]=x}}function Iu(n,e,t){const x=c;var r,o;if(typeof t!==x(1568))throw new Error;return function(){const i=x;var a=o0(this,n),u=a[i(1571)];if(u!==r){o=(r=u)[i(1292)]();for(var s={name:e,value:t},d=0,f=o[i(707)];d<f;++d)if(o[d][i(599)]===e){o[d]=s;break}d===f&&o[i(1181)](s)}a[i(1571)]=o}}function Pu(n,e){const t=c;var x=this._id;if(n+="",arguments[t(707)]<2){for(var r=Fe(this[t(1153)](),x)[t(1571)],o=0,i=r[t(707)],a;o<i;++o)if((a=r[o])[t(599)]===n)return a[t(1443)];return null}return this[t(1683)]((e==null?ku:Iu)(x,n,e))}function Hx(n,e,t){const x=c;var r=n[x(1562)];return n[x(1683)](function(){const o=x;var i=o0(this,r);(i[o(1443)]||(i.value={}))[e]=t.apply(this,arguments)}),function(o){const i=x;return Fe(o,r)[i(1443)][e]}}function ui(n,e){const t=c;var x;return(typeof e===t(2134)?x0:e instanceof P0?zt:(x=P0(e))?(e=x,zt):$r)(n,e)}function Au(n){return function(){this[_0x5299(2214)](n)}}function ju(n){return function(){const e=_0x5299;this[e(607)](n[e(1861)],n[e(993)])}}function Eu(n,e,t){var x,r=t+"",o;return function(){var a=this[_0x5299(1104)](n);return a===r?null:a===x?o:o=e(x=a,t)}}function Yu(n,e,t){var x,r=t+"",o;return function(){const i=_0x5299;var a=this[i(925)](n[i(1861)],n[i(993)]);return a===r?null:a===x?o:o=e(x=a,t)}}function Uu(n,e,t){var x,r,o;return function(){const i=_0x5299;var a,u=t(this),s;return u==null?void this[i(2214)](n):(a=this[i(1104)](n),s=u+"",a===s?null:a===x&&s===r?o:(r=s,o=e(x=a,u)))}}function Ou(n,e,t){var x,r,o;return function(){const i=_0x5299;var a,u=t(this),s;return u==null?void this.removeAttributeNS(n[i(1861)],n.local):(a=this[i(925)](n[i(1861)],n[i(993)]),s=u+"",a===s?null:a===x&&s===r?o:(r=s,o=e(x=a,u)))}}function Gu(n,e){const t=c;var x=ht(n),r=x===t(2213)?mu:ui;return this.attrTween(n,typeof e===t(1568)?(x[t(993)]?Ou:Uu)(x,r,Hx(this,"attr."+n,e)):e==null?(x.local?ju:Au)(x):(x.local?Yu:Eu)(x,r,e))}function Vu(n,e){return function(t){const x=_0x5299;this.setAttribute(n,e[x(1429)](this,t))}}function Hu(n,e){return function(t){const x=_0x5299;this.setAttributeNS(n[x(1861)],n[x(993)],e.call(this,t))}}function Tu(n,e){const t=c;var x,r;function o(){var a=e[_0x5299(1412)](this,arguments);return a!==r&&(x=(r=a)&&Hu(n,a)),x}return o[t(542)]=e,o}function qu(n,e){const t=c;var x,r;function o(){var a=e[_0x5299(1412)](this,arguments);return a!==r&&(x=(r=a)&&Vu(n,a)),x}return o[t(542)]=e,o}function Wu(n,e){const t=c;var x="attr."+n;if(arguments.length<2)return(x=this[t(1571)](x))&&x._value;if(e==null)return this.tween(x,null);if(typeof e!==t(1568))throw new Error;var r=ht(n);return this[t(1571)](x,(r[t(993)]?Tu:qu)(r,e))}function Xu(n,e){return function(){const t=_0x5299;Vx(this,n)[t(1339)]=+e[t(1412)](this,arguments)}}function Ku(n,e){return e=+e,function(){Vx(this,n).delay=e}}function Zu(n){const e=c;var t=this[e(1562)];return arguments.length?this[e(1683)]((typeof n===e(1568)?Xu:Ku)(t,n)):Fe(this[e(1153)](),t)[e(1339)]}function Ru(n,e){return function(){const t=_0x5299;o0(this,n)[t(840)]=+e[t(1412)](this,arguments)}}function Ju(n,e){return e=+e,function(){const t=_0x5299;o0(this,n)[t(840)]=e}}function _u(n){const e=c;var t=this[e(1562)];return arguments[e(707)]?this[e(1683)]((typeof n=="function"?Ru:Ju)(t,n)):Fe(this[e(1153)](),t).duration}function Qu(n,e){const t=c;if(typeof e!==t(1568))throw new Error;return function(){const x=t;o0(this,n)[x(768)]=e}}function Fu(n){const e=c;var t=this[e(1562)];return arguments[e(707)]?this[e(1683)](Qu(t,n)):Fe(this[e(1153)](),t).ease}function $u(n,e){return function(){const t=_0x5299;var x=e[t(1412)](this,arguments);if(typeof x!==t(1568))throw new Error;o0(this,n)[t(768)]=x}}function ef(n){const e=c;if(typeof n!==e(1568))throw new Error;return this[e(1683)]($u(this[e(1562)],n))}function nf(n){const e=c;typeof n!==e(1568)&&(n=Sr(n));for(var t=this._groups,x=t[e(707)],r=new Array(x),o=0;o<x;++o)for(var i=t[o],a=i.length,u=r[o]=[],s,d=0;d<a;++d)(s=i[d])&&n.call(s,s.__data__,d,i)&&u.push(s);return new f0(r,this[e(977)],this[e(2239)],this._id)}function tf(n){const e=c;if(n[e(1562)]!==this[e(1562)])throw new Error;for(var t=this[e(747)],x=n[e(747)],r=t[e(707)],o=x[e(707)],i=Math[e(487)](r,o),a=new Array(r),u=0;u<i;++u)for(var s=t[u],d=x[u],f=s[e(707)],g=a[u]=new Array(f),b,v=0;v<f;++v)(b=s[v]||d[v])&&(g[v]=b);for(;u<r;++u)a[u]=t[u];return new f0(a,this[e(977)],this[e(2239)],this[e(1562)])}function xf(n){const e=c;return(n+"")[e(1404)]()[e(1246)](/^|\s+/)[e(1516)](function(t){const x=e;var r=t[x(2088)](".");return r>=0&&(t=t[x(1292)](0,r)),!t||t==="start"})}function of(n,e,t){var x,r,o=xf(e)?Vx:o0;return function(){const i=_0x5299;var a=o(this,n),u=a.on;u!==x&&(r=(x=u)[i(931)]()).on(e,t),a.on=r}}function rf(n,e){const t=c;var x=this[t(1562)];return arguments[t(707)]<2?Fe(this[t(1153)](),x).on.on(n):this.each(of(x,n,e))}function af(n){return function(){const e=_0x5299;var t=this[e(1725)];for(var x in this[e(944)])if(+x!==n)return;t&&t[e(1671)](this)}}function cf(){const n=c;return this.on("end.remove",af(this[n(1562)]))}function sf(n){const e=c;var t=this._name,x=this[e(1562)];typeof n!==e(1568)&&(n=Bx(n));for(var r=this._groups,o=r[e(707)],i=new Array(o),a=0;a<o;++a)for(var u=r[a],s=u[e(707)],d=i[a]=new Array(s),f,g,b=0;b<s;++b)(f=u[b])&&(g=n[e(1429)](f,f[e(514)],b,u))&&(e(514)in f&&(g[e(514)]=f[e(514)]),d[b]=g,It(d[b],t,x,b,d,Fe(f,x)));return new f0(i,this[e(977)],t,x)}function lf(n){const e=c;var t=this[e(2239)],x=this._id;typeof n!="function"&&(n=Nr(n));for(var r=this[e(747)],o=r[e(707)],i=[],a=[],u=0;u<o;++u)for(var s=r[u],d=s[e(707)],f,g=0;g<d;++g)if(f=s[g]){for(var b=n[e(1429)](f,f[e(514)],g,s),v,h=Fe(f,x),p=0,M=b[e(707)];p<M;++p)(v=b[p])&&It(v,t,x,p,b,h);i[e(1181)](b),a[e(1181)](f)}return new f0(i,a,t,x)}var df=Sn[c(1007)][c(994)];function uf(){const n=c;return new df(this._groups,this[n(977)])}function ff(n,e){var t,x,r;return function(){const o=_0x5299;var i=on(this,n),a=(this[o(693)][o(1717)](n),on(this,n));return i===a?null:i===t&&a===x?r:r=e(t=i,x=a)}}function fi(n){return function(){const e=_0x5299;this[e(693)][e(1717)](n)}}function bf(n,e,t){var x,r=t+"",o;return function(){var i=on(this,n);return i===r?null:i===x?o:o=e(x=i,t)}}function hf(n,e,t){var x,r,o;return function(){const i=_0x5299;var a=on(this,n),u=t(this),s=u+"";return u==null&&(s=u=(this.style[i(1717)](n),on(this,n))),a===s?null:a===x&&s===r?o:(r=s,o=e(x=a,u))}}function gf(n,e){const t=c;var x,r,o,i=t(2005)+e,a="end."+i,u;return function(){const s=t;var d=o0(this,n),f=d.on,g=d.value[i]==null?u||(u=fi(e)):void 0;(f!==x||o!==g)&&(r=(x=f)[s(931)]()).on(a,o=g),d.on=r}}function yf(n,e,t){const x=c;var r=(n+="")===x(2213)?yu:ui;return e==null?this[x(443)](n,ff(n,r)).on(x(1765)+n,fi(n)):typeof e===x(1568)?this[x(443)](n,hf(n,r,Hx(this,x(2005)+n,e)))[x(1683)](gf(this._id,n)):this[x(443)](n,bf(n,r,e),t).on(x(1765)+n,null)}function mf(n,e,t){return function(x){const r=_0x5299;this[r(693)].setProperty(n,e[r(1429)](this,x),t)}}function wf(n,e,t){const x=c;var r,o;function i(){var u=e[_0x5299(1412)](this,arguments);return u!==o&&(r=(o=u)&&mf(n,u,t)),r}return i[x(542)]=e,i}function vf(n,e,t){const x=c;var r=x(2005)+(n+="");if(arguments[x(707)]<2)return(r=this.tween(r))&&r._value;if(e==null)return this[x(1571)](r,null);if(typeof e!==x(1568))throw new Error;return this[x(1571)](r,wf(n,e,t??""))}function pf(n){return function(){const e=_0x5299;this[e(1978)]=n}}function zf(n){return function(){const e=_0x5299;var t=n(this);this[e(1978)]=t??""}}function Cf(n){const e=c;return this.tween(e(1100),typeof n===e(1568)?zf(Hx(this,e(1100),n)):pf(n==null?"":n+""))}function Mf(n){return function(e){const t=_0x5299;this[t(1978)]=n[t(1429)](this,e)}}function Bf(n){const e=c;var t,x;function r(){var o=n.apply(this,arguments);return o!==x&&(t=(x=o)&&Mf(o)),t}return r[e(542)]=n,r}function Df(n){const e=c;var t=e(1100);if(arguments[e(707)]<1)return(t=this[e(1571)](t))&&t[e(542)];if(n==null)return this.tween(t,null);if(typeof n!==e(1568))throw new Error;return this.tween(t,Bf(n))}function Lf(){const n=c;for(var e=this._name,t=this[n(1562)],x=bi(),r=this[n(747)],o=r[n(707)],i=0;i<o;++i)for(var a=r[i],u=a[n(707)],s,d=0;d<u;++d)if(s=a[d]){var f=Fe(s,t);It(s,e,x,d,a,{time:f[n(1498)]+f.delay+f[n(840)],delay:0,duration:f[n(840)],ease:f.ease})}return new f0(r,this[n(977)],e,x)}function Nf(){const n=c;var e,t,x=this,r=x._id,o=x[n(1634)]();return new Promise(function(i,a){const u=n;var s={value:a},d={value:function(){--o===0&&i()}};x[u(1683)](function(){const f=u;var g=o0(this,r),b=g.on;b!==e&&(t=(e=b)[f(931)](),t._[f(1529)][f(1181)](s),t._[f(1518)][f(1181)](s),t._[f(1149)].push(d)),g.on=t}),o===0&&i()})}var Sf=0;function f0(n,e,t,x){const r=c;this[r(747)]=n,this[r(977)]=e,this[r(2239)]=t,this._id=x}function bi(){return++Sf}var b0=Sn[c(1007)];f0[c(1007)]={constructor:f0,select:sf,selectAll:lf,selectChild:b0.selectChild,selectChildren:b0[c(551)],filter:nf,merge:tf,selection:uf,transition:Lf,call:b0[c(1429)],nodes:b0[c(824)],node:b0[c(1153)],size:b0[c(1634)],empty:b0[c(921)],each:b0.each,on:rf,attr:Gu,attrTween:Wu,style:yf,styleTween:vf,text:Cf,textTween:Df,remove:cf,tween:Pu,delay:Zu,duration:_u,ease:Fu,easeVarying:ef,end:Nf,[Symbol.iterator]:b0[Symbol[c(1805)]]};function kf(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var If={time:null,delay:0,duration:250,ease:kf};function Pf(n,e){const t=c;for(var x;!(x=n.__transition)||!(x=x[e]);)if(!(n=n.parentNode))throw new Error(t(2021)+e+t(1993));return x}function Af(n){const e=c;var t,x;n instanceof f0?(t=n[e(1562)],n=n._name):(t=bi(),(x=If)[e(1498)]=Yx(),n=n==null?null:n+"");for(var r=this[e(747)],o=r[e(707)],i=0;i<o;++i)for(var a=r[i],u=a[e(707)],s,d=0;d<u;++d)(s=a[d])&&It(s,n,t,d,a,x||Pf(s,t));return new f0(r,this[e(977)],n,t)}Sn[c(1007)][c(1518)]=Su,Sn.prototype[c(832)]=Af;const At=n=>()=>n;function jf(n,{sourceEvent:e,target:t,transform:x,dispatch:r}){Object[c(1270)](this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:t,enumerable:!0,configurable:!0},transform:{value:x,enumerable:!0,configurable:!0},_:{value:r}})}function h0(n,e,t){this.k=n,this.x=e,this.y=t}h0[c(1007)]={constructor:h0,scale:function(n){return n===1?this:new h0(this.k*n,this.x,this.y)},translate:function(n,e){return n===0&e===0?this:new h0(this.k,this.x+this.k*n,this.y+this.k*e)},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 e=c;return n[e(931)]()[e(554)](n[e(1894)]()[e(1577)](this[e(1649)],this)[e(1577)](n[e(580)],n))},rescaleY:function(n){const e=c;return n[e(931)]()[e(554)](n[e(1894)]()[e(1577)](this[e(1951)],this)[e(1577)](n[e(580)],n))},toString:function(){return c(1925)+this.x+","+this.y+") scale("+this.k+")"}};var jt=new h0(1,0,0);hi[c(1007)]=h0[c(1007)];function hi(n){const e=c;for(;!n.__zoom;)if(!(n=n.parentNode))return jt;return n[e(1027)]}function Tx(n){n.stopImmediatePropagation()}function Gn(n){const e=c;n[e(1502)](),n[e(1740)]()}function Ef(n){const e=c;return(!n[e(1877)]||n[e(1244)]===e(753))&&!n[e(1961)]}function Yf(){const n=c;var e=this;return e instanceof SVGElement?(e=e[n(1284)]||e,e[n(1374)](n(694))?(e=e[n(694)][n(2210)],[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e[n(831)].baseVal[n(1443)],e[n(469)][n(2210)][n(1443)]]]):[[0,0],[e[n(1653)],e[n(774)]]]}function gi(){return this.__zoom||jt}function Uf(n){const e=c;return-n[e(764)]*(n[e(1068)]===1?.05:n[e(1068)]?1:.002)*(n[e(1877)]?10:1)}function Of(){const n=c;return navigator[n(2070)]||n(657)in this}function Gf(n,e,t){const x=c;var r=n[x(1649)](e[0][0])-t[0][0],o=n[x(1649)](e[1][0])-t[1][0],i=n[x(1951)](e[0][1])-t[0][1],a=n.invertY(e[1][1])-t[1][1];return n.translate(o>r?(r+o)/2:Math.min(0,r)||Math[x(2014)](0,o),a>i?(i+a)/2:Math[x(487)](0,i)||Math.max(0,a))}function yi(){const n=c;var e=Ef,t=Yf,x=Gf,r=Uf,o=Of,i=[0,1/0],a=[[-1/0,-1/0],[1/0,1/0]],u=250,s=Mt,d=ft(n(1939),n(669),n(1149)),f,g,b,v=500,h=150,p=0,M=10;function m(L){const B=n;L[B(1476)](B(1027),gi).on(B(1943),T,{passive:!1}).on(B(1994),U).on("dblclick.zoom",Q)[B(1304)](o).on("touchstart.zoom",X).on(B(952),W).on("touchend.zoom touchcancel.zoom",O).style(B(539),B(1397))}m[n(2213)]=function(L,B,D,E){const A=n;var S=L[A(1797)]?L[A(1797)]():L;S[A(1476)]("__zoom",gi),L!==S?P(L,B,D,E):S[A(1518)]()[A(1683)](function(){const R=A;Y(this,arguments)[R(1532)](E)[R(1939)]()[R(669)](null,typeof B===R(1568)?B.apply(this,arguments):B)[R(1149)]()})},m[n(1184)]=function(L,B,D,E){const A=n;m[A(1096)](L,function(){const S=A;var R=this.__zoom.k,_=typeof B===S(1568)?B.apply(this,arguments):B;return R*_},D,E)},m[n(1096)]=function(L,B,D,E){const A=n;m[A(2213)](L,function(){const S=A;var R=t[S(1412)](this,arguments),_=this[S(1027)],Z=D==null?C(R):typeof D=="function"?D[S(1412)](this,arguments):D,$=_[S(580)](Z),te=typeof B===S(1568)?B.apply(this,arguments):B;return x(y(w(_,te),Z,$),R,a)},D,E)},m[n(1958)]=function(L,B,D,E){const A=n;m[A(2213)](L,function(){const S=A;return x(this[S(1027)][S(1520)](typeof B===S(1568)?B[S(1412)](this,arguments):B,typeof D=="function"?D[S(1412)](this,arguments):D),t.apply(this,arguments),a)},null,E)},m[n(2191)]=function(L,B,D,E,A){m.transform(L,function(){const S=_0x5299;var R=t[S(1412)](this,arguments),_=this.__zoom,Z=E==null?C(R):typeof E===S(1568)?E[S(1412)](this,arguments):E;return x(jt[S(1520)](Z[0],Z[1])[S(1113)](_.k)[S(1520)](typeof B===S(1568)?-B[S(1412)](this,arguments):-B,typeof D===S(1568)?-D[S(1412)](this,arguments):-D),R,a)},E,A)};function w(L,B){const D=n;return B=Math[D(2014)](i[0],Math[D(487)](i[1],B)),B===L.k?L:new h0(B,L.x,L.y)}function y(L,B,D){var E=B[0]-D[0]*L.k,A=B[1]-D[1]*L.k;return E===L.x&&A===L.y?L:new h0(L.k,E,A)}function C(L){return[(+L[0][0]+ +L[1][0])/2,(+L[0][1]+ +L[1][1])/2]}function P(L,B,D,E){const A=n;L.on(A(2071),function(){const S=A;Y(this,arguments).event(E)[S(1939)]()}).on(A(1163),function(){const S=A;Y(this,arguments)[S(1532)](E)[S(1149)]()})[A(1571)](A(669),function(){const S=A;var R=this,_=arguments,Z=Y(R,_)[S(1532)](E),$=t[S(1412)](R,_),te=D==null?C($):typeof D=="function"?D[S(1412)](R,_):D,se=Math.max($[1][0]-$[0][0],$[1][1]-$[0][1]),ce=R[S(1027)],re=typeof B===S(1568)?B.apply(R,_):B,xe=s(ce[S(580)](te)[S(623)](se/ce.k),re[S(580)](te)[S(623)](se/re.k));return function(ne){const ae=S;if(ne===1)ne=re;else{var I=xe(ne),k=se/I[2];ne=new h0(k,te[0]-I[0]*k,te[1]-I[1]*k)}Z[ae(669)](null,ne)}})}function Y(L,B,D){return!D&&L.__zooming||new G(L,B)}function G(L,B){const D=n;this[D(2153)]=L,this.args=B,this.active=0,this[D(608)]=null,this[D(1650)]=t[D(1412)](L,B),this[D(550)]=0}G[n(1007)]={event:function(L){const B=n;return L&&(this[B(608)]=L),this},start:function(){const L=n;return++this[L(1807)]===1&&(this[L(2153)][L(971)]=this,this.emit("start")),this},zoom:function(L,B){const D=n;return this.mouse&&L!=="mouse"&&(this.mouse[1]=B[D(580)](this[D(1393)][0])),this[D(1728)]&&L!==D(1559)&&(this[D(1728)][1]=B[D(580)](this.touch0[0])),this[D(1040)]&&L!==D(1559)&&(this.touch1[1]=B.invert(this[D(1040)][0])),this.that[D(1027)]=B,this.emit(D(669)),this},end:function(){const L=n;return--this[L(1807)]===0&&(delete this.that[L(971)],this[L(991)](L(1149))),this},emit:function(L){const B=n;var D=qe(this.that)[B(1400)]();d[B(1429)](L,this[B(2153)],new jf(L,{sourceEvent:this[B(608)],target:m,transform:this[B(2153)][B(1027)],dispatch:d}),D)}};function T(L,...B){const D=n;if(!e[D(1412)](this,arguments))return;var E=Y(this,B).event(L),A=this[D(1027)],S=Math[D(2014)](i[0],Math[D(487)](i[1],A.k*Math[D(1312)](2,r[D(1412)](this,arguments)))),R=_e(L);if(E[D(753)])(E.mouse[0][0]!==R[0]||E[D(1393)][0][1]!==R[1])&&(E[D(1393)][1]=A[D(580)](E.mouse[0]=R)),clearTimeout(E[D(753)]);else{if(A.k===S)return;E[D(1393)]=[R,A[D(580)](R)],Pt(this),E[D(1939)]()}Gn(L),E[D(753)]=setTimeout(_,h),E[D(669)]("mouse",x(y(w(A,S),E[D(1393)][0],E[D(1393)][1]),E[D(1650)],a));function _(){const Z=D;E.wheel=null,E[Z(1149)]()}}function U(L,...B){const D=n;if(b||!e[D(1412)](this,arguments))return;var E=L.currentTarget,A=Y(this,B,!0).event(L),S=qe(L[D(1210)]).on(D(725),$,!0).on(D(1942),te,!0),R=_e(L,E),_=L[D(1915)],Z=L[D(1506)];Gr(L[D(1210)]),Tx(L),A[D(1393)]=[R,this.__zoom[D(580)](R)],Pt(this),A[D(1939)]();function $(se){const ce=D;if(Gn(se),!A[ce(1611)]){var re=se[ce(1915)]-_,xe=se.clientY-Z;A[ce(1611)]=re*re+xe*xe>p}A[ce(1532)](se)[ce(669)](ce(1393),x(y(A[ce(2153)][ce(1027)],A[ce(1393)][0]=_e(se,E),A[ce(1393)][1]),A[ce(1650)],a))}function te(se){const ce=D;S.on(ce(2094),null),Vr(se[ce(1210)],A[ce(1611)]),Gn(se),A[ce(1532)](se).end()}}function Q(L,...B){const D=n;if(e.apply(this,arguments)){var E=this[D(1027)],A=_e(L[D(1957)]?L[D(1957)][0]:L,this),S=E[D(580)](A),R=E.k*(L[D(562)]?.5:2),_=x(y(w(E,R),A,S),t[D(1412)](this,B),a);Gn(L),u>0?qe(this)[D(832)]()[D(840)](u)[D(1429)](P,_,A,L):qe(this).call(m[D(2213)],_,A,L)}}function X(L,...B){const D=n;if(e.apply(this,arguments)){var E=L[D(1709)],A=E[D(707)],S=Y(this,B,L[D(1957)][D(707)]===A)[D(1532)](L),R,_,Z,$;for(Tx(L),_=0;_<A;++_)Z=E[_],$=_e(Z,this),$=[$,this[D(1027)].invert($),Z.identifier],S[D(1728)]?!S[D(1040)]&&S[D(1728)][2]!==$[2]&&(S[D(1040)]=$,S[D(550)]=0):(S[D(1728)]=$,R=!0,S[D(550)]=1+!!f);f&&(f=clearTimeout(f)),R&&(S[D(550)]<2&&(g=$[0],f=setTimeout(function(){f=null},v)),Pt(this),S[D(1939)]())}}function W(L,...B){const D=n;if(this[D(971)]){var E=Y(this,B)[D(1532)](L),A=L[D(1957)],S=A.length,R,_,Z,$;for(Gn(L),R=0;R<S;++R)_=A[R],Z=_e(_,this),E[D(1728)]&&E[D(1728)][2]===_[D(1035)]?E[D(1728)][0]=Z:E[D(1040)]&&E[D(1040)][2]===_[D(1035)]&&(E[D(1040)][0]=Z);if(_=E[D(2153)].__zoom,E.touch1){var te=E[D(1728)][0],se=E[D(1728)][1],ce=E[D(1040)][0],re=E[D(1040)][1],xe=(xe=ce[0]-te[0])*xe+(xe=ce[1]-te[1])*xe,ne=(ne=re[0]-se[0])*ne+(ne=re[1]-se[1])*ne;_=w(_,Math[D(1116)](xe/ne)),Z=[(te[0]+ce[0])/2,(te[1]+ce[1])/2],$=[(se[0]+re[0])/2,(se[1]+re[1])/2]}else if(E.touch0)Z=E[D(1728)][0],$=E[D(1728)][1];else return;E[D(669)]("touch",x(y(_,Z,$),E.extent,a))}}function O(L,...B){const D=n;if(this[D(971)]){var E=Y(this,B)[D(1532)](L),A=L[D(1957)],S=A[D(707)],R,_;for(Tx(L),b&&clearTimeout(b),b=setTimeout(function(){b=null},v),R=0;R<S;++R)_=A[R],E.touch0&&E[D(1728)][2]===_.identifier?delete E.touch0:E[D(1040)]&&E[D(1040)][2]===_[D(1035)]&&delete E[D(1040)];if(E[D(1040)]&&!E[D(1728)]&&(E[D(1728)]=E[D(1040)],delete E[D(1040)]),E[D(1728)])E.touch0[1]=this[D(1027)][D(580)](E.touch0[0]);else if(E[D(1149)](),E[D(550)]===2&&(_=_e(_,this),Math[D(1323)](g[0]-_[0],g[1]-_[1])<M)){var Z=qe(this).on(D(1517));Z&&Z.apply(this,arguments)}}}return m[n(2218)]=function(L){const B=n;return arguments[B(707)]?(r=typeof L===B(1568)?L:At(+L),m):r},m[n(1304)]=function(L){const B=n;return arguments[B(707)]?(e=typeof L===B(1568)?L:At(!!L),m):e},m[n(1867)]=function(L){const B=n;return arguments.length?(o=typeof L===B(1568)?L:At(!!L),m):o},m[n(1650)]=function(L){const B=n;return arguments[B(707)]?(t=typeof L===B(1568)?L:At([[+L[0][0],+L[0][1]],[+L[1][0],+L[1][1]]]),m):t},m[n(1757)]=function(L){return arguments[n(707)]?(i[0]=+L[0],i[1]=+L[1],m):[i[0],i[1]]},m[n(1138)]=function(L){return arguments[n(707)]?(a[0][0]=+L[0][0],a[1][0]=+L[1][0],a[0][1]=+L[0][1],a[1][1]=+L[1][1],m):[[a[0][0],a[0][1]],[a[1][0],a[1][1]]]},m[n(1576)]=function(L){return arguments[n(707)]?(x=L,m):x},m.duration=function(L){return arguments[n(707)]?(u=+L,m):u},m.interpolate=function(L){return arguments[n(707)]?(s=L,m):s},m.on=function(){const L=n;var B=d.on[L(1412)](d,arguments);return B===d?m:B},m[n(1691)]=function(L){const B=n;return arguments[B(707)]?(p=(L=+L)*L,m):Math[B(1116)](p)},m[n(1654)]=function(L){return arguments[n(707)]?(M=+L,m):M},m}const We={error001:()=>c(2154),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:n=>c(1191)+n+'" not found. Using fallback type "default".',error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>c(496),error006:()=>c(741),error007:n=>c(2051)+n+c(1926),error009:n=>'Marker type "'+n+c(1897),error008:(n,{id:e,sourceHandle:t,targetHandle:x})=>c(1086)+n+c(1224)+(n===c(984)?t:x)+c(2130)+e+".",error010:()=>c(1362),error011:n=>'Edge type "'+n+c(518),error012:n=>c(862)+n+c(1612),error013:(n="react")=>c(1947)+n+c(2012),error014:()=>c(2058),error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},Vn=[[Number[c(561)],Number[c(561)]],[Number[c(1127)],Number[c(1127)]]],mi=[c(1465)," ",c(778)],wi={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":c(474),"node.a11yDescription.ariaLiveMessage":({direction:n,x:e,y:t})=>"Moved selected node "+n+c(630)+e+c(1333)+t,"edge.a11yDescription.default":c(1880),"controls.ariaLabel":c(663),"controls.zoomIn.ariaLabel":c(1587),"controls.zoomOut.ariaLabel":c(1018),"controls.fitView.ariaLabel":c(1119),"controls.interactive.ariaLabel":c(868),"minimap.ariaLabel":c(659),"handle.ariaLabel":c(999)};var sn;(function(n){const e=c;n[e(605)]=e(738),n.Loose=e(1524)})(sn||(sn={}));var Y0;(function(n){const e=c;n[e(1196)]=e(527),n.Vertical=e(1309),n[e(2183)]="horizontal"})(Y0||(Y0={}));var Hn;(function(n){const e=c;n[e(660)]="partial",n.Full="full"})(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 v0;(function(n){const e=c;n[e(1973)]="default",n[e(771)]="straight",n[e(1715)]=e(1067),n[e(2078)]=e(1207),n[e(1463)]=e(1699)})(v0||(v0={}));var Et;(function(n){const e=c;n[e(1396)]=e(1895),n[e(798)]="arrowclosed"})(Et||(Et={}));var ue;(function(n){const e=c;n[e(767)]=e(1446),n.Top="top",n.Right=e(2223),n.Bottom=e(815)})(ue||(ue={}));const pi={[ue[c(767)]]:ue[c(930)],[ue[c(930)]]:ue[c(767)],[ue[c(1375)]]:ue[c(1874)],[ue[c(1874)]]:ue[c(1375)]};function zi(n){const e=c;return n===null?null:e(n?1010:1183)}const Ci=n=>"id"in n&&c(984)in n&&"target"in n,Vf=n=>"id"in n&&"position"in n&&!(c(984)in n)&&!(c(1470)in n),qx=n=>"id"in n&&c(972)in n&&!(c(984)in n)&&!("target"in n),Tn=(n,e=[0,0])=>{const t=c,{width:x,height:r}=g0(n),o=n[t(1948)]??e,i=x*o[0],a=r*o[1];return{x:n[t(818)].x-i,y:n[t(818)].y-a}},Hf=(n,e={nodeOrigin:[0,0]})=>{const t=c;if(process.env.NODE_ENV===t(1704)&&!e[t(979)]&&console[t(704)](t(1255)),n[t(707)]===0)return{x:0,y:0,width:0,height:0};const x=n.reduce((r,o)=>{const i=t,a=typeof o===i(1857);let u=!e.nodeLookup&&!a?o:void 0;e.nodeLookup&&(u=a?e[i(979)][i(1710)](o):qx(o)?o:e[i(979)][i(1710)](o.id));const s=u?Ot(u,e[i(1432)]):{x:0,y:0,x2:0,y2:0};return Yt(r,s)},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return Ut(x)},qn=(n,e={})=>{const t=c;let x={x:1/0,y:1/0,x2:-1/0,y2:-1/0},r=!1;return n[t(1753)](o=>{const i=t;(e[i(1304)]===void 0||e[i(1304)](o))&&(x=Yt(x,Ot(o)),r=!0)}),r?Ut(x):{x:0,y:0,width:0,height:0}},Wx=(n,e,[t,x,r]=[0,0,1],o=!1,i=!1)=>{const a=c,u={...Kn(e,[t,x,r]),width:e.width/r,height:e[a(469)]/r},s=[];for(const d of n[a(779)]()){const{measured:f,selectable:g=!0,hidden:b=!1}=d;if(i&&!g||b)continue;const v=f.width??d[a(831)]??d[a(2085)]??null,h=f[a(469)]??d[a(469)]??d.initialHeight??null,p=Wn(u,dn(d)),M=(v??0)*(h??0),m=o&&p>0;(!d[a(972)][a(735)]||m||p>=M||d[a(2216)])&&s[a(1181)](d)}return s},Tf=(n,e)=>{const t=c,x=new Set;return n[t(1753)](r=>{x[t(690)](r.id)}),e[t(1304)](r=>x[t(1411)](r[t(984)])||x[t(1411)](r.target))};function qf(n,e){const t=c,x=new Map,r=e?.[t(824)]?new Set(e[t(824)][t(1577)](o=>o.id)):null;return n.forEach(o=>{const i=t;o[i(485)][i(831)]&&o[i(485)][i(469)]&&(e?.includeHiddenNodes||!o[i(457)])&&(!r||r[i(1411)](o.id))&&x[i(2110)](o.id,o)}),x}async function Wf({nodes:n,width:e,height:t,panZoom:x,minZoom:r,maxZoom:o},i){const a=c;if(n[a(1634)]===0)return Promise[a(732)](!0);const u=qf(n,i),s=qn(u),d=Kx(s,e,t,i?.[a(1088)]??r,i?.maxZoom??o,i?.padding??.1);return await x[a(2e3)](d,{duration:i?.[a(840)],ease:i?.[a(768)],interpolate:i?.[a(820)]}),Promise[a(732)](!0)}function Mi({nodeId:n,nextPosition:e,nodeLookup:t,nodeOrigin:x=[0,0],nodeExtent:r,onError:o}){const i=c,a=t[i(1710)](n),u=a[i(1497)]?t.get(a[i(1497)]):void 0,{x:s,y:d}=u?u[i(972)][i(2238)]:{x:0,y:0},f=a.origin??x;let g=a[i(1650)]||r;if(a[i(1650)]==="parent"&&!a.expandParent)if(!u)o?.("005",We[i(2109)]());else{const v=u[i(485)][i(831)],h=u[i(485)][i(469)];v&&h&&(g=[[s,d],[s+v,d+h]])}else u&&fn(a[i(1650)])&&(g=[[a[i(1650)][0][0]+s,a[i(1650)][0][1]+d],[a.extent[1][0]+s,a.extent[1][1]+d]]);const b=fn(g)?U0(e,g,a[i(485)]):e;return(a[i(485)].width===void 0||a[i(485)].height===void 0)&&o?.(i(1361),We[i(1679)]()),{position:{x:b.x-s+(a[i(485)].width??0)*f[0],y:b.y-d+(a[i(485)][i(469)]??0)*f[1]},positionAbsolute:b}}async function Xf({nodesToRemove:n=[],edgesToRemove:e=[],nodes:t,edges:x,onBeforeDelete:r}){const o=c,i=new Set(n.map(b=>b.id)),a=[];for(const b of t){if(b.deletable===!1)continue;const v=i.has(b.id),h=!v&&b[o(1497)]&&a[o(1043)](p=>p.id===b[o(1497)]);(v||h)&&a[o(1181)](b)}const u=new Set(e[o(1577)](b=>b.id)),s=x[o(1304)](b=>b[o(1085)]!==!1),d=Tf(a,s),f=d;for(const b of s)u[o(1411)](b.id)&&!f.find(h=>h.id===b.id)&&f[o(1181)](b);if(!r)return{edges:f,nodes:a};const g=await r({nodes:a,edges:f});return typeof g===o(790)?g?{edges:f,nodes:a}:{edges:[],nodes:[]}:g}const ln=(n,e=0,t=1)=>Math[c(487)](Math.max(n,e),t),U0=(n={x:0,y:0},e,t)=>({x:ln(n.x,e[0][0],e[1][0]-(t?.[c(831)]??0)),y:ln(n.y,e[0][1],e[1][1]-(t?.[c(469)]??0))});function Bi(n,e,t){const x=c,{width:r,height:o}=g0(t),{x:i,y:a}=t[x(972)][x(2238)];return U0(n,[[i,a],[i+r,a+o]],e)}const Di=(n,e,t)=>{const x=c;return n<e?ln(Math[x(2106)](n-e),1,e)/e:n>t?-ln(Math.abs(n-t),1,e)/e:0},Li=(n,e,t=15,x=40)=>{const r=c,o=Di(n.x,x,e[r(831)]-x)*t,i=Di(n.y,x,e[r(469)]-x)*t;return[o,i]},Yt=(n,e)=>({x:Math.min(n.x,e.x),y:Math[c(487)](n.y,e.y),x2:Math[c(2014)](n.x2,e.x2),y2:Math[c(2014)](n.y2,e.y2)}),Xx=({x:n,y:e,width:t,height:x})=>({x:n,y:e,x2:n+t,y2:e+x}),Ut=({x:n,y:e,x2:t,y2:x})=>({x:n,y:e,width:t-n,height:x-e}),dn=(n,e=[0,0])=>{const t=c,{x,y:r}=qx(n)?n.internals[t(2238)]:Tn(n,e);return{x,y:r,width:n[t(485)]?.[t(831)]??n[t(831)]??n[t(2085)]??0,height:n[t(485)]?.height??n.height??n[t(1281)]??0}},Ot=(n,e=[0,0])=>{const t=c,{x,y:r}=qx(n)?n.internals[t(2238)]:Tn(n,e);return{x,y:r,x2:x+(n.measured?.width??n[t(831)]??n[t(2085)]??0),y2:r+(n.measured?.[t(469)]??n[t(469)]??n[t(1281)]??0)}},Ni=(n,e)=>Ut(Yt(Xx(n),Xx(e))),Wn=(n,e)=>{const t=c,x=Math[t(2014)](0,Math.min(n.x+n[t(831)],e.x+e.width)-Math[t(2014)](n.x,e.x)),r=Math[t(2014)](0,Math[t(487)](n.y+n[t(469)],e.y+e[t(469)])-Math[t(2014)](n.y,e.y));return Math[t(501)](x*r)},Si=n=>$e(n[c(831)])&&$e(n[c(469)])&&$e(n.x)&&$e(n.y),$e=n=>!isNaN(n)&&isFinite(n),ki=(n,e)=>{const t=c;process.env.NODE_ENV===t(1704)&&console.warn(t(1744)+e+t(724)+n)},Xn=(n,e=[1,1])=>{const t=c;return{x:e[0]*Math.round(n.x/e[0]),y:e[1]*Math[t(1910)](n.y/e[1])}},Kn=({x:n,y:e},[t,x,r],o=!1,i=[1,1])=>{const a={x:(n-t)/r,y:(e-x)/r};return o?Xn(a,i):a},Gt=({x:n,y:e},[t,x,r])=>({x:n*r+t,y:e*r+x});function un(n,e){const t=c;if(typeof n=="number")return Math[t(526)]((e-e/(1+n))*.5);if(typeof n===t(1857)&&n[t(2241)]("px")){const x=parseFloat(n);if(!Number.isNaN(x))return Math[t(526)](x)}if(typeof n===t(1857)&&n[t(2241)]("%")){const x=parseFloat(n);if(!Number.isNaN(x))return Math[t(526)](e*x*.01)}return console[t(1531)](t(851)+n+t(789)),0}function Kf(n,e,t){const x=c;if(typeof n===x(1857)||typeof n===x(2134)){const r=un(n,t),o=un(n,e);return{top:r,right:o,bottom:r,left:o,x:o*2,y:r*2}}if(typeof n=="object"){const r=un(n.top??n.y??0,t),o=un(n[x(815)]??n.y??0,t),i=un(n[x(1446)]??n.x??0,e),a=un(n.right??n.x??0,e);return{top:r,right:a,bottom:o,left:i,x:i+a,y:r+o}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function Zf(n,e,t,x,r,o){const i=c,{x:a,y:u}=Gt(n,[e,t,x]),{x:s,y:d}=Gt({x:n.x+n[i(831)],y:n.y+n[i(469)]},[e,t,x]),f=r-s,g=o-d;return{left:Math[i(526)](a),top:Math[i(526)](u),right:Math.floor(f),bottom:Math[i(526)](g)}}const Kx=(n,e,t,x,r,o)=>{const i=c,a=Kf(o,e,t),u=(e-a.x)/n[i(831)],s=(t-a.y)/n[i(469)],d=Math[i(487)](u,s),f=ln(d,x,r),g=n.x+n[i(831)]/2,b=n.y+n.height/2,v=e/2-g*f,h=t/2-b*f,p=Zf(n,v,h,f,e,t),M={left:Math[i(487)](p.left-a.left,0),top:Math[i(487)](p[i(2043)]-a.top,0),right:Math[i(487)](p[i(2223)]-a[i(2223)],0),bottom:Math[i(487)](p[i(815)]-a[i(815)],0)};return{x:v-M[i(1446)]+M.right,y:h-M[i(2043)]+M[i(815)],zoom:f}},Zn=()=>typeof navigator!==c(2157)&&navigator?.[c(1732)]?.[c(2088)](c(1217))>=0;function fn(n){const e=c;return n!=null&&n!==e(2181)}function g0(n){const e=c;return{width:n[e(485)]?.[e(831)]??n[e(831)]??n[e(2085)]??0,height:n[e(485)]?.height??n[e(469)]??n[e(1281)]??0}}function Ii(n){const e=c;return(n[e(485)]?.[e(831)]??n[e(831)]??n[e(2085)])!==void 0&&(n.measured?.[e(469)]??n[e(469)]??n[e(1281)])!==void 0}function Pi(n,e={width:0,height:0},t,x,r){const o=c,i={...n},a=x[o(1710)](t);if(a){const u=a[o(1948)]||r;i.x+=a.internals[o(2238)].x-(e[o(831)]??0)*u[0],i.y+=a[o(972)][o(2238)].y-(e.height??0)*u[1]}return i}function Ai(n,e){const t=c;if(n[t(1634)]!==e[t(1634)])return!1;for(const x of n)if(!e[t(1411)](x))return!1;return!0}function Rf(){let n,e;return{promise:new Promise((x,r)=>{n=x,e=r}),resolve:n,reject:e}}function Jf(n){return{...wi,...n||{}}}function Rn(n,{snapGrid:e=[0,0],snapToGrid:t=!1,transform:x,containerBounds:r}){const o=c,{x:i,y:a}=e0(n),u=Kn({x:i-(r?.[o(1446)]??0),y:a-(r?.[o(2043)]??0)},x),{x:s,y:d}=t?Xn(u,e):u;return{xSnapped:s,ySnapped:d,...u}}const Zx=n=>({width:n[c(698)],height:n[c(1340)]}),ji=n=>n?.[c(1264)]?.()||window?.[c(1648)],_f=[c(602),c(1063),c(1927)];function Ei(n){const e=c,t=n.composedPath?.()?.[0]||n[e(1470)];return t?.[e(1511)]!==1?!1:_f[e(1405)](t.nodeName)||t.hasAttribute(e(2141))||!!t.closest(e(1633))}const Yi=n=>"clientX"in n,e0=(n,e)=>{const t=c,x=Yi(n),r=x?n.clientX:n.touches?.[0][t(1915)],o=x?n[t(1506)]:n[t(1709)]?.[0][t(1506)];return{x:r-(e?.[t(1446)]??0),y:o-(e?.top??0)}},Ui=(n,e,t,x,r)=>{const o=c,i=e[o(1082)]("."+n);return!i||!i[o(707)]?null:Array.from(i).map(a=>{const u=o,s=a.getBoundingClientRect();return{id:a[u(1104)](u(1680)),type:n,nodeId:r,position:a.getAttribute(u(1061)),x:(s[u(1446)]-t.left)/x,y:(s[u(2043)]-t.top)/x,...Zx(a)}})};function Oi({sourceX:n,sourceY:e,targetX:t,targetY:x,sourceControlX:r,sourceControlY:o,targetControlX:i,targetControlY:a}){const u=c,s=n*.125+r*.375+i*.375+t*.125,d=e*.125+o*.375+a*.375+x*.125,f=Math[u(2106)](s-n),g=Math[u(2106)](d-e);return[s,d,f,g]}function Vt(n,e){const t=c;return n>=0?.5*n:e*25*Math[t(1116)](-n)}function Gi({pos:n,x1:e,y1:t,x2:x,y2:r,c:o}){const i=c;switch(n){case ue.Left:return[e-Vt(e-x,o),t];case ue[i(930)]:return[e+Vt(x-e,o),t];case ue[i(1375)]:return[e,t-Vt(t-r,o)];case ue[i(1874)]:return[e,t+Vt(r-t,o)]}}function Vi({sourceX:n,sourceY:e,sourcePosition:t=ue[c(1874)],targetX:x,targetY:r,targetPosition:o=ue[c(1375)],curvature:i=.25}){const[a,u]=Gi({pos:t,x1:n,y1:e,x2:x,y2:r,c:i}),[s,d]=Gi({pos:o,x1:x,y1:r,x2:n,y2:e,c:i}),[f,g,b,v]=Oi({sourceX:n,sourceY:e,targetX:x,targetY:r,sourceControlX:a,sourceControlY:u,targetControlX:s,targetControlY:d});return["M"+n+","+e+" C"+a+","+u+" "+s+","+d+" "+x+","+r,f,g,b,v]}function Hi({sourceX:n,sourceY:e,targetX:t,targetY:x}){const r=c,o=Math[r(2106)](t-n)/2,i=t<n?t+o:t-o,a=Math[r(2106)](x-e)/2,u=x<e?x+a:x-a;return[i,u,o,a]}function Qf({sourceNode:n,targetNode:e,selected:t=!1,zIndex:x=0,elevateOnSelect:r=!1,zIndexMode:o=c(937)}){const i=c;if(o===i(1602))return x;const a=r&&t?x+1e3:x,u=Math[i(2014)](n[i(1497)]||r&&n[i(857)]?n[i(972)].z:0,e[i(1497)]||r&&e[i(857)]?e.internals.z:0);return a+u}function Ff({sourceNode:n,targetNode:e,width:t,height:x,transform:r}){const o=Yt(Ot(n),Ot(e));o.x===o.x2&&(o.x2+=1),o.y===o.y2&&(o.y2+=1);const i={x:-r[0]/r[2],y:-r[1]/r[2],width:t/r[2],height:x/r[2]};return Wn(i,Ut(o))>0}const $f=({source:n,sourceHandle:e,target:t,targetHandle:x})=>"xy-edge__"+n+(e||"")+"-"+t+(x||""),eb=(n,e)=>{const t=c;return e[t(1423)](x=>x.source===n[t(984)]&&x[t(1470)]===n.target&&(x.sourceHandle===n.sourceHandle||!x[t(1763)]&&!n[t(1763)])&&(x[t(1252)]===n[t(1252)]||!x[t(1252)]&&!n[t(1252)]))},Ti=(n,e,t={})=>{const x=c;if(!n.source||!n.target)return ki(x(2096),We.error006()),e;const r=t.getEdgeId||$f;let o;return Ci(n)?o={...n}:o={...n,id:r(n)},eb(o,e)?e:(o[x(1763)]===null&&delete o[x(1763)],o[x(1252)]===null&&delete o.targetHandle,e[x(623)](o))};function qi({sourceX:n,sourceY:e,targetX:t,targetY:x}){const[r,o,i,a]=Hi({sourceX:n,sourceY:e,targetX:t,targetY:x});return["M "+n+","+e+"L "+t+","+x,r,o,i,a]}const Wi={[ue.Left]:{x:-1,y:0},[ue[c(930)]]:{x:1,y:0},[ue[c(1375)]]:{x:0,y:-1},[ue[c(1874)]]:{x:0,y:1}},nb=({source:n,sourcePosition:e=ue.Bottom,target:t})=>{const x=c;return e===ue[x(767)]||e===ue[x(930)]?n.x<t.x?{x:1,y:0}:{x:-1,y:0}:n.y<t.y?{x:0,y:1}:{x:0,y:-1}},Xi=(n,e)=>Math[c(1116)](Math[c(1312)](e.x-n.x,2)+Math[c(1312)](e.y-n.y,2));function tb({source:n,sourcePosition:e=ue[c(1874)],target:t,targetPosition:x=ue.Top,center:r,offset:o,stepPosition:i}){const a=c,u=Wi[e],s=Wi[x],d={x:n.x+u.x*o,y:n.y+u.y*o},f={x:t.x+s.x*o,y:t.y+s.y*o},g=nb({source:d,sourcePosition:e,target:f}),b=g.x!==0?"x":"y",v=g[b];let h=[],p,M;const m={x:0,y:0},w={x:0,y:0},[,,y,C]=Hi({sourceX:n.x,sourceY:n.y,targetX:t.x,targetY:t.y});if(u[b]*s[b]===-1){b==="x"?(p=r.x??d.x+(f.x-d.x)*i,M=r.y??(d.y+f.y)/2):(p=r.x??(d.x+f.x)/2,M=r.y??d.y+(f.y-d.y)*i);const T=[{x:p,y:d.y},{x:p,y:f.y}],U=[{x:d.x,y:M},{x:f.x,y:M}];u[b]===v?h=b==="x"?T:U:h=b==="x"?U:T}else{const T=[{x:d.x,y:f.y}],U=[{x:f.x,y:d.y}];if(b==="x"?h=u.x===v?U:T:h=u.y===v?T:U,e===x){const L=Math.abs(n[b]-t[b]);if(L<=o){const B=Math[a(487)](o-1,o-L);u[b]===v?m[b]=(d[b]>n[b]?-1:1)*B:w[b]=(f[b]>t[b]?-1:1)*B}}if(e!==x){const L=b==="x"?"y":"x",B=u[b]===s[L],D=d[L]>f[L],E=d[L]<f[L];(u[b]===1&&(!B&&D||B&&E)||u[b]!==1&&(!B&&E||B&&D))&&(h=b==="x"?T:U)}const Q={x:d.x+m.x,y:d.y+m.y},X={x:f.x+w.x,y:f.y+w.y},W=Math[a(2014)](Math[a(2106)](Q.x-h[0].x),Math[a(2106)](X.x-h[0].x)),O=Math[a(2014)](Math[a(2106)](Q.y-h[0].y),Math[a(2106)](X.y-h[0].y));W>=O?(p=(Q.x+X.x)/2,M=h[0].y):(p=h[0].x,M=(Q.y+X.y)/2)}const P={x:d.x+m.x,y:d.y+m.y},Y={x:f.x+w.x,y:f.y+w.y};return[[n,...P.x!==h[0].x||P.y!==h[0].y?[P]:[],...h,...Y.x!==h[h[a(707)]-1].x||Y.y!==h[h.length-1].y?[Y]:[],t],p,M,y,C]}function xb(n,e,t,x){const r=Math.min(Xi(n,e)/2,Xi(e,t)/2,x),{x:o,y:i}=e;if(n.x===o&&o===t.x||n.y===i&&i===t.y)return"L"+o+" "+i;if(n.y===i){const s=n.x<t.x?-1:1,d=n.y<t.y?1:-1;return"L "+(o+r*s)+","+i+"Q "+o+","+i+" "+o+","+(i+r*d)}const a=n.x<t.x?1:-1,u=n.y<t.y?-1:1;return"L "+o+","+(i+r*u)+"Q "+o+","+i+" "+(o+r*a)+","+i}function Rx({sourceX:n,sourceY:e,sourcePosition:t=ue[c(1874)],targetX:x,targetY:r,targetPosition:o=ue[c(1375)],borderRadius:i=5,centerX:a,centerY:u,offset:s=20,stepPosition:d=.5}){const f=c,[g,b,v,h,p]=tb({source:{x:n,y:e},sourcePosition:t,target:{x,y:r},targetPosition:o,center:{x:a,y:u},offset:s,stepPosition:d});let M="M"+g[0].x+" "+g[0].y;for(let m=1;m<g.length-1;m++)M+=xb(g[m-1],g[m],g[m+1],i);return M+="L"+g[g[f(707)]-1].x+" "+g[g[f(707)]-1].y,[M,b,v,h,p]}function Ki(n){const e=c;return n&&!!(n[e(972)][e(735)]||n[e(1873)]?.[e(707)])&&!!(n[e(485)].width||n[e(831)]||n[e(2085)])}function ob(n){const e=c,{sourceNode:t,targetNode:x}=n;if(!Ki(t)||!Ki(x))return null;const r=t[e(972)][e(735)]||Zi(t[e(1873)]),o=x[e(972)].handleBounds||Zi(x.handles),i=Ri(r?.[e(984)]??[],n[e(1763)]),a=Ri(n[e(729)]===sn[e(605)]?o?.[e(1470)]??[]:(o?.[e(1470)]??[])[e(623)](o?.[e(984)]??[]),n[e(1252)]);if(!i||!a)return n.onError?.(e(1305),We[e(1186)](i?"target":e(984),{id:n.id,sourceHandle:n.sourceHandle,targetHandle:n[e(1252)]})),null;const u=i?.position||ue[e(1874)],s=a?.[e(818)]||ue[e(1375)],d=O0(t,i,u),f=O0(x,a,s);return{sourceX:d.x,sourceY:d.y,targetX:f.x,targetY:f.y,sourcePosition:u,targetPosition:s}}function Zi(n){const e=c;if(!n)return null;const t=[],x=[];for(const r of n)r[e(831)]=r[e(831)]??1,r[e(469)]=r[e(469)]??1,r[e(1244)]==="source"?t.push(r):r[e(1244)]===e(1470)&&x[e(1181)](r);return{source:t,target:x}}function O0(n,e,t=ue[c(767)],x=!1){const r=c,o=(e?.x??0)+n[r(972)][r(2238)].x,i=(e?.y??0)+n[r(972)][r(2238)].y,{width:a,height:u}=e??g0(n);if(x)return{x:o+a/2,y:i+u/2};switch(e?.[r(818)]??t){case ue[r(1375)]:return{x:o+a/2,y:i};case ue[r(930)]:return{x:o+a,y:i+u/2};case ue[r(1874)]:return{x:o+a/2,y:i+u};case ue[r(767)]:return{x:o,y:i+u/2}}}function Ri(n,e){const t=c;return n&&(e?n[t(1043)](x=>x.id===e):n[0])||null}function Jx(n,e){const t=c;return n?typeof n=="string"?n:""+(e?e+"__":"")+Object[t(864)](n)[t(668)]()[t(1577)](r=>r+"="+n[r])[t(1076)]("&"):""}function rb(n,{id:e,defaultColor:t,defaultMarkerStart:x,defaultMarkerEnd:r}){const o=c,i=new Set;return n[o(770)]((a,u)=>{const s=o;return[u[s(911)]||x,u[s(519)]||r][s(1753)](d=>{const f=s;if(d&&typeof d===f(1523)){const g=Jx(d,e);!i[f(1411)](g)&&(a[f(1181)]({id:g,color:d[f(1896)]||t,...d}),i[f(690)](g))}}),a},[]).sort((a,u)=>a.id[o(2245)](u.id))}const Ji=1e3,ib=10,_x={nodeOrigin:[0,0],nodeExtent:Vn,elevateNodesOnSelect:!0,zIndexMode:c(937),defaults:{}},ab={..._x,checkEquality:!0};function Qx(n,e){const t={...n};for(const x in e)e[x]!==void 0&&(t[x]=e[x]);return t}function cb(n,e,t){const x=c,r=Qx(_x,t);for(const o of n[x(779)]())if(o.parentId)eo(o,n,e,r);else{const i=Tn(o,r[x(1432)]),a=fn(o[x(1650)])?o[x(1650)]:r.nodeExtent,u=U0(i,a,g0(o));o.internals.positionAbsolute=u}}function sb(n,e){const t=c;if(!n[t(1873)])return n[t(485)]?e?.[t(972)][t(735)]:void 0;const x=[],r=[];for(const o of n.handles){const i={id:o.id,width:o[t(831)]??1,height:o.height??1,nodeId:n.id,x:o.x,y:o.y,position:o[t(818)],type:o[t(1244)]};o[t(1244)]==="source"?x[t(1181)](i):o.type===t(1470)&&r.push(i)}return{source:x,target:r}}function Fx(n){return n===c(1602)}function $x(n,e,t,x={}){const r=c,o=Qx(ab,x),i={i:0},a=new Map(e),u=o?.[r(1461)]&&!Fx(o.zIndexMode)?Ji:0;let s=n[r(707)]>0,d=!1;e[r(733)](),t.clear();for(const f of n){let g=a[r(1710)](f.id);if(o.checkEquality&&f===g?.internals[r(1647)])e[r(2110)](f.id,g);else{const b=Tn(f,o[r(1432)]),v=fn(f.extent)?f.extent:o[r(440)],h=U0(b,v,g0(f));g={...o.defaults,...f,measured:{width:f.measured?.[r(831)],height:f[r(485)]?.[r(469)]},internals:{positionAbsolute:h,handleBounds:sb(f,g),z:_i(f,u,o.zIndexMode),userNode:f}},e[r(2110)](f.id,g)}(g.measured===void 0||g[r(485)][r(831)]===void 0||g[r(485)][r(469)]===void 0)&&!g[r(457)]&&(s=!1),f[r(1497)]&&eo(g,e,t,x,i),d||=f[r(857)]??!1}return{nodesInitialized:s,hasSelectedNodes:d}}function lb(n,e){const t=c;if(!n[t(1497)])return;const x=e[t(1710)](n[t(1497)]);x?x[t(2110)](n.id,n):e[t(2110)](n.parentId,new Map([[n.id,n]]))}function eo(n,e,t,x,r){const o=c,{elevateNodesOnSelect:i,nodeOrigin:a,nodeExtent:u,zIndexMode:s}=Qx(_x,x),d=n[o(1497)],f=e[o(1710)](d);if(!f){console[o(704)](o(1798)+d+o(2063));return}lb(n,t),r&&!f.parentId&&f[o(972)][o(1313)]===void 0&&s==="auto"&&(f[o(972)][o(1313)]=++r.i,f[o(972)].z=f.internals.z+r.i*ib),r&&f[o(972)][o(1313)]!==void 0&&(r.i=f[o(972)][o(1313)]);const g=i&&!Fx(s)?Ji:0,{x:b,y:v,z:h}=db(n,f,a,u,g,s),{positionAbsolute:p}=n[o(972)],M=b!==p.x||v!==p.y;(M||h!==n[o(972)].z)&&e[o(2110)](n.id,{...n,internals:{...n[o(972)],positionAbsolute:M?{x:b,y:v}:p,z:h}})}function _i(n,e,t){const x=c,r=$e(n[x(2081)])?n[x(2081)]:0;return Fx(t)?r:r+(n[x(857)]?e:0)}function db(n,e,t,x,r,o){const i=c,{x:a,y:u}=e[i(972)].positionAbsolute,s=g0(n),d=Tn(n,t),f=fn(n[i(1650)])?U0(d,n[i(1650)],s):d;let g=U0({x:a+f.x,y:u+f.y},x,s);n[i(1650)]===i(2181)&&(g=Bi(g,s,e));const b=_i(n,r,o),v=e.internals.z??0;return{x:g.x,y:g.y,z:v>=b?v+1:b}}function no(n,e,t,x=[0,0]){const r=c,o=[],i=new Map;for(const a of n){const u=e[r(1710)](a[r(1497)]);if(!u)continue;const s=i[r(1710)](a.parentId)?.[r(1512)]??dn(u),d=Ni(s,a[r(1294)]);i[r(2110)](a.parentId,{expandedRect:d,parent:u})}return i[r(1634)]>0&&i[r(1753)](({expandedRect:a,parent:u},s)=>{const d=r,f=u[d(972)][d(2238)],g=g0(u),b=u[d(1948)]??x,v=a.x<f.x?Math[d(1910)](Math.abs(f.x-a.x)):0,h=a.y<f.y?Math[d(1910)](Math[d(2106)](f.y-a.y)):0,p=Math.max(g[d(831)],Math[d(1910)](a[d(831)])),M=Math[d(2014)](g.height,Math[d(1910)](a[d(469)])),m=(p-g.width)*b[0],w=(M-g[d(469)])*b[1];(v>0||h>0||m||w)&&(o[d(1181)]({id:s,type:d(818),position:{x:u[d(818)].x-v+m,y:u[d(818)].y-h+w}}),t.get(s)?.[d(1753)](y=>{const C=d;!n[C(1423)](P=>P.id===y.id)&&o[C(1181)]({id:y.id,type:C(818),position:{x:y[C(818)].x+v,y:y[C(818)].y+h}})})),(g[d(831)]<a[d(831)]||g[d(469)]<a[d(469)]||v||h)&&o.push({id:s,type:d(726),setAttributes:!0,dimensions:{width:p+(v?b[0]*v-m:0),height:M+(h?b[1]*h-w:0)}})}),o}function ub(n,e,t,x,r,o,i){const a=c,u=x?.querySelector(a(2200));let s=!1;if(!u)return{changes:[],updatedInternals:s};const d=[],f=window.getComputedStyle(u),{m22:g}=new window[a(1946)](f.transform),b=[];for(const v of n[a(779)]()){const h=e.get(v.id);if(!h)continue;if(h[a(457)]){e[a(2110)](h.id,{...h,internals:{...h[a(972)],handleBounds:void 0}}),s=!0;continue}const p=Zx(v.nodeElement),M=h[a(485)][a(831)]!==p[a(831)]||h.measured.height!==p[a(469)];if(!!(p[a(831)]&&p[a(469)]&&(M||!h[a(972)][a(735)]||v[a(919)]))){const w=v[a(1808)][a(898)](),y=fn(h[a(1650)])?h[a(1650)]:o;let{positionAbsolute:C}=h.internals;h.parentId&&h[a(1650)]===a(2181)?C=Bi(C,p,e[a(1710)](h[a(1497)])):y&&(C=U0(C,y,p));const P={...h,measured:p,internals:{...h.internals,positionAbsolute:C,handleBounds:{source:Ui(a(984),v.nodeElement,w,g,h.id),target:Ui(a(1470),v[a(1808)],w,g,h.id)}}};e[a(2110)](h.id,P),h[a(1497)]&&eo(P,e,t,{nodeOrigin:r,zIndexMode:i}),s=!0,M&&(d[a(1181)]({id:h.id,type:a(726),dimensions:p}),h[a(1644)]&&h[a(1497)]&&b[a(1181)]({id:h.id,parentId:h[a(1497)],rect:dn(P,r)}))}}if(b[a(707)]>0){const v=no(b,e,t,r);d.push(...v)}return{changes:d,updatedInternals:s}}async function fb({delta:n,panZoom:e,transform:t,translateExtent:x,width:r,height:o}){const i=c;if(!e||!n.x&&!n.y)return Promise[i(732)](!1);const a=await e[i(1850)]({x:t[0]+n.x,y:t[1]+n.y,zoom:t[2]},[[0,0],[r,o]],x),u=!!a&&(a.x!==t[0]||a.y!==t[1]||a.k!==t[2]);return Promise[i(732)](u)}function Qi(n,e,t,x,r,o){const i=c;let a=r;const u=x.get(a)||new Map;x.set(a,u.set(t,e)),a=r+"-"+n;const s=x[i(1710)](a)||new Map;if(x[i(2110)](a,s[i(2110)](t,e)),o){a=r+"-"+n+"-"+o;const d=x.get(a)||new Map;x[i(2110)](a,d.set(t,e))}}function Fi(n,e,t){const x=c;n[x(733)](),e.clear();for(const r of t){const{source:o,target:i,sourceHandle:a=null,targetHandle:u=null}=r,s={edgeId:r.id,source:o,target:i,sourceHandle:a,targetHandle:u},d=o+"-"+a+"--"+i+"-"+u,f=i+"-"+u+"--"+o+"-"+a;Qi(x(984),s,f,n,o,a),Qi(x(1470),s,d,n,i,u),e[x(2110)](r.id,r)}}function $i(n,e){const t=c;if(!n[t(1497)])return!1;const x=e[t(1710)](n[t(1497)]);return x?x[t(857)]?!0:$i(x,e):!1}function ea(n,e,t){const x=c;let r=n;do{if(r?.matches?.(e))return!0;if(r===t)return!1;r=r?.[x(1099)]}while(r);return!1}function bb(n,e,t,x){const r=c,o=new Map;for(const[i,a]of n)if((a[r(857)]||a.id===x)&&(!a[r(1497)]||!$i(a,n))&&(a[r(2079)]||e&&typeof a[r(2079)]>"u")){const u=n.get(i);u&&o[r(2110)](i,{id:i,position:u[r(818)]||{x:0,y:0},distance:{x:t.x-u[r(972)].positionAbsolute.x,y:t.y-u[r(972)][r(2238)].y},extent:u.extent,parentId:u[r(1497)],origin:u.origin,expandParent:u[r(1644)],internals:{positionAbsolute:u.internals[r(2238)]||{x:0,y:0}},measured:{width:u[r(485)].width??0,height:u.measured[r(469)]??0}})}return o}function to({nodeId:n,dragItems:e,nodeLookup:t,dragging:x=!0}){const r=c,o=[];for(const[a,u]of e){const s=t[r(1710)](a)?.[r(972)][r(1647)];s&&o[r(1181)]({...s,position:u[r(818)],dragging:x})}if(!n)return[o[0],o];const i=t[r(1710)](n)?.internals[r(1647)];return[i?{...i,position:e.get(n)?.[r(818)]||i.position,dragging:x}:o[0],o]}function hb({dragItems:n,snapGrid:e,x:t,y:x}){const r=c,o=n.values()[r(2148)]()[r(1443)];if(!o)return null;const i={x:t-o[r(943)].x,y:x-o.distance.y},a=Xn(i,e);return{x:a.x-i.x,y:a.y-i.y}}function gb({onNodeMouseDown:n,getStoreItems:e,onDragStart:t,onDrag:x,onDragStop:r}){let o={x:null,y:null},i=0,a=new Map,u=!1,s={x:0,y:0},d=null,f=!1,g=null,b=!1,v=!1,h=null;function p({noDragClassName:m,handleSelector:w,domNode:y,isSelectable:C,nodeId:P,nodeClickDistance:Y=0}){const G=_0x5299;g=qe(y);function T({x:W,y:O}){const L=_0x5299,{nodeLookup:B,nodeExtent:D,snapGrid:E,snapToGrid:A,nodeOrigin:S,onNodeDrag:R,onSelectionDrag:_,onError:Z,updateNodePositions:$}=e();o={x:W,y:O};let te=!1;const se=a[L(1634)]>1,ce=se&&D?Xx(qn(a)):null,re=se&&A?hb({dragItems:a,snapGrid:E,x:W,y:O}):null;for(const[xe,ne]of a){if(!B[L(1411)](xe))continue;let ae={x:W-ne.distance.x,y:O-ne[L(943)].y};A&&(ae=re?{x:Math[L(1910)](ae.x+re.x),y:Math[L(1910)](ae.y+re.y)}:Xn(ae,E));let I=null;if(se&&D&&!ne.extent&&ce){const{positionAbsolute:V}=ne.internals,H=V.x-ce.x+D[0][0],ie=V.x+ne[L(485)][L(831)]-ce.x2+D[1][0],be=V.y-ce.y+D[0][1],me=V.y+ne[L(485)][L(469)]-ce.y2+D[1][1];I=[[H,be],[ie,me]]}const{position:k,positionAbsolute:K}=Mi({nodeId:xe,nextPosition:ae,nodeLookup:B,nodeExtent:I||D,nodeOrigin:S,onError:Z});te=te||ne[L(818)].x!==k.x||ne[L(818)].y!==k.y,ne[L(818)]=k,ne[L(972)][L(2238)]=K}if(v=v||te,!!te&&($(a,!0),h&&(x||R||!P&&_))){const[xe,ne]=to({nodeId:P,dragItems:a,nodeLookup:B});x?.(h,a,xe,ne),R?.(h,xe,ne),!P&&_?.(h,ne)}}async function U(){if(!d)return;const{transform:W,panBy:O,autoPanSpeed:L,autoPanOnNodeDrag:B}=e();if(!B){u=!1,cancelAnimationFrame(i);return}const[D,E]=Li(s,d,L);(D!==0||E!==0)&&(o.x=(o.x??0)-D/W[2],o.y=(o.y??0)-E/W[2],await O({x:D,y:E})&&T(o)),i=requestAnimationFrame(U)}function Q(W){const O=_0x5299,{nodeLookup:L,multiSelectionActive:B,nodesDraggable:D,transform:E,snapGrid:A,snapToGrid:S,selectNodesOnDrag:R,onNodeDragStart:_,onSelectionDragStart:Z,unselectNodesAndEdges:$}=e();f=!0,(!R||!C)&&!B&&P&&!L[O(1710)](P)?.[O(857)]&&$(),C&&R&&P&&n?.(P);const te=Rn(W[O(608)],{transform:E,snapGrid:A,snapToGrid:S,containerBounds:d});if(o=te,a=bb(L,D,te,P),a[O(1634)]>0&&(t||_||!P&&Z)){const[se,ce]=to({nodeId:P,dragItems:a,nodeLookup:L});t?.(W.sourceEvent,a,se,ce),_?.(W[O(608)],se,ce),!P&&Z?.(W[O(608)],ce)}}const X=Hr()[G(1691)](Y).on("start",W=>{const O=G,{domNode:L,nodeDragThreshold:B,transform:D,snapGrid:E,snapToGrid:A}=e();d=L?.[O(898)]()||null,b=!1,v=!1,h=W[O(608)],B===0&&Q(W),o=Rn(W[O(608)],{transform:D,snapGrid:E,snapToGrid:A,containerBounds:d}),s=e0(W[O(608)],d)}).on(G(1759),W=>{const O=G,{autoPanOnNodeDrag:L,transform:B,snapGrid:D,snapToGrid:E,nodeDragThreshold:A,nodeLookup:S}=e(),R=Rn(W[O(608)],{transform:B,snapGrid:D,snapToGrid:E,containerBounds:d});if(h=W[O(608)],(W[O(608)][O(1244)]==="touchmove"&&W[O(608)][O(1709)][O(707)]>1||P&&!S[O(1411)](P))&&(b=!0),!b){if(!u&&L&&f&&(u=!0,U()),!f){const _=e0(W[O(608)],d),Z=_.x-s.x,$=_.y-s.y;Math[O(1116)](Z*Z+$*$)>A&&Q(W)}(o.x!==R[O(1642)]||o.y!==R[O(1017)])&&a&&f&&(s=e0(W[O(608)],d),T(R))}}).on(G(1149),W=>{const O=G;if(!(!f||b)&&(u=!1,f=!1,cancelAnimationFrame(i),a[O(1634)]>0)){const{nodeLookup:L,updateNodePositions:B,onNodeDragStop:D,onSelectionDragStop:E}=e();if(v&&(B(a,!1),v=!1),r||D||!P&&E){const[A,S]=to({nodeId:P,dragItems:a,nodeLookup:L,dragging:!1});r?.(W[O(608)],a,A,S),D?.(W[O(608)],A,S),!P&&E?.(W[O(608)],S)}}})[G(1304)](W=>{const O=G,L=W[O(1470)];return!W[O(1961)]&&(!m||!ea(L,"."+m,y))&&(!w||ea(L,w,y))});g.call(X)}function M(){const m=_0x5299;g?.on(m(503),null)}return{update:p,destroy:M}}function yb(n,e,t){const x=c,r=[],o={x:n.x-t,y:n.y-t,width:t*2,height:t*2};for(const i of e[x(779)]())Wn(o,dn(i))>0&&r.push(i);return r}const mb=250;function wb(n,e,t,x){const r=c;let o=[],i=1/0;const a=yb(n,t,e+mb);for(const u of a){const s=[...u[r(972)].handleBounds?.[r(984)]??[],...u[r(972)].handleBounds?.[r(1470)]??[]];for(const d of s){if(x[r(1854)]===d[r(1854)]&&x[r(1244)]===d[r(1244)]&&x.id===d.id)continue;const{x:f,y:g}=O0(u,d,d.position,!0),b=Math.sqrt(Math[r(1312)](f-n.x,2)+Math[r(1312)](g-n.y,2));b>e||(b<i?(o=[{...d,x:f,y:g}],i=b):b===i&&o.push({...d,x:f,y:g}))}}if(!o[r(707)])return null;if(o[r(707)]>1){const u=x[r(1244)]===r(984)?r(1470):r(984);return o[r(1043)](s=>s[r(1244)]===u)??o[0]}return o[0]}function na(n,e,t,x,r,o=!1){const i=c,a=x[i(1710)](n);if(!a)return null;const u=r===i(738)?a.internals[i(735)]?.[e]:[...a.internals[i(735)]?.[i(984)]??[],...a[i(972)][i(735)]?.target??[]],s=(t?u?.[i(1043)](d=>d.id===t):u?.[0])??null;return s&&o?{...s,...O0(a,s,s[i(818)],!0)}:s}function ta(n,e){const t=c;return n||(e?.classList.contains(t(1470))?"target":e?.classList[t(545)]("source")?"source":null)}function vb(n,e){let t=null;return e?t=!0:n&&!e&&(t=!1),t}const xa=()=>!0;function pb(n,{connectionMode:e,connectionRadius:t,handleId:x,nodeId:r,edgeUpdaterType:o,isTarget:i,domNode:a,nodeLookup:u,lib:s,autoPanOnConnect:d,flowId:f,panBy:g,cancelConnection:b,onConnectStart:v,onConnect:h,onConnectEnd:p,isValidConnection:M=xa,onReconnectEnd:m,updateConnection:w,getTransform:y,getFromHandle:C,autoPanSpeed:P,dragThreshold:Y=1,handleDomNode:G}){const T=c,U=ji(n[T(1470)]);let Q=0,X;const{x:W,y:O}=e0(n),L=ta(o,G),B=a?.[T(898)]();let D=!1;if(!B||!L)return;const E=na(r,L,x,u,e);if(!E)return;let A=e0(n,B),S=!1,R=null,_=!1,Z=null;function $(){if(!d||!B)return;const[I,k]=Li(A,B,P);g({x:I,y:k}),Q=requestAnimationFrame($)}const te={...E,nodeId:r,type:L,position:E[T(818)]},se=u.get(r);let re={inProgress:!0,isValid:null,from:O0(se,te,ue[T(767)],!0),fromHandle:te,fromPosition:te[T(818)],fromNode:se,to:A,toHandle:null,toPosition:pi[te[T(818)]],toNode:null,pointer:A};function xe(){D=!0,w(re),v?.(n,{nodeId:r,handleId:x,handleType:L})}Y===0&&xe();function ne(I){const k=T;if(!D){const{x:me,y:he}=e0(I),we=me-W,Ne=he-O;if(!(we*we+Ne*Ne>Y*Y))return;xe()}if(!C()||!te){ae(I);return}const K=y();A=e0(I,B),X=wb(Kn(A,K,!1,[1,1]),t,u,te),!S&&($(),S=!0);const V=oa(I,{handle:X,connectionMode:e,fromNodeId:r,fromHandleId:x,fromType:k(i?1470:984),isValidConnection:M,doc:U,lib:s,flowId:f,nodeLookup:u});Z=V[k(2023)],R=V[k(948)],_=vb(!!X,V[k(1639)]);const H=u[k(1710)](r),ie=H?O0(H,te,ue[k(767)],!0):re[k(897)],be={...re,from:ie,isValid:_,to:V[k(1638)]&&_?Gt({x:V[k(1638)].x,y:V[k(1638)].y},K):A,toHandle:V[k(1638)],toPosition:_&&V.toHandle?V[k(1638)][k(818)]:pi[te[k(818)]],toNode:V[k(1638)]?u[k(1710)](V.toHandle[k(1854)]):null,pointer:A};w(be),re=be}function ae(I){const k=T;if(!(k(1709)in I&&I[k(1709)][k(707)]>0)){if(D){(X||Z)&&R&&_&&h?.(R);const{inProgress:K,...V}=re,H={...V,toPosition:re[k(1638)]?re[k(493)]:null};p?.(I,H),o&&m?.(I,H)}b(),cancelAnimationFrame(Q),S=!1,_=!1,R=null,Z=null,U[k(963)](k(531),ne),U[k(963)](k(1851),ae),U[k(963)](k(1351),ne),U[k(963)](k(1521),ae)}}U[T(1254)](T(531),ne),U[T(1254)]("mouseup",ae),U[T(1254)](T(1351),ne),U[T(1254)](T(1521),ae)}function oa(n,{handle:e,connectionMode:t,fromNodeId:x,fromHandleId:r,fromType:o,doc:i,lib:a,flowId:u,isValidConnection:s=xa,nodeLookup:d}){const f=c,g=o===f(1470),b=e?i[f(1e3)]("."+a+'-flow__handle[data-id="'+u+"-"+e?.[f(1854)]+"-"+e?.id+"-"+e?.type+'"]'):null,{x:v,y:h}=e0(n),p=i[f(2206)](v,h),M=p?.[f(1745)][f(545)](a+f(968))?p:b,m={handleDomNode:M,isValid:!1,connection:null,toHandle:null};if(M){const w=ta(void 0,M),y=M.getAttribute(f(1260)),C=M[f(1104)](f(1680)),P=M[f(1745)][f(545)](f(2167)),Y=M[f(1745)][f(545)](f(782));if(!y||!w)return m;const G={source:g?y:x,sourceHandle:g?C:r,target:g?x:y,targetHandle:g?r:C};m[f(948)]=G;const T=P&&Y,U=T&&(t===sn.Strict?g&&w==="source"||!g&&w===f(1470):y!==x||C!==r);m.isValid=U&&s(G),m[f(1638)]=na(y,w,C,d,t,!0)}return m}const xo={onPointerDown:pb,isValid:oa};function zb({domNode:n,panZoom:e,getTransform:t,getViewScale:x}){const r=qe(n);function o({translateExtent:a,width:u,height:s,zoomStep:d=1,pannable:f=!0,zoomable:g=!0,inversePan:b=!1}){const v=_0x5299,h=y=>{const C=_0x5299;if(y[C(608)][C(1244)]!==C(753)||!e)return;const P=t(),Y=y[C(608)].ctrlKey&&Zn()?10:1,G=-y.sourceEvent[C(764)]*(y[C(608)][C(1068)]===1?.05:y[C(608)].deltaMode?1:.002)*d,T=P[2]*Math.pow(2,G*Y);e.scaleTo(T)};let p=[0,0];const M=y=>{const C=_0x5299;(y[C(608)][C(1244)]===C(1241)||y.sourceEvent.type===C(1871))&&(p=[y.sourceEvent[C(1915)]??y[C(608)][C(1709)][0][C(1915)],y[C(608)].clientY??y[C(608)][C(1709)][0].clientY])},m=y=>{const C=_0x5299,P=t();if(y[C(608)].type!=="mousemove"&&y.sourceEvent[C(1244)]!=="touchmove"||!e)return;const Y=[y[C(608)][C(1915)]??y[C(608)][C(1709)][0][C(1915)],y[C(608)][C(1506)]??y.sourceEvent[C(1709)][0][C(1506)]],G=[Y[0]-p[0],Y[1]-p[1]];p=Y;const T=x()*Math.max(P[2],Math[C(615)](P[2]))*(b?-1:1),U={x:P[0]-G[0]*T,y:P[1]-G[1]*T},Q=[[0,0],[u,s]];e[C(1850)]({x:U.x,y:U.y,zoom:P[2]},Q,a)},w=yi().on(v(1939),M).on(v(669),f?m:null).on(v(1091),g?h:null);r.call(w,{})}function i(){const a=_0x5299;r.on(a(669),null)}return{update:o,destroy:i,pointer:_e}}const Ht=n=>({x:n.x,y:n.y,zoom:n.k}),oo=({x:n,y:e,zoom:t})=>jt[c(1520)](n,e)[c(1113)](t),bn=(n,e)=>n[c(1470)].closest("."+e),ra=(n,e)=>e===2&&Array[c(611)](n)&&n.includes(2),Cb=n=>((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2,ro=(n,e=0,t=Cb,x=()=>{})=>{const r=c,o=typeof e===r(2134)&&e>0;return!o&&x(),o?n[r(832)]()[r(840)](e)[r(768)](t).on(r(1149),x):n},ia=n=>{const e=c,t=n[e(1877)]&&Zn()?10:1;return-n[e(764)]*(n[e(1068)]===1?.05:n[e(1068)]?1:.002)*t};function Mb({zoomPanValues:n,noWheelClassName:e,d3Selection:t,d3Zoom:x,panOnScrollMode:r,panOnScrollSpeed:o,zoomOnPinch:i,onPanZoomStart:a,onPanZoom:u,onPanZoomEnd:s}){return d=>{const f=_0x5299;if(bn(d,e))return d[f(1877)]&&d.preventDefault(),!1;d[f(1502)](),d[f(1740)]();const g=t[f(1476)](f(1027)).k||1;if(d[f(1877)]&&i){const M=_e(d),m=ia(d),w=g*Math[f(1312)](2,m);x[f(1096)](t,w,M,d);return}const b=d[f(1068)]===1?20:1;let v=r===Y0.Vertical?0:d[f(787)]*b,h=r===Y0.Horizontal?0:d.deltaY*b;!Zn()&&d[f(562)]&&r!==Y0[f(2001)]&&(v=d.deltaY*b,h=0),x[f(1958)](t,-(v/g)*o,-(h/g)*o,{internal:!0});const p=Ht(t[f(1476)](f(1027)));clearTimeout(n.panScrollTimeout),n[f(1253)]?(u?.(d,p),n[f(1622)]=setTimeout(()=>{s?.(d,p),n.isPanScrolling=!1},150)):(n[f(1253)]=!0,a?.(d,p))}}function Bb({noWheelClassName:n,preventScrolling:e,d3ZoomHandler:t}){return function(x,r){const o=_0x5299,i=x[o(1244)]===o(753),a=!e&&i&&!x[o(1877)],u=bn(x,n);if(x.ctrlKey&&i&&u&&x[o(1502)](),a||u)return null;x[o(1502)](),t.call(this,x,r)}}function Db({zoomPanValues:n,onDraggingChange:e,onPanZoomStart:t}){return x=>{const r=_0x5299;if(x[r(608)]?.[r(841)])return;const o=Ht(x[r(2213)]);n.mouseButton=x[r(608)]?.[r(1961)]||0,n.isZoomingOrPanning=!0,n[r(1881)]=o,x.sourceEvent?.type===r(1241)&&e(!0),t&&t?.(x[r(608)],o)}}function Lb({zoomPanValues:n,panOnDrag:e,onPaneContextMenu:t,onTransformChange:x,onPanZoom:r}){return o=>{const i=_0x5299;n.usedRightMouseButton=!!(t&&ra(e,n[i(1578)]??0)),!o[i(608)]?.[i(813)]&&x([o.transform.x,o[i(2213)].y,o.transform.k]),r&&!o[i(608)]?.[i(841)]&&r?.(o.sourceEvent,Ht(o[i(2213)]))}}function Nb({zoomPanValues:n,panOnDrag:e,panOnScroll:t,onDraggingChange:x,onPanZoomEnd:r,onPaneContextMenu:o}){return i=>{const a=_0x5299;if(!i[a(608)]?.[a(841)]&&(n[a(859)]=!1,o&&ra(e,n.mouseButton??0)&&!n.usedRightMouseButton&&i.sourceEvent&&o(i[a(608)]),n[a(1551)]=!1,x(!1),r)){const u=Ht(i[a(2213)]);n.prevViewport=u,clearTimeout(n[a(1811)]),n[a(1811)]=setTimeout(()=>{r?.(i.sourceEvent,u)},t?150:0)}}}function Sb({zoomActivationKeyPressed:n,zoomOnScroll:e,zoomOnPinch:t,panOnDrag:x,panOnScroll:r,zoomOnDoubleClick:o,userSelectionActive:i,noWheelClassName:a,noPanClassName:u,lib:s,connectionInProgress:d}){return f=>{const g=_0x5299,b=n||e,v=t&&f.ctrlKey,h=f[g(1244)]==="wheel";if(f[g(1961)]===1&&f[g(1244)]==="mousedown"&&(bn(f,s+"-flow__node")||bn(f,s+g(1087))))return!0;if(!x&&!b&&!r&&!o&&!t||i||d&&!h||bn(f,a)&&h||bn(f,u)&&(!h||r&&h&&!n)||!t&&f[g(1877)]&&h)return!1;if(!t&&f[g(1244)]===g(1871)&&f[g(1709)]?.[g(707)]>1)return f.preventDefault(),!1;if(!b&&!r&&!v&&h||!x&&(f[g(1244)]==="mousedown"||f[g(1244)]===g(1871))||Array.isArray(x)&&!x.includes(f[g(1961)])&&f[g(1244)]===g(1241))return!1;const p=Array[g(611)](x)&&x[g(1405)](f.button)||!f.button||f[g(1961)]<=1;return(!f[g(1877)]||h)&&p}}function kb({domNode:n,minZoom:e,maxZoom:t,translateExtent:x,viewport:r,onPanZoom:o,onPanZoomStart:i,onPanZoomEnd:a,onDraggingChange:u}){const s=c,d={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},f=n[s(898)](),g=yi()[s(1757)]([e,t])[s(1138)](x),b=qe(n).call(g);w({x:r.x,y:r.y,zoom:ln(r[s(669)],e,t)},[[0,0],[f[s(831)],f[s(469)]]],x);const v=b.on(s(1943)),h=b.on(s(1517));g[s(2218)](ia);function p(X,W){const O=s;return b?new Promise(L=>{const B=_0x5299;g?.[B(820)](W?.[B(820)]===B(2221)?jn:Mt)[B(2213)](ro(b,W?.[B(840)],W?.[B(768)],()=>L(!0)),X)}):Promise[O(732)](!1)}function M({noWheelClassName:X,noPanClassName:W,onPaneContextMenu:O,userSelectionActive:L,panOnScroll:B,panOnDrag:D,panOnScrollMode:E,panOnScrollSpeed:A,preventScrolling:S,zoomOnPinch:R,zoomOnScroll:_,zoomOnDoubleClick:Z,zoomActivationKeyPressed:$,lib:te,onTransformChange:se,connectionInProgress:ce,paneClickDistance:re,selectionOnDrag:xe}){const ne=s;L&&!d[ne(859)]&&m();const ae=B&&!$&&!L;g[ne(1691)](xe?1/0:!$e(re)||re<0?0:re);const I=ae?Mb({zoomPanValues:d,noWheelClassName:X,d3Selection:b,d3Zoom:g,panOnScrollMode:E,panOnScrollSpeed:A,zoomOnPinch:R,onPanZoomStart:i,onPanZoom:o,onPanZoomEnd:a}):Bb({noWheelClassName:X,preventScrolling:S,d3ZoomHandler:v});if(b.on(ne(1943),I,{passive:!1}),!L){const K=Db({zoomPanValues:d,onDraggingChange:u,onPanZoomStart:i});g.on(ne(1939),K);const V=Lb({zoomPanValues:d,panOnDrag:D,onPaneContextMenu:!!O,onPanZoom:o,onTransformChange:se});g.on("zoom",V);const H=Nb({zoomPanValues:d,panOnDrag:D,panOnScroll:B,onPaneContextMenu:O,onPanZoomEnd:a,onDraggingChange:u});g.on(ne(1149),H)}const k=Sb({zoomActivationKeyPressed:$,panOnDrag:D,zoomOnScroll:_,panOnScroll:B,zoomOnDoubleClick:Z,zoomOnPinch:R,userSelectionActive:L,noPanClassName:W,noWheelClassName:X,lib:te,connectionInProgress:ce});g.filter(k),Z?b.on(ne(1517),h):b.on(ne(1517),null)}function m(){const X=s;g.on(X(669),null)}async function w(X,W,O){const L=s,B=oo(X),D=g?.[L(1576)]()(B,W,O);return D&&await p(D),new Promise(E=>E(D))}async function y(X,W){const O=oo(X);return await p(O,W),new Promise(L=>L(O))}function C(X){const W=s;if(b){const O=oo(X),L=b[W(1476)](W(1027));(L.k!==X.zoom||L.x!==X.x||L.y!==X.y)&&g?.[W(2213)](b,O,null,{sync:!0})}}function P(){const X=s,W=b?hi(b[X(1153)]()):{x:0,y:0,k:1};return{x:W.x,y:W.y,zoom:W.k}}function Y(X,W){const O=s;return b?new Promise(L=>{const B=_0x5299;g?.interpolate(W?.[B(820)]===B(2221)?jn:Mt)[B(1096)](ro(b,W?.duration,W?.[B(768)],()=>L(!0)),X)}):Promise[O(732)](!1)}function G(X,W){const O=s;return b?new Promise(L=>{const B=_0x5299;g?.interpolate(W?.[B(820)]===B(2221)?jn:Mt)[B(1184)](ro(b,W?.[B(840)],W?.[B(768)],()=>L(!0)),X)}):Promise[O(732)](!1)}function T(X){g?.[s(1757)](X)}function U(X){g?.[s(1138)](X)}function Q(X){const W=s,O=!$e(X)||X<0?0:X;g?.[W(1691)](O)}return{update:M,destroy:m,setViewport:y,setViewportConstrained:w,getViewport:P,scaleTo:Y,scaleBy:G,setScaleExtent:T,setTranslateExtent:U,syncViewport:C,setClickDistance:Q}}var hn;(function(n){const e=c;n[e(1835)]="line",n[e(999)]=e(1023)})(hn||(hn={}));function Ib({width:n,prevWidth:e,height:t,prevHeight:x,affectsX:r,affectsY:o}){const i=n-e,a=t-x,u=[i>0?1:i<0?-1:0,a>0?1:a<0?-1:0];return i&&r&&(u[0]=u[0]*-1),a&&o&&(u[1]=u[1]*-1),u}function aa(n){const e=c,t=n[e(1405)]("right")||n.includes("left"),x=n[e(1405)](e(815))||n.includes(e(2043)),r=n[e(1405)](e(1446)),o=n[e(1405)]("top");return{isHorizontal:t,isVertical:x,affectsX:r,affectsY:o}}function p0(n,e){return Math.max(0,e-n)}function z0(n,e){return Math[c(2014)](0,n-e)}function Tt(n,e,t){return Math[c(2014)](0,e-n,n-t)}function ca(n,e){return n?!e:e}function Pb(n,e,t,x,r,o,i,a){const u=c;let{affectsX:s,affectsY:d}=e;const{isHorizontal:f,isVertical:g}=e,b=f&&g,{xSnapped:v,ySnapped:h}=t,{minWidth:p,maxWidth:M,minHeight:m,maxHeight:w}=x,{x:y,y:C,width:P,height:Y,aspectRatio:G}=n;let T=Math.floor(f?v-n[u(874)]:0),U=Math[u(526)](g?h-n[u(797)]:0);const Q=P+(s?-T:T),X=Y+(d?-U:U),W=-o[0]*P,O=-o[1]*Y;let L=Tt(Q,p,M),B=Tt(X,m,w);if(i){let A=0,S=0;s&&T<0?A=p0(y+T+W,i[0][0]):!s&&T>0&&(A=z0(y+Q+W,i[1][0])),d&&U<0?S=p0(C+U+O,i[0][1]):!d&&U>0&&(S=z0(C+X+O,i[1][1])),L=Math[u(2014)](L,A),B=Math[u(2014)](B,S)}if(a){let A=0,S=0;s&&T>0?A=z0(y+T,a[0][0]):!s&&T<0&&(A=p0(y+Q,a[1][0])),d&&U>0?S=z0(C+U,a[0][1]):!d&&U<0&&(S=p0(C+X,a[1][1])),L=Math[u(2014)](L,A),B=Math.max(B,S)}if(r){if(f){const A=Tt(Q/G,m,w)*G;if(L=Math[u(2014)](L,A),i){let S=0;!s&&!d||s&&!d&&b?S=z0(C+O+Q/G,i[1][1])*G:S=p0(C+O+(s?T:-T)/G,i[0][1])*G,L=Math[u(2014)](L,S)}if(a){let S=0;!s&&!d||s&&!d&&b?S=p0(C+Q/G,a[1][1])*G:S=z0(C+(s?T:-T)/G,a[0][1])*G,L=Math[u(2014)](L,S)}}if(g){const A=Tt(X*G,p,M)/G;if(B=Math[u(2014)](B,A),i){let S=0;!s&&!d||d&&!s&&b?S=z0(y+X*G+W,i[1][0])/G:S=p0(y+(d?U:-U)*G+W,i[0][0])/G,B=Math[u(2014)](B,S)}if(a){let S=0;!s&&!d||d&&!s&&b?S=p0(y+X*G,a[1][0])/G:S=z0(y+(d?U:-U)*G,a[0][0])/G,B=Math[u(2014)](B,S)}}}U=U+(U<0?B:-B),T=T+(T<0?L:-L),r&&(b?Q>X*G?U=(ca(s,d)?-T:T)/G:T=(ca(s,d)?-U:U)*G:f?(U=T/G,d=s):(T=U*G,s=d));const D=s?y+T:y,E=d?C+U:C;return{width:P+(s?-T:T),height:Y+(d?-U:U),x:o[0]*T*(s?-1:1)+D,y:o[1]*U*(d?-1:1)+E}}const sa={width:0,height:0,x:0,y:0},Ab={...sa,pointerX:0,pointerY:0,aspectRatio:1};function jb(n){const e=c;return[[0,0],[n[e(485)].width,n[e(485)][e(469)]]]}function Eb(n,e,t){const x=c,r=e[x(818)].x+n.position.x,o=e[x(818)].y+n[x(818)].y,i=n[x(485)][x(831)]??0,a=n[x(485)][x(469)]??0,u=t[0]*i,s=t[1]*a;return[[r-u,o-s],[r+i-u,o+a-s]]}function Yb({domNode:n,nodeId:e,getStoreItems:t,onChange:x,onEnd:r}){const o=c,i=qe(n);let a={controlDirection:aa(o(1075)),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function u({controlPosition:d,boundaries:f,keepAspectRatio:g,resizeDirection:b,onResizeStart:v,onResize:h,onResizeEnd:p,shouldResize:M}){const m=o;let w={...sa},y={...Ab};a={boundaries:f,resizeDirection:b,keepAspectRatio:g,controlDirection:aa(d)};let C,P=null,Y=[],G,T,U,Q=!1;const X=Hr().on(m(1939),W=>{const O=m,{nodeLookup:L,transform:B,snapGrid:D,snapToGrid:E,nodeOrigin:A,paneDomNode:S}=t();if(C=L[O(1710)](e),!C)return;P=S?.getBoundingClientRect()??null;const{xSnapped:R,ySnapped:_}=Rn(W[O(608)],{transform:B,snapGrid:D,snapToGrid:E,containerBounds:P});w={width:C.measured[O(831)]??0,height:C[O(485)][O(469)]??0,x:C[O(818)].x??0,y:C[O(818)].y??0},y={...w,pointerX:R,pointerY:_,aspectRatio:w[O(831)]/w[O(469)]},G=void 0,C[O(1497)]&&(C[O(1650)]===O(2181)||C[O(1644)])&&(G=L[O(1710)](C[O(1497)]),T=G&&C[O(1650)]===O(2181)?jb(G):void 0),Y=[],U=void 0;for(const[Z,$]of L)if($[O(1497)]===e&&(Y[O(1181)]({id:Z,position:{...$[O(818)]},extent:$[O(1650)]}),$[O(1650)]===O(2181)||$.expandParent)){const te=Eb($,C,$[O(1948)]??A);U?U=[[Math[O(487)](te[0][0],U[0][0]),Math[O(487)](te[0][1],U[0][1])],[Math[O(2014)](te[1][0],U[1][0]),Math.max(te[1][1],U[1][1])]]:U=te}v?.(W,{...w})}).on("drag",W=>{const O=m,{transform:L,snapGrid:B,snapToGrid:D,nodeOrigin:E}=t(),A=Rn(W[O(608)],{transform:L,snapGrid:B,snapToGrid:D,containerBounds:P}),S=[];if(!C)return;const{x:R,y:_,width:Z,height:$}=w,te={},se=C[O(1948)]??E,{width:ce,height:re,x:xe,y:ne}=Pb(y,a[O(1614)],A,a[O(1827)],a.keepAspectRatio,se,T,U),ae=ce!==Z,I=re!==$,k=xe!==R&&ae,K=ne!==_&&I;if(!k&&!K&&!ae&&!I)return;if((k||K||se[0]===1||se[1]===1)&&(te.x=k?xe:w.x,te.y=K?ne:w.y,w.x=te.x,w.y=te.y,Y[O(707)]>0)){const be=xe-R,me=ne-_;for(const he of Y)he.position={x:he[O(818)].x-be+se[0]*(ce-Z),y:he[O(818)].y-me+se[1]*(re-$)},S[O(1181)](he)}if((ae||I)&&(te[O(831)]=ae&&(!a[O(2234)]||a[O(2234)]===O(1813))?ce:w[O(831)],te[O(469)]=I&&(!a[O(2234)]||a[O(2234)]===O(1309))?re:w[O(469)],w[O(831)]=te[O(831)],w.height=te.height),G&&C[O(1644)]){const be=se[0]*(te[O(831)]??0);te.x&&te.x<be&&(w.x=be,y.x=y.x-(te.x-be));const me=se[1]*(te[O(469)]??0);te.y&&te.y<me&&(w.y=me,y.y=y.y-(te.y-me))}const V=Ib({width:w[O(831)],prevWidth:Z,height:w[O(469)],prevHeight:$,affectsX:a[O(1614)][O(2187)],affectsY:a[O(1614)][O(1786)]}),H={...w,direction:V};M?.(W,H)!==!1&&(Q=!0,h?.(W,H),x(te,S))}).on(m(1149),W=>{Q&&(p?.(W,{...w}),r?.({...w}),Q=!1)});i.call(X)}function s(){const d=o;i.on(d(503),null)}return{update:u,destroy:s}}var qt={exports:{}},io={},Wt={exports:{}},ao={},la;function Ub(){const n=c;if(la)return ao;la=1;var e=N;function t(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var x=n(1568)===typeof Object.is?Object.is:t,r=e[n(646)],o=e[n(1849)],i=e.useLayoutEffect,a=e.useDebugValue;function u(g,b){var v=b(),h=r({inst:{value:v,getSnapshot:b}}),p=h[0].inst,M=h[1];return i(function(){const m=_0x5299;p[m(1443)]=v,p[m(1716)]=b,s(p)&&M({inst:p})},[g,v,b]),o(function(){return s(p)&&M({inst:p}),g(function(){s(p)&&M({inst:p})})},[g]),a(v),v}function s(g){const b=n;var v=g[b(1716)];g=g[b(1443)];try{var h=v();return!x(g,h)}catch{return!0}}function d(g,b){return b()}var f=n(2157)===typeof window||n(2157)===typeof window[n(1648)]||typeof window[n(1648)][n(1316)]>"u"?d:u;return ao[n(1600)]=e[n(1600)]!==void 0?e[n(1600)]:f,ao}var co={},da;function Ob(){const n=c;return da||(da=1,n(950)!==process.env.NODE_ENV&&(function(){const e=n;function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}function x(h,p){const M=_0x5299;g||i[M(649)]===void 0||(g=!0,console.error(M(461)));var m=p();if(!b){var w=p();a(m,w)||(console[M(1531)](M(1685)),b=!0)}w=u({inst:{value:m,getSnapshot:p}});var y=w[0][M(990)],C=w[1];return d(function(){const P=M;y[P(1443)]=m,y[P(1716)]=p,r(y)&&C({inst:y})},[h,m,p]),s(function(){return r(y)&&C({inst:y}),h(function(){r(y)&&C({inst:y})})},[h]),f(m),m}function r(h){var p=h.getSnapshot;h=h.value;try{var M=p();return!a(h,M)}catch{return!0}}function o(h,p){return p()}e(2157)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&e(1568)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(2066)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(2066)](Error());var i=N,a=typeof Object.is=="function"?Object.is:t,u=i.useState,s=i.useEffect,d=i[e(639)],f=i[e(1586)],g=!1,b=!1,v=typeof window>"u"||e(2157)===typeof window[e(1648)]||e(2157)===typeof window[e(1648)][e(1316)]?o:x;co[e(1600)]=i[e(1600)]!==void 0?i[e(1600)]:v,e(2157)!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1935)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(1935)](Error())})()),co}var ua;function fa(){const n=c;return ua||(ua=1,process.env.NODE_ENV===n(950)?Wt.exports=Ub():Wt[n(1132)]=Ob()),Wt[n(1132)]}var ba;function Gb(){const n=c;if(ba)return io;ba=1;var e=N,t=fa();function x(d,f){return d===f&&(d!==0||1/d===1/f)||d!==d&&f!==f}var r=n(1568)===typeof Object.is?Object.is:x,o=t[n(1600)],i=e.useRef,a=e[n(1849)],u=e[n(677)],s=e[n(1586)];return io[n(1473)]=function(d,f,g,b,v){const h=n;var p=i(null);if(p[h(2089)]===null){var M={hasValue:!1,value:null};p[h(2089)]=M}else M=p.current;p=u(function(){function w(G){const T=_0x5299;if(!y){if(y=!0,C=G,G=b(G),v!==void 0&&M[T(622)]){var U=M[T(1443)];if(v(U,G))return P=U}return P=G}if(U=P,r(C,G))return U;var Q=b(G);return v!==void 0&&v(U,Q)?(C=G,U):(C=G,P=Q)}var y=!1,C,P,Y=g===void 0?null:g;return[function(){return w(f())},Y===null?void 0:function(){return w(Y())}]},[f,g,b,v]);var m=o(d,p[0],p[1]);return a(function(){const w=h;M[w(622)]=!0,M[w(1443)]=m},[m]),s(m),m},io}var so={},ha;function Vb(){const n=c;return ha||(ha=1,n(950)!==process.env.NODE_ENV&&(function(){const e=n;function t(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&e(1568)===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(2066)]&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(2066)](Error());var x=N,r=fa(),o=typeof Object.is=="function"?Object.is:t,i=r[e(1600)],a=x[e(1912)],u=x[e(1849)],s=x.useMemo,d=x[e(1586)];so[e(1473)]=function(f,g,b,v,h){const p=e;var M=a(null);if(M[p(2089)]===null){var m={hasValue:!1,value:null};M[p(2089)]=m}else m=M[p(2089)];M=s(function(){function y(T){const U=_0x5299;if(!C){if(C=!0,P=T,T=v(T),h!==void 0&&m[U(622)]){var Q=m.value;if(h(Q,T))return Y=Q}return Y=T}if(Q=Y,o(P,T))return Q;var X=v(T);return h!==void 0&&h(Q,X)?(P=T,Q):(P=T,Y=X)}var C=!1,P,Y,G=b===void 0?null:b;return[function(){return y(g())},G===null?void 0:function(){return y(G())}]},[g,b,v,h]);var w=i(f,M[0],M[1]);return u(function(){const y=p;m[y(622)]=!0,m[y(1443)]=w},[w]),d(w),w},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__[e(1935)]=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__[e(1935)](Error())})()),so}var ga;function Hb(){const n=c;return ga||(ga=1,process.env.NODE_ENV===n(950)?qt[n(1132)]=Gb():qt.exports=Vb()),qt.exports}var Tb=Hb();const qb=vn(Tb),Wb={},ya=n=>{let e;const t=new Set,x=(d,f)=>{const g=_0x5299,b=typeof d===g(1568)?d(e):d;if(!Object.is(b,e)){const v=e;e=f??(typeof b!==g(1523)||b===null)?b:Object.assign({},e,b),t[g(1753)](h=>h(e,v))}},r=()=>e,o=()=>s,i=d=>{const f=_0x5299;return t[f(690)](d),()=>t[f(1060)](d)},a=()=>{const d=_0x5299;(Wb?"production":void 0)!==d(950)&&console[d(704)](d(1165)),t[d(733)]()},u={setState:x,getState:r,getInitialState:o,subscribe:i,destroy:a},s=e=n(x,r,u);return u},Xb=n=>n?ya(n):ya,{useDebugValue:Kb}=N,{useSyncExternalStoreWithSelector:Zb}=qb,Rb=n=>n;function ma(n,e=Rb,t){const x=c,r=Zb(n[x(500)],n[x(975)],n.getServerState||n[x(1620)],e,t);return Kb(r),r}const wa=(n,e)=>{const t=c,x=Xb(n),r=(o,i=e)=>ma(x,o,i);return Object[t(632)](r,x),r},Jb=(n,e)=>n?wa(n,e):wa;function Se(n,e){const t=c;if(Object.is(n,e))return!0;if(typeof n!==t(1523)||n===null||typeof e!="object"||e===null)return!1;if(n instanceof Map&&e instanceof Map){if(n[t(1634)]!==e[t(1634)])return!1;for(const[r,o]of n)if(!Object.is(o,e[t(1710)](r)))return!1;return!0}if(n instanceof Set&&e instanceof Set){if(n[t(1634)]!==e[t(1634)])return!1;for(const r of n)if(!e[t(1411)](r))return!1;return!0}const x=Object[t(864)](n);if(x[t(707)]!==Object[t(864)](e).length)return!1;for(const r of x)if(!Object.prototype[t(976)][t(1429)](e,r)||!Object.is(n[r],e[r]))return!1;return!0}const Xt=N[c(1156)](null),_b=Xt[c(1522)],va=We[c(2169)]();function Me(n,e){const t=c,x=N[t(1698)](Xt);if(x===null)throw new Error(va);return ma(x,n,e)}function ke(){const n=c,e=N[n(1698)](Xt);if(e===null)throw new Error(va);return N[n(677)](()=>({getState:e[n(975)],setState:e.setState,subscribe:e[n(500)]}),[e])}const pa={display:c(928)},Qb={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:c(457),clip:c(895),clipPath:c(1711)},za=c(826),Ca=c(853),Fb=c(2175),$b=n=>n.ariaLiveMessage,e2=n=>n.ariaLabelConfig;function n2({rfId:n}){const e=c,t=Me($b);return l[e(1403)](e(1467),{id:Fb+"-"+n,"aria-live":e(497),"aria-atomic":e(1987),style:Qb,children:t})}function t2({rfId:n,disableKeyboardA11y:e}){const t=c,x=Me(e2);return l[t(1900)](l[t(2082)],{children:[l[t(1403)](t(1467),{id:za+"-"+n,style:pa,children:e?x[t(1326)]:x["node.a11yDescription.keyboardDisabled"]}),l[t(1403)](t(1467),{id:Ca+"-"+n,style:pa,children:x[t(1787)]}),!e&&l[t(1403)](n2,{rfId:n})]})}const Kt=N[c(676)](({position:n=c(902),children:e,className:t,style:x,...r},o)=>{const i=c,a=(""+n)[i(1246)]("-");return l.jsx(i(1467),{className:Ae(["react-flow__panel",t,...a]),style:x,ref:o,...r,children:e})});Kt.displayName=c(1048);function x2({proOptions:n,position:e=c(1075)}){const t=c;return n?.[t(1968)]?null:l[t(1403)](Kt,{position:e,className:t(1722),"data-message":t(1911),children:l[t(1403)]("a",{href:t(1553),target:t(1766),rel:"noopener noreferrer","aria-label":"React Flow attribution",children:t(1507)})})}const o2=n=>{const e=c,t=[],x=[];for(const[,r]of n.nodeLookup)r[e(857)]&&t[e(1181)](r[e(972)][e(1647)]);for(const[,r]of n.edgeLookup)r[e(857)]&&x[e(1181)](r);return{selectedNodes:t,selectedEdges:x}},Zt=n=>n.id;function r2(n,e){const t=c;return Se(n[t(1356)][t(1577)](Zt),e[t(1356)][t(1577)](Zt))&&Se(n[t(1436)].map(Zt),e[t(1436)][t(1577)](Zt))}function i2({onSelectionChange:n}){const e=c,t=ke(),{selectedNodes:x,selectedEdges:r}=Me(o2,r2);return N[e(1849)](()=>{const o=e,i={nodes:x,edges:r};n?.(i),t[o(975)]()[o(1442)][o(1753)](a=>a(i))},[x,r,n]),null}const a2=n=>!!n[c(1442)];function c2({onSelectionChange:n}){const e=c,t=Me(a2);return n||t?l[e(1403)](i2,{onSelectionChange:n}):null}const lo=typeof window<"u"?N[c(639)]:N.useEffect,Ma=[0,0],s2={x:0,y:0,zoom:1},l2=[c(824),c(967),"defaultNodes",c(1862),"onConnect",c(1637),c(442),"onClickConnectStart",c(1282),c(439),c(1287),c(2156),"nodesFocusable",c(495),c(1665),c(1461),c(460),c(1088),c(873),c(440),c(1818),c(808),c(891),"connectionMode",c(837),c(1852),c(1138),c(477),"defaultEdgeOptions",c(1124),c(807),c(1069),c(569),c(594),"onNodeDrag",c(446),c(549),"onSelectionDrag",c(731),c(1995),c(1756),c(534),c(631),"noPanClassName","nodeOrigin",c(2091),c(1589),c(833),c(1160),c(1991),c(1883),c(1646),"connectionDragThreshold",c(1221),c(1041),c(1347),c(957),c(458)],Ba=[...l2,"rfId"],d2=n=>({setNodes:n[c(1220)],setEdges:n[c(1574)],setMinZoom:n[c(716)],setMaxZoom:n.setMaxZoom,setTranslateExtent:n.setTranslateExtent,setNodeExtent:n.setNodeExtent,reset:n[c(2020)],setDefaultNodesAndEdges:n[c(1866)]}),Da={translateExtent:Vn,nodeOrigin:Ma,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:c(1695),rfId:"1"};function u2(n){const e=c,{setNodes:t,setEdges:x,setMinZoom:r,setMaxZoom:o,setTranslateExtent:i,setNodeExtent:a,reset:u,setDefaultNodesAndEdges:s}=Me(d2,Se),d=ke();lo(()=>{const g=_0x5299;return s(n[g(504)],n.defaultEdges),()=>{const b=g;f[b(2089)]=Da,u()}},[]);const f=N[e(1912)](Da);return lo(()=>{const g=e;for(const b of Ba){const v=n[b],h=f[g(2089)][b];v!==h&&typeof n[b]!==g(2157)&&(b==="nodes"?t(v):b===g(967)?x(v):b===g(1088)?r(v):b==="maxZoom"?o(v):b===g(1138)?i(v):b===g(440)?a(v):b===g(957)?d.setState({ariaLabelConfig:Jf(v)}):b===g(1124)?d[g(1609)]({fitViewQueued:v}):b==="fitViewOptions"?d.setState({fitViewOptions:v}):d[g(1609)]({[b]:v}))}f[g(2089)]=n},Ba.map(g=>n[g])),null}function La(){const n=c;return typeof window===n(2157)||!window.matchMedia?null:window[n(1534)](n(844))}function f2(n){const e=c,[t,x]=N.useState(n==="system"?null:n);return N.useEffect(()=>{const r=_0x5299;if(n!=="system"){x(n);return}const o=La(),i=()=>x(o?.[r(754)]?r(1964):"light");return i(),o?.[r(1254)]("change",i),()=>{o?.[r(963)]("change",i)}},[n]),t!==null?t:La()?.[e(754)]?"dark":e(2111)}const Na=typeof document!==c(2157)?document:null;function Jn(n=null,e={target:Na,actInsideInputWithModifier:!0}){const t=c,[x,r]=N[t(646)](!1),o=N[t(1912)](!1),i=N.useRef(new Set([])),[a,u]=N.useMemo(()=>{const s=t;if(n!==null){const d=Array[s(611)](n)?n:[n],f=d.filter(b=>typeof b===s(1857))[s(1577)](b=>b[s(1528)]("+",`
|
|
6
|
+
`)[s(1528)](`
|
|
5
7
|
|
|
6
8
|
`,`
|
|
7
|
-
+`)[s(
|
|
8
|
-
`)),b=f[s(1468)]((h,v)=>h[s(174)](...v),[]);return[f,b]}return[[],[]]},[e]);return L[t(614)](()=>{const s=t,d=n?.[s(1875)]??Ia,f=n?.[s(1114)]??!0;if(e!==null){const b=g=>{const p=s;if(o[p(1292)]=g[p(1137)]||g[p(903)]||g[p(563)]||g.altKey,(!o[p(1292)]||o.current&&!f)&&Oi(g))return!1;const m=Aa(g[p(1130)],u);if(i.current.add(g[m]),Pa(a,i.current,!1)){const w=g[p(1560)]?.()?.[0]||g[p(1875)],y=w?.[p(1472)]===p(893)||w?.[p(1472)]==="A";n[p(1390)]!==!1&&(o[p(1292)]||!y)&&g.preventDefault(),r(!0)}},h=g=>{const p=s,M=Aa(g[p(1130)],u);Pa(a,i[p(1292)],!0)?(r(!1),i.current[p(1364)]()):i.current[p(567)](g[M]),g[p(1671)]===p(1731)&&i[p(1292)][p(1364)](),o[p(1292)]=!1},v=()=>{const g=s;i.current[g(1364)](),r(!1)};return d?.addEventListener("keydown",b),d?.[s(1947)]("keyup",h),window.addEventListener(s(1780),v),window[s(1947)](s(1696),v),()=>{const g=s;d?.removeEventListener("keydown",b),d?.[g(1240)]("keyup",h),window[g(1240)](g(1780),v),window[g(1240)](g(1696),v)}}},[e,r]),x}function Pa(e,n,t){const x=c;return e[x(917)](r=>t||r.length===n[x(161)])[x(1385)](r=>r.every(o=>n[x(1949)](o)))}function Aa(e,n){const t=c;return n[t(444)](e)?"code":t(1671)}const h3=()=>{const e=c,n=ke();return L[e(477)](()=>{const t=e;return{zoomIn:x=>{const r=_0x4b9b,{panZoom:o}=n[r(1357)]();return o?o[r(379)](1.2,x):Promise.resolve(!1)},zoomOut:x=>{const r=_0x4b9b,{panZoom:o}=n[r(1357)]();return o?o[r(379)](1/1.2,x):Promise[r(817)](!1)},zoomTo:(x,r)=>{const o=_0x4b9b,{panZoom:i}=n[o(1357)]();return i?i[o(433)](x,r):Promise[o(817)](!1)},getZoom:()=>n[t(1357)]().transform[2],setViewport:async(x,r)=>{const o=t,{transform:[i,a,u],panZoom:s}=n[o(1357)]();return s?(await s[o(1186)]({x:x.x??i,y:x.y??a,zoom:x[o(1360)]??u},r),Promise[o(817)](!0)):Promise[o(817)](!1)},getViewport:()=>{const[x,r,o]=n.getState().transform;return{x,y:r,zoom:o}},setCenter:async(x,r,o)=>{const i=t;return n[i(1357)]()[i(1498)](x,r,o)},fitBounds:async(x,r)=>{const o=t,{width:i,height:a,minZoom:u,maxZoom:s,panZoom:d}=n.getState(),f=Kx(x,i,a,u,s,r?.[o(1252)]??.1);return d?(await d[o(1186)](f,{duration:r?.duration,ease:r?.ease,interpolate:r?.[o(696)]}),Promise.resolve(!0)):Promise[o(817)](!1)},screenToFlowPosition:(x,r={})=>{const o=t,{transform:i,snapGrid:a,snapToGrid:u,domNode:s}=n.getState();if(!s)return x;const{x:d,y:f}=s[o(1704)](),b={x:x.x-d,y:x.y-f},h=r[o(1665)]??a,v=r.snapToGrid??u;return Wt(b,i,v,h)},flowToScreenPosition:x=>{const r=t,{transform:o,domNode:i}=n[r(1357)]();if(!i)return x;const{x:a,y:u}=i.getBoundingClientRect(),s=G0(x,o);return{x:s.x+a,y:s.y+u}}}},[])};function ja(e,n){const t=c,x=[],r=new Map,o=[];for(const i of e)if(i[t(954)]===t(505)){o[t(177)](i);continue}else if(i[t(954)]==="remove"||i[t(954)]===t(1084))r[t(901)](i.id,[i]);else{const a=r[t(1450)](i.id);a?a.push(i):r[t(901)](i.id,[i])}for(const i of n){const a=r[t(1450)](i.id);if(!a){x.push(i);continue}if(a[0][t(954)]===t(1898))continue;if(a[0][t(954)]===t(1084)){x[t(177)]({...a[0][t(927)]});continue}const u={...i};for(const s of a)g3(s,u);x.push(u)}return o[t(586)]&&o[t(366)](i=>{const a=t;i[a(1511)]!==void 0?x.splice(i[a(1511)],0,{...i[a(927)]}):x[a(177)]({...i[a(927)]})}),x}function g3(e,n){const t=c;switch(e[t(954)]){case t(1380):{n[t(833)]=e.selected;break}case"position":{typeof e[t(1604)]!==t(891)&&(n[t(1604)]=e.position),typeof e[t(1018)]!==t(891)&&(n[t(1018)]=e[t(1018)]);break}case"dimensions":{typeof e[t(1921)]!==t(891)&&(n[t(1575)]={...e[t(1921)]},e[t(1764)]&&((e[t(1764)]===!0||e.setAttributes===t(575))&&(n.width=e[t(1921)][t(575)]),(e[t(1764)]===!0||e.setAttributes===t(800))&&(n.height=e[t(1921)].height))),typeof e[t(157)]=="boolean"&&(n[t(157)]=e[t(157)]);break}}}function Ea(e,n){return ja(e,n)}function Ya(e,n){return ja(e,n)}function Vn(e,n){return{id:e,type:c(1380),selected:n}}function ft(e,n=new Set,t=!1){const x=c,r=[];for(const[o,i]of e){const a=n[x(1949)](o);!(i[x(833)]===void 0&&!a)&&i[x(833)]!==a&&(t&&(i.selected=a),r.push(Vn(i.id,a)))}return r}function Ua({items:e=[],lookup:n}){const t=c,x=[],r=new Map(e[t(1779)](o=>[o.id,o]));for(const[o,i]of e[t(679)]()){const a=n.get(i.id),u=a?.[t(1725)]?.[t(1527)]??a;u!==void 0&&u!==i&&x.push({id:i.id,item:i,type:t(1084)}),u===void 0&&x[t(177)]({item:i,type:"add",index:o})}for(const[o]of n)r[t(1450)](o)===void 0&&x[t(177)]({id:o,type:t(1898)});return x}function Oa(e){const n=c;return{id:e.id,type:n(1898)}}const Ga=e=>Hf(e),y3=e=>Di(e);function Ta(e){return L.forwardRef(e)}function Ha(e){const n=c,[t,x]=L[n(195)](BigInt(0)),[r]=L[n(195)](()=>m3(()=>x(o=>o+BigInt(1))));return lo(()=>{const o=n,i=r.get();i.length&&(e(i),r[o(1015)]())},[t]),r}function m3(e){let n=[];return{get:()=>n,reset:()=>{n=[]},push:t=>{n[_0x4b9b(177)](t),e()}}}const Va=L[c(835)](null);function w3({children:e}){const n=c,t=ke(),x=L[n(1234)](u=>{const s=n,{nodes:d=[],setNodes:f,hasDefaultNodes:b,onNodesChange:h,nodeLookup:v,fitViewQueued:g,onNodesChangeMiddlewareMap:p}=t[s(1357)]();let M=d;for(const w of u)M=typeof w===s(1151)?w(M):w;let m=Ua({items:M,lookup:v});for(const w of p.values())m=w(m);b&&f(M),m.length>0?h?.(m):g&&window.requestAnimationFrame(()=>{const{fitViewQueued:w,nodes:y,setNodes:C}=t.getState();w&&C(y)})},[]),r=Ha(x),o=L[n(1234)](u=>{const s=n,{edges:d=[],setEdges:f,hasDefaultEdges:b,onEdgesChange:h,edgeLookup:v}=t.getState();let g=d;for(const p of u)g=typeof p===s(1151)?p(g):p;b?f(g):h&&h(Ua({items:g,lookup:v}))},[]),i=Ha(o),a=L.useMemo(()=>({nodeQueue:r,edgeQueue:i}),[]);return l[n(1667)](Va[n(1843)],{value:a,children:e})}function v3(){const e=c,n=L[e(1006)](Va);if(!n)throw new Error(e(1203));return n}const p3=e=>!!e.panZoom;function uo(){const e=c,n=h3(),t=ke(),x=v3(),r=Me(p3),o=L[e(477)](()=>{const i=e,a=h=>t[i(1357)]()[i(1942)][i(1450)](h),u=h=>{const v=i;x[v(1399)][v(177)](h)},s=h=>{x.edgeQueue.push(h)},d=h=>{const v=i,{nodeLookup:g,nodeOrigin:p}=t[v(1357)](),M=Ga(h)?h:g.get(h.id),m=M[v(934)]?Ei(M.position,M.measured,M[v(934)],g,p):M[v(1604)],w={...M,position:m,width:M.measured?.width??M[v(575)],height:M[v(1575)]?.[v(800)]??M[v(800)]};return ct(w)},f=(h,v,g={replace:!1})=>{const p=i;u(M=>M[p(1779)](m=>{const w=p;if(m.id===h){const y=typeof v===w(1151)?v(m):v;return g[w(1084)]&&Ga(y)?y:{...m,...y}}return m}))},b=(h,v,g={replace:!1})=>{s(p=>p.map(M=>{const m=_0x4b9b;if(M.id===h){const w=typeof v===m(1151)?v(M):v;return g[m(1084)]&&y3(w)?w:{...M,...w}}return M}))};return{getNodes:()=>t[i(1357)]()[i(459)][i(1779)](h=>({...h})),getNode:h=>a(h)?.internals[i(1527)],getInternalNode:a,getEdges:()=>{const h=i,{edges:v=[]}=t[h(1357)]();return v[h(1779)](g=>({...g}))},getEdge:h=>t[i(1357)]()[i(1432)][i(1450)](h),setNodes:u,setEdges:s,addNodes:h=>{const v=i,g=Array.isArray(h)?h:[h];x[v(1399)][v(177)](p=>[...p,...g])},addEdges:h=>{const v=i,g=Array.isArray(h)?h:[h];x.edgeQueue[v(177)](p=>[...p,...g])},toObject:()=>{const h=i,{nodes:v=[],edges:g=[],transform:p}=t[h(1357)](),[M,m,w]=p;return{nodes:v[h(1779)](y=>({...y})),edges:g[h(1779)](y=>({...y})),viewport:{x:M,y:m,zoom:w}}},deleteElements:async({nodes:h=[],edges:v=[]})=>{const g=i,{nodes:p,edges:M,onNodesDelete:m,onEdgesDelete:w,triggerNodeChanges:y,triggerEdgeChanges:C,onDelete:I,onBeforeDelete:Y}=t.getState(),{nodes:O,edges:T}=await Kf({nodesToRemove:h,edgesToRemove:v,nodes:p,edges:M,onBeforeDelete:Y}),U=T[g(586)]>0,Q=O.length>0;if(U){const X=T[g(1779)](Oa);w?.(T),C(X)}if(Q){const X=O.map(Oa);m?.(O),y(X)}return(Q||U)&&I?.({nodes:O,edges:T}),{deletedNodes:O,deletedEdges:T}},getIntersectingNodes:(h,v=!0,g)=>{const p=i,M=Pi(h),m=M?h:d(h),w=g!==void 0;return m?(g||t.getState()[p(459)])[p(917)](y=>{const C=p,I=t[C(1357)]()[C(1942)][C(1450)](y.id);if(I&&!M&&(y.id===h.id||!I.internals[C(1035)]))return!1;const Y=ct(w?y:I),O=Vt(Y,m);return v&&O>0||O>=Y[C(575)]*Y[C(800)]||O>=m.width*m[C(800)]}):[]},isNodeIntersecting:(h,v,g=!0)=>{const p=i,M=Pi(h),m=M?h:d(h);if(!m)return!1;const w=Vt(m,v);return g&&w>0||w>=v[p(575)]*v.height||w>=m[p(575)]*m.height},updateNode:f,updateNodeData:(h,v,g={replace:!1})=>{f(h,p=>{const M=_0x4b9b,m=typeof v===M(1151)?v(p):v;return g[M(1084)]?{...p,data:m}:{...p,data:{...p[M(1934)],...m}}},g)},updateEdge:b,updateEdgeData:(h,v,g={replace:!1})=>{b(h,p=>{const M=_0x4b9b,m=typeof v===M(1151)?v(p):v;return g[M(1084)]?{...p,data:m}:{...p,data:{...p[M(1934)],...m}}},g)},getNodesBounds:h=>{const v=i,{nodeLookup:g,nodeOrigin:p}=t[v(1357)]();return Vf(h,{nodeLookup:g,nodeOrigin:p})},getHandleConnections:({type:h,id:v,nodeId:g})=>Array[i(1256)](t[i(1357)]()[i(1118)][i(1450)](g+"-"+h+(v?"-"+v:""))?.[i(269)]()??[]),getNodeConnections:({type:h,handleId:v,nodeId:g})=>Array.from(t[i(1357)]()[i(1118)][i(1450)](""+g+(h?v?"-"+h+"-"+v:"-"+h:""))?.[i(269)]()??[]),fitView:async h=>{const v=i,g=t.getState()[v(1937)]??Jf();return t[v(1215)]({fitViewQueued:!0,fitViewOptions:h,fitViewResolver:g}),x[v(1399)][v(177)](p=>[...p]),g[v(1815)]}}},[]);return L[e(477)](()=>({...o,...n,viewportInitialized:r}),[r])}const qa=e=>e[c(833)],z3=typeof window<"u"?window:void 0;function C3({deleteKeyCode:e,multiSelectionKeyCode:n}){const t=c,x=ke(),{deleteElements:r}=uo(),o=Zt(e,{actInsideInputWithModifier:!1}),i=Zt(n,{target:z3});L[t(614)](()=>{const a=t;if(o){const{edges:u,nodes:s}=x[a(1357)]();r({nodes:s.filter(qa),edges:u[a(917)](qa)}),x[a(1215)]({nodesSelectionActive:!1})}},[o]),L[t(614)](()=>{x.setState({multiSelectionActive:i})},[i])}function M3(e){const n=c,t=ke();L[n(614)](()=>{const x=n,r=()=>{const o=_0x4b9b;if(!e[o(1292)]||!(e[o(1292)][o(811)]?.()??!0))return!1;const i=Zx(e[o(1292)]);(i[o(800)]===0||i.width===0)&&t.getState().onError?.("004",Xe.error004()),t[o(1215)]({width:i[o(575)]||500,height:i[o(800)]||500})};if(e[x(1292)]){r(),window.addEventListener("resize",r);const o=new ResizeObserver(()=>r());return o[x(476)](e[x(1292)]),()=>{const i=x;window[i(1240)](i(938),r),o&&e[i(1292)]&&o[i(1961)](e[i(1292)])}}},[])}const R0={position:c(1254),width:c(346),height:c(346),top:0,left:0},B3=e=>({userSelectionActive:e[c(362)],lib:e.lib,connectionInProgress:e[c(330)].inProgress});function D3({onPaneContextMenu:e,zoomOnScroll:n=!0,zoomOnPinch:t=!0,panOnScroll:x=!1,panOnScrollSpeed:r=.5,panOnScrollMode:o=Gn[c(1920)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:u,translateExtent:s,minZoom:d,maxZoom:f,zoomActivationKeyCode:b,preventScrolling:h=!0,children:v,noWheelClassName:g,noPanClassName:p,onViewportChange:M,isControlledViewport:m,paneClickDistance:w,selectionOnDrag:y}){const C=c,I=ke(),Y=L[C(519)](null),{userSelectionActive:O,lib:T,connectionInProgress:U}=Me(B3,Se),Q=Zt(b),X=L[C(519)]();M3(Y);const W=L[C(1234)](G=>{M?.({x:G[0],y:G[1],zoom:G[2]}),!m&&I.setState({transform:G})},[M,m]);return L[C(614)](()=>{const G=C;if(Y[G(1292)]){X[G(1292)]=I2({domNode:Y[G(1292)],minZoom:d,maxZoom:f,translateExtent:s,viewport:u,onDraggingChange:j=>I[G(1215)](A=>A[G(395)]===j?A:{paneDragging:j}),onPanZoomStart:(j,A)=>{const{onViewportChangeStart:P,onMoveStart:Z}=I.getState();Z?.(j,A),P?.(A)},onPanZoom:(j,A)=>{const P=G,{onViewportChange:Z,onMove:_}=I[P(1357)]();_?.(j,A),Z?.(A)},onPanZoomEnd:(j,A)=>{const P=G,{onViewportChangeEnd:Z,onMoveEnd:_}=I[P(1357)]();_?.(j,A),Z?.(A)}});const{x:N,y:B,zoom:D}=X[G(1292)][G(225)]();return I[G(1215)]({panZoom:X[G(1292)],transform:[N,B,D],domNode:Y[G(1292)][G(709)](G(1969))}),()=>{const j=G;X[j(1292)]?.[j(1341)]()}}},[]),L[C(614)](()=>{const G=C;X.current?.[G(1554)]({onPaneContextMenu:e,zoomOnScroll:n,zoomOnPinch:t,panOnScroll:x,panOnScrollSpeed:r,panOnScrollMode:o,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:Q,preventScrolling:h,noPanClassName:p,userSelectionActive:O,noWheelClassName:g,lib:T,onTransformChange:W,connectionInProgress:U,selectionOnDrag:y,paneClickDistance:w})},[e,n,t,x,r,o,i,a,Q,h,p,O,g,T,W,U,y,w]),l[C(1667)]("div",{className:C(1193),ref:Y,style:R0,children:v})}const L3=e=>({userSelectionActive:e[c(362)],userSelectionRect:e[c(1157)]});function N3(){const e=c,{userSelectionActive:n,userSelectionRect:t}=Me(L3,Se);return n&&t?l[e(1667)](e(1574),{className:"react-flow__selection react-flow__container",style:{width:t.width,height:t[e(800)],transform:e(675)+t.x+e(809)+t.y+"px)"}}):null}const fo=(e,n)=>t=>{const x=_0x4b9b;t.target===n[x(1292)]&&e?.(t)},S3=e=>({userSelectionActive:e.userSelectionActive,elementsSelectable:e[c(1250)],connectionInProgress:e[c(330)][c(724)],dragging:e[c(395)]});function k3({isSelecting:e,selectionKeyPressed:n,selectionMode:t=Gt[c(1336)],panOnDrag:x,paneClickDistance:r,selectionOnDrag:o,onSelectionStart:i,onSelectionEnd:a,onPaneClick:u,onPaneContextMenu:s,onPaneScroll:d,onPaneMouseEnter:f,onPaneMouseMove:b,onPaneMouseLeave:h,children:v}){const g=c,p=ke(),{userSelectionActive:M,elementsSelectable:m,dragging:w,connectionInProgress:y}=Me(S3,Se),C=m&&(e||M),I=L[g(519)](null),Y=L[g(519)](),O=L[g(519)](new Set),T=L[g(519)](new Set),U=L[g(519)](!1),Q=A=>{const P=g;if(U[P(1292)]||y){U[P(1292)]=!1;return}u?.(A),p[P(1357)]()[P(991)](),p[P(1215)]({nodesSelectionActive:!1})},X=A=>{if(Array[g(1922)](x)&&x?.includes(2)){A.preventDefault();return}s?.(A)},W=d?A=>d(A):void 0,G=A=>{const P=g;U.current&&(A[P(1440)](),U[P(1292)]=!1)},N=A=>{const P=g,{domNode:Z}=p[P(1357)]();if(Y[P(1292)]=Z?.[P(1704)](),!Y.current)return;const _=A.target===I[P(1292)];if(!_&&!!A.target[P(709)](".nokey")||!e||!(o&&_||n)||A.button!==0||!A[P(392)])return;A[P(1875)]?.setPointerCapture?.(A.pointerId),U[P(1292)]=!1;const{x:xe,y:ae}=nn(A.nativeEvent,Y[P(1292)]);p[P(1215)]({userSelectionRect:{width:0,height:0,startX:xe,startY:ae,x:xe,y:ae}}),!_&&(A[P(1440)](),A[P(1390)]())},B=A=>{const P=g,{userSelectionRect:Z,transform:_,nodeLookup:R,edgeLookup:ee,connectionLookup:xe,triggerNodeChanges:ae,triggerEdgeChanges:ce,defaultEdgeOptions:ie,resetSelectedElements:oe}=p[P(1357)]();if(!Y[P(1292)]||!Z)return;const{x:ne,y:se}=nn(A[P(463)],Y[P(1292)]),{startX:S,startY:k}=Z;if(!U.current){const de=n?0:r;if(Math[P(493)](ne-S,se-k)<=de)return;oe(),i?.(A)}U[P(1292)]=!0;const K={startX:S,startY:k,x:ne<S?ne:S,y:se<k?se:k,width:Math[P(1534)](ne-S),height:Math[P(1534)](se-k)},q=O.current,V=T[P(1292)];O[P(1292)]=new Set(Wx(R,K,_,t===Gt[P(852)],!0)[P(1779)](de=>de.id)),T[P(1292)]=new Set;const F=ie?.[P(1808)]??!0;for(const de of O[P(1292)]){const me=xe[P(1450)](de);if(me)for(const{edgeId:he}of me[P(269)]()){const we=ee.get(he);we&&(we.selectable??F)&&T[P(1292)][P(505)](he)}}if(!Yi(q,O.current)){const de=ft(R,O[P(1292)],!0);ae(de)}if(!Yi(V,T[P(1292)])){const de=ft(ee,T[P(1292)]);ce(de)}p[P(1215)]({userSelectionRect:K,userSelectionActive:!0,nodesSelectionActive:!1})},D=A=>{const P=g;A[P(1705)]===0&&(A[P(1875)]?.[P(1756)]?.(A.pointerId),!M&&A[P(1875)]===I[P(1292)]&&p[P(1357)]()[P(1157)]&&Q?.(A),p[P(1215)]({userSelectionActive:!1,userSelectionRect:null}),U[P(1292)]&&(a?.(A),p[P(1215)]({nodesSelectionActive:O[P(1292)].size>0})))},j=x===!0||Array[g(1922)](x)&&x.includes(0);return l.jsxs("div",{className:Ae([g(1143),{draggable:j,dragging:w,selection:e}]),onClick:C?void 0:fo(Q,I),onContextMenu:fo(X,I),onWheel:fo(W,I),onPointerEnter:C?void 0:f,onPointerMove:C?B:b,onPointerUp:C?D:void 0,onPointerDownCapture:C?N:void 0,onClickCapture:C?G:void 0,onPointerLeave:h,ref:I,style:R0,children:[v,l[g(1667)](N3,{})]})}function bo({id:e,store:n,unselect:t=!1,nodeRef:x}){const r=c,{addSelectedNodes:o,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:u,onError:s}=n[r(1357)](),d=u[r(1450)](e);if(!d){s?.(r(1672),Xe[r(821)](e));return}n[r(1215)]({nodesSelectionActive:!1}),d[r(833)]?(t||d[r(833)]&&a)&&(i({nodes:[d],edges:[]}),requestAnimationFrame(()=>x?.[r(1292)]?.blur())):o([e])}function Wa({nodeRef:e,disabled:n=!1,noDragClassName:t,handleSelector:x,nodeId:r,isSelectable:o,nodeClickDistance:i}){const a=c,u=ke(),[s,d]=L[a(195)](!1),f=L[a(519)]();return L[a(614)](()=>{f.current=y2({getStoreItems:()=>u.getState(),onNodeMouseDown:b=>{bo({id:b,store:u,nodeRef:e})},onDragStart:()=>{d(!0)},onDragStop:()=>{d(!1)}})},[]),L[a(614)](()=>{const b=a;if(!(n||!e[b(1292)]||!f[b(1292)]))return f[b(1292)][b(1554)]({noDragClassName:t,handleSelector:x,domNode:e[b(1292)],isSelectable:o,nodeId:r,nodeClickDistance:i}),()=>{const h=b;f[h(1292)]?.[h(1341)]()}},[t,x,n,o,e,r,i]),s}const I3=e=>n=>n[c(833)]&&(n[c(1828)]||e&&typeof n[c(1828)]>"u");function Xa(){const e=c,n=ke();return L[e(1234)](x=>{const r=e,{nodeExtent:o,snapToGrid:i,snapGrid:a,nodesDraggable:u,onError:s,updateNodePositions:d,nodeLookup:f,nodeOrigin:b}=n[r(1357)](),h=new Map,v=I3(u),g=i?a[0]:5,p=i?a[1]:5,M=x[r(940)].x*g*x[r(1782)],m=x[r(940)].y*p*x[r(1782)];for(const[,w]of f){if(!v(w))continue;let y={x:w[r(1725)][r(1035)].x+M,y:w.internals[r(1035)].y+m};i&&(y=qt(y,a));const{position:C,positionAbsolute:I}=Li({nodeId:w.id,nextPosition:y,nodeLookup:f,nodeExtent:o,nodeOrigin:b,onError:s});w[r(1604)]=C,w[r(1725)][r(1035)]=I,h[r(901)](w.id,w)}d(h)},[])}const ho=L.createContext(null),P3=ho[c(1843)];ho[c(655)];const Ka=()=>L[c(1006)](ho),A3=e=>({connectOnClick:e[c(503)],noPanClassName:e.noPanClassName,rfId:e[c(1310)]}),j3=(e,n,t)=>x=>{const r=c,{connectionClickStartHandle:o,connectionMode:i,connection:a}=x,{fromHandle:u,toHandle:s,isValid:d}=a,f=s?.[r(1855)]===e&&s?.id===n&&s?.[r(954)]===t;return{connectingFrom:u?.[r(1855)]===e&&u?.id===n&&u?.[r(954)]===t,connectingTo:f,clickConnecting:o?.[r(1855)]===e&&o?.id===n&&o?.[r(954)]===t,isPossibleEndHandle:i===it.Strict?u?.[r(954)]!==t:e!==u?.[r(1855)]||n!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!o,valid:f&&d}};function E3({type:e=c(385),position:n=fe[c(331)],isValidConnection:t,isConnectable:x=!0,isConnectableStart:r=!0,isConnectableEnd:o=!0,id:i,onConnect:a,children:u,className:s,onMouseDown:d,onTouchStart:f,...b},h){const v=c,g=i||null,p=e===v(1875),M=ke(),m=Ka(),{connectOnClick:w,noPanClassName:y,rfId:C}=Me(A3,Se),{connectingFrom:I,connectingTo:Y,clickConnecting:O,isPossibleEndHandle:T,connectionInProcess:U,clickConnectionInProcess:Q,valid:X}=Me(j3(m,g,e),Se);!m&&M[v(1357)]()[v(947)]?.(v(1379),Xe[v(1329)]());const W=B=>{const D=v,{defaultEdgeOptions:j,onConnect:A,hasDefaultEdges:P}=M.getState(),Z={...j,...B};if(P){const{edges:_,setEdges:R}=M[D(1357)]();R(Xi(Z,_))}A?.(Z),a?.(Z)},G=B=>{const D=v;if(!m)return;const j=Gi(B.nativeEvent);if(r&&(j&&B[D(1705)]===0||!j)){const A=M.getState();xo[D(1124)](B[D(463)],{handleDomNode:B[D(1222)],autoPanOnConnect:A[D(1294)],connectionMode:A[D(712)],connectionRadius:A[D(1033)],domNode:A.domNode,nodeLookup:A[D(1942)],lib:A[D(1691)],isTarget:p,handleId:g,nodeId:m,flowId:A.rfId,panBy:A[D(373)],cancelConnection:A[D(1975)],onConnectStart:A[D(1170)],onConnectEnd:(...P)=>M[D(1357)]()[D(738)]?.(...P),updateConnection:A.updateConnection,onConnect:W,isValidConnection:t||((...P)=>M[D(1357)]().isValidConnection?.(...P)??!0),getTransform:()=>M[D(1357)]().transform,getFromHandle:()=>M[D(1357)]()[D(330)][D(318)],autoPanSpeed:A.autoPanSpeed,dragThreshold:A.connectionDragThreshold})}j?d?.(B):f?.(B)},N=B=>{const D=v,{onClickConnectStart:j,onClickConnectEnd:A,connectionClickStartHandle:P,connectionMode:Z,isValidConnection:_,lib:R,rfId:ee,nodeLookup:xe,connection:ae}=M[D(1357)]();if(!m||!P&&!r)return;if(!P){j?.(B[D(463)],{nodeId:m,handleId:g,handleType:e}),M[D(1215)]({connectionClickStartHandle:{nodeId:m,type:e,id:g}});return}const ce=Ui(B[D(1875)]),ie=t||_,{connection:oe,isValid:ne}=xo[D(1906)](B[D(463)],{handle:{nodeId:m,id:g,type:e},connectionMode:Z,fromNodeId:P[D(1855)],fromHandleId:P.id||null,fromType:P[D(954)],isValidConnection:ie,flowId:ee,doc:ce,lib:R,nodeLookup:xe});ne&&oe&&W(oe);const se=structuredClone(ae);delete se.inProgress,se[D(533)]=se.toHandle?se[D(291)][D(1604)]:null,A?.(B,se),M.setState({connectionClickStartHandle:null})};return l.jsx("div",{"data-handleid":g,"data-nodeid":m,"data-handlepos":n,"data-id":C+"-"+m+"-"+g+"-"+e,className:Ae([v(1849),v(1800)+n,v(1932),y,s,{source:!p,target:p,connectable:x,connectablestart:r,connectableend:o,clickconnecting:O,connectingfrom:I,connectingto:Y,valid:X,connectionindicator:x&&(!U||T)&&(U||Q?o:r)}]),onMouseDown:G,onTouchStart:G,onClick:w?N:void 0,ref:h,...b,children:u})}const bt=L[c(234)](Ta(E3));function Y3({data:e,isConnectable:n,sourcePosition:t=fe.Bottom}){const x=c;return l[x(1200)](l[x(990)],{children:[e?.label,l[x(1667)](bt,{type:x(385),position:t,isConnectable:n})]})}function U3({data:e,isConnectable:n,targetPosition:t=fe[c(331)],sourcePosition:x=fe.Bottom}){const r=c;return l[r(1200)](l[r(990)],{children:[l[r(1667)](bt,{type:r(1875),position:t,isConnectable:n}),e?.[r(1820)],l[r(1667)](bt,{type:r(385),position:x,isConnectable:n})]})}function O3(){return null}function G3({data:e,isConnectable:n,targetPosition:t=fe[c(331)]}){const x=c;return l[x(1200)](l[x(990)],{children:[l[x(1667)](bt,{type:"target",position:t,isConnectable:n}),e?.[x(1820)]]})}const J0={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Za={input:Y3,default:U3,output:G3,group:O3};function T3(e){const n=c;return e[n(1725)].handleBounds===void 0?{width:e[n(575)]??e[n(1801)]??e[n(571)]?.[n(575)],height:e[n(800)]??e.initialHeight??e[n(571)]?.[n(800)]}:{width:e[n(575)]??e.style?.[n(575)],height:e.height??e[n(571)]?.[n(800)]}}const H3=e=>{const n=c,{width:t,height:x,x:r,y:o}=Ht(e[n(1942)],{filter:i=>!!i[n(833)]});return{width:en(t)?t:null,height:en(x)?x:null,userSelectionActive:e[n(362)],transformString:n(675)+e[n(1879)][0]+"px,"+e[n(1879)][1]+n(1163)+e[n(1879)][2]+n(1421)+r+"px,"+o+n(650)}};function V3({onSelectionContextMenu:e,noPanClassName:n,disableKeyboardA11y:t}){const x=c,r=ke(),{width:o,height:i,transformString:a,userSelectionActive:u}=Me(H3,Se),s=Xa(),d=L[x(519)](null);L.useEffect(()=>{const v=x;!t&&d.current?.[v(984)]({preventScroll:!0})},[t]);const f=!u&&o!==null&&i!==null;if(Wa({nodeRef:d,disabled:!f}),!f)return null;const b=e?v=>{const g=x,p=r[g(1357)]().nodes[g(917)](M=>M.selected);e(v,p)}:void 0,h=v=>{const g=x;Object[g(502)][g(1885)][g(211)](J0,v[g(1671)])&&(v.preventDefault(),s({direction:J0[v[g(1671)]],factor:v[g(563)]?4:1}))};return l.jsx(x(1574),{className:Ae([x(654),x(895),n]),style:{transform:a},children:l[x(1667)](x(1574),{ref:d,className:x(383),onContextMenu:b,tabIndex:t?void 0:-1,onKeyDown:t?void 0:h,style:{width:o,height:i}})})}const Ra=typeof window<"u"?window:void 0,q3=e=>({nodesSelectionActive:e[c(1095)],userSelectionActive:e.userSelectionActive});function Ja({children:e,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:r,onPaneContextMenu:o,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:u,selectionKeyCode:s,selectionOnDrag:d,selectionMode:f,onSelectionStart:b,onSelectionEnd:h,multiSelectionKeyCode:v,panActivationKeyCode:g,zoomActivationKeyCode:p,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:w,panOnScroll:y,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:Y,panOnDrag:O,defaultViewport:T,translateExtent:U,minZoom:Q,maxZoom:X,preventScrolling:W,onSelectionContextMenu:G,noWheelClassName:N,noPanClassName:B,disableKeyboardA11y:D,onViewportChange:j,isControlledViewport:A}){const P=c,{nodesSelectionActive:Z,userSelectionActive:_}=Me(q3,Se),R=Zt(s,{target:Ra}),ee=Zt(g,{target:Ra}),xe=ee||O,ae=ee||y,ce=d&&xe!==!0,ie=R||_||ce;return C3({deleteKeyCode:u,multiSelectionKeyCode:v}),l.jsx(D3,{onPaneContextMenu:o,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:w,panOnScroll:ae,panOnScrollSpeed:C,panOnScrollMode:I,zoomOnDoubleClick:Y,panOnDrag:!R&&xe,defaultViewport:T,translateExtent:U,minZoom:Q,maxZoom:X,zoomActivationKeyCode:p,preventScrolling:W,noWheelClassName:N,noPanClassName:B,onViewportChange:j,isControlledViewport:A,paneClickDistance:a,selectionOnDrag:ce,children:l[P(1200)](k3,{onSelectionStart:b,onSelectionEnd:h,onPaneClick:n,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:r,onPaneContextMenu:o,onPaneScroll:i,panOnDrag:xe,isSelecting:!!ie,selectionMode:f,selectionKeyPressed:R,paneClickDistance:a,selectionOnDrag:ce,children:[e,Z&&l.jsx(V3,{onSelectionContextMenu:G,noPanClassName:B,disableKeyboardA11y:D})]})})}Ja[c(1169)]="FlowRenderer";const W3=L[c(234)](Ja),X3=e=>n=>{const t=c;return e?Wx(n.nodeLookup,{x:0,y:0,width:n[t(575)],height:n.height},n.transform,!0)[t(1779)](x=>x.id):Array[t(1256)](n[t(1942)][t(964)]())};function K3(e){return Me(L.useCallback(X3(e),[e]),Se)}const Z3=e=>e.updateNodeInternals;function R3(){const e=c,n=Me(Z3),[t]=L[e(195)](()=>{const x=e;return typeof ResizeObserver===x(891)?null:new ResizeObserver(r=>{const o=x,i=new Map;r[o(366)](a=>{const u=o,s=a[u(1875)][u(1396)](u(397));i[u(901)](s,{id:s,nodeElement:a[u(1875)],force:!0})}),n(i)})});return L.useEffect(()=>()=>{t?.[_0x4b9b(485)]()},[t]),t}function J3({node:e,nodeType:n,hasDimensions:t,resizeObserver:x}){const r=c,o=ke(),i=L[r(519)](null),a=L[r(519)](null),u=L[r(519)](e[r(1457)]),s=L[r(519)](e[r(1307)]),d=L[r(519)](n),f=t&&!!e.internals[r(1824)];return L[r(614)](()=>{const b=r;i[b(1292)]&&!e.hidden&&(!f||a[b(1292)]!==i[b(1292)])&&(a[b(1292)]&&x?.[b(1961)](a.current),x?.[b(476)](i[b(1292)]),a[b(1292)]=i[b(1292)])},[f,e[r(1061)]]),L.useEffect(()=>()=>{const b=_0x4b9b;a.current&&(x?.[b(1961)](a[b(1292)]),a[b(1292)]=null)},[]),L[r(614)](()=>{const b=r;if(i[b(1292)]){const h=d[b(1292)]!==n,v=u[b(1292)]!==e[b(1457)],g=s[b(1292)]!==e[b(1307)];(h||v||g)&&(d[b(1292)]=n,u.current=e.sourcePosition,s.current=e[b(1307)],o.getState()[b(1245)](new Map([[e.id,{id:e.id,nodeElement:i[b(1292)],force:!0}]])))}},[e.id,n,e[r(1457)],e[r(1307)]]),i}function _3({id:e,onClick:n,onMouseEnter:t,onMouseMove:x,onMouseLeave:r,onContextMenu:o,onDoubleClick:i,nodesDraggable:a,elementsSelectable:u,nodesConnectable:s,nodesFocusable:d,resizeObserver:f,noDragClassName:b,noPanClassName:h,disableKeyboardA11y:v,rfId:g,nodeTypes:p,nodeClickDistance:M,onError:m}){const w=c,{node:y,internals:C,isParent:I}=Me(oe=>{const ne=_0x4b9b,se=oe[ne(1942)][ne(1450)](e),S=oe.parentLookup[ne(1949)](e);return{node:se,internals:se[ne(1725)],isParent:S}},Se);let Y=y[w(954)]||w(1729),O=p?.[Y]||Za[Y];O===void 0&&(m?.(w(206),Xe.error003(Y)),Y=w(1729),O=p?.[w(1729)]||Za[w(1729)]);const T=!!(y.draggable||a&&typeof y[w(1828)]===w(891)),U=!!(y[w(1808)]||u&&typeof y[w(1808)]===w(891)),Q=!!(y[w(1007)]||s&&typeof y[w(1007)]>"u"),X=!!(y[w(638)]||d&&typeof y[w(638)]>"u"),W=ke(),G=ji(y),N=J3({node:y,nodeType:Y,hasDimensions:G,resizeObserver:f}),B=Wa({nodeRef:N,disabled:y.hidden||!T,noDragClassName:b,handleSelector:y[w(432)],nodeId:e,isSelectable:U,nodeClickDistance:M}),D=Xa();if(y.hidden)return null;const j=gn(y),A=T3(y),P=U||T||n||t||x||r,Z=t?oe=>t(oe,{...C[w(1527)]}):void 0,_=x?oe=>x(oe,{...C.userNode}):void 0,R=r?oe=>r(oe,{...C[w(1527)]}):void 0,ee=o?oe=>o(oe,{...C.userNode}):void 0,xe=i?oe=>i(oe,{...C.userNode}):void 0,ae=oe=>{const ne=w,{selectNodesOnDrag:se,nodeDragThreshold:S}=W[ne(1357)]();U&&(!se||!T||S>0)&&bo({id:e,store:W,nodeRef:N}),n&&n(oe,{...C.userNode})},ce=oe=>{const ne=w;if(!(Oi(oe[ne(463)])||v)){if(pi[ne(444)](oe[ne(1671)])&&U){const se=oe.key==="Escape";bo({id:e,store:W,unselect:se,nodeRef:N})}else if(T&&y.selected&&Object[ne(502)].hasOwnProperty[ne(211)](J0,oe[ne(1671)])){oe[ne(1390)]();const{ariaLabelConfig:se}=W[ne(1357)]();W[ne(1215)]({ariaLiveMessage:se[ne(223)]({direction:oe[ne(1671)][ne(1084)](ne(1565),"")[ne(634)](),x:~~C.positionAbsolute.x,y:~~C[ne(1035)].y})}),D({direction:J0[oe[ne(1671)]],factor:oe.shiftKey?4:1})}}},ie=()=>{const oe=w;if(v||!N[oe(1292)]?.[oe(1904)](oe(411)))return;const{transform:ne,width:se,height:S,autoPanOnNodeFocus:k,setCenter:K}=W.getState();if(!k)return;!(Wx(new Map([[e,y]]),{x:0,y:0,width:se,height:S},ne,!0).length>0)&&K(y[oe(1604)].x+j[oe(575)]/2,y[oe(1604)].y+j[oe(800)]/2,{zoom:ne[2]})};return l[w(1667)]("div",{className:Ae(["react-flow__node",w(1596)+Y,{[h]:T},y[w(272)],{selected:y[w(833)],selectable:U,parent:I,draggable:T,dragging:B}]),ref:N,style:{zIndex:C.z,transform:"translate("+C[w(1035)].x+"px,"+C[w(1035)].y+w(650),pointerEvents:w(P?469:1598),visibility:G?w(1768):"hidden",...y[w(571)],...A},"data-id":e,"data-testid":"rf__node-"+e,onMouseEnter:Z,onMouseMove:_,onMouseLeave:R,onContextMenu:ee,onClick:ae,onDoubleClick:xe,onKeyDown:X?ce:void 0,tabIndex:X?0:void 0,onFocus:X?ie:void 0,role:y[w(1571)]??(X?w(523):void 0),"aria-roledescription":w(742),"aria-describedby":v?void 0:Ba+"-"+g,"aria-label":y[w(1444)],...y[w(657)],children:l.jsx(P3,{value:e,children:l[w(1667)](O,{id:e,data:y[w(1934)],type:Y,positionAbsoluteX:C[w(1035)].x,positionAbsoluteY:C[w(1035)].y,selected:y.selected??!1,selectable:U,draggable:T,deletable:y[w(1509)]??!0,isConnectable:Q,sourcePosition:y.sourcePosition,targetPosition:y[w(1307)],dragging:B,dragHandle:y.dragHandle,zIndex:C.z,parentId:y.parentId,...j})})})}var F3=L[c(234)](_3);const Q3=e=>({nodesDraggable:e.nodesDraggable,nodesConnectable:e.nodesConnectable,nodesFocusable:e[c(246)],elementsSelectable:e[c(1250)],onError:e[c(947)]});function _a(e){const n=c,{nodesDraggable:t,nodesConnectable:x,nodesFocusable:r,elementsSelectable:o,onError:i}=Me(Q3,Se),a=K3(e[n(715)]),u=R3();return l[n(1667)](n(1574),{className:n(253),style:R0,children:a[n(1779)](s=>{const d=n;return l[d(1667)](F3,{id:s,nodeTypes:e[d(1325)],nodeExtent:e[d(665)],onClick:e[d(716)],onMouseEnter:e[d(931)],onMouseMove:e[d(1899)],onMouseLeave:e[d(958)],onContextMenu:e[d(1354)],onDoubleClick:e[d(861)],noDragClassName:e.noDragClassName,noPanClassName:e[d(1024)],rfId:e[d(1310)],disableKeyboardA11y:e.disableKeyboardA11y,resizeObserver:u,nodesDraggable:t,nodesConnectable:x,nodesFocusable:r,elementsSelectable:o,nodeClickDistance:e.nodeClickDistance,onError:i},s)})})}_a[c(1169)]="NodeRenderer";const $3=L.memo(_a);function eb(e){const n=c;return Me(L[n(1234)](x=>{const r=n;if(!e)return x[r(1884)][r(1779)](i=>i.id);const o=[];if(x[r(575)]&&x[r(800)])for(const i of x[r(1884)]){const a=x[r(1942)][r(1450)](i.source),u=x[r(1942)].get(i[r(1875)]);a&&u&&$f({sourceNode:a,targetNode:u,width:x.width,height:x[r(800)],transform:x[r(1879)]})&&o[r(177)](i.id)}return o},[e]),Se)}const nb=({color:e="none",strokeWidth:n=1})=>{const t=c,x={strokeWidth:n,...e&&{stroke:e}};return l[t(1667)](t(1189),{className:t(1930),style:x,strokeLinecap:t(846),fill:t(1598),strokeLinejoin:t(846),points:t(488)})},tb=({color:e=c(1598),strokeWidth:n=1})=>{const t=c,x={strokeWidth:n,...e&&{stroke:e,fill:e}};return l[t(1667)](t(1189),{className:t(1046),style:x,strokeLinecap:t(846),strokeLinejoin:t(846),points:t(155)})},Fa={[E0[c(1565)]]:nb,[E0.ArrowClosed]:tb};function xb(e){const n=c,t=ke();return L[n(477)](()=>{const r=n;return Object[r(502)][r(1885)][r(211)](Fa,e)?Fa[e]:(t[r(1357)]().onError?.(r(496),Xe[r(186)](e)),null)},[e])}const ob=({id:e,type:n,color:t,width:x=12.5,height:r=12.5,markerUnits:o=c(886),strokeWidth:i,orient:a=c(278)})=>{const u=c,s=xb(n);return s?l[u(1667)](u(732),{className:u(1464),id:e,markerWidth:""+x,markerHeight:""+r,viewBox:u(467),markerUnits:o,orient:a,refX:"0",refY:"0",children:l[u(1667)](s,{color:t,strokeWidth:i})}):null},Qa=({defaultColor:e,rfId:n})=>{const t=c,x=Me(i=>i.edges),r=Me(i=>i.defaultEdgeOptions),o=L[t(477)](()=>i2(x,{id:n,defaultColor:e,defaultMarkerStart:r?.[t(1974)],defaultMarkerEnd:r?.markerEnd}),[x,r,n,e]);return o[t(586)]?l[t(1667)](t(1533),{className:"react-flow__marker","aria-hidden":t(420),children:l[t(1667)](t(286),{children:o[t(1779)](i=>l[t(1667)](ob,{id:i.id,type:i[t(954)],color:i[t(258)],width:i.width,height:i[t(800)],markerUnits:i[t(180)],strokeWidth:i[t(886)],orient:i[t(1131)]},i.id))})}):null};Qa[c(1169)]="MarkerDefinitions";var rb=L.memo(Qa);function $a({x:e,y:n,label:t,labelStyle:x,labelShowBg:r=!0,labelBgStyle:o,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:u,className:s,...d}){const f=c,[b,h]=L[f(195)]({x:1,y:0,width:0,height:0}),v=Ae(["react-flow__edge-textwrapper",s]),g=L.useRef(null);return L[f(614)](()=>{const p=f;if(g[p(1292)]){const M=g[p(1292)].getBBox();h({x:M.x,y:M.y,width:M[p(575)],height:M.height})}},[t]),t?l[f(1200)]("g",{transform:f(675)+(e-b.width/2)+" "+(n-b[f(800)]/2)+")",className:v,visibility:b.width?f(1768):f(1061),...d,children:[r&&l[f(1667)](f(390),{width:b.width+2*i[0],x:-i[0],y:-i[1],height:b[f(800)]+2*i[1],className:f(1132),style:o,rx:a,ry:a}),l[f(1667)](f(875),{className:f(1841),y:b[f(800)]/2,dy:f(1662),ref:g,style:x,children:t}),u]}):null}$a.displayName=c(1082);const ib=L[c(234)]($a);function _0({path:e,labelX:n,labelY:t,label:x,labelStyle:r,labelShowBg:o,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u,interactionWidth:s=20,...d}){const f=c;return l.jsxs(l.Fragment,{children:[l[f(1667)](f(1806),{...d,d:e,fill:f(1598),className:Ae([f(1505),d[f(272)]])}),s?l[f(1667)](f(1806),{d:e,fill:f(1598),strokeOpacity:0,strokeWidth:s,className:f(517)}):null,x&&en(n)&&en(t)?l[f(1667)](ib,{x:n,y:t,label:x,labelStyle:r,labelShowBg:o,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u}):null]})}function ec({pos:e,x1:n,y1:t,x2:x,y2:r}){const o=c;return e===fe[o(1953)]||e===fe[o(209)]?[.5*(n+x),t]:[n,.5*(t+r)]}function nc({sourceX:e,sourceY:n,sourcePosition:t=fe[c(1113)],targetX:x,targetY:r,targetPosition:o=fe[c(331)]}){const[i,a]=ec({pos:t,x1:e,y1:n,x2:x,y2:r}),[u,s]=ec({pos:o,x1:x,y1:r,x2:e,y2:n}),[d,f,b,h]=Hi({sourceX:e,sourceY:n,targetX:x,targetY:r,sourceControlX:i,sourceControlY:a,targetControlX:u,targetControlY:s});return["M"+e+","+n+" C"+i+","+a+" "+u+","+s+" "+x+","+r,d,f,b,h]}function tc(e){return L.memo(({id:n,sourceX:t,sourceY:x,targetX:r,targetY:o,sourcePosition:i,targetPosition:a,label:u,labelStyle:s,labelShowBg:d,labelBgStyle:f,labelBgPadding:b,labelBgBorderRadius:h,style:v,markerEnd:g,markerStart:p,interactionWidth:M})=>{const m=_0x4b9b,[w,y,C]=nc({sourceX:t,sourceY:x,sourcePosition:i,targetX:r,targetY:o,targetPosition:a}),I=e[m(440)]?void 0:n;return l[m(1667)](_0,{id:I,path:w,labelX:y,labelY:C,label:u,labelStyle:s,labelShowBg:d,labelBgStyle:f,labelBgPadding:b,labelBgBorderRadius:h,style:v,markerEnd:g,markerStart:p,interactionWidth:M})})}const ab=tc({isInternal:!1}),xc=tc({isInternal:!0});ab[c(1169)]=c(1491),xc[c(1169)]="SimpleBezierEdgeInternal";function oc(e){const n=c;return L[n(234)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:h,sourcePosition:v=fe.Bottom,targetPosition:g=fe[n(331)],markerEnd:p,markerStart:M,pathOptions:m,interactionWidth:w})=>{const y=n,[C,I,Y]=Rx({sourceX:x,sourceY:r,sourcePosition:v,targetX:o,targetY:i,targetPosition:g,borderRadius:m?.borderRadius,offset:m?.[y(241)],stepPosition:m?.[y(289)]}),O=e[y(440)]?void 0:t;return l.jsx(_0,{id:O,path:C,labelX:I,labelY:Y,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:h,markerEnd:p,markerStart:M,interactionWidth:w})})}const rc=oc({isInternal:!1}),ic=oc({isInternal:!0});rc[c(1169)]=c(690),ic[c(1169)]=c(1686);function ac(e){const n=c;return L[n(234)](({id:t,...x})=>{const r=n,o=e[r(440)]?void 0:t;return l[r(1667)](rc,{...x,id:o,pathOptions:L[r(477)](()=>({borderRadius:0,offset:x.pathOptions?.[r(241)]}),[x[r(1894)]?.offset])})})}const cb=ac({isInternal:!1}),cc=ac({isInternal:!0});cb[c(1169)]=c(425),cc[c(1169)]="StepEdgeInternal";function sc(e){const n=c;return L[n(234)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:h,markerEnd:v,markerStart:g,interactionWidth:p})=>{const M=n,[m,w,y]=Ki({sourceX:x,sourceY:r,targetX:o,targetY:i}),C=e[M(440)]?void 0:t;return l[M(1667)](_0,{id:C,path:m,labelX:w,labelY:y,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:b,style:h,markerEnd:v,markerStart:g,interactionWidth:p})})}const sb=sc({isInternal:!1}),lc=sc({isInternal:!0});sb[c(1169)]=c(1522),lc.displayName="StraightEdgeInternal";function dc(e){const n=c;return L.memo(({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,sourcePosition:a=fe[n(1113)],targetPosition:u=fe.Top,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:b,labelBgPadding:h,labelBgBorderRadius:v,style:g,markerEnd:p,markerStart:M,pathOptions:m,interactionWidth:w})=>{const y=n,[C,I,Y]=qi({sourceX:x,sourceY:r,sourcePosition:a,targetX:o,targetY:i,targetPosition:u,curvature:m?.curvature}),O=e[y(440)]?void 0:t;return l[y(1667)](_0,{id:O,path:C,labelX:I,labelY:Y,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:b,labelBgPadding:h,labelBgBorderRadius:v,style:g,markerEnd:p,markerStart:M,interactionWidth:w})})}const lb=dc({isInternal:!1}),uc=dc({isInternal:!0});lb[c(1169)]=c(342),uc[c(1169)]=c(1893);const fc={default:uc,straight:lc,step:cc,smoothstep:ic,simplebezier:xc},bc={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},db=(e,n,t)=>{const x=c;return t===fe[x(1953)]?e-n:t===fe[x(209)]?e+n:e},ub=(e,n,t)=>{const x=c;return t===fe.Top?e-n:t===fe[x(1113)]?e+n:e},hc=c(837);function gc({position:e,centerX:n,centerY:t,radius:x=10,onMouseDown:r,onMouseEnter:o,onMouseOut:i,type:a}){const u=c;return l.jsx(u(326),{onMouseDown:r,onMouseEnter:o,onMouseOut:i,className:Ae([hc,hc+"-"+a]),cx:db(n,x,e),cy:ub(t,x,e),r:x,stroke:u(994),fill:"transparent"})}function fb({isReconnectable:e,reconnectRadius:n,edge:t,sourceX:x,sourceY:r,targetX:o,targetY:i,sourcePosition:a,targetPosition:u,onReconnect:s,onReconnectStart:d,onReconnectEnd:f,setReconnecting:b,setUpdateHover:h}){const v=c,g=ke(),p=(C,I)=>{const Y=_0x4b9b;if(C[Y(1705)]!==0)return;const{autoPanOnConnect:O,domNode:T,connectionMode:U,connectionRadius:Q,lib:X,onConnectStart:W,cancelConnection:G,nodeLookup:N,rfId:B,panBy:D,updateConnection:j}=g[Y(1357)](),A=I[Y(954)]==="target",P=(R,ee)=>{const xe=Y;b(!1),f?.(R,t,I[xe(954)],ee)},Z=R=>s?.(t,R),_=(R,ee)=>{const xe=Y;b(!0),d?.(C,t,I[xe(954)]),W?.(R,ee)};xo.onPointerDown(C[Y(463)],{autoPanOnConnect:O,connectionMode:U,connectionRadius:Q,domNode:T,handleId:I.id,nodeId:I[Y(1855)],nodeLookup:N,isTarget:A,edgeUpdaterType:I[Y(954)],lib:X,flowId:B,cancelConnection:G,panBy:D,isValidConnection:(...R)=>g[Y(1357)]()[Y(1739)]?.(...R)??!0,onConnect:Z,onConnectStart:_,onConnectEnd:(...R)=>g[Y(1357)]()[Y(738)]?.(...R),onReconnectEnd:P,updateConnection:j,getTransform:()=>g.getState().transform,getFromHandle:()=>g[Y(1357)]()[Y(330)][Y(318)],dragThreshold:g[Y(1357)]()[Y(1835)],handleDomNode:C[Y(1222)]})},M=C=>p(C,{nodeId:t[v(1875)],id:t.targetHandle??null,type:v(1875)}),m=C=>p(C,{nodeId:t[v(385)],id:t.sourceHandle??null,type:v(385)}),w=()=>h(!0),y=()=>h(!1);return l[v(1200)](l.Fragment,{children:[(e===!0||e===v(385))&&l.jsx(gc,{position:a,centerX:x,centerY:r,radius:n,onMouseDown:M,onMouseEnter:w,onMouseOut:y,type:v(385)}),(e===!0||e===v(1875))&&l[v(1667)](gc,{position:u,centerX:o,centerY:i,radius:n,onMouseDown:m,onMouseEnter:w,onMouseOut:y,type:v(1875)})]})}function bb({id:e,edgesFocusable:n,edgesReconnectable:t,elementsSelectable:x,onClick:r,onDoubleClick:o,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,reconnectRadius:d,onReconnect:f,onReconnectStart:b,onReconnectEnd:h,rfId:v,edgeTypes:g,noPanClassName:p,onError:M,disableKeyboardA11y:m}){const w=c;let y=Me(k=>k[w(1432)].get(e));const C=Me(k=>k[w(1730)]);y=C?{...C,...y}:y;let I=y.type||"default",Y=g?.[I]||fc[I];Y===void 0&&(M?.(w(1274),Xe[w(152)](I)),I=w(1729),Y=g?.[w(1729)]||fc.default);const O=!!(y[w(638)]||n&&typeof y[w(638)]===w(891)),T=typeof f!==w(891)&&(y.reconnectable||t&&typeof y[w(681)]===w(891)),U=!!(y[w(1808)]||x&&typeof y[w(1808)]===w(891)),Q=L[w(519)](null),[X,W]=L[w(195)](!1),[G,N]=L.useState(!1),B=ke(),{zIndex:D,sourceX:j,sourceY:A,targetX:P,targetY:Z,sourcePosition:_,targetPosition:R}=Me(L[w(1234)](k=>{const K=w,q=k[K(1942)][K(1450)](y[K(385)]),V=k[K(1942)][K(1450)](y[K(1875)]);if(!q||!V)return{zIndex:y[K(1019)],...bc};const F=r2({id:e,sourceNode:q,targetNode:V,sourceHandle:y[K(1199)]||null,targetHandle:y[K(1026)]||null,connectionMode:k[K(712)],onError:M});return{zIndex:Qf({selected:y[K(833)],zIndex:y[K(1019)],sourceNode:q,targetNode:V,elevateOnSelect:k.elevateEdgesOnSelect,zIndexMode:k[K(1579)]}),...F||bc}},[y[w(385)],y.target,y[w(1199)],y[w(1026)],y.selected,y[w(1019)]]),Se),ee=L[w(477)](()=>y[w(1974)]?w(1066)+Jx(y.markerStart,v)+"')":void 0,[y[w(1974)],v]),xe=L.useMemo(()=>y.markerEnd?"url('#"+Jx(y.markerEnd,v)+"')":void 0,[y[w(869)],v]);if(y[w(1061)]||j===null||A===null||P===null||Z===null)return null;const ae=k=>{const K=w,{addSelectedEdges:q,unselectNodesAndEdges:V,multiSelectionActive:F}=B[K(1357)]();U&&(B.setState({nodesSelectionActive:!1}),y[K(833)]&&F?(V({nodes:[],edges:[y]}),Q[K(1292)]?.blur()):q([e])),r&&r(k,y)},ce=o?k=>{o(k,{...y})}:void 0,ie=i?k=>{i(k,{...y})}:void 0,oe=a?k=>{a(k,{...y})}:void 0,ne=u?k=>{u(k,{...y})}:void 0,se=s?k=>{s(k,{...y})}:void 0,S=k=>{const K=w;if(!m&&pi[K(444)](k[K(1671)])&&U){const{unselectNodesAndEdges:q,addSelectedEdges:V}=B.getState();k.key===K(1776)?(Q[K(1292)]?.blur(),q({edges:[y]})):V([e])}};return l[w(1667)](w(1533),{style:{zIndex:D},children:l[w(1200)]("g",{className:Ae([w(1202),w(1781)+I,y[w(272)],p,{selected:y.selected,animated:y[w(613)],inactive:!U&&!r,updating:X,selectable:U}]),onClick:ae,onDoubleClick:ce,onContextMenu:ie,onMouseEnter:oe,onMouseMove:ne,onMouseLeave:se,onKeyDown:O?S:void 0,tabIndex:O?0:void 0,role:y[w(1571)]??(O?"group":w(1333)),"aria-roledescription":w(1910),"data-id":e,"data-testid":w(1085)+e,"aria-label":y[w(1444)]===null?void 0:y[w(1444)]||"Edge from "+y[w(385)]+w(310)+y[w(1875)],"aria-describedby":O?Da+"-"+v:void 0,ref:Q,...y[w(657)],children:[!G&&l[w(1667)](Y,{id:e,source:y[w(385)],target:y[w(1875)],type:y[w(954)],selected:y[w(833)],animated:y[w(613)],selectable:U,deletable:y.deletable??!0,label:y[w(1820)],labelStyle:y[w(997)],labelShowBg:y[w(292)],labelBgStyle:y.labelBgStyle,labelBgPadding:y.labelBgPadding,labelBgBorderRadius:y[w(1001)],sourceX:j,sourceY:A,targetX:P,targetY:Z,sourcePosition:_,targetPosition:R,data:y.data,style:y.style,sourceHandleId:y.sourceHandle,targetHandleId:y[w(1026)],markerStart:ee,markerEnd:xe,pathOptions:"pathOptions"in y?y[w(1894)]:void 0,interactionWidth:y.interactionWidth}),T&&l[w(1667)](fb,{edge:y,isReconnectable:T,reconnectRadius:d,onReconnect:f,onReconnectStart:b,onReconnectEnd:h,sourceX:j,sourceY:A,targetX:P,targetY:Z,sourcePosition:_,targetPosition:R,setUpdateHover:W,setReconnecting:N})]})})}var hb=L[c(234)](bb);const gb=e=>({edgesFocusable:e.edgesFocusable,edgesReconnectable:e[c(437)],elementsSelectable:e[c(1250)],connectionMode:e[c(712)],onError:e[c(947)]});function yc({defaultMarkerColor:e,onlyRenderVisibleElements:n,rfId:t,edgeTypes:x,noPanClassName:r,onReconnect:o,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:u,onEdgeMouseLeave:s,onEdgeClick:d,reconnectRadius:f,onEdgeDoubleClick:b,onReconnectStart:h,onReconnectEnd:v,disableKeyboardA11y:g}){const p=c,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:w,onError:y}=Me(gb,Se),C=eb(n);return l.jsxs("div",{className:p(224),children:[l.jsx(rb,{defaultColor:e,rfId:t}),C[p(1779)](I=>l[p(1667)](hb,{id:I,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:w,noPanClassName:r,onReconnect:o,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,onClick:d,reconnectRadius:f,onDoubleClick:b,onReconnectStart:h,onReconnectEnd:v,rfId:t,onError:y,edgeTypes:x,disableKeyboardA11y:g},I))]})}yc[c(1169)]=c(1209);const yb=L[c(234)](yc),mb=e=>"translate("+e.transform[0]+"px,"+e.transform[1]+c(1163)+e[c(1879)][2]+")";function wb({children:e}){const n=c,t=Me(mb);return l[n(1667)](n(1574),{className:n(316),style:{transform:t},children:e})}function vb(e){const n=c,t=uo(),x=L[n(519)](!1);L[n(614)](()=>{const r=n;!x[r(1292)]&&t.viewportInitialized&&e&&(setTimeout(()=>e(t),1),x[r(1292)]=!0)},[e,t[n(1712)]])}const pb=e=>e.panZoom?.[c(1929)];function zb(e){const n=c,t=Me(pb),x=ke();return L[n(614)](()=>{const r=n;e&&(t?.(e),x.setState({transform:[e.x,e.y,e[r(1360)]]}))},[e,t]),null}function Cb(e){const n=c;return e.connection[n(724)]?{...e[n(330)],to:Wt(e[n(330)].to,e.transform)}:{...e[n(330)]}}function Mb(e){return Cb}function Bb(e){const n=Mb();return Me(n,Se)}const Db=e=>({nodesConnectable:e.nodesConnectable,isValid:e[c(330)][c(1906)],inProgress:e.connection[c(724)],width:e[c(575)],height:e[c(800)]});function Lb({containerStyle:e,style:n,type:t,component:x}){const r=c,{nodesConnectable:o,width:i,height:a,isValid:u,inProgress:s}=Me(Db,Se);return!(i&&o&&s)?null:l[r(1667)](r(1533),{style:e,width:i,height:a,className:r(992),children:l[r(1667)]("g",{className:Ae([r(182),Bi(u)]),children:l[r(1667)](mc,{style:n,type:t,CustomComponent:x,isValid:u})})})}const mc=({style:e,type:n=Bn[c(1244)],CustomComponent:t,isValid:x})=>{const r=c,{inProgress:o,from:i,fromNode:a,fromHandle:u,fromPosition:s,to:d,toNode:f,toHandle:b,toPosition:h,pointer:v}=Bb();if(!o)return;if(t)return l[r(1667)](t,{connectionLineType:n,connectionLineStyle:e,fromNode:a,fromHandle:u,fromX:i.x,fromY:i.y,toX:d.x,toY:d.y,fromPosition:s,toPosition:h,connectionStatus:Bi(x),toNode:f,toHandle:b,pointer:v});let g="";const p={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:d.x,targetY:d.y,targetPosition:h};switch(n){case Bn[r(1244)]:[g]=qi(p);break;case Bn.SimpleBezier:[g]=nc(p);break;case Bn[r(1059)]:[g]=Rx({...p,borderRadius:0});break;case Bn[r(1048)]:[g]=Rx(p);break;default:[g]=Ki(p)}return l[r(1667)](r(1806),{d:g,fill:r(1598),className:"react-flow__connection-path",style:e})};mc[c(1169)]=c(296);const Nb={};function wc(e=Nb){const n=c,t=L[n(519)](e),x=ke();L[n(614)](()=>{const r=n;if(process.env.NODE_ENV===r(1031)){const o=new Set([...Object.keys(t.current),...Object.keys(e)]);for(const i of o)if(t.current[i]!==e[i]){x[r(1357)]()[r(947)]?.(r(629),Xe[r(701)]());break}t[r(1292)]=e}},[e])}function Sb(){const e=ke(),n=L.useRef(!1);L.useEffect(()=>{const t=_0x4b9b;if(process.env.NODE_ENV==="development"&&!n[t(1292)]){const x=document.querySelector(t(1075));x&&window.getComputedStyle(x)[t(1019)]!=="1"&&e[t(1357)]()[t(947)]?.("013",Xe[t(410)](t(1680))),n.current=!0}},[])}function vc({nodeTypes:e,edgeTypes:n,onInit:t,onNodeClick:x,onEdgeClick:r,onNodeDoubleClick:o,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,onSelectionContextMenu:f,onSelectionStart:b,onSelectionEnd:h,connectionLineType:v,connectionLineStyle:g,connectionLineComponent:p,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:w,selectionMode:y,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:Y,deleteKeyCode:O,onlyRenderVisibleElements:T,elementsSelectable:U,defaultViewport:Q,translateExtent:X,minZoom:W,maxZoom:G,preventScrolling:N,defaultMarkerColor:B,zoomOnScroll:D,zoomOnPinch:j,panOnScroll:A,panOnScrollSpeed:P,panOnScrollMode:Z,zoomOnDoubleClick:_,panOnDrag:R,onPaneClick:ee,onPaneMouseEnter:xe,onPaneMouseMove:ae,onPaneMouseLeave:ce,onPaneScroll:ie,onPaneContextMenu:oe,paneClickDistance:ne,nodeClickDistance:se,onEdgeContextMenu:S,onEdgeMouseEnter:k,onEdgeMouseMove:K,onEdgeMouseLeave:q,reconnectRadius:V,onReconnect:F,onReconnectStart:de,onReconnectEnd:me,noDragClassName:he,noWheelClassName:we,noPanClassName:Ne,disableKeyboardA11y:pe,nodeExtent:De,rfId:Ee,viewport:He,onViewportChange:Ze}){const Ie=c;return wc(e),wc(n),Sb(),vb(t),zb(He),l.jsx(W3,{onPaneClick:ee,onPaneMouseEnter:xe,onPaneMouseMove:ae,onPaneMouseLeave:ce,onPaneContextMenu:oe,onPaneScroll:ie,paneClickDistance:ne,deleteKeyCode:O,selectionKeyCode:m,selectionOnDrag:w,selectionMode:y,onSelectionStart:b,onSelectionEnd:h,multiSelectionKeyCode:C,panActivationKeyCode:I,zoomActivationKeyCode:Y,elementsSelectable:U,zoomOnScroll:D,zoomOnPinch:j,zoomOnDoubleClick:_,panOnScroll:A,panOnScrollSpeed:P,panOnScrollMode:Z,panOnDrag:R,defaultViewport:Q,translateExtent:X,minZoom:W,maxZoom:G,onSelectionContextMenu:f,preventScrolling:N,noDragClassName:he,noWheelClassName:we,noPanClassName:Ne,disableKeyboardA11y:pe,onViewportChange:Ze,isControlledViewport:!!He,children:l[Ie(1200)](wb,{children:[l.jsx(yb,{edgeTypes:n,onEdgeClick:r,onEdgeDoubleClick:i,onReconnect:F,onReconnectStart:de,onReconnectEnd:me,onlyRenderVisibleElements:T,onEdgeContextMenu:S,onEdgeMouseEnter:k,onEdgeMouseMove:K,onEdgeMouseLeave:q,reconnectRadius:V,defaultMarkerColor:B,noPanClassName:Ne,disableKeyboardA11y:pe,rfId:Ee}),l[Ie(1667)](Lb,{style:g,type:v,component:p,containerStyle:M}),l[Ie(1667)]("div",{className:Ie(542)}),l[Ie(1667)]($3,{nodeTypes:e,onNodeClick:x,onNodeDoubleClick:o,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,nodeClickDistance:se,onlyRenderVisibleElements:T,noPanClassName:Ne,noDragClassName:he,disableKeyboardA11y:pe,nodeExtent:De,rfId:Ee}),l.jsx(Ie(1574),{className:Ie(989)})]})})}vc.displayName=c(1104);const kb=L[c(234)](vc),pc=({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u=.5,maxZoom:s=2,nodeOrigin:d,nodeExtent:f,zIndexMode:b=c(590)}={})=>{const h=c,v=new Map,g=new Map,p=new Map,M=new Map,m=x??n??[],w=t??e??[],y=d??[0,0],C=f??Ot;na(p,M,m);const{nodesInitialized:I}=$x(w,v,g,{nodeOrigin:y,nodeExtent:C,zIndexMode:b});let Y=[0,0,1];if(i&&r&&o){const O=Ht(v,{filter:X=>!!((X.width||X[h(1801)])&&(X.height||X.initialHeight))}),{x:T,y:U,zoom:Q}=Kx(O,r,o,u,s,a?.[h(1252)]??.1);Y=[T,U,Q]}return{rfId:"1",width:r??0,height:o??0,transform:Y,nodes:w,nodesInitialized:I,nodeLookup:v,parentLookup:g,edges:m,edgeLookup:M,connectionLookup:p,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:x!==void 0,panZoom:null,minZoom:u,maxZoom:s,translateExtent:Ot,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:it[h(311)],domNode:null,paneDragging:!1,noPanClassName:h(290),nodeOrigin:y,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:{...Ci},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:Ai,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:zi,zIndexMode:b,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},Ib=({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,zIndexMode:b})=>_2((h,v)=>{async function g(){const p=_0x4b9b,{nodeLookup:M,panZoom:m,fitViewOptions:w,fitViewResolver:y,width:C,height:I,minZoom:Y,maxZoom:O}=v();m&&(await Xf({nodes:M,width:C,height:I,panZoom:m,minZoom:Y,maxZoom:O},w),y?.[p(817)](!0),h({fitViewResolver:null}))}return{...pc({nodes:e,edges:n,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,defaultNodes:t,defaultEdges:x,zIndexMode:b}),setNodes:p=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:w,elevateNodesOnSelect:y,fitViewQueued:C,zIndexMode:I,nodesSelectionActive:Y}=v(),{nodesInitialized:O,hasSelectedNodes:T}=$x(p,M,m,{nodeOrigin:w,nodeExtent:f,elevateNodesOnSelect:y,checkEquality:!0,zIndexMode:I}),U=Y&&T;C&&O?(g(),h({nodes:p,nodesInitialized:O,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:U})):h({nodes:p,nodesInitialized:O,nodesSelectionActive:U})},setEdges:p=>{const{connectionLookup:M,edgeLookup:m}=v();na(M,m,p),h({edges:p})},setDefaultNodesAndEdges:(p,M)=>{if(p){const{setNodes:m}=v();m(p),h({hasDefaultNodes:!0})}if(M){const{setEdges:m}=v();m(M),h({hasDefaultEdges:!0})}},updateNodeInternals:p=>{const M=_0x4b9b,{triggerNodeChanges:m,nodeLookup:w,parentLookup:y,domNode:C,nodeOrigin:I,nodeExtent:Y,debug:O,fitViewQueued:T,zIndexMode:U}=v(),{changes:Q,updatedInternals:X}=f2(p,w,y,C,I,Y,U);X&&(s2(w,y,{nodeOrigin:I,nodeExtent:Y,zIndexMode:U}),T?(g(),h({fitViewQueued:!1,fitViewOptions:void 0})):h({}),Q?.length>0&&(O&&console[M(870)]("React Flow: trigger node changes",Q),m?.(Q)))},updateNodePositions:(p,M=!1)=>{const m=_0x4b9b,w=[];let y=[];const{nodeLookup:C,triggerNodeChanges:I,connection:Y,updateConnection:O,onNodesChangeMiddlewareMap:T}=v();for(const[U,Q]of p){const X=C[m(1450)](U),W=!!(X?.[m(843)]&&X?.[m(934)]&&Q?.[m(1604)]),G={id:U,type:m(1604),position:W?{x:Math[m(1122)](0,Q.position.x),y:Math[m(1122)](0,Q[m(1604)].y)}:Q.position,dragging:M};if(X&&Y[m(724)]&&Y[m(1297)].id===X.id){const N=Hn(X,Y[m(318)],fe[m(1953)],!0);O({...Y,from:N})}W&&X.parentId&&w[m(177)]({id:U,parentId:X[m(934)],rect:{...Q.internals.positionAbsolute,width:Q[m(1575)][m(575)]??0,height:Q[m(1575)][m(800)]??0}}),y.push(G)}if(w[m(586)]>0){const{parentLookup:U,nodeOrigin:Q}=v(),X=no(w,C,U,Q);y[m(177)](...X)}for(const U of T.values())y=U(y);I(y)},triggerNodeChanges:p=>{const M=_0x4b9b,{onNodesChange:m,setNodes:w,nodes:y,hasDefaultNodes:C,debug:I}=v();if(p?.[M(586)]){if(C){const Y=Ea(p,y);w(Y)}I&&console[M(870)](M(298),p),m?.(p)}},triggerEdgeChanges:p=>{const M=_0x4b9b,{onEdgesChange:m,setEdges:w,edges:y,hasDefaultEdges:C,debug:I}=v();if(p?.length){if(C){const Y=Ya(p,y);w(Y)}I&&console[M(870)](M(1946),p),m?.(p)}},addSelectedNodes:p=>{const M=_0x4b9b,{multiSelectionActive:m,edgeLookup:w,nodeLookup:y,triggerNodeChanges:C,triggerEdgeChanges:I}=v();if(m){const Y=p[M(1779)](O=>Vn(O,!0));C(Y);return}C(ft(y,new Set([...p]),!0)),I(ft(w))},addSelectedEdges:p=>{const M=_0x4b9b,{multiSelectionActive:m,edgeLookup:w,nodeLookup:y,triggerNodeChanges:C,triggerEdgeChanges:I}=v();if(m){const Y=p[M(1779)](O=>Vn(O,!0));I(Y);return}I(ft(w,new Set([...p]))),C(ft(y,new Set,!0))},unselectNodesAndEdges:({nodes:p,edges:M}={})=>{const m=_0x4b9b,{edges:w,nodes:y,nodeLookup:C,triggerNodeChanges:I,triggerEdgeChanges:Y}=v(),O=p||y,T=M||w,U=[];for(const X of O){if(!X[m(833)])continue;const W=C.get(X.id);W&&(W[m(833)]=!1),U.push(Vn(X.id,!1))}const Q=[];for(const X of T)X.selected&&Q[m(177)](Vn(X.id,!1));I(U),Y(Q)},setMinZoom:p=>{const M=_0x4b9b,{panZoom:m,maxZoom:w}=v();m?.[M(755)]([p,w]),h({minZoom:p})},setMaxZoom:p=>{const M=_0x4b9b,{panZoom:m,minZoom:w}=v();m?.[M(755)]([w,p]),h({maxZoom:p})},setTranslateExtent:p=>{const M=_0x4b9b;v()[M(1650)]?.[M(1673)](p),h({translateExtent:p})},resetSelectedElements:()=>{const p=_0x4b9b,{edges:M,nodes:m,triggerNodeChanges:w,triggerEdgeChanges:y,elementsSelectable:C}=v();if(!C)return;const I=m[p(1468)]((O,T)=>T[p(833)]?[...O,Vn(T.id,!1)]:O,[]),Y=M[p(1468)]((O,T)=>T[p(833)]?[...O,Vn(T.id,!1)]:O,[]);w(I),y(Y)},setNodeExtent:p=>{const{nodes:M,nodeLookup:m,parentLookup:w,nodeOrigin:y,elevateNodesOnSelect:C,nodeExtent:I,zIndexMode:Y}=v();p[0][0]===I[0][0]&&p[0][1]===I[0][1]&&p[1][0]===I[1][0]&&p[1][1]===I[1][1]||($x(M,m,w,{nodeOrigin:y,nodeExtent:p,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:Y}),h({nodeExtent:p}))},panBy:p=>{const{transform:M,width:m,height:w,panZoom:y,translateExtent:C}=v();return b2({delta:p,panZoom:y,transform:M,translateExtent:C,width:m,height:w})},setCenter:async(p,M,m)=>{const w=_0x4b9b,{width:y,height:C,maxZoom:I,panZoom:Y}=v();if(!Y)return Promise.resolve(!1);const O=typeof m?.zoom!==w(891)?m[w(1360)]:I;return await Y[w(1186)]({x:y/2-p*O,y:C/2-M*O,zoom:O},{duration:m?.duration,ease:m?.[w(1925)],interpolate:m?.[w(696)]}),Promise[w(817)](!0)},cancelConnection:()=>{h({connection:{...Ci}})},updateConnection:p=>{h({connection:p})},reset:()=>h({...pc()})}},Object.is);function Pb({initialNodes:e,initialEdges:n,defaultNodes:t,defaultEdges:x,initialWidth:r,initialHeight:o,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:u,fitView:s,nodeOrigin:d,nodeExtent:f,zIndexMode:b,children:h}){const v=c,[g]=L[v(195)](()=>Ib({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:u,nodeOrigin:d,nodeExtent:f,zIndexMode:b}));return l[v(1667)](F2,{value:g,children:l[v(1667)](w3,{children:h})})}function Ab({children:e,nodes:n,edges:t,defaultNodes:x,defaultEdges:r,width:o,height:i,fitView:a,fitViewOptions:u,minZoom:s,maxZoom:d,nodeOrigin:f,nodeExtent:b,zIndexMode:h}){const v=c;return L[v(1006)](X0)?l.jsx(l[v(990)],{children:e}):l[v(1667)](Pb,{initialNodes:n,initialEdges:t,defaultNodes:x,defaultEdges:r,initialWidth:o,initialHeight:i,fitView:a,initialFitViewOptions:u,initialMinZoom:s,initialMaxZoom:d,nodeOrigin:f,nodeExtent:b,zIndexMode:h,children:e})}const jb={width:c(346),height:c(346),overflow:"hidden",position:c(1524),zIndex:0};function Eb({nodes:e,edges:n,defaultNodes:t,defaultEdges:x,className:r,nodeTypes:o,edgeTypes:i,onNodeClick:a,onEdgeClick:u,onInit:s,onMove:d,onMoveStart:f,onMoveEnd:b,onConnect:h,onConnectStart:v,onConnectEnd:g,onClickConnectStart:p,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:w,onNodeMouseLeave:y,onNodeContextMenu:C,onNodeDoubleClick:I,onNodeDragStart:Y,onNodeDrag:O,onNodeDragStop:T,onNodesDelete:U,onEdgesDelete:Q,onDelete:X,onSelectionChange:W,onSelectionDragStart:G,onSelectionDrag:N,onSelectionDragStop:B,onSelectionContextMenu:D,onSelectionStart:j,onSelectionEnd:A,onBeforeDelete:P,connectionMode:Z,connectionLineType:_=Bn[c(1244)],connectionLineStyle:R,connectionLineComponent:ee,connectionLineContainerStyle:xe,deleteKeyCode:ae=c(1173),selectionKeyCode:ce=c(198),selectionOnDrag:ie=!1,selectionMode:oe=Gt[c(1336)],panActivationKeyCode:ne=c(1220),multiSelectionKeyCode:se=Xt()?c(1731):c(562),zoomActivationKeyCode:S=Xt()?c(1731):c(562),snapToGrid:k,snapGrid:K,onlyRenderVisibleElements:q=!1,selectNodesOnDrag:V,nodesDraggable:F,autoPanOnNodeFocus:de,nodesConnectable:me,nodesFocusable:he,nodeOrigin:we=La,edgesFocusable:Ne,edgesReconnectable:pe,elementsSelectable:De=!0,defaultViewport:Ee=l3,minZoom:He=.5,maxZoom:Ze=2,translateExtent:Ie=Ot,preventScrolling:Re=!0,nodeExtent:yn,defaultMarkerColor:Rt="#b1b1b7",zoomOnScroll:mn=!0,zoomOnPinch:kn=!0,panOnScroll:wn=!1,panOnScrollSpeed:tn=.5,panOnScrollMode:sn=Gn.Free,zoomOnDoubleClick:qn=!0,panOnDrag:ht=!0,onPaneClick:gt,onPaneMouseEnter:Ue,onPaneMouseMove:Jt,onPaneMouseLeave:Oe,onPaneScroll:ln,onPaneContextMenu:xn,paneClickDistance:yt=1,nodeClickDistance:yo=0,children:mo,onReconnect:wo,onReconnectStart:vo,onReconnectEnd:po,onEdgeContextMenu:zo,onEdgeDoubleClick:Co,onEdgeMouseEnter:ex,onEdgeMouseMove:nx,onEdgeMouseLeave:tx,reconnectRadius:xx=10,onNodesChange:ox,onEdgesChange:_t,noDragClassName:Wn=c(1932),noWheelClassName:Xn=c(1615),noPanClassName:rx=c(290),fitView:Kn,fitViewOptions:Ft,connectOnClick:ix,attributionPosition:Mo,proOptions:Bo,defaultEdgeOptions:ax,elevateNodesOnSelect:cx=!0,elevateEdgesOnSelect:Qt=!1,disableKeyboardA11y:$t=!1,autoPanOnConnect:e0,autoPanOnNodeDrag:E,autoPanSpeed:H,connectionRadius:te,isValidConnection:re,onError:ue,style:J,id:$,nodeDragThreshold:be,connectionDragThreshold:ge,viewport:ye,onViewportChange:Be,width:Ce,height:Le,colorMode:Ge=c(1603),debug:Je,onScroll:vn,ariaLabelConfig:pn,zIndexMode:Zn=c(590),...Rn},jh){const zn=c,Do=$||"1",Eh=b3(Ge),Yh=L[zn(1234)](Uc=>{const Lo=zn;Uc[Lo(1222)][Lo(1807)]({top:0,left:0,behavior:Lo(1618)}),vn?.(Uc)},[vn]);return l[zn(1667)]("div",{"data-testid":zn(1221),...Rn,onScroll:Yh,style:{...J,...jb},ref:jh,className:Ae([zn(1749),r,Eh]),id:$,role:"application",children:l[zn(1200)](Ab,{nodes:e,edges:n,width:Ce,height:Le,fitView:Kn,fitViewOptions:Ft,minZoom:He,maxZoom:Ze,nodeOrigin:we,nodeExtent:yn,zIndexMode:Zn,children:[l.jsx(f3,{nodes:e,edges:n,defaultNodes:t,defaultEdges:x,onConnect:h,onConnectStart:v,onConnectEnd:g,onClickConnectStart:p,onClickConnectEnd:M,nodesDraggable:F,autoPanOnNodeFocus:de,nodesConnectable:me,nodesFocusable:he,edgesFocusable:Ne,edgesReconnectable:pe,elementsSelectable:De,elevateNodesOnSelect:cx,elevateEdgesOnSelect:Qt,minZoom:He,maxZoom:Ze,nodeExtent:yn,onNodesChange:ox,onEdgesChange:_t,snapToGrid:k,snapGrid:K,connectionMode:Z,translateExtent:Ie,connectOnClick:ix,defaultEdgeOptions:ax,fitView:Kn,fitViewOptions:Ft,onNodesDelete:U,onEdgesDelete:Q,onDelete:X,onNodeDragStart:Y,onNodeDrag:O,onNodeDragStop:T,onSelectionDrag:N,onSelectionDragStart:G,onSelectionDragStop:B,onMove:d,onMoveStart:f,onMoveEnd:b,noPanClassName:rx,nodeOrigin:we,rfId:Do,autoPanOnConnect:e0,autoPanOnNodeDrag:E,autoPanSpeed:H,onError:ue,connectionRadius:te,isValidConnection:re,selectNodesOnDrag:V,nodeDragThreshold:be,connectionDragThreshold:ge,onBeforeDelete:P,debug:Je,ariaLabelConfig:pn,zIndexMode:Zn}),l[zn(1667)](kb,{onInit:s,onNodeClick:a,onEdgeClick:u,onNodeMouseEnter:m,onNodeMouseMove:w,onNodeMouseLeave:y,onNodeContextMenu:C,onNodeDoubleClick:I,nodeTypes:o,edgeTypes:i,connectionLineType:_,connectionLineStyle:R,connectionLineComponent:ee,connectionLineContainerStyle:xe,selectionKeyCode:ce,selectionOnDrag:ie,selectionMode:oe,deleteKeyCode:ae,multiSelectionKeyCode:se,panActivationKeyCode:ne,zoomActivationKeyCode:S,onlyRenderVisibleElements:q,defaultViewport:Ee,translateExtent:Ie,minZoom:He,maxZoom:Ze,preventScrolling:Re,zoomOnScroll:mn,zoomOnPinch:kn,zoomOnDoubleClick:qn,panOnScroll:wn,panOnScrollSpeed:tn,panOnScrollMode:sn,panOnDrag:ht,onPaneClick:gt,onPaneMouseEnter:Ue,onPaneMouseMove:Jt,onPaneMouseLeave:Oe,onPaneScroll:ln,onPaneContextMenu:xn,paneClickDistance:yt,nodeClickDistance:yo,onSelectionContextMenu:D,onSelectionStart:j,onSelectionEnd:A,onReconnect:wo,onReconnectStart:vo,onReconnectEnd:po,onEdgeContextMenu:zo,onEdgeDoubleClick:Co,onEdgeMouseEnter:ex,onEdgeMouseMove:nx,onEdgeMouseLeave:tx,reconnectRadius:xx,defaultMarkerColor:Rt,noDragClassName:Wn,noWheelClassName:Xn,noPanClassName:rx,rfId:Do,disableKeyboardA11y:$t,nodeExtent:yn,viewport:ye,onViewportChange:Be}),l.jsx(s3,{onSelectionChange:W}),mo,l[zn(1667)](o3,{proOptions:Bo,position:Mo}),l[zn(1667)](x3,{rfId:Do,disableKeyboardA11y:$t})]})})}var Yb=Ta(Eb);function Ub(e){const n=c,[t,x]=L[n(195)](e),r=L.useCallback(o=>x(i=>Ea(o,i)),[]);return[t,x,r]}function Ob(e){const n=c,[t,x]=L[n(195)](e),r=L[n(1234)](o=>x(i=>Ya(o,i)),[]);return[t,x,r]}function Gb({dimensions:e,lineWidth:n,variant:t,className:x}){const r=c;return l[r(1667)]("path",{strokeWidth:n,d:"M"+e[0]/2+" 0 V"+e[1]+r(1653)+e[1]/2+" H"+e[0],className:Ae([r(1011),t,x])})}function Tb({radius:e,className:n}){const t=c;return l[t(1667)]("circle",{cx:e,cy:e,r:e,className:Ae([t(1011),t(1804),n])})}var Nn;(function(e){const n=c;e[n(731)]=n(1205),e[n(1798)]=n(1804),e[n(1539)]=n(1247)})(Nn||(Nn={}));const Hb={[Nn[c(1798)]]:1,[Nn[c(731)]]:1,[Nn[c(1539)]]:6},Vb=e=>({transform:e.transform,patternId:c(422)+e[c(1310)]});function zc({id:e,variant:n=Nn[c(1798)],gap:t=20,size:x,lineWidth:r=1,offset:o=0,color:i,bgColor:a,style:u,className:s,patternClassName:d}){const f=c,b=L[f(519)](null),{transform:h,patternId:v}=Me(Vb,Se),g=x||Hb[n],p=n===Nn.Dots,M=n===Nn[f(1539)],m=Array[f(1922)](t)?t:[t,t],w=[m[0]*h[2]||1,m[1]*h[2]||1],y=g*h[2],C=Array.isArray(o)?o:[o,o],I=M?[y,y]:w,Y=[C[0]*h[2]||1+I[0]/2,C[1]*h[2]||1+I[1]/2],O=""+v+(e||"");return l[f(1200)](f(1533),{className:Ae([f(925),s]),style:{...u,...R0,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:b,"data-testid":f(1733),children:[l[f(1667)](f(1948),{id:O,x:h[0]%w[0],y:h[1]%w[1],width:w[0],height:w[1],patternUnits:f(339),patternTransform:f(367)+Y[0]+",-"+Y[1]+")",children:p?l[f(1667)](Tb,{radius:y/2,className:d}):l.jsx(Gb,{dimensions:I,lineWidth:r,variant:n,className:d})}),l[f(1667)](f(390),{x:"0",y:"0",width:f(346),height:"100%",fill:f(1371)+O+")"})]})}zc.displayName="Background";const qb=L[c(234)](zc);function Wb(){const e=c;return l.jsx("svg",{xmlns:e(648),viewBox:e(795),children:l[e(1667)](e(1806),{d:e(1471)})})}function Xb(){const e=c;return l[e(1667)]("svg",{xmlns:e(648),viewBox:e(1518),children:l[e(1667)](e(1806),{d:e(1967)})})}function Kb(){const e=c;return l[e(1667)](e(1533),{xmlns:"http://www.w3.org/2000/svg",viewBox:e(986),children:l.jsx(e(1806),{d:e(1012)})})}function Zb(){const e=c;return l.jsx(e(1533),{xmlns:e(648),viewBox:e(1515),children:l[e(1667)](e(1806),{d:e(1863)})})}function Rb(){const e=c;return l[e(1667)]("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e(1515),children:l[e(1667)]("path",{d:e(1051)})})}function F0({children:e,className:n,...t}){const x=c;return l.jsx(x(1705),{type:x(1705),className:Ae(["react-flow__controls-button",n]),...t,children:e})}const Jb=e=>({isInteractive:e[c(1513)]||e[c(1461)]||e[c(1250)],minZoomReached:e[c(1879)][2]<=e[c(1079)],maxZoomReached:e[c(1879)][2]>=e[c(628)],ariaLabelConfig:e[c(495)]});function Cc({style:e,showZoom:n=!0,showFitView:t=!0,showInteractive:x=!0,fitViewOptions:r,onZoomIn:o,onZoomOut:i,onFitView:a,onInteractiveChange:u,className:s,children:d,position:f=c(1966),orientation:b=c(1056),"aria-label":h}){const v=c,g=ke(),{isInteractive:p,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:w}=Me(Jb,Se),{zoomIn:y,zoomOut:C,fitView:I}=uo(),Y=()=>{y(),o?.()},O=()=>{C(),i?.()},T=()=>{I(r),a?.()},U=()=>{g.setState({nodesDraggable:!p,nodesConnectable:!p,elementsSelectable:!p}),u?.(!p)},Q=b===v(522)?v(522):v(1056);return l.jsxs(K0,{className:Ae([v(801),Q,s]),position:f,style:e,"data-testid":v(1287),"aria-label":h??w[v(327)],children:[n&&l[v(1200)](l[v(990)],{children:[l.jsx(F0,{onClick:Y,className:"react-flow__controls-zoomin",title:w[v(668)],"aria-label":w[v(668)],disabled:m,children:l[v(1667)](Wb,{})}),l.jsx(F0,{onClick:O,className:v(1633),title:w[v(1678)],"aria-label":w[v(1678)],disabled:M,children:l.jsx(Xb,{})})]}),t&&l[v(1667)](F0,{className:v(1213),onClick:T,title:w[v(824)],"aria-label":w[v(824)],children:l[v(1667)](Kb,{})}),x&&l[v(1667)](F0,{className:"react-flow__controls-interactive",onClick:U,title:w[v(868)],"aria-label":w[v(868)],children:p?l.jsx(Rb,{}):l[v(1667)](Zb,{})}),d]})}Cc[c(1169)]=c(658);const _b=L.memo(Cc);function Fb({id:e,x:n,y:t,width:x,height:r,style:o,color:i,strokeColor:a,strokeWidth:u,className:s,borderRadius:d,shapeRendering:f,selected:b,onClick:h}){const v=c,{background:g,backgroundColor:p}=o||{},M=i||g||p;return l[v(1667)](v(390),{className:Ae([v(178),{selected:b},s]),x:n,y:t,rx:d,ry:d,width:x,height:r,style:{fill:M,stroke:a,strokeWidth:u},shapeRendering:f,onClick:h?m=>h(m,e):void 0})}const Qb=L[c(234)](Fb),$b=e=>e[c(459)][c(1779)](n=>n.id),go=e=>e instanceof Function?e:()=>e;function eh({nodeStrokeColor:e,nodeColor:n,nodeClassName:t="",nodeBorderRadius:x=5,nodeStrokeWidth:r,nodeComponent:o=Qb,onClick:i}){const a=c,u=Me($b,Se),s=go(n),d=go(e),f=go(t),b=typeof window===a(891)||window[a(148)]?a(783):"geometricPrecision";return l[a(1667)](l[a(990)],{children:u.map(h=>l[a(1667)](th,{id:h,nodeColorFunc:s,nodeStrokeColorFunc:d,nodeClassNameFunc:f,nodeBorderRadius:x,nodeStrokeWidth:r,NodeComponent:o,onClick:i,shapeRendering:b},h))})}function nh({id:e,nodeColorFunc:n,nodeStrokeColorFunc:t,nodeClassNameFunc:x,nodeBorderRadius:r,nodeStrokeWidth:o,shapeRendering:i,NodeComponent:a,onClick:u}){const s=c,{node:d,x:f,y:b,width:h,height:v}=Me(g=>{const p=_0x4b9b,M=g[p(1942)].get(e);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M.internals[p(1527)],{x:w,y}=M[p(1725)][p(1035)],{width:C,height:I}=gn(m);return{node:m,x:w,y,width:C,height:I}},Se);return!d||d[s(1061)]||!ji(d)?null:l[s(1667)](a,{x:f,y:b,width:h,height:v,style:d[s(571)],selected:!!d[s(833)],className:x(d),color:n(d),borderRadius:r,strokeColor:t(d),strokeWidth:o,shapeRendering:i,onClick:u,id:d.id})}const th=L[c(234)](nh);var xh=L[c(234)](eh);const oh=200,rh=150,ih=e=>!e[c(1061)],ah=e=>{const n=c,t={x:-e[n(1879)][0]/e[n(1879)][2],y:-e[n(1879)][1]/e[n(1879)][2],width:e[n(575)]/e[n(1879)][2],height:e[n(800)]/e[n(1879)][2]};return{viewBB:t,boundingRect:e[n(1942)][n(161)]>0?Ii(Ht(e.nodeLookup,{filter:ih}),t):t,rfId:e[n(1310)],panZoom:e[n(1650)],translateExtent:e.translateExtent,flowWidth:e.width,flowHeight:e.height,ariaLabelConfig:e[n(495)]}},ch=c(1184);function Mc({style:e,className:n,nodeStrokeColor:t,nodeColor:x,nodeClassName:r="",nodeBorderRadius:o=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:u,maskColor:s,maskStrokeColor:d,maskStrokeWidth:f,position:b=c(220),onClick:h,onNodeClick:v,pannable:g=!1,zoomable:p=!1,ariaLabel:M,inversePan:m,zoomStep:w=1,offsetScale:y=5}){const C=c,I=ke(),Y=L[C(519)](null),{boundingRect:O,viewBB:T,rfId:U,panZoom:Q,translateExtent:X,flowWidth:W,flowHeight:G,ariaLabelConfig:N}=Me(ah,Se),B=e?.[C(575)]??oh,D=e?.[C(800)]??rh,j=O.width/B,A=O[C(800)]/D,P=Math.max(j,A),Z=P*B,_=P*D,R=y*P,ee=O.x-(Z-O[C(575)])/2-R,xe=O.y-(_-O.height)/2-R,ae=Z+R*2,ce=_+R*2,ie=ch+"-"+U,oe=L.useRef(0),ne=L[C(519)]();oe[C(1292)]=P,L[C(614)](()=>{const K=C;if(Y.current&&Q)return ne[K(1292)]=C2({domNode:Y[K(1292)],panZoom:Q,getTransform:()=>I.getState()[K(1879)],getViewScale:()=>oe[K(1292)]}),()=>{const q=K;ne.current?.[q(1341)]()}},[Q]),L[C(614)](()=>{const K=C;ne.current?.[K(1554)]({translateExtent:X,width:W,height:G,inversePan:m,pannable:g,zoomStep:w,zoomable:p})},[g,p,m,w,X,W,G]);const se=h?K=>{const q=C,[V,F]=ne.current?.[q(205)](K)||[0,0];h(K,{x:V,y:F})}:void 0,S=v?L[C(1234)]((K,q)=>{const V=C,F=I.getState().nodeLookup[V(1450)](q)[V(1725)].userNode;v(K,F)},[]):void 0,k=M??N[C(896)];return l[C(1667)](K0,{position:b,style:{...e,"--xy-minimap-background-color-props":typeof u===C(816)?u:void 0,"--xy-minimap-mask-background-color-props":typeof s=="string"?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof d=="string"?d:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(536)?f*P:void 0,"--xy-minimap-node-background-color-props":typeof x===C(816)?x:void 0,"--xy-minimap-node-stroke-color-props":typeof t=="string"?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===C(536)?i:void 0},className:Ae([C(792),n]),"data-testid":C(670),children:l[C(1200)]("svg",{width:B,height:D,viewBox:ee+" "+xe+" "+ae+" "+ce,className:C(1753),role:"img","aria-labelledby":ie,ref:Y,onClick:se,children:[k&&l.jsx(C(1592),{id:ie,children:k}),l[C(1667)](xh,{onClick:S,nodeColor:x,nodeStrokeColor:t,nodeBorderRadius:o,nodeClassName:r,nodeStrokeWidth:i,nodeComponent:a}),l.jsx(C(1806),{className:C(1844),d:"M"+(ee-R)+","+(xe-R)+"h"+(ae+R*2)+"v"+(ce+R*2)+"h"+(-ae-R*2)+C(1611)+T.x+","+T.y+"h"+T.width+"v"+T[C(800)]+"h"+-T[C(575)]+"z",fillRule:"evenodd",pointerEvents:C(1598)})]})})}Mc[c(1169)]=c(913);const sh=L.memo(Mc),lh=e=>n=>e?""+Math[c(1122)](1/n[c(1879)][2],1):void 0,dh={[ut[c(208)]]:"right",[ut.Handle]:c(220)};function uh({nodeId:e,position:n,variant:t=ut.Handle,className:x,style:r=void 0,children:o,color:i,minWidth:a=10,minHeight:u=10,maxWidth:s=Number.MAX_VALUE,maxHeight:d=Number[c(781)],keepAspectRatio:f=!1,resizeDirection:b,autoScale:h=!0,shouldResize:v,onResizeStart:g,onResize:p,onResizeEnd:M}){const m=c,w=Ka(),y=typeof e===m(816)?e:w,C=ke(),I=L[m(519)](null),Y=t===ut[m(1326)],O=Me(L[m(1234)](lh(Y&&h),[Y,h]),Se),T=L[m(519)](null),U=n??dh[t];L[m(614)](()=>{const X=m;if(!(!I[X(1292)]||!y))return!T[X(1292)]&&(T[X(1292)]=U2({domNode:I.current,nodeId:y,getStoreItems:()=>{const{nodeLookup:W,transform:G,snapGrid:N,snapToGrid:B,nodeOrigin:D,domNode:j}=C.getState();return{nodeLookup:W,transform:G,snapGrid:N,snapToGrid:B,nodeOrigin:D,paneDomNode:j}},onChange:(W,G)=>{const N=X,{triggerNodeChanges:B,nodeLookup:D,parentLookup:j,nodeOrigin:A}=C.getState(),P=[],Z={x:W.x,y:W.y},_=D[N(1450)](y);if(_&&_[N(843)]&&_[N(934)]){const R=_[N(1265)]??A,ee=W.width??_[N(1575)][N(575)]??0,xe=W.height??_[N(1575)][N(800)]??0,ae={id:_.id,parentId:_[N(934)],rect:{width:ee,height:xe,...Ei({x:W.x??_[N(1604)].x,y:W.y??_[N(1604)].y},{width:ee,height:xe},_.parentId,D,R)}},ce=no([ae],D,j,A);P[N(177)](...ce),Z.x=W.x?Math[N(1122)](R[0]*ee,W.x):void 0,Z.y=W.y?Math[N(1122)](R[1]*xe,W.y):void 0}if(Z.x!==void 0&&Z.y!==void 0){const R={id:y,type:"position",position:{...Z}};P.push(R)}if(W[N(575)]!==void 0&&W[N(800)]!==void 0){const R=b?N(b==="horizontal"?575:800):!0,ee={id:y,type:N(1921),resizing:!0,setAttributes:R,dimensions:{width:W.width,height:W.height}};P[N(177)](ee)}for(const R of G){const ee={...R,type:N(1604)};P[N(177)](ee)}B(P)},onEnd:({width:W,height:G})=>{const N=X,B={id:y,type:N(1921),resizing:!1,dimensions:{width:W,height:G}};C[N(1357)]()[N(1734)]([B])}})),T[X(1292)][X(1554)]({controlPosition:U,boundaries:{minWidth:a,minHeight:u,maxWidth:s,maxHeight:d},keepAspectRatio:f,resizeDirection:b,onResizeStart:g,onResize:p,onResizeEnd:M,shouldResize:v}),()=>{const W=X;T.current?.[W(1341)]()}},[U,a,u,s,d,f,g,p,M,v]);const Q=U[m(1551)]("-");return l[m(1667)](m(1574),{className:Ae([m(603),m(1932),...Q,t,x]),ref:I,style:{...r,scale:O,...i&&{[m(Y?484:789)]:i}},children:o})}L.memo(uh);const Bc=e=>Symbol.iterator in e,Dc=e=>c(679)in e,Lc=(e,n)=>{const t=c,x=e instanceof Map?e:new Map(e[t(679)]()),r=n instanceof Map?n:new Map(n[t(679)]());if(x[t(161)]!==r[t(161)])return!1;for(const[o,i]of x)if(!r[t(1949)](o)||!Object.is(i,r[t(1450)](o)))return!1;return!0},fh=(e,n)=>{const t=c,x=e[Symbol[t(277)]](),r=n[Symbol[t(277)]]();let o=x[t(218)](),i=r[t(218)]();for(;!o[t(1418)]&&!i[t(1418)];){if(!Object.is(o[t(1161)],i[t(1161)]))return!1;o=x[t(218)](),i=r[t(218)]()}return!!o.done&&!!i.done};function bh(e,n){const t=c;return Object.is(e,n)?!0:typeof e!==t(1057)||e===null||typeof n!==t(1057)||n===null||Object[t(527)](e)!==Object[t(527)](n)?!1:Bc(e)&&Bc(n)?Dc(e)&&Dc(n)?Lc(e,n):fh(e,n):Lc({entries:()=>Object[t(679)](e)},{entries:()=>Object[t(679)](n)})}const Nc={inlineScript:c(1397),dataRequest:c(494),external:c(1916),builtin:c(1552)},hh=[{label:c(1261),value:"antdMessage"},{label:c(1044),value:"switchCanvas"}],gh=[{label:c(735),value:"info"},{label:c(1332),value:"success"},{label:c(863),value:c(863)},{label:c(1243),value:"error"},{label:c(757),value:"loading"}];function Sc(e,n,t){const x=c,r=t.filter(i=>i[x(1875)]===e),o=r[x(586)];return r[x(1779)]((i,a)=>{const u=x,s=n[u(871)](f=>f.id===i[u(385)]),d=s?.data;return{sourceId:i[u(385)],sourceLabel:d?.[u(1820)]??i[u(385)],edgeIndex:a,totalIncoming:o}})}const yh=({data:e,id:n})=>{const t=c,{root:x}=Ye(),r=Me(L[t(1234)](a=>Sc(n,a[t(459)],a.edges)[t(1779)](({sourceId:u,sourceLabel:s})=>({sourceId:u,label:s})),[n]),bh),o=e[t(538)].executorType??t(1954),i=o==="dataRequest"?e[t(538)].dataRequestKey:o==="external"?e[t(538)].externalHandlerKey:o===t(1708)?e[t(538)].builtinId==="antdMessage"?e[t(538)].builtinId+": "+String(e.eventBlock[t(576)]?.[t(1077)]??"").slice(0,24):e.eventBlock[t(1284)]==="switchCanvas"?t(1892)+(x[t(1555)][t(871)](a=>a.id===e[t(538)][t(576)]?.targetCanvasId)?.name??t(1528)):e[t(538)][t(1284)]:null;return l[t(1200)](t(1574),{className:t(1900),children:[l.jsx(bt,{type:"target",position:fe[t(331)],className:t(1872)}),l.jsxs("div",{className:t(572),children:[l[t(1667)](t(1627),{className:t(1944),children:e[t(1820)]}),l[t(1200)](z[t(1220)],{size:"small",children:[l[t(1667)](z[t(978)],{type:"text",size:t(1715),icon:l[t(1667)](le.EditOutlined,{}),onClick:()=>e[t(1146)](n)}),l[t(1667)](z[t(978)],{type:t(875),size:t(1715),danger:!0,icon:l[t(1667)](le[t(521)],{}),onClick:()=>e.onDelete(n)})]})]}),l[t(1667)](t(1574),{className:t(151),children:l[t(1200)](z[t(239)],{color:o===t(1954)?t(1729):o===t(1708)?t(621):t(1092),className:t(267),children:[Nc[o],i?" · "+i:""]})}),l.jsxs(t(1574),{className:"text-xs text-gray-500",children:[e[t(538)].inputs?.[t(586)]>0&&l[t(1200)](t(1574),{children:["入参名(按连线顺序): ",e.eventBlock[t(1752)][t(1779)](a=>a[t(1388)])[t(1856)](", ")]}),r[t(586)]>0&&l[t(1200)](t(1574),{className:t(304),children:[t(1709),r.map(a=>l[t(1200)](t(1574),{className:t(1637),children:["←「",a[t(1820)],t(1283)]},a[t(541)]))]})]}),l[t(1667)](bt,{type:t(385),position:fe.Bottom,className:t(1872)})]})},mh={eventBlock:yh},wh=Object[c(679)](Nc)[c(1779)](([e,n])=>({label:n,value:e})),kc=[{label:"点击",value:c(407)},{label:c(1206),value:c(805)},{label:c(175),value:c(401)},{label:"双击",value:"doubleClick"},{label:c(1182),value:c(446)},{label:c(358),value:c(1072)},{label:"鼠标进入",value:c(1593)},{label:"右键菜单",value:c(1419)},{label:c(1786),value:c(1426)},{label:"外部事件",value:"external"}];function vh(e,n){const t={},x=[...e];return x.forEach((r,o)=>{const i=_0x4b9b,a=n[i(1752)][o]?.name??(x.length===1?i(583):i(583)+o);t[a]=i(680)+r.source}),t}function ph(e,n,t){const x=c;return t[e]?.[x(1388)]??(n===1?x(583):"prev"+e)}const zh=[{label:"string",value:c(816)},{label:c(536),value:c(536)},{label:c(1298),value:c(1298)},{label:c(1057),value:"object"},{label:"any",value:c(1587)}];function Ic(e){const n=c,t=kc[n(871)](r=>r[n(1161)]===e[n(699)]),x=t?.[n(1820)]??e[n(699)];if(e[n(699)]===n(1789)){const r=(e[n(1212)]||"")[n(1826)]();return r?x+n(1391)+r:x}return x}const Ch=({open:e,onClose:n,bindNodeId:t})=>{const x=c,{nodes:r,eventFlow:o,externalHandlerCatalog:i,addEventBlock:a,upsertEventBlock:u,removeEventBlock:s,addEventRoot:d,updateEventRoot:f,root:b}=Ye(),[h,v,g]=Ub([]),[p,M,m]=Ob([]),w=L[x(519)](h);w[x(1292)]=h;const[y,C]=L[x(195)](null),[I,Y]=L[x(195)](!1),[O]=z[x(642)][x(325)](),T=z[x(642)][x(1909)](x(699),O),[U,Q]=L[x(195)](null),[X,W]=L[x(195)](!1),[G]=z[x(642)][x(325)](),N=z[x(642)][x(1909)](x(1277),G),B=z[x(642)][x(1909)]("builtinId",G),D=z.Form[x(1909)](x(1752),G),j=L[x(477)](()=>!X||!U?[]:Sc(U.id,h,p),[X,U,h,p]),A=L[x(519)](()=>{}),P=L[x(519)](()=>{});L[x(614)](()=>{const S=x;if(X&&U){const k=U.builtinConfig??{},{outputs:K,...q}=U;G[S(498)]({...q,executorType:U.executorType??S(1954),builtinId:U[S(1284)],inputs:U[S(1752)]??[],builtinConfig:{content:String(k.content??""),level:String(k[S(244)]??S(735)),duration:k[S(558)]===void 0||k[S(558)]===null?void 0:Number(k[S(558)])}})}},[X,U,G]);const Z=L[x(1234)](S=>{M(k=>Xi(S,k))},[M]),_=S=>{const k=x,K={bindNodeId:S[k(643)],eventType:S[k(699)],externalEventKey:S[k(699)]===k(1789)?(S[k(1212)]||"")[k(1826)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},q=d(K);C({...K,id:q}),O[k(449)](),Y(!1),z[k(1695)][k(1332)](k(1964))},R=L[x(1234)](S=>{const k=x;s(S),v(K=>K[k(917)](q=>q.id!==S)),M(K=>K[k(917)](q=>q.source!==S&&q[k(1875)]!==S))},[s,v,M]),ee=L[x(1234)](S=>{const k=x,K=w[k(1292)][k(871)](F=>F.id===S)?.[k(1934)]?.[k(538)],q=o[k(768)].find(F=>F.id===S),V=K??q;V?(Q({...V,id:S}),W(!0)):z[k(1695)][k(863)](k(552))},[o[x(768)]]);A[x(1292)]=ee,P[x(1292)]=R,L[x(614)](()=>{const S=x;if(e&&y){const k=y[S(1073)][S(459)].map(q=>({id:q.id,type:S(538),position:q[S(1604)],data:{label:q[S(1934)][S(1820)],eventBlock:q[S(1934)].eventBlock,onEdit:V=>A[S(1292)](V),onDelete:V=>P[S(1292)](V)}})),K=y[S(1073)][S(1884)][S(1779)](q=>({id:q.id,source:q[S(385)],target:q.target}));v(k),M(K)}},[e,y,v,M]);const xe=()=>{const S=x,k={name:S(1504),executorType:S(1954),callback:S(1670),inputs:[],outputs:[]},K=a(k),q={...k,id:K},V={id:K,type:S(538),position:{x:100+h[S(586)]*50,y:100+h[S(586)]*30},data:{label:q.name,eventBlock:q,onEdit:F=>A[S(1292)](F),onDelete:F=>P.current(F)}};v(F=>[...F,V])},ae=()=>{const S=x,k={name:S(864),executorType:S(1708),builtinId:S(559),builtinConfig:{content:S(694),level:S(735)},callback:"return null;",inputs:[],outputs:[]},K=a(k),q={...k,id:K},V={id:K,type:S(538),position:{x:120+h[S(586)]*50,y:140+h[S(586)]*30},data:{label:q[S(1388)],eventBlock:q,onEdit:F=>A[S(1292)](F),onDelete:F=>P[S(1292)](F)}};v(F=>[...F,V])},ce=()=>{const S=x,k={name:S(1044),executorType:S(1708),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:b[S(1555)][0]?.id||""},callback:"return null;",inputs:[],outputs:[]},K=a(k),q={...k,id:K},V={id:K,type:S(538),position:{x:120+h.length*50,y:140+h[S(586)]*30},data:{label:q[S(1388)],eventBlock:q,onEdit:F=>A.current(F),onDelete:F=>P[S(1292)](F)}};v(F=>[...F,V])},ie=S=>{const k=x;if(!U)return;const K=S.executorType??U[k(1277)]??"inlineScript",q={name:S[k(1388)],callback:S[k(599)]??U[k(599)],executorType:K,dataRequestKey:K===k(1426)?(S.dataRequestKey||"")[k(1826)]():void 0,externalHandlerKey:K===k(1789)?(S[k(1438)]||"")[k(1826)]():void 0,builtinId:K===k(1708)?S[k(1284)]:void 0,builtinConfig:K===k(1708)&&S[k(1284)]===k(559)?{content:String(S[k(576)]?.content??"")[k(1826)](),level:S[k(576)]?.[k(244)]||k(735),duration:S[k(576)]?.duration===null||S.builtinConfig?.[k(558)]===void 0?void 0:Number(S[k(576)][k(558)])}:K===k(1708)&&S[k(1284)]==="switchCanvas"?{targetCanvasId:String(S[k(576)]?.[k(1238)]??"")[k(1826)]()}:void 0},V=S[k(1752)]??[],F=V.filter(me=>me?.[k(1388)]&&String(me[k(1388)]).trim()),de={...U,...q,inputs:F,outputs:[]};u(de),v(me=>me[k(1779)](he=>he.id===U.id?{...he,data:{...he.data,label:de[k(1388)]||he.data.label,eventBlock:de}}:he)),W(!1),Q(null),z[k(1695)].success("事件块已更新")},oe=()=>{const S=x;if(!y)return;const k=h[S(1779)](q=>{const V=S,F=p[V(917)](he=>he[V(1875)]===q.id),de=q[V(1934)][V(538)],me={...de,outputs:[]};return{id:q.id,eventBlockId:q.id,position:q[V(1604)],inputs:F.map(he=>he[V(385)]),outputs:p.filter(he=>he[V(385)]===q.id)[V(1779)](he=>he[V(1875)]),data:{label:q[V(1934)][V(1820)],eventBlock:me,inputMapping:vh(F,me)}}}),K=p[S(1779)](q=>({id:q.id,source:q[S(385)],target:q[S(1875)]}));f(y.id,{flowData:{nodes:k,edges:K}}),et[S(981)]({...y,flowData:{nodes:k,edges:K}}),z[S(1695)][S(1332)](S(491)),n()},ne=L[x(477)](()=>r[x(1779)](S=>({label:S[x(1388)],value:S.id})),[r]),se=L[x(477)](()=>t?o.eventRoots[x(917)](S=>S[x(643)]===t):o.eventRoots,[o[x(480)],t]);return e?l.jsxs(z.Modal,{title:x(288),open:e,onCancel:n,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[y?l[x(1200)](x(1574),{className:x(1323),style:{height:700},children:[l[x(1200)](x(1574),{className:x(1823),children:[l.jsx(z.Space,{children:l.jsxs("span",{className:x(1958),children:[x(880),Ic(y)," →"," ",r[x(871)](S=>S.id===y[x(643)])?.[x(1388)]]})}),l[x(1200)](z[x(1220)],{children:[l[x(1667)](z[x(978)],{icon:l[x(1667)](le[x(1087)],{}),onClick:xe,children:x(1349)}),l[x(1667)](z[x(978)],{icon:l[x(1667)](le[x(1087)],{}),onClick:ae,children:x(864)}),l[x(1667)](z[x(978)],{icon:l[x(1667)](le.PlusOutlined,{}),onClick:ce,children:x(1044)}),l[x(1667)](z[x(978)],{type:x(526),icon:l.jsx(le.SaveOutlined,{}),onClick:oe,children:"保存"}),l[x(1667)](z.Button,{icon:l[x(1667)](le[x(573)],{}),onClick:()=>C(null),children:x(1302)})]})]}),l[x(1667)](x(1574),{className:x(399),children:l[x(1200)](Yb,{nodes:h,edges:p,onNodesChange:g,onEdgesChange:m,onConnect:Z,nodeTypes:mh,fitView:!0,children:[l[x(1667)](qb,{}),l.jsx(_b,{}),l[x(1667)](sh,{})]})})]}):l[x(1200)](x(1574),{className:x(872),children:[l.jsxs(x(1574),{className:x(1661),children:[l[x(1667)]("h3",{className:x(1115),children:x(1207)}),l[x(1667)](z.Button,{type:x(526),icon:l[x(1667)](le[x(1087)],{}),onClick:()=>Y(!0),children:x(1735)})]}),l.jsx(z[x(1541)],{dataSource:se,renderItem:S=>l.jsx(z[x(1541)][x(1417)],{actions:[l.jsx(z.Button,{type:x(526),icon:l[x(1667)](le[x(1311)],{}),onClick:()=>C(S),children:"编辑"},"edit")],children:l[x(1667)](z[x(1541)].Item[x(1731)],{title:l[x(1200)](z.Space,{children:[l[x(1200)](x(1627),{children:[x(210),Ic(S)]}),l.jsx(z[x(239)],{color:"blue",children:r[x(871)](k=>k.id===S[x(643)])?.[x(1388)]||S[x(643)]})]}),description:x(773)+S[x(1073)][x(459)][x(586)]+x(663)+S[x(1073)][x(1884)].length})}),locale:{emptyText:l.jsx(z[x(1557)],{description:x(1796)})}}),l[x(1667)](z[x(785)],{title:x(1735),open:I,onCancel:()=>{O[x(449)](),Y(!1)},footer:null,afterOpenChange:S=>{const k=x;S&&(O[k(449)](),t&&O[k(498)]({bindNodeId:t}))},children:l[x(1200)](z[x(642)],{form:O,onFinish:_,layout:x(1056),children:[l[x(1667)](z[x(642)][x(1417)],{name:x(643),label:x(1616),rules:[{required:!0,message:x(1795)}],initialValue:t,children:l[x(1667)](z.Select,{options:ne,placeholder:x(1463),disabled:!!t})}),l.jsx(z[x(642)][x(1417)],{name:x(699),label:x(808),rules:[{required:!0,message:x(1700)}],children:l[x(1667)](z[x(1359)],{options:kc,placeholder:"DOM / 数据请求 / 外部"})}),T==="external"&&l[x(1667)](z[x(642)].Item,{name:x(1212),label:x(1103),rules:[{required:!0,message:x(301)},{validator:(S,k)=>(k||"").trim()?Promise.resolve():Promise[x(207)](new Error(x(554)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1667)](z.Input,{placeholder:x(691)})}),l[x(1667)](z[x(642)][x(1417)],{className:x(213),children:l.jsxs(z[x(1220)],{className:x(1758),children:[l[x(1667)](z.Button,{onClick:()=>{O[x(449)](),Y(!1)},children:"取消"}),l[x(1667)](z.Button,{type:"primary",htmlType:x(344),children:"创建"})]})})]})})]}),l.jsx(z[x(785)],{title:x(1232),open:X,onCancel:()=>{W(!1),Q(null)},footer:null,destroyOnClose:!0,children:l[x(1200)](z[x(642)],{form:G,onFinish:ie,layout:"vertical",children:[l.jsx(z.Form[x(1417)],{name:x(1388),label:"名称",rules:[{required:!0,message:x(1361)}],children:l[x(1667)](z[x(1871)],{})}),l.jsx(z[x(642)].Item,{name:x(1277),label:x(627),rules:[{required:!0,message:x(368)}],children:l[x(1667)](z[x(1359)],{options:wh,placeholder:x(1403)})}),N===x(1708)&&l[x(1667)](z.Form[x(1417)],{name:x(1284),label:x(1552),rules:[{required:!0,message:x(465)}],children:l[x(1667)](z[x(1359)],{options:hh,placeholder:"选择具体内置能力"})}),N===x(1708)&&B==="antdMessage"&&l.jsxs(l[x(990)],{children:[l[x(1667)](z[x(642)][x(1417)],{name:["builtinConfig","content"],label:x(1270),rules:[{required:!0,message:x(753)}],extra:x(413),children:l[x(1667)](z.Input[x(579)],{rows:3,placeholder:x(1535)})}),l[x(1667)](z[x(642)][x(1417)],{name:[x(576),x(244)],label:x(752),children:l[x(1667)](z[x(1359)],{options:gh})}),l[x(1667)](z[x(642)][x(1417)],{name:["builtinConfig",x(558)],label:x(1558),extra:x(462),children:l[x(1667)](z[x(1078)],{min:0,step:.5,style:{width:x(346)},placeholder:"默认"})})]}),N==="builtin"&&B==="switchCanvas"&&l[x(1667)](z.Form[x(1417)],{name:[x(576),"targetCanvasId"],label:x(508),rules:[{required:!0,message:x(216)}],children:l[x(1667)](z[x(1359)],{placeholder:"选择要跳转的画布",options:b.canvases[x(1779)](S=>({value:S.id,label:S.name}))})}),N===x(1426)&&l[x(1667)](z[x(642)][x(1417)],{name:x(1693),label:x(1480),rules:[{required:!0,message:x(273)},{validator:(S,k)=>(k||"")[x(1826)]()?Promise[x(817)]():Promise[x(207)](new Error(x(554)))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1667)](z.Input,{placeholder:x(1654)})}),N===x(1789)&&l.jsx(z[x(642)][x(1417)],{name:x(1438),label:"外部方法标识",rules:[{required:!0,message:"请填写外部方法标识"},{validator:(S,k)=>(k||"")[x(1826)]()?Promise[x(817)]():Promise[x(207)](new Error("标识不能为空"))}],extra:i[x(586)]>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[x(586)]>0?l.jsx(z[x(1359)],{showSearch:!0,optionFilterProp:"label",allowClear:!0,placeholder:x(1030),options:i[x(1779)](S=>({value:S[x(1671)],label:S.label,title:S.description?S[x(1820)]+x(268)+S[x(1022)]:S[x(1820)]+" ("+S[x(1671)]+")"}))}):l.jsx(z[x(1871)],{placeholder:"例如:navigateTo、openDialog"})}),N===x(1954)&&l.jsx(z.Form.Item,{name:"callback",label:x(1489),rules:[{validator:(S,k)=>{const K=x;return typeof k===K(816)&&k[K(1826)]()?Promise[K(817)]():Promise.reject(new Error(K(1891)))}}],children:l[x(1667)](z.Input.TextArea,{rows:6,placeholder:`// 可用参数:
|
|
9
|
-
// node - 触发事件的节点
|
|
10
|
-
// context - 事件上下文
|
|
11
|
-
// args - 传入的参数
|
|
12
|
-
|
|
13
|
-
return args;`})}),j[x(586)]>0&&l[x(1200)](x(1574),{className:x(261),children:[l[x(1667)](x(1574),{className:"font-medium text-amber-950 mb-2",children:x(1771)}),l[x(1667)]("ul",{className:"list-none space-y-2 m-0 p-0",children:j.map(S=>{const k=x,K=D??U?.[k(1752)]??[],q=ph(S[k(1788)],S.totalIncoming,K);return l[k(1200)]("li",{className:k(532),children:[l[k(1200)](k(1574),{className:k(1660),children:["第 ",S[k(1788)]+1,k(1145),S[k(1171)],"」:上游",l[k(1667)](k(1246),{children:"整块返回值"})," →"," ",l.jsxs("code",{className:k(549),children:["args.",q]})]}),l[k(1200)](k(1574),{className:"text-gray-600 mt-0.5",children:[k(1120),S[k(1788)]+1,k(620)]})]},S[k(541)])})})]}),l.jsx(x(1574),{className:x(165),children:x(1423)}),l.jsxs("div",{className:"text-xs text-gray-500 mb-2",children:["第 1 行对应第 1 条指向本块的连线,第 2 行对应第 2 条……(顺序与画布连线添加顺序一致,先连在前)。不添加行时:单入边用"," ",l.jsx(x(1130),{children:x(1190)}),x(254),l.jsx(x(1130),{children:x(1451)}),"、",l.jsx(x(1130),{children:x(1126)}),"…"]}),l[x(1667)](z[x(642)][x(1541)],{name:"inputs",children:(S,{add:k,remove:K})=>l[x(1200)](l.Fragment,{children:[S[x(1779)](({key:q,name:V,...F})=>l[x(1200)](z[x(1220)],{align:"baseline",wrap:!0,className:x(389),children:[l[x(1667)](z.Form[x(1417)],{...F,name:[V,x(1388)],rules:[{required:!0,message:"名称"}],children:l[x(1667)](z[x(1871)],{placeholder:"参数名,如 A",style:{width:140}})}),l[x(1667)](z[x(642)][x(1417)],{...F,name:[V,x(954)],initialValue:x(1587),children:l.jsx(z.Select,{options:zh,style:{width:100}})}),l[x(1667)](le[x(1809)],{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>K(V)})]},q)),l.jsx(z[x(978)],{type:x(725),onClick:()=>k({type:x(1587)}),block:!0,icon:l.jsx(le.PlusOutlined,{}),children:x(412)})]})}),l[x(1667)](z.Form[x(1417)],{className:x(1666),children:l.jsxs(z[x(1220)],{className:x(1758),children:[l.jsx(z.Button,{onClick:()=>{W(!1),Q(null)},children:"取消"}),l.jsx(z.Button,{type:"primary",htmlType:x(344),children:"保存"})]})})]})})]}):null},Q0={click:"点击",mouseDown:c(1206),mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:c(1182),mouseLeave:c(358),mouseEnter:c(951),contextMenu:c(708),dataRequest:"数据请求",external:c(279)};function Mh(e){const n=c;if(e.eventType==="external"){const t=(e.externalEventKey||"")[n(1826)]();return t?Q0[n(1789)]+" · "+t:Q0[n(1789)]}return Q0[e.eventType]}const Bh=Object[c(679)](Q0).map(([e,n])=>({label:n,value:e})),Dh=({nodeId:e})=>{const n=c,{eventFlow:t,addEventRoot:x,updateEventRoot:r,removeEventRoot:o}=Ye(),[i,a]=L[n(195)](!1),[u,s]=L[n(195)](null),[d,f]=L[n(195)](!1),[b]=z[n(642)].useForm(),h=z.Form.useWatch(n(699),b),v=L[n(477)](()=>{const w=n;return t[w(480)][w(917)](y=>y.bindNodeId===e)},[t.eventRoots,e]),g=w=>{const y=n,C={bindNodeId:e,eventType:w[y(699)],externalEventKey:w[y(699)]===y(1789)?(w[y(1212)]||"")[y(1826)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};x(C),b.resetFields(),f(!1)},p=w=>{s(w),a(!0)},M=(w,y)=>{r(w.id,{enabled:y})},m=w=>{o(w)};return l[n(1200)]("div",{children:[l[n(1200)](n(1574),{className:"flex justify-between items-center mb-4",children:[l[n(1667)]("h4",{className:n(710),children:n(804)}),l[n(1667)](z[n(978)],{type:n(526),size:n(1715),icon:l[n(1667)](le[n(1087)],{}),onClick:()=>f(!0),children:n(1295)})]}),l.jsx(z[n(1541)],{dataSource:v,renderItem:w=>l.jsx(z.List[n(1417)],{actions:[l.jsx(z[n(1870)],{checked:w[n(1406)],size:n(1715),onChange:y=>M(w,y)},n(1139)),l.jsx(z.Button,{type:n(875),size:"small",icon:l[n(1667)](le[n(1311)],{}),onClick:()=>p(w)},"edit"),l[n(1667)](z[n(380)],{title:n(1369),description:n(513),onConfirm:()=>m(w.id),children:l[n(1667)](z[n(978)],{type:n(875),danger:!0,size:n(1715),icon:l[n(1667)](le[n(521)],{})})},n(567))],children:l.jsx(z[n(1541)][n(1417)][n(1731)],{title:l[n(1200)](z[n(1220)],{children:[l[n(1667)](z[n(239)],{color:w[n(1406)]?n(1262):n(1729),children:Mh(w)}),l[n(1200)]("span",{className:n(810),children:[w[n(1073)][n(459)][n(586)]," 个节点"]})]}),description:w[n(1406)]?l.jsx(n(1627),{className:n(1055),children:n(700)}):l[n(1667)](n(1627),{className:n(810),children:"已禁用"})})}),locale:{emptyText:l[n(1667)](z[n(1557)],{image:z[n(1557)][n(1229)],description:"暂无事件流绑定"})}}),l[n(1667)](z[n(785)],{title:n(1295),open:d,onCancel:()=>{b[n(449)](),f(!1)},footer:null,afterOpenChange:w=>{w&&b.resetFields()},children:l[n(1200)](z.Form,{form:b,onFinish:g,layout:n(1056),children:[l[n(1667)](z[n(642)].Item,{name:n(699),label:"触发方式",rules:[{required:!0,message:n(1700)}],children:l.jsx(z[n(1359)],{options:Bh,placeholder:n(528)})}),h==="external"&&l[n(1667)](z[n(642)][n(1417)],{name:n(1212),label:n(1103),rules:[{required:!0,message:n(301)},{validator:(w,y)=>(y||"")[n(1826)]()?Promise[n(817)]():Promise[n(207)](new Error(n(554)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[n(1667)](z.Input,{placeholder:"例如:refresh 或 parent:reload"})}),l[n(1667)](z[n(642)].Item,{className:"mb-0",children:l[n(1200)](z.Space,{className:n(1758),children:[l.jsx(z.Button,{onClick:()=>f(!1),children:"取消"}),l.jsx(z.Button,{type:n(526),htmlType:n(344),children:"创建"})]})})]})}),l[n(1667)](Ch,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:e})]})},{Panel:Sn}=z[c(1351)],{TabPane:$0}=z[c(308)],{TextArea:Lh}=z[c(1871)],Pc=({defaultTestData:e})=>{const n=c,{nodes:t,selectedNodeId:x,updateNode:r,updateNodeStyle:o,updateNodeControl:i,updateNodeContent:a,materials:u,selectedStatusId:s,selectStatus:d}=Ye(),[f]=z[n(642)][n(325)](),[b,h]=L[n(195)](n(590)),[v,g]=L.useState(!1),[p,M]=L[n(195)](null),[m,w]=L[n(195)]({}),y=L.useMemo(()=>t.find(B=>B.id===x),[t,x]),C=y?.contentInfo[n(1378)]||[],I=B=>{const D=n;x&&(B[D(1578)]&&o(x,B[D(1578)]),B[D(1388)]!==void 0&&r(x,{name:B[D(1388)]}),B[D(912)]&&i(x,B.controlInfo))};console[n(870)](x,n(255),y),L[n(614)](()=>{const B=n;y&&y&&(f[B(498)]({name:y.name,normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:B(994),borderRadius:0,opacity:1,...y[B(1578)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...y[B(912)]}}),d(null))},[y,d,f]);const Y=()=>{!x||!y||(M("new"),g(!0))},O=B=>{const D=n;if(!x||!y)return;const j={id:ve[D(1239)](),name:B[D(1388)]+D(1237)+(C[D(586)]+1),expression:C[D(586)]===0?"return true;":D(1121),material:{...B,id:ve.nanoid()},boundDatasetId:null};if(p===D(378)){const A=[...C,j];a(x,{statusList:A})}else if(p){const A=C[D(1779)](P=>P.id===p?{...P,material:{...B,id:ve.nanoid()}}:P);a(x,{statusList:A})}g(!1),M(null)},T=B=>{const D=n;if(!x||!y)return;const j=y.contentInfo[D(1378)]?.[D(917)](A=>A.id!==B)||[];a(x,{statusList:j}),s===B&&d(null)},U=(B,D)=>{const j=n;if(!x||!y)return;const A=y.contentInfo.statusList?.[j(1779)](P=>P.id===B?{...P,...D}:P)||[];a(x,{statusList:A})},Q=B=>{const D=n;if(!x||!y)return;const j={...B,id:ve[D(1239)](),name:B[D(1388)]+D(877),expression:D(1121)},A=[...C,j];a(x,{statusList:A})},X=(B,D)=>{const j=n;if(!x||!y)return;const A=C[j(1e3)](Z=>Z.id===B);if(A===-1)return;const P=[...C];D==="up"&&A>0?[P[A],P[A-1]]=[P[A-1],P[A]]:D===j(1147)&&A<P[j(586)]-1&&([P[A],P[A+1]]=[P[A+1],P[A]]),a(x,{statusList:P})},W=B=>{M(B),g(!0)},G=(B,D)=>{const j=n,A=D[j(1255)]||{},P=A[j(1107)]??0,Z=A[j(1330)]??0,_=A.endX??100,R=A[j(883)]??0,ee=Math[j(1122)]((A[j(1334)]||A[j(798)]||2)*2,4),xe=Math[j(1291)](P,_),ae=Math[j(1291)](Z,R),ce=Math[j(1122)](P,_),ie=Math[j(1122)](Z,R),oe=Math.max(ce-xe,ee),ne=Math.max(ie-ae,ee),se=B.normalStyle.x||0,S=B.normalStyle.y||0;return{material:{...D,config:{...A,startX:P-xe,startY:Z-ae,endX:_-xe,endY:R-ae}},box:{x:se+xe,y:S+ae,width:oe,height:ne}}},N=(B,D)=>{const j=n;if(!x||!y)return;const{list:A,lineBox:P}=C[j(1468)]((Z,_)=>{const R=j;if(_.id!==B)return Z[R(1675)][R(177)](_),Z;let ee;if(_.material.type===R(1167)&&R(1255)in D&&D[R(1255)]!==void 0){const xe=_[R(1742)],ae=D[R(1255)];ee={...xe,...D,config:{...xe[R(1255)]||{},...ae}}}else ee={..._[R(1742)],...D};if(ee[R(954)]===R(1167)){const{material:xe,box:ae}=G(y,ee);return Z[R(1675)].push({..._,material:xe}),Z[R(806)]=ae,Z}return Z[R(1675)][R(177)]({..._,material:ee}),Z},{list:[],lineBox:null});P!==null?r(x,{normalStyle:{...y[j(1578)],x:P.x,y:P.y,width:P[j(575)],height:P[j(800)]},contentInfo:{...y[j(889)],statusList:A}}):a(x,{statusList:A})};return y?l.jsxs(n(1574),{className:n(1481),children:[l[n(1200)](n(1574),{className:n(588),children:[l[n(1667)]("h3",{className:n(802),children:n(299)}),l[n(1667)]("p",{className:n(1269),children:"编辑选中节点的属性"})]}),l[n(1667)](n(1574),{className:"flex-1 overflow-y-auto p-4",children:l.jsxs(z[n(308)],{activeKey:b,onChange:h,children:[l[n(1667)]($0,{tab:"基础",children:l[n(1200)](z[n(642)],{form:f,layout:n(1056),onValuesChange:I,initialValues:{name:y[n(1388)]},children:[l[n(1667)](z[n(642)][n(1417)],{label:n(1400),name:n(1388),children:l[n(1667)](z[n(1871)],{placeholder:n(147)})}),l[n(1200)](z[n(1351)],{ghost:!0,defaultActiveKey:[n(1604),n(161),"style"],children:[l.jsx(Sn,{header:"位置",children:l[n(1200)](z[n(1220)],{children:[l[n(1667)](z[n(642)][n(1417)],{label:"X",name:[n(1578),"x"],children:l[n(1667)](z.InputNumber,{})}),l[n(1667)](z.Form.Item,{label:"Y",name:["normalStyle","y"],children:l[n(1667)](z[n(1078)],{})})]})},n(1604)),l[n(1667)](Sn,{header:"尺寸",children:l[n(1200)](z[n(1220)],{children:[l[n(1667)](z.Form[n(1417)],{label:"宽度",name:[n(1578),n(575)],children:l[n(1667)](z.InputNumber,{min:10})}),l[n(1667)](z[n(642)].Item,{label:"高度",name:[n(1578),n(800)],children:l[n(1667)](z[n(1078)],{min:10})})]})},n(161)),l[n(1200)](Sn,{header:"样式",children:[l[n(1667)](z[n(642)].Item,{label:"背景色",name:[n(1578),n(546)],children:l.jsx(z.Input,{placeholder:n(580)})}),l[n(1667)](z[n(642)][n(1417)],{label:n(421),name:[n(1578),n(1252)],children:l[n(1667)](z[n(1078)],{min:0})}),l[n(1667)](z.Form[n(1417)],{label:"圆角",name:[n(1578),n(1233)],children:l[n(1667)](z.InputNumber,{min:0})}),l.jsx(z.Form[n(1417)],{label:"缩放比例",name:[n(1578),"scale"],help:"等比缩放节点的宽高",children:l.jsx(z[n(1078)],{min:.1,max:5,step:.1})}),l[n(1667)](z[n(642)][n(1417)],{label:"旋转角度",name:[n(1578),"rotate"],help:"顺时针旋转角度(度)",children:l[n(1667)](z[n(1078)],{min:0,max:360,step:1})}),l[n(1667)](z.Form[n(1417)],{label:n(1802),name:[n(1578),"opacity"],children:l.jsx(z[n(1078)],{min:0,max:1,step:.1})}),l[n(1667)](z.Form[n(1417)],{label:"层级",name:[n(1578),n(1019)],children:l[n(1667)](z[n(1078)],{})})]},"style")]})]})},"basic"),l.jsx($0,{tab:"状态",children:y[n(954)]==="group"&&y[n(882)]?l[n(1667)](il,{node:y,updateNode:r,materials:u}):l[n(1200)](n(1574),{className:"mb-4",children:[l[n(1200)]("div",{className:n(572),children:[l[n(1200)]("span",{className:n(1958),children:[n(1158),l[n(1667)](z[n(239)],{color:n(1262),className:n(1348),children:C.length})]}),l[n(1667)](z.Button,{type:n(526),size:"small",icon:l[n(1667)](le[n(1087)],{}),onClick:Y,children:"添加状态"})]}),l.jsx("p",{className:"text-xs text-gray-500 mb-3",children:"节点根据状态表达式计算结果显示对应物料,第一个返回 true 的状态为当前状态"}),C[n(586)]>0&&l[n(1667)](n(1574),{className:n(1123),children:l[n(1667)]("div",{className:n(1248),children:l[n(1200)](n(1574),{children:[l.jsx(n(1627),{className:"text-sm text-gray-600",children:"当前状态:"}),l[n(1667)](n(1627),{className:n(1507),children:n(203)})]})})}),C[n(586)]===0?l[n(1667)](n(1574),{className:n(1299),children:"暂无状态,点击上方按钮添加"}):l[n(1667)](z[n(1351)],{ghost:!0,defaultActiveKey:C[0]?.id+x,children:C[n(1779)]((B,D)=>l[n(1667)](Sn,{header:l[n(1200)](n(1574),{className:n(1466),children:[l[n(1667)](n(1627),{className:n(1770),children:D+1}),l[n(1667)](n(1627),{className:n(1958),children:B[n(1388)]}),l[n(1667)](z[n(239)],{color:n(1729),className:n(257),children:B[n(1742)][n(954)]})]}),extra:l[n(1200)](z[n(1220)],{size:n(1715),onClick:j=>j[n(1440)](),children:[l.jsx(z[n(978)],{type:n(875),size:n(1715),icon:l[n(1667)](le[n(1955)],{}),disabled:D===0,onClick:j=>{j[n(1440)](),X(B.id,"up")}}),l[n(1667)](z[n(978)],{type:n(875),size:n(1715),icon:l[n(1667)](le[n(1407)],{}),disabled:D===C.length-1,onClick:j=>{const A=n;j.stopPropagation(),X(B.id,A(1147))}}),l[n(1667)](z.Button,{type:n(875),size:"small",icon:l.jsx(le[n(283)],{}),onClick:j=>{j[n(1440)](),Q(B)}}),l[n(1667)](z.Button,{type:"text",size:n(1715),danger:!0,icon:l.jsx(le[n(521)],{}),onClick:j=>{j[n(1440)](),T(B.id)}})]}),children:l[n(1200)](z[n(642)],{layout:n(1056),children:[l[n(1667)](z[n(642)][n(1417)],{label:"状态名称",children:l[n(1667)](z[n(1871)],{value:B[n(1388)],onChange:j=>U(B.id,{name:j[n(1875)][n(1161)]}),placeholder:"输入状态名称"})}),l[n(1667)](Br,{status:B,onUpdate:j=>U(B.id,j),onAppendToExpression:j=>{const A=n;w(P=>({...P,[B.id]:(P[B.id]??B[A(905)])+j}))}}),l.jsx(z.Form.Item,{label:"执行表达式",help:n(943),children:l[n(1667)](Lh,{value:m[B.id]??B[n(905)],onChange:j=>w(A=>({...A,[B.id]:j[n(1875)][n(1161)]})),onBlur:j=>{const A=n;U(B.id,{expression:j[A(1875)].value}),w(P=>{const Z={...P};return delete Z[B.id],Z})},rows:3,placeholder:"return true;"})}),l.jsx(z[n(642)].Item,{label:n(1355),children:l[n(1200)]("div",{className:"flex items-center gap-2",children:[l[n(1667)](z[n(239)],{color:n(1262),children:B[n(1742)][n(1388)]}),l.jsx(z[n(239)],{color:n(1729),children:B[n(1742)][n(954)]}),l[n(1667)](z[n(978)],{type:n(535),size:n(1715),icon:l[n(1667)](le[n(1311)],{}),onClick:()=>W(B.id),children:n(166)})]})}),l[n(1667)](z[n(1941)],{style:{margin:n(569)}}),l.jsxs(n(1574),{className:n(1617),children:[l.jsxs("div",{className:n(572),children:[l[n(1667)](n(1627),{className:"text-sm font-medium",children:"物料属性"}),l.jsx(z.Tag,{children:B[n(1742)][n(1388)]})]}),l[n(1667)](Dr,{material:B[n(1742)],onSave:j=>N(B.id,j)})]})]})},B.id+x))})]})},n(822)),l[n(1667)]($0,{tab:"控制",children:l[n(1200)](z.Form,{form:f,layout:"vertical",onValuesChange:I,children:[l[n(1667)](z[n(642)][n(1417)],{label:n(1211),name:[n(912),n(1647)],valuePropName:"checked",children:l[n(1667)](z[n(1870)],{})}),l[n(1667)](z[n(642)][n(1417)],{label:n(983),name:["controlInfo",n(970)],valuePropName:n(556),children:l[n(1667)](z.Switch,{})}),l.jsx(z[n(642)][n(1417)],{label:n(1068),name:[n(912),n(606)],valuePropName:n(556),children:l[n(1667)](z.Switch,{})}),l[n(1667)](z[n(642)].Item,{label:n(866),name:[n(912),n(1785)],valuePropName:"checked",children:l.jsx(z[n(1870)],{})})]})},n(876)),l[n(1667)]($0,{tab:n(439),children:l[n(1667)](Dh,{nodeId:y.id})},n(1783))]})}),l[n(1667)](n(1574),{className:n(915),children:l[n(1200)](n(1574),{className:n(247),children:[l[n(1200)](n(1574),{children:[n(1074),y.id[n(1562)](0,8),n(1303)]}),l[n(1200)](n(1574),{children:[n(1067),C[n(586)]]})]})}),l[n(1667)](z.Modal,{title:n(972),open:v,onCancel:()=>{g(!1),M(null)},footer:null,width:600,children:l[n(1667)](n(1574),{className:n(1938),children:l.jsxs(z[n(1351)],{ghost:!0,defaultActiveKey:["basic",n(1318),n(875),n(428)],children:[l[n(1667)](Sn,{header:n(1178),children:l[n(1667)]("div",{className:n(1594),children:u[n(917)](B=>["矩形","圆形",n(419)].includes(B[n(1388)])).map(B=>l[n(1667)](Ac,{material:B,onClick:()=>O(B)},B.id))})},n(590)),l.jsx(Sn,{header:n(1282),children:l[n(1667)]("div",{className:n(1594),children:u[n(917)](B=>["阀门","泵","罐体"].includes(B[n(1388)])||B[n(954)]==="IMAGE"&&!["矩形","圆形","圆角矩形"].includes(B.name))[n(1779)](B=>l[n(1667)](Ac,{material:B,onClick:()=>O(B)},B.id))})},n(1318)),l[n(1667)](Sn,{header:"文本",children:l[n(1667)]("div",{className:"grid grid-cols-4 gap-2",children:u[n(917)](B=>B[n(954)]==="TEXT").map(B=>l[n(1200)](n(1574),{className:n(160),onClick:()=>O(B),children:[l[n(1667)]("div",{className:n(1897),children:l[n(1667)](n(1627),{className:n(1728),children:"T"})}),l[n(1667)](n(1627),{className:n(257),children:B[n(1388)]})]},B.id))})},n(875)),l.jsx(Sn,{header:"线条",children:l[n(1667)](n(1574),{className:n(1594),children:u[n(917)](B=>B[n(954)]===n(1167))[n(1779)](B=>l[n(1200)]("div",{className:"border rounded-lg p-2 cursor-pointer hover:border-blue-500 hover:bg-blue-50 transition-all text-center",onClick:()=>O(B),children:[l[n(1667)](n(1574),{className:n(1897),children:l[n(1667)](n(1574),{className:"w-8 h-0.5 bg-gray-400"})}),l.jsx(n(1627),{className:n(257),children:B[n(1388)]})]},B.id))})},"line")]})})})]}):l.jsx("div",{className:n(1405),children:l[n(1667)](z[n(1557)],{description:n(952)})})},Ac=({material:e,onClick:n})=>{const t=c,x=e.type===t(1076)?e.src:void 0;return l[t(1200)](t(1574),{className:t(160),onClick:n,children:[l[t(1667)](t(1574),{className:t(1813),children:x?l[t(1667)](t(1333),{src:x,alt:e.name,className:t(473)}):l.jsx(t(1627),{className:t(257),children:e[t(1388)][0]})}),l[t(1667)](t(1627),{className:t(257),children:e.name})]})},Nh="ConfigEditor-module__configEditor__dinNG",Sh={configEditor:Nh},kh=c(1236);function jc(e){return Array[c(1922)](e)}const Ec=({open:e,onClose:n})=>{const t=c,{dataPool:x,addDataPoolItem:r,updateDataPoolItem:o,removeDataPoolItem:i}=Ye(),[a]=z.Form.useForm(),[u,s]=L[t(195)](null);L[t(614)](()=>{!e&&(s(null),a.resetFields())},[e,a]);const d=()=>{const g=t;s(g(1873)),a[g(498)]({name:g(357)+(x[g(586)]+1),sampleJson:""})},f=g=>{const p=t;s(g.id),a.setFieldsValue({name:g[p(1388)],sampleJson:JSON[p(520)](g[p(1129)]??{},null,2)})},b=g=>{const p=t,M=g[p(1826)]();if(!M)return{};const m=JSON[p(1757)](M);if(m===null||typeof m!==p(1057))throw new Error("sample 必须是 JSON 对象或数组");if(Array[p(1922)](m)){for(let w=0;w<m[p(586)];w++)if(typeof m[w]!==p(1057)||m[w]===null)throw new Error(p(1436)+(w+1)+p(1144));return m}return m},h=()=>{const g=t;a[g(1029)]().then(p=>{const M=g;let m;try{m=b(p[M(1483)])}catch(y){z[M(1695)].error(y instanceof Error?y[M(1695)]:M(1684));return}const w=p[M(1388)][M(1826)]();if(!w){z[M(1695)][M(1243)]("请填写名称");return}u===M(1873)?(r({name:w,sample:m}),z[M(1695)][M(1332)]("已添加")):u&&(o(u,{name:w,sample:m}),z.message.success(M(1939))),s(null),a.resetFields()})[g(1174)](()=>{})},v=[{title:"名称",dataIndex:"name",key:t(1388)},{title:"类型",key:t(954),width:100,render:(g,p)=>jc(p[t(1129)])?l.jsxs(z[t(239)],{color:"blue",children:[t(1933),p[t(1129)][t(586)],t(1435)]}):l[t(1667)](z[t(239)],{children:"对象"})},{title:t(313),key:t(964),width:90,render:(g,p)=>{const M=t;if(jc(p[M(1129)])){const m=p[M(1129)][0];return m?Object.keys(m)[M(586)]:0}return Object[M(964)](p[M(1129)]||{})[M(586)]}},{title:"操作",key:t(400),width:160,render:(g,p)=>l[t(1200)](z[t(1220)],{children:[l[t(1667)](z[t(978)],{type:t(535),size:t(1715),icon:l.jsx(le[t(1311)],{}),onClick:()=>f(p),children:"编辑"}),l.jsx(z[t(380)],{title:"删除该数据集?",description:"所有绑定此数据集的状态将自动解除绑定。",onConfirm:()=>{const M=t;i(p.id),z[M(1695)][M(1332)](M(790))},children:l[t(1667)](z[t(978)],{type:t(535),size:t(1715),danger:!0,icon:l[t(1667)](le[t(521)],{}),children:"删除"})})]})}];return l[t(1200)](z[t(785)],{title:t(930),open:e,onCancel:n,width:760,footer:null,destroyOnClose:!0,children:[l[t(1200)]("p",{className:t(881),children:[t(276)," ",l[t(1667)](t(1130),{className:t(754),children:t(307)}),t(1099)]}),l.jsx(t(1574),{className:t(1740),children:l[t(1667)](z[t(978)],{type:t(526),icon:l[t(1667)](le.PlusOutlined,{}),onClick:d,children:t(1313)})}),u&&l.jsxs(t(1574),{className:"mb-4 p-3 border border-blue-200 rounded bg-blue-50/50",children:[l[t(1200)](t(1574),{className:t(746),children:[u===t(1873)?"新建":"编辑",t(1609)]}),l[t(1200)](z[t(642)],{form:a,layout:t(1056),children:[l[t(1667)](z.Form.Item,{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(1667)](z[t(1871)],{placeholder:t(1322)})}),l[t(1667)](z[t(642)].Item,{name:t(1483),label:t(582),rules:[{required:!0,message:"必填"}],children:l.jsx(z.Input.TextArea,{rows:12,className:t(1755),placeholder:kh})}),l[t(1200)](z[t(1220)],{children:[l.jsx(z.Button,{type:t(526),onClick:h,children:"保存"}),l[t(1667)](z[t(978)],{onClick:()=>{const g=t;s(null),a[g(449)]()},children:"取消"})]})]})]}),l[t(1667)](z[t(1646)],{size:t(1715),rowKey:"id",dataSource:x,columns:v,pagination:!1,locale:{emptyText:t(162)}})]})},{Header:Ih,Sider:Yc,Content:Ph}=z[c(987)],Ah=({initialScheme:e,onChange:n,readonly:t=!1,headerExtra:x,className:r="",style:o,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:u=!0,customMaterials:s,initialDataPool:d,initialEventFlow:f,externalEventActions:b,onUploadSvg:h,defaultTestData:v,backgroundImageUrl:g,initialViewportWidth:p,initialViewportHeight:M})=>{const m=c,[w,y]=L.useState(!1),[C,I]=L[m(195)](!1),[Y,O]=L[m(195)](""),[T]=L[m(195)](()=>[{paramsCode:m(173),paramsName:m(1495),value:25,paramsUnit:m(340)},{paramsCode:m(629),paramsName:m(595),value:1.5,paramsUnit:m(1258)}]),U=v!==void 0?v:T,Q=i&&!t,{exportScheme:X,importScheme:W,nodes:G,materials:N,dataPool:B,eventFlow:D,root:j,addMaterial:A,setDataPool:P,setEventFlow:Z,setExternalHandlerCatalog:_}=Ye();L[m(519)](null);const R=L[m(519)](!1);L[m(614)](()=>{const ie=m;if(!R[ie(1292)]&&(R[ie(1292)]=!0,qo[ie(366)](oe=>A(oe)),e&&W(e),f!==void 0&&Z(f),b&&b[ie(586)]>0)){_(b);const oe={};for(const ne of b){const se=String(ne.key??"")[ie(1826)]();se&&ne[ie(336)]&&(oe[se]=ne[ie(336)])}Object[ie(964)](oe)[ie(586)]>0&&et[ie(831)]({external:oe})}},[]),L[m(614)](()=>{const ie=m;s&&s[ie(586)]>0&&s[ie(366)](oe=>A(oe))},[]),L[m(614)](()=>{d!==void 0&&P(d)},[d,P]),L.useEffect(()=>{if(n){const ie=X();n(ie)}},[G,N,B,D,j,n,X]);const ee=L[m(1234)](()=>{const ie=m,oe=X(),ne=JSON[ie(520)](oe,null,2),se="data:application/json;charset=utf-8,"+encodeURIComponent(ne),S=ie(763)+Date.now()+ie(1492),k=document.createElement("a");k[ie(202)](ie(492),se),k[ie(202)]("download",S),k[ie(407)](),z[ie(1695)][ie(1332)](ie(784))},[X]),xe=L[m(1234)](()=>{const ie=m;try{const oe=JSON[ie(1757)](Y);W(oe),y(!1),O(""),z[ie(1695)][ie(1332)](ie(799))}catch{z[ie(1695)].error("JSON 格式错误,请检查输入")}},[Y,W]),ae=L[m(1234)](ie=>{const oe=m,ne=new FileReader;return ne[oe(761)]=se=>{const S=oe;try{const k=se.target?.result,K=JSON.parse(k);W(K),z[S(1695)][S(1332)](S(799)),y(!1)}catch{z[S(1695)][S(1243)](S(1384))}},ne[oe(1382)](ie),!1},[W]),ce=L[m(1234)](()=>X(),[X]);return L[m(429)](L.useRef?.(),()=>({getScheme:ce,exportScheme:X,importScheme:W}),[ce,X,W]),l[m(1667)](z[m(181)],{locale:Xc,children:l[m(1667)](m(1574),{className:Sh[m(1025)],style:o,children:l[m(1200)](z[m(987)],{className:m(1412)+(t?"":m(1267))+" "+r,children:[Q&&l[m(1200)](Ih,{className:m(490),children:[l.jsxs(m(1574),{className:"flex items-center gap-4",children:[l[m(1667)](m(1574),{className:m(834),children:m(937)}),l[m(1200)](m(1574),{className:m(1269),children:[G[m(586)],m(977)]})]}),l[m(1200)](z[m(1220)],{children:[x,!t&&l.jsxs(l.Fragment,{children:[l[m(1667)](z[m(396)],{title:m(565),children:l.jsx(z[m(978)],{icon:l[m(1667)](le[m(745)],{}),onClick:ee,children:"导出"})}),l[m(1667)](z[m(396)],{title:m(673),children:l[m(1667)](z.Button,{icon:l.jsx(le[m(524)],{}),onClick:()=>y(!0),children:"导入"})}),l[m(1667)](z.Tooltip,{title:m(332),children:l[m(1667)](z[m(978)],{icon:l[m(1667)](le[m(384)],{}),onClick:()=>I(!0),children:"数据池"})})]})]})]}),l.jsxs(z[m(987)],{children:[a&&!t&&l[m(1667)](Yc,{width:280,className:m(1138),theme:m(1603),children:l[m(1667)](Xo,{onUploadSvg:h})}),l[m(1667)](Ph,{className:"bg-gray-100 relative",children:l[m(1667)](pr,{defaultTestData:U,readonly:t,backgroundImageUrl:g,initialViewportWidth:p,initialViewportHeight:M})}),u&&!t&&l.jsx(Yc,{width:360,className:m(1138),theme:"light",children:l[m(1667)](Pc,{defaultTestData:Array.isArray(U)?U:void 0})})]}),l[m(1667)](Ec,{open:C,onClose:()=>I(!1)}),l[m(1667)](z.Modal,{title:m(329),open:w,onOk:xe,onCancel:()=>{y(!1),O("")},width:600,children:l.jsxs(m(1574),{className:m(1093),children:[l[m(1200)](m(1574),{children:[l[m(1667)]("p",{className:"mb-2",children:m(926)}),l[m(1667)](m(908),{type:m(1191),accept:m(1492),onChange:ie=>{const oe=m,ne=ie[oe(1875)][oe(153)]?.[0];ne&&ae(ne)},className:`block w-full text-sm text-gray-500
|
|
14
|
-
file:mr-4 file:py-2 file:px-4
|
|
15
|
-
file:rounded-full file:border-0
|
|
16
|
-
file:text-sm file:font-semibold
|
|
17
|
-
file:bg-blue-50 file:text-blue-700
|
|
18
|
-
hover:file:bg-blue-100`})]}),l[m(1667)](m(1574),{className:"text-center text-gray-400",children:"或"}),l.jsxs("div",{children:[l[m(1667)]("p",{className:"mb-2",children:m(262)}),l.jsx(m(1635),{value:Y,onChange:ie=>O(ie[m(1875)][m(1161)]),placeholder:"粘贴 JSON 内容...",className:m(1109)})]})]})})]})})})};ze[c(1110)]=pr,ze[c(814)]=Ah,ze[c(451)]=Ec,ze.EventFlowBinding=mr,ze.MaterialPanel=Xo,ze[c(1685)]=Cx,ze[c(955)]=Pc,ze[c(1071)]=Go,ze[c(356)]=Oo,ze.createDefaultNode=Wo,ze[c(747)]=bx,ze.evaluateStatusExpression=dx,ze[c(1726)]=et,ze.findActiveStatus=To,ze[c(438)]=qo,ze[c(1185)]=Ye,Object[c(447)](ze,Symbol.toStringTag,{value:c(607)})});function _0x2db7(){const ze=["zw51BwvYywjSzq","jhTSywjLBh3POBVLNkGKE21PBN0TjhTTyxH95lMl6zE0","B25oB2rLrhjHz1n0B3a","yw55","mda1","x2nHBgW","CNvUDgLTzuHHBMrSzxjZ","DgfNtMfTzq","DgL0Bgu","Bw91C2vfBNrLCG","z3jPzcbNCMLKlwnVBhmTncbNyxaTmG","Dg91y2HTB3zLlNPVB20","CMvHy3qTzMXVD19FBM9Kzs0","uMvHy3qGrMXVDW","BM9Uzq","z2v0rwrNzuLK","DxnLu3LUy0v4DgvYBMfSu3rVCMvxAxrOu2vSzwn0B3i","mcaWidrWEcbYz2jHkdaSmcWWldaUmYK","zMXLEa","BgLNAhq","Cg9ZAxrPB24","Aw52zxjZzq","mtjWEa","ywjZB2X1DguGDg9WltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","rxzLBNqGzMXVDYbUB3qGAw5PDgLHBgL6zwqGzM9Yia","5PwW5O2U6zUg","Dg91y2HZDgfYDc5KCMfN","EGOGicaGicaGie0","Dg9VigXHDgu7igfSCMvHzhKGC2nOzwr1BgvK","AxndBgLJA2fIBgu6","BM9KzuvSzw1LBNq","BM93AgvLBa","57Ur5A6A6iQc54k5","yMCTz3jHEs01mcbYB3vUzgvKlwXNihaTmYbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","Aw5ZDgfUDa","y2fUDMfZ","6BUy6k6K54Q25Ocb","Bw91C2v1Cc56B29T","zxHWyw5Kzwrszwn0","5PAh5PYS5Qch562+","yMfZzvzHBa","Dg91y2GW","sg9YAxPVBNrHBa","C3bHBG","B2jQzwn0ihvUC3vIC2nYAwjLza","5lIk5lIa5Q2L","khbYzwzLCNmTy29SB3iTC2nOzw1LoIbKyxjRkq","8j+sOsdMJ5dNPlRVVjRNGRNLH7VNU5JLIlBNUR/MRRxVViZLJ6/OV57NU63NU5JLIlBLPjRMRRxNUR/VViZLJ4ZLH7VNU5pMNz/NU5JLIlBVViXfu0mG5y+w5RAi","C2nHBguO","CMvHy3qTzMXVD19Fy29UDhjVBhmTEM9VBw91Da","zM9YBwf0shnS","Dgv4DgfYzwe","tw92zwqGC2vSzwn0zwqGBM9Kzsa","CgWTmsbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Ymda","CMv0DxjU","zMLUywXPEMu","6ycj5OUP5PwW5O2U5A2x5Q61","ig5VDcbMB3vUzc4GugXLyxnLig1HA2uGC3vYzsb0Agf0ihbHCMvUDcbUB2rLCYbHCMuGAw4GzNjVBNqGB2yGDgHLAxiGy2HPBgqGBM9KzxmGAw4GDgHLig5VzgvZigfYCMf5lG","6k+36ycj5OUP5PYi5lU9","DhjHBNnSyxrLrxH0zw50","BM9KzvG","zNv0DxjL","vgfIBgu","AxneCMfNz2fIBgu","54Q25Ocb5zcn56EW","zgf0ys1Oyw5KBgvWB3m","CgfUwM9VBq","Dg91y2HZDgfYDa","y29UDgfPBNm","ie0Wia","5l6l5AAc77YABg9HzfrYzw5K44cbzMv0y2HezxzPy2vmAxn0","AxntDg9WCgvK","BgLUzurYyxDPBMC","t2jQzwn0vw5ZDwjZy3jPyMvKrxjYB3i","zNjVBNq","zwrPDgLUz0v2zw50uM9VDeLK","Dgv4Dc1NCMf5ltGWma","zMXLEcbQDxn0Awz5lwjLDhDLzw4GAxrLBxmTy2vUDgvYig1Iltq","mc4Zzw0","ywjZB2X1DguGDg9WltaGBgvMDc0WihnLBgvJDc1UB25L","wM9VBsbpDxq","C25HCeDYAwq","BwiTmcbTDc00","ANn4","DhjHBNnSyxrLwq","y2XPzw50wa","CMv0DxjUigfYz3m7","A2v5","mdeY","C2v0vhjHBNnSyxrLrxH0zw50","CgfYyw1ZtMfTzq","BgLZDa","C3rLCa","566H55cg55s75BIdlI4U","y29UDhjVBhmUEM9VBu91Dc5HCMLHtgfIzwW","6iEQ5A6A5lMj57Ue5lU2","CMvHy3q","kow9K+wjJsK","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0yxj0","i2yWzJbMma","C2fTCgXLiePtt04G5PEG5Pwi","tM9KzvjLBMrLCMvY","u21VB3rOu3rLCevKz2vjBNrLCM5HBa","zxzLBNrtDwjQzwn0CW","zxzLBNrgBg93rgf0yq","sLnptIdMOlZLVi/PLjNOR6/VViZOR7FMO4dMN6xOVPpLHAu","sxqGBg9VA3mGBgLRzsb5B3uNDMuGy3jLyxrLzcbHig5LDYbUB2rLvhLWzxmGB3iGzwrNzvr5CgvZig9IAMvJDc4GswyGDgHPCYb3yxnUj3qGB24GChvYCg9ZzsbWBgvHC2uGzgvMAw5LihrOzsbUB2rLvhLWzxmVzwrNzvr5CgvZig91DhnPzguGB2yGDgHLignVBxbVBMvUDcbVCIbTzw1VAxPLihrOzw0U","BgLI","y2vUDgvY","zgf0yvjLCxvLC3rlzxK","5OUw5OU954MP5PAz5yIW55s75BId5yIB5BU66iQc54k5","BwvZC2fNzq","y29UDgv4Dg1LBNu","mta4ma","ywzMzwn0C1K","CMvNAxn0zxjjBNrLCM5HBe1VzhvSzvn0B3a","6k+36ycj5OUP6kEM5y+r5PA55BYp","CMvTB3zLuhjVCgvYDhK","t1busu9o","Dgv4Dc1Jzw50zxiGDgv4Dc14CYb0zxH0lwDYyxKTntaW","z2v0qM91BMrPBMDdBgLLBNrszwn0","yNv0Dg9U","zwrNzxngB2n1C2fIBgu","B25czwzVCMvezwXLDgu","yNvPBhrPBG","5lIk5RI46l+E57Q/oG","6ycj5OUP57Q/5P2H5Qc35BYp","5lIl5lIa5lIw57QQ","DMLLD3bVCNrjBML0AwfSAxPLza","5y2v5l2n77Yi5AAcWRbd44cbjEoaGu1qyEETIE+8Iq","B2jZzxj2ywjSzq","C21HBgW","5ywO6ycj5B2t6Ag1","Axnoyu4","z2v0sw5ZDgfUy2u","zMXLEcbPDgvTCY1Jzw50zxiGz2fWltmGDY1MDwXSihb5ltiG","zgvMyxvSDe5VzgvZ","DMfSDwvdB2XVCG","i2vImMy5nG","CgfUu2nYB2XSvgLTzw91Da","DhDLzw4","Aw50zxjUywXZ","zxzLBNrcDxm","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","Dgv4Dc1SzYbMB250lwjVBgqGDgv4Dc1NCMf5ltuWma","zgvMyxvSDa","zgvMyxvSDevKz2vpChrPB25Z","twv0yq","yM91BMrHCMLLCW","CMzFx2jHy2TNCM91BMq","DhjPz2DLCK5VzgvdAgfUz2vZ","5PAW5BU65lQl5lU25Rwb","5Bgv5BYa6kgm","zw1PDa","yM91BMreyxrHC2v0swq","AxnwywXPzenVBM5Ly3rPB24","BwiTmW","y3vYCMvUDenHBNzHC0LK","Bwf0zxjPywW","EMHFq04","C3bSAwnL","5zcr5zcoiduG6Ag1","Bwf4vg91y2HqB2LUDhm","cIaGicaGicaGica","Dw5IAw5KqwXSrM9YtM9Kzq","CMvHy3qTzMXVDW","D29YAW","jhTSywjLBh3KUi7MQkhLVi/KUi3LJlNPHy0KE3bHDhrLCM59","Aw5WDxrZ","CMvHy3qTzMXVD19FBwLUAw1HCc1ZDMC","x3rOCM93swzdBg9Zzwq","zM9UDc1TB25VihrLEhqTC20","CMvSzwfZzvbVAw50zxjdyxb0DxjL","CgfYC2u","DY1MDwXSigP1C3rPzNKTzw5K","6l6t5ywL5zU+54MhifvstcdMIjBKUiRKVkdLM77NIyC","CMvZDgfYDa","yM90Dg9T","DMfSDwvtDhLSzq","B3DUzxjeB2n1BwvUDa","C2v0qxr0CMLIDxrLCW","w2rHDgeTy2fUDMfZpsj0CNvLiL0","5lIl5lIQ5PYiicJNV7VPOBxKUiVPLk4P","Dg9VigXHDgu7igfSCMvHzhKGCNvUBMLUzW","DMLZAwjSzq","lxDLyMTPDc10yxaTAgLNAgXPz2H0lwnVBg9Y","Dgv4Dc14CYb0zxH0lwDYyxKTndaWihCTnq","5lIk5RI46l+E57Q/iokgKIdMNkZLNzCGyxjNCYdPLk7LKi0","5lIk5lIa5BM05lUJ","x2vYCM9Y","5lQK5O2I6lw354k55zkm57Ui54k5","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY0WlJuGAc0ZigjNlwDYzwvUltuWma","rxnJyxbL","C3rYAwn0","5A+85yE65B2t5yMn55s75BId","BwfW","yMX1CG","CMvHy3qTzMXVD19FzwrNzs0","zMfJDg9Y","zxzLBNrMBg93","yMfJAW","AxntzwXLy3rHyMXL","5PwW5O2U6k+35Rgc","C3rYB2TL","zwrNzuLUzgv4","zxH0zxjUywW","C2vSzwn0zwroB2rLswrZ","mNb4ihnVBgLKicmXodKWzMy","BwvYz2u","Aw5PDgLHBeHLAwDODa","z2v0tM9Kzuv2zw50qMLUzgLUz3m","6k+36ycj5OUP6iQc54k5","5PQc5PEG5lQl5lU25Rwb","i2q5zdLKoq","rg90CW","x2HHC1bHCMvUDa","CMvHy3qTzMXVD19FAgfUzgXLlq","Aw5PDgLHBfDPzhrO","6ycp5PIo5BQM","y3jLyxrLrxzLBNrgBg93ugLWzwXPBMu","zg90CW","Bw91C2vKB3DUlNPVB20","Cgf0Aa","C2nYB2XSvg8","C2vSzwn0ywjSzq","twLUDxndAxjJBgvpDxrSAw5Lza","mte4ndy0Avv1qKTc","CgfNzvG","mtKYma","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCG","ltzWEa","ChjVBwLZzq","6iom5PMV6iMY","B25dBgLJAW","54MP5PAz5BQt","twfJ","BgfIzwW","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y","BxqTna","Ac0XmIbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltqGyMCTz3jHEs01ma","AgfUzgXLqM91BMrZ","6ycj5OUP5PYi5lU9","DhjPBq","DhjHBNnSyxrLvg8","zhjHz2DHyMXL","igHHBMrSzsbPzdOGiG","BM9KzurYywDuAhjLC2HVBgq","x19VBG","BM93","DgfWrgLZDgfUy2u","54k55yE75y2h5BQp","y29UBMvJDgLVBKrYywDuAhjLC2HVBgq","Aw5KzxHpzG","CM9VDfbHCMvUDeLUzgv4","zgf0ytPHChbSAwnHDgLVBI9QC29Uo2nOyxjZzxq9DxrMltGS","zgvIDwC","5BEM5A+56B2q","CMvHy3qTzMXVD19FzwrNzs10zxH0","6k+35ywi57Ur5A6A5PwW5O2U6zUg","uhjVDMLKzxi","CMvHy3qTzMXVD19FBwLUAw1HCc1TyxnR","57Q/5A6977Yi5yop57sG77Yj","CMvXDwvZDefUAw1HDgLVBKzYyw1L","zxHLy3v0Aw9Uugf0Aa","C2v0rgvMyxvSDe5VzgvZqw5KrwrNzxm","CMvHy3qTzMXVD19FAgfUzgXL","zgvSDgfy","su5qvvq","Axnqyw5ty3jVBgXPBMC","x2LK","ksbZy2fSzsG","BM9KzuLK","AM9PBG","vgHLihjLC3vSDcbVzIbNzxrtBMfWC2HVDcbZAg91BgqGyMuGy2fJAgvKihrVigf2B2LKigfUigLUzMLUAxrLigXVB3a","EMGTy24","y2XPy2SUzhjHzW","vhLWB2DYyxbOEq","uhjVDMLKzwqGB2jQzwn0igrVzxmGBM90ignVCNjLy3rSEsbPBxbSzw1LBNqGu3LTyM9SlM9IC2vYDMfIBgu","zxzLBNrcBg9JA0LK","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWidGGmca0lJu3msaZlJqYosa0lJu3msa3lJyXoxyZlJa0oeGZlJa0oeeZlJa1nIaZlJa1nIaWidaWmcaXmY43mtr2mtuUmJm4qtmUmdu2idmUmdu2idaGmdaZlJa0ocaZmMGXoc4YodvHmY4WntyGmY4WntyGmcaWmdmUmdq4ltmUmdq4vJeZlJCXngeZlJa1nIaZlJa1nIaWidaWltmUmdq4ltmUmdq3EK0XmI4XosaYnc41mZnHmY4WntyGmY4WntyGmcaWms0ZlJa0nY0ZlJa0nYaZlJa1nIaZlJa1nIaWidaXmY4WndCTmY4WndGGmY4WntyGmY4WntyGmcaWmtmUmdq4idmUmdq4idmUmdu2idmUmdu2idaGmdeTmY4WndGGmY4WndD6BtqUnZi0lteZlJG2nKG3lJq2n1y3lJyXowmWltiUntKGmI4XmZmTnc43mJqGnc43mJmTnc43mJqGmI41oteGmca0lJCYncaYlJeZmYa0lJCYnca0lJCYnhyZlJa0ohO","zhjHDW","B25fzgDLC0nOyw5Nzq","u3rYywLNAhq","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihCTzNvSBcbWCI00","Dg91y2GX","y3vYCMvUDfn0yxr1C0LK","u3DPDgnO","sw5WDxq","iwjNlwjSDwuTntaW","x19UzxDFxW","zxH0zw50","DgfYz2v0","DMfSDwvtB3vYy2vdB2rL","572U5lQo5BQv5Bgc","55s754k557Q/","DhjHBNnMB3jT","Aw5Zzxj0qMvMB3jL","Dgv4Dc1ZBsb0zxH0lwjSDwuTnZaW","x19KyxrHx18","ChjVzhvJzq","zwrNzxm","AgfZt3DUuhjVCgvYDhK","5yc85PAh5PYS","zgfYAW","i2zMzMzMzG","6BUy6k6K6Ag555UU","jhTSywjLBh3LV4xPOBVNRyNKUO4KE2XLBN0","6k+35AgR5yAz5OMN6kgm5lUJ56cb","6lEZ6l2SoIa","qMv6AwvYrwrNzuLUDgvYBMfS","Cgf0Ae9WDgLVBNm","ywjZB2X1DguGDg9WltaGBgvMDc0WihbVAw50zxiTzxzLBNrZlw5VBMu","DMfSAwq","DY0XmIbOlteYig14lwf1Dg8GBwiTmsbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWmcbYB3vUzgvK","CMvTB3zL","B25oB2rLtw91C2vnB3zL","yMCTD2HPDguGyM9YzgvYltiGyM9YzgvYlwjSDwuTntaWihjVDw5KzwqTBgCGCc0Zig1PBI13lvSXodbWEf0GC2HHzg93lw1K","BwfUDwfS","CgfYzw50tM9Kzq","zw5Kwa","Bwf0y2HLCW","5Asn5yI26iQc54k5","AxnwywXPza","5yc85P2L5RQq","zgf0Dw0","DxnLv2f0y2G","zwrNzq","CMvWzwf0kdGSidfMCIK","ieHLBha6igH0DhbZoI8VCMvHy3rMBg93lMrLDI9LCNjVCIm","5OMl5yQO6l6t5ywL5PI+56s655Qe5yc8","w2rHDgeTBM9Kzs1Pzd0I","CMLUzY00ihjPBMCTyMX1zs00mdaGCMLUzY1VCgfJAxr5ltuW","5Asw6yoO5PA55Rov","BgLUzwfY","uMvHy3qGrMXVDYbHDhrYAwj1DgLVBG","CMvSyxrPDMuG","rNjLzq","zgLTzw5ZAw9UCW","AxnbCNjHEq","57Ut5P2F5PEL5PYF","zxHLy3v0zuv2zw50rMXVDW","zwfZzq","5ywZ6zET6kgm","zw5Kug9PBNq","5lIk5lIa6Ag1","C3LUy1zPzxDWB3j0","yxjYB3C","ywn0AxzL","BM9KCMfN","5PwW57UeicG","zgf0yq","Bw91C2v1Cc5KCMfN","DMLLDW","zML0vMLLD1jLC29SDMvY","Bwf4lwGTwZqWmhb4xsbVDMvYzMXVDY15lwf1Dg8","5BEY5l+D5A2y","yw50za","rgL2AwrLCG","BM9KzuXVB2T1Ca","Ahr0CdOVl3D3DY53mY5VCMCVwe1mlZe5otGVBMfTzxnWywnL","zM9UDc1TzwrPDw0GDgv4Dc1ZBsb0CNvUy2f0zq","vgLTzw91DcbOyxmGB2nJDxjYzwq","uMvHy3qGrMXVDZOGDhjPz2DLCIbLzgDLignOyw5Nzxm","ywrKrxzLBNrmAxn0zw5LCG","Cgf0DgvYBG","AgfZ","w2rHDgeTAgfUzgXLpsjLBMqIxq","x3zHBhvL","5lIk5lIQ5PYiicJNV7VPOBxKUiRPLk4P","tgvMDa","Aw5SAw5Lu2nYAxb0","qxjYB3DvCe91DgXPBMvK","Bwf0zxjPywXZ","iZu5ntK1oq","zM9UDc1TzwrPDw0","CMDIka","u2v0DgLUz091DgXPBMvK","Dw5VyNnLCNzL","tM9Kzsb3AxrOigLKici","C2vJB25Kyxj5","5lQl5lU25Rwb5yIB5BU65OIq5yQF","rw50zxi","yM90Dg9TlwXLzNq","ttaGmgGZmNy0lJjimhO","x2v4Axq","lNjLywn0lwzSB3C","55s75BId5A+85ywL5OIq5yQF77Yb","B25nB3zLu3rHCNq","zgvJAw1HBhm","BgfZDeLUzgv4","BwfYA2vYu3rHCNq","y2fUy2vSq29UBMvJDgLVBG","zgvMyxvSDevKz2vZ","6k+36ycj5OUP","zMLYC3rdAgLSza","6l6t5ywL6iQc54k55zcn56EW","y2HYB21L","zgfZAc1KB3q","yxnZAwDU","Dgv4Dc14CYbTyI0X","zxjYB3iWmte","zMLSzxm","jhTSywjLBh3KUi3MMk/KUidKUkRMNiNMLyJNMOqKE3r5Cgv9","ltuSltqGmcWWic01ldqGltuSltq","B25ezwXLDgu","CMvZAxPPBMC","iIbUB3qGzM91BMqUifvZAw5NigzHBgXIywnRihr5CguGiMrLzMf1BhqIlG","57ky6ls055s75BIdiePtt04G5yAf5A65lI4U","yM9YzgvYihjVDw5KzwqTBgCGCc0Yign1CNnVCI1WB2LUDgvYigHVDMvYoMjVCMrLCI1IBhvLltuWmcbOB3zLCJPIzY1IBhvLltuWihrYyw5ZAxrPB24TywXSihrLEhqTy2vUDgvY","C2L6zq","5PQc5PEG5PwW5O2U6zUg77Ym6k+354k55yE744cm5PAW5BU644cn","ww91ihbYB3zPzgvKia","AxntzwXLy3rLza","zM9UDc1TzwrPDw0GDgv4Dc1NCMf5ltGWmcbTyI0Y","5PU05O2I54MP5PAz","57Ut5P2F5zgO","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvKoG","5ywO6ycj5OMa5PYj","5A2x5l2t57kx57Ug","CM9VDa","z2fTBwe","mdaX","y29Uy2f0","6BYG5Qch6yEk5Ps+","mxb4ihnVBgLKicnKowq5zdK","ChvZAa","CMvHy3qTzMXVD19FBwLUAw1HCc1UB2rL","5yc85Qc35BYp","BwfYA2vYvw5PDhm","q29UzMLNuhjVDMLKzxi","CMvHy3qTzMXVD19Fy29UBMvJDgLVBG","D2HLzwWUEM9VBq","5OUw5OU95PEl6l2S","C2TLD1G","zxjYB3iWmdK","6iom5PMV6Ake6kEi","C3rHCNrZv2L0Aa","y2XLyxjjBNrLCNzHBa","8j+sOsdMJ5dNPlRVVjRMI5BMI73NIANMLPNLIldNLlVLUipLIjVLU7ROIOlNGRNVViZNGRNLH7VNUR/MNAhNIANMLPNOV5VLHAxNU5JLIlBMQkhLVi8","AgfZvMfSDwu","B25nB3zLrw5K","BgLUzvr5Cgu","iZe4otbMzG","DxnLu3rHDgu","BM9Kzuv2zw50qMLUzgLUz3m","DhjHBNnPDgLVBG","u2HPzNq","iIbPCYbPBNzHBgLKlIbqBgvHC2uGChjVDMLKzsbHig51BwjLCIbVCIbHihn0CMLUzYb3AxrOigeGDMfSAwqGDw5PDcaOChGGB3iGjsKU","CMvHzefZrgf0yvvsta","nsW1","C2v0qxr0CMLIDxrL","55sX6kgO6l6+5BYp6iEQ5yQO6k6H566x","Dgv4DenVBNrLBNq","Cg9PBNrLCG","mdaZ","CMvQzwn0","tgLUzq","uMLNAhq","6kEM5y+roIa","y2fSBa","Aw5PDgLHBfrLyxjKB3DU","BwiTma","zw5KlG","lwzSB3DFx2vKz2u","6k+36ycj5OUP55UU5Qch55s75BId","y2XLyxjbBgW","BMv4Da","yxrHBJi","yM90Dg9TlxjPz2H0","CMDI","zMLSBgvK","BM9Kzs5Hmtf5rgvZy3jPChrPB24UyxjPyuXPDMvnzxnZywDL","CMvHy3qTzMXVD19FzwrNzxm","z2v0vMLLD3bVCNq","5PwW5yc85Qc85BYp5yYw5PE25l+D55wz55Qe5Bcp5PwW5l2n5PwW77YmlthOOAJNPlRKUi3MOlZLVi/LJjy","Dg91y2HTB3zL","57Ui54k5ifG","5zU+54Mh5BgE5OcN","EwvSBg93","B25oB2rLrhjHzW","Bw91C2vTB3zL","AgfZqxr0CMLIDxrL","BwvTBW","zgf0ys1Oyw5KBgvPza","55+L6ygt5lQg","y29TCgXLDgu","Dg9ju09tDhjPBMC","vgfN","u2nOzwr1BgvKigfJDgLVBIb0AhjLDYbMywXZEsbLCNjVCG","B2zMC2v0","yxbWBhK","twvZC2fNzsdMJ5dNPlRLHOxLRRNKUlRNQBO","Bgv2zwW","5BYa5AEl5PE26zE0","BM9KzxngB2n1C2fIBgu","Dgv4Dc14CYb0zxH0lwDYyxKTntaW","zg90","AwrLBNrPzMLLCG","zMLSBenVBg9Y","BgfIzwXgB250u2L6zq","C2v0twLUwM9VBq","CMvHy3qTzMXVD19FBM9Kzxm","77Ym5AsA5ywL6l6555sOia","C2vSzwn0zwroB2rLswq","zwXLDMf0zu5VzgvZt25tzwXLy3q","Dgv4Dc14CW","y29SB3i","DxnLzfjPz2H0tw91C2vcDxr0B24","CgfZDa","BwiTncbWltmGyMCTyw1IzxiTntaGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwfTyMvYlteWmcb0zxH0lxnT","57ky6ls0iePtt04G5yAf5A6577YA","C2vSzwn0qwXS","C2vSzwn0zwrtDgf0Dxnjza","zMXLEc0XihjLBgf0AxzL","Dgv4Dc1ZBsb0zxH0lwDYyxKTnZaW","iw1Ylta","iokaLca","DMfSDwvZ","zg9JDw1LBNrfBgvTzw50","x196B29T","y2XHC3noyw1L","6k+35AgR5yAz6k+35Rgc5Qch6k+g","5BYa5AEl5A2J5BQM","y3jLyxrLrwXLBwvUDe5t","5Q+p5lIQ5PwW5O2U6zUg5y+V5lUL5PIViePtt04G5A+56lgH5QIH5P2/77YiuMvJB3jK77Yj5OIw5PwW57Ue44cc54Q25Ocb57Ur5A6A5zco77Ym6kgO6l6+5BYp562+5zcn5lI6","AxrLCMf0B3i","yxv0BY1ZDgfYDc1YzxzLCNnL","5Asw6yoO5lQl5lU2","zgvZDgLUyxrPB24","Bw9Kzq","5lIl5A+56B2q","q29WEu91DgXPBMvK","y29UDgvUDgvKAxrHyMXL","xMHZBfWO","zgvMCW","C2nHBgvfEhrLBNq","5lQl5lU25Rwb57Yw6l6r5zMO","C3rLCfbVC2L0Aw9U","BM9Wyw4","Dg9iyw5KBgu","BgfIzwXtAg93qMC","yMLUzenVzgvZ","z2v0vMfSDwvgCM9Tugf0Aa","5RIf56M65OMa5PYj","q29UBMvJDgLVBKXPBMu","AgLZDg9YEq","uMvHy3qGrMXVDZOGDhjPz2DLCIbUB2rLignOyw5Nzxm","5BgE5OcN6z2I5P2/","lMrYywC","6k+35AgR5yAz5Asw6yoO5lQl5lU25Qch6k+g","y2XPzw50wq","C3rHy2S","BxqTmsb0zxH0lwfTyMvYltGWma","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlxiGyM9YzgvYlwDYyxKTmJaW","zw5KC1DPDgG","kgrHDgePid0+igjVB2XLyw4","vgfICW","Bwf0y2HnzwrPyq","ihrVia","u3rYAwn0","zgf0ys4","5A2x5Q615PwW","vMvYDgLJywW","5PQc5PEG5PwW5O2U","CMvHy3qTzMXVD19FDMLLD3bVCNqGEhLMBg93x192Awv3Cg9YDcbYzwfJDc1MBg93x19JB250ywLUzxi","lM5VA2v5","zNjVBuHHBMrSzq","DhjPz2DLCK5Vzgu","C3rHDhvZswq","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igeGBM9Kzs4GuhjLC3mGzgvSzxrLihrVihjLBw92zsbPDcbHBMqGzxnJyxbLihrVignHBMnLBc4","zxzLBNrgBg93","DY1MDwXSigGTzNvSBcbMBgv4igzSzxGTy29SigP1C3rPzNKTy2vUDgvYigDHCc0X","CMvHy3qTzMXVD19FCgfUzwW","DxnLrM9YBq","y2LYy2XL","y29UDhjVBhmUyxjPyuXHyMvS","DxbKyxrLtM9Kzq","5A+85ywL57Ue5Ocb5PA55Qgi","y29UBMvJDgLVBG","vg9W","6iQc54k554Q25Ocb55sO55Qe5PwW5O2U6zUg77Yi5lIo5lQl5lU25Rwb5PEG5ywZ77Yj","xNjNyMfCka","6BUy6k6K5yc877Yi5Ash55sO77Yj","yw4GAw52ywXPzcbVyMPLy3q","AgfUzgXLCG","6zw/54k5lEEFREEcUEs6PoABVW","z2v0sw5PDgLHBfn0yxrL","DxnLCLnWywnLt25vC2u","Bw0VCW","D2HLzwXezwX0yq","qMv6AwvYrwrNzq","y2fUy2vS","C3vIBwL0","zML0vMLLDW","mtaWjq","Ag92zxi6yMCTz3jHEs0Xmda","CMvTB3zLqxr0CMLIDxrL","BM9KzvK","BM9YBwfS","y3vZDg9T","z2v0uM9VDe5Vzgu","igrVzxmGBM90igv4Axn0lG","x2DYB3vWCW","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/kvXZkG","y29SBgvJDerHDgfZzxrgAwvSzfbHDgHZ","5PwW5O2U6zUgia","6BYG5Qch56E75yE6","q29SDw1UsgvPz2H0t3v0BgLUzwq","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlte","ywjZB2X1DguGDY0ZigGTmYbIzY1IBhvLltuWmcbIB3jKzxiTmIbIB3jKzxiTD2HPDguGCM91BMrLzc1MDwXSign1CNnVCI1TB3zLihOTnta","DxnLCLnLBgvJDgLVBKfJDgL2zq","y2vUDgvYignLBNrLCG","vMvYDgLJywXbBgLNBLrVCe91DgXPBMvK","CgLWzq","zM9YrwfJAa","DhjHBNnSyxrLkc0","6k+36ycj5OUP5OMN6kgm5PA55BYp","DxnLtM9KzunVBM5Ly3rPB25ZoIboBYbUB2rLieLeigzVDw5KlIbdywXSihvZzu5VzgvdB25Uzwn0Aw9UCYbPBNnPzguGysbJDxn0B20GtM9KzsbVCIbWCM92AwrLigeGBM9Kzsbjrc4","5lQm57U056cb6l+h5PYF","ywjZB2X1DguGyM90Dg9TltaGCMLNAhqTmcb3ltmGAc0ZigjNlwjSDwuTntaWigjVCMrLCI0YigjVCMrLCI13AgL0zsbYB3vUzgvKlwz1BgW","57Ut5P2F5A+86kEi","CgfUqNK","yMXVy2SGDhj1BMnHDgu","5zU+54Mh5zcn56EW","y2vUDgvYwq","x3jLBw92zvbHCMvUDa","BMv3","C2nHBgvcEq","ug9Wy29UzMLYBq","B25fzgDLC0rLBgv0zq","ndqXotbYuNf5Avu","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24TCMvJDa","rgf0ywjHC2vpDxrSAw5Lza","C291CMnL","zxHLy3v0zq","C3rHCNqUEM9VBq","rxHWzxjPBwvUDe91DgXPBMvK","BwiTmG","CMvJDa","Dgv4Dc14CYb0zxH0lwjSDwuTntaWigzVBNqTyM9Sza","AxnqCMLTyxj5","y29UDgfPBG","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg5l2C5lI65PwW5O2U5RQq","CgfUzurYywDNAw5N","vg9VBhrPCa","zgf0ys1Pza","C3rHCNrxAwr0Aa","zMXLEc0X","ywn0Aw9UCW","Bw91C2vvCa","CMvHy3qTzMXVD19FzwrNzs1KzxnJ","yxv0B1bHBK9UtM9KzurYywC","zM9UDfDLAwDODa","zMXVB3i","5PAh5A2x6AkC6iMY","y2XPy2S","DY1WEcbOltyGyMCTz3jHEs0ZmdaGBxGTmG","5PEG562B6ycj6Ag5","zxjYB3iWmtm","oMzVy3vZlxzPC2LIBgu","5RE75yQG5ywL5y+c6kgm77Yi56YS5yEG5lIQ5y+c5PwW77Yj","5y2G5l2n56YM77YAE3TWCMv2Fx3JGif7E+wfPEwpGUwqJx19iow8LEEuQos4IUA4UoI/NUE6V+wfPEwpGU+8M3T7jgrHDgeUEhH4Fx0G5y+w5lQl5lU25lIk5lIl5PAhigrHDge","yMCTyMX1zs01mcbYAw5NltiGCMLUzY1IBhvLltqWma","C2LTCgXLyMv6AwvY","qgfUDc1KzxnPz24VAwnVBNm","CMv2zxjZzq","B25ZzwXLy3rZDgfYDa","5zYg6kEs55+P5B2I","Dhj1zq","5yAf6l656lED","Cgf0DgvYBI0","t25SEsbJAgLSzcbUB2rLCYbJyw4GDxnLigeGCgfYzw50igv4DgvUDc4","Aw52B2TLuNvUDgLTzuHHBMrSzxi","u3rLCevKz2u","C2v0tM9Kzxm","C2vSzwn0zwroB2rLCW","BgLUzq","DxnLsw1WzxjHDgL2zuHHBMrSzq","C2HPzNq","jhTSywjLBh3MMk/KUidKUkRML6dMLyJML6xMNj8","zhjHz0HHBMrSzq","C2nHBgvuBW","ww91igfYzsb1C2LUzYbHBIbVDxrKyxrLzcWGChjLlxjLBgvHC2uGywXWAgeGB2yGuMvHy3qGmtGGDgHHDcbKB2vZig5VDcbZDxbWB3j0ihvZzvn5BMnfEhrLCM5HBfn0B3jLlIbuAguGDxnLlxn5BMmTzxH0zxjUywWTC3rVCMuGC2HPBsb3AwXSig5VDcb3B3jRignVCNjLy3rSEs4GvxbNCMfKzsb0BYbHig5LD2vYihbYzs1YzwXLyxnLlG","rMfPBgvKihrVihbHCNnLigrYB3bWzwqGBwf0zxjPywW6","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iInMywfKmtqIihj4psiYmciVpJWVC3zNpG","zwrNzxnszwnVBM5Ly3rHyMXL","Aw5PDe1HDgvYAwfSCW","5lQl5lU25Rwb","AxnjBNrLCM5HBa","5PAW6iQc54k5","B25tzwXLy3rPB25eCMfNu3rVCa","u1fsvdi","Aw5JBhvKzxm","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIb0zxH0lwDYyxKTmZaWihrLEhqTEhm","Bw91C2vpDMvY","zgvMAw5LuhjVCgvYDhK","z2v0u25HChnOB3q","CMvZzxrgAwvSzhm","ChjLDMLLDW","rgf0yvbVB2XnB2rHBa","ugfYzw50ig5VzguG","6iEQ5A6A5lMj","5lIl5lIa5BM0icHdB250CM9S6zsU5yQG5y+Z5PA55zcr6zsUkq","6Ag75lI6jhTSzw595lIQjhTSywjLBh0","zxHWB3j0CW","q1vtve9n","BMfTzxnWywnLvvjj","BM9Kzxm","y2vUDgvYwa","zgvZyW","55wz56M65l2/55sOigfUDgqG6BUy6k6K77YB5AgRidaG6kgO56s65lIn6iEQ5yQO5ywZ6zET","BMf0AxzLrxzLBNq","CMvTB3zLq2HPBgq","6k+36ycj5OUP5yAf572U5yQO5l2C","6l6t5ywLiePtt04G5Qc85BYp55Qe5Rwl6k+v5PwW5O2U77YB5PYQ57Yw6l6r5yMn55s75BId6lEF6zQp5Asw6yoOigrLzMf1Bhruzxn0rgf0yE+8IowMGUEBKEAoP+AoQoMaGE+8Iq","lteWic0XmcaYmcaYma","mtu1B2rNzxvi","ywXS","BMv3wa","Bw91C2vTB3zLlMrYywCGBw91C2v1Cc5KCMfN","CgfYDgLHBa","DY0XmcbOlteWig9IAMvJDc1JB250ywLU","x25HBwu","576K57Ue6iQc54k5","B2jZzxj2zq","DxnLtwvTBW","tsaYmcaWieWGmcaWidaGmJa","6ycj5OUP5BM05lU9","zxzLBNrsB290CW","jhTSywjLBh3MNidLPkFLGlZKUlOKE21HEh0","5PQc5PEG54MP5PAz","q3vZDg9TrxzLBNq","yMfJA2DYB3vUzenVBg9Y","zgLZy29UBMvJDa","6l6t5ywL5Qch562+5PAh5PYS","Bg9JywW","ltuSltqGmcWWic01ldq","x19UB3nLBgvJDa","yMCTD2HPDguGyM9YzgvYlwiGyM9YzgvYlwDYyxKTmJaWihb4ltqGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUigzSzxGTC2HYAw5Rlta","5lQl5lU25Rwb5l+D5A2y5OIq5yQF","AhjLzG","AhLWB3q","6k+35Rgc5PwW5O2U","yxjPyuXHyMvSq29UzMLN","mda5","y3vYC29YlxbVAw50zxi","C2v0rMLLBgrZvMfSDwu","Dw5IAw5KtM9Kzuv2zw50","Bw91C2vKB3DUlMrYywC","Ahr0Chm6lY9YzwfJDgzSB3CUzgv2","ChjVDg90ExbL","y29UBMvJDe9Uq2XPy2S","uhjLC3mGzw50zxiGB3iGC3bHy2uGDg8GC2vSzwn0igfUigvKz2uUifLVDsbJyw4GDgHLBIbWCMvZCYbKzwXLDguGDg8GCMvTB3zLigL0ig9YigvZy2fWzsb0BYbJyw5JzwWU","ywrK","DMfSDwvgB250v2vPz2H0","wvLzwq","55UU5Qch55s75BId","B25tzwXLy3rPB25eCMfNu3rHCNq","57Uy5yI25QIH5BYp","5PwW5O2U5A2x5Q615PEG5yc85PE25PI+56s65Q2K5Ash55sO5yc8","CMvHy3qTzMXVD19FyxjPys1SAxzL","5yIG6zMK5zco5PEG5Rov5OgI5Asn77Ym5PIV5zcM57UN57UT77YF","tw96vxnLCLnLBgvJDa","tM9KzsbVBKnSAwnRoG","lwzSB3DFx25Vzgu","CMvHy3qTzMXVD19FzwrNzs1PBNrLCMfJDgLVBG","zxHLy3v0zuzSB3DoB2rLCW","DxnLuMvM","C3rYAw5NAwz5","rgvSzxrLt3v0BgLUzwq","Ag9YAxPVBNrHBa","z3jVDxa","vxbSB2fKt3v0BgLUzwq","5lIk5lYG5zU+54Mh","ChjPBwfYEq","z2v0uhjVDg90ExbLt2y","6ycj5OUP6kEM5y+r5PA55BYp77Yire9nic8G5PwW5O2U6k+35Rgcic8G5Asw6yoO77Yj","C3rHCNroB2rLwq","C2vUDa","B25tzwXLy3rPB25dAgfUz2viyw5KBgvYCW","CgWTmIbIB3jKzxiTBc0YigjVCMrLCI1HBwjLCI0Zmda","Dg9qB3nPDgLVBG","Dg9W","BgLUAW","BNvTyMvY","C2vSzwn0C3rHCNqUzhjHzW","zxzLBNrcBg9JAW","y3jLyxrLu1zhug9PBNq","lIbozxCGCg9ZAxrPB24SihG6ia","C291CMnLswq","CMvHy3qTzMXVD19FzwrNzwXHyMvSlxjLBMrLCMvY","qebVyNnLCNzHyMXL","B3b0Aw9UCW","CgfYzw50","yMfJA2DYB3vUza","zgvMAw5LuhjVCgvYDgLLCW","DgHHDa","yMCTD2HPDguGChGTmsbYB3vUzgvK","5A+g6zUg54k554Q2","vw5KB091DgXPBMvK","5OM+5lIn5yIW5lQl5lU25z2x","B3bHy2L0Eq","5Qch6k+g5lIn6io95lI656M6","w0rfufjfq0fururDifrOzsbGzgvZDhjVEwaGBwv0Ag9KihDPBgWGyMuGDw5ZDxbWB3j0zwqGAw4GysbMDxr1CMuGDMvYC2LVBI4Gsw5ZDgvHzcb1C2uGDw5ZDwjZy3jPyMuGzNvUy3rPB24GCMv0DxjUzwqGyNKGC3vIC2nYAwjLlIbfDMvYExrOAw5NihDPBgWGyMuGz2fYyMfNzs1JB2XSzwn0zwqGAwyGC3rVCMuGAxmGz2fYyMfNzs1JB2XSzwn0zwqU","y2HLy2TLza","C2nHBgvz","zhvYyxrPB24","yw50ze1LC3nHz2u","CMvTB3zLqxr0CMLIDxrLtLm","C3r5BgvuD2vLBG","q29UDhjVBa","C2HPzNrlzxK","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbIzY1NCMf5lteWma","5A+85yE6iePtt04","DhjHBNnSyxrLwcGTntaLkq","zgvSzxrL","Aw52zxj0wa","mtjWEcaW","xhmQkfSRlv0/kd86xgqQxc4Pp1XKkYG/oLTLrv1BkY1Dp1XKkYK/ksvCCYO","C3r5Bgu","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUig1Ilti","q2XVC2vpDxrSAw5Lza","zhjVCevMzMvJDa","D2LKDgG","yNvPBhrPBKnVBMzPzW","mteZmhLHsMfvyW","Dg91y2HLCW","vgv4DefYzwe","DhjHBNnWyxjLBNqSicnMzMySihvYBcGUlI4P","vevyva","56s65l6l5PwW5O2U77YisLnptIdLR7NOSAhMIjBMLBdNU4tVViK","ChjLDG","yxnpyNnLCNzHyMXL","u3LTyM9SlMfZEw5JsxrLCMf0B3iGAxmGBM90igrLzMLUzwqU","BgvUz3rO","C2vSzwn0zwrfzgDLCW","Cc00igjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","zM9YBwf0sgv4oa","yMfZAwm","D2HLzwW","zgvNksa","yMXVy2SGDY1MDwXSihrLEhqTC20GDgv4Dc1NCMf5ltuWmaOGicaGicaGicaGicaGigzPBgu6BxiTncbMAwXLoNb5ltiGzMLSztPWEc00cIaGicaGicaGicaGicaGzMLSztPYB3vUzgvKlwz1BgWGzMLSztPIB3jKzxiTmaOGicaGicaGicaGicaGigzPBgu6Dgv4Dc1ZBsbMAwXLoMzVBNqTC2vTAwjVBgqkicaGicaGicaGicaGicbMAwXLoMjNlwjSDwuTntaGzMLSztP0zxH0lwjSDwuTnZaWcIaGicaGicaGicaGicaGAg92zxi6zMLSztPIzY1IBhvLlteWma","C3zNigXPBMu","6ycA6Akr5yQG6ycF5BQM5PYj5Pwi5yc8","BgLZDgvUzxi","5yAf572U5yQO5l2C5PYQ6ycj5OUP57g75z6l","Aw5ZzxqOmtaWjsK","y2fSBgjHy2S","jhTSywjLBh3MNidLSi/LGlZKUlOKE21PBN0","B3DUzxjtvKDfBgvTzw50","B25oB2rLC0rLBgv0zq","CMvHy3qTzMXVD19FCMvZAxPLlwnVBNrYB2W","5Asn5yI25OIq5yQF","zM9Yy2u","AxnszxnPEMfIBgu","tw9KDwXL","572U5lQo6Ag25Bgc","Bwv0yq","B25dB25Uzwn0","Bw91C2vTB3zLlMrYywC","57Ut5P2F5PYi5lU9","yw5PBwf0zwq","DxnLrwzMzwn0","ugfUzwW","jhTSywjLBh3KUi3OG73KUlRNQBRLRzFNRky","x3bHCMvUDhm","rxzLBNqGzMXVDYbLEgvJDxrPB24GzMfPBgvK","AgfUzgXLCW","ioIHJowHQ+wgMEwpGUAvSowqJEwnS+wpR+IhQUwUMUs5IEMuRUwqJE+8IoMHU+s4JUwfPEI+UEMHUUw6J+s4GoIhTo+8IEoaGG","y3LHBG","B25gAw5HBgL6zq","zgvMyxvSDfj1BNrPBwviyw5KBgvYCW","re9ntwf0CML4uMvHze9UBhK","C2uTCMvZAxPL","C2nOzwr1Bgu","5OMN6kgm5PA55BYp","Bwf4wM9VBq","mdaY","57Ur5A6A5yc8","CMvHy3qTEM9VBs1Wyw4TCgLUy2G","Cg9PBNrLCI1LDMvUDhmTBM9Uzq","5A2x5l2t5AsN5Bcp","Dg9mB3DLCKnHC2u","C3r5BguU","y2HHBMDLzfrVDwnOzxm","Cc0ZigjNlwjSDwuTntaGyM9YzgvYigjVCMrLCI1IBhvLltiWmcbYB3vUzgvKlwXNig1Iltq","zM9JDxnHyMXL","zgvSyxK","zwXLBwvUDezYB21qB2LUDa","5RE75yQG54Q25Ocb","rM9YBq","yMLUze5Vzgvjza","tKvhqvrjvKvFsu5gsu5jvfK","A2vLCefZCgvJDfjHDgLV","C21VB3rOC3rLCa","5BYa5AEl5PEL5PYF","Ahr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMC","z2v0rxzLBNrcBg9JAW","ChGP","Bw91C2vKB3DU","x196B29TAw5N","Dg91y2HLBMq","CMvHy3qTzMXVD19FBM9KzxnZzwXLy3rPB24","q29UC3vTzxi","Dg9izxHtDhjPBMC","zg9Tqxr0CMLIDxrLCW","q29UDhjVBhm","ChjVCgvYDhK","DgLTzxi","yxv0BW","57Q/5P2H5BgE5OcN","lcdOV57MJQxMLBa6ia","Bw91C2vcDxr0B24","BM9Kzuv4DgvUDa","C2v0rgvMyxvSDfj1BNrPBwviyw5KBgvYCW","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi4mci+pgvSBgLWC2uGy3G9iJmWiIbJEt0ImtaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJXYzwn0ihG9iJuIihK9iJeWiIb3Awr0Ad0IntaIigHLAwDODd0InJaIigzPBgW9iInMmgyWzJaIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+pgvSBgLWC2uGy3G9iJmWiIbJEt0InZaIihj4psiYnsiGCNK9iJeWiIbMAwXSpsiJzdLKowq5iIbZDhjVA2u9iIm1otu5ntKIihn0CM9Rzs13Awr0Ad0ImIiVpJWVC3zNpG","y29UDhjVBhmUEM9VBuLUlMfYAwfmywjLBa","Dg9WlwXLzNq","CMzFx21PBMLTyxa","u2LTCgXLqMv6AwvY","Aw52zxj0wq","5A+85ywLiePtt04","AwnVBNm","DhjHBNnSyxrLka","C2v0vhjHBNnMB3jT","x2LUBMvYu3vIC2nYAwjL","mJC5ntK5nM5vAKnKvW","zw50CMLLCW","jhbYzxyU","CMvJB25Uzwn0ywjSzq","Dg9gAxHLza","yM9YzgvY","qwXPz25mzwz0t3v0BgLUzwq","uhjVBwLZzq","qxjYB3DvCa","w3jVBgu9iMXPC3rIB3GIxq","5lYy5ywi5lUo57Ur5A6A5PwW5O2U6iEQ5yQO6i635y+w77Ym5lMF5y+V5OMl5yQO6l6t5ywL","zxzLCNK","u21VB3rOu3rLCevKz2u","5l6l5AAc77YACMvMCMvZAa","ChjLCgfYzuv2zw50qxjNCW","6ycj5OUP57Ur5A6A5yc8","5Pon5l2C5OIq5yQF","yM9YzgvYlxqGyM9YzgvYlwDYyxKTmJaWig10lteGChqTmq","Aw50zxjWB2XHDgu","6k+L5PwW5O2U6zUg55QeihnHBxbSzsdKUlRMLBdNU4tVViZOR7FPGiNMI6NNLkJKUO7LJlNPHy3MLBdMJA7POBNNMOtLRzFMRRu","lNn2zW","zxzLBNruExbL","5BEY5zcV55sO","zxjYB3iWmdi","DxnLrgvIDwDwywX1zq","DY1MDwXSigGTzNvSBcbYzwXHDgL2zq","odu4mtyWqurNzg9v","5zU+54Mh5zYW5z2aicHZCMmP","Dw5PDa","Dhj5CW","5y+Z6zsU6i+C5y2v","y2XVC2vZDa","Dgv4Dc1ZBsbMB250lw1LzgL1Bq","C3vWChjLC3nLza","y29UBMvJDgLVBK1Vzgu","CxvLCNLtzwXLy3rVCG","zgf0ytPPBwfNzs9ZDMCREg1S","B25SEvjLBMrLCLzPC2LIBgvfBgvTzw50CW","B25oB2rLq2XPy2S","B3bZ","AxneCMf3Aw5N","576K57UexW","54k55yE757Q/5P2H54MP5PAz5BYa5AEl57Uy5yI2","57Ur5A6A5PwW5O2U6zUg","zgLZDgfUy2u","5lIl5lIa5BM05lUJ","Aw5qCM9NCMvZCW","zgfZAgvK","zw50zxi","5A2x5Q616AQm6k+b6zsz6k+VjhTSywjLBh0","CMvUzgvY","zgLZywjSzwq","wvLzwEw5Ta","tgLUzxm","BwfYA2vY","5Qch562+5Qc35BYp","C2HVDwXKvw5ZDwjZy3jPyMu","Aw5MBW","C3LUyW","5PEG54Q25Ocb","B25dB25Uzwn0rw5K","rML0ifzPzxC","5y+V6ycj77YA57Ur5A6A5zco6kgO6l6+5BYp5lIT55QeigrHDgeG5lYA5ywi5zci5BM26k+L5PwW5O2U6zUg55QeihnHBxbSzE+8JowgJEwqIow5TUEuU+w4G+s8OowfPEEAHoI/KoIHJoAxTUAvSoAnRUoaGUs4JEE7KEwUMUAxTIbKyxrHios7HEADPEIhQUI/KoIHJoAxTUoaGG","w1jLywn0iezSB3DDifrOzsbWywrKAw5NihzHBhvLici","BM9Kzq","6l6t5ywL5zU+54MhifvstcdMIjyGrgf0ysbvuKK","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iG","rg93BMXVywrpDxrSAw5Lza","zM9UDc1TzwrPDw0GBwiTmG","y3jLyxrLrgvMyxvSDfn0yxr1CW","5lUo57Ur5A6A55Qe5PwW5O2U5lIT6ycj5OUP5A2x5Q61","zMXLEc0XigzSzxGGzMXLEc1JB2WGAc1MDwXSigjNlwDYyxKTmtaW","C3rHCNq","DhjHBNnSyxrL","54Q25OcbicH0ExbLkq","6k+35AgR5yAz5O+q56s65yAf5A65","yMCTz3jHEs0XmdaGChGTmsbYB3vUzgvK","C2v0u2nHBgvfEhrLBNq","x2v4zwn1Dgu","Bg9HzgLUzW","zNvSBa","ywjZB2X1DguGDg9WltaGBgvMDc0WihCTmYbOltmGyMCTyMX1zs01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","DMLLD0jVEa","B25SB2fK","y29YBMvY","C2nOzw1LxW","sxrLCMfIBguGy2fUBM90igjLig51BgW","BM9Kzvr5Cgu","vxbtCxvHCMvpDxrSAw5Lza","w2nVBNrLBNrLzgL0ywjSzt0IDhj1zsjD","zxzLBNrcBg9JA3m","xNjNyLWO","6ycj5OUP5PEL5PYF","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWma","zxHLyW","6iQc54k55PwWoIa","C2vSzwn0q2HPBgrYzw4","CMvJDcGWChGSidbWEcWGmhb4lcaWChGP","5B+R6ycF5A+56B2q","C2v0rgf0yq","BgLUzs1KCMf3","AxnfzgL0Aw5NrxzLBNrgBg93","C2vSzwn0Aw9U","tufyx1zbtfvf","Aw5Uzxjive1m","y3jPC3bfzgDLCW","5A+85yE65OIq5yQF77Yb","tw9KywW","Aw5ZDa","Cc0ZigjVCMrLCI1IigjVCMrLCI1NCMf5ltiWma","C3rHCNroB2rLwa","yM9YzgvYq29SB3i","5BEY5yIG6zMK77Ym55U45ywZ54Q25Ocb5BEY6kEJ6zMK5PwW5O2U6zUg57Ur5A6A","AhnSysG","CMvHy3qTzMXVD19FBwLUAw1HCa","B25tzwXLy3rPB25eCMfN","Cg9ZAxrPB25z","mcaWidmYidmY","mtGWnfztvLzMCa","C3rVCeLTBwvKAwf0zvbYB3bHz2f0Aw9U","DgHPy2TUzxnZ","5A+85ywL5OIq5yQF77Yb","AgvPz2H0","CMvHy3qTzMXVD19Fy29UDhjVBhm","Dgv4Dc1SzYbMB250lxnLBwLIB2XKihrLEhqTz3jHEs04mda","CMHV","5lQl5lU25Rwb57Ur5A6A","Bw91C2veB3DU","BgLUzujVEa","CMvZAxPLrgLYzwn0Aw9U","6kEM5y+r5PA55BYp","ChGSia","Dgv4Dc14CYb0zxH0lwDYyxKTndaW","y2HLy2TwAxnPyMLSAxr5","Bwf0zxjPywWTChjLDMLLDYb3lteYigGTmtiGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Jzw50zxiGyMCTD2HPDguGCM91BMrLzcbIB3jKzxiGyM9YzgvYlwDYyxKTmJaW","57Ur5A6A5A2x5Q61","q29UzMLNrwrPDg9Y","qeb0B1bYAw1PDgL2zsbTDxn0ihjLDhvYBIbHihbYAw1PDgL2zsb2ywX1zs4","C3rYAw5N","CMvZB2X2zq","5A2x5Q616lEV5B6e77Yi54k55yE75O+s5ywL6kgO6l6+5BYp77Yj","yM9Sza","yxbWzw5Kq2HPBgq","zxjYB3iWmti","C3rHDhvZ","D2fYBG","y29UDhjVBhmUzML0vMLLDY5HCMLHtgfIzwW","AxnwAwv3","6iom5PMV6AkC6iMY","y3jLyxrL","CMvSzwfZzuXVy2S","6lw354k5ifG","CMvZDwX0","BwvYz2vezwzHDwX0uNvUDgLTzuHHBMrSzxjZ","Aw1Tzxi","C2vSzwn0zwq","Dgv4Dc14BcbMB250lwjVBgqGDgv4Dc1IBhvLltyWma","y3jLyxrLq29UDgv4Da","DgLTzxjjza","CMvHy3qTzMXVD19FzwrNzxvWzgf0zxi","y3vYC29Ylw1VDMu","i2zHywqXna","C3DPDgnOq2fUDMfZ","DhjHBNnSyxrLqNK","zxHLy3v0zvnPBMDSzuzSB3DoB2rL","zxHWyw5KugfYzw50","C3rHCNruCMfUC2L0Aw9U","x3bHCMvUDa","CM91BMq","C2vSzwn0q2HPBgq","lwzSB3DFx2HHBMrSzq","vxbSB2fK","mZC3mJmWnvvNAfjlDq","CMfUz2u","ugfYDgLHBa","zgf0yvrYyw5ZzMvY","y2HLy2TfCxvHBgL0Eq","Bwf0CML4vhjHBNnMB3jT","iZeZyZjJmG","zMLYC3q","BgfUzW","54Q25Ocb6kgO6l6+5BYp5OMN6kgm5AsX6lsLifS","zg9JDw1LBNq","B25oB2rLrg91yMXLq2XPy2S","55s75BId6ywn572U","D2fYBMLUzW","twvZC2fNzsdMJ5dNPlO","C3vIC2nYAwjL","5y+V6ycj5lIT","x3n1yNnJCMLIzq","y29UDhjVBhmUAw50zxjHy3rPDMuUyxjPyuXHyMvS","BwfYA2vYrw5K","Bg9N","zMLUza","Cc02","5Qgg6ycj5QIH5BYp","C3fYDa","Dgv4Da","y29UDhjVBa","x+wKJEwiTG","AgLKzuf0DhjPyNv0Aw9U","uMvHy3q","57Yw6l6roIa","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaWig1Iltm","y2HPBgrYzw4","zw5Kwq","zMXLEc0Xig1PBI13lta","6l+E57UT5A6E57Q/","C3rYB2TLv2LKDgG","BMv4DfnPyMXPBMC","CMDIysGWldaSmcWWkq","y29UDgvUDeLUzM8","cIaG","Dw5KzwzPBMvK","DgvZDa","qLvuve9o","sw1Hz2u","CMvHy3qTzMXVD19Fy29UDgfPBMvY","BwLUAw1HCc5HCMLHtgfIzwW","AxnAB29TAw5Nt3jqyw5UAw5N","y2XVBMvoB2rL","C2v0twf4wM9VBq","ufjpuevsvfLFq0HbtKDf","C2v0","BM9VCgvUzxiGBM9YzwzLCNjLCG","Bwv0yuTLEq","ANn4uNvUDgLTzq","zxHWCMvZC2LVBG","DxnLu3LUy0v4DgvYBMfSu3rVCMu","mxb4ihnVBgLKicnMmgyWzJa","Aw5WDxq","DgHLBG","57Ut5P2F5BM05lU9","z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW","y29UDhjVBeLUzM8","twLUAu1HCa","iIbKB2vZig5VDcbLEgLZDcWGAxqGBwf5igHHDMuGyMvLBIbYzw1VDMvKlIbuAgLZignHBIbOyxbWzw4GD2HLBIbHig5VzguGAxmGzgvSzxrLzcbIzwzVCMuGDgHLicjVBK5VzgvdBgLJAYiGAgfUzgXLCIbPCYbJywXSzwqU","Cc0ZigjVCMrLCI10igjVCMrLCI1NCMf5ltiWmcbIzY1NCMf5ltuW","y2vPBa","zMLSDgvY","x2fKzfbHCMvUDa","ywjZB2X1DguGlxrVCc02igXLzNqTmcbIzY1IBhvLltuWmcb0zxH0lxDOAxrLihrLEhqTEhmGChGTmIbWEs0WlJuGCM91BMrLzcb3AgL0zxnWywnLlw5VD3jHCa","C3jJ","zhjHzW","zgv0ywLS","C3bHy2uTEs0Z","r2vUzxjHDg9YigLZigfSCMvHzhKGzxHLy3v0Aw5NlG","CMvHy3qTzMXVD19FyMfJA2DYB3vUza","6ycj5OUPiePtt04G5PAh5lU25A+85ywL77YA","AxrLBq","BM9Kzs5Hmtf5rgvZy3jPChrPB24UA2v5yM9HCMreAxnHyMXLza","77Yi5y+V6ycj77Yj","5PwW5O2U5RgG77Yi6iQc54k554Q25Ocb55sO77Yj","B25oB2rLtw91C2vfBNrLCG","BgfIzwXdB2XVCG","ue9tsvrjvKvFsu5gsu5jvfK","CgfYzw50swq","zw5K","C2nHBgu","57Ue5Ocb57Yw6l6r5zMO","CMvZAxPL","ywjZB2X1DguGDg9WltaGBgvMDc0W","zgLYzwn0Aw9U","Dg91y2GTywn0Aw9U","r3jVDxbpDxrSAw5Lza","5y2v5y+c5PwWigrHDghVViJLR7NOSAhVViNVVjRNLlhMLBdMJA7MSAaGC2fTCgXL77Yi6iUL5BEY57Ur5A6A77Yj5lIo55s75BId6l+q6kgm5PE25PwW5O2U5zci5BM277YB5Rwl54k55PwW57Ue5lYA5OYjihbHCMfTC0nVzguG5yAz5ywLigrHDghJGilPOBSGCMv0DxjUihrYDwuVzMfSC2xJGii","zw1PDev4DgvYBMfS","5OMN6kgm6kgO6l6+5BYp","z3jPza","B25fCNjVCG","w3jVBgu9iMnVBwjVyM94iL0","t3b0Aw9U","6ycj5OUP5PwW5O2U5RgG5lIT55Qe5PwW5O2U6zUg","6BYG5Qch6l+B5ywL","6k+36ycj5OUP5lIa5lIQ6iQc54k5","zgLZCg9Zzuv2zw50uM9VDfbPCgvSAw5L","DhLWzq","uhjVCgvYDhLqyw5LBa","55s75BIdide","5PYa5AsAjhTTyxH95lIQjhTSywjLBh0","B25oB2rLtw91C2vmzwf2zq","mde1","x25LEhq","Aw5SAw5LlwjSB2nR","Aw52zxj0","y2XHC3m","A2v5CW","rwrNzsb0ExbLici","B2zMC2v0sgvPz2H0","ChjLDMLVDxntAwjSAw5N","x2zPBMfSAxPLCNm","yxbWzw5K","AxndBgLJA2fIBgu","qebPDgvYyxrVCG","6ycj5OUP54MP5PAz","mcaYChGGohb4ihjNyMeOmcWWldaSmc4XnsK","5zcr5yMnidmG6Ag1","y2HLy2TIB3G","DhjHBNnSyxrLwa","ios4QUIkGUEcUq","qNv0Dg9U","vevyvefsrue","iIbYEd0InciVpJWVC3zNpG","yMLUze5VzgvfDMvUDa","x25HBwvZ","5y+V54k55yE7","zM9JDxm","zML0vMLLD09WDgLVBNm","mcaWidmYidmW","tgf5B3v0","zgvMyxvSDfzPzxC","CMvHy3qTzMXVD19FDMLLD3bVCNqTCg9YDgfS","rNjHz21LBNq","CMvZzxrtzwXLy3rLzevSzw1LBNrZ","CMvHy3qTzMXVD19Fy29UBMvJDgLVBMXPBMuGCMvHy3qTzMXVD19Fy29UDgfPBMvY","wM9VBu91De91DgXPBMvK","DhjHBNnWyxjLBNq","tg9VC2u","Aw50zxjUywW","BgfIzwXtDhLSzq","yMLUza","vw5NCM91Ce91DgXPBMvK","zMLUzeLUzgv4","BgfIzwXcz0jVCMrLCLjHzgL1CW","57Ut5P2F5A2J5BQM","iZaWmtKZqW","ru1qvfK","x2nOzwnRrMLUywXPEMvKu3rHDhvZzxm","DxnLq29UDgv4Da","y29UBMvJDgfIBgu","x3bHCMvUDgfNzq","C2v0qxr0CMLIDxrLtLm","BMv3wq","CMvHy3qTzMXVD19FyMfJA2DYB3vUzc1Wyxr0zxjU","ttmUnJKYidqUnJnJmc0UntmUnc0Uotm4lJKZos0Uotm4AduUmJe1vJbinc43mdHdmI4XmYaWidaGmI4WntqGmca0lJyZDJuUmJe2AdmUnJKYvJqUnJmXEK0YnY4ZntqGmgGTns4YDJmUnJKYAduUmtDJlJuZidaGlJK4nc40lJK4nc45mZL2ns4YmtvimZjwnc42mZfbnc42mJqGnc42mJqGmcaWmdi3lJm1ncaWEM0Uotu0idi0lJGZyZaGlJuZmI0Unc45nc0Uotm5lJK0Ac01lJiXnxyZlJC2ogG1lJiXnwmYlJu3nYaWidqUnJmXltiUmtmGnc42mZeTnc43mdD2ltuUmtm5Ac0ZlJy5mNy1lJeZoxPTltiZlJy3nY45ngmTlJuZmsaWls45mZKTlJqTlJKZos0Uotr2ltuUmtm4sdb2ns4XmZLJmcaYlJu3nYaYlJeZidqUnZa3idqUnZa4idqUnZa3AduUmtm4vJi1lJC3sdqUnJmXEG","Cg9PBNrLCI1LDMvUDhmTyxv0BW","zwXLDMf0zuvKz2vZt25tzwXLy3q","CMvZzxq","DMfSDwvgB250u2L6zq","5AgR5ywf6AkC6iMY77Yi5z+65PYS5B2I54Q277Yj","zhjHz2DPBMC","EKLUzgv4","x3rYEvn1yNnJCMLIzq","zxH0zxjUywXiyw5KBgvYq2f0ywXVzW","zgvZy3jPChrPB24","B25dBgLJA0nVBM5Ly3rfBMq","BM9qyw5dBgfZC05HBwu","y29UzMLNrwrPDg9Y","DgfYz2v0sgfUzgXL","Aw5PDev2zw50","5OUw5OU96lcd5Pw057Ui54k5","DMfSAwrHDgvgAwvSzhm","6ycj5OUP5BEY5RoO5yAm55Qe5Asw6yoO5PA55Rov","zgv2zwXVCg1LBNq","B25oB2rLC0nOyw5Nzq","y29UBMvJDgLVBLjHzgL1CW","5RIq5y+y6iMY","Cg9ZAxrPB25byNnVBhv0zq","6ycj5OUP5BM05lUJ","zM9UDfnPEMu","zxjYB3jZ","zwrNzs5Hmtf5rgvZy3jPChrPB24UzgvMyxvSDa","CMvJEwnSzufZEw5Jswq","zgvMyxvSDhm","CM90yxrLka","y29WEq","6lEZ6l2S55s75BId","Cg9ZAxrPB25y","yxjYB3DJBg9Zzwq","y2XPy2TeAxn0yw5Jzq","u21VB3rOu3rLCa","lM1HDgvYAwfSlxbYzxzPzxC","mtbQzKDbsw4","ttiXlJmZmYaXmc42nJDimtKUodfwnY42mtLdmtKUodeGmY40mJKGmtyUmZGGmcaXmI4XosaWyY00lJeXncaXlJGYoc0XlJm3idiUmtmZlJmWnsaYlJqZocaXlJy3nI4ZmduGnc40mIaYlJu5idqUndiGns4Xodf2mY4WndHimY4WndDbmY4WntyGmY4WntyGmcaWmdaGmtmUnZe0DJe1lJiZoeeZlJa1nIaZlJa1nIaWidaWmY4WndGGmZjOmtGUmJG1ytmUmdu2idmUmdu2idaGmdaZlJa0oc0ZlJa0ofyXmY43mtrHmY4WntyGmY4WntyGmcaWmc0ZlJa0oc0ZlJa0n3PnmtiUmtKGmJqUntmZytmUmdu2idmUmdu2idaGmdeTmY4WndCTmY4WndCGmY4WntyGmY4WntyGmcaWmtmUmdq3ltmUmdq4idmUmdu2idmUmdu2idaGmdeZlJa0ocaZlJa0ocaZlJa1nIaZlJa1nIaWidaXltmUmdq4idmUmdq3EG","mca0ChG","Bw91C2vy","yM9YzgvYlwjVEa","Dgv4Dc14CYb0zxH0lwDYzwvUltyWma","DMvYDgLJywW","B2jQzwn0","A2v5Dxa","u3rLCa","55s75BId5A+85yE65AsX6lsL","AgLKzgvU","vgLTzw91DevYCM9Y","Dg91y2HTB3zLlMrYywC","CMvHy3qTzg9T","AwXSzwDHBcb0ExbLoIa","DxjSkcCJ","54Q25Ocb5PwWoIa","5y+V6lcd5Pw05AsN5Bcp","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsiXmdaIigHLAwDODd0InJaIpJXYzwn0ihDPzhrOpsiXmdaIigHLAwDODd0InJaIigzPBgW9iG","5A2q6iQc54k5ia","yNvPBgrnzxjNzwreyxrHuMvJB3jK","Bw91C2vmzwf2zq","zMXVD0rHDge","6iQc54k5ieLeoIa","lNjLywn0lwzSB3DFx3bHBMu","su1br0u","y29UDgvUDa","sw5WDxroDw1Izxi","BwLUwM9VBq","ihDOzxjLigeGC3rYzwfTihDHCYbLEhbLy3rLzc4Gww91ignHBIbWCM92AwrLigfUie9IC2vYDMfIBguSifbYB21PC2uSifjLywrHyMXLu3rYzwfTlcbbCNjHEsWGqxn5BMnjDgvYywjSzsWGB3iGsxrLCMfIBguU","5y+Z5A+56B2q","rwrNzvrLEhq","AgfUzgXLrg9TtM9Kzq","CMvWBgfJzq","CMzFx2vKz2uT","zg93BMXVywq","ugX1C091DgXPBMvK","C3bHy2u","x2nVBxbSzxrL","tM8GC3rHCNqGBM9KzsbMB3vUzcbPBIbLDMvUDcbMBg93","zgvSDgfnB2rL","ChvYCgXL","C3bHy2uTEs00","zgjSy2XPy2SUEM9VBq","BM9KzxntzwXLy3rPB25by3rPDMu","ywjZB2X1DguGyM90Dg9TltqGCMLNAhqTncb6lteWigjNlxDOAxrLihjVDw5KzwqTBgCGC2HHzg93lwXNihaTmG","y2fSBgjHy2SGAxmGBM90igeGzNvUy3rPB24","CMvXDwvZDefZEw5Jswq","77Ym6Ake6kEi5PE25lUL5QIH5P2/5lI65BQv5zci5BM255s75BId44cm5QIH5OUF5PwW5O2U44cn44cc5PwW57Ue5Qc85BYp6zYa5yYf5zcRig5HBwuG5A2x5Q6155sO5lQo6ycj5OUP44cc","5BYa5AEl5PYi5lU9","CMvHy3qVANn4lxj1BNrPBwu","x2jSyw5R","5Asw6yoO5lQl5lU25Qch6k+g","r3jHCgHwAwv3","5PAh5lU25lIk5lYG5lIT","zxjYB3iWmdu","C3rHCNry","y2XHC3nmAxn0","DY1MDwXSigGTndGGCc0ZigjVCMrLCIbIB3jKzxiTz3jHEs0ZmdaGCM91BMrLzc1SzYbMB250lw1VBM8GDgv4Dc1ZBsbYzxnPEMuTBM9UzsbMB2n1CZPVDxrSAw5Llw5VBMuGzM9JDxm6CMLUzY0YigzVy3vZoNjPBMCTyMX1zs01mda","q2fUDMfZ","CMvNAxn0zxjfDMvUDejSB2nR","5OUw5OU96lcd5Pw06lw354k5","qM90Dg9T","ywn0sw5ZAwrLsw5WDxrxAxrOtw9KAwzPzxi","Dgv4Dc1SzYbMB250lw1LzgL1Bq","Dg91y2G","D2L0Aa","y29UBMvJDgLVBKXVB2T1Ca","zw5KlNjLBw92zq","5zYO5lIl5PA556YSia","CMv0DxjUigzHBhnLoW","Bwf4","BwiTncbWltmGyMCTyMX1zs01mcbIB3jKzxiGyM9YzgvYlwjSDwuTmJaWihjVDw5KzwqTBgC","B25qB2LUDgvYrg93BG","Dw5ZDwjZy3jPyMu","yxjNCY5WCMv2mq","ios4QUEkTUAaGq","C2HVD0DYAwq","C2fTCgXL","y29Kzq","B3jPzw50","CMvHy3qTzMXVD19FzwrNzs10zxH0yMC","C2v0uhjVCgvYDhK","6l6t5ywL5yc85PAh5PYS","zgf0ys1UB2rLAwq","B2jZzxj2zxjZ","y3rYBeTLEq","yMCTD2HPDgu","zw5HyMXL","B3jKzxi","zxHW","ltiWChG","CMvHy3qTzMXVD19FCgfUzq","ioMHUEw/HEMHU+AyR+wVUEIXOq","ioADOEwfPEI+UsdIHPdJGiW","B25fzgL0","zg93BG","zMXLEc0Xig92zxjMBg93lxKTyxv0BYbWlti","6k+36ycj5OUP5PEL5PYF","zMX1C2G","zNvUy3rPB24","y2HHBMDL","jsWG","Dgv4Dc1NCMf5ltqWmcb0zxH0lxHZ","q29SDw1Uv2LKDgHpDxrSAw5Lza","x2fJDgL2zq","DxnLCLnLBgvJDgLVBLjLy3q","54Q25Ocb5yIx6kgO","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi2mciGAgvPz2H0psi2mci+pgnPCMnSzsbJEd0ImZaIign5psiZnsiGCJ0ImJaIigzPBgW9iInIzMjMyMyIihn0CM9Rzt0IiZu5ntK1osiGC3rYB2TLlxDPzhrOpsiYiI8+phjLy3qGEd0ImJuIihK9iJuIihDPzhrOpsiXmciGAgvPz2H0psiXnsiGzMLSBd0IiZu5ntK1osiVpJXWyxrOigq9iK0ZmcaYmcbmmZaGmZuGttiWidmWifeZmca0nsa0mcaZmciGC3rYB2TLpsiJntK1otu5iIbZDhjVA2uTD2LKDgG9iJiIigzPBgW9iM5VBMuIlZ48l3n2zZ4","yxjNCW","DMfSDwu","rg93BLnXDwfYzu91DgXPBMvK","ChGPihnJywXLka","AxndB250zw50rwrPDgfIBgu","DgHYB3C","iZCYmMvKmq","teLorq","C291CMnLrxzLBNq","zgLZCgXHEu5HBwu","B25dB25Uzwn0u3rHCNq","C291CMnLtgfIzwW","tufurvjjquXFu1rbvfvtx0niqu5hrq","qMfJA3nWywnL","y2f0y2G","y2XVC2vK","Cg9PBNrLCLK","5PwW5O2U5QIH5OUF","5z+656ga5B2I54Q2","Aw50zxjWB2XHDgvcDwLSDgLUu3rYAw5N","yxn5BMnjDgvYyxrVCG","y2XPzw50v2LKDgG","6BYG5Qch56E75ywL","zgf0yvbVB2W","CMvHy3qTzMXVD19FBwLUAw1HCc1KzxnJ","DxnLrwrPDg9Yu3rVCMu","C2v0vMLLD3bVCNq","6lw35Q2I5l2n572U77Yi55U45A+56iQc54k577Yj","EfnUyxbWzwq","Cg9SEwXPBMu","yxjNCY5WCMv2","zMLSzq","BgfIzwXgB250v2vPz2H0","CMvHy3qTzMXVD19FCMvUzgvYzxi","vxbSB2fKignHBMnLBgXLzcbVCIbMywLSzwq6","CM90yxrL","z2v0uhjVCgvYDhLwywX1zq","A2v5zg93BG","Bw92zwq","C291CMnLsgfUzgXL","ANn4CW","zxzLBNq","CMvHy3qTzMXVD19FzwrNzq","DxnLqMf0y2HdB250zxH0ig11C3qGyMuGDxnLzcb3AxrOAw4GysbcyxrJAfbYB3zPzgvY","55s75BIdia","BgLUzxm","6BYG5Qch5OYj5lIl","6ycj5OUP5OIw5yIB5BU65lQl5lU25Rwb","CMLNAhq","rwrNzvjLBMrLCMvY","zgvSDgfz","5y+V5OUw5OU9","zxH0zxjUywXfDMvUDeTLEq","CMvHy3qTzMXVD19Fy29UDhjVBhmTzML0DMLLDW","Dgv4Dc1ZBq","C2v0u3rHDgu","iIWGzwrNzsbPzdOG","Aw50zxjYDxb0","q291BgrUj3qGy3jLyxrLigvKz2uGzM9Yia","5lQl5lU25z2x5PYQ6ywn572Uigv4DgvYBMfSsgfUzgXLCKTLEq","u3bHy2u","CMzFx3DYyxbWzxi","y3vYCMvUDfrHCMDLDa","5yIG6zMK5B2t6Ag1","Dg91y2HHyMXL","DgLTzq","rgvSzxrL","mc4Y","iZi2mJyYnG","ufjfu0vovevex0LnquDfx1njtvbmrq","Aw50zxjYDxb0lNPVB20Gzw5KlNPVB20","5yIG6zMK6ycj5lITicHezwXLDguP","57Yw6l6r5lQl5lU25z2x","yM9YzgvYuMfKAxvZ","DxnLq2fSBgjHy2S","5lIk5A+56B2q","lY8G5PsV5OYb5A+56lgH5OIw5PwW57Ue5Qc85BYpcI8ViowVUEIXOEAGVow8J++8MGP7cIaGiNnWzwvKiJOGmcWkicaIDgvTCci6idi1laOGicjUzxn0zwqIoIb7icj4iJOGmsb9cN0kcI8VioAvSoE7HoAGVow8J++8IoAVJ+MHUEMCGowmHEwqQYbUyw1LiowTL+AUTEEuQos6JUMaIEAlQE+8IE+8MGPBcIaGEYaIBMfTzsi6iclMTyVNGRKXiIWGiNzHBhvLiJOGmtaWlcaIDw5PDci6icjTBsiGFsWkicb7icjUyw1LiJOGiUA1I+EcUtiIlcaIDMfSDwuIoIaYmdaSicj1BML0iJOGiM1TiIb9cL0","x+EkTUAaGq","DgfYz2v0q2fUDMfZswq","BMfUB2LK","CMvTB3zLrxzLBNrmAxn0zw5LCG","ywzMzwn0C1G","t2jQzwn0igLZig5VDcbPDgvYywjSzs4","zxjYB3i","qMv6AwvY","DxbKyxrLtM9KzuLUDgvYBMfSCW","C3rYB25N","y3jVC3m","zMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvU","z2v0t3DUuhjVCgvYDhLtEw1IB2XZ","zwXLBwvUDhntzwXLy3rHyMXL","DY04igGTmc41igjNlwDYyxKTndaW","CgfKzgLUzW","Bw91C2u","ywjZB2X1Dgu","y29UzMLN","zNjVBq","yxr0CI4","Bs9ZWRi","z3jPzcbNCMLKlwnVBhmTmIbNyxaTmG","z2v0u2vYDMvYu3rHDgu","twvZC2fNzsdLHAJLSydMJ5dNPlOGkgfUDgqP","yMX1zq","y29UC3rYDwn0B3i","tK9erv9eruXfveu","B3jPz2LU","CxvLCNLtzwXLy3rVCKfSBa","B3zLCMzSB3CTAgLKzgvU","AgfZrxjYB3i","Dgv4Dc1ZBsb0zxH0lwDYyxKTntaW","5O+q56s65yAf5A65","y3jLyxrLrxzLBNq","BxqTmIbWltiGyMCTyMX1zs01mcbYB3vUzgvKihrLEhqTEhmGDgv4Dc1IBhvLltyWma","Eg1SBNm","mdeX","57Q/5P2H57Uy5yI2","CgfYyw1Zq29Kzq","zxHLy3v0B3juExbL","5Rc05BMZ5yIg5BId","C2nHBgvy","6yEn572U6kEg5zU+","6k+36ycj5OUP5zgO","6k6+5Ash5zU+5Qch","44cn77Yi5Pw05z2x6l+u5zUE5yc877Yj","yNvPBhrPBKLK","6k+36ycj5OUP5PE26zE0","y29UDhjVBerPCMvJDgLVBG","CMzFx2nVBNrYB2XZ","ChjLDLzPzxDWB3j0","6ycj5OUP57Ur5A6A5A2x5Q61","C29SAwq","BwLU","y3vYCMvUDa","x19WCM90B19F","yxv0B1bHBK9Uq29UBMvJDa","5RE75yQG5lQl5lU25Rwb","rhjHz091DgXPBMvK","zNjVBu5Vzgu","yM9VBgvHBG","Dgv4Dc1Jzw50zxiGDgv4Dc1NCMf5ltqWmcbWEs00igjNlwDYyxKTntaGCM91BMrLzc1SzW","qxjYB3DsAwDODa","zxHLy3v0zuj1AwX0Aw4","6l+u5zUE5yIx6kgO","lI4U","y29UC3rYywLU","y3vYC29YlwDYywi","z2v0uMvHzgvY","DgfYz2v0ug9ZAxrPB24","sgfUzgXLoIboBYbUB2rLigLKigzVDw5KlIbnywTLihn1CMuGDg8GB25SEsb1C2uGysbiyw5KBguGAw5ZAwrLigeGy3vZDg9Tie5VzguU","xcKK","CMzjza","rwrPDe91DgXPBMvK","Aw52ywXPzcbJywXSyMfJAZOG","5PAW5BU65PwW5O2U6zUg","vhjHBNnMB3jTq29TCg9Uzw50","C2TLD1GO","zgf0ytPPBwfNzs9ZDMCREg1Sla","5A+85ywL55s75BId","zgv2AwnL","y29TCgfYzurVy3vTzw50ug9ZAxrPB24","q29UDhjVBcbqyw5LBa","C3CTCMvZAxPL","5AAc77YA55s15PY65Rwl54k56zUg","Ac1MDwXSigzSzxGGzMXLEc1JB2W","y29TBw9Utg9JywXL","BM9Kzvr5CgvZ","sgfUzgXL","5BEY57Ur5A6A5PwW5O2U5RQq77Ym5A6E6zMf5yc85Bcg5P2L6iEQ5PwW5O2U5A2x5Q61","5OUw5OU96lcd5Pw05AsN5Bcp","zxjYB3iWmta","C3rHCNrz","y292zxi","C3vJy2vZCW","Aw1N","BgLUzvDLAwDODa","z2v0qxr0CMLIDxrLtLm","rNvSBa","5y+n6ycj5B2t6Ag1","lwzSB3DFx2HHBMrSzvTKyxrHlwLKpsi","DMfSDwvpzG","igLZig5VDcbHignVBNn0CNvJDg9Yig9Yig51BgW","zgvZDhjVEq","BxqTncbMBgv4igP1C3rPzNKTzw5K","Ahr0CdOVl3D3DY53mY5VCMCVmtK5os94BgLUAW","CMDIysG","C2nOzwr1BgvYqwn0Aw9Uq3rVCG","oJPLEhq6oG","C3rHCNrizwLNAhq","BwWTmG","5RE75yQG5lQl5lU25z2x","5OUw5OU95QIH5BYp","q29SBgfWC2u","yxv0B1bHBLnWzwvK","DxnLtgf5B3v0rwzMzwn0","B25oB2rLq29UDgv4De1LBNu","57Ur5A6A54MP5PAz","5BEY5OMR5O+p","z2v0u3rHDgu","DxnLCKfNzw50","u2vSzwn0","EM9VBq","6k+35AgR5yAz5zcn56EW","AgvHza","DMLLD3bVCNq","y2XLyxi","yM91BMreyxrHC2v0qMLUzfzHBhvL","x+wjR+ACRa","DY1MDwXSigGTzNvSBcbMBgv4igL0zw1ZlwnLBNrLCIbQDxn0Awz5lwnLBNrLCIbVDMvYzMXVDY1OAwrKzw4","5BYa5AEl5BM05lU9","56gU6k6K5yIG6zMK","jhTSywjLBh3LV4xPOBVMMk/LHBBKUk3KUidKUkPBjhTLBNvTFv0","DxjSkcm","BM9Kzu9YAwDPBG","ywjZB2X1DguGAw5ZzxqTmcbWB2LUDgvYlwv2zw50CY1UB25L","mI4WlJa","C3rHDgu","Cg9PBNrLCLG","Aw1Hz2uV","C3rHDhvZtgLZDa","mdeW","C2vSzwn0","6iom5PMV5zU+54Mh","CMvHzefZvgv4Da","lcb5oIa","5PAh5lU25Qc85BYp6zsz6k+V","C29Tzq","x25Vzgu","zMXLEc1ZDgfYDa","BMfTzq","C2nOzwr1BgvY","ChjLDMvUDerLzMf1Bhq","imk3ia","zgLZCgXHEwfIBgu","5PQc5PEG54Q25Ocb77Ym54k55yE75lIk5PA55OYj6zkU5RE75yQG","iZHJogm4yW","y29UC29SAwrHDgu","z2v0qxr0CMLIDxrL","5yAf6igu6isA5PYS","AwnVBG","BM9Kzvf1zxvL","6iQc54k55zcn56EW","w2rHDgeTAgfUzgXLpsjZDgfYDcjD","C2v0vMLLD3bVCNrdB25ZDhjHAw5Lza","5lIn5zcm5PA55BYp5A+55BQu5lIl5PA55lIn5zcm6ywn572U6Ag5","6k+36ycj5OUP5A2J5BQM","Ac1MDwXSigzSzxGGAxrLBxmTy2vUDgvYigP1C3rPzNKTy2vUDgvYigjNlxDOAxrLigjVCMrLCI1SigjVCMrLCI1NCMf5ltiWma","zw5HyMXLza","qxjYB3DeB3DUt3v0BgLUzwq","ChGG","jhTSywjLBh3ML6xMNj/MOlZLVi/ML6dMLyG","x19LC01VzhvSzq","twLUAsbnyxa","Ac1MDwXSihCTzNvSBca","y2fUDMfZq29UzMLN","5lIl5lIa6Ag1","Bg9VC2u","z3jHyG","sxrLBq","zg9Uzq","y29UDgv4De1LBNu","Bwf0CML4","ksb0CMfUC2XHDguO","lNH5zMXVD19FDMLLD3bVCNq","5ywL5y+c5zcn56EW77Yi5OYj6l+E57Q/6Ag65BQp77Yj","EvnUyxbWzwq","ChjVzhvJDgLVBG","zgf0yvjLCxvLC3q","vw5HyMXLihrVigXPzNqGDw5RBM93BIbpyNnLCNzHyMXLihr5Cgu","Dg9tDhjPBMC","5y+Q6io95lIk5lYG5zU+54Mh5PAh5lU2iq","C2v0rwrNzxm","B3bLCMf0B3i","zwrNzuXVB2T1Ca","CMv0DxjUihrYDwu7","DxjSka","ioMHUsK","5PwW57Ue56YSia","BwvYz2vsDw50Aw1LsgfUzgXLCNm","zxH0zxjUywXiyw5KBgvYs2v5","Dg9qCM9TAxnL","C3rVCfbYB3bHz2f0Aw9U","BgLMDa","zwfJAa","5yIG6zMK5ywO6yoO","yxjPyuXHyMvS","C25HCfrVr3jPza","vgHLifjLywn0iezSB3CGCgfYzw50ignVBNrHAw5LCIbUzwvKCYbHihDPzhrOigfUzcbHigHLAwDODcb0BYbYzw5KzxiGDgHLigDYyxbOlG","mda4","mda2","5z6c55U05yIg5BId","z2v0","yxjNCY5WCMv2ma","y2XPzw50sgvPz2H0","5PAW5BU655s75BId","Ac0XmIbIzY13AgL0zsbIB3jKzxiTyIbIB3jKzxiTz3jHEs0YmdaGzMXLEcbPDgvTCY1Jzw50zxiGANvZDgLMEs1Izxr3zwvUihb4ltq","Cg9W","ywjZB2X1DguGDg9WltaGBgvMDc0XlZiGDY00igGTncbIzY1NCMvLBI01mdaGyM9YzgvYltiGyM9YzgvYlxDOAxrLihjVDw5KzwqTzNvSBa","C291CMnLug9ZAxrPB24","yM94lxnLBgvJDa","wM9VBsbjBG","BgvMDa","BM9KzxndB25Uzwn0ywjSzq","CgfNzvK","6ycj5OUP6kAb57Ur5A6A55Qe6iQc54k5","CMvHy3qTzMXVD19FyxjYB3DOzwfK","CgfYDgLHBe9IC2vYDMvY","zMXLEcbPDgvTCY1Jzw50zxiGz2fWlti","i2y1mJiYza","CMvKDwnL","y3vYCMvUDe9IC2vYDMvYCW","q2fUj3qGy3jLyxrLigvKz2uUiefUigvKz2uGBMvLzhmGysbZB3vYy2uGyw5KigeGDgfYz2v0lG","ttmYide4lJeZm0GXoc4XmZnwmZjOltqUmJy2vJe4lJeZm0GWDI00lJi2nMGXmY44nJDwmgG0lJi2nNyXmY44nJDimZj6","BM9Kzu5HBwu","y3vYC29YlwnYB3nZAgfPCG","CMvZB2X2zuzSB3DfDMvUDejSB2nR","AxnjzgvUDgL0Eq","5Qch562+5PAh5PYSicHSywjLBcK","x190CMfUC2L0Aw9U","vhjHBNnMB3jTv3jHChbLCG","Cg93","6k+35Rgc5Qch6k+g","Ac1MDwXSigzSzxGGzMXLEc1JB2WGyMCTD2HPDguGyM9YzgvYlwWGyM9YzgvYlwDYyxKTmJaW","5lIk5lYGifnwrW","C2fTCgXLsNnVBG","x3rPBwu","rxzLBNqGzMXVDYbLEgvJDxrPB24GzxjYB3i6","Bw91C2v1Ca","5PQc5lIn5PsV5OYb57Yw6l6r5Q2K57g75z6l55Qe54MP5PAz","y3vYC29YlxbVAw50zxiGBwiTma","5OMN6kgm5lUJ56cb","zgvNkq","u2LTCgXLqMv6AwvYrwrNzq","lMPZB24","CMvHy3qTzMXVD19Fyxr0CMLIDxrPB24","zMLYC3rfBgvTzw50q2HPBgq","6ycA6Akr6ycF5BQM5PYj5Pwi5yc8","6l6t5ywL54Q25Ocb5zcn56EW","5B2t5yMn546V5Akd5lIn5PsV5OYb55s75BId5yIh5O2I","C2v0q2vUDgvY","C2v0vgLTzq","DgHYB3DUrxjYB3i","B250B3vJAhn0yxj0","DgfWCW","z2v0q29TChv0zwrtDhLSzq","5PAW5lQl5lU25z2x","CMvHy3qTzMXVD19FzwrNzs1WyxrO","ENvZDgfUza","BwWTmIb0zxH0lxnTigzVBNqTBwvKAxvTihrLEhqTyMX1zs02mda","B2zMC2v0v2LKDgG","zgvSzxrHyMXL","6ycj5OUP5zgO","Aw5KzxG","6zw/5yIs6zE06zQu","BM9KzxneCMfNz2fIBgu","zxjYB3iWmtu","mcaWidi1idmY","u0vmrunu","Dg9qCMLTAxrPDMu","mcaWidmYidu","yxnZzxj0AxzL","yMfJA2DYB3vUzeLTywDL","C3rVCa","u3rYywLNAhrfzgDL","54k55yE76zMn5BQp","CMvSyxrPDMu","zhjHz3n0yxj0lMrYywC","57Uy5yI25lIT","DxnLCK5Vzgu","5PYQ55+L55s75BId","5lIl5lIa5Q2L","zM9YD2fYzfjLzG","5lIk5lYG6zsz6k+V","Dw5RBM93BIb0ExbLoIa","C3zN","ywjZ","5l6l5AAc77YA5l+D5A2y5OIq5yQFioAiLIdNU5pMNPZVVjP7E3bYzxz9Fq","54MP5PAz5BgE5OcN","Bw91C2vz","iZuYyZqXyq","q3jVC3m","C29YDa","tgLZDa","mta5mJG3oxvTvfPctW","yM91BMreyxrHC2v0qMLUzenVzgu","x2vUDgvY","xhmQkfSRlv0/xgqRkvXZkG","C3LTyM9S","rxzLBNqGzMXVDYbLCNjVCJO","5l+D55wz5Bcp5PwW5l2n","Aw5ZDgfUy2u","i2zHogmXnG","C3bSAxq","5yAf572U5yQO5l2C","C3vIC2nYAxb0Aw9UCW","DxbKyxrL","y2fUDMfZzxm","tM8GDgLTzw91DcbWCM92AwrLzc4","rw1WDhK","5OYb57UT5PE26zE077Yi56Es77Yj","yw1K","y29TCg9ZzwrqyxrO","cIaGicaGicaGicbYB3vUzgvKlwXNihrYyw5ZAxrPB24TywXSigr1CMf0Aw9UltiWmcbZzwXLy3qTBM9UzqOGicaGicaGicaG","C2XPy2u","5lIk5lIa5lIw57QQ","y3jLyxrLrwXLBwvUDa","qxjYB3C","zxHPDa","mxb4igrHC2HLzcb0CMfUC3bHCMvUDa","phn2zYb4BwXUCZ0IAhr0CdOVl3D3DY53mY5VCMCVmJaWmc9ZDMCIihDPzhrOpsi4mciGAgvPz2H0psi4mci+pgnPCMnSzsbJEd0IndaIign5psi0mciGCJ0ImZGIigzPBgW9iIm1mMm0mweIlZ48l3n2zZ4","zw5KlNn0EwXLlG","Dgv4Dc1ZBsb0zxH0lwDYyxKTnJaW","yxjPyvjVBgu","BwfYz2LU","CgvUzgLUzW","zgL2","BwvHC3vYzwq","6kEJ6zMK57Ue5zci","zw5HyMXLrxzLBNrgBg93","BM9YBwfSu3r5Bgu","EKLUzgv4tw9Kzq","cIaGicaGicaG","5PYa5BcrjhTTAw595lIQjhTSywjLBh0","C2v0uhjVDg90ExbLt2y","5Bcg57Q/5P2H5y+y5lI65z6c55U057Q/77Ym5l+D5OYb6zw/5BQM"];return _0x2db7=function(){return ze},_0x2db7()}
|
|
9
|
+
+`)[s(1246)](`
|
|
10
|
+
`)),g=f[s(770)]((b,v)=>b[s(623)](...v),[]);return[f,g]}return[[],[]]},[n]);return N[t(1849)](()=>{const s=t,d=e?.[s(1470)]??Na,f=e?.actInsideInputWithModifier??!0;if(n!==null){const g=h=>{const p=s;if(o[p(2089)]=h[p(1877)]||h[p(1195)]||h[p(562)]||h.altKey,(!o[p(2089)]||o[p(2089)]&&!f)&&Ei(h))return!1;const m=ka(h[p(553)],u);if(i[p(2089)][p(690)](h[m]),Sa(a,i[p(2089)],!1)){const w=h[p(1466)]?.()?.[0]||h[p(1470)],y=w?.[p(1322)]==="BUTTON"||w?.[p(1322)]==="A";e[p(1502)]!==!1&&(o.current||!y)&&h.preventDefault(),r(!0)}},b=h=>{const p=s,M=ka(h[p(553)],u);Sa(a,i[p(2089)],!0)?(r(!1),i.current[p(733)]()):i[p(2089)][p(1060)](h[M]),h[p(1098)]===p(714)&&i[p(2089)][p(733)](),o[p(2089)]=!1},v=()=>{const h=s;i[h(2089)][h(733)](),r(!1)};return d?.[s(1254)](s(1001),g),d?.addEventListener("keyup",b),window[s(1254)](s(1706),v),window[s(1254)](s(1242),v),()=>{const h=s;d?.[h(963)](h(1001),g),d?.[h(963)](h(2171),b),window[h(963)](h(1706),v),window[h(963)](h(1242),v)}}},[n,r]),x}function Sa(n,e,t){const x=c;return n.filter(r=>t||r[x(707)]===e[x(1634)])[x(1423)](r=>r.every(o=>e[x(1411)](o)))}function ka(n,e){const t=c;return e[t(1405)](n)?t(553):t(1098)}const b2=()=>{const n=c,e=ke();return N[n(677)](()=>{const t=n;return{zoomIn:x=>{const r=_0x5299,{panZoom:o}=e[r(975)]();return o?o[r(1184)](1.2,x):Promise[r(732)](!1)},zoomOut:x=>{const r=_0x5299,{panZoom:o}=e[r(975)]();return o?o.scaleBy(1/1.2,x):Promise[r(732)](!1)},zoomTo:(x,r)=>{const o=_0x5299,{panZoom:i}=e.getState();return i?i[o(1096)](x,r):Promise[o(732)](!1)},getZoom:()=>e[t(975)]()[t(2213)][2],setViewport:async(x,r)=>{const o=t,{transform:[i,a,u],panZoom:s}=e[o(975)]();return s?(await s[o(2e3)]({x:x.x??i,y:x.y??a,zoom:x[o(669)]??u},r),Promise.resolve(!0)):Promise[o(732)](!1)},getViewport:()=>{const x=t,[r,o,i]=e[x(975)]()[x(2213)];return{x:r,y:o,zoom:i}},setCenter:async(x,r,o)=>{const i=t;return e[i(975)]()[i(1317)](x,r,o)},fitBounds:async(x,r)=>{const o=t,{width:i,height:a,minZoom:u,maxZoom:s,panZoom:d}=e[o(975)](),f=Kx(x,i,a,u,s,r?.[o(2090)]??.1);return d?(await d[o(2e3)](f,{duration:r?.[o(840)],ease:r?.[o(768)],interpolate:r?.interpolate}),Promise[o(732)](!0)):Promise[o(732)](!1)},screenToFlowPosition:(x,r={})=>{const o=t,{transform:i,snapGrid:a,snapToGrid:u,domNode:s}=e[o(975)]();if(!s)return x;const{x:d,y:f}=s[o(898)](),g={x:x.x-d,y:x.y-f},b=r[o(837)]??a,v=r[o(1852)]??u;return Kn(g,i,v,b)},flowToScreenPosition:x=>{const r=t,{transform:o,domNode:i}=e[r(975)]();if(!i)return x;const{x:a,y:u}=i[r(898)](),s=Gt(x,o);return{x:s.x+a,y:s.y+u}}}},[])};function Ia(n,e){const t=c,x=[],r=new Map,o=[];for(const i of n)if(i.type===t(690)){o.push(i);continue}else if(i[t(1244)]===t(1325)||i[t(1244)]===t(1528))r[t(2110)](i.id,[i]);else{const a=r[t(1710)](i.id);a?a[t(1181)](i):r[t(2110)](i.id,[i])}for(const i of e){const a=r.get(i.id);if(!a){x[t(1181)](i);continue}if(a[0][t(1244)]===t(1325))continue;if(a[0][t(1244)]===t(1528)){x.push({...a[0][t(1848)]});continue}const u={...i};for(const s of a)h2(s,u);x.push(u)}return o.length&&o[t(1753)](i=>{const a=t;i[a(1271)]!==void 0?x[a(1790)](i[a(1271)],0,{...i[a(1848)]}):x[a(1181)]({...i[a(1848)]})}),x}function h2(n,e){const t=c;switch(n[t(1244)]){case"select":{e.selected=n[t(857)];break}case t(818):{typeof n[t(818)]<"u"&&(e.position=n[t(818)]),typeof n.dragging!==t(2157)&&(e[t(2216)]=n[t(2216)]);break}case t(726):{typeof n[t(726)]!==t(2157)&&(e[t(485)]={...n[t(726)]},n[t(1769)]&&((n[t(1769)]===!0||n[t(1769)]===t(831))&&(e[t(831)]=n.dimensions[t(831)]),(n[t(1769)]===!0||n[t(1769)]===t(469))&&(e[t(469)]=n.dimensions[t(469)]))),typeof n[t(2170)]===t(790)&&(e[t(2170)]=n[t(2170)]);break}}}function Pa(n,e){return Ia(n,e)}function Aa(n,e){return Ia(n,e)}function G0(n,e){return{id:n,type:"select",selected:e}}function gn(n,e=new Set,t=!1){const x=c,r=[];for(const[o,i]of n){const a=e.has(o);!(i[x(857)]===void 0&&!a)&&i[x(857)]!==a&&(t&&(i[x(857)]=a),r[x(1181)](G0(i.id,a)))}return r}function ja({items:n=[],lookup:e}){const t=c,x=[],r=new Map(n.map(o=>[o.id,o]));for(const[o,i]of n[t(1020)]()){const a=e[t(1710)](i.id),u=a?.[t(972)]?.[t(1647)]??a;u!==void 0&&u!==i&&x.push({id:i.id,item:i,type:"replace"}),u===void 0&&x.push({item:i,type:t(690),index:o})}for(const[o]of e)r[t(1710)](o)===void 0&&x[t(1181)]({id:o,type:t(1325)});return x}function Ea(n){return{id:n.id,type:"remove"}}const Ya=n=>Vf(n),g2=n=>Ci(n);function Ua(n){return N[c(676)](n)}function Oa(n){const e=c,[t,x]=N[e(646)](BigInt(0)),[r]=N[e(646)](()=>y2(()=>x(o=>o+BigInt(1))));return lo(()=>{const o=e,i=r[o(1710)]();i[o(707)]&&(n(i),r.reset())},[t]),r}function y2(n){let e=[];return{get:()=>e,reset:()=>{e=[]},push:t=>{e[_0x5299(1181)](t),n()}}}const Ga=N[c(1156)](null);function m2({children:n}){const e=c,t=ke(),x=N[e(1567)](u=>{const s=e,{nodes:d=[],setNodes:f,hasDefaultNodes:g,onNodesChange:b,nodeLookup:v,fitViewQueued:h,onNodesChangeMiddlewareMap:p}=t[s(975)]();let M=d;for(const w of u)M=typeof w===s(1568)?w(M):w;let m=ja({items:M,lookup:v});for(const w of p.values())m=w(m);g&&f(M),m.length>0?b?.(m):h&&window.requestAnimationFrame(()=>{const w=s,{fitViewQueued:y,nodes:C,setNodes:P}=t[w(975)]();y&&P(C)})},[]),r=Oa(x),o=N[e(1567)](u=>{const s=e,{edges:d=[],setEdges:f,hasDefaultEdges:g,onEdgesChange:b,edgeLookup:v}=t[s(975)]();let h=d;for(const p of u)h=typeof p===s(1568)?p(h):p;g?f(h):b&&b(ja({items:h,lookup:v}))},[]),i=Oa(o),a=N.useMemo(()=>({nodeQueue:r,edgeQueue:i}),[]);return l.jsx(Ga[e(1522)],{value:a,children:n})}function w2(){const n=c,e=N[n(1698)](Ga);if(!e)throw new Error(n(1369));return e}const v2=n=>!!n[c(1226)];function uo(){const n=c,e=b2(),t=ke(),x=w2(),r=Me(v2),o=N[n(677)](()=>{const i=n,a=b=>t.getState()[i(979)][i(1710)](b),u=b=>{const v=i;x[v(1952)][v(1181)](b)},s=b=>{const v=i;x[v(1674)][v(1181)](b)},d=b=>{const v=i,{nodeLookup:h,nodeOrigin:p}=t[v(975)](),M=Ya(b)?b:h[v(1710)](b.id),m=M[v(1497)]?Pi(M[v(818)],M[v(485)],M[v(1497)],h,p):M[v(818)],w={...M,position:m,width:M[v(485)]?.[v(831)]??M[v(831)],height:M.measured?.[v(469)]??M[v(469)]};return dn(w)},f=(b,v,h={replace:!1})=>{const p=i;u(M=>M[p(1577)](m=>{const w=p;if(m.id===b){const y=typeof v===w(1568)?v(m):v;return h[w(1528)]&&Ya(y)?y:{...m,...y}}return m}))},g=(b,v,h={replace:!1})=>{const p=i;s(M=>M[p(1577)](m=>{const w=p;if(m.id===b){const y=typeof v===w(1568)?v(m):v;return h[w(1528)]&&g2(y)?y:{...m,...y}}return m}))};return{getNodes:()=>t[i(975)]()[i(824)].map(b=>({...b})),getNode:b=>a(b)?.[i(972)][i(1647)],getInternalNode:a,getEdges:()=>{const b=i,{edges:v=[]}=t[b(975)]();return v[b(1577)](h=>({...h}))},getEdge:b=>t.getState()[i(1462)][i(1710)](b),setNodes:u,setEdges:s,addNodes:b=>{const v=i,h=Array[v(611)](b)?b:[b];x[v(1952)].push(p=>[...p,...h])},addEdges:b=>{const v=i,h=Array[v(611)](b)?b:[b];x[v(1674)][v(1181)](p=>[...p,...h])},toObject:()=>{const b=i,{nodes:v=[],edges:h=[],transform:p}=t.getState(),[M,m,w]=p;return{nodes:v[b(1577)](y=>({...y})),edges:h[b(1577)](y=>({...y})),viewport:{x:M,y:m,zoom:w}}},deleteElements:async({nodes:b=[],edges:v=[]})=>{const h=i,{nodes:p,edges:M,onNodesDelete:m,onEdgesDelete:w,triggerNodeChanges:y,triggerEdgeChanges:C,onDelete:P,onBeforeDelete:Y}=t[h(975)](),{nodes:G,edges:T}=await Xf({nodesToRemove:b,edgesToRemove:v,nodes:p,edges:M,onBeforeDelete:Y}),U=T[h(707)]>0,Q=G[h(707)]>0;if(U){const X=T[h(1577)](Ea);w?.(T),C(X)}if(Q){const X=G[h(1577)](Ea);m?.(G),y(X)}return(Q||U)&&P?.({nodes:G,edges:T}),{deletedNodes:G,deletedEdges:T}},getIntersectingNodes:(b,v=!0,h)=>{const p=i,M=Si(b),m=M?b:d(b),w=h!==void 0;return m?(h||t.getState()[p(824)]).filter(y=>{const C=p,P=t[C(975)]()[C(979)][C(1710)](y.id);if(P&&!M&&(y.id===b.id||!P[C(972)][C(2238)]))return!1;const Y=dn(w?y:P),G=Wn(Y,m);return v&&G>0||G>=Y[C(831)]*Y[C(469)]||G>=m[C(831)]*m.height}):[]},isNodeIntersecting:(b,v,h=!0)=>{const p=i,M=Si(b),m=M?b:d(b);if(!m)return!1;const w=Wn(m,v);return h&&w>0||w>=v[p(831)]*v.height||w>=m[p(831)]*m[p(469)]},updateNode:f,updateNodeData:(b,v,h={replace:!1})=>{f(b,p=>{const M=_0x5299,m=typeof v===M(1568)?v(p):v;return h[M(1528)]?{...p,data:m}:{...p,data:{...p[M(2172)],...m}}},h)},updateEdge:g,updateEdgeData:(b,v,h={replace:!1})=>{g(b,p=>{const M=_0x5299,m=typeof v===M(1568)?v(p):v;return h[M(1528)]?{...p,data:m}:{...p,data:{...p[M(2172)],...m}}},h)},getNodesBounds:b=>{const v=i,{nodeLookup:h,nodeOrigin:p}=t[v(975)]();return Hf(b,{nodeLookup:h,nodeOrigin:p})},getHandleConnections:({type:b,id:v,nodeId:h})=>Array[i(897)](t.getState()[i(1505)][i(1710)](h+"-"+b+(v?"-"+v:""))?.[i(779)]()??[]),getNodeConnections:({type:b,handleId:v,nodeId:h})=>Array.from(t.getState()[i(1505)][i(1710)](""+h+(b?v?"-"+b+"-"+v:"-"+b:""))?.[i(779)]()??[]),fitView:async b=>{const v=i,h=t[v(975)]()[v(1738)]??Rf();return t[v(1609)]({fitViewQueued:!0,fitViewOptions:b,fitViewResolver:h}),x.nodeQueue[v(1181)](p=>[...p]),h.promise}}},[]);return N[n(677)](()=>({...o,...e,viewportInitialized:r}),[r])}const Va=n=>n.selected,p2=typeof window<"u"?window:void 0;function z2({deleteKeyCode:n,multiSelectionKeyCode:e}){const t=c,x=ke(),{deleteElements:r}=uo(),o=Jn(n,{actInsideInputWithModifier:!1}),i=Jn(e,{target:p2});N[t(1849)](()=>{const a=t;if(o){const{edges:u,nodes:s}=x[a(975)]();r({nodes:s[a(1304)](Va),edges:u[a(1304)](Va)}),x[a(1609)]({nodesSelectionActive:!1})}},[o]),N[t(1849)](()=>{x.setState({multiSelectionActive:i})},[i])}function C2(n){const e=c,t=ke();N[e(1849)](()=>{const x=e,r=()=>{const o=_0x5299;if(!n.current||!(n.current[o(1560)]?.()??!0))return!1;const i=Zx(n[o(2089)]);(i[o(469)]===0||i[o(831)]===0)&&t.getState()[o(833)]?.(o(946),We[o(1419)]()),t[o(1609)]({width:i[o(831)]||500,height:i[o(469)]||500})};if(n.current){r(),window[x(1254)]("resize",r);const o=new ResizeObserver(()=>r());return o[x(1481)](n.current),()=>{const i=x;window[i(963)](i(1814),r),o&&n[i(2089)]&&o.unobserve(n[i(2089)])}}},[])}const Rt={position:c(1474),width:"100%",height:"100%",top:0,left:0},M2=n=>({userSelectionActive:n.userSelectionActive,lib:n[c(1527)],connectionInProgress:n[c(948)].inProgress});function B2({onPaneContextMenu:n,zoomOnScroll:e=!0,zoomOnPinch:t=!0,panOnScroll:x=!1,panOnScrollSpeed:r=.5,panOnScrollMode:o=Y0[c(1196)],zoomOnDoubleClick:i=!0,panOnDrag:a=!0,defaultViewport:u,translateExtent:s,minZoom:d,maxZoom:f,zoomActivationKeyCode:g,preventScrolling:b=!0,children:v,noWheelClassName:h,noPanClassName:p,onViewportChange:M,isControlledViewport:m,paneClickDistance:w,selectionOnDrag:y}){const C=c,P=ke(),Y=N[C(1912)](null),{userSelectionActive:G,lib:T,connectionInProgress:U}=Me(M2,Se),Q=Jn(g),X=N[C(1912)]();C2(Y);const W=N[C(1567)](O=>{const L=C;M?.({x:O[0],y:O[1],zoom:O[2]}),!m&&P[L(1609)]({transform:O})},[M,m]);return N.useEffect(()=>{const O=C;if(Y[O(2089)]){X.current=kb({domNode:Y[O(2089)],minZoom:d,maxZoom:f,translateExtent:s,viewport:u,onDraggingChange:E=>P[O(1609)](A=>A[O(1201)]===E?A:{paneDragging:E}),onPanZoomStart:(E,A)=>{const S=O,{onViewportChangeStart:R,onMoveStart:_}=P[S(975)]();_?.(E,A),R?.(A)},onPanZoom:(E,A)=>{const S=O,{onViewportChange:R,onMove:_}=P[S(975)]();_?.(E,A),R?.(A)},onPanZoomEnd:(E,A)=>{const{onViewportChangeEnd:S,onMoveEnd:R}=P.getState();R?.(E,A),S?.(A)}});const{x:L,y:B,zoom:D}=X[O(2089)][O(1102)]();return P[O(1609)]({panZoom:X[O(2089)],transform:[L,B,D],domNode:Y[O(2089)][O(1971)](O(1368))}),()=>{const E=O;X.current?.[E(1212)]()}}},[]),N[C(1849)](()=>{const O=C;X[O(2089)]?.[O(1742)]({onPaneContextMenu:n,zoomOnScroll:e,zoomOnPinch:t,panOnScroll:x,panOnScrollSpeed:r,panOnScrollMode:o,zoomOnDoubleClick:i,panOnDrag:a,zoomActivationKeyPressed:Q,preventScrolling:b,noPanClassName:p,userSelectionActive:G,noWheelClassName:h,lib:T,onTransformChange:W,connectionInProgress:U,selectionOnDrag:y,paneClickDistance:w})},[n,e,t,x,r,o,i,a,Q,b,p,G,h,T,W,U,y,w]),l[C(1403)](C(1467),{className:C(1826),ref:Y,style:Rt,children:v})}const D2=n=>({userSelectionActive:n[c(786)],userSelectionRect:n.userSelectionRect});function L2(){const n=c,{userSelectionActive:e,userSelectionRect:t}=Me(D2,Se);return e&&t?l[n(1403)](n(1467),{className:n(1193),style:{width:t.width,height:t[n(469)],transform:n(1925)+t.x+n(2202)+t.y+"px)"}}):null}const fo=(n,e)=>t=>{const x=_0x5299;t[x(1470)]===e[x(2089)]&&n?.(t)},N2=n=>({userSelectionActive:n[c(786)],elementsSelectable:n[c(891)],connectionInProgress:n[c(948)].inProgress,dragging:n.paneDragging});function S2({isSelecting:n,selectionKeyPressed:e,selectionMode:t=Hn[c(1265)],panOnDrag:x,paneClickDistance:r,selectionOnDrag:o,onSelectionStart:i,onSelectionEnd:a,onPaneClick:u,onPaneContextMenu:s,onPaneScroll:d,onPaneMouseEnter:f,onPaneMouseMove:g,onPaneMouseLeave:b,children:v}){const h=c,p=ke(),{userSelectionActive:M,elementsSelectable:m,dragging:w,connectionInProgress:y}=Me(N2,Se),C=m&&(n||M),P=N[h(1912)](null),Y=N[h(1912)](),G=N[h(1912)](new Set),T=N[h(1912)](new Set),U=N[h(1912)](!1),Q=A=>{const S=h;if(U[S(2089)]||y){U[S(2089)]=!1;return}u?.(A),p[S(975)]().resetSelectedElements(),p[S(1609)]({nodesSelectionActive:!1})},X=A=>{const S=h;if(Array[S(611)](x)&&x?.[S(1405)](2)){A[S(1502)]();return}s?.(A)},W=d?A=>d(A):void 0,O=A=>{const S=h;U[S(2089)]&&(A[S(1370)](),U[S(2089)]=!1)},L=A=>{const S=h,{domNode:R}=p[S(975)]();if(Y[S(2089)]=R?.[S(898)](),!Y[S(2089)])return;const _=A[S(1470)]===P[S(2089)];if(!_&&!!A[S(1470)].closest(S(1633))||!n||!(o&&_||e)||A[S(1961)]!==0||!A.isPrimary)return;A.target?.setPointerCapture?.(A.pointerId),U[S(2089)]=!1;const{x:te,y:se}=e0(A[S(572)],Y[S(2089)]);p[S(1609)]({userSelectionRect:{width:0,height:0,startX:te,startY:se,x:te,y:se}}),!_&&(A[S(1370)](),A[S(1502)]())},B=A=>{const S=h,{userSelectionRect:R,transform:_,nodeLookup:Z,edgeLookup:$,connectionLookup:te,triggerNodeChanges:se,triggerEdgeChanges:ce,defaultEdgeOptions:re,resetSelectedElements:xe}=p[S(975)]();if(!Y[S(2089)]||!R)return;const{x:ne,y:ae}=e0(A[S(572)],Y.current),{startX:I,startY:k}=R;if(!U[S(2089)]){const be=e?0:r;if(Math.hypot(ne-I,ae-k)<=be)return;xe(),i?.(A)}U[S(2089)]=!0;const K={startX:I,startY:k,x:ne<I?ne:I,y:ae<k?ae:k,width:Math[S(2106)](ne-I),height:Math[S(2106)](ae-k)},V=G[S(2089)],H=T[S(2089)];G.current=new Set(Wx(Z,K,_,t===Hn[S(660)],!0)[S(1577)](be=>be.id)),T[S(2089)]=new Set;const ie=re?.selectable??!0;for(const be of G[S(2089)]){const me=te[S(1710)](be);if(me)for(const{edgeId:he}of me[S(779)]()){const we=$[S(1710)](he);we&&(we[S(1154)]??ie)&&T[S(2089)][S(690)](he)}}if(!Ai(V,G[S(2089)])){const be=gn(Z,G[S(2089)],!0);se(be)}if(!Ai(H,T.current)){const be=gn($,T[S(2089)]);ce(be)}p.setState({userSelectionRect:K,userSelectionActive:!0,nodesSelectionActive:!1})},D=A=>{const S=h;A[S(1961)]===0&&(A.target?.releasePointerCapture?.(A.pointerId),!M&&A[S(1470)]===P[S(2089)]&&p[S(975)]()[S(671)]&&Q?.(A),p[S(1609)]({userSelectionActive:!1,userSelectionRect:null}),U[S(2089)]&&(a?.(A),p[S(1609)]({nodesSelectionActive:G.current[S(1634)]>0})))},E=x===!0||Array[h(611)](x)&&x.includes(0);return l[h(1900)]("div",{className:Ae([h(1779),{draggable:E,dragging:w,selection:n}]),onClick:C?void 0:fo(Q,P),onContextMenu:fo(X,P),onWheel:fo(W,P),onPointerEnter:C?void 0:f,onPointerMove:C?B:g,onPointerUp:C?D:void 0,onPointerDownCapture:C?L:void 0,onClickCapture:C?O:void 0,onPointerLeave:b,ref:P,style:Rt,children:[v,l[h(1403)](L2,{})]})}function bo({id:n,store:e,unselect:t=!1,nodeRef:x}){const r=c,{addSelectedNodes:o,unselectNodesAndEdges:i,multiSelectionActive:a,nodeLookup:u,onError:s}=e[r(975)](),d=u.get(n);if(!d){s?.(r(1388),We.error012(n));return}e.setState({nodesSelectionActive:!1}),d[r(857)]?(t||d[r(857)]&&a)&&(i({nodes:[d],edges:[]}),requestAnimationFrame(()=>x?.[r(2089)]?.[r(1706)]())):o([n])}function Ha({nodeRef:n,disabled:e=!1,noDragClassName:t,handleSelector:x,nodeId:r,isSelectable:o,nodeClickDistance:i}){const a=c,u=ke(),[s,d]=N[a(646)](!1),f=N[a(1912)]();return N[a(1849)](()=>{const g=a;f.current=gb({getStoreItems:()=>u[g(975)](),onNodeMouseDown:b=>{bo({id:b,store:u,nodeRef:n})},onDragStart:()=>{d(!0)},onDragStop:()=>{d(!1)}})},[]),N[a(1849)](()=>{const g=a;if(!(e||!n.current||!f[g(2089)]))return f[g(2089)][g(1742)]({noDragClassName:t,handleSelector:x,domNode:n.current,isSelectable:o,nodeId:r,nodeClickDistance:i}),()=>{const b=g;f[b(2089)]?.[b(1212)]()}},[t,x,e,o,n,r,i]),s}const k2=n=>e=>e[c(857)]&&(e[c(2079)]||n&&typeof e[c(2079)]===c(2157));function Ta(){const n=c,e=ke();return N[n(1567)](x=>{const r=n,{nodeExtent:o,snapToGrid:i,snapGrid:a,nodesDraggable:u,onError:s,updateNodePositions:d,nodeLookup:f,nodeOrigin:g}=e.getState(),b=new Map,v=k2(u),h=i?a[0]:5,p=i?a[1]:5,M=x[r(541)].x*h*x[r(2184)],m=x[r(541)].y*p*x[r(2184)];for(const[,w]of f){if(!v(w))continue;let y={x:w[r(972)][r(2238)].x+M,y:w[r(972)][r(2238)].y+m};i&&(y=Xn(y,a));const{position:C,positionAbsolute:P}=Mi({nodeId:w.id,nextPosition:y,nodeLookup:f,nodeExtent:o,nodeOrigin:g,onError:s});w[r(818)]=C,w.internals[r(2238)]=P,b[r(2110)](w.id,w)}d(b)},[])}const ho=N[c(1156)](null),I2=ho[c(1522)];ho[c(772)];const qa=()=>N[c(1698)](ho),P2=n=>({connectOnClick:n.connectOnClick,noPanClassName:n[c(821)],rfId:n[c(1223)]}),A2=(n,e,t)=>x=>{const r=c,{connectionClickStartHandle:o,connectionMode:i,connection:a}=x,{fromHandle:u,toHandle:s,isValid:d}=a,f=s?.nodeId===n&&s?.id===e&&s?.[r(1244)]===t;return{connectingFrom:u?.[r(1854)]===n&&u?.id===e&&u?.[r(1244)]===t,connectingTo:f,clickConnecting:o?.[r(1854)]===n&&o?.id===e&&o?.[r(1244)]===t,isPossibleEndHandle:i===sn[r(605)]?u?.[r(1244)]!==t:n!==u?.nodeId||e!==u?.id,connectionInProcess:!!u,clickConnectionInProcess:!!o,valid:f&&d}};function j2({type:n=c(984),position:e=ue.Top,isValidConnection:t,isConnectable:x=!0,isConnectableStart:r=!0,isConnectableEnd:o=!0,id:i,onConnect:a,children:u,className:s,onMouseDown:d,onTouchStart:f,...g},b){const v=c,h=i||null,p=n==="target",M=ke(),m=qa(),{connectOnClick:w,noPanClassName:y,rfId:C}=Me(P2,Se),{connectingFrom:P,connectingTo:Y,clickConnecting:G,isPossibleEndHandle:T,connectionInProcess:U,clickConnectionInProcess:Q,valid:X}=Me(A2(m,h,n),Se);!m&&M[v(975)]().onError?.(v(1050),We.error010());const W=B=>{const D=v,{defaultEdgeOptions:E,onConnect:A,hasDefaultEdges:S}=M.getState(),R={...E,...B};if(S){const{edges:_,setEdges:Z}=M[D(975)]();Z(Ti(R,_))}A?.(R),a?.(R)},O=B=>{const D=v;if(!m)return;const E=Yi(B[D(572)]);if(r&&(E&&B[D(1961)]===0||!E)){const A=M[D(975)]();xo[D(1905)](B[D(572)],{handleDomNode:B[D(906)],autoPanOnConnect:A.autoPanOnConnect,connectionMode:A[D(729)],connectionRadius:A.connectionRadius,domNode:A[D(1059)],nodeLookup:A[D(979)],lib:A[D(1527)],isTarget:p,handleId:h,nodeId:m,flowId:A[D(1223)],panBy:A[D(1460)],cancelConnection:A.cancelConnection,onConnectStart:A[D(1637)],onConnectEnd:(...S)=>M[D(975)]().onConnectEnd?.(...S),updateConnection:A[D(1434)],onConnect:W,isValidConnection:t||((...S)=>M.getState()[D(1991)]?.(...S)??!0),getTransform:()=>M.getState()[D(2213)],getFromHandle:()=>M[D(975)]().connection.fromHandle,autoPanSpeed:A[D(1347)],dragThreshold:A[D(1108)]})}E?d?.(B):f?.(B)},L=B=>{const D=v,{onClickConnectStart:E,onClickConnectEnd:A,connectionClickStartHandle:S,connectionMode:R,isValidConnection:_,lib:Z,rfId:$,nodeLookup:te,connection:se}=M[D(975)]();if(!m||!S&&!r)return;if(!S){E?.(B[D(572)],{nodeId:m,handleId:h,handleType:n}),M[D(1609)]({connectionClickStartHandle:{nodeId:m,type:n,id:h}});return}const ce=ji(B[D(1470)]),re=t||_,{connection:xe,isValid:ne}=xo.isValid(B.nativeEvent,{handle:{nodeId:m,id:h,type:n},connectionMode:R,fromNodeId:S[D(1854)],fromHandleId:S.id||null,fromType:S[D(1244)],isValidConnection:re,flowId:$,doc:ce,lib:Z,nodeLookup:te});ne&&xe&&W(xe);const ae=structuredClone(se);delete ae[D(1666)],ae[D(493)]=ae[D(1638)]?ae[D(1638)].position:null,A?.(B,ae),M[D(1609)]({connectionClickStartHandle:null})};return l[v(1403)](v(1467),{"data-handleid":h,"data-nodeid":m,"data-handlepos":e,"data-id":C+"-"+m+"-"+h+"-"+n,className:Ae([v(1795),v(1937)+e,v(1355),y,s,{source:!p,target:p,connectable:x,connectablestart:r,connectableend:o,clickconnecting:G,connectingfrom:P,connectingto:Y,valid:X,connectionindicator:x&&(!U||T)&&(U||Q?o:r)}]),onMouseDown:O,onTouchStart:O,onClick:w?L:void 0,ref:b,...g,children:u})}const yn=N[c(571)](Ua(j2));function E2({data:n,isConnectable:e,sourcePosition:t=ue[c(1874)]}){const x=c;return l.jsxs(l.Fragment,{children:[n?.label,l[x(1403)](yn,{type:x(984),position:t,isConnectable:e})]})}function Y2({data:n,isConnectable:e,targetPosition:t=ue[c(1375)],sourcePosition:x=ue[c(1874)]}){const r=c;return l[r(1900)](l.Fragment,{children:[l[r(1403)](yn,{type:"target",position:t,isConnectable:e}),n?.[r(854)],l[r(1403)](yn,{type:r(984),position:x,isConnectable:e})]})}function U2(){return null}function O2({data:n,isConnectable:e,targetPosition:t=ue[c(1375)]}){const x=c;return l.jsxs(l.Fragment,{children:[l.jsx(yn,{type:"target",position:t,isConnectable:e}),n?.[x(854)]]})}const Jt={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Wa={input:E2,default:Y2,output:O2,group:U2};function G2(n){const e=c;return n[e(972)][e(735)]===void 0?{width:n.width??n.initialWidth??n[e(693)]?.[e(831)],height:n.height??n[e(1281)]??n.style?.[e(469)]}:{width:n.width??n[e(693)]?.[e(831)],height:n.height??n.style?.[e(469)]}}const V2=n=>{const e=c,{width:t,height:x,x:r,y:o}=qn(n[e(979)],{filter:i=>!!i[e(857)]});return{width:$e(t)?t:null,height:$e(x)?x:null,userSelectionActive:n[e(786)],transformString:"translate("+n[e(2213)][0]+e(814)+n[e(2213)][1]+e(600)+n[e(2213)][2]+") translate("+r+"px,"+o+e(1838)}};function H2({onSelectionContextMenu:n,noPanClassName:e,disableKeyboardA11y:t}){const x=c,r=ke(),{width:o,height:i,transformString:a,userSelectionActive:u}=Me(V2,Se),s=Ta(),d=N[x(1912)](null);N[x(1849)](()=>{const v=x;!t&&d[v(2089)]?.[v(552)]({preventScroll:!0})},[t]);const f=!u&&o!==null&&i!==null;if(Ha({nodeRef:d,disabled:!f}),!f)return null;const g=n?v=>{const h=r.getState().nodes.filter(p=>p.selected);n(v,h)}:void 0,b=v=>{const h=x;Object.prototype[h(976)].call(Jt,v[h(1098)])&&(v[h(1502)](),s({direction:Jt[v.key],factor:v.shiftKey?4:1}))};return l[x(1403)](x(1467),{className:Ae(["react-flow__nodesselection","react-flow__container",e]),style:{transform:a},children:l[x(1403)](x(1467),{ref:d,className:x(2242),onContextMenu:g,tabIndex:t?void 0:-1,onKeyDown:t?void 0:b,style:{width:o,height:i}})})}const Xa=typeof window<"u"?window:void 0,T2=n=>{const e=c;return{nodesSelectionActive:n.nodesSelectionActive,userSelectionActive:n[e(786)]}};function Ka({children:n,onPaneClick:e,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:r,onPaneContextMenu:o,onPaneScroll:i,paneClickDistance:a,deleteKeyCode:u,selectionKeyCode:s,selectionOnDrag:d,selectionMode:f,onSelectionStart:g,onSelectionEnd:b,multiSelectionKeyCode:v,panActivationKeyCode:h,zoomActivationKeyCode:p,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:w,panOnScroll:y,panOnScrollSpeed:C,panOnScrollMode:P,zoomOnDoubleClick:Y,panOnDrag:G,defaultViewport:T,translateExtent:U,minZoom:Q,maxZoom:X,preventScrolling:W,onSelectionContextMenu:O,noWheelClassName:L,noPanClassName:B,disableKeyboardA11y:D,onViewportChange:E,isControlledViewport:A}){const S=c,{nodesSelectionActive:R,userSelectionActive:_}=Me(T2,Se),Z=Jn(s,{target:Xa}),$=Jn(h,{target:Xa}),te=$||G,se=$||y,ce=d&&te!==!0,re=Z||_||ce;return z2({deleteKeyCode:u,multiSelectionKeyCode:v}),l[S(1403)](B2,{onPaneContextMenu:o,elementsSelectable:M,zoomOnScroll:m,zoomOnPinch:w,panOnScroll:se,panOnScrollSpeed:C,panOnScrollMode:P,zoomOnDoubleClick:Y,panOnDrag:!Z&&te,defaultViewport:T,translateExtent:U,minZoom:Q,maxZoom:X,zoomActivationKeyCode:p,preventScrolling:W,noWheelClassName:L,noPanClassName:B,onViewportChange:E,isControlledViewport:A,paneClickDistance:a,selectionOnDrag:ce,children:l[S(1900)](S2,{onSelectionStart:g,onSelectionEnd:b,onPaneClick:e,onPaneMouseEnter:t,onPaneMouseMove:x,onPaneMouseLeave:r,onPaneContextMenu:o,onPaneScroll:i,panOnDrag:te,isSelecting:!!re,selectionMode:f,selectionKeyPressed:Z,paneClickDistance:a,selectionOnDrag:ce,children:[n,R&&l.jsx(H2,{onSelectionContextMenu:O,noPanClassName:B,disableKeyboardA11y:D})]})})}Ka[c(1689)]=c(2054);const q2=N[c(571)](Ka),W2=n=>e=>{const t=c;return n?Wx(e[t(979)],{x:0,y:0,width:e.width,height:e[t(469)]},e[t(2213)],!0)[t(1577)](x=>x.id):Array[t(897)](e.nodeLookup[t(864)]())};function X2(n){return Me(N[c(1567)](W2(n),[n]),Se)}const K2=n=>n[c(960)];function Z2(){const n=c,e=Me(K2),[t]=N.useState(()=>typeof ResizeObserver===_0x5299(2157)?null:new ResizeObserver(r=>{const o=new Map;r.forEach(i=>{const a=_0x5299,u=i[a(1470)][a(1104)](a(759));o.set(u,{id:u,nodeElement:i.target,force:!0})}),e(o)}));return N[n(1849)](()=>()=>{t?.[_0x5299(804)]()},[t]),t}function R2({node:n,nodeType:e,hasDimensions:t,resizeObserver:x}){const r=c,o=ke(),i=N[r(1912)](null),a=N[r(1912)](null),u=N.useRef(n.sourcePosition),s=N[r(1912)](n[r(1988)]),d=N[r(1912)](e),f=t&&!!n.internals.handleBounds;return N[r(1849)](()=>{const g=r;i[g(2089)]&&!n.hidden&&(!f||a[g(2089)]!==i[g(2089)])&&(a[g(2089)]&&x?.unobserve(a[g(2089)]),x?.observe(i[g(2089)]),a[g(2089)]=i[g(2089)])},[f,n[r(457)]]),N[r(1849)](()=>()=>{const g=_0x5299;a.current&&(x?.[g(958)](a[g(2089)]),a[g(2089)]=null)},[]),N[r(1849)](()=>{const g=r;if(i[g(2089)]){const b=d.current!==e,v=u[g(2089)]!==n[g(1707)],h=s.current!==n[g(1988)];(b||v||h)&&(d[g(2089)]=e,u.current=n[g(1707)],s[g(2089)]=n.targetPosition,o[g(975)]().updateNodeInternals(new Map([[n.id,{id:n.id,nodeElement:i[g(2089)],force:!0}]])))}},[n.id,e,n[r(1707)],n.targetPosition]),i}function J2({id:n,onClick:e,onMouseEnter:t,onMouseMove:x,onMouseLeave:r,onContextMenu:o,onDoubleClick:i,nodesDraggable:a,elementsSelectable:u,nodesConnectable:s,nodesFocusable:d,resizeObserver:f,noDragClassName:g,noPanClassName:b,disableKeyboardA11y:v,rfId:h,nodeTypes:p,nodeClickDistance:M,onError:m}){const w=c,{node:y,internals:C,isParent:P}=Me(xe=>{const ne=_0x5299,ae=xe.nodeLookup[ne(1710)](n),I=xe[ne(2047)].has(n);return{node:ae,internals:ae[ne(972)],isParent:I}},Se);let Y=y[w(1244)]||w(2064),G=p?.[Y]||Wa[Y];G===void 0&&(m?.("003",We[w(1963)](Y)),Y="default",G=p?.[w(2064)]||Wa.default);const T=!!(y.draggable||a&&typeof y[w(2079)]===w(2157)),U=!!(y[w(1154)]||u&&typeof y[w(1154)]>"u"),Q=!!(y[w(2167)]||s&&typeof y[w(2167)]===w(2157)),X=!!(y[w(2102)]||d&&typeof y[w(2102)]>"u"),W=ke(),O=Ii(y),L=R2({node:y,nodeType:Y,hasDimensions:O,resizeObserver:f}),B=Ha({nodeRef:L,disabled:y.hidden||!T,noDragClassName:g,handleSelector:y[w(2143)],nodeId:n,isSelectable:U,nodeClickDistance:M}),D=Ta();if(y[w(457)])return null;const E=g0(y),A=G2(y),S=U||T||e||t||x||r,R=t?xe=>t(xe,{...C[w(1647)]}):void 0,_=x?xe=>x(xe,{...C.userNode}):void 0,Z=r?xe=>r(xe,{...C[w(1647)]}):void 0,$=o?xe=>o(xe,{...C.userNode}):void 0,te=i?xe=>i(xe,{...C[w(1647)]}):void 0,se=xe=>{const{selectNodesOnDrag:ne,nodeDragThreshold:ae}=W.getState();U&&(!ne||!T||ae>0)&&bo({id:n,store:W,nodeRef:L}),e&&e(xe,{...C.userNode})},ce=xe=>{const ne=w;if(!(Ei(xe[ne(572)])||v)){if(mi[ne(1405)](xe[ne(1098)])&&U){const ae=xe[ne(1098)]===ne(778);bo({id:n,store:W,unselect:ae,nodeRef:L})}else if(T&&y[ne(857)]&&Object.prototype[ne(976)].call(Jt,xe[ne(1098)])){xe[ne(1502)]();const{ariaLabelConfig:ae}=W[ne(975)]();W[ne(1609)]({ariaLiveMessage:ae[ne(1285)]({direction:xe.key[ne(1528)](ne(1396),"").toLowerCase(),x:~~C.positionAbsolute.x,y:~~C[ne(2238)].y})}),D({direction:Jt[xe[ne(1098)]],factor:xe.shiftKey?4:1})}}},re=()=>{const xe=w;if(v||!L[xe(2089)]?.matches(xe(951)))return;const{transform:ne,width:ae,height:I,autoPanOnNodeFocus:k,setCenter:K}=W.getState();if(!k)return;!(Wx(new Map([[n,y]]),{x:0,y:0,width:ae,height:I},ne,!0)[xe(707)]>0)&&K(y[xe(818)].x+E[xe(831)]/2,y.position.y+E[xe(469)]/2,{zoom:ne[2]})};return l.jsx(w(1467),{className:Ae([w(1503),w(1793)+Y,{[b]:T},y[w(2128)],{selected:y[w(857)],selectable:U,parent:P,draggable:T,dragging:B}]),ref:L,style:{zIndex:C.z,transform:w(1925)+C.positionAbsolute.x+w(814)+C[w(2238)].y+w(1838),pointerEvents:w(S?629:928),visibility:w(O?1428:457),...y[w(693)],...A},"data-id":n,"data-testid":w(1544)+n,onMouseEnter:R,onMouseMove:_,onMouseLeave:Z,onContextMenu:$,onClick:se,onDoubleClick:te,onKeyDown:X?ce:void 0,tabIndex:X?0:void 0,onFocus:X?re:void 0,role:y[w(1490)]??(X?w(1295):void 0),"aria-roledescription":"node","aria-describedby":v?void 0:za+"-"+h,"aria-label":y[w(956)],...y[w(1888)],children:l[w(1403)](I2,{value:n,children:l.jsx(G,{id:n,data:y[w(2172)],type:Y,positionAbsoluteX:C[w(2238)].x,positionAbsoluteY:C[w(2238)].y,selected:y[w(857)]??!1,selectable:U,draggable:T,deletable:y[w(1085)]??!0,isConnectable:Q,sourcePosition:y[w(1707)],targetPosition:y[w(1988)],dragging:B,dragHandle:y[w(2143)],zIndex:C.z,parentId:y[w(1497)],...E})})})}var _2=N[c(571)](J2);const Q2=n=>({nodesDraggable:n.nodesDraggable,nodesConnectable:n.nodesConnectable,nodesFocusable:n[c(1277)],elementsSelectable:n[c(891)],onError:n.onError});function Za(n){const e=c,{nodesDraggable:t,nodesConnectable:x,nodesFocusable:r,elementsSelectable:o,onError:i}=Me(Q2,Se),a=X2(n[e(1049)]),u=Z2();return l[e(1403)](e(1467),{className:e(1408),style:Rt,children:a[e(1577)](s=>{const d=e;return l.jsx(_2,{id:s,nodeTypes:n[d(1771)],nodeExtent:n.nodeExtent,onClick:n.onNodeClick,onMouseEnter:n[d(703)],onMouseMove:n.onNodeMouseMove,onMouseLeave:n.onNodeMouseLeave,onContextMenu:n[d(2246)],onDoubleClick:n[d(1479)],noDragClassName:n.noDragClassName,noPanClassName:n[d(821)],rfId:n[d(1223)],disableKeyboardA11y:n.disableKeyboardA11y,resizeObserver:u,nodesDraggable:t,nodesConnectable:x,nodesFocusable:r,elementsSelectable:o,nodeClickDistance:n.nodeClickDistance,onError:i},s)})})}Za[c(1689)]="NodeRenderer";const F2=N[c(571)](Za);function $2(n){return Me(N.useCallback(t=>{const x=_0x5299;if(!n)return t[x(967)][x(1577)](o=>o.id);const r=[];if(t[x(831)]&&t[x(469)])for(const o of t[x(967)]){const i=t[x(979)][x(1710)](o[x(984)]),a=t[x(979)][x(1710)](o[x(1470)]);i&&a&&Ff({sourceNode:i,targetNode:a,width:t[x(831)],height:t.height,transform:t[x(2213)]})&&r.push(o.id)}return r},[n]),Se)}const eh=({color:n="none",strokeWidth:e=1})=>{const t=c,x={strokeWidth:e,...n&&{stroke:n}};return l[t(1403)]("polyline",{className:t(1895),style:x,strokeLinecap:t(1910),fill:t(928),strokeLinejoin:t(1910),points:t(899)})},nh=({color:n=c(928),strokeWidth:e=1})=>{const t=c,x={strokeWidth:e,...n&&{stroke:n,fill:n}};return l[t(1403)](t(1535),{className:t(537),style:x,strokeLinecap:"round",strokeLinejoin:t(1910),points:"-5,-4 0,0 -5,4 -5,-4"})},Ra={[Et.Arrow]:eh,[Et[c(798)]]:nh};function th(n){const e=c,t=ke();return N[e(677)](()=>{const r=e;return Object.prototype.hasOwnProperty[r(1429)](Ra,n)?Ra[n]:(t[r(975)]().onError?.(r(2165),We[r(2114)](n)),null)},[n])}const xh=({id:n,type:e,color:t,width:x=12.5,height:r=12.5,markerUnits:o="strokeWidth",strokeWidth:i,orient:a="auto-start-reverse"})=>{const u=c,s=th(e);return s?l[u(1403)](u(1257),{className:u(1045),id:n,markerWidth:""+x,markerHeight:""+r,viewBox:"-10 -10 20 20",markerUnits:o,orient:a,refX:"0",refY:"0",children:l[u(1403)](s,{color:t,strokeWidth:i})}):null},Ja=({defaultColor:n,rfId:e})=>{const t=c,x=Me(i=>i.edges),r=Me(i=>i[t(1645)]),o=N[t(677)](()=>{const i=t;return rb(x,{id:e,defaultColor:n,defaultMarkerStart:r?.[i(911)],defaultMarkerEnd:r?.[i(519)]})},[x,r,e,n]);return o.length?l[t(1403)](t(1235),{className:"react-flow__marker","aria-hidden":t(1987),children:l.jsx(t(1886),{children:o[t(1577)](i=>l[t(1403)](xh,{id:i.id,type:i[t(1244)],color:i.color,width:i[t(831)],height:i.height,markerUnits:i[t(701)],strokeWidth:i[t(1105)],orient:i[t(932)]},i.id))})}):null};Ja[c(1689)]="MarkerDefinitions";var oh=N[c(571)](Ja);function _a({x:n,y:e,label:t,labelStyle:x,labelShowBg:r=!0,labelBgStyle:o,labelBgPadding:i=[2,4],labelBgBorderRadius:a=2,children:u,className:s,...d}){const f=c,[g,b]=N.useState({x:1,y:0,width:0,height:0}),v=Ae([f(1975),s]),h=N[f(1912)](null);return N[f(1849)](()=>{const p=f;if(h[p(2089)]){const M=h[p(2089)].getBBox();b({x:M.x,y:M.y,width:M[p(831)],height:M[p(469)]})}},[t]),t?l[f(1900)]("g",{transform:"translate("+(n-g[f(831)]/2)+" "+(e-g[f(469)]/2)+")",className:v,visibility:g.width?"visible":f(457),...d,children:[r&&l.jsx(f(1294),{width:g[f(831)]+2*i[0],x:-i[0],y:-i[1],height:g[f(469)]+2*i[1],className:f(776),style:o,rx:a,ry:a}),l.jsx(f(1100),{className:f(648),y:g[f(469)]/2,dy:"0.3em",ref:h,style:x,children:t}),u]}):null}_a[c(1689)]=c(456);const rh=N[c(571)](_a);function _t({path:n,labelX:e,labelY:t,label:x,labelStyle:r,labelShowBg:o,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u,interactionWidth:s=20,...d}){const f=c;return l[f(1900)](l.Fragment,{children:[l[f(1403)](f(2065),{...d,d:n,fill:f(928),className:Ae(["react-flow__edge-path",d[f(2128)]])}),s?l.jsx("path",{d:n,fill:f(928),strokeOpacity:0,strokeWidth:s,className:f(1863)}):null,x&&$e(e)&&$e(t)?l[f(1403)](rh,{x:e,y:t,label:x,labelStyle:r,labelShowBg:o,labelBgStyle:i,labelBgPadding:a,labelBgBorderRadius:u}):null]})}function Qa({pos:n,x1:e,y1:t,x2:x,y2:r}){const o=c;return n===ue[o(767)]||n===ue[o(930)]?[.5*(e+x),t]:[e,.5*(t+r)]}function Fa({sourceX:n,sourceY:e,sourcePosition:t=ue[c(1874)],targetX:x,targetY:r,targetPosition:o=ue[c(1375)]}){const[i,a]=Qa({pos:t,x1:n,y1:e,x2:x,y2:r}),[u,s]=Qa({pos:o,x1:x,y1:r,x2:n,y2:e}),[d,f,g,b]=Oi({sourceX:n,sourceY:e,targetX:x,targetY:r,sourceControlX:i,sourceControlY:a,targetControlX:u,targetControlY:s});return["M"+n+","+e+" C"+i+","+a+" "+u+","+s+" "+x+","+r,d,f,g,b]}function $a(n){const e=c;return N[e(571)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,sourcePosition:a,targetPosition:u,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,interactionWidth:m})=>{const w=e,[y,C,P]=Fa({sourceX:x,sourceY:r,sourcePosition:a,targetX:o,targetY:i,targetPosition:u}),Y=n.isInternal?void 0:t;return l[w(1403)](_t,{id:Y,path:y,labelX:C,labelY:P,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,interactionWidth:m})})}const ih=$a({isInternal:!1}),ec=$a({isInternal:!0});ih.displayName=c(962),ec[c(1689)]=c(736);function nc(n){const e=c;return N[e(571)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:g,style:b,sourcePosition:v=ue.Bottom,targetPosition:h=ue[e(1375)],markerEnd:p,markerStart:M,pathOptions:m,interactionWidth:w})=>{const y=e,[C,P,Y]=Rx({sourceX:x,sourceY:r,sourcePosition:v,targetX:o,targetY:i,targetPosition:h,borderRadius:m?.[y(1860)],offset:m?.offset,stepPosition:m?.[y(2174)]}),G=n.isInternal?void 0:t;return l.jsx(_t,{id:G,path:C,labelX:P,labelY:Y,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:p,markerStart:M,interactionWidth:w})})}const tc=nc({isInternal:!1}),xc=nc({isInternal:!0});tc.displayName=c(606),xc[c(1689)]=c(1556);function oc(n){return N.memo(({id:e,...t})=>{const x=_0x5299,r=n[x(1367)]?void 0:e;return l[x(1403)](tc,{...t,id:r,pathOptions:N[x(677)](()=>({borderRadius:0,offset:t.pathOptions?.[x(688)]}),[t.pathOptions?.[x(688)]])})})}const ah=oc({isInternal:!1}),rc=oc({isInternal:!0});ah[c(1689)]=c(650),rc[c(1689)]=c(1464);function ic(n){const e=c;return N[e(571)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:v,markerStart:h,interactionWidth:p})=>{const M=e,[m,w,y]=qi({sourceX:x,sourceY:r,targetX:o,targetY:i}),C=n[M(1367)]?void 0:t;return l[M(1403)](_t,{id:C,path:m,labelX:w,labelY:y,label:a,labelStyle:u,labelShowBg:s,labelBgStyle:d,labelBgPadding:f,labelBgBorderRadius:g,style:b,markerEnd:v,markerStart:h,interactionWidth:p})})}const ch=ic({isInternal:!1}),ac=ic({isInternal:!0});ch.displayName=c(2073),ac[c(1689)]=c(2178);function cc(n){const e=c;return N[e(571)](({id:t,sourceX:x,sourceY:r,targetX:o,targetY:i,sourcePosition:a=ue[e(1874)],targetPosition:u=ue[e(1375)],label:s,labelStyle:d,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,pathOptions:m,interactionWidth:w})=>{const y=e,[C,P,Y]=Vi({sourceX:x,sourceY:r,sourcePosition:a,targetX:o,targetY:i,targetPosition:u,curvature:m?.curvature}),G=n[y(1367)]?void 0:t;return l[y(1403)](_t,{id:G,path:C,labelX:P,labelY:Y,label:s,labelStyle:d,labelShowBg:f,labelBgStyle:g,labelBgPadding:b,labelBgBorderRadius:v,style:h,markerEnd:p,markerStart:M,interactionWidth:w})})}const sh=cc({isInternal:!1}),sc=cc({isInternal:!0});sh[c(1689)]=c(2224),sc.displayName=c(869);const lc={default:sc,straight:ac,step:rc,smoothstep:xc,simplebezier:ec},dc={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null},lh=(n,e,t)=>{const x=c;return t===ue[x(767)]?n-e:t===ue[x(930)]?n+e:n},dh=(n,e,t)=>t===ue[c(1375)]?n-e:t===ue.Bottom?n+e:n,uc=c(1293);function fc({position:n,centerX:e,centerY:t,radius:x=10,onMouseDown:r,onMouseEnter:o,onMouseOut:i,type:a}){const u=c;return l.jsx(u(1944),{onMouseDown:r,onMouseEnter:o,onMouseOut:i,className:Ae([uc,uc+"-"+a]),cx:lh(e,x,n),cy:dh(t,x,n),r:x,stroke:u(1330),fill:u(1330)})}function uh({isReconnectable:n,reconnectRadius:e,edge:t,sourceX:x,sourceY:r,targetX:o,targetY:i,sourcePosition:a,targetPosition:u,onReconnect:s,onReconnectStart:d,onReconnectEnd:f,setReconnecting:g,setUpdateHover:b}){const v=c,h=ke(),p=(C,P)=>{const Y=_0x5299;if(C[Y(1961)]!==0)return;const{autoPanOnConnect:G,domNode:T,connectionMode:U,connectionRadius:Q,lib:X,onConnectStart:W,cancelConnection:O,nodeLookup:L,rfId:B,panBy:D,updateConnection:E}=h.getState(),A=P[Y(1244)]===Y(1470),S=(Z,$)=>{g(!1),f?.(Z,t,P.type,$)},R=Z=>s?.(t,Z),_=(Z,$)=>{const te=Y;g(!0),d?.(C,t,P[te(1244)]),W?.(Z,$)};xo.onPointerDown(C[Y(572)],{autoPanOnConnect:G,connectionMode:U,connectionRadius:Q,domNode:T,handleId:P.id,nodeId:P.nodeId,nodeLookup:L,isTarget:A,edgeUpdaterType:P[Y(1244)],lib:X,flowId:B,cancelConnection:O,panBy:D,isValidConnection:(...Z)=>h[Y(975)]().isValidConnection?.(...Z)??!0,onConnect:R,onConnectStart:_,onConnectEnd:(...Z)=>h[Y(975)]()[Y(442)]?.(...Z),onReconnectEnd:S,updateConnection:E,getTransform:()=>h[Y(975)]()[Y(2213)],getFromHandle:()=>h[Y(975)]().connection.fromHandle,dragThreshold:h.getState()[Y(1108)],handleDomNode:C.currentTarget})},M=C=>p(C,{nodeId:t[v(1470)],id:t[v(1252)]??null,type:v(1470)}),m=C=>p(C,{nodeId:t[v(984)],id:t[v(1763)]??null,type:v(984)}),w=()=>b(!0),y=()=>b(!1);return l[v(1900)](l[v(2082)],{children:[(n===!0||n===v(984))&&l[v(1403)](fc,{position:a,centerX:x,centerY:r,radius:e,onMouseDown:M,onMouseEnter:w,onMouseOut:y,type:v(984)}),(n===!0||n===v(1470))&&l[v(1403)](fc,{position:u,centerX:o,centerY:i,radius:e,onMouseDown:m,onMouseEnter:w,onMouseOut:y,type:"target"})]})}function fh({id:n,edgesFocusable:e,edgesReconnectable:t,elementsSelectable:x,onClick:r,onDoubleClick:o,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,reconnectRadius:d,onReconnect:f,onReconnectStart:g,onReconnectEnd:b,rfId:v,edgeTypes:h,noPanClassName:p,onError:M,disableKeyboardA11y:m}){const w=c;let y=Me(k=>k.edgeLookup.get(n));const C=Me(k=>k[w(1645)]);y=C?{...C,...y}:y;let P=y.type||w(2064),Y=h?.[P]||lc[P];Y===void 0&&(M?.("011",We[w(1385)](P)),P=w(2064),Y=h?.[w(2064)]||lc[w(2064)]);const G=!!(y[w(2102)]||e&&typeof y[w(2102)]===w(2157)),T=typeof f<"u"&&(y[w(1439)]||t&&typeof y[w(1439)]===w(2157)),U=!!(y.selectable||x&&typeof y[w(1154)]>"u"),Q=N[w(1912)](null),[X,W]=N[w(646)](!1),[O,L]=N.useState(!1),B=ke(),{zIndex:D,sourceX:E,sourceY:A,targetX:S,targetY:R,sourcePosition:_,targetPosition:Z}=Me(N[w(1567)](k=>{const K=w,V=k[K(979)].get(y[K(984)]),H=k[K(979)][K(1710)](y.target);if(!V||!H)return{zIndex:y[K(2081)],...dc};const ie=ob({id:n,sourceNode:V,targetNode:H,sourceHandle:y.sourceHandle||null,targetHandle:y[K(1252)]||null,connectionMode:k[K(729)],onError:M});return{zIndex:Qf({selected:y[K(857)],zIndex:y[K(2081)],sourceNode:V,targetNode:H,elevateOnSelect:k.elevateEdgesOnSelect,zIndexMode:k.zIndexMode}),...ie||dc}},[y[w(984)],y[w(1470)],y[w(1763)],y.targetHandle,y[w(857)],y[w(2081)]]),Se),$=N.useMemo(()=>y[w(911)]?w(1441)+Jx(y[w(911)],v)+"')":void 0,[y[w(911)],v]),te=N.useMemo(()=>y[w(519)]?w(1441)+Jx(y[w(519)],v)+"')":void 0,[y[w(519)],v]);if(y.hidden||E===null||A===null||S===null||R===null)return null;const se=k=>{const K=w,{addSelectedEdges:V,unselectNodesAndEdges:H,multiSelectionActive:ie}=B.getState();U&&(B[K(1609)]({nodesSelectionActive:!1}),y[K(857)]&&ie?(H({nodes:[],edges:[y]}),Q[K(2089)]?.[K(1706)]()):V([n])),r&&r(k,y)},ce=o?k=>{o(k,{...y})}:void 0,re=i?k=>{i(k,{...y})}:void 0,xe=a?k=>{a(k,{...y})}:void 0,ne=u?k=>{u(k,{...y})}:void 0,ae=s?k=>{s(k,{...y})}:void 0,I=k=>{const K=w;if(!m&&mi[K(1405)](k[K(1098)])&&U){const{unselectNodesAndEdges:V,addSelectedEdges:H}=B[K(975)]();k[K(1098)]===K(778)?(Q[K(2089)]?.[K(1706)](),V({edges:[y]})):H([n])}};return l[w(1403)]("svg",{style:{zIndex:D},children:l[w(1900)]("g",{className:Ae([w(2145),w(1454)+P,y.className,p,{selected:y[w(857)],animated:y.animated,inactive:!U&&!r,updating:X,selectable:U}]),onClick:se,onDoubleClick:ce,onContextMenu:re,onMouseEnter:xe,onMouseMove:ne,onMouseLeave:ae,onKeyDown:G?I:void 0,tabIndex:G?0:void 0,role:y[w(1490)]??(G?"group":w(1371)),"aria-roledescription":"edge","data-id":n,"data-testid":w(961)+n,"aria-label":y.ariaLabel===null?void 0:y[w(956)]||w(1607)+y[w(984)]+w(1755)+y[w(1470)],"aria-describedby":G?Ca+"-"+v:void 0,ref:Q,...y[w(1888)],children:[!O&&l[w(1403)](Y,{id:n,source:y[w(984)],target:y[w(1470)],type:y.type,selected:y[w(857)],animated:y[w(2101)],selectable:U,deletable:y[w(1085)]??!0,label:y[w(854)],labelStyle:y[w(1345)],labelShowBg:y[w(674)],labelBgStyle:y[w(1810)],labelBgPadding:y[w(1719)],labelBgBorderRadius:y[w(1343)],sourceX:E,sourceY:A,targetX:S,targetY:R,sourcePosition:_,targetPosition:Z,data:y[w(2172)],style:y[w(693)],sourceHandleId:y.sourceHandle,targetHandleId:y.targetHandle,markerStart:$,markerEnd:te,pathOptions:w(1749)in y?y.pathOptions:void 0,interactionWidth:y.interactionWidth}),T&&l.jsx(uh,{edge:y,isReconnectable:T,reconnectRadius:d,onReconnect:f,onReconnectStart:g,onReconnectEnd:b,sourceX:E,sourceY:A,targetX:S,targetY:R,sourcePosition:_,targetPosition:Z,setUpdateHover:W,setReconnecting:L})]})})}var bh=N.memo(fh);const hh=n=>({edgesFocusable:n[c(495)],edgesReconnectable:n[c(1665)],elementsSelectable:n[c(891)],connectionMode:n[c(729)],onError:n.onError});function bc({defaultMarkerColor:n,onlyRenderVisibleElements:e,rfId:t,edgeTypes:x,noPanClassName:r,onReconnect:o,onEdgeContextMenu:i,onEdgeMouseEnter:a,onEdgeMouseMove:u,onEdgeMouseLeave:s,onEdgeClick:d,reconnectRadius:f,onEdgeDoubleClick:g,onReconnectStart:b,onReconnectEnd:v,disableKeyboardA11y:h}){const p=c,{edgesFocusable:M,edgesReconnectable:m,elementsSelectable:w,onError:y}=Me(hh,Se),C=$2(e);return l.jsxs("div",{className:p(1037),children:[l.jsx(oh,{defaultColor:n,rfId:t}),C[p(1577)](P=>l.jsx(bh,{id:P,edgesFocusable:M,edgesReconnectable:m,elementsSelectable:w,noPanClassName:r,onReconnect:o,onContextMenu:i,onMouseEnter:a,onMouseMove:u,onMouseLeave:s,onClick:d,reconnectRadius:f,onDoubleClick:g,onReconnectStart:b,onReconnectEnd:v,rfId:t,onError:y,edgeTypes:x,disableKeyboardA11y:h},P))]})}bc[c(1689)]=c(1533);const gh=N[c(571)](bc),yh=n=>c(1925)+n.transform[0]+c(814)+n[c(2213)][1]+c(600)+n.transform[2]+")";function mh({children:n}){const e=c,t=Me(yh);return l[e(1403)](e(1467),{className:e(1384),style:{transform:t},children:n})}function wh(n){const e=c,t=uo(),x=N.useRef(!1);N[e(1849)](()=>{const r=e;!x.current&&t.viewportInitialized&&n&&(setTimeout(()=>n(t),1),x[r(2089)]=!0)},[n,t.viewportInitialized])}const vh=n=>n[c(1226)]?.[c(612)];function ph(n){const e=c,t=Me(vh),x=ke();return N[e(1849)](()=>{const r=e;n&&(t?.(n),x[r(1609)]({transform:[n.x,n.y,n[r(669)]]}))},[n,t]),null}function zh(n){const e=c;return n.connection.inProgress?{...n[e(948)],to:Kn(n[e(948)].to,n[e(2213)])}:{...n[e(948)]}}function Ch(n){return zh}function Mh(n){const e=Ch();return Me(e,Se)}const Bh=n=>({nodesConnectable:n.nodesConnectable,isValid:n[c(948)][c(1639)],inProgress:n.connection[c(1666)],width:n.width,height:n[c(469)]});function Dh({containerStyle:n,style:e,type:t,component:x}){const r=c,{nodesConnectable:o,width:i,height:a,isValid:u,inProgress:s}=Me(Bh,Se);return!(i&&o&&s)?null:l[r(1403)](r(1235),{style:n,width:i,height:a,className:"react-flow__connectionline react-flow__container",children:l.jsx("g",{className:Ae([r(1899),zi(u)]),children:l[r(1403)](hc,{style:e,type:t,CustomComponent:x,isValid:u})})})}const hc=({style:n,type:e=v0[c(1973)],CustomComponent:t,isValid:x})=>{const r=c,{inProgress:o,from:i,fromNode:a,fromHandle:u,fromPosition:s,to:d,toNode:f,toHandle:g,toPosition:b,pointer:v}=Mh();if(!o)return;if(t)return l[r(1403)](t,{connectionLineType:e,connectionLineStyle:n,fromNode:a,fromHandle:u,fromX:i.x,fromY:i.y,toX:d.x,toY:d.y,fromPosition:s,toPosition:b,connectionStatus:zi(x),toNode:f,toHandle:g,pointer:v});let h="";const p={sourceX:i.x,sourceY:i.y,sourcePosition:s,targetX:d.x,targetY:d.y,targetPosition:b};switch(e){case v0[r(1973)]:[h]=Vi(p);break;case v0[r(1463)]:[h]=Fa(p);break;case v0[r(1715)]:[h]=Rx({...p,borderRadius:0});break;case v0[r(2078)]:[h]=Rx(p);break;default:[h]=qi(p)}return l[r(1403)](r(2065),{d:h,fill:r(928),className:"react-flow__connection-path",style:n})};hc[c(1689)]=c(1903);const Lh={};function gc(n=Lh){const e=c,t=N.useRef(n),x=ke();N[e(1849)](()=>{const r=e;if(process.env.NODE_ENV==="development"){const o=new Set([...Object[r(864)](t[r(2089)]),...Object[r(864)](n)]);for(const i of o)if(t.current[i]!==n[i]){x.getState()[r(833)]?.("002",We[r(625)]());break}t.current=n}},[n])}function Nh(){const n=c,e=ke(),t=N[n(1912)](!1);N.useEffect(()=>{const x=n;if(process.env.NODE_ENV===x(1704)&&!t[x(2089)]){const r=document.querySelector(x(875));r&&window[x(1980)](r)[x(2081)]!=="1"&&e[x(975)]()[x(833)]?.("013",We[x(1789)]("react")),t.current=!0}},[])}function yc({nodeTypes:n,edgeTypes:e,onInit:t,onNodeClick:x,onEdgeClick:r,onNodeDoubleClick:o,onEdgeDoubleClick:i,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,onSelectionContextMenu:f,onSelectionStart:g,onSelectionEnd:b,connectionLineType:v,connectionLineStyle:h,connectionLineComponent:p,connectionLineContainerStyle:M,selectionKeyCode:m,selectionOnDrag:w,selectionMode:y,multiSelectionKeyCode:C,panActivationKeyCode:P,zoomActivationKeyCode:Y,deleteKeyCode:G,onlyRenderVisibleElements:T,elementsSelectable:U,defaultViewport:Q,translateExtent:X,minZoom:W,maxZoom:O,preventScrolling:L,defaultMarkerColor:B,zoomOnScroll:D,zoomOnPinch:E,panOnScroll:A,panOnScrollSpeed:S,panOnScrollMode:R,zoomOnDoubleClick:_,panOnDrag:Z,onPaneClick:$,onPaneMouseEnter:te,onPaneMouseMove:se,onPaneMouseLeave:ce,onPaneScroll:re,onPaneContextMenu:xe,paneClickDistance:ne,nodeClickDistance:ae,onEdgeContextMenu:I,onEdgeMouseEnter:k,onEdgeMouseMove:K,onEdgeMouseLeave:V,reconnectRadius:H,onReconnect:ie,onReconnectStart:be,onReconnectEnd:me,noDragClassName:he,noWheelClassName:we,noPanClassName:Ne,disableKeyboardA11y:ze,nodeExtent:De,rfId:Oe,viewport:Ge,onViewportChange:Ke}){const Ie=c;return gc(n),gc(e),Nh(),wh(t),ph(Ge),l.jsx(q2,{onPaneClick:$,onPaneMouseEnter:te,onPaneMouseMove:se,onPaneMouseLeave:ce,onPaneContextMenu:xe,onPaneScroll:re,paneClickDistance:ne,deleteKeyCode:G,selectionKeyCode:m,selectionOnDrag:w,selectionMode:y,onSelectionStart:g,onSelectionEnd:b,multiSelectionKeyCode:C,panActivationKeyCode:P,zoomActivationKeyCode:Y,elementsSelectable:U,zoomOnScroll:D,zoomOnPinch:E,zoomOnDoubleClick:_,panOnScroll:A,panOnScrollSpeed:S,panOnScrollMode:R,panOnDrag:Z,defaultViewport:Q,translateExtent:X,minZoom:W,maxZoom:O,onSelectionContextMenu:f,preventScrolling:L,noDragClassName:he,noWheelClassName:we,noPanClassName:Ne,disableKeyboardA11y:ze,onViewportChange:Ke,isControlledViewport:!!Ge,children:l[Ie(1900)](mh,{children:[l[Ie(1403)](gh,{edgeTypes:e,onEdgeClick:r,onEdgeDoubleClick:i,onReconnect:ie,onReconnectStart:be,onReconnectEnd:me,onlyRenderVisibleElements:T,onEdgeContextMenu:I,onEdgeMouseEnter:k,onEdgeMouseMove:K,onEdgeMouseLeave:V,reconnectRadius:H,defaultMarkerColor:B,noPanClassName:Ne,disableKeyboardA11y:ze,rfId:Oe}),l[Ie(1403)](Dh,{style:h,type:v,component:p,containerStyle:M}),l[Ie(1403)]("div",{className:Ie(1164)}),l[Ie(1403)](F2,{nodeTypes:n,onNodeClick:x,onNodeDoubleClick:o,onNodeMouseEnter:a,onNodeMouseMove:u,onNodeMouseLeave:s,onNodeContextMenu:d,nodeClickDistance:ae,onlyRenderVisibleElements:T,noPanClassName:Ne,noDragClassName:he,disableKeyboardA11y:ze,nodeExtent:De,rfId:Oe}),l[Ie(1403)]("div",{className:Ie(1471)})]})})}yc[c(1689)]=c(1726);const Sh=N[c(571)](yc),mc=({nodes:n,edges:e,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u=.5,maxZoom:s=2,nodeOrigin:d,nodeExtent:f,zIndexMode:g="basic"}={})=>{const b=c,v=new Map,h=new Map,p=new Map,M=new Map,m=x??e??[],w=t??n??[],y=d??[0,0],C=f??Vn;Fi(p,M,m);const{nodesInitialized:P}=$x(w,v,h,{nodeOrigin:y,nodeExtent:C,zIndexMode:g});let Y=[0,0,1];if(i&&r&&o){const G=qn(v,{filter:X=>!!((X.width||X[b(2085)])&&(X[b(469)]||X[b(1281)]))}),{x:T,y:U,zoom:Q}=Kx(G,r,o,u,s,a?.padding??.1);Y=[T,U,Q]}return{rfId:"1",width:r??0,height:o??0,transform:Y,nodes:w,nodesInitialized:P,nodeLookup:v,parentLookup:h,edges:m,edgeLookup:M,connectionLookup:p,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:t!==void 0,hasDefaultEdges:x!==void 0,panZoom:null,minZoom:u,maxZoom:s,translateExtent:Vn,nodeExtent:C,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:sn.Strict,domNode:null,paneDragging:!1,noPanClassName:b(1695),nodeOrigin:y,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:ki,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:wi,zIndexMode:g,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map}},kh=({nodes:n,edges:e,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,zIndexMode:g})=>Jb((b,v)=>{async function h(){const p=_0x5299,{nodeLookup:M,panZoom:m,fitViewOptions:w,fitViewResolver:y,width:C,height:P,minZoom:Y,maxZoom:G}=v();m&&(await Wf({nodes:M,width:C,height:P,panZoom:m,minZoom:Y,maxZoom:G},w),y?.[p(732)](!0),b({fitViewResolver:null}))}return{...mc({nodes:n,edges:e,width:r,height:o,fitView:i,fitViewOptions:a,minZoom:u,maxZoom:s,nodeOrigin:d,nodeExtent:f,defaultNodes:t,defaultEdges:x,zIndexMode:g}),setNodes:p=>{const{nodeLookup:M,parentLookup:m,nodeOrigin:w,elevateNodesOnSelect:y,fitViewQueued:C,zIndexMode:P,nodesSelectionActive:Y}=v(),{nodesInitialized:G,hasSelectedNodes:T}=$x(p,M,m,{nodeOrigin:w,nodeExtent:f,elevateNodesOnSelect:y,checkEquality:!0,zIndexMode:P}),U=Y&&T;C&&G?(h(),b({nodes:p,nodesInitialized:G,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:U})):b({nodes:p,nodesInitialized:G,nodesSelectionActive:U})},setEdges:p=>{const{connectionLookup:M,edgeLookup:m}=v();Fi(M,m,p),b({edges:p})},setDefaultNodesAndEdges:(p,M)=>{if(p){const{setNodes:m}=v();m(p),b({hasDefaultNodes:!0})}if(M){const{setEdges:m}=v();m(M),b({hasDefaultEdges:!0})}},updateNodeInternals:p=>{const M=_0x5299,{triggerNodeChanges:m,nodeLookup:w,parentLookup:y,domNode:C,nodeOrigin:P,nodeExtent:Y,debug:G,fitViewQueued:T,zIndexMode:U}=v(),{changes:Q,updatedInternals:X}=ub(p,w,y,C,P,Y,U);X&&(cb(w,y,{nodeOrigin:P,nodeExtent:Y,zIndexMode:U}),T?(h(),b({fitViewQueued:!1,fitViewOptions:void 0})):b({}),Q?.[M(707)]>0&&(G&&console.log(M(1211),Q),m?.(Q)))},updateNodePositions:(p,M=!1)=>{const m=_0x5299,w=[];let y=[];const{nodeLookup:C,triggerNodeChanges:P,connection:Y,updateConnection:G,onNodesChangeMiddlewareMap:T}=v();for(const[U,Q]of p){const X=C[m(1710)](U),W=!!(X?.[m(1644)]&&X?.[m(1497)]&&Q?.[m(818)]),O={id:U,type:m(818),position:W?{x:Math[m(2014)](0,Q[m(818)].x),y:Math[m(2014)](0,Q[m(818)].y)}:Q[m(818)],dragging:M};if(X&&Y[m(1666)]&&Y[m(491)].id===X.id){const L=O0(X,Y.fromHandle,ue.Left,!0);G({...Y,from:L})}W&&X.parentId&&w[m(1181)]({id:U,parentId:X[m(1497)],rect:{...Q[m(972)][m(2238)],width:Q.measured[m(831)]??0,height:Q[m(485)][m(469)]??0}}),y.push(O)}if(w[m(707)]>0){const{parentLookup:U,nodeOrigin:Q}=v(),X=no(w,C,U,Q);y[m(1181)](...X)}for(const U of T[m(779)]())y=U(y);P(y)},triggerNodeChanges:p=>{const M=_0x5299,{onNodesChange:m,setNodes:w,nodes:y,hasDefaultNodes:C,debug:P}=v();if(p?.[M(707)]){if(C){const Y=Pa(p,y);w(Y)}P&&console[M(615)](M(1211),p),m?.(p)}},triggerEdgeChanges:p=>{const M=_0x5299,{onEdgesChange:m,setEdges:w,edges:y,hasDefaultEdges:C,debug:P}=v();if(p?.[M(707)]){if(C){const Y=Aa(p,y);w(Y)}P&&console[M(615)]("React Flow: trigger edge changes",p),m?.(p)}},addSelectedNodes:p=>{const{multiSelectionActive:M,edgeLookup:m,nodeLookup:w,triggerNodeChanges:y,triggerEdgeChanges:C}=v();if(M){const P=p.map(Y=>G0(Y,!0));y(P);return}y(gn(w,new Set([...p]),!0)),C(gn(m))},addSelectedEdges:p=>{const M=_0x5299,{multiSelectionActive:m,edgeLookup:w,nodeLookup:y,triggerNodeChanges:C,triggerEdgeChanges:P}=v();if(m){const Y=p[M(1577)](G=>G0(G,!0));P(Y);return}P(gn(w,new Set([...p]))),C(gn(y,new Set,!0))},unselectNodesAndEdges:({nodes:p,edges:M}={})=>{const m=_0x5299,{edges:w,nodes:y,nodeLookup:C,triggerNodeChanges:P,triggerEdgeChanges:Y}=v(),G=p||y,T=M||w,U=[];for(const X of G){if(!X.selected)continue;const W=C[m(1710)](X.id);W&&(W.selected=!1),U[m(1181)](G0(X.id,!1))}const Q=[];for(const X of T)X[m(857)]&&Q[m(1181)](G0(X.id,!1));P(U),Y(Q)},setMinZoom:p=>{const M=_0x5299,{panZoom:m,maxZoom:w}=v();m?.[M(1990)]([p,w]),b({minZoom:p})},setMaxZoom:p=>{const{panZoom:M,minZoom:m}=v();M?.setScaleExtent([m,p]),b({maxZoom:p})},setTranslateExtent:p=>{const M=_0x5299;v().panZoom?.[M(936)](p),b({translateExtent:p})},resetSelectedElements:()=>{const p=_0x5299,{edges:M,nodes:m,triggerNodeChanges:w,triggerEdgeChanges:y,elementsSelectable:C}=v();if(!C)return;const P=m[p(770)]((G,T)=>T.selected?[...G,G0(T.id,!1)]:G,[]),Y=M[p(770)]((G,T)=>T[p(857)]?[...G,G0(T.id,!1)]:G,[]);w(P),y(Y)},setNodeExtent:p=>{const{nodes:M,nodeLookup:m,parentLookup:w,nodeOrigin:y,elevateNodesOnSelect:C,nodeExtent:P,zIndexMode:Y}=v();p[0][0]===P[0][0]&&p[0][1]===P[0][1]&&p[1][0]===P[1][0]&&p[1][1]===P[1][1]||($x(M,m,w,{nodeOrigin:y,nodeExtent:p,elevateNodesOnSelect:C,checkEquality:!1,zIndexMode:Y}),b({nodeExtent:p}))},panBy:p=>{const{transform:M,width:m,height:w,panZoom:y,translateExtent:C}=v();return fb({delta:p,panZoom:y,transform:M,translateExtent:C,width:m,height:w})},setCenter:async(p,M,m)=>{const w=_0x5299,{width:y,height:C,maxZoom:P,panZoom:Y}=v();if(!Y)return Promise[w(732)](!1);const G=typeof m?.[w(669)]!==w(2157)?m[w(669)]:P;return await Y.setViewport({x:y/2-p*G,y:C/2-M*G,zoom:G},{duration:m?.[w(840)],ease:m?.[w(768)],interpolate:m?.[w(820)]}),Promise[w(732)](!0)},cancelConnection:()=>{b({connection:{...vi}})},updateConnection:p=>{b({connection:p})},reset:()=>b({...mc()})}},Object.is);function Ih({initialNodes:n,initialEdges:e,defaultNodes:t,defaultEdges:x,initialWidth:r,initialHeight:o,initialMinZoom:i,initialMaxZoom:a,initialFitViewOptions:u,fitView:s,nodeOrigin:d,nodeExtent:f,zIndexMode:g,children:b}){const v=c,[h]=N[v(646)](()=>kh({nodes:n,edges:e,defaultNodes:t,defaultEdges:x,width:r,height:o,fitView:s,minZoom:i,maxZoom:a,fitViewOptions:u,nodeOrigin:d,nodeExtent:f,zIndexMode:g}));return l[v(1403)](_b,{value:h,children:l[v(1403)](m2,{children:b})})}function Ph({children:n,nodes:e,edges:t,defaultNodes:x,defaultEdges:r,width:o,height:i,fitView:a,fitViewOptions:u,minZoom:s,maxZoom:d,nodeOrigin:f,nodeExtent:g,zIndexMode:b}){const v=c;return N.useContext(Xt)?l[v(1403)](l.Fragment,{children:n}):l[v(1403)](Ih,{initialNodes:e,initialEdges:t,defaultNodes:x,defaultEdges:r,initialWidth:o,initialHeight:i,fitView:a,initialFitViewOptions:u,initialMinZoom:s,initialMaxZoom:d,nodeOrigin:f,nodeExtent:g,zIndexMode:b,children:n})}const Ah={width:c(924),height:c(924),overflow:c(457),position:c(1204),zIndex:0};function jh({nodes:n,edges:e,defaultNodes:t,defaultEdges:x,className:r,nodeTypes:o,edgeTypes:i,onNodeClick:a,onEdgeClick:u,onInit:s,onMove:d,onMoveStart:f,onMoveEnd:g,onConnect:b,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:M,onNodeMouseEnter:m,onNodeMouseMove:w,onNodeMouseLeave:y,onNodeContextMenu:C,onNodeDoubleClick:P,onNodeDragStart:Y,onNodeDrag:G,onNodeDragStop:T,onNodesDelete:U,onEdgesDelete:Q,onDelete:X,onSelectionChange:W,onSelectionDragStart:O,onSelectionDrag:L,onSelectionDragStop:B,onSelectionContextMenu:D,onSelectionStart:E,onSelectionEnd:A,onBeforeDelete:S,connectionMode:R,connectionLineType:_=v0[c(1973)],connectionLineStyle:Z,connectionLineComponent:$,connectionLineContainerStyle:te,deleteKeyCode:se=c(923),selectionKeyCode:ce=c(1298),selectionOnDrag:re=!1,selectionMode:xe=Hn[c(1265)],panActivationKeyCode:ne=c(1073),multiSelectionKeyCode:ae=Zn()?"Meta":c(1390),zoomActivationKeyCode:I=Zn()?c(714):c(1390),snapToGrid:k,snapGrid:K,onlyRenderVisibleElements:V=!1,selectNodesOnDrag:H,nodesDraggable:ie,autoPanOnNodeFocus:be,nodesConnectable:me,nodesFocusable:he,nodeOrigin:we=Ma,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:De=!0,defaultViewport:Oe=s2,minZoom:Ge=.5,maxZoom:Ke=2,translateExtent:Ie=Vn,preventScrolling:Ze=!0,nodeExtent:r0,defaultMarkerColor:V0=c(846),zoomOnScroll:B0=!0,zoomOnPinch:i0=!0,panOnScroll:a0=!1,panOnScrollSpeed:H0=.5,panOnScrollMode:T0=Y0[c(1196)],zoomOnDoubleClick:q0=!0,panOnDrag:Re=!0,onPaneClick:W0,onPaneMouseEnter:je,onPaneMouseMove:X0,onPaneMouseLeave:c0,onPaneScroll:K0,onPaneContextMenu:D0,paneClickDistance:mn=1,nodeClickDistance:yo=0,children:mo,onReconnect:wo,onReconnectStart:vo,onReconnectEnd:po,onEdgeContextMenu:ex,onEdgeDoubleClick:nx,onEdgeMouseEnter:tx,onEdgeMouseMove:xx,onEdgeMouseLeave:ox,reconnectRadius:_n=10,onNodesChange:Z0,onEdgesChange:R0,noDragClassName:zo="nodrag",noWheelClassName:wn=c(912),noPanClassName:Qn="nopan",fitView:Fn,fitViewOptions:rx,connectOnClick:Co,attributionPosition:ix,proOptions:ax,defaultEdgeOptions:$n,elevateNodesOnSelect:cx=!0,elevateEdgesOnSelect:et=!1,disableKeyboardA11y:j=!1,autoPanOnConnect:q,autoPanOnNodeDrag:ee,autoPanSpeed:oe,connectionRadius:de,isValidConnection:J,onError:F,style:fe,id:ye,nodeDragThreshold:ge,connectionDragThreshold:Be,viewport:Ce,onViewportChange:Le,width:Ue,height:s0,colorMode:L0=c(2111),debug:y0,onScroll:J0,ariaLabelConfig:_0,zIndexMode:jc=c(937),...Ag},jg){const l0=c,Mo=ye||"1",Eg=f2(L0),Yg=N.useCallback(Ec=>{const Yc=_0x5299;Ec[Yc(906)].scrollTo({top:0,left:0,behavior:Yc(1882)}),J0?.(Ec)},[J0]);return l.jsx(l0(1467),{"data-testid":l0(1272),...Ag,onScroll:Yg,style:{...fe,...Ah},ref:jg,className:Ae([l0(1713),r,Eg]),id:ye,role:l0(2193),children:l[l0(1900)](Ph,{nodes:n,edges:e,width:Ue,height:s0,fitView:Fn,fitViewOptions:rx,minZoom:Ge,maxZoom:Ke,nodeOrigin:we,nodeExtent:r0,zIndexMode:jc,children:[l[l0(1403)](u2,{nodes:n,edges:e,defaultNodes:t,defaultEdges:x,onConnect:b,onConnectStart:v,onConnectEnd:h,onClickConnectStart:p,onClickConnectEnd:M,nodesDraggable:ie,autoPanOnNodeFocus:be,nodesConnectable:me,nodesFocusable:he,edgesFocusable:Ne,edgesReconnectable:ze,elementsSelectable:De,elevateNodesOnSelect:cx,elevateEdgesOnSelect:et,minZoom:Ge,maxZoom:Ke,nodeExtent:r0,onNodesChange:Z0,onEdgesChange:R0,snapToGrid:k,snapGrid:K,connectionMode:R,translateExtent:Ie,connectOnClick:Co,defaultEdgeOptions:$n,fitView:Fn,fitViewOptions:rx,onNodesDelete:U,onEdgesDelete:Q,onDelete:X,onNodeDragStart:Y,onNodeDrag:G,onNodeDragStop:T,onSelectionDrag:L,onSelectionDragStart:O,onSelectionDragStop:B,onMove:d,onMoveStart:f,onMoveEnd:g,noPanClassName:Qn,nodeOrigin:we,rfId:Mo,autoPanOnConnect:q,autoPanOnNodeDrag:ee,autoPanSpeed:oe,onError:F,connectionRadius:de,isValidConnection:J,selectNodesOnDrag:H,nodeDragThreshold:ge,connectionDragThreshold:Be,onBeforeDelete:S,debug:y0,ariaLabelConfig:_0,zIndexMode:jc}),l[l0(1403)](Sh,{onInit:s,onNodeClick:a,onEdgeClick:u,onNodeMouseEnter:m,onNodeMouseMove:w,onNodeMouseLeave:y,onNodeContextMenu:C,onNodeDoubleClick:P,nodeTypes:o,edgeTypes:i,connectionLineType:_,connectionLineStyle:Z,connectionLineComponent:$,connectionLineContainerStyle:te,selectionKeyCode:ce,selectionOnDrag:re,selectionMode:xe,deleteKeyCode:se,multiSelectionKeyCode:ae,panActivationKeyCode:ne,zoomActivationKeyCode:I,onlyRenderVisibleElements:V,defaultViewport:Oe,translateExtent:Ie,minZoom:Ge,maxZoom:Ke,preventScrolling:Ze,zoomOnScroll:B0,zoomOnPinch:i0,zoomOnDoubleClick:q0,panOnScroll:a0,panOnScrollSpeed:H0,panOnScrollMode:T0,panOnDrag:Re,onPaneClick:W0,onPaneMouseEnter:je,onPaneMouseMove:X0,onPaneMouseLeave:c0,onPaneScroll:K0,onPaneContextMenu:D0,paneClickDistance:mn,nodeClickDistance:yo,onSelectionContextMenu:D,onSelectionStart:E,onSelectionEnd:A,onReconnect:wo,onReconnectStart:vo,onReconnectEnd:po,onEdgeContextMenu:ex,onEdgeDoubleClick:nx,onEdgeMouseEnter:tx,onEdgeMouseMove:xx,onEdgeMouseLeave:ox,reconnectRadius:_n,defaultMarkerColor:V0,noDragClassName:zo,noWheelClassName:wn,noPanClassName:Qn,rfId:Mo,disableKeyboardA11y:j,nodeExtent:r0,viewport:Ce,onViewportChange:Le}),l[l0(1403)](c2,{onSelectionChange:W}),mo,l[l0(1403)](x2,{proOptions:ax,position:ix}),l[l0(1403)](t2,{rfId:Mo,disableKeyboardA11y:j})]})})}var Eh=Ua(jh);function Yh(n){const e=c,[t,x]=N[e(646)](n),r=N.useCallback(o=>x(i=>Pa(o,i)),[]);return[t,x,r]}function Uh(n){const e=c,[t,x]=N[e(646)](n),r=N[e(1567)](o=>x(i=>Aa(o,i)),[]);return[t,x,r]}function Oh({dimensions:n,lineWidth:e,variant:t,className:x}){const r=c;return l.jsx(r(2065),{strokeWidth:e,d:"M"+n[0]/2+r(1215)+n[1]+r(1619)+n[1]/2+" H"+n[0],className:Ae(["react-flow__background-pattern",t,x])})}function Gh({radius:n,className:e}){const t=c;return l[t(1403)](t(1944),{cx:n,cy:n,r:n,className:Ae(["react-flow__background-pattern",t(1548),e])})}var C0;(function(n){const e=c;n.Lines=e(1144),n[e(1703)]=e(1548),n[e(1651)]="cross"})(C0||(C0={}));const Vh={[C0[c(1703)]]:1,[C0[c(1965)]]:1,[C0.Cross]:6},Hh=n=>({transform:n.transform,patternId:c(1543)+n[c(1223)]});function wc({id:n,variant:e=C0[c(1703)],gap:t=20,size:x,lineWidth:r=1,offset:o=0,color:i,bgColor:a,style:u,className:s,patternClassName:d}){const f=c,g=N[f(1912)](null),{transform:b,patternId:v}=Me(Hh,Se),h=x||Vh[e],p=e===C0[f(1703)],M=e===C0[f(1651)],m=Array[f(611)](t)?t:[t,t],w=[m[0]*b[2]||1,m[1]*b[2]||1],y=h*b[2],C=Array[f(611)](o)?o:[o,o],P=M?[y,y]:w,Y=[C[0]*b[2]||1+P[0]/2,C[1]*b[2]||1+P[1]/2],G=""+v+(n||"");return l[f(1900)](f(1235),{className:Ae([f(1377),s]),style:{...u,...Rt,"--xy-background-color-props":a,"--xy-background-pattern-color-props":i},ref:g,"data-testid":"rf__background",children:[l.jsx(f(860),{id:G,x:b[0]%w[0],y:b[1]%w[1],width:w[0],height:w[1],patternUnits:f(1583),patternTransform:f(1378)+Y[0]+",-"+Y[1]+")",children:p?l[f(1403)](Gh,{radius:y/2,className:d}):l[f(1403)](Oh,{dimensions:P,lineWidth:r,variant:e,className:d})}),l[f(1403)](f(1294),{x:"0",y:"0",width:f(924),height:"100%",fill:f(638)+G+")"})]})}wc[c(1689)]=c(1089);const Th=N[c(571)](wc);function qh(){const n=c;return l.jsx("svg",{xmlns:n(1720),viewBox:n(828),children:l[n(1403)](n(2065),{d:n(1724)})})}function Wh(){const n=c;return l[n(1403)](n(1235),{xmlns:n(1720),viewBox:n(1392),children:l[n(1403)](n(2065),{d:"M0 0h32v4.2H0z"})})}function Xh(){const n=c;return l[n(1403)]("svg",{xmlns:n(1720),viewBox:n(1353),children:l.jsx(n(2065),{d:n(679)})})}function Kh(){const n=c;return l[n(1403)](n(1235),{xmlns:n(1720),viewBox:n(452),children:l[n(1403)](n(2065),{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 Zh(){const n=c;return l[n(1403)]("svg",{xmlns:n(1720),viewBox:n(452),children:l[n(1403)](n(2065),{d:n(2237)})})}function Qt({children:n,className:e,...t}){const x=c;return l[x(1403)](x(1961),{type:x(1961),className:Ae([x(2007),e]),...t,children:n})}const Rh=n=>({isInteractive:n[c(439)]||n[c(2156)]||n[c(891)],minZoomReached:n[c(2213)][2]<=n.minZoom,maxZoomReached:n[c(2213)][2]>=n[c(873)],ariaLabelConfig:n.ariaLabelConfig});function vc({style:n,showZoom:e=!0,showFitView:t=!0,showInteractive:x=!0,fitViewOptions:r,onZoomIn:o,onZoomOut:i,onFitView:a,onInteractiveChange:u,className:s,children:d,position:f=c(620),orientation:g=c(1309),"aria-label":b}){const v=c,h=ke(),{isInteractive:p,minZoomReached:M,maxZoomReached:m,ariaLabelConfig:w}=Me(Rh,Se),{zoomIn:y,zoomOut:C,fitView:P}=uo(),Y=()=>{y(),o?.()},G=()=>{C(),i?.()},T=()=>{P(r),a?.()},U=()=>{h[_0x5299(1609)]({nodesDraggable:!p,nodesConnectable:!p,elementsSelectable:!p}),u?.(!p)},Q=v(g==="horizontal"?1813:1309);return l[v(1900)](Kt,{className:Ae([v(803),Q,s]),position:f,style:n,"data-testid":"rf__controls","aria-label":b??w[v(879)],children:[e&&l[v(1900)](l.Fragment,{children:[l.jsx(Qt,{onClick:Y,className:v(1743),title:w["controls.zoomIn.ariaLabel"],"aria-label":w[v(845)],disabled:m,children:l[v(1403)](qh,{})}),l[v(1403)](Qt,{onClick:G,className:v(1422),title:w[v(1125)],"aria-label":w[v(1125)],disabled:M,children:l[v(1403)](Wh,{})})]}),t&&l[v(1403)](Qt,{className:v(1455),onClick:T,title:w[v(1801)],"aria-label":w["controls.fitView.ariaLabel"],children:l[v(1403)](Xh,{})}),x&&l[v(1403)](Qt,{className:v(2039),onClick:U,title:w[v(2003)],"aria-label":w["controls.interactive.ariaLabel"],children:p?l[v(1403)](Zh,{}):l[v(1403)](Kh,{})}),d]})}vc[c(1689)]=c(2080);const Jh=N.memo(vc);function _h({id:n,x:e,y:t,width:x,height:r,style:o,color:i,strokeColor:a,strokeWidth:u,className:s,borderRadius:d,shapeRendering:f,selected:g,onClick:b}){const v=c,{background:h,backgroundColor:p}=o||{},M=i||h||p;return l.jsx(v(1294),{className:Ae(["react-flow__minimap-node",{selected:g},s]),x:e,y:t,rx:d,ry:d,width:x,height:r,style:{fill:M,stroke:a,strokeWidth:u},shapeRendering:f,onClick:b?m=>b(m,n):void 0})}const Qh=N[c(571)](_h),Fh=n=>n[c(824)][c(1577)](e=>e.id),go=n=>n instanceof Function?n:()=>n;function $h({nodeStrokeColor:n,nodeColor:e,nodeClassName:t="",nodeBorderRadius:x=5,nodeStrokeWidth:r,nodeComponent:o=Qh,onClick:i}){const a=c,u=Me(Fh,Se),s=go(e),d=go(n),f=go(t),g=typeof window===a(2157)||window.chrome?a(1829):"geometricPrecision";return l.jsx(l[a(2082)],{children:u[a(1577)](b=>l[a(1403)](ng,{id:b,nodeColorFunc:s,nodeStrokeColorFunc:d,nodeClassNameFunc:f,nodeBorderRadius:x,nodeStrokeWidth:r,NodeComponent:o,onClick:i,shapeRendering:g},b))})}function eg({id:n,nodeColorFunc:e,nodeStrokeColorFunc:t,nodeClassNameFunc:x,nodeBorderRadius:r,nodeStrokeWidth:o,shapeRendering:i,NodeComponent:a,onClick:u}){const s=c,{node:d,x:f,y:g,width:b,height:v}=Me(h=>{const p=_0x5299,M=h[p(979)][p(1710)](n);if(!M)return{node:void 0,x:0,y:0,width:0,height:0};const m=M[p(972)][p(1647)],{x:w,y}=M[p(972)][p(2238)],{width:C,height:P}=g0(m);return{node:m,x:w,y,width:C,height:P}},Se);return!d||d[s(457)]||!Ii(d)?null:l[s(1403)](a,{x:f,y:g,width:b,height:v,style:d[s(693)],selected:!!d[s(857)],className:x(d),color:e(d),borderRadius:r,strokeColor:t(d),strokeWidth:o,shapeRendering:i,onClick:u,id:d.id})}const ng=N[c(571)](eg);var tg=N[c(571)]($h);const xg=200,og=150,rg=n=>!n[c(457)],ig=n=>{const e=c,t={x:-n[e(2213)][0]/n[e(2213)][2],y:-n[e(2213)][1]/n[e(2213)][2],width:n[e(831)]/n[e(2213)][2],height:n[e(469)]/n[e(2213)][2]};return{viewBB:t,boundingRect:n[e(979)][e(1634)]>0?Ni(qn(n[e(979)],{filter:rg}),t):t,rfId:n[e(1223)],panZoom:n[e(1226)],translateExtent:n[e(1138)],flowWidth:n[e(831)],flowHeight:n[e(469)],ariaLabelConfig:n[e(957)]}},ag=c(528);function pc({style:n,className:e,nodeStrokeColor:t,nodeColor:x,nodeClassName:r="",nodeBorderRadius:o=5,nodeStrokeWidth:i,nodeComponent:a,bgColor:u,maskColor:s,maskStrokeColor:d,maskStrokeWidth:f,position:g="bottom-right",onClick:b,onNodeClick:v,pannable:h=!1,zoomable:p=!1,ariaLabel:M,inversePan:m,zoomStep:w=1,offsetScale:y=5}){const C=c,P=ke(),Y=N[C(1912)](null),{boundingRect:G,viewBB:T,rfId:U,panZoom:Q,translateExtent:X,flowWidth:W,flowHeight:O,ariaLabelConfig:L}=Me(ig,Se),B=n?.width??xg,D=n?.[C(469)]??og,E=G[C(831)]/B,A=G[C(469)]/D,S=Math.max(E,A),R=S*B,_=S*D,Z=y*S,$=G.x-(R-G[C(831)])/2-Z,te=G.y-(_-G.height)/2-Z,se=R+Z*2,ce=_+Z*2,re=ag+"-"+U,xe=N[C(1912)](0),ne=N[C(1912)]();xe.current=S,N[C(1849)](()=>{const K=C;if(Y.current&&Q)return ne[K(2089)]=zb({domNode:Y[K(2089)],panZoom:Q,getTransform:()=>P[K(975)]()[K(2213)],getViewScale:()=>xe.current}),()=>{const V=K;ne[V(2089)]?.[V(1212)]()}},[Q]),N[C(1849)](()=>{const K=C;ne[K(2089)]?.[K(1742)]({translateExtent:X,width:W,height:O,inversePan:m,pannable:h,zoomStep:w,zoomable:p})},[h,p,m,w,X,W,O]);const ae=b?K=>{const V=C,[H,ie]=ne.current?.[V(2032)](K)||[0,0];b(K,{x:H,y:ie})}:void 0,I=v?N.useCallback((K,V)=>{const H=C,ie=P.getState()[H(979)][H(1710)](V)[H(972)][H(1647)];v(K,ie)},[]):void 0,k=M??L[C(1151)];return l[C(1403)](Kt,{position:g,style:{...n,"--xy-minimap-background-color-props":typeof u===C(1857)?u:void 0,"--xy-minimap-mask-background-color-props":typeof s===C(1857)?s:void 0,"--xy-minimap-mask-stroke-color-props":typeof d===C(1857)?d:void 0,"--xy-minimap-mask-stroke-width-props":typeof f===C(2134)?f*S:void 0,"--xy-minimap-node-background-color-props":typeof x===C(1857)?x:void 0,"--xy-minimap-node-stroke-color-props":typeof t=="string"?t:void 0,"--xy-minimap-node-stroke-width-props":typeof i===C(2134)?i:void 0},className:Ae(["react-flow__minimap",e]),"data-testid":C(1723),children:l[C(1900)](C(1235),{width:B,height:D,viewBox:$+" "+te+" "+se+" "+ce,className:C(513),role:"img","aria-labelledby":re,ref:Y,onClick:ae,children:[k&&l[C(1403)](C(1301),{id:re,children:k}),l.jsx(tg,{onClick:I,nodeColor:x,nodeStrokeColor:t,nodeBorderRadius:o,nodeClassName:r,nodeStrokeWidth:i,nodeComponent:a}),l[C(1403)](C(2065),{className:C(1028),d:"M"+($-Z)+","+(te-Z)+"h"+(se+Z*2)+"v"+(ce+Z*2)+"h"+(-se-Z*2)+`z
|
|
11
|
+
M`+T.x+","+T.y+"h"+T[C(831)]+"v"+T[C(469)]+"h"+-T[C(831)]+"z",fillRule:C(1291),pointerEvents:C(928)})]})})}pc.displayName=c(1613);const cg=N.memo(pc),sg=n=>e=>n?""+Math[c(2014)](1/e[c(2213)][2],1):void 0,lg={[hn[c(1835)]]:"right",[hn[c(999)]]:c(1075)};function dg({nodeId:n,position:e,variant:t=hn[c(999)],className:x,style:r=void 0,children:o,color:i,minWidth:a=10,minHeight:u=10,maxWidth:s=Number.MAX_VALUE,maxHeight:d=Number[c(613)],keepAspectRatio:f=!1,resizeDirection:g,autoScale:b=!0,shouldResize:v,onResizeStart:h,onResize:p,onResizeEnd:M}){const m=c,w=qa(),y=typeof n===m(1857)?n:w,C=ke(),P=N.useRef(null),Y=t===hn[m(999)],G=Me(N[m(1567)](sg(Y&&b),[Y,b]),Se),T=N[m(1912)](null),U=e??lg[t];N[m(1849)](()=>{const X=m;if(!(!P[X(2089)]||!y))return!T[X(2089)]&&(T[X(2089)]=Yb({domNode:P[X(2089)],nodeId:y,getStoreItems:()=>{const{nodeLookup:W,transform:O,snapGrid:L,snapToGrid:B,nodeOrigin:D,domNode:E}=C.getState();return{nodeLookup:W,transform:O,snapGrid:L,snapToGrid:B,nodeOrigin:D,paneDomNode:E}},onChange:(W,O)=>{const L=X,{triggerNodeChanges:B,nodeLookup:D,parentLookup:E,nodeOrigin:A}=C[L(975)](),S=[],R={x:W.x,y:W.y},_=D[L(1710)](y);if(_&&_[L(1644)]&&_[L(1497)]){const Z=_[L(1948)]??A,$=W[L(831)]??_[L(485)].width??0,te=W[L(469)]??_[L(485)].height??0,se={id:_.id,parentId:_[L(1497)],rect:{width:$,height:te,...Pi({x:W.x??_.position.x,y:W.y??_[L(818)].y},{width:$,height:te},_[L(1497)],D,Z)}},ce=no([se],D,E,A);S[L(1181)](...ce),R.x=W.x?Math[L(2014)](Z[0]*$,W.x):void 0,R.y=W.y?Math[L(2014)](Z[1]*te,W.y):void 0}if(R.x!==void 0&&R.y!==void 0){const Z={id:y,type:L(818),position:{...R}};S[L(1181)](Z)}if(W[L(831)]!==void 0&&W.height!==void 0){const Z=g?g===L(1813)?L(831):L(469):!0,$={id:y,type:L(726),resizing:!0,setAttributes:Z,dimensions:{width:W[L(831)],height:W.height}};S[L(1181)]($)}for(const Z of O){const $={...Z,type:L(818)};S[L(1181)]($)}B(S)},onEnd:({width:W,height:O})=>{const L=X,B={id:y,type:L(726),resizing:!1,dimensions:{width:W,height:O}};C.getState()[L(1615)]([B])}})),T[X(2089)][X(1742)]({controlPosition:U,boundaries:{minWidth:a,minHeight:u,maxWidth:s,maxHeight:d},keepAspectRatio:f,resizeDirection:g,onResizeStart:h,onResize:p,onResizeEnd:M,shouldResize:v}),()=>{const W=X;T[W(2089)]?.[W(1212)]()}},[U,a,u,s,d,f,h,p,M,v]);const Q=U[m(1246)]("-");return l.jsx("div",{className:Ae([m(1122),m(1355),...Q,t,x]),ref:P,style:{...r,scale:G,...i&&{[Y?"backgroundColor":m(652)]:i}},children:o})}N.memo(dg);const zc=n=>Symbol.iterator in n,Cc=n=>c(1020)in n,Mc=(n,e)=>{const t=c,x=n instanceof Map?n:new Map(n[t(1020)]()),r=e instanceof Map?e:new Map(e[t(1020)]());if(x[t(1634)]!==r[t(1634)])return!1;for(const[o,i]of x)if(!r.has(o)||!Object.is(i,r.get(o)))return!1;return!0},ug=(n,e)=>{const t=c,x=n[Symbol[t(1805)]](),r=e[Symbol[t(1805)]]();let o=x[t(2148)](),i=r[t(2148)]();for(;!o[t(2010)]&&!i.done;){if(!Object.is(o[t(1443)],i[t(1443)]))return!1;o=x[t(2148)](),i=r[t(2148)]()}return!!o[t(2010)]&&!!i.done};function fg(n,e){const t=c;return Object.is(n,e)?!0:typeof n!==t(1523)||n===null||typeof e!="object"||e===null||Object[t(636)](n)!==Object[t(636)](e)?!1:zc(n)&&zc(e)?Cc(n)&&Cc(e)?Mc(n,e):ug(n,e):Mc({entries:()=>Object[t(1020)](n)},{entries:()=>Object[t(1020)](e)})}const Bc={inlineScript:c(1053),dataRequest:c(1451),external:c(1640),builtin:"内置动作"},bg=[{label:"Message 全局提示 (antd)",value:c(523)},{label:"跳转画布",value:"switchCanvas"}],hg=[{label:c(1286),value:c(1286)},{label:c(681),value:"success"},{label:c(1189),value:"warning"},{label:c(1531),value:c(1531)},{label:c(913),value:c(913)}];function Dc(n,e,t){const x=c,r=t.filter(i=>i[x(1470)]===n),o=r[x(707)];return r[x(1577)]((i,a)=>{const u=x,s=e[u(1043)](f=>f.id===i[u(984)]),d=s?.data;return{sourceId:i[u(984)],sourceLabel:d?.[u(854)]??i[u(984)],edgeIndex:a,totalIncoming:o}})}const gg=({data:n,id:e})=>{const t=c,{root:x}=Ye(),r=Me(N[t(1567)](a=>Dc(e,a[t(824)],a[t(967)])[t(1577)](({sourceId:u,sourceLabel:s})=>({sourceId:u,label:s})),[e]),fg),o=n[t(2220)][t(1924)]??"inlineScript",i=o===t(2042)?n.eventBlock.dataRequestKey:o==="external"?n[t(2220)].externalHandlerKey:o==="builtin"?n[t(2220)][t(1928)]===t(523)?n[t(2220)][t(1928)]+": "+String(n[t(2220)].builtinConfig?.content??"")[t(1292)](0,24):n.eventBlock.builtinId==="switchCanvas"?t(1593)+(x[t(1273)][t(1043)](a=>a.id===n[t(2220)].builtinConfig?.[t(1855)])?.[t(599)]??t(835)):n.eventBlock[t(1928)]:null;return l.jsxs(t(1467),{className:t(1129),children:[l[t(1403)](yn,{type:"target",position:ue[t(1375)],className:t(1078)}),l[t(1900)](t(1467),{className:t(2230),children:[l[t(1403)](t(983),{className:t(1491),children:n[t(854)]}),l.jsxs(z[t(1073)],{size:t(1079),children:[l[t(1403)](z.Button,{type:t(1100),size:t(1079),icon:l[t(1403)](le.EditOutlined,{}),onClick:()=>n[t(1092)](e)}),l[t(1403)](z.Button,{type:t(1100),size:t(1079),danger:!0,icon:l[t(1403)](le[t(1065)],{}),onClick:()=>n[t(594)](e)})]})]}),l[t(1403)]("div",{className:t(2229),children:l[t(1900)](z[t(1885)],{color:o===t(1751)?t(2064):t(o==="builtin"?2137:1591),className:"!mr-0",children:[Bc[o],i?t(2017)+i:""]})}),l[t(1900)](t(1467),{className:"text-xs text-gray-500",children:[n[t(2220)][t(792)]?.length>0&&l[t(1900)](t(1467),{children:[t(1440),n[t(2220)][t(792)][t(1577)](a=>a[t(599)])[t(1076)](", ")]}),r[t(707)]>0&&l[t(1900)](t(1467),{className:t(876),children:["上游连线:",r[t(1577)](a=>l[t(1900)](t(1467),{className:"pl-1 border-l-2 border-amber-200",children:["←「",a.label,t(616)]},a[t(1730)]))]})]}),l[t(1403)](yn,{type:t(984),position:ue[t(1874)],className:t(1078)})]})},yg={eventBlock:gg},mg=Object.entries(Bc)[c(1577)](([n,e])=>({label:e,value:n})),Lc=[{label:"点击",value:c(1804)},{label:c(644),value:c(1424)},{label:c(1661),value:c(1133)},{label:"双击",value:c(2131)},{label:"鼠标移入",value:c(1550)},{label:"鼠标移出",value:c(2168)},{label:c(1395),value:c(1696)},{label:c(1865),value:c(1718)},{label:c(1737),value:c(2042)},{label:c(838),value:c(1585)}];function wg(n,e){const t={},x=[...n];return x.forEach((r,o)=>{const i=_0x5299,a=e[i(792)][o]?.[i(599)]??(x[i(707)]===1?i(892):i(892)+o);t[a]="$prev."+r[i(984)]}),t}function vg(n,e,t){const x=c;return t[n]?.name??(e===1?x(892):x(892)+n)}const pg=[{label:c(1857),value:c(1857)},{label:c(2134),value:c(2134)},{label:c(790),value:"boolean"},{label:"object",value:c(1523)},{label:"any",value:c(728)}];function Nc(n){const e=c,t=Lc[e(1043)](r=>r[e(1443)]===n[e(947)]),x=t?.[e(854)]??n[e(947)];if(n[e(947)]==="external"){const r=(n[e(459)]||"")[e(1404)]();return r?x+e(2017)+r:x}return x}const zg=({open:n,onClose:e,bindNodeId:t})=>{const x=c,{nodes:r,eventFlow:o,externalHandlerCatalog:i,addEventBlock:a,upsertEventBlock:u,removeEventBlock:s,addEventRoot:d,updateEventRoot:f,root:g}=Ye(),[b,v,h]=Yh([]),[p,M,m]=Uh([]),w=N[x(1912)](b);w[x(2089)]=b;const[y,C]=N[x(646)](null),[P,Y]=N.useState(!1),[G]=z[x(1002)][x(766)](),T=z[x(1002)][x(1120)](x(947),G),[U,Q]=N[x(646)](null),[X,W]=N[x(646)](!1),[O]=z[x(1002)].useForm(),L=z[x(1002)].useWatch("executorType",O),B=z[x(1002)][x(1120)](x(1928),O),D=z[x(1002)].useWatch(x(792),O),E=N.useMemo(()=>!X||!U?[]:Dc(U.id,b,p),[X,U,b,p]),A=N[x(1912)](()=>{}),S=N[x(1912)](()=>{});N.useEffect(()=>{const I=x;if(X&&U){const k=U.builtinConfig??{},{outputs:K,...V}=U;O[I(532)]({...V,executorType:U[I(1924)]??I(1751),builtinId:U.builtinId,inputs:U[I(792)]??[],builtinConfig:{content:String(k[I(1584)]??""),level:String(k[I(852)]??I(1286)),duration:k[I(840)]===void 0||k[I(840)]===null?void 0:Number(k.duration)}})}},[X,U,O]);const R=N[x(1567)](I=>{M(k=>Ti(I,k))},[M]),_=I=>{const k=x,K={bindNodeId:I[k(557)],eventType:I[k(947)],externalEventKey:I.eventType==="external"?(I[k(459)]||"")[k(1404)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0},V=d(K);C({...K,id:V}),G[k(601)](),Y(!1),z[k(1114)][k(681)](k(1117))},Z=N[x(1567)](I=>{const k=x;s(I),v(K=>K[k(1304)](V=>V.id!==I)),M(K=>K[k(1304)](V=>V[k(984)]!==I&&V.target!==I))},[s,v,M]),$=N[x(1567)](I=>{const k=x,K=w.current[k(1043)](ie=>ie.id===I)?.[k(2172)]?.[k(2220)],V=o[k(547)][k(1043)](ie=>ie.id===I),H=K??V;H?(Q({...H,id:I}),W(!0)):z.message[k(1189)](k(927))},[o[x(547)]]);A[x(2089)]=$,S[x(2089)]=Z,N[x(1849)](()=>{const I=x;if(n&&y){const k=y[I(2022)][I(824)][I(1577)](V=>({id:V.id,type:I(2220),position:V[I(818)],data:{label:V[I(2172)][I(854)],eventBlock:V[I(2172)][I(2220)],onEdit:H=>A[I(2089)](H),onDelete:H=>S[I(2089)](H)}})),K=y.flowData[I(967)].map(V=>({id:V.id,source:V[I(984)],target:V.target}));v(k),M(K)}},[n,y,v,M]);const te=()=>{const I=x,k={name:I(1383),executorType:I(1751),callback:I(604),inputs:[],outputs:[]},K=a(k),V={...k,id:K},H={id:K,type:I(2220),position:{x:100+b[I(707)]*50,y:100+b[I(707)]*30},data:{label:V[I(599)],eventBlock:V,onEdit:ie=>A.current(ie),onDelete:ie=>S[I(2089)](ie)}};v(ie=>[...ie,H])},se=()=>{const I=x,k={name:"Message 提示",executorType:"builtin",builtinId:"antdMessage",builtinConfig:{content:I(2195),level:I(1286)},callback:I(596),inputs:[],outputs:[]},K=a(k),V={...k,id:K},H={id:K,type:I(2220),position:{x:120+b[I(707)]*50,y:140+b[I(707)]*30},data:{label:V[I(599)],eventBlock:V,onEdit:ie=>A[I(2089)](ie),onDelete:ie=>S[I(2089)](ie)}};v(ie=>[...ie,H])},ce=()=>{const I=x,k={name:I(2155),executorType:I(1376),builtinId:"switchCanvas",builtinConfig:{targetCanvasId:g[I(1273)][0]?.id||""},callback:I(596),inputs:[],outputs:[]},K=a(k),V={...k,id:K},H={id:K,type:I(2220),position:{x:120+b[I(707)]*50,y:140+b[I(707)]*30},data:{label:V[I(599)],eventBlock:V,onEdit:ie=>A.current(ie),onDelete:ie=>S[I(2089)](ie)}};v(ie=>[...ie,H])},re=I=>{const k=x;if(!U)return;const K=I[k(1924)]??U[k(1924)]??k(1751),V={name:I[k(599)],callback:I[k(1433)]??U.callback,executorType:K,dataRequestKey:K==="dataRequest"?(I[k(521)]||"")[k(1404)]():void 0,externalHandlerKey:K===k(1585)?(I[k(1635)]||"")[k(1404)]():void 0,builtinId:K===k(1376)?I[k(1928)]:void 0,builtinConfig:K===k(1376)&&I[k(1928)]===k(523)?{content:String(I[k(1624)]?.[k(1584)]??"")[k(1404)](),level:I[k(1624)]?.[k(852)]||"info",duration:I[k(1624)]?.[k(840)]===null||I[k(1624)]?.[k(840)]===void 0?void 0:Number(I[k(1624)][k(840)])}:K==="builtin"&&I[k(1928)]==="switchCanvas"?{targetCanvasId:String(I.builtinConfig?.[k(1855)]??"")[k(1404)]()}:void 0},H=I[k(792)]??[],ie=H.filter(me=>me?.[k(599)]&&String(me[k(599)])[k(1404)]()),be={...U,...V,inputs:ie,outputs:[]};u(be),v(me=>me[k(1577)](he=>he.id===U.id?{...he,data:{...he[k(2172)],label:be.name||he[k(2172)][k(854)],eventBlock:be}}:he)),W(!1),Q(null),z[k(1114)][k(681)](k(1379))},xe=()=>{const I=x;if(!y)return;const k=b[I(1577)](V=>{const H=I,ie=p[H(1304)](he=>he[H(1470)]===V.id),be=V.data[H(2220)],me={...be,outputs:[]};return{id:V.id,eventBlockId:V.id,position:V[H(818)],inputs:ie[H(1577)](he=>he[H(984)]),outputs:p.filter(he=>he.source===V.id).map(he=>he[H(1470)]),data:{label:V[H(2172)][H(854)],eventBlock:me,inputMapping:wg(ie,me)}}}),K=p[I(1577)](V=>({id:V.id,source:V.source,target:V.target}));f(y.id,{flowData:{nodes:k,edges:K}}),tn[I(1932)]({...y,flowData:{nodes:k,edges:K}}),z.message[I(681)](I(2173)),e()},ne=N[x(677)](()=>r[x(1577)](I=>({label:I[x(599)],value:I.id})),[r]),ae=N.useMemo(()=>t?o[x(1387)][x(1304)](I=>I[x(557)]===t):o[x(1387)],[o[x(1387)],t]);return n?l[x(1900)](z[x(1916)],{title:x(1468),open:n,onCancel:e,width:1200,footer:null,styles:{body:{height:700,padding:0}},children:[y?l[x(1900)](x(1467),{className:"h-full flex flex-col",style:{height:700},children:[l[x(1900)](x(1467),{className:"h-12 border-b border-gray-200 flex items-center justify-between px-4 bg-gray-50",children:[l[x(1403)](z[x(1073)],{children:l[x(1900)](x(983),{className:x(597),children:["编辑: ",Nc(y)," →"," ",r[x(1043)](I=>I.id===y[x(557)])?.[x(599)]]})}),l[x(1900)](z.Space,{children:[l.jsx(z[x(1475)],{icon:l.jsx(le[x(1373)],{}),onClick:te,children:x(2029)}),l[x(1403)](z[x(1475)],{icon:l[x(1403)](le.PlusOutlined,{}),onClick:se,children:"Message 提示"}),l.jsx(z[x(1475)],{icon:l[x(1403)](le[x(1373)],{}),onClick:ce,children:x(2155)}),l[x(1403)](z[x(1475)],{type:x(780),icon:l[x(1403)](le.SaveOutlined,{}),onClick:xe,children:"保存"}),l[x(1403)](z[x(1475)],{icon:l[x(1403)](le[x(885)],{}),onClick:()=>C(null),children:x(481)})]})]}),l.jsx(x(1467),{className:x(1307),children:l[x(1900)](Eh,{nodes:b,edges:p,onNodesChange:h,onEdgesChange:m,onConnect:R,nodeTypes:yg,fitView:!0,children:[l[x(1403)](Th,{}),l[x(1403)](Jh,{}),l[x(1403)](cg,{})]})})]}):l[x(1900)](x(1467),{className:x(1169),children:[l[x(1900)](x(1467),{className:"flex justify-between items-center mb-4",children:[l.jsx("h3",{className:x(2072),children:x(2146)}),l[x(1403)](z[x(1475)],{type:x(780),icon:l.jsx(le.PlusOutlined,{}),onClick:()=>Y(!0),children:x(1386)})]}),l.jsx(z[x(964)],{dataSource:ae,renderItem:I=>l.jsx(z.List.Item,{actions:[l[x(1403)](z[x(1475)],{type:"primary",icon:l[x(1403)](le[x(577)],{}),onClick:()=>C(I),children:"编辑"},x(1625))],children:l[x(1403)](z[x(964)].Item[x(714)],{title:l[x(1900)](z[x(1073)],{children:[l[x(1900)](x(983),{children:[x(1684),Nc(I)]}),l[x(1403)](z[x(1885)],{color:x(1296),children:r[x(1043)](k=>k.id===I[x(557)])?.[x(599)]||I[x(557)]})]}),description:x(1791)+I[x(2022)][x(824)][x(707)]+x(2026)+I[x(2022)][x(967)][x(707)]})}),locale:{emptyText:l[x(1403)](z.Empty,{description:x(641)})}}),l[x(1403)](z[x(1916)],{title:x(1386),open:P,onCancel:()=>{G[x(601)](),Y(!1)},footer:null,afterOpenChange:I=>{I&&(G[x(601)](),t&&G.setFieldsValue({bindNodeId:t}))},children:l.jsxs(z[x(1002)],{form:G,onFinish:_,layout:x(1309),children:[l[x(1403)](z[x(1002)].Item,{name:x(557),label:x(1352),rules:[{required:!0,message:x(1884)}],initialValue:t,children:l[x(1403)](z.Select,{options:ne,placeholder:x(2209),disabled:!!t})}),l[x(1403)](z[x(1002)][x(1192)],{name:x(947),label:x(700),rules:[{required:!0,message:x(1219)}],children:l.jsx(z[x(529)],{options:Lc,placeholder:x(1274)})}),T===x(1585)&&l[x(1403)](z[x(1002)].Item,{name:x(459),label:"外部事件标识",rules:[{required:!0,message:x(2103)},{validator:(I,k)=>(k||"")[x(1404)]()?Promise[x(732)]():Promise[x(781)](new Error(x(1095)))}],extra:"与 eventBus.emitExternal(节点id, 该标识) 一致",children:l[x(1403)](z[x(1693)],{placeholder:"例如:refresh"})}),l[x(1403)](z[x(1002)].Item,{className:"mb-0",children:l[x(1900)](z[x(1073)],{className:x(1121),children:[l.jsx(z[x(1475)],{onClick:()=>{G[x(601)](),Y(!1)},children:"取消"}),l[x(1403)](z.Button,{type:x(780),htmlType:x(1198),children:"创建"})]})})]})})]}),l[x(1403)](z[x(1916)],{title:x(1955),open:X,onCancel:()=>{W(!1),Q(null)},footer:null,destroyOnClose:!0,children:l[x(1900)](z.Form,{form:O,onFinish:re,layout:x(1309),children:[l[x(1403)](z[x(1002)][x(1192)],{name:x(599),label:"名称",rules:[{required:!0,message:x(2048)}],children:l[x(1403)](z.Input,{})}),l[x(1403)](z.Form[x(1192)],{name:x(1924),label:x(1005),rules:[{required:!0,message:x(1111)}],children:l[x(1403)](z[x(529)],{options:mg,placeholder:x(2201)})}),L===x(1376)&&l.jsx(z[x(1002)].Item,{name:"builtinId",label:"内置动作",rules:[{required:!0,message:x(1672)}],children:l[x(1403)](z.Select,{options:bg,placeholder:x(2142)})}),L===x(1376)&&B===x(523)&&l.jsxs(l.Fragment,{children:[l.jsx(z.Form.Item,{name:[x(1624),x(1584)],label:x(2151),rules:[{required:!0,message:x(1280)}],extra:x(1564),children:l[x(1403)](z[x(1693)][x(1233)],{rows:3,placeholder:x(900)})}),l[x(1403)](z[x(1002)][x(1192)],{name:[x(1624),x(852)],label:x(2035),children:l[x(1403)](z.Select,{options:hg})}),l[x(1403)](z[x(1002)][x(1192)],{name:[x(1624),"duration"],label:x(1421),extra:"留空使用 antd 默认;填 0 表示不自动关闭",children:l.jsx(z.InputNumber,{min:0,step:.5,style:{width:x(924)},placeholder:"默认"})})]}),L===x(1376)&&B==="switchCanvas"&&l[x(1403)](z[x(1002)].Item,{name:[x(1624),"targetCanvasId"],label:x(482),rules:[{required:!0,message:x(556)}],children:l[x(1403)](z[x(529)],{placeholder:x(1319),options:g[x(1273)].map(I=>({value:I.id,label:I[x(599)]}))})}),L===x(2042)&&l[x(1403)](z[x(1002)][x(1192)],{name:x(521),label:x(1632),rules:[{required:!0,message:x(2036)},{validator:(I,k)=>(k||"")[x(1404)]()?Promise[x(732)]():Promise.reject(new Error("标识不能为空"))}],extra:"运行时 eventBus.setDefaultRuntimeHandlers({ dataRequest: { [标识]: (ctx, args) => ... } })",children:l[x(1403)](z[x(1693)],{placeholder:x(563)})}),L===x(1585)&&l[x(1403)](z[x(1002)][x(1192)],{name:"externalHandlerKey",label:x(2034),rules:[{required:!0,message:x(498)},{validator:(I,k)=>(k||"").trim()?Promise.resolve():Promise.reject(new Error(x(1095)))}],extra:i.length>0?"来自 ConfigEditor 的 externalEventActions;也可在运行时 eventBus.mergeDefaultRuntimeHandlers({ external }) 补充":"未配置下拉时手动填写 key;宿主可用 ConfigEditor externalEventActions 注册选项与 handler,或 eventBus.mergeDefaultRuntimeHandlers",children:i[x(707)]>0?l[x(1403)](z.Select,{showSearch:!0,optionFilterProp:x(854),allowClear:!0,placeholder:"选择已注册的外部方法",options:i.map(I=>({value:I.key,label:I[x(854)],title:I.description?I[x(854)]+x(1016)+I.description:I[x(854)]+" ("+I[x(1098)]+")"}))}):l[x(1403)](z[x(1693)],{placeholder:x(1828)})}),L===x(1751)&&l.jsx(z[x(1002)].Item,{name:x(1433),label:x(1663),rules:[{validator:(I,k)=>{const K=x;return typeof k=="string"&&k[K(1404)]()?Promise[K(732)]():Promise[K(781)](new Error("请填写执行代码"))}}],children:l.jsx(z[x(1693)][x(1233)],{rows:6,placeholder:x(1631)})}),E.length>0&&l[x(1900)](x(1467),{className:x(1930),children:[l.jsx(x(1467),{className:x(1150),children:x(1406)}),l[x(1403)]("ul",{className:x(1859),children:E[x(1577)](I=>{const k=x,K=D??U?.[k(792)]??[],V=vg(I.edgeIndex,I[k(1847)],K);return l.jsxs("li",{className:k(1983),children:[l.jsxs("div",{className:"text-gray-800",children:["第 ",I.edgeIndex+1,k(1761),I[k(2217)],k(1597),l.jsx(k(746),{children:k(494)})," →"," ",l[k(1900)]("code",{className:k(2138),children:[k(1131),V]})]}),l[k(1900)](k(1467),{className:k(640),children:[k(757),I[k(1570)]+1,k(1359)]})]},I[k(1730)])})})]}),l[x(1403)](x(1467),{className:x(1024),children:x(941)}),l.jsxs(x(1467),{className:"text-xs text-gray-500 mb-2",children:["第 1 行对应第 1 条指向本块的连线,第 2 行对应第 2 条……(顺序与画布连线添加顺序一致,先连在前)。不添加行时:单入边用"," ",l[x(1403)](x(553),{children:x(1430)}),x(1836),l[x(1403)]("code",{children:x(1077)}),"、",l[x(1403)](x(553),{children:"args.prev1"}),"…"]}),l[x(1403)](z.Form[x(964)],{name:x(792),children:(I,{add:k,remove:K})=>l.jsxs(l[x(2082)],{children:[I[x(1577)](({key:V,name:H,...ie})=>l[x(1900)](z[x(1073)],{align:x(989),wrap:!0,className:x(1530),children:[l.jsx(z.Form.Item,{...ie,name:[H,x(599)],rules:[{required:!0,message:"名称"}],children:l[x(1403)](z.Input,{placeholder:x(1919),style:{width:140}})}),l[x(1403)](z[x(1002)][x(1192)],{...ie,name:[H,x(1244)],initialValue:x(728),children:l[x(1403)](z.Select,{options:pg,style:{width:100}})}),l[x(1403)](le[x(1341)],{className:"text-gray-400 hover:text-red-500 cursor-pointer",onClick:()=>K(H)})]},V)),l[x(1403)](z[x(1475)],{type:x(1950),onClick:()=>k({type:x(728)}),block:!0,icon:l[x(1403)](le[x(1373)],{}),children:x(1922)})]})}),l[x(1403)](z.Form[x(1192)],{className:x(1767),children:l[x(1900)](z.Space,{className:x(1121),children:[l.jsx(z.Button,{onClick:()=>{W(!1),Q(null)},children:"取消"}),l[x(1403)](z[x(1475)],{type:"primary",htmlType:x(1198),children:"保存"})]})})]})})]}):null},Ft={click:"点击",mouseDown:"鼠标按下",mouseUp:"鼠标释放",doubleClick:"双击",mouseOver:c(1185),mouseLeave:c(1106),mouseEnter:c(1395),contextMenu:c(1865),dataRequest:c(1737),external:c(838)};function Cg(n){const e=c;if(n[e(947)]===e(1585)){const t=(n[e(459)]||"").trim();return t?Ft[e(1585)]+e(2017)+t:Ft[e(1585)]}return Ft[n[e(947)]]}const Mg=Object[c(1020)](Ft)[c(1577)](([n,e])=>({label:e,value:n})),Bg=({nodeId:n})=>{const e=c,{eventFlow:t,addEventRoot:x,updateEventRoot:r,removeEventRoot:o}=Ye(),[i,a]=N[e(646)](!1),[u,s]=N.useState(null),[d,f]=N[e(646)](!1),[g]=z.Form[e(766)](),b=z.Form[e(1120)]("eventType",g),v=N[e(677)](()=>{const w=e;return t[w(1387)][w(1304)](y=>y[w(557)]===n)},[t.eventRoots,n]),h=w=>{const y=e,C={bindNodeId:n,eventType:w.eventType,externalEventKey:w.eventType===y(1585)?(w[y(459)]||"")[y(1404)]():void 0,flowData:{nodes:[],edges:[]},enabled:!0};x(C),g[y(601)](),f(!1)},p=w=>{s(w),a(!0)},M=(w,y)=>{r(w.id,{enabled:y})},m=w=>{o(w)};return l[e(1900)](e(1467),{children:[l[e(1900)](e(1467),{className:"flex justify-between items-center mb-4",children:[l[e(1403)]("h4",{className:e(1033),children:e(1237)}),l[e(1403)](z[e(1475)],{type:"primary",size:e(1079),icon:l.jsx(le[e(1373)],{}),onClick:()=>f(!0),children:e(2104)})]}),l.jsx(z[e(964)],{dataSource:v,renderItem:w=>l[e(1403)](z[e(964)][e(1192)],{actions:[l[e(1403)](z[e(1449)],{checked:w.enabled,size:e(1079),onChange:y=>M(w,y)},"enable"),l[e(1403)](z[e(1475)],{type:e(1100),size:e(1079),icon:l[e(1403)](le[e(577)],{}),onClick:()=>p(w)},e(1625)),l[e(1403)](z[e(1953)],{title:e(1839),description:"删除后无法恢复,是否继续?",onConfirm:()=>m(w.id),children:l[e(1403)](z[e(1475)],{type:"text",danger:!0,size:"small",icon:l[e(1403)](le[e(1065)],{})})},e(1060))],children:l[e(1403)](z[e(964)].Item[e(714)],{title:l[e(1900)](z[e(1073)],{children:[l[e(1403)](z[e(1885)],{color:w[e(590)]?e(1296):e(2064),children:Cg(w)}),l[e(1900)](e(983),{className:e(1234),children:[w.flowData.nodes[e(707)],e(1162)]})]}),description:w[e(590)]?l[e(1403)](e(983),{className:e(973),children:"已启用"}):l.jsx(e(983),{className:e(1234),children:e(651)})})}),locale:{emptyText:l[e(1403)](z[e(914)],{image:z.Empty[e(462)],description:"暂无事件流绑定"})}}),l.jsx(z[e(1916)],{title:"添加事件流",open:d,onCancel:()=>{g.resetFields(),f(!1)},footer:null,afterOpenChange:w=>{w&&g[e(601)]()},children:l[e(1900)](z[e(1002)],{form:g,onFinish:h,layout:e(1309),children:[l[e(1403)](z[e(1002)][e(1192)],{name:e(947),label:"触发方式",rules:[{required:!0,message:e(1219)}],children:l[e(1403)](z[e(529)],{options:Mg,placeholder:e(1240)})}),b===e(1585)&&l[e(1403)](z[e(1002)][e(1192)],{name:e(459),label:"外部事件标识",rules:[{required:!0,message:e(2103)},{validator:(w,y)=>(y||"")[e(1404)]()?Promise[e(732)]():Promise.reject(new Error(e(1095)))}],extra:"与运行时 eventBus.emitExternal(节点id, 该标识) 一致,例如:refresh、dialog:opened",children:l[e(1403)](z[e(1693)],{placeholder:e(1484)})}),l[e(1403)](z[e(1002)].Item,{className:"mb-0",children:l[e(1900)](z[e(1073)],{className:"w-full justify-end",children:[l[e(1403)](z[e(1475)],{onClick:()=>f(!1),children:"取消"}),l[e(1403)](z.Button,{type:e(780),htmlType:e(1198),children:"创建"})]})})]})}),l[e(1403)](zg,{open:i,onClose:()=>{a(!1),s(null)},bindNodeId:n})]})},{Panel:M0}=z[c(448)],{TabPane:$t}=z[c(578)],{TextArea:Dg}=z[c(1693)],Sc=({defaultTestData:n})=>{const e=c,{nodes:t,selectedNodeId:x,updateNode:r,updateNodeStyle:o,updateNodeControl:i,updateNodeContent:a,materials:u,selectedStatusId:s,selectStatus:d}=Ye(),[f]=z.Form[e(766)](),[g,b]=N[e(646)]("basic"),[v,h]=N.useState(!1),[p,M]=N[e(646)](null),[m,w]=N[e(646)]({}),y=N[e(677)](()=>t[e(1043)](D=>D.id===x),[t,x]),C=y?.[e(800)].statusList||[],P=B=>{const D=e;x&&(B.normalStyle&&o(x,B[D(1736)]),B[D(599)]!==void 0&&r(x,{name:B[D(599)]}),B[D(2069)]&&i(x,B.controlInfo))};console[e(615)](x,"selectedNodeId",y),N[e(1849)](()=>{const B=e;y&&y&&(f[B(532)]({name:y[B(599)],normalStyle:{width:100,height:100,x:0,y:0,padding:8,background:B(1330),borderRadius:0,opacity:1,...y[B(1736)]},controlInfo:{isDraggable:!0,isClickable:!0,isResizable:!0,isSelectable:!0,...y[B(2069)]}}),d(null))},[y,d,f]);const Y=()=>{const B=e;!x||!y||(M(B(1279)),h(!0))},G=B=>{const D=e;if(!x||!y)return;const E={id:ve[D(1143)](),name:B[D(599)]+D(775)+(C[D(707)]+1),expression:C.length===0?"return true;":"return false;",material:{...B,id:ve.nanoid()},boundDatasetId:null};if(p===D(1279)){const A=[...C,E];a(x,{statusList:A})}else if(p){const A=C[D(1577)](S=>{const R=D;return S.id===p?{...S,material:{...B,id:ve[R(1143)]()}}:S});a(x,{statusList:A})}h(!1),M(null)},T=B=>{const D=e;if(!x||!y)return;const E=y.contentInfo[D(617)]?.[D(1304)](A=>A.id!==B)||[];a(x,{statusList:E}),s===B&&d(null)},U=(B,D)=>{const E=e;if(!x||!y)return;const A=y[E(800)][E(617)]?.[E(1577)](S=>S.id===B?{...S,...D}:S)||[];a(x,{statusList:A})},Q=B=>{const D=e;if(!x||!y)return;const E={...B,id:ve[D(1143)](),name:B[D(599)]+D(489),expression:D(980)},A=[...C,E];a(x,{statusList:A})},X=(B,D)=>{const E=e;if(!x||!y)return;const A=C[E(1831)](R=>R.id===B);if(A===-1)return;const S=[...C];D==="up"&&A>0?[S[A],S[A-1]]=[S[A-1],S[A]]:D===E(982)&&A<S.length-1&&([S[A],S[A+1]]=[S[A+1],S[A]]),a(x,{statusList:S})},W=B=>{M(B),h(!0)},O=(B,D)=>{const E=e,A=D.config||{},S=A.startX??0,R=A[E(511)]??0,_=A[E(1977)]??100,Z=A[E(1582)]??0,$=Math[E(2014)]((A[E(872)]||A[E(1906)]||2)*2,4),te=Math[E(487)](S,_),se=Math.min(R,Z),ce=Math[E(2014)](S,_),re=Math[E(2014)](R,Z),xe=Math[E(2014)](ce-te,$),ne=Math[E(2014)](re-se,$),ae=B[E(1736)].x||0,I=B[E(1736)].y||0;return{material:{...D,config:{...A,startX:S-te,startY:R-se,endX:_-te,endY:Z-se}},box:{x:ae+te,y:I+se,width:xe,height:ne}}},L=(B,D)=>{const E=e;if(!x||!y)return;const{list:A,lineBox:S}=C[E(770)]((R,_)=>{const Z=E;if(_.id!==B)return R[Z(1288)][Z(1181)](_),R;let $;if(_[Z(1605)][Z(1244)]==="LINE"&&Z(705)in D&&D[Z(705)]!==void 0){const te=_[Z(1605)],se=D[Z(705)];$={...te,...D,config:{...te[Z(705)]||{},...se}}}else $={..._[Z(1605)],...D};if($[Z(1244)]==="LINE"){const{material:te,box:se}=O(y,$);return R[Z(1288)][Z(1181)]({..._,material:te}),R[Z(2190)]=se,R}return R[Z(1288)][Z(1181)]({..._,material:$}),R},{list:[],lineBox:null});S!==null?r(x,{normalStyle:{...y.normalStyle,x:S.x,y:S.y,width:S[E(831)],height:S.height},contentInfo:{...y[E(800)],statusList:A}}):a(x,{statusList:A})};return y?l.jsxs(e(1467),{className:e(1135),children:[l[e(1900)](e(1467),{className:e(2233),children:[l.jsx("h3",{className:e(2108),children:e(673)}),l[e(1403)]("p",{className:e(1214),children:"编辑选中节点的属性"})]}),l[e(1403)](e(1467),{className:e(2049),children:l[e(1900)](z[e(578)],{activeKey:g,onChange:b,children:[l[e(1403)]($t,{tab:"基础",children:l.jsxs(z[e(1002)],{form:f,layout:e(1309),onValuesChange:P,initialValues:{name:y[e(599)]},children:[l[e(1403)](z[e(1002)][e(1192)],{label:"节点名称",name:e(599),children:l[e(1403)](z[e(1693)],{placeholder:e(901)})}),l[e(1900)](z[e(448)],{ghost:!0,defaultActiveKey:[e(818),e(1634),"style"],children:[l[e(1403)](M0,{header:"位置",children:l[e(1900)](z[e(1073)],{children:[l[e(1403)](z[e(1002)][e(1192)],{label:"X",name:[e(1736),"x"],children:l[e(1403)](z[e(1770)],{})}),l.jsx(z[e(1002)].Item,{label:"Y",name:[e(1736),"y"],children:l[e(1403)](z[e(1770)],{})})]})},e(818)),l.jsx(M0,{header:"尺寸",children:l[e(1900)](z[e(1073)],{children:[l[e(1403)](z[e(1002)][e(1192)],{label:"宽度",name:["normalStyle",e(831)],children:l[e(1403)](z.InputNumber,{min:10})}),l[e(1403)](z[e(1002)][e(1192)],{label:"高度",name:[e(1736),"height"],children:l.jsx(z[e(1770)],{min:10})})]})},e(1634)),l[e(1900)](M0,{header:"样式",children:[l[e(1403)](z[e(1002)].Item,{label:"背景色",name:["normalStyle",e(1342)],children:l[e(1403)](z.Input,{placeholder:e(438)})}),l[e(1403)](z[e(1002)][e(1192)],{label:e(880),name:[e(1736),e(2090)],children:l[e(1403)](z[e(1770)],{min:0})}),l[e(1403)](z.Form.Item,{label:"圆角",name:[e(1736),"borderRadius"],children:l[e(1403)](z.InputNumber,{min:0})}),l[e(1403)](z[e(1002)][e(1192)],{label:e(1158),name:[e(1736),e(1113)],help:e(499),children:l[e(1403)](z[e(1770)],{min:.1,max:5,step:.1})}),l[e(1403)](z[e(1002)][e(1192)],{label:e(1775),name:[e(1736),e(2040)],help:e(1929),children:l[e(1403)](z[e(1770)],{min:0,max:360,step:1})}),l[e(1403)](z[e(1002)][e(1192)],{label:e(505),name:[e(1736),e(2226)],children:l.jsx(z[e(1770)],{min:0,max:1,step:.1})}),l[e(1403)](z[e(1002)].Item,{label:"层级",name:[e(1736),"zIndex"],children:l[e(1403)](z[e(1770)],{})})]},e(693))]})]})},e(937)),l[e(1403)]($t,{tab:"状态",children:y[e(1244)]===e(1295)&&y[e(584)]?l.jsx(rl,{node:y,updateNode:r,materials:u}):l[e(1900)](e(1467),{className:e(1410),children:[l[e(1900)](e(1467),{className:e(2230),children:[l[e(1900)]("span",{className:e(597),children:[e(1603),l[e(1403)](z[e(1885)],{color:e(1296),className:"ml-2",children:C.length})]}),l.jsx(z[e(1475)],{type:e(780),size:e(1079),icon:l[e(1403)](le[e(1373)],{}),onClick:Y,children:e(1809)})]}),l[e(1403)]("p",{className:e(2119),children:e(749)}),C[e(707)]>0&&l[e(1403)](e(1467),{className:e(2041),children:l[e(1403)](e(1467),{className:e(1052),children:l[e(1900)](e(1467),{children:[l[e(1403)]("span",{className:"text-sm text-gray-600",children:e(564)}),l[e(1403)](e(983),{className:e(2215),children:"由表达式自动计算"})]})})}),C[e(707)]===0?l.jsx(e(1467),{className:e(1180),children:e(918)}):l[e(1403)](z[e(448)],{ghost:!0,defaultActiveKey:C[0]?.id+x,children:C[e(1577)]((B,D)=>l[e(1403)](M0,{header:l.jsxs(e(1467),{className:e(949),children:[l[e(1403)](e(983),{className:e(1768),children:D+1}),l[e(1403)](e(983),{className:"font-medium",children:B.name}),l.jsx(z[e(1885)],{color:"default",className:e(1748),children:B.material[e(1244)]})]}),extra:l.jsxs(z.Space,{size:e(1079),onClick:E=>E[e(1370)](),children:[l[e(1403)](z[e(1475)],{type:"text",size:e(1079),icon:l[e(1403)](le.ArrowUpOutlined,{}),disabled:D===0,onClick:E=>{E[e(1370)](),X(B.id,"up")}}),l[e(1403)](z[e(1475)],{type:"text",size:e(1079),icon:l.jsx(le.ArrowDownOutlined,{}),disabled:D===C[e(707)]-1,onClick:E=>{const A=e;E[A(1370)](),X(B.id,A(982))}}),l[e(1403)](z[e(1475)],{type:e(1100),size:"small",icon:l.jsx(le[e(655)],{}),onClick:E=>{E[e(1370)](),Q(B)}}),l.jsx(z[e(1475)],{type:e(1100),size:e(1079),danger:!0,icon:l[e(1403)](le[e(1065)],{}),onClick:E=>{E.stopPropagation(),T(B.id)}})]}),children:l[e(1900)](z.Form,{layout:e(1309),children:[l[e(1403)](z[e(1002)][e(1192)],{label:e(566),children:l[e(1403)](z[e(1693)],{value:B.name,onChange:E=>U(B.id,{name:E[e(1470)][e(1443)]}),placeholder:e(2180)})}),l[e(1403)](zr,{status:B,onUpdate:E=>U(B.id,E),onAppendToExpression:E=>{const A=e;w(S=>({...S,[B.id]:(S[B.id]??B[A(1173)])+E}))}}),l[e(1403)](z[e(1002)][e(1192)],{label:e(715),help:e(1469),children:l.jsx(Dg,{value:m[B.id]??B[e(1173)],onChange:E=>w(A=>({...A,[B.id]:E[e(1470)][e(1443)]})),onBlur:E=>{const A=e;U(B.id,{expression:E.target[A(1443)]}),w(S=>{const R={...S};return delete R[B.id],R})},rows:3,placeholder:e(2099)})}),l[e(1403)](z[e(1002)][e(1192)],{label:"绑定物料",children:l[e(1900)](e(1467),{className:"flex items-center gap-2",children:[l[e(1403)](z[e(1885)],{color:e(1296),children:B.material.name}),l[e(1403)](z[e(1885)],{color:e(2064),children:B[e(1605)].type}),l[e(1403)](z.Button,{type:e(1047),size:e(1079),icon:l[e(1403)](le[e(577)],{}),onClick:()=>W(B.id),children:e(680)})]})}),l[e(1403)](z[e(974)],{style:{margin:"12px 0"}}),l.jsxs(e(1467),{className:e(2016),children:[l[e(1900)](e(1467),{className:e(2230),children:[l.jsx(e(983),{className:e(1033),children:e(1986)}),l[e(1403)](z.Tag,{children:B[e(1605)][e(599)]})]}),l.jsx(Cr,{material:B[e(1605)],onSave:E=>L(B.id,E)})]})]})},B.id+x))})]})},e(1126)),l.jsx($t,{tab:"控制",children:l[e(1900)](z[e(1002)],{form:f,layout:e(1309),onValuesChange:P,children:[l.jsx(z[e(1002)][e(1192)],{label:e(1128),name:[e(2069),e(2052)],valuePropName:"checked",children:l[e(1403)](z[e(1449)],{})}),l[e(1403)](z[e(1002)][e(1192)],{label:e(573),name:[e(2069),e(1418)],valuePropName:e(1734),children:l.jsx(z.Switch,{})}),l[e(1403)](z.Form[e(1192)],{label:e(1109),name:["controlInfo",e(1039)],valuePropName:e(1734),children:l[e(1403)](z[e(1449)],{})}),l[e(1403)](z.Form.Item,{label:"可选中",name:["controlInfo","isSelectable"],valuePropName:e(1734),children:l.jsx(z.Switch,{})})]})},e(996)),l[e(1403)]($t,{tab:"事件流",children:l[e(1403)](Bg,{nodeId:y.id})},e(1921))]})}),l[e(1403)](e(1467),{className:e(1174),children:l[e(1900)](e(1467),{className:e(1140),children:[l[e(1900)](e(1467),{children:[e(1792),y.id[e(1292)](0,8),e(2033)]}),l[e(1900)](e(1467),{children:[e(507),C[e(707)]]})]})}),l[e(1403)](z.Modal,{title:e(1363),open:v,onCancel:()=>{h(!1),M(null)},footer:null,width:600,children:l.jsx(e(1467),{className:"max-h-[400px] overflow-y-auto",children:l.jsxs(z[e(448)],{ghost:!0,defaultActiveKey:[e(937),e(1216),e(1100),e(1565)],children:[l[e(1403)](M0,{header:e(708),children:l[e(1403)](e(1467),{className:"grid grid-cols-4 gap-2",children:u[e(1304)](B=>["矩形","圆形",e(1229)][e(1405)](B[e(599)]))[e(1577)](B=>l[e(1403)](kc,{material:B,onClick:()=>G(B)},B.id))})},e(937)),l.jsx(M0,{header:e(653),children:l[e(1403)](e(1467),{className:e(2107),children:u[e(1304)](B=>["阀门","泵","罐体"][e(1405)](B[e(599)])||B[e(1244)]==="IMAGE"&&!["矩形","圆形","圆角矩形"][e(1405)](B[e(599)]))[e(1577)](B=>l[e(1403)](kc,{material:B,onClick:()=>G(B)},B.id))})},e(1216)),l[e(1403)](M0,{header:"文本",children:l[e(1403)](e(1467),{className:"grid grid-cols-4 gap-2",children:u[e(1304)](B=>B[e(1244)]===e(1245)).map(B=>l[e(1900)](e(1467),{className:e(591),onClick:()=>G(B),children:[l[e(1403)](e(1467),{className:e(2097),children:l.jsx(e(983),{className:e(1206),children:"T"})}),l[e(1403)](e(983),{className:"text-xs",children:B[e(599)]})]},B.id))})},e(1100)),l.jsx(M0,{header:"线条",children:l[e(1403)]("div",{className:e(2107),children:u[e(1304)](B=>B[e(1244)]===e(850))[e(1577)](B=>l.jsxs(e(1467),{className:e(591),onClick:()=>G(B),children:[l[e(1403)]("div",{className:"w-12 h-12 mx-auto mb-1 flex items-center justify-center bg-gray-100 rounded",children:l[e(1403)](e(1467),{className:"w-8 h-0.5 bg-gray-400"})}),l[e(1403)](e(983),{className:e(1748),children:B[e(599)]})]},B.id))})},e(1565))]})})})]}):l[e(1403)]("div",{className:e(2124),children:l[e(1403)](z[e(914)],{description:e(939)})})},kc=({material:n,onClick:e})=>{const t=c,x=n[t(1244)]==="IMAGE"?n[t(520)]:void 0;return l[t(1900)]("div",{className:t(591),onClick:e,children:[l[t(1403)](t(1467),{className:t(1864),children:x?l[t(1403)]("img",{src:x,alt:n[t(599)],className:t(1617)}):l[t(1403)](t(983),{className:"text-xs",children:n[t(599)][0]})}),l[t(1403)](t(983),{className:"text-xs",children:n.name})]})},Lg="ConfigEditor-module__configEditor__dinNG",Ng={configEditor:Lg},Sg=c(1907);function Ic(n){return Array[c(611)](n)}const Pc=({open:n,onClose:e})=>{const t=c,{dataPool:x,addDataPoolItem:r,updateDataPoolItem:o,removeDataPoolItem:i}=Ye(),[a]=z[t(1002)][t(766)](),[u,s]=N.useState(null);N.useEffect(()=>{const h=t;!n&&(s(null),a[h(601)]())},[n,a]);const d=()=>{const h=t;s(h(1064)),a[h(532)]({name:h(1837)+(x[h(707)]+1),sampleJson:""})},f=h=>{const p=t;s(h.id),a[p(532)]({name:h.name,sampleJson:JSON[p(609)](h[p(506)]??{},null,2)})},g=h=>{const p=t,M=h[p(1404)]();if(!M)return{};const m=JSON[p(2083)](M);if(m===null||typeof m!==p(1523))throw new Error("sample 必须是 JSON 对象或数组");if(Array[p(611)](m)){for(let w=0;w<m.length;w++)if(typeof m[w]!="object"||m[w]===null)throw new Error(p(817)+(w+1)+p(1268));return m}return m},b=()=>{const h=t;a[h(486)]()[h(934)](p=>{const M=h;let m;try{m=g(p[M(1941)])}catch(y){z.message[M(1531)](y instanceof Error?y[M(1114)]:"sample JSON 无效");return}const w=p[M(599)][M(1404)]();if(!w){z[M(1114)][M(1531)](M(2048));return}u===M(1064)?(r({name:w,sample:m}),z[M(1114)].success(M(1344))):u&&(o(u,{name:w,sample:m}),z[M(1114)][M(681)](M(1974))),s(null),a[M(601)]()})[h(1170)](()=>{})},v=[{title:"名称",dataIndex:"name",key:t(599)},{title:"类型",key:"type",width:100,render:(h,p)=>Ic(p[t(506)])?l[t(1900)](z[t(1885)],{color:"blue",children:[t(2002),p[t(506)][t(707)],t(1701)]}):l.jsx(z[t(1885)],{children:"对象"})},{title:t(1175),key:t(864),width:90,render:(h,p)=>{const M=t;if(Ic(p[M(506)])){const m=p[M(506)][0];return m?Object[M(864)](m).length:0}return Object[M(864)](p.sample||{})[M(707)]}},{title:"操作",key:t(1623),width:160,render:(h,p)=>l[t(1900)](z[t(1073)],{children:[l[t(1403)](z[t(1475)],{type:"link",size:"small",icon:l[t(1403)](le[t(577)],{}),onClick:()=>f(p),children:"编辑"}),l[t(1403)](z[t(1953)],{title:"删除该数据集?",description:t(1621),onConfirm:()=>{const M=t;i(p.id),z[M(1114)][M(681)]("已删除,相关状态已解除数据集绑定")},children:l.jsx(z[t(1475)],{type:"link",size:t(1079),danger:!0,icon:l[t(1403)](le[t(1065)],{}),children:"删除"})})]})}];return l.jsxs(z[t(1916)],{title:t(863),open:n,onCancel:e,width:760,footer:null,destroyOnClose:!0,children:[l[t(1900)]("p",{className:t(662),children:[t(2025)," ",l.jsx(t(553),{className:t(1297),children:t(2068)}),",预览时以模板为底合并画布「模拟数据」。数组格式需包含 name 字段用于选择。"]}),l[t(1403)](t(1467),{className:t(1480),children:l[t(1403)](z[t(1475)],{type:t(780),icon:l[t(1403)](le.PlusOutlined,{}),onClick:d,children:t(866)})}),u&&l[t(1900)]("div",{className:"mb-4 p-3 border border-blue-200 rounded bg-blue-50/50",children:[l.jsxs(t(1467),{className:t(1453),children:[u===t(1064)?"新建":"编辑",t(2062)]}),l[t(1900)](z[t(1002)],{form:a,layout:t(1309),children:[l[t(1403)](z[t(1002)][t(1192)],{name:"name",label:"名称",rules:[{required:!0,message:"必填"}],children:l[t(1403)](z[t(1693)],{placeholder:t(543)})}),l[t(1403)](z[t(1002)][t(1192)],{name:t(1941),label:t(783),rules:[{required:!0,message:"必填"}],children:l[t(1403)](z.Input[t(1233)],{rows:12,className:t(2160),placeholder:Sg})}),l[t(1900)](z[t(1073)],{children:[l.jsx(z[t(1475)],{type:t(780),onClick:b,children:"保存"}),l[t(1403)](z[t(1475)],{onClick:()=>{const h=t;s(null),a[h(601)]()},children:"取消"})]})]})]}),l.jsx(z[t(801)],{size:"small",rowKey:"id",dataSource:x,columns:v,pagination:!1,locale:{emptyText:t(1437)}})]})},{Header:kg,Sider:Ac,Content:Ig}=z[c(1682)],Pg=({initialScheme:n,onChange:e,readonly:t=!1,headerExtra:x,className:r="",style:o,showHeader:i=!0,showMaterialPanel:a=!0,showPropertyPanel:u=!0,customMaterials:s,initialDataPool:d,initialEventFlow:f,externalEventActions:g,onUploadSvg:b,defaultTestData:v,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:M})=>{const m=c,[w,y]=N.useState(!1),[C,P]=N[m(646)](!1),[Y,G]=N[m(646)](""),[T]=N[m(646)](()=>[{paramsCode:m(1746),paramsName:m(2075),value:25,paramsUnit:m(515)},{paramsCode:m(1688),paramsName:"通频加速度有效值",value:1.5,paramsUnit:m(836)}]),U=v!==void 0?v:T,Q=i&&!t,{exportScheme:X,importScheme:W,nodes:O,materials:L,dataPool:B,eventFlow:D,root:E,addMaterial:A,setDataPool:S,setEventFlow:R,setExternalHandlerCatalog:_}=Ye();N.useRef(null);const Z=N[m(1912)](!1);N[m(1849)](()=>{const re=m;if(!Z[re(2089)]&&(Z[re(2089)]=!0,Vo[re(1753)](xe=>A(xe)),n&&W(n),f!==void 0&&R(f),g&&g[re(707)]>0)){_(g);const xe={};for(const ne of g){const ae=String(ne.key??"")[re(1404)]();ae&&ne[re(816)]&&(xe[ae]=ne.handler)}Object[re(864)](xe)[re(707)]>0&&tn[re(1006)]({external:xe})}},[]),N[m(1849)](()=>{const re=m;s&&s.length>0&&s[re(1753)](xe=>A(xe))},[]),N[m(1849)](()=>{d!==void 0&&S(d)},[d,S]),N[m(1849)](()=>{if(e){const re=X();e(re)}},[O,L,B,D,E,e,X]);const $=N[m(1567)](()=>{const re=m,xe=X(),ne=JSON.stringify(xe,null,2),ae=re(1354)+encodeURIComponent(ne),I=re(1557)+Date[re(1891)]()+re(670),k=document[re(1316)]("a");k.setAttribute(re(1199),ae),k[re(1399)](re(965),I),k[re(1804)](),z.message[re(681)](re(985))},[X]),te=N[m(1567)](()=>{const re=m;try{const xe=JSON.parse(Y);W(xe),y(!1),G(""),z[re(1114)][re(681)](re(1062))}catch{z[re(1114)][re(1531)](re(810))}},[Y,W]),se=N[m(1567)](re=>{const xe=m,ne=new FileReader;return ne[xe(1172)]=ae=>{const I=xe;try{const k=ae[I(1470)]?.[I(661)],K=JSON[I(2083)](k);W(K),z[I(1114)].success(I(1062)),y(!1)}catch{z[I(1114)][I(1531)](I(682))}},ne[xe(702)](re),!1},[W]),ce=N[m(1567)](()=>X(),[X]);return N.useImperativeHandle(N[m(1912)]?.(),()=>({getScheme:ce,exportScheme:X,importScheme:W}),[ce,X,W]),l[m(1403)](z.ConfigProvider,{locale:Wc,children:l[m(1403)]("div",{className:Ng[m(1592)],style:o,children:l.jsxs(z[m(1682)],{className:"h-full w-full "+(t?"":m(1031))+" "+r,children:[Q&&l.jsxs(kg,{className:"bg-white border-b border-gray-200 px-4 flex items-center justify-between flex-shrink-0",children:[l[m(1900)](m(1467),{className:m(788),children:[l[m(1403)](m(1467),{className:m(2113),children:m(525)}),l[m(1900)](m(1467),{className:m(1214),children:[O.length,m(1162)]})]}),l.jsxs(z.Space,{children:[x,!t&&l.jsxs(l[m(2082)],{children:[l[m(1403)](z[m(1890)],{title:m(695),children:l[m(1403)](z[m(1475)],{icon:l.jsx(le.DownloadOutlined,{}),onClick:$,children:"导出"})}),l[m(1403)](z[m(1890)],{title:"导入 JSON",children:l[m(1403)](z[m(1475)],{icon:l[m(1403)](le[m(472)],{}),onClick:()=>y(!0),children:"导入"})}),l.jsx(z.Tooltip,{title:m(1190),children:l[m(1403)](z[m(1475)],{icon:l[m(1403)](le[m(1594)],{}),onClick:()=>P(!0),children:m(1508)})})]})]})]}),l[m(1900)](z.Layout,{children:[a&&!t&&l[m(1403)](Ac,{width:280,className:m(1799),theme:"light",children:l[m(1403)](To,{onUploadSvg:b})}),l[m(1403)](Ig,{className:m(2126),children:l.jsx(mr,{defaultTestData:U,readonly:t,backgroundImageUrl:h,initialViewportWidth:p,initialViewportHeight:M})}),u&&!t&&l[m(1403)](Ac,{width:360,className:m(1799),theme:m(2111),children:l[m(1403)](Sc,{defaultTestData:Array[m(611)](U)?U:void 0})})]}),l[m(1403)](Pc,{open:C,onClose:()=>P(!1)}),l[m(1403)](z[m(1916)],{title:m(878),open:w,onOk:te,onCancel:()=>{y(!1),G("")},width:600,children:l[m(1900)](m(1467),{className:m(1486),children:[l[m(1900)](m(1467),{children:[l[m(1403)]("p",{className:"mb-2",children:m(1561)}),l.jsx(m(1658),{type:m(1513),accept:m(670),onChange:re=>{const xe=re.target.files?.[0];xe&&se(xe)},className:m(861)})]}),l[m(1403)](m(1467),{className:m(687),children:"或"}),l.jsxs("div",{children:[l.jsx("p",{className:m(1530),children:m(2008)}),l[m(1403)](m(1310),{value:Y,onChange:re=>G(re[m(1470)][m(1443)]),placeholder:"粘贴 JSON 内容...",className:"w-full h-48 p-3 border border-gray-300 rounded-lg font-mono text-sm resize-none focus:outline-none focus:ring-2 focus:ring-blue-500"})]})]})})]})})})};pe[c(1459)]=mr,pe[c(2192)]=Pg,pe.DataPoolModal=Pc,pe[c(1259)]=hr,pe.MaterialPanel=To,pe[c(1389)]=Cx,pe[c(986)]=Sc,pe[c(1042)]=Yo,pe[c(720)]=Eo,pe.createDefaultNode=Ho,pe[c(1472)]=bx,pe.evaluateStatusExpression=dx,pe.eventBus=tn,pe[c(1936)]=Uo,pe[c(1979)]=Vo,pe[c(1137)]=Ye,Object[c(796)](pe,Symbol[c(825)],{value:c(2231)})});
|