@univerjs-pro/boards-mind-ui 1.0.0-alpha.6 → 1.0.0-alpha.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.
Files changed (82) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/controllers/board-mind-map-floating-toolbar.render-controller.d.ts +3 -2
  62. package/lib/umd/index.js +1 -1
  63. package/lib/umd/locale/ar-SA.js +1 -1
  64. package/lib/umd/locale/ca-ES.js +1 -1
  65. package/lib/umd/locale/de-DE.js +1 -1
  66. package/lib/umd/locale/en-US.js +1 -1
  67. package/lib/umd/locale/es-ES.js +1 -1
  68. package/lib/umd/locale/fa-IR.js +1 -1
  69. package/lib/umd/locale/fr-FR.js +1 -1
  70. package/lib/umd/locale/id-ID.js +1 -1
  71. package/lib/umd/locale/it-IT.js +1 -1
  72. package/lib/umd/locale/ja-JP.js +1 -1
  73. package/lib/umd/locale/ko-KR.js +1 -1
  74. package/lib/umd/locale/pl-PL.js +1 -1
  75. package/lib/umd/locale/pt-BR.js +1 -1
  76. package/lib/umd/locale/ru-RU.js +1 -1
  77. package/lib/umd/locale/sk-SK.js +1 -1
  78. package/lib/umd/locale/vi-VN.js +1 -1
  79. package/lib/umd/locale/zh-CN.js +1 -1
  80. package/lib/umd/locale/zh-HK.js +1 -1
  81. package/lib/umd/locale/zh-TW.js +1 -1
  82. package/package.json +13 -13
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x55c788=_0x5bcf;(function(_0x254ae3,_0x596064){const _0x514752=_0x5bcf,_0x718c51=_0x254ae3();while(!![]){try{const _0xd47b48=parseInt(_0x514752(0x178))/0x1+parseInt(_0x514752(0x252))/0x2+-parseInt(_0x514752(0x1a1))/0x3*(parseInt(_0x514752(0x261))/0x4)+parseInt(_0x514752(0x2d0))/0x5+-parseInt(_0x514752(0x2e4))/0x6+parseInt(_0x514752(0x264))/0x7*(parseInt(_0x514752(0x1f8))/0x8)+-parseInt(_0x514752(0x296))/0x9*(parseInt(_0x514752(0x1b2))/0xa);if(_0xd47b48===_0x596064)break;else _0x718c51['push'](_0x718c51['shift']());}catch(_0x14ce26){_0x718c51['push'](_0x718c51['shift']());}}}(_0x5f4d,0x6bb9b));import{BoardElementType as _0x5792f2,BoardToolType as _0x448177,IBoardElementService as _0x3de855,IBoardMindMapAdapterService as _0x1753eb,documentTextStyleToBoardShapeTextStyle as _0x51f7f1,offsetBoardConnectorGeometry as _0x1d56a8,resolveBoardElementWorldBounds as _0x329079}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x5e12b8,AddMindMapSiblingOperation as _0x1aa149,ChangeMindMapBranchLineTypeOperation as _0x35a1e2,ChangeMindMapLayoutOperation as _0x1f97d9,CopyMindMapNodeOperation as _0x5a9506,DeleteMindMapNodeOperation as _0x3f0c38,DetachMindMapNodeOperation as _0x597057,ExportMindMapOpmlOperation as _0x2c65e6,IMindMapClipboardService as _0x31164a,ImportMindMapOpmlOperation as _0x52c104,InsertBoardMindMapOperation as _0x5ea1c3,LayoutMindMapOperation as _0x5672f3,MIND_MAP_DEFAULT_LAYOUT as _0xb4769e,MIND_MAP_DEFAULT_NODE_SIZE as _0x3c97d3,MIND_MAP_DEFAULT_NODE_TEXT as _0x3d4bdb,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x258481,PasteMindMapAsNewMindMapOperation as _0xb9eefe,PasteMindMapNodeOperation as _0x15e14d,PromoteMindMapNodeOperation as _0x33423b,ReparentMindMapNodeOperation as _0x137347,ToggleMindMapNodeCollapseOperation as _0x55e2b3,TranslateMindMapOperation as _0x31ea69,UniverBoardsMindPlugin as _0xcd05da,UpdateMindMapIncomingConnectorOperation as _0x4f27c7,UpdateMindMapNodeOperation as _0x2aa574,compareMindMapOrderKey as _0xbc8dd6,getMindMapConnectorMeta as _0x17e585,getMindMapContainerMeta as _0x5225ac,getMindMapDefaultChildOrderKey as _0x514ba9,getMindMapNodeMeta as _0x4784a6,isMindMapPlainStructureKind as _0x17ca32,resolveMindMapBranchLineTypeForStructure as _0x172ea2,resolveMindMapLayoutPreview as _0x5b081d,resolveMindMapNodeHostSize as _0xe83027}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0xcba35e,BOARD_RENDER_LAYER_INDEX as _0x1ca693,BOARD_RENDER_OBJECT_Z_INDEX as _0x464afb,BOARD_SHORTCUT_BINDINGS as _0x288f67,BoardCanvasPopManagerService as _0x5738bb,BoardShapeIntrinsicSizeService as _0x53968d,BoardTextEditingService as _0x5698aa,IBoardElementStateService as _0x1f379b,IBoardUIStateService as _0x45d666,UniverBoardsUIPlugin as _0x50eb07,getBoardElementRenderObjectKey as _0x4f1902,parseBoardElementRenderObjectKey as _0x3a2add,syncBoardElementRenderObject as _0x2d3199}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x39490d}from'@univerjs-pro/license';import{CommandType as _0x27aeea,DEFAULT_STYLES as _0x29cbb0,DependentOn as _0x1e6601,Disposable as _0x4ac1ec,DisposableCollection as _0x1ec4ce,HorizontalAlign as _0x26aceb,ICommandService as _0x4a7b53,IConfigService as _0x5b6d9c,IContextService as _0x53aa1b,IUniverInstanceService as _0x544c85,Inject as _0x3c575a,Injector as _0x34f3c5,LocaleService as _0x20f8ca,Plugin as _0x35ff6c,RxDisposable as _0x4c4ffe,UniverInstanceType as _0x42e936,VerticalAlign as _0x33dace,generateRandomId as _0x31e651,merge as _0x286366,toDisposable as _0x1e5fe4}from'@univerjs/core';import{BaseObject as _0x52c324,IRenderManagerService as _0xa5f319}from'@univerjs/engine-render';import{Subject as _0x5b274b,takeUntil as _0x38681d}from'rxjs';import{SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x5111b4,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0xc91441,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x3ead9f,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x2d51a1,ShapeFillButton as _0x577770,ShapeFloatingToolbarContent as _0x41b34a,ShapeFloatingToolbarDropdownTrigger as _0x18f73b,ShapeFloatingToolbarFontSizeSelect as _0x39747a,ShapeFloatingToolbarIcon as _0x578e13,ShapeFloatingToolbarMenuItem as _0x4e57ea,ShapeFloatingToolbarMenuPanel as _0x1ee4a0,ShapeStrokePanelButton as _0x1e2ebd,ShapeStrokePanelContent as _0x34d69f,TextFillButton as _0x24b46b,TypographyPanelButton as _0x11b815,buildShapeTextDataUpdate as _0x43dff7}from'@univerjs-pro/shape-editor-ui';import{ShapeLineDashEnum as _0x179fe9,ShapeLineTypeEnum as _0x4c39e6}from'@univerjs-pro/engine-shape';import{Button as _0xee7c82,Dropdown as _0x343e7e,Input as _0x2373a8,InputNumber as _0x18a17b,Segmented as _0x21141c,Separator as _0x277f73,Textarea as _0x20d960,clsx as _0x11ce90}from'@univerjs/design';import{AlignBottomIcon as _0x29bed2,AlignTextBothIcon as _0x430b73,AlignTopIcon as _0x588992,HorizontallyIcon as _0x1ef2aa,LeftJustifyingIcon as _0x36d060,MoreHorizontalIcon as _0x62a0bc,RightJustifyingIcon as _0x1fdead,SearchIcon as _0x287fe1,ShapeLineIcon as _0x4ceedf,VerticalCenterIcon as _0x48f505}from'@univerjs/icons';import{ComponentManager as _0xfb0ff6,IDialogService as _0x1c93b7,IShortcutService as _0x8b86d4,KeyCode as _0x35fb2f,MetaKeys as _0x47dc16,useDependency as _0xd57ede}from'@univerjs/ui';import{useEffect as _0x34035e,useState as _0x5024c9}from'react';import{Fragment as _0x15b427,jsx as _0x12a7ac,jsxs as _0x42e6e8}from'react/jsx-runtime';var Et=_0x55c788(0x2a2),Dt=_0x55c788(0x3c2);const Ot={};function _0x5f4d(){const _0x5da984=['boards-mind-ui.panel.rename','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','glyphHoverWidth','panel','Branch','length','_handleNodeUpdateCommand','_removeDragPreviewObject','max','svg','_syncLayoutPreview','_attachObjectPointerListeners','_lastChildDragAction','visible','refresh$','decorate','FOCUSING_MIND_MAP_TEXT_EDITOR','dropEffect','structured','clearPendingInsert','_note','_resolveCreateChildSide','isHit','siblingDotGap','get','clear','add-sibling-after','text/plain','registerCommand','onReady','shapeId','lineWidthScreen','call','dashType','mindmap-horizontal','siblingGap','transform','set','_getBoardPointFromEvent','boards-mind-ui.panel.searchNodes','_commandService','verticalAlign','_restoreActivePreview','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','close','quadraticCurveTo','incomingConnectorStyle','add-child-left','timeline-horizontal','elementAdd$','fill','univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-white','unsubscribe','textColor','spacing','_elementStateService','_applyRootTranslation','_resolveRootChildControlSides','defaultValue','getTemplate','_previewHostSize','paste','before','boards-mind-ui.panel.tab.layout','siblingDotRadius','height','_attachActivePointerDragListeners','span','1.8','removeObjects','boards-mind-ui.panel.tab.importExport','_getMindMapChildren','getContextValue','boards-mind-ui.panel.emptyNodes','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','description','strikethrough','width','fillText','number','850676hLbyBb','visualRadius','hypot','addSiblingNode','find','_dragStart','solid','_getSelectedMindMapContext','_init','_ensurePreviewObject','line','_activePreview','enableObjectsEvent','_insertStateService','closePath','208rAeOeB','activeTool','sourceHighlightFillColor','357ZQTwUD','_attachObjectPointerScheduled','boards-mind-ui.panel.tab.','_buildPopupSelectionKey','_childDragActivated','fromEntries','setHoveredControl','typography','fallbackNodeHeight','branchGap','boards-mind-ui.toolbar.action.addSibling','next','nodeHeight','_layoutFlushScheduled','structureScopeId','isFinite','changeEnd$','vertical','newParentNodeId','transformByState','boards-mind-ui.alignMiddle','_isControlEvent','div','boards-mind-ui.alignRight','onPointerMove$','board-mind-map-node-controls-object','onPointerUp$','boards-mind-ui.toolbar.panel.more','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','_createShortcutItems','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','rootWidth','data','item','parentNodeId','keys','MindMap','bounds','referenceNodeId','_activeNodeId','rounded-orthogonal','_openDescriptionDialog','boards-mind-ui.description','_objectPointerDisposables','getActivePageId','rgb','boards-mind-ui.panel.layout.right','_addChild','offsetX','left','36tMpdlK','zIndex','univer-size-full\x20univer-bg-white\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','univer-space-y-2','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','sourceDashScreen','boards-mind-ui.panel.importOPML','min','pendingInsert','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','tree-right','_resolveHostSize','@univerjs-pro/boards-mind-ui','getElementById','_ensureDragPreviewObject','_handlePointerMove','flatMap','univer-space-y-1','kind','_provider','allowRootReparent','RoundDot','mindmap','_executeChildDragAction','_activePointerDragDisposables','toggle-collapse','_collapseAll','getElementDataForUnit','_syncControls','_resolvePreviewSourceBounds','_rememberNodeSize','circle','getPayload','boards-mind-ui.saveDescription','restore','_pasteAsNewMindMap','_dialogService','connectorData','_getZoomRatio','dispose$','_cancelPointerChildDrag','addChildGlyphSize','_queueLayout','_removePreviewObject','fillStyle','branch','boards-mind-ui.panel.','arrow-up','items','boards-mind-ui.panel.structureKind.treeLeft','open-description','_getBoardsUIConfig','element','bold','siblingGlyphSize','connectorAffordance','style','panOffset','2322460RRmDdX','_debouncedLayouts','_isPopupSelectionStillActive','_resolveChildDragTopologyAction','stopPropagation','_resolveControlBounds','_disposeActivePointerDragListeners','getShortcutDisplay','BACKSPACE','targetNodeId','_addSiblingOrChild','dragObjectAlpha','textFill','ghostRadius','_isChildDragPastActivationThreshold','_initEditingRestore','boards-mind-ui.panel.cancel','ARROW_UP','then','string','2504484QezGiR','mind-map-fill','top-center','timelineAxisGap','parentBounds','boards-mind-ui.cancel','board.mind-map.floating-toolbar','_getPointerLiveBounds','dropdown','removeEventListener','some','skipNextObservers','moveTo','_openSelectedTextEditing','lineTo','_refresh$','boards-mind-ui.toolbar.action.fill','underline','_handleElementUpdate','section','_pasteUnderSelectedNode','_executeAndLayout','extraProps','hide','_popupDisposable','transientPreviewForeground','activeEditingId','boards-mind-ui.panel.structureKind.mindmapVertical','beginPath','_showPopupForSelection','boards-mind-ui.panel.spacing.siblingGap','buttons','subscribe','boards-mind-ui.panel.exportOPML','rootFontWeight','_queuedLayouts','board.mind-map.description-dialog','text','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','_getLiveObjectBounds','gap','dividerBefore','_ensureObject','fallbackNodeWidth','attachPopupToObject','save','has','_clearPopupIfSelectionChanged','fontColor','changing$','ghostBounds','_navigateByTopology','viewportPanOffset','selectedIds','ArrowDown','#d8dce3','round','_findChildNodeAtPoint','tree-left','_getPointFromEvent','_textEditingService','horizontalGap','_createQuoteShortcut','_previewRefreshService','delete','currentTarget','editingParams$','liveRootBounds','_lastPoint','primary','_cloneBlueprint','_syncDragPreview','Dash','TOP','_queueDebouncedLayout','structureKind','getOwnPropertyDescriptor','mind-map-layout-dropdown','ghostTextColor','isRootNode','_boardElementService','register','_instanceService','clipboard','right','_syncPreviewObject','timeline-vertical','object','getObject','textStyle','_popupSelectionKey','_createTopologyBoundsByElementId','mindmap-vertical','glyphSize','arrow-down','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','_applyPointerChildDrag','_boardUIStateService','subUnitId','SquareDot','setEditing','evented','M56\x2011h11M56\x2051h11','blueprint','clientY','glyphWidth','title','updateState','getBoundingClientRect','opacity','placement','_intrinsicSizeService','sort','M56\x2039h11M13\x2050h11','_syncElementDataToScene','parseInt','direction','radius','Select','M4.5\x207.5h4.2c1.9\x200\x203.3\x201.5\x203.3\x203.3v2.4c0\x201.8\x201.4\x203.3\x203.3\x203.3h4.2','tree-alternate','branch-rounded-orthogonal','_state','_renderManagerService','onChange','value','style-divider','enabled','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','elementData','changeStart$','disposeWithMe','offsetY','ghostFillColor','opml','0\x200\x2080\x2056',',\x20minmax(0,\x201fr))','boards-mind-ui.panel.structureKind.mindmapHorizontal','defineProperty','registerShortcut','version','MIDDLE','board.operation.mind-map.keyboard-shortcut','bottom','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','M31\x2013c9\x208\x209\x2022\x2018\x2030M49\x2013c-9\x208-9\x2022-18\x2030M31\x2013c-7\x204-9\x209-9\x2015s2\x2011\x209\x2015M49\x2013c7\x204\x209\x209\x209\x2015s-2\x2011-9\x2015','toPrimitive','boards-mind-ui.toolbar.primary.more','updateElement','selectElements','_getElementKey','constructor','_resolveArrowNavigationTarget','arrow-left','popup','sourceBounds','nodeWidth','timeline','addDescription','boards-mind-ui.toolbar.panel.line','italic','strokeWidth','_boardCanvasPopManagerService','_resolveCurrentBoardContext','_debouncedLayoutTimer','_drawSourceHighlight','sourceHaloScreen','_resolveIncomingConnectorStyle','onDblclick$','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','_previewObject','rootTextColor','lineWidth','_pointerDragStart','_toFiniteBounds','_handlePointerDown','ArrowUp','curve','_getSceneObject','boards-mind-ui.panel.structureKind.timelineVertical','nodeId','foreignAttributes','_getPointerScreenPoint','_captureDragStart','mind-map-stroke','univer-mb-0','label','univer-flex\x20univer-flex-col\x20univer-gap-1','DELETE','boards-mind-ui.alignJustify','Shape','focusedId','_boardTextEditingService','promote','branch-orthogonal','getHitControl','root','elementRemove$','strokeStyle','_syncRootReparentPreview','badgeCount','add-child-bottom','primaryColor','findIndex','resolve','tools','_injector','_cloneBlueprintNode','importExport','_configService','surfaceColor','push','_copySelectedNode','pipe','objects','board-mind-map-drag-preview-object','_consumeControlEvent','_resolveRootTopLeft','rootRadius','board-mind-map-pending-insert-object','packageName','small','1.0.0-alpha.6','_clearPopup','color','dispose','setActiveTool','Timeline','pointerup','preview','_syncRootScopePreview','_activeScopeId','zoomRatio','setConfig','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','complete','labelKey','add-child-top','snapDistance','unitId','scene','state$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','makeDirty','getState','more','ArrowLeft','ghostFontWeight','lineJoin','setContextValue','boards-mind-ui.alignCenter','addChildRadius','_removeObject','copy','shapeData','getConfig','_restoreObjectToDragStart','edit-text','_resolvePreviewTextStyle','forEach','ARROW_DOWN','getSnapshot','M47\x2025h13M47\x2035h13M47\x2045h13','paste-as-new','univer-border-b\x20univer-border-gray-200\x20univer-p-4\x20dark:!univer-border-gray-700','univer-space-y-3','type','orderKey','addChildNode','transientControl','executeCommand','createControl$','_dragPreviewObject','from','default','_resolveSelectedEntry','_applyDragTopologyAction','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','exec','globalAlpha','reparent','divider-','6\x207','setPendingInsert','boards-mind-ui.panel.tab.structure','ArrowRight','getTransformerByCreate','addObject','_resolveControlSide','boards-mind-ui.config','layout','after','addSibling','boards-mind-ui.toolbar.action.addChild','pluginName','univer-max-w-[min(760px,calc(100vw-32px))]','rootFontSize','_registerComponents','onPointerDown$','_syncMindMapTextEditorContext','registerRenderModule','_nodeSizeByKey','entries','beginMindMapMode','Mind\x20map','path','rootChildSides','univer-w-full\x20univer-text-xs','mind-map','show','rootStartBounds','repeat(','boards-mind-ui.toolbar.action.stroke','branchLineType','LEFT','_resolveChildSide','_isPointInBounds','children','pointermove','arrow-right','univer-text-xs\x20univer-text-gray-500','getUnit','_syncSceneInputMode','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','function','boundsByElementId','_objectEventDisposables','documentStyle','notify','navigator','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','trim','getElementData','includes','rootText','_renderContext','_drawConnectorPreview','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','M17\x2033h21M38\x2017v30M38\x2017h24','center','collapsePlusMinDistance','_template','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_config','340724YplSWc','_getBlankBoardContext','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','horizontalAlign','UNIVER_BOARD','toolbar','true','Enter','top','_contextService','arc','dash','_uiStateService','makeDirtyNoDebounce','collapse-all','registerProvider','shapeText','custom','elementId','Tree\x20diagram','_mindMapClipboardService','SHIFT','_componentManager','addParentNode','clientX','scopeId','_consumePointerEvent','add','controls','params','doc','_hideSelectionForChildDrag','univer-mb-3\x20univer-w-full','_capturePointerChildDragStart','dataModel','requestRender','add-child','univer-size-5','none','collapsed','univer-flex\x20univer-gap-2','12828FPFCaz','boards-mind-ui.toolbar.action.fontColor','abs','childNodeId','RIGHT','iterator','getObjectIncludeInGroup','univer-flex\x20univer-flex-col\x20univer-gap-2','hoveredControl','action','_scheduleAttachObjectPointerListeners','_syncChildDragPreview','join','editCurrentNode','0\x200\x2024\x2024','boards-mind-ui.toolbar.action.layout','font','1509760HsejYm','_updateHostSize','stroke','currentColor','addChild','isTransforming','connectorAlpha','symbol','textBaseline','boards-mind-ui.toolbar.panel.typography','Escape','univer-h-28\x20univer-resize-none\x20univer-text-xs','clearSelection','button','add-sibling-or-child','key','side','render','point','collapseAllNodes','_resolveNodeSize','boards-mind-ui.panel.branchLineType.orthogonal','addEventListener','mind-map-font-size','effectAllowed','_shortcutService','middle','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-items-center\x20univer-gap-1','univer-h-32\x20univer-resize-none\x20univer-text-sm','_executeCreateAndEdit','textPaddingScreen','_resolveDirtyBounds','_object','add-child-right','SolidLine','add-sibling-before','_stateService','child','_normalizeChildren','_syncPointerChildDragPreview','_subscribeElementDataChanges','fontSize','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','slice','context','dataTransfer','_childDragSelectionHidden','pointerStartY','values','_syncChildDragPreviewObject','_handleShortcut','ENTER','_isEditingMindMapNode','rootHeight','getUnitId','_executeNodeOperation','px\x20','filter','ignoreExternalFocusChanges','subscribeEvent','_attachObjectEvents','isRoot','reduce','_seedExistingNodeSizes','boards-mind-ui.panel.branchLineType.curve','connector','writeText','_countDescendants','map','boards-mind-ui.panel.structureKind.timelineHorizontal','71272lOQRCP','fontFamily','_instanceSrv','lineCap','setTemplate','structure','onStarting','hideRootControls','preventDefault','open'];_0x5f4d=function(){return _0x5da984;};return _0x5f4d();}function kt(_0x2f93ca){'@babel/helpers - typeof';const _0x4e1c3f=_0x55c788;return kt=typeof Symbol==_0x4e1c3f(0x164)&&typeof Symbol[_0x4e1c3f(0x1a6)]==_0x4e1c3f(0x1b9)?function(_0x302f5d){return typeof _0x302f5d;}:function(_0x4c7746){const _0x5aa676=_0x4e1c3f;return _0x4c7746&&typeof Symbol==_0x5aa676(0x164)&&_0x4c7746[_0x5aa676(0x37b)]===Symbol&&_0x4c7746!==Symbol['prototype']?'symbol':typeof _0x4c7746;},kt(_0x2f93ca);}function At(_0x133b26,_0x514c0e){const _0x5afd89=_0x55c788;if(kt(_0x133b26)!=_0x5afd89(0x33b)||!_0x133b26)return _0x133b26;var _0x2fb8ef=_0x133b26[Symbol[_0x5afd89(0x376)]];if(_0x2fb8ef!==void 0x0){var _0x5846eb=_0x2fb8ef[_0x5afd89(0x222)](_0x133b26,_0x514c0e||_0x5afd89(0x132));if(kt(_0x5846eb)!=_0x5afd89(0x33b))return _0x5846eb;throw TypeError(_0x5afd89(0x135));}return(_0x514c0e===_0x5afd89(0x2e3)?String:Number)(_0x133b26);}function jt(_0x1ea795){const _0x178f68=_0x55c788;var _0x28510d=At(_0x1ea795,_0x178f68(0x2e3));return kt(_0x28510d)==_0x178f68(0x1b9)?_0x28510d:_0x28510d+'';}function K(_0x1ec9ee,_0x382080,_0x4a43df){return(_0x382080=jt(_0x382080))in _0x1ec9ee?Object['defineProperty'](_0x1ec9ee,_0x382080,{'value':_0x4a43df,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ec9ee[_0x382080]=_0x4a43df,_0x1ec9ee;}function q(_0x1c2f0a,_0x4f94b4){return function(_0x36ee9b,_0x449edb){_0x4f94b4(_0x36ee9b,_0x449edb,_0x1c2f0a);};}function J(_0x4987e2,_0x3e51a1,_0x97f592,_0x156458){const _0x365834=_0x55c788;var _0x5a1685=arguments['length'],_0x488617=_0x5a1685<0x3?_0x3e51a1:_0x156458===null?_0x156458=Object[_0x365834(0x330)](_0x3e51a1,_0x97f592):_0x156458,_0x49bd5e;if(typeof Reflect=='object'&&typeof Reflect[_0x365834(0x211)]==_0x365834(0x164))_0x488617=Reflect['decorate'](_0x4987e2,_0x3e51a1,_0x97f592,_0x156458);else{for(var _0x585530=_0x4987e2[_0x365834(0x207)]-0x1;_0x585530>=0x0;_0x585530--)(_0x49bd5e=_0x4987e2[_0x585530])&&(_0x488617=(_0x5a1685<0x3?_0x49bd5e(_0x488617):_0x5a1685>0x3?_0x49bd5e(_0x3e51a1,_0x97f592,_0x488617):_0x49bd5e(_0x3e51a1,_0x97f592))||_0x488617);}return _0x5a1685>0x3&&_0x488617&&Object[_0x365834(0x36e)](_0x3e51a1,_0x97f592,_0x488617),_0x488617;}let Mt=class extends _0x4c4ffe{constructor(_0x30263e,_0x39eab3,_0x7085dc){const _0x132088=_0x55c788;super(),this[_0x132088(0x16f)]=_0x30263e,this[_0x132088(0x334)]=_0x39eab3,this['_commandService']=_0x7085dc,K(this,_0x132088(0x14d),new Map()),K(this,'_queuedLayouts',new Map()),K(this,'_debouncedLayouts',new Map()),K(this,_0x132088(0x271),!0x1),K(this,_0x132088(0x388),null),this[_0x132088(0x25a)]();}[_0x55c788(0x25a)](){const _0x31f5b2=_0x55c788;this[_0x31f5b2(0x1f1)](),this['disposeWithMe'](_0x1e5fe4(this[_0x31f5b2(0x334)]['elementAdd$'][_0x31f5b2(0x3b9)](_0x38681d(this[_0x31f5b2(0x2bd)]))['subscribe'](_0x49624a=>{const _0x5c007d=_0x31f5b2;_0x49624a[_0x5c007d(0x123)](_0x702b7b=>{const _0x4eedc2=_0x5c007d;let _0x108407=this[_0x4eedc2(0x334)][_0x4eedc2(0x2a3)](_0x702b7b[_0x4eedc2(0x3d3)],_0x702b7b['subUnitId'],_0x702b7b[_0x4eedc2(0x18a)]);this[_0x4eedc2(0x2b4)](_0x702b7b,_0x108407);});}))),this[_0x31f5b2(0x367)](_0x1e5fe4(this[_0x31f5b2(0x334)]['elementUpdate$'][_0x31f5b2(0x3b9)](_0x38681d(this[_0x31f5b2(0x2bd)]))[_0x31f5b2(0x304)](_0x385dd5=>{const _0x2eaa7e=_0x31f5b2;_0x385dd5[_0x2eaa7e(0x123)](_0x2c46aa=>this[_0x2eaa7e(0x2f6)](_0x2c46aa));})));let _0x1940ff=this[_0x31f5b2(0x22a)]['onCommandExecuted'];typeof _0x1940ff==_0x31f5b2(0x164)&&this['disposeWithMe'](_0x1940ff['call'](this[_0x31f5b2(0x22a)],_0x756f32=>{const _0x133c5e=_0x31f5b2;if(_0x756f32['id']!==_0x2aa574['id'])return;let _0x43e2a6=_0x756f32[_0x133c5e(0x195)];this[_0x133c5e(0x208)](_0x43e2a6);})),this[_0x31f5b2(0x367)](_0x1e5fe4(()=>{const _0x2f56ec=_0x31f5b2;this[_0x2f56ec(0x388)]!==null&&(clearTimeout(this['_debouncedLayoutTimer']),this[_0x2f56ec(0x388)]=null);}));}[_0x55c788(0x1f1)](){const _0x7772d5=_0x55c788;let _0x3a818c=this[_0x7772d5(0x16f)]['unitId'],_0xdedfe1=this['_boardElementService'][_0x7772d5(0x2b1)](_0x3a818c);Object[_0x7772d5(0x14e)](_0xdedfe1)['forEach'](([_0x1b17a4,_0x2c6c2e])=>{const _0x1375a3=_0x7772d5;Object[_0x1375a3(0x1e2)](_0x2c6c2e[_0x1375a3(0x284)])[_0x1375a3(0x123)](_0x1cd751=>{const _0x5d0adc=_0x1375a3;this[_0x5d0adc(0x2b4)]({'unitId':_0x3a818c,'subUnitId':_0x1b17a4,'elementId':_0x1cd751[_0x5d0adc(0x18a)]},_0x1cd751);});});}[_0x55c788(0x2f6)](_0x519bf2){const _0x264c7e=_0x55c788;if(_0x519bf2[_0x264c7e(0x3d3)]!==this['_renderContext'][_0x264c7e(0x3d3)])return;let _0x1f5bb4=this[_0x264c7e(0x334)][_0x264c7e(0x2a3)](_0x519bf2[_0x264c7e(0x3d3)],_0x519bf2[_0x264c7e(0x346)],_0x519bf2[_0x264c7e(0x18a)]),_0x53eba9=_0x4784a6(_0x1f5bb4==null?void 0x0:_0x1f5bb4[_0x264c7e(0x2ca)]),_0x1ee9f3=this['_resolveNodeSize'](_0x1f5bb4);if(!_0x53eba9||!_0x1ee9f3){this[_0x264c7e(0x14d)]['delete'](this['_getElementKey'](_0x519bf2));return;}let _0x53ca22=this[_0x264c7e(0x37a)](_0x519bf2),_0xf44e2d=this[_0x264c7e(0x14d)][_0x264c7e(0x21a)](_0x53ca22);this[_0x264c7e(0x14d)]['set'](_0x53ca22,_0x1ee9f3),!(_0xf44e2d&&_0xf44e2d[_0x264c7e(0x24f)]===_0x1ee9f3[_0x264c7e(0x24f)]&&_0xf44e2d[_0x264c7e(0x243)]===_0x1ee9f3[_0x264c7e(0x243)])&&this[_0x264c7e(0x2c0)]({'unitId':_0x519bf2[_0x264c7e(0x3d3)],'subUnitId':_0x519bf2['subUnitId'],'scopeId':_0x53eba9[_0x264c7e(0x272)],'anchorNodeId':_0x519bf2[_0x264c7e(0x18a)]});}['_rememberNodeSize'](_0x3b619e,_0x1205eb){const _0x61398f=_0x55c788;if(_0x3b619e[_0x61398f(0x3d3)]!==this[_0x61398f(0x16f)]['unitId'])return;let _0x440584=_0x4784a6(_0x1205eb==null?void 0x0:_0x1205eb[_0x61398f(0x2ca)]),_0x58970d=this[_0x61398f(0x1c6)](_0x1205eb);!_0x440584||!_0x58970d||this[_0x61398f(0x14d)][_0x61398f(0x227)](this[_0x61398f(0x37a)](_0x3b619e),_0x58970d);}[_0x55c788(0x1c6)](_0x205098){const _0x37adf7=_0x55c788;var _0x22ff2b;let _0xe59302=(_0x22ff2b=_0x205098==null?void 0x0:_0x205098[_0x37adf7(0x226)])==null?_0x205098==null?void 0x0:_0x205098[_0x37adf7(0x2ca)]['transform']:_0x22ff2b,_0x115c3d=_0xe59302==null?void 0x0:_0xe59302['width'],_0x15b7c4=_0xe59302==null?void 0x0:_0xe59302['height'];return!Number[_0x37adf7(0x273)](_0x115c3d)||!Number['isFinite'](_0x15b7c4)?null:{'width':_0x115c3d,'height':_0x15b7c4};}['_queueLayout'](_0x3bfc73){const _0x970a3b=_0x55c788;this[_0x970a3b(0x307)][_0x970a3b(0x227)](_0x3bfc73[_0x970a3b(0x3d3)]+':'+_0x3bfc73[_0x970a3b(0x346)]+':'+_0x3bfc73['scopeId'],_0x3bfc73),!this[_0x970a3b(0x271)]&&(this[_0x970a3b(0x271)]=!0x0,Promise[_0x970a3b(0x3b0)]()[_0x970a3b(0x2e2)](()=>{const _0x258bcc=_0x970a3b;this[_0x258bcc(0x271)]=!0x1;let _0x53e50e=Array[_0x258bcc(0x131)](this['_queuedLayouts'][_0x258bcc(0x1e2)]());this[_0x258bcc(0x307)][_0x258bcc(0x21b)](),_0x53e50e[_0x258bcc(0x123)](_0x455131=>{const _0x1e3c12=_0x258bcc;this[_0x1e3c12(0x22a)][_0x1e3c12(0x12e)](_0x5672f3['id'],_0x455131);});}));}[_0x55c788(0x208)](_0x443e32){const _0x861635=_0x55c788;if(!(_0x443e32!=null&&_0x443e32[_0x861635(0x3d3)])||!_0x443e32['subUnitId']||!_0x443e32['nodeId']||_0x443e32[_0x861635(0x3d3)]!==this[_0x861635(0x16f)][_0x861635(0x3d3)])return;let _0x1c6b6c=this[_0x861635(0x334)]['getElementById'](_0x443e32[_0x861635(0x3d3)],_0x443e32[_0x861635(0x346)],_0x443e32[_0x861635(0x398)]),_0x3d0ef0=_0x4784a6(_0x1c6b6c==null?void 0x0:_0x1c6b6c[_0x861635(0x2ca)]);_0x3d0ef0&&this[_0x861635(0x32e)]({'unitId':_0x443e32[_0x861635(0x3d3)],'subUnitId':_0x443e32[_0x861635(0x346)],'scopeId':_0x3d0ef0[_0x861635(0x272)],'anchorNodeId':_0x443e32[_0x861635(0x398)]});}['_queueDebouncedLayout'](_0x358192){const _0x1fb774=_0x55c788;this[_0x1fb774(0x2d1)][_0x1fb774(0x227)](_0x358192[_0x1fb774(0x3d3)]+':'+_0x358192[_0x1fb774(0x346)]+':'+_0x358192[_0x1fb774(0x191)],_0x358192),this[_0x1fb774(0x388)]!==null&&clearTimeout(this[_0x1fb774(0x388)]),this[_0x1fb774(0x388)]=setTimeout(()=>{const _0x1e281a=_0x1fb774;this[_0x1e281a(0x388)]=null;let _0x2b99ef=Array['from'](this[_0x1e281a(0x2d1)][_0x1e281a(0x1e2)]());this[_0x1e281a(0x2d1)][_0x1e281a(0x21b)](),_0x2b99ef['forEach'](_0x42e4fa=>{const _0x589198=_0x1e281a;this[_0x589198(0x22a)][_0x589198(0x12e)](_0x5672f3['id'],_0x42e4fa);});},0x50);}[_0x55c788(0x37a)](_0x4dd54c){const _0xaa4f01=_0x55c788;return _0x4dd54c[_0xaa4f01(0x3d3)]+':'+_0x4dd54c[_0xaa4f01(0x346)]+':'+_0x4dd54c['elementId'];}};Mt=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x4a7b53)],Mt);const Y={'primaryColor':_0x5111b4,'surfaceColor':_0xc91441,'textColor':_0x3ead9f,'fontFamily':_0x29cbb0['ff']};function Nt(_0x20f4be,_0x3fc7bb){const _0x4a8674=_0x55c788;let _0x1c729e=Math[_0x4a8674(0x29d)](0x1,Math[_0x4a8674(0x20a)](0x0,Number['isFinite'](_0x3fc7bb)?_0x3fc7bb:0x1)),_0x37b6f0=_0x20f4be[_0x4a8674(0x16b)](),_0x2bd779=/^#([0-9a-fA-F]{6})$/[_0x4a8674(0x136)](_0x37b6f0);if(!_0x2bd779)return _0x20f4be;let _0x5ef49d=_0x2bd779[0x1];return'rgba('+Number['parseInt'](_0x5ef49d[_0x4a8674(0x1dd)](0x0,0x2),0x10)+',\x20'+Number[_0x4a8674(0x357)](_0x5ef49d[_0x4a8674(0x1dd)](0x2,0x4),0x10)+',\x20'+Number[_0x4a8674(0x357)](_0x5ef49d[_0x4a8674(0x1dd)](0x4,0x6),0x10)+',\x20'+_0x1c729e+')';}const X={'primaryColor':Y[_0x55c788(0x3ae)],'ghostFillColor':Nt(Y[_0x55c788(0x3b6)],0.72),'ghostTextColor':Nt(Y[_0x55c788(0x237)],0.62),'rootTextColor':Nt(Y[_0x55c788(0x3b6)],0.86),'sourceHighlightFillColor':Nt(Y[_0x55c788(0x3ae)],0.12),'sourceHighlightStrokeColor':Nt(Y[_0x55c788(0x3ae)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x3c97d3[_0x55c788(0x380)],'fallbackNodeHeight':_0x3c97d3[_0x55c788(0x270)],'branchGap':_0xb4769e['branchGap'],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x55c788(0x1f9)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x3c4e24,_0x4efbf4,_0x34d1ab,_0x29aa73,_0x222ad2,_0x4f3a8c){const _0x3c79a9=_0x55c788;let _0x316b08=Math[_0x3c79a9(0x29d)](_0x4f3a8c,_0x29aa73/0x2,_0x222ad2/0x2);_0x3c4e24[_0x3c79a9(0x300)](),_0x3c4e24[_0x3c79a9(0x2f0)](_0x4efbf4+_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x29aa73-_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4+_0x29aa73,_0x34d1ab,_0x4efbf4+_0x29aa73,_0x34d1ab+_0x316b08),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x29aa73,_0x34d1ab+_0x222ad2-_0x316b08),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4+_0x29aa73,_0x34d1ab+_0x222ad2,_0x4efbf4+_0x29aa73-_0x316b08,_0x34d1ab+_0x222ad2),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x316b08,_0x34d1ab+_0x222ad2),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4,_0x34d1ab+_0x222ad2,_0x4efbf4,_0x34d1ab+_0x222ad2-_0x316b08),_0x3c4e24['lineTo'](_0x4efbf4,_0x34d1ab+_0x316b08),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4,_0x34d1ab,_0x4efbf4+_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x260)]();}function Pt(_0x3aab1f,_0x25c890,_0x453bc9){const _0x336bb0=_0x55c788;return _0x3aab1f+'\x20'+_0x25c890/_0x453bc9+_0x336bb0(0x1ea)+X[_0x336bb0(0x1f9)];}const Ft=_0x55c788(0x3bb),It=_0x1ca693['preview'];function Q(_0x4452b2,_0x13f1ae){const _0x3033ba=_0x55c788;return Number[_0x3033ba(0x273)](_0x4452b2)?_0x4452b2:_0x13f1ae;}function Lt(){const _0x2287f3=_0x55c788;return X[_0x2287f3(0x30f)];}function Rt(){const _0x58923c=_0x55c788;return X[_0x58923c(0x26c)];}function zt(_0x22245b){const _0x2a7953=_0x55c788;return _0x22245b===0x1?_0x2a7953(0x295):_0x22245b===0x3?_0x2a7953(0x338):_0x2a7953(0x173);}function Bt(_0x555bd2,_0x5cd9fe,_0x4b3229,_0x32608b){return _0x4b3229===0x1?_0x555bd2+_0x32608b:_0x4b3229===0x3?_0x555bd2+_0x5cd9fe-_0x32608b:_0x555bd2+_0x5cd9fe/0x2;}var Vt=class extends _0x52c324{constructor(_0x4f09d3=Ft,_0x123f64){const _0x359a22=_0x55c788;super(_0x4f09d3),K(this,_0x359a22(0x35e),{'ghostBounds':null,'parentBounds':null,'side':_0x359a22(0x338),'zoomRatio':0x1}),this[_0x359a22(0x349)]=!0x1,this['zIndex']=_0x464afb[_0x359a22(0x2fd)],this[_0x359a22(0x34f)](_0x123f64);}[_0x55c788(0x34f)](_0x16e15){const _0x1e19e8=_0x55c788;if(this[_0x1e19e8(0x35e)]={...this[_0x1e19e8(0x35e)],..._0x16e15},this['_state']['ghostBounds']){let _0x50402d=this[_0x1e19e8(0x1d1)]();this[_0x1e19e8(0x277)](_0x50402d),this[_0x1e19e8(0x155)]();}else this['hide']();let _0x519842=this;typeof _0x519842[_0x1e19e8(0x185)]=='function'?_0x519842[_0x1e19e8(0x185)](!0x0):this[_0x1e19e8(0x3d7)](!0x0);}[_0x55c788(0x218)](_0x5dcbed){return!0x1;}[_0x55c788(0x1c3)](_0xa266b0,_0x4310e3){const _0x253516=_0x55c788;var _0x9ea118,_0x2f40d6,_0x97c291;let _0x37d7f0=this[_0x253516(0x35e)][_0x253516(0x316)];if(!_0x37d7f0||!this[_0x253516(0x20f)])return this[_0x253516(0x3d7)](!0x1),this;let _0x1f4575=Number['isFinite'](this[_0x253516(0x35e)][_0x253516(0x3cc)])&&((_0x9ea118=this[_0x253516(0x35e)][_0x253516(0x3cc)])==null?0x0:_0x9ea118)>0x0?this['_state'][_0x253516(0x3cc)]:0x1,_0x60e204=Q(_0x37d7f0[_0x253516(0x295)],0x0),_0x19393b=Q(_0x37d7f0['top'],0x0),_0x59bd48=Math[_0x253516(0x20a)](0x1,Q(_0x37d7f0[_0x253516(0x24f)],Lt())),_0x4cb17f=Math[_0x253516(0x20a)](0x1,Q(_0x37d7f0['height'],Rt()));if(_0xa266b0[_0x253516(0x311)](),_0xa266b0[_0x253516(0x137)]=X[_0x253516(0x2db)],_0xa266b0[_0x253516(0x390)]=X[_0x253516(0x221)]/_0x1f4575,_0xa266b0['strokeStyle']=X[_0x253516(0x3ae)],_0xa266b0[_0x253516(0x2c2)]=X[_0x253516(0x369)],this[_0x253516(0x170)](_0xa266b0,{'left':_0x60e204,'top':_0x19393b,'width':_0x59bd48,'height':_0x4cb17f},_0x1f4575),this[_0x253516(0x389)](_0xa266b0,_0x1f4575),this[_0x253516(0x35e)]['renderGhostNode']===!0x1)return _0xa266b0[_0x253516(0x2b8)](),this[_0x253516(0x3d7)](!0x1),this;Z(_0xa266b0,_0x60e204,_0x19393b,_0x59bd48,_0x4cb17f,X[_0x253516(0x2dd)]),_0xa266b0[_0x253516(0x234)](),_0xa266b0[_0x253516(0x1b4)]();let _0x575f1c=this['_state'][_0x253516(0x33d)],_0x332dc1=Number['isFinite'](_0x575f1c==null?void 0x0:_0x575f1c['fontSize'])&&((_0x2f40d6=_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x1db)])==null?0x0:_0x2f40d6)>0x0?_0x575f1c['fontSize']:0x10,_0x5617cd=X[_0x253516(0x1d0)]/_0x1f4575;return _0xa266b0[_0x253516(0x2c2)]=(_0x97c291=_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x3c4)])==null?X[_0x253516(0x332)]:_0x97c291,_0xa266b0[_0x253516(0x1b1)]=Pt(X[_0x253516(0x3db)],_0x332dc1,_0x1f4575),_0xa266b0['textAlign']=zt(_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x17b)]),_0xa266b0[_0x253516(0x1ba)]=_0x253516(0x1cc),_0xa266b0['fillText']((_0x575f1c==null?void 0x0:_0x575f1c['text'])||_0x3d4bdb,Bt(_0x60e204,_0x59bd48,_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x17b)],_0x5617cd),_0x19393b+_0x4cb17f/0x2,Math[_0x253516(0x20a)](0x1,_0x59bd48-_0x5617cd*0x2)),_0xa266b0['restore'](),this[_0x253516(0x3d7)](!0x1),this;}[_0x55c788(0x1d1)](){const _0x3a3f9f=_0x55c788;var _0x41f1b9;let _0x38a952=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x316)],_0x2ff81e=Number['isFinite'](this['_state']['zoomRatio'])&&((_0x41f1b9=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x3cc)])==null?0x0:_0x41f1b9)>0x0?this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x3cc)]:0x1,_0x59dde1=X['dirtyPaddingScreen']/_0x2ff81e;if(!_0x38a952)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x5575d4=Q(_0x38a952[_0x3a3f9f(0x295)],0x0),_0x54cb0d=Q(_0x38a952[_0x3a3f9f(0x180)],0x0),_0x3f191c=Math['max'](0x1,Q(_0x38a952['width'],Lt())),_0x2fa54e=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x38a952[_0x3a3f9f(0x243)],Rt())),_0x69f4da=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x37f)],_0x1c2bda=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x2e8)],_0x3f0844=Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x295)],_0x5575d4),_0x20c692=Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x180)],_0x54cb0d),_0x5ae1ae=Math['max'](0x1,Q(_0x69f4da==null?void 0x0:_0x69f4da['width'],_0x3f191c)),_0x2ee6e1=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x243)],_0x2fa54e));if(!_0x1c2bda){let _0x528cfd=Math[_0x3a3f9f(0x29d)](_0x5575d4,_0x3f0844)-_0x59dde1,_0x56a923=Math['min'](_0x54cb0d,_0x20c692)-_0x59dde1,_0x4dcf44=Math['max'](_0x5575d4+_0x3f191c,_0x3f0844+_0x5ae1ae)+_0x59dde1,_0x329b8e=Math['max'](_0x54cb0d+_0x2fa54e,_0x20c692+_0x2ee6e1)+_0x59dde1;return{'left':_0x528cfd,'top':_0x56a923,'width':_0x4dcf44-_0x528cfd,'height':_0x329b8e-_0x56a923};}let _0x1f71e0=Q(_0x1c2bda[_0x3a3f9f(0x295)],_0x5575d4),_0x22c4f3=Q(_0x1c2bda['top'],_0x54cb0d),_0x31e131=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x1c2bda[_0x3a3f9f(0x24f)],Lt())),_0x4eb4e1=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x1c2bda['height'],Rt())),_0x43236c=Math['min'](_0x5575d4,_0x1f71e0,_0x3f0844)-_0x59dde1,_0x14b1cf=Math['min'](_0x54cb0d,_0x22c4f3,_0x20c692)-_0x59dde1,_0x5342da=Math[_0x3a3f9f(0x20a)](_0x5575d4+_0x3f191c,_0x1f71e0+_0x31e131,_0x3f0844+_0x5ae1ae)+_0x59dde1,_0xa966c3=Math[_0x3a3f9f(0x20a)](_0x54cb0d+_0x2fa54e,_0x22c4f3+_0x4eb4e1,_0x20c692+_0x2ee6e1)+_0x59dde1;return{'left':_0x43236c,'top':_0x14b1cf,'width':_0x5342da-_0x43236c,'height':_0xa966c3-_0x14b1cf};}[_0x55c788(0x389)](_0x35fd6f,_0x21a6fd){const _0x573c9c=_0x55c788;var _0x456d18;let _0x38728e=this[_0x573c9c(0x35e)][_0x573c9c(0x37f)];if(!_0x38728e)return;let _0x58b62e=X[_0x573c9c(0x38a)]/_0x21a6fd,_0x1cccb5=Q(_0x38728e[_0x573c9c(0x295)],0x0)-_0x58b62e,_0x23becf=Q(_0x38728e['top'],0x0)-_0x58b62e,_0x3bb520=Math['max'](0x1,Q(_0x38728e['width'],Lt()))+_0x58b62e*0x2,_0x5a8586=Math[_0x573c9c(0x20a)](0x1,Q(_0x38728e['height'],Rt()))+_0x58b62e*0x2;_0x35fd6f['save'](),_0x35fd6f[_0x573c9c(0x137)]=0x1,_0x35fd6f['lineWidth']=X[_0x573c9c(0x221)]/_0x21a6fd,_0x35fd6f[_0x573c9c(0x3aa)]=X['sourceHighlightStrokeColor'],_0x35fd6f['fillStyle']=X[_0x573c9c(0x263)],(_0x456d18=_0x35fd6f['setLineDash'])==null||_0x456d18[_0x573c9c(0x222)](_0x35fd6f,X[_0x573c9c(0x29b)][_0x573c9c(0x1f6)](_0x249abb=>_0x249abb/_0x21a6fd)),Z(_0x35fd6f,_0x1cccb5,_0x23becf,_0x3bb520,_0x5a8586,X['rootRadius']),_0x35fd6f[_0x573c9c(0x234)](),_0x35fd6f['stroke'](),_0x35fd6f[_0x573c9c(0x2b8)]();}['_drawConnectorPreview'](_0x515c32,_0x50954e,_0x3692c8){const _0x55224c=_0x55c788;var _0xb705ae;let _0x5a745b=this['_state'][_0x55224c(0x2e8)];if(!_0x5a745b)return;let _0x7a288d=Q(_0x5a745b[_0x55224c(0x295)],0x0),_0xf84395=Q(_0x5a745b[_0x55224c(0x180)],0x0),_0x5ea640=Math['max'](0x1,Q(_0x5a745b[_0x55224c(0x24f)],Lt())),_0x1a73d5=Math['max'](0x1,Q(_0x5a745b[_0x55224c(0x243)],Rt())),_0x3e4d93=X[_0x55224c(0x26d)],_0x2b03ee=(_0xb705ae=this['_state']['side'])==null?_0x55224c(0x338):_0xb705ae;if(_0x515c32[_0x55224c(0x311)](),_0x515c32[_0x55224c(0x137)]=X[_0x55224c(0x1b8)],_0x515c32[_0x55224c(0x3aa)]=X[_0x55224c(0x3ae)],_0x515c32[_0x55224c(0x390)]=X[_0x55224c(0x221)]/_0x3692c8,_0x515c32['lineCap']=_0x55224c(0x31c),_0x515c32[_0x55224c(0x3dc)]=_0x55224c(0x31c),_0x515c32['beginPath'](),_0x2b03ee===_0x55224c(0x180)||_0x2b03ee===_0x55224c(0x373)){let _0x50b48f=_0x7a288d+_0x5ea640/0x2,_0x279400=_0x50954e[_0x55224c(0x295)]+_0x50954e[_0x55224c(0x24f)]/0x2,_0x429b60=_0x2b03ee===_0x55224c(0x373)?_0xf84395+_0x1a73d5:_0xf84395,_0x589188=_0x2b03ee==='bottom'?_0x50954e['top']:_0x50954e['top']+_0x50954e[_0x55224c(0x243)],_0x494ab7=_0x2b03ee===_0x55224c(0x373)?Math['min'](_0x429b60+_0x3e4d93,(_0x429b60+_0x589188)/0x2):Math['max'](_0x429b60-_0x3e4d93,(_0x429b60+_0x589188)/0x2);_0x515c32[_0x55224c(0x2f0)](_0x50b48f,_0x429b60),_0x515c32[_0x55224c(0x2f2)](_0x50b48f,_0x494ab7),_0x515c32[_0x55224c(0x2f2)](_0x279400,_0x494ab7),_0x515c32[_0x55224c(0x2f2)](_0x279400,_0x589188);}else{let _0x27a7e5=_0xf84395+_0x1a73d5/0x2,_0x21660e=_0x50954e['top']+_0x50954e['height']/0x2,_0x57b8eb=_0x2b03ee===_0x55224c(0x338)?_0x7a288d+_0x5ea640:_0x7a288d,_0x666904=_0x2b03ee==='right'?_0x50954e[_0x55224c(0x295)]:_0x50954e['left']+_0x50954e[_0x55224c(0x24f)],_0x4e1d4e=_0x2b03ee===_0x55224c(0x338)?Math[_0x55224c(0x29d)](_0x57b8eb+_0x3e4d93,(_0x57b8eb+_0x666904)/0x2):Math[_0x55224c(0x20a)](_0x57b8eb-_0x3e4d93,(_0x57b8eb+_0x666904)/0x2);_0x515c32[_0x55224c(0x2f0)](_0x57b8eb,_0x27a7e5),_0x515c32[_0x55224c(0x2f2)](_0x4e1d4e,_0x27a7e5),_0x515c32[_0x55224c(0x2f2)](_0x4e1d4e,_0x21660e),_0x515c32[_0x55224c(0x2f2)](_0x666904,_0x21660e);}_0x515c32[_0x55224c(0x1b4)](),_0x515c32[_0x55224c(0x2b8)]();}};function Ht(_0x1ad8db,_0x2369e3){const _0x8ff64d=_0x55c788;var _0x4dac94;return(_0x4dac94=_0x2369e3==null?void 0x0:_0x2369e3[_0x1ad8db[_0x8ff64d(0x18a)]])==null?_0x1ad8db[_0x8ff64d(0x2ca)]['transform']:_0x4dac94;}function Ut(_0x24dc82,_0x4f05f3){const _0x2c5656=_0x55c788;var _0xed4c83,_0xdb06c,_0x27e9e1,_0x462040;let _0x1b1636=Ht(_0x24dc82,_0x4f05f3);return{'x':((_0xed4c83=_0x1b1636[_0x2c5656(0x295)])==null?0x0:_0xed4c83)+((_0xdb06c=_0x1b1636[_0x2c5656(0x24f)])==null?0x0:_0xdb06c)/0x2,'y':((_0x27e9e1=_0x1b1636[_0x2c5656(0x180)])==null?0x0:_0x27e9e1)+((_0x462040=_0x1b1636['height'])==null?0x0:_0x462040)/0x2};}function Wt(_0x54144c,_0x776cdb){return Math['hypot'](_0x54144c['x']-_0x776cdb['x'],_0x54144c['y']-_0x776cdb['y']);}function Gt(_0x253ace,_0x1a5b1a){const _0x2020d2=_0x55c788;var _0x420c04,_0x239314,_0x367f72,_0x4adaf8,_0x5023f6,_0x40b29b,_0x403df7,_0x518592;let _0x3cbff0=(_0x420c04=_0x253ace['left'])==null?0x0:_0x420c04,_0x4b730f=(_0x239314=_0x253ace[_0x2020d2(0x180)])==null?0x0:_0x239314,_0x2aba17=_0x3cbff0+((_0x367f72=_0x253ace['width'])==null?0x0:_0x367f72),_0x1c861b=_0x4b730f+((_0x4adaf8=_0x253ace[_0x2020d2(0x243)])==null?0x0:_0x4adaf8),_0xa480d7=(_0x5023f6=_0x1a5b1a['left'])==null?0x0:_0x5023f6,_0x3ee23f=(_0x40b29b=_0x1a5b1a[_0x2020d2(0x180)])==null?0x0:_0x40b29b,_0x4c235f=_0xa480d7+((_0x403df7=_0x1a5b1a[_0x2020d2(0x24f)])==null?0x0:_0x403df7),_0x249830=_0x3ee23f+((_0x518592=_0x1a5b1a[_0x2020d2(0x243)])==null?0x0:_0x518592),_0x48d448=Math[_0x2020d2(0x20a)](_0xa480d7-_0x2aba17,_0x3cbff0-_0x4c235f,0x0),_0x3d256e=Math[_0x2020d2(0x20a)](_0x3ee23f-_0x1c861b,_0x4b730f-_0x249830,0x0);return Math[_0x2020d2(0x254)](_0x48d448,_0x3d256e);}function Kt(_0x351f28,_0x4044ed,_0x48fc54){const _0x3d8d31=_0x55c788;var _0x2c3ac8;let _0x4c30cd=_0x4784a6((_0x2c3ac8=_0x351f28[_0x4044ed])==null?void 0x0:_0x2c3ac8['element']);for(;_0x4c30cd!=null&&_0x4c30cd['parentNodeId'];){var _0x352532;if(_0x4c30cd[_0x3d8d31(0x286)]===_0x48fc54)return!0x0;_0x4c30cd=_0x4784a6((_0x352532=_0x351f28[_0x4c30cd['parentNodeId']])==null?void 0x0:_0x352532[_0x3d8d31(0x2ca)]);}return!0x1;}function qt(_0x442ff7,_0x3e50e7,_0x5aeff4){const _0x2830fd=_0x55c788;var _0x2157ee,_0x15ca82;let _0x3a07e3=Ht(_0x442ff7,_0x5aeff4),_0x135bd8=(_0x2157ee=_0x3a07e3[_0x2830fd(0x180)])==null?0x0:_0x2157ee,_0x5cda49=(_0x15ca82=_0x3a07e3[_0x2830fd(0x243)])==null?0x0:_0x15ca82;return _0x5cda49<=0x0?null:_0x3e50e7['y']<=_0x135bd8+_0x5cda49/0x3?'before':_0x3e50e7['y']>=_0x135bd8+_0x5cda49*0x2/0x3?_0x2830fd(0x143):null;}function Jt(_0x3a374a,_0x47d21a){const _0x482796=_0x55c788;let _0x3f8cc8=_0x47d21a==null?void 0x0:_0x47d21a[_0x3a374a];return Number[_0x482796(0x273)](_0x3f8cc8==null?void 0x0:_0x3f8cc8[_0x482796(0x295)])&&Number[_0x482796(0x273)](_0x3f8cc8==null?void 0x0:_0x3f8cc8[_0x482796(0x180)])?{'kind':'detach','left':_0x3f8cc8[_0x482796(0x295)],'top':_0x3f8cc8[_0x482796(0x180)]}:{'kind':'detach'};}function Yt(_0x422b3d,_0xd8cfb2,_0x107b1e){const _0x1e6369=_0x55c788;let _0x2fbf59=_0x422b3d[_0xd8cfb2],_0xb4f153=_0x4784a6(_0x2fbf59==null?void 0x0:_0x2fbf59[_0x1e6369(0x2ca)]);if(!_0x2fbf59||!_0xb4f153||!_0xb4f153['parentNodeId']&&!(_0x107b1e!=null&&_0x107b1e[_0x1e6369(0x2aa)]))return{'kind':_0x1e6369(0x19e)};let _0x2194f0=_0x107b1e==null?void 0x0:_0x107b1e[_0x1e6369(0x165)],_0x4fc83d=Ht(_0x2fbf59,_0x2194f0),_0x1eaeff=Ut(_0x2fbf59,_0x2194f0),_0x5924c7=Object[_0x1e6369(0x1e2)](_0x422b3d)['map'](_0xa71f27=>{const _0xe35466=_0x1e6369;let _0x442280=_0x4784a6(_0xa71f27[_0xe35466(0x2ca)]);return!_0x442280||_0xa71f27[_0xe35466(0x18a)]===_0xd8cfb2||_0xa71f27[_0xe35466(0x18a)]===_0xb4f153['parentNodeId']||_0x107b1e!=null&&_0x107b1e[_0xe35466(0x2aa)]&&!_0xb4f153[_0xe35466(0x286)]&&_0x442280[_0xe35466(0x272)]===_0xb4f153[_0xe35466(0x272)]||Kt(_0x422b3d,_0xa71f27['elementId'],_0xd8cfb2)?null:{'item':_0xa71f27,'snapDistance':Gt(_0x4fc83d,Ht(_0xa71f27,_0x2194f0)),'center':Ut(_0xa71f27,_0x2194f0)};})[_0x1e6369(0x1eb)](_0x244edd=>!!_0x244edd)[_0x1e6369(0x354)]((_0x51de90,_0x3d45ec)=>_0x51de90['snapDistance']-_0x3d45ec[_0x1e6369(0x3d2)]||Wt(_0x1eaeff,_0x51de90['center'])-Wt(_0x1eaeff,_0x3d45ec[_0x1e6369(0x173)]))[0x0];if(_0x5924c7&&_0x5924c7[_0x1e6369(0x3d2)]<=0x64){let _0x3995d1=_0x4784a6(_0x5924c7[_0x1e6369(0x285)][_0x1e6369(0x2ca)]),_0x42dda2=_0x3995d1!=null&&_0x3995d1[_0x1e6369(0x286)]?qt(_0x5924c7[_0x1e6369(0x285)],_0x1eaeff,_0x2194f0):null;if(_0x3995d1!=null&&_0x3995d1['parentNodeId']&&_0x42dda2){var _0x1b87cb;return{'kind':_0x1e6369(0x138),'newParentNodeId':_0x3995d1[_0x1e6369(0x286)],'side':(_0x1b87cb=_0x3995d1[_0x1e6369(0x1c2)])==null?_0x1e6369(0x338):_0x1b87cb,'referenceNodeId':_0x5924c7['item'][_0x1e6369(0x18a)],'placement':_0x42dda2};}return{'kind':_0x1e6369(0x138),'newParentNodeId':_0x5924c7[_0x1e6369(0x285)]['elementId'],'side':_0x1eaeff['x']<_0x5924c7[_0x1e6369(0x173)]['x']?_0x1e6369(0x295):_0x1e6369(0x338)};}if(_0x107b1e!=null&&_0x107b1e['detachWhenNoSnap'])return Jt(_0xd8cfb2,_0x2194f0);if(!_0xb4f153[_0x1e6369(0x286)])return{'kind':_0x1e6369(0x19e)};let _0x1c50b3=_0x422b3d[_0xb4f153[_0x1e6369(0x286)]];return _0x1c50b3&&Wt(_0x1eaeff,Ut(_0x1c50b3,_0x2194f0))>0x230?Jt(_0xd8cfb2,_0x2194f0):{'kind':_0x1e6369(0x19e)};}function Xt(_0x54897a,_0x55c36f){const _0xef3e94=_0x55c788;var _0x39cd21,_0x380626;return _0x54897a['elementId']===_0x55c36f||((_0x39cd21=_0x4784a6(_0x54897a[_0xef3e94(0x2ca)]))==null?void 0x0:_0x39cd21[_0xef3e94(0x272)])===_0x55c36f||((_0x380626=_0x17e585(_0x54897a[_0xef3e94(0x2ca)]))==null?void 0x0:_0x380626[_0xef3e94(0x272)])===_0x55c36f;}function Zt(_0x2d735c,_0x51b510,_0x2c5dbd,_0x37443f){const _0x20d73f=_0x55c788;var _0x2618c3,_0x4e570d,_0x1ae08d,_0x25e9f1,_0x5bad61,_0x5259c3;let _0x229470=_0x2d735c[_0x51b510];if(!_0x229470)return _0x2d735c;let _0x239923=(_0x2618c3=(_0x4e570d=_0x229470['transform'])==null?_0x229470[_0x20d73f(0x2ca)]['transform']:_0x4e570d)==null?{}:_0x2618c3;return{..._0x2d735c,[_0x51b510]:{..._0x229470,'transform':{..._0x239923,'left':((_0x1ae08d=_0x239923[_0x20d73f(0x295)])==null?0x0:_0x1ae08d)+_0x2c5dbd,'top':((_0x25e9f1=_0x239923[_0x20d73f(0x180)])==null?0x0:_0x25e9f1)+_0x37443f},'element':{..._0x229470['element'],'transform':{..._0x229470[_0x20d73f(0x2ca)]['transform'],'left':((_0x5bad61=_0x229470[_0x20d73f(0x2ca)][_0x20d73f(0x226)][_0x20d73f(0x295)])==null?0x0:_0x5bad61)+_0x2c5dbd,'top':((_0x5259c3=_0x229470[_0x20d73f(0x2ca)][_0x20d73f(0x226)][_0x20d73f(0x180)])==null?0x0:_0x5259c3)+_0x37443f}}}};}function Qt(_0x589e5b){const _0x3bd7a5=_0x55c788;if(!Number[_0x3bd7a5(0x273)](_0x589e5b['liveRootBounds'][_0x3bd7a5(0x295)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x327)][_0x3bd7a5(0x180)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x295)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x180)]))return null;let _0x1a8afd=_0x589e5b[_0x3bd7a5(0x327)]['left']-_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x295)],_0x35a96e=_0x589e5b[_0x3bd7a5(0x327)][_0x3bd7a5(0x180)]-_0x589e5b[_0x3bd7a5(0x156)]['top'],_0x3c6483=Zt(_0x589e5b['elementData'],_0x589e5b['scopeId'],_0x1a8afd,_0x35a96e),_0x9a001c=[];return Object[_0x3bd7a5(0x1e2)](_0x3c6483)[_0x3bd7a5(0x123)](_0x3d90a7=>{const _0x1c80dd=_0x3bd7a5;if(_0x3d90a7['elementId']===_0x589e5b['rootNodeId']||_0x3d90a7[_0x1c80dd(0x18a)]===_0x589e5b[_0x1c80dd(0x191)]||!Xt(_0x3d90a7,_0x589e5b[_0x1c80dd(0x191)]))return;if(_0x1c80dd(0x2bb)in _0x3d90a7[_0x1c80dd(0x2ca)]){var _0x4486c0;let _0x4f489f=(_0x4486c0=_0x589e5b[_0x1c80dd(0x365)][_0x3d90a7[_0x1c80dd(0x18a)]])==null?void 0x0:_0x4486c0[_0x1c80dd(0x2ca)];_0x4f489f&&'connectorData'in _0x4f489f&&_0x9a001c[_0x1c80dd(0x3b7)]({'kind':_0x1c80dd(0x1f3),'elementId':_0x3d90a7['elementId'],'element':_0x1d56a8(_0x4f489f,{'x':_0x1a8afd,'y':_0x35a96e})});return;}let _0x272233=_0x329079(_0x3c6483,_0x3d90a7[_0x1c80dd(0x18a)]);_0x272233&&_0x9a001c['push']({'kind':'bounds','elementId':_0x3d90a7[_0x1c80dd(0x18a)],'bounds':_0x272233});}),{'deltaX':_0x1a8afd,'deltaY':_0x35a96e,'elementData':_0x3c6483,'items':_0x9a001c};}let $t=class extends _0x4c4ffe{constructor(_0xbb5272,_0x48e5f2,_0x3e6873,_0xf9b47,_0x578fbd,_0x5148b6){const _0x40fbd5=_0x55c788;super(),this[_0x40fbd5(0x16f)]=_0xbb5272,this[_0x40fbd5(0x334)]=_0x48e5f2,this[_0x40fbd5(0x239)]=_0x3e6873,this[_0x40fbd5(0x22a)]=_0xf9b47,this[_0x40fbd5(0x184)]=_0x578fbd,this[_0x40fbd5(0x336)]=_0x5148b6,K(this,'_dragStart',null),K(this,_0x40fbd5(0x391),null),K(this,_0x40fbd5(0x130),null),K(this,_0x40fbd5(0x268),!0x1),K(this,_0x40fbd5(0x20e),null),K(this,_0x40fbd5(0x28f),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0x40fbd5(0x2ae),null),K(this,'_childDragSelectionHidden',!0x1),this[_0x40fbd5(0x25a)]();}[_0x55c788(0x25a)](){const _0x56ac32=_0x55c788;var _0x4b916c,_0x28cec3,_0x54a7e6,_0x2df98e,_0x213422,_0x303c9e,_0x570fc3,_0x1de6ca,_0x4a8e22,_0x4a32e4;let _0x5ea291=this[_0x56ac32(0x16f)][_0x56ac32(0x3d4)]['getTransformerByCreate']();this[_0x56ac32(0x367)](_0x1e5fe4(_0x5ea291[_0x56ac32(0x366)][_0x56ac32(0x3b9)](_0x38681d(this[_0x56ac32(0x2bd)]))['subscribe'](()=>{const _0x53e5d8=_0x56ac32;this[_0x53e5d8(0x39b)]();}))),this[_0x56ac32(0x367)](_0x1e5fe4((_0x4b916c=(_0x28cec3=_0x5ea291['changing$'])==null?void 0x0:_0x28cec3[_0x56ac32(0x3b9)](_0x38681d(this[_0x56ac32(0x2bd)]))[_0x56ac32(0x304)](_0x20dbd9=>{const _0x2dab31=_0x56ac32;this[_0x2dab31(0x32b)](_0x20dbd9==null?void 0x0:_0x20dbd9[_0x2dab31(0x3ba)]);}))==null?{'dispose':()=>{}}:_0x4b916c)),this[_0x56ac32(0x367)](_0x1e5fe4(_0x5ea291['changeEnd$']['pipe'](_0x38681d(this[_0x56ac32(0x2bd)]))[_0x56ac32(0x304)](_0x3dc197=>{const _0x14a2f3=_0x56ac32;setTimeout(()=>this[_0x14a2f3(0x134)](_0x3dc197==null?void 0x0:_0x3dc197['objects']),0x0);}))),this['disposeWithMe'](_0x1e5fe4((_0x54a7e6=(_0x2df98e=this[_0x56ac32(0x16f)][_0x56ac32(0x3d4)][_0x56ac32(0x14a)])==null?void 0x0:_0x2df98e['subscribeEvent']({'priority':0x3,'next':([_0x5e6aa1])=>this[_0x56ac32(0x199)](_0x5e6aa1)}))==null?{'dispose':()=>{}}:_0x54a7e6)),this[_0x56ac32(0x367)](_0x1e5fe4((_0x213422=(_0x303c9e=this[_0x56ac32(0x16f)]['scene'][_0x56ac32(0x27c)])==null?void 0x0:_0x303c9e[_0x56ac32(0x1ed)]({'priority':0x3,'next':([_0x408719,_0x166497])=>this[_0x56ac32(0x1d9)](_0x408719,_0x166497)}))==null?{'dispose':()=>{}}:_0x213422)),this['disposeWithMe'](_0x1e5fe4((_0x570fc3=(_0x1de6ca=this[_0x56ac32(0x16f)]['scene'][_0x56ac32(0x27e)])==null?void 0x0:_0x1de6ca[_0x56ac32(0x1ed)]({'priority':0x3,'next':([_0x151857,_0x4149b0])=>this['_applyPointerChildDrag'](_0x151857,_0x4149b0)}))==null?{'dispose':()=>{}}:_0x570fc3)),this[_0x56ac32(0x367)](_0x1e5fe4((_0x4a8e22=(_0x4a32e4=this['_renderContext'][_0x56ac32(0x3d4)]['onPointerCancel$'])==null?void 0x0:_0x4a32e4['subscribeEvent']({'priority':0x3,'next':([,_0x46a117])=>this[_0x56ac32(0x2be)](_0x46a117)}))==null?{'dispose':()=>{}}:_0x4a8e22)),this[_0x56ac32(0x367)](_0x1e5fe4(()=>{const _0x49299e=_0x56ac32;var _0x9ab72c;return(_0x9ab72c=this[_0x49299e(0x28f)])==null?void 0x0:_0x9ab72c['dispose']();})),this[_0x56ac32(0x367)](_0x1e5fe4(()=>this['_disposeActivePointerDragListeners']())),this[_0x56ac32(0x1da)](),this[_0x56ac32(0x1ab)](),this['disposeWithMe'](_0x1e5fe4(()=>this[_0x56ac32(0x209)]()));}[_0x55c788(0x1da)](){const _0x182107=_0x55c788;let _0x34171b=this[_0x182107(0x334)],_0x23f148=_0x552556=>{const _0x1114e4=_0x182107;let _0x726e77=_0x552556==null?void 0x0:_0x552556[_0x1114e4(0x304)](()=>this[_0x1114e4(0x1ab)]());_0x726e77&&this[_0x1114e4(0x367)](_0x1e5fe4(()=>{const _0x380ab8=_0x1114e4;var _0x365581,_0x1f7a50;(_0x365581=_0x726e77[_0x380ab8(0x3c5)])==null||_0x365581['call'](_0x726e77),(_0x1f7a50=_0x726e77[_0x380ab8(0x236)])==null||_0x1f7a50[_0x380ab8(0x222)](_0x726e77);}));};_0x23f148(_0x34171b[_0x182107(0x233)]),_0x23f148(_0x34171b['elementUpdate$']),_0x23f148(_0x34171b[_0x182107(0x3a9)]),this['_elementStateService'][_0x182107(0x3d5)]&&this[_0x182107(0x367)](_0x1e5fe4(this[_0x182107(0x239)][_0x182107(0x3d5)]['pipe'](_0x38681d(this[_0x182107(0x2bd)]))[_0x182107(0x304)](()=>{const _0x4a4865=_0x182107;this[_0x4a4865(0x1ab)]();})));}['_scheduleAttachObjectPointerListeners'](){const _0x190bc3=_0x55c788;this[_0x190bc3(0x265)]||(this['_attachObjectPointerScheduled']=!0x0,Promise[_0x190bc3(0x3b0)]()['then'](()=>this[_0x190bc3(0x20d)]()));}['_attachObjectPointerListeners'](){const _0x564021=_0x55c788;var _0x4984d6;this[_0x564021(0x265)]=!0x1;let _0x15652f=this['_resolveCurrentBoardContext'](),_0x199fd8=this['_renderContext'][_0x564021(0x3d4)];if(!_0x15652f||typeof _0x199fd8[_0x564021(0x33c)]!=_0x564021(0x164))return;let _0x3f38b7=this[_0x564021(0x334)][_0x564021(0x16c)](_0x15652f[_0x564021(0x3d3)],_0x15652f['subUnitId']),_0x44af2f=new _0x1ec4ce();(_0x4984d6=this[_0x564021(0x28f)])==null||_0x4984d6[_0x564021(0x3c5)](),this['_objectPointerDisposables']=_0x44af2f,Object[_0x564021(0x1e2)](_0x3f38b7)[_0x564021(0x123)](_0x330ec4=>{const _0x3ad68e=_0x564021;var _0x1132ce,_0x244e00,_0x54cc9e;let _0x296336=_0x4784a6(_0x330ec4['element']);if(!(_0x296336!=null&&_0x296336['parentNodeId']))return;let _0x270e86=_0x4f1902(_0x15652f[_0x3ad68e(0x3d3)],_0x330ec4[_0x3ad68e(0x18a)]),_0x449f08=(_0x1132ce=(_0x244e00=_0x199fd8[_0x3ad68e(0x1a7)])==null?void 0x0:_0x244e00[_0x3ad68e(0x222)](_0x199fd8,_0x270e86))==null?(_0x54cc9e=_0x199fd8[_0x3ad68e(0x33c)])==null?void 0x0:_0x54cc9e[_0x3ad68e(0x222)](_0x199fd8,_0x270e86):_0x1132ce;_0x449f08!=null&&_0x449f08[_0x3ad68e(0x14a)]&&_0x44af2f['add'](_0x449f08[_0x3ad68e(0x14a)][_0x3ad68e(0x1ed)]({'priority':-0xa,'next':([_0x3d71e6,_0x1e01a6])=>this[_0x3ad68e(0x199)](_0x3d71e6,{'unitId':_0x15652f[_0x3ad68e(0x3d3)],'subUnitId':_0x15652f['subUnitId'],'nodeId':_0x330ec4[_0x3ad68e(0x18a)]},_0x1e01a6)}));});}[_0x55c788(0x387)](){const _0x20a886=_0x55c788;let _0x261c0f=this['_elementStateService'][_0x20a886(0x125)]()[_0x20a886(0x1de)];if(_0x261c0f)return _0x261c0f;let _0xbc173c=this[_0x20a886(0x16f)][_0x20a886(0x3d3)],_0x14faa8=_0xbc173c?this[_0x20a886(0x336)][_0x20a886(0x161)](_0xbc173c,_0x42e936['UNIVER_BOARD']):null,_0x380208=_0x14faa8==null?void 0x0:_0x14faa8[_0x20a886(0x290)]();return!_0x14faa8||!_0x380208?null:{'unitId':_0x14faa8[_0x20a886(0x1e8)](),'subUnitId':_0x380208};}['_captureDragStart'](){const _0x31c0fb=_0x55c788;var _0x515154,_0x228e51,_0x197312,_0x105993,_0x1c3160,_0x5c3e5e,_0x2311fb,_0x291b51,_0x4e6f88;let _0x35fa90=this[_0x31c0fb(0x239)][_0x31c0fb(0x125)]();this[_0x31c0fb(0x268)]=!0x1,this[_0x31c0fb(0x1e0)]=!0x1,this[_0x31c0fb(0x20e)]=null;let _0xcd652a=_0x35fa90[_0x31c0fb(0x1de)],_0x3adc34=(_0x515154=_0x35fa90[_0x31c0fb(0x3a3)])==null?_0x35fa90[_0x31c0fb(0x319)][0x0]:_0x515154;if(!_0xcd652a||!_0x3adc34||_0x35fa90['selectedIds']['length']!==0x1){this[_0x31c0fb(0x257)]=null,this[_0x31c0fb(0x209)]();return;}let _0x3ecf30=this[_0x31c0fb(0x334)][_0x31c0fb(0x16c)](_0xcd652a['unitId'],_0xcd652a[_0x31c0fb(0x346)]),_0x3ecb04=_0x3ecf30[_0x3adc34],_0x4f3ec0=_0x4784a6(_0x3ecb04==null?void 0x0:_0x3ecb04[_0x31c0fb(0x2ca)]);if(!_0x3ecb04||!_0x4f3ec0){this[_0x31c0fb(0x257)]=null,this[_0x31c0fb(0x209)]();return;}let _0xbb0db3=_0x329079(_0x3ecf30,_0x3adc34),_0x4bfc2f=_0x3ecb04[_0x31c0fb(0x2ca)]['transform'];this['_dragStart']={'kind':_0x4f3ec0[_0x31c0fb(0x286)]===null?_0x31c0fb(0x3a8):'child','unitId':_0xcd652a[_0x31c0fb(0x3d3)],'subUnitId':_0xcd652a['subUnitId'],'nodeId':_0x3adc34,'scopeId':_0x4f3ec0[_0x31c0fb(0x272)],'left':(_0x228e51=(_0x197312=_0xbb0db3==null?void 0x0:_0xbb0db3['left'])==null?_0x4bfc2f[_0x31c0fb(0x295)]:_0x197312)==null?0x0:_0x228e51,'top':(_0x105993=(_0x1c3160=_0xbb0db3==null?void 0x0:_0xbb0db3[_0x31c0fb(0x180)])==null?_0x4bfc2f[_0x31c0fb(0x180)]:_0x1c3160)==null?0x0:_0x105993,'width':(_0x5c3e5e=(_0x2311fb=_0xbb0db3==null?void 0x0:_0xbb0db3['width'])==null?_0x4bfc2f['width']:_0x2311fb)==null?0x0:_0x5c3e5e,'height':(_0x291b51=(_0x4e6f88=_0xbb0db3==null?void 0x0:_0xbb0db3[_0x31c0fb(0x243)])==null?_0x4bfc2f[_0x31c0fb(0x243)]:_0x4e6f88)==null?0x0:_0x291b51,'elementData':_0x3ecf30};}['_capturePointerChildDragStart'](_0x196ac5,_0x4b6d79,_0x2509d9){const _0x470584=_0x55c788;var _0x426a2a,_0x4af9f9,_0x1a4cef,_0x146e80,_0x76f72d,_0x4d5a09,_0x5e30c9,_0x4f454f,_0xb40436,_0x30e59c,_0x56b9d6,_0x4a4c50,_0xa50679,_0x4ac362;if(((_0x426a2a=_0x196ac5['button'])==null?0x0:_0x426a2a)!==0x0)return;let _0x28c47c=this['_elementStateService'][_0x470584(0x125)]();if(_0x28c47c[_0x470584(0x2fe)]){this[_0x470584(0x391)]=null;return;}let _0x1bace7=_0x4b6d79?{'unitId':_0x4b6d79[_0x470584(0x3d3)],'subUnitId':_0x4b6d79[_0x470584(0x346)]}:(_0x4af9f9=_0x28c47c['context'])==null?this[_0x470584(0x387)]():_0x4af9f9,_0x52b0bb=(_0x1a4cef=_0x4b6d79==null?void 0x0:_0x4b6d79[_0x470584(0x398)])==null?_0x28c47c[_0x470584(0x319)]['length']===0x1?(_0x146e80=_0x28c47c[_0x470584(0x3a3)])==null?_0x28c47c[_0x470584(0x319)][0x0]:_0x146e80:void 0x0:_0x1a4cef;if(!_0x1bace7){this[_0x470584(0x391)]=null;return;}let _0xbee7d7=this['_boardElementService'][_0x470584(0x16c)](_0x1bace7[_0x470584(0x3d3)],_0x1bace7[_0x470584(0x346)]),_0x5ae0e2=this['_getBoardPointFromEvent'](_0x196ac5);if(!_0x4b6d79){var _0x90169e,_0x4b7fd9,_0x4db3a4,_0x5d45bf,_0x255add;let _0x3402ca=_0x52b0bb?_0xbee7d7[_0x52b0bb]:null,_0xd175c6=_0x4784a6(_0x3402ca==null?void 0x0:_0x3402ca['element']),_0x3aad17=_0x52b0bb?(_0x90169e=_0x329079(_0xbee7d7,_0x52b0bb))==null?_0x3402ca==null?void 0x0:_0x3402ca['element'][_0x470584(0x226)]:_0x90169e:null;(!(_0xd175c6!=null&&_0xd175c6['parentNodeId'])||!_0x3aad17||!this[_0x470584(0x15c)](_0x5ae0e2,{'left':(_0x4b7fd9=_0x3aad17[_0x470584(0x295)])==null?0x0:_0x4b7fd9,'top':(_0x4db3a4=_0x3aad17[_0x470584(0x180)])==null?0x0:_0x4db3a4,'width':(_0x5d45bf=_0x3aad17[_0x470584(0x24f)])==null?0x0:_0x5d45bf,'height':(_0x255add=_0x3aad17['height'])==null?0x0:_0x255add}))&&(_0x52b0bb=this[_0x470584(0x31d)](_0xbee7d7,_0x5ae0e2));}if(!_0x52b0bb){this[_0x470584(0x391)]=null;return;}let _0x5a9cd8=_0xbee7d7[_0x52b0bb],_0x332c68=_0x4784a6(_0x5a9cd8==null?void 0x0:_0x5a9cd8[_0x470584(0x2ca)]);if(!_0x5a9cd8||!(_0x332c68!=null&&_0x332c68[_0x470584(0x286)])){this[_0x470584(0x391)]=null;return;}(_0x76f72d=(_0x4d5a09=this[_0x470584(0x239)])['selectElements'])==null||_0x76f72d[_0x470584(0x222)](_0x4d5a09,_0x1bace7,[_0x52b0bb],_0x52b0bb),_0x2509d9==null||_0x2509d9[_0x470584(0x2d4)]();let _0x395c38=_0x329079(_0xbee7d7,_0x52b0bb),_0x1f9ed6=_0x5a9cd8[_0x470584(0x2ca)][_0x470584(0x226)],_0x28168a={'left':(_0x5e30c9=(_0x4f454f=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x295)])==null?_0x1f9ed6[_0x470584(0x295)]:_0x4f454f)==null?0x0:_0x5e30c9,'top':(_0xb40436=(_0x30e59c=_0x395c38==null?void 0x0:_0x395c38['top'])==null?_0x1f9ed6[_0x470584(0x180)]:_0x30e59c)==null?0x0:_0xb40436,'width':(_0x56b9d6=(_0x4a4c50=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x24f)])==null?_0x1f9ed6[_0x470584(0x24f)]:_0x4a4c50)==null?0x0:_0x56b9d6,'height':(_0xa50679=(_0x4ac362=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x243)])==null?_0x1f9ed6[_0x470584(0x243)]:_0x4ac362)==null?0x0:_0xa50679};if(!_0x4b6d79&&!this[_0x470584(0x15c)](_0x5ae0e2,_0x28168a)){this[_0x470584(0x391)]=null;return;}let _0x616922=this[_0x470584(0x39a)](_0x196ac5);this[_0x470584(0x268)]=!0x1,this[_0x470584(0x1e0)]=!0x1,this['_lastChildDragAction']=null,this[_0x470584(0x391)]={'kind':_0x470584(0x1d7),'unitId':_0x1bace7[_0x470584(0x3d3)],'subUnitId':_0x1bace7[_0x470584(0x346)],'nodeId':_0x52b0bb,'scopeId':_0x332c68['structureScopeId'],..._0x28168a,'pointerStartX':_0x616922['x'],'pointerStartY':_0x616922['y'],'elementData':_0xbee7d7},this[_0x470584(0x244)](),this['_consumePointerEvent'](_0x196ac5,_0x2509d9);}[_0x55c788(0x1d9)](_0x3e7b46,_0x2cff40){const _0x1d2559=_0x55c788;var _0x27b90e,_0x5b5761;let _0x2c66b6=this[_0x1d2559(0x391)];if(!_0x2c66b6||_0x3e7b46[_0x1d2559(0x303)]!==void 0x0&&_0x3e7b46['buttons']!==0x1)return;let _0x593f85=this[_0x1d2559(0x2eb)](_0x3e7b46,_0x2c66b6);if(!this[_0x1d2559(0x2de)](_0x2c66b6,_0x593f85))return;this[_0x1d2559(0x268)]||this[_0x1d2559(0x197)](),this[_0x1d2559(0x268)]=!0x0;let _0x5306a1=this['_createTopologyBoundsByElementId'](_0x2c66b6[_0x1d2559(0x365)],_0x2c66b6[_0x1d2559(0x398)],_0x593f85),_0x2b2afd=Yt(_0x2c66b6[_0x1d2559(0x365)],_0x2c66b6['nodeId'],{'boundsByElementId':_0x5306a1,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x2b2afd,this['_syncChildDragPreviewObject'](_0x593f85,_0x2b2afd,_0x5306a1),this['_consumePointerEvent'](_0x3e7b46,_0x2cff40),this['_renderContext'][_0x1d2559(0x3d4)]['makeDirty'](!0x0),(_0x27b90e=(_0x5b5761=this[_0x1d2559(0x16f)][_0x1d2559(0x3d4)])[_0x1d2559(0x19b)])==null||_0x27b90e[_0x1d2559(0x222)](_0x5b5761);}[_0x55c788(0x344)](_0x5d57d7,_0xad1cd5){const _0x3e42fa=_0x55c788;let _0x2ff8db=this[_0x3e42fa(0x391)];if(!_0x2ff8db)return;if(this[_0x3e42fa(0x391)]=null,this[_0x3e42fa(0x2d6)](),this[_0x3e42fa(0x209)](),!this[_0x3e42fa(0x268)]){this[_0x3e42fa(0x20e)]=null;return;}let _0x57e75c=this[_0x3e42fa(0x334)][_0x3e42fa(0x16c)](_0x2ff8db[_0x3e42fa(0x3d3)],_0x2ff8db['subUnitId']),_0x59921f=this[_0x3e42fa(0x2eb)](_0x5d57d7,_0x2ff8db),_0x1e4c6a=this['_createTopologyBoundsByElementId'](_0x57e75c,_0x2ff8db[_0x3e42fa(0x398)],_0x59921f),_0xf57f4f=Yt(_0x57e75c,_0x2ff8db[_0x3e42fa(0x398)],{'boundsByElementId':_0x1e4c6a,'detachWhenNoSnap':!0x0});this[_0x3e42fa(0x20e)]=null,this['_executeChildDragAction'](_0x2ff8db[_0x3e42fa(0x3d3)],_0x2ff8db[_0x3e42fa(0x346)],_0x2ff8db[_0x3e42fa(0x398)],_0x57e75c,_0xf57f4f),this['_childDragSelectionHidden']=!0x1,this[_0x3e42fa(0x192)](_0x5d57d7,_0xad1cd5);}[_0x55c788(0x2be)](_0x293232){const _0x574ac6=_0x55c788;let _0x41fb63=this[_0x574ac6(0x391)];if(_0x41fb63){if(this['_pointerDragStart']=null,this['_disposeActivePointerDragListeners'](),this[_0x574ac6(0x268)]=!0x1,this[_0x574ac6(0x20e)]=null,this['_removeDragPreviewObject'](),this[_0x574ac6(0x1e0)]){var _0x2e2631,_0x4c67f5;(_0x2e2631=(_0x4c67f5=this[_0x574ac6(0x239)])[_0x574ac6(0x379)])==null||_0x2e2631[_0x574ac6(0x222)](_0x4c67f5,{'unitId':_0x41fb63[_0x574ac6(0x3d3)],'subUnitId':_0x41fb63[_0x574ac6(0x346)]},[_0x41fb63[_0x574ac6(0x398)]],_0x41fb63[_0x574ac6(0x398)]),this[_0x574ac6(0x1e0)]=!0x1;}_0x293232==null||_0x293232[_0x574ac6(0x2d4)]();}}[_0x55c788(0x244)](){const _0x82bd43=_0x55c788;this[_0x82bd43(0x2d6)]();let _0x38d77=typeof window>'u'?null:window;if(!(_0x38d77!=null&&_0x38d77[_0x82bd43(0x1c8)]))return;let _0x485b67=new _0x1ec4ce(),_0x24100c=_0x538472=>this[_0x82bd43(0x1d9)](_0x538472),_0x3c999a=_0x3f7d2a=>this['_applyPointerChildDrag'](_0x3f7d2a),_0x167182=()=>this[_0x82bd43(0x2be)]();_0x38d77['addEventListener'](_0x82bd43(0x15e),_0x24100c,{'capture':!0x0}),_0x38d77[_0x82bd43(0x1c8)](_0x82bd43(0x3c8),_0x3c999a,{'capture':!0x0}),_0x38d77['addEventListener']('pointercancel',_0x167182,{'capture':!0x0}),_0x485b67['add'](_0x1e5fe4(()=>{const _0x4181f1=_0x82bd43;_0x38d77['removeEventListener']('pointermove',_0x24100c,{'capture':!0x0}),_0x38d77[_0x4181f1(0x2ed)](_0x4181f1(0x3c8),_0x3c999a,{'capture':!0x0}),_0x38d77[_0x4181f1(0x2ed)]('pointercancel',_0x167182,{'capture':!0x0});})),this[_0x82bd43(0x2ae)]=_0x485b67;}[_0x55c788(0x31d)](_0xad5b1b,_0x360761){const _0xd18e30=_0x55c788;let _0x42adf0=Object[_0xd18e30(0x1e2)](_0xad5b1b);for(let _0x12eba5=_0x42adf0[_0xd18e30(0x207)]-0x1;_0x12eba5>=0x0;--_0x12eba5){var _0x1e9d28,_0x5f2e37,_0x1027eb,_0x7eef9c,_0x585fba;let _0x4bee84=_0x42adf0[_0x12eba5],_0x38bf2d=_0x4784a6(_0x4bee84[_0xd18e30(0x2ca)]);if(!(_0x38bf2d!=null&&_0x38bf2d[_0xd18e30(0x286)]))continue;let _0x24378c=(_0x1e9d28=_0x329079(_0xad5b1b,_0x4bee84[_0xd18e30(0x18a)]))==null?_0x4bee84['element'][_0xd18e30(0x226)]:_0x1e9d28;if(this[_0xd18e30(0x15c)](_0x360761,{'left':(_0x5f2e37=_0x24378c['left'])==null?0x0:_0x5f2e37,'top':(_0x1027eb=_0x24378c['top'])==null?0x0:_0x1027eb,'width':(_0x7eef9c=_0x24378c[_0xd18e30(0x24f)])==null?0x0:_0x7eef9c,'height':(_0x585fba=_0x24378c[_0xd18e30(0x243)])==null?0x0:_0x585fba}))return _0x4bee84[_0xd18e30(0x18a)];}}[_0x55c788(0x2d6)](){const _0x3608ca=_0x55c788;var _0x4c09e8;(_0x4c09e8=this['_activePointerDragDisposables'])==null||_0x4c09e8[_0x3608ca(0x3c5)](),this[_0x3608ca(0x2ae)]=null;}['_syncDragPreview'](_0x3757b4){let _0x5e312f=this['_dragStart'];if(_0x5e312f){if(_0x5e312f['kind']==='root'){this['_syncRootScopePreview'](_0x3757b4),this['_syncRootReparentPreview'](_0x3757b4);return;}this['_syncChildDragPreview'](_0x3757b4);}}[_0x55c788(0x3ca)](_0xdd17a3){const _0x588bc0=_0x55c788;let _0x1a982e=this['_dragStart'];if(!_0x1a982e||_0x1a982e[_0x588bc0(0x2a8)]!==_0x588bc0(0x3a8))return;let _0x2c13f1=_0xdd17a3==null?void 0x0:_0xdd17a3[_0x588bc0(0x21a)](_0x4f1902(_0x1a982e[_0x588bc0(0x3d3)],_0x1a982e['nodeId']));if(!_0x2c13f1||!Number[_0x588bc0(0x273)](_0x2c13f1[_0x588bc0(0x295)])||!Number[_0x588bc0(0x273)](_0x2c13f1[_0x588bc0(0x180)]))return;let _0x32d6ec=Qt({'elementData':_0x1a982e[_0x588bc0(0x365)],'rootNodeId':_0x1a982e[_0x588bc0(0x398)],'scopeId':_0x1a982e[_0x588bc0(0x191)],'rootStartBounds':{'left':_0x1a982e[_0x588bc0(0x295)],'top':_0x1a982e[_0x588bc0(0x180)]},'liveRootBounds':{'left':_0x2c13f1[_0x588bc0(0x295)],'top':_0x2c13f1[_0x588bc0(0x180)]}});if(!_0x32d6ec)return;let _0x4bce38=this[_0x588bc0(0x16f)][_0x588bc0(0x3d4)],_0x4310cc=_0x4bce38,_0x318420=!0x1;_0x32d6ec[_0x588bc0(0x2c6)][_0x588bc0(0x123)](_0x8d5248=>{const _0x3e10df=_0x588bc0;var _0x3dc931,_0x6d26c6;let _0x41d4f6=_0x4f1902(_0x1a982e[_0x3e10df(0x3d3)],_0x8d5248[_0x3e10df(0x18a)]),_0x6aed33=(_0x3dc931=(_0x6d26c6=_0x4310cc[_0x3e10df(0x1a7)])==null?void 0x0:_0x6d26c6[_0x3e10df(0x222)](_0x4310cc,_0x41d4f6))==null?_0x4bce38['getObject'](_0x41d4f6):_0x3dc931;if(_0x6aed33){if(_0x8d5248[_0x3e10df(0x2a8)]==='connector'&&typeof _0x6aed33[_0x3e10df(0x378)]==_0x3e10df(0x164)){_0x6aed33[_0x3e10df(0x378)](_0x8d5248['element'],_0x32d6ec['elementData']),_0x318420=!0x0;return;}_0x8d5248[_0x3e10df(0x2a8)]===_0x3e10df(0x289)&&(_0x6aed33[_0x3e10df(0x277)](_0x8d5248[_0x3e10df(0x289)]),typeof _0x6aed33[_0x3e10df(0x185)]==_0x3e10df(0x164)?_0x6aed33['makeDirtyNoDebounce'](!0x0):_0x6aed33[_0x3e10df(0x3d7)](!0x0),_0x318420=!0x0);}}),_0x318420&&_0x4bce38[_0x588bc0(0x3d7)](!0x0);}[_0x55c788(0x3ab)](_0x58db2d){const _0x1fbf9b=_0x55c788;var _0x4e035e,_0x4e5864;let _0x450a65=this['_dragStart'];if(!_0x450a65||_0x450a65[_0x1fbf9b(0x2a8)]!==_0x1fbf9b(0x3a8))return;let _0x93ae00=_0x58db2d==null?void 0x0:_0x58db2d[_0x1fbf9b(0x21a)](_0x4f1902(_0x450a65[_0x1fbf9b(0x3d3)],_0x450a65[_0x1fbf9b(0x398)]));if(!_0x93ae00||!Number[_0x1fbf9b(0x273)](_0x93ae00[_0x1fbf9b(0x295)])||!Number[_0x1fbf9b(0x273)](_0x93ae00[_0x1fbf9b(0x180)])){this['_removeDragPreviewObject']();return;}let _0x50ebb0=this[_0x1fbf9b(0x30b)](_0x93ae00,_0x450a65),_0x5cf3a1=this['_createTopologyBoundsByElementId'](_0x450a65[_0x1fbf9b(0x365)],_0x450a65['nodeId'],_0x50ebb0),_0x4d9567=Yt(_0x450a65[_0x1fbf9b(0x365)],_0x450a65['nodeId'],{'boundsByElementId':_0x5cf3a1,'allowRootReparent':!0x0});if(_0x4d9567[_0x1fbf9b(0x2a8)]!=='reparent'){this['_removeDragPreviewObject']();return;}let _0x374d1a=this[_0x1fbf9b(0x2a4)]();_0x374d1a&&(_0x374d1a[_0x1fbf9b(0x34f)]({'ghostBounds':_0x50ebb0,'sourceBounds':null,'parentBounds':_0x5cf3a1[_0x4d9567[_0x1fbf9b(0x276)]],'side':_0x4d9567['side'],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x1fbf9b(0x16f)][_0x1fbf9b(0x3d4)][_0x1fbf9b(0x3d7)](!0x0),(_0x4e035e=(_0x4e5864=this[_0x1fbf9b(0x16f)][_0x1fbf9b(0x3d4)])[_0x1fbf9b(0x19b)])==null||_0x4e035e[_0x1fbf9b(0x222)](_0x4e5864));}[_0x55c788(0x1ac)](_0x491322){const _0x717799=_0x55c788;var _0x12e090,_0x199e35;let _0x301b18=this['_dragStart'];if(!_0x301b18||_0x301b18[_0x717799(0x2a8)]!==_0x717799(0x1d7))return;let _0x2572cd=_0x491322==null?void 0x0:_0x491322[_0x717799(0x21a)](_0x4f1902(_0x301b18['unitId'],_0x301b18[_0x717799(0x398)]));if(!_0x2572cd){this[_0x717799(0x209)]();return;}let _0x1a26eb=this[_0x717799(0x30b)](_0x2572cd,_0x301b18);if(!this[_0x717799(0x2de)](_0x301b18,_0x1a26eb)){this[_0x717799(0x20e)]=null,this[_0x717799(0x209)](),this['_restoreObjectToDragStart'](_0x2572cd,_0x301b18),this[_0x717799(0x16f)]['scene'][_0x717799(0x3d7)](!0x0);return;}this[_0x717799(0x268)]||this['_hideSelectionForChildDrag'](),this['_childDragActivated']=!0x0;let _0x496e96=this[_0x717799(0x33f)](_0x301b18['elementData'],_0x301b18['nodeId'],_0x1a26eb),_0x280d10=Yt(_0x301b18[_0x717799(0x365)],_0x301b18[_0x717799(0x398)],{'boundsByElementId':_0x496e96,'detachWhenNoSnap':!0x0});this[_0x717799(0x20e)]=_0x280d10,this[_0x717799(0x1e3)](_0x1a26eb,_0x280d10,_0x496e96),this[_0x717799(0x3e4)](_0x2572cd,_0x301b18),this['_renderContext'][_0x717799(0x3d4)][_0x717799(0x3d7)](!0x0),(_0x12e090=(_0x199e35=this['_renderContext']['scene'])[_0x717799(0x19b)])==null||_0x12e090[_0x717799(0x222)](_0x199e35);}[_0x55c788(0x134)](_0x418770){const _0x405386=_0x55c788;var _0x1939bc;let _0x8b1970=this['_elementStateService'][_0x405386(0x125)](),_0x437e6f=_0x8b1970[_0x405386(0x1de)],_0x114d1d=(_0x1939bc=_0x8b1970[_0x405386(0x3a3)])==null?_0x8b1970[_0x405386(0x319)][0x0]:_0x1939bc;if(!_0x437e6f||!_0x114d1d||_0x8b1970[_0x405386(0x319)][_0x405386(0x207)]!==0x1){this[_0x405386(0x209)](),this[_0x405386(0x257)]=null;return;}this[_0x405386(0x209)]();let _0x1ed16a=this[_0x405386(0x334)]['getElementData'](_0x437e6f['unitId'],_0x437e6f['subUnitId']);if(this[_0x405386(0x23a)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f['subUnitId'],_0x114d1d,_0x1ed16a,_0x418770))return;let _0x4ff776=this[_0x405386(0x2d3)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f[_0x405386(0x346)],_0x114d1d,_0x1ed16a,_0x418770);this[_0x405386(0x2ad)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f['subUnitId'],_0x114d1d,_0x1ed16a,_0x4ff776);}[_0x55c788(0x2ad)](_0x59e99c,_0x5bd973,_0x41dc39,_0x390d80,_0x57eb10){const _0x1e5b84=_0x55c788;if(_0x57eb10[_0x1e5b84(0x2a8)]===_0x1e5b84(0x138)){var _0x482367,_0x3e26ba;let _0x4c1fd5=_0x4784a6((_0x482367=_0x390d80[_0x41dc39])==null?void 0x0:_0x482367[_0x1e5b84(0x2ca)]),_0x56536a=_0x4784a6((_0x3e26ba=_0x390d80[_0x57eb10[_0x1e5b84(0x276)]])==null?void 0x0:_0x3e26ba[_0x1e5b84(0x2ca)]);this[_0x1e5b84(0x2f9)](_0x137347['id'],{'unitId':_0x59e99c,'subUnitId':_0x5bd973,'nodeId':_0x41dc39,'newParentNodeId':_0x57eb10[_0x1e5b84(0x276)],'side':_0x57eb10[_0x1e5b84(0x1c2)],..._0x57eb10[_0x1e5b84(0x28a)]?{'referenceNodeId':_0x57eb10[_0x1e5b84(0x28a)]}:null,..._0x57eb10['placement']?{'placement':_0x57eb10[_0x1e5b84(0x352)]}:null},[_0x4c1fd5==null?void 0x0:_0x4c1fd5[_0x1e5b84(0x272)],_0x56536a==null?void 0x0:_0x56536a['structureScopeId']],_0x41dc39);return;}if(_0x57eb10[_0x1e5b84(0x2a8)]==='detach'){var _0x4cfe54;let _0x3173b7=_0x4784a6((_0x4cfe54=_0x390d80[_0x41dc39])==null?void 0x0:_0x4cfe54[_0x1e5b84(0x2ca)]);this[_0x1e5b84(0x2f9)](_0x597057['id'],{'unitId':_0x59e99c,'subUnitId':_0x5bd973,'nodeId':_0x41dc39,...Number[_0x1e5b84(0x273)](_0x57eb10[_0x1e5b84(0x295)])?{'left':_0x57eb10[_0x1e5b84(0x295)]}:null,...Number[_0x1e5b84(0x273)](_0x57eb10['top'])?{'top':_0x57eb10[_0x1e5b84(0x180)]}:null},[_0x3173b7==null?void 0x0:_0x3173b7[_0x1e5b84(0x272)]],_0x41dc39);}}[_0x55c788(0x23a)](_0x3e4295,_0x4f8cf0,_0x276a31,_0x51569d,_0x3921e2){const _0x414c28=_0x55c788;var _0x5c7f49,_0x3e4650,_0x5e8a1e,_0x238285;let _0x111d35=this[_0x414c28(0x257)];if((_0x111d35==null?void 0x0:_0x111d35['kind'])===_0x414c28(0x3a8)&&(this[_0x414c28(0x257)]=null),!_0x111d35||_0x111d35[_0x414c28(0x3d3)]!==_0x3e4295||_0x111d35[_0x414c28(0x346)]!==_0x4f8cf0||_0x111d35[_0x414c28(0x398)]!==_0x276a31)return!0x1;let _0x3d6fc1=_0x51569d[_0x276a31],_0x5cca05=_0x4784a6(_0x3d6fc1==null?void 0x0:_0x3d6fc1['element']);if(!_0x3d6fc1||!_0x5cca05||_0x5cca05['parentNodeId']!==null)return!0x1;let _0x2b739e=_0x3921e2==null?void 0x0:_0x3921e2[_0x414c28(0x21a)](_0x4f1902(_0x3e4295,_0x276a31)),_0x1e637c=_0x329079(_0x51569d,_0x276a31),_0x389b34=Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x295)])?_0x2b739e[_0x414c28(0x295)]:(_0x5c7f49=(_0x3e4650=_0x1e637c==null?void 0x0:_0x1e637c[_0x414c28(0x295)])==null?_0x3d6fc1[_0x414c28(0x2ca)][_0x414c28(0x226)][_0x414c28(0x295)]:_0x3e4650)==null?0x0:_0x5c7f49,_0xcedb6=Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e['top'])?_0x2b739e['top']:(_0x5e8a1e=(_0x238285=_0x1e637c==null?void 0x0:_0x1e637c['top'])==null?_0x3d6fc1[_0x414c28(0x2ca)]['transform'][_0x414c28(0x180)]:_0x238285)==null?0x0:_0x5e8a1e,_0x2cf403=_0x389b34-_0x111d35[_0x414c28(0x295)],_0x4c93ed=_0xcedb6-_0x111d35[_0x414c28(0x180)];if(_0x2cf403===0x0&&_0x4c93ed===0x0)return!0x0;let _0x2684f8={'left':_0x389b34,'top':_0xcedb6,'width':Number['isFinite'](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x24f)])?_0x2b739e[_0x414c28(0x24f)]:_0x111d35['width'],'height':Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x243)])?_0x2b739e['height']:_0x111d35['height']},_0x430ccc=Yt(_0x51569d,_0x276a31,{'boundsByElementId':this[_0x414c28(0x33f)](_0x51569d,_0x276a31,_0x2684f8),'allowRootReparent':!0x0});if(_0x430ccc['kind']==='reparent')return this[_0x414c28(0x2ad)](_0x3e4295,_0x4f8cf0,_0x276a31,_0x51569d,_0x430ccc),!0x0;let _0x773e68=!!_0x1e637c&&Math['abs'](_0x1e637c['left']-_0x389b34)<0.001&&Math[_0x414c28(0x1a3)](_0x1e637c[_0x414c28(0x180)]-_0xcedb6)<0.001;return this['_commandService'][_0x414c28(0x12e)](_0x31ea69['id'],{'unitId':_0x3e4295,'subUnitId':_0x4f8cf0,'scopeId':_0x111d35[_0x414c28(0x191)],'deltaX':_0x2cf403,'deltaY':_0x4c93ed,..._0x773e68?{'excludeElementIds':[_0x276a31],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x55c788(0x2d3)](_0x4f8a7d,_0x3f7580,_0x3d1077,_0x81c5c6,_0x2351ce){const _0x4b9c29=_0x55c788;let _0x3b3537=this['_dragStart'];if(!_0x3b3537||_0x3b3537['kind']!=='child'||_0x3b3537[_0x4b9c29(0x3d3)]!==_0x4f8a7d||_0x3b3537['subUnitId']!==_0x3f7580||_0x3b3537[_0x4b9c29(0x398)]!==_0x3d1077)return{'kind':_0x4b9c29(0x19e)};this['_dragStart']=null;let _0x108da8=_0x2351ce==null?void 0x0:_0x2351ce[_0x4b9c29(0x21a)](_0x4f1902(_0x4f8a7d,_0x3d1077));if(!this['_childDragActivated'])return _0x108da8&&this[_0x4b9c29(0x3e4)](_0x108da8,_0x3b3537),this[_0x4b9c29(0x20e)]=null,{'kind':_0x4b9c29(0x19e)};if(!_0x108da8){var _0x2df5fd;let _0x5022ba=(_0x2df5fd=this['_lastChildDragAction'])==null?{'kind':_0x4b9c29(0x19e)}:_0x2df5fd;return this[_0x4b9c29(0x20e)]=null,_0x5022ba;}let _0x279c53=this['_getLiveObjectBounds'](_0x108da8,_0x3b3537);if(this[_0x4b9c29(0x3e4)](_0x108da8,_0x3b3537),!this[_0x4b9c29(0x2de)](_0x3b3537,_0x279c53))return this[_0x4b9c29(0x20e)]=null,{'kind':'none'};let _0x4f4a37=Yt(_0x81c5c6,_0x3d1077,{'boundsByElementId':this[_0x4b9c29(0x33f)](_0x81c5c6,_0x3d1077,_0x279c53),'detachWhenNoSnap':!0x0});return this[_0x4b9c29(0x20e)]=null,_0x4f4a37;}[_0x55c788(0x2de)](_0x48043c,_0x4c3051){const _0x1d41d4=_0x55c788;var _0x44e808,_0x6a67d7;let _0x2f5f10=((_0x44e808=_0x4c3051[_0x1d41d4(0x295)])==null?_0x48043c['left']:_0x44e808)-_0x48043c[_0x1d41d4(0x295)],_0x292efa=((_0x6a67d7=_0x4c3051[_0x1d41d4(0x180)])==null?_0x48043c['top']:_0x6a67d7)-_0x48043c[_0x1d41d4(0x180)];return Math['hypot'](_0x2f5f10,_0x292efa)>=0x12;}['_getPointerLiveBounds'](_0x2314fd,_0x3c7bfe){const _0x23a69e=_0x55c788;let _0x1fce36=this[_0x23a69e(0x39a)](_0x2314fd),_0x1d322b=this[_0x23a69e(0x2bc)]();return{'left':_0x3c7bfe[_0x23a69e(0x295)]+(_0x1fce36['x']-_0x3c7bfe['pointerStartX'])/_0x1d322b,'top':_0x3c7bfe[_0x23a69e(0x180)]+(_0x1fce36['y']-_0x3c7bfe[_0x23a69e(0x1e1)])/_0x1d322b,'width':_0x3c7bfe[_0x23a69e(0x24f)],'height':_0x3c7bfe[_0x23a69e(0x243)]};}[_0x55c788(0x228)](_0x56c395){const _0x1f8ad5=_0x55c788;var _0x3ebeb8,_0x35571a,_0x3cb45b;let _0x20ea87=this['_uiStateService'][_0x1f8ad5(0x3d8)](),_0x3dd4f8=(_0x3ebeb8=_0x20ea87==null?void 0x0:_0x20ea87[_0x1f8ad5(0x318)])==null?{'x':0x0,'y':0x0}:_0x3ebeb8,_0x12d8ba=this[_0x1f8ad5(0x2bc)]();return{'x':Math[_0x1f8ad5(0x31c)]((((_0x35571a=_0x56c395['offsetX'])==null?0x0:_0x35571a)-_0x3dd4f8['x'])/_0x12d8ba),'y':Math['round']((((_0x3cb45b=_0x56c395[_0x1f8ad5(0x368)])==null?0x0:_0x3cb45b)-_0x3dd4f8['y'])/_0x12d8ba)};}['_getPointerScreenPoint'](_0x5173c4){const _0x4d738d=_0x55c788;var _0x10e397,_0x8a8c72;return{'x':Number[_0x4d738d(0x273)](_0x5173c4[_0x4d738d(0x190)])?_0x5173c4[_0x4d738d(0x190)]:(_0x10e397=_0x5173c4[_0x4d738d(0x294)])==null?0x0:_0x10e397,'y':Number[_0x4d738d(0x273)](_0x5173c4[_0x4d738d(0x34c)])?_0x5173c4[_0x4d738d(0x34c)]:(_0x8a8c72=_0x5173c4[_0x4d738d(0x368)])==null?0x0:_0x8a8c72};}[_0x55c788(0x2bc)](){const _0x281ec7=_0x55c788;let _0x352d28=this[_0x281ec7(0x184)]['getState']()['zoomRatio'];return Number[_0x281ec7(0x273)](_0x352d28)&&(_0x352d28==null?0x0:_0x352d28)>0x0?_0x352d28:0x1;}[_0x55c788(0x15c)](_0x3acbd8,_0x58637d){const _0x122451=_0x55c788;return _0x3acbd8['x']>=_0x58637d[_0x122451(0x295)]&&_0x3acbd8['x']<=_0x58637d[_0x122451(0x295)]+_0x58637d[_0x122451(0x24f)]&&_0x3acbd8['y']>=_0x58637d[_0x122451(0x180)]&&_0x3acbd8['y']<=_0x58637d[_0x122451(0x180)]+_0x58637d[_0x122451(0x243)];}[_0x55c788(0x192)](_0x414ccd,_0xde2903){const _0xf03e6c=_0x55c788;var _0x28f75e,_0x39bd23;_0xde2903==null||_0xde2903[_0xf03e6c(0x2d4)](),_0xde2903&&(_0xde2903[_0xf03e6c(0x2ef)]=!0x0),(_0x28f75e=_0x414ccd[_0xf03e6c(0x200)])==null||_0x28f75e[_0xf03e6c(0x222)](_0x414ccd),(_0x39bd23=_0x414ccd[_0xf03e6c(0x2d4)])==null||_0x39bd23['call'](_0x414ccd);}['_hideSelectionForChildDrag'](){const _0x5513ce=_0x55c788;var _0x335db7,_0x252da0;this[_0x5513ce(0x1e0)]||((_0x335db7=(_0x252da0=this[_0x5513ce(0x239)])[_0x5513ce(0x1be)])==null||_0x335db7[_0x5513ce(0x222)](_0x252da0),this[_0x5513ce(0x1e0)]=!0x0);}[_0x55c788(0x30b)](_0x27de1f,_0x5f3b9c){const _0x46656f=_0x55c788;return{'left':Number[_0x46656f(0x273)](_0x27de1f[_0x46656f(0x295)])?_0x27de1f[_0x46656f(0x295)]:_0x5f3b9c[_0x46656f(0x295)],'top':Number[_0x46656f(0x273)](_0x27de1f[_0x46656f(0x180)])?_0x27de1f[_0x46656f(0x180)]:_0x5f3b9c[_0x46656f(0x180)],'width':Number[_0x46656f(0x273)](_0x27de1f['width'])?_0x27de1f[_0x46656f(0x24f)]:_0x5f3b9c[_0x46656f(0x24f)],'height':Number['isFinite'](_0x27de1f[_0x46656f(0x243)])?_0x27de1f[_0x46656f(0x243)]:_0x5f3b9c[_0x46656f(0x243)]};}['_restoreObjectToDragStart'](_0x4ef31f,_0xb46f45){const _0x17fb43=_0x55c788;typeof _0x4ef31f[_0x17fb43(0x277)]==_0x17fb43(0x164)&&_0x4ef31f['transformByState']({'left':_0xb46f45[_0x17fb43(0x295)],'top':_0xb46f45['top'],'width':_0xb46f45[_0x17fb43(0x24f)],'height':_0xb46f45['height']}),typeof _0x4ef31f[_0x17fb43(0x185)]==_0x17fb43(0x164)?_0x4ef31f[_0x17fb43(0x185)](!0x0):typeof _0x4ef31f[_0x17fb43(0x3d7)]=='function'&&_0x4ef31f['makeDirty'](!0x0);}[_0x55c788(0x33f)](_0x373ee1,_0x125cbe,_0x12005d){const _0x5d2312=_0x55c788;return Object[_0x5d2312(0x269)](Object['keys'](_0x373ee1)[_0x5d2312(0x1f6)](_0x1e0486=>{const _0x14df59=_0x5d2312;if(_0x1e0486===_0x125cbe)return[_0x1e0486,_0x12005d];let _0x5e956e=_0x329079(_0x373ee1,_0x1e0486);return[_0x1e0486,_0x5e956e==null?_0x373ee1[_0x1e0486][_0x14df59(0x2ca)]['transform']:_0x5e956e];}));}[_0x55c788(0x2a4)](){const _0x444628=_0x55c788;if(this[_0x444628(0x130)])return this[_0x444628(0x130)];let _0x3e38b0=this[_0x444628(0x16f)][_0x444628(0x3d4)];return typeof _0x3e38b0[_0x444628(0x13f)]=='function'?(this['_dragPreviewObject']=new Vt(Ft),_0x3e38b0[_0x444628(0x13f)](this[_0x444628(0x130)],It),this[_0x444628(0x130)]):null;}[_0x55c788(0x1e3)](_0x56517c,_0x4c1765,_0x4e12f1){const _0x259aca=_0x55c788;let _0x365e52=this[_0x259aca(0x2a4)]();_0x365e52&&_0x365e52['updateState']({'ghostBounds':_0x56517c,'sourceBounds':this[_0x259aca(0x2b3)](),'parentBounds':_0x4c1765[_0x259aca(0x2a8)]===_0x259aca(0x138)?_0x4e12f1[_0x4c1765[_0x259aca(0x276)]]:null,'side':_0x4c1765[_0x259aca(0x2a8)]===_0x259aca(0x138)?_0x4c1765['side']:_0x259aca(0x338),'textStyle':this[_0x259aca(0x122)](),'renderGhostNode':!0x0});}[_0x55c788(0x2b3)](){const _0x273ec7=_0x55c788;var _0x5e7880;let _0x3ec84e=(_0x5e7880=this[_0x273ec7(0x391)])==null?this[_0x273ec7(0x257)]:_0x5e7880;return _0x3ec84e?{'left':_0x3ec84e[_0x273ec7(0x295)],'top':_0x3ec84e[_0x273ec7(0x180)],'width':_0x3ec84e['width'],'height':_0x3ec84e[_0x273ec7(0x243)]}:null;}[_0x55c788(0x122)](){const _0x5b659b=_0x55c788;var _0x48efbd,_0xd4605c,_0x184909;let _0x6fa891=(_0x48efbd=this['_pointerDragStart'])==null?this[_0x5b659b(0x257)]:_0x48efbd,_0x17c26e=_0x6fa891==null||(_0xd4605c=_0x6fa891[_0x5b659b(0x365)][_0x6fa891[_0x5b659b(0x398)]])==null?void 0x0:_0xd4605c['element'],_0x5647f4=_0x17c26e==null||(_0x184909=_0x17c26e[_0x5b659b(0x3e2)])==null?void 0x0:_0x184909['shapeText'];if(_0x5647f4)return{'text':typeof _0x5647f4[_0x5b659b(0x309)]==_0x5b659b(0x2e3)?_0x5647f4['text']:void 0x0,'fontSize':Number[_0x5b659b(0x273)](_0x5647f4[_0x5b659b(0x1db)])?_0x5647f4['fontSize']:void 0x0,'color':typeof _0x5647f4[_0x5b659b(0x3c4)]==_0x5b659b(0x2e3)?_0x5647f4['color']:void 0x0,'horizontalAlign':Number['isFinite'](_0x5647f4[_0x5b659b(0x17b)])?_0x5647f4['horizontalAlign']:void 0x0};}['_removeDragPreviewObject'](){const _0x53c686=_0x55c788;var _0x32d225,_0x59c40d,_0x475239;if(!this[_0x53c686(0x130)])return;let _0x2c8ed3=this['_renderContext']['scene'];(_0x32d225=_0x2c8ed3[_0x53c686(0x247)])==null||_0x32d225[_0x53c686(0x222)](_0x2c8ed3,[this[_0x53c686(0x130)]]),this['_dragPreviewObject']=null,(_0x59c40d=(_0x475239=this[_0x53c686(0x16f)][_0x53c686(0x3d4)])[_0x53c686(0x3d7)])==null||_0x59c40d[_0x53c686(0x222)](_0x475239,!0x0);}['_executeAndLayout'](_0x26a3b6,_0x480fac,_0x230986,_0x3cb15e){const _0x2bf287=_0x55c788;let _0x365516=[...new Set(_0x230986['filter'](_0x36e7cb=>!!_0x36e7cb))],_0x2c5c43=this['_commandService'][_0x2bf287(0x12e)](_0x26a3b6,_0x480fac);Promise[_0x2bf287(0x3b0)](_0x2c5c43)[_0x2bf287(0x2e2)](_0x59f4c9=>{const _0x1c0563=_0x2bf287;var _0x4005d8,_0x32ff7a,_0x576313,_0x864224;if(_0x59f4c9){if(_0x365516[_0x1c0563(0x123)](_0xf3ea4=>{const _0xd7a681=_0x1c0563;this[_0xd7a681(0x22a)]['executeCommand'](_0x5672f3['id'],{'unitId':_0x480fac['unitId'],'subUnitId':_0x480fac[_0xd7a681(0x346)],'scopeId':_0xf3ea4});}),_0x3cb15e&&typeof _0x480fac[_0x1c0563(0x3d3)]=='string'&&typeof _0x480fac[_0x1c0563(0x346)]==_0x1c0563(0x2e3)){var _0x2eb36b,_0x1f8fb2;(_0x2eb36b=(_0x1f8fb2=this[_0x1c0563(0x239)])[_0x1c0563(0x379)])==null||_0x2eb36b[_0x1c0563(0x222)](_0x1f8fb2,{'unitId':_0x480fac[_0x1c0563(0x3d3)],'subUnitId':_0x480fac[_0x1c0563(0x346)]},[_0x3cb15e],_0x3cb15e);}(_0x4005d8=(_0x32ff7a=this[_0x1c0563(0x16f)]['scene'])[_0x1c0563(0x3d7)])==null||_0x4005d8[_0x1c0563(0x222)](_0x32ff7a,!0x0),(_0x576313=(_0x864224=this[_0x1c0563(0x16f)][_0x1c0563(0x3d4)])[_0x1c0563(0x19b)])==null||_0x576313['call'](_0x864224);}});}};$t=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x3c575a(_0x1f379b)),q(0x3,_0x4a7b53),q(0x4,_0x45d666),q(0x5,_0x544c85)],$t);const en=_0x55c788(0x308),tn='board-mind-map-description-dialog';function nn(_0x4c2799){const _0x30f541=_0x55c788;let {unitId:_0x4a83ab,subUnitId:_0x318e18,nodeId:_0x12f7f0,initialDescription:_0x253a7b=''}=_0x4c2799,_0x36811d=_0xd57ede(_0x4a7b53),_0x48ddc4=_0xd57ede(_0x1c93b7),_0x3e67cd=_0xd57ede(_0x20f8ca),[_0x3c84de,_0x4e7cc5]=_0x5024c9(_0x253a7b),_0x4f99d8=()=>_0x48ddc4[_0x30f541(0x22e)](tn);return _0x42e6e8('div',{'className':_0x30f541(0x374),'data-board-mind-map-description-dialog':_0x30f541(0x17e),'children':[_0x42e6e8('label',{'className':_0x30f541(0x1a8),'children':[_0x12a7ac('span',{'className':_0x30f541(0x343),'children':_0x3e67cd['t'](_0x30f541(0x28e))}),_0x12a7ac(_0x20d960,{'autoFocus':!0x0,'className':_0x30f541(0x1ce),'placeholder':_0x3e67cd['t']('boards-mind-ui.descriptionPlaceholder'),'value':_0x3c84de,'onValueChange':_0x4e7cc5})]}),_0x42e6e8(_0x30f541(0x27a),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x12a7ac(_0xee7c82,{'size':'small','variant':_0x30f541(0x132),'onClick':_0x4f99d8,'children':_0x3e67cd['t'](_0x30f541(0x2e9))}),_0x12a7ac(_0xee7c82,{'size':_0x30f541(0x3c1),'variant':_0x30f541(0x329),'onClick':()=>{const _0xead109=_0x30f541;_0x36811d[_0xead109(0x12e)](_0x2aa574['id'],{'unitId':_0x4a83ab,'subUnitId':_0x318e18,'nodeId':_0x12f7f0,'foreignAttributes':{'_note':_0x3c84de[_0xead109(0x16b)]()?_0x3c84de:null}}),_0x4f99d8();},'children':_0x3e67cd['t'](_0x30f541(0x2b7))})]})]});}const rn='board.operation.mind-map.keyboard-shortcut',an={'copy':_0x288f67[_0x55c788(0x3e1)],'paste':_0x288f67[_0x55c788(0x23f)],'paste-as-new':_0x288f67[_0x55c788(0x23f)],'add-child':_0x288f67[_0x55c788(0x12c)],'add-sibling-or-child':_0x288f67[_0x55c788(0x255)],'promote':_0x288f67[_0x55c788(0x18f)],'toggle-collapse':_0x288f67['foldChildNodes'],'collapse-all':_0x288f67[_0x55c788(0x1c5)],'edit-text':_0x288f67[_0x55c788(0x1ae)],'open-description':_0x288f67[_0x55c788(0x382)],'delete':_0x35fb2f[_0x55c788(0x3a0)],'arrow-left':_0x35fb2f['ARROW_LEFT'],'arrow-right':_0x35fb2f['ARROW_RIGHT'],'arrow-up':_0x35fb2f[_0x55c788(0x2e1)],'arrow-down':_0x35fb2f[_0x55c788(0x124)]},on={'delete':[_0x35fb2f[_0x55c788(0x2d8)]]};function sn(_0x3a742c){var _0x292430;return[an[_0x3a742c],...(_0x292430=on[_0x3a742c])==null?[]:_0x292430];}let cn=class extends _0x4c4ffe{constructor(_0x34c6d8,_0xf6d0ec,_0x10140f,_0x2872bb,_0x135f2e,_0x5f297a,_0x1eb032,_0x1dee33){const _0x457d67=_0x55c788;super(),this['_boardElementService']=_0x34c6d8,this[_0x457d67(0x239)]=_0xf6d0ec,this[_0x457d67(0x345)]=_0x10140f,this[_0x457d67(0x18c)]=_0x2872bb,this[_0x457d67(0x22a)]=_0x135f2e,this[_0x457d67(0x1cb)]=_0x5f297a,this[_0x457d67(0x3a4)]=_0x1eb032,this[_0x457d67(0x2ba)]=_0x1dee33,this['_init']();}['_init'](){const _0x468827=_0x55c788;this[_0x468827(0x367)](this[_0x468827(0x22a)][_0x468827(0x21e)](this['_createKeyboardShortcutOperation']())),this[_0x468827(0x281)]()[_0x468827(0x123)](_0x694ea1=>{const _0x247802=_0x468827;this[_0x247802(0x367)](this[_0x247802(0x1cb)][_0x247802(0x36f)](_0x694ea1));});}['_createKeyboardShortcutOperation'](){const _0x498363=_0x55c788;return{'id':rn,'type':_0x27aeea['OPERATION'],'handler':(_0x17943b,_0x588ff6)=>this[_0x498363(0x1e4)](_0x588ff6==null?void 0x0:_0x588ff6[_0x498363(0x1aa)])};}[_0x55c788(0x281)](){const _0x3d0c3b=_0x55c788;let _0x5672ea=(_0x219f01,_0x2b2250)=>({'id':rn,'binding':_0x219f01,'priority':0xa0,'preconditions':()=>!!this['_getSelectedMindMapContext'](),'staticParameters':{'action':_0x2b2250}}),_0x53121b=_0xf2e4c6=>sn(_0xf2e4c6)[_0x3d0c3b(0x1f6)](_0x565ff8=>_0x5672ea(_0x565ff8,_0xf2e4c6));return[..._0x53121b('copy'),{'id':rn,'binding':an[_0x3d0c3b(0x23f)],'priority':0xa0,'preconditions':()=>!!this[_0x3d0c3b(0x18c)][_0x3d0c3b(0x2b6)]()&&!!this[_0x3d0c3b(0x259)](),'staticParameters':{'action':_0x3d0c3b(0x23f)}},{'id':rn,'binding':an[_0x3d0c3b(0x127)],'priority':0x96,'preconditions':()=>!!this[_0x3d0c3b(0x18c)][_0x3d0c3b(0x2b6)]()&&!!this[_0x3d0c3b(0x179)](),'staticParameters':{'action':_0x3d0c3b(0x127)}},..._0x53121b(_0x3d0c3b(0x19c)),..._0x53121b(_0x3d0c3b(0x1c0)),..._0x53121b(_0x3d0c3b(0x3a5)),..._0x53121b(_0x3d0c3b(0x2af)),..._0x53121b(_0x3d0c3b(0x186)),..._0x53121b(_0x3d0c3b(0x3e5)),..._0x53121b(_0x3d0c3b(0x2c8)),..._0x53121b(_0x3d0c3b(0x324)),..._0x53121b(_0x3d0c3b(0x37d)),..._0x53121b(_0x3d0c3b(0x15f)),..._0x53121b(_0x3d0c3b(0x2c5)),..._0x53121b(_0x3d0c3b(0x342))];}['_handleShortcut'](_0x40c6a9){const _0x23166c=_0x55c788;return _0x40c6a9===_0x23166c(0x3e1)?this['_copySelectedNode']():_0x40c6a9==='paste'?this[_0x23166c(0x2f8)]():_0x40c6a9==='paste-as-new'?this['_pasteAsNewMindMap']():_0x40c6a9===_0x23166c(0x19c)?this[_0x23166c(0x293)]():_0x40c6a9===_0x23166c(0x1c0)?this['_addSiblingOrChild']():_0x40c6a9===_0x23166c(0x3a5)?this[_0x23166c(0x1e9)](_0x33423b['id']):_0x40c6a9==='toggle-collapse'?this['_executeNodeOperation'](_0x55e2b3['id']):_0x40c6a9===_0x23166c(0x186)?this[_0x23166c(0x2b0)]():_0x40c6a9===_0x23166c(0x3e5)?this[_0x23166c(0x2f1)]():_0x40c6a9==='open-description'?this[_0x23166c(0x28d)]():_0x40c6a9===_0x23166c(0x324)?this['_executeNodeOperation'](_0x3f0c38['id']):_0x40c6a9&&ln(_0x40c6a9)?this[_0x23166c(0x317)](_0x40c6a9):!0x1;}[_0x55c788(0x3b8)](){const _0x5df250=_0x55c788;let _0x25ddc7=this[_0x5df250(0x259)]();return _0x25ddc7?(this[_0x5df250(0x22a)][_0x5df250(0x12e)](_0x5a9506['id'],{'unitId':_0x25ddc7[_0x5df250(0x3d3)],'subUnitId':_0x25ddc7[_0x5df250(0x346)],'nodeId':_0x25ddc7[_0x5df250(0x398)]}),!0x0):!0x1;}[_0x55c788(0x2f8)](){const _0x3feb64=_0x55c788;let _0xe05d2f=this[_0x3feb64(0x259)]();return!_0xe05d2f||!this[_0x3feb64(0x18c)]['getPayload']()?!0x1:(this[_0x3feb64(0x2f9)](_0x15e14d['id'],{'unitId':_0xe05d2f[_0x3feb64(0x3d3)],'subUnitId':_0xe05d2f['subUnitId'],'targetNodeId':_0xe05d2f[_0x3feb64(0x398)]},_0xe05d2f[_0x3feb64(0x191)]),!0x0);}[_0x55c788(0x2b9)](){const _0x1abb25=_0x55c788;let _0x1c2056=this[_0x1abb25(0x179)]();if(!_0x1c2056||!this[_0x1abb25(0x18c)]['getPayload']())return!0x1;let _0x2e733e=this[_0x1abb25(0x345)]['getState'](),_0xbd7322=Number['isFinite'](_0x2e733e[_0x1abb25(0x3cc)])&&_0x2e733e[_0x1abb25(0x3cc)]>0x0?_0x2e733e[_0x1abb25(0x3cc)]:0x1,_0x41fdab=Math[_0x1abb25(0x31c)]((0x40-_0x2e733e['viewportPanOffset']['x'])/_0xbd7322),_0x39fe0b=Math[_0x1abb25(0x31c)]((0x40-_0x2e733e[_0x1abb25(0x318)]['y'])/_0xbd7322);return this[_0x1abb25(0x22a)][_0x1abb25(0x12e)](_0xb9eefe['id'],{'unitId':_0x1c2056['unitId'],'subUnitId':_0x1c2056['subUnitId'],'left':_0x41fdab,'top':_0x39fe0b}),!0x0;}['_addChild'](){const _0xf70a55=_0x55c788;let _0x54a133=this[_0xf70a55(0x259)]();if(!_0x54a133)return!0x1;let _0x54334f=_0x31e651(0x6);return this[_0xf70a55(0x1cf)](_0x5e12b8['id'],{'unitId':_0x54a133[_0xf70a55(0x3d3)],'subUnitId':_0x54a133[_0xf70a55(0x346)],'parentNodeId':_0x54a133['nodeId'],'nodeId':_0x54334f,'connectorId':_0x31e651(0x6)},_0x54a133[_0xf70a55(0x191)],_0x54334f),!0x0;}[_0x55c788(0x2da)](){const _0x2bcdcd=_0x55c788;let _0x216d37=this[_0x2bcdcd(0x259)]();if(!_0x216d37)return!0x1;let _0x5ca447=_0x31e651(0x6);return this[_0x2bcdcd(0x1cf)](_0x216d37[_0x2bcdcd(0x1ef)]?_0x5e12b8['id']:_0x1aa149['id'],{'unitId':_0x216d37[_0x2bcdcd(0x3d3)],'subUnitId':_0x216d37[_0x2bcdcd(0x346)],..._0x216d37[_0x2bcdcd(0x1ef)]?{'parentNodeId':_0x216d37['nodeId'],'nodeId':_0x5ca447}:{'nodeId':_0x216d37[_0x2bcdcd(0x398)],'siblingNodeId':_0x5ca447},'connectorId':_0x31e651(0x6)},_0x216d37[_0x2bcdcd(0x191)],_0x5ca447),!0x0;}[_0x55c788(0x1e9)](_0x5cb947){const _0x41f6d0=_0x55c788;let _0x326ccf=this['_getSelectedMindMapContext']();return _0x326ccf?(this[_0x41f6d0(0x2f9)](_0x5cb947,{'unitId':_0x326ccf['unitId'],'subUnitId':_0x326ccf['subUnitId'],'nodeId':_0x326ccf[_0x41f6d0(0x398)]},_0x326ccf[_0x41f6d0(0x191)]),!0x0):!0x1;}[_0x55c788(0x2b0)](){const _0x34ed84=_0x55c788;let _0x82f3f0=this[_0x34ed84(0x259)]();if(!_0x82f3f0)return!0x1;let _0x21470d=this['_boardElementService'][_0x34ed84(0x16c)](_0x82f3f0[_0x34ed84(0x3d3)],_0x82f3f0[_0x34ed84(0x346)]),_0x186b31=Object[_0x34ed84(0x1e2)](_0x21470d)[_0x34ed84(0x1f6)](_0x3a168d=>{const _0x1db3ff=_0x34ed84;let _0x4808ec=_0x4784a6(_0x3a168d[_0x1db3ff(0x2ca)]);return(_0x4808ec==null?void 0x0:_0x4808ec['structureScopeId'])===_0x82f3f0['scopeId']&&this[_0x1db3ff(0x249)](_0x21470d,_0x82f3f0[_0x1db3ff(0x191)],_0x3a168d[_0x1db3ff(0x18a)])['length']>0x0?{'nodeId':_0x3a168d[_0x1db3ff(0x18a)],'collapsed':_0x4808ec[_0x1db3ff(0x19f)]}:null;})[_0x34ed84(0x1eb)](_0x3211cf=>!!_0x3211cf);if(_0x186b31[_0x34ed84(0x207)]===0x0)return!0x1;let _0x3b0d1e=_0x186b31[_0x34ed84(0x2ee)](_0xfa6674=>!_0xfa6674[_0x34ed84(0x19f)]),_0x23b9bc=_0x186b31[_0x34ed84(0x1f6)](_0x40f3e5=>this[_0x34ed84(0x22a)]['executeCommand'](_0x55e2b3['id'],{'unitId':_0x82f3f0[_0x34ed84(0x3d3)],'subUnitId':_0x82f3f0[_0x34ed84(0x346)],'nodeId':_0x40f3e5[_0x34ed84(0x398)],'collapsed':_0x3b0d1e}));return Promise['all'](_0x23b9bc['map'](_0x314a5a=>Promise[_0x34ed84(0x3b0)](_0x314a5a)))[_0x34ed84(0x2e2)](_0x576fc7=>{const _0x5c50b3=_0x34ed84;_0x576fc7['some'](Boolean)&&this[_0x5c50b3(0x22a)][_0x5c50b3(0x12e)](_0x5672f3['id'],{'unitId':_0x82f3f0['unitId'],'subUnitId':_0x82f3f0[_0x5c50b3(0x346)],'scopeId':_0x82f3f0[_0x5c50b3(0x191)]});}),!0x0;}[_0x55c788(0x2f1)](){const _0x1ed033=_0x55c788;let _0x3fcf0c=this[_0x1ed033(0x259)]();return _0x3fcf0c?(this['_elementStateService'][_0x1ed033(0x379)]({'unitId':_0x3fcf0c[_0x1ed033(0x3d3)],'subUnitId':_0x3fcf0c[_0x1ed033(0x346)]},[_0x3fcf0c[_0x1ed033(0x398)]],_0x3fcf0c[_0x1ed033(0x398)]),this[_0x1ed033(0x3a4)]['ignoreExternalFocusChanges'](),this['_boardTextEditingService'][_0x1ed033(0x348)]({'unitId':_0x3fcf0c['unitId'],'subUnitId':_0x3fcf0c[_0x1ed033(0x346)],'shapeId':_0x3fcf0c['nodeId'],'shapeKey':_0x4f1902(_0x3fcf0c[_0x1ed033(0x3d3)],_0x3fcf0c[_0x1ed033(0x398)]),'visible':!0x0}),!0x0):!0x1;}[_0x55c788(0x28d)](){const _0x2ffe20=_0x55c788;let _0xd350ca=this[_0x2ffe20(0x259)]();return _0xd350ca?(this[_0x2ffe20(0x2ba)][_0x2ffe20(0x201)]({'id':tn,'title':{'title':_0x2ffe20(0x28e)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':en,'unitId':_0xd350ca[_0x2ffe20(0x3d3)],'subUnitId':_0xd350ca[_0x2ffe20(0x346)],'nodeId':_0xd350ca[_0x2ffe20(0x398)],'initialDescription':_0xd350ca[_0x2ffe20(0x24d)]}}),!0x0):!0x1;}[_0x55c788(0x317)](_0x31547a){const _0x2387ea=_0x55c788;let _0x5e4325=this[_0x2387ea(0x259)]();if(!_0x5e4325)return!0x1;let _0x581e45=this[_0x2387ea(0x334)]['getElementData'](_0x5e4325[_0x2387ea(0x3d3)],_0x5e4325[_0x2387ea(0x346)]),_0x5d9fa8=_0x581e45[_0x5e4325[_0x2387ea(0x398)]],_0x1dd71e=_0x4784a6(_0x5d9fa8==null?void 0x0:_0x5d9fa8[_0x2387ea(0x2ca)]);if(!_0x5d9fa8||!_0x1dd71e)return!0x1;let _0x54ac59={'arrow-left':_0x2387ea(0x3da),'arrow-right':_0x2387ea(0x13d),'arrow-up':'ArrowUp','arrow-down':_0x2387ea(0x31a)}[_0x31547a];if(!_0x54ac59)return!0x1;let _0x2a0cd7=this[_0x2387ea(0x37c)](_0x581e45,_0x5e4325['nodeId'],_0x1dd71e,_0x54ac59);return _0x2a0cd7?(this[_0x2387ea(0x239)][_0x2387ea(0x379)]({'unitId':_0x5e4325[_0x2387ea(0x3d3)],'subUnitId':_0x5e4325[_0x2387ea(0x346)]},[_0x2a0cd7],_0x2a0cd7),!0x0):!0x1;}['_resolveArrowNavigationTarget'](_0xc212f3,_0x5dc927,_0x4b700d,_0x25b6ff){const _0x32bcf9=_0x55c788;var _0x171a65;let _0x47aeb4=this[_0x32bcf9(0x249)](_0xc212f3,_0x4b700d[_0x32bcf9(0x272)],_0x5dc927);if(_0x4b700d['parentNodeId']===null){if(_0x25b6ff===_0x32bcf9(0x3da)){var _0x5ac5d4,_0x448e22;return(_0x5ac5d4=(_0x448e22=_0x47aeb4[_0x32bcf9(0x256)](_0x591b63=>{const _0x4f80ca=_0x32bcf9;var _0x1d919e;return((_0x1d919e=_0x4784a6(_0x591b63[_0x4f80ca(0x2ca)]))==null?void 0x0:_0x1d919e[_0x4f80ca(0x1c2)])===_0x4f80ca(0x295);}))==null?void 0x0:_0x448e22[_0x32bcf9(0x18a)])==null?null:_0x5ac5d4;}if(_0x25b6ff===_0x32bcf9(0x13d)){var _0x18734a,_0x46c035;return(_0x18734a=(_0x46c035=_0x47aeb4['find'](_0x246cad=>{const _0x34d1be=_0x32bcf9;var _0x484af8,_0x5e440e;return((_0x484af8=(_0x5e440e=_0x4784a6(_0x246cad[_0x34d1be(0x2ca)]))==null?void 0x0:_0x5e440e['side'])==null?_0x34d1be(0x338):_0x484af8)===_0x34d1be(0x338);}))==null?void 0x0:_0x46c035['elementId'])==null?null:_0x18734a;}return null;}let _0x17cd05=(_0x171a65=_0x4b700d[_0x32bcf9(0x1c2)])==null?'right':_0x171a65,_0x35f2e0=_0x17cd05===_0x32bcf9(0x338)?'ArrowLeft':_0x32bcf9(0x13d),_0x73a65c=_0x17cd05===_0x32bcf9(0x338)?'ArrowRight':_0x32bcf9(0x3da);if(_0x25b6ff===_0x35f2e0)return _0x4b700d['parentNodeId'];if(_0x25b6ff===_0x73a65c){var _0x1e3cbe,_0x4e6c18;return(_0x1e3cbe=(_0x4e6c18=_0x47aeb4[0x0])==null?void 0x0:_0x4e6c18[_0x32bcf9(0x18a)])==null?null:_0x1e3cbe;}if(_0x25b6ff===_0x32bcf9(0x394)||_0x25b6ff==='ArrowDown'){var _0x3d955b;let _0x252636=this['_getMindMapChildren'](_0xc212f3,_0x4b700d['structureScopeId'],_0x4b700d[_0x32bcf9(0x286)]),_0x581770=_0x252636[_0x32bcf9(0x3af)](_0xe5c458=>_0xe5c458[_0x32bcf9(0x18a)]===_0x5dc927),_0x26bfb0=_0x25b6ff===_0x32bcf9(0x394)?_0x252636[_0x581770-0x1]:_0x252636[_0x581770+0x1];return(_0x3d955b=_0x26bfb0==null?void 0x0:_0x26bfb0['elementId'])==null?null:_0x3d955b;}return null;}[_0x55c788(0x249)](_0x5240ce,_0x4d8e52,_0x479bf4){const _0x13023c=_0x55c788;return Object['values'](_0x5240ce)[_0x13023c(0x1eb)](_0x22c2c2=>{const _0x4f1426=_0x13023c;let _0x15ffaa=_0x4784a6(_0x22c2c2[_0x4f1426(0x2ca)]);return(_0x15ffaa==null?void 0x0:_0x15ffaa['structureScopeId'])===_0x4d8e52&&_0x15ffaa[_0x4f1426(0x286)]===_0x479bf4&&_0x22c2c2[_0x4f1426(0x2ca)][_0x4f1426(0x20f)]!==!0x1;})['sort']((_0x5bf98b,_0x523101)=>{const _0x2bf5df=_0x13023c;let _0x5ed4f5=_0x4784a6(_0x5bf98b[_0x2bf5df(0x2ca)]),_0x8cb381=_0x4784a6(_0x523101[_0x2bf5df(0x2ca)]);return _0xbc8dd6(_0x5ed4f5==null?void 0x0:_0x5ed4f5[_0x2bf5df(0x12b)],_0x8cb381==null?void 0x0:_0x8cb381[_0x2bf5df(0x12b)])||_0x5bf98b[_0x2bf5df(0x18a)]['localeCompare'](_0x523101['elementId']);});}[_0x55c788(0x259)](){const _0x49525b=_0x55c788;var _0x249d12,_0x14c1cd,_0x6df3c5;let _0x5b5643=this['_elementStateService'][_0x49525b(0x125)](),_0x729dfb=(_0x249d12=_0x5b5643[_0x49525b(0x3a3)])==null?_0x5b5643[_0x49525b(0x319)][0x0]:_0x249d12;if(!_0x5b5643[_0x49525b(0x1de)]||!_0x729dfb||_0x5b5643[_0x49525b(0x319)]['length']!==0x1||_0x5b5643[_0x49525b(0x2fe)]||_0x5b5643[_0x49525b(0x1b7)])return null;let _0x521a85=this[_0x49525b(0x334)][_0x49525b(0x16c)](_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x3d3)],_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x346)])[_0x729dfb],_0x81e900=_0x4784a6(_0x521a85==null?void 0x0:_0x521a85[_0x49525b(0x2ca)]);return!_0x521a85||!_0x81e900?null:{'unitId':_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x3d3)],'subUnitId':_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x346)],'nodeId':_0x729dfb,'scopeId':_0x81e900['structureScopeId'],'isRoot':_0x81e900['parentNodeId']===null,'description':(_0x14c1cd=(_0x6df3c5=_0x81e900['foreignAttributes'])==null?void 0x0:_0x6df3c5[_0x49525b(0x216)])==null?'':_0x14c1cd};}[_0x55c788(0x179)](){const _0x8a1363=_0x55c788;let _0x16d57f=this[_0x8a1363(0x239)][_0x8a1363(0x125)]();return!_0x16d57f['context']||_0x16d57f[_0x8a1363(0x2fe)]||_0x16d57f[_0x8a1363(0x1b7)]||_0x16d57f[_0x8a1363(0x319)]['length']>0x0||_0x16d57f[_0x8a1363(0x3a3)]?null:{'unitId':_0x16d57f[_0x8a1363(0x1de)][_0x8a1363(0x3d3)],'subUnitId':_0x16d57f[_0x8a1363(0x1de)][_0x8a1363(0x346)]};}[_0x55c788(0x2f9)](_0x38ad68,_0x5c6cb3,_0x5eced5){const _0x343b4d=_0x55c788;let _0x19ad57=this[_0x343b4d(0x22a)][_0x343b4d(0x12e)](_0x38ad68,_0x5c6cb3);Promise[_0x343b4d(0x3b0)](_0x19ad57)['then'](_0x276c8f=>{const _0x4d2a8e=_0x343b4d;_0x276c8f&&this[_0x4d2a8e(0x22a)][_0x4d2a8e(0x12e)](_0x5672f3['id'],{'unitId':_0x5c6cb3[_0x4d2a8e(0x3d3)],'subUnitId':_0x5c6cb3[_0x4d2a8e(0x346)],'scopeId':_0x5eced5});});}[_0x55c788(0x1cf)](_0x4f05ed,_0x1ef423,_0x51142a,_0x3243d8){const _0x3dc087=_0x55c788;let _0x2d4752={'unitId':_0x1ef423[_0x3dc087(0x3d3)],'subUnitId':_0x1ef423[_0x3dc087(0x346)]},_0x1a4f59=this[_0x3dc087(0x22a)][_0x3dc087(0x12e)](_0x4f05ed,_0x1ef423);Promise[_0x3dc087(0x3b0)](_0x1a4f59)['then'](_0x55e399=>{const _0x231a03=_0x3dc087;_0x55e399&&(this['_commandService'][_0x231a03(0x12e)](_0x5672f3['id'],{..._0x2d4752,'scopeId':_0x51142a}),this[_0x231a03(0x239)][_0x231a03(0x379)](_0x2d4752,[_0x3243d8],_0x3243d8),this[_0x231a03(0x3a4)][_0x231a03(0x1ec)](),this['_boardTextEditingService'][_0x231a03(0x348)]({..._0x2d4752,'shapeId':_0x3243d8,'shapeKey':_0x4f1902(_0x2d4752[_0x231a03(0x3d3)],_0x3243d8),'visible':!0x0}));});}};cn=J([q(0x0,_0x3c575a(_0x3de855)),q(0x1,_0x3c575a(_0x1f379b)),q(0x2,_0x3c575a(_0x45d666)),q(0x3,_0x3c575a(_0x31164a)),q(0x4,_0x4a7b53),q(0x5,_0x8b86d4),q(0x6,_0x3c575a(_0x5698aa)),q(0x7,_0x1c93b7)],cn);function ln(_0x2004cd){const _0x19957c=_0x55c788;return _0x2004cd===_0x19957c(0x37d)||_0x2004cd===_0x19957c(0x15f)||_0x2004cd===_0x19957c(0x2c5)||_0x2004cd===_0x19957c(0x342);}const un=_0x55c788(0x2ea),dn={'min':0x1,'max':0x5,'defaultValue':0x3},fn={'min':0x0,'max':0x64,'defaultValue':0x64},pn={'fill':_0x55c788(0x2f4),'fontColor':_0x55c788(0x1a2),'line':_0x55c788(0x383),'stroke':_0x55c788(0x158),'typography':_0x55c788(0x1bb)},mn=[{'kind':_0x55c788(0x2ec),'titleKey':'boards-mind-ui.toolbar.primary.line','panel':_0x55c788(0x25c)},{'kind':_0x55c788(0x314),'titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x55c788(0x26b),'titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':'dropdown','titleKey':_0x55c788(0x377),'panel':_0x55c788(0x3d9),'dividerBefore':!0x0}],hn={'addSibling':_0x55c788(0x1c0),'addChild':_0x55c788(0x19c),'copy':'copy','paste':_0x55c788(0x23f),'delete':_0x55c788(0x324)},gn=[{'key':_0x55c788(0x154),'title':_0x55c788(0x150),'items':[{'value':_0x55c788(0x224),'icon':_0x55c788(0x224)},{'value':_0x55c788(0x340),'icon':_0x55c788(0x340)}]},{'key':'tree-diagram','title':_0x55c788(0x18b),'items':[{'value':_0x55c788(0x2a0),'icon':_0x55c788(0x2a0)},{'value':_0x55c788(0x31e),'icon':'tree-left'},{'value':_0x55c788(0x35c),'icon':_0x55c788(0x35c)}]},{'key':_0x55c788(0x381),'title':_0x55c788(0x3c7),'items':[{'value':'timeline-horizontal','icon':_0x55c788(0x232)},{'value':'timeline-vertical','icon':_0x55c788(0x33a)}]}],_n={'key':_0x55c788(0x2c3),'title':_0x55c788(0x206),'items':[{'value':'curve','icon':'branch-curve'},{'value':_0x55c788(0x28c),'icon':_0x55c788(0x35d)},{'value':'orthogonal','icon':_0x55c788(0x3a6)}]};function vn(_0xc0daee,_0x4c7e42){const _0x85656f=_0x55c788;_0xc0daee[_0x85656f(0x12e)](rn,{'action':_0x4c7e42});}const yn={'line':_0x4ceedf,'more':_0x62a0bc};function bn(_0x569b9d){const _0x24a4d9=_0x55c788;_0x569b9d[_0x24a4d9(0x2d4)](),_0x569b9d['preventDefault']();}function xn(_0x599f3e,_0x34df5e=_0x55c788(0x19d),_0x23a387){return _0x12a7ac(_0x578e13,{'children':_0x12a7ac(_0x599f3e,{'className':_0x34df5e,'extend':_0x23a387})});}function Sn(_0x434467){const _0x4833d1=_0x55c788;var _0x401e87,_0x21cc18,_0x583a2d,_0x5c4479,_0x2ddb30,_0x383a41,_0x469c22,_0x5da087;let _0x32d555=(_0x401e87=_0x434467==null?void 0x0:_0x434467[_0x4833d1(0x188)])==null?{}:_0x401e87,_0x1501d8=_0x32d555['dataModel']&&typeof _0x32d555[_0x4833d1(0x19a)]==_0x4833d1(0x33b)?_0x32d555[_0x4833d1(0x19a)]:{},_0x20cdb5=(_0x21cc18=_0x1501d8[_0x4833d1(0x196)])==null||(_0x21cc18=_0x21cc18[_0x4833d1(0x167)])==null?void 0x0:_0x21cc18[_0x4833d1(0x33d)];return{'color':typeof _0x32d555[_0x4833d1(0x3c4)]==_0x4833d1(0x2e3)?_0x32d555[_0x4833d1(0x3c4)]:(_0x583a2d=_0x20cdb5==null||(_0x5c4479=_0x20cdb5['cl'])==null?void 0x0:_0x5c4479[_0x4833d1(0x291)])==null?_0x3ead9f:_0x583a2d,'fontSize':typeof _0x32d555['fontSize']=='number'?_0x32d555[_0x4833d1(0x1db)]:typeof(_0x20cdb5==null?void 0x0:_0x20cdb5['fs'])==_0x4833d1(0x251)?_0x20cdb5['fs']:_0x29cbb0['fs'],'horizontalAlign':(_0x2ddb30=(_0x383a41=_0x32d555[_0x4833d1(0x17b)])==null?_0x1501d8['ha']:_0x383a41)==null?_0x26aceb['LEFT']:_0x2ddb30,'textFill':_0x32d555[_0x4833d1(0x2dc)]&&typeof _0x32d555[_0x4833d1(0x2dc)]=='object'?_0x32d555['textFill']:_0x20cdb5==null?void 0x0:_0x20cdb5[_0x4833d1(0x2dc)],'verticalAlign':(_0x469c22=(_0x5da087=_0x32d555[_0x4833d1(0x22b)])==null?_0x1501d8['va']:_0x5da087)==null?_0x33dace[_0x4833d1(0x371)]:_0x469c22};}function Cn(_0x3f286d,_0x5a427a){const _0x866785=_0x55c788;if(!_0x5a427a)return;let _0x1bd326=sn(_0x5a427a);if(!_0x1bd326[_0x866785(0x207)])return;let _0x568d27=_0x1bd326['map'](_0xf3761b=>{const _0x2d8433=_0x866785;var _0x520bec;return(_0x520bec=_0x3f286d[_0x2d8433(0x2d7)]({'id':_0x2d8433(0x372),'binding':_0xf3761b,'staticParameters':{'action':_0x5a427a}}))==null?void 0x0:_0x520bec;})['filter'](_0x314ff0=>!!_0x314ff0);return _0x568d27[_0x866785(0x207)]?[...new Set(_0x568d27)][_0x866785(0x1ad)]('/'):void 0x0;}async function wn(_0xb02e11,_0x3c65ea){const _0x2ab501=_0x55c788;return await Promise[_0x2ab501(0x3b0)](_0xb02e11[_0x2ab501(0x12e)](_0x1f97d9['id'],_0x3c65ea))?(await Promise[_0x2ab501(0x3b0)](_0xb02e11[_0x2ab501(0x12e)](_0x5672f3['id'],{'unitId':_0x3c65ea['unitId'],'subUnitId':_0x3c65ea[_0x2ab501(0x346)],'scopeId':_0x3c65ea[_0x2ab501(0x191)]})),!0x0):!0x1;}async function Tn(_0x5a3650,_0x4d114b){const _0xfcb003=_0x55c788;return await Promise[_0xfcb003(0x3b0)](_0x5a3650[_0xfcb003(0x12e)](_0x35a1e2['id'],_0x4d114b))?(await Promise[_0xfcb003(0x3b0)](_0x5a3650[_0xfcb003(0x12e)](_0x5672f3['id'],{'unitId':_0x4d114b['unitId'],'subUnitId':_0x4d114b[_0xfcb003(0x346)],'scopeId':_0x4d114b[_0xfcb003(0x191)]})),!0x0):!0x1;}function En({className:_0x1569df=_0x55c788(0x19d)}){const _0x19b9ec=_0x55c788;return _0x12a7ac(_0x578e13,{'children':_0x42e6e8('svg',{'className':_0x1569df,'viewBox':_0x19b9ec(0x1af),'fill':_0x19b9ec(0x19e),'aria-hidden':_0x19b9ec(0x17e),'children':[_0x12a7ac('path',{'d':_0x19b9ec(0x35b),'stroke':'currentColor','strokeWidth':_0x19b9ec(0x246),'strokeLinecap':_0x19b9ec(0x31c)}),_0x12a7ac(_0x19b9ec(0x151),{'d':_0x19b9ec(0x163),'stroke':_0x19b9ec(0x1b5),'strokeWidth':'1.8','strokeLinecap':'round'}),_0x12a7ac(_0x19b9ec(0x151),{'d':_0x19b9ec(0x171),'stroke':'currentColor','strokeWidth':'1.8','strokeLinecap':_0x19b9ec(0x31c)})]})});}function Dn({icon:_0x11eb07}){const _0x1d5412=_0x55c788;let _0x2ee5d6=_0x1d5412(0x31b),_0x16e879={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0x1d5412(0x31c),'strokeLinejoin':_0x1d5412(0x31c)},_0x5bdf99={'stroke':_0x2ee5d6,'strokeWidth':3.2,'strokeLinecap':_0x1d5412(0x31c)};return _0x42e6e8(_0x1d5412(0x20b),{'className':'univer-h-9\x20univer-w-12','viewBox':_0x1d5412(0x36b),'fill':_0x1d5412(0x19e),'aria-hidden':_0x1d5412(0x17e),'children':[_0x11eb07===_0x1d5412(0x224)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x375),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':'M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',..._0x5bdf99})]}),_0x11eb07===_0x1d5412(0x340)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac('path',{'d':'M21\x2028h38M40\x2011v34M28\x2016c7\x204\x2010\x208\x2012\x2012\x202-4\x205-8\x2012-12M28\x2040c7-4\x2010-8\x2012-12\x202\x204\x205\x208\x2012\x2012',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x22d),'stroke':_0x2ee5d6,'strokeWidth':2.6,'strokeLinecap':'round','strokeDasharray':_0x1d5412(0x13a)})]}),_0x11eb07===_0x1d5412(0x2a0)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac('path',{'d':'M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x126),..._0x5bdf99}),_0x12a7ac('circle',{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x11eb07===_0x1d5412(0x31e)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x38d),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x5bdf99}),_0x12a7ac('circle',{'cx':'56','cy':'12','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x35c)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x282),..._0x16e879}),_0x12a7ac('path',{'d':'M12\x2026h11M58\x2036h11M12\x2045h11',..._0x5bdf99}),_0x12a7ac('circle',{'cx':'42','cy':'12','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x232)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':'M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x34a),..._0x5bdf99}),_0x12a7ac(_0x1d5412(0x2b5),{'cx':'17','cy':'31','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x33a)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x280),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x355),..._0x5bdf99}),_0x12a7ac(_0x1d5412(0x2b5),{'cx':'40','cy':'9','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07==='branch-curve'&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':'M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013',..._0x16e879})}),_0x11eb07===_0x1d5412(0x35d)&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x16a),..._0x16e879})}),_0x11eb07===_0x1d5412(0x3a6)&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x172),..._0x16e879})})]});}function On(_0x4b79fc,_0x184ef2){const _0x301f42=_0x55c788;let _0x21695f=_0x4b79fc[_0x301f42(0x33d)],_0x565b5d=_0x51f7f1(_0x21695f),_0x4b1cfc={..._0x565b5d[_0x301f42(0x3c4)]===void 0x0?null:{'color':_0x565b5d[_0x301f42(0x3c4)]},..._0x565b5d[_0x301f42(0x1f9)]===void 0x0?null:{'fontFamily':_0x565b5d[_0x301f42(0x1f9)]},..._0x565b5d[_0x301f42(0x1db)]===void 0x0?null:{'fontSize':_0x565b5d[_0x301f42(0x1db)]},..._0x565b5d[_0x301f42(0x2cb)]===void 0x0?null:{'bold':_0x565b5d[_0x301f42(0x2cb)]},..._0x565b5d['italic']===void 0x0?null:{'italic':_0x565b5d[_0x301f42(0x384)]},..._0x565b5d[_0x301f42(0x2f5)]===void 0x0?null:{'underline':_0x565b5d[_0x301f42(0x2f5)]},..._0x565b5d[_0x301f42(0x24e)]===void 0x0?null:{'strikethrough':_0x565b5d[_0x301f42(0x24e)]},..._0x565b5d[_0x301f42(0x2dc)]===void 0x0?null:{'textFill':_0x565b5d[_0x301f42(0x2dc)]}};_0x4b79fc['horizontalAlign']!==void 0x0&&(_0x4b1cfc[_0x301f42(0x17b)]=_0x4b79fc[_0x301f42(0x17b)]),_0x4b79fc[_0x301f42(0x22b)]!==void 0x0&&(_0x4b1cfc[_0x301f42(0x22b)]=_0x4b79fc['verticalAlign']),Object[_0x301f42(0x287)](_0x4b1cfc)[_0x301f42(0x207)]>0x0&&_0x184ef2({'textStyle':_0x4b1cfc});}function kn(_0x36f98b,_0x57193a,_0x651bda){const _0x5aa626=_0x55c788;var _0x41fead,_0x342d16;let _0x5a4480=_0x36f98b==null?{}:_0x36f98b,_0x33535c=_0x43dff7(_0x5a4480,_0x57193a),_0x10e923=(_0x41fead=(_0x342d16=_0x33535c[_0x5aa626(0x188)])==null?_0x5a4480[_0x5aa626(0x188)]:_0x342d16)==null?{}:_0x41fead;return{..._0x5a4480,..._0x33535c,'shapeText':{..._0x10e923,..._0x651bda[_0x5aa626(0x3c4)]===void 0x0?null:{'color':_0x651bda[_0x5aa626(0x3c4)]},..._0x651bda['fontSize']===void 0x0?null:{'fontSize':_0x651bda[_0x5aa626(0x1db)]},..._0x651bda[_0x5aa626(0x2cb)]===void 0x0?null:{'bold':_0x651bda['bold']},..._0x651bda[_0x5aa626(0x384)]===void 0x0?null:{'italic':_0x651bda[_0x5aa626(0x384)]},..._0x651bda[_0x5aa626(0x2f5)]===void 0x0?null:{'underline':_0x651bda['underline']},..._0x651bda[_0x5aa626(0x24e)]===void 0x0?null:{'strikethrough':_0x651bda[_0x5aa626(0x24e)]},..._0x651bda[_0x5aa626(0x17b)]===void 0x0?null:{'horizontalAlign':_0x651bda['horizontalAlign']},..._0x651bda[_0x5aa626(0x22b)]===void 0x0?null:{'verticalAlign':_0x651bda[_0x5aa626(0x22b)]},..._0x651bda[_0x5aa626(0x2dc)]===void 0x0?null:{'textFill':_0x651bda[_0x5aa626(0x2dc)]}}};}function An(_0x13d882,_0x5455f5){const _0x449fc6=_0x55c788;let _0x3bf4ba=_0x13d882==null?void 0x0:_0x13d882[_0x449fc6(0x1b4)];_0x3bf4ba&&_0x5455f5({'lineType':_0x3bf4ba[_0x449fc6(0x223)]===_0x179fe9[_0x449fc6(0x2ab)]||_0x3bf4ba['dashType']===_0x179fe9[_0x449fc6(0x347)]?'dot':_0x3bf4ba[_0x449fc6(0x223)]===_0x179fe9[_0x449fc6(0x32c)]?_0x449fc6(0x183):_0x449fc6(0x258),...typeof _0x3bf4ba[_0x449fc6(0x24f)]==_0x449fc6(0x251)?{'strokeWidth':_0x3bf4ba[_0x449fc6(0x24f)]}:null,...typeof _0x3bf4ba[_0x449fc6(0x3c4)]==_0x449fc6(0x2e3)?{'stroke':_0x3bf4ba[_0x449fc6(0x3c4)]}:null,...typeof _0x3bf4ba['opacity']==_0x449fc6(0x251)?{'opacity':_0x3bf4ba[_0x449fc6(0x351)]}:null});}function jn(_0x1ce297){const _0x407c51=_0x55c788;return _0x1ce297!=null&&_0x1ce297[_0x407c51(0x207)]?_0x1ce297[0x0]<=0x2?_0x179fe9[_0x407c51(0x2ab)]:_0x179fe9[_0x407c51(0x32c)]:_0x179fe9['Solid'];}function Mn(_0x1dd77d){const _0x4242c9=_0x55c788;var _0x3017fd,_0x3e04dd,_0x64093a;return{'stroke':{'lineStrokeType':_0x4c39e6[_0x4242c9(0x1d4)],'dashType':jn(_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x183)]),'color':(_0x3017fd=_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x1b4)])==null?_0x5111b4:_0x3017fd,'width':(_0x3e04dd=_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x385)])==null?dn['defaultValue']:_0x3e04dd,'opacity':(_0x64093a=_0x1dd77d==null?void 0x0:_0x1dd77d['opacity'])==null?fn[_0x4242c9(0x23c)]/0x64:_0x64093a}};}function Nn(_0x4c05ea){const _0x15f907=_0x55c788;var _0x2459dc,_0x1c00e2,_0x51be94,_0x4993ff,_0x4c984b,_0x46fff0;let _0x237f92=_0xd57ede(_0x4a7b53),_0x329362=_0xd57ede(_0x8b86d4),_0x38835b=_0xd57ede(_0x20f8ca),[_0x100e54,_0x56196d]=_0x5024c9(null),[_0x5ce4d5,_0x2af2c4]=_0x5024c9((_0x2459dc=_0x4c05ea[_0x15f907(0x37e)]['extraProps'])==null?void 0x0:_0x2459dc[_0x15f907(0x3e2)]),_0x5e68c3=_0x4c05ea[_0x15f907(0x37e)][_0x15f907(0x2fa)];if(!_0x5e68c3)return null;let _0xbdc30b={'unitId':_0x5e68c3[_0x15f907(0x3d3)],'subUnitId':_0x5e68c3['subUnitId']},_0x2bb5e3=_0x3952c2=>{const _0x20487a=_0x15f907;_0x237f92[_0x20487a(0x12e)](_0x2aa574['id'],{..._0xbdc30b,'nodeId':_0x5e68c3[_0x20487a(0x18a)],..._0x3952c2});},_0x16bba9=(_0x59bd7f,_0x539389)=>{const _0xe412ef=_0x15f907;let _0xc81304=_0x539389==null?{}:_0x539389;_0x2af2c4(_0x4c0161=>({..._0x4c0161==null?{}:_0x4c0161,..._0xc81304})),_0x2bb5e3({..._0xc81304[_0xe412ef(0x234)]===void 0x0?null:{'fill':_0xc81304[_0xe412ef(0x234)]},..._0xc81304[_0xe412ef(0x1b4)]===void 0x0?null:{'stroke':_0xc81304[_0xe412ef(0x1b4)]}});},_0x4c1e94=_0x168275=>{const _0x1a1e19=_0x15f907;_0x237f92[_0x1a1e19(0x12e)](_0x4f27c7['id'],{..._0xbdc30b,'nodeId':_0x5e68c3[_0x1a1e19(0x18a)],'style':_0x168275});},_0x25c55b=Mn(_0x5e68c3[_0x15f907(0x230)]),_0x5c2542=_0x3659a7=>Cn(_0x329362,_0x3659a7),_0x588795=_0x3834f7=>{vn(_0x237f92,_0x3834f7);},_0x2e92b3=(_0x1c00e2=_0x5ce4d5==null?void 0x0:_0x5ce4d5['shapeText'])==null?{}:_0x1c00e2,_0x45bd03=Sn(_0x5ce4d5),_0x40e2bc=_0x12f6f3=>{On(_0x12f6f3,_0x1b1946=>{const _0x6af87b=_0x5bcf;_0x2af2c4(_0x423cb8=>kn(_0x423cb8,_0x12f6f3,_0x1b1946[_0x6af87b(0x33d)])),_0x2bb5e3(_0x1b1946);});},_0x1c0d6f=[{'label':_0x38835b['t']('boards-mind-ui.alignLeft'),'value':_0x26aceb[_0x15f907(0x15a)],'icon':_0x12a7ac(_0x36d060,{})},{'label':_0x38835b['t'](_0x15f907(0x3de)),'value':_0x26aceb['CENTER'],'icon':_0x12a7ac(_0x1ef2aa,{})},{'label':_0x38835b['t'](_0x15f907(0x27b)),'value':_0x26aceb[_0x15f907(0x1a5)],'icon':_0x12a7ac(_0x1fdead,{})},{'label':_0x38835b['t'](_0x15f907(0x3a1)),'value':_0x26aceb['JUSTIFIED'],'icon':_0x12a7ac(_0x430b73,{})}],_0x5ae71a=[{'label':_0x38835b['t']('boards-mind-ui.alignTop'),'value':_0x33dace[_0x15f907(0x32d)],'icon':_0x12a7ac(_0x588992,{})},{'label':_0x38835b['t'](_0x15f907(0x278)),'value':_0x33dace[_0x15f907(0x371)],'icon':_0x12a7ac(_0x48f505,{})},{'label':_0x38835b['t']('boards-mind-ui.alignBottom'),'value':_0x33dace['BOTTOM'],'icon':_0x12a7ac(_0x29bed2,{})}],_0x2bd798=()=>{const _0x52f4db=_0x15f907;_0x588795(_0x52f4db(0x1c0));},_0x36d741=()=>{_0x588795('add-child');},_0x36d74a=()=>{const _0x5b9dc7=_0x15f907;_0x588795(_0x5b9dc7(0x3e1));},_0x5a212a=()=>{const _0x25a734=_0x15f907;_0x588795(_0x25a734(0x23f));},_0x599bdf=()=>{const _0x1cd036=_0x15f907;_0x588795(_0x1cd036(0x324));},_0x846ac0=(_0x51be94=(_0x4993ff=_0x5e68c3[_0x15f907(0x142)])==null?void 0x0:_0x4993ff[_0x15f907(0x32f)])==null?_0xb4769e[_0x15f907(0x32f)]:_0x51be94,_0x2891f2=_0x172ea2(_0x846ac0,(_0x4c984b=(_0x46fff0=_0x5e68c3['layout'])==null?void 0x0:_0x46fff0[_0x15f907(0x159)])==null?_0xb4769e['branchLineType']:_0x4c984b),_0x2fa125=_0x22a2f8=>{let _0x2799c0=_0x172ea2(_0x22a2f8,_0x2891f2);wn(_0x237f92,{..._0xbdc30b,'scopeId':_0x5e68c3['scopeId'],'structureKind':_0x22a2f8,..._0x2799c0===_0x2891f2?null:{'branchLineType':_0x2799c0}}),_0x56196d(null);},_0x24491d=_0x341eae=>{const _0x162517=_0x15f907;Tn(_0x237f92,{..._0xbdc30b,'scopeId':_0x5e68c3[_0x162517(0x191)],'branchLineType':_0x341eae}),_0x56196d(null);},_0x5377fd=(_0x1bd75a,_0x1951b9,_0x1d2fab,_0x4a9c88=!0x1)=>_0x12a7ac(_0x15f907(0x1bf),{'type':_0x15f907(0x1bf),'disabled':_0x4a9c88,'className':_0x11ce90(_0x15f907(0x235),_0x1951b9&&_0x15f907(0x203),_0x4a9c88&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':bn,'onPointerDown':bn,'onClick':_0x3b0c58=>{const _0x1dcbd7=_0x15f907;_0x3b0c58[_0x1dcbd7(0x2d4)](),!_0x4a9c88&&_0x1d2fab();},'children':_0x12a7ac(Dn,{'icon':_0x1bd75a['icon']})},_0x1bd75a[_0x15f907(0x361)]),_0x6e0c2b=()=>_0x42e6e8(_0x15f907(0x27a),{'className':_0x15f907(0x30a),'onMouseDown':_0x3847ec=>_0x3847ec['stopPropagation'](),'onPointerDown':_0x2b99e1=>_0x2b99e1[_0x15f907(0x2d4)](),'children':[gn[_0x15f907(0x1f6)](_0x3e01d5=>_0x42e6e8(_0x15f907(0x27a),{'className':'univer-mb-4','children':[_0x12a7ac(_0x15f907(0x27a),{'className':_0x15f907(0x1dc),'children':_0x3e01d5[_0x15f907(0x34e)]}),_0x12a7ac('div',{'className':_0x15f907(0x29a),'style':{'gridTemplateColumns':_0x15f907(0x157)+_0x3e01d5['items'][_0x15f907(0x207)]+_0x15f907(0x36c)},'children':_0x3e01d5[_0x15f907(0x2c6)][_0x15f907(0x1f6)](_0x3a2b40=>_0x5377fd(_0x3a2b40,_0x3a2b40[_0x15f907(0x361)]===_0x846ac0,()=>_0x2fa125(_0x3a2b40[_0x15f907(0x361)])))})]},_0x3e01d5[_0x15f907(0x1c1)])),_0x12a7ac(_0x277f73,{}),_0x42e6e8(_0x15f907(0x27a),{'className':_0x15f907(0x39d),'children':[_0x12a7ac('div',{'className':_0x15f907(0x1dc),'children':_n['title']}),_0x12a7ac(_0x15f907(0x27a),{'className':_0x15f907(0x29a),'style':{'gridTemplateColumns':_0x15f907(0x157)+_n[_0x15f907(0x2c6)]['length']+',\x20minmax(0,\x201fr))'},'children':_n[_0x15f907(0x2c6)][_0x15f907(0x1f6)](_0x324ee4=>_0x5377fd(_0x324ee4,_0x324ee4[_0x15f907(0x361)]===_0x2891f2,()=>_0x24491d(_0x324ee4['value']),_0x324ee4[_0x15f907(0x361)]===_0x15f907(0x395)&&!_0x17ca32(_0x846ac0)))})]})]}),_0x3e690a=_0x509507=>{const _0x4ddc10=_0x15f907;switch(_0x509507){case _0x4ddc10(0x25c):return _0x12a7ac(_0x34d69f,{'titleKey':pn[_0x4ddc10(0x25c)],'shapeData':_0x25c55b,'modeOptions':[_0x4ddc10(0x258),_0x4ddc10(0x183),'dot'],'showDashDropdown':!0x1,'widthRange':{'min':dn[_0x4ddc10(0x29d)],'max':dn['max'],'step':0x1},'onUpdateShapeData':(_0x5f2a75,_0x3f2bf3)=>{An(_0x3f2bf3,_0x4c1e94);}});case _0x4ddc10(0x3d9):return _0x12a7ac(_0x1ee4a0,{'titleKey':_0x4ddc10(0x27f),'minWidthClassName':'univer-min-w-[240px]','children':_0x42e6e8('div',{'className':_0x4ddc10(0x39f),'children':[_0x12a7ac(_0x4e57ea,{'labelKey':_0x4ddc10(0x26e),'shortcut':_0x5c2542(hn[_0x4ddc10(0x144)]),'onClick':_0x2bd798}),_0x12a7ac(_0x4e57ea,{'labelKey':_0x4ddc10(0x145),'shortcut':_0x5c2542(hn[_0x4ddc10(0x1b6)]),'onClick':_0x36d741}),_0x12a7ac(_0x277f73,{}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.copy','shortcut':_0x5c2542(hn['copy']),'onClick':_0x36d74a}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.paste','shortcut':_0x5c2542(hn[_0x4ddc10(0x23f)]),'onClick':_0x5a212a}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.delete','shortcut':_0x5c2542(hn[_0x4ddc10(0x324)]),'onClick':_0x599bdf})]})});default:return null;}},_0x5fe869=mn[_0x15f907(0x2a6)](_0x5614d1=>{const _0x5b912e=_0x15f907;let _0x2dcd7f=[];if(_0x5614d1[_0x5b912e(0x30d)]&&_0x2dcd7f[_0x5b912e(0x3b7)](_0x12a7ac(_0x277f73,{'orientation':_0x5b912e(0x275)},_0x5b912e(0x139)+_0x5614d1[_0x5b912e(0x2a8)])),_0x5614d1[_0x5b912e(0x2a8)]===_0x5b912e(0x26b))return _0x2dcd7f['push'](_0x12a7ac(_0x11b815,{'titleKey':pn[_0x5b912e(0x26b)],'textStyle':{'isBold':_0x2e92b3[_0x5b912e(0x2cb)]===!0x0,'isItalic':_0x2e92b3[_0x5b912e(0x384)]===!0x0,'isUnderline':_0x2e92b3[_0x5b912e(0x2f5)]===!0x0,'isStrike':_0x2e92b3[_0x5b912e(0x24e)]===!0x0},'horizontalAlign':_0x45bd03[_0x5b912e(0x17b)],'verticalAlign':_0x45bd03[_0x5b912e(0x22b)],'horizontalAlignOptions':_0x1c0d6f,'verticalAlignOptions':_0x5ae71a,'onUpdateText':_0x40e2bc},_0x5614d1[_0x5b912e(0x2a8)])),_0x2dcd7f;if(_0x5614d1[_0x5b912e(0x2a8)]===_0x5b912e(0x314)){let _0x465c59={'fs':_0x45bd03[_0x5b912e(0x1db)],'cl':{'rgb':_0x45bd03[_0x5b912e(0x3c4)]},..._0x45bd03[_0x5b912e(0x2dc)]===void 0x0?null:{'textFill':_0x45bd03['textFill']}};return _0x2dcd7f['push'](_0x12a7ac(_0x24b46b,{'titleKey':pn['fontColor'],'textStyle':_0x465c59,'fallbackColor':_0x45bd03[_0x5b912e(0x3c4)],'onChange':_0xfd8396=>_0x40e2bc({'textStyle':_0xfd8396})},_0x5614d1[_0x5b912e(0x2a8)])),_0x2dcd7f['push'](_0x12a7ac(_0x39747a,{'value':String(_0x45bd03['fontSize']),'onChange':_0x4f385a=>{_0x40e2bc({'textStyle':{'fs':_0x4f385a}});}},_0x5b912e(0x1c9))),_0x2dcd7f;}return _0x2dcd7f[_0x5b912e(0x3b7)](_0x12a7ac(_0x343e7e,{'open':_0x100e54===_0x5614d1['panel'],'overlay':_0x3e690a(_0x5614d1[_0x5b912e(0x205)]),'onOpenChange':_0x3392f8=>_0x56196d(_0x3392f8?_0x5614d1[_0x5b912e(0x205)]:null),'children':_0x12a7ac(_0x5b912e(0x245),{'children':_0x12a7ac(_0x18f73b,{'titleKey':_0x5614d1['titleKey'],'active':_0x100e54===_0x5614d1[_0x5b912e(0x205)],'icon':xn(yn[_0x5614d1[_0x5b912e(0x205)]]),'sizeClassName':_0x5b912e(0x17a),'onMouseDown':bn,'onPointerDown':bn})})},_0x5614d1['panel'])),_0x2dcd7f;});return _0x42e6e8(_0x41b34a,{'dataAttributes':{'data-board-mind-map-floating-toolbar':_0x15f907(0x17e)},'maxWidthClassName':_0x15f907(0x147),'onMouseDown':_0x21d12a=>_0x21d12a[_0x15f907(0x2d4)](),'children':[[..._0x5e68c3[_0x15f907(0x333)]?[_0x12a7ac(_0x343e7e,{'open':_0x100e54===_0x15f907(0x142),'overlay':_0x6e0c2b(),'onOpenChange':_0x3f37d3=>_0x56196d(_0x3f37d3?_0x15f907(0x142):null),'children':_0x12a7ac(_0x15f907(0x245),{'children':_0x12a7ac(_0x18f73b,{'titleKey':_0x15f907(0x1b0),'active':_0x100e54===_0x15f907(0x142),'icon':_0x12a7ac(En,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':bn,'onPointerDown':bn})})},_0x15f907(0x331)),_0x12a7ac(_0x277f73,{'orientation':_0x15f907(0x275)},'layout-panel-divider')]:[],_0x12a7ac(_0x577770,{'titleKey':pn['fill'],'shapeData':_0x5ce4d5==null?{}:_0x5ce4d5,'onUpdateShapeData':_0x16bba9},_0x15f907(0x2e5)),_0x12a7ac(_0x1e2ebd,{'titleKey':pn[_0x15f907(0x1b4)],'shapeData':_0x5ce4d5==null?{}:_0x5ce4d5,'onUpdateShapeData':_0x16bba9},_0x15f907(0x39c)),_0x12a7ac(_0x277f73,{'orientation':'vertical'},_0x15f907(0x362))],_0x5fe869]});}function Pn(_0x5df068){let {left:_0x2f91ef,top:_0x25137f,width:_0x4607d4,height:_0x1a8689}=_0x5df068;return{'left':_0x2f91ef,'right':_0x2f91ef+_0x4607d4,'top':_0x25137f-0x38,'bottom':_0x25137f+_0x1a8689};}let Fn=class extends _0x4c4ffe{constructor(_0x30a513,_0x97521c,_0x1d2675,_0x30633e,_0xe83a6e){const _0x868eb8=_0x55c788;super(),this[_0x868eb8(0x16f)]=_0x30a513,this['_boardCanvasPopManagerService']=_0x97521c,this[_0x868eb8(0x334)]=_0x1d2675,this['_elementStateService']=_0x30633e,this[_0x868eb8(0x3a4)]=_0xe83a6e,K(this,_0x868eb8(0x2fc),null),K(this,_0x868eb8(0x33e),null),this[_0x868eb8(0x25a)]();}[_0x55c788(0x3c5)](){const _0x3e3c33=_0x55c788;this['_clearPopup'](),super[_0x3e3c33(0x3c5)]();}[_0x55c788(0x25a)](){const _0x19a7e5=_0x55c788;let _0x4036bb=this[_0x19a7e5(0x16f)][_0x19a7e5(0x3d4)][_0x19a7e5(0x13e)]();this['disposeWithMe'](_0x1e5fe4(_0x4036bb[_0x19a7e5(0x12f)][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>this[_0x19a7e5(0x301)]()))),this[_0x19a7e5(0x367)](_0x1e5fe4(_0x4036bb['clearControl$'][_0x19a7e5(0x3b9)](_0x38681d(this['dispose$']))[_0x19a7e5(0x304)](()=>this[_0x19a7e5(0x313)]()))),this['disposeWithMe'](_0x1e5fe4(_0x4036bb['changeStart$'][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))['subscribe'](()=>this['_clearPopup']()))),this[_0x19a7e5(0x367)](_0x1e5fe4(_0x4036bb[_0x19a7e5(0x274)][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>setTimeout(()=>this[_0x19a7e5(0x301)](),0x0)))),this['disposeWithMe'](_0x1e5fe4(this[_0x19a7e5(0x239)]['state$'][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>setTimeout(()=>this[_0x19a7e5(0x301)](),0x0)))),this['disposeWithMe'](_0x1e5fe4(this['_boardTextEditingService']['editingParams$']['pipe'](_0x38681d(this['dispose$']))[_0x19a7e5(0x304)](_0x21010c=>{const _0x4d86b3=_0x19a7e5;if((_0x21010c==null?void 0x0:_0x21010c[_0x4d86b3(0x3d3)])===this['_renderContext'][_0x4d86b3(0x3d3)]){if(_0x21010c[_0x4d86b3(0x20f)]){this['_clearPopup']();return;}setTimeout(()=>this[_0x4d86b3(0x301)](),0x0);}})));}[_0x55c788(0x3c3)](){const _0x1223c6=_0x55c788;var _0x669e97;(_0x669e97=this[_0x1223c6(0x2fc)])==null||_0x669e97[_0x1223c6(0x3c5)](),this[_0x1223c6(0x2fc)]=null,this[_0x1223c6(0x33e)]=null;}[_0x55c788(0x313)](){setTimeout(()=>{const _0x3bcc18=_0x5bcf;this[_0x3bcc18(0x2d2)]()||this[_0x3bcc18(0x3c3)]();},0x0);}[_0x55c788(0x2d2)](){const _0x5447e2=_0x55c788;let _0xc41f5=this['_elementStateService'][_0x5447e2(0x125)]();return!!_0xc41f5[_0x5447e2(0x1de)]&&_0xc41f5[_0x5447e2(0x319)][_0x5447e2(0x207)]>0x0&&this[_0x5447e2(0x33e)]===this[_0x5447e2(0x267)](_0xc41f5['context'][_0x5447e2(0x3d3)],_0xc41f5['context'][_0x5447e2(0x346)],_0xc41f5[_0x5447e2(0x319)]);}[_0x55c788(0x267)](_0x2c2b1f,_0xc0286f,_0x2746e5){const _0x37869f=_0x55c788;return _0x2c2b1f+':'+_0xc0286f+':'+_0x2746e5[_0x37869f(0x1ad)](',');}['_resolveIncomingConnectorStyle'](_0x121e22,_0x2bc663,_0x29987a,_0x58128d){const _0x267bff=_0x55c788;let _0x15e647=this[_0x267bff(0x334)]['getElementData'](_0x121e22,_0x2bc663),_0x1a10d6=Object['values'](_0x15e647)['find'](_0x270ce0=>{const _0x2260b1=_0x267bff;let _0x1eccde=_0x17e585(_0x270ce0[_0x2260b1(0x2ca)]);return(_0x1eccde==null?void 0x0:_0x1eccde[_0x2260b1(0x272)])===_0x29987a&&_0x1eccde[_0x2260b1(0x1a4)]===_0x58128d;});if(!(!_0x1a10d6||!('connectorData'in _0x1a10d6[_0x267bff(0x2ca)])))return _0x1a10d6['element'][_0x267bff(0x2bb)][_0x267bff(0x2ce)];}['_showPopupForSelection'](){const _0x3317d5=_0x55c788;var _0x3239d9,_0x3d4349,_0x112335,_0x159026,_0x5802b5,_0xe67a30,_0x58ee81,_0x42124f;let _0x55a7ad=this['_boardTextEditingService']['getEditing']();if((_0x55a7ad==null?void 0x0:_0x55a7ad[_0x3317d5(0x20f)])===!0x0&&_0x55a7ad[_0x3317d5(0x3d3)]===this[_0x3317d5(0x16f)][_0x3317d5(0x3d3)]){this[_0x3317d5(0x3c3)]();return;}let _0x44009b=this[_0x3317d5(0x239)]['getSnapshot']();if(_0x44009b[_0x3317d5(0x1b7)]){this[_0x3317d5(0x3c3)]();return;}let _0x8f9b88=this[_0x3317d5(0x16f)]['scene'][_0x3317d5(0x13e)]()['getSelectedObjectMap'](),_0x382ff7=Array['from'](_0x8f9b88[_0x3317d5(0x1e2)]())[_0x3317d5(0x1f6)](_0xf6d616=>this[_0x3317d5(0x133)](_0xf6d616))[_0x3317d5(0x1eb)](_0x5bd7fa=>!!_0x5bd7fa)['filter'](_0x2d1bb6=>!!_0x4784a6(_0x2d1bb6[_0x3317d5(0x365)]['element'])),_0x47faea=(_0x3239d9=(_0x3d4349=_0x382ff7['find'](_0x115df4=>_0x115df4[_0x3317d5(0x365)][_0x3317d5(0x18a)]===_0x44009b[_0x3317d5(0x3a3)]))==null?_0x382ff7[0x0]:_0x3d4349)==null?this['_resolveSelectedMindMapEntryFromState']():_0x3239d9;if(!_0x47faea){this[_0x3317d5(0x3c3)]();return;}let _0x12b501=_0x4784a6(_0x47faea[_0x3317d5(0x365)]['element']);if(!_0x12b501){this[_0x3317d5(0x3c3)]();return;}let _0x27c4e1=(_0x112335=this[_0x3317d5(0x334)][_0x3317d5(0x16c)](_0x47faea['elementData'][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)]['subUnitId'])[_0x12b501['structureScopeId']])==null?void 0x0:_0x112335['element'],_0x33b3dd=_0x5225ac(_0x27c4e1),_0x59cae2=_0x27c4e1==null||(_0x159026=_0x27c4e1[_0x3317d5(0x189)])==null||(_0x159026=_0x159026['mindmap'])==null||(_0x159026=_0x159026[_0x3317d5(0x142)])==null?void 0x0:_0x159026[_0x3317d5(0x32f)],_0x4472cb=((_0x5802b5=_0x33b3dd==null?void 0x0:_0x33b3dd['layout']['structureKind'])==null?_0x59cae2:_0x5802b5)===_0x3317d5(0x340)&&(_0x12b501['parentNodeId']===null||_0x12b501['side']===_0x3317d5(0x180)),_0x328969=_0x12b501['parentNodeId']!==null&&_0x12b501[_0x3317d5(0x1c2)]!==_0x3317d5(0x180)&&_0x12b501[_0x3317d5(0x1c2)]!=='bottom',_0x120626=_0x4472cb||_0x328969,_0x4aafd9=((_0xe67a30=_0x44009b['context'])==null?void 0x0:_0xe67a30['unitId'])===_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)]&&_0x44009b['context'][_0x3317d5(0x346)]===_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)]&&_0x44009b[_0x3317d5(0x319)][_0x3317d5(0x207)]?_0x44009b[_0x3317d5(0x319)]:[_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x18a)]],_0x1cbe01=this['_buildPopupSelectionKey'](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x4aafd9);this[_0x3317d5(0x2fc)]&&this[_0x3317d5(0x33e)]===_0x1cbe01||(this[_0x3317d5(0x3c3)](),this[_0x3317d5(0x2fc)]=this['disposeWithMe'](this[_0x3317d5(0x386)][_0x3317d5(0x310)](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x47faea[_0x3317d5(0x33b)],{'componentKey':un,'direction':_0x3317d5(0x2e6),'offset':[0x0,0x8],..._0x120626?{'anchorBoundResolver':Pn}:null,'extraProps':{'unitId':_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],'subUnitId':_0x47faea[_0x3317d5(0x365)]['subUnitId'],'elementId':_0x47faea['elementData'][_0x3317d5(0x18a)],'scopeId':_0x12b501[_0x3317d5(0x272)],'isRootNode':_0x12b501[_0x3317d5(0x286)]===null,'left':(_0x58ee81=_0x47faea[_0x3317d5(0x365)]['element'][_0x3317d5(0x226)][_0x3317d5(0x295)])==null?0x0:_0x58ee81,'top':(_0x42124f=_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x2ca)][_0x3317d5(0x226)][_0x3317d5(0x180)])==null?0x0:_0x42124f,'shapeData':_0x47faea[_0x3317d5(0x365)]['element']['type']===_0x5792f2[_0x3317d5(0x3a2)]?_0x47faea[_0x3317d5(0x365)]['element'][_0x3317d5(0x3e2)]:void 0x0,'layout':_0x33b3dd==null?void 0x0:_0x33b3dd[_0x3317d5(0x142)],'incomingConnectorStyle':this[_0x3317d5(0x38b)](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x12b501[_0x3317d5(0x272)],_0x47faea['elementData'][_0x3317d5(0x18a)])}})),this[_0x3317d5(0x33e)]=_0x1cbe01);}['_resolveSelectedMindMapEntryFromState'](){const _0x2dd531=_0x55c788;var _0x176a6c,_0x45cb41,_0x3a2986;let _0x736330=this['_elementStateService'][_0x2dd531(0x125)](),_0x4074e7=_0x736330[_0x2dd531(0x1de)],_0x4c7086=(_0x176a6c=_0x736330[_0x2dd531(0x3a3)])==null?_0x736330['selectedIds'][0x0]:_0x176a6c;if(!_0x4074e7||!_0x4c7086)return null;let _0x40eb0f=this[_0x2dd531(0x334)][_0x2dd531(0x2a3)](_0x4074e7['unitId'],_0x4074e7['subUnitId'],_0x4c7086);if(!_0x40eb0f||!_0x4784a6(_0x40eb0f[_0x2dd531(0x2ca)]))return null;let _0x1fe2e7=_0x4f1902(_0x4074e7[_0x2dd531(0x3d3)],_0x4c7086),_0x1be874=this[_0x2dd531(0x16f)]['scene'],_0x21e9d0=(_0x45cb41=(_0x3a2986=_0x1be874[_0x2dd531(0x1a7)])==null?void 0x0:_0x3a2986[_0x2dd531(0x222)](_0x1be874,_0x1fe2e7))==null?this['_renderContext']['scene'][_0x2dd531(0x33c)](_0x1fe2e7):_0x45cb41;return _0x21e9d0?{'object':_0x21e9d0,'elementData':_0x40eb0f}:null;}[_0x55c788(0x133)](_0xaa295d){const _0x2dfd09=_0x55c788;var _0x1da8bc;if(!_0xaa295d)return null;let _0x32074b=_0x3a2add(_0xaa295d['oKey']);if(!_0x32074b)return null;let _0x38ec06=this[_0x2dfd09(0x239)][_0x2dfd09(0x125)](),_0x108445=((_0x1da8bc=_0x38ec06[_0x2dfd09(0x1de)])==null?void 0x0:_0x1da8bc[_0x2dfd09(0x3d3)])===_0x32074b[_0x2dfd09(0x3d3)]?_0x38ec06['context'][_0x2dfd09(0x346)]:void 0x0;if(!_0x108445)return null;let _0x741f66=this[_0x2dfd09(0x334)][_0x2dfd09(0x2a3)](_0x32074b[_0x2dfd09(0x3d3)],_0x108445,_0x32074b[_0x2dfd09(0x18a)]);return _0x741f66?{'object':_0xaa295d,'elementData':_0x741f66}:null;}};Fn=J([q(0x1,_0x3c575a(_0x5738bb)),q(0x2,_0x3c575a(_0x3de855)),q(0x3,_0x3c575a(_0x1f379b)),q(0x4,_0x3c575a(_0x5698aa))],Fn);const In=_0x55c788(0x3bf),Ln=_0x1ca693[_0x55c788(0x3c9)];function Rn(_0x1bd00c,_0x47edd4){const _0x307e7f=_0x55c788;return(_0x1bd00c==null?[]:_0x1bd00c)[_0x307e7f(0x1f0)]((_0x541189,_0x4aeef4)=>{const _0x241e40=_0x307e7f;var _0x1e49a7;return _0x541189[(_0x1e49a7=_0x4aeef4[_0x241e40(0x1c2)])==null?_0x47edd4:_0x1e49a7][_0x241e40(0x3b7)](_0x4aeef4),_0x541189;},{'left':[],'right':[],'top':[],'bottom':[]});}function zn(_0x3ab8cb){const _0x306fa0=_0x55c788;return _0x3ab8cb===_0x306fa0(0x31e)||_0x3ab8cb==='tree-right'||_0x3ab8cb===_0x306fa0(0x35c);}function Bn(_0x12104a){return _0x12104a==='timeline-horizontal'||_0x12104a==='timeline-vertical';}function Vn(_0x314650,_0x3dd34b,_0x51461c){const _0x21351e=_0x55c788;return _0x51461c===_0x21351e(0x31e)?'left':_0x51461c==='tree-right'?_0x21351e(0x338):_0x314650[_0x21351e(0x1c2)]===_0x21351e(0x295)||_0x314650[_0x21351e(0x1c2)]==='right'?_0x314650[_0x21351e(0x1c2)]:_0x3dd34b%0x2==0x0?_0x21351e(0x295):'right';}function Hn(_0x2757ab,_0x4705f7){const _0x5957a1=_0x55c788;var _0xd7c1ec,_0x3044d6;return(_0xd7c1ec=(_0x3044d6=_0x4705f7==null?void 0x0:_0x4705f7['root'][_0x5957a1(0x15d)])==null?_0x2757ab:_0x3044d6)==null?[]:_0xd7c1ec;}var Un=class extends _0x52c324{constructor(_0x310d3b=In,_0x34cf19){const _0xf23338=_0x55c788;super(_0x310d3b),K(this,_0xf23338(0x35e),{'point':null,'children':[]}),this[_0xf23338(0x349)]=!0x1,this[_0xf23338(0x297)]=_0x464afb['transientPreview'],this['updateState'](_0x34cf19);}[_0x55c788(0x34f)](_0xd84b08){const _0x45ab33=_0x55c788;this[_0x45ab33(0x35e)]={...this[_0x45ab33(0x35e)],..._0xd84b08},this[_0x45ab33(0x35e)]['point']?this[_0x45ab33(0x155)]():this[_0x45ab33(0x2fb)](),this[_0x45ab33(0x3d7)](!0x0);}[_0x55c788(0x218)](_0x4337e6){return!0x1;}[_0x55c788(0x1c3)](_0x1499d4,_0x5be773){const _0x12a287=_0x55c788;var _0x4ea30d;let _0x595317=this[_0x12a287(0x35e)][_0x12a287(0x1c4)];if(!_0x595317||!this[_0x12a287(0x20f)])return this['makeDirty'](!0x1),this;let _0x366ff9=Number['isFinite'](this[_0x12a287(0x35e)][_0x12a287(0x3cc)])&&((_0x4ea30d=this[_0x12a287(0x35e)][_0x12a287(0x3cc)])==null?0x0:_0x4ea30d)>0x0?this[_0x12a287(0x35e)][_0x12a287(0x3cc)]:0x1,_0x1b1277=_0x3c97d3[_0x12a287(0x283)],_0x20989a=_0x3c97d3[_0x12a287(0x1e7)],_0x5d3043=_0x3c97d3[_0x12a287(0x380)],_0x213667=_0x3c97d3['nodeHeight'],_0x508752=_0xb4769e[_0x12a287(0x321)],_0x3e952b=_0xb4769e[_0x12a287(0x225)],_0x1f0c31=this['_state'][_0x12a287(0x32f)]==='mindmap-vertical',_0x5b909a=Rn(this['_state'][_0x12a287(0x15d)],_0x1f0c31?_0x12a287(0x373):'right'),_0x4a04a0=_0x595317['x']-_0x1b1277/0x2,_0x55e9fd=_0x595317['y']-_0x20989a/0x2;if(_0x1499d4['save'](),_0x1499d4[_0x12a287(0x137)]=X['objectAlpha'],_0x1499d4[_0x12a287(0x390)]=X[_0x12a287(0x221)]/_0x366ff9,_0x1499d4[_0x12a287(0x3aa)]=X[_0x12a287(0x3ae)],Bn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])){let _0x574724=Hn(this['_state'][_0x12a287(0x15d)],this[_0x12a287(0x35e)][_0x12a287(0x34b)]),_0x3be2ed=this['_state'][_0x12a287(0x32f)]==='timeline-horizontal';if(_0x574724[_0x12a287(0x207)]>0x0){if(_0x1499d4[_0x12a287(0x300)](),_0x3be2ed){let _0x3d335e=_0x5d3043,_0x8fae54=_0x213667,_0x558edd=_0xb4769e[_0x12a287(0x2e7)],_0x4fe55f=_0x595317['y'],_0x5ae72a=_0x4a04a0+_0x1b1277,_0x5a89a5=_0x595317['y']-_0x8fae54/0x2,_0x437af2=_0x4a04a0+_0x1b1277+_0x558edd;_0x1499d4[_0x12a287(0x2f0)](_0x5ae72a,_0x4fe55f),_0x1499d4[_0x12a287(0x2f2)](_0x437af2,_0x4fe55f),_0x574724[_0x12a287(0x123)]((_0x5bda67,_0x1ca04c)=>{const _0x5b52ec=_0x12a287;let _0x18203e=_0x437af2+_0x1ca04c*(_0x3d335e+_0x558edd);if(_0x1ca04c>0x0){let _0x290889=_0x437af2+(_0x1ca04c-0x1)*(_0x3d335e+_0x558edd)+_0x3d335e;_0x1499d4['moveTo'](_0x290889,_0x4fe55f),_0x1499d4[_0x5b52ec(0x2f2)](_0x18203e,_0x4fe55f);}_0x1499d4[_0x5b52ec(0x2f0)](_0x18203e,_0x4fe55f),_0x1499d4[_0x5b52ec(0x2f2)](_0x18203e+_0x3d335e,_0x4fe55f);}),_0x1499d4[_0x12a287(0x1b4)](),_0x574724[_0x12a287(0x123)]((_0x52aa5d,_0x2d71cc)=>{const _0x3f9490=_0x12a287;Z(_0x1499d4,_0x437af2+_0x2d71cc*(_0x3d335e+_0x558edd),_0x5a89a5,_0x3d335e,_0x8fae54,X[_0x3f9490(0x2dd)]),_0x1499d4[_0x3f9490(0x2c2)]=X[_0x3f9490(0x369)],_0x1499d4[_0x3f9490(0x234)](),_0x1499d4[_0x3f9490(0x1b4)]();}),_0x574724['forEach']((_0x1cec0c,_0x14a37d)=>{const _0xc4ed61=_0x12a287;if(!('children'in _0x1cec0c)||_0x1cec0c['children'][_0xc4ed61(0x207)]===0x0)return;let _0xcb72ec=_0x437af2+_0x14a37d*(_0x3d335e+_0x558edd),_0x741582=_0xcb72ec+_0x3d335e/0x2,_0x3c4b98=_0x1cec0c[_0xc4ed61(0x1c2)]===_0xc4ed61(0x373)?_0xc4ed61(0x373):'top',_0x244bf6=_0x1cec0c[_0xc4ed61(0x15d)][_0xc4ed61(0x1dd)](0x0,0x2),_0x3e0e90=_0x244bf6[_0xc4ed61(0x207)]*_0x8fae54+Math[_0xc4ed61(0x20a)](0x0,_0x244bf6[_0xc4ed61(0x207)]-0x1)*_0x3e952b,_0x51fb84=_0xcb72ec+_0x3d335e+_0xb4769e['branchGap'],_0x3dd4fd=_0x3c4b98==='top'?_0x5a89a5-_0x508752-_0x3e0e90:_0x5a89a5+_0x8fae54+_0x508752,_0x4ea643=_0x3dd4fd+_0x3e0e90/0x2;_0x1499d4[_0xc4ed61(0x300)](),_0x1499d4['moveTo'](_0x741582,_0x3c4b98==='top'?_0x5a89a5:_0x5a89a5+_0x8fae54),_0x1499d4[_0xc4ed61(0x2f2)](_0x741582,_0x4ea643),_0x1499d4[_0xc4ed61(0x2f2)](_0x51fb84,_0x4ea643),_0x244bf6[_0xc4ed61(0x123)]((_0x27a87f,_0x580878)=>{const _0x563e5e=_0xc4ed61;let _0x1cffc6=_0x3dd4fd+_0x580878*(_0x8fae54+_0x3e952b)+_0x8fae54/0x2;_0x1499d4[_0x563e5e(0x2f0)](_0x51fb84,_0x1cffc6),_0x1499d4[_0x563e5e(0x2f2)](_0x51fb84+_0x3d335e,_0x1cffc6);}),_0x1499d4[_0xc4ed61(0x1b4)](),_0x244bf6[_0xc4ed61(0x123)]((_0x702c3b,_0x344e2a)=>{const _0x181716=_0xc4ed61;Z(_0x1499d4,_0x51fb84,_0x3dd4fd+_0x344e2a*(_0x8fae54+_0x3e952b),_0x3d335e,_0x8fae54,X[_0x181716(0x2dd)]),_0x1499d4['fillStyle']=X[_0x181716(0x369)],_0x1499d4['fill'](),_0x1499d4[_0x181716(0x1b4)]();});});}else{let _0x4cc4bc=_0x595317['x'],_0x5ee881=_0x55e9fd+_0x20989a,_0x20e63d=_0xb4769e[_0x12a287(0x2e7)],_0x3fbada=_0x55e9fd+_0x20989a+_0x20e63d,_0x42569e=_0x3fbada+(_0x574724['length']-0x1)*(_0x213667+_0x20e63d)+_0x213667/0x2;_0x1499d4['moveTo'](_0x4cc4bc,_0x5ee881),_0x1499d4['lineTo'](_0x4cc4bc,_0x42569e),_0x574724[_0x12a287(0x123)]((_0xad259f,_0x55db03)=>{const _0x55249d=_0x12a287;let _0x3a38b8=_0x3fbada+_0x55db03*(_0x213667+_0x20e63d)+_0x213667/0x2,_0x465891=_0xad259f[_0x55249d(0x1c2)]===_0x55249d(0x338)?_0x55249d(0x338):_0x55249d(0x295),_0x426ac7=_0x465891===_0x55249d(0x338)?_0x4cc4bc+_0xb4769e[_0x55249d(0x26d)]:_0x4cc4bc-_0xb4769e[_0x55249d(0x26d)]-_0x5d3043,_0x37d54e=_0x465891===_0x55249d(0x338)?_0x426ac7:_0x426ac7+_0x5d3043;_0x1499d4[_0x55249d(0x2f0)](_0x4cc4bc,_0x3a38b8),_0x1499d4[_0x55249d(0x2f2)](_0x37d54e,_0x3a38b8);}),_0x1499d4['stroke'](),_0x574724[_0x12a287(0x123)]((_0x3a7c26,_0x6f29b)=>{const _0xe17844=_0x12a287;let _0xfedfac=_0x3fbada+_0x6f29b*(_0x213667+_0x20e63d);Z(_0x1499d4,(_0x3a7c26[_0xe17844(0x1c2)]===_0xe17844(0x338)?_0xe17844(0x338):'left')==_0xe17844(0x338)?_0x4cc4bc+_0xb4769e[_0xe17844(0x26d)]:_0x4cc4bc-_0xb4769e[_0xe17844(0x26d)]-_0x5d3043,_0xfedfac,_0x5d3043,_0x213667,X[_0xe17844(0x2dd)]),_0x1499d4[_0xe17844(0x2c2)]=X['ghostFillColor'],_0x1499d4[_0xe17844(0x234)](),_0x1499d4[_0xe17844(0x1b4)]();}),_0x574724[_0x12a287(0x123)]((_0x47e175,_0x1178a5)=>{const _0x450c1c=_0x12a287;if(!(_0x450c1c(0x15d)in _0x47e175)||_0x47e175[_0x450c1c(0x15d)][_0x450c1c(0x207)]===0x0)return;let _0x544d92=_0x3fbada+_0x1178a5*(_0x213667+_0x20e63d)+_0x213667/0x2,_0x3e091c=_0x47e175['side']===_0x450c1c(0x338)?_0x450c1c(0x338):'left',_0x564fef=_0x47e175[_0x450c1c(0x15d)][_0x450c1c(0x1dd)](0x0,0x2),_0x5008d1=_0x564fef[_0x450c1c(0x207)]*_0x213667+Math[_0x450c1c(0x20a)](0x0,_0x564fef[_0x450c1c(0x207)]-0x1)*_0x3e952b,_0x2c7c09=_0x3e091c==='right'?_0x4cc4bc+_0xb4769e[_0x450c1c(0x26d)]:_0x4cc4bc-_0xb4769e[_0x450c1c(0x26d)]-_0x5d3043,_0x146e60=_0x3e091c==='right'?_0x2c7c09+_0x5d3043+_0x508752:_0x2c7c09-_0x508752-_0x5d3043,_0x35da0a=_0x544d92-_0x5008d1/0x2,_0xf0e8b2=_0x3e091c===_0x450c1c(0x338)?_0x2c7c09+_0x5d3043:_0x2c7c09,_0x1303cc=_0x3e091c===_0x450c1c(0x338)?_0x146e60:_0x146e60+_0x5d3043;_0x1499d4[_0x450c1c(0x300)](),_0x1499d4[_0x450c1c(0x2f0)](_0xf0e8b2,_0x544d92),_0x1499d4[_0x450c1c(0x2f2)](_0x1303cc,_0x544d92),_0x564fef[_0x450c1c(0x123)]((_0x8c0c15,_0x578312)=>{const _0x4a0d60=_0x450c1c;let _0x5dbb3f=_0x35da0a+_0x578312*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x4a0d60(0x2f0)](_0x1303cc,_0x5dbb3f),_0x1499d4[_0x4a0d60(0x2f2)](_0x3e091c===_0x4a0d60(0x338)?_0x146e60+_0x5d3043:_0x146e60,_0x5dbb3f);}),_0x1499d4[_0x450c1c(0x1b4)](),_0x564fef[_0x450c1c(0x123)]((_0x35b2b3,_0x1159db)=>{const _0x75b871=_0x450c1c;Z(_0x1499d4,_0x146e60,_0x35da0a+_0x1159db*(_0x213667+_0x3e952b),_0x5d3043,_0x213667,X[_0x75b871(0x2dd)]),_0x1499d4[_0x75b871(0x2c2)]=X['ghostFillColor'],_0x1499d4[_0x75b871(0x234)](),_0x1499d4[_0x75b871(0x1b4)]();});});}}}else{if(zn(this['_state'][_0x12a287(0x32f)])){var _0x1f28ac;let _0x1d49e2=(_0x1f28ac=this[_0x12a287(0x35e)]['children'])==null?[]:_0x1f28ac,_0x48c03a=_0x55e9fd+_0x20989a,_0x3c209c=_0x48c03a+_0x508752,_0x2ce6bd=_0x595317['x'];if(_0x1d49e2['length']>0x0){let _0x2cbb52=_0x3c209c+(_0x1d49e2[_0x12a287(0x207)]-0x1)*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x12a287(0x300)](),_0x1499d4[_0x12a287(0x2f0)](_0x2ce6bd,_0x48c03a),_0x1499d4[_0x12a287(0x2f2)](_0x2ce6bd,_0x2cbb52),_0x1d49e2[_0x12a287(0x123)]((_0x152dcf,_0x13d6d9)=>{const _0x27a23c=_0x12a287;let _0x269206=Vn(_0x152dcf,_0x13d6d9,this[_0x27a23c(0x35e)]['structureKind']),_0x25660c=_0x3c209c+_0x13d6d9*(_0x213667+_0x3e952b),_0x473793=_0x269206===_0x27a23c(0x338)?_0x2ce6bd+_0x508752:_0x2ce6bd-_0x508752-_0x5d3043,_0x27d428=_0x25660c+_0x213667/0x2;_0x1499d4['moveTo'](_0x2ce6bd,_0x27d428),_0x1499d4['lineTo'](_0x269206==='right'?_0x473793:_0x473793+_0x5d3043,_0x27d428);}),_0x1499d4['stroke'](),_0x1d49e2['forEach']((_0x1d14a4,_0x812b6d)=>{const _0x2f72e0=_0x12a287;let _0x363be7=Vn(_0x1d14a4,_0x812b6d,this[_0x2f72e0(0x35e)]['structureKind']),_0x55c613=_0x3c209c+_0x812b6d*(_0x213667+_0x3e952b);Z(_0x1499d4,_0x363be7===_0x2f72e0(0x338)?_0x2ce6bd+_0x508752:_0x2ce6bd-_0x508752-_0x5d3043,_0x55c613,_0x5d3043,_0x213667,X['ghostRadius']),_0x1499d4['fillStyle']=X[_0x2f72e0(0x369)],_0x1499d4[_0x2f72e0(0x234)](),_0x1499d4[_0x2f72e0(0x1b4)]();});}}else _0x1f0c31&&['top',_0x12a287(0x373)]['forEach'](_0x47c947=>{const _0x4d3463=_0x12a287;let _0x3c04c0=_0x5b909a[_0x47c947];if(_0x3c04c0[_0x4d3463(0x207)]===0x0)return;let _0x598cc2=_0x3c04c0[_0x4d3463(0x207)]*_0x5d3043+Math[_0x4d3463(0x20a)](0x0,_0x3c04c0['length']-0x1)*_0x3e952b,_0x2d4896=_0x595317['x']-_0x598cc2/0x2,_0x54ce38=_0x47c947===_0x4d3463(0x373)?_0x55e9fd+_0x20989a:_0x55e9fd,_0x343145=_0x47c947===_0x4d3463(0x373)?_0x54ce38+_0xb4769e[_0x4d3463(0x26d)]:_0x54ce38-_0xb4769e['branchGap'],_0x2941e5=_0x47c947===_0x4d3463(0x373)?_0x55e9fd+_0x20989a+_0x508752:_0x55e9fd-_0x508752-_0x213667;_0x1499d4[_0x4d3463(0x300)](),_0x1499d4['moveTo'](_0x595317['x'],_0x54ce38),_0x1499d4[_0x4d3463(0x2f2)](_0x595317['x'],_0x343145),_0x3c04c0[_0x4d3463(0x207)]>0x1&&(_0x1499d4[_0x4d3463(0x2f0)](_0x2d4896+_0x5d3043/0x2,_0x343145),_0x1499d4['lineTo'](_0x2d4896+_0x598cc2-_0x5d3043/0x2,_0x343145)),_0x3c04c0[_0x4d3463(0x123)]((_0x566c23,_0x38f394)=>{const _0x116c59=_0x4d3463;let _0x36f2f2=_0x2d4896+_0x38f394*(_0x5d3043+_0x3e952b)+_0x5d3043/0x2;_0x1499d4[_0x116c59(0x2f0)](_0x36f2f2,_0x343145),_0x1499d4[_0x116c59(0x2f2)](_0x36f2f2,_0x47c947===_0x116c59(0x373)?_0x2941e5:_0x2941e5+_0x213667);}),_0x1499d4[_0x4d3463(0x1b4)](),_0x3c04c0['forEach']((_0x26cff3,_0x556f78)=>{const _0x9a77a9=_0x4d3463;Z(_0x1499d4,_0x2d4896+_0x556f78*(_0x5d3043+_0x3e952b),_0x2941e5,_0x5d3043,_0x213667,X[_0x9a77a9(0x2dd)]),_0x1499d4[_0x9a77a9(0x2c2)]=X[_0x9a77a9(0x369)],_0x1499d4[_0x9a77a9(0x234)](),_0x1499d4['stroke']();});});}(_0x1f0c31||zn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])||Bn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])?[]:[_0x12a287(0x295),_0x12a287(0x338)])[_0x12a287(0x123)](_0x328466=>{const _0x1cb83f=_0x12a287;let _0x27b1ff=_0x5b909a[_0x328466];if(_0x27b1ff[_0x1cb83f(0x207)]===0x0)return;let _0x5c9afc=_0x27b1ff[_0x1cb83f(0x207)]*_0x213667+Math['max'](0x0,_0x27b1ff[_0x1cb83f(0x207)]-0x1)*_0x3e952b,_0x29000e=_0x595317['y']-_0x5c9afc/0x2,_0x4982ae=_0x328466===_0x1cb83f(0x338)?_0x4a04a0+_0x1b1277:_0x4a04a0,_0x1d2c6a=_0x328466===_0x1cb83f(0x338)?_0x4982ae+_0xb4769e[_0x1cb83f(0x26d)]:_0x4982ae-_0xb4769e['branchGap'],_0x26b7d9=_0x328466===_0x1cb83f(0x338)?_0x4a04a0+_0x1b1277+_0x508752:_0x4a04a0-_0x508752-_0x5d3043;_0x1499d4['beginPath'](),_0x1499d4['moveTo'](_0x4982ae,_0x595317['y']),_0x1499d4[_0x1cb83f(0x2f2)](_0x1d2c6a,_0x595317['y']),_0x27b1ff['length']>0x1&&(_0x1499d4['moveTo'](_0x1d2c6a,_0x29000e+_0x213667/0x2),_0x1499d4['lineTo'](_0x1d2c6a,_0x29000e+_0x5c9afc-_0x213667/0x2)),_0x27b1ff['forEach']((_0x2c0119,_0x59a6f0)=>{const _0x3dad89=_0x1cb83f;let _0x2f4d8a=_0x29000e+_0x59a6f0*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x3dad89(0x2f0)](_0x1d2c6a,_0x2f4d8a),_0x1499d4[_0x3dad89(0x2f2)](_0x328466===_0x3dad89(0x338)?_0x26b7d9:_0x26b7d9+_0x5d3043,_0x2f4d8a);}),_0x1499d4[_0x1cb83f(0x1b4)](),_0x27b1ff[_0x1cb83f(0x123)]((_0x280a1a,_0x3ba733)=>{const _0x521fde=_0x1cb83f;Z(_0x1499d4,_0x26b7d9,_0x29000e+_0x3ba733*(_0x213667+_0x3e952b),_0x5d3043,_0x213667,X[_0x521fde(0x2dd)]),_0x1499d4[_0x521fde(0x2c2)]=X[_0x521fde(0x369)],_0x1499d4['fill'](),_0x1499d4[_0x521fde(0x1b4)]();});}),Z(_0x1499d4,_0x4a04a0,_0x55e9fd,_0x1b1277,_0x20989a,X[_0x12a287(0x3be)]),_0x1499d4[_0x12a287(0x2c2)]=X[_0x12a287(0x3ae)],_0x1499d4[_0x12a287(0x234)](),_0x1499d4[_0x12a287(0x1b4)](),_0x1499d4['fillStyle']=X[_0x12a287(0x38f)],_0x1499d4['font']=Pt(X[_0x12a287(0x306)],X[_0x12a287(0x148)],_0x366ff9),_0x1499d4['textAlign']=_0x12a287(0x173),_0x1499d4[_0x12a287(0x1ba)]=_0x12a287(0x1cc);let _0x5ca618=X['textPaddingScreen']/_0x366ff9;return _0x1499d4['fillText'](_0x3d4bdb,_0x595317['x'],_0x595317['y'],Math[_0x12a287(0x20a)](0x1,_0x1b1277-_0x5ca618*0x2)),_0x1499d4['restore'](),this['makeDirty'](!0x1),this;}};const Wn={'children':[{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x0),'side':_0x55c788(0x338)},{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x1),'side':'right'},{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x2),'side':_0x55c788(0x338)}]};var Gn=class extends _0x4ac1ec{constructor(..._0x3676ad){const _0x357f72=_0x55c788;super(..._0x3676ad),K(this,_0x357f72(0x175),Wn);}[_0x55c788(0x1fc)](_0x2699cf){const _0x3a370b=_0x55c788;var _0x11493f,_0x80a057;let _0x5929a8=(_0x11493f=_0x2699cf==null?void 0x0:_0x2699cf['children'])==null?_0x2699cf==null||(_0x80a057=_0x2699cf[_0x3a370b(0x34b)])==null?void 0x0:_0x80a057['root'][_0x3a370b(0x15d)]:_0x11493f;this[_0x3a370b(0x175)]={'rootText':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x16e)],'structureKind':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x32f)],'branchLineType':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x159)],'children':this[_0x3a370b(0x1d8)](_0x5929a8,_0x2699cf==null?void 0x0:_0x2699cf['structureKind']),'blueprint':_0x2699cf!=null&&_0x2699cf[_0x3a370b(0x34b)]?this[_0x3a370b(0x32a)](_0x2699cf['blueprint']):void 0x0};}[_0x55c788(0x23d)](){const _0x4c3bd0=_0x55c788;var _0x551d53;return{'rootText':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x16e)],'structureKind':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x32f)],'branchLineType':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x159)],'children':(_0x551d53=this[_0x4c3bd0(0x175)][_0x4c3bd0(0x15d)])==null?void 0x0:_0x551d53['map'](_0x41103c=>({..._0x41103c})),'blueprint':this['_template'][_0x4c3bd0(0x34b)]?this[_0x4c3bd0(0x32a)](this['_template'][_0x4c3bd0(0x34b)]):void 0x0};}[_0x55c788(0x32a)](_0x1beaa6){const _0x3b071e=_0x55c788;return{'title':_0x1beaa6[_0x3b071e(0x34e)],'root':this[_0x3b071e(0x3b3)](_0x1beaa6[_0x3b071e(0x3a8)])};}['_cloneBlueprintNode'](_0x24a605){const _0x1f1050=_0x55c788;return{..._0x24a605,'foreignAttributes':_0x24a605[_0x1f1050(0x399)]?{..._0x24a605[_0x1f1050(0x399)]}:void 0x0,'children':_0x24a605[_0x1f1050(0x15d)]['map'](_0x16e6a8=>this['_cloneBlueprintNode'](_0x16e6a8))};}[_0x55c788(0x1d8)](_0x56e367,_0x4b1da3){const _0x100880=_0x55c788;let _0x5936cf=!_0x56e367,_0x7ffd9e=_0x56e367==null?Wn[_0x100880(0x15d)]:_0x56e367;return _0x7ffd9e==null?void 0x0:_0x7ffd9e[_0x100880(0x1f6)]((_0x11aed6,_0x19365f)=>{const _0x45e2ee=_0x100880;var _0x12e5ff;return{..._0x11aed6,'text':(_0x12e5ff=_0x11aed6[_0x45e2ee(0x309)])==null?_0x3d4bdb:_0x12e5ff,'side':this[_0x45e2ee(0x15b)](_0x11aed6['side'],_0x19365f,_0x4b1da3,_0x5936cf)};});}[_0x55c788(0x15b)](_0x2bc612,_0x2b5ab6,_0x4edb2d,_0x545291){const _0xf64865=_0x55c788;return _0x4edb2d==='mindmap-vertical'?_0x545291||_0x2bc612==null?_0xf64865(0x373):_0x2bc612:_0x4edb2d===_0xf64865(0x31e)?_0x545291||_0x2bc612==null?_0xf64865(0x295):_0x2bc612:_0x4edb2d==='tree-right'?_0x545291||_0x2bc612==null?_0xf64865(0x338):_0x2bc612:_0x4edb2d===_0xf64865(0x35c)?_0x545291||_0x2bc612==null?_0x2b5ab6%0x2==0x0?_0xf64865(0x295):'right':_0x2bc612:_0x4edb2d===_0xf64865(0x232)?_0x545291||_0x2bc612==null?_0x2b5ab6%0x2==0x0?_0xf64865(0x180):_0xf64865(0x373):_0x2bc612:_0x4edb2d===_0xf64865(0x33a)&&(_0x545291||_0x2bc612==null)?_0x2b5ab6%0x2==0x0?'left':'right':_0x2bc612;}};function Kn(_0x3c3cf4,_0x20cd5f){const _0x2a4234=_0x55c788;let _0x3bdc58=Number[_0x2a4234(0x273)](_0x20cd5f[_0x2a4234(0x3cc)])&&_0x20cd5f['zoomRatio']>0x0?_0x20cd5f[_0x2a4234(0x3cc)]:0x1;return{'x':Math['round']((_0x3c3cf4['offsetX']-_0x20cd5f[_0x2a4234(0x2cf)]['x'])/_0x3bdc58),'y':Math['round']((_0x3c3cf4[_0x2a4234(0x368)]-_0x20cd5f['panOffset']['y'])/_0x3bdc58)};}function qn(_0x13f06a){const _0x3f146f=_0x55c788;var _0xa17a72;if(_0x13f06a!=null&&_0x13f06a[_0x3f146f(0x3c5)]){_0x13f06a[_0x3f146f(0x3c5)]();return;}_0x13f06a==null||(_0xa17a72=_0x13f06a[_0x3f146f(0x236)])==null||_0xa17a72[_0x3f146f(0x222)](_0x13f06a);}function Jn(_0x489381){const _0x26340f=_0x55c788;var _0x4c3adc;return _0x489381[_0x26340f(0x262)]===_0x448177[_0x26340f(0x288)]&&((_0x4c3adc=_0x489381[_0x26340f(0x29e)])==null?void 0x0:_0x4c3adc[_0x26340f(0x12a)])===_0x448177['MindMap'];}let Yn=class extends _0x4c4ffe{constructor(_0x3aaaae,_0x19e335,_0x5c7ce1,_0xd132fa,_0x1192c4,_0x2c01c8,_0x59a681){const _0x3f87e4=_0x55c788;super(),this[_0x3f87e4(0x16f)]=_0x3aaaae,this[_0x3f87e4(0x1fa)]=_0x19e335,this[_0x3f87e4(0x1d6)]=_0x5c7ce1,this['_commandService']=_0xd132fa,this[_0x3f87e4(0x25f)]=_0x1192c4,this[_0x3f87e4(0x239)]=_0x2c01c8,this[_0x3f87e4(0x3a4)]=_0x59a681,K(this,'_previewObject',null),K(this,_0x3f87e4(0x328),null),this[_0x3f87e4(0x25a)]();}[_0x55c788(0x25a)](){const _0x2ee549=_0x55c788;var _0x3c9277;let {scene:_0x2066d7,unitId:_0x19e9f0}=this[_0x2ee549(0x16f)],_0x5c11be=this[_0x2ee549(0x1fa)][_0x2ee549(0x161)](_0x19e9f0,_0x42e936['UNIVER_BOARD']);if(!_0x5c11be)return;let _0x475fc5=(_0x3c9277=_0x2066d7[_0x2ee549(0x27c)])==null?void 0x0:_0x3c9277['subscribeEvent']((_0x11b5dd,_0x49d473)=>{this['_handlePointerMove'](_0x11b5dd,_0x49d473);}),_0x59bc8e=_0x2066d7[_0x2ee549(0x14a)][_0x2ee549(0x1ed)]((_0x5d099b,_0x2fd06e)=>{const _0x30f099=_0x2ee549;this[_0x30f099(0x393)](_0x5c11be,_0x5d099b,_0x2fd06e);});this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x475fc5))),this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x59bc8e)));let _0x58d8e0=this[_0x2ee549(0x1d6)]['state$'][_0x2ee549(0x304)](()=>{const _0x24ad54=_0x2ee549;this[_0x24ad54(0x162)](),this[_0x24ad54(0x339)]();});this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x58d8e0))),this['disposeWithMe'](_0x1e5fe4(()=>{const _0x3e4e6e=_0x2ee549;_0x2066d7[_0x3e4e6e(0x25e)](),this['_removePreviewObject']();})),this[_0x2ee549(0x162)](),this[_0x2ee549(0x339)]();}[_0x55c788(0x162)](){const _0x3e4a34=_0x55c788;Jn(this[_0x3e4a34(0x1d6)][_0x3e4a34(0x3d8)]())?this['_renderContext'][_0x3e4a34(0x3d4)]['disableObjectsEvent']():this['_renderContext'][_0x3e4a34(0x3d4)][_0x3e4a34(0x25e)]();}[_0x55c788(0x339)](){const _0x534b0e=_0x55c788;var _0x411018,_0x2f637c;let _0x377e2a=this[_0x534b0e(0x1d6)][_0x534b0e(0x3d8)]();if(!Jn(_0x377e2a)){this[_0x534b0e(0x2c1)]();return;}let _0x42d4dd=this[_0x534b0e(0x25b)](),_0x4c241c=this[_0x534b0e(0x25f)][_0x534b0e(0x23d)]();_0x42d4dd['updateState']({'point':this['_lastPoint'],'structureKind':_0x4c241c[_0x534b0e(0x32f)],'children':_0x4c241c[_0x534b0e(0x15d)],'blueprint':_0x4c241c[_0x534b0e(0x34b)],'zoomRatio':_0x377e2a['zoomRatio']}),(_0x411018=(_0x2f637c=this[_0x534b0e(0x16f)][_0x534b0e(0x3d4)])[_0x534b0e(0x3d7)])==null||_0x411018[_0x534b0e(0x222)](_0x2f637c,!0x0);}['_ensurePreviewObject'](){const _0x265548=_0x55c788;var _0x46b594,_0x3ea8e3;if(this['_previewObject'])return this[_0x265548(0x38e)];let _0x34261c=this[_0x265548(0x25f)][_0x265548(0x23d)](),_0x3ff8f8=new Un(In,{'point':this[_0x265548(0x328)],'structureKind':_0x34261c[_0x265548(0x32f)],'children':_0x34261c[_0x265548(0x15d)],'blueprint':_0x34261c[_0x265548(0x34b)],'zoomRatio':this[_0x265548(0x1d6)][_0x265548(0x3d8)]()['zoomRatio']});return this['_previewObject']=_0x3ff8f8,(_0x46b594=(_0x3ea8e3=this[_0x265548(0x16f)][_0x265548(0x3d4)])[_0x265548(0x13f)])==null||_0x46b594[_0x265548(0x222)](_0x3ea8e3,_0x3ff8f8,Ln),_0x3ff8f8;}[_0x55c788(0x2c1)](){const _0xe74c7=_0x55c788;var _0x6f7a83,_0x782a18,_0x19ca71,_0x5cc00b;if(!this[_0xe74c7(0x38e)]){this[_0xe74c7(0x328)]=null;return;}(_0x6f7a83=(_0x782a18=this['_renderContext'][_0xe74c7(0x3d4)])[_0xe74c7(0x247)])==null||_0x6f7a83[_0xe74c7(0x222)](_0x782a18,[this[_0xe74c7(0x38e)]]),this[_0xe74c7(0x38e)]=null,this[_0xe74c7(0x328)]=null,(_0x19ca71=(_0x5cc00b=this[_0xe74c7(0x16f)][_0xe74c7(0x3d4)])[_0xe74c7(0x3d7)])==null||_0x19ca71[_0xe74c7(0x222)](_0x5cc00b,!0x0);}['_getPointFromEvent'](_0x245eb3){const _0x4cb926=_0x55c788;let _0xabf2f7=this[_0x4cb926(0x1d6)][_0x4cb926(0x3d8)]();return Kn(_0x245eb3,{'panOffset':_0xabf2f7[_0x4cb926(0x318)],'zoomRatio':_0xabf2f7[_0x4cb926(0x3cc)]});}[_0x55c788(0x3bd)](_0x1ff866){const _0x3ff27a=_0x55c788;return{'left':Math['round'](_0x1ff866['x']-_0x3c97d3['rootWidth']/0x2),'top':Math[_0x3ff27a(0x31c)](_0x1ff866['y']-_0x3c97d3['rootHeight']/0x2)};}[_0x55c788(0x2a5)](_0x78ecb5,_0x20e2bc){const _0xba9cf=_0x55c788;Jn(this['_stateService'][_0xba9cf(0x3d8)]())&&(this[_0xba9cf(0x328)]=this[_0xba9cf(0x31f)](_0x78ecb5),this[_0xba9cf(0x339)](),_0x20e2bc[_0xba9cf(0x2d4)]());}[_0x55c788(0x393)](_0x5d40c7,_0x14a3dd,_0x36e8f6){const _0x10a17c=_0x55c788;var _0x3d9a6b,_0x17b540;let _0x1145d1=this[_0x10a17c(0x1d6)][_0x10a17c(0x3d8)](),_0x3bb19f=(_0x3d9a6b=_0x14a3dd['button'])==null?0x0:_0x3d9a6b;if(!Jn(_0x1145d1)||_0x3bb19f!==0x0)return;let _0xa10f9d=this[_0x10a17c(0x31f)](_0x14a3dd),_0x5ba938=this[_0x10a17c(0x3bd)](_0xa10f9d),_0x24cee5=this[_0x10a17c(0x25f)][_0x10a17c(0x23d)](),_0x17265d=_0x31e651(0x6),_0x73afd6=_0x5d40c7[_0x10a17c(0x290)](),_0xda9d61=this[_0x10a17c(0x22a)][_0x10a17c(0x12e)](_0x5ea1c3['id'],{'unitId':this['_renderContext'][_0x10a17c(0x3d3)],'subUnitId':_0x73afd6,'left':_0x5ba938[_0x10a17c(0x295)],'top':_0x5ba938[_0x10a17c(0x180)],'rootNodeId':_0x17265d,'rootText':_0x24cee5['rootText'],'structureKind':_0x24cee5[_0x10a17c(0x32f)],'branchLineType':_0x24cee5['branchLineType'],'children':_0x24cee5[_0x10a17c(0x15d)],'blueprint':_0x24cee5[_0x10a17c(0x34b)]});Promise['resolve'](_0xda9d61)[_0x10a17c(0x2e2)](_0xb4abd2=>{const _0x534d37=_0x10a17c;if(!_0xb4abd2)return;let _0x2e4d44={'unitId':this[_0x534d37(0x16f)]['unitId'],'subUnitId':_0x73afd6};this[_0x534d37(0x239)][_0x534d37(0x379)](_0x2e4d44,[_0x17265d],_0x17265d),this[_0x534d37(0x3a4)][_0x534d37(0x1ec)](),this[_0x534d37(0x3a4)][_0x534d37(0x348)]({..._0x2e4d44,'shapeId':_0x17265d,'shapeKey':_0x4f1902(_0x2e4d44[_0x534d37(0x3d3)],_0x17265d),'visible':!0x0});}),this[_0x10a17c(0x1d6)][_0x10a17c(0x3c6)](_0x448177[_0x10a17c(0x35a)]),_0x36e8f6[_0x10a17c(0x2d4)](),(_0x17b540=_0x14a3dd['preventDefault'])==null||_0x17b540[_0x10a17c(0x222)](_0x14a3dd);}};Yn=J([q(0x1,_0x544c85),q(0x2,_0x45d666),q(0x3,_0x4a7b53),q(0x4,_0x3c575a(Gn)),q(0x5,_0x1f379b),q(0x6,_0x3c575a(_0x5698aa))],Yn);var Xn=class extends _0x4ac1ec{constructor(..._0x3b7af7){const _0x234615=_0x55c788;super(..._0x3b7af7),K(this,_0x234615(0x2f3),new _0x5b274b()),K(this,'refresh$',this[_0x234615(0x2f3)]['asObservable']());}[_0x55c788(0x168)](_0x182978){const _0x5d2074=_0x55c788;this['_refresh$'][_0x5d2074(0x26f)](_0x182978);}[_0x55c788(0x3c5)](){const _0xc68095=_0x55c788;this[_0xc68095(0x2f3)][_0xc68095(0x3cf)](),super[_0xc68095(0x3c5)]();}};function Zn(_0x1db088){const _0x4d9e0d=_0x55c788;return typeof _0x1db088=='number'&&Number[_0x4d9e0d(0x273)](_0x1db088)&&_0x1db088>0x0;}function Qn(_0x5ca610,_0x17b804,_0x892f23){const _0x37e13d=_0x55c788;var _0x3d58ab;let _0xa89fc=_0x5ca610[_0x17b804],_0x3c862a=_0x4784a6(_0xa89fc==null?void 0x0:_0xa89fc[_0x37e13d(0x2ca)]);if(!_0xa89fc||!_0x3c862a)return null;let _0x18e671=_0xe83027(_0xa89fc,_0x892f23);if(!_0x18e671)return null;let _0x589fe8=(_0x3d58ab=_0xa89fc[_0x37e13d(0x226)])==null?_0xa89fc[_0x37e13d(0x2ca)][_0x37e13d(0x226)]:_0x3d58ab;return _0x5b081d({..._0x5ca610,[_0x17b804]:{..._0xa89fc,'transform':{..._0x589fe8,'width':_0x18e671['width'],'height':_0x18e671['height']},'element':{..._0xa89fc[_0x37e13d(0x2ca)],'transform':{..._0xa89fc['element'][_0x37e13d(0x226)],'width':_0x18e671[_0x37e13d(0x24f)],'height':_0x18e671['height']}}}},_0x3c862a[_0x37e13d(0x272)]);}let $n=class extends _0x4c4ffe{constructor(_0x1dbd60,_0x4d7327,_0x117680,_0x20846d,_0x2abab0){const _0x1ae6ed=_0x55c788;super(),this[_0x1ae6ed(0x16f)]=_0x1dbd60,this[_0x1ae6ed(0x353)]=_0x4d7327,this['_boardElementService']=_0x117680,this[_0x1ae6ed(0x320)]=_0x20846d,this['_previewRefreshService']=_0x2abab0,K(this,_0x1ae6ed(0x25d),null),K(this,_0x1ae6ed(0x2a9),{'match':_0x1f0275=>_0x1f0275[_0x1ae6ed(0x3d3)]===this['_renderContext'][_0x1ae6ed(0x3d3)]&&!!_0x4784a6(_0x1f0275[_0x1ae6ed(0x2ca)]),'resolveHostSize':_0x84e131=>this['_resolveHostSize'](_0x84e131),'previewHostSize':_0x43dc4b=>this[_0x1ae6ed(0x23e)](_0x43dc4b),'updateHostSize':_0x4029cd=>this[_0x1ae6ed(0x1b3)](_0x4029cd)}),this[_0x1ae6ed(0x367)](this[_0x1ae6ed(0x353)][_0x1ae6ed(0x187)](this[_0x1ae6ed(0x2a9)])),this[_0x1ae6ed(0x2df)](),this['disposeWithMe'](_0x1e5fe4(()=>this['_restoreActivePreview']()));}['_updateHostSize'](_0x2522a7){const _0x409065=_0x55c788;return this[_0x409065(0x23e)](_0x2522a7);}[_0x55c788(0x23e)](_0x20a340){const _0x4df5f2=_0x55c788;var _0xbb28bb;let _0xa3f224=this[_0x4df5f2(0x2a1)](_0x20a340);if(!_0xa3f224)return!0x1;let _0x4526fb=(_0xbb28bb=_0x20a340[_0x4df5f2(0x365)][_0x4df5f2(0x226)])==null?_0x20a340[_0x4df5f2(0x365)][_0x4df5f2(0x2ca)][_0x4df5f2(0x226)]:_0xbb28bb;return!this[_0x4df5f2(0x25d)]&&_0x4526fb['width']===_0xa3f224[_0x4df5f2(0x24f)]&&_0x4526fb['height']===_0xa3f224[_0x4df5f2(0x243)]||this[_0x4df5f2(0x20c)](_0x20a340,_0xa3f224),!0x0;}[_0x55c788(0x2a1)](_0x709890){const _0x2b1695=_0x55c788;return!Zn(_0x709890[_0x2b1695(0x195)][_0x2b1695(0x24f)])||!Zn(_0x709890['params'][_0x2b1695(0x243)])?null:_0xe83027(_0x709890['elementData'],{'width':_0x709890[_0x2b1695(0x195)][_0x2b1695(0x24f)],'height':_0x709890[_0x2b1695(0x195)][_0x2b1695(0x243)]});}[_0x55c788(0x2df)](){const _0x31aa30=_0x55c788;this['disposeWithMe'](_0x1e5fe4(this[_0x31aa30(0x320)][_0x31aa30(0x326)]['pipe'](_0x38681d(this[_0x31aa30(0x2bd)]))[_0x31aa30(0x304)](_0x48d166=>{_0x48d166||this['_restoreActivePreview']();})));}[_0x55c788(0x20c)](_0x33d164,_0x421e93){const _0x5282f3=_0x55c788;var _0x599bb5;let _0x40172d=this[_0x5282f3(0x334)][_0x5282f3(0x16c)](_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x3d3)],_0x33d164['params'][_0x5282f3(0x346)]),_0x95420f=Qn(_0x40172d,_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)],_0x421e93),_0x37e96d=_0x4784a6((_0x599bb5=_0x40172d[_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)]])==null?void 0x0:_0x599bb5[_0x5282f3(0x2ca)]);!_0x95420f||!_0x37e96d||(this[_0x5282f3(0x25d)]={'unitId':_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x3d3)],'subUnitId':_0x33d164['params'][_0x5282f3(0x346)],'scopeId':_0x37e96d['structureScopeId']},this[_0x5282f3(0x356)](_0x95420f,_0x37e96d[_0x5282f3(0x272)])&&this['_previewRefreshService'][_0x5282f3(0x168)]({'unitId':_0x33d164[_0x5282f3(0x195)]['unitId'],'subUnitId':_0x33d164['params']['subUnitId'],'nodeId':_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)],'scopeId':_0x37e96d[_0x5282f3(0x272)]}));}[_0x55c788(0x22c)](){const _0x2a4156=_0x55c788;let _0x2496e7=this['_activePreview'];if(!_0x2496e7)return;this['_activePreview']=null;let _0x51eae7=this['_boardElementService'][_0x2a4156(0x16c)](_0x2496e7[_0x2a4156(0x3d3)],_0x2496e7['subUnitId']);this['_syncElementDataToScene'](_0x51eae7,_0x2496e7[_0x2a4156(0x191)])&&this[_0x2a4156(0x323)][_0x2a4156(0x168)]({'unitId':_0x2496e7[_0x2a4156(0x3d3)],'subUnitId':_0x2496e7[_0x2a4156(0x346)],'nodeId':_0x2496e7['scopeId'],'scopeId':_0x2496e7[_0x2a4156(0x191)]});}[_0x55c788(0x356)](_0xaffe0c,_0x5bae10){const _0x191727=_0x55c788;let _0x330618=!0x1;if(Object[_0x191727(0x1e2)](_0xaffe0c)['forEach'](_0x467108=>{const _0x54980e=_0x191727;var _0x4831fa;let _0x2a089f=_0x4784a6(_0x467108['element']),_0x44eec1=(_0x4831fa=_0x467108['element']['custom'])==null?void 0x0:_0x4831fa[_0x54980e(0x214)];if(!(_0x467108[_0x54980e(0x18a)]===_0x5bae10||(_0x2a089f==null?void 0x0:_0x2a089f[_0x54980e(0x272)])===_0x5bae10||(_0x44eec1==null?void 0x0:_0x44eec1[_0x54980e(0x272)])===_0x5bae10))return;let _0x4f630b=this['_getSceneObject'](_0x467108[_0x54980e(0x18a)]);_0x4f630b&&(_0x330618=_0x2d3199(_0x4f630b,_0x467108,{'elementData':_0xaffe0c,'unitId':this[_0x54980e(0x16f)][_0x54980e(0x3d3)]})||_0x330618);}),_0x330618){var _0x4c8dce,_0x1169a4;this[_0x191727(0x16f)][_0x191727(0x3d4)][_0x191727(0x3d7)](!0x0),(_0x4c8dce=(_0x1169a4=this[_0x191727(0x16f)]['scene'])['requestRender'])==null||_0x4c8dce['call'](_0x1169a4);}return _0x330618;}[_0x55c788(0x396)](_0x58b2ef){const _0x15b595=_0x55c788;var _0x159017,_0x4282e1,_0x1c7ae3;let _0x323c50=_0x4f1902(this[_0x15b595(0x16f)][_0x15b595(0x3d3)],_0x58b2ef),_0xcba0ec=this[_0x15b595(0x16f)]['scene'];return(_0x159017=(_0x4282e1=(_0x1c7ae3=_0xcba0ec[_0x15b595(0x1a7)])==null?void 0x0:_0x1c7ae3[_0x15b595(0x222)](_0xcba0ec,_0x323c50))==null?this[_0x15b595(0x16f)]['scene'][_0x15b595(0x33c)](_0x323c50):_0x4282e1)==null?null:_0x159017;}};$n=J([q(0x1,_0x3c575a(_0x53968d)),q(0x2,_0x3c575a(_0x3de855)),q(0x3,_0x3c575a(_0x5698aa)),q(0x4,_0x3c575a(Xn))],$n);const $={'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x55c788(0x3ae)],'surfaceColor':Y['surfaceColor'],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x55c788(0x1f9)]};function er(_0xc9bfeb){const _0x29cd24=_0x55c788;let _0x1a4498=$['radius'],_0x3cb121=$[_0x29cd24(0x3df)],_0x16214f=$['siblingHoverRadius'],_0x14a8b7=$[_0x29cd24(0x30c)],_0x145df4=$[_0x29cd24(0x242)],_0x38d722=_0x145df4+$[_0x29cd24(0x219)],_0x236611=$[_0x29cd24(0x174)],_0x257552=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb['bounds'][_0x29cd24(0x243)]/0x2,_0x14dd80=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)]['width']/0x2,_0xa5f0af=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]-_0x1a4498-_0x14a8b7,_0x57c407=_0xc9bfeb[_0x29cd24(0x289)]['left']+_0xc9bfeb['bounds']['width']+_0x1a4498+_0x14a8b7,_0x5f57de=_0xc9bfeb['bounds'][_0x29cd24(0x180)]-_0x1a4498-_0x14a8b7,_0x27d101=_0xc9bfeb['bounds'][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x1a4498+_0x14a8b7,_0x1d6ba6=_0xc9bfeb[_0x29cd24(0x289)]['left']-_0x3cb121-_0x14a8b7,_0x3a538d=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)]['width']+_0x3cb121+_0x14a8b7,_0x21712d=_0xc9bfeb[_0x29cd24(0x289)]['top']-_0x3cb121-_0x14a8b7,_0x3fd10d=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x3cb121+_0x14a8b7,_0x52c81b=[],_0x2d91df=_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)||_0xc9bfeb['side']===_0x29cd24(0x373),_0x554d2f=_0x2d91df?_0x14dd80:_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0xa5f0af:_0x57c407,_0x158bdf=_0x2d91df?_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?_0x5f57de:_0x27d101:_0x257552;if(_0xc9bfeb['hasChildren']&&_0xc9bfeb['collapsedDescendantCount']>0x0)return _0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x2af),'x':_0x554d2f,'y':_0x158bdf,'radius':_0x1a4498,'badgeCount':_0xc9bfeb['collapsedDescendantCount']}),_0x52c81b;if(_0xc9bfeb['isRoot']){var _0x659f82;((_0x659f82=_0xc9bfeb[_0x29cd24(0x152)])==null?_0x2d91df?['top',_0x29cd24(0x373)]:[_0x29cd24(0x295),'right']:_0x659f82)[_0x29cd24(0x123)](_0x28117f=>{const _0x7ca1e5=_0x29cd24;_0x28117f==='top'?_0x52c81b['push']({'kind':_0x7ca1e5(0x3d1),'x':_0x14dd80,'y':_0x21712d,'radius':_0x3cb121}):_0x28117f===_0x7ca1e5(0x373)?_0x52c81b[_0x7ca1e5(0x3b7)]({'kind':_0x7ca1e5(0x3ad),'x':_0x14dd80,'y':_0x3fd10d,'radius':_0x3cb121}):_0x28117f===_0x7ca1e5(0x295)?_0x52c81b[_0x7ca1e5(0x3b7)]({'kind':_0x7ca1e5(0x231),'x':_0x1d6ba6,'y':_0x257552,'radius':_0x3cb121}):_0x52c81b['push']({'kind':'add-child-right','x':_0x3a538d,'y':_0x257552,'radius':_0x3cb121});});}else _0x52c81b[_0x29cd24(0x3b7)]({'kind':_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0x29cd24(0x231):_0xc9bfeb['side']==='top'?_0x29cd24(0x3d1):_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x373)?_0x29cd24(0x3ad):_0x29cd24(0x1d3),'x':_0x2d91df?_0x14dd80:_0xc9bfeb[_0x29cd24(0x1c2)]==='left'?_0x1d6ba6:_0x3a538d,'y':_0x2d91df?_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?_0x21712d:_0x3fd10d:_0x257552,'radius':_0x3cb121}),_0x2d91df?(_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x1d5),'placement':'before','x':_0xc9bfeb['bounds'][_0x29cd24(0x295)]-_0x38d722,'y':_0x257552,'radius':_0x16214f,'visualRadius':_0x145df4}),_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x21c),'placement':_0x29cd24(0x143),'x':_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x24f)]+_0x38d722,'y':_0x257552,'radius':_0x16214f,'visualRadius':_0x145df4})):(_0x52c81b['push']({'kind':_0x29cd24(0x1d5),'placement':_0x29cd24(0x240),'x':_0x14dd80,'y':_0xc9bfeb[_0x29cd24(0x289)]['top']-_0x38d722,'radius':_0x16214f,'visualRadius':_0x145df4}),_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x21c),'placement':'after','x':_0x14dd80,'y':_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x38d722,'radius':_0x16214f,'visualRadius':_0x145df4}));if(_0xc9bfeb['hasChildren']){let _0x393476={'kind':_0x29cd24(0x2af),'x':_0x554d2f,'y':_0x158bdf,'radius':_0x1a4498};_0x52c81b[_0x29cd24(0x3b7)](_0x393476);let _0x37ed2b=_0x52c81b[_0x29cd24(0x256)](_0x308bc=>_0x308bc[_0x29cd24(0x2a8)]===(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0x29cd24(0x231):_0xc9bfeb['side']==='top'?_0x29cd24(0x3d1):_0xc9bfeb[_0x29cd24(0x1c2)]==='bottom'?_0x29cd24(0x3ad):_0x29cd24(0x1d3)));_0x37ed2b&&Math[_0x29cd24(0x254)](_0x37ed2b['x']-_0x393476['x'],_0x37ed2b['y']-_0x393476['y'])<_0x236611&&(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)||_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x373)?_0x37ed2b['y']=_0x393476['y']+(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?-_0x236611:_0x236611):_0x37ed2b['x']=_0x393476['x']+(_0xc9bfeb['side']==='left'?-_0x236611:_0x236611));}return _0x52c81b;}const tr=_0x55c788(0x27d),nr=_0x1ca693[_0x55c788(0x2cd)];function rr(_0x6b678f,_0x462a74){const _0x2fa497=_0x55c788;return!!_0x6b678f&&_0x6b678f[_0x2fa497(0x2a8)]===_0x462a74[_0x2fa497(0x2a8)]&&_0x6b678f['x']===_0x462a74['x']&&_0x6b678f['y']===_0x462a74['y'];}var ir=class extends _0x52c324{constructor(_0xf43275=tr,_0x268cae){const _0xc077bb=_0x55c788;super(_0xf43275),K(this,_0xc077bb(0x35e),{'controls':[]}),this['evented']=!0x0,this['zIndex']=_0x464afb[_0xc077bb(0x12d)],this[_0xc077bb(0x34f)](_0x268cae);}['updateState'](_0x4f4d7f){const _0x92c005=_0x55c788;this[_0x92c005(0x35e)]={...this[_0x92c005(0x35e)],..._0x4f4d7f},this[_0x92c005(0x35e)]['controls'][_0x92c005(0x207)]>0x0?this[_0x92c005(0x155)]():this[_0x92c005(0x2fb)](),this[_0x92c005(0x3d7)](!0x0);}['setHoveredControl'](_0x368f5e){const _0x276d00=_0x55c788;!_0x368f5e&&!this[_0x276d00(0x35e)][_0x276d00(0x1a9)]||_0x368f5e&&rr(this[_0x276d00(0x35e)][_0x276d00(0x1a9)],_0x368f5e)||(this[_0x276d00(0x35e)]={...this[_0x276d00(0x35e)],'hoveredControl':_0x368f5e},this[_0x276d00(0x3d7)](!0x0));}['getHitControl'](_0xe95cb0){const _0x4cb032=_0x55c788;for(let _0xff910e=this[_0x4cb032(0x35e)][_0x4cb032(0x194)][_0x4cb032(0x207)]-0x1;_0xff910e>=0x0;--_0xff910e){let _0x220c38=this['_state'][_0x4cb032(0x194)][_0xff910e];if(Math[_0x4cb032(0x254)](_0xe95cb0['x']-_0x220c38['x'],_0xe95cb0['y']-_0x220c38['y'])<=_0x220c38[_0x4cb032(0x359)])return _0x220c38;}return null;}[_0x55c788(0x218)](_0x39e91f){const _0x4ec951=_0x55c788;return!!this[_0x4ec951(0x3a7)]({'x':_0x39e91f['x'],'y':_0x39e91f['y']});}[_0x55c788(0x1c3)](_0x2787b8,_0x1400c3){const _0x4a940d=_0x55c788;return!this[_0x4a940d(0x20f)]||this[_0x4a940d(0x35e)]['controls'][_0x4a940d(0x207)]===0x0?(this['makeDirty'](!0x1),this):(_0x2787b8[_0x4a940d(0x311)](),this[_0x4a940d(0x35e)]['controls'][_0x4a940d(0x123)](_0x1439ab=>{const _0xae93b5=_0x4a940d;var _0x488298;let _0x1ea86c=rr(this[_0xae93b5(0x35e)][_0xae93b5(0x1a9)],_0x1439ab),_0x41d54d=_0x1439ab[_0xae93b5(0x3ac)]!==void 0x0,_0x5c92fb=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x231)||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x1d3)||_0x1439ab['kind']==='add-child-top'||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x3ad),_0x5c9140=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x1d5)||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x21c),_0x3366c1=_0x5c9140&&!_0x1ea86c?(_0x488298=_0x1439ab[_0xae93b5(0x253)])==null?_0x1439ab['radius']:_0x488298:_0x1439ab[_0xae93b5(0x359)];if(_0x2787b8['beginPath'](),_0x2787b8[_0xae93b5(0x2c2)]=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x2af)?$['surfaceColor']:$[_0xae93b5(0x3ae)],_0x2787b8['strokeStyle']=$[_0xae93b5(0x3ae)],_0x2787b8[_0xae93b5(0x390)]=$['borderWidth'],_0x2787b8[_0xae93b5(0x182)](_0x1439ab['x'],_0x1439ab['y'],_0x3366c1,0x0,Math['PI']*0x2),_0x2787b8[_0xae93b5(0x234)](),(!_0x5c9140||_0x1ea86c)&&_0x2787b8[_0xae93b5(0x1b4)](),!_0x41d54d&&(!_0x5c9140||_0x1ea86c)){if(_0x2787b8[_0xae93b5(0x300)](),_0x2787b8[_0xae93b5(0x3aa)]=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x2af)?$[_0xae93b5(0x3ae)]:$[_0xae93b5(0x3b6)],_0x2787b8[_0xae93b5(0x390)]=_0x5c9140?$[_0xae93b5(0x34d)]:_0x1ea86c?$[_0xae93b5(0x204)]:$[_0xae93b5(0x34d)],_0x2787b8[_0xae93b5(0x1fb)]=_0xae93b5(0x31c),_0x1439ab['kind']===_0xae93b5(0x2af)){let _0x466cc0=$[_0xae93b5(0x341)];_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x']+_0x466cc0/0x2,_0x1439ab['y']-_0x466cc0),_0x2787b8[_0xae93b5(0x2f2)](_0x1439ab['x']-_0x466cc0/0x2,_0x1439ab['y']),_0x2787b8['lineTo'](_0x1439ab['x']+_0x466cc0/0x2,_0x1439ab['y']+_0x466cc0);}else{let _0x197aba=_0x5c9140?$[_0xae93b5(0x2cc)]:_0x5c92fb?$[_0xae93b5(0x2bf)]:$[_0xae93b5(0x341)];_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x']-_0x197aba,_0x1439ab['y']),_0x2787b8['lineTo'](_0x1439ab['x']+_0x197aba,_0x1439ab['y']),_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x'],_0x1439ab['y']-_0x197aba),_0x2787b8['lineTo'](_0x1439ab['x'],_0x1439ab['y']+_0x197aba);}_0x2787b8['stroke']();}_0x41d54d&&(_0x2787b8[_0xae93b5(0x2c2)]=$[_0xae93b5(0x3ae)],_0x2787b8[_0xae93b5(0x1b1)]=$['badgeFontWeight']+'\x20'+$['badgeFontSize']+'px\x20'+$['fontFamily'],_0x2787b8['textAlign']=_0xae93b5(0x173),_0x2787b8['textBaseline']=_0xae93b5(0x1cc),_0x2787b8[_0xae93b5(0x250)](String(_0x1439ab['badgeCount']),_0x1439ab['x'],_0x1439ab['y']));}),_0x2787b8[_0x4a940d(0x2b8)](),this[_0x4a940d(0x3d7)](!0x1),this);}};function ar(_0x4ade34){const _0x3a4907=_0x55c788;return _0x4ade34===_0x3a4907(0x31e)||_0x4ade34===_0x3a4907(0x2a0)||_0x4ade34===_0x3a4907(0x35c);}function or(_0x358cd2){const _0x344175=_0x55c788;return _0x358cd2===_0x344175(0x232)||_0x358cd2==='timeline-vertical';}function sr(_0x15b69c,_0x1959fe){const _0x795699=_0x55c788;let _0x31baef=Number[_0x795699(0x273)](_0x1959fe[_0x795699(0x3cc)])&&_0x1959fe[_0x795699(0x3cc)]>0x0?_0x1959fe[_0x795699(0x3cc)]:0x1;return{'x':Math[_0x795699(0x31c)]((_0x15b69c[_0x795699(0x294)]-_0x1959fe[_0x795699(0x2cf)]['x'])/_0x31baef),'y':Math[_0x795699(0x31c)]((_0x15b69c[_0x795699(0x368)]-_0x1959fe[_0x795699(0x2cf)]['y'])/_0x31baef)};}let cr=class extends _0x4c4ffe{constructor(_0x3f138b,_0x1b145c,_0x41598b,_0x1abde3,_0x33785f,_0x2b9ae3,_0x59f076){const _0x5d3da4=_0x55c788;super(),this['_renderContext']=_0x3f138b,this['_boardElementService']=_0x1b145c,this['_elementStateService']=_0x41598b,this['_stateService']=_0x1abde3,this['_commandService']=_0x33785f,this['_boardTextEditingService']=_0x2b9ae3,this[_0x5d3da4(0x323)]=_0x59f076,K(this,_0x5d3da4(0x1d2),null),K(this,_0x5d3da4(0x166),null),K(this,_0x5d3da4(0x28b),null),K(this,_0x5d3da4(0x3cb),null),this[_0x5d3da4(0x25a)]();}['_init'](){const _0x5d5b87=_0x55c788;var _0xdc1ed7,_0x49afb1,_0x450a1b,_0x7cb67c,_0x10bdfe;let {scene:_0x3be0cd}=this[_0x5d5b87(0x16f)],_0x590db7=(_0xdc1ed7=_0x3be0cd[_0x5d5b87(0x13e)])==null?void 0x0:_0xdc1ed7['call'](_0x3be0cd);_0x590db7&&(this['disposeWithMe'](_0x1e5fe4(_0x590db7[_0x5d5b87(0x315)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))[_0x5d5b87(0x304)](({objects:_0x423d76})=>{const _0x2dd549=_0x5d5b87;this[_0x2dd549(0x2b2)](_0x423d76,{'hideRootControls':!0x0});}))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x590db7[_0x5d5b87(0x274)][_0x5d5b87(0x3b9)](_0x38681d(this['dispose$']))[_0x5d5b87(0x304)](_0x1a7e1b=>{const _0xa10034=_0x5d5b87;let _0x21bf1b=_0x1a7e1b==null?void 0x0:_0x1a7e1b[_0xa10034(0x3ba)];this[_0xa10034(0x2b2)](_0x21bf1b),setTimeout(()=>this['_syncControls'](_0x21bf1b),0x0);})))),this['disposeWithMe'](_0x1e5fe4(this[_0x5d5b87(0x239)][_0x5d5b87(0x3d5)][_0x5d5b87(0x3b9)](_0x38681d(this['dispose$']))[_0x5d5b87(0x304)](()=>this[_0x5d5b87(0x2b2)]()))),this['disposeWithMe'](_0x1e5fe4(this['_stateService'][_0x5d5b87(0x3d5)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))[_0x5d5b87(0x304)](()=>this[_0x5d5b87(0x2b2)]()))),this[_0x5d5b87(0x367)](_0x1e5fe4(this[_0x5d5b87(0x323)][_0x5d5b87(0x210)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))['subscribe'](_0x388a8a=>{const _0xbf83f2=_0x5d5b87;let _0x3fd5b3=this['_elementStateService']['getSnapshot']()['context'];!_0x3fd5b3||_0x3fd5b3[_0xbf83f2(0x3d3)]!==_0x388a8a[_0xbf83f2(0x3d3)]||_0x3fd5b3[_0xbf83f2(0x346)]!==_0x388a8a['subUnitId']||this[_0xbf83f2(0x3cb)]&&this[_0xbf83f2(0x3cb)]!==_0x388a8a[_0xbf83f2(0x191)]||this[_0xbf83f2(0x2b2)]();}))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x3be0cd[_0x5d5b87(0x27c)][_0x5d5b87(0x1ed)](_0x5e472a=>this[_0x5d5b87(0x2a5)](_0x5e472a)))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x3be0cd[_0x5d5b87(0x14a)][_0x5d5b87(0x1ed)]({'priority':0x4,'next':([_0x29879d,_0x26d3ed])=>{const _0x213427=_0x5d5b87;this[_0x213427(0x393)](_0x29879d)&&this[_0x213427(0x3bc)](_0x29879d,_0x26d3ed);}}))),this[_0x5d5b87(0x367)](_0x1e5fe4((_0x49afb1=(_0x450a1b=_0x3be0cd[_0x5d5b87(0x27e)])==null?void 0x0:_0x450a1b[_0x5d5b87(0x1ed)]({'priority':0x4,'next':([_0x2492e1,_0x3ce8d4])=>{const _0x84b539=_0x5d5b87;this['_isControlEvent'](_0x2492e1)&&this[_0x84b539(0x3bc)](_0x2492e1,_0x3ce8d4);}}))==null?{'dispose':()=>{}}:_0x49afb1)),this[_0x5d5b87(0x367)](_0x1e5fe4((_0x7cb67c=(_0x10bdfe=_0x3be0cd[_0x5d5b87(0x38c)])==null?void 0x0:_0x10bdfe['subscribeEvent']({'priority':0x4,'next':([_0x5ab2cc,_0x4dcd3d])=>{const _0x4c9260=_0x5d5b87;this[_0x4c9260(0x279)](_0x5ab2cc)&&this[_0x4c9260(0x3bc)](_0x5ab2cc,_0x4dcd3d);}}))==null?{'dispose':()=>{}}:_0x7cb67c)),this['disposeWithMe'](_0x1e5fe4(()=>this[_0x5d5b87(0x3e0)]())),this[_0x5d5b87(0x2b2)]();}[_0x55c788(0x30e)](){const _0xfd1771=_0x55c788;return this[_0xfd1771(0x1d2)]?this[_0xfd1771(0x1d2)]:(this['_object']=new ir(tr),this[_0xfd1771(0x1ee)](this[_0xfd1771(0x1d2)]),this['_renderContext'][_0xfd1771(0x3d4)]['addObject'](this['_object'],nr),this[_0xfd1771(0x1d2)]);}[_0x55c788(0x1ee)](_0x8c4f9b){const _0x16895e=_0x55c788;var _0xcac175;(_0xcac175=this[_0x16895e(0x166)])==null||_0xcac175[_0x16895e(0x3c5)]();let _0x1d3319=new _0x1ec4ce();_0x1d3319['add'](_0x8c4f9b[_0x16895e(0x14a)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x518c29,_0x55efd8])=>{const _0x12834b=_0x16895e;this[_0x12834b(0x393)](_0x518c29)&&this['_consumeControlEvent'](_0x518c29,_0x55efd8);}})),_0x1d3319[_0x16895e(0x193)](_0x8c4f9b[_0x16895e(0x27e)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x576679,_0x129ff5])=>{const _0x3bc938=_0x16895e;this['_isControlEvent'](_0x576679)&&this[_0x3bc938(0x3bc)](_0x576679,_0x129ff5);}})),_0x1d3319[_0x16895e(0x193)](_0x8c4f9b[_0x16895e(0x38c)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x4322a0,_0x253f08])=>{const _0x609cb1=_0x16895e;this[_0x609cb1(0x279)](_0x4322a0)&&this[_0x609cb1(0x3bc)](_0x4322a0,_0x253f08);}})),this['_objectEventDisposables']=_0x1d3319;}['_removeObject'](){const _0x365525=_0x55c788;var _0xfbc48e;this[_0x365525(0x1d2)]&&(this[_0x365525(0x16f)][_0x365525(0x3d4)][_0x365525(0x247)]([this['_object']]),(_0xfbc48e=this['_objectEventDisposables'])==null||_0xfbc48e[_0x365525(0x3c5)](),this[_0x365525(0x166)]=null,this['_object']=null,this[_0x365525(0x28b)]=null,this[_0x365525(0x3cb)]=null,this[_0x365525(0x16f)][_0x365525(0x3d4)][_0x365525(0x3d7)](!0x0));}[_0x55c788(0x2b2)](_0xf8cf71,_0x5270e1){const _0x5c1609=_0x55c788;var _0x2d329c,_0x4cc32e,_0x4c36e0,_0x22e289;let _0x4d7ca4=this[_0x5c1609(0x239)][_0x5c1609(0x125)](),_0xc3338f=_0x4d7ca4[_0x5c1609(0x1de)],_0x4e6ecb=(_0x2d329c=_0x4d7ca4[_0x5c1609(0x3a3)])==null?_0x4d7ca4[_0x5c1609(0x319)][0x0]:_0x2d329c;if(!_0xc3338f||!_0x4e6ecb||_0x4d7ca4[_0x5c1609(0x319)]['length']!==0x1){this['_removeObject']();return;}let _0x4909b9=this[_0x5c1609(0x334)][_0x5c1609(0x16c)](_0xc3338f[_0x5c1609(0x3d3)],_0xc3338f[_0x5c1609(0x346)]),_0x519eb8=_0x4909b9[_0x4e6ecb],_0x3a2ef4=_0x4784a6(_0x519eb8==null?void 0x0:_0x519eb8[_0x5c1609(0x2ca)]);if(!_0x519eb8||!_0x3a2ef4){this[_0x5c1609(0x3e0)]();return;}let _0xda0f06=_0x4f1902(_0xc3338f[_0x5c1609(0x3d3)],_0x4e6ecb);if(_0x5270e1!=null&&_0x5270e1[_0x5c1609(0x1ff)]&&_0x3a2ef4[_0x5c1609(0x286)]==null&&_0xf8cf71!=null&&_0xf8cf71[_0x5c1609(0x312)](_0xda0f06)){this[_0x5c1609(0x3e0)]();return;}let _0x588d8d=this['_resolveControlBounds'](_0x4909b9,_0xc3338f[_0x5c1609(0x3d3)],_0x4e6ecb,_0xf8cf71);if(!_0x588d8d){this[_0x5c1609(0x3e0)]();return;}let _0x2cf287=Object[_0x5c1609(0x1e2)](_0x4909b9)[_0x5c1609(0x1eb)](_0xd925c3=>{const _0x28fb7b=_0x5c1609;var _0x16c1fc;return((_0x16c1fc=_0x4784a6(_0xd925c3[_0x28fb7b(0x2ca)]))==null?void 0x0:_0x16c1fc[_0x28fb7b(0x286)])===_0x4e6ecb;}),_0x4a1368=_0x3a2ef4['collapsed']?this[_0x5c1609(0x1f5)](_0x4909b9,_0x4e6ecb):0x0;this['_activeNodeId']=_0x4e6ecb,this[_0x5c1609(0x3cb)]=_0x3a2ef4['structureScopeId'];let _0x342e5f=(_0x4cc32e=_0x4909b9[_0x3a2ef4[_0x5c1609(0x272)]])==null?void 0x0:_0x4cc32e['element'],_0x155cea=_0x5225ac(_0x342e5f),_0x1f3168=_0x342e5f==null||(_0x4c36e0=_0x342e5f[_0x5c1609(0x189)])==null||(_0x4c36e0=_0x4c36e0[_0x5c1609(0x2ac)])==null||(_0x4c36e0=_0x4c36e0[_0x5c1609(0x142)])==null?void 0x0:_0x4c36e0[_0x5c1609(0x32f)],_0x5c2b24=(_0x22e289=_0x155cea==null?void 0x0:_0x155cea[_0x5c1609(0x142)][_0x5c1609(0x32f)])==null?_0x1f3168:_0x22e289,_0x3f0199=_0x3a2ef4['parentNodeId']==null,_0x5b4b1d=this['_resolveControlSide'](_0x3a2ef4['side'],_0x3f0199,_0x5c2b24);this[_0x5c1609(0x30e)]()[_0x5c1609(0x34f)]({'controls':er({'bounds':_0x588d8d,'isRoot':_0x3f0199,'side':_0x5b4b1d,'rootChildSides':this[_0x5c1609(0x23b)](_0x3f0199,_0x5c2b24),'hasChildren':_0x2cf287[_0x5c1609(0x207)]>0x0,'collapsedDescendantCount':_0x4a1368})}),this['_renderContext']['scene'][_0x5c1609(0x3d7)](!0x0);}[_0x55c788(0x140)](_0x57af7c,_0x270e0a,_0x14d50e){const _0x5975c7=_0x55c788;return _0x14d50e===_0x5975c7(0x33a)?!_0x270e0a&&(_0x57af7c===_0x5975c7(0x295)||_0x57af7c===_0x5975c7(0x338))?_0x57af7c:_0x5975c7(0x373):_0x14d50e===_0x5975c7(0x340)?!_0x270e0a&&(_0x57af7c===_0x5975c7(0x180)||_0x57af7c===_0x5975c7(0x373))?_0x57af7c:_0x5975c7(0x373):_0x57af7c===_0x5975c7(0x295)?'left':_0x5975c7(0x338);}[_0x55c788(0x23b)](_0x1f1727,_0x4af8ef){const _0x5ad2f4=_0x55c788;if(_0x1f1727){if(ar(_0x4af8ef))return[_0x5ad2f4(0x373)];if(_0x4af8ef===_0x5ad2f4(0x232))return[_0x5ad2f4(0x338)];if(_0x4af8ef===_0x5ad2f4(0x33a))return[_0x5ad2f4(0x373)];}}[_0x55c788(0x217)](_0x2838cb){const _0x105afa=_0x55c788;var _0x23b6f3,_0x4812e5;let _0x3c7ec8=this[_0x105afa(0x239)][_0x105afa(0x125)]()['context'];if(!_0x3c7ec8||!this[_0x105afa(0x28b)])return;let _0x28f6b5=this[_0x105afa(0x334)][_0x105afa(0x16c)](_0x3c7ec8[_0x105afa(0x3d3)],_0x3c7ec8['subUnitId']),_0x522d7f=_0x4784a6((_0x23b6f3=_0x28f6b5[this[_0x105afa(0x28b)]])==null?void 0x0:_0x23b6f3[_0x105afa(0x2ca)]),_0x153def=_0x522d7f?_0x5225ac((_0x4812e5=_0x28f6b5[_0x522d7f['structureScopeId']])==null?void 0x0:_0x4812e5[_0x105afa(0x2ca)]):null;if(!((_0x522d7f==null?void 0x0:_0x522d7f[_0x105afa(0x286)])==null&&(ar(_0x153def==null?void 0x0:_0x153def[_0x105afa(0x142)][_0x105afa(0x32f)])||or(_0x153def==null?void 0x0:_0x153def['layout']['structureKind']))))return _0x2838cb===_0x105afa(0x231)?_0x105afa(0x295):_0x2838cb===_0x105afa(0x3d1)?_0x105afa(0x180):_0x2838cb==='add-child-bottom'?_0x105afa(0x373):_0x105afa(0x338);}[_0x55c788(0x2d5)](_0x1b55bf,_0x5b17d3,_0x3a323b,_0x2c1332){const _0x1fa640=_0x55c788;var _0x508a3c,_0x7239cf,_0x28ae98;let _0xaab7e7=_0x4f1902(_0x5b17d3,_0x3a323b),_0x491e80=_0x2c1332==null?void 0x0:_0x2c1332['get'](_0xaab7e7),_0x4570f2=this[_0x1fa640(0x392)](_0x491e80);if(_0x4570f2)return _0x4570f2;let _0x190587=this['_renderContext'][_0x1fa640(0x3d4)],_0x3702dc=(_0x508a3c=(_0x7239cf=_0x190587[_0x1fa640(0x1a7)])==null?void 0x0:_0x7239cf['call'](_0x190587,_0xaab7e7))==null?(_0x28ae98=_0x190587['getObject'])==null?void 0x0:_0x28ae98[_0x1fa640(0x222)](_0x190587,_0xaab7e7):_0x508a3c;return this[_0x1fa640(0x392)](_0x3702dc)||_0x329079(_0x1b55bf,_0x3a323b);}['_toFiniteBounds'](_0x432acc){const _0x23df2e=_0x55c788;return _0x432acc&&Number[_0x23df2e(0x273)](_0x432acc[_0x23df2e(0x295)])&&Number[_0x23df2e(0x273)](_0x432acc['top'])&&Number['isFinite'](_0x432acc[_0x23df2e(0x24f)])&&Number[_0x23df2e(0x273)](_0x432acc[_0x23df2e(0x243)])?{'left':_0x432acc[_0x23df2e(0x295)],'top':_0x432acc[_0x23df2e(0x180)],'width':_0x432acc[_0x23df2e(0x24f)],'height':_0x432acc[_0x23df2e(0x243)]}:null;}[_0x55c788(0x1f5)](_0x39977a,_0x3108ec){const _0x21c67e=_0x55c788;return Object[_0x21c67e(0x1e2)](_0x39977a)[_0x21c67e(0x1eb)](_0x3853bd=>{const _0xbebe78=_0x21c67e;var _0x4c111f;return((_0x4c111f=_0x4784a6(_0x3853bd[_0xbebe78(0x2ca)]))==null?void 0x0:_0x4c111f[_0xbebe78(0x286)])===_0x3108ec;})[_0x21c67e(0x1f0)]((_0x6d9e23,_0x263c2b)=>_0x6d9e23+0x1+this[_0x21c67e(0x1f5)](_0x39977a,_0x263c2b[_0x21c67e(0x18a)]),0x0);}[_0x55c788(0x2a5)](_0x2be140){const _0x194b4b=_0x55c788;if(!this[_0x194b4b(0x1d2)])return;let _0xc98f30=this[_0x194b4b(0x1d6)][_0x194b4b(0x3d8)](),_0x18cdfb=sr(_0x2be140,{'panOffset':_0xc98f30[_0x194b4b(0x318)],'zoomRatio':_0xc98f30['zoomRatio']});this[_0x194b4b(0x1d2)][_0x194b4b(0x26a)](this['_object'][_0x194b4b(0x3a7)](_0x18cdfb));}[_0x55c788(0x393)](_0x356ac5){const _0x332468=_0x55c788;var _0x37cf2a;if(!this[_0x332468(0x1d2)]||!this[_0x332468(0x28b)]||((_0x37cf2a=_0x356ac5[_0x332468(0x1bf)])==null?0x0:_0x37cf2a)!==0x0)return!0x1;let _0x40940e=this[_0x332468(0x239)]['getSnapshot']()[_0x332468(0x1de)];if(!_0x40940e)return!0x1;let _0x55674b=this[_0x332468(0x1d6)][_0x332468(0x3d8)](),_0x1af9bd=sr(_0x356ac5,{'panOffset':_0x55674b['viewportPanOffset'],'zoomRatio':_0x55674b[_0x332468(0x3cc)]}),_0xd0e94f=this[_0x332468(0x1d2)][_0x332468(0x3a7)](_0x1af9bd);if(!_0xd0e94f)return!0x1;if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x2af))return this[_0x332468(0x2f9)](_0x55e2b3['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'nodeId':this[_0x332468(0x28b)]}),!0x0;if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x231)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x1d3)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x3d1)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x3ad)){let _0x5c4f1e=_0x31e651(0x6);return this['_executeCreateAndEdit'](_0x5e12b8['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'parentNodeId':this[_0x332468(0x28b)],'side':this['_resolveCreateChildSide'](_0xd0e94f['kind']),'nodeId':_0x5c4f1e,'connectorId':_0x31e651(0x6)},_0x5c4f1e),!0x0;}if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x1d5)||_0xd0e94f[_0x332468(0x2a8)]==='add-sibling-after'){var _0x160123;let _0x94856a=_0x31e651(0x6);return this[_0x332468(0x1cf)](_0x1aa149['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'nodeId':this[_0x332468(0x28b)],'placement':(_0x160123=_0xd0e94f['placement'])==null?_0xd0e94f['kind']===_0x332468(0x1d5)?'before':_0x332468(0x143):_0x160123,'siblingNodeId':_0x94856a,'connectorId':_0x31e651(0x6)},_0x94856a),!0x0;}return!0x0;}['_isControlEvent'](_0x1e835b){const _0x351bd1=_0x55c788;var _0x57d535;if(!this[_0x351bd1(0x1d2)]||((_0x57d535=_0x1e835b[_0x351bd1(0x1bf)])==null?0x0:_0x57d535)!==0x0)return!0x1;let _0x182311=this[_0x351bd1(0x1d6)]['getState'](),_0x432eba=sr(_0x1e835b,{'panOffset':_0x182311['viewportPanOffset'],'zoomRatio':_0x182311[_0x351bd1(0x3cc)]});return!!this['_object'][_0x351bd1(0x3a7)](_0x432eba);}[_0x55c788(0x3bc)](_0x2e5e36,_0xb70650){const _0x378e53=_0x55c788;var _0x35b8c0,_0x1de1a7;_0xb70650[_0x378e53(0x2d4)](),(_0x35b8c0=_0x2e5e36[_0x378e53(0x200)])==null||_0x35b8c0['call'](_0x2e5e36),(_0x1de1a7=_0x2e5e36[_0x378e53(0x2d4)])==null||_0x1de1a7[_0x378e53(0x222)](_0x2e5e36);}[_0x55c788(0x2f9)](_0x2c095b,_0xa72f1f){const _0x547444=_0x55c788;let _0x1a2ef3=this[_0x547444(0x3cb)],_0x52e1f6=this[_0x547444(0x22a)][_0x547444(0x12e)](_0x2c095b,_0xa72f1f);Promise['resolve'](_0x52e1f6)[_0x547444(0x2e2)](_0x324b5b=>{const _0x46c16f=_0x547444;!_0x324b5b||!_0x1a2ef3||(this['_syncControls'](),Promise[_0x46c16f(0x3b0)](this['_commandService'][_0x46c16f(0x12e)](_0x5672f3['id'],{'unitId':_0xa72f1f[_0x46c16f(0x3d3)],'subUnitId':_0xa72f1f[_0x46c16f(0x346)],'scopeId':_0x1a2ef3}))[_0x46c16f(0x2e2)](()=>this[_0x46c16f(0x2b2)]()));});}[_0x55c788(0x1cf)](_0xcf4ed9,_0x179a14,_0x36ff73){const _0x59b83e=_0x55c788;let _0x27b1e7={'unitId':_0x179a14[_0x59b83e(0x3d3)],'subUnitId':_0x179a14['subUnitId']},_0x1c3d98=this[_0x59b83e(0x22a)][_0x59b83e(0x12e)](_0xcf4ed9,_0x179a14);Promise['resolve'](_0x1c3d98)[_0x59b83e(0x2e2)](_0x423a4e=>{const _0x5c7b86=_0x59b83e;_0x423a4e&&(this['_syncControls'](),this[_0x5c7b86(0x239)][_0x5c7b86(0x379)](_0x27b1e7,[_0x36ff73],_0x36ff73),this[_0x5c7b86(0x3a4)][_0x5c7b86(0x1ec)](),this['_boardTextEditingService'][_0x5c7b86(0x348)]({..._0x27b1e7,'shapeId':_0x36ff73,'shapeKey':_0x4f1902(_0x27b1e7[_0x5c7b86(0x3d3)],_0x36ff73),'visible':!0x0}));});}};cr=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x3c575a(_0x1f379b)),q(0x3,_0x3c575a(_0x45d666)),q(0x4,_0x4a7b53),q(0x5,_0x3c575a(_0x5698aa)),q(0x6,_0x3c575a(Xn))],cr);const lr=_0x55c788(0x212);let ur=class extends _0x4c4ffe{constructor(_0x1d5acc,_0x35cd8a,_0x14ae8a,_0x441aea,_0x18b736){const _0x5ae8d3=_0x55c788;super(),this[_0x5ae8d3(0x334)]=_0x1d5acc,this['_elementStateService']=_0x35cd8a,this['_contextService']=_0x14ae8a,this[_0x5ae8d3(0x22a)]=_0x441aea,this[_0x5ae8d3(0x1cb)]=_0x18b736,this[_0x5ae8d3(0x25a)]();}['_init'](){const _0x449c06=_0x55c788;this[_0x449c06(0x367)](this[_0x449c06(0x1cb)][_0x449c06(0x36f)](this[_0x449c06(0x322)]())),this[_0x449c06(0x367)](_0x1e5fe4(this[_0x449c06(0x239)][_0x449c06(0x3d5)][_0x449c06(0x3b9)](_0x38681d(this[_0x449c06(0x2bd)]))[_0x449c06(0x304)](()=>{const _0x585e2d=_0x449c06;this[_0x585e2d(0x14b)]();}))),this['disposeWithMe'](_0x1e5fe4(()=>{const _0xcb15db=_0x449c06;this[_0xcb15db(0x181)][_0xcb15db(0x3dd)](lr,!0x1);})),this[_0x449c06(0x14b)]();}['_createQuoteShortcut'](){const _0xf0b71=_0x55c788;return{'id':_0x2d51a1,'binding':_0x35fb2f[_0xf0b71(0x1e5)]|_0x47dc16[_0xf0b71(0x18d)],'priority':0x3e8,'preconditions':_0x5badc5=>_0x5badc5[_0xf0b71(0x24a)](_0xf0b71(0x212))&&this[_0xf0b71(0x22a)]['hasCommand'](_0x2d51a1)};}[_0x55c788(0x14b)](){const _0x784367=_0x55c788;this['_contextService'][_0x784367(0x3dd)](lr,this[_0x784367(0x1e6)]());}[_0x55c788(0x1e6)](){const _0x548419=_0x55c788;var _0x3feaff;let _0x323dd1=this[_0x548419(0x239)]['getSnapshot'](),_0x151f27=_0x323dd1[_0x548419(0x1de)],_0x3a064f=_0x323dd1[_0x548419(0x2fe)];return!_0x151f27||!_0x3a064f?!0x1:!!_0x4784a6((_0x3feaff=this[_0x548419(0x334)]['getElementData'](_0x151f27[_0x548419(0x3d3)],_0x151f27['subUnitId'])[_0x3a064f])==null?void 0x0:_0x3feaff[_0x548419(0x2ca)]);}['dispose'](){const _0x473279=_0x55c788;super[_0x473279(0x3c5)](),this[_0x473279(0x181)][_0x473279(0x3dd)](lr,!0x1);}};ur=J([q(0x0,_0x3c575a(_0x3de855)),q(0x1,_0x3c575a(_0x1f379b)),q(0x2,_0x53aa1b),q(0x3,_0x4a7b53),q(0x4,_0x8b86d4)],ur);const dr=['structure',_0x55c788(0x142),_0x55c788(0x3b4)];_0xb4769e[_0x55c788(0x321)],_0xb4769e['siblingGap'],_0xb4769e[_0x55c788(0x26d)];const fr=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':'horizontalGap',..._0x258481['horizontalGap']},{'labelKey':_0x55c788(0x302),'key':'siblingGap',..._0x258481['siblingGap']},{'labelKey':'boards-mind-ui.panel.spacing.branchGap','key':_0x55c788(0x26d),..._0x258481['branchGap']}],pr=[{'labelKey':_0x55c788(0x292),'value':_0x55c788(0x338)},{'labelKey':'boards-mind-ui.panel.layout.left','value':_0x55c788(0x295)},{'labelKey':'boards-mind-ui.panel.layout.both','value':'both'}],mr=[{'labelKey':_0x55c788(0x36d),'value':_0x55c788(0x224)},{'labelKey':_0x55c788(0x2ff),'value':_0x55c788(0x340)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x55c788(0x2a0)},{'labelKey':_0x55c788(0x2c7),'value':'tree-left'},{'labelKey':'boards-mind-ui.panel.structureKind.treeAlternate','value':_0x55c788(0x35c)},{'labelKey':_0x55c788(0x1f7),'value':_0x55c788(0x232)},{'labelKey':_0x55c788(0x397),'value':_0x55c788(0x33a)}],hr=[{'labelKey':_0x55c788(0x1f2),'value':_0x55c788(0x395)},{'labelKey':_0x55c788(0x176),'value':_0x55c788(0x28c)},{'labelKey':_0x55c788(0x1c7),'value':'orthogonal'}];function gr(_0x22ff3d){const _0x369c36=_0x55c788;var _0x49f883,_0x13ef37,_0x21d626,_0x29a0e1,_0x3a8c36;let _0x37afa6=(_0x49f883=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x32f)])==null?_0xb4769e[_0x369c36(0x32f)]:_0x49f883;return{'spacing':{'horizontalGap':(_0x13ef37=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x321)])==null?_0xb4769e[_0x369c36(0x321)]:_0x13ef37,'siblingGap':(_0x21d626=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x225)])==null?_0xb4769e[_0x369c36(0x225)]:_0x21d626,'branchGap':(_0x29a0e1=_0x22ff3d==null?void 0x0:_0x22ff3d['branchGap'])==null?_0xb4769e['branchGap']:_0x29a0e1},'direction':(_0x3a8c36=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x358)])==null?_0xb4769e[_0x369c36(0x358)]:_0x3a8c36,'structureKind':_0x37afa6,'branchLineType':_0x172ea2(_0x37afa6,_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x159)])};}async function _r(_0x4059da,_0x44d5d6){const _0x11585e=_0x55c788;return await Promise['resolve'](_0x4059da[_0x11585e(0x12e)](_0x1f97d9['id'],_0x44d5d6))?(await Promise['resolve'](_0x4059da[_0x11585e(0x12e)](_0x5672f3['id'],{'unitId':_0x44d5d6['unitId'],'subUnitId':_0x44d5d6[_0x11585e(0x346)],'scopeId':_0x44d5d6[_0x11585e(0x191)]})),!0x0):!0x1;}async function vr(_0x1feead,_0x3fcce3){const _0x543377=_0x55c788;return await Promise[_0x543377(0x3b0)](_0x1feead[_0x543377(0x12e)](_0x35a1e2['id'],_0x3fcce3))?(await Promise['resolve'](_0x1feead[_0x543377(0x12e)](_0x5672f3['id'],{'unitId':_0x3fcce3['unitId'],'subUnitId':_0x3fcce3['subUnitId'],'scopeId':_0x3fcce3[_0x543377(0x191)]})),!0x0):!0x1;}async function yr(_0x5c589f,_0x40f761){const _0x4f22af=_0x55c788;return await Promise[_0x4f22af(0x3b0)](_0x5c589f[_0x4f22af(0x12e)](_0x1f97d9['id'],{'unitId':_0x40f761[_0x4f22af(0x3d3)],'subUnitId':_0x40f761[_0x4f22af(0x346)],'scopeId':_0x40f761['scopeId'],..._0x40f761[_0x4f22af(0x321)]===void 0x0?{}:{'horizontalGap':_0x40f761[_0x4f22af(0x321)]},..._0x40f761[_0x4f22af(0x225)]===void 0x0?{}:{'siblingGap':_0x40f761['siblingGap']},..._0x40f761[_0x4f22af(0x26d)]===void 0x0?{}:{'branchGap':_0x40f761[_0x4f22af(0x26d)]}}))?(await Promise['resolve'](_0x5c589f[_0x4f22af(0x12e)](_0x5672f3['id'],{'unitId':_0x40f761[_0x4f22af(0x3d3)],'subUnitId':_0x40f761[_0x4f22af(0x346)],'scopeId':_0x40f761[_0x4f22af(0x191)]})),!0x0):!0x1;}async function br(_0x7d30d6,_0xd27965){const _0x3fd288=_0x55c788;return _0xd27965[_0x3fd288(0x398)]===_0xd27965[_0x3fd288(0x2d9)]||!await Promise[_0x3fd288(0x3b0)](_0x7d30d6[_0x3fd288(0x12e)](_0x137347['id'],{'unitId':_0xd27965[_0x3fd288(0x3d3)],'subUnitId':_0xd27965[_0x3fd288(0x346)],'nodeId':_0xd27965[_0x3fd288(0x398)],'targetNodeId':_0xd27965[_0x3fd288(0x2d9)],'referenceNodeId':_0xd27965[_0x3fd288(0x2d9)],'placement':_0xd27965['placement']}))?!0x1:(await Promise['resolve'](_0x7d30d6[_0x3fd288(0x12e)](_0x5672f3['id'],{'unitId':_0xd27965[_0x3fd288(0x3d3)],'subUnitId':_0xd27965[_0x3fd288(0x346)],'scopeId':_0xd27965[_0x3fd288(0x191)]})),!0x0);}async function xr(_0x4b4d89,_0x21eae1){const _0x2b5f1b=_0x55c788;let _0x1ecce0=_0x21eae1[_0x2b5f1b(0x309)][_0x2b5f1b(0x16b)]();return!_0x1ecce0||!await Promise[_0x2b5f1b(0x3b0)](_0x4b4d89['executeCommand'](_0x2aa574['id'],{'unitId':_0x21eae1['unitId'],'subUnitId':_0x21eae1[_0x2b5f1b(0x346)],'nodeId':_0x21eae1[_0x2b5f1b(0x398)],'text':_0x1ecce0}))?!0x1:(await Promise[_0x2b5f1b(0x3b0)](_0x4b4d89[_0x2b5f1b(0x12e)](_0x5672f3['id'],{'unitId':_0x21eae1[_0x2b5f1b(0x3d3)],'subUnitId':_0x21eae1[_0x2b5f1b(0x346)],'scopeId':_0x21eae1[_0x2b5f1b(0x191)]})),!0x0);}async function Sr(_0x16a011){const _0x13c272=_0x55c788;var _0x4f061d;let _0x2762ce=(_0x4f061d=globalThis[_0x13c272(0x169)])==null?void 0x0:_0x4f061d[_0x13c272(0x337)];return _0x2762ce!=null&&_0x2762ce['writeText']?(await _0x2762ce[_0x13c272(0x1f4)](_0x16a011),!0x0):!0x1;}async function Cr(_0x5f2a95,_0xd26801,_0x5e208b=Sr){const _0x4d9339=_0x55c788;let _0x537d5b=await Promise[_0x4d9339(0x3b0)](_0x5f2a95[_0x4d9339(0x12e)](_0x2c65e6['id'],_0xd26801));if(typeof _0x537d5b!=_0x4d9339(0x2e3)||!_0x537d5b)return!0x1;try{return await _0x5e208b(_0x537d5b)!==!0x1;}catch{return!0x1;}}async function wr(_0x3b08a6,_0x421bb5){const _0x1f8e00=_0x55c788;if(!_0x421bb5[_0x1f8e00(0x36a)][_0x1f8e00(0x16b)]())return!0x1;let _0x402d62=await Promise[_0x1f8e00(0x3b0)](_0x3b08a6[_0x1f8e00(0x12e)](_0x52c104['id'],_0x421bb5));return typeof _0x402d62==_0x1f8e00(0x33b)&&!!_0x402d62&&_0x402d62['success']===!0x0;}function Tr(_0x17a0f8,_0x54d46d){const _0x18423b=_0x55c788;let _0x31a348=_0x54d46d[_0x18423b(0x16b)]()['toLowerCase']();return _0x31a348?_0x17a0f8[_0x18423b(0x1eb)](_0x47f264=>_0x47f264[_0x18423b(0x309)]['toLowerCase']()[_0x18423b(0x16d)](_0x31a348)):_0x17a0f8;}function Er(_0x10e825){const _0x35ca81=_0x55c788;return{'paddingInlineStart':0x8+(Number[_0x35ca81(0x273)](_0x10e825)&&_0x10e825>0x0?_0x10e825:0x0)*0x10};}function Dr(_0x5388cc){const _0x57cedf=_0x55c788;return _0x12a7ac('div',{'className':_0x57cedf(0x298),'data-board-mind-map-panel':_0x57cedf(0x17e),'children':_0x5388cc[_0x57cedf(0x15d)]});}function Or(_0x679874){const _0x10bba2=_0x55c788;return _0x12a7ac(_0x10bba2(0x27a),{'className':'univer-border-b\x20univer-border-gray-200\x20univer-p-3\x20dark:!univer-border-gray-700','data-board-mind-map-panel-tabs':_0x10bba2(0x17e),'children':_0x12a7ac(_0x21141c,{'className':_0x10bba2(0x153),'items':_0x679874[_0x10bba2(0x2c6)],'value':_0x679874[_0x10bba2(0x361)],'onChange':_0x679874[_0x10bba2(0x360)]})});}function kr(_0xa2fadf){const _0x2317da=_0x55c788;return _0x42e6e8(_0x2317da(0x2f7),{'className':_0x2317da(0x128),'data-board-mind-map-panel-section':_0x2317da(0x17e),'children':[_0x12a7ac('h3',{'className':_0x2317da(0x24c),'children':_0xd57ede(_0x20f8ca)['t'](_0xa2fadf['titleKey'])}),_0xa2fadf[_0x2317da(0x15d)]]});}function Ar(_0x208b78){const _0x594c15=_0x55c788;return _0x12a7ac(_0x594c15(0x27a),{'className':_0x594c15(0x29f),'data-board-mind-map-panel-empty-state':_0x594c15(0x17e),'children':_0x208b78['children']});}function jr(_0x270e08){const _0xa58ba8=_0x55c788;let _0x1666f3=_0xd57ede(_0x20f8ca);return _0x12a7ac(_0xee7c82,{'className':_0xa58ba8(0x160),'size':'small','variant':'default','onClick':_0x270e08['onClick'],'children':_0x1666f3['t'](_0xa58ba8(0x202))});}function Mr(_0x3f666a){const _0x4f7ca4=_0x55c788;var _0x5d3478;let _0x1fdaa4=_0xd57ede(_0x4a7b53),_0x4f5214=_0xd57ede(_0x1f379b),_0x416ff7=_0xd57ede(_0x20f8ca),_0x18f872=(_0x5d3478=_0x3f666a['outlineItems'])==null?[]:_0x5d3478,[_0x4a101a,_0x58e1f9]=_0x5024c9(''),[_0x2bfe3e,_0x38bb26]=_0x5024c9(null),[_0x184fb6,_0x1f4ed5]=_0x5024c9(''),_0x59d08e=gr(_0x3f666a[_0x4f7ca4(0x142)]),[_0x1edce0,_0x1d5e1c]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x238)]),[_0x2090a8,_0x4444b5]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x358)]),[_0x65cd3f,_0x196c80]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x32f)]),[_0x4507e9,_0xb76001]=_0x5024c9(_0x59d08e['branchLineType']),[_0x2cecbb,_0x550862]=_0x5024c9(null),[_0x26f52f,_0x463b3d]=_0x5024c9(_0x4f7ca4(0x1fd)),_0x3f3b94=Tr(_0x18f872,_0x4a101a),_0xba31b3={'unitId':_0x3f666a[_0x4f7ca4(0x3d3)],'subUnitId':_0x3f666a['subUnitId'],'scopeId':_0x3f666a[_0x4f7ca4(0x191)]},_0x3d1e68=dr[_0x4f7ca4(0x1f6)](_0x358168=>({'label':_0x416ff7['t'](_0x4f7ca4(0x266)+_0x358168),'value':_0x358168})),_0x41e17a=hr[_0x4f7ca4(0x1eb)](_0x50eca2=>_0x50eca2['value']!==_0x4f7ca4(0x395)||_0x17ca32(_0x65cd3f)),_0x1e8108=_0x268436=>{_0x4444b5(_0x268436),_r(_0x1fdaa4,{..._0xba31b3,'direction':_0x268436});};_0x34035e(()=>{const _0x3766d8=_0x4f7ca4;let _0x4e0847=gr(_0x3f666a[_0x3766d8(0x142)]);_0x1d5e1c(_0x4e0847[_0x3766d8(0x238)]),_0x4444b5(_0x4e0847['direction']),_0x196c80(_0x4e0847[_0x3766d8(0x32f)]),_0xb76001(_0x4e0847[_0x3766d8(0x159)]);},[_0x3f666a[_0x4f7ca4(0x142)],_0x3f666a[_0x4f7ca4(0x191)]]);let _0x5a2c7e=_0x4367b8=>{let _0x52923c=_0x172ea2(_0x4367b8,_0x4507e9);_0x196c80(_0x4367b8),_0xb76001(_0x52923c),_r(_0x1fdaa4,{..._0xba31b3,'structureKind':_0x4367b8,..._0x52923c===_0x4507e9?null:{'branchLineType':_0x52923c}});},_0x26e105=_0x2e75d1=>{let _0x58db21=_0x172ea2(_0x65cd3f,_0x2e75d1);_0xb76001(_0x58db21),vr(_0x1fdaa4,{..._0xba31b3,'branchLineType':_0x58db21});},_0x1a5f1a=(_0x520223,_0x1ee909)=>{let _0x12e327={..._0x1edce0,[_0x520223]:_0x1ee909};_0x1d5e1c(_0x12e327),yr(_0x1fdaa4,{..._0xba31b3,..._0x12e327});},_0xeec4dd=()=>{const _0x2f4b6e=_0x4f7ca4;wr(_0x1fdaa4,{'unitId':_0x3f666a[_0x2f4b6e(0x3d3)],'subUnitId':_0x3f666a['subUnitId'],'left':0x78,'top':0x78,'opml':_0x184fb6})['then'](_0x15cd41=>{_0x15cd41&&_0x1f4ed5('');});},_0xfa7ad7=()=>{Cr(_0x1fdaa4,_0xba31b3);},_0x4e1eff=(_0x1e2c53,_0x4927ee)=>{_0x38bb26({'nodeId':_0x1e2c53,'text':_0x4927ee});},_0x561aec=()=>{const _0x2ddd56=_0x4f7ca4;_0x2bfe3e&&xr(_0x1fdaa4,{..._0xba31b3,'nodeId':_0x2bfe3e['nodeId'],'text':_0x2bfe3e[_0x2ddd56(0x309)]})['then'](_0x63d36=>{_0x63d36&&_0x38bb26(null);});},_0x19c98b=(_0x247250,_0x415380)=>{const _0x31d155=_0x4f7ca4;if(_0x247250['preventDefault'](),!_0x2cecbb||_0x2cecbb===_0x415380)return;let _0x1ccb90=_0x247250[_0x31d155(0x325)][_0x31d155(0x350)](),_0x342a13=_0x247250['clientY']<_0x1ccb90[_0x31d155(0x180)]+_0x1ccb90[_0x31d155(0x243)]/0x2?_0x31d155(0x240):_0x31d155(0x143);_0x550862(null),br(_0x1fdaa4,{..._0xba31b3,'nodeId':_0x2cecbb,'targetNodeId':_0x415380,'placement':_0x342a13});};return _0x42e6e8(Dr,{'children':[_0x12a7ac(Or,{'items':_0x3d1e68,'value':_0x26f52f,'onChange':_0x2b6180=>_0x463b3d(_0x2b6180)}),_0x26f52f===_0x4f7ca4(0x1fd)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x13c),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'children':[_0x12a7ac(_0x2373a8,{'slot':_0x12a7ac(_0x287fe1,{}),'value':_0x4a101a,'placeholder':_0x416ff7['t'](_0x4f7ca4(0x229)),'className':_0x4f7ca4(0x198),'onChange':_0x58e1f9}),_0x3f3b94['length']?_0x12a7ac('ol',{'className':_0x4f7ca4(0x2a7),'children':_0x3f3b94[_0x4f7ca4(0x1f6)](_0x511553=>_0x12a7ac('li',{'draggable':!0x0,'className':_0x4f7ca4(0x3ce),'style':Er(_0x511553['depth']),'onDragStart':_0x35af50=>{const _0x15d37a=_0x4f7ca4;var _0x256c31;_0x550862(_0x511553[_0x15d37a(0x398)]),(_0x256c31=_0x35af50[_0x15d37a(0x1df)])==null||_0x256c31['setData'](_0x15d37a(0x21d),_0x511553[_0x15d37a(0x398)]),_0x35af50[_0x15d37a(0x1df)]&&(_0x35af50[_0x15d37a(0x1df)][_0x15d37a(0x1ca)]='move');},'onDragOver':_0x294ee8=>{const _0x5ab20c=_0x4f7ca4;_0x294ee8[_0x5ab20c(0x200)](),_0x294ee8[_0x5ab20c(0x1df)]&&(_0x294ee8[_0x5ab20c(0x1df)][_0x5ab20c(0x213)]='move');},'onDrop':_0x5344c5=>_0x19c98b(_0x5344c5,_0x511553[_0x4f7ca4(0x398)]),'onDragEnd':()=>_0x550862(null),'children':(_0x2bfe3e==null?void 0x0:_0x2bfe3e[_0x4f7ca4(0x398)])===_0x511553[_0x4f7ca4(0x398)]?_0x42e6e8('div',{'className':_0x4f7ca4(0x1cd),'children':[_0x12a7ac(_0x2373a8,{'autoFocus':!0x0,'size':_0x4f7ca4(0x3c1),'value':_0x2bfe3e[_0x4f7ca4(0x309)],'onChange':_0x5e5d7e=>_0x38bb26({'nodeId':_0x511553['nodeId'],'text':_0x5e5d7e}),'onKeyDown':_0x5dd740=>{const _0x5c16de=_0x4f7ca4;_0x5dd740[_0x5c16de(0x1c1)]===_0x5c16de(0x17f)&&_0x561aec(),_0x5dd740[_0x5c16de(0x1c1)]===_0x5c16de(0x1bc)&&_0x38bb26(null);}}),_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x329),'disabled':!_0x2bfe3e[_0x4f7ca4(0x309)]['trim'](),'onClick':_0x561aec,'children':_0x416ff7['t'](_0x4f7ca4(0x202))}),_0x12a7ac(_0xee7c82,{'size':'small','variant':_0x4f7ca4(0x132),'onClick':()=>_0x38bb26(null),'children':_0x416ff7['t'](_0x4f7ca4(0x2e0))})]}):_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0xee7c82,{'size':'small','variant':'ghost','className':_0x4f7ca4(0x364),'onClick':()=>_0x4f5214[_0x4f7ca4(0x379)]({'unitId':_0x3f666a[_0x4f7ca4(0x3d3)],'subUnitId':_0x3f666a[_0x4f7ca4(0x346)]},[_0x511553[_0x4f7ca4(0x398)]],_0x511553['nodeId']),'children':_0x511553[_0x4f7ca4(0x309)]}),_0x12a7ac(jr,{'onClick':()=>_0x4e1eff(_0x511553[_0x4f7ca4(0x398)],_0x511553[_0x4f7ca4(0x309)])})]})},_0x511553[_0x4f7ca4(0x398)]))}):_0x12a7ac(Ar,{'children':_0x416ff7['t'](_0x4f7ca4(0x24b))})]})}):null,_0x26f52f===_0x4f7ca4(0x142)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x241),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x129),'children':[_0x12a7ac(_0x4f7ca4(0x27a),{'className':'univer-flex\x20univer-gap-2','children':_0x12a7ac(_0x21141c,{'className':_0x4f7ca4(0x153),'items':mr[_0x4f7ca4(0x1f6)](_0x5ce6d1=>({'label':_0x416ff7['t'](_0x5ce6d1[_0x4f7ca4(0x3d0)]),'value':_0x5ce6d1[_0x4f7ca4(0x361)]})),'value':_0x65cd3f,'onChange':_0x469d59=>_0x5a2c7e(_0x469d59)})}),_0x12a7ac(_0x4f7ca4(0x27a),{'className':'univer-flex\x20univer-gap-2','children':_0x12a7ac(_0x21141c,{'className':'univer-w-full\x20univer-text-xs','items':pr[_0x4f7ca4(0x1f6)](_0x53ac16=>({'label':_0x416ff7['t'](_0x53ac16['labelKey']),'value':_0x53ac16[_0x4f7ca4(0x361)]})),'value':_0x2090a8,'onChange':_0x4637ce=>_0x1e8108(_0x4637ce)})}),_0x12a7ac('div',{'className':_0x4f7ca4(0x1a0),'children':_0x12a7ac(_0x21141c,{'className':_0x4f7ca4(0x153),'items':_0x41e17a[_0x4f7ca4(0x1f6)](_0x188fbd=>({'label':_0x416ff7['t'](_0x188fbd[_0x4f7ca4(0x3d0)]),'value':_0x188fbd[_0x4f7ca4(0x361)]})),'value':_0x4507e9,'onChange':_0x88c22=>_0x26e105(_0x88c22)})}),_0x12a7ac(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x299),'children':fr[_0x4f7ca4(0x1f6)](({labelKey:_0x339a8d,key:_0x4066a1,min:_0xc6eb43,max:_0x17f17d})=>_0x42e6e8(_0x4f7ca4(0x39e),{'className':_0x4f7ca4(0x3d6),'children':[_0x12a7ac('span',{'className':'univer-w-20\x20univer-shrink-0','children':_0x416ff7['t'](_0x4f7ca4(0x2c4)+_0x339a8d)}),_0x12a7ac(_0x18a17b,{'min':_0xc6eb43,'max':_0x17f17d,'step':0x4,'value':_0x1edce0[_0x4066a1],'precision':0x0,'className':'univer-w-24','onChange':_0x161a8e=>_0x1a5f1a(_0x4066a1,Number(_0x161a8e==null?_0xc6eb43:_0x161a8e))})]},_0x4066a1))})]})}):null,_0x26f52f===_0x4f7ca4(0x3b4)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x248),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x1a8),'children':[_0x12a7ac(_0x20d960,{'className':_0x4f7ca4(0x1bd),'placeholder':_0x416ff7['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x184fb6,'onValueChange':_0x1f4ed5}),_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x1a0),'children':[_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x329),'disabled':!_0x184fb6[_0x4f7ca4(0x16b)](),'onClick':_0xeec4dd,'children':_0x416ff7['t'](_0x4f7ca4(0x29c))}),_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x132),'onClick':_0xfa7ad7,'children':_0x416ff7['t'](_0x4f7ca4(0x305))})]})]})}):null]});}let Nr=class extends _0x4ac1ec{constructor(_0x3a2162){const _0x50fff5=_0x55c788;super(),this[_0x50fff5(0x18e)]=_0x3a2162,this['_registerComponents']();}[_0x55c788(0x149)](){const _0x545264=_0x55c788;this['disposeWithMe'](this['_componentManager']['register'](en,nn)),this[_0x545264(0x367)](this['_componentManager'][_0x545264(0x335)](un,Nn)),this['disposeWithMe'](this[_0x545264(0x18e)][_0x545264(0x335)]('board.mind-map.panel',Mr));}};Nr=J([q(0x0,_0x3c575a(_0xfb0ff6))],Nr);let Pr=class{constructor(_0x363ceb,_0x3a6765){const _0x374cb6=_0x55c788;this['_stateService']=_0x363ceb,this[_0x374cb6(0x25f)]=_0x3a6765;}[_0x55c788(0x14f)](_0x582899){const _0xbdd92f=_0x55c788;return this['_insertStateService']['setTemplate']({'rootText':_0x582899['rootText'],'structureKind':_0x582899['structureKind'],'branchLineType':_0x582899['branchLineType'],'children':_0x582899['children'],'blueprint':_0x582899[_0xbdd92f(0x34b)]}),this[_0xbdd92f(0x1d6)]['setShapeSidebarOpen'](!0x1),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x215)](),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x3c6)](_0x448177[_0xbdd92f(0x288)]),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x13b)]({'type':_0x448177[_0xbdd92f(0x288)]}),!0x0;}};Pr=J([q(0x0,_0x45d666),q(0x1,_0x3c575a(Gn))],Pr);let Fr=class extends _0x35ff6c{constructor(_0x3c20b1=Ot,_0x39c837,_0x39ff47,_0xf174c9){const _0x2afb85=_0x55c788;super(),this[_0x2afb85(0x177)]=_0x3c20b1,this[_0x2afb85(0x3b2)]=_0x39c837,this[_0x2afb85(0x3b5)]=_0x39ff47,this[_0x2afb85(0x35f)]=_0xf174c9;let {..._0x56d461}=_0x286366({},Ot,this[_0x2afb85(0x177)]);this[_0x2afb85(0x3b5)][_0x2afb85(0x3cd)](_0x2afb85(0x141),_0x56d461);}[_0x55c788(0x1fe)](){const _0x563d8c=_0x55c788;this['_injector'][_0x563d8c(0x193)]([Gn]),this['_injector'][_0x563d8c(0x193)]([Xn]),this['_injector']['add']([Pr]),this['_injector']['add']([cn]),this[_0x563d8c(0x3b2)][_0x563d8c(0x193)]([ur]),this[_0x563d8c(0x3b2)]['add']([Nr]);let _0xa5c969=this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](Pr),_0x36a054=this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](_0x1753eb);this[_0x563d8c(0x367)](_0x36a054['registerAdapter'](_0xa5c969)),this[_0x563d8c(0x367)](this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](cn)),this['disposeWithMe'](this['_injector']['get'](ur)),this[_0x563d8c(0x367)](this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](Nr)),this['_enableMindMapToolbarTool']();}[_0x55c788(0x21f)](){const _0xd8aa47=_0x55c788;this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936['UNIVER_BOARD'],Yn)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936['UNIVER_BOARD'],cr)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936[_0xd8aa47(0x17c)],Fn)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)]['registerRenderModule'](_0x42e936[_0xd8aa47(0x17c)],$t)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)]['registerRenderModule'](_0x42e936['UNIVER_BOARD'],Mt)),this[_0xd8aa47(0x367)](this['_renderManagerService']['registerRenderModule'](_0x42e936[_0xd8aa47(0x17c)],$n));}['_enableMindMapToolbarTool'](){const _0x2388df=_0x55c788;var _0x54fb84,_0x935a2f;let _0x153993=this[_0x2388df(0x2c9)]();this[_0x2388df(0x3b5)]['setConfig'](_0xcba35e,{..._0x153993,'toolbar':{..._0x153993['toolbar'],'tools':{...(_0x54fb84=_0x153993[_0x2388df(0x17d)])==null?void 0x0:_0x54fb84['tools'],[_0x448177[_0x2388df(0x288)]]:Ir((_0x935a2f=_0x153993[_0x2388df(0x17d)])==null||(_0x935a2f=_0x935a2f[_0x2388df(0x3b1)])==null?void 0x0:_0x935a2f[_0x448177[_0x2388df(0x288)]])}}});}[_0x55c788(0x2c9)](){const _0x40884d=_0x55c788;var _0x4b2316;return(_0x4b2316=this[_0x40884d(0x3b5)][_0x40884d(0x3e3)](_0xcba35e))==null?{}:_0x4b2316;}};K(Fr,_0x55c788(0x146),'UNIVER_BOARDS_MIND_UI_PLUGIN'),K(Fr,_0x55c788(0x3c0),Et),K(Fr,_0x55c788(0x370),Dt),K(Fr,'type',_0x42e936[_0x55c788(0x17c)]),Fr=J([_0x1e6601(_0x39490d,_0xcd05da,_0x50eb07),q(0x1,_0x3c575a(_0x34f3c5)),q(0x2,_0x5b6d9c),q(0x3,_0xa5f319)],Fr);function Ir(_0x9cce46){const _0x35cf85=_0x55c788;if(_0x9cce46===!0x1)return!0x1;if(typeof _0x9cce46==_0x35cf85(0x33b)){var _0x45c6a;return{..._0x9cce46,'enabled':(_0x45c6a=_0x9cce46[_0x35cf85(0x363)])==null?!0x0:_0x45c6a};}return!0x0;}function _0x5bcf(_0x49e2f6,_0x4ba0c7){_0x49e2f6=_0x49e2f6-0x122;const _0x5f4dd4=_0x5f4d();let _0x5bcf0f=_0x5f4dd4[_0x49e2f6];return _0x5bcf0f;}export{Fr as UniverBoardsMindUIPlugin};
1
+ const _0x1bfc49=_0x3cc1;(function(_0x582f83,_0x3a1af9){const _0x5efe89=_0x3cc1,_0x3439ee=_0x582f83();while(!![]){try{const _0x3dc9a5=parseInt(_0x5efe89(0x138))/0x1+parseInt(_0x5efe89(0x3fd))/0x2*(parseInt(_0x5efe89(0x28b))/0x3)+parseInt(_0x5efe89(0x2f0))/0x4*(parseInt(_0x5efe89(0x394))/0x5)+-parseInt(_0x5efe89(0x27b))/0x6*(-parseInt(_0x5efe89(0x2de))/0x7)+parseInt(_0x5efe89(0x38e))/0x8*(parseInt(_0x5efe89(0x1dc))/0x9)+parseInt(_0x5efe89(0x3e2))/0xa+-parseInt(_0x5efe89(0x18e))/0xb;if(_0x3dc9a5===_0x3a1af9)break;else _0x3439ee['push'](_0x3439ee['shift']());}catch(_0x1c6148){_0x3439ee['push'](_0x3439ee['shift']());}}}(_0x822b,0x5814f));import{BoardElementType as _0x14ffad,BoardToolType as _0x2257b4,IBoardElementService as _0x295e11,IBoardMindMapAdapterService as _0x41972c,documentTextStyleToBoardShapeTextStyle as _0x39a0aa,offsetBoardConnectorGeometry as _0x15f431,resolveBoardElementWorldBounds as _0x2fc33b}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x5c85db,AddMindMapSiblingOperation as _0x38e794,ChangeMindMapBranchLineTypeOperation as _0x38032b,ChangeMindMapLayoutOperation as _0x2a6047,CopyMindMapNodeOperation as _0x31a993,DeleteMindMapNodeOperation as _0x4d46e4,DetachMindMapNodeOperation as _0x1d6084,ExportMindMapOpmlOperation as _0x255b71,IMindMapClipboardService as _0x5a568b,ImportMindMapOpmlOperation as _0x522db5,InsertBoardMindMapOperation as _0xc6227f,LayoutMindMapOperation as _0x51487d,MIND_MAP_DEFAULT_LAYOUT as _0x133f51,MIND_MAP_DEFAULT_NODE_SIZE as _0x2288ab,MIND_MAP_DEFAULT_NODE_TEXT as _0x775f9b,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x451c65,PasteMindMapAsNewMindMapOperation as _0x4cf4e2,PasteMindMapNodeOperation as _0x4c0be7,PromoteMindMapNodeOperation as _0x11db8a,ReparentMindMapNodeOperation as _0x1123f2,ToggleMindMapNodeCollapseOperation as _0x451daf,TranslateMindMapOperation as _0x2e2da9,UniverBoardsMindPlugin as _0x103bd8,UpdateMindMapIncomingConnectorOperation as _0x245059,UpdateMindMapNodeOperation as _0x21f908,compareMindMapOrderKey as _0x1f7763,getMindMapConnectorMeta as _0x576a15,getMindMapContainerMeta as _0x114393,getMindMapDefaultChildOrderKey as _0x12f706,getMindMapNodeMeta as _0x4b908c,isMindMapPlainStructureKind as _0x26dc5f,resolveMindMapBranchLineTypeForStructure as _0x5079ad,resolveMindMapLayoutPreview as _0x47afba,resolveMindMapNodeHostSize as _0x5a9769}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x24be6e,BOARD_RENDER_LAYER_INDEX as _0x1254b3,BOARD_RENDER_OBJECT_Z_INDEX as _0x38268b,BOARD_SHORTCUT_BINDINGS as _0x357a00,BoardCanvasPopManagerService as _0x3be6dd,BoardInteractionSurfaceService as _0x58f2f3,BoardShapeIntrinsicSizeService as _0x50c9e9,BoardTextEditingService as _0x1cecde,IBoardElementStateService as _0x4f61df,IBoardUIStateService as _0x1ce780,UniverBoardsUIPlugin as _0xbd73f5,getBoardElementRenderObjectKey as _0x3f73c8,parseBoardElementRenderObjectKey as _0x1622e2,resolveBoardFloatingToolbarSelection as _0x143cd6,syncBoardElementRenderObject as _0x18f241}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x5d65d0}from'@univerjs-pro/license';import{CommandType as _0xf7f817,DEFAULT_STYLES as _0x574b80,DependentOn as _0x4985c0,Disposable as _0x5dfc4c,DisposableCollection as _0x437ac0,HorizontalAlign as _0x353905,ICommandService as _0x38f57d,IConfigService as _0x29e452,IContextService as _0x2c413a,IUniverInstanceService as _0x49e7f1,Inject as _0xbc3476,Injector as _0x39322f,LocaleService as _0x2f4056,Plugin as _0x348eb5,RxDisposable as _0x5b09aa,UniverInstanceType as _0x3a60f9,VerticalAlign as _0x5d386b,generateRandomId as _0x523736,merge as _0x217ebd,toDisposable as _0x34ad80}from'@univerjs/core';import{BaseObject as _0x68d0be,IRenderManagerService as _0x34230a}from'@univerjs/engine-render';import{Subject as _0x5163f6,takeUntil as _0x17a1de}from'rxjs';import{SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x49b5d4,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x3f058b,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x624c0a,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x48415c,ShapeFillButton as _0x38b84d,ShapeFloatingToolbarContent as _0x245d3e,ShapeFloatingToolbarDropdownTrigger as _0x30b305,ShapeFloatingToolbarFontSizeSelect as _0x39157d,ShapeFloatingToolbarIcon as _0x1f8b97,ShapeFloatingToolbarMenuItem as _0x108fb2,ShapeFloatingToolbarMenuPanel as _0x26d4c6,ShapeStrokePanelButton as _0x5eb6a3,ShapeStrokePanelContent as _0x26c312,TextFillButton as _0x35e16f,TypographyPanelButton as _0x209f87,buildShapeTextDataUpdate as _0x5f276f}from'@univerjs-pro/shape-editor-ui';import{ShapeLineDashEnum as _0xfd6ed7,ShapeLineTypeEnum as _0x39d97e}from'@univerjs-pro/engine-shape';import{Button as _0x31b62f,Dropdown as _0x3c96a1,Input as _0x286f3d,InputNumber as _0xadbfdb,Segmented as _0x5e3c13,Separator as _0x39b257,Textarea as _0x42aebb,clsx as _0x43dfcf}from'@univerjs/design';import{AlignBottomIcon as _0x343605,AlignTextBothIcon as _0x441a79,AlignTopIcon as _0x53628a,HorizontallyIcon as _0x2337d4,LeftJustifyingIcon as _0x2a33e2,MoreHorizontalIcon as _0x49021c,RightJustifyingIcon as _0x132e50,SearchIcon as _0x38fd47,ShapeLineIcon as _0x4ccb89,VerticalCenterIcon as _0x11ed3f}from'@univerjs/icons';import{ComponentManager as _0x4dae87,IDialogService as _0x59da0c,IShortcutService as _0x419aaa,KeyCode as _0x1c11b8,MetaKeys as _0xb17f76,useDependency as _0x3c0c33}from'@univerjs/ui';import{useEffect as _0x5c5d9f,useState as _0xe1173c}from'react';import{Fragment as _0x177b6a,jsx as _0x27e6bc,jsxs as _0x528cbf}from'react/jsx-runtime';var Ot=_0x1bfc49(0x263),kt=_0x1bfc49(0x259);const At={};function jt(_0x5a8d91){'@babel/helpers - typeof';const _0xbd3f9d=_0x1bfc49;return jt=typeof Symbol==_0xbd3f9d(0x240)&&typeof Symbol[_0xbd3f9d(0x378)]==_0xbd3f9d(0x31f)?function(_0x3a958b){return typeof _0x3a958b;}:function(_0x55b5ea){const _0x3220fd=_0xbd3f9d;return _0x55b5ea&&typeof Symbol==_0x3220fd(0x240)&&_0x55b5ea[_0x3220fd(0x2df)]===Symbol&&_0x55b5ea!==Symbol[_0x3220fd(0x325)]?_0x3220fd(0x31f):typeof _0x55b5ea;},jt(_0x5a8d91);}function Mt(_0x28c031,_0xe16e13){const _0x1e23bf=_0x1bfc49;if(jt(_0x28c031)!=_0x1e23bf(0x2e2)||!_0x28c031)return _0x28c031;var _0x37714b=_0x28c031[Symbol[_0x1e23bf(0x365)]];if(_0x37714b!==void 0x0){var _0x53369d=_0x37714b[_0x1e23bf(0x3c7)](_0x28c031,_0xe16e13||'default');if(jt(_0x53369d)!=_0x1e23bf(0x2e2))return _0x53369d;throw TypeError(_0x1e23bf(0x38c));}return(_0xe16e13===_0x1e23bf(0x3fa)?String:Number)(_0x28c031);}function Nt(_0x43cdee){const _0x531717=_0x1bfc49;var _0x453e93=Mt(_0x43cdee,_0x531717(0x3fa));return jt(_0x453e93)==_0x531717(0x31f)?_0x453e93:_0x453e93+'';}function K(_0x46e626,_0x234a31,_0x4349a2){const _0x306ae5=_0x1bfc49;return(_0x234a31=Nt(_0x234a31))in _0x46e626?Object[_0x306ae5(0x1a2)](_0x46e626,_0x234a31,{'value':_0x4349a2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46e626[_0x234a31]=_0x4349a2,_0x46e626;}function q(_0x5ca833,_0x41ec7e){return function(_0x220940,_0x179dae){_0x41ec7e(_0x220940,_0x179dae,_0x5ca833);};}function J(_0x71ce47,_0x299f46,_0x42cf84,_0x573a7a){const _0x1f8437=_0x1bfc49;var _0x4a620e=arguments[_0x1f8437(0x157)],_0x3bdc5e=_0x4a620e<0x3?_0x299f46:_0x573a7a===null?_0x573a7a=Object[_0x1f8437(0x14d)](_0x299f46,_0x42cf84):_0x573a7a,_0x351027;if(typeof Reflect=='object'&&typeof Reflect[_0x1f8437(0x2da)]==_0x1f8437(0x240))_0x3bdc5e=Reflect[_0x1f8437(0x2da)](_0x71ce47,_0x299f46,_0x42cf84,_0x573a7a);else{for(var _0x1ca333=_0x71ce47['length']-0x1;_0x1ca333>=0x0;_0x1ca333--)(_0x351027=_0x71ce47[_0x1ca333])&&(_0x3bdc5e=(_0x4a620e<0x3?_0x351027(_0x3bdc5e):_0x4a620e>0x3?_0x351027(_0x299f46,_0x42cf84,_0x3bdc5e):_0x351027(_0x299f46,_0x42cf84))||_0x3bdc5e);}return _0x4a620e>0x3&&_0x3bdc5e&&Object[_0x1f8437(0x1a2)](_0x299f46,_0x42cf84,_0x3bdc5e),_0x3bdc5e;}let Pt=class extends _0x5b09aa{constructor(_0x4177a2,_0x1a58ed,_0x16023d){const _0x384b62=_0x1bfc49;super(),this[_0x384b62(0x2d9)]=_0x4177a2,this[_0x384b62(0x13a)]=_0x1a58ed,this[_0x384b62(0x3ca)]=_0x16023d,K(this,_0x384b62(0x191),new Map()),K(this,_0x384b62(0x2d2),new Map()),K(this,_0x384b62(0x245),new Map()),K(this,_0x384b62(0x286),!0x1),K(this,'_debouncedLayoutTimer',null),this[_0x384b62(0x1f8)]();}['_init'](){const _0xb64232=_0x1bfc49;this['_seedExistingNodeSizes'](),this[_0xb64232(0x3ac)](_0x34ad80(this[_0xb64232(0x13a)]['elementAdd$'][_0xb64232(0x398)](_0x17a1de(this[_0xb64232(0x24b)]))[_0xb64232(0x20c)](_0x195e3a=>{_0x195e3a['forEach'](_0x59c8c6=>{const _0x43a9e9=_0x3cc1;let _0xcdca4f=this[_0x43a9e9(0x13a)][_0x43a9e9(0x3f5)](_0x59c8c6[_0x43a9e9(0x308)],_0x59c8c6[_0x43a9e9(0x25a)],_0x59c8c6[_0x43a9e9(0x1a7)]);this[_0x43a9e9(0x18c)](_0x59c8c6,_0xcdca4f);});}))),this[_0xb64232(0x3ac)](_0x34ad80(this[_0xb64232(0x13a)][_0xb64232(0x279)]['pipe'](_0x17a1de(this[_0xb64232(0x24b)]))[_0xb64232(0x20c)](_0x130724=>{const _0x28d2ac=_0xb64232;_0x130724['forEach'](_0x49f579=>this[_0x28d2ac(0x276)](_0x49f579));})));let _0x27da71=this[_0xb64232(0x3ca)][_0xb64232(0x188)];typeof _0x27da71==_0xb64232(0x240)&&this['disposeWithMe'](_0x27da71['call'](this['_commandService'],_0xedf2fb=>{const _0x4a57a4=_0xb64232;if(_0xedf2fb['id']!==_0x21f908['id'])return;let _0x62ac59=_0xedf2fb[_0x4a57a4(0x17a)];this['_handleNodeUpdateCommand'](_0x62ac59);})),this[_0xb64232(0x3ac)](_0x34ad80(()=>{const _0x27cc2a=_0xb64232;this[_0x27cc2a(0x3e0)]!==null&&(clearTimeout(this[_0x27cc2a(0x3e0)]),this[_0x27cc2a(0x3e0)]=null);}));}[_0x1bfc49(0x15a)](){const _0xa4d447=_0x1bfc49;let _0x43531a=this['_renderContext'][_0xa4d447(0x308)],_0x59e19d=this['_boardElementService'][_0xa4d447(0x274)](_0x43531a);Object[_0xa4d447(0x370)](_0x59e19d)[_0xa4d447(0x29c)](([_0x1f5964,_0x786f96])=>{const _0x30bab6=_0xa4d447;Object['values'](_0x786f96[_0x30bab6(0x13c)])[_0x30bab6(0x29c)](_0x597d95=>{const _0x5670d3=_0x30bab6;this[_0x5670d3(0x18c)]({'unitId':_0x43531a,'subUnitId':_0x1f5964,'elementId':_0x597d95[_0x5670d3(0x1a7)]},_0x597d95);});});}['_handleElementUpdate'](_0x592c5b){const _0x2a5c42=_0x1bfc49;if(_0x592c5b['unitId']!==this[_0x2a5c42(0x2d9)][_0x2a5c42(0x308)])return;let _0x557988=this[_0x2a5c42(0x13a)][_0x2a5c42(0x3f5)](_0x592c5b[_0x2a5c42(0x308)],_0x592c5b[_0x2a5c42(0x25a)],_0x592c5b[_0x2a5c42(0x1a7)]),_0x18ca0f=_0x4b908c(_0x557988==null?void 0x0:_0x557988['element']),_0x413fc6=this[_0x2a5c42(0x28c)](_0x557988);if(!_0x18ca0f||!_0x413fc6){this[_0x2a5c42(0x191)][_0x2a5c42(0x269)](this[_0x2a5c42(0x1dd)](_0x592c5b));return;}let _0x3e0fd3=this[_0x2a5c42(0x1dd)](_0x592c5b),_0x1ed0fc=this['_nodeSizeByKey'][_0x2a5c42(0x1f7)](_0x3e0fd3);this[_0x2a5c42(0x191)][_0x2a5c42(0x3c8)](_0x3e0fd3,_0x413fc6),!(_0x1ed0fc&&_0x1ed0fc[_0x2a5c42(0x28a)]===_0x413fc6['width']&&_0x1ed0fc[_0x2a5c42(0x27e)]===_0x413fc6['height'])&&this[_0x2a5c42(0x1a6)]({'unitId':_0x592c5b['unitId'],'subUnitId':_0x592c5b[_0x2a5c42(0x25a)],'scopeId':_0x18ca0f[_0x2a5c42(0x1c0)],'anchorNodeId':_0x592c5b[_0x2a5c42(0x1a7)]});}[_0x1bfc49(0x18c)](_0x5b0b63,_0x1c1684){const _0xcb9404=_0x1bfc49;if(_0x5b0b63[_0xcb9404(0x308)]!==this[_0xcb9404(0x2d9)][_0xcb9404(0x308)])return;let _0x4dce9a=_0x4b908c(_0x1c1684==null?void 0x0:_0x1c1684[_0xcb9404(0x30c)]),_0x450d8f=this[_0xcb9404(0x28c)](_0x1c1684);!_0x4dce9a||!_0x450d8f||this['_nodeSizeByKey'][_0xcb9404(0x3c8)](this[_0xcb9404(0x1dd)](_0x5b0b63),_0x450d8f);}[_0x1bfc49(0x28c)](_0x5f26d6){const _0x26ff4e=_0x1bfc49;var _0x35e1ce;let _0xa154fe=(_0x35e1ce=_0x5f26d6==null?void 0x0:_0x5f26d6[_0x26ff4e(0x3ec)])==null?_0x5f26d6==null?void 0x0:_0x5f26d6[_0x26ff4e(0x30c)][_0x26ff4e(0x3ec)]:_0x35e1ce,_0x339761=_0xa154fe==null?void 0x0:_0xa154fe[_0x26ff4e(0x28a)],_0x21618d=_0xa154fe==null?void 0x0:_0xa154fe['height'];return!Number[_0x26ff4e(0x20e)](_0x339761)||!Number[_0x26ff4e(0x20e)](_0x21618d)?null:{'width':_0x339761,'height':_0x21618d};}['_queueLayout'](_0x8eed37){const _0x3ff55a=_0x1bfc49;this[_0x3ff55a(0x2d2)][_0x3ff55a(0x3c8)](_0x8eed37[_0x3ff55a(0x308)]+':'+_0x8eed37[_0x3ff55a(0x25a)]+':'+_0x8eed37['scopeId'],_0x8eed37),!this['_layoutFlushScheduled']&&(this['_layoutFlushScheduled']=!0x0,Promise[_0x3ff55a(0x1e1)]()[_0x3ff55a(0x231)](()=>{const _0x3c9ec3=_0x3ff55a;this[_0x3c9ec3(0x286)]=!0x1;let _0x2f8b7e=Array[_0x3c9ec3(0x167)](this['_queuedLayouts'][_0x3c9ec3(0x2b1)]());this['_queuedLayouts']['clear'](),_0x2f8b7e[_0x3c9ec3(0x29c)](_0x2b5e38=>{const _0x5260d0=_0x3c9ec3;this['_commandService'][_0x5260d0(0x3ae)](_0x51487d['id'],_0x2b5e38);});}));}[_0x1bfc49(0x39b)](_0x1cf7f3){const _0x1a5163=_0x1bfc49;if(!(_0x1cf7f3!=null&&_0x1cf7f3[_0x1a5163(0x308)])||!_0x1cf7f3['subUnitId']||!_0x1cf7f3['nodeId']||_0x1cf7f3[_0x1a5163(0x308)]!==this['_renderContext'][_0x1a5163(0x308)])return;let _0x5a946d=this[_0x1a5163(0x13a)][_0x1a5163(0x3f5)](_0x1cf7f3[_0x1a5163(0x308)],_0x1cf7f3['subUnitId'],_0x1cf7f3[_0x1a5163(0x141)]),_0x166a60=_0x4b908c(_0x5a946d==null?void 0x0:_0x5a946d['element']);_0x166a60&&this[_0x1a5163(0x21f)]({'unitId':_0x1cf7f3['unitId'],'subUnitId':_0x1cf7f3[_0x1a5163(0x25a)],'scopeId':_0x166a60[_0x1a5163(0x1c0)],'anchorNodeId':_0x1cf7f3['nodeId']});}[_0x1bfc49(0x21f)](_0xd18977){const _0x2ad7c0=_0x1bfc49;this[_0x2ad7c0(0x245)][_0x2ad7c0(0x3c8)](_0xd18977[_0x2ad7c0(0x308)]+':'+_0xd18977[_0x2ad7c0(0x25a)]+':'+_0xd18977[_0x2ad7c0(0x372)],_0xd18977),this[_0x2ad7c0(0x3e0)]!==null&&clearTimeout(this['_debouncedLayoutTimer']),this[_0x2ad7c0(0x3e0)]=setTimeout(()=>{const _0x4a26de=_0x2ad7c0;this[_0x4a26de(0x3e0)]=null;let _0x134c34=Array[_0x4a26de(0x167)](this[_0x4a26de(0x245)][_0x4a26de(0x2b1)]());this[_0x4a26de(0x245)][_0x4a26de(0x32c)](),_0x134c34[_0x4a26de(0x29c)](_0x14e53d=>{const _0x307d93=_0x4a26de;this[_0x307d93(0x3ca)][_0x307d93(0x3ae)](_0x51487d['id'],_0x14e53d);});},0x50);}[_0x1bfc49(0x1dd)](_0x3b78fc){const _0x58e166=_0x1bfc49;return _0x3b78fc['unitId']+':'+_0x3b78fc[_0x58e166(0x25a)]+':'+_0x3b78fc[_0x58e166(0x1a7)];}};Pt=J([q(0x1,_0xbc3476(_0x295e11)),q(0x2,_0x38f57d)],Pt);const Y={'primaryColor':_0x49b5d4,'surfaceColor':_0x3f058b,'textColor':_0x624c0a,'fontFamily':_0x574b80['ff']};function Ft(_0x1cc07a,_0x4506e6){const _0x41f78a=_0x1bfc49;let _0x56020e=Math['min'](0x1,Math[_0x41f78a(0x18f)](0x0,Number[_0x41f78a(0x20e)](_0x4506e6)?_0x4506e6:0x1)),_0x44b197=_0x1cc07a[_0x41f78a(0x1bf)](),_0x2eefa5=/^#([0-9a-fA-F]{6})$/[_0x41f78a(0x205)](_0x44b197);if(!_0x2eefa5)return _0x1cc07a;let _0x59cf1a=_0x2eefa5[0x1];return'rgba('+Number[_0x41f78a(0x1cb)](_0x59cf1a[_0x41f78a(0x39c)](0x0,0x2),0x10)+',\x20'+Number[_0x41f78a(0x1cb)](_0x59cf1a[_0x41f78a(0x39c)](0x2,0x4),0x10)+',\x20'+Number[_0x41f78a(0x1cb)](_0x59cf1a[_0x41f78a(0x39c)](0x4,0x6),0x10)+',\x20'+_0x56020e+')';}const X={'primaryColor':Y[_0x1bfc49(0x23c)],'ghostFillColor':Ft(Y[_0x1bfc49(0x3c3)],0.72),'ghostTextColor':Ft(Y[_0x1bfc49(0x2ab)],0.62),'rootTextColor':Ft(Y[_0x1bfc49(0x3c3)],0.86),'sourceHighlightFillColor':Ft(Y[_0x1bfc49(0x23c)],0.12),'sourceHighlightStrokeColor':Ft(Y[_0x1bfc49(0x23c)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x2288ab[_0x1bfc49(0x1da)],'fallbackNodeHeight':_0x2288ab[_0x1bfc49(0x1d5)],'branchGap':_0x133f51[_0x1bfc49(0x3a2)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y['fontFamily'],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0xe865d,_0x2049f3,_0x134afe,_0x57a80a,_0x54c184,_0x273e6f){const _0x2cf915=_0x1bfc49;let _0x1699af=Math[_0x2cf915(0x3ce)](_0x273e6f,_0x57a80a/0x2,_0x54c184/0x2);_0xe865d[_0x2cf915(0x2d8)](),_0xe865d[_0x2cf915(0x230)](_0x2049f3+_0x1699af,_0x134afe),_0xe865d[_0x2cf915(0x2f3)](_0x2049f3+_0x57a80a-_0x1699af,_0x134afe),_0xe865d['quadraticCurveTo'](_0x2049f3+_0x57a80a,_0x134afe,_0x2049f3+_0x57a80a,_0x134afe+_0x1699af),_0xe865d[_0x2cf915(0x2f3)](_0x2049f3+_0x57a80a,_0x134afe+_0x54c184-_0x1699af),_0xe865d[_0x2cf915(0x35e)](_0x2049f3+_0x57a80a,_0x134afe+_0x54c184,_0x2049f3+_0x57a80a-_0x1699af,_0x134afe+_0x54c184),_0xe865d[_0x2cf915(0x2f3)](_0x2049f3+_0x1699af,_0x134afe+_0x54c184),_0xe865d[_0x2cf915(0x35e)](_0x2049f3,_0x134afe+_0x54c184,_0x2049f3,_0x134afe+_0x54c184-_0x1699af),_0xe865d[_0x2cf915(0x2f3)](_0x2049f3,_0x134afe+_0x1699af),_0xe865d[_0x2cf915(0x35e)](_0x2049f3,_0x134afe,_0x2049f3+_0x1699af,_0x134afe),_0xe865d[_0x2cf915(0x30b)]();}function It(_0x42ed5b,_0x331332,_0x27919f){const _0x33a39e=_0x1bfc49;return _0x42ed5b+'\x20'+_0x331332/_0x27919f+_0x33a39e(0x36e)+X['fontFamily'];}const Lt=_0x1bfc49(0x166),Rt=_0x1254b3[_0x1bfc49(0x12f)];function Q(_0x4f505f,_0x21418f){const _0x2d8413=_0x1bfc49;return Number[_0x2d8413(0x20e)](_0x4f505f)?_0x4f505f:_0x21418f;}function zt(){const _0x4ed0d9=_0x1bfc49;return X[_0x4ed0d9(0x195)];}function Bt(){return X['fallbackNodeHeight'];}function Vt(_0x229726){const _0x266dac=_0x1bfc49;return _0x229726===0x1?_0x266dac(0x33e):_0x229726===0x3?_0x266dac(0x13e):_0x266dac(0x3b8);}function Ht(_0x8780bb,_0x318911,_0x510583,_0x2cf23b){return _0x510583===0x1?_0x8780bb+_0x2cf23b:_0x510583===0x3?_0x8780bb+_0x318911-_0x2cf23b:_0x8780bb+_0x318911/0x2;}var Ut=class extends _0x68d0be{constructor(_0x5ea79f=Lt,_0x20c8b2){const _0x26243c=_0x1bfc49;super(_0x5ea79f),K(this,_0x26243c(0x19c),{'ghostBounds':null,'parentBounds':null,'side':'right','zoomRatio':0x1}),this[_0x26243c(0x1ec)]=!0x1,this[_0x26243c(0x2c8)]=_0x38268b[_0x26243c(0x363)],this[_0x26243c(0x3af)](_0x20c8b2);}[_0x1bfc49(0x3af)](_0x5f0f46){const _0x53cf34=_0x1bfc49;if(this[_0x53cf34(0x19c)]={...this[_0x53cf34(0x19c)],..._0x5f0f46},this['_state']['ghostBounds']){let _0x4c8d57=this[_0x53cf34(0x373)]();this[_0x53cf34(0x130)](_0x4c8d57),this[_0x53cf34(0x1a0)]();}else this[_0x53cf34(0x38b)]();let _0xbcf75=this;typeof _0xbcf75[_0x53cf34(0x2f5)]==_0x53cf34(0x240)?_0xbcf75[_0x53cf34(0x2f5)](!0x0):this[_0x53cf34(0x32a)](!0x0);}['isHit'](_0x1689ed){return!0x1;}['render'](_0x524de9,_0x2ce8bd){const _0x18bcee=_0x1bfc49;var _0x109d12,_0x43555f,_0x184992;let _0x1a2c46=this['_state']['ghostBounds'];if(!_0x1a2c46||!this['visible'])return this[_0x18bcee(0x32a)](!0x1),this;let _0x419c6d=Number[_0x18bcee(0x20e)](this['_state'][_0x18bcee(0x1d7)])&&((_0x109d12=this[_0x18bcee(0x19c)][_0x18bcee(0x1d7)])==null?0x0:_0x109d12)>0x0?this['_state']['zoomRatio']:0x1,_0x467b6f=Q(_0x1a2c46[_0x18bcee(0x33e)],0x0),_0x46401a=Q(_0x1a2c46[_0x18bcee(0x1ba)],0x0),_0xdc8e81=Math[_0x18bcee(0x18f)](0x1,Q(_0x1a2c46[_0x18bcee(0x28a)],zt())),_0x12ffe0=Math['max'](0x1,Q(_0x1a2c46['height'],Bt()));if(_0x524de9[_0x18bcee(0x3ad)](),_0x524de9[_0x18bcee(0x39d)]=X[_0x18bcee(0x163)],_0x524de9['lineWidth']=X[_0x18bcee(0x1db)]/_0x419c6d,_0x524de9['strokeStyle']=X['primaryColor'],_0x524de9[_0x18bcee(0x19e)]=X[_0x18bcee(0x2a7)],this[_0x18bcee(0x2f1)](_0x524de9,{'left':_0x467b6f,'top':_0x46401a,'width':_0xdc8e81,'height':_0x12ffe0},_0x419c6d),this[_0x18bcee(0x266)](_0x524de9,_0x419c6d),this[_0x18bcee(0x19c)][_0x18bcee(0x353)]===!0x1)return _0x524de9[_0x18bcee(0x3ab)](),this[_0x18bcee(0x32a)](!0x1),this;Z(_0x524de9,_0x467b6f,_0x46401a,_0xdc8e81,_0x12ffe0,X[_0x18bcee(0x3dc)]),_0x524de9['fill'](),_0x524de9[_0x18bcee(0x18b)]();let _0x18054a=this[_0x18bcee(0x19c)][_0x18bcee(0x383)],_0x572e35=Number[_0x18bcee(0x20e)](_0x18054a==null?void 0x0:_0x18054a[_0x18bcee(0x312)])&&((_0x43555f=_0x18054a==null?void 0x0:_0x18054a[_0x18bcee(0x312)])==null?0x0:_0x43555f)>0x0?_0x18054a[_0x18bcee(0x312)]:0x10,_0x3c1adf=X[_0x18bcee(0x341)]/_0x419c6d;return _0x524de9[_0x18bcee(0x19e)]=(_0x184992=_0x18054a==null?void 0x0:_0x18054a[_0x18bcee(0x23d)])==null?X[_0x18bcee(0x1df)]:_0x184992,_0x524de9['font']=It(X[_0x18bcee(0x3cb)],_0x572e35,_0x419c6d),_0x524de9[_0x18bcee(0x385)]=Vt(_0x18054a==null?void 0x0:_0x18054a[_0x18bcee(0x2b7)]),_0x524de9[_0x18bcee(0x1ad)]=_0x18bcee(0x3bd),_0x524de9[_0x18bcee(0x3b5)]((_0x18054a==null?void 0x0:_0x18054a[_0x18bcee(0x1ed)])||_0x775f9b,Ht(_0x467b6f,_0xdc8e81,_0x18054a==null?void 0x0:_0x18054a['horizontalAlign'],_0x3c1adf),_0x46401a+_0x12ffe0/0x2,Math[_0x18bcee(0x18f)](0x1,_0xdc8e81-_0x3c1adf*0x2)),_0x524de9[_0x18bcee(0x3ab)](),this[_0x18bcee(0x32a)](!0x1),this;}[_0x1bfc49(0x373)](){const _0x3bb4d2=_0x1bfc49;var _0x148c8c;let _0x2432f3=this['_state'][_0x3bb4d2(0x2ff)],_0x394a13=Number['isFinite'](this[_0x3bb4d2(0x19c)]['zoomRatio'])&&((_0x148c8c=this[_0x3bb4d2(0x19c)][_0x3bb4d2(0x1d7)])==null?0x0:_0x148c8c)>0x0?this[_0x3bb4d2(0x19c)][_0x3bb4d2(0x1d7)]:0x1,_0x23bebf=X[_0x3bb4d2(0x1ac)]/_0x394a13;if(!_0x2432f3)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0xbf6cbf=Q(_0x2432f3['left'],0x0),_0x369b13=Q(_0x2432f3[_0x3bb4d2(0x1ba)],0x0),_0x556eb8=Math['max'](0x1,Q(_0x2432f3['width'],zt())),_0x24441a=Math[_0x3bb4d2(0x18f)](0x1,Q(_0x2432f3[_0x3bb4d2(0x27e)],Bt())),_0x247593=this['_state'][_0x3bb4d2(0x284)],_0x5da7f1=this['_state'][_0x3bb4d2(0x334)],_0x158f5b=Q(_0x247593==null?void 0x0:_0x247593[_0x3bb4d2(0x33e)],_0xbf6cbf),_0xe9a474=Q(_0x247593==null?void 0x0:_0x247593[_0x3bb4d2(0x1ba)],_0x369b13),_0x44a66f=Math[_0x3bb4d2(0x18f)](0x1,Q(_0x247593==null?void 0x0:_0x247593['width'],_0x556eb8)),_0x255589=Math[_0x3bb4d2(0x18f)](0x1,Q(_0x247593==null?void 0x0:_0x247593[_0x3bb4d2(0x27e)],_0x24441a));if(!_0x5da7f1){let _0x3be98e=Math[_0x3bb4d2(0x3ce)](_0xbf6cbf,_0x158f5b)-_0x23bebf,_0x6adc3b=Math[_0x3bb4d2(0x3ce)](_0x369b13,_0xe9a474)-_0x23bebf,_0x196ad7=Math[_0x3bb4d2(0x18f)](_0xbf6cbf+_0x556eb8,_0x158f5b+_0x44a66f)+_0x23bebf,_0x17af63=Math['max'](_0x369b13+_0x24441a,_0xe9a474+_0x255589)+_0x23bebf;return{'left':_0x3be98e,'top':_0x6adc3b,'width':_0x196ad7-_0x3be98e,'height':_0x17af63-_0x6adc3b};}let _0x3a1da5=Q(_0x5da7f1[_0x3bb4d2(0x33e)],_0xbf6cbf),_0xc9e1df=Q(_0x5da7f1[_0x3bb4d2(0x1ba)],_0x369b13),_0x2c8635=Math[_0x3bb4d2(0x18f)](0x1,Q(_0x5da7f1[_0x3bb4d2(0x28a)],zt())),_0x5120f5=Math['max'](0x1,Q(_0x5da7f1[_0x3bb4d2(0x27e)],Bt())),_0x362326=Math['min'](_0xbf6cbf,_0x3a1da5,_0x158f5b)-_0x23bebf,_0x27ded5=Math[_0x3bb4d2(0x3ce)](_0x369b13,_0xc9e1df,_0xe9a474)-_0x23bebf,_0x21d172=Math[_0x3bb4d2(0x18f)](_0xbf6cbf+_0x556eb8,_0x3a1da5+_0x2c8635,_0x158f5b+_0x44a66f)+_0x23bebf,_0x36ad48=Math['max'](_0x369b13+_0x24441a,_0xc9e1df+_0x5120f5,_0xe9a474+_0x255589)+_0x23bebf;return{'left':_0x362326,'top':_0x27ded5,'width':_0x21d172-_0x362326,'height':_0x36ad48-_0x27ded5};}['_drawSourceHighlight'](_0x1b8cd3,_0x552e65){const _0x444125=_0x1bfc49;var _0x33ee7c;let _0x3b7f91=this[_0x444125(0x19c)][_0x444125(0x284)];if(!_0x3b7f91)return;let _0x5b6185=X['sourceHaloScreen']/_0x552e65,_0x35f4d2=Q(_0x3b7f91[_0x444125(0x33e)],0x0)-_0x5b6185,_0x236029=Q(_0x3b7f91[_0x444125(0x1ba)],0x0)-_0x5b6185,_0x5b201d=Math[_0x444125(0x18f)](0x1,Q(_0x3b7f91[_0x444125(0x28a)],zt()))+_0x5b6185*0x2,_0x393f5a=Math[_0x444125(0x18f)](0x1,Q(_0x3b7f91[_0x444125(0x27e)],Bt()))+_0x5b6185*0x2;_0x1b8cd3['save'](),_0x1b8cd3['globalAlpha']=0x1,_0x1b8cd3[_0x444125(0x31a)]=X['lineWidthScreen']/_0x552e65,_0x1b8cd3['strokeStyle']=X[_0x444125(0x1c8)],_0x1b8cd3[_0x444125(0x19e)]=X[_0x444125(0x2b4)],(_0x33ee7c=_0x1b8cd3['setLineDash'])==null||_0x33ee7c[_0x444125(0x3c7)](_0x1b8cd3,X[_0x444125(0x216)][_0x444125(0x288)](_0x406c4f=>_0x406c4f/_0x552e65)),Z(_0x1b8cd3,_0x35f4d2,_0x236029,_0x5b201d,_0x393f5a,X['rootRadius']),_0x1b8cd3[_0x444125(0x1f5)](),_0x1b8cd3[_0x444125(0x18b)](),_0x1b8cd3['restore']();}['_drawConnectorPreview'](_0x4c307b,_0x2a928b,_0x317b5d){const _0x37b3d0=_0x1bfc49;var _0x4f537b;let _0x259119=this['_state']['parentBounds'];if(!_0x259119)return;let _0x2c273e=Q(_0x259119[_0x37b3d0(0x33e)],0x0),_0x5e7893=Q(_0x259119[_0x37b3d0(0x1ba)],0x0),_0x396112=Math[_0x37b3d0(0x18f)](0x1,Q(_0x259119[_0x37b3d0(0x28a)],zt())),_0x5d6064=Math[_0x37b3d0(0x18f)](0x1,Q(_0x259119['height'],Bt())),_0x2655ca=X[_0x37b3d0(0x3a2)],_0x1dbb80=(_0x4f537b=this[_0x37b3d0(0x19c)]['side'])==null?'right':_0x4f537b;if(_0x4c307b['save'](),_0x4c307b[_0x37b3d0(0x39d)]=X[_0x37b3d0(0x1c7)],_0x4c307b[_0x37b3d0(0x226)]=X[_0x37b3d0(0x23c)],_0x4c307b[_0x37b3d0(0x31a)]=X[_0x37b3d0(0x1db)]/_0x317b5d,_0x4c307b[_0x37b3d0(0x26d)]='round',_0x4c307b[_0x37b3d0(0x379)]=_0x37b3d0(0x207),_0x4c307b[_0x37b3d0(0x2d8)](),_0x1dbb80==='top'||_0x1dbb80===_0x37b3d0(0x3ef)){let _0x15b8b7=_0x2c273e+_0x396112/0x2,_0x1c9d23=_0x2a928b[_0x37b3d0(0x33e)]+_0x2a928b['width']/0x2,_0xd8b383=_0x1dbb80==='bottom'?_0x5e7893+_0x5d6064:_0x5e7893,_0x5975b9=_0x1dbb80===_0x37b3d0(0x3ef)?_0x2a928b['top']:_0x2a928b[_0x37b3d0(0x1ba)]+_0x2a928b[_0x37b3d0(0x27e)],_0xd3e08d=_0x1dbb80===_0x37b3d0(0x3ef)?Math[_0x37b3d0(0x3ce)](_0xd8b383+_0x2655ca,(_0xd8b383+_0x5975b9)/0x2):Math[_0x37b3d0(0x18f)](_0xd8b383-_0x2655ca,(_0xd8b383+_0x5975b9)/0x2);_0x4c307b[_0x37b3d0(0x230)](_0x15b8b7,_0xd8b383),_0x4c307b[_0x37b3d0(0x2f3)](_0x15b8b7,_0xd3e08d),_0x4c307b[_0x37b3d0(0x2f3)](_0x1c9d23,_0xd3e08d),_0x4c307b['lineTo'](_0x1c9d23,_0x5975b9);}else{let _0x22b4fb=_0x5e7893+_0x5d6064/0x2,_0x18ed0e=_0x2a928b[_0x37b3d0(0x1ba)]+_0x2a928b['height']/0x2,_0x3c3342=_0x1dbb80===_0x37b3d0(0x13e)?_0x2c273e+_0x396112:_0x2c273e,_0x20144e=_0x1dbb80===_0x37b3d0(0x13e)?_0x2a928b[_0x37b3d0(0x33e)]:_0x2a928b[_0x37b3d0(0x33e)]+_0x2a928b[_0x37b3d0(0x28a)],_0x3299d9=_0x1dbb80==='right'?Math['min'](_0x3c3342+_0x2655ca,(_0x3c3342+_0x20144e)/0x2):Math['max'](_0x3c3342-_0x2655ca,(_0x3c3342+_0x20144e)/0x2);_0x4c307b[_0x37b3d0(0x230)](_0x3c3342,_0x22b4fb),_0x4c307b[_0x37b3d0(0x2f3)](_0x3299d9,_0x22b4fb),_0x4c307b[_0x37b3d0(0x2f3)](_0x3299d9,_0x18ed0e),_0x4c307b[_0x37b3d0(0x2f3)](_0x20144e,_0x18ed0e);}_0x4c307b[_0x37b3d0(0x18b)](),_0x4c307b[_0x37b3d0(0x3ab)]();}};function Wt(_0x444274,_0x5f4bad){const _0x115874=_0x1bfc49;var _0x21b0ce;return(_0x21b0ce=_0x5f4bad==null?void 0x0:_0x5f4bad[_0x444274[_0x115874(0x1a7)]])==null?_0x444274[_0x115874(0x30c)][_0x115874(0x3ec)]:_0x21b0ce;}function Gt(_0x5b7c3f,_0x20fb7d){const _0x6d77f6=_0x1bfc49;var _0x52c7ad,_0x40a973,_0x14f749,_0x2ef74a;let _0x4c029e=Wt(_0x5b7c3f,_0x20fb7d);return{'x':((_0x52c7ad=_0x4c029e['left'])==null?0x0:_0x52c7ad)+((_0x40a973=_0x4c029e[_0x6d77f6(0x28a)])==null?0x0:_0x40a973)/0x2,'y':((_0x14f749=_0x4c029e[_0x6d77f6(0x1ba)])==null?0x0:_0x14f749)+((_0x2ef74a=_0x4c029e[_0x6d77f6(0x27e)])==null?0x0:_0x2ef74a)/0x2};}function Kt(_0x4ea703,_0x4ef2d9){return Math['hypot'](_0x4ea703['x']-_0x4ef2d9['x'],_0x4ea703['y']-_0x4ef2d9['y']);}function qt(_0x1fbba2,_0x30dda4){const _0x47b159=_0x1bfc49;var _0x18252b,_0x1d17a1,_0x1eeaad,_0x285e34,_0x54b058,_0x1ddc15,_0x4f81c1,_0x1202a9;let _0x20f681=(_0x18252b=_0x1fbba2[_0x47b159(0x33e)])==null?0x0:_0x18252b,_0x43492f=(_0x1d17a1=_0x1fbba2['top'])==null?0x0:_0x1d17a1,_0x457f0c=_0x20f681+((_0x1eeaad=_0x1fbba2[_0x47b159(0x28a)])==null?0x0:_0x1eeaad),_0x433b57=_0x43492f+((_0x285e34=_0x1fbba2[_0x47b159(0x27e)])==null?0x0:_0x285e34),_0x134852=(_0x54b058=_0x30dda4[_0x47b159(0x33e)])==null?0x0:_0x54b058,_0x3d5286=(_0x1ddc15=_0x30dda4[_0x47b159(0x1ba)])==null?0x0:_0x1ddc15,_0x475929=_0x134852+((_0x4f81c1=_0x30dda4[_0x47b159(0x28a)])==null?0x0:_0x4f81c1),_0x480d77=_0x3d5286+((_0x1202a9=_0x30dda4['height'])==null?0x0:_0x1202a9),_0x5724f1=Math[_0x47b159(0x18f)](_0x134852-_0x457f0c,_0x20f681-_0x475929,0x0),_0x18dbc2=Math[_0x47b159(0x18f)](_0x3d5286-_0x433b57,_0x43492f-_0x480d77,0x0);return Math[_0x47b159(0x30d)](_0x5724f1,_0x18dbc2);}function Jt(_0x533f47,_0x40c14e,_0x52f777){const _0x2ff2f7=_0x1bfc49;var _0xeefa19;let _0x5184a3=_0x4b908c((_0xeefa19=_0x533f47[_0x40c14e])==null?void 0x0:_0xeefa19['element']);for(;_0x5184a3!=null&&_0x5184a3[_0x2ff2f7(0x19f)];){var _0x503cf5;if(_0x5184a3['parentNodeId']===_0x52f777)return!0x0;_0x5184a3=_0x4b908c((_0x503cf5=_0x533f47[_0x5184a3['parentNodeId']])==null?void 0x0:_0x503cf5[_0x2ff2f7(0x30c)]);}return!0x1;}function Yt(_0x479377,_0x237e89,_0x1f7b46){const _0x53a786=_0x1bfc49;var _0x346939,_0x3b8a35;let _0x32b255=Wt(_0x479377,_0x1f7b46),_0x30d8d9=(_0x346939=_0x32b255[_0x53a786(0x1ba)])==null?0x0:_0x346939,_0x193ad4=(_0x3b8a35=_0x32b255[_0x53a786(0x27e)])==null?0x0:_0x3b8a35;return _0x193ad4<=0x0?null:_0x237e89['y']<=_0x30d8d9+_0x193ad4/0x3?_0x53a786(0x220):_0x237e89['y']>=_0x30d8d9+_0x193ad4*0x2/0x3?_0x53a786(0x3fc):null;}function Xt(_0x2e5131,_0x5e3280){const _0x1b0fd4=_0x1bfc49;let _0x405e0d=_0x5e3280==null?void 0x0:_0x5e3280[_0x2e5131];return Number[_0x1b0fd4(0x20e)](_0x405e0d==null?void 0x0:_0x405e0d[_0x1b0fd4(0x33e)])&&Number[_0x1b0fd4(0x20e)](_0x405e0d==null?void 0x0:_0x405e0d[_0x1b0fd4(0x1ba)])?{'kind':_0x1b0fd4(0x36c),'left':_0x405e0d['left'],'top':_0x405e0d['top']}:{'kind':_0x1b0fd4(0x36c)};}function _0x3cc1(_0x1b7aa2,_0x484a6e){_0x1b7aa2=_0x1b7aa2-0x125;const _0x822b09=_0x822b();let _0x3cc1d7=_0x822b09[_0x1b7aa2];return _0x3cc1d7;}function Zt(_0x371801,_0x5f308c,_0x2cd770){const _0x18dfec=_0x1bfc49;let _0x10bb0e=_0x371801[_0x5f308c],_0x2a893e=_0x4b908c(_0x10bb0e==null?void 0x0:_0x10bb0e[_0x18dfec(0x30c)]);if(!_0x10bb0e||!_0x2a893e||!_0x2a893e[_0x18dfec(0x19f)]&&!(_0x2cd770!=null&&_0x2cd770[_0x18dfec(0x1a1)]))return{'kind':_0x18dfec(0x329)};let _0x327d71=_0x2cd770==null?void 0x0:_0x2cd770[_0x18dfec(0x3f1)],_0x105ac9=Wt(_0x10bb0e,_0x327d71),_0x119cc2=Gt(_0x10bb0e,_0x327d71),_0x3e1ef3=Object['values'](_0x371801)['map'](_0x50ee84=>{const _0x26df20=_0x18dfec;let _0x2c8e14=_0x4b908c(_0x50ee84[_0x26df20(0x30c)]);return!_0x2c8e14||_0x50ee84[_0x26df20(0x1a7)]===_0x5f308c||_0x50ee84[_0x26df20(0x1a7)]===_0x2a893e[_0x26df20(0x19f)]||_0x2cd770!=null&&_0x2cd770[_0x26df20(0x1a1)]&&!_0x2a893e[_0x26df20(0x19f)]&&_0x2c8e14[_0x26df20(0x1c0)]===_0x2a893e[_0x26df20(0x1c0)]||Jt(_0x371801,_0x50ee84['elementId'],_0x5f308c)?null:{'item':_0x50ee84,'snapDistance':qt(_0x105ac9,Wt(_0x50ee84,_0x327d71)),'center':Gt(_0x50ee84,_0x327d71)};})[_0x18dfec(0x27c)](_0xe97ecf=>!!_0xe97ecf)['sort']((_0x2bb984,_0x5d5b25)=>_0x2bb984['snapDistance']-_0x5d5b25[_0x18dfec(0x37f)]||Kt(_0x119cc2,_0x2bb984['center'])-Kt(_0x119cc2,_0x5d5b25['center']))[0x0];if(_0x3e1ef3&&_0x3e1ef3['snapDistance']<=0x64){let _0x12b985=_0x4b908c(_0x3e1ef3[_0x18dfec(0x364)]['element']),_0x17b5c5=_0x12b985!=null&&_0x12b985['parentNodeId']?Yt(_0x3e1ef3[_0x18dfec(0x364)],_0x119cc2,_0x327d71):null;if(_0x12b985!=null&&_0x12b985[_0x18dfec(0x19f)]&&_0x17b5c5){var _0x374dde;return{'kind':_0x18dfec(0x322),'newParentNodeId':_0x12b985[_0x18dfec(0x19f)],'side':(_0x374dde=_0x12b985[_0x18dfec(0x1b9)])==null?_0x18dfec(0x13e):_0x374dde,'referenceNodeId':_0x3e1ef3['item'][_0x18dfec(0x1a7)],'placement':_0x17b5c5};}return{'kind':_0x18dfec(0x322),'newParentNodeId':_0x3e1ef3[_0x18dfec(0x364)][_0x18dfec(0x1a7)],'side':_0x119cc2['x']<_0x3e1ef3[_0x18dfec(0x3b8)]['x']?_0x18dfec(0x33e):_0x18dfec(0x13e)};}if(_0x2cd770!=null&&_0x2cd770[_0x18dfec(0x2ec)])return Xt(_0x5f308c,_0x327d71);if(!_0x2a893e['parentNodeId'])return{'kind':_0x18dfec(0x329)};let _0x5753a6=_0x371801[_0x2a893e[_0x18dfec(0x19f)]];return _0x5753a6&&Kt(_0x119cc2,Gt(_0x5753a6,_0x327d71))>0x230?Xt(_0x5f308c,_0x327d71):{'kind':'none'};}function Qt(_0x4c1865,_0x41eb8c){const _0x1c4abb=_0x1bfc49;var _0x747daa,_0x38898e;return _0x4c1865[_0x1c4abb(0x1a7)]===_0x41eb8c||((_0x747daa=_0x4b908c(_0x4c1865[_0x1c4abb(0x30c)]))==null?void 0x0:_0x747daa[_0x1c4abb(0x1c0)])===_0x41eb8c||((_0x38898e=_0x576a15(_0x4c1865[_0x1c4abb(0x30c)]))==null?void 0x0:_0x38898e[_0x1c4abb(0x1c0)])===_0x41eb8c;}function $t(_0x3a5ca5,_0x4bb219,_0x41cee7,_0x5451d6){const _0xc342e4=_0x1bfc49;var _0x1373c0,_0x15a7d9,_0x2fa11f,_0x5da1f2,_0x3f82c5,_0x1ad81a;let _0x5e3f8b=_0x3a5ca5[_0x4bb219];if(!_0x5e3f8b)return _0x3a5ca5;let _0x5b3f2b=(_0x1373c0=(_0x15a7d9=_0x5e3f8b[_0xc342e4(0x3ec)])==null?_0x5e3f8b[_0xc342e4(0x30c)]['transform']:_0x15a7d9)==null?{}:_0x1373c0;return{..._0x3a5ca5,[_0x4bb219]:{..._0x5e3f8b,'transform':{..._0x5b3f2b,'left':((_0x2fa11f=_0x5b3f2b[_0xc342e4(0x33e)])==null?0x0:_0x2fa11f)+_0x41cee7,'top':((_0x5da1f2=_0x5b3f2b[_0xc342e4(0x1ba)])==null?0x0:_0x5da1f2)+_0x5451d6},'element':{..._0x5e3f8b[_0xc342e4(0x30c)],'transform':{..._0x5e3f8b['element'][_0xc342e4(0x3ec)],'left':((_0x3f82c5=_0x5e3f8b['element'][_0xc342e4(0x3ec)][_0xc342e4(0x33e)])==null?0x0:_0x3f82c5)+_0x41cee7,'top':((_0x1ad81a=_0x5e3f8b[_0xc342e4(0x30c)][_0xc342e4(0x3ec)][_0xc342e4(0x1ba)])==null?0x0:_0x1ad81a)+_0x5451d6}}}};}function en(_0x35958f){const _0x46f2a4=_0x1bfc49;if(!Number['isFinite'](_0x35958f['liveRootBounds'][_0x46f2a4(0x33e)])||!Number[_0x46f2a4(0x20e)](_0x35958f[_0x46f2a4(0x33d)][_0x46f2a4(0x1ba)])||!Number[_0x46f2a4(0x20e)](_0x35958f[_0x46f2a4(0x346)]['left'])||!Number[_0x46f2a4(0x20e)](_0x35958f[_0x46f2a4(0x346)][_0x46f2a4(0x1ba)]))return null;let _0x5be225=_0x35958f[_0x46f2a4(0x33d)][_0x46f2a4(0x33e)]-_0x35958f[_0x46f2a4(0x346)][_0x46f2a4(0x33e)],_0x347629=_0x35958f['liveRootBounds']['top']-_0x35958f['rootStartBounds'][_0x46f2a4(0x1ba)],_0x36a954=$t(_0x35958f[_0x46f2a4(0x254)],_0x35958f[_0x46f2a4(0x372)],_0x5be225,_0x347629),_0x18bce9=[];return Object[_0x46f2a4(0x2b1)](_0x36a954)[_0x46f2a4(0x29c)](_0xdeff9=>{const _0x35a019=_0x46f2a4;if(_0xdeff9[_0x35a019(0x1a7)]===_0x35958f[_0x35a019(0x32f)]||_0xdeff9['elementId']===_0x35958f[_0x35a019(0x372)]||!Qt(_0xdeff9,_0x35958f['scopeId']))return;if('connectorData'in _0xdeff9[_0x35a019(0x30c)]){var _0x45c98c;let _0x20c636=(_0x45c98c=_0x35958f['elementData'][_0xdeff9[_0x35a019(0x1a7)]])==null?void 0x0:_0x45c98c['element'];_0x20c636&&_0x35a019(0x3b0)in _0x20c636&&_0x18bce9[_0x35a019(0x2af)]({'kind':_0x35a019(0x182),'elementId':_0xdeff9['elementId'],'element':_0x15f431(_0x20c636,{'x':_0x5be225,'y':_0x347629})});return;}let _0x3f0d15=_0x2fc33b(_0x36a954,_0xdeff9[_0x35a019(0x1a7)]);_0x3f0d15&&_0x18bce9['push']({'kind':_0x35a019(0x208),'elementId':_0xdeff9[_0x35a019(0x1a7)],'bounds':_0x3f0d15});}),{'deltaX':_0x5be225,'deltaY':_0x347629,'elementData':_0x36a954,'items':_0x18bce9};}let tn=class extends _0x5b09aa{constructor(_0x3d6a8a,_0x51634b,_0x36899c,_0x28f8f6,_0x2c6f5f,_0x465118){const _0x5e1d03=_0x1bfc49;super(),this[_0x5e1d03(0x2d9)]=_0x3d6a8a,this[_0x5e1d03(0x13a)]=_0x51634b,this[_0x5e1d03(0x29f)]=_0x36899c,this['_commandService']=_0x28f8f6,this[_0x5e1d03(0x382)]=_0x2c6f5f,this[_0x5e1d03(0x2ca)]=_0x465118,K(this,_0x5e1d03(0x380),null),K(this,_0x5e1d03(0x2a1),null),K(this,'_dragPreviewObject',null),K(this,'_childDragActivated',!0x1),K(this,'_lastChildDragAction',null),K(this,_0x5e1d03(0x186),null),K(this,_0x5e1d03(0x3da),!0x1),K(this,'_activePointerDragDisposables',null),K(this,_0x5e1d03(0x178),!0x1),this[_0x5e1d03(0x1f8)]();}[_0x1bfc49(0x1f8)](){const _0x18af00=_0x1bfc49;var _0x2d1928,_0x4ef563,_0x171f84,_0x1d5120,_0x5249c3,_0x1c2619,_0x51676b,_0x410302,_0x4b6ce5,_0xd4a732;let _0x5e0ea2=this[_0x18af00(0x2d9)][_0x18af00(0x247)][_0x18af00(0x400)]();this['disposeWithMe'](_0x34ad80(_0x5e0ea2['changeStart$'][_0x18af00(0x398)](_0x17a1de(this[_0x18af00(0x24b)]))[_0x18af00(0x20c)](()=>{const _0x197f8d=_0x18af00;this[_0x197f8d(0x328)]();}))),this[_0x18af00(0x3ac)](_0x34ad80((_0x2d1928=(_0x4ef563=_0x5e0ea2[_0x18af00(0x204)])==null?void 0x0:_0x4ef563['pipe'](_0x17a1de(this[_0x18af00(0x24b)]))[_0x18af00(0x20c)](_0x2ad1c1=>{const _0x107ce6=_0x18af00;this[_0x107ce6(0x3ba)](_0x2ad1c1==null?void 0x0:_0x2ad1c1[_0x107ce6(0x227)]);}))==null?{'dispose':()=>{}}:_0x2d1928)),this[_0x18af00(0x3ac)](_0x34ad80(_0x5e0ea2[_0x18af00(0x132)][_0x18af00(0x398)](_0x17a1de(this[_0x18af00(0x24b)]))[_0x18af00(0x20c)](_0xf45dad=>{const _0x4d8992=_0x18af00;setTimeout(()=>this[_0x4d8992(0x371)](_0xf45dad==null?void 0x0:_0xf45dad['objects']),0x0);}))),this[_0x18af00(0x3ac)](_0x34ad80((_0x171f84=(_0x1d5120=this[_0x18af00(0x2d9)]['scene'][_0x18af00(0x15c)])==null?void 0x0:_0x1d5120['subscribeEvent']({'priority':0x3,'next':([_0x350a7c])=>this[_0x18af00(0x3b2)](_0x350a7c)}))==null?{'dispose':()=>{}}:_0x171f84)),this[_0x18af00(0x3ac)](_0x34ad80((_0x5249c3=(_0x1c2619=this[_0x18af00(0x2d9)][_0x18af00(0x247)]['onPointerMove$'])==null?void 0x0:_0x1c2619[_0x18af00(0x142)]({'priority':0x3,'next':([_0x351fe9,_0x21e7f4])=>this[_0x18af00(0x1f0)](_0x351fe9,_0x21e7f4)}))==null?{'dispose':()=>{}}:_0x5249c3)),this[_0x18af00(0x3ac)](_0x34ad80((_0x51676b=(_0x410302=this['_renderContext'][_0x18af00(0x247)]['onPointerUp$'])==null?void 0x0:_0x410302['subscribeEvent']({'priority':0x3,'next':([_0x5bba80,_0x272a01])=>this[_0x18af00(0x34f)](_0x5bba80,_0x272a01)}))==null?{'dispose':()=>{}}:_0x51676b)),this[_0x18af00(0x3ac)](_0x34ad80((_0x4b6ce5=(_0xd4a732=this['_renderContext'][_0x18af00(0x247)][_0x18af00(0x214)])==null?void 0x0:_0xd4a732[_0x18af00(0x142)]({'priority':0x3,'next':([,_0x4ea294])=>this['_cancelPointerChildDrag'](_0x4ea294)}))==null?{'dispose':()=>{}}:_0x4b6ce5)),this[_0x18af00(0x3ac)](_0x34ad80(()=>{const _0x1bf1e0=_0x18af00;var _0x22151e;return(_0x22151e=this[_0x1bf1e0(0x186)])==null?void 0x0:_0x22151e['dispose']();})),this['disposeWithMe'](_0x34ad80(()=>this['_disposeActivePointerDragListeners']())),this['_subscribeElementDataChanges'](),this[_0x18af00(0x221)](),this[_0x18af00(0x3ac)](_0x34ad80(()=>this['_removeDragPreviewObject']()));}[_0x1bfc49(0x181)](){const _0x28fc5c=_0x1bfc49;let _0x1ef8df=this[_0x28fc5c(0x13a)],_0x205fa2=_0x3c09bc=>{const _0xb3fc98=_0x28fc5c;let _0x124606=_0x3c09bc==null?void 0x0:_0x3c09bc[_0xb3fc98(0x20c)](()=>this[_0xb3fc98(0x221)]());_0x124606&&this[_0xb3fc98(0x3ac)](_0x34ad80(()=>{const _0x1f1765=_0xb3fc98;var _0x36ab13,_0x4cd0f7;(_0x36ab13=_0x124606[_0x1f1765(0x1b7)])==null||_0x36ab13[_0x1f1765(0x3c7)](_0x124606),(_0x4cd0f7=_0x124606[_0x1f1765(0x125)])==null||_0x4cd0f7[_0x1f1765(0x3c7)](_0x124606);}));};_0x205fa2(_0x1ef8df[_0x28fc5c(0x2b9)]),_0x205fa2(_0x1ef8df['elementUpdate$']),_0x205fa2(_0x1ef8df['elementRemove$']),this[_0x28fc5c(0x29f)]['state$']&&this[_0x28fc5c(0x3ac)](_0x34ad80(this[_0x28fc5c(0x29f)][_0x28fc5c(0x262)][_0x28fc5c(0x398)](_0x17a1de(this[_0x28fc5c(0x24b)]))[_0x28fc5c(0x20c)](()=>{const _0x33e014=_0x28fc5c;this[_0x33e014(0x221)]();})));}[_0x1bfc49(0x221)](){const _0x4244ee=_0x1bfc49;this[_0x4244ee(0x3da)]||(this['_attachObjectPointerScheduled']=!0x0,Promise['resolve']()['then'](()=>this[_0x4244ee(0x23a)]()));}[_0x1bfc49(0x23a)](){const _0x35a578=_0x1bfc49;var _0x4445af;this[_0x35a578(0x3da)]=!0x1;let _0xee314c=this[_0x35a578(0x26e)](),_0x1efa60=this[_0x35a578(0x2d9)][_0x35a578(0x247)];if(!_0xee314c||typeof _0x1efa60['getObject']!=_0x35a578(0x240))return;let _0x25fa5b=this[_0x35a578(0x13a)][_0x35a578(0x25f)](_0xee314c[_0x35a578(0x308)],_0xee314c['subUnitId']),_0x343fec=new _0x437ac0();(_0x4445af=this[_0x35a578(0x186)])==null||_0x4445af[_0x35a578(0x1b7)](),this[_0x35a578(0x186)]=_0x343fec,Object[_0x35a578(0x2b1)](_0x25fa5b)[_0x35a578(0x29c)](_0x30b2b1=>{const _0x4e021d=_0x35a578;var _0x13c7c9,_0x19e274,_0x391ef6;let _0x495054=_0x4b908c(_0x30b2b1['element']);if(!(_0x495054!=null&&_0x495054['parentNodeId']))return;let _0x2dcff9=_0x3f73c8(_0xee314c[_0x4e021d(0x308)],_0x30b2b1[_0x4e021d(0x1a7)]),_0x4d862e=(_0x13c7c9=(_0x19e274=_0x1efa60['getObjectIncludeInGroup'])==null?void 0x0:_0x19e274[_0x4e021d(0x3c7)](_0x1efa60,_0x2dcff9))==null?(_0x391ef6=_0x1efa60[_0x4e021d(0x348)])==null?void 0x0:_0x391ef6[_0x4e021d(0x3c7)](_0x1efa60,_0x2dcff9):_0x13c7c9;_0x4d862e!=null&&_0x4d862e[_0x4e021d(0x15c)]&&_0x343fec[_0x4e021d(0x306)](_0x4d862e[_0x4e021d(0x15c)][_0x4e021d(0x142)]({'priority':-0xa,'next':([_0x4f0489,_0xc0b14e])=>this['_capturePointerChildDragStart'](_0x4f0489,{'unitId':_0xee314c[_0x4e021d(0x308)],'subUnitId':_0xee314c[_0x4e021d(0x25a)],'nodeId':_0x30b2b1['elementId']},_0xc0b14e)}));});}[_0x1bfc49(0x26e)](){const _0x48d4b8=_0x1bfc49;let _0x148005=this[_0x48d4b8(0x29f)][_0x48d4b8(0x37c)]()[_0x48d4b8(0x3b1)];if(_0x148005)return _0x148005;let _0x2663dd=this[_0x48d4b8(0x2d9)][_0x48d4b8(0x308)],_0x5d48c9=_0x2663dd?this[_0x48d4b8(0x2ca)]['getUnit'](_0x2663dd,_0x3a60f9[_0x48d4b8(0x375)]):null,_0xea9108=_0x5d48c9==null?void 0x0:_0x5d48c9[_0x48d4b8(0x38d)]();return!_0x5d48c9||!_0xea9108?null:{'unitId':_0x5d48c9['getUnitId'](),'subUnitId':_0xea9108};}[_0x1bfc49(0x328)](){const _0x59840b=_0x1bfc49;var _0x5c9717,_0x42831c,_0x5275f8,_0xa50f1e,_0x470dce,_0x1caeff,_0x390113,_0x1bf5d9,_0x3eabf8;let _0xddc719=this[_0x59840b(0x29f)][_0x59840b(0x37c)]();this['_childDragActivated']=!0x1,this['_childDragSelectionHidden']=!0x1,this['_lastChildDragAction']=null;let _0x4782ef=_0xddc719[_0x59840b(0x3b1)],_0x5046ec=(_0x5c9717=_0xddc719[_0x59840b(0x2fe)])==null?_0xddc719['selectedIds'][0x0]:_0x5c9717;if(!_0x4782ef||!_0x5046ec||_0xddc719[_0x59840b(0x235)]['length']!==0x1){this['_dragStart']=null,this['_removeDragPreviewObject']();return;}let _0x5080b4=this['_boardElementService']['getElementData'](_0x4782ef['unitId'],_0x4782ef['subUnitId']),_0x1bd92c=_0x5080b4[_0x5046ec],_0x4c4b28=_0x4b908c(_0x1bd92c==null?void 0x0:_0x1bd92c[_0x59840b(0x30c)]);if(!_0x1bd92c||!_0x4c4b28){this['_dragStart']=null,this[_0x59840b(0x343)]();return;}let _0x3dd2db=_0x2fc33b(_0x5080b4,_0x5046ec),_0x27da55=_0x1bd92c['element'][_0x59840b(0x3ec)];this[_0x59840b(0x380)]={'kind':_0x4c4b28[_0x59840b(0x19f)]===null?'root':'child','unitId':_0x4782ef[_0x59840b(0x308)],'subUnitId':_0x4782ef[_0x59840b(0x25a)],'nodeId':_0x5046ec,'scopeId':_0x4c4b28[_0x59840b(0x1c0)],'left':(_0x42831c=(_0x5275f8=_0x3dd2db==null?void 0x0:_0x3dd2db['left'])==null?_0x27da55['left']:_0x5275f8)==null?0x0:_0x42831c,'top':(_0xa50f1e=(_0x470dce=_0x3dd2db==null?void 0x0:_0x3dd2db['top'])==null?_0x27da55[_0x59840b(0x1ba)]:_0x470dce)==null?0x0:_0xa50f1e,'width':(_0x1caeff=(_0x390113=_0x3dd2db==null?void 0x0:_0x3dd2db[_0x59840b(0x28a)])==null?_0x27da55[_0x59840b(0x28a)]:_0x390113)==null?0x0:_0x1caeff,'height':(_0x1bf5d9=(_0x3eabf8=_0x3dd2db==null?void 0x0:_0x3dd2db[_0x59840b(0x27e)])==null?_0x27da55[_0x59840b(0x27e)]:_0x3eabf8)==null?0x0:_0x1bf5d9,'elementData':_0x5080b4};}['_capturePointerChildDragStart'](_0x1dd15f,_0x527223,_0x11b5aa){const _0x57edbd=_0x1bfc49;var _0x1be7e5,_0x102862,_0x4612be,_0x2f6259,_0xc46f4d,_0x1268e9,_0x40e86a,_0x275882,_0x3e24ae,_0x635c0d,_0xe2c95f,_0x25a92d,_0x47394e,_0x3540ec;if(((_0x1be7e5=_0x1dd15f[_0x57edbd(0x2ee)])==null?0x0:_0x1be7e5)!==0x0)return;let _0x47f42c=this[_0x57edbd(0x29f)][_0x57edbd(0x37c)]();if(_0x47f42c[_0x57edbd(0x143)]){this[_0x57edbd(0x2a1)]=null;return;}let _0x5e1fb1=_0x527223?{'unitId':_0x527223[_0x57edbd(0x308)],'subUnitId':_0x527223[_0x57edbd(0x25a)]}:(_0x102862=_0x47f42c[_0x57edbd(0x3b1)])==null?this[_0x57edbd(0x26e)]():_0x102862,_0x5e3f38=(_0x4612be=_0x527223==null?void 0x0:_0x527223[_0x57edbd(0x141)])==null?_0x47f42c[_0x57edbd(0x235)][_0x57edbd(0x157)]===0x1?(_0x2f6259=_0x47f42c[_0x57edbd(0x2fe)])==null?_0x47f42c[_0x57edbd(0x235)][0x0]:_0x2f6259:void 0x0:_0x4612be;if(!_0x5e1fb1){this[_0x57edbd(0x2a1)]=null;return;}let _0x17e8f0=this[_0x57edbd(0x13a)][_0x57edbd(0x25f)](_0x5e1fb1[_0x57edbd(0x308)],_0x5e1fb1[_0x57edbd(0x25a)]),_0x32d6a3=this['_getBoardPointFromEvent'](_0x1dd15f);if(!_0x527223){var _0x5bac23,_0x4c489b,_0x31dab9,_0x237724,_0x57e927;let _0x30d6d9=_0x5e3f38?_0x17e8f0[_0x5e3f38]:null,_0x43539e=_0x4b908c(_0x30d6d9==null?void 0x0:_0x30d6d9['element']),_0x1cd47d=_0x5e3f38?(_0x5bac23=_0x2fc33b(_0x17e8f0,_0x5e3f38))==null?_0x30d6d9==null?void 0x0:_0x30d6d9[_0x57edbd(0x30c)][_0x57edbd(0x3ec)]:_0x5bac23:null;(!(_0x43539e!=null&&_0x43539e[_0x57edbd(0x19f)])||!_0x1cd47d||!this[_0x57edbd(0x3b7)](_0x32d6a3,{'left':(_0x4c489b=_0x1cd47d[_0x57edbd(0x33e)])==null?0x0:_0x4c489b,'top':(_0x31dab9=_0x1cd47d[_0x57edbd(0x1ba)])==null?0x0:_0x31dab9,'width':(_0x237724=_0x1cd47d['width'])==null?0x0:_0x237724,'height':(_0x57e927=_0x1cd47d['height'])==null?0x0:_0x57e927}))&&(_0x5e3f38=this[_0x57edbd(0x3cc)](_0x17e8f0,_0x32d6a3));}if(!_0x5e3f38){this[_0x57edbd(0x2a1)]=null;return;}let _0xe2cadc=_0x17e8f0[_0x5e3f38],_0x2fd72d=_0x4b908c(_0xe2cadc==null?void 0x0:_0xe2cadc[_0x57edbd(0x30c)]);if(!_0xe2cadc||!(_0x2fd72d!=null&&_0x2fd72d['parentNodeId'])){this[_0x57edbd(0x2a1)]=null;return;}(_0xc46f4d=(_0x1268e9=this['_elementStateService'])[_0x57edbd(0x251)])==null||_0xc46f4d[_0x57edbd(0x3c7)](_0x1268e9,_0x5e1fb1,[_0x5e3f38],_0x5e3f38),_0x11b5aa==null||_0x11b5aa['stopPropagation']();let _0x5461b5=_0x2fc33b(_0x17e8f0,_0x5e3f38),_0x4d62ab=_0xe2cadc[_0x57edbd(0x30c)][_0x57edbd(0x3ec)],_0x4dc305={'left':(_0x40e86a=(_0x275882=_0x5461b5==null?void 0x0:_0x5461b5['left'])==null?_0x4d62ab['left']:_0x275882)==null?0x0:_0x40e86a,'top':(_0x3e24ae=(_0x635c0d=_0x5461b5==null?void 0x0:_0x5461b5['top'])==null?_0x4d62ab['top']:_0x635c0d)==null?0x0:_0x3e24ae,'width':(_0xe2c95f=(_0x25a92d=_0x5461b5==null?void 0x0:_0x5461b5[_0x57edbd(0x28a)])==null?_0x4d62ab[_0x57edbd(0x28a)]:_0x25a92d)==null?0x0:_0xe2c95f,'height':(_0x47394e=(_0x3540ec=_0x5461b5==null?void 0x0:_0x5461b5[_0x57edbd(0x27e)])==null?_0x4d62ab[_0x57edbd(0x27e)]:_0x3540ec)==null?0x0:_0x47394e};if(!_0x527223&&!this[_0x57edbd(0x3b7)](_0x32d6a3,_0x4dc305)){this[_0x57edbd(0x2a1)]=null;return;}let _0x35a456=this[_0x57edbd(0x33c)](_0x1dd15f);this[_0x57edbd(0x135)]=!0x1,this[_0x57edbd(0x178)]=!0x1,this['_lastChildDragAction']=null,this[_0x57edbd(0x2a1)]={'kind':_0x57edbd(0x304),'unitId':_0x5e1fb1[_0x57edbd(0x308)],'subUnitId':_0x5e1fb1['subUnitId'],'nodeId':_0x5e3f38,'scopeId':_0x2fd72d[_0x57edbd(0x1c0)],..._0x4dc305,'pointerStartX':_0x35a456['x'],'pointerStartY':_0x35a456['y'],'elementData':_0x17e8f0},this['_attachActivePointerDragListeners'](),this[_0x57edbd(0x17d)](_0x1dd15f,_0x11b5aa);}['_syncPointerChildDragPreview'](_0x15ea97,_0x43faab){const _0x7b41d7=_0x1bfc49;var _0x3b6f02,_0x3566f4;let _0xe0c3a6=this['_pointerDragStart'];if(!_0xe0c3a6||_0x15ea97[_0x7b41d7(0x3dd)]!==void 0x0&&_0x15ea97['buttons']!==0x1)return;let _0x3182d1=this['_getPointerLiveBounds'](_0x15ea97,_0xe0c3a6);if(!this[_0x7b41d7(0x3d2)](_0xe0c3a6,_0x3182d1))return;this['_childDragActivated']||this[_0x7b41d7(0x356)](),this[_0x7b41d7(0x135)]=!0x0;let _0x25d85e=this[_0x7b41d7(0x3d9)](_0xe0c3a6[_0x7b41d7(0x254)],_0xe0c3a6['nodeId'],_0x3182d1),_0x320e3b=Zt(_0xe0c3a6[_0x7b41d7(0x254)],_0xe0c3a6[_0x7b41d7(0x141)],{'boundsByElementId':_0x25d85e,'detachWhenNoSnap':!0x0});this[_0x7b41d7(0x1bb)]=_0x320e3b,this[_0x7b41d7(0x175)](_0x3182d1,_0x320e3b,_0x25d85e),this[_0x7b41d7(0x17d)](_0x15ea97,_0x43faab),this[_0x7b41d7(0x2d9)]['scene']['makeDirty'](!0x0),(_0x3b6f02=(_0x3566f4=this[_0x7b41d7(0x2d9)]['scene'])[_0x7b41d7(0x369)])==null||_0x3b6f02[_0x7b41d7(0x3c7)](_0x3566f4);}['_applyPointerChildDrag'](_0x3f48d8,_0x989b55){const _0x2e6f4f=_0x1bfc49;let _0x38d5fb=this[_0x2e6f4f(0x2a1)];if(!_0x38d5fb)return;if(this[_0x2e6f4f(0x2a1)]=null,this[_0x2e6f4f(0x2ba)](),this[_0x2e6f4f(0x343)](),!this[_0x2e6f4f(0x135)]){this[_0x2e6f4f(0x1bb)]=null;return;}let _0x4041a4=this[_0x2e6f4f(0x13a)][_0x2e6f4f(0x25f)](_0x38d5fb[_0x2e6f4f(0x308)],_0x38d5fb[_0x2e6f4f(0x25a)]),_0x4bf291=this[_0x2e6f4f(0x331)](_0x3f48d8,_0x38d5fb),_0x5a0e57=this[_0x2e6f4f(0x3d9)](_0x4041a4,_0x38d5fb[_0x2e6f4f(0x141)],_0x4bf291),_0x4b00d7=Zt(_0x4041a4,_0x38d5fb['nodeId'],{'boundsByElementId':_0x5a0e57,'detachWhenNoSnap':!0x0});this[_0x2e6f4f(0x1bb)]=null,this['_executeChildDragAction'](_0x38d5fb[_0x2e6f4f(0x308)],_0x38d5fb[_0x2e6f4f(0x25a)],_0x38d5fb[_0x2e6f4f(0x141)],_0x4041a4,_0x4b00d7),this['_childDragSelectionHidden']=!0x1,this['_consumePointerEvent'](_0x3f48d8,_0x989b55);}[_0x1bfc49(0x2d6)](_0x7c4844){const _0x30bad7=_0x1bfc49;let _0x2295e8=this['_pointerDragStart'];if(_0x2295e8){if(this[_0x30bad7(0x2a1)]=null,this[_0x30bad7(0x2ba)](),this['_childDragActivated']=!0x1,this[_0x30bad7(0x1bb)]=null,this['_removeDragPreviewObject'](),this[_0x30bad7(0x178)]){var _0x55551b,_0x512ed2;(_0x55551b=(_0x512ed2=this['_elementStateService'])[_0x30bad7(0x251)])==null||_0x55551b[_0x30bad7(0x3c7)](_0x512ed2,{'unitId':_0x2295e8[_0x30bad7(0x308)],'subUnitId':_0x2295e8[_0x30bad7(0x25a)]},[_0x2295e8[_0x30bad7(0x141)]],_0x2295e8[_0x30bad7(0x141)]),this[_0x30bad7(0x178)]=!0x1;}_0x7c4844==null||_0x7c4844[_0x30bad7(0x2e6)]();}}[_0x1bfc49(0x374)](){const _0x53628e=_0x1bfc49;this[_0x53628e(0x2ba)]();let _0x254d58=typeof window>'u'?null:window;if(!(_0x254d58!=null&&_0x254d58[_0x53628e(0x2bf)]))return;let _0x45fb86=new _0x437ac0(),_0x463b10=_0x31e261=>this[_0x53628e(0x1f0)](_0x31e261),_0x59b078=_0x49d8ec=>this[_0x53628e(0x34f)](_0x49d8ec),_0x3dfe62=()=>this['_cancelPointerChildDrag']();_0x254d58[_0x53628e(0x2bf)]('pointermove',_0x463b10,{'capture':!0x0}),_0x254d58['addEventListener'](_0x53628e(0x1d2),_0x59b078,{'capture':!0x0}),_0x254d58[_0x53628e(0x2bf)](_0x53628e(0x401),_0x3dfe62,{'capture':!0x0}),_0x45fb86[_0x53628e(0x306)](_0x34ad80(()=>{const _0x26048c=_0x53628e;_0x254d58[_0x26048c(0x30a)]('pointermove',_0x463b10,{'capture':!0x0}),_0x254d58[_0x26048c(0x30a)]('pointerup',_0x59b078,{'capture':!0x0}),_0x254d58[_0x26048c(0x30a)](_0x26048c(0x401),_0x3dfe62,{'capture':!0x0});})),this['_activePointerDragDisposables']=_0x45fb86;}['_findChildNodeAtPoint'](_0x4becf0,_0x320a46){const _0x5db394=_0x1bfc49;let _0x2685fd=Object[_0x5db394(0x2b1)](_0x4becf0);for(let _0x2b53a5=_0x2685fd[_0x5db394(0x157)]-0x1;_0x2b53a5>=0x0;--_0x2b53a5){var _0x53d4cb,_0x39889d,_0x16e190,_0x34f634,_0x1fc9bc;let _0xa32447=_0x2685fd[_0x2b53a5],_0x39be3f=_0x4b908c(_0xa32447[_0x5db394(0x30c)]);if(!(_0x39be3f!=null&&_0x39be3f[_0x5db394(0x19f)]))continue;let _0x56466f=(_0x53d4cb=_0x2fc33b(_0x4becf0,_0xa32447[_0x5db394(0x1a7)]))==null?_0xa32447[_0x5db394(0x30c)][_0x5db394(0x3ec)]:_0x53d4cb;if(this['_isPointInBounds'](_0x320a46,{'left':(_0x39889d=_0x56466f[_0x5db394(0x33e)])==null?0x0:_0x39889d,'top':(_0x16e190=_0x56466f['top'])==null?0x0:_0x16e190,'width':(_0x34f634=_0x56466f[_0x5db394(0x28a)])==null?0x0:_0x34f634,'height':(_0x1fc9bc=_0x56466f[_0x5db394(0x27e)])==null?0x0:_0x1fc9bc}))return _0xa32447['elementId'];}}[_0x1bfc49(0x2ba)](){const _0x2ecf55=_0x1bfc49;var _0x1691fa;(_0x1691fa=this[_0x2ecf55(0x185)])==null||_0x1691fa[_0x2ecf55(0x1b7)](),this[_0x2ecf55(0x185)]=null;}[_0x1bfc49(0x3ba)](_0x19042e){const _0x3f0451=_0x1bfc49;let _0x45cbb9=this[_0x3f0451(0x380)];if(_0x45cbb9){if(_0x45cbb9[_0x3f0451(0x244)]===_0x3f0451(0x267)){this[_0x3f0451(0x293)](_0x19042e),this[_0x3f0451(0x1e9)](_0x19042e);return;}this['_syncChildDragPreview'](_0x19042e);}}['_syncRootScopePreview'](_0x1909ca){const _0xaa8c04=_0x1bfc49;let _0x1918e0=this[_0xaa8c04(0x380)];if(!_0x1918e0||_0x1918e0[_0xaa8c04(0x244)]!==_0xaa8c04(0x267))return;let _0x3d8447=_0x1909ca==null?void 0x0:_0x1909ca[_0xaa8c04(0x1f7)](_0x3f73c8(_0x1918e0[_0xaa8c04(0x308)],_0x1918e0[_0xaa8c04(0x141)]));if(!_0x3d8447||!Number[_0xaa8c04(0x20e)](_0x3d8447[_0xaa8c04(0x33e)])||!Number['isFinite'](_0x3d8447[_0xaa8c04(0x1ba)]))return;let _0x5ef218=en({'elementData':_0x1918e0['elementData'],'rootNodeId':_0x1918e0[_0xaa8c04(0x141)],'scopeId':_0x1918e0['scopeId'],'rootStartBounds':{'left':_0x1918e0[_0xaa8c04(0x33e)],'top':_0x1918e0['top']},'liveRootBounds':{'left':_0x3d8447[_0xaa8c04(0x33e)],'top':_0x3d8447[_0xaa8c04(0x1ba)]}});if(!_0x5ef218)return;let _0x6637f3=this[_0xaa8c04(0x2d9)][_0xaa8c04(0x247)],_0x4f7137=_0x6637f3,_0x61acb1=!0x1;_0x5ef218[_0xaa8c04(0x3a5)][_0xaa8c04(0x29c)](_0x69e4a3=>{const _0x209a29=_0xaa8c04;var _0x53cc58,_0x1f3356;let _0x3acc12=_0x3f73c8(_0x1918e0[_0x209a29(0x308)],_0x69e4a3[_0x209a29(0x1a7)]),_0x2cdb02=(_0x53cc58=(_0x1f3356=_0x4f7137['getObjectIncludeInGroup'])==null?void 0x0:_0x1f3356[_0x209a29(0x3c7)](_0x4f7137,_0x3acc12))==null?_0x6637f3['getObject'](_0x3acc12):_0x53cc58;if(_0x2cdb02){if(_0x69e4a3[_0x209a29(0x244)]===_0x209a29(0x182)&&typeof _0x2cdb02[_0x209a29(0x3cd)]==_0x209a29(0x240)){_0x2cdb02[_0x209a29(0x3cd)](_0x69e4a3[_0x209a29(0x30c)],_0x5ef218[_0x209a29(0x254)]),_0x61acb1=!0x0;return;}_0x69e4a3[_0x209a29(0x244)]===_0x209a29(0x208)&&(_0x2cdb02[_0x209a29(0x130)](_0x69e4a3[_0x209a29(0x208)]),typeof _0x2cdb02[_0x209a29(0x2f5)]==_0x209a29(0x240)?_0x2cdb02[_0x209a29(0x2f5)](!0x0):_0x2cdb02['makeDirty'](!0x0),_0x61acb1=!0x0);}}),_0x61acb1&&_0x6637f3[_0xaa8c04(0x32a)](!0x0);}[_0x1bfc49(0x1e9)](_0x3eed4f){const _0x2088e5=_0x1bfc49;var _0x24ed38,_0x2c1467;let _0x5a3d1e=this[_0x2088e5(0x380)];if(!_0x5a3d1e||_0x5a3d1e[_0x2088e5(0x244)]!==_0x2088e5(0x267))return;let _0x36b120=_0x3eed4f==null?void 0x0:_0x3eed4f['get'](_0x3f73c8(_0x5a3d1e[_0x2088e5(0x308)],_0x5a3d1e[_0x2088e5(0x141)]));if(!_0x36b120||!Number['isFinite'](_0x36b120[_0x2088e5(0x33e)])||!Number[_0x2088e5(0x20e)](_0x36b120[_0x2088e5(0x1ba)])){this[_0x2088e5(0x343)]();return;}let _0x27815e=this[_0x2088e5(0x213)](_0x36b120,_0x5a3d1e),_0x504d85=this[_0x2088e5(0x3d9)](_0x5a3d1e['elementData'],_0x5a3d1e['nodeId'],_0x27815e),_0x5667b4=Zt(_0x5a3d1e['elementData'],_0x5a3d1e[_0x2088e5(0x141)],{'boundsByElementId':_0x504d85,'allowRootReparent':!0x0});if(_0x5667b4['kind']!==_0x2088e5(0x322)){this['_removeDragPreviewObject']();return;}let _0x150841=this['_ensureDragPreviewObject']();_0x150841&&(_0x150841[_0x2088e5(0x3af)]({'ghostBounds':_0x27815e,'sourceBounds':null,'parentBounds':_0x504d85[_0x5667b4[_0x2088e5(0x3b3)]],'side':_0x5667b4[_0x2088e5(0x1b9)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this['_renderContext'][_0x2088e5(0x247)]['makeDirty'](!0x0),(_0x24ed38=(_0x2c1467=this[_0x2088e5(0x2d9)][_0x2088e5(0x247)])['requestRender'])==null||_0x24ed38['call'](_0x2c1467));}[_0x1bfc49(0x21b)](_0x2f28af){const _0x13defc=_0x1bfc49;var _0xebd6f0,_0x446a2e;let _0x308073=this[_0x13defc(0x380)];if(!_0x308073||_0x308073[_0x13defc(0x244)]!==_0x13defc(0x304))return;let _0x37dae5=_0x2f28af==null?void 0x0:_0x2f28af[_0x13defc(0x1f7)](_0x3f73c8(_0x308073[_0x13defc(0x308)],_0x308073[_0x13defc(0x141)]));if(!_0x37dae5){this[_0x13defc(0x343)]();return;}let _0x77f19f=this[_0x13defc(0x213)](_0x37dae5,_0x308073);if(!this['_isChildDragPastActivationThreshold'](_0x308073,_0x77f19f)){this[_0x13defc(0x1bb)]=null,this[_0x13defc(0x343)](),this['_restoreObjectToDragStart'](_0x37dae5,_0x308073),this[_0x13defc(0x2d9)][_0x13defc(0x247)][_0x13defc(0x32a)](!0x0);return;}this[_0x13defc(0x135)]||this[_0x13defc(0x356)](),this[_0x13defc(0x135)]=!0x0;let _0x10cf11=this['_createTopologyBoundsByElementId'](_0x308073[_0x13defc(0x254)],_0x308073[_0x13defc(0x141)],_0x77f19f),_0x4c2bc6=Zt(_0x308073['elementData'],_0x308073[_0x13defc(0x141)],{'boundsByElementId':_0x10cf11,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x4c2bc6,this[_0x13defc(0x175)](_0x77f19f,_0x4c2bc6,_0x10cf11),this[_0x13defc(0x2a9)](_0x37dae5,_0x308073),this['_renderContext'][_0x13defc(0x247)]['makeDirty'](!0x0),(_0xebd6f0=(_0x446a2e=this['_renderContext'][_0x13defc(0x247)])[_0x13defc(0x369)])==null||_0xebd6f0[_0x13defc(0x3c7)](_0x446a2e);}[_0x1bfc49(0x371)](_0x4b984d){const _0x6b1eb3=_0x1bfc49;var _0xb31ca5;let _0x158b01=this[_0x6b1eb3(0x29f)][_0x6b1eb3(0x37c)](),_0x1132e1=_0x158b01[_0x6b1eb3(0x3b1)],_0x4747e5=(_0xb31ca5=_0x158b01['focusedId'])==null?_0x158b01['selectedIds'][0x0]:_0xb31ca5;if(!_0x1132e1||!_0x4747e5||_0x158b01[_0x6b1eb3(0x235)][_0x6b1eb3(0x157)]!==0x1){this[_0x6b1eb3(0x343)](),this[_0x6b1eb3(0x380)]=null;return;}this[_0x6b1eb3(0x343)]();let _0x3932a4=this[_0x6b1eb3(0x13a)][_0x6b1eb3(0x25f)](_0x1132e1['unitId'],_0x1132e1[_0x6b1eb3(0x25a)]);if(this[_0x6b1eb3(0x305)](_0x1132e1[_0x6b1eb3(0x308)],_0x1132e1[_0x6b1eb3(0x25a)],_0x4747e5,_0x3932a4,_0x4b984d))return;let _0x115709=this[_0x6b1eb3(0x300)](_0x1132e1[_0x6b1eb3(0x308)],_0x1132e1[_0x6b1eb3(0x25a)],_0x4747e5,_0x3932a4,_0x4b984d);this[_0x6b1eb3(0x311)](_0x1132e1[_0x6b1eb3(0x308)],_0x1132e1['subUnitId'],_0x4747e5,_0x3932a4,_0x115709);}['_executeChildDragAction'](_0x22571c,_0x19e0c8,_0xfc8331,_0x579ff4,_0x2a9f17){const _0x399ce2=_0x1bfc49;if(_0x2a9f17[_0x399ce2(0x244)]===_0x399ce2(0x322)){var _0x540290,_0x5b8f8d;let _0x4abdaa=_0x4b908c((_0x540290=_0x579ff4[_0xfc8331])==null?void 0x0:_0x540290['element']),_0x11da85=_0x4b908c((_0x5b8f8d=_0x579ff4[_0x2a9f17[_0x399ce2(0x3b3)]])==null?void 0x0:_0x5b8f8d['element']);this[_0x399ce2(0x316)](_0x1123f2['id'],{'unitId':_0x22571c,'subUnitId':_0x19e0c8,'nodeId':_0xfc8331,'newParentNodeId':_0x2a9f17['newParentNodeId'],'side':_0x2a9f17['side'],..._0x2a9f17[_0x399ce2(0x3e6)]?{'referenceNodeId':_0x2a9f17[_0x399ce2(0x3e6)]}:null,..._0x2a9f17[_0x399ce2(0x210)]?{'placement':_0x2a9f17['placement']}:null},[_0x4abdaa==null?void 0x0:_0x4abdaa['structureScopeId'],_0x11da85==null?void 0x0:_0x11da85[_0x399ce2(0x1c0)]],_0xfc8331);return;}if(_0x2a9f17[_0x399ce2(0x244)]===_0x399ce2(0x36c)){var _0x531cb1;let _0x19cf17=_0x4b908c((_0x531cb1=_0x579ff4[_0xfc8331])==null?void 0x0:_0x531cb1[_0x399ce2(0x30c)]);this['_executeAndLayout'](_0x1d6084['id'],{'unitId':_0x22571c,'subUnitId':_0x19e0c8,'nodeId':_0xfc8331,...Number[_0x399ce2(0x20e)](_0x2a9f17[_0x399ce2(0x33e)])?{'left':_0x2a9f17[_0x399ce2(0x33e)]}:null,...Number[_0x399ce2(0x20e)](_0x2a9f17[_0x399ce2(0x1ba)])?{'top':_0x2a9f17[_0x399ce2(0x1ba)]}:null},[_0x19cf17==null?void 0x0:_0x19cf17['structureScopeId']],_0xfc8331);}}[_0x1bfc49(0x305)](_0x36f0d7,_0x19c4d0,_0x5d1688,_0x352f73,_0x4e2fb4){const _0x26095e=_0x1bfc49;var _0xac4825,_0x5d5c8e,_0x36b6af,_0x578c70;let _0x21bd2c=this[_0x26095e(0x380)];if((_0x21bd2c==null?void 0x0:_0x21bd2c[_0x26095e(0x244)])===_0x26095e(0x267)&&(this[_0x26095e(0x380)]=null),!_0x21bd2c||_0x21bd2c[_0x26095e(0x308)]!==_0x36f0d7||_0x21bd2c[_0x26095e(0x25a)]!==_0x19c4d0||_0x21bd2c[_0x26095e(0x141)]!==_0x5d1688)return!0x1;let _0x5744d9=_0x352f73[_0x5d1688],_0x3d8a23=_0x4b908c(_0x5744d9==null?void 0x0:_0x5744d9[_0x26095e(0x30c)]);if(!_0x5744d9||!_0x3d8a23||_0x3d8a23[_0x26095e(0x19f)]!==null)return!0x1;let _0x13e5c1=_0x4e2fb4==null?void 0x0:_0x4e2fb4[_0x26095e(0x1f7)](_0x3f73c8(_0x36f0d7,_0x5d1688)),_0x1a4da0=_0x2fc33b(_0x352f73,_0x5d1688),_0x195285=Number[_0x26095e(0x20e)](_0x13e5c1==null?void 0x0:_0x13e5c1['left'])?_0x13e5c1['left']:(_0xac4825=(_0x5d5c8e=_0x1a4da0==null?void 0x0:_0x1a4da0['left'])==null?_0x5744d9[_0x26095e(0x30c)]['transform'][_0x26095e(0x33e)]:_0x5d5c8e)==null?0x0:_0xac4825,_0x5555cb=Number[_0x26095e(0x20e)](_0x13e5c1==null?void 0x0:_0x13e5c1['top'])?_0x13e5c1[_0x26095e(0x1ba)]:(_0x36b6af=(_0x578c70=_0x1a4da0==null?void 0x0:_0x1a4da0[_0x26095e(0x1ba)])==null?_0x5744d9['element'][_0x26095e(0x3ec)][_0x26095e(0x1ba)]:_0x578c70)==null?0x0:_0x36b6af,_0x4d6ff1=_0x195285-_0x21bd2c[_0x26095e(0x33e)],_0x2a7af9=_0x5555cb-_0x21bd2c[_0x26095e(0x1ba)];if(_0x4d6ff1===0x0&&_0x2a7af9===0x0)return!0x0;let _0x5ea5bb={'left':_0x195285,'top':_0x5555cb,'width':Number[_0x26095e(0x20e)](_0x13e5c1==null?void 0x0:_0x13e5c1[_0x26095e(0x28a)])?_0x13e5c1[_0x26095e(0x28a)]:_0x21bd2c[_0x26095e(0x28a)],'height':Number[_0x26095e(0x20e)](_0x13e5c1==null?void 0x0:_0x13e5c1[_0x26095e(0x27e)])?_0x13e5c1['height']:_0x21bd2c[_0x26095e(0x27e)]},_0x3e5459=Zt(_0x352f73,_0x5d1688,{'boundsByElementId':this[_0x26095e(0x3d9)](_0x352f73,_0x5d1688,_0x5ea5bb),'allowRootReparent':!0x0});if(_0x3e5459[_0x26095e(0x244)]==='reparent')return this[_0x26095e(0x311)](_0x36f0d7,_0x19c4d0,_0x5d1688,_0x352f73,_0x3e5459),!0x0;let _0x4b4a60=!!_0x1a4da0&&Math[_0x26095e(0x232)](_0x1a4da0['left']-_0x195285)<0.001&&Math[_0x26095e(0x232)](_0x1a4da0[_0x26095e(0x1ba)]-_0x5555cb)<0.001;return this[_0x26095e(0x3ca)]['executeCommand'](_0x2e2da9['id'],{'unitId':_0x36f0d7,'subUnitId':_0x19c4d0,'scopeId':_0x21bd2c[_0x26095e(0x372)],'deltaX':_0x4d6ff1,'deltaY':_0x2a7af9,..._0x4b4a60?{'excludeElementIds':[_0x5d1688],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x1bfc49(0x300)](_0x54d9e9,_0x4e320b,_0xec3d54,_0x2d130f,_0x4ae569){const _0x5f068b=_0x1bfc49;let _0x42faa9=this['_dragStart'];if(!_0x42faa9||_0x42faa9[_0x5f068b(0x244)]!==_0x5f068b(0x304)||_0x42faa9[_0x5f068b(0x308)]!==_0x54d9e9||_0x42faa9[_0x5f068b(0x25a)]!==_0x4e320b||_0x42faa9[_0x5f068b(0x141)]!==_0xec3d54)return{'kind':'none'};this[_0x5f068b(0x380)]=null;let _0x519fb5=_0x4ae569==null?void 0x0:_0x4ae569['get'](_0x3f73c8(_0x54d9e9,_0xec3d54));if(!this[_0x5f068b(0x135)])return _0x519fb5&&this[_0x5f068b(0x2a9)](_0x519fb5,_0x42faa9),this[_0x5f068b(0x1bb)]=null,{'kind':_0x5f068b(0x329)};if(!_0x519fb5){var _0x210330;let _0x2e53d6=(_0x210330=this[_0x5f068b(0x1bb)])==null?{'kind':_0x5f068b(0x329)}:_0x210330;return this['_lastChildDragAction']=null,_0x2e53d6;}let _0x25b761=this['_getLiveObjectBounds'](_0x519fb5,_0x42faa9);if(this[_0x5f068b(0x2a9)](_0x519fb5,_0x42faa9),!this[_0x5f068b(0x3d2)](_0x42faa9,_0x25b761))return this[_0x5f068b(0x1bb)]=null,{'kind':'none'};let _0x44e294=Zt(_0x2d130f,_0xec3d54,{'boundsByElementId':this[_0x5f068b(0x3d9)](_0x2d130f,_0xec3d54,_0x25b761),'detachWhenNoSnap':!0x0});return this['_lastChildDragAction']=null,_0x44e294;}[_0x1bfc49(0x3d2)](_0x4fa49a,_0x59f599){const _0x4f2528=_0x1bfc49;var _0x2e4853,_0xdd5e84;let _0x4f7c5d=((_0x2e4853=_0x59f599[_0x4f2528(0x33e)])==null?_0x4fa49a['left']:_0x2e4853)-_0x4fa49a[_0x4f2528(0x33e)],_0x2c63e0=((_0xdd5e84=_0x59f599[_0x4f2528(0x1ba)])==null?_0x4fa49a[_0x4f2528(0x1ba)]:_0xdd5e84)-_0x4fa49a[_0x4f2528(0x1ba)];return Math[_0x4f2528(0x30d)](_0x4f7c5d,_0x2c63e0)>=0x12;}[_0x1bfc49(0x331)](_0x582e8b,_0x3d4534){const _0x420105=_0x1bfc49;let _0x283a78=this['_getPointerScreenPoint'](_0x582e8b),_0xe207c=this[_0x420105(0x134)]();return{'left':_0x3d4534[_0x420105(0x33e)]+(_0x283a78['x']-_0x3d4534[_0x420105(0x159)])/_0xe207c,'top':_0x3d4534[_0x420105(0x1ba)]+(_0x283a78['y']-_0x3d4534[_0x420105(0x3a4)])/_0xe207c,'width':_0x3d4534[_0x420105(0x28a)],'height':_0x3d4534[_0x420105(0x27e)]};}[_0x1bfc49(0x133)](_0x5ee00d){const _0x3d4040=_0x1bfc49;var _0x239503,_0x540225,_0x21ad75;let _0x3db28a=this[_0x3d4040(0x382)]['getState'](),_0x15ca64=(_0x239503=_0x3db28a==null?void 0x0:_0x3db28a[_0x3d4040(0x1e7)])==null?{'x':0x0,'y':0x0}:_0x239503,_0xe3f7fc=this[_0x3d4040(0x134)]();return{'x':Math[_0x3d4040(0x207)]((((_0x540225=_0x5ee00d[_0x3d4040(0x154)])==null?0x0:_0x540225)-_0x15ca64['x'])/_0xe3f7fc),'y':Math[_0x3d4040(0x207)]((((_0x21ad75=_0x5ee00d[_0x3d4040(0x12c)])==null?0x0:_0x21ad75)-_0x15ca64['y'])/_0xe3f7fc)};}['_getPointerScreenPoint'](_0xd6b0b3){const _0x1a7cd=_0x1bfc49;var _0x34c56a,_0x3eadf9;return{'x':Number['isFinite'](_0xd6b0b3[_0x1a7cd(0x3de)])?_0xd6b0b3[_0x1a7cd(0x3de)]:(_0x34c56a=_0xd6b0b3[_0x1a7cd(0x154)])==null?0x0:_0x34c56a,'y':Number[_0x1a7cd(0x20e)](_0xd6b0b3[_0x1a7cd(0x2b5)])?_0xd6b0b3[_0x1a7cd(0x2b5)]:(_0x3eadf9=_0xd6b0b3['offsetY'])==null?0x0:_0x3eadf9};}['_getZoomRatio'](){const _0x518cf9=_0x1bfc49;let _0x11f959=this[_0x518cf9(0x382)][_0x518cf9(0x2d3)]()[_0x518cf9(0x1d7)];return Number[_0x518cf9(0x20e)](_0x11f959)&&(_0x11f959==null?0x0:_0x11f959)>0x0?_0x11f959:0x1;}[_0x1bfc49(0x3b7)](_0x3d0f9b,_0x108d32){const _0x4a4a2b=_0x1bfc49;return _0x3d0f9b['x']>=_0x108d32[_0x4a4a2b(0x33e)]&&_0x3d0f9b['x']<=_0x108d32['left']+_0x108d32[_0x4a4a2b(0x28a)]&&_0x3d0f9b['y']>=_0x108d32[_0x4a4a2b(0x1ba)]&&_0x3d0f9b['y']<=_0x108d32['top']+_0x108d32[_0x4a4a2b(0x27e)];}['_consumePointerEvent'](_0xa20bee,_0x1993fb){const _0x543570=_0x1bfc49;var _0x37e9e0,_0x167292;_0x1993fb==null||_0x1993fb[_0x543570(0x2e6)](),_0x1993fb&&(_0x1993fb['skipNextObservers']=!0x0),(_0x37e9e0=_0xa20bee[_0x543570(0x351)])==null||_0x37e9e0['call'](_0xa20bee),(_0x167292=_0xa20bee['stopPropagation'])==null||_0x167292[_0x543570(0x3c7)](_0xa20bee);}[_0x1bfc49(0x356)](){const _0x5b27f2=_0x1bfc49;var _0x1a3281,_0x22ca7f;this[_0x5b27f2(0x178)]||((_0x1a3281=(_0x22ca7f=this['_elementStateService'])[_0x5b27f2(0x1cf)])==null||_0x1a3281[_0x5b27f2(0x3c7)](_0x22ca7f),this[_0x5b27f2(0x178)]=!0x0);}[_0x1bfc49(0x213)](_0x1a222b,_0x5a96d9){const _0x297865=_0x1bfc49;return{'left':Number['isFinite'](_0x1a222b[_0x297865(0x33e)])?_0x1a222b[_0x297865(0x33e)]:_0x5a96d9['left'],'top':Number[_0x297865(0x20e)](_0x1a222b[_0x297865(0x1ba)])?_0x1a222b[_0x297865(0x1ba)]:_0x5a96d9[_0x297865(0x1ba)],'width':Number['isFinite'](_0x1a222b[_0x297865(0x28a)])?_0x1a222b[_0x297865(0x28a)]:_0x5a96d9['width'],'height':Number['isFinite'](_0x1a222b['height'])?_0x1a222b[_0x297865(0x27e)]:_0x5a96d9[_0x297865(0x27e)]};}[_0x1bfc49(0x2a9)](_0x131894,_0x53ac28){const _0x3c702f=_0x1bfc49;typeof _0x131894['transformByState']==_0x3c702f(0x240)&&_0x131894[_0x3c702f(0x130)]({'left':_0x53ac28[_0x3c702f(0x33e)],'top':_0x53ac28['top'],'width':_0x53ac28[_0x3c702f(0x28a)],'height':_0x53ac28[_0x3c702f(0x27e)]}),typeof _0x131894[_0x3c702f(0x2f5)]==_0x3c702f(0x240)?_0x131894[_0x3c702f(0x2f5)](!0x0):typeof _0x131894[_0x3c702f(0x32a)]==_0x3c702f(0x240)&&_0x131894[_0x3c702f(0x32a)](!0x0);}[_0x1bfc49(0x3d9)](_0x1cb461,_0x4bc993,_0x561ec6){const _0x5edaa7=_0x1bfc49;return Object[_0x5edaa7(0x37e)](Object[_0x5edaa7(0x320)](_0x1cb461)[_0x5edaa7(0x288)](_0x1d368c=>{const _0x3c42d6=_0x5edaa7;if(_0x1d368c===_0x4bc993)return[_0x1d368c,_0x561ec6];let _0x2a1f19=_0x2fc33b(_0x1cb461,_0x1d368c);return[_0x1d368c,_0x2a1f19==null?_0x1cb461[_0x1d368c][_0x3c42d6(0x30c)][_0x3c42d6(0x3ec)]:_0x2a1f19];}));}[_0x1bfc49(0x173)](){const _0x18e152=_0x1bfc49;if(this['_dragPreviewObject'])return this[_0x18e152(0x17c)];let _0x2c547e=this[_0x18e152(0x2d9)][_0x18e152(0x247)];return typeof _0x2c547e[_0x18e152(0x2a2)]==_0x18e152(0x240)?(this[_0x18e152(0x17c)]=new Ut(Lt),_0x2c547e[_0x18e152(0x2a2)](this[_0x18e152(0x17c)],Rt),this[_0x18e152(0x17c)]):null;}[_0x1bfc49(0x175)](_0x51ee41,_0x118f40,_0x18a839){const _0x23f9c5=_0x1bfc49;let _0x4a5235=this[_0x23f9c5(0x173)]();_0x4a5235&&_0x4a5235[_0x23f9c5(0x3af)]({'ghostBounds':_0x51ee41,'sourceBounds':this[_0x23f9c5(0x127)](),'parentBounds':_0x118f40[_0x23f9c5(0x244)]===_0x23f9c5(0x322)?_0x18a839[_0x118f40[_0x23f9c5(0x3b3)]]:null,'side':_0x118f40[_0x23f9c5(0x244)]===_0x23f9c5(0x322)?_0x118f40[_0x23f9c5(0x1b9)]:_0x23f9c5(0x13e),'textStyle':this[_0x23f9c5(0x203)](),'renderGhostNode':!0x0});}['_resolvePreviewSourceBounds'](){const _0x7d6ebb=_0x1bfc49;var _0x2f3d46;let _0x2d5843=(_0x2f3d46=this[_0x7d6ebb(0x2a1)])==null?this['_dragStart']:_0x2f3d46;return _0x2d5843?{'left':_0x2d5843['left'],'top':_0x2d5843[_0x7d6ebb(0x1ba)],'width':_0x2d5843[_0x7d6ebb(0x28a)],'height':_0x2d5843['height']}:null;}[_0x1bfc49(0x203)](){const _0xbd8b0c=_0x1bfc49;var _0x2b663c,_0xb6ec91,_0x1b18d5;let _0x4d98a8=(_0x2b663c=this['_pointerDragStart'])==null?this[_0xbd8b0c(0x380)]:_0x2b663c,_0xc13de4=_0x4d98a8==null||(_0xb6ec91=_0x4d98a8[_0xbd8b0c(0x254)][_0x4d98a8[_0xbd8b0c(0x141)]])==null?void 0x0:_0xb6ec91[_0xbd8b0c(0x30c)],_0x18b7bc=_0xc13de4==null||(_0x1b18d5=_0xc13de4[_0xbd8b0c(0x376)])==null?void 0x0:_0x1b18d5[_0xbd8b0c(0x1ea)];if(_0x18b7bc)return{'text':typeof _0x18b7bc[_0xbd8b0c(0x1ed)]==_0xbd8b0c(0x3fa)?_0x18b7bc[_0xbd8b0c(0x1ed)]:void 0x0,'fontSize':Number[_0xbd8b0c(0x20e)](_0x18b7bc[_0xbd8b0c(0x312)])?_0x18b7bc[_0xbd8b0c(0x312)]:void 0x0,'color':typeof _0x18b7bc[_0xbd8b0c(0x23d)]==_0xbd8b0c(0x3fa)?_0x18b7bc[_0xbd8b0c(0x23d)]:void 0x0,'horizontalAlign':Number[_0xbd8b0c(0x20e)](_0x18b7bc[_0xbd8b0c(0x2b7)])?_0x18b7bc[_0xbd8b0c(0x2b7)]:void 0x0};}[_0x1bfc49(0x343)](){const _0x3ad49b=_0x1bfc49;var _0x491e4b,_0x2dc9cf,_0x14a69b;if(!this[_0x3ad49b(0x17c)])return;let _0x5540ef=this['_renderContext'][_0x3ad49b(0x247)];(_0x491e4b=_0x5540ef[_0x3ad49b(0x197)])==null||_0x491e4b['call'](_0x5540ef,[this['_dragPreviewObject']]),this[_0x3ad49b(0x17c)]=null,(_0x2dc9cf=(_0x14a69b=this['_renderContext']['scene'])[_0x3ad49b(0x32a)])==null||_0x2dc9cf[_0x3ad49b(0x3c7)](_0x14a69b,!0x0);}['_executeAndLayout'](_0x297a5a,_0x198267,_0x90af3e,_0x5cbd26){const _0x225a66=_0x1bfc49;let _0x5c0627=[...new Set(_0x90af3e[_0x225a66(0x27c)](_0x1b5ba3=>!!_0x1b5ba3))],_0x17aea0=this['_commandService'][_0x225a66(0x3ae)](_0x297a5a,_0x198267);Promise[_0x225a66(0x1e1)](_0x17aea0)[_0x225a66(0x231)](_0x16a3b8=>{const _0x3325f5=_0x225a66;var _0x492db1,_0x5b7ee5,_0x31b57e,_0x4442c3;if(_0x16a3b8){if(_0x5c0627['forEach'](_0x32c7c6=>{const _0x3aac69=_0x3cc1;this[_0x3aac69(0x3ca)][_0x3aac69(0x3ae)](_0x51487d['id'],{'unitId':_0x198267[_0x3aac69(0x308)],'subUnitId':_0x198267['subUnitId'],'scopeId':_0x32c7c6});}),_0x5cbd26&&typeof _0x198267[_0x3325f5(0x308)]==_0x3325f5(0x3fa)&&typeof _0x198267[_0x3325f5(0x25a)]==_0x3325f5(0x3fa)){var _0x6fc42f,_0x4c0440;(_0x6fc42f=(_0x4c0440=this['_elementStateService'])[_0x3325f5(0x251)])==null||_0x6fc42f[_0x3325f5(0x3c7)](_0x4c0440,{'unitId':_0x198267[_0x3325f5(0x308)],'subUnitId':_0x198267[_0x3325f5(0x25a)]},[_0x5cbd26],_0x5cbd26);}(_0x492db1=(_0x5b7ee5=this['_renderContext'][_0x3325f5(0x247)])[_0x3325f5(0x32a)])==null||_0x492db1[_0x3325f5(0x3c7)](_0x5b7ee5,!0x0),(_0x31b57e=(_0x4442c3=this[_0x3325f5(0x2d9)][_0x3325f5(0x247)])[_0x3325f5(0x369)])==null||_0x31b57e[_0x3325f5(0x3c7)](_0x4442c3);}});}};tn=J([q(0x1,_0xbc3476(_0x295e11)),q(0x2,_0xbc3476(_0x4f61df)),q(0x3,_0x38f57d),q(0x4,_0x1ce780),q(0x5,_0x49e7f1)],tn);const nn='board.mind-map.description-dialog',rn=_0x1bfc49(0x131);function an(_0x4abc4f){const _0x45afc7=_0x1bfc49;let {unitId:_0x1c45d5,subUnitId:_0x34a94b,nodeId:_0x434059,initialDescription:_0x257f69=''}=_0x4abc4f,_0x4d4a70=_0x3c0c33(_0x38f57d),_0x11bf37=_0x3c0c33(_0x59da0c),_0xe0de85=_0x3c0c33(_0x2f4056),[_0x170d4f,_0x384016]=_0xe1173c(_0x257f69),_0x5417e1=()=>_0x11bf37[_0x45afc7(0x315)](rn);return _0x528cbf(_0x45afc7(0x2f6),{'className':_0x45afc7(0x359),'data-board-mind-map-description-dialog':'true','children':[_0x528cbf(_0x45afc7(0x172),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x27e6bc(_0x45afc7(0x2f8),{'className':_0x45afc7(0x39f),'children':_0xe0de85['t'](_0x45afc7(0x392))}),_0x27e6bc(_0x42aebb,{'autoFocus':!0x0,'className':'univer-h-32\x20univer-resize-none\x20univer-text-sm','placeholder':_0xe0de85['t'](_0x45afc7(0x140)),'value':_0x170d4f,'onValueChange':_0x384016})]}),_0x528cbf(_0x45afc7(0x2f6),{'className':_0x45afc7(0x36a),'children':[_0x27e6bc(_0x31b62f,{'size':_0x45afc7(0x24e),'variant':_0x45afc7(0x2c0),'onClick':_0x5417e1,'children':_0xe0de85['t']('boards-mind-ui.cancel')}),_0x27e6bc(_0x31b62f,{'size':_0x45afc7(0x24e),'variant':_0x45afc7(0x13b),'onClick':()=>{const _0x1fd07b=_0x45afc7;_0x4d4a70[_0x1fd07b(0x3ae)](_0x21f908['id'],{'unitId':_0x1c45d5,'subUnitId':_0x34a94b,'nodeId':_0x434059,'foreignAttributes':{'_note':_0x170d4f[_0x1fd07b(0x1bf)]()?_0x170d4f:null}}),_0x5417e1();},'children':_0xe0de85['t'](_0x45afc7(0x330))})]})]});}const on='board.operation.mind-map.keyboard-shortcut',sn={'copy':_0x357a00[_0x1bfc49(0x23f)],'paste':_0x357a00[_0x1bfc49(0x255)],'paste-as-new':_0x357a00['paste'],'add-child':_0x357a00[_0x1bfc49(0x1d9)],'add-sibling-or-child':_0x357a00[_0x1bfc49(0x13d)],'promote':_0x357a00[_0x1bfc49(0x1b4)],'toggle-collapse':_0x357a00['foldChildNodes'],'collapse-all':_0x357a00['collapseAllNodes'],'edit-text':_0x357a00[_0x1bfc49(0x19d)],'open-description':_0x357a00[_0x1bfc49(0x27d)],'delete':_0x1c11b8[_0x1bfc49(0x217)],'arrow-left':_0x1c11b8[_0x1bfc49(0x2ea)],'arrow-right':_0x1c11b8[_0x1bfc49(0x24c)],'arrow-up':_0x1c11b8[_0x1bfc49(0x1ee)],'arrow-down':_0x1c11b8['ARROW_DOWN']},cn={'delete':[_0x1c11b8[_0x1bfc49(0x16e)]]};function ln(_0x41b2a0){var _0x3c4d08;return[sn[_0x41b2a0],...(_0x3c4d08=cn[_0x41b2a0])==null?[]:_0x3c4d08];}let un=class extends _0x5b09aa{constructor(_0x286a00,_0x334264,_0x3fe56b,_0xd8d703,_0x4446d2,_0x5c5a56,_0x43fa56,_0x12a499){const _0x52960e=_0x1bfc49;super(),this[_0x52960e(0x13a)]=_0x286a00,this[_0x52960e(0x29f)]=_0x334264,this[_0x52960e(0x3f2)]=_0x3fe56b,this[_0x52960e(0x249)]=_0xd8d703,this[_0x52960e(0x3ca)]=_0x4446d2,this[_0x52960e(0x35a)]=_0x5c5a56,this[_0x52960e(0x36b)]=_0x43fa56,this[_0x52960e(0x1cd)]=_0x12a499,this['_init']();}[_0x1bfc49(0x1f8)](){const _0x4eaf03=_0x1bfc49;this[_0x4eaf03(0x3ac)](this[_0x4eaf03(0x3ca)][_0x4eaf03(0x1d4)](this['_createKeyboardShortcutOperation']())),this['_createShortcutItems']()['forEach'](_0x37a932=>{const _0x54bf95=_0x4eaf03;this[_0x54bf95(0x3ac)](this[_0x54bf95(0x35a)][_0x54bf95(0x289)](_0x37a932));});}[_0x1bfc49(0x184)](){const _0x336667=_0x1bfc49;return{'id':on,'type':_0xf7f817[_0x336667(0x30f)],'handler':(_0x26b82e,_0xea46e5)=>this[_0x336667(0x2c2)](_0xea46e5==null?void 0x0:_0xea46e5[_0x336667(0x1e2)])};}[_0x1bfc49(0x14b)](){const _0x4b4b3d=_0x1bfc49;let _0x4452ae=(_0x306fc3,_0xf8e9b6)=>({'id':on,'binding':_0x306fc3,'priority':0xa0,'preconditions':()=>!!this['_getSelectedMindMapContext'](),'staticParameters':{'action':_0xf8e9b6}}),_0x525b64=_0x15f54b=>ln(_0x15f54b)[_0x4b4b3d(0x288)](_0x170c77=>_0x4452ae(_0x170c77,_0x15f54b));return[..._0x525b64(_0x4b4b3d(0x23f)),{'id':on,'binding':sn[_0x4b4b3d(0x255)],'priority':0xa0,'preconditions':()=>!!this['_mindMapClipboardService'][_0x4b4b3d(0x28e)]()&&!!this['_getSelectedMindMapContext'](),'staticParameters':{'action':_0x4b4b3d(0x255)}},{'id':on,'binding':sn['paste-as-new'],'priority':0x96,'preconditions':()=>!!this[_0x4b4b3d(0x249)][_0x4b4b3d(0x28e)]()&&!!this['_getBlankBoardContext'](),'staticParameters':{'action':_0x4b4b3d(0x337)}},..._0x525b64('add-child'),..._0x525b64('add-sibling-or-child'),..._0x525b64(_0x4b4b3d(0x2eb)),..._0x525b64(_0x4b4b3d(0x22a)),..._0x525b64(_0x4b4b3d(0x1d0)),..._0x525b64(_0x4b4b3d(0x321)),..._0x525b64('open-description'),..._0x525b64('delete'),..._0x525b64(_0x4b4b3d(0x391)),..._0x525b64(_0x4b4b3d(0x381)),..._0x525b64(_0x4b4b3d(0x34b)),..._0x525b64(_0x4b4b3d(0x3d6))];}[_0x1bfc49(0x2c2)](_0x11feb3){const _0x589a0f=_0x1bfc49;return _0x11feb3===_0x589a0f(0x23f)?this[_0x589a0f(0x22d)]():_0x11feb3==='paste'?this[_0x589a0f(0x1a9)]():_0x11feb3===_0x589a0f(0x337)?this[_0x589a0f(0x264)]():_0x11feb3==='add-child'?this['_addChild']():_0x11feb3===_0x589a0f(0x158)?this['_addSiblingOrChild']():_0x11feb3===_0x589a0f(0x2eb)?this[_0x589a0f(0x2c7)](_0x11db8a['id']):_0x11feb3===_0x589a0f(0x22a)?this[_0x589a0f(0x2c7)](_0x451daf['id']):_0x11feb3===_0x589a0f(0x1d0)?this[_0x589a0f(0x225)]():_0x11feb3===_0x589a0f(0x321)?this[_0x589a0f(0x1e0)]():_0x11feb3==='open-description'?this[_0x589a0f(0x2dc)]():_0x11feb3==='delete'?this[_0x589a0f(0x2c7)](_0x4d46e4['id']):_0x11feb3&&dn(_0x11feb3)?this[_0x589a0f(0x248)](_0x11feb3):!0x1;}['_copySelectedNode'](){const _0x119281=_0x1bfc49;let _0x38fbcc=this[_0x119281(0x1eb)]();return _0x38fbcc?(this['_commandService'][_0x119281(0x3ae)](_0x31a993['id'],{'unitId':_0x38fbcc[_0x119281(0x308)],'subUnitId':_0x38fbcc[_0x119281(0x25a)],'nodeId':_0x38fbcc[_0x119281(0x141)]}),!0x0):!0x1;}[_0x1bfc49(0x1a9)](){const _0x1d802a=_0x1bfc49;let _0x1a76e8=this[_0x1d802a(0x1eb)]();return!_0x1a76e8||!this['_mindMapClipboardService'][_0x1d802a(0x28e)]()?!0x1:(this[_0x1d802a(0x316)](_0x4c0be7['id'],{'unitId':_0x1a76e8[_0x1d802a(0x308)],'subUnitId':_0x1a76e8[_0x1d802a(0x25a)],'targetNodeId':_0x1a76e8[_0x1d802a(0x141)]},_0x1a76e8['scopeId']),!0x0);}[_0x1bfc49(0x264)](){const _0x280bf3=_0x1bfc49;let _0x12a250=this[_0x280bf3(0x24d)]();if(!_0x12a250||!this['_mindMapClipboardService'][_0x280bf3(0x28e)]())return!0x1;let _0x56fd90=this[_0x280bf3(0x3f2)]['getState'](),_0x37aedc=Number[_0x280bf3(0x20e)](_0x56fd90[_0x280bf3(0x1d7)])&&_0x56fd90[_0x280bf3(0x1d7)]>0x0?_0x56fd90[_0x280bf3(0x1d7)]:0x1,_0x5425ff=Math[_0x280bf3(0x207)]((0x40-_0x56fd90[_0x280bf3(0x1e7)]['x'])/_0x37aedc),_0x5a28fa=Math[_0x280bf3(0x207)]((0x40-_0x56fd90[_0x280bf3(0x1e7)]['y'])/_0x37aedc);return this[_0x280bf3(0x3ca)]['executeCommand'](_0x4cf4e2['id'],{'unitId':_0x12a250[_0x280bf3(0x308)],'subUnitId':_0x12a250[_0x280bf3(0x25a)],'left':_0x5425ff,'top':_0x5a28fa}),!0x0;}[_0x1bfc49(0x192)](){const _0x21cde0=_0x1bfc49;let _0x1515c0=this['_getSelectedMindMapContext']();if(!_0x1515c0)return!0x1;let _0x1ffaa4=_0x523736(0x6);return this[_0x21cde0(0x17f)](_0x5c85db['id'],{'unitId':_0x1515c0[_0x21cde0(0x308)],'subUnitId':_0x1515c0[_0x21cde0(0x25a)],'parentNodeId':_0x1515c0[_0x21cde0(0x141)],'nodeId':_0x1ffaa4,'connectorId':_0x523736(0x6)},_0x1515c0[_0x21cde0(0x372)],_0x1ffaa4),!0x0;}['_addSiblingOrChild'](){const _0x1175c6=_0x1bfc49;let _0x54acee=this[_0x1175c6(0x1eb)]();if(!_0x54acee)return!0x1;let _0x201ca6=_0x523736(0x6);return this[_0x1175c6(0x17f)](_0x54acee['isRoot']?_0x5c85db['id']:_0x38e794['id'],{'unitId':_0x54acee['unitId'],'subUnitId':_0x54acee['subUnitId'],..._0x54acee[_0x1175c6(0x3d0)]?{'parentNodeId':_0x54acee[_0x1175c6(0x141)],'nodeId':_0x201ca6}:{'nodeId':_0x54acee[_0x1175c6(0x141)],'siblingNodeId':_0x201ca6},'connectorId':_0x523736(0x6)},_0x54acee[_0x1175c6(0x372)],_0x201ca6),!0x0;}[_0x1bfc49(0x2c7)](_0x1c3e26){const _0x4ddb37=_0x1bfc49;let _0x58ee2e=this[_0x4ddb37(0x1eb)]();return _0x58ee2e?(this['_executeAndLayout'](_0x1c3e26,{'unitId':_0x58ee2e['unitId'],'subUnitId':_0x58ee2e[_0x4ddb37(0x25a)],'nodeId':_0x58ee2e['nodeId']},_0x58ee2e['scopeId']),!0x0):!0x1;}[_0x1bfc49(0x225)](){const _0x2235c6=_0x1bfc49;let _0x55be39=this[_0x2235c6(0x1eb)]();if(!_0x55be39)return!0x1;let _0x56e318=this[_0x2235c6(0x13a)]['getElementData'](_0x55be39['unitId'],_0x55be39['subUnitId']),_0xff871f=Object[_0x2235c6(0x2b1)](_0x56e318)[_0x2235c6(0x288)](_0x20a4a5=>{const _0xdfc1bf=_0x2235c6;let _0x5eab90=_0x4b908c(_0x20a4a5[_0xdfc1bf(0x30c)]);return(_0x5eab90==null?void 0x0:_0x5eab90[_0xdfc1bf(0x1c0)])===_0x55be39[_0xdfc1bf(0x372)]&&this['_getMindMapChildren'](_0x56e318,_0x55be39[_0xdfc1bf(0x372)],_0x20a4a5[_0xdfc1bf(0x1a7)])[_0xdfc1bf(0x157)]>0x0?{'nodeId':_0x20a4a5[_0xdfc1bf(0x1a7)],'collapsed':_0x5eab90['collapsed']}:null;})[_0x2235c6(0x27c)](_0x4e573d=>!!_0x4e573d);if(_0xff871f[_0x2235c6(0x157)]===0x0)return!0x1;let _0x1e82a8=_0xff871f[_0x2235c6(0x2cc)](_0x36b39c=>!_0x36b39c[_0x2235c6(0x3df)]),_0xcb90eb=_0xff871f[_0x2235c6(0x288)](_0x3ca558=>this[_0x2235c6(0x3ca)][_0x2235c6(0x3ae)](_0x451daf['id'],{'unitId':_0x55be39[_0x2235c6(0x308)],'subUnitId':_0x55be39[_0x2235c6(0x25a)],'nodeId':_0x3ca558[_0x2235c6(0x141)],'collapsed':_0x1e82a8}));return Promise['all'](_0xcb90eb[_0x2235c6(0x288)](_0x3ca8d2=>Promise['resolve'](_0x3ca8d2)))[_0x2235c6(0x231)](_0x64b941=>{const _0x2559d3=_0x2235c6;_0x64b941[_0x2559d3(0x2cc)](Boolean)&&this[_0x2559d3(0x3ca)]['executeCommand'](_0x51487d['id'],{'unitId':_0x55be39['unitId'],'subUnitId':_0x55be39[_0x2559d3(0x25a)],'scopeId':_0x55be39[_0x2559d3(0x372)]});}),!0x0;}[_0x1bfc49(0x1e0)](){const _0x445952=_0x1bfc49;let _0x322ec9=this['_getSelectedMindMapContext']();return _0x322ec9?(this['_elementStateService'][_0x445952(0x251)]({'unitId':_0x322ec9[_0x445952(0x308)],'subUnitId':_0x322ec9['subUnitId']},[_0x322ec9[_0x445952(0x141)]],_0x322ec9['nodeId']),this[_0x445952(0x36b)][_0x445952(0x16b)](),this[_0x445952(0x36b)][_0x445952(0x2e0)]({'unitId':_0x322ec9[_0x445952(0x308)],'subUnitId':_0x322ec9[_0x445952(0x25a)],'shapeId':_0x322ec9['nodeId'],'shapeKey':_0x3f73c8(_0x322ec9[_0x445952(0x308)],_0x322ec9[_0x445952(0x141)]),'visible':!0x0}),!0x0):!0x1;}[_0x1bfc49(0x2dc)](){const _0x3faf8c=_0x1bfc49;let _0x5abc49=this[_0x3faf8c(0x1eb)]();return _0x5abc49?(this[_0x3faf8c(0x1cd)][_0x3faf8c(0x278)]({'id':rn,'title':{'title':_0x3faf8c(0x392)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':nn,'unitId':_0x5abc49[_0x3faf8c(0x308)],'subUnitId':_0x5abc49[_0x3faf8c(0x25a)],'nodeId':_0x5abc49[_0x3faf8c(0x141)],'initialDescription':_0x5abc49[_0x3faf8c(0x2bb)]}}),!0x0):!0x1;}[_0x1bfc49(0x248)](_0x337ece){const _0x25a7fa=_0x1bfc49;let _0xde8e79=this[_0x25a7fa(0x1eb)]();if(!_0xde8e79)return!0x1;let _0x1a78b5=this[_0x25a7fa(0x13a)][_0x25a7fa(0x25f)](_0xde8e79[_0x25a7fa(0x308)],_0xde8e79[_0x25a7fa(0x25a)]),_0x2a73e1=_0x1a78b5[_0xde8e79['nodeId']],_0x62de6b=_0x4b908c(_0x2a73e1==null?void 0x0:_0x2a73e1[_0x25a7fa(0x30c)]);if(!_0x2a73e1||!_0x62de6b)return!0x1;let _0x4aa480={'arrow-left':_0x25a7fa(0x3e5),'arrow-right':_0x25a7fa(0x2fd),'arrow-up':_0x25a7fa(0x252),'arrow-down':_0x25a7fa(0x27f)}[_0x337ece];if(!_0x4aa480)return!0x1;let _0xa65985=this[_0x25a7fa(0x246)](_0x1a78b5,_0xde8e79[_0x25a7fa(0x141)],_0x62de6b,_0x4aa480);return _0xa65985?(this[_0x25a7fa(0x29f)][_0x25a7fa(0x251)]({'unitId':_0xde8e79[_0x25a7fa(0x308)],'subUnitId':_0xde8e79[_0x25a7fa(0x25a)]},[_0xa65985],_0xa65985),!0x0):!0x1;}[_0x1bfc49(0x246)](_0x464151,_0x59f7d8,_0x2ab99d,_0x185af4){const _0x53ee54=_0x1bfc49;var _0x5be2f2;let _0x225db6=this[_0x53ee54(0x2ae)](_0x464151,_0x2ab99d[_0x53ee54(0x1c0)],_0x59f7d8);if(_0x2ab99d[_0x53ee54(0x19f)]===null){if(_0x185af4==='ArrowLeft'){var _0x37e3e9,_0x557b25;return(_0x37e3e9=(_0x557b25=_0x225db6['find'](_0x495b05=>{const _0x1569e6=_0x53ee54;var _0x2b7245;return((_0x2b7245=_0x4b908c(_0x495b05[_0x1569e6(0x30c)]))==null?void 0x0:_0x2b7245[_0x1569e6(0x1b9)])===_0x1569e6(0x33e);}))==null?void 0x0:_0x557b25[_0x53ee54(0x1a7)])==null?null:_0x37e3e9;}if(_0x185af4===_0x53ee54(0x2fd)){var _0x498653,_0xfe7bdf;return(_0x498653=(_0xfe7bdf=_0x225db6['find'](_0x54c49a=>{const _0x4d7249=_0x53ee54;var _0x50c3ef,_0x134cb4;return((_0x50c3ef=(_0x134cb4=_0x4b908c(_0x54c49a[_0x4d7249(0x30c)]))==null?void 0x0:_0x134cb4[_0x4d7249(0x1b9)])==null?_0x4d7249(0x13e):_0x50c3ef)==='right';}))==null?void 0x0:_0xfe7bdf['elementId'])==null?null:_0x498653;}return null;}let _0x29aa8b=(_0x5be2f2=_0x2ab99d[_0x53ee54(0x1b9)])==null?_0x53ee54(0x13e):_0x5be2f2,_0xef1312=_0x29aa8b===_0x53ee54(0x13e)?_0x53ee54(0x3e5):_0x53ee54(0x2fd),_0x4a139f=_0x29aa8b==='right'?_0x53ee54(0x2fd):_0x53ee54(0x3e5);if(_0x185af4===_0xef1312)return _0x2ab99d[_0x53ee54(0x19f)];if(_0x185af4===_0x4a139f){var _0x4d4494,_0x40588f;return(_0x4d4494=(_0x40588f=_0x225db6[0x0])==null?void 0x0:_0x40588f[_0x53ee54(0x1a7)])==null?null:_0x4d4494;}if(_0x185af4===_0x53ee54(0x252)||_0x185af4===_0x53ee54(0x27f)){var _0x4ca7f0;let _0xb9d867=this[_0x53ee54(0x2ae)](_0x464151,_0x2ab99d[_0x53ee54(0x1c0)],_0x2ab99d['parentNodeId']),_0x2f40fa=_0xb9d867[_0x53ee54(0x1fc)](_0x39fff8=>_0x39fff8['elementId']===_0x59f7d8),_0x3b32d1=_0x185af4===_0x53ee54(0x252)?_0xb9d867[_0x2f40fa-0x1]:_0xb9d867[_0x2f40fa+0x1];return(_0x4ca7f0=_0x3b32d1==null?void 0x0:_0x3b32d1['elementId'])==null?null:_0x4ca7f0;}return null;}[_0x1bfc49(0x2ae)](_0x526cc3,_0x237503,_0x4c7c62){const _0xc4d00b=_0x1bfc49;return Object[_0xc4d00b(0x2b1)](_0x526cc3)[_0xc4d00b(0x27c)](_0x261d02=>{const _0x2f7f97=_0xc4d00b;let _0x4b3f3b=_0x4b908c(_0x261d02[_0x2f7f97(0x30c)]);return(_0x4b3f3b==null?void 0x0:_0x4b3f3b['structureScopeId'])===_0x237503&&_0x4b3f3b[_0x2f7f97(0x19f)]===_0x4c7c62&&_0x261d02[_0x2f7f97(0x30c)][_0x2f7f97(0x3d7)]!==!0x1;})[_0xc4d00b(0x1f3)]((_0x58b285,_0x57d391)=>{const _0x49baf9=_0xc4d00b;let _0x2a4a43=_0x4b908c(_0x58b285[_0x49baf9(0x30c)]),_0x595cf5=_0x4b908c(_0x57d391['element']);return _0x1f7763(_0x2a4a43==null?void 0x0:_0x2a4a43[_0x49baf9(0x2f9)],_0x595cf5==null?void 0x0:_0x595cf5[_0x49baf9(0x2f9)])||_0x58b285[_0x49baf9(0x1a7)][_0x49baf9(0x170)](_0x57d391[_0x49baf9(0x1a7)]);});}[_0x1bfc49(0x1eb)](){const _0x3fdbc9=_0x1bfc49;var _0x691f53,_0x32b8f6,_0xc1eb24;let _0x50a054=this['_elementStateService'][_0x3fdbc9(0x37c)](),_0x48fe2e=(_0x691f53=_0x50a054[_0x3fdbc9(0x2fe)])==null?_0x50a054[_0x3fdbc9(0x235)][0x0]:_0x691f53;if(!_0x50a054[_0x3fdbc9(0x3b1)]||!_0x48fe2e||_0x50a054[_0x3fdbc9(0x235)][_0x3fdbc9(0x157)]!==0x1||_0x50a054[_0x3fdbc9(0x143)]||_0x50a054[_0x3fdbc9(0x2a4)])return null;let _0x22eb6f=this['_boardElementService'][_0x3fdbc9(0x25f)](_0x50a054[_0x3fdbc9(0x3b1)][_0x3fdbc9(0x308)],_0x50a054['context'][_0x3fdbc9(0x25a)])[_0x48fe2e],_0x4e50f8=_0x4b908c(_0x22eb6f==null?void 0x0:_0x22eb6f[_0x3fdbc9(0x30c)]);return!_0x22eb6f||!_0x4e50f8?null:{'unitId':_0x50a054[_0x3fdbc9(0x3b1)][_0x3fdbc9(0x308)],'subUnitId':_0x50a054['context'][_0x3fdbc9(0x25a)],'nodeId':_0x48fe2e,'scopeId':_0x4e50f8['structureScopeId'],'isRoot':_0x4e50f8[_0x3fdbc9(0x19f)]===null,'description':(_0x32b8f6=(_0xc1eb24=_0x4e50f8[_0x3fdbc9(0x151)])==null?void 0x0:_0xc1eb24['_note'])==null?'':_0x32b8f6};}[_0x1bfc49(0x24d)](){const _0x415ca1=_0x1bfc49;let _0x56f25b=this[_0x415ca1(0x29f)]['getSnapshot']();return!_0x56f25b[_0x415ca1(0x3b1)]||_0x56f25b[_0x415ca1(0x143)]||_0x56f25b[_0x415ca1(0x2a4)]||_0x56f25b['selectedIds'][_0x415ca1(0x157)]>0x0||_0x56f25b[_0x415ca1(0x2fe)]?null:{'unitId':_0x56f25b['context'][_0x415ca1(0x308)],'subUnitId':_0x56f25b[_0x415ca1(0x3b1)][_0x415ca1(0x25a)]};}[_0x1bfc49(0x316)](_0x50f215,_0xa11815,_0x50cfcc){const _0x1d40d4=_0x1bfc49;let _0x7c89d3=this[_0x1d40d4(0x3ca)][_0x1d40d4(0x3ae)](_0x50f215,_0xa11815);Promise[_0x1d40d4(0x1e1)](_0x7c89d3)['then'](_0x49d02f=>{const _0x41ffc2=_0x1d40d4;_0x49d02f&&this[_0x41ffc2(0x3ca)][_0x41ffc2(0x3ae)](_0x51487d['id'],{'unitId':_0xa11815[_0x41ffc2(0x308)],'subUnitId':_0xa11815['subUnitId'],'scopeId':_0x50cfcc});});}[_0x1bfc49(0x17f)](_0x51fb23,_0x483a4f,_0xec9114,_0x3b0276){const _0xf3d62d=_0x1bfc49;let _0xc53f68={'unitId':_0x483a4f[_0xf3d62d(0x308)],'subUnitId':_0x483a4f[_0xf3d62d(0x25a)]},_0x4d7ad6=this['_commandService'][_0xf3d62d(0x3ae)](_0x51fb23,_0x483a4f);Promise[_0xf3d62d(0x1e1)](_0x4d7ad6)[_0xf3d62d(0x231)](_0x337713=>{const _0x275bab=_0xf3d62d;_0x337713&&(this[_0x275bab(0x3ca)][_0x275bab(0x3ae)](_0x51487d['id'],{..._0xc53f68,'scopeId':_0xec9114}),this[_0x275bab(0x29f)]['selectElements'](_0xc53f68,[_0x3b0276],_0x3b0276),this[_0x275bab(0x36b)][_0x275bab(0x16b)](),this[_0x275bab(0x36b)][_0x275bab(0x2e0)]({..._0xc53f68,'shapeId':_0x3b0276,'shapeKey':_0x3f73c8(_0xc53f68[_0x275bab(0x308)],_0x3b0276),'visible':!0x0}));});}};un=J([q(0x0,_0xbc3476(_0x295e11)),q(0x1,_0xbc3476(_0x4f61df)),q(0x2,_0xbc3476(_0x1ce780)),q(0x3,_0xbc3476(_0x5a568b)),q(0x4,_0x38f57d),q(0x5,_0x419aaa),q(0x6,_0xbc3476(_0x1cecde)),q(0x7,_0x59da0c)],un);function dn(_0x56747f){const _0x11c5f6=_0x1bfc49;return _0x56747f===_0x11c5f6(0x391)||_0x56747f===_0x11c5f6(0x381)||_0x56747f===_0x11c5f6(0x34b)||_0x56747f===_0x11c5f6(0x3d6);}const fn=_0x1bfc49(0x168),pn={'min':0x1,'max':0x5,'defaultValue':0x3},mn={'min':0x0,'max':0x64,'defaultValue':0x64},hn={'fill':_0x1bfc49(0x2d0),'fontColor':_0x1bfc49(0x160),'line':_0x1bfc49(0x3d1),'stroke':'boards-mind-ui.toolbar.action.stroke','typography':_0x1bfc49(0x1e3)},gn=[{'kind':_0x1bfc49(0x16f),'titleKey':_0x1bfc49(0x32b),'panel':_0x1bfc49(0x1bd)},{'kind':_0x1bfc49(0x29d),'titleKey':_0x1bfc49(0x19a)},{'kind':_0x1bfc49(0x1be),'titleKey':_0x1bfc49(0x234)},{'kind':_0x1bfc49(0x16f),'titleKey':_0x1bfc49(0x161),'panel':_0x1bfc49(0x1a4),'dividerBefore':!0x0}],_n={'addSibling':_0x1bfc49(0x158),'addChild':_0x1bfc49(0x165),'copy':_0x1bfc49(0x23f),'paste':_0x1bfc49(0x255),'delete':'delete'},vn=[{'key':'mind-map','title':_0x1bfc49(0x332),'items':[{'value':_0x1bfc49(0x1a5),'icon':_0x1bfc49(0x1a5)},{'value':_0x1bfc49(0x318),'icon':_0x1bfc49(0x318)}]},{'key':'tree-diagram','title':_0x1bfc49(0x180),'items':[{'value':_0x1bfc49(0x30e),'icon':'tree-right'},{'value':_0x1bfc49(0x29e),'icon':_0x1bfc49(0x29e)},{'value':_0x1bfc49(0x14e),'icon':_0x1bfc49(0x14e)}]},{'key':_0x1bfc49(0x295),'title':_0x1bfc49(0x3be),'items':[{'value':_0x1bfc49(0x3e4),'icon':_0x1bfc49(0x3e4)},{'value':_0x1bfc49(0x25e),'icon':'timeline-vertical'}]}],yn={'key':'branch','title':_0x1bfc49(0x20b),'items':[{'value':_0x1bfc49(0x1b3),'icon':_0x1bfc49(0x12b)},{'value':_0x1bfc49(0x299),'icon':_0x1bfc49(0x366)},{'value':'orthogonal','icon':'branch-orthogonal'}]};function bn(_0x5dc277,_0x4c3547){const _0x255ef9=_0x1bfc49;_0x5dc277[_0x255ef9(0x3ae)](on,{'action':_0x4c3547});}const xn={'line':_0x4ccb89,'more':_0x49021c};function Sn(_0x519075){const _0x30d978=_0x1bfc49;_0x519075['stopPropagation'](),_0x519075[_0x30d978(0x351)]();}function Cn(_0x5865b9,_0x9a6a43=_0x1bfc49(0x37a),_0x10f529){return _0x27e6bc(_0x1f8b97,{'children':_0x27e6bc(_0x5865b9,{'className':_0x9a6a43,'extend':_0x10f529})});}function wn(_0x145ce2){const _0x1370e5=_0x1bfc49;var _0x2693f0,_0x555deb,_0x1f7570,_0x279bb6,_0x305aa4,_0x1b6bde,_0x4be58b,_0x5b125c;let _0x13b42c=(_0x2693f0=_0x145ce2==null?void 0x0:_0x145ce2[_0x1370e5(0x1ea)])==null?{}:_0x2693f0,_0x1229c3=_0x13b42c[_0x1370e5(0x327)]&&typeof _0x13b42c['dataModel']==_0x1370e5(0x2e2)?_0x13b42c[_0x1370e5(0x327)]:{},_0x3312cf=(_0x555deb=_0x1229c3['doc'])==null||(_0x555deb=_0x555deb[_0x1370e5(0x395)])==null?void 0x0:_0x555deb[_0x1370e5(0x383)];return{'color':typeof _0x13b42c['color']==_0x1370e5(0x3fa)?_0x13b42c[_0x1370e5(0x23d)]:(_0x1f7570=_0x3312cf==null||(_0x279bb6=_0x3312cf['cl'])==null?void 0x0:_0x279bb6[_0x1370e5(0x200)])==null?_0x624c0a:_0x1f7570,'fontSize':typeof _0x13b42c[_0x1370e5(0x312)]==_0x1370e5(0x3a6)?_0x13b42c[_0x1370e5(0x312)]:typeof(_0x3312cf==null?void 0x0:_0x3312cf['fs'])==_0x1370e5(0x3a6)?_0x3312cf['fs']:_0x574b80['fs'],'horizontalAlign':(_0x305aa4=(_0x1b6bde=_0x13b42c[_0x1370e5(0x2b7)])==null?_0x1229c3['ha']:_0x1b6bde)==null?_0x353905[_0x1370e5(0x36f)]:_0x305aa4,'textFill':_0x13b42c[_0x1370e5(0x129)]&&typeof _0x13b42c[_0x1370e5(0x129)]=='object'?_0x13b42c[_0x1370e5(0x129)]:_0x3312cf==null?void 0x0:_0x3312cf['textFill'],'verticalAlign':(_0x4be58b=(_0x5b125c=_0x13b42c[_0x1370e5(0x319)])==null?_0x1229c3['va']:_0x5b125c)==null?_0x5d386b[_0x1370e5(0x3c1)]:_0x4be58b};}function Tn(_0x1b45d7,_0x225a04){const _0x5b2f7a=_0x1bfc49;if(!_0x225a04)return;let _0x4ed975=ln(_0x225a04);if(!_0x4ed975[_0x5b2f7a(0x157)])return;let _0x427693=_0x4ed975[_0x5b2f7a(0x288)](_0x18585d=>{const _0x5363b1=_0x5b2f7a;var _0x484b57;return(_0x484b57=_0x1b45d7[_0x5363b1(0x361)]({'id':_0x5363b1(0x16a),'binding':_0x18585d,'staticParameters':{'action':_0x225a04}}))==null?void 0x0:_0x484b57;})[_0x5b2f7a(0x27c)](_0xaafe13=>!!_0xaafe13);return _0x427693[_0x5b2f7a(0x157)]?[...new Set(_0x427693)]['join']('/'):void 0x0;}async function En(_0x52a31c,_0x16c1a3){const _0x20708b=_0x1bfc49;return await Promise[_0x20708b(0x1e1)](_0x52a31c[_0x20708b(0x3ae)](_0x2a6047['id'],_0x16c1a3))?(await Promise[_0x20708b(0x1e1)](_0x52a31c[_0x20708b(0x3ae)](_0x51487d['id'],{'unitId':_0x16c1a3['unitId'],'subUnitId':_0x16c1a3['subUnitId'],'scopeId':_0x16c1a3[_0x20708b(0x372)]})),!0x0):!0x1;}async function Dn(_0x470295,_0x13d528){const _0x38d25e=_0x1bfc49;return await Promise[_0x38d25e(0x1e1)](_0x470295[_0x38d25e(0x3ae)](_0x38032b['id'],_0x13d528))?(await Promise[_0x38d25e(0x1e1)](_0x470295[_0x38d25e(0x3ae)](_0x51487d['id'],{'unitId':_0x13d528['unitId'],'subUnitId':_0x13d528[_0x38d25e(0x25a)],'scopeId':_0x13d528[_0x38d25e(0x372)]})),!0x0):!0x1;}function On({className:_0x2f1c01=_0x1bfc49(0x37a)}){const _0x132014=_0x1bfc49;return _0x27e6bc(_0x1f8b97,{'children':_0x528cbf(_0x132014(0x3c5),{'className':_0x2f1c01,'viewBox':_0x132014(0x147),'fill':_0x132014(0x329),'aria-hidden':_0x132014(0x2d7),'children':[_0x27e6bc(_0x132014(0x18a),{'d':_0x132014(0x2b6),'stroke':_0x132014(0x14c),'strokeWidth':_0x132014(0x150),'strokeLinecap':_0x132014(0x207)}),_0x27e6bc(_0x132014(0x18a),{'d':_0x132014(0x25c),'stroke':_0x132014(0x14c),'strokeWidth':_0x132014(0x150),'strokeLinecap':'round'}),_0x27e6bc('path',{'d':_0x132014(0x148),'stroke':_0x132014(0x14c),'strokeWidth':_0x132014(0x150),'strokeLinecap':'round'})]})});}function kn({icon:_0x32b63b}){const _0x5df55c=_0x1bfc49;let _0x1b622b=_0x5df55c(0x323),_0x41e299={'stroke':_0x5df55c(0x14c),'strokeWidth':2.6,'strokeLinecap':_0x5df55c(0x207),'strokeLinejoin':_0x5df55c(0x207)},_0x3977c9={'stroke':_0x1b622b,'strokeWidth':3.2,'strokeLinecap':_0x5df55c(0x207)};return _0x528cbf(_0x5df55c(0x3c5),{'className':_0x5df55c(0x358),'viewBox':_0x5df55c(0x177),'fill':_0x5df55c(0x329),'aria-hidden':_0x5df55c(0x2d7),'children':[_0x32b63b===_0x5df55c(0x1a5)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x169),..._0x41e299}),_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x292),..._0x3977c9})]}),_0x32b63b===_0x5df55c(0x318)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x2dd),..._0x41e299}),_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x199),'stroke':_0x1b622b,'strokeWidth':2.6,'strokeLinecap':_0x5df55c(0x207),'strokeDasharray':'6\x207'})]}),_0x32b63b===_0x5df55c(0x30e)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x243),..._0x41e299}),_0x27e6bc('path',{'d':'M47\x2025h13M47\x2035h13M47\x2045h13',..._0x3977c9}),_0x27e6bc('circle',{'cx':'24','cy':'12','r':'3','fill':_0x5df55c(0x14c)})]}),_0x32b63b===_0x5df55c(0x29e)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x2a5),..._0x41e299}),_0x27e6bc('path',{'d':_0x5df55c(0x397),..._0x3977c9}),_0x27e6bc(_0x5df55c(0x3e1),{'cx':'56','cy':'12','r':'3','fill':_0x5df55c(0x14c)})]}),_0x32b63b===_0x5df55c(0x14e)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x1b1),..._0x41e299}),_0x27e6bc('path',{'d':_0x5df55c(0x156),..._0x3977c9}),_0x27e6bc(_0x5df55c(0x3e1),{'cx':'42','cy':'12','r':'3','fill':_0x5df55c(0x14c)})]}),_0x32b63b===_0x5df55c(0x3e4)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x25d),..._0x41e299}),_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x35d),..._0x3977c9}),_0x27e6bc(_0x5df55c(0x3e1),{'cx':'17','cy':'31','r':'3','fill':_0x5df55c(0x14c)})]}),_0x32b63b===_0x5df55c(0x25e)&&_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x19b),..._0x41e299}),_0x27e6bc(_0x5df55c(0x18a),{'d':'M56\x2039h11M13\x2050h11',..._0x3977c9}),_0x27e6bc(_0x5df55c(0x3e1),{'cx':'40','cy':'9','r':'3','fill':_0x5df55c(0x14c)})]}),_0x32b63b===_0x5df55c(0x12b)&&_0x27e6bc(_0x177b6a,{'children':_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x242),..._0x41e299})}),_0x32b63b===_0x5df55c(0x366)&&_0x27e6bc(_0x177b6a,{'children':_0x27e6bc(_0x5df55c(0x18a),{'d':_0x5df55c(0x34a),..._0x41e299})}),_0x32b63b===_0x5df55c(0x3c9)&&_0x27e6bc(_0x177b6a,{'children':_0x27e6bc(_0x5df55c(0x18a),{'d':'M17\x2033h21M38\x2017v30M38\x2017h24',..._0x41e299})})]});}function An(_0x474bdc,_0x3c06b5){const _0x2404d9=_0x1bfc49;let _0x365661=_0x474bdc[_0x2404d9(0x383)],_0x566580=_0x39a0aa(_0x365661),_0x52feea={..._0x566580[_0x2404d9(0x23d)]===void 0x0?null:{'color':_0x566580['color']},..._0x566580['fontFamily']===void 0x0?null:{'fontFamily':_0x566580[_0x2404d9(0x390)]},..._0x566580[_0x2404d9(0x312)]===void 0x0?null:{'fontSize':_0x566580[_0x2404d9(0x312)]},..._0x566580['bold']===void 0x0?null:{'bold':_0x566580[_0x2404d9(0x174)]},..._0x566580[_0x2404d9(0x2cf)]===void 0x0?null:{'italic':_0x566580[_0x2404d9(0x2cf)]},..._0x566580[_0x2404d9(0x1fb)]===void 0x0?null:{'underline':_0x566580[_0x2404d9(0x1fb)]},..._0x566580['strikethrough']===void 0x0?null:{'strikethrough':_0x566580['strikethrough']},..._0x566580[_0x2404d9(0x129)]===void 0x0?null:{'textFill':_0x566580[_0x2404d9(0x129)]}};_0x474bdc[_0x2404d9(0x2b7)]!==void 0x0&&(_0x52feea[_0x2404d9(0x2b7)]=_0x474bdc[_0x2404d9(0x2b7)]),_0x474bdc[_0x2404d9(0x319)]!==void 0x0&&(_0x52feea['verticalAlign']=_0x474bdc[_0x2404d9(0x319)]),Object['keys'](_0x52feea)[_0x2404d9(0x157)]>0x0&&_0x3c06b5({'textStyle':_0x52feea});}function jn(_0x41e2e2,_0x14bf8e,_0xcf60db){const _0x380c26=_0x1bfc49;var _0x2f7bee,_0x5f423a;let _0x192c76=_0x41e2e2==null?{}:_0x41e2e2,_0x170234=_0x5f276f(_0x192c76,_0x14bf8e),_0x454388=(_0x2f7bee=(_0x5f423a=_0x170234['shapeText'])==null?_0x192c76[_0x380c26(0x1ea)]:_0x5f423a)==null?{}:_0x2f7bee;return{..._0x192c76,..._0x170234,'shapeText':{..._0x454388,..._0xcf60db[_0x380c26(0x23d)]===void 0x0?null:{'color':_0xcf60db[_0x380c26(0x23d)]},..._0xcf60db[_0x380c26(0x312)]===void 0x0?null:{'fontSize':_0xcf60db[_0x380c26(0x312)]},..._0xcf60db['bold']===void 0x0?null:{'bold':_0xcf60db[_0x380c26(0x174)]},..._0xcf60db[_0x380c26(0x2cf)]===void 0x0?null:{'italic':_0xcf60db[_0x380c26(0x2cf)]},..._0xcf60db['underline']===void 0x0?null:{'underline':_0xcf60db['underline']},..._0xcf60db[_0x380c26(0x1c5)]===void 0x0?null:{'strikethrough':_0xcf60db[_0x380c26(0x1c5)]},..._0xcf60db[_0x380c26(0x2b7)]===void 0x0?null:{'horizontalAlign':_0xcf60db[_0x380c26(0x2b7)]},..._0xcf60db[_0x380c26(0x319)]===void 0x0?null:{'verticalAlign':_0xcf60db[_0x380c26(0x319)]},..._0xcf60db[_0x380c26(0x129)]===void 0x0?null:{'textFill':_0xcf60db[_0x380c26(0x129)]}}};}function Mn(_0x1d2da6,_0x4c91a8){const _0x48509c=_0x1bfc49;let _0x2fcd82=_0x1d2da6==null?void 0x0:_0x1d2da6[_0x48509c(0x18b)];_0x2fcd82&&_0x4c91a8({'lineType':_0x2fcd82['dashType']===_0xfd6ed7['RoundDot']||_0x2fcd82[_0x48509c(0x2e4)]===_0xfd6ed7[_0x48509c(0x3e8)]?_0x48509c(0x344):_0x2fcd82[_0x48509c(0x2e4)]===_0xfd6ed7[_0x48509c(0x1f4)]?_0x48509c(0x20a):'solid',...typeof _0x2fcd82['width']==_0x48509c(0x3a6)?{'strokeWidth':_0x2fcd82['width']}:null,...typeof _0x2fcd82[_0x48509c(0x23d)]=='string'?{'stroke':_0x2fcd82[_0x48509c(0x23d)]}:null,...typeof _0x2fcd82[_0x48509c(0x2c3)]==_0x48509c(0x3a6)?{'opacity':_0x2fcd82[_0x48509c(0x2c3)]}:null});}function Nn(_0x289651){const _0x117a47=_0x1bfc49;return _0x289651!=null&&_0x289651[_0x117a47(0x157)]?_0x289651[0x0]<=0x2?_0xfd6ed7['RoundDot']:_0xfd6ed7[_0x117a47(0x1f4)]:_0xfd6ed7['Solid'];}function Pn(_0x2401b9){const _0x411e1f=_0x1bfc49;var _0x25e865,_0x204827,_0x5cdc17;return{'stroke':{'lineStrokeType':_0x39d97e[_0x411e1f(0x233)],'dashType':Nn(_0x2401b9==null?void 0x0:_0x2401b9[_0x411e1f(0x20a)]),'color':(_0x25e865=_0x2401b9==null?void 0x0:_0x2401b9[_0x411e1f(0x18b)])==null?_0x49b5d4:_0x25e865,'width':(_0x204827=_0x2401b9==null?void 0x0:_0x2401b9[_0x411e1f(0x194)])==null?pn[_0x411e1f(0x287)]:_0x204827,'opacity':(_0x5cdc17=_0x2401b9==null?void 0x0:_0x2401b9[_0x411e1f(0x2c3)])==null?mn['defaultValue']/0x64:_0x5cdc17}};}function Fn(_0x12e5a2){const _0x5ae3ad=_0x1bfc49;var _0x10951c,_0x39d3d9,_0x34c5f7,_0x1e12c4,_0xf13802,_0x35e0bd;let _0x9e3745=_0x3c0c33(_0x38f57d),_0x4af8bf=_0x3c0c33(_0x419aaa),_0x20a561=_0x3c0c33(_0x2f4056),[_0x2df9e1,_0x4d68dd]=_0xe1173c(null),[_0x4bf578,_0x18562d]=_0xe1173c((_0x10951c=_0x12e5a2[_0x5ae3ad(0x23e)][_0x5ae3ad(0x1fa)])==null?void 0x0:_0x10951c[_0x5ae3ad(0x376)]),_0xb96ff2=_0x12e5a2['popup']['extraProps'];if(!_0xb96ff2)return null;let _0x3b699b={'unitId':_0xb96ff2['unitId'],'subUnitId':_0xb96ff2['subUnitId']},_0x4db9cb=_0x119785=>{const _0x540aa9=_0x5ae3ad;_0x9e3745['executeCommand'](_0x21f908['id'],{..._0x3b699b,'nodeId':_0xb96ff2[_0x540aa9(0x1a7)],..._0x119785});},_0x63260d=(_0x1eb891,_0x46b2f4)=>{const _0x675b0b=_0x5ae3ad;let _0x125f9d=_0x46b2f4==null?{}:_0x46b2f4;_0x18562d(_0x7cbf78=>({..._0x7cbf78==null?{}:_0x7cbf78,..._0x125f9d})),_0x4db9cb({..._0x125f9d['fill']===void 0x0?null:{'fill':_0x125f9d[_0x675b0b(0x1f5)]},..._0x125f9d['stroke']===void 0x0?null:{'stroke':_0x125f9d[_0x675b0b(0x18b)]}});},_0x374269=_0x21300a=>{const _0x496a2e=_0x5ae3ad;_0x9e3745[_0x496a2e(0x3ae)](_0x245059['id'],{..._0x3b699b,'nodeId':_0xb96ff2[_0x496a2e(0x1a7)],'style':_0x21300a});},_0x1baa91=Pn(_0xb96ff2[_0x5ae3ad(0x35f)]),_0x2d21e5=_0x24acb3=>Tn(_0x4af8bf,_0x24acb3),_0x223d76=_0x1e7711=>{bn(_0x9e3745,_0x1e7711);},_0x558655=(_0x39d3d9=_0x4bf578==null?void 0x0:_0x4bf578[_0x5ae3ad(0x1ea)])==null?{}:_0x39d3d9,_0x1875a5=wn(_0x4bf578),_0x4a2c62=_0x193c2b=>{An(_0x193c2b,_0x21501b=>{const _0x2d4d9f=_0x3cc1;_0x18562d(_0x338a1f=>jn(_0x338a1f,_0x193c2b,_0x21501b[_0x2d4d9f(0x383)])),_0x4db9cb(_0x21501b);});},_0x567f49=[{'label':_0x20a561['t'](_0x5ae3ad(0x209)),'value':_0x353905[_0x5ae3ad(0x36f)],'icon':_0x27e6bc(_0x2a33e2,{})},{'label':_0x20a561['t'](_0x5ae3ad(0x256)),'value':_0x353905['CENTER'],'icon':_0x27e6bc(_0x2337d4,{})},{'label':_0x20a561['t'](_0x5ae3ad(0x2aa)),'value':_0x353905[_0x5ae3ad(0x190)],'icon':_0x27e6bc(_0x132e50,{})},{'label':_0x20a561['t']('boards-mind-ui.alignJustify'),'value':_0x353905[_0x5ae3ad(0x1ab)],'icon':_0x27e6bc(_0x441a79,{})}],_0x1c85eb=[{'label':_0x20a561['t']('boards-mind-ui.alignTop'),'value':_0x5d386b[_0x5ae3ad(0x3c6)],'icon':_0x27e6bc(_0x53628a,{})},{'label':_0x20a561['t'](_0x5ae3ad(0x237)),'value':_0x5d386b[_0x5ae3ad(0x3c1)],'icon':_0x27e6bc(_0x11ed3f,{})},{'label':_0x20a561['t'](_0x5ae3ad(0x3f9)),'value':_0x5d386b[_0x5ae3ad(0x2d4)],'icon':_0x27e6bc(_0x343605,{})}],_0x5ae4c0=()=>{_0x223d76('add-sibling-or-child');},_0x12d7ea=()=>{const _0x425411=_0x5ae3ad;_0x223d76(_0x425411(0x165));},_0x160596=()=>{const _0x8a4ac8=_0x5ae3ad;_0x223d76(_0x8a4ac8(0x23f));},_0x4d4b58=()=>{const _0x165bb6=_0x5ae3ad;_0x223d76(_0x165bb6(0x255));},_0x38fbf1=()=>{_0x223d76('delete');},_0x560649=(_0x34c5f7=(_0x1e12c4=_0xb96ff2['layout'])==null?void 0x0:_0x1e12c4[_0x5ae3ad(0x14f)])==null?_0x133f51[_0x5ae3ad(0x14f)]:_0x34c5f7,_0x59c664=_0x5079ad(_0x560649,(_0xf13802=(_0x35e0bd=_0xb96ff2[_0x5ae3ad(0x3eb)])==null?void 0x0:_0x35e0bd['branchLineType'])==null?_0x133f51['branchLineType']:_0xf13802),_0x490bd1=_0x3012ea=>{const _0x76262b=_0x5ae3ad;let _0x549a7a=_0x5079ad(_0x3012ea,_0x59c664);En(_0x9e3745,{..._0x3b699b,'scopeId':_0xb96ff2[_0x76262b(0x372)],'structureKind':_0x3012ea,..._0x549a7a===_0x59c664?null:{'branchLineType':_0x549a7a}}),_0x4d68dd(null);},_0x1f7d26=_0x3afa0b=>{const _0x30bd98=_0x5ae3ad;Dn(_0x9e3745,{..._0x3b699b,'scopeId':_0xb96ff2[_0x30bd98(0x372)],'branchLineType':_0x3afa0b}),_0x4d68dd(null);},_0x22e402=(_0xfed6e6,_0x52de4f,_0x54d6d9,_0x14f759=!0x1)=>_0x27e6bc(_0x5ae3ad(0x2ee),{'type':_0x5ae3ad(0x2ee),'disabled':_0x14f759,'className':_0x43dfcf('univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-white',_0x52de4f&&_0x5ae3ad(0x1c2),_0x14f759&&_0x5ae3ad(0x22b)),'onMouseDown':Sn,'onPointerDown':Sn,'onClick':_0x3db326=>{const _0x2af611=_0x5ae3ad;_0x3db326[_0x2af611(0x2e6)](),!_0x14f759&&_0x54d6d9();},'children':_0x27e6bc(kn,{'icon':_0xfed6e6[_0x5ae3ad(0x2ed)]})},_0xfed6e6['value']),_0x441d04=()=>_0x528cbf(_0x5ae3ad(0x2f6),{'className':'univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','onMouseDown':_0x23ad21=>_0x23ad21['stopPropagation'](),'onPointerDown':_0x152d05=>_0x152d05[_0x5ae3ad(0x2e6)](),'children':[vn[_0x5ae3ad(0x288)](_0x142fc6=>_0x528cbf('div',{'className':_0x5ae3ad(0x265),'children':[_0x27e6bc('div',{'className':_0x5ae3ad(0x2b0),'children':_0x142fc6[_0x5ae3ad(0x16c)]}),_0x27e6bc(_0x5ae3ad(0x2f6),{'className':_0x5ae3ad(0x2db),'style':{'gridTemplateColumns':'repeat('+_0x142fc6['items'][_0x5ae3ad(0x157)]+_0x5ae3ad(0x1f1)},'children':_0x142fc6[_0x5ae3ad(0x3a5)]['map'](_0x687666=>_0x22e402(_0x687666,_0x687666[_0x5ae3ad(0x31d)]===_0x560649,()=>_0x490bd1(_0x687666[_0x5ae3ad(0x31d)])))})]},_0x142fc6[_0x5ae3ad(0x211)])),_0x27e6bc(_0x39b257,{}),_0x528cbf('div',{'className':'univer-mb-0','children':[_0x27e6bc(_0x5ae3ad(0x2f6),{'className':_0x5ae3ad(0x2b0),'children':yn[_0x5ae3ad(0x16c)]}),_0x27e6bc(_0x5ae3ad(0x2f6),{'className':_0x5ae3ad(0x2db),'style':{'gridTemplateColumns':_0x5ae3ad(0x39a)+yn[_0x5ae3ad(0x3a5)][_0x5ae3ad(0x157)]+_0x5ae3ad(0x1f1)},'children':yn[_0x5ae3ad(0x3a5)][_0x5ae3ad(0x288)](_0x14c044=>_0x22e402(_0x14c044,_0x14c044['value']===_0x59c664,()=>_0x1f7d26(_0x14c044[_0x5ae3ad(0x31d)]),_0x14c044['value']==='curve'&&!_0x26dc5f(_0x560649)))})]})]}),_0x417f48=_0x3a880d=>{const _0x158b63=_0x5ae3ad;switch(_0x3a880d){case'line':return _0x27e6bc(_0x26c312,{'titleKey':hn[_0x158b63(0x1bd)],'shapeData':_0x1baa91,'modeOptions':[_0x158b63(0x3cf),'dash',_0x158b63(0x344)],'showDashDropdown':!0x1,'widthRange':{'min':pn[_0x158b63(0x3ce)],'max':pn[_0x158b63(0x18f)],'step':0x1},'onUpdateShapeData':(_0x27c417,_0x141a22)=>{Mn(_0x141a22,_0x374269);}});case _0x158b63(0x1a4):return _0x27e6bc(_0x26d4c6,{'titleKey':_0x158b63(0x1ae),'minWidthClassName':'univer-min-w-[240px]','children':_0x528cbf(_0x158b63(0x2f6),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[_0x27e6bc(_0x108fb2,{'labelKey':_0x158b63(0x38f),'shortcut':_0x2d21e5(_n[_0x158b63(0x350)]),'onClick':_0x5ae4c0}),_0x27e6bc(_0x108fb2,{'labelKey':_0x158b63(0x1c4),'shortcut':_0x2d21e5(_n[_0x158b63(0x2ac)]),'onClick':_0x12d7ea}),_0x27e6bc(_0x39b257,{}),_0x27e6bc(_0x108fb2,{'labelKey':_0x158b63(0x12e),'shortcut':_0x2d21e5(_n[_0x158b63(0x23f)]),'onClick':_0x160596}),_0x27e6bc(_0x108fb2,{'labelKey':_0x158b63(0x17e),'shortcut':_0x2d21e5(_n['paste']),'onClick':_0x4d4b58}),_0x27e6bc(_0x108fb2,{'labelKey':_0x158b63(0x183),'shortcut':_0x2d21e5(_n['delete']),'onClick':_0x38fbf1})]})});default:return null;}},_0x63b19d=gn[_0x5ae3ad(0x271)](_0x535909=>{const _0x2d53e3=_0x5ae3ad;let _0x150922=[];if(_0x535909[_0x2d53e3(0x2e3)]&&_0x150922[_0x2d53e3(0x2af)](_0x27e6bc(_0x39b257,{'orientation':_0x2d53e3(0x3f6)},_0x2d53e3(0x275)+_0x535909['kind'])),_0x535909[_0x2d53e3(0x244)]===_0x2d53e3(0x1be))return _0x150922[_0x2d53e3(0x2af)](_0x27e6bc(_0x209f87,{'titleKey':hn[_0x2d53e3(0x1be)],'textStyle':{'isBold':_0x558655[_0x2d53e3(0x174)]===!0x0,'isItalic':_0x558655[_0x2d53e3(0x2cf)]===!0x0,'isUnderline':_0x558655[_0x2d53e3(0x1fb)]===!0x0,'isStrike':_0x558655[_0x2d53e3(0x1c5)]===!0x0},'horizontalAlign':_0x1875a5[_0x2d53e3(0x2b7)],'verticalAlign':_0x1875a5[_0x2d53e3(0x319)],'horizontalAlignOptions':_0x567f49,'verticalAlignOptions':_0x1c85eb,'onUpdateText':_0x4a2c62},_0x535909['kind'])),_0x150922;if(_0x535909[_0x2d53e3(0x244)]===_0x2d53e3(0x29d)){let _0x5be3c5={'fs':_0x1875a5[_0x2d53e3(0x312)],'cl':{'rgb':_0x1875a5[_0x2d53e3(0x23d)]},..._0x1875a5['textFill']===void 0x0?null:{'textFill':_0x1875a5[_0x2d53e3(0x129)]}};return _0x150922[_0x2d53e3(0x2af)](_0x27e6bc(_0x35e16f,{'titleKey':hn['fontColor'],'textStyle':_0x5be3c5,'fallbackColor':_0x1875a5[_0x2d53e3(0x23d)],'onChange':_0xfe6c28=>_0x4a2c62({'textStyle':_0xfe6c28})},_0x535909[_0x2d53e3(0x244)])),_0x150922['push'](_0x27e6bc(_0x39157d,{'value':String(_0x1875a5['fontSize']),'onChange':_0x1e1131=>{_0x4a2c62({'textStyle':{'fs':_0x1e1131}});}},'mind-map-font-size')),_0x150922;}return _0x150922['push'](_0x27e6bc(_0x3c96a1,{'open':_0x2df9e1===_0x535909[_0x2d53e3(0x3bf)],'overlay':_0x417f48(_0x535909[_0x2d53e3(0x3bf)]),'onOpenChange':_0x5b3251=>_0x4d68dd(_0x5b3251?_0x535909[_0x2d53e3(0x3bf)]:null),'children':_0x27e6bc(_0x2d53e3(0x2f8),{'children':_0x27e6bc(_0x30b305,{'titleKey':_0x535909[_0x2d53e3(0x223)],'active':_0x2df9e1===_0x535909[_0x2d53e3(0x3bf)],'icon':Cn(xn[_0x535909['panel']]),'sizeClassName':_0x2d53e3(0x277),'onMouseDown':Sn,'onPointerDown':Sn})})},_0x535909[_0x2d53e3(0x3bf)])),_0x150922;});return _0x528cbf(_0x245d3e,{'dataAttributes':{'data-board-mind-map-floating-toolbar':'true'},'maxWidthClassName':_0x5ae3ad(0x136),'onMouseDown':_0x2ff0d6=>_0x2ff0d6[_0x5ae3ad(0x2e6)](),'children':[[..._0xb96ff2[_0x5ae3ad(0x21a)]?[_0x27e6bc(_0x3c96a1,{'open':_0x2df9e1==='layout','overlay':_0x441d04(),'onOpenChange':_0x3f3a39=>_0x4d68dd(_0x3f3a39?'layout':null),'children':_0x27e6bc(_0x5ae3ad(0x2f8),{'children':_0x27e6bc(_0x30b305,{'titleKey':_0x5ae3ad(0x3b6),'active':_0x2df9e1===_0x5ae3ad(0x3eb),'icon':_0x27e6bc(On,{}),'sizeClassName':_0x5ae3ad(0x277),'onMouseDown':Sn,'onPointerDown':Sn})})},_0x5ae3ad(0x32e)),_0x27e6bc(_0x39b257,{'orientation':_0x5ae3ad(0x3f6)},'layout-panel-divider')]:[],_0x27e6bc(_0x38b84d,{'titleKey':hn[_0x5ae3ad(0x1f5)],'shapeData':_0x4bf578==null?{}:_0x4bf578,'onUpdateShapeData':_0x63260d},_0x5ae3ad(0x253)),_0x27e6bc(_0x5eb6a3,{'titleKey':hn[_0x5ae3ad(0x18b)],'shapeData':_0x4bf578==null?{}:_0x4bf578,'onUpdateShapeData':_0x63260d},_0x5ae3ad(0x3ff)),_0x27e6bc(_0x39b257,{'orientation':_0x5ae3ad(0x3f6)},_0x5ae3ad(0x352))],_0x63b19d]});}function In(_0x395653){let {left:_0x2eced3,top:_0x5f58b7,width:_0x11636f,height:_0x450e67}=_0x395653;return{'left':_0x2eced3,'right':_0x2eced3+_0x11636f,'top':_0x5f58b7-0x38,'bottom':_0x5f58b7+_0x450e67};}let Ln=class extends _0x5b09aa{constructor(_0x4688dd,_0x37a529,_0x114a36,_0x4e0ec5,_0x3111fb,_0x2b7b00){const _0x18649a=_0x1bfc49;super(),this[_0x18649a(0x2d9)]=_0x4688dd,this[_0x18649a(0x1ff)]=_0x37a529,this[_0x18649a(0x13a)]=_0x114a36,this['_elementStateService']=_0x4e0ec5,this[_0x18649a(0x36b)]=_0x3111fb,this[_0x18649a(0x3a0)]=_0x2b7b00,K(this,_0x18649a(0x2c4),null),K(this,'_popupSelectionKey',null),this['_init']();}[_0x1bfc49(0x1b7)](){const _0x29b19e=_0x1bfc49;this['_clearPopup'](),super[_0x29b19e(0x1b7)]();}[_0x1bfc49(0x1f8)](){const _0x2bc568=_0x1bfc49;let _0xcdb3b2=this[_0x2bc568(0x2d9)][_0x2bc568(0x247)][_0x2bc568(0x400)]();this['disposeWithMe'](_0x34ad80(_0xcdb3b2[_0x2bc568(0x2c5)][_0x2bc568(0x398)](_0x17a1de(this['dispose$']))['subscribe'](()=>this['_showPopupForSelection']()))),this[_0x2bc568(0x3ac)](_0x34ad80(_0xcdb3b2[_0x2bc568(0x3a7)][_0x2bc568(0x398)](_0x17a1de(this[_0x2bc568(0x24b)]))[_0x2bc568(0x20c)](()=>this[_0x2bc568(0x257)]()))),this['disposeWithMe'](_0x34ad80(_0xcdb3b2['changeStart$']['pipe'](_0x17a1de(this['dispose$']))['subscribe'](()=>this[_0x2bc568(0x2e9)]()))),this[_0x2bc568(0x3ac)](_0x34ad80(_0xcdb3b2[_0x2bc568(0x132)][_0x2bc568(0x398)](_0x17a1de(this[_0x2bc568(0x24b)]))[_0x2bc568(0x20c)](()=>setTimeout(()=>this[_0x2bc568(0x2f4)](),0x0)))),this[_0x2bc568(0x3ac)](_0x34ad80(this['_elementStateService']['state$'][_0x2bc568(0x398)](_0x17a1de(this[_0x2bc568(0x24b)]))[_0x2bc568(0x20c)](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this['disposeWithMe'](_0x34ad80(this[_0x2bc568(0x3a0)][_0x2bc568(0x152)][_0x2bc568(0x398)](_0x17a1de(this[_0x2bc568(0x24b)]))[_0x2bc568(0x20c)](_0x4469f1=>{const _0x1bd3a9=_0x2bc568;if(_0x4469f1){this[_0x1bd3a9(0x2e9)]();return;}setTimeout(()=>this[_0x1bd3a9(0x2f4)](),0x0);}))),this[_0x2bc568(0x3ac)](_0x34ad80(this[_0x2bc568(0x36b)][_0x2bc568(0x22c)][_0x2bc568(0x398)](_0x17a1de(this[_0x2bc568(0x24b)]))[_0x2bc568(0x20c)](_0x33b7a7=>{const _0xdd69c2=_0x2bc568;if((_0x33b7a7==null?void 0x0:_0x33b7a7['unitId'])===this[_0xdd69c2(0x2d9)][_0xdd69c2(0x308)]){if(_0x33b7a7[_0xdd69c2(0x3d7)]){this[_0xdd69c2(0x2e9)]();return;}setTimeout(()=>this[_0xdd69c2(0x2f4)](),0x0);}})));}[_0x1bfc49(0x2e9)](){const _0x4716ab=_0x1bfc49;var _0x1a353b;(_0x1a353b=this[_0x4716ab(0x2c4)])==null||_0x1a353b[_0x4716ab(0x1b7)](),this[_0x4716ab(0x2c4)]=null,this['_popupSelectionKey']=null;}[_0x1bfc49(0x257)](){setTimeout(()=>{const _0x5588b3=_0x3cc1;this[_0x5588b3(0x261)]()||this['_clearPopup']();},0x0);}[_0x1bfc49(0x261)](){const _0x420e1c=_0x1bfc49;let _0x17c1da=this['_elementStateService'][_0x420e1c(0x37c)]();return!!_0x17c1da[_0x420e1c(0x3b1)]&&_0x17c1da[_0x420e1c(0x235)]['length']>0x0&&this[_0x420e1c(0x2c9)]===this[_0x420e1c(0x2c1)](_0x17c1da[_0x420e1c(0x3b1)][_0x420e1c(0x308)],_0x17c1da[_0x420e1c(0x3b1)]['subUnitId'],_0x17c1da[_0x420e1c(0x235)]);}[_0x1bfc49(0x2c1)](_0x43e6b3,_0x425f85,_0x24a983){const _0x269119=_0x1bfc49;return _0x43e6b3+':'+_0x425f85+':'+_0x24a983[_0x269119(0x35b)](',');}[_0x1bfc49(0x13f)](_0x3a89c2,_0x26a78f,_0x4c5e9c,_0x195c26){const _0xdd943e=_0x1bfc49;let _0xc58971=this[_0xdd943e(0x13a)][_0xdd943e(0x25f)](_0x3a89c2,_0x26a78f),_0x2c750e=Object[_0xdd943e(0x2b1)](_0xc58971)['find'](_0x2636c8=>{const _0x17192d=_0xdd943e;let _0x4ba763=_0x576a15(_0x2636c8[_0x17192d(0x30c)]);return(_0x4ba763==null?void 0x0:_0x4ba763['structureScopeId'])===_0x4c5e9c&&_0x4ba763['childNodeId']===_0x195c26;});if(!(!_0x2c750e||!('connectorData'in _0x2c750e[_0xdd943e(0x30c)])))return _0x2c750e['element'][_0xdd943e(0x3b0)][_0xdd943e(0x236)];}[_0x1bfc49(0x2f4)](){const _0x484c47=_0x1bfc49;var _0x147aec,_0x4605a4,_0x47d20b,_0x1e66c7,_0x5aa3bf,_0x2a4d60,_0x483194,_0x5410f2;if(this[_0x484c47(0x3a0)]['isInteractionSurfaceActive']){this[_0x484c47(0x2e9)]();return;}let _0x5e0118=this[_0x484c47(0x36b)][_0x484c47(0x187)]();if((_0x5e0118==null?void 0x0:_0x5e0118[_0x484c47(0x3d7)])===!0x0&&_0x5e0118[_0x484c47(0x308)]===this[_0x484c47(0x2d9)][_0x484c47(0x308)]){this[_0x484c47(0x2e9)]();return;}let _0x2c0a5c=this['_elementStateService']['getSnapshot']();if(_0x2c0a5c[_0x484c47(0x2a4)]){this[_0x484c47(0x2e9)]();return;}if(_0x143cd6({'context':_0x2c0a5c[_0x484c47(0x3b1)],'selectedIds':_0x2c0a5c['selectedIds'],'getElementById':(_0x5dc6c8,_0xc9cf43,_0x25dce5)=>this[_0x484c47(0x13a)][_0x484c47(0x3f5)](_0x5dc6c8,_0xc9cf43,_0x25dce5)})['owner']!=='mind-map'){this[_0x484c47(0x2e9)]();return;}let _0x132e78=this[_0x484c47(0x2d9)][_0x484c47(0x247)]['getTransformerByCreate']()[_0x484c47(0x176)](),_0x424b25=Array[_0x484c47(0x167)](_0x132e78[_0x484c47(0x2b1)]())[_0x484c47(0x288)](_0x3fd8d9=>this[_0x484c47(0x21c)](_0x3fd8d9))[_0x484c47(0x27c)](_0x33bf10=>!!_0x33bf10)[_0x484c47(0x27c)](_0x15ee2d=>!!_0x4b908c(_0x15ee2d['elementData']['element'])),_0x56e389=(_0x147aec=(_0x4605a4=_0x424b25[_0x484c47(0x28f)](_0x26a0f1=>_0x26a0f1[_0x484c47(0x254)][_0x484c47(0x1a7)]===_0x2c0a5c[_0x484c47(0x2fe)]))==null?_0x424b25[0x0]:_0x4605a4)==null?this['_resolveSelectedMindMapEntryFromState']():_0x147aec;if(!_0x56e389){this[_0x484c47(0x2e9)]();return;}let _0x421b1b=_0x4b908c(_0x56e389[_0x484c47(0x254)][_0x484c47(0x30c)]);if(!_0x421b1b){this['_clearPopup']();return;}let _0x9b9dec=(_0x47d20b=this['_boardElementService'][_0x484c47(0x25f)](_0x56e389['elementData'][_0x484c47(0x308)],_0x56e389[_0x484c47(0x254)]['subUnitId'])[_0x421b1b[_0x484c47(0x1c0)]])==null?void 0x0:_0x47d20b[_0x484c47(0x30c)],_0x17809d=_0x114393(_0x9b9dec),_0x4d9a2c=_0x9b9dec==null||(_0x1e66c7=_0x9b9dec['custom'])==null||(_0x1e66c7=_0x1e66c7[_0x484c47(0x386)])==null||(_0x1e66c7=_0x1e66c7[_0x484c47(0x3eb)])==null?void 0x0:_0x1e66c7[_0x484c47(0x14f)],_0xc9af04=((_0x5aa3bf=_0x17809d==null?void 0x0:_0x17809d[_0x484c47(0x3eb)][_0x484c47(0x14f)])==null?_0x4d9a2c:_0x5aa3bf)===_0x484c47(0x318)&&(_0x421b1b[_0x484c47(0x19f)]===null||_0x421b1b['side']==='top'),_0x5b1b5a=_0x421b1b['parentNodeId']!==null&&_0x421b1b[_0x484c47(0x1b9)]!==_0x484c47(0x1ba)&&_0x421b1b[_0x484c47(0x1b9)]!==_0x484c47(0x3ef),_0x23a596=_0xc9af04||_0x5b1b5a,_0x2cd4b6=((_0x2a4d60=_0x2c0a5c[_0x484c47(0x3b1)])==null?void 0x0:_0x2a4d60[_0x484c47(0x308)])===_0x56e389[_0x484c47(0x254)][_0x484c47(0x308)]&&_0x2c0a5c[_0x484c47(0x3b1)]['subUnitId']===_0x56e389['elementData'][_0x484c47(0x25a)]&&_0x2c0a5c[_0x484c47(0x235)][_0x484c47(0x157)]?_0x2c0a5c[_0x484c47(0x235)]:[_0x56e389['elementData'][_0x484c47(0x1a7)]],_0x57deae=this[_0x484c47(0x2c1)](_0x56e389[_0x484c47(0x254)][_0x484c47(0x308)],_0x56e389[_0x484c47(0x254)][_0x484c47(0x25a)],_0x2cd4b6);this[_0x484c47(0x2c4)]&&this[_0x484c47(0x2c9)]===_0x57deae||(this[_0x484c47(0x2e9)](),this[_0x484c47(0x2c4)]=this[_0x484c47(0x3ac)](this[_0x484c47(0x1ff)][_0x484c47(0x202)](_0x56e389[_0x484c47(0x254)][_0x484c47(0x308)],_0x56e389[_0x484c47(0x254)]['subUnitId'],_0x56e389[_0x484c47(0x2e2)],{'componentKey':fn,'direction':'top-center','offset':[0x0,0x8],..._0x23a596?{'anchorBoundResolver':In}:null,'extraProps':{'unitId':_0x56e389[_0x484c47(0x254)][_0x484c47(0x308)],'subUnitId':_0x56e389['elementData']['subUnitId'],'elementId':_0x56e389[_0x484c47(0x254)]['elementId'],'scopeId':_0x421b1b[_0x484c47(0x1c0)],'isRootNode':_0x421b1b[_0x484c47(0x19f)]===null,'left':(_0x483194=_0x56e389[_0x484c47(0x254)][_0x484c47(0x30c)][_0x484c47(0x3ec)]['left'])==null?0x0:_0x483194,'top':(_0x5410f2=_0x56e389[_0x484c47(0x254)][_0x484c47(0x30c)][_0x484c47(0x3ec)]['top'])==null?0x0:_0x5410f2,'shapeData':_0x56e389['elementData']['element'][_0x484c47(0x149)]===_0x14ffad[_0x484c47(0x388)]?_0x56e389[_0x484c47(0x254)][_0x484c47(0x30c)][_0x484c47(0x376)]:void 0x0,'layout':_0x17809d==null?void 0x0:_0x17809d['layout'],'incomingConnectorStyle':this[_0x484c47(0x13f)](_0x56e389[_0x484c47(0x254)][_0x484c47(0x308)],_0x56e389['elementData'][_0x484c47(0x25a)],_0x421b1b[_0x484c47(0x1c0)],_0x56e389[_0x484c47(0x254)][_0x484c47(0x1a7)])}})),this[_0x484c47(0x2c9)]=_0x57deae);}[_0x1bfc49(0x23b)](){const _0x248bd2=_0x1bfc49;var _0x5d25c8,_0x416329,_0x4406a9;let _0x4aa10a=this[_0x248bd2(0x29f)][_0x248bd2(0x37c)](),_0x44e554=_0x4aa10a[_0x248bd2(0x3b1)],_0x40672b=(_0x5d25c8=_0x4aa10a[_0x248bd2(0x2fe)])==null?_0x4aa10a[_0x248bd2(0x235)][0x0]:_0x5d25c8;if(!_0x44e554||!_0x40672b)return null;let _0x38481d=this[_0x248bd2(0x13a)][_0x248bd2(0x3f5)](_0x44e554[_0x248bd2(0x308)],_0x44e554[_0x248bd2(0x25a)],_0x40672b);if(!_0x38481d||!_0x4b908c(_0x38481d['element']))return null;let _0xc52750=_0x3f73c8(_0x44e554[_0x248bd2(0x308)],_0x40672b),_0x4f6b84=this[_0x248bd2(0x2d9)][_0x248bd2(0x247)],_0x3beeae=(_0x416329=(_0x4406a9=_0x4f6b84[_0x248bd2(0x1d3)])==null?void 0x0:_0x4406a9[_0x248bd2(0x3c7)](_0x4f6b84,_0xc52750))==null?this['_renderContext'][_0x248bd2(0x247)][_0x248bd2(0x348)](_0xc52750):_0x416329;return _0x3beeae?{'object':_0x3beeae,'elementData':_0x38481d}:null;}[_0x1bfc49(0x21c)](_0x2b90ba){const _0x529bc9=_0x1bfc49;var _0x575456;if(!_0x2b90ba)return null;let _0x1028da=_0x1622e2(_0x2b90ba[_0x529bc9(0x144)]);if(!_0x1028da)return null;let _0x4431e4=this[_0x529bc9(0x29f)][_0x529bc9(0x37c)](),_0x5529f7=((_0x575456=_0x4431e4[_0x529bc9(0x3b1)])==null?void 0x0:_0x575456['unitId'])===_0x1028da[_0x529bc9(0x308)]?_0x4431e4['context'][_0x529bc9(0x25a)]:void 0x0;if(!_0x5529f7)return null;let _0x949c94=this['_boardElementService'][_0x529bc9(0x3f5)](_0x1028da['unitId'],_0x5529f7,_0x1028da['elementId']);return _0x949c94?{'object':_0x2b90ba,'elementData':_0x949c94}:null;}};Ln=J([q(0x1,_0xbc3476(_0x3be6dd)),q(0x2,_0xbc3476(_0x295e11)),q(0x3,_0xbc3476(_0x4f61df)),q(0x4,_0xbc3476(_0x1cecde)),q(0x5,_0xbc3476(_0x58f2f3))],Ln);const Rn='board-mind-map-pending-insert-object',zn=_0x1254b3[_0x1bfc49(0x12f)];function Bn(_0x560692,_0x1e0a51){const _0xb00e9=_0x1bfc49;return(_0x560692==null?[]:_0x560692)[_0xb00e9(0x301)]((_0x4480b8,_0x5235e4)=>{const _0x3f1c08=_0xb00e9;var _0x1dcea4;return _0x4480b8[(_0x1dcea4=_0x5235e4['side'])==null?_0x1e0a51:_0x1dcea4][_0x3f1c08(0x2af)](_0x5235e4),_0x4480b8;},{'left':[],'right':[],'top':[],'bottom':[]});}function Vn(_0x262a84){const _0x4677a1=_0x1bfc49;return _0x262a84===_0x4677a1(0x29e)||_0x262a84==='tree-right'||_0x262a84===_0x4677a1(0x14e);}function Hn(_0x285c3f){const _0x3e2529=_0x1bfc49;return _0x285c3f===_0x3e2529(0x3e4)||_0x285c3f===_0x3e2529(0x25e);}function Un(_0xeed39a,_0x7bc166,_0x4ff2db){const _0x10c287=_0x1bfc49;return _0x4ff2db==='tree-left'?_0x10c287(0x33e):_0x4ff2db===_0x10c287(0x30e)?_0x10c287(0x13e):_0xeed39a[_0x10c287(0x1b9)]==='left'||_0xeed39a[_0x10c287(0x1b9)]===_0x10c287(0x13e)?_0xeed39a[_0x10c287(0x1b9)]:_0x7bc166%0x2==0x0?_0x10c287(0x33e):'right';}function Wn(_0x557339,_0x2fb0cb){const _0x116dde=_0x1bfc49;var _0x571cab,_0x399821;return(_0x571cab=(_0x399821=_0x2fb0cb==null?void 0x0:_0x2fb0cb[_0x116dde(0x267)][_0x116dde(0x12d)])==null?_0x557339:_0x399821)==null?[]:_0x571cab;}var Gn=class extends _0x68d0be{constructor(_0x107ff3=Rn,_0x110579){const _0x660b67=_0x1bfc49;super(_0x107ff3),K(this,_0x660b67(0x19c),{'point':null,'children':[]}),this[_0x660b67(0x1ec)]=!0x1,this[_0x660b67(0x2c8)]=_0x38268b[_0x660b67(0x2cb)],this[_0x660b67(0x3af)](_0x110579);}[_0x1bfc49(0x3af)](_0x31efc9){const _0x5cec50=_0x1bfc49;this[_0x5cec50(0x19c)]={...this[_0x5cec50(0x19c)],..._0x31efc9},this['_state'][_0x5cec50(0x229)]?this[_0x5cec50(0x1a0)]():this[_0x5cec50(0x38b)](),this[_0x5cec50(0x32a)](!0x0);}[_0x1bfc49(0x164)](_0x466699){return!0x1;}[_0x1bfc49(0x3ea)](_0x94c40e,_0x11e025){const _0x1f2ef4=_0x1bfc49;var _0x53eee5;let _0x484fd5=this[_0x1f2ef4(0x19c)]['point'];if(!_0x484fd5||!this[_0x1f2ef4(0x3d7)])return this[_0x1f2ef4(0x32a)](!0x1),this;let _0x2c9e0d=Number['isFinite'](this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x1d7)])&&((_0x53eee5=this['_state'][_0x1f2ef4(0x1d7)])==null?0x0:_0x53eee5)>0x0?this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x1d7)]:0x1,_0x15a33a=_0x2288ab[_0x1f2ef4(0x126)],_0x25c7e5=_0x2288ab['rootHeight'],_0x43e429=_0x2288ab[_0x1f2ef4(0x1da)],_0x1789d8=_0x2288ab[_0x1f2ef4(0x1d5)],_0x33f8f6=_0x133f51[_0x1f2ef4(0x290)],_0x503fd4=_0x133f51[_0x1f2ef4(0x3f8)],_0x4400b9=this['_state'][_0x1f2ef4(0x14f)]===_0x1f2ef4(0x318),_0x194148=Bn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x12d)],_0x4400b9?_0x1f2ef4(0x3ef):_0x1f2ef4(0x13e)),_0x19f815=_0x484fd5['x']-_0x15a33a/0x2,_0x4375fe=_0x484fd5['y']-_0x25c7e5/0x2;if(_0x94c40e['save'](),_0x94c40e['globalAlpha']=X[_0x1f2ef4(0x3bc)],_0x94c40e[_0x1f2ef4(0x31a)]=X[_0x1f2ef4(0x1db)]/_0x2c9e0d,_0x94c40e['strokeStyle']=X[_0x1f2ef4(0x23c)],Hn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x14f)])){let _0x97ec60=Wn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x12d)],this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x2fb)]),_0x3359cc=this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x14f)]===_0x1f2ef4(0x3e4);if(_0x97ec60[_0x1f2ef4(0x157)]>0x0){if(_0x94c40e['beginPath'](),_0x3359cc){let _0x256eb5=_0x43e429,_0x5a51e1=_0x1789d8,_0x4bbce3=_0x133f51[_0x1f2ef4(0x280)],_0x4d14c0=_0x484fd5['y'],_0x30a4f2=_0x19f815+_0x15a33a,_0x57782e=_0x484fd5['y']-_0x5a51e1/0x2,_0x519be3=_0x19f815+_0x15a33a+_0x4bbce3;_0x94c40e[_0x1f2ef4(0x230)](_0x30a4f2,_0x4d14c0),_0x94c40e[_0x1f2ef4(0x2f3)](_0x519be3,_0x4d14c0),_0x97ec60['forEach']((_0x1f3a80,_0x329654)=>{const _0x71f236=_0x1f2ef4;let _0x50bcbf=_0x519be3+_0x329654*(_0x256eb5+_0x4bbce3);if(_0x329654>0x0){let _0x5c5575=_0x519be3+(_0x329654-0x1)*(_0x256eb5+_0x4bbce3)+_0x256eb5;_0x94c40e['moveTo'](_0x5c5575,_0x4d14c0),_0x94c40e['lineTo'](_0x50bcbf,_0x4d14c0);}_0x94c40e[_0x71f236(0x230)](_0x50bcbf,_0x4d14c0),_0x94c40e['lineTo'](_0x50bcbf+_0x256eb5,_0x4d14c0);}),_0x94c40e[_0x1f2ef4(0x18b)](),_0x97ec60['forEach']((_0x385aa4,_0x1c863e)=>{const _0x37ff52=_0x1f2ef4;Z(_0x94c40e,_0x519be3+_0x1c863e*(_0x256eb5+_0x4bbce3),_0x57782e,_0x256eb5,_0x5a51e1,X[_0x37ff52(0x3dc)]),_0x94c40e[_0x37ff52(0x19e)]=X[_0x37ff52(0x2a7)],_0x94c40e['fill'](),_0x94c40e[_0x37ff52(0x18b)]();}),_0x97ec60[_0x1f2ef4(0x29c)]((_0xc5456,_0x3c2d3f)=>{const _0x9cc520=_0x1f2ef4;if(!('children'in _0xc5456)||_0xc5456[_0x9cc520(0x12d)][_0x9cc520(0x157)]===0x0)return;let _0x1bf927=_0x519be3+_0x3c2d3f*(_0x256eb5+_0x4bbce3),_0xfd54c4=_0x1bf927+_0x256eb5/0x2,_0x1eb687=_0xc5456['side']==='bottom'?'bottom':'top',_0x167aad=_0xc5456[_0x9cc520(0x12d)][_0x9cc520(0x39c)](0x0,0x2),_0x5249a5=_0x167aad[_0x9cc520(0x157)]*_0x5a51e1+Math[_0x9cc520(0x18f)](0x0,_0x167aad[_0x9cc520(0x157)]-0x1)*_0x503fd4,_0x126d98=_0x1bf927+_0x256eb5+_0x133f51[_0x9cc520(0x3a2)],_0x1b94e4=_0x1eb687==='top'?_0x57782e-_0x33f8f6-_0x5249a5:_0x57782e+_0x5a51e1+_0x33f8f6,_0x275096=_0x1b94e4+_0x5249a5/0x2;_0x94c40e[_0x9cc520(0x2d8)](),_0x94c40e[_0x9cc520(0x230)](_0xfd54c4,_0x1eb687===_0x9cc520(0x1ba)?_0x57782e:_0x57782e+_0x5a51e1),_0x94c40e[_0x9cc520(0x2f3)](_0xfd54c4,_0x275096),_0x94c40e[_0x9cc520(0x2f3)](_0x126d98,_0x275096),_0x167aad['forEach']((_0x2b57b9,_0x2e3170)=>{const _0x3f2145=_0x9cc520;let _0x1fe4f3=_0x1b94e4+_0x2e3170*(_0x5a51e1+_0x503fd4)+_0x5a51e1/0x2;_0x94c40e['moveTo'](_0x126d98,_0x1fe4f3),_0x94c40e[_0x3f2145(0x2f3)](_0x126d98+_0x256eb5,_0x1fe4f3);}),_0x94c40e[_0x9cc520(0x18b)](),_0x167aad[_0x9cc520(0x29c)]((_0x53d25e,_0x179b91)=>{const _0x5e1a83=_0x9cc520;Z(_0x94c40e,_0x126d98,_0x1b94e4+_0x179b91*(_0x5a51e1+_0x503fd4),_0x256eb5,_0x5a51e1,X['ghostRadius']),_0x94c40e[_0x5e1a83(0x19e)]=X[_0x5e1a83(0x2a7)],_0x94c40e[_0x5e1a83(0x1f5)](),_0x94c40e[_0x5e1a83(0x18b)]();});});}else{let _0x2a353a=_0x484fd5['x'],_0x132100=_0x4375fe+_0x25c7e5,_0x58f647=_0x133f51[_0x1f2ef4(0x280)],_0x33ea99=_0x4375fe+_0x25c7e5+_0x58f647,_0x57e3a6=_0x33ea99+(_0x97ec60[_0x1f2ef4(0x157)]-0x1)*(_0x1789d8+_0x58f647)+_0x1789d8/0x2;_0x94c40e['moveTo'](_0x2a353a,_0x132100),_0x94c40e[_0x1f2ef4(0x2f3)](_0x2a353a,_0x57e3a6),_0x97ec60['forEach']((_0x262a2e,_0x2281f7)=>{const _0x1cd84e=_0x1f2ef4;let _0x2e882e=_0x33ea99+_0x2281f7*(_0x1789d8+_0x58f647)+_0x1789d8/0x2,_0x2fbe82=_0x262a2e['side']==='right'?'right':_0x1cd84e(0x33e),_0x48e87f=_0x2fbe82==='right'?_0x2a353a+_0x133f51[_0x1cd84e(0x3a2)]:_0x2a353a-_0x133f51['branchGap']-_0x43e429,_0x54240e=_0x2fbe82==='right'?_0x48e87f:_0x48e87f+_0x43e429;_0x94c40e['moveTo'](_0x2a353a,_0x2e882e),_0x94c40e[_0x1cd84e(0x2f3)](_0x54240e,_0x2e882e);}),_0x94c40e[_0x1f2ef4(0x18b)](),_0x97ec60[_0x1f2ef4(0x29c)]((_0x404c60,_0x341571)=>{const _0x4f2fc1=_0x1f2ef4;let _0x212fc8=_0x33ea99+_0x341571*(_0x1789d8+_0x58f647);Z(_0x94c40e,(_0x404c60[_0x4f2fc1(0x1b9)]===_0x4f2fc1(0x13e)?'right':_0x4f2fc1(0x33e))=='right'?_0x2a353a+_0x133f51['branchGap']:_0x2a353a-_0x133f51[_0x4f2fc1(0x3a2)]-_0x43e429,_0x212fc8,_0x43e429,_0x1789d8,X[_0x4f2fc1(0x3dc)]),_0x94c40e['fillStyle']=X[_0x4f2fc1(0x2a7)],_0x94c40e[_0x4f2fc1(0x1f5)](),_0x94c40e['stroke']();}),_0x97ec60[_0x1f2ef4(0x29c)]((_0x246149,_0x18f791)=>{const _0x238fed=_0x1f2ef4;if(!(_0x238fed(0x12d)in _0x246149)||_0x246149[_0x238fed(0x12d)]['length']===0x0)return;let _0x140f8b=_0x33ea99+_0x18f791*(_0x1789d8+_0x58f647)+_0x1789d8/0x2,_0x2a6bd1=_0x246149[_0x238fed(0x1b9)]===_0x238fed(0x13e)?'right':_0x238fed(0x33e),_0x30c5b5=_0x246149['children'][_0x238fed(0x39c)](0x0,0x2),_0x431c30=_0x30c5b5[_0x238fed(0x157)]*_0x1789d8+Math[_0x238fed(0x18f)](0x0,_0x30c5b5[_0x238fed(0x157)]-0x1)*_0x503fd4,_0x4cd4b4=_0x2a6bd1==='right'?_0x2a353a+_0x133f51[_0x238fed(0x3a2)]:_0x2a353a-_0x133f51[_0x238fed(0x3a2)]-_0x43e429,_0x70b98b=_0x2a6bd1===_0x238fed(0x13e)?_0x4cd4b4+_0x43e429+_0x33f8f6:_0x4cd4b4-_0x33f8f6-_0x43e429,_0x1c6115=_0x140f8b-_0x431c30/0x2,_0x360ce8=_0x2a6bd1===_0x238fed(0x13e)?_0x4cd4b4+_0x43e429:_0x4cd4b4,_0x431340=_0x2a6bd1===_0x238fed(0x13e)?_0x70b98b:_0x70b98b+_0x43e429;_0x94c40e[_0x238fed(0x2d8)](),_0x94c40e[_0x238fed(0x230)](_0x360ce8,_0x140f8b),_0x94c40e[_0x238fed(0x2f3)](_0x431340,_0x140f8b),_0x30c5b5[_0x238fed(0x29c)]((_0x405fea,_0x340a15)=>{const _0x527847=_0x238fed;let _0x152b80=_0x1c6115+_0x340a15*(_0x1789d8+_0x503fd4)+_0x1789d8/0x2;_0x94c40e[_0x527847(0x230)](_0x431340,_0x152b80),_0x94c40e[_0x527847(0x2f3)](_0x2a6bd1===_0x527847(0x13e)?_0x70b98b+_0x43e429:_0x70b98b,_0x152b80);}),_0x94c40e[_0x238fed(0x18b)](),_0x30c5b5[_0x238fed(0x29c)]((_0x49c8e0,_0x24ff54)=>{const _0x3756e1=_0x238fed;Z(_0x94c40e,_0x70b98b,_0x1c6115+_0x24ff54*(_0x1789d8+_0x503fd4),_0x43e429,_0x1789d8,X[_0x3756e1(0x3dc)]),_0x94c40e[_0x3756e1(0x19e)]=X[_0x3756e1(0x2a7)],_0x94c40e[_0x3756e1(0x1f5)](),_0x94c40e[_0x3756e1(0x18b)]();});});}}}else{if(Vn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x14f)])){var _0x23a00f;let _0x12304e=(_0x23a00f=this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x12d)])==null?[]:_0x23a00f,_0x311e84=_0x4375fe+_0x25c7e5,_0x580d63=_0x311e84+_0x33f8f6,_0x802254=_0x484fd5['x'];if(_0x12304e['length']>0x0){let _0x18bba6=_0x580d63+(_0x12304e[_0x1f2ef4(0x157)]-0x1)*(_0x1789d8+_0x503fd4)+_0x1789d8/0x2;_0x94c40e[_0x1f2ef4(0x2d8)](),_0x94c40e[_0x1f2ef4(0x230)](_0x802254,_0x311e84),_0x94c40e[_0x1f2ef4(0x2f3)](_0x802254,_0x18bba6),_0x12304e['forEach']((_0x364c84,_0x39a44f)=>{const _0x13c9d9=_0x1f2ef4;let _0x3f2aa0=Un(_0x364c84,_0x39a44f,this['_state'][_0x13c9d9(0x14f)]),_0x3379ec=_0x580d63+_0x39a44f*(_0x1789d8+_0x503fd4),_0x470e44=_0x3f2aa0==='right'?_0x802254+_0x33f8f6:_0x802254-_0x33f8f6-_0x43e429,_0x3e325c=_0x3379ec+_0x1789d8/0x2;_0x94c40e[_0x13c9d9(0x230)](_0x802254,_0x3e325c),_0x94c40e[_0x13c9d9(0x2f3)](_0x3f2aa0===_0x13c9d9(0x13e)?_0x470e44:_0x470e44+_0x43e429,_0x3e325c);}),_0x94c40e[_0x1f2ef4(0x18b)](),_0x12304e[_0x1f2ef4(0x29c)]((_0x2b103c,_0x19ad29)=>{const _0x2909f2=_0x1f2ef4;let _0x2e4578=Un(_0x2b103c,_0x19ad29,this[_0x2909f2(0x19c)]['structureKind']),_0x398003=_0x580d63+_0x19ad29*(_0x1789d8+_0x503fd4);Z(_0x94c40e,_0x2e4578===_0x2909f2(0x13e)?_0x802254+_0x33f8f6:_0x802254-_0x33f8f6-_0x43e429,_0x398003,_0x43e429,_0x1789d8,X[_0x2909f2(0x3dc)]),_0x94c40e[_0x2909f2(0x19e)]=X[_0x2909f2(0x2a7)],_0x94c40e[_0x2909f2(0x1f5)](),_0x94c40e[_0x2909f2(0x18b)]();});}}else _0x4400b9&&[_0x1f2ef4(0x1ba),_0x1f2ef4(0x3ef)][_0x1f2ef4(0x29c)](_0x1d795f=>{const _0x556e60=_0x1f2ef4;let _0x1904f0=_0x194148[_0x1d795f];if(_0x1904f0[_0x556e60(0x157)]===0x0)return;let _0x3a98af=_0x1904f0[_0x556e60(0x157)]*_0x43e429+Math[_0x556e60(0x18f)](0x0,_0x1904f0[_0x556e60(0x157)]-0x1)*_0x503fd4,_0x5a165c=_0x484fd5['x']-_0x3a98af/0x2,_0x13e1f4=_0x1d795f===_0x556e60(0x3ef)?_0x4375fe+_0x25c7e5:_0x4375fe,_0x1779a4=_0x1d795f===_0x556e60(0x3ef)?_0x13e1f4+_0x133f51[_0x556e60(0x3a2)]:_0x13e1f4-_0x133f51[_0x556e60(0x3a2)],_0x1c955d=_0x1d795f===_0x556e60(0x3ef)?_0x4375fe+_0x25c7e5+_0x33f8f6:_0x4375fe-_0x33f8f6-_0x1789d8;_0x94c40e[_0x556e60(0x2d8)](),_0x94c40e[_0x556e60(0x230)](_0x484fd5['x'],_0x13e1f4),_0x94c40e['lineTo'](_0x484fd5['x'],_0x1779a4),_0x1904f0[_0x556e60(0x157)]>0x1&&(_0x94c40e['moveTo'](_0x5a165c+_0x43e429/0x2,_0x1779a4),_0x94c40e[_0x556e60(0x2f3)](_0x5a165c+_0x3a98af-_0x43e429/0x2,_0x1779a4)),_0x1904f0[_0x556e60(0x29c)]((_0x3e8196,_0x4a796c)=>{const _0x3d9426=_0x556e60;let _0x54fd18=_0x5a165c+_0x4a796c*(_0x43e429+_0x503fd4)+_0x43e429/0x2;_0x94c40e[_0x3d9426(0x230)](_0x54fd18,_0x1779a4),_0x94c40e[_0x3d9426(0x2f3)](_0x54fd18,_0x1d795f===_0x3d9426(0x3ef)?_0x1c955d:_0x1c955d+_0x1789d8);}),_0x94c40e[_0x556e60(0x18b)](),_0x1904f0[_0x556e60(0x29c)]((_0x4543e2,_0x310e72)=>{const _0x1fd327=_0x556e60;Z(_0x94c40e,_0x5a165c+_0x310e72*(_0x43e429+_0x503fd4),_0x1c955d,_0x43e429,_0x1789d8,X['ghostRadius']),_0x94c40e['fillStyle']=X[_0x1fd327(0x2a7)],_0x94c40e[_0x1fd327(0x1f5)](),_0x94c40e[_0x1fd327(0x18b)]();});});}(_0x4400b9||Vn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x14f)])||Hn(this[_0x1f2ef4(0x19c)][_0x1f2ef4(0x14f)])?[]:[_0x1f2ef4(0x33e),_0x1f2ef4(0x13e)])[_0x1f2ef4(0x29c)](_0x465d5f=>{const _0x590b30=_0x1f2ef4;let _0x49d63e=_0x194148[_0x465d5f];if(_0x49d63e['length']===0x0)return;let _0x2daf34=_0x49d63e[_0x590b30(0x157)]*_0x1789d8+Math[_0x590b30(0x18f)](0x0,_0x49d63e['length']-0x1)*_0x503fd4,_0x1dd0da=_0x484fd5['y']-_0x2daf34/0x2,_0x4114be=_0x465d5f==='right'?_0x19f815+_0x15a33a:_0x19f815,_0x1d19e2=_0x465d5f==='right'?_0x4114be+_0x133f51['branchGap']:_0x4114be-_0x133f51['branchGap'],_0x14cc9c=_0x465d5f===_0x590b30(0x13e)?_0x19f815+_0x15a33a+_0x33f8f6:_0x19f815-_0x33f8f6-_0x43e429;_0x94c40e['beginPath'](),_0x94c40e[_0x590b30(0x230)](_0x4114be,_0x484fd5['y']),_0x94c40e[_0x590b30(0x2f3)](_0x1d19e2,_0x484fd5['y']),_0x49d63e[_0x590b30(0x157)]>0x1&&(_0x94c40e['moveTo'](_0x1d19e2,_0x1dd0da+_0x1789d8/0x2),_0x94c40e[_0x590b30(0x2f3)](_0x1d19e2,_0x1dd0da+_0x2daf34-_0x1789d8/0x2)),_0x49d63e[_0x590b30(0x29c)]((_0x53cd70,_0x338c92)=>{const _0x11cbf6=_0x590b30;let _0x38335f=_0x1dd0da+_0x338c92*(_0x1789d8+_0x503fd4)+_0x1789d8/0x2;_0x94c40e['moveTo'](_0x1d19e2,_0x38335f),_0x94c40e[_0x11cbf6(0x2f3)](_0x465d5f===_0x11cbf6(0x13e)?_0x14cc9c:_0x14cc9c+_0x43e429,_0x38335f);}),_0x94c40e['stroke'](),_0x49d63e[_0x590b30(0x29c)]((_0x480810,_0x47aca2)=>{const _0x4f93b4=_0x590b30;Z(_0x94c40e,_0x14cc9c,_0x1dd0da+_0x47aca2*(_0x1789d8+_0x503fd4),_0x43e429,_0x1789d8,X[_0x4f93b4(0x3dc)]),_0x94c40e[_0x4f93b4(0x19e)]=X['ghostFillColor'],_0x94c40e[_0x4f93b4(0x1f5)](),_0x94c40e[_0x4f93b4(0x18b)]();});}),Z(_0x94c40e,_0x19f815,_0x4375fe,_0x15a33a,_0x25c7e5,X[_0x1f2ef4(0x1c9)]),_0x94c40e['fillStyle']=X[_0x1f2ef4(0x23c)],_0x94c40e[_0x1f2ef4(0x1f5)](),_0x94c40e[_0x1f2ef4(0x18b)](),_0x94c40e['fillStyle']=X[_0x1f2ef4(0x1a8)],_0x94c40e[_0x1f2ef4(0x31c)]=It(X[_0x1f2ef4(0x1b5)],X[_0x1f2ef4(0x396)],_0x2c9e0d),_0x94c40e['textAlign']=_0x1f2ef4(0x3b8),_0x94c40e[_0x1f2ef4(0x1ad)]='middle';let _0x45a10a=X[_0x1f2ef4(0x341)]/_0x2c9e0d;return _0x94c40e[_0x1f2ef4(0x3b5)](_0x775f9b,_0x484fd5['x'],_0x484fd5['y'],Math[_0x1f2ef4(0x18f)](0x1,_0x15a33a-_0x45a10a*0x2)),_0x94c40e[_0x1f2ef4(0x3ab)](),this[_0x1f2ef4(0x32a)](!0x1),this;}};const Kn={'children':[{'text':_0x775f9b,'orderKey':_0x12f706(0x0),'side':_0x1bfc49(0x13e)},{'text':_0x775f9b,'orderKey':_0x12f706(0x1),'side':'right'},{'text':_0x775f9b,'orderKey':_0x12f706(0x2),'side':'right'}]};var qn=class extends _0x5dfc4c{constructor(..._0x2d6db9){super(..._0x2d6db9),K(this,'_template',Kn);}[_0x1bfc49(0x303)](_0x1e6d29){const _0xc6fd35=_0x1bfc49;var _0x41fae7,_0xf2a535;let _0x48b225=(_0x41fae7=_0x1e6d29==null?void 0x0:_0x1e6d29[_0xc6fd35(0x12d)])==null?_0x1e6d29==null||(_0xf2a535=_0x1e6d29[_0xc6fd35(0x2fb)])==null?void 0x0:_0xf2a535['root'][_0xc6fd35(0x12d)]:_0x41fae7;this[_0xc6fd35(0x3a9)]={'rootText':_0x1e6d29==null?void 0x0:_0x1e6d29[_0xc6fd35(0x285)],'structureKind':_0x1e6d29==null?void 0x0:_0x1e6d29['structureKind'],'branchLineType':_0x1e6d29==null?void 0x0:_0x1e6d29['branchLineType'],'children':this[_0xc6fd35(0x1d6)](_0x48b225,_0x1e6d29==null?void 0x0:_0x1e6d29[_0xc6fd35(0x14f)]),'blueprint':_0x1e6d29!=null&&_0x1e6d29[_0xc6fd35(0x2fb)]?this[_0xc6fd35(0x137)](_0x1e6d29[_0xc6fd35(0x2fb)]):void 0x0};}['getTemplate'](){const _0xb0e95e=_0x1bfc49;var _0x483e71;return{'rootText':this[_0xb0e95e(0x3a9)][_0xb0e95e(0x285)],'structureKind':this[_0xb0e95e(0x3a9)][_0xb0e95e(0x14f)],'branchLineType':this[_0xb0e95e(0x3a9)][_0xb0e95e(0x2c6)],'children':(_0x483e71=this[_0xb0e95e(0x3a9)]['children'])==null?void 0x0:_0x483e71[_0xb0e95e(0x288)](_0x403fc3=>({..._0x403fc3})),'blueprint':this[_0xb0e95e(0x3a9)]['blueprint']?this[_0xb0e95e(0x137)](this[_0xb0e95e(0x3a9)][_0xb0e95e(0x2fb)]):void 0x0};}[_0x1bfc49(0x137)](_0x3c0d76){const _0x3947fc=_0x1bfc49;return{'title':_0x3c0d76['title'],'root':this[_0x3947fc(0x349)](_0x3c0d76['root'])};}[_0x1bfc49(0x349)](_0x1ba974){const _0x1601fe=_0x1bfc49;return{..._0x1ba974,'foreignAttributes':_0x1ba974['foreignAttributes']?{..._0x1ba974[_0x1601fe(0x151)]}:void 0x0,'children':_0x1ba974[_0x1601fe(0x12d)][_0x1601fe(0x288)](_0x125d32=>this['_cloneBlueprintNode'](_0x125d32))};}[_0x1bfc49(0x1d6)](_0xa7fbca,_0x29fc0b){const _0x59723d=_0x1bfc49;let _0x3086e0=!_0xa7fbca,_0x48047b=_0xa7fbca==null?Kn[_0x59723d(0x12d)]:_0xa7fbca;return _0x48047b==null?void 0x0:_0x48047b[_0x59723d(0x288)]((_0x5d9d16,_0x164b52)=>{const _0x3eb0e5=_0x59723d;var _0x391dbd;return{..._0x5d9d16,'text':(_0x391dbd=_0x5d9d16[_0x3eb0e5(0x1ed)])==null?_0x775f9b:_0x391dbd,'side':this[_0x3eb0e5(0x260)](_0x5d9d16[_0x3eb0e5(0x1b9)],_0x164b52,_0x29fc0b,_0x3086e0)};});}[_0x1bfc49(0x260)](_0x6ca775,_0x2999be,_0x5cc44b,_0x156684){const _0x5c772e=_0x1bfc49;return _0x5cc44b===_0x5c772e(0x318)?_0x156684||_0x6ca775==null?_0x5c772e(0x3ef):_0x6ca775:_0x5cc44b===_0x5c772e(0x29e)?_0x156684||_0x6ca775==null?_0x5c772e(0x33e):_0x6ca775:_0x5cc44b===_0x5c772e(0x30e)?_0x156684||_0x6ca775==null?'right':_0x6ca775:_0x5cc44b==='tree-alternate'?_0x156684||_0x6ca775==null?_0x2999be%0x2==0x0?_0x5c772e(0x33e):_0x5c772e(0x13e):_0x6ca775:_0x5cc44b===_0x5c772e(0x3e4)?_0x156684||_0x6ca775==null?_0x2999be%0x2==0x0?_0x5c772e(0x1ba):_0x5c772e(0x3ef):_0x6ca775:_0x5cc44b===_0x5c772e(0x25e)&&(_0x156684||_0x6ca775==null)?_0x2999be%0x2==0x0?_0x5c772e(0x33e):_0x5c772e(0x13e):_0x6ca775;}};function Jn(_0x2d0def,_0xee64eb){const _0xeae527=_0x1bfc49;let _0x33fb88=Number[_0xeae527(0x20e)](_0xee64eb[_0xeae527(0x1d7)])&&_0xee64eb['zoomRatio']>0x0?_0xee64eb[_0xeae527(0x1d7)]:0x1;return{'x':Math['round']((_0x2d0def[_0xeae527(0x154)]-_0xee64eb[_0xeae527(0x2f7)]['x'])/_0x33fb88),'y':Math[_0xeae527(0x207)]((_0x2d0def[_0xeae527(0x12c)]-_0xee64eb[_0xeae527(0x2f7)]['y'])/_0x33fb88)};}function Yn(_0x348d3a){const _0x25c8fe=_0x1bfc49;var _0x4fea84;if(_0x348d3a!=null&&_0x348d3a[_0x25c8fe(0x1b7)]){_0x348d3a['dispose']();return;}_0x348d3a==null||(_0x4fea84=_0x348d3a[_0x25c8fe(0x125)])==null||_0x4fea84[_0x25c8fe(0x3c7)](_0x348d3a);}function Xn(_0x4afe13){const _0x543abb=_0x1bfc49;var _0x379bf8;return _0x4afe13[_0x543abb(0x29a)]===_0x2257b4['MindMap']&&((_0x379bf8=_0x4afe13['pendingInsert'])==null?void 0x0:_0x379bf8[_0x543abb(0x149)])===_0x2257b4[_0x543abb(0x3d8)];}let Zn=class extends _0x5b09aa{constructor(_0x2daad4,_0x44e97f,_0x670a15,_0x35de9b,_0x23b98e,_0x34b277,_0x18c72a){const _0x5d0b98=_0x1bfc49;super(),this[_0x5d0b98(0x2d9)]=_0x2daad4,this[_0x5d0b98(0x222)]=_0x44e97f,this['_stateService']=_0x670a15,this[_0x5d0b98(0x3ca)]=_0x35de9b,this[_0x5d0b98(0x313)]=_0x23b98e,this[_0x5d0b98(0x29f)]=_0x34b277,this['_boardTextEditingService']=_0x18c72a,K(this,_0x5d0b98(0x14a),null),K(this,_0x5d0b98(0x281),null),this[_0x5d0b98(0x1f8)]();}[_0x1bfc49(0x1f8)](){const _0x492100=_0x1bfc49;var _0x70e033;let {scene:_0x3a362e,unitId:_0x5e3142}=this['_renderContext'],_0x1f483a=this[_0x492100(0x222)][_0x492100(0x155)](_0x5e3142,_0x3a60f9[_0x492100(0x375)]);if(!_0x1f483a)return;let _0x5eeade=(_0x70e033=_0x3a362e['onPointerMove$'])==null?void 0x0:_0x70e033[_0x492100(0x142)]((_0x31fb04,_0xeeb5bc)=>{const _0x563b99=_0x492100;this[_0x563b99(0x393)](_0x31fb04,_0xeeb5bc);}),_0x36f203=_0x3a362e['onPointerDown$'][_0x492100(0x142)]((_0x1521f0,_0x1e9f66)=>{this['_handlePointerDown'](_0x1f483a,_0x1521f0,_0x1e9f66);});this[_0x492100(0x3ac)](_0x34ad80(()=>Yn(_0x5eeade))),this['disposeWithMe'](_0x34ad80(()=>Yn(_0x36f203)));let _0x55897e=this[_0x492100(0x1c1)][_0x492100(0x262)][_0x492100(0x20c)](()=>{const _0x57f49e=_0x492100;this[_0x57f49e(0x355)](),this['_syncPreviewObject']();});this[_0x492100(0x3ac)](_0x34ad80(()=>Yn(_0x55897e))),this['disposeWithMe'](_0x34ad80(()=>{_0x3a362e['enableObjectsEvent'](),this['_removePreviewObject']();})),this[_0x492100(0x355)](),this[_0x492100(0x272)]();}[_0x1bfc49(0x355)](){const _0x3c6c5e=_0x1bfc49;Xn(this[_0x3c6c5e(0x1c1)]['getState']())?this[_0x3c6c5e(0x2d9)][_0x3c6c5e(0x247)]['disableObjectsEvent']():this[_0x3c6c5e(0x2d9)]['scene'][_0x3c6c5e(0x3ee)]();}['_syncPreviewObject'](){const _0x427ee9=_0x1bfc49;var _0x30568d,_0x2570fa;let _0x534998=this[_0x427ee9(0x1c1)][_0x427ee9(0x2d3)]();if(!Xn(_0x534998)){this['_removePreviewObject']();return;}let _0x26cd36=this[_0x427ee9(0x2f2)](),_0x443290=this[_0x427ee9(0x313)][_0x427ee9(0x26f)]();_0x26cd36[_0x427ee9(0x3af)]({'point':this[_0x427ee9(0x281)],'structureKind':_0x443290[_0x427ee9(0x14f)],'children':_0x443290['children'],'blueprint':_0x443290[_0x427ee9(0x2fb)],'zoomRatio':_0x534998[_0x427ee9(0x1d7)]}),(_0x30568d=(_0x2570fa=this[_0x427ee9(0x2d9)][_0x427ee9(0x247)])[_0x427ee9(0x32a)])==null||_0x30568d[_0x427ee9(0x3c7)](_0x2570fa,!0x0);}[_0x1bfc49(0x2f2)](){const _0x20b09c=_0x1bfc49;var _0x1dd379,_0x1cb4cb;if(this[_0x20b09c(0x14a)])return this[_0x20b09c(0x14a)];let _0x33f714=this[_0x20b09c(0x313)][_0x20b09c(0x26f)](),_0x4acbe0=new Gn(Rn,{'point':this[_0x20b09c(0x281)],'structureKind':_0x33f714[_0x20b09c(0x14f)],'children':_0x33f714[_0x20b09c(0x12d)],'blueprint':_0x33f714[_0x20b09c(0x2fb)],'zoomRatio':this['_stateService'][_0x20b09c(0x2d3)]()[_0x20b09c(0x1d7)]});return this[_0x20b09c(0x14a)]=_0x4acbe0,(_0x1dd379=(_0x1cb4cb=this[_0x20b09c(0x2d9)][_0x20b09c(0x247)])[_0x20b09c(0x2a2)])==null||_0x1dd379[_0x20b09c(0x3c7)](_0x1cb4cb,_0x4acbe0,zn),_0x4acbe0;}[_0x1bfc49(0x3a8)](){const _0x3ed9f7=_0x1bfc49;var _0x5a6db4,_0x149e34,_0x340064,_0x5439cb;if(!this[_0x3ed9f7(0x14a)]){this[_0x3ed9f7(0x281)]=null;return;}(_0x5a6db4=(_0x149e34=this['_renderContext'][_0x3ed9f7(0x247)])[_0x3ed9f7(0x197)])==null||_0x5a6db4[_0x3ed9f7(0x3c7)](_0x149e34,[this[_0x3ed9f7(0x14a)]]),this[_0x3ed9f7(0x14a)]=null,this['_lastPoint']=null,(_0x340064=(_0x5439cb=this['_renderContext'][_0x3ed9f7(0x247)])[_0x3ed9f7(0x32a)])==null||_0x340064[_0x3ed9f7(0x3c7)](_0x5439cb,!0x0);}['_getPointFromEvent'](_0x2064db){const _0x294b35=_0x1bfc49;let _0x48b07f=this[_0x294b35(0x1c1)]['getState']();return Jn(_0x2064db,{'panOffset':_0x48b07f[_0x294b35(0x1e7)],'zoomRatio':_0x48b07f[_0x294b35(0x1d7)]});}[_0x1bfc49(0x3d3)](_0x69723){const _0x1d6723=_0x1bfc49;return{'left':Math['round'](_0x69723['x']-_0x2288ab[_0x1d6723(0x126)]/0x2),'top':Math[_0x1d6723(0x207)](_0x69723['y']-_0x2288ab[_0x1d6723(0x3a3)]/0x2)};}[_0x1bfc49(0x393)](_0xcbab21,_0x39fee9){const _0xa42684=_0x1bfc49;Xn(this[_0xa42684(0x1c1)][_0xa42684(0x2d3)]())&&(this[_0xa42684(0x281)]=this['_getPointFromEvent'](_0xcbab21),this[_0xa42684(0x272)](),_0x39fee9[_0xa42684(0x2e6)]());}[_0x1bfc49(0x3c4)](_0x507472,_0x13f08c,_0x2d291d){const _0x373637=_0x1bfc49;var _0x1467b6,_0x30a362;let _0xc9c8d=this[_0x373637(0x1c1)][_0x373637(0x2d3)](),_0x1dcb5c=(_0x1467b6=_0x13f08c[_0x373637(0x2ee)])==null?0x0:_0x1467b6;if(!Xn(_0xc9c8d)||_0x1dcb5c!==0x0)return;let _0x1c1adc=this[_0x373637(0x3ed)](_0x13f08c),_0x10fef7=this[_0x373637(0x3d3)](_0x1c1adc),_0x2084ad=this[_0x373637(0x313)][_0x373637(0x26f)](),_0x36f77f=_0x523736(0x6),_0x233c0a=_0x507472[_0x373637(0x38d)](),_0x18d490=this[_0x373637(0x3ca)][_0x373637(0x3ae)](_0xc6227f['id'],{'unitId':this['_renderContext'][_0x373637(0x308)],'subUnitId':_0x233c0a,'left':_0x10fef7[_0x373637(0x33e)],'top':_0x10fef7[_0x373637(0x1ba)],'rootNodeId':_0x36f77f,'rootText':_0x2084ad[_0x373637(0x285)],'structureKind':_0x2084ad[_0x373637(0x14f)],'branchLineType':_0x2084ad[_0x373637(0x2c6)],'children':_0x2084ad[_0x373637(0x12d)],'blueprint':_0x2084ad[_0x373637(0x2fb)]});Promise[_0x373637(0x1e1)](_0x18d490)[_0x373637(0x231)](_0x37708b=>{const _0x29a2d7=_0x373637;if(!_0x37708b)return;let _0x59f197={'unitId':this['_renderContext'][_0x29a2d7(0x308)],'subUnitId':_0x233c0a};this[_0x29a2d7(0x29f)][_0x29a2d7(0x251)](_0x59f197,[_0x36f77f],_0x36f77f),this[_0x29a2d7(0x36b)]['ignoreExternalFocusChanges'](),this[_0x29a2d7(0x36b)]['setEditing']({..._0x59f197,'shapeId':_0x36f77f,'shapeKey':_0x3f73c8(_0x59f197['unitId'],_0x36f77f),'visible':!0x0});}),this[_0x373637(0x1c1)][_0x373637(0x298)](_0x2257b4[_0x373637(0x20f)]),_0x2d291d[_0x373637(0x2e6)](),(_0x30a362=_0x13f08c['preventDefault'])==null||_0x30a362[_0x373637(0x3c7)](_0x13f08c);}};Zn=J([q(0x1,_0x49e7f1),q(0x2,_0x1ce780),q(0x3,_0x38f57d),q(0x4,_0xbc3476(qn)),q(0x5,_0x4f61df),q(0x6,_0xbc3476(_0x1cecde))],Zn);var Qn=class extends _0x5dfc4c{constructor(..._0x3052db){const _0x2e85a8=_0x1bfc49;super(..._0x3052db),K(this,_0x2e85a8(0x228),new _0x5163f6()),K(this,_0x2e85a8(0x238),this[_0x2e85a8(0x228)][_0x2e85a8(0x146)]());}[_0x1bfc49(0x291)](_0x3de26d){const _0x34f79f=_0x1bfc49;this[_0x34f79f(0x228)][_0x34f79f(0x128)](_0x3de26d);}[_0x1bfc49(0x1b7)](){const _0x303077=_0x1bfc49;this[_0x303077(0x228)][_0x303077(0x1d1)](),super['dispose']();}};function _0x822b(){const _0x1ebeb8=['boards-mind-ui.toolbar.primary.line','clear','onDblclick$','mind-map-layout-dropdown','rootNodeId','boards-mind-ui.saveDescription','_getPointerLiveBounds','Mind\x20map','univer-flex\x20univer-gap-2','parentBounds','boards-mind-ui.panel.structureKind.timelineHorizontal','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','paste-as-new','_activeNodeId','_resolveControlSide','targetNodeId','dataTransfer','_getPointerScreenPoint','liveRootBounds','left','boards-mind-ui.panel.tab.structure','boards-mind-ui.panel.layout.left','textPaddingScreen','has','_removeDragPreviewObject','dot','univer-space-y-2','rootStartBounds','hideRootControls','getObject','_cloneBlueprintNode','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','arrow-up','UNIVER_BOARDS_MIND_UI_PLUGIN','add-child-top','registerProvider','_applyPointerChildDrag','addSibling','preventDefault','style-divider','renderGhostNode','setPendingInsert','_syncSceneInputMode','_hideSelectionForChildDrag','univer-w-24','univer-h-9\x20univer-w-12','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_shortcutService','join','_objectEventDisposables','M56\x2011h11M56\x2051h11','quadraticCurveTo','incomingConnectorStyle','getHitControl','getShortcutDisplay','getConfig','transientPreviewForeground','item','toPrimitive','branch-rounded-orthogonal','importExport','glyphWidth','requestRender','univer-flex\x20univer-justify-end\x20univer-gap-2','_boardTextEditingService','detach','orthogonal','px\x20','LEFT','entries','_applyDragTopologyAction','scopeId','_resolveDirtyBounds','_attachActivePointerDragListeners','UNIVER_BOARD','shapeData','version','iterator','lineJoin','univer-size-5','_resolveHostSize','getSnapshot','onClick','fromEntries','snapDistance','_dragStart','arrow-right','_uiStateService','textStyle','boards-mind-ui.panel.rename','textAlign','mindmap','move','Shape','currentTarget','_resolveCreateChildSide','hide','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getActivePageId','1072Xkdgzy','boards-mind-ui.toolbar.action.addSibling','fontFamily','arrow-left','boards-mind-ui.description','_handlePointerMove','170420WhbDdO','documentStyle','rootFontSize','M20\x2025h13M20\x2035h13M20\x2045h13','pipe','Escape','repeat(','_handleNodeUpdateCommand','slice','globalAlpha','onPointerUp$','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','_interactionSurfaceService','structure','branchGap','rootHeight','pointerStartY','items','number','clearControl$','_removePreviewObject','_template','setContextValue','restore','disposeWithMe','save','executeCommand','updateState','connectorData','context','_capturePointerChildDragStart','newParentNodeId','_resolveControlBounds','fillText','boards-mind-ui.toolbar.action.layout','_isPointInBounds','center','_initEditingRestore','_syncDragPreview','univer-w-20\x20univer-shrink-0','objectAlpha','middle','Timeline','panel','_activePreview','MIDDLE','badgeCount','surfaceColor','_handlePointerDown','svg','TOP','call','set','branch-orthogonal','_commandService','ghostFontWeight','_findChildNodeAtPoint','updateElement','min','solid','isRoot','boards-mind-ui.toolbar.panel.line','_isChildDragPastActivationThreshold','_resolveRootTopLeft','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','_registerComponents','arrow-down','visible','MindMap','_createTopologyBoundsByElementId','_attachObjectPointerScheduled','add-sibling-before','ghostRadius','buttons','clientX','collapsed','_debouncedLayoutTimer','circle','6907480AVcCgP','text/plain','timeline-horizontal','ArrowLeft','referenceNodeId','boards-mind-ui.panel.layout.both','SquareDot','setConfig','render','layout','transform','_getPointFromEvent','enableObjectsEvent','bottom','_object','boundsByElementId','_boardUIStateService','toolbar','_restoreActivePreview','getElementById','vertical','radius','siblingGap','boards-mind-ui.alignBottom','string','univer-w-full\x20univer-text-xs','after','14rVfxtB','_resolveRootChildControlSides','mind-map-stroke','getTransformerByCreate','pointercancel','unsubscribe','rootWidth','_resolvePreviewSourceBounds','next','textFill','siblingGlyphSize','branch-curve','offsetY','children','boards-mind-ui.toolbar.action.copy','preview','transformByState','board-mind-map-description-dialog','changeEnd$','_getBoardPointFromEvent','_getZoomRatio','_childDragActivated','univer-max-w-[min(760px,calc(100vw-32px))]','_cloneBlueprint','72908RQQmID','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','_boardElementService','primary','data','addSiblingNode','right','_resolveIncomingConnectorStyle','boards-mind-ui.descriptionPlaceholder','nodeId','subscribeEvent','activeEditingId','oKey','_getSceneObject','asObservable','0\x200\x2024\x2024','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','type','_previewObject','_createShortcutItems','currentColor','getOwnPropertyDescriptor','tree-alternate','structureKind','1.8','foreignAttributes','interactionSurfaceActive$','structured','offsetX','getUnit','M12\x2026h11M58\x2036h11M12\x2045h11','length','add-sibling-or-child','pointerStartX','_seedExistingNodeSizes','rootChildSides','onPointerDown$','boards-mind-ui.panel.importOPML','beginMindMapMode','_previewHostSize','boards-mind-ui.toolbar.action.fontColor','boards-mind-ui.toolbar.primary.more','success','dragObjectAlpha','isHit','add-child','board-mind-map-drag-preview-object','from','board.mind-map.floating-toolbar','M31\x2013c9\x208\x209\x2022\x2018\x2030M49\x2013c-9\x208-9\x2022-18\x2030M31\x2013c-7\x204-9\x209-9\x2015s2\x2011\x209\x2015M49\x2013c7\x204\x209\x209\x209\x2015s-2\x2011-9\x2015','board.operation.mind-map.keyboard-shortcut','ignoreExternalFocusChanges','title','univer-space-y-1','BACKSPACE','dropdown','localeCompare','boards-mind-ui.panel.tab.importExport','label','_ensureDragPreviewObject','bold','_syncChildDragPreviewObject','getSelectedObjectMap','0\x200\x2080\x2056','_childDragSelectionHidden','ghost','params','pluginName','_dragPreviewObject','_consumePointerEvent','boards-mind-ui.toolbar.action.paste','_executeCreateAndEdit','Tree\x20diagram','_subscribeElementDataChanges','connector','boards-mind-ui.toolbar.action.delete','_createKeyboardShortcutOperation','_activePointerDragDisposables','_objectPointerDisposables','getEditing','onCommandExecuted','_countDescendants','path','stroke','_rememberNodeSize','_activeScopeId','25836459LmyGiV','max','RIGHT','_nodeSizeByKey','_addChild','glyphHoverWidth','strokeWidth','fallbackNodeWidth','boards-mind-ui.panel.branchLineType.orthogonal','removeObjects','hasChildren','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','boards-mind-ui.toolbar.primary.fontColor','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','_state','editCurrentNode','fillStyle','parentNodeId','show','allowRootReparent','defineProperty','_config','more','mindmap-horizontal','_queueLayout','elementId','rootTextColor','_pasteUnderSelectedNode','_isControlEvent','JUSTIFIED','dirtyPaddingScreen','textBaseline','boards-mind-ui.toolbar.panel.more','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-items-center\x20univer-gap-1','boards-mind-ui.panel.cancel','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','_injector','curve','addParentNode','rootFontWeight','glyphSize','dispose','opml','side','top','_lastChildDragAction','boards-mind-ui.panel.exportOPML','line','typography','trim','structureScopeId','_stateService','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','univer-mb-3\x20univer-w-full','boards-mind-ui.toolbar.action.addChild','strikethrough','hoveredControl','connectorAlpha','sourceHighlightStrokeColor','rootRadius','_intrinsicSizeService','parseInt','_provider','_dialogService','univer-border-b\x20univer-border-gray-200\x20univer-p-4\x20dark:!univer-border-gray-700','clearSelection','collapse-all','complete','pointerup','getObjectIncludeInGroup','registerCommand','nodeHeight','_normalizeChildren','zoomRatio','_syncMindMapTextEditorContext','addChildNode','nodeWidth','lineWidthScreen','15381FHvhCK','_getElementKey','_ensureObject','ghostTextColor','_openSelectedTextEditing','resolve','action','boards-mind-ui.toolbar.panel.typography','collapsedDescendantCount','registerRenderModule','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','viewportPanOffset','clearPendingInsert','_syncRootReparentPreview','shapeText','_getSelectedMindMapContext','evented','text','ARROW_UP','_syncControls','_syncPointerChildDragPreview',',\x20minmax(0,\x201fr))','_previewRefreshService','sort','Dash','fill','_contextService','get','_init','univer-border-b\x20univer-border-gray-200\x20univer-p-3\x20dark:!univer-border-gray-700','extraProps','underline','findIndex','gap','FOCUSING_MIND_MAP_TEXT_EDITOR','_boardCanvasPopManagerService','rgb','writeText','attachPopupToObject','_resolvePreviewTextStyle','changing$','exec','getBoundingClientRect','round','bounds','boards-mind-ui.alignLeft','dash','Branch','subscribe','setHoveredControl','isFinite','Select','placement','key','onReady','_getLiveObjectBounds','onPointerCancel$','boards-mind-ui.panel.spacing.siblingGap','sourceDashScreen','DELETE','board-mind-map-node-controls-object','addChildRadius','isRootNode','_syncChildDragPreview','_resolveSelectedEntry','setShapeSidebarOpen','direction','_queueDebouncedLayout','before','_scheduleAttachObjectPointerListeners','_instanceSrv','titleKey','outlineItems','_collapseAll','strokeStyle','objects','_refresh$','point','toggle-collapse','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','editingParams$','_copySelectedNode','_removeObject','_updateHostSize','moveTo','then','abs','SolidLine','boards-mind-ui.toolbar.primary.typography','selectedIds','style','boards-mind-ui.alignMiddle','refresh$','collapsePlusMinDistance','_attachObjectPointerListeners','_resolveSelectedMindMapEntryFromState','primaryColor','color','popup','copy','function','boards-mind-ui.panel.branchLineType.roundedOrthogonal','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','kind','_debouncedLayouts','_resolveArrowNavigationTarget','scene','_navigateByTopology','_mindMapClipboardService','add-sibling-after','dispose$','ARROW_RIGHT','_getBlankBoardContext','small','toLowerCase','SHIFT','selectElements','ArrowUp','mind-map-fill','elementData','paste','boards-mind-ui.alignCenter','_clearPopupIfSelectionChanged','enabled','1.0.0-alpha.7','subUnitId','_componentManager','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','timeline-vertical','getElementData','_resolveChildSide','_isPopupSelectionStillActive','state$','@univerjs-pro/boards-mind-ui','_pasteAsNewMindMap','univer-mb-4','_drawSourceHighlight','root','_consumeControlEvent','delete','_attachObjectEvents','boards-mind-ui.panel.tab.layout','add-child-right','lineCap','_resolveCurrentBoardContext','getTemplate','siblingDotGap','flatMap','_syncPreviewObject','_toFiniteBounds','getElementDataForUnit','divider-','_handleElementUpdate','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','open','elementUpdate$','onChange','166206aqAEwC','filter','addDescription','height','ArrowDown','timelineAxisGap','_lastPoint','badgeFontWeight','_isEditingMindMapNode','sourceBounds','rootText','_layoutFlushScheduled','defaultValue','map','registerShortcut','width','214431QzzIkG','_resolveNodeSize','_createQuoteShortcut','getPayload','find','horizontalGap','notify','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','_syncRootScopePreview','registerAdapter','timeline','_configService','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','setActiveTool','rounded-orthogonal','activeTool','univer-flex\x20univer-flex-col\x20univer-gap-2','forEach','fontColor','tree-left','_elementStateService','boards-mind-ui.panel.structureKind.treeAlternate','_pointerDragStart','addObject','_textEditingService','isTransforming','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','boards-mind-ui.panel.structureKind.treeLeft','ghostFillColor','effectAllowed','_restoreObjectToDragStart','boards-mind-ui.alignRight','textColor','addChild','boards-mind-ui.panel.spacing.branchGap','_getMindMapChildren','push','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','values','boards-mind-ui.panel.structureKind.mindmapVertical','siblingHoverRadius','sourceHighlightFillColor','clientY','M4.5\x207.5h4.2c1.9\x200\x203.3\x201.5\x203.3\x203.3v2.4c0\x201.8\x201.4\x203.3\x203.3\x203.3h4.2','horizontalAlign','labelKey','elementAdd$','_disposeActivePointerDragListeners','description','add-child-left','controls','onPointerMove$','addEventListener','default','_buildPopupSelectionKey','_handleShortcut','opacity','_popupDisposable','createControl$','branchLineType','_executeNodeOperation','zIndex','_popupSelectionKey','_instanceService','transientPreview','some','register','custom','italic','boards-mind-ui.toolbar.action.fill','_renderManagerService','_queuedLayouts','getState','BOTTOM','spacing','_cancelPointerChildDrag','true','beginPath','_renderContext','decorate','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','_openDescriptionDialog','M21\x2028h38M40\x2011v34M28\x2016c7\x204\x2010\x208\x2012\x2012\x202-4\x205-8\x2012-12M28\x2040c7-4\x2010-8\x2012-12\x202\x204\x205\x208\x2012\x2012','161ytEaOC','constructor','setEditing','univer-text-xs\x20univer-text-gray-500','object','dividerBefore','dashType','navigator','stopPropagation','_enableMindMapToolbarTool','_getBoardsUIConfig','_clearPopup','ARROW_LEFT','promote','detachWhenNoSnap','icon','button','hasCommand','68MKhjuA','_drawConnectorPreview','_ensurePreviewObject','lineTo','_showPopupForSelection','makeDirtyNoDebounce','div','panOffset','span','orderKey','boards-mind-ui.panel.tab.','blueprint','ENTER','ArrowRight','focusedId','ghostBounds','_resolveChildDragTopologyAction','reduce','dropEffect','setTemplate','child','_applyRootTranslation','add','boards-mind-ui.panel.emptyNodes','unitId','visualRadius','removeEventListener','closePath','element','hypot','tree-right','OPERATION','badgeFontSize','_executeChildDragAction','fontSize','_insertStateService','add-child-bottom','close','_executeAndLayout','borderWidth','mindmap-vertical','verticalAlign','lineWidth','_syncElementDataToScene','font','value','both','symbol','keys','edit-text','reparent','#d8dce3','includes','prototype','depth','dataModel','_captureDragStart','none','makeDirty'];_0x822b=function(){return _0x1ebeb8;};return _0x822b();}function $n(_0xd94cd2){const _0x5a0f5c=_0x1bfc49;return typeof _0xd94cd2==_0x5a0f5c(0x3a6)&&Number['isFinite'](_0xd94cd2)&&_0xd94cd2>0x0;}function er(_0x3a37d5,_0xded75c,_0x9759aa){const _0x26db87=_0x1bfc49;var _0x205c57;let _0x41e385=_0x3a37d5[_0xded75c],_0x33cdfc=_0x4b908c(_0x41e385==null?void 0x0:_0x41e385['element']);if(!_0x41e385||!_0x33cdfc)return null;let _0x497890=_0x5a9769(_0x41e385,_0x9759aa);if(!_0x497890)return null;let _0x382231=(_0x205c57=_0x41e385[_0x26db87(0x3ec)])==null?_0x41e385[_0x26db87(0x30c)][_0x26db87(0x3ec)]:_0x205c57;return _0x47afba({..._0x3a37d5,[_0xded75c]:{..._0x41e385,'transform':{..._0x382231,'width':_0x497890[_0x26db87(0x28a)],'height':_0x497890['height']},'element':{..._0x41e385[_0x26db87(0x30c)],'transform':{..._0x41e385[_0x26db87(0x30c)]['transform'],'width':_0x497890[_0x26db87(0x28a)],'height':_0x497890[_0x26db87(0x27e)]}}}},_0x33cdfc[_0x26db87(0x1c0)]);}let tr=class extends _0x5b09aa{constructor(_0x3e62fb,_0x1f2d1b,_0x4d6326,_0x52aa9a,_0x3f7727){const _0x405799=_0x1bfc49;super(),this[_0x405799(0x2d9)]=_0x3e62fb,this[_0x405799(0x1ca)]=_0x1f2d1b,this[_0x405799(0x13a)]=_0x4d6326,this['_textEditingService']=_0x52aa9a,this[_0x405799(0x1f2)]=_0x3f7727,K(this,_0x405799(0x3c0),null),K(this,_0x405799(0x1cc),{'match':_0x3df736=>_0x3df736[_0x405799(0x308)]===this[_0x405799(0x2d9)][_0x405799(0x308)]&&!!_0x4b908c(_0x3df736[_0x405799(0x30c)]),'resolveHostSize':_0x26ceb5=>this[_0x405799(0x37b)](_0x26ceb5),'previewHostSize':_0x24a9ac=>this[_0x405799(0x15f)](_0x24a9ac),'updateHostSize':_0x2a072a=>this['_updateHostSize'](_0x2a072a)}),this[_0x405799(0x3ac)](this[_0x405799(0x1ca)][_0x405799(0x34e)](this[_0x405799(0x1cc)])),this['_initEditingRestore'](),this[_0x405799(0x3ac)](_0x34ad80(()=>this[_0x405799(0x3f4)]()));}[_0x1bfc49(0x22f)](_0x2375a3){const _0x89d1be=_0x1bfc49;return this[_0x89d1be(0x15f)](_0x2375a3);}['_previewHostSize'](_0x1e736d){const _0x54205d=_0x1bfc49;var _0xfce6a;let _0x1e1671=this['_resolveHostSize'](_0x1e736d);if(!_0x1e1671)return!0x1;let _0x48b767=(_0xfce6a=_0x1e736d[_0x54205d(0x254)]['transform'])==null?_0x1e736d['elementData']['element'][_0x54205d(0x3ec)]:_0xfce6a;return!this[_0x54205d(0x3c0)]&&_0x48b767[_0x54205d(0x28a)]===_0x1e1671[_0x54205d(0x28a)]&&_0x48b767[_0x54205d(0x27e)]===_0x1e1671[_0x54205d(0x27e)]||this['_syncLayoutPreview'](_0x1e736d,_0x1e1671),!0x0;}[_0x1bfc49(0x37b)](_0x2fa8df){const _0xf26ea5=_0x1bfc49;return!$n(_0x2fa8df['params']['width'])||!$n(_0x2fa8df[_0xf26ea5(0x17a)]['height'])?null:_0x5a9769(_0x2fa8df[_0xf26ea5(0x254)],{'width':_0x2fa8df['params']['width'],'height':_0x2fa8df[_0xf26ea5(0x17a)]['height']});}[_0x1bfc49(0x3b9)](){const _0x301e3a=_0x1bfc49;this[_0x301e3a(0x3ac)](_0x34ad80(this[_0x301e3a(0x2a3)][_0x301e3a(0x22c)]['pipe'](_0x17a1de(this[_0x301e3a(0x24b)]))[_0x301e3a(0x20c)](_0x4650c8=>{_0x4650c8||this['_restoreActivePreview']();})));}['_syncLayoutPreview'](_0x3c24d3,_0x146b10){const _0x3d4f96=_0x1bfc49;var _0x58100a;let _0x53a7b1=this[_0x3d4f96(0x13a)]['getElementData'](_0x3c24d3['params']['unitId'],_0x3c24d3[_0x3d4f96(0x17a)][_0x3d4f96(0x25a)]),_0x225360=er(_0x53a7b1,_0x3c24d3[_0x3d4f96(0x17a)]['shapeId'],_0x146b10),_0x61e887=_0x4b908c((_0x58100a=_0x53a7b1[_0x3c24d3[_0x3d4f96(0x17a)]['shapeId']])==null?void 0x0:_0x58100a[_0x3d4f96(0x30c)]);!_0x225360||!_0x61e887||(this[_0x3d4f96(0x3c0)]={'unitId':_0x3c24d3[_0x3d4f96(0x17a)][_0x3d4f96(0x308)],'subUnitId':_0x3c24d3[_0x3d4f96(0x17a)][_0x3d4f96(0x25a)],'scopeId':_0x61e887[_0x3d4f96(0x1c0)]},this[_0x3d4f96(0x31b)](_0x225360,_0x61e887['structureScopeId'])&&this['_previewRefreshService']['notify']({'unitId':_0x3c24d3[_0x3d4f96(0x17a)][_0x3d4f96(0x308)],'subUnitId':_0x3c24d3[_0x3d4f96(0x17a)][_0x3d4f96(0x25a)],'nodeId':_0x3c24d3[_0x3d4f96(0x17a)]['shapeId'],'scopeId':_0x61e887[_0x3d4f96(0x1c0)]}));}[_0x1bfc49(0x3f4)](){const _0x4a092a=_0x1bfc49;let _0x30b60f=this[_0x4a092a(0x3c0)];if(!_0x30b60f)return;this[_0x4a092a(0x3c0)]=null;let _0xccae76=this[_0x4a092a(0x13a)][_0x4a092a(0x25f)](_0x30b60f[_0x4a092a(0x308)],_0x30b60f[_0x4a092a(0x25a)]);this[_0x4a092a(0x31b)](_0xccae76,_0x30b60f[_0x4a092a(0x372)])&&this['_previewRefreshService'][_0x4a092a(0x291)]({'unitId':_0x30b60f[_0x4a092a(0x308)],'subUnitId':_0x30b60f[_0x4a092a(0x25a)],'nodeId':_0x30b60f['scopeId'],'scopeId':_0x30b60f[_0x4a092a(0x372)]});}[_0x1bfc49(0x31b)](_0x39dcc1,_0xfbb0b){const _0x536b76=_0x1bfc49;let _0x474533=!0x1;if(Object[_0x536b76(0x2b1)](_0x39dcc1)[_0x536b76(0x29c)](_0x5b4a20=>{const _0x541935=_0x536b76;var _0x4b3e30;let _0x24138c=_0x4b908c(_0x5b4a20[_0x541935(0x30c)]),_0x4e64e8=(_0x4b3e30=_0x5b4a20[_0x541935(0x30c)][_0x541935(0x2ce)])==null?void 0x0:_0x4b3e30[_0x541935(0x153)];if(!(_0x5b4a20[_0x541935(0x1a7)]===_0xfbb0b||(_0x24138c==null?void 0x0:_0x24138c[_0x541935(0x1c0)])===_0xfbb0b||(_0x4e64e8==null?void 0x0:_0x4e64e8['structureScopeId'])===_0xfbb0b))return;let _0x17480e=this['_getSceneObject'](_0x5b4a20['elementId']);_0x17480e&&(_0x474533=_0x18f241(_0x17480e,_0x5b4a20,{'elementData':_0x39dcc1,'unitId':this[_0x541935(0x2d9)][_0x541935(0x308)]})||_0x474533);}),_0x474533){var _0x1e8092,_0x1a0e36;this[_0x536b76(0x2d9)][_0x536b76(0x247)][_0x536b76(0x32a)](!0x0),(_0x1e8092=(_0x1a0e36=this[_0x536b76(0x2d9)][_0x536b76(0x247)])['requestRender'])==null||_0x1e8092['call'](_0x1a0e36);}return _0x474533;}[_0x1bfc49(0x145)](_0xa02056){const _0x28e9e0=_0x1bfc49;var _0x437d8e,_0x15f691,_0x1c2571;let _0x3ec74f=_0x3f73c8(this[_0x28e9e0(0x2d9)][_0x28e9e0(0x308)],_0xa02056),_0x3ac659=this[_0x28e9e0(0x2d9)][_0x28e9e0(0x247)];return(_0x437d8e=(_0x15f691=(_0x1c2571=_0x3ac659['getObjectIncludeInGroup'])==null?void 0x0:_0x1c2571[_0x28e9e0(0x3c7)](_0x3ac659,_0x3ec74f))==null?this[_0x28e9e0(0x2d9)][_0x28e9e0(0x247)][_0x28e9e0(0x348)](_0x3ec74f):_0x15f691)==null?null:_0x437d8e;}};tr=J([q(0x1,_0xbc3476(_0x50c9e9)),q(0x2,_0xbc3476(_0x295e11)),q(0x3,_0xbc3476(_0x1cecde)),q(0x4,_0xbc3476(Qn))],tr);const $={'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x1bfc49(0x23c)],'surfaceColor':Y[_0x1bfc49(0x3c3)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y['fontFamily']};function nr(_0x3acf1f){const _0x2fea5f=_0x1bfc49;let _0x548c4c=$[_0x2fea5f(0x3f7)],_0xc01d38=$[_0x2fea5f(0x219)],_0x500ae5=$[_0x2fea5f(0x2b3)],_0x2be228=$[_0x2fea5f(0x1fd)],_0x4f38fe=$['siblingDotRadius'],_0x2209fd=_0x4f38fe+$[_0x2fea5f(0x270)],_0x503c66=$[_0x2fea5f(0x239)],_0x4ce596=_0x3acf1f['bounds']['top']+_0x3acf1f['bounds'][_0x2fea5f(0x27e)]/0x2,_0x66b4f4=_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x33e)]+_0x3acf1f['bounds']['width']/0x2,_0x123cd1=_0x3acf1f[_0x2fea5f(0x208)]['left']-_0x548c4c-_0x2be228,_0x254a3f=_0x3acf1f[_0x2fea5f(0x208)]['left']+_0x3acf1f[_0x2fea5f(0x208)]['width']+_0x548c4c+_0x2be228,_0x1ca7cc=_0x3acf1f[_0x2fea5f(0x208)]['top']-_0x548c4c-_0x2be228,_0x2b16db=_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x1ba)]+_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x27e)]+_0x548c4c+_0x2be228,_0x1e8ee8=_0x3acf1f['bounds'][_0x2fea5f(0x33e)]-_0xc01d38-_0x2be228,_0x187a02=_0x3acf1f['bounds'][_0x2fea5f(0x33e)]+_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x28a)]+_0xc01d38+_0x2be228,_0x5ece98=_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x1ba)]-_0xc01d38-_0x2be228,_0x478f90=_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x1ba)]+_0x3acf1f['bounds']['height']+_0xc01d38+_0x2be228,_0x32580f=[],_0x14da24=_0x3acf1f['side']===_0x2fea5f(0x1ba)||_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x3ef),_0x5dcaee=_0x14da24?_0x66b4f4:_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x33e)?_0x123cd1:_0x254a3f,_0xe1ae03=_0x14da24?_0x3acf1f[_0x2fea5f(0x1b9)]==='top'?_0x1ca7cc:_0x2b16db:_0x4ce596;if(_0x3acf1f[_0x2fea5f(0x198)]&&_0x3acf1f[_0x2fea5f(0x1e4)]>0x0)return _0x32580f[_0x2fea5f(0x2af)]({'kind':'toggle-collapse','x':_0x5dcaee,'y':_0xe1ae03,'radius':_0x548c4c,'badgeCount':_0x3acf1f[_0x2fea5f(0x1e4)]}),_0x32580f;if(_0x3acf1f[_0x2fea5f(0x3d0)]){var _0x1867bb;((_0x1867bb=_0x3acf1f[_0x2fea5f(0x15b)])==null?_0x14da24?[_0x2fea5f(0x1ba),_0x2fea5f(0x3ef)]:[_0x2fea5f(0x33e),_0x2fea5f(0x13e)]:_0x1867bb)[_0x2fea5f(0x29c)](_0xebce22=>{const _0x9572dd=_0x2fea5f;_0xebce22==='top'?_0x32580f['push']({'kind':_0x9572dd(0x34d),'x':_0x66b4f4,'y':_0x5ece98,'radius':_0xc01d38}):_0xebce22===_0x9572dd(0x3ef)?_0x32580f[_0x9572dd(0x2af)]({'kind':_0x9572dd(0x314),'x':_0x66b4f4,'y':_0x478f90,'radius':_0xc01d38}):_0xebce22==='left'?_0x32580f[_0x9572dd(0x2af)]({'kind':'add-child-left','x':_0x1e8ee8,'y':_0x4ce596,'radius':_0xc01d38}):_0x32580f[_0x9572dd(0x2af)]({'kind':'add-child-right','x':_0x187a02,'y':_0x4ce596,'radius':_0xc01d38});});}else _0x32580f[_0x2fea5f(0x2af)]({'kind':_0x3acf1f[_0x2fea5f(0x1b9)]==='left'?'add-child-left':_0x3acf1f[_0x2fea5f(0x1b9)]==='top'?_0x2fea5f(0x34d):_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x3ef)?_0x2fea5f(0x314):_0x2fea5f(0x26c),'x':_0x14da24?_0x66b4f4:_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x33e)?_0x1e8ee8:_0x187a02,'y':_0x14da24?_0x3acf1f['side']===_0x2fea5f(0x1ba)?_0x5ece98:_0x478f90:_0x4ce596,'radius':_0xc01d38}),_0x14da24?(_0x32580f[_0x2fea5f(0x2af)]({'kind':_0x2fea5f(0x3db),'placement':'before','x':_0x3acf1f['bounds']['left']-_0x2209fd,'y':_0x4ce596,'radius':_0x500ae5,'visualRadius':_0x4f38fe}),_0x32580f['push']({'kind':'add-sibling-after','placement':_0x2fea5f(0x3fc),'x':_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x33e)]+_0x3acf1f['bounds'][_0x2fea5f(0x28a)]+_0x2209fd,'y':_0x4ce596,'radius':_0x500ae5,'visualRadius':_0x4f38fe})):(_0x32580f[_0x2fea5f(0x2af)]({'kind':_0x2fea5f(0x3db),'placement':_0x2fea5f(0x220),'x':_0x66b4f4,'y':_0x3acf1f['bounds'][_0x2fea5f(0x1ba)]-_0x2209fd,'radius':_0x500ae5,'visualRadius':_0x4f38fe}),_0x32580f[_0x2fea5f(0x2af)]({'kind':'add-sibling-after','placement':_0x2fea5f(0x3fc),'x':_0x66b4f4,'y':_0x3acf1f[_0x2fea5f(0x208)]['top']+_0x3acf1f[_0x2fea5f(0x208)][_0x2fea5f(0x27e)]+_0x2209fd,'radius':_0x500ae5,'visualRadius':_0x4f38fe}));if(_0x3acf1f['hasChildren']){let _0x153d92={'kind':_0x2fea5f(0x22a),'x':_0x5dcaee,'y':_0xe1ae03,'radius':_0x548c4c};_0x32580f[_0x2fea5f(0x2af)](_0x153d92);let _0x100506=_0x32580f[_0x2fea5f(0x28f)](_0x505ae5=>_0x505ae5['kind']===(_0x3acf1f['side']==='left'?_0x2fea5f(0x2bc):_0x3acf1f['side']==='top'?'add-child-top':_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x3ef)?_0x2fea5f(0x314):'add-child-right'));_0x100506&&Math[_0x2fea5f(0x30d)](_0x100506['x']-_0x153d92['x'],_0x100506['y']-_0x153d92['y'])<_0x503c66&&(_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x1ba)||_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x3ef)?_0x100506['y']=_0x153d92['y']+(_0x3acf1f[_0x2fea5f(0x1b9)]===_0x2fea5f(0x1ba)?-_0x503c66:_0x503c66):_0x100506['x']=_0x153d92['x']+(_0x3acf1f['side']==='left'?-_0x503c66:_0x503c66));}return _0x32580f;}const rr=_0x1bfc49(0x218),ir=_0x1254b3['connectorAffordance'];function ar(_0xfed065,_0x2e40e9){const _0x1f91fc=_0x1bfc49;return!!_0xfed065&&_0xfed065[_0x1f91fc(0x244)]===_0x2e40e9[_0x1f91fc(0x244)]&&_0xfed065['x']===_0x2e40e9['x']&&_0xfed065['y']===_0x2e40e9['y'];}var or=class extends _0x68d0be{constructor(_0x2b0893=rr,_0x5b2f2f){const _0x5039d7=_0x1bfc49;super(_0x2b0893),K(this,_0x5039d7(0x19c),{'controls':[]}),this['evented']=!0x0,this[_0x5039d7(0x2c8)]=_0x38268b['transientControl'],this[_0x5039d7(0x3af)](_0x5b2f2f);}[_0x1bfc49(0x3af)](_0x5efe30){const _0x1e7e53=_0x1bfc49;this['_state']={...this[_0x1e7e53(0x19c)],..._0x5efe30},this['_state']['controls'][_0x1e7e53(0x157)]>0x0?this[_0x1e7e53(0x1a0)]():this[_0x1e7e53(0x38b)](),this[_0x1e7e53(0x32a)](!0x0);}[_0x1bfc49(0x20d)](_0x49c24e){const _0x131b02=_0x1bfc49;!_0x49c24e&&!this[_0x131b02(0x19c)][_0x131b02(0x1c6)]||_0x49c24e&&ar(this[_0x131b02(0x19c)]['hoveredControl'],_0x49c24e)||(this['_state']={...this[_0x131b02(0x19c)],'hoveredControl':_0x49c24e},this['makeDirty'](!0x0));}[_0x1bfc49(0x360)](_0x1a8642){const _0x825bd4=_0x1bfc49;for(let _0x4a8c8c=this[_0x825bd4(0x19c)][_0x825bd4(0x2bd)][_0x825bd4(0x157)]-0x1;_0x4a8c8c>=0x0;--_0x4a8c8c){let _0x1113cf=this[_0x825bd4(0x19c)][_0x825bd4(0x2bd)][_0x4a8c8c];if(Math[_0x825bd4(0x30d)](_0x1a8642['x']-_0x1113cf['x'],_0x1a8642['y']-_0x1113cf['y'])<=_0x1113cf[_0x825bd4(0x3f7)])return _0x1113cf;}return null;}[_0x1bfc49(0x164)](_0x248ffe){return!!this['getHitControl']({'x':_0x248ffe['x'],'y':_0x248ffe['y']});}[_0x1bfc49(0x3ea)](_0xb88f22,_0x159acb){const _0x43813e=_0x1bfc49;return!this[_0x43813e(0x3d7)]||this[_0x43813e(0x19c)][_0x43813e(0x2bd)][_0x43813e(0x157)]===0x0?(this[_0x43813e(0x32a)](!0x1),this):(_0xb88f22[_0x43813e(0x3ad)](),this[_0x43813e(0x19c)]['controls'][_0x43813e(0x29c)](_0x10504d=>{const _0x3e7f41=_0x43813e;var _0x4e028d;let _0x32102b=ar(this[_0x3e7f41(0x19c)][_0x3e7f41(0x1c6)],_0x10504d),_0xde2958=_0x10504d[_0x3e7f41(0x3c2)]!==void 0x0,_0xa22fe2=_0x10504d[_0x3e7f41(0x244)]===_0x3e7f41(0x2bc)||_0x10504d[_0x3e7f41(0x244)]===_0x3e7f41(0x26c)||_0x10504d[_0x3e7f41(0x244)]===_0x3e7f41(0x34d)||_0x10504d[_0x3e7f41(0x244)]==='add-child-bottom',_0x16ba1f=_0x10504d['kind']===_0x3e7f41(0x3db)||_0x10504d['kind']===_0x3e7f41(0x24a),_0x59ebca=_0x16ba1f&&!_0x32102b?(_0x4e028d=_0x10504d[_0x3e7f41(0x309)])==null?_0x10504d[_0x3e7f41(0x3f7)]:_0x4e028d:_0x10504d[_0x3e7f41(0x3f7)];if(_0xb88f22[_0x3e7f41(0x2d8)](),_0xb88f22[_0x3e7f41(0x19e)]=_0x10504d[_0x3e7f41(0x244)]==='toggle-collapse'?$[_0x3e7f41(0x3c3)]:$[_0x3e7f41(0x23c)],_0xb88f22[_0x3e7f41(0x226)]=$[_0x3e7f41(0x23c)],_0xb88f22[_0x3e7f41(0x31a)]=$[_0x3e7f41(0x317)],_0xb88f22['arc'](_0x10504d['x'],_0x10504d['y'],_0x59ebca,0x0,Math['PI']*0x2),_0xb88f22[_0x3e7f41(0x1f5)](),(!_0x16ba1f||_0x32102b)&&_0xb88f22[_0x3e7f41(0x18b)](),!_0xde2958&&(!_0x16ba1f||_0x32102b)){if(_0xb88f22['beginPath'](),_0xb88f22[_0x3e7f41(0x226)]=_0x10504d['kind']===_0x3e7f41(0x22a)?$['primaryColor']:$[_0x3e7f41(0x3c3)],_0xb88f22[_0x3e7f41(0x31a)]=_0x16ba1f?$[_0x3e7f41(0x368)]:_0x32102b?$[_0x3e7f41(0x193)]:$[_0x3e7f41(0x368)],_0xb88f22['lineCap']=_0x3e7f41(0x207),_0x10504d['kind']===_0x3e7f41(0x22a)){let _0x230196=$['glyphSize'];_0xb88f22[_0x3e7f41(0x230)](_0x10504d['x']+_0x230196/0x2,_0x10504d['y']-_0x230196),_0xb88f22[_0x3e7f41(0x2f3)](_0x10504d['x']-_0x230196/0x2,_0x10504d['y']),_0xb88f22['lineTo'](_0x10504d['x']+_0x230196/0x2,_0x10504d['y']+_0x230196);}else{let _0x30c833=_0x16ba1f?$[_0x3e7f41(0x12a)]:_0xa22fe2?$['addChildGlyphSize']:$[_0x3e7f41(0x1b6)];_0xb88f22[_0x3e7f41(0x230)](_0x10504d['x']-_0x30c833,_0x10504d['y']),_0xb88f22['lineTo'](_0x10504d['x']+_0x30c833,_0x10504d['y']),_0xb88f22[_0x3e7f41(0x230)](_0x10504d['x'],_0x10504d['y']-_0x30c833),_0xb88f22['lineTo'](_0x10504d['x'],_0x10504d['y']+_0x30c833);}_0xb88f22[_0x3e7f41(0x18b)]();}_0xde2958&&(_0xb88f22['fillStyle']=$['primaryColor'],_0xb88f22[_0x3e7f41(0x31c)]=$[_0x3e7f41(0x282)]+'\x20'+$[_0x3e7f41(0x310)]+_0x3e7f41(0x36e)+$[_0x3e7f41(0x390)],_0xb88f22[_0x3e7f41(0x385)]='center',_0xb88f22[_0x3e7f41(0x1ad)]=_0x3e7f41(0x3bd),_0xb88f22[_0x3e7f41(0x3b5)](String(_0x10504d[_0x3e7f41(0x3c2)]),_0x10504d['x'],_0x10504d['y']));}),_0xb88f22['restore'](),this['makeDirty'](!0x1),this);}};function sr(_0x2c8729){const _0xbf2301=_0x1bfc49;return _0x2c8729==='tree-left'||_0x2c8729===_0xbf2301(0x30e)||_0x2c8729===_0xbf2301(0x14e);}function cr(_0x411d79){const _0x39c99c=_0x1bfc49;return _0x411d79===_0x39c99c(0x3e4)||_0x411d79===_0x39c99c(0x25e);}function lr(_0x1fb78c,_0x92fb86){const _0x29d187=_0x1bfc49;let _0xb1d0ef=Number['isFinite'](_0x92fb86['zoomRatio'])&&_0x92fb86[_0x29d187(0x1d7)]>0x0?_0x92fb86[_0x29d187(0x1d7)]:0x1;return{'x':Math['round']((_0x1fb78c[_0x29d187(0x154)]-_0x92fb86[_0x29d187(0x2f7)]['x'])/_0xb1d0ef),'y':Math[_0x29d187(0x207)]((_0x1fb78c[_0x29d187(0x12c)]-_0x92fb86[_0x29d187(0x2f7)]['y'])/_0xb1d0ef)};}let ur=class extends _0x5b09aa{constructor(_0x63d47,_0x2d5143,_0x392d44,_0x436260,_0xa28d97,_0x1c33db,_0xcb0907){const _0x1e5154=_0x1bfc49;super(),this[_0x1e5154(0x2d9)]=_0x63d47,this[_0x1e5154(0x13a)]=_0x2d5143,this['_elementStateService']=_0x392d44,this[_0x1e5154(0x1c1)]=_0x436260,this[_0x1e5154(0x3ca)]=_0xa28d97,this[_0x1e5154(0x36b)]=_0x1c33db,this[_0x1e5154(0x1f2)]=_0xcb0907,K(this,_0x1e5154(0x3f0),null),K(this,_0x1e5154(0x35c),null),K(this,'_activeNodeId',null),K(this,'_activeScopeId',null),this['_init']();}['_init'](){const _0x3990e6=_0x1bfc49;var _0x4f7ae2,_0x1ef578,_0x45c32a,_0x17e07e,_0x3e6a94;let {scene:_0x548141}=this[_0x3990e6(0x2d9)],_0x4c0ad1=(_0x4f7ae2=_0x548141['getTransformerByCreate'])==null?void 0x0:_0x4f7ae2[_0x3990e6(0x3c7)](_0x548141);_0x4c0ad1&&(this[_0x3990e6(0x3ac)](_0x34ad80(_0x4c0ad1[_0x3990e6(0x204)][_0x3990e6(0x398)](_0x17a1de(this[_0x3990e6(0x24b)]))[_0x3990e6(0x20c)](({objects:_0xf6efc0})=>{this['_syncControls'](_0xf6efc0,{'hideRootControls':!0x0});}))),this[_0x3990e6(0x3ac)](_0x34ad80(_0x4c0ad1[_0x3990e6(0x132)][_0x3990e6(0x398)](_0x17a1de(this[_0x3990e6(0x24b)]))[_0x3990e6(0x20c)](_0x3937eb=>{const _0x2aaa37=_0x3990e6;let _0xd22d5e=_0x3937eb==null?void 0x0:_0x3937eb[_0x2aaa37(0x227)];this[_0x2aaa37(0x1ef)](_0xd22d5e),setTimeout(()=>this['_syncControls'](_0xd22d5e),0x0);})))),this[_0x3990e6(0x3ac)](_0x34ad80(this[_0x3990e6(0x29f)][_0x3990e6(0x262)][_0x3990e6(0x398)](_0x17a1de(this[_0x3990e6(0x24b)]))['subscribe'](()=>this[_0x3990e6(0x1ef)]()))),this[_0x3990e6(0x3ac)](_0x34ad80(this[_0x3990e6(0x1c1)][_0x3990e6(0x262)][_0x3990e6(0x398)](_0x17a1de(this[_0x3990e6(0x24b)]))['subscribe'](()=>this[_0x3990e6(0x1ef)]()))),this[_0x3990e6(0x3ac)](_0x34ad80(this[_0x3990e6(0x1f2)][_0x3990e6(0x238)][_0x3990e6(0x398)](_0x17a1de(this[_0x3990e6(0x24b)]))['subscribe'](_0x3f0289=>{const _0x4bfa76=_0x3990e6;let _0xadab80=this[_0x4bfa76(0x29f)]['getSnapshot']()['context'];!_0xadab80||_0xadab80['unitId']!==_0x3f0289[_0x4bfa76(0x308)]||_0xadab80['subUnitId']!==_0x3f0289[_0x4bfa76(0x25a)]||this[_0x4bfa76(0x18d)]&&this[_0x4bfa76(0x18d)]!==_0x3f0289[_0x4bfa76(0x372)]||this['_syncControls']();}))),this[_0x3990e6(0x3ac)](_0x34ad80(_0x548141[_0x3990e6(0x2be)][_0x3990e6(0x142)](_0x2c76f5=>this[_0x3990e6(0x393)](_0x2c76f5)))),this[_0x3990e6(0x3ac)](_0x34ad80(_0x548141['onPointerDown$']['subscribeEvent']({'priority':0x4,'next':([_0x34ac63,_0x5af7a4])=>{const _0x39066b=_0x3990e6;this[_0x39066b(0x3c4)](_0x34ac63)&&this[_0x39066b(0x268)](_0x34ac63,_0x5af7a4);}}))),this[_0x3990e6(0x3ac)](_0x34ad80((_0x1ef578=(_0x45c32a=_0x548141[_0x3990e6(0x39e)])==null?void 0x0:_0x45c32a[_0x3990e6(0x142)]({'priority':0x4,'next':([_0x37e5bb,_0x4d2aa5])=>{const _0x255c62=_0x3990e6;this['_isControlEvent'](_0x37e5bb)&&this[_0x255c62(0x268)](_0x37e5bb,_0x4d2aa5);}}))==null?{'dispose':()=>{}}:_0x1ef578)),this[_0x3990e6(0x3ac)](_0x34ad80((_0x17e07e=(_0x3e6a94=_0x548141[_0x3990e6(0x32d)])==null?void 0x0:_0x3e6a94[_0x3990e6(0x142)]({'priority':0x4,'next':([_0x1aa3b4,_0x746aa2])=>{const _0x1842bb=_0x3990e6;this['_isControlEvent'](_0x1aa3b4)&&this[_0x1842bb(0x268)](_0x1aa3b4,_0x746aa2);}}))==null?{'dispose':()=>{}}:_0x17e07e)),this[_0x3990e6(0x3ac)](_0x34ad80(()=>this[_0x3990e6(0x22e)]())),this[_0x3990e6(0x1ef)]();}[_0x1bfc49(0x1de)](){const _0x47ef86=_0x1bfc49;return this[_0x47ef86(0x3f0)]?this[_0x47ef86(0x3f0)]:(this[_0x47ef86(0x3f0)]=new or(rr),this[_0x47ef86(0x26a)](this[_0x47ef86(0x3f0)]),this[_0x47ef86(0x2d9)][_0x47ef86(0x247)][_0x47ef86(0x2a2)](this[_0x47ef86(0x3f0)],ir),this[_0x47ef86(0x3f0)]);}[_0x1bfc49(0x26a)](_0x335c37){const _0x736d20=_0x1bfc49;var _0x5c2f8c;(_0x5c2f8c=this[_0x736d20(0x35c)])==null||_0x5c2f8c[_0x736d20(0x1b7)]();let _0x3f4a1d=new _0x437ac0();_0x3f4a1d[_0x736d20(0x306)](_0x335c37['onPointerDown$'][_0x736d20(0x142)]({'priority':0x4,'next':([_0x277e09,_0xf93d64])=>{const _0x5edab1=_0x736d20;this['_handlePointerDown'](_0x277e09)&&this[_0x5edab1(0x268)](_0x277e09,_0xf93d64);}})),_0x3f4a1d[_0x736d20(0x306)](_0x335c37[_0x736d20(0x39e)]['subscribeEvent']({'priority':0x4,'next':([_0x7e9109,_0x18ce2e])=>{const _0x1f2b9a=_0x736d20;this[_0x1f2b9a(0x1aa)](_0x7e9109)&&this[_0x1f2b9a(0x268)](_0x7e9109,_0x18ce2e);}})),_0x3f4a1d['add'](_0x335c37[_0x736d20(0x32d)][_0x736d20(0x142)]({'priority':0x4,'next':([_0x37dafd,_0xe3c00b])=>{const _0x39e5e2=_0x736d20;this[_0x39e5e2(0x1aa)](_0x37dafd)&&this[_0x39e5e2(0x268)](_0x37dafd,_0xe3c00b);}})),this['_objectEventDisposables']=_0x3f4a1d;}[_0x1bfc49(0x22e)](){const _0x49f548=_0x1bfc49;var _0x1fe226;this[_0x49f548(0x3f0)]&&(this[_0x49f548(0x2d9)][_0x49f548(0x247)]['removeObjects']([this['_object']]),(_0x1fe226=this[_0x49f548(0x35c)])==null||_0x1fe226[_0x49f548(0x1b7)](),this[_0x49f548(0x35c)]=null,this[_0x49f548(0x3f0)]=null,this[_0x49f548(0x338)]=null,this['_activeScopeId']=null,this[_0x49f548(0x2d9)][_0x49f548(0x247)][_0x49f548(0x32a)](!0x0));}['_syncControls'](_0x185f04,_0x1f24fb){const _0x14bc73=_0x1bfc49;var _0x69c07b,_0x5e7c2b,_0x19cd30,_0x55bc58;let _0x1a6156=this[_0x14bc73(0x29f)][_0x14bc73(0x37c)](),_0x536bea=_0x1a6156[_0x14bc73(0x3b1)],_0x1311c8=(_0x69c07b=_0x1a6156['focusedId'])==null?_0x1a6156['selectedIds'][0x0]:_0x69c07b;if(!_0x536bea||!_0x1311c8||_0x1a6156[_0x14bc73(0x235)][_0x14bc73(0x157)]!==0x1){this['_removeObject']();return;}let _0x463119=this[_0x14bc73(0x13a)][_0x14bc73(0x25f)](_0x536bea[_0x14bc73(0x308)],_0x536bea['subUnitId']),_0x1bf68c=_0x463119[_0x1311c8],_0x5ba51b=_0x4b908c(_0x1bf68c==null?void 0x0:_0x1bf68c[_0x14bc73(0x30c)]);if(!_0x1bf68c||!_0x5ba51b){this[_0x14bc73(0x22e)]();return;}let _0x574191=_0x3f73c8(_0x536bea['unitId'],_0x1311c8);if(_0x1f24fb!=null&&_0x1f24fb[_0x14bc73(0x347)]&&_0x5ba51b[_0x14bc73(0x19f)]==null&&_0x185f04!=null&&_0x185f04[_0x14bc73(0x342)](_0x574191)){this['_removeObject']();return;}let _0x50acdf=this[_0x14bc73(0x3b4)](_0x463119,_0x536bea[_0x14bc73(0x308)],_0x1311c8,_0x185f04);if(!_0x50acdf){this[_0x14bc73(0x22e)]();return;}let _0x37c782=Object[_0x14bc73(0x2b1)](_0x463119)[_0x14bc73(0x27c)](_0x5e9d96=>{const _0x12cab0=_0x14bc73;var _0xd0da7b;return((_0xd0da7b=_0x4b908c(_0x5e9d96[_0x12cab0(0x30c)]))==null?void 0x0:_0xd0da7b[_0x12cab0(0x19f)])===_0x1311c8;}),_0x45f34c=_0x5ba51b[_0x14bc73(0x3df)]?this[_0x14bc73(0x189)](_0x463119,_0x1311c8):0x0;this[_0x14bc73(0x338)]=_0x1311c8,this[_0x14bc73(0x18d)]=_0x5ba51b[_0x14bc73(0x1c0)];let _0xebfd44=(_0x5e7c2b=_0x463119[_0x5ba51b[_0x14bc73(0x1c0)]])==null?void 0x0:_0x5e7c2b[_0x14bc73(0x30c)],_0x516a7f=_0x114393(_0xebfd44),_0x249a67=_0xebfd44==null||(_0x19cd30=_0xebfd44[_0x14bc73(0x2ce)])==null||(_0x19cd30=_0x19cd30[_0x14bc73(0x386)])==null||(_0x19cd30=_0x19cd30['layout'])==null?void 0x0:_0x19cd30['structureKind'],_0x94c0a2=(_0x55bc58=_0x516a7f==null?void 0x0:_0x516a7f[_0x14bc73(0x3eb)]['structureKind'])==null?_0x249a67:_0x55bc58,_0x1600a8=_0x5ba51b['parentNodeId']==null,_0x4b394b=this[_0x14bc73(0x339)](_0x5ba51b['side'],_0x1600a8,_0x94c0a2);this[_0x14bc73(0x1de)]()['updateState']({'controls':nr({'bounds':_0x50acdf,'isRoot':_0x1600a8,'side':_0x4b394b,'rootChildSides':this[_0x14bc73(0x3fe)](_0x1600a8,_0x94c0a2),'hasChildren':_0x37c782[_0x14bc73(0x157)]>0x0,'collapsedDescendantCount':_0x45f34c})}),this[_0x14bc73(0x2d9)][_0x14bc73(0x247)][_0x14bc73(0x32a)](!0x0);}[_0x1bfc49(0x339)](_0xb1e6c8,_0x4aa12b,_0x54c195){const _0x2da139=_0x1bfc49;return _0x54c195===_0x2da139(0x25e)?!_0x4aa12b&&(_0xb1e6c8===_0x2da139(0x33e)||_0xb1e6c8==='right')?_0xb1e6c8:_0x2da139(0x3ef):_0x54c195===_0x2da139(0x318)?!_0x4aa12b&&(_0xb1e6c8===_0x2da139(0x1ba)||_0xb1e6c8===_0x2da139(0x3ef))?_0xb1e6c8:_0x2da139(0x3ef):_0xb1e6c8==='left'?_0x2da139(0x33e):'right';}[_0x1bfc49(0x3fe)](_0x3f9af9,_0x1a68b1){const _0x1de337=_0x1bfc49;if(_0x3f9af9){if(sr(_0x1a68b1))return[_0x1de337(0x3ef)];if(_0x1a68b1===_0x1de337(0x3e4))return[_0x1de337(0x13e)];if(_0x1a68b1==='timeline-vertical')return[_0x1de337(0x3ef)];}}['_resolveCreateChildSide'](_0x3a05e5){const _0x5630b0=_0x1bfc49;var _0x340085,_0x7f112e;let _0x543fe4=this['_elementStateService'][_0x5630b0(0x37c)]()[_0x5630b0(0x3b1)];if(!_0x543fe4||!this[_0x5630b0(0x338)])return;let _0x329c85=this[_0x5630b0(0x13a)][_0x5630b0(0x25f)](_0x543fe4[_0x5630b0(0x308)],_0x543fe4[_0x5630b0(0x25a)]),_0x5e5c9d=_0x4b908c((_0x340085=_0x329c85[this[_0x5630b0(0x338)]])==null?void 0x0:_0x340085[_0x5630b0(0x30c)]),_0x55dabb=_0x5e5c9d?_0x114393((_0x7f112e=_0x329c85[_0x5e5c9d[_0x5630b0(0x1c0)]])==null?void 0x0:_0x7f112e['element']):null;if(!((_0x5e5c9d==null?void 0x0:_0x5e5c9d[_0x5630b0(0x19f)])==null&&(sr(_0x55dabb==null?void 0x0:_0x55dabb[_0x5630b0(0x3eb)][_0x5630b0(0x14f)])||cr(_0x55dabb==null?void 0x0:_0x55dabb[_0x5630b0(0x3eb)][_0x5630b0(0x14f)]))))return _0x3a05e5===_0x5630b0(0x2bc)?_0x5630b0(0x33e):_0x3a05e5===_0x5630b0(0x34d)?_0x5630b0(0x1ba):_0x3a05e5==='add-child-bottom'?_0x5630b0(0x3ef):_0x5630b0(0x13e);}['_resolveControlBounds'](_0x3f0053,_0x183b32,_0x434233,_0x2a110b){const _0x42538d=_0x1bfc49;var _0x43f67e,_0x13e573,_0x323fbf;let _0x452b3d=_0x3f73c8(_0x183b32,_0x434233),_0x4b6a53=_0x2a110b==null?void 0x0:_0x2a110b[_0x42538d(0x1f7)](_0x452b3d),_0x495e66=this['_toFiniteBounds'](_0x4b6a53);if(_0x495e66)return _0x495e66;let _0x11a33e=this['_renderContext'][_0x42538d(0x247)],_0x39406c=(_0x43f67e=(_0x13e573=_0x11a33e[_0x42538d(0x1d3)])==null?void 0x0:_0x13e573[_0x42538d(0x3c7)](_0x11a33e,_0x452b3d))==null?(_0x323fbf=_0x11a33e[_0x42538d(0x348)])==null?void 0x0:_0x323fbf['call'](_0x11a33e,_0x452b3d):_0x43f67e;return this[_0x42538d(0x273)](_0x39406c)||_0x2fc33b(_0x3f0053,_0x434233);}[_0x1bfc49(0x273)](_0x38b6c4){const _0x5f49e0=_0x1bfc49;return _0x38b6c4&&Number[_0x5f49e0(0x20e)](_0x38b6c4['left'])&&Number[_0x5f49e0(0x20e)](_0x38b6c4['top'])&&Number[_0x5f49e0(0x20e)](_0x38b6c4['width'])&&Number['isFinite'](_0x38b6c4[_0x5f49e0(0x27e)])?{'left':_0x38b6c4[_0x5f49e0(0x33e)],'top':_0x38b6c4[_0x5f49e0(0x1ba)],'width':_0x38b6c4[_0x5f49e0(0x28a)],'height':_0x38b6c4['height']}:null;}[_0x1bfc49(0x189)](_0x34d4e7,_0x278321){const _0x54e29e=_0x1bfc49;return Object[_0x54e29e(0x2b1)](_0x34d4e7)[_0x54e29e(0x27c)](_0xb3f090=>{const _0x4bb560=_0x54e29e;var _0x287726;return((_0x287726=_0x4b908c(_0xb3f090[_0x4bb560(0x30c)]))==null?void 0x0:_0x287726[_0x4bb560(0x19f)])===_0x278321;})[_0x54e29e(0x301)]((_0x12ff9a,_0x1056bc)=>_0x12ff9a+0x1+this['_countDescendants'](_0x34d4e7,_0x1056bc[_0x54e29e(0x1a7)]),0x0);}[_0x1bfc49(0x393)](_0x657e60){const _0x38c6e7=_0x1bfc49;if(!this['_object'])return;let _0x950801=this[_0x38c6e7(0x1c1)][_0x38c6e7(0x2d3)](),_0x446336=lr(_0x657e60,{'panOffset':_0x950801[_0x38c6e7(0x1e7)],'zoomRatio':_0x950801[_0x38c6e7(0x1d7)]});this[_0x38c6e7(0x3f0)][_0x38c6e7(0x20d)](this[_0x38c6e7(0x3f0)]['getHitControl'](_0x446336));}[_0x1bfc49(0x3c4)](_0x5ece32){const _0xd680ba=_0x1bfc49;var _0x17f03c;if(!this[_0xd680ba(0x3f0)]||!this['_activeNodeId']||((_0x17f03c=_0x5ece32['button'])==null?0x0:_0x17f03c)!==0x0)return!0x1;let _0x4c6427=this[_0xd680ba(0x29f)]['getSnapshot']()[_0xd680ba(0x3b1)];if(!_0x4c6427)return!0x1;let _0x4653a9=this['_stateService']['getState'](),_0x52c003=lr(_0x5ece32,{'panOffset':_0x4653a9[_0xd680ba(0x1e7)],'zoomRatio':_0x4653a9[_0xd680ba(0x1d7)]}),_0x9c8d13=this[_0xd680ba(0x3f0)][_0xd680ba(0x360)](_0x52c003);if(!_0x9c8d13)return!0x1;if(_0x9c8d13['kind']===_0xd680ba(0x22a))return this[_0xd680ba(0x316)](_0x451daf['id'],{'unitId':_0x4c6427[_0xd680ba(0x308)],'subUnitId':_0x4c6427[_0xd680ba(0x25a)],'nodeId':this['_activeNodeId']}),!0x0;if(_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x2bc)||_0x9c8d13['kind']==='add-child-right'||_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x34d)||_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x314)){let _0x3a3484=_0x523736(0x6);return this[_0xd680ba(0x17f)](_0x5c85db['id'],{'unitId':_0x4c6427[_0xd680ba(0x308)],'subUnitId':_0x4c6427[_0xd680ba(0x25a)],'parentNodeId':this['_activeNodeId'],'side':this[_0xd680ba(0x38a)](_0x9c8d13[_0xd680ba(0x244)]),'nodeId':_0x3a3484,'connectorId':_0x523736(0x6)},_0x3a3484),!0x0;}if(_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x3db)||_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x24a)){var _0x234e95;let _0x1231a0=_0x523736(0x6);return this[_0xd680ba(0x17f)](_0x38e794['id'],{'unitId':_0x4c6427['unitId'],'subUnitId':_0x4c6427[_0xd680ba(0x25a)],'nodeId':this[_0xd680ba(0x338)],'placement':(_0x234e95=_0x9c8d13[_0xd680ba(0x210)])==null?_0x9c8d13[_0xd680ba(0x244)]===_0xd680ba(0x3db)?'before':_0xd680ba(0x3fc):_0x234e95,'siblingNodeId':_0x1231a0,'connectorId':_0x523736(0x6)},_0x1231a0),!0x0;}return!0x0;}[_0x1bfc49(0x1aa)](_0x373ffb){const _0x4bfc5b=_0x1bfc49;var _0x1aa9de;if(!this[_0x4bfc5b(0x3f0)]||((_0x1aa9de=_0x373ffb[_0x4bfc5b(0x2ee)])==null?0x0:_0x1aa9de)!==0x0)return!0x1;let _0xce7a03=this[_0x4bfc5b(0x1c1)][_0x4bfc5b(0x2d3)](),_0x2aebbc=lr(_0x373ffb,{'panOffset':_0xce7a03[_0x4bfc5b(0x1e7)],'zoomRatio':_0xce7a03[_0x4bfc5b(0x1d7)]});return!!this[_0x4bfc5b(0x3f0)][_0x4bfc5b(0x360)](_0x2aebbc);}[_0x1bfc49(0x268)](_0x41e279,_0x3155ba){const _0x23eab9=_0x1bfc49;var _0x1cfd33,_0xca124b;_0x3155ba['stopPropagation'](),(_0x1cfd33=_0x41e279[_0x23eab9(0x351)])==null||_0x1cfd33[_0x23eab9(0x3c7)](_0x41e279),(_0xca124b=_0x41e279[_0x23eab9(0x2e6)])==null||_0xca124b[_0x23eab9(0x3c7)](_0x41e279);}[_0x1bfc49(0x316)](_0x2ec6c4,_0x5b317a){const _0x1260c2=_0x1bfc49;let _0x56c64c=this[_0x1260c2(0x18d)],_0x28f20a=this['_commandService']['executeCommand'](_0x2ec6c4,_0x5b317a);Promise[_0x1260c2(0x1e1)](_0x28f20a)[_0x1260c2(0x231)](_0x3d2e2f=>{const _0x22ce2a=_0x1260c2;!_0x3d2e2f||!_0x56c64c||(this[_0x22ce2a(0x1ef)](),Promise[_0x22ce2a(0x1e1)](this['_commandService']['executeCommand'](_0x51487d['id'],{'unitId':_0x5b317a[_0x22ce2a(0x308)],'subUnitId':_0x5b317a[_0x22ce2a(0x25a)],'scopeId':_0x56c64c}))[_0x22ce2a(0x231)](()=>this[_0x22ce2a(0x1ef)]()));});}['_executeCreateAndEdit'](_0x2f5995,_0x23df51,_0x50bc58){const _0x2b94e7=_0x1bfc49;let _0x265fd2={'unitId':_0x23df51['unitId'],'subUnitId':_0x23df51[_0x2b94e7(0x25a)]},_0x5f0d85=this[_0x2b94e7(0x3ca)][_0x2b94e7(0x3ae)](_0x2f5995,_0x23df51);Promise[_0x2b94e7(0x1e1)](_0x5f0d85)[_0x2b94e7(0x231)](_0x8b27ba=>{const _0x4d408c=_0x2b94e7;_0x8b27ba&&(this[_0x4d408c(0x1ef)](),this[_0x4d408c(0x29f)][_0x4d408c(0x251)](_0x265fd2,[_0x50bc58],_0x50bc58),this[_0x4d408c(0x36b)][_0x4d408c(0x16b)](),this['_boardTextEditingService'][_0x4d408c(0x2e0)]({..._0x265fd2,'shapeId':_0x50bc58,'shapeKey':_0x3f73c8(_0x265fd2[_0x4d408c(0x308)],_0x50bc58),'visible':!0x0}));});}};ur=J([q(0x1,_0xbc3476(_0x295e11)),q(0x2,_0xbc3476(_0x4f61df)),q(0x3,_0xbc3476(_0x1ce780)),q(0x4,_0x38f57d),q(0x5,_0xbc3476(_0x1cecde)),q(0x6,_0xbc3476(Qn))],ur);const dr=_0x1bfc49(0x1fe);let fr=class extends _0x5b09aa{constructor(_0x5d2041,_0x49ec33,_0xf609c9,_0x2f6e6c,_0x48898f){const _0x943cb1=_0x1bfc49;super(),this[_0x943cb1(0x13a)]=_0x5d2041,this[_0x943cb1(0x29f)]=_0x49ec33,this['_contextService']=_0xf609c9,this[_0x943cb1(0x3ca)]=_0x2f6e6c,this[_0x943cb1(0x35a)]=_0x48898f,this[_0x943cb1(0x1f8)]();}[_0x1bfc49(0x1f8)](){const _0x5e21f6=_0x1bfc49;this[_0x5e21f6(0x3ac)](this[_0x5e21f6(0x35a)]['registerShortcut'](this[_0x5e21f6(0x28d)]())),this[_0x5e21f6(0x3ac)](_0x34ad80(this[_0x5e21f6(0x29f)][_0x5e21f6(0x262)]['pipe'](_0x17a1de(this[_0x5e21f6(0x24b)]))[_0x5e21f6(0x20c)](()=>{const _0x5a878f=_0x5e21f6;this[_0x5a878f(0x1d8)]();}))),this[_0x5e21f6(0x3ac)](_0x34ad80(()=>{this['_contextService']['setContextValue'](dr,!0x1);})),this[_0x5e21f6(0x1d8)]();}[_0x1bfc49(0x28d)](){const _0x5405ee=_0x1bfc49;return{'id':_0x48415c,'binding':_0x1c11b8[_0x5405ee(0x2fc)]|_0xb17f76[_0x5405ee(0x250)],'priority':0x3e8,'preconditions':_0x3621a0=>_0x3621a0['getContextValue'](_0x5405ee(0x1fe))&&this[_0x5405ee(0x3ca)][_0x5405ee(0x2ef)](_0x48415c)};}[_0x1bfc49(0x1d8)](){const _0x31ab8d=_0x1bfc49;this['_contextService'][_0x31ab8d(0x3aa)](dr,this[_0x31ab8d(0x283)]());}['_isEditingMindMapNode'](){const _0x2c2a88=_0x1bfc49;var _0x3f2c9e;let _0x29423e=this[_0x2c2a88(0x29f)]['getSnapshot'](),_0x1ccd36=_0x29423e[_0x2c2a88(0x3b1)],_0x7948bb=_0x29423e['activeEditingId'];return!_0x1ccd36||!_0x7948bb?!0x1:!!_0x4b908c((_0x3f2c9e=this[_0x2c2a88(0x13a)][_0x2c2a88(0x25f)](_0x1ccd36[_0x2c2a88(0x308)],_0x1ccd36[_0x2c2a88(0x25a)])[_0x7948bb])==null?void 0x0:_0x3f2c9e['element']);}[_0x1bfc49(0x1b7)](){const _0x419705=_0x1bfc49;super['dispose'](),this[_0x419705(0x1f6)][_0x419705(0x3aa)](dr,!0x1);}};fr=J([q(0x0,_0xbc3476(_0x295e11)),q(0x1,_0xbc3476(_0x4f61df)),q(0x2,_0x2c413a),q(0x3,_0x38f57d),q(0x4,_0x419aaa)],fr);const pr=['structure',_0x1bfc49(0x3eb),_0x1bfc49(0x367)];_0x133f51['horizontalGap'],_0x133f51[_0x1bfc49(0x3f8)],_0x133f51[_0x1bfc49(0x3a2)];const mr=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':_0x1bfc49(0x290),..._0x451c65['horizontalGap']},{'labelKey':_0x1bfc49(0x215),'key':_0x1bfc49(0x3f8),..._0x451c65[_0x1bfc49(0x3f8)]},{'labelKey':_0x1bfc49(0x2ad),'key':_0x1bfc49(0x3a2),..._0x451c65[_0x1bfc49(0x3a2)]}],hr=[{'labelKey':'boards-mind-ui.panel.layout.right','value':_0x1bfc49(0x13e)},{'labelKey':_0x1bfc49(0x340),'value':'left'},{'labelKey':_0x1bfc49(0x3e7),'value':_0x1bfc49(0x31e)}],gr=[{'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal','value':_0x1bfc49(0x1a5)},{'labelKey':_0x1bfc49(0x2b2),'value':_0x1bfc49(0x318)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x1bfc49(0x30e)},{'labelKey':_0x1bfc49(0x2a6),'value':_0x1bfc49(0x29e)},{'labelKey':_0x1bfc49(0x2a0),'value':_0x1bfc49(0x14e)},{'labelKey':_0x1bfc49(0x335),'value':'timeline-horizontal'},{'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical','value':'timeline-vertical'}],_r=[{'labelKey':'boards-mind-ui.panel.branchLineType.curve','value':_0x1bfc49(0x1b3)},{'labelKey':_0x1bfc49(0x241),'value':_0x1bfc49(0x299)},{'labelKey':_0x1bfc49(0x196),'value':_0x1bfc49(0x36d)}];function vr(_0x1be0d8){const _0x25fea0=_0x1bfc49;var _0x5d0c7e,_0xe1c2cf,_0x1d92e3,_0x545bb4,_0x1afc17;let _0x4df088=(_0x5d0c7e=_0x1be0d8==null?void 0x0:_0x1be0d8[_0x25fea0(0x14f)])==null?_0x133f51['structureKind']:_0x5d0c7e;return{'spacing':{'horizontalGap':(_0xe1c2cf=_0x1be0d8==null?void 0x0:_0x1be0d8['horizontalGap'])==null?_0x133f51[_0x25fea0(0x290)]:_0xe1c2cf,'siblingGap':(_0x1d92e3=_0x1be0d8==null?void 0x0:_0x1be0d8[_0x25fea0(0x3f8)])==null?_0x133f51[_0x25fea0(0x3f8)]:_0x1d92e3,'branchGap':(_0x545bb4=_0x1be0d8==null?void 0x0:_0x1be0d8['branchGap'])==null?_0x133f51['branchGap']:_0x545bb4},'direction':(_0x1afc17=_0x1be0d8==null?void 0x0:_0x1be0d8[_0x25fea0(0x21e)])==null?_0x133f51['direction']:_0x1afc17,'structureKind':_0x4df088,'branchLineType':_0x5079ad(_0x4df088,_0x1be0d8==null?void 0x0:_0x1be0d8[_0x25fea0(0x2c6)])};}async function yr(_0x213ed7,_0x194888){const _0x55b173=_0x1bfc49;return await Promise['resolve'](_0x213ed7['executeCommand'](_0x2a6047['id'],_0x194888))?(await Promise['resolve'](_0x213ed7[_0x55b173(0x3ae)](_0x51487d['id'],{'unitId':_0x194888[_0x55b173(0x308)],'subUnitId':_0x194888[_0x55b173(0x25a)],'scopeId':_0x194888[_0x55b173(0x372)]})),!0x0):!0x1;}async function br(_0x49f4b0,_0x1b626a){const _0x483d5a=_0x1bfc49;return await Promise['resolve'](_0x49f4b0['executeCommand'](_0x38032b['id'],_0x1b626a))?(await Promise[_0x483d5a(0x1e1)](_0x49f4b0['executeCommand'](_0x51487d['id'],{'unitId':_0x1b626a[_0x483d5a(0x308)],'subUnitId':_0x1b626a[_0x483d5a(0x25a)],'scopeId':_0x1b626a[_0x483d5a(0x372)]})),!0x0):!0x1;}async function xr(_0x5d1d3a,_0xb72ece){const _0x3862a2=_0x1bfc49;return await Promise[_0x3862a2(0x1e1)](_0x5d1d3a[_0x3862a2(0x3ae)](_0x2a6047['id'],{'unitId':_0xb72ece[_0x3862a2(0x308)],'subUnitId':_0xb72ece[_0x3862a2(0x25a)],'scopeId':_0xb72ece['scopeId'],..._0xb72ece[_0x3862a2(0x290)]===void 0x0?{}:{'horizontalGap':_0xb72ece[_0x3862a2(0x290)]},..._0xb72ece[_0x3862a2(0x3f8)]===void 0x0?{}:{'siblingGap':_0xb72ece[_0x3862a2(0x3f8)]},..._0xb72ece[_0x3862a2(0x3a2)]===void 0x0?{}:{'branchGap':_0xb72ece[_0x3862a2(0x3a2)]}}))?(await Promise[_0x3862a2(0x1e1)](_0x5d1d3a[_0x3862a2(0x3ae)](_0x51487d['id'],{'unitId':_0xb72ece[_0x3862a2(0x308)],'subUnitId':_0xb72ece[_0x3862a2(0x25a)],'scopeId':_0xb72ece[_0x3862a2(0x372)]})),!0x0):!0x1;}async function Sr(_0x372123,_0x28b634){const _0x4df1a5=_0x1bfc49;return _0x28b634[_0x4df1a5(0x141)]===_0x28b634[_0x4df1a5(0x33a)]||!await Promise[_0x4df1a5(0x1e1)](_0x372123['executeCommand'](_0x1123f2['id'],{'unitId':_0x28b634[_0x4df1a5(0x308)],'subUnitId':_0x28b634[_0x4df1a5(0x25a)],'nodeId':_0x28b634[_0x4df1a5(0x141)],'targetNodeId':_0x28b634[_0x4df1a5(0x33a)],'referenceNodeId':_0x28b634['targetNodeId'],'placement':_0x28b634[_0x4df1a5(0x210)]}))?!0x1:(await Promise[_0x4df1a5(0x1e1)](_0x372123[_0x4df1a5(0x3ae)](_0x51487d['id'],{'unitId':_0x28b634[_0x4df1a5(0x308)],'subUnitId':_0x28b634[_0x4df1a5(0x25a)],'scopeId':_0x28b634[_0x4df1a5(0x372)]})),!0x0);}async function Cr(_0x47eefa,_0x403275){const _0x36fd21=_0x1bfc49;let _0x470d58=_0x403275[_0x36fd21(0x1ed)]['trim']();return!_0x470d58||!await Promise[_0x36fd21(0x1e1)](_0x47eefa[_0x36fd21(0x3ae)](_0x21f908['id'],{'unitId':_0x403275[_0x36fd21(0x308)],'subUnitId':_0x403275[_0x36fd21(0x25a)],'nodeId':_0x403275[_0x36fd21(0x141)],'text':_0x470d58}))?!0x1:(await Promise['resolve'](_0x47eefa[_0x36fd21(0x3ae)](_0x51487d['id'],{'unitId':_0x403275[_0x36fd21(0x308)],'subUnitId':_0x403275[_0x36fd21(0x25a)],'scopeId':_0x403275[_0x36fd21(0x372)]})),!0x0);}async function wr(_0x2855a5){const _0x1c087e=_0x1bfc49;var _0x547734;let _0x2af377=(_0x547734=globalThis[_0x1c087e(0x2e5)])==null?void 0x0:_0x547734['clipboard'];return _0x2af377!=null&&_0x2af377[_0x1c087e(0x201)]?(await _0x2af377['writeText'](_0x2855a5),!0x0):!0x1;}async function Tr(_0xfcc508,_0x564409,_0x147a5a=wr){const _0x74219d=_0x1bfc49;let _0x101577=await Promise[_0x74219d(0x1e1)](_0xfcc508[_0x74219d(0x3ae)](_0x255b71['id'],_0x564409));if(typeof _0x101577!=_0x74219d(0x3fa)||!_0x101577)return!0x1;try{return await _0x147a5a(_0x101577)!==!0x1;}catch{return!0x1;}}async function Er(_0x4a9c79,_0x564f17){const _0x20f262=_0x1bfc49;if(!_0x564f17[_0x20f262(0x1b8)][_0x20f262(0x1bf)]())return!0x1;let _0x523202=await Promise[_0x20f262(0x1e1)](_0x4a9c79[_0x20f262(0x3ae)](_0x522db5['id'],_0x564f17));return typeof _0x523202==_0x20f262(0x2e2)&&!!_0x523202&&_0x523202[_0x20f262(0x162)]===!0x0;}function Dr(_0x28baa6,_0x46e27e){const _0x4900c4=_0x1bfc49;let _0x5de4a5=_0x46e27e['trim']()['toLowerCase']();return _0x5de4a5?_0x28baa6['filter'](_0x5b02fb=>_0x5b02fb[_0x4900c4(0x1ed)][_0x4900c4(0x24f)]()[_0x4900c4(0x324)](_0x5de4a5)):_0x28baa6;}function Or(_0x2dde50){const _0x563573=_0x1bfc49;return{'paddingInlineStart':0x8+(Number[_0x563573(0x20e)](_0x2dde50)&&_0x2dde50>0x0?_0x2dde50:0x0)*0x10};}function kr(_0x15369b){const _0x5c8630=_0x1bfc49;return _0x27e6bc(_0x5c8630(0x2f6),{'className':'univer-size-full\x20univer-bg-white\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','data-board-mind-map-panel':'true','children':_0x15369b['children']});}function Ar(_0x521495){const _0x49388d=_0x1bfc49;return _0x27e6bc(_0x49388d(0x2f6),{'className':_0x49388d(0x1f9),'data-board-mind-map-panel-tabs':_0x49388d(0x2d7),'children':_0x27e6bc(_0x5e3c13,{'className':'univer-w-full\x20univer-text-xs','items':_0x521495[_0x49388d(0x3a5)],'value':_0x521495['value'],'onChange':_0x521495[_0x49388d(0x27a)]})});}function jr(_0x2dde31){const _0x10a3e7=_0x1bfc49;return _0x528cbf('section',{'className':_0x10a3e7(0x1ce),'data-board-mind-map-panel-section':_0x10a3e7(0x2d7),'children':[_0x27e6bc('h3',{'className':_0x10a3e7(0x1e6),'children':_0x3c0c33(_0x2f4056)['t'](_0x2dde31[_0x10a3e7(0x223)])}),_0x2dde31[_0x10a3e7(0x12d)]]});}function Mr(_0x3dcb1d){const _0xd2bbcc=_0x1bfc49;return _0x27e6bc(_0xd2bbcc(0x2f6),{'className':_0xd2bbcc(0x3d4),'data-board-mind-map-panel-empty-state':_0xd2bbcc(0x2d7),'children':_0x3dcb1d[_0xd2bbcc(0x12d)]});}function Nr(_0x2cd67b){const _0x35ee71=_0x1bfc49;let _0x4ecc0a=_0x3c0c33(_0x2f4056);return _0x27e6bc(_0x31b62f,{'className':_0x35ee71(0x2e1),'size':_0x35ee71(0x24e),'variant':'default','onClick':_0x2cd67b[_0x35ee71(0x37d)],'children':_0x4ecc0a['t'](_0x35ee71(0x384))});}function Pr(_0xb9bb0){const _0x4a6d50=_0x1bfc49;var _0x310598;let _0x4d2d7d=_0x3c0c33(_0x38f57d),_0x504fbf=_0x3c0c33(_0x4f61df),_0x4ee7cb=_0x3c0c33(_0x2f4056),_0x318f99=(_0x310598=_0xb9bb0[_0x4a6d50(0x224)])==null?[]:_0x310598,[_0x9985e0,_0x3aa774]=_0xe1173c(''),[_0x119473,_0x138244]=_0xe1173c(null),[_0x22fa19,_0xdcff1b]=_0xe1173c(''),_0x1ab23b=vr(_0xb9bb0[_0x4a6d50(0x3eb)]),[_0xab2657,_0x3f2f63]=_0xe1173c(_0x1ab23b[_0x4a6d50(0x2d5)]),[_0x15f23e,_0x50f33e]=_0xe1173c(_0x1ab23b[_0x4a6d50(0x21e)]),[_0xdf1bfe,_0xda7f8]=_0xe1173c(_0x1ab23b[_0x4a6d50(0x14f)]),[_0x5b0732,_0x5b02aa]=_0xe1173c(_0x1ab23b['branchLineType']),[_0xd4602d,_0x3d0c1f]=_0xe1173c(null),[_0x4cc1db,_0x4dddcb]=_0xe1173c(_0x4a6d50(0x3a1)),_0x2e38a4=Dr(_0x318f99,_0x9985e0),_0x2a3ab5={'unitId':_0xb9bb0['unitId'],'subUnitId':_0xb9bb0[_0x4a6d50(0x25a)],'scopeId':_0xb9bb0[_0x4a6d50(0x372)]},_0xbca500=pr[_0x4a6d50(0x288)](_0x198aac=>({'label':_0x4ee7cb['t'](_0x4a6d50(0x2fa)+_0x198aac),'value':_0x198aac})),_0x15ea01=_r['filter'](_0x121c9f=>_0x121c9f[_0x4a6d50(0x31d)]!=='curve'||_0x26dc5f(_0xdf1bfe)),_0x55f5aa=_0x1d3961=>{_0x50f33e(_0x1d3961),yr(_0x4d2d7d,{..._0x2a3ab5,'direction':_0x1d3961});};_0x5c5d9f(()=>{const _0x55bee2=_0x4a6d50;let _0x5b6b58=vr(_0xb9bb0[_0x55bee2(0x3eb)]);_0x3f2f63(_0x5b6b58[_0x55bee2(0x2d5)]),_0x50f33e(_0x5b6b58[_0x55bee2(0x21e)]),_0xda7f8(_0x5b6b58['structureKind']),_0x5b02aa(_0x5b6b58[_0x55bee2(0x2c6)]);},[_0xb9bb0[_0x4a6d50(0x3eb)],_0xb9bb0[_0x4a6d50(0x372)]]);let _0x1996c2=_0x13671=>{let _0x3550a0=_0x5079ad(_0x13671,_0x5b0732);_0xda7f8(_0x13671),_0x5b02aa(_0x3550a0),yr(_0x4d2d7d,{..._0x2a3ab5,'structureKind':_0x13671,..._0x3550a0===_0x5b0732?null:{'branchLineType':_0x3550a0}});},_0x6cb18a=_0x156eac=>{let _0x3c59d7=_0x5079ad(_0xdf1bfe,_0x156eac);_0x5b02aa(_0x3c59d7),br(_0x4d2d7d,{..._0x2a3ab5,'branchLineType':_0x3c59d7});},_0x5f0210=(_0x2ff91b,_0x3c85d6)=>{let _0x217ab7={..._0xab2657,[_0x2ff91b]:_0x3c85d6};_0x3f2f63(_0x217ab7),xr(_0x4d2d7d,{..._0x2a3ab5,..._0x217ab7});},_0xd2e967=()=>{const _0x51efe4=_0x4a6d50;Er(_0x4d2d7d,{'unitId':_0xb9bb0[_0x51efe4(0x308)],'subUnitId':_0xb9bb0[_0x51efe4(0x25a)],'left':0x78,'top':0x78,'opml':_0x22fa19})[_0x51efe4(0x231)](_0x2fadcf=>{_0x2fadcf&&_0xdcff1b('');});},_0x53209b=()=>{Tr(_0x4d2d7d,_0x2a3ab5);},_0x3dcf0d=(_0x42e2a0,_0x4de55c)=>{_0x138244({'nodeId':_0x42e2a0,'text':_0x4de55c});},_0x12c397=()=>{const _0x494bce=_0x4a6d50;_0x119473&&Cr(_0x4d2d7d,{..._0x2a3ab5,'nodeId':_0x119473[_0x494bce(0x141)],'text':_0x119473[_0x494bce(0x1ed)]})[_0x494bce(0x231)](_0x463a46=>{_0x463a46&&_0x138244(null);});},_0x1c5963=(_0x333320,_0xf90ef7)=>{const _0x395490=_0x4a6d50;if(_0x333320[_0x395490(0x351)](),!_0xd4602d||_0xd4602d===_0xf90ef7)return;let _0x21aaa0=_0x333320[_0x395490(0x389)][_0x395490(0x206)](),_0x558512=_0x333320[_0x395490(0x2b5)]<_0x21aaa0[_0x395490(0x1ba)]+_0x21aaa0[_0x395490(0x27e)]/0x2?_0x395490(0x220):_0x395490(0x3fc);_0x3d0c1f(null),Sr(_0x4d2d7d,{..._0x2a3ab5,'nodeId':_0xd4602d,'targetNodeId':_0xf90ef7,'placement':_0x558512});};return _0x528cbf(kr,{'children':[_0x27e6bc(Ar,{'items':_0xbca500,'value':_0x4cc1db,'onChange':_0x25f913=>_0x4dddcb(_0x25f913)}),_0x4cc1db===_0x4a6d50(0x3a1)?_0x27e6bc(jr,{'titleKey':_0x4a6d50(0x33f),'children':_0x528cbf(_0x4a6d50(0x2f6),{'children':[_0x27e6bc(_0x286f3d,{'slot':_0x27e6bc(_0x38fd47,{}),'value':_0x9985e0,'placeholder':_0x4ee7cb['t']('boards-mind-ui.panel.searchNodes'),'className':_0x4a6d50(0x1c3),'onChange':_0x3aa774}),_0x2e38a4['length']?_0x27e6bc('ol',{'className':_0x4a6d50(0x16d),'children':_0x2e38a4[_0x4a6d50(0x288)](_0xc22c36=>_0x27e6bc('li',{'draggable':!0x0,'className':_0x4a6d50(0x297),'style':Or(_0xc22c36[_0x4a6d50(0x326)]),'onDragStart':_0x299c4e=>{const _0x35cc2e=_0x4a6d50;var _0x34ce8c;_0x3d0c1f(_0xc22c36[_0x35cc2e(0x141)]),(_0x34ce8c=_0x299c4e['dataTransfer'])==null||_0x34ce8c['setData'](_0x35cc2e(0x3e3),_0xc22c36[_0x35cc2e(0x141)]),_0x299c4e[_0x35cc2e(0x33b)]&&(_0x299c4e[_0x35cc2e(0x33b)][_0x35cc2e(0x2a8)]=_0x35cc2e(0x387));},'onDragOver':_0x5d695c=>{const _0x13f391=_0x4a6d50;_0x5d695c[_0x13f391(0x351)](),_0x5d695c[_0x13f391(0x33b)]&&(_0x5d695c[_0x13f391(0x33b)][_0x13f391(0x302)]='move');},'onDrop':_0x17f158=>_0x1c5963(_0x17f158,_0xc22c36['nodeId']),'onDragEnd':()=>_0x3d0c1f(null),'children':(_0x119473==null?void 0x0:_0x119473['nodeId'])===_0xc22c36[_0x4a6d50(0x141)]?_0x528cbf(_0x4a6d50(0x2f6),{'className':_0x4a6d50(0x1af),'children':[_0x27e6bc(_0x286f3d,{'autoFocus':!0x0,'size':_0x4a6d50(0x24e),'value':_0x119473[_0x4a6d50(0x1ed)],'onChange':_0x2f6fc7=>_0x138244({'nodeId':_0xc22c36['nodeId'],'text':_0x2f6fc7}),'onKeyDown':_0x1c0d9c=>{const _0x57009a=_0x4a6d50;_0x1c0d9c[_0x57009a(0x211)]==='Enter'&&_0x12c397(),_0x1c0d9c[_0x57009a(0x211)]===_0x57009a(0x399)&&_0x138244(null);}}),_0x27e6bc(_0x31b62f,{'size':_0x4a6d50(0x24e),'variant':_0x4a6d50(0x13b),'disabled':!_0x119473[_0x4a6d50(0x1ed)]['trim'](),'onClick':_0x12c397,'children':_0x4ee7cb['t']('boards-mind-ui.panel.rename')}),_0x27e6bc(_0x31b62f,{'size':_0x4a6d50(0x24e),'variant':_0x4a6d50(0x2c0),'onClick':()=>_0x138244(null),'children':_0x4ee7cb['t'](_0x4a6d50(0x1b0))})]}):_0x528cbf(_0x177b6a,{'children':[_0x27e6bc(_0x31b62f,{'size':'small','variant':_0x4a6d50(0x179),'className':_0x4a6d50(0x139),'onClick':()=>_0x504fbf[_0x4a6d50(0x251)]({'unitId':_0xb9bb0[_0x4a6d50(0x308)],'subUnitId':_0xb9bb0[_0x4a6d50(0x25a)]},[_0xc22c36[_0x4a6d50(0x141)]],_0xc22c36[_0x4a6d50(0x141)]),'children':_0xc22c36['text']}),_0x27e6bc(Nr,{'onClick':()=>_0x3dcf0d(_0xc22c36[_0x4a6d50(0x141)],_0xc22c36[_0x4a6d50(0x1ed)])})]})},_0xc22c36['nodeId']))}):_0x27e6bc(Mr,{'children':_0x4ee7cb['t'](_0x4a6d50(0x307))})]})}):null,_0x4cc1db==='layout'?_0x27e6bc(jr,{'titleKey':_0x4a6d50(0x26b),'children':_0x528cbf('div',{'className':'univer-space-y-3','children':[_0x27e6bc('div',{'className':'univer-flex\x20univer-gap-2','children':_0x27e6bc(_0x5e3c13,{'className':_0x4a6d50(0x3fb),'items':gr[_0x4a6d50(0x288)](_0x42ea02=>({'label':_0x4ee7cb['t'](_0x42ea02['labelKey']),'value':_0x42ea02['value']})),'value':_0xdf1bfe,'onChange':_0x4e2d07=>_0x1996c2(_0x4e2d07)})}),_0x27e6bc('div',{'className':'univer-flex\x20univer-gap-2','children':_0x27e6bc(_0x5e3c13,{'className':_0x4a6d50(0x3fb),'items':hr['map'](_0x439e34=>({'label':_0x4ee7cb['t'](_0x439e34[_0x4a6d50(0x2b8)]),'value':_0x439e34[_0x4a6d50(0x31d)]})),'value':_0x15f23e,'onChange':_0x6400a1=>_0x55f5aa(_0x6400a1)})}),_0x27e6bc(_0x4a6d50(0x2f6),{'className':_0x4a6d50(0x333),'children':_0x27e6bc(_0x5e3c13,{'className':'univer-w-full\x20univer-text-xs','items':_0x15ea01[_0x4a6d50(0x288)](_0x3a541b=>({'label':_0x4ee7cb['t'](_0x3a541b[_0x4a6d50(0x2b8)]),'value':_0x3a541b[_0x4a6d50(0x31d)]})),'value':_0x5b0732,'onChange':_0x84168a=>_0x6cb18a(_0x84168a)})}),_0x27e6bc('div',{'className':_0x4a6d50(0x345),'children':mr[_0x4a6d50(0x288)](({labelKey:_0x32d2cd,key:_0x54558a,min:_0x1359ba,max:_0x25061f})=>_0x528cbf(_0x4a6d50(0x172),{'className':_0x4a6d50(0x336),'children':[_0x27e6bc(_0x4a6d50(0x2f8),{'className':_0x4a6d50(0x3bb),'children':_0x4ee7cb['t']('boards-mind-ui.panel.'+_0x32d2cd)}),_0x27e6bc(_0xadbfdb,{'min':_0x1359ba,'max':_0x25061f,'step':0x4,'value':_0xab2657[_0x54558a],'precision':0x0,'className':_0x4a6d50(0x357),'onChange':_0x17a21d=>_0x5f0210(_0x54558a,Number(_0x17a21d==null?_0x1359ba:_0x17a21d))})]},_0x54558a))})]})}):null,_0x4cc1db===_0x4a6d50(0x367)?_0x27e6bc(jr,{'titleKey':_0x4a6d50(0x171),'children':_0x528cbf(_0x4a6d50(0x2f6),{'className':_0x4a6d50(0x29b),'children':[_0x27e6bc(_0x42aebb,{'className':'univer-h-28\x20univer-resize-none\x20univer-text-xs','placeholder':_0x4ee7cb['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x22fa19,'onValueChange':_0xdcff1b}),_0x528cbf(_0x4a6d50(0x2f6),{'className':_0x4a6d50(0x333),'children':[_0x27e6bc(_0x31b62f,{'size':_0x4a6d50(0x24e),'variant':_0x4a6d50(0x13b),'disabled':!_0x22fa19[_0x4a6d50(0x1bf)](),'onClick':_0xd2e967,'children':_0x4ee7cb['t'](_0x4a6d50(0x15d))}),_0x27e6bc(_0x31b62f,{'size':_0x4a6d50(0x24e),'variant':_0x4a6d50(0x2c0),'onClick':_0x53209b,'children':_0x4ee7cb['t'](_0x4a6d50(0x1bc))})]})]})}):null]});}let Fr=class extends _0x5dfc4c{constructor(_0x202b84){const _0x4f6503=_0x1bfc49;super(),this[_0x4f6503(0x25b)]=_0x202b84,this[_0x4f6503(0x3d5)]();}[_0x1bfc49(0x3d5)](){const _0x51a96a=_0x1bfc49;this['disposeWithMe'](this[_0x51a96a(0x25b)]['register'](nn,an)),this[_0x51a96a(0x3ac)](this[_0x51a96a(0x25b)][_0x51a96a(0x2cd)](fn,Fn)),this[_0x51a96a(0x3ac)](this['_componentManager'][_0x51a96a(0x2cd)]('board.mind-map.panel',Pr));}};Fr=J([q(0x0,_0xbc3476(_0x4dae87))],Fr);let Ir=class{constructor(_0x2fce25,_0x500ccd){const _0x2a051a=_0x1bfc49;this[_0x2a051a(0x1c1)]=_0x2fce25,this[_0x2a051a(0x313)]=_0x500ccd;}[_0x1bfc49(0x15e)](_0x2cefd7){const _0x13cb32=_0x1bfc49;return this['_insertStateService']['setTemplate']({'rootText':_0x2cefd7['rootText'],'structureKind':_0x2cefd7[_0x13cb32(0x14f)],'branchLineType':_0x2cefd7[_0x13cb32(0x2c6)],'children':_0x2cefd7[_0x13cb32(0x12d)],'blueprint':_0x2cefd7[_0x13cb32(0x2fb)]}),this[_0x13cb32(0x1c1)][_0x13cb32(0x21d)](!0x1),this['_stateService'][_0x13cb32(0x1e8)](),this[_0x13cb32(0x1c1)][_0x13cb32(0x298)](_0x2257b4[_0x13cb32(0x3d8)]),this[_0x13cb32(0x1c1)][_0x13cb32(0x354)]({'type':_0x2257b4[_0x13cb32(0x3d8)]}),!0x0;}};Ir=J([q(0x0,_0x1ce780),q(0x1,_0xbc3476(qn))],Ir);let Lr=class extends _0x348eb5{constructor(_0x3de66d=At,_0x30d7de,_0x2ff7ff,_0x5101e6){const _0x190bc6=_0x1bfc49;super(),this[_0x190bc6(0x1a3)]=_0x3de66d,this[_0x190bc6(0x1b2)]=_0x30d7de,this[_0x190bc6(0x296)]=_0x2ff7ff,this[_0x190bc6(0x2d1)]=_0x5101e6;let {..._0x43a823}=_0x217ebd({},At,this[_0x190bc6(0x1a3)]);this[_0x190bc6(0x296)][_0x190bc6(0x3e9)]('boards-mind-ui.config',_0x43a823);}['onStarting'](){const _0x27e59f=_0x1bfc49;this[_0x27e59f(0x1b2)][_0x27e59f(0x306)]([qn]),this[_0x27e59f(0x1b2)][_0x27e59f(0x306)]([Qn]),this[_0x27e59f(0x1b2)]['add']([Ir]),this[_0x27e59f(0x1b2)]['add']([un]),this[_0x27e59f(0x1b2)][_0x27e59f(0x306)]([fr]),this[_0x27e59f(0x1b2)][_0x27e59f(0x306)]([Fr]);let _0x3ef51b=this[_0x27e59f(0x1b2)][_0x27e59f(0x1f7)](Ir),_0x38bbda=this[_0x27e59f(0x1b2)][_0x27e59f(0x1f7)](_0x41972c);this['disposeWithMe'](_0x38bbda[_0x27e59f(0x294)](_0x3ef51b)),this[_0x27e59f(0x3ac)](this[_0x27e59f(0x1b2)][_0x27e59f(0x1f7)](un)),this[_0x27e59f(0x3ac)](this['_injector'][_0x27e59f(0x1f7)](fr)),this[_0x27e59f(0x3ac)](this[_0x27e59f(0x1b2)][_0x27e59f(0x1f7)](Fr)),this[_0x27e59f(0x2e7)]();}[_0x1bfc49(0x212)](){const _0x2afad5=_0x1bfc49;this[_0x2afad5(0x3ac)](this[_0x2afad5(0x2d1)][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],Zn)),this[_0x2afad5(0x3ac)](this[_0x2afad5(0x2d1)][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],ur)),this[_0x2afad5(0x3ac)](this[_0x2afad5(0x2d1)][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],Ln)),this[_0x2afad5(0x3ac)](this['_renderManagerService'][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],tn)),this[_0x2afad5(0x3ac)](this['_renderManagerService'][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],Pt)),this['disposeWithMe'](this[_0x2afad5(0x2d1)][_0x2afad5(0x1e5)](_0x3a60f9[_0x2afad5(0x375)],tr));}['_enableMindMapToolbarTool'](){const _0x552448=_0x1bfc49;var _0xafe74c,_0x22d983;let _0x474e09=this[_0x552448(0x2e8)]();this['_configService'][_0x552448(0x3e9)](_0x24be6e,{..._0x474e09,'toolbar':{..._0x474e09[_0x552448(0x3f3)],'tools':{...(_0xafe74c=_0x474e09[_0x552448(0x3f3)])==null?void 0x0:_0xafe74c['tools'],[_0x2257b4['MindMap']]:Rr((_0x22d983=_0x474e09[_0x552448(0x3f3)])==null||(_0x22d983=_0x22d983['tools'])==null?void 0x0:_0x22d983[_0x2257b4[_0x552448(0x3d8)]])}}});}[_0x1bfc49(0x2e8)](){const _0x524b90=_0x1bfc49;var _0xf38151;return(_0xf38151=this[_0x524b90(0x296)][_0x524b90(0x362)](_0x24be6e))==null?{}:_0xf38151;}};K(Lr,_0x1bfc49(0x17b),_0x1bfc49(0x34c)),K(Lr,'packageName',Ot),K(Lr,_0x1bfc49(0x377),kt),K(Lr,_0x1bfc49(0x149),_0x3a60f9['UNIVER_BOARD']),Lr=J([_0x4985c0(_0x5d65d0,_0x103bd8,_0xbd73f5),q(0x1,_0xbc3476(_0x39322f)),q(0x2,_0x29e452),q(0x3,_0x34230a)],Lr);function Rr(_0x34769e){const _0x220245=_0x1bfc49;if(_0x34769e===!0x1)return!0x1;if(typeof _0x34769e==_0x220245(0x2e2)){var _0x53808f;return{..._0x34769e,'enabled':(_0x53808f=_0x34769e[_0x220245(0x258)])==null?!0x0:_0x53808f};}return!0x0;}export{Lr as UniverBoardsMindUIPlugin};