@univerjs-pro/sheets-shape-ui 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +19 -19
  82. package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
  83. package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
  84. package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
  85. package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
  86. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -18
  87. package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -5
  88. package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -9
  89. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -9
  90. package/lib/types/commands/operations/actvie-drawing-operation.d.ts +0 -2
  91. package/lib/types/controllers/config.schema.d.ts +0 -5
  92. package/lib/types/controllers/menu.schema.d.ts +0 -2
  93. package/lib/types/controllers/sheets-shape-ui.controller.d.ts +0 -126
  94. package/lib/types/view-model/shape-data-model.d.ts +0 -6
  95. package/lib/types/views/ShapeOptions.d.ts +0 -30
  96. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -11
  97. package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
  98. package/lib/types/views/shape-text-editor/Editor.d.ts +0 -11
  99. package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
  100. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -37
  101. package/lib/types/views/shapes.d.ts +0 -58
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4701(_0x959411,_0x2660a4){_0x959411=_0x959411-0x1ab;const _0x8db22f=_0x8db2();let _0x470106=_0x8db22f[_0x959411];return _0x470106;}function _0x8db2(){const _0x169deb=['disableObjectsEvent','fillImageSourceType','SheetsDrawingGroupCopyPasteController','canvas','createShapeFormulaDocument','_clearShapeConnectorHandlerObjects','DependentOn','subscribe','_imageIoService','prepareShapeTextDocumentData','ContextMenuGroup','FOCUSING_SHAPE_TEXT_EDITOR','vertical','_drawingManagerService','drawing-ui.objectListPanel.details','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','name','_registerOperations','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_sheetPermissionCheckController','onPointerMove$','LocaleService','parse','refreshShapeFillImage','topmost-icon','UniverShapeEditorMobileUIPlugin','idMap','children','order','stopPropagation','remove$','getBasicShapeRotateBound','Vector2','function','syncExecuteCommand','round','with','_setTransForm','drawing-ui.objectListPanel.filterLocked','switchMap','shape-text-','selectable','DrawingRenderService','object-layers-icon','IconManager','worldRect','709214ZPsFfP','isArray','setPresentation','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getImage','_shapePopupMenuDisposable','composeMatrix','_sidebarDisposable','_loadShapePictureFill','pipe','DRAWING_OBJECT_LAYER_INDEX','CommandType','getStartConnectInfo','getCurrentTypeOfUnit$','useMemo','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','OTHERS','IRenderManagerService','DEFAULT_PASTE','onPointerUp$','isReleased','SheetSkeletonService','getObject','UpdateSheetsShapeDataMutation','title','onerror','RemoveSheetDrawingCommand','sheets-shape-ui.shape-format.text-ribbon-control','getParent','start','buildClipPath','unitId','_sheetBasicShapeConnectionPointController','getObjectIncludeInGroup','jsx','Observable','IUndoRedoService','#1a73e8','SheetSkeletonManagerService','normal','move-down-icon','_registerFocusChangeHandler','SELECTOR','getDrawingVisible','_clearCompletionFrame','@univerjs/sheets-drawing','horizontal','insertGroupObject','isStartConnectorPoint','M8\x206.2V7.8','sheet.shape.object-list.panel','sheet.shape.text.float-menu','MenuManagerPosition','_getImagePrstGeom','@univerjs/sheets-drawing-ui','UniverShapeEditorUIPlugin','localName','_commandService','viewportScrollX','_draggingConnectorId','cxnPointFill','isHitLine','_isStartAdjusting','onReady','startWith','complete','flipX','_updateShapeAdjustControls','panel','SheetPermissionCheckController','createControl$','_releaseRenderCache','sheets-shape-ui.config','addClipboardHook','_generateCutPasteMutations','clearControl$','_baseShapeLeft','_subUnitId','type','drawing-ui.objectListPanel.dragToReorder','render','DrawingApplyType','merge','tag','onSteady','editingParams$','Large','text','getDrawingShapeKeyByDrawingSearch','_registerIcons','_imageShapeClipController','dataModel','pushUndoRedo','_clearFocusedShape','createInternalEditorID','_activeImageId','_hide','ShapeTextFloatToolbar','setPrstGeomAdjValues','string','UniverMobileUIPlugin','sheets-shape-ui.ribbon.shape-format.text-control','DrawingImageClipService','multiply','UniverSheetsPlugin','Path','sheets-shape-ui.permission.editErr','getShapeQuickStylePreset','isMainScene','applyQuickStyleToShapeData','4ivbqqw','axisAlignSheetTransform','subUnitId','clipByShape','disconnect','drawing-ui.objectListPanel.moveBackward','rxjs','point','DocRenderController','toStringTag','INSERT','sheet.operation.open-sheet-shape-format-panel','_getShapeAdjustInfosById','getCurrentLastSelection','_initialize','setCursor','_getSceneAndTransformerByDrawingSearch','gradientEndColor','_handleFreeEndpointPointerUp','fillImageSource','currentColor','_registerImageShapeClipDelegate','REMOVE','_formulaShapes','drawingId','defIds','getDrawingPoints','_shapeService','_shapeFormulaService','useLayoutEffect','sheets-shape-ui.imagePanel.crop.shape','sqrt','ShapeFloatingToolbarToggleFactory','makeDirty','ShapeDefaultConfig','getAdjustNames','UniverSheetsShapePlugin','_localeService','getPropertyValue','engine','bottom-icon','_initSelection','drawing-ui.objectListPanel.filterAll','sheets-shape-ui.ribbon.shape-format.arrange-front','extraProps','presetId','size','_baseShapeHeight','_completionFrame','IRibbonService','SHAPE_TEXT','interceptor','MobileObjectListPanel','WorksheetEditPermission','constructor','isLineShape','FOCUSING_COMMON_DRAWINGS','getDrawingByParam','OPERATION','getCurrentUnitOfType','drawingType','getImageSourceCache','M2.2\x208H3.8','ShapeEditPanel','DocumentSkeleton','Fragment','_update','ImageSourceTypeEnum','replace','107346FHQdcT','_adjName','Disposable','#bcbcbc','_initMenu','_baseLeft','drawing-ui.objectListPanel.unlockHint','_closeShapeEditPanel','drawing-ui.objectListPanel.show','UniverDocsUIPlugin','front','forEach','popup','formulaPresentation','sheetViewStartRow','objects','wrapStrategy','SetSheetDrawingCommand','ShapeFloatingToolbar','sheet.menu.shape.flip-horizontal','onCommandExecuted','_cxtHandlerPointerMove','UniverUi','getCurrentSkeleton','getUnitType','drawing-ui.objectListPanel.close','setShapeData','isFinite','fromChangeset','offsetY','TopmostIcon','sheets-shape-ui.objectListPanel.title','calculate','UniverDesign','refreshTransform','_getScrollInfo','top','_addShapeConnectorHandlerObject','_focusedDrawings','src','sheet.menu.shape.flip-vertical','InsertSheetsShapeMutation','_getShapeInfo','executeCommand','translate','sectionCanvas','_sheetInterceptorService','_clearShapeAdjustControls','Medium','mergeMenu','UPDATE','call','visible','SetDrawingSelectedOperation','sheet.image-clip.shape-picker.component','_sidebarService','renderDrawingShape','1em','_iconManager','sheets-shape-ui.objectListPanel.open','_handleFreeEndpointMove','updateDocumentDataMargin','UniverDrawingPlugin','animateFormulaPresentation','_disposePopups','registerClipDelegate','_calculateFreeEndpointAngle','hidden','getShapeTypeById','IURLImageService','shapeId','SheetsShapeUIMenuSchema','svg','canvasElement','resolveShapeTextDocumentPageHeight','RibbonInsertGroup','close','sheets-shape-ui.flipHorizontal','changeShapeType','UniverSheetsDrawingUi','transform','_registerMoveHandler','startX','resolveShapeTextEditorWrapStrategy','targetShapeId','touchDependencies','_handleConnectedEndpointMove','_transform','adjName','SheetsShapeService','changeEnd$','clip','IContextService','Rect','getMenuHiddenObservable','fill','UniverLicensePlugin','add$','_baseWidth','transformByState','getSkeletonParam','_executeConnectedRouteResizeCommand','params','Plugin','_baseHeight','_getShapeAdjustPointListById','getEditing','_sheetCanvasPopManagerService','useReducer','getVisible','cxnIndex','getRealBound','_generatePasteMutations','_initEvents','getConnectionInfo','FloatingObjectToolbarPosition','_drawingType','adjHandleFill','UniverDocsUi','SheetScrollManagerService','DocInterceptorService','sheets-shape-ui.editShape','setContextValue','url(#$1','_baseShapeWidth','URL','copyId','permissionCheckWithoutRange','_sheetShapeAdjustController','DisposableCollection','getBatchUpdateOp','_isConnecting','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','UniverSheetsDrawing','getAdjustValueByName','appliedStrokeWidth','sheet.operation.apply-shape-quick-style','drawing-ui.objectListPanel.showAll','description','changing$','setEditing','actualHeight','image','_shapeUpdateListener','VIEW_MAIN','UniverIcon','clear','@univerjs/sheets','permissionPointUpdate$','refreshFormulaPresentation','useEffect','connection-site-','drawing-ui.objectListPanel.empty','worldPoint','getObjectListPanelSectionIdForDrawingType','sheet.command.update-shape-data','deriveStateFromActiveSheet$','getSheetCommandTarget','reduce','unregister','isEditing','refreshAdjustControls','getSkeleton','rotation','drawing-ui.objectListPanel.typeNames.','getShapeType','getEndConnectInfo','_sheetPrintInterceptorService','getUnit','onStarting','@univerjs/ui','enableObjectsEvent','resolveActiveShapeQuickStylePresetId','removeAttribute','isDrawingObject','ShapeIcon','_getConnectPointInfo','hadStyleAttribute','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','_attachAdjustEvent','getPropertyPriority','UniverDocs','getUnitId','highlighted','@univerjs/engine-render','drawing-ui.objectListPanel.descriptionPlaceholder','getBatchRemoveOp','GROUP','clipTop','_contextService','ShapeQuickStyleGallery','style','sectionFloating','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','scene','shapeText','UniverRenderEnginePlugin','getConnectorLinePoints','_initPrinting','localToWorld','non-scaling-stroke','MoveUpIcon','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','removeProperty','_baseTop','40pfpLNH','M8\x2014V14.2','getBatchAddOp','getFocusDrawings','getTransformerByCreate','computeConnectorResizeLayout','SheetCanvasPopManagerService','setFormulaPresentation','initShapePopupMenu','_isShouldShowDrawingShapeAdjust','iterator','register','_registerComponents','jsxs','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','COPY_TYPE','showContextualTab','RemoveSheetsShapeMutation','length','setCollapsedIds','ShapeGroupEnum','_sheetDrawingShapeRenderController','UniverSheetsUIPlugin','isRichText','_drawSimpleText','vertical-center','ICommandService','drawing-ui.objectListPanel.hideAll','ToggleSheetsShapeFlipCommand','includes','_moveConnectorWithShape','_lastEditingShapeKey','PaintIcon','_targetShapeId','FlipHorizontalIcon','_univerInstanceService','Injector','_attachConnectorObjectEvent','getDrawingData','getValue','_loadAndSetImage','getPermissionPoint','sheets-shape-ui.shape-format.style-ribbon-control','BottomIcon','ShapePickerPanel','element','isolated','sheet.shape.picker.component','_activeShapeId','drawWith','SheetInterceptorService','intercept','isHighlighted','shapeModel','48847WHzYPE','Arrow','_componentManager','attachTransformerTo','lineShapeId','@univerjs-pro/license','_shapeTextEditingService','getShapeQuickStyleType','VIEW_MAIN_LEFT','sheets-shape-text-','IPermissionService','MEDIA','parseFloat','clip-adj-','UNIVER_SHEET','updateContext','_currentScene','backward','onPointerDown$','setShapeProps','_activeTargetShapeId','WorkbookEditablePermission','computeStraightConnectorLayout','_resetState','_isOpenedShapeEditPanel','DrawingTypeEnum','_getDrawingRect','ArrangeTypeEnum','None','_sheetClipboardService','drawing-ui.objectListPanel.noSelection','M4.2\x208.3H6.8','_rerouteConnectorLine','none','_hasReset','react','IMenuManagerService','M10.2\x208H11.8','isInGroup','_connectionSiteObjects','0\x200\x2016\x2016','ShapeFloatingToolbarService','sheets-shape-ui.ribbon.shape-format.arrange-forward','drawing-ui.objectListPanel.locate','extensionGroups','normalizeShapeTextModel','UniverShapeEditorPlugin','LEFT','getSelectedObjectMap','path','UpdateConnectorRelationCommand','getShapeTextRect','drawing-ui.objectListPanel.title','_initCommands','registerCommand','DocSelectionManagerService','doc','xlink:href','DocumentViewModel','_reset','_copyInfo','sheet.operation.open-shape-object-list-panel','delete','flip-horizontal-icon','resolveShapeContextualRibbonHostMode','getState','current','UniverProEngineShape','filter','relation','attachRangeWithCoord','transformToDrawingPosition','_executeConnectionCommand','flatMap','drawing-ui.objectListPanel.name','indexOf','next','276KAxDNq','fillType','VIEW_MAIN_LEFT_TOP','beginPath','height','@univerjs-pro/shape-editor','getMatrix','getDrawingSearch','getShapeData','getCurrentScrollState','set','_updateAdjustControlPositions','getShapeModel','2462105mpjGFO','removeLinePoints','hideContextualTab','getDrawingOrder','animationEnabled','drawing-ui.objectListPanel.sectionCanvas','sheets-shape-ui.title','copyType','SetDrawingApplyMutation','_injector','sin','ShapePickerDropdown','Shape','sheets-shape-ui.ribbon.shape-format.arrange-back','_transformCalculateSrcRect','_editingParams$','idSuffix','pluginName','_renderWithCache','4879KuNAgl','worldPoints','clipHeight','createShapeTextBoxShapeData','getDrawingEffectBounds','drawing-ui.objectListPanel.lock','_init','clip-','priority','ShapeTextFloatMenuRenderControllerBase','updateConnectionDetection','back','_popupMenuListener','entries','UniverSheetsDrawingPlugin','sheets-shape-ui.flipVertical','setOnSavingEditorData','ShapeFormulaRibbonControl','getConnectionRelation','updateLinePoints','_registerDrawingMoveHandler','contentHeight','ShapeFormatSettingIcon','hasAttribute','_clipService','updateShapeFillImage','UniverProShapeEditor','clearAdjustValue','disposeWithMe','univerjs-icon\x20univerjs-icon-','SheetDrawingAnchor','_props','prstGeomAdjValues','_applyFormulaAutoFitSize','push','drawing-ui.objectListPanel.unlockAll','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','getDrawingEditable','activeAnObject','subscribeEvent','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','resize','_sheetSkeletonService','srcRect','_drawRichTextLayer','UniverCore','from','UniverSheetsUi','_addShapeConnectorHandlerObjects','SheetShapeTextEditorContainer','getActiveSheet','strokeWidth','redo','adjHandleSize','SolidLine','onRendered','M14\x208H14.2','blockExecuteWithoutPermission','transformForAngle','_sheetDrawingService','_disposed','_cxtHandlerPointerUp','ShapeModel','DrawingCommonPanel','startConnectionDetection','OBJECT_LIST_FLOATING_SECTION_ID','useDependency','UniverProShapeEditorUi','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','_shapeRenderController','_currentConnectionTarget','_currentUniverService','end','clone','setHighlighted','drawing-ui.objectListPanel.hide','getShapeTextData','_createShapeAdjustControls','@univerjs-pro/sheets-shape-ui','_connectorObjects','Transform','mask','EMPTY','getCanvasElement','width','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','@univerjs/sheets-ui','getDrawingOKey','M8\x202.2V3.8','image-clip-adjust-point-','toFixed','getBoundingClientRect','displayName','VerticalAlign','_clearConnectionSites','_baseShapeTop','drawing-ui.objectListPanel.unlock','ConnectorCoordinateTransform','keys','use','cxnPointRadius','ToggleShapeFloatingToolbarOperation','drawing-ui.objectListPanel.lockHint','getDrawingDataForUnit','bottom','UniverSheetsShapeUIPlugin','Inject','_drawingRenderService','_formulaAnimation','_activeAdjustPointList','sheetViewStartColumn','shape-editor-ui.arrange.backward','symbol','_adjHandlerPointerUp','sheets-shape-ui.editText','move-up-icon','CROSSHAIR','FlipVerticalIcon','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','_commandExecutedListener','drawing-ui.objectListPanel.sectionFloating','formulaBinding','_generateCopyPasteMutations','save','CURSOR_TYPE','_registerDrawingFocusChangeHandler','some','adjustValues','drawing-ui.objectListPanel.search','undo','cancelEditing','PREDEFINED_HOOK_NAME','toPrimitive','shapeData','version','_draw','completeEditing','_insertingShapeKeys','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','shouldAllowShapeTextEditorHostSizeShrink','drawing-ui.objectListPanel.collapse','drawing-ui.objectListPanel.moveForward','setConfig','UniverDrawing','error','sheets-shape-ui.formatShape','getRenderUnitById','changeStart$','packageName','sheets-shape-ui.ribbon.shape-format','_drawingAddListener','_sheetsShapeService','ang','M4.2\x205.5H10.5','_renderManagerService','_drawRichText','MoveDownIcon','find','isHorizontal','_updateSrcRectByTransform','stringify','DRAWING_IMAGE','clearAdjustControls','_groupCopyPasteController','ShapeTextEditorContainer','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','_addShapeAdjustControl','get','_initPermission','presentationChanged$','SHEET_VIEWPORT_KEY','setShouldShowAdjust','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','ISidebarService','scale','setFillImage','_isStartConnectorPoint','addImageSourceCache','restore','draw','colorChannel1','useId','routeConnectorLineShape','getInterceptPoints','toDisposable','calcAdjValues','shape-adjust-point-','memo','UniverProLicense','sheet.operation.update-shape-type','registerDependencies','has','stroke-width','getContextValue','reverse','_handleBasicShapeUpdateConnectorLineShape','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','_isDrawingShapePointDown','@univerjs-pro/sheets-shape','_getOrCreateShapeModel','startArrow','onload','focusDrawing','_shapeEditPanelVersion','_activeShapeModel','focus$','_baseDrawingRect','startY','ShapeArrowTypeEnum','drawing-ui.objectListPanel.lockAll','beforeCommandExecuted','generateRandomId','MobileDropdown','shape-editor-ui.toolbar.quickStyles','abs','_adjHandlerPointerMove','useRef','0\x200\x2017\x2016','_getImageDrawingInfo','getViewportByCell','ISheetDrawingService','HorizontalAlign','_createControls','onDblclick$','_drawShapeText','ShapeTypeEnum','_config','getOwnPropertyDescriptor','InsertShapeCommand','RENDER_CLASS_TYPE','getTextStyle','_isImagePointerDown','4548Dzezdq','_updateTransform','connector-handler-','getShapeDataById','sheets-shape-format-font-family-menu','_unitId','_canEdit','target','endArrow','getZoomRatio','registerFeaturePasteHook','value','getDrawingTypeNameKey','_showConnectionSites','getCurrentUnitInfo','viewportScrollY','@univerjs/drawing','IConfigService','sheet.shape.edit.panel','MenuItemType','debounceRefreshControls','oKey','#FFFFFF','SetShapeDrawingDataCommand','react/jsx-runtime','4VyQxcE','_initEditingParams','left','resolveShapeTextEditorBehaviorShapeData','_cxnIndex','getInverseCoord','UniverDrawingUIPlugin','defineProperty','data','shapeType','IDrawingManagerService','invert','cos','open','preValue','_activeShapeInfo','createElement','BUTTON','drawing-ui.objectListPanel.filterHidden','sheetTransform','drawing-ui.objectListPanel.description','DRAWING_SHAPE','Line','useObservable','unsubscribe','ComponentManager','IUniverInstanceService','plainShapeTextToDocumentData','_initCopyPaste','ObjectLayersIcon','ShapeFormulaService','VIEW_MAIN_TOP','ObjectListPanelBase','_registerFeatureMenu','assign','ShapeLineTypeEnum','TOP','_onSavingEditorData$','skeleton','@univerjs/docs','_insertShapes','presentation','ancestorTransform','default','React','getTransformer','_menuManagerService','originalStrokeWidth','getPresentation','_highlightedSiteIndex','Image','getScene','prototype','_createCopyInfoByRange','asObservable','_shapes','index','sheets-shape-ui.ribbon.shape-format.style-control','cxnPointStroke','pick','registerRenderModule','MobileShapeEditorService','isConnectorShape','sheets-shape-ui.quickStyles','getSheetBySheetId','_clearPopups','UniverInstanceType','applyPoint','sheet.command.menu-insert-shape','transformToAxisAlignPosition','prstGeom','_permissionService','add','translateWithPrecision','setFallbackVisible','setProperty','getBasicShapeRelation','stroke','getConnectionSiteList','BehaviorSubject','drawFormulaShapeAnimationLayers','ShapeFillEnum','drawing-ui.objectListPanel.nameInput','offsetX','addObject','forward','@univerjs/docs-ui','dispose','_getConnectionSiteAngle','attrs','IImageIoService','custom','_context','evenodd','_activeShapeAdjustPointList','_ribbonService','flipY','setAdjustValueByName','baseVal','_shapeFloatingToolbarService','COMMAND','PictureFill','UniverSheets','min','resetCursor','SheetsShapeUIContextualRibbonSchema','SHAPE_EDITOR_TRANSFORMER_CONFIG','angle','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fontSize','getAdjustInfoByName','forwardRef','isHit','FormatPainterSessionService','_updateImageAdjValues','http://www.w3.org/2000/svg','setSrcRect','_addControl','_isHighlighted','setPrstGeom','_getZoomRatio','_openShapeEditPanel','classType','_index','_configService','sheet.operation.open-mobile-shape-editor','map','getAutoFitPresentations','sheets-shape-ui.insertShape','useFormulaShapeToolbar','_findShapeAtPoint','_visible','object','trim','_shapeId','update$','_handleConnectorPointerUp','ContextMenuPosition','2471368DciZxi','_activeAdjustInfo','SetDrawingArrangeCommand','UniverSheetsMobileUIPlugin','values','ShapeRenderModeEnum','M8\x2010.2V11.8','setCanUseShapeClip','_executeConnectedRouteConnectionCommand','lineType','sheets-shape-ui.deleteShape','#4285f4','computeConnectorRouteLayout','_clearControls','useState','1593738gupftR','_formulaKey','getCurrentRangeDisable$','shape-editor-ui.toolbar.changeShape','Circle','_findNearestConnectionSite','UUID','contentVerticalOffset'];_0x8db2=function(){return _0x169deb;};return _0x8db2();}(function(_0x134de3,_0x155eb2){const _0x2a575f=_0x4701,_0x13e293=_0x134de3();while(!![]){try{const _0x149c45=-parseInt(_0x2a575f(0x2df))/0x1+-parseInt(_0x2a575f(0x58a))/0x2*(parseInt(_0x2a575f(0x1dc))/0x3)+parseInt(_0x2a575f(0x44d))/0x4*(-parseInt(_0x2a575f(0x339))/0x5)+parseInt(_0x2a575f(0x434))/0x6*(parseInt(_0x2a575f(0x34c))/0x7)+-parseInt(_0x2a575f(0x4d7))/0x8+parseInt(_0x2a575f(0x4e6))/0x9*(-parseInt(_0x2a575f(0x2a9))/0xa)+-parseInt(_0x2a575f(0x51c))/0xb*(-parseInt(_0x2a575f(0x32c))/0xc);if(_0x149c45===_0x155eb2)break;else _0x13e293['push'](_0x13e293['shift']());}catch(_0x3e54f7){_0x13e293['push'](_0x13e293['shift']());}}}(_0x8db2,0x5d0db),function(_0x270a20,_0x26942e){const _0x22b3e0=_0x4701;typeof exports==_0x22b3e0(0x4d1)&&typeof module<'u'?_0x26942e(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x22b3e0(0x50f)&&define['amd']?define(['exports','@univerjs-pro/shape-editor-ui',_0x22b3e0(0x286),'@univerjs-pro/engine-shape',_0x22b3e0(0x331),_0x22b3e0(0x412),'@univerjs/core',_0x22b3e0(0x26f),_0x22b3e0(0x444),_0x22b3e0(0x294),_0x22b3e0(0x3a2),_0x22b3e0(0x590),'@univerjs/drawing-ui','@univerjs/design',_0x22b3e0(0x44c),_0x22b3e0(0x549),_0x22b3e0(0x2e4),_0x22b3e0(0x474),_0x22b3e0(0x4a3),_0x22b3e0(0x552),_0x22b3e0(0x302)],_0x26942e):(_0x270a20=typeof globalThis<'u'?globalThis:_0x270a20||self,_0x26942e(_0x270a20['UniverProSheetsShapeUi']={},_0x270a20[_0x22b3e0(0x38f)],_0x270a20[_0x22b3e0(0x1f2)],_0x270a20[_0x22b3e0(0x322)],_0x270a20[_0x22b3e0(0x366)],_0x270a20['UniverProSheetsShape'],_0x270a20[_0x22b3e0(0x379)],_0x270a20[_0x22b3e0(0x4b3)],_0x270a20[_0x22b3e0(0x3db)],_0x270a20['UniverEngineRender'],_0x270a20[_0x22b3e0(0x37b)],_0x270a20['rxjs'],_0x270a20['UniverDrawingUi'],_0x270a20[_0x22b3e0(0x1fd)],_0x270a20['React'],_0x270a20[_0x22b3e0(0x261)],_0x270a20[_0x22b3e0(0x408)],_0x270a20[_0x22b3e0(0x291)],_0x270a20[_0x22b3e0(0x252)],_0x270a20[_0x22b3e0(0x22b)],_0x270a20[_0x22b3e0(0x479)]));}(this,function(_0x128250,_0x3c7e1c,_0x18daae,_0x1c9bad,_0x214c33,_0x501fe5,_0x5b0763,_0x2e7766,_0x37800f,_0x463287,_0x54c89f,_0x3d6362,_0x3ec2cc,_0x2ba4b8,_0x521d83,_0x47629f,_0x4606ed,_0x411252,_0x2bf0d1,_0x29d240,_0x101f75){const _0x3bbe12=_0x4701;Object[_0x3bbe12(0x454)](_0x128250,Symbol[_0x3bbe12(0x593)],{'value':'Module'});function _0x1f33d3(_0x32809a,_0x506125){const _0x2f1a53=_0x3bbe12;let _0xab570d={};for(let _0x13f5e5 of Object[_0x2f1a53(0x3ae)](_0x506125)){let _0x1f8c0f=_0x506125[_0x13f5e5],_0x5b4672=_0x32809a[_0x13f5e5];if(_0x5b4672===void 0x0){_0xab570d[_0x13f5e5]=void 0x0;continue;}_0xab570d[_0x13f5e5]=typeof _0x1f8c0f==_0x2f1a53(0x4d1)&&_0x1f8c0f&&!Array['isArray'](_0x1f8c0f)&&typeof _0x5b4672==_0x2f1a53(0x4d1)&&_0x5b4672&&!Array[_0x2f1a53(0x51d)](_0x5b4672)?_0x1f33d3(_0x5b4672,_0x1f8c0f):_0x5b4672;}return _0xab570d;}let _0x5163ea={'type':_0x5b0763[_0x3bbe12(0x527)]['COMMAND'],'id':_0x3bbe12(0x277),'handler':(_0x18136e,_0x1159b3)=>{const _0x582646=_0x3bbe12;let _0x2a73cb=_0x18136e[_0x582646(0x3f3)](_0x501fe5[_0x582646(0x235)]),{unitId:_0x2e87bb,subUnitId:_0x530885,shapeType:_0x4d1a09,shapeId:_0x53bee9,shapeData:_0xa659eb,replaceShapeData:_0x4a789b,oldShapeJSON:_0x33ba08}=_0x1159b3;if(!_0x2a73cb[_0x582646(0x338)](_0x2e87bb,_0x530885,_0x53bee9))return!0x1;let _0x3422a4=_0x18136e[_0x582646(0x3f3)](_0x5b0763[_0x582646(0x2c3)]),_0x2e5f6e=_0x18136e['get'](_0x5b0763[_0x582646(0x540)]),{oldShapeType:_0x40e6c7,oldShapeData:_0x2113bc={}}=_0x33ba08,_0x290290=_0x4a789b?_0x2113bc:_0x1f33d3(_0x2113bc,_0xa659eb||{}),_0x3b8968={'id':_0x501fe5[_0x582646(0x533)]['id'],'params':{'unitId':_0x2e87bb,'subUnitId':_0x530885,'shapeId':_0x53bee9,'shapeType':_0x4d1a09,'shapeData':_0xa659eb,'replace':_0x4a789b}},_0x38ce58={'id':_0x501fe5[_0x582646(0x533)]['id'],'params':{'unitId':_0x2e87bb,'subUnitId':_0x530885,'shapeId':_0x53bee9,'shapeType':_0x40e6c7,'shapeData':_0x290290,'replace':_0x4a789b}};return _0x3422a4[_0x582646(0x510)](_0x3b8968['id'],_0x3b8968[_0x582646(0x242)])?(_0x2e5f6e[_0x582646(0x578)]({'unitID':_0x2e87bb,'undoMutations':[_0x38ce58],'redoMutations':[_0x3b8968]}),!0x0):!0x1;}};function _0x5b8a5d(_0x375a88,_0x145516,_0x4ce8ef,_0x386445,_0x54d254,_0x3c04d8){let _0x5efdc9={'unitId':_0x145516,'subUnitId':_0x4ce8ef,'shapeId':_0x386445,'shapeData':_0x3c04d8,'oldShapeJSON':_0x54d254};return _0x375a88['executeCommand'](_0x5163ea['id'],_0x5efdc9);}function _0x5afe63(_0x3245f7,_0xbf0ee8,_0x67743e,_0x14cc0d,_0x3636c2,_0x4f6e47){const _0x1c673e=_0x3bbe12;let _0x351c3b={'unitId':_0xbf0ee8,'subUnitId':_0x67743e,'shapeId':_0x14cc0d,'shapeData':_0x4f6e47,'oldShapeJSON':_0x3636c2};return _0x3245f7[_0x1c673e(0x207)](_0x5163ea['id'],_0x351c3b);}function _0x5bc7f0(_0x365ac2){'@babel/helpers - typeof';const _0x2c6946=_0x3bbe12;return _0x5bc7f0=typeof Symbol==_0x2c6946(0x50f)&&typeof Symbol[_0x2c6946(0x2b3)]==_0x2c6946(0x3bc)?function(_0x41554e){return typeof _0x41554e;}:function(_0x3efae5){const _0x73375d=_0x2c6946;return _0x3efae5&&typeof Symbol=='function'&&_0x3efae5[_0x73375d(0x1cd)]===Symbol&&_0x3efae5!==Symbol[_0x73375d(0x481)]?_0x73375d(0x3bc):typeof _0x3efae5;},_0x5bc7f0(_0x365ac2);}function _0xc81cdb(_0x16fb7a,_0x5ac7ac){const _0x267f5c=_0x3bbe12;if(_0x5bc7f0(_0x16fb7a)!='object'||!_0x16fb7a)return _0x16fb7a;var _0x529270=_0x16fb7a[Symbol[_0x267f5c(0x3d0)]];if(_0x529270!==void 0x0){var _0x295cc4=_0x529270[_0x267f5c(0x20f)](_0x16fb7a,_0x5ac7ac||_0x267f5c(0x478));if(_0x5bc7f0(_0x295cc4)!=_0x267f5c(0x4d1))return _0x295cc4;throw TypeError(_0x267f5c(0x374));}return(_0x5ac7ac===_0x267f5c(0x57f)?String:Number)(_0x16fb7a);}function _0x262519(_0x320434){const _0x495b9c=_0x3bbe12;var _0x293047=_0xc81cdb(_0x320434,_0x495b9c(0x57f));return _0x5bc7f0(_0x293047)=='symbol'?_0x293047:_0x293047+'';}function _0x19095(_0x5f4fe9,_0x400e53,_0x23f7db){const _0x1743a6=_0x3bbe12;return(_0x400e53=_0x262519(_0x400e53))in _0x5f4fe9?Object[_0x1743a6(0x454)](_0x5f4fe9,_0x400e53,{'value':_0x23f7db,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5f4fe9[_0x400e53]=_0x23f7db,_0x5f4fe9;}function _0x5f26ff(_0x219f3a,_0x19ab10,_0x2018c9){const _0x4fbc1e=_0x3bbe12;let _0x2eb212={..._0x19ab10,'dataModel':{..._0x19ab10[_0x4fbc1e(0x577)]??{},..._0x2018c9?{'doc':_0x2018c9}:null}},_0x525c0e=(0x0,_0x3c7e1c[_0x4fbc1e(0x450)])(_0x219f3a,_0x2eb212),_0x60dff6=(0x0,_0x3c7e1c[_0x4fbc1e(0x22f)])(_0x525c0e);return{'clip':(0x0,_0x3c7e1c['shouldClipShapeTextDocument'])(_0x525c0e,_0x60dff6),'wrapStrategy':_0x60dff6};}var _0x30f195=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x345902,_0x1a899f){const _0x44de2e=_0x3bbe12;super(_0x345902,_0x1a899f),_0x19095(this,_0x44de2e(0x36b),void 0x0),_0x19095(this,'_formulaAnimation',new _0x3c7e1c['FormulaShapeAnimationController'](()=>this[_0x44de2e(0x1b8)](!0x0),()=>this[_0x44de2e(0x36d)]())),_0x19095(this,'_transformCalculateSrcRect',!0x0),_0x19095(this,_0x44de2e(0x250),_0x5b0763[_0x44de2e(0x2f8)][_0x44de2e(0x462)]),_0x19095(this,_0x44de2e(0x28a),!0x0),this[_0x44de2e(0x36b)]={..._0x1a899f},this[_0x44de2e(0x3b8)][_0x44de2e(0x51e)](_0x1a899f[_0x44de2e(0x1e9)],_0x1a899f[_0x44de2e(0x21b)]!==!0x1),this[_0x44de2e(0x352)](),this['_applyFormulaAutoFitSize']();}[_0x3bbe12(0x352)](){const _0x10cafd=_0x3bbe12;this['onTransformChange$'][_0x10cafd(0x373)](_0x5aad8e=>{const _0x29669c=_0x10cafd;this[_0x29669c(0x3eb)](_0x5aad8e);});}['setPrstGeom'](_0x481ae9){const _0x2dc314=_0x3bbe12;this[_0x2dc314(0x36b)][_0x2dc314(0x493)]=_0x481ae9;}[_0x3bbe12(0x268)](_0x4e701f){const _0x40544b=_0x3bbe12;this[_0x40544b(0x36b)][_0x40544b(0x27c)]=_0x4e701f,this[_0x40544b(0x1b8)](!0x0);}['setFormulaPresentation'](_0x4bed48,_0x5d8025=!0x0){const _0x511570=_0x3bbe12;this[_0x511570(0x3b8)]['setPresentation'](_0x4bed48,_0x5d8025),this['_props'][_0x511570(0x1e9)]=_0x4bed48,this[_0x511570(0x36d)](),this[_0x511570(0x1b8)](!0x0);}[_0x3bbe12(0x36d)](){const _0x507635=_0x3bbe12;let _0x59c319=this[_0x507635(0x36b)][_0x507635(0x2de)],_0x133d32=_0x59c319[_0x507635(0x398)](),_0x3b83c0=(0x0,_0x3c7e1c[_0x507635(0x30c)])(_0x133d32==null?void 0x0:_0x133d32[_0x507635(0x577)]),_0x40e6de=_0x3b83c0==null?void 0x0:_0x3b83c0[_0x507635(0x317)],_0xecae04=this['_formulaAnimation'][_0x507635(0x4cc)]();if(!_0x40e6de||_0xecae04[_0x507635(0x2bb)]===0x0)return;_0x59c319[_0x507635(0x2ee)]({'width':this[_0x507635(0x3a0)],'height':this['height']});let _0x2c7b53=(0x0,_0x3c7e1c['resolveFormulaShapeAutoFitSize'])({'documentData':_0xecae04['map'](_0x7bd7c2=>(0x0,_0x214c33[_0x507635(0x4f2)])(_0x40e6de,_0x7bd7c2)),'height':this[_0x507635(0x330)],'shapeData':_0x59c319[_0x507635(0x334)](),'textRect':_0x59c319[_0x507635(0x312)]({'left':0x0,'top':0x0,'width':this[_0x507635(0x3a0)],'height':this[_0x507635(0x330)]}),'width':this['width']});if(_0x2c7b53){var _0x4b3e23;this[_0x507635(0x375)](_0x2c7b53[_0x507635(0x3a0)],_0x2c7b53['height']),(_0x4b3e23=this[_0x507635(0x480)]())==null||(_0x4b3e23=_0x4b3e23[_0x507635(0x47a)]())==null||_0x4b3e23[_0x507635(0x448)]();}}get[_0x3bbe12(0x53b)](){const _0xa94ecd=_0x3bbe12;return this[_0xa94ecd(0x36b)]['unitId'];}get[_0x3bbe12(0x58c)](){const _0x3c0ead=_0x3bbe12;return this[_0x3c0ead(0x36b)]['subUnitId'];}[_0x3bbe12(0x3eb)](_0x48893c){const _0x54be86=_0x3bbe12;if(this['_props'][_0x54be86(0x377)]==null||!this[_0x54be86(0x347)])return;let {width:_0x2372c6,height:_0x5168e1}=this,{width:_0x4c2b70=0x0,height:_0x5786ba=0x0}=_0x48893c[_0x54be86(0x45b)],{left:_0x1706d8=0x0,top:_0x42fbb1=0x0,right:_0x2bcf04=0x0,bottom:_0x3bdd77=0x0}=this[_0x54be86(0x36b)]['srcRect'],_0x532769=_0x1706d8,_0x308c9a=_0x42fbb1,_0x1be0d3=_0x2bcf04,_0x12e65a=_0x3bdd77,_0x5f48d7=!0x1;if(_0x4c2b70!==0x0&&_0x4c2b70!==_0x2372c6){let _0x4a31b6=_0x1706d8/_0x4c2b70,_0x533cef=_0x2bcf04/_0x4c2b70;_0x532769=_0x2372c6*_0x4a31b6,_0x1be0d3=_0x2372c6*_0x533cef,_0x5f48d7=!0x0;}if(_0x5786ba!==0x0&&_0x5786ba!==_0x5168e1){let _0x2169cf=_0x42fbb1/_0x5786ba,_0x43921a=_0x3bdd77/_0x5786ba;_0x308c9a=_0x5168e1*_0x2169cf,_0x12e65a=_0x5168e1*_0x43921a,_0x5f48d7=!0x0;}_0x5f48d7&&this[_0x54be86(0x4c1)]({'left':_0x532769,'top':_0x308c9a,'right':_0x1be0d3,'bottom':_0x12e65a});}[_0x3bbe12(0x4c1)](_0x193bb8){const _0x3e154c=_0x3bbe12;this['_props'][_0x3e154c(0x377)]=_0x193bb8,this[_0x3e154c(0x1b8)](!0x0);}['setFillImage'](_0x1da0f2){const _0x234f3c=_0x3bbe12;this[_0x234f3c(0x36b)][_0x234f3c(0x26a)]=_0x1da0f2,this[_0x234f3c(0x1b8)](!0x0);}set[_0x3bbe12(0x22c)](_0x1e8a9a){this['_transform']=_0x1e8a9a;}get[_0x3bbe12(0x22c)](){const _0x466908=_0x3bbe12;this[_0x466908(0x233)]||this[_0x466908(0x513)]();let _0x247496=this['_transform'][_0x466908(0x395)]();return this[_0x466908(0x386)](_0x247496);}get['shapeModel'](){const _0x25bff1=_0x3bbe12;return this['_props'][_0x25bff1(0x2de)];}get[_0x3bbe12(0x222)](){const _0x61bf88=_0x3bbe12;return this[_0x61bf88(0x36b)][_0x61bf88(0x222)];}get[_0x3bbe12(0x4c7)](){const _0x478a48=_0x3bbe12;return _0x463287[_0x478a48(0x431)]['SHAPE'];}[_0x3bbe12(0x3d3)](_0x2cb6eb,_0x27be19,_0x3ada8f,_0x598dab){const _0x3a3999=_0x3bbe12;let _0x404c0f=this['_props'][_0x3a3999(0x2de)];if(!_0x404c0f||!_0x27be19)return;let _0x5c7150=_0x3ada8f??this['width'],_0x5a7847=_0x598dab??this[_0x3a3999(0x330)],_0x219aab={'shapeType':_0x404c0f['getShapeType'](),'width':_0x5c7150,'height':_0x5a7847},_0x5baaec={'renderMode':_0x1c9bad[_0x3a3999(0x4dc)][_0x3a3999(0x585)],'oKey':this['oKey'],'image':this[_0x3a3999(0x36b)]['image'],'angle':this[_0x3a3999(0x4b8)]};_0x404c0f[_0x3a3999(0x2ee)](_0x219aab),_0x2cb6eb[_0x3a3999(0x3c7)]();let _0x3c3037={'top':0x0,'left':0x0,'width':_0x5c7150,'height':_0x5a7847},_0x4235b7=_0x404c0f[_0x3a3999(0x350)](_0x3c3037);_0x4235b7?this[_0x3a3999(0x34b)](_0x2cb6eb,_0x4235b7,_0x5aebad=>{_0x404c0f['render'](_0x5aebad,_0x3c3037,_0x5baaec);}):(this[_0x3a3999(0x563)](),_0x404c0f[_0x3a3999(0x56c)](_0x2cb6eb,_0x3c3037,_0x5baaec)),_0x2cb6eb[_0x3a3999(0x3fe)]();let _0x4bea4b=_0x404c0f[_0x3a3999(0x398)](),_0x201d78=_0x404c0f['getShapeTextRect'](_0x3c3037),_0x5513db=_0x404c0f[_0x3a3999(0x1ce)]();if(_0x4bea4b&&_0x201d78&&!_0x5513db){_0x2cb6eb[_0x3a3999(0x3c7)](),this[_0x3a3999(0x320)]()['flipX']&&_0x2cb6eb[_0x3a3999(0x3fa)](-0x1,0x1);let _0x16fac2=_0x5c7150/0x2,_0x35ad65=_0x5a7847/0x2;_0x2cb6eb[_0x3a3999(0x208)](-_0x16fac2,-_0x35ad65),_0x2cb6eb['beginPath'](),this['_drawShapeText'](_0x2cb6eb,_0x4bea4b,_0x201d78),_0x2cb6eb[_0x3a3999(0x3fe)]();}}[_0x3bbe12(0x1b1)](_0x1d1afa){}[_0x3bbe12(0x42c)](_0x1005e3,_0x4c87e1,_0x1f4a58){const _0x5e858c=_0x3bbe12;var _0x40ad11;this[_0x5e858c(0x36b)][_0x5e858c(0x27c)]||(!((_0x40ad11=_0x4c87e1[_0x5e858c(0x577)])!=null&&_0x40ad11[_0x5e858c(0x317)])&&_0x5e858c(0x2c0)in _0x4c87e1&&_0x4c87e1[_0x5e858c(0x2c0)]===!0x1?this[_0x5e858c(0x2c1)](_0x1005e3,_0x4c87e1,_0x1f4a58):this['_drawRichText'](_0x1005e3,_0x4c87e1,_0x1f4a58));}['_drawSimpleText'](_0x3e9180,_0x35a28f,_0x562119){const _0x73aca9=_0x3bbe12;this[_0x73aca9(0x3e7)](_0x3e9180,{..._0x35a28f,'text':_0x35a28f['text']??'','dataModel':{'doc':(0x0,_0x3c7e1c[_0x73aca9(0x468)])(_0x35a28f,_0x73aca9(0x2e8)+this[_0x73aca9(0x449)])}},_0x562119);}[_0x3bbe12(0x3e7)](_0x2d71aa,_0x2a3aa1,_0x5e7bdf){const _0x34fc25=_0x3bbe12;(0x0,_0x3c7e1c[_0x34fc25(0x49d)])(_0x2d71aa,this[_0x34fc25(0x3b8)],(_0x4f8ffc,_0x5c6f7d)=>{const _0x2fc712=_0x34fc25;this[_0x2fc712(0x378)](_0x4f8ffc,_0x2a3aa1,_0x5e7bdf,_0x5c6f7d);});}[_0x3bbe12(0x378)](_0x32ce0d,_0x2bfa1f,_0x3c15b4,_0xffb46a){const _0x4ee06a=_0x3bbe12;let _0x5b678c=this[_0x4ee06a(0x36b)]['localeService'];if(!_0x2bfa1f[_0x4ee06a(0x577)]||!_0x5b678c)return;let _0x44af8b=(0x0,_0x3c7e1c[_0x4ee06a(0x30c)])(_0x2bfa1f[_0x4ee06a(0x577)]);if(!_0x44af8b)return;let _0x1ff3bb=_0x44af8b[_0x4ee06a(0x317)];if(!_0x1ff3bb)return;let _0x3f3f7a=(0x0,_0x214c33['createShapeFormulaDocument'])(_0x1ff3bb,_0xffb46a),_0x293986=_0x44af8b['va']??_0x5b0763[_0x4ee06a(0x3a9)]['TOP'],_0x4d3960=_0x44af8b['ha']??_0x5b0763[_0x4ee06a(0x429)][_0x4ee06a(0x30e)],_0x39ffb9=_0x5f26ff(this['_props'][_0x4ee06a(0x2de)][_0x4ee06a(0x334)](),_0x2bfa1f,_0x3f3f7a),_0x48eb6c=_0x2bfa1f[_0x4ee06a(0x3ea)],_0x4a4d5e=(0x0,_0x3c7e1c[_0x4ee06a(0x4f7)])(_0x3f3f7a,{'isHorizontal':_0x48eb6c!==!0x1,'textRect':_0x3c15b4,'verticalAlign':_0x293986,'horizontalAlign':_0x4d3960,'wrapStrategy':_0x39ffb9[_0x4ee06a(0x1ec)]}),_0x37b25d=new _0x5b0763['DocumentDataModel'](_0x4a4d5e),_0x480ca2=new _0x463287[(_0x4ee06a(0x319))](_0x37b25d),_0x54f8a7=_0x463287[_0x4ee06a(0x1d7)]['create'](_0x480ca2,_0x5b678c);_0x54f8a7[_0x4ee06a(0x1fc)]();let _0x2bf6f6=_0x54f8a7['getActualSize']()[_0x4ee06a(0x269)],_0x3b2c79=(0x0,_0x3c7e1c['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x2bf6f6,'verticalAlign':_0x293986,'viewportHeight':_0x3c15b4[_0x4ee06a(0x330)]});_0x37b25d['updateDocumentStyle']({'pageSize':{'width':_0x48eb6c===!0x1?_0x3c15b4[_0x4ee06a(0x330)]:_0x3c15b4[_0x4ee06a(0x3a0)],'height':(0x0,_0x3c7e1c[_0x4ee06a(0x226)])(_0x3f3f7a,_0x3b2c79[_0x4ee06a(0x361)])}}),_0x37b25d[_0x4ee06a(0x219)]({'t':_0x3b2c79['marginTop']}),_0x54f8a7['calculate']();let _0x445249=new _0x463287['Documents'](_0x4ee06a(0x516)+this[_0x4ee06a(0x449)],_0x54f8a7,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x4ee06a(0x1b8)](!0x0)});_0x445249[_0x4ee06a(0x375)](_0x3c15b4[_0x4ee06a(0x3a0)],_0x3b2c79['contentHeight']),_0x32ce0d[_0x4ee06a(0x3c7)](),_0x32ce0d[_0x4ee06a(0x496)](_0x3c15b4[_0x4ee06a(0x44f)],_0x3c15b4['top']),_0x39ffb9['clip']&&(_0x32ce0d[_0x4ee06a(0x32f)](),_0x32ce0d['rect'](0x0,_0x3b2c79[_0x4ee06a(0x298)],_0x3c15b4['width'],_0x3b2c79[_0x4ee06a(0x34e)]),_0x32ce0d[_0x4ee06a(0x237)]()),_0x3b2c79[_0x4ee06a(0x4ed)]&&_0x32ce0d['translateWithPrecision'](0x0,_0x3b2c79[_0x4ee06a(0x4ed)]),_0x445249[_0x4ee06a(0x3ff)](_0x32ce0d),_0x32ce0d['restore'](),_0x445249[_0x4ee06a(0x4a4)](),_0x54f8a7[_0x4ee06a(0x4a4)](),_0x480ca2[_0x4ee06a(0x4a4)](),_0x37b25d[_0x4ee06a(0x4a4)]();}[_0x3bbe12(0x56c)](_0x146db3,_0x47dc4f,_0x28e7a9=!0x1){const _0xf77cf=_0x3bbe12;if(!this[_0xf77cf(0x210)])return this[_0xf77cf(0x1b8)](!0x1),this;let {width:_0x789401,height:_0x4e6f7d,left:_0x121a77,top:_0x27ef3a}=this,_0x395ffb=this[_0xf77cf(0x24b)]();if(_0x789401=_0x395ffb[_0xf77cf(0x3a0)],_0x4e6f7d=_0x395ffb['height'],_0x121a77=_0x395ffb[_0xf77cf(0x44f)],_0x27ef3a=_0x395ffb['top'],this['isRender'](_0x47dc4f)){let {top:_0x32e44d,left:_0x51a63a,bottom:_0x4850ad,right:_0x4de1e4}=_0x47dc4f['viewBound'];if(_0x789401+this[_0xf77cf(0x37f)]+_0x121a77<_0x51a63a||_0x4de1e4<_0x121a77||_0x4e6f7d+this[_0xf77cf(0x37f)]+_0x27ef3a<_0x32e44d||_0x4850ad<_0x27ef3a)return this;}let _0x984aae=_0x121a77+_0x789401/0x2,_0x321798=_0x27ef3a+_0x4e6f7d/0x2,_0x4cee79=this[_0xf77cf(0x22c)][_0xf77cf(0x332)]();if(this['_props'][_0xf77cf(0x27c)]){let _0x3215fb=this['getState'](),_0x42e816=new _0x463287[(_0xf77cf(0x39c))]();_0x42e816[_0xf77cf(0x522)]({..._0x3215fb}),_0x4cee79=_0x42e816[_0xf77cf(0x332)]();}return _0x146db3[_0xf77cf(0x3c7)](),this[_0xf77cf(0x36b)][_0xf77cf(0x2de)]['isRenderLinePointsMode']===!0x0||_0x146db3[_0xf77cf(0x22c)](_0x4cee79[0x0],_0x4cee79[0x1],_0x4cee79[0x2],_0x4cee79[0x3],_0x984aae,_0x321798),this['_draw'](_0x146db3,_0x47dc4f,_0x789401,_0x4e6f7d),_0x146db3[_0xf77cf(0x3fe)](),this[_0xf77cf(0x1b8)](!0x1),this;}[_0x3bbe12(0x452)](_0x5592c9){const _0x30126e=_0x3bbe12;let {left:_0x34fb50,top:_0x2c6996,width:_0xf8e186,height:_0x107141}=this['getRealBound'](),_0x2aebd1=this[_0x30126e(0x22c)][_0x30126e(0x332)](),_0x368d15=_0x34fb50+_0xf8e186/0x2,_0x3ecab0=_0x2c6996+_0x107141/0x2,_0x287abe=new _0x463287[(_0x30126e(0x39c))]([_0x2aebd1[0x0],_0x2aebd1[0x1],_0x2aebd1[0x2],_0x2aebd1[0x3],_0x368d15,_0x3ecab0]),_0x3bed23=this['getParent']();return(this[_0x30126e(0x305)]&&(_0x3bed23==null?void 0x0:_0x3bed23[_0x30126e(0x4c7)])===_0x463287[_0x30126e(0x431)][_0x30126e(0x297)]?_0x3bed23[_0x30126e(0x477)][_0x30126e(0x583)](_0x287abe):_0x287abe)[_0x30126e(0x458)]()['applyPoint'](_0x5592c9);}[_0x3bbe12(0x4bd)](_0x2d6ad0){const _0x4fee1e=_0x3bbe12;let {left:_0x41239b,top:_0x593b58,width:_0x29074a,height:_0x3c866c}=this[_0x4fee1e(0x24b)](),_0x502c0a=_0x41239b+_0x29074a/0x2,_0x33ac79=_0x593b58+_0x3c866c/0x2,_0x1890d5=this[_0x4fee1e(0x22c)][_0x4fee1e(0x332)](),_0x55f848=new _0x463287[(_0x4fee1e(0x39c))]([_0x1890d5[0x0],_0x1890d5[0x1],_0x1890d5[0x2],_0x1890d5[0x3],_0x502c0a,_0x33ac79]),_0x5d54a8=this[_0x4fee1e(0x538)](),_0x18bbf2=(this['isInGroup']&&(_0x5d54a8==null?void 0x0:_0x5d54a8[_0x4fee1e(0x4c7)])===_0x463287[_0x4fee1e(0x431)][_0x4fee1e(0x297)]?_0x5d54a8[_0x4fee1e(0x477)]['multiply'](_0x55f848):_0x55f848)['invert']()[_0x4fee1e(0x490)](_0x2d6ad0),_0x128284=_0x29074a/0x2,_0x313c2b=_0x3c866c/0x2,_0x3ac0fe=this[_0x4fee1e(0x36b)]['shapeModel'];return _0x3ac0fe&&_0x3ac0fe['isLineShape']()?_0x3ac0fe[_0x4fee1e(0x559)](_0x18bbf2['x'],_0x18bbf2['y'],_0x29074a,_0x3c866c):_0x18bbf2['x']>=-_0x128284-this['strokeWidth']/0x2&&_0x18bbf2['x']<=_0x128284+this[_0x4fee1e(0x37f)]/0x2&&_0x18bbf2['y']>=-_0x313c2b-this[_0x4fee1e(0x37f)]/0x2&&_0x18bbf2['y']<=_0x313c2b+this[_0x4fee1e(0x37f)]/0x2;}[_0x3bbe12(0x4a4)](){const _0x50ef67=_0x3bbe12;this['_formulaAnimation'][_0x50ef67(0x4a4)](),this[_0x50ef67(0x36b)]['shapeModel']=null,super[_0x50ef67(0x4a4)]();}},_0x23b942=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x2fcee9,_0x11dca4){const _0x57586d=_0x3bbe12;super(_0x2fcee9,_0x11dca4),_0x19095(this,'_shapeId',null),_0x19095(this,_0x57586d(0x1dd),null),_0x19095(this,_0x57586d(0x439),null),_0x19095(this,_0x57586d(0x569),null),_0x11dca4&&this['setShapeProps'](_0x11dca4);}['getDrawingSearch'](){const _0x1b147b=_0x3bbe12;return{'unitId':this[_0x1b147b(0x439)],'subUnitId':this[_0x1b147b(0x569)],'drawingId':this['_shapeId']};}[_0x3bbe12(0x2f2)](_0x5a5d82){const _0x11a3cb=_0x3bbe12;_0x5a5d82[_0x11a3cb(0x222)]!==void 0x0&&(this[_0x11a3cb(0x4d3)]=_0x5a5d82['shapeId']),_0x5a5d82[_0x11a3cb(0x234)]!==void 0x0&&(this[_0x11a3cb(0x1dd)]=_0x5a5d82[_0x11a3cb(0x234)]),_0x5a5d82[_0x11a3cb(0x53b)]!==void 0x0&&(this[_0x11a3cb(0x439)]=_0x5a5d82[_0x11a3cb(0x53b)]),_0x5a5d82[_0x11a3cb(0x58c)]!==void 0x0&&(this[_0x11a3cb(0x569)]=_0x5a5d82[_0x11a3cb(0x58c)]),this[_0x11a3cb(0x23f)]({'width':_0x5a5d82[_0x11a3cb(0x3a0)],'height':_0x5a5d82['height']});}[_0x3bbe12(0x3d3)](_0x22319c){const _0x5589f9=_0x3bbe12;_0x463287['Circle']['drawWith'](_0x22319c,{'radius':_0x1c9bad['ShapeDefaultConfig']['adjHandleSize'],'fill':_0x1c9bad['ShapeDefaultConfig'][_0x5589f9(0x251)],'stroke':_0x1c9bad[_0x5589f9(0x1b9)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x5ec307(_0x458c5f,_0x3283a7){return function(_0x432f13,_0x4c527d){_0x3283a7(_0x432f13,_0x4c527d,_0x458c5f);};}function _0x476b0f(_0x4c0d54,_0x502a47,_0x1b7220,_0x365abe){const _0x1d2708=_0x3bbe12;var _0x47cef0=arguments[_0x1d2708(0x2bb)],_0x2d8cfa=_0x47cef0<0x3?_0x502a47:_0x365abe===null?_0x365abe=Object[_0x1d2708(0x42f)](_0x502a47,_0x1b7220):_0x365abe,_0x2cc4e6;if(typeof Reflect==_0x1d2708(0x4d1)&&typeof Reflect['decorate']==_0x1d2708(0x50f))_0x2d8cfa=Reflect['decorate'](_0x4c0d54,_0x502a47,_0x1b7220,_0x365abe);else{for(var _0x2667e6=_0x4c0d54['length']-0x1;_0x2667e6>=0x0;_0x2667e6--)(_0x2cc4e6=_0x4c0d54[_0x2667e6])&&(_0x2d8cfa=(_0x47cef0<0x3?_0x2cc4e6(_0x2d8cfa):_0x47cef0>0x3?_0x2cc4e6(_0x502a47,_0x1b7220,_0x2d8cfa):_0x2cc4e6(_0x502a47,_0x1b7220))||_0x2d8cfa);}return _0x47cef0>0x3&&_0x2d8cfa&&Object['defineProperty'](_0x502a47,_0x1b7220,_0x2d8cfa),_0x2d8cfa;}let _0x14a8a5=class extends _0x5b0763['Disposable']{constructor(_0x4432dd,_0x4ee965,_0x110e2f,_0x75b0a7,_0x5bf7b6,_0xaa0b88){const _0x10f0df=_0x3bbe12;super(),this[_0x10f0df(0x4fb)]=_0x4432dd,this[_0x10f0df(0x3e3)]=_0x4ee965,this[_0x10f0df(0x1bc)]=_0x110e2f,this['_imageIoService']=_0x75b0a7,this['_urlImageService']=_0x5bf7b6,this[_0x10f0df(0x1b3)]=_0xaa0b88,_0x19095(this,_0x10f0df(0x1ae),new Map()),this[_0x10f0df(0x368)](this['_shapeFormulaService'][_0x10f0df(0x3f5)]['subscribe'](_0x1cedda=>{const _0x5770a3=_0x10f0df;var _0xb4093d;(_0xb4093d=this[_0x5770a3(0x1ae)][_0x5770a3(0x3f3)](this['_formulaKey'](_0x1cedda[_0x5770a3(0x53b)],_0x1cedda[_0x5770a3(0x58c)],_0x1cedda[_0x5770a3(0x222)])))==null||_0xb4093d[_0x5770a3(0x1e7)](_0x513dae=>_0x513dae['setFormulaPresentation'](_0x1cedda[_0x5770a3(0x476)],_0x1cedda[_0x5770a3(0x33d)]));})),this[_0x10f0df(0x368)](this[_0x10f0df(0x4fb)][_0x10f0df(0x50c)][_0x10f0df(0x4f5)](_0x2a512f=>{const _0x69b30b=_0x10f0df;_0x2a512f[_0x69b30b(0x1e7)](_0x43dca8=>{const _0x1adbd8=_0x69b30b;this['_shapeFormulaService']['unregister']({'unitId':_0x43dca8[_0x1adbd8(0x53b)],'subUnitId':_0x43dca8[_0x1adbd8(0x58c)],'shapeId':_0x43dca8['drawingId']}),this['_formulaShapes'][_0x1adbd8(0x31d)](this[_0x1adbd8(0x4e7)](_0x43dca8[_0x1adbd8(0x53b)],_0x43dca8[_0x1adbd8(0x58c)],_0x43dca8[_0x1adbd8(0x1af)]));});}));}['renderDrawingShape'](_0x39cbbc,_0x1216de,_0x593219){const _0x1169ec=_0x3bbe12;let {transform:_0x21e795,drawingType:_0x5ae1a4,srcRect:_0x423433,prstGeom:_0x8644a7,groupId:_0x40368,unitId:_0x1d395b,subUnitId:_0x54c6cf,drawingId:_0x418f2f,isMultiTransform:_0x3357c8,transforms:_0x2e498e,hidden:_0x1a1f8e,selectable:_0x547af0}=_0x39cbbc;if(_0x5ae1a4!==_0x5b0763[_0x1169ec(0x2f8)][_0x1169ec(0x462)]||!this[_0x1169ec(0x4fb)][_0x1169ec(0x547)]()||_0x21e795==null)return;let _0x4d7a31=this['_drawingManagerService'][_0x1169ec(0x371)](),_0x24e28d=_0x3357c8&&_0x2e498e?_0x2e498e:[_0x21e795],_0x233eb1=[];for(let _0x1a37bb of _0x24e28d){let {left:_0x55b659,top:_0x3cb36d,width:_0x1ab5ac,height:_0x2f2f60,angle:_0x1273a9,flipX:_0x51e27d,flipY:_0x556de2,skewX:_0x3e2aa2,skewY:_0x4abb6c}=_0x1a37bb,_0x2bbcb7=_0x24e28d[_0x1169ec(0x32a)](_0x1a37bb),_0x3c0988=(0x0,_0x37800f[_0x1169ec(0x574)])({'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'drawingId':_0x418f2f},_0x3357c8?_0x2bbcb7:void 0x0),_0x454945=_0x1216de[_0x1169ec(0x53d)](_0x3c0988);if(_0x454945!=null){let _0x4218f4={'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'shapeId':_0x418f2f};_0x454945 instanceof _0x30f195&&this[_0x1169ec(0x271)](_0x454945,_0x4218f4),_0x454945[_0x1169ec(0x23f)]({'left':_0x55b659,'top':_0x3cb36d,'width':_0x1ab5ac,'height':_0x2f2f60,'angle':_0x1273a9,'flipX':_0x51e27d,'flipY':_0x556de2,'skewX':_0x3e2aa2,'skewY':_0x4abb6c});continue;}let _0x4ca9eb=this['_drawingManagerService'][_0x1169ec(0x33c)](_0x1d395b,_0x54c6cf),_0x155856=_0x4ca9eb[_0x1169ec(0x32a)](_0x418f2f);if(_0x1216de[_0x1169ec(0x53d)](_0x3c0988)||!this[_0x1169ec(0x4fb)][_0x1169ec(0x547)]())continue;let _0x5473fd=this['_sheetsShapeService']['getShapeModel'](_0x1d395b,_0x54c6cf,_0x418f2f);if(!_0x5473fd)continue;let _0x45f17b=(0x0,_0x1c9bad[_0x1169ec(0x48b)])(_0x5473fd['getShapeType']())?{..._0x3c7e1c[_0x1169ec(0x4b7)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3c7e1c[_0x1169ec(0x4b7)],_0xc2396=_0x5473fd[_0x1169ec(0x334)]()[_0x1169ec(0x3c5)],_0x4f5b4e={'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'shapeId':_0x418f2f};_0xc2396&&this[_0x1169ec(0x1b3)][_0x1169ec(0x2b4)](_0x4f5b4e,_0xc2396);let _0x494c6e=new _0x30f195(_0x3c0988,{..._0x1a37bb,'zIndex':_0x155856===-0x1?_0x4ca9eb[_0x1169ec(0x2bb)]-0x1:_0x155856,'shapeModel':_0x5473fd,'localeService':this['_localeService'],'shapeId':_0x418f2f,'unitId':_0x1d395b,'subUnitId':_0x54c6cf,'visible':_0x1a1f8e!==!0x0,'evented':_0x547af0!==!0x1,'formulaPresentation':_0xc2396?this[_0x1169ec(0x1b3)][_0x1169ec(0x47d)](_0x4f5b4e):void 0x0,'animateFormulaPresentation':(_0xc2396==null?void 0x0:_0xc2396['animationEnabled'])!==!0x1,'transformerConfig':_0x45f17b});if(_0xc2396){let _0x1c3951=this[_0x1169ec(0x4e7)](_0x1d395b,_0x54c6cf,_0x418f2f),_0x45e074=this[_0x1169ec(0x1ae)]['get'](_0x1c3951)??new Set();_0x45e074['add'](_0x494c6e),this['_formulaShapes']['set'](_0x1c3951,_0x45e074);}_0x1216de[_0x1169ec(0x4a1)](_0x494c6e,_0x463287[_0x1169ec(0x526)]),_0x4d7a31&&_0x1216de[_0x1169ec(0x2e2)](_0x494c6e),_0x40368&&(0x0,_0x3ec2cc[_0x1169ec(0x54b)])({'drawingId':_0x40368,'unitId':_0x1d395b,'subUnitId':_0x54c6cf},_0x494c6e,_0x1216de,this[_0x1169ec(0x4fb)]),_0x8644a7!=null&&_0x494c6e[_0x1169ec(0x4c4)](_0x8644a7),_0x423433!=null&&_0x494c6e[_0x1169ec(0x4c1)](_0x423433);let _0x37c459=this[_0x1169ec(0x524)](_0x494c6e,_0x5473fd[_0x1169ec(0x334)]());if(_0x37c459){var _0x16fc1b;_0x593219==null||(_0x16fc1b=_0x593219['resourceCollector'])==null||_0x16fc1b[_0x1169ec(0x495)](_0x37c459);}_0x233eb1[_0x1169ec(0x36e)](_0x494c6e);}return _0x233eb1;}[_0x3bbe12(0x4e7)](_0x231efe,_0x5ca5f5,_0x39003f){return _0x231efe+'\x00'+_0x5ca5f5+'\x00'+_0x39003f;}[_0x3bbe12(0x271)](_0x46d3c0,_0x692445){const _0x2258de=_0x3bbe12;let _0x16dfe3=this[_0x2258de(0x3e3)][_0x2258de(0x338)](_0x692445[_0x2258de(0x53b)],_0x692445[_0x2258de(0x58c)],_0x692445[_0x2258de(0x222)]),_0x568479=_0x16dfe3==null?void 0x0:_0x16dfe3[_0x2258de(0x334)]()[_0x2258de(0x3c5)],_0xc62884=this[_0x2258de(0x4e7)](_0x692445[_0x2258de(0x53b)],_0x692445['subUnitId'],_0x692445['shapeId']);if(_0x568479){this['_shapeFormulaService'][_0x2258de(0x2b4)](_0x692445,_0x568479);let _0x4cf539=this[_0x2258de(0x1ae)][_0x2258de(0x3f3)](_0xc62884)??new Set();_0x4cf539['add'](_0x46d3c0),this['_formulaShapes'][_0x2258de(0x336)](_0xc62884,_0x4cf539);}else{var _0x342f1b;this[_0x2258de(0x1b3)][_0x2258de(0x27b)](_0x692445),(_0x342f1b=this[_0x2258de(0x1ae)]['get'](_0xc62884))==null||_0x342f1b[_0x2258de(0x31d)](_0x46d3c0);}_0x46d3c0[_0x2258de(0x2b0)](_0x568479?this[_0x2258de(0x1b3)]['getPresentation'](_0x692445):void 0x0,(_0x568479==null?void 0x0:_0x568479[_0x2258de(0x33d)])!==!0x1);}[_0x3bbe12(0x505)](_0x487543){const _0x38cda5=_0x3bbe12;let _0x3097fa=_0x487543['shapeModel'][_0x38cda5(0x334)](),_0x547704=_0x3097fa[_0x38cda5(0x23b)];if(!_0x547704||_0x547704[_0x38cda5(0x32d)]!==_0x1c9bad[_0x38cda5(0x49e)]['PictureFill']||!_0x547704[_0x38cda5(0x59d)]){_0x487543[_0x38cda5(0x3fb)](void 0x0);return;}this['_loadShapePictureFill'](_0x487543,_0x3097fa);}[_0x3bbe12(0x524)](_0x336434,_0xf18a42){const _0x51f822=_0x3bbe12;let _0x4adcae=_0xf18a42[_0x51f822(0x23b)];if(!_0x4adcae||_0x4adcae[_0x51f822(0x32d)]!==_0x1c9bad[_0x51f822(0x49e)][_0x51f822(0x4b2)]||!_0x4adcae['fillImageSource'])return;let _0x2513b8=_0x4adcae[_0x51f822(0x59d)],_0xe9042e=_0x4adcae[_0x51f822(0x4ef)]??_0x1c9bad[_0x51f822(0x1da)][_0x51f822(0x259)],_0x3f8eab=this[_0x51f822(0x4f6)][_0x51f822(0x1d4)](_0x2513b8,_0xe9042e);if(_0x3f8eab){_0x336434[_0x51f822(0x3fb)](_0x3f8eab);return;}return this[_0x51f822(0x2d1)](_0x336434,_0x2513b8,_0xe9042e);}async[_0x3bbe12(0x2d1)](_0x37913f,_0x877201,_0x28662f){const _0x358143=_0x3bbe12;let _0x6f1a88;try{if(_0x28662f===_0x1c9bad[_0x358143(0x1da)][_0x358143(0x4ec)])_0x6f1a88=await this[_0x358143(0x4f6)][_0x358143(0x520)](_0x877201);else{if(_0x28662f===_0x1c9bad['ImageSourceTypeEnum'][_0x358143(0x259)])try{_0x6f1a88=await this['_urlImageService'][_0x358143(0x520)](_0x877201);}catch{_0x6f1a88=_0x877201;}else _0x6f1a88=_0x877201;}}catch(_0xf1b57b){console[_0x358143(0x3dc)](_0x358143(0x500),_0xf1b57b);return;}await new Promise(_0x13c5ca=>{const _0x3e28a6=_0x358143;let _0x1c1eb5=new window[(_0x3e28a6(0x47f))]();_0x1c1eb5[_0x3e28a6(0x415)]=()=>{const _0x56f640=_0x3e28a6;this[_0x56f640(0x4f6)][_0x56f640(0x3fd)](_0x877201,_0x28662f,_0x1c1eb5),_0x37913f[_0x56f640(0x3fb)](_0x1c1eb5),_0x13c5ca();},_0x1c1eb5[_0x3e28a6(0x535)]=()=>{const _0x1434f0=_0x3e28a6;console[_0x1434f0(0x3dc)](_0x1434f0(0x260),_0x877201),_0x13c5ca();},_0x1c1eb5[_0x3e28a6(0x203)]=_0x6f1a88;});}};_0x14a8a5=_0x476b0f([_0x5ec307(0x0,_0x37800f['IDrawingManagerService']),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x503)])),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x4a7)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x221)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x214c33[_0x3bbe12(0x46b)]))],_0x14a8a5);let _0x5bb4e7=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x34738c,_0x3e8e5e,_0x4b80b7,_0x1422f1,_0x22e7b9,_0x42715d){const _0x30d414=_0x3bbe12;super(),this[_0x30d414(0x4fb)]=_0x34738c,this[_0x30d414(0x3e3)]=_0x3e8e5e,this[_0x30d414(0x3e6)]=_0x4b80b7,this[_0x30d414(0x2be)]=_0x1422f1,this['_univerInstanceService']=_0x22e7b9,this[_0x30d414(0x555)]=_0x42715d,_0x19095(this,_0x30d414(0x2d9),null),_0x19095(this,_0x30d414(0x439),null),_0x19095(this,_0x30d414(0x569),null),_0x19095(this,_0x30d414(0x4ab),void 0x0),_0x19095(this,_0x30d414(0x484),[]),_0x19095(this,'_baseShapeLeft',0x0),_0x19095(this,_0x30d414(0x3ab),0x0),_0x19095(this,_0x30d414(0x258),0x0),_0x19095(this,_0x30d414(0x1c6),0x0),_0x19095(this,_0x30d414(0x55a),!0x1),_0x19095(this,_0x30d414(0x4d8),void 0x0),_0x19095(this,_0x30d414(0x418),void 0x0),_0x19095(this,_0x30d414(0x423),void 0x0),_0x19095(this,'_adjHandlerPointerUp',void 0x0),_0x19095(this,_0x30d414(0x2b2),!0x1),this[_0x30d414(0x3c9)](),this[_0x30d414(0x360)]();}['_getShapeAdjustPointListById'](_0x277831,_0x54c1b1,_0xcc349d){const _0x506612=_0x3bbe12;let _0x12d5b4=this[_0x506612(0x3e3)]['getShapeModel'](_0x277831,_0x54c1b1,_0xcc349d);if(_0x12d5b4)return _0x12d5b4[_0x506612(0x1b1)]();}[_0x3bbe12(0x3ee)](){const _0x1cde0e=_0x3bbe12;this[_0x1cde0e(0x20b)]();}['refreshAdjustControls'](){const _0x95c2c4=_0x3bbe12;this[_0x95c2c4(0x55f)](!0x0);}[_0x3bbe12(0x3f7)](_0x4d975c){const _0x371ca2=_0x3bbe12;this[_0x371ca2(0x2b2)]=_0x4d975c;}[_0x3bbe12(0x596)](_0x546f20,_0x4eb76d,_0x3e0e91,_0x24bd32){const _0x3cda76=_0x3bbe12;let _0x446cc0=this[_0x3cda76(0x3e3)][_0x3cda76(0x338)](_0x546f20,_0x4eb76d,_0x3e0e91);if(_0x446cc0)return _0x446cc0[_0x3cda76(0x4bb)](_0x24bd32);}[_0x3bbe12(0x399)](_0x1b59e4=!0x1){const _0x55f0e4=_0x3bbe12;if(this['_unitId']===null||this[_0x55f0e4(0x569)]===null||this[_0x55f0e4(0x2d9)]===null)return;let _0x284e65=this[_0x55f0e4(0x3e6)]['getRenderUnitById'](this[_0x55f0e4(0x439)]);if(!_0x284e65||!_0x284e65[_0x55f0e4(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x55f0e4(0x1f3)]())return;let {scene:_0x3839eb}=_0x284e65,_0x4a11dc={'unitId':this[_0x55f0e4(0x439)],'subUnitId':this[_0x55f0e4(0x569)],'drawingId':this[_0x55f0e4(0x2d9)]},_0x1fe794=this[_0x55f0e4(0x4fb)]['getDrawingByParam'](_0x4a11dc),{transform:_0x799127}=_0x1fe794;if(!_0x799127||_0x1fe794[_0x55f0e4(0x1d3)]!==_0x5b0763[_0x55f0e4(0x2f8)][_0x55f0e4(0x462)])return;let {left:_0x44f806,top:_0x5d6e25,width:_0x4ae6e9,height:_0x31dffc,flipX:_0x382d80,flipY:_0x5de86f,angle:_0x5565c3=0x0}=_0x799127;if(_0x44f806===void 0x0||_0x5d6e25===void 0x0)return;if(_0x1b59e4){let _0x41577c=this['_sheetsShapeService'][_0x55f0e4(0x338)](this[_0x55f0e4(0x439)],this[_0x55f0e4(0x569)],this[_0x55f0e4(0x2d9)]);_0x41577c==null||_0x41577c[_0x55f0e4(0x2ee)]({'width':_0x4ae6e9??0x0,'height':_0x31dffc??0x0}),this[_0x55f0e4(0x4ab)]=_0x41577c==null?void 0x0:_0x41577c['getDrawingPoints']();}let _0x887a28=this[_0x55f0e4(0x4ab)];for(let _0x5a3e73=0x0;_0x5a3e73<_0x887a28['length'];_0x5a3e73++){let _0x1efd29=_0x887a28[_0x5a3e73],_0x3d4c22=_0x1efd29['x'],_0x15a8ee=_0x1efd29['y'];if(_0x382d80&&(_0x3d4c22=(_0x4ae6e9||0x0)-_0x3d4c22),_0x5de86f&&(_0x15a8ee=(_0x31dffc||0x0)-_0x15a8ee),_0x5565c3!==0x0){let _0x341afa=(_0x4ae6e9||0x0)/0x2,_0x5ea896=(_0x31dffc||0x0)/0x2,_0x577b66=_0x5565c3*Math['PI']/0xb4,_0x3519ed=Math[_0x55f0e4(0x459)](_0x577b66),_0x2b755e=Math[_0x55f0e4(0x343)](_0x577b66),_0x3ca7f6=_0x3d4c22-_0x341afa,_0x313abe=_0x15a8ee-_0x5ea896;_0x3d4c22=_0x341afa+(_0x3ca7f6*_0x3519ed-_0x313abe*_0x2b755e),_0x15a8ee=_0x5ea896+(_0x3ca7f6*_0x2b755e+_0x313abe*_0x3519ed);}let _0x48ba32={'x':_0x3d4c22,'y':_0x15a8ee,'adjName':_0x1efd29[_0x55f0e4(0x234)]};this[_0x55f0e4(0x3f2)](_0x3839eb,_0x48ba32,_0x48ba32[_0x55f0e4(0x234)],_0x44f806,_0x5d6e25,this[_0x55f0e4(0x439)],this[_0x55f0e4(0x569)]);}}['_updateShapeAdjustControls'](_0x50e667=!0x1){_0x50e667&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x50e667));}[_0x3bbe12(0x3f2)](_0x3e8b5c,_0x422d65,_0x224845,_0x17f529,_0x1cdb41,_0x19bd02,_0x246f8b){const _0x133120=_0x3bbe12;if(!this[_0x133120(0x2d9)])return;let _0x29fbcc=_0x3e8b5c[_0x133120(0x53d)](_0x133120(0x406)+this['_activeShapeId']+'-'+_0x224845);if(_0x29fbcc){_0x29fbcc[_0x133120(0x23f)]({'left':_0x422d65['x']+_0x17f529-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)],'top':_0x422d65['y']+_0x1cdb41-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)]});return;}let _0x407b5c={'left':_0x422d65['x']+_0x17f529-_0x1c9bad[_0x133120(0x1b9)]['adjHandleSize'],'top':_0x422d65['y']+_0x1cdb41-_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)],'adjName':_0x224845,'shapeId':this['_activeShapeId'],'unitId':_0x19bd02,'subUnitId':_0x246f8b,'width':_0x1c9bad[_0x133120(0x1b9)][_0x133120(0x381)]+0x8,'height':_0x1c9bad['ShapeDefaultConfig'][_0x133120(0x381)]+0x8,'zIndex':_0x463287[_0x133120(0x526)]+0x1,'evented':!0x0},_0xc4b103=new _0x23b942(_0x133120(0x406)+this[_0x133120(0x2d9)]+'-'+_0x224845,_0x407b5c);this['_shapes'][_0x133120(0x36e)](_0xc4b103),this['_attachAdjustEvent'](_0xc4b103,_0x3e8b5c,_0x224845),_0x3e8b5c[_0x133120(0x4a1)](_0xc4b103,_0x463287[_0x133120(0x526)]+0x1);}[_0x3bbe12(0x20b)](){const _0xea3366=_0x3bbe12;this[_0xea3366(0x484)][_0xea3366(0x2bb)]!==0x0&&(this[_0xea3366(0x484)][_0xea3366(0x1e7)](_0x67aa07=>{const _0x51067e=_0xea3366;_0x67aa07[_0x51067e(0x4a4)]();}),this[_0xea3366(0x484)]=[]);}[_0x3bbe12(0x337)](){this['_createShapeAdjustControls']();}[_0x3bbe12(0x1ff)](_0x23efa1,_0x2d7d02){const _0x22d5e3=_0x3bbe12;var _0x303499;let _0x15ee64={'x':0x0,'y':0x0};if(!_0x23efa1||!_0x2d7d02)return _0x15ee64;let _0x5323b5=this[_0x22d5e3(0x3e6)][_0x22d5e3(0x3de)](_0x23efa1);if(!_0x5323b5||!_0x5323b5[_0x22d5e3(0x512)](_0x54c89f[_0x22d5e3(0x542)])['getSkeleton'](_0x2d7d02))return _0x15ee64;let _0x435c05=_0x5323b5[_0x22d5e3(0x512)](_0x54c89f[_0x22d5e3(0x253)]),_0x28b794=_0x435c05==null?void 0x0:_0x435c05['getCurrentScrollState']();if(!_0x28b794)return _0x15ee64;let _0x2ed8f3=(_0x303499=this[_0x22d5e3(0x2cc)]['getUnit'](_0x23efa1))==null?void 0x0:_0x303499[_0x22d5e3(0x48d)](_0x2d7d02);if(!_0x2ed8f3)return _0x15ee64;let _0x50c994=(0x0,_0x54c89f['getViewportByCell'])(_0x28b794[_0x22d5e3(0x1ea)],_0x28b794[_0x22d5e3(0x3ba)],_0x5323b5[_0x22d5e3(0x29e)],_0x2ed8f3);return _0x50c994?{'x':_0x50c994['viewportScrollX'],'y':_0x50c994['viewportScrollY']}:_0x15ee64;}[_0x3bbe12(0x4c5)](_0x4136ec,_0x5243e7){const _0x32deeb=_0x3bbe12;var _0x4f32fd;let _0xc50e46=(_0x4f32fd=this[_0x32deeb(0x2cc)][_0x32deeb(0x284)](_0x4136ec))==null?void 0x0:_0x4f32fd[_0x32deeb(0x48d)](_0x5243e7);return(_0xc50e46==null?void 0x0:_0xc50e46[_0x32deeb(0x43d)]())??0x1;}['_attachAdjustEvent'](_0x387307,_0x104882,_0x4dbeca){const _0xc85f71=_0x3bbe12;this['disposeWithMe']((0x0,_0x5b0763[_0xc85f71(0x404)])(_0x387307[_0xc85f71(0x2f1)][_0xc85f71(0x373)]((_0x9ecc20,_0x1ad263)=>{const _0x531133=_0xc85f71;var _0x281404,_0x2a43ff,_0x1996aa,_0x2e9232;let _0x497a66=_0x387307[_0x531133(0x333)]();this[_0x531133(0x4d8)]=this['_getShapeAdjustInfosById'](_0x497a66[_0x531133(0x53b)],_0x497a66[_0x531133(0x58c)],_0x497a66[_0x531133(0x1af)],_0x4dbeca),this[_0x531133(0x418)]=this[_0x531133(0x3e3)][_0x531133(0x338)](_0x497a66['unitId'],_0x497a66[_0x531133(0x58c)],_0x497a66[_0x531133(0x1af)]);let _0xc62219=this[_0x531133(0x4fb)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x531133(0x2d9)]}),{transform:_0x150386}=_0xc62219;if(_0x150386){let {left:_0x305bfc,top:_0x13dea6,width:_0x5642af,height:_0x1d3e76}=_0x150386;this[_0x531133(0x568)]=_0x305bfc||0x0,this[_0x531133(0x3ab)]=_0x13dea6||0x0,this['_baseShapeWidth']=_0x5642af||0x0,this[_0x531133(0x1c6)]=_0x1d3e76||0x0;}let _0x39affe=!!((_0x281404=_0xc62219[_0x531133(0x22c)])!=null&&_0x281404['flipX']),_0x3c6848=!!((_0x2a43ff=_0xc62219[_0x531133(0x22c)])!=null&&_0x2a43ff[_0x531133(0x4ad)]),_0x5c4406=((_0x1996aa=_0xc62219['transform'])==null?void 0x0:_0x1996aa[_0x531133(0x4b8)])||0x0;this[_0x531133(0x55a)]=!0x0,_0x104882[_0x531133(0x4ee)]();let _0x1c99a4={...((_0x2e9232=this[_0x531133(0x4d8)])==null?void 0x0:_0x2e9232['currentAdjustValues'])??{}};this[_0x531133(0x423)]=_0x104882['onPointerMove$'][_0x531133(0x373)]((_0x2bfaf6,_0x461406)=>{const _0x53914f=_0x531133;if(!this[_0x53914f(0x55a)])return;let {offsetX:_0x3bc087,offsetY:_0x2b6caa}=_0x2bfaf6,_0x52c80d=this['_activeAdjustInfo'];if(this[_0x53914f(0x418)]&&_0x52c80d){_0x104882[_0x53914f(0x4ee)](),_0x104882['setCursor'](_0x463287['CURSOR_TYPE'][_0x53914f(0x3c0)]);let _0xd42e55={'left':0x0,'top':0x0,'width':this[_0x53914f(0x258)],'height':this[_0x53914f(0x1c6)]},_0x41938c=this['_getScrollInfo'](this[_0x53914f(0x439)],this[_0x53914f(0x569)]),_0x56a722=this[_0x53914f(0x4c5)](this['_unitId'],this[_0x53914f(0x569)]),_0x5ccc28=_0x3bc087/_0x56a722+_0x41938c['x']-this['_baseShapeLeft'],_0x52c488=_0x2b6caa/_0x56a722+_0x41938c['y']-this[_0x53914f(0x3ab)];if(_0x5c4406!==0x0){let _0x1fb8b2=this[_0x53914f(0x258)]/0x2,_0x5d669a=this['_baseShapeHeight']/0x2,_0xc18292=_0x5c4406*Math['PI']/0xb4,_0x501435=Math[_0x53914f(0x459)](_0xc18292),_0x2463e4=Math['sin'](_0xc18292),_0x135bb3=_0x5ccc28-_0x1fb8b2,_0x3337b2=_0x52c488-_0x5d669a;_0x5ccc28=_0x1fb8b2+(_0x135bb3*_0x501435+_0x3337b2*_0x2463e4),_0x52c488=_0x5d669a+(-_0x135bb3*_0x2463e4+_0x3337b2*_0x501435);}_0x39affe&&(_0x5ccc28=this['_baseShapeWidth']-_0x5ccc28),_0x3c6848&&(_0x52c488=this[_0x53914f(0x1c6)]-_0x52c488);let _0x3d1951={'x':_0x5ccc28,'y':_0x52c488},_0x198ced=this[_0x53914f(0x418)][_0x53914f(0x405)](_0xd42e55,_0x3d1951,_0x52c80d,_0x39affe,_0x3c6848);if(Object[_0x53914f(0x3ae)](_0x198ced)[_0x53914f(0x2bb)]===0x0)return;for(let [_0x359b92,_0x17ddbe]of Object[_0x53914f(0x359)](_0x198ced))this[_0x53914f(0x418)][_0x53914f(0x4ae)](_0x359b92,_0x17ddbe);this[_0x53914f(0x418)][_0x53914f(0x2ee)]({'width':this[_0x53914f(0x258)],'height':this[_0x53914f(0x1c6)]});let _0x5948bf=this[_0x53914f(0x4fb)]['getDrawingByParam']({'unitId':_0x497a66[_0x53914f(0x53b)],'subUnitId':_0x497a66[_0x53914f(0x58c)],'drawingId':_0x497a66['drawingId']});_0x5948bf&&(this[_0x53914f(0x2be)][_0x53914f(0x214)](_0x5948bf,_0x104882),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x497a66['unitId'],_0x497a66[_0x53914f(0x58c)],_0x497a66['drawingId']),this[_0x53914f(0x337)]());}_0x461406[_0x53914f(0x50b)]();}),this[_0x531133(0x3bd)]=_0x104882['onPointerUp$'][_0x531133(0x373)]((_0x359797,_0x344fb7)=>{const _0x54c9d9=_0x531133;this[_0x54c9d9(0x423)]['unsubscribe'](),this[_0x54c9d9(0x3bd)][_0x54c9d9(0x465)](),_0x104882['resetCursor']();let _0x3477a9=this[_0x54c9d9(0x4d8)];if(_0x3477a9){let _0x153049=_0x497a66[_0x54c9d9(0x53b)],_0x55d3d5=_0x497a66[_0x54c9d9(0x58c)],_0x184e28=_0x497a66[_0x54c9d9(0x1af)],_0xfd648d={};for(let _0x110fab of Object['keys'](_0x3477a9['currentAdjustValues'])){var _0xfb442c;let _0x2fd707=(_0xfb442c=this[_0x54c9d9(0x418)])==null?void 0x0:_0xfb442c['getAdjustValueByName'](_0x110fab);_0x2fd707!==void 0x0&&(_0xfd648d[_0x110fab]=_0x2fd707);}Object['keys'](_0xfd648d)['length']>0x0&&_0x5b8a5d(this[_0x54c9d9(0x555)],_0x153049,_0x55d3d5,_0x184e28,{'oldShapeData':{'adjustValues':_0x1c99a4}},{'adjustValues':_0xfd648d});}this[_0x54c9d9(0x4d8)]=void 0x0,this[_0x54c9d9(0x418)]=void 0x0,this[_0x54c9d9(0x55a)]=!0x1,_0x344fb7[_0x54c9d9(0x50b)](),_0x104882[_0x54c9d9(0x287)]();}),_0x1ad263[_0x531133(0x50b)]();})));}[_0x3bbe12(0x360)](){const _0x5260ed=_0x3bbe12;let _0x45554f=this[_0x5260ed(0x2cc)][_0x5260ed(0x529)](_0x5b0763[_0x5260ed(0x48f)][_0x5260ed(0x2ed)]);this[_0x5260ed(0x368)](_0x45554f[_0x5260ed(0x525)]((0x0,_0x3d6362[_0x5260ed(0x515)])(_0x33c6c8=>_0x33c6c8?_0x33c6c8['activeSheet$'][_0x5260ed(0x525)]((0x0,_0x3d6362[_0x5260ed(0x515)])(_0x27e824=>{const _0x5a3696=_0x5260ed;if(!_0x27e824)return _0x3d6362[_0x5a3696(0x39e)];let _0x3c7a60=_0x33c6c8[_0x5a3696(0x292)](),_0x405f10=this[_0x5a3696(0x3e6)]['getRenderUnitById'](_0x3c7a60),_0x5e122e=_0x405f10==null?void 0x0:_0x405f10[_0x5a3696(0x29e)];return _0x5e122e?(0x0,_0x3d6362['of'])(_0x5e122e):_0x3d6362[_0x5a3696(0x39e)];})):_0x3d6362[_0x5260ed(0x39e)]))['subscribe'](_0x491614=>{const _0x21f255=_0x5260ed;let _0x365da1=_0x491614[_0x21f255(0x2ad)]();this['disposeWithMe'](_0x491614[_0x21f255(0x502)][_0x21f255(0x373)](()=>{const _0x5c5069=_0x21f255;this[_0x5c5069(0x2b2)];})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x3df)][_0x21f255(0x4f5)](_0x582561=>{const _0x541399=_0x21f255;let {objects:_0x653d91}=_0x582561;this[_0x541399(0x399)](),_0x653d91!==null&&_0x653d91[_0x541399(0x1c5)]===0x1&&_0x653d91['values']()['next']()[_0x541399(0x43f)]instanceof _0x30f195&&this[_0x541399(0x3f7)](!0x0);})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x267)][_0x21f255(0x4f5)](()=>{const _0x4cd85e=_0x21f255;this[_0x4cd85e(0x2b2)]&&this['_clearShapeAdjustControls']();})),this[_0x21f255(0x368)](_0x491614[_0x21f255(0x52f)]['subscribeEvent'](()=>{const _0x49d006=_0x21f255;this['_isShouldShowDrawingShapeAdjust']&&(this['setShouldShowAdjust'](!0x1),this[_0x49d006(0x399)]());})),this[_0x21f255(0x368)](_0x365da1[_0x21f255(0x236)][_0x21f255(0x4f5)](()=>{const _0x5035c1=_0x21f255;this[_0x5035c1(0x439)]&&this['_subUnitId']&&this[_0x5035c1(0x2d9)]&&this[_0x5035c1(0x4fb)][_0x5035c1(0x1d0)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})&&(this[_0x5035c1(0x4ab)]=this[_0x5035c1(0x245)](this[_0x5035c1(0x439)],this[_0x5035c1(0x569)],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}));}[_0x3bbe12(0x3c9)](){const _0x4596c8=_0x3bbe12;this[_0x4596c8(0x368)](this['_commandService'][_0x4596c8(0x1f0)](_0x429f3=>{const _0x51ed0f=_0x4596c8;if(_0x429f3['id']!==_0x501fe5[_0x51ed0f(0x533)]['id'])return;let {unitId:_0x257f78,subUnitId:_0x5c04da,shapeId:_0x1973f8}=_0x429f3[_0x51ed0f(0x242)];_0x257f78===this['_unitId']&&_0x5c04da===this[_0x51ed0f(0x569)]&&_0x1973f8===this[_0x51ed0f(0x2d9)]&&this[_0x51ed0f(0x27d)]();})),this[_0x4596c8(0x368)](this[_0x4596c8(0x4fb)]['focus$'][_0x4596c8(0x4f5)](_0xaeb6df=>{const _0x490627=_0x4596c8;if(_0xaeb6df['length']===0x1){let _0x4b8ecd=_0xaeb6df[0x0];if(_0x4b8ecd[_0x490627(0x1d3)]===_0x5b0763[_0x490627(0x2f8)][_0x490627(0x462)]&&this[_0x490627(0x2cc)][_0x490627(0x1f4)](_0x4b8ecd[_0x490627(0x53b)])===_0x5b0763[_0x490627(0x48f)][_0x490627(0x2ed)]){this[_0x490627(0x2d9)]=_0x4b8ecd['drawingId'];let {unitId:_0x16a7ad,subUnitId:_0x21b9de}=_0x4b8ecd;this['_activeShapeAdjustPointList']=this[_0x490627(0x245)](_0x16a7ad,_0x21b9de,this[_0x490627(0x2d9)]),this[_0x490627(0x439)]=_0x16a7ad,this[_0x490627(0x569)]=_0x21b9de,this[_0x490627(0x20b)](),this['_createShapeAdjustControls']();return;}}this[_0x490627(0x2d9)]=null,this[_0x490627(0x4ab)]=void 0x0,this['_unitId']=null,this[_0x490627(0x569)]=null,this['_clearShapeAdjustControls']();})),this[_0x4596c8(0x368)](this['_drawingManagerService']['update$']['subscribe'](_0xf38941=>{const _0x370161=_0x4596c8;if(_0xf38941[_0x370161(0x2bb)]===0x1){var _0x17a4d7;let _0x2ea8d4=_0xf38941[0x0];((_0x17a4d7=this[_0x370161(0x4fb)][_0x370161(0x1d0)](_0x2ea8d4))==null?void 0x0:_0x17a4d7[_0x370161(0x1d3)])===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&this[_0x370161(0x55f)](!0x0);}})),this[_0x4596c8(0x368)](this['_drawingManagerService']['remove$']['subscribe'](_0x1c63ae=>{const _0x387c4c=_0x4596c8;for(let _0x3a012d of _0x1c63ae)this['_activeShapeId']===_0x3a012d[_0x387c4c(0x1af)]&&(this[_0x387c4c(0x2d9)]=null,this[_0x387c4c(0x4ab)]=void 0x0,this[_0x387c4c(0x439)]=null,this[_0x387c4c(0x569)]=null,this[_0x387c4c(0x20b)]());}));}};_0x5bb4e7=_0x476b0f([_0x5ec307(0x0,_0x37800f['IDrawingManagerService']),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x463287['IRenderManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x14a8a5)),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x2c3)])],_0x5bb4e7);let _0x2c3fc4={'id':'drawing.operation.set-drawing-active','type':_0x5b0763[_0x3bbe12(0x527)]['OPERATION'],'handler':(_0x4a801b,_0x125586)=>{const _0x377ac1=_0x3bbe12;let _0x35ecb1=_0x4a801b[_0x377ac1(0x3f3)](_0x37800f[_0x377ac1(0x457)]),_0xefeef7=_0x4a801b[_0x377ac1(0x3f3)](_0x463287[_0x377ac1(0x52d)]),_0x20bb6c=_0x4a801b[_0x377ac1(0x3f3)](_0x5bb4e7);if(_0x125586==null)return!0x0;if(_0x125586['length']>0x0){var _0x1d4993;let _0x57265a=(_0x1d4993=_0xefeef7[_0x377ac1(0x3de)](_0x125586[0x0]['unitId']))==null?void 0x0:_0x1d4993[_0x377ac1(0x29e)];if(_0x57265a){let {unitId:_0xb12496,subUnitId:_0x2f5923,drawingId:_0x4c92f0}=_0x125586[0x0],_0x4d92ec=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xb12496,'subUnitId':_0x2f5923,'drawingId':_0x4c92f0},void 0x0),_0x48a557=_0x57265a['getObjectIncludeInGroup'](_0x4d92ec);if(_0x48a557){var _0x30c12b;(_0x30c12b=_0xefeef7[_0x377ac1(0x3de)](_0x125586[0x0][_0x377ac1(0x53b)]))==null||(_0x30c12b=_0x30c12b[_0x377ac1(0x29e)][_0x377ac1(0x47a)]())==null||_0x30c12b[_0x377ac1(0x372)](_0x48a557);}}_0x35ecb1[_0x377ac1(0x416)](_0x125586),_0x20bb6c[_0x377ac1(0x3f7)](!0x1);}return!0x0;}},_0x3ae9dd={'type':_0x5b0763[_0x3bbe12(0x527)]['COMMAND'],'id':_0x3bbe12(0x491),'handler':async(_0x4e577a,_0x1a9586)=>{const _0x4d6f5c=_0x3bbe12;let _0x1d0bcf=(0x0,_0x2e7766['getSheetCommandTarget'])(_0x4e577a[_0x4d6f5c(0x3f3)](_0x5b0763[_0x4d6f5c(0x467)]));if(!_0x1d0bcf)return!0x1;let _0x27df8f=_0x4e577a[_0x4d6f5c(0x3f3)](_0x2e7766['SheetsSelectionsService'])[_0x4d6f5c(0x597)]();if(!_0x27df8f)return!0x1;let _0x30af13=_0x4e577a[_0x4d6f5c(0x3f3)](_0x5b0763[_0x4d6f5c(0x2c3)]),{unitId:_0x340585,subUnitId:_0x265913}=_0x1d0bcf,{value:_0x1b356a,enhanceParams:_0x24c4db}=_0x1a9586,{range:_0x22cf72}=_0x27df8f,_0x961520={'unitId':_0x340585,'subUnitId':_0x265913,'shapeType':_0x1b356a,'range':_0x22cf72,'shapeId':(0x0,_0x5b0763[_0x4d6f5c(0x41f)])()};if(_0x24c4db){let _0x2e5799=(0x0,_0x1c9bad['isConnectorShape'])(_0x1b356a),_0xefda52=_0x1b356a===_0x1c9bad[_0x4d6f5c(0x42d)][_0x4d6f5c(0x239)];_0x2e5799&&(_0x24c4db[_0x4d6f5c(0x414)]||_0x24c4db[_0x4d6f5c(0x43c)])&&(_0x961520[_0x4d6f5c(0x3d1)]={'ln':{'startArrow':_0x24c4db[_0x4d6f5c(0x414)]?{'type':_0x1c9bad['ShapeArrowTypeEnum']['Arrow'],'size':_0x1c9bad['ShapeArrowSizeEnum'][_0x4d6f5c(0x20c)]}:void 0x0,'endArrow':_0x24c4db[_0x4d6f5c(0x43c)]?{'type':_0x1c9bad[_0x4d6f5c(0x41c)][_0x4d6f5c(0x2e0)],'size':_0x1c9bad['ShapeArrowSizeEnum'][_0x4d6f5c(0x572)]}:void 0x0}}),_0xefda52&&(_0x24c4db[_0x4d6f5c(0x54a)]||_0x24c4db[_0x4d6f5c(0x4fa)])&&(_0x961520[_0x4d6f5c(0x3d1)]=(0x0,_0x214c33[_0x4d6f5c(0x34f)])({'fill':{'fillType':_0x1c9bad[_0x4d6f5c(0x49e)]['SolidFill'],'color':_0x4d6f5c(0x44a)},'isHorizontal':!!_0x24c4db['horizontal'],'stroke':{'lineStrokeType':_0x1c9bad[_0x4d6f5c(0x470)][_0x4d6f5c(0x382)],'width':0x1,'color':_0x4d6f5c(0x1df)}}));}let _0x5c4915=_0x30af13[_0x4d6f5c(0x510)](_0x501fe5['InsertShapeCommand']['id'],_0x961520);return setTimeout(()=>{const _0xf04318=_0x4d6f5c;_0x30af13[_0xf04318(0x207)](_0x2c3fc4['id'],[{'unitId':_0x340585,'subUnitId':_0x265913,'drawingId':_0x961520[_0xf04318(0x222)]}]);},0xc8),_0x5c4915;}},_0x2f5d2d=_0x3bbe12(0x446),_0x532b4c=_0x3bbe12(0x54e),_0x519660='sheet.shape.floating-toolbar',_0x271abe=_0x3bbe12(0x3e1),_0x340c83=(0x0,_0x5b0763[_0x3bbe12(0x57a)])(_0x3bbe12(0x1c9)),_0x552d76=_0x3bbe12(0x54f),_0x34606a={'id':_0x3bbe12(0x31c),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x4b1)],'handler':(_0x4e8a33,_0x3f242d)=>{const _0x5ac357=_0x3bbe12;let _0x1ae2f8=_0x4e8a33[_0x5ac357(0x3f3)](_0x18daae[_0x5ac357(0x3f9)]),_0x31bbde=_0x4e8a33[_0x5ac357(0x3f3)](_0x5b0763[_0x5ac357(0x503)]),_0x4319db=_0x4e8a33[_0x5ac357(0x3f3)](_0x5b0763['IUniverInstanceService']),_0x247998=_0x4e8a33['get'](_0x5b0763[_0x5ac357(0x2c3)]);return(0x0,_0x2e7766[_0x5ac357(0x279)])(_0x4319db)?(_0x3f242d==null?void 0x0:_0x3f242d['value'])===_0x5ac357(0x228)?(_0x1ae2f8[_0x5ac357(0x228)](_0x532b4c),!0x0):(_0x1ae2f8[_0x5ac357(0x45a)]({'id':_0x532b4c,'header':{'title':_0x31bbde['t'](_0x5ac357(0x1fb))},'children':{'label':_0x532b4c},'onClose':()=>{const _0x3c61a3=_0x5ac357;_0x247998[_0x3c61a3(0x510)](_0x37800f[_0x3c61a3(0x211)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x3195a4={'type':_0x5b0763['CommandType']['OPERATION'],'id':_0x3bbe12(0x595),'handler'(){return!0x0;}};function _0x373a8b(_0x14ea47){const _0x1372e9=_0x3bbe12;let _0x4d5ad7=_0x14ea47[_0x1372e9(0x3f3)](_0x37800f[_0x1372e9(0x457)])[_0x1372e9(0x2ac)](),_0x196e50=_0x4d5ad7[_0x1372e9(0x2bb)]===0x1?_0x4d5ad7[0x0]:null;if(!_0x196e50||_0x196e50[_0x1372e9(0x1d3)]!==_0x5b0763[_0x1372e9(0x2f8)][_0x1372e9(0x462)])return null;let _0x450323=_0x14ea47[_0x1372e9(0x3f3)](_0x501fe5[_0x1372e9(0x235)]),_0x3ec36d=_0x450323['getShapeTypeById'](_0x196e50['unitId'],_0x196e50[_0x1372e9(0x58c)],_0x196e50[_0x1372e9(0x1af)]),_0x249ce1=_0x450323['getShapeDataById'](_0x196e50[_0x1372e9(0x53b)],_0x196e50[_0x1372e9(0x58c)],_0x196e50['drawingId']);return _0x3ec36d===void 0x0||!_0x249ce1?null:{'drawing':_0x196e50,'shapeData':_0x249ce1,'shapeType':_0x3ec36d};}let _0x9e5b59={'id':_0x3bbe12(0x264),'type':_0x5b0763[_0x3bbe12(0x527)]['OPERATION'],'handler':(_0x34865b,_0x35e875)=>{const _0x7b982b=_0x3bbe12;let _0x5ef6c5=_0x373a8b(_0x34865b),_0x408edc=(0x0,_0x214c33[_0x7b982b(0x587)])((_0x35e875==null?void 0x0:_0x35e875[_0x7b982b(0x1c4)])??(_0x35e875==null?void 0x0:_0x35e875[_0x7b982b(0x43f)])??'');if(!_0x5ef6c5||!_0x408edc||_0x408edc[_0x7b982b(0x56a)]!==(0x0,_0x214c33[_0x7b982b(0x2e6)])(_0x5ef6c5[_0x7b982b(0x3d1)]))return!0x1;let _0xa3a61d=(0x0,_0x214c33[_0x7b982b(0x589)])(_0x5ef6c5['shapeData'],_0x408edc);if(!_0xa3a61d)return!0x1;let {drawing:_0x579101}=_0x5ef6c5;return _0x34865b['get'](_0x5b0763[_0x7b982b(0x2c3)])[_0x7b982b(0x207)](_0x5163ea['id'],{'unitId':_0x579101[_0x7b982b(0x53b)],'subUnitId':_0x579101[_0x7b982b(0x58c)],'shapeId':_0x579101[_0x7b982b(0x1af)],'shapeData':_0xa3a61d,'oldShapeJSON':{'oldShapeData':_0x5ef6c5[_0x7b982b(0x3d1)]}});}},_0x32de08={'id':_0x3bbe12(0x409),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x1d1)],'handler':(_0x4c179c,_0x176392)=>{const _0x36ea51=_0x3bbe12;let _0x54f577=_0x373a8b(_0x4c179c),_0x40d6b5=(_0x176392==null?void 0x0:_0x176392['shapeType'])??(_0x176392==null?void 0x0:_0x176392[_0x36ea51(0x43f)]);if(!_0x54f577||!_0x40d6b5||(0x0,_0x1c9bad[_0x36ea51(0x48b)])(_0x54f577[_0x36ea51(0x456)])||(0x0,_0x1c9bad['isConnectorShape'])(_0x40d6b5))return!0x1;let _0x3c9164=(0x0,_0x214c33['cloneShapeDataForType'])(_0x54f577[_0x36ea51(0x3d1)],_0x40d6b5);if(!_0x3c9164)return!0x1;let {drawing:_0x598ff4}=_0x54f577;return _0x4c179c[_0x36ea51(0x3f3)](_0x5b0763[_0x36ea51(0x2c3)])[_0x36ea51(0x207)](_0x5163ea['id'],{'unitId':_0x598ff4[_0x36ea51(0x53b)],'subUnitId':_0x598ff4[_0x36ea51(0x58c)],'shapeId':_0x598ff4[_0x36ea51(0x1af)],'shapeType':_0x40d6b5,'shapeData':_0x3c9164,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x54f577[_0x36ea51(0x456)],'oldShapeData':_0x54f577['shapeData']}});}},_0x3a0622=class extends _0x5b0763['Disposable']{constructor(_0xf24344,_0x2c5269){const _0x43e199=_0x3bbe12;super(),this[_0x43e199(0x364)]=_0xf24344,this[_0x43e199(0x4fb)]=_0x2c5269,this[_0x43e199(0x1ac)](),this[_0x43e199(0x364)][_0x43e199(0x4de)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x43e199(0x364)]['setCanUseShapeClip'](!0x1)});}[_0x3bbe12(0x1ac)](){const _0x1c5e57=_0x3bbe12;let _0x59a239=this[_0x1c5e57(0x364)],_0x506b77=new Map(),_0x65fefc=_0x59a239[_0x1c5e57(0x21d)]((_0x3009d7,_0x1ee9fd,_0x5e4861,_0x2c3ad2,_0x53c466)=>{const _0x3d7ccb=_0x1c5e57;let _0x2e1493=_0x1ee9fd;if(_0x2e1493===_0x1c9bad['ShapeTypeEnum'][_0x3d7ccb(0x2fb)]||_0x1ee9fd===_0x3d7ccb(0x4a8))return!0x1;try{let _0x228c67=_0x506b77[_0x3d7ccb(0x3f3)](_0x1ee9fd);return _0x228c67||(_0x228c67=new _0x1c9bad[(_0x3d7ccb(0x38a))](_0x2e1493,_0x3d7ccb(0x353)+_0x1ee9fd),_0x506b77[_0x3d7ccb(0x336)](_0x1ee9fd,_0x228c67)),_0x228c67[_0x3d7ccb(0x367)](),_0x53c466&&Object[_0x3d7ccb(0x3ae)](_0x53c466)[_0x3d7ccb(0x2bb)]>0x0&&_0x228c67['setShapeData']({'adjustValues':_0x53c466},!0x0),_0x228c67[_0x3d7ccb(0x2ee)]({'width':_0x5e4861,'height':_0x2c3ad2}),_0x228c67[_0x3d7ccb(0x53a)](_0x3009d7,{'left':0x0,'top':0x0,'width':_0x5e4861,'height':_0x2c3ad2});}catch{return!0x1;}});this[_0x1c5e57(0x368)](_0x65fefc),this[_0x1c5e57(0x368)]({'dispose':()=>_0x506b77[_0x1c5e57(0x26e)]()});}[_0x3bbe12(0x58d)](_0x3e4741,_0x115ed7,_0x4c7a70,_0x12a9ac,_0x2d6f1b){const _0x2b85d9=_0x3bbe12;let _0x332bf4=this['_drawingManagerService'][_0x2b85d9(0x2cf)](_0x3e4741,_0x115ed7);if(!_0x332bf4[_0x4c7a70])return;let _0x5c64a9={..._0x332bf4[_0x4c7a70],'prstGeom':_0x12a9ac,'adjustValues':_0x2d6f1b};this['_drawingManagerService']['featurePluginUpdateNotification']([_0x5c64a9]);}};_0x3a0622=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3ec2cc[_0x3bbe12(0x582)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x37800f[_0x3bbe12(0x457)]))],_0x3a0622);let _0x59f393=_0x3bbe12(0x2d8),_0x361d67=_0x3bbe12(0x212);function _0x2b14dd({onShapeClick:_0x51f18a,excludeGroups:_0xf95964}){const _0x5d71fa=_0x3bbe12;return(0x0,_0x521d83[_0x5d71fa(0x53e)])(_0x3c7e1c[_0x5d71fa(0x2d5)],{'excludeGroups':_0xf95964,'onShapeClick':_0x51f18a,'scrollContainer':'parent'});}function _0x21712f(){const _0x1efe64=_0x3bbe12;let _0x2b1b14=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x1efe64(0x457)]),_0x4b9c5d=(0x0,_0x18daae[_0x1efe64(0x38e)])(_0x3a0622);return(0x0,_0x521d83[_0x1efe64(0x53e)])(_0x3c7e1c[_0x1efe64(0x344)],{'buttonLabel':_0x1efe64(0x1b5),'excludeGroups':[_0x3c7e1c[_0x1efe64(0x2bd)][_0x1efe64(0x463)]],'onShapeClick':_0x2a912a=>{const _0x4aa99e=_0x1efe64;let _0x50a6d9=_0x2b1b14[_0x4aa99e(0x2ac)]()[_0x4aa99e(0x3e9)](_0x5239fc=>_0x5239fc[_0x4aa99e(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x4aa99e(0x3ed)]);if(!_0x50a6d9)return;let {unitId:_0x38f706,subUnitId:_0x1164e2,drawingId:_0x21f8c4}=_0x50a6d9;_0x4b9c5d[_0x4aa99e(0x58d)](_0x38f706,_0x1164e2,_0x21f8c4,_0x2a912a[_0x4aa99e(0x56a)]);}});}function _0x159d71(){const _0x3429da=_0x3bbe12;let _0x5ab3b3=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x3429da(0x457)]),_0x32e729=(0x0,_0x18daae['useDependency'])(_0x3a0622);return(0x0,_0x521d83['jsx'])(_0x3c7e1c[_0x3429da(0x344)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x3c7e1c[_0x3429da(0x2bd)][_0x3429da(0x463)]],'DropdownComponent':_0x2ba4b8[_0x3429da(0x420)],'onShapeClick':_0x596c3f=>{const _0xbb4b97=_0x3429da;let _0x290f25=_0x5ab3b3['getFocusDrawings']()[_0xbb4b97(0x3e9)](_0x35c0ca=>_0x35c0ca[_0xbb4b97(0x1d3)]===_0x5b0763[_0xbb4b97(0x2f8)]['DRAWING_IMAGE']);if(!_0x290f25)return;let {unitId:_0x1df96f,subUnitId:_0x5a9b11,drawingId:_0x16a36d}=_0x290f25;_0x32e729[_0xbb4b97(0x58d)](_0x1df96f,_0x5a9b11,_0x16a36d,_0x596c3f[_0xbb4b97(0x56a)]);}});}function _0x3b5274(){const _0x2bff1b=_0x3bbe12;let _0x38b63f=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x18daae[_0x2bff1b(0x466)]),_0x3bca72=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x37800f[_0x2bff1b(0x457)]),_0x9fa8ee=(0x0,_0x18daae[_0x2bff1b(0x38e)])(_0x5b0763[_0x2bff1b(0x467)]),_0x10ad6e=_0x3bca72[_0x2bff1b(0x2ac)]()[0x0],_0x4eb709=_0x10ad6e?_0x9fa8ee[_0x2bff1b(0x1f4)](_0x10ad6e['unitId']):void 0x0,_0x43a875=_0x4eb709===_0x5b0763[_0x2bff1b(0x48f)]['UNIVER_DOC']?'doc.image-clip.shape-picker.component':_0x4eb709===_0x5b0763[_0x2bff1b(0x48f)][_0x2bff1b(0x2ed)]?_0x361d67:void 0x0,_0x580984=_0x43a875?_0x38b63f[_0x2bff1b(0x3f3)](_0x43a875):void 0x0;return _0x580984?(0x0,_0x521d83[_0x2bff1b(0x53e)])(_0x580984,{}):null;}function _0x29fcf3(){const _0x394e3d=_0x3bbe12;let _0x2b1116=(0x0,_0x18daae[_0x394e3d(0x38e)])(_0x5b0763[_0x394e3d(0x2c3)]);return(0x0,_0x521d83[_0x394e3d(0x53e)])(_0x2b14dd,{'onShapeClick':_0x1d239d=>{const _0x544333=_0x394e3d;_0x2b1116[_0x544333(0x207)](_0x3ae9dd['id'],{'value':_0x1d239d[_0x544333(0x56a)],'enhanceParams':{'endArrow':_0x1d239d[_0x544333(0x43c)],'startArrow':_0x1d239d['startArrow'],'horizontal':_0x1d239d[_0x544333(0x54a)],'vertical':_0x1d239d['vertical']}});}});}function _0x62158b(){return(0x0,_0x521d83['jsx'])(_0x29fcf3,{});}function _0x1a23b8(_0x9eb0c6){const _0x2c430f=_0x3bbe12;let _0xb45782=_0x9eb0c6[_0x2c430f(0x3f3)](_0x5b0763['IUniverInstanceService']);return{'id':_0x3ae9dd['id'],'type':_0x18daae[_0x2c430f(0x447)][_0x2c430f(0x546)],'selections':[{'label':{'name':_0x59f393,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x3ae9dd['id']}}}],'icon':_0x2c430f(0x28b),'tooltip':_0x2c430f(0x4cd),'activated$':(0x0,_0x54c89f[_0x2c430f(0x278)])(_0xb45782,!0x1,()=>new _0x3d6362[(_0x2c430f(0x53f))](_0x3e9ce8=>{const _0x5a8cd8=_0x2c430f;_0x3e9ce8[_0x5a8cd8(0x32b)](!0x1);})),'hidden$':(0x0,_0x18daae[_0x2c430f(0x23a)])(_0x9eb0c6,_0x5b0763[_0x2c430f(0x48f)][_0x2c430f(0x2ed)]),'disabled$':(0x0,_0x54c89f[_0x2c430f(0x4e8)])(_0x9eb0c6)};}function _0x19e34b(_0x3574f7){const _0x26bb7f=_0x3bbe12;let _0x195d30=_0x3574f7['get'](_0x5b0763[_0x26bb7f(0x467)]);return{'id':_0x34606a['id'],'type':_0x18daae[_0x26bb7f(0x447)][_0x26bb7f(0x45e)],'icon':_0x26bb7f(0x46a),'title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x26bb7f(0x217),'activated$':(0x0,_0x54c89f[_0x26bb7f(0x278)])(_0x195d30,!0x1,()=>new _0x3d6362['Observable'](_0x5c4221=>{const _0x2715e7=_0x26bb7f;_0x5c4221[_0x2715e7(0x32b)](!0x1);})),'hidden$':(0x0,_0x18daae[_0x26bb7f(0x23a)])(_0x3574f7,_0x5b0763[_0x26bb7f(0x48f)][_0x26bb7f(0x2ed)]),'disabled$':(0x0,_0x54c89f[_0x26bb7f(0x4e8)])(_0x3574f7)};}let _0x3e8b56=_0x3bbe12(0x1ef),_0x2770c2=_0x3bbe12(0x204);function _0x5532d9(_0x6512b7){const _0x3a9fc9=_0x3bbe12;let _0x5294d9=_0x6512b7[_0x3a9fc9(0x3f3)](_0x37800f[_0x3a9fc9(0x457)])['getFocusDrawings']();return _0x5294d9[_0x3a9fc9(0x2bb)]===0x1&&_0x5294d9[0x0][_0x3a9fc9(0x1d3)]===_0x5b0763[_0x3a9fc9(0x2f8)][_0x3a9fc9(0x462)]?_0x5294d9[0x0]:null;}function _0x374dcd(_0x1845bb){const _0x9a8a10=_0x3bbe12;let _0x2b65fa=_0x1845bb[_0x9a8a10(0x3f3)](_0x37800f[_0x9a8a10(0x457)]);return _0x2b65fa[_0x9a8a10(0x419)][_0x9a8a10(0x525)]((0x0,_0x3d6362[_0x9a8a10(0x55c)])(_0x2b65fa['getFocusDrawings']()),(0x0,_0x3d6362[_0x9a8a10(0x4cb)])(_0x1fda8b=>_0x1fda8b[_0x9a8a10(0x2bb)]!==0x1||_0x1fda8b[0x0][_0x9a8a10(0x1d3)]!==_0x5b0763[_0x9a8a10(0x2f8)][_0x9a8a10(0x462)]));}function _0x50fa0c(_0x8b1234){const _0x38e795=_0x3bbe12;return{'id':_0x3e8b56,'commandId':_0x501fe5[_0x38e795(0x2c5)]['id'],'type':_0x18daae[_0x38e795(0x447)][_0x38e795(0x45e)],'title':_0x38e795(0x229),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x38e795(0x2cb),'hidden$':_0x374dcd(_0x8b1234),'params':()=>{const _0x28b253=_0x38e795;let _0x180c7f=_0x5532d9(_0x8b1234);return _0x180c7f?{'unitId':_0x180c7f[_0x28b253(0x53b)],'subUnitId':_0x180c7f[_0x28b253(0x58c)],'shapeId':_0x180c7f[_0x28b253(0x1af)],'flipH':!0x0}:void 0x0;}};}function _0x13139d(_0x995c5f){const _0x140290=_0x3bbe12;return{'id':_0x2770c2,'commandId':_0x501fe5['ToggleSheetsShapeFlipCommand']['id'],'type':_0x18daae[_0x140290(0x447)][_0x140290(0x45e)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x140290(0x35b),'icon':'FlipVerticalIcon','hidden$':_0x374dcd(_0x995c5f),'params':()=>{const _0x140fd1=_0x140290;let _0x3912a3=_0x5532d9(_0x995c5f);return _0x3912a3?{'unitId':_0x3912a3[_0x140fd1(0x53b)],'subUnitId':_0x3912a3[_0x140fd1(0x58c)],'shapeId':_0x3912a3['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x19261d='sheets-shape-ui.shape-format.quick-style-gallery',_0x525ea0=_0x3bbe12(0x2d3),_0x4676e0=_0x3bbe12(0x537),_0x3ec152='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x3ab685(){const _0x4dca03=_0x3bbe12;let _0x3ebe38=(0x0,_0x18daae[_0x4dca03(0x38e)])(_0x5b0763['ICommandService']),_0x4e4e67=(0x0,_0x18daae['useDependency'])(_0x37800f[_0x4dca03(0x457)]),_0x3bfa6b=(0x0,_0x18daae[_0x4dca03(0x38e)])(_0x501fe5[_0x4dca03(0x235)]),_0x175c3d=()=>{const _0x1af2d7=_0x4dca03;var _0x312c78;let _0x5ee3e1=_0x4e4e67[_0x1af2d7(0x2ac)]();if(_0x5ee3e1[_0x1af2d7(0x2bb)]!==0x1||((_0x312c78=_0x5ee3e1[0x0])==null?void 0x0:_0x312c78[_0x1af2d7(0x1d3)])!==_0x5b0763[_0x1af2d7(0x2f8)]['DRAWING_SHAPE'])return null;let {unitId:_0x210e13,subUnitId:_0x25f88f,drawingId:_0x5963b4}=_0x5ee3e1[0x0],_0x39aaf4=_0x3bfa6b[_0x1af2d7(0x220)](_0x210e13,_0x25f88f,_0x5963b4),_0x296025=_0x3bfa6b[_0x1af2d7(0x437)](_0x210e13,_0x25f88f,_0x5963b4);return _0x39aaf4===void 0x0||!_0x296025?null:{'unitId':_0x210e13,'subUnitId':_0x25f88f,'drawingId':_0x5963b4,'shapeType':_0x39aaf4,'shapeData':_0x296025};},_0x1a330a=(0x0,_0x18daae['useObservable'])(()=>new _0x3d6362[(_0x4dca03(0x53f))](_0x3e3dad=>{const _0x17e1f2=_0x4dca03;let _0x2b30b2=()=>_0x3e3dad['next'](_0x175c3d()),_0x354b40=_0x4e4e67[_0x17e1f2(0x419)][_0x17e1f2(0x4f5)](_0x2b30b2),_0x24a543=_0x3ebe38[_0x17e1f2(0x1f0)](_0xb593a4=>{const _0x43383d=_0x17e1f2;_0xb593a4['id']===_0x501fe5[_0x43383d(0x533)]['id']&&_0x2b30b2();});return _0x2b30b2(),()=>{const _0x218d4f=_0x17e1f2;_0x354b40[_0x218d4f(0x465)](),_0x24a543[_0x218d4f(0x4a4)]();};}),_0x175c3d(),!0x1,[_0x3ebe38,_0x4e4e67,_0x3bfa6b]);return{'selection':_0x1a330a,'updateShapeData':_0x353cf3=>{const _0x4fa778=_0x4dca03;_0x1a330a&&_0x5b8a5d(_0x3ebe38,_0x1a330a[_0x4fa778(0x53b)],_0x1a330a['subUnitId'],_0x1a330a[_0x4fa778(0x1af)],{'oldShapeData':_0x1a330a['shapeData']},_0x353cf3);}};}function _0x6b21a7(){const _0x29fd1a=_0x3bbe12;let {selection:_0x112eda,updateShapeData:_0x258727}=_0x3ab685();return _0x112eda?(0x0,_0x521d83[_0x29fd1a(0x53e)])(_0x3c7e1c['ShapeStyleRibbonControl'],{'shapeData':_0x112eda[_0x29fd1a(0x3d1)],'shapeType':_0x112eda[_0x29fd1a(0x456)],'onUpdateShapeData':_0x258727}):null;}function _0x32c2bc(){const _0xc818bc=_0x3bbe12;let _0x2bb645=(0x0,_0x18daae[_0xc818bc(0x38e)])(_0x5b0763[_0xc818bc(0x2c3)]),_0x27f21f=(0x0,_0x18daae[_0xc818bc(0x38e)])(_0x5b0763[_0xc818bc(0x503)]),{selection:_0x54a535}=_0x3ab685();return _0x54a535?(0x0,_0x521d83[_0xc818bc(0x53e)])(_0x3c7e1c[_0xc818bc(0x29a)],{'type':(0x0,_0x214c33['getShapeQuickStyleType'])(_0x54a535[_0xc818bc(0x3d1)]),'ariaLabel':_0x27f21f['t'](_0xc818bc(0x48c)),'activePresetId':(0x0,_0x214c33[_0xc818bc(0x288)])(_0x54a535[_0xc818bc(0x3d1)]),'onSelect':_0x527ccf=>_0x2bb645[_0xc818bc(0x207)](_0x9e5b59['id'],{'presetId':_0x527ccf})}):null;}function _0x40a4cc(){const _0x115286=_0x3bbe12;let {selection:_0x159000,updateShapeData:_0x5d2c4d}=_0x3ab685();return _0x159000?(0x0,_0x521d83['jsx'])(_0x3c7e1c['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x115286(0x438),'shapeData':_0x159000['shapeData'],'onUpdateShapeData':_0x5d2c4d}):null;}function _0x4b63e9(){const _0x5a2dfa=_0x3bbe12;var _0x33e862;let {selection:_0x12ee38,updateShapeData:_0xa41685}=_0x3ab685(),_0x161c75=(0x0,_0x3c7e1c[_0x5a2dfa(0x4ce)])({'hostType':_0x5b0763[_0x5a2dfa(0x48f)][_0x5a2dfa(0x2ed)],'unitId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x53b)])??'','subUnitId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x58c)])??'','shapeId':(_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x1af)])??'','shapeData':_0x12ee38==null?void 0x0:_0x12ee38[_0x5a2dfa(0x3d1)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x5a2dfa(0x3b4),'onUpdateBinding':_0x272e48=>_0xa41685({'formulaBinding':_0x272e48})}),_0x52d6a7=((_0x33e862=_0x161c75['extensionGroups'])==null?void 0x0:_0x33e862[_0x5a2dfa(0x328)](_0x35fa0c=>_0x35fa0c['actions'])[_0x5a2dfa(0x323)](_0x17eb36=>_0x17eb36[_0x5a2dfa(0x210)]!==!0x1))??[];return _0x12ee38!=null&&_0x12ee38[_0x5a2dfa(0x3d1)][_0x5a2dfa(0x3c5)]?(0x0,_0x521d83[_0x5a2dfa(0x53e)])(_0x3c7e1c[_0x5a2dfa(0x35d)],{'actions':_0x52d6a7,'panel':_0x161c75[_0x5a2dfa(0x560)]}):null;}let _0xd8e764=_0x3bbe12(0x486),_0x57bd49=_0x3bbe12(0x581),_0x5a60b0='sheets-shape-ui.ribbon.shape-format.formula-control',_0x19c87c=_0x3bbe12(0x309),_0x414811='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0xd9c964=_0x3bbe12(0x1c2),_0x480496=_0x3bbe12(0x346);function _0x2be0e7(_0x3d6887){const _0x56be98=_0x3bbe12;let _0x346014=_0x3d6887[_0x56be98(0x3f3)](_0x5b0763[_0x56be98(0x2c3)]),_0x14e2d9=_0x3d6887[_0x56be98(0x3f3)](_0x37800f[_0x56be98(0x457)]),_0x41b87a=_0x3d6887[_0x56be98(0x3f3)](_0x501fe5[_0x56be98(0x235)]);return new _0x3d6362['Observable'](_0x584838=>{const _0x688f17=_0x56be98;let _0x55ee54=()=>{const _0x3837b8=_0x4701;let _0x3f74c8=_0x1e3874(_0x3d6887),_0x522f40=_0x3f74c8?_0x41b87a[_0x3837b8(0x437)](_0x3f74c8['unitId'],_0x3f74c8['subUnitId'],_0x3f74c8[_0x3837b8(0x1af)]):null;_0x584838[_0x3837b8(0x32b)](_0x522f40?(0x0,_0x214c33['resolveActiveShapeQuickStylePresetId'])(_0x522f40)??'':'');},_0x38692a=_0x14e2d9['focus$'][_0x688f17(0x4f5)](_0x55ee54),_0x11185f=_0x346014['onCommandExecuted'](_0x17098a=>{_0x17098a['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']&&_0x55ee54();});return _0x55ee54(),()=>{const _0x54bb11=_0x688f17;_0x38692a[_0x54bb11(0x465)](),_0x11185f[_0x54bb11(0x4a4)]();};});}function _0x1e3874(_0x1e129a){const _0x494758=_0x3bbe12;var _0x213ae1;let _0x4b3287=_0x1e129a[_0x494758(0x3f3)](_0x37800f[_0x494758(0x457)])['getFocusDrawings']();return _0x4b3287[_0x494758(0x2bb)]===0x1&&((_0x213ae1=_0x4b3287[0x0])==null?void 0x0:_0x213ae1[_0x494758(0x1d3)])===_0x5b0763[_0x494758(0x2f8)][_0x494758(0x462)]?_0x4b3287[0x0]:null;}function _0x51d084(_0x369410,_0x12da98=!0x1){const _0x30e4b3=_0x3bbe12;let _0x448640=_0x369410[_0x30e4b3(0x3f3)](_0x5b0763['ICommandService']),_0x182ae5=_0x369410[_0x30e4b3(0x3f3)](_0x37800f[_0x30e4b3(0x457)]),_0x5e8215=_0x369410[_0x30e4b3(0x3f3)](_0x501fe5[_0x30e4b3(0x235)]);return new _0x3d6362[(_0x30e4b3(0x53f))](_0x1c9084=>{const _0x3af152=_0x30e4b3;let _0x24af4f=()=>{const _0x4ff69a=_0x4701;let _0x12ef9c=_0x1e3874(_0x369410);if(!_0x12ef9c){_0x1c9084[_0x4ff69a(0x32b)](!0x0);return;}let _0x2c0a3e=_0x5e8215[_0x4ff69a(0x437)](_0x12ef9c['unitId'],_0x12ef9c['subUnitId'],_0x12ef9c['drawingId']);_0x1c9084[_0x4ff69a(0x32b)](!_0x2c0a3e||_0x12da98&&_0x2c0a3e['formulaBinding']==null);},_0x24d8d3=_0x182ae5[_0x3af152(0x419)]['subscribe'](_0x24af4f),_0xf7bdbf=_0x448640[_0x3af152(0x1f0)](_0x3605a4=>{_0x3605a4['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']&&_0x24af4f();});return _0x24af4f(),()=>{const _0x58d4d9=_0x3af152;_0x24d8d3[_0x58d4d9(0x465)](),_0xf7bdbf[_0x58d4d9(0x4a4)]();};});}function _0x562c23(_0x26fefa){const _0x56de90=_0x3bbe12;let _0x4dc0bd=_0x26fefa[_0x56de90(0x3f3)](_0x37800f[_0x56de90(0x457)]),_0x5d3b7b=_0x26fefa['get'](_0x501fe5[_0x56de90(0x235)]);return _0x4dc0bd[_0x56de90(0x419)]['pipe']((0x0,_0x3d6362[_0x56de90(0x55c)])(_0x4dc0bd[_0x56de90(0x2ac)]()),(0x0,_0x3d6362[_0x56de90(0x4cb)])(()=>{const _0x1a5b55=_0x56de90;let _0x1b2c37=_0x1e3874(_0x26fefa),_0x2725e6=_0x1b2c37?_0x5d3b7b[_0x1a5b55(0x220)](_0x1b2c37[_0x1a5b55(0x53b)],_0x1b2c37[_0x1a5b55(0x58c)],_0x1b2c37[_0x1a5b55(0x1af)]):void 0x0;return _0x2725e6===void 0x0||(0x0,_0x1c9bad['isConnectorShape'])(_0x2725e6);}));}function _0x24d5c9(_0xa88f43){const _0x2b226c=_0x3bbe12;return{'id':_0x9e5b59['id'],'type':_0x18daae[_0x2b226c(0x447)]['SELECTOR'],'icon':_0x2b226c(0x2c9),'title':_0x2b226c(0x421),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x19261d,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x2be0e7(_0xa88f43),'hidden$':_0x51d084(_0xa88f43)};}function _0x4db52a(_0x586511){const _0xb5013c=_0x3bbe12;return{'id':_0x32de08['id'],'type':_0x18daae[_0xb5013c(0x447)][_0xb5013c(0x546)],'icon':_0xb5013c(0x28b),'title':_0xb5013c(0x4e9),'tooltip':_0xb5013c(0x4e9),'slot':!0x0,'selections':[{'label':{'name':_0x3c7e1c['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x562c23(_0x586511)};}function _0x402f38(_0x27f701,_0x324972,_0x3f030d=!0x1){const _0x4f333f=_0x3bbe12;return _0x3d1a38=>({'id':_0x27f701,'type':_0x18daae[_0x4f333f(0x447)][_0x4f333f(0x45e)],'label':{'name':_0x324972,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x51d084(_0x3d1a38,_0x3f030d)});}let _0x1f39d3=_0x402f38(_0xd8e764,_0x525ea0),_0x4e458f=_0x402f38(_0x57bd49,_0x4676e0),_0x1dc21e=_0x402f38(_0x5a60b0,_0x3ec152,!0x0);function _0x467067(_0x2dafbd,_0x25f6c7,_0x585c2b,_0x4855ee){const _0x716a23=_0x3bbe12;return _0x55f57a=>({'id':_0x2dafbd,'commandId':_0x47629f['SetDrawingArrangeCommand']['id'],'type':_0x18daae['MenuItemType'][_0x716a23(0x45e)],'icon':_0x585c2b,'title':_0x4855ee,'tooltip':_0x4855ee,'hidden$':_0x51d084(_0x55f57a),'params':()=>{const _0x1e4677=_0x716a23;let _0x2e0ca4=_0x1e3874(_0x55f57a);return _0x2e0ca4?{'unitId':_0x2e0ca4['unitId'],'subUnitId':_0x2e0ca4[_0x1e4677(0x58c)],'drawingIds':[_0x2e0ca4['drawingId']],'arrangeType':_0x25f6c7}:void 0x0;}});}let _0x223ca0=_0x467067(_0x19c87c,_0x5b0763[_0x3bbe12(0x2fa)]['forward'],_0x3bbe12(0x2a5),'shape-editor-ui.arrange.forward'),_0xbf94b3=_0x467067(_0x414811,_0x5b0763[_0x3bbe12(0x2fa)][_0x3bbe12(0x2f0)],_0x3bbe12(0x3e8),_0x3bbe12(0x3bb)),_0x48ea20=_0x467067(_0xd9c964,_0x5b0763['ArrangeTypeEnum'][_0x3bbe12(0x1e6)],_0x3bbe12(0x1fa),'shape-editor-ui.arrange.front'),_0x47f931=_0x467067(_0x480496,_0x5b0763[_0x3bbe12(0x2fa)][_0x3bbe12(0x357)],_0x3bbe12(0x2d4),'shape-editor-ui.arrange.back');function _0x42d232(_0x152f47){const _0x2ef6b8=_0x3bbe12;return{'id':_0x3195a4['id'],'type':_0x18daae[_0x2ef6b8(0x447)][_0x2ef6b8(0x45e)],'icon':_0x2ef6b8(0x362),'title':_0x2ef6b8(0x3dd),'tooltip':_0x2ef6b8(0x3dd),'hidden$':_0x51d084(_0x152f47),'params':()=>{const _0xcd8f3=_0x2ef6b8;let _0x79d2c5=_0x1e3874(_0x152f47);return _0x79d2c5?{'unitId':_0x79d2c5['unitId'],'subUnitId':_0x79d2c5['subUnitId'],'drawingId':_0x79d2c5[_0xcd8f3(0x1af)]}:void 0x0;}};}let _0x21dd32={[_0x18daae[_0x3bbe12(0x550)]['RIBBON']]:{[_0x271abe]:{'order':0x64,'title':'sheets-shape-ui.formatShape','contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x9e5b59['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x24d5c9},[_0x32de08['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4db52a}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xd8e764]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x1f39d3}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x57bd49]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4e458f}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3e8b56]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x50fa0c},[_0x2770c2]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x13139d},[_0x19c87c]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x223ca0},[_0x414811]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xbf94b3},[_0xd9c964]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x48ea20},[_0x480496]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x47f931}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x5a60b0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x1dc21e}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x3195a4['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x42d232},[_0x3c7e1c[_0x3bbe12(0x3b1)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3c7e1c[_0x3bbe12(0x1b7)]}}}}},_0x37ed41={[_0x18daae['RibbonInsertGroup'][_0x3bbe12(0x2ea)]]:{[_0x3ae9dd['id']]:{'order':0x4,'menuItemFactory':_0x1a23b8}}},_0x4710e4={..._0x37ed41,[_0x18daae[_0x3bbe12(0x227)][_0x3bbe12(0x52c)]]:{[_0x34606a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x19e34b}},[_0x18daae[_0x3bbe12(0x4d6)]['DRAWING']]:{[_0x18daae[_0x3bbe12(0x4f8)][_0x3bbe12(0x52c)]]:{[_0x3e8b56]:{'order':0x4,'menuItemFactory':_0x50fa0c},[_0x2770c2]:{'order':0x5,'menuItemFactory':_0x13139d}}}};var _0x55669f=_0x3bbe12(0x39a),_0x41af0d='1.0.0';let _0x6dca8e={'id':_0x3bbe12(0x4ca),'type':_0x5b0763[_0x3bbe12(0x527)][_0x3bbe12(0x1d1)],'handler'(_0x101bb2,_0x4a7d6c){const _0x15d5fa=_0x3bbe12;return _0x4a7d6c?(_0x101bb2['get'](_0x3c7e1c[_0x15d5fa(0x48a)])[_0x15d5fa(0x45a)](_0x4a7d6c['mode'],{'hostType':_0x5b0763[_0x15d5fa(0x48f)]['UNIVER_SHEET'],'shapeId':_0x4a7d6c[_0x15d5fa(0x1af)],'subUnitId':_0x4a7d6c[_0x15d5fa(0x58c)],'unitId':_0x4a7d6c[_0x15d5fa(0x53b)]}),!0x0):!0x1;}},_0x22e212=_0x3bbe12(0x564),_0x5998c1={},_0x2a5e3f=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x945bb4,_0x5a2a66,_0x489b26,_0x14f184,_0x20af58){const _0x5d7595=_0x3bbe12;super(),this[_0x5d7595(0x4a9)]=_0x945bb4,this[_0x5d7595(0x4fb)]=_0x5a2a66,this['_renderManagerService']=_0x489b26,this[_0x5d7595(0x2cc)]=_0x14f184,this[_0x5d7595(0x576)]=_0x20af58,_0x19095(this,'_activeImageId',null),_0x19095(this,_0x5d7595(0x439),null),_0x19095(this,_0x5d7595(0x569),null),_0x19095(this,_0x5d7595(0x3b9),void 0x0),_0x19095(this,_0x5d7595(0x484),[]),_0x19095(this,_0x5d7595(0x1e1),0x0),_0x19095(this,_0x5d7595(0x2a8),0x0),_0x19095(this,_0x5d7595(0x23e),0x0),_0x19095(this,_0x5d7595(0x244),0x0),_0x19095(this,'_isStartAdjusting',!0x1),_0x19095(this,'_activeAdjustInfo',void 0x0),_0x19095(this,_0x5d7595(0x418),void 0x0),_0x19095(this,'_adjHandlerPointerMove',void 0x0),_0x19095(this,_0x5d7595(0x3bd),void 0x0),_0x19095(this,_0x5d7595(0x433),!0x1),this[_0x5d7595(0x545)](),this[_0x5d7595(0x22d)]();}[_0x3bbe12(0x3ee)](){this['_clearControls']();}['refreshAdjustControls'](){const _0x18af41=_0x3bbe12;this[_0x18af41(0x4e4)](),this[_0x18af41(0x42a)](!0x0);}[_0x3bbe12(0x413)](_0x13cd57,_0x4697a5,_0x186b81,_0x3f7aaa){const _0x2c7c66=_0x3bbe12;let _0x3bb7a8=_0x13cd57;if(_0x3bb7a8!==_0x1c9bad['ShapeTypeEnum'][_0x2c7c66(0x2fb)]&&_0x13cd57!==_0x2c7c66(0x4a8))try{let _0x3b63c7=new _0x1c9bad[(_0x2c7c66(0x38a))](_0x3bb7a8,_0x2c7c66(0x2ec)+_0x13cd57);return _0x3f7aaa&&_0x3b63c7[_0x2c7c66(0x1f6)]({'adjustValues':_0x3f7aaa},!0x0),_0x3b63c7[_0x2c7c66(0x2ee)]({'width':_0x4697a5,'height':_0x186b81}),_0x3b63c7;}catch{return;}}[_0x3bbe12(0x426)](_0x40aedc,_0x53c0f2,_0x33ab35){const _0x337ddd=_0x3bbe12;let _0x1339e1={'unitId':_0x40aedc,'subUnitId':_0x53c0f2,'drawingId':_0x33ab35},_0x2c304a=this[_0x337ddd(0x4fb)][_0x337ddd(0x1d0)](_0x1339e1);if(_0x2c304a&&_0x2c304a[_0x337ddd(0x1d3)]===_0x5b0763[_0x337ddd(0x2f8)]['DRAWING_IMAGE'])return _0x2c304a;}[_0x3bbe12(0x551)](_0x552e92,_0x4fc949,_0x419e32){const _0x3d5d79=_0x3bbe12;let _0x401ffa=this['_renderManagerService']['getRenderUnitById'](_0x552e92);if(!_0x401ffa)return;let {scene:_0x557dc1}=_0x401ffa,_0xf0070d=(0x0,_0x37800f[_0x3d5d79(0x574)])({'unitId':_0x552e92,'subUnitId':_0x4fc949,'drawingId':_0x419e32}),_0x2ab0d1=_0x557dc1['getObject'](_0xf0070d);if(_0x2ab0d1 instanceof _0x463287[_0x3d5d79(0x47f)]){let _0xdffec=_0x2ab0d1[_0x3d5d79(0x493)];if(_0xdffec)return{'prstGeom':_0xdffec,'adjustValues':_0x2ab0d1[_0x3d5d79(0x36c)]};}}['_createControls'](_0xcbaeb=!0x1){const _0x360a08=_0x3bbe12;if(!this[_0x360a08(0x439)]||!this[_0x360a08(0x569)]||!this[_0x360a08(0x57b)])return;let _0x94dea7=this[_0x360a08(0x3e6)]['getRenderUnitById'](this[_0x360a08(0x439)]);if(!_0x94dea7||!_0x94dea7[_0x360a08(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x360a08(0x1f3)]())return;let {scene:_0x5707b2}=_0x94dea7,_0x15a15a=this['_getImageDrawingInfo'](this[_0x360a08(0x439)],this['_subUnitId'],this[_0x360a08(0x57b)]);if(!_0x15a15a)return;let {transform:_0x34d8a5}=_0x15a15a;if(!_0x34d8a5)return;let {left:_0x30f531,top:_0x3cb955,width:_0x3b40d6,height:_0x44b7a5,flipX:_0x590a8a,flipY:_0x528658,angle:_0x3799b3=0x0}=_0x34d8a5;if(_0x30f531===void 0x0||_0x3cb955===void 0x0)return;let _0x410310=this['_getImagePrstGeom'](this[_0x360a08(0x439)],this[_0x360a08(0x569)],this[_0x360a08(0x57b)]);if(!_0x410310)return;if(_0xcbaeb){let _0x484558=this[_0x360a08(0x413)](_0x410310[_0x360a08(0x493)],_0x3b40d6||0x0,_0x44b7a5||0x0,_0x410310[_0x360a08(0x3cb)]);if(!_0x484558)return;this[_0x360a08(0x3b9)]=_0x484558[_0x360a08(0x1b1)]();}let _0x58822b=this['_activeAdjustPointList'];if(_0x58822b&&_0x58822b[_0x360a08(0x2bb)]!==0x0)for(let _0x3303a1=0x0;_0x3303a1<_0x58822b['length'];_0x3303a1++){let _0x412795=_0x58822b[_0x3303a1],_0x114ecf=_0x412795['x'],_0x28d658=_0x412795['y'];if(_0x590a8a&&(_0x114ecf=(_0x3b40d6||0x0)-_0x114ecf),_0x528658&&(_0x28d658=(_0x44b7a5||0x0)-_0x28d658),_0x3799b3!==0x0){let _0x266db7=(_0x3b40d6||0x0)/0x2,_0x8b578f=(_0x44b7a5||0x0)/0x2,_0x599699=_0x3799b3*Math['PI']/0xb4,_0x2086ca=Math[_0x360a08(0x459)](_0x599699),_0x128386=Math['sin'](_0x599699),_0x2c7470=_0x114ecf-_0x266db7,_0x414284=_0x28d658-_0x8b578f;_0x114ecf=_0x266db7+(_0x2c7470*_0x2086ca-_0x414284*_0x128386),_0x28d658=_0x8b578f+(_0x2c7470*_0x128386+_0x414284*_0x2086ca);}let _0x2eeaf8={'x':_0x114ecf,'y':_0x28d658,'adjName':_0x412795['adjName']};this[_0x360a08(0x4c2)](_0x5707b2,_0x2eeaf8,_0x2eeaf8[_0x360a08(0x234)],_0x30f531,_0x3cb955,this['_unitId'],this[_0x360a08(0x569)]);}}[_0x3bbe12(0x4c2)](_0x10c6ee,_0x4f5841,_0x304165,_0x2cb3f7,_0x192a9f,_0x18d654,_0x3aff34){const _0x59ae01=_0x3bbe12;if(!this['_activeImageId'])return;let _0x260c42=_0x59ae01(0x3a5)+this[_0x59ae01(0x57b)]+'-'+_0x304165,_0x17a432=_0x10c6ee[_0x59ae01(0x53d)](_0x260c42);if(_0x17a432){_0x17a432[_0x59ae01(0x23f)]({'left':_0x4f5841['x']+_0x2cb3f7-_0x1c9bad[_0x59ae01(0x1b9)][_0x59ae01(0x381)],'top':_0x4f5841['y']+_0x192a9f-_0x1c9bad['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x45b84f=new _0x23b942(_0x260c42,{'left':_0x4f5841['x']+_0x2cb3f7-_0x1c9bad['ShapeDefaultConfig'][_0x59ae01(0x381)],'top':_0x4f5841['y']+_0x192a9f-_0x1c9bad[_0x59ae01(0x1b9)][_0x59ae01(0x381)],'adjName':_0x304165,'shapeId':this[_0x59ae01(0x57b)],'unitId':_0x18d654,'subUnitId':_0x3aff34,'width':_0x1c9bad['ShapeDefaultConfig'][_0x59ae01(0x381)]+0x8,'height':_0x1c9bad[_0x59ae01(0x1b9)]['adjHandleSize']+0x8,'zIndex':_0x463287['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x59ae01(0x484)][_0x59ae01(0x36e)](_0x45b84f),this[_0x59ae01(0x28f)](_0x45b84f,_0x10c6ee,_0x304165),_0x10c6ee[_0x59ae01(0x4a1)](_0x45b84f,_0x463287['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x3bbe12(0x4e4)](){const _0x3a5a6c=_0x3bbe12;this[_0x3a5a6c(0x484)][_0x3a5a6c(0x2bb)]!==0x0&&(this['_shapes']['forEach'](_0x2bf137=>_0x2bf137[_0x3a5a6c(0x4a4)]()),this[_0x3a5a6c(0x484)]=[]);}[_0x3bbe12(0x1ff)](_0x5f5f88,_0x555df0){const _0xaac159=_0x3bbe12;var _0xbd8876;let _0x6f8c59={'x':0x0,'y':0x0},_0x4958ee=this[_0xaac159(0x3e6)][_0xaac159(0x3de)](_0x5f5f88);if(!_0x4958ee||!_0x4958ee[_0xaac159(0x512)](_0x54c89f[_0xaac159(0x542)])[_0xaac159(0x27e)](_0x555df0))return _0x6f8c59;let _0x307dfd=_0x4958ee['with'](_0x54c89f[_0xaac159(0x253)]),_0x39e486=_0x307dfd==null?void 0x0:_0x307dfd[_0xaac159(0x335)]();if(!_0x39e486)return _0x6f8c59;let _0x55857c=(_0xbd8876=this['_univerInstanceService'][_0xaac159(0x284)](_0x5f5f88))==null?void 0x0:_0xbd8876['getSheetBySheetId'](_0x555df0);if(!_0x55857c)return _0x6f8c59;let _0x28c1c5=(0x0,_0x54c89f[_0xaac159(0x427)])(_0x39e486[_0xaac159(0x1ea)],_0x39e486[_0xaac159(0x3ba)],_0x4958ee[_0xaac159(0x29e)],_0x55857c);return _0x28c1c5?{'x':_0x28c1c5['viewportScrollX'],'y':_0x28c1c5[_0xaac159(0x443)]}:_0x6f8c59;}[_0x3bbe12(0x4c5)](_0x35f6ff,_0xa22cc8){const _0x48a5eb=_0x3bbe12;var _0x4a4ac5;let _0x1881ac=(_0x4a4ac5=this[_0x48a5eb(0x2cc)]['getUnit'](_0x35f6ff))==null?void 0x0:_0x4a4ac5[_0x48a5eb(0x48d)](_0xa22cc8);return(_0x1881ac==null?void 0x0:_0x1881ac['getZoomRatio']())??0x1;}[_0x3bbe12(0x28f)](_0x49cc71,_0x33d49a,_0x5f8ba6){const _0x39990e=_0x3bbe12;this[_0x39990e(0x368)]((0x0,_0x5b0763['toDisposable'])(_0x49cc71[_0x39990e(0x2f1)]['subscribeEvent']((_0x3136d9,_0x387ce3)=>{const _0x1d38e4=_0x39990e;var _0x15768f,_0x271fb5,_0x5b47e5;let {unitId:_0x2f90e4,subUnitId:_0x1aeaae,drawingId:_0x5338b8}=_0x49cc71[_0x1d38e4(0x333)](),_0x1b9af4=this['_getImageDrawingInfo'](_0x2f90e4,_0x1aeaae,_0x5338b8);if(!(_0x1b9af4!=null&&_0x1b9af4[_0x1d38e4(0x22c)]))return;let {left:_0x1d4e4f,top:_0x7a8684,width:_0x5529d5,height:_0x3a47ef}=_0x1b9af4[_0x1d38e4(0x22c)];this[_0x1d38e4(0x1e1)]=_0x1d4e4f||0x0,this[_0x1d38e4(0x2a8)]=_0x7a8684||0x0,this['_baseWidth']=_0x5529d5||0x0,this[_0x1d38e4(0x244)]=_0x3a47ef||0x0;let _0x1ff926=!!((_0x15768f=_0x1b9af4['transform'])!=null&&_0x15768f['flipX']),_0x5745b4=!!((_0x271fb5=_0x1b9af4[_0x1d38e4(0x22c)])!=null&&_0x271fb5[_0x1d38e4(0x4ad)]),_0x5df8ad=((_0x5b47e5=_0x1b9af4[_0x1d38e4(0x22c)])==null?void 0x0:_0x5b47e5['angle'])||0x0,_0x8cfd30=this[_0x1d38e4(0x551)](_0x2f90e4,_0x1aeaae,_0x5338b8);if(!_0x8cfd30)return;let _0x42ffd0=this['_getOrCreateShapeModel'](_0x8cfd30[_0x1d38e4(0x493)],this['_baseWidth'],this[_0x1d38e4(0x244)],_0x8cfd30[_0x1d38e4(0x3cb)]);if(!_0x42ffd0||(this[_0x1d38e4(0x418)]=_0x42ffd0,this[_0x1d38e4(0x4d8)]=_0x42ffd0[_0x1d38e4(0x4bb)](_0x5f8ba6),!this[_0x1d38e4(0x4d8)]))return;this[_0x1d38e4(0x55a)]=!0x0,_0x33d49a[_0x1d38e4(0x4ee)]();let _0xbf6853=_0x8cfd30[_0x1d38e4(0x493)];this[_0x1d38e4(0x423)]=_0x33d49a['onPointerMove$'][_0x1d38e4(0x373)]((_0x29ec80,_0xab97d2)=>{const _0x2c1da7=_0x1d38e4;if(!this['_isStartAdjusting'])return;let {offsetX:_0x2ba071,offsetY:_0x13ff7f}=_0x29ec80,_0xcee760=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0xcee760)return;_0x33d49a[_0x2c1da7(0x4ee)](),_0x33d49a[_0x2c1da7(0x599)](_0x463287[_0x2c1da7(0x3c8)][_0x2c1da7(0x3c0)]);let _0x284835={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x2c1da7(0x244)]},_0x26acce=this[_0x2c1da7(0x1ff)](_0x2f90e4,_0x1aeaae),_0x46b878=this[_0x2c1da7(0x4c5)](_0x2f90e4,_0x1aeaae),_0xdb1c76=_0x2ba071/_0x46b878+_0x26acce['x']-this['_baseLeft'],_0x18176b=_0x13ff7f/_0x46b878+_0x26acce['y']-this[_0x2c1da7(0x2a8)];if(_0x5df8ad!==0x0){let _0x2031f5=this[_0x2c1da7(0x23e)]/0x2,_0x16490e=this[_0x2c1da7(0x244)]/0x2,_0x4fb5c4=_0x5df8ad*Math['PI']/0xb4,_0x4db738=Math['cos'](_0x4fb5c4),_0x300b5a=Math[_0x2c1da7(0x343)](_0x4fb5c4),_0x132be8=_0xdb1c76-_0x2031f5,_0x1d1da3=_0x18176b-_0x16490e;_0xdb1c76=_0x2031f5+(_0x132be8*_0x4db738+_0x1d1da3*_0x300b5a),_0x18176b=_0x16490e+(-_0x132be8*_0x300b5a+_0x1d1da3*_0x4db738);}_0x1ff926&&(_0xdb1c76=this[_0x2c1da7(0x23e)]-_0xdb1c76),_0x5745b4&&(_0x18176b=this[_0x2c1da7(0x244)]-_0x18176b);let _0x5ed463=this[_0x2c1da7(0x418)][_0x2c1da7(0x405)](_0x284835,{'x':_0xdb1c76,'y':_0x18176b},_0xcee760,_0x1ff926,_0x5745b4);if(Object[_0x2c1da7(0x3ae)](_0x5ed463)[_0x2c1da7(0x2bb)]!==0x0){for(let [_0x19f7b6,_0x3e26c3]of Object['entries'](_0x5ed463))this[_0x2c1da7(0x418)][_0x2c1da7(0x4ae)](_0x19f7b6,_0x3e26c3);this[_0x2c1da7(0x418)]['updateContext']({'width':this[_0x2c1da7(0x23e)],'height':this[_0x2c1da7(0x244)]}),this[_0x2c1da7(0x4bf)](_0x2f90e4,_0x1aeaae,_0x5338b8,_0x5ed463),this[_0x2c1da7(0x3b9)]=this[_0x2c1da7(0x418)][_0x2c1da7(0x1b1)](),this['_createControls'](),_0xab97d2[_0x2c1da7(0x50b)]();}}),this[_0x1d38e4(0x3bd)]=_0x33d49a[_0x1d38e4(0x52f)][_0x1d38e4(0x373)]((_0x57f3be,_0xfd5449)=>{const _0x4baae0=_0x1d38e4;if(this['_adjHandlerPointerMove'][_0x4baae0(0x465)](),this[_0x4baae0(0x3bd)]['unsubscribe'](),_0x33d49a[_0x4baae0(0x4b5)](),this['_activeShapeModel']){let _0x168ce2=this[_0x4baae0(0x418)]['getAdjustNames'](),_0x1b7f8={};for(let _0x10b131 of _0x168ce2){let _0x11e423=this[_0x4baae0(0x418)]['getAdjustValueByName'](_0x10b131);_0x11e423!==void 0x0&&(_0x1b7f8[_0x10b131]=_0x11e423);}this[_0x4baae0(0x576)][_0x4baae0(0x58d)](_0x2f90e4,_0x1aeaae,_0x5338b8,_0xbf6853,_0x1b7f8);}this[_0x4baae0(0x4d8)]=void 0x0,this[_0x4baae0(0x418)]=void 0x0,this[_0x4baae0(0x55a)]=!0x1,_0xfd5449['stopPropagation'](),_0x33d49a[_0x4baae0(0x287)]();}),_0x387ce3[_0x1d38e4(0x50b)]();})));}[_0x3bbe12(0x4bf)](_0x1426a4,_0x47f0d9,_0x4ff7aa,_0x3b6dbf){const _0x3fb971=_0x3bbe12;let _0x10ff42=this[_0x3fb971(0x3e6)][_0x3fb971(0x3de)](_0x1426a4);if(!_0x10ff42)return;let {scene:_0x629d45}=_0x10ff42,_0x398078=(0x0,_0x37800f[_0x3fb971(0x574)])({'unitId':_0x1426a4,'subUnitId':_0x47f0d9,'drawingId':_0x4ff7aa}),_0xa40a3a=_0x629d45[_0x3fb971(0x532)](_0x398078);if(_0xa40a3a instanceof _0x463287[_0x3fb971(0x47f)]){let _0xe2b13e=_0xa40a3a['prstGeomAdjValues']??{};_0xa40a3a[_0x3fb971(0x57e)]({..._0xe2b13e,..._0x3b6dbf}),_0xa40a3a[_0x3fb971(0x1b8)](!0x0);}}[_0x3bbe12(0x22d)](){const _0x5a7de8=_0x3bbe12;let _0x5066d2=this['_univerInstanceService'][_0x5a7de8(0x529)](_0x5b0763['UniverInstanceType']['UNIVER_SHEET']);this[_0x5a7de8(0x368)](_0x5066d2['pipe']((0x0,_0x3d6362[_0x5a7de8(0x515)])(_0x47a6a3=>_0x47a6a3?_0x47a6a3['activeSheet$'][_0x5a7de8(0x525)]((0x0,_0x3d6362[_0x5a7de8(0x515)])(_0x4e5fc7=>{const _0x373210=_0x5a7de8;if(!_0x4e5fc7)return _0x3d6362[_0x373210(0x39e)];let _0x32e1fb=_0x47a6a3[_0x373210(0x292)](),_0x3db5e5=this[_0x373210(0x3e6)][_0x373210(0x3de)](_0x32e1fb),_0x4849e2=_0x3db5e5==null?void 0x0:_0x3db5e5[_0x373210(0x29e)];return _0x4849e2?(0x0,_0x3d6362['of'])(_0x4849e2):_0x3d6362[_0x373210(0x39e)];})):_0x3d6362[_0x5a7de8(0x39e)]))[_0x5a7de8(0x4f5)](_0x3b6975=>{const _0x7debf2=_0x5a7de8;let _0x2535cc=_0x3b6975[_0x7debf2(0x2ad)]();this[_0x7debf2(0x368)](_0x3b6975[_0x7debf2(0x502)][_0x7debf2(0x373)](()=>{const _0x19b852=_0x7debf2;this[_0x19b852(0x433)]&&this[_0x19b852(0x4e4)]();})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x3df)][_0x7debf2(0x4f5)](_0x31eb07=>{const _0x28fee7=_0x7debf2;let {objects:_0x1e6d35}=_0x31eb07;if(this[_0x28fee7(0x42a)](),_0x1e6d35!==null&&_0x1e6d35['size']===0x1){let _0x4ff814=_0x1e6d35[_0x28fee7(0x4db)]()[_0x28fee7(0x32b)]()[_0x28fee7(0x43f)];_0x4ff814 instanceof _0x463287[_0x28fee7(0x47f)]&&_0x4ff814['prstGeom']&&(this['_isImagePointerDown']=!0x0);}})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x267)][_0x7debf2(0x4f5)](()=>{const _0x4d219c=_0x7debf2;this['_isImagePointerDown']&&this[_0x4d219c(0x4e4)]();})),this[_0x7debf2(0x368)](_0x3b6975['onPointerUp$']['subscribeEvent'](()=>{const _0x313a45=_0x7debf2;this[_0x313a45(0x433)]&&(this[_0x313a45(0x433)]=!0x1,this[_0x313a45(0x42a)]());})),this[_0x7debf2(0x368)](_0x2535cc[_0x7debf2(0x236)][_0x7debf2(0x4f5)](()=>{const _0x484f49=_0x7debf2;if(this[_0x484f49(0x439)]&&this[_0x484f49(0x569)]&&this['_activeImageId']){let _0x4ce5f9=this[_0x484f49(0x551)](this[_0x484f49(0x439)],this[_0x484f49(0x569)],this[_0x484f49(0x57b)]);if(_0x4ce5f9){var _0x455c67,_0x20841e;let _0x142699=this[_0x484f49(0x426)](this[_0x484f49(0x439)],this[_0x484f49(0x569)],this[_0x484f49(0x57b)]),_0x5706c0=(_0x142699==null||(_0x455c67=_0x142699['transform'])==null?void 0x0:_0x455c67[_0x484f49(0x3a0)])||0x0,_0x547f19=(_0x142699==null||(_0x20841e=_0x142699[_0x484f49(0x22c)])==null?void 0x0:_0x20841e[_0x484f49(0x330)])||0x0,_0x577328=this[_0x484f49(0x413)](_0x4ce5f9['prstGeom'],_0x5706c0,_0x547f19,_0x4ce5f9['adjustValues']);_0x577328&&(this[_0x484f49(0x3b9)]=_0x577328['getDrawingPoints'](),this['_clearControls'](),this['_createControls'](!0x0));}}}));}));}[_0x3bbe12(0x545)](){const _0x9d12ba=_0x3bbe12;this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)][_0x9d12ba(0x419)][_0x9d12ba(0x4f5)](_0xa1a04b=>{const _0x545c3f=_0x9d12ba;if(_0xa1a04b[_0x545c3f(0x2bb)]===0x1){let _0x4cd3ef=_0xa1a04b[0x0];if(_0x4cd3ef['drawingType']===_0x5b0763['DrawingTypeEnum'][_0x545c3f(0x3ed)]){let {unitId:_0x1b5aa7,subUnitId:_0x30d787,drawingId:_0x483857}=_0x4cd3ef,_0x3c98bc=this['_getImagePrstGeom'](_0x1b5aa7,_0x30d787,_0x483857);if(_0x3c98bc){var _0x65bb55,_0x3b5cd0;this[_0x545c3f(0x57b)]=_0x483857,this[_0x545c3f(0x439)]=_0x1b5aa7,this[_0x545c3f(0x569)]=_0x30d787;let _0x1f9e67=this[_0x545c3f(0x426)](_0x1b5aa7,_0x30d787,_0x483857),_0x2295db=(_0x1f9e67==null||(_0x65bb55=_0x1f9e67[_0x545c3f(0x22c)])==null?void 0x0:_0x65bb55[_0x545c3f(0x3a0)])||0x0,_0x3ca314=(_0x1f9e67==null||(_0x3b5cd0=_0x1f9e67[_0x545c3f(0x22c)])==null?void 0x0:_0x3b5cd0[_0x545c3f(0x330)])||0x0,_0x98ef69=this[_0x545c3f(0x413)](_0x3c98bc['prstGeom'],_0x2295db,_0x3ca314,_0x3c98bc[_0x545c3f(0x3cb)]);_0x98ef69&&(this[_0x545c3f(0x3b9)]=_0x98ef69[_0x545c3f(0x1b1)]()),this[_0x545c3f(0x4e4)](),this[_0x545c3f(0x42a)](!0x0);}else this[_0x545c3f(0x2f6)]();}else this[_0x545c3f(0x2f6)]();}else this[_0x545c3f(0x2f6)]();})),this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)][_0x9d12ba(0x4d4)][_0x9d12ba(0x4f5)](_0x4049ff=>{const _0x17361c=_0x9d12ba;if(_0x4049ff[_0x17361c(0x2bb)]===0x1){let _0x3f3692=_0x4049ff[0x0],_0x3fa961=this['_drawingManagerService']['getDrawingByParam'](_0x3f3692);(_0x3fa961==null?void 0x0:_0x3fa961[_0x17361c(0x1d3)])===_0x5b0763[_0x17361c(0x2f8)]['DRAWING_IMAGE']&&this[_0x17361c(0x57b)]===_0x3f3692[_0x17361c(0x1af)]&&(this[_0x17361c(0x4e4)](),this[_0x17361c(0x42a)](!0x0));}})),this[_0x9d12ba(0x368)](this[_0x9d12ba(0x4fb)]['remove$'][_0x9d12ba(0x4f5)](_0x49cd90=>{const _0x1226e3=_0x9d12ba;for(let _0x1f1aca of _0x49cd90)this[_0x1226e3(0x57b)]===_0x1f1aca[_0x1226e3(0x1af)]&&this[_0x1226e3(0x2f6)]();}));}[_0x3bbe12(0x2f6)](){const _0x166781=_0x3bbe12;this[_0x166781(0x57b)]=null,this[_0x166781(0x439)]=null,this['_subUnitId']=null,this['_activeAdjustPointList']=void 0x0,this['_clearControls']();}};_0x2a5e3f=_0x476b0f([_0x5ec307(0x1,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x463287[_0x3bbe12(0x52d)])),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3a0622))],_0x2a5e3f);function _0xbd9c36({ref:_0x1d27a1,..._0x2a38b2}){const _0x1b003f=_0x3bbe12;let {preserveStrokeWidth:_0xb25258,icon:_0x4f6225,id:_0x54b53a,className:_0x1f00ef,extend:_0x356ddb,..._0x33156e}=_0x2a38b2,_0x13a6fc=(_0x1b003f(0x369)+_0x54b53a+'\x20'+(_0x1f00ef||''))[_0x1b003f(0x4d2)](),_0x1f1540='_'+(0x0,_0x101f75[_0x1b003f(0x401)])(),_0x5e518c=(0x0,_0x101f75[_0x1b003f(0x424)])(null);return(0x0,_0x101f75['useImperativeHandle'])(_0x1d27a1,()=>_0x5e518c['current']),(0x0,_0x101f75[_0x1b003f(0x1b4)])(()=>{const _0x58f2bb=_0x1b003f;if(_0xb25258&&_0x5e518c[_0x58f2bb(0x321)]&&_0x5e518c[_0x58f2bb(0x321)][_0x58f2bb(0x554)]===_0x4f6225[_0x58f2bb(0x56f)])return _0x145086(_0x5e518c[_0x58f2bb(0x321)]);},[_0xb25258,_0x4f6225]),_0x206ae0(_0x4f6225,''+_0x54b53a,{'defIds':_0x4f6225[_0x1b003f(0x1b0)],'idSuffix':_0x1f1540},{'ref':_0x5e518c,'className':_0x13a6fc,..._0x33156e},_0x356ddb);}function _0x206ae0(_0x3bf834,_0x1408f9,_0xfe80a6,_0x218283,_0x3cb295){const _0x378720=_0x3bbe12;return(0x0,_0x101f75[_0x378720(0x45d)])(_0x3bf834['tag'],{'key':_0x1408f9,..._0x12f20a(_0x3bf834,_0xfe80a6,_0x3cb295),..._0x218283},(_0x151be3(_0x3bf834,_0xfe80a6)[_0x378720(0x509)]||[])[_0x378720(0x4cb)]((_0x2387d9,_0x1d55c8)=>_0x206ae0(_0x2387d9,_0x1408f9+'-'+_0x3bf834[_0x378720(0x56f)]+'-'+_0x1d55c8,_0xfe80a6,void 0x0,_0x3cb295)));}function _0x12f20a(_0x29f46a,_0x17cf4c,_0x38eca1){const _0x19760b=_0x3bbe12;let _0x1e2173={..._0x29f46a[_0x19760b(0x4a6)]};_0x38eca1!=null&&_0x38eca1[_0x19760b(0x400)]&&_0x1e2173[_0x19760b(0x23b)]===_0x19760b(0x400)&&(_0x1e2173[_0x19760b(0x23b)]=_0x38eca1[_0x19760b(0x400)]),_0x38eca1!=null&&_0x38eca1[_0x19760b(0x400)]&&_0x1e2173[_0x19760b(0x49a)]===_0x19760b(0x400)&&(_0x1e2173[_0x19760b(0x49a)]=_0x38eca1[_0x19760b(0x400)]),_0x29f46a[_0x19760b(0x56f)]===_0x19760b(0x39d)&&_0x1e2173['id']&&(_0x1e2173['id']+=_0x17cf4c['idSuffix']),Object['entries'](_0x1e2173)[_0x19760b(0x1e7)](([_0xb84bae,_0x2c3c92])=>{const _0x56ff14=_0x19760b;_0xb84bae===_0x56ff14(0x39d)&&typeof _0x2c3c92==_0x56ff14(0x57f)&&(_0x1e2173[_0xb84bae]=_0x2c3c92['replace'](/url\(#(.*)\)/,_0x56ff14(0x257)+_0x17cf4c['idSuffix']+')'));});let {defIds:_0x49563e}=_0x17cf4c;return!_0x49563e||_0x49563e[_0x19760b(0x2bb)]===0x0?_0x1e2173:(_0x29f46a[_0x19760b(0x56f)]===_0x19760b(0x3af)&&_0x1e2173['xlink:href']&&(_0x1e2173[_0x19760b(0x318)]+=_0x17cf4c[_0x19760b(0x349)]),Object['entries'](_0x1e2173)['forEach'](([_0xcdf36d,_0x58db41])=>{const _0x155bb9=_0x19760b;typeof _0x58db41=='string'&&(_0x1e2173[_0xcdf36d]=_0x58db41[_0x155bb9(0x1db)](/url\(#(.*)\)/,_0x155bb9(0x257)+_0x17cf4c[_0x155bb9(0x349)]+')'));}),_0x1e2173);}function _0x151be3(_0x3a68f9,_0x37a3da){const _0x47660f=_0x3bbe12;var _0x3b216a;let {defIds:_0x21bec9}=_0x37a3da;return!_0x21bec9||_0x21bec9[_0x47660f(0x2bb)]===0x0?_0x3a68f9:_0x3a68f9[_0x47660f(0x56f)]==='defs'&&(_0x3b216a=_0x3a68f9[_0x47660f(0x509)])!=null&&_0x3b216a[_0x47660f(0x2bb)]?{..._0x3a68f9,'children':_0x3a68f9[_0x47660f(0x509)][_0x47660f(0x4cb)](_0x5b0a27=>typeof _0x5b0a27[_0x47660f(0x4a6)]['id']==_0x47660f(0x57f)&&_0x21bec9&&_0x21bec9['includes'](_0x5b0a27[_0x47660f(0x4a6)]['id'])?{..._0x5b0a27,'attrs':{..._0x5b0a27[_0x47660f(0x4a6)],'id':_0x5b0a27[_0x47660f(0x4a6)]['id']+_0x37a3da[_0x47660f(0x349)]}}:_0x5b0a27)}:_0x3a68f9;}function _0x145086(_0x160e1a){const _0x48ea6b=_0x3bbe12;let _0x5cafea=_0x160e1a['viewBox'][_0x48ea6b(0x4af)],_0x58a1a2=Math['max'](_0x5cafea[_0x48ea6b(0x3a0)],_0x5cafea[_0x48ea6b(0x330)]);if(!Number[_0x48ea6b(0x1f7)](_0x58a1a2)||_0x58a1a2<=0x0||_0x5cafea[_0x48ea6b(0x3a0)]<=0x0||_0x5cafea['height']<=0x0)return()=>void 0x0;let _0x27aec3=0x10/_0x58a1a2,_0x16dc61=Array[_0x48ea6b(0x37a)](_0x160e1a['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x48ea6b(0x328)](_0x56e873=>{const _0x2ed9a7=_0x48ea6b;let _0x3a324d=getComputedStyle(_0x56e873),_0x32d0dd=Number[_0x2ed9a7(0x2eb)](_0x3a324d[_0x2ed9a7(0x37f)]);return _0x3a324d['stroke']===_0x2ed9a7(0x300)||Number[_0x2ed9a7(0x2eb)](_0x3a324d['strokeOpacity'])===0x0||_0x3a324d['vectorEffect']===_0x2ed9a7(0x2a4)||!Number['isFinite'](_0x32d0dd)||_0x32d0dd<=0x0?[]:[{'element':_0x56e873,'hadStyleAttribute':_0x56e873[_0x2ed9a7(0x363)](_0x2ed9a7(0x29b)),'originalStrokeWidth':_0x32d0dd,'strokeWidth':_0x529f64(_0x56e873['style'],_0x2ed9a7(0x40c))}];})[_0x48ea6b(0x4cb)](_0x510afa=>({'appliedStrokeWidth':null,'element':_0x510afa[_0x48ea6b(0x2d6)],'hadStyleAttribute':_0x510afa[_0x48ea6b(0x28d)],'isReleased':!0x1,'originalStrokeWidth':_0x510afa[_0x48ea6b(0x47c)],'strokeWidth':_0x510afa['strokeWidth']}));if(_0x16dc61[_0x48ea6b(0x2bb)]===0x0)return()=>void 0x0;let _0x1ddff8=(_0x17b1aa,_0x48e44d)=>{const _0x4b1f38=_0x48ea6b;if(_0x5cafea['width']<=0x0||_0x5cafea['height']<=0x0||_0x17b1aa<=0x0||_0x48e44d<=0x0)return;let _0x511e8e=Math[_0x4b1f38(0x4b4)](_0x17b1aa/_0x5cafea[_0x4b1f38(0x3a0)],_0x48e44d/_0x5cafea[_0x4b1f38(0x330)]);!Number['isFinite'](_0x511e8e)||_0x511e8e<=0x0||_0x16dc61[_0x4b1f38(0x1e7)](_0x42387a=>{const _0x400c91=_0x4b1f38;if(_0x42387a[_0x400c91(0x530)])return;if(_0x42387a[_0x400c91(0x263)]!==null&&(_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)][_0x400c91(0x1bd)](_0x400c91(0x40c))!==_0x42387a['appliedStrokeWidth']||_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)]['getPropertyPriority']('stroke-width')!==_0x42387a[_0x400c91(0x37f)][_0x400c91(0x354)])){_0x42387a[_0x400c91(0x263)]=null,_0x42387a[_0x400c91(0x530)]=!0x0;return;}let _0x37dd7f=_0x42387a[_0x400c91(0x47c)]*_0x27aec3/_0x511e8e,_0xc9918a=Number(_0x37dd7f[_0x400c91(0x3a6)](0xc))+'px';_0x42387a[_0x400c91(0x2d6)][_0x400c91(0x29b)][_0x400c91(0x498)](_0x400c91(0x40c),_0xc9918a,_0x42387a[_0x400c91(0x37f)][_0x400c91(0x354)]),_0x42387a[_0x400c91(0x263)]=_0xc9918a;});},_0x387d60=_0x160e1a[_0x48ea6b(0x3a7)]();_0x1ddff8(_0x387d60['width'],_0x387d60[_0x48ea6b(0x330)]);let _0x31b17e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x555f50=>{const _0x1a32a0=_0x48ea6b;if(_0x555f50[_0x1a32a0(0x3ca)](_0x52547b=>_0x52547b[_0x1a32a0(0x43b)]===_0x160e1a)){let _0x2e35b8=_0x160e1a[_0x1a32a0(0x3a7)]();_0x1ddff8(_0x2e35b8[_0x1a32a0(0x3a0)],_0x2e35b8['height']);}});return _0x31b17e==null||_0x31b17e['observe'](_0x160e1a),()=>{const _0x134aea=_0x48ea6b;_0x31b17e==null||_0x31b17e[_0x134aea(0x58e)](),_0x16dc61['forEach'](_0x1c8505=>{const _0x40fc28=_0x134aea;_0x1c8505[_0x40fc28(0x263)]!==null&&(_0x536e7c(_0x1c8505['element'][_0x40fc28(0x29b)],_0x40fc28(0x40c),_0x1c8505[_0x40fc28(0x263)],_0x1c8505[_0x40fc28(0x37f)][_0x40fc28(0x354)],_0x1c8505[_0x40fc28(0x37f)]),!_0x1c8505[_0x40fc28(0x28d)]&&_0x1c8505[_0x40fc28(0x2d6)]['style'][_0x40fc28(0x2bb)]===0x0&&_0x1c8505['element'][_0x40fc28(0x289)](_0x40fc28(0x29b)));});};}function _0x529f64(_0x3ec576,_0x4848ce){const _0xa634c8=_0x3bbe12;return{'priority':_0x3ec576['getPropertyPriority'](_0x4848ce),'value':_0x3ec576[_0xa634c8(0x1bd)](_0x4848ce)};}function _0x536e7c(_0x5ed974,_0x19d29f,_0x2995c9,_0x48dbc3,_0x20aac2){const _0x172641=_0x3bbe12;_0x5ed974['getPropertyValue'](_0x19d29f)===_0x2995c9&&_0x5ed974[_0x172641(0x290)](_0x19d29f)===_0x48dbc3&&(_0x20aac2['value']?_0x5ed974[_0x172641(0x498)](_0x19d29f,_0x20aac2[_0x172641(0x43f)],_0x20aac2[_0x172641(0x354)]):_0x5ed974[_0x172641(0x2a7)](_0x19d29f));}_0xbd9c36['displayName']=_0x3bbe12(0x26d);let _0xd1e8c6={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x425),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x28e),'fillRule':_0x3bbe12(0x4aa),'clipRule':'evenodd'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3d6),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':'path','attrs':{'fill':_0x3bbe12(0x1ab),'d':'M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x390)}}]},_0x5e6af3=(0x0,_0x101f75['forwardRef'])(function(_0xdf9d9f,_0x5c6796){const _0x4077cf=_0x3bbe12;return(0x0,_0x101f75['createElement'])(_0xbd9c36,Object['assign']({},_0xdf9d9f,{'id':_0x4077cf(0x1bf),'ref':_0x5c6796,'icon':_0xd1e8c6}));});_0x5e6af3['displayName']=_0x3bbe12(0x2d4);let _0x4ecacf={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':'none','viewBox':_0x3bbe12(0x307),'width':'1em','height':'1em'},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x370),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x52b),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3a4),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x54d),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':_0x3bbe12(0x4dd),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x2aa),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}}]},_0x291692=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x311b79,_0x27630f){const _0x501f6a=_0x3bbe12;return(0x0,_0x101f75[_0x501f6a(0x45d)])(_0xbd9c36,Object[_0x501f6a(0x46f)]({},_0x311b79,{'id':_0x501f6a(0x31e),'ref':_0x27630f,'icon':_0x4ecacf}));});_0x291692[_0x3bbe12(0x3a8)]=_0x3bbe12(0x2cb);let _0x40f941={'tag':'svg','attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x2a6),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x1d5),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':'M6.2\x208H7.8','strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x304),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x384),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x1a77b3=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x43ba7c,_0x40e17a){const _0x35f7c6=_0x3bbe12;return(0x0,_0x101f75[_0x35f7c6(0x45d)])(_0xbd9c36,Object[_0x35f7c6(0x46f)]({},_0x43ba7c,{'id':'flip-vertical-icon','ref':_0x40e17a,'icon':_0x40f941}));});_0x1a77b3[_0x3bbe12(0x3a8)]=_0x3bbe12(0x3c1);let _0x362a39={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x4fd),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x152cba=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x3a9e9a,_0x4a5e74){const _0x4009d3=_0x3bbe12;return(0x0,_0x101f75[_0x4009d3(0x45d)])(_0xbd9c36,Object['assign']({},_0x3a9e9a,{'id':_0x4009d3(0x544),'ref':_0x4a5e74,'icon':_0x362a39}));});_0x152cba[_0x3bbe12(0x3a8)]=_0x3bbe12(0x3e8);let _0x3da1ef={'tag':'svg','attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':'1em','height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x3bbe12(0x4aa),'clipRule':'evenodd'}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3a1)}}]},_0xe52333=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x5b8b04,_0x4edd6f){const _0x16431e=_0x3bbe12;return(0x0,_0x101f75[_0x16431e(0x45d)])(_0xbd9c36,Object[_0x16431e(0x46f)]({},_0x5b8b04,{'id':_0x16431e(0x3bf),'ref':_0x4edd6f,'icon':_0x3da1ef}));});_0xe52333[_0x3bbe12(0x3a8)]=_0x3bbe12(0x2a5);let _0x10001a={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3bbe12(0x300),'viewBox':_0x3bbe12(0x307),'width':_0x3bbe12(0x215),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x29d),'strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.3}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':'currentColor','d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x31f0cf=(0x0,_0x101f75['forwardRef'])(function(_0x493e37,_0x3930e6){const _0x28b978=_0x3bbe12;return(0x0,_0x101f75[_0x28b978(0x45d)])(_0xbd9c36,Object[_0x28b978(0x46f)]({},_0x493e37,{'id':_0x28b978(0x519),'ref':_0x3930e6,'icon':_0x10001a}));});_0x31f0cf['displayName']=_0x3bbe12(0x46a);let _0x2d1435={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3bbe12(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x3bbe12(0x215),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x3bbe12(0x511),'strokeLinejoin':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3bbe12(0x3e5),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3bbe12(0x2fe),'strokeLinecap':_0x3bbe12(0x511),'strokeWidth':1.2}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3f1),'strokeLinejoin':'round'}},{'tag':_0x3bbe12(0x310),'attrs':{'stroke':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x3f8)}}]},_0x1d6855=(0x0,_0x101f75[_0x3bbe12(0x4bc)])(function(_0x98b594,_0xd8a7df){const _0x13f98d=_0x3bbe12;return(0x0,_0x101f75['createElement'])(_0xbd9c36,Object[_0x13f98d(0x46f)]({},_0x98b594,{'id':'shape-format-setting-icon','ref':_0xd8a7df,'icon':_0x2d1435}));});_0x1d6855[_0x3bbe12(0x3a8)]=_0x3bbe12(0x362);let _0x4e0e40={'tag':_0x3bbe12(0x224),'attrs':{'xmlns':_0x3bbe12(0x4c0),'fill':_0x3bbe12(0x300),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x3bbe12(0x215)},'children':[{'tag':_0x3bbe12(0x310),'attrs':{'fill':'currentColor','d':_0x3bbe12(0x410)}},{'tag':_0x3bbe12(0x310),'attrs':{'fill':_0x3bbe12(0x1ab),'d':_0x3bbe12(0x4b9),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x3bbe12(0x3c2),'fillRule':_0x3bbe12(0x4aa),'clipRule':_0x3bbe12(0x4aa)}}]},_0x542c65=(0x0,_0x101f75['forwardRef'])(function(_0x7fb610,_0x1a6110){const _0x3b94e3=_0x3bbe12;return(0x0,_0x101f75[_0x3b94e3(0x45d)])(_0xbd9c36,Object[_0x3b94e3(0x46f)]({},_0x7fb610,{'id':_0x3b94e3(0x506),'ref':_0x1a6110,'icon':_0x4e0e40}));});_0x542c65[_0x3bbe12(0x3a8)]=_0x3bbe12(0x1fa);function _0x21be35(_0xef31cd){const _0x5e513e=_0x3bbe12;return _0xef31cd[_0x5e513e(0x4d2)]()||void 0x0;}function _0x13d4c7(_0x10113f,_0x51addb,_0x781e38){const _0x3bddb4=_0x3bbe12;var _0x3dfa6c;return((_0x3dfa6c=_0x10113f[_0x3bddb4(0x4fe)])==null?void 0x0:_0x3dfa6c[_0x3bddb4(0x4d2)]())||_0x781e38['t'](_0x3bddb4(0x280)+(0x0,_0x3c7e1c[_0x3bddb4(0x440)])(_0x10113f[_0x3bddb4(0x1d3)]))+'\x20'+(_0x51addb+0x1);}function _0x5d4881({PanelComponent:_0x545447=_0x3ec2cc[_0x3bbe12(0x46d)]}){const _0x16ca58=_0x3bbe12;var _0xb0246e;let _0xdf9771=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x5b0763['LocaleService']),_0x403f18={'title':_0xdf9771['t'](_0x16ca58(0x313)),'empty':_0xdf9771['t'](_0x16ca58(0x274)),'showAll':_0xdf9771['t'](_0x16ca58(0x265)),'hideAll':_0xdf9771['t'](_0x16ca58(0x2c4)),'lockAll':_0xdf9771['t'](_0x16ca58(0x41d)),'unlockAll':_0xdf9771['t'](_0x16ca58(0x36f)),'moveForward':_0xdf9771['t'](_0x16ca58(0x3d9)),'moveBackward':_0xdf9771['t'](_0x16ca58(0x58f)),'close':_0xdf9771['t'](_0x16ca58(0x1f5)),'show':_0xdf9771['t'](_0x16ca58(0x1e4)),'hide':_0xdf9771['t'](_0x16ca58(0x397)),'lock':_0xdf9771['t'](_0x16ca58(0x351)),'unlock':_0xdf9771['t'](_0x16ca58(0x3ac)),'lockHint':_0xdf9771['t'](_0x16ca58(0x3b2)),'unlockHint':_0xdf9771['t'](_0x16ca58(0x1e2)),'name':_0xdf9771['t'](_0x16ca58(0x329)),'nameInput':_0xdf9771['t'](_0x16ca58(0x49f)),'description':_0xdf9771['t'](_0x16ca58(0x461)),'descriptionPlaceholder':_0xdf9771['t'](_0x16ca58(0x295)),'details':_0xdf9771['t'](_0x16ca58(0x4fc)),'noSelection':_0xdf9771['t'](_0x16ca58(0x2fd)),'locate':_0xdf9771['t'](_0x16ca58(0x30a)),'expand':_0xdf9771['t']('drawing-ui.objectListPanel.expand'),'collapse':_0xdf9771['t'](_0x16ca58(0x3d8)),'dragToReorder':_0xdf9771['t'](_0x16ca58(0x56b)),'search':_0xdf9771['t'](_0x16ca58(0x3cc)),'filterAll':_0xdf9771['t'](_0x16ca58(0x1c1)),'filterHidden':_0xdf9771['t'](_0x16ca58(0x45f)),'filterLocked':_0xdf9771['t'](_0x16ca58(0x514)),'sectionCanvas':_0xdf9771['t'](_0x16ca58(0x33e)),'sectionFloating':_0xdf9771['t'](_0x16ca58(0x3c4))},_0x12c865=(0x0,_0x18daae['useDependency'])(_0x5b0763['ICommandService']),_0x37b279=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x5b0763[_0x16ca58(0x467)]),_0x52628a=(0x0,_0x18daae['useDependency'])(_0x47629f[_0x16ca58(0x428)]),_0x34c99e=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x37800f[_0x16ca58(0x457)]),_0x1118c4=(0x0,_0x18daae[_0x16ca58(0x38e)])(_0x463287[_0x16ca58(0x52d)]),[,_0x154f35]=(0x0,_0x101f75[_0x16ca58(0x248)])(_0x4ea69c=>_0x4ea69c+0x1,0x0),_0x5e805e=_0x37b279[_0x16ca58(0x1d2)](_0x5b0763[_0x16ca58(0x48f)][_0x16ca58(0x2ed)]),_0x469340=(_0x5e805e==null?void 0x0:_0x5e805e[_0x16ca58(0x292)]())??'',_0x32e250=(_0x5e805e==null||(_0xb0246e=_0x5e805e[_0x16ca58(0x37e)]())==null?void 0x0:_0xb0246e['getSheetId']())??'',_0x3bb902=(0x0,_0x18daae['useObservable'])(()=>_0x34c99e[_0x16ca58(0x419)],_0x34c99e['getFocusDrawings'](),!0x1,[_0x34c99e]);(0x0,_0x101f75[_0x16ca58(0x272)])(()=>{const _0xf96dce=_0x16ca58;let _0x38bcba=_0x12c865['onCommandExecuted'](()=>_0x154f35());return()=>_0x38bcba[_0xf96dce(0x4a4)]();},[_0x12c865]);let _0x248441=_0x469340&&_0x32e250?_0x52628a[_0x16ca58(0x2cf)](_0x469340,_0x32e250):{},_0x2f3a0c=(_0x469340&&_0x32e250?_0x52628a[_0x16ca58(0x33c)](_0x469340,_0x32e250):[])[_0x16ca58(0x4cb)](_0x3441f6=>_0x248441[_0x3441f6])[_0x16ca58(0x323)](_0x19721b=>!!_0x19721b)[_0x16ca58(0x40e)](),_0x3dd641=_0x2f3a0c[_0x16ca58(0x27a)]((_0x57d4b7,_0x17a669)=>(_0x57d4b7[(0x0,_0x3ec2cc[_0x16ca58(0x276)])(_0x17a669['drawingType'])]+=0x1,_0x57d4b7),{'canvas':0x0,'floating':0x0}),_0x1373d5={'canvas':0x0,'floating':0x0},_0x36831b=_0x2f3a0c['map']((_0x113655,_0x4a5bb5)=>{const _0x4c2cf5=_0x16ca58;let _0x875a74=(0x0,_0x3ec2cc['getObjectListPanelSectionIdForDrawingType'])(_0x113655[_0x4c2cf5(0x1d3)]),_0x388675=_0x875a74===_0x3ec2cc[_0x4c2cf5(0x38d)],_0x1be33f=_0x1373d5[_0x875a74]++;return{'id':_0x113655[_0x4c2cf5(0x1af)],'name':_0x13d4c7(_0x113655,_0x4a5bb5,_0xdf9771),'description':_0x113655['description'],'visible':_0x113655[_0x4c2cf5(0x21f)]!==!0x0,'selectable':_0x113655['selectable']!==!0x1,'sectionId':_0x875a74,'sectionTitle':_0x388675?_0x403f18[_0x4c2cf5(0x29c)]:_0x403f18[_0x4c2cf5(0x209)],'capabilities':_0x388675?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x388675&&_0x1be33f>0x0,'canMoveBackward':!_0x388675&&_0x1be33f<_0x3dd641[_0x4c2cf5(0x4f1)]-0x1,'canReorder':!_0x388675};}),_0x599045=(0x0,_0x101f75[_0x16ca58(0x52a)])(()=>(_0x3bb902??[])['filter'](_0x40ffdf=>_0x40ffdf[_0x16ca58(0x53b)]===_0x469340&&_0x40ffdf[_0x16ca58(0x58c)]===_0x32e250)[_0x16ca58(0x4cb)](_0x39925d=>_0x39925d['drawingId']),[_0x3bb902,_0x32e250,_0x469340]),_0x4a029d=_0x599045[_0x599045[_0x16ca58(0x2bb)]-0x1]??null,_0x50e3a8=_0x443c63=>_0x52628a[_0x16ca58(0x1d0)]({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x443c63})??null,_0x692398=async _0x35c6be=>{const _0x33d8b9=_0x16ca58;_0x469340&&_0x35c6be[_0x33d8b9(0x2bb)]&&await _0x12c865[_0x33d8b9(0x207)](_0x47629f[_0x33d8b9(0x1ed)]['id'],{'unitId':_0x469340,'drawings':_0x35c6be});},_0x578d39=async(_0x47fd80,_0x4bf8e8)=>{_0x50e3a8(_0x47fd80)&&await _0x692398([{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x47fd80,..._0x4bf8e8}]);},_0x1b3b67=(_0x4b040d,_0x36ca37)=>{const _0x26d72e=_0x16ca58;if(!_0x469340||!_0x32e250)return;let _0xa86f10=_0x36ca37?_0x599045[_0x26d72e(0x2c6)](_0x4b040d)?_0x599045[_0x26d72e(0x323)](_0x36cff3=>_0x36cff3!==_0x4b040d):[..._0x599045,_0x4b040d]:[_0x4b040d];_0x12c865[_0x26d72e(0x510)](_0x37800f[_0x26d72e(0x211)]['id'],_0xa86f10['map'](_0x74af50=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x74af50})));let _0x3a5a38=_0xa86f10[_0xa86f10[_0x26d72e(0x2bb)]-0x1];_0x3a5a38?(0x0,_0x3c7e1c['activateDrawingObject'])(_0x1118c4,{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x3a5a38}):(0x0,_0x3c7e1c['clearActiveDrawingObjects'])(_0x1118c4,_0x469340);},_0x4b620a=async(_0x4aeb2f,_0x2c6ee3)=>{const _0x1d342e=_0x16ca58;await _0x692398(_0x4aeb2f[_0x1d342e(0x4cb)](_0x2bced8=>_0x50e3a8(_0x2bced8))['filter'](_0x30a846=>!!_0x30a846)['filter'](_0x287ff9=>_0x287ff9[_0x1d342e(0x21f)]!==!0x0!==_0x2c6ee3)['map'](_0x2fd6cf=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x2fd6cf[_0x1d342e(0x1af)],'hidden':!_0x2c6ee3})));},_0x154c72=async(_0x28d681,_0x4935a6)=>{const _0x43d74c=_0x16ca58;await _0x692398(_0x28d681['map'](_0x14e94c=>_0x50e3a8(_0x14e94c))[_0x43d74c(0x323)](_0x5d81de=>!!_0x5d81de)[_0x43d74c(0x323)](_0x176519=>_0x176519[_0x43d74c(0x517)]!==!0x1!==_0x4935a6)[_0x43d74c(0x4cb)](_0x1c25c8=>({'unitId':_0x469340,'subUnitId':_0x32e250,'drawingId':_0x1c25c8['drawingId'],'selectable':_0x4935a6})));},_0xd58819=_0x4491af=>{const _0x408256=_0x16ca58;let _0x7e0b61=_0x50e3a8(_0x4491af);if(_0x7e0b61)return _0x154c72([_0x4491af],_0x7e0b61[_0x408256(0x517)]===!0x1);},_0x262449=async(_0x4c6ad7,_0x30bb63)=>{const _0xe0dd46=_0x16ca58;var _0x2ce170;let _0x554a4f=_0x21be35(_0x30bb63);(((_0x2ce170=_0x50e3a8(_0x4c6ad7))==null?void 0x0:_0x2ce170[_0xe0dd46(0x4fe)])??void 0x0)!==_0x554a4f&&await _0x578d39(_0x4c6ad7,{'name':_0x554a4f});},_0x98b304=async(_0x3e565d,_0x19bb3a)=>{const _0x2cfd58=_0x16ca58;var _0xcf5c43;let _0x2f4c0d=_0x21be35(_0x19bb3a);(((_0xcf5c43=_0x50e3a8(_0x3e565d))==null?void 0x0:_0xcf5c43[_0x2cfd58(0x266)])??void 0x0)!==_0x2f4c0d&&await _0x578d39(_0x3e565d,{'description':_0x2f4c0d});},_0x1eaaee=async(_0x497e99,_0x47c21f)=>{const _0x32fcdf=_0x16ca58;_0x469340&&_0x32e250&&await _0x12c865[_0x32fcdf(0x207)](_0x47629f[_0x32fcdf(0x4d9)]['id'],{'unitId':_0x469340,'subUnitId':_0x32e250,'drawingIds':[_0x497e99],'arrangeType':_0x47c21f});};return!_0x469340||!_0x32e250?(0x0,_0x521d83[_0x16ca58(0x53e)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x403f18[_0x16ca58(0x534)]}):(0x0,_0x521d83[_0x16ca58(0x53e)])(_0x545447,{'labels':_0x403f18,'items':_0x36831b,'selectedIds':_0x599045,'focusedId':_0x4a029d,'showHeader':!0x1,'onSelect':_0x1b3b67,'onSetVisible':_0x4b620a,'onSetSelectable':_0x154c72,'onCommitName':_0x262449,'onCommitDescription':_0x98b304,'onMoveForward':async _0x34b2ed=>_0x1eaaee(_0x34b2ed,_0x5b0763[_0x16ca58(0x2fa)][_0x16ca58(0x4a2)]),'onMoveBackward':async _0x585712=>_0x1eaaee(_0x585712,_0x5b0763[_0x16ca58(0x2fa)][_0x16ca58(0x2f0)]),'onToggleSelectable':_0xd58819});}function _0x421455(){const _0x7f1727=_0x3bbe12;return(0x0,_0x521d83[_0x7f1727(0x53e)])(_0x5d4881,{'PanelComponent':_0x3ec2cc[_0x7f1727(0x1cb)]});}let _0x2f7941=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x14e16e,_0x2e47ec){const _0x53fa19=_0x3bbe12;super(),this[_0x53fa19(0x368)](_0x14e16e[_0x53fa19(0x2b4)](_0x532b4c,_0x421455)),this[_0x53fa19(0x368)](_0x2e47ec[_0x53fa19(0x2b4)]({'BottomIcon':_0x5e6af3,'FlipHorizontalIcon':_0x291692,'FlipVerticalIcon':_0x1a77b3,'MoveDownIcon':_0x152cba,'MoveUpIcon':_0xe52333,'ObjectLayersIcon':_0x31f0cf,'ShapeFormatSettingIcon':_0x1d6855,'TopmostIcon':_0x542c65})),this[_0x53fa19(0x368)](_0x14e16e[_0x53fa19(0x2b4)](_0x59f393,_0x62158b)),this['disposeWithMe'](_0x14e16e[_0x53fa19(0x2b4)](_0x361d67,_0x159d71)),_0x14e16e['get'](_0x3ec2cc['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x53fa19(0x368)](_0x14e16e['register'](_0x3ec2cc[_0x53fa19(0x2b7)],_0x3b5274));}};_0x2f7941=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x466)])),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x18daae[_0x3bbe12(0x51a)]))],_0x2f7941);let _0x57efab=class extends _0x5b0763['Disposable']{constructor(_0x226bbc){const _0xf3c6e=_0x3bbe12;super(),this['_permissionService']=_0x226bbc,_0x19095(this,'_editingParams$',new _0x3d6362['BehaviorSubject'](null)),_0x19095(this,_0xf3c6e(0x571),this[_0xf3c6e(0x348)]['asObservable']()),_0x19095(this,_0xf3c6e(0x472),new _0x3d6362[(_0xf3c6e(0x49c))](!0x1)),_0x19095(this,'onSavingEditorData$',this[_0xf3c6e(0x472)][_0xf3c6e(0x483)]()),_0x19095(this,_0xf3c6e(0x1c7),void 0x0),this['disposeWithMe'](this[_0xf3c6e(0x494)][_0xf3c6e(0x270)]['subscribe'](()=>{const _0x4ba3d3=_0xf3c6e;let _0x52df52=this[_0x4ba3d3(0x246)]();_0x52df52!=null&&_0x52df52[_0x4ba3d3(0x210)]&&!this[_0x4ba3d3(0x43a)](_0x52df52)&&this[_0x4ba3d3(0x268)](null);}));}[_0x3bbe12(0x4a4)](){const _0x4d4a55=_0x3bbe12;this[_0x4d4a55(0x548)](),this[_0x4d4a55(0x348)][_0x4d4a55(0x32b)](null),this[_0x4d4a55(0x348)][_0x4d4a55(0x55d)](),this['_onSavingEditorData$'][_0x4d4a55(0x32b)](!0x1),this[_0x4d4a55(0x472)]['complete'](),super[_0x4d4a55(0x4a4)]();}[_0x3bbe12(0x268)](_0x5e2c4f){const _0xd2bb89=_0x3bbe12;(_0x5e2c4f==null||!_0x5e2c4f[_0xd2bb89(0x210)]||this[_0xd2bb89(0x43a)](_0x5e2c4f))&&(this[_0xd2bb89(0x548)](),this[_0xd2bb89(0x348)]['next'](_0x5e2c4f),(_0x5e2c4f==null||_0x5e2c4f[_0xd2bb89(0x210)]&&this[_0xd2bb89(0x472)]['getValue']())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x3bbe12(0x35c)](_0x2f8324){const _0x400dd6=_0x3bbe12;this[_0x400dd6(0x472)]['next'](_0x2f8324);}[_0x3bbe12(0x246)](){const _0xfb818a=_0x3bbe12;return this['_editingParams$'][_0xfb818a(0x2d0)]();}[_0x3bbe12(0x43a)](_0x2fd3c5){const _0x500573=_0x3bbe12;let _0x3bb010=this[_0x500573(0x494)][_0x500573(0x2d2)](new _0x2e7766['WorkbookEditablePermission'](_0x2fd3c5[_0x500573(0x53b)])['id']),_0x5d78b5=this[_0x500573(0x494)][_0x500573(0x2d2)](new _0x2e7766[(_0x500573(0x1cc))](_0x2fd3c5['unitId'],_0x2fd3c5[_0x500573(0x58c)])['id']);return((_0x3bb010==null?void 0x0:_0x3bb010[_0x500573(0x43f)])??!0x0)&&((_0x5d78b5==null?void 0x0:_0x5d78b5['value'])??!0x0);}['completeEditing'](_0x299b77){const _0x450c96=_0x3bbe12;let _0x35c19d=this[_0x450c96(0x246)]();_0x35c19d&&this['_completionFrame']===void 0x0&&(this[_0x450c96(0x35c)](!0x0),this[_0x450c96(0x1c7)]=requestAnimationFrame(()=>{const _0x31dba7=_0x450c96;this['_completionFrame']=void 0x0,this['getEditing']()===_0x35c19d&&this[_0x31dba7(0x268)](null);}));}['_clearCompletionFrame'](){const _0x172ded=_0x3bbe12;this[_0x172ded(0x1c7)]!==void 0x0&&(cancelAnimationFrame(this[_0x172ded(0x1c7)]),this[_0x172ded(0x1c7)]=void 0x0);}[_0x3bbe12(0x3ce)](){const _0x70fb44=_0x3bbe12;this[_0x70fb44(0x246)]()&&this[_0x70fb44(0x268)](null);}};_0x57efab=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x2e9)])],_0x57efab);let _0x501afa=class extends _0x5b0763['Disposable']{constructor(_0x4cbd16,_0xc14408,_0x5b185a,_0x2d5467,_0x83c511,_0x150902){const _0x506e56=_0x3bbe12;super(),this['_context']=_0x4cbd16,this[_0x506e56(0x342)]=_0xc14408,this['_shapeTextEditingService']=_0x5b185a,this[_0x506e56(0x4fb)]=_0x2d5467,this[_0x506e56(0x299)]=_0x83c511,this[_0x506e56(0x3e3)]=_0x150902,_0x19095(this,_0x506e56(0x2c8),null),this['_initEvents'](),this[_0x506e56(0x1c0)](),this[_0x506e56(0x44e)]();}[_0x3bbe12(0x24d)](){const _0x5228d6=_0x3bbe12;let {scene:_0x4c93a7}=this[_0x5228d6(0x4a9)];this[_0x5228d6(0x368)](_0x4c93a7[_0x5228d6(0x42b)]['subscribeEvent'](_0x527b68=>{const _0xd7f7bd=_0x5228d6;let {offsetX:_0x3ae834,offsetY:_0x3375c3}=_0x527b68,_0x2f3304=_0x4c93a7['pick'](_0x463287[_0xd7f7bd(0x50e)]['FromArray']([_0x3ae834,_0x3375c3]));if(_0x2f3304 instanceof _0x30f195){let _0x445dd3=this['_sheetsShapeService'][_0xd7f7bd(0x338)](_0x2f3304[_0xd7f7bd(0x53b)],_0x2f3304[_0xd7f7bd(0x58c)],_0x2f3304[_0xd7f7bd(0x222)]);if((0x0,_0x1c9bad[_0xd7f7bd(0x48b)])(this['_sheetsShapeService'][_0xd7f7bd(0x281)](_0x2f3304['unitId'],_0x2f3304[_0xd7f7bd(0x58c)],_0x2f3304['shapeId']))||_0x445dd3!=null&&_0x445dd3[_0xd7f7bd(0x334)]()[_0xd7f7bd(0x3c5)])return;this[_0xd7f7bd(0x2e5)][_0xd7f7bd(0x268)]({'visible':!0x0,'unitId':_0x2f3304[_0xd7f7bd(0x53b)],'subUnitId':_0x2f3304[_0xd7f7bd(0x58c)],'shapeId':_0x2f3304[_0xd7f7bd(0x222)],'shapeKey':_0x2f3304['oKey']});}}));}[_0x3bbe12(0x1c0)](){const _0x466687=_0x3bbe12;this[_0x466687(0x368)](this[_0x466687(0x4fb)][_0x466687(0x419)][_0x466687(0x4f5)](_0x54f6d3=>{const _0x44b113=_0x466687;if(_0x54f6d3['length']===0x1){let _0x3c910c=_0x54f6d3[0x0],_0x337b53=this[_0x44b113(0x4fb)][_0x44b113(0x1d0)](_0x3c910c);if((_0x337b53==null?void 0x0:_0x337b53[_0x44b113(0x1d3)])===_0x5b0763[_0x44b113(0x2f8)][_0x44b113(0x462)]){var _0x250051;let _0x5a11da=this[_0x44b113(0x2e5)][_0x44b113(0x246)]();if((_0x5a11da==null?void 0x0:_0x5a11da[_0x44b113(0x222)])===_0x3c910c[_0x44b113(0x1af)]&&_0x5a11da['visible'])return;let _0x3ab82b=(0x0,_0x1c9bad[_0x44b113(0x48b)])(this[_0x44b113(0x3e3)][_0x44b113(0x281)](_0x3c910c[_0x44b113(0x53b)],_0x3c910c['subUnitId'],_0x3c910c[_0x44b113(0x1af)])),_0x3fae45=!!((_0x250051=this[_0x44b113(0x3e3)][_0x44b113(0x338)](_0x3c910c['unitId'],_0x3c910c[_0x44b113(0x58c)],_0x3c910c[_0x44b113(0x1af)]))!=null&&_0x250051[_0x44b113(0x334)]()[_0x44b113(0x3c5)]);(_0x3ab82b||_0x3fae45)&&this[_0x44b113(0x2e5)][_0x44b113(0x268)](null);}else this[_0x44b113(0x2e5)][_0x44b113(0x3d4)]();}else this[_0x44b113(0x2e5)][_0x44b113(0x3d4)]();})),this[_0x466687(0x368)](this[_0x466687(0x4fb)]['remove$'][_0x466687(0x4f5)](_0x41cc75=>{const _0x2038c9=_0x466687;let _0x3a0259=this[_0x2038c9(0x2e5)][_0x2038c9(0x246)]();_0x3a0259&&_0x41cc75[_0x2038c9(0x3ca)](_0x2601bb=>_0x2601bb[_0x2038c9(0x1af)]===_0x3a0259[_0x2038c9(0x222)])&&this[_0x2038c9(0x2e5)][_0x2038c9(0x268)](null);}));}[_0x3bbe12(0x44e)](){const _0x455c47=_0x3bbe12;this[_0x455c47(0x368)](this[_0x455c47(0x2e5)][_0x455c47(0x571)][_0x455c47(0x4f5)](_0x3df418=>{const _0x25a999=_0x455c47;let {scene:_0x156537}=this[_0x25a999(0x4a9)];if(this[_0x25a999(0x2c8)]){let _0x3936c5=_0x156537[_0x25a999(0x53d)](this[_0x25a999(0x2c8)]);_0x3936c5&&_0x3936c5[_0x25a999(0x268)](!0x1);}if(_0x3df418){let _0x4a9dd1=!!_0x3df418[_0x25a999(0x210)],_0x23a0e1=_0x156537[_0x25a999(0x53d)](_0x3df418['shapeKey']);_0x23a0e1&&(_0x23a0e1[_0x25a999(0x268)](_0x4a9dd1),this[_0x25a999(0x2c8)]=_0x3df418['shapeKey']),this['_contextService']['setContextValue'](_0x5b0763[_0x25a999(0x4f9)],_0x4a9dd1);}else this[_0x25a999(0x2c8)]=null,this[_0x25a999(0x299)][_0x25a999(0x256)](_0x5b0763['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x501afa=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2cd)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab)),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x5,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)]))],_0x501afa);var _0x4b2005=class extends _0x501afa{[_0x3bbe12(0x24d)](){const _0x4a8184=_0x3bbe12;let {scene:_0x5820b1}=this[_0x4a8184(0x4a9)],_0x368e50=this[_0x4a8184(0x342)]['get'](_0x3c7e1c[_0x4a8184(0x48a)]);this[_0x4a8184(0x368)](_0x5820b1['onDblclick$'][_0x4a8184(0x373)](_0x4395dd=>{const _0x46bc50=_0x4a8184;let {offsetX:_0x4ea26f,offsetY:_0x2b09e6}=_0x4395dd,_0x24f566=_0x5820b1[_0x46bc50(0x488)](_0x463287[_0x46bc50(0x50e)]['FromArray']([_0x4ea26f,_0x2b09e6]));if(!(_0x24f566 instanceof _0x30f195))return;let _0x180091=this[_0x46bc50(0x3e3)][_0x46bc50(0x338)](_0x24f566['unitId'],_0x24f566[_0x46bc50(0x58c)],_0x24f566['shapeId']);(0x0,_0x1c9bad[_0x46bc50(0x48b)])(this[_0x46bc50(0x3e3)][_0x46bc50(0x281)](_0x24f566[_0x46bc50(0x53b)],_0x24f566[_0x46bc50(0x58c)],_0x24f566['shapeId']))||_0x180091!=null&&_0x180091[_0x46bc50(0x334)]()[_0x46bc50(0x3c5)]||_0x368e50[_0x46bc50(0x45a)]('text',{'hostType':_0x5b0763[_0x46bc50(0x48f)][_0x46bc50(0x2ed)],'unitId':_0x24f566[_0x46bc50(0x53b)],'subUnitId':_0x24f566[_0x46bc50(0x58c)],'shapeId':_0x24f566[_0x46bc50(0x222)]});}));}};let _0x4be1e5={..._0x37ed41},_0x500e01=class extends _0x5b0763['Disposable']{constructor(_0x23727d,_0x2de039,_0x55bf4d,_0x556051,_0x4af61d,_0x259cd6,_0x25cc02,_0x386c49){const _0x1ec0c3=_0x3bbe12;super(),this[_0x1ec0c3(0x47b)]=_0x23727d,this[_0x1ec0c3(0x3e3)]=_0x2de039,this[_0x1ec0c3(0x555)]=_0x55bf4d,this[_0x1ec0c3(0x4fb)]=_0x556051,this[_0x1ec0c3(0x247)]=_0x4af61d,this[_0x1ec0c3(0x299)]=_0x259cd6,this[_0x1ec0c3(0x3e6)]=_0x25cc02,this['_shapeTextEditingService']=_0x386c49,_0x19095(this,_0x1ec0c3(0x521),null),this['_menuManagerService'][_0x1ec0c3(0x20d)](_0x4be1e5),this[_0x1ec0c3(0x46e)](),this['disposeWithMe'](this[_0x1ec0c3(0x2e5)][_0x1ec0c3(0x571)]['subscribe'](_0x489cda=>{const _0x5a293a=_0x1ec0c3;_0x489cda&&this[_0x5a293a(0x579)]();}));}[_0x3bbe12(0x2b1)](){const _0x4c2c70=_0x3bbe12;this[_0x4c2c70(0x521)]||=this['disposeWithMe']((0x0,_0x3c7e1c['bindRenderTransformerLifecycle'])(this[_0x4c2c70(0x3e6)],_0x5b0763['UniverInstanceType'][_0x4c2c70(0x2ed)],_0x1c207c=>this[_0x4c2c70(0x358)](_0x1c207c)));}[_0x3bbe12(0x46e)](){const _0x3fc084=_0x3bbe12;this[_0x3fc084(0x247)]['registerFeatureMenu'](_0x5b0763['DrawingTypeEnum'][_0x3fc084(0x462)],(_0x2e73c3,_0x13e42f,_0x20c70e,_0xaa52c7)=>{const _0x3b1d20=_0x3fc084;let _0x5f0e0e=this['_sheetsShapeService']['getShapeTypeById'](_0x2e73c3,_0x13e42f,_0x20c70e),_0x581570=this[_0x3b1d20(0x3e3)]['getShapeDataById'](_0x2e73c3,_0x13e42f,_0x20c70e),_0x478e93=_0x5f0e0e!==void 0x0&&!(0x0,_0x1c9bad[_0x3b1d20(0x48b)])(_0x5f0e0e)&&!(_0x581570!=null&&_0x581570[_0x3b1d20(0x3c5)]);return[{'label':_0x3b1d20(0x255),'index':0x0,'commandId':_0x6dca8e['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'mode':_0x3b1d20(0x29b)},'disable':!0x1},..._0x478e93?[{'label':_0x3b1d20(0x3be),'index':0x1,'commandId':_0x6dca8e['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'mode':_0x3b1d20(0x573)},'disable':!0x1}]:[],{'label':_0x3b1d20(0x4e1),'index':0x2,'commandId':_0x47629f[_0x3b1d20(0x536)]['id'],'commandParams':{'unitId':_0x2e73c3,'drawings':[{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'drawingId':_0x20c70e,'drawingType':_0xaa52c7}]},'disable':!0x1},{'label':_0x3b1d20(0x229),'index':0x3,'commandId':_0x501fe5[_0x3b1d20(0x2c5)]['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'shapeId':_0x20c70e,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.flipVertical','index':0x4,'commandId':_0x501fe5[_0x3b1d20(0x2c5)]['id'],'commandParams':{'unitId':_0x2e73c3,'subUnitId':_0x13e42f,'shapeId':_0x20c70e,'flipV':!0x0},'disable':!0x1}];},_0x3fc084(0x33f));}['_popupMenuListener'](_0x4aff3e){const _0x4c8b62=_0x3bbe12;let _0x2628a2=new _0x5b0763[(_0x4c8b62(0x25d))](),_0x396572=null,_0x5238f5=()=>{const _0x2aa9b2=_0x4c8b62;if(!_0x396572)return;let _0x597c7d=this[_0x2aa9b2(0x4fb)][_0x2aa9b2(0x2ac)](),_0x398590=_0x597c7d[_0x2aa9b2(0x2bb)]===0x0||_0x597c7d[_0x2aa9b2(0x2bb)]===0x1&&_0x597c7d[_0x2aa9b2(0x3ca)](_0x24f699=>_0x24f699[_0x2aa9b2(0x53b)]===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x53b)])&&_0x24f699['subUnitId']===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x58c)])&&_0x24f699['drawingId']===(_0x396572==null?void 0x0:_0x396572[_0x2aa9b2(0x1af)]));_0x396572=null,_0x398590&&(this['_contextService'][_0x2aa9b2(0x256)](_0x5b0763['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x2aa9b2(0x4fb)]['focusDrawing'](null));};return _0x2628a2[_0x4c8b62(0x495)](_0x4aff3e[_0x4c8b62(0x562)][_0x4c8b62(0x4f5)](()=>{const _0x2445ca=_0x4c8b62;let _0x1c6313=_0x4aff3e[_0x2445ca(0x30f)]();if(_0x1c6313['size']>0x1){_0x5238f5();return;}let _0x464d7c=_0x1c6313[_0x2445ca(0x4db)]()['next']()[_0x2445ca(0x43f)];if(!_0x464d7c){_0x5238f5();return;}let _0x4d7b1d=this[_0x2445ca(0x4fb)]['getDrawingOKey'](_0x464d7c['oKey']);if(!_0x4d7b1d||_0x4d7b1d[_0x2445ca(0x1d3)]!==_0x5b0763[_0x2445ca(0x2f8)][_0x2445ca(0x462)]){_0x5238f5();return;}let {unitId:_0xa05763,subUnitId:_0xc6d54f,drawingId:_0x138c91}=_0x4d7b1d;_0x396572={'unitId':_0xa05763,'subUnitId':_0xc6d54f,'drawingId':_0x138c91},this[_0x2445ca(0x299)]['setContextValue'](_0x5b0763['FOCUSING_COMMON_DRAWINGS'],!0x0),this[_0x2445ca(0x4fb)][_0x2445ca(0x2ac)]()['find'](_0x21b002=>_0x21b002[_0x2445ca(0x53b)]===_0xa05763&&_0x21b002[_0x2445ca(0x58c)]===_0xc6d54f&&_0x21b002['drawingId']===_0x138c91)||this[_0x2445ca(0x4fb)][_0x2445ca(0x416)]([{'unitId':_0xa05763,'subUnitId':_0xc6d54f,'drawingId':_0x138c91}]);})),_0x2628a2[_0x4c8b62(0x495)](_0x4aff3e['clearControl$']['subscribe'](()=>{_0x5238f5();})),(0x0,_0x5b0763['toDisposable'])(()=>{const _0xfb2cb2=_0x4c8b62;_0x2628a2[_0xfb2cb2(0x4a4)](),_0x5238f5();});}['_clearFocusedShape'](){const _0x41b081=_0x3bbe12;this[_0x41b081(0x299)][_0x41b081(0x256)](_0x5b0763[_0x41b081(0x1cf)],!0x1),this[_0x41b081(0x4fb)][_0x41b081(0x416)](null);}};_0x500e01=_0x476b0f([_0x5ec307(0x0,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f[_0x3bbe12(0x2af)])),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x6,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x500e01);function _0x1666d0(_0x5de04c,_0x221402,_0x11511a,_0x2ca686){const _0x28c557=_0x3bbe12;let _0x16a260=(0x0,_0x37800f['getOrCreateDrawingCopyPlan'])(_0x5de04c,_0x221402,_0x11511a),_0x324752=[];for(let _0x17c831 of _0x221402){let _0x329754=_0x16a260[_0x28c557(0x508)]['get'](_0x17c831['drawingId']),_0xf2669e=_0x2ca686(_0x17c831);_0x329754&&_0xf2669e&&_0x324752[_0x28c557(0x36e)]({'targetShapeId':_0x329754,'source':_0xf2669e});}return _0x324752;}let _0x4c0745=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x5be909,_0x2c259f,_0x15ec14,_0x4db613){const _0x3b2f7f=_0x3bbe12;super(),this[_0x3b2f7f(0x2cc)]=_0x5be909,this[_0x3b2f7f(0x20a)]=_0x2c259f,this['_sheetDrawingService']=_0x15ec14,this[_0x3b2f7f(0x3e3)]=_0x4db613,this['_initSheetChange']();}['_initSheetChange'](){const _0x4f75b6=_0x3bbe12;this[_0x4f75b6(0x368)](this[_0x4f75b6(0x20a)]['interceptCommand']({'getMutations':_0x18811=>{const _0x50a99a=_0x4f75b6;if(_0x18811['id']===_0x2e7766['RemoveSheetCommand']['id']){let _0x5be2ac=(0x0,_0x2e7766[_0x50a99a(0x279)])(this[_0x50a99a(0x2cc)],_0x18811['params']);if(!_0x5be2ac)return{'redos':[],'undos':[]};let {unitId:_0x3ae797,subUnitId:_0x4ae5e8}=_0x5be2ac,_0x3bdcba=this[_0x50a99a(0x387)][_0x50a99a(0x2cf)](_0x3ae797,_0x4ae5e8),_0x37b3d6=Object[_0x50a99a(0x4db)](_0x3bdcba)['filter'](_0x229b51=>_0x229b51[_0x50a99a(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x50a99a(0x462)]);if(_0x37b3d6[_0x50a99a(0x2bb)]===0x0)return{'redos':[],'undos':[]};let _0x51fc9e=[],_0x10faaa=[];for(let _0x27d1ec=0x0;_0x27d1ec<_0x37b3d6[_0x50a99a(0x2bb)];_0x27d1ec++){let _0x1f0eaf=_0x37b3d6[_0x27d1ec],_0x5654fa=this[_0x50a99a(0x3e3)][_0x50a99a(0x338)](_0x1f0eaf[_0x50a99a(0x53b)],_0x1f0eaf[_0x50a99a(0x58c)],_0x1f0eaf[_0x50a99a(0x1af)]);_0x5654fa&&(_0x51fc9e[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x2ba)]['id'],'params':{'unitId':_0x3ae797,'subUnitId':_0x4ae5e8,'shapeId':_0x1f0eaf['drawingId']}}),_0x10faaa[_0x50a99a(0x36e)]({'id':_0x501fe5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3ae797,'subUnitId':_0x4ae5e8,'shapeId':_0x1f0eaf[_0x50a99a(0x1af)],'shapeType':_0x5654fa['getShapeType'](),'shapeData':JSON[_0x50a99a(0x504)](JSON[_0x50a99a(0x3ec)](_0x5654fa[_0x50a99a(0x334)]()))}}));}return{'redos':_0x51fc9e,'undos':_0x10faaa};}if(_0x18811['id']===_0x2e7766['CopySheetCommand']['id']){let {unitId:_0x41861f,subUnitId:_0x4b436b,targetSubUnitId:_0x517ce5,copyContext:_0xbc5ba9}=_0x18811[_0x50a99a(0x242)];if(!_0x41861f||!_0x4b436b||!_0x517ce5)return{'redos':[],'undos':[]};let _0x1f6a00=this['_sheetDrawingService'][_0x50a99a(0x2cf)](_0x41861f,_0x4b436b),_0x15a26f=Object[_0x50a99a(0x4db)](_0x1f6a00)['filter'](_0x2661e8=>_0x2661e8[_0x50a99a(0x1d3)]===_0x5b0763['DrawingTypeEnum'][_0x50a99a(0x462)]);if(_0x15a26f[_0x50a99a(0x2bb)]===0x0)return{'redos':[],'undos':[]};let _0x93e7d0=_0x1666d0(_0xbc5ba9,_0x15a26f,{'unitId':_0x41861f,'sourceSubUnitId':_0x4b436b,'targetSubUnitId':_0x517ce5},_0x5523e3=>{const _0x544222=_0x50a99a;let _0x177f75=this['_sheetsShapeService'][_0x544222(0x338)](_0x5523e3[_0x544222(0x53b)],_0x5523e3['subUnitId'],_0x5523e3[_0x544222(0x1af)]);if(_0x177f75)return{'shapeType':_0x177f75[_0x544222(0x281)](),'shapeData':JSON[_0x544222(0x504)](JSON[_0x544222(0x3ec)](_0x177f75[_0x544222(0x334)]()))};}),_0x15f063=[],_0x2d6af5=[];for(let {targetShapeId:_0x56220f,source:_0xe8ed20}of _0x93e7d0)_0x15f063[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x205)]['id'],'params':{'unitId':_0x41861f,'subUnitId':_0x517ce5,'shapeId':_0x56220f,'shapeType':_0xe8ed20[_0x50a99a(0x456)],'shapeData':_0xe8ed20[_0x50a99a(0x3d1)]}}),_0x2d6af5[_0x50a99a(0x36e)]({'id':_0x501fe5[_0x50a99a(0x2ba)]['id'],'params':{'unitId':_0x41861f,'subUnitId':_0x517ce5,'shapeId':_0x56220f}});return{'redos':_0x15f063,'undos':_0x2d6af5};}return{'redos':[],'undos':[]};}}));}};_0x4c0745=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763['Inject'])(_0x5b0763[_0x3bbe12(0x467)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x2db)])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x47629f[_0x3bbe12(0x428)])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)]))],_0x4c0745);let _0x337505=class extends _0x5b0763['Disposable']{constructor(_0x57a905,_0x3686e7,_0x1b1e86,_0x1eab06,_0x302abd,_0x34e342){const _0x1269f6=_0x3bbe12;super(),this[_0x1269f6(0x555)]=_0x57a905,this[_0x1269f6(0x3e6)]=_0x3686e7,this[_0x1269f6(0x4fb)]=_0x1b1e86,this['_currentUniverService']=_0x1eab06,this[_0x1269f6(0x3b7)]=_0x302abd,this[_0x1269f6(0x2be)]=_0x34e342,_0x19095(this,'_insertingShapeKeys',new Set()),this[_0x1269f6(0x598)]();}[_0x3bbe12(0x598)](){const _0x18140f=_0x3bbe12;this[_0x18140f(0x3e2)](),this['_commandExecutedListener'](),this[_0x18140f(0x26b)]();}['_drawingAddListener'](){const _0x542acf=_0x3bbe12;this[_0x542acf(0x368)](this[_0x542acf(0x4fb)][_0x542acf(0x23d)][_0x542acf(0x4f5)](_0x4b0669=>{const _0x5a0560=_0x542acf;this[_0x5a0560(0x475)](_0x4b0669);}));}[_0x3bbe12(0x3c3)](){const _0x36fa94=_0x3bbe12;this[_0x36fa94(0x368)](this[_0x36fa94(0x555)]['onCommandExecuted']((_0x5c2048,_0x321f88)=>{const _0x4a0c4e=_0x36fa94;if(_0x5c2048['id']===_0x501fe5[_0x4a0c4e(0x533)]['id']){let {unitId:_0x43b2c5,subUnitId:_0x5676d1,shapeId:_0x2da927}=_0x5c2048[_0x4a0c4e(0x242)],_0x387a34=this[_0x4a0c4e(0x59a)](_0x43b2c5),_0x346df6=(0x0,_0x37800f[_0x4a0c4e(0x574)])({'unitId':_0x43b2c5,'subUnitId':_0x5676d1,'drawingId':_0x2da927}),_0x176a36=_0x387a34==null?void 0x0:_0x387a34['scene']['getObjectIncludeInGroup'](_0x346df6);_0x176a36&&(this['_sheetDrawingShapeRenderController']['refreshShapeFillImage'](_0x176a36),this[_0x4a0c4e(0x2be)][_0x4a0c4e(0x271)](_0x176a36,{'unitId':_0x43b2c5,'subUnitId':_0x5676d1,'shapeId':_0x2da927}),_0x176a36[_0x4a0c4e(0x1b8)](!0x0));return;}if(_0x5c2048['id']===_0x501fe5['InsertSheetsShapeMutation']['id']){var _0x14ed0d;let {unitId:_0x4d4d3d,subUnitId:_0x3a95a7,shapeId:_0x4c521f}=_0x5c2048[_0x4a0c4e(0x242)],_0x1f5ecc=this[_0x4a0c4e(0x59a)](_0x4d4d3d);if(_0x1f5ecc==null)return;let {scene:_0x758187}=_0x1f5ecc,_0x1ad62d=(0x0,_0x37800f[_0x4a0c4e(0x574)])({'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}),_0x513212=_0x758187[_0x4a0c4e(0x53d)](_0x1ad62d);if(!((_0x14ed0d=this['_renderManagerService']['getRenderUnitById'](_0x4d4d3d))!=null&&_0x14ed0d[_0x4a0c4e(0x512)](_0x54c89f[_0x4a0c4e(0x542)])['getSkeleton'](_0x3a95a7)))return!0x1;if(_0x513212)return;if(_0x321f88!=null&&_0x321f88[_0x4a0c4e(0x1f8)]){queueMicrotask(()=>{const _0x30fe5b=_0x4a0c4e;this[_0x30fe5b(0x388)]||this[_0x30fe5b(0x475)]([{'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}]);});return;}this[_0x4a0c4e(0x475)]([{'unitId':_0x4d4d3d,'subUnitId':_0x3a95a7,'drawingId':_0x4c521f}]);}}));}['_shapeUpdateListener'](){const _0x42f30d=_0x3bbe12;this[_0x42f30d(0x368)](this[_0x42f30d(0x4fb)][_0x42f30d(0x4d4)][_0x42f30d(0x4f5)](_0x5909ce=>{const _0x386614=_0x42f30d;_0x5909ce[_0x386614(0x1e7)](_0x58da82=>{const _0xc2be57=_0x386614;let {unitId:_0x216887,subUnitId:_0x2712cf,drawingId:_0x5830eb}=_0x58da82,_0x22d008=this['_drawingManagerService'][_0xc2be57(0x1d0)](_0x58da82);if(_0x22d008==null)return;let {transform:_0x2133b5,drawingType:_0x25bf44,srcRect:_0x3fd26b,prstGeom:_0x6654e4}=_0x22d008;if(_0x25bf44!==_0x5b0763[_0xc2be57(0x2f8)][_0xc2be57(0x462)])return;let _0x511a73=this[_0xc2be57(0x59a)](_0x216887);if(_0x511a73==null)return;let {scene:_0x106d0a,transformer:_0x1ec0e4}=_0x511a73;if(_0x2133b5==null)return!0x0;let _0xdde5cb=(0x0,_0x37800f[_0xc2be57(0x574)])({'unitId':_0x216887,'subUnitId':_0x2712cf,'drawingId':_0x5830eb}),_0x32e378=_0x106d0a[_0xc2be57(0x53d)](_0xdde5cb);if(_0x32e378==null)return!0x0;_0x32e378[_0xc2be57(0x4c1)](_0x3fd26b),_0x32e378['setPrstGeom'](_0x6654e4);});}));}[_0x3bbe12(0x475)](_0x134f63){const _0x3d0a42=_0x3bbe12;for(let _0x107b77 of _0x134f63){var _0x2e7d49;let {unitId:_0x20491e,subUnitId:_0xcb0c8e,drawingId:_0xd13d29}=_0x107b77,_0x46e867=this[_0x3d0a42(0x59a)](_0x20491e),_0x3f13be=(_0x2e7d49=(0x0,_0x3ec2cc[_0x3d0a42(0x442)])(this[_0x3d0a42(0x393)],_0x20491e))==null?void 0x0:_0x2e7d49[_0x3d0a42(0x58c)];if(_0x46e867==null||_0x3f13be!==_0xcb0c8e)return;let _0x13ba3c=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x20491e,'subUnitId':_0xcb0c8e,'drawingId':_0xd13d29});if(this[_0x3d0a42(0x3d5)][_0x3d0a42(0x40b)](_0x13ba3c)||_0x46e867[_0x3d0a42(0x29e)][_0x3d0a42(0x53d)](_0x13ba3c)!=null)return;let _0x226082=this[_0x3d0a42(0x4fb)][_0x3d0a42(0x1d0)](_0x107b77);if(_0x226082==null||_0x226082['drawingType']!==_0x5b0763[_0x3d0a42(0x2f8)][_0x3d0a42(0x462)])return;let _0x4783ef=_0x226082[_0x3d0a42(0x455)]||{};if((0x0,_0x1c9bad['isConnectorShape'])(_0x4783ef[_0x3d0a42(0x456)])){let _0x2c9a5e=_0x226082[_0x3d0a42(0x22c)];_0x2c9a5e&&(_0x226082['transform']={..._0x2c9a5e,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x3d0a42(0x3d5)][_0x3d0a42(0x495)](_0x13ba3c);try{this[_0x3d0a42(0x2be)][_0x3d0a42(0x214)](_0x226082,_0x46e867[_0x3d0a42(0x29e)]);}finally{this[_0x3d0a42(0x3d5)][_0x3d0a42(0x31d)](_0x13ba3c);}queueMicrotask(()=>{const _0x24c8ec=_0x3d0a42;if(this[_0x24c8ec(0x388)])return;let _0x3effd6=(0x0,_0x37800f[_0x24c8ec(0x574)])(_0x107b77);if(!_0x46e867[_0x24c8ec(0x29e)]['getObjectIncludeInGroup'](_0x3effd6))return;let _0x1850f0=this['_drawingManagerService']['getDrawingByParam'](_0x107b77);_0x1850f0&&this[_0x24c8ec(0x4fb)][_0x24c8ec(0x1fe)]([_0x1850f0]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x5156e8){const _0x263b9a=_0x3bbe12;if(_0x5156e8==null)return;let _0xbc5be2=this['_renderManagerService'][_0x263b9a(0x3de)](_0x5156e8),_0x49b276=_0xbc5be2==null?void 0x0:_0xbc5be2[_0x263b9a(0x29e)];return _0x49b276==null?null:{'scene':_0x49b276,'transformer':_0x49b276[_0x263b9a(0x2ad)]()};}};_0x337505=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x1,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x2,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3ec2cc[_0x3bbe12(0x518)])),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x14a8a5))],_0x337505);let _0x33dbc7={'normal':{'fill':_0x1c9bad[_0x3bbe12(0x1b9)]['cxnPointFill'],'stroke':_0x1c9bad[_0x3bbe12(0x1b9)][_0x3bbe12(0x487)],'strokeWidth':_0x1c9bad[_0x3bbe12(0x1b9)]['cxnPointStrokeWidth']},'highlighted':{'fill':_0x3bbe12(0x4e2),'stroke':_0x3bbe12(0x541),'strokeWidth':0x2}};var _0x4e6c60=class extends _0x463287[_0x3bbe12(0x345)]{constructor(_0x2e839f,_0x5c11af){const _0x2bb6c9=_0x3bbe12;super(_0x2e839f,_0x5c11af),_0x19095(this,'_targetShapeId',''),_0x19095(this,'_cxnIndex',-0x1),_0x19095(this,_0x2bb6c9(0x439),''),_0x19095(this,_0x2bb6c9(0x569),''),_0x19095(this,_0x2bb6c9(0x4c3),!0x1),_0x5c11af&&this[_0x2bb6c9(0x2f2)](_0x5c11af);}['getConnectionInfo'](){const _0x1ca1a2=_0x3bbe12;return{'unitId':this[_0x1ca1a2(0x439)],'subUnitId':this[_0x1ca1a2(0x569)],'shapeId':this[_0x1ca1a2(0x2ca)],'cxnIndex':this[_0x1ca1a2(0x451)]};}[_0x3bbe12(0x396)](_0x8d9c1e){const _0x6bf085=_0x3bbe12;this[_0x6bf085(0x4c3)]!==_0x8d9c1e&&(this[_0x6bf085(0x4c3)]=_0x8d9c1e,this[_0x6bf085(0x1b8)](!0x0));}[_0x3bbe12(0x2dd)](){const _0x16a4ae=_0x3bbe12;return this[_0x16a4ae(0x4c3)];}[_0x3bbe12(0x2f2)](_0x6f28f4){const _0x2331c4=_0x3bbe12;_0x6f28f4[_0x2331c4(0x230)]!==void 0x0&&(this['_targetShapeId']=_0x6f28f4[_0x2331c4(0x230)]),_0x6f28f4[_0x2331c4(0x24a)]!==void 0x0&&(this[_0x2331c4(0x451)]=_0x6f28f4[_0x2331c4(0x24a)]),_0x6f28f4[_0x2331c4(0x53b)]!==void 0x0&&(this[_0x2331c4(0x439)]=_0x6f28f4['unitId']),_0x6f28f4[_0x2331c4(0x58c)]!==void 0x0&&(this['_subUnitId']=_0x6f28f4[_0x2331c4(0x58c)]),_0x6f28f4['isHighlighted']!==void 0x0&&(this[_0x2331c4(0x4c3)]=_0x6f28f4[_0x2331c4(0x2dd)]),this[_0x2331c4(0x23f)]({'width':_0x6f28f4['width']??_0x1c9bad[_0x2331c4(0x1b9)]['cxnPointRadius']*0x2,'height':_0x6f28f4['height']??_0x1c9bad[_0x2331c4(0x1b9)]['cxnPointRadius']*0x2});}[_0x3bbe12(0x3d3)](_0x1280be){const _0x48a163=_0x3bbe12;let _0x58d9b0=this[_0x48a163(0x4c3)]?_0x33dbc7[_0x48a163(0x293)]:_0x33dbc7[_0x48a163(0x543)];_0x463287[_0x48a163(0x4ea)]['drawWith'](_0x1280be,{'radius':_0x1c9bad[_0x48a163(0x1b9)][_0x48a163(0x3b0)],'fill':_0x58d9b0[_0x48a163(0x23b)],'stroke':_0x58d9b0[_0x48a163(0x49a)],'strokeWidth':_0x58d9b0[_0x48a163(0x37f)],'evented':!0x0});}};let _0x116eec=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x5e05a0,_0x44306b,_0x3e0ad0,_0x50e989){const _0x3b7fd8=_0x3bbe12;super(),this[_0x3b7fd8(0x4a9)]=_0x5e05a0,this[_0x3b7fd8(0x3e6)]=_0x44306b,this['_drawingManagerService']=_0x3e0ad0,this[_0x3b7fd8(0x3e3)]=_0x50e989,_0x19095(this,'_connectionSiteObjects',[]),_0x19095(this,_0x3b7fd8(0x2f3),null),_0x19095(this,'_highlightedSiteIndex',-0x1),_0x19095(this,_0x3b7fd8(0x2ef),null),_0x19095(this,'_unitId',''),_0x19095(this,_0x3b7fd8(0x569),''),_0x19095(this,'_draggingConnectorId',null);}[_0x3bbe12(0x38c)](_0x560528,_0x3ec3a6,_0x11b23e,_0x52b439){const _0x46f5f9=_0x3bbe12;this[_0x46f5f9(0x2ef)]=_0x560528,this[_0x46f5f9(0x439)]=_0x3ec3a6,this[_0x46f5f9(0x569)]=_0x11b23e,this['_draggingConnectorId']=_0x52b439;}['updateConnectionDetection'](_0x4dd40f){const _0x19654d=_0x3bbe12;if(!this[_0x19654d(0x2ef)])return null;let _0x2389a1=this[_0x19654d(0x4cf)](_0x4dd40f);return _0x2389a1?(this[_0x19654d(0x2f3)]!==_0x2389a1[_0x19654d(0x222)]&&(this[_0x19654d(0x3aa)](),this[_0x19654d(0x441)](_0x2389a1[_0x19654d(0x222)],_0x2389a1[_0x19654d(0x2de)]),this[_0x19654d(0x2f3)]=_0x2389a1[_0x19654d(0x222)]),this[_0x19654d(0x4eb)](_0x4dd40f)):(this['_activeTargetShapeId']!==null&&(this[_0x19654d(0x3aa)](),this[_0x19654d(0x2f3)]=null),null);}['endConnectionDetection'](){const _0x451b72=_0x3bbe12;this['_clearConnectionSites'](),this[_0x451b72(0x2ef)]=null,this[_0x451b72(0x2f3)]=null,this[_0x451b72(0x47e)]=-0x1,this['_draggingConnectorId']=null;}[_0x3bbe12(0x35e)](){const _0x2ef315=_0x3bbe12;return this[_0x2ef315(0x2f3)]===null||this[_0x2ef315(0x47e)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x2ef315(0x47e)]};}[_0x3bbe12(0x4cf)](_0x152419){const _0x159c4d=_0x3bbe12;let _0x59204a=this[_0x159c4d(0x4fb)][_0x159c4d(0x2cf)](this[_0x159c4d(0x439)],this['_subUnitId']);for(let _0x9be862 of Object['keys'](_0x59204a)){if(_0x9be862===this[_0x159c4d(0x557)]||_0x59204a[_0x9be862][_0x159c4d(0x1d3)]!==_0x5b0763[_0x159c4d(0x2f8)][_0x159c4d(0x462)])continue;let _0x35f7bd=this['_sheetsShapeService']['getShapeModel'](this['_unitId'],this[_0x159c4d(0x569)],_0x9be862);if(!_0x35f7bd||(0x0,_0x1c9bad[_0x159c4d(0x48b)])(_0x35f7bd['getShapeType']())||_0x35f7bd[_0x159c4d(0x49b)]()[_0x159c4d(0x2bb)]===0x0||!this[_0x159c4d(0x2ef)])continue;let _0x3f38d8=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x159c4d(0x439)],'subUnitId':this[_0x159c4d(0x569)],'drawingId':_0x9be862}),_0x44c7d6=this[_0x159c4d(0x2ef)][_0x159c4d(0x53d)](_0x3f38d8);if(!_0x44c7d6)continue;let {left:_0x3b4be8,top:_0x4f9234,width:_0x54c92d,height:_0x3d9c78}=_0x44c7d6[_0x159c4d(0x24b)](),_0x384666=_0x3b4be8+_0x54c92d/0x2,_0x4f8a17=_0x4f9234+_0x3d9c78/0x2,_0x49d80f=_0x44c7d6[_0x159c4d(0x22c)][_0x159c4d(0x332)](),_0x469622=new _0x463287['Transform']([_0x49d80f[0x0],_0x49d80f[0x1],_0x49d80f[0x2],_0x49d80f[0x3],_0x384666,_0x4f8a17]),_0x1df012=_0x44c7d6[_0x159c4d(0x538)](),_0x4d7f87=(_0x44c7d6[_0x159c4d(0x305)]&&(_0x1df012==null?void 0x0:_0x1df012['classType'])===_0x463287['RENDER_CLASS_TYPE'][_0x159c4d(0x297)]?_0x1df012[_0x159c4d(0x477)][_0x159c4d(0x583)](_0x469622):_0x469622)[_0x159c4d(0x458)]()[_0x159c4d(0x490)](_0x152419),_0x18099c=_0x54c92d/0x2,_0x57b26b=_0x3d9c78/0x2;if(_0x4d7f87['x']>=-_0x18099c-0x5&&_0x4d7f87['x']<=_0x18099c+0x5&&_0x4d7f87['y']>=-_0x57b26b-0x5&&_0x4d7f87['y']<=_0x57b26b+0x5)return{'shapeId':_0x9be862,'shapeModel':_0x35f7bd};}return null;}[_0x3bbe12(0x441)](_0x5dabb3,_0xe357bb){const _0x3303a3=_0x3bbe12;if(!this['_currentScene'])return;let _0x2552f5=(0x0,_0x37800f[_0x3303a3(0x574)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x5dabb3}),_0x2ee1d1=this[_0x3303a3(0x2ef)][_0x3303a3(0x53d)](_0x2552f5);if(!_0x2ee1d1)return;let {left:_0x269efe,top:_0x558a49,width:_0x80e98d,height:_0x16beda}=_0x2ee1d1[_0x3303a3(0x24b)](),_0x3a0376=_0x269efe+_0x80e98d/0x2,_0x26d9c1=_0x558a49+_0x16beda/0x2,_0x569cc2=_0x2ee1d1['transform'][_0x3303a3(0x332)](),_0x3881=new _0x463287[(_0x3303a3(0x39c))]([_0x569cc2[0x0],_0x569cc2[0x1],_0x569cc2[0x2],_0x569cc2[0x3],_0x3a0376,_0x26d9c1]),_0x162d20=_0x2ee1d1[_0x3303a3(0x538)](),_0x13310e=_0x2ee1d1[_0x3303a3(0x305)]&&(_0x162d20==null?void 0x0:_0x162d20[_0x3303a3(0x4c7)])===_0x463287[_0x3303a3(0x431)][_0x3303a3(0x297)]?_0x162d20['ancestorTransform']['multiply'](_0x3881):_0x3881;_0xe357bb['updateContext']({'width':_0x80e98d,'height':_0x16beda});let _0x375668=_0xe357bb[_0x3303a3(0x49b)]();for(let _0x55d22e of _0x375668){let _0x3c124c=_0x55d22e['x']-_0x80e98d/0x2,_0x4777f9=_0x55d22e['y']-_0x16beda/0x2,_0xc7a530=_0x13310e[_0x3303a3(0x490)]({'x':_0x3c124c,'y':_0x4777f9}),_0x18e95f=_0xc7a530['x'],_0x1ae2d=_0xc7a530['y'],_0x527bca=new _0x4e6c60(_0x3303a3(0x273)+_0x5dabb3+'-'+_0x55d22e[_0x3303a3(0x485)],{'left':_0x18e95f-_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)],'top':_0x1ae2d-_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)],'targetShapeId':_0x5dabb3,'cxnIndex':_0x55d22e[_0x3303a3(0x485)],'unitId':this[_0x3303a3(0x439)],'subUnitId':this[_0x3303a3(0x569)],'width':_0x1c9bad['ShapeDefaultConfig'][_0x3303a3(0x3b0)]*0x2,'height':_0x1c9bad[_0x3303a3(0x1b9)][_0x3303a3(0x3b0)]*0x2,'zIndex':_0x463287[_0x3303a3(0x526)]+0x2,'evented':!0x1});this[_0x3303a3(0x306)][_0x3303a3(0x36e)](_0x527bca),this[_0x3303a3(0x2ef)][_0x3303a3(0x4a1)](_0x527bca,_0x463287[_0x3303a3(0x526)]+0x2);}}['_findNearestConnectionSite'](_0xd72031){const _0x90eae7=_0x3bbe12;let _0x555cf5=null,_0x58f2dd=0x1/0x0,_0x4d3e9d=null;for(let _0x4d3147 of this[_0x90eae7(0x306)]){let _0x4b720b=_0x4d3147[_0x90eae7(0x44f)]+_0x1c9bad[_0x90eae7(0x1b9)][_0x90eae7(0x3b0)],_0x4baede=_0x4d3147[_0x90eae7(0x200)]+_0x1c9bad[_0x90eae7(0x1b9)][_0x90eae7(0x3b0)],_0x5e39ad=_0xd72031['x']-_0x4b720b,_0x2c3244=_0xd72031['y']-_0x4baede,_0x39201e=Math[_0x90eae7(0x1b6)](_0x5e39ad*_0x5e39ad+_0x2c3244*_0x2c3244);_0x39201e<_0x58f2dd&&(_0x58f2dd=_0x39201e,_0x555cf5=_0x4d3147,_0x4d3e9d={'x':_0x4b720b,'y':_0x4baede});}let _0x5a2854=_0x58f2dd<=0xa&&_0x555cf5?_0x555cf5[_0x90eae7(0x24e)]()[_0x90eae7(0x24a)]:-0x1;if(_0x5a2854!==this[_0x90eae7(0x47e)]){for(let _0xc08f74 of this[_0x90eae7(0x306)]){let _0x34f306=_0xc08f74[_0x90eae7(0x24e)]();_0xc08f74[_0x90eae7(0x396)](_0x34f306[_0x90eae7(0x24a)]===_0x5a2854);}this[_0x90eae7(0x47e)]=_0x5a2854;}if(_0x58f2dd<=0xa&&_0x555cf5&&_0x4d3e9d){let _0x5b547a=_0x555cf5[_0x90eae7(0x24e)](),_0x2c5cc7=this[_0x90eae7(0x4a5)](_0x5b547a[_0x90eae7(0x222)],_0x5b547a['cxnIndex']);return{'shapeId':_0x5b547a[_0x90eae7(0x222)],'cxnIndex':_0x5b547a['cxnIndex'],'unitId':_0x5b547a[_0x90eae7(0x53b)],'subUnitId':_0x5b547a[_0x90eae7(0x58c)],'worldPoint':_0x4d3e9d,'angle':_0x2c5cc7};}return null;}['_getConnectionSiteAngle'](_0x450c7a,_0x388f86){const _0x343ec9=_0x3bbe12;let _0x1da914=this[_0x343ec9(0x3e3)]['getShapeModel'](this[_0x343ec9(0x439)],this[_0x343ec9(0x569)],_0x450c7a);if(!_0x1da914)return 0x0;let _0x2f0b19=this['_drawingManagerService'][_0x343ec9(0x1d0)]({'unitId':this[_0x343ec9(0x439)],'subUnitId':this[_0x343ec9(0x569)],'drawingId':_0x450c7a});if(!(_0x2f0b19!=null&&_0x2f0b19[_0x343ec9(0x22c)]))return 0x0;let {width:_0x2fa9b1=0x0,height:_0x349081=0x0,flipX:_0x399070=!0x1,flipY:_0x4cab39=!0x1}=_0x2f0b19['transform'];_0x1da914[_0x343ec9(0x2ee)]({'width':_0x2fa9b1,'height':_0x349081});let _0x45076c=_0x1da914[_0x343ec9(0x49b)]()[_0x343ec9(0x3e9)](_0x115298=>_0x115298[_0x343ec9(0x485)]===_0x388f86);if(!_0x45076c)return 0x0;let _0xcf2105=_0x45076c[_0x343ec9(0x3e4)]/0xea60;return _0x399070&&(_0xcf2105=0xb4-_0xcf2105),_0x4cab39&&(_0xcf2105=-_0xcf2105),_0xcf2105=(_0xcf2105%0x168+0x168)%0x168,_0xcf2105;}[_0x3bbe12(0x3aa)](){const _0x2c6086=_0x3bbe12;for(let _0x2a4e1b of this[_0x2c6086(0x306)])_0x2a4e1b['dispose']();this[_0x2c6086(0x306)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x3bbe12(0x4a4)](){const _0x3ff1ee=_0x3bbe12;this['_clearConnectionSites'](),super[_0x3ff1ee(0x4a4)]();}};_0x116eec=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x463287['IRenderManagerService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x37800f['IDrawingManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)]))],_0x116eec);let _0x55b3a8=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x1babc6,_0xf3dc64,_0x27e692,_0xd17fc6,_0x16ff50){const _0x38cc90=_0x3bbe12;super(),this[_0x38cc90(0x376)]=_0x1babc6,this[_0x38cc90(0x2fc)]=_0xf3dc64,this[_0x38cc90(0x387)]=_0x27e692,this[_0x38cc90(0x1b2)]=_0xd17fc6,this[_0x38cc90(0x3ef)]=_0x16ff50,_0x19095(this,_0x38cc90(0x31b),void 0x0),this[_0x38cc90(0x469)](),this['_registerGroupFeaturePasteHook']();}get[_0x3bbe12(0x202)](){const _0x48bc95=_0x3bbe12;return this['_sheetDrawingService'][_0x48bc95(0x2ac)]();}['_registerGroupFeaturePasteHook'](){const _0x45c82f=_0x3bbe12;this[_0x45c82f(0x3ef)][_0x45c82f(0x43e)](({fromUnitId:_0x1fdf42,fromSubUnitId:_0x49043c,toUnitId:_0x553f87,toSubUnitId:_0x1bc22e,idMap:_0x31ea67})=>{const _0x211e77=_0x45c82f;let _0x24ced4=[],_0x536977=[];for(let [_0x43818e,_0x4968bd]of _0x31ea67[_0x211e77(0x359)]()){let _0x42d324=this['_shapeService'][_0x211e77(0x338)](_0x1fdf42,_0x49043c,_0x43818e);if(!_0x42d324)continue;let _0x1839cb=_0x42d324[_0x211e77(0x281)](),_0x50d2ed=JSON['parse'](JSON[_0x211e77(0x3ec)](_0x42d324[_0x211e77(0x334)]()));if(_0x50d2ed[_0x211e77(0x324)]){var _0x215857,_0x35a420;let _0x3b8398=(_0x215857=_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)])==null?void 0x0:_0x215857[_0x211e77(0x222)],_0x2d18cf=(_0x35a420=_0x50d2ed[_0x211e77(0x324)]['to'])==null?void 0x0:_0x35a420[_0x211e77(0x222)],_0x29e0bd=!_0x3b8398||_0x31ea67[_0x211e77(0x40b)](_0x3b8398),_0x54c2e9=!_0x2d18cf||_0x31ea67['has'](_0x2d18cf);_0x29e0bd&&_0x3b8398&&_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)]?_0x50d2ed['relation'][_0x211e77(0x37a)]={..._0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)],'shapeId':_0x31ea67[_0x211e77(0x3f3)](_0x3b8398)}:_0x50d2ed[_0x211e77(0x324)][_0x211e77(0x37a)]=void 0x0,_0x54c2e9&&_0x2d18cf&&_0x50d2ed[_0x211e77(0x324)]['to']?_0x50d2ed[_0x211e77(0x324)]['to']={..._0x50d2ed[_0x211e77(0x324)]['to'],'shapeId':_0x31ea67[_0x211e77(0x3f3)](_0x2d18cf)}:_0x50d2ed['relation']['to']=void 0x0;}_0x24ced4[_0x211e77(0x36e)]({'id':_0x501fe5[_0x211e77(0x205)]['id'],'params':{'unitId':_0x553f87,'subUnitId':_0x1bc22e,'shapeId':_0x4968bd,'shapeType':_0x1839cb,'shapeData':_0x50d2ed}}),_0x536977[_0x211e77(0x36e)]({'id':_0x501fe5[_0x211e77(0x2ba)]['id'],'params':{'unitId':_0x553f87,'subUnitId':_0x1bc22e,'shapeId':_0x4968bd}});}return{'redos':_0x24ced4,'undos':_0x536977};});}[_0x3bbe12(0x469)](){const _0x262c5e=_0x3bbe12;this[_0x262c5e(0x368)](this[_0x262c5e(0x2fc)][_0x262c5e(0x565)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x3a0a4a,_0x243e36,_0x4d4ab3)=>{const _0x3b8faf=_0x262c5e;this[_0x3b8faf(0x31b)]=null;let _0xbc0760=this[_0x3b8faf(0x202)][_0x3b8faf(0x323)](_0x4f7988=>_0x4f7988[_0x3b8faf(0x1d3)]===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']);return _0xbc0760[_0x3b8faf(0x2bb)]!==0x0&&(this[_0x3b8faf(0x31b)]={'unitId':_0x3a0a4a,'subUnitId':_0x243e36,'copyType':_0x4d4ab3,'drawings':_0xbc0760},!0x0);},'onBeforeCopy':(_0x52d791,_0x31ac5c,_0x31e84f,_0x52e879)=>{const _0x4f4c6=_0x262c5e;this[_0x4f4c6(0x31b)]=null,this['_createCopyInfoByRange'](_0x52d791,_0x31ac5c,_0x31e84f,_0x52e879);},'onPasteCells':(_0x14a76d,_0x2c4093,_0xe32bb9,_0x25d9a6)=>{const _0x47ce10=_0x262c5e;if(!_0x25d9a6[_0x47ce10(0x25a)]||!_0x14a76d||!this[_0x47ce10(0x31b)])return{'redos':[],'undos':[]};let {pasteType:_0x497167}=_0x25d9a6;return _0x497167===_0x54c89f[_0x47ce10(0x3cf)][_0x47ce10(0x52e)]?this[_0x47ce10(0x24c)](_0x2c4093,this[_0x47ce10(0x31b)][_0x47ce10(0x340)]===_0x54c89f[_0x47ce10(0x2b8)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x3bbe12(0x482)](_0xc8da9,_0x248a3c,_0x3705c6,_0x410690){const _0x35b956=_0x3bbe12;let _0x32fc27=this[_0x35b956(0x376)][_0x35b956(0x27e)](_0xc8da9,_0x248a3c);if(!_0x32fc27)return;let _0xcc8207=(0x0,_0x2e7766[_0x35b956(0x325)])(_0x32fc27,_0x3705c6);if(!_0xcc8207)return;let {startX:_0x24f9d3,endX:_0x567b0b,startY:_0x4b84d6,endY:_0x367d06}=_0xcc8207,_0x275eeb=this[_0x35b956(0x387)][_0x35b956(0x2cf)](_0xc8da9,_0x248a3c),_0x1c2fb8=[];for(let [_0x4c6a2f,_0x28c42b]of Object['entries'](_0x275eeb)){if(_0x28c42b[_0x35b956(0x1d3)]!==_0x5b0763[_0x35b956(0x2f8)][_0x35b956(0x462)])continue;let {transform:_0xa0d4c8}=_0x28c42b;if(!_0xa0d4c8)continue;let {left:_0x4f9db8=0x0,top:_0x3b37bb=0x0,width:_0x2c724e=0x0,height:_0x53c376=0x0}=_0xa0d4c8;_0x24f9d3<=_0x4f9db8&&_0x567b0b>=_0x4f9db8+_0x2c724e&&_0x4b84d6<=_0x3b37bb&&_0x367d06>=_0x3b37bb+_0x53c376&&_0x1c2fb8[_0x35b956(0x36e)](_0x28c42b);}_0x1c2fb8['length']>0x0&&(this[_0x35b956(0x31b)]={'unitId':_0xc8da9,'subUnitId':_0x248a3c,'copyType':_0x410690,'copyRange':_0x3705c6,'drawings':_0x1c2fb8});}[_0x3bbe12(0x24c)](_0x4699ba,_0x552297){const _0x179380=_0x3bbe12;let {unitId:_0x3f7800,subUnitId:_0xb18090,range:_0x59a036}=_0x4699ba,_0x268e00=this[_0x179380(0x376)]['getSkeleton'](_0x3f7800,_0xb18090);if(!_0x268e00)return{'redos':[],'undos':[]};let _0x519d73=(0x0,_0x2e7766['discreteRangeToRange'])(_0x59a036),{unitId:_0x40d716,subUnitId:_0x39ec4c,copyRange:_0x572d4f,drawings:_0x331984}=this['_copyInfo'],_0xfc9d84=this['_sheetSkeletonService'][_0x179380(0x27e)](_0x40d716,_0x39ec4c);if(!_0xfc9d84)return{'redos':[],'undos':[]};let _0x301710;if(!_0x572d4f){let _0x3662b9=0x1/0x0,_0x2ed7b8=0x1/0x0;for(let _0x4d8e6b of _0x331984){let {left:_0x336677=0x0,top:_0x3f5411=0x0}=_0x4d8e6b['transform']??{};_0x336677<_0x3662b9&&(_0x3662b9=_0x336677),_0x3f5411<_0x2ed7b8&&(_0x2ed7b8=_0x3f5411);}_0x3662b9!==0x1/0x0&&_0x2ed7b8!==0x1/0x0&&(_0x301710={'left':_0x3662b9,'top':_0x2ed7b8});}let _0x16c55e=new Map();if(!_0x552297){for(let _0x4eccd8 of _0x331984)_0x16c55e[_0x179380(0x336)](_0x4eccd8[_0x179380(0x1af)],(0x0,_0x5b0763[_0x179380(0x41f)])());}let _0x518dc5=[],_0x5528f3=[];for(let _0x409989 of _0x331984){let {drawingId:_0x494478,transform:_0x243526,sheetTransform:_0x227f34}=_0x409989;if(!_0x243526||!_0x227f34)continue;let _0x4691e9=this[_0x179380(0x435)]({'transform':_0x243526,'sheetTransform':_0x227f34},{'skeleton':_0xfc9d84,'range':_0x572d4f},{'skeleton':_0x268e00,'range':_0x519d73},_0x301710);if(_0x552297){let {redos:_0xd13f5,undos:_0x31c975}=this[_0x179380(0x566)]({'fromUnitId':_0x40d716,'fromSubUnitId':_0x39ec4c,'toUnitId':_0x3f7800,'toSubUnitId':_0xb18090,'drawing':_0x409989,'newTransforms':_0x4691e9});_0x518dc5[_0x179380(0x36e)](..._0xd13f5),_0x5528f3[_0x179380(0x36e)](..._0x31c975);continue;}let {redos:_0x3286f8,undos:_0xf08d4f}=this[_0x179380(0x3c6)]({'toUnitId':_0x3f7800,'toSubUnitId':_0xb18090,'drawing':_0x409989,'newTransforms':_0x4691e9,'newDrawingId':_0x16c55e[_0x179380(0x3f3)](_0x494478),'idMap':_0x16c55e});_0x518dc5[_0x179380(0x36e)](..._0x3286f8),_0x5528f3['push'](..._0xf08d4f);}return{'redos':_0x518dc5,'undos':_0x5528f3};}[_0x3bbe12(0x566)](_0x4a8295){const _0x795ebe=_0x3bbe12;let {fromUnitId:_0x5952f3,fromSubUnitId:_0x4a2b38,toUnitId:_0x1c312f,toSubUnitId:_0x8ebf5d,drawing:_0x284a1a,newTransforms:_0x4a9cb5}=_0x4a8295,_0x1f94d6={..._0x284a1a,'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'transform':_0x4a9cb5[_0x795ebe(0x22c)],'sheetTransform':_0x4a9cb5[_0x795ebe(0x460)]};if(_0x1c312f===_0x5952f3&&_0x8ebf5d===_0x4a2b38){let {redo:_0x290aa7,undo:_0x3bae59,objects:_0x1c4865}=this[_0x795ebe(0x387)][_0x795ebe(0x25e)]([_0x1f94d6]);return{'redos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)]['UPDATE'],'op':_0x290aa7,'objects':_0x1c4865}}],'undos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f['DrawingApplyType'][_0x795ebe(0x20e)],'op':_0x3bae59,'objects':_0x1c4865}}]};}{let _0x2867b1=this[_0x795ebe(0x387)][_0x795ebe(0x296)]([_0x284a1a]),_0x1349ee=this[_0x795ebe(0x387)][_0x795ebe(0x2ab)]([_0x1f94d6]),_0x2f323b=this[_0x795ebe(0x1b2)]['getShapeModel'](_0x284a1a[_0x795ebe(0x53b)],_0x284a1a[_0x795ebe(0x58c)],_0x284a1a['drawingId']);if(!_0x2f323b)return{'redos':[],'undos':[]};let _0x2e8c04=_0x2f323b[_0x795ebe(0x281)](),_0x458ada=JSON[_0x795ebe(0x504)](JSON['stringify'](_0x2f323b[_0x795ebe(0x334)]()));return{'redos':[{'id':_0x47629f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x1ad)],'op':_0x2867b1[_0x795ebe(0x380)],'objects':_0x2867b1[_0x795ebe(0x1eb)]}},{'id':_0x501fe5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'shapeId':_0x284a1a['drawingId']}},{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x594)],'op':_0x1349ee[_0x795ebe(0x380)],'objects':_0x1349ee[_0x795ebe(0x1eb)]}},{'id':_0x501fe5[_0x795ebe(0x205)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'shapeId':_0x284a1a[_0x795ebe(0x1af)],'shapeType':_0x2e8c04,'shapeData':_0x458ada}}],'undos':[{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x594)],'op':_0x2867b1[_0x795ebe(0x3cd)],'objects':_0x2867b1[_0x795ebe(0x1eb)]}},{'id':_0x501fe5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x5952f3,'subUnitId':_0x4a2b38,'shapeId':_0x284a1a[_0x795ebe(0x1af)],'shapeType':_0x2e8c04,'shapeData':_0x458ada}},{'id':_0x47629f[_0x795ebe(0x341)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'type':_0x47629f[_0x795ebe(0x56d)][_0x795ebe(0x1ad)],'op':_0x1349ee['undo'],'objects':_0x1349ee[_0x795ebe(0x1eb)]}},{'id':_0x501fe5[_0x795ebe(0x2ba)]['id'],'params':{'unitId':_0x1c312f,'subUnitId':_0x8ebf5d,'shapeId':_0x284a1a[_0x795ebe(0x1af)]}}]};}}['_generateCopyPasteMutations'](_0x566670){const _0x3faea0=_0x3bbe12;let {toUnitId:_0x1fa29e,toSubUnitId:_0x43c159,drawing:_0x1297d7,newTransforms:_0x3789b0,newDrawingId:_0x2a2183,idMap:_0x86f31e}=_0x566670,_0x2561a4={..._0x1297d7,'unitId':_0x1fa29e,'subUnitId':_0x43c159,'drawingId':_0x2a2183,'transform':_0x3789b0['transform'],'sheetTransform':_0x3789b0[_0x3faea0(0x460)]},{redo:_0x44acb5,undo:_0x26af63,objects:_0x533e44}=this['_sheetDrawingService'][_0x3faea0(0x2ab)]([_0x2561a4]),_0x334fef=this[_0x3faea0(0x1b2)][_0x3faea0(0x338)](_0x1297d7[_0x3faea0(0x53b)],_0x1297d7[_0x3faea0(0x58c)],_0x1297d7['drawingId']);if(!_0x334fef)return{'redos':[],'undos':[]};let _0x5021dd=_0x334fef['getShapeType'](),_0x398715=JSON[_0x3faea0(0x504)](JSON[_0x3faea0(0x3ec)](_0x334fef[_0x3faea0(0x334)]()));if(_0x398715['relation']){var _0x21a595,_0x14acb8;let _0x26d537=(_0x21a595=_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)])==null?void 0x0:_0x21a595[_0x3faea0(0x222)],_0x5cc3d9=(_0x14acb8=_0x398715[_0x3faea0(0x324)]['to'])==null?void 0x0:_0x14acb8['shapeId'],_0x50f3f1=!_0x26d537||_0x86f31e[_0x3faea0(0x40b)](_0x26d537),_0x5309da=!_0x5cc3d9||_0x86f31e[_0x3faea0(0x40b)](_0x5cc3d9);_0x50f3f1&&_0x26d537&&_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)]?_0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)]={..._0x398715[_0x3faea0(0x324)][_0x3faea0(0x37a)],'shapeId':_0x86f31e['get'](_0x26d537)}:_0x398715['relation']['from']=void 0x0,_0x5309da&&_0x5cc3d9&&_0x398715[_0x3faea0(0x324)]['to']?_0x398715['relation']['to']={..._0x398715[_0x3faea0(0x324)]['to'],'shapeId':_0x86f31e['get'](_0x5cc3d9)}:_0x398715['relation']['to']=void 0x0;}return{'redos':[{'id':_0x47629f[_0x3faea0(0x341)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'type':_0x47629f[_0x3faea0(0x56d)][_0x3faea0(0x594)],'op':_0x44acb5,'objects':_0x533e44}},{'id':_0x501fe5[_0x3faea0(0x205)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'shapeId':_0x2a2183,'shapeType':_0x5021dd,'shapeData':_0x398715}}],'undos':[{'id':_0x47629f[_0x3faea0(0x341)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'type':_0x47629f[_0x3faea0(0x56d)][_0x3faea0(0x1ad)],'op':_0x26af63,'objects':_0x533e44}},{'id':_0x501fe5[_0x3faea0(0x2ba)]['id'],'params':{'unitId':_0x1fa29e,'subUnitId':_0x43c159,'shapeId':_0x2a2183}}]};}[_0x3bbe12(0x435)](_0x80f8b4,_0x12c0a0,_0x49aa21,_0x12aa2a){const _0x1565e3=_0x3bbe12;let {range:_0x1eab22,skeleton:_0x3efb08}=_0x12c0a0,{range:_0x38655d,skeleton:_0x5ba3bf}=_0x49aa21,{transform:_0x90deea,sheetTransform:_0x15566c}=_0x80f8b4,_0x20c710={..._0x90deea};if(_0x1eab22){let _0x502479=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x3efb08,_0x1eab22),_0x39be38=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x5ba3bf,_0x38655d);if(_0x502479&&_0x39be38){let _0x833fe8=_0x39be38[_0x1565e3(0x22e)]-_0x502479[_0x1565e3(0x22e)],_0x5d3b1d=_0x39be38[_0x1565e3(0x41b)]-_0x502479['startY'];_0x20c710[_0x1565e3(0x44f)]=(_0x20c710['left']??0x0)+_0x833fe8,_0x20c710[_0x1565e3(0x200)]=(_0x20c710[_0x1565e3(0x200)]??0x0)+_0x5d3b1d;}}else{let _0x35c742=(0x0,_0x2e7766[_0x1565e3(0x325)])(_0x5ba3bf,_0x38655d);if(_0x12aa2a&&_0x35c742){let _0xc4c2e1=(_0x20c710[_0x1565e3(0x44f)]??0x0)-_0x12aa2a['left'],_0x1aeac6=(_0x20c710[_0x1565e3(0x200)]??0x0)-_0x12aa2a[_0x1565e3(0x200)];_0x20c710[_0x1565e3(0x44f)]=_0x35c742['startX']+_0xc4c2e1,_0x20c710['top']=_0x35c742[_0x1565e3(0x41b)]+_0x1aeac6;}else _0x20c710[_0x1565e3(0x44f)]=_0x35c742==null?void 0x0:_0x35c742['startX'],_0x20c710['top']=_0x35c742==null?void 0x0:_0x35c742['startY'];}return{'transform':_0x20c710,'sheetTransform':(0x0,_0x47629f[_0x1565e3(0x326)])(_0x20c710,_0x5ba3bf)??_0x15566c};}};_0x55b3a8=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x531)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f['ISheetClipboardService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x47629f[_0x3bbe12(0x428)])),_0x5ec307(0x3,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x4,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x29d240[_0x3bbe12(0x4f0)]))],_0x55b3a8);var _0x4daa96=class extends _0x463287['Shape']{constructor(_0x3649ea,_0xf7e2b2){const _0x1de89d=_0x3bbe12;super(_0x3649ea,_0xf7e2b2),_0x19095(this,_0x1de89d(0x4d3),null),_0x19095(this,_0x1de89d(0x4c8),null),_0x19095(this,_0x1de89d(0x439),null),_0x19095(this,'_subUnitId',null),_0x19095(this,'_isStartConnectorPoint',!0x1),_0xf7e2b2&&this[_0x1de89d(0x2f2)](_0xf7e2b2);}['getDrawingSearch'](){const _0x310aa6=_0x3bbe12;return{'unitId':this[_0x310aa6(0x439)],'subUnitId':this[_0x310aa6(0x569)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x100cfa){const _0x177009=_0x3bbe12;_0x100cfa[_0x177009(0x222)]!==void 0x0&&(this[_0x177009(0x4d3)]=_0x100cfa['shapeId']),_0x100cfa[_0x177009(0x53b)]!==void 0x0&&(this[_0x177009(0x439)]=_0x100cfa[_0x177009(0x53b)]),_0x100cfa[_0x177009(0x58c)]!==void 0x0&&(this[_0x177009(0x569)]=_0x100cfa['subUnitId']),_0x100cfa[_0x177009(0x54c)]!==void 0x0&&(this[_0x177009(0x3fc)]=_0x100cfa[_0x177009(0x54c)]),this[_0x177009(0x23f)]({'width':_0x100cfa[_0x177009(0x3a0)],'height':_0x100cfa['height']});}[_0x3bbe12(0x3d3)](_0x15b573){const _0x12ebfa=_0x3bbe12;_0x463287['Circle'][_0x12ebfa(0x2da)](_0x15b573,{'radius':_0x1c9bad[_0x12ebfa(0x1b9)][_0x12ebfa(0x3b0)],'fill':_0x1c9bad[_0x12ebfa(0x1b9)][_0x12ebfa(0x558)],'stroke':_0x1c9bad[_0x12ebfa(0x1b9)]['cxnPointStroke'],'strokeWidth':_0x1c9bad[_0x12ebfa(0x1b9)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x297d03=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x1919d3,_0x2099f9,_0x23daeb,_0x116450,_0x397d2c,_0x2dccb6,_0x446fab,_0x2f640a){const _0x44da45=_0x3bbe12;super(),this[_0x44da45(0x4a9)]=_0x1919d3,this[_0x44da45(0x555)]=_0x2099f9,this[_0x44da45(0x3e6)]=_0x23daeb,this[_0x44da45(0x4fb)]=_0x116450,this['_univerInstanceService']=_0x397d2c,this[_0x44da45(0x3e3)]=_0x2dccb6,this['_sheetShapeAdjustController']=_0x446fab,this['_sheetBasicShapeConnectionPointController']=_0x2f640a,_0x19095(this,'_activeShapeId',void 0x0),_0x19095(this,_0x44da45(0x439),void 0x0),_0x19095(this,_0x44da45(0x569),void 0x0),_0x19095(this,_0x44da45(0x39b),[]),_0x19095(this,_0x44da45(0x41a),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x19095(this,_0x44da45(0x418),void 0x0),_0x19095(this,_0x44da45(0x25f),!0x1),_0x19095(this,_0x44da45(0x411),!0x1),_0x19095(this,_0x44da45(0x301),!0x1),_0x19095(this,_0x44da45(0x1f1),void 0x0),_0x19095(this,'_cxtHandlerPointerUp',void 0x0),_0x19095(this,_0x44da45(0x392),null),this[_0x44da45(0x598)]();}[_0x3bbe12(0x598)](){const _0x18d609=_0x3bbe12;this[_0x18d609(0x3c9)](),this['_registerDrawingMoveHandler']();}[_0x3bbe12(0x2f9)](){const _0x101c20=_0x3bbe12;if(!this[_0x101c20(0x439)]||!this[_0x101c20(0x569)]||!this[_0x101c20(0x2d9)])return;let _0xc02313={'unitId':this[_0x101c20(0x439)],'subUnitId':this[_0x101c20(0x569)],'drawingId':this[_0x101c20(0x2d9)]},{transform:_0x591801}=this['_drawingManagerService'][_0x101c20(0x1d0)](_0xc02313);if(_0x591801)return{'left':_0x591801['left']||0x0,'top':_0x591801[_0x101c20(0x200)]||0x0,'width':_0x591801[_0x101c20(0x3a0)]||0x0,'height':_0x591801[_0x101c20(0x330)]||0x0,'flipX':_0x591801[_0x101c20(0x55e)]||!0x1,'flipY':_0x591801[_0x101c20(0x4ad)]||!0x1,'angle':_0x591801[_0x101c20(0x4b8)]};}[_0x3bbe12(0x37c)](){const _0x25c9b2=_0x3bbe12;if(this[_0x25c9b2(0x439)]===void 0x0||this['_subUnitId']===void 0x0||this[_0x25c9b2(0x2d9)]===void 0x0)return;let _0x22c0ef=this['_renderManagerService'][_0x25c9b2(0x3de)](this[_0x25c9b2(0x439)]);if(!_0x22c0ef||!_0x22c0ef[_0x25c9b2(0x512)](_0x54c89f['SheetSkeletonManagerService'])[_0x25c9b2(0x1f3)]())return;let {scene:_0x422704}=_0x22c0ef,_0x4d657c=this[_0x25c9b2(0x2f9)]();if(!_0x4d657c)return;let _0x1cb321=this[_0x25c9b2(0x3e3)][_0x25c9b2(0x338)](this[_0x25c9b2(0x439)],this[_0x25c9b2(0x569)],this['_activeShapeId']);if(!_0x1cb321||!(0x0,_0x1c9bad[_0x25c9b2(0x48b)])(_0x1cb321['getShapeType']()))return;let _0x1c0a74=_0x1cb321[_0x25c9b2(0x2a1)]();if(_0x1c0a74[_0x25c9b2(0x2bb)]<0x2)return;let _0x6c8d40=new _0x1c9bad[(_0x25c9b2(0x3ad))](_0x4d657c),_0x309de6=_0x1c0a74[0x0],_0x488192=_0x1c0a74[_0x1c0a74['length']-0x1],_0x1ea0f3=_0x6c8d40[_0x25c9b2(0x2a3)](_0x309de6),_0x567ff8=_0x6c8d40['localToWorld'](_0x488192);this['_addShapeConnectorHandlerObject'](_0x422704,{..._0x1ea0f3},!0x0),this[_0x25c9b2(0x201)](_0x422704,{..._0x567ff8},!0x1);}['_addShapeConnectorHandlerObject'](_0x1f6736,_0x26dfab,_0x560f36){const _0xcc937d=_0x3bbe12;if(this['_activeShapeId']===void 0x0||this[_0xcc937d(0x439)]===void 0x0||this[_0xcc937d(0x569)]===void 0x0)return;let _0x20e11b=_0xcc937d(0x436)+this[_0xcc937d(0x439)]+'-'+this[_0xcc937d(0x569)]+'-'+this[_0xcc937d(0x2d9)]+'-'+(_0x560f36?_0xcc937d(0x539):_0xcc937d(0x394)),_0x19e17b=_0x1f6736[_0xcc937d(0x53d)](_0x20e11b);if(_0x19e17b){_0x19e17b[_0xcc937d(0x23f)]({'left':_0x26dfab['x']-_0x1c9bad['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x26dfab['y']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)]});return;}let _0x3878d9=new _0x4daa96(_0x20e11b,{'left':_0x26dfab['x']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)],'top':_0x26dfab['y']-_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0xcc937d(0x569)],'isStartConnectorPoint':_0x560f36,'width':_0x1c9bad[_0xcc937d(0x1b9)][_0xcc937d(0x3b0)]*0x2,'height':_0x1c9bad['ShapeDefaultConfig'][_0xcc937d(0x3b0)]*0x2,'zIndex':_0x463287[_0xcc937d(0x526)]+0x1,'evented':!0x0});this[_0xcc937d(0x39b)][_0xcc937d(0x36e)](_0x3878d9),this['_attachConnectorObjectEvent'](_0x3878d9,_0x1f6736,_0x560f36),_0x1f6736[_0xcc937d(0x4a1)](_0x3878d9,_0x463287[_0xcc937d(0x526)]+0x1);}[_0x3bbe12(0x1ff)](_0x5b4c1e,_0x477c32){const _0x3e87b4=_0x3bbe12;var _0x527537;let _0x57ed6d={'x':0x0,'y':0x0};if(!_0x5b4c1e||!_0x477c32)return _0x57ed6d;let _0x599297=this[_0x3e87b4(0x3e6)][_0x3e87b4(0x3de)](_0x5b4c1e);if(!_0x599297||!_0x599297[_0x3e87b4(0x512)](_0x54c89f[_0x3e87b4(0x542)])[_0x3e87b4(0x27e)](_0x477c32))return _0x57ed6d;let _0x5112e4=_0x599297[_0x3e87b4(0x512)](_0x54c89f[_0x3e87b4(0x253)]),_0x58f901=_0x5112e4==null?void 0x0:_0x5112e4[_0x3e87b4(0x335)]();if(!_0x58f901)return _0x57ed6d;let _0x14f732=(_0x527537=this['_univerInstanceService'][_0x3e87b4(0x284)](_0x5b4c1e))==null?void 0x0:_0x527537[_0x3e87b4(0x48d)](_0x477c32);if(!_0x14f732)return _0x57ed6d;let _0x1b4083=(0x0,_0x54c89f[_0x3e87b4(0x427)])(_0x58f901['sheetViewStartRow'],_0x58f901[_0x3e87b4(0x3ba)],_0x599297[_0x3e87b4(0x29e)],_0x14f732);return _0x1b4083?{'x':_0x1b4083[_0x3e87b4(0x556)],'y':_0x1b4083[_0x3e87b4(0x443)]}:_0x57ed6d;}['_getZoomRatio'](_0x350f60,_0x5bd5c8){const _0x475b76=_0x3bbe12;var _0x4cf4a6;let _0x5e30b7=(_0x4cf4a6=this[_0x475b76(0x2cc)][_0x475b76(0x284)](_0x350f60))==null?void 0x0:_0x4cf4a6[_0x475b76(0x48d)](_0x5bd5c8);return(_0x5e30b7==null?void 0x0:_0x5e30b7[_0x475b76(0x43d)]())??0x1;}['_handleConnectorPointerUp'](_0x207612,_0xe3c551,_0x3799f2,_0xf18d3b,_0x3abf02){const _0x51e6=_0x3bbe12;this[_0x51e6(0x1f1)][_0x51e6(0x465)](),this['_cxtHandlerPointerUp'][_0x51e6(0x465)](),this[_0x51e6(0x25c)][_0x51e6(0x27d)]();let _0x355518=this[_0x51e6(0x392)];this['_sheetBasicShapeConnectionPointController']['endConnectionDetection']();let _0x3960be=this[_0x51e6(0x1ff)](this[_0x51e6(0x439)],this[_0x51e6(0x569)]),_0x2fa592=this[_0x51e6(0x4c5)](this['_unitId'],this['_subUnitId']),_0x420648={'x':_0x3799f2['offsetX']/_0x2fa592+_0x3960be['x'],'y':_0x3799f2[_0x51e6(0x1f9)]/_0x2fa592+_0x3960be['y']},_0x5e78cf=_0x355518?_0x355518['worldPoint']:_0x420648,_0x7011de=_0xf18d3b?this[_0x51e6(0x418)][_0x51e6(0x282)]():this[_0x51e6(0x418)][_0x51e6(0x528)](),_0x2d7271=this[_0x51e6(0x418)][_0x51e6(0x281)]();_0x7011de?this['_handleConnectedEndpointPointerUp'](_0x7011de,_0x5e78cf,_0xf18d3b,_0x355518,_0x3abf02):this[_0x51e6(0x59c)](_0xe3c551,_0x5e78cf,_0xf18d3b,_0x355518,_0x3abf02,_0x2d7271),this['_isConnecting']=!0x1,this[_0x51e6(0x301)]=!0x1,this['_currentConnectionTarget']=null,_0x207612['enableObjectsEvent']();}[_0x3bbe12(0x59c)](_0x1464c9,_0x25fe8a,_0x2345da,_0x1700ca,_0x160b42,_0x4acf65){const _0x2a49a7=_0x3bbe12;let _0x18f94d=_0x4acf65===_0x1c9bad['ShapeTypeEnum'][_0x2a49a7(0x463)]||_0x4acf65===_0x1c9bad[_0x2a49a7(0x42d)]['StraightConnector1'],_0xd1ef13=_0x2345da?_0x25fe8a:_0x1464c9,_0x33114a=_0x2345da?_0x1464c9:_0x25fe8a,_0xc6ef6d=this[_0x2a49a7(0x418)][_0x2a49a7(0x2a1)](),_0x19ebe9=this[_0x2a49a7(0x418)]['getShapeType'](),_0x2f2009=(0x0,_0x1c9bad['isCurvedConnectorShape'])(_0x19ebe9),_0x22ca2e=_0x1c9bad['ConnectorCoordinateTransform']['getBentTypeFromPoints'](_0xc6ef6d,_0x2f2009),_0xa7c6df=_0x18f94d?_0x1c9bad[_0x2a49a7(0x3ad)][_0x2a49a7(0x2f5)](_0xd1ef13,_0x33114a):_0x1c9bad[_0x2a49a7(0x3ad)][_0x2a49a7(0x2ae)](_0x1464c9,_0x25fe8a,_0x2345da,_0x22ca2e);_0x1700ca?this[_0x2a49a7(0x327)](_0xa7c6df,_0x1700ca,_0x2345da,_0x160b42):this['_executeResizeCommand'](_0xa7c6df,_0x160b42);}['_handleConnectedEndpointPointerUp'](_0x929d7f,_0x364825,_0x2b9e3f,_0x243aa5,_0x3e467d){const _0xff8f3b=_0x3bbe12;let _0x3b7fbd=this['_getConnectPointInfo'](_0x929d7f);if(!_0x3b7fbd)return;let _0x1ecee2=_0x243aa5?_0x243aa5['angle']:this[_0xff8f3b(0x21e)](_0x3b7fbd[_0xff8f3b(0x591)],_0x364825),_0x3a6ade;if(_0x243aa5){let _0x4dea91=this[_0xff8f3b(0x4fb)]['getDrawingByParam']({'unitId':_0x243aa5[_0xff8f3b(0x53b)],'subUnitId':_0x243aa5[_0xff8f3b(0x58c)],'drawingId':_0x243aa5['shapeId']});if(_0x4dea91!=null&&_0x4dea91[_0xff8f3b(0x22c)]){let {left:_0x34fc23=0x0,top:_0x56f9e4=0x0,width:_0xfc8eed=0x0,height:_0x3996cb=0x0,angle:_0x5c93e8}=_0x4dea91[_0xff8f3b(0x22c)];_0x3a6ade=(0x0,_0x1c9bad[_0xff8f3b(0x50d)])({'left':_0x34fc23,'top':_0x56f9e4,'width':_0xfc8eed,'height':_0x3996cb},_0x5c93e8||0x0);}else _0x3a6ade={'left':_0x364825['x'],'top':_0x364825['y'],'width':0x0,'height':0x0};}else _0x3a6ade={'left':_0x364825['x'],'top':_0x364825['y'],'width':0x0,'height':0x0};let _0x201c13={'point':_0x364825,'angle':_0x1ecee2,'bounds':_0x3a6ade},_0x437299=_0x2b9e3f?_0x201c13:_0x3b7fbd,_0x12ad97=_0x2b9e3f?_0x3b7fbd:_0x201c13,_0x30b4e4=this['_activeShapeModel']['getShapeType'](),_0x4fc9dc=(0x0,_0x1c9bad[_0xff8f3b(0x402)])(_0x437299,_0x12ad97,_0x30b4e4);this[_0xff8f3b(0x418)][_0xff8f3b(0x33a)]();let _0x5356be=(0x0,_0x1c9bad[_0xff8f3b(0x4e3)])(_0x4fc9dc,_0x30b4e4);_0x243aa5?this[_0xff8f3b(0x4df)](_0x5356be,_0x243aa5,_0x929d7f,_0x2b9e3f,_0x3e467d):this['_executeConnectedRouteResizeCommand'](_0x5356be,_0x929d7f,_0x2b9e3f,_0x3e467d);}[_0x3bbe12(0x327)](_0x26bd54,_0x3547bf,_0x321fc1,_0x232a87){const _0x15ae22=_0x3bbe12;let _0x1aa2d0=this[_0x15ae22(0x418)][_0x15ae22(0x334)]()[_0x15ae22(0x324)],_0x256233={..._0x1aa2d0},_0x2cb279={'shapeId':_0x3547bf[_0x15ae22(0x222)],'cxnIndex':_0x3547bf['cxnIndex']};_0x321fc1?_0x256233[_0x15ae22(0x37a)]=_0x2cb279:_0x256233['to']=_0x2cb279;let _0x41fc7a=this[_0x15ae22(0x418)]['getShapeType'](),_0x492572=(0x0,_0x1c9bad[_0x15ae22(0x4e3)])(_0x26bd54[_0x15ae22(0x34d)],_0x41fc7a),_0x54e65d={'unitId':this[_0x15ae22(0x439)],'subUnitId':this[_0x15ae22(0x569)],'connectorShapeId':this[_0x15ae22(0x2d9)],'width':_0x26bd54['worldRect'][_0x15ae22(0x3a0)],'height':_0x26bd54[_0x15ae22(0x51b)]['height'],'left':_0x26bd54[_0x15ae22(0x51b)][_0x15ae22(0x44f)],'top':_0x26bd54['worldRect']['top'],'flipX':_0x26bd54['worldRect'][_0x15ae22(0x55e)]||!0x1,'flipY':_0x26bd54[_0x15ae22(0x51b)][_0x15ae22(0x4ad)]||!0x1,'newAdjustValues':_0x492572[_0x15ae22(0x3cb)],'oldAdjustValues':_0x232a87,'oldRelation':_0x1aa2d0,'newRelation':_0x256233,'newLineType':_0x492572[_0x15ae22(0x4e0)],'oldLineType':_0x41fc7a};this['_commandService'][_0x15ae22(0x207)](_0x501fe5[_0x15ae22(0x311)]['id'],_0x54e65d);}['_executeResizeCommand'](_0x4a2fc9,_0xd9fc80){const _0x456041=_0x3bbe12;let _0x54776f=this[_0x456041(0x418)]['getShapeType'](),_0x4c6843=(0x0,_0x1c9bad[_0x456041(0x4e3)])(_0x4a2fc9[_0x456041(0x34d)],_0x54776f),_0x3bf9e6={'unitId':this['_unitId'],'subUnitId':this[_0x456041(0x569)],'shapeId':this['_activeShapeId'],'width':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x3a0)],'height':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x330)],'left':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x44f)],'top':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x200)],'flipX':_0x4a2fc9['worldRect'][_0x456041(0x55e)]||!0x1,'flipY':_0x4a2fc9[_0x456041(0x51b)][_0x456041(0x4ad)]||!0x1,'angle':_0x4a2fc9['worldRect'][_0x456041(0x4b8)]||0x0,'newAdjustValues':_0x4c6843[_0x456041(0x3cb)],'oldAdjustValues':_0xd9fc80,'newLineType':_0x4c6843['lineType'],'oldLineType':_0x54776f};this[_0x456041(0x555)]['executeCommand'](_0x501fe5['UpdateLineShapeResizeCommand']['id'],_0x3bf9e6);}[_0x3bbe12(0x4df)](_0x404fb4,_0x11efb0,_0x3bf3ad,_0x2e2b24,_0x4e9c00){const _0x56f7ca=_0x3bbe12;let _0x22845d=this['_activeShapeModel']['getShapeData']()[_0x56f7ca(0x324)],_0x31b8ce={..._0x22845d},_0x1bee8c={'shapeId':_0x11efb0[_0x56f7ca(0x222)],'cxnIndex':_0x11efb0[_0x56f7ca(0x24a)]};_0x2e2b24?(_0x31b8ce[_0x56f7ca(0x37a)]=_0x1bee8c,_0x31b8ce['to']=_0x3bf3ad):(_0x31b8ce[_0x56f7ca(0x37a)]=_0x3bf3ad,_0x31b8ce['to']=_0x1bee8c);let _0x3bcbe1={'unitId':this[_0x56f7ca(0x439)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x56f7ca(0x2d9)],'width':_0x404fb4[_0x56f7ca(0x51b)]['width'],'height':_0x404fb4[_0x56f7ca(0x51b)]['height'],'left':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x44f)],'top':_0x404fb4['worldRect']['top'],'flipX':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x55e)]||!0x1,'flipY':_0x404fb4[_0x56f7ca(0x51b)][_0x56f7ca(0x4ad)]||!0x1,'oldAdjustValues':_0x4e9c00,'newAdjustValues':_0x404fb4['adjustValues'],'newLineType':_0x404fb4[_0x56f7ca(0x4e0)],'rotation':_0x404fb4[_0x56f7ca(0x27f)],'oldRelation':_0x22845d,'newRelation':_0x31b8ce};this[_0x56f7ca(0x555)][_0x56f7ca(0x207)](_0x501fe5[_0x56f7ca(0x311)]['id'],_0x3bcbe1);}[_0x3bbe12(0x241)](_0x5ca50c,_0x1246b2,_0x2a80ea,_0x29b0a8){const _0x4210bd=_0x3bbe12;let _0x4bf9ee=this['_activeShapeModel'][_0x4210bd(0x334)]()[_0x4210bd(0x324)],_0x29d1f1={};_0x2a80ea?(_0x29d1f1['to']=_0x1246b2,_0x29d1f1['from']=void 0x0):(_0x29d1f1['from']=_0x1246b2,_0x29d1f1['to']=void 0x0);let _0x1d100b={'unitId':this['_unitId'],'subUnitId':this[_0x4210bd(0x569)],'connectorShapeId':this[_0x4210bd(0x2d9)],'width':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x3a0)],'height':_0x5ca50c[_0x4210bd(0x51b)]['height'],'left':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x44f)],'top':_0x5ca50c[_0x4210bd(0x51b)][_0x4210bd(0x200)],'flipX':_0x5ca50c[_0x4210bd(0x51b)]['flipX']||!0x1,'flipY':_0x5ca50c['worldRect'][_0x4210bd(0x4ad)]||!0x1,'oldAdjustValues':_0x29b0a8,'newAdjustValues':_0x5ca50c['adjustValues'],'newLineType':_0x5ca50c[_0x4210bd(0x4e0)],'rotation':_0x5ca50c[_0x4210bd(0x27f)],'oldRelation':_0x4bf9ee,'newRelation':_0x29d1f1};this[_0x4210bd(0x555)][_0x4210bd(0x207)](_0x501fe5[_0x4210bd(0x311)]['id'],_0x1d100b);}[_0x3bbe12(0x2ce)](_0x3ba561,_0x2c8cee,_0x3be1ab){const _0x57eeb0=_0x3bbe12;this[_0x57eeb0(0x368)]((0x0,_0x5b0763['toDisposable'])(_0x3ba561['onPointerDown$'][_0x57eeb0(0x373)]((_0x11b4bd,_0x514480)=>{const _0x3526b4=_0x57eeb0;let _0x2b00cb=_0x3ba561[_0x3526b4(0x333)]();if(this[_0x3526b4(0x418)]=this['_sheetsShapeService'][_0x3526b4(0x338)](_0x2b00cb['unitId'],_0x2b00cb[_0x3526b4(0x58c)],_0x2b00cb[_0x3526b4(0x1af)]),!this['_activeShapeModel'])return;let _0x41e19d={};this[_0x3526b4(0x418)][_0x3526b4(0x1ba)]()[_0x3526b4(0x1e7)](_0x3a4695=>{const _0x133720=_0x3526b4;let _0x2e9299=this[_0x133720(0x418)][_0x133720(0x262)](_0x3a4695);_0x2e9299!==void 0x0&&(_0x41e19d[_0x3a4695]=_0x2e9299);});let _0x438ab8=this[_0x3526b4(0x2f9)]();if(!_0x438ab8)return;this[_0x3526b4(0x41a)]={..._0x438ab8};let _0xb5b0c4=new _0x1c9bad[(_0x3526b4(0x3ad))](this[_0x3526b4(0x41a)]),_0x58d9b4=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x3526b4(0x439)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3526b4(0x2d9)]}),_0x2e92d6=_0x2c8cee[_0x3526b4(0x53d)](_0x58d9b4);this[_0x3526b4(0x25f)]=!0x0,_0x2c8cee['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x2c8cee,this[_0x3526b4(0x439)],this[_0x3526b4(0x569)],this['_activeShapeId']),this[_0x3526b4(0x392)]=null;let _0x5000d9=this[_0x3526b4(0x418)]['getConnectorLinePoints'](),_0x453d69=_0x5000d9[0x0],_0x50d9b8=_0x5000d9[_0x5000d9['length']-0x1],_0x4d3bee=_0x3be1ab?_0xb5b0c4[_0x3526b4(0x2a3)](_0x50d9b8):_0xb5b0c4[_0x3526b4(0x2a3)](_0x453d69);this[_0x3526b4(0x1f1)]=_0x2c8cee[_0x3526b4(0x502)][_0x3526b4(0x373)]((_0x179133,_0x2b79a9)=>{const _0x15ff46=_0x3526b4;if(!this[_0x15ff46(0x25f)]||!this[_0x15ff46(0x418)])return;this[_0x15ff46(0x301)]||=(this[_0x15ff46(0x25c)][_0x15ff46(0x3ee)](),this[_0x15ff46(0x418)][_0x15ff46(0x367)](),!0x0);let _0x2c7c17=this[_0x15ff46(0x1ff)](this[_0x15ff46(0x439)],this['_subUnitId']),_0x558d16=this['_getZoomRatio'](this[_0x15ff46(0x439)],this[_0x15ff46(0x569)]),_0x322c1b={'x':_0x179133[_0x15ff46(0x4a0)]/_0x558d16+_0x2c7c17['x'],'y':_0x179133[_0x15ff46(0x1f9)]/_0x558d16+_0x2c7c17['y']},_0x5bc391=this[_0x15ff46(0x53c)][_0x15ff46(0x356)](_0x322c1b);if(_0x5bc391){let {shapeId:_0x44763a,unitId:_0x29d318,subUnitId:_0x46ded5}=_0x5bc391;if(_0x44763a&&_0x29d318&&_0x46ded5){let _0x287216=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x29d318,'subUnitId':_0x46ded5,'drawingId':_0x44763a});_0x5bc391[_0x15ff46(0x4b8)]=(_0x2c8cee['getObjectIncludeInGroup'](_0x287216)[_0x15ff46(0x4b8)]||0x0)+_0x5bc391[_0x15ff46(0x4b8)];}}this[_0x15ff46(0x392)]=_0x5bc391;let _0x4b02d3=_0x3be1ab?this[_0x15ff46(0x418)][_0x15ff46(0x282)]():this[_0x15ff46(0x418)][_0x15ff46(0x528)]();if(_0x4b02d3){this[_0x15ff46(0x232)](_0x4b02d3,_0x322c1b,_0x3be1ab,_0x2e92d6,_0x3ba561);return;}this['_handleFreeEndpointMove'](_0x322c1b,_0x4d3bee,_0x3be1ab,_0x2e92d6,_0x3ba561);}),this[_0x3526b4(0x389)]=_0x2c8cee[_0x3526b4(0x52f)][_0x3526b4(0x373)]((_0x1ade4b,_0x5076ff)=>{const _0x52210f=_0x3526b4;this[_0x52210f(0x4d5)](_0x2c8cee,_0x4d3bee,_0x1ade4b,_0x3be1ab,_0x41e19d);}),_0x514480[_0x3526b4(0x50b)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x192770,_0x366f2f,_0x2de760){const _0x10ea24=_0x3bbe12;let _0x354e59=this[_0x10ea24(0x3e3)][_0x10ea24(0x499)](_0x192770,_0x366f2f,_0x2de760);if(!_0x354e59||_0x354e59[_0x10ea24(0x2bb)]===0x0)return;let _0x52afd5=this['_renderManagerService'][_0x10ea24(0x3de)](_0x192770);if(!_0x52afd5)return;let {scene:_0x562a53}=_0x52afd5;for(let _0x5256f7 of _0x354e59){let _0x1f0b86=_0x5256f7[_0x10ea24(0x2e3)],_0x3e43e2=this[_0x10ea24(0x3e3)][_0x10ea24(0x338)](_0x192770,_0x366f2f,_0x1f0b86);if(!_0x3e43e2)continue;let _0x292e44=_0x3e43e2[_0x10ea24(0x528)](),_0x44a0ed=_0x3e43e2[_0x10ea24(0x282)](),_0x3138f5=(_0x292e44==null?void 0x0:_0x292e44[_0x10ea24(0x222)])===_0x2de760,_0x1c7694=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x192770,'subUnitId':_0x366f2f,'drawingId':_0x1f0b86}),_0x38fc34=_0x562a53[_0x10ea24(0x53d)](_0x1c7694);if(!_0x38fc34)continue;let _0x246902=this[_0x10ea24(0x4fb)]['getDrawingByParam']({'unitId':_0x192770,'subUnitId':_0x366f2f,'drawingId':_0x1f0b86});_0x246902!=null&&_0x246902['transform']&&(_0x292e44&&_0x44a0ed?this['_rerouteConnectorLine'](_0x192770,_0x366f2f,_0x1f0b86,_0x3e43e2,_0x292e44,_0x44a0ed,_0x38fc34):this[_0x10ea24(0x2c7)](_0x192770,_0x366f2f,_0x1f0b86,_0x3e43e2,_0x3138f5?_0x292e44:_0x44a0ed,_0x3138f5,_0x246902,_0x38fc34));}}[_0x3bbe12(0x2ff)](_0x5d4e20,_0x637537,_0x53fb9b,_0x3c1e12,_0xcd86c5,_0x25b97b,_0x185f30){const _0x50458a=_0x3bbe12;let _0x19ca09=this['_unitId'],_0x3f81d5=this['_subUnitId'];this[_0x50458a(0x439)]=_0x5d4e20,this[_0x50458a(0x569)]=_0x637537;let _0x221737=this['_getConnectPointInfo'](_0xcd86c5),_0x2b97ee=this[_0x50458a(0x28c)](_0x25b97b);if(this[_0x50458a(0x439)]=_0x19ca09,this[_0x50458a(0x569)]=_0x3f81d5,!_0x221737||!_0x2b97ee)return;let _0x14d2cd=_0x3c1e12[_0x50458a(0x281)](),_0x5e23a3=(0x0,_0x1c9bad[_0x50458a(0x402)])(_0x221737,_0x2b97ee,_0x14d2cd);_0x5e23a3&&_0x3c1e12[_0x50458a(0x35f)](_0x5e23a3);let _0x171384=(0x0,_0x1c9bad[_0x50458a(0x4e3)])(_0x5e23a3,_0x14d2cd);_0x171384['lineType']!==_0x14d2cd&&_0x3c1e12[_0x50458a(0x22a)](_0x171384[_0x50458a(0x4e0)]),_0x3c1e12[_0x50458a(0x367)]();for(let [_0x114a35,_0xd7bbbc]of Object[_0x50458a(0x359)](_0x171384[_0x50458a(0x3cb)]))_0x3c1e12['setAdjustValueByName'](_0x114a35,_0xd7bbbc);_0x3c1e12['updateContext']({'width':_0x171384[_0x50458a(0x51b)][_0x50458a(0x3a0)],'height':_0x171384[_0x50458a(0x51b)][_0x50458a(0x330)]}),_0x185f30[_0x50458a(0x23f)]({'flipX':_0x171384[_0x50458a(0x51b)]['flipX'],'flipY':_0x171384[_0x50458a(0x51b)][_0x50458a(0x4ad)],'left':_0x171384[_0x50458a(0x51b)][_0x50458a(0x44f)],'top':_0x171384[_0x50458a(0x51b)]['top'],'width':_0x171384['worldRect'][_0x50458a(0x3a0)],'height':_0x171384[_0x50458a(0x51b)]['height'],'angle':_0x171384[_0x50458a(0x27f)]}),_0x3c1e12[_0x50458a(0x33a)]();}[_0x3bbe12(0x2c7)](_0x13f8b5,_0x48589d,_0x29349d,_0x11a787,_0x2ba928,_0x494c84,_0x45ba38,_0x4a8680){const _0x839244=_0x3bbe12;let _0x149c65=this[_0x839244(0x439)],_0x262f6e=this[_0x839244(0x569)];this['_unitId']=_0x13f8b5,this[_0x839244(0x569)]=_0x48589d;let _0x1e133b=this['_getConnectPointInfo'](_0x2ba928);if(this[_0x839244(0x439)]=_0x149c65,this['_subUnitId']=_0x262f6e,!_0x1e133b)return;let {left:_0x5ece0e=0x0,top:_0x764d75=0x0,width:_0x2ecd4f=0x0,height:_0x2599ed=0x0,flipX:_0x81c072=!0x1,flipY:_0x687cb6=!0x1}=_0x45ba38['transform'],_0x203ea1=_0x11a787['getConnectorLinePoints']();if(_0x203ea1[_0x839244(0x2bb)]<0x2)return;let _0x5f3d7b=new _0x1c9bad[(_0x839244(0x3ad))]({'left':_0x5ece0e,'top':_0x764d75,'width':_0x2ecd4f,'height':_0x2599ed,'flipX':_0x81c072,'flipY':_0x687cb6}),_0x3bb49b=_0x494c84?_0x203ea1[_0x203ea1[_0x839244(0x2bb)]-0x1]:_0x203ea1[0x0],_0x1bdd72=_0x5f3d7b[_0x839244(0x2a3)](_0x3bb49b),_0x1a9087=_0x1c9bad['ConnectorCoordinateTransform'][_0x839244(0x2ae)](_0x1bdd72,_0x1e133b['point'],!_0x494c84);_0x4a8680[_0x839244(0x23f)]({'flipX':_0x1a9087[_0x839244(0x51b)][_0x839244(0x55e)],'flipY':_0x1a9087['worldRect']['flipY'],'left':_0x1a9087[_0x839244(0x51b)]['left'],'top':_0x1a9087[_0x839244(0x51b)][_0x839244(0x200)],'width':_0x1a9087[_0x839244(0x51b)][_0x839244(0x3a0)],'height':_0x1a9087[_0x839244(0x51b)][_0x839244(0x330)],'angle':_0x1a9087['worldRect']['angle']}),_0x4a8680[_0x839244(0x1b8)](!0x0);}[_0x3bbe12(0x4f3)](){const _0xb2d536=_0x3bbe12;this[_0xb2d536(0x39b)]['length']!==0x0&&(this[_0xb2d536(0x39b)][_0xb2d536(0x1e7)](_0x303295=>{const _0x20a2dd=_0xb2d536;_0x303295[_0x20a2dd(0x4a4)]();}),this[_0xb2d536(0x39b)]=[]);}[_0x3bbe12(0x360)](){const _0x43ed6c=_0x3bbe12;let _0x267c59=this[_0x43ed6c(0x2cc)][_0x43ed6c(0x529)](_0x5b0763[_0x43ed6c(0x48f)][_0x43ed6c(0x2ed)]);this[_0x43ed6c(0x368)](_0x267c59[_0x43ed6c(0x525)]((0x0,_0x3d6362[_0x43ed6c(0x515)])(_0x55bbb1=>_0x55bbb1?_0x55bbb1['activeSheet$'][_0x43ed6c(0x525)]((0x0,_0x3d6362[_0x43ed6c(0x515)])(_0x29a85b=>{const _0xd603e5=_0x43ed6c;if(!_0x29a85b)return _0x3d6362[_0xd603e5(0x39e)];let _0x907507=_0x55bbb1[_0xd603e5(0x292)](),_0x145f6a=this[_0xd603e5(0x3e6)][_0xd603e5(0x3de)](_0x907507),_0x1591e9=_0x145f6a==null?void 0x0:_0x145f6a[_0xd603e5(0x29e)];return _0x1591e9?(0x0,_0x3d6362['of'])(_0x1591e9):_0x3d6362[_0xd603e5(0x39e)];})):_0x3d6362[_0x43ed6c(0x39e)]))[_0x43ed6c(0x4f5)](_0x13468d=>{const _0x10078e=_0x43ed6c;let _0x2496f8=_0x13468d['getTransformerByCreate']();this[_0x10078e(0x368)](_0x13468d[_0x10078e(0x502)][_0x10078e(0x373)](_0x221fd5=>{const _0x58153e=_0x10078e;this['_isDrawingShapePointDown']&&this[_0x58153e(0x2d9)]&&this[_0x58153e(0x4f3)]();})),this['disposeWithMe'](_0x2496f8['changeStart$'][_0x10078e(0x4f5)](_0x28e591=>{const _0x3370ec=_0x10078e;let {objects:_0x1776c6}=_0x28e591;this['_clearShapeConnectorHandlerObjects'](),_0x1776c6!==null&&_0x1776c6[_0x3370ec(0x1c5)]===0x1&&_0x1776c6['values']()[_0x3370ec(0x32b)]()[_0x3370ec(0x43f)]instanceof _0x30f195&&(this[_0x3370ec(0x411)]=!0x0);})),this[_0x10078e(0x368)](_0x2496f8[_0x10078e(0x267)]['subscribe'](_0x1b48c5=>{const _0x3463ac=_0x10078e;this[_0x3463ac(0x411)]&&this[_0x3463ac(0x4f3)]();})),this[_0x10078e(0x368)](_0x13468d['onPointerUp$'][_0x10078e(0x373)](()=>{const _0x2ae4bd=_0x10078e;this['_isDrawingShapePointDown']&&(this[_0x2ae4bd(0x411)]=!0x1,this[_0x2ae4bd(0x37c)]());})),this['disposeWithMe'](_0x2496f8[_0x10078e(0x236)][_0x10078e(0x4f5)](()=>{const _0xe50042=_0x10078e;this[_0xe50042(0x439)]&&this[_0xe50042(0x569)]&&this[_0xe50042(0x2d9)]&&this[_0xe50042(0x4fb)][_0xe50042(0x1d0)]({'unitId':this['_unitId'],'subUnitId':this[_0xe50042(0x569)],'drawingId':this[_0xe50042(0x2d9)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0xe50042(0x37c)]());}));}));}[_0x3bbe12(0x3c9)](){const _0x257cae=_0x3bbe12;this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x419)][_0x257cae(0x4f5)](_0x209e91=>{const _0x479faa=_0x257cae;if(_0x209e91[_0x479faa(0x2bb)]===0x1){let _0xe625a7=_0x209e91[0x0];if(_0xe625a7[_0x479faa(0x1d3)]===_0x5b0763[_0x479faa(0x2f8)][_0x479faa(0x462)]){let _0x29838e=this[_0x479faa(0x3e3)][_0x479faa(0x338)](_0xe625a7['unitId'],_0xe625a7[_0x479faa(0x58c)],_0xe625a7[_0x479faa(0x1af)]);if(_0x29838e&&(0x0,_0x1c9bad['isConnectorShape'])(_0x29838e[_0x479faa(0x281)]())){this['_activeShapeId']=_0xe625a7['drawingId'],this[_0x479faa(0x439)]=_0xe625a7['unitId'],this['_subUnitId']=_0xe625a7[_0x479faa(0x58c)],this[_0x479faa(0x4f3)](),this['_addShapeConnectorHandlerObjects']();return;}}}this[_0x479faa(0x2d9)]=void 0x0,this[_0x479faa(0x439)]=void 0x0,this[_0x479faa(0x569)]=void 0x0,this[_0x479faa(0x4f3)]();})),this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x4d4)]['subscribe'](_0x4be2a5=>{const _0x57356a=_0x257cae;if(_0x4be2a5[_0x57356a(0x2bb)]===0x1){var _0x297f35;let _0x186354=_0x4be2a5[0x0],_0x28120c=(_0x297f35=this[_0x57356a(0x4fb)][_0x57356a(0x1d0)](_0x186354))==null?void 0x0:_0x297f35['drawingType'];_0x28120c===_0x5b0763[_0x57356a(0x2f8)]['DRAWING_SHAPE']&&_0x186354[_0x57356a(0x1af)]===this[_0x57356a(0x2d9)]?(this[_0x57356a(0x4f3)](),this[_0x57356a(0x37c)]()):!this[_0x57356a(0x2d9)]&&_0x28120c===_0x5b0763[_0x57356a(0x2f8)][_0x57356a(0x462)]&&this[_0x57356a(0x40f)](_0x186354[_0x57356a(0x53b)],_0x186354['subUnitId'],_0x186354[_0x57356a(0x1af)]);}})),this[_0x257cae(0x368)](this[_0x257cae(0x4fb)][_0x257cae(0x50c)][_0x257cae(0x4f5)](_0x486bc0=>{const _0x205a86=_0x257cae;for(let _0x432a37 of _0x486bc0){let {drawingId:_0x2eeb9d}=_0x432a37;if(this[_0x205a86(0x2d9)]===_0x2eeb9d){this[_0x205a86(0x31a)]();return;}}}));}[_0x3bbe12(0x232)](_0x288fa5,_0x4e729a,_0x57993e,_0x578078,_0x1ea9e3){const _0x141e38=_0x3bbe12;var _0x36266c;if(!this[_0x141e38(0x418)])return;let _0x10d903=this[_0x141e38(0x28c)](_0x288fa5);if(!_0x10d903)return;let _0x18c074=this[_0x141e38(0x392)]?this[_0x141e38(0x392)]['worldPoint']:_0x4e729a,_0x3e0b49=this[_0x141e38(0x392)]?this['_currentConnectionTarget'][_0x141e38(0x4b8)]:this['_calculateFreeEndpointAngle'](_0x10d903['point'],_0x18c074),_0x2012e7;if(this[_0x141e38(0x392)]){let _0x108750=this['_drawingManagerService'][_0x141e38(0x1d0)]({'unitId':this['_currentConnectionTarget']['unitId'],'subUnitId':this[_0x141e38(0x392)][_0x141e38(0x58c)],'drawingId':this[_0x141e38(0x392)][_0x141e38(0x222)]});if(_0x108750!=null&&_0x108750[_0x141e38(0x22c)]){let {left:_0x2fc0a6=0x0,top:_0x56923=0x0,width:_0xbe8918=0x0,height:_0x129dd6=0x0,angle:_0x170250}=_0x108750[_0x141e38(0x22c)];_0x2012e7=(0x0,_0x1c9bad[_0x141e38(0x50d)])({'left':_0x2fc0a6,'top':_0x56923,'width':_0xbe8918,'height':_0x129dd6},_0x170250||0x0);}else _0x2012e7={'left':_0x18c074['x'],'top':_0x18c074['y'],'width':0x0,'height':0x0};}else _0x2012e7={'left':_0x18c074['x'],'top':_0x18c074['y'],'width':0x0,'height':0x0};let _0x1a989c={'point':_0x18c074,'angle':_0x3e0b49,'bounds':_0x2012e7},_0x2f7591=_0x57993e?_0x1a989c:_0x10d903,_0x1b63af=_0x57993e?_0x10d903:_0x1a989c,_0xb1b795=this[_0x141e38(0x418)]['getShapeType'](),_0x427dab=(0x0,_0x1c9bad['routeConnectorLineShape'])(_0x2f7591,_0x1b63af,_0xb1b795);_0x427dab&&this[_0x141e38(0x418)][_0x141e38(0x35f)](_0x427dab);let _0x5d459f=(0x0,_0x1c9bad[_0x141e38(0x4e3)])(_0x427dab,_0xb1b795);_0x5d459f[_0x141e38(0x4e0)]!==_0xb1b795&&this[_0x141e38(0x418)][_0x141e38(0x22a)](_0x5d459f[_0x141e38(0x4e0)]);for(let [_0x2d03da,_0x3f4782]of Object[_0x141e38(0x359)](_0x5d459f[_0x141e38(0x3cb)]))this['_activeShapeModel'][_0x141e38(0x4ae)](_0x2d03da,_0x3f4782);this[_0x141e38(0x418)]['updateContext']({'width':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x3a0)],'height':_0x5d459f[_0x141e38(0x51b)]['height']}),_0x578078[_0x141e38(0x23f)]({'flipX':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x55e)],'flipY':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x4ad)],'left':_0x5d459f[_0x141e38(0x51b)]['left'],'top':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x200)],'width':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x3a0)],'height':_0x5d459f[_0x141e38(0x51b)][_0x141e38(0x330)],'angle':_0x5d459f[_0x141e38(0x27f)]}),_0x578078['makeDirty'](!0x0);let _0x116082=((_0x36266c=this['_currentConnectionTarget'])==null?void 0x0:_0x36266c[_0x141e38(0x275)])??_0x4e729a;_0x1ea9e3['transformByState']({'left':_0x116082['x']-_0x1c9bad[_0x141e38(0x1b9)][_0x141e38(0x3b0)],'top':_0x116082['y']-_0x1c9bad[_0x141e38(0x1b9)][_0x141e38(0x3b0)]});}[_0x3bbe12(0x218)](_0x20e6b5,_0x56f138,_0x3ce382,_0x50d4ff,_0x8e1f55){const _0x415e6b=_0x3bbe12;var _0x2fe610,_0x16f471;let _0x396509=((_0x2fe610=this[_0x415e6b(0x392)])==null?void 0x0:_0x2fe610[_0x415e6b(0x275)])??_0x20e6b5,_0xc955dd=_0x1c9bad['ConnectorCoordinateTransform'][_0x415e6b(0x2ae)](_0x56f138,_0x396509,_0x3ce382);_0x50d4ff['transformByState']({'flipX':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x55e)],'flipY':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x4ad)],'left':_0xc955dd['worldRect'][_0x415e6b(0x44f)],'top':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x200)],'width':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x3a0)],'height':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x330)],'angle':_0xc955dd[_0x415e6b(0x51b)][_0x415e6b(0x4b8)]});let _0x262ffa=((_0x16f471=this[_0x415e6b(0x392)])==null?void 0x0:_0x16f471['worldPoint'])??_0x20e6b5;_0x8e1f55['transformByState']({'left':_0x262ffa['x']-_0x1c9bad[_0x415e6b(0x1b9)][_0x415e6b(0x3b0)],'top':_0x262ffa['y']-_0x1c9bad['ShapeDefaultConfig'][_0x415e6b(0x3b0)]});}[_0x3bbe12(0x28c)](_0x13ae8c){const _0x219e90=_0x3bbe12;if(!this[_0x219e90(0x439)]||!this[_0x219e90(0x569)])return null;let {shapeId:_0x170011,cxnIndex:_0x243d1a}=_0x13ae8c,_0xd1197c=this[_0x219e90(0x3e3)][_0x219e90(0x338)](this[_0x219e90(0x439)],this[_0x219e90(0x569)],_0x170011);if(!_0xd1197c)return null;let _0x3401be=this[_0x219e90(0x4fb)][_0x219e90(0x1d0)]({'unitId':this[_0x219e90(0x439)],'subUnitId':this[_0x219e90(0x569)],'drawingId':_0x170011});if(!(_0x3401be!=null&&_0x3401be[_0x219e90(0x22c)]))return null;let {left:_0x536fee=0x0,top:_0x489f07=0x0,width:_0x49952c=0x0,height:_0x14900a=0x0,flipX:_0x4790db=!0x1,flipY:_0x91a5fe=!0x1,angle:_0x1135d3}=_0x3401be[_0x219e90(0x22c)];_0xd1197c[_0x219e90(0x2ee)]({'width':_0x49952c,'height':_0x14900a});let _0xcc7ede=_0xd1197c[_0x219e90(0x49b)]()[_0x219e90(0x3e9)](_0x30e234=>_0x30e234[_0x219e90(0x485)]===_0x243d1a);if(!_0xcc7ede)return null;let _0x5137df=_0x4790db?_0x49952c-_0xcc7ede['x']:_0xcc7ede['x'],_0x487e2f=_0x91a5fe?_0x14900a-_0xcc7ede['y']:_0xcc7ede['y'];if(_0x1135d3!==0x0&&_0x1135d3!=null){let _0x26df0e=_0x1135d3*Math['PI']/0xb4,_0x880097=Math[_0x219e90(0x459)](_0x26df0e),_0x11c5b9=Math[_0x219e90(0x343)](_0x26df0e),_0x288377=_0x49952c/0x2,_0x553bc3=_0x14900a/0x2,_0x3bdd16=_0x5137df-_0x288377,_0x3a2a30=_0x487e2f-_0x553bc3;_0x5137df=_0x288377+_0x3bdd16*_0x880097-_0x3a2a30*_0x11c5b9,_0x487e2f=_0x553bc3+_0x3bdd16*_0x11c5b9+_0x3a2a30*_0x880097;}_0x5137df+=_0x536fee,_0x487e2f+=_0x489f07;let _0x5a04a6=_0xcc7ede[_0x219e90(0x3e4)]/0xea60;_0x4790db&&(_0x5a04a6=0xb4-_0x5a04a6),_0x91a5fe&&(_0x5a04a6=-_0x5a04a6),_0x5a04a6+=_0x1135d3||0x0,_0x5a04a6=(_0x5a04a6%0x168+0x168)%0x168;let _0x11d1c0=(0x0,_0x1c9bad[_0x219e90(0x50d)])({'left':_0x536fee,'top':_0x489f07,'width':_0x49952c,'height':_0x14900a},_0x1135d3||0x0);return{'point':{'x':_0x5137df,'y':_0x487e2f},'angle':_0x5a04a6,'bounds':_0x11d1c0};}['_calculateFreeEndpointAngle'](_0x496d9b,_0xffccee){const _0x127b74=_0x3bbe12;let _0x414d56=_0xffccee['x']-_0x496d9b['x'],_0x585c87=_0xffccee['y']-_0x496d9b['y'];return Math['abs'](_0x414d56)>=Math[_0x127b74(0x422)](_0x585c87)?_0x414d56>=0x0?0xb4:0x0:_0x585c87>=0x0?0x10e:0x5a;}[_0x3bbe12(0x31a)](){const _0x1fd2f6=_0x3bbe12;this[_0x1fd2f6(0x2d9)]=void 0x0,this[_0x1fd2f6(0x439)]=void 0x0,this[_0x1fd2f6(0x569)]=void 0x0,this[_0x1fd2f6(0x4f3)]();}[_0x3bbe12(0x4a4)](){const _0x1fcffc=_0x3bbe12;this[_0x1fcffc(0x4f3)](),super[_0x1fcffc(0x4a4)]();}};_0x297d03=_0x476b0f([_0x5ec307(0x1,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x2,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0x3,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5['SheetsShapeService'])),_0x5ec307(0x6,(0x0,_0x5b0763['Inject'])(_0x5bb4e7)),_0x5ec307(0x7,(0x0,_0x5b0763['Inject'])(_0x116eec))],_0x297d03);let _0x2b2ed9=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x66036a,_0x56bb48,_0x744927){const _0x147c34=_0x3bbe12;super(),this[_0x147c34(0x283)]=_0x66036a,this['_drawingManagerService']=_0x56bb48,this[_0x147c34(0x391)]=_0x744927,this[_0x147c34(0x2a2)]();}[_0x3bbe12(0x2a2)](){const _0x30ce6e=_0x3bbe12;this[_0x30ce6e(0x368)](this[_0x30ce6e(0x283)]['interceptor'][_0x30ce6e(0x2dc)](this[_0x30ce6e(0x283)][_0x30ce6e(0x1ca)][_0x30ce6e(0x403)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x1222ff,_0x329cfd,_0x3e33df)=>{const _0x183df3=_0x30ce6e;var _0x1c2c4b;let {unitId:_0x3c68f9,subUnitId:_0xe8cd0f,scene:_0x23e6f1,resourceCollector:_0x98aa9a}=_0x329cfd,_0x100b78=(_0x1c2c4b=this[_0x183df3(0x4fb)][_0x183df3(0x3b3)](_0x3c68f9))==null?void 0x0:_0x1c2c4b[_0xe8cd0f];return _0x100b78==null||_0x100b78[_0x183df3(0x50a)]['forEach'](_0x1bfc79=>{const _0x196a42=_0x183df3;let _0x43ab81=_0x100b78[_0x196a42(0x455)][_0x1bfc79];_0x43ab81[_0x196a42(0x1d3)]===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x43ab81[_0x196a42(0x21f)]&&this[_0x196a42(0x391)][_0x196a42(0x214)](_0x43ab81,_0x23e6f1,{'resourceCollector':_0x98aa9a});}),_0x3e33df(_0x1222ff);}}));}};_0x2b2ed9=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f['SheetPrintInterceptorService'])),_0x5ec307(0x1,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x14a8a5))],_0x2b2ed9);let _0x5e5e5c=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x46e8c3,_0x267b23,_0x5f4624){const _0x4df7c1=_0x3bbe12;super(),this[_0x4df7c1(0x555)]=_0x46e8c3,this[_0x4df7c1(0x1bc)]=_0x267b23,this[_0x4df7c1(0x501)]=_0x5f4624,this[_0x4df7c1(0x3f4)]();}[_0x3bbe12(0x3f4)](){const _0x401b00=_0x3bbe12;this['disposeWithMe'](this['_commandService'][_0x401b00(0x41e)](_0x264b7d=>{const _0x3a002e=_0x401b00;let _0x4a64b8,_0x36b1ad;if(_0x264b7d['id']===_0x501fe5[_0x3a002e(0x430)]['id']||_0x264b7d['id']===_0x501fe5[_0x3a002e(0x44b)]['id']||_0x264b7d['id']===_0x501fe5[_0x3a002e(0x311)]['id']){let _0x401fa0=_0x264b7d[_0x3a002e(0x242)];_0x4a64b8=_0x401fa0[_0x3a002e(0x53b)],_0x36b1ad=_0x401fa0[_0x3a002e(0x58c)];}_0x4a64b8&&_0x36b1ad&&(this[_0x3a002e(0x501)][_0x3a002e(0x25b)]({'workbookTypes':[_0x2e7766[_0x3a002e(0x2f4)]],'worksheetTypes':[_0x2e7766[_0x3a002e(0x1cc)]]},_0x4a64b8,_0x36b1ad)||this['_sheetPermissionCheckController'][_0x3a002e(0x385)](this[_0x3a002e(0x1bc)]['t'](_0x3a002e(0x586))));}));}};_0x5e5e5c=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2c3)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763['LocaleService'])),_0x5ec307(0x2,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2e7766[_0x3bbe12(0x561)]))],_0x5e5e5c);let _0xde24c3=class{constructor(_0x27b07c){this['_renderManagerService']=_0x27b07c;}[_0x3bbe12(0x365)](_0x19a99d,_0x18f582){const _0x27c564=_0x3bbe12;let _0x57d4a9=this['_renderManagerService']['getRenderUnitById'](_0x19a99d[_0x27c564(0x53b)]),_0x381dad=_0x57d4a9==null?void 0x0:_0x57d4a9[_0x27c564(0x29e)];if(!_0x381dad)return;let _0x2ba474=(0x0,_0x37800f['getDrawingShapeKeyByDrawingSearch'])(_0x19a99d),_0x303b0e=_0x381dad['getObjectIncludeInGroup'](_0x2ba474);_0x303b0e==null||_0x303b0e[_0x27c564(0x3fb)](_0x18f582);}};_0xde24c3=_0x476b0f([_0x5ec307(0x0,_0x463287[_0x3bbe12(0x52d)])],_0xde24c3);let _0x4e7129=class extends _0x5b0763[_0x3bbe12(0x243)]{constructor(_0x26fd02=_0x5998c1,_0x2dc1c6,_0x1b9308,_0xd1d7e8,_0x554c58){const _0xd63f19=_0x3bbe12;super(),this[_0xd63f19(0x42e)]=_0x26fd02,this[_0xd63f19(0x342)]=_0x2dc1c6,this[_0xd63f19(0x555)]=_0x1b9308,this[_0xd63f19(0x4c9)]=_0xd1d7e8,this['_renderManagerService']=_0x554c58;let {..._0x4738c2}=(0x0,_0x5b0763[_0xd63f19(0x56e)])({},_0x5998c1,this['_config']);this[_0xd63f19(0x4c9)][_0xd63f19(0x3da)](_0x22e212,_0x4738c2),this[_0xd63f19(0x314)]();}['onStarting'](){const _0x32c73b=_0x3bbe12;this[_0x32c73b(0x342)][_0x32c73b(0x495)]([_0x2f7941]),this['_injector'][_0x32c73b(0x3f3)](_0x2f7941),(0x0,_0x5b0763['registerDependencies'])(this[_0x32c73b(0x342)],[[_0x500e01],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c]]);}[_0x3bbe12(0x55b)](){const _0x2375b9=_0x3bbe12;(0x0,_0x5b0763[_0x2375b9(0x40a)])(this['_injector'],[[_0x116eec],[_0x5bb4e7],[_0x55b3a8]]),(0x0,_0x5b0763[_0x2375b9(0x231)])(this['_injector'],[[_0x55b3a8],[_0x5bb4e7]]),[[_0x116eec],[_0x2a5e3f],[_0x297d03],[_0x4b2005]][_0x2375b9(0x1e7)](_0xbe927=>{const _0x7bc5e9=_0x2375b9;this['disposeWithMe'](this[_0x7bc5e9(0x3e6)][_0x7bc5e9(0x489)](_0x5b0763['UniverInstanceType'][_0x7bc5e9(0x2ed)],_0xbe927));});}['onRendered'](){const _0x19bebd=_0x3bbe12;(0x0,_0x5b0763[_0x19bebd(0x231)])(this[_0x19bebd(0x342)],[[_0x500e01],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c]]);}[_0x3bbe12(0x570)](){const _0x34dc8f=_0x3bbe12;this[_0x34dc8f(0x342)][_0x34dc8f(0x3f3)](_0x500e01)['initShapePopupMenu']();}[_0x3bbe12(0x314)](){const _0x3f0e3b=_0x3bbe12;[_0x3ae9dd,_0x5163ea,_0x2c3fc4,_0x6dca8e][_0x3f0e3b(0x1e7)](_0xeee9fd=>this[_0x3f0e3b(0x368)](this[_0x3f0e3b(0x555)][_0x3f0e3b(0x315)](_0xeee9fd)));}};_0x19095(_0x4e7129,_0x3bbe12(0x56a),_0x5b0763[_0x3bbe12(0x48f)]['UNIVER_SHEET']),_0x19095(_0x4e7129,_0x3bbe12(0x34a),'SHEET_SHAPE_UI_PLUGIN'),_0x19095(_0x4e7129,_0x3bbe12(0x3e0),_0x55669f),_0x19095(_0x4e7129,_0x3bbe12(0x3d2),_0x41af0d),_0x4e7129=_0x476b0f([(0x0,_0x5b0763[_0x3bbe12(0x4f4)])(_0x4606ed[_0x3bbe12(0x23c)],_0x411252['UniverDocsPlugin'],_0x37800f[_0x3bbe12(0x21a)],_0x463287[_0x3bbe12(0x2a0)],_0x2e7766[_0x3bbe12(0x584)],_0x2bf0d1[_0x3bbe12(0x1e5)],_0x47629f[_0x3bbe12(0x35a)],_0x214c33['UniverShapeEditorPlugin'],_0x29d240['UniverSheetsDrawingMobileUIPlugin'],_0x501fe5[_0x3bbe12(0x1bb)],_0x54c89f[_0x3bbe12(0x4da)],_0x3c7e1c[_0x3bbe12(0x507)],_0x18daae[_0x3bbe12(0x580)]),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x5b0763[_0x3bbe12(0x2cd)])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x445)]),_0x5ec307(0x4,_0x463287['IRenderManagerService'])],_0x4e7129);let _0x2ab1b0={'type':_0x5b0763['CommandType'][_0x3bbe12(0x1d1)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x38c203(){const _0x4fe737=_0x3bbe12;let _0x5e4dfe=(0x0,_0x18daae[_0x4fe737(0x38e)])(_0x37800f[_0x4fe737(0x457)]),_0x3a2694=(0x0,_0x18daae['useObservable'])(()=>_0x5e4dfe['focus$'],_0x5e4dfe[_0x4fe737(0x2ac)](),!0x1,[_0x5e4dfe]);return _0x3a2694[_0x4fe737(0x2bb)]===0x0?null:(0x0,_0x521d83[_0x4fe737(0x53e)])('div',{'children':(0x0,_0x521d83[_0x4fe737(0x2b6)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x521d83['jsx'])(_0x3ec2cc[_0x4fe737(0x38b)],{'drawings':_0x3a2694,'hasCropper':!0x1}),(0x0,_0x521d83[_0x4fe737(0x53e)])(_0x29d240[_0x4fe737(0x36a)],{'drawings':_0x3a2694})]})});}function _0x1f959e(_0x4844c1){const _0x1e052a=_0x3bbe12;let {unitId:_0x229f85,subUnitId:_0x19dca0,shapeId:_0x1c8171}=_0x4844c1,_0x29b96e=(0x0,_0x18daae[_0x1e052a(0x38e)])(_0x5b0763[_0x1e052a(0x2c3)]),_0x23c1c1=(0x0,_0x18daae['useDependency'])(_0xde24c3);return(0x0,_0x521d83['jsx'])(_0x3c7e1c[_0x1e052a(0x1d6)],{..._0x4844c1,'positionEditor':(0x0,_0x521d83[_0x1e052a(0x53e)])(_0x38c203,{}),'onUpdateShapeData':(_0xedd403,_0x5c1fda)=>{_0x5b8a5d(_0x29b96e,_0x229f85,_0x19dca0,_0x1c8171,_0xedd403,_0x5c1fda);},'onUpdateLineShapeData':(_0x3887f4,_0x1a32ad)=>{_0x5afe63(_0x29b96e,_0x229f85,_0x19dca0,_0x1c8171,_0x3887f4,_0x1a32ad);},'onUpdateShapeFillImage':_0xef152e=>{const _0x1a2906=_0x1e052a;_0x23c1c1[_0x1a2906(0x365)]({'unitId':_0x229f85,'subUnitId':_0x19dca0,'drawingId':_0x1c8171},_0xef152e);}});}function _0x56150d(_0x5581ba){const _0x537882=_0x3bbe12;let _0x26390b=(0x0,_0x18daae[_0x537882(0x38e)])(_0x3c7e1c[_0x537882(0x308)]),_0x50c747=(0x0,_0x18daae[_0x537882(0x464)])(()=>_0x26390b['visible$'],_0x26390b[_0x537882(0x249)](),!0x1,[_0x26390b]),_0x1d1231=_0x5581ba[_0x537882(0x1e8)][_0x537882(0x1c3)];return!_0x1d1231||!_0x50c747?null:(0x0,_0x521d83[_0x537882(0x53e)])(_0x50cdaa,{..._0x1d1231,'canvasElement':_0x5581ba[_0x537882(0x1e8)]['canvasElement']});}function _0x50cdaa(_0x5e723b){const _0x9401c1=_0x3bbe12;let _0x2c024f=(0x0,_0x18daae[_0x9401c1(0x38e)])(_0x5b0763[_0x9401c1(0x2c3)]),_0x130b48=(0x0,_0x18daae[_0x9401c1(0x38e)])(_0x501fe5[_0x9401c1(0x235)]),{unitId:_0x4b4571,subUnitId:_0x3a476c,drawingId:_0x5445d4,drawingType:_0x390e00,shapeType:_0x2399cc}=_0x5e723b,[_0x304534,_0x598705]=(0x0,_0x101f75[_0x9401c1(0x4e5)])(_0x5e723b[_0x9401c1(0x3d1)]),_0x27be31=(0x0,_0x101f75['useMemo'])(()=>(0x0,_0x3c7e1c[_0x9401c1(0x432)])(_0x304534),[_0x304534]),_0x1e36b9=(0x0,_0x101f75[_0x9401c1(0x52a)])(()=>(0x0,_0x3c7e1c['getTextModel'])(_0x304534),[_0x304534]);(0x0,_0x101f75[_0x9401c1(0x272)])(()=>{const _0x5d54c6=_0x9401c1;let _0x320cc2=_0x2c024f[_0x5d54c6(0x1f0)](_0x1516f0=>{const _0x51014c=_0x5d54c6;if(_0x1516f0['id']!==_0x501fe5['UpdateSheetsShapeDataMutation']['id'])return;let _0x11f9d9=_0x130b48[_0x51014c(0x437)](_0x4b4571,_0x3a476c,_0x5445d4);_0x11f9d9&&_0x598705(_0x11f9d9);});return()=>_0x320cc2[_0x5d54c6(0x4a4)]();},[_0x2c024f,_0x5445d4,_0x130b48,_0x3a476c,_0x4b4571]);let _0x402421=_0x3e37c1=>{_0x598705(_0x34642c=>({..._0x34642c,..._0x3e37c1}));},_0x5340c3=_0x500c7e=>{const _0x2375d8=_0x9401c1;let _0x3d88ba=(0x0,_0x3c7e1c['buildShapeTextDataUpdate'])(_0x304534,_0x500c7e);_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,{'oldShapeData':{'shapeText':_0x304534[_0x2375d8(0x29f)]}},_0x3d88ba),_0x402421(_0x3d88ba);},_0x36274e=(0x0,_0x3c7e1c[_0x9401c1(0x4ce)])({'hostType':_0x5b0763[_0x9401c1(0x48f)][_0x9401c1(0x2ed)],'unitId':_0x4b4571,'subUnitId':_0x3a476c,'shapeId':_0x5445d4,'shapeData':_0x304534,'onUpdateBinding':_0xf3f024=>{const _0x1c26f0=_0x9401c1;let _0x46ce5a={'formulaBinding':_0xf3f024};_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,{'oldShapeData':{'formulaBinding':_0x304534[_0x1c26f0(0x3c5)]}},_0x46ce5a),_0x402421(_0x46ce5a);}});return(0x0,_0x521d83[_0x9401c1(0x2b6)])(_0x521d83[_0x9401c1(0x1d8)],{'children':[(0x0,_0x521d83[_0x9401c1(0x53e)])(_0x3c7e1c[_0x9401c1(0x1ee)],{'canvasElement':_0x5e723b[_0x9401c1(0x225)],'shapeData':_0x304534,'shapeType':_0x2399cc,'textStyle':{'ff':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x29f)]['fontFamily'],'fs':_0x1c9bad[_0x9401c1(0x1b9)]['shapeText'][_0x9401c1(0x4ba)],'cl':{'rgb':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x29f)]['color']},..._0x27be31},'textModel':_0x1e36b9?{'ha':_0x1e36b9['ha']??_0x5b0763[_0x9401c1(0x429)][_0x9401c1(0x30e)],'va':_0x1e36b9['va']??_0x5b0763['VerticalAlign'][_0x9401c1(0x471)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1c9bad[_0x9401c1(0x1b9)][_0x9401c1(0x23b)],'defaultGradientEndColor':_0x1c9bad['ShapeDefaultConfig'][_0x9401c1(0x59b)],'defaultStrokeColor':_0x1c9bad['ShapeDefaultConfig'][_0x9401c1(0x49a)],'extensionGroups':_0x36274e[_0x9401c1(0x30b)],'floatingObjectToolbarPosition':_0x18daae[_0x9401c1(0x24f)]['SHEET'],'onUpdateShapeData':(_0x530787,_0x4869f1)=>{_0x5b8a5d(_0x2c024f,_0x4b4571,_0x3a476c,_0x5445d4,_0x530787,_0x4869f1),_0x4869f1&&_0x402421(_0x4869f1);},'onUpdateText':_0x5340c3,'onOpenPanel':()=>{const _0x2519f9=_0x9401c1;_0x2c024f[_0x2519f9(0x207)](_0x3195a4['id'],{'unitId':_0x4b4571,'subUnitId':_0x3a476c,'drawingId':_0x5445d4});},'onDelete':()=>{const _0x208f0e=_0x9401c1;_0x2c024f[_0x208f0e(0x207)](_0x47629f[_0x208f0e(0x536)]['id'],{'unitId':_0x4b4571,'drawings':[{'unitId':_0x4b4571,'subUnitId':_0x3a476c,'drawingId':_0x5445d4,'drawingType':_0x390e00}]});}}),_0x36274e[_0x9401c1(0x560)]]});}function _0xd55ecb(_0xac0cc3){const _0x3d7945=_0x3bbe12;return!!_0xac0cc3&&_0x3d7945(0x58b)in _0xac0cc3&&_0x3d7945(0x460)in _0xac0cc3;}let _0x29d576=(0x0,_0x101f75[_0x3bbe12(0x407)])(()=>{const _0x2e24e6=_0x3bbe12;let _0x28c023=(0x0,_0x18daae['useDependency'])(_0x57efab),_0x21815c=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x501fe5[_0x2e24e6(0x235)]),_0xa911f4=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x37800f[_0x2e24e6(0x457)]),_0x1bf2f8=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x5b0763[_0x2e24e6(0x2c3)]),_0x10f49c=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x18daae['UndoRedoGroupService']),_0x3152dd=(0x0,_0x18daae[_0x2e24e6(0x38e)])(_0x463287[_0x2e24e6(0x52d)]),_0x247b75=(0x0,_0x101f75[_0x2e24e6(0x52a)])(()=>({'getShapeModel':(_0x45fd9e,_0x348e2d,_0x589fcc)=>_0x21815c['getShapeModel'](_0x45fd9e,_0x348e2d,_0x589fcc),'getShapeData':(_0x57dd4b,_0x452a8e,_0x53e0d3)=>_0x21815c[_0x2e24e6(0x437)](_0x57dd4b,_0x452a8e,_0x53e0d3),'getDrawingTransform':(_0x341f6f,_0x1bf40c,_0x13a565)=>{const _0x98d382=_0x2e24e6;let _0x30d1c4=_0xa911f4[_0x98d382(0x1d0)]({'unitId':_0x341f6f,'subUnitId':_0x1bf40c,'drawingId':_0x13a565});return _0x30d1c4==null?void 0x0:_0x30d1c4['transform'];},'updateShapeText':({unitId:_0x18c67d,subUnitId:_0x303dcd,shapeId:_0x44fbe6,shapeText:_0x7c16ea,oldShapeText:_0x809111,hostSize:_0xddd95c})=>{_0x10f49c['run'](_0x18c67d,()=>{const _0xa5d3ec=_0x4701;var _0x5cb9b1;let _0x3abb30=_0x1bf2f8[_0xa5d3ec(0x510)](_0x5163ea['id'],{'unitId':_0x18c67d,'subUnitId':_0x303dcd,'shapeId':_0x44fbe6,'shapeData':{'shapeText':_0x7c16ea},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x809111}}});if(!_0x3abb30||!_0xddd95c)return _0x3abb30;let _0xa86b37=_0xa911f4[_0xa5d3ec(0x1d0)]({'unitId':_0x18c67d,'subUnitId':_0x303dcd,'drawingId':_0x44fbe6}),_0x3fffeb=_0xa86b37==null?void 0x0:_0xa86b37['transform'];if(!_0xd55ecb(_0xa86b37)||!_0x3fffeb)return!0x1;let _0x351e02={..._0x3fffeb,'width':_0xddd95c[_0xa5d3ec(0x3a0)],'height':_0xddd95c[_0xa5d3ec(0x330)]},_0x2c0bfd=(_0x5cb9b1=_0x3152dd[_0xa5d3ec(0x3de)](_0x18c67d))==null||(_0x5cb9b1=_0x5cb9b1['with'](_0x54c89f[_0xa5d3ec(0x542)])[_0xa5d3ec(0x240)](_0x303dcd))==null?void 0x0:_0x5cb9b1[_0xa5d3ec(0x473)];return _0x1bf2f8[_0xa5d3ec(0x510)](_0x47629f[_0xa5d3ec(0x1ed)]['id'],{'unitId':_0x18c67d,'drawings':[{..._0xa86b37,'transform':_0x351e02,'sheetTransform':_0x2c0bfd?(0x0,_0x47629f['transformToDrawingPosition'])(_0x351e02,_0x2c0bfd)??_0xa86b37[_0xa5d3ec(0x460)]:_0xa86b37[_0xa5d3ec(0x460)],'axisAlignSheetTransform':_0x2c0bfd?(0x0,_0x47629f[_0xa5d3ec(0x492)])(_0x351e02,_0x2c0bfd)??_0xa86b37[_0xa5d3ec(0x58b)]:_0xa86b37['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x45a1e8,subUnitId:_0x361f7a,shapeId:_0x5dc6fe,width:_0x218bda,height:_0x121cff})=>{const _0xe45199=_0x2e24e6;var _0x341cee;let _0x19fafc=_0xa911f4['getDrawingByParam']({'unitId':_0x45a1e8,'subUnitId':_0x361f7a,'drawingId':_0x5dc6fe}),_0xade634=_0x19fafc==null?void 0x0:_0x19fafc[_0xe45199(0x22c)];if(!_0xd55ecb(_0x19fafc)||!_0xade634)return;let _0x348ba2={..._0xade634,'width':_0x218bda,'height':_0x121cff},_0x4f649c=(_0x341cee=_0x3152dd[_0xe45199(0x3de)](_0x45a1e8))==null||(_0x341cee=_0x341cee[_0xe45199(0x512)](_0x54c89f[_0xe45199(0x542)])['getSkeletonParam'](_0x361f7a))==null?void 0x0:_0x341cee[_0xe45199(0x473)],_0x1e0477=_0x4f649c?(0x0,_0x47629f['transformToDrawingPosition'])(_0x348ba2,_0x4f649c)??_0x19fafc[_0xe45199(0x460)]:_0x19fafc[_0xe45199(0x460)],_0x3a8fab=_0x4f649c?(0x0,_0x47629f['transformToAxisAlignPosition'])(_0x348ba2,_0x4f649c)??_0x19fafc['axisAlignSheetTransform']:_0x19fafc[_0xe45199(0x58b)];_0x1bf2f8[_0xe45199(0x207)](_0x47629f[_0xe45199(0x1ed)]['id'],{'unitId':_0x45a1e8,'drawings':[{..._0x19fafc,'transform':_0x348ba2,'sheetTransform':_0x1e0477,'axisAlignSheetTransform':_0x3a8fab}]});},'allowHostSizeShrink':({unitId:_0x133c52,subUnitId:_0x3b176f,shapeId:_0x235a49})=>(0x0,_0x3c7e1c[_0x2e24e6(0x3d7)])(_0x21815c['getShapeDataById'](_0x133c52,_0x3b176f,_0x235a49)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x1bf2f8,_0xa911f4,_0x3152dd,_0x21815c,_0x10f49c]),_0x133995=(0x0,_0x101f75[_0x2e24e6(0x52a)])(()=>({'viewportKeys':{'main':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x26c)],'leftTop':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x32e)],'top':_0x463287[_0x2e24e6(0x3f6)][_0x2e24e6(0x46c)],'left':_0x463287['SHEET_VIEWPORT_KEY'][_0x2e24e6(0x2e7)]},'getSkeleton':(_0x3c2dfb,_0x26f0dd)=>{const _0x464cf2=_0x2e24e6;var _0x944b2;return((_0x944b2=_0x3c2dfb[_0x464cf2(0x512)](_0x54c89f[_0x464cf2(0x542)])[_0x464cf2(0x240)](_0x26f0dd[_0x464cf2(0x58c)]))==null?void 0x0:_0x944b2[_0x464cf2(0x473)])??null;}}),[]);return(0x0,_0x521d83[_0x2e24e6(0x53e)])(_0x3c7e1c[_0x2e24e6(0x3f0)],{'adapter':_0x247b75,'editingService':_0x28c023,'editorUnitId':_0x340c83,'positionOptions':_0x133995});}),_0x459e50=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x14f7d2,_0x322f9b){const _0x378807=_0x3bbe12;super(),this[_0x378807(0x2e1)]=_0x14f7d2,this[_0x378807(0x216)]=_0x322f9b,this[_0x378807(0x575)](),this[_0x378807(0x2b5)]();}[_0x3bbe12(0x575)](){const _0x2d4b71=_0x3bbe12;this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)]('ObjectLayersIcon')||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'ObjectLayersIcon':_0x31f0cf})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x2cb))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)]['register']({'FlipHorizontalIcon':_0x291692})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x3c1))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'FlipVerticalIcon':_0x1a77b3})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)]('BottomIcon')||this['disposeWithMe'](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'BottomIcon':_0x5e6af3})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x3e8))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'MoveDownIcon':_0x152cba})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x2a5))||this[_0x2d4b71(0x368)](this[_0x2d4b71(0x216)][_0x2d4b71(0x2b4)]({'MoveUpIcon':_0xe52333})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x362))||this[_0x2d4b71(0x368)](this['_iconManager'][_0x2d4b71(0x2b4)]({'ShapeFormatSettingIcon':_0x1d6855})),this[_0x2d4b71(0x216)][_0x2d4b71(0x40b)](_0x2d4b71(0x1fa))||this[_0x2d4b71(0x368)](this['_iconManager'][_0x2d4b71(0x2b4)]({'TopmostIcon':_0x542c65}));}[_0x3bbe12(0x2b5)](){const _0x1ee919=_0x3bbe12;this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x2f5d2d,_0x1f959e)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x532b4c,_0x5d4881)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x59f393,_0x29fcf3)),this[_0x1ee919(0x368)](this['_componentManager']['register'](_0x361d67,_0x21712f)),this[_0x1ee919(0x2e1)]['get'](_0x3ec2cc[_0x1ee919(0x2b7)])||this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)]['register'](_0x3ec2cc[_0x1ee919(0x2b7)],_0x3b5274)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x519660,_0x56150d)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x525ea0,_0x6b21a7)),this[_0x1ee919(0x368)](this['_componentManager'][_0x1ee919(0x2b4)](_0x19261d,_0x32c2bc)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)]['register'](_0x4676e0,_0x40a4cc)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x3ec152,_0x4b63e9)),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x552d76,_0x3c7e1c[_0x1ee919(0x57d)])),this[_0x1ee919(0x368)](this[_0x1ee919(0x2e1)][_0x1ee919(0x2b4)](_0x1ee919(0x37d),_0x29d576));}};_0x459e50=_0x476b0f([_0x5ec307(0x0,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x466)])),_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x51a)]))],_0x459e50);let _0x4f7651=class extends _0x5b0763['Disposable']{constructor(_0x53b4a8,_0x1dd3a2,_0x12911c,_0x406605,_0x46027b,_0x47de41,_0x5b54ca,_0x2bbfe4,_0x44a95d){const _0x251a93=_0x3bbe12;super();let _0x525d35=_0x381d3a=>{const _0x3ed658=_0x4701;var _0x4acd4c,_0x46e0f5;return(((_0x4acd4c=_0x2bbfe4['getPermissionPoint'](new _0x2e7766[(_0x3ed658(0x2f4))](_0x381d3a[_0x3ed658(0x53b)])['id']))==null?void 0x0:_0x4acd4c[_0x3ed658(0x43f)])??!0x0)&&(((_0x46e0f5=_0x2bbfe4['getPermissionPoint'](new _0x2e7766[(_0x3ed658(0x1cc))](_0x381d3a[_0x3ed658(0x53b)],_0x381d3a[_0x3ed658(0x58c)])['id']))==null?void 0x0:_0x46e0f5[_0x3ed658(0x43f)])??!0x0);},_0x1459bc=_0x2e7ea0=>_0x2e7ea0[_0x251a93(0x222)]&&_0x525d35(_0x2e7ea0)?_0x12911c['getShapeDataById'](_0x2e7ea0[_0x251a93(0x53b)],_0x2e7ea0[_0x251a93(0x58c)],_0x2e7ea0['shapeId'])??null:null,_0x56e0a3=()=>{const _0x4f789e=_0x251a93;let _0x42526c=_0x46027b[_0x4f789e(0x2ac)](),_0x1a9369=_0x42526c[_0x4f789e(0x2bb)]===0x1?_0x42526c[0x0]:null;return(_0x1a9369==null?void 0x0:_0x1a9369['drawingType'])===_0x5b0763['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x1a9369['unitId']===_0x53b4a8['unitId']?{'unitId':_0x1a9369[_0x4f789e(0x53b)],'subUnitId':_0x1a9369[_0x4f789e(0x58c)],'shapeId':_0x1a9369[_0x4f789e(0x1af)]}:null;};this['disposeWithMe']((0x0,_0x3c7e1c['registerShapeFormatPainter'])(_0x53b4a8,_0x1dd3a2,{'changes$':(0x0,_0x3d6362['merge'])(_0x46027b['focus$'],_0x406605['editingParams$'],_0x2bbfe4['permissionPointUpdate$']),'isActive':()=>{const _0x5abdc8=_0x251a93;var _0x590c1c;return((_0x590c1c=_0x47de41['getFocusedUnit']())==null?void 0x0:_0x590c1c[_0x5abdc8(0x292)]())===_0x53b4a8[_0x5abdc8(0x53b)]&&!_0x5b54ca[_0x5abdc8(0x40d)](_0x5b0763['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x46027b[_0x5abdc8(0x2ac)]()['some'](_0x2d300b=>_0x2d300b['unitId']===_0x53b4a8[_0x5abdc8(0x53b)]);},'getSelectedTarget':_0x56e0a3,'getSource':()=>{let _0x246506=_0x56e0a3();return _0x246506?_0x1459bc(_0x246506):null;},'getTarget':_0xf9d614=>{const _0x1d2dc5=_0x251a93;let _0x32973d=_0x53b4a8[_0x1d2dc5(0x29e)][_0x1d2dc5(0x488)](new _0x463287[(_0x1d2dc5(0x50e))](_0xf9d614[_0x1d2dc5(0x4a0)],_0xf9d614[_0x1d2dc5(0x1f9)]));if(!(_0x32973d instanceof _0x30f195))return null;let _0x344351={'unitId':_0x53b4a8[_0x1d2dc5(0x53b)],'subUnitId':_0x32973d['subUnitId'],'shapeId':_0x32973d[_0x1d2dc5(0x222)]};return _0x525d35(_0x344351)?_0x344351:null;},'getShape':_0x1459bc,'update':(_0xbb8569,_0x7d7a7b,_0x2d5435)=>_0x44a95d[_0x251a93(0x207)](_0x5163ea['id'],{..._0xbb8569,'shapeData':_0x2d5435,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x7d7a7b}})}));}};_0x4f7651=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x18daae[_0x3bbe12(0x4be)])),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab)),_0x5ec307(0x4,_0x37800f['IDrawingManagerService']),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x6,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x7,_0x5b0763[_0x3bbe12(0x2e9)]),_0x5ec307(0x8,_0x5b0763[_0x3bbe12(0x2c3)])],_0x4f7651);let _0xd22bba='sheets-shape-contextual-ribbon',_0x52dfd5=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x35f98e,_0x515d9c,_0x124cf5,_0x32908e,_0x1f6d5d,_0xbaab8a){const _0x2b182d=_0x3bbe12;super(),this[_0x2b182d(0x47b)]=_0x35f98e,this['_ribbonService']=_0x515d9c,this['_drawingManagerService']=_0x124cf5,this[_0x2b182d(0x2cc)]=_0x32908e,this[_0x2b182d(0x3e6)]=_0x1f6d5d,this[_0x2b182d(0x4b0)]=_0xbaab8a,_0x19095(this,_0x2b182d(0x4d0),!0x1),this[_0x2b182d(0x47b)][_0x2b182d(0x20d)](_0x21dd32),this[_0x2b182d(0x368)]((0x0,_0x5b0763[_0x2b182d(0x404)])(this[_0x2b182d(0x4fb)][_0x2b182d(0x419)][_0x2b182d(0x4f5)](()=>this[_0x2b182d(0x1d9)]()))),this[_0x2b182d(0x1d9)]();}['dispose'](){const _0x1a8225=_0x3bbe12;this['_shapeFloatingToolbarService'][_0x1a8225(0x497)](!0x1,_0xd22bba),this[_0x1a8225(0x57c)](),super[_0x1a8225(0x4a4)]();}[_0x3bbe12(0x1d9)](){const _0x4e0b69=_0x3bbe12;var _0x4a6565;let _0x1e1a50=this[_0x4e0b69(0x4fb)]['getFocusDrawings'](),_0x28fcfb=_0x1e1a50[_0x4e0b69(0x2bb)]===0x1?_0x1e1a50[0x0]:void 0x0;if((_0x28fcfb==null?void 0x0:_0x28fcfb[_0x4e0b69(0x1d3)])!==_0x5b0763[_0x4e0b69(0x2f8)]['DRAWING_SHAPE']||this[_0x4e0b69(0x2cc)][_0x4e0b69(0x1f4)](_0x28fcfb['unitId'])!==_0x5b0763[_0x4e0b69(0x48f)][_0x4e0b69(0x2ed)]){this[_0x4e0b69(0x4b0)]['setFallbackVisible'](!0x1,_0xd22bba),this[_0x4e0b69(0x57c)]();return;}let _0x1c2b30=(_0x4a6565=this[_0x4e0b69(0x3e6)][_0x4e0b69(0x3de)](_0x28fcfb[_0x4e0b69(0x53b)]))==null?void 0x0:_0x4a6565[_0x4e0b69(0x1be)][_0x4e0b69(0x39f)](),_0x197fe5=(0x0,_0x3c7e1c[_0x4e0b69(0x31f)])(_0x1c2b30)===_0x4e0b69(0x2d7);if(this[_0x4e0b69(0x4b0)]['setFallbackVisible'](_0x197fe5,_0xd22bba),_0x197fe5){this[_0x4e0b69(0x57c)]();return;}this[_0x4e0b69(0x4d0)]||(this[_0x4e0b69(0x4d0)]=!0x0,this[_0x4e0b69(0x4ac)][_0x4e0b69(0x2b9)](_0x271abe,{'activate':!0x0}));}[_0x3bbe12(0x57c)](){const _0x624f95=_0x3bbe12;this['_visible']&&(this['_visible']=!0x1,this[_0x624f95(0x4ac)][_0x624f95(0x33b)](_0x271abe),this[_0x624f95(0x4ac)][_0x624f95(0x2bc)]([]));}};_0x52dfd5=_0x476b0f([_0x5ec307(0x0,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x1,_0x18daae[_0x3bbe12(0x1c8)]),_0x5ec307(0x2,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x4,_0x463287['IRenderManagerService']),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3c7e1c[_0x3bbe12(0x308)]))],_0x52dfd5);let _0x49eab1=class extends _0x3c7e1c[_0x3bbe12(0x355)]{constructor(_0x428603,_0xf85d65,_0x504854,_0x2d8897,_0x3ab72f,_0xb7d0a9,_0x100191,_0x222cb7,_0x221382,_0x56b141){super(_0x428603,_0xf85d65,_0x504854,_0x2d8897,_0x3ab72f,_0xb7d0a9,_0x100191,_0x222cb7,_0x221382,_0x56b141,{'componentKey':_0x552d76,'editorUnitId':_0x340c83});}};_0x49eab1=_0x476b0f([_0x5ec307(0x1,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x411252[_0x3bbe12(0x316)])),_0x5ec307(0x2,(0x0,_0x5b0763['Inject'])(_0x2bf0d1['DocCanvasPopManagerService'])),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1['DocSelectionRenderService'])),_0x5ec307(0x4,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x5,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1['DocEventManagerService'])),_0x5ec307(0x6,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x3c7e1c['ShapeTextHyperLinkPopupService'])),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x411252[_0x3bbe12(0x254)])),_0x5ec307(0x8,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x2bf0d1[_0x3bbe12(0x592)])),_0x5ec307(0x9,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x49eab1);let _0x5d5daf=class extends _0x5b0763[_0x3bbe12(0x1de)]{constructor(_0x2e9258,_0x4be929,_0x133a49,_0x2e8cd1,_0x16dfee,_0x422de0,_0x4dfbff,_0x57b643,_0xae5f96,_0x30145b,_0xe9ba71){const _0x1b9486=_0x3bbe12;super(),this[_0x1b9486(0x2cc)]=_0x2e9258,this[_0x1b9486(0x213)]=_0x4be929,this[_0x1b9486(0x47b)]=_0x133a49,this[_0x1b9486(0x3e3)]=_0x2e8cd1,this['_localeService']=_0x16dfee,this[_0x1b9486(0x555)]=_0x422de0,this['_drawingManagerService']=_0x4dfbff,this['_sheetCanvasPopManagerService']=_0x57b643,this[_0x1b9486(0x299)]=_0xae5f96,this[_0x1b9486(0x3e6)]=_0x30145b,this['_shapeTextEditingService']=_0xe9ba71,_0x19095(this,_0x1b9486(0x523),null),_0x19095(this,'_activeShapeInfo',null),_0x19095(this,'_isOpenedShapeEditPanel',!0x1),_0x19095(this,'_shapeEditPanelVersion',0x0),_0x19095(this,_0x1b9486(0x521),null),_0x19095(this,_0x1b9486(0x21c),[]),this[_0x1b9486(0x1e0)](),this[_0x1b9486(0x368)](this['_univerInstanceService'][_0x1b9486(0x529)](_0x5b0763[_0x1b9486(0x48f)][_0x1b9486(0x2ed)])['subscribe'](_0x2fd094=>{if(!_0x2fd094){var _0x2fcf5e;(_0x2fcf5e=this['_sidebarDisposable'])==null||_0x2fcf5e['dispose']();}})),this['_registerOperations'](),this[_0x1b9486(0x2b1)](),this[_0x1b9486(0x368)](this[_0x1b9486(0x2e5)][_0x1b9486(0x571)][_0x1b9486(0x4f5)](_0x10d5af=>{const _0xd7b98=_0x1b9486;_0x10d5af&&this[_0xd7b98(0x48e)]();}));}[_0x3bbe12(0x1e0)](){const _0x2971af=_0x3bbe12;this[_0x2971af(0x47b)][_0x2971af(0x20d)](_0x4710e4);}[_0x3bbe12(0x2b1)](){const _0x15f768=_0x3bbe12;this[_0x15f768(0x521)]||=this[_0x15f768(0x368)]((0x0,_0x3c7e1c['bindRenderTransformerLifecycle'])(this[_0x15f768(0x3e6)],_0x5b0763[_0x15f768(0x48f)][_0x15f768(0x2ed)],_0x1d4dae=>this[_0x15f768(0x358)](_0x1d4dae)));}[_0x3bbe12(0x206)](_0x9648da,_0x540f6a,_0x5bf5ac){const _0x3b7534=_0x3bbe12;let _0x5a76ff=this[_0x3b7534(0x3e3)][_0x3b7534(0x220)](_0x9648da,_0x540f6a,_0x5bf5ac),_0x4b1e1d=this['_sheetsShapeService']['getShapeDataById'](_0x9648da,_0x540f6a,_0x5bf5ac);return _0x5a76ff!==void 0x0&&_0x4b1e1d!==void 0x0?{'shapeData':_0x4b1e1d,'shapeId':_0x5bf5ac,'shapeType':_0x5a76ff,'unitId':_0x9648da,'subUnitId':_0x540f6a,'version':this[_0x3b7534(0x417)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x300c49=_0x3bbe12;this[_0x300c49(0x21c)][_0x300c49(0x1e7)](_0x45963b=>_0x45963b[_0x300c49(0x4a4)]()),this['_disposePopups'][_0x300c49(0x2bb)]=0x0;}[_0x3bbe12(0x358)](_0x1dba99){const _0x56a3e4=_0x3bbe12;let _0x5ba7f6=new _0x5b0763[(_0x56a3e4(0x25d))]();return _0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99['createControl$'][_0x56a3e4(0x4f5)](()=>{const _0x31936a=_0x56a3e4;let _0x3d645c=_0x1dba99[_0x31936a(0x30f)]();if(this[_0x31936a(0x48e)](),this[_0x31936a(0x2f7)]||_0x3d645c[_0x31936a(0x1c5)]>0x1)return;let _0x3d3e33=_0x3d645c[_0x31936a(0x4db)]()['next']()[_0x31936a(0x43f)];if(!_0x3d3e33)return;let _0x4d15bb=this[_0x31936a(0x4fb)][_0x31936a(0x3a3)](_0x3d3e33[_0x31936a(0x449)]);if(!_0x4d15bb||_0x4d15bb[_0x31936a(0x1d3)]!==_0x5b0763[_0x31936a(0x2f8)]['DRAWING_SHAPE'])return;let {unitId:_0xe76e4b,subUnitId:_0x3feeb4,drawingId:_0x575d05,drawingType:_0x591b95}=_0x4d15bb,_0x354dcd=this['_getShapeInfo'](_0xe76e4b,_0x3feeb4,_0x575d05);if(!_0x354dcd)return;this[_0x31936a(0x299)][_0x31936a(0x256)](_0x5b0763[_0x31936a(0x1cf)],!0x0);let _0x4bac2=this[_0x31936a(0x3e6)]['getRenderUnitById'](_0xe76e4b),_0x1f71d6=((_0x4bac2==null?void 0x0:_0x4bac2[_0x31936a(0x588)])===!0x1?_0x4bac2['with'](_0x54c89f[_0x31936a(0x2af)]):this['_sheetCanvasPopManagerService'])['attachPopupToObject'](_0x3d3e33,{'componentKey':_0x519660,'direction':_0x31936a(0x2c2),'offset':[0x0,_0x3c7e1c[_0x31936a(0x51f)]],'extraProps':{'unitId':_0xe76e4b,'subUnitId':_0x3feeb4,'drawingId':_0x575d05,'drawingType':_0x591b95,'shapeType':_0x354dcd[_0x31936a(0x456)],'shapeData':_0x354dcd[_0x31936a(0x3d1)]}});this[_0x31936a(0x21c)][_0x31936a(0x36e)](this[_0x31936a(0x368)](_0x1f71d6)),this['_drawingManagerService'][_0x31936a(0x2ac)]()['find'](_0x46edbd=>_0x46edbd[_0x31936a(0x53b)]===_0xe76e4b&&_0x46edbd[_0x31936a(0x58c)]===_0x3feeb4&&_0x46edbd[_0x31936a(0x1af)]===_0x575d05)||this[_0x31936a(0x4fb)][_0x31936a(0x416)]([{'unitId':_0xe76e4b,'subUnitId':_0x3feeb4,'drawingId':_0x575d05}]);})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99[_0x56a3e4(0x567)][_0x56a3e4(0x4f5)](()=>{const _0x4282a6=_0x56a3e4;this['_clearPopups'](),this[_0x4282a6(0x299)][_0x4282a6(0x256)](_0x5b0763[_0x4282a6(0x1cf)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99[_0x56a3e4(0x267)][_0x56a3e4(0x4f5)](()=>{const _0x300fef=_0x56a3e4;this[_0x300fef(0x48e)]();})),_0x5ba7f6[_0x56a3e4(0x495)](_0x1dba99['changeStart$'][_0x56a3e4(0x4f5)](()=>{const _0x3b95e4=_0x56a3e4;this[_0x3b95e4(0x48e)]();})),(0x0,_0x5b0763['toDisposable'])(()=>{const _0xd9966=_0x56a3e4;_0x5ba7f6['dispose'](),this[_0xd9966(0x48e)]();});}[_0x3bbe12(0x4ff)](){const _0x5424d5=_0x3bbe12;this['disposeWithMe'](this[_0x5424d5(0x555)][_0x5424d5(0x1f0)](_0x2fb4f5=>{const _0x357c3d=_0x5424d5;if(_0x2fb4f5['id']===_0x3195a4['id']){let {unitId:_0x543ba7,subUnitId:_0x4e2a28,drawingId:_0x3b63ff}=_0x2fb4f5[_0x357c3d(0x242)];this[_0x357c3d(0x417)]+=0x1,this[_0x357c3d(0x45c)]=this[_0x357c3d(0x206)](_0x543ba7,_0x4e2a28,_0x3b63ff),this[_0x357c3d(0x48e)](),this['_openShapeEditPanel']();}if(_0x2fb4f5['id']===_0x2ab1b0['id']&&(this['_activeShapeInfo']=null,this[_0x357c3d(0x1e3)]()),_0x2fb4f5['id']===_0x501fe5['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x10bb7c,subUnitId:_0x2ba802,shapeId:_0x58a143}=_0x2fb4f5[_0x357c3d(0x242)];if(this[_0x357c3d(0x45c)]&&this[_0x357c3d(0x45c)][_0x357c3d(0x222)]===_0x58a143){let _0x3e8b53=this[_0x357c3d(0x206)](_0x10bb7c,_0x2ba802,_0x58a143);_0x3e8b53&&(this['_shapeEditPanelVersion']+=0x1,_0x3e8b53[_0x357c3d(0x3d2)]=this[_0x357c3d(0x417)],this[_0x357c3d(0x45c)]=_0x3e8b53,this[_0x357c3d(0x2f7)]&&this[_0x357c3d(0x4c6)]());}}})),this[_0x5424d5(0x368)](this[_0x5424d5(0x4fb)][_0x5424d5(0x419)][_0x5424d5(0x4f5)](_0x44fada=>{const _0x1a35bd=_0x5424d5;if(this[_0x1a35bd(0x2f7)]===!0x1)return;if(_0x44fada['length']===0x0){this[_0x1a35bd(0x45c)]=null,this[_0x1a35bd(0x1e3)]();return;}if(_0x44fada['length']===0x1&&_0x44fada[0x0][_0x1a35bd(0x1d3)]===_0x5b0763[_0x1a35bd(0x2f8)][_0x1a35bd(0x462)]&&(this[_0x1a35bd(0x417)]+=0x1,this['_activeShapeInfo']=this[_0x1a35bd(0x206)](_0x44fada[0x0][_0x1a35bd(0x53b)],_0x44fada[0x0]['subUnitId'],_0x44fada[0x0][_0x1a35bd(0x1af)]),this[_0x1a35bd(0x45c)])){this[_0x1a35bd(0x4c6)]();return;}let _0x22a20b=_0x44fada[_0x1a35bd(0x323)](_0x1a9593=>_0x1a9593[_0x1a35bd(0x1d3)]===_0x5b0763[_0x1a35bd(0x2f8)][_0x1a35bd(0x462)]);if(_0x44fada[_0x1a35bd(0x2bb)]>0x1&&_0x22a20b['length']===_0x44fada[_0x1a35bd(0x2bb)]){if(this[_0x1a35bd(0x417)]+=0x1,this[_0x1a35bd(0x45c)]=this[_0x1a35bd(0x206)](_0x44fada[0x0][_0x1a35bd(0x53b)],_0x44fada[0x0][_0x1a35bd(0x58c)],_0x44fada[0x0][_0x1a35bd(0x1af)]),this[_0x1a35bd(0x45c)]){this[_0x1a35bd(0x4c6)]();return;}}else{if(this[_0x1a35bd(0x417)]+=0x1,this[_0x1a35bd(0x45c)]=this[_0x1a35bd(0x206)](_0x44fada[0x0]['unitId'],_0x44fada[0x0][_0x1a35bd(0x58c)],_0x44fada[0x0][_0x1a35bd(0x1af)]),this['_activeShapeInfo']){this[_0x1a35bd(0x45c)]['disableShapeOption']=!0x0,this[_0x1a35bd(0x4c6)]();return;}}this[_0x1a35bd(0x1e3)]();}));}[_0x3bbe12(0x4c6)](){const _0x1b805a=_0x3bbe12;this[_0x1b805a(0x45c)]&&(this[_0x1b805a(0x523)]=this['_sidebarService'][_0x1b805a(0x45a)]({'id':_0x2f5d2d,'header':{'title':this[_0x1b805a(0x1bc)]['t'](_0x1b805a(0x3dd))},'width':0x184,'children':{'label':_0x2f5d2d,...this[_0x1b805a(0x45c)]},'onClose':()=>{const _0x2a4bfd=_0x1b805a;this[_0x2a4bfd(0x4fb)][_0x2a4bfd(0x416)](null),this['_contextService']['setContextValue'](_0x5b0763[_0x2a4bfd(0x1cf)],!0x1),this[_0x2a4bfd(0x523)]=null;}}),this[_0x1b805a(0x2f7)]=!0x0);}[_0x3bbe12(0x1e3)](){const _0x5b6854=_0x3bbe12;this[_0x5b6854(0x2f7)]=!0x1,this[_0x5b6854(0x213)]['close'](_0x2f5d2d),this[_0x5b6854(0x523)]=null,this[_0x5b6854(0x299)]['setContextValue'](_0x5b0763[_0x5b6854(0x1cf)],!0x1),this[_0x5b6854(0x4fb)][_0x5b6854(0x416)](null);}};_0x5d5daf=_0x476b0f([_0x5ec307(0x0,_0x5b0763[_0x3bbe12(0x467)]),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x18daae[_0x3bbe12(0x3f9)])),_0x5ec307(0x2,_0x18daae[_0x3bbe12(0x303)]),_0x5ec307(0x3,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x501fe5[_0x3bbe12(0x235)])),_0x5ec307(0x4,(0x0,_0x5b0763['Inject'])(_0x5b0763['LocaleService'])),_0x5ec307(0x5,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x6,_0x37800f[_0x3bbe12(0x457)]),_0x5ec307(0x7,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x54c89f[_0x3bbe12(0x2af)])),_0x5ec307(0x8,_0x5b0763[_0x3bbe12(0x238)]),_0x5ec307(0x9,_0x463287[_0x3bbe12(0x52d)]),_0x5ec307(0xa,(0x0,_0x5b0763[_0x3bbe12(0x3b6)])(_0x57efab))],_0x5d5daf);let _0x45d6f3=class extends _0x5b0763['Plugin']{constructor(_0x6df2ae=_0x5998c1,_0x21d6bc,_0x3e4d2e,_0x238c5c,_0xfef8f0){const _0x52e2c3=_0x3bbe12;super(),this[_0x52e2c3(0x42e)]=_0x6df2ae,this['_injector']=_0x21d6bc,this[_0x52e2c3(0x555)]=_0x3e4d2e,this[_0x52e2c3(0x4c9)]=_0x238c5c,this[_0x52e2c3(0x3e6)]=_0xfef8f0;let {..._0x2db8cf}=(0x0,_0x5b0763[_0x52e2c3(0x56e)])({},_0x5998c1,this[_0x52e2c3(0x42e)]);this[_0x52e2c3(0x4c9)][_0x52e2c3(0x3da)](_0x22e212,_0x2db8cf),this[_0x52e2c3(0x314)]();}[_0x3bbe12(0x383)](){const _0x51a958=_0x3bbe12;this[_0x51a958(0x3e6)]['registerRenderModule'](_0x5b0763[_0x51a958(0x48f)]['UNIVER_DOC'],[_0x49eab1]),(0x0,_0x5b0763[_0x51a958(0x231)])(this[_0x51a958(0x342)],[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0x2b2ed9]]);}[_0x3bbe12(0x570)](){const _0x1b05d6=_0x3bbe12;this[_0x1b05d6(0x342)][_0x1b05d6(0x3f3)](_0x5d5daf)[_0x1b05d6(0x2b1)]();}[_0x3bbe12(0x55b)](){const _0x2bcb88=_0x3bbe12;[[_0x116eec],[_0x5bb4e7],[_0x55b3a8]][_0x2bcb88(0x1e7)](_0x1aaa60=>this[_0x2bcb88(0x342)]['add'](_0x1aaa60)),(0x0,_0x5b0763[_0x2bcb88(0x231)])(this[_0x2bcb88(0x342)],[[_0x55b3a8],[_0x5bb4e7]]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)][_0x2bcb88(0x2ed)],[_0x116eec]),this[_0x2bcb88(0x3e6)][_0x2bcb88(0x489)](_0x5b0763['UniverInstanceType']['UNIVER_SHEET'],[_0x2a5e3f]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763['UniverInstanceType'][_0x2bcb88(0x2ed)],[_0x297d03]),this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)]['UNIVER_SHEET'],[_0x501afa]),this[_0x2bcb88(0x368)](this['_renderManagerService'][_0x2bcb88(0x489)](_0x5b0763[_0x2bcb88(0x48f)][_0x2bcb88(0x2ed)],[_0x4f7651]));}[_0x3bbe12(0x285)](){const _0x219416=_0x3bbe12;this[_0x219416(0x342)][_0x219416(0x495)]([_0x459e50]),this['_injector'][_0x219416(0x3f3)](_0x459e50);let _0x5401ff=this[_0x219416(0x342)];[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0x2b2ed9],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c],[_0x52dfd5]][_0x219416(0x1e7)](_0x4838ad=>_0x5401ff[_0x219416(0x495)](_0x4838ad)),(0x0,_0x5b0763['touchDependencies'])(this[_0x219416(0x342)],[[_0x5d5daf],[_0x337505],[_0x14a8a5],[_0xde24c3],[_0x57efab],[_0x4c0745],[_0x3a0622],[_0x5e5e5c],[_0x52dfd5]]);}[_0x3bbe12(0x314)](){const _0x215ec9=_0x3bbe12;[_0x3ae9dd,_0x5163ea,_0x2ab1b0,_0x3195a4,_0x34606a,_0x2c3fc4,_0x9e5b59,_0x32de08][_0x215ec9(0x1e7)](_0x3f5708=>this[_0x215ec9(0x368)](this[_0x215ec9(0x555)][_0x215ec9(0x315)](_0x3f5708)));}};_0x19095(_0x45d6f3,_0x3bbe12(0x56a),_0x5b0763[_0x3bbe12(0x48f)][_0x3bbe12(0x2ed)]),_0x19095(_0x45d6f3,_0x3bbe12(0x34a),'SHEET_SHAPE_UI_PLUGIN'),_0x19095(_0x45d6f3,_0x3bbe12(0x3e0),_0x55669f),_0x19095(_0x45d6f3,_0x3bbe12(0x3d2),_0x41af0d),_0x45d6f3=_0x476b0f([(0x0,_0x5b0763[_0x3bbe12(0x4f4)])(_0x4606ed[_0x3bbe12(0x23c)],_0x411252['UniverDocsPlugin'],_0x37800f[_0x3bbe12(0x21a)],_0x3ec2cc[_0x3bbe12(0x453)],_0x463287[_0x3bbe12(0x2a0)],_0x2e7766[_0x3bbe12(0x584)],_0x2bf0d1[_0x3bbe12(0x1e5)],_0x47629f[_0x3bbe12(0x35a)],_0x214c33[_0x3bbe12(0x30d)],_0x29d240['UniverSheetsDrawingUIPlugin'],_0x501fe5[_0x3bbe12(0x1bb)],_0x54c89f[_0x3bbe12(0x2bf)],_0x3c7e1c[_0x3bbe12(0x553)]),_0x5ec307(0x1,(0x0,_0x5b0763['Inject'])(_0x5b0763['Injector'])),_0x5ec307(0x2,_0x5b0763[_0x3bbe12(0x2c3)]),_0x5ec307(0x3,_0x5b0763[_0x3bbe12(0x445)]),_0x5ec307(0x4,_0x463287[_0x3bbe12(0x52d)])],_0x45d6f3),_0x128250[_0x3bbe12(0x4b6)]=_0x21dd32,_0x128250[_0x3bbe12(0x223)]=_0x4710e4,Object['defineProperty'](_0x128250,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x4e7129;}}),Object[_0x3bbe12(0x454)](_0x128250,_0x3bbe12(0x3b5),{'enumerable':!0x0,'get':function(){return _0x45d6f3;}});}));
1
+ function _0x49ca(_0x189bfc,_0x312eb8){_0x189bfc=_0x189bfc-0x199;const _0x300a63=_0x300a();let _0x49caf1=_0x300a63[_0x189bfc];return _0x49caf1;}function _0x300a(){const _0x1da732=['_initPrinting','memo','canvasElement','IContextService','object-layers-icon','onDblclick$','_calculateFreeEndpointAngle','point','FOCUSING_COMMON_DRAWINGS','worldRect','getShapeModel','ShapeFloatingToolbarService','isDrawingObject','colorChannel1','unitId','color','_drawRichTextLayer','hideContextualTab','DrawingImageClipService','UniverProShapeEditor','_addShapeConnectorHandlerObject','RemoveSheetDrawingCommand','drawing-ui.objectListPanel.filterLocked','SELECTOR','MEDIA','string','_contextService','registerRenderModule','includes','_registerDrawingMoveHandler','sheets-shape-ui.ribbon.shape-format.style-control','_initEditingParams','getDrawingData','focus$','UniverSheetsShapeUIPlugin','@univerjs-pro/shape-editor','transformToDrawingPosition','DependentOn','UniverSheetsDrawing','getZoomRatio','0\x200\x2017\x2016','intercept','ImageSourceTypeEnum','blockExecuteWithoutPermission','visible','from','drawing-ui.objectListPanel.show','merge','style','DocInterceptorService','FlipHorizontalIcon','UUID','subscribeEvent','sheet.shape.floating-toolbar','React','sheet.operation.apply-shape-quick-style','srcRect','drawing-ui.objectListPanel.dragToReorder','drawing-ui.objectListPanel.lockAll','_visible','registerCommand','mode','routeConnectorLineShape','_resetState','resolveShapeTextEditorBehaviorShapeData','trim','viewBound','backward','ShapeTextEditorContainer','OPERATION','UniverRenderEnginePlugin','_clearFocusedShape','UpdateConnectorRelationCommand','_groupCopyPasteController','getState','_disposePopups','_loadAndSetImage','registerFeatureMenu','_initEvents','permissionCheckWithoutRange','EMPTY','MenuItemType','UPDATE','shouldAllowShapeTextEditorHostSizeShrink','_menuManagerService','changing$','_handleConnectorPointerUp','shape-editor-ui.toolbar.quickStyles','#1a73e8','shape-text-','attachRangeWithCoord','PRINTING_COMPONENT_COLLECT','name','url(#$1','_permissionService','engine','getConnectionSiteList','DocEventManagerService','top','@univerjs/design','changeStart$','IURLImageService','_localeService','getParent','onPointerUp$','setContextValue','div','@univerjs/core','_drawSimpleText','_initCommands','SheetPrintInterceptorService','ShapeFormulaRibbonControl','sheets-shape-ui.objectListPanel.open','_index','error','onCommandExecuted','FloatingObjectToolbarPosition','sheet.shape.object-list.panel','WorkbookEditablePermission','PaintIcon','transform','target','OBJECT_LIST_FLOATING_SECTION_ID','remove$','_clearControls','objects','_sheetsShapeService','normal','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','wrapStrategy','_getOrCreateShapeModel','isRenderLinePointsMode','discreteRangeToRange','showContextualTab','offsetX','sheets-shape-ui.formatShape','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','_disposed','SolidLine','_shapeTextEditingService','contentHeight','getCanvasElement','dispose','20GgJAgJ','LEFT','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','registerClipDelegate','priority','multiply','_initialize','COMMAND','UniverLicensePlugin','HorizontalAlign','UniverProSheetsShape','drawing.operation.set-drawing-active','RemoveSheetsShapeMutation','UniverSheetsShapePlugin','indexOf','_baseShapeTop','panel','_executeResizeCommand','clearAdjustValue','isFinite','_cxtHandlerPointerUp','cxnPointFill','getCurrentUnitInfo','SHAPE_CHANGE_PICKER_COMPONENT','UniverShapeEditorMobileUIPlugin','editingParams$','skeleton','isInGroup','ShapeFormatSettingIcon','ShapeArrowSizeEnum','WorksheetEditPermission','M8\x2010.2V11.8','back','symbol','_executeConnectedRouteResizeCommand','getBatchUpdateOp','getObjectListPanelSectionIdForDrawingType','disposeWithMe','M8\x2014V14.2','onload','_targetShapeId','_drawingAddListener','order','sheets-shape-ui.ribbon.shape-format.arrange-forward','register','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','selectable','isHighlighted','getSkeleton','_getZoomRatio','removeAttribute','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverDocsUi','sheetTransform','DRAWING','_handleConnectedEndpointPointerUp','SheetsSelectionsService','copyType','update$','iterator','popup','drawing-ui.objectListPanel.locate','transformForAngle','ShapeFloatingToolbarToggleFactory','appliedStrokeWidth','_sheetClipboardService','setShapeProps','getEndConnectInfo','shapeData','fillImageSourceType','ancestorTransform','ISidebarService','ShapeDefaultConfig','_unitId','@univerjs-pro/license','IDrawingManagerService','bottom-icon','drawing-ui.objectListPanel.name','_isImagePointerDown','value','permissionPointUpdate$','getSkeletonParam','computeConnectorResizeLayout','SHAPE_TEXT','FOCUSING_SHAPE_TEXT_EDITOR','DRAWING_OBJECT_LAYER_INDEX','#FFFFFF','drawing-ui.objectListPanel.title','VIEW_MAIN_LEFT','image','getDrawingDataForUnit','_sheetDrawingService','Shape','switchMap','scene','react/jsx-runtime','viewBox','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','sheets-shape-ui.editShape','horizontal','_isDrawingShapePointDown','computeConnectorRouteLayout','_activeTargetShapeId','_subUnitId','attrs','UniverIcon','preValue','with','getBatchAddOp','sheets-shape-ui.shape-format.quick-style-gallery','defineProperty','registerDependencies','390288ubFxjM','updateConnectionDetection','idSuffix','None','getPropertyPriority','attachPopupToObject','flipX','calcAdjValues','getDrawingEffectBounds','_activeAdjustPointList','_shapeUpdateListener','isReleased','MoveUpIcon','UniverSheetsDrawingUi','_canEdit','_formulaAnimation','reverse','useFormulaShapeToolbar','_init','_config','_executeConnectedRouteConnectionCommand','_shapeFormulaService','getInterceptPoints','_componentManager','getObjectIncludeInGroup','drawing-ui.objectListPanel.details','resolveFormulaShapeAutoFitSize','getActiveSheet','animateFormulaPresentation','_registerGroupFeaturePasteHook','getDrawingShapeKeyByDrawingSearch','activeSheet$','_clipService','pluginName','getEditing','UniverDocs','amd','drawing-ui.objectListPanel.moveBackward','disableObjectsEvent','_insertingShapeKeys','beginPath','add$','drawWith','hidden','sheets-shape-ui.ribbon.shape-format.arrange-backward','ShapeQuickStyleGallery','getConnectionInfo','getSelectedObjectMap','_renderManagerService','useId','ShapeStyleRibbonControl','_clearConnectionSites','_getImageDrawingInfo','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','shape-editor-ui.arrange.backward','_openShapeEditPanel','prototype','getObject','pick','close','SHAPE_EDITOR_TRANSFORMER_CONFIG','DrawingApplyType','SheetSkeletonService','setPresentation','isEditing','ShapeGroupEnum','isHit','resolveShapeTextEditorWrapStrategy','setCanUseShapeClip','FromArray','_commandService','@univerjs/ui','_sheetCanvasPopManagerService','18HEfAwY','shape-editor-ui.toolbar.changeShape','getSheetBySheetId','drawing-ui.objectListPanel.noSelection','type','_drawShapeText','drawing-ui.objectListPanel.typeNames.','getDrawingPoints','UndoRedoGroupService','marginTop','_urlImageService','createShapeFormulaDocument','viewportScrollY','removeLinePoints','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-ui.ribbon.shape-format.formula-control','_sheetDrawingShapeRenderController','_drawRichText','_currentScene','parent','getDrawingVisible','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','start','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','focusDrawing','fillType','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','_isStartAdjusting','_getConnectionSiteAngle','clearAdjustControls','useImperativeHandle','localToWorld','cos','updateContext','UniverDocsUIPlugin','drawing-ui.objectListPanel.hide','presentation','sheet.command.update-shape-data','canvas','rect','ShapeIcon','_editingParams$','delete','setConfig','_activeAdjustInfo','PREDEFINED_HOOK_NAME','154745tRXVFF','title','VIEW_MAIN_TOP','onerror','shape-editor-ui.arrange.back','_getScrollInfo','ICommandService','getMenuHiddenObservable','oKey','@univerjs-pro/sheets-shape-ui','_formulaKey','_initPermission','find','complete','@univerjs/docs','clipByShape','DRAWING_IMAGE','drawing-ui.objectListPanel.description','Line','sin','onPointerMove$','_currentConnectionTarget','description','defs','BUTTON','getShapeData','react','getActualSize','UniverInstanceType','_rerouteConnectorLine','Large','replace','restore','ShapeTypeEnum','getAutoFitPresentations','SetDrawingApplyMutation','flipY','stringify','height','element','addObject','initShapePopupMenu','shapeKey','_connectionSiteObjects','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','M6.2\x208H7.8','relation','save','entries','_releaseRenderCache','ShapePickerPanel','undo','shapeId','_shapeService','UniverEngineRender','_registerOperations','M8\x202.2V3.8','getTransformerByCreate','getShapeDataById','SheetSkeletonManagerService','getDrawingOrder','isHitLine','@univerjs/engine-render','getShapeQuickStylePreset','_closeShapeEditPanel','resetCursor','ComponentManager','_createCopyInfoByRange','create','parseFloat','DRAWING_SHAPE','reduce','_completionFrame','length','URL','Vector2','IConfigService','_transform','push','Transform','getDrawingTypeNameKey','isLineShape','_findNearestConnectionSite','_hide','setFallbackVisible','drawing-ui.objectListPanel.unlock','_clearPopups','originalStrokeWidth','UniverProLicense','src','UniverProSheetsShapeUi','sheets-shape-ui.ribbon.shape-format.arrange-front','extraProps','getScene','Rect','getImageSourceCache','lineShapeId','RibbonInsertGroup','_sheetBasicShapeConnectionPointController','render','isConnectorShape','sheet.operation.open-mobile-shape-editor','ArrangeTypeEnum','featurePluginUpdateNotification','UniverSheetsDrawingMobileUIPlugin','@univerjs/sheets-drawing','Circle','sheet.command.menu-insert-shape','sectionFloating','lineType','adjHandleSize','_baseHeight','sheets-shape-ui.title','disableShapeOption','drawing-ui.objectListPanel.unlockAll','toDisposable','getTransformer','_shapeRenderController','BehaviorSubject','_sheetPrintInterceptorService','forEach','left','path','VIEW_MAIN','2172222XnDyLp','prepareShapeTextDocumentData','params','completeEditing','_injector','formulaPresentation','_renderWithCache','getCurrentUnitOfType','MobileShapeEditorService','none','ObjectLayersIcon','_draw','_clearShapeConnectorHandlerObjects','ShapeFloatingToolbar','_applyFormulaAutoFitSize','createElement','ShapeRenderModeEnum','currentAdjustValues','CROSSHAIR','jsxs','cancelEditing','abs','currentColor','getUnit','drawingId','disconnect','#4285f4','cxnPointStroke','prstGeomAdjValues','translateWithPrecision','onSteady','getContextValue','0\x200\x2016\x2016','DocumentViewModel','TopmostIcon','_getShapeAdjustPointListById','non-scaling-stroke','MoveDownIcon','CommandType','drawing-ui.objectListPanel.unlockHint','_handleConnectedEndpointMove','_cxtHandlerPointerMove','sheet.menu.shape.flip-vertical','formulaBinding','topmost-icon','DEFAULT_PASTE','cxnPointStrokeWidth','getSheetId','sheets-shape-ui.objectListPanel.title','DocumentSkeleton','1082147GIxzdP','getMatrix','presentationChanged$','ShapeLineTypeEnum','text','clone','getCurrentRangeDisable$','getValue','targetShapeId','@univerjs/drawing','RENDER_CLASS_TYPE','_shapeEditPanelVersion','localName','ShapeTextHyperLinkPopupService','forward','UniverDrawingPlugin','sheets-shape-ui.deleteShape','useRef','clearActiveDrawingObjects','adjustValues','univer-box-border\x20univer-px-4\x20univer-text-sm','_activeShapeId','drawing-ui.objectListPanel.sectionFloating','_addShapeConnectorHandlerObjects','UniverCore','GROUP','resolveShapeContextualRibbonHostMode','updateDocumentDataMargin','@univerjs-pro/sheets-shape','sheets-shape-ui.config','_getShapeInfo','onReady','ShapeTextFloatMenuRenderControllerBase','redo','registerShapeFormatPainter','getCurrentScrollState','INSERT','_ribbonService','Observable','getBoundingClientRect','Disposable','renderDrawingShape','_updateAdjustControlPositions','applyPoint','setFillImage','drawing-ui.objectListPanel.lock','UniverSheetsShapeMobileUIPlugin','stroke','_lastEditingShapeKey','_drawingManagerService','M2.2\x208H3.8','_sheetSkeletonService','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','isRichText','createControl$','_registerImageShapeClipDelegate','drawing-ui.objectListPanel.expand','querySelectorAll','_sidebarDisposable','isRender','shapeText','onRendered','sheet.operation.open-sheet-shape-format-panel','dataModel','BottomIcon','REMOVE','_baseShapeHeight','extensionGroups','jsx','_adjHandlerPointerUp','shape-format-setting-icon','classType','setProperty','_executeConnectionCommand','refreshAdjustControls','ShapePickerDropdown','ObjectListPanelBase','deriveStateFromActiveSheet$','mask','toStringTag','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','sheets-shape-ui.permission.editErr','getTextModel','getCurrentLastSelection','_handleFreeEndpointPointerUp','_registerIcons','getShapeTypeById','setPrstGeom','InsertSheetsShapeMutation','presetId','touchDependencies','_insertShapes','getCurrentSkeleton','transformByState','ShapeTextRibbonControl','copyId','_drawingRenderService','getSheetCommandTarget','RIBBON','pipe','size','getFocusedUnit','pushUndoRedo','FormatPainterSessionService','UniverShapeEditorPlugin','fontSize','cxnIndex','sheet.shape.picker.component','bottom','sheet.operation.update-shape-type','getShapeTextData','UNIVER_SHEET','getRealBound','sheets-shape-ui.shape-format.formula-ribbon-control','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_registerFeatureMenu','setFormulaPresentation','UniverDesign','sheets-shape-ui','axisAlignSheetTransform','_updateShapeAdjustControls','DrawingRenderService','DrawingTypeEnum','_adjName','_activeShapeModel','adjName','onPointerDown$','_context','_showConnectionSites','parse','sheets-shape-ui.shape-format.text-ribbon-control','_isOpenedShapeEditPanel','_isStartConnectorPoint','setAdjustValueByName','MobileObjectListPanel','_imageIoService','UniverSheetsMobileUIPlugin','sheet.image-clip.shape-picker.component','unsubscribe','UpdateSheetsShapeDataMutation','ShapeModel','hadStyleAttribute','isHorizontal','_handleFreeEndpointMove','refreshFormulaPresentation','_updateImageAdjValues','DocRenderController','min','FlipVerticalIcon','sheets-shape-ui.shape-format.style-ribbon-control','endArrow','sheets-shape-ui.flipVertical','getConnectorLinePoints','univerjs-icon\x20univerjs-icon-','addImageSourceCache','Fragment','constructor','_shapeId','_updateSrcRectByTransform','drawing-ui.objectListPanel.lockHint','enableObjectsEvent','strokeWidth','drawing-ui.objectListPanel.close','OTHERS','getImage','_currentUniverService','UniverDocsPlugin','_initSelection','subUnitId','@univerjs/sheets-ui','DocCanvasPopManagerService','getPermissionPoint','front','onSavingEditorData$','_generatePasteMutations','SHEET_SHAPE_UI_PLUGIN','set','drawFormulaShapeAnimationLayers','useObservable','IUndoRedoService','drawing-ui.objectListPanel.filterAll','values','http://www.w3.org/2000/svg','IUniverInstanceService','function','_shapes','getUnitType','computeStraightConnectorLayout','contentVerticalOffset','_cxnIndex','ToggleSheetsShapeFlipCommand','applyQuickStyleToShapeData','keys','prstGeom','SheetCanvasPopManagerService','cloneShapeDataForType','useMemo','_initSheetChange','SheetsDrawingGroupCopyPasteController','_getSceneAndTransformerByDrawingSearch','setShapeData','activeAnObject','_handleBasicShapeUpdateConnectorLineShape','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','isMainScene','ContextMenuGroup','version','endConnectionDetection','_createControls','getStartConnectInfo','startArrow','_univerInstanceService','createInternalEditorID','setPrstGeomAdjValues','syncExecuteCommand','ShapeFillEnum','next','_clearShapeAdjustControls','2632945NJWTSg','updateShapeFillImage','sheets-shape-ui.flipHorizontal','UniverSheets','_attachAdjustEvent','drawing-ui.objectListPanel.collapse','_activeShapeAdjustPointList','stroke-width','LocaleService','UniverSheetsPlugin','_isShouldShowDrawingShapeAdjust','_baseLeft','interceptor','Image','getUnitId','_baseWidth','asObservable','_loadShapePictureFill','_getShapeAdjustInfosById','SetDrawingArrangeCommand','CopySheetCommand','viewportScrollX','_addShapeAdjustControl','generateRandomId','SheetScrollManagerService','UniverMobileUIPlugin','_generateCutPasteMutations','sheets-shape-ui.ribbon.shape-format.text-control','ang','_copyInfo','sheets-shape-ui.quickStyles','M14\x208H14.2','ConnectorCoordinateTransform','onTransformChange$','_highlightedSiteIndex','subscribe','@univerjs-pro/shape-editor-ui','getShapeQuickStyleType','fillImageSource','setOnSavingEditorData','_update','_registerFocusChangeHandler','sectionCanvas','angle','getDrawingByParam','transformToAxisAlignPosition','drawingType','getDrawingOKey','getPresentation','1.0.1','ShapeArrowTypeEnum','_baseTop','sheets-shape-text-','attachTransformerTo','worldPoint','run','clip','UniverDrawingUIPlugin','changeEnd$','Path','clip-adj-','sheetViewStartRow','displayName','fromChangeset','useDependency','unregister','Module','SetDrawingSelectedOperation','open','some','sheet.shape.edit.panel','_popupMenuListener','Medium','scale','COPY_TYPE','IPermissionService','plainShapeTextToDocumentData','IRenderManagerService','get','fill','toFixed','DocSelectionRenderService','@univerjs/drawing-ui','IconManager','_createShapeAdjustControls','M4.2\x208.3H6.8','getBasicShapeRotateBound','_isConnecting','_formulaShapes','146376FEbGwq','stopPropagation','changeShapeType','index','vertical-center','shape-editor-ui.arrange.front','getShapeTextRect','drawing-ui.objectListPanel.sectionCanvas','ContextMenuPosition','sheet.shape.text.float-menu','75vZKOry','_reset','resolveActiveShapeQuickStylePresetId','_shapePopupMenuDisposable','SheetsShapeUIMenuSchema','_onSavingEditorData$','setSrcRect','_getConnectPointInfo','_registerMoveHandler','getAdjustValueByName','_registerDrawingFocusChangeHandler','SheetPermissionCheckController','executeCommand','filter','drawing-ui.objectListPanel.descriptionPlaceholder','_baseShapeWidth','_activeImageId','ShapeFormulaService','sheets-shape-ui.imagePanel.crop.shape','updateLinePoints','Arrow','_clearCompletionFrame','ISheetClipboardService','_baseDrawingRect','assign','_draggingConnectorId','makeDirty','sheetViewStartColumn','getCurrentTypeOfUnit$','width','_sheetPermissionCheckController','custom','move-down-icon','shapeType','vertical','_getDrawingRect','setHighlighted','_sheetInterceptorService','isolated','SheetsShapeService','_findShapeAtPoint','startX','DisposableCollection','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','shapeModel','_attachConnectorObjectEvent','_transformCalculateSrcRect','add','composeMatrix','_adjHandlerPointerMove','_registerComponents','_commandExecutedListener','map','startConnectionDetection','_updateTransform','svg','UpdateLineShapeResizeCommand','getBatchRemoveOp','ISheetDrawingService','normalizeShapeTextModel','fontFamily','_props','shouldClipShapeTextDocument','toPrimitive','Inject','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','useState','data','connection-site-','getAdjustNames','_iconManager','TOP','children','bindRenderTransformerLifecycle','_moveConnectorWithShape','evenodd','Documents','UniverProShapeEditorUi','shape-adjust-point-','getRenderUnitById','invert','SHEET_VIEWPORT_KEY','@univerjs/sheets-drawing-ui','clear','UniverDrawing','setShouldShowAdjust','setCursor','7778LAOnyx','ShapeEditPanel','has','1em','clipTop','round','_getImagePrstGeom','_hasReset','packageName','DocSelectionManagerService','getDrawingEditable','rotation','buildClipPath','DrawingCommonPanel','getAdjustInfoByName','flip-horizontal-icon','SetSheetDrawingCommand','sheets-shape-ui.ribbon.shape-format','cxnPointRadius','end','buildShapeTextDataUpdate','UNIVER_DOC','object','forwardRef','offsetY','70cssdkJ','getBasicShapeRelation','_sheetShapeAdjustController','resourceCollector','setEditing','mergeMenu','CURSOR_TYPE','_initMenu','addClipboardHook','adjHandleStroke','startY','_isHighlighted','use','_focusedDrawings','refreshShapeFillImage','_drawingType','VIEW_MAIN_LEFT_TOP','VerticalAlign','_activeShapeInfo','exports','doc','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','getShapeType','drawing-ui.objectListPanel.hideAll','PictureFill','current','isStartConnectorPoint','_configService','getDrawingSearch','SHEET','Injector','IMenuManagerService','getPropertyValue','baseVal','call','getFocusDrawings','_sidebarService','_baseShapeLeft','Plugin','tag','decorate','flatMap','_connectorObjects'];_0x300a=function(){return _0x1da732;};return _0x300a();}(function(_0x22e21d,_0x4149a0){const _0x54e171=_0x49ca,_0x21f4e6=_0x22e21d();while(!![]){try{const _0x3c0787=-parseInt(_0x54e171(0x1c9))/0x1+-parseInt(_0x54e171(0x40b))/0x2*(-parseInt(_0x54e171(0x3b4))/0x3)+parseInt(_0x54e171(0x54e))/0x4*(-parseInt(_0x54e171(0x4de))/0x5)+-parseInt(_0x54e171(0x245))/0x6+parseInt(_0x54e171(0x351))/0x7+-parseInt(_0x54e171(0x3aa))/0x8*(-parseInt(_0x54e171(0x19b))/0x9)+parseInt(_0x54e171(0x424))/0xa*(parseInt(_0x54e171(0x277))/0xb);if(_0x3c0787===_0x4149a0)break;else _0x21f4e6['push'](_0x21f4e6['shift']());}catch(_0x4ff6b8){_0x21f4e6['push'](_0x21f4e6['shift']());}}}(_0x300a,0x472c3),function(_0x24fbfb,_0x5e78f4){const _0x23ad47=_0x49ca;typeof exports==_0x23ad47(0x421)&&typeof module<'u'?_0x5e78f4(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define=='function'&&define[_0x23ad47(0x572)]?define([_0x23ad47(0x437),_0x23ad47(0x375),_0x23ad47(0x199),'@univerjs-pro/engine-shape',_0x23ad47(0x472),_0x23ad47(0x293),_0x23ad47(0x4ba),'@univerjs/sheets',_0x23ad47(0x280),_0x23ad47(0x207),_0x23ad47(0x320),'rxjs',_0x23ad47(0x3a3),_0x23ad47(0x4b2),_0x23ad47(0x53d),_0x23ad47(0x232),_0x23ad47(0x528),_0x23ad47(0x1d7),'@univerjs/docs-ui',_0x23ad47(0x406),_0x23ad47(0x1e3)],_0x5e78f4):(_0x24fbfb=typeof globalThis<'u'?globalThis:_0x24fbfb||self,_0x5e78f4(_0x24fbfb[_0x23ad47(0x223)]={},_0x24fbfb[_0x23ad47(0x401)],_0x24fbfb['UniverUi'],_0x24fbfb['UniverProEngineShape'],_0x24fbfb[_0x23ad47(0x462)],_0x24fbfb[_0x23ad47(0x4e8)],_0x24fbfb[_0x23ad47(0x28f)],_0x24fbfb[_0x23ad47(0x354)],_0x24fbfb[_0x23ad47(0x408)],_0x24fbfb[_0x23ad47(0x1ff)],_0x24fbfb['UniverSheetsUi'],_0x24fbfb['rxjs'],_0x24fbfb['UniverDrawingUi'],_0x24fbfb[_0x23ad47(0x2ec)],_0x24fbfb[_0x23ad47(0x485)],_0x24fbfb[_0x23ad47(0x475)],_0x24fbfb[_0x23ad47(0x221)],_0x24fbfb[_0x23ad47(0x571)],_0x24fbfb[_0x23ad47(0x512)],_0x24fbfb[_0x23ad47(0x55b)],_0x24fbfb['React']));}(this,function(_0x389d98,_0x54a51b,_0x5744c6,_0x34f551,_0x42b73e,_0x239f56,_0x567e1d,_0x11447f,_0x36b4c7,_0x3e5eae,_0x17eed7,_0x1d246a,_0x44d5e4,_0x41b81b,_0x1a5094,_0x1f8323,_0x2b0b35,_0x4d3fb2,_0x36809f,_0x2ea516,_0x58a2d5){const _0x718440=_0x49ca;Object[_0x718440(0x54c)](_0x389d98,Symbol[_0x718440(0x2c6)],{'value':_0x718440(0x393)});function _0x7e0c6a(_0x36e5ca,_0x36658c){const _0x4ab5fe=_0x718440;let _0x28f561={};for(let _0x532d45 of Object[_0x4ab5fe(0x337)](_0x36658c)){let _0x590911=_0x36658c[_0x532d45],_0xba3c60=_0x36e5ca[_0x532d45];if(_0xba3c60===void 0x0){_0x28f561[_0x532d45]=void 0x0;continue;}_0x28f561[_0x532d45]=typeof _0x590911==_0x4ab5fe(0x421)&&_0x590911&&!Array['isArray'](_0x590911)&&typeof _0xba3c60==_0x4ab5fe(0x421)&&_0xba3c60&&!Array['isArray'](_0xba3c60)?_0x7e0c6a(_0xba3c60,_0x590911):_0xba3c60;}return _0x28f561;}let _0x1f4f18={'type':_0x567e1d[_0x718440(0x26b)]['COMMAND'],'id':_0x718440(0x1c0),'handler':(_0x4514b7,_0x5f4d8f)=>{const _0x2bd364=_0x718440;let _0x31d4ad=_0x4514b7[_0x2bd364(0x39f)](_0x239f56['SheetsShapeService']),{unitId:_0x90f963,subUnitId:_0x4ebfb0,shapeType:_0x1b0298,shapeId:_0x429406,shapeData:_0x20fd54,replaceShapeData:_0x2bb471,oldShapeJSON:_0x1444c1}=_0x5f4d8f;if(!_0x31d4ad[_0x2bd364(0x459)](_0x90f963,_0x4ebfb0,_0x429406))return!0x1;let _0x301788=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x1cf)]),_0x1af615=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x32a)]),{oldShapeType:_0x2a8723,oldShapeData:_0x50f6ea={}}=_0x1444c1,_0x46038d=_0x2bb471?_0x50f6ea:_0x7e0c6a(_0x50f6ea,_0x20fd54||{}),_0x90cbda={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x1b0298,'shapeData':_0x20fd54,'replace':_0x2bb471}},_0x46cfb7={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x2a8723,'shapeData':_0x46038d,'replace':_0x2bb471}};return _0x301788['syncExecuteCommand'](_0x90cbda['id'],_0x90cbda[_0x2bd364(0x247)])?(_0x1af615[_0x2bd364(0x2dd)]({'unitID':_0x90f963,'undoMutations':[_0x46cfb7],'redoMutations':[_0x90cbda]}),!0x0):!0x1;}};function _0x322a2b(_0x13da3c,_0x45e8a0,_0x34536f,_0x38b556,_0x4dd3e6,_0x26cd80){const _0x46a142=_0x718440;let _0x41f000={'unitId':_0x45e8a0,'subUnitId':_0x34536f,'shapeId':_0x38b556,'shapeData':_0x26cd80,'oldShapeJSON':_0x4dd3e6};return _0x13da3c[_0x46a142(0x3c0)](_0x1f4f18['id'],_0x41f000);}function _0x435eb2(_0x5330c6,_0x5bbc49,_0x54c070,_0x4a5e2c,_0x789deb,_0x5c6492){let _0x14f58a={'unitId':_0x5bbc49,'subUnitId':_0x54c070,'shapeId':_0x4a5e2c,'shapeData':_0x5c6492,'oldShapeJSON':_0x789deb};return _0x5330c6['executeCommand'](_0x1f4f18['id'],_0x14f58a);}function _0x2d0497(_0x30d3ca){'@babel/helpers - typeof';const _0x3ba07a=_0x718440;return _0x2d0497=typeof Symbol=='function'&&typeof Symbol[_0x3ba07a(0x519)]==_0x3ba07a(0x4ff)?function(_0x2fcce7){return typeof _0x2fcce7;}:function(_0x2a2bd3){const _0x12fb5b=_0x3ba07a;return _0x2a2bd3&&typeof Symbol==_0x12fb5b(0x32f)&&_0x2a2bd3[_0x12fb5b(0x313)]===Symbol&&_0x2a2bd3!==Symbol[_0x12fb5b(0x586)]?_0x12fb5b(0x4ff):typeof _0x2a2bd3;},_0x2d0497(_0x30d3ca);}function _0x4d262e(_0x5251cd,_0x1e31cc){const _0x5345e9=_0x718440;if(_0x2d0497(_0x5251cd)!='object'||!_0x5251cd)return _0x5251cd;var _0xc4eb11=_0x5251cd[Symbol[_0x5345e9(0x3f3)]];if(_0xc4eb11!==void 0x0){var _0x2fa5a3=_0xc4eb11[_0x5345e9(0x446)](_0x5251cd,_0x1e31cc||'default');if(_0x2d0497(_0x2fa5a3)!='object')return _0x2fa5a3;throw TypeError(_0x5345e9(0x1f5));}return(_0x1e31cc===_0x5345e9(0x468)?String:Number)(_0x5251cd);}function _0x3187b2(_0x2f7f53){const _0x4851d3=_0x718440;var _0x3634ce=_0x4d262e(_0x2f7f53,_0x4851d3(0x468));return _0x2d0497(_0x3634ce)=='symbol'?_0x3634ce:_0x3634ce+'';}function _0x55cc91(_0x6ba21f,_0x523c90,_0x46cb56){const _0x5bd943=_0x718440;return(_0x523c90=_0x3187b2(_0x523c90))in _0x6ba21f?Object[_0x5bd943(0x54c)](_0x6ba21f,_0x523c90,{'value':_0x46cb56,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x6ba21f[_0x523c90]=_0x46cb56,_0x6ba21f;}function _0x21bee7(_0x7a9cc8,_0x2f5496,_0x250be1){const _0x23b014=_0x718440;let _0x43e6bd={..._0x2f5496,'dataModel':{..._0x2f5496[_0x23b014(0x2b6)]??{},..._0x250be1?{'doc':_0x250be1}:null}},_0xc62b80=(0x0,_0x54a51b[_0x23b014(0x48f)])(_0x7a9cc8,_0x43e6bd),_0x1f1b10=(0x0,_0x54a51b[_0x23b014(0x591)])(_0xc62b80);return{'clip':(0x0,_0x54a51b[_0x23b014(0x3f2)])(_0xc62b80,_0x1f1b10),'wrapStrategy':_0x1f1b10};}var _0x5b187c=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x4ab90d,_0x2845f8){const _0xfdd1c1=_0x718440;super(_0x4ab90d,_0x2845f8),_0x55cc91(this,'_props',void 0x0),_0x55cc91(this,_0xfdd1c1(0x55d),new _0x54a51b['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this[_0xfdd1c1(0x253)]())),_0x55cc91(this,_0xfdd1c1(0x3e2),!0x0),_0x55cc91(this,_0xfdd1c1(0x433),_0x567e1d[_0xfdd1c1(0x2f1)][_0xfdd1c1(0x20f)]),_0x55cc91(this,_0xfdd1c1(0x45b),!0x0),this['_props']={..._0x2845f8},this['_formulaAnimation'][_0xfdd1c1(0x58d)](_0x2845f8['formulaPresentation'],_0x2845f8[_0xfdd1c1(0x56a)]!==!0x1),this['_init'](),this[_0xfdd1c1(0x253)]();}[_0x718440(0x560)](){const _0x288a3b=_0x718440;this[_0x288a3b(0x372)][_0x288a3b(0x483)](_0xce90ed=>{const _0x5ed578=_0x288a3b;this[_0x5ed578(0x315)](_0xce90ed);});}[_0x718440(0x2ce)](_0x1ea98c){const _0x4fcd5f=_0x718440;this['_props'][_0x4fcd5f(0x338)]=_0x1ea98c;}[_0x718440(0x428)](_0x221b27){const _0x36da86=_0x718440;this[_0x36da86(0x3f1)][_0x36da86(0x58e)]=_0x221b27,this[_0x36da86(0x3ce)](!0x0);}[_0x718440(0x2eb)](_0x3e6614,_0xf7bc32=!0x0){const _0x233143=_0x718440;this['_formulaAnimation'][_0x233143(0x58d)](_0x3e6614,_0xf7bc32),this['_props'][_0x233143(0x24a)]=_0x3e6614,this[_0x233143(0x253)](),this[_0x233143(0x3ce)](!0x0);}[_0x718440(0x253)](){const _0x465f93=_0x718440;let _0x1f3f5a=this[_0x465f93(0x3f1)][_0x465f93(0x3e0)],_0x368dbd=_0x1f3f5a[_0x465f93(0x2e5)](),_0x4ae7e0=(0x0,_0x54a51b[_0x465f93(0x3ef)])(_0x368dbd==null?void 0x0:_0x368dbd[_0x465f93(0x2b6)]),_0x2dcf15=_0x4ae7e0==null?void 0x0:_0x4ae7e0[_0x465f93(0x438)],_0x11b25b=this['_formulaAnimation'][_0x465f93(0x1eb)]();if(!_0x2dcf15||_0x11b25b[_0x465f93(0x212)]===0x0)return;_0x1f3f5a[_0x465f93(0x1bc)]({'width':this[_0x465f93(0x3d1)],'height':this['height']});let _0x4c51e9=(0x0,_0x54a51b[_0x465f93(0x568)])({'documentData':_0x11b25b[_0x465f93(0x3e8)](_0x231cc0=>(0x0,_0x42b73e['createShapeFormulaDocument'])(_0x2dcf15,_0x231cc0)),'height':this[_0x465f93(0x1ef)],'shapeData':_0x1f3f5a[_0x465f93(0x1e2)](),'textRect':_0x1f3f5a[_0x465f93(0x3b0)]({'left':0x0,'top':0x0,'width':this[_0x465f93(0x3d1)],'height':this[_0x465f93(0x1ef)]}),'width':this['width']});if(_0x4c51e9){var _0x5d9373;this['resize'](_0x4c51e9[_0x465f93(0x3d1)],_0x4c51e9[_0x465f93(0x1ef)]),(_0x5d9373=this[_0x465f93(0x226)]())==null||(_0x5d9373=_0x5d9373[_0x465f93(0x23d)]())==null||_0x5d9373['debounceRefreshControls']();}}get[_0x718440(0x45d)](){return this['_props']['unitId'];}get[_0x718440(0x31f)](){const _0x3ca9ba=_0x718440;return this[_0x3ca9ba(0x3f1)][_0x3ca9ba(0x31f)];}[_0x718440(0x315)](_0x4d3202){const _0x5d5252=_0x718440;if(this[_0x5d5252(0x3f1)]['srcRect']==null||!this[_0x5d5252(0x3e2)])return;let {width:_0x5a0185,height:_0x270afa}=this,{width:_0x1ca7f9=0x0,height:_0x12f4de=0x0}=_0x4d3202[_0x5d5252(0x548)],{left:_0x1c355b=0x0,top:_0x59030b=0x0,right:_0x458d40=0x0,bottom:_0x4276f7=0x0}=this[_0x5d5252(0x3f1)][_0x5d5252(0x487)],_0x281b17=_0x1c355b,_0x44063d=_0x59030b,_0x139079=_0x458d40,_0x469846=_0x4276f7,_0x263d8a=!0x1;if(_0x1ca7f9!==0x0&&_0x1ca7f9!==_0x5a0185){let _0x169e72=_0x1c355b/_0x1ca7f9,_0x21c12b=_0x458d40/_0x1ca7f9;_0x281b17=_0x5a0185*_0x169e72,_0x139079=_0x5a0185*_0x21c12b,_0x263d8a=!0x0;}if(_0x12f4de!==0x0&&_0x12f4de!==_0x270afa){let _0x598f3a=_0x59030b/_0x12f4de,_0x49f395=_0x4276f7/_0x12f4de;_0x44063d=_0x270afa*_0x598f3a,_0x469846=_0x270afa*_0x49f395,_0x263d8a=!0x0;}_0x263d8a&&this[_0x5d5252(0x3ba)]({'left':_0x281b17,'top':_0x44063d,'right':_0x139079,'bottom':_0x469846});}['setSrcRect'](_0x57d2f4){const _0x23b312=_0x718440;this[_0x23b312(0x3f1)]['srcRect']=_0x57d2f4,this[_0x23b312(0x3ce)](!0x0);}['setFillImage'](_0x8fa7a8){const _0x1ab0fd=_0x718440;this[_0x1ab0fd(0x3f1)]['image']=_0x8fa7a8,this[_0x1ab0fd(0x3ce)](!0x0);}set['transform'](_0x388c5a){const _0x34ebf5=_0x718440;this[_0x34ebf5(0x216)]=_0x388c5a;}get['transform'](){const _0x222423=_0x718440;this[_0x222423(0x216)]||this['_setTransForm']();let _0xd7a87d=this[_0x222423(0x216)][_0x222423(0x27c)]();return this[_0x222423(0x51c)](_0xd7a87d);}get[_0x718440(0x3e0)](){const _0x4e826b=_0x718440;return this[_0x4e826b(0x3f1)][_0x4e826b(0x3e0)];}get[_0x718440(0x1fd)](){const _0xdc1e0e=_0x718440;return this[_0xdc1e0e(0x3f1)][_0xdc1e0e(0x1fd)];}get[_0x718440(0x2be)](){const _0x5871d8=_0x718440;return _0x3e5eae[_0x5871d8(0x281)]['SHAPE'];}[_0x718440(0x250)](_0x3e2e3d,_0x9d9bd5,_0x261c34,_0x51a84b){const _0x3c973c=_0x718440;let _0x286529=this['_props'][_0x3c973c(0x3e0)];if(!_0x286529||!_0x9d9bd5)return;let _0x1ac161=_0x261c34??this[_0x3c973c(0x3d1)],_0x2083d3=_0x51a84b??this[_0x3c973c(0x1ef)],_0x325ecf={'shapeType':_0x286529['getShapeType'](),'width':_0x1ac161,'height':_0x2083d3},_0xb3a5e3={'renderMode':_0x34f551[_0x3c973c(0x255)][_0x3c973c(0x38c)],'oKey':this['oKey'],'image':this['_props'][_0x3c973c(0x537)],'angle':this['angle']};_0x286529[_0x3c973c(0x1bc)](_0x325ecf),_0x3e2e3d[_0x3c973c(0x1f8)]();let _0x373963={'top':0x0,'left':0x0,'width':_0x1ac161,'height':_0x2083d3},_0x146313=_0x286529[_0x3c973c(0x556)](_0x373963);_0x146313?this[_0x3c973c(0x24b)](_0x3e2e3d,_0x146313,_0x376de2=>{const _0x4a1b3d=_0x3c973c;_0x286529[_0x4a1b3d(0x22c)](_0x376de2,_0x373963,_0xb3a5e3);}):(this[_0x3c973c(0x1fa)](),_0x286529[_0x3c973c(0x22c)](_0x3e2e3d,_0x373963,_0xb3a5e3)),_0x3e2e3d['restore']();let _0x158d74=_0x286529[_0x3c973c(0x2e5)](),_0x5ed005=_0x286529[_0x3c973c(0x3b0)](_0x373963),_0x240287=_0x286529[_0x3c973c(0x21a)]();if(_0x158d74&&_0x5ed005&&!_0x240287){_0x3e2e3d[_0x3c973c(0x1f8)](),this[_0x3c973c(0x499)]()['flipX']&&_0x3e2e3d[_0x3c973c(0x39a)](-0x1,0x1);let _0xf2c24=_0x1ac161/0x2,_0x25deaf=_0x2083d3/0x2;_0x3e2e3d['translate'](-_0xf2c24,-_0x25deaf),_0x3e2e3d['beginPath'](),this[_0x3c973c(0x1a0)](_0x3e2e3d,_0x158d74,_0x5ed005),_0x3e2e3d[_0x3c973c(0x1e9)]();}}[_0x718440(0x1a2)](_0x1b5b53){}[_0x718440(0x1a0)](_0x103e4f,_0x4bdf45,_0x2145cf){const _0x26205d=_0x718440;var _0xebce85;this[_0x26205d(0x3f1)][_0x26205d(0x58e)]||(!((_0xebce85=_0x4bdf45['dataModel'])!=null&&_0xebce85[_0x26205d(0x438)])&&_0x26205d(0x2ac)in _0x4bdf45&&_0x4bdf45['isRichText']===!0x1?this[_0x26205d(0x4bb)](_0x103e4f,_0x4bdf45,_0x2145cf):this[_0x26205d(0x1ac)](_0x103e4f,_0x4bdf45,_0x2145cf));}[_0x718440(0x4bb)](_0x4cb74b,_0x202114,_0x51392){const _0x25ff3d=_0x718440;this['_drawRichText'](_0x4cb74b,{..._0x202114,'text':_0x202114[_0x25ff3d(0x27b)]??'','dataModel':{'doc':(0x0,_0x54a51b[_0x25ff3d(0x39d)])(_0x202114,_0x25ff3d(0x385)+this[_0x25ff3d(0x1d1)])}},_0x51392);}[_0x718440(0x1ac)](_0x4c24c3,_0x2f1c63,_0x3d0944){const _0x14551a=_0x718440;(0x0,_0x54a51b[_0x14551a(0x328)])(_0x4c24c3,this[_0x14551a(0x55d)],(_0x2319a2,_0x5ee82f)=>{this['_drawRichTextLayer'](_0x2319a2,_0x2f1c63,_0x3d0944,_0x5ee82f);});}[_0x718440(0x45f)](_0x46d94e,_0x3183ee,_0x7690f7,_0x237b04){const _0xe5be5=_0x718440;let _0x3ef342=this[_0xe5be5(0x3f1)]['localeService'];if(!_0x3183ee[_0xe5be5(0x2b6)]||!_0x3ef342)return;let _0x2c1e1d=(0x0,_0x54a51b[_0xe5be5(0x3ef)])(_0x3183ee['dataModel']);if(!_0x2c1e1d)return;let _0xa276fc=_0x2c1e1d[_0xe5be5(0x438)];if(!_0xa276fc)return;let _0x12e583=(0x0,_0x42b73e[_0xe5be5(0x1a6)])(_0xa276fc,_0x237b04),_0x6c58c6=_0x2c1e1d['va']??_0x567e1d['VerticalAlign'][_0xe5be5(0x3fb)],_0x42a6c4=_0x2c1e1d['ha']??_0x567e1d[_0xe5be5(0x4e7)]['LEFT'],_0x222b2a=_0x21bee7(this[_0xe5be5(0x3f1)][_0xe5be5(0x3e0)][_0xe5be5(0x1e2)](),_0x3183ee,_0x12e583),_0x38d22f=_0x3183ee[_0xe5be5(0x305)],_0x454fe0=(0x0,_0x54a51b[_0xe5be5(0x246)])(_0x12e583,{'isHorizontal':_0x38d22f!==!0x1,'textRect':_0x7690f7,'verticalAlign':_0x6c58c6,'horizontalAlign':_0x42a6c4,'wrapStrategy':_0x222b2a[_0xe5be5(0x4d0)]}),_0x306487=new _0x567e1d['DocumentDataModel'](_0x454fe0),_0x2fce93=new _0x3e5eae[(_0xe5be5(0x266))](_0x306487),_0x1607c1=_0x3e5eae[_0xe5be5(0x276)][_0xe5be5(0x20d)](_0x2fce93,_0x3ef342);_0x1607c1['calculate']();let _0x50d992=_0x1607c1[_0xe5be5(0x1e4)]()['actualHeight'],_0x2a392b=(0x0,_0x54a51b['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x50d992,'verticalAlign':_0x6c58c6,'viewportHeight':_0x7690f7[_0xe5be5(0x1ef)]});_0x306487['updateDocumentStyle']({'pageSize':{'width':_0x38d22f===!0x1?_0x7690f7[_0xe5be5(0x1ef)]:_0x7690f7[_0xe5be5(0x3d1)],'height':(0x0,_0x54a51b['resolveShapeTextDocumentPageHeight'])(_0x12e583,_0x2a392b[_0xe5be5(0x4db)])}}),_0x306487[_0xe5be5(0x292)]({'t':_0x2a392b[_0xe5be5(0x1a4)]}),_0x1607c1['calculate']();let _0x566609=new _0x3e5eae[(_0xe5be5(0x400))](_0xe5be5(0x4a8)+this[_0xe5be5(0x1d1)],_0x1607c1,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0xe5be5(0x3ce)](!0x0)});_0x566609['resize'](_0x7690f7[_0xe5be5(0x3d1)],_0x2a392b[_0xe5be5(0x4db)]),_0x46d94e[_0xe5be5(0x1f8)](),_0x46d94e[_0xe5be5(0x262)](_0x7690f7['left'],_0x7690f7['top']),_0x222b2a['clip']&&(_0x46d94e[_0xe5be5(0x576)](),_0x46d94e[_0xe5be5(0x1c2)](0x0,_0x2a392b[_0xe5be5(0x40f)],_0x7690f7['width'],_0x2a392b['clipHeight']),_0x46d94e[_0xe5be5(0x389)]()),_0x2a392b['contentVerticalOffset']&&_0x46d94e[_0xe5be5(0x262)](0x0,_0x2a392b[_0xe5be5(0x333)]),_0x566609['draw'](_0x46d94e),_0x46d94e[_0xe5be5(0x1e9)](),_0x566609[_0xe5be5(0x4dd)](),_0x1607c1[_0xe5be5(0x4dd)](),_0x2fce93[_0xe5be5(0x4dd)](),_0x306487[_0xe5be5(0x4dd)]();}[_0x718440(0x22c)](_0x38de9a,_0x11b44c,_0xf2e58d=!0x1){const _0x16b8b1=_0x718440;if(!this[_0x16b8b1(0x47b)])return this['makeDirty'](!0x1),this;let {width:_0x5ca794,height:_0x415753,left:_0x2905c2,top:_0x44831a}=this,_0xfafeac=this[_0x16b8b1(0x2e7)]();if(_0x5ca794=_0xfafeac[_0x16b8b1(0x3d1)],_0x415753=_0xfafeac[_0x16b8b1(0x1ef)],_0x2905c2=_0xfafeac[_0x16b8b1(0x242)],_0x44831a=_0xfafeac[_0x16b8b1(0x4b1)],this[_0x16b8b1(0x2b2)](_0x11b44c)){let {top:_0x20821a,left:_0xe09c3f,bottom:_0x1bd9fc,right:_0x388ca}=_0x11b44c[_0x16b8b1(0x491)];if(_0x5ca794+this['strokeWidth']+_0x2905c2<_0xe09c3f||_0x388ca<_0x2905c2||_0x415753+this[_0x16b8b1(0x318)]+_0x44831a<_0x20821a||_0x1bd9fc<_0x44831a)return this;}let _0x3200c4=_0x2905c2+_0x5ca794/0x2,_0xa52876=_0x44831a+_0x415753/0x2,_0x180894=this['transform'][_0x16b8b1(0x278)]();if(this['_props'][_0x16b8b1(0x58e)]){let _0x3f4de9=this[_0x16b8b1(0x499)](),_0x14522d=new _0x3e5eae[(_0x16b8b1(0x218))]();_0x14522d[_0x16b8b1(0x3e4)]({..._0x3f4de9}),_0x180894=_0x14522d[_0x16b8b1(0x278)]();}return _0x38de9a[_0x16b8b1(0x1f8)](),this[_0x16b8b1(0x3f1)][_0x16b8b1(0x3e0)][_0x16b8b1(0x4d2)]===!0x0||_0x38de9a[_0x16b8b1(0x4c7)](_0x180894[0x0],_0x180894[0x1],_0x180894[0x2],_0x180894[0x3],_0x3200c4,_0xa52876),this[_0x16b8b1(0x250)](_0x38de9a,_0x11b44c,_0x5ca794,_0x415753),_0x38de9a[_0x16b8b1(0x1e9)](),this[_0x16b8b1(0x3ce)](!0x1),this;}['getInverseCoord'](_0x148e7e){const _0xa7161c=_0x718440;let {left:_0x2c8e63,top:_0xbbe582,width:_0x5df6e3,height:_0xc13458}=this['getRealBound'](),_0x183dc2=this[_0xa7161c(0x4c7)][_0xa7161c(0x278)](),_0x54da18=_0x2c8e63+_0x5df6e3/0x2,_0x3277b2=_0xbbe582+_0xc13458/0x2,_0x31990a=new _0x3e5eae[(_0xa7161c(0x218))]([_0x183dc2[0x0],_0x183dc2[0x1],_0x183dc2[0x2],_0x183dc2[0x3],_0x54da18,_0x3277b2]),_0x1be48a=this[_0xa7161c(0x4b6)]();return(this[_0xa7161c(0x4f9)]&&(_0x1be48a==null?void 0x0:_0x1be48a['classType'])===_0x3e5eae[_0xa7161c(0x281)]['GROUP']?_0x1be48a['ancestorTransform']['multiply'](_0x31990a):_0x31990a)[_0xa7161c(0x404)]()[_0xa7161c(0x2a2)](_0x148e7e);}[_0x718440(0x590)](_0x21a28c){const _0x3bb45a=_0x718440;let {left:_0x3f996d,top:_0x502b9d,width:_0x46e6c6,height:_0x10a9e1}=this[_0x3bb45a(0x2e7)](),_0x10eac4=_0x3f996d+_0x46e6c6/0x2,_0x1dc5c9=_0x502b9d+_0x10a9e1/0x2,_0x2fd340=this[_0x3bb45a(0x4c7)][_0x3bb45a(0x278)](),_0x90ec3a=new _0x3e5eae[(_0x3bb45a(0x218))]([_0x2fd340[0x0],_0x2fd340[0x1],_0x2fd340[0x2],_0x2fd340[0x3],_0x10eac4,_0x1dc5c9]),_0x59436f=this[_0x3bb45a(0x4b6)](),_0x2f27a6=(this['isInGroup']&&(_0x59436f==null?void 0x0:_0x59436f['classType'])===_0x3e5eae[_0x3bb45a(0x281)][_0x3bb45a(0x290)]?_0x59436f[_0x3bb45a(0x524)][_0x3bb45a(0x4e3)](_0x90ec3a):_0x90ec3a)['invert']()[_0x3bb45a(0x2a2)](_0x21a28c),_0x6d7aa5=_0x46e6c6/0x2,_0x867c6a=_0x10a9e1/0x2,_0xb1b288=this[_0x3bb45a(0x3f1)][_0x3bb45a(0x3e0)];return _0xb1b288&&_0xb1b288['isLineShape']()?_0xb1b288[_0x3bb45a(0x206)](_0x2f27a6['x'],_0x2f27a6['y'],_0x46e6c6,_0x10a9e1):_0x2f27a6['x']>=-_0x6d7aa5-this['strokeWidth']/0x2&&_0x2f27a6['x']<=_0x6d7aa5+this['strokeWidth']/0x2&&_0x2f27a6['y']>=-_0x867c6a-this['strokeWidth']/0x2&&_0x2f27a6['y']<=_0x867c6a+this[_0x3bb45a(0x318)]/0x2;}[_0x718440(0x4dd)](){const _0x4833a0=_0x718440;this[_0x4833a0(0x55d)][_0x4833a0(0x4dd)](),this[_0x4833a0(0x3f1)]['shapeModel']=null,super[_0x4833a0(0x4dd)]();}},_0x8c69ab=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x2fb548,_0x98c91c){const _0xe2ee=_0x718440;super(_0x2fb548,_0x98c91c),_0x55cc91(this,_0xe2ee(0x314),null),_0x55cc91(this,_0xe2ee(0x2f2),null),_0x55cc91(this,_0xe2ee(0x527),null),_0x55cc91(this,_0xe2ee(0x545),null),_0x98c91c&&this['setShapeProps'](_0x98c91c);}['getDrawingSearch'](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_shapeId']};}[_0x718440(0x520)](_0x76a02){const _0x468097=_0x718440;_0x76a02[_0x468097(0x1fd)]!==void 0x0&&(this[_0x468097(0x314)]=_0x76a02[_0x468097(0x1fd)]),_0x76a02[_0x468097(0x2f4)]!==void 0x0&&(this[_0x468097(0x2f2)]=_0x76a02['adjName']),_0x76a02[_0x468097(0x45d)]!==void 0x0&&(this[_0x468097(0x527)]=_0x76a02['unitId']),_0x76a02[_0x468097(0x31f)]!==void 0x0&&(this[_0x468097(0x545)]=_0x76a02['subUnitId']),this[_0x468097(0x2d4)]({'width':_0x76a02['width'],'height':_0x76a02['height']});}[_0x718440(0x250)](_0x365ce9){const _0x36a085=_0x718440;_0x3e5eae[_0x36a085(0x233)][_0x36a085(0x578)](_0x365ce9,{'radius':_0x34f551[_0x36a085(0x526)]['adjHandleSize'],'fill':_0x34f551[_0x36a085(0x526)]['adjHandleFill'],'stroke':_0x34f551['ShapeDefaultConfig'][_0x36a085(0x42d)],'strokeWidth':0x1,'evented':!0x0});}};function _0x519f13(_0x398aca,_0x3e92e6){return function(_0x2c97f3,_0x2fcf39){_0x3e92e6(_0x2c97f3,_0x2fcf39,_0x398aca);};}function _0xb31b0c(_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b){const _0x30fd99=_0x718440;var _0x1d9c7f=arguments[_0x30fd99(0x212)],_0x57ab39=_0x1d9c7f<0x3?_0x29dcab:_0xb3329b===null?_0xb3329b=Object['getOwnPropertyDescriptor'](_0x29dcab,_0x89c049):_0xb3329b,_0x10d31d;if(typeof Reflect=='object'&&typeof Reflect[_0x30fd99(0x44c)]=='function')_0x57ab39=Reflect[_0x30fd99(0x44c)](_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b);else{for(var _0x383bd7=_0x59a3c1[_0x30fd99(0x212)]-0x1;_0x383bd7>=0x0;_0x383bd7--)(_0x10d31d=_0x59a3c1[_0x383bd7])&&(_0x57ab39=(_0x1d9c7f<0x3?_0x10d31d(_0x57ab39):_0x1d9c7f>0x3?_0x10d31d(_0x29dcab,_0x89c049,_0x57ab39):_0x10d31d(_0x29dcab,_0x89c049))||_0x57ab39);}return _0x1d9c7f>0x3&&_0x57ab39&&Object[_0x30fd99(0x54c)](_0x29dcab,_0x89c049,_0x57ab39),_0x57ab39;}let _0x29d254=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2d0e9b,_0x23c5d6,_0x33aa5c,_0x124828,_0x242502,_0x2158e6){const _0x146b12=_0x718440;super(),this[_0x146b12(0x2a8)]=_0x2d0e9b,this[_0x146b12(0x4cd)]=_0x23c5d6,this[_0x146b12(0x4b5)]=_0x33aa5c,this[_0x146b12(0x2fe)]=_0x124828,this[_0x146b12(0x1a5)]=_0x242502,this[_0x146b12(0x563)]=_0x2158e6,_0x55cc91(this,_0x146b12(0x3a9),new Map()),this[_0x146b12(0x503)](this['_shapeFormulaService'][_0x146b12(0x279)][_0x146b12(0x374)](_0x4bf7fe=>{const _0x2895c6=_0x146b12;var _0x1494cf;(_0x1494cf=this['_formulaShapes'][_0x2895c6(0x39f)](this['_formulaKey'](_0x4bf7fe['unitId'],_0x4bf7fe[_0x2895c6(0x31f)],_0x4bf7fe['shapeId'])))==null||_0x1494cf[_0x2895c6(0x241)](_0x539eb3=>_0x539eb3[_0x2895c6(0x2eb)](_0x4bf7fe[_0x2895c6(0x1bf)],_0x4bf7fe['animationEnabled']));})),this[_0x146b12(0x503)](this[_0x146b12(0x2a8)][_0x146b12(0x4ca)][_0x146b12(0x374)](_0x520bcb=>{const _0x213bc8=_0x146b12;_0x520bcb[_0x213bc8(0x241)](_0x248fea=>{const _0x34df81=_0x213bc8;this[_0x34df81(0x563)][_0x34df81(0x392)]({'unitId':_0x248fea[_0x34df81(0x45d)],'subUnitId':_0x248fea[_0x34df81(0x31f)],'shapeId':_0x248fea[_0x34df81(0x25d)]}),this['_formulaShapes'][_0x34df81(0x1c5)](this[_0x34df81(0x1d3)](_0x248fea[_0x34df81(0x45d)],_0x248fea[_0x34df81(0x31f)],_0x248fea[_0x34df81(0x25d)]));});}));}[_0x718440(0x2a0)](_0x3bb4e9,_0x155dfa,_0x2a3992){const _0x11e8fc=_0x718440;let {transform:_0x1ad286,drawingType:_0x19961f,srcRect:_0x46f9c3,prstGeom:_0x5bb7a2,groupId:_0x12605b,unitId:_0x51154a,subUnitId:_0x18a8e9,drawingId:_0x10118a,isMultiTransform:_0x33f55c,transforms:_0x228a3b,hidden:_0x29410b,selectable:_0x177728}=_0x3bb4e9;if(_0x19961f!==_0x567e1d[_0x11e8fc(0x2f1)][_0x11e8fc(0x20f)]||!this['_drawingManagerService'][_0x11e8fc(0x1af)]()||_0x1ad286==null)return;let _0x5c66ca=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x415)](),_0x372663=_0x33f55c&&_0x228a3b?_0x228a3b:[_0x1ad286],_0x135f69=[];for(let _0x132f5b of _0x372663){let {left:_0x226c3a,top:_0x1db082,width:_0x4d0165,height:_0x374111,angle:_0x44f20c,flipX:_0x454d51,flipY:_0x208ed5,skewX:_0x5e769b,skewY:_0x4e6bf5}=_0x132f5b,_0x1fcc1=_0x372663[_0x11e8fc(0x4ec)](_0x132f5b),_0x497a7a=(0x0,_0x36b4c7[_0x11e8fc(0x56c)])({'unitId':_0x51154a,'subUnitId':_0x18a8e9,'drawingId':_0x10118a},_0x33f55c?_0x1fcc1:void 0x0),_0x471149=_0x155dfa[_0x11e8fc(0x566)](_0x497a7a);if(_0x471149!=null){let _0x603a55={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x471149 instanceof _0x5b187c&&this[_0x11e8fc(0x307)](_0x471149,_0x603a55),_0x471149[_0x11e8fc(0x2d4)]({'left':_0x226c3a,'top':_0x1db082,'width':_0x4d0165,'height':_0x374111,'angle':_0x44f20c,'flipX':_0x454d51,'flipY':_0x208ed5,'skewX':_0x5e769b,'skewY':_0x4e6bf5});continue;}let _0xa1b5be=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x205)](_0x51154a,_0x18a8e9),_0x1dee7e=_0xa1b5be[_0x11e8fc(0x4ec)](_0x10118a);if(_0x155dfa['getObjectIncludeInGroup'](_0x497a7a)||!this['_drawingManagerService'][_0x11e8fc(0x1af)]())continue;let _0x89f839=this[_0x11e8fc(0x4cd)][_0x11e8fc(0x459)](_0x51154a,_0x18a8e9,_0x10118a);if(!_0x89f839)continue;let _0x588c21=(0x0,_0x34f551['isConnectorShape'])(_0x89f839[_0x11e8fc(0x43a)]())?{..._0x54a51b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x54a51b[_0x11e8fc(0x58a)],_0x4066eb=_0x89f839['getShapeData']()['formulaBinding'],_0x2b1a0b={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x4066eb&&this['_shapeFormulaService'][_0x11e8fc(0x50a)](_0x2b1a0b,_0x4066eb);let _0x239055=new _0x5b187c(_0x497a7a,{..._0x132f5b,'zIndex':_0x1dee7e===-0x1?_0xa1b5be['length']-0x1:_0x1dee7e,'shapeModel':_0x89f839,'localeService':this['_localeService'],'shapeId':_0x10118a,'unitId':_0x51154a,'subUnitId':_0x18a8e9,'visible':_0x29410b!==!0x0,'evented':_0x177728!==!0x1,'formulaPresentation':_0x4066eb?this[_0x11e8fc(0x563)][_0x11e8fc(0x381)](_0x2b1a0b):void 0x0,'animateFormulaPresentation':(_0x4066eb==null?void 0x0:_0x4066eb['animationEnabled'])!==!0x1,'transformerConfig':_0x588c21});if(_0x4066eb){let _0x2325a7=this['_formulaKey'](_0x51154a,_0x18a8e9,_0x10118a),_0x40da8b=this['_formulaShapes'][_0x11e8fc(0x39f)](_0x2325a7)??new Set();_0x40da8b[_0x11e8fc(0x3e3)](_0x239055),this[_0x11e8fc(0x3a9)][_0x11e8fc(0x327)](_0x2325a7,_0x40da8b);}_0x155dfa[_0x11e8fc(0x1f1)](_0x239055,_0x3e5eae['DRAWING_OBJECT_LAYER_INDEX']),_0x5c66ca&&_0x155dfa[_0x11e8fc(0x386)](_0x239055),_0x12605b&&(0x0,_0x44d5e4['insertGroupObject'])({'drawingId':_0x12605b,'unitId':_0x51154a,'subUnitId':_0x18a8e9},_0x239055,_0x155dfa,this[_0x11e8fc(0x2a8)]),_0x5bb7a2!=null&&_0x239055[_0x11e8fc(0x2ce)](_0x5bb7a2),_0x46f9c3!=null&&_0x239055[_0x11e8fc(0x3ba)](_0x46f9c3);let _0x1f9bff=this['_loadShapePictureFill'](_0x239055,_0x89f839[_0x11e8fc(0x1e2)]());if(_0x1f9bff){var _0x224fcb;_0x2a3992==null||(_0x224fcb=_0x2a3992[_0x11e8fc(0x427)])==null||_0x224fcb[_0x11e8fc(0x3e3)](_0x1f9bff);}_0x135f69['push'](_0x239055);}return _0x135f69;}['_formulaKey'](_0x550d38,_0x4ba24e,_0x63ac45){return _0x550d38+'\x00'+_0x4ba24e+'\x00'+_0x63ac45;}[_0x718440(0x307)](_0x427826,_0x5a0991){const _0x6c87de=_0x718440;let _0x46761c=this['_sheetsShapeService'][_0x6c87de(0x459)](_0x5a0991[_0x6c87de(0x45d)],_0x5a0991['subUnitId'],_0x5a0991['shapeId']),_0x470729=_0x46761c==null?void 0x0:_0x46761c[_0x6c87de(0x1e2)]()[_0x6c87de(0x270)],_0x41378c=this[_0x6c87de(0x1d3)](_0x5a0991['unitId'],_0x5a0991[_0x6c87de(0x31f)],_0x5a0991[_0x6c87de(0x1fd)]);if(_0x470729){this[_0x6c87de(0x563)][_0x6c87de(0x50a)](_0x5a0991,_0x470729);let _0x51476c=this[_0x6c87de(0x3a9)]['get'](_0x41378c)??new Set();_0x51476c[_0x6c87de(0x3e3)](_0x427826),this[_0x6c87de(0x3a9)][_0x6c87de(0x327)](_0x41378c,_0x51476c);}else{var _0x309a4a;this['_shapeFormulaService'][_0x6c87de(0x392)](_0x5a0991),(_0x309a4a=this['_formulaShapes']['get'](_0x41378c))==null||_0x309a4a[_0x6c87de(0x1c5)](_0x427826);}_0x427826[_0x6c87de(0x2eb)](_0x470729?this['_shapeFormulaService'][_0x6c87de(0x381)](_0x5a0991):void 0x0,(_0x470729==null?void 0x0:_0x470729['animationEnabled'])!==!0x1);}[_0x718440(0x432)](_0x52230f){const _0x3b3851=_0x718440;let _0x577030=_0x52230f[_0x3b3851(0x3e0)][_0x3b3851(0x1e2)](),_0x4d8b7c=_0x577030[_0x3b3851(0x3a0)];if(!_0x4d8b7c||_0x4d8b7c[_0x3b3851(0x1b4)]!==_0x34f551[_0x3b3851(0x34e)][_0x3b3851(0x43c)]||!_0x4d8b7c['fillImageSource']){_0x52230f[_0x3b3851(0x2a3)](void 0x0);return;}this[_0x3b3851(0x362)](_0x52230f,_0x577030);}[_0x718440(0x362)](_0x2e16df,_0x11a02f){const _0x151dc7=_0x718440;let _0x372fc6=_0x11a02f[_0x151dc7(0x3a0)];if(!_0x372fc6||_0x372fc6[_0x151dc7(0x1b4)]!==_0x34f551['ShapeFillEnum']['PictureFill']||!_0x372fc6['fillImageSource'])return;let _0xb09694=_0x372fc6[_0x151dc7(0x377)],_0x11b2a5=_0x372fc6[_0x151dc7(0x523)]??_0x34f551[_0x151dc7(0x479)][_0x151dc7(0x213)],_0x2211c6=this[_0x151dc7(0x2fe)][_0x151dc7(0x228)](_0xb09694,_0x11b2a5);if(_0x2211c6){_0x2e16df[_0x151dc7(0x2a3)](_0x2211c6);return;}return this[_0x151dc7(0x49b)](_0x2e16df,_0xb09694,_0x11b2a5);}async[_0x718440(0x49b)](_0x1a0003,_0x243019,_0xbfe6c8){const _0xe27d9f=_0x718440;let _0x26756b;try{if(_0xbfe6c8===_0x34f551[_0xe27d9f(0x479)][_0xe27d9f(0x482)])_0x26756b=await this[_0xe27d9f(0x2fe)][_0xe27d9f(0x31b)](_0x243019);else{if(_0xbfe6c8===_0x34f551['ImageSourceTypeEnum'][_0xe27d9f(0x213)])try{_0x26756b=await this[_0xe27d9f(0x1a5)]['getImage'](_0x243019);}catch{_0x26756b=_0x243019;}else _0x26756b=_0x243019;}}catch(_0x5ec406){console[_0xe27d9f(0x4c1)](_0xe27d9f(0x2c7),_0x5ec406);return;}await new Promise(_0x16367e=>{const _0x7e0b6=_0xe27d9f;let _0x31f3a9=new window[(_0x7e0b6(0x35e))]();_0x31f3a9[_0x7e0b6(0x505)]=()=>{const _0x113c77=_0x7e0b6;this[_0x113c77(0x2fe)][_0x113c77(0x311)](_0x243019,_0xbfe6c8,_0x31f3a9),_0x1a0003[_0x113c77(0x2a3)](_0x31f3a9),_0x16367e();},_0x31f3a9[_0x7e0b6(0x1cc)]=()=>{console['error']('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x243019),_0x16367e();},_0x31f3a9[_0x7e0b6(0x222)]=_0x26756b;});}};_0x29d254=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x3,_0x567e1d['IImageIoService']),_0x519f13(0x4,_0x567e1d[_0x718440(0x4b4)]),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x42b73e[_0x718440(0x3c5)]))],_0x29d254);let _0x5258f8=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x25381d,_0x3d1490,_0x488501,_0x20802a,_0x55a720,_0x1dceb5){const _0x13f76e=_0x718440;super(),this[_0x13f76e(0x2a8)]=_0x25381d,this[_0x13f76e(0x4cd)]=_0x3d1490,this[_0x13f76e(0x57e)]=_0x488501,this[_0x13f76e(0x1ab)]=_0x20802a,this['_univerInstanceService']=_0x55a720,this[_0x13f76e(0x594)]=_0x1dceb5,_0x55cc91(this,_0x13f76e(0x28c),null),_0x55cc91(this,_0x13f76e(0x527),null),_0x55cc91(this,_0x13f76e(0x545),null),_0x55cc91(this,'_activeShapeAdjustPointList',void 0x0),_0x55cc91(this,'_shapes',[]),_0x55cc91(this,_0x13f76e(0x449),0x0),_0x55cc91(this,_0x13f76e(0x4ed),0x0),_0x55cc91(this,_0x13f76e(0x3c3),0x0),_0x55cc91(this,_0x13f76e(0x2b9),0x0),_0x55cc91(this,_0x13f76e(0x1b6),!0x1),_0x55cc91(this,_0x13f76e(0x1c7),void 0x0),_0x55cc91(this,_0x13f76e(0x2f3),void 0x0),_0x55cc91(this,_0x13f76e(0x3e5),void 0x0),_0x55cc91(this,_0x13f76e(0x2bc),void 0x0),_0x55cc91(this,_0x13f76e(0x35b),!0x1),this[_0x13f76e(0x3be)](),this[_0x13f76e(0x46c)]();}[_0x718440(0x268)](_0x41b0f1,_0x2d9374,_0x54c22d){const _0x232080=_0x718440;let _0x2f3e47=this[_0x232080(0x4cd)][_0x232080(0x459)](_0x41b0f1,_0x2d9374,_0x54c22d);if(_0x2f3e47)return _0x2f3e47[_0x232080(0x1a2)]();}['clearAdjustControls'](){this['_clearShapeAdjustControls']();}[_0x718440(0x2c1)](){const _0x498a7a=_0x718440;this[_0x498a7a(0x2ef)](!0x0);}['setShouldShowAdjust'](_0x24e778){const _0x17269d=_0x718440;this[_0x17269d(0x35b)]=_0x24e778;}[_0x718440(0x363)](_0x4c3e18,_0xef6e11,_0xa28331,_0x4f0bef){const _0xc2a041=_0x718440;let _0x134e3a=this[_0xc2a041(0x4cd)]['getShapeModel'](_0x4c3e18,_0xef6e11,_0xa28331);if(_0x134e3a)return _0x134e3a[_0xc2a041(0x419)](_0x4f0bef);}[_0x718440(0x3a5)](_0x4affbe=!0x1){const _0x21b2c5=_0x718440;if(this[_0x21b2c5(0x527)]===null||this[_0x21b2c5(0x545)]===null||this[_0x21b2c5(0x28c)]===null)return;let _0x568c12=this['_renderManagerService'][_0x21b2c5(0x403)](this[_0x21b2c5(0x527)]);if(!_0x568c12||!_0x568c12[_0x21b2c5(0x549)](_0x17eed7[_0x21b2c5(0x204)])[_0x21b2c5(0x2d3)]())return;let {scene:_0x208c55}=_0x568c12,_0x55c9fc={'unitId':this[_0x21b2c5(0x527)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']},_0x3e133c=this[_0x21b2c5(0x2a8)][_0x21b2c5(0x37d)](_0x55c9fc),{transform:_0x590e35}=_0x3e133c;if(!_0x590e35||_0x3e133c['drawingType']!==_0x567e1d[_0x21b2c5(0x2f1)][_0x21b2c5(0x20f)])return;let {left:_0x18ebd1,top:_0x3eea2d,width:_0x43c9ce,height:_0x2f9776,flipX:_0x237670,flipY:_0x57939c,angle:_0x2f8567=0x0}=_0x590e35;if(_0x18ebd1===void 0x0||_0x3eea2d===void 0x0)return;if(_0x4affbe){let _0x47877a=this['_sheetsShapeService'][_0x21b2c5(0x459)](this['_unitId'],this['_subUnitId'],this[_0x21b2c5(0x28c)]);_0x47877a==null||_0x47877a[_0x21b2c5(0x1bc)]({'width':_0x43c9ce??0x0,'height':_0x2f9776??0x0}),this[_0x21b2c5(0x357)]=_0x47877a==null?void 0x0:_0x47877a['getDrawingPoints']();}let _0x33309b=this[_0x21b2c5(0x357)];for(let _0x39aff6=0x0;_0x39aff6<_0x33309b['length'];_0x39aff6++){let _0x380580=_0x33309b[_0x39aff6],_0x1e5831=_0x380580['x'],_0x7b3d77=_0x380580['y'];if(_0x237670&&(_0x1e5831=(_0x43c9ce||0x0)-_0x1e5831),_0x57939c&&(_0x7b3d77=(_0x2f9776||0x0)-_0x7b3d77),_0x2f8567!==0x0){let _0x55285e=(_0x43c9ce||0x0)/0x2,_0x2a2430=(_0x2f9776||0x0)/0x2,_0x2d874f=_0x2f8567*Math['PI']/0xb4,_0x2f42bb=Math[_0x21b2c5(0x1bb)](_0x2d874f),_0x5c91f7=Math['sin'](_0x2d874f),_0x11bc91=_0x1e5831-_0x55285e,_0x580bba=_0x7b3d77-_0x2a2430;_0x1e5831=_0x55285e+(_0x11bc91*_0x2f42bb-_0x580bba*_0x5c91f7),_0x7b3d77=_0x2a2430+(_0x11bc91*_0x5c91f7+_0x580bba*_0x2f42bb);}let _0x57a628={'x':_0x1e5831,'y':_0x7b3d77,'adjName':_0x380580[_0x21b2c5(0x2f4)]};this[_0x21b2c5(0x367)](_0x208c55,_0x57a628,_0x57a628[_0x21b2c5(0x2f4)],_0x18ebd1,_0x3eea2d,this[_0x21b2c5(0x527)],this[_0x21b2c5(0x545)]);}}[_0x718440(0x2ef)](_0x5432d2=!0x1){const _0x2dceaf=_0x718440;_0x5432d2&&(this[_0x2dceaf(0x350)](),this[_0x2dceaf(0x3a5)](_0x5432d2));}[_0x718440(0x367)](_0x458fab,_0x465625,_0xa4795e,_0x35801e,_0x5431ca,_0x3b5070,_0x49cdc2){const _0x9544ad=_0x718440;if(!this[_0x9544ad(0x28c)])return;let _0x50b553=_0x458fab['getObjectIncludeInGroup']('shape-adjust-point-'+this['_activeShapeId']+'-'+_0xa4795e);if(_0x50b553){_0x50b553[_0x9544ad(0x2d4)]({'left':_0x465625['x']+_0x35801e-_0x34f551['ShapeDefaultConfig'][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]});return;}let _0x2f1aa3={'left':_0x465625['x']+_0x35801e-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'adjName':_0xa4795e,'shapeId':this[_0x9544ad(0x28c)],'unitId':_0x3b5070,'subUnitId':_0x49cdc2,'width':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'height':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'zIndex':_0x3e5eae[_0x9544ad(0x533)]+0x1,'evented':!0x0},_0x376a9b=new _0x8c69ab(_0x9544ad(0x402)+this['_activeShapeId']+'-'+_0xa4795e,_0x2f1aa3);this[_0x9544ad(0x330)][_0x9544ad(0x217)](_0x376a9b),this[_0x9544ad(0x355)](_0x376a9b,_0x458fab,_0xa4795e),_0x458fab[_0x9544ad(0x1f1)](_0x376a9b,_0x3e5eae[_0x9544ad(0x533)]+0x1);}[_0x718440(0x350)](){const _0x132ea2=_0x718440;this[_0x132ea2(0x330)][_0x132ea2(0x212)]!==0x0&&(this[_0x132ea2(0x330)]['forEach'](_0x447b07=>{const _0x700335=_0x132ea2;_0x447b07[_0x700335(0x4dd)]();}),this['_shapes']=[]);}[_0x718440(0x2a1)](){const _0x473da2=_0x718440;this[_0x473da2(0x3a5)]();}[_0x718440(0x1ce)](_0x300d14,_0x4de813){const _0x122d62=_0x718440;var _0x56626d;let _0x525665={'x':0x0,'y':0x0};if(!_0x300d14||!_0x4de813)return _0x525665;let _0x3bdce0=this['_renderManagerService']['getRenderUnitById'](_0x300d14);if(!_0x3bdce0||!_0x3bdce0[_0x122d62(0x549)](_0x17eed7['SheetSkeletonManagerService'])[_0x122d62(0x50e)](_0x4de813))return _0x525665;let _0x1c7416=_0x3bdce0[_0x122d62(0x549)](_0x17eed7[_0x122d62(0x369)]),_0x5391c9=_0x1c7416==null?void 0x0:_0x1c7416['getCurrentScrollState']();if(!_0x5391c9)return _0x525665;let _0x37cda8=(_0x56626d=this[_0x122d62(0x34a)][_0x122d62(0x25c)](_0x300d14))==null?void 0x0:_0x56626d[_0x122d62(0x19d)](_0x4de813);if(!_0x37cda8)return _0x525665;let _0x333721=(0x0,_0x17eed7['getViewportByCell'])(_0x5391c9[_0x122d62(0x38e)],_0x5391c9[_0x122d62(0x3cf)],_0x3bdce0[_0x122d62(0x53c)],_0x37cda8);return _0x333721?{'x':_0x333721['viewportScrollX'],'y':_0x333721[_0x122d62(0x1a7)]}:_0x525665;}[_0x718440(0x50f)](_0x501913,_0xcf2e62){const _0x3e0571=_0x718440;var _0x57dca0;let _0x505177=(_0x57dca0=this[_0x3e0571(0x34a)][_0x3e0571(0x25c)](_0x501913))==null?void 0x0:_0x57dca0[_0x3e0571(0x19d)](_0xcf2e62);return(_0x505177==null?void 0x0:_0x505177[_0x3e0571(0x476)]())??0x1;}['_attachAdjustEvent'](_0x2fcca0,_0x35a334,_0xf79422){const _0x378c83=_0x718440;this['disposeWithMe']((0x0,_0x567e1d[_0x378c83(0x23c)])(_0x2fcca0[_0x378c83(0x2f5)][_0x378c83(0x483)]((_0x3826f7,_0x35633a)=>{const _0x4fb193=_0x378c83;var _0x3bcb64,_0x3cbb28,_0xa3c4bd,_0x380b6e;let _0xb1988f=_0x2fcca0[_0x4fb193(0x440)]();this[_0x4fb193(0x1c7)]=this['_getShapeAdjustInfosById'](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f['drawingId'],_0xf79422),this[_0x4fb193(0x2f3)]=this['_sheetsShapeService'][_0x4fb193(0x459)](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f[_0x4fb193(0x25d)]);let _0x28aa4a=this[_0x4fb193(0x2a8)][_0x4fb193(0x37d)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4fb193(0x28c)]}),{transform:_0x46e16c}=_0x28aa4a;if(_0x46e16c){let {left:_0x6fdf33,top:_0x33bb9f,width:_0x2d4c12,height:_0x4eeb04}=_0x46e16c;this[_0x4fb193(0x449)]=_0x6fdf33||0x0,this[_0x4fb193(0x4ed)]=_0x33bb9f||0x0,this['_baseShapeWidth']=_0x2d4c12||0x0,this[_0x4fb193(0x2b9)]=_0x4eeb04||0x0;}let _0x5a9093=!!((_0x3bcb64=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3bcb64['flipX']),_0x1f3f83=!!((_0x3cbb28=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3cbb28[_0x4fb193(0x1ed)]),_0xd0e1f9=((_0xa3c4bd=_0x28aa4a[_0x4fb193(0x4c7)])==null?void 0x0:_0xa3c4bd[_0x4fb193(0x37c)])||0x0;this[_0x4fb193(0x1b6)]=!0x0,_0x35a334[_0x4fb193(0x574)]();let _0x493e62={...((_0x380b6e=this[_0x4fb193(0x1c7)])==null?void 0x0:_0x380b6e['currentAdjustValues'])??{}};this[_0x4fb193(0x3e5)]=_0x35a334[_0x4fb193(0x1dd)][_0x4fb193(0x483)]((_0x5d125f,_0x24c523)=>{const _0x36d2a0=_0x4fb193;if(!this[_0x36d2a0(0x1b6)])return;let {offsetX:_0x1005aa,offsetY:_0x20c088}=_0x5d125f,_0x11f02d=this['_activeAdjustInfo'];if(this[_0x36d2a0(0x2f3)]&&_0x11f02d){_0x35a334[_0x36d2a0(0x574)](),_0x35a334[_0x36d2a0(0x40a)](_0x3e5eae['CURSOR_TYPE']['CROSSHAIR']);let _0x1d518d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x36d2a0(0x2b9)]},_0x33d847=this[_0x36d2a0(0x1ce)](this[_0x36d2a0(0x527)],this['_subUnitId']),_0xa41ef8=this[_0x36d2a0(0x50f)](this[_0x36d2a0(0x527)],this[_0x36d2a0(0x545)]),_0x1bd138=_0x1005aa/_0xa41ef8+_0x33d847['x']-this['_baseShapeLeft'],_0x2ba429=_0x20c088/_0xa41ef8+_0x33d847['y']-this[_0x36d2a0(0x4ed)];if(_0xd0e1f9!==0x0){let _0x206ddc=this[_0x36d2a0(0x3c3)]/0x2,_0x38b340=this[_0x36d2a0(0x2b9)]/0x2,_0x5007b0=_0xd0e1f9*Math['PI']/0xb4,_0x4c077a=Math[_0x36d2a0(0x1bb)](_0x5007b0),_0x5d7e7f=Math['sin'](_0x5007b0),_0x3b8bc1=_0x1bd138-_0x206ddc,_0x399f0a=_0x2ba429-_0x38b340;_0x1bd138=_0x206ddc+(_0x3b8bc1*_0x4c077a+_0x399f0a*_0x5d7e7f),_0x2ba429=_0x38b340+(-_0x3b8bc1*_0x5d7e7f+_0x399f0a*_0x4c077a);}_0x5a9093&&(_0x1bd138=this[_0x36d2a0(0x3c3)]-_0x1bd138),_0x1f3f83&&(_0x2ba429=this[_0x36d2a0(0x2b9)]-_0x2ba429);let _0x55759f={'x':_0x1bd138,'y':_0x2ba429},_0x1b8db7=this['_activeShapeModel'][_0x36d2a0(0x555)](_0x1d518d,_0x55759f,_0x11f02d,_0x5a9093,_0x1f3f83);if(Object['keys'](_0x1b8db7)[_0x36d2a0(0x212)]===0x0)return;for(let [_0xc099ac,_0x4c4635]of Object[_0x36d2a0(0x1f9)](_0x1b8db7))this[_0x36d2a0(0x2f3)][_0x36d2a0(0x2fc)](_0xc099ac,_0x4c4635);this[_0x36d2a0(0x2f3)][_0x36d2a0(0x1bc)]({'width':this[_0x36d2a0(0x3c3)],'height':this[_0x36d2a0(0x2b9)]});let _0x53b41e=this[_0x36d2a0(0x2a8)][_0x36d2a0(0x37d)]({'unitId':_0xb1988f['unitId'],'subUnitId':_0xb1988f['subUnitId'],'drawingId':_0xb1988f[_0x36d2a0(0x25d)]});_0x53b41e&&(this['_sheetDrawingShapeRenderController'][_0x36d2a0(0x2a0)](_0x53b41e,_0x35a334),this[_0x36d2a0(0x357)]=this[_0x36d2a0(0x268)](_0xb1988f[_0x36d2a0(0x45d)],_0xb1988f['subUnitId'],_0xb1988f[_0x36d2a0(0x25d)]),this['_updateAdjustControlPositions']());}_0x24c523['stopPropagation']();}),this[_0x4fb193(0x2bc)]=_0x35a334[_0x4fb193(0x4b7)][_0x4fb193(0x483)]((_0x57068c,_0x23a11e)=>{const _0x2ea714=_0x4fb193;this[_0x2ea714(0x3e5)][_0x2ea714(0x301)](),this[_0x2ea714(0x2bc)][_0x2ea714(0x301)](),_0x35a334['resetCursor']();let _0x3ff38b=this['_activeAdjustInfo'];if(_0x3ff38b){let _0x394e66=_0xb1988f[_0x2ea714(0x45d)],_0x3409f4=_0xb1988f[_0x2ea714(0x31f)],_0x40ebfc=_0xb1988f[_0x2ea714(0x25d)],_0x10c14d={};for(let _0x568593 of Object[_0x2ea714(0x337)](_0x3ff38b[_0x2ea714(0x256)])){var _0x172ba8;let _0x43dd56=(_0x172ba8=this[_0x2ea714(0x2f3)])==null?void 0x0:_0x172ba8[_0x2ea714(0x3bd)](_0x568593);_0x43dd56!==void 0x0&&(_0x10c14d[_0x568593]=_0x43dd56);}Object[_0x2ea714(0x337)](_0x10c14d)[_0x2ea714(0x212)]>0x0&&_0x322a2b(this[_0x2ea714(0x594)],_0x394e66,_0x3409f4,_0x40ebfc,{'oldShapeData':{'adjustValues':_0x493e62}},{'adjustValues':_0x10c14d});}this[_0x2ea714(0x1c7)]=void 0x0,this[_0x2ea714(0x2f3)]=void 0x0,this[_0x2ea714(0x1b6)]=!0x1,_0x23a11e[_0x2ea714(0x3ab)](),_0x35a334[_0x2ea714(0x317)]();}),_0x35633a[_0x4fb193(0x3ab)]();})));}[_0x718440(0x46c)](){const _0x1dd07a=_0x718440;let _0x39eefa=this[_0x1dd07a(0x34a)][_0x1dd07a(0x3d0)](_0x567e1d[_0x1dd07a(0x1e5)]['UNIVER_SHEET']);this[_0x1dd07a(0x503)](_0x39eefa[_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x796f09=>_0x796f09?_0x796f09[_0x1dd07a(0x56d)][_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x9409a5=>{const _0x1a9027=_0x1dd07a;if(!_0x9409a5)return _0x1d246a[_0x1a9027(0x49f)];let _0x2f1e5a=_0x796f09[_0x1a9027(0x35f)](),_0x260df0=this[_0x1a9027(0x57e)][_0x1a9027(0x403)](_0x2f1e5a),_0x315ea8=_0x260df0==null?void 0x0:_0x260df0[_0x1a9027(0x53c)];return _0x315ea8?(0x0,_0x1d246a['of'])(_0x315ea8):_0x1d246a[_0x1a9027(0x49f)];})):_0x1d246a[_0x1dd07a(0x49f)]))[_0x1dd07a(0x374)](_0x566ae9=>{const _0x4701c7=_0x1dd07a;let _0x32e649=_0x566ae9[_0x4701c7(0x202)]();this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x1dd)][_0x4701c7(0x483)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4b3)][_0x4701c7(0x374)](_0xac8e38=>{const _0x16e244=_0x4701c7;let {objects:_0x57839e}=_0xac8e38;this[_0x16e244(0x3a5)](),_0x57839e!==null&&_0x57839e[_0x16e244(0x2db)]===0x1&&_0x57839e['values']()[_0x16e244(0x34f)]()[_0x16e244(0x52d)]instanceof _0x5b187c&&this[_0x16e244(0x409)](!0x0);})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4a4)]['subscribe'](()=>{const _0x533a0f=_0x4701c7;this[_0x533a0f(0x35b)]&&this['_clearShapeAdjustControls']();})),this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x4b7)][_0x4701c7(0x483)](()=>{const _0x2ce60c=_0x4701c7;this[_0x2ce60c(0x35b)]&&(this[_0x2ce60c(0x409)](!0x1),this[_0x2ce60c(0x3a5)]());})),this[_0x4701c7(0x503)](_0x32e649['changeEnd$']['subscribe'](()=>{const _0x5949bc=_0x4701c7;this[_0x5949bc(0x527)]&&this[_0x5949bc(0x545)]&&this['_activeShapeId']&&this[_0x5949bc(0x2a8)][_0x5949bc(0x37d)]({'unitId':this['_unitId'],'subUnitId':this[_0x5949bc(0x545)],'drawingId':this[_0x5949bc(0x28c)]})&&(this[_0x5949bc(0x357)]=this[_0x5949bc(0x268)](this[_0x5949bc(0x527)],this['_subUnitId'],this[_0x5949bc(0x28c)]),this[_0x5949bc(0x2a1)]());}));}));}[_0x718440(0x3be)](){const _0x5e1c39=_0x718440;this['disposeWithMe'](this[_0x5e1c39(0x594)][_0x5e1c39(0x4c2)](_0x5a9908=>{const _0x500997=_0x5e1c39;if(_0x5a9908['id']!==_0x239f56[_0x500997(0x302)]['id'])return;let {unitId:_0x2757be,subUnitId:_0x33b2a8,shapeId:_0x2265a8}=_0x5a9908[_0x500997(0x247)];_0x2757be===this[_0x500997(0x527)]&&_0x33b2a8===this[_0x500997(0x545)]&&_0x2265a8===this['_activeShapeId']&&this['refreshAdjustControls']();})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x470)][_0x5e1c39(0x374)](_0x45955a=>{const _0x23eb18=_0x5e1c39;if(_0x45955a['length']===0x1){let _0x44f586=_0x45955a[0x0];if(_0x44f586['drawingType']===_0x567e1d[_0x23eb18(0x2f1)][_0x23eb18(0x20f)]&&this[_0x23eb18(0x34a)][_0x23eb18(0x331)](_0x44f586[_0x23eb18(0x45d)])===_0x567e1d[_0x23eb18(0x1e5)][_0x23eb18(0x2e6)]){this[_0x23eb18(0x28c)]=_0x44f586[_0x23eb18(0x25d)];let {unitId:_0x540e2a,subUnitId:_0x27f522}=_0x44f586;this['_activeShapeAdjustPointList']=this[_0x23eb18(0x268)](_0x540e2a,_0x27f522,this[_0x23eb18(0x28c)]),this[_0x23eb18(0x527)]=_0x540e2a,this[_0x23eb18(0x545)]=_0x27f522,this[_0x23eb18(0x350)](),this['_createShapeAdjustControls']();return;}}this[_0x23eb18(0x28c)]=null,this[_0x23eb18(0x357)]=void 0x0,this[_0x23eb18(0x527)]=null,this[_0x23eb18(0x545)]=null,this['_clearShapeAdjustControls']();})),this[_0x5e1c39(0x503)](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x518)][_0x5e1c39(0x374)](_0x48a562=>{const _0x2101ec=_0x5e1c39;if(_0x48a562['length']===0x1){var _0x43a23f;let _0x570345=_0x48a562[0x0];((_0x43a23f=this[_0x2101ec(0x2a8)][_0x2101ec(0x37d)](_0x570345))==null?void 0x0:_0x43a23f[_0x2101ec(0x37f)])===_0x567e1d[_0x2101ec(0x2f1)]['DRAWING_SHAPE']&&this[_0x2101ec(0x2ef)](!0x0);}})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x4ca)][_0x5e1c39(0x374)](_0x379571=>{const _0x3537c5=_0x5e1c39;for(let _0x31dfc9 of _0x379571)this[_0x3537c5(0x28c)]===_0x31dfc9[_0x3537c5(0x25d)]&&(this[_0x3537c5(0x28c)]=null,this[_0x3537c5(0x357)]=void 0x0,this[_0x3537c5(0x527)]=null,this['_subUnitId']=null,this[_0x3537c5(0x350)]());}));}};_0x5258f8=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254)),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,_0x567e1d[_0x718440(0x1cf)])],_0x5258f8);let _0x2a6b80={'id':_0x718440(0x4e9),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x3b9944,_0x4eef08)=>{const _0x4e5ed1=_0x718440;let _0x8395d7=_0x3b9944[_0x4e5ed1(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x4831ad=_0x3b9944[_0x4e5ed1(0x39f)](_0x3e5eae[_0x4e5ed1(0x39e)]),_0x486bbe=_0x3b9944['get'](_0x5258f8);if(_0x4eef08==null)return!0x0;if(_0x4eef08[_0x4e5ed1(0x212)]>0x0){var _0x52a7ba;let _0xb71c01=(_0x52a7ba=_0x4831ad[_0x4e5ed1(0x403)](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null?void 0x0:_0x52a7ba[_0x4e5ed1(0x53c)];if(_0xb71c01){let {unitId:_0x7d10d,subUnitId:_0xcafff8,drawingId:_0x31f519}=_0x4eef08[0x0],_0x5528c6=(0x0,_0x36b4c7[_0x4e5ed1(0x56c)])({'unitId':_0x7d10d,'subUnitId':_0xcafff8,'drawingId':_0x31f519},void 0x0),_0x36b9d5=_0xb71c01['getObjectIncludeInGroup'](_0x5528c6);if(_0x36b9d5){var _0x173151;(_0x173151=_0x4831ad['getRenderUnitById'](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null||(_0x173151=_0x173151['scene']['getTransformer']())==null||_0x173151[_0x4e5ed1(0x340)](_0x36b9d5);}}_0x8395d7[_0x4e5ed1(0x1b3)](_0x4eef08),_0x486bbe[_0x4e5ed1(0x409)](!0x1);}return!0x0;}},_0x31381b={'type':_0x567e1d['CommandType'][_0x718440(0x4e5)],'id':_0x718440(0x234),'handler':async(_0x31d7f9,_0xc2d23a)=>{const _0x289627=_0x718440;let _0x4fd69e=(0x0,_0x11447f[_0x289627(0x2d8)])(_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x32e)]));if(!_0x4fd69e)return!0x1;let _0x1ad0a1=_0x31d7f9['get'](_0x11447f[_0x289627(0x516)])[_0x289627(0x2ca)]();if(!_0x1ad0a1)return!0x1;let _0x454615=_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x1cf)]),{unitId:_0x3cda9d,subUnitId:_0x13b049}=_0x4fd69e,{value:_0x5f2b82,enhanceParams:_0x55d022}=_0xc2d23a,{range:_0x330939}=_0x1ad0a1,_0x7de43e={'unitId':_0x3cda9d,'subUnitId':_0x13b049,'shapeType':_0x5f2b82,'range':_0x330939,'shapeId':(0x0,_0x567e1d['generateRandomId'])()};if(_0x55d022){let _0x8c9fe9=(0x0,_0x34f551[_0x289627(0x22d)])(_0x5f2b82),_0x5b93e4=_0x5f2b82===_0x34f551[_0x289627(0x1ea)][_0x289627(0x227)];_0x8c9fe9&&(_0x55d022[_0x289627(0x349)]||_0x55d022[_0x289627(0x30d)])&&(_0x7de43e[_0x289627(0x522)]={'ln':{'startArrow':_0x55d022[_0x289627(0x349)]?{'type':_0x34f551[_0x289627(0x383)][_0x289627(0x3c8)],'size':_0x34f551['ShapeArrowSizeEnum'][_0x289627(0x399)]}:void 0x0,'endArrow':_0x55d022[_0x289627(0x30d)]?{'type':_0x34f551[_0x289627(0x383)]['Arrow'],'size':_0x34f551[_0x289627(0x4fb)][_0x289627(0x1e7)]}:void 0x0}}),_0x5b93e4&&(_0x55d022[_0x289627(0x541)]||_0x55d022['vertical'])&&(_0x7de43e[_0x289627(0x522)]=(0x0,_0x42b73e['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x34f551[_0x289627(0x34e)]['SolidFill'],'color':_0x289627(0x534)},'isHorizontal':!!_0x55d022[_0x289627(0x541)],'stroke':{'lineStrokeType':_0x34f551[_0x289627(0x27a)][_0x289627(0x4d9)],'width':0x1,'color':'#bcbcbc'}}));}let _0x2e044f=_0x454615['syncExecuteCommand'](_0x239f56['InsertShapeCommand']['id'],_0x7de43e);return setTimeout(()=>{const _0x1fa6ea=_0x289627;_0x454615[_0x1fa6ea(0x3c0)](_0x2a6b80['id'],[{'unitId':_0x3cda9d,'subUnitId':_0x13b049,'drawingId':_0x7de43e[_0x1fa6ea(0x1fd)]}]);},0xc8),_0x2e044f;}},_0x1b3159=_0x718440(0x397),_0x46acea=_0x718440(0x4c4),_0x708f5a=_0x718440(0x484),_0x32af6f=_0x718440(0x41c),_0x58dd4c=(0x0,_0x567e1d[_0x718440(0x34b)])(_0x718440(0x531)),_0x4dfefd=_0x718440(0x3b3),_0x465174={'id':'sheet.operation.open-shape-object-list-panel','type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x4e5)],'handler':(_0x1c16ae,_0x42b32d)=>{const _0xeb3d98=_0x718440;let _0x578c30=_0x1c16ae[_0xeb3d98(0x39f)](_0x5744c6[_0xeb3d98(0x525)]),_0x54ccb1=_0x1c16ae['get'](_0x567e1d[_0xeb3d98(0x359)]),_0x229552=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x32e)]),_0x500313=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x1cf)]);return(0x0,_0x11447f[_0xeb3d98(0x2d8)])(_0x229552)?(_0x42b32d==null?void 0x0:_0x42b32d[_0xeb3d98(0x52d)])==='close'?(_0x578c30[_0xeb3d98(0x589)](_0x46acea),!0x0):(_0x578c30[_0xeb3d98(0x395)]({'id':_0x46acea,'header':{'title':_0x54ccb1['t'](_0xeb3d98(0x275))},'children':{'label':_0x46acea},'onClose':()=>{const _0x4381da=_0xeb3d98;_0x500313[_0x4381da(0x34d)](_0x36b4c7[_0x4381da(0x394)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x55af59={'type':_0x567e1d[_0x718440(0x26b)]['OPERATION'],'id':_0x718440(0x2b5),'handler'(){return!0x0;}};function _0x581a84(_0xb2fc8){const _0x5a8cc2=_0x718440;let _0x344a33=_0xb2fc8[_0x5a8cc2(0x39f)](_0x36b4c7[_0x5a8cc2(0x529)])[_0x5a8cc2(0x447)](),_0x42b241=_0x344a33[_0x5a8cc2(0x212)]===0x1?_0x344a33[0x0]:null;if(!_0x42b241||_0x42b241[_0x5a8cc2(0x37f)]!==_0x567e1d[_0x5a8cc2(0x2f1)]['DRAWING_SHAPE'])return null;let _0x23bd9c=_0xb2fc8[_0x5a8cc2(0x39f)](_0x239f56[_0x5a8cc2(0x3db)]),_0xf2c253=_0x23bd9c[_0x5a8cc2(0x2cd)](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241['subUnitId'],_0x42b241[_0x5a8cc2(0x25d)]),_0x2e0831=_0x23bd9c['getShapeDataById'](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241[_0x5a8cc2(0x31f)],_0x42b241['drawingId']);return _0xf2c253===void 0x0||!_0x2e0831?null:{'drawing':_0x42b241,'shapeData':_0x2e0831,'shapeType':_0xf2c253};}let _0x2ecd4a={'id':_0x718440(0x486),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x270d9f,_0x58293c)=>{const _0x5ad30c=_0x718440;let _0x3d6ac9=_0x581a84(_0x270d9f),_0x29c2c4=(0x0,_0x42b73e[_0x5ad30c(0x208)])((_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x2d0)])??(_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x52d)])??'');if(!_0x3d6ac9||!_0x29c2c4||_0x29c2c4[_0x5ad30c(0x19f)]!==(0x0,_0x42b73e[_0x5ad30c(0x376)])(_0x3d6ac9[_0x5ad30c(0x522)]))return!0x1;let _0x559f3a=(0x0,_0x42b73e[_0x5ad30c(0x336)])(_0x3d6ac9['shapeData'],_0x29c2c4);if(!_0x559f3a)return!0x1;let {drawing:_0x37e6e2}=_0x3d6ac9;return _0x270d9f[_0x5ad30c(0x39f)](_0x567e1d[_0x5ad30c(0x1cf)])[_0x5ad30c(0x3c0)](_0x1f4f18['id'],{'unitId':_0x37e6e2[_0x5ad30c(0x45d)],'subUnitId':_0x37e6e2[_0x5ad30c(0x31f)],'shapeId':_0x37e6e2[_0x5ad30c(0x25d)],'shapeData':_0x559f3a,'oldShapeJSON':{'oldShapeData':_0x3d6ac9[_0x5ad30c(0x522)]}});}},_0x471ba4={'id':_0x718440(0x2e4),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x2116d4,_0x2bea77)=>{const _0x3cdc90=_0x718440;let _0x395e61=_0x581a84(_0x2116d4),_0x31ff1c=(_0x2bea77==null?void 0x0:_0x2bea77[_0x3cdc90(0x3d5)])??(_0x2bea77==null?void 0x0:_0x2bea77['value']);if(!_0x395e61||!_0x31ff1c||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x395e61[_0x3cdc90(0x3d5)])||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x31ff1c))return!0x1;let _0x1b74b5=(0x0,_0x42b73e[_0x3cdc90(0x33a)])(_0x395e61['shapeData'],_0x31ff1c);if(!_0x1b74b5)return!0x1;let {drawing:_0x2d4909}=_0x395e61;return _0x2116d4[_0x3cdc90(0x39f)](_0x567e1d[_0x3cdc90(0x1cf)])[_0x3cdc90(0x3c0)](_0x1f4f18['id'],{'unitId':_0x2d4909[_0x3cdc90(0x45d)],'subUnitId':_0x2d4909[_0x3cdc90(0x31f)],'shapeId':_0x2d4909[_0x3cdc90(0x25d)],'shapeType':_0x31ff1c,'shapeData':_0x1b74b5,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x395e61[_0x3cdc90(0x3d5)],'oldShapeData':_0x395e61['shapeData']}});}},_0x392613=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x449e00,_0x2922dc){const _0x242e07=_0x718440;super(),this[_0x242e07(0x56e)]=_0x449e00,this['_drawingManagerService']=_0x2922dc,this[_0x242e07(0x2ae)](),this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x0),this[_0x242e07(0x503)]({'dispose':()=>this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x1)});}[_0x718440(0x2ae)](){const _0x366750=_0x718440;let _0x1484f9=this[_0x366750(0x56e)],_0x3be8d2=new Map(),_0x165a1b=_0x1484f9[_0x366750(0x4e1)]((_0x211741,_0x2aa346,_0x172b3b,_0x9b0fbc,_0x4d4a58)=>{const _0xde70eb=_0x366750;let _0x504e91=_0x2aa346;if(_0x504e91===_0x34f551['ShapeTypeEnum'][_0xde70eb(0x551)]||_0x2aa346===_0xde70eb(0x3d3))return!0x1;try{let _0x264700=_0x3be8d2[_0xde70eb(0x39f)](_0x2aa346);return _0x264700||(_0x264700=new _0x34f551[(_0xde70eb(0x303))](_0x504e91,'clip-'+_0x2aa346),_0x3be8d2[_0xde70eb(0x327)](_0x2aa346,_0x264700)),_0x264700['clearAdjustValue'](),_0x4d4a58&&Object[_0xde70eb(0x337)](_0x4d4a58)[_0xde70eb(0x212)]>0x0&&_0x264700[_0xde70eb(0x33f)]({'adjustValues':_0x4d4a58},!0x0),_0x264700[_0xde70eb(0x1bc)]({'width':_0x172b3b,'height':_0x9b0fbc}),_0x264700[_0xde70eb(0x417)](_0x211741,{'left':0x0,'top':0x0,'width':_0x172b3b,'height':_0x9b0fbc});}catch{return!0x1;}});this[_0x366750(0x503)](_0x165a1b),this[_0x366750(0x503)]({'dispose':()=>_0x3be8d2[_0x366750(0x407)]()});}[_0x718440(0x1d8)](_0x5cc5c6,_0x122cbf,_0x1b6266,_0x21c9dc,_0x2f6bd4){const _0x5a5e4=_0x718440;let _0x174ff7=this[_0x5a5e4(0x2a8)]['getDrawingData'](_0x5cc5c6,_0x122cbf);if(!_0x174ff7[_0x1b6266])return;let _0x5829c0={..._0x174ff7[_0x1b6266],'prstGeom':_0x21c9dc,'adjustValues':_0x2f6bd4};this[_0x5a5e4(0x2a8)][_0x5a5e4(0x230)]([_0x5829c0]);}};_0x392613=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x461)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7[_0x718440(0x529)]))],_0x392613);let _0x4440a=_0x718440(0x2e2),_0x16e69b=_0x718440(0x300);function _0x321dea({onShapeClick:_0x2a8f2c,excludeGroups:_0x2544ba}){const _0x252eb1=_0x718440;return(0x0,_0x1a5094[_0x252eb1(0x2bb)])(_0x54a51b[_0x252eb1(0x1fb)],{'excludeGroups':_0x2544ba,'onShapeClick':_0x2a8f2c,'scrollContainer':_0x252eb1(0x1ae)});}function _0x192670(){const _0x21ef6f=_0x718440;let _0x4589ff=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x36b4c7[_0x21ef6f(0x529)]),_0x1cdf8d=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x392613);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x21ef6f(0x2c2)],{'buttonLabel':_0x21ef6f(0x3c6),'excludeGroups':[_0x54a51b[_0x21ef6f(0x58f)][_0x21ef6f(0x1db)]],'onShapeClick':_0x3956db=>{const _0x2481c5=_0x21ef6f;let _0x31c8bd=_0x4589ff[_0x2481c5(0x447)]()[_0x2481c5(0x1d5)](_0x130c27=>_0x130c27[_0x2481c5(0x37f)]===_0x567e1d[_0x2481c5(0x2f1)][_0x2481c5(0x1d9)]);if(!_0x31c8bd)return;let {unitId:_0x4fdeca,subUnitId:_0x1e1874,drawingId:_0x276fc9}=_0x31c8bd;_0x1cdf8d['clipByShape'](_0x4fdeca,_0x1e1874,_0x276fc9,_0x3956db['type']);}});}function _0x4190ca(){const _0x396eb8=_0x718440;let _0x418282=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x36b4c7[_0x396eb8(0x529)]),_0x2eb66f=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x392613);return(0x0,_0x1a5094[_0x396eb8(0x2bb)])(_0x54a51b[_0x396eb8(0x2c2)],{'buttonLabel':_0x396eb8(0x3c6),'excludeGroups':[_0x54a51b[_0x396eb8(0x58f)][_0x396eb8(0x1db)]],'DropdownComponent':_0x41b81b['MobileDropdown'],'onShapeClick':_0x1d11f1=>{const _0x11276d=_0x396eb8;let _0x58d471=_0x418282[_0x11276d(0x447)]()[_0x11276d(0x1d5)](_0x55eda=>_0x55eda['drawingType']===_0x567e1d['DrawingTypeEnum'][_0x11276d(0x1d9)]);if(!_0x58d471)return;let {unitId:_0x47049a,subUnitId:_0x5563ab,drawingId:_0x2447f6}=_0x58d471;_0x2eb66f[_0x11276d(0x1d8)](_0x47049a,_0x5563ab,_0x2447f6,_0x1d11f1[_0x11276d(0x19f)]);}});}function _0xa77841(){const _0x37db9e=_0x718440;let _0x31ea64=(0x0,_0x5744c6['useDependency'])(_0x5744c6[_0x37db9e(0x20b)]),_0x215106=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x36b4c7['IDrawingManagerService']),_0x5b38c5=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x567e1d[_0x37db9e(0x32e)]),_0x306887=_0x215106['getFocusDrawings']()[0x0],_0x4b8b0a=_0x306887?_0x5b38c5[_0x37db9e(0x331)](_0x306887[_0x37db9e(0x45d)]):void 0x0,_0x1b9995=_0x4b8b0a===_0x567e1d[_0x37db9e(0x1e5)][_0x37db9e(0x420)]?'doc.image-clip.shape-picker.component':_0x4b8b0a===_0x567e1d['UniverInstanceType'][_0x37db9e(0x2e6)]?_0x16e69b:void 0x0,_0x383495=_0x1b9995?_0x31ea64[_0x37db9e(0x39f)](_0x1b9995):void 0x0;return _0x383495?(0x0,_0x1a5094[_0x37db9e(0x2bb)])(_0x383495,{}):null;}function _0x5bb668(){const _0x32a7c3=_0x718440;let _0x1fbcce=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x32a7c3(0x1cf)]);return(0x0,_0x1a5094[_0x32a7c3(0x2bb)])(_0x321dea,{'onShapeClick':_0x1f206d=>{const _0x2623ba=_0x32a7c3;_0x1fbcce[_0x2623ba(0x3c0)](_0x31381b['id'],{'value':_0x1f206d[_0x2623ba(0x19f)],'enhanceParams':{'endArrow':_0x1f206d[_0x2623ba(0x30d)],'startArrow':_0x1f206d[_0x2623ba(0x349)],'horizontal':_0x1f206d[_0x2623ba(0x541)],'vertical':_0x1f206d[_0x2623ba(0x3d6)]}});}});}function _0x373485(){const _0x45d43a=_0x718440;return(0x0,_0x1a5094[_0x45d43a(0x2bb)])(_0x5bb668,{});}function _0x571263(_0x515c38){const _0x19ee46=_0x718440;let _0x5c9af1=_0x515c38[_0x19ee46(0x39f)](_0x567e1d[_0x19ee46(0x32e)]);return{'id':_0x31381b['id'],'type':_0x5744c6[_0x19ee46(0x4a0)][_0x19ee46(0x466)],'selections':[{'label':{'name':_0x4440a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x31381b['id']}}}],'icon':_0x19ee46(0x1c3),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x17eed7[_0x19ee46(0x2c4)])(_0x5c9af1,!0x1,()=>new _0x1d246a[(_0x19ee46(0x29d))](_0xed49ce=>{_0xed49ce['next'](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x19ee46(0x1d0)])(_0x515c38,_0x567e1d[_0x19ee46(0x1e5)]['UNIVER_SHEET']),'disabled$':(0x0,_0x17eed7[_0x19ee46(0x27d)])(_0x515c38)};}function _0x4ff684(_0x39d618){const _0x54045c=_0x718440;let _0x54caf5=_0x39d618[_0x54045c(0x39f)](_0x567e1d['IUniverInstanceService']);return{'id':_0x465174['id'],'type':_0x5744c6['MenuItemType'][_0x54045c(0x1e1)],'icon':_0x54045c(0x24f),'title':_0x54045c(0x4bf),'tooltip':_0x54045c(0x4bf),'activated$':(0x0,_0x17eed7[_0x54045c(0x2c4)])(_0x54caf5,!0x1,()=>new _0x1d246a[(_0x54045c(0x29d))](_0x3c497f=>{const _0x542871=_0x54045c;_0x3c497f[_0x542871(0x34f)](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x54045c(0x1d0)])(_0x39d618,_0x567e1d['UniverInstanceType'][_0x54045c(0x2e6)]),'disabled$':(0x0,_0x17eed7[_0x54045c(0x27d)])(_0x39d618)};}let _0x1e9955='sheet.menu.shape.flip-horizontal',_0x286dc9=_0x718440(0x26f);function _0x4c09b1(_0x2bac3b){const _0x228bb7=_0x718440;let _0x22496d=_0x2bac3b[_0x228bb7(0x39f)](_0x36b4c7[_0x228bb7(0x529)])[_0x228bb7(0x447)]();return _0x22496d[_0x228bb7(0x212)]===0x1&&_0x22496d[0x0][_0x228bb7(0x37f)]===_0x567e1d[_0x228bb7(0x2f1)]['DRAWING_SHAPE']?_0x22496d[0x0]:null;}function _0x12ac6b(_0x1176ba){const _0x4ac221=_0x718440;let _0x26b29a=_0x1176ba[_0x4ac221(0x39f)](_0x36b4c7[_0x4ac221(0x529)]);return _0x26b29a[_0x4ac221(0x470)][_0x4ac221(0x2da)]((0x0,_0x1d246a['startWith'])(_0x26b29a[_0x4ac221(0x447)]()),(0x0,_0x1d246a[_0x4ac221(0x3e8)])(_0x1247bc=>_0x1247bc['length']!==0x1||_0x1247bc[0x0][_0x4ac221(0x37f)]!==_0x567e1d[_0x4ac221(0x2f1)][_0x4ac221(0x20f)]));}function _0x41bc05(_0x3213f0){const _0x3aeb0c=_0x718440;return{'id':_0x1e9955,'commandId':_0x239f56[_0x3aeb0c(0x335)]['id'],'type':_0x5744c6['MenuItemType'][_0x3aeb0c(0x1e1)],'title':_0x3aeb0c(0x353),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x3aeb0c(0x481),'hidden$':_0x12ac6b(_0x3213f0),'params':()=>{const _0x5be54a=_0x3aeb0c;let _0x5e4e3c=_0x4c09b1(_0x3213f0);return _0x5e4e3c?{'unitId':_0x5e4e3c[_0x5be54a(0x45d)],'subUnitId':_0x5e4e3c['subUnitId'],'shapeId':_0x5e4e3c[_0x5be54a(0x25d)],'flipH':!0x0}:void 0x0;}};}function _0x341038(_0x2fd51c){const _0x364c8b=_0x718440;return{'id':_0x286dc9,'commandId':_0x239f56[_0x364c8b(0x335)]['id'],'type':_0x5744c6[_0x364c8b(0x4a0)]['BUTTON'],'title':_0x364c8b(0x30e),'tooltip':_0x364c8b(0x30e),'icon':_0x364c8b(0x30b),'hidden$':_0x12ac6b(_0x2fd51c),'params':()=>{const _0x262dd2=_0x364c8b;let _0x1f9feb=_0x4c09b1(_0x2fd51c);return _0x1f9feb?{'unitId':_0x1f9feb[_0x262dd2(0x45d)],'subUnitId':_0x1f9feb[_0x262dd2(0x31f)],'shapeId':_0x1f9feb['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x1b92b5=_0x718440(0x54b),_0x5e79d8=_0x718440(0x30c),_0x70ed4a=_0x718440(0x2f9),_0x5908f2=_0x718440(0x2e8);function _0x22c104(){const _0x4d7888=_0x718440;let _0x914895=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x4d7888(0x1cf)]),_0x36aed6=(0x0,_0x5744c6[_0x4d7888(0x391)])(_0x36b4c7[_0x4d7888(0x529)]),_0x52c9a2=(0x0,_0x5744c6['useDependency'])(_0x239f56[_0x4d7888(0x3db)]),_0x1f77d1=()=>{const _0x8f3e06=_0x4d7888;var _0x486e04;let _0x555236=_0x36aed6[_0x8f3e06(0x447)]();if(_0x555236[_0x8f3e06(0x212)]!==0x1||((_0x486e04=_0x555236[0x0])==null?void 0x0:_0x486e04[_0x8f3e06(0x37f)])!==_0x567e1d['DrawingTypeEnum'][_0x8f3e06(0x20f)])return null;let {unitId:_0x3fbe23,subUnitId:_0x2d5ff7,drawingId:_0x52728f}=_0x555236[0x0],_0x1cc22b=_0x52c9a2['getShapeTypeById'](_0x3fbe23,_0x2d5ff7,_0x52728f),_0x572437=_0x52c9a2['getShapeDataById'](_0x3fbe23,_0x2d5ff7,_0x52728f);return _0x1cc22b===void 0x0||!_0x572437?null:{'unitId':_0x3fbe23,'subUnitId':_0x2d5ff7,'drawingId':_0x52728f,'shapeType':_0x1cc22b,'shapeData':_0x572437};},_0x33cff9=(0x0,_0x5744c6[_0x4d7888(0x329)])(()=>new _0x1d246a[(_0x4d7888(0x29d))](_0x1b869a=>{const _0x481f6f=_0x4d7888;let _0x7b17ba=()=>_0x1b869a[_0x481f6f(0x34f)](_0x1f77d1()),_0x26e881=_0x36aed6[_0x481f6f(0x470)][_0x481f6f(0x374)](_0x7b17ba),_0x3f87d9=_0x914895['onCommandExecuted'](_0x408f81=>{const _0x2ac08f=_0x481f6f;_0x408f81['id']===_0x239f56[_0x2ac08f(0x302)]['id']&&_0x7b17ba();});return _0x7b17ba(),()=>{const _0xde52c4=_0x481f6f;_0x26e881[_0xde52c4(0x301)](),_0x3f87d9['dispose']();};}),_0x1f77d1(),!0x1,[_0x914895,_0x36aed6,_0x52c9a2]);return{'selection':_0x33cff9,'updateShapeData':_0x32cc1a=>{const _0x59f20d=_0x4d7888;_0x33cff9&&_0x322a2b(_0x914895,_0x33cff9[_0x59f20d(0x45d)],_0x33cff9[_0x59f20d(0x31f)],_0x33cff9['drawingId'],{'oldShapeData':_0x33cff9[_0x59f20d(0x522)]},_0x32cc1a);}};}function _0x5d0f5f(){const _0x317b11=_0x718440;let {selection:_0x376416,updateShapeData:_0x3724f6}=_0x22c104();return _0x376416?(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x317b11(0x580)],{'shapeData':_0x376416[_0x317b11(0x522)],'shapeType':_0x376416[_0x317b11(0x3d5)],'onUpdateShapeData':_0x3724f6}):null;}function _0x491081(){const _0x520d69=_0x718440;let _0x35689c=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d['ICommandService']),_0x3c8ea7=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d[_0x520d69(0x359)]),{selection:_0x2dcab8}=_0x22c104();return _0x2dcab8?(0x0,_0x1a5094[_0x520d69(0x2bb)])(_0x54a51b[_0x520d69(0x57b)],{'type':(0x0,_0x42b73e['getShapeQuickStyleType'])(_0x2dcab8[_0x520d69(0x522)]),'ariaLabel':_0x3c8ea7['t'](_0x520d69(0x36f)),'activePresetId':(0x0,_0x42b73e[_0x520d69(0x3b6)])(_0x2dcab8[_0x520d69(0x522)]),'onSelect':_0x159c28=>_0x35689c[_0x520d69(0x3c0)](_0x2ecd4a['id'],{'presetId':_0x159c28})}):null;}function _0x19da7f(){const _0x4f1d52=_0x718440;let {selection:_0x4ddd5d,updateShapeData:_0x24ce25}=_0x22c104();return _0x4ddd5d?(0x0,_0x1a5094[_0x4f1d52(0x2bb)])(_0x54a51b[_0x4f1d52(0x2d5)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x4ddd5d['shapeData'],'onUpdateShapeData':_0x24ce25}):null;}function _0xcd1106(){const _0x2295cc=_0x718440;var _0x1663df;let {selection:_0x124988,updateShapeData:_0xd72066}=_0x22c104(),_0x4a1a4c=(0x0,_0x54a51b[_0x2295cc(0x55f)])({'hostType':_0x567e1d[_0x2295cc(0x1e5)][_0x2295cc(0x2e6)],'unitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x45d)])??'','subUnitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x31f)])??'','shapeId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x25d)])??'','shapeData':_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x522)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x2295cc(0x2e3),'onUpdateBinding':_0x59c019=>_0xd72066({'formulaBinding':_0x59c019})}),_0x5195a9=((_0x1663df=_0x4a1a4c['extensionGroups'])==null?void 0x0:_0x1663df[_0x2295cc(0x44d)](_0x5a7d34=>_0x5a7d34['actions'])[_0x2295cc(0x3c1)](_0x5c11ee=>_0x5c11ee[_0x2295cc(0x47b)]!==!0x1))??[];return _0x124988!=null&&_0x124988['shapeData']['formulaBinding']?(0x0,_0x1a5094[_0x2295cc(0x2bb)])(_0x54a51b[_0x2295cc(0x4be)],{'actions':_0x5195a9,'panel':_0x4a1a4c[_0x2295cc(0x4ee)]}):null;}let _0x2cbb19=_0x718440(0x46d),_0xd66f07=_0x718440(0x36c),_0x9836ef=_0x718440(0x1aa),_0x6604e9=_0x718440(0x509),_0x502bb9=_0x718440(0x57a),_0x2d50a6=_0x718440(0x224),_0x503170='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x1ec86f(_0x59ef43){const _0x4ab2d6=_0x718440;let _0x55760b=_0x59ef43[_0x4ab2d6(0x39f)](_0x567e1d[_0x4ab2d6(0x1cf)]),_0x1ea858=_0x59ef43[_0x4ab2d6(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x34e9e2=_0x59ef43[_0x4ab2d6(0x39f)](_0x239f56[_0x4ab2d6(0x3db)]);return new _0x1d246a[(_0x4ab2d6(0x29d))](_0x36d1fc=>{const _0x2592c6=_0x4ab2d6;let _0x1e9a01=()=>{const _0x302f6c=_0x49ca;let _0x46ce2a=_0x551983(_0x59ef43),_0xbd8e70=_0x46ce2a?_0x34e9e2[_0x302f6c(0x203)](_0x46ce2a[_0x302f6c(0x45d)],_0x46ce2a[_0x302f6c(0x31f)],_0x46ce2a['drawingId']):null;_0x36d1fc['next'](_0xbd8e70?(0x0,_0x42b73e[_0x302f6c(0x3b6)])(_0xbd8e70)??'':'');},_0x4abcfc=_0x1ea858[_0x2592c6(0x470)][_0x2592c6(0x374)](_0x1e9a01),_0x38450b=_0x55760b[_0x2592c6(0x4c2)](_0x5381b7=>{_0x5381b7['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']&&_0x1e9a01();});return _0x1e9a01(),()=>{const _0x4e7cc5=_0x2592c6;_0x4abcfc['unsubscribe'](),_0x38450b[_0x4e7cc5(0x4dd)]();};});}function _0x551983(_0x1f8e34){const _0x1cddf7=_0x718440;var _0x423bf1;let _0x44d2e2=_0x1f8e34[_0x1cddf7(0x39f)](_0x36b4c7[_0x1cddf7(0x529)])[_0x1cddf7(0x447)]();return _0x44d2e2[_0x1cddf7(0x212)]===0x1&&((_0x423bf1=_0x44d2e2[0x0])==null?void 0x0:_0x423bf1[_0x1cddf7(0x37f)])===_0x567e1d[_0x1cddf7(0x2f1)][_0x1cddf7(0x20f)]?_0x44d2e2[0x0]:null;}function _0x6b4b0b(_0x3cf8ca,_0x308cdc=!0x1){const _0x504481=_0x718440;let _0x14557b=_0x3cf8ca[_0x504481(0x39f)](_0x567e1d['ICommandService']),_0x5f3c3c=_0x3cf8ca[_0x504481(0x39f)](_0x36b4c7[_0x504481(0x529)]),_0x7977dc=_0x3cf8ca[_0x504481(0x39f)](_0x239f56['SheetsShapeService']);return new _0x1d246a[(_0x504481(0x29d))](_0x1414f8=>{const _0x597642=_0x504481;let _0x5a8b5e=()=>{const _0x26721c=_0x49ca;let _0x264aed=_0x551983(_0x3cf8ca);if(!_0x264aed){_0x1414f8[_0x26721c(0x34f)](!0x0);return;}let _0x2843a7=_0x7977dc[_0x26721c(0x203)](_0x264aed['unitId'],_0x264aed['subUnitId'],_0x264aed[_0x26721c(0x25d)]);_0x1414f8[_0x26721c(0x34f)](!_0x2843a7||_0x308cdc&&_0x2843a7[_0x26721c(0x270)]==null);},_0x409173=_0x5f3c3c[_0x597642(0x470)]['subscribe'](_0x5a8b5e),_0x321dcd=_0x14557b[_0x597642(0x4c2)](_0x3ab12f=>{const _0x2e4877=_0x597642;_0x3ab12f['id']===_0x239f56[_0x2e4877(0x302)]['id']&&_0x5a8b5e();});return _0x5a8b5e(),()=>{const _0x95ddfc=_0x597642;_0x409173[_0x95ddfc(0x301)](),_0x321dcd[_0x95ddfc(0x4dd)]();};});}function _0x12b453(_0x3d3ee8){const _0x160a65=_0x718440;let _0x1d16e6=_0x3d3ee8['get'](_0x36b4c7[_0x160a65(0x529)]),_0x4b1303=_0x3d3ee8[_0x160a65(0x39f)](_0x239f56[_0x160a65(0x3db)]);return _0x1d16e6[_0x160a65(0x470)]['pipe']((0x0,_0x1d246a['startWith'])(_0x1d16e6[_0x160a65(0x447)]()),(0x0,_0x1d246a[_0x160a65(0x3e8)])(()=>{const _0x590070=_0x160a65;let _0xd4a055=_0x551983(_0x3d3ee8),_0x10859f=_0xd4a055?_0x4b1303[_0x590070(0x2cd)](_0xd4a055[_0x590070(0x45d)],_0xd4a055[_0x590070(0x31f)],_0xd4a055[_0x590070(0x25d)]):void 0x0;return _0x10859f===void 0x0||(0x0,_0x34f551['isConnectorShape'])(_0x10859f);}));}function _0x287e83(_0x3c5938){const _0x450aa6=_0x718440;return{'id':_0x2ecd4a['id'],'type':_0x5744c6[_0x450aa6(0x4a0)][_0x450aa6(0x466)],'icon':_0x450aa6(0x4c6),'title':_0x450aa6(0x4a6),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x1b92b5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1ec86f(_0x3c5938),'hidden$':_0x6b4b0b(_0x3c5938)};}function _0x45756c(_0x58880d){const _0x2c46e1=_0x718440;return{'id':_0x471ba4['id'],'type':_0x5744c6[_0x2c46e1(0x4a0)]['SELECTOR'],'icon':_0x2c46e1(0x1c3),'title':_0x2c46e1(0x19c),'tooltip':_0x2c46e1(0x19c),'slot':!0x0,'selections':[{'label':{'name':_0x54a51b[_0x2c46e1(0x4f5)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x12b453(_0x58880d)};}function _0x3253da(_0x2bad6c,_0x5343dd,_0x2f51b4=!0x1){const _0x4fdef8=_0x718440;return _0xfa6737=>({'id':_0x2bad6c,'type':_0x5744c6[_0x4fdef8(0x4a0)]['BUTTON'],'label':{'name':_0x5343dd,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x6b4b0b(_0xfa6737,_0x2f51b4)});}let _0x4d412e=_0x3253da(_0x2cbb19,_0x5e79d8),_0x1ebcf3=_0x3253da(_0xd66f07,_0x70ed4a),_0xd9dbe3=_0x3253da(_0x9836ef,_0x5908f2,!0x0);function _0x1b3e67(_0x57066a,_0x8b06ba,_0x4cf9ae,_0x4c7d0c){const _0x565f36=_0x718440;return _0x10eb31=>({'id':_0x57066a,'commandId':_0x1f8323[_0x565f36(0x364)]['id'],'type':_0x5744c6[_0x565f36(0x4a0)]['BUTTON'],'icon':_0x4cf9ae,'title':_0x4c7d0c,'tooltip':_0x4c7d0c,'hidden$':_0x6b4b0b(_0x10eb31),'params':()=>{const _0x50ebc0=_0x565f36;let _0x4c6ec1=_0x551983(_0x10eb31);return _0x4c6ec1?{'unitId':_0x4c6ec1[_0x50ebc0(0x45d)],'subUnitId':_0x4c6ec1['subUnitId'],'drawingIds':[_0x4c6ec1[_0x50ebc0(0x25d)]],'arrangeType':_0x8b06ba}:void 0x0;}});}let _0x2a0615=_0x1b3e67(_0x6604e9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x285)],'MoveUpIcon','shape-editor-ui.arrange.forward'),_0x4835fe=_0x1b3e67(_0x502bb9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x492)],_0x718440(0x26a),_0x718440(0x584)),_0x222ad6=_0x1b3e67(_0x2d50a6,_0x567e1d['ArrangeTypeEnum'][_0x718440(0x323)],_0x718440(0x267),_0x718440(0x3af)),_0xf5e5d8=_0x1b3e67(_0x503170,_0x567e1d[_0x718440(0x22f)][_0x718440(0x4fe)],_0x718440(0x2b7),_0x718440(0x1cd));function _0x63688c(_0x966c6a){const _0x1348ef=_0x718440;return{'id':_0x55af59['id'],'type':_0x5744c6[_0x1348ef(0x4a0)][_0x1348ef(0x1e1)],'icon':'ShapeFormatSettingIcon','title':_0x1348ef(0x4d6),'tooltip':_0x1348ef(0x4d6),'hidden$':_0x6b4b0b(_0x966c6a),'params':()=>{const _0x454111=_0x1348ef;let _0x4466d9=_0x551983(_0x966c6a);return _0x4466d9?{'unitId':_0x4466d9[_0x454111(0x45d)],'subUnitId':_0x4466d9[_0x454111(0x31f)],'drawingId':_0x4466d9['drawingId']}:void 0x0;}};}let _0x5a4d9c={[_0x5744c6['MenuManagerPosition'][_0x718440(0x2d9)]]:{[_0x32af6f]:{'order':0x64,'title':_0x718440(0x4d6),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x2ecd4a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x287e83},[_0x471ba4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x45756c}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2cbb19]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4d412e}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xd66f07]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x1ebcf3}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1e9955]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x341038},[_0x6604e9]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x2a0615},[_0x502bb9]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4835fe},[_0x2d50a6]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x222ad6},[_0x503170]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0xf5e5d8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x9836ef]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xd9dbe3}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x55af59['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x63688c},[_0x54a51b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x54a51b[_0x718440(0x51d)]}}}}},_0x254fae={[_0x5744c6[_0x718440(0x22a)][_0x718440(0x467)]]:{[_0x31381b['id']]:{'order':0x4,'menuItemFactory':_0x571263}}},_0x4fc050={..._0x254fae,[_0x5744c6[_0x718440(0x22a)][_0x718440(0x31a)]]:{[_0x465174['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4ff684}},[_0x5744c6[_0x718440(0x3b2)][_0x718440(0x514)]]:{[_0x5744c6[_0x718440(0x344)][_0x718440(0x31a)]]:{[_0x1e9955]:{'order':0x4,'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x5,'menuItemFactory':_0x341038}}}};var _0x1b0553=_0x718440(0x1d2),_0x1ae96e=_0x718440(0x382);let _0x55f058={'id':_0x718440(0x22e),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler'(_0x41b94a,_0x43fe81){const _0x4db85a=_0x718440;return _0x43fe81?(_0x41b94a[_0x4db85a(0x39f)](_0x54a51b[_0x4db85a(0x24d)])[_0x4db85a(0x395)](_0x43fe81[_0x4db85a(0x48c)],{'hostType':_0x567e1d['UniverInstanceType'][_0x4db85a(0x2e6)],'shapeId':_0x43fe81[_0x4db85a(0x25d)],'subUnitId':_0x43fe81[_0x4db85a(0x31f)],'unitId':_0x43fe81[_0x4db85a(0x45d)]}),!0x0):!0x1;}},_0x31802e=_0x718440(0x294),_0x3dd284={},_0x47426e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2ae240,_0x2151d1,_0x2a9416,_0x350dd1,_0x3e399f){const _0x19db61=_0x718440;super(),this[_0x19db61(0x2f6)]=_0x2ae240,this['_drawingManagerService']=_0x2151d1,this['_renderManagerService']=_0x2a9416,this[_0x19db61(0x34a)]=_0x350dd1,this['_imageShapeClipController']=_0x3e399f,_0x55cc91(this,'_activeImageId',null),_0x55cc91(this,_0x19db61(0x527),null),_0x55cc91(this,_0x19db61(0x545),null),_0x55cc91(this,_0x19db61(0x557),void 0x0),_0x55cc91(this,_0x19db61(0x330),[]),_0x55cc91(this,_0x19db61(0x35c),0x0),_0x55cc91(this,_0x19db61(0x384),0x0),_0x55cc91(this,'_baseWidth',0x0),_0x55cc91(this,_0x19db61(0x238),0x0),_0x55cc91(this,_0x19db61(0x1b6),!0x1),_0x55cc91(this,_0x19db61(0x1c7),void 0x0),_0x55cc91(this,_0x19db61(0x2f3),void 0x0),_0x55cc91(this,_0x19db61(0x3e5),void 0x0),_0x55cc91(this,'_adjHandlerPointerUp',void 0x0),_0x55cc91(this,_0x19db61(0x52c),!0x1),this[_0x19db61(0x37a)](),this[_0x19db61(0x3bc)]();}[_0x718440(0x1b8)](){const _0xcd93d=_0x718440;this[_0xcd93d(0x4cb)]();}['refreshAdjustControls'](){const _0x3d6887=_0x718440;this['_clearControls'](),this[_0x3d6887(0x347)](!0x0);}[_0x718440(0x4d1)](_0x2fcdd6,_0x14b25a,_0x384ea3,_0x186ce8){const _0x14b484=_0x718440;let _0x3535ee=_0x2fcdd6;if(_0x3535ee!==_0x34f551[_0x14b484(0x1ea)]['None']&&_0x2fcdd6!=='custom')try{let _0x1512ca=new _0x34f551[(_0x14b484(0x303))](_0x3535ee,_0x14b484(0x38d)+_0x2fcdd6);return _0x186ce8&&_0x1512ca[_0x14b484(0x33f)]({'adjustValues':_0x186ce8},!0x0),_0x1512ca[_0x14b484(0x1bc)]({'width':_0x14b25a,'height':_0x384ea3}),_0x1512ca;}catch{return;}}['_getImageDrawingInfo'](_0x1fde2b,_0x4dae0e,_0x29f437){const _0x483c21=_0x718440;let _0x313f33={'unitId':_0x1fde2b,'subUnitId':_0x4dae0e,'drawingId':_0x29f437},_0x5763f5=this[_0x483c21(0x2a8)][_0x483c21(0x37d)](_0x313f33);if(_0x5763f5&&_0x5763f5[_0x483c21(0x37f)]===_0x567e1d[_0x483c21(0x2f1)][_0x483c21(0x1d9)])return _0x5763f5;}[_0x718440(0x411)](_0x58f4b3,_0x2f9dcd,_0x1411fa){const _0x14046a=_0x718440;let _0x49a9bc=this['_renderManagerService'][_0x14046a(0x403)](_0x58f4b3);if(!_0x49a9bc)return;let {scene:_0x3034a7}=_0x49a9bc,_0x4ad9d3=(0x0,_0x36b4c7[_0x14046a(0x56c)])({'unitId':_0x58f4b3,'subUnitId':_0x2f9dcd,'drawingId':_0x1411fa}),_0x4d33e8=_0x3034a7[_0x14046a(0x587)](_0x4ad9d3);if(_0x4d33e8 instanceof _0x3e5eae[_0x14046a(0x35e)]){let _0x31472c=_0x4d33e8[_0x14046a(0x338)];if(_0x31472c)return{'prstGeom':_0x31472c,'adjustValues':_0x4d33e8[_0x14046a(0x261)]};}}['_createControls'](_0x3b88b4=!0x1){const _0x247c0b=_0x718440;if(!this[_0x247c0b(0x527)]||!this[_0x247c0b(0x545)]||!this[_0x247c0b(0x3c4)])return;let _0xcb46ea=this[_0x247c0b(0x57e)][_0x247c0b(0x403)](this['_unitId']);if(!_0xcb46ea||!_0xcb46ea['with'](_0x17eed7['SheetSkeletonManagerService'])[_0x247c0b(0x2d3)]())return;let {scene:_0x56acaf}=_0xcb46ea,_0x3c7e2d=this['_getImageDrawingInfo'](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x3c7e2d)return;let {transform:_0x1d9c02}=_0x3c7e2d;if(!_0x1d9c02)return;let {left:_0x34f329,top:_0x2e2a96,width:_0x4b492f,height:_0x1b5fdf,flipX:_0x504f57,flipY:_0x37f921,angle:_0x2e214f=0x0}=_0x1d9c02;if(_0x34f329===void 0x0||_0x2e2a96===void 0x0)return;let _0x2c22ba=this[_0x247c0b(0x411)](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x2c22ba)return;if(_0x3b88b4){let _0x273a44=this[_0x247c0b(0x4d1)](_0x2c22ba[_0x247c0b(0x338)],_0x4b492f||0x0,_0x1b5fdf||0x0,_0x2c22ba[_0x247c0b(0x28a)]);if(!_0x273a44)return;this[_0x247c0b(0x557)]=_0x273a44[_0x247c0b(0x1a2)]();}let _0x5cd281=this['_activeAdjustPointList'];if(_0x5cd281&&_0x5cd281['length']!==0x0)for(let _0x35c4f3=0x0;_0x35c4f3<_0x5cd281[_0x247c0b(0x212)];_0x35c4f3++){let _0x3b8563=_0x5cd281[_0x35c4f3],_0x2509d2=_0x3b8563['x'],_0x2332a4=_0x3b8563['y'];if(_0x504f57&&(_0x2509d2=(_0x4b492f||0x0)-_0x2509d2),_0x37f921&&(_0x2332a4=(_0x1b5fdf||0x0)-_0x2332a4),_0x2e214f!==0x0){let _0x4dfa97=(_0x4b492f||0x0)/0x2,_0x289128=(_0x1b5fdf||0x0)/0x2,_0x64acee=_0x2e214f*Math['PI']/0xb4,_0x25336a=Math[_0x247c0b(0x1bb)](_0x64acee),_0x50a1d2=Math[_0x247c0b(0x1dc)](_0x64acee),_0x16380f=_0x2509d2-_0x4dfa97,_0x4a8e2f=_0x2332a4-_0x289128;_0x2509d2=_0x4dfa97+(_0x16380f*_0x25336a-_0x4a8e2f*_0x50a1d2),_0x2332a4=_0x289128+(_0x16380f*_0x50a1d2+_0x4a8e2f*_0x25336a);}let _0x24a17f={'x':_0x2509d2,'y':_0x2332a4,'adjName':_0x3b8563['adjName']};this['_addControl'](_0x56acaf,_0x24a17f,_0x24a17f[_0x247c0b(0x2f4)],_0x34f329,_0x2e2a96,this[_0x247c0b(0x527)],this['_subUnitId']);}}['_addControl'](_0x31230c,_0x48fce7,_0x1072be,_0x31baa7,_0x3645cd,_0x330b4b,_0x262c17){const _0x599152=_0x718440;if(!this[_0x599152(0x3c4)])return;let _0x5e4ecb='image-clip-adjust-point-'+this[_0x599152(0x3c4)]+'-'+_0x1072be,_0x550965=_0x31230c[_0x599152(0x566)](_0x5e4ecb);if(_0x550965){_0x550965[_0x599152(0x2d4)]({'left':_0x48fce7['x']+_0x31baa7-_0x34f551['ShapeDefaultConfig']['adjHandleSize'],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)]});return;}let _0x5f1d7e=new _0x8c69ab(_0x5e4ecb,{'left':_0x48fce7['x']+_0x31baa7-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'adjName':_0x1072be,'shapeId':this[_0x599152(0x3c4)],'unitId':_0x330b4b,'subUnitId':_0x262c17,'width':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'height':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'zIndex':_0x3e5eae[_0x599152(0x533)]+0x1,'evented':!0x0});this[_0x599152(0x330)][_0x599152(0x217)](_0x5f1d7e),this[_0x599152(0x355)](_0x5f1d7e,_0x31230c,_0x1072be),_0x31230c[_0x599152(0x1f1)](_0x5f1d7e,_0x3e5eae[_0x599152(0x533)]+0x1);}[_0x718440(0x4cb)](){const _0x336864=_0x718440;this[_0x336864(0x330)][_0x336864(0x212)]!==0x0&&(this[_0x336864(0x330)]['forEach'](_0x142621=>_0x142621[_0x336864(0x4dd)]()),this[_0x336864(0x330)]=[]);}[_0x718440(0x1ce)](_0x2c7b83,_0x3e4ab8){const _0x92a369=_0x718440;var _0x262190;let _0x5b93c0={'x':0x0,'y':0x0},_0x456902=this[_0x92a369(0x57e)]['getRenderUnitById'](_0x2c7b83);if(!_0x456902||!_0x456902['with'](_0x17eed7[_0x92a369(0x204)])[_0x92a369(0x50e)](_0x3e4ab8))return _0x5b93c0;let _0x17e591=_0x456902[_0x92a369(0x549)](_0x17eed7[_0x92a369(0x369)]),_0x33eca4=_0x17e591==null?void 0x0:_0x17e591[_0x92a369(0x29a)]();if(!_0x33eca4)return _0x5b93c0;let _0x14f9cf=(_0x262190=this[_0x92a369(0x34a)][_0x92a369(0x25c)](_0x2c7b83))==null?void 0x0:_0x262190[_0x92a369(0x19d)](_0x3e4ab8);if(!_0x14f9cf)return _0x5b93c0;let _0x678d9b=(0x0,_0x17eed7['getViewportByCell'])(_0x33eca4[_0x92a369(0x38e)],_0x33eca4[_0x92a369(0x3cf)],_0x456902[_0x92a369(0x53c)],_0x14f9cf);return _0x678d9b?{'x':_0x678d9b[_0x92a369(0x366)],'y':_0x678d9b[_0x92a369(0x1a7)]}:_0x5b93c0;}[_0x718440(0x50f)](_0x51baf0,_0x166043){const _0x43fbdb=_0x718440;var _0x53fa69;let _0x2f1a04=(_0x53fa69=this[_0x43fbdb(0x34a)][_0x43fbdb(0x25c)](_0x51baf0))==null?void 0x0:_0x53fa69[_0x43fbdb(0x19d)](_0x166043);return(_0x2f1a04==null?void 0x0:_0x2f1a04[_0x43fbdb(0x476)]())??0x1;}[_0x718440(0x355)](_0x2b65e3,_0x2b221d,_0x409c1a){const _0x18b084=_0x718440;this['disposeWithMe']((0x0,_0x567e1d['toDisposable'])(_0x2b65e3[_0x18b084(0x2f5)]['subscribeEvent']((_0x425654,_0x12550d)=>{const _0x1305d0=_0x18b084;var _0xa55858,_0x35c92f,_0x5373d4;let {unitId:_0x35f326,subUnitId:_0x530f1c,drawingId:_0x3a05bd}=_0x2b65e3[_0x1305d0(0x440)](),_0xb143e0=this[_0x1305d0(0x582)](_0x35f326,_0x530f1c,_0x3a05bd);if(!(_0xb143e0!=null&&_0xb143e0['transform']))return;let {left:_0x5ce8ce,top:_0x2ca0ce,width:_0x42de4e,height:_0x1ba82d}=_0xb143e0['transform'];this[_0x1305d0(0x35c)]=_0x5ce8ce||0x0,this[_0x1305d0(0x384)]=_0x2ca0ce||0x0,this[_0x1305d0(0x360)]=_0x42de4e||0x0,this['_baseHeight']=_0x1ba82d||0x0;let _0x51f00a=!!((_0xa55858=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0xa55858[_0x1305d0(0x554)]),_0x154502=!!((_0x35c92f=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0x35c92f['flipY']),_0x38ec24=((_0x5373d4=_0xb143e0[_0x1305d0(0x4c7)])==null?void 0x0:_0x5373d4[_0x1305d0(0x37c)])||0x0,_0x38f4a4=this['_getImagePrstGeom'](_0x35f326,_0x530f1c,_0x3a05bd);if(!_0x38f4a4)return;let _0x1e402c=this['_getOrCreateShapeModel'](_0x38f4a4['prstGeom'],this[_0x1305d0(0x360)],this['_baseHeight'],_0x38f4a4['adjustValues']);if(!_0x1e402c||(this[_0x1305d0(0x2f3)]=_0x1e402c,this[_0x1305d0(0x1c7)]=_0x1e402c[_0x1305d0(0x419)](_0x409c1a),!this[_0x1305d0(0x1c7)]))return;this['_isStartAdjusting']=!0x0,_0x2b221d[_0x1305d0(0x574)]();let _0x23d3bc=_0x38f4a4[_0x1305d0(0x338)];this[_0x1305d0(0x3e5)]=_0x2b221d['onPointerMove$'][_0x1305d0(0x483)]((_0x122501,_0x154014)=>{const _0x6c804f=_0x1305d0;if(!this['_isStartAdjusting'])return;let {offsetX:_0xc2e72f,offsetY:_0x2ce4f7}=_0x122501,_0x4b924b=this[_0x6c804f(0x1c7)];if(!this['_activeShapeModel']||!_0x4b924b)return;_0x2b221d[_0x6c804f(0x574)](),_0x2b221d[_0x6c804f(0x40a)](_0x3e5eae[_0x6c804f(0x42a)][_0x6c804f(0x257)]);let _0x3a8bc9={'left':0x0,'top':0x0,'width':this[_0x6c804f(0x360)],'height':this['_baseHeight']},_0x1ef5eb=this[_0x6c804f(0x1ce)](_0x35f326,_0x530f1c),_0x3c5678=this['_getZoomRatio'](_0x35f326,_0x530f1c),_0x49540c=_0xc2e72f/_0x3c5678+_0x1ef5eb['x']-this[_0x6c804f(0x35c)],_0x511441=_0x2ce4f7/_0x3c5678+_0x1ef5eb['y']-this[_0x6c804f(0x384)];if(_0x38ec24!==0x0){let _0x35ea9b=this['_baseWidth']/0x2,_0x454185=this[_0x6c804f(0x238)]/0x2,_0x3fcbce=_0x38ec24*Math['PI']/0xb4,_0x1b295b=Math[_0x6c804f(0x1bb)](_0x3fcbce),_0x3d7e19=Math['sin'](_0x3fcbce),_0x3ef482=_0x49540c-_0x35ea9b,_0x4507e4=_0x511441-_0x454185;_0x49540c=_0x35ea9b+(_0x3ef482*_0x1b295b+_0x4507e4*_0x3d7e19),_0x511441=_0x454185+(-_0x3ef482*_0x3d7e19+_0x4507e4*_0x1b295b);}_0x51f00a&&(_0x49540c=this['_baseWidth']-_0x49540c),_0x154502&&(_0x511441=this[_0x6c804f(0x238)]-_0x511441);let _0x5dddb2=this[_0x6c804f(0x2f3)]['calcAdjValues'](_0x3a8bc9,{'x':_0x49540c,'y':_0x511441},_0x4b924b,_0x51f00a,_0x154502);if(Object[_0x6c804f(0x337)](_0x5dddb2)['length']!==0x0){for(let [_0x448685,_0x1a59c8]of Object[_0x6c804f(0x1f9)](_0x5dddb2))this[_0x6c804f(0x2f3)][_0x6c804f(0x2fc)](_0x448685,_0x1a59c8);this[_0x6c804f(0x2f3)][_0x6c804f(0x1bc)]({'width':this['_baseWidth'],'height':this[_0x6c804f(0x238)]}),this[_0x6c804f(0x308)](_0x35f326,_0x530f1c,_0x3a05bd,_0x5dddb2),this[_0x6c804f(0x557)]=this[_0x6c804f(0x2f3)][_0x6c804f(0x1a2)](),this[_0x6c804f(0x347)](),_0x154014[_0x6c804f(0x3ab)]();}}),this[_0x1305d0(0x2bc)]=_0x2b221d[_0x1305d0(0x4b7)][_0x1305d0(0x483)]((_0x17d8d5,_0x17e0e7)=>{const _0x19229e=_0x1305d0;if(this['_adjHandlerPointerMove'][_0x19229e(0x301)](),this[_0x19229e(0x2bc)]['unsubscribe'](),_0x2b221d[_0x19229e(0x20a)](),this['_activeShapeModel']){let _0x13a4e2=this['_activeShapeModel'][_0x19229e(0x3f9)](),_0x44a5a3={};for(let _0x33272d of _0x13a4e2){let _0x1db4e7=this[_0x19229e(0x2f3)][_0x19229e(0x3bd)](_0x33272d);_0x1db4e7!==void 0x0&&(_0x44a5a3[_0x33272d]=_0x1db4e7);}this['_imageShapeClipController'][_0x19229e(0x1d8)](_0x35f326,_0x530f1c,_0x3a05bd,_0x23d3bc,_0x44a5a3);}this[_0x19229e(0x1c7)]=void 0x0,this[_0x19229e(0x2f3)]=void 0x0,this[_0x19229e(0x1b6)]=!0x1,_0x17e0e7['stopPropagation'](),_0x2b221d['enableObjectsEvent']();}),_0x12550d[_0x1305d0(0x3ab)]();})));}[_0x718440(0x308)](_0x3328e9,_0x1070e9,_0x427ed4,_0x225092){const _0x34789a=_0x718440;let _0x17523d=this[_0x34789a(0x57e)][_0x34789a(0x403)](_0x3328e9);if(!_0x17523d)return;let {scene:_0x55f006}=_0x17523d,_0x594018=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3328e9,'subUnitId':_0x1070e9,'drawingId':_0x427ed4}),_0x2878a9=_0x55f006[_0x34789a(0x587)](_0x594018);if(_0x2878a9 instanceof _0x3e5eae[_0x34789a(0x35e)]){let _0x3d16f5=_0x2878a9[_0x34789a(0x261)]??{};_0x2878a9[_0x34789a(0x34c)]({..._0x3d16f5,..._0x225092}),_0x2878a9[_0x34789a(0x3ce)](!0x0);}}['_registerMoveHandler'](){const _0x49b054=_0x718440;let _0x1c0a7f=this[_0x49b054(0x34a)][_0x49b054(0x3d0)](_0x567e1d[_0x49b054(0x1e5)][_0x49b054(0x2e6)]);this[_0x49b054(0x503)](_0x1c0a7f[_0x49b054(0x2da)]((0x0,_0x1d246a[_0x49b054(0x53b)])(_0x49c835=>_0x49c835?_0x49c835['activeSheet$']['pipe']((0x0,_0x1d246a['switchMap'])(_0x42a5ce=>{const _0x22d438=_0x49b054;if(!_0x42a5ce)return _0x1d246a[_0x22d438(0x49f)];let _0x9d9f57=_0x49c835[_0x22d438(0x35f)](),_0x2ac720=this['_renderManagerService']['getRenderUnitById'](_0x9d9f57),_0x163795=_0x2ac720==null?void 0x0:_0x2ac720[_0x22d438(0x53c)];return _0x163795?(0x0,_0x1d246a['of'])(_0x163795):_0x1d246a['EMPTY'];})):_0x1d246a['EMPTY']))[_0x49b054(0x374)](_0x40298f=>{const _0x4b8c46=_0x49b054;let _0x4b14c1=_0x40298f[_0x4b8c46(0x202)]();this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x1dd)]['subscribeEvent'](()=>{const _0x5f4b95=_0x4b8c46;this[_0x5f4b95(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x4b3)][_0x4b8c46(0x374)](_0xa576cb=>{const _0x2e0426=_0x4b8c46;let {objects:_0x57a18d}=_0xa576cb;if(this['_createControls'](),_0x57a18d!==null&&_0x57a18d[_0x2e0426(0x2db)]===0x1){let _0x86fc61=_0x57a18d[_0x2e0426(0x32c)]()[_0x2e0426(0x34f)]()['value'];_0x86fc61 instanceof _0x3e5eae[_0x2e0426(0x35e)]&&_0x86fc61[_0x2e0426(0x338)]&&(this[_0x2e0426(0x52c)]=!0x0);}})),this['disposeWithMe'](_0x4b14c1['changing$'][_0x4b8c46(0x374)](()=>{const _0x4886d5=_0x4b8c46;this[_0x4886d5(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x4b7)]['subscribeEvent'](()=>{const _0xa745d6=_0x4b8c46;this[_0xa745d6(0x52c)]&&(this[_0xa745d6(0x52c)]=!0x1,this[_0xa745d6(0x347)]());})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x38b)][_0x4b8c46(0x374)](()=>{const _0x57f8f4=_0x4b8c46;if(this[_0x57f8f4(0x527)]&&this[_0x57f8f4(0x545)]&&this[_0x57f8f4(0x3c4)]){let _0xa9cd2=this[_0x57f8f4(0x411)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]);if(_0xa9cd2){var _0x53350e,_0x2f4ae2;let _0x4c53c2=this[_0x57f8f4(0x582)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]),_0x25080c=(_0x4c53c2==null||(_0x53350e=_0x4c53c2['transform'])==null?void 0x0:_0x53350e[_0x57f8f4(0x3d1)])||0x0,_0x913cce=(_0x4c53c2==null||(_0x2f4ae2=_0x4c53c2[_0x57f8f4(0x4c7)])==null?void 0x0:_0x2f4ae2[_0x57f8f4(0x1ef)])||0x0,_0x261f6a=this[_0x57f8f4(0x4d1)](_0xa9cd2['prstGeom'],_0x25080c,_0x913cce,_0xa9cd2[_0x57f8f4(0x28a)]);_0x261f6a&&(this['_activeAdjustPointList']=_0x261f6a['getDrawingPoints'](),this[_0x57f8f4(0x4cb)](),this[_0x57f8f4(0x347)](!0x0));}}}));}));}[_0x718440(0x37a)](){const _0x4207cb=_0x718440;this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x470)][_0x4207cb(0x374)](_0x496981=>{const _0xab00f=_0x4207cb;if(_0x496981[_0xab00f(0x212)]===0x1){let _0x349d91=_0x496981[0x0];if(_0x349d91['drawingType']===_0x567e1d[_0xab00f(0x2f1)]['DRAWING_IMAGE']){let {unitId:_0xdd94a6,subUnitId:_0x42230f,drawingId:_0x492b2e}=_0x349d91,_0x429072=this['_getImagePrstGeom'](_0xdd94a6,_0x42230f,_0x492b2e);if(_0x429072){var _0x2ed120,_0x43bc62;this[_0xab00f(0x3c4)]=_0x492b2e,this['_unitId']=_0xdd94a6,this[_0xab00f(0x545)]=_0x42230f;let _0xfd5a6a=this['_getImageDrawingInfo'](_0xdd94a6,_0x42230f,_0x492b2e),_0x5b6db7=(_0xfd5a6a==null||(_0x2ed120=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x2ed120[_0xab00f(0x3d1)])||0x0,_0x40ca6b=(_0xfd5a6a==null||(_0x43bc62=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x43bc62['height'])||0x0,_0x5e36bc=this[_0xab00f(0x4d1)](_0x429072[_0xab00f(0x338)],_0x5b6db7,_0x40ca6b,_0x429072['adjustValues']);_0x5e36bc&&(this[_0xab00f(0x557)]=_0x5e36bc[_0xab00f(0x1a2)]()),this['_clearControls'](),this[_0xab00f(0x347)](!0x0);}else this[_0xab00f(0x48e)]();}else this['_resetState']();}else this[_0xab00f(0x48e)]();})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x518)]['subscribe'](_0x301daf=>{const _0x1d0696=_0x4207cb;if(_0x301daf[_0x1d0696(0x212)]===0x1){let _0x3a9b73=_0x301daf[0x0],_0x57f24f=this[_0x1d0696(0x2a8)][_0x1d0696(0x37d)](_0x3a9b73);(_0x57f24f==null?void 0x0:_0x57f24f[_0x1d0696(0x37f)])===_0x567e1d[_0x1d0696(0x2f1)]['DRAWING_IMAGE']&&this[_0x1d0696(0x3c4)]===_0x3a9b73['drawingId']&&(this[_0x1d0696(0x4cb)](),this[_0x1d0696(0x347)](!0x0));}})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)]['remove$'][_0x4207cb(0x374)](_0x576553=>{const _0x1af993=_0x4207cb;for(let _0x41afa9 of _0x576553)this[_0x1af993(0x3c4)]===_0x41afa9[_0x1af993(0x25d)]&&this[_0x1af993(0x48e)]();}));}[_0x718440(0x48e)](){const _0x34cb8d=_0x718440;this[_0x34cb8d(0x3c4)]=null,this['_unitId']=null,this[_0x34cb8d(0x545)]=null,this['_activeAdjustPointList']=void 0x0,this[_0x34cb8d(0x4cb)]();}};_0x47426e=_0xb31b0c([_0x519f13(0x1,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x392613))],_0x47426e);function _0x538cc0({ref:_0x2b6e0a,..._0x41d559}){const _0x431131=_0x718440;let {preserveStrokeWidth:_0x20eb53,icon:_0x11bd9f,id:_0x1286e1,className:_0x5e9bf6,extend:_0x4c3529,..._0x5bbe0e}=_0x41d559,_0x28c144=(_0x431131(0x310)+_0x1286e1+'\x20'+(_0x5e9bf6||''))['trim'](),_0x21b2eb='_'+(0x0,_0x58a2d5[_0x431131(0x57f)])(),_0x1ad1b7=(0x0,_0x58a2d5[_0x431131(0x288)])(null);return(0x0,_0x58a2d5[_0x431131(0x1b9)])(_0x2b6e0a,()=>_0x1ad1b7['current']),(0x0,_0x58a2d5['useLayoutEffect'])(()=>{const _0xbb1f28=_0x431131;if(_0x20eb53&&_0x1ad1b7[_0xbb1f28(0x43d)]&&_0x1ad1b7[_0xbb1f28(0x43d)][_0xbb1f28(0x283)]===_0x11bd9f[_0xbb1f28(0x44b)])return _0x4987e3(_0x1ad1b7['current']);},[_0x20eb53,_0x11bd9f]),_0x1ef20a(_0x11bd9f,''+_0x1286e1,{'defIds':_0x11bd9f['defIds'],'idSuffix':_0x21b2eb},{'ref':_0x1ad1b7,'className':_0x28c144,..._0x5bbe0e},_0x4c3529);}function _0x1ef20a(_0xeb5cfa,_0x5b8579,_0x14b060,_0x2a9ba4,_0x1edcd0){const _0x391d90=_0x718440;return(0x0,_0x58a2d5[_0x391d90(0x254)])(_0xeb5cfa[_0x391d90(0x44b)],{'key':_0x5b8579,..._0x4bc3df(_0xeb5cfa,_0x14b060,_0x1edcd0),..._0x2a9ba4},(_0xc5135a(_0xeb5cfa,_0x14b060)[_0x391d90(0x3fc)]||[])[_0x391d90(0x3e8)]((_0x3a46d9,_0x2372aa)=>_0x1ef20a(_0x3a46d9,_0x5b8579+'-'+_0xeb5cfa[_0x391d90(0x44b)]+'-'+_0x2372aa,_0x14b060,void 0x0,_0x1edcd0)));}function _0x4bc3df(_0x5924ed,_0x2d72d0,_0x5b5db6){const _0x41cace=_0x718440;let _0x34b2ca={..._0x5924ed[_0x41cace(0x546)]};_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca[_0x41cace(0x3a0)]==='colorChannel1'&&(_0x34b2ca['fill']=_0x5b5db6[_0x41cace(0x45c)]),_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca['stroke']===_0x41cace(0x45c)&&(_0x34b2ca['stroke']=_0x5b5db6[_0x41cace(0x45c)]),_0x5924ed['tag']==='mask'&&_0x34b2ca['id']&&(_0x34b2ca['id']+=_0x2d72d0[_0x41cace(0x550)]),Object[_0x41cace(0x1f9)](_0x34b2ca)[_0x41cace(0x241)](([_0x3a6a12,_0x597c37])=>{const _0x510070=_0x41cace;_0x3a6a12===_0x510070(0x2c5)&&typeof _0x597c37==_0x510070(0x468)&&(_0x34b2ca[_0x3a6a12]=_0x597c37[_0x510070(0x1e8)](/url\(#(.*)\)/,_0x510070(0x4ac)+_0x2d72d0[_0x510070(0x550)]+')'));});let {defIds:_0x89884}=_0x2d72d0;return!_0x89884||_0x89884[_0x41cace(0x212)]===0x0?_0x34b2ca:(_0x5924ed[_0x41cace(0x44b)]===_0x41cace(0x430)&&_0x34b2ca['xlink:href']&&(_0x34b2ca['xlink:href']+=_0x2d72d0[_0x41cace(0x550)]),Object['entries'](_0x34b2ca)[_0x41cace(0x241)](([_0x1de9c1,_0x136694])=>{const _0x1a23e4=_0x41cace;typeof _0x136694==_0x1a23e4(0x468)&&(_0x34b2ca[_0x1de9c1]=_0x136694[_0x1a23e4(0x1e8)](/url\(#(.*)\)/,_0x1a23e4(0x4ac)+_0x2d72d0[_0x1a23e4(0x550)]+')'));}),_0x34b2ca);}function _0xc5135a(_0x1d5575,_0x3c9dce){const _0x535cfa=_0x718440;var _0x177c69;let {defIds:_0x3e223a}=_0x3c9dce;return!_0x3e223a||_0x3e223a['length']===0x0?_0x1d5575:_0x1d5575['tag']===_0x535cfa(0x1e0)&&(_0x177c69=_0x1d5575[_0x535cfa(0x3fc)])!=null&&_0x177c69[_0x535cfa(0x212)]?{..._0x1d5575,'children':_0x1d5575['children'][_0x535cfa(0x3e8)](_0x205574=>typeof _0x205574[_0x535cfa(0x546)]['id']==_0x535cfa(0x468)&&_0x3e223a&&_0x3e223a[_0x535cfa(0x46b)](_0x205574[_0x535cfa(0x546)]['id'])?{..._0x205574,'attrs':{..._0x205574['attrs'],'id':_0x205574[_0x535cfa(0x546)]['id']+_0x3c9dce[_0x535cfa(0x550)]}}:_0x205574)}:_0x1d5575;}function _0x4987e3(_0x2cf2d4){const _0x5d89f5=_0x718440;let _0x2f27dc=_0x2cf2d4[_0x5d89f5(0x53e)][_0x5d89f5(0x445)],_0xd1a68c=Math['max'](_0x2f27dc[_0x5d89f5(0x3d1)],_0x2f27dc['height']);if(!Number[_0x5d89f5(0x4f1)](_0xd1a68c)||_0xd1a68c<=0x0||_0x2f27dc['width']<=0x0||_0x2f27dc['height']<=0x0)return()=>void 0x0;let _0x51d3c8=0x10/_0xd1a68c,_0x51e708=Array[_0x5d89f5(0x47c)](_0x2cf2d4[_0x5d89f5(0x2b0)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))['flatMap'](_0x52ef94=>{const _0x41d5cb=_0x5d89f5;let _0x50bdb2=getComputedStyle(_0x52ef94),_0x377c6a=Number[_0x41d5cb(0x20e)](_0x50bdb2[_0x41d5cb(0x318)]);return _0x50bdb2[_0x41d5cb(0x2a6)]==='none'||Number[_0x41d5cb(0x20e)](_0x50bdb2['strokeOpacity'])===0x0||_0x50bdb2['vectorEffect']===_0x41d5cb(0x269)||!Number[_0x41d5cb(0x4f1)](_0x377c6a)||_0x377c6a<=0x0?[]:[{'element':_0x52ef94,'hadStyleAttribute':_0x52ef94['hasAttribute'](_0x41d5cb(0x47f)),'originalStrokeWidth':_0x377c6a,'strokeWidth':_0x59c665(_0x52ef94['style'],'stroke-width')}];})['map'](_0x29cd2f=>({'appliedStrokeWidth':null,'element':_0x29cd2f[_0x5d89f5(0x1f0)],'hadStyleAttribute':_0x29cd2f[_0x5d89f5(0x304)],'isReleased':!0x1,'originalStrokeWidth':_0x29cd2f[_0x5d89f5(0x220)],'strokeWidth':_0x29cd2f[_0x5d89f5(0x318)]}));if(_0x51e708[_0x5d89f5(0x212)]===0x0)return()=>void 0x0;let _0x5f0b58=(_0x5a4d13,_0x26ecca)=>{const _0x2a980c=_0x5d89f5;if(_0x2f27dc['width']<=0x0||_0x2f27dc[_0x2a980c(0x1ef)]<=0x0||_0x5a4d13<=0x0||_0x26ecca<=0x0)return;let _0x12dbcc=Math[_0x2a980c(0x30a)](_0x5a4d13/_0x2f27dc['width'],_0x26ecca/_0x2f27dc[_0x2a980c(0x1ef)]);!Number[_0x2a980c(0x4f1)](_0x12dbcc)||_0x12dbcc<=0x0||_0x51e708[_0x2a980c(0x241)](_0x393c68=>{const _0x1e3133=_0x2a980c;if(_0x393c68[_0x1e3133(0x559)])return;if(_0x393c68[_0x1e3133(0x51e)]!==null&&(_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x444)]('stroke-width')!==_0x393c68[_0x1e3133(0x51e)]||_0x393c68[_0x1e3133(0x1f0)]['style']['getPropertyPriority'](_0x1e3133(0x358))!==_0x393c68[_0x1e3133(0x318)]['priority'])){_0x393c68[_0x1e3133(0x51e)]=null,_0x393c68['isReleased']=!0x0;return;}let _0x1398b5=_0x393c68[_0x1e3133(0x220)]*_0x51d3c8/_0x12dbcc,_0x30e54d=Number(_0x1398b5[_0x1e3133(0x3a1)](0xc))+'px';_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x2bf)]('stroke-width',_0x30e54d,_0x393c68[_0x1e3133(0x318)][_0x1e3133(0x4e2)]),_0x393c68[_0x1e3133(0x51e)]=_0x30e54d;});},_0x229eda=_0x2cf2d4['getBoundingClientRect']();_0x5f0b58(_0x229eda[_0x5d89f5(0x3d1)],_0x229eda[_0x5d89f5(0x1ef)]);let _0x6acc59=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x115fde=>{const _0x2fcfb2=_0x5d89f5;if(_0x115fde[_0x2fcfb2(0x396)](_0x2486c6=>_0x2486c6[_0x2fcfb2(0x4c8)]===_0x2cf2d4)){let _0x4d5325=_0x2cf2d4[_0x2fcfb2(0x29e)]();_0x5f0b58(_0x4d5325['width'],_0x4d5325['height']);}});return _0x6acc59==null||_0x6acc59['observe'](_0x2cf2d4),()=>{const _0x2a39d3=_0x5d89f5;_0x6acc59==null||_0x6acc59[_0x2a39d3(0x25e)](),_0x51e708[_0x2a39d3(0x241)](_0x624a87=>{const _0x4477dc=_0x2a39d3;_0x624a87[_0x4477dc(0x51e)]!==null&&(_0x20871e(_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)],_0x4477dc(0x358),_0x624a87[_0x4477dc(0x51e)],_0x624a87[_0x4477dc(0x318)][_0x4477dc(0x4e2)],_0x624a87[_0x4477dc(0x318)]),!_0x624a87[_0x4477dc(0x304)]&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)]['length']===0x0&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x510)]('style'));});};}function _0x59c665(_0x1ccdec,_0x100c38){const _0x2bcc9c=_0x718440;return{'priority':_0x1ccdec[_0x2bcc9c(0x552)](_0x100c38),'value':_0x1ccdec[_0x2bcc9c(0x444)](_0x100c38)};}function _0x20871e(_0x4dc58a,_0x5096f2,_0x489805,_0x1235e7,_0x1eabaf){const _0x427684=_0x718440;_0x4dc58a[_0x427684(0x444)](_0x5096f2)===_0x489805&&_0x4dc58a[_0x427684(0x552)](_0x5096f2)===_0x1235e7&&(_0x1eabaf['value']?_0x4dc58a['setProperty'](_0x5096f2,_0x1eabaf['value'],_0x1eabaf[_0x427684(0x4e2)]):_0x4dc58a['removeProperty'](_0x5096f2));}_0x538cc0[_0x718440(0x38f)]=_0x718440(0x547);let _0x1906d4={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x477),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x1b2),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x1b5)}},{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x3df)}}]},_0x539c37=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x4a8446,_0x5b7a00){const _0x16cd75=_0x718440;return(0x0,_0x58a2d5[_0x16cd75(0x254)])(_0x538cc0,Object[_0x16cd75(0x3cc)]({},_0x4a8446,{'id':_0x16cd75(0x52a),'ref':_0x5b7a00,'icon':_0x1906d4}));});_0x539c37[_0x718440(0x38f)]='BottomIcon';let _0x2d8c15={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':'1em'},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3f5),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x50b),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x201),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M8\x206.2V7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x4fd),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':'currentColor','d':_0x718440(0x504),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}}]},_0xfdb1e6=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x26ee85,_0x444a4b){const _0x321053=_0x718440;return(0x0,_0x58a2d5[_0x321053(0x254)])(_0x538cc0,Object[_0x321053(0x3cc)]({},_0x26ee85,{'id':_0x321053(0x41a),'ref':_0x444a4b,'icon':_0x2d8c15}));});_0xfdb1e6[_0x718440(0x38f)]=_0x718440(0x481);let _0x1e7bcc={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1a9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2a9),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1f6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M10.2\x208H11.8','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x370),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5a8225=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x49e5b1,_0x6270bf){return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x49e5b1,{'id':'flip-vertical-icon','ref':_0x6270bf,'icon':_0x1e7bcc}));});_0x5a8225[_0x718440(0x38f)]=_0x718440(0x30b);let _0x4de916={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x4cf),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x230930=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x71ab68,_0x5e7db3){const _0x2a5b5b=_0x718440;return(0x0,_0x58a2d5[_0x2a5b5b(0x254)])(_0x538cc0,Object[_0x2a5b5b(0x3cc)]({},_0x71ab68,{'id':_0x2a5b5b(0x3d4),'ref':_0x5e7db3,'icon':_0x4de916}));});_0x230930[_0x718440(0x38f)]=_0x718440(0x26a);let _0x5b66a0={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x439)}}]},_0x14d267=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x2af5d0,_0x4e8b73){const _0xac36d7=_0x718440;return(0x0,_0x58a2d5[_0xac36d7(0x254)])(_0x538cc0,Object[_0xac36d7(0x3cc)]({},_0x2af5d0,{'id':'move-up-icon','ref':_0x4e8b73,'icon':_0x5b66a0}));});_0x14d267[_0x718440(0x38f)]=_0x718440(0x55a);let _0x1479a1={'tag':'svg','attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2e9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}}]},_0x31ea2d=(0x0,_0x58a2d5['forwardRef'])(function(_0xf75af8,_0x11bd4e){const _0x31b008=_0x718440;return(0x0,_0x58a2d5[_0x31b008(0x254)])(_0x538cc0,Object[_0x31b008(0x3cc)]({},_0xf75af8,{'id':_0x31b008(0x453),'ref':_0x11bd4e,'icon':_0x1479a1}));});_0x31ea2d[_0x718440(0x38f)]=_0x718440(0x24f);let _0x1089ed={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':'none','viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x583),'strokeLinecap':'round','strokeLinejoin':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3a6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1b0),'strokeLinejoin':_0x718440(0x410)}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x53179a=(0x0,_0x58a2d5['forwardRef'])(function(_0x2fa556,_0x5bfe1d){const _0x440110=_0x718440;return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x2fa556,{'id':_0x440110(0x2bd),'ref':_0x5bfe1d,'icon':_0x1089ed}));});_0x53179a[_0x718440(0x38f)]=_0x718440(0x4fa);let _0x46bad7={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x718440(0x477),'width':'1em','height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x342)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x4d7),'fillRule':_0x718440(0x3ff),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x2ab),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}}]},_0x3f7a19=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0xc3e367,_0x27f449){const _0x4b55bc=_0x718440;return(0x0,_0x58a2d5[_0x4b55bc(0x254)])(_0x538cc0,Object[_0x4b55bc(0x3cc)]({},_0xc3e367,{'id':_0x4b55bc(0x271),'ref':_0x27f449,'icon':_0x46bad7}));});_0x3f7a19[_0x718440(0x38f)]=_0x718440(0x267);function _0x4e26a6(_0x79a5bd){const _0x3e3862=_0x718440;return _0x79a5bd[_0x3e3862(0x490)]()||void 0x0;}function _0x29733e(_0x445488,_0x365152,_0x398987){const _0x589ff7=_0x718440;var _0x202f15;return((_0x202f15=_0x445488[_0x589ff7(0x4ab)])==null?void 0x0:_0x202f15[_0x589ff7(0x490)]())||_0x398987['t'](_0x589ff7(0x1a1)+(0x0,_0x54a51b[_0x589ff7(0x219)])(_0x445488[_0x589ff7(0x37f)]))+'\x20'+(_0x365152+0x1);}function _0x32a716({PanelComponent:_0xe84cf8=_0x44d5e4[_0x718440(0x2c3)]}){const _0x3b061d=_0x718440;var _0x3a7751;let _0x3beb5e=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d['LocaleService']),_0x1c2a10={'title':_0x3beb5e['t'](_0x3b061d(0x535)),'empty':_0x3beb5e['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x3beb5e['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x3beb5e['t'](_0x3b061d(0x43b)),'lockAll':_0x3beb5e['t'](_0x3b061d(0x489)),'unlockAll':_0x3beb5e['t'](_0x3b061d(0x23b)),'moveForward':_0x3beb5e['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x3beb5e['t'](_0x3b061d(0x573)),'close':_0x3beb5e['t'](_0x3b061d(0x319)),'show':_0x3beb5e['t'](_0x3b061d(0x47d)),'hide':_0x3beb5e['t'](_0x3b061d(0x1be)),'lock':_0x3beb5e['t'](_0x3b061d(0x2a4)),'unlock':_0x3beb5e['t'](_0x3b061d(0x21e)),'lockHint':_0x3beb5e['t'](_0x3b061d(0x316)),'unlockHint':_0x3beb5e['t'](_0x3b061d(0x26c)),'name':_0x3beb5e['t'](_0x3b061d(0x52b)),'nameInput':_0x3beb5e['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x3beb5e['t'](_0x3b061d(0x1da)),'descriptionPlaceholder':_0x3beb5e['t'](_0x3b061d(0x3c2)),'details':_0x3beb5e['t'](_0x3b061d(0x567)),'noSelection':_0x3beb5e['t'](_0x3b061d(0x19e)),'locate':_0x3beb5e['t'](_0x3b061d(0x51b)),'expand':_0x3beb5e['t'](_0x3b061d(0x2af)),'collapse':_0x3beb5e['t'](_0x3b061d(0x356)),'dragToReorder':_0x3beb5e['t'](_0x3b061d(0x488)),'search':_0x3beb5e['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x3beb5e['t'](_0x3b061d(0x32b)),'filterHidden':_0x3beb5e['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x3beb5e['t'](_0x3b061d(0x465)),'sectionCanvas':_0x3beb5e['t'](_0x3b061d(0x3b1)),'sectionFloating':_0x3beb5e['t'](_0x3b061d(0x28d))},_0x66dd02=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x1cf)]),_0xeb14c6=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x32e)]),_0x3f2da0=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x1f8323['ISheetDrawingService']),_0x39ecd1=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x36b4c7[_0x3b061d(0x529)]),_0x271d11=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x3e5eae[_0x3b061d(0x39e)]),[,_0x5d9a49]=(0x0,_0x58a2d5['useReducer'])(_0x2665e1=>_0x2665e1+0x1,0x0),_0x19e035=_0xeb14c6[_0x3b061d(0x24c)](_0x567e1d['UniverInstanceType'][_0x3b061d(0x2e6)]),_0x5be5d3=(_0x19e035==null?void 0x0:_0x19e035[_0x3b061d(0x35f)]())??'',_0x22488e=(_0x19e035==null||(_0x3a7751=_0x19e035[_0x3b061d(0x569)]())==null?void 0x0:_0x3a7751[_0x3b061d(0x274)]())??'',_0x1e6c20=(0x0,_0x5744c6[_0x3b061d(0x329)])(()=>_0x39ecd1['focus$'],_0x39ecd1[_0x3b061d(0x447)](),!0x1,[_0x39ecd1]);(0x0,_0x58a2d5['useEffect'])(()=>{const _0x5454df=_0x3b061d;let _0x52ea2a=_0x66dd02[_0x5454df(0x4c2)](()=>_0x5d9a49());return()=>_0x52ea2a[_0x5454df(0x4dd)]();},[_0x66dd02]);let _0x13c1c5=_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x46f)](_0x5be5d3,_0x22488e):{},_0x1484ad=(_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x205)](_0x5be5d3,_0x22488e):[])['map'](_0x1e122b=>_0x13c1c5[_0x1e122b])[_0x3b061d(0x3c1)](_0x3f7c00=>!!_0x3f7c00)[_0x3b061d(0x55e)](),_0x237426=_0x1484ad[_0x3b061d(0x210)]((_0x58cb9a,_0x5e8ca4)=>(_0x58cb9a[(0x0,_0x44d5e4['getObjectListPanelSectionIdForDrawingType'])(_0x5e8ca4[_0x3b061d(0x37f)])]+=0x1,_0x58cb9a),{'canvas':0x0,'floating':0x0}),_0x2b4f7c={'canvas':0x0,'floating':0x0},_0xfea4ad=_0x1484ad[_0x3b061d(0x3e8)]((_0x34e065,_0x59af8f)=>{const _0x39efd4=_0x3b061d;let _0x5d4f80=(0x0,_0x44d5e4[_0x39efd4(0x502)])(_0x34e065['drawingType']),_0x575727=_0x5d4f80===_0x44d5e4[_0x39efd4(0x4c9)],_0x2baa0d=_0x2b4f7c[_0x5d4f80]++;return{'id':_0x34e065[_0x39efd4(0x25d)],'name':_0x29733e(_0x34e065,_0x59af8f,_0x3beb5e),'description':_0x34e065[_0x39efd4(0x1df)],'visible':_0x34e065['hidden']!==!0x0,'selectable':_0x34e065[_0x39efd4(0x50c)]!==!0x1,'sectionId':_0x5d4f80,'sectionTitle':_0x575727?_0x1c2a10[_0x39efd4(0x235)]:_0x1c2a10[_0x39efd4(0x37b)],'capabilities':_0x575727?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x575727&&_0x2baa0d>0x0,'canMoveBackward':!_0x575727&&_0x2baa0d<_0x237426[_0x39efd4(0x1c1)]-0x1,'canReorder':!_0x575727};}),_0x290fe3=(0x0,_0x58a2d5[_0x3b061d(0x33b)])(()=>(_0x1e6c20??[])['filter'](_0x465295=>_0x465295['unitId']===_0x5be5d3&&_0x465295[_0x3b061d(0x31f)]===_0x22488e)[_0x3b061d(0x3e8)](_0x15eafd=>_0x15eafd[_0x3b061d(0x25d)]),[_0x1e6c20,_0x22488e,_0x5be5d3]),_0x410073=_0x290fe3[_0x290fe3[_0x3b061d(0x212)]-0x1]??null,_0x46a8a8=_0x931b25=>_0x3f2da0[_0x3b061d(0x37d)]({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x931b25})??null,_0x44b382=async _0x453ca3=>{const _0x1c2aa9=_0x3b061d;_0x5be5d3&&_0x453ca3[_0x1c2aa9(0x212)]&&await _0x66dd02['executeCommand'](_0x1f8323[_0x1c2aa9(0x41b)]['id'],{'unitId':_0x5be5d3,'drawings':_0x453ca3});},_0x4f56db=async(_0x540e08,_0x200265)=>{_0x46a8a8(_0x540e08)&&await _0x44b382([{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x540e08,..._0x200265}]);},_0x871a3a=(_0x620ace,_0x1e78b0)=>{const _0x982238=_0x3b061d;if(!_0x5be5d3||!_0x22488e)return;let _0x5d571f=_0x1e78b0?_0x290fe3[_0x982238(0x46b)](_0x620ace)?_0x290fe3[_0x982238(0x3c1)](_0x446490=>_0x446490!==_0x620ace):[..._0x290fe3,_0x620ace]:[_0x620ace];_0x66dd02[_0x982238(0x34d)](_0x36b4c7['SetDrawingSelectedOperation']['id'],_0x5d571f[_0x982238(0x3e8)](_0x485240=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x485240})));let _0xf74e9=_0x5d571f[_0x5d571f['length']-0x1];_0xf74e9?(0x0,_0x54a51b['activateDrawingObject'])(_0x271d11,{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xf74e9}):(0x0,_0x54a51b[_0x982238(0x289)])(_0x271d11,_0x5be5d3);},_0x40435f=async(_0x9adf4f,_0x2311fa)=>{const _0x33cf50=_0x3b061d;await _0x44b382(_0x9adf4f[_0x33cf50(0x3e8)](_0x2b4ad9=>_0x46a8a8(_0x2b4ad9))[_0x33cf50(0x3c1)](_0x557645=>!!_0x557645)[_0x33cf50(0x3c1)](_0x388cf4=>_0x388cf4[_0x33cf50(0x579)]!==!0x0!==_0x2311fa)[_0x33cf50(0x3e8)](_0x36f10d=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x36f10d['drawingId'],'hidden':!_0x2311fa})));},_0x2d5256=async(_0x2e0914,_0x39aa1a)=>{const _0x533000=_0x3b061d;await _0x44b382(_0x2e0914['map'](_0x16c15f=>_0x46a8a8(_0x16c15f))['filter'](_0x420e8b=>!!_0x420e8b)['filter'](_0xef9b3b=>_0xef9b3b[_0x533000(0x50c)]!==!0x1!==_0x39aa1a)[_0x533000(0x3e8)](_0xfd6404=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xfd6404[_0x533000(0x25d)],'selectable':_0x39aa1a})));},_0x2bcc47=_0x17914a=>{const _0x24c256=_0x3b061d;let _0x5b2641=_0x46a8a8(_0x17914a);if(_0x5b2641)return _0x2d5256([_0x17914a],_0x5b2641[_0x24c256(0x50c)]===!0x1);},_0x592c34=async(_0xb149ee,_0x1f229f)=>{var _0x3699ac;let _0x32bffd=_0x4e26a6(_0x1f229f);(((_0x3699ac=_0x46a8a8(_0xb149ee))==null?void 0x0:_0x3699ac['name'])??void 0x0)!==_0x32bffd&&await _0x4f56db(_0xb149ee,{'name':_0x32bffd});},_0x3f0913=async(_0x504b00,_0x29cd17)=>{const _0x4490b5=_0x3b061d;var _0x262657;let _0x4e559a=_0x4e26a6(_0x29cd17);(((_0x262657=_0x46a8a8(_0x504b00))==null?void 0x0:_0x262657[_0x4490b5(0x1df)])??void 0x0)!==_0x4e559a&&await _0x4f56db(_0x504b00,{'description':_0x4e559a});},_0x4e7c3b=async(_0x46974c,_0x425102)=>{const _0x4978bd=_0x3b061d;_0x5be5d3&&_0x22488e&&await _0x66dd02['executeCommand'](_0x1f8323[_0x4978bd(0x364)]['id'],{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingIds':[_0x46974c],'arrangeType':_0x425102});};return!_0x5be5d3||!_0x22488e?(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0x3b061d(0x4b9),{'className':_0x3b061d(0x511),'children':_0x1c2a10[_0x3b061d(0x1ca)]}):(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0xe84cf8,{'labels':_0x1c2a10,'items':_0xfea4ad,'selectedIds':_0x290fe3,'focusedId':_0x410073,'showHeader':!0x1,'onSelect':_0x871a3a,'onSetVisible':_0x40435f,'onSetSelectable':_0x2d5256,'onCommitName':_0x592c34,'onCommitDescription':_0x3f0913,'onMoveForward':async _0x441d7d=>_0x4e7c3b(_0x441d7d,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x285)]),'onMoveBackward':async _0x3a0fe5=>_0x4e7c3b(_0x3a0fe5,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x492)]),'onToggleSelectable':_0x2bcc47});}function _0x354eaa(){const _0xfc9941=_0x718440;return(0x0,_0x1a5094[_0xfc9941(0x2bb)])(_0x32a716,{'PanelComponent':_0x44d5e4[_0xfc9941(0x2fd)]});}let _0x26ba20=class extends _0x567e1d['Disposable']{constructor(_0x3a90f1,_0x20b411){const _0x1d66c5=_0x718440;super(),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x46acea,_0x354eaa)),this[_0x1d66c5(0x503)](_0x20b411['register']({'BottomIcon':_0x539c37,'FlipHorizontalIcon':_0xfdb1e6,'FlipVerticalIcon':_0x5a8225,'MoveDownIcon':_0x230930,'MoveUpIcon':_0x14d267,'ObjectLayersIcon':_0x31ea2d,'ShapeFormatSettingIcon':_0x53179a,'TopmostIcon':_0x3f7a19})),this['disposeWithMe'](_0x3a90f1[_0x1d66c5(0x50a)](_0x4440a,_0x373485)),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x16e69b,_0x4190ca)),_0x3a90f1[_0x1d66c5(0x39f)](_0x44d5e4[_0x1d66c5(0x4e0)])||this['disposeWithMe'](_0x3a90f1['register'](_0x44d5e4[_0x1d66c5(0x4e0)],_0xa77841));}};_0x26ba20=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x3a4)]))],_0x26ba20);let _0x5c8f01=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2781b5){const _0x35fab9=_0x718440;super(),this[_0x35fab9(0x4ad)]=_0x2781b5,_0x55cc91(this,_0x35fab9(0x1c4),new _0x1d246a[(_0x35fab9(0x23f))](null)),_0x55cc91(this,_0x35fab9(0x4f7),this[_0x35fab9(0x1c4)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x3b9),new _0x1d246a['BehaviorSubject'](!0x1)),_0x55cc91(this,_0x35fab9(0x324),this[_0x35fab9(0x3b9)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x211),void 0x0),this[_0x35fab9(0x503)](this[_0x35fab9(0x4ad)][_0x35fab9(0x52e)][_0x35fab9(0x374)](()=>{const _0x169415=_0x35fab9;let _0x28dae0=this[_0x169415(0x570)]();_0x28dae0!=null&&_0x28dae0['visible']&&!this[_0x169415(0x55c)](_0x28dae0)&&this[_0x169415(0x428)](null);}));}['dispose'](){const _0x124c50=_0x718440;this['_clearCompletionFrame'](),this['_editingParams$'][_0x124c50(0x34f)](null),this[_0x124c50(0x1c4)][_0x124c50(0x1d6)](),this['_onSavingEditorData$'][_0x124c50(0x34f)](!0x1),this[_0x124c50(0x3b9)][_0x124c50(0x1d6)](),super['dispose']();}[_0x718440(0x428)](_0x2f68ad){const _0x11d98f=_0x718440;(_0x2f68ad==null||!_0x2f68ad[_0x11d98f(0x47b)]||this[_0x11d98f(0x55c)](_0x2f68ad))&&(this['_clearCompletionFrame'](),this[_0x11d98f(0x1c4)][_0x11d98f(0x34f)](_0x2f68ad),(_0x2f68ad==null||_0x2f68ad['visible']&&this[_0x11d98f(0x3b9)][_0x11d98f(0x27e)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x718440(0x378)](_0x5220c0){const _0x349a99=_0x718440;this[_0x349a99(0x3b9)]['next'](_0x5220c0);}[_0x718440(0x570)](){const _0x23c97f=_0x718440;return this[_0x23c97f(0x1c4)]['getValue']();}[_0x718440(0x55c)](_0x415518){const _0x1e73f1=_0x718440;let _0x21b146=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4c5))](_0x415518[_0x1e73f1(0x45d)])['id']),_0x57c2a0=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4fc))](_0x415518['unitId'],_0x415518[_0x1e73f1(0x31f)])['id']);return((_0x21b146==null?void 0x0:_0x21b146['value'])??!0x0)&&((_0x57c2a0==null?void 0x0:_0x57c2a0[_0x1e73f1(0x52d)])??!0x0);}['completeEditing'](_0x413e43){const _0x5c101d=_0x718440;let _0x531f10=this[_0x5c101d(0x570)]();_0x531f10&&this[_0x5c101d(0x211)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0x5c101d(0x211)]=requestAnimationFrame(()=>{const _0x20646d=_0x5c101d;this[_0x20646d(0x211)]=void 0x0,this[_0x20646d(0x570)]()===_0x531f10&&this['setEditing'](null);}));}[_0x718440(0x3c9)](){const _0x6a98da=_0x718440;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x6a98da(0x211)]),this[_0x6a98da(0x211)]=void 0x0);}[_0x718440(0x259)](){const _0x1f236b=_0x718440;this[_0x1f236b(0x570)]()&&this[_0x1f236b(0x428)](null);}};_0x5c8f01=_0xb31b0c([_0x519f13(0x0,_0x567e1d['IPermissionService'])],_0x5c8f01);let _0x26166d=class extends _0x567e1d['Disposable']{constructor(_0x4d4262,_0x114289,_0x2154cd,_0xc41faa,_0x185fd1,_0x172930){const _0x42b50c=_0x718440;super(),this[_0x42b50c(0x2f6)]=_0x4d4262,this[_0x42b50c(0x249)]=_0x114289,this[_0x42b50c(0x4da)]=_0x2154cd,this[_0x42b50c(0x2a8)]=_0xc41faa,this[_0x42b50c(0x469)]=_0x185fd1,this['_sheetsShapeService']=_0x172930,_0x55cc91(this,'_lastEditingShapeKey',null),this[_0x42b50c(0x49d)](),this[_0x42b50c(0x31e)](),this[_0x42b50c(0x46e)]();}[_0x718440(0x49d)](){const _0x32a737=_0x718440;let {scene:_0x1077cf}=this['_context'];this['disposeWithMe'](_0x1077cf[_0x32a737(0x454)][_0x32a737(0x483)](_0x55b7d6=>{const _0x333541=_0x32a737;let {offsetX:_0x2751a7,offsetY:_0x179c0f}=_0x55b7d6,_0x13b0f7=_0x1077cf[_0x333541(0x588)](_0x3e5eae[_0x333541(0x214)][_0x333541(0x593)]([_0x2751a7,_0x179c0f]));if(_0x13b0f7 instanceof _0x5b187c){let _0x293544=this[_0x333541(0x4cd)][_0x333541(0x459)](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7[_0x333541(0x1fd)]);if((0x0,_0x34f551['isConnectorShape'])(this['_sheetsShapeService']['getShapeType'](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7['shapeId']))||_0x293544!=null&&_0x293544[_0x333541(0x1e2)]()[_0x333541(0x270)])return;this[_0x333541(0x4da)]['setEditing']({'visible':!0x0,'unitId':_0x13b0f7[_0x333541(0x45d)],'subUnitId':_0x13b0f7[_0x333541(0x31f)],'shapeId':_0x13b0f7[_0x333541(0x1fd)],'shapeKey':_0x13b0f7[_0x333541(0x1d1)]});}}));}[_0x718440(0x31e)](){const _0x4c108b=_0x718440;this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x470)]['subscribe'](_0xd4eeb1=>{const _0x30cc96=_0x4c108b;if(_0xd4eeb1[_0x30cc96(0x212)]===0x1){let _0x52efa3=_0xd4eeb1[0x0],_0x223fb7=this[_0x30cc96(0x2a8)][_0x30cc96(0x37d)](_0x52efa3);if((_0x223fb7==null?void 0x0:_0x223fb7['drawingType'])===_0x567e1d['DrawingTypeEnum'][_0x30cc96(0x20f)]){var _0x423b76;let _0x4ffa4b=this[_0x30cc96(0x4da)][_0x30cc96(0x570)]();if((_0x4ffa4b==null?void 0x0:_0x4ffa4b['shapeId'])===_0x52efa3[_0x30cc96(0x25d)]&&_0x4ffa4b[_0x30cc96(0x47b)])return;let _0x24d7be=(0x0,_0x34f551[_0x30cc96(0x22d)])(this['_sheetsShapeService'][_0x30cc96(0x43a)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3['subUnitId'],_0x52efa3['drawingId'])),_0x53c98c=!!((_0x423b76=this[_0x30cc96(0x4cd)][_0x30cc96(0x459)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3[_0x30cc96(0x31f)],_0x52efa3['drawingId']))!=null&&_0x423b76['getShapeData']()['formulaBinding']);(_0x24d7be||_0x53c98c)&&this[_0x30cc96(0x4da)][_0x30cc96(0x428)](null);}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();})),this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x4ca)][_0x4c108b(0x374)](_0x48752a=>{const _0x23b9c1=_0x4c108b;let _0x314058=this[_0x23b9c1(0x4da)]['getEditing']();_0x314058&&_0x48752a[_0x23b9c1(0x396)](_0x33b88a=>_0x33b88a['drawingId']===_0x314058[_0x23b9c1(0x1fd)])&&this[_0x23b9c1(0x4da)][_0x23b9c1(0x428)](null);}));}[_0x718440(0x46e)](){const _0x4d5714=_0x718440;this[_0x4d5714(0x503)](this[_0x4d5714(0x4da)][_0x4d5714(0x4f7)][_0x4d5714(0x374)](_0x806e5=>{const _0x1bdc4a=_0x4d5714;let {scene:_0xac89c7}=this['_context'];if(this['_lastEditingShapeKey']){let _0x179806=_0xac89c7[_0x1bdc4a(0x566)](this[_0x1bdc4a(0x2a7)]);_0x179806&&_0x179806['setEditing'](!0x1);}if(_0x806e5){let _0x1ae1fd=!!_0x806e5[_0x1bdc4a(0x47b)],_0x1800ed=_0xac89c7[_0x1bdc4a(0x566)](_0x806e5[_0x1bdc4a(0x1f3)]);_0x1800ed&&(_0x1800ed['setEditing'](_0x1ae1fd),this[_0x1bdc4a(0x2a7)]=_0x806e5[_0x1bdc4a(0x1f3)]),this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d['FOCUSING_SHAPE_TEXT_EDITOR'],_0x1ae1fd);}else this[_0x1bdc4a(0x2a7)]=null,this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d[_0x1bdc4a(0x532)],!0x1);}));}};_0x26166d=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d['IContextService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x26166d);var _0x2955f2=class extends _0x26166d{['_initEvents'](){const _0x9d9753=_0x718440;let {scene:_0x1e6e93}=this[_0x9d9753(0x2f6)],_0x26c504=this[_0x9d9753(0x249)][_0x9d9753(0x39f)](_0x54a51b[_0x9d9753(0x24d)]);this[_0x9d9753(0x503)](_0x1e6e93['onDblclick$'][_0x9d9753(0x483)](_0x5e07c4=>{const _0x12a1bc=_0x9d9753;let {offsetX:_0x4eac4f,offsetY:_0x260c85}=_0x5e07c4,_0x1ef6b9=_0x1e6e93[_0x12a1bc(0x588)](_0x3e5eae[_0x12a1bc(0x214)]['FromArray']([_0x4eac4f,_0x260c85]));if(!(_0x1ef6b9 instanceof _0x5b187c))return;let _0x5b86ea=this[_0x12a1bc(0x4cd)][_0x12a1bc(0x459)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]);(0x0,_0x34f551['isConnectorShape'])(this[_0x12a1bc(0x4cd)][_0x12a1bc(0x43a)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]))||_0x5b86ea!=null&&_0x5b86ea[_0x12a1bc(0x1e2)]()['formulaBinding']||_0x26c504[_0x12a1bc(0x395)]('text',{'hostType':_0x567e1d['UniverInstanceType'][_0x12a1bc(0x2e6)],'unitId':_0x1ef6b9[_0x12a1bc(0x45d)],'subUnitId':_0x1ef6b9[_0x12a1bc(0x31f)],'shapeId':_0x1ef6b9[_0x12a1bc(0x1fd)]});}));}};let _0x470b76={..._0x254fae},_0x29acd6=class extends _0x567e1d['Disposable']{constructor(_0x20ebb6,_0x19a1b4,_0x11ff06,_0x395d54,_0x201430,_0x441db8,_0x4e0dc1,_0x4c510e){const _0x52c5ab=_0x718440;super(),this[_0x52c5ab(0x4a3)]=_0x20ebb6,this['_sheetsShapeService']=_0x19a1b4,this['_commandService']=_0x11ff06,this[_0x52c5ab(0x2a8)]=_0x395d54,this[_0x52c5ab(0x19a)]=_0x201430,this[_0x52c5ab(0x469)]=_0x441db8,this[_0x52c5ab(0x57e)]=_0x4e0dc1,this[_0x52c5ab(0x4da)]=_0x4c510e,_0x55cc91(this,_0x52c5ab(0x3b7),null),this['_menuManagerService']['mergeMenu'](_0x470b76),this[_0x52c5ab(0x2ea)](),this[_0x52c5ab(0x503)](this[_0x52c5ab(0x4da)][_0x52c5ab(0x4f7)][_0x52c5ab(0x374)](_0x9fe82d=>{const _0x36c281=_0x52c5ab;_0x9fe82d&&this[_0x36c281(0x496)]();}));}[_0x718440(0x1f2)](){const _0x1468d8=_0x718440;this[_0x1468d8(0x3b7)]||=this[_0x1468d8(0x503)]((0x0,_0x54a51b[_0x1468d8(0x3fd)])(this[_0x1468d8(0x57e)],_0x567e1d[_0x1468d8(0x1e5)][_0x1468d8(0x2e6)],_0x24ff74=>this[_0x1468d8(0x398)](_0x24ff74)));}[_0x718440(0x2ea)](){const _0x392800=_0x718440;this['_sheetCanvasPopManagerService'][_0x392800(0x49c)](_0x567e1d['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x4808ca,_0x372309,_0x271eb9,_0x267c52)=>{const _0x162198=_0x392800;let _0x379717=this[_0x162198(0x4cd)]['getShapeTypeById'](_0x4808ca,_0x372309,_0x271eb9),_0x2905f0=this[_0x162198(0x4cd)][_0x162198(0x203)](_0x4808ca,_0x372309,_0x271eb9),_0x1f9e0f=_0x379717!==void 0x0&&!(0x0,_0x34f551['isConnectorShape'])(_0x379717)&&!(_0x2905f0!=null&&_0x2905f0[_0x162198(0x270)]);return[{'label':_0x162198(0x540),'index':0x0,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x47f)},'disable':!0x1},..._0x1f9e0f?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x27b)},'disable':!0x1}]:[],{'label':_0x162198(0x287),'index':0x2,'commandId':_0x1f8323[_0x162198(0x464)]['id'],'commandParams':{'unitId':_0x4808ca,'drawings':[{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'drawingType':_0x267c52}]},'disable':!0x1},{'label':_0x162198(0x353),'index':0x3,'commandId':_0x239f56['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipH':!0x0},'disable':!0x1},{'label':_0x162198(0x30e),'index':0x4,'commandId':_0x239f56[_0x162198(0x335)]['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipV':!0x0},'disable':!0x1}];},_0x392800(0x239));}[_0x718440(0x398)](_0x367f26){const _0x24d3cb=_0x718440;let _0x5e23ce=new _0x567e1d[(_0x24d3cb(0x3de))](),_0x391b5f=null,_0x5eb0e2=()=>{const _0x4d7093=_0x24d3cb;if(!_0x391b5f)return;let _0x23dcc0=this[_0x4d7093(0x2a8)][_0x4d7093(0x447)](),_0x48d2a6=_0x23dcc0[_0x4d7093(0x212)]===0x0||_0x23dcc0[_0x4d7093(0x212)]===0x1&&_0x23dcc0[_0x4d7093(0x396)](_0x5786a2=>_0x5786a2['unitId']===(_0x391b5f==null?void 0x0:_0x391b5f['unitId'])&&_0x5786a2[_0x4d7093(0x31f)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x31f)])&&_0x5786a2[_0x4d7093(0x25d)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x25d)]));_0x391b5f=null,_0x48d2a6&&(this[_0x4d7093(0x469)]['setContextValue'](_0x567e1d[_0x4d7093(0x457)],!0x1),this[_0x4d7093(0x2a8)][_0x4d7093(0x1b3)](null));};return _0x5e23ce[_0x24d3cb(0x3e3)](_0x367f26['createControl$'][_0x24d3cb(0x374)](()=>{const _0x445a6d=_0x24d3cb;let _0x41117d=_0x367f26[_0x445a6d(0x57d)]();if(_0x41117d[_0x445a6d(0x2db)]>0x1){_0x5eb0e2();return;}let _0x150294=_0x41117d['values']()[_0x445a6d(0x34f)]()['value'];if(!_0x150294){_0x5eb0e2();return;}let _0x182a2b=this[_0x445a6d(0x2a8)][_0x445a6d(0x380)](_0x150294[_0x445a6d(0x1d1)]);if(!_0x182a2b||_0x182a2b[_0x445a6d(0x37f)]!==_0x567e1d['DrawingTypeEnum'][_0x445a6d(0x20f)]){_0x5eb0e2();return;}let {unitId:_0x17a1d6,subUnitId:_0xf4fd02,drawingId:_0x243c82}=_0x182a2b;_0x391b5f={'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82},this[_0x445a6d(0x469)][_0x445a6d(0x4b8)](_0x567e1d[_0x445a6d(0x457)],!0x0),this[_0x445a6d(0x2a8)][_0x445a6d(0x447)]()[_0x445a6d(0x1d5)](_0x365515=>_0x365515[_0x445a6d(0x45d)]===_0x17a1d6&&_0x365515[_0x445a6d(0x31f)]===_0xf4fd02&&_0x365515[_0x445a6d(0x25d)]===_0x243c82)||this['_drawingManagerService']['focusDrawing']([{'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82}]);})),_0x5e23ce['add'](_0x367f26['clearControl$'][_0x24d3cb(0x374)](()=>{_0x5eb0e2();})),(0x0,_0x567e1d[_0x24d3cb(0x23c)])(()=>{const _0x4a0714=_0x24d3cb;_0x5e23ce[_0x4a0714(0x4dd)](),_0x5eb0e2();});}[_0x718440(0x496)](){const _0x2aa0e1=_0x718440;this['_contextService'][_0x2aa0e1(0x4b8)](_0x567e1d[_0x2aa0e1(0x457)],!0x1),this[_0x2aa0e1(0x2a8)][_0x2aa0e1(0x1b3)](null);}};_0x29acd6=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x5,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x6,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x29acd6);function _0x2143ad(_0x1c1daa,_0x1ab145,_0x4b72cd,_0x19ae6d){const _0x253f92=_0x718440;let _0x818719=(0x0,_0x36b4c7['getOrCreateDrawingCopyPlan'])(_0x1c1daa,_0x1ab145,_0x4b72cd),_0x31301b=[];for(let _0x43e0ae of _0x1ab145){let _0x5a6f2b=_0x818719['idMap'][_0x253f92(0x39f)](_0x43e0ae['drawingId']),_0x245adc=_0x19ae6d(_0x43e0ae);_0x5a6f2b&&_0x245adc&&_0x31301b[_0x253f92(0x217)]({'targetShapeId':_0x5a6f2b,'source':_0x245adc});}return _0x31301b;}let _0x256f6f=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0xb0523c,_0xa5decd,_0x51037b,_0x49ba84){const _0x1eecb0=_0x718440;super(),this[_0x1eecb0(0x34a)]=_0xb0523c,this[_0x1eecb0(0x3d9)]=_0xa5decd,this['_sheetDrawingService']=_0x51037b,this[_0x1eecb0(0x4cd)]=_0x49ba84,this[_0x1eecb0(0x33c)]();}[_0x718440(0x33c)](){const _0x4e5e55=_0x718440;this[_0x4e5e55(0x503)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x5b9bed=>{const _0x12b38b=_0x4e5e55;if(_0x5b9bed['id']===_0x11447f['RemoveSheetCommand']['id']){let _0x1eaee6=(0x0,_0x11447f[_0x12b38b(0x2d8)])(this[_0x12b38b(0x34a)],_0x5b9bed['params']);if(!_0x1eaee6)return{'redos':[],'undos':[]};let {unitId:_0x53eaa0,subUnitId:_0x5c00ae}=_0x1eaee6,_0x465706=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x53eaa0,_0x5c00ae),_0x32335b=Object[_0x12b38b(0x32c)](_0x465706)['filter'](_0x57015d=>_0x57015d[_0x12b38b(0x37f)]===_0x567e1d[_0x12b38b(0x2f1)]['DRAWING_SHAPE']);if(_0x32335b[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x1e6879=[],_0x4f8aab=[];for(let _0x4b1578=0x0;_0x4b1578<_0x32335b[_0x12b38b(0x212)];_0x4b1578++){let _0x312d3d=_0x32335b[_0x4b1578],_0x40431e=this[_0x12b38b(0x4cd)]['getShapeModel'](_0x312d3d[_0x12b38b(0x45d)],_0x312d3d[_0x12b38b(0x31f)],_0x312d3d[_0x12b38b(0x25d)]);_0x40431e&&(_0x1e6879[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId']}}),_0x4f8aab[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId'],'shapeType':_0x40431e[_0x12b38b(0x43a)](),'shapeData':JSON[_0x12b38b(0x2f8)](JSON[_0x12b38b(0x1ee)](_0x40431e[_0x12b38b(0x1e2)]()))}}));}return{'redos':_0x1e6879,'undos':_0x4f8aab};}if(_0x5b9bed['id']===_0x11447f[_0x12b38b(0x365)]['id']){let {unitId:_0x85916d,subUnitId:_0x439f7e,targetSubUnitId:_0x41e2bf,copyContext:_0x273f21}=_0x5b9bed[_0x12b38b(0x247)];if(!_0x85916d||!_0x439f7e||!_0x41e2bf)return{'redos':[],'undos':[]};let _0x42c41f=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x85916d,_0x439f7e),_0x1671d1=Object[_0x12b38b(0x32c)](_0x42c41f)[_0x12b38b(0x3c1)](_0x5f159d=>_0x5f159d[_0x12b38b(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x12b38b(0x20f)]);if(_0x1671d1[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x6aaf80=_0x2143ad(_0x273f21,_0x1671d1,{'unitId':_0x85916d,'sourceSubUnitId':_0x439f7e,'targetSubUnitId':_0x41e2bf},_0x4578d2=>{const _0x4e2e5b=_0x12b38b;let _0x4c963f=this[_0x4e2e5b(0x4cd)][_0x4e2e5b(0x459)](_0x4578d2['unitId'],_0x4578d2[_0x4e2e5b(0x31f)],_0x4578d2[_0x4e2e5b(0x25d)]);if(_0x4c963f)return{'shapeType':_0x4c963f[_0x4e2e5b(0x43a)](),'shapeData':JSON['parse'](JSON[_0x4e2e5b(0x1ee)](_0x4c963f[_0x4e2e5b(0x1e2)]()))};}),_0x3ea276=[],_0x15bfea=[];for(let {targetShapeId:_0xf73f28,source:_0x227cb1}of _0x6aaf80)_0x3ea276[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28,'shapeType':_0x227cb1[_0x12b38b(0x3d5)],'shapeData':_0x227cb1[_0x12b38b(0x522)]}}),_0x15bfea['push']({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28}});return{'redos':_0x3ea276,'undos':_0x15bfea};}return{'redos':[],'undos':[]};}}));}};_0x256f6f=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x32e)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f['SheetInterceptorService'])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323[_0x718440(0x3ee)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x256f6f);let _0x55730e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x57cfef,_0x2781e6,_0x44de97,_0x3417a1,_0x5c9beb,_0x1f5dc8){const _0x77fd7b=_0x718440;super(),this['_commandService']=_0x57cfef,this[_0x77fd7b(0x57e)]=_0x2781e6,this[_0x77fd7b(0x2a8)]=_0x44de97,this[_0x77fd7b(0x31c)]=_0x3417a1,this[_0x77fd7b(0x2d7)]=_0x5c9beb,this[_0x77fd7b(0x1ab)]=_0x1f5dc8,_0x55cc91(this,_0x77fd7b(0x575),new Set()),this[_0x77fd7b(0x4e4)]();}['_initialize'](){const _0x435f4b=_0x718440;this[_0x435f4b(0x507)](),this[_0x435f4b(0x3e7)](),this[_0x435f4b(0x558)]();}[_0x718440(0x507)](){const _0x3d6bf3=_0x718440;this['disposeWithMe'](this[_0x3d6bf3(0x2a8)][_0x3d6bf3(0x577)][_0x3d6bf3(0x374)](_0x3db9cc=>{const _0x4ea48c=_0x3d6bf3;this[_0x4ea48c(0x2d2)](_0x3db9cc);}));}[_0x718440(0x3e7)](){const _0xa0b407=_0x718440;this['disposeWithMe'](this[_0xa0b407(0x594)][_0xa0b407(0x4c2)]((_0x42a544,_0x3bf7fd)=>{const _0x367c9e=_0xa0b407;if(_0x42a544['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x39ba68,subUnitId:_0x425685,shapeId:_0x4700b1}=_0x42a544[_0x367c9e(0x247)],_0x19cdd0=this[_0x367c9e(0x33e)](_0x39ba68),_0x4295dc=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x39ba68,'subUnitId':_0x425685,'drawingId':_0x4700b1}),_0x49ee53=_0x19cdd0==null?void 0x0:_0x19cdd0['scene'][_0x367c9e(0x566)](_0x4295dc);_0x49ee53&&(this[_0x367c9e(0x1ab)][_0x367c9e(0x432)](_0x49ee53),this['_sheetDrawingShapeRenderController'][_0x367c9e(0x307)](_0x49ee53,{'unitId':_0x39ba68,'subUnitId':_0x425685,'shapeId':_0x4700b1}),_0x49ee53[_0x367c9e(0x3ce)](!0x0));return;}if(_0x42a544['id']===_0x239f56[_0x367c9e(0x2cf)]['id']){var _0x3de617;let {unitId:_0x324346,subUnitId:_0x2ba7e7,shapeId:_0x4ac4dc}=_0x42a544['params'],_0x273a40=this[_0x367c9e(0x33e)](_0x324346);if(_0x273a40==null)return;let {scene:_0x4da251}=_0x273a40,_0x5e2ff1=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}),_0x49f26b=_0x4da251[_0x367c9e(0x566)](_0x5e2ff1);if(!((_0x3de617=this[_0x367c9e(0x57e)]['getRenderUnitById'](_0x324346))!=null&&_0x3de617[_0x367c9e(0x549)](_0x17eed7[_0x367c9e(0x204)])[_0x367c9e(0x50e)](_0x2ba7e7)))return!0x1;if(_0x49f26b)return;if(_0x3bf7fd!=null&&_0x3bf7fd[_0x367c9e(0x390)]){queueMicrotask(()=>{const _0x3e8f56=_0x367c9e;this[_0x3e8f56(0x4d8)]||this[_0x3e8f56(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);});return;}this[_0x367c9e(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);}}));}[_0x718440(0x558)](){const _0x37874e=_0x718440;this[_0x37874e(0x503)](this[_0x37874e(0x2a8)][_0x37874e(0x518)]['subscribe'](_0x3ba16b=>{_0x3ba16b['forEach'](_0x2de913=>{const _0x50af1c=_0x49ca;let {unitId:_0x48971e,subUnitId:_0x509f6f,drawingId:_0x329f95}=_0x2de913,_0x1585ca=this[_0x50af1c(0x2a8)][_0x50af1c(0x37d)](_0x2de913);if(_0x1585ca==null)return;let {transform:_0x3fad89,drawingType:_0x188c47,srcRect:_0x1dc484,prstGeom:_0x756557}=_0x1585ca;if(_0x188c47!==_0x567e1d[_0x50af1c(0x2f1)][_0x50af1c(0x20f)])return;let _0xc54c23=this['_getSceneAndTransformerByDrawingSearch'](_0x48971e);if(_0xc54c23==null)return;let {scene:_0x4d8aaf,transformer:_0x500a56}=_0xc54c23;if(_0x3fad89==null)return!0x0;let _0x31446d=(0x0,_0x36b4c7[_0x50af1c(0x56c)])({'unitId':_0x48971e,'subUnitId':_0x509f6f,'drawingId':_0x329f95}),_0x457774=_0x4d8aaf[_0x50af1c(0x566)](_0x31446d);if(_0x457774==null)return!0x0;_0x457774[_0x50af1c(0x3ba)](_0x1dc484),_0x457774[_0x50af1c(0x2ce)](_0x756557);});}));}[_0x718440(0x2d2)](_0xac3d25){const _0x1f6c3a=_0x718440;for(let _0x153b8b of _0xac3d25){var _0x4944ca;let {unitId:_0x13fbb5,subUnitId:_0xd56239,drawingId:_0x1918ab}=_0x153b8b,_0xf59a0f=this[_0x1f6c3a(0x33e)](_0x13fbb5),_0x43f9ea=(_0x4944ca=(0x0,_0x44d5e4[_0x1f6c3a(0x4f4)])(this['_currentUniverService'],_0x13fbb5))==null?void 0x0:_0x4944ca[_0x1f6c3a(0x31f)];if(_0xf59a0f==null||_0x43f9ea!==_0xd56239)return;let _0x44e89b=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x13fbb5,'subUnitId':_0xd56239,'drawingId':_0x1918ab});if(this[_0x1f6c3a(0x575)]['has'](_0x44e89b)||_0xf59a0f[_0x1f6c3a(0x53c)][_0x1f6c3a(0x566)](_0x44e89b)!=null)return;let _0x3741e3=this[_0x1f6c3a(0x2a8)]['getDrawingByParam'](_0x153b8b);if(_0x3741e3==null||_0x3741e3['drawingType']!==_0x567e1d[_0x1f6c3a(0x2f1)]['DRAWING_SHAPE'])return;let _0x2d327c=_0x3741e3['data']||{};if((0x0,_0x34f551[_0x1f6c3a(0x22d)])(_0x2d327c[_0x1f6c3a(0x3d5)])){let _0x389690=_0x3741e3[_0x1f6c3a(0x4c7)];_0x389690&&(_0x3741e3[_0x1f6c3a(0x4c7)]={..._0x389690,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x1f6c3a(0x575)]['add'](_0x44e89b);try{this['_sheetDrawingShapeRenderController'][_0x1f6c3a(0x2a0)](_0x3741e3,_0xf59a0f[_0x1f6c3a(0x53c)]);}finally{this['_insertingShapeKeys'][_0x1f6c3a(0x1c5)](_0x44e89b);}queueMicrotask(()=>{const _0x2ce21c=_0x1f6c3a;if(this[_0x2ce21c(0x4d8)])return;let _0x17f995=(0x0,_0x36b4c7[_0x2ce21c(0x56c)])(_0x153b8b);if(!_0xf59a0f[_0x2ce21c(0x53c)]['getObjectIncludeInGroup'](_0x17f995))return;let _0x16bcb4=this['_drawingManagerService']['getDrawingByParam'](_0x153b8b);_0x16bcb4&&this['_drawingManagerService']['refreshTransform']([_0x16bcb4]);});}}[_0x718440(0x33e)](_0x44151b){const _0x17301e=_0x718440;if(_0x44151b==null)return;let _0x2044fc=this[_0x17301e(0x57e)]['getRenderUnitById'](_0x44151b),_0x277864=_0x2044fc==null?void 0x0:_0x2044fc[_0x17301e(0x53c)];return _0x277864==null?null:{'scene':_0x277864,'transformer':_0x277864[_0x17301e(0x202)]()};}};_0x55730e=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x1,_0x3e5eae['IRenderManagerService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x2f0)])),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x29d254))],_0x55730e);let _0x46de3a={'normal':{'fill':_0x34f551[_0x718440(0x526)][_0x718440(0x4f3)],'stroke':_0x34f551[_0x718440(0x526)][_0x718440(0x260)],'strokeWidth':_0x34f551[_0x718440(0x526)][_0x718440(0x273)]},'highlighted':{'fill':_0x718440(0x25f),'stroke':_0x718440(0x4a7),'strokeWidth':0x2}};var _0x564523=class extends _0x3e5eae['Shape']{constructor(_0x6508af,_0x25cde1){const _0x29d7d6=_0x718440;super(_0x6508af,_0x25cde1),_0x55cc91(this,_0x29d7d6(0x506),''),_0x55cc91(this,_0x29d7d6(0x334),-0x1),_0x55cc91(this,'_unitId',''),_0x55cc91(this,_0x29d7d6(0x545),''),_0x55cc91(this,_0x29d7d6(0x42f),!0x1),_0x25cde1&&this['setShapeProps'](_0x25cde1);}['getConnectionInfo'](){const _0x3cf5d7=_0x718440;return{'unitId':this[_0x3cf5d7(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x3cf5d7(0x334)]};}[_0x718440(0x3d8)](_0x1997be){const _0x4077f9=_0x718440;this[_0x4077f9(0x42f)]!==_0x1997be&&(this[_0x4077f9(0x42f)]=_0x1997be,this[_0x4077f9(0x3ce)](!0x0));}[_0x718440(0x50d)](){return this['_isHighlighted'];}['setShapeProps'](_0x290606){const _0x3d1be8=_0x718440;_0x290606[_0x3d1be8(0x27f)]!==void 0x0&&(this['_targetShapeId']=_0x290606['targetShapeId']),_0x290606[_0x3d1be8(0x2e1)]!==void 0x0&&(this[_0x3d1be8(0x334)]=_0x290606['cxnIndex']),_0x290606[_0x3d1be8(0x45d)]!==void 0x0&&(this[_0x3d1be8(0x527)]=_0x290606[_0x3d1be8(0x45d)]),_0x290606[_0x3d1be8(0x31f)]!==void 0x0&&(this['_subUnitId']=_0x290606[_0x3d1be8(0x31f)]),_0x290606[_0x3d1be8(0x50d)]!==void 0x0&&(this[_0x3d1be8(0x42f)]=_0x290606[_0x3d1be8(0x50d)]),this[_0x3d1be8(0x2d4)]({'width':_0x290606[_0x3d1be8(0x3d1)]??_0x34f551[_0x3d1be8(0x526)]['cxnPointRadius']*0x2,'height':_0x290606['height']??_0x34f551[_0x3d1be8(0x526)][_0x3d1be8(0x41d)]*0x2});}[_0x718440(0x250)](_0xe13f3a){const _0x1663ef=_0x718440;let _0x46b7aa=this[_0x1663ef(0x42f)]?_0x46de3a['highlighted']:_0x46de3a[_0x1663ef(0x4ce)];_0x3e5eae[_0x1663ef(0x233)][_0x1663ef(0x578)](_0xe13f3a,{'radius':_0x34f551[_0x1663ef(0x526)][_0x1663ef(0x41d)],'fill':_0x46b7aa[_0x1663ef(0x3a0)],'stroke':_0x46b7aa['stroke'],'strokeWidth':_0x46b7aa['strokeWidth'],'evented':!0x0});}};let _0x39d55c=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x42bdbf,_0x4ecf48,_0x2d8b84,_0x179ed5){const _0x52b899=_0x718440;super(),this[_0x52b899(0x2f6)]=_0x42bdbf,this['_renderManagerService']=_0x4ecf48,this['_drawingManagerService']=_0x2d8b84,this[_0x52b899(0x4cd)]=_0x179ed5,_0x55cc91(this,_0x52b899(0x1f4),[]),_0x55cc91(this,_0x52b899(0x544),null),_0x55cc91(this,_0x52b899(0x373),-0x1),_0x55cc91(this,_0x52b899(0x1ad),null),_0x55cc91(this,_0x52b899(0x527),''),_0x55cc91(this,_0x52b899(0x545),''),_0x55cc91(this,_0x52b899(0x3cd),null);}[_0x718440(0x3e9)](_0x52b572,_0x6e35a9,_0x9365b7,_0x20d365){const _0x2953c5=_0x718440;this[_0x2953c5(0x1ad)]=_0x52b572,this[_0x2953c5(0x527)]=_0x6e35a9,this[_0x2953c5(0x545)]=_0x9365b7,this['_draggingConnectorId']=_0x20d365;}[_0x718440(0x54f)](_0x352641){const _0x5ec69a=_0x718440;if(!this['_currentScene'])return null;let _0x4002c9=this['_findShapeAtPoint'](_0x352641);return _0x4002c9?(this[_0x5ec69a(0x544)]!==_0x4002c9['shapeId']&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x2f7)](_0x4002c9[_0x5ec69a(0x1fd)],_0x4002c9[_0x5ec69a(0x3e0)]),this[_0x5ec69a(0x544)]=_0x4002c9[_0x5ec69a(0x1fd)]),this[_0x5ec69a(0x21b)](_0x352641)):(this[_0x5ec69a(0x544)]!==null&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x544)]=null),null);}[_0x718440(0x346)](){const _0x14b845=_0x718440;this[_0x14b845(0x581)](),this['_currentScene']=null,this[_0x14b845(0x544)]=null,this[_0x14b845(0x373)]=-0x1,this[_0x14b845(0x3cd)]=null;}['getConnectionRelation'](){const _0xf27d91=_0x718440;return this['_activeTargetShapeId']===null||this[_0xf27d91(0x373)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0xf27d91(0x373)]};}[_0x718440(0x3dc)](_0x3c9e73){const _0x2032fe=_0x718440;let _0x4d07ad=this['_drawingManagerService'][_0x2032fe(0x46f)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)]);for(let _0x210e6 of Object[_0x2032fe(0x337)](_0x4d07ad)){if(_0x210e6===this['_draggingConnectorId']||_0x4d07ad[_0x210e6][_0x2032fe(0x37f)]!==_0x567e1d[_0x2032fe(0x2f1)][_0x2032fe(0x20f)])continue;let _0x5b6557=this['_sheetsShapeService'][_0x2032fe(0x459)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)],_0x210e6);if(!_0x5b6557||(0x0,_0x34f551[_0x2032fe(0x22d)])(_0x5b6557[_0x2032fe(0x43a)]())||_0x5b6557[_0x2032fe(0x4af)]()['length']===0x0||!this[_0x2032fe(0x1ad)])continue;let _0x55d597=(0x0,_0x36b4c7[_0x2032fe(0x56c)])({'unitId':this[_0x2032fe(0x527)],'subUnitId':this[_0x2032fe(0x545)],'drawingId':_0x210e6}),_0x3922e8=this[_0x2032fe(0x1ad)][_0x2032fe(0x566)](_0x55d597);if(!_0x3922e8)continue;let {left:_0x190e6c,top:_0x22e0a3,width:_0x50d177,height:_0x3168ba}=_0x3922e8[_0x2032fe(0x2e7)](),_0x2b88ef=_0x190e6c+_0x50d177/0x2,_0x14f258=_0x22e0a3+_0x3168ba/0x2,_0x9650b8=_0x3922e8[_0x2032fe(0x4c7)][_0x2032fe(0x278)](),_0x2afd4a=new _0x3e5eae[(_0x2032fe(0x218))]([_0x9650b8[0x0],_0x9650b8[0x1],_0x9650b8[0x2],_0x9650b8[0x3],_0x2b88ef,_0x14f258]),_0x6ad1d5=_0x3922e8[_0x2032fe(0x4b6)](),_0x210c3c=(_0x3922e8[_0x2032fe(0x4f9)]&&(_0x6ad1d5==null?void 0x0:_0x6ad1d5[_0x2032fe(0x2be)])===_0x3e5eae['RENDER_CLASS_TYPE'][_0x2032fe(0x290)]?_0x6ad1d5[_0x2032fe(0x524)][_0x2032fe(0x4e3)](_0x2afd4a):_0x2afd4a)[_0x2032fe(0x404)]()[_0x2032fe(0x2a2)](_0x3c9e73),_0x27c107=_0x50d177/0x2,_0x58cc90=_0x3168ba/0x2;if(_0x210c3c['x']>=-_0x27c107-0x5&&_0x210c3c['x']<=_0x27c107+0x5&&_0x210c3c['y']>=-_0x58cc90-0x5&&_0x210c3c['y']<=_0x58cc90+0x5)return{'shapeId':_0x210e6,'shapeModel':_0x5b6557};}return null;}[_0x718440(0x2f7)](_0x3edee3,_0x33da99){const _0x5ad554=_0x718440;if(!this[_0x5ad554(0x1ad)])return;let _0x235e02=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'drawingId':_0x3edee3}),_0x291f25=this['_currentScene'][_0x5ad554(0x566)](_0x235e02);if(!_0x291f25)return;let {left:_0x30e946,top:_0x26e18d,width:_0x31dd2a,height:_0x2fad70}=_0x291f25[_0x5ad554(0x2e7)](),_0x4ca327=_0x30e946+_0x31dd2a/0x2,_0x3a4bcb=_0x26e18d+_0x2fad70/0x2,_0x59210a=_0x291f25[_0x5ad554(0x4c7)][_0x5ad554(0x278)](),_0x1a9e8c=new _0x3e5eae[(_0x5ad554(0x218))]([_0x59210a[0x0],_0x59210a[0x1],_0x59210a[0x2],_0x59210a[0x3],_0x4ca327,_0x3a4bcb]),_0x46c0d9=_0x291f25[_0x5ad554(0x4b6)](),_0x394e10=_0x291f25[_0x5ad554(0x4f9)]&&(_0x46c0d9==null?void 0x0:_0x46c0d9[_0x5ad554(0x2be)])===_0x3e5eae[_0x5ad554(0x281)]['GROUP']?_0x46c0d9[_0x5ad554(0x524)][_0x5ad554(0x4e3)](_0x1a9e8c):_0x1a9e8c;_0x33da99[_0x5ad554(0x1bc)]({'width':_0x31dd2a,'height':_0x2fad70});let _0x57ca5c=_0x33da99['getConnectionSiteList']();for(let _0x4e863f of _0x57ca5c){let _0x4a6b95=_0x4e863f['x']-_0x31dd2a/0x2,_0x3b2702=_0x4e863f['y']-_0x2fad70/0x2,_0x14d865=_0x394e10[_0x5ad554(0x2a2)]({'x':_0x4a6b95,'y':_0x3b2702}),_0x320858=_0x14d865['x'],_0x48d816=_0x14d865['y'],_0x4b2775=new _0x564523(_0x5ad554(0x3f8)+_0x3edee3+'-'+_0x4e863f[_0x5ad554(0x3ad)],{'left':_0x320858-_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)],'top':_0x48d816-_0x34f551[_0x5ad554(0x526)]['cxnPointRadius'],'targetShapeId':_0x3edee3,'cxnIndex':_0x4e863f[_0x5ad554(0x3ad)],'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'width':_0x34f551[_0x5ad554(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x5ad554(0x533)]+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5ad554(0x217)](_0x4b2775),this[_0x5ad554(0x1ad)][_0x5ad554(0x1f1)](_0x4b2775,_0x3e5eae[_0x5ad554(0x533)]+0x2);}}['_findNearestConnectionSite'](_0x2102fd){const _0x4f5f67=_0x718440;let _0x29edc4=null,_0x283d67=0x1/0x0,_0x3b01f7=null;for(let _0x52b763 of this['_connectionSiteObjects']){let _0x2395f6=_0x52b763[_0x4f5f67(0x242)]+_0x34f551[_0x4f5f67(0x526)][_0x4f5f67(0x41d)],_0x257c57=_0x52b763[_0x4f5f67(0x4b1)]+_0x34f551['ShapeDefaultConfig'][_0x4f5f67(0x41d)],_0x13c2c0=_0x2102fd['x']-_0x2395f6,_0x1fee65=_0x2102fd['y']-_0x257c57,_0x14a14d=Math['sqrt'](_0x13c2c0*_0x13c2c0+_0x1fee65*_0x1fee65);_0x14a14d<_0x283d67&&(_0x283d67=_0x14a14d,_0x29edc4=_0x52b763,_0x3b01f7={'x':_0x2395f6,'y':_0x257c57});}let _0x155b09=_0x283d67<=0xa&&_0x29edc4?_0x29edc4[_0x4f5f67(0x57c)]()[_0x4f5f67(0x2e1)]:-0x1;if(_0x155b09!==this[_0x4f5f67(0x373)]){for(let _0x52155f of this[_0x4f5f67(0x1f4)]){let _0x204a39=_0x52155f[_0x4f5f67(0x57c)]();_0x52155f[_0x4f5f67(0x3d8)](_0x204a39[_0x4f5f67(0x2e1)]===_0x155b09);}this[_0x4f5f67(0x373)]=_0x155b09;}if(_0x283d67<=0xa&&_0x29edc4&&_0x3b01f7){let _0x273d3d=_0x29edc4['getConnectionInfo'](),_0x1e5211=this[_0x4f5f67(0x1b7)](_0x273d3d[_0x4f5f67(0x1fd)],_0x273d3d[_0x4f5f67(0x2e1)]);return{'shapeId':_0x273d3d[_0x4f5f67(0x1fd)],'cxnIndex':_0x273d3d['cxnIndex'],'unitId':_0x273d3d[_0x4f5f67(0x45d)],'subUnitId':_0x273d3d[_0x4f5f67(0x31f)],'worldPoint':_0x3b01f7,'angle':_0x1e5211};}return null;}[_0x718440(0x1b7)](_0x15c08c,_0xdc4e44){const _0x13ea68=_0x718440;let _0x530ef7=this[_0x13ea68(0x4cd)][_0x13ea68(0x459)](this['_unitId'],this['_subUnitId'],_0x15c08c);if(!_0x530ef7)return 0x0;let _0x396bec=this[_0x13ea68(0x2a8)][_0x13ea68(0x37d)]({'unitId':this[_0x13ea68(0x527)],'subUnitId':this[_0x13ea68(0x545)],'drawingId':_0x15c08c});if(!(_0x396bec!=null&&_0x396bec[_0x13ea68(0x4c7)]))return 0x0;let {width:_0x520e9d=0x0,height:_0x4bd951=0x0,flipX:_0x27017b=!0x1,flipY:_0x4573d5=!0x1}=_0x396bec['transform'];_0x530ef7[_0x13ea68(0x1bc)]({'width':_0x520e9d,'height':_0x4bd951});let _0x8b833=_0x530ef7[_0x13ea68(0x4af)]()['find'](_0x5af804=>_0x5af804[_0x13ea68(0x3ad)]===_0xdc4e44);if(!_0x8b833)return 0x0;let _0x11ceff=_0x8b833['ang']/0xea60;return _0x27017b&&(_0x11ceff=0xb4-_0x11ceff),_0x4573d5&&(_0x11ceff=-_0x11ceff),_0x11ceff=(_0x11ceff%0x168+0x168)%0x168,_0x11ceff;}[_0x718440(0x581)](){const _0x41a953=_0x718440;for(let _0x36bf60 of this['_connectionSiteObjects'])_0x36bf60[_0x41a953(0x4dd)]();this[_0x41a953(0x1f4)]=[],this[_0x41a953(0x373)]=-0x1;}[_0x718440(0x4dd)](){const _0x20d617=_0x718440;this[_0x20d617(0x581)](),super[_0x20d617(0x4dd)]();}};_0x39d55c=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7['IDrawingManagerService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x39d55c);let _0x19fd0d=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x131d70,_0x3b1f53,_0x19eff8,_0x4f1cc4,_0x454c62){const _0x4bfcb6=_0x718440;super(),this['_sheetSkeletonService']=_0x131d70,this[_0x4bfcb6(0x51f)]=_0x3b1f53,this[_0x4bfcb6(0x539)]=_0x19eff8,this[_0x4bfcb6(0x1fe)]=_0x4f1cc4,this[_0x4bfcb6(0x498)]=_0x454c62,_0x55cc91(this,_0x4bfcb6(0x36e),void 0x0),this['_initCopyPaste'](),this[_0x4bfcb6(0x56b)]();}get[_0x718440(0x431)](){const _0x47bd9c=_0x718440;return this[_0x47bd9c(0x539)]['getFocusDrawings']();}[_0x718440(0x56b)](){const _0xfd2d52=_0x718440;this[_0xfd2d52(0x498)]['registerFeaturePasteHook'](({fromUnitId:_0x324aed,fromSubUnitId:_0x3b1c59,toUnitId:_0xa02c03,toSubUnitId:_0x188780,idMap:_0x2b9160})=>{const _0x4af2f7=_0xfd2d52;let _0x1c36f7=[],_0x2c0ea5=[];for(let [_0x5b993d,_0xe81d4b]of _0x2b9160[_0x4af2f7(0x1f9)]()){let _0xe05b0f=this['_shapeService'][_0x4af2f7(0x459)](_0x324aed,_0x3b1c59,_0x5b993d);if(!_0xe05b0f)continue;let _0xa59f8e=_0xe05b0f['getShapeType'](),_0x273357=JSON[_0x4af2f7(0x2f8)](JSON[_0x4af2f7(0x1ee)](_0xe05b0f[_0x4af2f7(0x1e2)]()));if(_0x273357['relation']){var _0x20bb60,_0x5ba594;let _0x58fd8d=(_0x20bb60=_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)])==null?void 0x0:_0x20bb60[_0x4af2f7(0x1fd)],_0x4978df=(_0x5ba594=_0x273357[_0x4af2f7(0x1f7)]['to'])==null?void 0x0:_0x5ba594[_0x4af2f7(0x1fd)],_0x53277c=!_0x58fd8d||_0x2b9160['has'](_0x58fd8d),_0x236a97=!_0x4978df||_0x2b9160[_0x4af2f7(0x40d)](_0x4978df);_0x53277c&&_0x58fd8d&&_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)]?_0x273357[_0x4af2f7(0x1f7)]['from']={..._0x273357['relation'][_0x4af2f7(0x47c)],'shapeId':_0x2b9160['get'](_0x58fd8d)}:_0x273357['relation'][_0x4af2f7(0x47c)]=void 0x0,_0x236a97&&_0x4978df&&_0x273357['relation']['to']?_0x273357[_0x4af2f7(0x1f7)]['to']={..._0x273357['relation']['to'],'shapeId':_0x2b9160[_0x4af2f7(0x39f)](_0x4978df)}:_0x273357[_0x4af2f7(0x1f7)]['to']=void 0x0;}_0x1c36f7[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x2cf)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b,'shapeType':_0xa59f8e,'shapeData':_0x273357}}),_0x2c0ea5[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x4ea)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b}});}return{'redos':_0x1c36f7,'undos':_0x2c0ea5};});}['_initCopyPaste'](){const _0x167e52=_0x718440;this[_0x167e52(0x503)](this[_0x167e52(0x51f)][_0x167e52(0x42c)]({'id':_0x167e52(0x2ed),'onBeforeCopyFocusedObject':(_0x30fb80,_0x4fecf1,_0x422b03)=>{const _0x3649f4=_0x167e52;this[_0x3649f4(0x36e)]=null;let _0x2cd14f=this[_0x3649f4(0x431)][_0x3649f4(0x3c1)](_0x39a81c=>_0x39a81c[_0x3649f4(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x3649f4(0x20f)]);return _0x2cd14f[_0x3649f4(0x212)]!==0x0&&(this[_0x3649f4(0x36e)]={'unitId':_0x30fb80,'subUnitId':_0x4fecf1,'copyType':_0x422b03,'drawings':_0x2cd14f},!0x0);},'onBeforeCopy':(_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f)=>{const _0x55bf2c=_0x167e52;this[_0x55bf2c(0x36e)]=null,this[_0x55bf2c(0x20c)](_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f);},'onPasteCells':(_0x58dda0,_0x4e382b,_0x8575ef,_0x142f7a)=>{const _0x2030e6=_0x167e52;if(!_0x142f7a[_0x2030e6(0x2d6)]||!_0x58dda0||!this[_0x2030e6(0x36e)])return{'redos':[],'undos':[]};let {pasteType:_0x1a04f5}=_0x142f7a;return _0x1a04f5===_0x17eed7[_0x2030e6(0x1c8)][_0x2030e6(0x272)]?this[_0x2030e6(0x325)](_0x4e382b,this[_0x2030e6(0x36e)][_0x2030e6(0x517)]===_0x17eed7[_0x2030e6(0x39b)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x718440(0x20c)](_0x54389e,_0x3a852e,_0x3dde9f,_0x50612c){const _0x34cabc=_0x718440;let _0x129976=this[_0x34cabc(0x2aa)][_0x34cabc(0x50e)](_0x54389e,_0x3a852e);if(!_0x129976)return;let _0xaf5ea=(0x0,_0x11447f[_0x34cabc(0x4a9)])(_0x129976,_0x3dde9f);if(!_0xaf5ea)return;let {startX:_0x2b39f2,endX:_0x440fa6,startY:_0x284c6d,endY:_0x1e5d42}=_0xaf5ea,_0x579c3b=this[_0x34cabc(0x539)][_0x34cabc(0x46f)](_0x54389e,_0x3a852e),_0x137990=[];for(let [_0x418561,_0x22910e]of Object[_0x34cabc(0x1f9)](_0x579c3b)){if(_0x22910e[_0x34cabc(0x37f)]!==_0x567e1d[_0x34cabc(0x2f1)]['DRAWING_SHAPE'])continue;let {transform:_0x38b585}=_0x22910e;if(!_0x38b585)continue;let {left:_0x35c6d6=0x0,top:_0x3eb2d0=0x0,width:_0x2d1d1c=0x0,height:_0x54c05b=0x0}=_0x38b585;_0x2b39f2<=_0x35c6d6&&_0x440fa6>=_0x35c6d6+_0x2d1d1c&&_0x284c6d<=_0x3eb2d0&&_0x1e5d42>=_0x3eb2d0+_0x54c05b&&_0x137990[_0x34cabc(0x217)](_0x22910e);}_0x137990['length']>0x0&&(this[_0x34cabc(0x36e)]={'unitId':_0x54389e,'subUnitId':_0x3a852e,'copyType':_0x50612c,'copyRange':_0x3dde9f,'drawings':_0x137990});}['_generatePasteMutations'](_0xd7fd,_0x58e5f7){const _0x51a74c=_0x718440;let {unitId:_0x4ef1b9,subUnitId:_0x25c88c,range:_0x27b73c}=_0xd7fd,_0x3de53a=this[_0x51a74c(0x2aa)]['getSkeleton'](_0x4ef1b9,_0x25c88c);if(!_0x3de53a)return{'redos':[],'undos':[]};let _0x3eb854=(0x0,_0x11447f[_0x51a74c(0x4d3)])(_0x27b73c),{unitId:_0x1ea1f7,subUnitId:_0x58a177,copyRange:_0x487332,drawings:_0x441a61}=this[_0x51a74c(0x36e)],_0x3f1030=this['_sheetSkeletonService'][_0x51a74c(0x50e)](_0x1ea1f7,_0x58a177);if(!_0x3f1030)return{'redos':[],'undos':[]};let _0x3c5872;if(!_0x487332){let _0x2ef3a9=0x1/0x0,_0x4a9c3d=0x1/0x0;for(let _0x172ed2 of _0x441a61){let {left:_0x2353d6=0x0,top:_0x4b3aab=0x0}=_0x172ed2[_0x51a74c(0x4c7)]??{};_0x2353d6<_0x2ef3a9&&(_0x2ef3a9=_0x2353d6),_0x4b3aab<_0x4a9c3d&&(_0x4a9c3d=_0x4b3aab);}_0x2ef3a9!==0x1/0x0&&_0x4a9c3d!==0x1/0x0&&(_0x3c5872={'left':_0x2ef3a9,'top':_0x4a9c3d});}let _0x38b640=new Map();if(!_0x58e5f7){for(let _0x3886b3 of _0x441a61)_0x38b640[_0x51a74c(0x327)](_0x3886b3[_0x51a74c(0x25d)],(0x0,_0x567e1d[_0x51a74c(0x368)])());}let _0x426e06=[],_0x3e0253=[];for(let _0x333fbc of _0x441a61){let {drawingId:_0x516c6b,transform:_0x37dbcf,sheetTransform:_0x195052}=_0x333fbc;if(!_0x37dbcf||!_0x195052)continue;let _0xe723ff=this['_updateTransform']({'transform':_0x37dbcf,'sheetTransform':_0x195052},{'skeleton':_0x3f1030,'range':_0x487332},{'skeleton':_0x3de53a,'range':_0x3eb854},_0x3c5872);if(_0x58e5f7){let {redos:_0x2a4b1d,undos:_0x21a791}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ea1f7,'fromSubUnitId':_0x58a177,'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff});_0x426e06[_0x51a74c(0x217)](..._0x2a4b1d),_0x3e0253[_0x51a74c(0x217)](..._0x21a791);continue;}let {redos:_0x2b9812,undos:_0x2b39fd}=this['_generateCopyPasteMutations']({'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff,'newDrawingId':_0x38b640[_0x51a74c(0x39f)](_0x516c6b),'idMap':_0x38b640});_0x426e06[_0x51a74c(0x217)](..._0x2b9812),_0x3e0253[_0x51a74c(0x217)](..._0x2b39fd);}return{'redos':_0x426e06,'undos':_0x3e0253};}[_0x718440(0x36b)](_0x39bf5e){const _0x48cf9b=_0x718440;let {fromUnitId:_0x53f3f4,fromSubUnitId:_0x336a62,toUnitId:_0x3f7bfb,toSubUnitId:_0x11cc13,drawing:_0x4da2c5,newTransforms:_0x3baf17}=_0x39bf5e,_0x1e9a47={..._0x4da2c5,'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'transform':_0x3baf17['transform'],'sheetTransform':_0x3baf17[_0x48cf9b(0x513)]};if(_0x3f7bfb===_0x53f3f4&&_0x11cc13===_0x336a62){let {redo:_0x218859,undo:_0x10c442,objects:_0x17fd28}=this[_0x48cf9b(0x539)][_0x48cf9b(0x501)]([_0x1e9a47]);return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x218859,'objects':_0x17fd28}}],'undos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x10c442,'objects':_0x17fd28}}]};}{let _0x509083=this[_0x48cf9b(0x539)][_0x48cf9b(0x3ed)]([_0x4da2c5]),_0x4843e0=this[_0x48cf9b(0x539)][_0x48cf9b(0x54a)]([_0x1e9a47]),_0x1db6b3=this[_0x48cf9b(0x1fe)][_0x48cf9b(0x459)](_0x4da2c5[_0x48cf9b(0x45d)],_0x4da2c5[_0x48cf9b(0x31f)],_0x4da2c5[_0x48cf9b(0x25d)]);if(!_0x1db6b3)return{'redos':[],'undos':[]};let _0x4050cc=_0x1db6b3[_0x48cf9b(0x43a)](),_0x39bf39=JSON[_0x48cf9b(0x2f8)](JSON[_0x48cf9b(0x1ee)](_0x1db6b3['getShapeData']()));return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x509083[_0x48cf9b(0x298)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323['DrawingApplyType'][_0x48cf9b(0x29b)],'op':_0x4843e0[_0x48cf9b(0x298)],'objects':_0x4843e0[_0x48cf9b(0x4cc)]}},{'id':_0x239f56['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}}],'undos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x29b)],'op':_0x509083[_0x48cf9b(0x1fc)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x2cf)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x4843e0[_0x48cf9b(0x1fc)],'objects':_0x4843e0['objects']}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}}]};}}['_generateCopyPasteMutations'](_0x46927a){const _0x27d564=_0x718440;let {toUnitId:_0x285a07,toSubUnitId:_0x1dbce7,drawing:_0x2e7398,newTransforms:_0x60448a,newDrawingId:_0x3e18f0,idMap:_0x4b9681}=_0x46927a,_0x13315b={..._0x2e7398,'unitId':_0x285a07,'subUnitId':_0x1dbce7,'drawingId':_0x3e18f0,'transform':_0x60448a[_0x27d564(0x4c7)],'sheetTransform':_0x60448a['sheetTransform']},{redo:_0x37c56e,undo:_0x1797bb,objects:_0x2ad823}=this['_sheetDrawingService'][_0x27d564(0x54a)]([_0x13315b]),_0x27393c=this[_0x27d564(0x1fe)]['getShapeModel'](_0x2e7398[_0x27d564(0x45d)],_0x2e7398[_0x27d564(0x31f)],_0x2e7398[_0x27d564(0x25d)]);if(!_0x27393c)return{'redos':[],'undos':[]};let _0x50fcff=_0x27393c[_0x27d564(0x43a)](),_0x322354=JSON[_0x27d564(0x2f8)](JSON['stringify'](_0x27393c[_0x27d564(0x1e2)]()));if(_0x322354[_0x27d564(0x1f7)]){var _0x894a89,_0x19913c;let _0x4ec188=(_0x894a89=_0x322354['relation']['from'])==null?void 0x0:_0x894a89[_0x27d564(0x1fd)],_0x1c24bb=(_0x19913c=_0x322354[_0x27d564(0x1f7)]['to'])==null?void 0x0:_0x19913c[_0x27d564(0x1fd)],_0x19f571=!_0x4ec188||_0x4b9681[_0x27d564(0x40d)](_0x4ec188),_0x5b6c88=!_0x1c24bb||_0x4b9681['has'](_0x1c24bb);_0x19f571&&_0x4ec188&&_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]?_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]={..._0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x4ec188)}:_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]=void 0x0,_0x5b6c88&&_0x1c24bb&&_0x322354['relation']['to']?_0x322354['relation']['to']={..._0x322354[_0x27d564(0x1f7)]['to'],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x1c24bb)}:_0x322354['relation']['to']=void 0x0;}return{'redos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323[_0x27d564(0x58b)][_0x27d564(0x29b)],'op':_0x37c56e,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x2cf)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0,'shapeType':_0x50fcff,'shapeData':_0x322354}}],'undos':[{'id':_0x1f8323[_0x27d564(0x1ec)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323['DrawingApplyType']['REMOVE'],'op':_0x1797bb,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x4ea)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0}}]};}[_0x718440(0x3ea)](_0x48de01,_0x24bb0c,_0xf8fea9,_0x3b10a0){const _0x211f22=_0x718440;let {range:_0x5a46b3,skeleton:_0x4c5848}=_0x24bb0c,{range:_0x41343a,skeleton:_0x377bbf}=_0xf8fea9,{transform:_0x32359f,sheetTransform:_0x2aa49d}=_0x48de01,_0x550a62={..._0x32359f};if(_0x5a46b3){let _0x4b2a30=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x4c5848,_0x5a46b3),_0x2d59e3=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x4b2a30&&_0x2d59e3){let _0x52614d=_0x2d59e3[_0x211f22(0x3dd)]-_0x4b2a30['startX'],_0x52a223=_0x2d59e3[_0x211f22(0x42e)]-_0x4b2a30[_0x211f22(0x42e)];_0x550a62['left']=(_0x550a62[_0x211f22(0x242)]??0x0)+_0x52614d,_0x550a62[_0x211f22(0x4b1)]=(_0x550a62[_0x211f22(0x4b1)]??0x0)+_0x52a223;}}else{let _0x26c9a8=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x3b10a0&&_0x26c9a8){let _0x4ff7b1=(_0x550a62[_0x211f22(0x242)]??0x0)-_0x3b10a0['left'],_0x2b5473=(_0x550a62[_0x211f22(0x4b1)]??0x0)-_0x3b10a0[_0x211f22(0x4b1)];_0x550a62[_0x211f22(0x242)]=_0x26c9a8[_0x211f22(0x3dd)]+_0x4ff7b1,_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8['startY']+_0x2b5473;}else _0x550a62['left']=_0x26c9a8==null?void 0x0:_0x26c9a8[_0x211f22(0x3dd)],_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8==null?void 0x0:_0x26c9a8['startY'];}return{'transform':_0x550a62,'sheetTransform':(0x0,_0x1f8323[_0x211f22(0x473)])(_0x550a62,_0x377bbf)??_0x2aa49d};}};_0x19fd0d=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x58c)])),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x3ca)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323['ISheetDrawingService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x2ea516[_0x718440(0x33d)]))],_0x19fd0d);var _0x375908=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x46e31f,_0x56a7df){const _0x43b919=_0x718440;super(_0x46e31f,_0x56a7df),_0x55cc91(this,'_shapeId',null),_0x55cc91(this,_0x43b919(0x4c0),null),_0x55cc91(this,'_unitId',null),_0x55cc91(this,_0x43b919(0x545),null),_0x55cc91(this,_0x43b919(0x2fb),!0x1),_0x56a7df&&this[_0x43b919(0x520)](_0x56a7df);}[_0x718440(0x440)](){const _0x1a18a2=_0x718440;return{'unitId':this[_0x1a18a2(0x527)],'subUnitId':this[_0x1a18a2(0x545)],'drawingId':this[_0x1a18a2(0x314)]};}['setShapeProps'](_0x2964e5){const _0x2d2b36=_0x718440;_0x2964e5['shapeId']!==void 0x0&&(this[_0x2d2b36(0x314)]=_0x2964e5[_0x2d2b36(0x1fd)]),_0x2964e5['unitId']!==void 0x0&&(this[_0x2d2b36(0x527)]=_0x2964e5[_0x2d2b36(0x45d)]),_0x2964e5[_0x2d2b36(0x31f)]!==void 0x0&&(this[_0x2d2b36(0x545)]=_0x2964e5[_0x2d2b36(0x31f)]),_0x2964e5[_0x2d2b36(0x43e)]!==void 0x0&&(this[_0x2d2b36(0x2fb)]=_0x2964e5['isStartConnectorPoint']),this[_0x2d2b36(0x2d4)]({'width':_0x2964e5['width'],'height':_0x2964e5[_0x2d2b36(0x1ef)]});}[_0x718440(0x250)](_0x3ff718){const _0x57d181=_0x718440;_0x3e5eae['Circle'][_0x57d181(0x578)](_0x3ff718,{'radius':_0x34f551['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x34f551[_0x57d181(0x526)][_0x57d181(0x4f3)],'stroke':_0x34f551[_0x57d181(0x526)][_0x57d181(0x260)],'strokeWidth':_0x34f551[_0x57d181(0x526)][_0x57d181(0x273)],'evented':!0x0});}};let _0x2dd992=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x4cee70,_0x5a69cb,_0x123cc9,_0x3edb63,_0x3389f2,_0x4ce82c,_0x4ffe61,_0x177a81){const _0x27cf04=_0x718440;super(),this[_0x27cf04(0x2f6)]=_0x4cee70,this[_0x27cf04(0x594)]=_0x5a69cb,this['_renderManagerService']=_0x123cc9,this[_0x27cf04(0x2a8)]=_0x3edb63,this[_0x27cf04(0x34a)]=_0x3389f2,this[_0x27cf04(0x4cd)]=_0x4ce82c,this[_0x27cf04(0x426)]=_0x4ffe61,this[_0x27cf04(0x22b)]=_0x177a81,_0x55cc91(this,_0x27cf04(0x28c),void 0x0),_0x55cc91(this,_0x27cf04(0x527),void 0x0),_0x55cc91(this,'_subUnitId',void 0x0),_0x55cc91(this,_0x27cf04(0x44e),[]),_0x55cc91(this,_0x27cf04(0x3cb),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x55cc91(this,'_activeShapeModel',void 0x0),_0x55cc91(this,_0x27cf04(0x3a8),!0x1),_0x55cc91(this,_0x27cf04(0x542),!0x1),_0x55cc91(this,'_hasReset',!0x1),_0x55cc91(this,_0x27cf04(0x26e),void 0x0),_0x55cc91(this,_0x27cf04(0x4f2),void 0x0),_0x55cc91(this,_0x27cf04(0x1de),null),this[_0x27cf04(0x4e4)]();}[_0x718440(0x4e4)](){const _0x20556e=_0x718440;this[_0x20556e(0x3be)](),this[_0x20556e(0x46c)]();}[_0x718440(0x3d7)](){const _0x456fce=_0x718440;if(!this[_0x456fce(0x527)]||!this[_0x456fce(0x545)]||!this[_0x456fce(0x28c)])return;let _0x532530={'unitId':this[_0x456fce(0x527)],'subUnitId':this[_0x456fce(0x545)],'drawingId':this['_activeShapeId']},{transform:_0x4833a3}=this[_0x456fce(0x2a8)][_0x456fce(0x37d)](_0x532530);if(_0x4833a3)return{'left':_0x4833a3[_0x456fce(0x242)]||0x0,'top':_0x4833a3[_0x456fce(0x4b1)]||0x0,'width':_0x4833a3[_0x456fce(0x3d1)]||0x0,'height':_0x4833a3[_0x456fce(0x1ef)]||0x0,'flipX':_0x4833a3[_0x456fce(0x554)]||!0x1,'flipY':_0x4833a3[_0x456fce(0x1ed)]||!0x1,'angle':_0x4833a3[_0x456fce(0x37c)]};}[_0x718440(0x28e)](){const _0x5e8ea3=_0x718440;if(this['_unitId']===void 0x0||this['_subUnitId']===void 0x0||this[_0x5e8ea3(0x28c)]===void 0x0)return;let _0x560f6f=this[_0x5e8ea3(0x57e)][_0x5e8ea3(0x403)](this['_unitId']);if(!_0x560f6f||!_0x560f6f['with'](_0x17eed7['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x662602}=_0x560f6f,_0x4176ff=this[_0x5e8ea3(0x3d7)]();if(!_0x4176ff)return;let _0x281ffb=this[_0x5e8ea3(0x4cd)][_0x5e8ea3(0x459)](this['_unitId'],this[_0x5e8ea3(0x545)],this['_activeShapeId']);if(!_0x281ffb||!(0x0,_0x34f551[_0x5e8ea3(0x22d)])(_0x281ffb[_0x5e8ea3(0x43a)]()))return;let _0x9e3cee=_0x281ffb['getConnectorLinePoints']();if(_0x9e3cee['length']<0x2)return;let _0x52302e=new _0x34f551[(_0x5e8ea3(0x371))](_0x4176ff),_0x269be0=_0x9e3cee[0x0],_0xa0d456=_0x9e3cee[_0x9e3cee['length']-0x1],_0x581a3e=_0x52302e[_0x5e8ea3(0x1ba)](_0x269be0),_0x927766=_0x52302e[_0x5e8ea3(0x1ba)](_0xa0d456);this[_0x5e8ea3(0x463)](_0x662602,{..._0x581a3e},!0x0),this[_0x5e8ea3(0x463)](_0x662602,{..._0x927766},!0x1);}[_0x718440(0x463)](_0x23ab04,_0x1d02b8,_0x527566){const _0x3a75f7=_0x718440;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x3a75f7(0x545)]===void 0x0)return;let _0x18c54f='connector-handler-'+this[_0x3a75f7(0x527)]+'-'+this[_0x3a75f7(0x545)]+'-'+this[_0x3a75f7(0x28c)]+'-'+(_0x527566?_0x3a75f7(0x1b1):_0x3a75f7(0x41e)),_0x2e8abc=_0x23ab04[_0x3a75f7(0x566)](_0x18c54f);if(_0x2e8abc){_0x2e8abc[_0x3a75f7(0x2d4)]({'left':_0x1d02b8['x']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]});return;}let _0x543181=new _0x375908(_0x18c54f,{'left':_0x1d02b8['x']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'shapeId':this[_0x3a75f7(0x28c)],'unitId':this[_0x3a75f7(0x527)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x527566,'width':_0x34f551[_0x3a75f7(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x3a75f7(0x533)]+0x1,'evented':!0x0});this[_0x3a75f7(0x44e)][_0x3a75f7(0x217)](_0x543181),this['_attachConnectorObjectEvent'](_0x543181,_0x23ab04,_0x527566),_0x23ab04['addObject'](_0x543181,_0x3e5eae[_0x3a75f7(0x533)]+0x1);}[_0x718440(0x1ce)](_0x4eb341,_0x128758){const _0x2cbdd5=_0x718440;var _0x33966a;let _0x81da8e={'x':0x0,'y':0x0};if(!_0x4eb341||!_0x128758)return _0x81da8e;let _0x4c4756=this[_0x2cbdd5(0x57e)][_0x2cbdd5(0x403)](_0x4eb341);if(!_0x4c4756||!_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x204)])[_0x2cbdd5(0x50e)](_0x128758))return _0x81da8e;let _0x177497=_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x369)]),_0x25d389=_0x177497==null?void 0x0:_0x177497[_0x2cbdd5(0x29a)]();if(!_0x25d389)return _0x81da8e;let _0x1f9fee=(_0x33966a=this[_0x2cbdd5(0x34a)][_0x2cbdd5(0x25c)](_0x4eb341))==null?void 0x0:_0x33966a[_0x2cbdd5(0x19d)](_0x128758);if(!_0x1f9fee)return _0x81da8e;let _0x4b364f=(0x0,_0x17eed7['getViewportByCell'])(_0x25d389[_0x2cbdd5(0x38e)],_0x25d389[_0x2cbdd5(0x3cf)],_0x4c4756[_0x2cbdd5(0x53c)],_0x1f9fee);return _0x4b364f?{'x':_0x4b364f[_0x2cbdd5(0x366)],'y':_0x4b364f[_0x2cbdd5(0x1a7)]}:_0x81da8e;}[_0x718440(0x50f)](_0xe5f23a,_0x3f3dec){const _0x1497ef=_0x718440;var _0x85bc2a;let _0x5e4826=(_0x85bc2a=this[_0x1497ef(0x34a)][_0x1497ef(0x25c)](_0xe5f23a))==null?void 0x0:_0x85bc2a[_0x1497ef(0x19d)](_0x3f3dec);return(_0x5e4826==null?void 0x0:_0x5e4826['getZoomRatio']())??0x1;}['_handleConnectorPointerUp'](_0x3b6c8c,_0x134a5d,_0x27bf33,_0x5d1cf7,_0xcf07fb){const _0x4daed5=_0x718440;this[_0x4daed5(0x26e)]['unsubscribe'](),this['_cxtHandlerPointerUp']['unsubscribe'](),this['_sheetShapeAdjustController'][_0x4daed5(0x2c1)]();let _0x20d627=this['_currentConnectionTarget'];this['_sheetBasicShapeConnectionPointController'][_0x4daed5(0x346)]();let _0x2ecaf9=this['_getScrollInfo'](this['_unitId'],this[_0x4daed5(0x545)]),_0x238ce7=this['_getZoomRatio'](this[_0x4daed5(0x527)],this['_subUnitId']),_0x20824f={'x':_0x27bf33[_0x4daed5(0x4d5)]/_0x238ce7+_0x2ecaf9['x'],'y':_0x27bf33[_0x4daed5(0x423)]/_0x238ce7+_0x2ecaf9['y']},_0x1220ec=_0x20d627?_0x20d627[_0x4daed5(0x387)]:_0x20824f,_0x1c3c19=_0x5d1cf7?this[_0x4daed5(0x2f3)][_0x4daed5(0x521)]():this[_0x4daed5(0x2f3)][_0x4daed5(0x348)](),_0x374e2a=this[_0x4daed5(0x2f3)]['getShapeType']();_0x1c3c19?this['_handleConnectedEndpointPointerUp'](_0x1c3c19,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb):this[_0x4daed5(0x2cb)](_0x134a5d,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb,_0x374e2a),this[_0x4daed5(0x3a8)]=!0x1,this[_0x4daed5(0x412)]=!0x1,this['_currentConnectionTarget']=null,_0x3b6c8c[_0x4daed5(0x317)]();}[_0x718440(0x2cb)](_0x19b12e,_0x14c295,_0x1bb9c6,_0xef107e,_0x48d5ec,_0x22df71){const _0x559705=_0x718440;let _0x5ddc1a=_0x22df71===_0x34f551[_0x559705(0x1ea)]['Line']||_0x22df71===_0x34f551[_0x559705(0x1ea)]['StraightConnector1'],_0x58e5b4=_0x1bb9c6?_0x14c295:_0x19b12e,_0xc20013=_0x1bb9c6?_0x19b12e:_0x14c295,_0x4cec74=this[_0x559705(0x2f3)][_0x559705(0x30f)](),_0x4c5628=this[_0x559705(0x2f3)][_0x559705(0x43a)](),_0x46ba59=(0x0,_0x34f551['isCurvedConnectorShape'])(_0x4c5628),_0x4d7458=_0x34f551[_0x559705(0x371)]['getBentTypeFromPoints'](_0x4cec74,_0x46ba59),_0x330001=_0x5ddc1a?_0x34f551[_0x559705(0x371)][_0x559705(0x332)](_0x58e5b4,_0xc20013):_0x34f551[_0x559705(0x371)][_0x559705(0x530)](_0x19b12e,_0x14c295,_0x1bb9c6,_0x4d7458);_0xef107e?this[_0x559705(0x2c0)](_0x330001,_0xef107e,_0x1bb9c6,_0x48d5ec):this[_0x559705(0x4ef)](_0x330001,_0x48d5ec);}[_0x718440(0x515)](_0x2f8f6d,_0x35feaf,_0x2382aa,_0x43c932,_0x1be3c5){const _0x2e22a6=_0x718440;let _0x40f177=this['_getConnectPointInfo'](_0x2f8f6d);if(!_0x40f177)return;let _0x13305a=_0x43c932?_0x43c932[_0x2e22a6(0x37c)]:this[_0x2e22a6(0x455)](_0x40f177[_0x2e22a6(0x456)],_0x35feaf),_0x227b19;if(_0x43c932){let _0x20051f=this[_0x2e22a6(0x2a8)]['getDrawingByParam']({'unitId':_0x43c932['unitId'],'subUnitId':_0x43c932[_0x2e22a6(0x31f)],'drawingId':_0x43c932[_0x2e22a6(0x1fd)]});if(_0x20051f!=null&&_0x20051f['transform']){let {left:_0x140e34=0x0,top:_0x445e41=0x0,width:_0x2d89eb=0x0,height:_0x5e0000=0x0,angle:_0x266606}=_0x20051f[_0x2e22a6(0x4c7)];_0x227b19=(0x0,_0x34f551[_0x2e22a6(0x3a7)])({'left':_0x140e34,'top':_0x445e41,'width':_0x2d89eb,'height':_0x5e0000},_0x266606||0x0);}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};let _0x1a52c4={'point':_0x35feaf,'angle':_0x13305a,'bounds':_0x227b19},_0x51f9eb=_0x2382aa?_0x1a52c4:_0x40f177,_0x1dc46e=_0x2382aa?_0x40f177:_0x1a52c4,_0xfaa0ad=this[_0x2e22a6(0x2f3)][_0x2e22a6(0x43a)](),_0x2c9880=(0x0,_0x34f551['routeConnectorLineShape'])(_0x51f9eb,_0x1dc46e,_0xfaa0ad);this[_0x2e22a6(0x2f3)][_0x2e22a6(0x1a8)]();let _0xa72c5c=(0x0,_0x34f551[_0x2e22a6(0x543)])(_0x2c9880,_0xfaa0ad);_0x43c932?this[_0x2e22a6(0x562)](_0xa72c5c,_0x43c932,_0x2f8f6d,_0x2382aa,_0x1be3c5):this[_0x2e22a6(0x500)](_0xa72c5c,_0x2f8f6d,_0x2382aa,_0x1be3c5);}[_0x718440(0x2c0)](_0x24b2a4,_0xa9a043,_0x1d4b48,_0x1ad28b){const _0x5c813f=_0x718440;let _0x4758bc=this[_0x5c813f(0x2f3)]['getShapeData']()[_0x5c813f(0x1f7)],_0x10c256={..._0x4758bc},_0x320710={'shapeId':_0xa9a043[_0x5c813f(0x1fd)],'cxnIndex':_0xa9a043['cxnIndex']};_0x1d4b48?_0x10c256['from']=_0x320710:_0x10c256['to']=_0x320710;let _0x187e58=this[_0x5c813f(0x2f3)][_0x5c813f(0x43a)](),_0x2053bf=(0x0,_0x34f551[_0x5c813f(0x543)])(_0x24b2a4['worldPoints'],_0x187e58),_0x10702b={'unitId':this['_unitId'],'subUnitId':this[_0x5c813f(0x545)],'connectorShapeId':this[_0x5c813f(0x28c)],'width':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x3d1)],'height':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x1ef)],'left':_0x24b2a4['worldRect']['left'],'top':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x4b1)],'flipX':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x554)]||!0x1,'flipY':_0x24b2a4['worldRect'][_0x5c813f(0x1ed)]||!0x1,'newAdjustValues':_0x2053bf['adjustValues'],'oldAdjustValues':_0x1ad28b,'oldRelation':_0x4758bc,'newRelation':_0x10c256,'newLineType':_0x2053bf[_0x5c813f(0x236)],'oldLineType':_0x187e58};this[_0x5c813f(0x594)][_0x5c813f(0x3c0)](_0x239f56[_0x5c813f(0x497)]['id'],_0x10702b);}[_0x718440(0x4ef)](_0x2959ce,_0x21870b){const _0x5aaac1=_0x718440;let _0x5d6f0b=this['_activeShapeModel'][_0x5aaac1(0x43a)](),_0x709eef=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x2959ce['worldPoints'],_0x5d6f0b),_0x3da094={'unitId':this[_0x5aaac1(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x5aaac1(0x28c)],'width':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x3d1)],'height':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ef)],'left':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x242)],'top':_0x2959ce[_0x5aaac1(0x458)]['top'],'flipX':_0x2959ce['worldRect']['flipX']||!0x1,'flipY':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ed)]||!0x1,'angle':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x37c)]||0x0,'newAdjustValues':_0x709eef[_0x5aaac1(0x28a)],'oldAdjustValues':_0x21870b,'newLineType':_0x709eef[_0x5aaac1(0x236)],'oldLineType':_0x5d6f0b};this[_0x5aaac1(0x594)][_0x5aaac1(0x3c0)](_0x239f56[_0x5aaac1(0x3ec)]['id'],_0x3da094);}[_0x718440(0x562)](_0x44fcbb,_0x27e79f,_0x5594ff,_0x64af86,_0x33cab3){const _0x346486=_0x718440;let _0x5d37a5=this[_0x346486(0x2f3)][_0x346486(0x1e2)]()[_0x346486(0x1f7)],_0x111cf0={..._0x5d37a5},_0x227fec={'shapeId':_0x27e79f['shapeId'],'cxnIndex':_0x27e79f[_0x346486(0x2e1)]};_0x64af86?(_0x111cf0[_0x346486(0x47c)]=_0x227fec,_0x111cf0['to']=_0x5594ff):(_0x111cf0['from']=_0x5594ff,_0x111cf0['to']=_0x227fec);let _0x274362={'unitId':this[_0x346486(0x527)],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x44fcbb[_0x346486(0x458)][_0x346486(0x3d1)],'height':_0x44fcbb[_0x346486(0x458)][_0x346486(0x1ef)],'left':_0x44fcbb[_0x346486(0x458)][_0x346486(0x242)],'top':_0x44fcbb[_0x346486(0x458)]['top'],'flipX':_0x44fcbb[_0x346486(0x458)]['flipX']||!0x1,'flipY':_0x44fcbb['worldRect'][_0x346486(0x1ed)]||!0x1,'oldAdjustValues':_0x33cab3,'newAdjustValues':_0x44fcbb[_0x346486(0x28a)],'newLineType':_0x44fcbb[_0x346486(0x236)],'rotation':_0x44fcbb['rotation'],'oldRelation':_0x5d37a5,'newRelation':_0x111cf0};this[_0x346486(0x594)]['executeCommand'](_0x239f56[_0x346486(0x497)]['id'],_0x274362);}['_executeConnectedRouteResizeCommand'](_0x25f295,_0x59a3f0,_0x5bd13c,_0x51eeca){const _0x5d82dd=_0x718440;let _0x3def98=this['_activeShapeModel'][_0x5d82dd(0x1e2)]()[_0x5d82dd(0x1f7)],_0x245557={};_0x5bd13c?(_0x245557['to']=_0x59a3f0,_0x245557[_0x5d82dd(0x47c)]=void 0x0):(_0x245557['from']=_0x59a3f0,_0x245557['to']=void 0x0);let _0x2d3255={'unitId':this['_unitId'],'subUnitId':this[_0x5d82dd(0x545)],'connectorShapeId':this[_0x5d82dd(0x28c)],'width':_0x25f295[_0x5d82dd(0x458)]['width'],'height':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x1ef)],'left':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x242)],'top':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x4b1)],'flipX':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x554)]||!0x1,'flipY':_0x25f295[_0x5d82dd(0x458)]['flipY']||!0x1,'oldAdjustValues':_0x51eeca,'newAdjustValues':_0x25f295[_0x5d82dd(0x28a)],'newLineType':_0x25f295[_0x5d82dd(0x236)],'rotation':_0x25f295[_0x5d82dd(0x416)],'oldRelation':_0x3def98,'newRelation':_0x245557};this[_0x5d82dd(0x594)][_0x5d82dd(0x3c0)](_0x239f56[_0x5d82dd(0x497)]['id'],_0x2d3255);}[_0x718440(0x3e1)](_0x36b6f9,_0x4fb0b0,_0xc3e895){const _0x49f870=_0x718440;this[_0x49f870(0x503)]((0x0,_0x567e1d[_0x49f870(0x23c)])(_0x36b6f9[_0x49f870(0x2f5)]['subscribeEvent']((_0x46391f,_0x5c6d4e)=>{const _0x49f6d8=_0x49f870;let _0x2ba49e=_0x36b6f9[_0x49f6d8(0x440)]();if(this[_0x49f6d8(0x2f3)]=this['_sheetsShapeService'][_0x49f6d8(0x459)](_0x2ba49e[_0x49f6d8(0x45d)],_0x2ba49e[_0x49f6d8(0x31f)],_0x2ba49e[_0x49f6d8(0x25d)]),!this[_0x49f6d8(0x2f3)])return;let _0x106a34={};this['_activeShapeModel'][_0x49f6d8(0x3f9)]()[_0x49f6d8(0x241)](_0x3e7445=>{const _0x4a8093=_0x49f6d8;let _0x4713f4=this[_0x4a8093(0x2f3)]['getAdjustValueByName'](_0x3e7445);_0x4713f4!==void 0x0&&(_0x106a34[_0x3e7445]=_0x4713f4);});let _0x46750f=this[_0x49f6d8(0x3d7)]();if(!_0x46750f)return;this[_0x49f6d8(0x3cb)]={..._0x46750f};let _0x5d017c=new _0x34f551['ConnectorCoordinateTransform'](this['_baseDrawingRect']),_0x27d755=(0x0,_0x36b4c7[_0x49f6d8(0x56c)])({'unitId':this[_0x49f6d8(0x527)],'subUnitId':this[_0x49f6d8(0x545)],'drawingId':this[_0x49f6d8(0x28c)]}),_0x5d5045=_0x4fb0b0[_0x49f6d8(0x566)](_0x27d755);this[_0x49f6d8(0x3a8)]=!0x0,_0x4fb0b0['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x4fb0b0,this[_0x49f6d8(0x527)],this['_subUnitId'],this[_0x49f6d8(0x28c)]),this[_0x49f6d8(0x1de)]=null;let _0x3158ce=this[_0x49f6d8(0x2f3)][_0x49f6d8(0x30f)](),_0x40842a=_0x3158ce[0x0],_0x482614=_0x3158ce[_0x3158ce['length']-0x1],_0x2b5bc2=_0xc3e895?_0x5d017c[_0x49f6d8(0x1ba)](_0x482614):_0x5d017c[_0x49f6d8(0x1ba)](_0x40842a);this['_cxtHandlerPointerMove']=_0x4fb0b0[_0x49f6d8(0x1dd)]['subscribeEvent']((_0x4fdc6b,_0x15b1af)=>{const _0x2b7317=_0x49f6d8;if(!this[_0x2b7317(0x3a8)]||!this[_0x2b7317(0x2f3)])return;this[_0x2b7317(0x412)]||=(this[_0x2b7317(0x426)][_0x2b7317(0x1b8)](),this[_0x2b7317(0x2f3)][_0x2b7317(0x4f0)](),!0x0);let _0x1075a0=this[_0x2b7317(0x1ce)](this['_unitId'],this[_0x2b7317(0x545)]),_0x3859f4=this[_0x2b7317(0x50f)](this[_0x2b7317(0x527)],this[_0x2b7317(0x545)]),_0x33b8ea={'x':_0x4fdc6b[_0x2b7317(0x4d5)]/_0x3859f4+_0x1075a0['x'],'y':_0x4fdc6b[_0x2b7317(0x423)]/_0x3859f4+_0x1075a0['y']},_0x59d10a=this[_0x2b7317(0x22b)][_0x2b7317(0x54f)](_0x33b8ea);if(_0x59d10a){let {shapeId:_0x15bd0e,unitId:_0x536960,subUnitId:_0x4d0217}=_0x59d10a;if(_0x15bd0e&&_0x536960&&_0x4d0217){let _0x1f80db=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x536960,'subUnitId':_0x4d0217,'drawingId':_0x15bd0e});_0x59d10a[_0x2b7317(0x37c)]=(_0x4fb0b0[_0x2b7317(0x566)](_0x1f80db)[_0x2b7317(0x37c)]||0x0)+_0x59d10a['angle'];}}this[_0x2b7317(0x1de)]=_0x59d10a;let _0x1300c0=_0xc3e895?this[_0x2b7317(0x2f3)][_0x2b7317(0x521)]():this[_0x2b7317(0x2f3)]['getStartConnectInfo']();if(_0x1300c0){this[_0x2b7317(0x26d)](_0x1300c0,_0x33b8ea,_0xc3e895,_0x5d5045,_0x36b6f9);return;}this[_0x2b7317(0x306)](_0x33b8ea,_0x2b5bc2,_0xc3e895,_0x5d5045,_0x36b6f9);}),this['_cxtHandlerPointerUp']=_0x4fb0b0[_0x49f6d8(0x4b7)][_0x49f6d8(0x483)]((_0x3e7134,_0x389f83)=>{const _0x1919c0=_0x49f6d8;this[_0x1919c0(0x4a5)](_0x4fb0b0,_0x2b5bc2,_0x3e7134,_0xc3e895,_0x106a34);}),_0x5c6d4e[_0x49f6d8(0x3ab)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x34933b,_0x47f9d7,_0x727bfa){const _0x33e7ad=_0x718440;let _0x39c7df=this['_sheetsShapeService'][_0x33e7ad(0x425)](_0x34933b,_0x47f9d7,_0x727bfa);if(!_0x39c7df||_0x39c7df[_0x33e7ad(0x212)]===0x0)return;let _0x5deb8c=this[_0x33e7ad(0x57e)][_0x33e7ad(0x403)](_0x34933b);if(!_0x5deb8c)return;let {scene:_0xf98289}=_0x5deb8c;for(let _0x5bd0bd of _0x39c7df){let _0x277739=_0x5bd0bd[_0x33e7ad(0x229)],_0x22f0e6=this[_0x33e7ad(0x4cd)][_0x33e7ad(0x459)](_0x34933b,_0x47f9d7,_0x277739);if(!_0x22f0e6)continue;let _0x1a44db=_0x22f0e6['getStartConnectInfo'](),_0x311d27=_0x22f0e6['getEndConnectInfo'](),_0x225c9a=(_0x1a44db==null?void 0x0:_0x1a44db[_0x33e7ad(0x1fd)])===_0x727bfa,_0x5295c8=(0x0,_0x36b4c7[_0x33e7ad(0x56c)])({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739}),_0x15633e=_0xf98289['getObjectIncludeInGroup'](_0x5295c8);if(!_0x15633e)continue;let _0x4e6cee=this[_0x33e7ad(0x2a8)][_0x33e7ad(0x37d)]({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739});_0x4e6cee!=null&&_0x4e6cee[_0x33e7ad(0x4c7)]&&(_0x1a44db&&_0x311d27?this[_0x33e7ad(0x1e6)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x1a44db,_0x311d27,_0x15633e):this[_0x33e7ad(0x3fe)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x225c9a?_0x1a44db:_0x311d27,_0x225c9a,_0x4e6cee,_0x15633e));}}[_0x718440(0x1e6)](_0x426e2a,_0x5bea1a,_0x3196f1,_0x585df5,_0x5880e8,_0x49cc38,_0x589f57){const _0x338f1e=_0x718440;let _0x594b1e=this[_0x338f1e(0x527)],_0x355078=this[_0x338f1e(0x545)];this[_0x338f1e(0x527)]=_0x426e2a,this['_subUnitId']=_0x5bea1a;let _0x3a1e53=this[_0x338f1e(0x3bb)](_0x5880e8),_0x4bc8ea=this['_getConnectPointInfo'](_0x49cc38);if(this['_unitId']=_0x594b1e,this[_0x338f1e(0x545)]=_0x355078,!_0x3a1e53||!_0x4bc8ea)return;let _0x4ea02e=_0x585df5[_0x338f1e(0x43a)](),_0x340926=(0x0,_0x34f551[_0x338f1e(0x48d)])(_0x3a1e53,_0x4bc8ea,_0x4ea02e);_0x340926&&_0x585df5[_0x338f1e(0x3c7)](_0x340926);let _0x14a561=(0x0,_0x34f551[_0x338f1e(0x543)])(_0x340926,_0x4ea02e);_0x14a561[_0x338f1e(0x236)]!==_0x4ea02e&&_0x585df5[_0x338f1e(0x3ac)](_0x14a561[_0x338f1e(0x236)]),_0x585df5['clearAdjustValue']();for(let [_0x568248,_0x33ea0e]of Object[_0x338f1e(0x1f9)](_0x14a561[_0x338f1e(0x28a)]))_0x585df5[_0x338f1e(0x2fc)](_0x568248,_0x33ea0e);_0x585df5[_0x338f1e(0x1bc)]({'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ef)]}),_0x589f57[_0x338f1e(0x2d4)]({'flipX':_0x14a561['worldRect']['flipX'],'flipY':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ed)],'left':_0x14a561['worldRect'][_0x338f1e(0x242)],'top':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x4b1)],'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561['worldRect'][_0x338f1e(0x1ef)],'angle':_0x14a561[_0x338f1e(0x416)]}),_0x585df5['removeLinePoints']();}[_0x718440(0x3fe)](_0x2f6052,_0x2392f5,_0x1fb355,_0x117f6b,_0x365747,_0x185603,_0x556bd1,_0x18e858){const _0x4cec89=_0x718440;let _0x28ddce=this['_unitId'],_0x20a35f=this[_0x4cec89(0x545)];this['_unitId']=_0x2f6052,this['_subUnitId']=_0x2392f5;let _0x476345=this[_0x4cec89(0x3bb)](_0x365747);if(this[_0x4cec89(0x527)]=_0x28ddce,this['_subUnitId']=_0x20a35f,!_0x476345)return;let {left:_0x1067a5=0x0,top:_0x130451=0x0,width:_0x5c0e96=0x0,height:_0x258463=0x0,flipX:_0x146bac=!0x1,flipY:_0x1d7b0e=!0x1}=_0x556bd1[_0x4cec89(0x4c7)],_0x509324=_0x117f6b['getConnectorLinePoints']();if(_0x509324[_0x4cec89(0x212)]<0x2)return;let _0x4b6988=new _0x34f551[(_0x4cec89(0x371))]({'left':_0x1067a5,'top':_0x130451,'width':_0x5c0e96,'height':_0x258463,'flipX':_0x146bac,'flipY':_0x1d7b0e}),_0x3f653e=_0x185603?_0x509324[_0x509324[_0x4cec89(0x212)]-0x1]:_0x509324[0x0],_0x47bcff=_0x4b6988[_0x4cec89(0x1ba)](_0x3f653e),_0x20171f=_0x34f551['ConnectorCoordinateTransform'][_0x4cec89(0x530)](_0x47bcff,_0x476345[_0x4cec89(0x456)],!_0x185603);_0x18e858[_0x4cec89(0x2d4)]({'flipX':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x554)],'flipY':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x1ed)],'left':_0x20171f['worldRect'][_0x4cec89(0x242)],'top':_0x20171f['worldRect'][_0x4cec89(0x4b1)],'width':_0x20171f[_0x4cec89(0x458)]['width'],'height':_0x20171f['worldRect'][_0x4cec89(0x1ef)],'angle':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x37c)]}),_0x18e858[_0x4cec89(0x3ce)](!0x0);}[_0x718440(0x251)](){const _0x1aadee=_0x718440;this[_0x1aadee(0x44e)]['length']!==0x0&&(this[_0x1aadee(0x44e)]['forEach'](_0x2161d2=>{const _0x4d2e8b=_0x1aadee;_0x2161d2[_0x4d2e8b(0x4dd)]();}),this[_0x1aadee(0x44e)]=[]);}['_registerDrawingMoveHandler'](){const _0x1d4565=_0x718440;let _0x334292=this['_univerInstanceService'][_0x1d4565(0x3d0)](_0x567e1d[_0x1d4565(0x1e5)]['UNIVER_SHEET']);this[_0x1d4565(0x503)](_0x334292['pipe']((0x0,_0x1d246a[_0x1d4565(0x53b)])(_0x3aa9f6=>_0x3aa9f6?_0x3aa9f6['activeSheet$'][_0x1d4565(0x2da)]((0x0,_0x1d246a['switchMap'])(_0x40fb76=>{const _0x57513a=_0x1d4565;if(!_0x40fb76)return _0x1d246a[_0x57513a(0x49f)];let _0x545998=_0x3aa9f6[_0x57513a(0x35f)](),_0x4bfb51=this[_0x57513a(0x57e)][_0x57513a(0x403)](_0x545998),_0x2735a5=_0x4bfb51==null?void 0x0:_0x4bfb51[_0x57513a(0x53c)];return _0x2735a5?(0x0,_0x1d246a['of'])(_0x2735a5):_0x1d246a[_0x57513a(0x49f)];})):_0x1d246a[_0x1d4565(0x49f)]))['subscribe'](_0x197173=>{const _0x4e4f4a=_0x1d4565;let _0x3bf25d=_0x197173[_0x4e4f4a(0x202)]();this['disposeWithMe'](_0x197173[_0x4e4f4a(0x1dd)][_0x4e4f4a(0x483)](_0x1ae861=>{const _0x212130=_0x4e4f4a;this[_0x212130(0x542)]&&this[_0x212130(0x28c)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x3bf25d['changeStart$'][_0x4e4f4a(0x374)](_0x1c5bf1=>{const _0x39f652=_0x4e4f4a;let {objects:_0x5c16b2}=_0x1c5bf1;this[_0x39f652(0x251)](),_0x5c16b2!==null&&_0x5c16b2[_0x39f652(0x2db)]===0x1&&_0x5c16b2[_0x39f652(0x32c)]()[_0x39f652(0x34f)]()['value']instanceof _0x5b187c&&(this[_0x39f652(0x542)]=!0x0);})),this['disposeWithMe'](_0x3bf25d[_0x4e4f4a(0x4a4)][_0x4e4f4a(0x374)](_0x326a0d=>{const _0x22b692=_0x4e4f4a;this['_isDrawingShapePointDown']&&this[_0x22b692(0x251)]();})),this[_0x4e4f4a(0x503)](_0x197173[_0x4e4f4a(0x4b7)][_0x4e4f4a(0x483)](()=>{const _0x3c10ee=_0x4e4f4a;this[_0x3c10ee(0x542)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x3c10ee(0x28e)]());})),this[_0x4e4f4a(0x503)](_0x3bf25d[_0x4e4f4a(0x38b)][_0x4e4f4a(0x374)](()=>{const _0x547f6b=_0x4e4f4a;this[_0x547f6b(0x527)]&&this[_0x547f6b(0x545)]&&this[_0x547f6b(0x28c)]&&this[_0x547f6b(0x2a8)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x547f6b(0x545)],'drawingId':this[_0x547f6b(0x28c)]})&&(this[_0x547f6b(0x251)](),this['_addShapeConnectorHandlerObjects']());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x32d739=_0x718440;this['disposeWithMe'](this[_0x32d739(0x2a8)][_0x32d739(0x470)][_0x32d739(0x374)](_0x101c57=>{const _0x1e45c7=_0x32d739;if(_0x101c57['length']===0x1){let _0x2e4fd1=_0x101c57[0x0];if(_0x2e4fd1[_0x1e45c7(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x1e45c7(0x20f)]){let _0x2652c1=this[_0x1e45c7(0x4cd)][_0x1e45c7(0x459)](_0x2e4fd1[_0x1e45c7(0x45d)],_0x2e4fd1[_0x1e45c7(0x31f)],_0x2e4fd1[_0x1e45c7(0x25d)]);if(_0x2652c1&&(0x0,_0x34f551[_0x1e45c7(0x22d)])(_0x2652c1[_0x1e45c7(0x43a)]())){this['_activeShapeId']=_0x2e4fd1['drawingId'],this[_0x1e45c7(0x527)]=_0x2e4fd1[_0x1e45c7(0x45d)],this[_0x1e45c7(0x545)]=_0x2e4fd1[_0x1e45c7(0x31f)],this[_0x1e45c7(0x251)](),this[_0x1e45c7(0x28e)]();return;}}}this[_0x1e45c7(0x28c)]=void 0x0,this[_0x1e45c7(0x527)]=void 0x0,this[_0x1e45c7(0x545)]=void 0x0,this[_0x1e45c7(0x251)]();})),this[_0x32d739(0x503)](this[_0x32d739(0x2a8)][_0x32d739(0x518)][_0x32d739(0x374)](_0x5d0e63=>{const _0x1fbc88=_0x32d739;if(_0x5d0e63[_0x1fbc88(0x212)]===0x1){var _0x1f8ddb;let _0x4f456a=_0x5d0e63[0x0],_0x50c740=(_0x1f8ddb=this['_drawingManagerService'][_0x1fbc88(0x37d)](_0x4f456a))==null?void 0x0:_0x1f8ddb[_0x1fbc88(0x37f)];_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)][_0x1fbc88(0x20f)]&&_0x4f456a[_0x1fbc88(0x25d)]===this[_0x1fbc88(0x28c)]?(this[_0x1fbc88(0x251)](),this['_addShapeConnectorHandlerObjects']()):!this['_activeShapeId']&&_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)]['DRAWING_SHAPE']&&this[_0x1fbc88(0x341)](_0x4f456a[_0x1fbc88(0x45d)],_0x4f456a[_0x1fbc88(0x31f)],_0x4f456a[_0x1fbc88(0x25d)]);}})),this[_0x32d739(0x503)](this['_drawingManagerService'][_0x32d739(0x4ca)][_0x32d739(0x374)](_0x26c3e6=>{const _0x513bf5=_0x32d739;for(let _0xf38d02 of _0x26c3e6){let {drawingId:_0x3007d3}=_0xf38d02;if(this[_0x513bf5(0x28c)]===_0x3007d3){this[_0x513bf5(0x3b5)]();return;}}}));}['_handleConnectedEndpointMove'](_0x162f2a,_0x41f1b3,_0x5691e3,_0x4a9a48,_0xb957d4){const _0x718c4f=_0x718440;var _0x507a34;if(!this[_0x718c4f(0x2f3)])return;let _0x458436=this[_0x718c4f(0x3bb)](_0x162f2a);if(!_0x458436)return;let _0x5ae966=this['_currentConnectionTarget']?this[_0x718c4f(0x1de)]['worldPoint']:_0x41f1b3,_0x3e06f8=this[_0x718c4f(0x1de)]?this[_0x718c4f(0x1de)][_0x718c4f(0x37c)]:this[_0x718c4f(0x455)](_0x458436[_0x718c4f(0x456)],_0x5ae966),_0x4940a7;if(this[_0x718c4f(0x1de)]){let _0x109cb8=this[_0x718c4f(0x2a8)][_0x718c4f(0x37d)]({'unitId':this[_0x718c4f(0x1de)][_0x718c4f(0x45d)],'subUnitId':this[_0x718c4f(0x1de)]['subUnitId'],'drawingId':this[_0x718c4f(0x1de)][_0x718c4f(0x1fd)]});if(_0x109cb8!=null&&_0x109cb8[_0x718c4f(0x4c7)]){let {left:_0x1ddfc0=0x0,top:_0x48f213=0x0,width:_0x7ffa79=0x0,height:_0x2e5d39=0x0,angle:_0xd20c41}=_0x109cb8[_0x718c4f(0x4c7)];_0x4940a7=(0x0,_0x34f551[_0x718c4f(0x3a7)])({'left':_0x1ddfc0,'top':_0x48f213,'width':_0x7ffa79,'height':_0x2e5d39},_0xd20c41||0x0);}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};let _0x2aa1df={'point':_0x5ae966,'angle':_0x3e06f8,'bounds':_0x4940a7},_0x4eab1f=_0x5691e3?_0x2aa1df:_0x458436,_0x1fd0a3=_0x5691e3?_0x458436:_0x2aa1df,_0x3a8b7f=this['_activeShapeModel'][_0x718c4f(0x43a)](),_0x514a92=(0x0,_0x34f551[_0x718c4f(0x48d)])(_0x4eab1f,_0x1fd0a3,_0x3a8b7f);_0x514a92&&this[_0x718c4f(0x2f3)][_0x718c4f(0x3c7)](_0x514a92);let _0x18eef5=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x514a92,_0x3a8b7f);_0x18eef5['lineType']!==_0x3a8b7f&&this[_0x718c4f(0x2f3)]['changeShapeType'](_0x18eef5[_0x718c4f(0x236)]);for(let [_0x5f352a,_0x3c2dd9]of Object[_0x718c4f(0x1f9)](_0x18eef5[_0x718c4f(0x28a)]))this[_0x718c4f(0x2f3)][_0x718c4f(0x2fc)](_0x5f352a,_0x3c2dd9);this[_0x718c4f(0x2f3)]['updateContext']({'width':_0x18eef5['worldRect'][_0x718c4f(0x3d1)],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)]}),_0x4a9a48[_0x718c4f(0x2d4)]({'flipX':_0x18eef5[_0x718c4f(0x458)]['flipX'],'flipY':_0x18eef5['worldRect'][_0x718c4f(0x1ed)],'left':_0x18eef5[_0x718c4f(0x458)]['left'],'top':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x4b1)],'width':_0x18eef5['worldRect']['width'],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)],'angle':_0x18eef5[_0x718c4f(0x416)]}),_0x4a9a48[_0x718c4f(0x3ce)](!0x0);let _0x1afe38=((_0x507a34=this['_currentConnectionTarget'])==null?void 0x0:_0x507a34[_0x718c4f(0x387)])??_0x41f1b3;_0xb957d4[_0x718c4f(0x2d4)]({'left':_0x1afe38['x']-_0x34f551[_0x718c4f(0x526)]['cxnPointRadius'],'top':_0x1afe38['y']-_0x34f551[_0x718c4f(0x526)][_0x718c4f(0x41d)]});}[_0x718440(0x306)](_0x2b97ae,_0x2058fe,_0xeddc20,_0x58c224,_0xa5cd1a){const _0x3fbd76=_0x718440;var _0x3347ad,_0x5aa231;let _0x1386e0=((_0x3347ad=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x3347ad['worldPoint'])??_0x2b97ae,_0x3ba5e7=_0x34f551[_0x3fbd76(0x371)][_0x3fbd76(0x530)](_0x2058fe,_0x1386e0,_0xeddc20);_0x58c224[_0x3fbd76(0x2d4)]({'flipX':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x554)],'flipY':_0x3ba5e7[_0x3fbd76(0x458)]['flipY'],'left':_0x3ba5e7[_0x3fbd76(0x458)]['left'],'top':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x4b1)],'width':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x3d1)],'height':_0x3ba5e7['worldRect'][_0x3fbd76(0x1ef)],'angle':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x37c)]});let _0x59f1c4=((_0x5aa231=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x5aa231[_0x3fbd76(0x387)])??_0x2b97ae;_0xa5cd1a[_0x3fbd76(0x2d4)]({'left':_0x59f1c4['x']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius'],'top':_0x59f1c4['y']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius']});}[_0x718440(0x3bb)](_0x257633){const _0xbf0e4e=_0x718440;if(!this['_unitId']||!this[_0xbf0e4e(0x545)])return null;let {shapeId:_0xa24e2f,cxnIndex:_0x44c05e}=_0x257633,_0x555155=this[_0xbf0e4e(0x4cd)]['getShapeModel'](this['_unitId'],this[_0xbf0e4e(0x545)],_0xa24e2f);if(!_0x555155)return null;let _0x5cfaae=this[_0xbf0e4e(0x2a8)][_0xbf0e4e(0x37d)]({'unitId':this[_0xbf0e4e(0x527)],'subUnitId':this[_0xbf0e4e(0x545)],'drawingId':_0xa24e2f});if(!(_0x5cfaae!=null&&_0x5cfaae[_0xbf0e4e(0x4c7)]))return null;let {left:_0x496efe=0x0,top:_0x8ba97c=0x0,width:_0x31c34f=0x0,height:_0x412644=0x0,flipX:_0x2009bc=!0x1,flipY:_0x24007d=!0x1,angle:_0x55e7ef}=_0x5cfaae['transform'];_0x555155[_0xbf0e4e(0x1bc)]({'width':_0x31c34f,'height':_0x412644});let _0xd393d5=_0x555155[_0xbf0e4e(0x4af)]()[_0xbf0e4e(0x1d5)](_0x3e9652=>_0x3e9652['index']===_0x44c05e);if(!_0xd393d5)return null;let _0x4cfdc8=_0x2009bc?_0x31c34f-_0xd393d5['x']:_0xd393d5['x'],_0x4a7ac6=_0x24007d?_0x412644-_0xd393d5['y']:_0xd393d5['y'];if(_0x55e7ef!==0x0&&_0x55e7ef!=null){let _0x3cb376=_0x55e7ef*Math['PI']/0xb4,_0x2645ef=Math[_0xbf0e4e(0x1bb)](_0x3cb376),_0x29962f=Math[_0xbf0e4e(0x1dc)](_0x3cb376),_0x321eb0=_0x31c34f/0x2,_0x243d46=_0x412644/0x2,_0x520ff1=_0x4cfdc8-_0x321eb0,_0x19f617=_0x4a7ac6-_0x243d46;_0x4cfdc8=_0x321eb0+_0x520ff1*_0x2645ef-_0x19f617*_0x29962f,_0x4a7ac6=_0x243d46+_0x520ff1*_0x29962f+_0x19f617*_0x2645ef;}_0x4cfdc8+=_0x496efe,_0x4a7ac6+=_0x8ba97c;let _0x3c57f7=_0xd393d5[_0xbf0e4e(0x36d)]/0xea60;_0x2009bc&&(_0x3c57f7=0xb4-_0x3c57f7),_0x24007d&&(_0x3c57f7=-_0x3c57f7),_0x3c57f7+=_0x55e7ef||0x0,_0x3c57f7=(_0x3c57f7%0x168+0x168)%0x168;let _0x3f7249=(0x0,_0x34f551['getBasicShapeRotateBound'])({'left':_0x496efe,'top':_0x8ba97c,'width':_0x31c34f,'height':_0x412644},_0x55e7ef||0x0);return{'point':{'x':_0x4cfdc8,'y':_0x4a7ac6},'angle':_0x3c57f7,'bounds':_0x3f7249};}[_0x718440(0x455)](_0x9643f7,_0x383015){const _0x43af51=_0x718440;let _0x22fe9c=_0x383015['x']-_0x9643f7['x'],_0x40f98d=_0x383015['y']-_0x9643f7['y'];return Math[_0x43af51(0x25a)](_0x22fe9c)>=Math[_0x43af51(0x25a)](_0x40f98d)?_0x22fe9c>=0x0?0xb4:0x0:_0x40f98d>=0x0?0x10e:0x5a;}[_0x718440(0x3b5)](){const _0x153d5f=_0x718440;this[_0x153d5f(0x28c)]=void 0x0,this[_0x153d5f(0x527)]=void 0x0,this[_0x153d5f(0x545)]=void 0x0,this[_0x153d5f(0x251)]();}[_0x718440(0x4dd)](){const _0x2ca57c=_0x718440;this['_clearShapeConnectorHandlerObjects'](),super[_0x2ca57c(0x4dd)]();}};_0x2dd992=_0xb31b0c([_0x519f13(0x1,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x2,_0x3e5eae['IRenderManagerService']),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x6,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5258f8)),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x39d55c))],_0x2dd992);let _0x189611=class extends _0x567e1d['Disposable']{constructor(_0x2a8e87,_0x56efe0,_0x5edd5b){const _0x4819ca=_0x718440;super(),this[_0x4819ca(0x240)]=_0x2a8e87,this[_0x4819ca(0x2a8)]=_0x56efe0,this[_0x4819ca(0x23e)]=_0x5edd5b,this['_initPrinting']();}[_0x718440(0x44f)](){const _0x2e6cc5=_0x718440;this[_0x2e6cc5(0x503)](this[_0x2e6cc5(0x240)][_0x2e6cc5(0x35d)][_0x2e6cc5(0x478)](this['_sheetPrintInterceptorService'][_0x2e6cc5(0x35d)][_0x2e6cc5(0x564)]()[_0x2e6cc5(0x4aa)],{'handler':(_0x340e2d,_0x4deaba,_0x471ebd)=>{const _0x36febc=_0x2e6cc5;var _0x13dfa8;let {unitId:_0x5b393e,subUnitId:_0x5d3c5a,scene:_0x48c953,resourceCollector:_0x1e630d}=_0x4deaba,_0x4fcb10=(_0x13dfa8=this[_0x36febc(0x2a8)][_0x36febc(0x538)](_0x5b393e))==null?void 0x0:_0x13dfa8[_0x5d3c5a];return _0x4fcb10==null||_0x4fcb10[_0x36febc(0x508)][_0x36febc(0x241)](_0x51eec5=>{const _0x4773a6=_0x36febc;let _0x26de4c=_0x4fcb10[_0x4773a6(0x3f7)][_0x51eec5];_0x26de4c[_0x4773a6(0x37f)]===_0x567e1d[_0x4773a6(0x2f1)]['DRAWING_SHAPE']&&!_0x26de4c['hidden']&&this[_0x4773a6(0x23e)][_0x4773a6(0x2a0)](_0x26de4c,_0x48c953,{'resourceCollector':_0x1e630d});}),_0x471ebd(_0x340e2d);}}));}};_0x189611=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x4bd)])),_0x519f13(0x1,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254))],_0x189611);let _0x1f125a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x175211,_0x18aa99,_0x23e206){const _0x266bfc=_0x718440;super(),this[_0x266bfc(0x594)]=_0x175211,this[_0x266bfc(0x4b5)]=_0x18aa99,this[_0x266bfc(0x3d2)]=_0x23e206,this[_0x266bfc(0x1d4)]();}[_0x718440(0x1d4)](){const _0x2c9804=_0x718440;this['disposeWithMe'](this[_0x2c9804(0x594)]['beforeCommandExecuted'](_0x334637=>{const _0x4acc9f=_0x2c9804;let _0x1573a0,_0x2000f7;if(_0x334637['id']===_0x239f56['InsertShapeCommand']['id']||_0x334637['id']===_0x239f56['SetShapeDrawingDataCommand']['id']||_0x334637['id']===_0x239f56['UpdateConnectorRelationCommand']['id']){let _0xba4f6e=_0x334637[_0x4acc9f(0x247)];_0x1573a0=_0xba4f6e[_0x4acc9f(0x45d)],_0x2000f7=_0xba4f6e[_0x4acc9f(0x31f)];}_0x1573a0&&_0x2000f7&&(this[_0x4acc9f(0x3d2)][_0x4acc9f(0x49e)]({'workbookTypes':[_0x11447f[_0x4acc9f(0x4c5)]],'worksheetTypes':[_0x11447f[_0x4acc9f(0x4fc)]]},_0x1573a0,_0x2000f7)||this[_0x4acc9f(0x3d2)][_0x4acc9f(0x47a)](this[_0x4acc9f(0x4b5)]['t'](_0x4acc9f(0x2c8))));}));}};_0x1f125a=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x1cf)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x3bf)]))],_0x1f125a);let _0x42fc7f=class{constructor(_0x97a758){const _0x28ab7a=_0x718440;this[_0x28ab7a(0x57e)]=_0x97a758;}[_0x718440(0x352)](_0x7b8b39,_0x50a4fa){const _0x5bc849=_0x718440;let _0x598815=this[_0x5bc849(0x57e)]['getRenderUnitById'](_0x7b8b39[_0x5bc849(0x45d)]),_0x24883a=_0x598815==null?void 0x0:_0x598815[_0x5bc849(0x53c)];if(!_0x24883a)return;let _0x58e170=(0x0,_0x36b4c7[_0x5bc849(0x56c)])(_0x7b8b39),_0x316bfd=_0x24883a[_0x5bc849(0x566)](_0x58e170);_0x316bfd==null||_0x316bfd['setFillImage'](_0x50a4fa);}};_0x42fc7f=_0xb31b0c([_0x519f13(0x0,_0x3e5eae['IRenderManagerService'])],_0x42fc7f);let _0x51e94d=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x4814fb=_0x3dd284,_0x21a8db,_0x46633f,_0x56fa76,_0x504408){const _0x50de6b=_0x718440;super(),this[_0x50de6b(0x561)]=_0x4814fb,this['_injector']=_0x21a8db,this[_0x50de6b(0x594)]=_0x46633f,this[_0x50de6b(0x43f)]=_0x56fa76,this[_0x50de6b(0x57e)]=_0x504408;let {..._0x32aec0}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x50de6b(0x561)]);this['_configService'][_0x50de6b(0x1c6)](_0x31802e,_0x32aec0),this[_0x50de6b(0x4bc)]();}['onStarting'](){const _0x530e17=_0x718440;this[_0x530e17(0x249)][_0x530e17(0x3e3)]([_0x26ba20]),this['_injector'][_0x530e17(0x39f)](_0x26ba20),(0x0,_0x567e1d[_0x530e17(0x54d)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x296)](){const _0x305c33=_0x718440;(0x0,_0x567e1d['registerDependencies'])(this['_injector'],[[_0x39d55c],[_0x5258f8],[_0x19fd0d]]),(0x0,_0x567e1d['touchDependencies'])(this[_0x305c33(0x249)],[[_0x19fd0d],[_0x5258f8]]),[[_0x39d55c],[_0x47426e],[_0x2dd992],[_0x2955f2]][_0x305c33(0x241)](_0x1a2d32=>{const _0x15c8c3=_0x305c33;this[_0x15c8c3(0x503)](this[_0x15c8c3(0x57e)]['registerRenderModule'](_0x567e1d[_0x15c8c3(0x1e5)][_0x15c8c3(0x2e6)],_0x1a2d32));});}[_0x718440(0x2b4)](){const _0x47d01f=_0x718440;(0x0,_0x567e1d[_0x47d01f(0x2d1)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x263)](){const _0x463716=_0x718440;this[_0x463716(0x249)][_0x463716(0x39f)](_0x29acd6)[_0x463716(0x1f2)]();}[_0x718440(0x4bc)](){const _0x14a6ce=_0x718440;[_0x31381b,_0x1f4f18,_0x2a6b80,_0x55f058][_0x14a6ce(0x241)](_0xdfa9=>this[_0x14a6ce(0x503)](this['_commandService'][_0x14a6ce(0x48b)](_0xdfa9)));}};_0x55cc91(_0x51e94d,_0x718440(0x19f),_0x567e1d[_0x718440(0x1e5)][_0x718440(0x2e6)]),_0x55cc91(_0x51e94d,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x51e94d,'packageName',_0x1b0553),_0x55cc91(_0x51e94d,_0x718440(0x345),_0x1ae96e),_0x51e94d=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35['UniverLicensePlugin'],_0x4d3fb2[_0x718440(0x31d)],_0x36b4c7['UniverDrawingPlugin'],_0x3e5eae['UniverRenderEnginePlugin'],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e['UniverShapeEditorPlugin'],_0x2ea516[_0x718440(0x231)],_0x239f56[_0x718440(0x4eb)],_0x17eed7[_0x718440(0x2ff)],_0x54a51b[_0x718440(0x4f6)],_0x5744c6[_0x718440(0x36a)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d['Injector'])),_0x519f13(0x2,_0x567e1d['ICommandService']),_0x519f13(0x3,_0x567e1d['IConfigService']),_0x519f13(0x4,_0x3e5eae['IRenderManagerService'])],_0x51e94d);let _0x26247f={'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x404630(){const _0x347b02=_0x718440;let _0x3cc03c=(0x0,_0x5744c6[_0x347b02(0x391)])(_0x36b4c7[_0x347b02(0x529)]),_0x396b6b=(0x0,_0x5744c6[_0x347b02(0x329)])(()=>_0x3cc03c[_0x347b02(0x470)],_0x3cc03c[_0x347b02(0x447)](),!0x1,[_0x3cc03c]);return _0x396b6b[_0x347b02(0x212)]===0x0?null:(0x0,_0x1a5094[_0x347b02(0x2bb)])('div',{'children':(0x0,_0x1a5094[_0x347b02(0x258)])('div',{'className':_0x347b02(0x28b),'children':[(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x44d5e4[_0x347b02(0x418)],{'drawings':_0x396b6b,'hasCropper':!0x1}),(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x2ea516['SheetDrawingAnchor'],{'drawings':_0x396b6b})]})});}function _0x25ee4c(_0x8b54a0){const _0x3879c9=_0x718440;let {unitId:_0x16ebd2,subUnitId:_0x1ec18d,shapeId:_0x27d42c}=_0x8b54a0,_0x59c657=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x567e1d[_0x3879c9(0x1cf)]),_0x50c84a=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x42fc7f);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x3879c9(0x40c)],{..._0x8b54a0,'positionEditor':(0x0,_0x1a5094[_0x3879c9(0x2bb)])(_0x404630,{}),'onUpdateShapeData':(_0x37ba89,_0x365d82)=>{_0x322a2b(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x37ba89,_0x365d82);},'onUpdateLineShapeData':(_0x489d02,_0x32b930)=>{_0x435eb2(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x489d02,_0x32b930);},'onUpdateShapeFillImage':_0x1bbde9=>{const _0x35889d=_0x3879c9;_0x50c84a[_0x35889d(0x352)]({'unitId':_0x16ebd2,'subUnitId':_0x1ec18d,'drawingId':_0x27d42c},_0x1bbde9);}});}function _0x22bbea(_0x37dcc3){const _0x15168c=_0x718440;let _0x11c1b8=(0x0,_0x5744c6[_0x15168c(0x391)])(_0x54a51b[_0x15168c(0x45a)]),_0x5c8b68=(0x0,_0x5744c6['useObservable'])(()=>_0x11c1b8['visible$'],_0x11c1b8['getVisible'](),!0x1,[_0x11c1b8]),_0x398a71=_0x37dcc3['popup'][_0x15168c(0x225)];return!_0x398a71||!_0x5c8b68?null:(0x0,_0x1a5094[_0x15168c(0x2bb)])(_0x5d5717,{..._0x398a71,'canvasElement':_0x37dcc3[_0x15168c(0x51a)][_0x15168c(0x451)]});}function _0x5d5717(_0x914db4){const _0x4f10e7=_0x718440;let _0x1fab5e=(0x0,_0x5744c6[_0x4f10e7(0x391)])(_0x567e1d['ICommandService']),_0x402e05=(0x0,_0x5744c6['useDependency'])(_0x239f56['SheetsShapeService']),{unitId:_0x59640e,subUnitId:_0x2f2047,drawingId:_0xc35e0c,drawingType:_0x21df54,shapeType:_0x50a12b}=_0x914db4,[_0x3711b8,_0x2fa01b]=(0x0,_0x58a2d5[_0x4f10e7(0x3f6)])(_0x914db4[_0x4f10e7(0x522)]),_0x1b7b28=(0x0,_0x58a2d5[_0x4f10e7(0x33b)])(()=>(0x0,_0x54a51b['getTextStyle'])(_0x3711b8),[_0x3711b8]),_0x4426c5=(0x0,_0x58a2d5['useMemo'])(()=>(0x0,_0x54a51b[_0x4f10e7(0x2c9)])(_0x3711b8),[_0x3711b8]);(0x0,_0x58a2d5['useEffect'])(()=>{let _0x45a96c=_0x1fab5e['onCommandExecuted'](_0x583b64=>{const _0xe28fb2=_0x49ca;if(_0x583b64['id']!==_0x239f56[_0xe28fb2(0x302)]['id'])return;let _0x39201e=_0x402e05[_0xe28fb2(0x203)](_0x59640e,_0x2f2047,_0xc35e0c);_0x39201e&&_0x2fa01b(_0x39201e);});return()=>_0x45a96c['dispose']();},[_0x1fab5e,_0xc35e0c,_0x402e05,_0x2f2047,_0x59640e]);let _0x2a792b=_0x2f49c9=>{_0x2fa01b(_0x26228d=>({..._0x26228d,..._0x2f49c9}));},_0x4fdca5=_0x1e0f04=>{const _0x4fecce=_0x4f10e7;let _0x4f30fa=(0x0,_0x54a51b[_0x4fecce(0x41f)])(_0x3711b8,_0x1e0f04);_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'shapeText':_0x3711b8[_0x4fecce(0x2b3)]}},_0x4f30fa),_0x2a792b(_0x4f30fa);},_0x1dff59=(0x0,_0x54a51b['useFormulaShapeToolbar'])({'hostType':_0x567e1d[_0x4f10e7(0x1e5)]['UNIVER_SHEET'],'unitId':_0x59640e,'subUnitId':_0x2f2047,'shapeId':_0xc35e0c,'shapeData':_0x3711b8,'onUpdateBinding':_0x18979f=>{const _0x18668b=_0x4f10e7;let _0x5d4b67={'formulaBinding':_0x18979f};_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'formulaBinding':_0x3711b8[_0x18668b(0x270)]}},_0x5d4b67),_0x2a792b(_0x5d4b67);}});return(0x0,_0x1a5094[_0x4f10e7(0x258)])(_0x1a5094[_0x4f10e7(0x312)],{'children':[(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x4f10e7(0x252)],{'canvasElement':_0x914db4['canvasElement'],'shapeData':_0x3711b8,'shapeType':_0x50a12b,'textStyle':{'ff':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x3f0)],'fs':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x2e0)],'cl':{'rgb':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x45e)]},..._0x1b7b28},'textModel':_0x4426c5?{'ha':_0x4426c5['ha']??_0x567e1d['HorizontalAlign'][_0x4f10e7(0x4df)],'va':_0x4426c5['va']??_0x567e1d[_0x4f10e7(0x435)][_0x4f10e7(0x3fb)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x3a0)],'defaultGradientEndColor':_0x34f551[_0x4f10e7(0x526)]['gradientEndColor'],'defaultStrokeColor':_0x34f551[_0x4f10e7(0x526)][_0x4f10e7(0x2a6)],'extensionGroups':_0x1dff59[_0x4f10e7(0x2ba)],'floatingObjectToolbarPosition':_0x5744c6[_0x4f10e7(0x4c3)][_0x4f10e7(0x441)],'onUpdateShapeData':(_0xbf0c00,_0x1b5704)=>{_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,_0xbf0c00,_0x1b5704),_0x1b5704&&_0x2a792b(_0x1b5704);},'onUpdateText':_0x4fdca5,'onOpenPanel':()=>{const _0x183100=_0x4f10e7;_0x1fab5e[_0x183100(0x3c0)](_0x55af59['id'],{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c});},'onDelete':()=>{const _0x1ac14a=_0x4f10e7;_0x1fab5e['executeCommand'](_0x1f8323[_0x1ac14a(0x464)]['id'],{'unitId':_0x59640e,'drawings':[{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c,'drawingType':_0x21df54}]});}}),_0x1dff59['panel']]});}function _0x5766af(_0x1e100b){const _0x26b2e0=_0x718440;return!!_0x1e100b&&_0x26b2e0(0x2ee)in _0x1e100b&&_0x26b2e0(0x513)in _0x1e100b;}let _0x2c9eb0=(0x0,_0x58a2d5[_0x718440(0x450)])(()=>{const _0xd9fff9=_0x718440;let _0x5887e7=(0x0,_0x5744c6['useDependency'])(_0x5c8f01),_0x3107d4=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x239f56[_0xd9fff9(0x3db)]),_0x2a9094=(0x0,_0x5744c6['useDependency'])(_0x36b4c7['IDrawingManagerService']),_0x11678c=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x567e1d[_0xd9fff9(0x1cf)]),_0xf38f31=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x5744c6[_0xd9fff9(0x1a3)]),_0x1ab2da=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x3e5eae[_0xd9fff9(0x39e)]),_0x3a7333=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'getShapeModel':(_0x1d8384,_0xd0e89d,_0x42675a)=>_0x3107d4[_0xd9fff9(0x459)](_0x1d8384,_0xd0e89d,_0x42675a),'getShapeData':(_0x3e778c,_0x25374e,_0x5898b3)=>_0x3107d4[_0xd9fff9(0x203)](_0x3e778c,_0x25374e,_0x5898b3),'getDrawingTransform':(_0x5839fd,_0x2da87f,_0x15bf7c)=>{const _0x22069e=_0xd9fff9;let _0x1f9e14=_0x2a9094[_0x22069e(0x37d)]({'unitId':_0x5839fd,'subUnitId':_0x2da87f,'drawingId':_0x15bf7c});return _0x1f9e14==null?void 0x0:_0x1f9e14[_0x22069e(0x4c7)];},'updateShapeText':({unitId:_0x34e862,subUnitId:_0x3978ce,shapeId:_0x239acd,shapeText:_0x710fbb,oldShapeText:_0x442738,hostSize:_0x117700})=>{const _0x2090e8=_0xd9fff9;_0xf38f31[_0x2090e8(0x388)](_0x34e862,()=>{const _0x2d3182=_0x2090e8;var _0x4493c8;let _0x4d8911=_0x11678c[_0x2d3182(0x34d)](_0x1f4f18['id'],{'unitId':_0x34e862,'subUnitId':_0x3978ce,'shapeId':_0x239acd,'shapeData':{'shapeText':_0x710fbb},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x442738}}});if(!_0x4d8911||!_0x117700)return _0x4d8911;let _0x6ee40a=_0x2a9094['getDrawingByParam']({'unitId':_0x34e862,'subUnitId':_0x3978ce,'drawingId':_0x239acd}),_0x1159df=_0x6ee40a==null?void 0x0:_0x6ee40a['transform'];if(!_0x5766af(_0x6ee40a)||!_0x1159df)return!0x1;let _0x4a5e24={..._0x1159df,'width':_0x117700[_0x2d3182(0x3d1)],'height':_0x117700[_0x2d3182(0x1ef)]},_0x14e897=(_0x4493c8=_0x1ab2da['getRenderUnitById'](_0x34e862))==null||(_0x4493c8=_0x4493c8[_0x2d3182(0x549)](_0x17eed7[_0x2d3182(0x204)])[_0x2d3182(0x52f)](_0x3978ce))==null?void 0x0:_0x4493c8[_0x2d3182(0x4f8)];return _0x11678c[_0x2d3182(0x34d)](_0x1f8323[_0x2d3182(0x41b)]['id'],{'unitId':_0x34e862,'drawings':[{..._0x6ee40a,'transform':_0x4a5e24,'sheetTransform':_0x14e897?(0x0,_0x1f8323['transformToDrawingPosition'])(_0x4a5e24,_0x14e897)??_0x6ee40a[_0x2d3182(0x513)]:_0x6ee40a['sheetTransform'],'axisAlignSheetTransform':_0x14e897?(0x0,_0x1f8323[_0x2d3182(0x37e)])(_0x4a5e24,_0x14e897)??_0x6ee40a['axisAlignSheetTransform']:_0x6ee40a[_0x2d3182(0x2ee)]}]});});},'updateHostSize':({unitId:_0xd70803,subUnitId:_0x3ea04c,shapeId:_0x16a528,width:_0x49a80d,height:_0x3906eb})=>{const _0x28bd18=_0xd9fff9;var _0x111a15;let _0x343d0e=_0x2a9094[_0x28bd18(0x37d)]({'unitId':_0xd70803,'subUnitId':_0x3ea04c,'drawingId':_0x16a528}),_0x2f0cc4=_0x343d0e==null?void 0x0:_0x343d0e[_0x28bd18(0x4c7)];if(!_0x5766af(_0x343d0e)||!_0x2f0cc4)return;let _0x4f6ead={..._0x2f0cc4,'width':_0x49a80d,'height':_0x3906eb},_0x6eb495=(_0x111a15=_0x1ab2da[_0x28bd18(0x403)](_0xd70803))==null||(_0x111a15=_0x111a15[_0x28bd18(0x549)](_0x17eed7[_0x28bd18(0x204)])[_0x28bd18(0x52f)](_0x3ea04c))==null?void 0x0:_0x111a15['skeleton'],_0x596e42=_0x6eb495?(0x0,_0x1f8323[_0x28bd18(0x473)])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x513)]:_0x343d0e[_0x28bd18(0x513)],_0x171272=_0x6eb495?(0x0,_0x1f8323['transformToAxisAlignPosition'])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x2ee)]:_0x343d0e[_0x28bd18(0x2ee)];_0x11678c[_0x28bd18(0x3c0)](_0x1f8323[_0x28bd18(0x41b)]['id'],{'unitId':_0xd70803,'drawings':[{..._0x343d0e,'transform':_0x4f6ead,'sheetTransform':_0x596e42,'axisAlignSheetTransform':_0x171272}]});},'allowHostSizeShrink':({unitId:_0x4f93e3,subUnitId:_0x18d4ef,shapeId:_0x3c2321})=>(0x0,_0x54a51b[_0xd9fff9(0x4a2)])(_0x3107d4['getShapeDataById'](_0x4f93e3,_0x18d4ef,_0x3c2321)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11678c,_0x2a9094,_0x1ab2da,_0x3107d4,_0xf38f31]),_0x35f5cf=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'viewportKeys':{'main':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x244)],'leftTop':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x434)],'top':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x1cb)],'left':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x536)]},'getSkeleton':(_0x6c6174,_0x47d655)=>{const _0x45ead4=_0xd9fff9;var _0x41bbdf;return((_0x41bbdf=_0x6c6174[_0x45ead4(0x549)](_0x17eed7[_0x45ead4(0x204)])['getSkeletonParam'](_0x47d655[_0x45ead4(0x31f)]))==null?void 0x0:_0x41bbdf[_0x45ead4(0x4f8)])??null;}}),[]);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0xd9fff9(0x493)],{'adapter':_0x3a7333,'editingService':_0x5887e7,'editorUnitId':_0x58dd4c,'positionOptions':_0x35f5cf});}),_0x5b23a2=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x19d80c,_0xbe6299){const _0x5d6cbd=_0x718440;super(),this[_0x5d6cbd(0x565)]=_0x19d80c,this[_0x5d6cbd(0x3fa)]=_0xbe6299,this[_0x5d6cbd(0x2cc)](),this[_0x5d6cbd(0x3e6)]();}['_registerIcons'](){const _0xa1cc92=_0x718440;this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)]('ObjectLayersIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ObjectLayersIcon':_0x31ea2d})),this['_iconManager'][_0xa1cc92(0x40d)]('FlipHorizontalIcon')||this[_0xa1cc92(0x503)](this['_iconManager'][_0xa1cc92(0x50a)]({'FlipHorizontalIcon':_0xfdb1e6})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x30b))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)]['register']({'FlipVerticalIcon':_0x5a8225})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x2b7))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'BottomIcon':_0x539c37})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x26a))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'MoveDownIcon':_0x230930})),this['_iconManager'][_0xa1cc92(0x40d)](_0xa1cc92(0x55a))||this['disposeWithMe'](this['_iconManager'][_0xa1cc92(0x50a)]({'MoveUpIcon':_0x14d267})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ShapeFormatSettingIcon':_0x53179a})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x267))||this['disposeWithMe'](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'TopmostIcon':_0x3f7a19}));}['_registerComponents'](){const _0x103146=_0x718440;this['disposeWithMe'](this['_componentManager'][_0x103146(0x50a)](_0x1b3159,_0x25ee4c)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x46acea,_0x32a716)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x4440a,_0x5bb668)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x16e69b,_0x192670)),this[_0x103146(0x565)][_0x103146(0x39f)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xa77841)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x708f5a,_0x22bbea)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5e79d8,_0x5d0f5f)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x1b92b5,_0x491081)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x70ed4a,_0x19da7f)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5908f2,_0xcd1106)),this['disposeWithMe'](this[_0x103146(0x565)][_0x103146(0x50a)](_0x4dfefd,_0x54a51b['ShapeTextFloatToolbar'])),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)]('SheetShapeTextEditorContainer',_0x2c9eb0));}};_0x5b23a2=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6['IconManager']))],_0x5b23a2);let _0x139a8e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x324080,_0x138e93,_0x439806,_0x4733fc,_0x5145f9,_0x2088cc,_0x42b920,_0x46d2b4,_0x1a9276){const _0x58279e=_0x718440;super();let _0x370f94=_0x4b3dcc=>{const _0x453a24=_0x49ca;var _0x193887,_0x377e32;return(((_0x193887=_0x46d2b4[_0x453a24(0x322)](new _0x11447f[(_0x453a24(0x4c5))](_0x4b3dcc[_0x453a24(0x45d)])['id']))==null?void 0x0:_0x193887['value'])??!0x0)&&(((_0x377e32=_0x46d2b4['getPermissionPoint'](new _0x11447f[(_0x453a24(0x4fc))](_0x4b3dcc[_0x453a24(0x45d)],_0x4b3dcc['subUnitId'])['id']))==null?void 0x0:_0x377e32[_0x453a24(0x52d)])??!0x0);},_0x5c7900=_0x222124=>_0x222124[_0x58279e(0x1fd)]&&_0x370f94(_0x222124)?_0x439806[_0x58279e(0x203)](_0x222124[_0x58279e(0x45d)],_0x222124['subUnitId'],_0x222124[_0x58279e(0x1fd)])??null:null,_0x54503c=()=>{const _0x466808=_0x58279e;let _0x5031d4=_0x5145f9[_0x466808(0x447)](),_0x99e38c=_0x5031d4[_0x466808(0x212)]===0x1?_0x5031d4[0x0]:null;return(_0x99e38c==null?void 0x0:_0x99e38c[_0x466808(0x37f)])===_0x567e1d[_0x466808(0x2f1)][_0x466808(0x20f)]&&_0x99e38c[_0x466808(0x45d)]===_0x324080[_0x466808(0x45d)]?{'unitId':_0x99e38c[_0x466808(0x45d)],'subUnitId':_0x99e38c['subUnitId'],'shapeId':_0x99e38c['drawingId']}:null;};this[_0x58279e(0x503)]((0x0,_0x54a51b[_0x58279e(0x299)])(_0x324080,_0x138e93,{'changes$':(0x0,_0x1d246a[_0x58279e(0x47e)])(_0x5145f9[_0x58279e(0x470)],_0x4733fc['editingParams$'],_0x46d2b4[_0x58279e(0x52e)]),'isActive':()=>{const _0x2cb2c8=_0x58279e;var _0x31ce69;return((_0x31ce69=_0x2088cc[_0x2cb2c8(0x2dc)]())==null?void 0x0:_0x31ce69[_0x2cb2c8(0x35f)]())===_0x324080['unitId']&&!_0x42b920[_0x2cb2c8(0x264)](_0x567e1d[_0x2cb2c8(0x532)])&&_0x5145f9['getFocusDrawings']()['some'](_0x17cee5=>_0x17cee5['unitId']===_0x324080['unitId']);},'getSelectedTarget':_0x54503c,'getSource':()=>{let _0x3ebf01=_0x54503c();return _0x3ebf01?_0x5c7900(_0x3ebf01):null;},'getTarget':_0x3e6ddc=>{const _0x2dd050=_0x58279e;let _0x42efa9=_0x324080[_0x2dd050(0x53c)][_0x2dd050(0x588)](new _0x3e5eae[(_0x2dd050(0x214))](_0x3e6ddc[_0x2dd050(0x4d5)],_0x3e6ddc[_0x2dd050(0x423)]));if(!(_0x42efa9 instanceof _0x5b187c))return null;let _0x4532a4={'unitId':_0x324080['unitId'],'subUnitId':_0x42efa9['subUnitId'],'shapeId':_0x42efa9[_0x2dd050(0x1fd)]};return _0x370f94(_0x4532a4)?_0x4532a4:null;},'getShape':_0x5c7900,'update':(_0x4c27ca,_0x5dd01a,_0x51d544)=>_0x1a9276[_0x58279e(0x3c0)](_0x1f4f18['id'],{..._0x4c27ca,'shapeData':_0x51d544,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5dd01a}})}));}};_0x139a8e=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x2de)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x4,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x5,_0x567e1d['IUniverInstanceService']),_0x519f13(0x6,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x7,_0x567e1d[_0x718440(0x39c)]),_0x519f13(0x8,_0x567e1d[_0x718440(0x1cf)])],_0x139a8e);let _0x149550='sheets-shape-contextual-ribbon',_0x53b597=class extends _0x567e1d['Disposable']{constructor(_0x5197bb,_0x5ab637,_0x38529f,_0x5ad02e,_0x2ae55e,_0x4eace3){const _0x38e396=_0x718440;super(),this[_0x38e396(0x4a3)]=_0x5197bb,this['_ribbonService']=_0x5ab637,this[_0x38e396(0x2a8)]=_0x38529f,this[_0x38e396(0x34a)]=_0x5ad02e,this[_0x38e396(0x57e)]=_0x2ae55e,this['_shapeFloatingToolbarService']=_0x4eace3,_0x55cc91(this,_0x38e396(0x48a),!0x1),this['_menuManagerService'][_0x38e396(0x429)](_0x5a4d9c),this[_0x38e396(0x503)]((0x0,_0x567e1d['toDisposable'])(this[_0x38e396(0x2a8)][_0x38e396(0x470)]['subscribe'](()=>this[_0x38e396(0x379)]()))),this[_0x38e396(0x379)]();}[_0x718440(0x4dd)](){const _0x57c785=_0x718440;this['_shapeFloatingToolbarService'][_0x57c785(0x21d)](!0x1,_0x149550),this[_0x57c785(0x21c)](),super['dispose']();}[_0x718440(0x379)](){const _0x264f46=_0x718440;var _0x1289cf;let _0x23aad1=this['_drawingManagerService'][_0x264f46(0x447)](),_0x1501fa=_0x23aad1[_0x264f46(0x212)]===0x1?_0x23aad1[0x0]:void 0x0;if((_0x1501fa==null?void 0x0:_0x1501fa[_0x264f46(0x37f)])!==_0x567e1d[_0x264f46(0x2f1)][_0x264f46(0x20f)]||this[_0x264f46(0x34a)][_0x264f46(0x331)](_0x1501fa[_0x264f46(0x45d)])!==_0x567e1d[_0x264f46(0x1e5)][_0x264f46(0x2e6)]){this['_shapeFloatingToolbarService'][_0x264f46(0x21d)](!0x1,_0x149550),this[_0x264f46(0x21c)]();return;}let _0x5248d1=(_0x1289cf=this[_0x264f46(0x57e)][_0x264f46(0x403)](_0x1501fa['unitId']))==null?void 0x0:_0x1289cf[_0x264f46(0x4ae)][_0x264f46(0x4dc)](),_0x163973=(0x0,_0x54a51b[_0x264f46(0x291)])(_0x5248d1)===_0x264f46(0x3da);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x163973,_0x149550),_0x163973){this['_hide']();return;}this[_0x264f46(0x48a)]||(this[_0x264f46(0x48a)]=!0x0,this[_0x264f46(0x29c)][_0x264f46(0x4d4)](_0x32af6f,{'activate':!0x0}));}[_0x718440(0x21c)](){const _0x262ebc=_0x718440;this['_visible']&&(this[_0x262ebc(0x48a)]=!0x1,this[_0x262ebc(0x29c)][_0x262ebc(0x460)](_0x32af6f),this[_0x262ebc(0x29c)]['setCollapsedIds']([]));}};_0x53b597=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,_0x5744c6['IRibbonService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,_0x3e5eae['IRenderManagerService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x54a51b['ShapeFloatingToolbarService']))],_0x53b597);let _0x4c6bc3=class extends _0x54a51b[_0x718440(0x297)]{constructor(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4){super(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4,{'componentKey':_0x4dfefd,'editorUnitId':_0x58dd4c});}};_0x4c6bc3=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x414)])),_0x519f13(0x2,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x321)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x3a2)])),_0x519f13(0x4,_0x567e1d['ICommandService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x4b0)])),_0x519f13(0x6,(0x0,_0x567e1d['Inject'])(_0x54a51b[_0x718440(0x284)])),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x480)])),_0x519f13(0x8,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x309)])),_0x519f13(0x9,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x4c6bc3);let _0x37583a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x3991e9,_0x19dc83,_0x5d1f7d,_0x34b9e8,_0x230c84,_0x2f5538,_0x1d0d66,_0x5b6334,_0x534748,_0xa69ab9,_0x2fcb3b){const _0x4616ee=_0x718440;super(),this[_0x4616ee(0x34a)]=_0x3991e9,this[_0x4616ee(0x448)]=_0x19dc83,this[_0x4616ee(0x4a3)]=_0x5d1f7d,this[_0x4616ee(0x4cd)]=_0x34b9e8,this['_localeService']=_0x230c84,this[_0x4616ee(0x594)]=_0x2f5538,this[_0x4616ee(0x2a8)]=_0x1d0d66,this[_0x4616ee(0x19a)]=_0x5b6334,this[_0x4616ee(0x469)]=_0x534748,this[_0x4616ee(0x57e)]=_0xa69ab9,this[_0x4616ee(0x4da)]=_0x2fcb3b,_0x55cc91(this,_0x4616ee(0x2b1),null),_0x55cc91(this,_0x4616ee(0x436),null),_0x55cc91(this,_0x4616ee(0x2fa),!0x1),_0x55cc91(this,'_shapeEditPanelVersion',0x0),_0x55cc91(this,_0x4616ee(0x3b7),null),_0x55cc91(this,'_disposePopups',[]),this[_0x4616ee(0x42b)](),this['disposeWithMe'](this[_0x4616ee(0x34a)]['getCurrentTypeOfUnit$'](_0x567e1d['UniverInstanceType'][_0x4616ee(0x2e6)])[_0x4616ee(0x374)](_0x222ce0=>{const _0x8ce2=_0x4616ee;if(!_0x222ce0){var _0x1e4155;(_0x1e4155=this[_0x8ce2(0x2b1)])==null||_0x1e4155[_0x8ce2(0x4dd)]();}})),this[_0x4616ee(0x200)](),this[_0x4616ee(0x1f2)](),this[_0x4616ee(0x503)](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x59deb4=>{const _0x2fd159=_0x4616ee;_0x59deb4&&this[_0x2fd159(0x21f)]();}));}[_0x718440(0x42b)](){const _0x5d1ca8=_0x718440;this[_0x5d1ca8(0x4a3)][_0x5d1ca8(0x429)](_0x4fc050);}[_0x718440(0x1f2)](){const _0x271707=_0x718440;this[_0x271707(0x3b7)]||=this[_0x271707(0x503)]((0x0,_0x54a51b['bindRenderTransformerLifecycle'])(this[_0x271707(0x57e)],_0x567e1d['UniverInstanceType'][_0x271707(0x2e6)],_0x1760ef=>this['_popupMenuListener'](_0x1760ef)));}[_0x718440(0x295)](_0xc3c0a6,_0x342713,_0x9acf82){const _0x2e441f=_0x718440;let _0x37f338=this['_sheetsShapeService'][_0x2e441f(0x2cd)](_0xc3c0a6,_0x342713,_0x9acf82),_0x2c17eb=this[_0x2e441f(0x4cd)][_0x2e441f(0x203)](_0xc3c0a6,_0x342713,_0x9acf82);return _0x37f338!==void 0x0&&_0x2c17eb!==void 0x0?{'shapeData':_0x2c17eb,'shapeId':_0x9acf82,'shapeType':_0x37f338,'unitId':_0xc3c0a6,'subUnitId':_0x342713,'version':this[_0x2e441f(0x282)],'disableShapeOption':!0x1}:null;}[_0x718440(0x21f)](){const _0x5a315a=_0x718440;this[_0x5a315a(0x49a)][_0x5a315a(0x241)](_0x3e3943=>_0x3e3943['dispose']()),this[_0x5a315a(0x49a)][_0x5a315a(0x212)]=0x0;}['_popupMenuListener'](_0x256edf){const _0x3f2a8c=_0x718440;let _0x19e9dc=new _0x567e1d[(_0x3f2a8c(0x3de))]();return _0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x2ad)][_0x3f2a8c(0x374)](()=>{const _0x407bd2=_0x3f2a8c;let _0x4959ee=_0x256edf['getSelectedObjectMap']();if(this[_0x407bd2(0x21f)](),this[_0x407bd2(0x2fa)]||_0x4959ee[_0x407bd2(0x2db)]>0x1)return;let _0x455cfd=_0x4959ee['values']()[_0x407bd2(0x34f)]()['value'];if(!_0x455cfd)return;let _0x481903=this['_drawingManagerService'][_0x407bd2(0x380)](_0x455cfd[_0x407bd2(0x1d1)]);if(!_0x481903||_0x481903['drawingType']!==_0x567e1d[_0x407bd2(0x2f1)]['DRAWING_SHAPE'])return;let {unitId:_0x5348a1,subUnitId:_0x3d8b38,drawingId:_0x45297c,drawingType:_0x33531d}=_0x481903,_0x34aa98=this[_0x407bd2(0x295)](_0x5348a1,_0x3d8b38,_0x45297c);if(!_0x34aa98)return;this['_contextService'][_0x407bd2(0x4b8)](_0x567e1d[_0x407bd2(0x457)],!0x0);let _0x434e6a=this['_renderManagerService'][_0x407bd2(0x403)](_0x5348a1),_0x3ada43=((_0x434e6a==null?void 0x0:_0x434e6a[_0x407bd2(0x343)])===!0x1?_0x434e6a[_0x407bd2(0x549)](_0x17eed7[_0x407bd2(0x339)]):this[_0x407bd2(0x19a)])[_0x407bd2(0x553)](_0x455cfd,{'componentKey':_0x708f5a,'direction':_0x407bd2(0x3ae),'offset':[0x0,_0x54a51b[_0x407bd2(0x53f)]],'extraProps':{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c,'drawingType':_0x33531d,'shapeType':_0x34aa98['shapeType'],'shapeData':_0x34aa98['shapeData']}});this[_0x407bd2(0x49a)]['push'](this[_0x407bd2(0x503)](_0x3ada43)),this['_drawingManagerService'][_0x407bd2(0x447)]()['find'](_0x8abb47=>_0x8abb47[_0x407bd2(0x45d)]===_0x5348a1&&_0x8abb47[_0x407bd2(0x31f)]===_0x3d8b38&&_0x8abb47['drawingId']===_0x45297c)||this[_0x407bd2(0x2a8)][_0x407bd2(0x1b3)]([{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c}]);})),_0x19e9dc['add'](_0x256edf['clearControl$'][_0x3f2a8c(0x374)](()=>{const _0x17e8f0=_0x3f2a8c;this['_clearPopups'](),this[_0x17e8f0(0x469)]['setContextValue'](_0x567e1d['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x17e8f0(0x1b3)](null);})),_0x19e9dc['add'](_0x256edf[_0x3f2a8c(0x4a4)][_0x3f2a8c(0x374)](()=>{const _0x2beea2=_0x3f2a8c;this[_0x2beea2(0x21f)]();})),_0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x4b3)][_0x3f2a8c(0x374)](()=>{const _0x5d568f=_0x3f2a8c;this[_0x5d568f(0x21f)]();})),(0x0,_0x567e1d[_0x3f2a8c(0x23c)])(()=>{const _0x38bf1e=_0x3f2a8c;_0x19e9dc[_0x38bf1e(0x4dd)](),this[_0x38bf1e(0x21f)]();});}['_registerOperations'](){const _0x2389a5=_0x718440;this[_0x2389a5(0x503)](this[_0x2389a5(0x594)][_0x2389a5(0x4c2)](_0x521198=>{const _0x25dc78=_0x2389a5;if(_0x521198['id']===_0x55af59['id']){let {unitId:_0xd28fa,subUnitId:_0x273dde,drawingId:_0x27e748}=_0x521198[_0x25dc78(0x247)];this[_0x25dc78(0x282)]+=0x1,this[_0x25dc78(0x436)]=this[_0x25dc78(0x295)](_0xd28fa,_0x273dde,_0x27e748),this[_0x25dc78(0x21f)](),this[_0x25dc78(0x585)]();}if(_0x521198['id']===_0x26247f['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0x521198['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x56f5d5,subUnitId:_0xcc5992,shapeId:_0x5c9c18}=_0x521198[_0x25dc78(0x247)];if(this[_0x25dc78(0x436)]&&this[_0x25dc78(0x436)][_0x25dc78(0x1fd)]===_0x5c9c18){let _0xeb49e6=this['_getShapeInfo'](_0x56f5d5,_0xcc5992,_0x5c9c18);_0xeb49e6&&(this[_0x25dc78(0x282)]+=0x1,_0xeb49e6[_0x25dc78(0x345)]=this[_0x25dc78(0x282)],this['_activeShapeInfo']=_0xeb49e6,this[_0x25dc78(0x2fa)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this['_drawingManagerService']['focus$']['subscribe'](_0x2e98cc=>{const _0x251e4b=_0x2389a5;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x2e98cc[_0x251e4b(0x212)]===0x0){this[_0x251e4b(0x436)]=null,this[_0x251e4b(0x209)]();return;}if(_0x2e98cc[_0x251e4b(0x212)]===0x1&&_0x2e98cc[0x0]['drawingType']===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x251e4b(0x436)]=this[_0x251e4b(0x295)](_0x2e98cc[0x0]['unitId'],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)])){this[_0x251e4b(0x585)]();return;}let _0x30b7da=_0x2e98cc['filter'](_0xe1952e=>_0xe1952e[_0x251e4b(0x37f)]===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']);if(_0x2e98cc[_0x251e4b(0x212)]>0x1&&_0x30b7da['length']===_0x2e98cc[_0x251e4b(0x212)]){if(this[_0x251e4b(0x282)]+=0x1,this[_0x251e4b(0x436)]=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x585)]();return;}}else{if(this[_0x251e4b(0x282)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0]['subUnitId'],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x436)][_0x251e4b(0x23a)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x251e4b(0x209)]();}));}[_0x718440(0x585)](){const _0x30b9bb=_0x718440;this[_0x30b9bb(0x436)]&&(this['_sidebarDisposable']=this['_sidebarService'][_0x30b9bb(0x395)]({'id':_0x1b3159,'header':{'title':this['_localeService']['t'](_0x30b9bb(0x4d6))},'width':0x184,'children':{'label':_0x1b3159,...this[_0x30b9bb(0x436)]},'onClose':()=>{const _0x362ee4=_0x30b9bb;this[_0x362ee4(0x2a8)]['focusDrawing'](null),this[_0x362ee4(0x469)][_0x362ee4(0x4b8)](_0x567e1d[_0x362ee4(0x457)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x718440(0x209)](){const _0x501c9a=_0x718440;this[_0x501c9a(0x2fa)]=!0x1,this['_sidebarService'][_0x501c9a(0x589)](_0x1b3159),this[_0x501c9a(0x2b1)]=null,this[_0x501c9a(0x469)][_0x501c9a(0x4b8)](_0x567e1d[_0x501c9a(0x457)],!0x1),this[_0x501c9a(0x2a8)][_0x501c9a(0x1b3)](null);}};_0x37583a=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x525)])),_0x519f13(0x2,_0x5744c6['IMenuManagerService']),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x4,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x5,_0x567e1d['ICommandService']),_0x519f13(0x6,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x7,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x8,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x9,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0xa,(0x0,_0x567e1d['Inject'])(_0x5c8f01))],_0x37583a);let _0x29c25b=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x48cad4=_0x3dd284,_0x156d62,_0x556893,_0x395b7e,_0x11b36f){const _0x4c19bb=_0x718440;super(),this[_0x4c19bb(0x561)]=_0x48cad4,this['_injector']=_0x156d62,this[_0x4c19bb(0x594)]=_0x556893,this[_0x4c19bb(0x43f)]=_0x395b7e,this[_0x4c19bb(0x57e)]=_0x11b36f;let {..._0x382d04}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x4c19bb(0x561)]);this[_0x4c19bb(0x43f)]['setConfig'](_0x31802e,_0x382d04),this[_0x4c19bb(0x4bc)]();}[_0x718440(0x2b4)](){const _0xdd0566=_0x718440;this[_0xdd0566(0x57e)][_0xdd0566(0x46a)](_0x567e1d[_0xdd0566(0x1e5)][_0xdd0566(0x420)],[_0x4c6bc3]),(0x0,_0x567e1d[_0xdd0566(0x2d1)])(this['_injector'],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611]]);}[_0x718440(0x263)](){const _0x3199f2=_0x718440;this['_injector']['get'](_0x37583a)[_0x3199f2(0x1f2)]();}['onReady'](){const _0x5936e2=_0x718440;[[_0x39d55c],[_0x5258f8],[_0x19fd0d]][_0x5936e2(0x241)](_0x4af4c1=>this[_0x5936e2(0x249)][_0x5936e2(0x3e3)](_0x4af4c1)),(0x0,_0x567e1d[_0x5936e2(0x2d1)])(this['_injector'],[[_0x19fd0d],[_0x5258f8]]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x39d55c]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x47426e]),this[_0x5936e2(0x57e)]['registerRenderModule'](_0x567e1d['UniverInstanceType'][_0x5936e2(0x2e6)],[_0x2dd992]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x26166d]),this[_0x5936e2(0x503)](this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x139a8e]));}['onStarting'](){const _0x3b936d=_0x718440;this[_0x3b936d(0x249)]['add']([_0x5b23a2]),this[_0x3b936d(0x249)]['get'](_0x5b23a2);let _0x7299e4=this[_0x3b936d(0x249)];[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]][_0x3b936d(0x241)](_0x19ceae=>_0x7299e4[_0x3b936d(0x3e3)](_0x19ceae)),(0x0,_0x567e1d[_0x3b936d(0x2d1)])(this[_0x3b936d(0x249)],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]]);}[_0x718440(0x4bc)](){const _0x226a37=_0x718440;[_0x31381b,_0x1f4f18,_0x26247f,_0x55af59,_0x465174,_0x2a6b80,_0x2ecd4a,_0x471ba4][_0x226a37(0x241)](_0x4df9fc=>this[_0x226a37(0x503)](this[_0x226a37(0x594)][_0x226a37(0x48b)](_0x4df9fc)));}};_0x55cc91(_0x29c25b,_0x718440(0x19f),_0x567e1d['UniverInstanceType'][_0x718440(0x2e6)]),_0x55cc91(_0x29c25b,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x29c25b,_0x718440(0x413),_0x1b0553),_0x55cc91(_0x29c25b,_0x718440(0x345),_0x1ae96e),_0x29c25b=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35[_0x718440(0x4e6)],_0x4d3fb2['UniverDocsPlugin'],_0x36b4c7[_0x718440(0x286)],_0x44d5e4[_0x718440(0x38a)],_0x3e5eae[_0x718440(0x495)],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e[_0x718440(0x2df)],_0x2ea516['UniverSheetsDrawingUIPlugin'],_0x239f56[_0x718440(0x4eb)],_0x17eed7['UniverSheetsUIPlugin'],_0x54a51b['UniverShapeEditorUIPlugin']),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x215)]),_0x519f13(0x4,_0x3e5eae[_0x718440(0x39e)])],_0x29c25b),_0x389d98['SheetsShapeUIContextualRibbonSchema']=_0x5a4d9c,_0x389d98[_0x718440(0x3b8)]=_0x4fc050,Object['defineProperty'](_0x389d98,_0x718440(0x2a5),{'enumerable':!0x0,'get':function(){return _0x51e94d;}}),Object[_0x718440(0x54c)](_0x389d98,_0x718440(0x471),{'enumerable':!0x0,'get':function(){return _0x29c25b;}});}));