@univerjs-pro/boards-mind-ui 1.0.4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x92f39f=_0x25f1;(function(_0x1e8a66,_0x15af4d){const _0x3f8972=_0x25f1,_0x3e5b2b=_0x1e8a66();while(!![]){try{const _0x3188ea=-parseInt(_0x3f8972(0x30a))/0x1*(parseInt(_0x3f8972(0x221))/0x2)+-parseInt(_0x3f8972(0x2f5))/0x3*(parseInt(_0x3f8972(0x285))/0x4)+parseInt(_0x3f8972(0x34d))/0x5*(parseInt(_0x3f8972(0x3b0))/0x6)+parseInt(_0x3f8972(0x3ca))/0x7+-parseInt(_0x3f8972(0x342))/0x8*(-parseInt(_0x3f8972(0x291))/0x9)+-parseInt(_0x3f8972(0x453))/0xa+-parseInt(_0x3f8972(0x43a))/0xb*(-parseInt(_0x3f8972(0x18f))/0xc);if(_0x3188ea===_0x15af4d)break;else _0x3e5b2b['push'](_0x3e5b2b['shift']());}catch(_0x264a3f){_0x3e5b2b['push'](_0x3e5b2b['shift']());}}}(_0x4e0c,0xc6919));function _0x25f1(_0x3b80a1,_0x50c336){_0x3b80a1=_0x3b80a1-0x152;const _0x4e0cdb=_0x4e0c();let _0x25f1b7=_0x4e0cdb[_0x3b80a1];return _0x25f1b7;}import{BoardElementType as _0x36d773,BoardToolType as _0x28dd01,IBoardElementService as _0xbfe5fc,IBoardMindMapAdapterService as _0x3709c8,UniverBoardsPlugin as _0x103306,documentTextStyleToBoardShapeTextStyle as _0x3dd1d2,offsetBoardConnectorGeometry as _0x320b9d,resolveBoardElementWorldBounds as _0x51a7dc}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x5a9afd,AddMindMapSiblingOperation as _0x24d9d3,ChangeMindMapBranchLineTypeOperation as _0x140e61,ChangeMindMapLayoutOperation as _0x61c9cd,CopyMindMapNodeOperation as _0x229ff7,DeleteMindMapNodeOperation as _0x35da0c,DetachMindMapNodeOperation as _0x2b135b,ExportMindMapOpmlOperation as _0x384d85,IMindMapClipboardService as _0x17a521,ImportMindMapOpmlOperation as _0x24edca,InsertBoardMindMapOperation as _0x23721b,LayoutMindMapOperation as _0x1a1b4d,MIND_MAP_DEFAULT_LAYOUT as _0x29a5bb,MIND_MAP_DEFAULT_NODE_SIZE as _0x365da6,MIND_MAP_DEFAULT_NODE_TEXT as _0x13c229,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x1ad2a7,PasteMindMapAsNewMindMapOperation as _0x2b5d5e,PasteMindMapNodeOperation as _0x331883,PromoteMindMapNodeOperation as _0x42ec56,ReparentMindMapNodeOperation as _0x402e5b,ToggleMindMapNodeCollapseOperation as _0x497ede,TranslateMindMapOperation as _0x34ffa9,UniverBoardsMindPlugin as _0x46f886,UpdateMindMapIncomingConnectorOperation as _0x464e77,UpdateMindMapNodeOperation as _0x5049e3,compareMindMapOrderKey as _0x2aa617,getMindMapConnectorMeta as _0x4073ed,getMindMapContainerMeta as _0x25a48f,getMindMapDefaultChildOrderKey as _0x393951,getMindMapNodeMeta as _0x5213e3,isMindMapPlainStructureKind as _0x3ffd8d,resolveMindMapBranchLineTypeForStructure as _0x47dc91,resolveMindMapLayoutPreview as _0xa5f4f8,resolveMindMapNodeHostSize as _0x4789c7}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x57b746,BOARD_RENDER_LAYER_INDEX as _0x37e359,BOARD_RENDER_OBJECT_Z_INDEX as _0xbc2bae,BOARD_SHORTCUT_BINDINGS as _0x5359c0,BoardCanvasPopManagerService as _0x41ee3b,BoardInteractionSurfaceService as _0x4ccd27,BoardShapeIntrinsicSizeService as _0x346884,BoardTextEditingService as _0x3027f8,IBoardElementStateService as _0x3c1d99,IBoardUIStateService as _0x239302,UniverBoardsMobileUIPlugin as _0x389ea0,UniverBoardsUIPlugin as _0x4fb43a,areBoardShapeTextValuesEquivalent as _0x485d33,getBoardElementRenderObjectKey as _0x51bae1,isBoardShortcutAvailable as _0x22e4ac,parseBoardElementRenderObjectKey as _0x16b62c,resolveBoardFloatingToolbarSelection as _0x5bbe51,syncBoardElementRenderObject as _0x3dad20}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x39127d}from'@univerjs-pro/license';import{BooleanNumber as _0x47d42f,CommandType as _0x14b54b,DEFAULT_STYLES as _0x23e0bb,DependentOn as _0x48ac0a,Disposable as _0x2756ad,DisposableCollection as _0x54845b,HorizontalAlign as _0x1e32f2,ICommandService as _0x3aa11b,IConfigService as _0x506e27,IContextService as _0x3079cd,IUniverInstanceService as _0x3171b5,Inject as _0x3c9b31,Injector as _0x3b9e9d,LocaleService as _0x33f8b9,Plugin as _0xe01e68,RxDisposable as _0xb1406a,UniverInstanceType as _0x597c76,VerticalAlign as _0x42b806,generateRandomId as _0x38dd6c,merge as _0x221ada,toDisposable as _0x594a26}from'@univerjs/core';import{BaseObject as _0xd4e1e3,Control as _0x3b27b9,DeviceType as _0xab8b6,IRenderManagerService as _0x1cdd64,UniverRenderEnginePlugin as _0x53d0dd}from'@univerjs/engine-render';import{Subject as _0x257d31,merge as _0x431517,takeUntil as _0x3568ee}from'rxjs';import{ComponentManager as _0x5a063f,IDialogService as _0x48f062,IFontService as _0x1ea3ab,IShortcutService as _0x589ecb,ISidebarService as _0x5b3794,KeyCode as _0x8c7182,MetaKeys as _0x52f4d8,UndoRedoGroupService as _0x387fe1,useDependency as _0x17282b,useObservable as _0x457155}from'@univerjs/ui';import{MobileShapeMenu as _0x1aa474,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x3e6563,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x5e5d91,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x3d178b,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x1a23d2,ShapeFillButton as _0x3a140c,ShapeFloatingToolbarContent as _0xcb04ae,ShapeFloatingToolbarDropdownTrigger as _0x103714,ShapeFloatingToolbarFontSizeSelect as _0x38146c,ShapeFloatingToolbarIcon as _0xcfec90,ShapeFloatingToolbarMenuItem as _0x38a135,ShapeFloatingToolbarMenuPanel as _0x2bb414,ShapeStrokePanelButton as _0x3ba3d6,ShapeStrokePanelContent as _0x36b757,TextFillButton as _0x163c26,TypographyPanelButton as _0x2805c5,buildShapeTextDataUpdate as _0x1d868a,getTextStyle as _0x4dfc8f}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x350ce4,ShapeLineDashEnum as _0x1fef06,ShapeLineTypeEnum as _0x489228}from'@univerjs-pro/engine-shape';import{Button as _0x44fdbd,Dropdown as _0x1ac9f4,Input as _0x2f2244,InputNumber as _0xbf943c,MobileColorPresets as _0x3058ff,Segmented as _0x380ab0,Separator as _0x47916c,Textarea as _0xd46f6,borderClassName as _0x4f81af,clsx as _0x2ccaad}from'@univerjs/design';import{AlignBottomIcon as _0x30b7b7,AlignTextBothIcon as _0x34642c,AlignTopIcon as _0x19a816,BoldIcon as _0x2a133d,HorizontallyIcon as _0x50a4e6,ItalicIcon as _0x23fa02,LeftJustifyingIcon as _0x3d8e65,MoreHorizontalIcon as _0x634397,RightJustifyingIcon as _0x42707d,SearchIcon as _0xea34ce,ShapeLineIcon as _0xcc330a,StrikethroughIcon as _0x211b34,UnderlineIcon as _0x203b5d,VerticalCenterIcon as _0xdc38d1}from'@univerjs/icons';import{useEffect as _0x969006,useReducer as _0x3d9926,useState as _0x406b1d}from'react';import{Fragment as _0x1df3f8,jsx as _0x36e588,jsxs as _0x99613}from'react/jsx-runtime';var Zt='@univerjs-pro/boards-mind-ui',Qt=_0x92f39f(0x3bf);const $t=_0x92f39f(0x1c3),en={};function tn(_0x1cb7f6){'@babel/helpers - typeof';const _0x28d08d=_0x92f39f;return tn=typeof Symbol==_0x28d08d(0x1a5)&&typeof Symbol['iterator']=='symbol'?function(_0x2de804){return typeof _0x2de804;}:function(_0x9fba6e){const _0x29a781=_0x28d08d;return _0x9fba6e&&typeof Symbol==_0x29a781(0x1a5)&&_0x9fba6e[_0x29a781(0x1bc)]===Symbol&&_0x9fba6e!==Symbol[_0x29a781(0x350)]?_0x29a781(0x2ce):typeof _0x9fba6e;},tn(_0x1cb7f6);}function nn(_0x58d015,_0x4ca064){const _0x392f4c=_0x92f39f;if(tn(_0x58d015)!=_0x392f4c(0x31e)||!_0x58d015)return _0x58d015;var _0x286285=_0x58d015[Symbol[_0x392f4c(0x3a0)]];if(_0x286285!==void 0x0){var _0x26df49=_0x286285[_0x392f4c(0x3ec)](_0x58d015,_0x4ca064||_0x392f4c(0x326));if(tn(_0x26df49)!='object')return _0x26df49;throw TypeError(_0x392f4c(0x359));}return(_0x4ca064===_0x392f4c(0x192)?String:Number)(_0x58d015);}function rn(_0x2fbcf7){const _0xdf63ab=_0x92f39f;var _0x3ce5e6=nn(_0x2fbcf7,'string');return tn(_0x3ce5e6)==_0xdf63ab(0x2ce)?_0x3ce5e6:_0x3ce5e6+'';}function K(_0x1c91e0,_0x577847,_0x60e298){const _0x4a85a0=_0x92f39f;return(_0x577847=rn(_0x577847))in _0x1c91e0?Object[_0x4a85a0(0x3e5)](_0x1c91e0,_0x577847,{'value':_0x60e298,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c91e0[_0x577847]=_0x60e298,_0x1c91e0;}function q(_0x4e57db,_0x22e1d5){return function(_0x24f05f,_0xf59dd4){_0x22e1d5(_0x24f05f,_0xf59dd4,_0x4e57db);};}function J(_0x1e904c,_0x39a216,_0x113fe8,_0x5a4604){const _0x307db6=_0x92f39f;var _0x26a90b=arguments[_0x307db6(0x33b)],_0x2f3a73=_0x26a90b<0x3?_0x39a216:_0x5a4604===null?_0x5a4604=Object[_0x307db6(0x39f)](_0x39a216,_0x113fe8):_0x5a4604,_0x2f0f24;if(typeof Reflect==_0x307db6(0x31e)&&typeof Reflect[_0x307db6(0x279)]=='function')_0x2f3a73=Reflect[_0x307db6(0x279)](_0x1e904c,_0x39a216,_0x113fe8,_0x5a4604);else{for(var _0x29912a=_0x1e904c[_0x307db6(0x33b)]-0x1;_0x29912a>=0x0;_0x29912a--)(_0x2f0f24=_0x1e904c[_0x29912a])&&(_0x2f3a73=(_0x26a90b<0x3?_0x2f0f24(_0x2f3a73):_0x26a90b>0x3?_0x2f0f24(_0x39a216,_0x113fe8,_0x2f3a73):_0x2f0f24(_0x39a216,_0x113fe8))||_0x2f3a73);}return _0x26a90b>0x3&&_0x2f3a73&&Object['defineProperty'](_0x39a216,_0x113fe8,_0x2f3a73),_0x2f3a73;}let an=class extends _0xb1406a{constructor(_0x3ad72a,_0x358666,_0x65f237){const _0x39637c=_0x92f39f;super(),this['_renderContext']=_0x3ad72a,this[_0x39637c(0x21c)]=_0x358666,this['_commandService']=_0x65f237,K(this,_0x39637c(0x1f5),new Map()),K(this,_0x39637c(0x273),new Map()),K(this,_0x39637c(0x290),!0x1),this[_0x39637c(0x270)]();}[_0x92f39f(0x270)](){const _0x2e4d13=_0x92f39f;this[_0x2e4d13(0x3e1)](),this[_0x2e4d13(0x307)](_0x594a26(this[_0x2e4d13(0x21c)][_0x2e4d13(0x264)]['pipe'](_0x3568ee(this[_0x2e4d13(0x203)]))['subscribe'](_0x1fe34c=>{const _0x328ab1=_0x2e4d13;_0x1fe34c[_0x328ab1(0x2cc)](_0x30ec5d=>{const _0x2547ae=_0x328ab1;let _0x90d7ae=this[_0x2547ae(0x21c)]['getElementById'](_0x30ec5d['unitId'],_0x30ec5d[_0x2547ae(0x1fa)],_0x30ec5d['elementId']);this[_0x2547ae(0x411)](_0x30ec5d,_0x90d7ae);});}))),this[_0x2e4d13(0x307)](_0x594a26(this['_boardElementService']['elementUpdate$'][_0x2e4d13(0x312)](_0x3568ee(this[_0x2e4d13(0x203)]))[_0x2e4d13(0x457)](_0x403d38=>{const _0x5e130d=_0x2e4d13;_0x403d38[_0x5e130d(0x2cc)](_0x1d245f=>this[_0x5e130d(0x2e4)](_0x1d245f));})));}[_0x92f39f(0x3e1)](){const _0x5d2f6b=_0x92f39f;let _0x4b2548=this[_0x5d2f6b(0x45a)][_0x5d2f6b(0x237)],_0x16d959=this[_0x5d2f6b(0x21c)]['getElementDataForUnit'](_0x4b2548);Object[_0x5d2f6b(0x3c5)](_0x16d959)[_0x5d2f6b(0x2cc)](([_0x349f3f,_0x4341b8])=>{const _0x1f5fce=_0x5d2f6b;Object[_0x1f5fce(0x1f3)](_0x4341b8[_0x1f5fce(0x1df)])[_0x1f5fce(0x2cc)](_0x5dc4f7=>{const _0x333eda=_0x1f5fce;this[_0x333eda(0x411)]({'unitId':_0x4b2548,'subUnitId':_0x349f3f,'elementId':_0x5dc4f7[_0x333eda(0x2d3)]},_0x5dc4f7);});});}[_0x92f39f(0x2e4)](_0x430bfc){const _0x193c1a=_0x92f39f;if(_0x430bfc[_0x193c1a(0x237)]!==this[_0x193c1a(0x45a)][_0x193c1a(0x237)])return;let _0x587d95=this[_0x193c1a(0x21c)]['getElementById'](_0x430bfc[_0x193c1a(0x237)],_0x430bfc[_0x193c1a(0x1fa)],_0x430bfc[_0x193c1a(0x2d3)]),_0x56360c=_0x5213e3(_0x587d95==null?void 0x0:_0x587d95[_0x193c1a(0x465)]),_0x497398=this[_0x193c1a(0x3fc)](_0x587d95);if(!_0x56360c||!_0x497398){this[_0x193c1a(0x1f5)]['delete'](this[_0x193c1a(0x324)](_0x430bfc));return;}let _0xeec20c=this[_0x193c1a(0x324)](_0x430bfc),_0x1891c0=this[_0x193c1a(0x1f5)]['get'](_0xeec20c);this[_0x193c1a(0x1f5)][_0x193c1a(0x2db)](_0xeec20c,_0x497398),!(_0x1891c0&&_0x1891c0[_0x193c1a(0x389)]===_0x497398[_0x193c1a(0x389)]&&_0x1891c0[_0x193c1a(0x1fe)]===_0x497398['height'])&&this[_0x193c1a(0x45d)]({'unitId':_0x430bfc['unitId'],'subUnitId':_0x430bfc[_0x193c1a(0x1fa)],'scopeId':_0x56360c['structureScopeId']});}['_rememberNodeSize'](_0x27fc1a,_0x1d0101){const _0x35d452=_0x92f39f;if(_0x27fc1a['unitId']!==this['_renderContext'][_0x35d452(0x237)])return;let _0x3e392a=_0x5213e3(_0x1d0101==null?void 0x0:_0x1d0101[_0x35d452(0x465)]),_0xadaeb8=this['_resolveNodeSize'](_0x1d0101);_0x3e392a&&_0xadaeb8&&this[_0x35d452(0x1f5)][_0x35d452(0x2db)](this[_0x35d452(0x324)](_0x27fc1a),_0xadaeb8);}[_0x92f39f(0x3fc)](_0x50e263){const _0x616b55=_0x92f39f;let _0x3278f5=(_0x50e263==null?void 0x0:_0x50e263[_0x616b55(0x242)])??(_0x50e263==null?void 0x0:_0x50e263[_0x616b55(0x465)][_0x616b55(0x242)]),_0x497ca2=_0x3278f5==null?void 0x0:_0x3278f5[_0x616b55(0x389)],_0xd91c60=_0x3278f5==null?void 0x0:_0x3278f5['height'];return!Number[_0x616b55(0x263)](_0x497ca2)||!Number[_0x616b55(0x263)](_0xd91c60)?null:{'width':_0x497ca2,'height':_0xd91c60};}[_0x92f39f(0x45d)](_0x4ad4fc){const _0x43e5c6=_0x92f39f;this[_0x43e5c6(0x273)][_0x43e5c6(0x2db)](_0x4ad4fc[_0x43e5c6(0x237)]+':'+_0x4ad4fc[_0x43e5c6(0x1fa)]+':'+_0x4ad4fc['scopeId'],_0x4ad4fc),!this[_0x43e5c6(0x290)]&&(this[_0x43e5c6(0x290)]=!0x0,Promise['resolve']()[_0x43e5c6(0x271)](()=>{const _0x8a58e0=_0x43e5c6;this[_0x8a58e0(0x290)]=!0x1;let _0x46a217=Array[_0x8a58e0(0x413)](this[_0x8a58e0(0x273)]['values']());this[_0x8a58e0(0x273)][_0x8a58e0(0x42f)](),_0x46a217['forEach'](_0x14387e=>{const _0x1e9a00=_0x8a58e0;this[_0x1e9a00(0x2b9)](_0x14387e);});}));}['_executeRootAnchoredLayout'](_0x166001){const _0x5a7f89=_0x92f39f;var _0x591e95;let _0x58f9db=this[_0x5a7f89(0x21c)][_0x5a7f89(0x3c4)](_0x166001[_0x5a7f89(0x237)],_0x166001[_0x5a7f89(0x1fa)],_0x166001[_0x5a7f89(0x3d0)]),_0x1fae01=(_0x591e95=_0x25a48f(_0x58f9db==null?void 0x0:_0x58f9db[_0x5a7f89(0x465)]))==null?void 0x0:_0x591e95['rootNodeId'];this[_0x5a7f89(0x282)]['executeCommand'](_0x1a1b4d['id'],{..._0x166001,'skipUndo':!0x0,..._0x1fae01?{'anchorNodeId':_0x1fae01}:null});}[_0x92f39f(0x324)](_0x1aa06c){const _0x2f3b8c=_0x92f39f;return _0x1aa06c[_0x2f3b8c(0x237)]+':'+_0x1aa06c[_0x2f3b8c(0x1fa)]+':'+_0x1aa06c[_0x2f3b8c(0x2d3)];}};an=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3aa11b)],an);const Y={'primaryColor':_0x3e6563,'surfaceColor':_0x5e5d91,'textColor':_0x3d178b,'fontFamily':_0x23e0bb['ff']};function on(_0x98407d,_0x3ddbf2){const _0x4f1d1c=_0x92f39f;let _0x549852=Math['min'](0x1,Math[_0x4f1d1c(0x339)](0x0,Number[_0x4f1d1c(0x263)](_0x3ddbf2)?_0x3ddbf2:0x1)),_0x4a7f1a=_0x98407d[_0x4f1d1c(0x385)](),_0x10a3d3=/^#([0-9a-fA-F]{6})$/[_0x4f1d1c(0x22c)](_0x4a7f1a);if(!_0x10a3d3)return _0x98407d;let _0x851558=_0x10a3d3[0x1];return'rgba('+Number[_0x4f1d1c(0x1cd)](_0x851558['slice'](0x0,0x2),0x10)+',\x20'+Number[_0x4f1d1c(0x1cd)](_0x851558[_0x4f1d1c(0x32c)](0x2,0x4),0x10)+',\x20'+Number[_0x4f1d1c(0x1cd)](_0x851558[_0x4f1d1c(0x32c)](0x4,0x6),0x10)+',\x20'+_0x549852+')';}const X={'primaryColor':Y[_0x92f39f(0x1fc)],'ghostFillColor':on(Y[_0x92f39f(0x212)],0.72),'ghostTextColor':on(Y[_0x92f39f(0x417)],0.62),'rootTextColor':on(Y['surfaceColor'],0.86),'sourceHighlightFillColor':on(Y['primaryColor'],0.12),'sourceHighlightStrokeColor':on(Y[_0x92f39f(0x1fc)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x365da6[_0x92f39f(0x184)],'fallbackNodeHeight':_0x365da6[_0x92f39f(0x1f6)],'branchGap':_0x29a5bb[_0x92f39f(0x35a)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x92f39f(0x443)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x4490af,_0x3eec1a,_0x5bec3d,_0x518c81,_0x487448,_0x533864){const _0x2aedeb=_0x92f39f;let _0x2e8d1a=Math[_0x2aedeb(0x235)](_0x533864,_0x518c81/0x2,_0x487448/0x2);_0x4490af[_0x2aedeb(0x2ec)](),_0x4490af[_0x2aedeb(0x345)](_0x3eec1a+_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x518c81-_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a+_0x518c81,_0x5bec3d,_0x3eec1a+_0x518c81,_0x5bec3d+_0x2e8d1a),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x518c81,_0x5bec3d+_0x487448-_0x2e8d1a),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a+_0x518c81,_0x5bec3d+_0x487448,_0x3eec1a+_0x518c81-_0x2e8d1a,_0x5bec3d+_0x487448),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x2e8d1a,_0x5bec3d+_0x487448),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a,_0x5bec3d+_0x487448,_0x3eec1a,_0x5bec3d+_0x487448-_0x2e8d1a),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a,_0x5bec3d+_0x2e8d1a),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a,_0x5bec3d,_0x3eec1a+_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x16f)]();}function sn(_0x4f7196,_0x1d124d,_0x5788d1){const _0x195a46=_0x92f39f;return _0x4f7196+'\x20'+_0x1d124d/_0x5788d1+_0x195a46(0x1b5)+X[_0x195a46(0x443)];}const cn=_0x92f39f(0x204),ln=_0x37e359[_0x92f39f(0x449)];function Q(_0x1525f4,_0x30e3c7){return Number['isFinite'](_0x1525f4)?_0x1525f4:_0x30e3c7;}function un(){const _0x4132e5=_0x92f39f;return X[_0x4132e5(0x375)];}function dn(){return X['fallbackNodeHeight'];}function fn(_0x2183f3){const _0x7894cc=_0x92f39f;return _0x2183f3===0x1?_0x7894cc(0x378):_0x2183f3===0x3?_0x7894cc(0x2c4):_0x7894cc(0x2a0);}function pn(_0x19dcf4,_0x53bfc0,_0x51ee8d,_0x3e8ac5){return _0x51ee8d===0x1?_0x19dcf4+_0x3e8ac5:_0x51ee8d===0x3?_0x19dcf4+_0x53bfc0-_0x3e8ac5:_0x19dcf4+_0x53bfc0/0x2;}var mn=class extends _0xd4e1e3{constructor(_0x5ec941=cn,_0xd9a12){const _0x3c9493=_0x92f39f;super(_0x5ec941),K(this,_0x3c9493(0x36b),{'ghostBounds':null,'parentBounds':null,'side':_0x3c9493(0x2c4),'zoomRatio':0x1}),this[_0x3c9493(0x458)]=!0x1,this[_0x3c9493(0x181)]=_0xbc2bae[_0x3c9493(0x32b)],this[_0x3c9493(0x40b)](_0xd9a12);}[_0x92f39f(0x40b)](_0x58b612){const _0x698ad0=_0x92f39f;if(this[_0x698ad0(0x36b)]={...this[_0x698ad0(0x36b)],..._0x58b612},this[_0x698ad0(0x36b)][_0x698ad0(0x2b6)]){let _0x337622=this[_0x698ad0(0x374)]();this[_0x698ad0(0x412)](_0x337622),this[_0x698ad0(0x2f3)]();}else this[_0x698ad0(0x3e2)]();let _0x4139b7=this;typeof _0x4139b7[_0x698ad0(0x21d)]=='function'?_0x4139b7[_0x698ad0(0x21d)](!0x0):this['makeDirty'](!0x0);}[_0x92f39f(0x364)](_0x13e902){return!0x1;}[_0x92f39f(0x173)](_0x35429b,_0x557eed){const _0xeab406=_0x92f39f;let _0x3a95fc=this['_state'][_0xeab406(0x2b6)];if(!_0x3a95fc||!this[_0xeab406(0x1d7)])return this[_0xeab406(0x3dc)](!0x1),this;let _0x488fc9=Number[_0xeab406(0x263)](this[_0xeab406(0x36b)][_0xeab406(0x1ec)])&&(this[_0xeab406(0x36b)]['zoomRatio']??0x0)>0x0?this[_0xeab406(0x36b)]['zoomRatio']:0x1,_0x28ca07=Q(_0x3a95fc[_0xeab406(0x378)],0x0),_0x29a05f=Q(_0x3a95fc['top'],0x0),_0x4f3b85=Math['max'](0x1,Q(_0x3a95fc[_0xeab406(0x389)],un())),_0x4937ca=Math[_0xeab406(0x339)](0x1,Q(_0x3a95fc[_0xeab406(0x1fe)],dn()));if(_0x35429b[_0xeab406(0x383)](),_0x35429b[_0xeab406(0x1fb)]=X['dragObjectAlpha'],_0x35429b[_0xeab406(0x1ac)]=X[_0xeab406(0x3ef)]/_0x488fc9,_0x35429b['strokeStyle']=X[_0xeab406(0x1fc)],_0x35429b['fillStyle']=X['ghostFillColor'],this['_drawConnectorPreview'](_0x35429b,{'left':_0x28ca07,'top':_0x29a05f,'width':_0x4f3b85,'height':_0x4937ca},_0x488fc9),this[_0xeab406(0x22d)](_0x35429b,_0x488fc9),this[_0xeab406(0x36b)][_0xeab406(0x43c)]===!0x1)return _0x35429b['restore'](),this[_0xeab406(0x3dc)](!0x1),this;Z(_0x35429b,_0x28ca07,_0x29a05f,_0x4f3b85,_0x4937ca,X[_0xeab406(0x38f)]),_0x35429b[_0xeab406(0x213)](),_0x35429b[_0xeab406(0x1e7)]();let _0x4560c4=this['_state'][_0xeab406(0x463)],_0x3ba1bf=Number[_0xeab406(0x263)](_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x28f)])&&((_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x28f)])??0x0)>0x0?_0x4560c4[_0xeab406(0x28f)]:0x10,_0x468dc3=X['textPaddingScreen']/_0x488fc9;return _0x35429b[_0xeab406(0x17d)]=(_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x1f2)])??X[_0xeab406(0x257)],_0x35429b['font']=sn(X['ghostFontWeight'],_0x3ba1bf,_0x488fc9),_0x35429b[_0xeab406(0x3cc)]=fn(_0x4560c4==null?void 0x0:_0x4560c4['horizontalAlign']),_0x35429b[_0xeab406(0x25a)]=_0xeab406(0x404),_0x35429b[_0xeab406(0x393)]((_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x423)])||_0x13c229,pn(_0x28ca07,_0x4f3b85,_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x3eb)],_0x468dc3),_0x29a05f+_0x4937ca/0x2,Math[_0xeab406(0x339)](0x1,_0x4f3b85-_0x468dc3*0x2)),_0x35429b[_0xeab406(0x3f7)](),this[_0xeab406(0x3dc)](!0x1),this;}['_resolveDirtyBounds'](){const _0x1c4095=_0x92f39f;let _0xe49e58=this[_0x1c4095(0x36b)]['ghostBounds'],_0xadd1af=Number['isFinite'](this[_0x1c4095(0x36b)][_0x1c4095(0x1ec)])&&(this[_0x1c4095(0x36b)][_0x1c4095(0x1ec)]??0x0)>0x0?this['_state']['zoomRatio']:0x1,_0x5277cf=X[_0x1c4095(0x178)]/_0xadd1af;if(!_0xe49e58)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x2ae024=Q(_0xe49e58[_0x1c4095(0x378)],0x0),_0x4f3beb=Q(_0xe49e58[_0x1c4095(0x1d8)],0x0),_0x30c490=Math[_0x1c4095(0x339)](0x1,Q(_0xe49e58['width'],un())),_0x4fe357=Math['max'](0x1,Q(_0xe49e58[_0x1c4095(0x1fe)],dn())),_0x179f60=this['_state'][_0x1c4095(0x1b0)],_0x59c693=this['_state'][_0x1c4095(0x2fa)],_0x81911c=Q(_0x179f60==null?void 0x0:_0x179f60[_0x1c4095(0x378)],_0x2ae024),_0x324746=Q(_0x179f60==null?void 0x0:_0x179f60['top'],_0x4f3beb),_0x461300=Math[_0x1c4095(0x339)](0x1,Q(_0x179f60==null?void 0x0:_0x179f60[_0x1c4095(0x389)],_0x30c490)),_0x120b12=Math[_0x1c4095(0x339)](0x1,Q(_0x179f60==null?void 0x0:_0x179f60['height'],_0x4fe357));if(!_0x59c693){let _0x4c3470=Math['min'](_0x2ae024,_0x81911c)-_0x5277cf,_0xbf8e8d=Math[_0x1c4095(0x235)](_0x4f3beb,_0x324746)-_0x5277cf,_0x16de70=Math['max'](_0x2ae024+_0x30c490,_0x81911c+_0x461300)+_0x5277cf,_0x4ce853=Math['max'](_0x4f3beb+_0x4fe357,_0x324746+_0x120b12)+_0x5277cf;return{'left':_0x4c3470,'top':_0xbf8e8d,'width':_0x16de70-_0x4c3470,'height':_0x4ce853-_0xbf8e8d};}let _0x5555e9=Q(_0x59c693[_0x1c4095(0x378)],_0x2ae024),_0x2c7487=Q(_0x59c693[_0x1c4095(0x1d8)],_0x4f3beb),_0xeeadfb=Math[_0x1c4095(0x339)](0x1,Q(_0x59c693[_0x1c4095(0x389)],un())),_0x4bb396=Math[_0x1c4095(0x339)](0x1,Q(_0x59c693[_0x1c4095(0x1fe)],dn())),_0x5a1e8=Math[_0x1c4095(0x235)](_0x2ae024,_0x5555e9,_0x81911c)-_0x5277cf,_0x115662=Math[_0x1c4095(0x235)](_0x4f3beb,_0x2c7487,_0x324746)-_0x5277cf,_0x26b1e1=Math[_0x1c4095(0x339)](_0x2ae024+_0x30c490,_0x5555e9+_0xeeadfb,_0x81911c+_0x461300)+_0x5277cf,_0x1d8f01=Math[_0x1c4095(0x339)](_0x4f3beb+_0x4fe357,_0x2c7487+_0x4bb396,_0x324746+_0x120b12)+_0x5277cf;return{'left':_0x5a1e8,'top':_0x115662,'width':_0x26b1e1-_0x5a1e8,'height':_0x1d8f01-_0x115662};}[_0x92f39f(0x22d)](_0x21667e,_0x1b2d33){const _0x2d0a00=_0x92f39f;var _0x3f3a32;let _0x312d6d=this['_state'][_0x2d0a00(0x1b0)];if(!_0x312d6d)return;let _0x15d228=X[_0x2d0a00(0x33c)]/_0x1b2d33,_0x3f3a23=Q(_0x312d6d['left'],0x0)-_0x15d228,_0x4f6017=Q(_0x312d6d[_0x2d0a00(0x1d8)],0x0)-_0x15d228,_0xd803ff=Math['max'](0x1,Q(_0x312d6d[_0x2d0a00(0x389)],un()))+_0x15d228*0x2,_0x21422e=Math['max'](0x1,Q(_0x312d6d['height'],dn()))+_0x15d228*0x2;_0x21667e[_0x2d0a00(0x383)](),_0x21667e[_0x2d0a00(0x1fb)]=0x1,_0x21667e[_0x2d0a00(0x1ac)]=X[_0x2d0a00(0x3ef)]/_0x1b2d33,_0x21667e['strokeStyle']=X[_0x2d0a00(0x1e8)],_0x21667e[_0x2d0a00(0x17d)]=X[_0x2d0a00(0x472)],(_0x3f3a32=_0x21667e[_0x2d0a00(0x2fe)])==null||_0x3f3a32['call'](_0x21667e,X[_0x2d0a00(0x30b)][_0x2d0a00(0x427)](_0x1bcd77=>_0x1bcd77/_0x1b2d33)),Z(_0x21667e,_0x3f3a23,_0x4f6017,_0xd803ff,_0x21422e,X[_0x2d0a00(0x309)]),_0x21667e['fill'](),_0x21667e[_0x2d0a00(0x1e7)](),_0x21667e['restore']();}['_drawConnectorPreview'](_0xb2598f,_0x4420f4,_0x477e13){const _0x5d04bd=_0x92f39f;let _0x4e0a04=this[_0x5d04bd(0x36b)]['parentBounds'];if(!_0x4e0a04)return;let _0x183a2c=Q(_0x4e0a04[_0x5d04bd(0x378)],0x0),_0x12b6ea=Q(_0x4e0a04[_0x5d04bd(0x1d8)],0x0),_0x54b42=Math[_0x5d04bd(0x339)](0x1,Q(_0x4e0a04[_0x5d04bd(0x389)],un())),_0x49ebe4=Math['max'](0x1,Q(_0x4e0a04['height'],dn())),_0x1db37f=X[_0x5d04bd(0x35a)],_0x30f07f=this[_0x5d04bd(0x36b)][_0x5d04bd(0x44d)]??_0x5d04bd(0x2c4);if(_0xb2598f[_0x5d04bd(0x383)](),_0xb2598f[_0x5d04bd(0x1fb)]=X[_0x5d04bd(0x272)],_0xb2598f['strokeStyle']=X['primaryColor'],_0xb2598f[_0x5d04bd(0x1ac)]=X[_0x5d04bd(0x3ef)]/_0x477e13,_0xb2598f['lineCap']='round',_0xb2598f[_0x5d04bd(0x28d)]=_0x5d04bd(0x370),_0xb2598f[_0x5d04bd(0x2ec)](),_0x30f07f===_0x5d04bd(0x1d8)||_0x30f07f==='bottom'){let _0x32de38=_0x183a2c+_0x54b42/0x2,_0x39fe4e=_0x4420f4[_0x5d04bd(0x378)]+_0x4420f4['width']/0x2,_0x245901=_0x30f07f===_0x5d04bd(0x36e)?_0x12b6ea+_0x49ebe4:_0x12b6ea,_0x3991a4=_0x30f07f===_0x5d04bd(0x36e)?_0x4420f4[_0x5d04bd(0x1d8)]:_0x4420f4[_0x5d04bd(0x1d8)]+_0x4420f4[_0x5d04bd(0x1fe)],_0x558b78=_0x30f07f===_0x5d04bd(0x36e)?Math[_0x5d04bd(0x235)](_0x245901+_0x1db37f,(_0x245901+_0x3991a4)/0x2):Math[_0x5d04bd(0x339)](_0x245901-_0x1db37f,(_0x245901+_0x3991a4)/0x2);_0xb2598f[_0x5d04bd(0x345)](_0x32de38,_0x245901),_0xb2598f[_0x5d04bd(0x165)](_0x32de38,_0x558b78),_0xb2598f[_0x5d04bd(0x165)](_0x39fe4e,_0x558b78),_0xb2598f[_0x5d04bd(0x165)](_0x39fe4e,_0x3991a4);}else{let _0x10116c=_0x12b6ea+_0x49ebe4/0x2,_0x20f502=_0x4420f4[_0x5d04bd(0x1d8)]+_0x4420f4[_0x5d04bd(0x1fe)]/0x2,_0x307bdd=_0x30f07f===_0x5d04bd(0x2c4)?_0x183a2c+_0x54b42:_0x183a2c,_0x269673=_0x30f07f===_0x5d04bd(0x2c4)?_0x4420f4[_0x5d04bd(0x378)]:_0x4420f4[_0x5d04bd(0x378)]+_0x4420f4[_0x5d04bd(0x389)],_0x230b49=_0x30f07f==='right'?Math[_0x5d04bd(0x235)](_0x307bdd+_0x1db37f,(_0x307bdd+_0x269673)/0x2):Math[_0x5d04bd(0x339)](_0x307bdd-_0x1db37f,(_0x307bdd+_0x269673)/0x2);_0xb2598f[_0x5d04bd(0x345)](_0x307bdd,_0x10116c),_0xb2598f[_0x5d04bd(0x165)](_0x230b49,_0x10116c),_0xb2598f[_0x5d04bd(0x165)](_0x230b49,_0x20f502),_0xb2598f[_0x5d04bd(0x165)](_0x269673,_0x20f502);}_0xb2598f[_0x5d04bd(0x1e7)](),_0xb2598f['restore']();}};function hn(_0x522db5,_0x1be8a6){const _0x588c19=_0x92f39f;return(_0x1be8a6==null?void 0x0:_0x1be8a6[_0x522db5[_0x588c19(0x2d3)]])??_0x522db5['element'][_0x588c19(0x242)];}function gn(_0x326fe7,_0x497541){const _0x4ae4d5=_0x92f39f;let _0x52cd75=hn(_0x326fe7,_0x497541);return{'x':(_0x52cd75[_0x4ae4d5(0x378)]??0x0)+(_0x52cd75[_0x4ae4d5(0x389)]??0x0)/0x2,'y':(_0x52cd75[_0x4ae4d5(0x1d8)]??0x0)+(_0x52cd75['height']??0x0)/0x2};}function _n(_0x1afc58,_0x5a9054){return Math['hypot'](_0x1afc58['x']-_0x5a9054['x'],_0x1afc58['y']-_0x5a9054['y']);}function vn(_0x5df1f2,_0x1ae8dc){const _0x2feea5=_0x92f39f;let _0x1c7371=_0x5df1f2[_0x2feea5(0x378)]??0x0,_0x154958=_0x5df1f2[_0x2feea5(0x1d8)]??0x0,_0x4cdfe7=_0x1c7371+(_0x5df1f2['width']??0x0),_0x2c55eb=_0x154958+(_0x5df1f2[_0x2feea5(0x1fe)]??0x0),_0xb75581=_0x1ae8dc[_0x2feea5(0x378)]??0x0,_0x1075b9=_0x1ae8dc[_0x2feea5(0x1d8)]??0x0,_0x3d0b3f=_0xb75581+(_0x1ae8dc['width']??0x0),_0x4b0575=_0x1075b9+(_0x1ae8dc[_0x2feea5(0x1fe)]??0x0),_0x5231aa=Math[_0x2feea5(0x339)](_0xb75581-_0x4cdfe7,_0x1c7371-_0x3d0b3f,0x0),_0x2e8b4=Math[_0x2feea5(0x339)](_0x1075b9-_0x2c55eb,_0x154958-_0x4b0575,0x0);return Math[_0x2feea5(0x2dc)](_0x5231aa,_0x2e8b4);}function yn(_0x599bfa,_0x2a2d9f,_0x4834e4){const _0x5c371b=_0x92f39f;var _0x52859c;let _0x592321=_0x5213e3((_0x52859c=_0x599bfa[_0x2a2d9f])==null?void 0x0:_0x52859c[_0x5c371b(0x465)]);for(;_0x592321!=null&&_0x592321[_0x5c371b(0x19e)];){var _0x233821;if(_0x592321['parentNodeId']===_0x4834e4)return!0x0;_0x592321=_0x5213e3((_0x233821=_0x599bfa[_0x592321[_0x5c371b(0x19e)]])==null?void 0x0:_0x233821['element']);}return!0x1;}function bn(_0x4646af,_0x27ca96,_0x10e8ae){const _0x4fa61f=_0x92f39f;let _0x32709f=hn(_0x4646af,_0x10e8ae),_0x4a19ab=_0x32709f[_0x4fa61f(0x1d8)]??0x0,_0x3d28ed=_0x32709f[_0x4fa61f(0x1fe)]??0x0;return _0x3d28ed<=0x0?null:_0x27ca96['y']<=_0x4a19ab+_0x3d28ed/0x3?_0x4fa61f(0x322):_0x27ca96['y']>=_0x4a19ab+_0x3d28ed*0x2/0x3?'after':null;}function xn(_0x1647ae,_0x54b2de){const _0x2a41fa=_0x92f39f;let _0x34e72b=_0x54b2de==null?void 0x0:_0x54b2de[_0x1647ae];return Number[_0x2a41fa(0x263)](_0x34e72b==null?void 0x0:_0x34e72b[_0x2a41fa(0x378)])&&Number[_0x2a41fa(0x263)](_0x34e72b==null?void 0x0:_0x34e72b[_0x2a41fa(0x1d8)])?{'kind':'detach','left':_0x34e72b[_0x2a41fa(0x378)],'top':_0x34e72b[_0x2a41fa(0x1d8)]}:{'kind':_0x2a41fa(0x2a6)};}function Sn(_0xcc5661,_0x3a81b1,_0x1c61ff){const _0x540b9a=_0x92f39f;let _0x12261e=_0xcc5661[_0x3a81b1],_0x13210f=_0x5213e3(_0x12261e==null?void 0x0:_0x12261e[_0x540b9a(0x465)]);if(!_0x12261e||!_0x13210f||!_0x13210f['parentNodeId']&&!(_0x1c61ff!=null&&_0x1c61ff['allowRootReparent']))return{'kind':_0x540b9a(0x194)};let _0x343a53=_0x1c61ff==null?void 0x0:_0x1c61ff[_0x540b9a(0x3a8)],_0x440f7e=hn(_0x12261e,_0x343a53),_0x3a125e=gn(_0x12261e,_0x343a53),_0x52a81a=Object[_0x540b9a(0x1f3)](_0xcc5661)[_0x540b9a(0x427)](_0x164564=>{const _0x5673fc=_0x540b9a;let _0x466f88=_0x5213e3(_0x164564['element']);return!_0x466f88||_0x164564['elementId']===_0x3a81b1||_0x164564[_0x5673fc(0x2d3)]===_0x13210f[_0x5673fc(0x19e)]||_0x1c61ff!=null&&_0x1c61ff[_0x5673fc(0x2d8)]&&!_0x13210f['parentNodeId']&&_0x466f88[_0x5673fc(0x3b4)]===_0x13210f['structureScopeId']||yn(_0xcc5661,_0x164564[_0x5673fc(0x2d3)],_0x3a81b1)?null:{'item':_0x164564,'snapDistance':vn(_0x440f7e,hn(_0x164564,_0x343a53)),'center':gn(_0x164564,_0x343a53)};})[_0x540b9a(0x277)](_0x8b66e2=>!!_0x8b66e2)[_0x540b9a(0x1c7)]((_0x21c87a,_0x483e77)=>_0x21c87a[_0x540b9a(0x2d5)]-_0x483e77[_0x540b9a(0x2d5)]||_n(_0x3a125e,_0x21c87a[_0x540b9a(0x2a0)])-_n(_0x3a125e,_0x483e77['center']))[0x0];if(_0x52a81a&&_0x52a81a[_0x540b9a(0x2d5)]<=0x64){let _0xde6b5a=_0x5213e3(_0x52a81a[_0x540b9a(0x429)]['element']),_0x2b25ec=_0xde6b5a!=null&&_0xde6b5a[_0x540b9a(0x19e)]?bn(_0x52a81a[_0x540b9a(0x429)],_0x3a125e,_0x343a53):null;return _0xde6b5a!=null&&_0xde6b5a[_0x540b9a(0x19e)]&&_0x2b25ec?{'kind':_0x540b9a(0x3f8),'newParentNodeId':_0xde6b5a[_0x540b9a(0x19e)],'side':_0xde6b5a[_0x540b9a(0x44d)]??_0x540b9a(0x2c4),'referenceNodeId':_0x52a81a[_0x540b9a(0x429)][_0x540b9a(0x2d3)],'placement':_0x2b25ec}:{'kind':_0x540b9a(0x3f8),'newParentNodeId':_0x52a81a['item'][_0x540b9a(0x2d3)],'side':_0x3a125e['x']<_0x52a81a[_0x540b9a(0x2a0)]['x']?_0x540b9a(0x378):_0x540b9a(0x2c4)};}if(_0x1c61ff!=null&&_0x1c61ff[_0x540b9a(0x206)])return xn(_0x3a81b1,_0x343a53);if(!_0x13210f[_0x540b9a(0x19e)])return{'kind':_0x540b9a(0x194)};let _0xa948a2=_0xcc5661[_0x13210f[_0x540b9a(0x19e)]];return _0xa948a2&&_n(_0x3a125e,gn(_0xa948a2,_0x343a53))>0x230?xn(_0x3a81b1,_0x343a53):{'kind':_0x540b9a(0x194)};}function Cn(_0x19057a,_0x1e4fee){const _0x2acbe7=_0x92f39f;var _0x5f3dc5,_0x45665f;return _0x19057a[_0x2acbe7(0x2d3)]===_0x1e4fee||((_0x5f3dc5=_0x5213e3(_0x19057a['element']))==null?void 0x0:_0x5f3dc5['structureScopeId'])===_0x1e4fee||((_0x45665f=_0x4073ed(_0x19057a['element']))==null?void 0x0:_0x45665f[_0x2acbe7(0x3b4)])===_0x1e4fee;}function wn(_0x2e28ad,_0x2a39ae,_0x47d4f0,_0x5c623b){const _0x394e9d=_0x92f39f;let _0x405089=_0x2e28ad[_0x2a39ae];if(!_0x405089)return _0x2e28ad;let _0x2dc326=_0x405089['transform']??_0x405089['element'][_0x394e9d(0x242)]??{};return{..._0x2e28ad,[_0x2a39ae]:{..._0x405089,'transform':{..._0x2dc326,'left':(_0x2dc326[_0x394e9d(0x378)]??0x0)+_0x47d4f0,'top':(_0x2dc326[_0x394e9d(0x1d8)]??0x0)+_0x5c623b},'element':{..._0x405089['element'],'transform':{..._0x405089[_0x394e9d(0x465)][_0x394e9d(0x242)],'left':(_0x405089['element'][_0x394e9d(0x242)][_0x394e9d(0x378)]??0x0)+_0x47d4f0,'top':(_0x405089[_0x394e9d(0x465)][_0x394e9d(0x242)][_0x394e9d(0x1d8)]??0x0)+_0x5c623b}}}};}function Tn(_0x31593c){const _0x5854e9=_0x92f39f;if(!Number[_0x5854e9(0x263)](_0x31593c[_0x5854e9(0x2f2)][_0x5854e9(0x378)])||!Number['isFinite'](_0x31593c['liveRootBounds'][_0x5854e9(0x1d8)])||!Number['isFinite'](_0x31593c[_0x5854e9(0x40c)][_0x5854e9(0x378)])||!Number[_0x5854e9(0x263)](_0x31593c['rootStartBounds'][_0x5854e9(0x1d8)]))return null;let _0x15f930=_0x31593c['liveRootBounds'][_0x5854e9(0x378)]-_0x31593c[_0x5854e9(0x40c)]['left'],_0x1e6fcb=_0x31593c['liveRootBounds'][_0x5854e9(0x1d8)]-_0x31593c[_0x5854e9(0x40c)][_0x5854e9(0x1d8)],_0x4a649=wn(_0x31593c[_0x5854e9(0x2d6)],_0x31593c[_0x5854e9(0x3d0)],_0x15f930,_0x1e6fcb),_0x4a085e=[];return Object[_0x5854e9(0x1f3)](_0x4a649)[_0x5854e9(0x2cc)](_0x106a77=>{const _0x15af08=_0x5854e9;if(_0x106a77[_0x15af08(0x2d3)]===_0x31593c[_0x15af08(0x406)]||_0x106a77[_0x15af08(0x2d3)]===_0x31593c[_0x15af08(0x3d0)]||!Cn(_0x106a77,_0x31593c[_0x15af08(0x3d0)]))return;if(_0x15af08(0x354)in _0x106a77[_0x15af08(0x465)]){var _0x12c069;let _0x2eecc3=(_0x12c069=_0x31593c['elementData'][_0x106a77['elementId']])==null?void 0x0:_0x12c069[_0x15af08(0x465)];_0x2eecc3&&_0x15af08(0x354)in _0x2eecc3&&_0x4a085e[_0x15af08(0x1ee)]({'kind':'connector','elementId':_0x106a77['elementId'],'element':_0x320b9d(_0x2eecc3,{'x':_0x15f930,'y':_0x1e6fcb})});return;}let _0x4f9005=_0x51a7dc(_0x4a649,_0x106a77[_0x15af08(0x2d3)]);_0x4f9005&&_0x4a085e[_0x15af08(0x1ee)]({'kind':'bounds','elementId':_0x106a77[_0x15af08(0x2d3)],'bounds':_0x4f9005});}),{'deltaX':_0x15f930,'deltaY':_0x1e6fcb,'elementData':_0x4a649,'items':_0x4a085e};}let En=class extends _0xb1406a{constructor(_0x534930,_0x20c847,_0x331416,_0x4beba0,_0x2e5f61,_0x39c04d,_0x4fce92){const _0x2cfc44=_0x92f39f;super(),this[_0x2cfc44(0x45a)]=_0x534930,this[_0x2cfc44(0x21c)]=_0x20c847,this[_0x2cfc44(0x15c)]=_0x331416,this[_0x2cfc44(0x282)]=_0x4beba0,this[_0x2cfc44(0x3fd)]=_0x2e5f61,this[_0x2cfc44(0x320)]=_0x39c04d,this['_undoRedoGroupService']=_0x4fce92,K(this,_0x2cfc44(0x1a8),null),K(this,_0x2cfc44(0x46e),null),K(this,_0x2cfc44(0x31d),null),K(this,_0x2cfc44(0x193),!0x1),K(this,_0x2cfc44(0x3c1),null),K(this,_0x2cfc44(0x387),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0x2cfc44(0x200),null),K(this,_0x2cfc44(0x19b),!0x1),this[_0x2cfc44(0x270)]();}[_0x92f39f(0x270)](){const _0x1509f6=_0x92f39f;var _0x417057,_0x13a776,_0x54ba26,_0x38f317,_0x3873f0;let _0xf468e0=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x287)]();this[_0x1509f6(0x307)](_0x594a26(_0xf468e0[_0x1509f6(0x1cc)][_0x1509f6(0x312)](_0x3568ee(this[_0x1509f6(0x203)]))[_0x1509f6(0x457)](()=>{const _0x35f99e=_0x1509f6;this[_0x35f99e(0x1a3)]();}))),this[_0x1509f6(0x307)](_0x594a26(((_0x417057=_0xf468e0[_0x1509f6(0x160)])==null?void 0x0:_0x417057['pipe'](_0x3568ee(this[_0x1509f6(0x203)]))['subscribe'](_0xe2540=>{const _0x316112=_0x1509f6;this[_0x316112(0x15e)](_0xe2540==null?void 0x0:_0xe2540['objects']);}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(_0xf468e0[_0x1509f6(0x399)]['pipe'](_0x3568ee(this[_0x1509f6(0x203)]))[_0x1509f6(0x457)](_0x265bea=>{const _0x3d5d4d=_0x1509f6;setTimeout(()=>this[_0x3d5d4d(0x19f)](_0x265bea==null?void 0x0:_0x265bea['objects']),0x0);}))),this[_0x1509f6(0x307)](_0x594a26(((_0x13a776=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)]['onPointerDown$'])==null?void 0x0:_0x13a776[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x6d4b6d])=>this[_0x1509f6(0x297)](_0x6d4b6d)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x54ba26=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x1ad)])==null?void 0x0:_0x54ba26[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x16995c,_0x2cbb4b])=>this[_0x1509f6(0x3db)](_0x16995c,_0x2cbb4b)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x38f317=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x420)])==null?void 0x0:_0x38f317[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x47b177,_0x30a1e9])=>this[_0x1509f6(0x314)](_0x47b177,_0x30a1e9)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x3873f0=this[_0x1509f6(0x45a)]['scene']['onPointerCancel$'])==null?void 0x0:_0x3873f0[_0x1509f6(0x1ae)]({'priority':0x3,'next':([,_0x37ca6b])=>this['_cancelPointerChildDrag'](_0x37ca6b)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(()=>{const _0x6075a5=_0x1509f6;var _0x480ccb;return(_0x480ccb=this[_0x6075a5(0x387)])==null?void 0x0:_0x480ccb[_0x6075a5(0x340)]();})),this[_0x1509f6(0x307)](_0x594a26(()=>this[_0x1509f6(0x229)]())),this[_0x1509f6(0x3da)](),this[_0x1509f6(0x2b2)](),this['disposeWithMe'](_0x594a26(()=>this[_0x1509f6(0x1a9)]()));}[_0x92f39f(0x3da)](){const _0x1eb835=_0x92f39f;[this[_0x1eb835(0x21c)][_0x1eb835(0x264)],this[_0x1eb835(0x21c)][_0x1eb835(0x2a2)],this[_0x1eb835(0x21c)][_0x1eb835(0x372)]][_0x1eb835(0x2cc)](_0x3ac3cc=>{const _0x5b6dfb=_0x1eb835;this[_0x5b6dfb(0x307)](_0x594a26(_0x3ac3cc['pipe'](_0x3568ee(this[_0x5b6dfb(0x203)]))[_0x5b6dfb(0x457)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}),this[_0x1eb835(0x15c)][_0x1eb835(0x421)]&&this[_0x1eb835(0x307)](_0x594a26(this['_elementStateService'][_0x1eb835(0x421)]['pipe'](_0x3568ee(this[_0x1eb835(0x203)]))[_0x1eb835(0x457)](()=>{const _0x3a83a0=_0x1eb835;this[_0x3a83a0(0x2b2)]();})));}[_0x92f39f(0x2b2)](){const _0x344fc1=_0x92f39f;this['_attachObjectPointerScheduled']||(this[_0x344fc1(0x1c9)]=!0x0,Promise['resolve']()['then'](()=>this[_0x344fc1(0x251)]()));}[_0x92f39f(0x251)](){const _0x46da05=_0x92f39f;var _0x48791f;this[_0x46da05(0x1c9)]=!0x1;let _0xeecb1b=this[_0x46da05(0x39a)](),_0x526f28=this[_0x46da05(0x45a)][_0x46da05(0x1ea)];if(!_0xeecb1b||typeof _0x526f28[_0x46da05(0x400)]!=_0x46da05(0x1a5))return;let _0x3acf52=this[_0x46da05(0x21c)][_0x46da05(0x2bd)](_0xeecb1b['unitId'],_0xeecb1b[_0x46da05(0x1fa)]),_0x2770bd=new _0x54845b();(_0x48791f=this['_objectPointerDisposables'])==null||_0x48791f[_0x46da05(0x340)](),this[_0x46da05(0x387)]=_0x2770bd,Object['values'](_0x3acf52)[_0x46da05(0x2cc)](_0x4e529f=>{const _0x22bb6e=_0x46da05;var _0x514dd4,_0x2eaf2d;let _0x58b7cc=_0x5213e3(_0x4e529f[_0x22bb6e(0x465)]);if(!(_0x58b7cc!=null&&_0x58b7cc['parentNodeId']))return;let _0x358c51=_0x51bae1(_0xeecb1b[_0x22bb6e(0x237)],_0x4e529f[_0x22bb6e(0x2d3)]),_0x129701=((_0x514dd4=_0x526f28['getObjectIncludeInGroup'])==null?void 0x0:_0x514dd4[_0x22bb6e(0x3ec)](_0x526f28,_0x358c51))??((_0x2eaf2d=_0x526f28[_0x22bb6e(0x400)])==null?void 0x0:_0x2eaf2d[_0x22bb6e(0x3ec)](_0x526f28,_0x358c51));_0x129701!=null&&_0x129701[_0x22bb6e(0x343)]&&_0x2770bd[_0x22bb6e(0x227)](_0x129701['onPointerDown$'][_0x22bb6e(0x1ae)]({'priority':-0xa,'next':([_0x445420,_0x4bbef1])=>this[_0x22bb6e(0x297)](_0x445420,{'unitId':_0xeecb1b[_0x22bb6e(0x237)],'subUnitId':_0xeecb1b['subUnitId'],'nodeId':_0x4e529f[_0x22bb6e(0x2d3)]},_0x4bbef1)}));});}[_0x92f39f(0x39a)](){const _0x331abd=_0x92f39f;let _0x21eaaf=this[_0x331abd(0x15c)][_0x331abd(0x2c6)]()[_0x331abd(0x32a)];if(_0x21eaaf)return _0x21eaaf;let _0xe67307=this[_0x331abd(0x45a)][_0x331abd(0x237)],_0x110852=_0xe67307?this[_0x331abd(0x320)]['getUnit'](_0xe67307,_0x597c76[_0x331abd(0x1e4)]):null,_0x507cbe=_0x110852==null?void 0x0:_0x110852['getActivePageId']();return!_0x110852||!_0x507cbe?null:{'unitId':_0x110852[_0x331abd(0x300)](),'subUnitId':_0x507cbe};}[_0x92f39f(0x1a3)](){const _0x15a846=_0x92f39f;let _0x3405a9=this[_0x15a846(0x15c)][_0x15a846(0x2c6)]();this[_0x15a846(0x193)]=!0x1,this[_0x15a846(0x19b)]=!0x1,this[_0x15a846(0x3c1)]=null;let _0xb0e686=_0x3405a9[_0x15a846(0x32a)],_0x112e9a=_0x3405a9['focusedId']??_0x3405a9[_0x15a846(0x351)][0x0];if(!_0xb0e686||!_0x112e9a){this[_0x15a846(0x1a8)]=null,this[_0x15a846(0x1a9)]();return;}let _0x2cbe8e=this[_0x15a846(0x21c)][_0x15a846(0x2bd)](_0xb0e686['unitId'],_0xb0e686[_0x15a846(0x1fa)]);if(_0x3405a9['selectedIds']['length']>0x1){let _0xccdab3=this[_0x15a846(0x3a5)](_0x2cbe8e,_0x3405a9['selectedIds']);if(!_0xccdab3){this['_dragStart']=null,this[_0x15a846(0x1a9)]();return;}let _0x2d279b=_0x2cbe8e[_0xccdab3['rootNodeId']],_0x2c33e8=_0x51a7dc(_0x2cbe8e,_0xccdab3[_0x15a846(0x406)]),_0x32518c=_0x2d279b[_0x15a846(0x465)][_0x15a846(0x242)];this[_0x15a846(0x1a8)]={'kind':'scope','unitId':_0xb0e686['unitId'],'subUnitId':_0xb0e686[_0x15a846(0x1fa)],'nodeId':_0xccdab3[_0x15a846(0x406)],'scopeId':_0xccdab3[_0x15a846(0x3d0)],'left':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x378)])??_0x32518c[_0x15a846(0x378)]??0x0,'top':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x1d8)])??_0x32518c[_0x15a846(0x1d8)]??0x0,'width':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x389)])??_0x32518c[_0x15a846(0x389)]??0x0,'height':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x1fe)])??_0x32518c['height']??0x0,'elementData':_0x2cbe8e};return;}let _0x3d2515=_0x2cbe8e[_0x112e9a],_0x120759=_0x5213e3(_0x3d2515==null?void 0x0:_0x3d2515[_0x15a846(0x465)]);if(!_0x3d2515||!_0x120759){this[_0x15a846(0x1a8)]=null,this[_0x15a846(0x1a9)]();return;}let _0x109485=_0x51a7dc(_0x2cbe8e,_0x112e9a),_0x47602d=_0x3d2515[_0x15a846(0x465)][_0x15a846(0x242)];this[_0x15a846(0x1a8)]={'kind':_0x120759['parentNodeId']===null?'root':'child','unitId':_0xb0e686['unitId'],'subUnitId':_0xb0e686['subUnitId'],'nodeId':_0x112e9a,'scopeId':_0x120759[_0x15a846(0x3b4)],'left':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x378)])??_0x47602d['left']??0x0,'top':(_0x109485==null?void 0x0:_0x109485['top'])??_0x47602d[_0x15a846(0x1d8)]??0x0,'width':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x389)])??_0x47602d[_0x15a846(0x389)]??0x0,'height':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x1fe)])??_0x47602d[_0x15a846(0x1fe)]??0x0,'elementData':_0x2cbe8e};}['_resolveCompleteSelectedScope'](_0x21707e,_0x1124f0){const _0x385005=_0x92f39f;let _0x54a5de=new Set(_0x1124f0),_0x550561=_0x1124f0['map'](_0x1283f5=>{const _0x2e8e1f=_0x25f1;var _0x20943c,_0x39c82e,_0x2f85af,_0xd797a9;let _0x42480d=(_0x20943c=_0x21707e[_0x1283f5])==null?void 0x0:_0x20943c[_0x2e8e1f(0x465)];return((_0x39c82e=_0x5213e3(_0x42480d))==null?void 0x0:_0x39c82e['structureScopeId'])??((_0x2f85af=_0x4073ed(_0x42480d))==null?void 0x0:_0x2f85af[_0x2e8e1f(0x3b4)])??((_0xd797a9=_0x25a48f(_0x42480d))==null?void 0x0:_0xd797a9['structureScopeId'])??null;});if(_0x550561['some'](_0x44ddf9=>_0x44ddf9===null)||new Set(_0x550561)['size']!==0x1)return null;let _0x503e49=_0x550561[0x0];if(!_0x503e49)return null;let _0x23c5fa=Object[_0x385005(0x1f3)](_0x21707e)[_0x385005(0x277)](_0x2f62c6=>{const _0x33db44=_0x385005;var _0x99f56c;return _0x2f62c6[_0x33db44(0x465)][_0x33db44(0x1d7)]!==!0x1&&((_0x99f56c=_0x5213e3(_0x2f62c6[_0x33db44(0x465)]))==null?void 0x0:_0x99f56c[_0x33db44(0x3b4)])===_0x503e49;});if(_0x23c5fa[_0x385005(0x33b)]===0x0||_0x23c5fa[_0x385005(0x28c)](_0x23bbff=>!_0x54a5de['has'](_0x23bbff[_0x385005(0x2d3)])))return null;let _0x150ac1=_0x23c5fa[_0x385005(0x277)](_0x54ea32=>{const _0x54bc56=_0x385005;var _0x371a29;return((_0x371a29=_0x5213e3(_0x54ea32[_0x54bc56(0x465)]))==null?void 0x0:_0x371a29[_0x54bc56(0x19e)])===null;});return _0x150ac1[_0x385005(0x33b)]===0x1?{'rootNodeId':_0x150ac1[0x0][_0x385005(0x2d3)],'scopeId':_0x503e49}:null;}[_0x92f39f(0x297)](_0x24e216,_0x4e08f8,_0x44cb76){const _0x196506=_0x92f39f;var _0x12b691,_0x139eeb,_0x9af653,_0x3e63d6,_0x2c9bb3;if(this['_uiStateService'][_0x196506(0x18a)]()[_0x196506(0x29c)]===_0x196506(0x41c)||(_0x24e216[_0x196506(0x438)]??0x0)!==0x0)return;let _0x159fda=this['_elementStateService'][_0x196506(0x2c6)]();if(_0x159fda[_0x196506(0x17f)]){this['_pointerDragStart']=null;return;}let _0x906b1b=_0x4e08f8?{'unitId':_0x4e08f8['unitId'],'subUnitId':_0x4e08f8[_0x196506(0x1fa)]}:_0x159fda[_0x196506(0x32a)]??this[_0x196506(0x39a)](),_0x31e4f8=(_0x4e08f8==null?void 0x0:_0x4e08f8[_0x196506(0x405)])??(_0x159fda[_0x196506(0x351)][_0x196506(0x33b)]===0x1?_0x159fda[_0x196506(0x25b)]??_0x159fda[_0x196506(0x351)][0x0]:void 0x0);if(!_0x906b1b){this[_0x196506(0x46e)]=null;return;}let _0x244cef=this[_0x196506(0x21c)][_0x196506(0x2bd)](_0x906b1b[_0x196506(0x237)],_0x906b1b['subUnitId']),_0xee7e2=this[_0x196506(0x433)](_0x24e216);if(!_0x4e08f8){let _0xdb4530=_0x31e4f8?_0x244cef[_0x31e4f8]:null,_0x161ffa=_0x5213e3(_0xdb4530==null?void 0x0:_0xdb4530[_0x196506(0x465)]),_0x508d97=_0x31e4f8?_0x51a7dc(_0x244cef,_0x31e4f8)??(_0xdb4530==null?void 0x0:_0xdb4530['element'][_0x196506(0x242)]):null;(!(_0x161ffa!=null&&_0x161ffa[_0x196506(0x19e)])||!_0x508d97||!this[_0x196506(0x431)](_0xee7e2,{'left':_0x508d97[_0x196506(0x378)]??0x0,'top':_0x508d97['top']??0x0,'width':_0x508d97[_0x196506(0x389)]??0x0,'height':_0x508d97[_0x196506(0x1fe)]??0x0}))&&(_0x31e4f8=this[_0x196506(0x441)](_0x244cef,_0xee7e2));}if(!_0x31e4f8){this['_pointerDragStart']=null;return;}let _0x25aa82=_0x244cef[_0x31e4f8],_0x3f68c9=_0x5213e3(_0x25aa82==null?void 0x0:_0x25aa82[_0x196506(0x465)]);if(!_0x25aa82||!(_0x3f68c9!=null&&_0x3f68c9['parentNodeId'])){this[_0x196506(0x46e)]=null;return;}this[_0x196506(0x320)][_0x196506(0x3c3)](_0x906b1b['unitId']),(_0x12b691=this[_0x196506(0x45a)][_0x196506(0x377)])==null||(_0x139eeb=_0x12b691[_0x196506(0x240)])==null||(_0x139eeb=_0x139eeb['call'](_0x12b691))==null||(_0x9af653=_0x139eeb[_0x196506(0x22b)])==null||_0x9af653[_0x196506(0x3ec)](_0x139eeb,{'preventScroll':!0x0}),(_0x3e63d6=(_0x2c9bb3=this[_0x196506(0x15c)])[_0x196506(0x2ff)])==null||_0x3e63d6[_0x196506(0x3ec)](_0x2c9bb3,_0x906b1b,[_0x31e4f8],_0x31e4f8),_0x44cb76==null||_0x44cb76['stopPropagation']();let _0x4f0990=_0x51a7dc(_0x244cef,_0x31e4f8),_0x4ffbb0=_0x25aa82['element']['transform'],_0x5b308b={'left':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x378)])??_0x4ffbb0['left']??0x0,'top':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x1d8)])??_0x4ffbb0[_0x196506(0x1d8)]??0x0,'width':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x389)])??_0x4ffbb0[_0x196506(0x389)]??0x0,'height':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x1fe)])??_0x4ffbb0[_0x196506(0x1fe)]??0x0};if(!_0x4e08f8&&!this['_isPointInBounds'](_0xee7e2,_0x5b308b)){this[_0x196506(0x46e)]=null;return;}let _0x19e182=this[_0x196506(0x450)](_0x24e216);this[_0x196506(0x193)]=!0x1,this[_0x196506(0x19b)]=!0x1,this[_0x196506(0x3c1)]=null,this[_0x196506(0x46e)]={'kind':_0x196506(0x3e9),'unitId':_0x906b1b[_0x196506(0x237)],'subUnitId':_0x906b1b['subUnitId'],'nodeId':_0x31e4f8,'scopeId':_0x3f68c9[_0x196506(0x3b4)],..._0x5b308b,'pointerStartX':_0x19e182['x'],'pointerStartY':_0x19e182['y'],'elementData':_0x244cef},this['_attachActivePointerDragListeners'](),this[_0x196506(0x2e3)](_0x24e216,_0x44cb76);}[_0x92f39f(0x3db)](_0x2bfbee,_0x2c58ba){const _0x402dd0=_0x92f39f;var _0x1514e2,_0x5e16b6;let _0x30464a=this[_0x402dd0(0x46e)];if(!_0x30464a||_0x2bfbee['buttons']!==void 0x0&&_0x2bfbee[_0x402dd0(0x278)]!==0x1)return;let _0x1ccc1c=this[_0x402dd0(0x1af)](_0x2bfbee,_0x30464a);if(!this['_isChildDragPastActivationThreshold'](_0x30464a,_0x1ccc1c))return;this[_0x402dd0(0x193)]||this[_0x402dd0(0x32d)](),this[_0x402dd0(0x193)]=!0x0;let _0x499579=this[_0x402dd0(0x3a2)](_0x30464a[_0x402dd0(0x2d6)],_0x30464a[_0x402dd0(0x405)],_0x1ccc1c),_0x54453a=Sn(_0x30464a[_0x402dd0(0x2d6)],_0x30464a['nodeId'],{'boundsByElementId':_0x499579,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x54453a,this[_0x402dd0(0x180)](_0x1ccc1c,_0x54453a,_0x499579),this[_0x402dd0(0x2e3)](_0x2bfbee,_0x2c58ba),this[_0x402dd0(0x45a)][_0x402dd0(0x1ea)][_0x402dd0(0x3dc)](!0x0),(_0x1514e2=(_0x5e16b6=this[_0x402dd0(0x45a)][_0x402dd0(0x1ea)])[_0x402dd0(0x3f9)])==null||_0x1514e2[_0x402dd0(0x3ec)](_0x5e16b6);}[_0x92f39f(0x314)](_0x30a896,_0x4ef22a){const _0x3d1b2a=_0x92f39f;let _0x3202ea=this[_0x3d1b2a(0x46e)];if(!_0x3202ea)return;if(this[_0x3d1b2a(0x46e)]=null,this[_0x3d1b2a(0x229)](),this['_removeDragPreviewObject'](),!this[_0x3d1b2a(0x193)]){this[_0x3d1b2a(0x3c1)]=null;return;}let _0xa23b12=this[_0x3d1b2a(0x21c)][_0x3d1b2a(0x2bd)](_0x3202ea['unitId'],_0x3202ea[_0x3d1b2a(0x1fa)]),_0x4c0fe2=this['_getPointerLiveBounds'](_0x30a896,_0x3202ea),_0x568131=this[_0x3d1b2a(0x3a2)](_0xa23b12,_0x3202ea[_0x3d1b2a(0x405)],_0x4c0fe2),_0x1106e7=Sn(_0xa23b12,_0x3202ea['nodeId'],{'boundsByElementId':_0x568131,'detachWhenNoSnap':!0x0});this[_0x3d1b2a(0x3c1)]=null,this[_0x3d1b2a(0x26a)](_0x3202ea[_0x3d1b2a(0x237)],_0x3202ea[_0x3d1b2a(0x1fa)],_0x3202ea[_0x3d1b2a(0x405)],_0xa23b12,_0x1106e7),this[_0x3d1b2a(0x19b)]=!0x1,this['_consumePointerEvent'](_0x30a896,_0x4ef22a);}[_0x92f39f(0x1dc)](_0x5484fa){const _0xb0c1c4=_0x92f39f;let _0x52339b=this[_0xb0c1c4(0x46e)];if(_0x52339b){if(this[_0xb0c1c4(0x46e)]=null,this['_disposeActivePointerDragListeners'](),this[_0xb0c1c4(0x193)]=!0x1,this[_0xb0c1c4(0x3c1)]=null,this[_0xb0c1c4(0x1a9)](),this[_0xb0c1c4(0x19b)]){var _0x5f0696,_0x316500;(_0x5f0696=(_0x316500=this['_elementStateService'])[_0xb0c1c4(0x2ff)])==null||_0x5f0696['call'](_0x316500,{'unitId':_0x52339b['unitId'],'subUnitId':_0x52339b['subUnitId']},[_0x52339b['nodeId']],_0x52339b[_0xb0c1c4(0x405)]),this[_0xb0c1c4(0x19b)]=!0x1;}_0x5484fa==null||_0x5484fa[_0xb0c1c4(0x30f)]();}}[_0x92f39f(0x3a1)](){const _0x17718c=_0x92f39f;this['_disposeActivePointerDragListeners']();let _0x315f84=typeof window>'u'?null:window;if(!(_0x315f84!=null&&_0x315f84['addEventListener']))return;let _0x1fe1ca=new _0x54845b(),_0x1b765d=_0x26632d=>this['_syncPointerChildDragPreview'](_0x26632d),_0x456ae2=_0x140353=>this[_0x17718c(0x314)](_0x140353),_0x42c24c=()=>this['_cancelPointerChildDrag']();_0x315f84[_0x17718c(0x3af)](_0x17718c(0x260),_0x1b765d,{'capture':!0x0}),_0x315f84['addEventListener'](_0x17718c(0x1b6),_0x456ae2,{'capture':!0x0}),_0x315f84[_0x17718c(0x3af)](_0x17718c(0x44e),_0x42c24c,{'capture':!0x0}),_0x1fe1ca[_0x17718c(0x227)](_0x594a26(()=>{const _0x3bd9ca=_0x17718c;_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x260),_0x1b765d,{'capture':!0x0}),_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x1b6),_0x456ae2,{'capture':!0x0}),_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x44e),_0x42c24c,{'capture':!0x0});})),this[_0x17718c(0x200)]=_0x1fe1ca;}[_0x92f39f(0x441)](_0x1c490d,_0x24db5e){const _0x38a0bb=_0x92f39f;let _0x16caf1=Object[_0x38a0bb(0x1f3)](_0x1c490d);for(let _0x587713=_0x16caf1[_0x38a0bb(0x33b)]-0x1;_0x587713>=0x0;--_0x587713){let _0x17940a=_0x16caf1[_0x587713],_0x508d19=_0x5213e3(_0x17940a['element']);if(!(_0x508d19!=null&&_0x508d19['parentNodeId']))continue;let _0x9ea9f3=_0x51a7dc(_0x1c490d,_0x17940a['elementId'])??_0x17940a[_0x38a0bb(0x465)][_0x38a0bb(0x242)];if(this[_0x38a0bb(0x431)](_0x24db5e,{'left':_0x9ea9f3[_0x38a0bb(0x378)]??0x0,'top':_0x9ea9f3['top']??0x0,'width':_0x9ea9f3[_0x38a0bb(0x389)]??0x0,'height':_0x9ea9f3[_0x38a0bb(0x1fe)]??0x0}))return _0x17940a[_0x38a0bb(0x2d3)];}}[_0x92f39f(0x229)](){const _0x3178ef=_0x92f39f;var _0x54cccb;(_0x54cccb=this['_activePointerDragDisposables'])==null||_0x54cccb['dispose'](),this[_0x3178ef(0x200)]=null;}['_syncDragPreview'](_0xcec347){const _0x227651=_0x92f39f;let _0x4669a7=this[_0x227651(0x1a8)];if(_0x4669a7){if((_0x4669a7['kind']===_0x227651(0x36f)||_0x4669a7[_0x227651(0x45c)]==='scope')&&this[_0x227651(0x1d1)](_0xcec347),_0x4669a7[_0x227651(0x45c)]===_0x227651(0x36f)){this[_0x227651(0x22a)](_0xcec347);return;}this['_syncChildDragPreview'](_0xcec347);}}[_0x92f39f(0x1d1)](_0x2b0680){const _0x3854e8=_0x92f39f;let _0x5aba51=this[_0x3854e8(0x1a8)];if(!_0x5aba51||_0x5aba51[_0x3854e8(0x45c)]!=='root'&&_0x5aba51[_0x3854e8(0x45c)]!==_0x3854e8(0x460))return;let _0x4110c1=_0x2b0680==null?void 0x0:_0x2b0680[_0x3854e8(0x2ba)](_0x51bae1(_0x5aba51['unitId'],_0x5aba51[_0x3854e8(0x405)]));if(!_0x4110c1||!Number['isFinite'](_0x4110c1[_0x3854e8(0x378)])||!Number[_0x3854e8(0x263)](_0x4110c1['top']))return;let _0x40bbeb=Tn({'elementData':_0x5aba51[_0x3854e8(0x2d6)],'rootNodeId':_0x5aba51[_0x3854e8(0x405)],'scopeId':_0x5aba51['scopeId'],'rootStartBounds':{'left':_0x5aba51['left'],'top':_0x5aba51['top']},'liveRootBounds':{'left':_0x4110c1[_0x3854e8(0x378)],'top':_0x4110c1['top']}});if(!_0x40bbeb)return;let _0x374002=this[_0x3854e8(0x45a)][_0x3854e8(0x1ea)],_0x57cc1e=_0x374002,_0x5c39a2=!0x1;_0x40bbeb['items']['forEach'](_0x27af8c=>{const _0x567677=_0x3854e8;var _0x4320f4;let _0x1bbda6=_0x51bae1(_0x5aba51[_0x567677(0x237)],_0x27af8c[_0x567677(0x2d3)]),_0x40d618=((_0x4320f4=_0x57cc1e['getObjectIncludeInGroup'])==null?void 0x0:_0x4320f4[_0x567677(0x3ec)](_0x57cc1e,_0x1bbda6))??_0x374002['getObject'](_0x1bbda6);if(_0x40d618){if(_0x27af8c['kind']===_0x567677(0x1c1)&&typeof _0x40d618[_0x567677(0x32e)]==_0x567677(0x1a5)){_0x40d618[_0x567677(0x32e)](_0x27af8c[_0x567677(0x465)],_0x40bbeb[_0x567677(0x2d6)]),_0x5c39a2=!0x0;return;}_0x27af8c[_0x567677(0x45c)]===_0x567677(0x1ef)&&(_0x40d618[_0x567677(0x412)](_0x27af8c[_0x567677(0x1ef)]),typeof _0x40d618[_0x567677(0x21d)]==_0x567677(0x1a5)?_0x40d618[_0x567677(0x21d)](!0x0):_0x40d618[_0x567677(0x3dc)](!0x0),_0x5c39a2=!0x0);}}),_0x5c39a2&&_0x374002['makeDirty'](!0x0);}[_0x92f39f(0x22a)](_0x46c268){const _0x39702e=_0x92f39f;var _0x5a5095,_0x49e18f;let _0x9fbc00=this['_dragStart'];if(!_0x9fbc00||_0x9fbc00[_0x39702e(0x45c)]!==_0x39702e(0x36f))return;let _0xc39e4d=_0x46c268==null?void 0x0:_0x46c268[_0x39702e(0x2ba)](_0x51bae1(_0x9fbc00['unitId'],_0x9fbc00[_0x39702e(0x405)]));if(!_0xc39e4d||!Number[_0x39702e(0x263)](_0xc39e4d[_0x39702e(0x378)])||!Number['isFinite'](_0xc39e4d[_0x39702e(0x1d8)])){this[_0x39702e(0x1a9)]();return;}let _0x4625fa=this[_0x39702e(0x2ac)](_0xc39e4d,_0x9fbc00),_0x2fd898=this[_0x39702e(0x3a2)](_0x9fbc00[_0x39702e(0x2d6)],_0x9fbc00['nodeId'],_0x4625fa),_0x5e7983=Sn(_0x9fbc00['elementData'],_0x9fbc00[_0x39702e(0x405)],{'boundsByElementId':_0x2fd898,'allowRootReparent':!0x0});if(_0x5e7983[_0x39702e(0x45c)]!==_0x39702e(0x3f8)){this[_0x39702e(0x1a9)]();return;}let _0x595e5f=this[_0x39702e(0x269)]();_0x595e5f&&(_0x595e5f[_0x39702e(0x40b)]({'ghostBounds':_0x4625fa,'sourceBounds':null,'parentBounds':_0x2fd898[_0x5e7983['newParentNodeId']],'side':_0x5e7983[_0x39702e(0x44d)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x39702e(0x45a)]['scene'][_0x39702e(0x3dc)](!0x0),(_0x5a5095=(_0x49e18f=this[_0x39702e(0x45a)]['scene'])[_0x39702e(0x3f9)])==null||_0x5a5095['call'](_0x49e18f));}[_0x92f39f(0x35e)](_0x3e0ee6){const _0x22bee0=_0x92f39f;var _0x4a1b99,_0x48f9a6;let _0x3b1b6e=this[_0x22bee0(0x1a8)];if(!_0x3b1b6e||_0x3b1b6e[_0x22bee0(0x45c)]!==_0x22bee0(0x3e9))return;let _0x10703a=_0x3e0ee6==null?void 0x0:_0x3e0ee6[_0x22bee0(0x2ba)](_0x51bae1(_0x3b1b6e[_0x22bee0(0x237)],_0x3b1b6e['nodeId']));if(!_0x10703a){this['_removeDragPreviewObject']();return;}let _0x2d833e=this[_0x22bee0(0x2ac)](_0x10703a,_0x3b1b6e);if(!this[_0x22bee0(0x3f6)](_0x3b1b6e,_0x2d833e)){this[_0x22bee0(0x3c1)]=null,this[_0x22bee0(0x1a9)](),this[_0x22bee0(0x31f)](_0x10703a,_0x3b1b6e),this[_0x22bee0(0x45a)][_0x22bee0(0x1ea)]['makeDirty'](!0x0);return;}this['_childDragActivated']||this[_0x22bee0(0x32d)](),this[_0x22bee0(0x193)]=!0x0;let _0x5d04c8=this['_createTopologyBoundsByElementId'](_0x3b1b6e['elementData'],_0x3b1b6e[_0x22bee0(0x405)],_0x2d833e),_0x2e7407=Sn(_0x3b1b6e[_0x22bee0(0x2d6)],_0x3b1b6e['nodeId'],{'boundsByElementId':_0x5d04c8,'detachWhenNoSnap':!0x0});this[_0x22bee0(0x3c1)]=_0x2e7407,this[_0x22bee0(0x180)](_0x2d833e,_0x2e7407,_0x5d04c8),this[_0x22bee0(0x31f)](_0x10703a,_0x3b1b6e),this[_0x22bee0(0x45a)][_0x22bee0(0x1ea)]['makeDirty'](!0x0),(_0x4a1b99=(_0x48f9a6=this['_renderContext'][_0x22bee0(0x1ea)])['requestRender'])==null||_0x4a1b99['call'](_0x48f9a6);}[_0x92f39f(0x19f)](_0x2e3838){const _0xdfdbab=_0x92f39f;var _0x2b71fc;let _0x16f5fa=this['_elementStateService'][_0xdfdbab(0x2c6)](),_0xafe648=_0x16f5fa[_0xdfdbab(0x32a)],_0xc3a2b3=_0x16f5fa[_0xdfdbab(0x25b)]??_0x16f5fa[_0xdfdbab(0x351)][0x0];if(_0xafe648&&((_0x2b71fc=this[_0xdfdbab(0x1a8)])==null?void 0x0:_0x2b71fc[_0xdfdbab(0x45c)])===_0xdfdbab(0x460)){this['_removeDragPreviewObject'](),this[_0xdfdbab(0x43d)](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)],_0x2e3838);return;}if(!_0xafe648||!_0xc3a2b3||_0x16f5fa[_0xdfdbab(0x351)][_0xdfdbab(0x33b)]!==0x1){this[_0xdfdbab(0x1a9)](),this[_0xdfdbab(0x1a8)]=null;return;}this[_0xdfdbab(0x1a9)]();let _0x33ebc9=this[_0xdfdbab(0x21c)]['getElementData'](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)]);if(this[_0xdfdbab(0x217)](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0x2e3838))return;let _0xd1dc46=this[_0xdfdbab(0x3c2)](_0xafe648['unitId'],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0x2e3838);this[_0xdfdbab(0x26a)](_0xafe648['unitId'],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0xd1dc46);}[_0x92f39f(0x43d)](_0x15c41c,_0x148868,_0x396534){const _0x3e109c=_0x92f39f;let _0x25746c=this[_0x3e109c(0x1a8)];if(this['_dragStart']=null,!_0x25746c||_0x25746c[_0x3e109c(0x45c)]!=='scope'||_0x25746c[_0x3e109c(0x237)]!==_0x15c41c||_0x25746c[_0x3e109c(0x1fa)]!==_0x148868)return;let _0xa1ceec=_0x396534==null?void 0x0:_0x396534[_0x3e109c(0x2ba)](_0x51bae1(_0x15c41c,_0x25746c[_0x3e109c(0x405)])),_0x472fd6=_0xa1ceec&&Number['isFinite'](_0xa1ceec['left'])?_0xa1ceec[_0x3e109c(0x378)]??_0x25746c[_0x3e109c(0x378)]:_0x25746c['left'],_0x412f82=_0xa1ceec&&Number[_0x3e109c(0x263)](_0xa1ceec[_0x3e109c(0x1d8)])?_0xa1ceec['top']??_0x25746c[_0x3e109c(0x1d8)]:_0x25746c[_0x3e109c(0x1d8)],_0x510822=_0x472fd6-_0x25746c[_0x3e109c(0x378)],_0x4a1d86=_0x412f82-_0x25746c[_0x3e109c(0x1d8)];(_0x510822!==0x0||_0x4a1d86!==0x0)&&this[_0x3e109c(0x282)]['executeCommand'](_0x34ffa9['id'],{'unitId':_0x15c41c,'subUnitId':_0x148868,'scopeId':_0x25746c[_0x3e109c(0x3d0)],'deltaX':_0x510822,'deltaY':_0x4a1d86});}[_0x92f39f(0x26a)](_0x3dc576,_0x3af891,_0xf6fc9c,_0x52c243,_0x4c4800){const _0x31fab5=_0x92f39f;if(_0x4c4800[_0x31fab5(0x45c)]===_0x31fab5(0x3f8)){var _0x15da73,_0xd7ce6d;let _0x45cbd8=_0x5213e3((_0x15da73=_0x52c243[_0xf6fc9c])==null?void 0x0:_0x15da73[_0x31fab5(0x465)]),_0x65e175=_0x5213e3((_0xd7ce6d=_0x52c243[_0x4c4800[_0x31fab5(0x2fc)]])==null?void 0x0:_0xd7ce6d[_0x31fab5(0x465)]);this[_0x31fab5(0x25c)](_0x402e5b['id'],{'unitId':_0x3dc576,'subUnitId':_0x3af891,'nodeId':_0xf6fc9c,'newParentNodeId':_0x4c4800[_0x31fab5(0x2fc)],'side':_0x4c4800[_0x31fab5(0x44d)],..._0x4c4800[_0x31fab5(0x31c)]?{'referenceNodeId':_0x4c4800[_0x31fab5(0x31c)]}:null,..._0x4c4800[_0x31fab5(0x27d)]?{'placement':_0x4c4800[_0x31fab5(0x27d)]}:null},[_0x45cbd8==null?void 0x0:_0x45cbd8[_0x31fab5(0x3b4)],_0x65e175==null?void 0x0:_0x65e175[_0x31fab5(0x3b4)]],_0xf6fc9c);return;}if(_0x4c4800[_0x31fab5(0x45c)]===_0x31fab5(0x2a6)){var _0x3ec168;let _0x152631=_0x5213e3((_0x3ec168=_0x52c243[_0xf6fc9c])==null?void 0x0:_0x3ec168[_0x31fab5(0x465)]);this[_0x31fab5(0x25c)](_0x2b135b['id'],{'unitId':_0x3dc576,'subUnitId':_0x3af891,'nodeId':_0xf6fc9c,...Number['isFinite'](_0x4c4800[_0x31fab5(0x378)])?{'left':_0x4c4800[_0x31fab5(0x378)]}:null,...Number['isFinite'](_0x4c4800[_0x31fab5(0x1d8)])?{'top':_0x4c4800[_0x31fab5(0x1d8)]}:null},[_0x152631==null?void 0x0:_0x152631[_0x31fab5(0x3b4)]],_0xf6fc9c);}}[_0x92f39f(0x217)](_0x1335e0,_0x55acfe,_0x41316b,_0x55bae5,_0x956445){const _0xb679a5=_0x92f39f;let _0x22fcf0=this[_0xb679a5(0x1a8)];if((_0x22fcf0==null?void 0x0:_0x22fcf0[_0xb679a5(0x45c)])===_0xb679a5(0x36f)&&(this[_0xb679a5(0x1a8)]=null),!_0x22fcf0||_0x22fcf0[_0xb679a5(0x237)]!==_0x1335e0||_0x22fcf0[_0xb679a5(0x1fa)]!==_0x55acfe||_0x22fcf0[_0xb679a5(0x405)]!==_0x41316b)return!0x1;let _0x5a01f5=_0x55bae5[_0x41316b],_0x340787=_0x5213e3(_0x5a01f5==null?void 0x0:_0x5a01f5[_0xb679a5(0x465)]);if(!_0x5a01f5||!_0x340787||_0x340787[_0xb679a5(0x19e)]!==null)return!0x1;let _0x13b5d5=_0x956445==null?void 0x0:_0x956445['get'](_0x51bae1(_0x1335e0,_0x41316b)),_0x3f307b=_0x51a7dc(_0x55bae5,_0x41316b),_0xe2a970=Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x378)])?_0x13b5d5[_0xb679a5(0x378)]:(_0x3f307b==null?void 0x0:_0x3f307b[_0xb679a5(0x378)])??_0x5a01f5[_0xb679a5(0x465)][_0xb679a5(0x242)]['left']??0x0,_0x40ef84=Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5['top'])?_0x13b5d5[_0xb679a5(0x1d8)]:(_0x3f307b==null?void 0x0:_0x3f307b[_0xb679a5(0x1d8)])??_0x5a01f5[_0xb679a5(0x465)]['transform']['top']??0x0,_0x43aed1=_0xe2a970-_0x22fcf0['left'],_0x13afb9=_0x40ef84-_0x22fcf0[_0xb679a5(0x1d8)];if(_0x43aed1===0x0&&_0x13afb9===0x0)return!0x0;let _0x4ec2d3={'left':_0xe2a970,'top':_0x40ef84,'width':Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x389)])?_0x13b5d5[_0xb679a5(0x389)]:_0x22fcf0['width'],'height':Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x1fe)])?_0x13b5d5[_0xb679a5(0x1fe)]:_0x22fcf0[_0xb679a5(0x1fe)]},_0x50c0bb=Sn(_0x55bae5,_0x41316b,{'boundsByElementId':this[_0xb679a5(0x3a2)](_0x55bae5,_0x41316b,_0x4ec2d3),'allowRootReparent':!0x0});if(_0x50c0bb[_0xb679a5(0x45c)]===_0xb679a5(0x3f8))return this[_0xb679a5(0x26a)](_0x1335e0,_0x55acfe,_0x41316b,_0x55bae5,_0x50c0bb),!0x0;let _0x51375c=!!_0x3f307b&&Math[_0xb679a5(0x1dd)](_0x3f307b[_0xb679a5(0x378)]-_0xe2a970)<0.001&&Math[_0xb679a5(0x1dd)](_0x3f307b[_0xb679a5(0x1d8)]-_0x40ef84)<0.001;return this[_0xb679a5(0x282)][_0xb679a5(0x1b1)](_0x34ffa9['id'],{'unitId':_0x1335e0,'subUnitId':_0x55acfe,'scopeId':_0x22fcf0['scopeId'],'deltaX':_0x43aed1,'deltaY':_0x13afb9,..._0x51375c?{'excludeElementIds':[_0x41316b],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x92f39f(0x3c2)](_0x5054c6,_0x4012b5,_0x525d69,_0x4552a1,_0x5d4f34){const _0x2ab996=_0x92f39f;let _0x3226da=this[_0x2ab996(0x1a8)];if(!_0x3226da||_0x3226da[_0x2ab996(0x45c)]!=='child'||_0x3226da[_0x2ab996(0x237)]!==_0x5054c6||_0x3226da[_0x2ab996(0x1fa)]!==_0x4012b5||_0x3226da['nodeId']!==_0x525d69)return{'kind':_0x2ab996(0x194)};this[_0x2ab996(0x1a8)]=null;let _0x4d8fc8=_0x5d4f34==null?void 0x0:_0x5d4f34[_0x2ab996(0x2ba)](_0x51bae1(_0x5054c6,_0x525d69));if(!this[_0x2ab996(0x193)])return _0x4d8fc8&&this[_0x2ab996(0x31f)](_0x4d8fc8,_0x3226da),this[_0x2ab996(0x3c1)]=null,{'kind':'none'};if(!_0x4d8fc8){let _0x49acf1=this['_lastChildDragAction']??{'kind':_0x2ab996(0x194)};return this[_0x2ab996(0x3c1)]=null,_0x49acf1;}let _0x4e7a17=this[_0x2ab996(0x2ac)](_0x4d8fc8,_0x3226da);if(this[_0x2ab996(0x31f)](_0x4d8fc8,_0x3226da),!this[_0x2ab996(0x3f6)](_0x3226da,_0x4e7a17))return this['_lastChildDragAction']=null,{'kind':'none'};let _0x54de33=Sn(_0x4552a1,_0x525d69,{'boundsByElementId':this[_0x2ab996(0x3a2)](_0x4552a1,_0x525d69,_0x4e7a17),'detachWhenNoSnap':!0x0});return this[_0x2ab996(0x3c1)]=null,_0x54de33;}[_0x92f39f(0x3f6)](_0x343d9b,_0xf711d7){const _0x1a9cd0=_0x92f39f;let _0x2e7dba=(_0xf711d7['left']??_0x343d9b['left'])-_0x343d9b['left'],_0x425d49=(_0xf711d7[_0x1a9cd0(0x1d8)]??_0x343d9b[_0x1a9cd0(0x1d8)])-_0x343d9b[_0x1a9cd0(0x1d8)];return Math[_0x1a9cd0(0x2dc)](_0x2e7dba,_0x425d49)>=0x12;}[_0x92f39f(0x1af)](_0x17d448,_0x5a08b0){const _0x24edd1=_0x92f39f;let _0x468a3c=this[_0x24edd1(0x450)](_0x17d448),_0x15896f=this['_getZoomRatio']();return{'left':_0x5a08b0[_0x24edd1(0x378)]+(_0x468a3c['x']-_0x5a08b0[_0x24edd1(0x2c8)])/_0x15896f,'top':_0x5a08b0['top']+(_0x468a3c['y']-_0x5a08b0[_0x24edd1(0x44a)])/_0x15896f,'width':_0x5a08b0['width'],'height':_0x5a08b0[_0x24edd1(0x1fe)]};}[_0x92f39f(0x433)](_0x1a6638){const _0x3a90ee=_0x92f39f;let _0x35225d=this['_uiStateService']['getState'](),_0x181bb7=(_0x35225d==null?void 0x0:_0x35225d[_0x3a90ee(0x1e5)])??{'x':0x0,'y':0x0},_0x9bad20=this['_getZoomRatio']();return{'x':Math[_0x3a90ee(0x370)](((_0x1a6638['offsetX']??0x0)-_0x181bb7['x'])/_0x9bad20),'y':Math['round'](((_0x1a6638[_0x3a90ee(0x2be)]??0x0)-_0x181bb7['y'])/_0x9bad20)};}[_0x92f39f(0x450)](_0x5281c2){const _0x18f612=_0x92f39f;return{'x':Number[_0x18f612(0x263)](_0x5281c2[_0x18f612(0x315)])?_0x5281c2[_0x18f612(0x315)]:_0x5281c2[_0x18f612(0x3fb)]??0x0,'y':Number[_0x18f612(0x263)](_0x5281c2[_0x18f612(0x380)])?_0x5281c2['clientY']:_0x5281c2[_0x18f612(0x2be)]??0x0};}[_0x92f39f(0x2a4)](){const _0xf83805=_0x92f39f;let _0x578335=this['_uiStateService'][_0xf83805(0x18a)]()['zoomRatio'];return Number[_0xf83805(0x263)](_0x578335)&&(_0x578335??0x0)>0x0?_0x578335:0x1;}[_0x92f39f(0x431)](_0x2d377,_0x181db5){const _0x42ba83=_0x92f39f;return _0x2d377['x']>=_0x181db5[_0x42ba83(0x378)]&&_0x2d377['x']<=_0x181db5[_0x42ba83(0x378)]+_0x181db5[_0x42ba83(0x389)]&&_0x2d377['y']>=_0x181db5[_0x42ba83(0x1d8)]&&_0x2d377['y']<=_0x181db5[_0x42ba83(0x1d8)]+_0x181db5['height'];}[_0x92f39f(0x2e3)](_0x3a97f8,_0x17aba7){const _0x303155=_0x92f39f;var _0x54c52b,_0x2ab2eb;_0x17aba7==null||_0x17aba7[_0x303155(0x30f)](),_0x17aba7&&(_0x17aba7[_0x303155(0x25d)]=!0x0),(_0x54c52b=_0x3a97f8[_0x303155(0x170)])==null||_0x54c52b[_0x303155(0x3ec)](_0x3a97f8),(_0x2ab2eb=_0x3a97f8[_0x303155(0x30f)])==null||_0x2ab2eb['call'](_0x3a97f8);}[_0x92f39f(0x32d)](){const _0x2257d2=_0x92f39f;var _0x174ba6,_0x4fe525;this[_0x2257d2(0x19b)]||=((_0x174ba6=(_0x4fe525=this['_elementStateService'])[_0x2257d2(0x21f)])==null||_0x174ba6[_0x2257d2(0x3ec)](_0x4fe525),!0x0);}[_0x92f39f(0x2ac)](_0x522be6,_0x425c84){const _0x3ce8d1=_0x92f39f;return{'left':Number['isFinite'](_0x522be6[_0x3ce8d1(0x378)])?_0x522be6[_0x3ce8d1(0x378)]:_0x425c84[_0x3ce8d1(0x378)],'top':Number['isFinite'](_0x522be6[_0x3ce8d1(0x1d8)])?_0x522be6['top']:_0x425c84[_0x3ce8d1(0x1d8)],'width':Number[_0x3ce8d1(0x263)](_0x522be6['width'])?_0x522be6[_0x3ce8d1(0x389)]:_0x425c84[_0x3ce8d1(0x389)],'height':Number['isFinite'](_0x522be6[_0x3ce8d1(0x1fe)])?_0x522be6[_0x3ce8d1(0x1fe)]:_0x425c84[_0x3ce8d1(0x1fe)]};}[_0x92f39f(0x31f)](_0x12a21c,_0x1d0ea6){const _0x5f077e=_0x92f39f;typeof _0x12a21c[_0x5f077e(0x412)]==_0x5f077e(0x1a5)&&_0x12a21c[_0x5f077e(0x412)]({'left':_0x1d0ea6[_0x5f077e(0x378)],'top':_0x1d0ea6[_0x5f077e(0x1d8)],'width':_0x1d0ea6['width'],'height':_0x1d0ea6[_0x5f077e(0x1fe)]}),typeof _0x12a21c['makeDirtyNoDebounce']==_0x5f077e(0x1a5)?_0x12a21c[_0x5f077e(0x21d)](!0x0):typeof _0x12a21c[_0x5f077e(0x3dc)]=='function'&&_0x12a21c['makeDirty'](!0x0);}['_createTopologyBoundsByElementId'](_0x2a76b7,_0x169ddb,_0x17db49){const _0x4b6574=_0x92f39f;return Object[_0x4b6574(0x325)](Object[_0x4b6574(0x1d0)](_0x2a76b7)[_0x4b6574(0x427)](_0x5a02de=>_0x5a02de===_0x169ddb?[_0x5a02de,_0x17db49]:[_0x5a02de,_0x51a7dc(_0x2a76b7,_0x5a02de)??_0x2a76b7[_0x5a02de][_0x4b6574(0x465)][_0x4b6574(0x242)]]));}['_ensureDragPreviewObject'](){const _0x51b50d=_0x92f39f;if(this[_0x51b50d(0x31d)])return this['_dragPreviewObject'];let _0xdd89ed=this['_renderContext']['scene'];return typeof _0xdd89ed[_0x51b50d(0x414)]==_0x51b50d(0x1a5)?(this[_0x51b50d(0x31d)]=new mn(cn),_0xdd89ed[_0x51b50d(0x414)](this[_0x51b50d(0x31d)],ln),this['_dragPreviewObject']):null;}[_0x92f39f(0x180)](_0x4b108d,_0x347c18,_0x15a644){const _0x5184cd=_0x92f39f;let _0x4d706e=this[_0x5184cd(0x269)]();_0x4d706e&&_0x4d706e[_0x5184cd(0x40b)]({'ghostBounds':_0x4b108d,'sourceBounds':this['_resolvePreviewSourceBounds'](),'parentBounds':_0x347c18[_0x5184cd(0x45c)]===_0x5184cd(0x3f8)?_0x15a644[_0x347c18[_0x5184cd(0x2fc)]]:null,'side':_0x347c18[_0x5184cd(0x45c)]===_0x5184cd(0x3f8)?_0x347c18['side']:_0x5184cd(0x2c4),'textStyle':this[_0x5184cd(0x43b)](),'renderGhostNode':!0x0});}[_0x92f39f(0x24f)](){const _0x28995d=_0x92f39f;let _0x4e8846=this[_0x28995d(0x46e)]??this['_dragStart'];return _0x4e8846?{'left':_0x4e8846['left'],'top':_0x4e8846[_0x28995d(0x1d8)],'width':_0x4e8846[_0x28995d(0x389)],'height':_0x4e8846['height']}:null;}[_0x92f39f(0x43b)](){const _0x1cde71=_0x92f39f;var _0x3994f4,_0x5c9d81;let _0x5c9c4a=this['_pointerDragStart']??this['_dragStart'],_0x260a63=_0x5c9c4a==null||(_0x3994f4=_0x5c9c4a[_0x1cde71(0x2d6)][_0x5c9c4a[_0x1cde71(0x405)]])==null?void 0x0:_0x3994f4[_0x1cde71(0x465)],_0x104b9f=_0x260a63==null||(_0x5c9d81=_0x260a63[_0x1cde71(0x2ed)])==null?void 0x0:_0x5c9d81['shapeText'];if(_0x104b9f)return{'text':typeof _0x104b9f['text']==_0x1cde71(0x192)?_0x104b9f[_0x1cde71(0x423)]:void 0x0,'fontSize':Number[_0x1cde71(0x263)](_0x104b9f['fontSize'])?_0x104b9f[_0x1cde71(0x28f)]:void 0x0,'color':typeof _0x104b9f[_0x1cde71(0x1f2)]==_0x1cde71(0x192)?_0x104b9f['color']:void 0x0,'horizontalAlign':Number[_0x1cde71(0x263)](_0x104b9f[_0x1cde71(0x3eb)])?_0x104b9f[_0x1cde71(0x3eb)]:void 0x0};}[_0x92f39f(0x1a9)](){const _0x40520f=_0x92f39f;var _0x50725b,_0x3bec25,_0x5defc7;if(!this[_0x40520f(0x31d)])return;let _0xa6ced1=this[_0x40520f(0x45a)]['scene'];(_0x50725b=_0xa6ced1[_0x40520f(0x295)])==null||_0x50725b[_0x40520f(0x3ec)](_0xa6ced1,[this[_0x40520f(0x31d)]]),this[_0x40520f(0x31d)]=null,(_0x3bec25=(_0x5defc7=this[_0x40520f(0x45a)]['scene'])[_0x40520f(0x3dc)])==null||_0x3bec25[_0x40520f(0x3ec)](_0x5defc7,!0x0);}[_0x92f39f(0x25c)](_0x249dfd,_0x9290ee,_0x1fc322,_0x27141f){const _0x353b3e=_0x92f39f;let _0x10b0c5=[...new Set(_0x1fc322[_0x353b3e(0x277)](_0x49acd4=>!!_0x49acd4))],_0x2cf6da=typeof _0x9290ee[_0x353b3e(0x237)]==_0x353b3e(0x192)?_0x9290ee['unitId']:this[_0x353b3e(0x45a)][_0x353b3e(0x237)],_0x124e5c=this[_0x353b3e(0x334)]['createRunner'](_0x2cf6da),_0x20c221=_0x124e5c(()=>this['_commandService'][_0x353b3e(0x1b1)](_0x249dfd,_0x9290ee));Promise[_0x353b3e(0x2a7)](_0x20c221)[_0x353b3e(0x271)](_0x45aa93=>{const _0x4c3cab=_0x353b3e;var _0x1b00f2,_0x984cd4,_0x10f0d0,_0x438eb2;if(_0x45aa93){if(_0x10b0c5['forEach'](_0x2e92d3=>{const _0x1105c2=_0x25f1;_0x124e5c(()=>this[_0x1105c2(0x282)][_0x1105c2(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x9290ee['unitId'],'subUnitId':_0x9290ee['subUnitId'],'scopeId':_0x2e92d3}));}),_0x27141f&&typeof _0x9290ee['unitId']=='string'&&typeof _0x9290ee[_0x4c3cab(0x1fa)]==_0x4c3cab(0x192)){var _0x1c3119,_0x2fdda2;(_0x1c3119=(_0x2fdda2=this[_0x4c3cab(0x15c)])['selectElements'])==null||_0x1c3119[_0x4c3cab(0x3ec)](_0x2fdda2,{'unitId':_0x9290ee[_0x4c3cab(0x237)],'subUnitId':_0x9290ee[_0x4c3cab(0x1fa)]},[_0x27141f],_0x27141f);}(_0x1b00f2=(_0x984cd4=this['_renderContext'][_0x4c3cab(0x1ea)])[_0x4c3cab(0x3dc)])==null||_0x1b00f2[_0x4c3cab(0x3ec)](_0x984cd4,!0x0),(_0x10f0d0=(_0x438eb2=this[_0x4c3cab(0x45a)]['scene'])[_0x4c3cab(0x3f9)])==null||_0x10f0d0[_0x4c3cab(0x3ec)](_0x438eb2);}});}};En=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3aa11b),q(0x4,_0x239302),q(0x5,_0x3171b5),q(0x6,_0x3c9b31(_0x387fe1))],En);let Dn=class extends _0x2756ad{constructor(_0x1a2186,_0x209d7c,_0x41283a,_0x7a1318,_0x21c1f6,_0x269a5f,_0x58f248,_0x1139f4,_0x1e8e7e){const _0x3f302e=_0x92f39f;super(),this[_0x3f302e(0x2df)]=_0x1a2186,this['commandService']=_0x209d7c,this[_0x3f302e(0x3ff)]=_0x41283a,this[_0x3f302e(0x34f)]=_0x7a1318,this['uiStateService']=_0x21c1f6,this[_0x3f302e(0x40e)]=_0x269a5f,this[_0x3f302e(0x33f)]=_0x58f248,this[_0x3f302e(0x293)]=_0x1139f4,this[_0x3f302e(0x3c8)]=_0x1e8e7e;}};Dn=J([q(0x1,_0x3aa11b),q(0x2,_0xbfe5fc),q(0x3,_0x3c1d99),q(0x4,_0x239302),q(0x5,_0x17a521),q(0x6,_0x48f062),q(0x7,_0x3c9b31(_0x33f8b9)),q(0x8,_0x3c9b31(_0x3027f8))],Dn);const On=_0x92f39f(0x467),kn=_0x92f39f(0x168);function An(_0x2b6dd6){const _0x340b73=_0x92f39f;let {unitId:_0x4b5834,subUnitId:_0x253f1a,nodeId:_0x4b3bdf,initialDescription:_0x12c037=''}=_0x2b6dd6,_0x25afe9=_0x17282b(_0x3aa11b),_0x5bd29e=_0x17282b(_0x48f062),_0x1bc00a=_0x17282b(_0x33f8b9),[_0x35cf42,_0x2433c6]=_0x406b1d(_0x12c037),_0x752770=()=>_0x5bd29e['close'](kn);return _0x99613(_0x340b73(0x3e8),{'className':_0x340b73(0x24e),'data-board-mind-map-description-dialog':_0x340b73(0x2c5),'children':[_0x99613('label',{'className':_0x340b73(0x1b9),'children':[_0x36e588(_0x340b73(0x34b),{'className':_0x340b73(0x2e7),'children':_0x1bc00a['t'](_0x340b73(0x188))}),_0x36e588(_0xd46f6,{'autoFocus':!0x0,'className':_0x340b73(0x381),'placeholder':_0x1bc00a['t'](_0x340b73(0x471)),'value':_0x35cf42,'onValueChange':_0x2433c6})]}),_0x99613(_0x340b73(0x3e8),{'className':_0x340b73(0x408),'children':[_0x36e588(_0x44fdbd,{'size':_0x340b73(0x36d),'variant':'default','onClick':_0x752770,'children':_0x1bc00a['t'](_0x340b73(0x156))}),_0x36e588(_0x44fdbd,{'size':_0x340b73(0x36d),'variant':_0x340b73(0x346),'onClick':()=>{const _0x87cd1e=_0x340b73;_0x25afe9['executeCommand'](_0x5049e3['id'],{'unitId':_0x4b5834,'subUnitId':_0x253f1a,'nodeId':_0x4b3bdf,'foreignAttributes':{'_note':_0x35cf42[_0x87cd1e(0x385)]()?_0x35cf42:null}}),_0x752770();},'children':_0x1bc00a['t'](_0x340b73(0x3a7))})]})]});}const jn=_0x92f39f(0x2bb),Mn='FOCUSING_MIND_MAP_NODE',Nn=_0x92f39f(0x239),Pn={'copy':_0x5359c0[_0x92f39f(0x344)],'paste':_0x5359c0[_0x92f39f(0x234)],'paste-as-new':_0x5359c0[_0x92f39f(0x234)],'add-child':_0x5359c0[_0x92f39f(0x3d5)],'add-sibling-or-child':_0x5359c0[_0x92f39f(0x164)],'promote':_0x5359c0['addParentNode'],'toggle-collapse':_0x5359c0[_0x92f39f(0x211)],'collapse-all':_0x5359c0[_0x92f39f(0x41b)],'edit-text':_0x5359c0[_0x92f39f(0x283)],'open-description':_0x5359c0[_0x92f39f(0x16d)],'delete':_0x8c7182[_0x92f39f(0x3ac)],'arrow-left':_0x8c7182[_0x92f39f(0x451)],'arrow-right':_0x8c7182['ARROW_RIGHT'],'arrow-up':_0x8c7182[_0x92f39f(0x46a)],'arrow-down':_0x8c7182[_0x92f39f(0x171)]},Fn={'delete':[_0x8c7182['BACKSPACE']]};function In(_0xd53786){return[Pn[_0xd53786],...Fn[_0xd53786]??[]];}let Ln=class extends _0xb1406a{constructor(_0x4d4caf,_0x431281,_0x31369d,_0x1509f3){const _0x9081f0=_0x92f39f;super(),this[_0x9081f0(0x2e6)]=_0x4d4caf,this[_0x9081f0(0x282)]=_0x431281,this[_0x9081f0(0x246)]=_0x31369d,this[_0x9081f0(0x334)]=_0x1509f3,this[_0x9081f0(0x270)]();}[_0x92f39f(0x270)](){const _0x1c8c0e=_0x92f39f;this[_0x1c8c0e(0x307)](this[_0x1c8c0e(0x282)][_0x1c8c0e(0x27c)](this[_0x1c8c0e(0x276)]())),this['_createShortcutItems']()[_0x1c8c0e(0x2cc)](_0x53827d=>{const _0x2d4672=_0x1c8c0e;this[_0x2d4672(0x307)](this[_0x2d4672(0x246)]['registerShortcut'](_0x53827d));});}[_0x92f39f(0x276)](){const _0x2e2001=_0x92f39f;return{'id':jn,'type':_0x14b54b[_0x2e2001(0x31b)],'handler':(_0x26330e,_0x44f4a8,_0x414d28)=>{let _0x5422b5=Rn(_0x26330e,_0x414d28);return _0x5422b5?this['handleShortcut'](_0x5422b5,_0x44f4a8==null?void 0x0:_0x44f4a8['action']):!0x1;}};}[_0x92f39f(0x39b)](){const _0x1c2e57=_0x92f39f;let _0x46f439=(_0x242551,_0x2b1ca5)=>({'id':jn,'binding':_0x242551,'priority':0xa0,'preconditions':_0x327459=>_0x22e4ac(_0x327459)&&!!_0x327459[_0x1c2e57(0x332)](_0x1c2e57(0x42d)),'staticParameters':{'action':_0x2b1ca5}}),_0x2960a3=_0x352f2d=>In(_0x352f2d)[_0x1c2e57(0x427)](_0x4f11a0=>_0x46f439(_0x4f11a0,_0x352f2d));return[..._0x2960a3(_0x1c2e57(0x344)),{'id':jn,'binding':Pn[_0x1c2e57(0x234)],'priority':0xa0,'preconditions':_0x1f3513=>_0x22e4ac(_0x1f3513)&&!!this[_0x1c2e57(0x2e6)]['getPayload']()&&!!_0x1f3513[_0x1c2e57(0x332)](_0x1c2e57(0x42d)),'staticParameters':{'action':_0x1c2e57(0x234)}},{'id':jn,'binding':Pn['paste-as-new'],'priority':0x96,'preconditions':_0x810107=>_0x22e4ac(_0x810107)&&!!this['_mindMapClipboardService']['getPayload']()&&!!_0x810107[_0x1c2e57(0x332)](_0x1c2e57(0x239)),'staticParameters':{'action':_0x1c2e57(0x3bd)}},..._0x2960a3('add-child'),..._0x2960a3(_0x1c2e57(0x1a7)),..._0x2960a3('promote'),..._0x2960a3(_0x1c2e57(0x179)),..._0x2960a3('collapse-all'),..._0x2960a3(_0x1c2e57(0x190)),..._0x2960a3(_0x1c2e57(0x46c)),..._0x2960a3('delete'),..._0x2960a3('arrow-left'),..._0x2960a3(_0x1c2e57(0x336)),..._0x2960a3(_0x1c2e57(0x33d)),..._0x2960a3('arrow-down')];}['handleShortcut'](_0x496b24,_0x5d1ccf){const _0x19b7e6=_0x92f39f;return _0x496b24[_0x19b7e6(0x3cd)][_0x19b7e6(0x18a)]()[_0x19b7e6(0x29c)]===_0x19b7e6(0x41c)&&_0x5d1ccf!=='copy'?!0x1:_0x5d1ccf===_0x19b7e6(0x344)?this[_0x19b7e6(0x2cd)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x234)?this[_0x19b7e6(0x2e2)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x3bd)?this[_0x19b7e6(0x337)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x17c)?this[_0x19b7e6(0x333)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x1a7)?this[_0x19b7e6(0x37c)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x198)?this[_0x19b7e6(0x415)](_0x496b24,_0x42ec56['id']):_0x5d1ccf==='toggle-collapse'?this[_0x19b7e6(0x415)](_0x496b24,_0x497ede['id']):_0x5d1ccf==='collapse-all'?this['_collapseAll'](_0x496b24):_0x5d1ccf===_0x19b7e6(0x190)?this['_openSelectedTextEditing'](_0x496b24):_0x5d1ccf===_0x19b7e6(0x46c)?this['_openDescriptionDialog'](_0x496b24):_0x5d1ccf==='delete'?this[_0x19b7e6(0x26e)](_0x496b24):_0x5d1ccf&&zn(_0x5d1ccf)?this[_0x19b7e6(0x154)](_0x496b24,_0x5d1ccf):!0x1;}[_0x92f39f(0x2cd)](_0x1a3afb){const _0x5df5d1=_0x92f39f;let _0x19ece5=this[_0x5df5d1(0x409)](_0x1a3afb);return _0x19ece5?(_0x1a3afb['commandService'][_0x5df5d1(0x1b1)](_0x229ff7['id'],{'unitId':_0x19ece5['unitId'],'subUnitId':_0x19ece5['subUnitId'],'nodeId':_0x19ece5[_0x5df5d1(0x405)]}),!0x0):!0x1;}[_0x92f39f(0x2e2)](_0x75002d){const _0x2dfda4=_0x92f39f;let _0x1c2095=this[_0x2dfda4(0x409)](_0x75002d);return!_0x1c2095||!_0x75002d[_0x2dfda4(0x40e)]['getPayload']()?!0x1:(this[_0x2dfda4(0x25c)](_0x75002d,_0x331883['id'],{'unitId':_0x1c2095['unitId'],'subUnitId':_0x1c2095[_0x2dfda4(0x1fa)],'targetNodeId':_0x1c2095[_0x2dfda4(0x405)]},_0x1c2095['scopeId']),!0x0);}[_0x92f39f(0x337)](_0x482003){const _0x6c4337=_0x92f39f;let _0x4919e5=this[_0x6c4337(0x174)](_0x482003);if(!_0x4919e5||!_0x482003['clipboardService'][_0x6c4337(0x1a6)]())return!0x1;let _0x469eda=_0x482003['uiStateService'][_0x6c4337(0x18a)](),_0x8eb759=Number[_0x6c4337(0x263)](_0x469eda[_0x6c4337(0x1ec)])&&_0x469eda['zoomRatio']>0x0?_0x469eda[_0x6c4337(0x1ec)]:0x1,_0xbfcf80=Math[_0x6c4337(0x370)]((0x40-_0x469eda['viewportPanOffset']['x'])/_0x8eb759),_0x265f74=Math[_0x6c4337(0x370)]((0x40-_0x469eda[_0x6c4337(0x1e5)]['y'])/_0x8eb759);return _0x482003['commandService']['executeCommand'](_0x2b5d5e['id'],{'unitId':_0x4919e5[_0x6c4337(0x237)],'subUnitId':_0x4919e5[_0x6c4337(0x1fa)],'left':_0xbfcf80,'top':_0x265f74}),!0x0;}[_0x92f39f(0x333)](_0x44f52b){const _0x451128=_0x92f39f;let _0x13e68a=this[_0x451128(0x409)](_0x44f52b);if(!_0x13e68a)return!0x1;let _0x5f0ff7=_0x38dd6c(0x6);return this[_0x451128(0x226)](_0x44f52b,_0x5a9afd['id'],{'unitId':_0x13e68a[_0x451128(0x237)],'subUnitId':_0x13e68a[_0x451128(0x1fa)],'parentNodeId':_0x13e68a['nodeId'],'nodeId':_0x5f0ff7,'connectorId':_0x38dd6c(0x6),'text':_0x44f52b[_0x451128(0x293)]['t']('boards-mind-ui.panel.addText')},_0x13e68a[_0x451128(0x3d0)],_0x5f0ff7),!0x0;}[_0x92f39f(0x37c)](_0x417d03){const _0x258b66=_0x92f39f;let _0x588583=this[_0x258b66(0x409)](_0x417d03);if(!_0x588583)return!0x1;let _0x92e547=_0x38dd6c(0x6);return this[_0x258b66(0x226)](_0x417d03,_0x588583[_0x258b66(0x223)]?_0x5a9afd['id']:_0x24d9d3['id'],{'unitId':_0x588583[_0x258b66(0x237)],'subUnitId':_0x588583[_0x258b66(0x1fa)],..._0x588583[_0x258b66(0x223)]?{'parentNodeId':_0x588583[_0x258b66(0x405)],'nodeId':_0x92e547}:{'nodeId':_0x588583[_0x258b66(0x405)],'siblingNodeId':_0x92e547},'connectorId':_0x38dd6c(0x6),'text':_0x417d03['localeService']['t'](_0x258b66(0x39e))},_0x588583[_0x258b66(0x3d0)],_0x92e547),!0x0;}[_0x92f39f(0x415)](_0x3b1394,_0x2c6fae){const _0x33f607=_0x92f39f;let _0x467eb3=this[_0x33f607(0x409)](_0x3b1394);return _0x467eb3?(this[_0x33f607(0x25c)](_0x3b1394,_0x2c6fae,{'unitId':_0x467eb3[_0x33f607(0x237)],'subUnitId':_0x467eb3[_0x33f607(0x1fa)],'nodeId':_0x467eb3[_0x33f607(0x405)]},_0x467eb3['scopeId']),!0x0):!0x1;}['_deleteSelectedNode'](_0x397ae5){const _0x20dc0d=_0x92f39f;let _0x1b5b93=this['_getSelectedMindMapContext'](_0x397ae5);if(!_0x1b5b93)return!0x1;let _0x3006ea=_0x397ae5['commandService']['syncExecuteCommand'](_0x35da0c['id'],{'unitId':_0x1b5b93[_0x20dc0d(0x237)],'subUnitId':_0x1b5b93['subUnitId'],'nodeId':_0x1b5b93['nodeId']});return _0x3006ea&&_0x397ae5[_0x20dc0d(0x34f)][_0x20dc0d(0x21f)](),_0x3006ea;}[_0x92f39f(0x19d)](_0x3f8a65){const _0x4bf048=_0x92f39f;let _0x393ad8=this[_0x4bf048(0x409)](_0x3f8a65);if(!_0x393ad8)return!0x1;let _0x90d4=_0x3f8a65['elementService'][_0x4bf048(0x2bd)](_0x393ad8[_0x4bf048(0x237)],_0x393ad8[_0x4bf048(0x1fa)]),_0xe69ed1=Object['values'](_0x90d4)[_0x4bf048(0x427)](_0x1c37d5=>{const _0x11e24c=_0x4bf048;let _0x5c947e=_0x5213e3(_0x1c37d5[_0x11e24c(0x465)]);return(_0x5c947e==null?void 0x0:_0x5c947e[_0x11e24c(0x3b4)])===_0x393ad8[_0x11e24c(0x3d0)]&&this[_0x11e24c(0x397)](_0x90d4,_0x393ad8['scopeId'],_0x1c37d5[_0x11e24c(0x2d3)])['length']>0x0?{'nodeId':_0x1c37d5[_0x11e24c(0x2d3)],'collapsed':_0x5c947e[_0x11e24c(0x196)]}:null;})[_0x4bf048(0x277)](_0x4a9a54=>!!_0x4a9a54);if(_0xe69ed1[_0x4bf048(0x33b)]===0x0)return!0x1;let _0x54fb6f=_0xe69ed1['some'](_0x4fc77b=>!_0x4fc77b[_0x4bf048(0x196)]),_0xf2d4de=_0x3f8a65[_0x4bf048(0x268)],_0x363d56=this['_undoRedoGroupService'][_0x4bf048(0x2f8)](_0x393ad8[_0x4bf048(0x237)]),_0x449856=_0xe69ed1[_0x4bf048(0x427)](_0x2e1cdc=>_0x363d56(()=>_0xf2d4de[_0x4bf048(0x1b1)](_0x497ede['id'],{'unitId':_0x393ad8[_0x4bf048(0x237)],'subUnitId':_0x393ad8[_0x4bf048(0x1fa)],'nodeId':_0x2e1cdc['nodeId'],'collapsed':_0x54fb6f})));return Promise[_0x4bf048(0x402)](_0x449856[_0x4bf048(0x427)](_0x322885=>Promise[_0x4bf048(0x2a7)](_0x322885)))[_0x4bf048(0x271)](_0x5657bd=>{const _0x5e4b99=_0x4bf048;_0x5657bd[_0x5e4b99(0x28c)](Boolean)&&_0x363d56(()=>_0xf2d4de['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x393ad8['unitId'],'subUnitId':_0x393ad8['subUnitId'],'scopeId':_0x393ad8['scopeId']}));}),!0x0;}['_openSelectedTextEditing'](_0x750108){const _0x546c12=_0x92f39f;let _0x5e32f6=this[_0x546c12(0x409)](_0x750108);if(!_0x5e32f6)return!0x1;_0x750108[_0x546c12(0x34f)][_0x546c12(0x2ff)]({'unitId':_0x5e32f6[_0x546c12(0x237)],'subUnitId':_0x5e32f6['subUnitId']},[_0x5e32f6[_0x546c12(0x405)]],_0x5e32f6[_0x546c12(0x405)]);let _0x52a48c=_0x750108['textEditingService'];return _0x52a48c[_0x546c12(0x222)](),_0x52a48c[_0x546c12(0x407)]({'unitId':_0x5e32f6[_0x546c12(0x237)],'subUnitId':_0x5e32f6['subUnitId'],'shapeId':_0x5e32f6[_0x546c12(0x405)],'shapeKey':_0x51bae1(_0x5e32f6[_0x546c12(0x237)],_0x5e32f6[_0x546c12(0x405)]),'visible':!0x0}),!0x0;}[_0x92f39f(0x348)](_0x51e94a){const _0x1cc2b2=_0x92f39f;let _0x45c160=this[_0x1cc2b2(0x409)](_0x51e94a);return _0x45c160?(_0x51e94a['dialogService']['open']({'id':kn,'title':{'title':_0x1cc2b2(0x188)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x45c160['unitId'],'subUnitId':_0x45c160[_0x1cc2b2(0x1fa)],'nodeId':_0x45c160[_0x1cc2b2(0x405)],'initialDescription':_0x45c160[_0x1cc2b2(0x15a)]}}),!0x0):!0x1;}['_navigateByTopology'](_0x595180,_0xdc63c6){const _0x1ab4fa=_0x92f39f;let _0x3d7b3e=this[_0x1ab4fa(0x409)](_0x595180);if(!_0x3d7b3e)return!0x1;let _0x4f404a=_0x595180['elementService'][_0x1ab4fa(0x2bd)](_0x3d7b3e[_0x1ab4fa(0x237)],_0x3d7b3e[_0x1ab4fa(0x1fa)]),_0x215ce2=_0x4f404a[_0x3d7b3e[_0x1ab4fa(0x405)]],_0x4a7c6e=_0x5213e3(_0x215ce2==null?void 0x0:_0x215ce2[_0x1ab4fa(0x465)]);if(!_0x215ce2||!_0x4a7c6e)return!0x1;let _0x1e22bb={'arrow-left':_0x1ab4fa(0x2b7),'arrow-right':_0x1ab4fa(0x225),'arrow-up':_0x1ab4fa(0x1f0),'arrow-down':_0x1ab4fa(0x317)}[_0xdc63c6];if(!_0x1e22bb)return!0x1;let _0x5c620f=this[_0x1ab4fa(0x384)](_0x4f404a,_0x3d7b3e[_0x1ab4fa(0x405)],_0x4a7c6e,_0x1e22bb);return _0x5c620f?(_0x595180['elementStateService'][_0x1ab4fa(0x2ff)]({'unitId':_0x3d7b3e[_0x1ab4fa(0x237)],'subUnitId':_0x3d7b3e[_0x1ab4fa(0x1fa)]},[_0x5c620f],_0x5c620f),!0x0):!0x1;}[_0x92f39f(0x384)](_0x2de792,_0x1cc4fa,_0x162c53,_0x53c207){const _0x406b13=_0x92f39f;let _0x58a6f5=this[_0x406b13(0x397)](_0x2de792,_0x162c53[_0x406b13(0x3b4)],_0x1cc4fa);if(_0x162c53['parentNodeId']===null){if(_0x53c207===_0x406b13(0x2b7)){var _0x311adb;return((_0x311adb=_0x58a6f5['find'](_0x4ca504=>{const _0x4f4f21=_0x406b13;var _0x1892d6;return((_0x1892d6=_0x5213e3(_0x4ca504[_0x4f4f21(0x465)]))==null?void 0x0:_0x1892d6['side'])===_0x4f4f21(0x378);}))==null?void 0x0:_0x311adb['elementId'])??null;}if(_0x53c207===_0x406b13(0x225)){var _0x56ac19;return((_0x56ac19=_0x58a6f5[_0x406b13(0x2bf)](_0x4bc86b=>{const _0x3ec150=_0x406b13;var _0x1f0965;return(((_0x1f0965=_0x5213e3(_0x4bc86b[_0x3ec150(0x465)]))==null?void 0x0:_0x1f0965[_0x3ec150(0x44d)])??'right')===_0x3ec150(0x2c4);}))==null?void 0x0:_0x56ac19['elementId'])??null;}return null;}let _0x2ef9fd=_0x162c53[_0x406b13(0x44d)]??_0x406b13(0x2c4),_0x46b793=_0x2ef9fd==='right'?_0x406b13(0x2b7):_0x406b13(0x225),_0x5268f4=_0x2ef9fd===_0x406b13(0x2c4)?_0x406b13(0x225):_0x406b13(0x2b7);if(_0x53c207===_0x46b793)return _0x162c53[_0x406b13(0x19e)];if(_0x53c207===_0x5268f4){var _0x17f246;return((_0x17f246=_0x58a6f5[0x0])==null?void 0x0:_0x17f246[_0x406b13(0x2d3)])??null;}if(_0x53c207===_0x406b13(0x1f0)||_0x53c207===_0x406b13(0x317)){let _0x199cec=this['_getMindMapChildren'](_0x2de792,_0x162c53['structureScopeId'],_0x162c53[_0x406b13(0x19e)]),_0x3ac599=_0x199cec[_0x406b13(0x446)](_0x4b31f3=>_0x4b31f3[_0x406b13(0x2d3)]===_0x1cc4fa),_0x478d87=_0x53c207===_0x406b13(0x1f0)?_0x199cec[_0x3ac599-0x1]:_0x199cec[_0x3ac599+0x1];return(_0x478d87==null?void 0x0:_0x478d87['elementId'])??null;}return null;}[_0x92f39f(0x397)](_0x491434,_0x795e3f,_0x5ea56f){const _0x491604=_0x92f39f;return Object[_0x491604(0x1f3)](_0x491434)[_0x491604(0x277)](_0x4e4fb0=>{const _0x2467e2=_0x491604;let _0x3501b4=_0x5213e3(_0x4e4fb0['element']);return(_0x3501b4==null?void 0x0:_0x3501b4[_0x2467e2(0x3b4)])===_0x795e3f&&_0x3501b4[_0x2467e2(0x19e)]===_0x5ea56f&&_0x4e4fb0[_0x2467e2(0x465)][_0x2467e2(0x1d7)]!==!0x1;})[_0x491604(0x1c7)]((_0x15ee43,_0x55a46e)=>{const _0x3d6735=_0x491604;let _0x41dc33=_0x5213e3(_0x15ee43[_0x3d6735(0x465)]),_0x20294f=_0x5213e3(_0x55a46e['element']);return _0x2aa617(_0x41dc33==null?void 0x0:_0x41dc33[_0x3d6735(0x3ea)],_0x20294f==null?void 0x0:_0x20294f[_0x3d6735(0x3ea)])||_0x15ee43[_0x3d6735(0x2d3)][_0x3d6735(0x46d)](_0x55a46e[_0x3d6735(0x2d3)]);});}[_0x92f39f(0x409)](_0x17044e){const _0x77a85e=_0x92f39f;var _0x32fc21;let _0x207312=_0x17044e['elementStateService']['getSnapshot'](),_0x53aede=_0x207312[_0x77a85e(0x25b)]??_0x207312[_0x77a85e(0x351)][0x0];if(!_0x53aede||_0x207312['selectedIds'][_0x77a85e(0x33b)]!==0x1||_0x207312[_0x77a85e(0x17f)]||_0x207312[_0x77a85e(0x37e)])return null;let _0x4758b5=_0x207312[_0x77a85e(0x32a)]??{'unitId':_0x17044e[_0x77a85e(0x2df)][_0x77a85e(0x237)],'subUnitId':_0x17044e[_0x77a85e(0x2df)][_0x77a85e(0x3b2)]['getActivePageId']()},_0x4836a8=_0x17044e[_0x77a85e(0x3ff)][_0x77a85e(0x2bd)](_0x4758b5[_0x77a85e(0x237)],_0x4758b5[_0x77a85e(0x1fa)])[_0x53aede],_0x410373=_0x5213e3(_0x4836a8==null?void 0x0:_0x4836a8[_0x77a85e(0x465)]);return!_0x4836a8||!_0x410373?null:{'unitId':_0x4758b5[_0x77a85e(0x237)],'subUnitId':_0x4758b5[_0x77a85e(0x1fa)],'nodeId':_0x53aede,'scopeId':_0x410373[_0x77a85e(0x3b4)],'isRoot':_0x410373[_0x77a85e(0x19e)]===null,'description':((_0x32fc21=_0x410373[_0x77a85e(0x24a)])==null?void 0x0:_0x32fc21['_note'])??''};}[_0x92f39f(0x174)](_0x4a9597){const _0x4084b3=_0x92f39f;var _0x401308,_0x172152;let _0x382be9=_0x4a9597['elementStateService'][_0x4084b3(0x2c6)]();return _0x382be9[_0x4084b3(0x17f)]||_0x382be9['isTransforming']||_0x382be9[_0x4084b3(0x351)][_0x4084b3(0x33b)]>0x0||_0x382be9[_0x4084b3(0x25b)]?null:{'unitId':((_0x401308=_0x382be9[_0x4084b3(0x32a)])==null?void 0x0:_0x401308[_0x4084b3(0x237)])??_0x4a9597[_0x4084b3(0x2df)][_0x4084b3(0x237)],'subUnitId':((_0x172152=_0x382be9[_0x4084b3(0x32a)])==null?void 0x0:_0x172152[_0x4084b3(0x1fa)])??_0x4a9597[_0x4084b3(0x2df)][_0x4084b3(0x3b2)][_0x4084b3(0x363)]()};}[_0x92f39f(0x25c)](_0x10b982,_0x89dbc0,_0x4c22b1,_0x4fb8ff){const _0xdda899=_0x92f39f;let _0x500996=_0x10b982[_0xdda899(0x268)],_0xa4a32c=this['_undoRedoGroupService'][_0xdda899(0x2f8)](_0x4c22b1[_0xdda899(0x237)]),_0xb92343=_0xa4a32c(()=>_0x500996[_0xdda899(0x1b1)](_0x89dbc0,_0x4c22b1));Promise[_0xdda899(0x2a7)](_0xb92343)[_0xdda899(0x271)](_0x4d451b=>{const _0x38b74c=_0xdda899;_0x4d451b&&_0xa4a32c(()=>_0x500996[_0x38b74c(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x4c22b1[_0x38b74c(0x237)],'subUnitId':_0x4c22b1[_0x38b74c(0x1fa)],'scopeId':_0x4fb8ff}));});}[_0x92f39f(0x226)](_0xa53272,_0x55d7b2,_0x34c770,_0x47bb26,_0x207440){const _0x539ae1=_0x92f39f;let _0x536921={'unitId':_0x34c770[_0x539ae1(0x237)],'subUnitId':_0x34c770[_0x539ae1(0x1fa)]},_0x43bd5c=_0xa53272[_0x539ae1(0x268)],_0x43670d=this[_0x539ae1(0x334)][_0x539ae1(0x2f8)](_0x34c770[_0x539ae1(0x237)]),_0x14bd13=_0x43670d(()=>_0x43bd5c[_0x539ae1(0x1b1)](_0x55d7b2,_0x34c770));Promise[_0x539ae1(0x2a7)](_0x14bd13)[_0x539ae1(0x271)](_0x2c2bf1=>{const _0x51c407=_0x539ae1;if(!_0x2c2bf1)return;_0x43670d(()=>_0x43bd5c['executeCommand'](_0x1a1b4d['id'],{..._0x536921,'scopeId':_0x47bb26})),_0xa53272[_0x51c407(0x34f)][_0x51c407(0x2ff)](_0x536921,[_0x207440],_0x207440);let _0x27512b=_0xa53272[_0x51c407(0x3c8)];_0x27512b[_0x51c407(0x222)](),_0x27512b['setEditing']({..._0x536921,'shapeId':_0x207440,'shapeKey':_0x51bae1(_0x536921[_0x51c407(0x237)],_0x207440),'visible':!0x0});});}};Ln=J([q(0x0,_0x17a521),q(0x1,_0x3aa11b),q(0x2,_0x589ecb),q(0x3,_0x3c9b31(_0x387fe1))],Ln);function Rn(_0x33e1ac,_0x2e0f5d){const _0xba7e43=_0x92f39f;var _0x4bf8f1,_0x13775e;let _0x347b67=typeof(_0x2e0f5d==null?void 0x0:_0x2e0f5d['unitId'])==_0xba7e43(0x192)?_0x2e0f5d[_0xba7e43(0x237)]:(_0x4bf8f1=_0x33e1ac[_0xba7e43(0x2ba)](_0x3171b5)[_0xba7e43(0x19c)](_0x597c76[_0xba7e43(0x1e4)]))==null?void 0x0:_0x4bf8f1['getUnitId']();return _0x347b67?((_0x13775e=_0x33e1ac['get'](_0x1cdd64)[_0xba7e43(0x303)](_0x347b67))==null?void 0x0:_0x13775e[_0xba7e43(0x1ce)](Dn))??null:null;}function zn(_0x79813a){const _0x5e255e=_0x92f39f;return _0x79813a===_0x5e255e(0x366)||_0x79813a===_0x5e255e(0x336)||_0x79813a==='arrow-up'||_0x79813a==='arrow-down';}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':'dropdown','titleKey':_0x92f39f(0x41a),'panel':_0x92f39f(0x3d2)},{'kind':_0x92f39f(0x3b6),'titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x92f39f(0x26b),'titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':'dropdown','titleKey':_0x92f39f(0x275),'panel':_0x92f39f(0x199),'dividerBefore':!0x0}],Un={'addSibling':_0x92f39f(0x1a7),'addChild':_0x92f39f(0x17c),'copy':_0x92f39f(0x344),'paste':_0x92f39f(0x234),'delete':_0x92f39f(0x440)},Wn=[{'key':_0x92f39f(0x158),'title':_0x92f39f(0x3be),'items':[{'value':_0x92f39f(0x252),'icon':_0x92f39f(0x252),'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal'},{'value':'mindmap-vertical','icon':_0x92f39f(0x395),'labelKey':'boards-mind-ui.panel.structureKind.mindmapVertical'}]},{'key':_0x92f39f(0x308),'title':_0x92f39f(0x356),'items':[{'value':_0x92f39f(0x1cb),'icon':_0x92f39f(0x1cb),'labelKey':_0x92f39f(0x462)},{'value':_0x92f39f(0x428),'icon':_0x92f39f(0x428),'labelKey':'boards-mind-ui.panel.structureKind.treeLeft'},{'value':_0x92f39f(0x331),'icon':_0x92f39f(0x331),'labelKey':_0x92f39f(0x35c)}]},{'key':_0x92f39f(0x373),'title':'Timeline','items':[{'value':_0x92f39f(0x316),'icon':'timeline-horizontal','labelKey':_0x92f39f(0x1ba)},{'value':'timeline-vertical','icon':_0x92f39f(0x284),'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],Gn={'key':'branch','title':_0x92f39f(0x3e6),'items':[{'value':_0x92f39f(0x265),'icon':_0x92f39f(0x21e),'labelKey':'boards-mind-ui.panel.branchLineType.curve'},{'value':_0x92f39f(0x2ab),'icon':_0x92f39f(0x28a),'labelKey':_0x92f39f(0x44f)},{'value':_0x92f39f(0x40f),'icon':_0x92f39f(0x27e),'labelKey':_0x92f39f(0x15f)}]},Kn=_0x92f39f(0x445);function qn(_0x172e4b,_0x3afd45){const _0x38c6e5=_0x92f39f;_0x172e4b[_0x38c6e5(0x1b1)](jn,{'action':_0x3afd45});}const Jn={'line':_0xcc330a,'more':_0x634397};function Yn(_0x3b9bda){const _0x14af72=_0x92f39f;_0x3b9bda[_0x14af72(0x30f)](),_0x3b9bda[_0x14af72(0x170)]();}function Xn(_0x2d46e7,_0x18e14d='univer-size-5',_0x7a30cc){return _0x36e588(_0xcfec90,{'children':_0x36e588(_0x2d46e7,{'className':_0x18e14d,'extend':_0x7a30cc})});}function Zn(_0x117c72){const _0x3ae3a3=_0x92f39f;var _0x29f29e,_0x4818be;let _0x3abd43=(_0x117c72==null?void 0x0:_0x117c72[_0x3ae3a3(0x29e)])??{},_0x16217c=_0x3abd43['dataModel']&&typeof _0x3abd43[_0x3ae3a3(0x437)]=='object'?_0x3abd43[_0x3ae3a3(0x437)]:{},_0x276cd3=(_0x29f29e=_0x16217c[_0x3ae3a3(0x250)])==null||(_0x29f29e=_0x29f29e['documentStyle'])==null?void 0x0:_0x29f29e[_0x3ae3a3(0x463)];return{'color':typeof _0x3abd43[_0x3ae3a3(0x1f2)]==_0x3ae3a3(0x192)?_0x3abd43[_0x3ae3a3(0x1f2)]:(_0x276cd3==null||(_0x4818be=_0x276cd3['cl'])==null?void 0x0:_0x4818be[_0x3ae3a3(0x302)])??_0x3d178b,'fontFamily':typeof _0x3abd43['fontFamily']==_0x3ae3a3(0x192)?_0x3abd43[_0x3ae3a3(0x443)]:(_0x276cd3==null?void 0x0:_0x276cd3['ff'])??_0x23e0bb['ff'],'fontSize':typeof _0x3abd43['fontSize']==_0x3ae3a3(0x2bc)?_0x3abd43['fontSize']:typeof(_0x276cd3==null?void 0x0:_0x276cd3['fs'])=='number'?_0x276cd3['fs']:_0x23e0bb['fs'],'horizontalAlign':_0x3abd43[_0x3ae3a3(0x3eb)]??_0x16217c['ha']??_0x1e32f2['LEFT'],'textFill':_0x3abd43[_0x3ae3a3(0x2e5)]&&typeof _0x3abd43['textFill']==_0x3ae3a3(0x31e)?_0x3abd43[_0x3ae3a3(0x2e5)]:_0x276cd3==null?void 0x0:_0x276cd3['textFill'],'verticalAlign':_0x3abd43[_0x3ae3a3(0x201)]??_0x16217c['va']??_0x42b806[_0x3ae3a3(0x2f6)]};}function Qn(_0x1849ff,_0x3ca083){const _0x622d47=_0x92f39f;if(!_0x3ca083)return;let _0x51126b=In(_0x3ca083);if(!_0x51126b[_0x622d47(0x33b)])return;let _0x230e19=_0x51126b['map'](_0x4813bb=>_0x1849ff[_0x622d47(0x37b)]({'id':_0x622d47(0x2bb),'binding':_0x4813bb,'staticParameters':{'action':_0x3ca083}})??void 0x0)['filter'](_0x327539=>!!_0x327539);return _0x230e19[_0x622d47(0x33b)]?[...new Set(_0x230e19)][_0x622d47(0x376)]('/'):void 0x0;}async function $n(_0x326ad9,_0x212746,_0x3f267d){const _0x4f1ec3=_0x92f39f;return await Promise[_0x4f1ec3(0x2a7)](_0x212746(()=>_0x326ad9[_0x4f1ec3(0x1b1)](_0x61c9cd['id'],_0x3f267d)))?(await Promise['resolve'](_0x212746(()=>_0x326ad9[_0x4f1ec3(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x3f267d[_0x4f1ec3(0x237)],'subUnitId':_0x3f267d['subUnitId'],'scopeId':_0x3f267d['scopeId']}))),!0x0):!0x1;}async function er(_0x4196aa,_0x10aac4,_0x5780fa){const _0x2875f5=_0x92f39f;return await Promise[_0x2875f5(0x2a7)](_0x10aac4(()=>_0x4196aa[_0x2875f5(0x1b1)](_0x140e61['id'],_0x5780fa)))?(await Promise['resolve'](_0x10aac4(()=>_0x4196aa['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x5780fa['unitId'],'subUnitId':_0x5780fa['subUnitId'],'scopeId':_0x5780fa[_0x2875f5(0x3d0)]}))),!0x0):!0x1;}function tr({className:_0x37f24b='univer-size-5'}){const _0xff7c24=_0x92f39f;return _0x36e588(_0xcfec90,{'children':_0x99613(_0xff7c24(0x44b),{'className':_0x37f24b,'viewBox':_0xff7c24(0x3f0),'fill':_0xff7c24(0x194),'aria-hidden':_0xff7c24(0x2c5),'children':[_0x36e588(_0xff7c24(0x2a9),{'d':_0xff7c24(0x155),'stroke':_0xff7c24(0x261),'strokeWidth':_0xff7c24(0x3bb),'strokeLinecap':_0xff7c24(0x370)}),_0x36e588('path',{'d':'M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','stroke':_0xff7c24(0x261),'strokeWidth':'1.8','strokeLinecap':'round'}),_0x36e588(_0xff7c24(0x2a9),{'d':_0xff7c24(0x3a3),'stroke':'currentColor','strokeWidth':_0xff7c24(0x3bb),'strokeLinecap':_0xff7c24(0x370)})]})});}function nr({icon:_0x357cee}){const _0x59c61d=_0x92f39f;let _0x3aeb15='#d8dce3',_0x1eb0c8={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0x59c61d(0x370),'strokeLinejoin':'round'},_0x2a4fd8={'stroke':_0x3aeb15,'strokeWidth':3.2,'strokeLinecap':_0x59c61d(0x370)};return _0x99613(_0x59c61d(0x44b),{'className':_0x59c61d(0x379),'viewBox':'0\x200\x2080\x2056','fill':_0x59c61d(0x194),'aria-hidden':'true','children':[_0x357cee===_0x59c61d(0x252)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':'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',..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x30d),..._0x2a4fd8})]}),_0x357cee===_0x59c61d(0x395)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'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',..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x26f),'stroke':_0x3aeb15,'strokeWidth':2.6,'strokeLinecap':_0x59c61d(0x370),'strokeDasharray':_0x59c61d(0x2d9)})]}),_0x357cee===_0x59c61d(0x1cb)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x2a8),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x3de),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x357cee===_0x59c61d(0x428)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x2a5),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x1a1),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'56','cy':'12','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x331)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x255),..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x1bf),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'42','cy':'12','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x316)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x1a0),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x208),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'17','cy':'31','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x284)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x186),..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':'M56\x2039h11M13\x2050h11',..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'40','cy':'9','r':'3','fill':'currentColor'})]}),_0x357cee===_0x59c61d(0x21e)&&_0x36e588(_0x1df3f8,{'children':_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x41f),..._0x1eb0c8})}),_0x357cee==='branch-rounded-orthogonal'&&_0x36e588(_0x1df3f8,{'children':_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x157),..._0x1eb0c8})}),_0x357cee===_0x59c61d(0x27e)&&_0x36e588(_0x1df3f8,{'children':_0x36e588('path',{'d':_0x59c61d(0x253),..._0x1eb0c8})})]});}function rr(_0x34b712,_0x433d18){const _0x1a2f9d=_0x92f39f;let _0x4a0125=_0x34b712[_0x1a2f9d(0x463)],_0x284cf8=_0x3dd1d2(_0x4a0125),_0x1078c5={..._0x284cf8[_0x1a2f9d(0x1f2)]===void 0x0?null:{'color':_0x284cf8[_0x1a2f9d(0x1f2)]},..._0x284cf8[_0x1a2f9d(0x443)]===void 0x0?null:{'fontFamily':_0x284cf8[_0x1a2f9d(0x443)]},..._0x284cf8['fontSize']===void 0x0?null:{'fontSize':_0x284cf8[_0x1a2f9d(0x28f)]},..._0x284cf8['bold']===void 0x0?null:{'bold':_0x284cf8['bold']},..._0x284cf8[_0x1a2f9d(0x238)]===void 0x0?null:{'italic':_0x284cf8[_0x1a2f9d(0x238)]},..._0x284cf8[_0x1a2f9d(0x29d)]===void 0x0?null:{'underline':_0x284cf8[_0x1a2f9d(0x29d)]},..._0x284cf8[_0x1a2f9d(0x1e1)]===void 0x0?null:{'strikethrough':_0x284cf8['strikethrough']},..._0x284cf8[_0x1a2f9d(0x2e5)]===void 0x0?null:{'textFill':_0x284cf8[_0x1a2f9d(0x2e5)]}};_0x34b712[_0x1a2f9d(0x3eb)]!==void 0x0&&(_0x1078c5[_0x1a2f9d(0x3eb)]=_0x34b712[_0x1a2f9d(0x3eb)]),_0x34b712[_0x1a2f9d(0x201)]!==void 0x0&&(_0x1078c5[_0x1a2f9d(0x201)]=_0x34b712['verticalAlign']),Object['keys'](_0x1078c5)[_0x1a2f9d(0x33b)]>0x0&&_0x433d18({'textStyle':_0x1078c5});}function ir(_0x535988,_0x1b7564,_0x50daba){const _0x560c59=_0x92f39f;let _0x31bb1b=_0x535988??{},_0x57135e=_0x1d868a(_0x31bb1b,_0x1b7564),_0x1e7482=_0x57135e[_0x560c59(0x29e)]??_0x31bb1b['shapeText']??{};return{..._0x31bb1b,..._0x57135e,'shapeText':{..._0x1e7482,..._0x50daba[_0x560c59(0x1f2)]===void 0x0?null:{'color':_0x50daba[_0x560c59(0x1f2)]},..._0x50daba[_0x560c59(0x28f)]===void 0x0?null:{'fontSize':_0x50daba[_0x560c59(0x28f)]},..._0x50daba[_0x560c59(0x42b)]===void 0x0?null:{'bold':_0x50daba[_0x560c59(0x42b)]},..._0x50daba[_0x560c59(0x238)]===void 0x0?null:{'italic':_0x50daba['italic']},..._0x50daba[_0x560c59(0x29d)]===void 0x0?null:{'underline':_0x50daba[_0x560c59(0x29d)]},..._0x50daba[_0x560c59(0x1e1)]===void 0x0?null:{'strikethrough':_0x50daba[_0x560c59(0x1e1)]},..._0x50daba['horizontalAlign']===void 0x0?null:{'horizontalAlign':_0x50daba['horizontalAlign']},..._0x50daba['verticalAlign']===void 0x0?null:{'verticalAlign':_0x50daba[_0x560c59(0x201)]},..._0x50daba[_0x560c59(0x2e5)]===void 0x0?null:{'textFill':_0x50daba[_0x560c59(0x2e5)]}}};}function _0x4e0c(){const _0x3cc417=['_activeScopeId','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','fillText','_insertMindMap','mindmap-vertical','type','_getMindMapChildren','boards-mind-ui.panel.rename','changeEnd$','_resolveCurrentBoardContext','_createShortcutItems','dot','_resolveSelectedMindMapEntryFromState','boards-mind-ui.panel.addText','getOwnPropertyDescriptor','toPrimitive','_attachActivePointerDragListeners','_createTopologyBoundsByElementId','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','layout-panel-divider','_resolveCompleteSelectedScope','glyphHoverWidth','boards-mind-ui.saveDescription','boundsByElementId','boards-mind-ui.toolbar.panel.typography','_removeObject','boards-mind-ui.toolbar.action.fontColor','DELETE','boards-mind-ui.panel.nodeStyle.fontSize','MindMap','addEventListener','24kWpdZk','currentTarget','unit','_isControlEvent','structureScopeId','unshift','fontColor','RIGHT','labelKey','siblingDotRadius','opacity','1.8','getSelectedObjectMap','paste-as-new','Mind\x20map','1.0.4','mind-map-font-size','_lastChildDragAction','_resolveChildDragTopologyAction','focusUnit','getElementById','entries','boards-mind-ui.panel.structureKind.mindmapVertical','setConfig','textEditingService','univer-flex-wrap','3731861bHmgZQ','boards-mind-ui.panel.emptyNodes','textAlign','uiStateService','univer-flex-1\x20univer-text-sm','direction','scopeId','owner','line','boards-mind-ui.panel.exportOPML','getAncestorScale','addChildNode','_getSceneObject','add-sibling-after','includes','panOffset','_subscribeElementDataChanges','_syncPointerChildDragPreview','makeDirty','registerAdapter','M47\x2025h13M47\x2035h13M47\x2045h13','add-child-top','tools','_seedExistingNodeSizes','hide','univer-text-gray-500','_componentManager','defineProperty','Branch','hideRootControls','div','child','orderKey','horizontalAlign','call','defaultValue','getEditing','lineWidthScreen','0\x200\x2024\x2024','boards-mind-ui.panel.tab.layout','univer-space-y-1','enabled','badgeFontWeight','boards-mind-ui.toolbar.action.layout','_isChildDragPastActivationThreshold','restore','reparent','requestRender','_boardTextEditingService','offsetX','_resolveNodeSize','_uiStateService','_resolveSelectedEntry','elementService','getObject','mind-map-stroke','all','importExport','middle','nodeId','rootNodeId','setEditing','univer-flex\x20univer-justify-end\x20univer-gap-2','_getSelectedMindMapContext','_isActive','updateState','rootStartBounds','boards-mind-ui.toolbar.action.delete','clipboardService','orthogonal','_resolveControlSide','_rememberNodeSize','transformByState','from','addObject','_executeNodeOperation','activeTool','textColor','shapeId','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','boards-mind-ui.toolbar.primary.line','collapseAllNodes','viewing','_ensureObject','univer-text-xs','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','onPointerUp$','state$','incomingConnectorStyle','text','layout','rootFontWeight','_popupDisposable','map','tree-left','item','_resolveHostSize','bold','_ensurePreviewObject','FOCUSING_MIND_MAP_NODE','_normalizeChildren','clear','connectorAffordance','_isPointInBounds','boards-mind-ui.panel.cancel','_getBoardPointFromEvent','branchLineType','_isPopupSelectionStillActive','_lastPoint','dataModel','button','_updateHostSize','671tdXHsn','_resolvePreviewTextStyle','renderGhostNode','_applyScopeTranslation','boards-mind-ui.alignJustify','univer-space-y-3','delete','_findChildNodeAtPoint','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','fontFamily','icon','board.mind-map.floating-toolbar','findIndex','_intrinsicSizeService','univer-flex\x20univer-gap-2','preview','pointerStartY','svg','style','side','pointercancel','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_getPointerScreenPoint','ARROW_LEFT','add-child-right','8769490ronVLt','boards-mind-ui.alignLeft','badgeCount','vertical','subscribe','evented','popup','_renderContext','siblingDotGap','kind','_queueLayout','children','navigator','scope','_updateShapeText','boards-mind-ui.panel.structureKind.treeRight','textStyle','circle','element','boards-mind-ui.panel.tab.importExport','board.mind-map.description-dialog','boards-mind-ui.panel.tab.structure','_resolveCreateChildSide','ARROW_UP','Shape','open-description','localeCompare','_pointerDragStart','univer-mb-4','_sidebarDisposable','boards-mind-ui.descriptionPlaceholder','sourceHighlightFillColor','_registerComponents','univer-border-b\x20univer-border-gray-200\x20univer-p-4','ENTER','_navigateByTopology','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','boards-mind-ui.cancel','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','mind-map','transientPreview','description','boards-mind-ui.panel.tab.','_elementStateService','success','_syncDragPreview','boards-mind-ui.panel.branchLineType.orthogonal','changing$','addSibling','removeEventListener','boards-mind-ui.toolbar.action.stroke','addSiblingNode','lineTo',',\x20minmax(0,\x201fr))','clearPendingInsert','board-mind-map-description-dialog','_injector','panel','_resolveRootTopLeft','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','addDescription','label','closePath','preventDefault','ARROW_DOWN','rootChildSides','render','_getBlankBoardContext','univer-min-h-12\x20univer-w-full','params','_activeNodeId','dirtyPaddingScreen','toggle-collapse','boards-mind-ui.toolbar.action.copy','structureKind','add-child','fillStyle','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','activeEditingId','_syncChildDragPreviewObject','zIndex','_initEditingRestore','gap','nodeWidth','_syncContext','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','dividerBefore','boards-mind-ui.description','refresh$','getState','univer-min-h-12\x20univer-text-xl','_textEditingService','pluginName','asObservable','278088cWpRkJ','edit-text','_clearPopupIfSelectionChanged','string','_childDragActivated','none','JUSTIFIED','collapsed','mind-map-layout-dropdown','promote','more','getConfig','_childDragSelectionHidden','getCurrentUnitOfType','_collapseAll','parentNodeId','_applyDragTopologyAction','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','M20\x2025h13M20\x2035h13M20\x2045h13','_restoreActivePreview','_captureDragStart','meta','function','getPayload','add-sibling-or-child','_dragStart','_removeDragPreviewObject','ghostFillColor','hostSize','lineWidth','onPointerMove$','subscribeEvent','_getPointerLiveBounds','sourceBounds','executeCommand','_template','add-child-bottom','univer-w-24','px\x20','pointerup','_getRenderModules','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','univer-flex\x20univer-flex-col\x20univer-gap-2','boards-mind-ui.panel.structureKind.timelineHorizontal','univer-w-full\x20univer-text-base','constructor','board-mind-map-node-controls-object','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','M12\x2026h11M58\x2036h11M12\x2045h11','registerRuntimeScopedDependencies','connector','version','boards-mind-ui.config','univer-min-h-12\x20univer-flex-1','blueprint','setActiveTool','sort','objects','_attachObjectPointerScheduled','toLowerCase','tree-right','changeStart$','parseInt','with','scaleY','keys','_syncRootScopePreview','reduce','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','rootText','siblingGap','pendingInsert','visible','top','depth','boards-mind-ui.panel.nodeStyle.fontFamily','_getBoardsUIConfig','_cancelPointerChildDrag','abs','clearControl$','data','_activePreview','strikethrough','add-child-left','boards-mind-ui.panel.spacing.siblingGap','UNIVER_BOARD','viewportPanOffset','_clearPopup','stroke','sourceHighlightStrokeColor','horizontalGap','scene','attachPopupToObject','zoomRatio','boards-mind-ui.alignTop','push','bounds','ArrowUp','timelineAxisGap','color','values','univer-w-32','_nodeSizeByKey','nodeHeight','hoveredControl','after','_boardCanvasPopManagerService','subUnitId','globalAlpha','primaryColor','boards-mind-ui.panel.title','height','Escape','_activePointerDragDisposables','verticalAlign','targetNodeId','dispose$','board-mind-map-drag-preview-object','boards-mind-ui.toolbar.action.paste','detachWhenNoSnap','board-mind-map-pending-insert-object','M56\x2011h11M56\x2051h11','both','section','RoundDot','SolidLine','getUnit','packageName','siblingHoverRadius','_objectEventDisposables','foldChildNodes','surfaceColor','fill','structure','strokeWidth','boards-mind-ui.panel.structureKind.timelineVertical','_applyRootTranslation','createControl$','_handlePointerDown','UNIVER_BOARDS_MIND_UI_PLUGIN','controls','_boardElementService','makeDirtyNoDebounce','branch-curve','clearSelection','structured','50rHhWBY','ignoreExternalFocusChanges','isRoot','beginMindMapMode','ArrowRight','_executeCreateAndEdit','add','_removePreviewObject','_disposeActivePointerDragListeners','_syncRootReparentPreview','focus','exec','_drawSourceHighlight','ghost','_disposed','boards-mind-ui.panel.nodeStyle.','boards-mind-ui.toolbar.action.addChild','_buildPopupSelectionKey','transientControl','paste','min','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','unitId','italic','FOCUSING_MIND_MAP_BLANK_BOARD','_syncElementDataToScene','univer-grid-cols-4','_resolveRootChildControlSides','setTemplate','_enableMindMapToolbarTool','registerRenderModule','getCanvasElement','extraProps','transform','addChildGlyphSize','badgeFontSize','_refresh$','_shortcutService','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','_cloneBlueprintNode','Enter','foreignAttributes','_contextService','value','_instanceSrv','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_resolvePreviewSourceBounds','doc','_attachObjectPointerListeners','mindmap-horizontal','M17\x2033h21M38\x2017v30M38\x2017h24','fonts$','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','BOTTOM','ghostTextColor','_provider','getInjector','textBaseline','focusedId','_executeAndLayout','skipNextObservers','visualRadius','boards-mind-ui.toolbar.action.','pointermove','currentColor','getHitControl','isFinite','elementAdd$','curve','radius','boards-mind-ui.panel.pasteOPML','commandService','_ensureDragPreviewObject','_executeChildDragAction','typography','univer-min-h-12\x20univer-text-base','_configService','_deleteSelectedNode','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','_init','then','connectorAlpha','_queuedLayouts','_config','boards-mind-ui.toolbar.primary.more','_createKeyboardShortcutOperation','filter','buttons','decorate','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','register','registerCommand','placement','branch-orthogonal','getTemplate','lineCap','_previewObject','_commandService','editCurrentNode','timeline-vertical','4hEgvxm','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','getTransformerByCreate','univer-w-full\x20univer-text-xs','activated$','branch-rounded-orthogonal','syncExecuteCommand','some','lineJoin','_resolveIncomingConnectorStyle','fontSize','_layoutFlushScheduled','8212509xCcdPz','has','localeService','oldShapeText','removeObjects','rootWidth','_capturePointerChildDragStart','getObjectIncludeInGroup','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','boards-mind-ui.alignRight','flatMap','interactionMode','underline','shapeText','univer-space-y-2','center','univer-h-12\x20univer-text-base','elementUpdate$','titleKey','_getZoomRatio','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','detach','resolve','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','path','onStarting','rounded-orthogonal','_getLiveObjectBounds','boards-mind-ui.toolbar.action.fill','quadraticCurveTo','solid','univer-min-h-12\x20univer-w-full\x20univer-justify-between','strokeStyle','_scheduleAttachObjectPointerListeners','_getPointFromEvent','writeText','objectAlpha','ghostBounds','ArrowLeft','_object','_executeRootAnchoredLayout','get','board.operation.mind-map.keyboard-shortcut','number','getElementData','offsetY','find','board.operation.mind-map.open-panel','move','_cloneBlueprint','boards-mind-ui.panel.branchLineType.curve','right','true','getSnapshot','setHoveredControl','pointerStartX','_syncControls','scaleX','open','forEach','_copySelectedNode','symbol','toolbar','top-center','dash','getFonts','elementId','_localeService','snapDistance','elementData','items','allowRootReparent','6\x207','univer-border-b\x20univer-border-gray-200\x20univer-p-3','set','hypot','childNodeId','dashType','renderContext','boards-mind-ui.panel.structureKind.mindmapHorizontal','_previewHostSize','_pasteUnderSelectedNode','_consumePointerEvent','_handleElementUpdate','textFill','_mindMapClipboardService','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','_handlePointerMove','siblingGlyphSize','glyphSize','getScene','beginPath','shapeData','TOP','boards-mind-ui.panel.layout.left','LEFT','boards-mind-ui.panel.layout.both','liveRootBounds','show','add-sibling-before','2079663StORCN','MIDDLE','setPendingInsert','createRunner','univer-max-w-[min(760px,calc(100vw-32px))]','parentBounds','SquareDot','newParentNodeId','_previewRefreshService','setLineDash','selectElements','getUnitId','_resetContext','rgb','getRenderUnitById','editingParams$','_renderManagerService','_insertStateService','disposeWithMe','tree-diagram','rootRadius','37379TrVaKJ','sourceDashScreen','next','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','stopPropagation','univer-mb-3\x20univer-w-full','hasCommand','pipe','registerShortcut','_applyPointerChildDrag','clientX','timeline-horizontal','ArrowDown','_interactionSurfaceService','SHIFT','setShapeSidebarOpen','OPERATION','referenceNodeId','_dragPreviewObject','object','_restoreObjectToDragStart','_instanceService','custom','before','FOCUSING_MIND_MAP_TEXT_EDITOR','_getElementKey','fromEntries','default','_stateService','key','univer-h-28\x20univer-resize-none','context','transientPreviewForeground','slice','_hideSelectionForChildDrag','updateElement','_resolveChildSide','board.mind-map.panel','tree-alternate','getContextValue','_addChild','_undoRedoGroupService','_showPopupForSelection','arrow-right','_pasteAsNewMindMap','point','max','onDblclick$','length','sourceHaloScreen','arrow-up','univer-h-12\x20univer-w-32\x20univer-text-base','dialogService','dispose','_sidebarService','8TGvqCM','onPointerDown$','copy','moveTo','primary','univer-w-20\x20univer-shrink-0','_openDescriptionDialog','univer-mb-0','onReady','span','TRUE','573430mFfAKs','textPaddingScreen','elementStateService','prototype','selectedIds','_attachObjectEvents','divider-','connectorData','_syncPreviewObject','Tree\x20diagram','glyphWidth','Dash','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','branchGap','_resolveControlBounds','boards-mind-ui.panel.structureKind.treeAlternate','borderWidth','_syncChildDragPreview','boards-mind-ui.alignMiddle','onCommandExecuted','dataTransfer','boards-mind-ui.panel.importOPML','getActivePageId','isHit','unsubscribe','arrow-left','_toFiniteBounds','title','_syncLayoutPreview','deviceType','_state','Select','small','bottom','root','round','hasChildren','elementRemove$','timeline','_resolveDirtyBounds','fallbackNodeWidth','join','engine','left','univer-h-9\x20univer-w-12','mindmap','getShortcutDisplay','_addSiblingOrChild','[&_input]:univer-h-12\x20[&_input]:univer-text-base','isTransforming','_countDescendants','clientY','univer-h-32\x20univer-resize-none\x20univer-text-sm','boards-mind-ui.panel.searchNodes','save','_resolveArrowNavigationTarget','trim','univer-grid-cols-3','_objectPointerDisposables','addChildRadius','width','setContextValue','style-divider','_consumeControlEvent','notify','_popupSelectionKey','ghostRadius','Touch'];_0x4e0c=function(){return _0x3cc417;};return _0x4e0c();}function ar(_0x3ef46b,_0x34f2d1){const _0x4c0c72=_0x92f39f;let _0xe8a98=_0x3ef46b==null?void 0x0:_0x3ef46b[_0x4c0c72(0x1e7)];_0xe8a98&&_0x34f2d1({'lineType':_0xe8a98[_0x4c0c72(0x2de)]===_0x1fef06[_0x4c0c72(0x20b)]||_0xe8a98['dashType']===_0x1fef06[_0x4c0c72(0x2fb)]?'dot':_0xe8a98['dashType']===_0x1fef06[_0x4c0c72(0x358)]?_0x4c0c72(0x2d1):_0x4c0c72(0x2af),...typeof _0xe8a98[_0x4c0c72(0x389)]==_0x4c0c72(0x2bc)?{'strokeWidth':_0xe8a98[_0x4c0c72(0x389)]}:null,...typeof _0xe8a98[_0x4c0c72(0x1f2)]=='string'?{'stroke':_0xe8a98[_0x4c0c72(0x1f2)]}:null,...typeof _0xe8a98[_0x4c0c72(0x3ba)]==_0x4c0c72(0x2bc)?{'opacity':_0xe8a98['opacity']}:null});}function or(_0x35002c){const _0x4931c2=_0x92f39f;return _0x35002c!=null&&_0x35002c[_0x4931c2(0x33b)]?_0x35002c[0x0]<=0x2?_0x1fef06['RoundDot']:_0x1fef06['Dash']:_0x1fef06['Solid'];}function sr(_0xc070f){const _0x5ee35b=_0x92f39f;return{'stroke':{'lineStrokeType':_0x489228[_0x5ee35b(0x20c)],'dashType':or(_0xc070f==null?void 0x0:_0xc070f['dash']),'color':(_0xc070f==null?void 0x0:_0xc070f['stroke'])??_0x3e6563,'width':(_0xc070f==null?void 0x0:_0xc070f[_0x5ee35b(0x215)])??Bn[_0x5ee35b(0x3ed)],'opacity':(_0xc070f==null?void 0x0:_0xc070f[_0x5ee35b(0x3ba)])??Vn[_0x5ee35b(0x3ed)]/0x64}};}function cr(_0x4dc4c3){const _0x3b5938=_0x92f39f;var _0x2ba506,_0x120faf,_0x48d530;let _0x15a59f=_0x17282b(_0x3aa11b),_0x5e6983=_0x17282b(_0x589ecb),_0x4978ec=_0x17282b(_0x33f8b9),_0x5e7b65=_0x17282b(_0x387fe1),[_0x3112fb,_0x1b1117]=_0x406b1d(null),[_0x471020,_0x4e9e0d]=_0x406b1d((_0x2ba506=_0x4dc4c3[_0x3b5938(0x459)]['extraProps'])==null?void 0x0:_0x2ba506[_0x3b5938(0x2ed)]),_0x18c707=_0x4dc4c3[_0x3b5938(0x459)][_0x3b5938(0x241)];if(!_0x18c707)return null;let _0x4e4e12={'unitId':_0x18c707[_0x3b5938(0x237)],'subUnitId':_0x18c707[_0x3b5938(0x1fa)]},_0x19c945=_0x50a014=>{const _0x433a2c=_0x3b5938;_0x15a59f['executeCommand'](_0x5049e3['id'],{..._0x4e4e12,'nodeId':_0x18c707[_0x433a2c(0x2d3)],..._0x50a014});},_0x569ebf=(_0x31c5bb,_0x41f691)=>{const _0x3724ff=_0x3b5938;let _0x1325c0=_0x41f691??{};_0x4e9e0d(_0x5246b4=>({..._0x5246b4??{},..._0x1325c0})),_0x19c945({..._0x1325c0['fill']===void 0x0?null:{'fill':_0x1325c0['fill']},..._0x1325c0[_0x3724ff(0x1e7)]===void 0x0?null:{'stroke':_0x1325c0[_0x3724ff(0x1e7)]}});},_0x29a9cb=_0x188129=>{const _0x3762b8=_0x3b5938;_0x15a59f['executeCommand'](_0x464e77['id'],{..._0x4e4e12,'nodeId':_0x18c707[_0x3762b8(0x2d3)],'style':_0x188129});},_0x4edcdc=sr(_0x18c707[_0x3b5938(0x422)]),_0xc78e7d=_0x44274c=>Qn(_0x5e6983,_0x44274c),_0x58d331=_0x269667=>{qn(_0x15a59f,_0x269667);},_0x541420=(_0x471020==null?void 0x0:_0x471020['shapeText'])??{},_0x23f1a1=Zn(_0x471020),_0x46fe8b=_0xec921e=>{rr(_0xec921e,_0x480b48=>{const _0x22659e=_0x25f1;_0x4e9e0d(_0x5132b1=>ir(_0x5132b1,_0xec921e,_0x480b48[_0x22659e(0x463)])),_0x19c945(_0x480b48);});},_0x7b00b2=[{'label':_0x4978ec['t'](_0x3b5938(0x454)),'value':_0x1e32f2[_0x3b5938(0x2f0)],'icon':_0x36e588(_0x3d8e65,{})},{'label':_0x4978ec['t']('boards-mind-ui.alignCenter'),'value':_0x1e32f2['CENTER'],'icon':_0x36e588(_0x50a4e6,{})},{'label':_0x4978ec['t'](_0x3b5938(0x29a)),'value':_0x1e32f2[_0x3b5938(0x3b7)],'icon':_0x36e588(_0x42707d,{})},{'label':_0x4978ec['t'](_0x3b5938(0x43e)),'value':_0x1e32f2[_0x3b5938(0x195)],'icon':_0x36e588(_0x34642c,{})}],_0x4a45bb=[{'label':_0x4978ec['t'](_0x3b5938(0x1ed)),'value':_0x42b806[_0x3b5938(0x2ee)],'icon':_0x36e588(_0x19a816,{})},{'label':_0x4978ec['t'](_0x3b5938(0x35f)),'value':_0x42b806[_0x3b5938(0x2f6)],'icon':_0x36e588(_0xdc38d1,{})},{'label':_0x4978ec['t']('boards-mind-ui.alignBottom'),'value':_0x42b806[_0x3b5938(0x256)],'icon':_0x36e588(_0x30b7b7,{})}],_0x403e30=()=>{const _0x2e317a=_0x3b5938;_0x58d331(_0x2e317a(0x1a7));},_0x201c65=()=>{const _0x307738=_0x3b5938;_0x58d331(_0x307738(0x17c));},_0x274433=()=>{const _0x3f6d53=_0x3b5938;_0x58d331(_0x3f6d53(0x344));},_0x31fbf6=()=>{const _0x2bed53=_0x3b5938;_0x58d331(_0x2bed53(0x234));},_0xfa23af=()=>{const _0x5b25c9=_0x3b5938;_0x58d331(_0x5b25c9(0x440));},_0x50c67c=((_0x120faf=_0x18c707['layout'])==null?void 0x0:_0x120faf[_0x3b5938(0x17b)])??_0x29a5bb['structureKind'],_0x4d8452=_0x47dc91(_0x50c67c,((_0x48d530=_0x18c707[_0x3b5938(0x424)])==null?void 0x0:_0x48d530['branchLineType'])??_0x29a5bb[_0x3b5938(0x434)]),_0x5780e7=_0x107576=>{const _0x295a28=_0x3b5938;let _0x514af7=_0x47dc91(_0x107576,_0x4d8452);$n(_0x15a59f,_0x5e7b65[_0x295a28(0x2f8)](_0x18c707[_0x295a28(0x237)]),{..._0x4e4e12,'scopeId':_0x18c707[_0x295a28(0x3d0)],'structureKind':_0x107576,..._0x514af7===_0x4d8452?null:{'branchLineType':_0x514af7}}),_0x1b1117(null);},_0x34cee8=_0x55f8c1=>{const _0x11630a=_0x3b5938;er(_0x15a59f,_0x5e7b65[_0x11630a(0x2f8)](_0x18c707[_0x11630a(0x237)]),{..._0x4e4e12,'scopeId':_0x18c707[_0x11630a(0x3d0)],'branchLineType':_0x55f8c1}),_0x1b1117(null);},_0x5f1b59=(_0x91fb10,_0x31598f,_0x343bb7,_0x2fcc56=!0x1)=>_0x36e588(_0x3b5938(0x438),{'type':'button','aria-label':_0x4978ec['t'](_0x91fb10['labelKey']),'disabled':_0x2fcc56,'className':_0x2ccaad('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-gray-0',_0x31598f&&_0x3b5938(0x27a),_0x2fcc56&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0x41e8aa=>{const _0x100bf3=_0x3b5938;_0x41e8aa[_0x100bf3(0x30f)](),!_0x2fcc56&&_0x343bb7();},'children':_0x36e588(nr,{'icon':_0x91fb10[_0x3b5938(0x444)]})},_0x91fb10[_0x3b5938(0x24c)]),_0x31e972=()=>_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x17e),'onMouseDown':_0x42385a=>_0x42385a[_0x3b5938(0x30f)](),'onPointerDown':_0x4a8dc4=>_0x4a8dc4['stopPropagation'](),'children':[Wn[_0x3b5938(0x427)](_0x540e28=>_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x46f),'children':[_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x286),'children':_0x540e28[_0x3b5938(0x368)]}),_0x36e588('div',{'className':_0x3b5938(0x419),'style':{'gridTemplateColumns':'repeat('+_0x540e28[_0x3b5938(0x2d7)]['length']+_0x3b5938(0x166)},'children':_0x540e28[_0x3b5938(0x2d7)][_0x3b5938(0x427)](_0x4273e1=>_0x5f1b59(_0x4273e1,_0x4273e1[_0x3b5938(0x24c)]===_0x50c67c,()=>_0x5780e7(_0x4273e1[_0x3b5938(0x24c)])))})]},_0x540e28[_0x3b5938(0x328)])),_0x36e588(_0x47916c,{}),_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x349),'children':[_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x286),'children':Gn[_0x3b5938(0x368)]}),_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x419),'style':{'gridTemplateColumns':'repeat('+Gn[_0x3b5938(0x2d7)][_0x3b5938(0x33b)]+_0x3b5938(0x166)},'children':Gn[_0x3b5938(0x2d7)][_0x3b5938(0x427)](_0x206014=>_0x5f1b59(_0x206014,_0x206014[_0x3b5938(0x24c)]===_0x4d8452,()=>_0x34cee8(_0x206014[_0x3b5938(0x24c)]),_0x206014['value']===_0x3b5938(0x265)&&!_0x3ffd8d(_0x50c67c)))})]})]}),_0x22a33f=_0x2e0641=>{const _0x505fb1=_0x3b5938;switch(_0x2e0641){case'line':return _0x36e588(_0x36b757,{'title':_0x4978ec['t']('boards-mind-ui.toolbar.panel.line'),'shapeData':_0x4edcdc,'modeOptions':[_0x505fb1(0x2af),'dash',_0x505fb1(0x39c)],'showDashDropdown':!0x1,'widthRange':{'min':Bn[_0x505fb1(0x235)],'max':Bn[_0x505fb1(0x339)],'step':0x1},'onUpdateShapeData':(_0x1ccfec,_0x51e2d1)=>{ar(_0x51e2d1,_0x29a9cb);}});case _0x505fb1(0x199):return _0x36e588(_0x2bb414,{'title':_0x4978ec['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':'univer-min-w-[240px]','children':_0x99613(_0x505fb1(0x3e8),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[_0x36e588(_0x38a135,{'label':_0x4978ec['t']('boards-mind-ui.toolbar.action.addSibling'),'shortcut':_0xc78e7d(Un[_0x505fb1(0x161)]),'onClick':_0x403e30}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x231)),'shortcut':_0xc78e7d(Un['addChild']),'onClick':_0x201c65}),_0x36e588(_0x47916c,{}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x17a)),'shortcut':_0xc78e7d(Un[_0x505fb1(0x344)]),'onClick':_0x274433}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x205)),'shortcut':_0xc78e7d(Un[_0x505fb1(0x234)]),'onClick':_0x31fbf6}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x40d)),'shortcut':_0xc78e7d(Un['delete']),'onClick':_0xfa23af})]})});default:return null;}},_0x44d559=Hn[_0x3b5938(0x29b)](_0x473b4e=>{const _0x4594ab=_0x3b5938;let _0xbfb376=[];if(_0x473b4e[_0x4594ab(0x187)]&&_0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x47916c,{'orientation':_0x4594ab(0x456)},_0x4594ab(0x353)+_0x473b4e[_0x4594ab(0x45c)])),_0x473b4e[_0x4594ab(0x45c)]===_0x4594ab(0x26b))return _0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x2805c5,{'title':_0x4978ec['t'](_0x4594ab(0x3a9)),'fontFamily':_0x23f1a1['fontFamily'],'textStyle':{'isBold':_0x541420['bold']===!0x0,'isItalic':_0x541420[_0x4594ab(0x238)]===!0x0,'isUnderline':_0x541420[_0x4594ab(0x29d)]===!0x0,'isStrike':_0x541420[_0x4594ab(0x1e1)]===!0x0},'horizontalAlign':_0x23f1a1[_0x4594ab(0x3eb)],'verticalAlign':_0x23f1a1[_0x4594ab(0x201)],'horizontalAlignOptions':_0x7b00b2,'verticalAlignOptions':_0x4a45bb,'onUpdateText':_0x46fe8b},_0x473b4e[_0x4594ab(0x45c)])),_0xbfb376;if(_0x473b4e[_0x4594ab(0x45c)]===_0x4594ab(0x3b6)){let _0xd4e14c={'fs':_0x23f1a1[_0x4594ab(0x28f)],'cl':{'rgb':_0x23f1a1[_0x4594ab(0x1f2)]},..._0x23f1a1['textFill']===void 0x0?null:{'textFill':_0x23f1a1[_0x4594ab(0x2e5)]}};return _0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x163c26,{'title':_0x4978ec['t'](_0x4594ab(0x3ab)),'textStyle':_0xd4e14c,'fallbackColor':_0x23f1a1['color'],'onChange':_0x58c831=>_0x46fe8b({'textStyle':_0x58c831})},_0x473b4e[_0x4594ab(0x45c)])),_0xbfb376['push'](_0x36e588(_0x38146c,{'value':String(_0x23f1a1[_0x4594ab(0x28f)]),'onChange':_0x1d90f1=>{_0x46fe8b({'textStyle':{'fs':_0x1d90f1}});}},_0x4594ab(0x3c0))),_0xbfb376;}return _0xbfb376['push'](_0x36e588(_0x1ac9f4,{'open':_0x3112fb===_0x473b4e['panel'],'overlay':_0x22a33f(_0x473b4e[_0x4594ab(0x16a)]),'onOpenChange':_0xd9fde4=>_0x1b1117(_0xd9fde4?_0x473b4e['panel']:null),'children':_0x36e588(_0x4594ab(0x34b),{'children':_0x36e588(_0x103714,{'title':_0x4978ec['t'](_0x473b4e[_0x4594ab(0x2a3)]),'active':_0x3112fb===_0x473b4e['panel'],'icon':Xn(Jn[_0x473b4e[_0x4594ab(0x16a)]]),'sizeClassName':_0x4594ab(0x247),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x473b4e['panel'])),_0xbfb376;}),_0x4c8650=[..._0x18c707['isRootNode']?[_0x36e588(_0x1ac9f4,{'open':_0x3112fb===_0x3b5938(0x424),'overlay':_0x31e972(),'onOpenChange':_0x59369e=>_0x1b1117(_0x59369e?'layout':null),'children':_0x36e588('span',{'children':_0x36e588(_0x103714,{'title':_0x4978ec['t'](_0x3b5938(0x3f5)),'active':_0x3112fb===_0x3b5938(0x424),'icon':_0x36e588(tr,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':Yn,'onPointerDown':Yn})})},_0x3b5938(0x197)),_0x36e588(_0x47916c,{'orientation':_0x3b5938(0x456)},_0x3b5938(0x3a4))]:[],_0x36e588(_0x3a140c,{'title':_0x4978ec['t'](_0x3b5938(0x2ad)),'shapeData':_0x471020??{},'onUpdateShapeData':_0x569ebf},'mind-map-fill'),_0x36e588(_0x3ba3d6,{'title':_0x4978ec['t'](_0x3b5938(0x163)),'shapeData':_0x471020??{},'onUpdateShapeData':_0x569ebf},_0x3b5938(0x401)),_0x36e588(_0x47916c,{'orientation':'vertical'},_0x3b5938(0x38b))];return _0x99613(_0xcb04ae,{'maxWidthClassName':_0x3b5938(0x2f9),'onMouseDown':_0x1da097=>_0x1da097['stopPropagation'](),'children':[_0x4c8650,_0x44d559]});}function lr(_0x24b33b){let {left:_0x155069,top:_0x509056,width:_0x3b1429,height:_0x325192}=_0x24b33b;return{'left':_0x155069,'right':_0x155069+_0x3b1429,'top':_0x509056-0x38,'bottom':_0x509056+_0x325192};}let ur=class extends _0xb1406a{constructor(_0x354fc8,_0x5f5b69,_0x43bae8,_0x1a6ea2,_0x5ddf93,_0x403b9a){const _0x4cc3a1=_0x92f39f;super(),this[_0x4cc3a1(0x45a)]=_0x354fc8,this[_0x4cc3a1(0x1f9)]=_0x5f5b69,this['_boardElementService']=_0x43bae8,this['_elementStateService']=_0x1a6ea2,this[_0x4cc3a1(0x3fa)]=_0x5ddf93,this[_0x4cc3a1(0x318)]=_0x403b9a,K(this,_0x4cc3a1(0x426),null),K(this,'_popupSelectionKey',null),this[_0x4cc3a1(0x270)]();}[_0x92f39f(0x340)](){const _0x2604c2=_0x92f39f;this[_0x2604c2(0x1e6)](),super[_0x2604c2(0x340)]();}['_init'](){const _0x9480d1=_0x92f39f;let _0x574155=this[_0x9480d1(0x45a)][_0x9480d1(0x1ea)]['getTransformerByCreate']();this[_0x9480d1(0x307)](_0x594a26(_0x574155[_0x9480d1(0x218)][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](()=>this[_0x9480d1(0x335)]()))),this['disposeWithMe'](_0x594a26(_0x574155[_0x9480d1(0x1de)][_0x9480d1(0x312)](_0x3568ee(this['dispose$']))[_0x9480d1(0x457)](()=>this['_clearPopupIfSelectionChanged']()))),this[_0x9480d1(0x307)](_0x594a26(_0x574155['changeStart$'][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))['subscribe'](()=>this[_0x9480d1(0x1e6)]()))),this[_0x9480d1(0x307)](_0x594a26(_0x574155[_0x9480d1(0x399)][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](()=>setTimeout(()=>this[_0x9480d1(0x335)](),0x0)))),this[_0x9480d1(0x307)](_0x594a26(this['_elementStateService'][_0x9480d1(0x421)]['pipe'](_0x3568ee(this[_0x9480d1(0x203)]))['subscribe'](()=>setTimeout(()=>this[_0x9480d1(0x335)](),0x0)))),this[_0x9480d1(0x307)](_0x594a26(this[_0x9480d1(0x318)]['interactionSurfaceActive$'][_0x9480d1(0x312)](_0x3568ee(this['dispose$']))['subscribe'](_0x4a1aca=>{const _0x30136a=_0x9480d1;if(_0x4a1aca){this[_0x30136a(0x1e6)]();return;}setTimeout(()=>this[_0x30136a(0x335)](),0x0);}))),this[_0x9480d1(0x307)](_0x594a26(this[_0x9480d1(0x3fa)]['editingParams$'][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](_0x209f8c=>{const _0x335448=_0x9480d1;if((_0x209f8c==null?void 0x0:_0x209f8c[_0x335448(0x237)])===this[_0x335448(0x45a)]['unitId']){if(_0x209f8c[_0x335448(0x1d7)]){this['_clearPopup']();return;}setTimeout(()=>this[_0x335448(0x335)](),0x0);}})));}[_0x92f39f(0x1e6)](){const _0x35ff66=_0x92f39f;var _0x4abbf1;(_0x4abbf1=this[_0x35ff66(0x426)])==null||_0x4abbf1['dispose'](),this[_0x35ff66(0x426)]=null,this[_0x35ff66(0x38e)]=null;}[_0x92f39f(0x191)](){setTimeout(()=>{this['_isPopupSelectionStillActive']()||this['_clearPopup']();},0x0);}[_0x92f39f(0x435)](){const _0x187032=_0x92f39f;let _0x37b452=this['_elementStateService'][_0x187032(0x2c6)]();return!!_0x37b452[_0x187032(0x32a)]&&_0x37b452[_0x187032(0x351)]['length']>0x0&&this[_0x187032(0x38e)]===this[_0x187032(0x232)](_0x37b452[_0x187032(0x32a)][_0x187032(0x237)],_0x37b452[_0x187032(0x32a)][_0x187032(0x1fa)],_0x37b452['selectedIds']);}[_0x92f39f(0x232)](_0xa5c967,_0x807fd1,_0x2f6a22){const _0x47c47c=_0x92f39f;return _0xa5c967+':'+_0x807fd1+':'+_0x2f6a22[_0x47c47c(0x376)](',');}[_0x92f39f(0x28e)](_0x1888b4,_0x254ccb,_0x2d87d5,_0x1dc2c1){const _0x3fd51e=_0x92f39f;let _0x82112e=this['_boardElementService'][_0x3fd51e(0x2bd)](_0x1888b4,_0x254ccb),_0x7a44d=Object[_0x3fd51e(0x1f3)](_0x82112e)[_0x3fd51e(0x2bf)](_0x208987=>{const _0xc4150f=_0x3fd51e;let _0x148ccd=_0x4073ed(_0x208987[_0xc4150f(0x465)]);return(_0x148ccd==null?void 0x0:_0x148ccd[_0xc4150f(0x3b4)])===_0x2d87d5&&_0x148ccd[_0xc4150f(0x2dd)]===_0x1dc2c1;});if(_0x7a44d&&_0x3fd51e(0x354)in _0x7a44d[_0x3fd51e(0x465)])return _0x7a44d['element'][_0x3fd51e(0x354)][_0x3fd51e(0x44c)];}['_showPopupForSelection'](){const _0x20b18e=_0x92f39f;var _0x4de56f,_0xe1c854,_0x11fe0a;if(this[_0x20b18e(0x318)]['isInteractionSurfaceActive']){this[_0x20b18e(0x1e6)]();return;}let _0x1aaa34=this[_0x20b18e(0x3fa)][_0x20b18e(0x3ee)]();if((_0x1aaa34==null?void 0x0:_0x1aaa34['visible'])===!0x0&&_0x1aaa34[_0x20b18e(0x237)]===this[_0x20b18e(0x45a)][_0x20b18e(0x237)]){this[_0x20b18e(0x1e6)]();return;}let _0x5503b0=this[_0x20b18e(0x15c)][_0x20b18e(0x2c6)]();if(_0x5503b0[_0x20b18e(0x37e)]){this['_clearPopup']();return;}if(_0x5bbe51({'context':_0x5503b0['context'],'selectedIds':_0x5503b0[_0x20b18e(0x351)],'getElementById':(_0x1bd4bc,_0x2d7e65,_0x11b023)=>this[_0x20b18e(0x21c)]['getElementById'](_0x1bd4bc,_0x2d7e65,_0x11b023)})[_0x20b18e(0x3d1)]!==_0x20b18e(0x158)){this['_clearPopup']();return;}let _0x1fd05a=this[_0x20b18e(0x45a)][_0x20b18e(0x1ea)][_0x20b18e(0x287)]()[_0x20b18e(0x3bc)](),_0x221c12=Array[_0x20b18e(0x413)](_0x1fd05a['values']())[_0x20b18e(0x427)](_0x2d98a2=>this[_0x20b18e(0x3fe)](_0x2d98a2))['filter'](_0x178e52=>!!_0x178e52)[_0x20b18e(0x277)](_0x3151b2=>!!_0x5213e3(_0x3151b2['elementData'][_0x20b18e(0x465)])),_0x1bc91d=_0x221c12[_0x20b18e(0x2bf)](_0x49cd08=>_0x49cd08[_0x20b18e(0x2d6)]['elementId']===_0x5503b0[_0x20b18e(0x25b)])??_0x221c12[0x0]??this[_0x20b18e(0x39d)]();if(!_0x1bc91d){this[_0x20b18e(0x1e6)]();return;}let _0x1a6657=_0x5213e3(_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)]);if(!_0x1a6657){this[_0x20b18e(0x1e6)]();return;}let _0x4c435f=(_0x4de56f=this['_boardElementService'][_0x20b18e(0x2bd)](_0x1bc91d['elementData'][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)])[_0x1a6657[_0x20b18e(0x3b4)]])==null?void 0x0:_0x4de56f[_0x20b18e(0x465)],_0x33eea3=_0x25a48f(_0x4c435f),_0x1520eb=_0x4c435f==null||(_0xe1c854=_0x4c435f[_0x20b18e(0x321)])==null||(_0xe1c854=_0xe1c854['mindmap'])==null||(_0xe1c854=_0xe1c854[_0x20b18e(0x424)])==null?void 0x0:_0xe1c854[_0x20b18e(0x17b)],_0x3063cc=((_0x33eea3==null?void 0x0:_0x33eea3['layout'][_0x20b18e(0x17b)])??_0x1520eb)==='mindmap-vertical'&&(_0x1a6657[_0x20b18e(0x19e)]===null||_0x1a6657[_0x20b18e(0x44d)]===_0x20b18e(0x1d8)),_0xcfb972=_0x1a6657[_0x20b18e(0x19e)]!==null&&_0x1a6657[_0x20b18e(0x44d)]!==_0x20b18e(0x1d8)&&_0x1a6657[_0x20b18e(0x44d)]!==_0x20b18e(0x36e),_0x290009=_0x3063cc||_0xcfb972,_0x58220b=((_0x11fe0a=_0x5503b0[_0x20b18e(0x32a)])==null?void 0x0:_0x11fe0a['unitId'])===_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)]&&_0x5503b0[_0x20b18e(0x32a)][_0x20b18e(0x1fa)]===_0x1bc91d['elementData'][_0x20b18e(0x1fa)]&&_0x5503b0[_0x20b18e(0x351)][_0x20b18e(0x33b)]?_0x5503b0['selectedIds']:[_0x1bc91d[_0x20b18e(0x2d6)]['elementId']],_0x26be8c=this[_0x20b18e(0x232)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],_0x58220b);this[_0x20b18e(0x426)]&&this[_0x20b18e(0x38e)]===_0x26be8c||(this[_0x20b18e(0x1e6)](),this['_popupDisposable']=this[_0x20b18e(0x307)](this[_0x20b18e(0x1f9)][_0x20b18e(0x1eb)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],_0x1bc91d[_0x20b18e(0x31e)],{'componentKey':Kn,'direction':_0x20b18e(0x2d0),'offset':[0x0,0x8],..._0x290009?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],'subUnitId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],'elementId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x2d3)],'scopeId':_0x1a6657[_0x20b18e(0x3b4)],'isRootNode':_0x1a6657[_0x20b18e(0x19e)]===null,'left':_0x1bc91d['elementData']['element']['transform'][_0x20b18e(0x378)]??0x0,'top':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)][_0x20b18e(0x242)]['top']??0x0,'shapeData':_0x1bc91d[_0x20b18e(0x2d6)]['element'][_0x20b18e(0x396)]===_0x36d773[_0x20b18e(0x46b)]?_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)][_0x20b18e(0x2ed)]:void 0x0,'layout':_0x33eea3==null?void 0x0:_0x33eea3[_0x20b18e(0x424)],'incomingConnectorStyle':this[_0x20b18e(0x28e)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d['elementData'][_0x20b18e(0x1fa)],_0x1a6657[_0x20b18e(0x3b4)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x2d3)])}})),this[_0x20b18e(0x38e)]=_0x26be8c);}[_0x92f39f(0x39d)](){const _0x56af85=_0x92f39f;var _0x5819c3;let _0x221980=this[_0x56af85(0x15c)][_0x56af85(0x2c6)](),_0x40c6e9=_0x221980[_0x56af85(0x32a)],_0x2d1fdb=_0x221980[_0x56af85(0x25b)]??_0x221980[_0x56af85(0x351)][0x0];if(!_0x40c6e9||!_0x2d1fdb)return null;let _0x305c46=this['_boardElementService'][_0x56af85(0x3c4)](_0x40c6e9[_0x56af85(0x237)],_0x40c6e9[_0x56af85(0x1fa)],_0x2d1fdb);if(!_0x305c46||!_0x5213e3(_0x305c46[_0x56af85(0x465)]))return null;let _0x50c5bc=_0x51bae1(_0x40c6e9[_0x56af85(0x237)],_0x2d1fdb),_0x13c60b=this[_0x56af85(0x45a)]['scene'],_0x3999c5=((_0x5819c3=_0x13c60b['getObjectIncludeInGroup'])==null?void 0x0:_0x5819c3[_0x56af85(0x3ec)](_0x13c60b,_0x50c5bc))??this['_renderContext'][_0x56af85(0x1ea)][_0x56af85(0x400)](_0x50c5bc);return _0x3999c5?{'object':_0x3999c5,'elementData':_0x305c46}:null;}['_resolveSelectedEntry'](_0x4288a4){const _0x4d2bc6=_0x92f39f;var _0x4cc436;if(!_0x4288a4)return null;let _0x1b9ebf=_0x16b62c(_0x4288a4['oKey']);if(!_0x1b9ebf)return null;let _0x5a6156=this[_0x4d2bc6(0x15c)]['getSnapshot'](),_0x893fa7=((_0x4cc436=_0x5a6156[_0x4d2bc6(0x32a)])==null?void 0x0:_0x4cc436[_0x4d2bc6(0x237)])===_0x1b9ebf[_0x4d2bc6(0x237)]?_0x5a6156[_0x4d2bc6(0x32a)][_0x4d2bc6(0x1fa)]:void 0x0;if(!_0x893fa7)return null;let _0x2e2211=this[_0x4d2bc6(0x21c)]['getElementById'](_0x1b9ebf[_0x4d2bc6(0x237)],_0x893fa7,_0x1b9ebf[_0x4d2bc6(0x2d3)]);return _0x2e2211?{'object':_0x4288a4,'elementData':_0x2e2211}:null;}};ur=J([q(0x1,_0x3c9b31(_0x41ee3b)),q(0x2,_0x3c9b31(_0xbfe5fc)),q(0x3,_0x3c9b31(_0x3c1d99)),q(0x4,_0x3c9b31(_0x3027f8)),q(0x5,_0x3c9b31(_0x4ccd27))],ur);const dr=_0x92f39f(0x207),fr=_0x37e359[_0x92f39f(0x449)];function pr(_0x4ba950,_0x29292c){const _0x28b6e3=_0x92f39f;return(_0x4ba950??[])[_0x28b6e3(0x1d2)]((_0x5b527a,_0x4f3121)=>(_0x5b527a[_0x4f3121[_0x28b6e3(0x44d)]??_0x29292c][_0x28b6e3(0x1ee)](_0x4f3121),_0x5b527a),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x507a8b){const _0x555de4=_0x92f39f;return _0x507a8b===_0x555de4(0x428)||_0x507a8b===_0x555de4(0x1cb)||_0x507a8b===_0x555de4(0x331);}function hr(_0x3a08d0){const _0x5dc8a6=_0x92f39f;return _0x3a08d0===_0x5dc8a6(0x316)||_0x3a08d0===_0x5dc8a6(0x284);}function gr(_0x423d15,_0x3558d0,_0x3f3d8b){const _0x3361a0=_0x92f39f;return _0x3f3d8b===_0x3361a0(0x428)?_0x3361a0(0x378):_0x3f3d8b===_0x3361a0(0x1cb)?_0x3361a0(0x2c4):_0x423d15[_0x3361a0(0x44d)]===_0x3361a0(0x378)||_0x423d15['side']===_0x3361a0(0x2c4)?_0x423d15[_0x3361a0(0x44d)]:_0x3558d0%0x2==0x0?_0x3361a0(0x378):_0x3361a0(0x2c4);}function _r(_0x51e670,_0x39c53e){const _0x1805f8=_0x92f39f;return(_0x39c53e==null?void 0x0:_0x39c53e[_0x1805f8(0x36f)][_0x1805f8(0x45e)])??_0x51e670??[];}var vr=class extends _0xd4e1e3{constructor(_0x43ac63=dr,_0x193519){const _0x8cee47=_0x92f39f;super(_0x43ac63),K(this,_0x8cee47(0x36b),{'point':null,'children':[]}),this[_0x8cee47(0x458)]=!0x1,this[_0x8cee47(0x181)]=_0xbc2bae[_0x8cee47(0x159)],this[_0x8cee47(0x40b)](_0x193519);}['updateState'](_0x1c6e1a){const _0x2c8221=_0x92f39f;this[_0x2c8221(0x36b)]={...this['_state'],..._0x1c6e1a},this[_0x2c8221(0x36b)][_0x2c8221(0x338)]?this['show']():this['hide'](),this[_0x2c8221(0x3dc)](!0x0);}[_0x92f39f(0x364)](_0x1153d5){return!0x1;}['render'](_0x5172d1,_0x25bc09){const _0x237201=_0x92f39f;let _0x547102=this['_state'][_0x237201(0x338)];if(!_0x547102||!this[_0x237201(0x1d7)])return this[_0x237201(0x3dc)](!0x1),this;let _0x2db950=Number[_0x237201(0x263)](this[_0x237201(0x36b)][_0x237201(0x1ec)])&&(this['_state'][_0x237201(0x1ec)]??0x0)>0x0?this[_0x237201(0x36b)][_0x237201(0x1ec)]:0x1,_0x17e229=_0x365da6['rootWidth'],_0x4add99=_0x365da6['rootHeight'],_0x491f=_0x365da6[_0x237201(0x184)],_0xe955e2=_0x365da6[_0x237201(0x1f6)],_0x2dd59f=_0x29a5bb[_0x237201(0x1e9)],_0x14dfa4=_0x29a5bb[_0x237201(0x1d5)],_0x5b16e2=this[_0x237201(0x36b)]['structureKind']===_0x237201(0x395),_0x218cae=pr(this[_0x237201(0x36b)][_0x237201(0x45e)],_0x5b16e2?_0x237201(0x36e):_0x237201(0x2c4)),_0x367a3b=_0x547102['x']-_0x17e229/0x2,_0x18b5e1=_0x547102['y']-_0x4add99/0x2;if(_0x5172d1[_0x237201(0x383)](),_0x5172d1[_0x237201(0x1fb)]=X[_0x237201(0x2b5)],_0x5172d1[_0x237201(0x1ac)]=X[_0x237201(0x3ef)]/_0x2db950,_0x5172d1['strokeStyle']=X['primaryColor'],hr(this['_state'][_0x237201(0x17b)])){let _0x15b6d6=_r(this[_0x237201(0x36b)][_0x237201(0x45e)],this['_state']['blueprint']),_0x17c454=this[_0x237201(0x36b)][_0x237201(0x17b)]===_0x237201(0x316);if(_0x15b6d6['length']>0x0){if(_0x5172d1['beginPath'](),_0x17c454){let _0x21ba98=_0x491f,_0x2725d7=_0xe955e2,_0x5eaebf=_0x29a5bb[_0x237201(0x1f1)],_0x2531c3=_0x547102['y'],_0x5df5cc=_0x367a3b+_0x17e229,_0x3a9c91=_0x547102['y']-_0x2725d7/0x2,_0x43d8a8=_0x367a3b+_0x17e229+_0x5eaebf;_0x5172d1[_0x237201(0x345)](_0x5df5cc,_0x2531c3),_0x5172d1['lineTo'](_0x43d8a8,_0x2531c3),_0x15b6d6[_0x237201(0x2cc)]((_0x500233,_0x373550)=>{const _0x10d265=_0x237201;let _0x4e3b56=_0x43d8a8+_0x373550*(_0x21ba98+_0x5eaebf);if(_0x373550>0x0){let _0x230250=_0x43d8a8+(_0x373550-0x1)*(_0x21ba98+_0x5eaebf)+_0x21ba98;_0x5172d1[_0x10d265(0x345)](_0x230250,_0x2531c3),_0x5172d1[_0x10d265(0x165)](_0x4e3b56,_0x2531c3);}_0x5172d1[_0x10d265(0x345)](_0x4e3b56,_0x2531c3),_0x5172d1[_0x10d265(0x165)](_0x4e3b56+_0x21ba98,_0x2531c3);}),_0x5172d1['stroke'](),_0x15b6d6[_0x237201(0x2cc)]((_0x5b2096,_0x35627f)=>{const _0x65226=_0x237201;Z(_0x5172d1,_0x43d8a8+_0x35627f*(_0x21ba98+_0x5eaebf),_0x3a9c91,_0x21ba98,_0x2725d7,X[_0x65226(0x38f)]),_0x5172d1[_0x65226(0x17d)]=X['ghostFillColor'],_0x5172d1[_0x65226(0x213)](),_0x5172d1[_0x65226(0x1e7)]();}),_0x15b6d6['forEach']((_0x31aa92,_0x37ce4f)=>{const _0x146bc4=_0x237201;if(!(_0x146bc4(0x45e)in _0x31aa92)||_0x31aa92[_0x146bc4(0x45e)]['length']===0x0)return;let _0xb8d94b=_0x43d8a8+_0x37ce4f*(_0x21ba98+_0x5eaebf),_0xfb6e07=_0xb8d94b+_0x21ba98/0x2,_0x231a60=_0x31aa92[_0x146bc4(0x44d)]===_0x146bc4(0x36e)?_0x146bc4(0x36e):_0x146bc4(0x1d8),_0x49035e=_0x31aa92[_0x146bc4(0x45e)][_0x146bc4(0x32c)](0x0,0x2),_0x541d68=_0x49035e[_0x146bc4(0x33b)]*_0x2725d7+Math[_0x146bc4(0x339)](0x0,_0x49035e[_0x146bc4(0x33b)]-0x1)*_0x14dfa4,_0x4635e2=_0xb8d94b+_0x21ba98+_0x29a5bb[_0x146bc4(0x35a)],_0x2c3eff=_0x231a60===_0x146bc4(0x1d8)?_0x3a9c91-_0x2dd59f-_0x541d68:_0x3a9c91+_0x2725d7+_0x2dd59f,_0x5dc621=_0x2c3eff+_0x541d68/0x2;_0x5172d1['beginPath'](),_0x5172d1[_0x146bc4(0x345)](_0xfb6e07,_0x231a60===_0x146bc4(0x1d8)?_0x3a9c91:_0x3a9c91+_0x2725d7),_0x5172d1[_0x146bc4(0x165)](_0xfb6e07,_0x5dc621),_0x5172d1[_0x146bc4(0x165)](_0x4635e2,_0x5dc621),_0x49035e['forEach']((_0x33a855,_0x3f3c6b)=>{const _0x323690=_0x146bc4;let _0x44b838=_0x2c3eff+_0x3f3c6b*(_0x2725d7+_0x14dfa4)+_0x2725d7/0x2;_0x5172d1[_0x323690(0x345)](_0x4635e2,_0x44b838),_0x5172d1[_0x323690(0x165)](_0x4635e2+_0x21ba98,_0x44b838);}),_0x5172d1[_0x146bc4(0x1e7)](),_0x49035e[_0x146bc4(0x2cc)]((_0x1f6701,_0x2da476)=>{const _0xc0867e=_0x146bc4;let _0x1cbee5=_0x2c3eff+_0x2da476*(_0x2725d7+_0x14dfa4);Z(_0x5172d1,_0x4635e2,_0x1cbee5,_0x21ba98,_0x2725d7,X[_0xc0867e(0x38f)]),_0x5172d1['fillStyle']=X[_0xc0867e(0x1aa)],_0x5172d1[_0xc0867e(0x213)](),_0x5172d1[_0xc0867e(0x1e7)]();});});}else{let _0x150675=_0x547102['x'],_0x1850d8=_0x18b5e1+_0x4add99,_0x455637=_0x29a5bb[_0x237201(0x1f1)],_0x44025a=_0x18b5e1+_0x4add99+_0x455637,_0x4761cb=_0x44025a+(_0x15b6d6[_0x237201(0x33b)]-0x1)*(_0xe955e2+_0x455637)+_0xe955e2/0x2;_0x5172d1[_0x237201(0x345)](_0x150675,_0x1850d8),_0x5172d1[_0x237201(0x165)](_0x150675,_0x4761cb),_0x15b6d6['forEach']((_0x2da925,_0x248162)=>{const _0x1724eb=_0x237201;let _0x153be7=_0x44025a+_0x248162*(_0xe955e2+_0x455637)+_0xe955e2/0x2,_0x1a3529=_0x2da925[_0x1724eb(0x44d)]===_0x1724eb(0x2c4)?_0x1724eb(0x2c4):'left',_0x4f9983=_0x1a3529===_0x1724eb(0x2c4)?_0x150675+_0x29a5bb[_0x1724eb(0x35a)]:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x5e4db8=_0x1a3529===_0x1724eb(0x2c4)?_0x4f9983:_0x4f9983+_0x491f;_0x5172d1[_0x1724eb(0x345)](_0x150675,_0x153be7),_0x5172d1[_0x1724eb(0x165)](_0x5e4db8,_0x153be7);}),_0x5172d1['stroke'](),_0x15b6d6[_0x237201(0x2cc)]((_0x2fefef,_0x4532a3)=>{const _0x4e7047=_0x237201;let _0x598448=_0x44025a+_0x4532a3*(_0xe955e2+_0x455637);Z(_0x5172d1,(_0x2fefef[_0x4e7047(0x44d)]==='right'?'right':_0x4e7047(0x378))==_0x4e7047(0x2c4)?_0x150675+_0x29a5bb['branchGap']:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x598448,_0x491f,_0xe955e2,X['ghostRadius']),_0x5172d1[_0x4e7047(0x17d)]=X[_0x4e7047(0x1aa)],_0x5172d1[_0x4e7047(0x213)](),_0x5172d1[_0x4e7047(0x1e7)]();}),_0x15b6d6[_0x237201(0x2cc)]((_0x14c003,_0x160361)=>{const _0xdab0dd=_0x237201;if(!(_0xdab0dd(0x45e)in _0x14c003)||_0x14c003['children'][_0xdab0dd(0x33b)]===0x0)return;let _0x51b7aa=_0x44025a+_0x160361*(_0xe955e2+_0x455637)+_0xe955e2/0x2,_0x480dbe=_0x14c003[_0xdab0dd(0x44d)]==='right'?_0xdab0dd(0x2c4):_0xdab0dd(0x378),_0x1aadca=_0x14c003[_0xdab0dd(0x45e)]['slice'](0x0,0x2),_0x228fee=_0x1aadca[_0xdab0dd(0x33b)]*_0xe955e2+Math[_0xdab0dd(0x339)](0x0,_0x1aadca[_0xdab0dd(0x33b)]-0x1)*_0x14dfa4,_0x50e550=_0x480dbe===_0xdab0dd(0x2c4)?_0x150675+_0x29a5bb['branchGap']:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x4be1e9=_0x480dbe==='right'?_0x50e550+_0x491f+_0x2dd59f:_0x50e550-_0x2dd59f-_0x491f,_0x1198fe=_0x51b7aa-_0x228fee/0x2,_0x33cfe1=_0x480dbe===_0xdab0dd(0x2c4)?_0x50e550+_0x491f:_0x50e550,_0x3d839b=_0x480dbe==='right'?_0x4be1e9:_0x4be1e9+_0x491f;_0x5172d1[_0xdab0dd(0x2ec)](),_0x5172d1[_0xdab0dd(0x345)](_0x33cfe1,_0x51b7aa),_0x5172d1[_0xdab0dd(0x165)](_0x3d839b,_0x51b7aa),_0x1aadca[_0xdab0dd(0x2cc)]((_0xb1a504,_0xc492c7)=>{const _0x52eaaf=_0xdab0dd;let _0x1c8867=_0x1198fe+_0xc492c7*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1[_0x52eaaf(0x345)](_0x3d839b,_0x1c8867),_0x5172d1[_0x52eaaf(0x165)](_0x480dbe===_0x52eaaf(0x2c4)?_0x4be1e9+_0x491f:_0x4be1e9,_0x1c8867);}),_0x5172d1[_0xdab0dd(0x1e7)](),_0x1aadca[_0xdab0dd(0x2cc)]((_0x441072,_0x240474)=>{const _0x40e050=_0xdab0dd;let _0xb99c0f=_0x1198fe+_0x240474*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x4be1e9,_0xb99c0f,_0x491f,_0xe955e2,X[_0x40e050(0x38f)]),_0x5172d1[_0x40e050(0x17d)]=X[_0x40e050(0x1aa)],_0x5172d1[_0x40e050(0x213)](),_0x5172d1[_0x40e050(0x1e7)]();});});}}}else{if(mr(this[_0x237201(0x36b)]['structureKind'])){let _0x567076=this[_0x237201(0x36b)][_0x237201(0x45e)]??[],_0x316589=_0x18b5e1+_0x4add99,_0xccf8c0=_0x316589+_0x2dd59f,_0x4d4a43=_0x547102['x'];if(_0x567076[_0x237201(0x33b)]>0x0){let _0x2cca83=_0xccf8c0+(_0x567076[_0x237201(0x33b)]-0x1)*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1['beginPath'](),_0x5172d1[_0x237201(0x345)](_0x4d4a43,_0x316589),_0x5172d1[_0x237201(0x165)](_0x4d4a43,_0x2cca83),_0x567076[_0x237201(0x2cc)]((_0x4e2808,_0x5b9f64)=>{const _0xcb8196=_0x237201;let _0x1e7178=gr(_0x4e2808,_0x5b9f64,this[_0xcb8196(0x36b)][_0xcb8196(0x17b)]),_0x46e1b8=_0xccf8c0+_0x5b9f64*(_0xe955e2+_0x14dfa4),_0x162bb6=_0x1e7178==='right'?_0x4d4a43+_0x2dd59f:_0x4d4a43-_0x2dd59f-_0x491f,_0x290732=_0x46e1b8+_0xe955e2/0x2;_0x5172d1[_0xcb8196(0x345)](_0x4d4a43,_0x290732),_0x5172d1['lineTo'](_0x1e7178===_0xcb8196(0x2c4)?_0x162bb6:_0x162bb6+_0x491f,_0x290732);}),_0x5172d1[_0x237201(0x1e7)](),_0x567076[_0x237201(0x2cc)]((_0x2f96df,_0x5d7e33)=>{const _0x3a85de=_0x237201;let _0x320ac2=gr(_0x2f96df,_0x5d7e33,this[_0x3a85de(0x36b)]['structureKind']),_0x525d14=_0xccf8c0+_0x5d7e33*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x320ac2==='right'?_0x4d4a43+_0x2dd59f:_0x4d4a43-_0x2dd59f-_0x491f,_0x525d14,_0x491f,_0xe955e2,X['ghostRadius']),_0x5172d1[_0x3a85de(0x17d)]=X[_0x3a85de(0x1aa)],_0x5172d1['fill'](),_0x5172d1[_0x3a85de(0x1e7)]();});}}else _0x5b16e2&&[_0x237201(0x1d8),_0x237201(0x36e)]['forEach'](_0x4d3af8=>{const _0x31d989=_0x237201;let _0x2d0453=_0x218cae[_0x4d3af8];if(_0x2d0453[_0x31d989(0x33b)]===0x0)return;let _0xe8b2da=_0x2d0453[_0x31d989(0x33b)]*_0x491f+Math[_0x31d989(0x339)](0x0,_0x2d0453[_0x31d989(0x33b)]-0x1)*_0x14dfa4,_0x2fe043=_0x547102['x']-_0xe8b2da/0x2,_0x74ca06=_0x4d3af8===_0x31d989(0x36e)?_0x18b5e1+_0x4add99:_0x18b5e1,_0x10ba0f=_0x4d3af8===_0x31d989(0x36e)?_0x74ca06+_0x29a5bb[_0x31d989(0x35a)]:_0x74ca06-_0x29a5bb['branchGap'],_0x1966f8=_0x4d3af8==='bottom'?_0x18b5e1+_0x4add99+_0x2dd59f:_0x18b5e1-_0x2dd59f-_0xe955e2;_0x5172d1[_0x31d989(0x2ec)](),_0x5172d1[_0x31d989(0x345)](_0x547102['x'],_0x74ca06),_0x5172d1[_0x31d989(0x165)](_0x547102['x'],_0x10ba0f),_0x2d0453[_0x31d989(0x33b)]>0x1&&(_0x5172d1['moveTo'](_0x2fe043+_0x491f/0x2,_0x10ba0f),_0x5172d1['lineTo'](_0x2fe043+_0xe8b2da-_0x491f/0x2,_0x10ba0f)),_0x2d0453[_0x31d989(0x2cc)]((_0xd77c55,_0x608d79)=>{const _0x2b9208=_0x31d989;let _0x39c228=_0x2fe043+_0x608d79*(_0x491f+_0x14dfa4)+_0x491f/0x2;_0x5172d1[_0x2b9208(0x345)](_0x39c228,_0x10ba0f),_0x5172d1['lineTo'](_0x39c228,_0x4d3af8==='bottom'?_0x1966f8:_0x1966f8+_0xe955e2);}),_0x5172d1[_0x31d989(0x1e7)](),_0x2d0453[_0x31d989(0x2cc)]((_0x482e39,_0x4cc13f)=>{const _0x174934=_0x31d989;Z(_0x5172d1,_0x2fe043+_0x4cc13f*(_0x491f+_0x14dfa4),_0x1966f8,_0x491f,_0xe955e2,X[_0x174934(0x38f)]),_0x5172d1[_0x174934(0x17d)]=X[_0x174934(0x1aa)],_0x5172d1[_0x174934(0x213)](),_0x5172d1[_0x174934(0x1e7)]();});});}(_0x5b16e2||mr(this['_state'][_0x237201(0x17b)])||hr(this['_state'][_0x237201(0x17b)])?[]:['left',_0x237201(0x2c4)])[_0x237201(0x2cc)](_0x5f18a3=>{const _0x37b3d3=_0x237201;let _0x4e49f1=_0x218cae[_0x5f18a3];if(_0x4e49f1[_0x37b3d3(0x33b)]===0x0)return;let _0x4926f6=_0x4e49f1['length']*_0xe955e2+Math['max'](0x0,_0x4e49f1[_0x37b3d3(0x33b)]-0x1)*_0x14dfa4,_0x223189=_0x547102['y']-_0x4926f6/0x2,_0x1e8116=_0x5f18a3==='right'?_0x367a3b+_0x17e229:_0x367a3b,_0xdcbbc9=_0x5f18a3==='right'?_0x1e8116+_0x29a5bb['branchGap']:_0x1e8116-_0x29a5bb[_0x37b3d3(0x35a)],_0x50578b=_0x5f18a3==='right'?_0x367a3b+_0x17e229+_0x2dd59f:_0x367a3b-_0x2dd59f-_0x491f;_0x5172d1[_0x37b3d3(0x2ec)](),_0x5172d1[_0x37b3d3(0x345)](_0x1e8116,_0x547102['y']),_0x5172d1['lineTo'](_0xdcbbc9,_0x547102['y']),_0x4e49f1[_0x37b3d3(0x33b)]>0x1&&(_0x5172d1['moveTo'](_0xdcbbc9,_0x223189+_0xe955e2/0x2),_0x5172d1[_0x37b3d3(0x165)](_0xdcbbc9,_0x223189+_0x4926f6-_0xe955e2/0x2)),_0x4e49f1['forEach']((_0x524d40,_0x17e034)=>{const _0x42340d=_0x37b3d3;let _0x3252de=_0x223189+_0x17e034*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1['moveTo'](_0xdcbbc9,_0x3252de),_0x5172d1[_0x42340d(0x165)](_0x5f18a3===_0x42340d(0x2c4)?_0x50578b:_0x50578b+_0x491f,_0x3252de);}),_0x5172d1[_0x37b3d3(0x1e7)](),_0x4e49f1[_0x37b3d3(0x2cc)]((_0x4c3316,_0x2b7eae)=>{const _0x5d77dd=_0x37b3d3;let _0x214df9=_0x223189+_0x2b7eae*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x50578b,_0x214df9,_0x491f,_0xe955e2,X[_0x5d77dd(0x38f)]),_0x5172d1[_0x5d77dd(0x17d)]=X[_0x5d77dd(0x1aa)],_0x5172d1[_0x5d77dd(0x213)](),_0x5172d1[_0x5d77dd(0x1e7)]();});}),Z(_0x5172d1,_0x367a3b,_0x18b5e1,_0x17e229,_0x4add99,X[_0x237201(0x309)]),_0x5172d1[_0x237201(0x17d)]=X[_0x237201(0x1fc)],_0x5172d1[_0x237201(0x213)](),_0x5172d1[_0x237201(0x1e7)](),_0x5172d1[_0x237201(0x17d)]=X['rootTextColor'],_0x5172d1['font']=sn(X[_0x237201(0x425)],X['rootFontSize'],_0x2db950),_0x5172d1[_0x237201(0x3cc)]=_0x237201(0x2a0),_0x5172d1['textBaseline']=_0x237201(0x404);let _0x2f84c4=X[_0x237201(0x34e)]/_0x2db950;return _0x5172d1[_0x237201(0x393)](_0x13c229,_0x547102['x'],_0x547102['y'],Math[_0x237201(0x339)](0x1,_0x17e229-_0x2f84c4*0x2)),_0x5172d1[_0x237201(0x3f7)](),this[_0x237201(0x3dc)](!0x1),this;}};const yr={'children':[{'text':_0x13c229,'orderKey':_0x393951(0x0),'side':'right'},{'text':_0x13c229,'orderKey':_0x393951(0x1),'side':'right'},{'text':_0x13c229,'orderKey':_0x393951(0x2),'side':_0x92f39f(0x2c4)}]};var br=class extends _0x2756ad{constructor(..._0xe8aa1f){const _0x28a881=_0x92f39f;super(..._0xe8aa1f),K(this,_0x28a881(0x1b2),yr);}[_0x92f39f(0x23d)](_0x25e0ee){const _0x325f29=_0x92f39f;var _0x214632;let _0x539984=(_0x25e0ee==null?void 0x0:_0x25e0ee['children'])??(_0x25e0ee==null||(_0x214632=_0x25e0ee[_0x325f29(0x1c5)])==null?void 0x0:_0x214632[_0x325f29(0x36f)][_0x325f29(0x45e)]);this[_0x325f29(0x1b2)]={'rootText':_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x1d4)],'structureKind':_0x25e0ee==null?void 0x0:_0x25e0ee['structureKind'],'branchLineType':_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x434)],'children':this[_0x325f29(0x42e)](_0x539984,_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x17b)]),'blueprint':_0x25e0ee!=null&&_0x25e0ee[_0x325f29(0x1c5)]?this[_0x325f29(0x2c2)](_0x25e0ee['blueprint']):void 0x0};}[_0x92f39f(0x27f)](){const _0xcf05b6=_0x92f39f;var _0x396e0a;return{'rootText':this[_0xcf05b6(0x1b2)][_0xcf05b6(0x1d4)],'structureKind':this[_0xcf05b6(0x1b2)]['structureKind'],'branchLineType':this[_0xcf05b6(0x1b2)][_0xcf05b6(0x434)],'children':(_0x396e0a=this[_0xcf05b6(0x1b2)][_0xcf05b6(0x45e)])==null?void 0x0:_0x396e0a[_0xcf05b6(0x427)](_0x26618f=>({..._0x26618f})),'blueprint':this[_0xcf05b6(0x1b2)]['blueprint']?this[_0xcf05b6(0x2c2)](this[_0xcf05b6(0x1b2)][_0xcf05b6(0x1c5)]):void 0x0};}[_0x92f39f(0x2c2)](_0x5b3544){const _0x377916=_0x92f39f;return{'title':_0x5b3544[_0x377916(0x368)],'root':this[_0x377916(0x248)](_0x5b3544[_0x377916(0x36f)])};}[_0x92f39f(0x248)](_0x4ff851){const _0x1f71a6=_0x92f39f;return{..._0x4ff851,'foreignAttributes':_0x4ff851[_0x1f71a6(0x24a)]?{..._0x4ff851['foreignAttributes']}:void 0x0,'children':_0x4ff851[_0x1f71a6(0x45e)][_0x1f71a6(0x427)](_0x4c9b2d=>this['_cloneBlueprintNode'](_0x4c9b2d))};}[_0x92f39f(0x42e)](_0x25dde9,_0xb7aaec){const _0xe9a65e=_0x92f39f;let _0x40f5e4=!_0x25dde9,_0x4b27aa=_0x25dde9??yr[_0xe9a65e(0x45e)];return _0x4b27aa==null?void 0x0:_0x4b27aa[_0xe9a65e(0x427)]((_0x1f7e6b,_0x37081c)=>({..._0x1f7e6b,'text':_0x1f7e6b[_0xe9a65e(0x423)]??_0x13c229,'side':this['_resolveChildSide'](_0x1f7e6b[_0xe9a65e(0x44d)],_0x37081c,_0xb7aaec,_0x40f5e4)}));}[_0x92f39f(0x32f)](_0x3e090a,_0x17af8d,_0x539fde,_0x48acad){const _0x25f03a=_0x92f39f;return _0x539fde===_0x25f03a(0x395)?_0x48acad?'bottom':_0x3e090a??_0x25f03a(0x36e):_0x539fde===_0x25f03a(0x428)?_0x48acad?_0x25f03a(0x378):_0x3e090a??_0x25f03a(0x378):_0x539fde===_0x25f03a(0x1cb)?_0x48acad?_0x25f03a(0x2c4):_0x3e090a??_0x25f03a(0x2c4):_0x539fde===_0x25f03a(0x331)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4):_0x3e090a??(_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4)):_0x539fde===_0x25f03a(0x316)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x1d8):_0x25f03a(0x36e):_0x3e090a??(_0x17af8d%0x2==0x0?'top':'bottom'):_0x539fde===_0x25f03a(0x284)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4):_0x3e090a??(_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4)):_0x3e090a;}};function xr(_0x1aad08,_0x5e8129){const _0x445aae=_0x92f39f;let _0x19379a=Number[_0x445aae(0x263)](_0x5e8129[_0x445aae(0x1ec)])&&_0x5e8129[_0x445aae(0x1ec)]>0x0?_0x5e8129['zoomRatio']:0x1;return{'x':Math[_0x445aae(0x370)]((_0x1aad08[_0x445aae(0x3fb)]-_0x5e8129[_0x445aae(0x3d9)]['x'])/_0x19379a),'y':Math[_0x445aae(0x370)]((_0x1aad08[_0x445aae(0x2be)]-_0x5e8129[_0x445aae(0x3d9)]['y'])/_0x19379a)};}function Sr(_0x2da223){const _0xa6379a=_0x92f39f;var _0x552c21;if(_0x2da223!=null&&_0x2da223['dispose']){_0x2da223['dispose']();return;}_0x2da223==null||(_0x552c21=_0x2da223[_0xa6379a(0x365)])==null||_0x552c21[_0xa6379a(0x3ec)](_0x2da223);}function Cr(_0x2d8ab2){const _0x101c8a=_0x92f39f;var _0x54b5f2;return _0x2d8ab2[_0x101c8a(0x416)]===_0x28dd01[_0x101c8a(0x3ae)]&&((_0x54b5f2=_0x2d8ab2[_0x101c8a(0x1d6)])==null?void 0x0:_0x54b5f2[_0x101c8a(0x396)])===_0x28dd01['MindMap'];}let wr=class extends _0xb1406a{constructor(_0x120ac1,_0x45a01d,_0x282799,_0x472624,_0xde8518,_0x10ca2e,_0x4fad3f){const _0x35238c=_0x92f39f;super(),this[_0x35238c(0x45a)]=_0x120ac1,this[_0x35238c(0x24d)]=_0x45a01d,this[_0x35238c(0x327)]=_0x282799,this['_commandService']=_0x472624,this[_0x35238c(0x306)]=_0xde8518,this['_elementStateService']=_0x10ca2e,this[_0x35238c(0x3fa)]=_0x4fad3f,K(this,_0x35238c(0x281),null),K(this,'_lastPoint',null),this[_0x35238c(0x270)]();}[_0x92f39f(0x270)](){const _0xfbe722=_0x92f39f;var _0x5b6f20;let {scene:_0x58c4bb,unitId:_0x363e82}=this['_renderContext'],_0x9d8748=this[_0xfbe722(0x24d)][_0xfbe722(0x20d)](_0x363e82,_0x597c76[_0xfbe722(0x1e4)]);if(!_0x9d8748)return;let _0x4cb93a=(_0x5b6f20=_0x58c4bb[_0xfbe722(0x1ad)])==null?void 0x0:_0x5b6f20['subscribeEvent']({'priority':0x4,'next':([_0x54b2aa,_0x110b19])=>this[_0xfbe722(0x2e8)](_0x54b2aa,_0x110b19)}),_0xebcf35=_0x58c4bb[_0xfbe722(0x343)][_0xfbe722(0x1ae)]({'priority':0x4,'next':([_0x2d2dad,_0x429c51])=>this['_handlePointerDown'](_0x9d8748,_0x2d2dad,_0x429c51)});this['disposeWithMe'](_0x594a26(()=>Sr(_0x4cb93a))),this[_0xfbe722(0x307)](_0x594a26(()=>Sr(_0xebcf35)));let _0x15552e=this[_0xfbe722(0x327)][_0xfbe722(0x421)][_0xfbe722(0x457)](()=>this[_0xfbe722(0x355)]());this['disposeWithMe'](_0x594a26(()=>Sr(_0x15552e))),this[_0xfbe722(0x307)](_0x594a26(()=>{const _0x50520f=_0xfbe722;this[_0x50520f(0x228)]();})),this['_syncPreviewObject']();}['_syncPreviewObject'](){const _0x3a23ca=_0x92f39f;var _0x1e2f77,_0x38aa65;let _0x30d125=this[_0x3a23ca(0x327)][_0x3a23ca(0x18a)]();if(!Cr(_0x30d125)){this[_0x3a23ca(0x228)]();return;}let _0x1410c1=this['_ensurePreviewObject'](),_0x3c53ec=this[_0x3a23ca(0x306)][_0x3a23ca(0x27f)]();_0x1410c1['updateState']({'point':this[_0x3a23ca(0x436)],'structureKind':_0x3c53ec[_0x3a23ca(0x17b)],'children':_0x3c53ec[_0x3a23ca(0x45e)],'blueprint':_0x3c53ec['blueprint'],'zoomRatio':_0x30d125[_0x3a23ca(0x1ec)]}),(_0x1e2f77=(_0x38aa65=this[_0x3a23ca(0x45a)]['scene'])[_0x3a23ca(0x3dc)])==null||_0x1e2f77[_0x3a23ca(0x3ec)](_0x38aa65,!0x0);}[_0x92f39f(0x42c)](){const _0x6a546=_0x92f39f;var _0xf8a7c1,_0x41b292;if(this[_0x6a546(0x281)])return this[_0x6a546(0x281)];let _0x54e1c2=this[_0x6a546(0x306)]['getTemplate'](),_0x4688e7=new vr(dr,{'point':this[_0x6a546(0x436)],'structureKind':_0x54e1c2[_0x6a546(0x17b)],'children':_0x54e1c2[_0x6a546(0x45e)],'blueprint':_0x54e1c2[_0x6a546(0x1c5)],'zoomRatio':this[_0x6a546(0x327)][_0x6a546(0x18a)]()[_0x6a546(0x1ec)]});return this[_0x6a546(0x281)]=_0x4688e7,(_0xf8a7c1=(_0x41b292=this[_0x6a546(0x45a)][_0x6a546(0x1ea)])['addObject'])==null||_0xf8a7c1[_0x6a546(0x3ec)](_0x41b292,_0x4688e7,fr),_0x4688e7;}[_0x92f39f(0x228)](){const _0x2f8008=_0x92f39f;var _0x389714,_0x340de1,_0x3b3d47,_0x4684b3;if(!this[_0x2f8008(0x281)]){this[_0x2f8008(0x436)]=null;return;}(_0x389714=(_0x340de1=this[_0x2f8008(0x45a)]['scene'])[_0x2f8008(0x295)])==null||_0x389714[_0x2f8008(0x3ec)](_0x340de1,[this['_previewObject']]),this[_0x2f8008(0x281)]=null,this['_lastPoint']=null,(_0x3b3d47=(_0x4684b3=this[_0x2f8008(0x45a)][_0x2f8008(0x1ea)])['makeDirty'])==null||_0x3b3d47['call'](_0x4684b3,!0x0);}['_getPointFromEvent'](_0x1ac25a){const _0xdf4dae=_0x92f39f;let _0x1cfe0c=this['_stateService'][_0xdf4dae(0x18a)]();return xr(_0x1ac25a,{'panOffset':_0x1cfe0c[_0xdf4dae(0x1e5)],'zoomRatio':_0x1cfe0c[_0xdf4dae(0x1ec)]});}['_resolveRootTopLeft'](_0x679422){const _0x20ed7e=_0x92f39f;return{'left':Math['round'](_0x679422['x']-_0x365da6[_0x20ed7e(0x296)]/0x2),'top':Math[_0x20ed7e(0x370)](_0x679422['y']-_0x365da6['rootHeight']/0x2)};}[_0x92f39f(0x2e8)](_0x243b16,_0x519d1d){const _0x49a98e=_0x92f39f;Cr(this[_0x49a98e(0x327)][_0x49a98e(0x18a)]())&&(this['_lastPoint']=this[_0x49a98e(0x2b3)](_0x243b16),this[_0x49a98e(0x355)](),_0x519d1d[_0x49a98e(0x30f)]());}async[_0x92f39f(0x219)](_0x13913b,_0x51053d,_0x16575f){const _0x2814e7=_0x92f39f;let _0x56e113=await this[_0x2814e7(0x394)](_0x13913b,_0x51053d,_0x16575f);if(!_0x56e113)return;let _0x30d9ce={'unitId':this[_0x2814e7(0x45a)][_0x2814e7(0x237)],'subUnitId':_0x56e113[_0x2814e7(0x1fa)]};this[_0x2814e7(0x3fa)][_0x2814e7(0x222)](),this[_0x2814e7(0x3fa)][_0x2814e7(0x407)]({..._0x30d9ce,'shapeId':_0x56e113['rootNodeId'],'shapeKey':_0x51bae1(_0x30d9ce['unitId'],_0x56e113[_0x2814e7(0x406)]),'visible':!0x0});}async[_0x92f39f(0x394)](_0x48e5c1,_0x1b29d0,_0x15f794){const _0x3109e2=_0x92f39f;var _0x46d9fb;let _0x2f6d97=this[_0x3109e2(0x327)][_0x3109e2(0x18a)](),_0x6bba35=_0x1b29d0[_0x3109e2(0x438)]??0x0;if(!Cr(_0x2f6d97)||_0x6bba35!==0x0)return null;let _0x195a9b=this[_0x3109e2(0x2b3)](_0x1b29d0),_0x3cd422=this[_0x3109e2(0x16b)](_0x195a9b),_0x3ef35d=this['_insertStateService'][_0x3109e2(0x27f)](),_0x5ca725=_0x38dd6c(0x6),_0x5593af=_0x48e5c1['getActivePageId'](),_0xce6641=this[_0x3109e2(0x282)][_0x3109e2(0x1b1)](_0x23721b['id'],{'unitId':this[_0x3109e2(0x45a)][_0x3109e2(0x237)],'subUnitId':_0x5593af,'left':_0x3cd422[_0x3109e2(0x378)],'top':_0x3cd422['top'],'rootNodeId':_0x5ca725,'rootText':_0x3ef35d[_0x3109e2(0x1d4)],'structureKind':_0x3ef35d[_0x3109e2(0x17b)],'branchLineType':_0x3ef35d['branchLineType'],'children':_0x3ef35d['children'],'blueprint':_0x3ef35d[_0x3109e2(0x1c5)]});if(this[_0x3109e2(0x327)][_0x3109e2(0x1c6)](_0x28dd01[_0x3109e2(0x36c)]),_0x15f794[_0x3109e2(0x30f)](),(_0x46d9fb=_0x1b29d0[_0x3109e2(0x170)])==null||_0x46d9fb[_0x3109e2(0x3ec)](_0x1b29d0),!await _0xce6641||this[_0x3109e2(0x22f)])return null;let _0x383829={'unitId':this[_0x3109e2(0x45a)]['unitId'],'subUnitId':_0x5593af};return this[_0x3109e2(0x15c)]['selectElements'](_0x383829,[_0x5ca725],_0x5ca725),{'rootNodeId':_0x5ca725,'subUnitId':_0x5593af};}};wr=J([q(0x1,_0x3171b5),q(0x2,_0x239302),q(0x3,_0x3aa11b),q(0x4,_0x3c9b31(br)),q(0x5,_0x3c1d99),q(0x6,_0x3c9b31(_0x3027f8))],wr);var Tr=class extends _0x2756ad{constructor(..._0x5bd19f){const _0x4ed110=_0x92f39f;super(..._0x5bd19f),K(this,_0x4ed110(0x245),new _0x257d31()),K(this,_0x4ed110(0x189),this['_refresh$'][_0x4ed110(0x18e)]());}[_0x92f39f(0x38d)](_0x1c746c){const _0x59c413=_0x92f39f;this[_0x59c413(0x245)][_0x59c413(0x30c)](_0x1c746c);}[_0x92f39f(0x340)](){const _0x266b42=_0x92f39f;this[_0x266b42(0x245)]['complete'](),super['dispose']();}};function Er(_0x409642){const _0x3834a3=_0x92f39f;return typeof _0x409642==_0x3834a3(0x2bc)&&Number['isFinite'](_0x409642)&&_0x409642>0x0;}function Dr(_0x40ca3f,_0x3e5f37,_0x1039d2){const _0x54d9b1=_0x92f39f;let _0x2b7135=_0x40ca3f[_0x3e5f37],_0xfe342f=_0x5213e3(_0x2b7135==null?void 0x0:_0x2b7135[_0x54d9b1(0x465)]);if(!_0x2b7135||!_0xfe342f)return null;let _0x376f41=_0x4789c7(_0x2b7135,_0x1039d2);if(!_0x376f41)return null;let _0x25a40c=_0x2b7135[_0x54d9b1(0x242)]??_0x2b7135['element']['transform'],_0x33350c={..._0x40ca3f,[_0x3e5f37]:{..._0x2b7135,'transform':{..._0x25a40c,'width':_0x376f41[_0x54d9b1(0x389)],'height':_0x376f41[_0x54d9b1(0x1fe)]},'element':{..._0x2b7135['element'],'transform':{..._0x2b7135[_0x54d9b1(0x465)][_0x54d9b1(0x242)],'width':_0x376f41[_0x54d9b1(0x389)],'height':_0x376f41[_0x54d9b1(0x1fe)]}}}};return _0xa5f4f8(_0x33350c,_0xfe342f[_0x54d9b1(0x3b4)]);}let Or=class extends _0xb1406a{constructor(_0x18cb18,_0x2b1471,_0x205ceb,_0x58a88b,_0x35b943,_0x341c4f){const _0x50636c=_0x92f39f;super(),this[_0x50636c(0x45a)]=_0x18cb18,this[_0x50636c(0x447)]=_0x2b1471,this[_0x50636c(0x21c)]=_0x205ceb,this[_0x50636c(0x18c)]=_0x58a88b,this[_0x50636c(0x2fd)]=_0x35b943,this['_commandService']=_0x341c4f,K(this,_0x50636c(0x1e0),null),K(this,_0x50636c(0x258),{'match':_0x16b67d=>_0x16b67d[_0x50636c(0x237)]===this[_0x50636c(0x45a)][_0x50636c(0x237)]&&!!_0x5213e3(_0x16b67d[_0x50636c(0x465)]),'resolveHostSize':_0x34d6ef=>this[_0x50636c(0x42a)](_0x34d6ef),'previewHostSize':_0xe36a08=>this['_previewHostSize'](_0xe36a08),'updateHostSize':_0x3e37e8=>this[_0x50636c(0x439)](_0x3e37e8),'updateShapeText':_0x17e54b=>this['_updateShapeText'](_0x17e54b)}),this[_0x50636c(0x307)](this[_0x50636c(0x447)]['registerProvider'](this[_0x50636c(0x258)])),this[_0x50636c(0x182)](),this[_0x50636c(0x307)](_0x594a26(()=>this[_0x50636c(0x1a2)]()));}['_updateHostSize'](_0x323e10){const _0x1ad3d9=_0x92f39f;return this[_0x1ad3d9(0x2e1)](_0x323e10);}[_0x92f39f(0x461)](_0x5df956){const _0x313281=_0x92f39f;let _0xa522da=_0x5df956[_0x313281(0x176)]['hostSize']?this[_0x313281(0x42a)]({'elementData':_0x5df956[_0x313281(0x2d6)],'params':_0x5df956[_0x313281(0x176)][_0x313281(0x1ab)]}):null,_0x169dee=_0x5df956[_0x313281(0x2d6)]['transform']??_0x5df956[_0x313281(0x2d6)]['element'][_0x313281(0x242)];return(!_0xa522da||_0xa522da[_0x313281(0x389)]===_0x169dee[_0x313281(0x389)]&&_0xa522da[_0x313281(0x1fe)]===_0x169dee['height'])&&_0x485d33(_0x5df956[_0x313281(0x176)]['shapeText'],_0x5df956['params'][_0x313281(0x294)])?!0x0:this[_0x313281(0x282)][_0x313281(0x28b)](_0x5049e3['id'],{'unitId':_0x5df956['params']['unitId'],'subUnitId':_0x5df956[_0x313281(0x176)][_0x313281(0x1fa)],'nodeId':_0x5df956[_0x313281(0x176)][_0x313281(0x418)],'shapeText':_0x5df956['params']['shapeText'],..._0xa522da?{'hostSize':{'width':_0xa522da[_0x313281(0x389)],'height':_0xa522da[_0x313281(0x1fe)]}}:null});}[_0x92f39f(0x2e1)](_0x11e143){const _0xdc0d7f=_0x92f39f;let _0x5a8b67=this['_resolveHostSize'](_0x11e143);if(!_0x5a8b67)return!0x1;let _0x22d80e=_0x11e143['elementData'][_0xdc0d7f(0x242)]??_0x11e143[_0xdc0d7f(0x2d6)][_0xdc0d7f(0x465)]['transform'];return!this[_0xdc0d7f(0x1e0)]&&_0x22d80e[_0xdc0d7f(0x389)]===_0x5a8b67[_0xdc0d7f(0x389)]&&_0x22d80e[_0xdc0d7f(0x1fe)]===_0x5a8b67[_0xdc0d7f(0x1fe)]||this[_0xdc0d7f(0x369)](_0x11e143,_0x5a8b67),!0x0;}['_resolveHostSize'](_0x482fc5){const _0x1c8725=_0x92f39f;return!Er(_0x482fc5['params']['width'])||!Er(_0x482fc5[_0x1c8725(0x176)][_0x1c8725(0x1fe)])?null:_0x4789c7(_0x482fc5[_0x1c8725(0x2d6)],{'width':_0x482fc5['params'][_0x1c8725(0x389)],'height':_0x482fc5['params'][_0x1c8725(0x1fe)]});}['_initEditingRestore'](){const _0x3e244f=_0x92f39f;this[_0x3e244f(0x307)](_0x594a26(this[_0x3e244f(0x18c)][_0x3e244f(0x304)][_0x3e244f(0x312)](_0x3568ee(this['dispose$']))[_0x3e244f(0x457)](_0x8deaec=>{_0x8deaec||this['_restoreActivePreview']();})));}[_0x92f39f(0x369)](_0x13e76f,_0x3bce1c){const _0x25b082=_0x92f39f;var _0x409bfb;let _0x9a07f5=this[_0x25b082(0x21c)][_0x25b082(0x2bd)](_0x13e76f['params'][_0x25b082(0x237)],_0x13e76f[_0x25b082(0x176)][_0x25b082(0x1fa)]),_0x25f16a=Dr(_0x9a07f5,_0x13e76f[_0x25b082(0x176)]['shapeId'],_0x3bce1c),_0x54390a=_0x5213e3((_0x409bfb=_0x9a07f5[_0x13e76f['params'][_0x25b082(0x418)]])==null?void 0x0:_0x409bfb['element']);_0x25f16a&&_0x54390a&&(this[_0x25b082(0x1e0)]={'unitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x237)],'subUnitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x1fa)],'scopeId':_0x54390a['structureScopeId']},this[_0x25b082(0x23a)](_0x25f16a,_0x54390a[_0x25b082(0x3b4)])&&this['_previewRefreshService'][_0x25b082(0x38d)]({'unitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x237)],'subUnitId':_0x13e76f[_0x25b082(0x176)]['subUnitId'],'nodeId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x418)],'scopeId':_0x54390a[_0x25b082(0x3b4)]}));}[_0x92f39f(0x1a2)](){const _0x28c205=_0x92f39f;let _0xea8a68=this[_0x28c205(0x1e0)];if(!_0xea8a68)return;this['_activePreview']=null;let _0x595e33=this[_0x28c205(0x21c)]['getElementData'](_0xea8a68[_0x28c205(0x237)],_0xea8a68[_0x28c205(0x1fa)]);this[_0x28c205(0x23a)](_0x595e33,_0xea8a68[_0x28c205(0x3d0)])&&this[_0x28c205(0x2fd)]['notify']({'unitId':_0xea8a68[_0x28c205(0x237)],'subUnitId':_0xea8a68['subUnitId'],'nodeId':_0xea8a68[_0x28c205(0x3d0)],'scopeId':_0xea8a68[_0x28c205(0x3d0)]});}[_0x92f39f(0x23a)](_0x49a693,_0x240d6a){const _0x2b2a95=_0x92f39f;let _0x318d68=!0x1;if(Object[_0x2b2a95(0x1f3)](_0x49a693)[_0x2b2a95(0x2cc)](_0x41d4f4=>{const _0x439725=_0x2b2a95;var _0x38a0be;let _0x11641c=_0x5213e3(_0x41d4f4['element']),_0x4bdd3d=(_0x38a0be=_0x41d4f4[_0x439725(0x465)][_0x439725(0x321)])==null?void 0x0:_0x38a0be[_0x439725(0x220)];if(_0x41d4f4[_0x439725(0x2d3)]!==_0x240d6a&&(_0x11641c==null?void 0x0:_0x11641c[_0x439725(0x3b4)])!==_0x240d6a&&(_0x4bdd3d==null?void 0x0:_0x4bdd3d[_0x439725(0x3b4)])!==_0x240d6a)return;let _0x2d052e=this[_0x439725(0x3d6)](_0x41d4f4[_0x439725(0x2d3)]);_0x2d052e&&(_0x318d68=_0x3dad20(_0x2d052e,_0x41d4f4,{'elementData':_0x49a693,'unitId':this[_0x439725(0x45a)][_0x439725(0x237)]})||_0x318d68);}),_0x318d68){var _0x3279f0,_0x49c209;this[_0x2b2a95(0x45a)][_0x2b2a95(0x1ea)][_0x2b2a95(0x3dc)](!0x0),(_0x3279f0=(_0x49c209=this[_0x2b2a95(0x45a)][_0x2b2a95(0x1ea)])[_0x2b2a95(0x3f9)])==null||_0x3279f0[_0x2b2a95(0x3ec)](_0x49c209);}return _0x318d68;}['_getSceneObject'](_0x3ba36b){const _0x22e71d=_0x92f39f;var _0x1913a4;let _0x3bb55c=_0x51bae1(this['_renderContext'][_0x22e71d(0x237)],_0x3ba36b),_0x18dd2a=this[_0x22e71d(0x45a)][_0x22e71d(0x1ea)];return((_0x1913a4=_0x18dd2a[_0x22e71d(0x298)])==null?void 0x0:_0x1913a4[_0x22e71d(0x3ec)](_0x18dd2a,_0x3bb55c))??this[_0x22e71d(0x45a)][_0x22e71d(0x1ea)][_0x22e71d(0x400)](_0x3bb55c)??null;}};Or=J([q(0x1,_0x3c9b31(_0x346884)),q(0x2,_0x3c9b31(_0xbfe5fc)),q(0x3,_0x3c9b31(_0x3027f8)),q(0x4,_0x3c9b31(Tr)),q(0x5,_0x3aa11b)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x92f39f(0x1fc)],'surfaceColor':Y[_0x92f39f(0x212)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x92f39f(0x443)]};function kr(_0x405dcc){const _0x58cea3=_0x92f39f;let _0x24b474=$[_0x58cea3(0x266)],_0x38d8a3=$[_0x58cea3(0x388)],_0x4505c2=$[_0x58cea3(0x20f)],_0x4f69be=$[_0x58cea3(0x183)],_0x569900=$[_0x58cea3(0x3b9)],_0x2cfbd7=_0x569900+$[_0x58cea3(0x45b)],_0x239422=$['collapsePlusMinDistance'],_0x1f9b47=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1fe)]/0x2,_0x44220b=_0x405dcc[_0x58cea3(0x1ef)]['left']+_0x405dcc[_0x58cea3(0x1ef)]['width']/0x2,_0x293f00=_0x405dcc['bounds'][_0x58cea3(0x378)]-_0x24b474-_0x4f69be,_0x58774a=_0x405dcc['bounds'][_0x58cea3(0x378)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x389)]+_0x24b474+_0x4f69be,_0x175996=_0x405dcc['bounds']['top']-_0x24b474-_0x4f69be,_0x586a7f=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc['bounds'][_0x58cea3(0x1fe)]+_0x24b474+_0x4f69be,_0x32cb41=_0x405dcc['bounds']['left']-_0x38d8a3-_0x4f69be,_0x20e520=_0x405dcc['bounds'][_0x58cea3(0x378)]+_0x405dcc[_0x58cea3(0x1ef)]['width']+_0x38d8a3+_0x4f69be,_0x21c802=_0x405dcc[_0x58cea3(0x1ef)]['top']-_0x38d8a3-_0x4f69be,_0xa250b7=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1fe)]+_0x38d8a3+_0x4f69be,_0x3f8db2=[],_0x24cc96=_0x405dcc[_0x58cea3(0x44d)]==='top'||_0x405dcc[_0x58cea3(0x44d)]==='bottom',_0x5ac822=_0x24cc96?_0x44220b:_0x405dcc[_0x58cea3(0x44d)]==='left'?_0x293f00:_0x58774a,_0x3b541c=_0x24cc96?_0x405dcc['side']==='top'?_0x175996:_0x586a7f:_0x1f9b47;if(_0x405dcc[_0x58cea3(0x371)]&&_0x405dcc['collapsedDescendantCount']>0x0)return _0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x179),'x':_0x5ac822,'y':_0x3b541c,'radius':_0x24b474,'badgeCount':_0x405dcc['collapsedDescendantCount']}),_0x3f8db2;if(_0x405dcc[_0x58cea3(0x223)]?(_0x405dcc[_0x58cea3(0x172)]??(_0x24cc96?[_0x58cea3(0x1d8),'bottom']:[_0x58cea3(0x378),'right']))['forEach'](_0xacf393=>{const _0x1ae1c4=_0x58cea3;_0xacf393===_0x1ae1c4(0x1d8)?_0x3f8db2[_0x1ae1c4(0x1ee)]({'kind':'add-child-top','x':_0x44220b,'y':_0x21c802,'radius':_0x38d8a3}):_0xacf393===_0x1ae1c4(0x36e)?_0x3f8db2['push']({'kind':_0x1ae1c4(0x1b3),'x':_0x44220b,'y':_0xa250b7,'radius':_0x38d8a3}):_0xacf393==='left'?_0x3f8db2[_0x1ae1c4(0x1ee)]({'kind':_0x1ae1c4(0x1e2),'x':_0x32cb41,'y':_0x1f9b47,'radius':_0x38d8a3}):_0x3f8db2['push']({'kind':'add-child-right','x':_0x20e520,'y':_0x1f9b47,'radius':_0x38d8a3});}):(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x405dcc['side']==='left'?_0x58cea3(0x1e2):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x58cea3(0x3df):_0x405dcc['side']===_0x58cea3(0x36e)?_0x58cea3(0x1b3):'add-child-right','x':_0x24cc96?_0x44220b:_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x378)?_0x32cb41:_0x20e520,'y':_0x24cc96?_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x21c802:_0xa250b7:_0x1f9b47,'radius':_0x38d8a3}),_0x24cc96?(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x2f4),'placement':'before','x':_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x378)]-_0x2cfbd7,'y':_0x1f9b47,'radius':_0x4505c2,'visualRadius':_0x569900}),_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x3d7),'placement':_0x58cea3(0x1f8),'x':_0x405dcc[_0x58cea3(0x1ef)]['left']+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x389)]+_0x2cfbd7,'y':_0x1f9b47,'radius':_0x4505c2,'visualRadius':_0x569900})):(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x2f4),'placement':_0x58cea3(0x322),'x':_0x44220b,'y':_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]-_0x2cfbd7,'radius':_0x4505c2,'visualRadius':_0x569900}),_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x3d7),'placement':_0x58cea3(0x1f8),'x':_0x44220b,'y':_0x405dcc['bounds'][_0x58cea3(0x1d8)]+_0x405dcc['bounds']['height']+_0x2cfbd7,'radius':_0x4505c2,'visualRadius':_0x569900}))),_0x405dcc['hasChildren']){let _0x221bdb={'kind':_0x58cea3(0x179),'x':_0x5ac822,'y':_0x3b541c,'radius':_0x24b474};_0x3f8db2[_0x58cea3(0x1ee)](_0x221bdb);let _0x4625b9=_0x3f8db2[_0x58cea3(0x2bf)](_0x3f369d=>_0x3f369d[_0x58cea3(0x45c)]===(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x378)?_0x58cea3(0x1e2):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x58cea3(0x3df):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x36e)?_0x58cea3(0x1b3):'add-child-right'));_0x4625b9&&Math[_0x58cea3(0x2dc)](_0x4625b9['x']-_0x221bdb['x'],_0x4625b9['y']-_0x221bdb['y'])<_0x239422&&(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)||_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x36e)?_0x4625b9['y']=_0x221bdb['y']+(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?-_0x239422:_0x239422):_0x4625b9['x']=_0x221bdb['x']+(_0x405dcc[_0x58cea3(0x44d)]==='left'?-_0x239422:_0x239422));}return _0x3f8db2;}const Ar=_0x92f39f(0x1bd),jr=_0x37e359[_0x92f39f(0x430)];function Mr(_0x31a7ed,_0x39e5fe){const _0x2c90ff=_0x92f39f;return!!_0x31a7ed&&_0x31a7ed[_0x2c90ff(0x45c)]===_0x39e5fe['kind']&&_0x31a7ed['x']===_0x39e5fe['x']&&_0x31a7ed['y']===_0x39e5fe['y'];}var Nr=class extends _0x3b27b9{constructor(_0x1c1294=Ar,_0x5e9951){const _0x4d8445=_0x92f39f;super(_0x1c1294),K(this,_0x4d8445(0x36b),{'controls':[]}),this[_0x4d8445(0x458)]=!0x0,this[_0x4d8445(0x181)]=_0xbc2bae[_0x4d8445(0x233)],this[_0x4d8445(0x40b)](_0x5e9951);}[_0x92f39f(0x40b)](_0x276d0e){const _0x26a84a=_0x92f39f;this[_0x26a84a(0x36b)]={...this[_0x26a84a(0x36b)],..._0x276d0e},this['_state']['controls'][_0x26a84a(0x33b)]>0x0?this[_0x26a84a(0x2f3)]():this[_0x26a84a(0x3e2)](),this['makeDirty'](!0x0);}[_0x92f39f(0x2c7)](_0x3f9369){const _0x29b175=_0x92f39f;!_0x3f9369&&!this['_state'][_0x29b175(0x1f7)]||_0x3f9369&&Mr(this[_0x29b175(0x36b)][_0x29b175(0x1f7)],_0x3f9369)||(this['_state']={...this[_0x29b175(0x36b)],'hoveredControl':_0x3f9369},this[_0x29b175(0x3dc)](!0x0));}[_0x92f39f(0x262)](_0x14b228,_0x1e7e40){const _0x5ef33d=_0x92f39f;var _0x28be5a;let _0x1cfa72=(_0x28be5a=this[_0x5ef33d(0x2eb)]())==null?void 0x0:_0x28be5a[_0x5ef33d(0x3d4)](),_0x59a173=null,_0x1b7d1d=0x1/0x0;for(let _0x12c65d=this['_state']['controls'][_0x5ef33d(0x33b)]-0x1;_0x12c65d>=0x0;--_0x12c65d){let _0x375655=this[_0x5ef33d(0x36b)][_0x5ef33d(0x21b)][_0x12c65d],_0x41a64c=Math[_0x5ef33d(0x2dc)](_0x14b228['x']-_0x375655['x'],_0x14b228['y']-_0x375655['y']);if(_0x1e7e40!==_0xab8b6[_0x5ef33d(0x390)]){if(_0x41a64c<=_0x375655['radius'])return _0x375655;continue;}let _0x37a480=Math[_0x5ef33d(0x2dc)]((_0x14b228['x']-_0x375655['x'])*((_0x1cfa72==null?void 0x0:_0x1cfa72[_0x5ef33d(0x2ca)])??0x1),(_0x14b228['y']-_0x375655['y'])*((_0x1cfa72==null?void 0x0:_0x1cfa72[_0x5ef33d(0x1cf)])??0x1));(_0x41a64c<=_0x375655[_0x5ef33d(0x266)]||_0x37a480<=$['touchHitRadius'])&&_0x37a480<_0x1b7d1d&&(_0x59a173=_0x375655,_0x1b7d1d=_0x37a480);}return _0x59a173;}['getTouchHitDistance'](_0x581fb5){const _0x481751=_0x92f39f;var _0x598346;let _0x995d07=this['getHitControl'](_0x581fb5,_0xab8b6[_0x481751(0x390)]),_0x3db51d=(_0x598346=this[_0x481751(0x2eb)]())==null?void 0x0:_0x598346[_0x481751(0x3d4)]();return _0x995d07?Math[_0x481751(0x2dc)]((_0x581fb5['x']-_0x995d07['x'])*((_0x3db51d==null?void 0x0:_0x3db51d[_0x481751(0x2ca)])??0x1),(_0x581fb5['y']-_0x995d07['y'])*((_0x3db51d==null?void 0x0:_0x3db51d['scaleY'])??0x1)):0x1/0x0;}['isHit'](_0x52cb7b){const _0x4efad9=_0x92f39f;return!!this[_0x4efad9(0x262)]({'x':_0x52cb7b['x'],'y':_0x52cb7b['y']});}[_0x92f39f(0x173)](_0x520024,_0x542c27){const _0x332a01=_0x92f39f;return!this[_0x332a01(0x1d7)]||this[_0x332a01(0x36b)]['controls'][_0x332a01(0x33b)]===0x0?(this[_0x332a01(0x3dc)](!0x1),this):(_0x520024[_0x332a01(0x383)](),this[_0x332a01(0x36b)]['controls'][_0x332a01(0x2cc)](_0x244f5d=>{const _0x539fd4=_0x332a01;let _0x379b3a=Mr(this[_0x539fd4(0x36b)]['hoveredControl'],_0x244f5d),_0x47905b=_0x244f5d[_0x539fd4(0x455)]!==void 0x0,_0x368f34=_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x1e2)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x452)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x3df)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x1b3),_0x2be8f9=_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x2f4)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x3d7),_0x3288ff=_0x2be8f9&&!_0x379b3a?_0x244f5d[_0x539fd4(0x25e)]??_0x244f5d['radius']:_0x244f5d['radius'];if(_0x520024[_0x539fd4(0x2ec)](),_0x520024[_0x539fd4(0x17d)]=_0x244f5d[_0x539fd4(0x45c)]==='toggle-collapse'?$[_0x539fd4(0x212)]:$[_0x539fd4(0x1fc)],_0x520024[_0x539fd4(0x2b1)]=$['primaryColor'],_0x520024['lineWidth']=$[_0x539fd4(0x35d)],_0x520024['arc'](_0x244f5d['x'],_0x244f5d['y'],_0x3288ff,0x0,Math['PI']*0x2),_0x520024[_0x539fd4(0x213)](),(!_0x2be8f9||_0x379b3a)&&_0x520024[_0x539fd4(0x1e7)](),!_0x47905b&&(!_0x2be8f9||_0x379b3a)){if(_0x520024['beginPath'](),_0x520024[_0x539fd4(0x2b1)]=_0x244f5d[_0x539fd4(0x45c)]==='toggle-collapse'?$[_0x539fd4(0x1fc)]:$[_0x539fd4(0x212)],_0x520024['lineWidth']=_0x2be8f9?$[_0x539fd4(0x357)]:_0x379b3a?$[_0x539fd4(0x3a6)]:$[_0x539fd4(0x357)],_0x520024[_0x539fd4(0x280)]=_0x539fd4(0x370),_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x179)){let _0xfd8bc1=$[_0x539fd4(0x2ea)];_0x520024[_0x539fd4(0x345)](_0x244f5d['x']+_0xfd8bc1/0x2,_0x244f5d['y']-_0xfd8bc1),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']-_0xfd8bc1/0x2,_0x244f5d['y']),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']+_0xfd8bc1/0x2,_0x244f5d['y']+_0xfd8bc1);}else{let _0x2868f1=_0x2be8f9?$[_0x539fd4(0x2e9)]:_0x368f34?$[_0x539fd4(0x243)]:$['glyphSize'];_0x520024[_0x539fd4(0x345)](_0x244f5d['x']-_0x2868f1,_0x244f5d['y']),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']+_0x2868f1,_0x244f5d['y']),_0x520024[_0x539fd4(0x345)](_0x244f5d['x'],_0x244f5d['y']-_0x2868f1),_0x520024[_0x539fd4(0x165)](_0x244f5d['x'],_0x244f5d['y']+_0x2868f1);}_0x520024[_0x539fd4(0x1e7)]();}_0x47905b&&(_0x520024[_0x539fd4(0x17d)]=$['primaryColor'],_0x520024['font']=$[_0x539fd4(0x3f4)]+'\x20'+$[_0x539fd4(0x244)]+'px\x20'+$[_0x539fd4(0x443)],_0x520024['textAlign']=_0x539fd4(0x2a0),_0x520024[_0x539fd4(0x25a)]=_0x539fd4(0x404),_0x520024[_0x539fd4(0x393)](String(_0x244f5d[_0x539fd4(0x455)]),_0x244f5d['x'],_0x244f5d['y']));}),_0x520024[_0x332a01(0x3f7)](),this[_0x332a01(0x3dc)](!0x1),this);}};function Pr(_0x93f049){const _0x4092af=_0x92f39f;return _0x93f049===_0x4092af(0x428)||_0x93f049===_0x4092af(0x1cb)||_0x93f049===_0x4092af(0x331);}function Fr(_0x2e73fc){return _0x2e73fc==='timeline-horizontal'||_0x2e73fc==='timeline-vertical';}function Ir(_0x15c91c,_0x1cb84f){const _0x56b6b1=_0x92f39f;let _0x109d20=Number[_0x56b6b1(0x263)](_0x1cb84f[_0x56b6b1(0x1ec)])&&_0x1cb84f['zoomRatio']>0x0?_0x1cb84f[_0x56b6b1(0x1ec)]:0x1;return{'x':Math[_0x56b6b1(0x370)]((_0x15c91c[_0x56b6b1(0x3fb)]-_0x1cb84f[_0x56b6b1(0x3d9)]['x'])/_0x109d20),'y':Math[_0x56b6b1(0x370)]((_0x15c91c[_0x56b6b1(0x2be)]-_0x1cb84f[_0x56b6b1(0x3d9)]['y'])/_0x109d20)};}let Lr=class extends _0xb1406a{constructor(_0x1c81ec,_0x1399a1,_0x563d01,_0x58d212,_0x5f4ad3,_0x25524f,_0xda5d06,_0x106d43,_0x597088){const _0x4dbd17=_0x92f39f;super(),this[_0x4dbd17(0x45a)]=_0x1c81ec,this[_0x4dbd17(0x21c)]=_0x1399a1,this[_0x4dbd17(0x15c)]=_0x563d01,this[_0x4dbd17(0x327)]=_0x58d212,this['_commandService']=_0x5f4ad3,this['_boardTextEditingService']=_0x25524f,this[_0x4dbd17(0x2d4)]=_0xda5d06,this['_previewRefreshService']=_0x106d43,this[_0x4dbd17(0x334)]=_0x597088,K(this,_0x4dbd17(0x2b8),null),K(this,_0x4dbd17(0x210),null),K(this,'_activeNodeId',null),K(this,_0x4dbd17(0x391),null),this[_0x4dbd17(0x270)]();}['_init'](){const _0x33cdcf=_0x92f39f;var _0x2d4283,_0x49326b,_0x2c6d13;let {scene:_0x833683}=this[_0x33cdcf(0x45a)],_0x2eb6b5=(_0x2d4283=_0x833683[_0x33cdcf(0x287)])==null?void 0x0:_0x2d4283[_0x33cdcf(0x3ec)](_0x833683);_0x2eb6b5&&(this[_0x33cdcf(0x307)](_0x594a26(_0x2eb6b5[_0x33cdcf(0x160)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))['subscribe'](({objects:_0x14c15f})=>{const _0x1cefd3=_0x33cdcf;this[_0x1cefd3(0x2c9)](_0x14c15f,{'hideRootControls':!0x0});}))),this[_0x33cdcf(0x307)](_0x594a26(_0x2eb6b5[_0x33cdcf(0x399)]['pipe'](_0x3568ee(this['dispose$']))['subscribe'](_0x3ae904=>{const _0x1f4cd7=_0x33cdcf;let _0x33ea98=_0x3ae904==null?void 0x0:_0x3ae904[_0x1f4cd7(0x1c8)];this[_0x1f4cd7(0x2c9)](_0x33ea98),setTimeout(()=>this['_syncControls'](_0x33ea98),0x0);})))),this[_0x33cdcf(0x307)](_0x594a26(this['_elementStateService'][_0x33cdcf(0x421)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))['subscribe'](()=>this['_syncControls']()))),this[_0x33cdcf(0x307)](_0x594a26(this['_stateService'][_0x33cdcf(0x421)]['pipe'](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](()=>this[_0x33cdcf(0x2c9)]()))),this[_0x33cdcf(0x307)](_0x594a26(this[_0x33cdcf(0x21c)][_0x33cdcf(0x2a2)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](_0x364ebd=>{const _0x4ac81a=_0x33cdcf;let _0x265247=this[_0x4ac81a(0x15c)]['getSnapshot']()[_0x4ac81a(0x32a)];_0x265247&&_0x364ebd[_0x4ac81a(0x28c)](_0x20a4c5=>_0x20a4c5['unitId']===_0x265247[_0x4ac81a(0x237)]&&_0x20a4c5[_0x4ac81a(0x1fa)]===_0x265247['subUnitId']&&(_0x20a4c5[_0x4ac81a(0x2d3)]===this[_0x4ac81a(0x177)]||_0x20a4c5['elementId']===this[_0x4ac81a(0x391)]))&&this[_0x4ac81a(0x2c9)]();}))),this[_0x33cdcf(0x307)](_0x594a26(this[_0x33cdcf(0x2fd)][_0x33cdcf(0x189)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](_0x47323e=>{const _0x8bb143=_0x33cdcf;let _0x1a8fd7=this['_elementStateService'][_0x8bb143(0x2c6)]()[_0x8bb143(0x32a)];_0x1a8fd7&&_0x1a8fd7['unitId']===_0x47323e[_0x8bb143(0x237)]&&_0x1a8fd7[_0x8bb143(0x1fa)]===_0x47323e['subUnitId']&&(this[_0x8bb143(0x391)]&&this[_0x8bb143(0x391)]!==_0x47323e['scopeId']||this[_0x8bb143(0x2c9)]());}))),this[_0x33cdcf(0x307)](_0x594a26(_0x833683['onPointerMove$'][_0x33cdcf(0x1ae)](_0x339572=>this[_0x33cdcf(0x2e8)](_0x339572)))),this[_0x33cdcf(0x307)](_0x594a26(_0x833683[_0x33cdcf(0x343)][_0x33cdcf(0x1ae)]({'priority':0x4,'next':([_0x19c8c5,_0x286751])=>{const _0x45ff07=_0x33cdcf;this[_0x45ff07(0x219)](_0x19c8c5)&&this[_0x45ff07(0x38c)](_0x19c8c5,_0x286751);}}))),this['disposeWithMe'](_0x594a26(((_0x49326b=_0x833683[_0x33cdcf(0x420)])==null?void 0x0:_0x49326b[_0x33cdcf(0x1ae)]({'priority':0x4,'next':([_0x5c9576,_0x19f4da])=>{const _0x27f4d1=_0x33cdcf;this[_0x27f4d1(0x3b3)](_0x5c9576)&&this[_0x27f4d1(0x38c)](_0x5c9576,_0x19f4da);}}))??{'dispose':()=>{}})),this[_0x33cdcf(0x307)](_0x594a26(((_0x2c6d13=_0x833683[_0x33cdcf(0x33a)])==null?void 0x0:_0x2c6d13['subscribeEvent']({'priority':0x4,'next':([_0x1c5641,_0x4d147b])=>{this['_isControlEvent'](_0x1c5641)&&this['_consumeControlEvent'](_0x1c5641,_0x4d147b);}}))??{'dispose':()=>{}})),this[_0x33cdcf(0x307)](_0x594a26(()=>this[_0x33cdcf(0x3aa)]())),this[_0x33cdcf(0x2c9)]();}[_0x92f39f(0x41d)](){const _0x2cd80d=_0x92f39f;return this[_0x2cd80d(0x2b8)]?this[_0x2cd80d(0x2b8)]:(this[_0x2cd80d(0x2b8)]=new Nr(Ar),this[_0x2cd80d(0x352)](this['_object']),this[_0x2cd80d(0x45a)][_0x2cd80d(0x1ea)][_0x2cd80d(0x414)](this[_0x2cd80d(0x2b8)],jr),this[_0x2cd80d(0x2b8)]);}[_0x92f39f(0x352)](_0x2a1bc8){const _0x17bd6e=_0x92f39f;var _0x199bd3;(_0x199bd3=this[_0x17bd6e(0x210)])==null||_0x199bd3[_0x17bd6e(0x340)]();let _0x30264e=new _0x54845b();_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8[_0x17bd6e(0x343)][_0x17bd6e(0x1ae)]({'priority':0x4,'next':([_0x5e31ac,_0x4f3c38])=>{this['_handlePointerDown'](_0x5e31ac)&&this['_consumeControlEvent'](_0x5e31ac,_0x4f3c38);}})),_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8['onPointerUp$'][_0x17bd6e(0x1ae)]({'priority':0x4,'next':([_0xb21169,_0x26e2ad])=>{const _0x38a2ae=_0x17bd6e;this[_0x38a2ae(0x3b3)](_0xb21169)&&this[_0x38a2ae(0x38c)](_0xb21169,_0x26e2ad);}})),_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8[_0x17bd6e(0x33a)]['subscribeEvent']({'priority':0x4,'next':([_0x47f4bf,_0x2f1e0a])=>{const _0x3df420=_0x17bd6e;this[_0x3df420(0x3b3)](_0x47f4bf)&&this[_0x3df420(0x38c)](_0x47f4bf,_0x2f1e0a);}})),this['_objectEventDisposables']=_0x30264e;}['_removeObject'](){const _0x3f9511=_0x92f39f;var _0x28b041;this['_object']&&(this[_0x3f9511(0x45a)][_0x3f9511(0x1ea)][_0x3f9511(0x295)]([this['_object']]),(_0x28b041=this[_0x3f9511(0x210)])==null||_0x28b041['dispose'](),this[_0x3f9511(0x210)]=null,this['_object']=null,this['_activeNodeId']=null,this[_0x3f9511(0x391)]=null,this[_0x3f9511(0x45a)]['scene'][_0x3f9511(0x3dc)](!0x0));}['_syncControls'](_0x1862d3,_0x1e3247){const _0x28644e=_0x92f39f;var _0x1096ee,_0xa7c9a3;if(this[_0x28644e(0x327)][_0x28644e(0x18a)]()['interactionMode']==='viewing'){this[_0x28644e(0x3aa)]();return;}let _0xf1c167=this[_0x28644e(0x15c)]['getSnapshot'](),_0x54bba7=_0xf1c167['context'],_0x1dcf20=_0xf1c167[_0x28644e(0x25b)]??_0xf1c167[_0x28644e(0x351)][0x0];if(!_0x54bba7||!_0x1dcf20||_0xf1c167[_0x28644e(0x351)][_0x28644e(0x33b)]!==0x1){this[_0x28644e(0x3aa)]();return;}let _0x40be3c=this['_boardElementService'][_0x28644e(0x2bd)](_0x54bba7[_0x28644e(0x237)],_0x54bba7[_0x28644e(0x1fa)]),_0x46751f=_0x40be3c[_0x1dcf20],_0x41a072=_0x5213e3(_0x46751f==null?void 0x0:_0x46751f['element']);if(!_0x46751f||!_0x41a072){this[_0x28644e(0x3aa)]();return;}let _0x4fdf14=_0x51bae1(_0x54bba7[_0x28644e(0x237)],_0x1dcf20);if(_0x1e3247!=null&&_0x1e3247[_0x28644e(0x3e7)]&&_0x41a072[_0x28644e(0x19e)]==null&&_0x1862d3!=null&&_0x1862d3[_0x28644e(0x292)](_0x4fdf14)){this[_0x28644e(0x3aa)]();return;}let _0x23a0fb=this[_0x28644e(0x35b)](_0x40be3c,_0x54bba7[_0x28644e(0x237)],_0x1dcf20,_0x1862d3);if(!_0x23a0fb){this[_0x28644e(0x3aa)]();return;}let _0x35f8bb=Object[_0x28644e(0x1f3)](_0x40be3c)[_0x28644e(0x277)](_0xbe908d=>{const _0x1d0f3a=_0x28644e;var _0x1acc0f;return((_0x1acc0f=_0x5213e3(_0xbe908d[_0x1d0f3a(0x465)]))==null?void 0x0:_0x1acc0f['parentNodeId'])===_0x1dcf20;}),_0xf7e456=_0x41a072[_0x28644e(0x196)]?this['_countDescendants'](_0x40be3c,_0x1dcf20):0x0;this[_0x28644e(0x177)]=_0x1dcf20,this['_activeScopeId']=_0x41a072['structureScopeId'];let _0x7a573f=(_0x1096ee=_0x40be3c[_0x41a072[_0x28644e(0x3b4)]])==null?void 0x0:_0x1096ee[_0x28644e(0x465)],_0x16c93e=_0x25a48f(_0x7a573f),_0x3d27ce=_0x7a573f==null||(_0xa7c9a3=_0x7a573f[_0x28644e(0x321)])==null||(_0xa7c9a3=_0xa7c9a3[_0x28644e(0x37a)])==null||(_0xa7c9a3=_0xa7c9a3[_0x28644e(0x424)])==null?void 0x0:_0xa7c9a3[_0x28644e(0x17b)],_0x4da25d=(_0x16c93e==null?void 0x0:_0x16c93e[_0x28644e(0x424)][_0x28644e(0x17b)])??_0x3d27ce,_0x3175e0=_0x41a072[_0x28644e(0x19e)]==null,_0x56fba0=this[_0x28644e(0x410)](_0x41a072['side'],_0x3175e0,_0x4da25d);this[_0x28644e(0x41d)]()[_0x28644e(0x40b)]({'controls':kr({'bounds':_0x23a0fb,'isRoot':_0x3175e0,'side':_0x56fba0,'rootChildSides':this[_0x28644e(0x23c)](_0x3175e0,_0x4da25d),'hasChildren':_0x35f8bb[_0x28644e(0x33b)]>0x0,'collapsedDescendantCount':_0xf7e456})}),this['_renderContext']['scene'][_0x28644e(0x3dc)](!0x0);}[_0x92f39f(0x410)](_0x2f51a1,_0xf62342,_0x325bea){const _0xe168ac=_0x92f39f;return _0x325bea==='timeline-vertical'?!_0xf62342&&(_0x2f51a1===_0xe168ac(0x378)||_0x2f51a1===_0xe168ac(0x2c4))?_0x2f51a1:_0xe168ac(0x36e):_0x325bea===_0xe168ac(0x395)?!_0xf62342&&(_0x2f51a1===_0xe168ac(0x1d8)||_0x2f51a1==='bottom')?_0x2f51a1:_0xe168ac(0x36e):_0x2f51a1===_0xe168ac(0x378)?_0xe168ac(0x378):'right';}[_0x92f39f(0x23c)](_0x80be2e,_0x3bf436){const _0x2349df=_0x92f39f;if(_0x80be2e){if(Pr(_0x3bf436))return['bottom'];if(_0x3bf436===_0x2349df(0x316))return[_0x2349df(0x2c4)];if(_0x3bf436===_0x2349df(0x284))return['bottom'];}}['_resolveCreateChildSide'](_0x1ca8c6){const _0x459506=_0x92f39f;var _0x132766,_0x24041;let _0x8c2073=this['_elementStateService'][_0x459506(0x2c6)]()['context'];if(!_0x8c2073||!this[_0x459506(0x177)])return;let _0x23244d=this[_0x459506(0x21c)][_0x459506(0x2bd)](_0x8c2073[_0x459506(0x237)],_0x8c2073[_0x459506(0x1fa)]),_0x3fc288=_0x5213e3((_0x132766=_0x23244d[this[_0x459506(0x177)]])==null?void 0x0:_0x132766['element']),_0x2c3eab=_0x3fc288?_0x25a48f((_0x24041=_0x23244d[_0x3fc288['structureScopeId']])==null?void 0x0:_0x24041['element']):null;if((_0x3fc288==null?void 0x0:_0x3fc288[_0x459506(0x19e)])!=null||!Pr(_0x2c3eab==null?void 0x0:_0x2c3eab[_0x459506(0x424)][_0x459506(0x17b)])&&!Fr(_0x2c3eab==null?void 0x0:_0x2c3eab[_0x459506(0x424)][_0x459506(0x17b)]))return _0x1ca8c6==='add-child-left'?_0x459506(0x378):_0x1ca8c6===_0x459506(0x3df)?_0x459506(0x1d8):_0x1ca8c6===_0x459506(0x1b3)?_0x459506(0x36e):_0x459506(0x2c4);}['_resolveControlBounds'](_0x4379bd,_0x2db79d,_0x185537,_0x5d00a0){const _0x254a6e=_0x92f39f;var _0x388ac0,_0x2c2b50;let _0x5edfd4=_0x51bae1(_0x2db79d,_0x185537),_0xb78239=_0x5d00a0==null?void 0x0:_0x5d00a0[_0x254a6e(0x2ba)](_0x5edfd4),_0x3ef842=this[_0x254a6e(0x367)](_0xb78239);if(_0x3ef842)return _0x3ef842;let _0x4ffd28=this['_renderContext']['scene'],_0x1c74ca=((_0x388ac0=_0x4ffd28[_0x254a6e(0x298)])==null?void 0x0:_0x388ac0[_0x254a6e(0x3ec)](_0x4ffd28,_0x5edfd4))??((_0x2c2b50=_0x4ffd28[_0x254a6e(0x400)])==null?void 0x0:_0x2c2b50[_0x254a6e(0x3ec)](_0x4ffd28,_0x5edfd4));return this[_0x254a6e(0x367)](_0x1c74ca)||_0x51a7dc(_0x4379bd,_0x185537);}[_0x92f39f(0x367)](_0x1c0f0e){const _0x317eb6=_0x92f39f;return _0x1c0f0e&&Number[_0x317eb6(0x263)](_0x1c0f0e['left'])&&Number['isFinite'](_0x1c0f0e[_0x317eb6(0x1d8)])&&Number[_0x317eb6(0x263)](_0x1c0f0e[_0x317eb6(0x389)])&&Number[_0x317eb6(0x263)](_0x1c0f0e[_0x317eb6(0x1fe)])?{'left':_0x1c0f0e[_0x317eb6(0x378)],'top':_0x1c0f0e[_0x317eb6(0x1d8)],'width':_0x1c0f0e[_0x317eb6(0x389)],'height':_0x1c0f0e[_0x317eb6(0x1fe)]}:null;}[_0x92f39f(0x37f)](_0x56116e,_0x10ea20){const _0x4ff975=_0x92f39f;return Object[_0x4ff975(0x1f3)](_0x56116e)['filter'](_0x19b340=>{const _0x25d842=_0x4ff975;var _0x56b7fd;return((_0x56b7fd=_0x5213e3(_0x19b340[_0x25d842(0x465)]))==null?void 0x0:_0x56b7fd['parentNodeId'])===_0x10ea20;})[_0x4ff975(0x1d2)]((_0xf80b78,_0x86115f)=>_0xf80b78+0x1+this[_0x4ff975(0x37f)](_0x56116e,_0x86115f[_0x4ff975(0x2d3)]),0x0);}[_0x92f39f(0x2e8)](_0x4640dc){const _0x327971=_0x92f39f;if(!this[_0x327971(0x2b8)])return;let _0x13ff09=this[_0x327971(0x327)][_0x327971(0x18a)](),_0x3b52b0=Ir(_0x4640dc,{'panOffset':_0x13ff09[_0x327971(0x1e5)],'zoomRatio':_0x13ff09[_0x327971(0x1ec)]});this[_0x327971(0x2b8)][_0x327971(0x2c7)](this['_object'][_0x327971(0x262)](_0x3b52b0,_0x4640dc[_0x327971(0x36a)]));}[_0x92f39f(0x219)](_0x27ac18){const _0x17c465=_0x92f39f;if(!this[_0x17c465(0x2b8)]||!this[_0x17c465(0x177)]||(_0x27ac18['button']??0x0)!==0x0)return!0x1;let _0x2bc5c8=this['_elementStateService'][_0x17c465(0x2c6)]()['context'];if(!_0x2bc5c8)return!0x1;let _0x55edf2=this[_0x17c465(0x327)][_0x17c465(0x18a)](),_0x2a4e97=Ir(_0x27ac18,{'panOffset':_0x55edf2[_0x17c465(0x1e5)],'zoomRatio':_0x55edf2[_0x17c465(0x1ec)]}),_0x502c75=this['_object']['getHitControl'](_0x2a4e97,_0x27ac18[_0x17c465(0x36a)]);if(!_0x502c75)return!0x1;if(_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x179))return this[_0x17c465(0x25c)](_0x497ede['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'nodeId':this[_0x17c465(0x177)]}),!0x0;if(_0x502c75[_0x17c465(0x45c)]==='add-child-left'||_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x452)||_0x502c75[_0x17c465(0x45c)]==='add-child-top'||_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x1b3)){let _0x328534=_0x38dd6c(0x6);return this[_0x17c465(0x226)](_0x5a9afd['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'parentNodeId':this[_0x17c465(0x177)],'side':this[_0x17c465(0x469)](_0x502c75[_0x17c465(0x45c)]),'nodeId':_0x328534,'connectorId':_0x38dd6c(0x6),'text':this[_0x17c465(0x2d4)]['t']('boards-mind-ui.panel.addText')},_0x328534),!0x0;}if(_0x502c75[_0x17c465(0x45c)]==='add-sibling-before'||_0x502c75['kind']==='add-sibling-after'){let _0x5156f6=_0x38dd6c(0x6);return this[_0x17c465(0x226)](_0x24d9d3['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'nodeId':this[_0x17c465(0x177)],'placement':_0x502c75[_0x17c465(0x27d)]??(_0x502c75[_0x17c465(0x45c)]==='add-sibling-before'?_0x17c465(0x322):_0x17c465(0x1f8)),'siblingNodeId':_0x5156f6,'connectorId':_0x38dd6c(0x6),'text':this['_localeService']['t'](_0x17c465(0x39e))},_0x5156f6),!0x0;}return!0x0;}[_0x92f39f(0x3b3)](_0x4bf87d){const _0x1bfecb=_0x92f39f;if(!this[_0x1bfecb(0x2b8)]||(_0x4bf87d[_0x1bfecb(0x438)]??0x0)!==0x0)return!0x1;let _0xa4902e=this[_0x1bfecb(0x327)][_0x1bfecb(0x18a)](),_0x4a9889=Ir(_0x4bf87d,{'panOffset':_0xa4902e['viewportPanOffset'],'zoomRatio':_0xa4902e[_0x1bfecb(0x1ec)]});return!!this['_object'][_0x1bfecb(0x262)](_0x4a9889,_0x4bf87d[_0x1bfecb(0x36a)]);}[_0x92f39f(0x38c)](_0x74a5b,_0x56afac){const _0x20f2f3=_0x92f39f;var _0x4cd8f6,_0x3bdad9;_0x56afac['stopPropagation'](),(_0x4cd8f6=_0x74a5b[_0x20f2f3(0x170)])==null||_0x4cd8f6[_0x20f2f3(0x3ec)](_0x74a5b),(_0x3bdad9=_0x74a5b[_0x20f2f3(0x30f)])==null||_0x3bdad9[_0x20f2f3(0x3ec)](_0x74a5b);}[_0x92f39f(0x25c)](_0x238563,_0xe32d41){const _0x393e82=_0x92f39f;let _0x5dc844=this[_0x393e82(0x391)];this[_0x393e82(0x334)]['run'](_0xe32d41[_0x393e82(0x237)],()=>{const _0x2e69e0=_0x393e82;this[_0x2e69e0(0x282)][_0x2e69e0(0x28b)](_0x238563,_0xe32d41)&&_0x5dc844&&(this[_0x2e69e0(0x282)][_0x2e69e0(0x28b)](_0x1a1b4d['id'],{'unitId':_0xe32d41[_0x2e69e0(0x237)],'subUnitId':_0xe32d41[_0x2e69e0(0x1fa)],'scopeId':_0x5dc844}),this[_0x2e69e0(0x2c9)]());});}['_executeCreateAndEdit'](_0x13cfd7,_0x4376e2,_0x49e394){const _0x323093=_0x92f39f;let _0x2f54f4={'unitId':_0x4376e2['unitId'],'subUnitId':_0x4376e2[_0x323093(0x1fa)]},_0x4c9b2c=this['_commandService'][_0x323093(0x1b1)](_0x13cfd7,_0x4376e2);Promise[_0x323093(0x2a7)](_0x4c9b2c)[_0x323093(0x271)](_0x72afb0=>{const _0x3e97c4=_0x323093;_0x72afb0&&(this[_0x3e97c4(0x2c9)](),this[_0x3e97c4(0x15c)][_0x3e97c4(0x2ff)](_0x2f54f4,[_0x49e394],_0x49e394),this[_0x3e97c4(0x3fa)][_0x3e97c4(0x222)](),this[_0x3e97c4(0x3fa)][_0x3e97c4(0x407)]({..._0x2f54f4,'shapeId':_0x49e394,'shapeKey':_0x51bae1(_0x2f54f4[_0x3e97c4(0x237)],_0x49e394),'visible':!0x0}));});}};Lr=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3c9b31(_0x239302)),q(0x4,_0x3aa11b),q(0x5,_0x3c9b31(_0x3027f8)),q(0x6,_0x3c9b31(_0x33f8b9)),q(0x7,_0x3c9b31(Tr)),q(0x8,_0x3c9b31(_0x387fe1))],Lr);const Rr=_0x92f39f(0x323);let zr=class extends _0xb1406a{constructor(_0x1959fc,_0x5e1506){const _0x526bb9=_0x92f39f;super(),this[_0x526bb9(0x282)]=_0x1959fc,this[_0x526bb9(0x246)]=_0x5e1506,this[_0x526bb9(0x270)]();}[_0x92f39f(0x270)](){const _0x3a1ba0=_0x92f39f;this[_0x3a1ba0(0x307)](this[_0x3a1ba0(0x246)][_0x3a1ba0(0x313)](this['_createQuoteShortcut']()));}['_createQuoteShortcut'](){const _0x3522ef=_0x92f39f;return{'id':_0x1a23d2,'binding':_0x8c7182[_0x3522ef(0x153)]|_0x52f4d8[_0x3522ef(0x319)],'priority':0x3e8,'preconditions':_0x251dc3=>_0x251dc3['getContextValue']('FOCUSING_MIND_MAP_TEXT_EDITOR')&&this[_0x3522ef(0x282)][_0x3522ef(0x311)](_0x1a23d2)};}};zr=J([q(0x0,_0x3aa11b),q(0x1,_0x589ecb)],zr);const Br=[Mn,Nn,Rr];let Vr=class extends _0xb1406a{constructor(_0x3fd19d,_0x36736f,_0x4050cb,_0x387918,_0x3dc70e){const _0x54a959=_0x92f39f;super(),this['_renderContext']=_0x3fd19d,this['_boardElementService']=_0x36736f,this[_0x54a959(0x15c)]=_0x4050cb,this[_0x54a959(0x18c)]=_0x387918,this[_0x54a959(0x24b)]=_0x3dc70e,K(this,_0x54a959(0x40a),!0x1),this[_0x54a959(0x307)](_0x594a26(this[_0x54a959(0x45a)][_0x54a959(0x289)]['pipe'](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](_0x133f2a=>{const _0x55fcb9=_0x54a959;this[_0x55fcb9(0x40a)]=_0x133f2a,this['_syncContext']();}))),this[_0x54a959(0x307)](_0x594a26(this[_0x54a959(0x15c)][_0x54a959(0x421)][_0x54a959(0x312)](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](()=>{const _0x5003fc=_0x54a959;this[_0x5003fc(0x185)]();}))),this['disposeWithMe'](_0x594a26(this['_textEditingService'][_0x54a959(0x304)][_0x54a959(0x312)](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](()=>{this['_syncContext']();}))),this['_syncContext']();}[_0x92f39f(0x185)](){const _0x3878ac=_0x92f39f;var _0x1507a4,_0x4cd02a;let _0x10140f=this[_0x3878ac(0x15c)]['getSnapshot'](),_0x5af756=this[_0x3878ac(0x18c)][_0x3878ac(0x3ee)](),_0x2de0fe=_0x5af756!=null&&_0x5af756[_0x3878ac(0x1d7)]?_0x5af756['shapeId']:_0x10140f[_0x3878ac(0x17f)],_0x200ef3=_0x10140f[_0x3878ac(0x25b)]??_0x10140f[_0x3878ac(0x351)][0x0],_0x221ab3=_0x10140f[_0x3878ac(0x32a)]??{'unitId':this[_0x3878ac(0x45a)]['unitId'],'subUnitId':this[_0x3878ac(0x45a)][_0x3878ac(0x3b2)]['getActivePageId']()},_0x5cdf8c=this[_0x3878ac(0x40a)]&&!!_0x200ef3&&_0x10140f[_0x3878ac(0x351)][_0x3878ac(0x33b)]===0x1&&!_0x2de0fe&&!_0x10140f[_0x3878ac(0x37e)],_0x4c22b9=this[_0x3878ac(0x40a)]?this[_0x3878ac(0x21c)][_0x3878ac(0x2bd)](_0x221ab3[_0x3878ac(0x237)],_0x221ab3[_0x3878ac(0x1fa)]):{};this[_0x3878ac(0x24b)][_0x3878ac(0x38a)](Mn,_0x5cdf8c&&!!_0x5213e3((_0x1507a4=_0x4c22b9[_0x200ef3])==null?void 0x0:_0x1507a4[_0x3878ac(0x465)])),this[_0x3878ac(0x24b)][_0x3878ac(0x38a)](Nn,this[_0x3878ac(0x40a)]&&_0x10140f[_0x3878ac(0x351)][_0x3878ac(0x33b)]===0x0&&!_0x10140f['focusedId']&&!_0x2de0fe&&!_0x10140f[_0x3878ac(0x37e)]),this['_contextService'][_0x3878ac(0x38a)](Rr,!!_0x2de0fe&&!!_0x5213e3((_0x4cd02a=_0x4c22b9[_0x2de0fe])==null?void 0x0:_0x4cd02a[_0x3878ac(0x465)]));}[_0x92f39f(0x340)](){const _0x48bc15=_0x92f39f;this[_0x48bc15(0x301)](),super[_0x48bc15(0x340)]();}[_0x92f39f(0x301)](){const _0x45bbc5=_0x92f39f;Br[_0x45bbc5(0x2cc)](_0x2f8861=>this['_contextService'][_0x45bbc5(0x38a)](_0x2f8861,!0x1));}};Vr=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3c9b31(_0x3027f8)),q(0x4,_0x3079cd)],Vr);var Hr=class extends wr{async[_0x92f39f(0x219)](_0x8f42a1,_0x5e6abe,_0x1e67d2){const _0x3707fb=_0x92f39f;await this[_0x3707fb(0x394)](_0x8f42a1,_0x5e6abe,_0x1e67d2);}};const Ur={'id':_0x92f39f(0x2c0),'type':_0x14b54b[_0x92f39f(0x31b)],'handler':(_0x4b4e02,_0x47909e)=>!!(_0x47909e!=null&&_0x47909e['unitId'])&&!!_0x47909e['subUnitId']&&!!_0x47909e['scopeId']},Wr=_0x92f39f(0x330),Gr=[_0x92f39f(0x214),_0x92f39f(0x424),_0x92f39f(0x403)];_0x29a5bb[_0x92f39f(0x1e9)],_0x29a5bb[_0x92f39f(0x1d5)],_0x29a5bb[_0x92f39f(0x35a)];const Kr=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':'horizontalGap',..._0x1ad2a7[_0x92f39f(0x1e9)]},{'labelKey':_0x92f39f(0x1e3),'key':_0x92f39f(0x1d5),..._0x1ad2a7['siblingGap']},{'labelKey':'boards-mind-ui.panel.spacing.branchGap','key':'branchGap',..._0x1ad2a7['branchGap']}],qr=[{'labelKey':'boards-mind-ui.panel.layout.right','value':_0x92f39f(0x2c4)},{'labelKey':_0x92f39f(0x2ef),'value':'left'},{'labelKey':_0x92f39f(0x2f1),'value':_0x92f39f(0x209)}],Jr=[{'labelKey':_0x92f39f(0x2e0),'value':_0x92f39f(0x252)},{'labelKey':_0x92f39f(0x3c6),'value':_0x92f39f(0x395)},{'labelKey':_0x92f39f(0x462),'value':_0x92f39f(0x1cb)},{'labelKey':'boards-mind-ui.panel.structureKind.treeLeft','value':_0x92f39f(0x428)},{'labelKey':_0x92f39f(0x35c),'value':'tree-alternate'},{'labelKey':_0x92f39f(0x1ba),'value':_0x92f39f(0x316)},{'labelKey':_0x92f39f(0x216),'value':_0x92f39f(0x284)}],Yr=[{'labelKey':_0x92f39f(0x2c3),'value':_0x92f39f(0x265)},{'labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal','value':'rounded-orthogonal'},{'labelKey':_0x92f39f(0x15f),'value':'orthogonal'}];function Xr(_0x4c44bb){const _0x2a5753=_0x92f39f;let _0x2e103d=(_0x4c44bb==null?void 0x0:_0x4c44bb['structureKind'])??_0x29a5bb['structureKind'];return{'spacing':{'horizontalGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x1e9)])??_0x29a5bb[_0x2a5753(0x1e9)],'siblingGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x1d5)])??_0x29a5bb['siblingGap'],'branchGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x35a)])??_0x29a5bb[_0x2a5753(0x35a)]},'direction':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x3cf)])??_0x29a5bb['direction'],'structureKind':_0x2e103d,'branchLineType':_0x47dc91(_0x2e103d,_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x434)])};}async function Zr(_0x2bb6ad,_0x4c5737){const _0x39723a=_0x92f39f;return await Promise[_0x39723a(0x2a7)](_0x2bb6ad[_0x39723a(0x1b1)](_0x61c9cd['id'],_0x4c5737))?(await Promise['resolve'](_0x2bb6ad['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x4c5737[_0x39723a(0x237)],'subUnitId':_0x4c5737[_0x39723a(0x1fa)],'scopeId':_0x4c5737[_0x39723a(0x3d0)]})),!0x0):!0x1;}async function Qr(_0x221730,_0x57e632){const _0x5a0bc9=_0x92f39f;return await Promise[_0x5a0bc9(0x2a7)](_0x221730[_0x5a0bc9(0x1b1)](_0x140e61['id'],_0x57e632))?(await Promise[_0x5a0bc9(0x2a7)](_0x221730[_0x5a0bc9(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x57e632[_0x5a0bc9(0x237)],'subUnitId':_0x57e632[_0x5a0bc9(0x1fa)],'scopeId':_0x57e632['scopeId']})),!0x0):!0x1;}async function $r(_0x35a848,_0x3fb6bf){const _0x299456=_0x92f39f;return await Promise[_0x299456(0x2a7)](_0x35a848['executeCommand'](_0x61c9cd['id'],{'unitId':_0x3fb6bf['unitId'],'subUnitId':_0x3fb6bf['subUnitId'],'scopeId':_0x3fb6bf[_0x299456(0x3d0)],..._0x3fb6bf[_0x299456(0x1e9)]===void 0x0?{}:{'horizontalGap':_0x3fb6bf[_0x299456(0x1e9)]},..._0x3fb6bf['siblingGap']===void 0x0?{}:{'siblingGap':_0x3fb6bf[_0x299456(0x1d5)]},..._0x3fb6bf[_0x299456(0x35a)]===void 0x0?{}:{'branchGap':_0x3fb6bf[_0x299456(0x35a)]}}))?(await Promise[_0x299456(0x2a7)](_0x35a848['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x3fb6bf[_0x299456(0x237)],'subUnitId':_0x3fb6bf[_0x299456(0x1fa)],'scopeId':_0x3fb6bf['scopeId']})),!0x0):!0x1;}async function ei(_0x2e8c0e,_0x149e45){const _0x597c38=_0x92f39f;return _0x149e45['nodeId']===_0x149e45[_0x597c38(0x202)]||!await Promise[_0x597c38(0x2a7)](_0x2e8c0e[_0x597c38(0x1b1)](_0x402e5b['id'],{'unitId':_0x149e45[_0x597c38(0x237)],'subUnitId':_0x149e45['subUnitId'],'nodeId':_0x149e45['nodeId'],'targetNodeId':_0x149e45[_0x597c38(0x202)],'referenceNodeId':_0x149e45[_0x597c38(0x202)],'placement':_0x149e45[_0x597c38(0x27d)]}))?!0x1:(await Promise[_0x597c38(0x2a7)](_0x2e8c0e[_0x597c38(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x149e45[_0x597c38(0x237)],'subUnitId':_0x149e45[_0x597c38(0x1fa)],'scopeId':_0x149e45['scopeId']})),!0x0);}async function ti(_0x470841,_0x17e741){const _0x115a5d=_0x92f39f;let _0x570047=_0x17e741[_0x115a5d(0x423)][_0x115a5d(0x385)]();return!_0x570047||!await Promise['resolve'](_0x470841[_0x115a5d(0x1b1)](_0x5049e3['id'],{'unitId':_0x17e741[_0x115a5d(0x237)],'subUnitId':_0x17e741['subUnitId'],'nodeId':_0x17e741[_0x115a5d(0x405)],'text':_0x570047}))?!0x1:(await Promise[_0x115a5d(0x2a7)](_0x470841[_0x115a5d(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x17e741[_0x115a5d(0x237)],'subUnitId':_0x17e741[_0x115a5d(0x1fa)],'scopeId':_0x17e741[_0x115a5d(0x3d0)]})),!0x0);}async function ni(_0x2ba584){const _0xac24a6=_0x92f39f;var _0x5644f5;let _0x81745c=(_0x5644f5=globalThis[_0xac24a6(0x45f)])==null?void 0x0:_0x5644f5['clipboard'];return _0x81745c!=null&&_0x81745c[_0xac24a6(0x2b4)]?(await _0x81745c[_0xac24a6(0x2b4)](_0x2ba584),!0x0):!0x1;}async function ri(_0x53a298,_0x488496,_0x772e5a=ni){const _0x22cc7a=_0x92f39f;let _0x5c079d=await Promise[_0x22cc7a(0x2a7)](_0x53a298['executeCommand'](_0x384d85['id'],_0x488496));if(typeof _0x5c079d!='string'||!_0x5c079d)return!0x1;try{return await _0x772e5a(_0x5c079d)!==!0x1;}catch{return!0x1;}}async function ii(_0x5b4b98,_0x51ab1e){const _0x3f2069=_0x92f39f;return _0x51ab1e['opml'][_0x3f2069(0x385)]()?(await _0x5b4b98[_0x3f2069(0x1b1)](_0x24edca['id'],_0x51ab1e))[_0x3f2069(0x15d)]:!0x1;}function ai(_0x19f3f4,_0x4f3d66){const _0x3702b1=_0x92f39f;let _0x192a6f=_0x3702b1(0x2ed)in _0x19f3f4['element']?_0x19f3f4['element']['shapeData'][_0x3702b1(0x29e)]:void 0x0;return(_0x192a6f==null?void 0x0:_0x192a6f[_0x3702b1(0x423)])||_0x4f3d66;}function oi(_0x698252,_0x35cd33,_0x5397d4=_0x13c229){const _0x3e3ae4=_0x92f39f;let _0x5397bd=Object[_0x3e3ae4(0x1f3)](_0x698252)['map'](_0x5add94=>{const _0x458a17=_0x3e3ae4;let _0x5eb662=_0x5213e3(_0x5add94[_0x458a17(0x465)]);return(_0x5eb662==null?void 0x0:_0x5eb662[_0x458a17(0x3b4)])===_0x35cd33?{'data':_0x5add94,'meta':_0x5eb662}:null;})[_0x3e3ae4(0x277)](_0x4d7ab5=>!!_0x4d7ab5),_0x5977bc=new Map();_0x5397bd[_0x3e3ae4(0x2cc)](_0x5498de=>{const _0x438c6f=_0x3e3ae4;let _0x3309d6=_0x5498de[_0x438c6f(0x1a4)][_0x438c6f(0x19e)];_0x5977bc[_0x438c6f(0x2db)](_0x3309d6,[..._0x5977bc[_0x438c6f(0x2ba)](_0x3309d6)??[],_0x5498de]);}),_0x5977bc[_0x3e3ae4(0x2cc)](_0x1a19da=>{const _0x2c18b3=_0x3e3ae4;_0x1a19da[_0x2c18b3(0x1c7)]((_0x54448e,_0xaad0ed)=>_0x2aa617(_0x54448e[_0x2c18b3(0x1a4)]['orderKey'],_0xaad0ed[_0x2c18b3(0x1a4)][_0x2c18b3(0x3ea)])||_0x54448e[_0x2c18b3(0x1df)][_0x2c18b3(0x2d3)][_0x2c18b3(0x46d)](_0xaad0ed[_0x2c18b3(0x1df)][_0x2c18b3(0x2d3)]));});let _0x339ec2=[],_0xbdb199=(_0x2cb275,_0x4ca51b)=>{const _0xd822a7=_0x3e3ae4;(_0x5977bc['get'](_0x2cb275)??[])[_0xd822a7(0x2cc)](_0x57cedd=>{const _0x580657=_0xd822a7;_0x339ec2[_0x580657(0x1ee)]({'nodeId':_0x57cedd[_0x580657(0x1df)]['elementId'],'depth':_0x4ca51b,'text':ai(_0x57cedd['data'],_0x5397d4)}),_0xbdb199(_0x57cedd[_0x580657(0x1df)]['elementId'],_0x4ca51b+0x1);});};return _0xbdb199(null,0x0),_0x339ec2;}function si(_0x249ce7,_0x286267){const _0x18b786=_0x92f39f;let _0x57ee3c=_0x286267[_0x18b786(0x385)]()[_0x18b786(0x1ca)]();return _0x57ee3c?_0x249ce7['filter'](_0x3def39=>_0x3def39[_0x18b786(0x423)][_0x18b786(0x1ca)]()[_0x18b786(0x3d8)](_0x57ee3c)):_0x249ce7;}function ci(_0x383ac4){const _0x2e897c=_0x92f39f;return{'paddingInlineStart':0x8+(Number[_0x2e897c(0x263)](_0x383ac4)&&_0x383ac4>0x0?_0x383ac4:0x0)*0x10};}function li(_0x369d35){const _0x23f998=_0x92f39f;return _0x36e588(_0x380ab0,{'className':_0x23f998(0x288),..._0x369d35});}function ui(_0x486783){const _0x3da7f4=_0x92f39f;return _0x99613(_0x3da7f4(0x20a),{'className':_0x2ccaad(_0x3da7f4(0x152),_0x4f81af),'data-board-mind-map-panel-section':_0x3da7f4(0x2c5),'children':[_0x36e588('h3',{'className':_0x3da7f4(0x16c),'children':_0x486783['title']}),_0x486783['children']]});}function di(_0x590503,_0x30b84c=_0x92f39f(0x214)){const _0x243315=_0x92f39f;var _0x5c1466,_0xc670c0,_0x5091cd;let _0x3f8b22=_0x17282b(_0x3aa11b),_0x46aa1f=_0x17282b(_0x3c1d99),_0x162f35=_0x17282b(_0xbfe5fc),_0xca60a4=_0x17282b(_0x33f8b9),[,_0x3df692]=_0x3d9926(_0x708baa=>_0x708baa+0x1,0x0);_0x969006(()=>{const _0x68d709=_0x25f1;let _0x1bc39b=_0x431517(_0x162f35['elementAdd$'],_0x162f35[_0x68d709(0x2a2)],_0x162f35[_0x68d709(0x372)])[_0x68d709(0x457)](_0x126492=>{const _0x1548a5=_0x68d709;_0x126492['some'](_0x12080a=>_0x12080a['unitId']===_0x590503[_0x1548a5(0x237)]&&_0x12080a['subUnitId']===_0x590503[_0x1548a5(0x1fa)])&&_0x3df692();});return()=>_0x1bc39b[_0x68d709(0x365)]();},[_0x162f35,_0x590503['unitId'],_0x590503[_0x243315(0x1fa)]]);let _0x1b4254=_0x162f35['getElementData'](_0x590503[_0x243315(0x237)],_0x590503['subUnitId']),_0x3af042=oi(_0x1b4254,_0x590503[_0x243315(0x3d0)],_0xca60a4['t'](_0x243315(0x39e))),_0x324ea0=(_0x5c1466=_0x25a48f((_0xc670c0=_0x1b4254[_0x590503['scopeId']])==null?void 0x0:_0xc670c0[_0x243315(0x465)]))==null?void 0x0:_0x5c1466[_0x243315(0x424)],[_0x4ef648,_0x87b6e7]=_0x406b1d(''),[_0x69a959,_0x227c45]=_0x406b1d(null),[_0xa1fc9d,_0x41be4e]=_0x406b1d(''),{spacing:_0x5762dc,direction:_0x48c8df,structureKind:_0x222ec3,branchLineType:_0x375007}=Xr(_0x324ea0),[_0x3c3ae9,_0x3e5f90]=_0x406b1d(null),[_0x3ed546,_0x4ab83b]=_0x406b1d(_0x30b84c),_0x4f8870=si(_0x3af042,_0x4ef648),_0x50f9ba={'unitId':_0x590503[_0x243315(0x237)],'subUnitId':_0x590503[_0x243315(0x1fa)],'scopeId':_0x590503[_0x243315(0x3d0)]};return{'commandService':_0x3f8b22,'elementStateService':_0x46aa1f,'localeService':_0xca60a4,'query':_0x4ef648,'setQuery':_0x87b6e7,'editingOutlineNode':_0x69a959,'setEditingOutlineNode':_0x227c45,'opmlText':_0xa1fc9d,'setOpmlText':_0x41be4e,'spacing':_0x5762dc,'layoutDirection':_0x48c8df,'structureKind':_0x222ec3,'branchLineType':_0x375007,'setDraggedOutlineNodeId':_0x3e5f90,'activeTab':_0x3ed546,'setActiveTab':_0x4ab83b,'visibleOutlineItems':_0x4f8870,'baseParams':_0x50f9ba,'tabItems':Gr[_0x243315(0x427)](_0x1ab1b6=>({'label':_0xca60a4['t'](_0x243315(0x15b)+_0x1ab1b6),'value':_0x1ab1b6})),'selectedNode':_0x590503[_0x243315(0x405)]?(_0x5091cd=_0x1b4254[_0x590503['nodeId']])==null?void 0x0:_0x5091cd[_0x243315(0x465)]:void 0x0,'branchLineItems':Yr['filter'](_0x135dce=>_0x135dce['value']!==_0x243315(0x265)||_0x3ffd8d(_0x222ec3)),'changeLayout':_0x5b2a34=>Zr(_0x3f8b22,{..._0x50f9ba,'direction':_0x5b2a34}),'changeStructureKind':_0xeaaa01=>{let _0x28ca2f=_0x47dc91(_0xeaaa01,_0x375007);return Zr(_0x3f8b22,{..._0x50f9ba,'structureKind':_0xeaaa01,..._0x28ca2f===_0x375007?null:{'branchLineType':_0x28ca2f}});},'changeBranchLineType':_0x5aa8f9=>{let _0x1783c9=_0x47dc91(_0x222ec3,_0x5aa8f9);return Qr(_0x3f8b22,{..._0x50f9ba,'branchLineType':_0x1783c9});},'changeSpacing':(_0xf7c51f,_0x3c0bed)=>{let _0x42be87={..._0x5762dc,[_0xf7c51f]:_0x3c0bed};return $r(_0x3f8b22,{..._0x50f9ba,..._0x42be87});},'importOpml':()=>{const _0x35dccf=_0x243315;ii(_0x3f8b22,{'unitId':_0x590503[_0x35dccf(0x237)],'subUnitId':_0x590503[_0x35dccf(0x1fa)],'left':0x78,'top':0x78,'opml':_0xa1fc9d})['then'](_0x23772b=>{_0x23772b&&_0x41be4e('');});},'exportOpml':()=>ri(_0x3f8b22,_0x50f9ba),'startRenameNode':(_0x50aa72,_0x24057e)=>{_0x227c45({'nodeId':_0x50aa72,'text':_0x24057e});},'commitRenameNode':()=>{const _0x2ff7cc=_0x243315;_0x69a959&&ti(_0x3f8b22,{..._0x50f9ba,'nodeId':_0x69a959[_0x2ff7cc(0x405)],'text':_0x69a959[_0x2ff7cc(0x423)]})['then'](_0x311b23=>{_0x311b23&&_0x227c45(null);});},'reorderNode':(_0x57308f,_0x4975ec)=>{const _0x1bb38e=_0x243315;if(_0x57308f[_0x1bb38e(0x170)](),!_0x3c3ae9||_0x3c3ae9===_0x4975ec)return;let _0x1a6e0d=_0x57308f[_0x1bb38e(0x3b1)]['getBoundingClientRect'](),_0x1cf51c=_0x57308f[_0x1bb38e(0x380)]<_0x1a6e0d[_0x1bb38e(0x1d8)]+_0x1a6e0d[_0x1bb38e(0x1fe)]/0x2?'before':_0x1bb38e(0x1f8);_0x3e5f90(null),ei(_0x3f8b22,{..._0x50f9ba,'nodeId':_0x3c3ae9,'targetNodeId':_0x4975ec,'placement':_0x1cf51c});}};}function fi(_0x490db3){const _0x286664=_0x92f39f;let {elementStateService:_0x4ad0d8,localeService:_0x1bcfce,query:_0x5468f1,setQuery:_0x15da0e,editingOutlineNode:_0x26dc11,setEditingOutlineNode:_0x22c448,opmlText:_0x48be6e,setOpmlText:_0x3e1305,spacing:_0x585bce,layoutDirection:_0x55a158,structureKind:_0x5670a7,branchLineType:_0x4f0eba,setDraggedOutlineNodeId:_0x4a0592,activeTab:_0x55d693,setActiveTab:_0x5a0395,visibleOutlineItems:_0x50b8e0,tabItems:_0x3f508d,branchLineItems:_0x32631b,changeLayout:_0x33c036,changeStructureKind:_0x513a0a,changeBranchLineType:_0x4cc42a,changeSpacing:_0x278442,importOpml:_0x31b0a0,exportOpml:_0xab3af3,startRenameNode:_0x12d59f,commitRenameNode:_0x12c5ee,reorderNode:_0x29d693}=di(_0x490db3);return _0x99613(_0x286664(0x3e8),{'className':_0x286664(0x442),'data-board-mind-map-panel':_0x286664(0x2c5),'children':[_0x36e588(_0x286664(0x3e8),{'className':_0x2ccaad(_0x286664(0x2da),_0x4f81af),'data-board-mind-map-panel-tabs':_0x286664(0x2c5),'children':_0x36e588(li,{'items':_0x3f508d,'value':_0x55d693,'onChange':_0x10c4ea=>_0x5a0395(_0x10c4ea)})}),_0x55d693==='structure'&&_0x36e588(ui,{'title':_0x1bcfce['t'](_0x286664(0x468)),'children':_0x99613(_0x286664(0x3e8),{'children':[_0x36e588(_0x2f2244,{'slot':_0x36e588(_0xea34ce,{}),'value':_0x5468f1,'placeholder':_0x1bcfce['t'](_0x286664(0x382)),'className':_0x2ccaad('univer-mb-3\x20univer-w-full',!0x1),'onChange':_0x15da0e}),_0x50b8e0[_0x286664(0x33b)]?_0x36e588('ol',{'className':_0x286664(0x3f2),'children':_0x50b8e0[_0x286664(0x427)](_0x20fdf6=>_0x36e588('li',{'draggable':!0x0,'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','style':ci(_0x20fdf6[_0x286664(0x1d9)]),'onDragStart':_0x14f483=>{const _0x501d48=_0x286664;var _0x562cf1;_0x4a0592(_0x20fdf6[_0x501d48(0x405)]),(_0x562cf1=_0x14f483[_0x501d48(0x361)])==null||_0x562cf1['setData']('text/plain',_0x20fdf6[_0x501d48(0x405)]),_0x14f483[_0x501d48(0x361)]&&(_0x14f483[_0x501d48(0x361)]['effectAllowed']='move');},'onDragOver':_0x59c6e8=>{const _0x1777e5=_0x286664;_0x59c6e8['preventDefault'](),_0x59c6e8['dataTransfer']&&(_0x59c6e8[_0x1777e5(0x361)]['dropEffect']=_0x1777e5(0x2c1));},'onDrop':_0x10faf=>_0x29d693(_0x10faf,_0x20fdf6[_0x286664(0x405)]),'onDragEnd':()=>_0x4a0592(null),'children':(_0x26dc11==null?void 0x0:_0x26dc11[_0x286664(0x405)])===_0x20fdf6[_0x286664(0x405)]?_0x99613('div',{'className':_0x2ccaad('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','univer-items-center'),'children':[_0x36e588(_0x2f2244,{'autoFocus':!0x0,'size':_0x286664(0x36d),'className':void 0x0,'value':_0x26dc11[_0x286664(0x423)],'onChange':_0x4ec68e=>_0x22c448({'nodeId':_0x20fdf6[_0x286664(0x405)],'text':_0x4ec68e}),'onKeyDown':_0xeddf37=>{const _0x47422d=_0x286664;_0xeddf37[_0x47422d(0x328)]===_0x47422d(0x249)&&_0x12c5ee(),_0xeddf37[_0x47422d(0x328)]==='Escape'&&_0x22c448(null);}}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x346),'disabled':!_0x26dc11['text']['trim'](),'onClick':_0x12c5ee,'children':_0x1bcfce['t']('boards-mind-ui.panel.rename')}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':()=>_0x22c448(null),'children':_0x1bcfce['t'](_0x286664(0x432))})]}):_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x44fdbd,{'size':_0x286664(0x36d),'variant':'ghost','className':_0x2ccaad(_0x286664(0x1be),!0x1),'onClick':()=>_0x4ad0d8[_0x286664(0x2ff)]({'unitId':_0x490db3[_0x286664(0x237)],'subUnitId':_0x490db3[_0x286664(0x1fa)]},[_0x20fdf6[_0x286664(0x405)]],_0x20fdf6['nodeId']),'children':_0x20fdf6['text']}),_0x36e588(_0x44fdbd,{'className':_0x2ccaad(_0x286664(0x3e3),'univer-text-xs'),'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':()=>_0x12d59f(_0x20fdf6[_0x286664(0x405)],_0x20fdf6[_0x286664(0x423)]),'children':_0x1bcfce['t'](_0x286664(0x398))})]})},_0x20fdf6[_0x286664(0x405)]))}):_0x36e588('div',{'className':_0x286664(0x1d3),'data-board-mind-map-panel-empty-state':'true','children':_0x1bcfce['t'](_0x286664(0x3cb))})]})}),_0x55d693===_0x286664(0x424)&&_0x36e588(ui,{'title':_0x1bcfce['t']('boards-mind-ui.panel.tab.layout'),'children':_0x99613(_0x286664(0x3e8),{'className':_0x286664(0x43f),'children':[_0x36e588(_0x286664(0x3e8),{'className':_0x286664(0x448),'children':_0x36e588(li,{'items':Jr[_0x286664(0x427)](_0x2cc333=>({'label':_0x1bcfce['t'](_0x2cc333[_0x286664(0x3b8)]),'value':_0x2cc333['value']})),'value':_0x5670a7,'onChange':_0x365f3f=>_0x513a0a(_0x365f3f)})}),_0x36e588('div',{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(li,{'items':qr[_0x286664(0x427)](_0x224416=>({'label':_0x1bcfce['t'](_0x224416[_0x286664(0x3b8)]),'value':_0x224416[_0x286664(0x24c)]})),'value':_0x55a158,'onChange':_0x41c928=>_0x33c036(_0x41c928)})}),_0x36e588(_0x286664(0x3e8),{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(li,{'items':_0x32631b[_0x286664(0x427)](_0x2ce2c0=>({'label':_0x1bcfce['t'](_0x2ce2c0[_0x286664(0x3b8)]),'value':_0x2ce2c0[_0x286664(0x24c)]})),'value':_0x4f0eba,'onChange':_0x4a4910=>_0x4cc42a(_0x4a4910)})}),_0x36e588('div',{'className':_0x286664(0x29f),'children':Kr[_0x286664(0x427)](({labelKey:_0x306384,key:_0x2d1eb4,min:_0x235600,max:_0x38e30f})=>_0x99613(_0x286664(0x16e),{'className':_0x286664(0x30e),'children':[_0x36e588(_0x286664(0x34b),{'className':_0x286664(0x347),'children':_0x1bcfce['t'](_0x306384)}),_0x36e588(_0xbf943c,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x235600,'max':_0x38e30f,'step':0x4,'value':_0x585bce[_0x2d1eb4],'precision':0x0,'className':_0x286664(0x1b4),'onChange':_0x574c01=>_0x278442(_0x2d1eb4,Number(_0x574c01??_0x235600))})]},_0x2d1eb4))})]})}),_0x55d693===_0x286664(0x403)&&_0x36e588(ui,{'title':_0x1bcfce['t'](_0x286664(0x466)),'children':_0x99613(_0x286664(0x3e8),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x36e588(_0xd46f6,{'className':_0x2ccaad(_0x286664(0x329),_0x286664(0x41e)),'placeholder':_0x1bcfce['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x48be6e,'onValueChange':_0x3e1305}),_0x99613(_0x286664(0x3e8),{'className':_0x286664(0x448),'children':[_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x346),'disabled':!_0x48be6e[_0x286664(0x385)](),'onClick':_0x31b0a0,'children':_0x1bcfce['t'](_0x286664(0x362))}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':_0xab3af3,'children':_0x1bcfce['t'](_0x286664(0x3d3))})]})]})})]});}let pi=class extends _0x2756ad{constructor(_0x559781,_0x34e9e3,_0x58ae0a){const _0x1e7b4c=_0x92f39f;super(),this[_0x1e7b4c(0x282)]=_0x559781,this[_0x1e7b4c(0x2d4)]=_0x34e9e3,this['_sidebarService']=_0x58ae0a,K(this,_0x1e7b4c(0x470),null),this[_0x1e7b4c(0x307)](this[_0x1e7b4c(0x282)][_0x1e7b4c(0x27c)](Ur)),this[_0x1e7b4c(0x307)](this[_0x1e7b4c(0x282)][_0x1e7b4c(0x360)](_0x508ba7=>{const _0x2251cf=_0x1e7b4c;if(_0x508ba7['id']!==Ur['id'])return;let _0x21fbd6=_0x508ba7[_0x2251cf(0x176)];_0x21fbd6&&'unitId'in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x237)]==_0x2251cf(0x192)&&_0x2251cf(0x1fa)in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x1fa)]==_0x2251cf(0x192)&&'scopeId'in _0x21fbd6&&typeof _0x21fbd6['scopeId']==_0x2251cf(0x192)&&this[_0x2251cf(0x2cb)]({'unitId':_0x21fbd6[_0x2251cf(0x237)],'subUnitId':_0x21fbd6[_0x2251cf(0x1fa)],'scopeId':_0x21fbd6[_0x2251cf(0x3d0)],'nodeId':_0x2251cf(0x405)in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x405)]==_0x2251cf(0x192)?_0x21fbd6[_0x2251cf(0x405)]:void 0x0});}));}[_0x92f39f(0x340)](){const _0x214161=_0x92f39f;var _0x36e2c9;(_0x36e2c9=this[_0x214161(0x470)])==null||_0x36e2c9[_0x214161(0x340)](),this[_0x214161(0x470)]=null,super[_0x214161(0x340)]();}['open'](_0x33f62f){const _0x587e5a=_0x92f39f;var _0x279af7;let _0x3526f7={'label':Wr,..._0x33f62f},_0x31a69b={'id':Wr,'layout':'canvas','header':{'title':this[_0x587e5a(0x2d4)]['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x3526f7,'onClose':()=>{const _0x346c40=_0x587e5a;this[_0x346c40(0x470)]=null;}};(_0x279af7=this[_0x587e5a(0x470)])==null||_0x279af7[_0x587e5a(0x340)](),this['_sidebarDisposable']=this[_0x587e5a(0x341)][_0x587e5a(0x2cb)](_0x31a69b);}};pi=J([q(0x0,_0x3aa11b),q(0x1,_0x3c9b31(_0x33f8b9)),q(0x2,_0x3c9b31(_0x5b3794))],pi);function mi(_0xaeeb89){const _0x146190=_0x92f39f;let _0x32a3ac=_0x17282b(_0x3aa11b),_0x4a2090=_0xaeeb89['popup'][_0x146190(0x241)];return _0x4a2090?_0x36e588(_0x1aa474,{'shapeRef':{'hostType':_0x597c76[_0x146190(0x1e4)],'unitId':_0x4a2090[_0x146190(0x237)],'subUnitId':_0x4a2090[_0x146190(0x1fa)],'shapeId':_0x4a2090['elementId']},'onText':()=>qn(_0x32a3ac,_0x146190(0x190)),'onStyle':()=>_0x32a3ac['executeCommand'](Ur['id'],{'unitId':_0x4a2090[_0x146190(0x237)],'subUnitId':_0x4a2090['subUnitId'],'scopeId':_0x4a2090[_0x146190(0x3d0)],'nodeId':_0x4a2090[_0x146190(0x2d3)]}),'onDelete':()=>qn(_0x32a3ac,_0x146190(0x440))}):null;}function hi(_0x5f4eaf){const _0x23530f=_0x92f39f;var _0x2e6773,_0x1af149,_0x34e37f,_0x255fd4,_0x3ae2f3;let _0x1c12b7=_0x17282b(_0x3aa11b),_0x3a535c=_0x17282b(_0x33f8b9),_0xac92bc=_0x17282b(_0x1ea3ab),_0x75aee6=_0x457155(_0xac92bc[_0x23530f(0x254)],_0xac92bc[_0x23530f(0x2d2)]()),[_0x366957,_0x5ba4b4]=_0x406b1d(null),_0xa9fb8f=_0x4dfc8f(_0x5f4eaf[_0x23530f(0x2ed)]),_0x5214cf=_0xa9fb8f['ff']??_0x350ce4[_0x23530f(0x29e)][_0x23530f(0x443)],_0x4c5115=_0xa9fb8f['fs']??_0x350ce4['shapeText']['fontSize'];function _0x8e7a9(_0x46c0b5){const _0x3b1917=_0x23530f;return _0x1c12b7[_0x3b1917(0x1b1)](_0x5049e3['id'],{'unitId':_0x5f4eaf[_0x3b1917(0x237)],'subUnitId':_0x5f4eaf['subUnitId'],'nodeId':_0x5f4eaf[_0x3b1917(0x405)],..._0x46c0b5});}let _0x2a8ede=[{'key':_0x23530f(0x213),'value':((_0x2e6773=_0x5f4eaf['shapeData'][_0x23530f(0x213)])==null?void 0x0:_0x2e6773[_0x23530f(0x1f2)])??_0x350ce4[_0x23530f(0x213)]},{'key':_0x23530f(0x1e7),'value':((_0x1af149=_0x5f4eaf[_0x23530f(0x2ed)][_0x23530f(0x1e7)])==null?void 0x0:_0x1af149[_0x23530f(0x1f2)])??_0x350ce4[_0x23530f(0x1e7)]},{'key':'fontColor','value':((_0x34e37f=_0xa9fb8f['cl'])==null?void 0x0:_0x34e37f['rgb'])??_0x350ce4[_0x23530f(0x29e)]['color']}];if(_0x366957){var _0x2e90bd;return _0x99613(_0x23530f(0x3e8),{'className':_0x23530f(0x236),'children':[_0x36e588(_0x44fdbd,{'className':_0x23530f(0x175),'onClick':()=>_0x5ba4b4(null),'children':_0x3a535c['t']('boards-mind-ui.panel.cancel')}),_0x366957===_0x23530f(0x443)?_0x75aee6==null?void 0x0:_0x75aee6[_0x23530f(0x427)](_0x190439=>_0x36e588(_0x44fdbd,{'className':_0x23530f(0x175),'aria-pressed':_0x5214cf===_0x190439[_0x23530f(0x24c)],'variant':_0x5214cf===_0x190439[_0x23530f(0x24c)]?_0x23530f(0x346):_0x23530f(0x326),'onClick':async()=>{const _0x2d7564=_0x23530f;await _0x8e7a9({'textStyle':{'fontFamily':_0x190439[_0x2d7564(0x24c)]}}),_0x5ba4b4(null);},'children':_0x190439[_0x23530f(0x16e)]},_0x190439[_0x23530f(0x24c)])):_0x36e588(_0x3058ff,{'value':(_0x2e90bd=_0x2a8ede[_0x23530f(0x2bf)](({key:_0x463b62})=>_0x463b62===_0x366957))==null?void 0x0:_0x2e90bd[_0x23530f(0x24c)],'onSelect':async _0x32e7b2=>{const _0x21ff4d=_0x23530f;_0x366957===_0x21ff4d(0x213)?await _0x8e7a9({'fillColor':_0x32e7b2}):_0x366957===_0x21ff4d(0x1e7)?await _0x8e7a9({'strokeColor':_0x32e7b2}):await _0x8e7a9({'textStyle':{'color':_0x32e7b2}}),_0x5ba4b4(null);}})]});}let _0x484610=[{'key':_0x23530f(0x42b),'active':_0xa9fb8f['bl']===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x2a133d,{})},{'key':_0x23530f(0x238),'active':_0xa9fb8f['it']===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x23fa02,{})},{'key':_0x23530f(0x29d),'active':((_0x255fd4=_0xa9fb8f['ul'])==null?void 0x0:_0x255fd4['s'])===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x203b5d,{})},{'key':_0x23530f(0x1e1),'active':((_0x3ae2f3=_0xa9fb8f['st'])==null?void 0x0:_0x3ae2f3['s'])===_0x47d42f['TRUE'],'icon':_0x36e588(_0x211b34,{})}];return _0x99613(_0x23530f(0x3e8),{'className':_0x23530f(0x236),'children':[_0x36e588(_0x23530f(0x3e8),{'className':_0x23530f(0x1b8),'children':_0x484610[_0x23530f(0x427)](({key:_0x1f014c,active:_0x189009,icon:_0x18c324})=>_0x36e588(_0x44fdbd,{'className':_0x23530f(0x18b),'aria-label':_0x3a535c['t'](_0x23530f(0x230)+_0x1f014c),'aria-pressed':_0x189009,'variant':_0x189009?_0x23530f(0x346):_0x23530f(0x326),'onClick':()=>_0x8e7a9({'textStyle':{[_0x1f014c]:!_0x189009}}),'children':_0x18c324},_0x1f014c))}),_0x99613(_0x44fdbd,{'className':_0x23530f(0x2b0),'onClick':()=>_0x5ba4b4('fontFamily'),'children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x1da))}),_0x36e588(_0x23530f(0x34b),{'children':_0x5214cf})]}),_0x99613(_0x23530f(0x16e),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x3ad))}),_0x36e588(_0xbf943c,{'className':_0x23530f(0x1f4),'inputClassName':_0x23530f(0x37d),'controls':!0x1,'min':0x1,'value':_0x4c5115,'onChange':_0x2ab582=>{if(_0x2ab582!=null)return _0x8e7a9({'textStyle':{'fontSize':_0x2ab582}});}})]}),_0x2a8ede[_0x23530f(0x427)](({key:_0x353d0d,value:_0x4a3640})=>_0x99613(_0x44fdbd,{'className':'univer-min-h-12\x20univer-w-full\x20univer-justify-between','onClick':()=>_0x5ba4b4(_0x353d0d),'children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x25f)+_0x353d0d)}),_0x36e588(_0x23530f(0x34b),{'className':'univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','style':{'backgroundColor':_0x4a3640}})]},_0x353d0d))]});}function gi(_0x4f3028){const _0x4747ce=_0x92f39f;return _0x36e588(_0x4747ce(0x3e8),{'className':_0x2ccaad('univer-grid\x20univer-w-full\x20univer-gap-2',_0x4f3028[_0x4747ce(0x2d7)]['length']===0x4?_0x4747ce(0x23b):_0x4747ce(0x386)),'children':_0x4f3028['items'][_0x4747ce(0x427)](_0x53bb81=>_0x36e588(_0x44fdbd,{'className':_0x4747ce(0x299),'variant':_0x4f3028[_0x4747ce(0x24c)]===_0x53bb81['value']?_0x4747ce(0x346):_0x4747ce(0x326),'aria-pressed':_0x4f3028['value']===_0x53bb81['value'],'onClick':()=>_0x4f3028['onChange'](_0x53bb81[_0x4747ce(0x24c)]),'children':_0x53bb81[_0x4747ce(0x16e)]},_0x53bb81[_0x4747ce(0x24c)]))});}function _i(_0x209fce){const _0xc2e5ba=_0x92f39f;let {commandService:_0x1c6e8d,elementStateService:_0x116878,localeService:_0x44b46d,query:_0x32b32b,setQuery:_0x7dc6f8,editingOutlineNode:_0x15c19f,setEditingOutlineNode:_0x549c18,opmlText:_0x582a8f,setOpmlText:_0x3be055,spacing:_0x448d7d,layoutDirection:_0xdc682,structureKind:_0x4057e7,branchLineType:_0x52ff60,activeTab:_0x55b2c5,setActiveTab:_0x3e1ffd,visibleOutlineItems:_0x44400e,baseParams:_0x3c11b6,tabItems:_0x56054f,selectedNode:_0x35890b,branchLineItems:_0x2af99f,changeLayout:_0x73d6bb,changeStructureKind:_0x295394,changeBranchLineType:_0x44044f,changeSpacing:_0x3450da,importOpml:_0x2e8257,startRenameNode:_0x46946b,commitRenameNode:_0x536b7f}=di(_0x209fce,_0x209fce[_0xc2e5ba(0x405)]?'style':_0xc2e5ba(0x214));return(_0x35890b==null?void 0x0:_0x35890b[_0xc2e5ba(0x396)])===_0x36d773[_0xc2e5ba(0x46b)]&&_0x56054f[_0xc2e5ba(0x3b5)]({'label':_0x44b46d['t']('boards-mind-ui.panel.nodeStyle.style'),'value':_0xc2e5ba(0x44c)}),_0x99613(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x442),'data-board-mind-map-panel':_0xc2e5ba(0x2c5),'children':[_0x36e588(_0xc2e5ba(0x3e8),{'className':_0x2ccaad(_0xc2e5ba(0x2da),_0x4f81af),'data-board-mind-map-panel-tabs':_0xc2e5ba(0x2c5),'children':_0x36e588(gi,{'items':_0x56054f,'value':_0x55b2c5,'onChange':_0x30e647=>_0x3e1ffd(_0x30e647)})}),_0x55b2c5===_0xc2e5ba(0x44c)&&(_0x35890b==null?void 0x0:_0x35890b[_0xc2e5ba(0x396)])===_0x36d773[_0xc2e5ba(0x46b)]&&_0x36e588(hi,{'unitId':_0x209fce[_0xc2e5ba(0x237)],'subUnitId':_0x209fce['subUnitId'],'nodeId':_0x35890b['id'],'shapeData':_0x35890b[_0xc2e5ba(0x2ed)]}),_0x55b2c5==='structure'&&_0x36e588(ui,{'title':_0x44b46d['t'](_0xc2e5ba(0x468)),'children':_0x99613(_0xc2e5ba(0x3e8),{'children':[_0x36e588(_0x2f2244,{'slot':_0x36e588(_0xea34ce,{}),'value':_0x32b32b,'placeholder':_0x44b46d['t']('boards-mind-ui.panel.searchNodes'),'className':_0x2ccaad(_0xc2e5ba(0x310),_0xc2e5ba(0x2a1)),'onChange':_0x7dc6f8}),_0x44400e[_0xc2e5ba(0x33b)]?_0x36e588('ol',{'className':_0xc2e5ba(0x3f2),'children':_0x44400e['map'](_0x5f04dd=>_0x36e588('li',{'className':_0xc2e5ba(0x392),'style':ci(_0x5f04dd[_0xc2e5ba(0x1d9)]),'children':(_0x15c19f==null?void 0x0:_0x15c19f[_0xc2e5ba(0x405)])===_0x5f04dd[_0xc2e5ba(0x405)]?_0x99613('div',{'className':_0x2ccaad('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2',_0xc2e5ba(0x3c9)),'children':[_0x36e588(_0x2f2244,{'autoFocus':!0x1,'size':'large','className':_0xc2e5ba(0x1bb),'value':_0x15c19f[_0xc2e5ba(0x423)],'onChange':_0x3b00fe=>_0x549c18({'nodeId':_0x5f04dd[_0xc2e5ba(0x405)],'text':_0x3b00fe}),'onKeyDown':_0x3a6baa=>{const _0xfbf3ba=_0xc2e5ba;_0x3a6baa[_0xfbf3ba(0x328)]===_0xfbf3ba(0x249)&&_0x536b7f(),_0x3a6baa[_0xfbf3ba(0x328)]===_0xfbf3ba(0x1ff)&&_0x549c18(null);}}),_0x36e588(_0x44fdbd,{'className':_0xc2e5ba(0x1c4),'size':_0xc2e5ba(0x36d),'variant':'primary','disabled':!_0x15c19f[_0xc2e5ba(0x423)][_0xc2e5ba(0x385)](),'onClick':_0x536b7f,'children':_0x44b46d['t']('boards-mind-ui.panel.rename')}),_0x36e588(_0x44fdbd,{'className':'univer-min-h-12\x20univer-flex-1','size':_0xc2e5ba(0x36d),'variant':_0xc2e5ba(0x326),'onClick':()=>_0x549c18(null),'children':_0x44b46d['t'](_0xc2e5ba(0x432))})]}):_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x44fdbd,{'size':'small','variant':_0xc2e5ba(0x22e),'className':_0x2ccaad(_0xc2e5ba(0x1be),_0xc2e5ba(0x26c)),'onClick':()=>_0x116878[_0xc2e5ba(0x2ff)]({'unitId':_0x209fce[_0xc2e5ba(0x237)],'subUnitId':_0x209fce[_0xc2e5ba(0x1fa)]},[_0x5f04dd['nodeId']],_0x5f04dd[_0xc2e5ba(0x405)]),'children':_0x5f04dd[_0xc2e5ba(0x423)]}),_0x36e588(_0x44fdbd,{'className':_0x2ccaad(_0xc2e5ba(0x3e3),'univer-min-h-12\x20univer-px-3'),'size':'small','variant':_0xc2e5ba(0x326),'onClick':()=>_0x46946b(_0x5f04dd[_0xc2e5ba(0x405)],_0x5f04dd['text']),'children':_0x44b46d['t'](_0xc2e5ba(0x398))})]})},_0x5f04dd[_0xc2e5ba(0x405)]))}):_0x36e588('div',{'className':'univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','data-board-mind-map-panel-empty-state':_0xc2e5ba(0x2c5),'children':_0x44b46d['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x55b2c5===_0xc2e5ba(0x424)&&_0x36e588(ui,{'title':_0x44b46d['t'](_0xc2e5ba(0x3f1)),'children':_0x99613('div',{'className':_0xc2e5ba(0x43f),'children':[_0x36e588(_0xc2e5ba(0x3e8),{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(gi,{'items':Jr[_0xc2e5ba(0x427)](_0x97a5fe=>({'label':_0x44b46d['t'](_0x97a5fe[_0xc2e5ba(0x3b8)]),'value':_0x97a5fe[_0xc2e5ba(0x24c)]})),'value':_0x4057e7,'onChange':_0x277724=>_0x295394(_0x277724)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x448),'children':_0x36e588(gi,{'items':qr[_0xc2e5ba(0x427)](_0x544fc5=>({'label':_0x44b46d['t'](_0x544fc5['labelKey']),'value':_0x544fc5[_0xc2e5ba(0x24c)]})),'value':_0xdc682,'onChange':_0x44f4e1=>_0x73d6bb(_0x44f4e1)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x448),'children':_0x36e588(gi,{'items':_0x2af99f['map'](_0x27ed02=>({'label':_0x44b46d['t'](_0x27ed02[_0xc2e5ba(0x3b8)]),'value':_0x27ed02[_0xc2e5ba(0x24c)]})),'value':_0x52ff60,'onChange':_0x8d6413=>_0x44044f(_0x8d6413)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':'univer-space-y-2','children':Kr[_0xc2e5ba(0x427)](({labelKey:_0x58109f,key:_0x47a142,min:_0x3a8efb,max:_0x5519c4})=>_0x99613(_0xc2e5ba(0x16e),{'className':_0xc2e5ba(0x30e),'children':[_0x36e588('span',{'className':_0xc2e5ba(0x3ce),'children':_0x44b46d['t'](_0x58109f)}),_0x36e588(_0xbf943c,{'controls':!0x1,'inputClassName':_0xc2e5ba(0x37d),'min':_0x3a8efb,'max':_0x5519c4,'step':0x4,'value':_0x448d7d[_0x47a142],'precision':0x0,'className':_0xc2e5ba(0x33e),'onChange':_0x339c15=>_0x3450da(_0x47a142,Number(_0x339c15??_0x3a8efb))})]},_0x47a142))})]})}),_0x55b2c5===_0xc2e5ba(0x403)&&_0x36e588(ui,{'title':_0x44b46d['t']('boards-mind-ui.panel.tab.importExport'),'children':_0x99613(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x1b9),'children':[_0x36e588(_0xd46f6,{'className':_0x2ccaad('univer-h-28\x20univer-resize-none','univer-text-base'),'placeholder':_0x44b46d['t'](_0xc2e5ba(0x267)),'value':_0x582a8f,'onValueChange':_0x3be055}),_0x99613('div',{'className':'univer-flex\x20univer-gap-2','children':[_0x36e588(_0x44fdbd,{'className':_0xc2e5ba(0x1c4),'size':_0xc2e5ba(0x36d),'variant':_0xc2e5ba(0x346),'disabled':!_0x582a8f[_0xc2e5ba(0x385)](),'onClick':_0x2e8257,'children':_0x44b46d['t'](_0xc2e5ba(0x362))}),_0x36e588(_0x44fdbd,{'className':'univer-min-h-12\x20univer-flex-1','size':'small','variant':'default','onClick':async()=>{const _0x436ba7=_0xc2e5ba;let _0x41548c=await _0x1c6e8d[_0x436ba7(0x1b1)](_0x384d85['id'],_0x3c11b6);_0x41548c!==!0x1&&_0x3be055(_0x41548c);},'children':_0x44b46d['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let vi=class extends _0x2756ad{constructor(_0xdb41b3){const _0x535df4=_0x92f39f;super(),this['_componentManager']=_0xdb41b3,this[_0x535df4(0x473)]();}[_0x92f39f(0x473)](){const _0x48bb03=_0x92f39f;this[_0x48bb03(0x307)](this[_0x48bb03(0x3e4)]['register'](On,An)),this[_0x48bb03(0x307)](this['_componentManager']['register'](Kn,mi)),this[_0x48bb03(0x307)](this[_0x48bb03(0x3e4)][_0x48bb03(0x27b)](Wr,_i));}};vi=J([q(0x0,_0x3c9b31(_0x5a063f))],vi);let yi=class extends _0x2756ad{constructor(_0x50df51,_0x18a915,_0x4f4301){const _0x218cca=_0x92f39f;super(),this[_0x218cca(0x282)]=_0x50df51,this['_localeService']=_0x18a915,this['_sidebarService']=_0x4f4301,K(this,_0x218cca(0x470),null),this[_0x218cca(0x307)](this[_0x218cca(0x282)][_0x218cca(0x27c)](Ur)),this[_0x218cca(0x307)](this[_0x218cca(0x282)]['onCommandExecuted'](_0x4788b4=>{const _0xd7e2b0=_0x218cca;if(_0x4788b4['id']!==Ur['id'])return;let _0x154300=_0x4788b4[_0xd7e2b0(0x176)];_0x154300&&'unitId'in _0x154300&&typeof _0x154300[_0xd7e2b0(0x237)]==_0xd7e2b0(0x192)&&'subUnitId'in _0x154300&&typeof _0x154300[_0xd7e2b0(0x1fa)]=='string'&&_0xd7e2b0(0x3d0)in _0x154300&&typeof _0x154300['scopeId']==_0xd7e2b0(0x192)&&this[_0xd7e2b0(0x2cb)]({'unitId':_0x154300[_0xd7e2b0(0x237)],'subUnitId':_0x154300['subUnitId'],'scopeId':_0x154300['scopeId'],'nodeId':_0xd7e2b0(0x405)in _0x154300&&typeof _0x154300[_0xd7e2b0(0x405)]=='string'?_0x154300[_0xd7e2b0(0x405)]:void 0x0});}));}['dispose'](){const _0x551449=_0x92f39f;var _0x32557f;(_0x32557f=this[_0x551449(0x470)])==null||_0x32557f[_0x551449(0x340)](),this[_0x551449(0x470)]=null,super[_0x551449(0x340)]();}['open'](_0xd86349){const _0x4d0830=_0x92f39f;var _0x186871;let _0xd9ff8d={'label':Wr,..._0xd86349};(_0x186871=this['_sidebarDisposable'])==null||_0x186871[_0x4d0830(0x340)](),this[_0x4d0830(0x470)]=this[_0x4d0830(0x341)][_0x4d0830(0x2cb)]({'id':Wr,'header':{'title':this[_0x4d0830(0x2d4)]['t'](_0x4d0830(0x1fd))},'width':0x184,'children':_0xd9ff8d,'onClose':()=>{const _0xc2b2ec=_0x4d0830;this[_0xc2b2ec(0x470)]=null;}});}};yi=J([q(0x0,_0x3aa11b),q(0x1,_0x3c9b31(_0x33f8b9)),q(0x2,_0x3c9b31(_0x5b3794))],yi);let bi=class extends _0x2756ad{constructor(_0x46c25f){const _0x587e4f=_0x92f39f;super(),this['_componentManager']=_0x46c25f,this[_0x587e4f(0x473)]();}[_0x92f39f(0x473)](){const _0x5b362b=_0x92f39f;this[_0x5b362b(0x307)](this[_0x5b362b(0x3e4)][_0x5b362b(0x27b)](On,An)),this[_0x5b362b(0x307)](this['_componentManager'][_0x5b362b(0x27b)](Kn,cr)),this[_0x5b362b(0x307)](this[_0x5b362b(0x3e4)][_0x5b362b(0x27b)](Wr,fi));}};bi=J([q(0x0,_0x3c9b31(_0x5a063f))],bi);let xi=class{constructor(_0x3b6109,_0x4c3e8e,_0x263488){const _0x75781e=_0x92f39f;this[_0x75781e(0x327)]=_0x3b6109,this[_0x75781e(0x306)]=_0x4c3e8e,this['_renderManagerService']=_0x263488;}[_0x92f39f(0x224)](_0x21b89e){const _0xdf0e88=_0x92f39f;var _0x492a4d,_0x4c43df;let _0x3d1261=(_0x492a4d=this['_renderManagerService'][_0xdf0e88(0x303)](_0x21b89e[_0xdf0e88(0x237)]))==null||(_0x4c43df=_0x492a4d[_0xdf0e88(0x259)])==null?void 0x0:_0x4c43df[_0xdf0e88(0x3ec)](_0x492a4d),_0x531dba=(_0x3d1261==null?void 0x0:_0x3d1261['get'](_0x239302))??this[_0xdf0e88(0x327)];return((_0x3d1261==null?void 0x0:_0x3d1261[_0xdf0e88(0x2ba)](br))??this['_insertStateService'])['setTemplate']({'rootText':_0x21b89e[_0xdf0e88(0x1d4)],'structureKind':_0x21b89e[_0xdf0e88(0x17b)],'branchLineType':_0x21b89e[_0xdf0e88(0x434)],'children':_0x21b89e['children'],'blueprint':_0x21b89e[_0xdf0e88(0x1c5)]}),_0x531dba[_0xdf0e88(0x31a)](!0x1),_0x531dba[_0xdf0e88(0x167)](),_0x531dba[_0xdf0e88(0x1c6)](_0x28dd01[_0xdf0e88(0x3ae)]),_0x531dba[_0xdf0e88(0x2f7)]({'type':_0x28dd01[_0xdf0e88(0x3ae)]}),!0x0;}};xi=J([q(0x0,_0x239302),q(0x1,_0x3c9b31(br)),q(0x2,_0x1cdd64)],xi);const Si=_0x92f39f(0x21a),Ci=[Dn],wi=[Vr];let Ti=class extends _0xe01e68{constructor(_0x365995=en,_0x47d114,_0x3823b3,_0x25d172){const _0x4b6add=_0x92f39f;super(),this[_0x4b6add(0x274)]=_0x365995,this[_0x4b6add(0x169)]=_0x47d114,this[_0x4b6add(0x26d)]=_0x3823b3,this[_0x4b6add(0x305)]=_0x25d172;let {..._0x3e4332}=_0x221ada({},en,this[_0x4b6add(0x274)]);this['_configService'][_0x4b6add(0x3c7)]($t,_0x3e4332);}[_0x92f39f(0x2aa)](){const _0x5a4073=_0x92f39f;_0x4fb43a['registerRuntimeScopedDependencies'](this[_0x5a4073(0x169)],[[br],[Tr]]),this['_getDependencies']()[_0x5a4073(0x2cc)](_0x4e66fd=>this[_0x5a4073(0x169)][_0x5a4073(0x227)](_0x4e66fd));let _0x5e975e=this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](xi),_0x37f8b4=this['_injector'][_0x5a4073(0x2ba)](_0x3709c8);this[_0x5a4073(0x307)](_0x37f8b4['registerAdapter'](_0x5e975e)),this[_0x5a4073(0x307)](this['_injector'][_0x5a4073(0x2ba)](Ln)),this[_0x5a4073(0x307)](this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](zr)),this['disposeWithMe'](this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](yi)),this['disposeWithMe'](this[_0x5a4073(0x169)]['get'](bi)),this[_0x5a4073(0x23e)]();}['_getDependencies'](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}['_getRenderModules'](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x92f39f(0x34a)](){const _0x1629d8=_0x92f39f;this[_0x1629d8(0x1b7)]()['forEach'](_0x55d25e=>{const _0x2b7628=_0x1629d8;this['disposeWithMe'](this[_0x2b7628(0x305)][_0x2b7628(0x23f)](_0x597c76[_0x2b7628(0x1e4)],_0x55d25e));});}[_0x92f39f(0x23e)](){const _0x8a1d6d=_0x92f39f;var _0x6060ff,_0x31b6a0;let _0x377b26=this[_0x8a1d6d(0x1db)]();this[_0x8a1d6d(0x26d)][_0x8a1d6d(0x3c7)](_0x57b746,{..._0x377b26,'toolbar':{..._0x377b26['toolbar'],'tools':{...(_0x6060ff=_0x377b26[_0x8a1d6d(0x2cf)])==null?void 0x0:_0x6060ff[_0x8a1d6d(0x3e0)],[_0x28dd01[_0x8a1d6d(0x3ae)]]:Ei((_0x31b6a0=_0x377b26[_0x8a1d6d(0x2cf)])==null||(_0x31b6a0=_0x31b6a0['tools'])==null?void 0x0:_0x31b6a0[_0x28dd01['MindMap']])}}});}[_0x92f39f(0x1db)](){const _0x48c467=_0x92f39f;return this[_0x48c467(0x26d)][_0x48c467(0x19a)](_0x57b746)??{};}};K(Ti,_0x92f39f(0x18d),Si),K(Ti,_0x92f39f(0x20e),Zt),K(Ti,_0x92f39f(0x1c2),Qt),K(Ti,_0x92f39f(0x396),_0x597c76[_0x92f39f(0x1e4)]),Ti=J([_0x48ac0a(_0x39127d,_0x53d0dd,_0x103306,_0x46f886,_0x4fb43a),q(0x1,_0x3c9b31(_0x3b9e9d)),q(0x2,_0x506e27),q(0x3,_0x1cdd64)],Ti);function Ei(_0x5bd251){const _0x630366=_0x92f39f;return _0x5bd251===!0x1?!0x1:typeof _0x5bd251!=_0x630366(0x31e)||{..._0x5bd251,'enabled':_0x5bd251[_0x630366(0x3f3)]??!0x0};}let Di=class extends _0xe01e68{constructor(_0x19744d=en,_0x5104e9,_0x497f95,_0x2d2f82){const _0x3a8232=_0x92f39f;super(),this[_0x3a8232(0x274)]=_0x19744d,this[_0x3a8232(0x169)]=_0x5104e9,this['_configService']=_0x497f95,this[_0x3a8232(0x305)]=_0x2d2f82;let {..._0x2096ec}=_0x221ada({},en,this[_0x3a8232(0x274)]);this[_0x3a8232(0x26d)]['setConfig']($t,_0x2096ec);}[_0x92f39f(0x2aa)](){const _0x218e86=_0x92f39f;let _0x406779=[[br],[Tr]];_0x389ea0[_0x218e86(0x1c0)](this['_injector'],_0x406779),[..._0x406779,[xi],[Ln],[zr],[pi],[vi]][_0x218e86(0x2cc)](_0x2b4961=>this['_injector'][_0x218e86(0x227)](_0x2b4961)),this['disposeWithMe'](this[_0x218e86(0x169)][_0x218e86(0x2ba)](_0x3709c8)[_0x218e86(0x3dd)](this[_0x218e86(0x169)][_0x218e86(0x2ba)](xi))),this[_0x218e86(0x307)](this[_0x218e86(0x169)]['get'](Ln)),this[_0x218e86(0x307)](this[_0x218e86(0x169)]['get'](zr)),this['disposeWithMe'](this['_injector'][_0x218e86(0x2ba)](pi)),this[_0x218e86(0x307)](this['_injector'][_0x218e86(0x2ba)](vi)),this[_0x218e86(0x23e)]();}[_0x92f39f(0x34a)](){const _0x94d671=_0x92f39f;[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]][_0x94d671(0x2cc)](_0x151091=>{const _0x225cdb=_0x94d671;this[_0x225cdb(0x307)](this[_0x225cdb(0x305)][_0x225cdb(0x23f)](_0x597c76['UNIVER_BOARD'],_0x151091));});}['_enableMindMapToolbarTool'](){const _0x6de684=_0x92f39f;var _0x4dfa70,_0x1b9d54;let _0x39cbb2=this[_0x6de684(0x1db)]();this['_configService'][_0x6de684(0x3c7)](_0x57b746,{..._0x39cbb2,'toolbar':{..._0x39cbb2['toolbar'],'tools':{...(_0x4dfa70=_0x39cbb2[_0x6de684(0x2cf)])==null?void 0x0:_0x4dfa70['tools'],[_0x28dd01['MindMap']]:Oi((_0x1b9d54=_0x39cbb2[_0x6de684(0x2cf)])==null||(_0x1b9d54=_0x1b9d54[_0x6de684(0x3e0)])==null?void 0x0:_0x1b9d54[_0x28dd01[_0x6de684(0x3ae)]])}}});}[_0x92f39f(0x1db)](){const _0x11ec77=_0x92f39f;return this[_0x11ec77(0x26d)][_0x11ec77(0x19a)](_0x57b746)??{};}};K(Di,_0x92f39f(0x18d),Si),K(Di,_0x92f39f(0x20e),Zt),K(Di,_0x92f39f(0x1c2),Qt),K(Di,_0x92f39f(0x396),_0x597c76[_0x92f39f(0x1e4)]),Di=J([_0x48ac0a(_0x39127d,_0x53d0dd,_0x103306,_0x46f886,_0x389ea0),q(0x1,_0x3c9b31(_0x3b9e9d)),q(0x2,_0x506e27),q(0x3,_0x1cdd64)],Di);function Oi(_0x3cc7ff){const _0x264bcf=_0x92f39f;return _0x3cc7ff===!0x1?!0x1:typeof _0x3cc7ff!='object'||{..._0x3cc7ff,'enabled':_0x3cc7ff[_0x264bcf(0x3f3)]??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|
|
1
|
+
const _0x4f3d14=_0x5652;(function(_0x5ef2f6,_0x47b4c8){const _0x39fb8d=_0x5652,_0x367b12=_0x5ef2f6();while(!![]){try{const _0xd6d06b=-parseInt(_0x39fb8d(0x3fa))/0x1*(parseInt(_0x39fb8d(0x398))/0x2)+-parseInt(_0x39fb8d(0x39a))/0x3+parseInt(_0x39fb8d(0x1bf))/0x4+-parseInt(_0x39fb8d(0x1a4))/0x5*(-parseInt(_0x39fb8d(0x3f7))/0x6)+-parseInt(_0x39fb8d(0x21e))/0x7*(-parseInt(_0x39fb8d(0x406))/0x8)+parseInt(_0x39fb8d(0x273))/0x9*(parseInt(_0x39fb8d(0x2e3))/0xa)+parseInt(_0x39fb8d(0x463))/0xb*(parseInt(_0x39fb8d(0x45f))/0xc);if(_0xd6d06b===_0x47b4c8)break;else _0x367b12['push'](_0x367b12['shift']());}catch(_0x1ab488){_0x367b12['push'](_0x367b12['shift']());}}}(_0x4677,0x1b5dd));import{BoardElementType as _0x282c4b,BoardToolType as _0x2f25e2,IBoardElementService as _0x5c495f,IBoardMindMapAdapterService as _0x13266e,UniverBoardsPlugin as _0x3afdbd,documentTextStyleToBoardShapeTextStyle as _0x5eb915,offsetBoardConnectorGeometry as _0x4d906e,resolveBoardElementWorldBounds as _0x25dbfe}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x21cdef,AddMindMapSiblingOperation as _0x20f384,ChangeMindMapBranchLineTypeOperation as _0x523acc,ChangeMindMapLayoutOperation as _0x32999d,CopyMindMapNodeOperation as _0x47452c,DeleteMindMapNodeOperation as _0x20689a,DetachMindMapNodeOperation as _0x10841e,ExportMindMapOpmlOperation as _0x1d834a,IMindMapClipboardService as _0x2d52c2,ImportMindMapOpmlOperation as _0x3b34fe,InsertBoardMindMapOperation as _0x243dd0,LayoutMindMapOperation as _0x4b5dc4,MIND_MAP_DEFAULT_LAYOUT as _0x1fa9e8,MIND_MAP_DEFAULT_NODE_SIZE as _0x5ad525,MIND_MAP_DEFAULT_NODE_TEXT as _0x251b5d,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x3fb7b7,PasteMindMapAsNewMindMapOperation as _0x568b7,PasteMindMapNodeOperation as _0x5acb7b,PromoteMindMapNodeOperation as _0x245415,ReparentMindMapNodeOperation as _0x2f561c,ToggleMindMapNodeCollapseOperation as _0xdc3604,TranslateMindMapOperation as _0x2c3a69,UniverBoardsMindPlugin as _0x204fd7,UpdateMindMapIncomingConnectorOperation as _0x411ecf,UpdateMindMapNodeOperation as _0x3d67d8,compareMindMapOrderKey as _0x401170,getMindMapConnectorMeta as _0x5dd284,getMindMapContainerMeta as _0x487e3a,getMindMapDefaultChildOrderKey as _0x339fd4,getMindMapNodeMeta as _0x5585ba,isMindMapPlainStructureKind as _0x35ce36,resolveMindMapBranchLineTypeForStructure as _0x22ba0f,resolveMindMapLayoutPreview as _0x4c0113,resolveMindMapNodeHostSize as _0x26ff7e}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3e4252,BOARD_RENDER_LAYER_INDEX as _0x2019f6,BOARD_RENDER_OBJECT_Z_INDEX as _0x65c3c8,BOARD_SHORTCUT_BINDINGS as _0x416fa4,BoardCanvasPopManagerService as _0x5a2be5,BoardInteractionSurfaceService as _0x28dc04,BoardShapeIntrinsicSizeService as _0x3514cd,BoardTextEditingService as _0x2d7b12,IBoardElementStateService as _0x16fdab,IBoardUIStateService as _0x31b38d,UniverBoardsMobileUIPlugin as _0x28e0e2,UniverBoardsUIPlugin as _0x111050,areBoardShapeTextValuesEquivalent as _0x1fcca7,getBoardElementRenderObjectKey as _0x55b3e2,isBoardShortcutAvailable as _0xa918fb,parseBoardElementRenderObjectKey as _0x1bae0a,resolveBoardFloatingToolbarSelection as _0x4b1317,syncBoardElementRenderObject as _0x17e74f}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x327bfc}from'@univerjs-pro/license';import{BooleanNumber as _0x3c1a02,CommandType as _0x470c85,DEFAULT_STYLES as _0x5afc33,DependentOn as _0x305799,Disposable as _0x4c4d8b,DisposableCollection as _0x3fd367,HorizontalAlign as _0x572b51,ICommandService as _0x27d0fe,IConfigService as _0x156f99,IContextService as _0x22ca73,IUniverInstanceService as _0x253a65,Inject as _0x132a38,Injector as _0x13315b,LocaleService as _0x4eab55,Plugin as _0x273e01,RxDisposable as _0x41f8e5,UniverInstanceType as _0x8b4a1a,VerticalAlign as _0x144c34,generateRandomId as _0x21938d,merge as _0x44c8ca,toDisposable as _0x122c68}from'@univerjs/core';import{BaseObject as _0x1f694c,Control as _0x4ff2d9,DeviceType as _0x5ef2af,IRenderManagerService as _0x19658f,UniverRenderEnginePlugin as _0x38f2bf}from'@univerjs/engine-render';import{Subject as _0x10bbaf,merge as _0x3a40cc,takeUntil as _0x41cd5b}from'rxjs';import{ComponentManager as _0x4b5c19,IDialogService as _0x23671a,IFontService as _0x27dbe6,IShortcutService as _0x2c1c63,ISidebarService as _0x313b59,KeyCode as _0x80c18b,MetaKeys as _0x21a288,UndoRedoGroupService as _0x57f4a7,useDependency as _0x1bf837,useObservable as _0x5180ec}from'@univerjs/ui';import{MobileShapeMenu as _0x4e732a,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x121c72,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x8d3d50,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x4edc0e,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x15a211,ShapeFillButton as _0xb1360f,ShapeFloatingToolbarContent as _0x31c2c5,ShapeFloatingToolbarDropdownTrigger as _0x3945a0,ShapeFloatingToolbarFontSizeSelect as _0x1d6b66,ShapeFloatingToolbarIcon as _0x3a11ae,ShapeFloatingToolbarMenuItem as _0x5a5f70,ShapeFloatingToolbarMenuPanel as _0x2cf51f,ShapeStrokePanelButton as _0x559b96,ShapeStrokePanelContent as _0x26de67,TextFillButton as _0x19e9cd,TypographyPanelButton as _0x293f98,buildShapeTextDataUpdate as _0x543a5f,getTextStyle as _0x3c14be}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x588e8c,ShapeLineDashEnum as _0x16fb53,ShapeLineTypeEnum as _0x48e250}from'@univerjs-pro/engine-shape';import{Button as _0x8c8b61,Dropdown as _0x53b00d,Input as _0x163e88,InputNumber as _0x5a974,MobileColorPresets as _0x4c11aa,Segmented as _0x373ab1,Separator as _0x1d1b23,Textarea as _0x14dc82,borderClassName as _0x2d215c,clsx as _0x461cd5}from'@univerjs/design';import{AlignBottomIcon as _0x4cbc58,AlignTextBothIcon as _0x233f6c,AlignTopIcon as _0x1c51ff,BoldIcon as _0x12ba90,HorizontallyIcon as _0xd2c873,ItalicIcon as _0x5c4515,LeftJustifyingIcon as _0x10ad46,MoreHorizontalIcon as _0x382a06,RightJustifyingIcon as _0x97b6f7,SearchIcon as _0x228aaa,ShapeLineIcon as _0x5edb01,StrikethroughIcon as _0x523a6d,UnderlineIcon as _0x2fc605,VerticalCenterIcon as _0x56f7d4}from'@univerjs/icons';import{useEffect as _0x4d0c04,useReducer as _0x21ba50,useState as _0x34d7b2}from'react';import{Fragment as _0x219099,jsx as _0x9b9447,jsxs as _0x27b706}from'react/jsx-runtime';var Zt=_0x4f3d14(0x2dc),Qt=_0x4f3d14(0x2fb);const $t=_0x4f3d14(0x1e6),en={};function tn(_0x21225e){'@babel/helpers - typeof';const _0x13f65f=_0x4f3d14;return tn=typeof Symbol==_0x13f65f(0x2b8)&&typeof Symbol['iterator']==_0x13f65f(0x32a)?function(_0x5805f5){return typeof _0x5805f5;}:function(_0x333521){const _0x206472=_0x13f65f;return _0x333521&&typeof Symbol=='function'&&_0x333521[_0x206472(0x3eb)]===Symbol&&_0x333521!==Symbol[_0x206472(0x24c)]?_0x206472(0x32a):typeof _0x333521;},tn(_0x21225e);}function nn(_0x30e0d6,_0x550d8e){const _0x4a8f58=_0x4f3d14;if(tn(_0x30e0d6)!=_0x4a8f58(0x458)||!_0x30e0d6)return _0x30e0d6;var _0x36fdf0=_0x30e0d6[Symbol[_0x4a8f58(0x3c0)]];if(_0x36fdf0!==void 0x0){var _0x5c28c8=_0x36fdf0[_0x4a8f58(0x2a4)](_0x30e0d6,_0x550d8e||_0x4a8f58(0x3f6));if(tn(_0x5c28c8)!=_0x4a8f58(0x458))return _0x5c28c8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x550d8e==='string'?String:Number)(_0x30e0d6);}function rn(_0x3c603f){const _0x3102fd=_0x4f3d14;var _0x2cf146=nn(_0x3c603f,'string');return tn(_0x2cf146)==_0x3102fd(0x32a)?_0x2cf146:_0x2cf146+'';}function K(_0x4d2d85,_0x347b69,_0x32e08c){const _0x2bb2f1=_0x4f3d14;return(_0x347b69=rn(_0x347b69))in _0x4d2d85?Object[_0x2bb2f1(0x3e1)](_0x4d2d85,_0x347b69,{'value':_0x32e08c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d2d85[_0x347b69]=_0x32e08c,_0x4d2d85;}function q(_0x2f79af,_0x4e4d4f){return function(_0x1f6a6a,_0x10483e){_0x4e4d4f(_0x1f6a6a,_0x10483e,_0x2f79af);};}function J(_0x21c0c2,_0x52c0d3,_0x54d967,_0x5d0e13){const _0x1f4757=_0x4f3d14;var _0x424ddf=arguments[_0x1f4757(0x452)],_0x394f46=_0x424ddf<0x3?_0x52c0d3:_0x5d0e13===null?_0x5d0e13=Object[_0x1f4757(0x309)](_0x52c0d3,_0x54d967):_0x5d0e13,_0x586f00;if(typeof Reflect==_0x1f4757(0x458)&&typeof Reflect[_0x1f4757(0x1f7)]=='function')_0x394f46=Reflect[_0x1f4757(0x1f7)](_0x21c0c2,_0x52c0d3,_0x54d967,_0x5d0e13);else{for(var _0x293378=_0x21c0c2[_0x1f4757(0x452)]-0x1;_0x293378>=0x0;_0x293378--)(_0x586f00=_0x21c0c2[_0x293378])&&(_0x394f46=(_0x424ddf<0x3?_0x586f00(_0x394f46):_0x424ddf>0x3?_0x586f00(_0x52c0d3,_0x54d967,_0x394f46):_0x586f00(_0x52c0d3,_0x54d967))||_0x394f46);}return _0x424ddf>0x3&&_0x394f46&&Object[_0x1f4757(0x3e1)](_0x52c0d3,_0x54d967,_0x394f46),_0x394f46;}let an=class extends _0x41f8e5{constructor(_0x23fedc,_0x45d0d2,_0x116543){const _0x371b97=_0x4f3d14;super(),this[_0x371b97(0x414)]=_0x23fedc,this[_0x371b97(0x3dd)]=_0x45d0d2,this['_commandService']=_0x116543,K(this,_0x371b97(0x44b),new Map()),K(this,_0x371b97(0x4aa),new Map()),K(this,_0x371b97(0x2db),!0x1),this[_0x371b97(0x45b)]();}['_init'](){const _0x302e4c=_0x4f3d14;this['_seedExistingNodeSizes'](),this[_0x302e4c(0x44d)](_0x122c68(this[_0x302e4c(0x3dd)][_0x302e4c(0x3d9)][_0x302e4c(0x46c)](_0x41cd5b(this['dispose$']))[_0x302e4c(0x345)](_0x33a67a=>{const _0x46bb9a=_0x302e4c;_0x33a67a[_0x46bb9a(0x2d1)](_0x597e45=>{const _0x4146ab=_0x46bb9a;let _0x54b475=this[_0x4146ab(0x3dd)][_0x4146ab(0x40e)](_0x597e45['unitId'],_0x597e45[_0x4146ab(0x20a)],_0x597e45['elementId']);this[_0x4146ab(0x471)](_0x597e45,_0x54b475);});}))),this['disposeWithMe'](_0x122c68(this['_boardElementService']['elementUpdate$'][_0x302e4c(0x46c)](_0x41cd5b(this['dispose$']))['subscribe'](_0x3a0b48=>{const _0x9cfb61=_0x302e4c;_0x3a0b48[_0x9cfb61(0x2d1)](_0x432143=>this['_handleElementUpdate'](_0x432143));})));}[_0x4f3d14(0x1df)](){let _0x2f64ea=this['_renderContext']['unitId'],_0x195c23=this['_boardElementService']['getElementDataForUnit'](_0x2f64ea);Object['entries'](_0x195c23)['forEach'](([_0x55aa35,_0x162958])=>{const _0x3b1ff1=_0x5652;Object[_0x3b1ff1(0x2df)](_0x162958['data'])[_0x3b1ff1(0x2d1)](_0x28ed9a=>{const _0x7ee06=_0x3b1ff1;this['_rememberNodeSize']({'unitId':_0x2f64ea,'subUnitId':_0x55aa35,'elementId':_0x28ed9a[_0x7ee06(0x3e9)]},_0x28ed9a);});});}['_handleElementUpdate'](_0x3bde5a){const _0x4e50b9=_0x4f3d14;if(_0x3bde5a[_0x4e50b9(0x291)]!==this[_0x4e50b9(0x414)]['unitId'])return;let _0x123c54=this[_0x4e50b9(0x3dd)][_0x4e50b9(0x40e)](_0x3bde5a[_0x4e50b9(0x291)],_0x3bde5a[_0x4e50b9(0x20a)],_0x3bde5a[_0x4e50b9(0x3e9)]),_0x13c02e=_0x5585ba(_0x123c54==null?void 0x0:_0x123c54['element']),_0x2f1eb2=this[_0x4e50b9(0x4b2)](_0x123c54);if(!_0x13c02e||!_0x2f1eb2){this['_nodeSizeByKey'][_0x4e50b9(0x333)](this[_0x4e50b9(0x38a)](_0x3bde5a));return;}let _0x2dd253=this[_0x4e50b9(0x38a)](_0x3bde5a),_0x2117d8=this[_0x4e50b9(0x44b)][_0x4e50b9(0x47f)](_0x2dd253);this[_0x4e50b9(0x44b)][_0x4e50b9(0x1f8)](_0x2dd253,_0x2f1eb2),!(_0x2117d8&&_0x2117d8[_0x4e50b9(0x48c)]===_0x2f1eb2[_0x4e50b9(0x48c)]&&_0x2117d8[_0x4e50b9(0x36d)]===_0x2f1eb2[_0x4e50b9(0x36d)])&&this[_0x4e50b9(0x212)]({'unitId':_0x3bde5a['unitId'],'subUnitId':_0x3bde5a[_0x4e50b9(0x20a)],'scopeId':_0x13c02e[_0x4e50b9(0x2ea)]});}[_0x4f3d14(0x471)](_0x42bd81,_0x2752d4){const _0x357180=_0x4f3d14;if(_0x42bd81[_0x357180(0x291)]!==this['_renderContext'][_0x357180(0x291)])return;let _0x20b20f=_0x5585ba(_0x2752d4==null?void 0x0:_0x2752d4[_0x357180(0x1ca)]),_0x203ac3=this[_0x357180(0x4b2)](_0x2752d4);_0x20b20f&&_0x203ac3&&this[_0x357180(0x44b)][_0x357180(0x1f8)](this[_0x357180(0x38a)](_0x42bd81),_0x203ac3);}[_0x4f3d14(0x4b2)](_0x5a297a){const _0x4c0808=_0x4f3d14;let _0x480294=(_0x5a297a==null?void 0x0:_0x5a297a[_0x4c0808(0x330)])??(_0x5a297a==null?void 0x0:_0x5a297a[_0x4c0808(0x1ca)]['transform']),_0x528613=_0x480294==null?void 0x0:_0x480294[_0x4c0808(0x48c)],_0x239283=_0x480294==null?void 0x0:_0x480294[_0x4c0808(0x36d)];return!Number['isFinite'](_0x528613)||!Number[_0x4c0808(0x490)](_0x239283)?null:{'width':_0x528613,'height':_0x239283};}[_0x4f3d14(0x212)](_0x29ad57){const _0x44b7db=_0x4f3d14;this[_0x44b7db(0x4aa)][_0x44b7db(0x1f8)](_0x29ad57[_0x44b7db(0x291)]+':'+_0x29ad57['subUnitId']+':'+_0x29ad57['scopeId'],_0x29ad57),!this[_0x44b7db(0x2db)]&&(this[_0x44b7db(0x2db)]=!0x0,Promise[_0x44b7db(0x1ec)]()[_0x44b7db(0x193)](()=>{const _0x19b27d=_0x44b7db;this[_0x19b27d(0x2db)]=!0x1;let _0x559451=Array['from'](this[_0x19b27d(0x4aa)][_0x19b27d(0x2df)]());this[_0x19b27d(0x4aa)][_0x19b27d(0x343)](),_0x559451['forEach'](_0x27f3f4=>{const _0x3d296a=_0x19b27d;this[_0x3d296a(0x22a)](_0x27f3f4);});}));}['_executeRootAnchoredLayout'](_0x148ac8){const _0x2db063=_0x4f3d14;var _0x33b044;let _0x35a598=this['_boardElementService'][_0x2db063(0x40e)](_0x148ac8['unitId'],_0x148ac8['subUnitId'],_0x148ac8['scopeId']),_0x1001b4=(_0x33b044=_0x487e3a(_0x35a598==null?void 0x0:_0x35a598[_0x2db063(0x1ca)]))==null?void 0x0:_0x33b044[_0x2db063(0x380)];this['_commandService'][_0x2db063(0x32d)](_0x4b5dc4['id'],{..._0x148ac8,'skipUndo':!0x0,..._0x1001b4?{'anchorNodeId':_0x1001b4}:null});}[_0x4f3d14(0x38a)](_0x41a964){const _0x4a6588=_0x4f3d14;return _0x41a964['unitId']+':'+_0x41a964[_0x4a6588(0x20a)]+':'+_0x41a964['elementId'];}};an=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x27d0fe)],an);const Y={'primaryColor':_0x121c72,'surfaceColor':_0x8d3d50,'textColor':_0x4edc0e,'fontFamily':_0x5afc33['ff']};function on(_0x17970d,_0x1e7c8c){const _0x2b0dac=_0x4f3d14;let _0x277af2=Math[_0x2b0dac(0x246)](0x1,Math[_0x2b0dac(0x31c)](0x0,Number[_0x2b0dac(0x490)](_0x1e7c8c)?_0x1e7c8c:0x1)),_0x4edbd4=_0x17970d[_0x2b0dac(0x387)](),_0x3a1d19=/^#([0-9a-fA-F]{6})$/['exec'](_0x4edbd4);if(!_0x3a1d19)return _0x17970d;let _0x32f147=_0x3a1d19[0x1];return _0x2b0dac(0x321)+Number[_0x2b0dac(0x4af)](_0x32f147[_0x2b0dac(0x2eb)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x32f147[_0x2b0dac(0x2eb)](0x2,0x4),0x10)+',\x20'+Number[_0x2b0dac(0x4af)](_0x32f147[_0x2b0dac(0x2eb)](0x4,0x6),0x10)+',\x20'+_0x277af2+')';}const X={'primaryColor':Y[_0x4f3d14(0x422)],'ghostFillColor':on(Y[_0x4f3d14(0x27a)],0.72),'ghostTextColor':on(Y[_0x4f3d14(0x426)],0.62),'rootTextColor':on(Y[_0x4f3d14(0x27a)],0.86),'sourceHighlightFillColor':on(Y[_0x4f3d14(0x422)],0.12),'sourceHighlightStrokeColor':on(Y[_0x4f3d14(0x422)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x5ad525[_0x4f3d14(0x3b8)],'fallbackNodeHeight':_0x5ad525[_0x4f3d14(0x1fa)],'branchGap':_0x1fa9e8[_0x4f3d14(0x2e6)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x4f3d14(0x2d0)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x83193d,_0xb02693,_0x3ae648,_0x3d6f0a,_0x1ed241,_0x12954b){const _0x40af9a=_0x4f3d14;let _0x230b32=Math[_0x40af9a(0x246)](_0x12954b,_0x3d6f0a/0x2,_0x1ed241/0x2);_0x83193d['beginPath'](),_0x83193d[_0x40af9a(0x2a2)](_0xb02693+_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x3d6f0a-_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x3e0)](_0xb02693+_0x3d6f0a,_0x3ae648,_0xb02693+_0x3d6f0a,_0x3ae648+_0x230b32),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x3d6f0a,_0x3ae648+_0x1ed241-_0x230b32),_0x83193d[_0x40af9a(0x3e0)](_0xb02693+_0x3d6f0a,_0x3ae648+_0x1ed241,_0xb02693+_0x3d6f0a-_0x230b32,_0x3ae648+_0x1ed241),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x230b32,_0x3ae648+_0x1ed241),_0x83193d[_0x40af9a(0x3e0)](_0xb02693,_0x3ae648+_0x1ed241,_0xb02693,_0x3ae648+_0x1ed241-_0x230b32),_0x83193d[_0x40af9a(0x28d)](_0xb02693,_0x3ae648+_0x230b32),_0x83193d[_0x40af9a(0x3e0)](_0xb02693,_0x3ae648,_0xb02693+_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x2af)]();}function sn(_0x2f7657,_0x4f6587,_0x102b1b){const _0x3b8f5f=_0x4f3d14;return _0x2f7657+'\x20'+_0x4f6587/_0x102b1b+_0x3b8f5f(0x44a)+X[_0x3b8f5f(0x2d0)];}const cn=_0x4f3d14(0x344),ln=_0x2019f6[_0x4f3d14(0x354)];function Q(_0x3c1833,_0x27d145){const _0x2b909b=_0x4f3d14;return Number[_0x2b909b(0x490)](_0x3c1833)?_0x3c1833:_0x27d145;}function un(){const _0x29d24a=_0x4f3d14;return X[_0x29d24a(0x266)];}function dn(){const _0xe2dbf1=_0x4f3d14;return X[_0xe2dbf1(0x48a)];}function fn(_0x33eecc){const _0x320b34=_0x4f3d14;return _0x33eecc===0x1?_0x320b34(0x445):_0x33eecc===0x3?'right':'center';}function pn(_0x18d7cd,_0x54c50a,_0x18a95b,_0x38c9f5){return _0x18a95b===0x1?_0x18d7cd+_0x38c9f5:_0x18a95b===0x3?_0x18d7cd+_0x54c50a-_0x38c9f5:_0x18d7cd+_0x54c50a/0x2;}var mn=class extends _0x1f694c{constructor(_0x1bcedc=cn,_0x575374){const _0x5dfbf0=_0x4f3d14;super(_0x1bcedc),K(this,_0x5dfbf0(0x2e0),{'ghostBounds':null,'parentBounds':null,'side':_0x5dfbf0(0x289),'zoomRatio':0x1}),this[_0x5dfbf0(0x2f9)]=!0x1,this[_0x5dfbf0(0x23c)]=_0x65c3c8['transientPreviewForeground'],this[_0x5dfbf0(0x2e5)](_0x575374);}['updateState'](_0x278901){const _0x523d32=_0x4f3d14;if(this[_0x523d32(0x2e0)]={...this[_0x523d32(0x2e0)],..._0x278901},this[_0x523d32(0x2e0)][_0x523d32(0x472)]){let _0x427509=this[_0x523d32(0x3a0)]();this[_0x523d32(0x3be)](_0x427509),this[_0x523d32(0x2bf)]();}else this[_0x523d32(0x4a4)]();let _0x6d0452=this;typeof _0x6d0452[_0x523d32(0x2c8)]=='function'?_0x6d0452[_0x523d32(0x2c8)](!0x0):this[_0x523d32(0x32c)](!0x0);}[_0x4f3d14(0x397)](_0x43adfa){return!0x1;}[_0x4f3d14(0x360)](_0x4494b9,_0x2f535b){const _0x41dd5b=_0x4f3d14;let _0x21d86b=this[_0x41dd5b(0x2e0)]['ghostBounds'];if(!_0x21d86b||!this[_0x41dd5b(0x418)])return this[_0x41dd5b(0x32c)](!0x1),this;let _0x12f6b8=Number[_0x41dd5b(0x490)](this['_state'][_0x41dd5b(0x1e9)])&&(this[_0x41dd5b(0x2e0)][_0x41dd5b(0x1e9)]??0x0)>0x0?this['_state'][_0x41dd5b(0x1e9)]:0x1,_0x31b5ff=Q(_0x21d86b[_0x41dd5b(0x445)],0x0),_0x3a9441=Q(_0x21d86b[_0x41dd5b(0x2e1)],0x0),_0x2423bb=Math[_0x41dd5b(0x31c)](0x1,Q(_0x21d86b[_0x41dd5b(0x48c)],un())),_0x2a35a7=Math[_0x41dd5b(0x31c)](0x1,Q(_0x21d86b[_0x41dd5b(0x36d)],dn()));if(_0x4494b9['save'](),_0x4494b9[_0x41dd5b(0x26c)]=X[_0x41dd5b(0x35f)],_0x4494b9[_0x41dd5b(0x37c)]=X['lineWidthScreen']/_0x12f6b8,_0x4494b9[_0x41dd5b(0x355)]=X['primaryColor'],_0x4494b9['fillStyle']=X[_0x41dd5b(0x2bd)],this['_drawConnectorPreview'](_0x4494b9,{'left':_0x31b5ff,'top':_0x3a9441,'width':_0x2423bb,'height':_0x2a35a7},_0x12f6b8),this[_0x41dd5b(0x2cd)](_0x4494b9,_0x12f6b8),this[_0x41dd5b(0x2e0)][_0x41dd5b(0x33a)]===!0x1)return _0x4494b9[_0x41dd5b(0x1a0)](),this['makeDirty'](!0x1),this;Z(_0x4494b9,_0x31b5ff,_0x3a9441,_0x2423bb,_0x2a35a7,X[_0x41dd5b(0x307)]),_0x4494b9[_0x41dd5b(0x222)](),_0x4494b9[_0x41dd5b(0x267)]();let _0x4b6681=this[_0x41dd5b(0x2e0)]['textStyle'],_0x4bfe0d=Number[_0x41dd5b(0x490)](_0x4b6681==null?void 0x0:_0x4b6681['fontSize'])&&((_0x4b6681==null?void 0x0:_0x4b6681['fontSize'])??0x0)>0x0?_0x4b6681[_0x41dd5b(0x434)]:0x10,_0x3cdac2=X[_0x41dd5b(0x3dc)]/_0x12f6b8;return _0x4494b9[_0x41dd5b(0x3ef)]=(_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x25e)])??X[_0x41dd5b(0x427)],_0x4494b9[_0x41dd5b(0x4ae)]=sn(X[_0x41dd5b(0x203)],_0x4bfe0d,_0x12f6b8),_0x4494b9[_0x41dd5b(0x284)]=fn(_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x3d3)]),_0x4494b9['textBaseline']=_0x41dd5b(0x356),_0x4494b9['fillText']((_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x488)])||_0x251b5d,pn(_0x31b5ff,_0x2423bb,_0x4b6681==null?void 0x0:_0x4b6681['horizontalAlign'],_0x3cdac2),_0x3a9441+_0x2a35a7/0x2,Math['max'](0x1,_0x2423bb-_0x3cdac2*0x2)),_0x4494b9[_0x41dd5b(0x1a0)](),this[_0x41dd5b(0x32c)](!0x1),this;}[_0x4f3d14(0x3a0)](){const _0x5610a2=_0x4f3d14;let _0x267727=this[_0x5610a2(0x2e0)][_0x5610a2(0x472)],_0x14c92e=Number['isFinite'](this[_0x5610a2(0x2e0)]['zoomRatio'])&&(this[_0x5610a2(0x2e0)][_0x5610a2(0x1e9)]??0x0)>0x0?this[_0x5610a2(0x2e0)][_0x5610a2(0x1e9)]:0x1,_0x19d14f=X[_0x5610a2(0x39c)]/_0x14c92e;if(!_0x267727)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x3bf627=Q(_0x267727[_0x5610a2(0x445)],0x0),_0x4237b6=Q(_0x267727['top'],0x0),_0x539b78=Math['max'](0x1,Q(_0x267727[_0x5610a2(0x48c)],un())),_0x3cd2b5=Math[_0x5610a2(0x31c)](0x1,Q(_0x267727[_0x5610a2(0x36d)],dn())),_0xea9255=this[_0x5610a2(0x2e0)][_0x5610a2(0x3d1)],_0x41db8d=this[_0x5610a2(0x2e0)][_0x5610a2(0x2ab)],_0x5b558c=Q(_0xea9255==null?void 0x0:_0xea9255[_0x5610a2(0x445)],_0x3bf627),_0x1a0109=Q(_0xea9255==null?void 0x0:_0xea9255['top'],_0x4237b6),_0x34f5a7=Math['max'](0x1,Q(_0xea9255==null?void 0x0:_0xea9255[_0x5610a2(0x48c)],_0x539b78)),_0x1a4c73=Math[_0x5610a2(0x31c)](0x1,Q(_0xea9255==null?void 0x0:_0xea9255['height'],_0x3cd2b5));if(!_0x41db8d){let _0x1fb1e4=Math[_0x5610a2(0x246)](_0x3bf627,_0x5b558c)-_0x19d14f,_0x3f2094=Math['min'](_0x4237b6,_0x1a0109)-_0x19d14f,_0x326a12=Math['max'](_0x3bf627+_0x539b78,_0x5b558c+_0x34f5a7)+_0x19d14f,_0x2eb862=Math[_0x5610a2(0x31c)](_0x4237b6+_0x3cd2b5,_0x1a0109+_0x1a4c73)+_0x19d14f;return{'left':_0x1fb1e4,'top':_0x3f2094,'width':_0x326a12-_0x1fb1e4,'height':_0x2eb862-_0x3f2094};}let _0x26f659=Q(_0x41db8d[_0x5610a2(0x445)],_0x3bf627),_0x527d1a=Q(_0x41db8d[_0x5610a2(0x2e1)],_0x4237b6),_0x7c973c=Math['max'](0x1,Q(_0x41db8d[_0x5610a2(0x48c)],un())),_0x41da28=Math[_0x5610a2(0x31c)](0x1,Q(_0x41db8d[_0x5610a2(0x36d)],dn())),_0x2c0233=Math['min'](_0x3bf627,_0x26f659,_0x5b558c)-_0x19d14f,_0x2190e9=Math['min'](_0x4237b6,_0x527d1a,_0x1a0109)-_0x19d14f,_0x23fd88=Math['max'](_0x3bf627+_0x539b78,_0x26f659+_0x7c973c,_0x5b558c+_0x34f5a7)+_0x19d14f,_0xd6bed9=Math[_0x5610a2(0x31c)](_0x4237b6+_0x3cd2b5,_0x527d1a+_0x41da28,_0x1a0109+_0x1a4c73)+_0x19d14f;return{'left':_0x2c0233,'top':_0x2190e9,'width':_0x23fd88-_0x2c0233,'height':_0xd6bed9-_0x2190e9};}[_0x4f3d14(0x2cd)](_0x30e700,_0x8bf9d0){const _0x348b82=_0x4f3d14;var _0x38735f;let _0x266027=this['_state']['sourceBounds'];if(!_0x266027)return;let _0x2700fc=X[_0x348b82(0x39b)]/_0x8bf9d0,_0x1fdcb5=Q(_0x266027[_0x348b82(0x445)],0x0)-_0x2700fc,_0x2b6c70=Q(_0x266027[_0x348b82(0x2e1)],0x0)-_0x2700fc,_0x5e95e9=Math[_0x348b82(0x31c)](0x1,Q(_0x266027[_0x348b82(0x48c)],un()))+_0x2700fc*0x2,_0x145543=Math[_0x348b82(0x31c)](0x1,Q(_0x266027['height'],dn()))+_0x2700fc*0x2;_0x30e700['save'](),_0x30e700[_0x348b82(0x26c)]=0x1,_0x30e700[_0x348b82(0x37c)]=X[_0x348b82(0x26b)]/_0x8bf9d0,_0x30e700[_0x348b82(0x355)]=X[_0x348b82(0x44f)],_0x30e700[_0x348b82(0x3ef)]=X[_0x348b82(0x216)],(_0x38735f=_0x30e700['setLineDash'])==null||_0x38735f[_0x348b82(0x2a4)](_0x30e700,X[_0x348b82(0x37f)][_0x348b82(0x2c1)](_0x1fec45=>_0x1fec45/_0x8bf9d0)),Z(_0x30e700,_0x1fdcb5,_0x2b6c70,_0x5e95e9,_0x145543,X[_0x348b82(0x1ce)]),_0x30e700[_0x348b82(0x222)](),_0x30e700[_0x348b82(0x267)](),_0x30e700[_0x348b82(0x1a0)]();}['_drawConnectorPreview'](_0x354b59,_0x4b55fc,_0x35c9b2){const _0x4826af=_0x4f3d14;let _0x404186=this[_0x4826af(0x2e0)][_0x4826af(0x2ab)];if(!_0x404186)return;let _0x4e29f8=Q(_0x404186[_0x4826af(0x445)],0x0),_0x19aabb=Q(_0x404186[_0x4826af(0x2e1)],0x0),_0x2235b0=Math[_0x4826af(0x31c)](0x1,Q(_0x404186[_0x4826af(0x48c)],un())),_0x58a557=Math[_0x4826af(0x31c)](0x1,Q(_0x404186[_0x4826af(0x36d)],dn())),_0x152546=X[_0x4826af(0x2e6)],_0x1318d8=this[_0x4826af(0x2e0)][_0x4826af(0x350)]??_0x4826af(0x289);if(_0x354b59[_0x4826af(0x3de)](),_0x354b59[_0x4826af(0x26c)]=X[_0x4826af(0x42c)],_0x354b59[_0x4826af(0x355)]=X[_0x4826af(0x422)],_0x354b59[_0x4826af(0x37c)]=X[_0x4826af(0x26b)]/_0x35c9b2,_0x354b59['lineCap']=_0x4826af(0x28e),_0x354b59[_0x4826af(0x47a)]='round',_0x354b59[_0x4826af(0x2de)](),_0x1318d8===_0x4826af(0x2e1)||_0x1318d8===_0x4826af(0x449)){let _0x44158c=_0x4e29f8+_0x2235b0/0x2,_0x4c37e3=_0x4b55fc[_0x4826af(0x445)]+_0x4b55fc[_0x4826af(0x48c)]/0x2,_0xa7e077=_0x1318d8===_0x4826af(0x449)?_0x19aabb+_0x58a557:_0x19aabb,_0xa57878=_0x1318d8===_0x4826af(0x449)?_0x4b55fc[_0x4826af(0x2e1)]:_0x4b55fc['top']+_0x4b55fc[_0x4826af(0x36d)],_0x113e9c=_0x1318d8===_0x4826af(0x449)?Math[_0x4826af(0x246)](_0xa7e077+_0x152546,(_0xa7e077+_0xa57878)/0x2):Math[_0x4826af(0x31c)](_0xa7e077-_0x152546,(_0xa7e077+_0xa57878)/0x2);_0x354b59[_0x4826af(0x2a2)](_0x44158c,_0xa7e077),_0x354b59['lineTo'](_0x44158c,_0x113e9c),_0x354b59[_0x4826af(0x28d)](_0x4c37e3,_0x113e9c),_0x354b59['lineTo'](_0x4c37e3,_0xa57878);}else{let _0x47ab2f=_0x19aabb+_0x58a557/0x2,_0xa02693=_0x4b55fc[_0x4826af(0x2e1)]+_0x4b55fc[_0x4826af(0x36d)]/0x2,_0x273456=_0x1318d8===_0x4826af(0x289)?_0x4e29f8+_0x2235b0:_0x4e29f8,_0x33ec9f=_0x1318d8===_0x4826af(0x289)?_0x4b55fc[_0x4826af(0x445)]:_0x4b55fc[_0x4826af(0x445)]+_0x4b55fc[_0x4826af(0x48c)],_0x210c00=_0x1318d8===_0x4826af(0x289)?Math[_0x4826af(0x246)](_0x273456+_0x152546,(_0x273456+_0x33ec9f)/0x2):Math[_0x4826af(0x31c)](_0x273456-_0x152546,(_0x273456+_0x33ec9f)/0x2);_0x354b59[_0x4826af(0x2a2)](_0x273456,_0x47ab2f),_0x354b59[_0x4826af(0x28d)](_0x210c00,_0x47ab2f),_0x354b59[_0x4826af(0x28d)](_0x210c00,_0xa02693),_0x354b59[_0x4826af(0x28d)](_0x33ec9f,_0xa02693);}_0x354b59[_0x4826af(0x267)](),_0x354b59[_0x4826af(0x1a0)]();}};function hn(_0x52d8c4,_0x19c558){const _0x15dc11=_0x4f3d14;return(_0x19c558==null?void 0x0:_0x19c558[_0x52d8c4[_0x15dc11(0x3e9)]])??_0x52d8c4[_0x15dc11(0x1ca)]['transform'];}function gn(_0x508402,_0x9115a9){const _0x31b384=_0x4f3d14;let _0x50c97e=hn(_0x508402,_0x9115a9);return{'x':(_0x50c97e[_0x31b384(0x445)]??0x0)+(_0x50c97e[_0x31b384(0x48c)]??0x0)/0x2,'y':(_0x50c97e[_0x31b384(0x2e1)]??0x0)+(_0x50c97e[_0x31b384(0x36d)]??0x0)/0x2};}function _n(_0x3797dc,_0x3ad3ad){const _0x311932=_0x4f3d14;return Math[_0x311932(0x277)](_0x3797dc['x']-_0x3ad3ad['x'],_0x3797dc['y']-_0x3ad3ad['y']);}function vn(_0x57714c,_0x5b71c6){const _0x4f7b7e=_0x4f3d14;let _0x1d2aae=_0x57714c[_0x4f7b7e(0x445)]??0x0,_0xd38757=_0x57714c[_0x4f7b7e(0x2e1)]??0x0,_0x2f89fd=_0x1d2aae+(_0x57714c['width']??0x0),_0x37703f=_0xd38757+(_0x57714c[_0x4f7b7e(0x36d)]??0x0),_0x20feab=_0x5b71c6[_0x4f7b7e(0x445)]??0x0,_0x60c255=_0x5b71c6[_0x4f7b7e(0x2e1)]??0x0,_0x553c28=_0x20feab+(_0x5b71c6[_0x4f7b7e(0x48c)]??0x0),_0x42a308=_0x60c255+(_0x5b71c6[_0x4f7b7e(0x36d)]??0x0),_0xa406da=Math[_0x4f7b7e(0x31c)](_0x20feab-_0x2f89fd,_0x1d2aae-_0x553c28,0x0),_0x1aee14=Math[_0x4f7b7e(0x31c)](_0x60c255-_0x37703f,_0xd38757-_0x42a308,0x0);return Math[_0x4f7b7e(0x277)](_0xa406da,_0x1aee14);}function yn(_0x22f853,_0xd82b7d,_0x445a83){const _0x262281=_0x4f3d14;var _0x58aaf4;let _0xea3e19=_0x5585ba((_0x58aaf4=_0x22f853[_0xd82b7d])==null?void 0x0:_0x58aaf4[_0x262281(0x1ca)]);for(;_0xea3e19!=null&&_0xea3e19[_0x262281(0x29f)];){var _0x331e0f;if(_0xea3e19[_0x262281(0x29f)]===_0x445a83)return!0x0;_0xea3e19=_0x5585ba((_0x331e0f=_0x22f853[_0xea3e19[_0x262281(0x29f)]])==null?void 0x0:_0x331e0f[_0x262281(0x1ca)]);}return!0x1;}function bn(_0x1082b0,_0x460e7c,_0x413cbc){const _0x149b9b=_0x4f3d14;let _0x36cfff=hn(_0x1082b0,_0x413cbc),_0xdf1df8=_0x36cfff[_0x149b9b(0x2e1)]??0x0,_0x11332d=_0x36cfff[_0x149b9b(0x36d)]??0x0;return _0x11332d<=0x0?null:_0x460e7c['y']<=_0xdf1df8+_0x11332d/0x3?_0x149b9b(0x2ee):_0x460e7c['y']>=_0xdf1df8+_0x11332d*0x2/0x3?_0x149b9b(0x3e3):null;}function xn(_0x4bb481,_0x5518d0){const _0x3a5020=_0x4f3d14;let _0x37d66f=_0x5518d0==null?void 0x0:_0x5518d0[_0x4bb481];return Number[_0x3a5020(0x490)](_0x37d66f==null?void 0x0:_0x37d66f[_0x3a5020(0x445)])&&Number[_0x3a5020(0x490)](_0x37d66f==null?void 0x0:_0x37d66f[_0x3a5020(0x2e1)])?{'kind':_0x3a5020(0x197),'left':_0x37d66f[_0x3a5020(0x445)],'top':_0x37d66f['top']}:{'kind':_0x3a5020(0x197)};}function Sn(_0x444b0e,_0x3300a4,_0x395f47){const _0x5a8f38=_0x4f3d14;let _0x3c20d0=_0x444b0e[_0x3300a4],_0x14d546=_0x5585ba(_0x3c20d0==null?void 0x0:_0x3c20d0[_0x5a8f38(0x1ca)]);if(!_0x3c20d0||!_0x14d546||!_0x14d546[_0x5a8f38(0x29f)]&&!(_0x395f47!=null&&_0x395f47[_0x5a8f38(0x34e)]))return{'kind':'none'};let _0xf30ce7=_0x395f47==null?void 0x0:_0x395f47[_0x5a8f38(0x211)],_0x59959b=hn(_0x3c20d0,_0xf30ce7),_0x2d64e8=gn(_0x3c20d0,_0xf30ce7),_0x566a44=Object[_0x5a8f38(0x2df)](_0x444b0e)[_0x5a8f38(0x2c1)](_0x47276b=>{const _0x15b668=_0x5a8f38;let _0x857495=_0x5585ba(_0x47276b['element']);return!_0x857495||_0x47276b[_0x15b668(0x3e9)]===_0x3300a4||_0x47276b['elementId']===_0x14d546[_0x15b668(0x29f)]||_0x395f47!=null&&_0x395f47[_0x15b668(0x34e)]&&!_0x14d546[_0x15b668(0x29f)]&&_0x857495[_0x15b668(0x2ea)]===_0x14d546[_0x15b668(0x2ea)]||yn(_0x444b0e,_0x47276b[_0x15b668(0x3e9)],_0x3300a4)?null:{'item':_0x47276b,'snapDistance':vn(_0x59959b,hn(_0x47276b,_0xf30ce7)),'center':gn(_0x47276b,_0xf30ce7)};})[_0x5a8f38(0x43b)](_0x2349ae=>!!_0x2349ae)[_0x5a8f38(0x1aa)]((_0x5ac92f,_0x44d32e)=>_0x5ac92f[_0x5a8f38(0x1c6)]-_0x44d32e[_0x5a8f38(0x1c6)]||_n(_0x2d64e8,_0x5ac92f[_0x5a8f38(0x237)])-_n(_0x2d64e8,_0x44d32e[_0x5a8f38(0x237)]))[0x0];if(_0x566a44&&_0x566a44[_0x5a8f38(0x1c6)]<=0x64){let _0x312c93=_0x5585ba(_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x1ca)]),_0x4641c8=_0x312c93!=null&&_0x312c93[_0x5a8f38(0x29f)]?bn(_0x566a44[_0x5a8f38(0x252)],_0x2d64e8,_0xf30ce7):null;return _0x312c93!=null&&_0x312c93[_0x5a8f38(0x29f)]&&_0x4641c8?{'kind':_0x5a8f38(0x3b0),'newParentNodeId':_0x312c93[_0x5a8f38(0x29f)],'side':_0x312c93[_0x5a8f38(0x350)]??'right','referenceNodeId':_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x3e9)],'placement':_0x4641c8}:{'kind':_0x5a8f38(0x3b0),'newParentNodeId':_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x3e9)],'side':_0x2d64e8['x']<_0x566a44['center']['x']?_0x5a8f38(0x445):_0x5a8f38(0x289)};}if(_0x395f47!=null&&_0x395f47[_0x5a8f38(0x23a)])return xn(_0x3300a4,_0xf30ce7);if(!_0x14d546[_0x5a8f38(0x29f)])return{'kind':_0x5a8f38(0x2a1)};let _0x18e422=_0x444b0e[_0x14d546[_0x5a8f38(0x29f)]];return _0x18e422&&_n(_0x2d64e8,gn(_0x18e422,_0xf30ce7))>0x230?xn(_0x3300a4,_0xf30ce7):{'kind':_0x5a8f38(0x2a1)};}function Cn(_0x3e4316,_0x2a4cfb){const _0xa301f5=_0x4f3d14;var _0x35a8df,_0x4e3e57;return _0x3e4316['elementId']===_0x2a4cfb||((_0x35a8df=_0x5585ba(_0x3e4316['element']))==null?void 0x0:_0x35a8df[_0xa301f5(0x2ea)])===_0x2a4cfb||((_0x4e3e57=_0x5dd284(_0x3e4316[_0xa301f5(0x1ca)]))==null?void 0x0:_0x4e3e57[_0xa301f5(0x2ea)])===_0x2a4cfb;}function wn(_0x1a0ee4,_0x3ff425,_0x386835,_0x5dec8c){const _0x5957b4=_0x4f3d14;let _0x3ca282=_0x1a0ee4[_0x3ff425];if(!_0x3ca282)return _0x1a0ee4;let _0x292f3e=_0x3ca282[_0x5957b4(0x330)]??_0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)]??{};return{..._0x1a0ee4,[_0x3ff425]:{..._0x3ca282,'transform':{..._0x292f3e,'left':(_0x292f3e[_0x5957b4(0x445)]??0x0)+_0x386835,'top':(_0x292f3e[_0x5957b4(0x2e1)]??0x0)+_0x5dec8c},'element':{..._0x3ca282[_0x5957b4(0x1ca)],'transform':{..._0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)],'left':(_0x3ca282[_0x5957b4(0x1ca)]['transform'][_0x5957b4(0x445)]??0x0)+_0x386835,'top':(_0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)][_0x5957b4(0x2e1)]??0x0)+_0x5dec8c}}}};}function Tn(_0x125dfb){const _0xfe211f=_0x4f3d14;if(!Number[_0xfe211f(0x490)](_0x125dfb[_0xfe211f(0x1a1)]['left'])||!Number[_0xfe211f(0x490)](_0x125dfb[_0xfe211f(0x1a1)]['top'])||!Number['isFinite'](_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x445)])||!Number['isFinite'](_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x2e1)]))return null;let _0x63af4c=_0x125dfb['liveRootBounds'][_0xfe211f(0x445)]-_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x445)],_0x179fa7=_0x125dfb[_0xfe211f(0x1a1)][_0xfe211f(0x2e1)]-_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x2e1)],_0x5957a1=wn(_0x125dfb['elementData'],_0x125dfb['scopeId'],_0x63af4c,_0x179fa7),_0x85364d=[];return Object[_0xfe211f(0x2df)](_0x5957a1)['forEach'](_0x91cbb7=>{const _0x4adf04=_0xfe211f;if(_0x91cbb7[_0x4adf04(0x3e9)]===_0x125dfb[_0x4adf04(0x380)]||_0x91cbb7[_0x4adf04(0x3e9)]===_0x125dfb[_0x4adf04(0x3a9)]||!Cn(_0x91cbb7,_0x125dfb[_0x4adf04(0x3a9)]))return;if(_0x4adf04(0x37d)in _0x91cbb7['element']){var _0x25ead6;let _0x208132=(_0x25ead6=_0x125dfb[_0x4adf04(0x241)][_0x91cbb7[_0x4adf04(0x3e9)]])==null?void 0x0:_0x25ead6[_0x4adf04(0x1ca)];_0x208132&&_0x4adf04(0x37d)in _0x208132&&_0x85364d[_0x4adf04(0x3ee)]({'kind':_0x4adf04(0x382),'elementId':_0x91cbb7[_0x4adf04(0x3e9)],'element':_0x4d906e(_0x208132,{'x':_0x63af4c,'y':_0x179fa7})});return;}let _0x5f001b=_0x25dbfe(_0x5957a1,_0x91cbb7['elementId']);_0x5f001b&&_0x85364d[_0x4adf04(0x3ee)]({'kind':_0x4adf04(0x19a),'elementId':_0x91cbb7[_0x4adf04(0x3e9)],'bounds':_0x5f001b});}),{'deltaX':_0x63af4c,'deltaY':_0x179fa7,'elementData':_0x5957a1,'items':_0x85364d};}let En=class extends _0x41f8e5{constructor(_0x3e6834,_0x2aaf7a,_0x14841e,_0x44fd32,_0x4f262a,_0xb3f954,_0x23504d){const _0xfb9b29=_0x4f3d14;super(),this['_renderContext']=_0x3e6834,this[_0xfb9b29(0x3dd)]=_0x2aaf7a,this[_0xfb9b29(0x1a3)]=_0x14841e,this[_0xfb9b29(0x32f)]=_0x44fd32,this[_0xfb9b29(0x322)]=_0x4f262a,this['_instanceService']=_0xb3f954,this['_undoRedoGroupService']=_0x23504d,K(this,'_dragStart',null),K(this,_0xfb9b29(0x40a),null),K(this,_0xfb9b29(0x34b),null),K(this,_0xfb9b29(0x1c5),!0x1),K(this,_0xfb9b29(0x357),null),K(this,_0xfb9b29(0x40c),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0xfb9b29(0x24e),null),K(this,_0xfb9b29(0x30b),!0x1),this[_0xfb9b29(0x45b)]();}[_0x4f3d14(0x45b)](){const _0x1941ad=_0x4f3d14;var _0x42b654,_0x554275,_0x345db3,_0x1ab1bd,_0x22c3ff;let _0x59cde7=this[_0x1941ad(0x414)]['scene'][_0x1941ad(0x1dc)]();this[_0x1941ad(0x44d)](_0x122c68(_0x59cde7['changeStart$'][_0x1941ad(0x46c)](_0x41cd5b(this[_0x1941ad(0x494)]))[_0x1941ad(0x345)](()=>{const _0x3ecd97=_0x1941ad;this[_0x3ecd97(0x440)]();}))),this[_0x1941ad(0x44d)](_0x122c68(((_0x42b654=_0x59cde7[_0x1941ad(0x299)])==null?void 0x0:_0x42b654['pipe'](_0x41cd5b(this['dispose$']))[_0x1941ad(0x345)](_0xb7a050=>{const _0x58f094=_0x1941ad;this['_syncDragPreview'](_0xb7a050==null?void 0x0:_0xb7a050[_0x58f094(0x365)]);}))??{'dispose':()=>{}})),this['disposeWithMe'](_0x122c68(_0x59cde7[_0x1941ad(0x34d)][_0x1941ad(0x46c)](_0x41cd5b(this['dispose$']))['subscribe'](_0x31102c=>{const _0x300eac=_0x1941ad;setTimeout(()=>this[_0x300eac(0x424)](_0x31102c==null?void 0x0:_0x31102c[_0x300eac(0x365)]),0x0);}))),this[_0x1941ad(0x44d)](_0x122c68(((_0x554275=this[_0x1941ad(0x414)]['scene'][_0x1941ad(0x210)])==null?void 0x0:_0x554275[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x43d5b3])=>this['_capturePointerChildDragStart'](_0x43d5b3)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(((_0x345db3=this[_0x1941ad(0x414)][_0x1941ad(0x48b)][_0x1941ad(0x450)])==null?void 0x0:_0x345db3[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x2b81a2,_0x3685b4])=>this[_0x1941ad(0x2d5)](_0x2b81a2,_0x3685b4)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(((_0x1ab1bd=this['_renderContext']['scene'][_0x1941ad(0x376)])==null?void 0x0:_0x1ab1bd[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x281d8d,_0x78f7cc])=>this['_applyPointerChildDrag'](_0x281d8d,_0x78f7cc)}))??{'dispose':()=>{}})),this['disposeWithMe'](_0x122c68(((_0x22c3ff=this[_0x1941ad(0x414)][_0x1941ad(0x48b)][_0x1941ad(0x3cc)])==null?void 0x0:_0x22c3ff[_0x1941ad(0x474)]({'priority':0x3,'next':([,_0x3f495c])=>this[_0x1941ad(0x392)](_0x3f495c)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(()=>{const _0x982256=_0x1941ad;var _0x4eec26;return(_0x4eec26=this[_0x982256(0x40c)])==null?void 0x0:_0x4eec26['dispose']();})),this['disposeWithMe'](_0x122c68(()=>this[_0x1941ad(0x49e)]())),this['_subscribeElementDataChanges'](),this[_0x1941ad(0x32b)](),this[_0x1941ad(0x44d)](_0x122c68(()=>this[_0x1941ad(0x2f1)]()));}['_subscribeElementDataChanges'](){const _0x3db070=_0x4f3d14;[this[_0x3db070(0x3dd)][_0x3db070(0x3d9)],this[_0x3db070(0x3dd)][_0x3db070(0x283)],this[_0x3db070(0x3dd)][_0x3db070(0x228)]]['forEach'](_0xb79504=>{const _0x11f14c=_0x3db070;this[_0x11f14c(0x44d)](_0x122c68(_0xb79504[_0x11f14c(0x46c)](_0x41cd5b(this[_0x11f14c(0x494)]))['subscribe'](()=>{const _0x22d004=_0x11f14c;this[_0x22d004(0x32b)]();})));}),this[_0x3db070(0x1a3)][_0x3db070(0x475)]&&this[_0x3db070(0x44d)](_0x122c68(this[_0x3db070(0x1a3)][_0x3db070(0x475)][_0x3db070(0x46c)](_0x41cd5b(this['dispose$']))[_0x3db070(0x345)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}[_0x4f3d14(0x32b)](){const _0x32039c=_0x4f3d14;this[_0x32039c(0x1f3)]||(this[_0x32039c(0x1f3)]=!0x0,Promise[_0x32039c(0x1ec)]()[_0x32039c(0x193)](()=>this[_0x32039c(0x3c4)]()));}['_attachObjectPointerListeners'](){const _0x5339a8=_0x4f3d14;var _0x4438dc;this[_0x5339a8(0x1f3)]=!0x1;let _0x23c48a=this[_0x5339a8(0x2da)](),_0x1ede85=this[_0x5339a8(0x414)]['scene'];if(!_0x23c48a||typeof _0x1ede85[_0x5339a8(0x3b7)]!=_0x5339a8(0x2b8))return;let _0x6fe492=this['_boardElementService'][_0x5339a8(0x198)](_0x23c48a['unitId'],_0x23c48a['subUnitId']),_0x8ca680=new _0x3fd367();(_0x4438dc=this[_0x5339a8(0x40c)])==null||_0x4438dc['dispose'](),this[_0x5339a8(0x40c)]=_0x8ca680,Object[_0x5339a8(0x2df)](_0x6fe492)[_0x5339a8(0x2d1)](_0x4597f4=>{const _0xd82527=_0x5339a8;var _0x31ec87,_0x403544;let _0x1f8f8c=_0x5585ba(_0x4597f4[_0xd82527(0x1ca)]);if(!(_0x1f8f8c!=null&&_0x1f8f8c['parentNodeId']))return;let _0x2f4cdb=_0x55b3e2(_0x23c48a[_0xd82527(0x291)],_0x4597f4[_0xd82527(0x3e9)]),_0x42b42a=((_0x31ec87=_0x1ede85[_0xd82527(0x484)])==null?void 0x0:_0x31ec87[_0xd82527(0x2a4)](_0x1ede85,_0x2f4cdb))??((_0x403544=_0x1ede85[_0xd82527(0x3b7)])==null?void 0x0:_0x403544[_0xd82527(0x2a4)](_0x1ede85,_0x2f4cdb));_0x42b42a!=null&&_0x42b42a[_0xd82527(0x210)]&&_0x8ca680['add'](_0x42b42a[_0xd82527(0x210)][_0xd82527(0x474)]({'priority':-0xa,'next':([_0x417069,_0x12efdc])=>this[_0xd82527(0x24f)](_0x417069,{'unitId':_0x23c48a[_0xd82527(0x291)],'subUnitId':_0x23c48a[_0xd82527(0x20a)],'nodeId':_0x4597f4['elementId']},_0x12efdc)}));});}['_resolveCurrentBoardContext'](){const _0x5eb5d1=_0x4f3d14;let _0x16530b=this['_elementStateService']['getSnapshot']()[_0x5eb5d1(0x3ac)];if(_0x16530b)return _0x16530b;let _0x451e5f=this[_0x5eb5d1(0x414)][_0x5eb5d1(0x291)],_0x2c96de=_0x451e5f?this[_0x5eb5d1(0x39d)][_0x5eb5d1(0x236)](_0x451e5f,_0x8b4a1a[_0x5eb5d1(0x35b)]):null,_0xe260e0=_0x2c96de==null?void 0x0:_0x2c96de['getActivePageId']();return!_0x2c96de||!_0xe260e0?null:{'unitId':_0x2c96de[_0x5eb5d1(0x352)](),'subUnitId':_0xe260e0};}['_captureDragStart'](){const _0x4f640f=_0x4f3d14;let _0xa1bcf3=this[_0x4f640f(0x1a3)][_0x4f640f(0x310)]();this[_0x4f640f(0x1c5)]=!0x1,this['_childDragSelectionHidden']=!0x1,this['_lastChildDragAction']=null;let _0x4bb258=_0xa1bcf3[_0x4f640f(0x3ac)],_0xfa0057=_0xa1bcf3[_0x4f640f(0x206)]??_0xa1bcf3[_0x4f640f(0x375)][0x0];if(!_0x4bb258||!_0xfa0057){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x1a519d=this[_0x4f640f(0x3dd)]['getElementData'](_0x4bb258[_0x4f640f(0x291)],_0x4bb258['subUnitId']);if(_0xa1bcf3[_0x4f640f(0x375)][_0x4f640f(0x452)]>0x1){let _0x155d49=this[_0x4f640f(0x2f2)](_0x1a519d,_0xa1bcf3[_0x4f640f(0x375)]);if(!_0x155d49){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x3094cd=_0x1a519d[_0x155d49[_0x4f640f(0x380)]],_0x5e99f7=_0x25dbfe(_0x1a519d,_0x155d49[_0x4f640f(0x380)]),_0x563a17=_0x3094cd['element'][_0x4f640f(0x330)];this[_0x4f640f(0x469)]={'kind':'scope','unitId':_0x4bb258[_0x4f640f(0x291)],'subUnitId':_0x4bb258[_0x4f640f(0x20a)],'nodeId':_0x155d49[_0x4f640f(0x380)],'scopeId':_0x155d49['scopeId'],'left':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x445)])??_0x563a17[_0x4f640f(0x445)]??0x0,'top':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x2e1)])??_0x563a17[_0x4f640f(0x2e1)]??0x0,'width':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x48c)])??_0x563a17[_0x4f640f(0x48c)]??0x0,'height':(_0x5e99f7==null?void 0x0:_0x5e99f7['height'])??_0x563a17[_0x4f640f(0x36d)]??0x0,'elementData':_0x1a519d};return;}let _0x1547ff=_0x1a519d[_0xfa0057],_0x2c566b=_0x5585ba(_0x1547ff==null?void 0x0:_0x1547ff[_0x4f640f(0x1ca)]);if(!_0x1547ff||!_0x2c566b){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x5ee728=_0x25dbfe(_0x1a519d,_0xfa0057),_0x340336=_0x1547ff[_0x4f640f(0x1ca)][_0x4f640f(0x330)];this[_0x4f640f(0x469)]={'kind':_0x2c566b[_0x4f640f(0x29f)]===null?'root':'child','unitId':_0x4bb258['unitId'],'subUnitId':_0x4bb258[_0x4f640f(0x20a)],'nodeId':_0xfa0057,'scopeId':_0x2c566b[_0x4f640f(0x2ea)],'left':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x445)])??_0x340336[_0x4f640f(0x445)]??0x0,'top':(_0x5ee728==null?void 0x0:_0x5ee728['top'])??_0x340336[_0x4f640f(0x2e1)]??0x0,'width':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x48c)])??_0x340336[_0x4f640f(0x48c)]??0x0,'height':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x36d)])??_0x340336[_0x4f640f(0x36d)]??0x0,'elementData':_0x1a519d};}['_resolveCompleteSelectedScope'](_0x3009c5,_0x20d966){const _0x4f7734=_0x4f3d14;let _0x2c5724=new Set(_0x20d966),_0x2bd150=_0x20d966[_0x4f7734(0x2c1)](_0x28554c=>{const _0x7285e1=_0x4f7734;var _0xc27231,_0x50dde7,_0x4c4668,_0x2d0f5f;let _0x2a998c=(_0xc27231=_0x3009c5[_0x28554c])==null?void 0x0:_0xc27231[_0x7285e1(0x1ca)];return((_0x50dde7=_0x5585ba(_0x2a998c))==null?void 0x0:_0x50dde7['structureScopeId'])??((_0x4c4668=_0x5dd284(_0x2a998c))==null?void 0x0:_0x4c4668[_0x7285e1(0x2ea)])??((_0x2d0f5f=_0x487e3a(_0x2a998c))==null?void 0x0:_0x2d0f5f[_0x7285e1(0x2ea)])??null;});if(_0x2bd150[_0x4f7734(0x4a2)](_0x41d60c=>_0x41d60c===null)||new Set(_0x2bd150)['size']!==0x1)return null;let _0x157c22=_0x2bd150[0x0];if(!_0x157c22)return null;let _0x72db05=Object['values'](_0x3009c5)['filter'](_0x16d370=>{const _0x5eb831=_0x4f7734;var _0x336e1e;return _0x16d370['element'][_0x5eb831(0x418)]!==!0x1&&((_0x336e1e=_0x5585ba(_0x16d370[_0x5eb831(0x1ca)]))==null?void 0x0:_0x336e1e[_0x5eb831(0x2ea)])===_0x157c22;});if(_0x72db05[_0x4f7734(0x452)]===0x0||_0x72db05['some'](_0x3f090f=>!_0x2c5724[_0x4f7734(0x290)](_0x3f090f[_0x4f7734(0x3e9)])))return null;let _0x55aeb7=_0x72db05[_0x4f7734(0x43b)](_0x514e61=>{const _0x2dd914=_0x4f7734;var _0x5b17ea;return((_0x5b17ea=_0x5585ba(_0x514e61[_0x2dd914(0x1ca)]))==null?void 0x0:_0x5b17ea[_0x2dd914(0x29f)])===null;});return _0x55aeb7[_0x4f7734(0x452)]===0x1?{'rootNodeId':_0x55aeb7[0x0][_0x4f7734(0x3e9)],'scopeId':_0x157c22}:null;}[_0x4f3d14(0x24f)](_0x5888dc,_0x153c0b,_0x559f65){const _0x4722cd=_0x4f3d14;var _0x4b0056,_0x44b323,_0x3a0c9f,_0x49f605,_0x442916;if(this[_0x4722cd(0x322)][_0x4722cd(0x25b)]()[_0x4722cd(0x447)]==='viewing'||(_0x5888dc[_0x4722cd(0x26f)]??0x0)!==0x0)return;let _0x283168=this['_elementStateService'][_0x4722cd(0x310)]();if(_0x283168[_0x4722cd(0x483)]){this[_0x4722cd(0x40a)]=null;return;}let _0x33a504=_0x153c0b?{'unitId':_0x153c0b['unitId'],'subUnitId':_0x153c0b[_0x4722cd(0x20a)]}:_0x283168[_0x4722cd(0x3ac)]??this['_resolveCurrentBoardContext'](),_0x4fff91=(_0x153c0b==null?void 0x0:_0x153c0b[_0x4722cd(0x3f9)])??(_0x283168[_0x4722cd(0x375)][_0x4722cd(0x452)]===0x1?_0x283168[_0x4722cd(0x206)]??_0x283168[_0x4722cd(0x375)][0x0]:void 0x0);if(!_0x33a504){this[_0x4722cd(0x40a)]=null;return;}let _0x13299f=this[_0x4722cd(0x3dd)][_0x4722cd(0x198)](_0x33a504[_0x4722cd(0x291)],_0x33a504[_0x4722cd(0x20a)]),_0x2eefe=this[_0x4722cd(0x446)](_0x5888dc);if(!_0x153c0b){let _0x2d36dc=_0x4fff91?_0x13299f[_0x4fff91]:null,_0x59d303=_0x5585ba(_0x2d36dc==null?void 0x0:_0x2d36dc[_0x4722cd(0x1ca)]),_0x442560=_0x4fff91?_0x25dbfe(_0x13299f,_0x4fff91)??(_0x2d36dc==null?void 0x0:_0x2d36dc[_0x4722cd(0x1ca)][_0x4722cd(0x330)]):null;(!(_0x59d303!=null&&_0x59d303[_0x4722cd(0x29f)])||!_0x442560||!this[_0x4722cd(0x33e)](_0x2eefe,{'left':_0x442560[_0x4722cd(0x445)]??0x0,'top':_0x442560['top']??0x0,'width':_0x442560[_0x4722cd(0x48c)]??0x0,'height':_0x442560['height']??0x0}))&&(_0x4fff91=this[_0x4722cd(0x3d6)](_0x13299f,_0x2eefe));}if(!_0x4fff91){this[_0x4722cd(0x40a)]=null;return;}let _0x4c5f14=_0x13299f[_0x4fff91],_0x529501=_0x5585ba(_0x4c5f14==null?void 0x0:_0x4c5f14[_0x4722cd(0x1ca)]);if(!_0x4c5f14||!(_0x529501!=null&&_0x529501[_0x4722cd(0x29f)])){this['_pointerDragStart']=null;return;}this[_0x4722cd(0x39d)]['focusUnit'](_0x33a504[_0x4722cd(0x291)]),(_0x4b0056=this[_0x4722cd(0x414)][_0x4722cd(0x3f4)])==null||(_0x44b323=_0x4b0056['getCanvasElement'])==null||(_0x44b323=_0x44b323[_0x4722cd(0x2a4)](_0x4b0056))==null||(_0x3a0c9f=_0x44b323[_0x4722cd(0x3b6)])==null||_0x3a0c9f[_0x4722cd(0x2a4)](_0x44b323,{'preventScroll':!0x0}),(_0x49f605=(_0x442916=this[_0x4722cd(0x1a3)])['selectElements'])==null||_0x49f605[_0x4722cd(0x2a4)](_0x442916,_0x33a504,[_0x4fff91],_0x4fff91),_0x559f65==null||_0x559f65[_0x4722cd(0x1de)]();let _0x4c4b69=_0x25dbfe(_0x13299f,_0x4fff91),_0x59769e=_0x4c5f14[_0x4722cd(0x1ca)]['transform'],_0xf9eda4={'left':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x445)])??_0x59769e['left']??0x0,'top':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x2e1)])??_0x59769e[_0x4722cd(0x2e1)]??0x0,'width':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x48c)])??_0x59769e[_0x4722cd(0x48c)]??0x0,'height':(_0x4c4b69==null?void 0x0:_0x4c4b69['height'])??_0x59769e[_0x4722cd(0x36d)]??0x0};if(!_0x153c0b&&!this['_isPointInBounds'](_0x2eefe,_0xf9eda4)){this[_0x4722cd(0x40a)]=null;return;}let _0xb815cd=this[_0x4722cd(0x1e1)](_0x5888dc);this['_childDragActivated']=!0x1,this[_0x4722cd(0x30b)]=!0x1,this['_lastChildDragAction']=null,this[_0x4722cd(0x40a)]={'kind':_0x4722cd(0x306),'unitId':_0x33a504['unitId'],'subUnitId':_0x33a504['subUnitId'],'nodeId':_0x4fff91,'scopeId':_0x529501[_0x4722cd(0x2ea)],..._0xf9eda4,'pointerStartX':_0xb815cd['x'],'pointerStartY':_0xb815cd['y'],'elementData':_0x13299f},this[_0x4722cd(0x438)](),this[_0x4722cd(0x38e)](_0x5888dc,_0x559f65);}[_0x4f3d14(0x2d5)](_0x1a3cbd,_0x131c7f){const _0x49a26d=_0x4f3d14;var _0x37e782,_0x2643d8;let _0xd935=this[_0x49a26d(0x40a)];if(!_0xd935||_0x1a3cbd[_0x49a26d(0x242)]!==void 0x0&&_0x1a3cbd['buttons']!==0x1)return;let _0x5d1d25=this[_0x49a26d(0x461)](_0x1a3cbd,_0xd935);if(!this[_0x49a26d(0x465)](_0xd935,_0x5d1d25))return;this[_0x49a26d(0x1c5)]||this[_0x49a26d(0x332)](),this[_0x49a26d(0x1c5)]=!0x0;let _0x5aaa2e=this[_0x49a26d(0x460)](_0xd935[_0x49a26d(0x241)],_0xd935[_0x49a26d(0x3f9)],_0x5d1d25),_0x1a6e9a=Sn(_0xd935[_0x49a26d(0x241)],_0xd935['nodeId'],{'boundsByElementId':_0x5aaa2e,'detachWhenNoSnap':!0x0});this[_0x49a26d(0x357)]=_0x1a6e9a,this['_syncChildDragPreviewObject'](_0x5d1d25,_0x1a6e9a,_0x5aaa2e),this[_0x49a26d(0x38e)](_0x1a3cbd,_0x131c7f),this[_0x49a26d(0x414)][_0x49a26d(0x48b)][_0x49a26d(0x32c)](!0x0),(_0x37e782=(_0x2643d8=this[_0x49a26d(0x414)][_0x49a26d(0x48b)])[_0x49a26d(0x1cf)])==null||_0x37e782['call'](_0x2643d8);}[_0x4f3d14(0x453)](_0x3aabbe,_0x5c0164){const _0x333da1=_0x4f3d14;let _0x1540ba=this['_pointerDragStart'];if(!_0x1540ba)return;if(this[_0x333da1(0x40a)]=null,this[_0x333da1(0x49e)](),this[_0x333da1(0x2f1)](),!this['_childDragActivated']){this['_lastChildDragAction']=null;return;}let _0x3c59e6=this[_0x333da1(0x3dd)][_0x333da1(0x198)](_0x1540ba[_0x333da1(0x291)],_0x1540ba[_0x333da1(0x20a)]),_0x47092c=this[_0x333da1(0x461)](_0x3aabbe,_0x1540ba),_0x50c714=this[_0x333da1(0x460)](_0x3c59e6,_0x1540ba[_0x333da1(0x3f9)],_0x47092c),_0xb9f5fe=Sn(_0x3c59e6,_0x1540ba[_0x333da1(0x3f9)],{'boundsByElementId':_0x50c714,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=null,this[_0x333da1(0x1b7)](_0x1540ba[_0x333da1(0x291)],_0x1540ba[_0x333da1(0x20a)],_0x1540ba[_0x333da1(0x3f9)],_0x3c59e6,_0xb9f5fe),this[_0x333da1(0x30b)]=!0x1,this['_consumePointerEvent'](_0x3aabbe,_0x5c0164);}[_0x4f3d14(0x392)](_0x12ebb4){const _0x5720d4=_0x4f3d14;let _0x258b7a=this[_0x5720d4(0x40a)];if(_0x258b7a){if(this[_0x5720d4(0x40a)]=null,this[_0x5720d4(0x49e)](),this[_0x5720d4(0x1c5)]=!0x1,this[_0x5720d4(0x357)]=null,this[_0x5720d4(0x2f1)](),this['_childDragSelectionHidden']){var _0x27ed2e,_0x3da45e;(_0x27ed2e=(_0x3da45e=this['_elementStateService'])[_0x5720d4(0x42b)])==null||_0x27ed2e[_0x5720d4(0x2a4)](_0x3da45e,{'unitId':_0x258b7a['unitId'],'subUnitId':_0x258b7a['subUnitId']},[_0x258b7a[_0x5720d4(0x3f9)]],_0x258b7a['nodeId']),this['_childDragSelectionHidden']=!0x1;}_0x12ebb4==null||_0x12ebb4['stopPropagation']();}}[_0x4f3d14(0x438)](){const _0x910d42=_0x4f3d14;this['_disposeActivePointerDragListeners']();let _0x293363=typeof window>'u'?null:window;if(!(_0x293363!=null&&_0x293363[_0x910d42(0x248)]))return;let _0x2582b2=new _0x3fd367(),_0x40b053=_0x3ee041=>this[_0x910d42(0x2d5)](_0x3ee041),_0x39f9c0=_0x93f06a=>this['_applyPointerChildDrag'](_0x93f06a),_0x502842=()=>this[_0x910d42(0x392)]();_0x293363['addEventListener'](_0x910d42(0x225),_0x40b053,{'capture':!0x0}),_0x293363['addEventListener'](_0x910d42(0x302),_0x39f9c0,{'capture':!0x0}),_0x293363[_0x910d42(0x248)]('pointercancel',_0x502842,{'capture':!0x0}),_0x2582b2[_0x910d42(0x45d)](_0x122c68(()=>{const _0x30da24=_0x910d42;_0x293363[_0x30da24(0x48d)](_0x30da24(0x225),_0x40b053,{'capture':!0x0}),_0x293363[_0x30da24(0x48d)](_0x30da24(0x302),_0x39f9c0,{'capture':!0x0}),_0x293363[_0x30da24(0x48d)](_0x30da24(0x2b7),_0x502842,{'capture':!0x0});})),this['_activePointerDragDisposables']=_0x2582b2;}[_0x4f3d14(0x3d6)](_0x1e5e69,_0x44c593){const _0x54add4=_0x4f3d14;let _0xb321d3=Object['values'](_0x1e5e69);for(let _0x31e7b6=_0xb321d3[_0x54add4(0x452)]-0x1;_0x31e7b6>=0x0;--_0x31e7b6){let _0xbb616f=_0xb321d3[_0x31e7b6],_0x47db50=_0x5585ba(_0xbb616f[_0x54add4(0x1ca)]);if(!(_0x47db50!=null&&_0x47db50[_0x54add4(0x29f)]))continue;let _0x1b5de8=_0x25dbfe(_0x1e5e69,_0xbb616f[_0x54add4(0x3e9)])??_0xbb616f['element'][_0x54add4(0x330)];if(this['_isPointInBounds'](_0x44c593,{'left':_0x1b5de8[_0x54add4(0x445)]??0x0,'top':_0x1b5de8[_0x54add4(0x2e1)]??0x0,'width':_0x1b5de8['width']??0x0,'height':_0x1b5de8[_0x54add4(0x36d)]??0x0}))return _0xbb616f[_0x54add4(0x3e9)];}}[_0x4f3d14(0x49e)](){const _0x9e7c2=_0x4f3d14;var _0x5e0ab5;(_0x5e0ab5=this[_0x9e7c2(0x24e)])==null||_0x5e0ab5[_0x9e7c2(0x45e)](),this[_0x9e7c2(0x24e)]=null;}[_0x4f3d14(0x42f)](_0x40c494){const _0x52e5e2=_0x4f3d14;let _0x319212=this[_0x52e5e2(0x469)];_0x319212&&((_0x319212['kind']===_0x52e5e2(0x1d6)||_0x319212[_0x52e5e2(0x315)]==='scope')&&this['_syncRootScopePreview'](_0x40c494),_0x319212[_0x52e5e2(0x315)]===_0x52e5e2(0x1d6)?this['_syncRootReparentPreview'](_0x40c494):this[_0x52e5e2(0x23e)](_0x40c494));}[_0x4f3d14(0x404)](_0x5c2763){const _0x454ef5=_0x4f3d14;let _0x154faa=this[_0x454ef5(0x469)];if(!_0x154faa||_0x154faa['kind']!==_0x454ef5(0x1d6)&&_0x154faa[_0x454ef5(0x315)]!==_0x454ef5(0x30a))return;let _0x3f69ee=_0x5c2763==null?void 0x0:_0x5c2763[_0x454ef5(0x47f)](_0x55b3e2(_0x154faa[_0x454ef5(0x291)],_0x154faa[_0x454ef5(0x3f9)]));if(!_0x3f69ee||!Number[_0x454ef5(0x490)](_0x3f69ee[_0x454ef5(0x445)])||!Number[_0x454ef5(0x490)](_0x3f69ee['top']))return;let _0x511013=Tn({'elementData':_0x154faa[_0x454ef5(0x241)],'rootNodeId':_0x154faa[_0x454ef5(0x3f9)],'scopeId':_0x154faa[_0x454ef5(0x3a9)],'rootStartBounds':{'left':_0x154faa[_0x454ef5(0x445)],'top':_0x154faa[_0x454ef5(0x2e1)]},'liveRootBounds':{'left':_0x3f69ee[_0x454ef5(0x445)],'top':_0x3f69ee[_0x454ef5(0x2e1)]}});if(!_0x511013)return;let _0x37e164=this[_0x454ef5(0x414)][_0x454ef5(0x48b)],_0x4996ae=_0x37e164,_0x45f68e=!0x1;_0x511013[_0x454ef5(0x2ef)][_0x454ef5(0x2d1)](_0x5ae759=>{const _0x1d7b80=_0x454ef5;var _0x1fbb5e;let _0x22e391=_0x55b3e2(_0x154faa[_0x1d7b80(0x291)],_0x5ae759[_0x1d7b80(0x3e9)]),_0x2932be=((_0x1fbb5e=_0x4996ae[_0x1d7b80(0x484)])==null?void 0x0:_0x1fbb5e[_0x1d7b80(0x2a4)](_0x4996ae,_0x22e391))??_0x37e164[_0x1d7b80(0x3b7)](_0x22e391);_0x2932be&&(_0x5ae759[_0x1d7b80(0x315)]==='connector'&&typeof _0x2932be[_0x1d7b80(0x33b)]=='function'?(_0x2932be[_0x1d7b80(0x33b)](_0x5ae759[_0x1d7b80(0x1ca)],_0x511013['elementData']),_0x45f68e=!0x0):_0x5ae759[_0x1d7b80(0x315)]===_0x1d7b80(0x19a)&&(_0x2932be[_0x1d7b80(0x3be)](_0x5ae759[_0x1d7b80(0x19a)]),typeof _0x2932be[_0x1d7b80(0x2c8)]==_0x1d7b80(0x2b8)?_0x2932be[_0x1d7b80(0x2c8)](!0x0):_0x2932be[_0x1d7b80(0x32c)](!0x0),_0x45f68e=!0x0));}),_0x45f68e&&_0x37e164[_0x454ef5(0x32c)](!0x0);}[_0x4f3d14(0x3c8)](_0x3523aa){const _0x8fca15=_0x4f3d14;var _0x445392,_0x5d547f;let _0x55359e=this['_dragStart'];if(!_0x55359e||_0x55359e[_0x8fca15(0x315)]!=='root')return;let _0xde8f29=_0x3523aa==null?void 0x0:_0x3523aa[_0x8fca15(0x47f)](_0x55b3e2(_0x55359e[_0x8fca15(0x291)],_0x55359e[_0x8fca15(0x3f9)]));if(!_0xde8f29||!Number[_0x8fca15(0x490)](_0xde8f29[_0x8fca15(0x445)])||!Number[_0x8fca15(0x490)](_0xde8f29[_0x8fca15(0x2e1)])){this['_removeDragPreviewObject']();return;}let _0xcb2ecf=this[_0x8fca15(0x20b)](_0xde8f29,_0x55359e),_0x764d4c=this[_0x8fca15(0x460)](_0x55359e['elementData'],_0x55359e[_0x8fca15(0x3f9)],_0xcb2ecf),_0x52d542=Sn(_0x55359e['elementData'],_0x55359e[_0x8fca15(0x3f9)],{'boundsByElementId':_0x764d4c,'allowRootReparent':!0x0});if(_0x52d542[_0x8fca15(0x315)]!==_0x8fca15(0x3b0)){this['_removeDragPreviewObject']();return;}let _0x222bf1=this['_ensureDragPreviewObject']();_0x222bf1&&(_0x222bf1[_0x8fca15(0x2e5)]({'ghostBounds':_0xcb2ecf,'sourceBounds':null,'parentBounds':_0x764d4c[_0x52d542[_0x8fca15(0x1d8)]],'side':_0x52d542[_0x8fca15(0x350)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this['_renderContext'][_0x8fca15(0x48b)][_0x8fca15(0x32c)](!0x0),(_0x445392=(_0x5d547f=this['_renderContext'][_0x8fca15(0x48b)])[_0x8fca15(0x1cf)])==null||_0x445392[_0x8fca15(0x2a4)](_0x5d547f));}[_0x4f3d14(0x23e)](_0x41d7a6){const _0x239668=_0x4f3d14;var _0x5f5ae9,_0x59ba61;let _0x3aa44b=this[_0x239668(0x469)];if(!_0x3aa44b||_0x3aa44b['kind']!=='child')return;let _0x3e9185=_0x41d7a6==null?void 0x0:_0x41d7a6[_0x239668(0x47f)](_0x55b3e2(_0x3aa44b[_0x239668(0x291)],_0x3aa44b['nodeId']));if(!_0x3e9185){this[_0x239668(0x2f1)]();return;}let _0x67acd3=this[_0x239668(0x20b)](_0x3e9185,_0x3aa44b);if(!this[_0x239668(0x465)](_0x3aa44b,_0x67acd3)){this[_0x239668(0x357)]=null,this[_0x239668(0x2f1)](),this[_0x239668(0x384)](_0x3e9185,_0x3aa44b),this[_0x239668(0x414)][_0x239668(0x48b)][_0x239668(0x32c)](!0x0);return;}this[_0x239668(0x1c5)]||this[_0x239668(0x332)](),this[_0x239668(0x1c5)]=!0x0;let _0x3bfd1e=this[_0x239668(0x460)](_0x3aa44b[_0x239668(0x241)],_0x3aa44b[_0x239668(0x3f9)],_0x67acd3),_0x865122=Sn(_0x3aa44b[_0x239668(0x241)],_0x3aa44b[_0x239668(0x3f9)],{'boundsByElementId':_0x3bfd1e,'detachWhenNoSnap':!0x0});this[_0x239668(0x357)]=_0x865122,this['_syncChildDragPreviewObject'](_0x67acd3,_0x865122,_0x3bfd1e),this[_0x239668(0x384)](_0x3e9185,_0x3aa44b),this[_0x239668(0x414)]['scene'][_0x239668(0x32c)](!0x0),(_0x5f5ae9=(_0x59ba61=this[_0x239668(0x414)]['scene'])[_0x239668(0x1cf)])==null||_0x5f5ae9[_0x239668(0x2a4)](_0x59ba61);}[_0x4f3d14(0x424)](_0x3068f3){const _0x1feda1=_0x4f3d14;var _0x27020f;let _0x1fcb95=this['_elementStateService'][_0x1feda1(0x310)](),_0x161a29=_0x1fcb95[_0x1feda1(0x3ac)],_0x3454ba=_0x1fcb95[_0x1feda1(0x206)]??_0x1fcb95[_0x1feda1(0x375)][0x0];if(_0x161a29&&((_0x27020f=this[_0x1feda1(0x469)])==null?void 0x0:_0x27020f[_0x1feda1(0x315)])===_0x1feda1(0x30a)){this[_0x1feda1(0x2f1)](),this[_0x1feda1(0x276)](_0x161a29['unitId'],_0x161a29[_0x1feda1(0x20a)],_0x3068f3);return;}if(!_0x161a29||!_0x3454ba||_0x1fcb95[_0x1feda1(0x375)]['length']!==0x1){this[_0x1feda1(0x2f1)](),this[_0x1feda1(0x469)]=null;return;}this[_0x1feda1(0x2f1)]();let _0x2f9a69=this[_0x1feda1(0x3dd)]['getElementData'](_0x161a29['unitId'],_0x161a29['subUnitId']);if(this[_0x1feda1(0x41c)](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x3068f3))return;let _0x1fb3d5=this['_resolveChildDragTopologyAction'](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x3068f3);this[_0x1feda1(0x1b7)](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x1fb3d5);}[_0x4f3d14(0x276)](_0x34c972,_0x445b8,_0x4e0501){const _0x55c5f4=_0x4f3d14;let _0x35c02e=this[_0x55c5f4(0x469)];if(this[_0x55c5f4(0x469)]=null,!_0x35c02e||_0x35c02e[_0x55c5f4(0x315)]!==_0x55c5f4(0x30a)||_0x35c02e[_0x55c5f4(0x291)]!==_0x34c972||_0x35c02e['subUnitId']!==_0x445b8)return;let _0x2af708=_0x4e0501==null?void 0x0:_0x4e0501[_0x55c5f4(0x47f)](_0x55b3e2(_0x34c972,_0x35c02e[_0x55c5f4(0x3f9)])),_0x4be51f=_0x2af708&&Number['isFinite'](_0x2af708[_0x55c5f4(0x445)])?_0x2af708[_0x55c5f4(0x445)]??_0x35c02e[_0x55c5f4(0x445)]:_0x35c02e[_0x55c5f4(0x445)],_0x4ea7f6=_0x2af708&&Number[_0x55c5f4(0x490)](_0x2af708[_0x55c5f4(0x2e1)])?_0x2af708[_0x55c5f4(0x2e1)]??_0x35c02e[_0x55c5f4(0x2e1)]:_0x35c02e['top'],_0x40c323=_0x4be51f-_0x35c02e[_0x55c5f4(0x445)],_0x1321f3=_0x4ea7f6-_0x35c02e['top'];(_0x40c323!==0x0||_0x1321f3!==0x0)&&this[_0x55c5f4(0x32f)][_0x55c5f4(0x32d)](_0x2c3a69['id'],{'unitId':_0x34c972,'subUnitId':_0x445b8,'scopeId':_0x35c02e['scopeId'],'deltaX':_0x40c323,'deltaY':_0x1321f3});}['_executeChildDragAction'](_0x4dbd33,_0x245d87,_0x550ce2,_0x110c30,_0x1ea3ab){const _0x34ba60=_0x4f3d14;if(_0x1ea3ab[_0x34ba60(0x315)]==='reparent'){var _0x521739,_0x3d0349;let _0x493bdc=_0x5585ba((_0x521739=_0x110c30[_0x550ce2])==null?void 0x0:_0x521739[_0x34ba60(0x1ca)]),_0x5d7289=_0x5585ba((_0x3d0349=_0x110c30[_0x1ea3ab[_0x34ba60(0x1d8)]])==null?void 0x0:_0x3d0349['element']);this[_0x34ba60(0x479)](_0x2f561c['id'],{'unitId':_0x4dbd33,'subUnitId':_0x245d87,'nodeId':_0x550ce2,'newParentNodeId':_0x1ea3ab[_0x34ba60(0x1d8)],'side':_0x1ea3ab['side'],..._0x1ea3ab[_0x34ba60(0x47e)]?{'referenceNodeId':_0x1ea3ab[_0x34ba60(0x47e)]}:null,..._0x1ea3ab[_0x34ba60(0x3c9)]?{'placement':_0x1ea3ab[_0x34ba60(0x3c9)]}:null},[_0x493bdc==null?void 0x0:_0x493bdc[_0x34ba60(0x2ea)],_0x5d7289==null?void 0x0:_0x5d7289[_0x34ba60(0x2ea)]],_0x550ce2);}else{if(_0x1ea3ab[_0x34ba60(0x315)]===_0x34ba60(0x197)){var _0x348125;let _0x604420=_0x5585ba((_0x348125=_0x110c30[_0x550ce2])==null?void 0x0:_0x348125[_0x34ba60(0x1ca)]);this['_executeAndLayout'](_0x10841e['id'],{'unitId':_0x4dbd33,'subUnitId':_0x245d87,'nodeId':_0x550ce2,...Number['isFinite'](_0x1ea3ab[_0x34ba60(0x445)])?{'left':_0x1ea3ab['left']}:null,...Number['isFinite'](_0x1ea3ab[_0x34ba60(0x2e1)])?{'top':_0x1ea3ab[_0x34ba60(0x2e1)]}:null},[_0x604420==null?void 0x0:_0x604420['structureScopeId']],_0x550ce2);}}}[_0x4f3d14(0x41c)](_0x184e2d,_0x4555f1,_0x196486,_0x2b2be7,_0x2dbb91){const _0x373bad=_0x4f3d14;let _0x1b30e0=this[_0x373bad(0x469)];if((_0x1b30e0==null?void 0x0:_0x1b30e0[_0x373bad(0x315)])==='root'&&(this[_0x373bad(0x469)]=null),!_0x1b30e0||_0x1b30e0['unitId']!==_0x184e2d||_0x1b30e0['subUnitId']!==_0x4555f1||_0x1b30e0[_0x373bad(0x3f9)]!==_0x196486)return!0x1;let _0x26b5ff=_0x2b2be7[_0x196486],_0x557255=_0x5585ba(_0x26b5ff==null?void 0x0:_0x26b5ff[_0x373bad(0x1ca)]);if(!_0x26b5ff||!_0x557255||_0x557255[_0x373bad(0x29f)]!==null)return!0x1;let _0x34c1b3=_0x2dbb91==null?void 0x0:_0x2dbb91[_0x373bad(0x47f)](_0x55b3e2(_0x184e2d,_0x196486)),_0x4f75b0=_0x25dbfe(_0x2b2be7,_0x196486),_0xe650c4=Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3[_0x373bad(0x445)])?_0x34c1b3[_0x373bad(0x445)]:(_0x4f75b0==null?void 0x0:_0x4f75b0[_0x373bad(0x445)])??_0x26b5ff[_0x373bad(0x1ca)][_0x373bad(0x330)][_0x373bad(0x445)]??0x0,_0x2a1c87=Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3['top'])?_0x34c1b3[_0x373bad(0x2e1)]:(_0x4f75b0==null?void 0x0:_0x4f75b0[_0x373bad(0x2e1)])??_0x26b5ff[_0x373bad(0x1ca)][_0x373bad(0x330)]['top']??0x0,_0x1ad58e=_0xe650c4-_0x1b30e0['left'],_0x4f8d17=_0x2a1c87-_0x1b30e0[_0x373bad(0x2e1)];if(_0x1ad58e===0x0&&_0x4f8d17===0x0)return!0x0;let _0x5c4640={'left':_0xe650c4,'top':_0x2a1c87,'width':Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3[_0x373bad(0x48c)])?_0x34c1b3[_0x373bad(0x48c)]:_0x1b30e0[_0x373bad(0x48c)],'height':Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3['height'])?_0x34c1b3['height']:_0x1b30e0['height']},_0x1c2b47=Sn(_0x2b2be7,_0x196486,{'boundsByElementId':this[_0x373bad(0x460)](_0x2b2be7,_0x196486,_0x5c4640),'allowRootReparent':!0x0});if(_0x1c2b47[_0x373bad(0x315)]===_0x373bad(0x3b0))return this['_executeChildDragAction'](_0x184e2d,_0x4555f1,_0x196486,_0x2b2be7,_0x1c2b47),!0x0;let _0x18e4c8=!!_0x4f75b0&&Math[_0x373bad(0x36a)](_0x4f75b0[_0x373bad(0x445)]-_0xe650c4)<0.001&&Math[_0x373bad(0x36a)](_0x4f75b0[_0x373bad(0x2e1)]-_0x2a1c87)<0.001;return this[_0x373bad(0x32f)][_0x373bad(0x32d)](_0x2c3a69['id'],{'unitId':_0x184e2d,'subUnitId':_0x4555f1,'scopeId':_0x1b30e0['scopeId'],'deltaX':_0x1ad58e,'deltaY':_0x4f8d17,..._0x18e4c8?{'excludeElementIds':[_0x196486],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x4f3d14(0x217)](_0x2e3efe,_0x124e3d,_0x17f410,_0xa45230,_0x39af3f){const _0x2c419b=_0x4f3d14;let _0x40f03e=this[_0x2c419b(0x469)];if(!_0x40f03e||_0x40f03e[_0x2c419b(0x315)]!=='child'||_0x40f03e['unitId']!==_0x2e3efe||_0x40f03e[_0x2c419b(0x20a)]!==_0x124e3d||_0x40f03e[_0x2c419b(0x3f9)]!==_0x17f410)return{'kind':_0x2c419b(0x2a1)};this[_0x2c419b(0x469)]=null;let _0x5738ba=_0x39af3f==null?void 0x0:_0x39af3f[_0x2c419b(0x47f)](_0x55b3e2(_0x2e3efe,_0x17f410));if(!this[_0x2c419b(0x1c5)])return _0x5738ba&&this[_0x2c419b(0x384)](_0x5738ba,_0x40f03e),this[_0x2c419b(0x357)]=null,{'kind':_0x2c419b(0x2a1)};if(!_0x5738ba){let _0x2cc549=this[_0x2c419b(0x357)]??{'kind':_0x2c419b(0x2a1)};return this[_0x2c419b(0x357)]=null,_0x2cc549;}let _0xd5f34=this['_getLiveObjectBounds'](_0x5738ba,_0x40f03e);if(this['_restoreObjectToDragStart'](_0x5738ba,_0x40f03e),!this[_0x2c419b(0x465)](_0x40f03e,_0xd5f34))return this[_0x2c419b(0x357)]=null,{'kind':_0x2c419b(0x2a1)};let _0x47c331=Sn(_0xa45230,_0x17f410,{'boundsByElementId':this[_0x2c419b(0x460)](_0xa45230,_0x17f410,_0xd5f34),'detachWhenNoSnap':!0x0});return this['_lastChildDragAction']=null,_0x47c331;}['_isChildDragPastActivationThreshold'](_0x27e6a4,_0x2ad581){const _0x3765be=_0x4f3d14;let _0x38149b=(_0x2ad581[_0x3765be(0x445)]??_0x27e6a4['left'])-_0x27e6a4[_0x3765be(0x445)],_0x22aacc=(_0x2ad581[_0x3765be(0x2e1)]??_0x27e6a4[_0x3765be(0x2e1)])-_0x27e6a4[_0x3765be(0x2e1)];return Math[_0x3765be(0x277)](_0x38149b,_0x22aacc)>=0x12;}['_getPointerLiveBounds'](_0x27cf74,_0x4c4656){const _0x5bf3d9=_0x4f3d14;let _0x317b5a=this[_0x5bf3d9(0x1e1)](_0x27cf74),_0x31fb9d=this[_0x5bf3d9(0x2e7)]();return{'left':_0x4c4656[_0x5bf3d9(0x445)]+(_0x317b5a['x']-_0x4c4656[_0x5bf3d9(0x1ad)])/_0x31fb9d,'top':_0x4c4656['top']+(_0x317b5a['y']-_0x4c4656[_0x5bf3d9(0x1b2)])/_0x31fb9d,'width':_0x4c4656['width'],'height':_0x4c4656[_0x5bf3d9(0x36d)]};}[_0x4f3d14(0x446)](_0x2ff7ab){const _0x1d9812=_0x4f3d14;let _0x46a962=this[_0x1d9812(0x322)][_0x1d9812(0x25b)](),_0x2c2bc4=(_0x46a962==null?void 0x0:_0x46a962[_0x1d9812(0x36e)])??{'x':0x0,'y':0x0},_0x4ba453=this[_0x1d9812(0x2e7)]();return{'x':Math[_0x1d9812(0x28e)](((_0x2ff7ab[_0x1d9812(0x385)]??0x0)-_0x2c2bc4['x'])/_0x4ba453),'y':Math[_0x1d9812(0x28e)](((_0x2ff7ab[_0x1d9812(0x2a5)]??0x0)-_0x2c2bc4['y'])/_0x4ba453)};}[_0x4f3d14(0x1e1)](_0x46b0d1){const _0x4d2f12=_0x4f3d14;return{'x':Number['isFinite'](_0x46b0d1[_0x4d2f12(0x327)])?_0x46b0d1[_0x4d2f12(0x327)]:_0x46b0d1[_0x4d2f12(0x385)]??0x0,'y':Number[_0x4d2f12(0x490)](_0x46b0d1[_0x4d2f12(0x38f)])?_0x46b0d1['clientY']:_0x46b0d1[_0x4d2f12(0x2a5)]??0x0};}[_0x4f3d14(0x2e7)](){const _0x7a8d7c=_0x4f3d14;let _0x5c0a45=this['_uiStateService'][_0x7a8d7c(0x25b)]()[_0x7a8d7c(0x1e9)];return Number[_0x7a8d7c(0x490)](_0x5c0a45)&&(_0x5c0a45??0x0)>0x0?_0x5c0a45:0x1;}[_0x4f3d14(0x33e)](_0x1b8a7e,_0x369234){const _0x32b6d5=_0x4f3d14;return _0x1b8a7e['x']>=_0x369234['left']&&_0x1b8a7e['x']<=_0x369234['left']+_0x369234[_0x32b6d5(0x48c)]&&_0x1b8a7e['y']>=_0x369234['top']&&_0x1b8a7e['y']<=_0x369234[_0x32b6d5(0x2e1)]+_0x369234['height'];}[_0x4f3d14(0x38e)](_0x4bc337,_0x455f6d){const _0x3c3bbd=_0x4f3d14;var _0xb5d5ec,_0x166f2f;_0x455f6d==null||_0x455f6d[_0x3c3bbd(0x1de)](),_0x455f6d&&(_0x455f6d[_0x3c3bbd(0x336)]=!0x0),(_0xb5d5ec=_0x4bc337['preventDefault'])==null||_0xb5d5ec[_0x3c3bbd(0x2a4)](_0x4bc337),(_0x166f2f=_0x4bc337[_0x3c3bbd(0x1de)])==null||_0x166f2f['call'](_0x4bc337);}[_0x4f3d14(0x332)](){const _0x60f3c=_0x4f3d14;var _0x3ca72e,_0x281e05;this[_0x60f3c(0x30b)]||=((_0x3ca72e=(_0x281e05=this['_elementStateService'])['clearSelection'])==null||_0x3ca72e[_0x60f3c(0x2a4)](_0x281e05),!0x0);}[_0x4f3d14(0x20b)](_0x3ab321,_0x458a55){const _0x4f2b81=_0x4f3d14;return{'left':Number[_0x4f2b81(0x490)](_0x3ab321['left'])?_0x3ab321[_0x4f2b81(0x445)]:_0x458a55[_0x4f2b81(0x445)],'top':Number[_0x4f2b81(0x490)](_0x3ab321[_0x4f2b81(0x2e1)])?_0x3ab321[_0x4f2b81(0x2e1)]:_0x458a55[_0x4f2b81(0x2e1)],'width':Number[_0x4f2b81(0x490)](_0x3ab321['width'])?_0x3ab321[_0x4f2b81(0x48c)]:_0x458a55[_0x4f2b81(0x48c)],'height':Number[_0x4f2b81(0x490)](_0x3ab321[_0x4f2b81(0x36d)])?_0x3ab321[_0x4f2b81(0x36d)]:_0x458a55[_0x4f2b81(0x36d)]};}[_0x4f3d14(0x384)](_0x2d4379,_0x4989e6){const _0x32ea7c=_0x4f3d14;typeof _0x2d4379['transformByState']=='function'&&_0x2d4379[_0x32ea7c(0x3be)]({'left':_0x4989e6['left'],'top':_0x4989e6['top'],'width':_0x4989e6[_0x32ea7c(0x48c)],'height':_0x4989e6[_0x32ea7c(0x36d)]}),typeof _0x2d4379[_0x32ea7c(0x2c8)]==_0x32ea7c(0x2b8)?_0x2d4379[_0x32ea7c(0x2c8)](!0x0):typeof _0x2d4379[_0x32ea7c(0x32c)]==_0x32ea7c(0x2b8)&&_0x2d4379[_0x32ea7c(0x32c)](!0x0);}[_0x4f3d14(0x460)](_0x38de29,_0x3a3b9a,_0x1ddd16){const _0x372a3a=_0x4f3d14;return Object[_0x372a3a(0x1c3)](Object[_0x372a3a(0x362)](_0x38de29)['map'](_0x3fe0c4=>_0x3fe0c4===_0x3a3b9a?[_0x3fe0c4,_0x1ddd16]:[_0x3fe0c4,_0x25dbfe(_0x38de29,_0x3fe0c4)??_0x38de29[_0x3fe0c4][_0x372a3a(0x1ca)]['transform']]));}[_0x4f3d14(0x3e5)](){const _0x51121c=_0x4f3d14;if(this[_0x51121c(0x34b)])return this[_0x51121c(0x34b)];let _0x33ad47=this[_0x51121c(0x414)][_0x51121c(0x48b)];return typeof _0x33ad47[_0x51121c(0x2c3)]==_0x51121c(0x2b8)?(this['_dragPreviewObject']=new mn(cn),_0x33ad47[_0x51121c(0x2c3)](this[_0x51121c(0x34b)],ln),this[_0x51121c(0x34b)]):null;}['_syncChildDragPreviewObject'](_0x45d8ea,_0x5342ca,_0x19c51c){const _0x3e52ff=_0x4f3d14;let _0x1ff8ff=this[_0x3e52ff(0x3e5)]();_0x1ff8ff&&_0x1ff8ff[_0x3e52ff(0x2e5)]({'ghostBounds':_0x45d8ea,'sourceBounds':this[_0x3e52ff(0x3b9)](),'parentBounds':_0x5342ca[_0x3e52ff(0x315)]===_0x3e52ff(0x3b0)?_0x19c51c[_0x5342ca['newParentNodeId']]:null,'side':_0x5342ca[_0x3e52ff(0x315)]===_0x3e52ff(0x3b0)?_0x5342ca[_0x3e52ff(0x350)]:_0x3e52ff(0x289),'textStyle':this[_0x3e52ff(0x3c1)](),'renderGhostNode':!0x0});}[_0x4f3d14(0x3b9)](){const _0x3ec097=_0x4f3d14;let _0x5f47ce=this[_0x3ec097(0x40a)]??this['_dragStart'];return _0x5f47ce?{'left':_0x5f47ce['left'],'top':_0x5f47ce[_0x3ec097(0x2e1)],'width':_0x5f47ce['width'],'height':_0x5f47ce[_0x3ec097(0x36d)]}:null;}[_0x4f3d14(0x3c1)](){const _0x13ec0d=_0x4f3d14;var _0x3235b7,_0x5a657f;let _0x30cf43=this['_pointerDragStart']??this[_0x13ec0d(0x469)],_0x23f2cf=_0x30cf43==null||(_0x3235b7=_0x30cf43[_0x13ec0d(0x241)][_0x30cf43[_0x13ec0d(0x3f9)]])==null?void 0x0:_0x3235b7[_0x13ec0d(0x1ca)],_0x2287d5=_0x23f2cf==null||(_0x5a657f=_0x23f2cf['shapeData'])==null?void 0x0:_0x5a657f[_0x13ec0d(0x1eb)];if(_0x2287d5)return{'text':typeof _0x2287d5[_0x13ec0d(0x488)]=='string'?_0x2287d5['text']:void 0x0,'fontSize':Number[_0x13ec0d(0x490)](_0x2287d5[_0x13ec0d(0x434)])?_0x2287d5['fontSize']:void 0x0,'color':typeof _0x2287d5[_0x13ec0d(0x25e)]==_0x13ec0d(0x351)?_0x2287d5[_0x13ec0d(0x25e)]:void 0x0,'horizontalAlign':Number['isFinite'](_0x2287d5[_0x13ec0d(0x3d3)])?_0x2287d5['horizontalAlign']:void 0x0};}[_0x4f3d14(0x2f1)](){const _0x298275=_0x4f3d14;var _0x875de6,_0x3a8f12,_0x5892ce;if(!this[_0x298275(0x34b)])return;let _0x4576de=this['_renderContext'][_0x298275(0x48b)];(_0x875de6=_0x4576de[_0x298275(0x341)])==null||_0x875de6[_0x298275(0x2a4)](_0x4576de,[this[_0x298275(0x34b)]]),this[_0x298275(0x34b)]=null,(_0x3a8f12=(_0x5892ce=this['_renderContext'][_0x298275(0x48b)])[_0x298275(0x32c)])==null||_0x3a8f12['call'](_0x5892ce,!0x0);}[_0x4f3d14(0x479)](_0x4b6e6e,_0xd2bca4,_0x2f659c,_0x5b0cc5){const _0x47c905=_0x4f3d14;let _0x2e04c4=[...new Set(_0x2f659c[_0x47c905(0x43b)](_0x369581=>!!_0x369581))],_0x403015=typeof _0xd2bca4['unitId']=='string'?_0xd2bca4[_0x47c905(0x291)]:this['_renderContext'][_0x47c905(0x291)],_0x162a3d=this['_undoRedoGroupService']['createRunner'](_0x403015),_0x42a95b=_0x162a3d(()=>this[_0x47c905(0x32f)][_0x47c905(0x32d)](_0x4b6e6e,_0xd2bca4));Promise[_0x47c905(0x1ec)](_0x42a95b)[_0x47c905(0x193)](_0x5e9263=>{const _0x6cec60=_0x47c905;var _0xf28c41,_0x3d2ed6,_0x4f3949,_0x49b7cc;if(_0x5e9263){if(_0x2e04c4[_0x6cec60(0x2d1)](_0x1fc68c=>{const _0x4e58ca=_0x6cec60;_0x162a3d(()=>this[_0x4e58ca(0x32f)][_0x4e58ca(0x32d)](_0x4b5dc4['id'],{'unitId':_0xd2bca4[_0x4e58ca(0x291)],'subUnitId':_0xd2bca4['subUnitId'],'scopeId':_0x1fc68c}));}),_0x5b0cc5&&typeof _0xd2bca4[_0x6cec60(0x291)]==_0x6cec60(0x351)&&typeof _0xd2bca4[_0x6cec60(0x20a)]=='string'){var _0x3c975d,_0xe868d7;(_0x3c975d=(_0xe868d7=this['_elementStateService'])[_0x6cec60(0x42b)])==null||_0x3c975d[_0x6cec60(0x2a4)](_0xe868d7,{'unitId':_0xd2bca4['unitId'],'subUnitId':_0xd2bca4[_0x6cec60(0x20a)]},[_0x5b0cc5],_0x5b0cc5);}(_0xf28c41=(_0x3d2ed6=this[_0x6cec60(0x414)][_0x6cec60(0x48b)])['makeDirty'])==null||_0xf28c41[_0x6cec60(0x2a4)](_0x3d2ed6,!0x0),(_0x4f3949=(_0x49b7cc=this[_0x6cec60(0x414)][_0x6cec60(0x48b)])[_0x6cec60(0x1cf)])==null||_0x4f3949[_0x6cec60(0x2a4)](_0x49b7cc);}});}};En=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x27d0fe),q(0x4,_0x31b38d),q(0x5,_0x253a65),q(0x6,_0x132a38(_0x57f4a7))],En);let Dn=class extends _0x4c4d8b{constructor(_0x14d691,_0x24eb4d,_0x51bb97,_0x1965e2,_0x14b885,_0x3a1dc1,_0x4bff35,_0x53a278,_0x539a06){const _0x45e94c=_0x4f3d14;super(),this[_0x45e94c(0x313)]=_0x14d691,this['commandService']=_0x24eb4d,this[_0x45e94c(0x3d2)]=_0x51bb97,this[_0x45e94c(0x3df)]=_0x1965e2,this[_0x45e94c(0x190)]=_0x14b885,this[_0x45e94c(0x439)]=_0x3a1dc1,this[_0x45e94c(0x326)]=_0x4bff35,this[_0x45e94c(0x4a7)]=_0x53a278,this[_0x45e94c(0x218)]=_0x539a06;}};Dn=J([q(0x1,_0x27d0fe),q(0x2,_0x5c495f),q(0x3,_0x16fdab),q(0x4,_0x31b38d),q(0x5,_0x2d52c2),q(0x6,_0x23671a),q(0x7,_0x132a38(_0x4eab55)),q(0x8,_0x132a38(_0x2d7b12))],Dn);const On='board.mind-map.description-dialog',kn='board-mind-map-description-dialog';function An(_0x423077){const _0x285526=_0x4f3d14;let {unitId:_0x1a63da,subUnitId:_0x3f51b3,nodeId:_0x4773d0,initialDescription:_0x5e14e1=''}=_0x423077,_0x3ad547=_0x1bf837(_0x27d0fe),_0x38b6dd=_0x1bf837(_0x23671a),_0x26ea7f=_0x1bf837(_0x4eab55),[_0x3e01be,_0x4eb560]=_0x34d7b2(_0x5e14e1),_0x2a76fc=()=>_0x38b6dd[_0x285526(0x1bc)](kn);return _0x27b706('div',{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','data-board-mind-map-description-dialog':_0x285526(0x480),'children':[_0x27b706('label',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x9b9447(_0x285526(0x255),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x26ea7f['t']('boards-mind-ui.description')}),_0x9b9447(_0x14dc82,{'autoFocus':!0x0,'className':_0x285526(0x2ac),'placeholder':_0x26ea7f['t'](_0x285526(0x487)),'value':_0x3e01be,'onValueChange':_0x4eb560})]}),_0x27b706(_0x285526(0x417),{'className':_0x285526(0x262),'children':[_0x9b9447(_0x8c8b61,{'size':_0x285526(0x358),'variant':_0x285526(0x3f6),'onClick':_0x2a76fc,'children':_0x26ea7f['t'](_0x285526(0x29b))}),_0x9b9447(_0x8c8b61,{'size':_0x285526(0x358),'variant':_0x285526(0x1b5),'onClick':()=>{const _0x23d5d5=_0x285526;_0x3ad547[_0x23d5d5(0x32d)](_0x3d67d8['id'],{'unitId':_0x1a63da,'subUnitId':_0x3f51b3,'nodeId':_0x4773d0,'foreignAttributes':{'_note':_0x3e01be[_0x23d5d5(0x387)]()?_0x3e01be:null}}),_0x2a76fc();},'children':_0x26ea7f['t'](_0x285526(0x3ff))})]})]});}const jn='board.operation.mind-map.keyboard-shortcut',Mn=_0x4f3d14(0x205),Nn=_0x4f3d14(0x3c6),Pn={'copy':_0x416fa4['copy'],'paste':_0x416fa4[_0x4f3d14(0x381)],'paste-as-new':_0x416fa4[_0x4f3d14(0x381)],'add-child':_0x416fa4[_0x4f3d14(0x435)],'add-sibling-or-child':_0x416fa4[_0x4f3d14(0x3c7)],'promote':_0x416fa4['addParentNode'],'toggle-collapse':_0x416fa4[_0x4f3d14(0x35d)],'collapse-all':_0x416fa4[_0x4f3d14(0x2a6)],'edit-text':_0x416fa4[_0x4f3d14(0x4b0)],'open-description':_0x416fa4[_0x4f3d14(0x47c)],'delete':_0x80c18b['DELETE'],'arrow-left':_0x80c18b[_0x4f3d14(0x1d1)],'arrow-right':_0x80c18b[_0x4f3d14(0x1a7)],'arrow-up':_0x80c18b[_0x4f3d14(0x44c)],'arrow-down':_0x80c18b['ARROW_DOWN']},Fn={'delete':[_0x80c18b[_0x4f3d14(0x3ea)]]};function In(_0x232bf7){return[Pn[_0x232bf7],...Fn[_0x232bf7]??[]];}let Ln=class extends _0x41f8e5{constructor(_0x395a4b,_0x5d2984,_0x3022d3,_0x502085){const _0x3c03e3=_0x4f3d14;super(),this[_0x3c03e3(0x1bd)]=_0x395a4b,this[_0x3c03e3(0x32f)]=_0x5d2984,this[_0x3c03e3(0x49a)]=_0x3022d3,this['_undoRedoGroupService']=_0x502085,this[_0x3c03e3(0x45b)]();}[_0x4f3d14(0x45b)](){const _0x5947d7=_0x4f3d14;this[_0x5947d7(0x44d)](this[_0x5947d7(0x32f)][_0x5947d7(0x191)](this['_createKeyboardShortcutOperation']())),this[_0x5947d7(0x46a)]()['forEach'](_0x3d213c=>{const _0x2110ba=_0x5947d7;this[_0x2110ba(0x44d)](this['_shortcutService'][_0x2110ba(0x457)](_0x3d213c));});}[_0x4f3d14(0x22b)](){const _0x17150b=_0x4f3d14;return{'id':jn,'type':_0x470c85[_0x17150b(0x1ed)],'handler':(_0x181a1f,_0x248dde,_0x5ef875)=>{const _0x45417f=_0x17150b;let _0x2deb80=Rn(_0x181a1f,_0x5ef875);return _0x2deb80?this[_0x45417f(0x405)](_0x2deb80,_0x248dde==null?void 0x0:_0x248dde[_0x45417f(0x2d7)]):!0x1;}};}[_0x4f3d14(0x46a)](){const _0x7a4bf3=_0x4f3d14;let _0x302456=(_0x1148b1,_0x5b3ee1)=>({'id':jn,'binding':_0x1148b1,'priority':0xa0,'preconditions':_0x4ad6a8=>_0xa918fb(_0x4ad6a8)&&!!_0x4ad6a8[_0x7a4bf3(0x1b3)](_0x7a4bf3(0x205)),'staticParameters':{'action':_0x5b3ee1}}),_0x243643=_0x2d1228=>In(_0x2d1228)[_0x7a4bf3(0x2c1)](_0x38d2e9=>_0x302456(_0x38d2e9,_0x2d1228));return[..._0x243643(_0x7a4bf3(0x1a5)),{'id':jn,'binding':Pn['paste'],'priority':0xa0,'preconditions':_0x5116cd=>_0xa918fb(_0x5116cd)&&!!this[_0x7a4bf3(0x1bd)]['getPayload']()&&!!_0x5116cd['getContextValue'](_0x7a4bf3(0x205)),'staticParameters':{'action':'paste'}},{'id':jn,'binding':Pn[_0x7a4bf3(0x1f0)],'priority':0x96,'preconditions':_0x12fec4=>_0xa918fb(_0x12fec4)&&!!this[_0x7a4bf3(0x1bd)][_0x7a4bf3(0x370)]()&&!!_0x12fec4[_0x7a4bf3(0x1b3)](_0x7a4bf3(0x3c6)),'staticParameters':{'action':_0x7a4bf3(0x1f0)}},..._0x243643(_0x7a4bf3(0x2a9)),..._0x243643('add-sibling-or-child'),..._0x243643(_0x7a4bf3(0x433)),..._0x243643(_0x7a4bf3(0x408)),..._0x243643(_0x7a4bf3(0x451)),..._0x243643(_0x7a4bf3(0x1f2)),..._0x243643(_0x7a4bf3(0x2cf)),..._0x243643(_0x7a4bf3(0x333)),..._0x243643('arrow-left'),..._0x243643(_0x7a4bf3(0x2f4)),..._0x243643(_0x7a4bf3(0x419)),..._0x243643(_0x7a4bf3(0x4b1))];}['handleShortcut'](_0x3b5460,_0x13b130){const _0x3c70e6=_0x4f3d14;return _0x3b5460[_0x3c70e6(0x190)][_0x3c70e6(0x25b)]()[_0x3c70e6(0x447)]==='viewing'&&_0x13b130!==_0x3c70e6(0x1a5)?!0x1:_0x13b130===_0x3c70e6(0x1a5)?this['_copySelectedNode'](_0x3b5460):_0x13b130===_0x3c70e6(0x381)?this['_pasteUnderSelectedNode'](_0x3b5460):_0x13b130===_0x3c70e6(0x1f0)?this[_0x3c70e6(0x1d3)](_0x3b5460):_0x13b130===_0x3c70e6(0x2a9)?this[_0x3c70e6(0x2f3)](_0x3b5460):_0x13b130==='add-sibling-or-child'?this['_addSiblingOrChild'](_0x3b5460):_0x13b130===_0x3c70e6(0x433)?this[_0x3c70e6(0x49f)](_0x3b5460,_0x245415['id']):_0x13b130===_0x3c70e6(0x408)?this[_0x3c70e6(0x49f)](_0x3b5460,_0xdc3604['id']):_0x13b130===_0x3c70e6(0x451)?this[_0x3c70e6(0x347)](_0x3b5460):_0x13b130===_0x3c70e6(0x1f2)?this[_0x3c70e6(0x311)](_0x3b5460):_0x13b130==='open-description'?this[_0x3c70e6(0x2b4)](_0x3b5460):_0x13b130===_0x3c70e6(0x333)?this[_0x3c70e6(0x233)](_0x3b5460):_0x13b130&&zn(_0x13b130)?this['_navigateByTopology'](_0x3b5460,_0x13b130):!0x1;}[_0x4f3d14(0x496)](_0x48a55b){const _0x584e54=_0x4f3d14;let _0x54b72d=this[_0x584e54(0x317)](_0x48a55b);return _0x54b72d?(_0x48a55b[_0x584e54(0x497)]['executeCommand'](_0x47452c['id'],{'unitId':_0x54b72d[_0x584e54(0x291)],'subUnitId':_0x54b72d[_0x584e54(0x20a)],'nodeId':_0x54b72d['nodeId']}),!0x0):!0x1;}[_0x4f3d14(0x386)](_0x2bda25){const _0x4e1375=_0x4f3d14;let _0x550a1b=this[_0x4e1375(0x317)](_0x2bda25);return!_0x550a1b||!_0x2bda25[_0x4e1375(0x439)]['getPayload']()?!0x1:(this[_0x4e1375(0x479)](_0x2bda25,_0x5acb7b['id'],{'unitId':_0x550a1b[_0x4e1375(0x291)],'subUnitId':_0x550a1b[_0x4e1375(0x20a)],'targetNodeId':_0x550a1b[_0x4e1375(0x3f9)]},_0x550a1b[_0x4e1375(0x3a9)]),!0x0);}[_0x4f3d14(0x1d3)](_0x2cda03){const _0x244673=_0x4f3d14;let _0x2ea484=this[_0x244673(0x2c2)](_0x2cda03);if(!_0x2ea484||!_0x2cda03[_0x244673(0x439)]['getPayload']())return!0x1;let _0x77db20=_0x2cda03[_0x244673(0x190)][_0x244673(0x25b)](),_0x5b76e5=Number[_0x244673(0x490)](_0x77db20[_0x244673(0x1e9)])&&_0x77db20[_0x244673(0x1e9)]>0x0?_0x77db20[_0x244673(0x1e9)]:0x1,_0x369aed=Math[_0x244673(0x28e)]((0x40-_0x77db20['viewportPanOffset']['x'])/_0x5b76e5),_0x46dbd3=Math[_0x244673(0x28e)]((0x40-_0x77db20['viewportPanOffset']['y'])/_0x5b76e5);return _0x2cda03['commandService'][_0x244673(0x32d)](_0x568b7['id'],{'unitId':_0x2ea484[_0x244673(0x291)],'subUnitId':_0x2ea484['subUnitId'],'left':_0x369aed,'top':_0x46dbd3}),!0x0;}['_addChild'](_0x388efc){const _0x281a98=_0x4f3d14;let _0x555d34=this['_getSelectedMindMapContext'](_0x388efc);if(!_0x555d34)return!0x1;let _0x4b0b3e=_0x21938d(0x6);return this[_0x281a98(0x423)](_0x388efc,_0x21cdef['id'],{'unitId':_0x555d34[_0x281a98(0x291)],'subUnitId':_0x555d34[_0x281a98(0x20a)],'parentNodeId':_0x555d34['nodeId'],'nodeId':_0x4b0b3e,'connectorId':_0x21938d(0x6),'text':_0x388efc[_0x281a98(0x4a7)]['t'](_0x281a98(0x391))},_0x555d34[_0x281a98(0x3a9)],_0x4b0b3e),!0x0;}['_addSiblingOrChild'](_0x18e5dc){const _0x31ab55=_0x4f3d14;let _0x372300=this[_0x31ab55(0x317)](_0x18e5dc);if(!_0x372300)return!0x1;let _0x62161e=_0x21938d(0x6);return this[_0x31ab55(0x423)](_0x18e5dc,_0x372300[_0x31ab55(0x34c)]?_0x21cdef['id']:_0x20f384['id'],{'unitId':_0x372300['unitId'],'subUnitId':_0x372300[_0x31ab55(0x20a)],..._0x372300['isRoot']?{'parentNodeId':_0x372300[_0x31ab55(0x3f9)],'nodeId':_0x62161e}:{'nodeId':_0x372300['nodeId'],'siblingNodeId':_0x62161e},'connectorId':_0x21938d(0x6),'text':_0x18e5dc[_0x31ab55(0x4a7)]['t'](_0x31ab55(0x391))},_0x372300[_0x31ab55(0x3a9)],_0x62161e),!0x0;}['_executeNodeOperation'](_0x5db8b9,_0x500eeb){const _0x301f1c=_0x4f3d14;let _0x433df4=this[_0x301f1c(0x317)](_0x5db8b9);return _0x433df4?(this[_0x301f1c(0x479)](_0x5db8b9,_0x500eeb,{'unitId':_0x433df4[_0x301f1c(0x291)],'subUnitId':_0x433df4[_0x301f1c(0x20a)],'nodeId':_0x433df4[_0x301f1c(0x3f9)]},_0x433df4[_0x301f1c(0x3a9)]),!0x0):!0x1;}[_0x4f3d14(0x233)](_0x560c81){const _0x860e28=_0x4f3d14;let _0x5fa888=this[_0x860e28(0x317)](_0x560c81);if(!_0x5fa888)return!0x1;let _0x102a6c=_0x560c81['commandService'][_0x860e28(0x4a8)](_0x20689a['id'],{'unitId':_0x5fa888['unitId'],'subUnitId':_0x5fa888[_0x860e28(0x20a)],'nodeId':_0x5fa888[_0x860e28(0x3f9)]});return _0x102a6c&&_0x560c81['elementStateService'][_0x860e28(0x4ac)](),_0x102a6c;}[_0x4f3d14(0x347)](_0x176e01){const _0x8bca79=_0x4f3d14;let _0x2a52bb=this['_getSelectedMindMapContext'](_0x176e01);if(!_0x2a52bb)return!0x1;let _0xe3959=_0x176e01[_0x8bca79(0x3d2)][_0x8bca79(0x198)](_0x2a52bb['unitId'],_0x2a52bb[_0x8bca79(0x20a)]),_0x29bfdc=Object['values'](_0xe3959)[_0x8bca79(0x2c1)](_0x418ee1=>{const _0x42820b=_0x8bca79;let _0x3198db=_0x5585ba(_0x418ee1['element']);return(_0x3198db==null?void 0x0:_0x3198db['structureScopeId'])===_0x2a52bb['scopeId']&&this['_getMindMapChildren'](_0xe3959,_0x2a52bb[_0x42820b(0x3a9)],_0x418ee1['elementId'])[_0x42820b(0x452)]>0x0?{'nodeId':_0x418ee1[_0x42820b(0x3e9)],'collapsed':_0x3198db[_0x42820b(0x4a9)]}:null;})[_0x8bca79(0x43b)](_0x3cd5e9=>!!_0x3cd5e9);if(_0x29bfdc[_0x8bca79(0x452)]===0x0)return!0x1;let _0x403349=_0x29bfdc['some'](_0x5e835e=>!_0x5e835e[_0x8bca79(0x4a9)]),_0x1a489b=_0x176e01['commandService'],_0x39fbe6=this[_0x8bca79(0x30c)][_0x8bca79(0x2ae)](_0x2a52bb[_0x8bca79(0x291)]),_0x561af0=_0x29bfdc[_0x8bca79(0x2c1)](_0x2a2234=>_0x39fbe6(()=>_0x1a489b[_0x8bca79(0x32d)](_0xdc3604['id'],{'unitId':_0x2a52bb[_0x8bca79(0x291)],'subUnitId':_0x2a52bb[_0x8bca79(0x20a)],'nodeId':_0x2a2234['nodeId'],'collapsed':_0x403349})));return Promise[_0x8bca79(0x43a)](_0x561af0['map'](_0x240baf=>Promise[_0x8bca79(0x1ec)](_0x240baf)))[_0x8bca79(0x193)](_0x547cbf=>{const _0x4ff97e=_0x8bca79;_0x547cbf[_0x4ff97e(0x4a2)](Boolean)&&_0x39fbe6(()=>_0x1a489b[_0x4ff97e(0x32d)](_0x4b5dc4['id'],{'unitId':_0x2a52bb[_0x4ff97e(0x291)],'subUnitId':_0x2a52bb[_0x4ff97e(0x20a)],'scopeId':_0x2a52bb[_0x4ff97e(0x3a9)]}));}),!0x0;}[_0x4f3d14(0x311)](_0x324ee1){const _0x9ad23a=_0x4f3d14;let _0xc6616f=this['_getSelectedMindMapContext'](_0x324ee1);if(!_0xc6616f)return!0x1;_0x324ee1[_0x9ad23a(0x3df)][_0x9ad23a(0x42b)]({'unitId':_0xc6616f[_0x9ad23a(0x291)],'subUnitId':_0xc6616f[_0x9ad23a(0x20a)]},[_0xc6616f[_0x9ad23a(0x3f9)]],_0xc6616f[_0x9ad23a(0x3f9)]);let _0x2f1b3a=_0x324ee1[_0x9ad23a(0x218)];return _0x2f1b3a[_0x9ad23a(0x26a)](),_0x2f1b3a[_0x9ad23a(0x24b)]({'unitId':_0xc6616f[_0x9ad23a(0x291)],'subUnitId':_0xc6616f[_0x9ad23a(0x20a)],'shapeId':_0xc6616f[_0x9ad23a(0x3f9)],'shapeKey':_0x55b3e2(_0xc6616f['unitId'],_0xc6616f['nodeId']),'visible':!0x0}),!0x0;}[_0x4f3d14(0x2b4)](_0x7861b6){const _0x23ebc1=_0x4f3d14;let _0x3ff166=this[_0x23ebc1(0x317)](_0x7861b6);return _0x3ff166?(_0x7861b6[_0x23ebc1(0x326)][_0x23ebc1(0x485)]({'id':kn,'title':{'title':_0x23ebc1(0x318)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x3ff166[_0x23ebc1(0x291)],'subUnitId':_0x3ff166[_0x23ebc1(0x20a)],'nodeId':_0x3ff166['nodeId'],'initialDescription':_0x3ff166['description']}}),!0x0):!0x1;}[_0x4f3d14(0x37a)](_0x4eea44,_0x5533fd){const _0x11ec9a=_0x4f3d14;let _0x3c02e2=this[_0x11ec9a(0x317)](_0x4eea44);if(!_0x3c02e2)return!0x1;let _0x2829d1=_0x4eea44[_0x11ec9a(0x3d2)]['getElementData'](_0x3c02e2[_0x11ec9a(0x291)],_0x3c02e2[_0x11ec9a(0x20a)]),_0x5be5e6=_0x2829d1[_0x3c02e2[_0x11ec9a(0x3f9)]],_0x2903ca=_0x5585ba(_0x5be5e6==null?void 0x0:_0x5be5e6[_0x11ec9a(0x1ca)]);if(!_0x5be5e6||!_0x2903ca)return!0x1;let _0xf337f0={'arrow-left':'ArrowLeft','arrow-right':'ArrowRight','arrow-up':'ArrowUp','arrow-down':'ArrowDown'}[_0x5533fd];if(!_0xf337f0)return!0x1;let _0x2093c0=this[_0x11ec9a(0x1cb)](_0x2829d1,_0x3c02e2[_0x11ec9a(0x3f9)],_0x2903ca,_0xf337f0);return _0x2093c0?(_0x4eea44[_0x11ec9a(0x3df)]['selectElements']({'unitId':_0x3c02e2[_0x11ec9a(0x291)],'subUnitId':_0x3c02e2[_0x11ec9a(0x20a)]},[_0x2093c0],_0x2093c0),!0x0):!0x1;}[_0x4f3d14(0x1cb)](_0x15d523,_0x145c56,_0x409ba2,_0x41b2f7){const _0x6a198f=_0x4f3d14;let _0x11e31f=this[_0x6a198f(0x2e2)](_0x15d523,_0x409ba2[_0x6a198f(0x2ea)],_0x145c56);if(_0x409ba2[_0x6a198f(0x29f)]===null){if(_0x41b2f7===_0x6a198f(0x20d)){var _0x44ce8d;return((_0x44ce8d=_0x11e31f[_0x6a198f(0x431)](_0x25674e=>{const _0x38c20b=_0x6a198f;var _0x4877fd;return((_0x4877fd=_0x5585ba(_0x25674e[_0x38c20b(0x1ca)]))==null?void 0x0:_0x4877fd[_0x38c20b(0x350)])===_0x38c20b(0x445);}))==null?void 0x0:_0x44ce8d[_0x6a198f(0x3e9)])??null;}if(_0x41b2f7==='ArrowRight'){var _0x171db5;return((_0x171db5=_0x11e31f[_0x6a198f(0x431)](_0x490710=>{const _0x56dadc=_0x6a198f;var _0x3f2def;return(((_0x3f2def=_0x5585ba(_0x490710[_0x56dadc(0x1ca)]))==null?void 0x0:_0x3f2def[_0x56dadc(0x350)])??_0x56dadc(0x289))===_0x56dadc(0x289);}))==null?void 0x0:_0x171db5[_0x6a198f(0x3e9)])??null;}return null;}let _0x4d7616=_0x409ba2[_0x6a198f(0x350)]??_0x6a198f(0x289),_0x303eea=_0x4d7616===_0x6a198f(0x289)?_0x6a198f(0x20d):_0x6a198f(0x393),_0x2e405d=_0x4d7616===_0x6a198f(0x289)?_0x6a198f(0x393):'ArrowLeft';if(_0x41b2f7===_0x303eea)return _0x409ba2['parentNodeId'];if(_0x41b2f7===_0x2e405d){var _0x4611cb;return((_0x4611cb=_0x11e31f[0x0])==null?void 0x0:_0x4611cb[_0x6a198f(0x3e9)])??null;}if(_0x41b2f7===_0x6a198f(0x25c)||_0x41b2f7===_0x6a198f(0x320)){let _0x4e0acd=this[_0x6a198f(0x2e2)](_0x15d523,_0x409ba2[_0x6a198f(0x2ea)],_0x409ba2[_0x6a198f(0x29f)]),_0x490d2d=_0x4e0acd[_0x6a198f(0x383)](_0x41fa30=>_0x41fa30['elementId']===_0x145c56),_0x1710b7=_0x41b2f7===_0x6a198f(0x25c)?_0x4e0acd[_0x490d2d-0x1]:_0x4e0acd[_0x490d2d+0x1];return(_0x1710b7==null?void 0x0:_0x1710b7[_0x6a198f(0x3e9)])??null;}return null;}[_0x4f3d14(0x2e2)](_0x53ae3b,_0x4ceea5,_0x2f7267){const _0x42288e=_0x4f3d14;return Object[_0x42288e(0x2df)](_0x53ae3b)['filter'](_0x4d1c73=>{const _0x3e2a1d=_0x42288e;let _0x9cc942=_0x5585ba(_0x4d1c73[_0x3e2a1d(0x1ca)]);return(_0x9cc942==null?void 0x0:_0x9cc942['structureScopeId'])===_0x4ceea5&&_0x9cc942[_0x3e2a1d(0x29f)]===_0x2f7267&&_0x4d1c73[_0x3e2a1d(0x1ca)][_0x3e2a1d(0x418)]!==!0x1;})[_0x42288e(0x1aa)]((_0x284897,_0x1a6377)=>{const _0x363761=_0x42288e;let _0x339080=_0x5585ba(_0x284897[_0x363761(0x1ca)]),_0x21173f=_0x5585ba(_0x1a6377[_0x363761(0x1ca)]);return _0x401170(_0x339080==null?void 0x0:_0x339080['orderKey'],_0x21173f==null?void 0x0:_0x21173f[_0x363761(0x2c9)])||_0x284897['elementId']['localeCompare'](_0x1a6377[_0x363761(0x3e9)]);});}[_0x4f3d14(0x317)](_0x10e046){const _0x3fe93c=_0x4f3d14;var _0x521f1e;let _0x586b61=_0x10e046['elementStateService'][_0x3fe93c(0x310)](),_0x5a2003=_0x586b61[_0x3fe93c(0x206)]??_0x586b61[_0x3fe93c(0x375)][0x0];if(!_0x5a2003||_0x586b61[_0x3fe93c(0x375)][_0x3fe93c(0x452)]!==0x1||_0x586b61[_0x3fe93c(0x483)]||_0x586b61[_0x3fe93c(0x395)])return null;let _0x15415d=_0x586b61[_0x3fe93c(0x3ac)]??{'unitId':_0x10e046[_0x3fe93c(0x313)][_0x3fe93c(0x291)],'subUnitId':_0x10e046[_0x3fe93c(0x313)][_0x3fe93c(0x2e4)][_0x3fe93c(0x2c7)]()},_0x1e3c89=_0x10e046[_0x3fe93c(0x3d2)]['getElementData'](_0x15415d[_0x3fe93c(0x291)],_0x15415d[_0x3fe93c(0x20a)])[_0x5a2003],_0x5f268e=_0x5585ba(_0x1e3c89==null?void 0x0:_0x1e3c89[_0x3fe93c(0x1ca)]);return!_0x1e3c89||!_0x5f268e?null:{'unitId':_0x15415d[_0x3fe93c(0x291)],'subUnitId':_0x15415d['subUnitId'],'nodeId':_0x5a2003,'scopeId':_0x5f268e['structureScopeId'],'isRoot':_0x5f268e[_0x3fe93c(0x29f)]===null,'description':((_0x521f1e=_0x5f268e[_0x3fe93c(0x2e9)])==null?void 0x0:_0x521f1e['_note'])??''};}['_getBlankBoardContext'](_0x27ddd6){const _0x343bf6=_0x4f3d14;var _0xa65dad,_0x276657;let _0x31cef7=_0x27ddd6[_0x343bf6(0x3df)]['getSnapshot']();return _0x31cef7['activeEditingId']||_0x31cef7[_0x343bf6(0x395)]||_0x31cef7[_0x343bf6(0x375)][_0x343bf6(0x452)]>0x0||_0x31cef7[_0x343bf6(0x206)]?null:{'unitId':((_0xa65dad=_0x31cef7[_0x343bf6(0x3ac)])==null?void 0x0:_0xa65dad[_0x343bf6(0x291)])??_0x27ddd6[_0x343bf6(0x313)][_0x343bf6(0x291)],'subUnitId':((_0x276657=_0x31cef7[_0x343bf6(0x3ac)])==null?void 0x0:_0x276657[_0x343bf6(0x20a)])??_0x27ddd6[_0x343bf6(0x313)][_0x343bf6(0x2e4)][_0x343bf6(0x2c7)]()};}[_0x4f3d14(0x479)](_0x533cb0,_0x101871,_0x3dbeb4,_0x3b0b83){const _0x2eed2d=_0x4f3d14;let _0x31c895=_0x533cb0[_0x2eed2d(0x497)],_0x5956da=this[_0x2eed2d(0x30c)][_0x2eed2d(0x2ae)](_0x3dbeb4[_0x2eed2d(0x291)]),_0xb7fe12=_0x5956da(()=>_0x31c895[_0x2eed2d(0x32d)](_0x101871,_0x3dbeb4));Promise[_0x2eed2d(0x1ec)](_0xb7fe12)[_0x2eed2d(0x193)](_0x340daf=>{const _0xa47968=_0x2eed2d;_0x340daf&&_0x5956da(()=>_0x31c895[_0xa47968(0x32d)](_0x4b5dc4['id'],{'unitId':_0x3dbeb4[_0xa47968(0x291)],'subUnitId':_0x3dbeb4[_0xa47968(0x20a)],'scopeId':_0x3b0b83}));});}[_0x4f3d14(0x423)](_0x42f43d,_0x3fea9c,_0x28226e,_0x50a951,_0x4ce99d){const _0x4f9bc3=_0x4f3d14;let _0x3191dc={'unitId':_0x28226e[_0x4f9bc3(0x291)],'subUnitId':_0x28226e['subUnitId']},_0x2c3ca9=_0x42f43d[_0x4f9bc3(0x497)],_0x51685e=this[_0x4f9bc3(0x30c)][_0x4f9bc3(0x2ae)](_0x28226e[_0x4f9bc3(0x291)]),_0x216d88=_0x51685e(()=>_0x2c3ca9['executeCommand'](_0x3fea9c,_0x28226e));Promise['resolve'](_0x216d88)['then'](_0x3a8555=>{const _0x1add65=_0x4f9bc3;if(!_0x3a8555)return;_0x51685e(()=>_0x2c3ca9[_0x1add65(0x32d)](_0x4b5dc4['id'],{..._0x3191dc,'scopeId':_0x50a951})),_0x42f43d[_0x1add65(0x3df)][_0x1add65(0x42b)](_0x3191dc,[_0x4ce99d],_0x4ce99d);let _0x4e19b9=_0x42f43d[_0x1add65(0x218)];_0x4e19b9[_0x1add65(0x26a)](),_0x4e19b9['setEditing']({..._0x3191dc,'shapeId':_0x4ce99d,'shapeKey':_0x55b3e2(_0x3191dc[_0x1add65(0x291)],_0x4ce99d),'visible':!0x0});});}};Ln=J([q(0x0,_0x2d52c2),q(0x1,_0x27d0fe),q(0x2,_0x2c1c63),q(0x3,_0x132a38(_0x57f4a7))],Ln);function Rn(_0x49575e,_0x53b156){const _0x11e36c=_0x4f3d14;var _0x41627e,_0x400bd0;let _0x2c0834=typeof(_0x53b156==null?void 0x0:_0x53b156[_0x11e36c(0x291)])=='string'?_0x53b156[_0x11e36c(0x291)]:(_0x41627e=_0x49575e[_0x11e36c(0x47f)](_0x253a65)[_0x11e36c(0x245)](_0x8b4a1a['UNIVER_BOARD']))==null?void 0x0:_0x41627e[_0x11e36c(0x352)]();return _0x2c0834?((_0x400bd0=_0x49575e[_0x11e36c(0x47f)](_0x19658f)[_0x11e36c(0x21f)](_0x2c0834))==null?void 0x0:_0x400bd0['with'](Dn))??null:null;}function zn(_0x4844c9){const _0x48c704=_0x4f3d14;return _0x4844c9===_0x48c704(0x36f)||_0x4844c9===_0x48c704(0x2f4)||_0x4844c9===_0x48c704(0x419)||_0x4844c9==='arrow-down';}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':_0x4f3d14(0x207),'titleKey':_0x4f3d14(0x247),'panel':'line'},{'kind':'fontColor','titleKey':_0x4f3d14(0x443)},{'kind':_0x4f3d14(0x3ad),'titleKey':_0x4f3d14(0x476)},{'kind':_0x4f3d14(0x207),'titleKey':'boards-mind-ui.toolbar.primary.more','panel':_0x4f3d14(0x3ab),'dividerBefore':!0x0}],Un={'addSibling':'add-sibling-or-child','addChild':'add-child','copy':_0x4f3d14(0x1a5),'paste':_0x4f3d14(0x381),'delete':_0x4f3d14(0x333)},Wn=[{'key':'mind-map','title':'Mind\x20map','items':[{'value':_0x4f3d14(0x334),'icon':'mindmap-horizontal','labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal'},{'value':_0x4f3d14(0x1f9),'icon':_0x4f3d14(0x1f9),'labelKey':_0x4f3d14(0x1c8)}]},{'key':_0x4f3d14(0x2ce),'title':_0x4f3d14(0x1cc),'items':[{'value':_0x4f3d14(0x378),'icon':'tree-right','labelKey':_0x4f3d14(0x415)},{'value':_0x4f3d14(0x195),'icon':_0x4f3d14(0x195),'labelKey':_0x4f3d14(0x388)},{'value':'tree-alternate','icon':_0x4f3d14(0x2f6),'labelKey':_0x4f3d14(0x282)}]},{'key':_0x4f3d14(0x202),'title':'Timeline','items':[{'value':_0x4f3d14(0x243),'icon':'timeline-horizontal','labelKey':_0x4f3d14(0x491)},{'value':_0x4f3d14(0x481),'icon':_0x4f3d14(0x481),'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],Gn={'key':_0x4f3d14(0x209),'title':_0x4f3d14(0x437),'items':[{'value':_0x4f3d14(0x337),'icon':_0x4f3d14(0x1c1),'labelKey':_0x4f3d14(0x1ef)},{'value':_0x4f3d14(0x493),'icon':_0x4f3d14(0x2d6),'labelKey':_0x4f3d14(0x208)},{'value':_0x4f3d14(0x2f5),'icon':_0x4f3d14(0x477),'labelKey':_0x4f3d14(0x254)}]},Kn=_0x4f3d14(0x436);function qn(_0x330b3e,_0x54f0cf){const _0x54f03b=_0x4f3d14;_0x330b3e[_0x54f03b(0x32d)](jn,{'action':_0x54f0cf});}const Jn={'line':_0x5edb01,'more':_0x382a06};function Yn(_0xaa8e54){const _0xd1221f=_0x4f3d14;_0xaa8e54[_0xd1221f(0x1de)](),_0xaa8e54['preventDefault']();}function Xn(_0x3e93ef,_0x2662e4=_0x4f3d14(0x30d),_0x57b9ab){return _0x9b9447(_0x3a11ae,{'children':_0x9b9447(_0x3e93ef,{'className':_0x2662e4,'extend':_0x57b9ab})});}function Zn(_0x48d9ac){const _0x1cb664=_0x4f3d14;var _0x34db1e,_0x25987a;let _0x1c366e=(_0x48d9ac==null?void 0x0:_0x48d9ac[_0x1cb664(0x1eb)])??{},_0x14dc60=_0x1c366e[_0x1cb664(0x389)]&&typeof _0x1c366e[_0x1cb664(0x389)]==_0x1cb664(0x458)?_0x1c366e[_0x1cb664(0x389)]:{},_0x4e7565=(_0x34db1e=_0x14dc60[_0x1cb664(0x231)])==null||(_0x34db1e=_0x34db1e[_0x1cb664(0x3bf)])==null?void 0x0:_0x34db1e[_0x1cb664(0x1d5)];return{'color':typeof _0x1c366e['color']==_0x1cb664(0x351)?_0x1c366e[_0x1cb664(0x25e)]:(_0x4e7565==null||(_0x25987a=_0x4e7565['cl'])==null?void 0x0:_0x25987a['rgb'])??_0x4edc0e,'fontFamily':typeof _0x1c366e[_0x1cb664(0x2d0)]==_0x1cb664(0x351)?_0x1c366e[_0x1cb664(0x2d0)]:(_0x4e7565==null?void 0x0:_0x4e7565['ff'])??_0x5afc33['ff'],'fontSize':typeof _0x1c366e[_0x1cb664(0x434)]==_0x1cb664(0x3ba)?_0x1c366e[_0x1cb664(0x434)]:typeof(_0x4e7565==null?void 0x0:_0x4e7565['fs'])=='number'?_0x4e7565['fs']:_0x5afc33['fs'],'horizontalAlign':_0x1c366e[_0x1cb664(0x3d3)]??_0x14dc60['ha']??_0x572b51[_0x1cb664(0x1ab)],'textFill':_0x1c366e['textFill']&&typeof _0x1c366e[_0x1cb664(0x2d3)]==_0x1cb664(0x458)?_0x1c366e[_0x1cb664(0x2d3)]:_0x4e7565==null?void 0x0:_0x4e7565['textFill'],'verticalAlign':_0x1c366e['verticalAlign']??_0x14dc60['va']??_0x144c34[_0x1cb664(0x312)]};}function Qn(_0x2eaa31,_0x108bf6){const _0x5215d3=_0x4f3d14;if(!_0x108bf6)return;let _0xb0aea1=In(_0x108bf6);if(!_0xb0aea1['length'])return;let _0x33fc7d=_0xb0aea1['map'](_0x5e82d4=>_0x2eaa31[_0x5215d3(0x43c)]({'id':_0x5215d3(0x349),'binding':_0x5e82d4,'staticParameters':{'action':_0x108bf6}})??void 0x0)['filter'](_0x40dedd=>!!_0x40dedd);return _0x33fc7d[_0x5215d3(0x452)]?[...new Set(_0x33fc7d)][_0x5215d3(0x478)]('/'):void 0x0;}async function $n(_0x3f8580,_0x1755fc,_0x128021){const _0x400b88=_0x4f3d14;return await Promise[_0x400b88(0x1ec)](_0x1755fc(()=>_0x3f8580[_0x400b88(0x32d)](_0x32999d['id'],_0x128021)))?(await Promise[_0x400b88(0x1ec)](_0x1755fc(()=>_0x3f8580[_0x400b88(0x32d)](_0x4b5dc4['id'],{'unitId':_0x128021[_0x400b88(0x291)],'subUnitId':_0x128021[_0x400b88(0x20a)],'scopeId':_0x128021[_0x400b88(0x3a9)]}))),!0x0):!0x1;}async function er(_0x3f1d28,_0x38acc1,_0x4dfd20){const _0x3ce1a5=_0x4f3d14;return await Promise[_0x3ce1a5(0x1ec)](_0x38acc1(()=>_0x3f1d28[_0x3ce1a5(0x32d)](_0x523acc['id'],_0x4dfd20)))?(await Promise[_0x3ce1a5(0x1ec)](_0x38acc1(()=>_0x3f1d28[_0x3ce1a5(0x32d)](_0x4b5dc4['id'],{'unitId':_0x4dfd20[_0x3ce1a5(0x291)],'subUnitId':_0x4dfd20[_0x3ce1a5(0x20a)],'scopeId':_0x4dfd20[_0x3ce1a5(0x3a9)]}))),!0x0):!0x1;}function tr({className:_0x483df9=_0x4f3d14(0x30d)}){const _0x2072fb=_0x4f3d14;return _0x9b9447(_0x3a11ae,{'children':_0x27b706(_0x2072fb(0x278),{'className':_0x483df9,'viewBox':_0x2072fb(0x3ce),'fill':_0x2072fb(0x2a1),'aria-hidden':_0x2072fb(0x480),'children':[_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x1be),'stroke':'currentColor','strokeWidth':_0x2072fb(0x42a),'strokeLinecap':_0x2072fb(0x28e)}),_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x21a),'stroke':_0x2072fb(0x1fe),'strokeWidth':_0x2072fb(0x42a),'strokeLinecap':_0x2072fb(0x28e)}),_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x3d5),'stroke':_0x2072fb(0x1fe),'strokeWidth':'1.8','strokeLinecap':_0x2072fb(0x28e)})]})});}function nr({icon:_0x5db6b5}){const _0x2f995e=_0x4f3d14;let _0x20ff4c=_0x2f995e(0x1c0),_0x2bcc8f={'stroke':_0x2f995e(0x1fe),'strokeWidth':2.6,'strokeLinecap':_0x2f995e(0x28e),'strokeLinejoin':_0x2f995e(0x28e)},_0x4c42ea={'stroke':_0x20ff4c,'strokeWidth':3.2,'strokeLinecap':'round'};return _0x27b706(_0x2f995e(0x278),{'className':'univer-h-9\x20univer-w-12','viewBox':_0x2f995e(0x3a2),'fill':_0x2f995e(0x2a1),'aria-hidden':_0x2f995e(0x480),'children':[_0x5db6b5==='mindmap-horizontal'&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x201),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':'M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',..._0x4c42ea})]}),_0x5db6b5===_0x2f995e(0x1f9)&&_0x27b706(_0x219099,{'children':[_0x9b9447('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',..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x196),'stroke':_0x20ff4c,'strokeWidth':2.6,'strokeLinecap':_0x2f995e(0x28e),'strokeDasharray':_0x2f995e(0x200)})]}),_0x5db6b5==='tree-right'&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':'M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7',..._0x2bcc8f}),_0x9b9447('path',{'d':_0x2f995e(0x1b8),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x195)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x316),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'56','cy':'12','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x2f6)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x373),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x45a),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'42','cy':'12','r':'3','fill':_0x2f995e(0x1fe)})]}),_0x5db6b5===_0x2f995e(0x243)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x3f2),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x36b),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'17','cy':'31','r':'3','fill':_0x2f995e(0x1fe)})]}),_0x5db6b5===_0x2f995e(0x481)&&_0x27b706(_0x219099,{'children':[_0x9b9447('path',{'d':_0x2f995e(0x2f7),..._0x2bcc8f}),_0x9b9447('path',{'d':'M56\x2039h11M13\x2050h11',..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'40','cy':'9','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x1c1)&&_0x9b9447(_0x219099,{'children':_0x9b9447(_0x2f995e(0x19f),{'d':'M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013',..._0x2bcc8f})}),_0x5db6b5===_0x2f995e(0x2d6)&&_0x9b9447(_0x219099,{'children':_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x410),..._0x2bcc8f})}),_0x5db6b5==='branch-orthogonal'&&_0x9b9447(_0x219099,{'children':_0x9b9447('path',{'d':_0x2f995e(0x413),..._0x2bcc8f})})]});}function rr(_0x3c5f2a,_0x484996){const _0x1e9c28=_0x4f3d14;let _0x26b8d8=_0x3c5f2a['textStyle'],_0x4213c9=_0x5eb915(_0x26b8d8),_0xfc1dfd={..._0x4213c9[_0x1e9c28(0x25e)]===void 0x0?null:{'color':_0x4213c9[_0x1e9c28(0x25e)]},..._0x4213c9[_0x1e9c28(0x2d0)]===void 0x0?null:{'fontFamily':_0x4213c9[_0x1e9c28(0x2d0)]},..._0x4213c9[_0x1e9c28(0x434)]===void 0x0?null:{'fontSize':_0x4213c9[_0x1e9c28(0x434)]},..._0x4213c9[_0x1e9c28(0x2fc)]===void 0x0?null:{'bold':_0x4213c9[_0x1e9c28(0x2fc)]},..._0x4213c9[_0x1e9c28(0x1b4)]===void 0x0?null:{'italic':_0x4213c9[_0x1e9c28(0x1b4)]},..._0x4213c9[_0x1e9c28(0x3db)]===void 0x0?null:{'underline':_0x4213c9[_0x1e9c28(0x3db)]},..._0x4213c9[_0x1e9c28(0x28a)]===void 0x0?null:{'strikethrough':_0x4213c9['strikethrough']},..._0x4213c9[_0x1e9c28(0x2d3)]===void 0x0?null:{'textFill':_0x4213c9['textFill']}};_0x3c5f2a[_0x1e9c28(0x3d3)]!==void 0x0&&(_0xfc1dfd['horizontalAlign']=_0x3c5f2a['horizontalAlign']),_0x3c5f2a[_0x1e9c28(0x31f)]!==void 0x0&&(_0xfc1dfd[_0x1e9c28(0x31f)]=_0x3c5f2a[_0x1e9c28(0x31f)]),Object['keys'](_0xfc1dfd)['length']>0x0&&_0x484996({'textStyle':_0xfc1dfd});}function ir(_0x57437c,_0x1f240d,_0x339a6f){const _0x25ce49=_0x4f3d14;let _0x54934a=_0x57437c??{},_0x5e0f6f=_0x543a5f(_0x54934a,_0x1f240d),_0x2ea1b2=_0x5e0f6f[_0x25ce49(0x1eb)]??_0x54934a[_0x25ce49(0x1eb)]??{};return{..._0x54934a,..._0x5e0f6f,'shapeText':{..._0x2ea1b2,..._0x339a6f[_0x25ce49(0x25e)]===void 0x0?null:{'color':_0x339a6f['color']},..._0x339a6f['fontSize']===void 0x0?null:{'fontSize':_0x339a6f[_0x25ce49(0x434)]},..._0x339a6f['bold']===void 0x0?null:{'bold':_0x339a6f[_0x25ce49(0x2fc)]},..._0x339a6f[_0x25ce49(0x1b4)]===void 0x0?null:{'italic':_0x339a6f[_0x25ce49(0x1b4)]},..._0x339a6f[_0x25ce49(0x3db)]===void 0x0?null:{'underline':_0x339a6f[_0x25ce49(0x3db)]},..._0x339a6f[_0x25ce49(0x28a)]===void 0x0?null:{'strikethrough':_0x339a6f[_0x25ce49(0x28a)]},..._0x339a6f[_0x25ce49(0x3d3)]===void 0x0?null:{'horizontalAlign':_0x339a6f['horizontalAlign']},..._0x339a6f[_0x25ce49(0x31f)]===void 0x0?null:{'verticalAlign':_0x339a6f[_0x25ce49(0x31f)]},..._0x339a6f[_0x25ce49(0x2d3)]===void 0x0?null:{'textFill':_0x339a6f[_0x25ce49(0x2d3)]}}};}function ar(_0x5d7644,_0x4d2695){const _0x49a2a3=_0x4f3d14;let _0x2f6e90=_0x5d7644==null?void 0x0:_0x5d7644[_0x49a2a3(0x267)];_0x2f6e90&&_0x4d2695({'lineType':_0x2f6e90[_0x49a2a3(0x340)]===_0x16fb53[_0x49a2a3(0x498)]||_0x2f6e90[_0x49a2a3(0x340)]===_0x16fb53['SquareDot']?_0x49a2a3(0x271):_0x2f6e90['dashType']===_0x16fb53[_0x49a2a3(0x4ad)]?_0x49a2a3(0x223):'solid',...typeof _0x2f6e90[_0x49a2a3(0x48c)]==_0x49a2a3(0x3ba)?{'strokeWidth':_0x2f6e90[_0x49a2a3(0x48c)]}:null,...typeof _0x2f6e90[_0x49a2a3(0x25e)]=='string'?{'stroke':_0x2f6e90[_0x49a2a3(0x25e)]}:null,...typeof _0x2f6e90[_0x49a2a3(0x263)]==_0x49a2a3(0x3ba)?{'opacity':_0x2f6e90['opacity']}:null});}function or(_0x57fbeb){const _0xc4ce3f=_0x4f3d14;return _0x57fbeb!=null&&_0x57fbeb[_0xc4ce3f(0x452)]?_0x57fbeb[0x0]<=0x2?_0x16fb53[_0xc4ce3f(0x498)]:_0x16fb53[_0xc4ce3f(0x4ad)]:_0x16fb53['Solid'];}function sr(_0x54382b){const _0x45b7e7=_0x4f3d14;return{'stroke':{'lineStrokeType':_0x48e250['SolidLine'],'dashType':or(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x223)]),'color':(_0x54382b==null?void 0x0:_0x54382b['stroke'])??_0x121c72,'width':(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x2b3)])??Bn[_0x45b7e7(0x49b)],'opacity':(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x263)])??Vn['defaultValue']/0x64}};}function cr(_0xe5e558){const _0x221c20=_0x4f3d14;var _0x595006,_0x1fdabf,_0x3f2d49;let _0x2ce088=_0x1bf837(_0x27d0fe),_0x2cea48=_0x1bf837(_0x2c1c63),_0x2fdf66=_0x1bf837(_0x4eab55),_0x9e0cb5=_0x1bf837(_0x57f4a7),[_0x44699f,_0x33d42d]=_0x34d7b2(null),[_0x4bd150,_0x13abec]=_0x34d7b2((_0x595006=_0xe5e558[_0x221c20(0x353)][_0x221c20(0x261)])==null?void 0x0:_0x595006[_0x221c20(0x38b)]),_0x3cbffb=_0xe5e558[_0x221c20(0x353)]['extraProps'];if(!_0x3cbffb)return null;let _0x40e7ff={'unitId':_0x3cbffb[_0x221c20(0x291)],'subUnitId':_0x3cbffb[_0x221c20(0x20a)]},_0x48595d=_0x34f6b0=>{const _0x488fea=_0x221c20;_0x2ce088[_0x488fea(0x32d)](_0x3d67d8['id'],{..._0x40e7ff,'nodeId':_0x3cbffb[_0x488fea(0x3e9)],..._0x34f6b0});},_0x38143b=(_0x2213a0,_0x4146d3)=>{const _0x3b1cca=_0x221c20;let _0x4850eb=_0x4146d3??{};_0x13abec(_0xa397fa=>({..._0xa397fa??{},..._0x4850eb})),_0x48595d({..._0x4850eb['fill']===void 0x0?null:{'fill':_0x4850eb[_0x3b1cca(0x222)]},..._0x4850eb[_0x3b1cca(0x267)]===void 0x0?null:{'stroke':_0x4850eb['stroke']}});},_0x56db15=_0x2863eb=>{const _0x771f5f=_0x221c20;_0x2ce088[_0x771f5f(0x32d)](_0x411ecf['id'],{..._0x40e7ff,'nodeId':_0x3cbffb[_0x771f5f(0x3e9)],'style':_0x2863eb});},_0x52dc03=sr(_0x3cbffb[_0x221c20(0x288)]),_0x3c892d=_0x38dffb=>Qn(_0x2cea48,_0x38dffb),_0x1de404=_0x18fd4c=>{qn(_0x2ce088,_0x18fd4c);},_0x17b3e9=(_0x4bd150==null?void 0x0:_0x4bd150[_0x221c20(0x1eb)])??{},_0x5b9a5a=Zn(_0x4bd150),_0x43e164=_0x38909e=>{rr(_0x38909e,_0x4fc099=>{const _0x4884d3=_0x5652;_0x13abec(_0x198fcd=>ir(_0x198fcd,_0x38909e,_0x4fc099[_0x4884d3(0x1d5)])),_0x48595d(_0x4fc099);});},_0x250b95=[{'label':_0x2fdf66['t']('boards-mind-ui.alignLeft'),'value':_0x572b51[_0x221c20(0x1ab)],'icon':_0x9b9447(_0x10ad46,{})},{'label':_0x2fdf66['t'](_0x221c20(0x2be)),'value':_0x572b51[_0x221c20(0x2b9)],'icon':_0x9b9447(_0xd2c873,{})},{'label':_0x2fdf66['t']('boards-mind-ui.alignRight'),'value':_0x572b51[_0x221c20(0x1c9)],'icon':_0x9b9447(_0x97b6f7,{})},{'label':_0x2fdf66['t'](_0x221c20(0x4a5)),'value':_0x572b51[_0x221c20(0x3d7)],'icon':_0x9b9447(_0x233f6c,{})}],_0x3eab06=[{'label':_0x2fdf66['t']('boards-mind-ui.alignTop'),'value':_0x144c34[_0x221c20(0x3ed)],'icon':_0x9b9447(_0x1c51ff,{})},{'label':_0x2fdf66['t'](_0x221c20(0x40b)),'value':_0x144c34[_0x221c20(0x312)],'icon':_0x9b9447(_0x56f7d4,{})},{'label':_0x2fdf66['t'](_0x221c20(0x44e)),'value':_0x144c34[_0x221c20(0x3d4)],'icon':_0x9b9447(_0x4cbc58,{})}],_0x6520f4=()=>{const _0x8e3112=_0x221c20;_0x1de404(_0x8e3112(0x1e2));},_0x1c1f32=()=>{const _0x30bb50=_0x221c20;_0x1de404(_0x30bb50(0x2a9));},_0x5106f3=()=>{const _0x3a84ff=_0x221c20;_0x1de404(_0x3a84ff(0x1a5));},_0x1010ac=()=>{_0x1de404('paste');},_0x4518c9=()=>{const _0xd4654c=_0x221c20;_0x1de404(_0xd4654c(0x333));},_0x429323=((_0x1fdabf=_0x3cbffb[_0x221c20(0x2bc)])==null?void 0x0:_0x1fdabf[_0x221c20(0x35e)])??_0x1fa9e8[_0x221c20(0x35e)],_0xaca9d5=_0x22ba0f(_0x429323,((_0x3f2d49=_0x3cbffb[_0x221c20(0x2bc)])==null?void 0x0:_0x3f2d49[_0x221c20(0x402)])??_0x1fa9e8[_0x221c20(0x402)]),_0x20bf09=_0x53d09f=>{const _0x431bbd=_0x221c20;let _0x1631f8=_0x22ba0f(_0x53d09f,_0xaca9d5);$n(_0x2ce088,_0x9e0cb5['createRunner'](_0x3cbffb[_0x431bbd(0x291)]),{..._0x40e7ff,'scopeId':_0x3cbffb[_0x431bbd(0x3a9)],'structureKind':_0x53d09f,..._0x1631f8===_0xaca9d5?null:{'branchLineType':_0x1631f8}}),_0x33d42d(null);},_0x1a7f5e=_0x2af0c0=>{const _0x5c48f9=_0x221c20;er(_0x2ce088,_0x9e0cb5[_0x5c48f9(0x2ae)](_0x3cbffb[_0x5c48f9(0x291)]),{..._0x40e7ff,'scopeId':_0x3cbffb[_0x5c48f9(0x3a9)],'branchLineType':_0x2af0c0}),_0x33d42d(null);},_0x9a8b92=(_0x12f608,_0x167da1,_0x2513fc,_0x7a52e=!0x1)=>_0x9b9447('button',{'type':_0x221c20(0x26f),'aria-label':_0x2fdf66['t'](_0x12f608['labelKey']),'disabled':_0x7a52e,'className':_0x461cd5(_0x221c20(0x495),_0x167da1&&_0x221c20(0x25d),_0x7a52e&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0xddec92=>{const _0x3833a2=_0x221c20;_0xddec92[_0x3833a2(0x1de)](),!_0x7a52e&&_0x2513fc();},'children':_0x9b9447(nr,{'icon':_0x12f608[_0x221c20(0x270)]})},_0x12f608['value']),_0x2fb8bd=()=>_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x3aa),'onMouseDown':_0x56d614=>_0x56d614[_0x221c20(0x1de)](),'onPointerDown':_0x4db428=>_0x4db428['stopPropagation'](),'children':[Wn['map'](_0x5574d0=>_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x2fa),'children':[_0x9b9447('div',{'className':_0x221c20(0x468),'children':_0x5574d0[_0x221c20(0x3c2)]}),_0x9b9447('div',{'className':_0x221c20(0x1b0),'style':{'gridTemplateColumns':_0x221c20(0x492)+_0x5574d0['items'][_0x221c20(0x452)]+_0x221c20(0x1b1)},'children':_0x5574d0[_0x221c20(0x2ef)]['map'](_0x233af6=>_0x9a8b92(_0x233af6,_0x233af6['value']===_0x429323,()=>_0x20bf09(_0x233af6['value'])))})]},_0x5574d0[_0x221c20(0x3f0)])),_0x9b9447(_0x1d1b23,{}),_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x47d),'children':[_0x9b9447(_0x221c20(0x417),{'className':_0x221c20(0x468),'children':Gn['title']}),_0x9b9447('div',{'className':_0x221c20(0x1b0),'style':{'gridTemplateColumns':_0x221c20(0x492)+Gn['items'][_0x221c20(0x452)]+',\x20minmax(0,\x201fr))'},'children':Gn[_0x221c20(0x2ef)][_0x221c20(0x2c1)](_0x1e081d=>_0x9a8b92(_0x1e081d,_0x1e081d[_0x221c20(0x1bb)]===_0xaca9d5,()=>_0x1a7f5e(_0x1e081d[_0x221c20(0x1bb)]),_0x1e081d['value']===_0x221c20(0x337)&&!_0x35ce36(_0x429323)))})]})]}),_0x2b1fe0=_0x14dce5=>{const _0x3fb91e=_0x221c20;switch(_0x14dce5){case _0x3fb91e(0x314):return _0x9b9447(_0x26de67,{'title':_0x2fdf66['t'](_0x3fb91e(0x3ec)),'shapeData':_0x52dc03,'modeOptions':['solid','dash',_0x3fb91e(0x271)],'showDashDropdown':!0x1,'widthRange':{'min':Bn[_0x3fb91e(0x246)],'max':Bn[_0x3fb91e(0x31c)],'step':0x1},'onUpdateShapeData':(_0x384482,_0xfc32bd)=>{ar(_0xfc32bd,_0x56db15);}});case'more':return _0x9b9447(_0x2cf51f,{'title':_0x2fdf66['t'](_0x3fb91e(0x3af)),'minWidthClassName':'univer-min-w-[240px]','children':_0x27b706('div',{'className':_0x3fb91e(0x3fe),'children':[_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t']('boards-mind-ui.toolbar.action.addSibling'),'shortcut':_0x3c892d(Un[_0x3fb91e(0x42e)]),'onClick':_0x6520f4}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x221)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x244)]),'onClick':_0x1c1f32}),_0x9b9447(_0x1d1b23,{}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x396)),'shortcut':_0x3c892d(Un['copy']),'onClick':_0x5106f3}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x46b)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x381)]),'onClick':_0x1010ac}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x194)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x333)]),'onClick':_0x4518c9})]})});default:return null;}},_0x12842e=Hn[_0x221c20(0x265)](_0x50b745=>{const _0x35d364=_0x221c20;let _0x532d6f=[];if(_0x50b745[_0x35d364(0x27d)]&&_0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x1d1b23,{'orientation':'vertical'},_0x35d364(0x3a8)+_0x50b745[_0x35d364(0x315)])),_0x50b745[_0x35d364(0x315)]===_0x35d364(0x3ad))return _0x532d6f['push'](_0x9b9447(_0x293f98,{'title':_0x2fdf66['t'](_0x35d364(0x29c)),'fontFamily':_0x5b9a5a['fontFamily'],'textStyle':{'isBold':_0x17b3e9[_0x35d364(0x2fc)]===!0x0,'isItalic':_0x17b3e9[_0x35d364(0x1b4)]===!0x0,'isUnderline':_0x17b3e9[_0x35d364(0x3db)]===!0x0,'isStrike':_0x17b3e9[_0x35d364(0x28a)]===!0x0},'horizontalAlign':_0x5b9a5a[_0x35d364(0x3d3)],'verticalAlign':_0x5b9a5a[_0x35d364(0x31f)],'horizontalAlignOptions':_0x250b95,'verticalAlignOptions':_0x3eab06,'onUpdateText':_0x43e164},_0x50b745['kind'])),_0x532d6f;if(_0x50b745[_0x35d364(0x315)]===_0x35d364(0x425)){let _0x5851fc={'fs':_0x5b9a5a['fontSize'],'cl':{'rgb':_0x5b9a5a[_0x35d364(0x25e)]},..._0x5b9a5a[_0x35d364(0x2d3)]===void 0x0?null:{'textFill':_0x5b9a5a[_0x35d364(0x2d3)]}};return _0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x19e9cd,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.fontColor'),'textStyle':_0x5851fc,'fallbackColor':_0x5b9a5a[_0x35d364(0x25e)],'onChange':_0x709ca0=>_0x43e164({'textStyle':_0x709ca0})},_0x50b745[_0x35d364(0x315)])),_0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x1d6b66,{'value':String(_0x5b9a5a[_0x35d364(0x434)]),'onChange':_0x2454bc=>{_0x43e164({'textStyle':{'fs':_0x2454bc}});}},_0x35d364(0x401))),_0x532d6f;}return _0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x53b00d,{'open':_0x44699f===_0x50b745[_0x35d364(0x41b)],'overlay':_0x2b1fe0(_0x50b745['panel']),'onOpenChange':_0x3cbd6a=>_0x33d42d(_0x3cbd6a?_0x50b745['panel']:null),'children':_0x9b9447(_0x35d364(0x255),{'children':_0x9b9447(_0x3945a0,{'title':_0x2fdf66['t'](_0x50b745[_0x35d364(0x2ed)]),'active':_0x44699f===_0x50b745[_0x35d364(0x41b)],'icon':Xn(Jn[_0x50b745[_0x35d364(0x41b)]]),'sizeClassName':_0x35d364(0x1cd),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x50b745[_0x35d364(0x41b)])),_0x532d6f;}),_0x441c1d=[..._0x3cbffb[_0x221c20(0x23f)]?[_0x9b9447(_0x53b00d,{'open':_0x44699f===_0x221c20(0x2bc),'overlay':_0x2fb8bd(),'onOpenChange':_0x2a8f8c=>_0x33d42d(_0x2a8f8c?'layout':null),'children':_0x9b9447(_0x221c20(0x255),{'children':_0x9b9447(_0x3945a0,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.layout'),'active':_0x44699f==='layout','icon':_0x9b9447(tr,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':Yn,'onPointerDown':Yn})})},'mind-map-layout-dropdown'),_0x9b9447(_0x1d1b23,{'orientation':_0x221c20(0x2a0)},_0x221c20(0x473))]:[],_0x9b9447(_0xb1360f,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.fill'),'shapeData':_0x4bd150??{},'onUpdateShapeData':_0x38143b},_0x221c20(0x1fd)),_0x9b9447(_0x559b96,{'title':_0x2fdf66['t'](_0x221c20(0x442)),'shapeData':_0x4bd150??{},'onUpdateShapeData':_0x38143b},_0x221c20(0x420)),_0x9b9447(_0x1d1b23,{'orientation':_0x221c20(0x2a0)},'style-divider')];return _0x27b706(_0x31c2c5,{'maxWidthClassName':_0x221c20(0x2ba),'onMouseDown':_0x50d8bf=>_0x50d8bf[_0x221c20(0x1de)](),'children':[_0x441c1d,_0x12842e]});}function lr(_0xbf8815){let {left:_0x3271db,top:_0x42d514,width:_0x581b55,height:_0x4b3634}=_0xbf8815;return{'left':_0x3271db,'right':_0x3271db+_0x581b55,'top':_0x42d514-0x38,'bottom':_0x42d514+_0x4b3634};}let ur=class extends _0x41f8e5{constructor(_0xb664ff,_0x3e58a2,_0x566b53,_0x8d1162,_0x40e157,_0x548bba){const _0x3e6b8a=_0x4f3d14;super(),this[_0x3e6b8a(0x414)]=_0xb664ff,this[_0x3e6b8a(0x22e)]=_0x3e58a2,this[_0x3e6b8a(0x3dd)]=_0x566b53,this[_0x3e6b8a(0x1a3)]=_0x8d1162,this[_0x3e6b8a(0x28b)]=_0x40e157,this[_0x3e6b8a(0x3b4)]=_0x548bba,K(this,'_popupDisposable',null),K(this,'_popupSelectionKey',null),this[_0x3e6b8a(0x45b)]();}[_0x4f3d14(0x45e)](){const _0x3cc688=_0x4f3d14;this[_0x3cc688(0x2d2)](),super['dispose']();}['_init'](){const _0x21dad3=_0x4f3d14;let _0x48f4bb=this[_0x21dad3(0x414)][_0x21dad3(0x48b)][_0x21dad3(0x1dc)]();this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb[_0x21dad3(0x3bd)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>this[_0x21dad3(0x2b5)]()))),this['disposeWithMe'](_0x122c68(_0x48f4bb[_0x21dad3(0x256)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))['subscribe'](()=>this[_0x21dad3(0x394)]()))),this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb['changeStart$'][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>this[_0x21dad3(0x2d2)]()))),this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb[_0x21dad3(0x34d)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>setTimeout(()=>this[_0x21dad3(0x2b5)](),0x0)))),this[_0x21dad3(0x44d)](_0x122c68(this[_0x21dad3(0x1a3)]['state$'][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>setTimeout(()=>this[_0x21dad3(0x2b5)](),0x0)))),this['disposeWithMe'](_0x122c68(this[_0x21dad3(0x3b4)]['interactionSurfaceActive$'][_0x21dad3(0x46c)](_0x41cd5b(this['dispose$']))[_0x21dad3(0x345)](_0x534208=>{const _0x3376d4=_0x21dad3;_0x534208?this[_0x3376d4(0x2d2)]():setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this[_0x21dad3(0x44d)](_0x122c68(this['_boardTextEditingService'][_0x21dad3(0x482)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](_0x40d760=>{const _0x510c72=_0x21dad3;(_0x40d760==null?void 0x0:_0x40d760[_0x510c72(0x291)])===this[_0x510c72(0x414)]['unitId']&&(_0x40d760[_0x510c72(0x418)]?this[_0x510c72(0x2d2)]():setTimeout(()=>this[_0x510c72(0x2b5)](),0x0));})));}[_0x4f3d14(0x2d2)](){const _0x34024f=_0x4f3d14;var _0x2c0836;(_0x2c0836=this[_0x34024f(0x421)])==null||_0x2c0836[_0x34024f(0x45e)](),this[_0x34024f(0x421)]=null,this[_0x34024f(0x22f)]=null;}[_0x4f3d14(0x394)](){setTimeout(()=>{const _0x1e7c63=_0x5652;this[_0x1e7c63(0x25f)]()||this[_0x1e7c63(0x2d2)]();},0x0);}['_isPopupSelectionStillActive'](){const _0x47d975=_0x4f3d14;let _0x5c79f7=this[_0x47d975(0x1a3)][_0x47d975(0x310)]();return!!_0x5c79f7[_0x47d975(0x3ac)]&&_0x5c79f7[_0x47d975(0x375)][_0x47d975(0x452)]>0x0&&this[_0x47d975(0x22f)]===this[_0x47d975(0x3a1)](_0x5c79f7['context'][_0x47d975(0x291)],_0x5c79f7[_0x47d975(0x3ac)][_0x47d975(0x20a)],_0x5c79f7[_0x47d975(0x375)]);}[_0x4f3d14(0x3a1)](_0x393878,_0x5b3da1,_0x2dc6e3){const _0x5cc4fe=_0x4f3d14;return _0x393878+':'+_0x5b3da1+':'+_0x2dc6e3[_0x5cc4fe(0x478)](',');}[_0x4f3d14(0x27f)](_0x271466,_0x11938a,_0x1f3af4,_0x5b8e25){const _0x213e59=_0x4f3d14;let _0x263a1e=this[_0x213e59(0x3dd)][_0x213e59(0x198)](_0x271466,_0x11938a),_0x1d4871=Object['values'](_0x263a1e)[_0x213e59(0x431)](_0xee064b=>{const _0x43d380=_0x213e59;let _0x3b9f86=_0x5dd284(_0xee064b['element']);return(_0x3b9f86==null?void 0x0:_0x3b9f86['structureScopeId'])===_0x1f3af4&&_0x3b9f86[_0x43d380(0x1c7)]===_0x5b8e25;});if(_0x1d4871&&'connectorData'in _0x1d4871[_0x213e59(0x1ca)])return _0x1d4871[_0x213e59(0x1ca)]['connectorData'][_0x213e59(0x281)];}[_0x4f3d14(0x2b5)](){const _0x3e002e=_0x4f3d14;var _0x5353f6,_0x36d59e,_0x3da1a3;if(this[_0x3e002e(0x3b4)][_0x3e002e(0x4a0)]){this[_0x3e002e(0x2d2)]();return;}let _0x2e755d=this['_boardTextEditingService']['getEditing']();if((_0x2e755d==null?void 0x0:_0x2e755d[_0x3e002e(0x418)])===!0x0&&_0x2e755d['unitId']===this[_0x3e002e(0x414)][_0x3e002e(0x291)]){this[_0x3e002e(0x2d2)]();return;}let _0x48844b=this[_0x3e002e(0x1a3)][_0x3e002e(0x310)]();if(_0x48844b['isTransforming']||_0x4b1317({'context':_0x48844b[_0x3e002e(0x3ac)],'selectedIds':_0x48844b[_0x3e002e(0x375)],'getElementById':(_0x4f46fb,_0x43ac23,_0x58b61a)=>this[_0x3e002e(0x3dd)][_0x3e002e(0x40e)](_0x4f46fb,_0x43ac23,_0x58b61a)})['owner']!=='mind-map'){this[_0x3e002e(0x2d2)]();return;}let _0x1fc929=this['_renderContext'][_0x3e002e(0x48b)][_0x3e002e(0x1dc)]()[_0x3e002e(0x2c0)](),_0x2010f0=Array[_0x3e002e(0x374)](_0x1fc929[_0x3e002e(0x2df)]())[_0x3e002e(0x2c1)](_0x2421a6=>this[_0x3e002e(0x204)](_0x2421a6))[_0x3e002e(0x43b)](_0x592776=>!!_0x592776)[_0x3e002e(0x43b)](_0x2c99a5=>!!_0x5585ba(_0x2c99a5[_0x3e002e(0x241)][_0x3e002e(0x1ca)])),_0x41023c=_0x2010f0[_0x3e002e(0x431)](_0x1777cb=>_0x1777cb['elementData'][_0x3e002e(0x3e9)]===_0x48844b[_0x3e002e(0x206)])??_0x2010f0[0x0]??this['_resolveSelectedMindMapEntryFromState']();if(!_0x41023c){this[_0x3e002e(0x2d2)]();return;}let _0x2e235e=_0x5585ba(_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]);if(!_0x2e235e){this[_0x3e002e(0x2d2)]();return;}let _0x24c4de=(_0x5353f6=this[_0x3e002e(0x3dd)][_0x3e002e(0x198)](_0x41023c['elementData'][_0x3e002e(0x291)],_0x41023c['elementData'][_0x3e002e(0x20a)])[_0x2e235e['structureScopeId']])==null?void 0x0:_0x5353f6['element'],_0x3b0dd7=_0x487e3a(_0x24c4de),_0x40d90a=_0x24c4de==null||(_0x36d59e=_0x24c4de[_0x3e002e(0x192)])==null||(_0x36d59e=_0x36d59e[_0x3e002e(0x292)])==null||(_0x36d59e=_0x36d59e['layout'])==null?void 0x0:_0x36d59e[_0x3e002e(0x35e)],_0x143e58=((_0x3b0dd7==null?void 0x0:_0x3b0dd7[_0x3e002e(0x2bc)]['structureKind'])??_0x40d90a)===_0x3e002e(0x1f9)&&(_0x2e235e[_0x3e002e(0x29f)]===null||_0x2e235e[_0x3e002e(0x350)]===_0x3e002e(0x2e1)),_0x4ab342=_0x2e235e[_0x3e002e(0x29f)]!==null&&_0x2e235e[_0x3e002e(0x350)]!==_0x3e002e(0x2e1)&&_0x2e235e['side']!==_0x3e002e(0x449),_0x45ac76=_0x143e58||_0x4ab342,_0xc351ab=((_0x3da1a3=_0x48844b[_0x3e002e(0x3ac)])==null?void 0x0:_0x3da1a3[_0x3e002e(0x291)])===_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)]&&_0x48844b[_0x3e002e(0x3ac)]['subUnitId']===_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)]&&_0x48844b[_0x3e002e(0x375)][_0x3e002e(0x452)]?_0x48844b[_0x3e002e(0x375)]:[_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x3e9)]],_0x529989=this[_0x3e002e(0x3a1)](_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],_0xc351ab);this[_0x3e002e(0x421)]&&this[_0x3e002e(0x22f)]===_0x529989||(this['_clearPopup'](),this['_popupDisposable']=this[_0x3e002e(0x44d)](this['_boardCanvasPopManagerService'][_0x3e002e(0x1ff)](_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],_0x41023c['elementData'][_0x3e002e(0x20a)],_0x41023c[_0x3e002e(0x458)],{'componentKey':Kn,'direction':_0x3e002e(0x1f1),'offset':[0x0,0x8],..._0x45ac76?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],'subUnitId':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],'elementId':_0x41023c['elementData'][_0x3e002e(0x3e9)],'scopeId':_0x2e235e['structureScopeId'],'isRootNode':_0x2e235e['parentNodeId']===null,'left':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['transform'][_0x3e002e(0x445)]??0x0,'top':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['transform'][_0x3e002e(0x2e1)]??0x0,'shapeData':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['type']===_0x282c4b['Shape']?_0x41023c[_0x3e002e(0x241)]['element']['shapeData']:void 0x0,'layout':_0x3b0dd7==null?void 0x0:_0x3b0dd7[_0x3e002e(0x2bc)],'incomingConnectorStyle':this[_0x3e002e(0x27f)](_0x41023c[_0x3e002e(0x241)]['unitId'],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],_0x2e235e['structureScopeId'],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x3e9)])}})),this['_popupSelectionKey']=_0x529989);}[_0x4f3d14(0x18f)](){const _0x159cba=_0x4f3d14;var _0x7fa6b0;let _0x122ed1=this[_0x159cba(0x1a3)][_0x159cba(0x310)](),_0x55927e=_0x122ed1[_0x159cba(0x3ac)],_0x3b4556=_0x122ed1[_0x159cba(0x206)]??_0x122ed1[_0x159cba(0x375)][0x0];if(!_0x55927e||!_0x3b4556)return null;let _0x5203b3=this['_boardElementService'][_0x159cba(0x40e)](_0x55927e['unitId'],_0x55927e[_0x159cba(0x20a)],_0x3b4556);if(!_0x5203b3||!_0x5585ba(_0x5203b3['element']))return null;let _0x4b03e6=_0x55b3e2(_0x55927e['unitId'],_0x3b4556),_0x21b6ad=this['_renderContext'][_0x159cba(0x48b)],_0x1a0592=((_0x7fa6b0=_0x21b6ad['getObjectIncludeInGroup'])==null?void 0x0:_0x7fa6b0[_0x159cba(0x2a4)](_0x21b6ad,_0x4b03e6))??this[_0x159cba(0x414)]['scene'][_0x159cba(0x3b7)](_0x4b03e6);return _0x1a0592?{'object':_0x1a0592,'elementData':_0x5203b3}:null;}[_0x4f3d14(0x204)](_0x345e2c){const _0x1d43fc=_0x4f3d14;var _0x467c83;if(!_0x345e2c)return null;let _0x14d1e6=_0x1bae0a(_0x345e2c['oKey']);if(!_0x14d1e6)return null;let _0x1fca2d=this[_0x1d43fc(0x1a3)][_0x1d43fc(0x310)](),_0x5555e2=((_0x467c83=_0x1fca2d[_0x1d43fc(0x3ac)])==null?void 0x0:_0x467c83[_0x1d43fc(0x291)])===_0x14d1e6['unitId']?_0x1fca2d[_0x1d43fc(0x3ac)]['subUnitId']:void 0x0;if(!_0x5555e2)return null;let _0x18d1d0=this[_0x1d43fc(0x3dd)][_0x1d43fc(0x40e)](_0x14d1e6[_0x1d43fc(0x291)],_0x5555e2,_0x14d1e6[_0x1d43fc(0x3e9)]);return _0x18d1d0?{'object':_0x345e2c,'elementData':_0x18d1d0}:null;}};ur=J([q(0x1,_0x132a38(_0x5a2be5)),q(0x2,_0x132a38(_0x5c495f)),q(0x3,_0x132a38(_0x16fdab)),q(0x4,_0x132a38(_0x2d7b12)),q(0x5,_0x132a38(_0x28dc04))],ur);const dr=_0x4f3d14(0x22c),fr=_0x2019f6[_0x4f3d14(0x354)];function pr(_0x2813f6,_0x322b4a){const _0x49ec1f=_0x4f3d14;return(_0x2813f6??[])[_0x49ec1f(0x23d)]((_0x3dcf70,_0x4ece0f)=>(_0x3dcf70[_0x4ece0f['side']??_0x322b4a]['push'](_0x4ece0f),_0x3dcf70),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x3d8bb7){const _0x4c8810=_0x4f3d14;return _0x3d8bb7==='tree-left'||_0x3d8bb7===_0x4c8810(0x378)||_0x3d8bb7==='tree-alternate';}function hr(_0x50fb41){const _0x4d1d95=_0x4f3d14;return _0x50fb41===_0x4d1d95(0x243)||_0x50fb41===_0x4d1d95(0x481);}function gr(_0x18598c,_0x87774f,_0x2227ee){const _0x1153cd=_0x4f3d14;return _0x2227ee===_0x1153cd(0x195)?_0x1153cd(0x445):_0x2227ee===_0x1153cd(0x378)?_0x1153cd(0x289):_0x18598c[_0x1153cd(0x350)]===_0x1153cd(0x445)||_0x18598c[_0x1153cd(0x350)]===_0x1153cd(0x289)?_0x18598c['side']:_0x87774f%0x2==0x0?_0x1153cd(0x445):_0x1153cd(0x289);}function _r(_0x35eb1d,_0x5c6522){const _0x3728c5=_0x4f3d14;return(_0x5c6522==null?void 0x0:_0x5c6522['root'][_0x3728c5(0x28f)])??_0x35eb1d??[];}var vr=class extends _0x1f694c{constructor(_0x40fef1=dr,_0x4759ea){const _0xf9d355=_0x4f3d14;super(_0x40fef1),K(this,_0xf9d355(0x2e0),{'point':null,'children':[]}),this['evented']=!0x1,this[_0xf9d355(0x23c)]=_0x65c3c8['transientPreview'],this[_0xf9d355(0x2e5)](_0x4759ea);}[_0x4f3d14(0x2e5)](_0x54a043){const _0x1f436b=_0x4f3d14;this['_state']={...this[_0x1f436b(0x2e0)],..._0x54a043},this[_0x1f436b(0x2e0)][_0x1f436b(0x31b)]?this[_0x1f436b(0x2bf)]():this[_0x1f436b(0x4a4)](),this[_0x1f436b(0x32c)](!0x0);}[_0x4f3d14(0x397)](_0x16b5d8){return!0x1;}['render'](_0x118f0f,_0x21c267){const _0x1c2569=_0x4f3d14;let _0x39a274=this[_0x1c2569(0x2e0)][_0x1c2569(0x31b)];if(!_0x39a274||!this['visible'])return this[_0x1c2569(0x32c)](!0x1),this;let _0x1db0c8=Number[_0x1c2569(0x490)](this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)])&&(this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)]??0x0)>0x0?this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)]:0x1,_0x5d6689=_0x5ad525[_0x1c2569(0x1d4)],_0x5b72a0=_0x5ad525[_0x1c2569(0x499)],_0xe54512=_0x5ad525[_0x1c2569(0x3b8)],_0x34431e=_0x5ad525[_0x1c2569(0x1fa)],_0x48c683=_0x1fa9e8['horizontalGap'],_0x3b2a71=_0x1fa9e8[_0x1c2569(0x2b6)],_0x46c778=this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)]===_0x1c2569(0x1f9),_0x126b92=pr(this[_0x1c2569(0x2e0)][_0x1c2569(0x28f)],_0x46c778?_0x1c2569(0x449):_0x1c2569(0x289)),_0x54efd7=_0x39a274['x']-_0x5d6689/0x2,_0x26aabc=_0x39a274['y']-_0x5b72a0/0x2;if(_0x118f0f[_0x1c2569(0x3de)](),_0x118f0f[_0x1c2569(0x26c)]=X[_0x1c2569(0x43d)],_0x118f0f[_0x1c2569(0x37c)]=X['lineWidthScreen']/_0x1db0c8,_0x118f0f['strokeStyle']=X['primaryColor'],hr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])){let _0x4f1f93=_r(this[_0x1c2569(0x2e0)]['children'],this['_state'][_0x1c2569(0x36c)]),_0x2b3a4c=this['_state']['structureKind']===_0x1c2569(0x243);if(_0x4f1f93[_0x1c2569(0x452)]>0x0){if(_0x118f0f[_0x1c2569(0x2de)](),_0x2b3a4c){let _0x5e8d00=_0xe54512,_0x444c96=_0x34431e,_0x3a9e22=_0x1fa9e8[_0x1c2569(0x359)],_0x242223=_0x39a274['y'],_0x304d79=_0x54efd7+_0x5d6689,_0x1f0723=_0x39a274['y']-_0x444c96/0x2,_0x450303=_0x54efd7+_0x5d6689+_0x3a9e22;_0x118f0f['moveTo'](_0x304d79,_0x242223),_0x118f0f[_0x1c2569(0x28d)](_0x450303,_0x242223),_0x4f1f93[_0x1c2569(0x2d1)]((_0x55eb7e,_0x1a46d2)=>{const _0x165367=_0x1c2569;let _0x10b9b7=_0x450303+_0x1a46d2*(_0x5e8d00+_0x3a9e22);if(_0x1a46d2>0x0){let _0x1366a0=_0x450303+(_0x1a46d2-0x1)*(_0x5e8d00+_0x3a9e22)+_0x5e8d00;_0x118f0f['moveTo'](_0x1366a0,_0x242223),_0x118f0f[_0x165367(0x28d)](_0x10b9b7,_0x242223);}_0x118f0f['moveTo'](_0x10b9b7,_0x242223),_0x118f0f['lineTo'](_0x10b9b7+_0x5e8d00,_0x242223);}),_0x118f0f[_0x1c2569(0x267)](),_0x4f1f93[_0x1c2569(0x2d1)]((_0x255333,_0x579dbd)=>{const _0x3ec74d=_0x1c2569;Z(_0x118f0f,_0x450303+_0x579dbd*(_0x5e8d00+_0x3a9e22),_0x1f0723,_0x5e8d00,_0x444c96,X['ghostRadius']),_0x118f0f[_0x3ec74d(0x3ef)]=X[_0x3ec74d(0x2bd)],_0x118f0f[_0x3ec74d(0x222)](),_0x118f0f[_0x3ec74d(0x267)]();}),_0x4f1f93[_0x1c2569(0x2d1)]((_0x36f33e,_0x35785c)=>{const _0x1fab85=_0x1c2569;if(!(_0x1fab85(0x28f)in _0x36f33e)||_0x36f33e[_0x1fab85(0x28f)][_0x1fab85(0x452)]===0x0)return;let _0x5ed5ad=_0x450303+_0x35785c*(_0x5e8d00+_0x3a9e22),_0x2a82ac=_0x5ed5ad+_0x5e8d00/0x2,_0x3fac0f=_0x36f33e['side']===_0x1fab85(0x449)?_0x1fab85(0x449):_0x1fab85(0x2e1),_0x1c4880=_0x36f33e[_0x1fab85(0x28f)]['slice'](0x0,0x2),_0x91dc3c=_0x1c4880[_0x1fab85(0x452)]*_0x444c96+Math[_0x1fab85(0x31c)](0x0,_0x1c4880[_0x1fab85(0x452)]-0x1)*_0x3b2a71,_0x72fed1=_0x5ed5ad+_0x5e8d00+_0x1fa9e8[_0x1fab85(0x2e6)],_0x31ef83=_0x3fac0f===_0x1fab85(0x2e1)?_0x1f0723-_0x48c683-_0x91dc3c:_0x1f0723+_0x444c96+_0x48c683,_0x1aad10=_0x31ef83+_0x91dc3c/0x2;_0x118f0f['beginPath'](),_0x118f0f[_0x1fab85(0x2a2)](_0x2a82ac,_0x3fac0f===_0x1fab85(0x2e1)?_0x1f0723:_0x1f0723+_0x444c96),_0x118f0f[_0x1fab85(0x28d)](_0x2a82ac,_0x1aad10),_0x118f0f[_0x1fab85(0x28d)](_0x72fed1,_0x1aad10),_0x1c4880[_0x1fab85(0x2d1)]((_0x12372a,_0x2286a6)=>{const _0xa61ff5=_0x1fab85;let _0xc5f3e7=_0x31ef83+_0x2286a6*(_0x444c96+_0x3b2a71)+_0x444c96/0x2;_0x118f0f[_0xa61ff5(0x2a2)](_0x72fed1,_0xc5f3e7),_0x118f0f['lineTo'](_0x72fed1+_0x5e8d00,_0xc5f3e7);}),_0x118f0f[_0x1fab85(0x267)](),_0x1c4880[_0x1fab85(0x2d1)]((_0x1eafa1,_0x3bbe80)=>{const _0x213610=_0x1fab85;let _0x41432e=_0x31ef83+_0x3bbe80*(_0x444c96+_0x3b2a71);Z(_0x118f0f,_0x72fed1,_0x41432e,_0x5e8d00,_0x444c96,X[_0x213610(0x307)]),_0x118f0f[_0x213610(0x3ef)]=X[_0x213610(0x2bd)],_0x118f0f[_0x213610(0x222)](),_0x118f0f[_0x213610(0x267)]();});});}else{let _0x5346f0=_0x39a274['x'],_0x5a2121=_0x26aabc+_0x5b72a0,_0x3d5e0e=_0x1fa9e8[_0x1c2569(0x359)],_0x5535d7=_0x26aabc+_0x5b72a0+_0x3d5e0e,_0x5bce05=_0x5535d7+(_0x4f1f93[_0x1c2569(0x452)]-0x1)*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2;_0x118f0f['moveTo'](_0x5346f0,_0x5a2121),_0x118f0f[_0x1c2569(0x28d)](_0x5346f0,_0x5bce05),_0x4f1f93[_0x1c2569(0x2d1)]((_0x4b885e,_0x5a217d)=>{const _0x350246=_0x1c2569;let _0xd03162=_0x5535d7+_0x5a217d*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2,_0x4ca3e8=_0x4b885e[_0x350246(0x350)]===_0x350246(0x289)?_0x350246(0x289):_0x350246(0x445),_0x3a8513=_0x4ca3e8===_0x350246(0x289)?_0x5346f0+_0x1fa9e8[_0x350246(0x2e6)]:_0x5346f0-_0x1fa9e8['branchGap']-_0xe54512,_0x350770=_0x4ca3e8===_0x350246(0x289)?_0x3a8513:_0x3a8513+_0xe54512;_0x118f0f[_0x350246(0x2a2)](_0x5346f0,_0xd03162),_0x118f0f['lineTo'](_0x350770,_0xd03162);}),_0x118f0f[_0x1c2569(0x267)](),_0x4f1f93[_0x1c2569(0x2d1)]((_0x217208,_0x2ee050)=>{const _0x238b87=_0x1c2569;let _0x539286=_0x5535d7+_0x2ee050*(_0x34431e+_0x3d5e0e);Z(_0x118f0f,(_0x217208[_0x238b87(0x350)]==='right'?_0x238b87(0x289):_0x238b87(0x445))==_0x238b87(0x289)?_0x5346f0+_0x1fa9e8[_0x238b87(0x2e6)]:_0x5346f0-_0x1fa9e8[_0x238b87(0x2e6)]-_0xe54512,_0x539286,_0xe54512,_0x34431e,X[_0x238b87(0x307)]),_0x118f0f[_0x238b87(0x3ef)]=X[_0x238b87(0x2bd)],_0x118f0f[_0x238b87(0x222)](),_0x118f0f[_0x238b87(0x267)]();}),_0x4f1f93[_0x1c2569(0x2d1)]((_0x248402,_0xd58d89)=>{const _0x523f2=_0x1c2569;if(!(_0x523f2(0x28f)in _0x248402)||_0x248402['children'][_0x523f2(0x452)]===0x0)return;let _0x4704c1=_0x5535d7+_0xd58d89*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2,_0x4a4345=_0x248402[_0x523f2(0x350)]===_0x523f2(0x289)?_0x523f2(0x289):'left',_0x96ed65=_0x248402[_0x523f2(0x28f)][_0x523f2(0x2eb)](0x0,0x2),_0x4339ee=_0x96ed65[_0x523f2(0x452)]*_0x34431e+Math[_0x523f2(0x31c)](0x0,_0x96ed65[_0x523f2(0x452)]-0x1)*_0x3b2a71,_0x358fec=_0x4a4345===_0x523f2(0x289)?_0x5346f0+_0x1fa9e8[_0x523f2(0x2e6)]:_0x5346f0-_0x1fa9e8[_0x523f2(0x2e6)]-_0xe54512,_0x33e82d=_0x4a4345===_0x523f2(0x289)?_0x358fec+_0xe54512+_0x48c683:_0x358fec-_0x48c683-_0xe54512,_0x17386d=_0x4704c1-_0x4339ee/0x2,_0xacfeaf=_0x4a4345===_0x523f2(0x289)?_0x358fec+_0xe54512:_0x358fec,_0x2f8d89=_0x4a4345===_0x523f2(0x289)?_0x33e82d:_0x33e82d+_0xe54512;_0x118f0f[_0x523f2(0x2de)](),_0x118f0f[_0x523f2(0x2a2)](_0xacfeaf,_0x4704c1),_0x118f0f[_0x523f2(0x28d)](_0x2f8d89,_0x4704c1),_0x96ed65[_0x523f2(0x2d1)]((_0x4bd995,_0x13d642)=>{const _0x316ec0=_0x523f2;let _0x9566cd=_0x17386d+_0x13d642*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f[_0x316ec0(0x2a2)](_0x2f8d89,_0x9566cd),_0x118f0f[_0x316ec0(0x28d)](_0x4a4345===_0x316ec0(0x289)?_0x33e82d+_0xe54512:_0x33e82d,_0x9566cd);}),_0x118f0f[_0x523f2(0x267)](),_0x96ed65['forEach']((_0x31f653,_0x26ad45)=>{const _0x1f7655=_0x523f2;let _0x3a0970=_0x17386d+_0x26ad45*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x33e82d,_0x3a0970,_0xe54512,_0x34431e,X[_0x1f7655(0x307)]),_0x118f0f[_0x1f7655(0x3ef)]=X[_0x1f7655(0x2bd)],_0x118f0f[_0x1f7655(0x222)](),_0x118f0f[_0x1f7655(0x267)]();});});}}}else{if(mr(this['_state'][_0x1c2569(0x35e)])){let _0x53e090=this[_0x1c2569(0x2e0)][_0x1c2569(0x28f)]??[],_0x505ab8=_0x26aabc+_0x5b72a0,_0x31bd22=_0x505ab8+_0x48c683,_0x574863=_0x39a274['x'];if(_0x53e090[_0x1c2569(0x452)]>0x0){let _0x1cb715=_0x31bd22+(_0x53e090[_0x1c2569(0x452)]-0x1)*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f[_0x1c2569(0x2de)](),_0x118f0f[_0x1c2569(0x2a2)](_0x574863,_0x505ab8),_0x118f0f[_0x1c2569(0x28d)](_0x574863,_0x1cb715),_0x53e090[_0x1c2569(0x2d1)]((_0x57633c,_0x1d89f4)=>{const _0x3dc150=_0x1c2569;let _0x3c58a6=gr(_0x57633c,_0x1d89f4,this[_0x3dc150(0x2e0)]['structureKind']),_0x1bb80f=_0x31bd22+_0x1d89f4*(_0x34431e+_0x3b2a71),_0x314104=_0x3c58a6==='right'?_0x574863+_0x48c683:_0x574863-_0x48c683-_0xe54512,_0x2fda5f=_0x1bb80f+_0x34431e/0x2;_0x118f0f['moveTo'](_0x574863,_0x2fda5f),_0x118f0f[_0x3dc150(0x28d)](_0x3c58a6===_0x3dc150(0x289)?_0x314104:_0x314104+_0xe54512,_0x2fda5f);}),_0x118f0f[_0x1c2569(0x267)](),_0x53e090['forEach']((_0x255429,_0x5cf4db)=>{const _0xc9d0d1=_0x1c2569;let _0x30f8e4=gr(_0x255429,_0x5cf4db,this['_state'][_0xc9d0d1(0x35e)]),_0x1d8045=_0x31bd22+_0x5cf4db*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x30f8e4===_0xc9d0d1(0x289)?_0x574863+_0x48c683:_0x574863-_0x48c683-_0xe54512,_0x1d8045,_0xe54512,_0x34431e,X[_0xc9d0d1(0x307)]),_0x118f0f[_0xc9d0d1(0x3ef)]=X[_0xc9d0d1(0x2bd)],_0x118f0f[_0xc9d0d1(0x222)](),_0x118f0f[_0xc9d0d1(0x267)]();});}}else _0x46c778&&[_0x1c2569(0x2e1),'bottom']['forEach'](_0xb84bde=>{const _0x2c8c63=_0x1c2569;let _0x263fc1=_0x126b92[_0xb84bde];if(_0x263fc1[_0x2c8c63(0x452)]===0x0)return;let _0x3c5594=_0x263fc1[_0x2c8c63(0x452)]*_0xe54512+Math[_0x2c8c63(0x31c)](0x0,_0x263fc1['length']-0x1)*_0x3b2a71,_0x44a41f=_0x39a274['x']-_0x3c5594/0x2,_0x5d5ca7=_0xb84bde==='bottom'?_0x26aabc+_0x5b72a0:_0x26aabc,_0x24b22b=_0xb84bde===_0x2c8c63(0x449)?_0x5d5ca7+_0x1fa9e8[_0x2c8c63(0x2e6)]:_0x5d5ca7-_0x1fa9e8[_0x2c8c63(0x2e6)],_0xdff226=_0xb84bde===_0x2c8c63(0x449)?_0x26aabc+_0x5b72a0+_0x48c683:_0x26aabc-_0x48c683-_0x34431e;_0x118f0f['beginPath'](),_0x118f0f[_0x2c8c63(0x2a2)](_0x39a274['x'],_0x5d5ca7),_0x118f0f['lineTo'](_0x39a274['x'],_0x24b22b),_0x263fc1[_0x2c8c63(0x452)]>0x1&&(_0x118f0f['moveTo'](_0x44a41f+_0xe54512/0x2,_0x24b22b),_0x118f0f['lineTo'](_0x44a41f+_0x3c5594-_0xe54512/0x2,_0x24b22b)),_0x263fc1['forEach']((_0x237ab6,_0x3300cf)=>{const _0x4709ba=_0x2c8c63;let _0x48f570=_0x44a41f+_0x3300cf*(_0xe54512+_0x3b2a71)+_0xe54512/0x2;_0x118f0f[_0x4709ba(0x2a2)](_0x48f570,_0x24b22b),_0x118f0f[_0x4709ba(0x28d)](_0x48f570,_0xb84bde===_0x4709ba(0x449)?_0xdff226:_0xdff226+_0x34431e);}),_0x118f0f[_0x2c8c63(0x267)](),_0x263fc1[_0x2c8c63(0x2d1)]((_0x51a64d,_0x457d49)=>{const _0x3f1151=_0x2c8c63;Z(_0x118f0f,_0x44a41f+_0x457d49*(_0xe54512+_0x3b2a71),_0xdff226,_0xe54512,_0x34431e,X[_0x3f1151(0x307)]),_0x118f0f['fillStyle']=X[_0x3f1151(0x2bd)],_0x118f0f[_0x3f1151(0x222)](),_0x118f0f[_0x3f1151(0x267)]();});});}(_0x46c778||mr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])||hr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])?[]:[_0x1c2569(0x445),_0x1c2569(0x289)])[_0x1c2569(0x2d1)](_0x320495=>{const _0x92c0b1=_0x1c2569;let _0x30336f=_0x126b92[_0x320495];if(_0x30336f[_0x92c0b1(0x452)]===0x0)return;let _0x1ecd76=_0x30336f[_0x92c0b1(0x452)]*_0x34431e+Math[_0x92c0b1(0x31c)](0x0,_0x30336f[_0x92c0b1(0x452)]-0x1)*_0x3b2a71,_0x4c1464=_0x39a274['y']-_0x1ecd76/0x2,_0x402551=_0x320495===_0x92c0b1(0x289)?_0x54efd7+_0x5d6689:_0x54efd7,_0x1692f4=_0x320495==='right'?_0x402551+_0x1fa9e8[_0x92c0b1(0x2e6)]:_0x402551-_0x1fa9e8[_0x92c0b1(0x2e6)],_0x3fdeda=_0x320495===_0x92c0b1(0x289)?_0x54efd7+_0x5d6689+_0x48c683:_0x54efd7-_0x48c683-_0xe54512;_0x118f0f['beginPath'](),_0x118f0f['moveTo'](_0x402551,_0x39a274['y']),_0x118f0f[_0x92c0b1(0x28d)](_0x1692f4,_0x39a274['y']),_0x30336f['length']>0x1&&(_0x118f0f[_0x92c0b1(0x2a2)](_0x1692f4,_0x4c1464+_0x34431e/0x2),_0x118f0f[_0x92c0b1(0x28d)](_0x1692f4,_0x4c1464+_0x1ecd76-_0x34431e/0x2)),_0x30336f[_0x92c0b1(0x2d1)]((_0x2faa2c,_0x27fad8)=>{const _0x3e7e55=_0x92c0b1;let _0x1eff84=_0x4c1464+_0x27fad8*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f['moveTo'](_0x1692f4,_0x1eff84),_0x118f0f[_0x3e7e55(0x28d)](_0x320495==='right'?_0x3fdeda:_0x3fdeda+_0xe54512,_0x1eff84);}),_0x118f0f['stroke'](),_0x30336f[_0x92c0b1(0x2d1)]((_0x22ff80,_0x4540e2)=>{const _0x295259=_0x92c0b1;let _0x2d7db9=_0x4c1464+_0x4540e2*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x3fdeda,_0x2d7db9,_0xe54512,_0x34431e,X[_0x295259(0x307)]),_0x118f0f['fillStyle']=X['ghostFillColor'],_0x118f0f[_0x295259(0x222)](),_0x118f0f['stroke']();});}),Z(_0x118f0f,_0x54efd7,_0x26aabc,_0x5d6689,_0x5b72a0,X[_0x1c2569(0x1ce)]),_0x118f0f[_0x1c2569(0x3ef)]=X[_0x1c2569(0x422)],_0x118f0f[_0x1c2569(0x222)](),_0x118f0f[_0x1c2569(0x267)](),_0x118f0f[_0x1c2569(0x3ef)]=X[_0x1c2569(0x3fc)],_0x118f0f[_0x1c2569(0x4ae)]=sn(X[_0x1c2569(0x304)],X[_0x1c2569(0x3cb)],_0x1db0c8),_0x118f0f[_0x1c2569(0x284)]=_0x1c2569(0x237),_0x118f0f[_0x1c2569(0x412)]=_0x1c2569(0x356);let _0x465b1f=X[_0x1c2569(0x3dc)]/_0x1db0c8;return _0x118f0f['fillText'](_0x251b5d,_0x39a274['x'],_0x39a274['y'],Math[_0x1c2569(0x31c)](0x1,_0x5d6689-_0x465b1f*0x2)),_0x118f0f[_0x1c2569(0x1a0)](),this[_0x1c2569(0x32c)](!0x1),this;}};const yr={'children':[{'text':_0x251b5d,'orderKey':_0x339fd4(0x0),'side':_0x4f3d14(0x289)},{'text':_0x251b5d,'orderKey':_0x339fd4(0x1),'side':_0x4f3d14(0x289)},{'text':_0x251b5d,'orderKey':_0x339fd4(0x2),'side':_0x4f3d14(0x289)}]};var br=class extends _0x4c4d8b{constructor(..._0x1752cf){const _0xbf3cfb=_0x4f3d14;super(..._0x1752cf),K(this,_0xbf3cfb(0x269),yr);}[_0x4f3d14(0x27b)](_0x34a2ec){const _0x221825=_0x4f3d14;var _0x26a42d;let _0x1d78cb=(_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x28f)])??(_0x34a2ec==null||(_0x26a42d=_0x34a2ec[_0x221825(0x36c)])==null?void 0x0:_0x26a42d[_0x221825(0x1d6)][_0x221825(0x28f)]);this[_0x221825(0x269)]={'rootText':_0x34a2ec==null?void 0x0:_0x34a2ec['rootText'],'structureKind':_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x35e)],'branchLineType':_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x402)],'children':this[_0x221825(0x2e8)](_0x1d78cb,_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x35e)]),'blueprint':_0x34a2ec!=null&&_0x34a2ec[_0x221825(0x36c)]?this[_0x221825(0x2ec)](_0x34a2ec[_0x221825(0x36c)]):void 0x0};}['getTemplate'](){const _0x2d1545=_0x4f3d14;var _0x230796;return{'rootText':this[_0x2d1545(0x269)][_0x2d1545(0x2cc)],'structureKind':this[_0x2d1545(0x269)]['structureKind'],'branchLineType':this['_template'][_0x2d1545(0x402)],'children':(_0x230796=this[_0x2d1545(0x269)][_0x2d1545(0x28f)])==null?void 0x0:_0x230796['map'](_0x5e8e55=>({..._0x5e8e55})),'blueprint':this[_0x2d1545(0x269)]['blueprint']?this['_cloneBlueprint'](this[_0x2d1545(0x269)]['blueprint']):void 0x0};}[_0x4f3d14(0x2ec)](_0x409890){const _0x25ec84=_0x4f3d14;return{'title':_0x409890['title'],'root':this[_0x25ec84(0x20e)](_0x409890[_0x25ec84(0x1d6)])};}['_cloneBlueprintNode'](_0x2fb389){const _0x26eaa8=_0x4f3d14;return{..._0x2fb389,'foreignAttributes':_0x2fb389[_0x26eaa8(0x2e9)]?{..._0x2fb389[_0x26eaa8(0x2e9)]}:void 0x0,'children':_0x2fb389['children'][_0x26eaa8(0x2c1)](_0x5f53d9=>this['_cloneBlueprintNode'](_0x5f53d9))};}[_0x4f3d14(0x2e8)](_0x40afe1,_0x5cef28){const _0x40d9f4=_0x4f3d14;let _0x4ecab8=!_0x40afe1,_0x16ee55=_0x40afe1??yr['children'];return _0x16ee55==null?void 0x0:_0x16ee55[_0x40d9f4(0x2c1)]((_0x250348,_0x3ae197)=>({..._0x250348,'text':_0x250348[_0x40d9f4(0x488)]??_0x251b5d,'side':this['_resolveChildSide'](_0x250348[_0x40d9f4(0x350)],_0x3ae197,_0x5cef28,_0x4ecab8)}));}[_0x4f3d14(0x1e4)](_0x27fc9d,_0x24f722,_0x10d8bd,_0x27a6d1){const _0x25a495=_0x4f3d14;return _0x10d8bd==='mindmap-vertical'?_0x27a6d1?_0x25a495(0x449):_0x27fc9d??'bottom':_0x10d8bd===_0x25a495(0x195)?_0x27a6d1?_0x25a495(0x445):_0x27fc9d??'left':_0x10d8bd===_0x25a495(0x378)?_0x27a6d1?_0x25a495(0x289):_0x27fc9d??_0x25a495(0x289):_0x10d8bd===_0x25a495(0x2f6)?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x445):_0x25a495(0x289):_0x27fc9d??(_0x24f722%0x2==0x0?'left':_0x25a495(0x289)):_0x10d8bd===_0x25a495(0x243)?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x2e1):_0x25a495(0x449):_0x27fc9d??(_0x24f722%0x2==0x0?_0x25a495(0x2e1):_0x25a495(0x449)):_0x10d8bd==='timeline-vertical'?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x445):_0x25a495(0x289):_0x27fc9d??(_0x24f722%0x2==0x0?'left':_0x25a495(0x289)):_0x27fc9d;}};function xr(_0x14cd6b,_0x6981bd){const _0x3d33c7=_0x4f3d14;let _0x30779e=Number[_0x3d33c7(0x490)](_0x6981bd['zoomRatio'])&&_0x6981bd[_0x3d33c7(0x1e9)]>0x0?_0x6981bd[_0x3d33c7(0x1e9)]:0x1;return{'x':Math['round']((_0x14cd6b['offsetX']-_0x6981bd[_0x3d33c7(0x33c)]['x'])/_0x30779e),'y':Math[_0x3d33c7(0x28e)]((_0x14cd6b[_0x3d33c7(0x2a5)]-_0x6981bd[_0x3d33c7(0x33c)]['y'])/_0x30779e)};}function Sr(_0x206d65){const _0x4f241a=_0x4f3d14;var _0x204f52;_0x206d65!=null&&_0x206d65[_0x4f241a(0x45e)]?_0x206d65['dispose']():_0x206d65==null||(_0x204f52=_0x206d65[_0x4f241a(0x31a)])==null||_0x204f52[_0x4f241a(0x2a4)](_0x206d65);}function Cr(_0x3c89b4){const _0x43f83e=_0x4f3d14;var _0x1b35e9;return _0x3c89b4[_0x43f83e(0x25a)]===_0x2f25e2[_0x43f83e(0x3fb)]&&((_0x1b35e9=_0x3c89b4[_0x43f83e(0x3e4)])==null?void 0x0:_0x1b35e9[_0x43f83e(0x3b5)])===_0x2f25e2[_0x43f83e(0x3fb)];}let wr=class extends _0x41f8e5{constructor(_0xe5766d,_0x1ed093,_0x26c693,_0x44e323,_0x1805ad,_0x5a06c2,_0x5cd113){const _0x2fce75=_0x4f3d14;super(),this[_0x2fce75(0x414)]=_0xe5766d,this[_0x2fce75(0x2fd)]=_0x1ed093,this[_0x2fce75(0x407)]=_0x26c693,this[_0x2fce75(0x32f)]=_0x44e323,this[_0x2fce75(0x230)]=_0x1805ad,this[_0x2fce75(0x1a3)]=_0x5a06c2,this[_0x2fce75(0x28b)]=_0x5cd113,K(this,_0x2fce75(0x2f0),null),K(this,_0x2fce75(0x19b),null),this['_init']();}[_0x4f3d14(0x45b)](){const _0x27ec1d=_0x4f3d14;var _0x1c4d35;let {scene:_0x3a8471,unitId:_0x2cd0a3}=this['_renderContext'],_0x43f947=this[_0x27ec1d(0x2fd)][_0x27ec1d(0x236)](_0x2cd0a3,_0x8b4a1a['UNIVER_BOARD']);if(!_0x43f947)return;let _0x401074=(_0x1c4d35=_0x3a8471['onPointerMove$'])==null?void 0x0:_0x1c4d35[_0x27ec1d(0x474)]({'priority':0x4,'next':([_0x3bfc23,_0x2562f3])=>this[_0x27ec1d(0x33d)](_0x3bfc23,_0x2562f3)}),_0x567ed2=_0x3a8471[_0x27ec1d(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0x58292c,_0x4e48b1])=>this[_0x27ec1d(0x3b2)](_0x43f947,_0x58292c,_0x4e48b1)});this[_0x27ec1d(0x44d)](_0x122c68(()=>Sr(_0x401074))),this['disposeWithMe'](_0x122c68(()=>Sr(_0x567ed2)));let _0x5d1a3d=this['_stateService'][_0x27ec1d(0x475)]['subscribe'](()=>this['_syncPreviewObject']());this[_0x27ec1d(0x44d)](_0x122c68(()=>Sr(_0x5d1a3d))),this[_0x27ec1d(0x44d)](_0x122c68(()=>{const _0x276956=_0x27ec1d;this[_0x276956(0x2bb)]();})),this[_0x27ec1d(0x29a)]();}[_0x4f3d14(0x29a)](){const _0x45c8cd=_0x4f3d14;var _0x56ec6b,_0x484e79;let _0x10449f=this[_0x45c8cd(0x407)][_0x45c8cd(0x25b)]();if(!Cr(_0x10449f)){this[_0x45c8cd(0x2bb)]();return;}let _0x287a24=this[_0x45c8cd(0x2aa)](),_0x8e3160=this[_0x45c8cd(0x230)][_0x45c8cd(0x40f)]();_0x287a24[_0x45c8cd(0x2e5)]({'point':this[_0x45c8cd(0x19b)],'structureKind':_0x8e3160[_0x45c8cd(0x35e)],'children':_0x8e3160[_0x45c8cd(0x28f)],'blueprint':_0x8e3160['blueprint'],'zoomRatio':_0x10449f[_0x45c8cd(0x1e9)]}),(_0x56ec6b=(_0x484e79=this['_renderContext'][_0x45c8cd(0x48b)])[_0x45c8cd(0x32c)])==null||_0x56ec6b[_0x45c8cd(0x2a4)](_0x484e79,!0x0);}[_0x4f3d14(0x2aa)](){const _0x34dcb3=_0x4f3d14;var _0x283c22,_0x57364a;if(this[_0x34dcb3(0x2f0)])return this['_previewObject'];let _0x36de05=this['_insertStateService'][_0x34dcb3(0x40f)](),_0x3a7244=new vr(dr,{'point':this[_0x34dcb3(0x19b)],'structureKind':_0x36de05[_0x34dcb3(0x35e)],'children':_0x36de05[_0x34dcb3(0x28f)],'blueprint':_0x36de05[_0x34dcb3(0x36c)],'zoomRatio':this['_stateService'][_0x34dcb3(0x25b)]()['zoomRatio']});return this[_0x34dcb3(0x2f0)]=_0x3a7244,(_0x283c22=(_0x57364a=this[_0x34dcb3(0x414)][_0x34dcb3(0x48b)])[_0x34dcb3(0x2c3)])==null||_0x283c22[_0x34dcb3(0x2a4)](_0x57364a,_0x3a7244,fr),_0x3a7244;}[_0x4f3d14(0x2bb)](){const _0x3dd4e6=_0x4f3d14;var _0x400948,_0x517830,_0x71ac26,_0x5bd62a;this[_0x3dd4e6(0x2f0)]?((_0x400948=(_0x517830=this[_0x3dd4e6(0x414)][_0x3dd4e6(0x48b)])[_0x3dd4e6(0x341)])==null||_0x400948[_0x3dd4e6(0x2a4)](_0x517830,[this['_previewObject']]),this[_0x3dd4e6(0x2f0)]=null,this[_0x3dd4e6(0x19b)]=null,(_0x71ac26=(_0x5bd62a=this[_0x3dd4e6(0x414)][_0x3dd4e6(0x48b)])[_0x3dd4e6(0x32c)])==null||_0x71ac26['call'](_0x5bd62a,!0x0)):this[_0x3dd4e6(0x19b)]=null;}['_getPointFromEvent'](_0x42b16f){const _0xf5327f=_0x4f3d14;let _0xdd95ed=this[_0xf5327f(0x407)]['getState']();return xr(_0x42b16f,{'panOffset':_0xdd95ed[_0xf5327f(0x36e)],'zoomRatio':_0xdd95ed[_0xf5327f(0x1e9)]});}[_0x4f3d14(0x1ae)](_0x3c8d89){const _0x1200e1=_0x4f3d14;return{'left':Math[_0x1200e1(0x28e)](_0x3c8d89['x']-_0x5ad525['rootWidth']/0x2),'top':Math[_0x1200e1(0x28e)](_0x3c8d89['y']-_0x5ad525[_0x1200e1(0x499)]/0x2)};}['_handlePointerMove'](_0x2345dc,_0x5b7e5e){const _0x3f203a=_0x4f3d14;Cr(this[_0x3f203a(0x407)][_0x3f203a(0x25b)]())&&(this[_0x3f203a(0x19b)]=this['_getPointFromEvent'](_0x2345dc),this[_0x3f203a(0x29a)](),_0x5b7e5e[_0x3f203a(0x1de)]());}async[_0x4f3d14(0x3b2)](_0x3b8443,_0x2fb9da,_0x29f89c){const _0x4bd40b=_0x4f3d14;let _0x5aaeda=await this[_0x4bd40b(0x1fc)](_0x3b8443,_0x2fb9da,_0x29f89c);if(!_0x5aaeda)return;let _0x5631f4={'unitId':this[_0x4bd40b(0x414)][_0x4bd40b(0x291)],'subUnitId':_0x5aaeda[_0x4bd40b(0x20a)]};this[_0x4bd40b(0x28b)][_0x4bd40b(0x26a)](),this[_0x4bd40b(0x28b)]['setEditing']({..._0x5631f4,'shapeId':_0x5aaeda[_0x4bd40b(0x380)],'shapeKey':_0x55b3e2(_0x5631f4[_0x4bd40b(0x291)],_0x5aaeda[_0x4bd40b(0x380)]),'visible':!0x0});}async[_0x4f3d14(0x1fc)](_0x51bba6,_0x134d18,_0x490de9){const _0x5a8331=_0x4f3d14;var _0x1b682d;let _0xde1ca6=this[_0x5a8331(0x407)]['getState'](),_0x4cf7d5=_0x134d18[_0x5a8331(0x26f)]??0x0;if(!Cr(_0xde1ca6)||_0x4cf7d5!==0x0)return null;let _0x1bd8ee=this[_0x5a8331(0x2c4)](_0x134d18),_0x5d5e65=this[_0x5a8331(0x1ae)](_0x1bd8ee),_0x2e9866=this[_0x5a8331(0x230)][_0x5a8331(0x40f)](),_0x226af7=_0x21938d(0x6),_0x398d5d=_0x51bba6['getActivePageId'](),_0x27aa8c=this[_0x5a8331(0x32f)]['executeCommand'](_0x243dd0['id'],{'unitId':this[_0x5a8331(0x414)][_0x5a8331(0x291)],'subUnitId':_0x398d5d,'left':_0x5d5e65['left'],'top':_0x5d5e65[_0x5a8331(0x2e1)],'rootNodeId':_0x226af7,'rootText':_0x2e9866['rootText'],'structureKind':_0x2e9866['structureKind'],'branchLineType':_0x2e9866['branchLineType'],'children':_0x2e9866['children'],'blueprint':_0x2e9866[_0x5a8331(0x36c)]});if(this[_0x5a8331(0x407)][_0x5a8331(0x3cf)](_0x2f25e2['Select']),_0x490de9[_0x5a8331(0x1de)](),(_0x1b682d=_0x134d18[_0x5a8331(0x213)])==null||_0x1b682d['call'](_0x134d18),!await _0x27aa8c||this[_0x5a8331(0x46f)])return null;let _0x79897c={'unitId':this[_0x5a8331(0x414)][_0x5a8331(0x291)],'subUnitId':_0x398d5d};return this[_0x5a8331(0x1a3)]['selectElements'](_0x79897c,[_0x226af7],_0x226af7),{'rootNodeId':_0x226af7,'subUnitId':_0x398d5d};}};wr=J([q(0x1,_0x253a65),q(0x2,_0x31b38d),q(0x3,_0x27d0fe),q(0x4,_0x132a38(br)),q(0x5,_0x16fdab),q(0x6,_0x132a38(_0x2d7b12))],wr);var Tr=class extends _0x4c4d8b{constructor(..._0x14f692){const _0x152156=_0x4f3d14;super(..._0x14f692),K(this,_0x152156(0x280),new _0x10bbaf()),K(this,_0x152156(0x403),this[_0x152156(0x280)][_0x152156(0x226)]());}[_0x4f3d14(0x3da)](_0x458898){const _0x304ee2=_0x4f3d14;this['_refresh$'][_0x304ee2(0x456)](_0x458898);}[_0x4f3d14(0x45e)](){const _0xd20201=_0x4f3d14;this[_0xd20201(0x280)][_0xd20201(0x319)](),super[_0xd20201(0x45e)]();}};function Er(_0x5bf018){const _0x1db762=_0x4f3d14;return typeof _0x5bf018==_0x1db762(0x3ba)&&Number['isFinite'](_0x5bf018)&&_0x5bf018>0x0;}function Dr(_0x2eae98,_0x33b76d,_0x493020){const _0x470b11=_0x4f3d14;let _0x51444b=_0x2eae98[_0x33b76d],_0x35ffe1=_0x5585ba(_0x51444b==null?void 0x0:_0x51444b[_0x470b11(0x1ca)]);if(!_0x51444b||!_0x35ffe1)return null;let _0x412316=_0x26ff7e(_0x51444b,_0x493020);if(!_0x412316)return null;let _0x2b12c2=_0x51444b['transform']??_0x51444b['element'][_0x470b11(0x330)],_0x1dc175={..._0x2eae98,[_0x33b76d]:{..._0x51444b,'transform':{..._0x2b12c2,'width':_0x412316[_0x470b11(0x48c)],'height':_0x412316[_0x470b11(0x36d)]},'element':{..._0x51444b[_0x470b11(0x1ca)],'transform':{..._0x51444b[_0x470b11(0x1ca)][_0x470b11(0x330)],'width':_0x412316[_0x470b11(0x48c)],'height':_0x412316[_0x470b11(0x36d)]}}}};return _0x4c0113(_0x1dc175,_0x35ffe1[_0x470b11(0x2ea)]);}let Or=class extends _0x41f8e5{constructor(_0xa4cd41,_0x228e62,_0xa3b9a6,_0x197f05,_0x63613e,_0x22b258){const _0xc8a26c=_0x4f3d14;super(),this['_renderContext']=_0xa4cd41,this[_0xc8a26c(0x338)]=_0x228e62,this[_0xc8a26c(0x3dd)]=_0xa3b9a6,this[_0xc8a26c(0x2d9)]=_0x197f05,this['_previewRefreshService']=_0x63613e,this['_commandService']=_0x22b258,K(this,_0xc8a26c(0x40d),null),K(this,_0xc8a26c(0x1c4),{'match':_0x4ba950=>_0x4ba950[_0xc8a26c(0x291)]===this[_0xc8a26c(0x414)]['unitId']&&!!_0x5585ba(_0x4ba950[_0xc8a26c(0x1ca)]),'resolveHostSize':_0x12158e=>this[_0xc8a26c(0x39e)](_0x12158e),'previewHostSize':_0x588684=>this['_previewHostSize'](_0x588684),'updateHostSize':_0x3821c2=>this[_0xc8a26c(0x328)](_0x3821c2),'updateShapeText':_0x5ddc9b=>this[_0xc8a26c(0x259)](_0x5ddc9b)}),this['disposeWithMe'](this['_intrinsicSizeService'][_0xc8a26c(0x295)](this['_provider'])),this[_0xc8a26c(0x339)](),this['disposeWithMe'](_0x122c68(()=>this[_0xc8a26c(0x448)]()));}['_updateHostSize'](_0x25871a){const _0x35f6d8=_0x4f3d14;return this[_0x35f6d8(0x372)](_0x25871a);}[_0x4f3d14(0x259)](_0xea617b){const _0x3c7762=_0x4f3d14;let _0x562541=_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x1da)]?this['_resolveHostSize']({'elementData':_0xea617b[_0x3c7762(0x241)],'params':_0xea617b[_0x3c7762(0x2cb)]['hostSize']}):null,_0x1edf80=_0xea617b[_0x3c7762(0x241)]['transform']??_0xea617b[_0x3c7762(0x241)][_0x3c7762(0x1ca)][_0x3c7762(0x330)];return(!_0x562541||_0x562541[_0x3c7762(0x48c)]===_0x1edf80[_0x3c7762(0x48c)]&&_0x562541[_0x3c7762(0x36d)]===_0x1edf80[_0x3c7762(0x36d)])&&_0x1fcca7(_0xea617b['params'][_0x3c7762(0x1eb)],_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x224)])?!0x0:this[_0x3c7762(0x32f)][_0x3c7762(0x4a8)](_0x3d67d8['id'],{'unitId':_0xea617b[_0x3c7762(0x2cb)]['unitId'],'subUnitId':_0xea617b['params'][_0x3c7762(0x20a)],'nodeId':_0xea617b['params'][_0x3c7762(0x3c3)],'shapeText':_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x1eb)],..._0x562541?{'hostSize':{'width':_0x562541[_0x3c7762(0x48c)],'height':_0x562541['height']}}:null});}['_previewHostSize'](_0x53c69a){const _0x4d5068=_0x4f3d14;let _0x35ba4a=this[_0x4d5068(0x39e)](_0x53c69a);if(!_0x35ba4a)return!0x1;let _0x440e24=_0x53c69a[_0x4d5068(0x241)][_0x4d5068(0x330)]??_0x53c69a[_0x4d5068(0x241)]['element']['transform'];return!this[_0x4d5068(0x40d)]&&_0x440e24[_0x4d5068(0x48c)]===_0x35ba4a[_0x4d5068(0x48c)]&&_0x440e24[_0x4d5068(0x36d)]===_0x35ba4a[_0x4d5068(0x36d)]||this[_0x4d5068(0x329)](_0x53c69a,_0x35ba4a),!0x0;}['_resolveHostSize'](_0xb3fedf){const _0x5d3dc6=_0x4f3d14;return!Er(_0xb3fedf[_0x5d3dc6(0x2cb)]['width'])||!Er(_0xb3fedf[_0x5d3dc6(0x2cb)][_0x5d3dc6(0x36d)])?null:_0x26ff7e(_0xb3fedf[_0x5d3dc6(0x241)],{'width':_0xb3fedf['params'][_0x5d3dc6(0x48c)],'height':_0xb3fedf[_0x5d3dc6(0x2cb)][_0x5d3dc6(0x36d)]});}['_initEditingRestore'](){const _0xd1fb9c=_0x4f3d14;this[_0xd1fb9c(0x44d)](_0x122c68(this['_textEditingService']['editingParams$'][_0xd1fb9c(0x46c)](_0x41cd5b(this[_0xd1fb9c(0x494)]))['subscribe'](_0x471698=>{const _0x440aa5=_0xd1fb9c;_0x471698||this[_0x440aa5(0x448)]();})));}[_0x4f3d14(0x329)](_0x4c7171,_0x45f7de){const _0x4c84c5=_0x4f3d14;var _0xfb35f5;let _0x143078=this[_0x4c84c5(0x3dd)][_0x4c84c5(0x198)](_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],_0x4c7171[_0x4c84c5(0x2cb)]['subUnitId']),_0x2026ed=Dr(_0x143078,_0x4c7171['params'][_0x4c84c5(0x3c3)],_0x45f7de),_0x194caa=_0x5585ba((_0xfb35f5=_0x143078[_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x3c3)]])==null?void 0x0:_0xfb35f5['element']);_0x2026ed&&_0x194caa&&(this[_0x4c84c5(0x40d)]={'unitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],'subUnitId':_0x4c7171[_0x4c84c5(0x2cb)]['subUnitId'],'scopeId':_0x194caa[_0x4c84c5(0x2ea)]},this[_0x4c84c5(0x377)](_0x2026ed,_0x194caa[_0x4c84c5(0x2ea)])&&this[_0x4c84c5(0x400)]['notify']({'unitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],'subUnitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x20a)],'nodeId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x3c3)],'scopeId':_0x194caa[_0x4c84c5(0x2ea)]}));}[_0x4f3d14(0x448)](){const _0x2efd41=_0x4f3d14;let _0x34ebd1=this[_0x2efd41(0x40d)];if(!_0x34ebd1)return;this[_0x2efd41(0x40d)]=null;let _0xd7b9c6=this[_0x2efd41(0x3dd)]['getElementData'](_0x34ebd1[_0x2efd41(0x291)],_0x34ebd1['subUnitId']);this['_syncElementDataToScene'](_0xd7b9c6,_0x34ebd1[_0x2efd41(0x3a9)])&&this[_0x2efd41(0x400)][_0x2efd41(0x3da)]({'unitId':_0x34ebd1[_0x2efd41(0x291)],'subUnitId':_0x34ebd1[_0x2efd41(0x20a)],'nodeId':_0x34ebd1[_0x2efd41(0x3a9)],'scopeId':_0x34ebd1[_0x2efd41(0x3a9)]});}[_0x4f3d14(0x377)](_0x3aedec,_0x21c597){const _0x109c6c=_0x4f3d14;let _0x4d1370=!0x1;if(Object[_0x109c6c(0x2df)](_0x3aedec)['forEach'](_0x4bf80d=>{const _0xe44e26=_0x109c6c;var _0x1d62c8;let _0x44e10e=_0x5585ba(_0x4bf80d['element']),_0x41fd0a=(_0x1d62c8=_0x4bf80d[_0xe44e26(0x1ca)][_0xe44e26(0x192)])==null?void 0x0:_0x1d62c8['structured'];if(_0x4bf80d[_0xe44e26(0x3e9)]!==_0x21c597&&(_0x44e10e==null?void 0x0:_0x44e10e['structureScopeId'])!==_0x21c597&&(_0x41fd0a==null?void 0x0:_0x41fd0a[_0xe44e26(0x2ea)])!==_0x21c597)return;let _0x3b0be1=this['_getSceneObject'](_0x4bf80d[_0xe44e26(0x3e9)]);_0x3b0be1&&(_0x4d1370=_0x17e74f(_0x3b0be1,_0x4bf80d,{'elementData':_0x3aedec,'unitId':this[_0xe44e26(0x414)][_0xe44e26(0x291)]})||_0x4d1370);}),_0x4d1370){var _0x8b6b7c,_0x18353f;this['_renderContext']['scene'][_0x109c6c(0x32c)](!0x0),(_0x8b6b7c=(_0x18353f=this['_renderContext'][_0x109c6c(0x48b)])[_0x109c6c(0x1cf)])==null||_0x8b6b7c[_0x109c6c(0x2a4)](_0x18353f);}return _0x4d1370;}[_0x4f3d14(0x324)](_0x4346ea){const _0x5a568e=_0x4f3d14;var _0x408f36;let _0x1c3fde=_0x55b3e2(this[_0x5a568e(0x414)][_0x5a568e(0x291)],_0x4346ea),_0xdfa752=this[_0x5a568e(0x414)][_0x5a568e(0x48b)];return((_0x408f36=_0xdfa752[_0x5a568e(0x484)])==null?void 0x0:_0x408f36[_0x5a568e(0x2a4)](_0xdfa752,_0x1c3fde))??this[_0x5a568e(0x414)][_0x5a568e(0x48b)]['getObject'](_0x1c3fde)??null;}};Or=J([q(0x1,_0x132a38(_0x3514cd)),q(0x2,_0x132a38(_0x5c495f)),q(0x3,_0x132a38(_0x2d7b12)),q(0x4,_0x132a38(Tr)),q(0x5,_0x27d0fe)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x4f3d14(0x422)],'surfaceColor':Y[_0x4f3d14(0x27a)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x4f3d14(0x2d0)]};function kr(_0x429101){const _0x5b734c=_0x4f3d14;let _0x19b8d1=$[_0x5b734c(0x1fb)],_0x269376=$[_0x5b734c(0x21c)],_0x2610da=$[_0x5b734c(0x2ff)],_0x1a674a=$['gap'],_0x3046da=$[_0x5b734c(0x214)],_0x44d531=_0x3046da+$[_0x5b734c(0x305)],_0xdfa877=$[_0x5b734c(0x232)],_0x1b0164=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x36d)]/0x2,_0x81314f=_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x48c)]/0x2,_0xa5e72a=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x445)]-_0x19b8d1-_0x1a674a,_0x566280=_0x429101[_0x5b734c(0x19a)]['left']+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x48c)]+_0x19b8d1+_0x1a674a,_0x2021cd=_0x429101['bounds'][_0x5b734c(0x2e1)]-_0x19b8d1-_0x1a674a,_0x30bb84=_0x429101[_0x5b734c(0x19a)]['top']+_0x429101['bounds']['height']+_0x19b8d1+_0x1a674a,_0x36c537=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x445)]-_0x269376-_0x1a674a,_0x2f3665=_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101['bounds']['width']+_0x269376+_0x1a674a,_0x1c96d=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]-_0x269376-_0x1a674a,_0x397fd0=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x36d)]+_0x269376+_0x1a674a,_0x43c160=[],_0x5519c2=_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x2e1)||_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449),_0x49118f=_0x5519c2?_0x81314f:_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0xa5e72a:_0x566280,_0x3ff2b5=_0x5519c2?_0x429101[_0x5b734c(0x350)]==='top'?_0x2021cd:_0x30bb84:_0x1b0164;if(_0x429101[_0x5b734c(0x1c2)]&&_0x429101[_0x5b734c(0x342)]>0x0)return _0x43c160['push']({'kind':_0x5b734c(0x408),'x':_0x49118f,'y':_0x3ff2b5,'radius':_0x19b8d1,'badgeCount':_0x429101[_0x5b734c(0x342)]}),_0x43c160;if(_0x429101[_0x5b734c(0x34c)]?(_0x429101[_0x5b734c(0x4ab)]??(_0x5519c2?[_0x5b734c(0x2e1),_0x5b734c(0x449)]:[_0x5b734c(0x445),'right']))[_0x5b734c(0x2d1)](_0x5aa158=>{const _0x1956a9=_0x5b734c;_0x5aa158===_0x1956a9(0x2e1)?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x3f5),'x':_0x81314f,'y':_0x1c96d,'radius':_0x269376}):_0x5aa158==='bottom'?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x2ca),'x':_0x81314f,'y':_0x397fd0,'radius':_0x269376}):_0x5aa158===_0x1956a9(0x445)?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x227),'x':_0x36c537,'y':_0x1b0164,'radius':_0x269376}):_0x43c160['push']({'kind':'add-child-right','x':_0x2f3665,'y':_0x1b0164,'radius':_0x269376});}):(_0x43c160['push']({'kind':_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0x5b734c(0x227):_0x429101['side']===_0x5b734c(0x2e1)?_0x5b734c(0x3f5):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?'add-child-bottom':_0x5b734c(0x235),'x':_0x5519c2?_0x81314f:_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0x36c537:_0x2f3665,'y':_0x5519c2?_0x429101['side']===_0x5b734c(0x2e1)?_0x1c96d:_0x397fd0:_0x1b0164,'radius':_0x269376}),_0x5519c2?(_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3f8),'placement':_0x5b734c(0x2ee),'x':_0x429101['bounds'][_0x5b734c(0x445)]-_0x44d531,'y':_0x1b0164,'radius':_0x2610da,'visualRadius':_0x3046da}),_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3cd),'placement':'after','x':_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101['bounds']['width']+_0x44d531,'y':_0x1b0164,'radius':_0x2610da,'visualRadius':_0x3046da})):(_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3f8),'placement':_0x5b734c(0x2ee),'x':_0x81314f,'y':_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]-_0x44d531,'radius':_0x2610da,'visualRadius':_0x3046da}),_0x43c160['push']({'kind':_0x5b734c(0x3cd),'placement':_0x5b734c(0x3e3),'x':_0x81314f,'y':_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101['bounds'][_0x5b734c(0x36d)]+_0x44d531,'radius':_0x2610da,'visualRadius':_0x3046da}))),_0x429101[_0x5b734c(0x1c2)]){let _0xadb281={'kind':_0x5b734c(0x408),'x':_0x49118f,'y':_0x3ff2b5,'radius':_0x19b8d1};_0x43c160[_0x5b734c(0x3ee)](_0xadb281);let _0x5a340a=_0x43c160['find'](_0x2b5a04=>_0x2b5a04[_0x5b734c(0x315)]===(_0x429101['side']===_0x5b734c(0x445)?_0x5b734c(0x227):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x2e1)?_0x5b734c(0x3f5):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?_0x5b734c(0x2ca):'add-child-right'));_0x5a340a&&Math[_0x5b734c(0x277)](_0x5a340a['x']-_0xadb281['x'],_0x5a340a['y']-_0xadb281['y'])<_0xdfa877&&(_0x429101['side']==='top'||_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?_0x5a340a['y']=_0xadb281['y']+(_0x429101[_0x5b734c(0x350)]==='top'?-_0xdfa877:_0xdfa877):_0x5a340a['x']=_0xadb281['x']+(_0x429101['side']===_0x5b734c(0x445)?-_0xdfa877:_0xdfa877));}return _0x43c160;}const Ar=_0x4f3d14(0x229),jr=_0x2019f6[_0x4f3d14(0x361)];function Mr(_0x519f2d,_0x2e9235){const _0x1df150=_0x4f3d14;return!!_0x519f2d&&_0x519f2d['kind']===_0x2e9235[_0x1df150(0x315)]&&_0x519f2d['x']===_0x2e9235['x']&&_0x519f2d['y']===_0x2e9235['y'];}var Nr=class extends _0x4ff2d9{constructor(_0xa01836=Ar,_0x4f95dc){const _0x2108cd=_0x4f3d14;super(_0xa01836),K(this,'_state',{'controls':[]}),this[_0x2108cd(0x2f9)]=!0x0,this['zIndex']=_0x65c3c8[_0x2108cd(0x287)],this[_0x2108cd(0x2e5)](_0x4f95dc);}[_0x4f3d14(0x2e5)](_0x272180){const _0x2d36a6=_0x4f3d14;this[_0x2d36a6(0x2e0)]={...this[_0x2d36a6(0x2e0)],..._0x272180},this[_0x2d36a6(0x2e0)][_0x2d36a6(0x49d)][_0x2d36a6(0x452)]>0x0?this['show']():this['hide'](),this[_0x2d36a6(0x32c)](!0x0);}['setHoveredControl'](_0x1b9aa7){const _0x38abe9=_0x4f3d14;!_0x1b9aa7&&!this['_state']['hoveredControl']||_0x1b9aa7&&Mr(this['_state'][_0x38abe9(0x3e2)],_0x1b9aa7)||(this[_0x38abe9(0x2e0)]={...this['_state'],'hoveredControl':_0x1b9aa7},this[_0x38abe9(0x32c)](!0x0));}['getHitControl'](_0x444f30,_0x335a5a){const _0x4fcb6c=_0x4f3d14;var _0x4cbde2;let _0x4a82a4=(_0x4cbde2=this[_0x4fcb6c(0x250)]())==null?void 0x0:_0x4cbde2[_0x4fcb6c(0x1b6)](),_0x129378=null,_0x5a52bd=0x1/0x0;for(let _0x2144b6=this[_0x4fcb6c(0x2e0)][_0x4fcb6c(0x49d)][_0x4fcb6c(0x452)]-0x1;_0x2144b6>=0x0;--_0x2144b6){let _0x20fdc3=this[_0x4fcb6c(0x2e0)][_0x4fcb6c(0x49d)][_0x2144b6],_0x1d612b=Math[_0x4fcb6c(0x277)](_0x444f30['x']-_0x20fdc3['x'],_0x444f30['y']-_0x20fdc3['y']);if(_0x335a5a!==_0x5ef2af[_0x4fcb6c(0x30f)]){if(_0x1d612b<=_0x20fdc3['radius'])return _0x20fdc3;continue;}let _0xc7e690=Math[_0x4fcb6c(0x277)]((_0x444f30['x']-_0x20fdc3['x'])*((_0x4a82a4==null?void 0x0:_0x4a82a4[_0x4fcb6c(0x301)])??0x1),(_0x444f30['y']-_0x20fdc3['y'])*((_0x4a82a4==null?void 0x0:_0x4a82a4[_0x4fcb6c(0x3ae)])??0x1));(_0x1d612b<=_0x20fdc3[_0x4fcb6c(0x1fb)]||_0xc7e690<=$[_0x4fcb6c(0x369)])&&_0xc7e690<_0x5a52bd&&(_0x129378=_0x20fdc3,_0x5a52bd=_0xc7e690);}return _0x129378;}[_0x4f3d14(0x253)](_0x48313f){const _0x16ee61=_0x4f3d14;var _0xe6d57e;let _0x157628=this['getHitControl'](_0x48313f,_0x5ef2af[_0x16ee61(0x30f)]),_0x545691=(_0xe6d57e=this['getScene']())==null?void 0x0:_0xe6d57e['getAncestorScale']();return _0x157628?Math[_0x16ee61(0x277)]((_0x48313f['x']-_0x157628['x'])*((_0x545691==null?void 0x0:_0x545691[_0x16ee61(0x301)])??0x1),(_0x48313f['y']-_0x157628['y'])*((_0x545691==null?void 0x0:_0x545691[_0x16ee61(0x3ae)])??0x1)):0x1/0x0;}[_0x4f3d14(0x397)](_0x52cc2e){const _0x15a34c=_0x4f3d14;return!!this[_0x15a34c(0x279)]({'x':_0x52cc2e['x'],'y':_0x52cc2e['y']});}[_0x4f3d14(0x360)](_0x1b09b7,_0x402fa4){const _0x54eb31=_0x4f3d14;return!this[_0x54eb31(0x418)]||this[_0x54eb31(0x2e0)]['controls'][_0x54eb31(0x452)]===0x0?(this['makeDirty'](!0x1),this):(_0x1b09b7[_0x54eb31(0x3de)](),this[_0x54eb31(0x2e0)][_0x54eb31(0x49d)]['forEach'](_0x7f1b53=>{const _0x1150c0=_0x54eb31;let _0x340493=Mr(this['_state']['hoveredControl'],_0x7f1b53),_0x246e15=_0x7f1b53[_0x1150c0(0x296)]!==void 0x0,_0x3fe6e2=_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x227)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x235)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x3f5)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x2ca),_0xc3635f=_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x3f8)||_0x7f1b53['kind']===_0x1150c0(0x3cd),_0x865822=_0xc3635f&&!_0x340493?_0x7f1b53[_0x1150c0(0x1d2)]??_0x7f1b53[_0x1150c0(0x1fb)]:_0x7f1b53['radius'];if(_0x1b09b7[_0x1150c0(0x2de)](),_0x1b09b7[_0x1150c0(0x3ef)]=_0x7f1b53[_0x1150c0(0x315)]==='toggle-collapse'?$[_0x1150c0(0x27a)]:$[_0x1150c0(0x422)],_0x1b09b7[_0x1150c0(0x355)]=$['primaryColor'],_0x1b09b7[_0x1150c0(0x37c)]=$[_0x1150c0(0x455)],_0x1b09b7[_0x1150c0(0x249)](_0x7f1b53['x'],_0x7f1b53['y'],_0x865822,0x0,Math['PI']*0x2),_0x1b09b7[_0x1150c0(0x222)](),(!_0xc3635f||_0x340493)&&_0x1b09b7[_0x1150c0(0x267)](),!_0x246e15&&(!_0xc3635f||_0x340493)){if(_0x1b09b7[_0x1150c0(0x2de)](),_0x1b09b7[_0x1150c0(0x355)]=_0x7f1b53['kind']===_0x1150c0(0x408)?$['primaryColor']:$[_0x1150c0(0x27a)],_0x1b09b7[_0x1150c0(0x37c)]=_0xc3635f?$[_0x1150c0(0x1f5)]:_0x340493?$[_0x1150c0(0x2d8)]:$[_0x1150c0(0x1f5)],_0x1b09b7[_0x1150c0(0x215)]='round',_0x7f1b53[_0x1150c0(0x315)]==='toggle-collapse'){let _0x181f92=$[_0x1150c0(0x308)];_0x1b09b7[_0x1150c0(0x2a2)](_0x7f1b53['x']+_0x181f92/0x2,_0x7f1b53['y']-_0x181f92),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']-_0x181f92/0x2,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']+_0x181f92/0x2,_0x7f1b53['y']+_0x181f92);}else{let _0x9d542f=_0xc3635f?$[_0x1150c0(0x37b)]:_0x3fe6e2?$['addChildGlyphSize']:$[_0x1150c0(0x308)];_0x1b09b7['moveTo'](_0x7f1b53['x']-_0x9d542f,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']+_0x9d542f,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x2a2)](_0x7f1b53['x'],_0x7f1b53['y']-_0x9d542f),_0x1b09b7['lineTo'](_0x7f1b53['x'],_0x7f1b53['y']+_0x9d542f);}_0x1b09b7[_0x1150c0(0x267)]();}_0x246e15&&(_0x1b09b7[_0x1150c0(0x3ef)]=$[_0x1150c0(0x422)],_0x1b09b7[_0x1150c0(0x4ae)]=$['badgeFontWeight']+'\x20'+$[_0x1150c0(0x293)]+_0x1150c0(0x44a)+$['fontFamily'],_0x1b09b7[_0x1150c0(0x284)]=_0x1150c0(0x237),_0x1b09b7[_0x1150c0(0x412)]=_0x1150c0(0x356),_0x1b09b7[_0x1150c0(0x240)](String(_0x7f1b53['badgeCount']),_0x7f1b53['x'],_0x7f1b53['y']));}),_0x1b09b7[_0x54eb31(0x1a0)](),this[_0x54eb31(0x32c)](!0x1),this);}};function Pr(_0x4871d0){const _0x101a9f=_0x4f3d14;return _0x4871d0===_0x101a9f(0x195)||_0x4871d0===_0x101a9f(0x378)||_0x4871d0===_0x101a9f(0x2f6);}function Fr(_0x1ddf50){const _0x4df356=_0x4f3d14;return _0x1ddf50===_0x4df356(0x243)||_0x1ddf50===_0x4df356(0x481);}function Ir(_0x41d6b5,_0x38cca1){const _0x544b23=_0x4f3d14;let _0x411822=Number[_0x544b23(0x490)](_0x38cca1[_0x544b23(0x1e9)])&&_0x38cca1[_0x544b23(0x1e9)]>0x0?_0x38cca1[_0x544b23(0x1e9)]:0x1;return{'x':Math[_0x544b23(0x28e)]((_0x41d6b5[_0x544b23(0x385)]-_0x38cca1['panOffset']['x'])/_0x411822),'y':Math['round']((_0x41d6b5[_0x544b23(0x2a5)]-_0x38cca1[_0x544b23(0x33c)]['y'])/_0x411822)};}let Lr=class extends _0x41f8e5{constructor(_0x31d6b9,_0x1ad255,_0x4809c5,_0x450469,_0x536f85,_0x98bb52,_0x3438fe,_0x556aba,_0x4295df){const _0x5ebf0c=_0x4f3d14;super(),this['_renderContext']=_0x31d6b9,this['_boardElementService']=_0x1ad255,this[_0x5ebf0c(0x1a3)]=_0x4809c5,this['_stateService']=_0x450469,this[_0x5ebf0c(0x32f)]=_0x536f85,this[_0x5ebf0c(0x28b)]=_0x98bb52,this[_0x5ebf0c(0x335)]=_0x3438fe,this[_0x5ebf0c(0x400)]=_0x556aba,this[_0x5ebf0c(0x30c)]=_0x4295df,K(this,_0x5ebf0c(0x19d),null),K(this,'_objectEventDisposables',null),K(this,_0x5ebf0c(0x430),null),K(this,_0x5ebf0c(0x298),null),this[_0x5ebf0c(0x45b)]();}['_init'](){const _0x125f35=_0x4f3d14;var _0xf2bf8f,_0x4a6256,_0x47dc03;let {scene:_0x5c2643}=this['_renderContext'],_0xeba987=(_0xf2bf8f=_0x5c2643[_0x125f35(0x1dc)])==null?void 0x0:_0xf2bf8f[_0x125f35(0x2a4)](_0x5c2643);_0xeba987&&(this[_0x125f35(0x44d)](_0x122c68(_0xeba987['changing$'][_0x125f35(0x46c)](_0x41cd5b(this['dispose$']))[_0x125f35(0x345)](({objects:_0x412765})=>{const _0xce9085=_0x125f35;this[_0xce9085(0x38c)](_0x412765,{'hideRootControls':!0x0});}))),this['disposeWithMe'](_0x122c68(_0xeba987[_0x125f35(0x34d)]['pipe'](_0x41cd5b(this['dispose$']))[_0x125f35(0x345)](_0x33ce1f=>{const _0x1edaa3=_0x125f35;let _0x341e12=_0x33ce1f==null?void 0x0:_0x33ce1f[_0x1edaa3(0x365)];this[_0x1edaa3(0x38c)](_0x341e12),setTimeout(()=>this[_0x1edaa3(0x38c)](_0x341e12),0x0);})))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x1a3)]['state$'][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))['subscribe'](()=>this[_0x125f35(0x38c)]()))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x407)][_0x125f35(0x475)][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](()=>this[_0x125f35(0x38c)]()))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x3dd)]['elementUpdate$'][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](_0x1302df=>{const _0x4856bf=_0x125f35;let _0x22cfee=this[_0x4856bf(0x1a3)][_0x4856bf(0x310)]()[_0x4856bf(0x3ac)];_0x22cfee&&_0x1302df[_0x4856bf(0x4a2)](_0x1fc06f=>_0x1fc06f['unitId']===_0x22cfee['unitId']&&_0x1fc06f[_0x4856bf(0x20a)]===_0x22cfee[_0x4856bf(0x20a)]&&(_0x1fc06f[_0x4856bf(0x3e9)]===this[_0x4856bf(0x430)]||_0x1fc06f[_0x4856bf(0x3e9)]===this[_0x4856bf(0x298)]))&&this['_syncControls']();}))),this[_0x125f35(0x44d)](_0x122c68(this[_0x125f35(0x400)][_0x125f35(0x403)][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](_0x2970cd=>{const _0x159a90=_0x125f35;let _0x1a0b2a=this['_elementStateService'][_0x159a90(0x310)]()[_0x159a90(0x3ac)];_0x1a0b2a&&_0x1a0b2a[_0x159a90(0x291)]===_0x2970cd[_0x159a90(0x291)]&&_0x1a0b2a[_0x159a90(0x20a)]===_0x2970cd['subUnitId']&&(this[_0x159a90(0x298)]&&this[_0x159a90(0x298)]!==_0x2970cd['scopeId']||this[_0x159a90(0x38c)]());}))),this[_0x125f35(0x44d)](_0x122c68(_0x5c2643[_0x125f35(0x450)][_0x125f35(0x474)](_0x5c96f7=>this[_0x125f35(0x33d)](_0x5c96f7)))),this[_0x125f35(0x44d)](_0x122c68(_0x5c2643[_0x125f35(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0xadd8e6,_0x4aeb9a])=>{const _0xadbc2e=_0x125f35;this[_0xadbc2e(0x3b2)](_0xadd8e6)&&this[_0xadbc2e(0x260)](_0xadd8e6,_0x4aeb9a);}}))),this['disposeWithMe'](_0x122c68(((_0x4a6256=_0x5c2643[_0x125f35(0x376)])==null?void 0x0:_0x4a6256[_0x125f35(0x474)]({'priority':0x4,'next':([_0x3bd284,_0xe4b219])=>{const _0x2fdf8e=_0x125f35;this[_0x2fdf8e(0x1a2)](_0x3bd284)&&this[_0x2fdf8e(0x260)](_0x3bd284,_0xe4b219);}}))??{'dispose':()=>{}})),this[_0x125f35(0x44d)](_0x122c68(((_0x47dc03=_0x5c2643['onDblclick$'])==null?void 0x0:_0x47dc03['subscribeEvent']({'priority':0x4,'next':([_0x156576,_0x27acca])=>{const _0x3f5a29=_0x125f35;this['_isControlEvent'](_0x156576)&&this[_0x3f5a29(0x260)](_0x156576,_0x27acca);}}))??{'dispose':()=>{}})),this[_0x125f35(0x44d)](_0x122c68(()=>this[_0x125f35(0x470)]())),this[_0x125f35(0x38c)]();}['_ensureObject'](){const _0xdbc721=_0x4f3d14;return this['_object']||(this[_0xdbc721(0x19d)]=new Nr(Ar),this[_0xdbc721(0x46d)](this['_object']),this[_0xdbc721(0x414)][_0xdbc721(0x48b)][_0xdbc721(0x2c3)](this[_0xdbc721(0x19d)],jr)),this[_0xdbc721(0x19d)];}['_attachObjectEvents'](_0x51c475){const _0x490fa8=_0x4f3d14;var _0xb0fafa;(_0xb0fafa=this['_objectEventDisposables'])==null||_0xb0fafa[_0x490fa8(0x45e)]();let _0xf191d6=new _0x3fd367();_0xf191d6[_0x490fa8(0x45d)](_0x51c475[_0x490fa8(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0x35b9d9,_0x41eabc])=>{const _0x59497b=_0x490fa8;this[_0x59497b(0x3b2)](_0x35b9d9)&&this['_consumeControlEvent'](_0x35b9d9,_0x41eabc);}})),_0xf191d6[_0x490fa8(0x45d)](_0x51c475[_0x490fa8(0x376)][_0x490fa8(0x474)]({'priority':0x4,'next':([_0x1c41d3,_0x38eced])=>{const _0x56323b=_0x490fa8;this[_0x56323b(0x1a2)](_0x1c41d3)&&this[_0x56323b(0x260)](_0x1c41d3,_0x38eced);}})),_0xf191d6['add'](_0x51c475[_0x490fa8(0x239)][_0x490fa8(0x474)]({'priority':0x4,'next':([_0xad950a,_0x39936a])=>{this['_isControlEvent'](_0xad950a)&&this['_consumeControlEvent'](_0xad950a,_0x39936a);}})),this[_0x490fa8(0x20c)]=_0xf191d6;}['_removeObject'](){const _0x43ea04=_0x4f3d14;var _0x57635b;this[_0x43ea04(0x19d)]&&(this[_0x43ea04(0x414)][_0x43ea04(0x48b)]['removeObjects']([this[_0x43ea04(0x19d)]]),(_0x57635b=this[_0x43ea04(0x20c)])==null||_0x57635b[_0x43ea04(0x45e)](),this['_objectEventDisposables']=null,this['_object']=null,this[_0x43ea04(0x430)]=null,this[_0x43ea04(0x298)]=null,this[_0x43ea04(0x414)]['scene'][_0x43ea04(0x32c)](!0x0));}[_0x4f3d14(0x38c)](_0x5b449e,_0x2ccad1){const _0x22354d=_0x4f3d14;var _0x731947,_0x52d862;if(this[_0x22354d(0x407)]['getState']()['interactionMode']===_0x22354d(0x1af)){this[_0x22354d(0x470)]();return;}let _0x329ab3=this[_0x22354d(0x1a3)][_0x22354d(0x310)](),_0x152315=_0x329ab3[_0x22354d(0x3ac)],_0x3008fd=_0x329ab3[_0x22354d(0x206)]??_0x329ab3[_0x22354d(0x375)][0x0];if(!_0x152315||!_0x3008fd||_0x329ab3[_0x22354d(0x375)][_0x22354d(0x452)]!==0x1){this[_0x22354d(0x470)]();return;}let _0x495134=this['_boardElementService'][_0x22354d(0x198)](_0x152315[_0x22354d(0x291)],_0x152315[_0x22354d(0x20a)]),_0x36c9df=_0x495134[_0x3008fd],_0x3cce9a=_0x5585ba(_0x36c9df==null?void 0x0:_0x36c9df['element']);if(!_0x36c9df||!_0x3cce9a){this['_removeObject']();return;}let _0x312322=_0x55b3e2(_0x152315[_0x22354d(0x291)],_0x3008fd);if(_0x2ccad1!=null&&_0x2ccad1[_0x22354d(0x275)]&&_0x3cce9a[_0x22354d(0x29f)]==null&&_0x5b449e!=null&&_0x5b449e[_0x22354d(0x290)](_0x312322)){this['_removeObject']();return;}let _0x113c0f=this[_0x22354d(0x41a)](_0x495134,_0x152315[_0x22354d(0x291)],_0x3008fd,_0x5b449e);if(!_0x113c0f){this[_0x22354d(0x470)]();return;}let _0x2d4e4f=Object['values'](_0x495134)[_0x22354d(0x43b)](_0x459a07=>{const _0x2c9e59=_0x22354d;var _0x5a4fbd;return((_0x5a4fbd=_0x5585ba(_0x459a07[_0x2c9e59(0x1ca)]))==null?void 0x0:_0x5a4fbd[_0x2c9e59(0x29f)])===_0x3008fd;}),_0x5b84ff=_0x3cce9a[_0x22354d(0x4a9)]?this[_0x22354d(0x411)](_0x495134,_0x3008fd):0x0;this[_0x22354d(0x430)]=_0x3008fd,this['_activeScopeId']=_0x3cce9a[_0x22354d(0x2ea)];let _0x3f0219=(_0x731947=_0x495134[_0x3cce9a[_0x22354d(0x2ea)]])==null?void 0x0:_0x731947['element'],_0x23d2e1=_0x487e3a(_0x3f0219),_0x47c3d3=_0x3f0219==null||(_0x52d862=_0x3f0219['custom'])==null||(_0x52d862=_0x52d862['mindmap'])==null||(_0x52d862=_0x52d862[_0x22354d(0x2bc)])==null?void 0x0:_0x52d862[_0x22354d(0x35e)],_0x5cccd3=(_0x23d2e1==null?void 0x0:_0x23d2e1[_0x22354d(0x2bc)]['structureKind'])??_0x47c3d3,_0x56e6aa=_0x3cce9a['parentNodeId']==null,_0x465fb5=this['_resolveControlSide'](_0x3cce9a[_0x22354d(0x350)],_0x56e6aa,_0x5cccd3);this[_0x22354d(0x2b1)]()[_0x22354d(0x2e5)]({'controls':kr({'bounds':_0x113c0f,'isRoot':_0x56e6aa,'side':_0x465fb5,'rootChildSides':this[_0x22354d(0x34f)](_0x56e6aa,_0x5cccd3),'hasChildren':_0x2d4e4f[_0x22354d(0x452)]>0x0,'collapsedDescendantCount':_0x5b84ff})}),this[_0x22354d(0x414)][_0x22354d(0x48b)][_0x22354d(0x32c)](!0x0);}[_0x4f3d14(0x3a7)](_0x538300,_0x966ac0,_0x5049ae){const _0x55efc8=_0x4f3d14;return _0x5049ae==='timeline-vertical'?!_0x966ac0&&(_0x538300===_0x55efc8(0x445)||_0x538300===_0x55efc8(0x289))?_0x538300:'bottom':_0x5049ae==='mindmap-vertical'?!_0x966ac0&&(_0x538300==='top'||_0x538300===_0x55efc8(0x449))?_0x538300:_0x55efc8(0x449):_0x538300===_0x55efc8(0x445)?_0x55efc8(0x445):_0x55efc8(0x289);}[_0x4f3d14(0x34f)](_0x2ab6b6,_0x30625e){const _0x12a82d=_0x4f3d14;if(_0x2ab6b6){if(Pr(_0x30625e))return[_0x12a82d(0x449)];if(_0x30625e===_0x12a82d(0x243))return[_0x12a82d(0x289)];if(_0x30625e===_0x12a82d(0x481))return[_0x12a82d(0x449)];}}[_0x4f3d14(0x3fd)](_0x2328d4){const _0x9b9e13=_0x4f3d14;var _0x3164e3,_0x4a57bd;let _0x37eea1=this[_0x9b9e13(0x1a3)][_0x9b9e13(0x310)]()[_0x9b9e13(0x3ac)];if(!_0x37eea1||!this[_0x9b9e13(0x430)])return;let _0xb72cdf=this[_0x9b9e13(0x3dd)][_0x9b9e13(0x198)](_0x37eea1['unitId'],_0x37eea1[_0x9b9e13(0x20a)]),_0x8f5812=_0x5585ba((_0x3164e3=_0xb72cdf[this[_0x9b9e13(0x430)]])==null?void 0x0:_0x3164e3['element']),_0x1f3f5a=_0x8f5812?_0x487e3a((_0x4a57bd=_0xb72cdf[_0x8f5812[_0x9b9e13(0x2ea)]])==null?void 0x0:_0x4a57bd[_0x9b9e13(0x1ca)]):null;if((_0x8f5812==null?void 0x0:_0x8f5812[_0x9b9e13(0x29f)])!=null||!Pr(_0x1f3f5a==null?void 0x0:_0x1f3f5a['layout'][_0x9b9e13(0x35e)])&&!Fr(_0x1f3f5a==null?void 0x0:_0x1f3f5a['layout'][_0x9b9e13(0x35e)]))return _0x2328d4===_0x9b9e13(0x227)?_0x9b9e13(0x445):_0x2328d4==='add-child-top'?_0x9b9e13(0x2e1):_0x2328d4===_0x9b9e13(0x2ca)?_0x9b9e13(0x449):_0x9b9e13(0x289);}[_0x4f3d14(0x41a)](_0x28ca45,_0x51b3db,_0x4652ba,_0x309757){const _0x335314=_0x4f3d14;var _0x37fa02,_0x478757;let _0x3c5ddd=_0x55b3e2(_0x51b3db,_0x4652ba),_0x2869c1=_0x309757==null?void 0x0:_0x309757[_0x335314(0x47f)](_0x3c5ddd),_0x585af4=this['_toFiniteBounds'](_0x2869c1);if(_0x585af4)return _0x585af4;let _0x4e1b2d=this['_renderContext'][_0x335314(0x48b)],_0x34885f=((_0x37fa02=_0x4e1b2d[_0x335314(0x484)])==null?void 0x0:_0x37fa02[_0x335314(0x2a4)](_0x4e1b2d,_0x3c5ddd))??((_0x478757=_0x4e1b2d[_0x335314(0x3b7)])==null?void 0x0:_0x478757[_0x335314(0x2a4)](_0x4e1b2d,_0x3c5ddd));return this['_toFiniteBounds'](_0x34885f)||_0x25dbfe(_0x28ca45,_0x4652ba);}['_toFiniteBounds'](_0x5085f9){const _0x29b1ee=_0x4f3d14;return _0x5085f9&&Number[_0x29b1ee(0x490)](_0x5085f9['left'])&&Number[_0x29b1ee(0x490)](_0x5085f9['top'])&&Number[_0x29b1ee(0x490)](_0x5085f9[_0x29b1ee(0x48c)])&&Number[_0x29b1ee(0x490)](_0x5085f9[_0x29b1ee(0x36d)])?{'left':_0x5085f9[_0x29b1ee(0x445)],'top':_0x5085f9[_0x29b1ee(0x2e1)],'width':_0x5085f9[_0x29b1ee(0x48c)],'height':_0x5085f9['height']}:null;}[_0x4f3d14(0x411)](_0x289d4a,_0x2b0d77){const _0x122c77=_0x4f3d14;return Object[_0x122c77(0x2df)](_0x289d4a)['filter'](_0x48395b=>{const _0x38e0c9=_0x122c77;var _0x55efd9;return((_0x55efd9=_0x5585ba(_0x48395b['element']))==null?void 0x0:_0x55efd9[_0x38e0c9(0x29f)])===_0x2b0d77;})[_0x122c77(0x23d)]((_0x19b84f,_0x1804b5)=>_0x19b84f+0x1+this[_0x122c77(0x411)](_0x289d4a,_0x1804b5['elementId']),0x0);}['_handlePointerMove'](_0x3fd99c){const _0x2ec2b9=_0x4f3d14;if(!this[_0x2ec2b9(0x19d)])return;let _0x3852c7=this[_0x2ec2b9(0x407)]['getState'](),_0x5a6473=Ir(_0x3fd99c,{'panOffset':_0x3852c7[_0x2ec2b9(0x36e)],'zoomRatio':_0x3852c7[_0x2ec2b9(0x1e9)]});this['_object']['setHoveredControl'](this['_object'][_0x2ec2b9(0x279)](_0x5a6473,_0x3fd99c[_0x2ec2b9(0x2fe)]));}[_0x4f3d14(0x3b2)](_0x18f7f7){const _0x32ef47=_0x4f3d14;if(!this[_0x32ef47(0x19d)]||!this[_0x32ef47(0x430)]||(_0x18f7f7[_0x32ef47(0x26f)]??0x0)!==0x0)return!0x1;let _0x4a348f=this['_elementStateService'][_0x32ef47(0x310)]()[_0x32ef47(0x3ac)];if(!_0x4a348f)return!0x1;let _0x2c3380=this[_0x32ef47(0x407)][_0x32ef47(0x25b)](),_0x2f8e44=Ir(_0x18f7f7,{'panOffset':_0x2c3380['viewportPanOffset'],'zoomRatio':_0x2c3380['zoomRatio']}),_0x359001=this[_0x32ef47(0x19d)][_0x32ef47(0x279)](_0x2f8e44,_0x18f7f7[_0x32ef47(0x2fe)]);if(!_0x359001)return!0x1;if(_0x359001['kind']===_0x32ef47(0x408))return this[_0x32ef47(0x479)](_0xdc3604['id'],{'unitId':_0x4a348f[_0x32ef47(0x291)],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'nodeId':this[_0x32ef47(0x430)]}),!0x0;if(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x227)||_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x235)||_0x359001['kind']===_0x32ef47(0x3f5)||_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x2ca)){let _0x44e1b8=_0x21938d(0x6);return this[_0x32ef47(0x423)](_0x21cdef['id'],{'unitId':_0x4a348f['unitId'],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'parentNodeId':this[_0x32ef47(0x430)],'side':this[_0x32ef47(0x3fd)](_0x359001[_0x32ef47(0x315)]),'nodeId':_0x44e1b8,'connectorId':_0x21938d(0x6),'text':this[_0x32ef47(0x335)]['t']('boards-mind-ui.panel.addText')},_0x44e1b8),!0x0;}if(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x3f8)||_0x359001[_0x32ef47(0x315)]==='add-sibling-after'){let _0x15240a=_0x21938d(0x6);return this[_0x32ef47(0x423)](_0x20f384['id'],{'unitId':_0x4a348f[_0x32ef47(0x291)],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'nodeId':this[_0x32ef47(0x430)],'placement':_0x359001[_0x32ef47(0x3c9)]??(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x3f8)?_0x32ef47(0x2ee):'after'),'siblingNodeId':_0x15240a,'connectorId':_0x21938d(0x6),'text':this['_localeService']['t'](_0x32ef47(0x391))},_0x15240a),!0x0;}return!0x0;}[_0x4f3d14(0x1a2)](_0x67d28c){const _0x474eb5=_0x4f3d14;if(!this[_0x474eb5(0x19d)]||(_0x67d28c['button']??0x0)!==0x0)return!0x1;let _0x24ca47=this[_0x474eb5(0x407)]['getState'](),_0x3ad64a=Ir(_0x67d28c,{'panOffset':_0x24ca47['viewportPanOffset'],'zoomRatio':_0x24ca47[_0x474eb5(0x1e9)]});return!!this['_object'][_0x474eb5(0x279)](_0x3ad64a,_0x67d28c['deviceType']);}['_consumeControlEvent'](_0x319585,_0x1ed2b1){const _0x2eb474=_0x4f3d14;var _0xf4be67,_0x40fbf8;_0x1ed2b1[_0x2eb474(0x1de)](),(_0xf4be67=_0x319585['preventDefault'])==null||_0xf4be67[_0x2eb474(0x2a4)](_0x319585),(_0x40fbf8=_0x319585[_0x2eb474(0x1de)])==null||_0x40fbf8[_0x2eb474(0x2a4)](_0x319585);}['_executeAndLayout'](_0x41d244,_0x488e46){const _0x376dd5=_0x4f3d14;let _0x509aa4=this[_0x376dd5(0x298)];this[_0x376dd5(0x30c)][_0x376dd5(0x3a5)](_0x488e46[_0x376dd5(0x291)],()=>{const _0x53217f=_0x376dd5;this[_0x53217f(0x32f)][_0x53217f(0x4a8)](_0x41d244,_0x488e46)&&_0x509aa4&&(this[_0x53217f(0x32f)][_0x53217f(0x4a8)](_0x4b5dc4['id'],{'unitId':_0x488e46[_0x53217f(0x291)],'subUnitId':_0x488e46[_0x53217f(0x20a)],'scopeId':_0x509aa4}),this['_syncControls']());});}['_executeCreateAndEdit'](_0x502f51,_0x399de7,_0x10db31){const _0x46c476=_0x4f3d14;let _0x2836aa={'unitId':_0x399de7[_0x46c476(0x291)],'subUnitId':_0x399de7['subUnitId']},_0x2e3b3b=this[_0x46c476(0x32f)][_0x46c476(0x32d)](_0x502f51,_0x399de7);Promise[_0x46c476(0x1ec)](_0x2e3b3b)[_0x46c476(0x193)](_0x3565e8=>{const _0x371735=_0x46c476;_0x3565e8&&(this[_0x371735(0x38c)](),this[_0x371735(0x1a3)]['selectElements'](_0x2836aa,[_0x10db31],_0x10db31),this['_boardTextEditingService'][_0x371735(0x26a)](),this['_boardTextEditingService'][_0x371735(0x24b)]({..._0x2836aa,'shapeId':_0x10db31,'shapeKey':_0x55b3e2(_0x2836aa['unitId'],_0x10db31),'visible':!0x0}));});}};Lr=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x132a38(_0x31b38d)),q(0x4,_0x27d0fe),q(0x5,_0x132a38(_0x2d7b12)),q(0x6,_0x132a38(_0x4eab55)),q(0x7,_0x132a38(Tr)),q(0x8,_0x132a38(_0x57f4a7))],Lr);const Rr=_0x4f3d14(0x1a6);let zr=class extends _0x41f8e5{constructor(_0x49de4c,_0x3953b7){const _0x33d540=_0x4f3d14;super(),this[_0x33d540(0x32f)]=_0x49de4c,this[_0x33d540(0x49a)]=_0x3953b7,this['_init']();}['_init'](){const _0x53d9ce=_0x4f3d14;this[_0x53d9ce(0x44d)](this[_0x53d9ce(0x49a)]['registerShortcut'](this['_createQuoteShortcut']()));}[_0x4f3d14(0x346)](){const _0x464006=_0x4f3d14;return{'id':_0x15a211,'binding':_0x80c18b[_0x464006(0x444)]|_0x21a288[_0x464006(0x220)],'priority':0x3e8,'preconditions':_0x5a621b=>_0x5a621b[_0x464006(0x1b3)]('FOCUSING_MIND_MAP_TEXT_EDITOR')&&this[_0x464006(0x32f)][_0x464006(0x31e)](_0x15a211)};}};function _0x4677(){const _0x220eea=['horizontalAlign','BOTTOM','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','_findChildNodeAtPoint','JUSTIFIED','getConfig','elementAdd$','notify','underline','textPaddingScreen','_boardElementService','save','elementStateService','quadraticCurveTo','defineProperty','hoveredControl','after','pendingInsert','_ensureDragPreviewObject','activated$','opml','_injector','elementId','BACKSPACE','constructor','boards-mind-ui.toolbar.panel.line','TOP','push','fillStyle','key','register','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','engine','add-child-top','default','102uGUBAA','add-sibling-before','nodeId','793nSDJuP','MindMap','rootTextColor','_resolveCreateChildSide','univer-flex\x20univer-flex-col\x20univer-gap-1','boards-mind-ui.saveDescription','_previewRefreshService','mind-map-font-size','branchLineType','refresh$','_syncRootScopePreview','handleShortcut','16KhlpcH','_stateService','toggle-collapse','data','_pointerDragStart','boards-mind-ui.alignMiddle','_objectPointerDisposables','_activePreview','getElementById','getTemplate','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','_countDescendants','textBaseline','M17\x2033h21M38\x2017v30M38\x2017h24','_renderContext','boards-mind-ui.panel.structureKind.treeRight','getFonts','div','visible','arrow-up','_resolveControlBounds','panel','_applyRootTranslation','onStarting','version','univer-space-y-3','mind-map-stroke','_popupDisposable','primaryColor','_executeCreateAndEdit','_applyDragTopologyAction','fontColor','textColor','ghostTextColor','boards-mind-ui.panel.searchNodes','registerRuntimeScopedDependencies','1.8','selectElements','connectorAlpha','_registerComponents','addSibling','_syncDragPreview','_activeNodeId','find','success','promote','fontSize','addChildNode','board.mind-map.floating-toolbar','Branch','_attachActivePointerDragListeners','clipboardService','all','filter','getShortcutDisplay','objectAlpha','univer-grid-cols-3','_getRenderModules','_captureDragStart','horizontalGap','boards-mind-ui.toolbar.action.stroke','boards-mind-ui.toolbar.primary.fontColor','ENTER','left','_getBoardPointFromEvent','interactionMode','_restoreActivePreview','bottom','px\x20','_nodeSizeByKey','ARROW_UP','disposeWithMe','boards-mind-ui.alignBottom','sourceHighlightStrokeColor','onPointerMove$','collapse-all','length','_applyPointerChildDrag','boards-mind-ui.panel.layout.both','borderWidth','next','registerShortcut','object','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','M12\x2026h11M58\x2036h11M12\x2045h11','_init','rgb','add','dispose','221496yvQkxn','_createTopologyBoundsByElementId','_getPointerLiveBounds','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','11jfvJbA','univer-h-12\x20univer-text-base','_isChildDragPastActivationThreshold','_sidebarService','label','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','_dragStart','_createShortcutItems','boards-mind-ui.toolbar.action.paste','pipe','_attachObjectEvents','univer-items-center','_disposed','_removeObject','_rememberNodeSize','ghostBounds','layout-panel-divider','subscribeEvent','state$','boards-mind-ui.toolbar.primary.typography','branch-orthogonal','join','_executeAndLayout','lineJoin','board.operation.mind-map.open-panel','addDescription','univer-mb-0','referenceNodeId','get','true','timeline-vertical','editingParams$','activeEditingId','getObjectIncludeInGroup','open','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','boards-mind-ui.descriptionPlaceholder','text','_componentManager','fallbackNodeHeight','scene','width','removeEventListener','unshift','boards-mind-ui.panel.structureKind.timelineVertical','isFinite','boards-mind-ui.panel.structureKind.timelineHorizontal','repeat(','rounded-orthogonal','dispose$','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-gray-0','_copySelectedNode','commandService','RoundDot','rootHeight','_shortcutService','defaultValue','_sidebarDisposable','controls','_disposeActivePointerDragListeners','_executeNodeOperation','isInteractionSurfaceActive','boards-mind-ui.panel.tab.structure','some','_configService','hide','boards-mind-ui.alignJustify','_resetContext','localeService','syncExecuteCommand','collapsed','_queuedLayouts','rootChildSides','clearSelection','Dash','font','parseInt','editCurrentNode','arrow-down','_resolveNodeSize','_resolveSelectedMindMapEntryFromState','uiStateService','registerCommand','custom','then','boards-mind-ui.toolbar.action.delete','tree-left','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','detach','getElementData','targetNodeId','bounds','_lastPoint','boards-mind-ui.panel.rename','_object','boards-mind-ui.panel.title','path','restore','liveRootBounds','_isControlEvent','_elementStateService','5gpCBAh','copy','FOCUSING_MIND_MAP_TEXT_EDITOR','ARROW_RIGHT','boards-mind-ui.panel.cancel','_enableMindMapToolbarTool','sort','LEFT','univer-w-20\x20univer-shrink-0','pointerStartX','_resolveRootTopLeft','viewing','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1',',\x20minmax(0,\x201fr))','pointerStartY','getContextValue','italic','primary','getAncestorScale','_executeChildDragAction','M47\x2025h13M47\x2035h13M47\x2045h13','text/plain','Enter','value','close','_mindMapClipboardService','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','567828JGJUJj','#d8dce3','branch-curve','hasChildren','fromEntries','_provider','_childDragActivated','snapDistance','childNodeId','boards-mind-ui.panel.structureKind.mindmapVertical','RIGHT','element','_resolveArrowNavigationTarget','Tree\x20diagram','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','rootRadius','requestRender','univer-h-28\x20univer-resize-none','ARROW_LEFT','visualRadius','_pasteAsNewMindMap','rootWidth','textStyle','root','boards-mind-ui.panel.spacing.siblingGap','newParentNodeId','rootStartBounds','hostSize','_config','getTransformerByCreate','univer-border-b\x20univer-border-gray-200\x20univer-p-3','stopPropagation','_seedExistingNodeSizes','univer-min-h-12\x20univer-text-xl','_getPointerScreenPoint','add-sibling-or-child','boards-mind-ui.panel.pasteOPML','_resolveChildSide','registerAdapter','boards-mind-ui.config','boards-mind-ui.panel.nodeStyle.style','univer-border-b\x20univer-border-gray-200\x20univer-p-4','zoomRatio','_syncContext','shapeText','resolve','OPERATION','labelKey','boards-mind-ui.panel.branchLineType.curve','paste-as-new','top-center','edit-text','_attachObjectPointerScheduled','univer-w-32','glyphWidth','circle','decorate','set','mindmap-vertical','nodeHeight','radius','_insertMindMap','mind-map-fill','currentColor','attachPopupToObject','6\x207','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','timeline','ghostFontWeight','_resolveSelectedEntry','FOCUSING_MIND_MAP_NODE','focusedId','dropdown','boards-mind-ui.panel.branchLineType.roundedOrthogonal','branch','subUnitId','_getLiveObjectBounds','_objectEventDisposables','ArrowLeft','_cloneBlueprintNode','univer-min-h-12\x20univer-w-full','onPointerDown$','boundsByElementId','_queueLayout','preventDefault','siblingDotRadius','lineCap','sourceHighlightFillColor','_resolveChildDragTopologyAction','textEditingService','boards-mind-ui.panel.nodeStyle.fontSize','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','addChildRadius','_renderManagerService','572131OlHTII','getRenderUnitById','SHIFT','boards-mind-ui.toolbar.action.addChild','fill','dash','oldShapeText','pointermove','asObservable','add-child-left','elementRemove$','board-mind-map-node-controls-object','_executeRootAnchoredLayout','_createKeyboardShortcutOperation','board-mind-map-pending-insert-object','univer-w-full\x20univer-text-xs','_boardCanvasPopManagerService','_popupSelectionKey','_insertStateService','doc','collapsePlusMinDistance','_deleteSelectedNode','onCommandExecuted','add-child-right','getUnit','center','toLowerCase','onDblclick$','detachWhenNoSnap','boards-mind-ui.panel.exportOPML','zIndex','reduce','_syncChildDragPreview','isRootNode','fillText','elementData','buttons','timeline-horizontal','addChild','getCurrentUnitOfType','min','boards-mind-ui.toolbar.primary.line','addEventListener','arc','navigator','setEditing','prototype','setContextValue','_activePointerDragDisposables','_capturePointerChildDragStart','getScene','univer-text-xs','item','getTouchHitDistance','boards-mind-ui.panel.branchLineType.orthogonal','span','clearControl$','both','boards-mind-ui.panel.importOPML','_updateShapeText','activeTool','getState','ArrowUp','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','color','_isPopupSelectionStillActive','_consumeControlEvent','extraProps','univer-flex\x20univer-justify-end\x20univer-gap-2','opacity','structure','flatMap','fallbackNodeWidth','stroke','boards-mind-ui.panel.layout.left','_template','ignoreExternalFocusChanges','lineWidthScreen','globalAlpha','getBoundingClientRect','univer-text-base','button','icon','dot','univer-space-y-2','618318XMPBrW','move','hideRootControls','_applyScopeTranslation','hypot','svg','getHitControl','surfaceColor','setTemplate','[&_input]:univer-h-12\x20[&_input]:univer-text-base','dividerBefore','univer-flex\x20univer-flex-col\x20univer-gap-2','_resolveIncomingConnectorStyle','_refresh$','style','boards-mind-ui.panel.structureKind.treeAlternate','elementUpdate$','textAlign','boards-mind-ui.panel.spacing.parentGap','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','transientControl','incomingConnectorStyle','right','strikethrough','_boardTextEditingService','univer-flex-1\x20univer-text-sm','lineTo','round','children','has','unitId','mindmap','badgeFontSize','Escape','registerProvider','badgeCount','registerRenderModule','_activeScopeId','changing$','_syncPreviewObject','boards-mind-ui.cancel','boards-mind-ui.toolbar.panel.typography','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','enabled','parentNodeId','vertical','none','moveTo','univer-min-h-12\x20univer-flex-1','call','offsetY','collapseAllNodes','univer-min-h-12\x20univer-px-3','boards-mind-ui.panel.spacing.branchGap','add-child','_ensurePreviewObject','parentBounds','univer-h-32\x20univer-resize-none\x20univer-text-sm','univer-text-gray-500','createRunner','closePath','section','_ensureObject','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','strokeWidth','_openDescriptionDialog','_showPopupForSelection','siblingGap','pointercancel','function','CENTER','univer-max-w-[min(760px,calc(100vw-32px))]','_removePreviewObject','layout','ghostFillColor','boards-mind-ui.alignCenter','show','getSelectedObjectMap','map','_getBlankBoardContext','addObject','_getPointFromEvent','pluginName','univer-space-y-1','getActivePageId','makeDirtyNoDebounce','orderKey','add-child-bottom','params','rootText','_drawSourceHighlight','tree-diagram','open-description','fontFamily','forEach','_clearPopup','textFill','beginMindMapMode','_syncPointerChildDragPreview','branch-rounded-orthogonal','action','glyphHoverWidth','_textEditingService','_resolveCurrentBoardContext','_layoutFlushScheduled','@univerjs-pro/boards-mind-ui','boards-mind-ui.panel.tab.layout','beginPath','values','_state','top','_getMindMapChildren','20JTorTm','unit','updateState','branchGap','_getZoomRatio','_normalizeChildren','foreignAttributes','structureScopeId','slice','_cloneBlueprint','titleKey','before','items','_previewObject','_removeDragPreviewObject','_resolveCompleteSelectedScope','_addChild','arrow-right','orthogonal','tree-alternate','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','boards-mind-ui.panel.emptyNodes','evented','univer-mb-4','1.1.0','bold','_instanceSrv','deviceType','siblingHoverRadius','univer-flex-wrap','scaleX','pointerup','getInjector','rootFontWeight','siblingDotGap','child','ghostRadius','glyphSize','getOwnPropertyDescriptor','scope','_childDragSelectionHidden','_undoRedoGroupService','univer-size-5','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','Touch','getSnapshot','_openSelectedTextEditing','MIDDLE','renderContext','line','kind','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','_getSelectedMindMapContext','boards-mind-ui.description','complete','unsubscribe','point','max','dataTransfer','hasCommand','verticalAlign','ArrowDown','rgba(','_uiStateService','effectAllowed','_getSceneObject','_getDependencies','dialogService','clientX','_updateHostSize','_syncLayoutPreview','symbol','_scheduleAttachObjectPointerListeners','makeDirty','executeCommand','tools','_commandService','transform','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','_hideSelectionForChildDrag','delete','mindmap-horizontal','_localeService','skipNextObservers','curve','_intrinsicSizeService','_initEditingRestore','renderGhostNode','updateElement','panOffset','_handlePointerMove','_isPointInBounds','TRUE','dashType','removeObjects','collapsedDescendantCount','clear','board-mind-map-drag-preview-object','subscribe','_createQuoteShortcut','_collapseAll','importExport','board.operation.mind-map.keyboard-shortcut','_getBoardsUIConfig','_dragPreviewObject','isRoot','changeEnd$','allowRootReparent','_resolveRootChildControlSides','side','string','getUnitId','popup','preview','strokeStyle','middle','_lastChildDragAction','small','timelineAxisGap','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','UNIVER_BOARD','fonts$','foldChildNodes','structureKind','dragObjectAlpha','render','connectorAffordance','keys','setConfig','_contextService','objects','writeText','ghost','includes','touchHitRadius','abs','M56\x2011h11M56\x2051h11','blueprint','height','viewportPanOffset','arrow-left','getPayload','depth','_previewHostSize','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','from','selectedIds','onPointerUp$','_syncElementDataToScene','tree-right','univer-w-24','_navigateByTopology','siblingGlyphSize','lineWidth','connectorData','boards-mind-ui.panel.layout.right','sourceDashScreen','rootNodeId','paste','connector','findIndex','_restoreObjectToDragStart','offsetX','_pasteUnderSelectedNode','trim','boards-mind-ui.panel.structureKind.treeLeft','dataModel','_getElementKey','shapeData','_syncControls','onReady','_consumePointerEvent','clientY','direction','boards-mind-ui.panel.addText','_cancelPointerChildDrag','ArrowRight','_clearPopupIfSelectionChanged','isTransforming','boards-mind-ui.toolbar.action.copy','isHit','534XdPoze','univer-flex\x20univer-gap-2','412434HJRsJd','sourceHaloScreen','dirtyPaddingScreen','_instanceService','_resolveHostSize','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','_resolveDirtyBounds','_buildPopupSelectionKey','0\x200\x2080\x2056','univer-min-h-12\x20univer-w-full\x20univer-justify-between','setData','run','Shape','_resolveControlSide','divider-','scopeId','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','more','context','typography','scaleY','boards-mind-ui.toolbar.panel.more','reparent','univer-h-12\x20univer-w-32\x20univer-text-base','_handlePointerDown','_isActive','_interactionSurfaceService','type','focus','getObject','nodeWidth','_resolvePreviewSourceBounds','number','toolbar','boards-mind-ui.panel.tab.importExport','createControl$','transformByState','documentStyle','toPrimitive','_resolvePreviewTextStyle','title','shapeId','_attachObjectPointerListeners','setPendingInsert','FOCUSING_MIND_MAP_BLANK_BOARD','addSiblingNode','_syncRootReparentPreview','placement','clipboard','rootFontSize','onPointerCancel$','add-sibling-after','0\x200\x2024\x2024','setActiveTool','univer-mb-3\x20univer-w-full','sourceBounds','elementService'];_0x4677=function(){return _0x220eea;};return _0x4677();}zr=J([q(0x0,_0x27d0fe),q(0x1,_0x2c1c63)],zr);const Br=[Mn,Nn,Rr];let Vr=class extends _0x41f8e5{constructor(_0x38f41c,_0x3b185f,_0x360461,_0x2ce1b4,_0x28242c){const _0x5491d3=_0x4f3d14;super(),this[_0x5491d3(0x414)]=_0x38f41c,this[_0x5491d3(0x3dd)]=_0x3b185f,this[_0x5491d3(0x1a3)]=_0x360461,this['_textEditingService']=_0x2ce1b4,this[_0x5491d3(0x364)]=_0x28242c,K(this,'_isActive',!0x1),this['disposeWithMe'](_0x122c68(this[_0x5491d3(0x414)][_0x5491d3(0x3e6)]['pipe'](_0x41cd5b(this['dispose$']))['subscribe'](_0x1af0b9=>{const _0x2016a7=_0x5491d3;this[_0x2016a7(0x3b3)]=_0x1af0b9,this[_0x2016a7(0x1ea)]();}))),this[_0x5491d3(0x44d)](_0x122c68(this['_elementStateService']['state$'][_0x5491d3(0x46c)](_0x41cd5b(this[_0x5491d3(0x494)]))[_0x5491d3(0x345)](()=>{const _0x2ba0d3=_0x5491d3;this[_0x2ba0d3(0x1ea)]();}))),this['disposeWithMe'](_0x122c68(this['_textEditingService'][_0x5491d3(0x482)]['pipe'](_0x41cd5b(this[_0x5491d3(0x494)]))[_0x5491d3(0x345)](()=>{this['_syncContext']();}))),this[_0x5491d3(0x1ea)]();}['_syncContext'](){const _0x4498a8=_0x4f3d14;var _0x133319,_0x1378dc;let _0x1f88f8=this[_0x4498a8(0x1a3)][_0x4498a8(0x310)](),_0x47fe90=this['_textEditingService']['getEditing'](),_0x53abbf=_0x47fe90!=null&&_0x47fe90[_0x4498a8(0x418)]?_0x47fe90[_0x4498a8(0x3c3)]:_0x1f88f8[_0x4498a8(0x483)],_0x40247d=_0x1f88f8['focusedId']??_0x1f88f8[_0x4498a8(0x375)][0x0],_0x63aa93=_0x1f88f8[_0x4498a8(0x3ac)]??{'unitId':this[_0x4498a8(0x414)][_0x4498a8(0x291)],'subUnitId':this[_0x4498a8(0x414)][_0x4498a8(0x2e4)][_0x4498a8(0x2c7)]()},_0x5c1a06=this[_0x4498a8(0x3b3)]&&!!_0x40247d&&_0x1f88f8[_0x4498a8(0x375)][_0x4498a8(0x452)]===0x1&&!_0x53abbf&&!_0x1f88f8[_0x4498a8(0x395)],_0x525f70=this[_0x4498a8(0x3b3)]?this[_0x4498a8(0x3dd)][_0x4498a8(0x198)](_0x63aa93['unitId'],_0x63aa93[_0x4498a8(0x20a)]):{};this['_contextService'][_0x4498a8(0x24d)](Mn,_0x5c1a06&&!!_0x5585ba((_0x133319=_0x525f70[_0x40247d])==null?void 0x0:_0x133319['element'])),this[_0x4498a8(0x364)][_0x4498a8(0x24d)](Nn,this[_0x4498a8(0x3b3)]&&_0x1f88f8['selectedIds']['length']===0x0&&!_0x1f88f8[_0x4498a8(0x206)]&&!_0x53abbf&&!_0x1f88f8[_0x4498a8(0x395)]),this[_0x4498a8(0x364)][_0x4498a8(0x24d)](Rr,!!_0x53abbf&&!!_0x5585ba((_0x1378dc=_0x525f70[_0x53abbf])==null?void 0x0:_0x1378dc[_0x4498a8(0x1ca)]));}['dispose'](){const _0x37cfc3=_0x4f3d14;this[_0x37cfc3(0x4a6)](),super[_0x37cfc3(0x45e)]();}[_0x4f3d14(0x4a6)](){const _0x3066f3=_0x4f3d14;Br['forEach'](_0x51a9d5=>this[_0x3066f3(0x364)]['setContextValue'](_0x51a9d5,!0x1));}};Vr=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x132a38(_0x2d7b12)),q(0x4,_0x22ca73)],Vr);var Hr=class extends wr{async['_handlePointerDown'](_0x5f44a0,_0xbc699c,_0x5dc551){const _0x192ca8=_0x4f3d14;await this[_0x192ca8(0x1fc)](_0x5f44a0,_0xbc699c,_0x5dc551);}};const Ur={'id':_0x4f3d14(0x47b),'type':_0x470c85[_0x4f3d14(0x1ed)],'handler':(_0x27966d,_0x4741e3)=>!!(_0x4741e3!=null&&_0x4741e3[_0x4f3d14(0x291)])&&!!_0x4741e3[_0x4f3d14(0x20a)]&&!!_0x4741e3[_0x4f3d14(0x3a9)]},Wr='board.mind-map.panel',Gr=[_0x4f3d14(0x264),_0x4f3d14(0x2bc),_0x4f3d14(0x348)];_0x1fa9e8[_0x4f3d14(0x441)],_0x1fa9e8['siblingGap'],_0x1fa9e8[_0x4f3d14(0x2e6)];const Kr=[{'labelKey':_0x4f3d14(0x285),'key':_0x4f3d14(0x441),..._0x3fb7b7[_0x4f3d14(0x441)]},{'labelKey':_0x4f3d14(0x1d7),'key':_0x4f3d14(0x2b6),..._0x3fb7b7[_0x4f3d14(0x2b6)]},{'labelKey':_0x4f3d14(0x2a8),'key':'branchGap',..._0x3fb7b7[_0x4f3d14(0x2e6)]}],qr=[{'labelKey':_0x4f3d14(0x37e),'value':'right'},{'labelKey':_0x4f3d14(0x268),'value':_0x4f3d14(0x445)},{'labelKey':_0x4f3d14(0x454),'value':_0x4f3d14(0x257)}],Jr=[{'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal','value':_0x4f3d14(0x334)},{'labelKey':_0x4f3d14(0x1c8),'value':_0x4f3d14(0x1f9)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x4f3d14(0x378)},{'labelKey':_0x4f3d14(0x388),'value':_0x4f3d14(0x195)},{'labelKey':_0x4f3d14(0x282),'value':_0x4f3d14(0x2f6)},{'labelKey':_0x4f3d14(0x491),'value':_0x4f3d14(0x243)},{'labelKey':_0x4f3d14(0x48f),'value':'timeline-vertical'}],Yr=[{'labelKey':_0x4f3d14(0x1ef),'value':_0x4f3d14(0x337)},{'labelKey':_0x4f3d14(0x208),'value':'rounded-orthogonal'},{'labelKey':_0x4f3d14(0x254),'value':'orthogonal'}];function Xr(_0x5261c6){const _0x185db7=_0x4f3d14;let _0x53b981=(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x35e)])??_0x1fa9e8[_0x185db7(0x35e)];return{'spacing':{'horizontalGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x441)])??_0x1fa9e8[_0x185db7(0x441)],'siblingGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x2b6)])??_0x1fa9e8[_0x185db7(0x2b6)],'branchGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x2e6)])??_0x1fa9e8[_0x185db7(0x2e6)]},'direction':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x390)])??_0x1fa9e8['direction'],'structureKind':_0x53b981,'branchLineType':_0x22ba0f(_0x53b981,_0x5261c6==null?void 0x0:_0x5261c6['branchLineType'])};}async function Zr(_0x257eef,_0x36981a){const _0x305134=_0x4f3d14;return await Promise[_0x305134(0x1ec)](_0x257eef[_0x305134(0x32d)](_0x32999d['id'],_0x36981a))?(await Promise[_0x305134(0x1ec)](_0x257eef[_0x305134(0x32d)](_0x4b5dc4['id'],{'unitId':_0x36981a[_0x305134(0x291)],'subUnitId':_0x36981a[_0x305134(0x20a)],'scopeId':_0x36981a['scopeId']})),!0x0):!0x1;}async function Qr(_0x1af0ab,_0x564235){const _0x55a12d=_0x4f3d14;return await Promise[_0x55a12d(0x1ec)](_0x1af0ab[_0x55a12d(0x32d)](_0x523acc['id'],_0x564235))?(await Promise[_0x55a12d(0x1ec)](_0x1af0ab['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x564235[_0x55a12d(0x291)],'subUnitId':_0x564235[_0x55a12d(0x20a)],'scopeId':_0x564235[_0x55a12d(0x3a9)]})),!0x0):!0x1;}async function $r(_0x54b294,_0x413375){const _0x36160b=_0x4f3d14;return await Promise[_0x36160b(0x1ec)](_0x54b294[_0x36160b(0x32d)](_0x32999d['id'],{'unitId':_0x413375[_0x36160b(0x291)],'subUnitId':_0x413375[_0x36160b(0x20a)],'scopeId':_0x413375[_0x36160b(0x3a9)],..._0x413375[_0x36160b(0x441)]===void 0x0?{}:{'horizontalGap':_0x413375[_0x36160b(0x441)]},..._0x413375['siblingGap']===void 0x0?{}:{'siblingGap':_0x413375[_0x36160b(0x2b6)]},..._0x413375[_0x36160b(0x2e6)]===void 0x0?{}:{'branchGap':_0x413375[_0x36160b(0x2e6)]}}))?(await Promise[_0x36160b(0x1ec)](_0x54b294['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x413375['unitId'],'subUnitId':_0x413375['subUnitId'],'scopeId':_0x413375[_0x36160b(0x3a9)]})),!0x0):!0x1;}async function ei(_0x69ca3d,_0x2005f4){const _0x5d1f62=_0x4f3d14;return _0x2005f4[_0x5d1f62(0x3f9)]===_0x2005f4[_0x5d1f62(0x199)]||!await Promise[_0x5d1f62(0x1ec)](_0x69ca3d[_0x5d1f62(0x32d)](_0x2f561c['id'],{'unitId':_0x2005f4[_0x5d1f62(0x291)],'subUnitId':_0x2005f4[_0x5d1f62(0x20a)],'nodeId':_0x2005f4[_0x5d1f62(0x3f9)],'targetNodeId':_0x2005f4['targetNodeId'],'referenceNodeId':_0x2005f4[_0x5d1f62(0x199)],'placement':_0x2005f4['placement']}))?!0x1:(await Promise[_0x5d1f62(0x1ec)](_0x69ca3d['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x2005f4[_0x5d1f62(0x291)],'subUnitId':_0x2005f4[_0x5d1f62(0x20a)],'scopeId':_0x2005f4[_0x5d1f62(0x3a9)]})),!0x0);}async function ti(_0x58bdc3,_0x43de8a){const _0x1057ed=_0x4f3d14;let _0xc8fab7=_0x43de8a[_0x1057ed(0x488)]['trim']();return!_0xc8fab7||!await Promise[_0x1057ed(0x1ec)](_0x58bdc3[_0x1057ed(0x32d)](_0x3d67d8['id'],{'unitId':_0x43de8a[_0x1057ed(0x291)],'subUnitId':_0x43de8a[_0x1057ed(0x20a)],'nodeId':_0x43de8a[_0x1057ed(0x3f9)],'text':_0xc8fab7}))?!0x1:(await Promise[_0x1057ed(0x1ec)](_0x58bdc3[_0x1057ed(0x32d)](_0x4b5dc4['id'],{'unitId':_0x43de8a[_0x1057ed(0x291)],'subUnitId':_0x43de8a[_0x1057ed(0x20a)],'scopeId':_0x43de8a[_0x1057ed(0x3a9)]})),!0x0);}async function ni(_0x12868e){const _0x125940=_0x4f3d14;var _0x93f76c;let _0xd30797=(_0x93f76c=globalThis[_0x125940(0x24a)])==null?void 0x0:_0x93f76c[_0x125940(0x3ca)];return _0xd30797!=null&&_0xd30797[_0x125940(0x366)]?(await _0xd30797[_0x125940(0x366)](_0x12868e),!0x0):!0x1;}async function ri(_0x1dd79e,_0xc7c986,_0x2a7f1e=ni){const _0x387336=_0x4f3d14;let _0x31ffcd=await Promise[_0x387336(0x1ec)](_0x1dd79e[_0x387336(0x32d)](_0x1d834a['id'],_0xc7c986));if(typeof _0x31ffcd!=_0x387336(0x351)||!_0x31ffcd)return!0x1;try{return await _0x2a7f1e(_0x31ffcd)!==!0x1;}catch{return!0x1;}}async function ii(_0x24dbae,_0x334291){const _0x2dd7ee=_0x4f3d14;return _0x334291[_0x2dd7ee(0x3e7)]['trim']()?(await _0x24dbae[_0x2dd7ee(0x32d)](_0x3b34fe['id'],_0x334291))[_0x2dd7ee(0x432)]:!0x1;}function ai(_0x2f1039,_0x19a298){const _0x296c96=_0x4f3d14;let _0xe0a2ed='shapeData'in _0x2f1039['element']?_0x2f1039[_0x296c96(0x1ca)]['shapeData'][_0x296c96(0x1eb)]:void 0x0;return(_0xe0a2ed==null?void 0x0:_0xe0a2ed[_0x296c96(0x488)])||_0x19a298;}function oi(_0x369fd7,_0x5afd33,_0x44fd74=_0x251b5d){const _0x1e6fe1=_0x4f3d14;let _0x2f79bb=Object['values'](_0x369fd7)[_0x1e6fe1(0x2c1)](_0x4b7636=>{const _0x5a236c=_0x1e6fe1;let _0x35781f=_0x5585ba(_0x4b7636[_0x5a236c(0x1ca)]);return(_0x35781f==null?void 0x0:_0x35781f[_0x5a236c(0x2ea)])===_0x5afd33?{'data':_0x4b7636,'meta':_0x35781f}:null;})[_0x1e6fe1(0x43b)](_0x1f3be7=>!!_0x1f3be7),_0x3c9ff3=new Map();_0x2f79bb[_0x1e6fe1(0x2d1)](_0x4d37fb=>{const _0x3817ac=_0x1e6fe1;let _0x1df638=_0x4d37fb['meta'][_0x3817ac(0x29f)];_0x3c9ff3[_0x3817ac(0x1f8)](_0x1df638,[..._0x3c9ff3[_0x3817ac(0x47f)](_0x1df638)??[],_0x4d37fb]);}),_0x3c9ff3[_0x1e6fe1(0x2d1)](_0x322578=>{const _0x3dee27=_0x1e6fe1;_0x322578[_0x3dee27(0x1aa)]((_0x1f72bf,_0xe22dc2)=>_0x401170(_0x1f72bf['meta'][_0x3dee27(0x2c9)],_0xe22dc2['meta'][_0x3dee27(0x2c9)])||_0x1f72bf['data']['elementId']['localeCompare'](_0xe22dc2[_0x3dee27(0x409)][_0x3dee27(0x3e9)]));});let _0x154035=[],_0x557868=(_0x1fe07b,_0x21d4dd)=>{(_0x3c9ff3['get'](_0x1fe07b)??[])['forEach'](_0x2d924e=>{const _0x817fd7=_0x5652;_0x154035[_0x817fd7(0x3ee)]({'nodeId':_0x2d924e[_0x817fd7(0x409)][_0x817fd7(0x3e9)],'depth':_0x21d4dd,'text':ai(_0x2d924e['data'],_0x44fd74)}),_0x557868(_0x2d924e['data'][_0x817fd7(0x3e9)],_0x21d4dd+0x1);});};return _0x557868(null,0x0),_0x154035;}function _0x5652(_0x32d8e8,_0x1984a1){_0x32d8e8=_0x32d8e8-0x18f;const _0x46778b=_0x4677();let _0x5652b9=_0x46778b[_0x32d8e8];return _0x5652b9;}function si(_0x11ac1b,_0x23c1f9){const _0x4edf86=_0x4f3d14;let _0x139566=_0x23c1f9[_0x4edf86(0x387)]()[_0x4edf86(0x238)]();return _0x139566?_0x11ac1b['filter'](_0x3da873=>_0x3da873[_0x4edf86(0x488)][_0x4edf86(0x238)]()[_0x4edf86(0x368)](_0x139566)):_0x11ac1b;}function ci(_0x58a654){const _0x624c62=_0x4f3d14;return{'paddingInlineStart':0x8+(Number[_0x624c62(0x490)](_0x58a654)&&_0x58a654>0x0?_0x58a654:0x0)*0x10};}function li(_0x2991b5){const _0x162210=_0x4f3d14;return _0x9b9447(_0x373ab1,{'className':_0x162210(0x22d),..._0x2991b5});}function ui(_0x1ed62e){const _0x43af3e=_0x4f3d14;return _0x27b706(_0x43af3e(0x2b0),{'className':_0x461cd5(_0x43af3e(0x1e8),_0x2d215c),'data-board-mind-map-panel-section':_0x43af3e(0x480),'children':[_0x9b9447('h3',{'className':_0x43af3e(0x21b),'children':_0x1ed62e[_0x43af3e(0x3c2)]}),_0x1ed62e['children']]});}function di(_0x5d9589,_0x37a958=_0x4f3d14(0x264)){const _0x1bcd02=_0x4f3d14;var _0x2554ad,_0x36d7b0,_0xbd4a1;let _0x1222e4=_0x1bf837(_0x27d0fe),_0x53ca3b=_0x1bf837(_0x16fdab),_0x563c7d=_0x1bf837(_0x5c495f),_0x1137ae=_0x1bf837(_0x4eab55),[,_0x152ff7]=_0x21ba50(_0x4ee3e5=>_0x4ee3e5+0x1,0x0);_0x4d0c04(()=>{const _0x64b3bc=_0x5652;let _0x3e3b91=_0x3a40cc(_0x563c7d[_0x64b3bc(0x3d9)],_0x563c7d[_0x64b3bc(0x283)],_0x563c7d[_0x64b3bc(0x228)])['subscribe'](_0x1ace92=>{const _0x4db00b=_0x64b3bc;_0x1ace92['some'](_0x4ee604=>_0x4ee604[_0x4db00b(0x291)]===_0x5d9589[_0x4db00b(0x291)]&&_0x4ee604[_0x4db00b(0x20a)]===_0x5d9589[_0x4db00b(0x20a)])&&_0x152ff7();});return()=>_0x3e3b91[_0x64b3bc(0x31a)]();},[_0x563c7d,_0x5d9589['unitId'],_0x5d9589[_0x1bcd02(0x20a)]]);let _0x474a0b=_0x563c7d['getElementData'](_0x5d9589[_0x1bcd02(0x291)],_0x5d9589['subUnitId']),_0x3e1fe2=oi(_0x474a0b,_0x5d9589[_0x1bcd02(0x3a9)],_0x1137ae['t'](_0x1bcd02(0x391))),_0x525cc1=(_0x2554ad=_0x487e3a((_0x36d7b0=_0x474a0b[_0x5d9589['scopeId']])==null?void 0x0:_0x36d7b0[_0x1bcd02(0x1ca)]))==null?void 0x0:_0x2554ad[_0x1bcd02(0x2bc)],[_0x1e9d1c,_0x2f5ff0]=_0x34d7b2(''),[_0x5d9e38,_0x11cde5]=_0x34d7b2(null),[_0x17e0b5,_0x20b32f]=_0x34d7b2(''),{spacing:_0x390be7,direction:_0x1cab0d,structureKind:_0xd2d564,branchLineType:_0x165584}=Xr(_0x525cc1),[_0x5e0119,_0x2e0d41]=_0x34d7b2(null),[_0x4ec8b2,_0x25008d]=_0x34d7b2(_0x37a958),_0x8b2c55=si(_0x3e1fe2,_0x1e9d1c),_0x4fc74f={'unitId':_0x5d9589[_0x1bcd02(0x291)],'subUnitId':_0x5d9589[_0x1bcd02(0x20a)],'scopeId':_0x5d9589['scopeId']};return{'commandService':_0x1222e4,'elementStateService':_0x53ca3b,'localeService':_0x1137ae,'query':_0x1e9d1c,'setQuery':_0x2f5ff0,'editingOutlineNode':_0x5d9e38,'setEditingOutlineNode':_0x11cde5,'opmlText':_0x17e0b5,'setOpmlText':_0x20b32f,'spacing':_0x390be7,'layoutDirection':_0x1cab0d,'structureKind':_0xd2d564,'branchLineType':_0x165584,'setDraggedOutlineNodeId':_0x2e0d41,'activeTab':_0x4ec8b2,'setActiveTab':_0x25008d,'visibleOutlineItems':_0x8b2c55,'baseParams':_0x4fc74f,'tabItems':Gr['map'](_0x178b26=>({'label':_0x1137ae['t']('boards-mind-ui.panel.tab.'+_0x178b26),'value':_0x178b26})),'selectedNode':_0x5d9589[_0x1bcd02(0x3f9)]?(_0xbd4a1=_0x474a0b[_0x5d9589[_0x1bcd02(0x3f9)]])==null?void 0x0:_0xbd4a1['element']:void 0x0,'branchLineItems':Yr['filter'](_0x40c4d8=>_0x40c4d8[_0x1bcd02(0x1bb)]!==_0x1bcd02(0x337)||_0x35ce36(_0xd2d564)),'changeLayout':_0x2d063d=>Zr(_0x1222e4,{..._0x4fc74f,'direction':_0x2d063d}),'changeStructureKind':_0x1e2ed2=>{let _0xca265=_0x22ba0f(_0x1e2ed2,_0x165584);return Zr(_0x1222e4,{..._0x4fc74f,'structureKind':_0x1e2ed2,..._0xca265===_0x165584?null:{'branchLineType':_0xca265}});},'changeBranchLineType':_0x59a2fd=>{let _0x2e3319=_0x22ba0f(_0xd2d564,_0x59a2fd);return Qr(_0x1222e4,{..._0x4fc74f,'branchLineType':_0x2e3319});},'changeSpacing':(_0x4a0f7c,_0x5acd0b)=>{let _0x44712b={..._0x390be7,[_0x4a0f7c]:_0x5acd0b};return $r(_0x1222e4,{..._0x4fc74f,..._0x44712b});},'importOpml':()=>{const _0x2a9692=_0x1bcd02;ii(_0x1222e4,{'unitId':_0x5d9589[_0x2a9692(0x291)],'subUnitId':_0x5d9589[_0x2a9692(0x20a)],'left':0x78,'top':0x78,'opml':_0x17e0b5})[_0x2a9692(0x193)](_0x1088bb=>{_0x1088bb&&_0x20b32f('');});},'exportOpml':()=>ri(_0x1222e4,_0x4fc74f),'startRenameNode':(_0x804f26,_0xd516f8)=>{_0x11cde5({'nodeId':_0x804f26,'text':_0xd516f8});},'commitRenameNode':()=>{const _0x5bbb8c=_0x1bcd02;_0x5d9e38&&ti(_0x1222e4,{..._0x4fc74f,'nodeId':_0x5d9e38[_0x5bbb8c(0x3f9)],'text':_0x5d9e38['text']})[_0x5bbb8c(0x193)](_0x33f70c=>{_0x33f70c&&_0x11cde5(null);});},'reorderNode':(_0x4d97b6,_0x44d8bf)=>{const _0x43aeb4=_0x1bcd02;if(_0x4d97b6['preventDefault'](),!_0x5e0119||_0x5e0119===_0x44d8bf)return;let _0x10282b=_0x4d97b6['currentTarget'][_0x43aeb4(0x26d)](),_0x34c187=_0x4d97b6['clientY']<_0x10282b[_0x43aeb4(0x2e1)]+_0x10282b[_0x43aeb4(0x36d)]/0x2?_0x43aeb4(0x2ee):_0x43aeb4(0x3e3);_0x2e0d41(null),ei(_0x1222e4,{..._0x4fc74f,'nodeId':_0x5e0119,'targetNodeId':_0x44d8bf,'placement':_0x34c187});}};}function fi(_0x4f26d0){const _0x58396d=_0x4f3d14;let {elementStateService:_0x15c167,localeService:_0x214835,query:_0x589913,setQuery:_0x87c93,editingOutlineNode:_0x1f1c4d,setEditingOutlineNode:_0x5672e1,opmlText:_0xf2c94e,setOpmlText:_0x3d69b6,spacing:_0x1bd4d7,layoutDirection:_0x4ccaa8,structureKind:_0x2a27b6,branchLineType:_0x5a5517,setDraggedOutlineNodeId:_0xb4eff9,activeTab:_0x23dac8,setActiveTab:_0x1875ba,visibleOutlineItems:_0x9f31f1,tabItems:_0x247e60,branchLineItems:_0x1e0c1d,changeLayout:_0x2f7c16,changeStructureKind:_0x5392da,changeBranchLineType:_0x1ab59f,changeSpacing:_0x3b4b38,importOpml:_0x5c2423,exportOpml:_0x14cfac,startRenameNode:_0x91f420,commitRenameNode:_0x4ac2c9,reorderNode:_0x63d7b1}=di(_0x4f26d0);return _0x27b706(_0x58396d(0x417),{'className':_0x58396d(0x459),'data-board-mind-map-panel':_0x58396d(0x480),'children':[_0x9b9447('div',{'className':_0x461cd5(_0x58396d(0x1dd),_0x2d215c),'data-board-mind-map-panel-tabs':_0x58396d(0x480),'children':_0x9b9447(li,{'items':_0x247e60,'value':_0x23dac8,'onChange':_0x2245ad=>_0x1875ba(_0x2245ad)})}),_0x23dac8===_0x58396d(0x264)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x4a1)),'children':_0x27b706(_0x58396d(0x417),{'children':[_0x9b9447(_0x163e88,{'slot':_0x9b9447(_0x228aaa,{}),'value':_0x589913,'placeholder':_0x214835['t']('boards-mind-ui.panel.searchNodes'),'className':_0x461cd5(_0x58396d(0x3d0),!0x1),'onChange':_0x87c93}),_0x9f31f1['length']?_0x9b9447('ol',{'className':_0x58396d(0x2c6),'children':_0x9f31f1[_0x58396d(0x2c1)](_0x152567=>_0x9b9447('li',{'draggable':!0x0,'className':_0x58396d(0x39f),'style':ci(_0x152567['depth']),'onDragStart':_0xf90786=>{const _0x1f9a21=_0x58396d;var _0x55e4b6;_0xb4eff9(_0x152567[_0x1f9a21(0x3f9)]),(_0x55e4b6=_0xf90786[_0x1f9a21(0x31d)])==null||_0x55e4b6[_0x1f9a21(0x3a4)](_0x1f9a21(0x1b9),_0x152567[_0x1f9a21(0x3f9)]),_0xf90786[_0x1f9a21(0x31d)]&&(_0xf90786[_0x1f9a21(0x31d)][_0x1f9a21(0x323)]=_0x1f9a21(0x274));},'onDragOver':_0x5c8b41=>{const _0x101a28=_0x58396d;_0x5c8b41['preventDefault'](),_0x5c8b41[_0x101a28(0x31d)]&&(_0x5c8b41[_0x101a28(0x31d)]['dropEffect']=_0x101a28(0x274));},'onDrop':_0x573719=>_0x63d7b1(_0x573719,_0x152567[_0x58396d(0x3f9)]),'onDragEnd':()=>_0xb4eff9(null),'children':(_0x1f1c4d==null?void 0x0:_0x1f1c4d[_0x58396d(0x3f9)])===_0x152567[_0x58396d(0x3f9)]?_0x27b706('div',{'className':_0x461cd5(_0x58396d(0x35a),_0x58396d(0x46e)),'children':[_0x9b9447(_0x163e88,{'autoFocus':!0x0,'size':'small','className':void 0x0,'value':_0x1f1c4d[_0x58396d(0x488)],'onChange':_0x36a683=>_0x5672e1({'nodeId':_0x152567[_0x58396d(0x3f9)],'text':_0x36a683}),'onKeyDown':_0x1522b5=>{const _0x30b8fb=_0x58396d;_0x1522b5['key']===_0x30b8fb(0x1ba)&&_0x4ac2c9(),_0x1522b5[_0x30b8fb(0x3f0)]===_0x30b8fb(0x294)&&_0x5672e1(null);}}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':_0x58396d(0x1b5),'disabled':!_0x1f1c4d[_0x58396d(0x488)]['trim'](),'onClick':_0x4ac2c9,'children':_0x214835['t'](_0x58396d(0x19c))}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':_0x58396d(0x3f6),'onClick':()=>_0x5672e1(null),'children':_0x214835['t'](_0x58396d(0x1a8))})]}):_0x27b706(_0x219099,{'children':[_0x9b9447(_0x8c8b61,{'size':_0x58396d(0x358),'variant':_0x58396d(0x367),'className':_0x461cd5('univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left',!0x1),'onClick':()=>_0x15c167[_0x58396d(0x42b)]({'unitId':_0x4f26d0[_0x58396d(0x291)],'subUnitId':_0x4f26d0[_0x58396d(0x20a)]},[_0x152567[_0x58396d(0x3f9)]],_0x152567[_0x58396d(0x3f9)]),'children':_0x152567[_0x58396d(0x488)]}),_0x9b9447(_0x8c8b61,{'className':_0x461cd5('univer-text-gray-500',_0x58396d(0x251)),'size':'small','variant':_0x58396d(0x3f6),'onClick':()=>_0x91f420(_0x152567[_0x58396d(0x3f9)],_0x152567['text']),'children':_0x214835['t'](_0x58396d(0x19c))})]})},_0x152567[_0x58396d(0x3f9)]))}):_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x486),'data-board-mind-map-panel-empty-state':_0x58396d(0x480),'children':_0x214835['t'](_0x58396d(0x2f8))})]})}),_0x23dac8===_0x58396d(0x2bc)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x2dd)),'children':_0x27b706('div',{'className':_0x58396d(0x41f),'children':[_0x9b9447(_0x58396d(0x417),{'className':'univer-flex\x20univer-gap-2','children':_0x9b9447(li,{'items':Jr[_0x58396d(0x2c1)](_0x336565=>({'label':_0x214835['t'](_0x336565[_0x58396d(0x1ee)]),'value':_0x336565[_0x58396d(0x1bb)]})),'value':_0x2a27b6,'onChange':_0x4b140e=>_0x5392da(_0x4b140e)})}),_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x399),'children':_0x9b9447(li,{'items':qr['map'](_0x47ebf0=>({'label':_0x214835['t'](_0x47ebf0[_0x58396d(0x1ee)]),'value':_0x47ebf0[_0x58396d(0x1bb)]})),'value':_0x4ccaa8,'onChange':_0x2e13e0=>_0x2f7c16(_0x2e13e0)})}),_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x399),'children':_0x9b9447(li,{'items':_0x1e0c1d[_0x58396d(0x2c1)](_0x16a455=>({'label':_0x214835['t'](_0x16a455[_0x58396d(0x1ee)]),'value':_0x16a455[_0x58396d(0x1bb)]})),'value':_0x5a5517,'onChange':_0x172b84=>_0x1ab59f(_0x172b84)})}),_0x9b9447('div',{'className':_0x58396d(0x272),'children':Kr[_0x58396d(0x2c1)](({labelKey:_0x5102ae,key:_0x42e2b5,min:_0x5d24f2,max:_0x4d5dbe})=>_0x27b706(_0x58396d(0x467),{'className':_0x58396d(0x286),'children':[_0x9b9447(_0x58396d(0x255),{'className':_0x58396d(0x1ac),'children':_0x214835['t'](_0x5102ae)}),_0x9b9447(_0x5a974,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x5d24f2,'max':_0x4d5dbe,'step':0x4,'value':_0x1bd4d7[_0x42e2b5],'precision':0x0,'className':_0x58396d(0x379),'onChange':_0x7932e4=>_0x3b4b38(_0x42e2b5,Number(_0x7932e4??_0x5d24f2))})]},_0x42e2b5))})]})}),_0x23dac8===_0x58396d(0x348)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x3bc)),'children':_0x27b706(_0x58396d(0x417),{'className':_0x58396d(0x27e),'children':[_0x9b9447(_0x14dc82,{'className':_0x461cd5(_0x58396d(0x1d0),'univer-text-xs'),'placeholder':_0x214835['t'](_0x58396d(0x1e3)),'value':_0xf2c94e,'onValueChange':_0x3d69b6}),_0x27b706(_0x58396d(0x417),{'className':'univer-flex\x20univer-gap-2','children':[_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':'primary','disabled':!_0xf2c94e['trim'](),'onClick':_0x5c2423,'children':_0x214835['t'](_0x58396d(0x258))}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':'default','onClick':_0x14cfac,'children':_0x214835['t'](_0x58396d(0x23b))})]})]})})]});}let pi=class extends _0x4c4d8b{constructor(_0x3cc0ff,_0x5d8a2a,_0x3625e2){const _0x2a7387=_0x4f3d14;super(),this[_0x2a7387(0x32f)]=_0x3cc0ff,this[_0x2a7387(0x335)]=_0x5d8a2a,this[_0x2a7387(0x466)]=_0x3625e2,K(this,_0x2a7387(0x49c),null),this[_0x2a7387(0x44d)](this[_0x2a7387(0x32f)][_0x2a7387(0x191)](Ur)),this[_0x2a7387(0x44d)](this[_0x2a7387(0x32f)][_0x2a7387(0x234)](_0x33650d=>{const _0x14e603=_0x2a7387;if(_0x33650d['id']!==Ur['id'])return;let _0x380410=_0x33650d['params'];_0x380410&&_0x14e603(0x291)in _0x380410&&typeof _0x380410[_0x14e603(0x291)]==_0x14e603(0x351)&&_0x14e603(0x20a)in _0x380410&&typeof _0x380410['subUnitId']==_0x14e603(0x351)&&_0x14e603(0x3a9)in _0x380410&&typeof _0x380410[_0x14e603(0x3a9)]==_0x14e603(0x351)&&this[_0x14e603(0x485)]({'unitId':_0x380410[_0x14e603(0x291)],'subUnitId':_0x380410[_0x14e603(0x20a)],'scopeId':_0x380410[_0x14e603(0x3a9)],'nodeId':_0x14e603(0x3f9)in _0x380410&&typeof _0x380410['nodeId']==_0x14e603(0x351)?_0x380410[_0x14e603(0x3f9)]:void 0x0});}));}[_0x4f3d14(0x45e)](){const _0x16e2f7=_0x4f3d14;var _0x250e7d;(_0x250e7d=this[_0x16e2f7(0x49c)])==null||_0x250e7d[_0x16e2f7(0x45e)](),this[_0x16e2f7(0x49c)]=null,super[_0x16e2f7(0x45e)]();}['open'](_0x43df13){const _0x409323=_0x4f3d14;var _0x3da761;let _0x1a9a3e={'label':Wr,..._0x43df13},_0x285b37={'id':Wr,'layout':'canvas','header':{'title':this[_0x409323(0x335)]['t'](_0x409323(0x19e))},'width':0x184,'children':_0x1a9a3e,'onClose':()=>{const _0x281f28=_0x409323;this[_0x281f28(0x49c)]=null;}};(_0x3da761=this[_0x409323(0x49c)])==null||_0x3da761['dispose'](),this['_sidebarDisposable']=this['_sidebarService'][_0x409323(0x485)](_0x285b37);}};pi=J([q(0x0,_0x27d0fe),q(0x1,_0x132a38(_0x4eab55)),q(0x2,_0x132a38(_0x313b59))],pi);function mi(_0x951f20){const _0x2a25a2=_0x4f3d14;let _0x4e9f54=_0x1bf837(_0x27d0fe),_0x2b8218=_0x951f20['popup'][_0x2a25a2(0x261)];return _0x2b8218?_0x9b9447(_0x4e732a,{'shapeRef':{'hostType':_0x8b4a1a['UNIVER_BOARD'],'unitId':_0x2b8218['unitId'],'subUnitId':_0x2b8218[_0x2a25a2(0x20a)],'shapeId':_0x2b8218[_0x2a25a2(0x3e9)]},'onText':()=>qn(_0x4e9f54,'edit-text'),'onStyle':()=>_0x4e9f54[_0x2a25a2(0x32d)](Ur['id'],{'unitId':_0x2b8218['unitId'],'subUnitId':_0x2b8218[_0x2a25a2(0x20a)],'scopeId':_0x2b8218[_0x2a25a2(0x3a9)],'nodeId':_0x2b8218[_0x2a25a2(0x3e9)]}),'onDelete':()=>qn(_0x4e9f54,_0x2a25a2(0x333))}):null;}function hi(_0x41a9e3){const _0x302a4c=_0x4f3d14;var _0x4f2d4f,_0x5dca64,_0x29bcc9,_0x495461,_0x5dd0d9;let _0x2e1389=_0x1bf837(_0x27d0fe),_0x5be820=_0x1bf837(_0x4eab55),_0x3189d6=_0x1bf837(_0x27dbe6),_0x4db2fd=_0x5180ec(_0x3189d6[_0x302a4c(0x35c)],_0x3189d6[_0x302a4c(0x416)]()),[_0x5988cd,_0x562847]=_0x34d7b2(null),_0x1f2589=_0x3c14be(_0x41a9e3[_0x302a4c(0x38b)]),_0x3ce805=_0x1f2589['ff']??_0x588e8c['shapeText'][_0x302a4c(0x2d0)],_0xd1ce9=_0x1f2589['fs']??_0x588e8c[_0x302a4c(0x1eb)]['fontSize'];function _0x24334c(_0x4d5206){const _0x3905f7=_0x302a4c;return _0x2e1389[_0x3905f7(0x32d)](_0x3d67d8['id'],{'unitId':_0x41a9e3[_0x3905f7(0x291)],'subUnitId':_0x41a9e3[_0x3905f7(0x20a)],'nodeId':_0x41a9e3[_0x3905f7(0x3f9)],..._0x4d5206});}let _0x5a7f3d=[{'key':'fill','value':((_0x4f2d4f=_0x41a9e3[_0x302a4c(0x38b)]['fill'])==null?void 0x0:_0x4f2d4f[_0x302a4c(0x25e)])??_0x588e8c[_0x302a4c(0x222)]},{'key':'stroke','value':((_0x5dca64=_0x41a9e3[_0x302a4c(0x38b)][_0x302a4c(0x267)])==null?void 0x0:_0x5dca64[_0x302a4c(0x25e)])??_0x588e8c[_0x302a4c(0x267)]},{'key':_0x302a4c(0x425),'value':((_0x29bcc9=_0x1f2589['cl'])==null?void 0x0:_0x29bcc9[_0x302a4c(0x45c)])??_0x588e8c['shapeText']['color']}];if(_0x5988cd){var _0x1abb27;return _0x27b706('div',{'className':_0x302a4c(0x331),'children':[_0x9b9447(_0x8c8b61,{'className':'univer-min-h-12\x20univer-w-full','onClick':()=>_0x562847(null),'children':_0x5be820['t'](_0x302a4c(0x1a8))}),_0x5988cd==='fontFamily'?_0x4db2fd==null?void 0x0:_0x4db2fd['map'](_0x55bcd1=>_0x9b9447(_0x8c8b61,{'className':_0x302a4c(0x20f),'aria-pressed':_0x3ce805===_0x55bcd1['value'],'variant':_0x3ce805===_0x55bcd1[_0x302a4c(0x1bb)]?'primary':_0x302a4c(0x3f6),'onClick':async()=>{const _0x61aa52=_0x302a4c;await _0x24334c({'textStyle':{'fontFamily':_0x55bcd1[_0x61aa52(0x1bb)]}}),_0x562847(null);},'children':_0x55bcd1[_0x302a4c(0x467)]},_0x55bcd1['value'])):_0x9b9447(_0x4c11aa,{'value':(_0x1abb27=_0x5a7f3d[_0x302a4c(0x431)](({key:_0x509438})=>_0x509438===_0x5988cd))==null?void 0x0:_0x1abb27['value'],'onSelect':async _0x3b8e51=>{const _0x1bbdb1=_0x302a4c;_0x5988cd===_0x1bbdb1(0x222)?await _0x24334c({'fillColor':_0x3b8e51}):_0x5988cd===_0x1bbdb1(0x267)?await _0x24334c({'strokeColor':_0x3b8e51}):await _0x24334c({'textStyle':{'color':_0x3b8e51}}),_0x562847(null);}})]});}let _0x3b0496=[{'key':_0x302a4c(0x2fc),'active':_0x1f2589['bl']===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x12ba90,{})},{'key':_0x302a4c(0x1b4),'active':_0x1f2589['it']===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x5c4515,{})},{'key':_0x302a4c(0x3db),'active':((_0x495461=_0x1f2589['ul'])==null?void 0x0:_0x495461['s'])===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x2fc605,{})},{'key':'strikethrough','active':((_0x5dd0d9=_0x1f2589['st'])==null?void 0x0:_0x5dd0d9['s'])===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x523a6d,{})}];return _0x27b706('div',{'className':_0x302a4c(0x331),'children':[_0x9b9447(_0x302a4c(0x417),{'className':_0x302a4c(0x2b2),'children':_0x3b0496[_0x302a4c(0x2c1)](({key:_0x34df11,active:_0x5d3a5a,icon:_0x5df163})=>_0x9b9447(_0x8c8b61,{'className':_0x302a4c(0x1e0),'aria-label':_0x5be820['t']('boards-mind-ui.panel.nodeStyle.'+_0x34df11),'aria-pressed':_0x5d3a5a,'variant':_0x5d3a5a?_0x302a4c(0x1b5):_0x302a4c(0x3f6),'onClick':()=>_0x24334c({'textStyle':{[_0x34df11]:!_0x5d3a5a}}),'children':_0x5df163},_0x34df11))}),_0x27b706(_0x8c8b61,{'className':_0x302a4c(0x3a3),'onClick':()=>_0x562847(_0x302a4c(0x2d0)),'children':[_0x9b9447(_0x302a4c(0x255),{'children':_0x5be820['t']('boards-mind-ui.panel.nodeStyle.fontFamily')}),_0x9b9447(_0x302a4c(0x255),{'children':_0x3ce805})]}),_0x27b706(_0x302a4c(0x467),{'className':_0x302a4c(0x30e),'children':[_0x9b9447('span',{'children':_0x5be820['t'](_0x302a4c(0x219))}),_0x9b9447(_0x5a974,{'className':_0x302a4c(0x1f4),'inputClassName':_0x302a4c(0x27c),'controls':!0x1,'min':0x1,'value':_0xd1ce9,'onChange':_0x12e7f1=>{if(_0x12e7f1!=null)return _0x24334c({'textStyle':{'fontSize':_0x12e7f1}});}})]}),_0x5a7f3d[_0x302a4c(0x2c1)](({key:_0x22e547,value:_0x50c155})=>_0x27b706(_0x8c8b61,{'className':_0x302a4c(0x3a3),'onClick':()=>_0x562847(_0x22e547),'children':[_0x9b9447(_0x302a4c(0x255),{'children':_0x5be820['t']('boards-mind-ui.toolbar.action.'+_0x22e547)}),_0x9b9447(_0x302a4c(0x255),{'className':_0x302a4c(0x29d),'style':{'backgroundColor':_0x50c155}})]},_0x22e547))]});}function gi(_0x3fc33f){const _0x48fdaf=_0x4f3d14;return _0x9b9447('div',{'className':_0x461cd5('univer-grid\x20univer-w-full\x20univer-gap-2',_0x3fc33f[_0x48fdaf(0x2ef)][_0x48fdaf(0x452)]===0x4?'univer-grid-cols-4':_0x48fdaf(0x43e)),'children':_0x3fc33f[_0x48fdaf(0x2ef)][_0x48fdaf(0x2c1)](_0x2bef1e=>_0x9b9447(_0x8c8b61,{'className':_0x48fdaf(0x3f3),'variant':_0x3fc33f['value']===_0x2bef1e['value']?'primary':'default','aria-pressed':_0x3fc33f[_0x48fdaf(0x1bb)]===_0x2bef1e['value'],'onClick':()=>_0x3fc33f['onChange'](_0x2bef1e['value']),'children':_0x2bef1e[_0x48fdaf(0x467)]},_0x2bef1e['value']))});}function _i(_0x1d97ad){const _0x1a28bc=_0x4f3d14;let {commandService:_0x2686e2,elementStateService:_0x3ce48f,localeService:_0x544987,query:_0x14b778,setQuery:_0xd15a95,editingOutlineNode:_0x508190,setEditingOutlineNode:_0x28c83b,opmlText:_0x105322,setOpmlText:_0x5d23c1,spacing:_0x40fc0f,layoutDirection:_0x46a000,structureKind:_0x556782,branchLineType:_0x42efb4,activeTab:_0x30c7c3,setActiveTab:_0x19230a,visibleOutlineItems:_0x53b6db,baseParams:_0x2be6c2,tabItems:_0x273c4f,selectedNode:_0x469e52,branchLineItems:_0x58f65c,changeLayout:_0x502774,changeStructureKind:_0x90d481,changeBranchLineType:_0x32e209,changeSpacing:_0x1517b9,importOpml:_0x6589b1,startRenameNode:_0x3ba737,commitRenameNode:_0x2b8ee8}=di(_0x1d97ad,_0x1d97ad[_0x1a28bc(0x3f9)]?_0x1a28bc(0x281):_0x1a28bc(0x264));return(_0x469e52==null?void 0x0:_0x469e52[_0x1a28bc(0x3b5)])===_0x282c4b[_0x1a28bc(0x3a6)]&&_0x273c4f[_0x1a28bc(0x48e)]({'label':_0x544987['t'](_0x1a28bc(0x1e7)),'value':_0x1a28bc(0x281)}),_0x27b706(_0x1a28bc(0x417),{'className':_0x1a28bc(0x459),'data-board-mind-map-panel':'true','children':[_0x9b9447(_0x1a28bc(0x417),{'className':_0x461cd5(_0x1a28bc(0x1dd),_0x2d215c),'data-board-mind-map-panel-tabs':_0x1a28bc(0x480),'children':_0x9b9447(gi,{'items':_0x273c4f,'value':_0x30c7c3,'onChange':_0x5c29e6=>_0x19230a(_0x5c29e6)})}),_0x30c7c3===_0x1a28bc(0x281)&&(_0x469e52==null?void 0x0:_0x469e52[_0x1a28bc(0x3b5)])===_0x282c4b[_0x1a28bc(0x3a6)]&&_0x9b9447(hi,{'unitId':_0x1d97ad[_0x1a28bc(0x291)],'subUnitId':_0x1d97ad[_0x1a28bc(0x20a)],'nodeId':_0x469e52['id'],'shapeData':_0x469e52[_0x1a28bc(0x38b)]}),_0x30c7c3===_0x1a28bc(0x264)&&_0x9b9447(ui,{'title':_0x544987['t'](_0x1a28bc(0x4a1)),'children':_0x27b706(_0x1a28bc(0x417),{'children':[_0x9b9447(_0x163e88,{'slot':_0x9b9447(_0x228aaa,{}),'value':_0x14b778,'placeholder':_0x544987['t'](_0x1a28bc(0x428)),'className':_0x461cd5(_0x1a28bc(0x3d0),_0x1a28bc(0x464)),'onChange':_0xd15a95}),_0x53b6db[_0x1a28bc(0x452)]?_0x9b9447('ol',{'className':_0x1a28bc(0x2c6),'children':_0x53b6db[_0x1a28bc(0x2c1)](_0x27ef20=>_0x9b9447('li',{'className':_0x1a28bc(0x39f),'style':ci(_0x27ef20[_0x1a28bc(0x371)]),'children':(_0x508190==null?void 0x0:_0x508190[_0x1a28bc(0x3f9)])===_0x27ef20['nodeId']?_0x27b706(_0x1a28bc(0x417),{'className':_0x461cd5('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2',_0x1a28bc(0x300)),'children':[_0x9b9447(_0x163e88,{'autoFocus':!0x1,'size':_0x1a28bc(0x356),'className':'univer-w-full\x20univer-text-base','value':_0x508190['text'],'onChange':_0x89708a=>_0x28c83b({'nodeId':_0x27ef20[_0x1a28bc(0x3f9)],'text':_0x89708a}),'onKeyDown':_0x514d2=>{const _0x38a73f=_0x1a28bc;_0x514d2[_0x38a73f(0x3f0)]===_0x38a73f(0x1ba)&&_0x2b8ee8(),_0x514d2[_0x38a73f(0x3f0)]===_0x38a73f(0x294)&&_0x28c83b(null);}}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':'small','variant':_0x1a28bc(0x1b5),'disabled':!_0x508190[_0x1a28bc(0x488)][_0x1a28bc(0x387)](),'onClick':_0x2b8ee8,'children':_0x544987['t'](_0x1a28bc(0x19c))}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':()=>_0x28c83b(null),'children':_0x544987['t'](_0x1a28bc(0x1a8))})]}):_0x27b706(_0x219099,{'children':[_0x9b9447(_0x8c8b61,{'size':'small','variant':_0x1a28bc(0x367),'className':_0x461cd5(_0x1a28bc(0x462),'univer-min-h-12\x20univer-text-base'),'onClick':()=>_0x3ce48f['selectElements']({'unitId':_0x1d97ad[_0x1a28bc(0x291)],'subUnitId':_0x1d97ad[_0x1a28bc(0x20a)]},[_0x27ef20['nodeId']],_0x27ef20[_0x1a28bc(0x3f9)]),'children':_0x27ef20[_0x1a28bc(0x488)]}),_0x9b9447(_0x8c8b61,{'className':_0x461cd5(_0x1a28bc(0x2ad),_0x1a28bc(0x2a7)),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':()=>_0x3ba737(_0x27ef20['nodeId'],_0x27ef20[_0x1a28bc(0x488)]),'children':_0x544987['t'](_0x1a28bc(0x19c))})]})},_0x27ef20[_0x1a28bc(0x3f9)]))}):_0x9b9447(_0x1a28bc(0x417),{'className':'univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','data-board-mind-map-panel-empty-state':_0x1a28bc(0x480),'children':_0x544987['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x30c7c3==='layout'&&_0x9b9447(ui,{'title':_0x544987['t'](_0x1a28bc(0x2dd)),'children':_0x27b706('div',{'className':'univer-space-y-3','children':[_0x9b9447(_0x1a28bc(0x417),{'className':'univer-flex\x20univer-gap-2','children':_0x9b9447(gi,{'items':Jr[_0x1a28bc(0x2c1)](_0x1e78b5=>({'label':_0x544987['t'](_0x1e78b5['labelKey']),'value':_0x1e78b5[_0x1a28bc(0x1bb)]})),'value':_0x556782,'onChange':_0x267a7d=>_0x90d481(_0x267a7d)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':_0x9b9447(gi,{'items':qr[_0x1a28bc(0x2c1)](_0x2746b6=>({'label':_0x544987['t'](_0x2746b6['labelKey']),'value':_0x2746b6[_0x1a28bc(0x1bb)]})),'value':_0x46a000,'onChange':_0xdc6bc8=>_0x502774(_0xdc6bc8)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':_0x9b9447(gi,{'items':_0x58f65c[_0x1a28bc(0x2c1)](_0x1d4839=>({'label':_0x544987['t'](_0x1d4839[_0x1a28bc(0x1ee)]),'value':_0x1d4839[_0x1a28bc(0x1bb)]})),'value':_0x42efb4,'onChange':_0x4e14f1=>_0x32e209(_0x4e14f1)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x272),'children':Kr[_0x1a28bc(0x2c1)](({labelKey:_0x2e5c2f,key:_0x188034,min:_0x1408b7,max:_0x569ced})=>_0x27b706('label',{'className':_0x1a28bc(0x286),'children':[_0x9b9447(_0x1a28bc(0x255),{'className':_0x1a28bc(0x28c),'children':_0x544987['t'](_0x2e5c2f)}),_0x9b9447(_0x5a974,{'controls':!0x1,'inputClassName':_0x1a28bc(0x27c),'min':_0x1408b7,'max':_0x569ced,'step':0x4,'value':_0x40fc0f[_0x188034],'precision':0x0,'className':_0x1a28bc(0x3b1),'onChange':_0x3ba517=>_0x1517b9(_0x188034,Number(_0x3ba517??_0x1408b7))})]},_0x188034))})]})}),_0x30c7c3===_0x1a28bc(0x348)&&_0x9b9447(ui,{'title':_0x544987['t']('boards-mind-ui.panel.tab.importExport'),'children':_0x27b706(_0x1a28bc(0x417),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x9b9447(_0x14dc82,{'className':_0x461cd5('univer-h-28\x20univer-resize-none',_0x1a28bc(0x26e)),'placeholder':_0x544987['t'](_0x1a28bc(0x1e3)),'value':_0x105322,'onValueChange':_0x5d23c1}),_0x27b706(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':[_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':'small','variant':_0x1a28bc(0x1b5),'disabled':!_0x105322[_0x1a28bc(0x387)](),'onClick':_0x6589b1,'children':_0x544987['t'](_0x1a28bc(0x258))}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':async()=>{const _0x4befb4=_0x1a28bc;let _0x3dd463=await _0x2686e2[_0x4befb4(0x32d)](_0x1d834a['id'],_0x2be6c2);_0x3dd463!==!0x1&&_0x5d23c1(_0x3dd463);},'children':_0x544987['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let vi=class extends _0x4c4d8b{constructor(_0x512265){const _0x569277=_0x4f3d14;super(),this[_0x569277(0x489)]=_0x512265,this[_0x569277(0x42d)]();}['_registerComponents'](){const _0x5a6e49=_0x4f3d14;this[_0x5a6e49(0x44d)](this['_componentManager'][_0x5a6e49(0x3f1)](On,An)),this[_0x5a6e49(0x44d)](this[_0x5a6e49(0x489)][_0x5a6e49(0x3f1)](Kn,mi)),this['disposeWithMe'](this[_0x5a6e49(0x489)][_0x5a6e49(0x3f1)](Wr,_i));}};vi=J([q(0x0,_0x132a38(_0x4b5c19))],vi);let yi=class extends _0x4c4d8b{constructor(_0x5bbdb1,_0x41b70c,_0x148c56){const _0x24632f=_0x4f3d14;super(),this[_0x24632f(0x32f)]=_0x5bbdb1,this[_0x24632f(0x335)]=_0x41b70c,this['_sidebarService']=_0x148c56,K(this,_0x24632f(0x49c),null),this[_0x24632f(0x44d)](this[_0x24632f(0x32f)][_0x24632f(0x191)](Ur)),this['disposeWithMe'](this[_0x24632f(0x32f)][_0x24632f(0x234)](_0x13b1a3=>{const _0x11cddf=_0x24632f;if(_0x13b1a3['id']!==Ur['id'])return;let _0x14e5d2=_0x13b1a3[_0x11cddf(0x2cb)];_0x14e5d2&&_0x11cddf(0x291)in _0x14e5d2&&typeof _0x14e5d2['unitId']==_0x11cddf(0x351)&&'subUnitId'in _0x14e5d2&&typeof _0x14e5d2['subUnitId']==_0x11cddf(0x351)&&_0x11cddf(0x3a9)in _0x14e5d2&&typeof _0x14e5d2[_0x11cddf(0x3a9)]==_0x11cddf(0x351)&&this[_0x11cddf(0x485)]({'unitId':_0x14e5d2[_0x11cddf(0x291)],'subUnitId':_0x14e5d2['subUnitId'],'scopeId':_0x14e5d2[_0x11cddf(0x3a9)],'nodeId':_0x11cddf(0x3f9)in _0x14e5d2&&typeof _0x14e5d2['nodeId']=='string'?_0x14e5d2[_0x11cddf(0x3f9)]:void 0x0});}));}[_0x4f3d14(0x45e)](){const _0x109c95=_0x4f3d14;var _0x481dd5;(_0x481dd5=this[_0x109c95(0x49c)])==null||_0x481dd5[_0x109c95(0x45e)](),this[_0x109c95(0x49c)]=null,super['dispose']();}[_0x4f3d14(0x485)](_0x498913){const _0x2cec99=_0x4f3d14;var _0x4cad71;let _0x4f6151={'label':Wr,..._0x498913};(_0x4cad71=this[_0x2cec99(0x49c)])==null||_0x4cad71[_0x2cec99(0x45e)](),this[_0x2cec99(0x49c)]=this[_0x2cec99(0x466)][_0x2cec99(0x485)]({'id':Wr,'header':{'title':this['_localeService']['t'](_0x2cec99(0x19e))},'width':0x184,'children':_0x4f6151,'onClose':()=>{const _0x278e92=_0x2cec99;this[_0x278e92(0x49c)]=null;}});}};yi=J([q(0x0,_0x27d0fe),q(0x1,_0x132a38(_0x4eab55)),q(0x2,_0x132a38(_0x313b59))],yi);let bi=class extends _0x4c4d8b{constructor(_0x85c6b0){const _0xc26b11=_0x4f3d14;super(),this[_0xc26b11(0x489)]=_0x85c6b0,this['_registerComponents']();}[_0x4f3d14(0x42d)](){const _0x2bfe65=_0x4f3d14;this[_0x2bfe65(0x44d)](this['_componentManager']['register'](On,An)),this[_0x2bfe65(0x44d)](this[_0x2bfe65(0x489)]['register'](Kn,cr)),this[_0x2bfe65(0x44d)](this[_0x2bfe65(0x489)][_0x2bfe65(0x3f1)](Wr,fi));}};bi=J([q(0x0,_0x132a38(_0x4b5c19))],bi);let xi=class{constructor(_0x5e3496,_0x16b013,_0x1c0828){const _0x11edc0=_0x4f3d14;this[_0x11edc0(0x407)]=_0x5e3496,this[_0x11edc0(0x230)]=_0x16b013,this[_0x11edc0(0x21d)]=_0x1c0828;}[_0x4f3d14(0x2d4)](_0x5c34ef){const _0x41e814=_0x4f3d14;var _0x522446,_0x266292;let _0x27ccad=(_0x522446=this[_0x41e814(0x21d)][_0x41e814(0x21f)](_0x5c34ef['unitId']))==null||(_0x266292=_0x522446[_0x41e814(0x303)])==null?void 0x0:_0x266292[_0x41e814(0x2a4)](_0x522446),_0x3a7feb=(_0x27ccad==null?void 0x0:_0x27ccad['get'](_0x31b38d))??this[_0x41e814(0x407)];return((_0x27ccad==null?void 0x0:_0x27ccad[_0x41e814(0x47f)](br))??this['_insertStateService'])[_0x41e814(0x27b)]({'rootText':_0x5c34ef['rootText'],'structureKind':_0x5c34ef[_0x41e814(0x35e)],'branchLineType':_0x5c34ef[_0x41e814(0x402)],'children':_0x5c34ef[_0x41e814(0x28f)],'blueprint':_0x5c34ef[_0x41e814(0x36c)]}),_0x3a7feb['setShapeSidebarOpen'](!0x1),_0x3a7feb['clearPendingInsert'](),_0x3a7feb[_0x41e814(0x3cf)](_0x2f25e2[_0x41e814(0x3fb)]),_0x3a7feb[_0x41e814(0x3c5)]({'type':_0x2f25e2[_0x41e814(0x3fb)]}),!0x0;}};xi=J([q(0x0,_0x31b38d),q(0x1,_0x132a38(br)),q(0x2,_0x19658f)],xi);const Si='UNIVER_BOARDS_MIND_UI_PLUGIN',Ci=[Dn],wi=[Vr];let Ti=class extends _0x273e01{constructor(_0x106731=en,_0x5d7c05,_0x5bf9f2,_0x449bbc){const _0x992a66=_0x4f3d14;super(),this[_0x992a66(0x1db)]=_0x106731,this[_0x992a66(0x3e8)]=_0x5d7c05,this[_0x992a66(0x4a3)]=_0x5bf9f2,this[_0x992a66(0x21d)]=_0x449bbc;let {..._0x60700d}=_0x44c8ca({},en,this[_0x992a66(0x1db)]);this[_0x992a66(0x4a3)][_0x992a66(0x363)]($t,_0x60700d);}[_0x4f3d14(0x41d)](){const _0xb04df0=_0x4f3d14;_0x111050[_0xb04df0(0x429)](this['_injector'],[[br],[Tr]]),this['_getDependencies']()[_0xb04df0(0x2d1)](_0x47298a=>this[_0xb04df0(0x3e8)][_0xb04df0(0x45d)](_0x47298a));let _0x301aeb=this[_0xb04df0(0x3e8)]['get'](xi),_0x3c4107=this['_injector'][_0xb04df0(0x47f)](_0x13266e);this[_0xb04df0(0x44d)](_0x3c4107[_0xb04df0(0x1e5)](_0x301aeb)),this[_0xb04df0(0x44d)](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](Ln)),this['disposeWithMe'](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](zr)),this['disposeWithMe'](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](yi)),this[_0xb04df0(0x44d)](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](bi)),this['_enableMindMapToolbarTool']();}[_0x4f3d14(0x325)](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}[_0x4f3d14(0x43f)](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x4f3d14(0x38d)](){this['_getRenderModules']()['forEach'](_0x84764=>{const _0x5e6097=_0x5652;this[_0x5e6097(0x44d)](this[_0x5e6097(0x21d)][_0x5e6097(0x297)](_0x8b4a1a[_0x5e6097(0x35b)],_0x84764));});}[_0x4f3d14(0x1a9)](){const _0x3146fa=_0x4f3d14;var _0x53376a,_0x473c73;let _0x50b0e3=this['_getBoardsUIConfig']();this['_configService'][_0x3146fa(0x363)](_0x3e4252,{..._0x50b0e3,'toolbar':{..._0x50b0e3['toolbar'],'tools':{...(_0x53376a=_0x50b0e3[_0x3146fa(0x3bb)])==null?void 0x0:_0x53376a[_0x3146fa(0x32e)],[_0x2f25e2['MindMap']]:Ei((_0x473c73=_0x50b0e3['toolbar'])==null||(_0x473c73=_0x473c73[_0x3146fa(0x32e)])==null?void 0x0:_0x473c73[_0x2f25e2[_0x3146fa(0x3fb)]])}}});}[_0x4f3d14(0x34a)](){const _0x46605d=_0x4f3d14;return this['_configService'][_0x46605d(0x3d8)](_0x3e4252)??{};}};K(Ti,'pluginName',Si),K(Ti,'packageName',Zt),K(Ti,_0x4f3d14(0x41e),Qt),K(Ti,_0x4f3d14(0x3b5),_0x8b4a1a[_0x4f3d14(0x35b)]),Ti=J([_0x305799(_0x327bfc,_0x38f2bf,_0x3afdbd,_0x204fd7,_0x111050),q(0x1,_0x132a38(_0x13315b)),q(0x2,_0x156f99),q(0x3,_0x19658f)],Ti);function Ei(_0xe52c51){const _0xb4145c=_0x4f3d14;return _0xe52c51===!0x1?!0x1:typeof _0xe52c51!='object'||{..._0xe52c51,'enabled':_0xe52c51[_0xb4145c(0x29e)]??!0x0};}let Di=class extends _0x273e01{constructor(_0x12af19=en,_0x4b2856,_0x53fd11,_0x3e59a2){const _0x14b5cb=_0x4f3d14;super(),this[_0x14b5cb(0x1db)]=_0x12af19,this[_0x14b5cb(0x3e8)]=_0x4b2856,this[_0x14b5cb(0x4a3)]=_0x53fd11,this[_0x14b5cb(0x21d)]=_0x3e59a2;let {..._0x4c1b9e}=_0x44c8ca({},en,this['_config']);this[_0x14b5cb(0x4a3)]['setConfig']($t,_0x4c1b9e);}['onStarting'](){const _0x472083=_0x4f3d14;let _0x3ec2d4=[[br],[Tr]];_0x28e0e2[_0x472083(0x429)](this['_injector'],_0x3ec2d4),[..._0x3ec2d4,[xi],[Ln],[zr],[pi],[vi]][_0x472083(0x2d1)](_0x3b49a8=>this[_0x472083(0x3e8)][_0x472083(0x45d)](_0x3b49a8)),this[_0x472083(0x44d)](this['_injector']['get'](_0x13266e)[_0x472083(0x1e5)](this[_0x472083(0x3e8)][_0x472083(0x47f)](xi))),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](Ln)),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](zr)),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](pi)),this['disposeWithMe'](this['_injector'][_0x472083(0x47f)](vi)),this[_0x472083(0x1a9)]();}[_0x4f3d14(0x38d)](){const _0x44c105=_0x4f3d14;[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]][_0x44c105(0x2d1)](_0x5e4efb=>{const _0x3a0b93=_0x44c105;this[_0x3a0b93(0x44d)](this['_renderManagerService'][_0x3a0b93(0x297)](_0x8b4a1a[_0x3a0b93(0x35b)],_0x5e4efb));});}[_0x4f3d14(0x1a9)](){const _0x4e66c7=_0x4f3d14;var _0x43d334,_0x318e4c;let _0x3e0962=this[_0x4e66c7(0x34a)]();this[_0x4e66c7(0x4a3)][_0x4e66c7(0x363)](_0x3e4252,{..._0x3e0962,'toolbar':{..._0x3e0962[_0x4e66c7(0x3bb)],'tools':{...(_0x43d334=_0x3e0962[_0x4e66c7(0x3bb)])==null?void 0x0:_0x43d334[_0x4e66c7(0x32e)],[_0x2f25e2[_0x4e66c7(0x3fb)]]:Oi((_0x318e4c=_0x3e0962[_0x4e66c7(0x3bb)])==null||(_0x318e4c=_0x318e4c[_0x4e66c7(0x32e)])==null?void 0x0:_0x318e4c[_0x2f25e2['MindMap']])}}});}[_0x4f3d14(0x34a)](){const _0x465548=_0x4f3d14;return this[_0x465548(0x4a3)]['getConfig'](_0x3e4252)??{};}};K(Di,_0x4f3d14(0x2c5),Si),K(Di,'packageName',Zt),K(Di,'version',Qt),K(Di,_0x4f3d14(0x3b5),_0x8b4a1a[_0x4f3d14(0x35b)]),Di=J([_0x305799(_0x327bfc,_0x38f2bf,_0x3afdbd,_0x204fd7,_0x28e0e2),q(0x1,_0x132a38(_0x13315b)),q(0x2,_0x156f99),q(0x3,_0x19658f)],Di);function Oi(_0x5b6812){const _0xeee910=_0x4f3d14;return _0x5b6812===!0x1?!0x1:typeof _0x5b6812!='object'||{..._0x5b6812,'enabled':_0x5b6812[_0xeee910(0x29e)]??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|