@univerjs-pro/sheets-shape-ui 1.0.4 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) 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 +22 -22
  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/menu-dependencies.d.ts +0 -2
  87. package/lib/types/commands/menu/object-list.menu.d.ts +0 -4
  88. package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
  89. package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
  90. package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
  91. package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
  92. package/lib/types/commands/operations/actvie-drawing-operation.d.ts +0 -2
  93. package/lib/types/view-model/shape-data-model.d.ts +0 -8
  94. package/lib/types/views/ShapeOptions.d.ts +0 -26
  95. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -12
  96. package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
  97. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -2
  98. package/lib/types/views/shapes.d.ts +0 -58
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1e1c(){const _0xb1cf6a=['transform','next','setAdjustValueByName','_baseShapeTop','_registerImageShapeClipDelegate','UpdateSheetsShapeDataMutation','_connectorObjects','contentHeight','drawing-ui.objectListPanel.descriptionPlaceholder','@univerjs/sheets-drawing-ui','computeConnectorResizeLayout','disposeWithMe','_sheetBasicShapeConnectionPointController','MoveDownIcon','LocaleService','setProperty','Inject','ShapeFormulaService','abs','UpdateLineShapeResizeCommand','_baseShapeHeight','add$','_findShapeAtPoint','SheetDrawingAnchor','VerticalAlign','ObjectListPanelBase','Injector','ShapeModel','SetDrawingArrangeCommand','presetId','ShapeFormatSettingIcon','SolidFill','sheets-shape-ui.insertShape','getAdjustInfoByName','getOrCreateDrawingCopyPlan','DisposableCollection','7qctnSR','refreshTransform','_cxnIndex','DocSelectionManagerService','_baseShapeWidth','SHEET_SHAPE_UI_PLUGIN','_generateCutPasteMutations','stopPropagation','fillImageSource','oKey','non-scaling-stroke','Image','_focusedDrawings','resolveShapeTextDocumentPageHeight','_clearShapeConnectorHandlerObjects','2873245oJCApw','sheets-shape-ui.editShape','getUnit','setFormulaPresentation','M8\x206.2V7.8','fill','_drawingRenderService','DrawingApplyType','fillImageSourceType','IMenuManagerService','DocRenderController','_baseWidth','hadStyleAttribute','registerRenderModule','DRAWING_OBJECT_LAYER_INDEX','updateConnectionDetection','undo','ShapeFloatingToolbar','drawing-ui.objectListPanel.moveBackward','clearAdjustValue','_sheetDrawingService','UniverProShapeEditorUi','createShapeTextHyperLinkRegions','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','CURSOR_TYPE','Large','_sidebarDisposable','@univerjs/ui','adjustValues','ContextMenuGroup','_addShapeConnectorHandlerObject','editingParams$','Transform','updateDocumentDataMargin','0\x200\x2017\x2016','shape-adjust-point-','_initCommands','isInGroup','highlighted','isStartConnectorPoint','_initCopyPaste','_imageShapeClipController','entries','isCurvedConnectorShape','SheetsShapeService','sectionCanvas','localToWorld','setShapeData','translate','defineProperty','DependentOn','Circle','_attachConnectorObjectEvent','_init','_getConnectPointInfo','isolated','_shapeService','useLayoutEffect','marginTop','cxnPointFill','SheetsShapeUIContextualRibbonSchema','vertical-center','_findNearestConnectionSite','getBatchUpdateOp','renderDrawingShape','IDrawingManagerService','getConnectorLinePoints','updateShapeFillImage','getDrawingEditable','onSteady','cloneShapeDataForType','sheets-shape-ui.title','MobileShapeEditorService','InsertSheetsShapeMutation','max','CopySheetCommand','startX','left','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','_baseTop','_clearConnectionSites','sheet.operation.open-shape-object-list-panel','WorkbookEditablePermission','_baseLeft','_initEditingParams','getCurrentLastSelection','string','error','DocSelectionRenderService','_disposePopups','getViewportByCell','_connectionSiteObjects','UniverInstanceType','getEndConnectInfo','extensionGroups','@univerjs/docs','sheetViewStartColumn','useId','IPermissionService','getTextStyle','_registerIcons','getSkeleton','evenodd','createElement','_openShapeEditPanel','beforeCommandExecuted','asObservable','ShapeRenderModeEnum','SheetPermissionCheckController','transformVector2SceneCoord','sin','getBentTypeFromPoints','createControl$','_getImagePrstGeom','worldPoint','enableObjectsEvent','tag','SheetScrollManagerService','packageName','sheet.operation.open-sheet-shape-format-panel','TopmostIcon','#1a73e8','SheetShapeTextEditorContainer','RemoveSheetsShapeMutation','updateContext','getDrawingPoints','restore','startY','Module','Arrow','register','sheet.shape.edit.panel','viewportScrollY','reverse','_menuManagerService','drawingType','unit','_getShapeAdjustInfosById','getDrawingTypeNameKey','drawing-ui.objectListPanel.unlock','keys','_copyInfo','shape-text-','_sheetPermissionCheckController','getDrawingOrder','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','unsubscribe','SheetCanvasPopManagerService','point','rotation','resolveShapeContextualRibbonHostMode','useDependency','UniverDrawing','CROSSHAIR','permissionPointUpdate$','none','getPresentation','animationEnabled','_closeShapeEditPanel','ISidebarService','_loadShapePictureFill','resolveFormulaShapeAutoFitSize','ShapeTextRibbonControl','_clipService','onPointerUp$','_updateShapeAdjustControls','order','VIEW_MAIN_LEFT_TOP','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','sheets-shape-ui.ribbon.shape-format.style-control','_clearControls','sheets-shape-ui.objectListPanel.open','flipX','computeStraightConnectorLayout','_registerComponents','M8\x202.2V3.8','xlink:href','_commandService','activateDrawingObject','drawing-ui.objectListPanel.title','_sheetPrintInterceptorService','fillType','_permissionService','_initPermission','_activeTargetShapeId','pipe','resolveActiveShapeQuickStylePresetId','shouldAllowShapeTextEditorHostSizeShrink','_targetShapeId','_commandExecutedListener','registerShapeFormatPainter','_executeConnectedRouteResizeCommand','getState','_shapeEditPanelVersion','rxjs','UniverSheetsUi','CommandType','_sheetsShapeService','_groupCopyPasteController','invert','getCurrentRangeDisable$','_getZoomRatio','beginPath','stroke-width','ImageSourceTypeEnum','_drawingAddListener','ShapeTypeEnum','toDisposable','UniverDocsPlugin','setEditing','drawing-ui.objectListPanel.details','applyPoint','translateWithPrecision','plainShapeTextToDocumentData','_cxtHandlerPointerMove','buildClipPath','getRenderUnitById','objects','trim','@univerjs-pro/sheets-shape','_univerInstanceService','_index','useFormulaShapeToolbar','drawing-ui.objectListPanel.showAll','getContextValue','registerFeatureMenu','_getImageDrawingInfo','setCanUseShapeClip','sheet.shape.object-list.panel','_injector','index','startWith','setPrstGeomAdjValues','engine','localeService','_imageIoService','_shapeFloatingToolbarService','sheets-shape-ui.deleteShape','DocInterceptorService','getAdjustNames','DRAWING_IMAGE','calculate','_sheetDrawingShapeRenderController','data','23878294daPWLi','URL','@univerjs-pro/sheets-shape-ui','M2.2\x208H3.8','_addControl','delete','_urlImageService','_initMenu','blockExecuteWithoutPermission','OTHERS','setHighlighted','setContextValue','sheet.operation.update-shape-type','_getConnectionSiteAngle','attrs','drawing-ui.objectListPanel.sectionCanvas','drawFormulaShapeAnimationLayers','getObjectIncludeInGroup','_currentConnectionTarget','getMatrix','applyQuickStyleToShapeData','UniverProSheetsShapeUi','onCommandExecuted','setFillImage','Rect','shape-editor-ui.toolbar.quickStyles','mask','getShapeQuickStyleType','push','onReady','ShapePickerPanel','getSelectedObjectMap','drawing-ui.objectListPanel.filterLocked','setCursor','_getSceneAndTransformerByDrawingSearch','sheet.operation.open-mobile-shape-editor','doc','_registerOperations','sheets-shape-format-font-family-menu','dataModel','WorkbookCopyPermission','clearControl$','redo','clear','formulaBinding','IContextService','RENDER_CLASS_TYPE','hidden','ancestorTransform','vectorEffect','top','ShapeArrowTypeEnum','use','values','_completionFrame','UniverShapeEditorPlugin','disableObjectsEvent','getDrawingEffectBounds','MoveUpIcon','resize','_lastEditingShapeKey','adjHandleSize','sheet.shape.floating-toolbar','sheet.command.update-shape-data','sheet.shape.picker.component','has','mergeMenu','_formulaAnimation','getFocusDrawings','_update','InsertShapeCommand','width','image-clip-adjust-point-','includes','_shapePopupMenuDisposable','_getOrCreateShapeModel','ShapeFloatingToolbarService','ShapeFormulaRibbonControl','setOnSavingEditorData','UniverRenderEnginePlugin','getMenuHiddenObservable','jsxs','refreshShapeFillImage','_configService','_loadAndSetImage','_executeConnectedRouteConnectionCommand','setFallbackVisible','getSheetBySheetId','ConnectorCoordinateTransform','MEDIA','_insertShapes','_initSheetChange','WorksheetEditPermission','isLineShape','_draggingConnectorId','remove$','name','isReleased','syncExecuteCommand','useState','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.sectionFloating','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','from','_registerDrawingFocusChangeHandler','viewportScrollX','clearAdjustControls','_popupMenuListener','changeStart$','M10.2\x208H11.8','getShapeDataById','_shapeTextEditingService','dispose','discreteRangeToRange','backward','getDrawingOKey','interceptor','interceptCommand','PaintIcon','DRAWING_SHAPE','FOCUSING_SHAPE_TEXT_EDITOR','_config','featurePluginUpdateNotification','SheetSkeletonService','SHAPE_EDITOR_TRANSFORMER_CONFIG','5586690zRAjob','getConnectionSiteList','OPERATION','adjName','element','Disposable','path','unregister','drawing-ui.objectListPanel.close','UniverCore','sheets-shape-ui.config','getShapeType','_getShapeInfo','originalStrokeWidth','_clearPopups','BehaviorSubject','_activeShapeModel','1077ZMdTSg','ShapeDefaultConfig','isEditing','sheets-shape-ui.imagePanel.crop.shape','@univerjs-pro/license','querySelectorAll','UniverSheetsDrawingUi','SELECTOR','srcRect','getTransformerByCreate','_activeImageId','resetCursor','decorate','VIEW_MAIN_LEFT','_addShapeAdjustControl','prstGeom','_adjHandlerPointerUp','9MrZyZs','assign','_sheetInterceptorService','_drawRichTextLayer','_clearFocusedShape','clip','offsetY','sheets-shape-ui.flipVertical','onerror','_componentManager','UniverSheetsShapeMobileUIPlugin','_handleConnectedEndpointPointerUp','isRenderLinePointsMode','clipByShape','debounceRefreshControls','drawing-ui.objectListPanel.lockAll','_registerGroupFeaturePasteHook','replace','registerDependencies','Documents','removeAttribute','_hasReset','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','@univerjs/drawing','MenuManagerPosition','_registerMoveHandler','stroke','fontSize','sheets-shape-ui.ribbon.shape-format.arrange-forward','getBasicShapeRelation','6840280QhwBxa','min','react','_shapeRenderController','parse','bindRenderTransformerLifecycle','activeSheet$','_adjName','_activeShapeInfo','isHorizontal','transformToAxisAlignPosition','shapeType','_handleFreeEndpointMove','clip-','custom','SHAPE_TEXT','_updateTransform','scale','Vector2','_executeConnectionCommand','_isStartAdjusting','UPDATE','open','_isImagePointerDown','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','getPropertyValue','unitId','SetSheetDrawingCommand','createShapeTextBoxShapeData','_shapeUpdateListener','drawingId','UniverDrawingPlugin','executeCommand','_generatePasteMutations','object','SheetSkeletonManagerService','add','_releaseRenderCache','isHitLine','hasDefault','shape-editor-ui.arrange.backward','_adjHandlerPointerMove','onPointerDown$','useImperativeHandle','UniverSheetsUIPlugin','map','_drawingType','isHighlighted','title','shape-format-setting-icon','onStarting','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','useRef','switchMap','drawing-ui.objectListPanel.lock','ShapeTextHyperLinkPopupService','OBJECT_LIST_FLOATING_SECTION_ID','_sheetShapeAdjustController','update$','_updateImageAdjValues','cxnPointRadius','REMOVE','ISheetDrawingService','sqrt','getCurrentScrollState','UpdateConnectorRelationCommand','Observable','ICommandService','find','_activeShapeId','UniverShapeEditorMobileUIPlugin','run','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','8JzOnsB','M14\x208H14.2','getAdjustValueByName','back','useMemo','VIEW_MAIN_TOP','updateLinePoints','_resetState','IRenderManagerService','@univerjs/sheets-drawing','scene','FormulaShapeAnimationController','clearActiveDrawingObjects','panel','#4285f4','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','UniverDocsUIPlugin','shouldClipShapeTextDocument','_canEdit','_reset','setShapeProps','#bcbcbc','routeConnectorLineShape','shape-editor-ui.toolbar.changeShape','_registerFeatureMenu','endConnectionDetection','BUTTON','parseFloat','gradientEndColor','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','ShapeGroupEnum','getFocusedUnit','flip-vertical-icon','_baseShapeLeft','_editingParams$','wrapStrategy','object-layers-icon','drawing-ui.objectListPanel.expand','ComponentManager','viewBound','height','connection-site-','@univerjs/sheets-ui','getDrawingSearch','flip-horizontal-icon','_initEvents','isArray','worldRect','_registerFocusChangeHandler','React','_subUnitId','isDrawingObject','_cxtHandlerPointerUp','cxnPointStrokeWidth','vertical','shapeKey','removeProperty','UniverSheetsDrawingMobileUIPlugin','touchDependencies','flatMap','sheets-shape-ui.shape-format.quick-style-gallery','useReducer','_generateCopyPasteMutations','changeEnd$','DrawingRenderService','target','getDrawingShapeKeyByDrawingSearch','cos','DrawingTypeEnum','_renderManagerService','initShapePopupMenu','setSrcRect','UUID','_formulaShapes','normalizeShapeTextModel','SetDrawingSelectedOperation','ObjectLayersIcon','sheetTransform','_drawRichText','toStringTag','visible','attachPopupToObject','M4.2\x208.3H6.8','_hide','IImageIoService','displayName','iterator','FOCUSING_COMMON_DRAWINGS','getShapeModel','subscribeEvent','_isConnecting','_updateSrcRectByTransform','SheetsShapeUIMenuSchema','_draw','sheets-shape-ui.ribbon.shape-format.arrange-front','isFinite','SHAPE_CHANGE_PICKER_COMPONENT','stringify','RibbonInsertGroup','isMainScene','some','getShapeTextRect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','function','relation','_shapeFormulaService','transformToDrawingPosition','UniverUi','clipHeight','close','generateRandomId','UniverIcon','DocumentDataModel','setPrstGeom','forwardRef','_handleConnectorPointerUp','call','_sheetSkeletonService','startArrow','move-up-icon','UniverProLicense','0\x200\x2016\x2016','parent','drawing-ui.objectListPanel.unlockAll','drawing.operation.set-drawing-active','M8\x2014V14.2','getDrawingData','shape-editor-ui.arrange.front','Fragment','_localeService','canvas','description','drawing-ui.objectListPanel.filterHidden','getVisible','bottom-icon','_baseDrawingRect','UniverDesign','getParent','IconManager','_activeAdjustInfo','bottom','DocumentViewModel','_isShouldShowDrawingShapeAdjust','presentation','symbol','_showConnectionSites','_handleBasicShapeUpdateConnectorLineShape','clone','axisAlignSheetTransform','focus$','_addShapeConnectorHandlerObjects','makeDirty','resolveShapeTextDocumentRenderLayout','priority','MenuItemType','getValue','SHAPE','version','render','_clearShapeAdjustControls','IUndoRedoService','sheet.menu.shape.flip-vertical','None','getUnitType','sheets-shape-ui.permission.editErr','shapeText','_setTransForm','sheets-shape-ui.formatShape','drawing-ui.objectListPanel.collapse','currentColor','copyType','refreshAdjustControls','_onSavingEditorData$','forEach','2648xZVHDl','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-contextual-ribbon','getCurrentUnitOfType','M6.2\x208H7.8','BottomIcon','@univerjs/drawing-ui','params','LEFT','subUnitId','_props','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','jsx','subscribe','createInternalEditorID','SheetsDrawingGroupCopyPasteController','setPresentation','exports','_unitId','startConnectionDetection','defIds','current','Plugin','EMPTY','Line','useObservable','@univerjs-pro/shape-editor','RemoveSheetCommand','ShapeTextHyperLinkHoverController','sheets-shape-ui.shape-format.formula-ribbon-control','http://www.w3.org/2000/svg','isConnectorShape','_registerDrawingMoveHandler','getTransformer','ToggleSheetsShapeFlipCommand','react/jsx-runtime','angle','Path','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','_sheetCanvasPopManagerService','_shapeId','PRINTING_COMPONENT_COLLECT','url(#$1','VIEW_MAIN','UndoRedoGroupService','_iconManager','StraightConnector1','ShapeFillEnum','drawing-ui.objectListPanel.empty','getSheetId','_isDrawingShapePointDown','ShapeIcon','intercept','_executeResizeCommand','_currentScene','selectable','sheets-shape-ui.quickStyles','mode','_createShapeAdjustControls','strokeWidth','getCurrentSkeleton','_highlightedSiteIndex','connector-handler-','getObject','getStartConnectInfo','buildShapeTextDataUpdate','type','cxnPointStroke','ang','amd','getDrawingVisible','_initSelection','getSkeletonParam','sheets-shape-ui.shape-format.style-ribbon-control','doc.image-clip.shape-picker.component','round','deriveStateFromActiveSheet$','DRAWING','classType','_applyFormulaAutoFitSize','_contextService','getSheetCommandTarget','getAutoFitPresentations','with','100825PMAzYB','getBasicShapeRotateBound','hideContextualTab','_isOpenedShapeEditPanel','idSuffix','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','div','multiply','fromChangeset','PictureFill','pluginName','sheets-shape-ui.ribbon.shape-format','animateFormulaPresentation','localName','colorChannel1','FromArray','onPointerMove$','currentAdjustValues','drawing-ui.objectListPanel.hide','complete','setConfig','resolveHyperLinkAt','_moveConnectorWithShape','sheetViewStartRow','_visible','getConnectionInfo','_formulaKey','size','setShouldShowAdjust','isRichText','getEditing','contentVerticalOffset','calcAdjValues','pick','attachRangeWithCoord','canvasElement','src','@univerjs-pro/shape-editor-ui','_drawingManagerService','_hyperLinkRegions','sheets-shape-ui.shape-format.text-ribbon-control','endArrow','save','ShapeQuickStyleGallery','_context','FlipHorizontalIcon','IConfigService','_insertingShapeKeys','SheetsSelectionsService','copyId','isHit','SheetInterceptorService','getCurrentTypeOfUnit$','SetDrawingApplyMutation','memo','SheetPrintInterceptorService','drawing-ui.objectListPanel.show','activeAnObject','observe','getPermissionPoint','getDrawingByParam','@univerjs/sheets','_isStartConnectorPoint','getImage','HorizontalAlign','sheets-shape-ui.flipHorizontal','ArrangeTypeEnum','transformByState','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','createShapeFormulaDocument','offsetX','_drawShapeText','appliedStrokeWidth','_sidebarService','cxnIndex','_attachAdjustEvent','_initialize','flipY','getOwnPropertyDescriptor','sheet.operation.close-sheet-shape-format-panel','idMap','front','1em','UniverProShapeEditor','_disposed','_isHighlighted','move-down-icon','disableShapeOption','_clearCompletionFrame','_renderWithCache','focusDrawing','MobileObjectListPanel','draw','_updateAdjustControlPositions','INSERT','UniverEngineRender','getUnitId','COPY_TYPE','UniverSheetsPlugin','skeleton','completeEditing','UniverSheetsMobileUIPlugin','removeLinePoints','_activeShapeAdjustPointList','lineType','hasAttribute','_handleFreeEndpointPointerUp','drawing-ui.objectListPanel.search','clipTop','resolveShapeTextEditorWrapStrategy','extraProps','_getShapeAdjustPointListById','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','ShapeTextFloatToolbar','DEFAULT_PASTE','addObject','getInverseCoord','DocCanvasPopManagerService','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','drawWith','onDblclick$','ShapeFloatingToolbarToggleFactory','Medium','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','drawing-ui.objectListPanel.hideAll','_baseHeight','IUniverInstanceService','useEffect','formulaPresentation','pushUndoRedo','_drawSimpleText','preValue','getCanvasElement','registerCommand','shape-editor-ui.arrange.back','UNIVER_DOC','getBatchRemoveOp','resolveShapeTextHyperLinkObject','shapeData','shapeId','getShapeTypeById','sectionFloating','top-center','_createCopyInfoByRange','changing$','1.0.4','FlipVerticalIcon','_createControls','computeConnectorRouteLayout','getShapeData','filter','shape-editor-ui.arrange.forward','svg','UniverDrawingUi','univer-box-border\x20univer-px-4\x20univer-text-sm','text','onRendered','_getScrollInfo','TOP','normal','drawing-ui.objectListPanel.typeNames.','Shape','ISheetClipboardService','9415850CgwOdb','viewBox','prstGeomAdjValues','merge','attachTransformerTo','shapeModel','_handleConnectedEndpointMove','composeMatrix','ShapeTextHyperLinkInfo','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','defs','horizontal','WorksheetCopyPermission','GROUP','UNIVER_SHEET','_activeAdjustPointList','getBoundingClientRect','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','drawing-ui.objectListPanel.nameInput','set','SetShapeDrawingDataCommand','isRender','getRealBound','_transform','FormatPainterSessionService','length','COMMAND','style','_calculateFreeEndpointAngle','ContextMenuPosition','RemoveSheetDrawingCommand','getZoomRatio','baseVal','UniverProEngineShape','_getDrawingRect','reduce','permissionCheckWithoutRange','_currentUniverService','get','_shapes','showContextualTab','getConnectionRelation','ShapeEditPanel','children','UniverDrawingUIPlugin','drawing-ui.objectListPanel.lockHint','forward','getShapeQuickStylePreset','value','_ribbonService'];_0x1e1c=function(){return _0xb1cf6a;};return _0x1e1c();}function _0x2e4e(_0x93cb19,_0x354889){_0x93cb19=_0x93cb19-0x199;const _0x1e1c5f=_0x1e1c();let _0x2e4e35=_0x1e1c5f[_0x93cb19];return _0x2e4e35;}(function(_0x155869,_0x27d951){const _0x387377=_0x2e4e,_0x5940d4=_0x155869();while(!![]){try{const _0x34273c=-parseInt(_0x387377(0x39f))/0x1*(-parseInt(_0x387377(0x29d))/0x2)+-parseInt(_0x387377(0x224))/0x3*(parseInt(_0x387377(0x34b))/0x4)+-parseInt(_0x387377(0x4a7))/0x5+parseInt(_0x387377(0x213))/0x6*(-parseInt(_0x387377(0x498))/0x7)+-parseInt(_0x387377(0x253))/0x8*(-parseInt(_0x387377(0x235))/0x9)+-parseInt(_0x387377(0x442))/0xa+parseInt(_0x387377(0x59b))/0xb;if(_0x34273c===_0x27d951)break;else _0x5940d4['push'](_0x5940d4['shift']());}catch(_0x21f598){_0x5940d4['push'](_0x5940d4['shift']());}}}(_0x1e1c,0xb5a92),function(_0x477aad,_0x48c3ba){const _0x57b4a3=_0x2e4e;typeof exports==_0x57b4a3(0x276)&&typeof module<'u'?_0x48c3ba(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==_0x57b4a3(0x304)&&define[_0x57b4a3(0x390)]?define([_0x57b4a3(0x35c),_0x57b4a3(0x3c4),_0x57b4a3(0x4c2),'@univerjs-pro/engine-shape',_0x57b4a3(0x365),_0x57b4a3(0x582),'@univerjs/core',_0x57b4a3(0x3dc),_0x57b4a3(0x24c),'@univerjs/engine-render',_0x57b4a3(0x2c7),_0x57b4a3(0x569),_0x57b4a3(0x351),'@univerjs/design',_0x57b4a3(0x36e),_0x57b4a3(0x2a6),_0x57b4a3(0x228),_0x57b4a3(0x506),'@univerjs/docs-ui',_0x57b4a3(0x47d),_0x57b4a3(0x255)],_0x48c3ba):(_0x477aad=typeof globalThis<'u'?globalThis:_0x477aad||self,_0x48c3ba(_0x477aad[_0x57b4a3(0x1ab)]={},_0x477aad[_0x57b4a3(0x4bc)],_0x477aad[_0x57b4a3(0x308)],_0x477aad[_0x57b4a3(0x463)],_0x477aad[_0x57b4a3(0x3f2)],_0x477aad['UniverProSheetsShape'],_0x477aad[_0x57b4a3(0x21c)],_0x477aad['UniverSheets'],_0x477aad[_0x57b4a3(0x53f)],_0x477aad[_0x57b4a3(0x3fe)],_0x477aad[_0x57b4a3(0x56a)],_0x477aad[_0x57b4a3(0x569)],_0x477aad[_0x57b4a3(0x438)],_0x477aad[_0x57b4a3(0x325)],_0x477aad['React'],_0x477aad['UniverSheetsDrawing'],_0x477aad[_0x57b4a3(0x315)],_0x477aad['UniverDocs'],_0x477aad['UniverDocsUi'],_0x477aad[_0x57b4a3(0x22a)],_0x477aad[_0x57b4a3(0x2ce)]));}(this,function(_0x4a6de9,_0xba932b,_0x187e10,_0xd67e3f,_0x1397ca,_0x2f2bb5,_0x10e5f9,_0x32abfe,_0x15864b,_0x3458ba,_0x189be3,_0x364ff4,_0x2a7f32,_0x457cfe,_0x30a372,_0x40f1a1,_0x53a89d,_0x1ac066,_0x31aefd,_0x3c03b9,_0x18bd90){const _0x13ba7a=_0x2e4e;Object['defineProperty'](_0x4a6de9,Symbol[_0x13ba7a(0x2ec)],{'value':_0x13ba7a(0x527)});function _0x564b9f(_0x3df234,_0x2a0998){const _0x40eb29=_0x13ba7a;let _0x50b0ed={};for(let _0x139e72 of Object[_0x40eb29(0x533)](_0x2a0998)){let _0x1ac6c6=_0x2a0998[_0x139e72],_0x1c1798=_0x3df234[_0x139e72];if(_0x1c1798===void 0x0){_0x50b0ed[_0x139e72]=void 0x0;continue;}_0x50b0ed[_0x139e72]=typeof _0x1ac6c6==_0x40eb29(0x276)&&_0x1ac6c6&&!Array[_0x40eb29(0x2cb)](_0x1ac6c6)&&typeof _0x1c1798=='object'&&_0x1c1798&&!Array[_0x40eb29(0x2cb)](_0x1c1798)?_0x564b9f(_0x1c1798,_0x1ac6c6):_0x1c1798;}return _0x50b0ed;}let _0x6c1302={'type':_0x10e5f9[_0x13ba7a(0x56b)]['COMMAND'],'id':_0x13ba7a(0x1d5),'handler':(_0x1a8cb8,_0x4903c9)=>{const _0x43495e=_0x13ba7a;let _0x54703f=_0x1a8cb8[_0x43495e(0x468)](_0x2f2bb5[_0x43495e(0x4d3)]),{unitId:_0x29be53,subUnitId:_0x1b580b,shapeType:_0x96084d,shapeId:_0x2d0dd9,shapeData:_0x425921,replaceShapeData:_0x4a046a,oldShapeJSON:_0x5fddd0}=_0x4903c9;if(!_0x54703f[_0x43495e(0x2f5)](_0x29be53,_0x1b580b,_0x2d0dd9))return!0x1;let _0x321644=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9['ICommandService']),_0x72b35=_0x1a8cb8[_0x43495e(0x468)](_0x10e5f9[_0x43495e(0x33d)]),{oldShapeType:_0x4b761e,oldShapeData:_0x3c2ca3={}}=_0x5fddd0,_0x47bf82=_0x4a046a?_0x3c2ca3:_0x564b9f(_0x3c2ca3,_0x425921||{}),_0x5eb127={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x96084d,'shapeData':_0x425921,'replace':_0x4a046a}},_0x1089b0={'id':_0x2f2bb5[_0x43495e(0x479)]['id'],'params':{'unitId':_0x29be53,'subUnitId':_0x1b580b,'shapeId':_0x2d0dd9,'shapeType':_0x4b761e,'shapeData':_0x47bf82,'replace':_0x4a046a}};return _0x321644['syncExecuteCommand'](_0x5eb127['id'],_0x5eb127['params'])?(_0x72b35[_0x43495e(0x420)]({'unitID':_0x29be53,'undoMutations':[_0x1089b0],'redoMutations':[_0x5eb127]}),!0x0):!0x1;}};function _0x2b1bec(_0x2116f8,_0x1bbcc2,_0xea017a,_0x4ea819,_0x2ee224,_0x384511){const _0x520182=_0x13ba7a;let _0x5576af={'unitId':_0x1bbcc2,'subUnitId':_0xea017a,'shapeId':_0x4ea819,'shapeData':_0x384511,'oldShapeJSON':_0x2ee224};return _0x2116f8[_0x520182(0x274)](_0x6c1302['id'],_0x5576af);}function _0x595a99(_0x50c11b,_0x369b3b,_0x566f88,_0x435243,_0x4b4175,_0x544e4c){const _0x3a7223=_0x13ba7a;let _0x25e8ce={'unitId':_0x369b3b,'subUnitId':_0x566f88,'shapeId':_0x435243,'shapeData':_0x544e4c,'oldShapeJSON':_0x4b4175};return _0x50c11b[_0x3a7223(0x274)](_0x6c1302['id'],_0x25e8ce);}function _0x57f550(_0x16de12){'@babel/helpers - typeof';const _0x5708b4=_0x13ba7a;return _0x57f550=typeof Symbol=='function'&&typeof Symbol[_0x5708b4(0x2f3)]==_0x5708b4(0x32d)?function(_0x557b37){return typeof _0x557b37;}:function(_0xf35845){const _0x1d76da=_0x5708b4;return _0xf35845&&typeof Symbol==_0x1d76da(0x304)&&_0xf35845['constructor']===Symbol&&_0xf35845!==Symbol['prototype']?'symbol':typeof _0xf35845;},_0x57f550(_0x16de12);}function _0x36a0d5(_0x5d81e6,_0x583322){const _0x53825a=_0x13ba7a;if(_0x57f550(_0x5d81e6)!=_0x53825a(0x276)||!_0x5d81e6)return _0x5d81e6;var _0x47565f=_0x5d81e6[Symbol['toPrimitive']];if(_0x47565f!==void 0x0){var _0x5826cf=_0x47565f[_0x53825a(0x311)](_0x5d81e6,_0x583322||'default');if(_0x57f550(_0x5826cf)!=_0x53825a(0x276))return _0x5826cf;throw TypeError(_0x53825a(0x3a4));}return(_0x583322==='string'?String:Number)(_0x5d81e6);}function _0x11a17e(_0x270d38){const _0x35382e=_0x13ba7a;var _0x66ff9f=_0x36a0d5(_0x270d38,_0x35382e(0x4fd));return _0x57f550(_0x66ff9f)==_0x35382e(0x32d)?_0x66ff9f:_0x66ff9f+'';}function _0x5ae661(_0x2bb2d7,_0x36e58c,_0x4ffe9f){return(_0x36e58c=_0x11a17e(_0x36e58c))in _0x2bb2d7?Object['defineProperty'](_0x2bb2d7,_0x36e58c,{'value':_0x4ffe9f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2bb2d7[_0x36e58c]=_0x4ffe9f,_0x2bb2d7;}function _0x2bcad2(_0x458b5e,_0x13a776,_0x177958){const _0xfbe90=_0x13ba7a;let _0x58182b={..._0x13a776,'dataModel':{..._0x13a776['dataModel']??{},..._0x177958?{'doc':_0x177958}:null}},_0x19d54e=(0x0,_0xba932b['resolveShapeTextEditorBehaviorShapeData'])(_0x458b5e,_0x58182b),_0x22cbc3=(0x0,_0xba932b[_0xfbe90(0x40c)])(_0x19d54e);return{'clip':(0x0,_0xba932b[_0xfbe90(0x2ae)])(_0x19d54e,_0x22cbc3),'wrapStrategy':_0x22cbc3};}var _0x402866=class extends _0x3458ba['Shape']{constructor(_0x27568a,_0x481ba1){const _0x2b1bbb=_0x13ba7a;super(_0x27568a,_0x481ba1),_0x5ae661(this,_0x2b1bbb(0x3c6),[]),_0x5ae661(this,'_props',void 0x0),_0x5ae661(this,'_formulaAnimation',new _0xba932b[(_0x2b1bbb(0x2a8))](()=>this[_0x2b1bbb(0x334)](!0x0),()=>this[_0x2b1bbb(0x39a)]())),_0x5ae661(this,'_transformCalculateSrcRect',!0x0),_0x5ae661(this,_0x2b1bbb(0x282),_0x10e5f9[_0x2b1bbb(0x2e1)]['DRAWING_SHAPE']),_0x5ae661(this,_0x2b1bbb(0x2d0),!0x0),this[_0x2b1bbb(0x355)]={..._0x481ba1},this[_0x2b1bbb(0x1d9)][_0x2b1bbb(0x35b)](_0x481ba1[_0x2b1bbb(0x41f)],_0x481ba1[_0x2b1bbb(0x3ab)]!==!0x1),this['_init'](),this[_0x2b1bbb(0x39a)]();}[_0x13ba7a(0x4dc)](){const _0x4e046a=_0x13ba7a;this['onTransformChange$'][_0x4e046a(0x2f6)](_0x23c997=>{this['_updateSrcRectByTransform'](_0x23c997);});}[_0x13ba7a(0x30e)](_0x281a4d){const _0x2ec06d=_0x13ba7a;this[_0x2ec06d(0x355)][_0x2ec06d(0x233)]=_0x281a4d;}['resolveHyperLinkAt'](_0x68f76a){const _0x2ed7d0=_0x13ba7a;if(this[_0x2ed7d0(0x355)]['isEditing'])return null;let _0x1d3680=this[_0x2ed7d0(0x413)](_0x68f76a),{width:_0x5d65ad,height:_0x2d5b6e}=this['getRealBound']();return(0x0,_0xba932b['resolveShapeTextHyperLinkAt'])(this[_0x2ed7d0(0x3c6)],{'x':(this[_0x2ed7d0(0x553)]?-_0x1d3680['x']:_0x1d3680['x'])+_0x5d65ad/0x2,'y':_0x1d3680['y']+_0x2d5b6e/0x2});}[_0x13ba7a(0x578)](_0x2855d5){const _0x587ae3=_0x13ba7a;this[_0x587ae3(0x355)][_0x587ae3(0x226)]=_0x2855d5,this[_0x587ae3(0x334)](!0x0);}[_0x13ba7a(0x4aa)](_0x47d183,_0x3bd1a4=!0x0){const _0x18be68=_0x13ba7a;this[_0x18be68(0x1d9)]['setPresentation'](_0x47d183,_0x3bd1a4),this[_0x18be68(0x355)][_0x18be68(0x41f)]=_0x47d183,this[_0x18be68(0x39a)](),this[_0x18be68(0x334)](!0x0);}[_0x13ba7a(0x39a)](){const _0x31a211=_0x13ba7a;let _0x16cedb=this['_props'][_0x31a211(0x447)],_0x19657b=_0x16cedb['getShapeTextData'](),_0x4e8fa3=(0x0,_0xba932b[_0x31a211(0x2e7)])(_0x19657b==null?void 0x0:_0x19657b[_0x31a211(0x1bd)]),_0x55c3d7=_0x4e8fa3==null?void 0x0:_0x4e8fa3['doc'],_0x42aa56=this['_formulaAnimation'][_0x31a211(0x39d)]();if(!_0x55c3d7||_0x42aa56['length']===0x0)return;_0x16cedb['updateContext']({'width':this[_0x31a211(0x1dd)],'height':this[_0x31a211(0x2c5)]});let _0x5bbe92=(0x0,_0xba932b[_0x31a211(0x548)])({'documentData':_0x42aa56[_0x31a211(0x281)](_0x5ba10b=>(0x0,_0x1397ca[_0x31a211(0x3e4)])(_0x55c3d7,_0x5ba10b)),'height':this[_0x31a211(0x2c5)],'shapeData':_0x16cedb[_0x31a211(0x434)](),'textRect':_0x16cedb[_0x31a211(0x302)]({'left':0x0,'top':0x0,'width':this[_0x31a211(0x1dd)],'height':this['height']}),'width':this['width']});if(_0x5bbe92){var _0x5699ca;this['resize'](_0x5bbe92[_0x31a211(0x1dd)],_0x5bbe92[_0x31a211(0x2c5)]),(_0x5699ca=this['getScene']())==null||(_0x5699ca=_0x5699ca[_0x31a211(0x36c)]())==null||_0x5699ca[_0x31a211(0x243)]();}}get[_0x13ba7a(0x26e)](){const _0x254d9c=_0x13ba7a;return this[_0x254d9c(0x355)][_0x254d9c(0x26e)];}get[_0x13ba7a(0x354)](){const _0xc57f9e=_0x13ba7a;return this[_0xc57f9e(0x355)]['subUnitId'];}[_0x13ba7a(0x2f8)](_0x327b33){const _0x7604dd=_0x13ba7a;if(this[_0x7604dd(0x355)]['srcRect']==null||!this['_transformCalculateSrcRect'])return;let {width:_0x325335,height:_0x1adfb0}=this,{width:_0x17f23e=0x0,height:_0x330c1d=0x0}=_0x327b33[_0x7604dd(0x422)],{left:_0x19b6c3=0x0,top:_0x506df3=0x0,right:_0x124860=0x0,bottom:_0xea2870=0x0}=this[_0x7604dd(0x355)][_0x7604dd(0x22c)],_0x228770=_0x19b6c3,_0x363ffe=_0x506df3,_0xc3013e=_0x124860,_0x424ebf=_0xea2870,_0x4998e0=!0x1;if(_0x17f23e!==0x0&&_0x17f23e!==_0x325335){let _0x3f1c19=_0x19b6c3/_0x17f23e,_0x34fb02=_0x124860/_0x17f23e;_0x228770=_0x325335*_0x3f1c19,_0xc3013e=_0x325335*_0x34fb02,_0x4998e0=!0x0;}if(_0x330c1d!==0x0&&_0x330c1d!==_0x1adfb0){let _0x16780c=_0x506df3/_0x330c1d,_0x3e2ed6=_0xea2870/_0x330c1d;_0x363ffe=_0x1adfb0*_0x16780c,_0x424ebf=_0x1adfb0*_0x3e2ed6,_0x4998e0=!0x0;}_0x4998e0&&this[_0x7604dd(0x2e4)]({'left':_0x228770,'top':_0x363ffe,'right':_0xc3013e,'bottom':_0x424ebf});}[_0x13ba7a(0x2e4)](_0x440224){const _0x27dbdb=_0x13ba7a;this[_0x27dbdb(0x355)][_0x27dbdb(0x22c)]=_0x440224,this[_0x27dbdb(0x334)](!0x0);}[_0x13ba7a(0x1ad)](_0x104a74){const _0xc8441f=_0x13ba7a;this[_0xc8441f(0x355)]['image']=_0x104a74,this[_0xc8441f(0x334)](!0x0);}set['transform'](_0x3a4332){const _0x1e6b96=_0x13ba7a;this[_0x1e6b96(0x459)]=_0x3a4332;}get[_0x13ba7a(0x474)](){const _0x3c8fd1=_0x13ba7a;this[_0x3c8fd1(0x459)]||this[_0x3c8fd1(0x343)]();let _0x255055=this[_0x3c8fd1(0x459)][_0x3c8fd1(0x330)]();return this['transformForAngle'](_0x255055);}get[_0x13ba7a(0x447)](){const _0x80cca3=_0x13ba7a;return this['_props'][_0x80cca3(0x447)];}get['shapeId'](){const _0x5ec254=_0x13ba7a;return this[_0x5ec254(0x355)][_0x5ec254(0x42a)];}get[_0x13ba7a(0x399)](){const _0x3b0616=_0x13ba7a;return _0x3458ba[_0x3b0616(0x1c4)][_0x3b0616(0x339)];}[_0x13ba7a(0x2fa)](_0x38d52b,_0x1ecfc0,_0x26d5a1,_0x553e76){const _0x540e9d=_0x13ba7a;let _0x42dfb1=this[_0x540e9d(0x355)][_0x540e9d(0x447)];if(!_0x42dfb1||!_0x1ecfc0)return;let _0x30e539=_0x26d5a1??this[_0x540e9d(0x1dd)],_0x38fafd=_0x553e76??this[_0x540e9d(0x2c5)],_0x5b3e75={'shapeType':_0x42dfb1[_0x540e9d(0x21e)](),'width':_0x30e539,'height':_0x38fafd},_0x46dac0={'renderMode':_0xd67e3f[_0x540e9d(0x512)][_0x540e9d(0x370)],'oKey':this[_0x540e9d(0x4a1)],'image':this['_props']['image'],'angle':this[_0x540e9d(0x36f)]};_0x42dfb1[_0x540e9d(0x523)](_0x5b3e75),_0x38d52b[_0x540e9d(0x3c9)]();let _0x2f75a0={'top':0x0,'left':0x0,'width':_0x30e539,'height':_0x38fafd},_0x47e48e=_0x42dfb1[_0x540e9d(0x1cf)](_0x2f75a0);_0x47e48e?this[_0x540e9d(0x3f8)](_0x38d52b,_0x47e48e,_0xce1e3f=>{const _0x5101e3=_0x540e9d;_0x42dfb1[_0x5101e3(0x33b)](_0xce1e3f,_0x2f75a0,_0x46dac0);}):(this[_0x540e9d(0x279)](),_0x42dfb1[_0x540e9d(0x33b)](_0x38d52b,_0x2f75a0,_0x46dac0)),_0x38d52b['restore']();let _0xd815db=_0x42dfb1['getShapeTextData'](),_0x5e3e20=_0x42dfb1[_0x540e9d(0x302)](_0x2f75a0),_0x2e65e9=_0x42dfb1[_0x540e9d(0x1f3)]();if(_0xd815db&&_0x5e3e20&&!_0x2e65e9){_0x38d52b[_0x540e9d(0x3c9)](),this[_0x540e9d(0x567)]()[_0x540e9d(0x553)]&&_0x38d52b[_0x540e9d(0x264)](-0x1,0x1);let _0x30d40b=_0x30e539/0x2,_0x4f6ca7=_0x38fafd/0x2;_0x38d52b[_0x540e9d(0x4d7)](-_0x30d40b,-_0x4f6ca7),_0x38d52b['beginPath'](),this['_drawShapeText'](_0x38d52b,_0xd815db,_0x5e3e20),_0x38d52b[_0x540e9d(0x525)]();}}['getDrawingPoints'](_0x1875d0){}[_0x13ba7a(0x3e6)](_0x4ef413,_0x56a00f,_0x53fcfc){const _0x3d657b=_0x13ba7a;var _0x237f3e;this[_0x3d657b(0x3c6)]=[],!this['_props'][_0x3d657b(0x226)]&&(!((_0x237f3e=_0x56a00f[_0x3d657b(0x1bd)])!=null&&_0x237f3e[_0x3d657b(0x1ba)])&&_0x3d657b(0x3bc)in _0x56a00f&&_0x56a00f[_0x3d657b(0x3bc)]===!0x1?this['_drawSimpleText'](_0x4ef413,_0x56a00f,_0x53fcfc):this[_0x3d657b(0x2eb)](_0x4ef413,_0x56a00f,_0x53fcfc));}[_0x13ba7a(0x421)](_0x187c2e,_0x55f36d,_0x40618a){const _0x32a272=_0x13ba7a;this[_0x32a272(0x2eb)](_0x187c2e,{..._0x55f36d,'text':_0x55f36d[_0x32a272(0x43a)]??'','dataModel':{'doc':(0x0,_0xba932b[_0x32a272(0x57c)])(_0x55f36d,'sheets-shape-text-'+this[_0x32a272(0x4a1)])}},_0x40618a);}['_drawRichText'](_0x13fec4,_0xdf9738,_0x216eba){const _0x583872=_0x13ba7a;(0x0,_0xba932b[_0x583872(0x1a6)])(_0x13fec4,this[_0x583872(0x1d9)],(_0x4274ae,_0x4da0c8,_0xb3bd10)=>{const _0x5f2231=_0x583872;this[_0x5f2231(0x238)](_0x4274ae,_0xdf9738,_0x216eba,_0x4da0c8,_0xb3bd10===_0x5f2231(0x360));});}['_drawRichTextLayer'](_0x3b697d,_0x22865c,_0x11b7da,_0x3d8185,_0x557b9e){const _0x92781f=_0x13ba7a;let _0x7162ed=this[_0x92781f(0x355)][_0x92781f(0x591)];if(!_0x22865c[_0x92781f(0x1bd)]||!_0x7162ed)return;let _0x4a318a=(0x0,_0xba932b['normalizeShapeTextModel'])(_0x22865c['dataModel']);if(!_0x4a318a)return;let _0x1eda64=_0x4a318a[_0x92781f(0x1ba)];if(!_0x1eda64)return;let _0xe21ed3=(0x0,_0x1397ca[_0x92781f(0x3e4)])(_0x1eda64,_0x3d8185),_0x44eca3=_0x4a318a['va']??_0x10e5f9[_0x92781f(0x48c)][_0x92781f(0x43d)],_0x3a6bfb=_0x4a318a['ha']??_0x10e5f9[_0x92781f(0x3df)][_0x92781f(0x353)],_0x5adc06=_0x2bcad2(this[_0x92781f(0x355)]['shapeModel']['getShapeData'](),_0x22865c,_0xe21ed3),_0x58e25b=_0x22865c[_0x92781f(0x25c)],_0x382bf9=(0x0,_0xba932b['prepareShapeTextDocumentData'])(_0xe21ed3,{'isHorizontal':_0x58e25b!==!0x1,'textRect':_0x11b7da,'verticalAlign':_0x44eca3,'horizontalAlign':_0x3a6bfb,'wrapStrategy':_0x5adc06[_0x92781f(0x2c0)]}),_0x2c22ac=new _0x10e5f9[(_0x92781f(0x30d))](_0x382bf9),_0x20fecb=new _0x3458ba[(_0x92781f(0x32a))](_0x2c22ac),_0x1765c0=_0x3458ba['DocumentSkeleton']['create'](_0x20fecb,_0x7162ed);_0x1765c0[_0x92781f(0x598)]();let _0x470b75=_0x1765c0['getActualSize']()['actualHeight'],_0x5c5fb3=(0x0,_0xba932b[_0x92781f(0x335)])({'contentHeight':_0x470b75,'verticalAlign':_0x44eca3,'viewportHeight':_0x11b7da['height']});_0x2c22ac['updateDocumentStyle']({'pageSize':{'width':_0x58e25b===!0x1?_0x11b7da['height']:_0x11b7da[_0x92781f(0x1dd)],'height':(0x0,_0xba932b[_0x92781f(0x4a5)])(_0xe21ed3,_0x5c5fb3[_0x92781f(0x47b)])}}),_0x2c22ac[_0x92781f(0x4c8)]({'t':_0x5c5fb3[_0x92781f(0x4e1)]}),_0x1765c0[_0x92781f(0x598)]();let _0x58f656=new _0x3458ba[(_0x92781f(0x248))](_0x92781f(0x535)+this[_0x92781f(0x4a1)],_0x1765c0,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x92781f(0x334)](!0x0)});_0x58f656[_0x92781f(0x1d1)](_0x11b7da[_0x92781f(0x1dd)],_0x5c5fb3[_0x92781f(0x47b)]),_0x3b697d[_0x92781f(0x3c9)](),_0x3b697d[_0x92781f(0x57b)](_0x11b7da[_0x92781f(0x4f4)],_0x11b7da['top']),_0x5adc06[_0x92781f(0x23a)]&&(_0x3b697d[_0x92781f(0x571)](),_0x3b697d['rect'](0x0,_0x5c5fb3[_0x92781f(0x40b)],_0x11b7da['width'],_0x5c5fb3['clipHeight']),_0x3b697d[_0x92781f(0x23a)]()),_0x5c5fb3[_0x92781f(0x3be)]&&_0x3b697d['translateWithPrecision'](0x0,_0x5c5fb3[_0x92781f(0x3be)]),_0x58f656[_0x92781f(0x3fb)](_0x3b697d),_0x557b9e&&(this[_0x92781f(0x3c6)]=(0x0,_0xba932b[_0x92781f(0x4bd)])(_0x58f656,{'left':_0x11b7da[_0x92781f(0x4f4)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x3be)]},_0x5adc06[_0x92781f(0x23a)]?{'left':_0x11b7da[_0x92781f(0x4f4)],'right':_0x11b7da[_0x92781f(0x4f4)]+_0x11b7da[_0x92781f(0x1dd)],'top':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3[_0x92781f(0x40b)],'bottom':_0x11b7da[_0x92781f(0x1c8)]+_0x5c5fb3['clipTop']+_0x5c5fb3[_0x92781f(0x309)]}:void 0x0)),_0x3b697d[_0x92781f(0x525)](),_0x58f656[_0x92781f(0x206)](),_0x1765c0[_0x92781f(0x206)](),_0x20fecb[_0x92781f(0x206)](),_0x2c22ac[_0x92781f(0x206)]();}['render'](_0x350d2f,_0x508857,_0x2f9f57=!0x1){const _0x5641e2=_0x13ba7a;if(!this['visible'])return this[_0x5641e2(0x334)](!0x1),this;let {width:_0x4c08f7,height:_0x128779,left:_0x3472e8,top:_0x2ac023}=this,_0x4b3ee1=this[_0x5641e2(0x458)]();if(_0x4c08f7=_0x4b3ee1[_0x5641e2(0x1dd)],_0x128779=_0x4b3ee1['height'],_0x3472e8=_0x4b3ee1['left'],_0x2ac023=_0x4b3ee1[_0x5641e2(0x1c8)],this[_0x5641e2(0x457)](_0x508857)){let {top:_0x9bdc2a,left:_0x2fbdf6,bottom:_0x3a8097,right:_0x1846a2}=_0x508857[_0x5641e2(0x2c4)];if(_0x4c08f7+this['strokeWidth']+_0x3472e8<_0x2fbdf6||_0x1846a2<_0x3472e8||_0x128779+this[_0x5641e2(0x386)]+_0x2ac023<_0x9bdc2a||_0x3a8097<_0x2ac023)return this;}let _0x5c9cd1=_0x3472e8+_0x4c08f7/0x2,_0x43d4b4=_0x2ac023+_0x128779/0x2,_0x5b83be=this['transform'][_0x5641e2(0x1a9)]();if(this[_0x5641e2(0x355)][_0x5641e2(0x226)]){let _0x1d7cec=this[_0x5641e2(0x567)](),_0x47055b=new _0x3458ba[(_0x5641e2(0x4c7))]();_0x47055b[_0x5641e2(0x449)]({..._0x1d7cec}),_0x5b83be=_0x47055b[_0x5641e2(0x1a9)]();}return _0x350d2f[_0x5641e2(0x3c9)](),this[_0x5641e2(0x355)]['shapeModel'][_0x5641e2(0x241)]===!0x0||_0x350d2f[_0x5641e2(0x474)](_0x5b83be[0x0],_0x5b83be[0x1],_0x5b83be[0x2],_0x5b83be[0x3],_0x5c9cd1,_0x43d4b4),this['_draw'](_0x350d2f,_0x508857,_0x4c08f7,_0x128779),_0x350d2f[_0x5641e2(0x525)](),this['makeDirty'](!0x1),this;}[_0x13ba7a(0x413)](_0x15ed3f){const _0x539bfc=_0x13ba7a;let {left:_0xa7864a,top:_0x1f8f83,width:_0x4e15a8,height:_0x50cf17}=this[_0x539bfc(0x458)](),_0x166857=this[_0x539bfc(0x474)][_0x539bfc(0x1a9)](),_0xd0b8d4=_0xa7864a+_0x4e15a8/0x2,_0x86e5=_0x1f8f83+_0x50cf17/0x2,_0x35e9b1=new _0x3458ba[(_0x539bfc(0x4c7))]([_0x166857[0x0],_0x166857[0x1],_0x166857[0x2],_0x166857[0x3],_0xd0b8d4,_0x86e5]),_0x1fc1f6=this[_0x539bfc(0x326)]();return(this[_0x539bfc(0x4cc)]&&(_0x1fc1f6==null?void 0x0:_0x1fc1f6[_0x539bfc(0x399)])===_0x3458ba[_0x539bfc(0x1c4)][_0x539bfc(0x44f)]?_0x1fc1f6['ancestorTransform'][_0x539bfc(0x3a6)](_0x35e9b1):_0x35e9b1)['invert']()[_0x539bfc(0x57a)](_0x15ed3f);}[_0x13ba7a(0x3d1)](_0xa936a3){const _0x3c475a=_0x13ba7a;let {left:_0x97ff50,top:_0x1a3d3b,width:_0x3c9326,height:_0x5b0487}=this[_0x3c475a(0x458)](),_0x9dacb1=_0x97ff50+_0x3c9326/0x2,_0x58741e=_0x1a3d3b+_0x5b0487/0x2,_0xf8508c=this[_0x3c475a(0x474)][_0x3c475a(0x1a9)](),_0x53bfd6=new _0x3458ba[(_0x3c475a(0x4c7))]([_0xf8508c[0x0],_0xf8508c[0x1],_0xf8508c[0x2],_0xf8508c[0x3],_0x9dacb1,_0x58741e]),_0x415380=this['getParent'](),_0x4bf578=(this[_0x3c475a(0x4cc)]&&(_0x415380==null?void 0x0:_0x415380[_0x3c475a(0x399)])===_0x3458ba[_0x3c475a(0x1c4)][_0x3c475a(0x44f)]?_0x415380[_0x3c475a(0x1c6)]['multiply'](_0x53bfd6):_0x53bfd6)[_0x3c475a(0x56e)]()['applyPoint'](_0xa936a3),_0x10e898=_0x3c9326/0x2,_0x2ad52d=_0x5b0487/0x2,_0x343643=this['_props'][_0x3c475a(0x447)];return _0x343643&&_0x343643['isLineShape']()?_0x343643[_0x3c475a(0x27a)](_0x4bf578['x'],_0x4bf578['y'],_0x3c9326,_0x5b0487):_0x4bf578['x']>=-_0x10e898-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['x']<=_0x10e898+this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']>=-_0x2ad52d-this[_0x3c475a(0x386)]/0x2&&_0x4bf578['y']<=_0x2ad52d+this['strokeWidth']/0x2;}['dispose'](){const _0x4887a2=_0x13ba7a;this[_0x4887a2(0x1d9)][_0x4887a2(0x206)](),this['_props']['shapeModel']=null,super[_0x4887a2(0x206)]();}},_0x537ea9=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x47d0fa,_0x53d398){const _0x1d1b59=_0x13ba7a;super(_0x47d0fa,_0x53d398),_0x5ae661(this,_0x1d1b59(0x373),null),_0x5ae661(this,_0x1d1b59(0x25a),null),_0x5ae661(this,_0x1d1b59(0x35d),null),_0x5ae661(this,_0x1d1b59(0x2cf),null),_0x53d398&&this['setShapeProps'](_0x53d398);}[_0x13ba7a(0x2c8)](){const _0x341a3e=_0x13ba7a;return{'unitId':this[_0x341a3e(0x35d)],'subUnitId':this[_0x341a3e(0x2cf)],'drawingId':this[_0x341a3e(0x373)]};}[_0x13ba7a(0x2b1)](_0x4a6f6){const _0x122825=_0x13ba7a;_0x4a6f6[_0x122825(0x42a)]!==void 0x0&&(this['_shapeId']=_0x4a6f6[_0x122825(0x42a)]),_0x4a6f6[_0x122825(0x216)]!==void 0x0&&(this['_adjName']=_0x4a6f6[_0x122825(0x216)]),_0x4a6f6[_0x122825(0x26e)]!==void 0x0&&(this[_0x122825(0x35d)]=_0x4a6f6[_0x122825(0x26e)]),_0x4a6f6[_0x122825(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4a6f6[_0x122825(0x354)]),this[_0x122825(0x3e2)]({'width':_0x4a6f6[_0x122825(0x1dd)],'height':_0x4a6f6['height']});}[_0x13ba7a(0x2fa)](_0x4f88f0){const _0x46e029=_0x13ba7a;_0x3458ba[_0x46e029(0x4da)]['drawWith'](_0x4f88f0,{'radius':_0xd67e3f[_0x46e029(0x225)][_0x46e029(0x1d3)],'fill':_0xd67e3f[_0x46e029(0x225)]['adjHandleFill'],'stroke':_0xd67e3f['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x174396(_0x2a4618,_0x1bf059){return function(_0x155de9,_0x2a1330){_0x1bf059(_0x155de9,_0x2a1330,_0x2a4618);};}function _0x12f75a(_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c){const _0x3fd3f5=_0x13ba7a;var _0x4aa284=arguments[_0x3fd3f5(0x45b)],_0x4dd386=_0x4aa284<0x3?_0xc6f380:_0x407a1c===null?_0x407a1c=Object[_0x3fd3f5(0x3ed)](_0xc6f380,_0xbf811):_0x407a1c,_0x45c30f;if(typeof Reflect==_0x3fd3f5(0x276)&&typeof Reflect['decorate']==_0x3fd3f5(0x304))_0x4dd386=Reflect[_0x3fd3f5(0x230)](_0x23edc4,_0xc6f380,_0xbf811,_0x407a1c);else{for(var _0x15fb5=_0x23edc4['length']-0x1;_0x15fb5>=0x0;_0x15fb5--)(_0x45c30f=_0x23edc4[_0x15fb5])&&(_0x4dd386=(_0x4aa284<0x3?_0x45c30f(_0x4dd386):_0x4aa284>0x3?_0x45c30f(_0xc6f380,_0xbf811,_0x4dd386):_0x45c30f(_0xc6f380,_0xbf811))||_0x4dd386);}return _0x4aa284>0x3&&_0x4dd386&&Object[_0x3fd3f5(0x4d8)](_0xc6f380,_0xbf811,_0x4dd386),_0x4dd386;}let _0x5191eb=class extends _0x10e5f9['Disposable']{constructor(_0x3664d7,_0x712e95,_0xcad439,_0x312a35,_0x1d5052,_0x505667){const _0x59dc62=_0x13ba7a;super(),this[_0x59dc62(0x3c5)]=_0x3664d7,this['_sheetsShapeService']=_0x712e95,this[_0x59dc62(0x31e)]=_0xcad439,this[_0x59dc62(0x592)]=_0x312a35,this[_0x59dc62(0x19c)]=_0x1d5052,this[_0x59dc62(0x306)]=_0x505667,_0x5ae661(this,_0x59dc62(0x2e6),new Map()),this[_0x59dc62(0x47f)](this['_shapeFormulaService']['presentationChanged$']['subscribe'](_0x15445d=>{const _0x455c0f=_0x59dc62;var _0x42d571;(_0x42d571=this[_0x455c0f(0x2e6)][_0x455c0f(0x468)](this[_0x455c0f(0x3b9)](_0x15445d[_0x455c0f(0x26e)],_0x15445d[_0x455c0f(0x354)],_0x15445d['shapeId'])))==null||_0x42d571[_0x455c0f(0x34a)](_0x382077=>_0x382077[_0x455c0f(0x4aa)](_0x15445d[_0x455c0f(0x32c)],_0x15445d[_0x455c0f(0x544)]));})),this[_0x59dc62(0x47f)](this['_drawingManagerService'][_0x59dc62(0x1f5)][_0x59dc62(0x358)](_0x48b4a8=>{const _0x57191c=_0x59dc62;_0x48b4a8[_0x57191c(0x34a)](_0xd88c09=>{const _0x1f28d8=_0x57191c;this[_0x1f28d8(0x306)][_0x1f28d8(0x21a)]({'unitId':_0xd88c09['unitId'],'subUnitId':_0xd88c09[_0x1f28d8(0x354)],'shapeId':_0xd88c09[_0x1f28d8(0x272)]}),this[_0x1f28d8(0x2e6)][_0x1f28d8(0x19b)](this['_formulaKey'](_0xd88c09['unitId'],_0xd88c09['subUnitId'],_0xd88c09[_0x1f28d8(0x272)]));});}));}[_0x13ba7a(0x4e7)](_0x477902,_0x19a35e,_0x25246c){const _0x4246d9=_0x13ba7a;let {transform:_0xa5c6ee,drawingType:_0x34df82,srcRect:_0x43f98e,prstGeom:_0x483571,groupId:_0x4370ab,unitId:_0xe8fab6,subUnitId:_0x53e65e,drawingId:_0x2cb877,isMultiTransform:_0x3bfa32,transforms:_0x37a4f2,hidden:_0x39a62e,selectable:_0x1a2615}=_0x477902;if(_0x34df82!==_0x10e5f9[_0x4246d9(0x2e1)][_0x4246d9(0x20d)]||!this[_0x4246d9(0x3c5)][_0x4246d9(0x391)]()||_0xa5c6ee==null)return;let _0x5569f5=this[_0x4246d9(0x3c5)][_0x4246d9(0x4eb)](),_0x42802a=_0x3bfa32&&_0x37a4f2?_0x37a4f2:[_0xa5c6ee],_0x2cfd28=[];for(let _0x50f97c of _0x42802a){let {left:_0x213121,top:_0x55f49a,width:_0x4f681c,height:_0x120fd1,angle:_0xb41b03,flipX:_0x585186,flipY:_0x5ebf15,skewX:_0x82d406,skewY:_0x5550be}=_0x50f97c,_0x30880a=_0x42802a['indexOf'](_0x50f97c),_0x5cb8db=(0x0,_0x15864b[_0x4246d9(0x2df)])({'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'drawingId':_0x2cb877},_0x3bfa32?_0x30880a:void 0x0),_0x8581e7=_0x19a35e['getObjectIncludeInGroup'](_0x5cb8db);if(_0x8581e7!=null){let _0x4c16d={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x8581e7 instanceof _0x402866&&this['refreshFormulaPresentation'](_0x8581e7,_0x4c16d),_0x8581e7['transformByState']({'left':_0x213121,'top':_0x55f49a,'width':_0x4f681c,'height':_0x120fd1,'angle':_0xb41b03,'flipX':_0x585186,'flipY':_0x5ebf15,'skewX':_0x82d406,'skewY':_0x5550be});continue;}let _0x3fd21c=this[_0x4246d9(0x3c5)][_0x4246d9(0x537)](_0xe8fab6,_0x53e65e),_0x2db25b=_0x3fd21c['indexOf'](_0x2cb877);if(_0x19a35e[_0x4246d9(0x1a7)](_0x5cb8db)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x15a2bb=this['_sheetsShapeService'][_0x4246d9(0x2f5)](_0xe8fab6,_0x53e65e,_0x2cb877);if(!_0x15a2bb)continue;let _0x37c411=(0x0,_0xd67e3f[_0x4246d9(0x36a)])(_0x15a2bb[_0x4246d9(0x21e)]())?{..._0xba932b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0xba932b[_0x4246d9(0x212)],_0x1ac42f=_0x15a2bb['getShapeData']()['formulaBinding'],_0xb34fe2={'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'shapeId':_0x2cb877};_0x1ac42f&&this[_0x4246d9(0x306)][_0x4246d9(0x529)](_0xb34fe2,_0x1ac42f);let _0x2ff9bf=new _0x402866(_0x5cb8db,{..._0x50f97c,'zIndex':_0x2db25b===-0x1?_0x3fd21c[_0x4246d9(0x45b)]-0x1:_0x2db25b,'shapeModel':_0x15a2bb,'localeService':this[_0x4246d9(0x31e)],'shapeId':_0x2cb877,'unitId':_0xe8fab6,'subUnitId':_0x53e65e,'visible':_0x39a62e!==!0x0,'evented':_0x1a2615!==!0x1,'formulaPresentation':_0x1ac42f?this[_0x4246d9(0x306)][_0x4246d9(0x543)](_0xb34fe2):void 0x0,'animateFormulaPresentation':(_0x1ac42f==null?void 0x0:_0x1ac42f[_0x4246d9(0x544)])!==!0x1,'transformerConfig':_0x37c411});if(_0x1ac42f){let _0x4a0a32=this[_0x4246d9(0x3b9)](_0xe8fab6,_0x53e65e,_0x2cb877),_0x19f891=this[_0x4246d9(0x2e6)]['get'](_0x4a0a32)??new Set();_0x19f891['add'](_0x2ff9bf),this[_0x4246d9(0x2e6)][_0x4246d9(0x455)](_0x4a0a32,_0x19f891);}_0x19a35e[_0x4246d9(0x412)](_0x2ff9bf,_0x3458ba[_0x4246d9(0x4b5)]),_0x5569f5&&_0x19a35e[_0x4246d9(0x446)](_0x2ff9bf),_0x4370ab&&(0x0,_0x2a7f32['insertGroupObject'])({'drawingId':_0x4370ab,'unitId':_0xe8fab6,'subUnitId':_0x53e65e},_0x2ff9bf,_0x19a35e,this[_0x4246d9(0x3c5)]),_0x483571!=null&&_0x2ff9bf[_0x4246d9(0x30e)](_0x483571),_0x43f98e!=null&&_0x2ff9bf[_0x4246d9(0x2e4)](_0x43f98e);let _0x3572cf=this['_loadShapePictureFill'](_0x2ff9bf,_0x15a2bb[_0x4246d9(0x434)]());if(_0x3572cf){var _0xde7557;_0x25246c==null||(_0xde7557=_0x25246c['resourceCollector'])==null||_0xde7557['add'](_0x3572cf);}_0x2cfd28[_0x4246d9(0x1b2)](_0x2ff9bf);}return _0x2cfd28;}[_0x13ba7a(0x3b9)](_0x461920,_0x4b872e,_0xdcdbe){return _0x461920+'\x00'+_0x4b872e+'\x00'+_0xdcdbe;}['refreshFormulaPresentation'](_0x405547,_0x5bcec3){const _0x374bc1=_0x13ba7a;let _0x1480c0=this[_0x374bc1(0x56c)][_0x374bc1(0x2f5)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3[_0x374bc1(0x354)],_0x5bcec3['shapeId']),_0x40fe9f=_0x1480c0==null?void 0x0:_0x1480c0[_0x374bc1(0x434)]()[_0x374bc1(0x1c2)],_0x53f908=this[_0x374bc1(0x3b9)](_0x5bcec3[_0x374bc1(0x26e)],_0x5bcec3['subUnitId'],_0x5bcec3['shapeId']);if(_0x40fe9f){this['_shapeFormulaService'][_0x374bc1(0x529)](_0x5bcec3,_0x40fe9f);let _0xe652e0=this[_0x374bc1(0x2e6)]['get'](_0x53f908)??new Set();_0xe652e0[_0x374bc1(0x278)](_0x405547),this[_0x374bc1(0x2e6)]['set'](_0x53f908,_0xe652e0);}else{var _0x16e1e9;this[_0x374bc1(0x306)]['unregister'](_0x5bcec3),(_0x16e1e9=this[_0x374bc1(0x2e6)]['get'](_0x53f908))==null||_0x16e1e9[_0x374bc1(0x19b)](_0x405547);}_0x405547[_0x374bc1(0x4aa)](_0x40fe9f?this[_0x374bc1(0x306)][_0x374bc1(0x543)](_0x5bcec3):void 0x0,(_0x40fe9f==null?void 0x0:_0x40fe9f[_0x374bc1(0x544)])!==!0x1);}['refreshShapeFillImage'](_0x517259){const _0x33a6b1=_0x13ba7a;let _0x470f07=_0x517259['shapeModel']['getShapeData'](),_0x2c559c=_0x470f07['fill'];if(!_0x2c559c||_0x2c559c[_0x33a6b1(0x55c)]!==_0xd67e3f[_0x33a6b1(0x37a)]['PictureFill']||!_0x2c559c[_0x33a6b1(0x4a0)]){_0x517259[_0x33a6b1(0x1ad)](void 0x0);return;}this[_0x33a6b1(0x547)](_0x517259,_0x470f07);}[_0x13ba7a(0x547)](_0x49b046,_0x25a902){const _0x803e65=_0x13ba7a;let _0x26b3ed=_0x25a902[_0x803e65(0x4ac)];if(!_0x26b3ed||_0x26b3ed[_0x803e65(0x55c)]!==_0xd67e3f['ShapeFillEnum'][_0x803e65(0x3a8)]||!_0x26b3ed[_0x803e65(0x4a0)])return;let _0x514576=_0x26b3ed[_0x803e65(0x4a0)],_0x1241c8=_0x26b3ed[_0x803e65(0x4af)]??_0xd67e3f['ImageSourceTypeEnum']['URL'],_0x195f7a=this[_0x803e65(0x592)]['getImageSourceCache'](_0x514576,_0x1241c8);if(_0x195f7a){_0x49b046[_0x803e65(0x1ad)](_0x195f7a);return;}return this[_0x803e65(0x1ea)](_0x49b046,_0x514576,_0x1241c8);}async[_0x13ba7a(0x1ea)](_0x96e1d8,_0x4f79c3,_0x1558ff){const _0x4a4504=_0x13ba7a;let _0x45116d;try{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x2e5)])_0x45116d=await this[_0x4a4504(0x592)][_0x4a4504(0x3de)](_0x4f79c3);else{if(_0x1558ff===_0xd67e3f[_0x4a4504(0x573)][_0x4a4504(0x59c)])try{_0x45116d=await this[_0x4a4504(0x19c)]['getImage'](_0x4f79c3);}catch{_0x45116d=_0x4f79c3;}else _0x45116d=_0x4f79c3;}}catch(_0x32da3e){console[_0x4a4504(0x4fe)](_0x4a4504(0x29c),_0x32da3e);return;}await new Promise(_0x35f67b=>{const _0x419126=_0x4a4504;let _0x3adc02=new window[(_0x419126(0x4a3))]();_0x3adc02['onload']=()=>{const _0x2e87f3=_0x419126;this[_0x2e87f3(0x592)]['addImageSourceCache'](_0x4f79c3,_0x1558ff,_0x3adc02),_0x96e1d8['setFillImage'](_0x3adc02),_0x35f67b();},_0x3adc02[_0x419126(0x23d)]=()=>{const _0x1521b3=_0x419126;console[_0x1521b3(0x4fe)](_0x1521b3(0x4be),_0x4f79c3),_0x35f67b();},_0x3adc02[_0x419126(0x3c3)]=_0x45116d;});}};_0x5191eb=_0x12f75a([_0x174396(0x0,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x2f1)]),_0x174396(0x4,_0x10e5f9['IURLImageService']),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x1397ca[_0x13ba7a(0x485)]))],_0x5191eb);let _0x5507d6=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x55f31d,_0xee006c,_0x4adb43,_0x53ca0b,_0x96143c,_0x585f2c){const _0x361097=_0x13ba7a;super(),this[_0x361097(0x3c5)]=_0x55f31d,this[_0x361097(0x56c)]=_0xee006c,this['_renderManagerService']=_0x4adb43,this[_0x361097(0x599)]=_0x53ca0b,this['_univerInstanceService']=_0x96143c,this['_commandService']=_0x585f2c,_0x5ae661(this,'_activeShapeId',null),_0x5ae661(this,_0x361097(0x35d),null),_0x5ae661(this,_0x361097(0x2cf),null),_0x5ae661(this,'_activeShapeAdjustPointList',void 0x0),_0x5ae661(this,_0x361097(0x469),[]),_0x5ae661(this,_0x361097(0x2be),0x0),_0x5ae661(this,_0x361097(0x477),0x0),_0x5ae661(this,_0x361097(0x49c),0x0),_0x5ae661(this,_0x361097(0x488),0x0),_0x5ae661(this,_0x361097(0x267),!0x1),_0x5ae661(this,_0x361097(0x328),void 0x0),_0x5ae661(this,_0x361097(0x223),void 0x0),_0x5ae661(this,_0x361097(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x361097(0x32b),!0x1),this[_0x361097(0x1fe)](),this[_0x361097(0x36b)]();}['_getShapeAdjustPointListById'](_0x3116d1,_0x575caa,_0x43d4b6){const _0x19388d=_0x13ba7a;let _0x536fec=this[_0x19388d(0x56c)][_0x19388d(0x2f5)](_0x3116d1,_0x575caa,_0x43d4b6);if(_0x536fec)return _0x536fec['getDrawingPoints']();}[_0x13ba7a(0x200)](){this['_clearShapeAdjustControls']();}[_0x13ba7a(0x348)](){const _0x1de88a=_0x13ba7a;this[_0x1de88a(0x54c)](!0x0);}[_0x13ba7a(0x3bb)](_0x4d8a2c){const _0x197b6d=_0x13ba7a;this[_0x197b6d(0x32b)]=_0x4d8a2c;}['_getShapeAdjustInfosById'](_0x2aeea2,_0x470a11,_0x18bc25,_0x56d73d){const _0x19180d=_0x13ba7a;let _0x596db8=this['_sheetsShapeService'][_0x19180d(0x2f5)](_0x2aeea2,_0x470a11,_0x18bc25);if(_0x596db8)return _0x596db8[_0x19180d(0x495)](_0x56d73d);}[_0x13ba7a(0x385)](_0x21744f=!0x1){const _0x3489c3=_0x13ba7a;if(this[_0x3489c3(0x35d)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x246e27=this[_0x3489c3(0x2e2)][_0x3489c3(0x57f)](this[_0x3489c3(0x35d)]);if(!_0x246e27||!_0x246e27[_0x3489c3(0x39e)](_0x189be3['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x3a2046}=_0x246e27,_0x11ac9c={'unitId':this[_0x3489c3(0x35d)],'subUnitId':this[_0x3489c3(0x2cf)],'drawingId':this['_activeShapeId']},_0x594313=this[_0x3489c3(0x3c5)][_0x3489c3(0x3db)](_0x11ac9c),{transform:_0xe59366}=_0x594313;if(!_0xe59366||_0x594313['drawingType']!==_0x10e5f9[_0x3489c3(0x2e1)][_0x3489c3(0x20d)])return;let {left:_0x100118,top:_0x417c39,width:_0x2f31a9,height:_0x155c22,flipX:_0x4214aa,flipY:_0x30c768,angle:_0x88bba4=0x0}=_0xe59366;if(_0x100118===void 0x0||_0x417c39===void 0x0)return;if(_0x21744f){let _0x562dc4=this[_0x3489c3(0x56c)][_0x3489c3(0x2f5)](this[_0x3489c3(0x35d)],this['_subUnitId'],this['_activeShapeId']);_0x562dc4==null||_0x562dc4['updateContext']({'width':_0x2f31a9??0x0,'height':_0x155c22??0x0}),this[_0x3489c3(0x406)]=_0x562dc4==null?void 0x0:_0x562dc4[_0x3489c3(0x524)]();}let _0x3264ca=this['_activeShapeAdjustPointList'];for(let _0x453808=0x0;_0x453808<_0x3264ca['length'];_0x453808++){let _0x5160e5=_0x3264ca[_0x453808],_0x45b43f=_0x5160e5['x'],_0xcd31c4=_0x5160e5['y'];if(_0x4214aa&&(_0x45b43f=(_0x2f31a9||0x0)-_0x45b43f),_0x30c768&&(_0xcd31c4=(_0x155c22||0x0)-_0xcd31c4),_0x88bba4!==0x0){let _0x5662ff=(_0x2f31a9||0x0)/0x2,_0x568b00=(_0x155c22||0x0)/0x2,_0x3ba90a=_0x88bba4*Math['PI']/0xb4,_0x75da0=Math['cos'](_0x3ba90a),_0x1bcbbe=Math[_0x3489c3(0x515)](_0x3ba90a),_0x279366=_0x45b43f-_0x5662ff,_0x48ea57=_0xcd31c4-_0x568b00;_0x45b43f=_0x5662ff+(_0x279366*_0x75da0-_0x48ea57*_0x1bcbbe),_0xcd31c4=_0x568b00+(_0x279366*_0x1bcbbe+_0x48ea57*_0x75da0);}let _0x43388e={'x':_0x45b43f,'y':_0xcd31c4,'adjName':_0x5160e5['adjName']};this[_0x3489c3(0x232)](_0x3a2046,_0x43388e,_0x43388e['adjName'],_0x100118,_0x417c39,this['_unitId'],this[_0x3489c3(0x2cf)]);}}[_0x13ba7a(0x54c)](_0x1fa1f1=!0x1){const _0x2cd4b8=_0x13ba7a;_0x1fa1f1&&(this[_0x2cd4b8(0x33c)](),this[_0x2cd4b8(0x385)](_0x1fa1f1));}[_0x13ba7a(0x232)](_0x1600c5,_0x2a2086,_0x3c8022,_0x49ae34,_0x2334e9,_0x1963c4,_0x2a9e5d){const _0x383ff6=_0x13ba7a;if(!this['_activeShapeId'])return;let _0x1f3ef5=_0x1600c5['getObjectIncludeInGroup'](_0x383ff6(0x4ca)+this[_0x383ff6(0x299)]+'-'+_0x3c8022);if(_0x1f3ef5){_0x1f3ef5['transformByState']({'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]});return;}let _0x858b9d={'left':_0x2a2086['x']+_0x49ae34-_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)],'top':_0x2a2086['y']+_0x2334e9-_0xd67e3f[_0x383ff6(0x225)]['adjHandleSize'],'adjName':_0x3c8022,'shapeId':this[_0x383ff6(0x299)],'unitId':_0x1963c4,'subUnitId':_0x2a9e5d,'width':_0xd67e3f[_0x383ff6(0x225)][_0x383ff6(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x383ff6(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x383ff6(0x4b5)]+0x1,'evented':!0x0},_0x290893=new _0x537ea9('shape-adjust-point-'+this[_0x383ff6(0x299)]+'-'+_0x3c8022,_0x858b9d);this[_0x383ff6(0x469)][_0x383ff6(0x1b2)](_0x290893),this[_0x383ff6(0x3ea)](_0x290893,_0x1600c5,_0x3c8022),_0x1600c5[_0x383ff6(0x412)](_0x290893,_0x3458ba[_0x383ff6(0x4b5)]+0x1);}['_clearShapeAdjustControls'](){const _0x413e26=_0x13ba7a;this[_0x413e26(0x469)]['length']!==0x0&&(this[_0x413e26(0x469)][_0x413e26(0x34a)](_0x43da45=>{const _0xd4a123=_0x413e26;_0x43da45[_0xd4a123(0x206)]();}),this[_0x413e26(0x469)]=[]);}[_0x13ba7a(0x3fc)](){const _0x5c18e1=_0x13ba7a;this[_0x5c18e1(0x385)]();}['_getScrollInfo'](_0x198923,_0x2fd553){const _0x3410ed=_0x13ba7a;var _0x43aa52;let _0x1e69f5={'x':0x0,'y':0x0};if(!_0x198923||!_0x2fd553)return _0x1e69f5;let _0x44db17=this['_renderManagerService'][_0x3410ed(0x57f)](_0x198923);if(!_0x44db17||!_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x277)])[_0x3410ed(0x50c)](_0x2fd553))return _0x1e69f5;let _0x4912f8=_0x44db17[_0x3410ed(0x39e)](_0x189be3[_0x3410ed(0x51c)]),_0x2603b4=_0x4912f8==null?void 0x0:_0x4912f8[_0x3410ed(0x294)]();if(!_0x2603b4)return _0x1e69f5;let _0x317246=(_0x43aa52=this[_0x3410ed(0x583)][_0x3410ed(0x4a9)](_0x198923))==null?void 0x0:_0x43aa52[_0x3410ed(0x1ed)](_0x2fd553);if(!_0x317246)return _0x1e69f5;let _0x3f6a5d=(0x0,_0x189be3[_0x3410ed(0x501)])(_0x2603b4[_0x3410ed(0x3b6)],_0x2603b4['sheetViewStartColumn'],_0x44db17[_0x3410ed(0x2a7)],_0x317246);return _0x3f6a5d?{'x':_0x3f6a5d[_0x3410ed(0x1ff)],'y':_0x3f6a5d['viewportScrollY']}:_0x1e69f5;}['_getZoomRatio'](_0x35bd63,_0x151e9b){const _0x108040=_0x13ba7a;var _0x1c62e9;let _0x52950b=(_0x1c62e9=this[_0x108040(0x583)]['getUnit'](_0x35bd63))==null?void 0x0:_0x1c62e9[_0x108040(0x1ed)](_0x151e9b);return(_0x52950b==null?void 0x0:_0x52950b[_0x108040(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0x33bff8,_0x3e3955,_0x38e9e7){const _0x2764ab=_0x13ba7a;this[_0x2764ab(0x47f)]((0x0,_0x10e5f9['toDisposable'])(_0x33bff8[_0x2764ab(0x27e)][_0x2764ab(0x2f6)]((_0x3cc4d2,_0x1c7efe)=>{const _0xea0773=_0x2764ab;var _0x24c369,_0x5865ec,_0x25b99b,_0x7eb598;let _0x264be0=_0x33bff8[_0xea0773(0x2c8)]();this[_0xea0773(0x328)]=this[_0xea0773(0x530)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0['drawingId'],_0x38e9e7),this['_activeShapeModel']=this['_sheetsShapeService'][_0xea0773(0x2f5)](_0x264be0[_0xea0773(0x26e)],_0x264be0[_0xea0773(0x354)],_0x264be0[_0xea0773(0x272)]);let _0x5c112a=this[_0xea0773(0x3c5)][_0xea0773(0x3db)]({'unitId':this[_0xea0773(0x35d)],'subUnitId':this['_subUnitId'],'drawingId':this[_0xea0773(0x299)]}),{transform:_0x3713f3}=_0x5c112a;if(_0x3713f3){let {left:_0x41176d,top:_0x51ae89,width:_0x33fea8,height:_0x387661}=_0x3713f3;this[_0xea0773(0x2be)]=_0x41176d||0x0,this[_0xea0773(0x477)]=_0x51ae89||0x0,this[_0xea0773(0x49c)]=_0x33fea8||0x0,this[_0xea0773(0x488)]=_0x387661||0x0;}let _0xed9f0f=!!((_0x24c369=_0x5c112a[_0xea0773(0x474)])!=null&&_0x24c369[_0xea0773(0x553)]),_0xed29f6=!!((_0x5865ec=_0x5c112a[_0xea0773(0x474)])!=null&&_0x5865ec[_0xea0773(0x3ec)]),_0x399194=((_0x25b99b=_0x5c112a[_0xea0773(0x474)])==null?void 0x0:_0x25b99b[_0xea0773(0x36f)])||0x0;this[_0xea0773(0x267)]=!0x0,_0x3e3955[_0xea0773(0x1ce)]();let _0x6bd1d1={...((_0x7eb598=this['_activeAdjustInfo'])==null?void 0x0:_0x7eb598[_0xea0773(0x3b0)])??{}};this[_0xea0773(0x27d)]=_0x3e3955[_0xea0773(0x3af)][_0xea0773(0x2f6)]((_0x24863b,_0x20d52e)=>{const _0x37f03d=_0xea0773;if(!this['_isStartAdjusting'])return;let {offsetX:_0x51968c,offsetY:_0x189899}=_0x24863b,_0x2197f8=this[_0x37f03d(0x328)];if(this[_0x37f03d(0x223)]&&_0x2197f8){_0x3e3955[_0x37f03d(0x1ce)](),_0x3e3955['setCursor'](_0x3458ba['CURSOR_TYPE']['CROSSHAIR']);let _0x116a8c={'left':0x0,'top':0x0,'width':this[_0x37f03d(0x49c)],'height':this[_0x37f03d(0x488)]},_0x3f90c9=this['_getScrollInfo'](this['_unitId'],this['_subUnitId']),_0x101961=this['_getZoomRatio'](this['_unitId'],this['_subUnitId']),_0x230e0f=_0x51968c/_0x101961+_0x3f90c9['x']-this[_0x37f03d(0x2be)],_0x34fe49=_0x189899/_0x101961+_0x3f90c9['y']-this[_0x37f03d(0x477)];if(_0x399194!==0x0){let _0x302d81=this[_0x37f03d(0x49c)]/0x2,_0x3e5475=this[_0x37f03d(0x488)]/0x2,_0x3a4436=_0x399194*Math['PI']/0xb4,_0x133469=Math['cos'](_0x3a4436),_0x194d45=Math[_0x37f03d(0x515)](_0x3a4436),_0xab0ea8=_0x230e0f-_0x302d81,_0x235e1d=_0x34fe49-_0x3e5475;_0x230e0f=_0x302d81+(_0xab0ea8*_0x133469+_0x235e1d*_0x194d45),_0x34fe49=_0x3e5475+(-_0xab0ea8*_0x194d45+_0x235e1d*_0x133469);}_0xed9f0f&&(_0x230e0f=this['_baseShapeWidth']-_0x230e0f),_0xed29f6&&(_0x34fe49=this[_0x37f03d(0x488)]-_0x34fe49);let _0x50fd8f={'x':_0x230e0f,'y':_0x34fe49},_0x170cf4=this[_0x37f03d(0x223)]['calcAdjValues'](_0x116a8c,_0x50fd8f,_0x2197f8,_0xed9f0f,_0xed29f6);if(Object[_0x37f03d(0x533)](_0x170cf4)[_0x37f03d(0x45b)]===0x0)return;for(let [_0x27696f,_0x36c364]of Object[_0x37f03d(0x4d1)](_0x170cf4))this['_activeShapeModel']['setAdjustValueByName'](_0x27696f,_0x36c364);this[_0x37f03d(0x223)][_0x37f03d(0x523)]({'width':this['_baseShapeWidth'],'height':this[_0x37f03d(0x488)]});let _0x346f19=this[_0x37f03d(0x3c5)][_0x37f03d(0x3db)]({'unitId':_0x264be0['unitId'],'subUnitId':_0x264be0['subUnitId'],'drawingId':_0x264be0[_0x37f03d(0x272)]});_0x346f19&&(this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x346f19,_0x3e3955),this['_activeShapeAdjustPointList']=this[_0x37f03d(0x40e)](_0x264be0[_0x37f03d(0x26e)],_0x264be0['subUnitId'],_0x264be0['drawingId']),this['_updateAdjustControlPositions']());}_0x20d52e[_0x37f03d(0x49f)]();}),this[_0xea0773(0x234)]=_0x3e3955[_0xea0773(0x54b)][_0xea0773(0x2f6)]((_0x26f419,_0x11f2a7)=>{const _0x2b00d1=_0xea0773;this[_0x2b00d1(0x27d)]['unsubscribe'](),this['_adjHandlerPointerUp'][_0x2b00d1(0x539)](),_0x3e3955[_0x2b00d1(0x22f)]();let _0x83c1ca=this['_activeAdjustInfo'];if(_0x83c1ca){let _0x544021=_0x264be0[_0x2b00d1(0x26e)],_0x57205c=_0x264be0[_0x2b00d1(0x354)],_0x50c06b=_0x264be0[_0x2b00d1(0x272)],_0x5910a5={};for(let _0x373023 of Object['keys'](_0x83c1ca[_0x2b00d1(0x3b0)])){var _0x4bf65e;let _0x19e159=(_0x4bf65e=this[_0x2b00d1(0x223)])==null?void 0x0:_0x4bf65e[_0x2b00d1(0x29f)](_0x373023);_0x19e159!==void 0x0&&(_0x5910a5[_0x373023]=_0x19e159);}Object['keys'](_0x5910a5)[_0x2b00d1(0x45b)]>0x0&&_0x2b1bec(this[_0x2b00d1(0x558)],_0x544021,_0x57205c,_0x50c06b,{'oldShapeData':{'adjustValues':_0x6bd1d1}},{'adjustValues':_0x5910a5});}this[_0x2b00d1(0x328)]=void 0x0,this[_0x2b00d1(0x223)]=void 0x0,this[_0x2b00d1(0x267)]=!0x1,_0x11f2a7['stopPropagation'](),_0x3e3955[_0x2b00d1(0x51a)]();}),_0x1c7efe[_0xea0773(0x49f)]();})));}[_0x13ba7a(0x36b)](){const _0x1f681d=_0x13ba7a;let _0x3026c7=this[_0x1f681d(0x583)][_0x1f681d(0x3d3)](_0x10e5f9[_0x1f681d(0x503)][_0x1f681d(0x450)]);this[_0x1f681d(0x47f)](_0x3026c7[_0x1f681d(0x560)]((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x50f7a9=>_0x50f7a9?_0x50f7a9[_0x1f681d(0x259)]['pipe']((0x0,_0x364ff4[_0x1f681d(0x289)])(_0x4e6301=>{const _0x168d5c=_0x1f681d;if(!_0x4e6301)return _0x364ff4[_0x168d5c(0x362)];let _0x2b65f6=_0x50f7a9['getUnitId'](),_0x4fd6ff=this[_0x168d5c(0x2e2)][_0x168d5c(0x57f)](_0x2b65f6),_0x1c98f9=_0x4fd6ff==null?void 0x0:_0x4fd6ff['scene'];return _0x1c98f9?(0x0,_0x364ff4['of'])(_0x1c98f9):_0x364ff4['EMPTY'];})):_0x364ff4[_0x1f681d(0x362)]))[_0x1f681d(0x358)](_0x1aa19d=>{const _0x2ee125=_0x1f681d;let _0x20c8ba=_0x1aa19d[_0x2ee125(0x22d)]();this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x3af)][_0x2ee125(0x2f6)](()=>{const _0x4c1f39=_0x2ee125;this[_0x4c1f39(0x32b)];})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x202)][_0x2ee125(0x358)](_0x34ddb2=>{const _0xca3afb=_0x2ee125;let {objects:_0x177c5d}=_0x34ddb2;this[_0xca3afb(0x385)](),_0x177c5d!==null&&_0x177c5d[_0xca3afb(0x3ba)]===0x1&&_0x177c5d[_0xca3afb(0x1cb)]()[_0xca3afb(0x475)]()[_0xca3afb(0x472)]instanceof _0x402866&&this['setShouldShowAdjust'](!0x0);})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x42f)][_0x2ee125(0x358)](()=>{const _0x3f099c=_0x2ee125;this[_0x3f099c(0x32b)]&&this[_0x3f099c(0x33c)]();})),this[_0x2ee125(0x47f)](_0x1aa19d[_0x2ee125(0x54b)][_0x2ee125(0x2f6)](()=>{const _0x22d26e=_0x2ee125;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x22d26e(0x3bb)](!0x1),this[_0x22d26e(0x385)]());})),this[_0x2ee125(0x47f)](_0x20c8ba[_0x2ee125(0x2dc)]['subscribe'](()=>{const _0x3f0a60=_0x2ee125;this['_unitId']&&this[_0x3f0a60(0x2cf)]&&this[_0x3f0a60(0x299)]&&this[_0x3f0a60(0x3c5)][_0x3f0a60(0x3db)]({'unitId':this[_0x3f0a60(0x35d)],'subUnitId':this[_0x3f0a60(0x2cf)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this[_0x3f0a60(0x40e)](this[_0x3f0a60(0x35d)],this[_0x3f0a60(0x2cf)],this['_activeShapeId']),this[_0x3f0a60(0x3fc)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x2a22a3=_0x13ba7a;this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x558)][_0x2a22a3(0x1ac)](_0x5c1d79=>{const _0x6a40ed=_0x2a22a3;if(_0x5c1d79['id']!==_0x2f2bb5['UpdateSheetsShapeDataMutation']['id'])return;let {unitId:_0x7fabc6,subUnitId:_0x335783,shapeId:_0x180ee0}=_0x5c1d79[_0x6a40ed(0x352)];_0x7fabc6===this[_0x6a40ed(0x35d)]&&_0x335783===this[_0x6a40ed(0x2cf)]&&_0x180ee0===this[_0x6a40ed(0x299)]&&this['refreshAdjustControls']();})),this[_0x2a22a3(0x47f)](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x332)]['subscribe'](_0x18066a=>{const _0x562fec=_0x2a22a3;if(_0x18066a['length']===0x1){let _0x563bf1=_0x18066a[0x0];if(_0x563bf1['drawingType']===_0x10e5f9[_0x562fec(0x2e1)][_0x562fec(0x20d)]&&this[_0x562fec(0x583)]['getUnitType'](_0x563bf1[_0x562fec(0x26e)])===_0x10e5f9[_0x562fec(0x503)][_0x562fec(0x450)]){this['_activeShapeId']=_0x563bf1[_0x562fec(0x272)];let {unitId:_0x1632c3,subUnitId:_0x2573ed}=_0x563bf1;this[_0x562fec(0x406)]=this[_0x562fec(0x40e)](_0x1632c3,_0x2573ed,this[_0x562fec(0x299)]),this[_0x562fec(0x35d)]=_0x1632c3,this[_0x562fec(0x2cf)]=_0x2573ed,this['_clearShapeAdjustControls'](),this[_0x562fec(0x385)]();return;}}this[_0x562fec(0x299)]=null,this[_0x562fec(0x406)]=void 0x0,this[_0x562fec(0x35d)]=null,this[_0x562fec(0x2cf)]=null,this[_0x562fec(0x33c)]();})),this[_0x2a22a3(0x47f)](this['_drawingManagerService'][_0x2a22a3(0x28e)]['subscribe'](_0x2d9427=>{const _0x351abb=_0x2a22a3;if(_0x2d9427[_0x351abb(0x45b)]===0x1){var _0x2f2c17;let _0x2ba62f=_0x2d9427[0x0];((_0x2f2c17=this[_0x351abb(0x3c5)]['getDrawingByParam'](_0x2ba62f))==null?void 0x0:_0x2f2c17[_0x351abb(0x52e)])===_0x10e5f9['DrawingTypeEnum'][_0x351abb(0x20d)]&&this[_0x351abb(0x54c)](!0x0);}})),this['disposeWithMe'](this[_0x2a22a3(0x3c5)][_0x2a22a3(0x1f5)][_0x2a22a3(0x358)](_0x3a5996=>{const _0x55c72a=_0x2a22a3;for(let _0x188a6a of _0x3a5996)this[_0x55c72a(0x299)]===_0x188a6a['drawingId']&&(this[_0x55c72a(0x299)]=null,this[_0x55c72a(0x406)]=void 0x0,this[_0x55c72a(0x35d)]=null,this['_subUnitId']=null,this[_0x55c72a(0x33c)]());}));}};_0x5507d6=_0x12f75a([_0x174396(0x0,_0x15864b['IDrawingManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x2,(0x0,_0x10e5f9['Inject'])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x5191eb)),_0x174396(0x4,_0x10e5f9['IUniverInstanceService']),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)])],_0x5507d6);let _0x34de34={'id':_0x13ba7a(0x319),'type':_0x10e5f9['CommandType'][_0x13ba7a(0x215)],'handler':(_0x1dab06,_0x4ad171)=>{const _0x62e4be=_0x13ba7a;let _0x46d9eb=_0x1dab06[_0x62e4be(0x468)](_0x15864b[_0x62e4be(0x4e8)]),_0x3a0429=_0x1dab06[_0x62e4be(0x468)](_0x3458ba[_0x62e4be(0x2a5)]),_0x17b473=_0x1dab06[_0x62e4be(0x468)](_0x5507d6);if(_0x4ad171==null)return!0x0;if(_0x4ad171[_0x62e4be(0x45b)]>0x0){var _0x13c83e;let _0x2f5c4a=(_0x13c83e=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null?void 0x0:_0x13c83e[_0x62e4be(0x2a7)];if(_0x2f5c4a){let {unitId:_0x519bf3,subUnitId:_0x5d6d13,drawingId:_0x52bad3}=_0x4ad171[0x0],_0xad6c2d=(0x0,_0x15864b[_0x62e4be(0x2df)])({'unitId':_0x519bf3,'subUnitId':_0x5d6d13,'drawingId':_0x52bad3},void 0x0),_0x584c12=_0x2f5c4a[_0x62e4be(0x1a7)](_0xad6c2d);if(_0x584c12){var _0x10a0e6;(_0x10a0e6=_0x3a0429[_0x62e4be(0x57f)](_0x4ad171[0x0][_0x62e4be(0x26e)]))==null||(_0x10a0e6=_0x10a0e6[_0x62e4be(0x2a7)][_0x62e4be(0x36c)]())==null||_0x10a0e6[_0x62e4be(0x3d8)](_0x584c12);}}_0x46d9eb[_0x62e4be(0x3f9)](_0x4ad171),_0x17b473['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x313c0d={'type':_0x10e5f9['CommandType'][_0x13ba7a(0x45c)],'id':'sheet.command.menu-insert-shape','handler':async(_0x58ecb2,_0x4a861e)=>{const _0xebdd31=_0x13ba7a;let _0x437eb8=(0x0,_0x32abfe[_0xebdd31(0x39c)])(_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9[_0xebdd31(0x41d)]));if(!_0x437eb8)return!0x1;let _0x3392b9=_0x58ecb2['get'](_0x32abfe[_0xebdd31(0x3cf)])[_0xebdd31(0x4fc)]();if(!_0x3392b9)return!0x1;let _0x2aec38=_0x58ecb2[_0xebdd31(0x468)](_0x10e5f9['ICommandService']),{unitId:_0xcb75ca,subUnitId:_0x56272e}=_0x437eb8,{value:_0x19c370,enhanceParams:_0x239a10}=_0x4a861e,{range:_0x35da8c}=_0x3392b9,_0x413ed7={'unitId':_0xcb75ca,'subUnitId':_0x56272e,'shapeType':_0x19c370,'range':_0x35da8c,'shapeId':(0x0,_0x10e5f9[_0xebdd31(0x30b)])()};if(_0x239a10){let _0x288c2c=(0x0,_0xd67e3f[_0xebdd31(0x36a)])(_0x19c370),_0x590407=_0x19c370===_0xd67e3f['ShapeTypeEnum'][_0xebdd31(0x1ae)];_0x288c2c&&(_0x239a10[_0xebdd31(0x313)]||_0x239a10[_0xebdd31(0x3c8)])&&(_0x413ed7[_0xebdd31(0x429)]={'ln':{'startArrow':_0x239a10[_0xebdd31(0x313)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)][_0xebdd31(0x528)],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x419)]}:void 0x0,'endArrow':_0x239a10[_0xebdd31(0x3c8)]?{'type':_0xd67e3f[_0xebdd31(0x1c9)]['Arrow'],'size':_0xd67e3f['ShapeArrowSizeEnum'][_0xebdd31(0x4c0)]}:void 0x0}}),_0x590407&&(_0x239a10[_0xebdd31(0x44d)]||_0x239a10[_0xebdd31(0x2d3)])&&(_0x413ed7[_0xebdd31(0x429)]=(0x0,_0x1397ca[_0xebdd31(0x270)])({'fill':{'fillType':_0xd67e3f[_0xebdd31(0x37a)][_0xebdd31(0x493)],'color':'#FFFFFF'},'isHorizontal':!!_0x239a10['horizontal'],'stroke':{'lineStrokeType':_0xd67e3f['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0xebdd31(0x2b2)}}));}let _0x93ae23=_0x2aec38[_0xebdd31(0x1f8)](_0x2f2bb5[_0xebdd31(0x1dc)]['id'],_0x413ed7);return setTimeout(()=>{const _0x5315b7=_0xebdd31;_0x2aec38[_0x5315b7(0x274)](_0x34de34['id'],[{'unitId':_0xcb75ca,'subUnitId':_0x56272e,'drawingId':_0x413ed7[_0x5315b7(0x42a)]}]);},0xc8),_0x93ae23;}},_0x6fddbc=_0x13ba7a(0x52a),_0x4dafcd=_0x13ba7a(0x58b),_0x42484a=_0x13ba7a(0x1d4),_0x523b08=_0x13ba7a(0x3aa),_0x28b28e=(0x0,_0x10e5f9[_0x13ba7a(0x359)])(_0x13ba7a(0x262)),_0x41bb10='sheet.shape.text.float-menu',_0x3a0e82={'id':_0x13ba7a(0x4f8),'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x45c)],'handler':(_0x441586,_0x3b1952)=>{const _0x1043fc=_0x13ba7a;let _0x554d10=_0x441586['get'](_0x187e10[_0x1043fc(0x546)]),_0x3cb88c=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x482)]),_0xa466db=_0x441586['get'](_0x10e5f9[_0x1043fc(0x41d)]),_0x14f056=_0x441586[_0x1043fc(0x468)](_0x10e5f9[_0x1043fc(0x297)]);return(0x0,_0x32abfe[_0x1043fc(0x39c)])(_0xa466db)?(_0x3b1952==null?void 0x0:_0x3b1952['value'])===_0x1043fc(0x30a)?(_0x554d10[_0x1043fc(0x30a)](_0x4dafcd),!0x0):(_0x554d10[_0x1043fc(0x269)]({'id':_0x4dafcd,'header':{'title':_0x3cb88c['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x4dafcd},'onClose':()=>{const _0x56e284=_0x1043fc;_0x14f056['syncExecuteCommand'](_0x15864b[_0x56e284(0x2e8)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x47ad5b={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x51e),'handler'(){return!0x0;}};function _0x6d2ea(_0x4e32ce){const _0xb3452=_0x13ba7a;let _0x48e2d2=_0x4e32ce[_0xb3452(0x468)](_0x15864b[_0xb3452(0x4e8)])[_0xb3452(0x1da)](),_0x7f7d9d=_0x48e2d2['length']===0x1?_0x48e2d2[0x0]:null;if(!_0x7f7d9d||_0x7f7d9d[_0xb3452(0x52e)]!==_0x10e5f9[_0xb3452(0x2e1)][_0xb3452(0x20d)])return null;let _0x48651c=_0x4e32ce[_0xb3452(0x468)](_0x2f2bb5[_0xb3452(0x4d3)]),_0x4b1523=_0x48651c[_0xb3452(0x42b)](_0x7f7d9d[_0xb3452(0x26e)],_0x7f7d9d['subUnitId'],_0x7f7d9d[_0xb3452(0x272)]),_0x5a4fc8=_0x48651c[_0xb3452(0x204)](_0x7f7d9d['unitId'],_0x7f7d9d[_0xb3452(0x354)],_0x7f7d9d[_0xb3452(0x272)]);return _0x4b1523===void 0x0||!_0x5a4fc8?null:{'drawing':_0x7f7d9d,'shapeData':_0x5a4fc8,'shapeType':_0x4b1523};}let _0x25693e={'id':'sheet.operation.apply-shape-quick-style','type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'handler':(_0x19528f,_0x3b1159)=>{const _0x5084da=_0x13ba7a;let _0x49b3d3=_0x6d2ea(_0x19528f),_0x4c8abb=(0x0,_0x1397ca[_0x5084da(0x471)])((_0x3b1159==null?void 0x0:_0x3b1159[_0x5084da(0x491)])??(_0x3b1159==null?void 0x0:_0x3b1159['value'])??'');if(!_0x49b3d3||!_0x4c8abb||_0x4c8abb['type']!==(0x0,_0x1397ca[_0x5084da(0x1b1)])(_0x49b3d3[_0x5084da(0x429)]))return!0x1;let _0x342270=(0x0,_0x1397ca[_0x5084da(0x1aa)])(_0x49b3d3['shapeData'],_0x4c8abb);if(!_0x342270)return!0x1;let {drawing:_0x2df4fd}=_0x49b3d3;return _0x19528f[_0x5084da(0x468)](_0x10e5f9['ICommandService'])[_0x5084da(0x274)](_0x6c1302['id'],{'unitId':_0x2df4fd[_0x5084da(0x26e)],'subUnitId':_0x2df4fd[_0x5084da(0x354)],'shapeId':_0x2df4fd[_0x5084da(0x272)],'shapeData':_0x342270,'oldShapeJSON':{'oldShapeData':_0x49b3d3[_0x5084da(0x429)]}});}},_0x18da86={'id':_0x13ba7a(0x1a2),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler':(_0xd9ea9c,_0x5e0c2a)=>{const _0xb4e519=_0x13ba7a;let _0x5ab80b=_0x6d2ea(_0xd9ea9c),_0x3e3ee4=(_0x5e0c2a==null?void 0x0:_0x5e0c2a[_0xb4e519(0x25e)])??(_0x5e0c2a==null?void 0x0:_0x5e0c2a['value']);if(!_0x5ab80b||!_0x3e3ee4||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x5ab80b['shapeType'])||(0x0,_0xd67e3f[_0xb4e519(0x36a)])(_0x3e3ee4))return!0x1;let _0x3f295d=(0x0,_0x1397ca[_0xb4e519(0x4ed)])(_0x5ab80b[_0xb4e519(0x429)],_0x3e3ee4);if(!_0x3f295d)return!0x1;let {drawing:_0x4895f6}=_0x5ab80b;return _0xd9ea9c[_0xb4e519(0x468)](_0x10e5f9['ICommandService'])['executeCommand'](_0x6c1302['id'],{'unitId':_0x4895f6[_0xb4e519(0x26e)],'subUnitId':_0x4895f6[_0xb4e519(0x354)],'shapeId':_0x4895f6['drawingId'],'shapeType':_0x3e3ee4,'shapeData':_0x3f295d,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x5ab80b['shapeType'],'oldShapeData':_0x5ab80b[_0xb4e519(0x429)]}});}},_0x29f473=class extends _0x10e5f9['Disposable']{constructor(_0xf29365,_0x40d972){const _0x509bc3=_0x13ba7a;super(),this['_clipService']=_0xf29365,this[_0x509bc3(0x3c5)]=_0x40d972,this[_0x509bc3(0x478)](),this['_clipService'][_0x509bc3(0x58a)](!0x0),this[_0x509bc3(0x47f)]({'dispose':()=>this['_clipService'][_0x509bc3(0x58a)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x36d216=_0x13ba7a;let _0x3a12e5=this[_0x36d216(0x54a)],_0x9df45d=new Map(),_0x43c318=_0x3a12e5['registerClipDelegate']((_0x18ef22,_0x8e42c9,_0x1f0015,_0x117e50,_0x3f0760)=>{const _0x506e8b=_0x36d216;let _0x56b049=_0x8e42c9;if(_0x56b049===_0xd67e3f['ShapeTypeEnum'][_0x506e8b(0x33f)]||_0x8e42c9===_0x506e8b(0x261))return!0x1;try{let _0x3eadbc=_0x9df45d[_0x506e8b(0x468)](_0x8e42c9);return _0x3eadbc||(_0x3eadbc=new _0xd67e3f[(_0x506e8b(0x48f))](_0x56b049,_0x506e8b(0x260)+_0x8e42c9),_0x9df45d['set'](_0x8e42c9,_0x3eadbc)),_0x3eadbc['clearAdjustValue'](),_0x3f0760&&Object[_0x506e8b(0x533)](_0x3f0760)['length']>0x0&&_0x3eadbc['setShapeData']({'adjustValues':_0x3f0760},!0x0),_0x3eadbc[_0x506e8b(0x523)]({'width':_0x1f0015,'height':_0x117e50}),_0x3eadbc[_0x506e8b(0x57e)](_0x18ef22,{'left':0x0,'top':0x0,'width':_0x1f0015,'height':_0x117e50});}catch{return!0x1;}});this[_0x36d216(0x47f)](_0x43c318),this[_0x36d216(0x47f)]({'dispose':()=>_0x9df45d[_0x36d216(0x1c1)]()});}[_0x13ba7a(0x242)](_0x45ee20,_0x18b4d8,_0x5a2d77,_0x41d4ea,_0x1ccf41){const _0x49d94a=_0x13ba7a;let _0x1df98c=this[_0x49d94a(0x3c5)]['getDrawingData'](_0x45ee20,_0x18b4d8);if(!_0x1df98c[_0x5a2d77])return;let _0x337641={..._0x1df98c[_0x5a2d77],'prstGeom':_0x41d4ea,'adjustValues':_0x1ccf41};this['_drawingManagerService'][_0x49d94a(0x210)]([_0x337641]);}};_0x29f473=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32['DrawingImageClipService'])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b['IDrawingManagerService']))],_0x29f473);let _0xb1d681=_0x13ba7a(0x1d6),_0x993061='sheet.image-clip.shape-picker.component';function _0x46ac97({onShapeClick:_0x3be4c5,excludeGroups:_0x2fbc2e}){const _0x2d6a5a=_0x13ba7a;return(0x0,_0x30a372[_0x2d6a5a(0x357)])(_0xba932b[_0x2d6a5a(0x1b4)],{'excludeGroups':_0x2fbc2e,'onShapeClick':_0x3be4c5,'scrollContainer':_0x2d6a5a(0x317)});}function _0x544130(){const _0x473afa=_0x13ba7a;let _0x27feb5=(0x0,_0x187e10[_0x473afa(0x53e)])(_0x15864b[_0x473afa(0x4e8)]),_0x504223=(0x0,_0x187e10['useDependency'])(_0x29f473);return(0x0,_0x30a372[_0x473afa(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0xba932b[_0x473afa(0x2bb)][_0x473afa(0x363)]],'onShapeClick':_0xbb69ed=>{const _0x5cd931=_0x473afa;let _0x30a6a8=_0x27feb5['getFocusDrawings']()[_0x5cd931(0x298)](_0x3f21c4=>_0x3f21c4[_0x5cd931(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x5cd931(0x597)]);if(!_0x30a6a8)return;let {unitId:_0x95fb13,subUnitId:_0x2fa06b,drawingId:_0x5a7f76}=_0x30a6a8;_0x504223[_0x5cd931(0x242)](_0x95fb13,_0x2fa06b,_0x5a7f76,_0xbb69ed['type']);}});}function _0x52a211(){const _0xcfe88=_0x13ba7a;let _0x1bfa29=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x15864b['IDrawingManagerService']),_0x7c3aea=(0x0,_0x187e10[_0xcfe88(0x53e)])(_0x29f473);return(0x0,_0x30a372[_0xcfe88(0x357)])(_0xba932b['ShapePickerDropdown'],{'buttonLabel':_0xcfe88(0x227),'excludeGroups':[_0xba932b[_0xcfe88(0x2bb)]['Line']],'DropdownComponent':_0x457cfe['MobileDropdown'],'onShapeClick':_0x54ab54=>{const _0x414e83=_0xcfe88;let _0x2b97e0=_0x1bfa29[_0x414e83(0x1da)]()[_0x414e83(0x298)](_0x559059=>_0x559059[_0x414e83(0x52e)]===_0x10e5f9[_0x414e83(0x2e1)][_0x414e83(0x597)]);if(!_0x2b97e0)return;let {unitId:_0xdeb202,subUnitId:_0x57ab65,drawingId:_0x2ca45d}=_0x2b97e0;_0x7c3aea[_0x414e83(0x242)](_0xdeb202,_0x57ab65,_0x2ca45d,_0x54ab54[_0x414e83(0x38d)]);}});}function _0x88ad35(){const _0x2959b0=_0x13ba7a;let _0x29bae3=(0x0,_0x187e10['useDependency'])(_0x187e10['ComponentManager']),_0x249272=(0x0,_0x187e10[_0x2959b0(0x53e)])(_0x15864b[_0x2959b0(0x4e8)]),_0x58ec85=(0x0,_0x187e10['useDependency'])(_0x10e5f9['IUniverInstanceService']),_0x338e2b=_0x249272[_0x2959b0(0x1da)]()[0x0],_0x323bb5=_0x338e2b?_0x58ec85[_0x2959b0(0x340)](_0x338e2b[_0x2959b0(0x26e)]):void 0x0,_0x3023f6=_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_DOC']?_0x2959b0(0x395):_0x323bb5===_0x10e5f9[_0x2959b0(0x503)]['UNIVER_SHEET']?_0x993061:void 0x0,_0x43832d=_0x3023f6?_0x29bae3[_0x2959b0(0x468)](_0x3023f6):void 0x0;return _0x43832d?(0x0,_0x30a372[_0x2959b0(0x357)])(_0x43832d,{}):null;}function _0x3f0386(){const _0x23a11b=_0x13ba7a;let _0x318c2b=(0x0,_0x187e10['useDependency'])(_0x10e5f9[_0x23a11b(0x297)]);return(0x0,_0x30a372[_0x23a11b(0x357)])(_0x46ac97,{'onShapeClick':_0x53ee69=>{const _0x2ba744=_0x23a11b;_0x318c2b['executeCommand'](_0x313c0d['id'],{'value':_0x53ee69['type'],'enhanceParams':{'endArrow':_0x53ee69[_0x2ba744(0x3c8)],'startArrow':_0x53ee69[_0x2ba744(0x313)],'horizontal':_0x53ee69['horizontal'],'vertical':_0x53ee69[_0x2ba744(0x2d3)]}});}});}function _0x29a2e(){const _0x1a3b73=_0x13ba7a;return(0x0,_0x30a372[_0x1a3b73(0x357)])(_0x3f0386,{});}function _0x1bacfe(_0xaa1da1){const _0x56e28f=_0x13ba7a;let _0xcae4cc=_0xaa1da1['get'](_0x10e5f9[_0x56e28f(0x41d)]);return{'id':_0x313c0d['id'],'type':_0x187e10[_0x56e28f(0x337)][_0x56e28f(0x22b)],'selections':[{'label':{'name':_0xb1d681,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x313c0d['id']}}}],'icon':_0x56e28f(0x37e),'tooltip':_0x56e28f(0x494),'activated$':(0x0,_0x189be3['deriveStateFromActiveSheet$'])(_0xcae4cc,!0x1,()=>new _0x364ff4['Observable'](_0x88f5a2=>{const _0xae962f=_0x56e28f;_0x88f5a2[_0xae962f(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x56e28f(0x1e6)])(_0xaa1da1,_0x10e5f9[_0x56e28f(0x503)][_0x56e28f(0x450)]),'disabled$':(0x0,_0x189be3[_0x56e28f(0x56f)])(_0xaa1da1)};}function _0x40dcb5(_0x56c7cf){const _0x326e69=_0x13ba7a;let _0x147072=_0x56c7cf[_0x326e69(0x468)](_0x10e5f9['IUniverInstanceService']);return{'id':_0x3a0e82['id'],'type':_0x187e10[_0x326e69(0x337)][_0x326e69(0x2b7)],'icon':_0x326e69(0x2e9),'title':_0x326e69(0x552),'tooltip':_0x326e69(0x552),'activated$':(0x0,_0x189be3[_0x326e69(0x397)])(_0x147072,!0x1,()=>new _0x364ff4[(_0x326e69(0x296))](_0x3fc44e=>{const _0x5d86ab=_0x326e69;_0x3fc44e[_0x5d86ab(0x475)](!0x1);})),'hidden$':(0x0,_0x187e10[_0x326e69(0x1e6)])(_0x56c7cf,_0x10e5f9['UniverInstanceType'][_0x326e69(0x450)]),'disabled$':(0x0,_0x189be3[_0x326e69(0x56f)])(_0x56c7cf)};}let _0x5a41ed='sheet.menu.shape.flip-horizontal',_0x354587=_0x13ba7a(0x33e);function _0x31633c(_0x4669cc){const _0x5258b6=_0x13ba7a;let _0x4fc276=_0x4669cc[_0x5258b6(0x468)](_0x15864b[_0x5258b6(0x4e8)])['getFocusDrawings']();return _0x4fc276['length']===0x1&&_0x4fc276[0x0][_0x5258b6(0x52e)]===_0x10e5f9[_0x5258b6(0x2e1)][_0x5258b6(0x20d)]?_0x4fc276[0x0]:null;}function _0x38b711(_0x25ca25){const _0x34a330=_0x13ba7a;let _0x15a64f=_0x25ca25[_0x34a330(0x468)](_0x15864b[_0x34a330(0x4e8)]);return _0x15a64f[_0x34a330(0x332)][_0x34a330(0x560)]((0x0,_0x364ff4[_0x34a330(0x58e)])(_0x15a64f[_0x34a330(0x1da)]()),(0x0,_0x364ff4['map'])(_0x3e291b=>_0x3e291b[_0x34a330(0x45b)]!==0x1||_0x3e291b[0x0][_0x34a330(0x52e)]!==_0x10e5f9['DrawingTypeEnum'][_0x34a330(0x20d)]));}function _0x26320c(_0x49866d){const _0x50a32e=_0x13ba7a;return{'id':_0x5a41ed,'commandId':_0x2f2bb5['ToggleSheetsShapeFlipCommand']['id'],'type':_0x187e10[_0x50a32e(0x337)][_0x50a32e(0x2b7)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x50a32e(0x3e0),'icon':_0x50a32e(0x3cc),'hidden$':_0x38b711(_0x49866d),'params':()=>{const _0x3ece23=_0x50a32e;let _0x23bfc7=_0x31633c(_0x49866d);return _0x23bfc7?{'unitId':_0x23bfc7[_0x3ece23(0x26e)],'subUnitId':_0x23bfc7['subUnitId'],'shapeId':_0x23bfc7[_0x3ece23(0x272)],'flipH':!0x0}:void 0x0;}};}function _0x4152b2(_0x2bb239){const _0x29490b=_0x13ba7a;return{'id':_0x354587,'commandId':_0x2f2bb5[_0x29490b(0x36d)]['id'],'type':_0x187e10[_0x29490b(0x337)][_0x29490b(0x2b7)],'title':'sheets-shape-ui.flipVertical','tooltip':_0x29490b(0x23c),'icon':_0x29490b(0x431),'hidden$':_0x38b711(_0x2bb239),'params':()=>{const _0x5a5f89=_0x29490b;let _0x321173=_0x31633c(_0x2bb239);return _0x321173?{'unitId':_0x321173[_0x5a5f89(0x26e)],'subUnitId':_0x321173[_0x5a5f89(0x354)],'shapeId':_0x321173[_0x5a5f89(0x272)],'flipV':!0x0}:void 0x0;}};}let _0x3084b1=_0x13ba7a(0x2d9),_0x5c3e05=_0x13ba7a(0x394),_0x41bd5b=_0x13ba7a(0x3c7),_0x26103a=_0x13ba7a(0x368);function _0x5f412c(){const _0x4d3eb3=_0x13ba7a;let _0x3e0377=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x10e5f9[_0x4d3eb3(0x297)]),_0x3d6a3e=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x15864b[_0x4d3eb3(0x4e8)]),_0x513a2c=(0x0,_0x187e10[_0x4d3eb3(0x53e)])(_0x2f2bb5[_0x4d3eb3(0x4d3)]),_0x1055f2=()=>{const _0x4d0236=_0x4d3eb3;var _0x36d97d;let _0x1569cf=_0x3d6a3e['getFocusDrawings']();if(_0x1569cf['length']!==0x1||((_0x36d97d=_0x1569cf[0x0])==null?void 0x0:_0x36d97d[_0x4d0236(0x52e)])!==_0x10e5f9[_0x4d0236(0x2e1)][_0x4d0236(0x20d)])return null;let {unitId:_0x500597,subUnitId:_0x41eeb7,drawingId:_0x42cffa}=_0x1569cf[0x0],_0x164b16=_0x513a2c[_0x4d0236(0x42b)](_0x500597,_0x41eeb7,_0x42cffa),_0x5a0eb8=_0x513a2c[_0x4d0236(0x204)](_0x500597,_0x41eeb7,_0x42cffa);return _0x164b16===void 0x0||!_0x5a0eb8?null:{'unitId':_0x500597,'subUnitId':_0x41eeb7,'drawingId':_0x42cffa,'shapeType':_0x164b16,'shapeData':_0x5a0eb8};},_0x263f54=(0x0,_0x187e10[_0x4d3eb3(0x364)])(()=>new _0x364ff4['Observable'](_0x16805c=>{const _0x18ca86=_0x4d3eb3;let _0x21510c=()=>_0x16805c[_0x18ca86(0x475)](_0x1055f2()),_0x31d336=_0x3d6a3e[_0x18ca86(0x332)][_0x18ca86(0x358)](_0x21510c),_0x58cbd7=_0x3e0377[_0x18ca86(0x1ac)](_0xb6afd5=>{const _0xd33f90=_0x18ca86;_0xb6afd5['id']===_0x2f2bb5[_0xd33f90(0x479)]['id']&&_0x21510c();});return _0x21510c(),()=>{const _0xe31e34=_0x18ca86;_0x31d336[_0xe31e34(0x539)](),_0x58cbd7[_0xe31e34(0x206)]();};}),_0x1055f2(),!0x1,[_0x3e0377,_0x3d6a3e,_0x513a2c]);return{'selection':_0x263f54,'updateShapeData':_0xda921b=>{const _0x53bb2c=_0x4d3eb3;_0x263f54&&_0x2b1bec(_0x3e0377,_0x263f54[_0x53bb2c(0x26e)],_0x263f54['subUnitId'],_0x263f54[_0x53bb2c(0x272)],{'oldShapeData':_0x263f54[_0x53bb2c(0x429)]},_0xda921b);}};}function _0x1024f0(){const _0x5e140c=_0x13ba7a;let {selection:_0x153d16,updateShapeData:_0x24d0de}=_0x5f412c();return _0x153d16?(0x0,_0x30a372[_0x5e140c(0x357)])(_0xba932b['ShapeStyleRibbonControl'],{'shapeData':_0x153d16[_0x5e140c(0x429)],'shapeType':_0x153d16[_0x5e140c(0x25e)],'onUpdateShapeData':_0x24d0de}):null;}function _0x23f7be(){const _0x3c75f9=_0x13ba7a;let _0x32c905=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x297)]),_0x23af04=(0x0,_0x187e10[_0x3c75f9(0x53e)])(_0x10e5f9[_0x3c75f9(0x482)]),{selection:_0x1c4e5b}=_0x5f412c();return _0x1c4e5b?(0x0,_0x30a372['jsx'])(_0xba932b[_0x3c75f9(0x3ca)],{'type':(0x0,_0x1397ca[_0x3c75f9(0x1b1)])(_0x1c4e5b[_0x3c75f9(0x429)]),'ariaLabel':_0x23af04['t'](_0x3c75f9(0x383)),'activePresetId':(0x0,_0x1397ca[_0x3c75f9(0x561)])(_0x1c4e5b[_0x3c75f9(0x429)]),'onSelect':_0x487606=>_0x32c905[_0x3c75f9(0x274)](_0x25693e['id'],{'presetId':_0x487606})}):null;}function _0x3e9412(){const _0x1f3672=_0x13ba7a;let {selection:_0x314962,updateShapeData:_0x20cc40}=_0x5f412c();return _0x314962?(0x0,_0x30a372['jsx'])(_0xba932b[_0x1f3672(0x549)],{'fontFamilyPopupDataComponent':_0x1f3672(0x1bc),'shapeData':_0x314962[_0x1f3672(0x429)],'onUpdateShapeData':_0x20cc40}):null;}function _0x184a26(){const _0x1e7c71=_0x13ba7a;var _0x761ccb;let {selection:_0x2c0a7e,updateShapeData:_0x5d959e}=_0x5f412c(),_0x21095f=(0x0,_0xba932b[_0x1e7c71(0x585)])({'hostType':_0x10e5f9[_0x1e7c71(0x503)][_0x1e7c71(0x450)],'unitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x26e)])??'','subUnitId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x354)])??'','shapeId':(_0x2c0a7e==null?void 0x0:_0x2c0a7e[_0x1e7c71(0x272)])??'','shapeData':_0x2c0a7e==null?void 0x0:_0x2c0a7e['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x1e7c71(0x329),'onUpdateBinding':_0x2a08eb=>_0x5d959e({'formulaBinding':_0x2a08eb})}),_0x23dc5e=((_0x761ccb=_0x21095f[_0x1e7c71(0x505)])==null?void 0x0:_0x761ccb[_0x1e7c71(0x2d8)](_0x2e61ac=>_0x2e61ac['actions'])['filter'](_0x3dd5d7=>_0x3dd5d7[_0x1e7c71(0x2ed)]!==!0x1))??[];return _0x2c0a7e!=null&&_0x2c0a7e[_0x1e7c71(0x429)][_0x1e7c71(0x1c2)]?(0x0,_0x30a372[_0x1e7c71(0x357)])(_0xba932b[_0x1e7c71(0x1e3)],{'actions':_0x23dc5e,'panel':_0x21095f[_0x1e7c71(0x2aa)]}):null;}let _0x2ef528=_0x13ba7a(0x550),_0x1f2db5='sheets-shape-ui.ribbon.shape-format.text-control',_0x439bdc='sheets-shape-ui.ribbon.shape-format.formula-control',_0x54cce7=_0x13ba7a(0x251),_0x323ce2='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0xd4e195=_0x13ba7a(0x2fb),_0x56c720='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x3b0825(_0x2f9262){const _0x38e321=_0x13ba7a;let _0x54a38d=_0x2f9262[_0x38e321(0x468)](_0x10e5f9[_0x38e321(0x297)]),_0x319ff5=_0x2f9262[_0x38e321(0x468)](_0x15864b['IDrawingManagerService']),_0x4d90c6=_0x2f9262['get'](_0x2f2bb5['SheetsShapeService']);return new _0x364ff4[(_0x38e321(0x296))](_0x4827d9=>{const _0xd4ee27=_0x38e321;let _0xfd78ab=()=>{const _0x5209df=_0x2e4e;let _0x213421=_0x777d84(_0x2f9262),_0x72f58a=_0x213421?_0x4d90c6[_0x5209df(0x204)](_0x213421[_0x5209df(0x26e)],_0x213421[_0x5209df(0x354)],_0x213421[_0x5209df(0x272)]):null;_0x4827d9['next'](_0x72f58a?(0x0,_0x1397ca[_0x5209df(0x561)])(_0x72f58a)??'':'');},_0x465fc7=_0x319ff5[_0xd4ee27(0x332)][_0xd4ee27(0x358)](_0xfd78ab),_0x29f0a7=_0x54a38d[_0xd4ee27(0x1ac)](_0x1271cb=>{const _0x5d2730=_0xd4ee27;_0x1271cb['id']===_0x2f2bb5[_0x5d2730(0x479)]['id']&&_0xfd78ab();});return _0xfd78ab(),()=>{const _0x52c1c2=_0xd4ee27;_0x465fc7[_0x52c1c2(0x539)](),_0x29f0a7[_0x52c1c2(0x206)]();};});}function _0x777d84(_0x3e55f0){const _0x379b90=_0x13ba7a;var _0x2e3513;let _0x1064d4=_0x3e55f0[_0x379b90(0x468)](_0x15864b['IDrawingManagerService'])['getFocusDrawings']();return _0x1064d4[_0x379b90(0x45b)]===0x1&&((_0x2e3513=_0x1064d4[0x0])==null?void 0x0:_0x2e3513['drawingType'])===_0x10e5f9[_0x379b90(0x2e1)][_0x379b90(0x20d)]?_0x1064d4[0x0]:null;}function _0x5a6557(_0x558f03,_0x25882a=!0x1){const _0x50b245=_0x13ba7a;let _0x5a6110=_0x558f03['get'](_0x10e5f9[_0x50b245(0x297)]),_0x2a7b86=_0x558f03[_0x50b245(0x468)](_0x15864b[_0x50b245(0x4e8)]),_0x371eab=_0x558f03[_0x50b245(0x468)](_0x2f2bb5[_0x50b245(0x4d3)]);return new _0x364ff4[(_0x50b245(0x296))](_0x480fb4=>{const _0x4ebfd8=_0x50b245;let _0x2c1aab=()=>{const _0x5d7629=_0x2e4e;let _0x2e454d=_0x777d84(_0x558f03);if(!_0x2e454d){_0x480fb4[_0x5d7629(0x475)](!0x0);return;}let _0x3ee819=_0x371eab[_0x5d7629(0x204)](_0x2e454d[_0x5d7629(0x26e)],_0x2e454d[_0x5d7629(0x354)],_0x2e454d[_0x5d7629(0x272)]);_0x480fb4[_0x5d7629(0x475)](!_0x3ee819||_0x25882a&&_0x3ee819['formulaBinding']==null);},_0x4a13c5=_0x2a7b86[_0x4ebfd8(0x332)][_0x4ebfd8(0x358)](_0x2c1aab),_0xebe78c=_0x5a6110[_0x4ebfd8(0x1ac)](_0x2a5374=>{const _0x32553a=_0x4ebfd8;_0x2a5374['id']===_0x2f2bb5[_0x32553a(0x479)]['id']&&_0x2c1aab();});return _0x2c1aab(),()=>{const _0x272f03=_0x4ebfd8;_0x4a13c5[_0x272f03(0x539)](),_0xebe78c[_0x272f03(0x206)]();};});}function _0x5de34c(_0x34ab01){const _0x37d0f6=_0x13ba7a;let _0xc76877=_0x34ab01[_0x37d0f6(0x468)](_0x15864b[_0x37d0f6(0x4e8)]),_0x126674=_0x34ab01['get'](_0x2f2bb5['SheetsShapeService']);return _0xc76877['focus$'][_0x37d0f6(0x560)]((0x0,_0x364ff4['startWith'])(_0xc76877[_0x37d0f6(0x1da)]()),(0x0,_0x364ff4[_0x37d0f6(0x281)])(()=>{const _0x529c99=_0x37d0f6;let _0x2ab23f=_0x777d84(_0x34ab01),_0x5552cf=_0x2ab23f?_0x126674[_0x529c99(0x42b)](_0x2ab23f[_0x529c99(0x26e)],_0x2ab23f[_0x529c99(0x354)],_0x2ab23f[_0x529c99(0x272)]):void 0x0;return _0x5552cf===void 0x0||(0x0,_0xd67e3f['isConnectorShape'])(_0x5552cf);}));}function _0x830cfc(_0x12c648){const _0x51a422=_0x13ba7a;return{'id':_0x25693e['id'],'type':_0x187e10[_0x51a422(0x337)]['SELECTOR'],'icon':_0x51a422(0x20c),'title':_0x51a422(0x1af),'tooltip':_0x51a422(0x1af),'selections':[{'label':{'name':_0x3084b1,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3b0825(_0x12c648),'hidden$':_0x5a6557(_0x12c648)};}function _0x4aa8e6(_0x525d6a){const _0x6147a2=_0x13ba7a;return{'id':_0x18da86['id'],'type':_0x187e10[_0x6147a2(0x337)][_0x6147a2(0x22b)],'icon':'ShapeIcon','title':_0x6147a2(0x2b4),'tooltip':_0x6147a2(0x2b4),'slot':!0x0,'selections':[{'label':{'name':_0xba932b[_0x6147a2(0x2fd)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x5de34c(_0x525d6a)};}function _0x2794d2(_0x35f4ab,_0x6345dc,_0x282e79=!0x1){const _0x359dcb=_0x13ba7a;return _0x4534c6=>({'id':_0x35f4ab,'type':_0x187e10[_0x359dcb(0x337)]['BUTTON'],'label':{'name':_0x6345dc,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x5a6557(_0x4534c6,_0x282e79)});}let _0x4583f1=_0x2794d2(_0x2ef528,_0x5c3e05),_0x4a097d=_0x2794d2(_0x1f2db5,_0x41bd5b),_0x5dbb48=_0x2794d2(_0x439bdc,_0x26103a,!0x0);function _0x271b7f(_0xd891ca,_0x1053b6,_0x2399b7,_0x1a5abf){const _0x6a3715=_0x13ba7a;return _0x2fa939=>({'id':_0xd891ca,'commandId':_0x40f1a1[_0x6a3715(0x490)]['id'],'type':_0x187e10[_0x6a3715(0x337)][_0x6a3715(0x2b7)],'icon':_0x2399b7,'title':_0x1a5abf,'tooltip':_0x1a5abf,'hidden$':_0x5a6557(_0x2fa939),'params':()=>{const _0x12740a=_0x6a3715;let _0x58b471=_0x777d84(_0x2fa939);return _0x58b471?{'unitId':_0x58b471['unitId'],'subUnitId':_0x58b471[_0x12740a(0x354)],'drawingIds':[_0x58b471[_0x12740a(0x272)]],'arrangeType':_0x1053b6}:void 0x0;}});}let _0x33a626=_0x271b7f(_0x54cce7,_0x10e5f9['ArrangeTypeEnum']['forward'],_0x13ba7a(0x1d0),_0x13ba7a(0x436)),_0x2c409e=_0x271b7f(_0x323ce2,_0x10e5f9[_0x13ba7a(0x3e1)]['backward'],_0x13ba7a(0x481),_0x13ba7a(0x27c)),_0x3ba6f1=_0x271b7f(_0xd4e195,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x3f0)],_0x13ba7a(0x51f),_0x13ba7a(0x31c)),_0x4c0302=_0x271b7f(_0x56c720,_0x10e5f9[_0x13ba7a(0x3e1)][_0x13ba7a(0x2a0)],'BottomIcon',_0x13ba7a(0x425));function _0x150b96(_0x5c690c){const _0x22a77b=_0x13ba7a;return{'id':_0x47ad5b['id'],'type':_0x187e10['MenuItemType']['BUTTON'],'icon':_0x22a77b(0x492),'title':_0x22a77b(0x344),'tooltip':_0x22a77b(0x344),'hidden$':_0x5a6557(_0x5c690c),'params':()=>{const _0x14f10f=_0x22a77b;let _0x57d232=_0x777d84(_0x5c690c);return _0x57d232?{'unitId':_0x57d232[_0x14f10f(0x26e)],'subUnitId':_0x57d232[_0x14f10f(0x354)],'drawingId':_0x57d232['drawingId']}:void 0x0;}};}let _0x136219={[_0x187e10[_0x13ba7a(0x24d)]['RIBBON']]:{[_0x523b08]:{'order':0x64,'title':_0x13ba7a(0x344),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x25693e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x830cfc},[_0x18da86['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4aa8e6}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2ef528]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4583f1}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x1f2db5]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4a097d}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5a41ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4152b2},[_0x54cce7]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x33a626},[_0x323ce2]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c409e},[_0xd4e195]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x3ba6f1},[_0x56c720]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x4c0302}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x439bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x5dbb48}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x47ad5b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x150b96},[_0xba932b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xba932b[_0x13ba7a(0x418)]}}}}},_0x1c5a09={[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x1ef)]]:{[_0x313c0d['id']]:{'order':0x4,'menuItemFactory':_0x1bacfe}}},_0x713457={..._0x1c5a09,[_0x187e10[_0x13ba7a(0x2ff)][_0x13ba7a(0x19f)]]:{[_0x3a0e82['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x40dcb5}},[_0x187e10[_0x13ba7a(0x45f)][_0x13ba7a(0x398)]]:{[_0x187e10[_0x13ba7a(0x4c4)][_0x13ba7a(0x19f)]]:{[_0x5a41ed]:{'order':0x4,'menuItemFactory':_0x26320c},[_0x354587]:{'order':0x5,'menuItemFactory':_0x4152b2}}}};var _0x3e9d67=_0x13ba7a(0x59d),_0x4f17df=_0x13ba7a(0x430);let _0x1e868c={'id':_0x13ba7a(0x1b9),'type':_0x10e5f9[_0x13ba7a(0x56b)]['OPERATION'],'handler'(_0x1bf39c,_0x57010b){const _0x20b16d=_0x13ba7a;return _0x57010b?(_0x1bf39c[_0x20b16d(0x468)](_0xba932b[_0x20b16d(0x4ef)])[_0x20b16d(0x269)](_0x57010b[_0x20b16d(0x384)],{'hostType':_0x10e5f9[_0x20b16d(0x503)][_0x20b16d(0x450)],'shapeId':_0x57010b['drawingId'],'subUnitId':_0x57010b[_0x20b16d(0x354)],'unitId':_0x57010b['unitId']}),!0x0):!0x1;}},_0x56997c=_0x13ba7a(0x21d),_0x26e934={},_0x9f7a3e=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x26ad30,_0x372984,_0x415c47,_0x3f35fd,_0xc0b24){const _0x6c46e=_0x13ba7a;super(),this[_0x6c46e(0x3cb)]=_0x26ad30,this[_0x6c46e(0x3c5)]=_0x372984,this[_0x6c46e(0x2e2)]=_0x415c47,this[_0x6c46e(0x583)]=_0x3f35fd,this[_0x6c46e(0x4d0)]=_0xc0b24,_0x5ae661(this,_0x6c46e(0x22e),null),_0x5ae661(this,'_unitId',null),_0x5ae661(this,_0x6c46e(0x2cf),null),_0x5ae661(this,_0x6c46e(0x451),void 0x0),_0x5ae661(this,'_shapes',[]),_0x5ae661(this,_0x6c46e(0x4fa),0x0),_0x5ae661(this,_0x6c46e(0x4f6),0x0),_0x5ae661(this,_0x6c46e(0x4b2),0x0),_0x5ae661(this,_0x6c46e(0x41c),0x0),_0x5ae661(this,_0x6c46e(0x267),!0x1),_0x5ae661(this,_0x6c46e(0x328),void 0x0),_0x5ae661(this,_0x6c46e(0x223),void 0x0),_0x5ae661(this,_0x6c46e(0x27d),void 0x0),_0x5ae661(this,'_adjHandlerPointerUp',void 0x0),_0x5ae661(this,_0x6c46e(0x26a),!0x1),this[_0x6c46e(0x2cd)](),this[_0x6c46e(0x24e)]();}[_0x13ba7a(0x200)](){const _0xf66f7f=_0x13ba7a;this[_0xf66f7f(0x551)]();}[_0x13ba7a(0x348)](){const _0x55e0b6=_0x13ba7a;this['_clearControls'](),this[_0x55e0b6(0x432)](!0x0);}[_0x13ba7a(0x1e1)](_0x8dee8b,_0x3aa13a,_0x1b1a76,_0xd94ce1){const _0x57b5a9=_0x13ba7a;let _0x49dd08=_0x8dee8b;if(_0x49dd08!==_0xd67e3f[_0x57b5a9(0x575)]['None']&&_0x8dee8b!==_0x57b5a9(0x261))try{let _0xc26ddc=new _0xd67e3f[(_0x57b5a9(0x48f))](_0x49dd08,'clip-adj-'+_0x8dee8b);return _0xd94ce1&&_0xc26ddc[_0x57b5a9(0x4d6)]({'adjustValues':_0xd94ce1},!0x0),_0xc26ddc[_0x57b5a9(0x523)]({'width':_0x3aa13a,'height':_0x1b1a76}),_0xc26ddc;}catch{return;}}[_0x13ba7a(0x589)](_0x3af17d,_0x2e3c4b,_0x19c444){const _0x2a5bbe=_0x13ba7a;let _0x5e1784={'unitId':_0x3af17d,'subUnitId':_0x2e3c4b,'drawingId':_0x19c444},_0x50ccb5=this[_0x2a5bbe(0x3c5)][_0x2a5bbe(0x3db)](_0x5e1784);if(_0x50ccb5&&_0x50ccb5[_0x2a5bbe(0x52e)]===_0x10e5f9['DrawingTypeEnum'][_0x2a5bbe(0x597)])return _0x50ccb5;}[_0x13ba7a(0x518)](_0x4af6a5,_0x1df6c2,_0x193bb2){const _0x33c08d=_0x13ba7a;let _0x24d52b=this[_0x33c08d(0x2e2)][_0x33c08d(0x57f)](_0x4af6a5);if(!_0x24d52b)return;let {scene:_0x296f08}=_0x24d52b,_0x3f0cd7=(0x0,_0x15864b[_0x33c08d(0x2df)])({'unitId':_0x4af6a5,'subUnitId':_0x1df6c2,'drawingId':_0x193bb2}),_0x2f7687=_0x296f08[_0x33c08d(0x38a)](_0x3f0cd7);if(_0x2f7687 instanceof _0x3458ba['Image']){let _0x1c7b61=_0x2f7687[_0x33c08d(0x233)];if(_0x1c7b61)return{'prstGeom':_0x1c7b61,'adjustValues':_0x2f7687[_0x33c08d(0x444)]};}}['_createControls'](_0x4bc74c=!0x1){const _0xd208a1=_0x13ba7a;if(!this['_unitId']||!this[_0xd208a1(0x2cf)]||!this['_activeImageId'])return;let _0x4467cd=this[_0xd208a1(0x2e2)]['getRenderUnitById'](this['_unitId']);if(!_0x4467cd||!_0x4467cd[_0xd208a1(0x39e)](_0x189be3[_0xd208a1(0x277)])[_0xd208a1(0x387)]())return;let {scene:_0x2797f3}=_0x4467cd,_0x25b3f4=this['_getImageDrawingInfo'](this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)],this['_activeImageId']);if(!_0x25b3f4)return;let {transform:_0x26f472}=_0x25b3f4;if(!_0x26f472)return;let {left:_0x4f8f5d,top:_0x3db95c,width:_0x582411,height:_0x2bd777,flipX:_0x2fe672,flipY:_0x3c499e,angle:_0x22c498=0x0}=_0x26f472;if(_0x4f8f5d===void 0x0||_0x3db95c===void 0x0)return;let _0x2d7f79=this[_0xd208a1(0x518)](this[_0xd208a1(0x35d)],this['_subUnitId'],this[_0xd208a1(0x22e)]);if(!_0x2d7f79)return;if(_0x4bc74c){let _0x2a1df7=this[_0xd208a1(0x1e1)](_0x2d7f79['prstGeom'],_0x582411||0x0,_0x2bd777||0x0,_0x2d7f79[_0xd208a1(0x4c3)]);if(!_0x2a1df7)return;this[_0xd208a1(0x451)]=_0x2a1df7[_0xd208a1(0x524)]();}let _0x4209a2=this[_0xd208a1(0x451)];if(_0x4209a2&&_0x4209a2[_0xd208a1(0x45b)]!==0x0)for(let _0x592a0a=0x0;_0x592a0a<_0x4209a2[_0xd208a1(0x45b)];_0x592a0a++){let _0x39d1b1=_0x4209a2[_0x592a0a],_0x10a28a=_0x39d1b1['x'],_0x3e665c=_0x39d1b1['y'];if(_0x2fe672&&(_0x10a28a=(_0x582411||0x0)-_0x10a28a),_0x3c499e&&(_0x3e665c=(_0x2bd777||0x0)-_0x3e665c),_0x22c498!==0x0){let _0x595413=(_0x582411||0x0)/0x2,_0x4ff861=(_0x2bd777||0x0)/0x2,_0x3bb1a2=_0x22c498*Math['PI']/0xb4,_0xae31b=Math[_0xd208a1(0x2e0)](_0x3bb1a2),_0x383117=Math['sin'](_0x3bb1a2),_0x1f3e6a=_0x10a28a-_0x595413,_0xb1ff1c=_0x3e665c-_0x4ff861;_0x10a28a=_0x595413+(_0x1f3e6a*_0xae31b-_0xb1ff1c*_0x383117),_0x3e665c=_0x4ff861+(_0x1f3e6a*_0x383117+_0xb1ff1c*_0xae31b);}let _0x58b5a8={'x':_0x10a28a,'y':_0x3e665c,'adjName':_0x39d1b1['adjName']};this['_addControl'](_0x2797f3,_0x58b5a8,_0x58b5a8[_0xd208a1(0x216)],_0x4f8f5d,_0x3db95c,this[_0xd208a1(0x35d)],this[_0xd208a1(0x2cf)]);}}[_0x13ba7a(0x19a)](_0x8f0577,_0x210b47,_0x37db10,_0x341f7a,_0x300c95,_0x2a1bea,_0x3a66ad){const _0x14c5a8=_0x13ba7a;if(!this[_0x14c5a8(0x22e)])return;let _0x4e10a3=_0x14c5a8(0x1de)+this['_activeImageId']+'-'+_0x37db10,_0x4a240a=_0x8f0577['getObjectIncludeInGroup'](_0x4e10a3);if(_0x4a240a){_0x4a240a[_0x14c5a8(0x3e2)]({'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)]});return;}let _0x1a49fa=new _0x537ea9(_0x4e10a3,{'left':_0x210b47['x']+_0x341f7a-_0xd67e3f[_0x14c5a8(0x225)][_0x14c5a8(0x1d3)],'top':_0x210b47['y']+_0x300c95-_0xd67e3f[_0x14c5a8(0x225)]['adjHandleSize'],'adjName':_0x37db10,'shapeId':this[_0x14c5a8(0x22e)],'unitId':_0x2a1bea,'subUnitId':_0x3a66ad,'width':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'height':_0xd67e3f['ShapeDefaultConfig'][_0x14c5a8(0x1d3)]+0x8,'zIndex':_0x3458ba[_0x14c5a8(0x4b5)]+0x1,'evented':!0x0});this[_0x14c5a8(0x469)][_0x14c5a8(0x1b2)](_0x1a49fa),this[_0x14c5a8(0x3ea)](_0x1a49fa,_0x8f0577,_0x37db10),_0x8f0577[_0x14c5a8(0x412)](_0x1a49fa,_0x3458ba[_0x14c5a8(0x4b5)]+0x1);}[_0x13ba7a(0x551)](){const _0x3947cf=_0x13ba7a;this[_0x3947cf(0x469)][_0x3947cf(0x45b)]!==0x0&&(this[_0x3947cf(0x469)][_0x3947cf(0x34a)](_0xe90b60=>_0xe90b60['dispose']()),this['_shapes']=[]);}[_0x13ba7a(0x43c)](_0x1078d3,_0x2a0531){const _0x3a54f7=_0x13ba7a;var _0x1330d7;let _0x285f56={'x':0x0,'y':0x0},_0x2f4ad6=this[_0x3a54f7(0x2e2)][_0x3a54f7(0x57f)](_0x1078d3);if(!_0x2f4ad6||!_0x2f4ad6['with'](_0x189be3[_0x3a54f7(0x277)])[_0x3a54f7(0x50c)](_0x2a0531))return _0x285f56;let _0x3020bb=_0x2f4ad6[_0x3a54f7(0x39e)](_0x189be3[_0x3a54f7(0x51c)]),_0x3d0a65=_0x3020bb==null?void 0x0:_0x3020bb[_0x3a54f7(0x294)]();if(!_0x3d0a65)return _0x285f56;let _0x2f9289=(_0x1330d7=this['_univerInstanceService'][_0x3a54f7(0x4a9)](_0x1078d3))==null?void 0x0:_0x1330d7[_0x3a54f7(0x1ed)](_0x2a0531);if(!_0x2f9289)return _0x285f56;let _0x42bceb=(0x0,_0x189be3[_0x3a54f7(0x501)])(_0x3d0a65[_0x3a54f7(0x3b6)],_0x3d0a65['sheetViewStartColumn'],_0x2f4ad6[_0x3a54f7(0x2a7)],_0x2f9289);return _0x42bceb?{'x':_0x42bceb[_0x3a54f7(0x1ff)],'y':_0x42bceb['viewportScrollY']}:_0x285f56;}['_getZoomRatio'](_0x25c4de,_0x2e26d1){const _0x54df1e=_0x13ba7a;var _0x5a5a42;let _0x6ee90a=(_0x5a5a42=this[_0x54df1e(0x583)][_0x54df1e(0x4a9)](_0x25c4de))==null?void 0x0:_0x5a5a42[_0x54df1e(0x1ed)](_0x2e26d1);return(_0x6ee90a==null?void 0x0:_0x6ee90a[_0x54df1e(0x461)]())??0x1;}[_0x13ba7a(0x3ea)](_0xd0881,_0x5068a0,_0x3a7763){const _0x2cb983=_0x13ba7a;this[_0x2cb983(0x47f)]((0x0,_0x10e5f9[_0x2cb983(0x576)])(_0xd0881[_0x2cb983(0x27e)][_0x2cb983(0x2f6)]((_0x533ffa,_0x2a6957)=>{const _0x4dfe2d=_0x2cb983;var _0x351521,_0x5e2c73,_0x9da47d;let {unitId:_0x1a39ec,subUnitId:_0x19df63,drawingId:_0x19172e}=_0xd0881[_0x4dfe2d(0x2c8)](),_0x2a50ce=this[_0x4dfe2d(0x589)](_0x1a39ec,_0x19df63,_0x19172e);if(!(_0x2a50ce!=null&&_0x2a50ce['transform']))return;let {left:_0x30f270,top:_0x34c827,width:_0xddb5d0,height:_0x7a4f15}=_0x2a50ce[_0x4dfe2d(0x474)];this[_0x4dfe2d(0x4fa)]=_0x30f270||0x0,this[_0x4dfe2d(0x4f6)]=_0x34c827||0x0,this['_baseWidth']=_0xddb5d0||0x0,this['_baseHeight']=_0x7a4f15||0x0;let _0x18eca2=!!((_0x351521=_0x2a50ce[_0x4dfe2d(0x474)])!=null&&_0x351521['flipX']),_0x85b8a8=!!((_0x5e2c73=_0x2a50ce['transform'])!=null&&_0x5e2c73['flipY']),_0x3defaa=((_0x9da47d=_0x2a50ce[_0x4dfe2d(0x474)])==null?void 0x0:_0x9da47d['angle'])||0x0,_0x58161d=this[_0x4dfe2d(0x518)](_0x1a39ec,_0x19df63,_0x19172e);if(!_0x58161d)return;let _0x5e2c9a=this['_getOrCreateShapeModel'](_0x58161d[_0x4dfe2d(0x233)],this[_0x4dfe2d(0x4b2)],this[_0x4dfe2d(0x41c)],_0x58161d[_0x4dfe2d(0x4c3)]);if(!_0x5e2c9a||(this['_activeShapeModel']=_0x5e2c9a,this['_activeAdjustInfo']=_0x5e2c9a[_0x4dfe2d(0x495)](_0x3a7763),!this[_0x4dfe2d(0x328)]))return;this[_0x4dfe2d(0x267)]=!0x0,_0x5068a0[_0x4dfe2d(0x1ce)]();let _0x160de0=_0x58161d['prstGeom'];this['_adjHandlerPointerMove']=_0x5068a0[_0x4dfe2d(0x3af)][_0x4dfe2d(0x2f6)]((_0x361bb5,_0x32b871)=>{const _0x170d03=_0x4dfe2d;if(!this[_0x170d03(0x267)])return;let {offsetX:_0x3fd755,offsetY:_0xb82002}=_0x361bb5,_0x4e11f0=this[_0x170d03(0x328)];if(!this['_activeShapeModel']||!_0x4e11f0)return;_0x5068a0[_0x170d03(0x1ce)](),_0x5068a0[_0x170d03(0x1b7)](_0x3458ba[_0x170d03(0x4bf)][_0x170d03(0x540)]);let _0x4ca8f9={'left':0x0,'top':0x0,'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]},_0x4829e7=this[_0x170d03(0x43c)](_0x1a39ec,_0x19df63),_0x4b1cb3=this[_0x170d03(0x570)](_0x1a39ec,_0x19df63),_0x1a6a6d=_0x3fd755/_0x4b1cb3+_0x4829e7['x']-this['_baseLeft'],_0x10632c=_0xb82002/_0x4b1cb3+_0x4829e7['y']-this['_baseTop'];if(_0x3defaa!==0x0){let _0x1b144e=this[_0x170d03(0x4b2)]/0x2,_0x4f9852=this[_0x170d03(0x41c)]/0x2,_0xef3e0b=_0x3defaa*Math['PI']/0xb4,_0x21524e=Math[_0x170d03(0x2e0)](_0xef3e0b),_0x5b0bd4=Math[_0x170d03(0x515)](_0xef3e0b),_0x4ffcff=_0x1a6a6d-_0x1b144e,_0x144260=_0x10632c-_0x4f9852;_0x1a6a6d=_0x1b144e+(_0x4ffcff*_0x21524e+_0x144260*_0x5b0bd4),_0x10632c=_0x4f9852+(-_0x4ffcff*_0x5b0bd4+_0x144260*_0x21524e);}_0x18eca2&&(_0x1a6a6d=this[_0x170d03(0x4b2)]-_0x1a6a6d),_0x85b8a8&&(_0x10632c=this[_0x170d03(0x41c)]-_0x10632c);let _0x1e4861=this[_0x170d03(0x223)][_0x170d03(0x3bf)](_0x4ca8f9,{'x':_0x1a6a6d,'y':_0x10632c},_0x4e11f0,_0x18eca2,_0x85b8a8);if(Object[_0x170d03(0x533)](_0x1e4861)['length']!==0x0){for(let [_0x5f1179,_0x18f495]of Object[_0x170d03(0x4d1)](_0x1e4861))this[_0x170d03(0x223)][_0x170d03(0x476)](_0x5f1179,_0x18f495);this[_0x170d03(0x223)][_0x170d03(0x523)]({'width':this[_0x170d03(0x4b2)],'height':this[_0x170d03(0x41c)]}),this[_0x170d03(0x28f)](_0x1a39ec,_0x19df63,_0x19172e,_0x1e4861),this[_0x170d03(0x451)]=this[_0x170d03(0x223)]['getDrawingPoints'](),this[_0x170d03(0x432)](),_0x32b871[_0x170d03(0x49f)]();}}),this[_0x4dfe2d(0x234)]=_0x5068a0['onPointerUp$']['subscribeEvent']((_0x2f10ed,_0x4848a2)=>{const _0x65fcd7=_0x4dfe2d;if(this[_0x65fcd7(0x27d)]['unsubscribe'](),this[_0x65fcd7(0x234)][_0x65fcd7(0x539)](),_0x5068a0[_0x65fcd7(0x22f)](),this[_0x65fcd7(0x223)]){let _0x49a209=this[_0x65fcd7(0x223)]['getAdjustNames'](),_0x1dc091={};for(let _0x32842a of _0x49a209){let _0x10f7ec=this[_0x65fcd7(0x223)]['getAdjustValueByName'](_0x32842a);_0x10f7ec!==void 0x0&&(_0x1dc091[_0x32842a]=_0x10f7ec);}this[_0x65fcd7(0x4d0)]['clipByShape'](_0x1a39ec,_0x19df63,_0x19172e,_0x160de0,_0x1dc091);}this[_0x65fcd7(0x328)]=void 0x0,this[_0x65fcd7(0x223)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x4848a2['stopPropagation'](),_0x5068a0[_0x65fcd7(0x51a)]();}),_0x2a6957[_0x4dfe2d(0x49f)]();})));}[_0x13ba7a(0x28f)](_0xbc539a,_0x59dd86,_0x1184e1,_0x3b5c75){const _0x4361b7=_0x13ba7a;let _0x2cbac9=this[_0x4361b7(0x2e2)][_0x4361b7(0x57f)](_0xbc539a);if(!_0x2cbac9)return;let {scene:_0x18265c}=_0x2cbac9,_0x10606d=(0x0,_0x15864b[_0x4361b7(0x2df)])({'unitId':_0xbc539a,'subUnitId':_0x59dd86,'drawingId':_0x1184e1}),_0x1a9b45=_0x18265c['getObject'](_0x10606d);if(_0x1a9b45 instanceof _0x3458ba[_0x4361b7(0x4a3)]){let _0x530120=_0x1a9b45[_0x4361b7(0x444)]??{};_0x1a9b45[_0x4361b7(0x58f)]({..._0x530120,..._0x3b5c75}),_0x1a9b45[_0x4361b7(0x334)](!0x0);}}[_0x13ba7a(0x24e)](){const _0x4ae11c=_0x13ba7a;let _0x4d28e6=this[_0x4ae11c(0x583)][_0x4ae11c(0x3d3)](_0x10e5f9['UniverInstanceType'][_0x4ae11c(0x450)]);this[_0x4ae11c(0x47f)](_0x4d28e6[_0x4ae11c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x1c2dcf=>_0x1c2dcf?_0x1c2dcf[_0x4ae11c(0x259)][_0x4ae11c(0x560)]((0x0,_0x364ff4[_0x4ae11c(0x289)])(_0x1f1f68=>{const _0x55ce0e=_0x4ae11c;if(!_0x1f1f68)return _0x364ff4['EMPTY'];let _0x5938f4=_0x1c2dcf[_0x55ce0e(0x3ff)](),_0x229eb2=this[_0x55ce0e(0x2e2)][_0x55ce0e(0x57f)](_0x5938f4),_0xa1d119=_0x229eb2==null?void 0x0:_0x229eb2[_0x55ce0e(0x2a7)];return _0xa1d119?(0x0,_0x364ff4['of'])(_0xa1d119):_0x364ff4['EMPTY'];})):_0x364ff4[_0x4ae11c(0x362)]))[_0x4ae11c(0x358)](_0xfe822f=>{const _0xb2e009=_0x4ae11c;let _0x4edd06=_0xfe822f[_0xb2e009(0x22d)]();this['disposeWithMe'](_0xfe822f[_0xb2e009(0x3af)][_0xb2e009(0x2f6)](()=>{const _0x25cc18=_0xb2e009;this[_0x25cc18(0x26a)]&&this[_0x25cc18(0x551)]();})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x202)]['subscribe'](_0x5787b4=>{const _0x51ecd8=_0xb2e009;let {objects:_0x5a0709}=_0x5787b4;if(this[_0x51ecd8(0x432)](),_0x5a0709!==null&&_0x5a0709[_0x51ecd8(0x3ba)]===0x1){let _0x5bd109=_0x5a0709['values']()[_0x51ecd8(0x475)]()[_0x51ecd8(0x472)];_0x5bd109 instanceof _0x3458ba[_0x51ecd8(0x4a3)]&&_0x5bd109[_0x51ecd8(0x233)]&&(this[_0x51ecd8(0x26a)]=!0x0);}})),this[_0xb2e009(0x47f)](_0x4edd06['changing$'][_0xb2e009(0x358)](()=>{const _0x5cc913=_0xb2e009;this[_0x5cc913(0x26a)]&&this[_0x5cc913(0x551)]();})),this['disposeWithMe'](_0xfe822f[_0xb2e009(0x54b)][_0xb2e009(0x2f6)](()=>{const _0x5dd8fc=_0xb2e009;this[_0x5dd8fc(0x26a)]&&(this[_0x5dd8fc(0x26a)]=!0x1,this[_0x5dd8fc(0x432)]());})),this[_0xb2e009(0x47f)](_0x4edd06[_0xb2e009(0x2dc)][_0xb2e009(0x358)](()=>{const _0x1f9fb6=_0xb2e009;if(this[_0x1f9fb6(0x35d)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2dd13b=this[_0x1f9fb6(0x518)](this[_0x1f9fb6(0x35d)],this[_0x1f9fb6(0x2cf)],this[_0x1f9fb6(0x22e)]);if(_0x2dd13b){var _0x36849e,_0x5e242f;let _0x206276=this[_0x1f9fb6(0x589)](this['_unitId'],this[_0x1f9fb6(0x2cf)],this['_activeImageId']),_0x544ac1=(_0x206276==null||(_0x36849e=_0x206276[_0x1f9fb6(0x474)])==null?void 0x0:_0x36849e[_0x1f9fb6(0x1dd)])||0x0,_0x4fbb91=(_0x206276==null||(_0x5e242f=_0x206276['transform'])==null?void 0x0:_0x5e242f['height'])||0x0,_0x4d416b=this[_0x1f9fb6(0x1e1)](_0x2dd13b[_0x1f9fb6(0x233)],_0x544ac1,_0x4fbb91,_0x2dd13b[_0x1f9fb6(0x4c3)]);_0x4d416b&&(this[_0x1f9fb6(0x451)]=_0x4d416b[_0x1f9fb6(0x524)](),this['_clearControls'](),this[_0x1f9fb6(0x432)](!0x0));}}}));}));}[_0x13ba7a(0x2cd)](){const _0x2eeee2=_0x13ba7a;this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)]['focus$'][_0x2eeee2(0x358)](_0x53d4fa=>{const _0x2cb298=_0x2eeee2;if(_0x53d4fa[_0x2cb298(0x45b)]===0x1){let _0x294d22=_0x53d4fa[0x0];if(_0x294d22['drawingType']===_0x10e5f9[_0x2cb298(0x2e1)][_0x2cb298(0x597)]){let {unitId:_0x140d5c,subUnitId:_0x5c1e75,drawingId:_0xe71d5f}=_0x294d22,_0x53e787=this[_0x2cb298(0x518)](_0x140d5c,_0x5c1e75,_0xe71d5f);if(_0x53e787){var _0x198eb8,_0xaf5fd5;this[_0x2cb298(0x22e)]=_0xe71d5f,this[_0x2cb298(0x35d)]=_0x140d5c,this[_0x2cb298(0x2cf)]=_0x5c1e75;let _0x9ef6ab=this[_0x2cb298(0x589)](_0x140d5c,_0x5c1e75,_0xe71d5f),_0xd2dd23=(_0x9ef6ab==null||(_0x198eb8=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0x198eb8[_0x2cb298(0x1dd)])||0x0,_0x380772=(_0x9ef6ab==null||(_0xaf5fd5=_0x9ef6ab[_0x2cb298(0x474)])==null?void 0x0:_0xaf5fd5['height'])||0x0,_0x468eed=this['_getOrCreateShapeModel'](_0x53e787[_0x2cb298(0x233)],_0xd2dd23,_0x380772,_0x53e787['adjustValues']);_0x468eed&&(this[_0x2cb298(0x451)]=_0x468eed[_0x2cb298(0x524)]()),this[_0x2cb298(0x551)](),this[_0x2cb298(0x432)](!0x0);}else this[_0x2cb298(0x2a4)]();}else this[_0x2cb298(0x2a4)]();}else this['_resetState']();})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x28e)][_0x2eeee2(0x358)](_0x54095f=>{const _0x5c099e=_0x2eeee2;if(_0x54095f[_0x5c099e(0x45b)]===0x1){let _0x9053e6=_0x54095f[0x0],_0x2efcb6=this[_0x5c099e(0x3c5)][_0x5c099e(0x3db)](_0x9053e6);(_0x2efcb6==null?void 0x0:_0x2efcb6[_0x5c099e(0x52e)])===_0x10e5f9['DrawingTypeEnum']['DRAWING_IMAGE']&&this[_0x5c099e(0x22e)]===_0x9053e6[_0x5c099e(0x272)]&&(this[_0x5c099e(0x551)](),this['_createControls'](!0x0));}})),this[_0x2eeee2(0x47f)](this[_0x2eeee2(0x3c5)][_0x2eeee2(0x1f5)][_0x2eeee2(0x358)](_0xa3578d=>{const _0x45d864=_0x2eeee2;for(let _0x520f50 of _0xa3578d)this[_0x45d864(0x22e)]===_0x520f50['drawingId']&&this['_resetState']();}));}[_0x13ba7a(0x2a4)](){const _0x29891f=_0x13ba7a;this['_activeImageId']=null,this['_unitId']=null,this[_0x29891f(0x2cf)]=null,this[_0x29891f(0x451)]=void 0x0,this[_0x29891f(0x551)]();}};_0x9f7a3e=_0x12f75a([_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba[_0x13ba7a(0x2a5)])),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x29f473))],_0x9f7a3e);function _0x3f4c4b({ref:_0x39ae4f,..._0x18ab6f}){const _0x24944a=_0x13ba7a;let {preserveStrokeWidth:_0x4186ad,icon:_0x117ba3,id:_0x37e751,className:_0x2c7a73,extend:_0x2a95eb,..._0x1c386e}=_0x18ab6f,_0x2e1aeb=('univerjs-icon\x20univerjs-icon-'+_0x37e751+'\x20'+(_0x2c7a73||''))[_0x24944a(0x581)](),_0x41e24f='_'+(0x0,_0x18bd90[_0x24944a(0x508)])(),_0x1fbe94=(0x0,_0x18bd90[_0x24944a(0x288)])(null);return(0x0,_0x18bd90[_0x24944a(0x27f)])(_0x39ae4f,()=>_0x1fbe94[_0x24944a(0x360)]),(0x0,_0x18bd90[_0x24944a(0x4e0)])(()=>{const _0x41cdcb=_0x24944a;if(_0x4186ad&&_0x1fbe94[_0x41cdcb(0x360)]&&_0x1fbe94[_0x41cdcb(0x360)][_0x41cdcb(0x3ac)]===_0x117ba3[_0x41cdcb(0x51b)])return _0x3eb98a(_0x1fbe94['current']);},[_0x4186ad,_0x117ba3]),_0x415d98(_0x117ba3,''+_0x37e751,{'defIds':_0x117ba3[_0x24944a(0x35f)],'idSuffix':_0x41e24f},{'ref':_0x1fbe94,'className':_0x2e1aeb,..._0x1c386e},_0x2a95eb);}function _0x415d98(_0x4e9922,_0x5c93b4,_0x4314fc,_0x33643b,_0x30ecff){const _0x1c6719=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x4e9922[_0x1c6719(0x51b)],{'key':_0x5c93b4,..._0x5ee590(_0x4e9922,_0x4314fc,_0x30ecff),..._0x33643b},(_0x4db7f6(_0x4e9922,_0x4314fc)[_0x1c6719(0x46d)]||[])['map']((_0x48f144,_0x52a05a)=>_0x415d98(_0x48f144,_0x5c93b4+'-'+_0x4e9922['tag']+'-'+_0x52a05a,_0x4314fc,void 0x0,_0x30ecff)));}function _0x5ee590(_0xbf56c,_0x1fd983,_0x4436d2){const _0x4838ae=_0x13ba7a;let _0x542fc3={..._0xbf56c[_0x4838ae(0x1a4)]};_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3['fill']==='colorChannel1'&&(_0x542fc3['fill']=_0x4436d2[_0x4838ae(0x3ad)]),_0x4436d2!=null&&_0x4436d2[_0x4838ae(0x3ad)]&&_0x542fc3[_0x4838ae(0x24f)]===_0x4838ae(0x3ad)&&(_0x542fc3[_0x4838ae(0x24f)]=_0x4436d2[_0x4838ae(0x3ad)]),_0xbf56c[_0x4838ae(0x51b)]===_0x4838ae(0x1b0)&&_0x542fc3['id']&&(_0x542fc3['id']+=_0x1fd983['idSuffix']),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x30c863,_0x10322b])=>{const _0xb5212e=_0x4838ae;_0x30c863===_0xb5212e(0x1b0)&&typeof _0x10322b==_0xb5212e(0x4fd)&&(_0x542fc3[_0x30c863]=_0x10322b[_0xb5212e(0x246)](/url\(#(.*)\)/,_0xb5212e(0x375)+_0x1fd983[_0xb5212e(0x3a3)]+')'));});let {defIds:_0x26d280}=_0x1fd983;return!_0x26d280||_0x26d280['length']===0x0?_0x542fc3:(_0xbf56c['tag']===_0x4838ae(0x1ca)&&_0x542fc3[_0x4838ae(0x557)]&&(_0x542fc3[_0x4838ae(0x557)]+=_0x1fd983[_0x4838ae(0x3a3)]),Object[_0x4838ae(0x4d1)](_0x542fc3)[_0x4838ae(0x34a)](([_0x6a2ca2,_0x195e84])=>{const _0xe21ea5=_0x4838ae;typeof _0x195e84==_0xe21ea5(0x4fd)&&(_0x542fc3[_0x6a2ca2]=_0x195e84[_0xe21ea5(0x246)](/url\(#(.*)\)/,_0xe21ea5(0x375)+_0x1fd983[_0xe21ea5(0x3a3)]+')'));}),_0x542fc3);}function _0x4db7f6(_0x150970,_0x59460a){const _0x54b214=_0x13ba7a;var _0x972079;let {defIds:_0x50b2e1}=_0x59460a;return!_0x50b2e1||_0x50b2e1[_0x54b214(0x45b)]===0x0?_0x150970:_0x150970[_0x54b214(0x51b)]===_0x54b214(0x44c)&&(_0x972079=_0x150970[_0x54b214(0x46d)])!=null&&_0x972079[_0x54b214(0x45b)]?{..._0x150970,'children':_0x150970['children'][_0x54b214(0x281)](_0x890982=>typeof _0x890982[_0x54b214(0x1a4)]['id']==_0x54b214(0x4fd)&&_0x50b2e1&&_0x50b2e1['includes'](_0x890982[_0x54b214(0x1a4)]['id'])?{..._0x890982,'attrs':{..._0x890982[_0x54b214(0x1a4)],'id':_0x890982[_0x54b214(0x1a4)]['id']+_0x59460a[_0x54b214(0x3a3)]}}:_0x890982)}:_0x150970;}function _0x3eb98a(_0x3f64fa){const _0x2eb91c=_0x13ba7a;let _0x5de1c9=_0x3f64fa[_0x2eb91c(0x443)][_0x2eb91c(0x462)],_0xd161ca=Math[_0x2eb91c(0x4f1)](_0x5de1c9[_0x2eb91c(0x1dd)],_0x5de1c9[_0x2eb91c(0x2c5)]);if(!Number[_0x2eb91c(0x2fc)](_0xd161ca)||_0xd161ca<=0x0||_0x5de1c9[_0x2eb91c(0x1dd)]<=0x0||_0x5de1c9[_0x2eb91c(0x2c5)]<=0x0)return()=>void 0x0;let _0x43a467=0x10/_0xd161ca,_0x10a064=Array[_0x2eb91c(0x1fd)](_0x3f64fa[_0x2eb91c(0x229)](_0x2eb91c(0x2ac)))[_0x2eb91c(0x2d8)](_0xead1ff=>{const _0x106c4c=_0x2eb91c;let _0x1ff8f2=getComputedStyle(_0xead1ff),_0x3f219e=Number[_0x106c4c(0x2b8)](_0x1ff8f2[_0x106c4c(0x386)]);return _0x1ff8f2[_0x106c4c(0x24f)]===_0x106c4c(0x542)||Number[_0x106c4c(0x2b8)](_0x1ff8f2['strokeOpacity'])===0x0||_0x1ff8f2[_0x106c4c(0x1c7)]===_0x106c4c(0x4a2)||!Number[_0x106c4c(0x2fc)](_0x3f219e)||_0x3f219e<=0x0?[]:[{'element':_0xead1ff,'hadStyleAttribute':_0xead1ff[_0x106c4c(0x408)]('style'),'originalStrokeWidth':_0x3f219e,'strokeWidth':_0x477470(_0xead1ff['style'],_0x106c4c(0x572))}];})[_0x2eb91c(0x281)](_0x5b4b9d=>({'appliedStrokeWidth':null,'element':_0x5b4b9d[_0x2eb91c(0x217)],'hadStyleAttribute':_0x5b4b9d[_0x2eb91c(0x4b3)],'isReleased':!0x1,'originalStrokeWidth':_0x5b4b9d['originalStrokeWidth'],'strokeWidth':_0x5b4b9d[_0x2eb91c(0x386)]}));if(_0x10a064[_0x2eb91c(0x45b)]===0x0)return()=>void 0x0;let _0x484b81=(_0x142f3c,_0x48aaa9)=>{const _0x1239b1=_0x2eb91c;if(_0x5de1c9[_0x1239b1(0x1dd)]<=0x0||_0x5de1c9[_0x1239b1(0x2c5)]<=0x0||_0x142f3c<=0x0||_0x48aaa9<=0x0)return;let _0xc1257e=Math[_0x1239b1(0x254)](_0x142f3c/_0x5de1c9[_0x1239b1(0x1dd)],_0x48aaa9/_0x5de1c9[_0x1239b1(0x2c5)]);!Number[_0x1239b1(0x2fc)](_0xc1257e)||_0xc1257e<=0x0||_0x10a064[_0x1239b1(0x34a)](_0x5f1d50=>{const _0x36544e=_0x1239b1;if(_0x5f1d50[_0x36544e(0x1f7)])return;if(_0x5f1d50[_0x36544e(0x3e7)]!==null&&(_0x5f1d50['element'][_0x36544e(0x45d)][_0x36544e(0x26d)]('stroke-width')!==_0x5f1d50[_0x36544e(0x3e7)]||_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)]['getPropertyPriority'](_0x36544e(0x572))!==_0x5f1d50['strokeWidth'][_0x36544e(0x336)])){_0x5f1d50[_0x36544e(0x3e7)]=null,_0x5f1d50['isReleased']=!0x0;return;}let _0x5e4504=_0x5f1d50[_0x36544e(0x220)]*_0x43a467/_0xc1257e,_0x18b86f=Number(_0x5e4504['toFixed'](0xc))+'px';_0x5f1d50[_0x36544e(0x217)][_0x36544e(0x45d)][_0x36544e(0x483)]('stroke-width',_0x18b86f,_0x5f1d50[_0x36544e(0x386)][_0x36544e(0x336)]),_0x5f1d50[_0x36544e(0x3e7)]=_0x18b86f;});},_0x3f3a5b=_0x3f64fa[_0x2eb91c(0x452)]();_0x484b81(_0x3f3a5b[_0x2eb91c(0x1dd)],_0x3f3a5b['height']);let _0x2d1add=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22b7fc=>{const _0x2a3d6b=_0x2eb91c;if(_0x22b7fc[_0x2a3d6b(0x301)](_0x4de675=>_0x4de675[_0x2a3d6b(0x2de)]===_0x3f64fa)){let _0x551ff6=_0x3f64fa['getBoundingClientRect']();_0x484b81(_0x551ff6[_0x2a3d6b(0x1dd)],_0x551ff6[_0x2a3d6b(0x2c5)]);}});return _0x2d1add==null||_0x2d1add[_0x2eb91c(0x3d9)](_0x3f64fa),()=>{const _0xe5720=_0x2eb91c;_0x2d1add==null||_0x2d1add['disconnect'](),_0x10a064[_0xe5720(0x34a)](_0x29ea8a=>{const _0x31f6a6=_0xe5720;_0x29ea8a[_0x31f6a6(0x3e7)]!==null&&(_0x5c44c9(_0x29ea8a[_0x31f6a6(0x217)]['style'],'stroke-width',_0x29ea8a[_0x31f6a6(0x3e7)],_0x29ea8a['strokeWidth'][_0x31f6a6(0x336)],_0x29ea8a['strokeWidth']),!_0x29ea8a[_0x31f6a6(0x4b3)]&&_0x29ea8a['element']['style'][_0x31f6a6(0x45b)]===0x0&&_0x29ea8a['element'][_0x31f6a6(0x249)](_0x31f6a6(0x45d)));});};}function _0x477470(_0x397ab6,_0x3d174b){const _0x3a6c1c=_0x13ba7a;return{'priority':_0x397ab6['getPropertyPriority'](_0x3d174b),'value':_0x397ab6[_0x3a6c1c(0x26d)](_0x3d174b)};}function _0x5c44c9(_0xc83d27,_0x3a1b23,_0x50af69,_0x598415,_0x341895){const _0x2f586f=_0x13ba7a;_0xc83d27[_0x2f586f(0x26d)](_0x3a1b23)===_0x50af69&&_0xc83d27['getPropertyPriority'](_0x3a1b23)===_0x598415&&(_0x341895[_0x2f586f(0x472)]?_0xc83d27['setProperty'](_0x3a1b23,_0x341895['value'],_0x341895['priority']):_0xc83d27[_0x2f586f(0x2d5)](_0x3a1b23));}_0x3f4c4b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x30c);let _0x47913d={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x4c9),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x1fc),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x371),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':'path','attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x287)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x415)}}]},_0x414477=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x2e8f91,_0x30fda1){const _0x28922b=_0x13ba7a;return(0x0,_0x18bd90[_0x28922b(0x50e)])(_0x3f4c4b,Object[_0x28922b(0x236)]({},_0x2e8f91,{'id':_0x28922b(0x323),'ref':_0x30fda1,'icon':_0x47913d}));});_0x414477[_0x13ba7a(0x2f2)]=_0x13ba7a(0x350);let _0x592adc={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x44b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x556),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x4ab),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M8\x2010.2V11.8','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x31a),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}}]},_0x20e04e=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x572c69,_0xc60eff){const _0x14ac33=_0x13ba7a;return(0x0,_0x18bd90[_0x14ac33(0x50e)])(_0x3f4c4b,Object[_0x14ac33(0x236)]({},_0x572c69,{'id':_0x14ac33(0x2c9),'ref':_0xc60eff,'icon':_0x592adc}));});_0x20e04e[_0x13ba7a(0x2f2)]=_0x13ba7a(0x3cc);let _0x5f5806={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34c),'strokeLinecap':'round','strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x199),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x34f),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x13ba7a(0x203),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x29e),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5b520d=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x41f1ef,_0x3bd550){const _0x1b3d78=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1b3d78(0x236)]({},_0x41f1ef,{'id':_0x1b3d78(0x2bd),'ref':_0x3bd550,'icon':_0x5f5806}));});_0x5b520d[_0x13ba7a(0x2f2)]=_0x13ba7a(0x431);let _0x3a88f1={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x356),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x4f5)}}]},_0x561e77=(0x0,_0x18bd90['forwardRef'])(function(_0x323736,_0xe41a6a){const _0x257c1a=_0x13ba7a;return(0x0,_0x18bd90[_0x257c1a(0x50e)])(_0x3f4c4b,Object['assign']({},_0x323736,{'id':_0x257c1a(0x3f5),'ref':_0xe41a6a,'icon':_0x3a88f1}));});_0x561e77[_0x13ba7a(0x2f2)]='MoveDownIcon';let _0x228117={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':'1em','height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x41a),'fillRule':'evenodd','clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':'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'}}]},_0x37f265=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x16a8bb,_0x3ca48e){const _0x37ada5=_0x13ba7a;return(0x0,_0x18bd90[_0x37ada5(0x50e)])(_0x3f4c4b,Object[_0x37ada5(0x236)]({},_0x16a8bb,{'id':_0x37ada5(0x314),'ref':_0x3ca48e,'icon':_0x228117}));});_0x37f265[_0x13ba7a(0x2f2)]=_0x13ba7a(0x1d0);let _0x4b5d4b={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x4e302b=(0x0,_0x18bd90['forwardRef'])(function(_0x23bec4,_0x44f71){const _0x1164cc=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1164cc(0x236)]({},_0x23bec4,{'id':_0x1164cc(0x2c1),'ref':_0x44f71,'icon':_0x4b5d4b}));});_0x4e302b[_0x13ba7a(0x2f2)]=_0x13ba7a(0x2e9);let _0x195121={'tag':_0x13ba7a(0x437),'attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':_0x13ba7a(0x316),'width':_0x13ba7a(0x3f1),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ba),'strokeLinecap':_0x13ba7a(0x396),'strokeLinejoin':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x2ef),'strokeLinecap':_0x13ba7a(0x396),'strokeWidth':1.2}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x54f),'strokeLinejoin':'round'}},{'tag':_0x13ba7a(0x219),'attrs':{'stroke':_0x13ba7a(0x346),'d':_0x13ba7a(0x40f)}}]},_0x2534bb=(0x0,_0x18bd90['forwardRef'])(function(_0x3d42bc,_0x239065){const _0x1cd4c4=_0x13ba7a;return(0x0,_0x18bd90['createElement'])(_0x3f4c4b,Object[_0x1cd4c4(0x236)]({},_0x3d42bc,{'id':_0x1cd4c4(0x285),'ref':_0x239065,'icon':_0x195121}));});_0x2534bb['displayName']=_0x13ba7a(0x492);let _0x5594fa={'tag':'svg','attrs':{'xmlns':_0x13ba7a(0x369),'fill':_0x13ba7a(0x542),'viewBox':'0\x200\x2017\x2016','width':_0x13ba7a(0x3f1),'height':_0x13ba7a(0x3f1)},'children':[{'tag':_0x13ba7a(0x219),'attrs':{'fill':'currentColor','d':_0x13ba7a(0x3e3)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x24b),'fillRule':_0x13ba7a(0x50d),'clipRule':_0x13ba7a(0x50d)}},{'tag':_0x13ba7a(0x219),'attrs':{'fill':_0x13ba7a(0x346),'d':_0x13ba7a(0x453),'fillRule':_0x13ba7a(0x50d),'clipRule':'evenodd'}}]},_0x209146=(0x0,_0x18bd90[_0x13ba7a(0x30f)])(function(_0x4a217a,_0x2a6ffa){const _0x11e1a8=_0x13ba7a;return(0x0,_0x18bd90[_0x11e1a8(0x50e)])(_0x3f4c4b,Object[_0x11e1a8(0x236)]({},_0x4a217a,{'id':'topmost-icon','ref':_0x2a6ffa,'icon':_0x5594fa}));});_0x209146[_0x13ba7a(0x2f2)]=_0x13ba7a(0x51f);function _0x18dc10(_0x86c5e){const _0x8bea11=_0x13ba7a;return _0x86c5e[_0x8bea11(0x581)]()||void 0x0;}function _0xd0506c(_0x21741e,_0x1f4a9e,_0x5a3f0b){const _0x5ef6c2=_0x13ba7a;var _0xe90dd4;return((_0xe90dd4=_0x21741e['name'])==null?void 0x0:_0xe90dd4[_0x5ef6c2(0x581)]())||_0x5a3f0b['t'](_0x5ef6c2(0x43f)+(0x0,_0xba932b[_0x5ef6c2(0x531)])(_0x21741e['drawingType']))+'\x20'+(_0x1f4a9e+0x1);}function _0x339519({PanelComponent:_0x157833=_0x2a7f32[_0x13ba7a(0x48d)]}){const _0x116f24=_0x13ba7a;var _0x4a87ce;let _0x71a148=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x482)]),_0x2ca1fa={'title':_0x71a148['t'](_0x116f24(0x55a)),'empty':_0x71a148['t'](_0x116f24(0x37b)),'showAll':_0x71a148['t'](_0x116f24(0x586)),'hideAll':_0x71a148['t'](_0x116f24(0x41b)),'lockAll':_0x71a148['t'](_0x116f24(0x244)),'unlockAll':_0x71a148['t'](_0x116f24(0x318)),'moveForward':_0x71a148['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x71a148['t'](_0x116f24(0x4b9)),'close':_0x71a148['t'](_0x116f24(0x21b)),'show':_0x71a148['t'](_0x116f24(0x3d7)),'hide':_0x71a148['t'](_0x116f24(0x3b1)),'lock':_0x71a148['t'](_0x116f24(0x28a)),'unlock':_0x71a148['t'](_0x116f24(0x532)),'lockHint':_0x71a148['t'](_0x116f24(0x46f)),'unlockHint':_0x71a148['t']('drawing-ui.objectListPanel.unlockHint'),'name':_0x71a148['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x71a148['t'](_0x116f24(0x454)),'description':_0x71a148['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x71a148['t'](_0x116f24(0x47c)),'details':_0x71a148['t'](_0x116f24(0x579)),'noSelection':_0x71a148['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x71a148['t']('drawing-ui.objectListPanel.locate'),'expand':_0x71a148['t'](_0x116f24(0x2c2)),'collapse':_0x71a148['t'](_0x116f24(0x345)),'dragToReorder':_0x71a148['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x71a148['t'](_0x116f24(0x40a)),'filterAll':_0x71a148['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x71a148['t'](_0x116f24(0x321)),'filterLocked':_0x71a148['t'](_0x116f24(0x1b6)),'sectionCanvas':_0x71a148['t'](_0x116f24(0x1a5)),'sectionFloating':_0x71a148['t'](_0x116f24(0x1fb))},_0x114ead=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x297)]),_0x338f6a=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x10e5f9[_0x116f24(0x41d)]),_0x1f56f5=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x40f1a1[_0x116f24(0x292)]),_0x2630f6=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x15864b[_0x116f24(0x4e8)]),_0x527233=(0x0,_0x187e10[_0x116f24(0x53e)])(_0x3458ba[_0x116f24(0x2a5)]),[,_0x16df67]=(0x0,_0x18bd90[_0x116f24(0x2da)])(_0x4bbff9=>_0x4bbff9+0x1,0x0),_0x275265=_0x338f6a[_0x116f24(0x34e)](_0x10e5f9['UniverInstanceType'][_0x116f24(0x450)]),_0x5f4bfc=(_0x275265==null?void 0x0:_0x275265['getUnitId']())??'',_0x16a15a=(_0x275265==null||(_0x4a87ce=_0x275265['getActiveSheet']())==null?void 0x0:_0x4a87ce[_0x116f24(0x37c)]())??'',_0xda63fd=(0x0,_0x187e10[_0x116f24(0x364)])(()=>_0x2630f6[_0x116f24(0x332)],_0x2630f6[_0x116f24(0x1da)](),!0x1,[_0x2630f6]);(0x0,_0x18bd90[_0x116f24(0x41e)])(()=>{const _0x40f824=_0x116f24;let _0x1fc01d=_0x114ead[_0x40f824(0x1ac)](()=>_0x16df67());return()=>_0x1fc01d[_0x40f824(0x206)]();},[_0x114ead]);let _0x2e7029=_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingData'](_0x5f4bfc,_0x16a15a):{},_0x266b5b=(_0x5f4bfc&&_0x16a15a?_0x1f56f5['getDrawingOrder'](_0x5f4bfc,_0x16a15a):[])['map'](_0x3dd385=>_0x2e7029[_0x3dd385])[_0x116f24(0x435)](_0x5d3454=>!!_0x5d3454)[_0x116f24(0x52c)](),_0x3478e1=_0x266b5b[_0x116f24(0x465)]((_0x344252,_0x3defc9)=>(_0x344252[(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x3defc9[_0x116f24(0x52e)])]+=0x1,_0x344252),{'canvas':0x0,'floating':0x0}),_0x5e818a={'canvas':0x0,'floating':0x0},_0x38e450=_0x266b5b[_0x116f24(0x281)]((_0x2aae4a,_0x5a5c83)=>{const _0x563c07=_0x116f24;let _0x3e70ec=(0x0,_0x2a7f32['getObjectListPanelSectionIdForDrawingType'])(_0x2aae4a['drawingType']),_0x280a1a=_0x3e70ec===_0x2a7f32[_0x563c07(0x28c)],_0x26cea8=_0x5e818a[_0x3e70ec]++;return{'id':_0x2aae4a[_0x563c07(0x272)],'name':_0xd0506c(_0x2aae4a,_0x5a5c83,_0x71a148),'description':_0x2aae4a['description'],'visible':_0x2aae4a[_0x563c07(0x1c5)]!==!0x0,'selectable':_0x2aae4a[_0x563c07(0x382)]!==!0x1,'sectionId':_0x3e70ec,'sectionTitle':_0x280a1a?_0x2ca1fa[_0x563c07(0x42c)]:_0x2ca1fa[_0x563c07(0x4d4)],'capabilities':_0x280a1a?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x280a1a&&_0x26cea8>0x0,'canMoveBackward':!_0x280a1a&&_0x26cea8<_0x3478e1[_0x563c07(0x31f)]-0x1,'canReorder':!_0x280a1a};}),_0x86da9a=(0x0,_0x18bd90[_0x116f24(0x2a1)])(()=>(_0xda63fd??[])[_0x116f24(0x435)](_0x58cf0a=>_0x58cf0a[_0x116f24(0x26e)]===_0x5f4bfc&&_0x58cf0a[_0x116f24(0x354)]===_0x16a15a)[_0x116f24(0x281)](_0x311789=>_0x311789[_0x116f24(0x272)]),[_0xda63fd,_0x16a15a,_0x5f4bfc]),_0x4a775d=_0x86da9a[_0x86da9a[_0x116f24(0x45b)]-0x1]??null,_0x58f603=_0x2418f3=>_0x1f56f5[_0x116f24(0x3db)]({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2418f3})??null,_0x57d64b=async _0x230f10=>{const _0x3dd290=_0x116f24;_0x5f4bfc&&_0x230f10['length']&&await _0x114ead[_0x3dd290(0x274)](_0x40f1a1[_0x3dd290(0x26f)]['id'],{'unitId':_0x5f4bfc,'drawings':_0x230f10});},_0x7319cd=async(_0x4d7e31,_0x5f43ab)=>{_0x58f603(_0x4d7e31)&&await _0x57d64b([{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x4d7e31,..._0x5f43ab}]);},_0x34f45f=(_0x2f620c,_0x23d19f)=>{const _0x1b1aad=_0x116f24;if(!_0x5f4bfc||!_0x16a15a)return;let _0x294462=_0x23d19f?_0x86da9a[_0x1b1aad(0x1df)](_0x2f620c)?_0x86da9a[_0x1b1aad(0x435)](_0x194953=>_0x194953!==_0x2f620c):[..._0x86da9a,_0x2f620c]:[_0x2f620c];_0x114ead[_0x1b1aad(0x1f8)](_0x15864b[_0x1b1aad(0x2e8)]['id'],_0x294462[_0x1b1aad(0x281)](_0x28ffe7=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x28ffe7})));let _0x2ec5bb=_0x294462[_0x294462[_0x1b1aad(0x45b)]-0x1];_0x2ec5bb?(0x0,_0xba932b[_0x1b1aad(0x559)])(_0x527233,{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x2ec5bb}):(0x0,_0xba932b[_0x1b1aad(0x2a9)])(_0x527233,_0x5f4bfc);},_0x3b8c4b=async(_0x96a124,_0x3fe9b7)=>{const _0x37668b=_0x116f24;await _0x57d64b(_0x96a124[_0x37668b(0x281)](_0x42a4e9=>_0x58f603(_0x42a4e9))['filter'](_0x3afb2c=>!!_0x3afb2c)[_0x37668b(0x435)](_0x2e03a3=>_0x2e03a3[_0x37668b(0x1c5)]!==!0x0!==_0x3fe9b7)[_0x37668b(0x281)](_0x55882f=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x55882f[_0x37668b(0x272)],'hidden':!_0x3fe9b7})));},_0x48b695=async(_0x122f59,_0x67b6c1)=>{const _0x4882a5=_0x116f24;await _0x57d64b(_0x122f59[_0x4882a5(0x281)](_0x546e6c=>_0x58f603(_0x546e6c))[_0x4882a5(0x435)](_0x1732de=>!!_0x1732de)[_0x4882a5(0x435)](_0x47b5c6=>_0x47b5c6[_0x4882a5(0x382)]!==!0x1!==_0x67b6c1)[_0x4882a5(0x281)](_0x3fa86d=>({'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingId':_0x3fa86d[_0x4882a5(0x272)],'selectable':_0x67b6c1})));},_0x9cd754=_0x24c8c6=>{const _0x4fbbbf=_0x116f24;let _0x154752=_0x58f603(_0x24c8c6);if(_0x154752)return _0x48b695([_0x24c8c6],_0x154752[_0x4fbbbf(0x382)]===!0x1);},_0x2b6df4=async(_0x233ebc,_0x211888)=>{const _0x465e59=_0x116f24;var _0x785f74;let _0x2cf699=_0x18dc10(_0x211888);(((_0x785f74=_0x58f603(_0x233ebc))==null?void 0x0:_0x785f74[_0x465e59(0x1f6)])??void 0x0)!==_0x2cf699&&await _0x7319cd(_0x233ebc,{'name':_0x2cf699});},_0x463211=async(_0x117b38,_0xd75c29)=>{const _0x4b8eb2=_0x116f24;var _0x470a8c;let _0x34f8e3=_0x18dc10(_0xd75c29);(((_0x470a8c=_0x58f603(_0x117b38))==null?void 0x0:_0x470a8c[_0x4b8eb2(0x320)])??void 0x0)!==_0x34f8e3&&await _0x7319cd(_0x117b38,{'description':_0x34f8e3});},_0xbfb439=async(_0x280536,_0x544658)=>{const _0x4621f5=_0x116f24;_0x5f4bfc&&_0x16a15a&&await _0x114ead[_0x4621f5(0x274)](_0x40f1a1['SetDrawingArrangeCommand']['id'],{'unitId':_0x5f4bfc,'subUnitId':_0x16a15a,'drawingIds':[_0x280536],'arrangeType':_0x544658});};return!_0x5f4bfc||!_0x16a15a?(0x0,_0x30a372[_0x116f24(0x357)])(_0x116f24(0x3a5),{'className':_0x116f24(0x1fa),'children':_0x2ca1fa[_0x116f24(0x284)]}):(0x0,_0x30a372['jsx'])(_0x157833,{'labels':_0x2ca1fa,'items':_0x38e450,'selectedIds':_0x86da9a,'focusedId':_0x4a775d,'showHeader':!0x1,'onSelect':_0x34f45f,'onSetVisible':_0x3b8c4b,'onSetSelectable':_0x48b695,'onCommitName':_0x2b6df4,'onCommitDescription':_0x463211,'onMoveForward':async _0x1cc14e=>_0xbfb439(_0x1cc14e,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x470)]),'onMoveBackward':async _0x30b3a0=>_0xbfb439(_0x30b3a0,_0x10e5f9[_0x116f24(0x3e1)][_0x116f24(0x208)]),'onToggleSelectable':_0x9cd754});}function _0x1c616(){const _0x106164=_0x13ba7a;return(0x0,_0x30a372[_0x106164(0x357)])(_0x339519,{'PanelComponent':_0x2a7f32[_0x106164(0x3fa)]});}let _0x5debd6=class extends _0x10e5f9['Disposable']{constructor(_0x1557d5,_0x57992c){const _0x3a437f=_0x13ba7a;super(),this['disposeWithMe'](_0x1557d5[_0x3a437f(0x529)](_0x4dafcd,_0x1c616)),this[_0x3a437f(0x47f)](_0x57992c[_0x3a437f(0x529)]({'BottomIcon':_0x414477,'FlipHorizontalIcon':_0x20e04e,'FlipVerticalIcon':_0x5b520d,'MoveDownIcon':_0x561e77,'MoveUpIcon':_0x37f265,'ObjectLayersIcon':_0x4e302b,'ShapeFormatSettingIcon':_0x2534bb,'TopmostIcon':_0x209146})),this[_0x3a437f(0x47f)](_0x1557d5['register'](_0xb1d681,_0x29a2e)),this['disposeWithMe'](_0x1557d5['register'](_0x993061,_0x52a211)),_0x1557d5[_0x3a437f(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x3a437f(0x47f)](_0x1557d5['register'](_0x2a7f32[_0x3a437f(0x303)],_0x88ad35));}};_0x5debd6=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0x5debd6);let _0x17f3c3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0xb342d3){const _0x4844e4=_0x13ba7a;super(),this[_0x4844e4(0x55d)]=_0xb342d3,_0x5ae661(this,_0x4844e4(0x2bf),new _0x364ff4['BehaviorSubject'](null)),_0x5ae661(this,'editingParams$',this[_0x4844e4(0x2bf)][_0x4844e4(0x511)]()),_0x5ae661(this,_0x4844e4(0x349),new _0x364ff4[(_0x4844e4(0x222))](!0x1)),_0x5ae661(this,'onSavingEditorData$',this[_0x4844e4(0x349)]['asObservable']()),_0x5ae661(this,_0x4844e4(0x1cc),void 0x0),this['disposeWithMe'](this[_0x4844e4(0x55d)][_0x4844e4(0x541)][_0x4844e4(0x358)](()=>{const _0x4e62ef=_0x4844e4;let _0x12ee7a=this[_0x4e62ef(0x3bd)]();_0x12ee7a!=null&&_0x12ee7a['visible']&&!this[_0x4e62ef(0x2af)](_0x12ee7a)&&this[_0x4e62ef(0x578)](null);}));}['dispose'](){const _0x114da=_0x13ba7a;this[_0x114da(0x3f7)](),this[_0x114da(0x2bf)][_0x114da(0x475)](null),this[_0x114da(0x2bf)]['complete'](),this[_0x114da(0x349)][_0x114da(0x475)](!0x1),this[_0x114da(0x349)][_0x114da(0x3b2)](),super[_0x114da(0x206)]();}[_0x13ba7a(0x578)](_0xdb94c7){const _0x5708f0=_0x13ba7a;(_0xdb94c7==null||!_0xdb94c7[_0x5708f0(0x2ed)]||this[_0x5708f0(0x2af)](_0xdb94c7))&&(this[_0x5708f0(0x3f7)](),this['_editingParams$']['next'](_0xdb94c7),(_0xdb94c7==null||_0xdb94c7[_0x5708f0(0x2ed)]&&this[_0x5708f0(0x349)][_0x5708f0(0x338)]())&&this[_0x5708f0(0x349)][_0x5708f0(0x475)](!0x1));}[_0x13ba7a(0x1e4)](_0x21fa02){const _0x3624bc=_0x13ba7a;this[_0x3624bc(0x349)][_0x3624bc(0x475)](_0x21fa02);}[_0x13ba7a(0x3bd)](){const _0xa3d466=_0x13ba7a;return this['_editingParams$'][_0xa3d466(0x338)]();}[_0x13ba7a(0x2af)](_0x278e3e){const _0x23c8da=_0x13ba7a;let _0x7ee1d2=this[_0x23c8da(0x55d)][_0x23c8da(0x3da)](new _0x32abfe['WorkbookEditablePermission'](_0x278e3e[_0x23c8da(0x26e)])['id']),_0x444d54=this['_permissionService']['getPermissionPoint'](new _0x32abfe[(_0x23c8da(0x1f2))](_0x278e3e['unitId'],_0x278e3e[_0x23c8da(0x354)])['id']);return((_0x7ee1d2==null?void 0x0:_0x7ee1d2[_0x23c8da(0x472)])??!0x0)&&((_0x444d54==null?void 0x0:_0x444d54[_0x23c8da(0x472)])??!0x0);}[_0x13ba7a(0x403)](_0x1308ba){const _0x473e26=_0x13ba7a;let _0x87b23e=this[_0x473e26(0x3bd)]();_0x87b23e&&this['_completionFrame']===void 0x0&&(this['setOnSavingEditorData'](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x1c0208=_0x473e26;this[_0x1c0208(0x1cc)]=void 0x0,this[_0x1c0208(0x3bd)]()===_0x87b23e&&this['setEditing'](null);}));}[_0x13ba7a(0x3f7)](){const _0x499d93=_0x13ba7a;this[_0x499d93(0x1cc)]!==void 0x0&&(cancelAnimationFrame(this[_0x499d93(0x1cc)]),this[_0x499d93(0x1cc)]=void 0x0);}['cancelEditing'](){const _0x57da10=_0x13ba7a;this[_0x57da10(0x3bd)]()&&this[_0x57da10(0x578)](null);}};_0x17f3c3=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x509)])],_0x17f3c3);let _0xa4311e=class extends _0x10e5f9['Disposable']{constructor(_0x3b602f,_0x50b6fc,_0x449602,_0x1f165f,_0x2b62e7,_0x2bbd8a){const _0x362d2a=_0x13ba7a;super(),this[_0x362d2a(0x3cb)]=_0x3b602f,this[_0x362d2a(0x58c)]=_0x50b6fc,this[_0x362d2a(0x205)]=_0x449602,this[_0x362d2a(0x3c5)]=_0x1f165f,this[_0x362d2a(0x39b)]=_0x2b62e7,this[_0x362d2a(0x56c)]=_0x2bbd8a,_0x5ae661(this,_0x362d2a(0x1d2),null),this[_0x362d2a(0x2ca)](),this['_initSelection'](),this[_0x362d2a(0x4fb)]();}[_0x13ba7a(0x2ca)](){const _0x2d7520=_0x13ba7a;let {scene:_0x4e02d3}=this['_context'];this['disposeWithMe'](_0x4e02d3[_0x2d7520(0x417)]['subscribeEvent'](_0x1f3afb=>{const _0x5ed7da=_0x2d7520;let {offsetX:_0x3329a7,offsetY:_0x5da42a}=_0x1f3afb,_0x1a94ec=_0x4e02d3[_0x5ed7da(0x3c0)](_0x3458ba[_0x5ed7da(0x265)][_0x5ed7da(0x3ae)]([_0x3329a7,_0x5da42a]));if(_0x1a94ec instanceof _0x402866){let _0xb4a03f=this[_0x5ed7da(0x56c)][_0x5ed7da(0x2f5)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec['subUnitId'],_0x1a94ec[_0x5ed7da(0x42a)]);if((0x0,_0xd67e3f[_0x5ed7da(0x36a)])(this[_0x5ed7da(0x56c)][_0x5ed7da(0x21e)](_0x1a94ec[_0x5ed7da(0x26e)],_0x1a94ec[_0x5ed7da(0x354)],_0x1a94ec['shapeId']))||_0xb4a03f!=null&&_0xb4a03f['getShapeData']()[_0x5ed7da(0x1c2)])return;this[_0x5ed7da(0x205)][_0x5ed7da(0x578)]({'visible':!0x0,'unitId':_0x1a94ec[_0x5ed7da(0x26e)],'subUnitId':_0x1a94ec[_0x5ed7da(0x354)],'shapeId':_0x1a94ec[_0x5ed7da(0x42a)],'shapeKey':_0x1a94ec['oKey']});}}));}[_0x13ba7a(0x392)](){const _0x459b81=_0x13ba7a;this[_0x459b81(0x47f)](this[_0x459b81(0x3c5)][_0x459b81(0x332)][_0x459b81(0x358)](_0xf591af=>{const _0x5bf42=_0x459b81;if(_0xf591af[_0x5bf42(0x45b)]===0x1){let _0x137003=_0xf591af[0x0],_0x507de2=this[_0x5bf42(0x3c5)][_0x5bf42(0x3db)](_0x137003);if((_0x507de2==null?void 0x0:_0x507de2[_0x5bf42(0x52e)])===_0x10e5f9[_0x5bf42(0x2e1)][_0x5bf42(0x20d)]){var _0x7ce5a7;let _0x500d76=this[_0x5bf42(0x205)][_0x5bf42(0x3bd)]();if((_0x500d76==null?void 0x0:_0x500d76[_0x5bf42(0x42a)])===_0x137003[_0x5bf42(0x272)]&&_0x500d76[_0x5bf42(0x2ed)])return;let _0x25795b=(0x0,_0xd67e3f['isConnectorShape'])(this[_0x5bf42(0x56c)][_0x5bf42(0x21e)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)])),_0x5444a8=!!((_0x7ce5a7=this[_0x5bf42(0x56c)][_0x5bf42(0x2f5)](_0x137003[_0x5bf42(0x26e)],_0x137003[_0x5bf42(0x354)],_0x137003[_0x5bf42(0x272)]))!=null&&_0x7ce5a7[_0x5bf42(0x434)]()[_0x5bf42(0x1c2)]);(_0x25795b||_0x5444a8)&&this[_0x5bf42(0x205)][_0x5bf42(0x578)](null);}else this['_shapeTextEditingService']['completeEditing']();}else this['_shapeTextEditingService'][_0x5bf42(0x403)]();})),this[_0x459b81(0x47f)](this['_drawingManagerService']['remove$'][_0x459b81(0x358)](_0x4a27e8=>{const _0x275506=_0x459b81;let _0x483c1e=this[_0x275506(0x205)]['getEditing']();_0x483c1e&&_0x4a27e8[_0x275506(0x301)](_0x29f339=>_0x29f339[_0x275506(0x272)]===_0x483c1e[_0x275506(0x42a)])&&this['_shapeTextEditingService'][_0x275506(0x578)](null);}));}[_0x13ba7a(0x4fb)](){const _0x3ee940=_0x13ba7a;this[_0x3ee940(0x47f)](this[_0x3ee940(0x205)]['editingParams$'][_0x3ee940(0x358)](_0x91bff3=>{const _0x575c56=_0x3ee940;let {scene:_0x2b82b6}=this[_0x575c56(0x3cb)];if(this[_0x575c56(0x1d2)]){let _0x383f63=_0x2b82b6[_0x575c56(0x1a7)](this[_0x575c56(0x1d2)]);_0x383f63&&_0x383f63['setEditing'](!0x1);}if(_0x91bff3){let _0x41b151=!!_0x91bff3[_0x575c56(0x2ed)],_0x257e39=_0x2b82b6[_0x575c56(0x1a7)](_0x91bff3[_0x575c56(0x2d4)]);_0x257e39&&(_0x257e39[_0x575c56(0x578)](_0x41b151),this[_0x575c56(0x1d2)]=_0x91bff3['shapeKey']),this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9[_0x575c56(0x20e)],_0x41b151);}else this[_0x575c56(0x1d2)]=null,this[_0x575c56(0x39b)][_0x575c56(0x1a1)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0xa4311e=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0xa4311e);var _0x1aee3a=class extends _0xa4311e{[_0x13ba7a(0x2ca)](){const _0xfcd053=_0x13ba7a;let {scene:_0x3fcfa5}=this[_0xfcd053(0x3cb)],_0x2ba89b=this[_0xfcd053(0x58c)][_0xfcd053(0x468)](_0xba932b['MobileShapeEditorService']);this[_0xfcd053(0x47f)](_0x3fcfa5[_0xfcd053(0x417)][_0xfcd053(0x2f6)](_0x2fd314=>{const _0x50844a=_0xfcd053;let {offsetX:_0x489cd8,offsetY:_0x243a79}=_0x2fd314,_0x144f9e=_0x3fcfa5[_0x50844a(0x3c0)](_0x3458ba[_0x50844a(0x265)][_0x50844a(0x3ae)]([_0x489cd8,_0x243a79]));if(!(_0x144f9e instanceof _0x402866))return;let _0x5cfaad=this['_sheetsShapeService'][_0x50844a(0x2f5)](_0x144f9e[_0x50844a(0x26e)],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]);(0x0,_0xd67e3f[_0x50844a(0x36a)])(this['_sheetsShapeService'][_0x50844a(0x21e)](_0x144f9e['unitId'],_0x144f9e[_0x50844a(0x354)],_0x144f9e[_0x50844a(0x42a)]))||_0x5cfaad!=null&&_0x5cfaad[_0x50844a(0x434)]()[_0x50844a(0x1c2)]||_0x2ba89b[_0x50844a(0x269)](_0x50844a(0x43a),{'hostType':_0x10e5f9[_0x50844a(0x503)][_0x50844a(0x450)],'unitId':_0x144f9e[_0x50844a(0x26e)],'subUnitId':_0x144f9e[_0x50844a(0x354)],'shapeId':_0x144f9e[_0x50844a(0x42a)]});}));}};let _0x10ddc4={..._0x1c5a09},_0x22d2ee=class extends _0x10e5f9['Disposable']{constructor(_0x3a8d4d,_0x582e19,_0x40cc82,_0x526033,_0x330121,_0x843d1d,_0x29d6da,_0x8160a9){const _0xa5e7e2=_0x13ba7a;super(),this['_menuManagerService']=_0x3a8d4d,this[_0xa5e7e2(0x56c)]=_0x582e19,this[_0xa5e7e2(0x558)]=_0x40cc82,this[_0xa5e7e2(0x3c5)]=_0x526033,this['_sheetCanvasPopManagerService']=_0x330121,this[_0xa5e7e2(0x39b)]=_0x843d1d,this['_renderManagerService']=_0x29d6da,this[_0xa5e7e2(0x205)]=_0x8160a9,_0x5ae661(this,'_shapePopupMenuDisposable',null),this[_0xa5e7e2(0x52d)][_0xa5e7e2(0x1d8)](_0x10ddc4),this[_0xa5e7e2(0x2b5)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0xa5e7e2(0x4c6)]['subscribe'](_0x3d8656=>{const _0x56170e=_0xa5e7e2;_0x3d8656&&this[_0x56170e(0x239)]();}));}[_0x13ba7a(0x2e3)](){const _0x15e236=_0x13ba7a;this[_0x15e236(0x1e0)]||=this[_0x15e236(0x47f)]((0x0,_0xba932b['bindRenderTransformerLifecycle'])(this[_0x15e236(0x2e2)],_0x10e5f9['UniverInstanceType'][_0x15e236(0x450)],_0x44f90e=>this[_0x15e236(0x201)](_0x44f90e)));}[_0x13ba7a(0x2b5)](){const _0x927cc7=_0x13ba7a;this[_0x927cc7(0x372)][_0x927cc7(0x588)](_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x20c79f,_0xa335c7,_0x2592eb,_0x323da0)=>{const _0x4e22a2=_0x927cc7;let _0xfbdfcd=this[_0x4e22a2(0x56c)][_0x4e22a2(0x42b)](_0x20c79f,_0xa335c7,_0x2592eb),_0x261898=this[_0x4e22a2(0x56c)][_0x4e22a2(0x204)](_0x20c79f,_0xa335c7,_0x2592eb),_0x11fa74=_0xfbdfcd!==void 0x0&&!(0x0,_0xd67e3f[_0x4e22a2(0x36a)])(_0xfbdfcd)&&!(_0x261898!=null&&_0x261898['formulaBinding']);return[{'label':_0x4e22a2(0x4a8),'index':0x0,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':_0x4e22a2(0x45d)},'disable':!0x1},..._0x11fa74?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x1e868c['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'mode':'text'},'disable':!0x1}]:[],{'label':_0x4e22a2(0x594),'index':0x2,'commandId':_0x40f1a1[_0x4e22a2(0x460)]['id'],'commandParams':{'unitId':_0x20c79f,'drawings':[{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'drawingId':_0x2592eb,'drawingType':_0x323da0}]},'disable':!0x1},{'label':_0x4e22a2(0x3e0),'index':0x3,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipH':!0x0},'disable':!0x1},{'label':_0x4e22a2(0x23c),'index':0x4,'commandId':_0x2f2bb5[_0x4e22a2(0x36d)]['id'],'commandParams':{'unitId':_0x20c79f,'subUnitId':_0xa335c7,'shapeId':_0x2592eb,'flipV':!0x0},'disable':!0x1}];},_0x927cc7(0x4ee));}[_0x13ba7a(0x201)](_0x1ce3b0){const _0x3bbeab=_0x13ba7a;let _0x339f36=new _0x10e5f9[(_0x3bbeab(0x497))](),_0x5397c5=null,_0x35a6ec=()=>{const _0x3cd8c7=_0x3bbeab;if(!_0x5397c5)return;let _0x2c034c=this['_drawingManagerService'][_0x3cd8c7(0x1da)](),_0x26d6c3=_0x2c034c[_0x3cd8c7(0x45b)]===0x0||_0x2c034c[_0x3cd8c7(0x45b)]===0x1&&_0x2c034c[_0x3cd8c7(0x301)](_0x7d79cf=>_0x7d79cf[_0x3cd8c7(0x26e)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x26e)])&&_0x7d79cf[_0x3cd8c7(0x354)]===(_0x5397c5==null?void 0x0:_0x5397c5[_0x3cd8c7(0x354)])&&_0x7d79cf['drawingId']===(_0x5397c5==null?void 0x0:_0x5397c5['drawingId']));_0x5397c5=null,_0x26d6c3&&(this['_contextService'][_0x3cd8c7(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3cd8c7(0x3c5)][_0x3cd8c7(0x3f9)](null));};return _0x339f36['add'](_0x1ce3b0[_0x3bbeab(0x517)][_0x3bbeab(0x358)](()=>{const _0x2390fc=_0x3bbeab;let _0x47b7c1=_0x1ce3b0[_0x2390fc(0x1b5)]();if(_0x47b7c1['size']>0x1){_0x35a6ec();return;}let _0xaf85cf=_0x47b7c1[_0x2390fc(0x1cb)]()[_0x2390fc(0x475)]()[_0x2390fc(0x472)];if(!_0xaf85cf){_0x35a6ec();return;}let _0x5ce017=this[_0x2390fc(0x3c5)]['getDrawingOKey'](_0xaf85cf['oKey']);if(!_0x5ce017||_0x5ce017['drawingType']!==_0x10e5f9[_0x2390fc(0x2e1)][_0x2390fc(0x20d)]){_0x35a6ec();return;}let {unitId:_0x11101d,subUnitId:_0x4317a9,drawingId:_0x54a3a6}=_0x5ce017;_0x5397c5={'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6},this[_0x2390fc(0x39b)][_0x2390fc(0x1a1)](_0x10e5f9['FOCUSING_COMMON_DRAWINGS'],!0x0),this['_drawingManagerService'][_0x2390fc(0x1da)]()[_0x2390fc(0x298)](_0x59a80a=>_0x59a80a[_0x2390fc(0x26e)]===_0x11101d&&_0x59a80a['subUnitId']===_0x4317a9&&_0x59a80a['drawingId']===_0x54a3a6)||this[_0x2390fc(0x3c5)][_0x2390fc(0x3f9)]([{'unitId':_0x11101d,'subUnitId':_0x4317a9,'drawingId':_0x54a3a6}]);})),_0x339f36[_0x3bbeab(0x278)](_0x1ce3b0[_0x3bbeab(0x1bf)]['subscribe'](()=>{_0x35a6ec();})),(0x0,_0x10e5f9[_0x3bbeab(0x576)])(()=>{const _0x194ada=_0x3bbeab;_0x339f36[_0x194ada(0x206)](),_0x35a6ec();});}['_clearFocusedShape'](){const _0x278406=_0x13ba7a;this[_0x278406(0x39b)]['setContextValue'](_0x10e5f9[_0x278406(0x2f4)],!0x1),this[_0x278406(0x3c5)]['focusDrawing'](null);}};_0x22d2ee=_0x12f75a([_0x174396(0x0,_0x187e10['IMenuManagerService']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x5,_0x10e5f9['IContextService']),_0x174396(0x6,_0x3458ba['IRenderManagerService']),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x22d2ee);function _0x2c1d4e(_0x1e2bca,_0x6dd6ba,_0x40f8db,_0x2ef21d){const _0x444552=_0x13ba7a;let _0xa2826f=(0x0,_0x15864b[_0x444552(0x496)])(_0x1e2bca,_0x6dd6ba,_0x40f8db),_0xee46e8=[];for(let _0x305ca9 of _0x6dd6ba){let _0x498082=_0xa2826f[_0x444552(0x3ef)][_0x444552(0x468)](_0x305ca9[_0x444552(0x272)]),_0x274518=_0x2ef21d(_0x305ca9);_0x498082&&_0x274518&&_0xee46e8[_0x444552(0x1b2)]({'targetShapeId':_0x498082,'source':_0x274518});}return _0xee46e8;}let _0x570b9c=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4a250b,_0x5657c7,_0x4af634,_0x5c8e27){const _0x2c5b1a=_0x13ba7a;super(),this[_0x2c5b1a(0x583)]=_0x4a250b,this[_0x2c5b1a(0x237)]=_0x5657c7,this[_0x2c5b1a(0x4bb)]=_0x4af634,this['_sheetsShapeService']=_0x5c8e27,this[_0x2c5b1a(0x1f1)]();}[_0x13ba7a(0x1f1)](){const _0x5d0914=_0x13ba7a;this[_0x5d0914(0x47f)](this['_sheetInterceptorService'][_0x5d0914(0x20b)]({'getMutations':_0x2eef49=>{const _0x31d8df=_0x5d0914;if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x366)]['id']){let _0x7a6dee=(0x0,_0x32abfe[_0x31d8df(0x39c)])(this['_univerInstanceService'],_0x2eef49[_0x31d8df(0x352)]);if(!_0x7a6dee)return{'redos':[],'undos':[]};let {unitId:_0x2abb27,subUnitId:_0x1b790e}=_0x7a6dee,_0x38ba88=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x2abb27,_0x1b790e),_0x48a868=Object['values'](_0x38ba88)['filter'](_0x43841d=>_0x43841d[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x48a868[_0x31d8df(0x45b)]===0x0)return{'redos':[],'undos':[]};let _0x3ae9e1=[],_0x5ea40e=[];for(let _0xca35b5=0x0;_0xca35b5<_0x48a868[_0x31d8df(0x45b)];_0xca35b5++){let _0x1c9c11=_0x48a868[_0xca35b5],_0x188624=this[_0x31d8df(0x56c)][_0x31d8df(0x2f5)](_0x1c9c11[_0x31d8df(0x26e)],_0x1c9c11['subUnitId'],_0x1c9c11['drawingId']);_0x188624&&(_0x3ae9e1[_0x31d8df(0x1b2)]({'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11[_0x31d8df(0x272)]}}),_0x5ea40e[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x2abb27,'subUnitId':_0x1b790e,'shapeId':_0x1c9c11['drawingId'],'shapeType':_0x188624['getShapeType'](),'shapeData':JSON[_0x31d8df(0x257)](JSON[_0x31d8df(0x2fe)](_0x188624[_0x31d8df(0x434)]()))}}));}return{'redos':_0x3ae9e1,'undos':_0x5ea40e};}if(_0x2eef49['id']===_0x32abfe[_0x31d8df(0x4f2)]['id']){let {unitId:_0x3e43f6,subUnitId:_0x8063ae,targetSubUnitId:_0x32f24f,copyContext:_0x14b9d5}=_0x2eef49[_0x31d8df(0x352)];if(!_0x3e43f6||!_0x8063ae||!_0x32f24f)return{'redos':[],'undos':[]};let _0x2d2b83=this[_0x31d8df(0x4bb)][_0x31d8df(0x31b)](_0x3e43f6,_0x8063ae),_0x1d653a=Object[_0x31d8df(0x1cb)](_0x2d2b83)[_0x31d8df(0x435)](_0x364b35=>_0x364b35[_0x31d8df(0x52e)]===_0x10e5f9[_0x31d8df(0x2e1)][_0x31d8df(0x20d)]);if(_0x1d653a['length']===0x0)return{'redos':[],'undos':[]};let _0x57a2de=_0x2c1d4e(_0x14b9d5,_0x1d653a,{'unitId':_0x3e43f6,'sourceSubUnitId':_0x8063ae,'targetSubUnitId':_0x32f24f},_0x46d38b=>{const _0x1ccec5=_0x31d8df;let _0x27dc9e=this[_0x1ccec5(0x56c)][_0x1ccec5(0x2f5)](_0x46d38b['unitId'],_0x46d38b['subUnitId'],_0x46d38b[_0x1ccec5(0x272)]);if(_0x27dc9e)return{'shapeType':_0x27dc9e[_0x1ccec5(0x21e)](),'shapeData':JSON[_0x1ccec5(0x257)](JSON['stringify'](_0x27dc9e[_0x1ccec5(0x434)]()))};}),_0x44887a=[],_0x3ba2f4=[];for(let {targetShapeId:_0x257c20,source:_0x33f5c1}of _0x57a2de)_0x44887a[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x4f0)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20,'shapeType':_0x33f5c1[_0x31d8df(0x25e)],'shapeData':_0x33f5c1[_0x31d8df(0x429)]}}),_0x3ba2f4[_0x31d8df(0x1b2)]({'id':_0x2f2bb5[_0x31d8df(0x522)]['id'],'params':{'unitId':_0x3e43f6,'subUnitId':_0x32f24f,'shapeId':_0x257c20}});return{'redos':_0x44887a,'undos':_0x3ba2f4};}return{'redos':[],'undos':[]};}}));}};_0x570b9c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x41d)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x32abfe[_0x13ba7a(0x3d2)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1['ISheetDrawingService'])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)]))],_0x570b9c);let _0x3fa9e3=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x5b25cb,_0x13342d,_0x4437ab,_0x303bc1,_0x32a6ba,_0x4d9352){const _0x1cf8fb=_0x13ba7a;super(),this[_0x1cf8fb(0x558)]=_0x5b25cb,this[_0x1cf8fb(0x2e2)]=_0x13342d,this[_0x1cf8fb(0x3c5)]=_0x4437ab,this[_0x1cf8fb(0x467)]=_0x303bc1,this[_0x1cf8fb(0x4ad)]=_0x32a6ba,this['_sheetDrawingShapeRenderController']=_0x4d9352,_0x5ae661(this,_0x1cf8fb(0x3ce),new Set()),this['_initialize']();}[_0x13ba7a(0x3eb)](){const _0x2c8c89=_0x13ba7a;this['_drawingAddListener'](),this[_0x2c8c89(0x564)](),this['_shapeUpdateListener']();}[_0x13ba7a(0x574)](){const _0x11e5d1=_0x13ba7a;this[_0x11e5d1(0x47f)](this['_drawingManagerService'][_0x11e5d1(0x489)][_0x11e5d1(0x358)](_0x3561c1=>{const _0x394981=_0x11e5d1;this[_0x394981(0x1f0)](_0x3561c1);}));}[_0x13ba7a(0x564)](){const _0x36469d=_0x13ba7a;this['disposeWithMe'](this[_0x36469d(0x558)][_0x36469d(0x1ac)]((_0x3a52d7,_0x38d90d)=>{const _0x27a18c=_0x36469d;if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x479)]['id']){let {unitId:_0x4aa026,subUnitId:_0x21a6f3,shapeId:_0x107f36}=_0x3a52d7['params'],_0x2d31db=this[_0x27a18c(0x1b8)](_0x4aa026),_0x1ba2ad=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'drawingId':_0x107f36}),_0x444a42=_0x2d31db==null?void 0x0:_0x2d31db['scene'][_0x27a18c(0x1a7)](_0x1ba2ad);_0x444a42&&(this[_0x27a18c(0x599)][_0x27a18c(0x1e8)](_0x444a42),this['_sheetDrawingShapeRenderController']['refreshFormulaPresentation'](_0x444a42,{'unitId':_0x4aa026,'subUnitId':_0x21a6f3,'shapeId':_0x107f36}),_0x444a42[_0x27a18c(0x334)](!0x0));return;}if(_0x3a52d7['id']===_0x2f2bb5[_0x27a18c(0x4f0)]['id']){var _0x485953;let {unitId:_0x43ea5d,subUnitId:_0x571878,shapeId:_0x4f0122}=_0x3a52d7[_0x27a18c(0x352)],_0x50433b=this[_0x27a18c(0x1b8)](_0x43ea5d);if(_0x50433b==null)return;let {scene:_0x4bb2e9}=_0x50433b,_0x12e1a3=(0x0,_0x15864b[_0x27a18c(0x2df)])({'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}),_0x4b2b04=_0x4bb2e9[_0x27a18c(0x1a7)](_0x12e1a3);if(!((_0x485953=this['_renderManagerService'][_0x27a18c(0x57f)](_0x43ea5d))!=null&&_0x485953[_0x27a18c(0x39e)](_0x189be3['SheetSkeletonManagerService'])[_0x27a18c(0x50c)](_0x571878)))return!0x1;if(_0x4b2b04)return;if(_0x38d90d!=null&&_0x38d90d[_0x27a18c(0x3a7)]){queueMicrotask(()=>{const _0x32381f=_0x27a18c;this[_0x32381f(0x3f3)]||this['_insertShapes']([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);});return;}this[_0x27a18c(0x1f0)]([{'unitId':_0x43ea5d,'subUnitId':_0x571878,'drawingId':_0x4f0122}]);}}));}[_0x13ba7a(0x271)](){const _0x19fa45=_0x13ba7a;this[_0x19fa45(0x47f)](this[_0x19fa45(0x3c5)][_0x19fa45(0x28e)][_0x19fa45(0x358)](_0x414960=>{const _0x390340=_0x19fa45;_0x414960[_0x390340(0x34a)](_0x9c2bc3=>{const _0x188783=_0x390340;let {unitId:_0x285a05,subUnitId:_0xf65dbe,drawingId:_0x3aed76}=_0x9c2bc3,_0x3a7e1a=this[_0x188783(0x3c5)][_0x188783(0x3db)](_0x9c2bc3);if(_0x3a7e1a==null)return;let {transform:_0x1df36d,drawingType:_0x3ac577,srcRect:_0x32afa0,prstGeom:_0x57f742}=_0x3a7e1a;if(_0x3ac577!==_0x10e5f9[_0x188783(0x2e1)][_0x188783(0x20d)])return;let _0x4014fb=this[_0x188783(0x1b8)](_0x285a05);if(_0x4014fb==null)return;let {scene:_0x80ec16,transformer:_0x280cd9}=_0x4014fb;if(_0x1df36d==null)return!0x0;let _0x277561=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x285a05,'subUnitId':_0xf65dbe,'drawingId':_0x3aed76}),_0x28147c=_0x80ec16[_0x188783(0x1a7)](_0x277561);if(_0x28147c==null)return!0x0;_0x28147c[_0x188783(0x2e4)](_0x32afa0),_0x28147c[_0x188783(0x30e)](_0x57f742);});}));}['_insertShapes'](_0x540286){const _0x374aca=_0x13ba7a;for(let _0x33b07c of _0x540286){var _0x5de82e;let {unitId:_0xdf7ae8,subUnitId:_0x8f6ea,drawingId:_0x13795e}=_0x33b07c,_0xfbd10b=this['_getSceneAndTransformerByDrawingSearch'](_0xdf7ae8),_0x54f632=(_0x5de82e=(0x0,_0x2a7f32[_0x374aca(0x26b)])(this['_currentUniverService'],_0xdf7ae8))==null?void 0x0:_0x5de82e[_0x374aca(0x354)];if(_0xfbd10b==null||_0x54f632!==_0x8f6ea)return;let _0x413293=(0x0,_0x15864b[_0x374aca(0x2df)])({'unitId':_0xdf7ae8,'subUnitId':_0x8f6ea,'drawingId':_0x13795e});if(this['_insertingShapeKeys'][_0x374aca(0x1d7)](_0x413293)||_0xfbd10b[_0x374aca(0x2a7)][_0x374aca(0x1a7)](_0x413293)!=null)return;let _0x424360=this['_drawingManagerService'][_0x374aca(0x3db)](_0x33b07c);if(_0x424360==null||_0x424360['drawingType']!==_0x10e5f9[_0x374aca(0x2e1)]['DRAWING_SHAPE'])return;let _0x44e638=_0x424360[_0x374aca(0x59a)]||{};if((0x0,_0xd67e3f[_0x374aca(0x36a)])(_0x44e638['shapeType'])){let _0x37899f=_0x424360[_0x374aca(0x474)];_0x37899f&&(_0x424360[_0x374aca(0x474)]={..._0x37899f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x374aca(0x3ce)][_0x374aca(0x278)](_0x413293);try{this['_sheetDrawingShapeRenderController'][_0x374aca(0x4e7)](_0x424360,_0xfbd10b[_0x374aca(0x2a7)]);}finally{this[_0x374aca(0x3ce)]['delete'](_0x413293);}queueMicrotask(()=>{const _0x539d5f=_0x374aca;if(this[_0x539d5f(0x3f3)])return;let _0x31e3e1=(0x0,_0x15864b[_0x539d5f(0x2df)])(_0x33b07c);if(!_0xfbd10b[_0x539d5f(0x2a7)][_0x539d5f(0x1a7)](_0x31e3e1))return;let _0x8f1f9a=this[_0x539d5f(0x3c5)]['getDrawingByParam'](_0x33b07c);_0x8f1f9a&&this['_drawingManagerService'][_0x539d5f(0x499)]([_0x8f1f9a]);});}}['_getSceneAndTransformerByDrawingSearch'](_0x3988fb){const _0x277e21=_0x13ba7a;if(_0x3988fb==null)return;let _0x38ebc3=this['_renderManagerService'][_0x277e21(0x57f)](_0x3988fb),_0xb467a2=_0x38ebc3==null?void 0x0:_0x38ebc3[_0x277e21(0x2a7)];return _0xb467a2==null?null:{'scene':_0xb467a2,'transformer':_0xb467a2['getTransformerByCreate']()};}};_0x3fa9e3=_0x12f75a([_0x174396(0x0,_0x10e5f9['ICommandService']),_0x174396(0x1,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2a7f32[_0x13ba7a(0x2dd)])),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x5191eb))],_0x3fa9e3);let _0x5a843b={'normal':{'fill':_0xd67e3f[_0x13ba7a(0x225)][_0x13ba7a(0x4e2)],'stroke':_0xd67e3f['ShapeDefaultConfig'][_0x13ba7a(0x38e)],'strokeWidth':_0xd67e3f[_0x13ba7a(0x225)]['cxnPointStrokeWidth']},'highlighted':{'fill':_0x13ba7a(0x2ab),'stroke':_0x13ba7a(0x520),'strokeWidth':0x2}};var _0x39c6da=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x3ff93b,_0x52ddfe){const _0x10b140=_0x13ba7a;super(_0x3ff93b,_0x52ddfe),_0x5ae661(this,_0x10b140(0x563),''),_0x5ae661(this,_0x10b140(0x49a),-0x1),_0x5ae661(this,_0x10b140(0x35d),''),_0x5ae661(this,'_subUnitId',''),_0x5ae661(this,'_isHighlighted',!0x1),_0x52ddfe&&this['setShapeProps'](_0x52ddfe);}['getConnectionInfo'](){const _0x4feec6=_0x13ba7a;return{'unitId':this['_unitId'],'subUnitId':this[_0x4feec6(0x2cf)],'shapeId':this[_0x4feec6(0x563)],'cxnIndex':this[_0x4feec6(0x49a)]};}[_0x13ba7a(0x1a0)](_0x977b33){const _0x3334d1=_0x13ba7a;this['_isHighlighted']!==_0x977b33&&(this[_0x3334d1(0x3f4)]=_0x977b33,this[_0x3334d1(0x334)](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x13ba7a(0x2b1)](_0x4b5911){const _0x535dcd=_0x13ba7a;_0x4b5911['targetShapeId']!==void 0x0&&(this[_0x535dcd(0x563)]=_0x4b5911['targetShapeId']),_0x4b5911[_0x535dcd(0x3e9)]!==void 0x0&&(this[_0x535dcd(0x49a)]=_0x4b5911['cxnIndex']),_0x4b5911[_0x535dcd(0x26e)]!==void 0x0&&(this[_0x535dcd(0x35d)]=_0x4b5911[_0x535dcd(0x26e)]),_0x4b5911[_0x535dcd(0x354)]!==void 0x0&&(this['_subUnitId']=_0x4b5911[_0x535dcd(0x354)]),_0x4b5911[_0x535dcd(0x283)]!==void 0x0&&(this['_isHighlighted']=_0x4b5911[_0x535dcd(0x283)]),this[_0x535dcd(0x3e2)]({'width':_0x4b5911['width']??_0xd67e3f['ShapeDefaultConfig'][_0x535dcd(0x290)]*0x2,'height':_0x4b5911[_0x535dcd(0x2c5)]??_0xd67e3f[_0x535dcd(0x225)]['cxnPointRadius']*0x2});}[_0x13ba7a(0x2fa)](_0x45f747){const _0x492cb4=_0x13ba7a;let _0xaa9a4=this[_0x492cb4(0x3f4)]?_0x5a843b[_0x492cb4(0x4cd)]:_0x5a843b[_0x492cb4(0x43e)];_0x3458ba[_0x492cb4(0x4da)][_0x492cb4(0x416)](_0x45f747,{'radius':_0xd67e3f['ShapeDefaultConfig'][_0x492cb4(0x290)],'fill':_0xaa9a4['fill'],'stroke':_0xaa9a4[_0x492cb4(0x24f)],'strokeWidth':_0xaa9a4[_0x492cb4(0x386)],'evented':!0x0});}};let _0x4d5792=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x53e22d,_0x5c17f6,_0x3e4c06,_0x38c6b6){const _0x430600=_0x13ba7a;super(),this[_0x430600(0x3cb)]=_0x53e22d,this[_0x430600(0x2e2)]=_0x5c17f6,this[_0x430600(0x3c5)]=_0x3e4c06,this[_0x430600(0x56c)]=_0x38c6b6,_0x5ae661(this,_0x430600(0x502),[]),_0x5ae661(this,_0x430600(0x55f),null),_0x5ae661(this,_0x430600(0x388),-0x1),_0x5ae661(this,_0x430600(0x381),null),_0x5ae661(this,_0x430600(0x35d),''),_0x5ae661(this,_0x430600(0x2cf),''),_0x5ae661(this,'_draggingConnectorId',null);}[_0x13ba7a(0x35e)](_0x3ebde0,_0x2c544,_0x313b12,_0x98b16b){const _0x178402=_0x13ba7a;this[_0x178402(0x381)]=_0x3ebde0,this[_0x178402(0x35d)]=_0x2c544,this[_0x178402(0x2cf)]=_0x313b12,this[_0x178402(0x1f4)]=_0x98b16b;}[_0x13ba7a(0x4b6)](_0x9b84b1){const _0xbc2e0a=_0x13ba7a;if(!this[_0xbc2e0a(0x381)])return null;let _0x40868f=this[_0xbc2e0a(0x48a)](_0x9b84b1);return _0x40868f?(this[_0xbc2e0a(0x55f)]!==_0x40868f['shapeId']&&(this['_clearConnectionSites'](),this[_0xbc2e0a(0x32e)](_0x40868f[_0xbc2e0a(0x42a)],_0x40868f[_0xbc2e0a(0x447)]),this['_activeTargetShapeId']=_0x40868f[_0xbc2e0a(0x42a)]),this[_0xbc2e0a(0x4e5)](_0x9b84b1)):(this[_0xbc2e0a(0x55f)]!==null&&(this[_0xbc2e0a(0x4f7)](),this[_0xbc2e0a(0x55f)]=null),null);}[_0x13ba7a(0x2b6)](){const _0x562bcd=_0x13ba7a;this[_0x562bcd(0x4f7)](),this[_0x562bcd(0x381)]=null,this[_0x562bcd(0x55f)]=null,this[_0x562bcd(0x388)]=-0x1,this['_draggingConnectorId']=null;}[_0x13ba7a(0x46b)](){const _0x919adf=_0x13ba7a;return this[_0x919adf(0x55f)]===null||this[_0x919adf(0x388)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x919adf(0x388)]};}['_findShapeAtPoint'](_0x484082){const _0x50a761=_0x13ba7a;let _0x418453=this['_drawingManagerService'][_0x50a761(0x31b)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)]);for(let _0x34140e of Object[_0x50a761(0x533)](_0x418453)){if(_0x34140e===this[_0x50a761(0x1f4)]||_0x418453[_0x34140e]['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x50a761(0x20d)])continue;let _0x1d0fce=this[_0x50a761(0x56c)][_0x50a761(0x2f5)](this[_0x50a761(0x35d)],this[_0x50a761(0x2cf)],_0x34140e);if(!_0x1d0fce||(0x0,_0xd67e3f[_0x50a761(0x36a)])(_0x1d0fce[_0x50a761(0x21e)]())||_0x1d0fce[_0x50a761(0x214)]()[_0x50a761(0x45b)]===0x0||!this[_0x50a761(0x381)])continue;let _0x665742=(0x0,_0x15864b[_0x50a761(0x2df)])({'unitId':this[_0x50a761(0x35d)],'subUnitId':this[_0x50a761(0x2cf)],'drawingId':_0x34140e}),_0xc2617d=this['_currentScene'][_0x50a761(0x1a7)](_0x665742);if(!_0xc2617d)continue;let {left:_0x3bf402,top:_0x40ad7b,width:_0x30ce87,height:_0xb95f08}=_0xc2617d[_0x50a761(0x458)](),_0x40b7e8=_0x3bf402+_0x30ce87/0x2,_0x590250=_0x40ad7b+_0xb95f08/0x2,_0x212ed3=_0xc2617d['transform']['getMatrix'](),_0x3f8d12=new _0x3458ba['Transform']([_0x212ed3[0x0],_0x212ed3[0x1],_0x212ed3[0x2],_0x212ed3[0x3],_0x40b7e8,_0x590250]),_0x1f6de9=_0xc2617d[_0x50a761(0x326)](),_0x15da98=(_0xc2617d[_0x50a761(0x4cc)]&&(_0x1f6de9==null?void 0x0:_0x1f6de9[_0x50a761(0x399)])===_0x3458ba[_0x50a761(0x1c4)][_0x50a761(0x44f)]?_0x1f6de9[_0x50a761(0x1c6)][_0x50a761(0x3a6)](_0x3f8d12):_0x3f8d12)[_0x50a761(0x56e)]()['applyPoint'](_0x484082),_0x37231e=_0x30ce87/0x2,_0xfa3fcd=_0xb95f08/0x2;if(_0x15da98['x']>=-_0x37231e-0x5&&_0x15da98['x']<=_0x37231e+0x5&&_0x15da98['y']>=-_0xfa3fcd-0x5&&_0x15da98['y']<=_0xfa3fcd+0x5)return{'shapeId':_0x34140e,'shapeModel':_0x1d0fce};}return null;}['_showConnectionSites'](_0x4efb90,_0x1019df){const _0x4e190e=_0x13ba7a;if(!this['_currentScene'])return;let _0x4cf4cc=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0x4e190e(0x2cf)],'drawingId':_0x4efb90}),_0x355fc6=this[_0x4e190e(0x381)][_0x4e190e(0x1a7)](_0x4cf4cc);if(!_0x355fc6)return;let {left:_0x68872f,top:_0xc55d87,width:_0x5b5466,height:_0x278b3c}=_0x355fc6['getRealBound'](),_0x19505a=_0x68872f+_0x5b5466/0x2,_0xb8955f=_0xc55d87+_0x278b3c/0x2,_0x19cce3=_0x355fc6[_0x4e190e(0x474)]['getMatrix'](),_0x353f65=new _0x3458ba['Transform']([_0x19cce3[0x0],_0x19cce3[0x1],_0x19cce3[0x2],_0x19cce3[0x3],_0x19505a,_0xb8955f]),_0x9686b=_0x355fc6[_0x4e190e(0x326)](),_0x471c68=_0x355fc6[_0x4e190e(0x4cc)]&&(_0x9686b==null?void 0x0:_0x9686b[_0x4e190e(0x399)])===_0x3458ba['RENDER_CLASS_TYPE'][_0x4e190e(0x44f)]?_0x9686b['ancestorTransform']['multiply'](_0x353f65):_0x353f65;_0x1019df[_0x4e190e(0x523)]({'width':_0x5b5466,'height':_0x278b3c});let _0x557555=_0x1019df[_0x4e190e(0x214)]();for(let _0x4798c5 of _0x557555){let _0x5d2531=_0x4798c5['x']-_0x5b5466/0x2,_0x5ed3a6=_0x4798c5['y']-_0x278b3c/0x2,_0x1e4278=_0x471c68['applyPoint']({'x':_0x5d2531,'y':_0x5ed3a6}),_0x1c9ba7=_0x1e4278['x'],_0x4b4ef4=_0x1e4278['y'],_0x37f110=new _0x39c6da(_0x4e190e(0x2c6)+_0x4efb90+'-'+_0x4798c5[_0x4e190e(0x58d)],{'left':_0x1c9ba7-_0xd67e3f[_0x4e190e(0x225)]['cxnPointRadius'],'top':_0x4b4ef4-_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)],'targetShapeId':_0x4efb90,'cxnIndex':_0x4798c5['index'],'unitId':this[_0x4e190e(0x35d)],'subUnitId':this[_0x4e190e(0x2cf)],'width':_0xd67e3f['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0xd67e3f[_0x4e190e(0x225)][_0x4e190e(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x4e190e(0x502)][_0x4e190e(0x1b2)](_0x37f110),this[_0x4e190e(0x381)][_0x4e190e(0x412)](_0x37f110,_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}['_findNearestConnectionSite'](_0x200d06){const _0x1be7c6=_0x13ba7a;let _0x206af4=null,_0x524bb7=0x1/0x0,_0x108900=null;for(let _0x1fd147 of this[_0x1be7c6(0x502)]){let _0x3c6967=_0x1fd147['left']+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0xd26e2f=_0x1fd147[_0x1be7c6(0x1c8)]+_0xd67e3f[_0x1be7c6(0x225)][_0x1be7c6(0x290)],_0x13bd9b=_0x200d06['x']-_0x3c6967,_0x634821=_0x200d06['y']-_0xd26e2f,_0x9dbaf=Math[_0x1be7c6(0x293)](_0x13bd9b*_0x13bd9b+_0x634821*_0x634821);_0x9dbaf<_0x524bb7&&(_0x524bb7=_0x9dbaf,_0x206af4=_0x1fd147,_0x108900={'x':_0x3c6967,'y':_0xd26e2f});}let _0x5d19f6=_0x524bb7<=0xa&&_0x206af4?_0x206af4[_0x1be7c6(0x3b8)]()['cxnIndex']:-0x1;if(_0x5d19f6!==this['_highlightedSiteIndex']){for(let _0x395911 of this[_0x1be7c6(0x502)]){let _0x4f59f8=_0x395911[_0x1be7c6(0x3b8)]();_0x395911[_0x1be7c6(0x1a0)](_0x4f59f8[_0x1be7c6(0x3e9)]===_0x5d19f6);}this[_0x1be7c6(0x388)]=_0x5d19f6;}if(_0x524bb7<=0xa&&_0x206af4&&_0x108900){let _0x310855=_0x206af4[_0x1be7c6(0x3b8)](),_0x55f249=this[_0x1be7c6(0x1a3)](_0x310855[_0x1be7c6(0x42a)],_0x310855[_0x1be7c6(0x3e9)]);return{'shapeId':_0x310855['shapeId'],'cxnIndex':_0x310855['cxnIndex'],'unitId':_0x310855['unitId'],'subUnitId':_0x310855[_0x1be7c6(0x354)],'worldPoint':_0x108900,'angle':_0x55f249};}return null;}['_getConnectionSiteAngle'](_0x4777af,_0x10ba0a){const _0x318588=_0x13ba7a;let _0x529863=this['_sheetsShapeService'][_0x318588(0x2f5)](this[_0x318588(0x35d)],this[_0x318588(0x2cf)],_0x4777af);if(!_0x529863)return 0x0;let _0x1f3377=this[_0x318588(0x3c5)][_0x318588(0x3db)]({'unitId':this[_0x318588(0x35d)],'subUnitId':this[_0x318588(0x2cf)],'drawingId':_0x4777af});if(!(_0x1f3377!=null&&_0x1f3377[_0x318588(0x474)]))return 0x0;let {width:_0x3bc431=0x0,height:_0x2b4dd2=0x0,flipX:_0x58e5=!0x1,flipY:_0x41313b=!0x1}=_0x1f3377[_0x318588(0x474)];_0x529863[_0x318588(0x523)]({'width':_0x3bc431,'height':_0x2b4dd2});let _0x59c547=_0x529863['getConnectionSiteList']()[_0x318588(0x298)](_0x4bf26b=>_0x4bf26b[_0x318588(0x58d)]===_0x10ba0a);if(!_0x59c547)return 0x0;let _0x304e75=_0x59c547[_0x318588(0x38f)]/0xea60;return _0x58e5&&(_0x304e75=0xb4-_0x304e75),_0x41313b&&(_0x304e75=-_0x304e75),_0x304e75=(_0x304e75%0x168+0x168)%0x168,_0x304e75;}['_clearConnectionSites'](){const _0x59e4c4=_0x13ba7a;for(let _0x333fe9 of this[_0x59e4c4(0x502)])_0x333fe9[_0x59e4c4(0x206)]();this[_0x59e4c4(0x502)]=[],this[_0x59e4c4(0x388)]=-0x1;}[_0x13ba7a(0x206)](){const _0x43f889=_0x13ba7a;this[_0x43f889(0x4f7)](),super[_0x43f889(0x206)]();}};_0x4d5792=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3458ba['IRenderManagerService'])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x15864b[_0x13ba7a(0x4e8)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5['SheetsShapeService']))],_0x4d5792);let _0x32e137=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x4df4f3,_0x257669,_0x11233d,_0x4c0931,_0x2d096c){const _0x51355c=_0x13ba7a;super(),this['_sheetSkeletonService']=_0x4df4f3,this['_sheetClipboardService']=_0x257669,this[_0x51355c(0x4bb)]=_0x11233d,this[_0x51355c(0x4df)]=_0x4c0931,this[_0x51355c(0x56d)]=_0x2d096c,_0x5ae661(this,_0x51355c(0x534),void 0x0),this[_0x51355c(0x4cf)](),this['_registerGroupFeaturePasteHook']();}get[_0x13ba7a(0x4a4)](){const _0x193287=_0x13ba7a;return this[_0x193287(0x4bb)][_0x193287(0x1da)]();}[_0x13ba7a(0x245)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2b6a98,fromSubUnitId:_0x40b5a0,toUnitId:_0x1da96c,toSubUnitId:_0x96f9f5,idMap:_0x57c074})=>{const _0x348baa=_0x2e4e;let _0x33755e=[],_0xc90384=[];for(let [_0x49425a,_0x3c03f9]of _0x57c074[_0x348baa(0x4d1)]()){let _0x337957=this['_shapeService']['getShapeModel'](_0x2b6a98,_0x40b5a0,_0x49425a);if(!_0x337957)continue;let _0x1e7f2a=_0x337957['getShapeType'](),_0x1b372a=JSON[_0x348baa(0x257)](JSON['stringify'](_0x337957[_0x348baa(0x434)]()));if(_0x1b372a[_0x348baa(0x305)]){var _0x531039,_0x44c39d;let _0x38c55b=(_0x531039=_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)])==null?void 0x0:_0x531039[_0x348baa(0x42a)],_0x4862d6=(_0x44c39d=_0x1b372a['relation']['to'])==null?void 0x0:_0x44c39d['shapeId'],_0x17bad7=!_0x38c55b||_0x57c074['has'](_0x38c55b),_0x1818db=!_0x4862d6||_0x57c074[_0x348baa(0x1d7)](_0x4862d6);_0x17bad7&&_0x38c55b&&_0x1b372a['relation'][_0x348baa(0x1fd)]?_0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)]={..._0x1b372a[_0x348baa(0x305)][_0x348baa(0x1fd)],'shapeId':_0x57c074[_0x348baa(0x468)](_0x38c55b)}:_0x1b372a[_0x348baa(0x305)]['from']=void 0x0,_0x1818db&&_0x4862d6&&_0x1b372a[_0x348baa(0x305)]['to']?_0x1b372a['relation']['to']={..._0x1b372a[_0x348baa(0x305)]['to'],'shapeId':_0x57c074[_0x348baa(0x468)](_0x4862d6)}:_0x1b372a['relation']['to']=void 0x0;}_0x33755e[_0x348baa(0x1b2)]({'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9,'shapeType':_0x1e7f2a,'shapeData':_0x1b372a}}),_0xc90384[_0x348baa(0x1b2)]({'id':_0x2f2bb5[_0x348baa(0x522)]['id'],'params':{'unitId':_0x1da96c,'subUnitId':_0x96f9f5,'shapeId':_0x3c03f9}});}return{'redos':_0x33755e,'undos':_0xc90384};});}[_0x13ba7a(0x4cf)](){const _0x2f0ec0=_0x13ba7a;this[_0x2f0ec0(0x47f)](this['_sheetClipboardService']['addClipboardHook']({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x5be3f8,_0x14f03d,_0x58d49e)=>{const _0x54ec8a=_0x2f0ec0;this[_0x54ec8a(0x534)]=null;let _0x38fc2c=this[_0x54ec8a(0x4a4)]['filter'](_0x325521=>_0x325521[_0x54ec8a(0x52e)]===_0x10e5f9[_0x54ec8a(0x2e1)]['DRAWING_SHAPE']);return _0x38fc2c[_0x54ec8a(0x45b)]!==0x0&&(this['_copyInfo']={'unitId':_0x5be3f8,'subUnitId':_0x14f03d,'copyType':_0x58d49e,'drawings':_0x38fc2c},!0x0);},'onBeforeCopy':(_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3)=>{const _0x2c193d=_0x2f0ec0;this[_0x2c193d(0x534)]=null,this[_0x2c193d(0x42e)](_0x49f8e6,_0x2fe375,_0x3ea04d,_0x1f00b3);},'onPasteCells':(_0x292e38,_0x3a7f69,_0x49ac4b,_0x4f6aec)=>{const _0x3e0b7c=_0x2f0ec0;if(!_0x4f6aec[_0x3e0b7c(0x3d0)]||!_0x292e38||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x4e8caf}=_0x4f6aec;return _0x4e8caf===_0x189be3['PREDEFINED_HOOK_NAME'][_0x3e0b7c(0x411)]?this[_0x3e0b7c(0x275)](_0x3a7f69,this['_copyInfo'][_0x3e0b7c(0x347)]===_0x189be3[_0x3e0b7c(0x400)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x13ba7a(0x42e)](_0x4637cf,_0x58ecc9,_0x3dcf9e,_0x43b830){const _0x303354=_0x13ba7a;let _0x32be8e=this[_0x303354(0x312)][_0x303354(0x50c)](_0x4637cf,_0x58ecc9);if(!_0x32be8e)return;let _0x1e5dc0=(0x0,_0x32abfe[_0x303354(0x3c1)])(_0x32be8e,_0x3dcf9e);if(!_0x1e5dc0)return;let {startX:_0x1d1c33,endX:_0x21ece9,startY:_0x214a3a,endY:_0x1c36e0}=_0x1e5dc0,_0x111d72=this[_0x303354(0x4bb)]['getDrawingData'](_0x4637cf,_0x58ecc9),_0x36eebc=[];for(let [_0x1fe552,_0x11ce7f]of Object[_0x303354(0x4d1)](_0x111d72)){if(_0x11ce7f['drawingType']!==_0x10e5f9['DrawingTypeEnum'][_0x303354(0x20d)])continue;let {transform:_0x466931}=_0x11ce7f;if(!_0x466931)continue;let {left:_0x5b922b=0x0,top:_0x297fca=0x0,width:_0x1098e2=0x0,height:_0xdd069e=0x0}=_0x466931;_0x1d1c33<=_0x5b922b&&_0x21ece9>=_0x5b922b+_0x1098e2&&_0x214a3a<=_0x297fca&&_0x1c36e0>=_0x297fca+_0xdd069e&&_0x36eebc['push'](_0x11ce7f);}_0x36eebc[_0x303354(0x45b)]>0x0&&(this[_0x303354(0x534)]={'unitId':_0x4637cf,'subUnitId':_0x58ecc9,'copyType':_0x43b830,'copyRange':_0x3dcf9e,'drawings':_0x36eebc});}[_0x13ba7a(0x275)](_0x883a5,_0x87bee){const _0x18d191=_0x13ba7a;let {unitId:_0x4ef778,subUnitId:_0x442763,range:_0x39c021}=_0x883a5,_0x363aa6=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x4ef778,_0x442763);if(!_0x363aa6)return{'redos':[],'undos':[]};let _0x2c60e2=(0x0,_0x32abfe[_0x18d191(0x207)])(_0x39c021),{unitId:_0x1ef8d0,subUnitId:_0x27da7f,copyRange:_0x18761d,drawings:_0x507269}=this[_0x18d191(0x534)],_0x1593f7=this[_0x18d191(0x312)][_0x18d191(0x50c)](_0x1ef8d0,_0x27da7f);if(!_0x1593f7)return{'redos':[],'undos':[]};let _0x25c7d1;if(!_0x18761d){let _0xabb378=0x1/0x0,_0x216eaa=0x1/0x0;for(let _0x2f851e of _0x507269){let {left:_0x5dd2d8=0x0,top:_0x1888fd=0x0}=_0x2f851e[_0x18d191(0x474)]??{};_0x5dd2d8<_0xabb378&&(_0xabb378=_0x5dd2d8),_0x1888fd<_0x216eaa&&(_0x216eaa=_0x1888fd);}_0xabb378!==0x1/0x0&&_0x216eaa!==0x1/0x0&&(_0x25c7d1={'left':_0xabb378,'top':_0x216eaa});}let _0x55121d=new Map();if(!_0x87bee){for(let _0x3a1f0d of _0x507269)_0x55121d[_0x18d191(0x455)](_0x3a1f0d[_0x18d191(0x272)],(0x0,_0x10e5f9[_0x18d191(0x30b)])());}let _0x10c84b=[],_0x216ae8=[];for(let _0x400f23 of _0x507269){let {drawingId:_0x392067,transform:_0x35d35f,sheetTransform:_0x5c88a2}=_0x400f23;if(!_0x35d35f||!_0x5c88a2)continue;let _0x595b08=this[_0x18d191(0x263)]({'transform':_0x35d35f,'sheetTransform':_0x5c88a2},{'skeleton':_0x1593f7,'range':_0x18761d},{'skeleton':_0x363aa6,'range':_0x2c60e2},_0x25c7d1);if(_0x87bee){let {redos:_0x363594,undos:_0xa4f12d}=this[_0x18d191(0x49e)]({'fromUnitId':_0x1ef8d0,'fromSubUnitId':_0x27da7f,'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08});_0x10c84b['push'](..._0x363594),_0x216ae8[_0x18d191(0x1b2)](..._0xa4f12d);continue;}let {redos:_0x5146a7,undos:_0x2d1766}=this[_0x18d191(0x2db)]({'toUnitId':_0x4ef778,'toSubUnitId':_0x442763,'drawing':_0x400f23,'newTransforms':_0x595b08,'newDrawingId':_0x55121d[_0x18d191(0x468)](_0x392067),'idMap':_0x55121d});_0x10c84b[_0x18d191(0x1b2)](..._0x5146a7),_0x216ae8[_0x18d191(0x1b2)](..._0x2d1766);}return{'redos':_0x10c84b,'undos':_0x216ae8};}[_0x13ba7a(0x49e)](_0x40ab0e){const _0xf39dcc=_0x13ba7a;let {fromUnitId:_0xe67adf,fromSubUnitId:_0x5571b1,toUnitId:_0x249f38,toSubUnitId:_0x34b385,drawing:_0x13cf58,newTransforms:_0x1e6084}=_0x40ab0e,_0x29d63c={..._0x13cf58,'unitId':_0x249f38,'subUnitId':_0x34b385,'transform':_0x1e6084[_0xf39dcc(0x474)],'sheetTransform':_0x1e6084[_0xf39dcc(0x2ea)]};if(_0x249f38===_0xe67adf&&_0x34b385===_0x5571b1){let {redo:_0x5ca7b2,undo:_0x816b33,objects:_0x395b51}=this['_sheetDrawingService'][_0xf39dcc(0x4e6)]([_0x29d63c]);return{'redos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x5ca7b2,'objects':_0x395b51}}],'undos':[{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x268)],'op':_0x816b33,'objects':_0x395b51}}]};}{let _0x2433b8=this[_0xf39dcc(0x4bb)][_0xf39dcc(0x427)]([_0x13cf58]),_0xa5d6c7=this[_0xf39dcc(0x4bb)]['getBatchAddOp']([_0x29d63c]),_0x3389d4=this[_0xf39dcc(0x4df)][_0xf39dcc(0x2f5)](_0x13cf58[_0xf39dcc(0x26e)],_0x13cf58[_0xf39dcc(0x354)],_0x13cf58[_0xf39dcc(0x272)]);if(!_0x3389d4)return{'redos':[],'undos':[]};let _0x5964d3=_0x3389d4[_0xf39dcc(0x21e)](),_0x2cd6d4=JSON[_0xf39dcc(0x257)](JSON[_0xf39dcc(0x2fe)](_0x3389d4[_0xf39dcc(0x434)]()));return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0x2433b8[_0xf39dcc(0x1c0)],'objects':_0x2433b8[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}},{'id':_0x40f1a1[_0xf39dcc(0x3d4)]['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0xa5d6c7[_0xf39dcc(0x1c0)],'objects':_0xa5d6c7['objects']}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'type':_0x40f1a1['DrawingApplyType'][_0xf39dcc(0x3fd)],'op':_0x2433b8[_0xf39dcc(0x4b7)],'objects':_0x2433b8['objects']}},{'id':_0x2f2bb5[_0xf39dcc(0x4f0)]['id'],'params':{'unitId':_0xe67adf,'subUnitId':_0x5571b1,'shapeId':_0x13cf58[_0xf39dcc(0x272)],'shapeType':_0x5964d3,'shapeData':_0x2cd6d4}},{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'type':_0x40f1a1[_0xf39dcc(0x4ae)][_0xf39dcc(0x291)],'op':_0xa5d6c7[_0xf39dcc(0x4b7)],'objects':_0xa5d6c7[_0xf39dcc(0x580)]}},{'id':_0x2f2bb5['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x249f38,'subUnitId':_0x34b385,'shapeId':_0x13cf58[_0xf39dcc(0x272)]}}]};}}[_0x13ba7a(0x2db)](_0x4472a8){const _0x4266c8=_0x13ba7a;let {toUnitId:_0x3f7fad,toSubUnitId:_0x302d26,drawing:_0x3ec94c,newTransforms:_0x3f0006,newDrawingId:_0x4142e2,idMap:_0x30d455}=_0x4472a8,_0xd02bc5={..._0x3ec94c,'unitId':_0x3f7fad,'subUnitId':_0x302d26,'drawingId':_0x4142e2,'transform':_0x3f0006[_0x4266c8(0x474)],'sheetTransform':_0x3f0006[_0x4266c8(0x2ea)]},{redo:_0x28e94c,undo:_0x56fada,objects:_0x13dfdf}=this['_sheetDrawingService']['getBatchAddOp']([_0xd02bc5]),_0x3ffa35=this['_shapeService'][_0x4266c8(0x2f5)](_0x3ec94c[_0x4266c8(0x26e)],_0x3ec94c[_0x4266c8(0x354)],_0x3ec94c[_0x4266c8(0x272)]);if(!_0x3ffa35)return{'redos':[],'undos':[]};let _0x28707a=_0x3ffa35['getShapeType'](),_0x3a1ffb=JSON[_0x4266c8(0x257)](JSON[_0x4266c8(0x2fe)](_0x3ffa35[_0x4266c8(0x434)]()));if(_0x3a1ffb[_0x4266c8(0x305)]){var _0xaa6ef8,_0x41fc46;let _0x2afd23=(_0xaa6ef8=_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)])==null?void 0x0:_0xaa6ef8[_0x4266c8(0x42a)],_0x59dae1=(_0x41fc46=_0x3a1ffb[_0x4266c8(0x305)]['to'])==null?void 0x0:_0x41fc46[_0x4266c8(0x42a)],_0x3d3223=!_0x2afd23||_0x30d455['has'](_0x2afd23),_0x48365b=!_0x59dae1||_0x30d455['has'](_0x59dae1);_0x3d3223&&_0x2afd23&&_0x3a1ffb['relation'][_0x4266c8(0x1fd)]?_0x3a1ffb[_0x4266c8(0x305)][_0x4266c8(0x1fd)]={..._0x3a1ffb[_0x4266c8(0x305)]['from'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x2afd23)}:_0x3a1ffb[_0x4266c8(0x305)]['from']=void 0x0,_0x48365b&&_0x59dae1&&_0x3a1ffb[_0x4266c8(0x305)]['to']?_0x3a1ffb[_0x4266c8(0x305)]['to']={..._0x3a1ffb[_0x4266c8(0x305)]['to'],'shapeId':_0x30d455[_0x4266c8(0x468)](_0x59dae1)}:_0x3a1ffb['relation']['to']=void 0x0;}return{'redos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1[_0x4266c8(0x4ae)][_0x4266c8(0x3fd)],'op':_0x28e94c,'objects':_0x13dfdf}},{'id':_0x2f2bb5['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2,'shapeType':_0x28707a,'shapeData':_0x3a1ffb}}],'undos':[{'id':_0x40f1a1['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'type':_0x40f1a1['DrawingApplyType'][_0x4266c8(0x291)],'op':_0x56fada,'objects':_0x13dfdf}},{'id':_0x2f2bb5[_0x4266c8(0x522)]['id'],'params':{'unitId':_0x3f7fad,'subUnitId':_0x302d26,'shapeId':_0x4142e2}}]};}[_0x13ba7a(0x263)](_0x548642,_0x14ff8c,_0x3039bd,_0x4b0e96){const _0x5e335a=_0x13ba7a;let {range:_0x5cfec1,skeleton:_0x688db3}=_0x14ff8c,{range:_0x13a980,skeleton:_0xed2f8a}=_0x3039bd,{transform:_0x580789,sheetTransform:_0x2d67a5}=_0x548642,_0x2d6294={..._0x580789};if(_0x5cfec1){let _0x53918e=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0x688db3,_0x5cfec1),_0x211102=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x53918e&&_0x211102){let _0x41a2f0=_0x211102[_0x5e335a(0x4f3)]-_0x53918e[_0x5e335a(0x4f3)],_0x24beec=_0x211102[_0x5e335a(0x526)]-_0x53918e[_0x5e335a(0x526)];_0x2d6294[_0x5e335a(0x4f4)]=(_0x2d6294['left']??0x0)+_0x41a2f0,_0x2d6294['top']=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)+_0x24beec;}}else{let _0x41bfe4=(0x0,_0x32abfe[_0x5e335a(0x3c1)])(_0xed2f8a,_0x13a980);if(_0x4b0e96&&_0x41bfe4){let _0x2345ab=(_0x2d6294[_0x5e335a(0x4f4)]??0x0)-_0x4b0e96[_0x5e335a(0x4f4)],_0x1908a=(_0x2d6294[_0x5e335a(0x1c8)]??0x0)-_0x4b0e96['top'];_0x2d6294[_0x5e335a(0x4f4)]=_0x41bfe4['startX']+_0x2345ab,_0x2d6294[_0x5e335a(0x1c8)]=_0x41bfe4[_0x5e335a(0x526)]+_0x1908a;}else _0x2d6294['left']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x4f3)],_0x2d6294['top']=_0x41bfe4==null?void 0x0:_0x41bfe4[_0x5e335a(0x526)];}return{'transform':_0x2d6294,'sheetTransform':(0x0,_0x40f1a1[_0x5e335a(0x307)])(_0x2d6294,_0xed2f8a)??_0x2d67a5};}};_0x32e137=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x211)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x441)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x40f1a1[_0x13ba7a(0x292)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5['SheetsShapeService'])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x3c03b9[_0x13ba7a(0x35a)]))],_0x32e137);var _0x5d4642=class extends _0x3458ba[_0x13ba7a(0x440)]{constructor(_0x4b48d3,_0x23ac1f){const _0x167992=_0x13ba7a;super(_0x4b48d3,_0x23ac1f),_0x5ae661(this,'_shapeId',null),_0x5ae661(this,_0x167992(0x584),null),_0x5ae661(this,_0x167992(0x35d),null),_0x5ae661(this,_0x167992(0x2cf),null),_0x5ae661(this,_0x167992(0x3dd),!0x1),_0x23ac1f&&this[_0x167992(0x2b1)](_0x23ac1f);}['getDrawingSearch'](){const _0x4b4126=_0x13ba7a;return{'unitId':this[_0x4b4126(0x35d)],'subUnitId':this[_0x4b4126(0x2cf)],'drawingId':this[_0x4b4126(0x373)]};}[_0x13ba7a(0x2b1)](_0x2220ff){const _0xfef488=_0x13ba7a;_0x2220ff[_0xfef488(0x42a)]!==void 0x0&&(this[_0xfef488(0x373)]=_0x2220ff[_0xfef488(0x42a)]),_0x2220ff[_0xfef488(0x26e)]!==void 0x0&&(this['_unitId']=_0x2220ff[_0xfef488(0x26e)]),_0x2220ff[_0xfef488(0x354)]!==void 0x0&&(this[_0xfef488(0x2cf)]=_0x2220ff[_0xfef488(0x354)]),_0x2220ff[_0xfef488(0x4ce)]!==void 0x0&&(this[_0xfef488(0x3dd)]=_0x2220ff[_0xfef488(0x4ce)]),this['transformByState']({'width':_0x2220ff[_0xfef488(0x1dd)],'height':_0x2220ff[_0xfef488(0x2c5)]});}[_0x13ba7a(0x2fa)](_0x27cbc1){const _0x1a0f21=_0x13ba7a;_0x3458ba[_0x1a0f21(0x4da)][_0x1a0f21(0x416)](_0x27cbc1,{'radius':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x290)],'fill':_0xd67e3f[_0x1a0f21(0x225)]['cxnPointFill'],'stroke':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x38e)],'strokeWidth':_0xd67e3f[_0x1a0f21(0x225)][_0x1a0f21(0x2d2)],'evented':!0x0});}};let _0x191a85=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1cc0f1,_0x1385f5,_0x3cdfc0,_0xc29ac7,_0x1c6776,_0x1f6344,_0x3ab9ff,_0x298cc7){const _0x2d32d1=_0x13ba7a;super(),this[_0x2d32d1(0x3cb)]=_0x1cc0f1,this['_commandService']=_0x1385f5,this[_0x2d32d1(0x2e2)]=_0x3cdfc0,this[_0x2d32d1(0x3c5)]=_0xc29ac7,this['_univerInstanceService']=_0x1c6776,this[_0x2d32d1(0x56c)]=_0x1f6344,this['_sheetShapeAdjustController']=_0x3ab9ff,this['_sheetBasicShapeConnectionPointController']=_0x298cc7,_0x5ae661(this,_0x2d32d1(0x299),void 0x0),_0x5ae661(this,_0x2d32d1(0x35d),void 0x0),_0x5ae661(this,'_subUnitId',void 0x0),_0x5ae661(this,_0x2d32d1(0x47a),[]),_0x5ae661(this,_0x2d32d1(0x324),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x5ae661(this,'_activeShapeModel',void 0x0),_0x5ae661(this,_0x2d32d1(0x2f7),!0x1),_0x5ae661(this,'_isDrawingShapePointDown',!0x1),_0x5ae661(this,'_hasReset',!0x1),_0x5ae661(this,_0x2d32d1(0x57d),void 0x0),_0x5ae661(this,'_cxtHandlerPointerUp',void 0x0),_0x5ae661(this,_0x2d32d1(0x1a8),null),this[_0x2d32d1(0x3eb)]();}[_0x13ba7a(0x3eb)](){const _0x4eb4b8=_0x13ba7a;this['_registerDrawingFocusChangeHandler'](),this[_0x4eb4b8(0x36b)]();}[_0x13ba7a(0x464)](){const _0x3bcb24=_0x13ba7a;if(!this['_unitId']||!this[_0x3bcb24(0x2cf)]||!this[_0x3bcb24(0x299)])return;let _0x243c05={'unitId':this['_unitId'],'subUnitId':this[_0x3bcb24(0x2cf)],'drawingId':this[_0x3bcb24(0x299)]},{transform:_0x2bfbb2}=this[_0x3bcb24(0x3c5)][_0x3bcb24(0x3db)](_0x243c05);if(_0x2bfbb2)return{'left':_0x2bfbb2['left']||0x0,'top':_0x2bfbb2['top']||0x0,'width':_0x2bfbb2[_0x3bcb24(0x1dd)]||0x0,'height':_0x2bfbb2['height']||0x0,'flipX':_0x2bfbb2['flipX']||!0x1,'flipY':_0x2bfbb2['flipY']||!0x1,'angle':_0x2bfbb2[_0x3bcb24(0x36f)]};}['_addShapeConnectorHandlerObjects'](){const _0x25db9a=_0x13ba7a;if(this[_0x25db9a(0x35d)]===void 0x0||this[_0x25db9a(0x2cf)]===void 0x0||this[_0x25db9a(0x299)]===void 0x0)return;let _0x3588cf=this['_renderManagerService']['getRenderUnitById'](this[_0x25db9a(0x35d)]);if(!_0x3588cf||!_0x3588cf['with'](_0x189be3[_0x25db9a(0x277)])[_0x25db9a(0x387)]())return;let {scene:_0x3dc9cd}=_0x3588cf,_0x204bd5=this[_0x25db9a(0x464)]();if(!_0x204bd5)return;let _0x18a8c8=this['_sheetsShapeService'][_0x25db9a(0x2f5)](this[_0x25db9a(0x35d)],this[_0x25db9a(0x2cf)],this[_0x25db9a(0x299)]);if(!_0x18a8c8||!(0x0,_0xd67e3f[_0x25db9a(0x36a)])(_0x18a8c8[_0x25db9a(0x21e)]()))return;let _0x1f5781=_0x18a8c8[_0x25db9a(0x4e9)]();if(_0x1f5781[_0x25db9a(0x45b)]<0x2)return;let _0x3c0bf9=new _0xd67e3f[(_0x25db9a(0x1ee))](_0x204bd5),_0x179b43=_0x1f5781[0x0],_0x34674d=_0x1f5781[_0x1f5781[_0x25db9a(0x45b)]-0x1],_0x45ec19=_0x3c0bf9[_0x25db9a(0x4d5)](_0x179b43),_0x5bf77a=_0x3c0bf9['localToWorld'](_0x34674d);this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x45ec19},!0x0),this[_0x25db9a(0x4c5)](_0x3dc9cd,{..._0x5bf77a},!0x1);}[_0x13ba7a(0x4c5)](_0x586ffd,_0x2f0d17,_0x541dac){const _0x29cccd=_0x13ba7a;if(this[_0x29cccd(0x299)]===void 0x0||this[_0x29cccd(0x35d)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x9a5d4=_0x29cccd(0x389)+this[_0x29cccd(0x35d)]+'-'+this[_0x29cccd(0x2cf)]+'-'+this['_activeShapeId']+'-'+(_0x541dac?'start':'end'),_0x37f966=_0x586ffd['getObjectIncludeInGroup'](_0x9a5d4);if(_0x37f966){_0x37f966[_0x29cccd(0x3e2)]({'left':_0x2f0d17['x']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)]});return;}let _0x38661a=new _0x5d4642(_0x9a5d4,{'left':_0x2f0d17['x']-_0xd67e3f['ShapeDefaultConfig'][_0x29cccd(0x290)],'top':_0x2f0d17['y']-_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)],'shapeId':this[_0x29cccd(0x299)],'unitId':this[_0x29cccd(0x35d)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x541dac,'width':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'height':_0xd67e3f[_0x29cccd(0x225)][_0x29cccd(0x290)]*0x2,'zIndex':_0x3458ba['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x29cccd(0x47a)][_0x29cccd(0x1b2)](_0x38661a),this[_0x29cccd(0x4db)](_0x38661a,_0x586ffd,_0x541dac),_0x586ffd[_0x29cccd(0x412)](_0x38661a,_0x3458ba[_0x29cccd(0x4b5)]+0x1);}[_0x13ba7a(0x43c)](_0x38ea74,_0x4d46b3){const _0x3eb00b=_0x13ba7a;var _0x2a4d37;let _0x461447={'x':0x0,'y':0x0};if(!_0x38ea74||!_0x4d46b3)return _0x461447;let _0x20c7f1=this[_0x3eb00b(0x2e2)][_0x3eb00b(0x57f)](_0x38ea74);if(!_0x20c7f1||!_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x277)])[_0x3eb00b(0x50c)](_0x4d46b3))return _0x461447;let _0x27ae53=_0x20c7f1[_0x3eb00b(0x39e)](_0x189be3[_0x3eb00b(0x51c)]),_0x1274a1=_0x27ae53==null?void 0x0:_0x27ae53['getCurrentScrollState']();if(!_0x1274a1)return _0x461447;let _0x1fe07b=(_0x2a4d37=this[_0x3eb00b(0x583)][_0x3eb00b(0x4a9)](_0x38ea74))==null?void 0x0:_0x2a4d37[_0x3eb00b(0x1ed)](_0x4d46b3);if(!_0x1fe07b)return _0x461447;let _0x41acf4=(0x0,_0x189be3[_0x3eb00b(0x501)])(_0x1274a1['sheetViewStartRow'],_0x1274a1[_0x3eb00b(0x507)],_0x20c7f1[_0x3eb00b(0x2a7)],_0x1fe07b);return _0x41acf4?{'x':_0x41acf4[_0x3eb00b(0x1ff)],'y':_0x41acf4[_0x3eb00b(0x52b)]}:_0x461447;}[_0x13ba7a(0x570)](_0x5be2e5,_0x219d37){const _0x3d4323=_0x13ba7a;var _0x36ca36;let _0x24d440=(_0x36ca36=this[_0x3d4323(0x583)][_0x3d4323(0x4a9)](_0x5be2e5))==null?void 0x0:_0x36ca36[_0x3d4323(0x1ed)](_0x219d37);return(_0x24d440==null?void 0x0:_0x24d440[_0x3d4323(0x461)]())??0x1;}[_0x13ba7a(0x310)](_0x49d691,_0x30a186,_0x18946c,_0x3a0cbf,_0x94c5e0){const _0x133610=_0x13ba7a;this[_0x133610(0x57d)][_0x133610(0x539)](),this[_0x133610(0x2d1)]['unsubscribe'](),this[_0x133610(0x28d)][_0x133610(0x348)]();let _0x3e1098=this[_0x133610(0x1a8)];this['_sheetBasicShapeConnectionPointController']['endConnectionDetection']();let _0x11ffcb=this[_0x133610(0x43c)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x347837=this[_0x133610(0x570)](this[_0x133610(0x35d)],this[_0x133610(0x2cf)]),_0x3bbd3c={'x':_0x18946c[_0x133610(0x3e5)]/_0x347837+_0x11ffcb['x'],'y':_0x18946c['offsetY']/_0x347837+_0x11ffcb['y']},_0xc52dc4=_0x3e1098?_0x3e1098[_0x133610(0x519)]:_0x3bbd3c,_0x4b38c2=_0x3a0cbf?this[_0x133610(0x223)][_0x133610(0x504)]():this[_0x133610(0x223)][_0x133610(0x38b)](),_0x4bf7eb=this['_activeShapeModel'][_0x133610(0x21e)]();_0x4b38c2?this[_0x133610(0x240)](_0x4b38c2,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0):this[_0x133610(0x409)](_0x30a186,_0xc52dc4,_0x3a0cbf,_0x3e1098,_0x94c5e0,_0x4bf7eb),this[_0x133610(0x2f7)]=!0x1,this[_0x133610(0x24a)]=!0x1,this[_0x133610(0x1a8)]=null,_0x49d691[_0x133610(0x51a)]();}[_0x13ba7a(0x409)](_0x57cd11,_0x2d1f40,_0x18d144,_0x192805,_0x21ffb9,_0x557f71){const _0x8b3d5e=_0x13ba7a;let _0x5ad94f=_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x363)]||_0x557f71===_0xd67e3f[_0x8b3d5e(0x575)][_0x8b3d5e(0x379)],_0x3c10a2=_0x18d144?_0x2d1f40:_0x57cd11,_0x426c9f=_0x18d144?_0x57cd11:_0x2d1f40,_0x1edcc4=this[_0x8b3d5e(0x223)][_0x8b3d5e(0x4e9)](),_0x1fc951=this[_0x8b3d5e(0x223)]['getShapeType'](),_0x596dc0=(0x0,_0xd67e3f[_0x8b3d5e(0x4d2)])(_0x1fc951),_0xb860f5=_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x516)](_0x1edcc4,_0x596dc0),_0x25378d=_0x5ad94f?_0xd67e3f[_0x8b3d5e(0x1ee)][_0x8b3d5e(0x554)](_0x3c10a2,_0x426c9f):_0xd67e3f['ConnectorCoordinateTransform'][_0x8b3d5e(0x47e)](_0x57cd11,_0x2d1f40,_0x18d144,_0xb860f5);_0x192805?this[_0x8b3d5e(0x266)](_0x25378d,_0x192805,_0x18d144,_0x21ffb9):this[_0x8b3d5e(0x380)](_0x25378d,_0x21ffb9);}[_0x13ba7a(0x240)](_0xc41064,_0x135026,_0xb45e3,_0x31c821,_0x4ca97d){const _0x427d6a=_0x13ba7a;let _0x27fb98=this[_0x427d6a(0x4dd)](_0xc41064);if(!_0x27fb98)return;let _0x4376d1=_0x31c821?_0x31c821[_0x427d6a(0x36f)]:this[_0x427d6a(0x45e)](_0x27fb98[_0x427d6a(0x53b)],_0x135026),_0x4b8768;if(_0x31c821){let _0x33608e=this[_0x427d6a(0x3c5)][_0x427d6a(0x3db)]({'unitId':_0x31c821[_0x427d6a(0x26e)],'subUnitId':_0x31c821[_0x427d6a(0x354)],'drawingId':_0x31c821[_0x427d6a(0x42a)]});if(_0x33608e!=null&&_0x33608e[_0x427d6a(0x474)]){let {left:_0x566a07=0x0,top:_0x556210=0x0,width:_0xd16d89=0x0,height:_0xdb5f38=0x0,angle:_0x19dbb9}=_0x33608e[_0x427d6a(0x474)];_0x4b8768=(0x0,_0xd67e3f['getBasicShapeRotateBound'])({'left':_0x566a07,'top':_0x556210,'width':_0xd16d89,'height':_0xdb5f38},_0x19dbb9||0x0);}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};}else _0x4b8768={'left':_0x135026['x'],'top':_0x135026['y'],'width':0x0,'height':0x0};let _0x5340c3={'point':_0x135026,'angle':_0x4376d1,'bounds':_0x4b8768},_0x22e4a3=_0xb45e3?_0x5340c3:_0x27fb98,_0x4ec2d0=_0xb45e3?_0x27fb98:_0x5340c3,_0x5ccf49=this[_0x427d6a(0x223)][_0x427d6a(0x21e)](),_0x5ec0b2=(0x0,_0xd67e3f[_0x427d6a(0x2b3)])(_0x22e4a3,_0x4ec2d0,_0x5ccf49);this[_0x427d6a(0x223)]['removeLinePoints']();let _0x1fde95=(0x0,_0xd67e3f[_0x427d6a(0x433)])(_0x5ec0b2,_0x5ccf49);_0x31c821?this[_0x427d6a(0x1eb)](_0x1fde95,_0x31c821,_0xc41064,_0xb45e3,_0x4ca97d):this[_0x427d6a(0x566)](_0x1fde95,_0xc41064,_0xb45e3,_0x4ca97d);}['_executeConnectionCommand'](_0x56bb0e,_0x5e9d63,_0x4a933d,_0x34a79b){const _0x114e43=_0x13ba7a;let _0x1b394d=this[_0x114e43(0x223)][_0x114e43(0x434)]()[_0x114e43(0x305)],_0xc44eac={..._0x1b394d},_0x23c83b={'shapeId':_0x5e9d63[_0x114e43(0x42a)],'cxnIndex':_0x5e9d63[_0x114e43(0x3e9)]};_0x4a933d?_0xc44eac[_0x114e43(0x1fd)]=_0x23c83b:_0xc44eac['to']=_0x23c83b;let _0x14649f=this[_0x114e43(0x223)][_0x114e43(0x21e)](),_0x270988=(0x0,_0xd67e3f[_0x114e43(0x433)])(_0x56bb0e['worldPoints'],_0x14649f),_0x48efed={'unitId':this[_0x114e43(0x35d)],'subUnitId':this[_0x114e43(0x2cf)],'connectorShapeId':this[_0x114e43(0x299)],'width':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x1dd)],'height':_0x56bb0e['worldRect'][_0x114e43(0x2c5)],'left':_0x56bb0e['worldRect'][_0x114e43(0x4f4)],'top':_0x56bb0e['worldRect'][_0x114e43(0x1c8)],'flipX':_0x56bb0e[_0x114e43(0x2cc)][_0x114e43(0x553)]||!0x1,'flipY':_0x56bb0e[_0x114e43(0x2cc)]['flipY']||!0x1,'newAdjustValues':_0x270988['adjustValues'],'oldAdjustValues':_0x34a79b,'oldRelation':_0x1b394d,'newRelation':_0xc44eac,'newLineType':_0x270988['lineType'],'oldLineType':_0x14649f};this['_commandService'][_0x114e43(0x274)](_0x2f2bb5[_0x114e43(0x295)]['id'],_0x48efed);}['_executeResizeCommand'](_0x485046,_0x1ace11){const _0x807c1=_0x13ba7a;let _0xf97d12=this[_0x807c1(0x223)][_0x807c1(0x21e)](),_0x130f71=(0x0,_0xd67e3f[_0x807c1(0x433)])(_0x485046['worldPoints'],_0xf97d12),_0x2f9eb4={'unitId':this[_0x807c1(0x35d)],'subUnitId':this[_0x807c1(0x2cf)],'shapeId':this[_0x807c1(0x299)],'width':_0x485046['worldRect'][_0x807c1(0x1dd)],'height':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x2c5)],'left':_0x485046[_0x807c1(0x2cc)]['left'],'top':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x1c8)],'flipX':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x553)]||!0x1,'flipY':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x3ec)]||!0x1,'angle':_0x485046[_0x807c1(0x2cc)][_0x807c1(0x36f)]||0x0,'newAdjustValues':_0x130f71[_0x807c1(0x4c3)],'oldAdjustValues':_0x1ace11,'newLineType':_0x130f71[_0x807c1(0x407)],'oldLineType':_0xf97d12};this[_0x807c1(0x558)]['executeCommand'](_0x2f2bb5[_0x807c1(0x487)]['id'],_0x2f9eb4);}[_0x13ba7a(0x1eb)](_0x4d4b41,_0x199405,_0x3dae08,_0x178bab,_0x25f575){const _0x1a5455=_0x13ba7a;let _0x23b535=this[_0x1a5455(0x223)][_0x1a5455(0x434)]()[_0x1a5455(0x305)],_0x2cd7fe={..._0x23b535},_0x59a454={'shapeId':_0x199405[_0x1a5455(0x42a)],'cxnIndex':_0x199405[_0x1a5455(0x3e9)]};_0x178bab?(_0x2cd7fe['from']=_0x59a454,_0x2cd7fe['to']=_0x3dae08):(_0x2cd7fe[_0x1a5455(0x1fd)]=_0x3dae08,_0x2cd7fe['to']=_0x59a454);let _0x2d8aca={'unitId':this[_0x1a5455(0x35d)],'subUnitId':this[_0x1a5455(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x4d4b41['worldRect'][_0x1a5455(0x1dd)],'height':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x2c5)],'left':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x4f4)],'top':_0x4d4b41[_0x1a5455(0x2cc)]['top'],'flipX':_0x4d4b41['worldRect'][_0x1a5455(0x553)]||!0x1,'flipY':_0x4d4b41[_0x1a5455(0x2cc)][_0x1a5455(0x3ec)]||!0x1,'oldAdjustValues':_0x25f575,'newAdjustValues':_0x4d4b41[_0x1a5455(0x4c3)],'newLineType':_0x4d4b41['lineType'],'rotation':_0x4d4b41[_0x1a5455(0x53c)],'oldRelation':_0x23b535,'newRelation':_0x2cd7fe};this[_0x1a5455(0x558)][_0x1a5455(0x274)](_0x2f2bb5[_0x1a5455(0x295)]['id'],_0x2d8aca);}[_0x13ba7a(0x566)](_0x50430a,_0x417926,_0xecb116,_0x2b75da){const _0x1f86be=_0x13ba7a;let _0x1a5645=this[_0x1f86be(0x223)][_0x1f86be(0x434)]()[_0x1f86be(0x305)],_0x19ce7f={};_0xecb116?(_0x19ce7f['to']=_0x417926,_0x19ce7f[_0x1f86be(0x1fd)]=void 0x0):(_0x19ce7f[_0x1f86be(0x1fd)]=_0x417926,_0x19ce7f['to']=void 0x0);let _0xf5aef7={'unitId':this[_0x1f86be(0x35d)],'subUnitId':this[_0x1f86be(0x2cf)],'connectorShapeId':this['_activeShapeId'],'width':_0x50430a['worldRect'][_0x1f86be(0x1dd)],'height':_0x50430a['worldRect'][_0x1f86be(0x2c5)],'left':_0x50430a[_0x1f86be(0x2cc)]['left'],'top':_0x50430a[_0x1f86be(0x2cc)]['top'],'flipX':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x553)]||!0x1,'flipY':_0x50430a[_0x1f86be(0x2cc)][_0x1f86be(0x3ec)]||!0x1,'oldAdjustValues':_0x2b75da,'newAdjustValues':_0x50430a[_0x1f86be(0x4c3)],'newLineType':_0x50430a[_0x1f86be(0x407)],'rotation':_0x50430a[_0x1f86be(0x53c)],'oldRelation':_0x1a5645,'newRelation':_0x19ce7f};this[_0x1f86be(0x558)][_0x1f86be(0x274)](_0x2f2bb5[_0x1f86be(0x295)]['id'],_0xf5aef7);}[_0x13ba7a(0x4db)](_0x222fed,_0x1bd32f,_0x378a1a){const _0x474a18=_0x13ba7a;this[_0x474a18(0x47f)]((0x0,_0x10e5f9[_0x474a18(0x576)])(_0x222fed[_0x474a18(0x27e)][_0x474a18(0x2f6)]((_0x3d361c,_0x5d955e)=>{const _0x4b8082=_0x474a18;let _0x58f313=_0x222fed[_0x4b8082(0x2c8)]();if(this[_0x4b8082(0x223)]=this[_0x4b8082(0x56c)]['getShapeModel'](_0x58f313[_0x4b8082(0x26e)],_0x58f313[_0x4b8082(0x354)],_0x58f313[_0x4b8082(0x272)]),!this['_activeShapeModel'])return;let _0x530a61={};this['_activeShapeModel'][_0x4b8082(0x596)]()[_0x4b8082(0x34a)](_0x567be5=>{const _0x1bff26=_0x4b8082;let _0x4b928b=this['_activeShapeModel'][_0x1bff26(0x29f)](_0x567be5);_0x4b928b!==void 0x0&&(_0x530a61[_0x567be5]=_0x4b928b);});let _0x3e1a13=this[_0x4b8082(0x464)]();if(!_0x3e1a13)return;this[_0x4b8082(0x324)]={..._0x3e1a13};let _0x1c81f2=new _0xd67e3f['ConnectorCoordinateTransform'](this[_0x4b8082(0x324)]),_0x5bcf44=(0x0,_0x15864b['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x4b8082(0x35d)],'subUnitId':this[_0x4b8082(0x2cf)],'drawingId':this['_activeShapeId']}),_0x238050=_0x1bd32f[_0x4b8082(0x1a7)](_0x5bcf44);this[_0x4b8082(0x2f7)]=!0x0,_0x1bd32f[_0x4b8082(0x1ce)](),this['_sheetBasicShapeConnectionPointController'][_0x4b8082(0x35e)](_0x1bd32f,this['_unitId'],this[_0x4b8082(0x2cf)],this[_0x4b8082(0x299)]),this['_currentConnectionTarget']=null;let _0x436e02=this[_0x4b8082(0x223)][_0x4b8082(0x4e9)](),_0x11d1a8=_0x436e02[0x0],_0x48574f=_0x436e02[_0x436e02[_0x4b8082(0x45b)]-0x1],_0x52fe23=_0x378a1a?_0x1c81f2[_0x4b8082(0x4d5)](_0x48574f):_0x1c81f2[_0x4b8082(0x4d5)](_0x11d1a8);this['_cxtHandlerPointerMove']=_0x1bd32f[_0x4b8082(0x3af)][_0x4b8082(0x2f6)]((_0x547aa2,_0x4cff6f)=>{const _0x1b11cf=_0x4b8082;if(!this[_0x1b11cf(0x2f7)]||!this[_0x1b11cf(0x223)])return;this[_0x1b11cf(0x24a)]||=(this[_0x1b11cf(0x28d)]['clearAdjustControls'](),this[_0x1b11cf(0x223)]['clearAdjustValue'](),!0x0);let _0x2f12f4=this[_0x1b11cf(0x43c)](this[_0x1b11cf(0x35d)],this[_0x1b11cf(0x2cf)]),_0x4274f1=this[_0x1b11cf(0x570)](this[_0x1b11cf(0x35d)],this['_subUnitId']),_0x3adba6={'x':_0x547aa2[_0x1b11cf(0x3e5)]/_0x4274f1+_0x2f12f4['x'],'y':_0x547aa2[_0x1b11cf(0x23b)]/_0x4274f1+_0x2f12f4['y']},_0x44e8a9=this[_0x1b11cf(0x480)][_0x1b11cf(0x4b6)](_0x3adba6);if(_0x44e8a9){let {shapeId:_0x47c78c,unitId:_0x25477c,subUnitId:_0x4f55ed}=_0x44e8a9;if(_0x47c78c&&_0x25477c&&_0x4f55ed){let _0x13a959=(0x0,_0x15864b[_0x1b11cf(0x2df)])({'unitId':_0x25477c,'subUnitId':_0x4f55ed,'drawingId':_0x47c78c});_0x44e8a9[_0x1b11cf(0x36f)]=(_0x1bd32f[_0x1b11cf(0x1a7)](_0x13a959)[_0x1b11cf(0x36f)]||0x0)+_0x44e8a9[_0x1b11cf(0x36f)];}}this['_currentConnectionTarget']=_0x44e8a9;let _0x72c992=_0x378a1a?this['_activeShapeModel'][_0x1b11cf(0x504)]():this['_activeShapeModel'][_0x1b11cf(0x38b)]();if(_0x72c992){this[_0x1b11cf(0x448)](_0x72c992,_0x3adba6,_0x378a1a,_0x238050,_0x222fed);return;}this[_0x1b11cf(0x25f)](_0x3adba6,_0x52fe23,_0x378a1a,_0x238050,_0x222fed);}),this[_0x4b8082(0x2d1)]=_0x1bd32f[_0x4b8082(0x54b)]['subscribeEvent']((_0x5a2d9e,_0x5eb3c8)=>{const _0x5704be=_0x4b8082;this[_0x5704be(0x310)](_0x1bd32f,_0x52fe23,_0x5a2d9e,_0x378a1a,_0x530a61);}),_0x5d955e[_0x4b8082(0x49f)]();})));}[_0x13ba7a(0x32f)](_0x43e324,_0x41adc4,_0x283212){const _0x59fb17=_0x13ba7a;let _0x19bea4=this['_sheetsShapeService'][_0x59fb17(0x252)](_0x43e324,_0x41adc4,_0x283212);if(!_0x19bea4||_0x19bea4['length']===0x0)return;let _0x48557b=this[_0x59fb17(0x2e2)]['getRenderUnitById'](_0x43e324);if(!_0x48557b)return;let {scene:_0x29e49e}=_0x48557b;for(let _0x2db420 of _0x19bea4){let _0x9e2baf=_0x2db420['lineShapeId'],_0x35a33c=this[_0x59fb17(0x56c)][_0x59fb17(0x2f5)](_0x43e324,_0x41adc4,_0x9e2baf);if(!_0x35a33c)continue;let _0x44ecbb=_0x35a33c[_0x59fb17(0x38b)](),_0x2defff=_0x35a33c['getEndConnectInfo'](),_0x31c795=(_0x44ecbb==null?void 0x0:_0x44ecbb['shapeId'])===_0x283212,_0x96588=(0x0,_0x15864b[_0x59fb17(0x2df)])({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf}),_0x164105=_0x29e49e[_0x59fb17(0x1a7)](_0x96588);if(!_0x164105)continue;let _0x5c82a6=this['_drawingManagerService'][_0x59fb17(0x3db)]({'unitId':_0x43e324,'subUnitId':_0x41adc4,'drawingId':_0x9e2baf});_0x5c82a6!=null&&_0x5c82a6[_0x59fb17(0x474)]&&(_0x44ecbb&&_0x2defff?this['_rerouteConnectorLine'](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x44ecbb,_0x2defff,_0x164105):this[_0x59fb17(0x3b5)](_0x43e324,_0x41adc4,_0x9e2baf,_0x35a33c,_0x31c795?_0x44ecbb:_0x2defff,_0x31c795,_0x5c82a6,_0x164105));}}['_rerouteConnectorLine'](_0x678bbb,_0x58d71e,_0x1ffb1f,_0x4dd10a,_0x1a2e39,_0x19c07e,_0x1780a0){const _0x164b89=_0x13ba7a;let _0x36a788=this[_0x164b89(0x35d)],_0x1a6ed1=this[_0x164b89(0x2cf)];this['_unitId']=_0x678bbb,this[_0x164b89(0x2cf)]=_0x58d71e;let _0x1b60fb=this[_0x164b89(0x4dd)](_0x1a2e39),_0x3bddeb=this[_0x164b89(0x4dd)](_0x19c07e);if(this[_0x164b89(0x35d)]=_0x36a788,this[_0x164b89(0x2cf)]=_0x1a6ed1,!_0x1b60fb||!_0x3bddeb)return;let _0x2796e1=_0x4dd10a[_0x164b89(0x21e)](),_0x260ac9=(0x0,_0xd67e3f[_0x164b89(0x2b3)])(_0x1b60fb,_0x3bddeb,_0x2796e1);_0x260ac9&&_0x4dd10a[_0x164b89(0x2a3)](_0x260ac9);let _0x3aa8a6=(0x0,_0xd67e3f['computeConnectorRouteLayout'])(_0x260ac9,_0x2796e1);_0x3aa8a6[_0x164b89(0x407)]!==_0x2796e1&&_0x4dd10a['changeShapeType'](_0x3aa8a6[_0x164b89(0x407)]),_0x4dd10a[_0x164b89(0x4ba)]();for(let [_0x5a1911,_0x141d17]of Object['entries'](_0x3aa8a6[_0x164b89(0x4c3)]))_0x4dd10a[_0x164b89(0x476)](_0x5a1911,_0x141d17);_0x4dd10a['updateContext']({'width':_0x3aa8a6[_0x164b89(0x2cc)]['width'],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)]}),_0x1780a0['transformByState']({'flipX':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x553)],'flipY':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x3ec)],'left':_0x3aa8a6['worldRect'][_0x164b89(0x4f4)],'top':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1c8)],'width':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x1dd)],'height':_0x3aa8a6[_0x164b89(0x2cc)][_0x164b89(0x2c5)],'angle':_0x3aa8a6[_0x164b89(0x53c)]}),_0x4dd10a[_0x164b89(0x405)]();}['_moveConnectorWithShape'](_0x3a43fc,_0x5b51cf,_0x4bc5b3,_0xd97d53,_0x51850a,_0x30354b,_0x7da453,_0x3125a5){const _0x3766b4=_0x13ba7a;let _0x435ca1=this[_0x3766b4(0x35d)],_0x2d9167=this['_subUnitId'];this[_0x3766b4(0x35d)]=_0x3a43fc,this[_0x3766b4(0x2cf)]=_0x5b51cf;let _0x3cd45e=this[_0x3766b4(0x4dd)](_0x51850a);if(this['_unitId']=_0x435ca1,this[_0x3766b4(0x2cf)]=_0x2d9167,!_0x3cd45e)return;let {left:_0x9f2d58=0x0,top:_0x46bff5=0x0,width:_0x279185=0x0,height:_0x4dabd1=0x0,flipX:_0xdcc769=!0x1,flipY:_0x54eba1=!0x1}=_0x7da453[_0x3766b4(0x474)],_0x2b045d=_0xd97d53[_0x3766b4(0x4e9)]();if(_0x2b045d[_0x3766b4(0x45b)]<0x2)return;let _0x55f78a=new _0xd67e3f[(_0x3766b4(0x1ee))]({'left':_0x9f2d58,'top':_0x46bff5,'width':_0x279185,'height':_0x4dabd1,'flipX':_0xdcc769,'flipY':_0x54eba1}),_0x13740d=_0x30354b?_0x2b045d[_0x2b045d[_0x3766b4(0x45b)]-0x1]:_0x2b045d[0x0],_0x564142=_0x55f78a[_0x3766b4(0x4d5)](_0x13740d),_0x22466f=_0xd67e3f[_0x3766b4(0x1ee)][_0x3766b4(0x47e)](_0x564142,_0x3cd45e[_0x3766b4(0x53b)],!_0x30354b);_0x3125a5['transformByState']({'flipX':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x553)],'flipY':_0x22466f[_0x3766b4(0x2cc)]['flipY'],'left':_0x22466f['worldRect']['left'],'top':_0x22466f['worldRect'][_0x3766b4(0x1c8)],'width':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x1dd)],'height':_0x22466f[_0x3766b4(0x2cc)][_0x3766b4(0x2c5)],'angle':_0x22466f['worldRect'][_0x3766b4(0x36f)]}),_0x3125a5[_0x3766b4(0x334)](!0x0);}[_0x13ba7a(0x4a6)](){const _0xf8c0e5=_0x13ba7a;this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x45b)]!==0x0&&(this[_0xf8c0e5(0x47a)][_0xf8c0e5(0x34a)](_0xac7388=>{const _0x452c04=_0xf8c0e5;_0xac7388[_0x452c04(0x206)]();}),this['_connectorObjects']=[]);}[_0x13ba7a(0x36b)](){const _0x48299c=_0x13ba7a;let _0x405c5e=this[_0x48299c(0x583)][_0x48299c(0x3d3)](_0x10e5f9['UniverInstanceType']['UNIVER_SHEET']);this[_0x48299c(0x47f)](_0x405c5e[_0x48299c(0x560)]((0x0,_0x364ff4[_0x48299c(0x289)])(_0x1f6c9b=>_0x1f6c9b?_0x1f6c9b[_0x48299c(0x259)][_0x48299c(0x560)]((0x0,_0x364ff4['switchMap'])(_0x133845=>{const _0x1d9208=_0x48299c;if(!_0x133845)return _0x364ff4['EMPTY'];let _0x49291c=_0x1f6c9b[_0x1d9208(0x3ff)](),_0x55932c=this[_0x1d9208(0x2e2)][_0x1d9208(0x57f)](_0x49291c),_0x4a0eb7=_0x55932c==null?void 0x0:_0x55932c[_0x1d9208(0x2a7)];return _0x4a0eb7?(0x0,_0x364ff4['of'])(_0x4a0eb7):_0x364ff4['EMPTY'];})):_0x364ff4['EMPTY']))['subscribe'](_0x2a1505=>{const _0x5032c8=_0x48299c;let _0x34a938=_0x2a1505[_0x5032c8(0x22d)]();this['disposeWithMe'](_0x2a1505[_0x5032c8(0x3af)][_0x5032c8(0x2f6)](_0xcce5ee=>{const _0x4b353e=_0x5032c8;this['_isDrawingShapePointDown']&&this['_activeShapeId']&&this[_0x4b353e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x202)][_0x5032c8(0x358)](_0x4b64b9=>{const _0x576672=_0x5032c8;let {objects:_0x3a3fa4}=_0x4b64b9;this[_0x576672(0x4a6)](),_0x3a3fa4!==null&&_0x3a3fa4['size']===0x1&&_0x3a3fa4[_0x576672(0x1cb)]()[_0x576672(0x475)]()[_0x576672(0x472)]instanceof _0x402866&&(this['_isDrawingShapePointDown']=!0x0);})),this[_0x5032c8(0x47f)](_0x34a938[_0x5032c8(0x42f)][_0x5032c8(0x358)](_0x2c4c64=>{const _0x437c0e=_0x5032c8;this['_isDrawingShapePointDown']&&this[_0x437c0e(0x4a6)]();})),this[_0x5032c8(0x47f)](_0x2a1505[_0x5032c8(0x54b)][_0x5032c8(0x2f6)](()=>{const _0x2b2241=_0x5032c8;this[_0x2b2241(0x37d)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x2b2241(0x333)]());})),this[_0x5032c8(0x47f)](_0x34a938['changeEnd$'][_0x5032c8(0x358)](()=>{const _0x49e297=_0x5032c8;this[_0x49e297(0x35d)]&&this[_0x49e297(0x2cf)]&&this[_0x49e297(0x299)]&&this[_0x49e297(0x3c5)][_0x49e297(0x3db)]({'unitId':this[_0x49e297(0x35d)],'subUnitId':this[_0x49e297(0x2cf)],'drawingId':this['_activeShapeId']})&&(this[_0x49e297(0x4a6)](),this[_0x49e297(0x333)]());}));}));}[_0x13ba7a(0x1fe)](){const _0x522aff=_0x13ba7a;this[_0x522aff(0x47f)](this['_drawingManagerService']['focus$'][_0x522aff(0x358)](_0x377344=>{const _0x40c4dc=_0x522aff;if(_0x377344[_0x40c4dc(0x45b)]===0x1){let _0x1fa630=_0x377344[0x0];if(_0x1fa630[_0x40c4dc(0x52e)]===_0x10e5f9[_0x40c4dc(0x2e1)][_0x40c4dc(0x20d)]){let _0x274f62=this[_0x40c4dc(0x56c)][_0x40c4dc(0x2f5)](_0x1fa630[_0x40c4dc(0x26e)],_0x1fa630[_0x40c4dc(0x354)],_0x1fa630[_0x40c4dc(0x272)]);if(_0x274f62&&(0x0,_0xd67e3f[_0x40c4dc(0x36a)])(_0x274f62[_0x40c4dc(0x21e)]())){this[_0x40c4dc(0x299)]=_0x1fa630[_0x40c4dc(0x272)],this[_0x40c4dc(0x35d)]=_0x1fa630['unitId'],this[_0x40c4dc(0x2cf)]=_0x1fa630[_0x40c4dc(0x354)],this['_clearShapeConnectorHandlerObjects'](),this[_0x40c4dc(0x333)]();return;}}}this[_0x40c4dc(0x299)]=void 0x0,this[_0x40c4dc(0x35d)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x40c4dc(0x4a6)]();})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x28e)][_0x522aff(0x358)](_0x49197a=>{const _0x46e9c5=_0x522aff;if(_0x49197a[_0x46e9c5(0x45b)]===0x1){var _0x45f84c;let _0x2ebdec=_0x49197a[0x0],_0x9f3aa0=(_0x45f84c=this[_0x46e9c5(0x3c5)]['getDrawingByParam'](_0x2ebdec))==null?void 0x0:_0x45f84c['drawingType'];_0x9f3aa0===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']&&_0x2ebdec[_0x46e9c5(0x272)]===this['_activeShapeId']?(this[_0x46e9c5(0x4a6)](),this[_0x46e9c5(0x333)]()):!this[_0x46e9c5(0x299)]&&_0x9f3aa0===_0x10e5f9[_0x46e9c5(0x2e1)][_0x46e9c5(0x20d)]&&this[_0x46e9c5(0x32f)](_0x2ebdec[_0x46e9c5(0x26e)],_0x2ebdec[_0x46e9c5(0x354)],_0x2ebdec[_0x46e9c5(0x272)]);}})),this[_0x522aff(0x47f)](this[_0x522aff(0x3c5)][_0x522aff(0x1f5)][_0x522aff(0x358)](_0x12c3ac=>{const _0x27fb9d=_0x522aff;for(let _0x1145df of _0x12c3ac){let {drawingId:_0xe7cab4}=_0x1145df;if(this[_0x27fb9d(0x299)]===_0xe7cab4){this[_0x27fb9d(0x2b0)]();return;}}}));}[_0x13ba7a(0x448)](_0x35c8f3,_0x1160d5,_0x5cf1ea,_0x30645c,_0x1854ec){const _0x2019f1=_0x13ba7a;var _0x47580a;if(!this[_0x2019f1(0x223)])return;let _0x24e645=this[_0x2019f1(0x4dd)](_0x35c8f3);if(!_0x24e645)return;let _0x415e82=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x519)]:_0x1160d5,_0x3928fb=this['_currentConnectionTarget']?this[_0x2019f1(0x1a8)][_0x2019f1(0x36f)]:this[_0x2019f1(0x45e)](_0x24e645[_0x2019f1(0x53b)],_0x415e82),_0x592be2;if(this[_0x2019f1(0x1a8)]){let _0xb45142=this[_0x2019f1(0x3c5)][_0x2019f1(0x3db)]({'unitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x26e)],'subUnitId':this[_0x2019f1(0x1a8)][_0x2019f1(0x354)],'drawingId':this[_0x2019f1(0x1a8)][_0x2019f1(0x42a)]});if(_0xb45142!=null&&_0xb45142['transform']){let {left:_0x18b9d8=0x0,top:_0x3b219b=0x0,width:_0x2eb70c=0x0,height:_0x5dd5cd=0x0,angle:_0x16db70}=_0xb45142[_0x2019f1(0x474)];_0x592be2=(0x0,_0xd67e3f[_0x2019f1(0x3a0)])({'left':_0x18b9d8,'top':_0x3b219b,'width':_0x2eb70c,'height':_0x5dd5cd},_0x16db70||0x0);}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};}else _0x592be2={'left':_0x415e82['x'],'top':_0x415e82['y'],'width':0x0,'height':0x0};let _0x165604={'point':_0x415e82,'angle':_0x3928fb,'bounds':_0x592be2},_0x112135=_0x5cf1ea?_0x165604:_0x24e645,_0x11dbf9=_0x5cf1ea?_0x24e645:_0x165604,_0x303e7d=this[_0x2019f1(0x223)]['getShapeType'](),_0x49e0ee=(0x0,_0xd67e3f[_0x2019f1(0x2b3)])(_0x112135,_0x11dbf9,_0x303e7d);_0x49e0ee&&this[_0x2019f1(0x223)][_0x2019f1(0x2a3)](_0x49e0ee);let _0x1f78a7=(0x0,_0xd67e3f[_0x2019f1(0x433)])(_0x49e0ee,_0x303e7d);_0x1f78a7[_0x2019f1(0x407)]!==_0x303e7d&&this['_activeShapeModel']['changeShapeType'](_0x1f78a7['lineType']);for(let [_0x6a0935,_0x59db7f]of Object[_0x2019f1(0x4d1)](_0x1f78a7[_0x2019f1(0x4c3)]))this[_0x2019f1(0x223)][_0x2019f1(0x476)](_0x6a0935,_0x59db7f);this[_0x2019f1(0x223)][_0x2019f1(0x523)]({'width':_0x1f78a7['worldRect'][_0x2019f1(0x1dd)],'height':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x2c5)]}),_0x30645c[_0x2019f1(0x3e2)]({'flipX':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x553)],'flipY':_0x1f78a7[_0x2019f1(0x2cc)]['flipY'],'left':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x4f4)],'top':_0x1f78a7[_0x2019f1(0x2cc)]['top'],'width':_0x1f78a7[_0x2019f1(0x2cc)][_0x2019f1(0x1dd)],'height':_0x1f78a7['worldRect'][_0x2019f1(0x2c5)],'angle':_0x1f78a7['rotation']}),_0x30645c[_0x2019f1(0x334)](!0x0);let _0x36c71a=((_0x47580a=this[_0x2019f1(0x1a8)])==null?void 0x0:_0x47580a[_0x2019f1(0x519)])??_0x1160d5;_0x1854ec['transformByState']({'left':_0x36c71a['x']-_0xd67e3f[_0x2019f1(0x225)]['cxnPointRadius'],'top':_0x36c71a['y']-_0xd67e3f[_0x2019f1(0x225)][_0x2019f1(0x290)]});}[_0x13ba7a(0x25f)](_0x369c0a,_0x5bf614,_0x216d70,_0x2aa011,_0x1c8847){const _0x45915f=_0x13ba7a;var _0x46616d,_0x37ae03;let _0x571a67=((_0x46616d=this[_0x45915f(0x1a8)])==null?void 0x0:_0x46616d['worldPoint'])??_0x369c0a,_0x6ec78d=_0xd67e3f[_0x45915f(0x1ee)][_0x45915f(0x47e)](_0x5bf614,_0x571a67,_0x216d70);_0x2aa011[_0x45915f(0x3e2)]({'flipX':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x553)],'flipY':_0x6ec78d[_0x45915f(0x2cc)]['flipY'],'left':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x4f4)],'top':_0x6ec78d[_0x45915f(0x2cc)]['top'],'width':_0x6ec78d['worldRect'][_0x45915f(0x1dd)],'height':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x2c5)],'angle':_0x6ec78d[_0x45915f(0x2cc)][_0x45915f(0x36f)]});let _0x42d368=((_0x37ae03=this['_currentConnectionTarget'])==null?void 0x0:_0x37ae03[_0x45915f(0x519)])??_0x369c0a;_0x1c8847['transformByState']({'left':_0x42d368['x']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)],'top':_0x42d368['y']-_0xd67e3f[_0x45915f(0x225)][_0x45915f(0x290)]});}[_0x13ba7a(0x4dd)](_0x4b20aa){const _0x16c730=_0x13ba7a;if(!this[_0x16c730(0x35d)]||!this['_subUnitId'])return null;let {shapeId:_0x45276d,cxnIndex:_0x3e3c5f}=_0x4b20aa,_0x24c96f=this[_0x16c730(0x56c)][_0x16c730(0x2f5)](this[_0x16c730(0x35d)],this[_0x16c730(0x2cf)],_0x45276d);if(!_0x24c96f)return null;let _0x1a4079=this[_0x16c730(0x3c5)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x16c730(0x2cf)],'drawingId':_0x45276d});if(!(_0x1a4079!=null&&_0x1a4079[_0x16c730(0x474)]))return null;let {left:_0x344994=0x0,top:_0x50d1a2=0x0,width:_0x424bb7=0x0,height:_0x162e21=0x0,flipX:_0x287f98=!0x1,flipY:_0x324c64=!0x1,angle:_0x10cce7}=_0x1a4079[_0x16c730(0x474)];_0x24c96f[_0x16c730(0x523)]({'width':_0x424bb7,'height':_0x162e21});let _0xef0462=_0x24c96f[_0x16c730(0x214)]()[_0x16c730(0x298)](_0x5088ba=>_0x5088ba[_0x16c730(0x58d)]===_0x3e3c5f);if(!_0xef0462)return null;let _0x714540=_0x287f98?_0x424bb7-_0xef0462['x']:_0xef0462['x'],_0x1823ff=_0x324c64?_0x162e21-_0xef0462['y']:_0xef0462['y'];if(_0x10cce7!==0x0&&_0x10cce7!=null){let _0x3dfc4a=_0x10cce7*Math['PI']/0xb4,_0x1f8fdf=Math[_0x16c730(0x2e0)](_0x3dfc4a),_0x3e21f5=Math[_0x16c730(0x515)](_0x3dfc4a),_0x3acc72=_0x424bb7/0x2,_0x4e1601=_0x162e21/0x2,_0x4262e5=_0x714540-_0x3acc72,_0x135b17=_0x1823ff-_0x4e1601;_0x714540=_0x3acc72+_0x4262e5*_0x1f8fdf-_0x135b17*_0x3e21f5,_0x1823ff=_0x4e1601+_0x4262e5*_0x3e21f5+_0x135b17*_0x1f8fdf;}_0x714540+=_0x344994,_0x1823ff+=_0x50d1a2;let _0x4df858=_0xef0462[_0x16c730(0x38f)]/0xea60;_0x287f98&&(_0x4df858=0xb4-_0x4df858),_0x324c64&&(_0x4df858=-_0x4df858),_0x4df858+=_0x10cce7||0x0,_0x4df858=(_0x4df858%0x168+0x168)%0x168;let _0x3b84a7=(0x0,_0xd67e3f[_0x16c730(0x3a0)])({'left':_0x344994,'top':_0x50d1a2,'width':_0x424bb7,'height':_0x162e21},_0x10cce7||0x0);return{'point':{'x':_0x714540,'y':_0x1823ff},'angle':_0x4df858,'bounds':_0x3b84a7};}[_0x13ba7a(0x45e)](_0x205749,_0x15d532){const _0x53e152=_0x13ba7a;let _0x215b93=_0x15d532['x']-_0x205749['x'],_0x17fa73=_0x15d532['y']-_0x205749['y'];return Math[_0x53e152(0x486)](_0x215b93)>=Math[_0x53e152(0x486)](_0x17fa73)?_0x215b93>=0x0?0xb4:0x0:_0x17fa73>=0x0?0x10e:0x5a;}[_0x13ba7a(0x2b0)](){const _0x3bc5fd=_0x13ba7a;this[_0x3bc5fd(0x299)]=void 0x0,this[_0x3bc5fd(0x35d)]=void 0x0,this[_0x3bc5fd(0x2cf)]=void 0x0,this[_0x3bc5fd(0x4a6)]();}['dispose'](){const _0x36b364=_0x13ba7a;this[_0x36b364(0x4a6)](),super[_0x36b364(0x206)]();}};_0x191a85=_0x12f75a([_0x174396(0x1,_0x10e5f9['ICommandService']),_0x174396(0x2,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x3,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x5,(0x0,_0x10e5f9['Inject'])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0x5507d6)),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x4d5792))],_0x191a85);let _0x47c32c=class extends _0x10e5f9['Disposable']{constructor(_0xf59fcc,_0x2e9f63,_0x4e322c){const _0x38054b=_0x13ba7a;super(),this[_0x38054b(0x55b)]=_0xf59fcc,this[_0x38054b(0x3c5)]=_0x2e9f63,this[_0x38054b(0x256)]=_0x4e322c,this['_initPrinting']();}['_initPrinting'](){const _0x3b5dc8=_0x13ba7a;this[_0x3b5dc8(0x47f)](this['_sheetPrintInterceptorService'][_0x3b5dc8(0x20a)][_0x3b5dc8(0x37f)](this['_sheetPrintInterceptorService']['interceptor']['getInterceptPoints']()[_0x3b5dc8(0x374)],{'handler':(_0x204bc7,_0x2abb09,_0x5cd407)=>{const _0x58878b=_0x3b5dc8;var _0x3f4891;let {unitId:_0x4e4733,subUnitId:_0x5892eb,scene:_0x40c78d,resourceCollector:_0x151e1f}=_0x2abb09,_0x20f21e=(_0x3f4891=this[_0x58878b(0x3c5)]['getDrawingDataForUnit'](_0x4e4733))==null?void 0x0:_0x3f4891[_0x5892eb];return _0x20f21e==null||_0x20f21e[_0x58878b(0x54d)][_0x58878b(0x34a)](_0x219b47=>{const _0x37d154=_0x58878b;let _0x5ce144=_0x20f21e[_0x37d154(0x59a)][_0x219b47];_0x5ce144[_0x37d154(0x52e)]===_0x10e5f9[_0x37d154(0x2e1)][_0x37d154(0x20d)]&&!_0x5ce144['hidden']&&this[_0x37d154(0x256)][_0x37d154(0x4e7)](_0x5ce144,_0x40c78d,{'resourceCollector':_0x151e1f});}),_0x5cd407(_0x204bc7);}}));}};_0x47c32c=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x189be3[_0x13ba7a(0x3d6)])),_0x174396(0x1,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x5191eb))],_0x47c32c);let _0x7c3790=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x1b1978,_0x730f1b,_0x3d7450){const _0x5c2b56=_0x13ba7a;super(),this[_0x5c2b56(0x558)]=_0x1b1978,this['_localeService']=_0x730f1b,this[_0x5c2b56(0x536)]=_0x3d7450,this['_initPermission']();}[_0x13ba7a(0x55e)](){const _0x24c1c3=_0x13ba7a;this[_0x24c1c3(0x47f)](this[_0x24c1c3(0x558)][_0x24c1c3(0x510)](_0x11feff=>{const _0x205aa5=_0x24c1c3;let _0x1df1df,_0x15dd36;if(_0x11feff['id']===_0x2f2bb5['InsertShapeCommand']['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x456)]['id']||_0x11feff['id']===_0x2f2bb5[_0x205aa5(0x295)]['id']){let _0x47ec92=_0x11feff[_0x205aa5(0x352)];_0x1df1df=_0x47ec92[_0x205aa5(0x26e)],_0x15dd36=_0x47ec92[_0x205aa5(0x354)];}_0x1df1df&&_0x15dd36&&(this[_0x205aa5(0x536)][_0x205aa5(0x466)]({'workbookTypes':[_0x32abfe[_0x205aa5(0x4f9)]],'worksheetTypes':[_0x32abfe[_0x205aa5(0x1f2)]]},_0x1df1df,_0x15dd36)||this['_sheetPermissionCheckController'][_0x205aa5(0x19e)](this[_0x205aa5(0x31e)]['t'](_0x205aa5(0x341))));}));}};_0x7c3790=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x297)])),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x482)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x32abfe[_0x13ba7a(0x513)]))],_0x7c3790);let _0x16741e=class{constructor(_0x148b81){const _0xaabb65=_0x13ba7a;this[_0xaabb65(0x2e2)]=_0x148b81;}['updateShapeFillImage'](_0x147b75,_0x200e40){const _0x577904=_0x13ba7a;let _0x5f790e=this[_0x577904(0x2e2)][_0x577904(0x57f)](_0x147b75['unitId']),_0x3f2e98=_0x5f790e==null?void 0x0:_0x5f790e['scene'];if(!_0x3f2e98)return;let _0x1ae5ba=(0x0,_0x15864b[_0x577904(0x2df)])(_0x147b75),_0x97db07=_0x3f2e98[_0x577904(0x1a7)](_0x1ae5ba);_0x97db07==null||_0x97db07[_0x577904(0x1ad)](_0x200e40);}};_0x16741e=_0x12f75a([_0x174396(0x0,_0x3458ba[_0x13ba7a(0x2a5)])],_0x16741e);let _0x39f9ab=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x27939a=_0x26e934,_0x169cd0,_0x4c52de,_0x38a2dd,_0x4ac962){const _0x5cc508=_0x13ba7a;super(),this[_0x5cc508(0x20f)]=_0x27939a,this[_0x5cc508(0x58c)]=_0x169cd0,this[_0x5cc508(0x558)]=_0x4c52de,this[_0x5cc508(0x1e9)]=_0x38a2dd,this[_0x5cc508(0x2e2)]=_0x4ac962;let {..._0x31dd29}=(0x0,_0x10e5f9[_0x5cc508(0x445)])({},_0x26e934,this['_config']);this[_0x5cc508(0x1e9)][_0x5cc508(0x3b3)](_0x56997c,_0x31dd29),this[_0x5cc508(0x4cb)]();}['onStarting'](){const _0x16294c=_0x13ba7a;this[_0x16294c(0x58c)][_0x16294c(0x278)]([_0x5debd6]),this['_injector'][_0x16294c(0x468)](_0x5debd6),(0x0,_0x10e5f9[_0x16294c(0x247)])(this[_0x16294c(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x1b3)](){const _0x33afe5=_0x13ba7a;(0x0,_0x10e5f9[_0x33afe5(0x247)])(this['_injector'],[[_0x4d5792],[_0x5507d6],[_0x32e137]]),(0x0,_0x10e5f9[_0x33afe5(0x2d7)])(this[_0x33afe5(0x58c)],[[_0x32e137],[_0x5507d6]]),[[_0x4d5792],[_0x9f7a3e],[_0x191a85],[_0x1aee3a]][_0x33afe5(0x34a)](_0x540724=>{const _0x36b134=_0x33afe5;this[_0x36b134(0x47f)](this['_renderManagerService']['registerRenderModule'](_0x10e5f9[_0x36b134(0x503)][_0x36b134(0x450)],_0x540724));});}['onRendered'](){const _0x350f22=_0x13ba7a;(0x0,_0x10e5f9[_0x350f22(0x2d7)])(this[_0x350f22(0x58c)],[[_0x22d2ee],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790]]);}[_0x13ba7a(0x4ec)](){const _0x30c141=_0x13ba7a;this['_injector'][_0x30c141(0x468)](_0x22d2ee)['initShapePopupMenu']();}[_0x13ba7a(0x4cb)](){const _0x483b1e=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x34de34,_0x1e868c][_0x483b1e(0x34a)](_0x35eb20=>this['disposeWithMe'](this[_0x483b1e(0x558)][_0x483b1e(0x424)](_0x35eb20)));}};_0x5ae661(_0x39f9ab,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x39f9ab,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x39f9ab,_0x13ba7a(0x51d),_0x3e9d67),_0x5ae661(_0x39f9ab,_0x13ba7a(0x33a),_0x4f17df),_0x39f9ab=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066['UniverDocsPlugin'],_0x15864b[_0x13ba7a(0x273)],_0x3458ba[_0x13ba7a(0x1e5)],_0x32abfe['UniverSheetsPlugin'],_0x31aefd[_0x13ba7a(0x2ad)],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9[_0x13ba7a(0x2d6)],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x404)],_0xba932b[_0x13ba7a(0x29a)],_0x187e10['UniverMobileUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9['IConfigService']),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x39f9ab);let _0x53d33a={'type':_0x10e5f9[_0x13ba7a(0x56b)][_0x13ba7a(0x215)],'id':_0x13ba7a(0x3ee),'handler'(){return!0x0;}};function _0x10faf6(){const _0x42c372=_0x13ba7a;let _0x52f09c=(0x0,_0x187e10['useDependency'])(_0x15864b[_0x42c372(0x4e8)]),_0x286545=(0x0,_0x187e10[_0x42c372(0x364)])(()=>_0x52f09c[_0x42c372(0x332)],_0x52f09c[_0x42c372(0x1da)](),!0x1,[_0x52f09c]);return _0x286545[_0x42c372(0x45b)]===0x0?null:(0x0,_0x30a372[_0x42c372(0x357)])(_0x42c372(0x3a5),{'children':(0x0,_0x30a372[_0x42c372(0x1e7)])(_0x42c372(0x3a5),{'className':_0x42c372(0x439),'children':[(0x0,_0x30a372[_0x42c372(0x357)])(_0x2a7f32['DrawingCommonPanel'],{'drawings':_0x286545,'hasCropper':!0x1}),(0x0,_0x30a372[_0x42c372(0x357)])(_0x3c03b9[_0x42c372(0x48b)],{'drawings':_0x286545})]})});}function _0x1718cc(_0x3aedd3){const _0x12624e=_0x13ba7a;let {unitId:_0x354507,subUnitId:_0x5e1fdf,shapeId:_0x28c16a}=_0x3aedd3,_0x577a1c=(0x0,_0x187e10[_0x12624e(0x53e)])(_0x10e5f9[_0x12624e(0x297)]),_0x1833b3=(0x0,_0x187e10['useDependency'])(_0x16741e);return(0x0,_0x30a372['jsx'])(_0xba932b[_0x12624e(0x46c)],{..._0x3aedd3,'positionEditor':(0x0,_0x30a372['jsx'])(_0x10faf6,{}),'onUpdateShapeData':(_0x2d6756,_0x345a2f)=>{_0x2b1bec(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x2d6756,_0x345a2f);},'onUpdateLineShapeData':(_0x4d0206,_0x282fb6)=>{_0x595a99(_0x577a1c,_0x354507,_0x5e1fdf,_0x28c16a,_0x4d0206,_0x282fb6);},'onUpdateShapeFillImage':_0x1452d2=>{const _0xcf110e=_0x12624e;_0x1833b3[_0xcf110e(0x4ea)]({'unitId':_0x354507,'subUnitId':_0x5e1fdf,'drawingId':_0x28c16a},_0x1452d2);}});}function _0x257027(_0x2cb9f1){const _0x74f15a=_0x13ba7a;let _0x28c2dd=(0x0,_0x187e10[_0x74f15a(0x53e)])(_0xba932b[_0x74f15a(0x1e2)]),_0x264c2e=(0x0,_0x187e10[_0x74f15a(0x364)])(()=>_0x28c2dd['visible$'],_0x28c2dd[_0x74f15a(0x322)](),!0x1,[_0x28c2dd]),_0x4a0b8e=_0x2cb9f1['popup'][_0x74f15a(0x40d)];return!_0x4a0b8e||!_0x264c2e?null:(0x0,_0x30a372[_0x74f15a(0x357)])(_0x454ad0,{..._0x4a0b8e,'canvasElement':_0x2cb9f1['popup']['canvasElement']});}function _0x454ad0(_0x22eff3){const _0x4a445a=_0x13ba7a;let _0x4fc2a5=(0x0,_0x187e10[_0x4a445a(0x53e)])(_0x10e5f9[_0x4a445a(0x297)]),_0x9d6e58=(0x0,_0x187e10['useDependency'])(_0x2f2bb5[_0x4a445a(0x4d3)]),{unitId:_0x42f57d,subUnitId:_0xfd7f76,drawingId:_0x3c11c0,drawingType:_0x21e228,shapeType:_0xa1a986}=_0x22eff3,[_0x5dd385,_0x781e74]=(0x0,_0x18bd90[_0x4a445a(0x1f9)])(_0x22eff3[_0x4a445a(0x429)]),_0x2ed0d1=(0x0,_0x18bd90['useMemo'])(()=>(0x0,_0xba932b[_0x4a445a(0x50a)])(_0x5dd385),[_0x5dd385]),_0x5dcf6c=(0x0,_0x18bd90[_0x4a445a(0x2a1)])(()=>(0x0,_0xba932b['getTextModel'])(_0x5dd385),[_0x5dd385]);(0x0,_0x18bd90[_0x4a445a(0x41e)])(()=>{const _0x300e27=_0x4a445a;let _0x4a4816=_0x4fc2a5[_0x300e27(0x1ac)](_0x202bc0=>{const _0x4f3031=_0x300e27;if(_0x202bc0['id']!==_0x2f2bb5[_0x4f3031(0x479)]['id'])return;let _0x304065=_0x9d6e58[_0x4f3031(0x204)](_0x42f57d,_0xfd7f76,_0x3c11c0);_0x304065&&_0x781e74(_0x304065);});return()=>_0x4a4816[_0x300e27(0x206)]();},[_0x4fc2a5,_0x3c11c0,_0x9d6e58,_0xfd7f76,_0x42f57d]);let _0x19594b=_0x433141=>{_0x781e74(_0x4df4db=>({..._0x4df4db,..._0x433141}));},_0x463127=_0x2c9771=>{const _0x3e48c9=_0x4a445a;let _0x4db731=(0x0,_0xba932b[_0x3e48c9(0x38c)])(_0x5dd385,_0x2c9771);_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'shapeText':_0x5dd385[_0x3e48c9(0x342)]}},_0x4db731),_0x19594b(_0x4db731);},_0x30d053=(0x0,_0xba932b[_0x4a445a(0x585)])({'hostType':_0x10e5f9['UniverInstanceType'][_0x4a445a(0x450)],'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'shapeId':_0x3c11c0,'shapeData':_0x5dd385,'onUpdateBinding':_0x1d4ac2=>{const _0x596e86=_0x4a445a;let _0x4ae9c5={'formulaBinding':_0x1d4ac2};_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,{'oldShapeData':{'formulaBinding':_0x5dd385[_0x596e86(0x1c2)]}},_0x4ae9c5),_0x19594b(_0x4ae9c5);}});return(0x0,_0x30a372['jsxs'])(_0x30a372[_0x4a445a(0x31d)],{'children':[(0x0,_0x30a372[_0x4a445a(0x357)])(_0xba932b[_0x4a445a(0x4b8)],{'canvasElement':_0x22eff3[_0x4a445a(0x3c2)],'shapeData':_0x5dd385,'shapeType':_0xa1a986,'textStyle':{'ff':_0xd67e3f['ShapeDefaultConfig'][_0x4a445a(0x342)]['fontFamily'],'fs':_0xd67e3f['ShapeDefaultConfig']['shapeText'][_0x4a445a(0x250)],'cl':{'rgb':_0xd67e3f[_0x4a445a(0x225)]['shapeText']['color']},..._0x2ed0d1},'textModel':_0x5dcf6c?{'ha':_0x5dcf6c['ha']??_0x10e5f9[_0x4a445a(0x3df)][_0x4a445a(0x353)],'va':_0x5dcf6c['va']??_0x10e5f9[_0x4a445a(0x48c)][_0x4a445a(0x43d)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0xd67e3f[_0x4a445a(0x225)]['fill'],'defaultGradientEndColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x2b9)],'defaultStrokeColor':_0xd67e3f[_0x4a445a(0x225)][_0x4a445a(0x24f)],'extensionGroups':_0x30d053[_0x4a445a(0x505)],'floatingObjectToolbarPosition':_0x187e10['FloatingObjectToolbarPosition']['SHEET'],'onUpdateShapeData':(_0x2ec1eb,_0x5abc5d)=>{_0x2b1bec(_0x4fc2a5,_0x42f57d,_0xfd7f76,_0x3c11c0,_0x2ec1eb,_0x5abc5d),_0x5abc5d&&_0x19594b(_0x5abc5d);},'onUpdateText':_0x463127,'onOpenPanel':()=>{const _0xece09d=_0x4a445a;_0x4fc2a5[_0xece09d(0x274)](_0x47ad5b['id'],{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0});},'onDelete':()=>{const _0x45c4b5=_0x4a445a;_0x4fc2a5[_0x45c4b5(0x274)](_0x40f1a1[_0x45c4b5(0x460)]['id'],{'unitId':_0x42f57d,'drawings':[{'unitId':_0x42f57d,'subUnitId':_0xfd7f76,'drawingId':_0x3c11c0,'drawingType':_0x21e228}]});}}),_0x30d053['panel']]});}function _0x4421c9(_0x3ae445){const _0x50fdf1=_0x13ba7a;return!!_0x3ae445&&_0x50fdf1(0x331)in _0x3ae445&&_0x50fdf1(0x2ea)in _0x3ae445;}let _0x576a99=(0x0,_0x18bd90[_0x13ba7a(0x3d5)])(()=>{const _0x46f8e6=_0x13ba7a;let _0x1d0021=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x17f3c3),_0x39e504=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x2f2bb5[_0x46f8e6(0x4d3)]),_0x363233=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x15864b['IDrawingManagerService']),_0x9e59ef=(0x0,_0x187e10[_0x46f8e6(0x53e)])(_0x10e5f9[_0x46f8e6(0x297)]),_0x28d63e=(0x0,_0x187e10['useDependency'])(_0x187e10[_0x46f8e6(0x377)]),_0x2b7674=(0x0,_0x187e10['useDependency'])(_0x3458ba[_0x46f8e6(0x2a5)]),_0x25c7a4=(0x0,_0x18bd90['useMemo'])(()=>({'getShapeModel':(_0x5beae8,_0x297bc3,_0x4f059d)=>_0x39e504[_0x46f8e6(0x2f5)](_0x5beae8,_0x297bc3,_0x4f059d),'getShapeData':(_0x55d019,_0xe82ffb,_0x4565db)=>_0x39e504['getShapeDataById'](_0x55d019,_0xe82ffb,_0x4565db),'getDrawingTransform':(_0x59a7a9,_0x30e6e8,_0x2654c7)=>{const _0x1d7819=_0x46f8e6;let _0x5a53aa=_0x363233['getDrawingByParam']({'unitId':_0x59a7a9,'subUnitId':_0x30e6e8,'drawingId':_0x2654c7});return _0x5a53aa==null?void 0x0:_0x5a53aa[_0x1d7819(0x474)];},'updateShapeText':({unitId:_0x7fa5d2,subUnitId:_0x34b23a,shapeId:_0x865b71,shapeText:_0x368bf9,oldShapeText:_0x5e9633,hostSize:_0x37d8bf})=>{const _0x3019a9=_0x46f8e6;_0x28d63e[_0x3019a9(0x29b)](_0x7fa5d2,()=>{const _0x4e66da=_0x3019a9;var _0x2f3003;let _0x4e8bfd=_0x9e59ef[_0x4e66da(0x1f8)](_0x6c1302['id'],{'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'shapeId':_0x865b71,'shapeData':{'shapeText':_0x368bf9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5e9633}}});if(!_0x4e8bfd||!_0x37d8bf)return _0x4e8bfd;let _0x50d726=_0x363233[_0x4e66da(0x3db)]({'unitId':_0x7fa5d2,'subUnitId':_0x34b23a,'drawingId':_0x865b71}),_0x566cb9=_0x50d726==null?void 0x0:_0x50d726[_0x4e66da(0x474)];if(!_0x4421c9(_0x50d726)||!_0x566cb9)return!0x1;let _0x1bc8ec={..._0x566cb9,'width':_0x37d8bf[_0x4e66da(0x1dd)],'height':_0x37d8bf['height']},_0x4fb722=(_0x2f3003=_0x2b7674['getRenderUnitById'](_0x7fa5d2))==null||(_0x2f3003=_0x2f3003['with'](_0x189be3[_0x4e66da(0x277)])[_0x4e66da(0x393)](_0x34b23a))==null?void 0x0:_0x2f3003[_0x4e66da(0x402)];return _0x9e59ef[_0x4e66da(0x1f8)](_0x40f1a1[_0x4e66da(0x26f)]['id'],{'unitId':_0x7fa5d2,'drawings':[{..._0x50d726,'transform':_0x1bc8ec,'sheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x307)])(_0x1bc8ec,_0x4fb722)??_0x50d726[_0x4e66da(0x2ea)]:_0x50d726[_0x4e66da(0x2ea)],'axisAlignSheetTransform':_0x4fb722?(0x0,_0x40f1a1[_0x4e66da(0x25d)])(_0x1bc8ec,_0x4fb722)??_0x50d726['axisAlignSheetTransform']:_0x50d726[_0x4e66da(0x331)]}]});});},'updateHostSize':({unitId:_0x11c3c0,subUnitId:_0x494551,shapeId:_0x4b0daa,width:_0x4341a8,height:_0x1717c0})=>{const _0x2fdcbf=_0x46f8e6;var _0x5164f1;let _0x3f6ac2=_0x363233[_0x2fdcbf(0x3db)]({'unitId':_0x11c3c0,'subUnitId':_0x494551,'drawingId':_0x4b0daa}),_0x5e72bd=_0x3f6ac2==null?void 0x0:_0x3f6ac2[_0x2fdcbf(0x474)];if(!_0x4421c9(_0x3f6ac2)||!_0x5e72bd)return;let _0x25f1cd={..._0x5e72bd,'width':_0x4341a8,'height':_0x1717c0},_0x15d6a9=(_0x5164f1=_0x2b7674[_0x2fdcbf(0x57f)](_0x11c3c0))==null||(_0x5164f1=_0x5164f1[_0x2fdcbf(0x39e)](_0x189be3[_0x2fdcbf(0x277)])[_0x2fdcbf(0x393)](_0x494551))==null?void 0x0:_0x5164f1[_0x2fdcbf(0x402)],_0x2ee1f6=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x307)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x2ea)]:_0x3f6ac2[_0x2fdcbf(0x2ea)],_0x5e51e9=_0x15d6a9?(0x0,_0x40f1a1[_0x2fdcbf(0x25d)])(_0x25f1cd,_0x15d6a9)??_0x3f6ac2[_0x2fdcbf(0x331)]:_0x3f6ac2[_0x2fdcbf(0x331)];_0x9e59ef[_0x2fdcbf(0x274)](_0x40f1a1[_0x2fdcbf(0x26f)]['id'],{'unitId':_0x11c3c0,'drawings':[{..._0x3f6ac2,'transform':_0x25f1cd,'sheetTransform':_0x2ee1f6,'axisAlignSheetTransform':_0x5e51e9}]});},'allowHostSizeShrink':({unitId:_0x119a77,subUnitId:_0x33c2f4,shapeId:_0x15811b})=>(0x0,_0xba932b[_0x46f8e6(0x562)])(_0x39e504[_0x46f8e6(0x204)](_0x119a77,_0x33c2f4,_0x15811b)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x9e59ef,_0x363233,_0x2b7674,_0x39e504,_0x28d63e]),_0x10ec4f=(0x0,_0x18bd90[_0x46f8e6(0x2a1)])(()=>({'viewportKeys':{'main':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x376)],'leftTop':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x54e)],'top':_0x3458ba['SHEET_VIEWPORT_KEY'][_0x46f8e6(0x2a2)],'left':_0x3458ba[_0x46f8e6(0x26c)][_0x46f8e6(0x231)]},'getSkeleton':(_0x183588,_0x431ce1)=>{const _0x2a2519=_0x46f8e6;var _0x188226;return((_0x188226=_0x183588['with'](_0x189be3[_0x2a2519(0x277)])[_0x2a2519(0x393)](_0x431ce1[_0x2a2519(0x354)]))==null?void 0x0:_0x188226[_0x2a2519(0x402)])??null;}}),[]);return(0x0,_0x30a372[_0x46f8e6(0x357)])(_0xba932b['ShapeTextEditorContainer'],{'adapter':_0x25c7a4,'editingService':_0x1d0021,'editorUnitId':_0x28b28e,'positionOptions':_0x10ec4f});}),_0xd91588=class extends _0x10e5f9['Disposable']{constructor(_0x3ffd41,_0x48cc66){const _0x335d9=_0x13ba7a;super(),this[_0x335d9(0x23e)]=_0x3ffd41,this[_0x335d9(0x378)]=_0x48cc66,this['_registerIcons'](),this[_0x335d9(0x555)]();}[_0x13ba7a(0x50b)](){const _0x179942=_0x13ba7a;this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x2e9))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'ObjectLayersIcon':_0x4e302b})),this[_0x179942(0x378)]['has']('FlipHorizontalIcon')||this['disposeWithMe'](this[_0x179942(0x378)]['register']({'FlipHorizontalIcon':_0x20e04e})),this[_0x179942(0x378)]['has'](_0x179942(0x431))||this[_0x179942(0x47f)](this[_0x179942(0x378)]['register']({'FlipVerticalIcon':_0x5b520d})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x350))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'BottomIcon':_0x414477})),this[_0x179942(0x378)]['has']('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x561e77})),this['_iconManager']['has']('MoveUpIcon')||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'MoveUpIcon':_0x37f265})),this[_0x179942(0x378)][_0x179942(0x1d7)]('ShapeFormatSettingIcon')||this[_0x179942(0x47f)](this['_iconManager'][_0x179942(0x529)]({'ShapeFormatSettingIcon':_0x2534bb})),this[_0x179942(0x378)][_0x179942(0x1d7)](_0x179942(0x51f))||this[_0x179942(0x47f)](this[_0x179942(0x378)][_0x179942(0x529)]({'TopmostIcon':_0x209146}));}[_0x13ba7a(0x555)](){const _0x1335b6=_0x13ba7a;this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x6fddbc,_0x1718cc)),this['disposeWithMe'](this['_componentManager']['register'](_0x4dafcd,_0x339519)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0xb1d681,_0x3f0386)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x993061,_0x544130)),this[_0x1335b6(0x23e)][_0x1335b6(0x27b)](_0x2a7f32['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x2a7f32[_0x1335b6(0x303)],_0x88ad35)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)]['register'](_0x42484a,_0x257027)),this[_0x1335b6(0x47f)](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x5c3e05,_0x1024f0)),this['disposeWithMe'](this[_0x1335b6(0x23e)][_0x1335b6(0x529)](_0x3084b1,_0x23f7be)),this['disposeWithMe'](this['_componentManager'][_0x1335b6(0x529)](_0x41bd5b,_0x3e9412)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x26103a,_0x184a26)),this[_0x1335b6(0x47f)](this['_componentManager'][_0x1335b6(0x529)](_0x41bb10,_0xba932b[_0x1335b6(0x410)])),this[_0x1335b6(0x47f)](this['_componentManager']['register'](_0x1335b6(0x521),_0x576a99));}};_0xd91588=_0x12f75a([_0x174396(0x0,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x2c3)])),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x327)]))],_0xd91588);let _0x2eec39=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x12a005,_0x16859d,_0x4eeb6d,_0x279e0d,_0x4337ff,_0xcc5dcb,_0x55602d,_0xba1425,_0x2c6430){const _0x3bc3e3=_0x13ba7a;super();let _0x535fa8=_0x5d1644=>{const _0x4427c5=_0x2e4e;var _0x31cf7c,_0x21db03;return(((_0x31cf7c=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x4f9))](_0x5d1644[_0x4427c5(0x26e)])['id']))==null?void 0x0:_0x31cf7c['value'])??!0x0)&&(((_0x21db03=_0xba1425['getPermissionPoint'](new _0x32abfe[(_0x4427c5(0x1f2))](_0x5d1644[_0x4427c5(0x26e)],_0x5d1644['subUnitId'])['id']))==null?void 0x0:_0x21db03['value'])??!0x0);},_0x861c43=_0x1274fc=>_0x1274fc['shapeId']&&_0x535fa8(_0x1274fc)?_0x4eeb6d[_0x3bc3e3(0x204)](_0x1274fc['unitId'],_0x1274fc[_0x3bc3e3(0x354)],_0x1274fc['shapeId'])??null:null,_0x2358e5=()=>{const _0x100b44=_0x3bc3e3;let _0x356298=_0x4337ff['getFocusDrawings'](),_0x352587=_0x356298[_0x100b44(0x45b)]===0x1?_0x356298[0x0]:null;return(_0x352587==null?void 0x0:_0x352587[_0x100b44(0x52e)])===_0x10e5f9[_0x100b44(0x2e1)]['DRAWING_SHAPE']&&_0x352587['unitId']===_0x12a005[_0x100b44(0x26e)]?{'unitId':_0x352587['unitId'],'subUnitId':_0x352587['subUnitId'],'shapeId':_0x352587['drawingId']}:null;};this[_0x3bc3e3(0x47f)]((0x0,_0xba932b[_0x3bc3e3(0x565)])(_0x12a005,_0x16859d,{'changes$':(0x0,_0x364ff4['merge'])(_0x4337ff[_0x3bc3e3(0x332)],_0x279e0d['editingParams$'],_0xba1425[_0x3bc3e3(0x541)]),'isActive':()=>{const _0x380696=_0x3bc3e3;var _0x3f401e;return((_0x3f401e=_0xcc5dcb[_0x380696(0x2bc)]())==null?void 0x0:_0x3f401e[_0x380696(0x3ff)]())===_0x12a005[_0x380696(0x26e)]&&!_0x55602d[_0x380696(0x587)](_0x10e5f9['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x4337ff[_0x380696(0x1da)]()[_0x380696(0x301)](_0x1c939c=>_0x1c939c[_0x380696(0x26e)]===_0x12a005[_0x380696(0x26e)]);},'getSelectedTarget':_0x2358e5,'getSource':()=>{let _0x35b1ee=_0x2358e5();return _0x35b1ee?_0x861c43(_0x35b1ee):null;},'getTarget':_0xd908c5=>{const _0x209da0=_0x3bc3e3;let _0x1e64e8=_0x12a005['scene'][_0x209da0(0x3c0)](new _0x3458ba['Vector2'](_0xd908c5['offsetX'],_0xd908c5[_0x209da0(0x23b)]));if(!(_0x1e64e8 instanceof _0x402866))return null;let _0x3ee63e={'unitId':_0x12a005[_0x209da0(0x26e)],'subUnitId':_0x1e64e8[_0x209da0(0x354)],'shapeId':_0x1e64e8['shapeId']};return _0x535fa8(_0x3ee63e)?_0x3ee63e:null;},'getShape':_0x861c43,'update':(_0x53c280,_0x5b2d2b,_0x58f1ec)=>_0x2c6430['executeCommand'](_0x6c1302['id'],{..._0x53c280,'shapeData':_0x58f1ec,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5b2d2b}})}));}};_0x2eec39=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x187e10[_0x13ba7a(0x45a)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x4,_0x15864b['IDrawingManagerService']),_0x174396(0x5,_0x10e5f9['IUniverInstanceService']),_0x174396(0x6,_0x10e5f9['IContextService']),_0x174396(0x7,_0x10e5f9[_0x13ba7a(0x509)]),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x297)])],_0x2eec39);let _0x44ebdd=_0x13ba7a(0x34d),_0x1aaf55=class extends _0x10e5f9['Disposable']{constructor(_0x4a89c0,_0x3f6df5,_0x310aa4,_0x512a7c,_0x3d4941,_0x5d8252){const _0xc0328b=_0x13ba7a;super(),this[_0xc0328b(0x52d)]=_0x4a89c0,this[_0xc0328b(0x473)]=_0x3f6df5,this[_0xc0328b(0x3c5)]=_0x310aa4,this[_0xc0328b(0x583)]=_0x512a7c,this[_0xc0328b(0x2e2)]=_0x3d4941,this['_shapeFloatingToolbarService']=_0x5d8252,_0x5ae661(this,_0xc0328b(0x3b7),!0x1),this[_0xc0328b(0x52d)][_0xc0328b(0x1d8)](_0x136219),this['disposeWithMe']((0x0,_0x10e5f9['toDisposable'])(this[_0xc0328b(0x3c5)][_0xc0328b(0x332)]['subscribe'](()=>this[_0xc0328b(0x1db)]()))),this[_0xc0328b(0x1db)]();}[_0x13ba7a(0x206)](){const _0x55e246=_0x13ba7a;this['_shapeFloatingToolbarService'][_0x55e246(0x1ec)](!0x1,_0x44ebdd),this[_0x55e246(0x2f0)](),super['dispose']();}[_0x13ba7a(0x1db)](){const _0x488eb8=_0x13ba7a;var _0x344c02;let _0xaf6a54=this[_0x488eb8(0x3c5)][_0x488eb8(0x1da)](),_0x22f60c=_0xaf6a54[_0x488eb8(0x45b)]===0x1?_0xaf6a54[0x0]:void 0x0;if((_0x22f60c==null?void 0x0:_0x22f60c['drawingType'])!==_0x10e5f9[_0x488eb8(0x2e1)]['DRAWING_SHAPE']||this[_0x488eb8(0x583)]['getUnitType'](_0x22f60c[_0x488eb8(0x26e)])!==_0x10e5f9['UniverInstanceType'][_0x488eb8(0x450)]){this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](!0x1,_0x44ebdd),this[_0x488eb8(0x2f0)]();return;}let _0x4e5742=(_0x344c02=this[_0x488eb8(0x2e2)]['getRenderUnitById'](_0x22f60c[_0x488eb8(0x26e)]))==null?void 0x0:_0x344c02[_0x488eb8(0x590)][_0x488eb8(0x423)](),_0x33f5c9=(0x0,_0xba932b[_0x488eb8(0x53d)])(_0x4e5742)===_0x488eb8(0x4de);if(this[_0x488eb8(0x593)][_0x488eb8(0x1ec)](_0x33f5c9,_0x44ebdd),_0x33f5c9){this[_0x488eb8(0x2f0)]();return;}this[_0x488eb8(0x3b7)]||(this[_0x488eb8(0x3b7)]=!0x0,this[_0x488eb8(0x473)][_0x488eb8(0x46a)](_0x523b08,{'activate':!0x0}));}[_0x13ba7a(0x2f0)](){const _0x42ad6b=_0x13ba7a;this[_0x42ad6b(0x3b7)]&&(this[_0x42ad6b(0x3b7)]=!0x1,this['_ribbonService'][_0x42ad6b(0x3a1)](_0x523b08),this[_0x42ad6b(0x473)]['setCollapsedIds']([]));}};_0x1aaf55=_0x12f75a([_0x174396(0x0,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x1,_0x187e10['IRibbonService']),_0x174396(0x2,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x4,_0x3458ba[_0x13ba7a(0x2a5)]),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0xba932b[_0x13ba7a(0x1e2)]))],_0x1aaf55);let _0x402c67=class extends _0xba932b['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3){super(_0x1ea29f,_0x265df4,_0x57c013,_0x184e0e,_0x4e9b79,_0x4528c4,_0x172a6d,_0x1b6690,_0x297d58,_0x4ff6b3,{'componentKey':_0x41bb10,'editorUnitId':_0x28b28e});}};_0x402c67=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x1ac066[_0x13ba7a(0x49b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd[_0x13ba7a(0x414)])),_0x174396(0x3,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4ff)])),_0x174396(0x4,_0x10e5f9['ICommandService']),_0x174396(0x5,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x31aefd['DocEventManagerService'])),_0x174396(0x6,(0x0,_0x10e5f9['Inject'])(_0xba932b['ShapeTextHyperLinkPopupService'])),_0x174396(0x7,(0x0,_0x10e5f9['Inject'])(_0x1ac066[_0x13ba7a(0x595)])),_0x174396(0x8,(0x0,_0x10e5f9['Inject'])(_0x31aefd[_0x13ba7a(0x4b1)])),_0x174396(0x9,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x402c67);let _0x110f72=class extends _0xba932b[_0x13ba7a(0x367)]{constructor(_0x41adc9,_0x206baa,_0x412ee7,_0x4d3500,_0x422eb1){const _0x16b7a3=_0x13ba7a;super(_0x41adc9,_0x206baa,{'editing$':_0x412ee7[_0x16b7a3(0x4c6)],'resolve':_0x20bee6=>{const _0x9978b0=_0x16b7a3;var _0x226c3a,_0x270461,_0x57fb99;let _0x3ad835=new _0x3458ba[(_0x9978b0(0x265))](_0x20bee6['offsetX'],_0x20bee6[_0x9978b0(0x23b)]),_0x3bea75=((_0x226c3a=_0x41adc9[_0x9978b0(0x2a7)]['getActiveViewportByCoord'](_0x3ad835))==null?void 0x0:_0x226c3a[_0x9978b0(0x514)](_0x3ad835))??_0x3ad835,_0x3115b4=(0x0,_0xba932b[_0x9978b0(0x428)])(_0x41adc9[_0x9978b0(0x2a7)][_0x9978b0(0x3c0)](_0x3ad835)??null,_0x3bea75);if(!(_0x3115b4 instanceof _0x402866))return null;let _0x4f2c6b=_0x3115b4[_0x9978b0(0x3b4)](_0x3bea75);if(!_0x4f2c6b)return null;let _0x1ee218=_0x3115b4,_0x2d29a2={'componentKey':_0xba932b[_0x9978b0(0x44a)]['componentKey'],'direction':_0x9978b0(0x42d),'offset':[0x0,0xa],'onClickOutside':()=>_0x206baa['hideInfoPopup']()};return{'object':_0x3115b4,'info':{..._0x4f2c6b,'unitId':_0x3115b4[_0x9978b0(0x26e)],'subUnitId':_0x3115b4[_0x9978b0(0x354)],'shapeKey':_0x3115b4['oKey'],'readonly':!0x0,'copyable':((_0x270461=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x1be))](_0x3115b4[_0x9978b0(0x26e)])['id']))==null?void 0x0:_0x270461[_0x9978b0(0x472)])!==!0x1&&((_0x57fb99=_0x422eb1[_0x9978b0(0x3da)](new _0x32abfe[(_0x9978b0(0x44e))](_0x3115b4[_0x9978b0(0x26e)],_0x3115b4['subUnitId'])['id']))==null?void 0x0:_0x57fb99[_0x9978b0(0x472)])!==!0x1},'attachPopup':()=>_0x4d3500['attachPopupToObject'](_0x1ee218,_0x2d29a2)};}}),this['disposeWithMe'](_0x41adc9[_0x16b7a3(0x52f)][_0x16b7a3(0x259)][_0x16b7a3(0x358)](()=>this['clear']()));}};_0x110f72=_0x12f75a([_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0xba932b[_0x13ba7a(0x28b)])),_0x174396(0x2,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3)),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3['SheetCanvasPopManagerService'])),_0x174396(0x4,_0x10e5f9[_0x13ba7a(0x509)])],_0x110f72);let _0x1bb23d=class extends _0x10e5f9[_0x13ba7a(0x218)]{constructor(_0x138e53,_0xdd13bc,_0x4ec6a9,_0x162e8c,_0x58a2e9,_0x6fab,_0xefc4,_0x13beb2,_0x257cb2,_0x42e666,_0x1f5774){const _0x3e9be6=_0x13ba7a;super(),this[_0x3e9be6(0x583)]=_0x138e53,this['_sidebarService']=_0xdd13bc,this[_0x3e9be6(0x52d)]=_0x4ec6a9,this[_0x3e9be6(0x56c)]=_0x162e8c,this[_0x3e9be6(0x31e)]=_0x58a2e9,this[_0x3e9be6(0x558)]=_0x6fab,this[_0x3e9be6(0x3c5)]=_0xefc4,this[_0x3e9be6(0x372)]=_0x13beb2,this[_0x3e9be6(0x39b)]=_0x257cb2,this[_0x3e9be6(0x2e2)]=_0x42e666,this[_0x3e9be6(0x205)]=_0x1f5774,_0x5ae661(this,_0x3e9be6(0x4c1),null),_0x5ae661(this,'_activeShapeInfo',null),_0x5ae661(this,'_isOpenedShapeEditPanel',!0x1),_0x5ae661(this,_0x3e9be6(0x568),0x0),_0x5ae661(this,'_shapePopupMenuDisposable',null),_0x5ae661(this,_0x3e9be6(0x500),[]),this[_0x3e9be6(0x19d)](),this[_0x3e9be6(0x47f)](this[_0x3e9be6(0x583)][_0x3e9be6(0x3d3)](_0x10e5f9[_0x3e9be6(0x503)][_0x3e9be6(0x450)])[_0x3e9be6(0x358)](_0x19b8b9=>{const _0x857919=_0x3e9be6;if(!_0x19b8b9){var _0xf1d687;(_0xf1d687=this[_0x857919(0x4c1)])==null||_0xf1d687[_0x857919(0x206)]();}})),this[_0x3e9be6(0x1bb)](),this[_0x3e9be6(0x2e3)](),this['disposeWithMe'](this[_0x3e9be6(0x205)][_0x3e9be6(0x4c6)][_0x3e9be6(0x358)](_0x1e55a8=>{const _0x2d2021=_0x3e9be6;_0x1e55a8&&this[_0x2d2021(0x221)]();}));}[_0x13ba7a(0x19d)](){const _0x297d2f=_0x13ba7a;this[_0x297d2f(0x52d)][_0x297d2f(0x1d8)](_0x713457);}['initShapePopupMenu'](){const _0x2f2a31=_0x13ba7a;this[_0x2f2a31(0x1e0)]||=this[_0x2f2a31(0x47f)]((0x0,_0xba932b[_0x2f2a31(0x258)])(this[_0x2f2a31(0x2e2)],_0x10e5f9[_0x2f2a31(0x503)][_0x2f2a31(0x450)],_0x3a831c=>this[_0x2f2a31(0x201)](_0x3a831c)));}[_0x13ba7a(0x21f)](_0x797fe0,_0x459d4f,_0x1bf273){const _0x28ab6e=_0x13ba7a;let _0xba5fc2=this[_0x28ab6e(0x56c)][_0x28ab6e(0x42b)](_0x797fe0,_0x459d4f,_0x1bf273),_0x562d91=this[_0x28ab6e(0x56c)][_0x28ab6e(0x204)](_0x797fe0,_0x459d4f,_0x1bf273);return _0xba5fc2!==void 0x0&&_0x562d91!==void 0x0?{'shapeData':_0x562d91,'shapeId':_0x1bf273,'shapeType':_0xba5fc2,'unitId':_0x797fe0,'subUnitId':_0x459d4f,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x13ba7a(0x221)](){const _0x369d2e=_0x13ba7a;this[_0x369d2e(0x500)][_0x369d2e(0x34a)](_0x3d99b8=>_0x3d99b8['dispose']()),this['_disposePopups'][_0x369d2e(0x45b)]=0x0;}['_popupMenuListener'](_0xc483c3){const _0x3ee16e=_0x13ba7a;let _0x7bfb72=new _0x10e5f9[(_0x3ee16e(0x497))]();return _0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x517)][_0x3ee16e(0x358)](()=>{const _0x33312d=_0x3ee16e;let _0x4fe677=_0xc483c3['getSelectedObjectMap']();if(this['_clearPopups'](),this[_0x33312d(0x3a2)]||_0x4fe677[_0x33312d(0x3ba)]>0x1)return;let _0x597945=_0x4fe677[_0x33312d(0x1cb)]()[_0x33312d(0x475)]()[_0x33312d(0x472)];if(!_0x597945)return;let _0x581498=this[_0x33312d(0x3c5)][_0x33312d(0x209)](_0x597945['oKey']);if(!_0x581498||_0x581498[_0x33312d(0x52e)]!==_0x10e5f9[_0x33312d(0x2e1)]['DRAWING_SHAPE'])return;let {unitId:_0x3de0ef,subUnitId:_0x261089,drawingId:_0x541b72,drawingType:_0x15a57f}=_0x581498,_0x1ee738=this[_0x33312d(0x21f)](_0x3de0ef,_0x261089,_0x541b72);if(!_0x1ee738)return;this[_0x33312d(0x39b)][_0x33312d(0x1a1)](_0x10e5f9[_0x33312d(0x2f4)],!0x0);let _0x1fb45f=this[_0x33312d(0x2e2)][_0x33312d(0x57f)](_0x3de0ef),_0x28accc=((_0x1fb45f==null?void 0x0:_0x1fb45f[_0x33312d(0x300)])===!0x1?_0x1fb45f[_0x33312d(0x39e)](_0x189be3[_0x33312d(0x53a)]):this['_sheetCanvasPopManagerService'])[_0x33312d(0x2ee)](_0x597945,{'componentKey':_0x42484a,'direction':_0x33312d(0x4e4),'offset':[0x0,_0xba932b[_0x33312d(0x538)]],'extraProps':{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72,'drawingType':_0x15a57f,'shapeType':_0x1ee738['shapeType'],'shapeData':_0x1ee738[_0x33312d(0x429)]}});this[_0x33312d(0x500)][_0x33312d(0x1b2)](this[_0x33312d(0x47f)](_0x28accc)),this[_0x33312d(0x3c5)][_0x33312d(0x1da)]()[_0x33312d(0x298)](_0x11f152=>_0x11f152[_0x33312d(0x26e)]===_0x3de0ef&&_0x11f152['subUnitId']===_0x261089&&_0x11f152[_0x33312d(0x272)]===_0x541b72)||this[_0x33312d(0x3c5)][_0x33312d(0x3f9)]([{'unitId':_0x3de0ef,'subUnitId':_0x261089,'drawingId':_0x541b72}]);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x1bf)]['subscribe'](()=>{const _0x5e2426=_0x3ee16e;this[_0x5e2426(0x221)](),this['_contextService'][_0x5e2426(0x1a1)](_0x10e5f9[_0x5e2426(0x2f4)],!0x1),this[_0x5e2426(0x3c5)]['focusDrawing'](null);})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x42f)][_0x3ee16e(0x358)](()=>{const _0x261687=_0x3ee16e;this[_0x261687(0x221)]();})),_0x7bfb72[_0x3ee16e(0x278)](_0xc483c3[_0x3ee16e(0x202)][_0x3ee16e(0x358)](()=>{this['_clearPopups']();})),(0x0,_0x10e5f9[_0x3ee16e(0x576)])(()=>{const _0x528e76=_0x3ee16e;_0x7bfb72[_0x528e76(0x206)](),this[_0x528e76(0x221)]();});}[_0x13ba7a(0x1bb)](){const _0x4cd9e0=_0x13ba7a;this[_0x4cd9e0(0x47f)](this[_0x4cd9e0(0x558)]['onCommandExecuted'](_0x4e8c35=>{const _0x1a6b5b=_0x4cd9e0;if(_0x4e8c35['id']===_0x47ad5b['id']){let {unitId:_0xd9ed2e,subUnitId:_0x3dd5d6,drawingId:_0x35e7fd}=_0x4e8c35[_0x1a6b5b(0x352)];this[_0x1a6b5b(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x1a6b5b(0x21f)](_0xd9ed2e,_0x3dd5d6,_0x35e7fd),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x4e8c35['id']===_0x53d33a['id']&&(this[_0x1a6b5b(0x25b)]=null,this[_0x1a6b5b(0x545)]()),_0x4e8c35['id']===_0x2f2bb5[_0x1a6b5b(0x479)]['id']){let {unitId:_0x6d8ce1,subUnitId:_0x606fff,shapeId:_0x4e7d02}=_0x4e8c35[_0x1a6b5b(0x352)];if(this[_0x1a6b5b(0x25b)]&&this[_0x1a6b5b(0x25b)][_0x1a6b5b(0x42a)]===_0x4e7d02){let _0xab840f=this[_0x1a6b5b(0x21f)](_0x6d8ce1,_0x606fff,_0x4e7d02);_0xab840f&&(this[_0x1a6b5b(0x568)]+=0x1,_0xab840f[_0x1a6b5b(0x33a)]=this[_0x1a6b5b(0x568)],this[_0x1a6b5b(0x25b)]=_0xab840f,this['_isOpenedShapeEditPanel']&&this[_0x1a6b5b(0x50f)]());}}})),this['disposeWithMe'](this[_0x4cd9e0(0x3c5)][_0x4cd9e0(0x332)][_0x4cd9e0(0x358)](_0x73b724=>{const _0x3ee9c1=_0x4cd9e0;if(this[_0x3ee9c1(0x3a2)]===!0x1)return;if(_0x73b724[_0x3ee9c1(0x45b)]===0x0){this[_0x3ee9c1(0x25b)]=null,this[_0x3ee9c1(0x545)]();return;}if(_0x73b724[_0x3ee9c1(0x45b)]===0x1&&_0x73b724[0x0]['drawingType']===_0x10e5f9[_0x3ee9c1(0x2e1)][_0x3ee9c1(0x20d)]&&(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this[_0x3ee9c1(0x21f)](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this[_0x3ee9c1(0x25b)])){this[_0x3ee9c1(0x50f)]();return;}let _0x58e0dd=_0x73b724[_0x3ee9c1(0x435)](_0x444c70=>_0x444c70[_0x3ee9c1(0x52e)]===_0x10e5f9['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x73b724[_0x3ee9c1(0x45b)]>0x1&&_0x58e0dd['length']===_0x73b724[_0x3ee9c1(0x45b)]){if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0][_0x3ee9c1(0x272)]),this['_activeShapeInfo']){this[_0x3ee9c1(0x50f)]();return;}}else{if(this[_0x3ee9c1(0x568)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x73b724[0x0][_0x3ee9c1(0x26e)],_0x73b724[0x0][_0x3ee9c1(0x354)],_0x73b724[0x0]['drawingId']),this[_0x3ee9c1(0x25b)]){this[_0x3ee9c1(0x25b)][_0x3ee9c1(0x3f6)]=!0x0,this['_openShapeEditPanel']();return;}}this['_closeShapeEditPanel']();}));}[_0x13ba7a(0x50f)](){const _0x3ca4a7=_0x13ba7a;this['_activeShapeInfo']&&(this[_0x3ca4a7(0x4c1)]=this['_sidebarService'][_0x3ca4a7(0x269)]({'id':_0x6fddbc,'header':{'title':this['_localeService']['t'](_0x3ca4a7(0x344))},'width':0x184,'children':{'label':_0x6fddbc,...this[_0x3ca4a7(0x25b)]},'onClose':()=>{const _0x3de66d=_0x3ca4a7;this[_0x3de66d(0x3c5)][_0x3de66d(0x3f9)](null),this[_0x3de66d(0x39b)][_0x3de66d(0x1a1)](_0x10e5f9[_0x3de66d(0x2f4)],!0x1),this[_0x3de66d(0x4c1)]=null;}}),this[_0x3ca4a7(0x3a2)]=!0x0);}['_closeShapeEditPanel'](){const _0x17ef0f=_0x13ba7a;this[_0x17ef0f(0x3a2)]=!0x1,this[_0x17ef0f(0x3e8)][_0x17ef0f(0x30a)](_0x6fddbc),this[_0x17ef0f(0x4c1)]=null,this['_contextService'][_0x17ef0f(0x1a1)](_0x10e5f9[_0x17ef0f(0x2f4)],!0x1),this[_0x17ef0f(0x3c5)][_0x17ef0f(0x3f9)](null);}};_0x1bb23d=_0x12f75a([_0x174396(0x0,_0x10e5f9[_0x13ba7a(0x41d)]),_0x174396(0x1,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x187e10[_0x13ba7a(0x546)])),_0x174396(0x2,_0x187e10[_0x13ba7a(0x4b0)]),_0x174396(0x3,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x2f2bb5[_0x13ba7a(0x4d3)])),_0x174396(0x4,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x10e5f9['LocaleService'])),_0x174396(0x5,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x6,_0x15864b[_0x13ba7a(0x4e8)]),_0x174396(0x7,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x189be3[_0x13ba7a(0x53a)])),_0x174396(0x8,_0x10e5f9[_0x13ba7a(0x1c3)]),_0x174396(0x9,_0x3458ba['IRenderManagerService']),_0x174396(0xa,(0x0,_0x10e5f9[_0x13ba7a(0x484)])(_0x17f3c3))],_0x1bb23d);let _0x2fab71=class extends _0x10e5f9[_0x13ba7a(0x361)]{constructor(_0x579f13=_0x26e934,_0x561406,_0x1b3d69,_0x17b5e8,_0x39da24){const _0x1d3c7d=_0x13ba7a;super(),this[_0x1d3c7d(0x20f)]=_0x579f13,this[_0x1d3c7d(0x58c)]=_0x561406,this[_0x1d3c7d(0x558)]=_0x1b3d69,this[_0x1d3c7d(0x1e9)]=_0x17b5e8,this[_0x1d3c7d(0x2e2)]=_0x39da24;let {..._0x4eaaea}=(0x0,_0x10e5f9[_0x1d3c7d(0x445)])({},_0x26e934,this[_0x1d3c7d(0x20f)]);this[_0x1d3c7d(0x1e9)][_0x1d3c7d(0x3b3)](_0x56997c,_0x4eaaea),this[_0x1d3c7d(0x4cb)]();}[_0x13ba7a(0x43b)](){const _0x289584=_0x13ba7a;this['_renderManagerService']['registerRenderModule'](_0x10e5f9['UniverInstanceType'][_0x289584(0x426)],[_0x402c67]),(0x0,_0x10e5f9[_0x289584(0x2d7)])(this[_0x289584(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c]]);}[_0x13ba7a(0x4ec)](){const _0x258cd4=_0x13ba7a;this[_0x258cd4(0x58c)]['get'](_0x1bb23d)['initShapePopupMenu']();}['onReady'](){const _0x27fc87=_0x13ba7a;[[_0x4d5792],[_0x5507d6],[_0x32e137]][_0x27fc87(0x34a)](_0x4db7e5=>this['_injector'][_0x27fc87(0x278)](_0x4db7e5)),(0x0,_0x10e5f9[_0x27fc87(0x2d7)])(this[_0x27fc87(0x58c)],[[_0x32e137],[_0x5507d6]]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x4d5792]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x9f7a3e]),this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x191a85]),this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0xa4311e]),this[_0x27fc87(0x47f)](this[_0x27fc87(0x2e2)][_0x27fc87(0x4b4)](_0x10e5f9[_0x27fc87(0x503)][_0x27fc87(0x450)],[_0x110f72])),this['disposeWithMe'](this['_renderManagerService'][_0x27fc87(0x4b4)](_0x10e5f9['UniverInstanceType'][_0x27fc87(0x450)],[_0x2eec39]));}[_0x13ba7a(0x286)](){const _0x1b875f=_0x13ba7a;this['_injector'][_0x1b875f(0x278)]([_0xd91588]),this['_injector'][_0x1b875f(0x468)](_0xd91588);let _0x47c059=this[_0x1b875f(0x58c)];[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x47c32c],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]][_0x1b875f(0x34a)](_0x475029=>_0x47c059[_0x1b875f(0x278)](_0x475029)),(0x0,_0x10e5f9[_0x1b875f(0x2d7)])(this[_0x1b875f(0x58c)],[[_0x1bb23d],[_0x3fa9e3],[_0x5191eb],[_0x16741e],[_0x17f3c3],[_0x570b9c],[_0x29f473],[_0x7c3790],[_0x1aaf55]]);}[_0x13ba7a(0x4cb)](){const _0x5ba9ef=_0x13ba7a;[_0x313c0d,_0x6c1302,_0x53d33a,_0x47ad5b,_0x3a0e82,_0x34de34,_0x25693e,_0x18da86]['forEach'](_0xb0b245=>this[_0x5ba9ef(0x47f)](this[_0x5ba9ef(0x558)][_0x5ba9ef(0x424)](_0xb0b245)));}};_0x5ae661(_0x2fab71,_0x13ba7a(0x38d),_0x10e5f9[_0x13ba7a(0x503)][_0x13ba7a(0x450)]),_0x5ae661(_0x2fab71,_0x13ba7a(0x3a9),_0x13ba7a(0x49d)),_0x5ae661(_0x2fab71,'packageName',_0x3e9d67),_0x5ae661(_0x2fab71,'version',_0x4f17df),_0x2fab71=_0x12f75a([(0x0,_0x10e5f9[_0x13ba7a(0x4d9)])(_0x53a89d['UniverLicensePlugin'],_0x1ac066[_0x13ba7a(0x577)],_0x15864b[_0x13ba7a(0x273)],_0x2a7f32[_0x13ba7a(0x46e)],_0x3458ba['UniverRenderEnginePlugin'],_0x32abfe[_0x13ba7a(0x401)],_0x31aefd['UniverDocsUIPlugin'],_0x40f1a1['UniverSheetsDrawingPlugin'],_0x1397ca[_0x13ba7a(0x1cd)],_0x3c03b9['UniverSheetsDrawingUIPlugin'],_0x2f2bb5['UniverSheetsShapePlugin'],_0x189be3[_0x13ba7a(0x280)],_0xba932b['UniverShapeEditorUIPlugin']),_0x174396(0x1,(0x0,_0x10e5f9['Inject'])(_0x10e5f9[_0x13ba7a(0x48e)])),_0x174396(0x2,_0x10e5f9[_0x13ba7a(0x297)]),_0x174396(0x3,_0x10e5f9[_0x13ba7a(0x3cd)]),_0x174396(0x4,_0x3458ba['IRenderManagerService'])],_0x2fab71),_0x4a6de9[_0x13ba7a(0x4e3)]=_0x136219,_0x4a6de9[_0x13ba7a(0x2f9)]=_0x713457,Object[_0x13ba7a(0x4d8)](_0x4a6de9,_0x13ba7a(0x23f),{'enumerable':!0x0,'get':function(){return _0x39f9ab;}}),Object[_0x13ba7a(0x4d8)](_0x4a6de9,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x2fab71;}});}));
1
+ function _0x1cfe(_0x55965b,_0x9d727b){_0x55965b=_0x55965b-0xd9;const _0x44257f=_0x4425();let _0x1cfe89=_0x44257f[_0x55965b];return _0x1cfe89;}(function(_0xb95233,_0x9bf9b4){const _0x54b932=_0x1cfe,_0x32fbd0=_0xb95233();while(!![]){try{const _0x2b7e82=-parseInt(_0x54b932(0x15c))/0x1*(parseInt(_0x54b932(0x48d))/0x2)+-parseInt(_0x54b932(0x3b1))/0x3+parseInt(_0x54b932(0x349))/0x4+-parseInt(_0x54b932(0x1f0))/0x5+-parseInt(_0x54b932(0x44e))/0x6*(-parseInt(_0x54b932(0x34d))/0x7)+parseInt(_0x54b932(0x2a2))/0x8*(-parseInt(_0x54b932(0x203))/0x9)+parseInt(_0x54b932(0x272))/0xa;if(_0x2b7e82===_0x9bf9b4)break;else _0x32fbd0['push'](_0x32fbd0['shift']());}catch(_0x303ca6){_0x32fbd0['push'](_0x32fbd0['shift']());}}}(_0x4425,0xdf216),function(_0xe7b300,_0x12e385){const _0x96572b=_0x1cfe;typeof exports=='object'&&typeof module<'u'?_0x12e385(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==_0x96572b(0x24c)&&define['amd']?define([_0x96572b(0x23e),_0x96572b(0x403),_0x96572b(0x20a),_0x96572b(0x357),_0x96572b(0x2eb),'@univerjs-pro/sheets-shape','@univerjs/core',_0x96572b(0x25f),'@univerjs/drawing',_0x96572b(0x238),'@univerjs/sheets-ui',_0x96572b(0x38c),_0x96572b(0x34b),_0x96572b(0x4c5),_0x96572b(0x465),_0x96572b(0x49c),_0x96572b(0x131),_0x96572b(0xe3),_0x96572b(0x436),'@univerjs/sheets-drawing-ui',_0x96572b(0x3e9)],_0x12e385):(_0xe7b300=typeof globalThis<'u'?globalThis:_0xe7b300||self,_0x12e385(_0xe7b300['UniverProSheetsShapeUi']={},_0xe7b300[_0x96572b(0x3cc)],_0xe7b300['UniverUi'],_0xe7b300['UniverProEngineShape'],_0xe7b300[_0x96572b(0x41b)],_0xe7b300[_0x96572b(0x33b)],_0xe7b300[_0x96572b(0x3ee)],_0xe7b300['UniverSheets'],_0xe7b300[_0x96572b(0x15d)],_0xe7b300[_0x96572b(0x418)],_0xe7b300[_0x96572b(0x10b)],_0xe7b300[_0x96572b(0x38c)],_0xe7b300[_0x96572b(0x3c4)],_0xe7b300[_0x96572b(0x3d9)],_0xe7b300['React'],_0xe7b300[_0x96572b(0x12b)],_0xe7b300[_0x96572b(0x358)],_0xe7b300['UniverDocs'],_0xe7b300['UniverDocsUi'],_0xe7b300[_0x96572b(0x134)],_0xe7b300[_0x96572b(0x39c)]));}(this,function(_0x22a054,_0x3ed8c6,_0x416351,_0x24d21b,_0x1b3552,_0x34e612,_0x5cf0ce,_0xdab3fa,_0x2a2438,_0x4413bb,_0x3e532c,_0x4cb228,_0x11fb86,_0x3da0dc,_0x53553e,_0x57dfd6,_0x3d331c,_0x193e85,_0x26442e,_0x22ea8b,_0x41b065){const _0x1a21ce=_0x1cfe;Object[_0x1a21ce(0x401)](_0x22a054,Symbol[_0x1a21ce(0x2f6)],{'value':'Module'});function _0x250954(_0x5f5352,_0x3de62e){const _0x11aa84=_0x1a21ce;let _0x1747d0={};for(let _0x354ea2 of Object[_0x11aa84(0x353)](_0x3de62e)){let _0x2035a6=_0x3de62e[_0x354ea2],_0x1ab8b3=_0x5f5352[_0x354ea2];_0x1747d0[_0x354ea2]=_0x1ab8b3===void 0x0?void 0x0:typeof _0x2035a6==_0x11aa84(0x41c)&&_0x2035a6&&!Array[_0x11aa84(0x24b)](_0x2035a6)&&typeof _0x1ab8b3=='object'&&_0x1ab8b3&&!Array['isArray'](_0x1ab8b3)?_0x250954(_0x1ab8b3,_0x2035a6):_0x1ab8b3;}return _0x1747d0;}let _0x25f5b2={'type':_0x5cf0ce['CommandType']['COMMAND'],'id':'sheet.command.update-shape-data','handler':(_0x909e5d,_0x1d1dc0)=>{const _0x4f3319=_0x1a21ce;let _0x23465b=_0x909e5d[_0x4f3319(0x170)](_0x34e612[_0x4f3319(0x457)]),{unitId:_0x3607f7,subUnitId:_0x4eae4b,shapeType:_0x12fd56,shapeId:_0x41e065,shapeData:_0x11f0b2,replaceShapeData:_0x423bb0,oldShapeJSON:_0x3ef595}=_0x1d1dc0;if(!_0x23465b[_0x4f3319(0x49e)](_0x3607f7,_0x4eae4b,_0x41e065))return!0x1;let _0x190aef=_0x909e5d['get'](_0x5cf0ce['ICommandService']),_0x231454=_0x909e5d[_0x4f3319(0x170)](_0x5cf0ce[_0x4f3319(0x264)]),{oldShapeType:_0x424da3,oldShapeData:_0x494690={}}=_0x3ef595,_0x1ac88f=_0x423bb0?_0x494690:_0x250954(_0x494690,_0x11f0b2||{}),_0x348940={'id':_0x34e612['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x12fd56,'shapeData':_0x11f0b2,'replace':_0x423bb0}},_0x3826bb={'id':_0x34e612[_0x4f3319(0x426)]['id'],'params':{'unitId':_0x3607f7,'subUnitId':_0x4eae4b,'shapeId':_0x41e065,'shapeType':_0x424da3,'shapeData':_0x1ac88f,'replace':_0x423bb0}};return _0x190aef['syncExecuteCommand'](_0x348940['id'],_0x348940[_0x4f3319(0x46d)])?(_0x231454[_0x4f3319(0x42b)]({'unitID':_0x3607f7,'undoMutations':[_0x3826bb],'redoMutations':[_0x348940]}),!0x0):!0x1;}};function _0x12c3ae(_0x5f40d2,_0x28b5a3,_0x14d84b,_0x305766,_0x38f310,_0x380858){const _0x35eb54=_0x1a21ce;let _0x4f95c2={'unitId':_0x28b5a3,'subUnitId':_0x14d84b,'shapeId':_0x305766,'shapeData':_0x380858,'oldShapeJSON':_0x38f310};return _0x5f40d2[_0x35eb54(0x2af)](_0x25f5b2['id'],_0x4f95c2);}function _0xa96cd4(_0x487df1,_0x949a63,_0x4b8197,_0x23113a,_0x316971,_0x2beb42){let _0xd4e549={'unitId':_0x949a63,'subUnitId':_0x4b8197,'shapeId':_0x23113a,'shapeData':_0x2beb42,'oldShapeJSON':_0x316971};return _0x487df1['executeCommand'](_0x25f5b2['id'],_0xd4e549);}function _0x3bb010(_0x3aadcf){'@babel/helpers - typeof';const _0x335c92=_0x1a21ce;return _0x3bb010=typeof Symbol=='function'&&typeof Symbol[_0x335c92(0xe8)]=='symbol'?function(_0x402711){return typeof _0x402711;}:function(_0x56ebe7){const _0x5d891e=_0x335c92;return _0x56ebe7&&typeof Symbol=='function'&&_0x56ebe7['constructor']===Symbol&&_0x56ebe7!==Symbol['prototype']?_0x5d891e(0x117):typeof _0x56ebe7;},_0x3bb010(_0x3aadcf);}function _0x15932a(_0x290f1e,_0x5197dc){const _0x43aa73=_0x1a21ce;if(_0x3bb010(_0x290f1e)!=_0x43aa73(0x41c)||!_0x290f1e)return _0x290f1e;var _0x9a9579=_0x290f1e[Symbol[_0x43aa73(0x25c)]];if(_0x9a9579!==void 0x0){var _0xd4ed1e=_0x9a9579[_0x43aa73(0x2be)](_0x290f1e,_0x5197dc||_0x43aa73(0x1d9));if(_0x3bb010(_0xd4ed1e)!=_0x43aa73(0x41c))return _0xd4ed1e;throw TypeError(_0x43aa73(0x1cd));}return(_0x5197dc===_0x43aa73(0x130)?String:Number)(_0x290f1e);}function _0x272b28(_0x3a6276){const _0x41cfd8=_0x1a21ce;var _0x2084cf=_0x15932a(_0x3a6276,_0x41cfd8(0x130));return _0x3bb010(_0x2084cf)=='symbol'?_0x2084cf:_0x2084cf+'';}function _0x339d5f(_0x1ac4a5,_0x2ff213,_0x4ae3bf){const _0x54ee1f=_0x1a21ce;return(_0x2ff213=_0x272b28(_0x2ff213))in _0x1ac4a5?Object[_0x54ee1f(0x401)](_0x1ac4a5,_0x2ff213,{'value':_0x4ae3bf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ac4a5[_0x2ff213]=_0x4ae3bf,_0x1ac4a5;}function _0x341603(_0x23222a,_0x322e8c,_0x375f15){const _0xc8157f=_0x1a21ce;let _0x89785={..._0x322e8c,'dataModel':{..._0x322e8c['dataModel']??{},..._0x375f15?{'doc':_0x375f15}:null}},_0x4915ba=(0x0,_0x3ed8c6[_0xc8157f(0x1d1)])(_0x23222a,_0x89785),_0x34bdfc=(0x0,_0x3ed8c6[_0xc8157f(0x13e)])(_0x4915ba);return{'clip':(0x0,_0x3ed8c6[_0xc8157f(0x4bf)])(_0x4915ba,_0x34bdfc),'wrapStrategy':_0x34bdfc};}var _0x4d7701=class extends _0x4413bb['Shape']{constructor(_0x11efd7,_0x1acfe7){const _0x4a73e1=_0x1a21ce;super(_0x11efd7,_0x1acfe7),_0x339d5f(this,_0x4a73e1(0x3d4),[]),_0x339d5f(this,_0x4a73e1(0x448),void 0x0),_0x339d5f(this,'_formulaAnimation',new _0x3ed8c6[(_0x4a73e1(0x2b3))](()=>this[_0x4a73e1(0x2a3)](!0x0),()=>this[_0x4a73e1(0x194)]())),_0x339d5f(this,'_transformCalculateSrcRect',!0x0),_0x339d5f(this,_0x4a73e1(0x198),_0x5cf0ce[_0x4a73e1(0x1c1)][_0x4a73e1(0x33f)]),_0x339d5f(this,_0x4a73e1(0x4c2),!0x0),this[_0x4a73e1(0x448)]={..._0x1acfe7},this[_0x4a73e1(0x39a)][_0x4a73e1(0x345)](_0x1acfe7[_0x4a73e1(0x2d8)],_0x1acfe7[_0x4a73e1(0x256)]!==!0x1),this[_0x4a73e1(0x172)](),this[_0x4a73e1(0x194)]();}[_0x1a21ce(0x172)](){const _0x48c3ed=_0x1a21ce;this[_0x48c3ed(0x329)][_0x48c3ed(0x3fc)](_0x162595=>{this['_updateSrcRectByTransform'](_0x162595);});}[_0x1a21ce(0x1d8)](_0x186fd5){const _0x5d27c3=_0x1a21ce;this[_0x5d27c3(0x448)][_0x5d27c3(0x112)]=_0x186fd5;}['resolveHyperLinkAt'](_0x3c39e2){const _0x5d3c72=_0x1a21ce;if(this[_0x5d3c72(0x448)][_0x5d3c72(0x142)])return null;let _0x45ad42=this['getInverseCoord'](_0x3c39e2),{width:_0x4e7e88,height:_0x1277e0}=this[_0x5d3c72(0x148)]();return(0x0,_0x3ed8c6[_0x5d3c72(0x21a)])(this[_0x5d3c72(0x3d4)],{'x':(this['flipX']?-_0x45ad42['x']:_0x45ad42['x'])+_0x4e7e88/0x2,'y':_0x45ad42['y']+_0x1277e0/0x2});}[_0x1a21ce(0x27f)](_0x45751b){const _0x50f8c2=_0x1a21ce;this[_0x50f8c2(0x448)]['isEditing']=_0x45751b,this[_0x50f8c2(0x2a3)](!0x0);}['setFormulaPresentation'](_0x2118ce,_0xf30b1=!0x0){const _0x5cfaa5=_0x1a21ce;this[_0x5cfaa5(0x39a)][_0x5cfaa5(0x345)](_0x2118ce,_0xf30b1),this[_0x5cfaa5(0x448)][_0x5cfaa5(0x2d8)]=_0x2118ce,this[_0x5cfaa5(0x194)](),this[_0x5cfaa5(0x2a3)](!0x0);}[_0x1a21ce(0x194)](){const _0x4008c2=_0x1a21ce;let _0x374f51=this[_0x4008c2(0x448)][_0x4008c2(0x20d)],_0x3585e1=_0x374f51[_0x4008c2(0x22b)](),_0x5abfba=(0x0,_0x3ed8c6[_0x4008c2(0x2f9)])(_0x3585e1==null?void 0x0:_0x3585e1['dataModel']),_0x41e9ea=_0x5abfba==null?void 0x0:_0x5abfba[_0x4008c2(0x3b7)],_0x9de0b=this['_formulaAnimation'][_0x4008c2(0x42f)]();if(!_0x41e9ea||_0x9de0b[_0x4008c2(0x38a)]===0x0)return;_0x374f51[_0x4008c2(0x433)]({'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]});let _0xf09e45=(0x0,_0x3ed8c6[_0x4008c2(0x416)])({'documentData':_0x9de0b[_0x4008c2(0x41e)](_0x253b61=>(0x0,_0x1b3552[_0x4008c2(0x1e7)])(_0x41e9ea,_0x253b61)),'height':this[_0x4008c2(0x31b)],'shapeData':_0x374f51[_0x4008c2(0x1ea)](),'textRect':_0x374f51['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x4008c2(0x36b)],'height':this[_0x4008c2(0x31b)]}),'width':this[_0x4008c2(0x36b)]});if(_0xf09e45){var _0x344112;this['resize'](_0xf09e45[_0x4008c2(0x36b)],_0xf09e45[_0x4008c2(0x31b)]),(_0x344112=this[_0x4008c2(0x38f)]())==null||(_0x344112=_0x344112[_0x4008c2(0x32a)]())==null||_0x344112[_0x4008c2(0x270)]();}}get[_0x1a21ce(0x197)](){const _0xd5efa1=_0x1a21ce;return this[_0xd5efa1(0x448)][_0xd5efa1(0x197)];}get[_0x1a21ce(0x4b3)](){const _0x5d0eb9=_0x1a21ce;return this[_0x5d0eb9(0x448)]['subUnitId'];}[_0x1a21ce(0x22c)](_0x5508f5){const _0x27a6d0=_0x1a21ce;if(this[_0x27a6d0(0x448)][_0x27a6d0(0x166)]==null||!this[_0x27a6d0(0x49b)])return;let {width:_0x12959e,height:_0x5f7930}=this,{width:_0x50f685=0x0,height:_0x2711fb=0x0}=_0x5508f5['preValue'],{left:_0x18a601=0x0,top:_0x3eab17=0x0,right:_0x365939=0x0,bottom:_0x10fc4f=0x0}=this[_0x27a6d0(0x448)][_0x27a6d0(0x166)],_0x2755b5=_0x18a601,_0x4db955=_0x3eab17,_0x2c9c90=_0x365939,_0x1fd20d=_0x10fc4f,_0x2ca850=!0x1;if(_0x50f685!==0x0&&_0x50f685!==_0x12959e){let _0x18a7eb=_0x18a601/_0x50f685,_0xfc1fa2=_0x365939/_0x50f685;_0x2755b5=_0x12959e*_0x18a7eb,_0x2c9c90=_0x12959e*_0xfc1fa2,_0x2ca850=!0x0;}if(_0x2711fb!==0x0&&_0x2711fb!==_0x5f7930){let _0x464cd9=_0x3eab17/_0x2711fb,_0x47b5bf=_0x10fc4f/_0x2711fb;_0x4db955=_0x5f7930*_0x464cd9,_0x1fd20d=_0x5f7930*_0x47b5bf,_0x2ca850=!0x0;}_0x2ca850&&this[_0x27a6d0(0x280)]({'left':_0x2755b5,'top':_0x4db955,'right':_0x2c9c90,'bottom':_0x1fd20d});}[_0x1a21ce(0x280)](_0x13cc39){const _0x5ecdce=_0x1a21ce;this['_props']['srcRect']=_0x13cc39,this[_0x5ecdce(0x2a3)](!0x0);}[_0x1a21ce(0x237)](_0x386de5){this['_props']['image']=_0x386de5,this['makeDirty'](!0x0);}set[_0x1a21ce(0x3a9)](_0x971252){this['_transform']=_0x971252;}get[_0x1a21ce(0x3a9)](){const _0x304035=_0x1a21ce;this[_0x304035(0x484)]||this[_0x304035(0x43d)]();let _0x32b72f=this['_transform']['clone']();return this[_0x304035(0x2ca)](_0x32b72f);}get['shapeModel'](){const _0x274baf=_0x1a21ce;return this['_props'][_0x274baf(0x20d)];}get['shapeId'](){const _0x23dbfa=_0x1a21ce;return this[_0x23dbfa(0x448)][_0x23dbfa(0x1b1)];}get[_0x1a21ce(0x3ed)](){const _0xbcc257=_0x1a21ce;return _0x4413bb[_0xbcc257(0x163)]['SHAPE'];}[_0x1a21ce(0x445)](_0x47ff73,_0x31aebb,_0x2c93b5,_0x4aaf23){const _0x2b0d56=_0x1a21ce;let _0x27b644=this[_0x2b0d56(0x448)][_0x2b0d56(0x20d)];if(!_0x27b644||!_0x31aebb)return;let _0x42ec61=_0x2c93b5??this[_0x2b0d56(0x36b)],_0x24ad31=_0x4aaf23??this[_0x2b0d56(0x31b)],_0x54d2ac={'shapeType':_0x27b644['getShapeType'](),'width':_0x42ec61,'height':_0x24ad31},_0x4b0f11={'renderMode':_0x24d21b[_0x2b0d56(0x1b5)][_0x2b0d56(0x200)],'oKey':this[_0x2b0d56(0x30b)],'image':this['_props'][_0x2b0d56(0x2fc)],'angle':this[_0x2b0d56(0x11e)]};_0x27b644['updateContext'](_0x54d2ac),_0x47ff73[_0x2b0d56(0x2b2)]();let _0x39bf2e={'top':0x0,'left':0x0,'width':_0x42ec61,'height':_0x24ad31},_0x2db481=_0x27b644[_0x2b0d56(0x269)](_0x39bf2e);_0x2db481?this['_renderWithCache'](_0x47ff73,_0x2db481,_0x3d9fa7=>{const _0x260aca=_0x2b0d56;_0x27b644[_0x260aca(0x1ec)](_0x3d9fa7,_0x39bf2e,_0x4b0f11);}):(this[_0x2b0d56(0x2d3)](),_0x27b644[_0x2b0d56(0x1ec)](_0x47ff73,_0x39bf2e,_0x4b0f11)),_0x47ff73[_0x2b0d56(0x361)]();let _0xbe6b43=_0x27b644[_0x2b0d56(0x22b)](),_0x13dd6b=_0x27b644[_0x2b0d56(0x1f4)](_0x39bf2e),_0x74745b=_0x27b644['isLineShape']();if(_0xbe6b43&&_0x13dd6b&&!_0x74745b){_0x47ff73[_0x2b0d56(0x2b2)](),this[_0x2b0d56(0x45f)]()[_0x2b0d56(0x405)]&&_0x47ff73['scale'](-0x1,0x1);let _0x406bd3=_0x42ec61/0x2,_0x441cb0=_0x24ad31/0x2;_0x47ff73[_0x2b0d56(0x19a)](-_0x406bd3,-_0x441cb0),_0x47ff73[_0x2b0d56(0x14d)](),this[_0x2b0d56(0x106)](_0x47ff73,_0xbe6b43,_0x13dd6b),_0x47ff73[_0x2b0d56(0x361)]();}}[_0x1a21ce(0x37c)](_0x4722d1){}[_0x1a21ce(0x106)](_0x1c5993,_0x1ee2cd,_0x2ee02d){const _0x214fbe=_0x1a21ce;var _0x48b7c1;this[_0x214fbe(0x3d4)]=[],!this[_0x214fbe(0x448)][_0x214fbe(0x142)]&&(!((_0x48b7c1=_0x1ee2cd['dataModel'])!=null&&_0x48b7c1['doc'])&&_0x214fbe(0x35e)in _0x1ee2cd&&_0x1ee2cd[_0x214fbe(0x35e)]===!0x1?this[_0x214fbe(0x17b)](_0x1c5993,_0x1ee2cd,_0x2ee02d):this[_0x214fbe(0x421)](_0x1c5993,_0x1ee2cd,_0x2ee02d));}[_0x1a21ce(0x17b)](_0x39f7f4,_0x5ea306,_0x1f1ac7){const _0x4d8539=_0x1a21ce;this['_drawRichText'](_0x39f7f4,{..._0x5ea306,'text':_0x5ea306[_0x4d8539(0x32c)]??'','dataModel':{'doc':(0x0,_0x3ed8c6[_0x4d8539(0x419)])(_0x5ea306,'sheets-shape-text-'+this[_0x4d8539(0x30b)])}},_0x1f1ac7);}['_drawRichText'](_0x3b3f2,_0x36166f,_0x20a9db){const _0x40d57d=_0x1a21ce;(0x0,_0x3ed8c6[_0x40d57d(0x424)])(_0x3b3f2,this[_0x40d57d(0x39a)],(_0x2ff8bd,_0x14eeb6,_0x4a840d)=>{const _0x1e62d6=_0x40d57d;this[_0x1e62d6(0x158)](_0x2ff8bd,_0x36166f,_0x20a9db,_0x14eeb6,_0x4a840d==='current');});}['_drawRichTextLayer'](_0x32e288,_0x2132c4,_0x193a80,_0x3b790a,_0x14affd){const _0x3e54c=_0x1a21ce;let _0x116344=this[_0x3e54c(0x448)]['localeService'];if(!_0x2132c4[_0x3e54c(0x282)]||!_0x116344)return;let _0x2f2914=(0x0,_0x3ed8c6['normalizeShapeTextModel'])(_0x2132c4[_0x3e54c(0x282)]);if(!_0x2f2914)return;let _0x3f0a43=_0x2f2914['doc'];if(!_0x3f0a43)return;let _0x1a6372=(0x0,_0x1b3552[_0x3e54c(0x1e7)])(_0x3f0a43,_0x3b790a),_0x490089=_0x2f2914['va']??_0x5cf0ce[_0x3e54c(0x393)][_0x3e54c(0x3f7)],_0x3af9f2=_0x2f2914['ha']??_0x5cf0ce[_0x3e54c(0x41a)][_0x3e54c(0x2f2)],_0x2d2664=_0x341603(this['_props'][_0x3e54c(0x20d)][_0x3e54c(0x1ea)](),_0x2132c4,_0x1a6372),_0x654419=_0x2132c4[_0x3e54c(0x441)],_0x5af92b=(0x0,_0x3ed8c6[_0x3e54c(0x2b7)])(_0x1a6372,{'isHorizontal':_0x654419!==!0x1,'textRect':_0x193a80,'verticalAlign':_0x490089,'horizontalAlign':_0x3af9f2,'wrapStrategy':_0x2d2664[_0x3e54c(0x1c9)]}),_0x27dde9=new _0x5cf0ce['DocumentDataModel'](_0x5af92b),_0x37fc7e=new _0x4413bb[(_0x3e54c(0x2b4))](_0x27dde9),_0x39e686=_0x4413bb[_0x3e54c(0x402)][_0x3e54c(0x331)](_0x37fc7e,_0x116344);_0x39e686[_0x3e54c(0x2ff)]();let _0x435415=_0x39e686[_0x3e54c(0x279)]()[_0x3e54c(0x206)],_0x25c2a3=(0x0,_0x3ed8c6[_0x3e54c(0x4be)])({'contentHeight':_0x435415,'verticalAlign':_0x490089,'viewportHeight':_0x193a80[_0x3e54c(0x31b)]});_0x27dde9[_0x3e54c(0x1d6)]({'pageSize':{'width':_0x654419===!0x1?_0x193a80[_0x3e54c(0x31b)]:_0x193a80[_0x3e54c(0x36b)],'height':(0x0,_0x3ed8c6[_0x3e54c(0x295)])(_0x1a6372,_0x25c2a3['contentHeight'])}}),_0x27dde9[_0x3e54c(0x3de)]({'t':_0x25c2a3['marginTop']}),_0x39e686[_0x3e54c(0x2ff)]();let _0x48d695=new _0x4413bb[(_0x3e54c(0x1a7))]('shape-text-'+this['oKey'],_0x39e686,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x48d695['resize'](_0x193a80[_0x3e54c(0x36b)],_0x25c2a3['contentHeight']),_0x32e288[_0x3e54c(0x2b2)](),_0x32e288[_0x3e54c(0x1dd)](_0x193a80[_0x3e54c(0x192)],_0x193a80[_0x3e54c(0x33a)]),_0x2d2664[_0x3e54c(0x111)]&&(_0x32e288[_0x3e54c(0x14d)](),_0x32e288['rect'](0x0,_0x25c2a3[_0x3e54c(0x178)],_0x193a80[_0x3e54c(0x36b)],_0x25c2a3[_0x3e54c(0x321)]),_0x32e288[_0x3e54c(0x111)]()),_0x25c2a3['contentVerticalOffset']&&_0x32e288[_0x3e54c(0x1dd)](0x0,_0x25c2a3[_0x3e54c(0x3f1)]),_0x48d695[_0x3e54c(0x3b3)](_0x32e288),_0x14affd&&(this[_0x3e54c(0x3d4)]=(0x0,_0x3ed8c6[_0x3e54c(0x285)])(_0x48d695,{'left':_0x193a80[_0x3e54c(0x192)],'top':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x3f1)]},_0x2d2664[_0x3e54c(0x111)]?{'left':_0x193a80[_0x3e54c(0x192)],'right':_0x193a80['left']+_0x193a80[_0x3e54c(0x36b)],'top':_0x193a80['top']+_0x25c2a3['clipTop'],'bottom':_0x193a80[_0x3e54c(0x33a)]+_0x25c2a3[_0x3e54c(0x178)]+_0x25c2a3['clipHeight']}:void 0x0)),_0x32e288[_0x3e54c(0x361)](),_0x48d695[_0x3e54c(0x351)](),_0x39e686[_0x3e54c(0x351)](),_0x37fc7e[_0x3e54c(0x351)](),_0x27dde9[_0x3e54c(0x351)]();}[_0x1a21ce(0x1ec)](_0x45040f,_0x2cbda7,_0x1dec9e=!0x1){const _0x497cd0=_0x1a21ce;if(!this[_0x497cd0(0x241)])return this['makeDirty'](!0x1),this;let {width:_0x38c85b,height:_0x53c049,left:_0x2d5f1c,top:_0x526a26}=this,_0x276d02=this[_0x497cd0(0x148)]();if(_0x38c85b=_0x276d02[_0x497cd0(0x36b)],_0x53c049=_0x276d02[_0x497cd0(0x31b)],_0x2d5f1c=_0x276d02[_0x497cd0(0x192)],_0x526a26=_0x276d02[_0x497cd0(0x33a)],this[_0x497cd0(0x278)](_0x2cbda7)){let {top:_0x5d22d2,left:_0x879b55,bottom:_0x1b6803,right:_0x1a6563}=_0x2cbda7['viewBound'];if(_0x38c85b+this[_0x497cd0(0xef)]+_0x2d5f1c<_0x879b55||_0x1a6563<_0x2d5f1c||_0x53c049+this[_0x497cd0(0xef)]+_0x526a26<_0x5d22d2||_0x1b6803<_0x526a26)return this;}let _0x2ac3a4=_0x2d5f1c+_0x38c85b/0x2,_0x46af73=_0x526a26+_0x53c049/0x2,_0x5363b2=this[_0x497cd0(0x3a9)][_0x497cd0(0x3fb)]();if(this[_0x497cd0(0x448)]['isEditing']){let _0x48c42b=this['getState'](),_0xe68477=new _0x4413bb['Transform']();_0xe68477[_0x497cd0(0x469)]({..._0x48c42b}),_0x5363b2=_0xe68477[_0x497cd0(0x3fb)]();}return _0x45040f[_0x497cd0(0x2b2)](),this['_props'][_0x497cd0(0x20d)][_0x497cd0(0x4c3)]===!0x0||_0x45040f[_0x497cd0(0x3a9)](_0x5363b2[0x0],_0x5363b2[0x1],_0x5363b2[0x2],_0x5363b2[0x3],_0x2ac3a4,_0x46af73),this[_0x497cd0(0x445)](_0x45040f,_0x2cbda7,_0x38c85b,_0x53c049),_0x45040f['restore'](),this[_0x497cd0(0x2a3)](!0x1),this;}['getInverseCoord'](_0x5457ee){const _0x3c82b8=_0x1a21ce;let {left:_0x4b2038,top:_0x3c7859,width:_0x48e267,height:_0x1d96ba}=this['getRealBound'](),_0x5758bc=this['transform'][_0x3c82b8(0x3fb)](),_0xaae8ed=_0x4b2038+_0x48e267/0x2,_0x2e45b2=_0x3c7859+_0x1d96ba/0x2,_0x5ce6ca=new _0x4413bb[(_0x3c82b8(0x492))]([_0x5758bc[0x0],_0x5758bc[0x1],_0x5758bc[0x2],_0x5758bc[0x3],_0xaae8ed,_0x2e45b2]),_0x8c3cc=this[_0x3c82b8(0x1cb)]();return(this['isInGroup']&&(_0x8c3cc==null?void 0x0:_0x8c3cc[_0x3c82b8(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x3c82b8(0x42d)]?_0x8c3cc[_0x3c82b8(0x4c8)]['multiply'](_0x5ce6ca):_0x5ce6ca)['invert']()[_0x3c82b8(0x292)](_0x5457ee);}['isHit'](_0x466008){const _0x197f00=_0x1a21ce;let {left:_0x3b7eb1,top:_0x1ab0e0,width:_0xa2fe8b,height:_0x320fa2}=this[_0x197f00(0x148)](),_0x2d4f8d=_0x3b7eb1+_0xa2fe8b/0x2,_0x54cde1=_0x1ab0e0+_0x320fa2/0x2,_0x1882b8=this[_0x197f00(0x3a9)][_0x197f00(0x3fb)](),_0x459057=new _0x4413bb['Transform']([_0x1882b8[0x0],_0x1882b8[0x1],_0x1882b8[0x2],_0x1882b8[0x3],_0x2d4f8d,_0x54cde1]),_0x4328d1=this[_0x197f00(0x1cb)](),_0x1730b2=(this[_0x197f00(0x3eb)]&&(_0x4328d1==null?void 0x0:_0x4328d1[_0x197f00(0x3ed)])===_0x4413bb['RENDER_CLASS_TYPE'][_0x197f00(0x42d)]?_0x4328d1['ancestorTransform']['multiply'](_0x459057):_0x459057)[_0x197f00(0x41d)]()[_0x197f00(0x292)](_0x466008),_0x485b62=_0xa2fe8b/0x2,_0x41aa30=_0x320fa2/0x2,_0x2eee16=this['_props'][_0x197f00(0x20d)];return _0x2eee16&&_0x2eee16[_0x197f00(0x108)]()?_0x2eee16['isHitLine'](_0x1730b2['x'],_0x1730b2['y'],_0xa2fe8b,_0x320fa2):_0x1730b2['x']>=-_0x485b62-this['strokeWidth']/0x2&&_0x1730b2['x']<=_0x485b62+this['strokeWidth']/0x2&&_0x1730b2['y']>=-_0x41aa30-this['strokeWidth']/0x2&&_0x1730b2['y']<=_0x41aa30+this[_0x197f00(0xef)]/0x2;}[_0x1a21ce(0x351)](){const _0xb91148=_0x1a21ce;this[_0xb91148(0x39a)][_0xb91148(0x351)](),this[_0xb91148(0x448)]['shapeModel']=null,super[_0xb91148(0x351)]();}},_0x4b14c3=class extends _0x4413bb['Shape']{constructor(_0x3a0d6c,_0x1569cb){const _0x17e5ed=_0x1a21ce;super(_0x3a0d6c,_0x1569cb),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,_0x17e5ed(0x306),null),_0x339d5f(this,_0x17e5ed(0x29c),null),_0x339d5f(this,'_subUnitId',null),_0x1569cb&&this[_0x17e5ed(0x4b8)](_0x1569cb);}[_0x1a21ce(0x1a8)](){const _0x4cd1ff=_0x1a21ce;return{'unitId':this[_0x4cd1ff(0x29c)],'subUnitId':this[_0x4cd1ff(0x251)],'drawingId':this[_0x4cd1ff(0x2f8)]};}[_0x1a21ce(0x4b8)](_0x14021b){const _0x1cde2d=_0x1a21ce;_0x14021b[_0x1cde2d(0x1b1)]!==void 0x0&&(this[_0x1cde2d(0x2f8)]=_0x14021b[_0x1cde2d(0x1b1)]),_0x14021b[_0x1cde2d(0xe9)]!==void 0x0&&(this[_0x1cde2d(0x306)]=_0x14021b[_0x1cde2d(0xe9)]),_0x14021b['unitId']!==void 0x0&&(this[_0x1cde2d(0x29c)]=_0x14021b[_0x1cde2d(0x197)]),_0x14021b['subUnitId']!==void 0x0&&(this[_0x1cde2d(0x251)]=_0x14021b['subUnitId']),this[_0x1cde2d(0x4bb)]({'width':_0x14021b[_0x1cde2d(0x36b)],'height':_0x14021b[_0x1cde2d(0x31b)]});}[_0x1a21ce(0x445)](_0x554194){const _0x41b840=_0x1a21ce;_0x4413bb['Circle'][_0x41b840(0x3c9)](_0x554194,{'radius':_0x24d21b['ShapeDefaultConfig'][_0x41b840(0x3e6)],'fill':_0x24d21b[_0x41b840(0x1a9)]['adjHandleFill'],'stroke':_0x24d21b[_0x41b840(0x1a9)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x4512b4(_0x59279e,_0x1b643c){return function(_0x564061,_0x3df8b4){_0x1b643c(_0x564061,_0x3df8b4,_0x59279e);};}function _0x3f6514(_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82){const _0x1534f3=_0x1a21ce;var _0x4eb7f7=arguments['length'],_0x7fcae3=_0x4eb7f7<0x3?_0x41d469:_0x17dc82===null?_0x17dc82=Object[_0x1534f3(0x31f)](_0x41d469,_0x386b4a):_0x17dc82,_0x5aa39c;if(typeof Reflect=='object'&&typeof Reflect[_0x1534f3(0x387)]==_0x1534f3(0x24c))_0x7fcae3=Reflect[_0x1534f3(0x387)](_0x6f858a,_0x41d469,_0x386b4a,_0x17dc82);else{for(var _0x272f12=_0x6f858a[_0x1534f3(0x38a)]-0x1;_0x272f12>=0x0;_0x272f12--)(_0x5aa39c=_0x6f858a[_0x272f12])&&(_0x7fcae3=(_0x4eb7f7<0x3?_0x5aa39c(_0x7fcae3):_0x4eb7f7>0x3?_0x5aa39c(_0x41d469,_0x386b4a,_0x7fcae3):_0x5aa39c(_0x41d469,_0x386b4a))||_0x7fcae3);}return _0x4eb7f7>0x3&&_0x7fcae3&&Object[_0x1534f3(0x401)](_0x41d469,_0x386b4a,_0x7fcae3),_0x7fcae3;}let _0x251705=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x13b808,_0x2df0b4,_0x57b077,_0x5ba3ac,_0x16c42c,_0x42d43d){const _0x180932=_0x1a21ce;super(),this['_drawingManagerService']=_0x13b808,this[_0x180932(0x23a)]=_0x2df0b4,this[_0x180932(0x438)]=_0x57b077,this[_0x180932(0x1d4)]=_0x5ba3ac,this[_0x180932(0x377)]=_0x16c42c,this[_0x180932(0x29b)]=_0x42d43d,_0x339d5f(this,'_formulaShapes',new Map()),this[_0x180932(0x4c4)](this[_0x180932(0x29b)]['presentationChanged$'][_0x180932(0x3e7)](_0x3cf56e=>{const _0x2ee7c6=_0x180932;var _0x578368;(_0x578368=this[_0x2ee7c6(0x422)][_0x2ee7c6(0x170)](this[_0x2ee7c6(0x337)](_0x3cf56e['unitId'],_0x3cf56e[_0x2ee7c6(0x4b3)],_0x3cf56e[_0x2ee7c6(0x1b1)])))==null||_0x578368[_0x2ee7c6(0x123)](_0x4e56d3=>_0x4e56d3[_0x2ee7c6(0x301)](_0x3cf56e[_0x2ee7c6(0x4ad)],_0x3cf56e[_0x2ee7c6(0x165)]));})),this[_0x180932(0x4c4)](this['_drawingManagerService'][_0x180932(0x44c)][_0x180932(0x3e7)](_0x4ee244=>{const _0x5fcbe=_0x180932;_0x4ee244[_0x5fcbe(0x123)](_0xd3ecc1=>{const _0xf3fefe=_0x5fcbe;this[_0xf3fefe(0x29b)][_0xf3fefe(0x1e1)]({'unitId':_0xd3ecc1[_0xf3fefe(0x197)],'subUnitId':_0xd3ecc1['subUnitId'],'shapeId':_0xd3ecc1[_0xf3fefe(0x1f5)]}),this[_0xf3fefe(0x422)][_0xf3fefe(0x1ef)](this[_0xf3fefe(0x337)](_0xd3ecc1['unitId'],_0xd3ecc1['subUnitId'],_0xd3ecc1[_0xf3fefe(0x1f5)]));});}));}[_0x1a21ce(0x1d5)](_0x344607,_0x1ebbaf,_0x122945){const _0x22b56a=_0x1a21ce;let {transform:_0x28b40a,drawingType:_0xea57ed,srcRect:_0x2da737,prstGeom:_0x3234be,groupId:_0x20309f,unitId:_0x1594f5,subUnitId:_0x3792f4,drawingId:_0xc3efb6,isMultiTransform:_0x1f3adb,transforms:_0x59212d,hidden:_0x390d33,selectable:_0x4aab85}=_0x344607;if(_0xea57ed!==_0x5cf0ce[_0x22b56a(0x1c1)][_0x22b56a(0x33f)]||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]()||_0x28b40a==null)return;let _0x51cc67=this[_0x22b56a(0x383)][_0x22b56a(0x464)](),_0x3d6985=_0x1f3adb&&_0x59212d?_0x59212d:[_0x28b40a],_0x138612=[];for(let _0x2f53d1 of _0x3d6985){let {left:_0x236e03,top:_0x43c7ee,width:_0x4d2bdc,height:_0x2d609a,angle:_0x2b4a95,flipX:_0x254849,flipY:_0x43744c,skewX:_0x584858,skewY:_0x4a1734}=_0x2f53d1,_0x225c1f=_0x3d6985[_0x22b56a(0x334)](_0x2f53d1),_0x2d725f=(0x0,_0x2a2438[_0x22b56a(0x414)])({'unitId':_0x1594f5,'subUnitId':_0x3792f4,'drawingId':_0xc3efb6},_0x1f3adb?_0x225c1f:void 0x0),_0x2d7624=_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f);if(_0x2d7624!=null){let _0x5d4c65={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x2d7624 instanceof _0x4d7701&&this[_0x22b56a(0x265)](_0x2d7624,_0x5d4c65),_0x2d7624[_0x22b56a(0x4bb)]({'left':_0x236e03,'top':_0x43c7ee,'width':_0x4d2bdc,'height':_0x2d609a,'angle':_0x2b4a95,'flipX':_0x254849,'flipY':_0x43744c,'skewX':_0x584858,'skewY':_0x4a1734});continue;}let _0x216dc8=this['_drawingManagerService'][_0x22b56a(0x289)](_0x1594f5,_0x3792f4),_0x17a329=_0x216dc8[_0x22b56a(0x334)](_0xc3efb6);if(_0x1ebbaf[_0x22b56a(0x26e)](_0x2d725f)||!this[_0x22b56a(0x383)][_0x22b56a(0xf5)]())continue;let _0x43c796=this['_sheetsShapeService'][_0x22b56a(0x49e)](_0x1594f5,_0x3792f4,_0xc3efb6);if(!_0x43c796)continue;let _0x35fbea=(0x0,_0x24d21b['isConnectorShape'])(_0x43c796[_0x22b56a(0x1e0)]())?{..._0x3ed8c6[_0x22b56a(0x3cf)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x3ed8c6['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x5a0be8=_0x43c796[_0x22b56a(0x1ea)]()[_0x22b56a(0x126)],_0x303af3={'unitId':_0x1594f5,'subUnitId':_0x3792f4,'shapeId':_0xc3efb6};_0x5a0be8&&this[_0x22b56a(0x29b)][_0x22b56a(0x3b8)](_0x303af3,_0x5a0be8);let _0x45d7a4=new _0x4d7701(_0x2d725f,{..._0x2f53d1,'zIndex':_0x17a329===-0x1?_0x216dc8['length']-0x1:_0x17a329,'shapeModel':_0x43c796,'localeService':this[_0x22b56a(0x438)],'shapeId':_0xc3efb6,'unitId':_0x1594f5,'subUnitId':_0x3792f4,'visible':_0x390d33!==!0x0,'evented':_0x4aab85!==!0x1,'formulaPresentation':_0x5a0be8?this[_0x22b56a(0x29b)][_0x22b56a(0x271)](_0x303af3):void 0x0,'animateFormulaPresentation':(_0x5a0be8==null?void 0x0:_0x5a0be8['animationEnabled'])!==!0x1,'transformerConfig':_0x35fbea});if(_0x5a0be8){let _0x3d38ad=this['_formulaKey'](_0x1594f5,_0x3792f4,_0xc3efb6),_0x408530=this['_formulaShapes'][_0x22b56a(0x170)](_0x3d38ad)??new Set();_0x408530[_0x22b56a(0x36d)](_0x45d7a4),this[_0x22b56a(0x422)]['set'](_0x3d38ad,_0x408530);}_0x1ebbaf[_0x22b56a(0x141)](_0x45d7a4,_0x4413bb[_0x22b56a(0x1ab)]),_0x51cc67&&_0x1ebbaf[_0x22b56a(0x335)](_0x45d7a4),_0x20309f&&(0x0,_0x11fb86[_0x22b56a(0x19e)])({'drawingId':_0x20309f,'unitId':_0x1594f5,'subUnitId':_0x3792f4},_0x45d7a4,_0x1ebbaf,this[_0x22b56a(0x383)]),_0x3234be!=null&&_0x45d7a4[_0x22b56a(0x1d8)](_0x3234be),_0x2da737!=null&&_0x45d7a4[_0x22b56a(0x280)](_0x2da737);let _0x6662c8=this[_0x22b56a(0x341)](_0x45d7a4,_0x43c796[_0x22b56a(0x1ea)]());if(_0x6662c8){var _0x131520;_0x122945==null||(_0x131520=_0x122945['resourceCollector'])==null||_0x131520[_0x22b56a(0x36d)](_0x6662c8);}_0x138612[_0x22b56a(0x109)](_0x45d7a4);}return _0x138612;}[_0x1a21ce(0x337)](_0x439829,_0x5525b8,_0x5cc1cd){return _0x439829+'\x00'+_0x5525b8+'\x00'+_0x5cc1cd;}['refreshFormulaPresentation'](_0xac4a0,_0x4405a0){const _0x2be154=_0x1a21ce;let _0x4c6bdb=this[_0x2be154(0x23a)][_0x2be154(0x49e)](_0x4405a0[_0x2be154(0x197)],_0x4405a0['subUnitId'],_0x4405a0['shapeId']),_0x1d2893=_0x4c6bdb==null?void 0x0:_0x4c6bdb[_0x2be154(0x1ea)]()[_0x2be154(0x126)],_0x5749d0=this['_formulaKey'](_0x4405a0[_0x2be154(0x197)],_0x4405a0[_0x2be154(0x4b3)],_0x4405a0[_0x2be154(0x1b1)]);if(_0x1d2893){this[_0x2be154(0x29b)][_0x2be154(0x3b8)](_0x4405a0,_0x1d2893);let _0x1ef280=this['_formulaShapes'][_0x2be154(0x170)](_0x5749d0)??new Set();_0x1ef280[_0x2be154(0x36d)](_0xac4a0),this[_0x2be154(0x422)][_0x2be154(0x153)](_0x5749d0,_0x1ef280);}else{var _0x2ff049;this[_0x2be154(0x29b)]['unregister'](_0x4405a0),(_0x2ff049=this[_0x2be154(0x422)][_0x2be154(0x170)](_0x5749d0))==null||_0x2ff049[_0x2be154(0x1ef)](_0xac4a0);}_0xac4a0[_0x2be154(0x301)](_0x1d2893?this[_0x2be154(0x29b)][_0x2be154(0x271)](_0x4405a0):void 0x0,(_0x1d2893==null?void 0x0:_0x1d2893[_0x2be154(0x165)])!==!0x1);}[_0x1a21ce(0x3fd)](_0x56b096){const _0x27928b=_0x1a21ce;let _0x24415c=_0x56b096[_0x27928b(0x20d)]['getShapeData'](),_0x5610b0=_0x24415c[_0x27928b(0x4ae)];!_0x5610b0||_0x5610b0[_0x27928b(0x18d)]!==_0x24d21b[_0x27928b(0x4b4)]['PictureFill']||!_0x5610b0[_0x27928b(0x207)]?_0x56b096[_0x27928b(0x237)](void 0x0):this[_0x27928b(0x341)](_0x56b096,_0x24415c);}[_0x1a21ce(0x341)](_0x49962b,_0x4ee4ae){const _0x16c434=_0x1a21ce;let _0x30be5c=_0x4ee4ae[_0x16c434(0x4ae)];if(!_0x30be5c||_0x30be5c[_0x16c434(0x18d)]!==_0x24d21b['ShapeFillEnum'][_0x16c434(0x1df)]||!_0x30be5c['fillImageSource'])return;let _0x18f36b=_0x30be5c[_0x16c434(0x207)],_0x49ccb9=_0x30be5c['fillImageSourceType']??_0x24d21b[_0x16c434(0x297)][_0x16c434(0x35d)],_0x358fcc=this[_0x16c434(0x1d4)][_0x16c434(0x352)](_0x18f36b,_0x49ccb9);if(_0x358fcc)_0x49962b['setFillImage'](_0x358fcc);else return this[_0x16c434(0x2fd)](_0x49962b,_0x18f36b,_0x49ccb9);}async[_0x1a21ce(0x2fd)](_0x188093,_0x22e823,_0x116bff){const _0x2889bd=_0x1a21ce;let _0x2e0883;try{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)]['UUID'])_0x2e0883=await this['_imageIoService']['getImage'](_0x22e823);else{if(_0x116bff===_0x24d21b[_0x2889bd(0x297)][_0x2889bd(0x35d)])try{_0x2e0883=await this[_0x2889bd(0x377)][_0x2889bd(0x189)](_0x22e823);}catch{_0x2e0883=_0x22e823;}else _0x2e0883=_0x22e823;}}catch(_0x11b36a){console['error'](_0x2889bd(0xdd),_0x11b36a);return;}await new Promise(_0x362d82=>{const _0x1b3802=_0x2889bd;let _0x567c85=new window[(_0x1b3802(0x453))]();_0x567c85[_0x1b3802(0x4a8)]=()=>{const _0x2eeca7=_0x1b3802;this['_imageIoService'][_0x2eeca7(0x1be)](_0x22e823,_0x116bff,_0x567c85),_0x188093[_0x2eeca7(0x237)](_0x567c85),_0x362d82();},_0x567c85['onerror']=()=>{const _0x175674=_0x1b3802;console[_0x175674(0x3be)](_0x175674(0x1dc),_0x22e823),_0x362d82();},_0x567c85[_0x1b3802(0x4a7)]=_0x2e0883;});}};_0x251705=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x218)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2c9)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1b3552[_0x1a21ce(0x240)]))],_0x251705);let _0x5f5333=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x2ffe3d,_0x27bf26,_0x3cf6df,_0xe89659,_0x71486,_0x39f379){const _0xe062dd=_0x1a21ce;super(),this[_0xe062dd(0x383)]=_0x2ffe3d,this[_0xe062dd(0x23a)]=_0x27bf26,this[_0xe062dd(0x411)]=_0x3cf6df,this[_0xe062dd(0x188)]=_0xe89659,this[_0xe062dd(0x2d5)]=_0x71486,this[_0xe062dd(0x378)]=_0x39f379,_0x339d5f(this,_0xe062dd(0x376),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0xe062dd(0x251),null),_0x339d5f(this,_0xe062dd(0x1ce),void 0x0),_0x339d5f(this,_0xe062dd(0x287),[]),_0x339d5f(this,'_baseShapeLeft',0x0),_0x339d5f(this,_0xe062dd(0x274),0x0),_0x339d5f(this,_0xe062dd(0x423),0x0),_0x339d5f(this,'_baseShapeHeight',0x0),_0x339d5f(this,_0xe062dd(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,_0xe062dd(0xf3),void 0x0),_0x339d5f(this,'_adjHandlerPointerMove',void 0x0),_0x339d5f(this,'_adjHandlerPointerUp',void 0x0),_0x339d5f(this,_0xe062dd(0x1b8),!0x1),this[_0xe062dd(0x447)](),this[_0xe062dd(0x293)]();}['_getShapeAdjustPointListById'](_0x48e669,_0x579c67,_0x2a39ac){const _0x3f1da7=_0x1a21ce;let _0x1b18f2=this[_0x3f1da7(0x23a)]['getShapeModel'](_0x48e669,_0x579c67,_0x2a39ac);if(_0x1b18f2)return _0x1b18f2['getDrawingPoints']();}[_0x1a21ce(0x4af)](){const _0x2a5a7c=_0x1a21ce;this[_0x2a5a7c(0x38d)]();}[_0x1a21ce(0x164)](){const _0xbad4d4=_0x1a21ce;this[_0xbad4d4(0x36f)](!0x0);}[_0x1a21ce(0x2e5)](_0x122355){const _0x5133fd=_0x1a21ce;this[_0x5133fd(0x1b8)]=_0x122355;}[_0x1a21ce(0x489)](_0x1fb246,_0x586a93,_0x162ec2,_0x401c14){const _0x525fd0=_0x1a21ce;let _0x2f8fc2=this['_sheetsShapeService']['getShapeModel'](_0x1fb246,_0x586a93,_0x162ec2);if(_0x2f8fc2)return _0x2f8fc2[_0x525fd0(0x3f2)](_0x401c14);}[_0x1a21ce(0x3d6)](_0x18fe9c=!0x1){const _0xd4d876=_0x1a21ce;if(this['_unitId']===null||this['_subUnitId']===null||this[_0xd4d876(0x376)]===null)return;let _0x2d7347=this[_0xd4d876(0x411)]['getRenderUnitById'](this['_unitId']);if(!_0x2d7347||!_0x2d7347[_0xd4d876(0x18b)](_0x3e532c['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x5a41ed}=_0x2d7347,_0x2ac476={'unitId':this[_0xd4d876(0x29c)],'subUnitId':this[_0xd4d876(0x251)],'drawingId':this['_activeShapeId']},_0x1484a9=this['_drawingManagerService']['getDrawingByParam'](_0x2ac476),{transform:_0x514541}=_0x1484a9;if(!_0x514541||_0x1484a9['drawingType']!==_0x5cf0ce[_0xd4d876(0x1c1)][_0xd4d876(0x33f)])return;let {left:_0x49c2a4,top:_0x436f3d,width:_0x348e23,height:_0x5c13a5,flipX:_0x357d93,flipY:_0x1ff923,angle:_0x50f77b=0x0}=_0x514541;if(_0x49c2a4===void 0x0||_0x436f3d===void 0x0)return;if(_0x18fe9c){let _0x9ed65e=this['_sheetsShapeService'][_0xd4d876(0x49e)](this['_unitId'],this['_subUnitId'],this['_activeShapeId']);_0x9ed65e==null||_0x9ed65e['updateContext']({'width':_0x348e23??0x0,'height':_0x5c13a5??0x0}),this[_0xd4d876(0x1ce)]=_0x9ed65e==null?void 0x0:_0x9ed65e[_0xd4d876(0x37c)]();}let _0x3f8ee3=this[_0xd4d876(0x1ce)];for(let _0x1a0963=0x0;_0x1a0963<_0x3f8ee3[_0xd4d876(0x38a)];_0x1a0963++){let _0x5f413d=_0x3f8ee3[_0x1a0963],_0x2d0ab7=_0x5f413d['x'],_0x4a22b1=_0x5f413d['y'];if(_0x357d93&&(_0x2d0ab7=(_0x348e23||0x0)-_0x2d0ab7),_0x1ff923&&(_0x4a22b1=(_0x5c13a5||0x0)-_0x4a22b1),_0x50f77b!==0x0){let _0x23c2de=(_0x348e23||0x0)/0x2,_0x10fa5c=(_0x5c13a5||0x0)/0x2,_0xc6a51a=_0x50f77b*Math['PI']/0xb4,_0x3da7b4=Math[_0xd4d876(0x127)](_0xc6a51a),_0x168993=Math[_0xd4d876(0x1bc)](_0xc6a51a),_0x17031f=_0x2d0ab7-_0x23c2de,_0x531920=_0x4a22b1-_0x10fa5c;_0x2d0ab7=_0x23c2de+(_0x17031f*_0x3da7b4-_0x531920*_0x168993),_0x4a22b1=_0x10fa5c+(_0x17031f*_0x168993+_0x531920*_0x3da7b4);}let _0xde5b64={'x':_0x2d0ab7,'y':_0x4a22b1,'adjName':_0x5f413d[_0xd4d876(0xe9)]};this['_addShapeAdjustControl'](_0x5a41ed,_0xde5b64,_0xde5b64['adjName'],_0x49c2a4,_0x436f3d,this[_0xd4d876(0x29c)],this[_0xd4d876(0x251)]);}}[_0x1a21ce(0x36f)](_0x51c876=!0x1){_0x51c876&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x51c876));}['_addShapeAdjustControl'](_0x1024f9,_0x57da19,_0x391624,_0x381788,_0x45721a,_0x3bb304,_0x188602){const _0x420b55=_0x1a21ce;if(!this['_activeShapeId'])return;let _0x2a1916=_0x1024f9[_0x420b55(0x26e)](_0x420b55(0x254)+this[_0x420b55(0x376)]+'-'+_0x391624);if(_0x2a1916){_0x2a1916[_0x420b55(0x4bb)]({'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x4e30dd={'left':_0x57da19['x']+_0x381788-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'top':_0x57da19['y']+_0x45721a-_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)],'adjName':_0x391624,'shapeId':this[_0x420b55(0x376)],'unitId':_0x3bb304,'subUnitId':_0x188602,'width':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'height':_0x24d21b[_0x420b55(0x1a9)][_0x420b55(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x420b55(0x1ab)]+0x1,'evented':!0x0},_0x2222f7=new _0x4b14c3('shape-adjust-point-'+this[_0x420b55(0x376)]+'-'+_0x391624,_0x4e30dd);this[_0x420b55(0x287)][_0x420b55(0x109)](_0x2222f7),this[_0x420b55(0x247)](_0x2222f7,_0x1024f9,_0x391624),_0x1024f9['addObject'](_0x2222f7,_0x4413bb[_0x420b55(0x1ab)]+0x1);}[_0x1a21ce(0x38d)](){const _0xd04ac6=_0x1a21ce;this[_0xd04ac6(0x287)][_0xd04ac6(0x38a)]!==0x0&&(this['_shapes'][_0xd04ac6(0x123)](_0x37754c=>{const _0x4ed70b=_0xd04ac6;_0x37754c[_0x4ed70b(0x351)]();}),this[_0xd04ac6(0x287)]=[]);}[_0x1a21ce(0x3f4)](){this['_createShapeAdjustControls']();}[_0x1a21ce(0x39b)](_0x1ea425,_0x156ad2){const _0xd4aeca=_0x1a21ce;var _0x2b77d1;let _0x4ea0ac={'x':0x0,'y':0x0};if(!_0x1ea425||!_0x156ad2)return _0x4ea0ac;let _0x4465d7=this[_0xd4aeca(0x411)][_0xd4aeca(0x3ce)](_0x1ea425);if(!_0x4465d7||!_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0xd4aeca(0x1c6)](_0x156ad2))return _0x4ea0ac;let _0x114f83=_0x4465d7[_0xd4aeca(0x18b)](_0x3e532c[_0xd4aeca(0x47c)]),_0x13e8e9=_0x114f83==null?void 0x0:_0x114f83['getCurrentScrollState']();if(!_0x13e8e9)return _0x4ea0ac;let _0x1cc8c5=(_0x2b77d1=this['_univerInstanceService']['getUnit'](_0x1ea425))==null?void 0x0:_0x2b77d1[_0xd4aeca(0x1c4)](_0x156ad2);if(!_0x1cc8c5)return _0x4ea0ac;let _0x60aabb=(0x0,_0x3e532c[_0xd4aeca(0x3d0)])(_0x13e8e9[_0xd4aeca(0x3ff)],_0x13e8e9[_0xd4aeca(0x4b0)],_0x4465d7[_0xd4aeca(0x2d7)],_0x1cc8c5);return _0x60aabb?{'x':_0x60aabb[_0xd4aeca(0xfd)],'y':_0x60aabb[_0xd4aeca(0x491)]}:_0x4ea0ac;}[_0x1a21ce(0x129)](_0x4767ff,_0x8062e3){const _0x96225b=_0x1a21ce;var _0x415397;let _0x48ed8f=(_0x415397=this['_univerInstanceService'][_0x96225b(0x412)](_0x4767ff))==null?void 0x0:_0x415397['getSheetBySheetId'](_0x8062e3);return(_0x48ed8f==null?void 0x0:_0x48ed8f['getZoomRatio']())??0x1;}['_attachAdjustEvent'](_0x255516,_0x2b762d,_0x1d6c9b){const _0x4025d7=_0x1a21ce;this[_0x4025d7(0x4c4)]((0x0,_0x5cf0ce[_0x4025d7(0xff)])(_0x255516[_0x4025d7(0x39e)]['subscribeEvent']((_0x2ba061,_0x57e857)=>{const _0x5b36a2=_0x4025d7;var _0xb86c39,_0x28137a,_0x7d659e,_0x4361f1;let _0x15c653=_0x255516[_0x5b36a2(0x1a8)]();this[_0x5b36a2(0x209)]=this[_0x5b36a2(0x489)](_0x15c653[_0x5b36a2(0x197)],_0x15c653['subUnitId'],_0x15c653[_0x5b36a2(0x1f5)],_0x1d6c9b),this[_0x5b36a2(0xf3)]=this[_0x5b36a2(0x23a)][_0x5b36a2(0x49e)](_0x15c653[_0x5b36a2(0x197)],_0x15c653[_0x5b36a2(0x4b3)],_0x15c653[_0x5b36a2(0x1f5)]);let _0x25399a=this[_0x5b36a2(0x383)][_0x5b36a2(0x214)]({'unitId':this[_0x5b36a2(0x29c)],'subUnitId':this[_0x5b36a2(0x251)],'drawingId':this['_activeShapeId']}),{transform:_0x3cb29d}=_0x25399a;if(_0x3cb29d){let {left:_0x208e49,top:_0x3580d7,width:_0x57586b,height:_0x1ac71f}=_0x3cb29d;this['_baseShapeLeft']=_0x208e49||0x0,this[_0x5b36a2(0x274)]=_0x3580d7||0x0,this[_0x5b36a2(0x423)]=_0x57586b||0x0,this[_0x5b36a2(0x3d5)]=_0x1ac71f||0x0;}let _0x538e8f=!!((_0xb86c39=_0x25399a[_0x5b36a2(0x3a9)])!=null&&_0xb86c39['flipX']),_0x4efa58=!!((_0x28137a=_0x25399a['transform'])!=null&&_0x28137a[_0x5b36a2(0x488)]),_0x281bf=((_0x7d659e=_0x25399a[_0x5b36a2(0x3a9)])==null?void 0x0:_0x7d659e[_0x5b36a2(0x11e)])||0x0;this[_0x5b36a2(0x3fe)]=!0x0,_0x2b762d['disableObjectsEvent']();let _0xdeaf3e={...((_0x4361f1=this[_0x5b36a2(0x209)])==null?void 0x0:_0x4361f1['currentAdjustValues'])??{}};this[_0x5b36a2(0x1eb)]=_0x2b762d[_0x5b36a2(0xee)][_0x5b36a2(0x3fc)]((_0x238c97,_0x549164)=>{const _0x11fcf5=_0x5b36a2;if(!this[_0x11fcf5(0x3fe)])return;let {offsetX:_0x227657,offsetY:_0x38c68b}=_0x238c97,_0x1a2902=this['_activeAdjustInfo'];if(this['_activeShapeModel']&&_0x1a2902){_0x2b762d[_0x11fcf5(0x2c1)](),_0x2b762d[_0x11fcf5(0x379)](_0x4413bb['CURSOR_TYPE'][_0x11fcf5(0x44d)]);let _0x48b3d7={'left':0x0,'top':0x0,'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]},_0x1c9d45=this['_getScrollInfo'](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5a3892=this[_0x11fcf5(0x129)](this[_0x11fcf5(0x29c)],this[_0x11fcf5(0x251)]),_0x5ceda8=_0x227657/_0x5a3892+_0x1c9d45['x']-this['_baseShapeLeft'],_0x13fe20=_0x38c68b/_0x5a3892+_0x1c9d45['y']-this['_baseShapeTop'];if(_0x281bf!==0x0){let _0x4bf44d=this['_baseShapeWidth']/0x2,_0x3292cf=this[_0x11fcf5(0x3d5)]/0x2,_0x2db334=_0x281bf*Math['PI']/0xb4,_0x4fd8d1=Math[_0x11fcf5(0x127)](_0x2db334),_0x5b8ce4=Math[_0x11fcf5(0x1bc)](_0x2db334),_0x22e726=_0x5ceda8-_0x4bf44d,_0x144583=_0x13fe20-_0x3292cf;_0x5ceda8=_0x4bf44d+(_0x22e726*_0x4fd8d1+_0x144583*_0x5b8ce4),_0x13fe20=_0x3292cf+(-_0x22e726*_0x5b8ce4+_0x144583*_0x4fd8d1);}_0x538e8f&&(_0x5ceda8=this[_0x11fcf5(0x423)]-_0x5ceda8),_0x4efa58&&(_0x13fe20=this[_0x11fcf5(0x3d5)]-_0x13fe20);let _0xb9379d={'x':_0x5ceda8,'y':_0x13fe20},_0x5a36dc=this[_0x11fcf5(0xf3)][_0x11fcf5(0x133)](_0x48b3d7,_0xb9379d,_0x1a2902,_0x538e8f,_0x4efa58);if(Object[_0x11fcf5(0x353)](_0x5a36dc)[_0x11fcf5(0x38a)]===0x0)return;for(let [_0xee978d,_0x10ed49]of Object[_0x11fcf5(0x210)](_0x5a36dc))this[_0x11fcf5(0xf3)][_0x11fcf5(0x44b)](_0xee978d,_0x10ed49);this['_activeShapeModel'][_0x11fcf5(0x433)]({'width':this[_0x11fcf5(0x423)],'height':this[_0x11fcf5(0x3d5)]});let _0x906e3a=this[_0x11fcf5(0x383)][_0x11fcf5(0x214)]({'unitId':_0x15c653[_0x11fcf5(0x197)],'subUnitId':_0x15c653[_0x11fcf5(0x4b3)],'drawingId':_0x15c653[_0x11fcf5(0x1f5)]});_0x906e3a&&(this['_sheetDrawingShapeRenderController'][_0x11fcf5(0x1d5)](_0x906e3a,_0x2b762d),this[_0x11fcf5(0x1ce)]=this[_0x11fcf5(0x2b5)](_0x15c653[_0x11fcf5(0x197)],_0x15c653[_0x11fcf5(0x4b3)],_0x15c653['drawingId']),this[_0x11fcf5(0x3f4)]());}_0x549164[_0x11fcf5(0x344)]();}),this[_0x5b36a2(0x2e3)]=_0x2b762d[_0x5b36a2(0x3c5)][_0x5b36a2(0x3fc)]((_0x1f2bba,_0x5c066b)=>{const _0xe80bc5=_0x5b36a2;this[_0xe80bc5(0x1eb)][_0xe80bc5(0x15a)](),this[_0xe80bc5(0x2e3)]['unsubscribe'](),_0x2b762d[_0xe80bc5(0x3c0)]();let _0x5172eb=this[_0xe80bc5(0x209)];if(_0x5172eb){let _0x5913f9=_0x15c653[_0xe80bc5(0x197)],_0x3790ec=_0x15c653[_0xe80bc5(0x4b3)],_0x4079e3=_0x15c653[_0xe80bc5(0x1f5)],_0x50526e={};for(let _0xc4e96c of Object[_0xe80bc5(0x353)](_0x5172eb[_0xe80bc5(0xf8)])){var _0x5ab3ab;let _0x541f6d=(_0x5ab3ab=this[_0xe80bc5(0xf3)])==null?void 0x0:_0x5ab3ab[_0xe80bc5(0x317)](_0xc4e96c);_0x541f6d!==void 0x0&&(_0x50526e[_0xc4e96c]=_0x541f6d);}Object[_0xe80bc5(0x353)](_0x50526e)[_0xe80bc5(0x38a)]>0x0&&_0x12c3ae(this[_0xe80bc5(0x378)],_0x5913f9,_0x3790ec,_0x4079e3,{'oldShapeData':{'adjustValues':_0xdeaf3e}},{'adjustValues':_0x50526e});}this[_0xe80bc5(0x209)]=void 0x0,this[_0xe80bc5(0xf3)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x5c066b['stopPropagation'](),_0x2b762d['enableObjectsEvent']();}),_0x57e857[_0x5b36a2(0x344)]();})));}[_0x1a21ce(0x293)](){const _0x1849eb=_0x1a21ce;let _0x5a7a03=this[_0x1849eb(0x2d5)][_0x1849eb(0x17a)](_0x5cf0ce[_0x1849eb(0x21e)][_0x1849eb(0x3a3)]);this[_0x1849eb(0x4c4)](_0x5a7a03[_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x498645=>_0x498645?_0x498645['activeSheet$'][_0x1849eb(0x472)]((0x0,_0x4cb228[_0x1849eb(0x116)])(_0x43e22d=>{const _0x211c6e=_0x1849eb;if(!_0x43e22d)return _0x4cb228[_0x211c6e(0x223)];let _0x4e871d=_0x498645[_0x211c6e(0x290)](),_0x2c5be1=this[_0x211c6e(0x411)][_0x211c6e(0x3ce)](_0x4e871d),_0x33b1bf=_0x2c5be1==null?void 0x0:_0x2c5be1[_0x211c6e(0x2d7)];return _0x33b1bf?(0x0,_0x4cb228['of'])(_0x33b1bf):_0x4cb228[_0x211c6e(0x223)];})):_0x4cb228['EMPTY']))[_0x1849eb(0x3e7)](_0x5150f4=>{const _0x3f98c2=_0x1849eb;let _0x320318=_0x5150f4['getTransformerByCreate']();this[_0x3f98c2(0x4c4)](_0x5150f4[_0x3f98c2(0xee)][_0x3f98c2(0x3fc)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x3f9)][_0x3f98c2(0x3e7)](_0x89b43=>{const _0x118942=_0x3f98c2;let {objects:_0x449c9c}=_0x89b43;this[_0x118942(0x3d6)](),_0x449c9c!==null&&_0x449c9c[_0x118942(0x32b)]===0x1&&_0x449c9c[_0x118942(0x3da)]()[_0x118942(0x395)]()[_0x118942(0x2f5)]instanceof _0x4d7701&&this['setShouldShowAdjust'](!0x0);})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x4ab)][_0x3f98c2(0x3e7)](()=>{const _0x2db122=_0x3f98c2;this[_0x2db122(0x1b8)]&&this[_0x2db122(0x38d)]();})),this['disposeWithMe'](_0x5150f4['onPointerUp$'][_0x3f98c2(0x3fc)](()=>{const _0x391f90=_0x3f98c2;this[_0x391f90(0x1b8)]&&(this[_0x391f90(0x2e5)](!0x1),this[_0x391f90(0x3d6)]());})),this[_0x3f98c2(0x4c4)](_0x320318[_0x3f98c2(0x154)][_0x3f98c2(0x3e7)](()=>{const _0x12bd36=_0x3f98c2;this[_0x12bd36(0x29c)]&&this[_0x12bd36(0x251)]&&this[_0x12bd36(0x376)]&&this[_0x12bd36(0x383)][_0x12bd36(0x214)]({'unitId':this[_0x12bd36(0x29c)],'subUnitId':this[_0x12bd36(0x251)],'drawingId':this[_0x12bd36(0x376)]})&&(this[_0x12bd36(0x1ce)]=this[_0x12bd36(0x2b5)](this[_0x12bd36(0x29c)],this[_0x12bd36(0x251)],this['_activeShapeId']),this[_0x12bd36(0x3f4)]());}));}));}[_0x1a21ce(0x447)](){const _0x53b9b5=_0x1a21ce;this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x378)][_0x53b9b5(0x30f)](_0x11bde0=>{const _0x31ee53=_0x53b9b5;if(_0x11bde0['id']!==_0x34e612[_0x31ee53(0x426)]['id'])return;let {unitId:_0x29cb9f,subUnitId:_0x5c0a4f,shapeId:_0x25412f}=_0x11bde0[_0x31ee53(0x46d)];_0x29cb9f===this[_0x31ee53(0x29c)]&&_0x5c0a4f===this['_subUnitId']&&_0x25412f===this['_activeShapeId']&&this['refreshAdjustControls']();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)][_0x53b9b5(0x28c)][_0x53b9b5(0x3e7)](_0x295f40=>{const _0x3a1cb8=_0x53b9b5;if(_0x295f40[_0x3a1cb8(0x38a)]===0x1){let _0xaddfe9=_0x295f40[0x0];if(_0xaddfe9['drawingType']===_0x5cf0ce['DrawingTypeEnum'][_0x3a1cb8(0x33f)]&&this[_0x3a1cb8(0x2d5)][_0x3a1cb8(0xf2)](_0xaddfe9[_0x3a1cb8(0x197)])===_0x5cf0ce[_0x3a1cb8(0x21e)][_0x3a1cb8(0x3a3)]){this[_0x3a1cb8(0x376)]=_0xaddfe9[_0x3a1cb8(0x1f5)];let {unitId:_0x281f0a,subUnitId:_0x1a5be1}=_0xaddfe9;this[_0x3a1cb8(0x1ce)]=this[_0x3a1cb8(0x2b5)](_0x281f0a,_0x1a5be1,this[_0x3a1cb8(0x376)]),this['_unitId']=_0x281f0a,this[_0x3a1cb8(0x251)]=_0x1a5be1,this[_0x3a1cb8(0x38d)](),this[_0x3a1cb8(0x3d6)]();return;}}this['_activeShapeId']=null,this[_0x3a1cb8(0x1ce)]=void 0x0,this[_0x3a1cb8(0x29c)]=null,this[_0x3a1cb8(0x251)]=null,this[_0x3a1cb8(0x38d)]();})),this[_0x53b9b5(0x4c4)](this[_0x53b9b5(0x383)]['update$'][_0x53b9b5(0x3e7)](_0x13204d=>{const _0x24f762=_0x53b9b5;if(_0x13204d[_0x24f762(0x38a)]===0x1){var _0x50af7d;let _0x34f1d3=_0x13204d[0x0];((_0x50af7d=this[_0x24f762(0x383)][_0x24f762(0x214)](_0x34f1d3))==null?void 0x0:_0x50af7d['drawingType'])===_0x5cf0ce[_0x24f762(0x1c1)][_0x24f762(0x33f)]&&this[_0x24f762(0x36f)](!0x0);}})),this[_0x53b9b5(0x4c4)](this['_drawingManagerService'][_0x53b9b5(0x44c)]['subscribe'](_0x5c3e61=>{const _0x184d9a=_0x53b9b5;for(let _0x2aa5fb of _0x5c3e61)this[_0x184d9a(0x376)]===_0x2aa5fb[_0x184d9a(0x1f5)]&&(this[_0x184d9a(0x376)]=null,this[_0x184d9a(0x1ce)]=void 0x0,this[_0x184d9a(0x29c)]=null,this[_0x184d9a(0x251)]=null,this['_clearShapeAdjustControls']());}));}};_0x5f5333=_0x3f6514([_0x4512b4(0x0,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705)),_0x4512b4(0x4,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)])],_0x5f5333);let _0x1bb1ad={'id':_0x1a21ce(0x139),'type':_0x5cf0ce['CommandType']['OPERATION'],'handler':(_0x3e80a7,_0x4b8a3b)=>{const _0x3eb894=_0x1a21ce;let _0x3d778f=_0x3e80a7[_0x3eb894(0x170)](_0x2a2438[_0x3eb894(0x3e4)]),_0x15c8a8=_0x3e80a7[_0x3eb894(0x170)](_0x4413bb[_0x3eb894(0x399)]),_0x35a031=_0x3e80a7[_0x3eb894(0x170)](_0x5f5333);if(_0x4b8a3b==null)return!0x0;if(_0x4b8a3b['length']>0x0){var _0x50b0d6;let _0x2143b1=(_0x50b0d6=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null?void 0x0:_0x50b0d6['scene'];if(_0x2143b1){let {unitId:_0x155933,subUnitId:_0x27322c,drawingId:_0x5a9f6a}=_0x4b8a3b[0x0],_0x233d3e=(0x0,_0x2a2438[_0x3eb894(0x414)])({'unitId':_0x155933,'subUnitId':_0x27322c,'drawingId':_0x5a9f6a},void 0x0),_0x5d038e=_0x2143b1[_0x3eb894(0x26e)](_0x233d3e);if(_0x5d038e){var _0x51c8d9;(_0x51c8d9=_0x15c8a8[_0x3eb894(0x3ce)](_0x4b8a3b[0x0][_0x3eb894(0x197)]))==null||(_0x51c8d9=_0x51c8d9[_0x3eb894(0x2d7)]['getTransformer']())==null||_0x51c8d9[_0x3eb894(0x277)](_0x5d038e);}}_0x3d778f[_0x3eb894(0x149)](_0x4b8a3b),_0x35a031[_0x3eb894(0x2e5)](!0x1);}return!0x0;}},_0x224af7={'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x224)],'id':_0x1a21ce(0x12a),'handler':async(_0x2d2bee,_0x17b799)=>{const _0x5b0e6d=_0x1a21ce;let _0x52dc85=(0x0,_0xdab3fa[_0x5b0e6d(0x12f)])(_0x2d2bee['get'](_0x5cf0ce[_0x5b0e6d(0x1d2)]));if(!_0x52dc85)return!0x1;let _0x3a24e3=_0x2d2bee['get'](_0xdab3fa[_0x5b0e6d(0x230)])[_0x5b0e6d(0x182)]();if(!_0x3a24e3)return!0x1;let _0x407c6f=_0x2d2bee[_0x5b0e6d(0x170)](_0x5cf0ce[_0x5b0e6d(0x311)]),{unitId:_0x189d50,subUnitId:_0x258bb0}=_0x52dc85,{value:_0x335838,enhanceParams:_0x29eecd}=_0x17b799,{range:_0x57b67c}=_0x3a24e3,_0x2f82e2={'unitId':_0x189d50,'subUnitId':_0x258bb0,'shapeType':_0x335838,'range':_0x57b67c,'shapeId':(0x0,_0x5cf0ce[_0x5b0e6d(0x1a3)])()};if(_0x29eecd){let _0x522425=(0x0,_0x24d21b[_0x5b0e6d(0x373)])(_0x335838),_0x6c2c73=_0x335838===_0x24d21b[_0x5b0e6d(0x4a6)][_0x5b0e6d(0x34e)];_0x522425&&(_0x29eecd[_0x5b0e6d(0x288)]||_0x29eecd[_0x5b0e6d(0x1c5)])&&(_0x2f82e2['shapeData']={'ln':{'startArrow':_0x29eecd[_0x5b0e6d(0x288)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)][_0x5b0e6d(0x3a5)]}:void 0x0,'endArrow':_0x29eecd[_0x5b0e6d(0x1c5)]?{'type':_0x24d21b['ShapeArrowTypeEnum'][_0x5b0e6d(0x259)],'size':_0x24d21b[_0x5b0e6d(0x313)]['Large']}:void 0x0}}),_0x6c2c73&&(_0x29eecd['horizontal']||_0x29eecd['vertical'])&&(_0x2f82e2[_0x5b0e6d(0x476)]=(0x0,_0x1b3552[_0x5b0e6d(0x486)])({'fill':{'fillType':_0x24d21b[_0x5b0e6d(0x4b4)][_0x5b0e6d(0x1ff)],'color':_0x5b0e6d(0x2e1)},'isHorizontal':!!_0x29eecd['horizontal'],'stroke':{'lineStrokeType':_0x24d21b[_0x5b0e6d(0x2ec)][_0x5b0e6d(0x2c4)],'width':0x1,'color':_0x5b0e6d(0x480)}}));}let _0x82604e=_0x407c6f['syncExecuteCommand'](_0x34e612['InsertShapeCommand']['id'],_0x2f82e2);return setTimeout(()=>{const _0xa36e8b=_0x5b0e6d;_0x407c6f['executeCommand'](_0x1bb1ad['id'],[{'unitId':_0x189d50,'subUnitId':_0x258bb0,'drawingId':_0x2f82e2[_0xa36e8b(0x1b1)]}]);},0xc8),_0x82604e;}},_0x454d12=_0x1a21ce(0x43e),_0x56bb7a=_0x1a21ce(0x13f),_0x1931aa=_0x1a21ce(0x226),_0x1e91c2='sheets-shape-ui.ribbon.shape-format',_0x4a60e9=(0x0,_0x5cf0ce[_0x1a21ce(0x1bd)])(_0x1a21ce(0xeb)),_0x4da57b=_0x1a21ce(0x184),_0x106220={'id':_0x1a21ce(0x248),'type':_0x5cf0ce[_0x1a21ce(0x244)][_0x1a21ce(0x224)],'handler':(_0x22ca96,_0x38e73b)=>{const _0x3f7b47=_0x1a21ce;let _0x19cdd4=_0x22ca96[_0x3f7b47(0x170)](_0x416351[_0x3f7b47(0x3bb)]),_0x3cae57=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x4ac)]),_0x4493af=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x1d2)]),_0x2a9f8c=_0x22ca96[_0x3f7b47(0x170)](_0x5cf0ce[_0x3f7b47(0x311)]);return(0x0,_0xdab3fa['getSheetCommandTarget'])(_0x4493af)?(_0x38e73b==null?void 0x0:_0x38e73b[_0x3f7b47(0x2f5)])===_0x3f7b47(0x1b2)?(_0x19cdd4[_0x3f7b47(0x1b2)](_0x56bb7a),!0x0):(_0x19cdd4[_0x3f7b47(0x31d)]({'id':_0x56bb7a,'header':{'title':_0x3cae57['t'](_0x3f7b47(0x482))},'children':{'label':_0x56bb7a},'onClose':()=>{const _0x1fb8dc=_0x3f7b47;_0x2a9f8c[_0x1fb8dc(0x25e)](_0x2a2438[_0x1fb8dc(0x2db)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x212f1d={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x25d),'handler'(){return!0x0;}};function _0x231ff5(_0x4c4ff9){const _0x305e49=_0x1a21ce;let _0xf564be=_0x4c4ff9['get'](_0x2a2438[_0x305e49(0x3e4)])[_0x305e49(0x314)](),_0x79aff6=_0xf564be[_0x305e49(0x38a)]===0x1?_0xf564be[0x0]:null;if(!_0x79aff6||_0x79aff6['drawingType']!==_0x5cf0ce[_0x305e49(0x1c1)]['DRAWING_SHAPE'])return null;let _0x1292d7=_0x4c4ff9[_0x305e49(0x170)](_0x34e612[_0x305e49(0x457)]),_0x5159fd=_0x1292d7[_0x305e49(0x396)](_0x79aff6[_0x305e49(0x197)],_0x79aff6['subUnitId'],_0x79aff6['drawingId']),_0x2a5a06=_0x1292d7['getShapeDataById'](_0x79aff6['unitId'],_0x79aff6[_0x305e49(0x4b3)],_0x79aff6['drawingId']);return _0x5159fd===void 0x0||!_0x2a5a06?null:{'drawing':_0x79aff6,'shapeData':_0x2a5a06,'shapeType':_0x5159fd};}let _0x325d8a={'id':_0x1a21ce(0x440),'type':_0x5cf0ce['CommandType'][_0x1a21ce(0x173)],'handler':(_0x1cdd68,_0x50b7b1)=>{const _0x4df69e=_0x1a21ce;let _0x107e52=_0x231ff5(_0x1cdd68),_0x57d9fa=(0x0,_0x1b3552[_0x4df69e(0x394)])((_0x50b7b1==null?void 0x0:_0x50b7b1[_0x4df69e(0x1f8)])??(_0x50b7b1==null?void 0x0:_0x50b7b1['value'])??'');if(!_0x107e52||!_0x57d9fa||_0x57d9fa['type']!==(0x0,_0x1b3552[_0x4df69e(0x468)])(_0x107e52[_0x4df69e(0x476)]))return!0x1;let _0x156d69=(0x0,_0x1b3552['applyQuickStyleToShapeData'])(_0x107e52[_0x4df69e(0x476)],_0x57d9fa);if(!_0x156d69)return!0x1;let {drawing:_0x136ffb}=_0x107e52;return _0x1cdd68[_0x4df69e(0x170)](_0x5cf0ce[_0x4df69e(0x311)])[_0x4df69e(0x2af)](_0x25f5b2['id'],{'unitId':_0x136ffb[_0x4df69e(0x197)],'subUnitId':_0x136ffb[_0x4df69e(0x4b3)],'shapeId':_0x136ffb[_0x4df69e(0x1f5)],'shapeData':_0x156d69,'oldShapeJSON':{'oldShapeData':_0x107e52[_0x4df69e(0x476)]}});}},_0x684ce2={'id':_0x1a21ce(0xf1),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler':(_0x25cc59,_0x3fff0c)=>{const _0x432251=_0x1a21ce;let _0x2c71c5=_0x231ff5(_0x25cc59),_0x1452cd=(_0x3fff0c==null?void 0x0:_0x3fff0c[_0x432251(0xde)])??(_0x3fff0c==null?void 0x0:_0x3fff0c['value']);if(!_0x2c71c5||!_0x1452cd||(0x0,_0x24d21b[_0x432251(0x373)])(_0x2c71c5[_0x432251(0xde)])||(0x0,_0x24d21b[_0x432251(0x373)])(_0x1452cd))return!0x1;let _0x26b3d4=(0x0,_0x1b3552[_0x432251(0x24e)])(_0x2c71c5[_0x432251(0x476)],_0x1452cd);if(!_0x26b3d4)return!0x1;let {drawing:_0x2079f5}=_0x2c71c5;return _0x25cc59[_0x432251(0x170)](_0x5cf0ce[_0x432251(0x311)])[_0x432251(0x2af)](_0x25f5b2['id'],{'unitId':_0x2079f5[_0x432251(0x197)],'subUnitId':_0x2079f5[_0x432251(0x4b3)],'shapeId':_0x2079f5['drawingId'],'shapeType':_0x1452cd,'shapeData':_0x26b3d4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x2c71c5[_0x432251(0xde)],'oldShapeData':_0x2c71c5[_0x432251(0x476)]}});}},_0x133380=class extends _0x5cf0ce['Disposable']{constructor(_0x4ef60d,_0x330498){const _0x23bbd6=_0x1a21ce;super(),this[_0x23bbd6(0x122)]=_0x4ef60d,this[_0x23bbd6(0x383)]=_0x330498,this[_0x23bbd6(0x3d1)](),this['_clipService'][_0x23bbd6(0x367)](!0x0),this[_0x23bbd6(0x4c4)]({'dispose':()=>this[_0x23bbd6(0x122)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x40c5f0=_0x1a21ce;let _0x5c5a2b=this['_clipService'],_0x38328e=new Map(),_0x545c63=_0x5c5a2b[_0x40c5f0(0x205)]((_0xccdd2c,_0x17cd90,_0x82ae83,_0x4a4cbe,_0x89c359)=>{const _0x15c5a3=_0x40c5f0;let _0x2c805b=_0x17cd90;if(_0x2c805b===_0x24d21b[_0x15c5a3(0x4a6)][_0x15c5a3(0x31c)]||_0x17cd90===_0x15c5a3(0x1d0))return!0x1;try{let _0x71c6b1=_0x38328e[_0x15c5a3(0x170)](_0x17cd90);return _0x71c6b1||(_0x71c6b1=new _0x24d21b['ShapeModel'](_0x2c805b,_0x15c5a3(0x1e3)+_0x17cd90),_0x38328e[_0x15c5a3(0x153)](_0x17cd90,_0x71c6b1)),_0x71c6b1[_0x15c5a3(0x1b7)](),_0x89c359&&Object[_0x15c5a3(0x353)](_0x89c359)[_0x15c5a3(0x38a)]>0x0&&_0x71c6b1['setShapeData']({'adjustValues':_0x89c359},!0x0),_0x71c6b1[_0x15c5a3(0x433)]({'width':_0x82ae83,'height':_0x4a4cbe}),_0x71c6b1[_0x15c5a3(0x16a)](_0xccdd2c,{'left':0x0,'top':0x0,'width':_0x82ae83,'height':_0x4a4cbe});}catch{return!0x1;}});this['disposeWithMe'](_0x545c63),this[_0x40c5f0(0x4c4)]({'dispose':()=>_0x38328e[_0x40c5f0(0x2c6)]()});}['clipByShape'](_0x483c64,_0x3deffb,_0x4607b1,_0x5abb16,_0x5692ae){const _0x24a414=_0x1a21ce;let _0x4797b7=this['_drawingManagerService'][_0x24a414(0x385)](_0x483c64,_0x3deffb);if(!_0x4797b7[_0x4607b1])return;let _0x1471d2={..._0x4797b7[_0x4607b1],'prstGeom':_0x5abb16,'adjustValues':_0x5692ae};this[_0x24a414(0x383)][_0x24a414(0x18a)]([_0x1471d2]);}};_0x133380=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x11fb86['DrawingImageClipService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)]))],_0x133380);let _0x116576=_0x1a21ce(0xec),_0x4a940a='sheet.image-clip.shape-picker.component';function _0x375678({onShapeClick:_0x5634c3,excludeGroups:_0x32d075}){const _0x28c27b=_0x1a21ce;return(0x0,_0x53553e[_0x28c27b(0x404)])(_0x3ed8c6['ShapePickerPanel'],{'excludeGroups':_0x32d075,'onShapeClick':_0x5634c3,'scrollContainer':_0x28c27b(0x2ac)});}function _0x4dc294(){const _0x4572df=_0x1a21ce;let _0xc4ff14=(0x0,_0x416351[_0x4572df(0x20b)])(_0x2a2438[_0x4572df(0x3e4)]),_0x5221e9=(0x0,_0x416351['useDependency'])(_0x133380);return(0x0,_0x53553e[_0x4572df(0x404)])(_0x3ed8c6[_0x4572df(0x456)],{'buttonLabel':_0x4572df(0x474),'excludeGroups':[_0x3ed8c6['ShapeGroupEnum']['Line']],'onShapeClick':_0x173d13=>{const _0x4bf23f=_0x4572df;let _0x42f3c9=_0xc4ff14[_0x4bf23f(0x314)]()[_0x4bf23f(0x169)](_0x5b4d05=>_0x5b4d05[_0x4bf23f(0x497)]===_0x5cf0ce[_0x4bf23f(0x1c1)][_0x4bf23f(0x236)]);if(!_0x42f3c9)return;let {unitId:_0x2d9998,subUnitId:_0x92d000,drawingId:_0x51d173}=_0x42f3c9;_0x5221e9[_0x4bf23f(0x215)](_0x2d9998,_0x92d000,_0x51d173,_0x173d13[_0x4bf23f(0x3cb)]);}});}function _0x1d34b4(){const _0x40eb7f=_0x1a21ce;let _0x485dc4=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x596281=(0x0,_0x416351[_0x40eb7f(0x20b)])(_0x133380);return(0x0,_0x53553e[_0x40eb7f(0x404)])(_0x3ed8c6['ShapePickerDropdown'],{'buttonLabel':_0x40eb7f(0x474),'excludeGroups':[_0x3ed8c6[_0x40eb7f(0x125)][_0x40eb7f(0x35a)]],'DropdownComponent':_0x3da0dc[_0x40eb7f(0x2d1)],'onShapeClick':_0x173633=>{const _0x478f43=_0x40eb7f;let _0x413046=_0x485dc4['getFocusDrawings']()[_0x478f43(0x169)](_0x11c085=>_0x11c085[_0x478f43(0x497)]===_0x5cf0ce[_0x478f43(0x1c1)][_0x478f43(0x236)]);if(!_0x413046)return;let {unitId:_0x3de7c8,subUnitId:_0x3c2154,drawingId:_0xb85c06}=_0x413046;_0x596281['clipByShape'](_0x3de7c8,_0x3c2154,_0xb85c06,_0x173633[_0x478f43(0x3cb)]);}});}function _0x5d1131(){const _0x580e59=_0x1a21ce;let _0x363da5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x416351[_0x580e59(0x273)]),_0x54e5e5=(0x0,_0x416351[_0x580e59(0x20b)])(_0x2a2438[_0x580e59(0x3e4)]),_0x4087af=(0x0,_0x416351[_0x580e59(0x20b)])(_0x5cf0ce[_0x580e59(0x1d2)]),_0x4121b4=_0x54e5e5[_0x580e59(0x314)]()[0x0],_0x232344=_0x4121b4?_0x4087af[_0x580e59(0xf2)](_0x4121b4[_0x580e59(0x197)]):void 0x0,_0x12ad55=_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x32e)]?_0x580e59(0x28b):_0x232344===_0x5cf0ce[_0x580e59(0x21e)][_0x580e59(0x3a3)]?_0x4a940a:void 0x0,_0x20d999=_0x12ad55?_0x363da5[_0x580e59(0x170)](_0x12ad55):void 0x0;return _0x20d999?(0x0,_0x53553e[_0x580e59(0x404)])(_0x20d999,{}):null;}function _0x52aff6(){const _0x247dee=_0x1a21ce;let _0x43da9f=(0x0,_0x416351[_0x247dee(0x20b)])(_0x5cf0ce[_0x247dee(0x311)]);return(0x0,_0x53553e[_0x247dee(0x404)])(_0x375678,{'onShapeClick':_0x1ab45=>{const _0x4bc01a=_0x247dee;_0x43da9f['executeCommand'](_0x224af7['id'],{'value':_0x1ab45[_0x4bc01a(0x3cb)],'enhanceParams':{'endArrow':_0x1ab45['endArrow'],'startArrow':_0x1ab45[_0x4bc01a(0x288)],'horizontal':_0x1ab45[_0x4bc01a(0x10c)],'vertical':_0x1ab45[_0x4bc01a(0x45d)]}});}});}function _0x15bbb6(){const _0x5edd35=_0x1a21ce;return(0x0,_0x53553e[_0x5edd35(0x404)])(_0x52aff6,{});}function _0x2b3cc1(_0x4de023){const _0x980395=_0x1a21ce;let _0x2d44a7=_0x4de023[_0x980395(0x170)](_0x5cf0ce[_0x980395(0x1d2)]);return{'id':_0x224af7['id'],'type':_0x416351[_0x980395(0x2cc)][_0x980395(0xfe)],'selections':[{'label':{'name':_0x116576,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x224af7['id']}}}],'icon':_0x980395(0x410),'tooltip':_0x980395(0xdb),'activated$':(0x0,_0x3e532c[_0x980395(0x29a)])(_0x2d44a7,!0x1,()=>new _0x4cb228[(_0x980395(0x3a0))](_0x4f9c90=>{const _0x248866=_0x980395;_0x4f9c90[_0x248866(0x395)](!0x1);})),'hidden$':(0x0,_0x416351[_0x980395(0x43c)])(_0x4de023,_0x5cf0ce[_0x980395(0x21e)][_0x980395(0x3a3)]),'disabled$':(0x0,_0x3e532c['getCurrentRangeDisable$'])(_0x4de023)};}function _0xff80a(_0x287435){const _0x2358e8=_0x1a21ce;let _0x40308c=_0x287435['get'](_0x5cf0ce[_0x2358e8(0x1d2)]);return{'id':_0x106220['id'],'type':_0x416351['MenuItemType'][_0x2358e8(0x2dd)],'icon':_0x2358e8(0x302),'title':_0x2358e8(0x34f),'tooltip':_0x2358e8(0x34f),'activated$':(0x0,_0x3e532c[_0x2358e8(0x29a)])(_0x40308c,!0x1,()=>new _0x4cb228['Observable'](_0xe56569=>{const _0x360c1e=_0x2358e8;_0xe56569[_0x360c1e(0x395)](!0x1);})),'hidden$':(0x0,_0x416351['getMenuHiddenObservable'])(_0x287435,_0x5cf0ce[_0x2358e8(0x21e)]['UNIVER_SHEET']),'disabled$':(0x0,_0x3e532c[_0x2358e8(0x330)])(_0x287435)};}let _0x1eed22=_0x1a21ce(0x485),_0x2d888b=_0x1a21ce(0x3a6);function _0x649d72(_0x45c1ce){const _0x2cbfbe=_0x1a21ce;let _0xd9fbdb=_0x45c1ce[_0x2cbfbe(0x170)](_0x2a2438['IDrawingManagerService'])['getFocusDrawings']();return _0xd9fbdb['length']===0x1&&_0xd9fbdb[0x0]['drawingType']===_0x5cf0ce[_0x2cbfbe(0x1c1)][_0x2cbfbe(0x33f)]?_0xd9fbdb[0x0]:null;}function _0x3fc561(_0x4d5bd5){const _0x2a24dd=_0x1a21ce;let _0x1ae822=_0x4d5bd5['get'](_0x2a2438['IDrawingManagerService']);return _0x1ae822['focus$'][_0x2a24dd(0x472)]((0x0,_0x4cb228[_0x2a24dd(0x40b)])(_0x1ae822['getFocusDrawings']()),(0x0,_0x4cb228[_0x2a24dd(0x41e)])(_0x562436=>_0x562436[_0x2a24dd(0x38a)]!==0x1||_0x562436[0x0][_0x2a24dd(0x497)]!==_0x5cf0ce[_0x2a24dd(0x1c1)][_0x2a24dd(0x33f)]));}function _0x230a4e(_0x1cb0c0){const _0x179761=_0x1a21ce;return{'id':_0x1eed22,'commandId':_0x34e612[_0x179761(0x47d)]['id'],'type':_0x416351[_0x179761(0x2cc)][_0x179761(0x2dd)],'title':_0x179761(0x375),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x179761(0x346),'hidden$':_0x3fc561(_0x1cb0c0),'params':()=>{const _0x14b5d4=_0x179761;let _0x920775=_0x649d72(_0x1cb0c0);return _0x920775?{'unitId':_0x920775[_0x14b5d4(0x197)],'subUnitId':_0x920775[_0x14b5d4(0x4b3)],'shapeId':_0x920775['drawingId'],'flipH':!0x0}:void 0x0;}};}function _0x41d2f5(_0x1c76b9){const _0x25e4af=_0x1a21ce;return{'id':_0x2d888b,'commandId':_0x34e612[_0x25e4af(0x47d)]['id'],'type':_0x416351['MenuItemType']['BUTTON'],'title':_0x25e4af(0x11c),'tooltip':_0x25e4af(0x11c),'icon':'FlipVerticalIcon','hidden$':_0x3fc561(_0x1c76b9),'params':()=>{const _0x14d480=_0x25e4af;let _0x37b117=_0x649d72(_0x1c76b9);return _0x37b117?{'unitId':_0x37b117[_0x14d480(0x197)],'subUnitId':_0x37b117['subUnitId'],'shapeId':_0x37b117[_0x14d480(0x1f5)],'flipV':!0x0}:void 0x0;}};}let _0x55b4e5='sheets-shape-ui.shape-format.quick-style-gallery',_0x47e237='sheets-shape-ui.shape-format.style-ribbon-control',_0x330cdf=_0x1a21ce(0x124),_0x501bd1=_0x1a21ce(0x3e5);function _0xa6432c(){const _0x248cbe=_0x1a21ce;let _0x32d632=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x5cf0ce[_0x248cbe(0x311)]),_0x5e9a96=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x2a2438['IDrawingManagerService']),_0x4834bd=(0x0,_0x416351[_0x248cbe(0x20b)])(_0x34e612[_0x248cbe(0x457)]),_0x5086b9=()=>{const _0xf00084=_0x248cbe;var _0x59c0cd;let _0x200585=_0x5e9a96[_0xf00084(0x314)]();if(_0x200585['length']!==0x1||((_0x59c0cd=_0x200585[0x0])==null?void 0x0:_0x59c0cd[_0xf00084(0x497)])!==_0x5cf0ce[_0xf00084(0x1c1)]['DRAWING_SHAPE'])return null;let {unitId:_0x42961c,subUnitId:_0x34670d,drawingId:_0x247957}=_0x200585[0x0],_0x2a2cd8=_0x4834bd['getShapeTypeById'](_0x42961c,_0x34670d,_0x247957),_0x2a7fad=_0x4834bd[_0xf00084(0x23d)](_0x42961c,_0x34670d,_0x247957);return _0x2a2cd8===void 0x0||!_0x2a7fad?null:{'unitId':_0x42961c,'subUnitId':_0x34670d,'drawingId':_0x247957,'shapeType':_0x2a2cd8,'shapeData':_0x2a7fad};},_0x57f849=(0x0,_0x416351[_0x248cbe(0x3b4)])(()=>new _0x4cb228['Observable'](_0x75ae5=>{const _0x34d264=_0x248cbe;let _0x35d19b=()=>_0x75ae5[_0x34d264(0x395)](_0x5086b9()),_0x293468=_0x5e9a96[_0x34d264(0x28c)][_0x34d264(0x3e7)](_0x35d19b),_0x4fc322=_0x32d632[_0x34d264(0x30f)](_0x3840f7=>{const _0x58fe6b=_0x34d264;_0x3840f7['id']===_0x34e612[_0x58fe6b(0x426)]['id']&&_0x35d19b();});return _0x35d19b(),()=>{const _0x2cf570=_0x34d264;_0x293468[_0x2cf570(0x15a)](),_0x4fc322[_0x2cf570(0x351)]();};}),_0x5086b9(),!0x1,[_0x32d632,_0x5e9a96,_0x4834bd]);return{'selection':_0x57f849,'updateShapeData':_0x3d2c72=>{const _0x226496=_0x248cbe;_0x57f849&&_0x12c3ae(_0x32d632,_0x57f849[_0x226496(0x197)],_0x57f849['subUnitId'],_0x57f849['drawingId'],{'oldShapeData':_0x57f849[_0x226496(0x476)]},_0x3d2c72);}};}function _0xf36676(){const _0x19b19e=_0x1a21ce;let {selection:_0x9c4b18,updateShapeData:_0x35b4d2}=_0xa6432c();return _0x9c4b18?(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x19b19e(0x28a)],{'shapeData':_0x9c4b18[_0x19b19e(0x476)],'shapeType':_0x9c4b18[_0x19b19e(0xde)],'onUpdateShapeData':_0x35b4d2}):null;}function _0x1c6931(){const _0x4c9172=_0x1a21ce;let _0x1fdfc2=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x311)]),_0xa43e17=(0x0,_0x416351[_0x4c9172(0x20b)])(_0x5cf0ce[_0x4c9172(0x4ac)]),{selection:_0x44cac1}=_0xa6432c();return _0x44cac1?(0x0,_0x53553e[_0x4c9172(0x404)])(_0x3ed8c6[_0x4c9172(0x44f)],{'type':(0x0,_0x1b3552[_0x4c9172(0x468)])(_0x44cac1['shapeData']),'ariaLabel':_0xa43e17['t']('sheets-shape-ui.quickStyles'),'activePresetId':(0x0,_0x1b3552[_0x4c9172(0x2ce)])(_0x44cac1['shapeData']),'onSelect':_0x3b456c=>_0x1fdfc2['executeCommand'](_0x325d8a['id'],{'presetId':_0x3b456c})}):null;}function _0x44850f(){const _0x3c20fd=_0x1a21ce;let {selection:_0x534ccb,updateShapeData:_0x2b8a8b}=_0xa6432c();return _0x534ccb?(0x0,_0x53553e[_0x3c20fd(0x404)])(_0x3ed8c6['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x534ccb[_0x3c20fd(0x476)],'onUpdateShapeData':_0x2b8a8b}):null;}function _0x2df28d(){const _0x3dbc8c=_0x1a21ce;var _0x5d0b32;let {selection:_0x10614e,updateShapeData:_0x55e1d0}=_0xa6432c(),_0x5b37e8=(0x0,_0x3ed8c6[_0x3dbc8c(0x390)])({'hostType':_0x5cf0ce[_0x3dbc8c(0x21e)][_0x3dbc8c(0x3a3)],'unitId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x197)])??'','subUnitId':(_0x10614e==null?void 0x0:_0x10614e['subUnitId'])??'','shapeId':(_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x1f5)])??'','shapeData':_0x10614e==null?void 0x0:_0x10614e[_0x3dbc8c(0x476)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3dbc8c(0x2e8),'onUpdateBinding':_0x163a2c=>_0x55e1d0({'formulaBinding':_0x163a2c})}),_0x50f7e4=((_0x5d0b32=_0x5b37e8[_0x3dbc8c(0x26f)])==null?void 0x0:_0x5d0b32[_0x3dbc8c(0x466)](_0x246540=>_0x246540[_0x3dbc8c(0x3b5)])[_0x3dbc8c(0x431)](_0x4721c2=>_0x4721c2[_0x3dbc8c(0x241)]!==!0x1))??[];return _0x10614e!=null&&_0x10614e[_0x3dbc8c(0x476)][_0x3dbc8c(0x126)]?(0x0,_0x53553e[_0x3dbc8c(0x404)])(_0x3ed8c6[_0x3dbc8c(0x359)],{'actions':_0x50f7e4,'panel':_0x5b37e8[_0x3dbc8c(0x400)]}):null;}let _0x65c245=_0x1a21ce(0x2e0),_0x248b70=_0x1a21ce(0xfb),_0x35fdb4=_0x1a21ce(0x3ba),_0x2b0269=_0x1a21ce(0x228),_0x1287cd=_0x1a21ce(0x1e8),_0x12d37b=_0x1a21ce(0x407),_0x2df8c3='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x37b592(_0x352f23){const _0x1558bf=_0x1a21ce;let _0x4e6adb=_0x352f23[_0x1558bf(0x170)](_0x5cf0ce[_0x1558bf(0x311)]),_0x3a72d5=_0x352f23[_0x1558bf(0x170)](_0x2a2438[_0x1558bf(0x3e4)]),_0x317e94=_0x352f23[_0x1558bf(0x170)](_0x34e612[_0x1558bf(0x457)]);return new _0x4cb228[(_0x1558bf(0x3a0))](_0x23e065=>{const _0x5c761e=_0x1558bf;let _0x494fe6=()=>{const _0x4c7c75=_0x1cfe;let _0x3ce206=_0x25bfbb(_0x352f23),_0x2bff00=_0x3ce206?_0x317e94[_0x4c7c75(0x23d)](_0x3ce206[_0x4c7c75(0x197)],_0x3ce206[_0x4c7c75(0x4b3)],_0x3ce206[_0x4c7c75(0x1f5)]):null;_0x23e065[_0x4c7c75(0x395)](_0x2bff00?(0x0,_0x1b3552[_0x4c7c75(0x2ce)])(_0x2bff00)??'':'');},_0x3d45cd=_0x3a72d5[_0x5c761e(0x28c)][_0x5c761e(0x3e7)](_0x494fe6),_0xae6881=_0x4e6adb[_0x5c761e(0x30f)](_0xfbad6=>{_0xfbad6['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']&&_0x494fe6();});return _0x494fe6(),()=>{const _0xf80a15=_0x5c761e;_0x3d45cd[_0xf80a15(0x15a)](),_0xae6881[_0xf80a15(0x351)]();};});}function _0x25bfbb(_0x2f6a7b){const _0x32c8d9=_0x1a21ce;var _0x34d9f4;let _0x767696=_0x2f6a7b[_0x32c8d9(0x170)](_0x2a2438[_0x32c8d9(0x3e4)])['getFocusDrawings']();return _0x767696[_0x32c8d9(0x38a)]===0x1&&((_0x34d9f4=_0x767696[0x0])==null?void 0x0:_0x34d9f4[_0x32c8d9(0x497)])===_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE']?_0x767696[0x0]:null;}function _0xc3b9e4(_0x321f30,_0x32a8ab=!0x1){const _0xaaffb9=_0x1a21ce;let _0x118672=_0x321f30[_0xaaffb9(0x170)](_0x5cf0ce[_0xaaffb9(0x311)]),_0x242763=_0x321f30['get'](_0x2a2438['IDrawingManagerService']),_0x21e39f=_0x321f30['get'](_0x34e612[_0xaaffb9(0x457)]);return new _0x4cb228[(_0xaaffb9(0x3a0))](_0x3991e6=>{const _0x4ededb=_0xaaffb9;let _0x18b109=()=>{const _0x48aea5=_0x1cfe;let _0x5c5d35=_0x25bfbb(_0x321f30);if(!_0x5c5d35){_0x3991e6[_0x48aea5(0x395)](!0x0);return;}let _0x565134=_0x21e39f[_0x48aea5(0x23d)](_0x5c5d35['unitId'],_0x5c5d35['subUnitId'],_0x5c5d35['drawingId']);_0x3991e6[_0x48aea5(0x395)](!_0x565134||_0x32a8ab&&_0x565134[_0x48aea5(0x126)]==null);},_0x7d9f3a=_0x242763[_0x4ededb(0x28c)][_0x4ededb(0x3e7)](_0x18b109),_0x37d4df=_0x118672[_0x4ededb(0x30f)](_0xc2a593=>{const _0x82962f=_0x4ededb;_0xc2a593['id']===_0x34e612[_0x82962f(0x426)]['id']&&_0x18b109();});return _0x18b109(),()=>{const _0x3c6e76=_0x4ededb;_0x7d9f3a['unsubscribe'](),_0x37d4df[_0x3c6e76(0x351)]();};});}function _0x1c27de(_0x18bb4a){const _0x43dac8=_0x1a21ce;let _0x1a18b7=_0x18bb4a[_0x43dac8(0x170)](_0x2a2438[_0x43dac8(0x3e4)]),_0x567a7f=_0x18bb4a['get'](_0x34e612[_0x43dac8(0x457)]);return _0x1a18b7[_0x43dac8(0x28c)][_0x43dac8(0x472)]((0x0,_0x4cb228['startWith'])(_0x1a18b7[_0x43dac8(0x314)]()),(0x0,_0x4cb228[_0x43dac8(0x41e)])(()=>{const _0x2f5386=_0x43dac8;let _0x2bce69=_0x25bfbb(_0x18bb4a),_0x5b351b=_0x2bce69?_0x567a7f['getShapeTypeById'](_0x2bce69[_0x2f5386(0x197)],_0x2bce69['subUnitId'],_0x2bce69[_0x2f5386(0x1f5)]):void 0x0;return _0x5b351b===void 0x0||(0x0,_0x24d21b['isConnectorShape'])(_0x5b351b);}));}function _0x3134e2(_0x26a88c){const _0x359721=_0x1a21ce;return{'id':_0x325d8a['id'],'type':_0x416351[_0x359721(0x2cc)][_0x359721(0xfe)],'icon':_0x359721(0x1e2),'title':_0x359721(0x160),'tooltip':_0x359721(0x160),'selections':[{'label':{'name':_0x55b4e5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x37b592(_0x26a88c),'hidden$':_0xc3b9e4(_0x26a88c)};}function _0x59530b(_0x37c257){const _0x288634=_0x1a21ce;return{'id':_0x684ce2['id'],'type':_0x416351[_0x288634(0x2cc)][_0x288634(0xfe)],'icon':_0x288634(0x410),'title':_0x288634(0x35f),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x3ed8c6[_0x288634(0x10e)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x1c27de(_0x37c257)};}function _0x13d223(_0x57f711,_0x2c4f17,_0x3134f0=!0x1){const _0x4e6c5d=_0x1a21ce;return _0x34d255=>({'id':_0x57f711,'type':_0x416351[_0x4e6c5d(0x2cc)]['BUTTON'],'label':{'name':_0x2c4f17,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xc3b9e4(_0x34d255,_0x3134f0)});}let _0x89f316=_0x13d223(_0x65c245,_0x47e237),_0xe11359=_0x13d223(_0x248b70,_0x330cdf),_0x4e2b43=_0x13d223(_0x35fdb4,_0x501bd1,!0x0);function _0x1dac08(_0x3cbcad,_0x34314f,_0x106bf4,_0x3eb8b2){const _0x543caf=_0x1a21ce;return _0xfb89a7=>({'id':_0x3cbcad,'commandId':_0x57dfd6['SetDrawingArrangeCommand']['id'],'type':_0x416351[_0x543caf(0x2cc)][_0x543caf(0x2dd)],'icon':_0x106bf4,'title':_0x3eb8b2,'tooltip':_0x3eb8b2,'hidden$':_0xc3b9e4(_0xfb89a7),'params':()=>{const _0x14af2b=_0x543caf;let _0x5e9312=_0x25bfbb(_0xfb89a7);return _0x5e9312?{'unitId':_0x5e9312[_0x14af2b(0x197)],'subUnitId':_0x5e9312[_0x14af2b(0x4b3)],'drawingIds':[_0x5e9312[_0x14af2b(0x1f5)]],'arrangeType':_0x34314f}:void 0x0;}});}let _0x35db48=_0x1dac08(_0x2b0269,_0x5cf0ce[_0x1a21ce(0x348)]['forward'],_0x1a21ce(0x46f),_0x1a21ce(0x229)),_0x2229ad=_0x1dac08(_0x1287cd,_0x5cf0ce[_0x1a21ce(0x348)]['backward'],_0x1a21ce(0x12e),_0x1a21ce(0x21c)),_0x1097ed=_0x1dac08(_0x12d37b,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x294)],'TopmostIcon',_0x1a21ce(0x4c1)),_0x17d7fb=_0x1dac08(_0x2df8c3,_0x5cf0ce[_0x1a21ce(0x348)][_0x1a21ce(0x19b)],_0x1a21ce(0x2ae),_0x1a21ce(0x2aa));function _0x15b638(_0x32182e){const _0x1e0b8c=_0x1a21ce;return{'id':_0x212f1d['id'],'type':_0x416351['MenuItemType'][_0x1e0b8c(0x2dd)],'icon':'ShapeFormatSettingIcon','title':_0x1e0b8c(0x35c),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0xc3b9e4(_0x32182e),'params':()=>{const _0x122e64=_0x1e0b8c;let _0x18c119=_0x25bfbb(_0x32182e);return _0x18c119?{'unitId':_0x18c119[_0x122e64(0x197)],'subUnitId':_0x18c119[_0x122e64(0x4b3)],'drawingId':_0x18c119[_0x122e64(0x1f5)]}:void 0x0;}};}let _0x2bcfb6={[_0x416351[_0x1a21ce(0x3ad)]['RIBBON']]:{[_0x1e91c2]:{'order':0x64,'title':_0x1a21ce(0x35c),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x325d8a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3134e2},[_0x684ce2['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x59530b}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x65c245]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x89f316}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x248b70]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xe11359}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1eed22]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x41d2f5},[_0x2b0269]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x35db48},[_0x1287cd]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2229ad},[_0x12d37b]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1097ed},[_0x2df8c3]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x17d7fb}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x35fdb4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x4e2b43}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x212f1d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x15b638},[_0x3ed8c6[_0x1a21ce(0x190)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3ed8c6[_0x1a21ce(0x26c)]}}}}},_0x3456ab={[_0x416351['RibbonInsertGroup']['MEDIA']]:{[_0x224af7['id']]:{'order':0x3,'menuItemFactory':_0x2b3cc1}}},_0x54229f={..._0x3456ab,[_0x416351[_0x1a21ce(0x369)][_0x1a21ce(0x266)]]:{[_0x106220['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0xff80a}},[_0x416351[_0x1a21ce(0x132)]['DRAWING']]:{[_0x416351[_0x1a21ce(0x3ec)]['OTHERS']]:{[_0x1eed22]:{'order':0x4,'menuItemFactory':_0x230a4e},[_0x2d888b]:{'order':0x5,'menuItemFactory':_0x41d2f5}}}};var _0x6f3664=_0x1a21ce(0x18f),_0x46f9c2='1.1.0';let _0x2a1c58={'id':_0x1a21ce(0x263),'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'handler'(_0x1695b0,_0x12bbe5){const _0x4bf678=_0x1a21ce;return _0x12bbe5?(_0x1695b0[_0x4bf678(0x170)](_0x3ed8c6['MobileShapeEditorService'])[_0x4bf678(0x31d)](_0x12bbe5[_0x4bf678(0x222)],{'hostType':_0x5cf0ce[_0x4bf678(0x21e)][_0x4bf678(0x3a3)],'shapeId':_0x12bbe5[_0x4bf678(0x1f5)],'subUnitId':_0x12bbe5[_0x4bf678(0x4b3)],'unitId':_0x12bbe5[_0x4bf678(0x197)]}),!0x0):!0x1;}},_0x3f4761='sheets-shape-ui.config',_0x141627={},_0x360356=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0xfd65b,_0x474048,_0x9bccf6,_0x47a07f,_0x324e52){const _0x25def9=_0x1a21ce;super(),this[_0x25def9(0x4c9)]=_0xfd65b,this[_0x25def9(0x383)]=_0x474048,this['_renderManagerService']=_0x9bccf6,this[_0x25def9(0x2d5)]=_0x47a07f,this[_0x25def9(0x4b6)]=_0x324e52,_0x339d5f(this,_0x25def9(0x490),null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x25def9(0x251),null),_0x339d5f(this,_0x25def9(0x325),void 0x0),_0x339d5f(this,_0x25def9(0x287),[]),_0x339d5f(this,'_baseLeft',0x0),_0x339d5f(this,_0x25def9(0x459),0x0),_0x339d5f(this,_0x25def9(0x1f3),0x0),_0x339d5f(this,'_baseHeight',0x0),_0x339d5f(this,_0x25def9(0x3fe),!0x1),_0x339d5f(this,'_activeAdjustInfo',void 0x0),_0x339d5f(this,'_activeShapeModel',void 0x0),_0x339d5f(this,_0x25def9(0x1eb),void 0x0),_0x339d5f(this,_0x25def9(0x2e3),void 0x0),_0x339d5f(this,_0x25def9(0x3f8),!0x1),this[_0x25def9(0x24a)](),this['_registerMoveHandler']();}[_0x1a21ce(0x4af)](){const _0x3dc74b=_0x1a21ce;this[_0x3dc74b(0x221)]();}[_0x1a21ce(0x164)](){const _0x468162=_0x1a21ce;this[_0x468162(0x221)](),this['_createControls'](!0x0);}[_0x1a21ce(0x328)](_0x5ed007,_0x489b7b,_0x3877c6,_0x57e41e){const _0x590ca9=_0x1a21ce;let _0x477ca2=_0x5ed007;if(_0x477ca2!==_0x24d21b[_0x590ca9(0x4a6)][_0x590ca9(0x31c)]&&_0x5ed007!==_0x590ca9(0x1d0))try{let _0x1b73d3=new _0x24d21b['ShapeModel'](_0x477ca2,_0x590ca9(0x3ea)+_0x5ed007);return _0x57e41e&&_0x1b73d3['setShapeData']({'adjustValues':_0x57e41e},!0x0),_0x1b73d3['updateContext']({'width':_0x489b7b,'height':_0x3877c6}),_0x1b73d3;}catch{return;}}[_0x1a21ce(0x161)](_0x439cb3,_0x102a27,_0x48fcd3){const _0x285b00=_0x1a21ce;let _0x46b745={'unitId':_0x439cb3,'subUnitId':_0x102a27,'drawingId':_0x48fcd3},_0x3e5e51=this[_0x285b00(0x383)][_0x285b00(0x214)](_0x46b745);if(_0x3e5e51&&_0x3e5e51[_0x285b00(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x285b00(0x236)])return _0x3e5e51;}[_0x1a21ce(0x4c7)](_0x1d22dd,_0x3412cf,_0x36b11){const _0x2f7998=_0x1a21ce;let _0x378846=this[_0x2f7998(0x411)]['getRenderUnitById'](_0x1d22dd);if(!_0x378846)return;let {scene:_0x420c61}=_0x378846,_0x229769=(0x0,_0x2a2438[_0x2f7998(0x414)])({'unitId':_0x1d22dd,'subUnitId':_0x3412cf,'drawingId':_0x36b11}),_0x240f55=_0x420c61[_0x2f7998(0x26a)](_0x229769);if(_0x240f55 instanceof _0x4413bb[_0x2f7998(0x453)]){let _0x1dd2a3=_0x240f55['prstGeom'];if(_0x1dd2a3)return{'prstGeom':_0x1dd2a3,'adjustValues':_0x240f55['prstGeomAdjValues']};}}[_0x1a21ce(0x4a1)](_0xcba2e9=!0x1){const _0x3c371e=_0x1a21ce;if(!this[_0x3c371e(0x29c)]||!this[_0x3c371e(0x251)]||!this[_0x3c371e(0x490)])return;let _0x1e7726=this[_0x3c371e(0x411)]['getRenderUnitById'](this[_0x3c371e(0x29c)]);if(!_0x1e7726||!_0x1e7726[_0x3c371e(0x18b)](_0x3e532c[_0x3c371e(0x432)])[_0x3c371e(0x475)]())return;let {scene:_0x2b7e61}=_0x1e7726,_0x407344=this['_getImageDrawingInfo'](this[_0x3c371e(0x29c)],this['_subUnitId'],this[_0x3c371e(0x490)]);if(!_0x407344)return;let {transform:_0x32a5b1}=_0x407344;if(!_0x32a5b1)return;let {left:_0x315e1f,top:_0x44f43e,width:_0x3731d6,height:_0xec9a16,flipX:_0x4bfac1,flipY:_0x23c839,angle:_0x2c02ba=0x0}=_0x32a5b1;if(_0x315e1f===void 0x0||_0x44f43e===void 0x0)return;let _0x1219ee=this['_getImagePrstGeom'](this['_unitId'],this[_0x3c371e(0x251)],this['_activeImageId']);if(!_0x1219ee)return;if(_0xcba2e9){let _0x3fa0a1=this[_0x3c371e(0x328)](_0x1219ee[_0x3c371e(0x112)],_0x3731d6||0x0,_0xec9a16||0x0,_0x1219ee['adjustValues']);if(!_0x3fa0a1)return;this[_0x3c371e(0x325)]=_0x3fa0a1[_0x3c371e(0x37c)]();}let _0x130315=this[_0x3c371e(0x325)];if(_0x130315&&_0x130315[_0x3c371e(0x38a)]!==0x0)for(let _0x34b7b5=0x0;_0x34b7b5<_0x130315[_0x3c371e(0x38a)];_0x34b7b5++){let _0x3cd5c7=_0x130315[_0x34b7b5],_0x563fa9=_0x3cd5c7['x'],_0x1239af=_0x3cd5c7['y'];if(_0x4bfac1&&(_0x563fa9=(_0x3731d6||0x0)-_0x563fa9),_0x23c839&&(_0x1239af=(_0xec9a16||0x0)-_0x1239af),_0x2c02ba!==0x0){let _0x31564e=(_0x3731d6||0x0)/0x2,_0x1fe309=(_0xec9a16||0x0)/0x2,_0x131ca4=_0x2c02ba*Math['PI']/0xb4,_0x5ba2e6=Math[_0x3c371e(0x127)](_0x131ca4),_0x3153f7=Math[_0x3c371e(0x1bc)](_0x131ca4),_0x22cb08=_0x563fa9-_0x31564e,_0x3d26b0=_0x1239af-_0x1fe309;_0x563fa9=_0x31564e+(_0x22cb08*_0x5ba2e6-_0x3d26b0*_0x3153f7),_0x1239af=_0x1fe309+(_0x22cb08*_0x3153f7+_0x3d26b0*_0x5ba2e6);}let _0x51aff5={'x':_0x563fa9,'y':_0x1239af,'adjName':_0x3cd5c7[_0x3c371e(0xe9)]};this[_0x3c371e(0x102)](_0x2b7e61,_0x51aff5,_0x51aff5[_0x3c371e(0xe9)],_0x315e1f,_0x44f43e,this[_0x3c371e(0x29c)],this[_0x3c371e(0x251)]);}}[_0x1a21ce(0x102)](_0x2c5c70,_0x5a5c30,_0x41c75c,_0x2ffce3,_0x10f849,_0x1f7150,_0x1ce24e){const _0x214be7=_0x1a21ce;if(!this[_0x214be7(0x490)])return;let _0x3c0bd6=_0x214be7(0x118)+this[_0x214be7(0x490)]+'-'+_0x41c75c,_0x5376f5=_0x2c5c70['getObjectIncludeInGroup'](_0x3c0bd6);if(_0x5376f5){_0x5376f5[_0x214be7(0x4bb)]({'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b['ShapeDefaultConfig'][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]});return;}let _0x341e45=new _0x4b14c3(_0x3c0bd6,{'left':_0x5a5c30['x']+_0x2ffce3-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'top':_0x5a5c30['y']+_0x10f849-_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)],'adjName':_0x41c75c,'shapeId':this[_0x214be7(0x490)],'unitId':_0x1f7150,'subUnitId':_0x1ce24e,'width':_0x24d21b['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x24d21b[_0x214be7(0x1a9)][_0x214be7(0x3e6)]+0x8,'zIndex':_0x4413bb[_0x214be7(0x1ab)]+0x1,'evented':!0x0});this['_shapes'][_0x214be7(0x109)](_0x341e45),this[_0x214be7(0x247)](_0x341e45,_0x2c5c70,_0x41c75c),_0x2c5c70[_0x214be7(0x141)](_0x341e45,_0x4413bb[_0x214be7(0x1ab)]+0x1);}[_0x1a21ce(0x221)](){const _0x37ed2e=_0x1a21ce;this[_0x37ed2e(0x287)][_0x37ed2e(0x38a)]!==0x0&&(this['_shapes']['forEach'](_0x40c9d1=>_0x40c9d1[_0x37ed2e(0x351)]()),this[_0x37ed2e(0x287)]=[]);}[_0x1a21ce(0x39b)](_0x15ea91,_0x299d5b){const _0x31094a=_0x1a21ce;var _0x33ac8e;let _0x578e83={'x':0x0,'y':0x0},_0x17173f=this[_0x31094a(0x411)][_0x31094a(0x3ce)](_0x15ea91);if(!_0x17173f||!_0x17173f['with'](_0x3e532c[_0x31094a(0x432)])['getSkeleton'](_0x299d5b))return _0x578e83;let _0xe1a331=_0x17173f[_0x31094a(0x18b)](_0x3e532c[_0x31094a(0x47c)]),_0x21372f=_0xe1a331==null?void 0x0:_0xe1a331['getCurrentScrollState']();if(!_0x21372f)return _0x578e83;let _0x45f794=(_0x33ac8e=this[_0x31094a(0x2d5)]['getUnit'](_0x15ea91))==null?void 0x0:_0x33ac8e[_0x31094a(0x1c4)](_0x299d5b);if(!_0x45f794)return _0x578e83;let _0x3e8fc6=(0x0,_0x3e532c['getViewportByCell'])(_0x21372f[_0x31094a(0x3ff)],_0x21372f['sheetViewStartColumn'],_0x17173f[_0x31094a(0x2d7)],_0x45f794);return _0x3e8fc6?{'x':_0x3e8fc6['viewportScrollX'],'y':_0x3e8fc6[_0x31094a(0x491)]}:_0x578e83;}[_0x1a21ce(0x129)](_0x27abe5,_0x2168d3){const _0x3a3420=_0x1a21ce;var _0x503283;let _0x14ae6e=(_0x503283=this[_0x3a3420(0x2d5)]['getUnit'](_0x27abe5))==null?void 0x0:_0x503283['getSheetBySheetId'](_0x2168d3);return(_0x14ae6e==null?void 0x0:_0x14ae6e[_0x3a3420(0xea)]())??0x1;}[_0x1a21ce(0x247)](_0x3cfd75,_0x170d1c,_0x50f562){const _0x5e3eee=_0x1a21ce;this[_0x5e3eee(0x4c4)]((0x0,_0x5cf0ce['toDisposable'])(_0x3cfd75[_0x5e3eee(0x39e)][_0x5e3eee(0x3fc)]((_0xfc4517,_0x37528f)=>{const _0x4a2d3c=_0x5e3eee;var _0x5c025f,_0x21739b,_0x5d6848;let {unitId:_0x557182,subUnitId:_0x2a7a63,drawingId:_0x3ae97d}=_0x3cfd75[_0x4a2d3c(0x1a8)](),_0x180530=this[_0x4a2d3c(0x161)](_0x557182,_0x2a7a63,_0x3ae97d);if(!(_0x180530!=null&&_0x180530[_0x4a2d3c(0x3a9)]))return;let {left:_0x28ee09,top:_0x3c7148,width:_0x126e66,height:_0x21b9f0}=_0x180530['transform'];this[_0x4a2d3c(0x3ab)]=_0x28ee09||0x0,this[_0x4a2d3c(0x459)]=_0x3c7148||0x0,this[_0x4a2d3c(0x1f3)]=_0x126e66||0x0,this['_baseHeight']=_0x21b9f0||0x0;let _0x222f68=!!((_0x5c025f=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x5c025f[_0x4a2d3c(0x405)]),_0x21669b=!!((_0x21739b=_0x180530[_0x4a2d3c(0x3a9)])!=null&&_0x21739b[_0x4a2d3c(0x488)]),_0x5281ec=((_0x5d6848=_0x180530['transform'])==null?void 0x0:_0x5d6848[_0x4a2d3c(0x11e)])||0x0,_0x5f064d=this[_0x4a2d3c(0x4c7)](_0x557182,_0x2a7a63,_0x3ae97d);if(!_0x5f064d)return;let _0x126bb1=this[_0x4a2d3c(0x328)](_0x5f064d[_0x4a2d3c(0x112)],this[_0x4a2d3c(0x1f3)],this[_0x4a2d3c(0x171)],_0x5f064d['adjustValues']);if(!_0x126bb1||(this[_0x4a2d3c(0xf3)]=_0x126bb1,this[_0x4a2d3c(0x209)]=_0x126bb1['getAdjustInfoByName'](_0x50f562),!this['_activeAdjustInfo']))return;this['_isStartAdjusting']=!0x0,_0x170d1c[_0x4a2d3c(0x2c1)]();let _0x4ab481=_0x5f064d['prstGeom'];this[_0x4a2d3c(0x1eb)]=_0x170d1c[_0x4a2d3c(0xee)][_0x4a2d3c(0x3fc)]((_0x559fbe,_0x290ebf)=>{const _0x1ede54=_0x4a2d3c;if(!this['_isStartAdjusting'])return;let {offsetX:_0x34015b,offsetY:_0x50d9ed}=_0x559fbe,_0x40efbe=this[_0x1ede54(0x209)];if(!this['_activeShapeModel']||!_0x40efbe)return;_0x170d1c[_0x1ede54(0x2c1)](),_0x170d1c[_0x1ede54(0x379)](_0x4413bb[_0x1ede54(0x2b9)]['CROSSHAIR']);let _0x3c1740={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x1ede54(0x171)]},_0x369c1a=this[_0x1ede54(0x39b)](_0x557182,_0x2a7a63),_0x17bac9=this[_0x1ede54(0x129)](_0x557182,_0x2a7a63),_0x894f4c=_0x34015b/_0x17bac9+_0x369c1a['x']-this[_0x1ede54(0x3ab)],_0x29e8d3=_0x50d9ed/_0x17bac9+_0x369c1a['y']-this[_0x1ede54(0x459)];if(_0x5281ec!==0x0){let _0x548c7a=this[_0x1ede54(0x1f3)]/0x2,_0x1d1568=this[_0x1ede54(0x171)]/0x2,_0x45ce99=_0x5281ec*Math['PI']/0xb4,_0x34a57f=Math['cos'](_0x45ce99),_0x232e0a=Math[_0x1ede54(0x1bc)](_0x45ce99),_0x8d3497=_0x894f4c-_0x548c7a,_0x566c3c=_0x29e8d3-_0x1d1568;_0x894f4c=_0x548c7a+(_0x8d3497*_0x34a57f+_0x566c3c*_0x232e0a),_0x29e8d3=_0x1d1568+(-_0x8d3497*_0x232e0a+_0x566c3c*_0x34a57f);}_0x222f68&&(_0x894f4c=this['_baseWidth']-_0x894f4c),_0x21669b&&(_0x29e8d3=this[_0x1ede54(0x171)]-_0x29e8d3);let _0xf5849f=this['_activeShapeModel'][_0x1ede54(0x133)](_0x3c1740,{'x':_0x894f4c,'y':_0x29e8d3},_0x40efbe,_0x222f68,_0x21669b);if(Object[_0x1ede54(0x353)](_0xf5849f)[_0x1ede54(0x38a)]!==0x0){for(let [_0x215163,_0x1ace46]of Object[_0x1ede54(0x210)](_0xf5849f))this['_activeShapeModel']['setAdjustValueByName'](_0x215163,_0x1ace46);this[_0x1ede54(0xf3)][_0x1ede54(0x433)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this['_updateImageAdjValues'](_0x557182,_0x2a7a63,_0x3ae97d,_0xf5849f),this[_0x1ede54(0x325)]=this['_activeShapeModel'][_0x1ede54(0x37c)](),this[_0x1ede54(0x4a1)](),_0x290ebf[_0x1ede54(0x344)]();}}),this['_adjHandlerPointerUp']=_0x170d1c[_0x4a2d3c(0x3c5)][_0x4a2d3c(0x3fc)]((_0x1344ae,_0x5a474a)=>{const _0x2156e7=_0x4a2d3c;if(this[_0x2156e7(0x1eb)][_0x2156e7(0x15a)](),this['_adjHandlerPointerUp']['unsubscribe'](),_0x170d1c[_0x2156e7(0x3c0)](),this[_0x2156e7(0xf3)]){let _0x1bb681=this[_0x2156e7(0xf3)]['getAdjustNames'](),_0x5dfaf7={};for(let _0x23fcc6 of _0x1bb681){let _0x493dd5=this[_0x2156e7(0xf3)][_0x2156e7(0x317)](_0x23fcc6);_0x493dd5!==void 0x0&&(_0x5dfaf7[_0x23fcc6]=_0x493dd5);}this[_0x2156e7(0x4b6)]['clipByShape'](_0x557182,_0x2a7a63,_0x3ae97d,_0x4ab481,_0x5dfaf7);}this['_activeAdjustInfo']=void 0x0,this[_0x2156e7(0xf3)]=void 0x0,this[_0x2156e7(0x3fe)]=!0x1,_0x5a474a[_0x2156e7(0x344)](),_0x170d1c[_0x2156e7(0x415)]();}),_0x37528f[_0x4a2d3c(0x344)]();})));}[_0x1a21ce(0x34a)](_0x3c2f8d,_0x86a57c,_0x27225c,_0x23502c){const _0x96b94b=_0x1a21ce;let _0x3ae774=this[_0x96b94b(0x411)][_0x96b94b(0x3ce)](_0x3c2f8d);if(!_0x3ae774)return;let {scene:_0xe5bd8d}=_0x3ae774,_0x53c0f6=(0x0,_0x2a2438[_0x96b94b(0x414)])({'unitId':_0x3c2f8d,'subUnitId':_0x86a57c,'drawingId':_0x27225c}),_0x5809e1=_0xe5bd8d[_0x96b94b(0x26a)](_0x53c0f6);if(_0x5809e1 instanceof _0x4413bb[_0x96b94b(0x453)]){let _0x3dba1b=_0x5809e1[_0x96b94b(0x322)]??{};_0x5809e1['setPrstGeomAdjValues']({..._0x3dba1b,..._0x23502c}),_0x5809e1['makeDirty'](!0x0);}}['_registerMoveHandler'](){const _0x12e48c=_0x1a21ce;let _0x31bc9f=this[_0x12e48c(0x2d5)][_0x12e48c(0x17a)](_0x5cf0ce[_0x12e48c(0x21e)][_0x12e48c(0x3a3)]);this[_0x12e48c(0x4c4)](_0x31bc9f[_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x353631=>_0x353631?_0x353631[_0x12e48c(0x2c0)][_0x12e48c(0x472)]((0x0,_0x4cb228[_0x12e48c(0x116)])(_0x41509b=>{const _0x2f320c=_0x12e48c;if(!_0x41509b)return _0x4cb228[_0x2f320c(0x223)];let _0x43e90c=_0x353631[_0x2f320c(0x290)](),_0x6cc49=this[_0x2f320c(0x411)][_0x2f320c(0x3ce)](_0x43e90c),_0x1e0d7d=_0x6cc49==null?void 0x0:_0x6cc49[_0x2f320c(0x2d7)];return _0x1e0d7d?(0x0,_0x4cb228['of'])(_0x1e0d7d):_0x4cb228[_0x2f320c(0x223)];})):_0x4cb228[_0x12e48c(0x223)]))[_0x12e48c(0x3e7)](_0x2233b3=>{const _0x566f86=_0x12e48c;let _0x531d82=_0x2233b3[_0x566f86(0x17e)]();this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0xee)][_0x566f86(0x3fc)](()=>{const _0x4ecd4c=_0x566f86;this[_0x4ecd4c(0x3f8)]&&this['_clearControls']();})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x3f9)][_0x566f86(0x3e7)](_0x401c24=>{const _0x393e42=_0x566f86;let {objects:_0x4ea715}=_0x401c24;if(this[_0x393e42(0x4a1)](),_0x4ea715!==null&&_0x4ea715[_0x393e42(0x32b)]===0x1){let _0x22b5cf=_0x4ea715['values']()[_0x393e42(0x395)]()[_0x393e42(0x2f5)];_0x22b5cf instanceof _0x4413bb[_0x393e42(0x453)]&&_0x22b5cf[_0x393e42(0x112)]&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x531d82[_0x566f86(0x4ab)][_0x566f86(0x3e7)](()=>{const _0x3b956f=_0x566f86;this[_0x3b956f(0x3f8)]&&this[_0x3b956f(0x221)]();})),this[_0x566f86(0x4c4)](_0x2233b3[_0x566f86(0x3c5)][_0x566f86(0x3fc)](()=>{const _0x5e9ace=_0x566f86;this[_0x5e9ace(0x3f8)]&&(this[_0x5e9ace(0x3f8)]=!0x1,this[_0x5e9ace(0x4a1)]());})),this[_0x566f86(0x4c4)](_0x531d82[_0x566f86(0x154)][_0x566f86(0x3e7)](()=>{const _0x51373f=_0x566f86;if(this[_0x51373f(0x29c)]&&this['_subUnitId']&&this['_activeImageId']){let _0x2db4a4=this[_0x51373f(0x4c7)](this[_0x51373f(0x29c)],this[_0x51373f(0x251)],this[_0x51373f(0x490)]);if(_0x2db4a4){var _0x950946,_0x4d4052;let _0x5df56c=this[_0x51373f(0x161)](this[_0x51373f(0x29c)],this['_subUnitId'],this[_0x51373f(0x490)]),_0x2bdf24=(_0x5df56c==null||(_0x950946=_0x5df56c[_0x51373f(0x3a9)])==null?void 0x0:_0x950946[_0x51373f(0x36b)])||0x0,_0x385133=(_0x5df56c==null||(_0x4d4052=_0x5df56c['transform'])==null?void 0x0:_0x4d4052[_0x51373f(0x31b)])||0x0,_0x354c1e=this[_0x51373f(0x328)](_0x2db4a4[_0x51373f(0x112)],_0x2bdf24,_0x385133,_0x2db4a4['adjustValues']);_0x354c1e&&(this['_activeAdjustPointList']=_0x354c1e['getDrawingPoints'](),this['_clearControls'](),this[_0x51373f(0x4a1)](!0x0));}}}));}));}[_0x1a21ce(0x24a)](){const _0x26aa8c=_0x1a21ce;this['disposeWithMe'](this[_0x26aa8c(0x383)]['focus$'][_0x26aa8c(0x3e7)](_0x1b34aa=>{const _0x4080d3=_0x26aa8c;if(_0x1b34aa[_0x4080d3(0x38a)]===0x1){let _0x2fd262=_0x1b34aa[0x0];if(_0x2fd262[_0x4080d3(0x497)]===_0x5cf0ce[_0x4080d3(0x1c1)]['DRAWING_IMAGE']){let {unitId:_0x5b7c22,subUnitId:_0x59ffb9,drawingId:_0x2bca03}=_0x2fd262,_0x57f381=this[_0x4080d3(0x4c7)](_0x5b7c22,_0x59ffb9,_0x2bca03);if(_0x57f381){var _0x58fc94,_0x546047;this[_0x4080d3(0x490)]=_0x2bca03,this[_0x4080d3(0x29c)]=_0x5b7c22,this[_0x4080d3(0x251)]=_0x59ffb9;let _0x14506f=this[_0x4080d3(0x161)](_0x5b7c22,_0x59ffb9,_0x2bca03),_0x4e07cc=(_0x14506f==null||(_0x58fc94=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x58fc94[_0x4080d3(0x36b)])||0x0,_0x542467=(_0x14506f==null||(_0x546047=_0x14506f[_0x4080d3(0x3a9)])==null?void 0x0:_0x546047[_0x4080d3(0x31b)])||0x0,_0x35d7fd=this[_0x4080d3(0x328)](_0x57f381[_0x4080d3(0x112)],_0x4e07cc,_0x542467,_0x57f381[_0x4080d3(0x324)]);_0x35d7fd&&(this[_0x4080d3(0x325)]=_0x35d7fd[_0x4080d3(0x37c)]()),this[_0x4080d3(0x221)](),this[_0x4080d3(0x4a1)](!0x0);}else this[_0x4080d3(0x261)]();}else this['_resetState']();}else this['_resetState']();})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x479)][_0x26aa8c(0x3e7)](_0x777b79=>{const _0x1cfad1=_0x26aa8c;if(_0x777b79[_0x1cfad1(0x38a)]===0x1){let _0x5ec93c=_0x777b79[0x0],_0x3bf505=this[_0x1cfad1(0x383)]['getDrawingByParam'](_0x5ec93c);(_0x3bf505==null?void 0x0:_0x3bf505['drawingType'])===_0x5cf0ce['DrawingTypeEnum'][_0x1cfad1(0x236)]&&this['_activeImageId']===_0x5ec93c[_0x1cfad1(0x1f5)]&&(this[_0x1cfad1(0x221)](),this[_0x1cfad1(0x4a1)](!0x0));}})),this[_0x26aa8c(0x4c4)](this['_drawingManagerService'][_0x26aa8c(0x44c)][_0x26aa8c(0x3e7)](_0x199bed=>{const _0x1d8987=_0x26aa8c;for(let _0x2d0045 of _0x199bed)this[_0x1d8987(0x490)]===_0x2d0045['drawingId']&&this['_resetState']();}));}[_0x1a21ce(0x261)](){const _0x1b8fd8=_0x1a21ce;this[_0x1b8fd8(0x490)]=null,this[_0x1b8fd8(0x29c)]=null,this[_0x1b8fd8(0x251)]=null,this[_0x1b8fd8(0x325)]=void 0x0,this[_0x1b8fd8(0x221)]();}};_0x360356=_0x3f6514([_0x4512b4(0x1,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x133380))],_0x360356);function _0x1aa9c1({ref:_0x170632,..._0x57b552}){const _0x29f361=_0x1a21ce;let {preserveStrokeWidth:_0x1286f6,icon:_0x37de4b,id:_0x269d6f,className:_0x29dad4,extend:_0x59d554,..._0x21b585}=_0x57b552,_0x3da617=('univerjs-icon\x20univerjs-icon-'+_0x269d6f+'\x20'+(_0x29dad4||''))[_0x29f361(0x1ae)](),_0x3cc319='_'+(0x0,_0x41b065[_0x29f361(0x40d)])(),_0x4459d5=(0x0,_0x41b065['useRef'])(null);return(0x0,_0x41b065['useImperativeHandle'])(_0x170632,()=>_0x4459d5[_0x29f361(0x110)]),(0x0,_0x41b065[_0x29f361(0x3b9)])(()=>{const _0x4d210a=_0x29f361;if(_0x1286f6&&_0x4459d5[_0x4d210a(0x110)]&&_0x4459d5[_0x4d210a(0x110)][_0x4d210a(0x162)]===_0x37de4b[_0x4d210a(0x26b)])return _0x4aedeb(_0x4459d5[_0x4d210a(0x110)]);},[_0x1286f6,_0x37de4b]),_0x3dd000(_0x37de4b,''+_0x269d6f,{'defIds':_0x37de4b[_0x29f361(0x354)],'idSuffix':_0x3cc319},{'ref':_0x4459d5,'className':_0x3da617,..._0x21b585},_0x59d554);}function _0x3dd000(_0x1cf784,_0x46de6f,_0x248f29,_0x341ce6,_0x5ea1e0){const _0x397c29=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1cf784[_0x397c29(0x26b)],{'key':_0x46de6f,..._0x3185f9(_0x1cf784,_0x248f29,_0x5ea1e0),..._0x341ce6},(_0x2baf7c(_0x1cf784,_0x248f29)['children']||[])[_0x397c29(0x41e)]((_0x12b85f,_0x3c252a)=>_0x3dd000(_0x12b85f,_0x46de6f+'-'+_0x1cf784[_0x397c29(0x26b)]+'-'+_0x3c252a,_0x248f29,void 0x0,_0x5ea1e0)));}function _0x3185f9(_0x24cc79,_0x33763d,_0x3d6e1a){const _0x366fa9=_0x1a21ce;let _0x440d46={..._0x24cc79['attrs']};_0x3d6e1a!=null&&_0x3d6e1a[_0x366fa9(0x48a)]&&_0x440d46['fill']==='colorChannel1'&&(_0x440d46['fill']=_0x3d6e1a[_0x366fa9(0x48a)]),_0x3d6e1a!=null&&_0x3d6e1a['colorChannel1']&&_0x440d46[_0x366fa9(0x1f2)]===_0x366fa9(0x48a)&&(_0x440d46['stroke']=_0x3d6e1a['colorChannel1']),_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x2a8)&&_0x440d46['id']&&(_0x440d46['id']+=_0x33763d[_0x366fa9(0x2fb)]),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x294d88,_0x350b3b])=>{const _0x4ed23c=_0x366fa9;_0x294d88==='mask'&&typeof _0x350b3b==_0x4ed23c(0x130)&&(_0x440d46[_0x294d88]=_0x350b3b[_0x4ed23c(0x22d)](/url\(#(.*)\)/,'url(#$1'+_0x33763d['idSuffix']+')'));});let {defIds:_0x2482bd}=_0x33763d;return!_0x2482bd||_0x2482bd[_0x366fa9(0x38a)]===0x0||(_0x24cc79[_0x366fa9(0x26b)]===_0x366fa9(0x3bc)&&_0x440d46[_0x366fa9(0x2ed)]&&(_0x440d46[_0x366fa9(0x2ed)]+=_0x33763d['idSuffix']),Object[_0x366fa9(0x210)](_0x440d46)[_0x366fa9(0x123)](([_0x2ae32f,_0x5c6aed])=>{const _0x2697d7=_0x366fa9;typeof _0x5c6aed=='string'&&(_0x440d46[_0x2ae32f]=_0x5c6aed[_0x2697d7(0x22d)](/url\(#(.*)\)/,_0x2697d7(0x22f)+_0x33763d['idSuffix']+')'));})),_0x440d46;}function _0x2baf7c(_0x5c6ed4,_0x412700){const _0x27bbef=_0x1a21ce;var _0x37dc37;let {defIds:_0x100744}=_0x412700;return!_0x100744||_0x100744['length']===0x0?_0x5c6ed4:_0x5c6ed4['tag']==='defs'&&(_0x37dc37=_0x5c6ed4[_0x27bbef(0x2c2)])!=null&&_0x37dc37[_0x27bbef(0x38a)]?{..._0x5c6ed4,'children':_0x5c6ed4[_0x27bbef(0x2c2)][_0x27bbef(0x41e)](_0x3c1db0=>typeof _0x3c1db0[_0x27bbef(0x2a0)]['id']==_0x27bbef(0x130)&&_0x100744&&_0x100744[_0x27bbef(0x24f)](_0x3c1db0[_0x27bbef(0x2a0)]['id'])?{..._0x3c1db0,'attrs':{..._0x3c1db0['attrs'],'id':_0x3c1db0[_0x27bbef(0x2a0)]['id']+_0x412700[_0x27bbef(0x2fb)]}}:_0x3c1db0)}:_0x5c6ed4;}function _0x4aedeb(_0xe2312c){const _0x3c140a=_0x1a21ce;let _0x3e31db=_0xe2312c[_0x3c140a(0x2c8)][_0x3c140a(0x20c)],_0x447b91=Math[_0x3c140a(0x397)](_0x3e31db[_0x3c140a(0x36b)],_0x3e31db[_0x3c140a(0x31b)]);if(!Number['isFinite'](_0x447b91)||_0x447b91<=0x0||_0x3e31db[_0x3c140a(0x36b)]<=0x0||_0x3e31db[_0x3c140a(0x31b)]<=0x0)return()=>void 0x0;let _0x652508=0x10/_0x447b91,_0x396bee=Array['from'](_0xe2312c[_0x3c140a(0x4a3)](_0x3c140a(0x1a4)))[_0x3c140a(0x466)](_0x5126ca=>{const _0x13a6f3=_0x3c140a;let _0x9b612f=getComputedStyle(_0x5126ca),_0x3c955b=Number[_0x13a6f3(0x3d8)](_0x9b612f['strokeWidth']);return _0x9b612f[_0x13a6f3(0x1f2)]===_0x13a6f3(0x2dc)||Number['parseFloat'](_0x9b612f['strokeOpacity'])===0x0||_0x9b612f[_0x13a6f3(0x462)]===_0x13a6f3(0xe0)||!Number[_0x13a6f3(0xed)](_0x3c955b)||_0x3c955b<=0x0?[]:[{'element':_0x5126ca,'hadStyleAttribute':_0x5126ca[_0x13a6f3(0x28e)](_0x13a6f3(0x204)),'originalStrokeWidth':_0x3c955b,'strokeWidth':_0x26a885(_0x5126ca[_0x13a6f3(0x204)],'stroke-width')}];})[_0x3c140a(0x41e)](_0x3e581d=>({'appliedStrokeWidth':null,'element':_0x3e581d[_0x3c140a(0x315)],'hadStyleAttribute':_0x3e581d[_0x3c140a(0x36e)],'isReleased':!0x1,'originalStrokeWidth':_0x3e581d[_0x3c140a(0x17d)],'strokeWidth':_0x3e581d[_0x3c140a(0xef)]}));if(_0x396bee[_0x3c140a(0x38a)]===0x0)return()=>void 0x0;let _0x8eefa1=(_0x182d51,_0x391a0b)=>{const _0x3bd658=_0x3c140a;if(_0x3e31db['width']<=0x0||_0x3e31db[_0x3bd658(0x31b)]<=0x0||_0x182d51<=0x0||_0x391a0b<=0x0)return;let _0x494876=Math[_0x3bd658(0x3df)](_0x182d51/_0x3e31db['width'],_0x391a0b/_0x3e31db['height']);!Number[_0x3bd658(0xed)](_0x494876)||_0x494876<=0x0||_0x396bee[_0x3bd658(0x123)](_0x19833c=>{const _0xe28586=_0x3bd658;if(_0x19833c['isReleased'])return;if(_0x19833c[_0xe28586(0x2f3)]!==null&&(_0x19833c[_0xe28586(0x315)]['style'][_0xe28586(0x26d)]('stroke-width')!==_0x19833c[_0xe28586(0x2f3)]||_0x19833c[_0xe28586(0x315)]['style']['getPropertyPriority'](_0xe28586(0x284))!==_0x19833c[_0xe28586(0xef)]['priority'])){_0x19833c['appliedStrokeWidth']=null,_0x19833c['isReleased']=!0x0;return;}let _0x2831a8=_0x19833c[_0xe28586(0x17d)]*_0x652508/_0x494876,_0xade403=Number(_0x2831a8[_0xe28586(0x3d2)](0xc))+'px';_0x19833c[_0xe28586(0x315)][_0xe28586(0x204)][_0xe28586(0x1de)](_0xe28586(0x284),_0xade403,_0x19833c[_0xe28586(0xef)][_0xe28586(0x442)]),_0x19833c[_0xe28586(0x2f3)]=_0xade403;});},_0x284521=_0xe2312c[_0x3c140a(0x3f0)]();_0x8eefa1(_0x284521[_0x3c140a(0x36b)],_0x284521[_0x3c140a(0x31b)]);let _0x3905f8=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x32667f=>{const _0xd8ba7a=_0x3c140a;if(_0x32667f['some'](_0x2c9777=>_0x2c9777['target']===_0xe2312c)){let _0x70fda2=_0xe2312c[_0xd8ba7a(0x3f0)]();_0x8eefa1(_0x70fda2[_0xd8ba7a(0x36b)],_0x70fda2[_0xd8ba7a(0x31b)]);}});return _0x3905f8==null||_0x3905f8['observe'](_0xe2312c),()=>{const _0x53bd65=_0x3c140a;_0x3905f8==null||_0x3905f8[_0x53bd65(0x39d)](),_0x396bee[_0x53bd65(0x123)](_0x36f2ae=>{const _0x495c30=_0x53bd65;_0x36f2ae[_0x495c30(0x2f3)]!==null&&(_0x5df476(_0x36f2ae[_0x495c30(0x315)]['style'],_0x495c30(0x284),_0x36f2ae[_0x495c30(0x2f3)],_0x36f2ae[_0x495c30(0xef)]['priority'],_0x36f2ae[_0x495c30(0xef)]),!_0x36f2ae[_0x495c30(0x36e)]&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x204)][_0x495c30(0x38a)]===0x0&&_0x36f2ae[_0x495c30(0x315)][_0x495c30(0x300)](_0x495c30(0x204)));});};}function _0x26a885(_0x5d68ec,_0x4f6f13){const _0x225379=_0x1a21ce;return{'priority':_0x5d68ec[_0x225379(0x25b)](_0x4f6f13),'value':_0x5d68ec[_0x225379(0x26d)](_0x4f6f13)};}function _0x5df476(_0x19ac67,_0x1e0870,_0x3d0822,_0x204cd1,_0x5f9884){const _0x1dfad4=_0x1a21ce;_0x19ac67[_0x1dfad4(0x26d)](_0x1e0870)===_0x3d0822&&_0x19ac67[_0x1dfad4(0x25b)](_0x1e0870)===_0x204cd1&&(_0x5f9884[_0x1dfad4(0x2f5)]?_0x19ac67['setProperty'](_0x1e0870,_0x5f9884['value'],_0x5f9884['priority']):_0x19ac67[_0x1dfad4(0x136)](_0x1e0870));}_0x1aa9c1[_0x1a21ce(0x2f1)]=_0x1a21ce(0x495);let _0x31b352={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x3b0),'width':'1em','height':_0x1a21ce(0x496)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'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','fillRule':_0x1a21ce(0x2de),'clipRule':'evenodd'}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'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':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x140)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x37e)}}]},_0x5d5b89=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x697d5e,_0x204dc4){const _0x20183c=_0x1a21ce;return(0x0,_0x41b065['createElement'])(_0x1aa9c1,Object[_0x20183c(0x147)]({},_0x697d5e,{'id':'bottom-icon','ref':_0x204dc4,'icon':_0x31b352}));});_0x5d5b89[_0x1a21ce(0x2f1)]='BottomIcon';let _0x1eb514={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2b6),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x2e9),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x3f5),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x4c0),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x49a),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M8\x2014V14.2','strokeLinecap':'round','strokeWidth':1.2}}]},_0x3e2952=(0x0,_0x41b065['forwardRef'])(function(_0xb0694e,_0x3a725b){const _0x2c08da=_0x1a21ce;return(0x0,_0x41b065[_0x2c08da(0x478)])(_0x1aa9c1,Object['assign']({},_0xb0694e,{'id':_0x2c08da(0x1a0),'ref':_0x3a725b,'icon':_0x1eb514}));});_0x3e2952[_0x1a21ce(0x2f1)]=_0x1a21ce(0x346);let _0x510836={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x356),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M2.2\x208H3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x15f),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':'M10.2\x208H11.8','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M14\x208H14.2','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}}]},_0xd31e07=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0xa3904f,_0x493342){const _0x423068=_0x1a21ce;return(0x0,_0x41b065[_0x423068(0x478)])(_0x1aa9c1,Object[_0x423068(0x147)]({},_0xa3904f,{'id':'flip-vertical-icon','ref':_0x493342,'icon':_0x510836}));});_0xd31e07[_0x1a21ce(0x2f1)]=_0x1a21ce(0x220);let _0x6f100f={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'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','fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x47f)}}]},_0x2fde21=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x28609f,_0x28c172){const _0x3c9ea0=_0x1a21ce;return(0x0,_0x41b065[_0x3c9ea0(0x478)])(_0x1aa9c1,Object[_0x3c9ea0(0x147)]({},_0x28609f,{'id':'move-down-icon','ref':_0x28c172,'icon':_0x6f100f}));});_0x2fde21[_0x1a21ce(0x2f1)]=_0x1a21ce(0x12e);let _0x57eaa5={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':'none','viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x24d),'fillRule':_0x1a21ce(0x2de),'clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x146)}}]},_0x560c8a=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x21a421,_0x4e422e){const _0x2424de=_0x1a21ce;return(0x0,_0x41b065[_0x2424de(0x478)])(_0x1aa9c1,Object[_0x2424de(0x147)]({},_0x21a421,{'id':_0x2424de(0x4ca),'ref':_0x4e422e,'icon':_0x57eaa5}));});_0x560c8a['displayName']='MoveUpIcon';let _0xea6b7d={'tag':_0x1a21ce(0x33c),'attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':'0\x200\x2016\x2016','width':_0x1a21ce(0x496),'height':'1em'},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x33e),'strokeLinecap':'round','strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x34c),'strokeLinecap':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.3}}]},_0x829491=(0x0,_0x41b065['forwardRef'])(function(_0x4a648d,_0x19fc81){const _0x12eff5=_0x1a21ce;return(0x0,_0x41b065[_0x12eff5(0x478)])(_0x1aa9c1,Object[_0x12eff5(0x147)]({},_0x4a648d,{'id':_0x12eff5(0x4b1),'ref':_0x19fc81,'icon':_0xea6b7d}));});_0x829491[_0x1a21ce(0x2f1)]=_0x1a21ce(0x302);let _0xc6aa2a={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x427),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'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':_0x1a21ce(0x3fa),'strokeLinejoin':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':'M4.2\x205.5H10.5','strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x28d),'strokeLinecap':_0x1a21ce(0x3fa),'strokeWidth':1.2}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':_0x1a21ce(0x22a),'d':_0x1a21ce(0x21f),'strokeLinejoin':_0x1a21ce(0x3fa)}},{'tag':_0x1a21ce(0x11b),'attrs':{'stroke':'currentColor','d':_0x1a21ce(0x471)}}]},_0x557122=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x4786d7,_0x53f1f0){const _0x21b89d=_0x1a21ce;return(0x0,_0x41b065[_0x21b89d(0x478)])(_0x1aa9c1,Object[_0x21b89d(0x147)]({},_0x4786d7,{'id':_0x21b89d(0x23f),'ref':_0x53f1f0,'icon':_0xc6aa2a}));});_0x557122[_0x1a21ce(0x2f1)]=_0x1a21ce(0x3a7);let _0x26e966={'tag':'svg','attrs':{'xmlns':_0x1a21ce(0xf0),'fill':_0x1a21ce(0x2dc),'viewBox':_0x1a21ce(0x3b0),'width':_0x1a21ce(0x496),'height':_0x1a21ce(0x496)},'children':[{'tag':_0x1a21ce(0x11b),'attrs':{'fill':'currentColor','d':_0x1a21ce(0x3a2)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':_0x1a21ce(0x391),'fillRule':'evenodd','clipRule':_0x1a21ce(0x2de)}},{'tag':_0x1a21ce(0x11b),'attrs':{'fill':_0x1a21ce(0x22a),'d':'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','fillRule':'evenodd','clipRule':_0x1a21ce(0x2de)}}]},_0x4aa8d7=(0x0,_0x41b065[_0x1a21ce(0x3dd)])(function(_0x220469,_0x3c273b){const _0x854ffa=_0x1a21ce;return(0x0,_0x41b065[_0x854ffa(0x478)])(_0x1aa9c1,Object[_0x854ffa(0x147)]({},_0x220469,{'id':'topmost-icon','ref':_0x3c273b,'icon':_0x26e966}));});_0x4aa8d7['displayName']=_0x1a21ce(0x2a7);function _0x38ad1c(_0x1f3998){return _0x1f3998['trim']()||void 0x0;}function _0x2c77f7(_0x29d85c,_0x396a13,_0xd869b1){const _0x28b01d=_0x1a21ce;var _0x598f67;return((_0x598f67=_0x29d85c[_0x28b01d(0x159)])==null?void 0x0:_0x598f67[_0x28b01d(0x1ae)]())||_0xd869b1['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x3ed8c6[_0x28b01d(0x1bb)])(_0x29d85c[_0x28b01d(0x497)]))+'\x20'+(_0x396a13+0x1);}function _0x5f03c9({PanelComponent:_0x221671=_0x11fb86[_0x1a21ce(0x381)]}){const _0x1bb0fc=_0x1a21ce;var _0x5a0ebf;let _0x1fafb1=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x4ac)]),_0x58bcb0={'title':_0x1fafb1['t']('drawing-ui.objectListPanel.title'),'empty':_0x1fafb1['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x1fafb1['t'](_0x1bb0fc(0x364)),'hideAll':_0x1fafb1['t'](_0x1bb0fc(0x37a)),'lockAll':_0x1fafb1['t']('drawing-ui.objectListPanel.lockAll'),'unlockAll':_0x1fafb1['t'](_0x1bb0fc(0x443)),'moveForward':_0x1fafb1['t'](_0x1bb0fc(0x398)),'moveBackward':_0x1fafb1['t'](_0x1bb0fc(0x29d)),'close':_0x1fafb1['t']('drawing-ui.objectListPanel.close'),'show':_0x1fafb1['t'](_0x1bb0fc(0x327)),'hide':_0x1fafb1['t'](_0x1bb0fc(0x392)),'lock':_0x1fafb1['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x1fafb1['t'](_0x1bb0fc(0x29f)),'lockHint':_0x1fafb1['t'](_0x1bb0fc(0x3dc)),'unlockHint':_0x1fafb1['t'](_0x1bb0fc(0x144)),'name':_0x1fafb1['t'](_0x1bb0fc(0x185)),'nameInput':_0x1fafb1['t'](_0x1bb0fc(0x318)),'description':_0x1fafb1['t'](_0x1bb0fc(0x42e)),'descriptionPlaceholder':_0x1fafb1['t'](_0x1bb0fc(0x29e)),'details':_0x1fafb1['t'](_0x1bb0fc(0x2b8)),'noSelection':_0x1fafb1['t'](_0x1bb0fc(0x1c8)),'locate':_0x1fafb1['t'](_0x1bb0fc(0xf6)),'expand':_0x1fafb1['t'](_0x1bb0fc(0x47a)),'collapse':_0x1fafb1['t'](_0x1bb0fc(0x463)),'dragToReorder':_0x1fafb1['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x1fafb1['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x1fafb1['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x1fafb1['t'](_0x1bb0fc(0x2ba)),'filterLocked':_0x1fafb1['t'](_0x1bb0fc(0x434)),'sectionCanvas':_0x1fafb1['t'](_0x1bb0fc(0x15e)),'sectionFloating':_0x1fafb1['t'](_0x1bb0fc(0x435))},_0xc86882=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x5cf0ce[_0x1bb0fc(0x311)]),_0x5953dc=(0x0,_0x416351['useDependency'])(_0x5cf0ce['IUniverInstanceService']),_0x4a1e28=(0x0,_0x416351['useDependency'])(_0x57dfd6[_0x1bb0fc(0x114)]),_0x197122=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x2a2438[_0x1bb0fc(0x3e4)]),_0x1bb45d=(0x0,_0x416351[_0x1bb0fc(0x20b)])(_0x4413bb['IRenderManagerService']),[,_0x2e077b]=(0x0,_0x41b065[_0x1bb0fc(0x1c2)])(_0x308586=>_0x308586+0x1,0x0),_0x4ead25=_0x5953dc['getCurrentUnitOfType'](_0x5cf0ce[_0x1bb0fc(0x21e)][_0x1bb0fc(0x3a3)]),_0x4c8d9c=(_0x4ead25==null?void 0x0:_0x4ead25[_0x1bb0fc(0x290)]())??'',_0x41ed30=(_0x4ead25==null||(_0x5a0ebf=_0x4ead25[_0x1bb0fc(0x32d)]())==null?void 0x0:_0x5a0ebf[_0x1bb0fc(0x1a1)]())??'',_0x103243=(0x0,_0x416351['useObservable'])(()=>_0x197122[_0x1bb0fc(0x28c)],_0x197122[_0x1bb0fc(0x314)](),!0x1,[_0x197122]);(0x0,_0x41b065[_0x1bb0fc(0x2e2)])(()=>{const _0x58f2ea=_0x1bb0fc;let _0x253977=_0xc86882[_0x58f2ea(0x30f)](()=>_0x2e077b());return()=>_0x253977[_0x58f2ea(0x351)]();},[_0xc86882]);let _0x47cfd9=_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x385)](_0x4c8d9c,_0x41ed30):{},_0x126500=(_0x4c8d9c&&_0x41ed30?_0x4a1e28[_0x1bb0fc(0x289)](_0x4c8d9c,_0x41ed30):[])[_0x1bb0fc(0x41e)](_0x4cf165=>_0x47cfd9[_0x4cf165])['filter'](_0x354d27=>!!_0x354d27)['reverse'](),_0x48c4f0=_0x126500[_0x1bb0fc(0x1c3)]((_0x5648be,_0x5dfc8c)=>(_0x5648be[(0x0,_0x11fb86[_0x1bb0fc(0xd9)])(_0x5dfc8c[_0x1bb0fc(0x497)])]+=0x1,_0x5648be),{'canvas':0x0,'floating':0x0}),_0x4b8db9={'canvas':0x0,'floating':0x0},_0x446317=_0x126500[_0x1bb0fc(0x41e)]((_0x5365f9,_0x249864)=>{const _0x23df5c=_0x1bb0fc;let _0x2d715f=(0x0,_0x11fb86[_0x23df5c(0xd9)])(_0x5365f9[_0x23df5c(0x497)]),_0x533876=_0x2d715f===_0x11fb86['OBJECT_LIST_FLOATING_SECTION_ID'],_0x49662f=_0x4b8db9[_0x2d715f]++;return{'id':_0x5365f9[_0x23df5c(0x1f5)],'name':_0x2c77f7(_0x5365f9,_0x249864,_0x1fafb1),'description':_0x5365f9[_0x23df5c(0x3c8)],'visible':_0x5365f9[_0x23df5c(0x1bf)]!==!0x0,'selectable':_0x5365f9['selectable']!==!0x1,'sectionId':_0x2d715f,'sectionTitle':_0x533876?_0x58bcb0[_0x23df5c(0x281)]:_0x58bcb0['sectionCanvas'],'capabilities':_0x533876?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x533876&&_0x49662f>0x0,'canMoveBackward':!_0x533876&&_0x49662f<_0x48c4f0['canvas']-0x1,'canReorder':!_0x533876};}),_0x412f1d=(0x0,_0x41b065[_0x1bb0fc(0x455)])(()=>(_0x103243??[])[_0x1bb0fc(0x431)](_0xfa9e61=>_0xfa9e61[_0x1bb0fc(0x197)]===_0x4c8d9c&&_0xfa9e61[_0x1bb0fc(0x4b3)]===_0x41ed30)[_0x1bb0fc(0x41e)](_0x35c467=>_0x35c467[_0x1bb0fc(0x1f5)]),[_0x103243,_0x41ed30,_0x4c8d9c]),_0x263cad=_0x412f1d[_0x412f1d[_0x1bb0fc(0x38a)]-0x1]??null,_0x308997=_0xbce337=>_0x4a1e28[_0x1bb0fc(0x214)]({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0xbce337})??null,_0x3395ae=async _0x54365b=>{const _0x38de63=_0x1bb0fc;_0x4c8d9c&&_0x54365b[_0x38de63(0x38a)]&&await _0xc86882['executeCommand'](_0x57dfd6[_0x38de63(0x120)]['id'],{'unitId':_0x4c8d9c,'drawings':_0x54365b});},_0xa824b5=async(_0x1900a9,_0x2acfc3)=>{_0x308997(_0x1900a9)&&await _0x3395ae([{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x1900a9,..._0x2acfc3}]);},_0x42ed79=(_0x5a9041,_0x3d6094)=>{const _0x28541c=_0x1bb0fc;if(!_0x4c8d9c||!_0x41ed30)return;let _0x10d016=_0x3d6094?_0x412f1d[_0x28541c(0x24f)](_0x5a9041)?_0x412f1d[_0x28541c(0x431)](_0x2831a6=>_0x2831a6!==_0x5a9041):[..._0x412f1d,_0x5a9041]:[_0x5a9041];_0xc86882[_0x28541c(0x25e)](_0x2a2438[_0x28541c(0x2db)]['id'],_0x10d016[_0x28541c(0x41e)](_0x2ff06d=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x2ff06d})));let _0x37583b=_0x10d016[_0x10d016['length']-0x1];_0x37583b?(0x0,_0x3ed8c6[_0x28541c(0x428)])(_0x1bb45d,{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x37583b}):(0x0,_0x3ed8c6[_0x28541c(0x48b)])(_0x1bb45d,_0x4c8d9c);},_0x2c7021=async(_0x2c9823,_0xf7c1ff)=>{const _0x4079c8=_0x1bb0fc;await _0x3395ae(_0x2c9823[_0x4079c8(0x41e)](_0x27b2bc=>_0x308997(_0x27b2bc))[_0x4079c8(0x431)](_0x321e84=>!!_0x321e84)[_0x4079c8(0x431)](_0x11400f=>_0x11400f[_0x4079c8(0x1bf)]!==!0x0!==_0xf7c1ff)['map'](_0x18da9a=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x18da9a[_0x4079c8(0x1f5)],'hidden':!_0xf7c1ff})));},_0x18a155=async(_0x8f4545,_0x7afbf9)=>{const _0x22438a=_0x1bb0fc;await _0x3395ae(_0x8f4545[_0x22438a(0x41e)](_0x42b9e7=>_0x308997(_0x42b9e7))[_0x22438a(0x431)](_0x1e1add=>!!_0x1e1add)[_0x22438a(0x431)](_0x568978=>_0x568978[_0x22438a(0x48e)]!==!0x1!==_0x7afbf9)[_0x22438a(0x41e)](_0x420f9f=>({'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingId':_0x420f9f['drawingId'],'selectable':_0x7afbf9})));},_0x3d39d0=_0x391cf8=>{const _0x499b6e=_0x1bb0fc;let _0x507020=_0x308997(_0x391cf8);if(_0x507020)return _0x18a155([_0x391cf8],_0x507020[_0x499b6e(0x48e)]===!0x1);},_0x156cfd=async(_0x2a3023,_0x1e7ad4)=>{const _0x1aa6eb=_0x1bb0fc;var _0x54de86;let _0x43d10c=_0x38ad1c(_0x1e7ad4);(((_0x54de86=_0x308997(_0x2a3023))==null?void 0x0:_0x54de86[_0x1aa6eb(0x159)])??void 0x0)!==_0x43d10c&&await _0xa824b5(_0x2a3023,{'name':_0x43d10c});},_0x586af8=async(_0xbf9ad5,_0x22c889)=>{const _0x3bb75b=_0x1bb0fc;var _0x14ff5d;let _0x2db533=_0x38ad1c(_0x22c889);(((_0x14ff5d=_0x308997(_0xbf9ad5))==null?void 0x0:_0x14ff5d[_0x3bb75b(0x3c8)])??void 0x0)!==_0x2db533&&await _0xa824b5(_0xbf9ad5,{'description':_0x2db533});},_0x3d9df5=async(_0x215e9c,_0x852f3b)=>{const _0x9b2edc=_0x1bb0fc;_0x4c8d9c&&_0x41ed30&&await _0xc86882['executeCommand'](_0x57dfd6[_0x9b2edc(0x255)]['id'],{'unitId':_0x4c8d9c,'subUnitId':_0x41ed30,'drawingIds':[_0x215e9c],'arrangeType':_0x852f3b});};return!_0x4c8d9c||!_0x41ed30?(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x1bb0fc(0x429),{'className':_0x1bb0fc(0x1c7),'children':_0x58bcb0['title']}):(0x0,_0x53553e[_0x1bb0fc(0x404)])(_0x221671,{'labels':_0x58bcb0,'items':_0x446317,'selectedIds':_0x412f1d,'focusedId':_0x263cad,'showHeader':!0x1,'onSelect':_0x42ed79,'onSetVisible':_0x2c7021,'onSetSelectable':_0x18a155,'onCommitName':_0x156cfd,'onCommitDescription':_0x586af8,'onMoveForward':async _0x174520=>_0x3d9df5(_0x174520,_0x5cf0ce[_0x1bb0fc(0x348)]['forward']),'onMoveBackward':async _0x4ff312=>_0x3d9df5(_0x4ff312,_0x5cf0ce[_0x1bb0fc(0x348)]['backward']),'onToggleSelectable':_0x3d39d0});}function _0x5edb32(){const _0x26bea4=_0x1a21ce;return(0x0,_0x53553e[_0x26bea4(0x404)])(_0x5f03c9,{'PanelComponent':_0x11fb86[_0x26bea4(0x384)]});}let _0x1338d4=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x213d32,_0x22d7a5){const _0x2a137e=_0x1a21ce;super(),this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x56bb7a,_0x5edb32)),this[_0x2a137e(0x4c4)](_0x22d7a5['register']({'BottomIcon':_0x5d5b89,'FlipHorizontalIcon':_0x3e2952,'FlipVerticalIcon':_0xd31e07,'MoveDownIcon':_0x2fde21,'MoveUpIcon':_0x560c8a,'ObjectLayersIcon':_0x829491,'ShapeFormatSettingIcon':_0x557122,'TopmostIcon':_0x4aa8d7})),this['disposeWithMe'](_0x213d32['register'](_0x116576,_0x15bbb6)),this[_0x2a137e(0x4c4)](_0x213d32[_0x2a137e(0x3b8)](_0x4a940a,_0x1d34b4)),_0x213d32['hasDefault'](_0x11fb86[_0x2a137e(0x1ee)])||this[_0x2a137e(0x4c4)](_0x213d32['register'](_0x11fb86[_0x2a137e(0x1ee)],_0x5d1131));}};_0x1338d4=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x273)])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x1338d4);let _0x46b0ec=class extends _0x5cf0ce['Disposable']{constructor(_0x107738){const _0x2b4e2d=_0x1a21ce;super(),this[_0x2b4e2d(0x374)]=_0x107738,_0x339d5f(this,'_editingParams$',new _0x4cb228['BehaviorSubject'](null)),_0x339d5f(this,_0x2b4e2d(0x326),this[_0x2b4e2d(0x135)][_0x2b4e2d(0x2bd)]()),_0x339d5f(this,_0x2b4e2d(0x157),new _0x4cb228[(_0x2b4e2d(0x470))](!0x1)),_0x339d5f(this,_0x2b4e2d(0x3e2),this[_0x2b4e2d(0x157)]['asObservable']()),_0x339d5f(this,_0x2b4e2d(0x37f),void 0x0),this[_0x2b4e2d(0x4c4)](this[_0x2b4e2d(0x374)][_0x2b4e2d(0x11f)][_0x2b4e2d(0x3e7)](()=>{const _0x1354ce=_0x2b4e2d;let _0x42de23=this[_0x1354ce(0x21d)]();_0x42de23!=null&&_0x42de23[_0x1354ce(0x241)]&&!this[_0x1354ce(0x208)](_0x42de23)&&this[_0x1354ce(0x27f)](null);}));}['dispose'](){const _0x14d93a=_0x1a21ce;this[_0x14d93a(0x104)](),this[_0x14d93a(0x135)]['next'](null),this[_0x14d93a(0x135)][_0x14d93a(0x299)](),this[_0x14d93a(0x157)][_0x14d93a(0x395)](!0x1),this['_onSavingEditorData$'][_0x14d93a(0x299)](),super[_0x14d93a(0x351)]();}[_0x1a21ce(0x27f)](_0x105f5e){const _0x5ed9b5=_0x1a21ce;(_0x105f5e==null||!_0x105f5e[_0x5ed9b5(0x241)]||this[_0x5ed9b5(0x208)](_0x105f5e))&&(this[_0x5ed9b5(0x104)](),this['_editingParams$'][_0x5ed9b5(0x395)](_0x105f5e),(_0x105f5e==null||_0x105f5e[_0x5ed9b5(0x241)]&&this[_0x5ed9b5(0x157)]['getValue']())&&this[_0x5ed9b5(0x157)][_0x5ed9b5(0x395)](!0x1));}[_0x1a21ce(0x347)](_0x2e3a09){const _0x4f7db4=_0x1a21ce;this['_onSavingEditorData$'][_0x4f7db4(0x395)](_0x2e3a09);}[_0x1a21ce(0x21d)](){const _0x42b126=_0x1a21ce;return this['_editingParams$'][_0x42b126(0x1aa)]();}[_0x1a21ce(0x208)](_0xc629a6){const _0x43f643=_0x1a21ce;let _0x4f5c72=this[_0x43f643(0x374)]['getPermissionPoint'](new _0xdab3fa['WorkbookEditablePermission'](_0xc629a6[_0x43f643(0x197)])['id']),_0x5030ce=this['_permissionService'][_0x43f643(0x19f)](new _0xdab3fa['WorksheetEditPermission'](_0xc629a6[_0x43f643(0x197)],_0xc629a6['subUnitId'])['id']);return((_0x4f5c72==null?void 0x0:_0x4f5c72[_0x43f643(0x2f5)])??!0x0)&&((_0x5030ce==null?void 0x0:_0x5030ce['value'])??!0x0);}[_0x1a21ce(0x45c)](_0x3cf091){const _0x40403f=_0x1a21ce;let _0xbbd4d6=this['getEditing']();_0xbbd4d6&&this[_0x40403f(0x37f)]===void 0x0&&(this[_0x40403f(0x347)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x4176bb=_0x40403f;this[_0x4176bb(0x37f)]=void 0x0,this[_0x4176bb(0x21d)]()===_0xbbd4d6&&this[_0x4176bb(0x27f)](null);}));}['_clearCompletionFrame'](){const _0x4a00e1=_0x1a21ce;this[_0x4a00e1(0x37f)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this[_0x4a00e1(0x37f)]=void 0x0);}[_0x1a21ce(0x4b7)](){const _0x52b243=_0x1a21ce;this['getEditing']()&&this[_0x52b243(0x27f)](null);}};_0x46b0ec=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['IPermissionService'])],_0x46b0ec);let _0x3505a0=class extends _0x5cf0ce['Disposable']{constructor(_0x5bba3e,_0x1cdc94,_0x3dbe3c,_0x93e51a,_0x203216,_0xb43bd7){const _0x4b6959=_0x1a21ce;super(),this[_0x4b6959(0x4c9)]=_0x5bba3e,this[_0x4b6959(0x451)]=_0x1cdc94,this[_0x4b6959(0x2ea)]=_0x3dbe3c,this[_0x4b6959(0x383)]=_0x93e51a,this[_0x4b6959(0x1d7)]=_0x203216,this[_0x4b6959(0x23a)]=_0xb43bd7,_0x339d5f(this,_0x4b6959(0x2a5),null),this[_0x4b6959(0x27e)](),this[_0x4b6959(0x213)](),this[_0x4b6959(0x48f)]();}[_0x1a21ce(0x27e)](){const _0x37d165=_0x1a21ce;let {scene:_0x13b03f}=this[_0x37d165(0x4c9)];this[_0x37d165(0x4c4)](_0x13b03f[_0x37d165(0x145)]['subscribeEvent'](_0x489cf3=>{const _0xa26a9b=_0x37d165;let {offsetX:_0x1f2434,offsetY:_0x597377}=_0x489cf3,_0xf3d5c4=_0x13b03f[_0xa26a9b(0x181)](_0x4413bb[_0xa26a9b(0x40c)][_0xa26a9b(0x14e)]([_0x1f2434,_0x597377]));if(_0xf3d5c4 instanceof _0x4d7701){let _0x1828e1=this[_0xa26a9b(0x23a)][_0xa26a9b(0x49e)](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4['subUnitId'],_0xf3d5c4[_0xa26a9b(0x1b1)]);if((0x0,_0x24d21b[_0xa26a9b(0x373)])(this['_sheetsShapeService']['getShapeType'](_0xf3d5c4[_0xa26a9b(0x197)],_0xf3d5c4[_0xa26a9b(0x4b3)],_0xf3d5c4[_0xa26a9b(0x1b1)]))||_0x1828e1!=null&&_0x1828e1[_0xa26a9b(0x1ea)]()[_0xa26a9b(0x126)])return;this[_0xa26a9b(0x2ea)][_0xa26a9b(0x27f)]({'visible':!0x0,'unitId':_0xf3d5c4[_0xa26a9b(0x197)],'subUnitId':_0xf3d5c4[_0xa26a9b(0x4b3)],'shapeId':_0xf3d5c4['shapeId'],'shapeKey':_0xf3d5c4['oKey']});}}));}[_0x1a21ce(0x213)](){const _0x148c7f=_0x1a21ce;this['disposeWithMe'](this[_0x148c7f(0x383)][_0x148c7f(0x28c)][_0x148c7f(0x3e7)](_0x3fa2b5=>{const _0x3e58c5=_0x148c7f;if(_0x3fa2b5[_0x3e58c5(0x38a)]===0x1){let _0x5f06e8=_0x3fa2b5[0x0],_0x350736=this[_0x3e58c5(0x383)][_0x3e58c5(0x214)](_0x5f06e8);if((_0x350736==null?void 0x0:_0x350736[_0x3e58c5(0x497)])===_0x5cf0ce[_0x3e58c5(0x1c1)][_0x3e58c5(0x33f)]){var _0x275b46;let _0x20e225=this['_shapeTextEditingService'][_0x3e58c5(0x21d)]();if((_0x20e225==null?void 0x0:_0x20e225[_0x3e58c5(0x1b1)])===_0x5f06e8[_0x3e58c5(0x1f5)]&&_0x20e225[_0x3e58c5(0x241)])return;let _0x126ef2=(0x0,_0x24d21b['isConnectorShape'])(this[_0x3e58c5(0x23a)][_0x3e58c5(0x1e0)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8[_0x3e58c5(0x1f5)])),_0x4e425d=!!((_0x275b46=this[_0x3e58c5(0x23a)][_0x3e58c5(0x49e)](_0x5f06e8[_0x3e58c5(0x197)],_0x5f06e8[_0x3e58c5(0x4b3)],_0x5f06e8['drawingId']))!=null&&_0x275b46['getShapeData']()[_0x3e58c5(0x126)]);(_0x126ef2||_0x4e425d)&&this['_shapeTextEditingService'][_0x3e58c5(0x27f)](null);}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();}else this[_0x3e58c5(0x2ea)][_0x3e58c5(0x45c)]();})),this[_0x148c7f(0x4c4)](this[_0x148c7f(0x383)][_0x148c7f(0x44c)][_0x148c7f(0x3e7)](_0x2df7b=>{const _0x50dee4=_0x148c7f;let _0x3c7dd4=this['_shapeTextEditingService']['getEditing']();_0x3c7dd4&&_0x2df7b[_0x50dee4(0x25a)](_0x21671a=>_0x21671a[_0x50dee4(0x1f5)]===_0x3c7dd4[_0x50dee4(0x1b1)])&&this[_0x50dee4(0x2ea)]['setEditing'](null);}));}[_0x1a21ce(0x48f)](){const _0x5c7b12=_0x1a21ce;this[_0x5c7b12(0x4c4)](this[_0x5c7b12(0x2ea)][_0x5c7b12(0x326)]['subscribe'](_0x3bf74b=>{const _0x5ec298=_0x5c7b12;let {scene:_0x1f35bb}=this['_context'];if(this[_0x5ec298(0x2a5)]){let _0x2f87cc=_0x1f35bb[_0x5ec298(0x26e)](this[_0x5ec298(0x2a5)]);_0x2f87cc&&_0x2f87cc[_0x5ec298(0x27f)](!0x1);}if(_0x3bf74b){let _0x56e4d7=!!_0x3bf74b[_0x5ec298(0x241)],_0x4f3490=_0x1f35bb[_0x5ec298(0x26e)](_0x3bf74b[_0x5ec298(0x12d)]);_0x4f3490&&(_0x4f3490[_0x5ec298(0x27f)](_0x56e4d7),this[_0x5ec298(0x2a5)]=_0x3bf74b[_0x5ec298(0x12d)]),this[_0x5ec298(0x1d7)][_0x5ec298(0x1fa)](_0x5cf0ce[_0x5ec298(0x307)],_0x56e4d7);}else this[_0x5ec298(0x2a5)]=null,this[_0x5ec298(0x1d7)]['setContextValue'](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x3505a0=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['Injector'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)]))],_0x3505a0);var _0x2c3da1=class extends _0x3505a0{[_0x1a21ce(0x27e)](){const _0x4c61e5=_0x1a21ce;let {scene:_0x44537f}=this[_0x4c61e5(0x4c9)],_0x42a831=this[_0x4c61e5(0x451)][_0x4c61e5(0x170)](_0x3ed8c6[_0x4c61e5(0x46e)]);this[_0x4c61e5(0x4c4)](_0x44537f['onDblclick$'][_0x4c61e5(0x3fc)](_0x6da60a=>{const _0x154eca=_0x4c61e5;let {offsetX:_0x58743f,offsetY:_0x1e52e4}=_0x6da60a,_0x3e44c6=_0x44537f[_0x154eca(0x181)](_0x4413bb['Vector2'][_0x154eca(0x14e)]([_0x58743f,_0x1e52e4]));if(!(_0x3e44c6 instanceof _0x4d7701))return;let _0xed274=this[_0x154eca(0x23a)][_0x154eca(0x49e)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]);(0x0,_0x24d21b[_0x154eca(0x373)])(this[_0x154eca(0x23a)][_0x154eca(0x1e0)](_0x3e44c6[_0x154eca(0x197)],_0x3e44c6[_0x154eca(0x4b3)],_0x3e44c6[_0x154eca(0x1b1)]))||_0xed274!=null&&_0xed274[_0x154eca(0x1ea)]()[_0x154eca(0x126)]||_0x42a831[_0x154eca(0x31d)]('text',{'hostType':_0x5cf0ce[_0x154eca(0x21e)][_0x154eca(0x3a3)],'unitId':_0x3e44c6[_0x154eca(0x197)],'subUnitId':_0x3e44c6[_0x154eca(0x4b3)],'shapeId':_0x3e44c6[_0x154eca(0x1b1)]});}));}};let _0x1baaf8={..._0x3456ab},_0x2790fb=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x579e16,_0x55ddbb,_0x127619,_0x328436,_0x116d35,_0x2f9f7c,_0xb20f42,_0xd374d3){const _0x38ad7a=_0x1a21ce;super(),this['_menuManagerService']=_0x579e16,this[_0x38ad7a(0x23a)]=_0x55ddbb,this[_0x38ad7a(0x378)]=_0x127619,this[_0x38ad7a(0x383)]=_0x328436,this[_0x38ad7a(0x191)]=_0x116d35,this[_0x38ad7a(0x1d7)]=_0x2f9f7c,this[_0x38ad7a(0x411)]=_0xb20f42,this['_shapeTextEditingService']=_0xd374d3,_0x339d5f(this,_0x38ad7a(0x128),null),this[_0x38ad7a(0x4a0)][_0x38ad7a(0x339)](_0x1baaf8),this[_0x38ad7a(0x439)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x38ad7a(0x326)][_0x38ad7a(0x3e7)](_0x12c6ab=>{const _0x315778=_0x38ad7a;_0x12c6ab&&this[_0x315778(0x2ef)]();}));}[_0x1a21ce(0x27b)](){const _0x5d3de8=_0x1a21ce;this[_0x5d3de8(0x128)]||=this[_0x5d3de8(0x4c4)]((0x0,_0x3ed8c6[_0x5d3de8(0x467)])(this[_0x5d3de8(0x411)],_0x5cf0ce[_0x5d3de8(0x21e)]['UNIVER_SHEET'],_0x18206b=>this[_0x5d3de8(0x14f)](_0x18206b)));}[_0x1a21ce(0x439)](){const _0x1efaaf=_0x1a21ce;this[_0x1efaaf(0x191)][_0x1efaaf(0x2df)](_0x5cf0ce['DrawingTypeEnum'][_0x1efaaf(0x33f)],(_0x13409e,_0x14713d,_0x479795,_0x2d855f)=>{const _0x51584=_0x1efaaf;let _0xee91d7=this['_sheetsShapeService']['getShapeTypeById'](_0x13409e,_0x14713d,_0x479795),_0x3de69e=this[_0x51584(0x23a)][_0x51584(0x23d)](_0x13409e,_0x14713d,_0x479795),_0x5b8e88=_0xee91d7!==void 0x0&&!(0x0,_0x24d21b[_0x51584(0x373)])(_0xee91d7)&&!(_0x3de69e!=null&&_0x3de69e[_0x51584(0x126)]);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x204)},'disable':!0x1},..._0x5b8e88?[{'label':_0x51584(0xe6),'index':0x1,'commandId':_0x2a1c58['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'mode':_0x51584(0x32c)},'disable':!0x1}]:[],{'label':_0x51584(0x365),'index':0x2,'commandId':_0x57dfd6[_0x51584(0x22e)]['id'],'commandParams':{'unitId':_0x13409e,'drawings':[{'unitId':_0x13409e,'subUnitId':_0x14713d,'drawingId':_0x479795,'drawingType':_0x2d855f}]},'disable':!0x1},{'label':_0x51584(0x375),'index':0x3,'commandId':_0x34e612['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipH':!0x0},'disable':!0x1},{'label':_0x51584(0x11c),'index':0x4,'commandId':_0x34e612[_0x51584(0x47d)]['id'],'commandParams':{'unitId':_0x13409e,'subUnitId':_0x14713d,'shapeId':_0x479795,'flipV':!0x0},'disable':!0x1}];},_0x1efaaf(0x296));}[_0x1a21ce(0x14f)](_0x1c011d){const _0xfbe132=_0x1a21ce;let _0x3a7753=new _0x5cf0ce['DisposableCollection'](),_0x417b54=null,_0x5e840c=()=>{const _0x155613=_0x1cfe;if(!_0x417b54)return;let _0xde12c=this['_drawingManagerService'][_0x155613(0x314)](),_0x949ad4=_0xde12c[_0x155613(0x38a)]===0x0||_0xde12c[_0x155613(0x38a)]===0x1&&_0xde12c[_0x155613(0x25a)](_0x167fe5=>_0x167fe5[_0x155613(0x197)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x197)])&&_0x167fe5['subUnitId']===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x4b3)])&&_0x167fe5[_0x155613(0x1f5)]===(_0x417b54==null?void 0x0:_0x417b54[_0x155613(0x1f5)]));_0x417b54=null,_0x949ad4&&(this[_0x155613(0x1d7)][_0x155613(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x155613(0x383)][_0x155613(0x149)](null));};return _0x3a7753[_0xfbe132(0x36d)](_0x1c011d['createControl$'][_0xfbe132(0x3e7)](()=>{const _0x3a0f51=_0xfbe132;let _0x200afd=_0x1c011d['getSelectedObjectMap']();if(_0x200afd[_0x3a0f51(0x32b)]>0x1){_0x5e840c();return;}let _0x29d68e=_0x200afd['values']()[_0x3a0f51(0x395)]()[_0x3a0f51(0x2f5)];if(!_0x29d68e){_0x5e840c();return;}let _0x23653f=this[_0x3a0f51(0x383)][_0x3a0f51(0x372)](_0x29d68e[_0x3a0f51(0x30b)]);if(!_0x23653f||_0x23653f['drawingType']!==_0x5cf0ce[_0x3a0f51(0x1c1)][_0x3a0f51(0x33f)]){_0x5e840c();return;}let {unitId:_0x1d350a,subUnitId:_0x23226d,drawingId:_0x2d6e78}=_0x23653f;_0x417b54={'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78},this[_0x3a0f51(0x1d7)][_0x3a0f51(0x1fa)](_0x5cf0ce[_0x3a0f51(0x2ad)],!0x0),this[_0x3a0f51(0x383)]['getFocusDrawings']()[_0x3a0f51(0x169)](_0x59f9cc=>_0x59f9cc[_0x3a0f51(0x197)]===_0x1d350a&&_0x59f9cc[_0x3a0f51(0x4b3)]===_0x23226d&&_0x59f9cc[_0x3a0f51(0x1f5)]===_0x2d6e78)||this[_0x3a0f51(0x383)][_0x3a0f51(0x149)]([{'unitId':_0x1d350a,'subUnitId':_0x23226d,'drawingId':_0x2d6e78}]);})),_0x3a7753[_0xfbe132(0x36d)](_0x1c011d['clearControl$']['subscribe'](()=>{_0x5e840c();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{_0x3a7753['dispose'](),_0x5e840c();});}['_clearFocusedShape'](){const _0x35a515=_0x1a21ce;this['_contextService'][_0x35a515(0x1fa)](_0x5cf0ce['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x35a515(0x383)][_0x35a515(0x149)](null);}};_0x2790fb=_0x3f6514([_0x4512b4(0x0,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x5,_0x5cf0ce['IContextService']),_0x4512b4(0x6,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x2790fb);function _0x4106a9(_0x2a9d1c,_0x33ee64,_0x5c5e88,_0x15494a){const _0x29fedc=_0x1a21ce;let _0x1e3e53=(0x0,_0x2a2438[_0x29fedc(0x267)])(_0x2a9d1c,_0x33ee64,_0x5c5e88),_0x17902a=[];for(let _0x2c366b of _0x33ee64){let _0x46d21e=_0x1e3e53[_0x29fedc(0x156)]['get'](_0x2c366b['drawingId']),_0x40b666=_0x15494a(_0x2c366b);_0x46d21e&&_0x40b666&&_0x17902a[_0x29fedc(0x109)]({'targetShapeId':_0x46d21e,'source':_0x40b666});}return _0x17902a;}let _0x5819ea=class extends _0x5cf0ce['Disposable']{constructor(_0x510cc5,_0x5dbfba,_0x35b8e2,_0x852671){const _0x18f7cd=_0x1a21ce;super(),this['_univerInstanceService']=_0x510cc5,this['_sheetInterceptorService']=_0x5dbfba,this['_sheetDrawingService']=_0x35b8e2,this['_sheetsShapeService']=_0x852671,this[_0x18f7cd(0x3a4)]();}[_0x1a21ce(0x3a4)](){const _0x46f8d9=_0x1a21ce;this[_0x46f8d9(0x4c4)](this[_0x46f8d9(0x1ba)][_0x46f8d9(0x473)]({'getMutations':_0x4eede6=>{const _0x375d47=_0x46f8d9;if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x20f)]['id']){let _0x1add80=(0x0,_0xdab3fa[_0x375d47(0x12f)])(this[_0x375d47(0x2d5)],_0x4eede6[_0x375d47(0x46d)]);if(!_0x1add80)return{'redos':[],'undos':[]};let {unitId:_0x327553,subUnitId:_0x169588}=_0x1add80,_0x564f19=this['_sheetDrawingService']['getDrawingData'](_0x327553,_0x169588),_0x506c90=Object[_0x375d47(0x3da)](_0x564f19)[_0x375d47(0x431)](_0x4aeb7e=>_0x4aeb7e[_0x375d47(0x497)]===_0x5cf0ce[_0x375d47(0x1c1)][_0x375d47(0x33f)]);if(_0x506c90[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x5c9495=[],_0x1732d3=[];for(let _0x3a780a=0x0;_0x3a780a<_0x506c90[_0x375d47(0x38a)];_0x3a780a++){let _0x3fabd4=_0x506c90[_0x3a780a],_0x10ad63=this['_sheetsShapeService'][_0x375d47(0x49e)](_0x3fabd4[_0x375d47(0x197)],_0x3fabd4[_0x375d47(0x4b3)],_0x3fabd4[_0x375d47(0x1f5)]);_0x10ad63&&(_0x5c9495['push']({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4[_0x375d47(0x1f5)]}}),_0x1732d3[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x327553,'subUnitId':_0x169588,'shapeId':_0x3fabd4['drawingId'],'shapeType':_0x10ad63[_0x375d47(0x1e0)](),'shapeData':JSON[_0x375d47(0x186)](JSON[_0x375d47(0x41f)](_0x10ad63['getShapeData']()))}}));}return{'redos':_0x5c9495,'undos':_0x1732d3};}if(_0x4eede6['id']===_0xdab3fa[_0x375d47(0x3ae)]['id']){let {unitId:_0x207489,subUnitId:_0x10a3e6,targetSubUnitId:_0x1f7f82,copyContext:_0x4c915d}=_0x4eede6[_0x375d47(0x46d)];if(!_0x207489||!_0x10a3e6||!_0x1f7f82)return{'redos':[],'undos':[]};let _0x281b9f=this['_sheetDrawingService']['getDrawingData'](_0x207489,_0x10a3e6),_0x502ff5=Object['values'](_0x281b9f)[_0x375d47(0x431)](_0x45a2b5=>_0x45a2b5[_0x375d47(0x497)]===_0x5cf0ce['DrawingTypeEnum'][_0x375d47(0x33f)]);if(_0x502ff5[_0x375d47(0x38a)]===0x0)return{'redos':[],'undos':[]};let _0x1b19d4=_0x4106a9(_0x4c915d,_0x502ff5,{'unitId':_0x207489,'sourceSubUnitId':_0x10a3e6,'targetSubUnitId':_0x1f7f82},_0xbb2156=>{const _0x59bb90=_0x375d47;let _0x12fe53=this[_0x59bb90(0x23a)]['getShapeModel'](_0xbb2156[_0x59bb90(0x197)],_0xbb2156['subUnitId'],_0xbb2156[_0x59bb90(0x1f5)]);if(_0x12fe53)return{'shapeType':_0x12fe53[_0x59bb90(0x1e0)](),'shapeData':JSON['parse'](JSON[_0x59bb90(0x41f)](_0x12fe53['getShapeData']()))};}),_0x620c90=[],_0x46d2c5=[];for(let {targetShapeId:_0x387208,source:_0x2d96a4}of _0x1b19d4)_0x620c90['push']({'id':_0x34e612[_0x375d47(0x2e6)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208,'shapeType':_0x2d96a4[_0x375d47(0xde)],'shapeData':_0x2d96a4[_0x375d47(0x476)]}}),_0x46d2c5[_0x375d47(0x109)]({'id':_0x34e612[_0x375d47(0x450)]['id'],'params':{'unitId':_0x207489,'subUnitId':_0x1f7f82,'shapeId':_0x387208}});return{'redos':_0x620c90,'undos':_0x46d2c5};}return{'redos':[],'undos':[]};}}));}};_0x5819ea=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x1d2)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x249)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService']))],_0x5819ea);let _0x4f13f1=class extends _0x5cf0ce['Disposable']{constructor(_0x1051ed,_0x45c4bf,_0x263390,_0x4fd4df,_0x1df6d5,_0x57064b){const _0x4b242b=_0x1a21ce;super(),this[_0x4b242b(0x378)]=_0x1051ed,this[_0x4b242b(0x411)]=_0x45c4bf,this[_0x4b242b(0x383)]=_0x263390,this[_0x4b242b(0x3b2)]=_0x4fd4df,this[_0x4b242b(0x2f0)]=_0x1df6d5,this[_0x4b242b(0x188)]=_0x57064b,_0x339d5f(this,_0x4b242b(0x183),new Set()),this['_initialize']();}[_0x1a21ce(0x49d)](){const _0x18d1e8=_0x1a21ce;this['_drawingAddListener'](),this[_0x18d1e8(0x107)](),this[_0x18d1e8(0x336)]();}[_0x1a21ce(0x298)](){const _0xda1304=_0x1a21ce;this[_0xda1304(0x4c4)](this[_0xda1304(0x383)][_0xda1304(0x3f6)][_0xda1304(0x3e7)](_0x188c87=>{const _0x264d01=_0xda1304;this[_0x264d01(0x252)](_0x188c87);}));}[_0x1a21ce(0x107)](){const _0x48e987=_0x1a21ce;this[_0x48e987(0x4c4)](this[_0x48e987(0x378)][_0x48e987(0x30f)]((_0x21bf25,_0x315ecc)=>{const _0x29cf15=_0x48e987;if(_0x21bf25['id']===_0x34e612['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x151d7f,subUnitId:_0x36387d,shapeId:_0x14d025}=_0x21bf25[_0x29cf15(0x46d)],_0x34a225=this[_0x29cf15(0x246)](_0x151d7f),_0x1712ab=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x151d7f,'subUnitId':_0x36387d,'drawingId':_0x14d025}),_0x2fe2f4=_0x34a225==null?void 0x0:_0x34a225[_0x29cf15(0x2d7)][_0x29cf15(0x26e)](_0x1712ab);_0x2fe2f4&&(this['_sheetDrawingShapeRenderController'][_0x29cf15(0x3fd)](_0x2fe2f4),this['_sheetDrawingShapeRenderController'][_0x29cf15(0x265)](_0x2fe2f4,{'unitId':_0x151d7f,'subUnitId':_0x36387d,'shapeId':_0x14d025}),_0x2fe2f4[_0x29cf15(0x2a3)](!0x0));}else{if(_0x21bf25['id']===_0x34e612[_0x29cf15(0x2e6)]['id']){var _0x11638c;let {unitId:_0x297f8f,subUnitId:_0x3c62f2,shapeId:_0x5151e4}=_0x21bf25['params'],_0x41d4f9=this['_getSceneAndTransformerByDrawingSearch'](_0x297f8f);if(_0x41d4f9==null)return;let {scene:_0x46421d}=_0x41d4f9,_0x2c9771=(0x0,_0x2a2438[_0x29cf15(0x414)])({'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}),_0x4e1470=_0x46421d[_0x29cf15(0x26e)](_0x2c9771);if(!((_0x11638c=this[_0x29cf15(0x411)]['getRenderUnitById'](_0x297f8f))!=null&&_0x11638c[_0x29cf15(0x18b)](_0x3e532c[_0x29cf15(0x432)])['getSkeleton'](_0x3c62f2)))return!0x1;if(_0x4e1470)return;if(_0x315ecc!=null&&_0x315ecc['fromChangeset']){queueMicrotask(()=>{const _0x4cc015=_0x29cf15;this[_0x4cc015(0x13b)]||this[_0x4cc015(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);});return;}this[_0x29cf15(0x252)]([{'unitId':_0x297f8f,'subUnitId':_0x3c62f2,'drawingId':_0x5151e4}]);}}}));}['_shapeUpdateListener'](){const _0x7d5d36=_0x1a21ce;this[_0x7d5d36(0x4c4)](this['_drawingManagerService'][_0x7d5d36(0x479)][_0x7d5d36(0x3e7)](_0x360d64=>{const _0x3336fa=_0x7d5d36;_0x360d64[_0x3336fa(0x123)](_0x298aea=>{const _0x178fa4=_0x3336fa;let {unitId:_0x299629,subUnitId:_0x138332,drawingId:_0x2adb6f}=_0x298aea,_0x14d67a=this[_0x178fa4(0x383)][_0x178fa4(0x214)](_0x298aea);if(_0x14d67a==null)return;let {transform:_0x2924ab,drawingType:_0x2a32dd,srcRect:_0x22c816,prstGeom:_0x35775a}=_0x14d67a;if(_0x2a32dd!==_0x5cf0ce[_0x178fa4(0x1c1)][_0x178fa4(0x33f)])return;let _0x4a9709=this[_0x178fa4(0x246)](_0x299629);if(_0x4a9709==null)return;let {scene:_0x30310d,transformer:_0x24d53f}=_0x4a9709;if(_0x2924ab==null)return!0x0;let _0xff2965=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x299629,'subUnitId':_0x138332,'drawingId':_0x2adb6f}),_0x1407c3=_0x30310d['getObjectIncludeInGroup'](_0xff2965);if(_0x1407c3==null)return!0x0;_0x1407c3['setSrcRect'](_0x22c816),_0x1407c3['setPrstGeom'](_0x35775a);});}));}['_insertShapes'](_0xaf776b){const _0x50e890=_0x1a21ce;for(let _0x5e4da1 of _0xaf776b){var _0x570198;let {unitId:_0x33050d,subUnitId:_0xe14aec,drawingId:_0x134e8d}=_0x5e4da1,_0x3184f3=this[_0x50e890(0x246)](_0x33050d),_0xa618de=(_0x570198=(0x0,_0x11fb86[_0x50e890(0x234)])(this[_0x50e890(0x3b2)],_0x33050d))==null?void 0x0:_0x570198[_0x50e890(0x4b3)];if(_0x3184f3==null||_0xa618de!==_0xe14aec)return;let _0x47f31f=(0x0,_0x2a2438[_0x50e890(0x414)])({'unitId':_0x33050d,'subUnitId':_0xe14aec,'drawingId':_0x134e8d});if(this[_0x50e890(0x183)][_0x50e890(0x3c6)](_0x47f31f)||_0x3184f3[_0x50e890(0x2d7)]['getObjectIncludeInGroup'](_0x47f31f)!=null)return;let _0x237701=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);if(_0x237701==null||_0x237701['drawingType']!==_0x5cf0ce['DrawingTypeEnum'][_0x50e890(0x33f)])return;let _0x4bc364=_0x237701[_0x50e890(0x366)]||{};if((0x0,_0x24d21b[_0x50e890(0x373)])(_0x4bc364[_0x50e890(0xde)])){let _0x39f58f=_0x237701['transform'];_0x39f58f&&(_0x237701[_0x50e890(0x3a9)]={..._0x39f58f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x50e890(0x183)]['add'](_0x47f31f);try{this[_0x50e890(0x188)][_0x50e890(0x1d5)](_0x237701,_0x3184f3[_0x50e890(0x2d7)]);}finally{this['_insertingShapeKeys'][_0x50e890(0x1ef)](_0x47f31f);}queueMicrotask(()=>{const _0x4ad14a=_0x50e890;if(this[_0x4ad14a(0x13b)])return;let _0x1782d1=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])(_0x5e4da1);if(!_0x3184f3[_0x4ad14a(0x2d7)][_0x4ad14a(0x26e)](_0x1782d1))return;let _0x471a8d=this['_drawingManagerService']['getDrawingByParam'](_0x5e4da1);_0x471a8d&&this[_0x4ad14a(0x383)][_0x4ad14a(0x283)]([_0x471a8d]);});}}[_0x1a21ce(0x246)](_0x303d61){const _0x195898=_0x1a21ce;if(_0x303d61==null)return;let _0x49057c=this[_0x195898(0x411)][_0x195898(0x3ce)](_0x303d61),_0x5f2dd4=_0x49057c==null?void 0x0:_0x49057c[_0x195898(0x2d7)];return _0x5f2dd4==null?null:{'scene':_0x5f2dd4,'transformer':_0x5f2dd4['getTransformerByCreate']()};}};_0x4f13f1=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce['ICommandService']),_0x4512b4(0x1,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x4,(0x0,_0x5cf0ce['Inject'])(_0x11fb86[_0x1a21ce(0x338)])),_0x4512b4(0x5,(0x0,_0x5cf0ce['Inject'])(_0x251705))],_0x4f13f1);let _0xeaa6f0={'normal':{'fill':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x38e)],'stroke':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x3cd)],'strokeWidth':_0x24d21b[_0x1a21ce(0x1a9)][_0x1a21ce(0x2fe)]},'highlighted':{'fill':_0x1a21ce(0x36a),'stroke':_0x1a21ce(0x4b2),'strokeWidth':0x2}};var _0x429b69=class extends _0x4413bb[_0x1a21ce(0xe7)]{constructor(_0x4c3d68,_0x20b488){const _0x5d66a1=_0x1a21ce;super(_0x4c3d68,_0x20b488),_0x339d5f(this,_0x5d66a1(0x15b),''),_0x339d5f(this,_0x5d66a1(0x23b),-0x1),_0x339d5f(this,_0x5d66a1(0x29c),''),_0x339d5f(this,_0x5d66a1(0x251),''),_0x339d5f(this,'_isHighlighted',!0x1),_0x20b488&&this[_0x5d66a1(0x4b8)](_0x20b488);}[_0x1a21ce(0x408)](){const _0x5bb359=_0x1a21ce;return{'unitId':this[_0x5bb359(0x29c)],'subUnitId':this[_0x5bb359(0x251)],'shapeId':this[_0x5bb359(0x15b)],'cxnIndex':this[_0x5bb359(0x23b)]};}[_0x1a21ce(0x1af)](_0x4dcbcd){const _0x1bb78b=_0x1a21ce;this[_0x1bb78b(0x245)]!==_0x4dcbcd&&(this[_0x1bb78b(0x245)]=_0x4dcbcd,this[_0x1bb78b(0x2a3)](!0x0));}[_0x1a21ce(0x18c)](){const _0x13f31c=_0x1a21ce;return this[_0x13f31c(0x245)];}['setShapeProps'](_0x14268e){const _0x3fe3e1=_0x1a21ce;_0x14268e['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x14268e[_0x3fe3e1(0x1b6)]),_0x14268e[_0x3fe3e1(0x1e9)]!==void 0x0&&(this[_0x3fe3e1(0x23b)]=_0x14268e['cxnIndex']),_0x14268e[_0x3fe3e1(0x197)]!==void 0x0&&(this['_unitId']=_0x14268e[_0x3fe3e1(0x197)]),_0x14268e['subUnitId']!==void 0x0&&(this[_0x3fe3e1(0x251)]=_0x14268e[_0x3fe3e1(0x4b3)]),_0x14268e[_0x3fe3e1(0x18c)]!==void 0x0&&(this[_0x3fe3e1(0x245)]=_0x14268e[_0x3fe3e1(0x18c)]),this['transformByState']({'width':_0x14268e[_0x3fe3e1(0x36b)]??_0x24d21b[_0x3fe3e1(0x1a9)][_0x3fe3e1(0x177)]*0x2,'height':_0x14268e[_0x3fe3e1(0x31b)]??_0x24d21b['ShapeDefaultConfig'][_0x3fe3e1(0x177)]*0x2});}[_0x1a21ce(0x445)](_0x542d66){const _0x2824e3=_0x1a21ce;let _0x1ff6d7=this[_0x2824e3(0x245)]?_0xeaa6f0[_0x2824e3(0x449)]:_0xeaa6f0[_0x2824e3(0x2bf)];_0x4413bb[_0x2824e3(0x3d7)][_0x2824e3(0x3c9)](_0x542d66,{'radius':_0x24d21b[_0x2824e3(0x1a9)]['cxnPointRadius'],'fill':_0x1ff6d7[_0x2824e3(0x4ae)],'stroke':_0x1ff6d7[_0x2824e3(0x1f2)],'strokeWidth':_0x1ff6d7[_0x2824e3(0xef)],'evented':!0x0});}};let _0x1992a8=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x523ed2,_0x155ee4,_0x172305,_0x1872bc){const _0x2a936b=_0x1a21ce;super(),this['_context']=_0x523ed2,this[_0x2a936b(0x411)]=_0x155ee4,this[_0x2a936b(0x383)]=_0x172305,this[_0x2a936b(0x23a)]=_0x1872bc,_0x339d5f(this,'_connectionSiteObjects',[]),_0x339d5f(this,_0x2a936b(0x382),null),_0x339d5f(this,_0x2a936b(0x3ac),-0x1),_0x339d5f(this,_0x2a936b(0x42a),null),_0x339d5f(this,_0x2a936b(0x29c),''),_0x339d5f(this,_0x2a936b(0x251),''),_0x339d5f(this,_0x2a936b(0x2e4),null);}[_0x1a21ce(0x2bc)](_0x4fb599,_0xc684c2,_0x45b7d6,_0x24cd35){const _0x1b1934=_0x1a21ce;this[_0x1b1934(0x42a)]=_0x4fb599,this[_0x1b1934(0x29c)]=_0xc684c2,this[_0x1b1934(0x251)]=_0x45b7d6,this['_draggingConnectorId']=_0x24cd35;}[_0x1a21ce(0x3db)](_0x2c0cf2){const _0x369df3=_0x1a21ce;if(!this[_0x369df3(0x42a)])return null;let _0x5e36d7=this['_findShapeAtPoint'](_0x2c0cf2);return _0x5e36d7?(this[_0x369df3(0x382)]!==_0x5e36d7[_0x369df3(0x1b1)]&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x1db)](_0x5e36d7[_0x369df3(0x1b1)],_0x5e36d7['shapeModel']),this[_0x369df3(0x382)]=_0x5e36d7[_0x369df3(0x1b1)]),this[_0x369df3(0x260)](_0x2c0cf2)):(this['_activeTargetShapeId']!==null&&(this[_0x369df3(0x2a9)](),this[_0x369df3(0x382)]=null),null);}['endConnectionDetection'](){const _0x1df500=_0x1a21ce;this['_clearConnectionSites'](),this[_0x1df500(0x42a)]=null,this[_0x1df500(0x382)]=null,this[_0x1df500(0x3ac)]=-0x1,this['_draggingConnectorId']=null;}[_0x1a21ce(0x43b)](){const _0x99ed30=_0x1a21ce;return this['_activeTargetShapeId']===null||this[_0x99ed30(0x3ac)]<0x0?null:{'shapeId':this[_0x99ed30(0x382)],'cxnIndex':this[_0x99ed30(0x3ac)]};}['_findShapeAtPoint'](_0x4c98c9){const _0x11c4f3=_0x1a21ce;let _0x305868=this[_0x11c4f3(0x383)][_0x11c4f3(0x385)](this[_0x11c4f3(0x29c)],this['_subUnitId']);for(let _0x58efe1 of Object['keys'](_0x305868)){if(_0x58efe1===this[_0x11c4f3(0x2e4)]||_0x305868[_0x58efe1]['drawingType']!==_0x5cf0ce['DrawingTypeEnum']['DRAWING_SHAPE'])continue;let _0x1c5880=this[_0x11c4f3(0x23a)][_0x11c4f3(0x49e)](this['_unitId'],this['_subUnitId'],_0x58efe1);if(!_0x1c5880||(0x0,_0x24d21b[_0x11c4f3(0x373)])(_0x1c5880['getShapeType']())||_0x1c5880[_0x11c4f3(0x4a2)]()[_0x11c4f3(0x38a)]===0x0||!this[_0x11c4f3(0x42a)])continue;let _0x27714f=(0x0,_0x2a2438[_0x11c4f3(0x414)])({'unitId':this[_0x11c4f3(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':_0x58efe1}),_0x613733=this[_0x11c4f3(0x42a)]['getObjectIncludeInGroup'](_0x27714f);if(!_0x613733)continue;let {left:_0x55385d,top:_0x48fc3c,width:_0x24afe3,height:_0x260691}=_0x613733['getRealBound'](),_0x3b2b69=_0x55385d+_0x24afe3/0x2,_0x105f95=_0x48fc3c+_0x260691/0x2,_0x210eb0=_0x613733['transform'][_0x11c4f3(0x3fb)](),_0x10ecc5=new _0x4413bb['Transform']([_0x210eb0[0x0],_0x210eb0[0x1],_0x210eb0[0x2],_0x210eb0[0x3],_0x3b2b69,_0x105f95]),_0x33f728=_0x613733[_0x11c4f3(0x1cb)](),_0x38761f=(_0x613733[_0x11c4f3(0x3eb)]&&(_0x33f728==null?void 0x0:_0x33f728[_0x11c4f3(0x3ed)])===_0x4413bb[_0x11c4f3(0x163)][_0x11c4f3(0x42d)]?_0x33f728[_0x11c4f3(0x4c8)][_0x11c4f3(0x167)](_0x10ecc5):_0x10ecc5)[_0x11c4f3(0x41d)]()[_0x11c4f3(0x292)](_0x4c98c9),_0x1d97fa=_0x24afe3/0x2,_0x34034c=_0x260691/0x2;if(_0x38761f['x']>=-_0x1d97fa-0x5&&_0x38761f['x']<=_0x1d97fa+0x5&&_0x38761f['y']>=-_0x34034c-0x5&&_0x38761f['y']<=_0x34034c+0x5)return{'shapeId':_0x58efe1,'shapeModel':_0x1c5880};}return null;}[_0x1a21ce(0x1db)](_0x226f66,_0x1cb0ca){const _0x424797=_0x1a21ce;if(!this[_0x424797(0x42a)])return;let _0x138157=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'drawingId':_0x226f66}),_0x7acbc9=this[_0x424797(0x42a)][_0x424797(0x26e)](_0x138157);if(!_0x7acbc9)return;let {left:_0x25987b,top:_0x238333,width:_0x1f5c36,height:_0x260b17}=_0x7acbc9[_0x424797(0x148)](),_0x5447c4=_0x25987b+_0x1f5c36/0x2,_0x125b7b=_0x238333+_0x260b17/0x2,_0x26db17=_0x7acbc9[_0x424797(0x3a9)][_0x424797(0x3fb)](),_0x160b66=new _0x4413bb['Transform']([_0x26db17[0x0],_0x26db17[0x1],_0x26db17[0x2],_0x26db17[0x3],_0x5447c4,_0x125b7b]),_0x4829b7=_0x7acbc9[_0x424797(0x1cb)](),_0x212f4f=_0x7acbc9[_0x424797(0x3eb)]&&(_0x4829b7==null?void 0x0:_0x4829b7[_0x424797(0x3ed)])===_0x4413bb[_0x424797(0x163)][_0x424797(0x42d)]?_0x4829b7['ancestorTransform'][_0x424797(0x167)](_0x160b66):_0x160b66;_0x1cb0ca[_0x424797(0x433)]({'width':_0x1f5c36,'height':_0x260b17});let _0x529820=_0x1cb0ca[_0x424797(0x4a2)]();for(let _0x37177c of _0x529820){let _0x4247c2=_0x37177c['x']-_0x1f5c36/0x2,_0x1b14f7=_0x37177c['y']-_0x260b17/0x2,_0x47695a=_0x212f4f[_0x424797(0x292)]({'x':_0x4247c2,'y':_0x1b14f7}),_0x4f621b=_0x47695a['x'],_0xe1dc11=_0x47695a['y'],_0x3d1d9c=new _0x429b69('connection-site-'+_0x226f66+'-'+_0x37177c[_0x424797(0x291)],{'left':_0x4f621b-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'top':_0xe1dc11-_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)],'targetShapeId':_0x226f66,'cxnIndex':_0x37177c[_0x424797(0x291)],'unitId':this[_0x424797(0x29c)],'subUnitId':this[_0x424797(0x251)],'width':_0x24d21b['ShapeDefaultConfig'][_0x424797(0x177)]*0x2,'height':_0x24d21b[_0x424797(0x1a9)][_0x424797(0x177)]*0x2,'zIndex':_0x4413bb[_0x424797(0x1ab)]+0x2,'evented':!0x1});this[_0x424797(0xf7)][_0x424797(0x109)](_0x3d1d9c),this[_0x424797(0x42a)][_0x424797(0x141)](_0x3d1d9c,_0x4413bb[_0x424797(0x1ab)]+0x2);}}[_0x1a21ce(0x260)](_0x1573da){const _0x227624=_0x1a21ce;let _0x254bf0=null,_0x27ec8c=0x1/0x0,_0x5f2245=null;for(let _0x29abc1 of this[_0x227624(0xf7)]){let _0x1fa2e2=_0x29abc1[_0x227624(0x192)]+_0x24d21b['ShapeDefaultConfig'][_0x227624(0x177)],_0x32b045=_0x29abc1[_0x227624(0x33a)]+_0x24d21b[_0x227624(0x1a9)][_0x227624(0x177)],_0x5ebf46=_0x1573da['x']-_0x1fa2e2,_0xc24983=_0x1573da['y']-_0x32b045,_0x3601f3=Math[_0x227624(0x138)](_0x5ebf46*_0x5ebf46+_0xc24983*_0xc24983);_0x3601f3<_0x27ec8c&&(_0x27ec8c=_0x3601f3,_0x254bf0=_0x29abc1,_0x5f2245={'x':_0x1fa2e2,'y':_0x32b045});}let _0x4d7a80=_0x27ec8c<=0xa&&_0x254bf0?_0x254bf0[_0x227624(0x408)]()[_0x227624(0x1e9)]:-0x1;if(_0x4d7a80!==this[_0x227624(0x3ac)]){for(let _0x406480 of this[_0x227624(0xf7)]){let _0x4ee3ae=_0x406480[_0x227624(0x408)]();_0x406480[_0x227624(0x1af)](_0x4ee3ae['cxnIndex']===_0x4d7a80);}this['_highlightedSiteIndex']=_0x4d7a80;}if(_0x27ec8c<=0xa&&_0x254bf0&&_0x5f2245){let _0x3edcfd=_0x254bf0['getConnectionInfo'](),_0x43d91f=this[_0x227624(0x1b4)](_0x3edcfd[_0x227624(0x1b1)],_0x3edcfd[_0x227624(0x1e9)]);return{'shapeId':_0x3edcfd[_0x227624(0x1b1)],'cxnIndex':_0x3edcfd[_0x227624(0x1e9)],'unitId':_0x3edcfd[_0x227624(0x197)],'subUnitId':_0x3edcfd[_0x227624(0x4b3)],'worldPoint':_0x5f2245,'angle':_0x43d91f};}return null;}[_0x1a21ce(0x1b4)](_0x3a6024,_0x42d3b7){const _0x482683=_0x1a21ce;let _0x411e03=this[_0x482683(0x23a)][_0x482683(0x49e)](this[_0x482683(0x29c)],this[_0x482683(0x251)],_0x3a6024);if(!_0x411e03)return 0x0;let _0x37edc7=this[_0x482683(0x383)][_0x482683(0x214)]({'unitId':this[_0x482683(0x29c)],'subUnitId':this[_0x482683(0x251)],'drawingId':_0x3a6024});if(!(_0x37edc7!=null&&_0x37edc7[_0x482683(0x3a9)]))return 0x0;let {width:_0x300b08=0x0,height:_0x30c360=0x0,flipX:_0x44741b=!0x1,flipY:_0x517731=!0x1}=_0x37edc7[_0x482683(0x3a9)];_0x411e03[_0x482683(0x433)]({'width':_0x300b08,'height':_0x30c360});let _0x3776b9=_0x411e03['getConnectionSiteList']()[_0x482683(0x169)](_0x26b550=>_0x26b550[_0x482683(0x291)]===_0x42d3b7);if(!_0x3776b9)return 0x0;let _0x45fdef=_0x3776b9[_0x482683(0x363)]/0xea60;return _0x44741b&&(_0x45fdef=0xb4-_0x45fdef),_0x517731&&(_0x45fdef=-_0x45fdef),_0x45fdef=(_0x45fdef%0x168+0x168)%0x168,_0x45fdef;}['_clearConnectionSites'](){const _0x293637=_0x1a21ce;for(let _0x201e11 of this[_0x293637(0xf7)])_0x201e11[_0x293637(0x351)]();this[_0x293637(0xf7)]=[],this[_0x293637(0x3ac)]=-0x1;}['dispose'](){const _0x23b148=_0x1a21ce;this[_0x23b148(0x2a9)](),super[_0x23b148(0x351)]();}};_0x1992a8=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x4413bb[_0x1a21ce(0x399)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x2a2438[_0x1a21ce(0x3e4)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612[_0x1a21ce(0x457)]))],_0x1992a8);let _0x4bbe2f=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x56d20a,_0x42418b,_0x17d0a8,_0x2c41a1,_0x4364cd){const _0x13e97f=_0x1a21ce;super(),this['_sheetSkeletonService']=_0x56d20a,this[_0x13e97f(0x2d0)]=_0x42418b,this['_sheetDrawingService']=_0x17d0a8,this[_0x13e97f(0x46c)]=_0x2c41a1,this['_groupCopyPasteController']=_0x4364cd,_0x339d5f(this,'_copyInfo',void 0x0),this[_0x13e97f(0x227)](),this['_registerGroupFeaturePasteHook']();}get[_0x1a21ce(0x33d)](){const _0x1bc2f6=_0x1a21ce;return this[_0x1bc2f6(0x4bd)][_0x1bc2f6(0x314)]();}['_registerGroupFeaturePasteHook'](){const _0xa864d6=_0x1a21ce;this[_0xa864d6(0x350)][_0xa864d6(0x211)](({fromUnitId:_0x15a7d3,fromSubUnitId:_0x551521,toUnitId:_0x3ecb53,toSubUnitId:_0x6f4a35,idMap:_0x312f01})=>{const _0x18530c=_0xa864d6;let _0x19b61a=[],_0x129d53=[];for(let [_0x56cbae,_0x30a523]of _0x312f01[_0x18530c(0x210)]()){let _0x37bbba=this[_0x18530c(0x46c)]['getShapeModel'](_0x15a7d3,_0x551521,_0x56cbae);if(!_0x37bbba)continue;let _0x398a41=_0x37bbba[_0x18530c(0x1e0)](),_0x2a10f7=JSON[_0x18530c(0x186)](JSON['stringify'](_0x37bbba[_0x18530c(0x1ea)]()));if(_0x2a10f7[_0x18530c(0x2d6)]){var _0x5cb2b7,_0x5d9848;let _0x37378c=(_0x5cb2b7=_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)])==null?void 0x0:_0x5cb2b7[_0x18530c(0x1b1)],_0x4ca678=(_0x5d9848=_0x2a10f7['relation']['to'])==null?void 0x0:_0x5d9848[_0x18530c(0x1b1)],_0x4c28c7=!_0x37378c||_0x312f01[_0x18530c(0x3c6)](_0x37378c),_0x2b584f=!_0x4ca678||_0x312f01[_0x18530c(0x3c6)](_0x4ca678);_0x4c28c7&&_0x37378c&&_0x2a10f7['relation']['from']?_0x2a10f7['relation']['from']={..._0x2a10f7[_0x18530c(0x2d6)]['from'],'shapeId':_0x312f01[_0x18530c(0x170)](_0x37378c)}:_0x2a10f7[_0x18530c(0x2d6)][_0x18530c(0x413)]=void 0x0,_0x2b584f&&_0x4ca678&&_0x2a10f7[_0x18530c(0x2d6)]['to']?_0x2a10f7[_0x18530c(0x2d6)]['to']={..._0x2a10f7[_0x18530c(0x2d6)]['to'],'shapeId':_0x312f01['get'](_0x4ca678)}:_0x2a10f7[_0x18530c(0x2d6)]['to']=void 0x0;}_0x19b61a[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x2e6)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523,'shapeType':_0x398a41,'shapeData':_0x2a10f7}}),_0x129d53[_0x18530c(0x109)]({'id':_0x34e612[_0x18530c(0x450)]['id'],'params':{'unitId':_0x3ecb53,'subUnitId':_0x6f4a35,'shapeId':_0x30a523}});}return{'redos':_0x19b61a,'undos':_0x129d53};});}[_0x1a21ce(0x227)](){const _0xf13945=_0x1a21ce;this['disposeWithMe'](this[_0xf13945(0x2d0)]['addClipboardHook']({'id':_0xf13945(0x2fa),'onBeforeCopyFocusedObject':(_0x1f76b0,_0x55db43,_0x370c47)=>{const _0x6ba0eb=_0xf13945;this[_0x6ba0eb(0x446)]=null;let _0x39d680=this[_0x6ba0eb(0x33d)][_0x6ba0eb(0x431)](_0x3d1220=>_0x3d1220['drawingType']===_0x5cf0ce[_0x6ba0eb(0x1c1)]['DRAWING_SHAPE']);return _0x39d680[_0x6ba0eb(0x38a)]!==0x0&&(this[_0x6ba0eb(0x446)]={'unitId':_0x1f76b0,'subUnitId':_0x55db43,'copyType':_0x370c47,'drawings':_0x39d680},!0x0);},'onBeforeCopy':(_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e)=>{const _0x50d160=_0xf13945;this[_0x50d160(0x446)]=null,this['_createCopyInfoByRange'](_0x6418ed,_0x14f8bb,_0x5205ca,_0x34ac9e);},'onPasteCells':(_0x1e6822,_0x37ded5,_0x386b08,_0x5968d6)=>{const _0x5e0937=_0xf13945;if(!_0x5968d6[_0x5e0937(0x239)]||!_0x1e6822||!this[_0x5e0937(0x446)])return{'redos':[],'undos':[]};let {pasteType:_0x3a57ea}=_0x5968d6;return _0x3a57ea===_0x3e532c[_0x5e0937(0x27d)]['DEFAULT_PASTE']?this[_0x5e0937(0x370)](_0x37ded5,this[_0x5e0937(0x446)][_0x5e0937(0x14b)]===_0x3e532c[_0x5e0937(0x38b)][_0x5e0937(0x195)]):{'redos':[],'undos':[]};}}));}[_0x1a21ce(0xe5)](_0x3b5162,_0x1e5683,_0x5d04e6,_0x1fe621){const _0x13f206=_0x1a21ce;let _0x3bb3c9=this[_0x13f206(0x386)][_0x13f206(0x1c6)](_0x3b5162,_0x1e5683);if(!_0x3bb3c9)return;let _0x3b46a3=(0x0,_0xdab3fa[_0x13f206(0x19d)])(_0x3bb3c9,_0x5d04e6);if(!_0x3b46a3)return;let {startX:_0x85f284,endX:_0x57fd30,startY:_0x30bf00,endY:_0x48b118}=_0x3b46a3,_0x48953b=this[_0x13f206(0x4bd)][_0x13f206(0x385)](_0x3b5162,_0x1e5683),_0x449a22=[];for(let [_0x129a37,_0x4f2ae8]of Object['entries'](_0x48953b)){if(_0x4f2ae8[_0x13f206(0x497)]!==_0x5cf0ce[_0x13f206(0x1c1)][_0x13f206(0x33f)])continue;let {transform:_0x40c5ec}=_0x4f2ae8;if(!_0x40c5ec)continue;let {left:_0xd3afce=0x0,top:_0xa1dfbe=0x0,width:_0x189680=0x0,height:_0x44b9ae=0x0}=_0x40c5ec;_0x85f284<=_0xd3afce&&_0x57fd30>=_0xd3afce+_0x189680&&_0x30bf00<=_0xa1dfbe&&_0x48b118>=_0xa1dfbe+_0x44b9ae&&_0x449a22['push'](_0x4f2ae8);}_0x449a22[_0x13f206(0x38a)]>0x0&&(this[_0x13f206(0x446)]={'unitId':_0x3b5162,'subUnitId':_0x1e5683,'copyType':_0x1fe621,'copyRange':_0x5d04e6,'drawings':_0x449a22});}[_0x1a21ce(0x370)](_0x52f5b8,_0x5e048b){const _0x247d5d=_0x1a21ce;let {unitId:_0x132702,subUnitId:_0x4d44dc,range:_0x442e8c}=_0x52f5b8,_0x1eb189=this['_sheetSkeletonService'][_0x247d5d(0x1c6)](_0x132702,_0x4d44dc);if(!_0x1eb189)return{'redos':[],'undos':[]};let _0x60f112=(0x0,_0xdab3fa[_0x247d5d(0x2cd)])(_0x442e8c),{unitId:_0x31d020,subUnitId:_0x3fa544,copyRange:_0x1f2c85,drawings:_0x1bb506}=this[_0x247d5d(0x446)],_0x448819=this[_0x247d5d(0x386)][_0x247d5d(0x1c6)](_0x31d020,_0x3fa544);if(!_0x448819)return{'redos':[],'undos':[]};let _0x31f8b3;if(!_0x1f2c85){let _0x54bb10=0x1/0x0,_0x39b336=0x1/0x0;for(let _0xfdb342 of _0x1bb506){let {left:_0x584420=0x0,top:_0x2d47b4=0x0}=_0xfdb342[_0x247d5d(0x3a9)]??{};_0x584420<_0x54bb10&&(_0x54bb10=_0x584420),_0x2d47b4<_0x39b336&&(_0x39b336=_0x2d47b4);}_0x54bb10!==0x1/0x0&&_0x39b336!==0x1/0x0&&(_0x31f8b3={'left':_0x54bb10,'top':_0x39b336});}let _0x483d56=new Map();if(!_0x5e048b){for(let _0x22af27 of _0x1bb506)_0x483d56[_0x247d5d(0x153)](_0x22af27[_0x247d5d(0x1f5)],(0x0,_0x5cf0ce['generateRandomId'])());}let _0x48c7e9=[],_0x368ae5=[];for(let _0x3b9114 of _0x1bb506){let {drawingId:_0x12ab4a,transform:_0xc2f1db,sheetTransform:_0x476792}=_0x3b9114;if(!_0xc2f1db||!_0x476792)continue;let _0x52eb52=this['_updateTransform']({'transform':_0xc2f1db,'sheetTransform':_0x476792},{'skeleton':_0x448819,'range':_0x1f2c85},{'skeleton':_0x1eb189,'range':_0x60f112},_0x31f8b3);if(_0x5e048b){let {redos:_0x417cff,undos:_0x2ea085}=this[_0x247d5d(0x47b)]({'fromUnitId':_0x31d020,'fromSubUnitId':_0x3fa544,'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52});_0x48c7e9[_0x247d5d(0x109)](..._0x417cff),_0x368ae5[_0x247d5d(0x109)](..._0x2ea085);continue;}let {redos:_0x5a0b22,undos:_0x1ebddd}=this[_0x247d5d(0x201)]({'toUnitId':_0x132702,'toSubUnitId':_0x4d44dc,'drawing':_0x3b9114,'newTransforms':_0x52eb52,'newDrawingId':_0x483d56[_0x247d5d(0x170)](_0x12ab4a),'idMap':_0x483d56});_0x48c7e9[_0x247d5d(0x109)](..._0x5a0b22),_0x368ae5[_0x247d5d(0x109)](..._0x1ebddd);}return{'redos':_0x48c7e9,'undos':_0x368ae5};}['_generateCutPasteMutations'](_0x4ff4fa){const _0xca5af1=_0x1a21ce;let {fromUnitId:_0x5c5e94,fromSubUnitId:_0x4ac575,toUnitId:_0x31b3b9,toSubUnitId:_0x454617,drawing:_0x421178,newTransforms:_0x838106}=_0x4ff4fa,_0x1a100f={..._0x421178,'unitId':_0x31b3b9,'subUnitId':_0x454617,'transform':_0x838106['transform'],'sheetTransform':_0x838106['sheetTransform']};if(_0x31b3b9===_0x5c5e94&&_0x454617===_0x4ac575){let {redo:_0x5fd8ce,undo:_0x146d7f,objects:_0x4a2e25}=this[_0xca5af1(0x4bd)][_0xca5af1(0x1fe)]([_0x1a100f]);return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x5fd8ce,'objects':_0x4a2e25}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x243)],'op':_0x146d7f,'objects':_0x4a2e25}}]};}{let _0x52a00b=this['_sheetDrawingService']['getBatchRemoveOp']([_0x421178]),_0x14c295=this['_sheetDrawingService'][_0xca5af1(0x4c6)]([_0x1a100f]),_0x1faf8b=this[_0xca5af1(0x46c)][_0xca5af1(0x49e)](_0x421178[_0xca5af1(0x197)],_0x421178[_0xca5af1(0x4b3)],_0x421178[_0xca5af1(0x1f5)]);if(!_0x1faf8b)return{'redos':[],'undos':[]};let _0x178c22=_0x1faf8b[_0xca5af1(0x1e0)](),_0x2ca2d9=JSON[_0xca5af1(0x186)](JSON[_0xca5af1(0x41f)](_0x1faf8b['getShapeData']()));return{'redos':[{'id':_0x57dfd6['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6['DrawingApplyType']['REMOVE'],'op':_0x52a00b[_0xca5af1(0x2da)],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)]}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x14c295[_0xca5af1(0x2da)],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}}],'undos':[{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x212)],'op':_0x52a00b['undo'],'objects':_0x52a00b[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x2e6)]['id'],'params':{'unitId':_0x5c5e94,'subUnitId':_0x4ac575,'shapeId':_0x421178[_0xca5af1(0x1f5)],'shapeType':_0x178c22,'shapeData':_0x2ca2d9}},{'id':_0x57dfd6[_0xca5af1(0xda)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'type':_0x57dfd6[_0xca5af1(0x14a)][_0xca5af1(0x4b5)],'op':_0x14c295['undo'],'objects':_0x14c295[_0xca5af1(0x119)]}},{'id':_0x34e612[_0xca5af1(0x450)]['id'],'params':{'unitId':_0x31b3b9,'subUnitId':_0x454617,'shapeId':_0x421178[_0xca5af1(0x1f5)]}}]};}}[_0x1a21ce(0x201)](_0x2da76d){const _0x1dcdb8=_0x1a21ce;let {toUnitId:_0x201b12,toSubUnitId:_0x1dfccd,drawing:_0x4351f0,newTransforms:_0x1028eb,newDrawingId:_0x5bf27e,idMap:_0x57faab}=_0x2da76d,_0x114b85={..._0x4351f0,'unitId':_0x201b12,'subUnitId':_0x1dfccd,'drawingId':_0x5bf27e,'transform':_0x1028eb[_0x1dcdb8(0x3a9)],'sheetTransform':_0x1028eb[_0x1dcdb8(0x1ed)]},{redo:_0x18ad61,undo:_0x57af51,objects:_0x43c249}=this[_0x1dcdb8(0x4bd)][_0x1dcdb8(0x4c6)]([_0x114b85]),_0x1cfa23=this[_0x1dcdb8(0x46c)][_0x1dcdb8(0x49e)](_0x4351f0[_0x1dcdb8(0x197)],_0x4351f0[_0x1dcdb8(0x4b3)],_0x4351f0[_0x1dcdb8(0x1f5)]);if(!_0x1cfa23)return{'redos':[],'undos':[]};let _0x5a126d=_0x1cfa23[_0x1dcdb8(0x1e0)](),_0x4dea4a=JSON[_0x1dcdb8(0x186)](JSON[_0x1dcdb8(0x41f)](_0x1cfa23[_0x1dcdb8(0x1ea)]()));if(_0x4dea4a[_0x1dcdb8(0x2d6)]){var _0x25c66d,_0x9f70f3;let _0x47d530=(_0x25c66d=_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)])==null?void 0x0:_0x25c66d['shapeId'],_0x591e45=(_0x9f70f3=_0x4dea4a['relation']['to'])==null?void 0x0:_0x9f70f3[_0x1dcdb8(0x1b1)],_0x22fa11=!_0x47d530||_0x57faab[_0x1dcdb8(0x3c6)](_0x47d530),_0x4e2448=!_0x591e45||_0x57faab[_0x1dcdb8(0x3c6)](_0x591e45);_0x22fa11&&_0x47d530&&_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]?_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]={..._0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)],'shapeId':_0x57faab['get'](_0x47d530)}:_0x4dea4a[_0x1dcdb8(0x2d6)][_0x1dcdb8(0x413)]=void 0x0,_0x4e2448&&_0x591e45&&_0x4dea4a[_0x1dcdb8(0x2d6)]['to']?_0x4dea4a[_0x1dcdb8(0x2d6)]['to']={..._0x4dea4a[_0x1dcdb8(0x2d6)]['to'],'shapeId':_0x57faab[_0x1dcdb8(0x170)](_0x591e45)}:_0x4dea4a[_0x1dcdb8(0x2d6)]['to']=void 0x0;}return{'redos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6['DrawingApplyType'][_0x1dcdb8(0x212)],'op':_0x18ad61,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x2e6)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e,'shapeType':_0x5a126d,'shapeData':_0x4dea4a}}],'undos':[{'id':_0x57dfd6[_0x1dcdb8(0xda)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'type':_0x57dfd6[_0x1dcdb8(0x14a)]['REMOVE'],'op':_0x57af51,'objects':_0x43c249}},{'id':_0x34e612[_0x1dcdb8(0x450)]['id'],'params':{'unitId':_0x201b12,'subUnitId':_0x1dfccd,'shapeId':_0x5bf27e}}]};}[_0x1a21ce(0x454)](_0x5e02cd,_0x5b0774,_0x54bcd2,_0x170a6d){const _0x4c976a=_0x1a21ce;let {range:_0x2b314d,skeleton:_0x5c4c4a}=_0x5b0774,{range:_0xf1c75f,skeleton:_0x3e79af}=_0x54bcd2,{transform:_0x2f28f9,sheetTransform:_0x1f4fe5}=_0x5e02cd,_0x376e99={..._0x2f28f9};if(_0x2b314d){let _0x6be740=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x5c4c4a,_0x2b314d),_0x2c7dfb=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x6be740&&_0x2c7dfb){let _0x5e257e=_0x2c7dfb[_0x4c976a(0x16d)]-_0x6be740[_0x4c976a(0x16d)],_0x283546=_0x2c7dfb[_0x4c976a(0x21b)]-_0x6be740['startY'];_0x376e99['left']=(_0x376e99[_0x4c976a(0x192)]??0x0)+_0x5e257e,_0x376e99[_0x4c976a(0x33a)]=(_0x376e99[_0x4c976a(0x33a)]??0x0)+_0x283546;}}else{let _0x7a16d2=(0x0,_0xdab3fa[_0x4c976a(0x19d)])(_0x3e79af,_0xf1c75f);if(_0x170a6d&&_0x7a16d2){let _0x2b948f=(_0x376e99['left']??0x0)-_0x170a6d[_0x4c976a(0x192)],_0x281f4f=(_0x376e99[_0x4c976a(0x33a)]??0x0)-_0x170a6d[_0x4c976a(0x33a)];_0x376e99[_0x4c976a(0x192)]=_0x7a16d2[_0x4c976a(0x16d)]+_0x2b948f,_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2[_0x4c976a(0x21b)]+_0x281f4f;}else _0x376e99['left']=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x16d)],_0x376e99[_0x4c976a(0x33a)]=_0x7a16d2==null?void 0x0:_0x7a16d2[_0x4c976a(0x21b)];}return{'transform':_0x376e99,'sheetTransform':(0x0,_0x57dfd6['transformToDrawingPosition'])(_0x376e99,_0x3e79af)??_0x1f4fe5};}};_0x4bbe2f=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0xdab3fa['SheetSkeletonService'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x3e532c['ISheetClipboardService'])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x57dfd6[_0x1a21ce(0x114)])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x22ea8b[_0x1a21ce(0x1b0)]))],_0x4bbe2f);var _0x12ef88=class extends _0x4413bb['Shape']{constructor(_0x15ed21,_0x21c6ef){const _0x216c41=_0x1a21ce;super(_0x15ed21,_0x21c6ef),_0x339d5f(this,'_shapeId',null),_0x339d5f(this,'_index',null),_0x339d5f(this,'_unitId',null),_0x339d5f(this,_0x216c41(0x251),null),_0x339d5f(this,_0x216c41(0x3c1),!0x1),_0x21c6ef&&this[_0x216c41(0x4b8)](_0x21c6ef);}['getDrawingSearch'](){const _0x1bfd39=_0x1a21ce;return{'unitId':this[_0x1bfd39(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1bfd39(0x2f8)]};}[_0x1a21ce(0x4b8)](_0xbf337a){const _0x53a6b6=_0x1a21ce;_0xbf337a[_0x53a6b6(0x1b1)]!==void 0x0&&(this[_0x53a6b6(0x2f8)]=_0xbf337a[_0x53a6b6(0x1b1)]),_0xbf337a[_0x53a6b6(0x197)]!==void 0x0&&(this[_0x53a6b6(0x29c)]=_0xbf337a[_0x53a6b6(0x197)]),_0xbf337a['subUnitId']!==void 0x0&&(this[_0x53a6b6(0x251)]=_0xbf337a['subUnitId']),_0xbf337a['isStartConnectorPoint']!==void 0x0&&(this[_0x53a6b6(0x3c1)]=_0xbf337a['isStartConnectorPoint']),this['transformByState']({'width':_0xbf337a['width'],'height':_0xbf337a[_0x53a6b6(0x31b)]});}[_0x1a21ce(0x445)](_0x516f23){const _0xb6566a=_0x1a21ce;_0x4413bb[_0xb6566a(0x3d7)][_0xb6566a(0x3c9)](_0x516f23,{'radius':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x177)],'fill':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x38e)],'stroke':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x3cd)],'strokeWidth':_0x24d21b['ShapeDefaultConfig'][_0xb6566a(0x2fe)],'evented':!0x0});}};let _0x380bd1=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x23ad5b,_0x5eff4c,_0x4913e5,_0x5067f2,_0x3aefe6,_0x26302c,_0x15ebce,_0xf65ee7){const _0x460233=_0x1a21ce;super(),this[_0x460233(0x4c9)]=_0x23ad5b,this[_0x460233(0x378)]=_0x5eff4c,this[_0x460233(0x411)]=_0x4913e5,this[_0x460233(0x383)]=_0x5067f2,this[_0x460233(0x2d5)]=_0x3aefe6,this['_sheetsShapeService']=_0x26302c,this[_0x460233(0x2b1)]=_0x15ebce,this[_0x460233(0x362)]=_0xf65ee7,_0x339d5f(this,'_activeShapeId',void 0x0),_0x339d5f(this,'_unitId',void 0x0),_0x339d5f(this,'_subUnitId',void 0x0),_0x339d5f(this,_0x460233(0x10a),[]),_0x339d5f(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x339d5f(this,_0x460233(0xf3),void 0x0),_0x339d5f(this,_0x460233(0x180),!0x1),_0x339d5f(this,_0x460233(0x49f),!0x1),_0x339d5f(this,_0x460233(0x187),!0x1),_0x339d5f(this,'_cxtHandlerPointerMove',void 0x0),_0x339d5f(this,_0x460233(0x3e8),void 0x0),_0x339d5f(this,_0x460233(0x320),null),this[_0x460233(0x49d)]();}[_0x1a21ce(0x49d)](){const _0x143705=_0x1a21ce;this[_0x143705(0x447)](),this[_0x143705(0x293)]();}['_getDrawingRect'](){const _0x366482=_0x1a21ce;if(!this[_0x366482(0x29c)]||!this[_0x366482(0x251)]||!this['_activeShapeId'])return;let _0x19dda6={'unitId':this[_0x366482(0x29c)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x366482(0x376)]},{transform:_0x5d8ab1}=this[_0x366482(0x383)][_0x366482(0x214)](_0x19dda6);if(_0x5d8ab1)return{'left':_0x5d8ab1[_0x366482(0x192)]||0x0,'top':_0x5d8ab1['top']||0x0,'width':_0x5d8ab1[_0x366482(0x36b)]||0x0,'height':_0x5d8ab1[_0x366482(0x31b)]||0x0,'flipX':_0x5d8ab1[_0x366482(0x405)]||!0x1,'flipY':_0x5d8ab1[_0x366482(0x488)]||!0x1,'angle':_0x5d8ab1['angle']};}['_addShapeConnectorHandlerObjects'](){const _0x172c44=_0x1a21ce;if(this[_0x172c44(0x29c)]===void 0x0||this[_0x172c44(0x251)]===void 0x0||this[_0x172c44(0x376)]===void 0x0)return;let _0x58b8fb=this[_0x172c44(0x411)][_0x172c44(0x3ce)](this[_0x172c44(0x29c)]);if(!_0x58b8fb||!_0x58b8fb[_0x172c44(0x18b)](_0x3e532c[_0x172c44(0x432)])[_0x172c44(0x475)]())return;let {scene:_0x264db7}=_0x58b8fb,_0xde5be8=this[_0x172c44(0x225)]();if(!_0xde5be8)return;let _0xc3adfe=this[_0x172c44(0x23a)]['getShapeModel'](this[_0x172c44(0x29c)],this['_subUnitId'],this[_0x172c44(0x376)]);if(!_0xc3adfe||!(0x0,_0x24d21b['isConnectorShape'])(_0xc3adfe['getShapeType']()))return;let _0x2233bb=_0xc3adfe[_0x172c44(0x308)]();if(_0x2233bb[_0x172c44(0x38a)]<0x2)return;let _0xf0fad0=new _0x24d21b[(_0x172c44(0x168))](_0xde5be8),_0x38d251=_0x2233bb[0x0],_0x38abd9=_0x2233bb[_0x2233bb[_0x172c44(0x38a)]-0x1],_0x192865=_0xf0fad0[_0x172c44(0x458)](_0x38d251),_0x5d0184=_0xf0fad0[_0x172c44(0x458)](_0x38abd9);this['_addShapeConnectorHandlerObject'](_0x264db7,{..._0x192865},!0x0),this[_0x172c44(0x2ab)](_0x264db7,{..._0x5d0184},!0x1);}[_0x1a21ce(0x2ab)](_0x150026,_0x5518b2,_0x280477){const _0xfed522=_0x1a21ce;if(this[_0xfed522(0x376)]===void 0x0||this[_0xfed522(0x29c)]===void 0x0||this[_0xfed522(0x251)]===void 0x0)return;let _0x538241=_0xfed522(0x46a)+this[_0xfed522(0x29c)]+'-'+this[_0xfed522(0x251)]+'-'+this[_0xfed522(0x376)]+'-'+(_0x280477?_0xfed522(0x13c):_0xfed522(0x1f9)),_0x5db082=_0x150026[_0xfed522(0x26e)](_0x538241);if(_0x5db082){_0x5db082[_0xfed522(0x4bb)]({'left':_0x5518b2['x']-_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)]});return;}let _0xc1d750=new _0x12ef88(_0x538241,{'left':_0x5518b2['x']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'top':_0x5518b2['y']-_0x24d21b[_0xfed522(0x1a9)][_0xfed522(0x177)],'shapeId':this['_activeShapeId'],'unitId':this['_unitId'],'subUnitId':this[_0xfed522(0x251)],'isStartConnectorPoint':_0x280477,'width':_0x24d21b[_0xfed522(0x1a9)]['cxnPointRadius']*0x2,'height':_0x24d21b['ShapeDefaultConfig'][_0xfed522(0x177)]*0x2,'zIndex':_0x4413bb[_0xfed522(0x1ab)]+0x1,'evented':!0x0});this[_0xfed522(0x10a)][_0xfed522(0x109)](_0xc1d750),this[_0xfed522(0x417)](_0xc1d750,_0x150026,_0x280477),_0x150026[_0xfed522(0x141)](_0xc1d750,_0x4413bb[_0xfed522(0x1ab)]+0x1);}[_0x1a21ce(0x39b)](_0x3fbbe8,_0x32d8c4){const _0x330ea8=_0x1a21ce;var _0x1974e1;let _0x512777={'x':0x0,'y':0x0};if(!_0x3fbbe8||!_0x32d8c4)return _0x512777;let _0x3bc245=this[_0x330ea8(0x411)]['getRenderUnitById'](_0x3fbbe8);if(!_0x3bc245||!_0x3bc245[_0x330ea8(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x330ea8(0x1c6)](_0x32d8c4))return _0x512777;let _0x52759c=_0x3bc245[_0x330ea8(0x18b)](_0x3e532c[_0x330ea8(0x47c)]),_0x7efa17=_0x52759c==null?void 0x0:_0x52759c[_0x330ea8(0x100)]();if(!_0x7efa17)return _0x512777;let _0x2bbd06=(_0x1974e1=this['_univerInstanceService'][_0x330ea8(0x412)](_0x3fbbe8))==null?void 0x0:_0x1974e1['getSheetBySheetId'](_0x32d8c4);if(!_0x2bbd06)return _0x512777;let _0x1b141b=(0x0,_0x3e532c[_0x330ea8(0x3d0)])(_0x7efa17['sheetViewStartRow'],_0x7efa17[_0x330ea8(0x4b0)],_0x3bc245[_0x330ea8(0x2d7)],_0x2bbd06);return _0x1b141b?{'x':_0x1b141b['viewportScrollX'],'y':_0x1b141b[_0x330ea8(0x491)]}:_0x512777;}[_0x1a21ce(0x129)](_0x453481,_0x46c883){const _0x407314=_0x1a21ce;var _0x1e52c0;let _0x2143d5=(_0x1e52c0=this[_0x407314(0x2d5)][_0x407314(0x412)](_0x453481))==null?void 0x0:_0x1e52c0[_0x407314(0x1c4)](_0x46c883);return(_0x2143d5==null?void 0x0:_0x2143d5[_0x407314(0xea)]())??0x1;}[_0x1a21ce(0x380)](_0x11aca9,_0x558c7b,_0x3a5dc5,_0x37078f,_0x2e505d){const _0x5811b6=_0x1a21ce;this[_0x5811b6(0x30e)][_0x5811b6(0x15a)](),this[_0x5811b6(0x3e8)]['unsubscribe'](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x297edc=this[_0x5811b6(0x320)];this[_0x5811b6(0x362)]['endConnectionDetection']();let _0x3ddb92=this[_0x5811b6(0x39b)](this[_0x5811b6(0x29c)],this[_0x5811b6(0x251)]),_0x3d072f=this[_0x5811b6(0x129)](this['_unitId'],this['_subUnitId']),_0x11d245={'x':_0x3a5dc5[_0x5811b6(0x17f)]/_0x3d072f+_0x3ddb92['x'],'y':_0x3a5dc5[_0x5811b6(0x27c)]/_0x3d072f+_0x3ddb92['y']},_0x29ccbe=_0x297edc?_0x297edc[_0x5811b6(0x11d)]:_0x11d245,_0x38fd01=_0x37078f?this[_0x5811b6(0xf3)][_0x5811b6(0x1cc)]():this[_0x5811b6(0xf3)][_0x5811b6(0x2d2)](),_0x5cebbc=this[_0x5811b6(0xf3)][_0x5811b6(0x1e0)]();_0x38fd01?this[_0x5811b6(0x31a)](_0x38fd01,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d):this[_0x5811b6(0x498)](_0x558c7b,_0x29ccbe,_0x37078f,_0x297edc,_0x2e505d,_0x5cebbc),this[_0x5811b6(0x180)]=!0x1,this['_hasReset']=!0x1,this[_0x5811b6(0x320)]=null,_0x11aca9[_0x5811b6(0x415)]();}[_0x1a21ce(0x498)](_0x5d20a5,_0x20c133,_0xddc2a0,_0xd21316,_0x5237d3,_0x41accd){const _0xb05a75=_0x1a21ce;let _0x1c7dfe=_0x41accd===_0x24d21b['ShapeTypeEnum']['Line']||_0x41accd===_0x24d21b[_0xb05a75(0x4a6)]['StraightConnector1'],_0x402ead=_0xddc2a0?_0x20c133:_0x5d20a5,_0x144ce5=_0xddc2a0?_0x5d20a5:_0x20c133,_0xf79584=this[_0xb05a75(0xf3)]['getConnectorLinePoints'](),_0x57da2d=this['_activeShapeModel'][_0xb05a75(0x1e0)](),_0x3c8f4e=(0x0,_0x24d21b[_0xb05a75(0x437)])(_0x57da2d),_0x1d1237=_0x24d21b['ConnectorCoordinateTransform'][_0xb05a75(0x1fc)](_0xf79584,_0x3c8f4e),_0x301dc1=_0x1c7dfe?_0x24d21b['ConnectorCoordinateTransform']['computeStraightConnectorLayout'](_0x402ead,_0x144ce5):_0x24d21b['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x5d20a5,_0x20c133,_0xddc2a0,_0x1d1237);_0xd21316?this[_0xb05a75(0x143)](_0x301dc1,_0xd21316,_0xddc2a0,_0x5237d3):this[_0xb05a75(0x1e6)](_0x301dc1,_0x5237d3);}[_0x1a21ce(0x31a)](_0x21ccb5,_0x42a7dd,_0x4f35d8,_0x2283af,_0x413350){const _0x1d77a2=_0x1a21ce;let _0x2a49e6=this[_0x1d77a2(0xf4)](_0x21ccb5);if(!_0x2a49e6)return;let _0x5b576d=_0x2283af?_0x2283af[_0x1d77a2(0x11e)]:this[_0x1d77a2(0x430)](_0x2a49e6[_0x1d77a2(0x409)],_0x42a7dd),_0xb766c7;if(_0x2283af){let _0x34fad7=this[_0x1d77a2(0x383)][_0x1d77a2(0x214)]({'unitId':_0x2283af[_0x1d77a2(0x197)],'subUnitId':_0x2283af[_0x1d77a2(0x4b3)],'drawingId':_0x2283af[_0x1d77a2(0x1b1)]});if(_0x34fad7!=null&&_0x34fad7[_0x1d77a2(0x3a9)]){let {left:_0x1f007e=0x0,top:_0xccf37c=0x0,width:_0x61b360=0x0,height:_0x173bf7=0x0,angle:_0xc91e18}=_0x34fad7[_0x1d77a2(0x3a9)];_0xb766c7=(0x0,_0x24d21b[_0x1d77a2(0x37b)])({'left':_0x1f007e,'top':_0xccf37c,'width':_0x61b360,'height':_0x173bf7},_0xc91e18||0x0);}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};}else _0xb766c7={'left':_0x42a7dd['x'],'top':_0x42a7dd['y'],'width':0x0,'height':0x0};let _0x567420={'point':_0x42a7dd,'angle':_0x5b576d,'bounds':_0xb766c7},_0x43951a=_0x4f35d8?_0x567420:_0x2a49e6,_0x17b9aa=_0x4f35d8?_0x2a49e6:_0x567420,_0x5c1b37=this[_0x1d77a2(0xf3)][_0x1d77a2(0x1e0)](),_0x1f49ec=(0x0,_0x24d21b[_0x1d77a2(0x499)])(_0x43951a,_0x17b9aa,_0x5c1b37);this[_0x1d77a2(0xf3)]['removeLinePoints']();let _0x49dcd7=(0x0,_0x24d21b[_0x1d77a2(0xfc)])(_0x1f49ec,_0x5c1b37);_0x2283af?this[_0x1d77a2(0x444)](_0x49dcd7,_0x2283af,_0x21ccb5,_0x4f35d8,_0x413350):this[_0x1d77a2(0x179)](_0x49dcd7,_0x21ccb5,_0x4f35d8,_0x413350);}[_0x1a21ce(0x143)](_0x5de09a,_0xfadf77,_0x75003e,_0x52ee3e){const _0x9d786b=_0x1a21ce;let _0x41eab2=this[_0x9d786b(0xf3)]['getShapeData']()['relation'],_0x52f195={..._0x41eab2},_0x22482a={'shapeId':_0xfadf77[_0x9d786b(0x1b1)],'cxnIndex':_0xfadf77[_0x9d786b(0x1e9)]};_0x75003e?_0x52f195[_0x9d786b(0x413)]=_0x22482a:_0x52f195['to']=_0x22482a;let _0x2a13ff=this[_0x9d786b(0xf3)][_0x9d786b(0x1e0)](),_0x5422a5=(0x0,_0x24d21b[_0x9d786b(0xfc)])(_0x5de09a['worldPoints'],_0x2a13ff),_0x119f83={'unitId':this[_0x9d786b(0x29c)],'subUnitId':this[_0x9d786b(0x251)],'connectorShapeId':this[_0x9d786b(0x376)],'width':_0x5de09a['worldRect'][_0x9d786b(0x36b)],'height':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x31b)],'left':_0x5de09a[_0x9d786b(0x121)]['left'],'top':_0x5de09a[_0x9d786b(0x121)][_0x9d786b(0x33a)],'flipX':_0x5de09a['worldRect'][_0x9d786b(0x405)]||!0x1,'flipY':_0x5de09a['worldRect'][_0x9d786b(0x488)]||!0x1,'newAdjustValues':_0x5422a5[_0x9d786b(0x324)],'oldAdjustValues':_0x52ee3e,'oldRelation':_0x41eab2,'newRelation':_0x52f195,'newLineType':_0x5422a5['lineType'],'oldLineType':_0x2a13ff};this['_commandService'][_0x9d786b(0x2af)](_0x34e612[_0x9d786b(0x193)]['id'],_0x119f83);}['_executeResizeCommand'](_0x53a800,_0x12cad0){const _0x29a389=_0x1a21ce;let _0x1e3180=this['_activeShapeModel'][_0x29a389(0x1e0)](),_0x22c4e3=(0x0,_0x24d21b[_0x29a389(0xfc)])(_0x53a800[_0x29a389(0x332)],_0x1e3180),_0x33e704={'unitId':this[_0x29a389(0x29c)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x29a389(0x376)],'width':_0x53a800[_0x29a389(0x121)][_0x29a389(0x36b)],'height':_0x53a800[_0x29a389(0x121)][_0x29a389(0x31b)],'left':_0x53a800[_0x29a389(0x121)][_0x29a389(0x192)],'top':_0x53a800[_0x29a389(0x121)]['top'],'flipX':_0x53a800[_0x29a389(0x121)][_0x29a389(0x405)]||!0x1,'flipY':_0x53a800[_0x29a389(0x121)][_0x29a389(0x488)]||!0x1,'angle':_0x53a800[_0x29a389(0x121)]['angle']||0x0,'newAdjustValues':_0x22c4e3[_0x29a389(0x324)],'oldAdjustValues':_0x12cad0,'newLineType':_0x22c4e3[_0x29a389(0x2cf)],'oldLineType':_0x1e3180};this[_0x29a389(0x378)][_0x29a389(0x2af)](_0x34e612[_0x29a389(0x4a4)]['id'],_0x33e704);}[_0x1a21ce(0x444)](_0x7c8d0c,_0xbbea9d,_0x386a93,_0x197544,_0x1e93ac){const _0x4178e1=_0x1a21ce;let _0x47796e=this[_0x4178e1(0xf3)][_0x4178e1(0x1ea)]()[_0x4178e1(0x2d6)],_0x520572={..._0x47796e},_0x27b3ca={'shapeId':_0xbbea9d['shapeId'],'cxnIndex':_0xbbea9d[_0x4178e1(0x1e9)]};_0x197544?(_0x520572[_0x4178e1(0x413)]=_0x27b3ca,_0x520572['to']=_0x386a93):(_0x520572['from']=_0x386a93,_0x520572['to']=_0x27b3ca);let _0x4b9d6d={'unitId':this[_0x4178e1(0x29c)],'subUnitId':this[_0x4178e1(0x251)],'connectorShapeId':this[_0x4178e1(0x376)],'width':_0x7c8d0c[_0x4178e1(0x121)]['width'],'height':_0x7c8d0c['worldRect'][_0x4178e1(0x31b)],'left':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x192)],'top':_0x7c8d0c['worldRect'][_0x4178e1(0x33a)],'flipX':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x405)]||!0x1,'flipY':_0x7c8d0c[_0x4178e1(0x121)][_0x4178e1(0x488)]||!0x1,'oldAdjustValues':_0x1e93ac,'newAdjustValues':_0x7c8d0c[_0x4178e1(0x324)],'newLineType':_0x7c8d0c[_0x4178e1(0x2cf)],'rotation':_0x7c8d0c[_0x4178e1(0x4cc)],'oldRelation':_0x47796e,'newRelation':_0x520572};this[_0x4178e1(0x378)]['executeCommand'](_0x34e612[_0x4178e1(0x193)]['id'],_0x4b9d6d);}[_0x1a21ce(0x179)](_0x5f5867,_0x37b4d6,_0x458677,_0x46c045){const _0x504a96=_0x1a21ce;let _0x53a8d7=this['_activeShapeModel'][_0x504a96(0x1ea)]()['relation'],_0x5d96c8={};_0x458677?(_0x5d96c8['to']=_0x37b4d6,_0x5d96c8['from']=void 0x0):(_0x5d96c8[_0x504a96(0x413)]=_0x37b4d6,_0x5d96c8['to']=void 0x0);let _0x4eca5c={'unitId':this[_0x504a96(0x29c)],'subUnitId':this[_0x504a96(0x251)],'connectorShapeId':this[_0x504a96(0x376)],'width':_0x5f5867['worldRect'][_0x504a96(0x36b)],'height':_0x5f5867[_0x504a96(0x121)][_0x504a96(0x31b)],'left':_0x5f5867['worldRect'][_0x504a96(0x192)],'top':_0x5f5867['worldRect'][_0x504a96(0x33a)],'flipX':_0x5f5867['worldRect']['flipX']||!0x1,'flipY':_0x5f5867['worldRect'][_0x504a96(0x488)]||!0x1,'oldAdjustValues':_0x46c045,'newAdjustValues':_0x5f5867['adjustValues'],'newLineType':_0x5f5867[_0x504a96(0x2cf)],'rotation':_0x5f5867['rotation'],'oldRelation':_0x53a8d7,'newRelation':_0x5d96c8};this['_commandService'][_0x504a96(0x2af)](_0x34e612[_0x504a96(0x193)]['id'],_0x4eca5c);}['_attachConnectorObjectEvent'](_0x5a6dec,_0x1b4c6a,_0x1005ea){const _0x2cb2c3=_0x1a21ce;this[_0x2cb2c3(0x4c4)]((0x0,_0x5cf0ce[_0x2cb2c3(0xff)])(_0x5a6dec[_0x2cb2c3(0x39e)]['subscribeEvent']((_0x2b2092,_0x2b3710)=>{const _0xe53a8e=_0x2cb2c3;let _0x462cd2=_0x5a6dec[_0xe53a8e(0x1a8)]();if(this['_activeShapeModel']=this[_0xe53a8e(0x23a)][_0xe53a8e(0x49e)](_0x462cd2['unitId'],_0x462cd2[_0xe53a8e(0x4b3)],_0x462cd2[_0xe53a8e(0x1f5)]),!this[_0xe53a8e(0xf3)])return;let _0x48883f={};this[_0xe53a8e(0xf3)][_0xe53a8e(0x388)]()[_0xe53a8e(0x123)](_0x3e7c41=>{const _0x74f379=_0xe53a8e;let _0x126633=this[_0x74f379(0xf3)][_0x74f379(0x317)](_0x3e7c41);_0x126633!==void 0x0&&(_0x48883f[_0x3e7c41]=_0x126633);});let _0x3d2153=this[_0xe53a8e(0x225)]();if(!_0x3d2153)return;this[_0xe53a8e(0x2b0)]={..._0x3d2153};let _0x37e652=new _0x24d21b[(_0xe53a8e(0x168))](this['_baseDrawingRect']),_0x5bd0c7=(0x0,_0x2a2438['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this[_0xe53a8e(0x251)],'drawingId':this[_0xe53a8e(0x376)]}),_0xcd9ebf=_0x1b4c6a[_0xe53a8e(0x26e)](_0x5bd0c7);this['_isConnecting']=!0x0,_0x1b4c6a[_0xe53a8e(0x2c1)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x1b4c6a,this[_0xe53a8e(0x29c)],this[_0xe53a8e(0x251)],this[_0xe53a8e(0x376)]),this[_0xe53a8e(0x320)]=null;let _0x35cab7=this['_activeShapeModel'][_0xe53a8e(0x308)](),_0x59a747=_0x35cab7[0x0],_0x1a1f55=_0x35cab7[_0x35cab7['length']-0x1],_0x2bba71=_0x1005ea?_0x37e652[_0xe53a8e(0x458)](_0x1a1f55):_0x37e652[_0xe53a8e(0x458)](_0x59a747);this['_cxtHandlerPointerMove']=_0x1b4c6a[_0xe53a8e(0xee)][_0xe53a8e(0x3fc)]((_0xca476b,_0x44683d)=>{const _0x48f32a=_0xe53a8e;if(!this[_0x48f32a(0x180)]||!this[_0x48f32a(0xf3)])return;this['_hasReset']||=(this['_sheetShapeAdjustController'][_0x48f32a(0x4af)](),this[_0x48f32a(0xf3)][_0x48f32a(0x1b7)](),!0x0);let _0x265275=this['_getScrollInfo'](this['_unitId'],this[_0x48f32a(0x251)]),_0x54b508=this[_0x48f32a(0x129)](this[_0x48f32a(0x29c)],this['_subUnitId']),_0x4f5eb7={'x':_0xca476b[_0x48f32a(0x17f)]/_0x54b508+_0x265275['x'],'y':_0xca476b['offsetY']/_0x54b508+_0x265275['y']},_0x4354e9=this['_sheetBasicShapeConnectionPointController'][_0x48f32a(0x3db)](_0x4f5eb7);if(_0x4354e9){let {shapeId:_0x26e4ad,unitId:_0x201dcb,subUnitId:_0x25c34c}=_0x4354e9;if(_0x26e4ad&&_0x201dcb&&_0x25c34c){let _0x10804f=(0x0,_0x2a2438[_0x48f32a(0x414)])({'unitId':_0x201dcb,'subUnitId':_0x25c34c,'drawingId':_0x26e4ad});_0x4354e9[_0x48f32a(0x11e)]=(_0x1b4c6a['getObjectIncludeInGroup'](_0x10804f)[_0x48f32a(0x11e)]||0x0)+_0x4354e9[_0x48f32a(0x11e)];}}this[_0x48f32a(0x320)]=_0x4354e9;let _0x2fce31=_0x1005ea?this[_0x48f32a(0xf3)]['getEndConnectInfo']():this['_activeShapeModel'][_0x48f32a(0x2d2)]();_0x2fce31?this[_0x48f32a(0xe4)](_0x2fce31,_0x4f5eb7,_0x1005ea,_0xcd9ebf,_0x5a6dec):this[_0x48f32a(0x268)](_0x4f5eb7,_0x2bba71,_0x1005ea,_0xcd9ebf,_0x5a6dec);}),this[_0xe53a8e(0x3e8)]=_0x1b4c6a['onPointerUp$'][_0xe53a8e(0x3fc)]((_0x14e6b4,_0x37cb44)=>{const _0x14f8f0=_0xe53a8e;this[_0x14f8f0(0x380)](_0x1b4c6a,_0x2bba71,_0x14e6b4,_0x1005ea,_0x48883f);}),_0x2b3710[_0xe53a8e(0x344)]();})));}[_0x1a21ce(0x19c)](_0x4ecc18,_0x2842df,_0x622ef2){const _0x4ba55d=_0x1a21ce;let _0x4abb3a=this[_0x4ba55d(0x23a)][_0x4ba55d(0x12c)](_0x4ecc18,_0x2842df,_0x622ef2);if(!_0x4abb3a||_0x4abb3a[_0x4ba55d(0x38a)]===0x0)return;let _0x52b5e8=this[_0x4ba55d(0x411)]['getRenderUnitById'](_0x4ecc18);if(!_0x52b5e8)return;let {scene:_0x294692}=_0x52b5e8;for(let _0x574044 of _0x4abb3a){let _0x453387=_0x574044[_0x4ba55d(0x113)],_0x585a11=this[_0x4ba55d(0x23a)][_0x4ba55d(0x49e)](_0x4ecc18,_0x2842df,_0x453387);if(!_0x585a11)continue;let _0x261c0f=_0x585a11[_0x4ba55d(0x2d2)](),_0x5bf5c0=_0x585a11[_0x4ba55d(0x1cc)](),_0x4e9de5=(_0x261c0f==null?void 0x0:_0x261c0f['shapeId'])===_0x622ef2,_0x2cf2da=(0x0,_0x2a2438[_0x4ba55d(0x414)])({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387}),_0x2e08bb=_0x294692[_0x4ba55d(0x26e)](_0x2cf2da);if(!_0x2e08bb)continue;let _0x4834a7=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4ecc18,'subUnitId':_0x2842df,'drawingId':_0x453387});_0x4834a7!=null&&_0x4834a7[_0x4ba55d(0x3a9)]&&(_0x261c0f&&_0x5bf5c0?this[_0x4ba55d(0x43f)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x261c0f,_0x5bf5c0,_0x2e08bb):this[_0x4ba55d(0x1da)](_0x4ecc18,_0x2842df,_0x453387,_0x585a11,_0x4e9de5?_0x261c0f:_0x5bf5c0,_0x4e9de5,_0x4834a7,_0x2e08bb));}}[_0x1a21ce(0x43f)](_0x33ebfb,_0x1c4aed,_0x31ccdf,_0x2556cc,_0x226b08,_0x1a053a,_0x40371c){const _0xee4278=_0x1a21ce;let _0x391e94=this['_unitId'],_0xe5abdd=this[_0xee4278(0x251)];this['_unitId']=_0x33ebfb,this[_0xee4278(0x251)]=_0x1c4aed;let _0x3509f5=this[_0xee4278(0xf4)](_0x226b08),_0x5143b4=this[_0xee4278(0xf4)](_0x1a053a);if(this[_0xee4278(0x29c)]=_0x391e94,this['_subUnitId']=_0xe5abdd,!_0x3509f5||!_0x5143b4)return;let _0x2b65ba=_0x2556cc['getShapeType'](),_0x2b7967=(0x0,_0x24d21b['routeConnectorLineShape'])(_0x3509f5,_0x5143b4,_0x2b65ba);_0x2b7967&&_0x2556cc[_0xee4278(0x3bf)](_0x2b7967);let _0x356907=(0x0,_0x24d21b[_0xee4278(0xfc)])(_0x2b7967,_0x2b65ba);_0x356907[_0xee4278(0x2cf)]!==_0x2b65ba&&_0x2556cc['changeShapeType'](_0x356907[_0xee4278(0x2cf)]),_0x2556cc[_0xee4278(0x1b7)]();for(let [_0x1c702a,_0x52531e]of Object[_0xee4278(0x210)](_0x356907[_0xee4278(0x324)]))_0x2556cc[_0xee4278(0x44b)](_0x1c702a,_0x52531e);_0x2556cc[_0xee4278(0x433)]({'width':_0x356907[_0xee4278(0x121)][_0xee4278(0x36b)],'height':_0x356907[_0xee4278(0x121)][_0xee4278(0x31b)]}),_0x40371c[_0xee4278(0x4bb)]({'flipX':_0x356907['worldRect'][_0xee4278(0x405)],'flipY':_0x356907[_0xee4278(0x121)][_0xee4278(0x488)],'left':_0x356907['worldRect'][_0xee4278(0x192)],'top':_0x356907[_0xee4278(0x121)]['top'],'width':_0x356907['worldRect'][_0xee4278(0x36b)],'height':_0x356907['worldRect'][_0xee4278(0x31b)],'angle':_0x356907['rotation']}),_0x2556cc[_0xee4278(0x1ad)]();}[_0x1a21ce(0x1da)](_0x271d53,_0x2592c8,_0x1cb673,_0x35a861,_0x26ef87,_0x22cc55,_0x39b3d3,_0x35fb3a){const _0x397073=_0x1a21ce;let _0x14f172=this['_unitId'],_0x5f231c=this[_0x397073(0x251)];this['_unitId']=_0x271d53,this[_0x397073(0x251)]=_0x2592c8;let _0x5bfef0=this['_getConnectPointInfo'](_0x26ef87);if(this[_0x397073(0x29c)]=_0x14f172,this[_0x397073(0x251)]=_0x5f231c,!_0x5bfef0)return;let {left:_0x44baa6=0x0,top:_0x56c63c=0x0,width:_0x483e9e=0x0,height:_0x4c77a9=0x0,flipX:_0x8e9658=!0x1,flipY:_0x486160=!0x1}=_0x39b3d3[_0x397073(0x3a9)],_0x1b68aa=_0x35a861[_0x397073(0x308)]();if(_0x1b68aa['length']<0x2)return;let _0x455f58=new _0x24d21b[(_0x397073(0x168))]({'left':_0x44baa6,'top':_0x56c63c,'width':_0x483e9e,'height':_0x4c77a9,'flipX':_0x8e9658,'flipY':_0x486160}),_0x52923d=_0x22cc55?_0x1b68aa[_0x1b68aa[_0x397073(0x38a)]-0x1]:_0x1b68aa[0x0],_0x4dd093=_0x455f58['localToWorld'](_0x52923d),_0x2a5dd7=_0x24d21b[_0x397073(0x168)][_0x397073(0x2a1)](_0x4dd093,_0x5bfef0['point'],!_0x22cc55);_0x35fb3a[_0x397073(0x4bb)]({'flipX':_0x2a5dd7['worldRect'][_0x397073(0x405)],'flipY':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x488)],'left':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x192)],'top':_0x2a5dd7['worldRect'][_0x397073(0x33a)],'width':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x36b)],'height':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x31b)],'angle':_0x2a5dd7[_0x397073(0x121)][_0x397073(0x11e)]}),_0x35fb3a['makeDirty'](!0x0);}[_0x1a21ce(0x151)](){const _0x31a7a3=_0x1a21ce;this['_connectorObjects'][_0x31a7a3(0x38a)]!==0x0&&(this[_0x31a7a3(0x10a)][_0x31a7a3(0x123)](_0x2da673=>{_0x2da673['dispose']();}),this[_0x31a7a3(0x10a)]=[]);}[_0x1a21ce(0x293)](){const _0x505e4f=_0x1a21ce;let _0xdd75a5=this[_0x505e4f(0x2d5)][_0x505e4f(0x17a)](_0x5cf0ce[_0x505e4f(0x21e)][_0x505e4f(0x3a3)]);this['disposeWithMe'](_0xdd75a5[_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x48991d=>_0x48991d?_0x48991d['activeSheet$'][_0x505e4f(0x472)]((0x0,_0x4cb228[_0x505e4f(0x116)])(_0x2f469f=>{const _0x7d7363=_0x505e4f;if(!_0x2f469f)return _0x4cb228[_0x7d7363(0x223)];let _0x4a0fa2=_0x48991d[_0x7d7363(0x290)](),_0x1c5023=this['_renderManagerService'][_0x7d7363(0x3ce)](_0x4a0fa2),_0x47b6c7=_0x1c5023==null?void 0x0:_0x1c5023[_0x7d7363(0x2d7)];return _0x47b6c7?(0x0,_0x4cb228['of'])(_0x47b6c7):_0x4cb228[_0x7d7363(0x223)];})):_0x4cb228[_0x505e4f(0x223)]))[_0x505e4f(0x3e7)](_0x4e912b=>{const _0x1b71c1=_0x505e4f;let _0x98229e=_0x4e912b[_0x1b71c1(0x17e)]();this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerMove$'][_0x1b71c1(0x3fc)](_0x25bf38=>{const _0x45c045=_0x1b71c1;this['_isDrawingShapePointDown']&&this[_0x45c045(0x376)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x3f9)][_0x1b71c1(0x3e7)](_0x1308b7=>{const _0xd2f96c=_0x1b71c1;let {objects:_0x51fa54}=_0x1308b7;this[_0xd2f96c(0x151)](),_0x51fa54!==null&&_0x51fa54[_0xd2f96c(0x32b)]===0x1&&_0x51fa54['values']()[_0xd2f96c(0x395)]()['value']instanceof _0x4d7701&&(this[_0xd2f96c(0x49f)]=!0x0);})),this[_0x1b71c1(0x4c4)](_0x98229e['changing$'][_0x1b71c1(0x3e7)](_0x4d202f=>{const _0xcb3c0e=_0x1b71c1;this[_0xcb3c0e(0x49f)]&&this[_0xcb3c0e(0x151)]();})),this[_0x1b71c1(0x4c4)](_0x4e912b['onPointerUp$'][_0x1b71c1(0x3fc)](()=>{const _0x5132bf=_0x1b71c1;this[_0x5132bf(0x49f)]&&(this[_0x5132bf(0x49f)]=!0x1,this[_0x5132bf(0x31e)]());})),this[_0x1b71c1(0x4c4)](_0x98229e[_0x1b71c1(0x154)][_0x1b71c1(0x3e7)](()=>{const _0x3dd982=_0x1b71c1;this['_unitId']&&this[_0x3dd982(0x251)]&&this[_0x3dd982(0x376)]&&this[_0x3dd982(0x383)][_0x3dd982(0x214)]({'unitId':this['_unitId'],'subUnitId':this[_0x3dd982(0x251)],'drawingId':this[_0x3dd982(0x376)]})&&(this[_0x3dd982(0x151)](),this[_0x3dd982(0x31e)]());}));}));}[_0x1a21ce(0x447)](){const _0x115ff4=_0x1a21ce;this['disposeWithMe'](this['_drawingManagerService'][_0x115ff4(0x28c)][_0x115ff4(0x3e7)](_0xe74d75=>{const _0x537c34=_0x115ff4;if(_0xe74d75[_0x537c34(0x38a)]===0x1){let _0x7e60=_0xe74d75[0x0];if(_0x7e60[_0x537c34(0x497)]===_0x5cf0ce[_0x537c34(0x1c1)][_0x537c34(0x33f)]){let _0x1fb8ae=this[_0x537c34(0x23a)][_0x537c34(0x49e)](_0x7e60[_0x537c34(0x197)],_0x7e60[_0x537c34(0x4b3)],_0x7e60['drawingId']);if(_0x1fb8ae&&(0x0,_0x24d21b[_0x537c34(0x373)])(_0x1fb8ae[_0x537c34(0x1e0)]())){this[_0x537c34(0x376)]=_0x7e60['drawingId'],this[_0x537c34(0x29c)]=_0x7e60['unitId'],this[_0x537c34(0x251)]=_0x7e60[_0x537c34(0x4b3)],this[_0x537c34(0x151)](),this[_0x537c34(0x31e)]();return;}}}this[_0x537c34(0x376)]=void 0x0,this[_0x537c34(0x29c)]=void 0x0,this[_0x537c34(0x251)]=void 0x0,this[_0x537c34(0x151)]();})),this[_0x115ff4(0x4c4)](this[_0x115ff4(0x383)][_0x115ff4(0x479)][_0x115ff4(0x3e7)](_0x168e38=>{const _0x32ea37=_0x115ff4;if(_0x168e38[_0x32ea37(0x38a)]===0x1){var _0x3a98c3;let _0x27b566=_0x168e38[0x0],_0xa77945=(_0x3a98c3=this[_0x32ea37(0x383)][_0x32ea37(0x214)](_0x27b566))==null?void 0x0:_0x3a98c3[_0x32ea37(0x497)];_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)][_0x32ea37(0x33f)]&&_0x27b566[_0x32ea37(0x1f5)]===this[_0x32ea37(0x376)]?(this[_0x32ea37(0x151)](),this[_0x32ea37(0x31e)]()):!this[_0x32ea37(0x376)]&&_0xa77945===_0x5cf0ce[_0x32ea37(0x1c1)]['DRAWING_SHAPE']&&this[_0x32ea37(0x19c)](_0x27b566[_0x32ea37(0x197)],_0x27b566[_0x32ea37(0x4b3)],_0x27b566[_0x32ea37(0x1f5)]);}})),this['disposeWithMe'](this[_0x115ff4(0x383)][_0x115ff4(0x44c)][_0x115ff4(0x3e7)](_0x168b69=>{const _0xdb8cb6=_0x115ff4;for(let _0x2e06d9 of _0x168b69){let {drawingId:_0x5a481d}=_0x2e06d9;if(this[_0xdb8cb6(0x376)]===_0x5a481d){this[_0xdb8cb6(0x1a5)]();return;}}}));}[_0x1a21ce(0xe4)](_0x192f42,_0x2605fe,_0x36b528,_0x3c5e3c,_0x22a7f8){const _0xb57df8=_0x1a21ce;var _0xb02300;if(!this[_0xb57df8(0xf3)])return;let _0x273354=this[_0xb57df8(0xf4)](_0x192f42);if(!_0x273354)return;let _0x1e964a=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['worldPoint']:_0x2605fe,_0x2cb2fc=this[_0xb57df8(0x320)]?this[_0xb57df8(0x320)]['angle']:this['_calculateFreeEndpointAngle'](_0x273354[_0xb57df8(0x409)],_0x1e964a),_0xf7cb45;if(this[_0xb57df8(0x320)]){let _0x4fbc86=this[_0xb57df8(0x383)][_0xb57df8(0x214)]({'unitId':this[_0xb57df8(0x320)][_0xb57df8(0x197)],'subUnitId':this[_0xb57df8(0x320)][_0xb57df8(0x4b3)],'drawingId':this[_0xb57df8(0x320)][_0xb57df8(0x1b1)]});if(_0x4fbc86!=null&&_0x4fbc86[_0xb57df8(0x3a9)]){let {left:_0x516340=0x0,top:_0x51ae1c=0x0,width:_0x187209=0x0,height:_0x4f6fa5=0x0,angle:_0x177b9d}=_0x4fbc86['transform'];_0xf7cb45=(0x0,_0x24d21b[_0xb57df8(0x37b)])({'left':_0x516340,'top':_0x51ae1c,'width':_0x187209,'height':_0x4f6fa5},_0x177b9d||0x0);}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};}else _0xf7cb45={'left':_0x1e964a['x'],'top':_0x1e964a['y'],'width':0x0,'height':0x0};let _0x47fff6={'point':_0x1e964a,'angle':_0x2cb2fc,'bounds':_0xf7cb45},_0x2844be=_0x36b528?_0x47fff6:_0x273354,_0x49fe42=_0x36b528?_0x273354:_0x47fff6,_0x41eecf=this[_0xb57df8(0xf3)][_0xb57df8(0x1e0)](),_0x5379e2=(0x0,_0x24d21b[_0xb57df8(0x499)])(_0x2844be,_0x49fe42,_0x41eecf);_0x5379e2&&this[_0xb57df8(0xf3)][_0xb57df8(0x3bf)](_0x5379e2);let _0x541074=(0x0,_0x24d21b[_0xb57df8(0xfc)])(_0x5379e2,_0x41eecf);_0x541074[_0xb57df8(0x2cf)]!==_0x41eecf&&this[_0xb57df8(0xf3)]['changeShapeType'](_0x541074[_0xb57df8(0x2cf)]);for(let [_0x421502,_0x52fa74]of Object[_0xb57df8(0x210)](_0x541074['adjustValues']))this[_0xb57df8(0xf3)][_0xb57df8(0x44b)](_0x421502,_0x52fa74);this['_activeShapeModel'][_0xb57df8(0x433)]({'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)]}),_0x3c5e3c[_0xb57df8(0x4bb)]({'flipX':_0x541074['worldRect'][_0xb57df8(0x405)],'flipY':_0x541074[_0xb57df8(0x121)]['flipY'],'left':_0x541074['worldRect']['left'],'top':_0x541074[_0xb57df8(0x121)]['top'],'width':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x36b)],'height':_0x541074[_0xb57df8(0x121)][_0xb57df8(0x31b)],'angle':_0x541074[_0xb57df8(0x4cc)]}),_0x3c5e3c[_0xb57df8(0x2a3)](!0x0);let _0x5478bb=((_0xb02300=this[_0xb57df8(0x320)])==null?void 0x0:_0xb02300[_0xb57df8(0x11d)])??_0x2605fe;_0x22a7f8[_0xb57df8(0x4bb)]({'left':_0x5478bb['x']-_0x24d21b[_0xb57df8(0x1a9)]['cxnPointRadius'],'top':_0x5478bb['y']-_0x24d21b['ShapeDefaultConfig'][_0xb57df8(0x177)]});}[_0x1a21ce(0x268)](_0x45b6c7,_0x2a13d7,_0x19864a,_0x3de38d,_0x25a7ff){const _0x18a2d5=_0x1a21ce;var _0x1cfe44,_0x3c32f1;let _0x410227=((_0x1cfe44=this[_0x18a2d5(0x320)])==null?void 0x0:_0x1cfe44[_0x18a2d5(0x11d)])??_0x45b6c7,_0x471732=_0x24d21b[_0x18a2d5(0x168)][_0x18a2d5(0x2a1)](_0x2a13d7,_0x410227,_0x19864a);_0x3de38d[_0x18a2d5(0x4bb)]({'flipX':_0x471732[_0x18a2d5(0x121)]['flipX'],'flipY':_0x471732[_0x18a2d5(0x121)]['flipY'],'left':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x192)],'top':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x33a)],'width':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x36b)],'height':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x31b)],'angle':_0x471732[_0x18a2d5(0x121)][_0x18a2d5(0x11e)]});let _0x36b095=((_0x3c32f1=this[_0x18a2d5(0x320)])==null?void 0x0:_0x3c32f1[_0x18a2d5(0x11d)])??_0x45b6c7;_0x25a7ff[_0x18a2d5(0x4bb)]({'left':_0x36b095['x']-_0x24d21b['ShapeDefaultConfig'][_0x18a2d5(0x177)],'top':_0x36b095['y']-_0x24d21b[_0x18a2d5(0x1a9)]['cxnPointRadius']});}[_0x1a21ce(0xf4)](_0x2c2d1f){const _0x5b5dc9=_0x1a21ce;if(!this['_unitId']||!this['_subUnitId'])return null;let {shapeId:_0x422bef,cxnIndex:_0x1380ad}=_0x2c2d1f,_0x3bb675=this[_0x5b5dc9(0x23a)][_0x5b5dc9(0x49e)](this['_unitId'],this[_0x5b5dc9(0x251)],_0x422bef);if(!_0x3bb675)return null;let _0x3e88da=this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x5b5dc9(0x29c)],'subUnitId':this[_0x5b5dc9(0x251)],'drawingId':_0x422bef});if(!(_0x3e88da!=null&&_0x3e88da[_0x5b5dc9(0x3a9)]))return null;let {left:_0x538385=0x0,top:_0x39c877=0x0,width:_0x2404a1=0x0,height:_0x43b3b8=0x0,flipX:_0x56146e=!0x1,flipY:_0x438cf1=!0x1,angle:_0x26c315}=_0x3e88da[_0x5b5dc9(0x3a9)];_0x3bb675['updateContext']({'width':_0x2404a1,'height':_0x43b3b8});let _0x2a883e=_0x3bb675['getConnectionSiteList']()[_0x5b5dc9(0x169)](_0xd70c40=>_0xd70c40[_0x5b5dc9(0x291)]===_0x1380ad);if(!_0x2a883e)return null;let _0xfc24b8=_0x56146e?_0x2404a1-_0x2a883e['x']:_0x2a883e['x'],_0x545345=_0x438cf1?_0x43b3b8-_0x2a883e['y']:_0x2a883e['y'];if(_0x26c315!==0x0&&_0x26c315!=null){let _0x1f47b5=_0x26c315*Math['PI']/0xb4,_0x161454=Math['cos'](_0x1f47b5),_0x33531a=Math[_0x5b5dc9(0x1bc)](_0x1f47b5),_0x23bf39=_0x2404a1/0x2,_0x3e2fc7=_0x43b3b8/0x2,_0x1319fd=_0xfc24b8-_0x23bf39,_0x12cb60=_0x545345-_0x3e2fc7;_0xfc24b8=_0x23bf39+_0x1319fd*_0x161454-_0x12cb60*_0x33531a,_0x545345=_0x3e2fc7+_0x1319fd*_0x33531a+_0x12cb60*_0x161454;}_0xfc24b8+=_0x538385,_0x545345+=_0x39c877;let _0x4908ea=_0x2a883e[_0x5b5dc9(0x363)]/0xea60;_0x56146e&&(_0x4908ea=0xb4-_0x4908ea),_0x438cf1&&(_0x4908ea=-_0x4908ea),_0x4908ea+=_0x26c315||0x0,_0x4908ea=(_0x4908ea%0x168+0x168)%0x168;let _0xa9f028=(0x0,_0x24d21b[_0x5b5dc9(0x37b)])({'left':_0x538385,'top':_0x39c877,'width':_0x2404a1,'height':_0x43b3b8},_0x26c315||0x0);return{'point':{'x':_0xfc24b8,'y':_0x545345},'angle':_0x4908ea,'bounds':_0xa9f028};}[_0x1a21ce(0x430)](_0x479a9b,_0x226fe4){const _0x4ffcf7=_0x1a21ce;let _0x1a34e5=_0x226fe4['x']-_0x479a9b['x'],_0x5a8a10=_0x226fe4['y']-_0x479a9b['y'];return Math[_0x4ffcf7(0x16b)](_0x1a34e5)>=Math[_0x4ffcf7(0x16b)](_0x5a8a10)?_0x1a34e5>=0x0?0xb4:0x0:_0x5a8a10>=0x0?0x10e:0x5a;}[_0x1a21ce(0x1a5)](){const _0xe722c3=_0x1a21ce;this[_0xe722c3(0x376)]=void 0x0,this[_0xe722c3(0x29c)]=void 0x0,this[_0xe722c3(0x251)]=void 0x0,this[_0xe722c3(0x151)]();}[_0x1a21ce(0x351)](){const _0x490f0f=_0x1a21ce;this[_0x490f0f(0x151)](),super['dispose']();}};_0x380bd1=_0x3f6514([_0x4512b4(0x1,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x2,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x3,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612[_0x1a21ce(0x457)])),_0x4512b4(0x6,(0x0,_0x5cf0ce['Inject'])(_0x5f5333)),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x1992a8))],_0x380bd1);let _0xd9aa70=class extends _0x5cf0ce['Disposable']{constructor(_0x4ed12d,_0x500d8b,_0x1fe446){const _0x510b8d=_0x1a21ce;super(),this[_0x510b8d(0x10d)]=_0x4ed12d,this[_0x510b8d(0x383)]=_0x500d8b,this[_0x510b8d(0x477)]=_0x1fe446,this['_initPrinting']();}[_0x1a21ce(0x2c3)](){const _0xfba9b9=_0x1a21ce;this[_0xfba9b9(0x4c4)](this['_sheetPrintInterceptorService'][_0xfba9b9(0x3ef)][_0xfba9b9(0x342)](this[_0xfba9b9(0x10d)]['interceptor']['getInterceptPoints']()[_0xfba9b9(0x2a6)],{'handler':(_0x14b9a3,_0x119c51,_0x297a3f)=>{const _0x7fda79=_0xfba9b9;var _0x38764b;let {unitId:_0x1475df,subUnitId:_0x270935,scene:_0x57e5a2,resourceCollector:_0x66699d}=_0x119c51,_0x44b289=(_0x38764b=this['_drawingManagerService']['getDrawingDataForUnit'](_0x1475df))==null?void 0x0:_0x38764b[_0x270935];return _0x44b289==null||_0x44b289[_0x7fda79(0x202)][_0x7fda79(0x123)](_0x2962b9=>{const _0x301e0d=_0x7fda79;let _0x40a078=_0x44b289[_0x301e0d(0x366)][_0x2962b9];_0x40a078[_0x301e0d(0x497)]===_0x5cf0ce[_0x301e0d(0x1c1)][_0x301e0d(0x33f)]&&!_0x40a078['hidden']&&this['_shapeRenderController']['renderDrawingShape'](_0x40a078,_0x57e5a2,{'resourceCollector':_0x66699d});}),_0x297a3f(_0x14b9a3);}}));}};_0xd9aa70=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x258)])),_0x4512b4(0x1,_0x2a2438['IDrawingManagerService']),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x251705))],_0xd9aa70);let _0x56da88=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x5da858,_0x13e7ac,_0x3f3494){const _0x23fa5b=_0x1a21ce;super(),this[_0x23fa5b(0x378)]=_0x5da858,this[_0x23fa5b(0x438)]=_0x13e7ac,this['_sheetPermissionCheckController']=_0x3f3494,this[_0x23fa5b(0x45a)]();}['_initPermission'](){const _0x53aa58=_0x1a21ce;this['disposeWithMe'](this[_0x53aa58(0x378)][_0x53aa58(0x1a2)](_0x4a619b=>{const _0x353c63=_0x53aa58;let _0x18661e,_0x143a1f;if(_0x4a619b['id']===_0x34e612[_0x353c63(0x4a9)]['id']||_0x4a619b['id']===_0x34e612['SetShapeDrawingDataCommand']['id']||_0x4a619b['id']===_0x34e612['UpdateConnectorRelationCommand']['id']){let _0x3a774b=_0x4a619b[_0x353c63(0x46d)];_0x18661e=_0x3a774b[_0x353c63(0x197)],_0x143a1f=_0x3a774b['subUnitId'];}_0x18661e&&_0x143a1f&&(this[_0x353c63(0x1b3)][_0x353c63(0x3e0)]({'workbookTypes':[_0xdab3fa[_0x353c63(0x1cf)]],'worksheetTypes':[_0xdab3fa[_0x353c63(0x30c)]]},_0x18661e,_0x143a1f)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x353c63(0x438)]['t'](_0x353c63(0x231))));}));}};_0x56da88=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce['Inject'])(_0x5cf0ce[_0x1a21ce(0x311)])),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x4ac)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0xdab3fa[_0x1a21ce(0x368)]))],_0x56da88);let _0x1451da=class{constructor(_0xd5100f){const _0x348e70=_0x1a21ce;this[_0x348e70(0x411)]=_0xd5100f;}[_0x1a21ce(0x20e)](_0x4b51ae,_0x49a5a7){const _0x14d5cf=_0x1a21ce;let _0x12cd07=this['_renderManagerService']['getRenderUnitById'](_0x4b51ae[_0x14d5cf(0x197)]),_0x2d46e7=_0x12cd07==null?void 0x0:_0x12cd07[_0x14d5cf(0x2d7)];if(!_0x2d46e7)return;let _0x193aef=(0x0,_0x2a2438[_0x14d5cf(0x414)])(_0x4b51ae),_0x7a3f27=_0x2d46e7[_0x14d5cf(0x26e)](_0x193aef);_0x7a3f27==null||_0x7a3f27[_0x14d5cf(0x237)](_0x49a5a7);}};_0x1451da=_0x3f6514([_0x4512b4(0x0,_0x4413bb[_0x1a21ce(0x399)])],_0x1451da);let _0x504be4=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x5badbb=_0x141627,_0x532a64,_0x45e564,_0x1d7308,_0x38bfe5){const _0x209fe0=_0x1a21ce;super(),this['_config']=_0x5badbb,this[_0x209fe0(0x451)]=_0x532a64,this[_0x209fe0(0x378)]=_0x45e564,this[_0x209fe0(0x3d3)]=_0x1d7308,this[_0x209fe0(0x411)]=_0x38bfe5;let {..._0xbdc2d4}=(0x0,_0x5cf0ce[_0x209fe0(0x276)])({},_0x141627,this['_config']);this['_configService'][_0x209fe0(0x425)](_0x3f4761,_0xbdc2d4),this[_0x209fe0(0xe2)]();}[_0x1a21ce(0x152)](){const _0x59023a=_0x1a21ce;this['_injector'][_0x59023a(0x36d)]([_0x1338d4]),this['_injector'][_0x59023a(0x170)](_0x1338d4),(0x0,_0x5cf0ce[_0x59023a(0x18e)])(this[_0x59023a(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}['onReady'](){const _0x2fbb1a=_0x1a21ce;(0x0,_0x5cf0ce[_0x2fbb1a(0x18e)])(this['_injector'],[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]]),(0x0,_0x5cf0ce['touchDependencies'])(this['_injector'],[[_0x4bbe2f],[_0x5f5333]]),[[_0x1992a8],[_0x360356],[_0x380bd1],[_0x2c3da1]][_0x2fbb1a(0x123)](_0x290d67=>{const _0x49f5b2=_0x2fbb1a;this[_0x49f5b2(0x4c4)](this['_renderManagerService'][_0x49f5b2(0x39f)](_0x5cf0ce[_0x49f5b2(0x21e)]['UNIVER_SHEET'],_0x290d67));});}[_0x1a21ce(0x37d)](){const _0x114ce1=_0x1a21ce;(0x0,_0x5cf0ce[_0x114ce1(0x323)])(this[_0x114ce1(0x451)],[[_0x2790fb],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88]]);}[_0x1a21ce(0x155)](){const _0x5eb95c=_0x1a21ce;this[_0x5eb95c(0x451)][_0x5eb95c(0x170)](_0x2790fb)[_0x5eb95c(0x27b)]();}[_0x1a21ce(0xe2)](){const _0x1cfe66=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1bb1ad,_0x2a1c58][_0x1cfe66(0x123)](_0x384b9a=>this['disposeWithMe'](this[_0x1cfe66(0x378)]['registerCommand'](_0x384b9a)));}};_0x339d5f(_0x504be4,_0x1a21ce(0x3cb),_0x5cf0ce[_0x1a21ce(0x21e)][_0x1a21ce(0x3a3)]),_0x339d5f(_0x504be4,_0x1a21ce(0x262),_0x1a21ce(0xf9)),_0x339d5f(_0x504be4,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x504be4,'version',_0x46f9c2),_0x504be4=_0x3f6514([(0x0,_0x5cf0ce['DependentOn'])(_0x3d331c['UniverLicensePlugin'],_0x193e85['UniverDocsPlugin'],_0x2a2438[_0x1a21ce(0xfa)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e['UniverDocsUIPlugin'],_0x57dfd6['UniverSheetsDrawingPlugin'],_0x1b3552[_0x1a21ce(0x45e)],_0x22ea8b[_0x1a21ce(0x2e7)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0xe1)],_0x3ed8c6[_0x1a21ce(0x2ee)],_0x416351[_0x1a21ce(0x1c0)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce['ICommandService']),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb['IRenderManagerService'])],_0x504be4);let _0x1641ed={'type':_0x5cf0ce[_0x1a21ce(0x244)]['OPERATION'],'id':_0x1a21ce(0x217),'handler'(){return!0x0;}};function _0x3f9cee(){const _0x45f4ff=_0x1a21ce;let _0x58c036=(0x0,_0x416351['useDependency'])(_0x2a2438[_0x45f4ff(0x3e4)]),_0x248903=(0x0,_0x416351['useObservable'])(()=>_0x58c036[_0x45f4ff(0x28c)],_0x58c036[_0x45f4ff(0x314)](),!0x1,[_0x58c036]);return _0x248903[_0x45f4ff(0x38a)]===0x0?null:(0x0,_0x53553e[_0x45f4ff(0x404)])('div',{'children':(0x0,_0x53553e[_0x45f4ff(0x319)])(_0x45f4ff(0x429),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x11fb86[_0x45f4ff(0x360)],{'drawings':_0x248903,'hasCropper':!0x1}),(0x0,_0x53553e[_0x45f4ff(0x404)])(_0x22ea8b[_0x45f4ff(0x275)],{'drawings':_0x248903})]})});}function _0x321498(_0x1994e4){const _0x4973e1=_0x1a21ce;let {unitId:_0x5e9c15,subUnitId:_0x49d4dd,shapeId:_0x12c6ef}=_0x1994e4,_0x36509d=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x5cf0ce[_0x4973e1(0x311)]),_0x3f44e8=(0x0,_0x416351[_0x4973e1(0x20b)])(_0x1451da);return(0x0,_0x53553e[_0x4973e1(0x404)])(_0x3ed8c6[_0x4973e1(0x4aa)],{..._0x1994e4,'positionEditor':(0x0,_0x53553e['jsx'])(_0x3f9cee,{}),'onUpdateShapeData':(_0x2a771f,_0x330469)=>{_0x12c3ae(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x2a771f,_0x330469);},'onUpdateLineShapeData':(_0x1e9505,_0x55ad91)=>{_0xa96cd4(_0x36509d,_0x5e9c15,_0x49d4dd,_0x12c6ef,_0x1e9505,_0x55ad91);},'onUpdateShapeFillImage':_0x52e3c1=>{_0x3f44e8['updateShapeFillImage']({'unitId':_0x5e9c15,'subUnitId':_0x49d4dd,'drawingId':_0x12c6ef},_0x52e3c1);}});}function _0x1b59f7(_0x46e22f){const _0x5ef914=_0x1a21ce;let _0x4cb433=(0x0,_0x416351[_0x5ef914(0x20b)])(_0x3ed8c6[_0x5ef914(0x483)]),_0x3c3bdb=(0x0,_0x416351['useObservable'])(()=>_0x4cb433[_0x5ef914(0x310)],_0x4cb433[_0x5ef914(0xdc)](),!0x1,[_0x4cb433]),_0x25c5c6=_0x46e22f[_0x5ef914(0x493)][_0x5ef914(0x137)];return!_0x25c5c6||!_0x3c3bdb?null:(0x0,_0x53553e[_0x5ef914(0x404)])(_0x5a5f3a,{..._0x25c5c6,'canvasElement':_0x46e22f['popup'][_0x5ef914(0x30a)]});}function _0x5a5f3a(_0x28c90e){const _0x4256f7=_0x1a21ce;let _0x33ab3f=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x4256f7(0x311)]),_0x1fcc85=(0x0,_0x416351[_0x4256f7(0x20b)])(_0x34e612[_0x4256f7(0x457)]),{unitId:_0xdc79a3,subUnitId:_0x4872fb,drawingId:_0x5d5cb2,drawingType:_0x8e519e,shapeType:_0xa91217}=_0x28c90e,[_0x5deaad,_0x5a9da4]=(0x0,_0x41b065['useState'])(_0x28c90e[_0x4256f7(0x476)]),_0x3bc2be=(0x0,_0x41b065[_0x4256f7(0x455)])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x343)])(_0x5deaad),[_0x5deaad]),_0x38202a=(0x0,_0x41b065['useMemo'])(()=>(0x0,_0x3ed8c6[_0x4256f7(0x303)])(_0x5deaad),[_0x5deaad]);(0x0,_0x41b065[_0x4256f7(0x2e2)])(()=>{const _0x44f676=_0x4256f7;let _0x6b109=_0x33ab3f[_0x44f676(0x30f)](_0xc55dbe=>{const _0x52364a=_0x44f676;if(_0xc55dbe['id']!==_0x34e612['UpdateSheetsShapeDataMutation']['id'])return;let _0x200120=_0x1fcc85[_0x52364a(0x23d)](_0xdc79a3,_0x4872fb,_0x5d5cb2);_0x200120&&_0x5a9da4(_0x200120);});return()=>_0x6b109[_0x44f676(0x351)]();},[_0x33ab3f,_0x5d5cb2,_0x1fcc85,_0x4872fb,_0xdc79a3]);let _0x44e88d=_0x3f08a7=>{_0x5a9da4(_0xdff1fe=>({..._0xdff1fe,..._0x3f08a7}));},_0x3026fe=_0x32140c=>{const _0xacbe39=_0x4256f7;let _0x210788=(0x0,_0x3ed8c6[_0xacbe39(0x16f)])(_0x5deaad,_0x32140c);_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'shapeText':_0x5deaad[_0xacbe39(0x2d4)]}},_0x210788),_0x44e88d(_0x210788);},_0x1d1944=(0x0,_0x3ed8c6[_0x4256f7(0x390)])({'hostType':_0x5cf0ce[_0x4256f7(0x21e)][_0x4256f7(0x3a3)],'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'shapeId':_0x5d5cb2,'shapeData':_0x5deaad,'onUpdateBinding':_0x1b3951=>{const _0x193526=_0x4256f7;let _0xf981e3={'formulaBinding':_0x1b3951};_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,{'oldShapeData':{'formulaBinding':_0x5deaad[_0x193526(0x126)]}},_0xf981e3),_0x44e88d(_0xf981e3);}});return(0x0,_0x53553e['jsxs'])(_0x53553e['Fragment'],{'children':[(0x0,_0x53553e['jsx'])(_0x3ed8c6[_0x4256f7(0x1d3)],{'canvasElement':_0x28c90e[_0x4256f7(0x30a)],'shapeData':_0x5deaad,'shapeType':_0xa91217,'textStyle':{'ff':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x1fd)],'fs':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)][_0x4256f7(0x3c3)],'cl':{'rgb':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x2d4)]['color']},..._0x3bc2be},'textModel':_0x38202a?{'ha':_0x38202a['ha']??_0x5cf0ce[_0x4256f7(0x41a)][_0x4256f7(0x2f2)],'va':_0x38202a['va']??_0x5cf0ce[_0x4256f7(0x393)][_0x4256f7(0x3f7)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x24d21b['ShapeDefaultConfig'][_0x4256f7(0x4ae)],'defaultGradientEndColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x232)],'defaultStrokeColor':_0x24d21b[_0x4256f7(0x1a9)][_0x4256f7(0x1f2)],'extensionGroups':_0x1d1944[_0x4256f7(0x26f)],'floatingObjectToolbarPosition':_0x416351[_0x4256f7(0x40e)][_0x4256f7(0x3af)],'onUpdateShapeData':(_0x5211c4,_0x150f2a)=>{_0x12c3ae(_0x33ab3f,_0xdc79a3,_0x4872fb,_0x5d5cb2,_0x5211c4,_0x150f2a),_0x150f2a&&_0x44e88d(_0x150f2a);},'onUpdateText':_0x3026fe,'onOpenPanel':()=>{const _0xa4e29e=_0x4256f7;_0x33ab3f[_0xa4e29e(0x2af)](_0x212f1d['id'],{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2});},'onDelete':()=>{const _0x248d1a=_0x4256f7;_0x33ab3f[_0x248d1a(0x2af)](_0x57dfd6[_0x248d1a(0x22e)]['id'],{'unitId':_0xdc79a3,'drawings':[{'unitId':_0xdc79a3,'subUnitId':_0x4872fb,'drawingId':_0x5d5cb2,'drawingType':_0x8e519e}]});}}),_0x1d1944[_0x4256f7(0x400)]]});}function _0x785574(_0x51b972){const _0x31c303=_0x1a21ce;return!!_0x51b972&&_0x31c303(0x333)in _0x51b972&&_0x31c303(0x1ed)in _0x51b972;}let _0x48f7c2=(0x0,_0x41b065[_0x1a21ce(0x371)])(()=>{const _0x5741c4=_0x1a21ce;let _0x1d41cb=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x46b0ec),_0x15b853=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x34e612[_0x5741c4(0x457)]),_0x384fe9=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x2a2438[_0x5741c4(0x3e4)]),_0x57a434=(0x0,_0x416351['useDependency'])(_0x5cf0ce[_0x5741c4(0x311)]),_0x19a3ef=(0x0,_0x416351['useDependency'])(_0x416351[_0x5741c4(0x115)]),_0x1eba85=(0x0,_0x416351[_0x5741c4(0x20b)])(_0x4413bb['IRenderManagerService']),_0x45764c=(0x0,_0x41b065[_0x5741c4(0x455)])(()=>({'getShapeModel':(_0x4bc5e8,_0x9a0c9,_0x30e3ec)=>_0x15b853['getShapeModel'](_0x4bc5e8,_0x9a0c9,_0x30e3ec),'getShapeData':(_0x1e847c,_0x4fe042,_0x55caad)=>_0x15b853[_0x5741c4(0x23d)](_0x1e847c,_0x4fe042,_0x55caad),'getDrawingTransform':(_0x44d27d,_0x1c2b91,_0x20f7bc)=>{const _0x223f65=_0x5741c4;let _0x41c6b5=_0x384fe9[_0x223f65(0x214)]({'unitId':_0x44d27d,'subUnitId':_0x1c2b91,'drawingId':_0x20f7bc});return _0x41c6b5==null?void 0x0:_0x41c6b5[_0x223f65(0x3a9)];},'updateShapeText':({unitId:_0x1d2020,subUnitId:_0x5525fa,shapeId:_0x23248a,shapeText:_0x24551e,oldShapeText:_0x922fc5,hostSize:_0x14d7bd})=>{const _0x1c254a=_0x5741c4;_0x19a3ef[_0x1c254a(0x3ca)](_0x1d2020,()=>{const _0x1532c1=_0x1c254a;var _0x1611f6;let _0x4c259e=_0x57a434[_0x1532c1(0x25e)](_0x25f5b2['id'],{'unitId':_0x1d2020,'subUnitId':_0x5525fa,'shapeId':_0x23248a,'shapeData':{'shapeText':_0x24551e},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x922fc5}}});if(!_0x4c259e||!_0x14d7bd)return _0x4c259e;let _0x524fcf=_0x384fe9[_0x1532c1(0x214)]({'unitId':_0x1d2020,'subUnitId':_0x5525fa,'drawingId':_0x23248a}),_0x1a4473=_0x524fcf==null?void 0x0:_0x524fcf[_0x1532c1(0x3a9)];if(!_0x785574(_0x524fcf)||!_0x1a4473)return!0x1;let _0x457f82={..._0x1a4473,'width':_0x14d7bd[_0x1532c1(0x36b)],'height':_0x14d7bd[_0x1532c1(0x31b)]},_0x1cffe6=(_0x1611f6=_0x1eba85[_0x1532c1(0x3ce)](_0x1d2020))==null||(_0x1611f6=_0x1611f6[_0x1532c1(0x18b)](_0x3e532c['SheetSkeletonManagerService'])[_0x1532c1(0x30d)](_0x5525fa))==null?void 0x0:_0x1611f6[_0x1532c1(0x40f)];return _0x57a434['syncExecuteCommand'](_0x57dfd6[_0x1532c1(0x120)]['id'],{'unitId':_0x1d2020,'drawings':[{..._0x524fcf,'transform':_0x457f82,'sheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x44a)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x1ed)]:_0x524fcf[_0x1532c1(0x1ed)],'axisAlignSheetTransform':_0x1cffe6?(0x0,_0x57dfd6[_0x1532c1(0x242)])(_0x457f82,_0x1cffe6)??_0x524fcf[_0x1532c1(0x333)]:_0x524fcf[_0x1532c1(0x333)]}]});});},'updateHostSize':({unitId:_0x3b854e,subUnitId:_0x1d457d,shapeId:_0x295356,width:_0x16dcaa,height:_0x487fcb})=>{const _0x1f0e7b=_0x5741c4;var _0x128076;let _0x4af2e6=_0x384fe9[_0x1f0e7b(0x214)]({'unitId':_0x3b854e,'subUnitId':_0x1d457d,'drawingId':_0x295356}),_0x4593e7=_0x4af2e6==null?void 0x0:_0x4af2e6[_0x1f0e7b(0x3a9)];if(!_0x785574(_0x4af2e6)||!_0x4593e7)return;let _0x41178d={..._0x4593e7,'width':_0x16dcaa,'height':_0x487fcb},_0x21ac67=(_0x128076=_0x1eba85[_0x1f0e7b(0x3ce)](_0x3b854e))==null||(_0x128076=_0x128076[_0x1f0e7b(0x18b)](_0x3e532c[_0x1f0e7b(0x432)])[_0x1f0e7b(0x30d)](_0x1d457d))==null?void 0x0:_0x128076[_0x1f0e7b(0x40f)],_0x4eb940=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x44a)])(_0x41178d,_0x21ac67)??_0x4af2e6[_0x1f0e7b(0x1ed)]:_0x4af2e6[_0x1f0e7b(0x1ed)],_0xf36a2c=_0x21ac67?(0x0,_0x57dfd6[_0x1f0e7b(0x242)])(_0x41178d,_0x21ac67)??_0x4af2e6['axisAlignSheetTransform']:_0x4af2e6['axisAlignSheetTransform'];_0x57a434[_0x1f0e7b(0x2af)](_0x57dfd6[_0x1f0e7b(0x120)]['id'],{'unitId':_0x3b854e,'drawings':[{..._0x4af2e6,'transform':_0x41178d,'sheetTransform':_0x4eb940,'axisAlignSheetTransform':_0xf36a2c}]});},'allowHostSizeShrink':({unitId:_0x2933e3,subUnitId:_0x13bbbe,shapeId:_0x57830f})=>(0x0,_0x3ed8c6[_0x5741c4(0x105)])(_0x15b853[_0x5741c4(0x23d)](_0x2933e3,_0x13bbbe,_0x57830f)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x57a434,_0x384fe9,_0x1eba85,_0x15b853,_0x19a3ef]),_0x1aaf86=(0x0,_0x41b065['useMemo'])(()=>({'viewportKeys':{'main':_0x4413bb['SHEET_VIEWPORT_KEY'][_0x5741c4(0x16e)],'leftTop':_0x4413bb[_0x5741c4(0x235)]['VIEW_MAIN_LEFT_TOP'],'top':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x175)],'left':_0x4413bb[_0x5741c4(0x235)][_0x5741c4(0x28f)]},'getSkeleton':(_0xbb3535,_0x4dbf0d)=>{const _0x2678fa=_0x5741c4;var _0x5c54ac;return((_0x5c54ac=_0xbb3535[_0x2678fa(0x18b)](_0x3e532c[_0x2678fa(0x432)])[_0x2678fa(0x30d)](_0x4dbf0d[_0x2678fa(0x4b3)]))==null?void 0x0:_0x5c54ac[_0x2678fa(0x40f)])??null;}}),[]);return(0x0,_0x53553e[_0x5741c4(0x404)])(_0x3ed8c6[_0x5741c4(0x32f)],{'adapter':_0x45764c,'editingService':_0x1d41cb,'editorUnitId':_0x4a60e9,'positionOptions':_0x1aaf86});}),_0x4c97be=class extends _0x5cf0ce['Disposable']{constructor(_0xf7d64b,_0xbc9cba){const _0x547f5d=_0x1a21ce;super(),this[_0x547f5d(0x1f7)]=_0xf7d64b,this[_0x547f5d(0x460)]=_0xbc9cba,this['_registerIcons'](),this[_0x547f5d(0x1ca)]();}[_0x1a21ce(0x1b9)](){const _0x34fcb3=_0x1a21ce;this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x302))||this['disposeWithMe'](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'ObjectLayersIcon':_0x829491})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x346))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'FlipHorizontalIcon':_0x3e2952})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x220))||this['disposeWithMe'](this['_iconManager'][_0x34fcb3(0x3b8)]({'FlipVerticalIcon':_0xd31e07})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x2ae))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'BottomIcon':_0x5d5b89})),this['_iconManager'][_0x34fcb3(0x3c6)]('MoveDownIcon')||this['disposeWithMe'](this['_iconManager']['register']({'MoveDownIcon':_0x2fde21})),this[_0x34fcb3(0x460)]['has'](_0x34fcb3(0x46f))||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'MoveUpIcon':_0x560c8a})),this[_0x34fcb3(0x460)]['has']('ShapeFormatSettingIcon')||this[_0x34fcb3(0x4c4)](this['_iconManager']['register']({'ShapeFormatSettingIcon':_0x557122})),this[_0x34fcb3(0x460)][_0x34fcb3(0x3c6)](_0x34fcb3(0x2a7))||this[_0x34fcb3(0x4c4)](this[_0x34fcb3(0x460)][_0x34fcb3(0x3b8)]({'TopmostIcon':_0x4aa8d7}));}[_0x1a21ce(0x1ca)](){const _0x6398ca=_0x1a21ce;this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x454d12,_0x321498)),this['disposeWithMe'](this['_componentManager'][_0x6398ca(0x3b8)](_0x56bb7a,_0x5f03c9)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x116576,_0x52aff6)),this[_0x6398ca(0x4c4)](this['_componentManager'][_0x6398ca(0x3b8)](_0x4a940a,_0x4dc294)),this[_0x6398ca(0x1f7)][_0x6398ca(0x43a)](_0x11fb86[_0x6398ca(0x1ee)])||this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x11fb86[_0x6398ca(0x1ee)],_0x5d1131)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x1931aa,_0x1b59f7)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x47e237,_0xf36676)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x55b4e5,_0x1c6931)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)](_0x330cdf,_0x44850f)),this[_0x6398ca(0x4c4)](this['_componentManager']['register'](_0x501bd1,_0x2df28d)),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)]['register'](_0x4da57b,_0x3ed8c6['ShapeTextFloatToolbar'])),this[_0x6398ca(0x4c4)](this[_0x6398ca(0x1f7)][_0x6398ca(0x3b8)]('SheetShapeTextEditorContainer',_0x48f7c2));}};_0x4c97be=_0x3f6514([_0x4512b4(0x0,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351['ComponentManager'])),_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x416351[_0x1a21ce(0x1a6)]))],_0x4c97be);let _0x43a88a=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x44d419,_0x2f087b,_0x44d4a7,_0x8349cf,_0x202294,_0x3643a9,_0x4c8227,_0x25fe3f,_0x2c8fb9){const _0x51c790=_0x1a21ce;super();let _0x1fe108=_0x1327bc=>{const _0x7560b=_0x1cfe;var _0x452a3c,_0x5aee1b;return(((_0x452a3c=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x1cf))](_0x1327bc[_0x7560b(0x197)])['id']))==null?void 0x0:_0x452a3c[_0x7560b(0x2f5)])??!0x0)&&(((_0x5aee1b=_0x25fe3f[_0x7560b(0x19f)](new _0xdab3fa[(_0x7560b(0x30c))](_0x1327bc['unitId'],_0x1327bc[_0x7560b(0x4b3)])['id']))==null?void 0x0:_0x5aee1b[_0x7560b(0x2f5)])??!0x0);},_0x3f6669=_0x33ff48=>_0x33ff48['shapeId']&&_0x1fe108(_0x33ff48)?_0x44d4a7[_0x51c790(0x23d)](_0x33ff48[_0x51c790(0x197)],_0x33ff48[_0x51c790(0x4b3)],_0x33ff48[_0x51c790(0x1b1)])??null:null,_0xbd91ef=()=>{const _0x54d241=_0x51c790;let _0x28d758=_0x202294[_0x54d241(0x314)](),_0x26580b=_0x28d758[_0x54d241(0x38a)]===0x1?_0x28d758[0x0]:null;return(_0x26580b==null?void 0x0:_0x26580b['drawingType'])===_0x5cf0ce[_0x54d241(0x1c1)][_0x54d241(0x33f)]&&_0x26580b[_0x54d241(0x197)]===_0x44d419[_0x54d241(0x197)]?{'unitId':_0x26580b[_0x54d241(0x197)],'subUnitId':_0x26580b[_0x54d241(0x4b3)],'shapeId':_0x26580b['drawingId']}:null;};this[_0x51c790(0x4c4)]((0x0,_0x3ed8c6['registerShapeFormatPainter'])(_0x44d419,_0x2f087b,{'changes$':(0x0,_0x4cb228[_0x51c790(0x276)])(_0x202294['focus$'],_0x8349cf[_0x51c790(0x326)],_0x25fe3f['permissionPointUpdate$']),'isActive':()=>{const _0x46f98e=_0x51c790;var _0x348012;return((_0x348012=_0x3643a9[_0x46f98e(0x3a1)]())==null?void 0x0:_0x348012[_0x46f98e(0x290)]())===_0x44d419['unitId']&&!_0x4c8227[_0x46f98e(0x4bc)](_0x5cf0ce['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x202294[_0x46f98e(0x314)]()[_0x46f98e(0x25a)](_0x1a23ac=>_0x1a23ac['unitId']===_0x44d419[_0x46f98e(0x197)]);},'getSelectedTarget':_0xbd91ef,'getSource':()=>{let _0x3a7bea=_0xbd91ef();return _0x3a7bea?_0x3f6669(_0x3a7bea):null;},'getTarget':_0x32e30b=>{const _0x5ddd1d=_0x51c790;let _0x4d5bb5=_0x44d419['scene'][_0x5ddd1d(0x181)](new _0x4413bb['Vector2'](_0x32e30b[_0x5ddd1d(0x17f)],_0x32e30b[_0x5ddd1d(0x27c)]));if(!(_0x4d5bb5 instanceof _0x4d7701))return null;let _0x12f99b={'unitId':_0x44d419[_0x5ddd1d(0x197)],'subUnitId':_0x4d5bb5[_0x5ddd1d(0x4b3)],'shapeId':_0x4d5bb5[_0x5ddd1d(0x1b1)]};return _0x1fe108(_0x12f99b)?_0x12f99b:null;},'getShape':_0x3f6669,'update':(_0x4eb64c,_0x39eabe,_0x56f17b)=>_0x2c8fb9[_0x51c790(0x2af)](_0x25f5b2['id'],{..._0x4eb64c,'shapeData':_0x56f17b,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x39eabe}})}));}};_0x43a88a=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x216)])),_0x4512b4(0x2,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec)),_0x4512b4(0x4,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x6,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x7,_0x5cf0ce[_0x1a21ce(0x1e5)]),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x311)])],_0x43a88a);let _0x482d5f=_0x1a21ce(0x23c),_0x2c9918=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x321fe5,_0x5ba9a5,_0x511fa5,_0xb0034f,_0x1073de,_0x568dcf){const _0x246faf=_0x1a21ce;super(),this['_menuManagerService']=_0x321fe5,this['_ribbonService']=_0x5ba9a5,this['_drawingManagerService']=_0x511fa5,this[_0x246faf(0x2d5)]=_0xb0034f,this[_0x246faf(0x411)]=_0x1073de,this[_0x246faf(0x4cb)]=_0x568dcf,_0x339d5f(this,'_visible',!0x1),this[_0x246faf(0x4a0)][_0x246faf(0x339)](_0x2bcfb6),this['disposeWithMe']((0x0,_0x5cf0ce[_0x246faf(0xff)])(this[_0x246faf(0x383)][_0x246faf(0x28c)][_0x246faf(0x3e7)](()=>this[_0x246faf(0x304)]()))),this[_0x246faf(0x304)]();}['dispose'](){const _0x386609=_0x1a21ce;this[_0x386609(0x4cb)]['setFallbackVisible'](!0x1,_0x482d5f),this['_hide'](),super[_0x386609(0x351)]();}[_0x1a21ce(0x304)](){const _0x4854ca=_0x1a21ce;var _0x23e6e3;let _0x45ecbd=this[_0x4854ca(0x383)]['getFocusDrawings'](),_0xf25ffb=_0x45ecbd[_0x4854ca(0x38a)]===0x1?_0x45ecbd[0x0]:void 0x0;if((_0xf25ffb==null?void 0x0:_0xf25ffb[_0x4854ca(0x497)])!==_0x5cf0ce['DrawingTypeEnum'][_0x4854ca(0x33f)]||this[_0x4854ca(0x2d5)]['getUnitType'](_0xf25ffb[_0x4854ca(0x197)])!==_0x5cf0ce[_0x4854ca(0x21e)]['UNIVER_SHEET']){this[_0x4854ca(0x4cb)][_0x4854ca(0x2f7)](!0x1,_0x482d5f),this[_0x4854ca(0x2c7)]();return;}let _0x580669=(_0x23e6e3=this[_0x4854ca(0x411)]['getRenderUnitById'](_0xf25ffb[_0x4854ca(0x197)]))==null?void 0x0:_0x23e6e3[_0x4854ca(0x4b9)][_0x4854ca(0x36c)](),_0x2379de=(0x0,_0x3ed8c6[_0x4854ca(0x14c)])(_0x580669)===_0x4854ca(0x2cb);this[_0x4854ca(0x4cb)]['setFallbackVisible'](_0x2379de,_0x482d5f),_0x2379de?this['_hide']():this[_0x4854ca(0x250)]||(this['_visible']=!0x0,this[_0x4854ca(0x1ac)][_0x4854ca(0x13d)](_0x1e91c2,{'activate':!0x0}));}[_0x1a21ce(0x2c7)](){const _0x15f26f=_0x1a21ce;this[_0x15f26f(0x250)]&&(this['_visible']=!0x1,this[_0x15f26f(0x1ac)]['hideContextualTab'](_0x1e91c2),this[_0x15f26f(0x1ac)][_0x15f26f(0x406)]([]));}};_0x2c9918=_0x3f6514([_0x4512b4(0x0,_0x416351['IMenuManagerService']),_0x4512b4(0x1,_0x416351['IRibbonService']),_0x4512b4(0x2,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x3,_0x5cf0ce['IUniverInstanceService']),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)]),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x483)]))],_0x2c9918);let _0xceb7ba=class extends _0x3ed8c6[_0x1a21ce(0x3e3)]{constructor(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab){super(_0x56ea56,_0x48d513,_0x2faca4,_0x1c23f3,_0x20c19b,_0x11c396,_0x24a0af,_0xb5b296,_0xcc47a4,_0x1ffaab,{'componentKey':_0x4da57b,'editorUnitId':_0x4a60e9});}};_0xceb7ba=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x11a)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x13a)])),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x26442e[_0x1a21ce(0x355)])),_0x4512b4(0x4,_0x5cf0ce['ICommandService']),_0x4512b4(0x5,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e[_0x1a21ce(0x309)])),_0x4512b4(0x6,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x7,(0x0,_0x5cf0ce['Inject'])(_0x193e85[_0x1a21ce(0x4a5)])),_0x4512b4(0x8,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x26442e['DocRenderController'])),_0x4512b4(0x9,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0xceb7ba);let _0x2b87c7=class extends _0x3ed8c6[_0x1a21ce(0x420)]{constructor(_0x58d5f1,_0x2f79dd,_0x102c42,_0x4bbc65,_0x2ecea8){const _0x56dec7=_0x1a21ce;super(_0x58d5f1,_0x2f79dd,{'editing$':_0x102c42['editingParams$'],'resolve':_0x46290a=>{const _0xa3a241=_0x1cfe;var _0x30d4e5,_0x547f9f,_0x13a1e1;let _0x2d5389=new _0x4413bb['Vector2'](_0x46290a['offsetX'],_0x46290a['offsetY']),_0x15c512=((_0x30d4e5=_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x253)](_0x2d5389))==null?void 0x0:_0x30d4e5[_0xa3a241(0x2d9)](_0x2d5389))??_0x2d5389,_0x51a8b1=(0x0,_0x3ed8c6['resolveShapeTextHyperLinkObject'])(_0x58d5f1[_0xa3a241(0x2d7)][_0xa3a241(0x181)](_0x2d5389)??null,_0x15c512);if(!(_0x51a8b1 instanceof _0x4d7701))return null;let _0x36c5ae=_0x51a8b1[_0xa3a241(0x45b)](_0x15c512);if(!_0x36c5ae)return null;let _0x16f28e=_0x51a8b1,_0x10bd90={'componentKey':_0x3ed8c6[_0xa3a241(0xdf)][_0xa3a241(0x27a)],'direction':_0xa3a241(0x2a4),'offset':[0x0,0xa],'onClickOutside':()=>_0x2f79dd[_0xa3a241(0x16c)]()};return{'object':_0x51a8b1,'info':{..._0x36c5ae,'unitId':_0x51a8b1[_0xa3a241(0x197)],'subUnitId':_0x51a8b1['subUnitId'],'shapeKey':_0x51a8b1[_0xa3a241(0x30b)],'readonly':!0x0,'copyable':((_0x547f9f=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa[(_0xa3a241(0x1e4))](_0x51a8b1[_0xa3a241(0x197)])['id']))==null?void 0x0:_0x547f9f[_0xa3a241(0x2f5)])!==!0x1&&((_0x13a1e1=_0x2ecea8[_0xa3a241(0x19f)](new _0xdab3fa['WorksheetCopyPermission'](_0x51a8b1[_0xa3a241(0x197)],_0x51a8b1['subUnitId'])['id']))==null?void 0x0:_0x13a1e1[_0xa3a241(0x2f5)])!==!0x1},'attachPopup':()=>_0x4bbc65[_0xa3a241(0x1f6)](_0x16f28e,_0x10bd90)};}}),this[_0x56dec7(0x4c4)](_0x58d5f1[_0x56dec7(0x10f)]['activeSheet$'][_0x56dec7(0x3e7)](()=>this[_0x56dec7(0x2c6)]()));}};_0x2b87c7=_0x3f6514([_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3ed8c6[_0x1a21ce(0x3e1)])),_0x4512b4(0x2,(0x0,_0x5cf0ce['Inject'])(_0x46b0ec)),_0x4512b4(0x3,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x4,_0x5cf0ce[_0x1a21ce(0x1e5)])],_0x2b87c7);let _0x29f7ba=class extends _0x5cf0ce[_0x1a21ce(0x3f3)]{constructor(_0x581def,_0x1b5b92,_0x2c9b15,_0x332f84,_0x3bfa83,_0x2434c7,_0x121767,_0x2aba40,_0x3f014f,_0x2e4a27,_0x31bfad){const _0x254e8a=_0x1a21ce;super(),this['_univerInstanceService']=_0x581def,this['_sidebarService']=_0x1b5b92,this[_0x254e8a(0x4a0)]=_0x2c9b15,this[_0x254e8a(0x23a)]=_0x332f84,this[_0x254e8a(0x438)]=_0x3bfa83,this[_0x254e8a(0x378)]=_0x2434c7,this['_drawingManagerService']=_0x121767,this[_0x254e8a(0x191)]=_0x2aba40,this[_0x254e8a(0x1d7)]=_0x3f014f,this[_0x254e8a(0x411)]=_0x2e4a27,this[_0x254e8a(0x2ea)]=_0x31bfad,_0x339d5f(this,_0x254e8a(0x3bd),null),_0x339d5f(this,_0x254e8a(0x312),null),_0x339d5f(this,_0x254e8a(0x487),!0x1),_0x339d5f(this,_0x254e8a(0x48c),0x0),_0x339d5f(this,_0x254e8a(0x128),null),_0x339d5f(this,_0x254e8a(0x3a8),[]),this['_initMenu'](),this['disposeWithMe'](this['_univerInstanceService'][_0x254e8a(0x17a)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'])[_0x254e8a(0x3e7)](_0x2a81d5=>{const _0x37e4fe=_0x254e8a;if(!_0x2a81d5){var _0xf686ea;(_0xf686ea=this[_0x37e4fe(0x3bd)])==null||_0xf686ea[_0x37e4fe(0x351)]();}})),this['_registerOperations'](),this['initShapePopupMenu'](),this[_0x254e8a(0x4c4)](this[_0x254e8a(0x2ea)][_0x254e8a(0x326)][_0x254e8a(0x3e7)](_0xa2137d=>{const _0x190998=_0x254e8a;_0xa2137d&&this[_0x190998(0x257)]();}));}['_initMenu'](){const _0x24f0b1=_0x1a21ce;this[_0x24f0b1(0x4a0)]['mergeMenu'](_0x54229f);}[_0x1a21ce(0x27b)](){const _0x4e275e=_0x1a21ce;this[_0x4e275e(0x128)]||=this[_0x4e275e(0x4c4)]((0x0,_0x3ed8c6[_0x4e275e(0x467)])(this['_renderManagerService'],_0x5cf0ce[_0x4e275e(0x21e)][_0x4e275e(0x3a3)],_0x2cb4a2=>this[_0x4e275e(0x14f)](_0x2cb4a2)));}['_getShapeInfo'](_0x45e076,_0x208fb4,_0x48f132){const _0x53cece=_0x1a21ce;let _0x2fd579=this[_0x53cece(0x23a)]['getShapeTypeById'](_0x45e076,_0x208fb4,_0x48f132),_0x3328d8=this[_0x53cece(0x23a)][_0x53cece(0x23d)](_0x45e076,_0x208fb4,_0x48f132);return _0x2fd579!==void 0x0&&_0x3328d8!==void 0x0?{'shapeData':_0x3328d8,'shapeId':_0x48f132,'shapeType':_0x2fd579,'unitId':_0x45e076,'subUnitId':_0x208fb4,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x1a21ce(0x257)](){const _0x182fe6=_0x1a21ce;this['_disposePopups'][_0x182fe6(0x123)](_0x40c480=>_0x40c480[_0x182fe6(0x351)]()),this['_disposePopups'][_0x182fe6(0x38a)]=0x0;}[_0x1a21ce(0x14f)](_0x3d8186){const _0x1219c3=_0x1a21ce;let _0x1b5e69=new _0x5cf0ce[(_0x1219c3(0x35b))]();return _0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['createControl$'][_0x1219c3(0x3e7)](()=>{const _0x5dd2ff=_0x1219c3;let _0x79e7b8=_0x3d8186[_0x5dd2ff(0x103)]();if(this[_0x5dd2ff(0x257)](),this[_0x5dd2ff(0x487)]||_0x79e7b8['size']>0x1)return;let _0x89e779=_0x79e7b8[_0x5dd2ff(0x3da)]()['next']()['value'];if(!_0x89e779)return;let _0xbb6ac1=this[_0x5dd2ff(0x383)][_0x5dd2ff(0x372)](_0x89e779[_0x5dd2ff(0x30b)]);if(!_0xbb6ac1||_0xbb6ac1[_0x5dd2ff(0x497)]!==_0x5cf0ce['DrawingTypeEnum'][_0x5dd2ff(0x33f)])return;let {unitId:_0x22d157,subUnitId:_0x4baaa6,drawingId:_0x118e97,drawingType:_0x51b18c}=_0xbb6ac1,_0x4007f3=this[_0x5dd2ff(0x47e)](_0x22d157,_0x4baaa6,_0x118e97);if(!_0x4007f3)return;this[_0x5dd2ff(0x1d7)][_0x5dd2ff(0x1fa)](_0x5cf0ce[_0x5dd2ff(0x2ad)],!0x0);let _0x59b159=this[_0x5dd2ff(0x411)][_0x5dd2ff(0x3ce)](_0x22d157),_0x39cb33=((_0x59b159==null?void 0x0:_0x59b159[_0x5dd2ff(0x101)])===!0x1?_0x59b159[_0x5dd2ff(0x18b)](_0x3e532c[_0x5dd2ff(0x199)]):this[_0x5dd2ff(0x191)])[_0x5dd2ff(0x1f6)](_0x89e779,{'componentKey':_0x1931aa,'direction':_0x5dd2ff(0x174),'offset':[0x0,_0x3ed8c6['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97,'drawingType':_0x51b18c,'shapeType':_0x4007f3[_0x5dd2ff(0xde)],'shapeData':_0x4007f3[_0x5dd2ff(0x476)]}});this[_0x5dd2ff(0x3a8)]['push'](this[_0x5dd2ff(0x4c4)](_0x39cb33)),this[_0x5dd2ff(0x383)][_0x5dd2ff(0x314)]()[_0x5dd2ff(0x169)](_0x46b7ea=>_0x46b7ea['unitId']===_0x22d157&&_0x46b7ea[_0x5dd2ff(0x4b3)]===_0x4baaa6&&_0x46b7ea[_0x5dd2ff(0x1f5)]===_0x118e97)||this[_0x5dd2ff(0x383)][_0x5dd2ff(0x149)]([{'unitId':_0x22d157,'subUnitId':_0x4baaa6,'drawingId':_0x118e97}]);})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186['clearControl$']['subscribe'](()=>{const _0x1b442c=_0x1219c3;this['_clearPopups'](),this['_contextService'][_0x1b442c(0x1fa)](_0x5cf0ce[_0x1b442c(0x2ad)],!0x1),this[_0x1b442c(0x383)][_0x1b442c(0x149)](null);})),_0x1b5e69['add'](_0x3d8186[_0x1219c3(0x4ab)][_0x1219c3(0x3e7)](()=>{this['_clearPopups']();})),_0x1b5e69[_0x1219c3(0x36d)](_0x3d8186[_0x1219c3(0x3f9)]['subscribe'](()=>{const _0x5922f3=_0x1219c3;this[_0x5922f3(0x257)]();})),(0x0,_0x5cf0ce['toDisposable'])(()=>{const _0x42ff79=_0x1219c3;_0x1b5e69[_0x42ff79(0x351)](),this[_0x42ff79(0x257)]();});}['_registerOperations'](){const _0x192f2d=_0x1a21ce;this[_0x192f2d(0x4c4)](this['_commandService'][_0x192f2d(0x30f)](_0x4f44fb=>{const _0x30b6ac=_0x192f2d;if(_0x4f44fb['id']===_0x212f1d['id']){let {unitId:_0x40292e,subUnitId:_0x4824b1,drawingId:_0x343369}=_0x4f44fb[_0x30b6ac(0x46d)];this[_0x30b6ac(0x48c)]+=0x1,this[_0x30b6ac(0x312)]=this[_0x30b6ac(0x47e)](_0x40292e,_0x4824b1,_0x343369),this['_clearPopups'](),this[_0x30b6ac(0x3b6)]();}if(_0x4f44fb['id']===_0x1641ed['id']&&(this[_0x30b6ac(0x312)]=null,this[_0x30b6ac(0x1f1)]()),_0x4f44fb['id']===_0x34e612[_0x30b6ac(0x426)]['id']){let {unitId:_0xd79a37,subUnitId:_0x306e53,shapeId:_0x2542bb}=_0x4f44fb[_0x30b6ac(0x46d)];if(this[_0x30b6ac(0x312)]&&this[_0x30b6ac(0x312)]['shapeId']===_0x2542bb){let _0x335edc=this['_getShapeInfo'](_0xd79a37,_0x306e53,_0x2542bb);_0x335edc&&(this[_0x30b6ac(0x48c)]+=0x1,_0x335edc[_0x30b6ac(0x176)]=this[_0x30b6ac(0x48c)],this[_0x30b6ac(0x312)]=_0x335edc,this[_0x30b6ac(0x487)]&&this[_0x30b6ac(0x3b6)]());}}})),this[_0x192f2d(0x4c4)](this[_0x192f2d(0x383)][_0x192f2d(0x28c)][_0x192f2d(0x3e7)](_0x449a12=>{const _0x14d753=_0x192f2d;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x449a12['length']===0x0){this['_activeShapeInfo']=null,this[_0x14d753(0x1f1)]();return;}if(_0x449a12[_0x14d753(0x38a)]===0x1&&_0x449a12[0x0]['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)]['DRAWING_SHAPE']&&(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this['_activeShapeInfo'])){this[_0x14d753(0x3b6)]();return;}let _0x136aa3=_0x449a12[_0x14d753(0x431)](_0x2b5b50=>_0x2b5b50['drawingType']===_0x5cf0ce[_0x14d753(0x1c1)][_0x14d753(0x33f)]);if(_0x449a12['length']>0x1&&_0x136aa3['length']===_0x449a12[_0x14d753(0x38a)]){if(this[_0x14d753(0x48c)]+=0x1,this['_activeShapeInfo']=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0][_0x14d753(0x4b3)],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x14d753(0x48c)]+=0x1,this[_0x14d753(0x312)]=this[_0x14d753(0x47e)](_0x449a12[0x0][_0x14d753(0x197)],_0x449a12[0x0]['subUnitId'],_0x449a12[0x0][_0x14d753(0x1f5)]),this[_0x14d753(0x312)]){this[_0x14d753(0x312)][_0x14d753(0x42c)]=!0x0,this[_0x14d753(0x3b6)]();return;}}this[_0x14d753(0x1f1)]();}));}[_0x1a21ce(0x3b6)](){const _0x2b2537=_0x1a21ce;this[_0x2b2537(0x312)]&&(this[_0x2b2537(0x3bd)]=this['_sidebarService']['open']({'id':_0x454d12,'header':{'title':this[_0x2b2537(0x438)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x454d12,...this[_0x2b2537(0x312)]},'onClose':()=>{const _0x1b585e=_0x2b2537;this[_0x1b585e(0x383)][_0x1b585e(0x149)](null),this['_contextService'][_0x1b585e(0x1fa)](_0x5cf0ce[_0x1b585e(0x2ad)],!0x1),this[_0x1b585e(0x3bd)]=null;}}),this[_0x2b2537(0x487)]=!0x0);}[_0x1a21ce(0x1f1)](){const _0x13a588=_0x1a21ce;this[_0x13a588(0x487)]=!0x1,this[_0x13a588(0x17c)][_0x13a588(0x1b2)](_0x454d12),this[_0x13a588(0x3bd)]=null,this[_0x13a588(0x1d7)][_0x13a588(0x1fa)](_0x5cf0ce[_0x13a588(0x2ad)],!0x1),this['_drawingManagerService']['focusDrawing'](null);}};_0x29f7ba=_0x3f6514([_0x4512b4(0x0,_0x5cf0ce[_0x1a21ce(0x1d2)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x416351[_0x1a21ce(0x3bb)])),_0x4512b4(0x2,_0x416351[_0x1a21ce(0x46b)]),_0x4512b4(0x3,(0x0,_0x5cf0ce['Inject'])(_0x34e612['SheetsShapeService'])),_0x4512b4(0x4,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce['LocaleService'])),_0x4512b4(0x5,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x6,_0x2a2438[_0x1a21ce(0x3e4)]),_0x4512b4(0x7,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x3e532c[_0x1a21ce(0x199)])),_0x4512b4(0x8,_0x5cf0ce[_0x1a21ce(0x2bb)]),_0x4512b4(0x9,_0x4413bb['IRenderManagerService']),_0x4512b4(0xa,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x46b0ec))],_0x29f7ba);let _0x11f9b0=class extends _0x5cf0ce[_0x1a21ce(0x494)]{constructor(_0x4bbdb4=_0x141627,_0x134ff9,_0x293e31,_0x5eeaec,_0x3d5f3e){const _0x58c354=_0x1a21ce;super(),this[_0x58c354(0x196)]=_0x4bbdb4,this[_0x58c354(0x451)]=_0x134ff9,this['_commandService']=_0x293e31,this[_0x58c354(0x3d3)]=_0x5eeaec,this[_0x58c354(0x411)]=_0x3d5f3e;let {..._0x4f6217}=(0x0,_0x5cf0ce[_0x58c354(0x276)])({},_0x141627,this[_0x58c354(0x196)]);this[_0x58c354(0x3d3)][_0x58c354(0x425)](_0x3f4761,_0x4f6217),this[_0x58c354(0xe2)]();}['onRendered'](){const _0xf8aa30=_0x1a21ce;this['_renderManagerService'][_0xf8aa30(0x39f)](_0x5cf0ce[_0xf8aa30(0x21e)][_0xf8aa30(0x32e)],[_0xceb7ba]),(0x0,_0x5cf0ce['touchDependencies'])(this[_0xf8aa30(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70]]);}[_0x1a21ce(0x155)](){const _0xb75ad3=_0x1a21ce;this[_0xb75ad3(0x451)]['get'](_0x29f7ba)[_0xb75ad3(0x27b)]();}[_0x1a21ce(0x40a)](){const _0x49f780=_0x1a21ce;[[_0x1992a8],[_0x5f5333],[_0x4bbe2f]][_0x49f780(0x123)](_0x18be56=>this[_0x49f780(0x451)][_0x49f780(0x36d)](_0x18be56)),(0x0,_0x5cf0ce[_0x49f780(0x323)])(this[_0x49f780(0x451)],[[_0x4bbe2f],[_0x5f5333]]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType']['UNIVER_SHEET'],[_0x1992a8]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x360356]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x380bd1]),this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)][_0x49f780(0x3a3)],[_0x3505a0]),this[_0x49f780(0x4c4)](this['_renderManagerService'][_0x49f780(0x39f)](_0x5cf0ce['UniverInstanceType'][_0x49f780(0x3a3)],[_0x2b87c7])),this[_0x49f780(0x4c4)](this[_0x49f780(0x411)][_0x49f780(0x39f)](_0x5cf0ce[_0x49f780(0x21e)]['UNIVER_SHEET'],[_0x43a88a]));}[_0x1a21ce(0x152)](){const _0x450ec7=_0x1a21ce;this[_0x450ec7(0x451)][_0x450ec7(0x36d)]([_0x4c97be]),this[_0x450ec7(0x451)][_0x450ec7(0x170)](_0x4c97be);let _0xdcfdee=this[_0x450ec7(0x451)];[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0xd9aa70],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]['forEach'](_0x3e5e0e=>_0xdcfdee['add'](_0x3e5e0e)),(0x0,_0x5cf0ce[_0x450ec7(0x323)])(this[_0x450ec7(0x451)],[[_0x29f7ba],[_0x4f13f1],[_0x251705],[_0x1451da],[_0x46b0ec],[_0x5819ea],[_0x133380],[_0x56da88],[_0x2c9918]]);}[_0x1a21ce(0xe2)](){const _0x422174=_0x1a21ce;[_0x224af7,_0x25f5b2,_0x1641ed,_0x212f1d,_0x106220,_0x1bb1ad,_0x325d8a,_0x684ce2]['forEach'](_0x306d2d=>this[_0x422174(0x4c4)](this['_commandService']['registerCommand'](_0x306d2d)));}};_0x339d5f(_0x11f9b0,'type',_0x5cf0ce[_0x1a21ce(0x21e)]['UNIVER_SHEET']),_0x339d5f(_0x11f9b0,_0x1a21ce(0x262),'SHEET_SHAPE_UI_PLUGIN'),_0x339d5f(_0x11f9b0,_0x1a21ce(0x3aa),_0x6f3664),_0x339d5f(_0x11f9b0,_0x1a21ce(0x176),_0x46f9c2),_0x11f9b0=_0x3f6514([(0x0,_0x5cf0ce[_0x1a21ce(0x219)])(_0x3d331c[_0x1a21ce(0x3c2)],_0x193e85[_0x1a21ce(0x4ba)],_0x2a2438[_0x1a21ce(0xfa)],_0x11fb86[_0x1a21ce(0x150)],_0x4413bb[_0x1a21ce(0x316)],_0xdab3fa[_0x1a21ce(0x389)],_0x26442e[_0x1a21ce(0x2c5)],_0x57dfd6[_0x1a21ce(0x233)],_0x1b3552['UniverShapeEditorPlugin'],_0x22ea8b[_0x1a21ce(0x1fb)],_0x34e612[_0x1a21ce(0x340)],_0x3e532c[_0x1a21ce(0x286)],_0x3ed8c6[_0x1a21ce(0x2f4)]),_0x4512b4(0x1,(0x0,_0x5cf0ce[_0x1a21ce(0x461)])(_0x5cf0ce[_0x1a21ce(0x3c7)])),_0x4512b4(0x2,_0x5cf0ce[_0x1a21ce(0x311)]),_0x4512b4(0x3,_0x5cf0ce[_0x1a21ce(0x452)]),_0x4512b4(0x4,_0x4413bb[_0x1a21ce(0x399)])],_0x11f9b0),_0x22a054[_0x1a21ce(0x305)]=_0x2bcfb6,_0x22a054[_0x1a21ce(0x481)]=_0x54229f,Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x504be4;}}),Object[_0x1a21ce(0x401)](_0x22a054,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x11f9b0;}});}));function _0x4425(){const _0x253f84=['VerticalAlign','getShapeQuickStylePreset','next','getShapeTypeById','max','drawing-ui.objectListPanel.moveForward','IRenderManagerService','_formulaAnimation','_getScrollInfo','React','disconnect','onPointerDown$','registerRenderModule','Observable','getFocusedUnit','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','UNIVER_SHEET','_initSheetChange','Medium','sheet.menu.shape.flip-vertical','ShapeFormatSettingIcon','_disposePopups','transform','packageName','_baseLeft','_highlightedSiteIndex','MenuManagerPosition','CopySheetCommand','SHEET','0\x200\x2017\x2016','3883443noDypA','_currentUniverService','draw','useObservable','actions','_openShapeEditPanel','doc','register','useLayoutEffect','sheets-shape-ui.ribbon.shape-format.formula-control','ISidebarService','use','_sidebarDisposable','error','updateLinePoints','resetCursor','_isStartConnectorPoint','UniverLicensePlugin','fontSize','UniverDrawingUi','onPointerUp$','has','Injector','description','drawWith','run','type','UniverProShapeEditorUi','cxnPointStroke','getRenderUnitById','SHAPE_EDITOR_TRANSFORMER_CONFIG','getViewportByCell','_registerImageShapeClipDelegate','toFixed','_configService','_hyperLinkRegions','_baseShapeHeight','_createShapeAdjustControls','Circle','parseFloat','UniverDesign','values','updateConnectionDetection','drawing-ui.objectListPanel.lockHint','forwardRef','updateDocumentDataMargin','min','permissionCheckWithoutRange','ShapeTextHyperLinkPopupService','onSavingEditorData$','ShapeTextFloatMenuRenderControllerBase','IDrawingManagerService','sheets-shape-ui.shape-format.formula-ribbon-control','adjHandleSize','subscribe','_cxtHandlerPointerUp','react','clip-adj-','isInGroup','ContextMenuGroup','classType','UniverCore','interceptor','getBoundingClientRect','contentVerticalOffset','getAdjustInfoByName','Disposable','_updateAdjustControlPositions','M8\x202.2V3.8','add$','TOP','_isImagePointerDown','changeStart$','round','getMatrix','subscribeEvent','refreshShapeFillImage','_isStartAdjusting','sheetViewStartRow','panel','defineProperty','DocumentSkeleton','@univerjs-pro/shape-editor-ui','jsx','flipX','setCollapsedIds','sheets-shape-ui.ribbon.shape-format.arrange-front','getConnectionInfo','point','onReady','startWith','Vector2','useId','FloatingObjectToolbarPosition','skeleton','ShapeIcon','_renderManagerService','getUnit','from','getDrawingShapeKeyByDrawingSearch','enableObjectsEvent','resolveFormulaShapeAutoFitSize','_attachConnectorObjectEvent','UniverEngineRender','plainShapeTextToDocumentData','HorizontalAlign','UniverProShapeEditor','object','invert','map','stringify','ShapeTextHyperLinkHoverController','_drawRichText','_formulaShapes','_baseShapeWidth','drawFormulaShapeAnimationLayers','setConfig','UpdateSheetsShapeDataMutation','0\x200\x2016\x2016','activateDrawingObject','div','_currentScene','pushUndoRedo','disableShapeOption','GROUP','drawing-ui.objectListPanel.description','getAutoFitPresentations','_calculateFreeEndpointAngle','filter','SheetSkeletonManagerService','updateContext','drawing-ui.objectListPanel.filterLocked','drawing-ui.objectListPanel.sectionFloating','@univerjs/docs-ui','isCurvedConnectorShape','_localeService','_registerFeatureMenu','hasDefault','getConnectionRelation','getMenuHiddenObservable','_setTransForm','sheet.shape.edit.panel','_rerouteConnectorLine','sheet.operation.apply-shape-quick-style','isHorizontal','priority','drawing-ui.objectListPanel.unlockAll','_executeConnectedRouteConnectionCommand','_draw','_copyInfo','_registerDrawingFocusChangeHandler','_props','highlighted','transformToDrawingPosition','setAdjustValueByName','remove$','CROSSHAIR','37830PeeVxE','ShapeQuickStyleGallery','RemoveSheetsShapeMutation','_injector','IConfigService','Image','_updateTransform','useMemo','ShapePickerDropdown','SheetsShapeService','localToWorld','_baseTop','_initPermission','resolveHyperLinkAt','completeEditing','vertical','UniverShapeEditorPlugin','getState','_iconManager','Inject','vectorEffect','drawing-ui.objectListPanel.collapse','getDrawingEditable','react/jsx-runtime','flatMap','bindRenderTransformerLifecycle','getShapeQuickStyleType','composeMatrix','connector-handler-','IMenuManagerService','_shapeService','params','MobileShapeEditorService','MoveUpIcon','BehaviorSubject','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','pipe','interceptCommand','sheets-shape-ui.imagePanel.crop.shape','getCurrentSkeleton','shapeData','_shapeRenderController','createElement','update$','drawing-ui.objectListPanel.expand','_generateCutPasteMutations','SheetScrollManagerService','ToggleSheetsShapeFlipCommand','_getShapeInfo','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','#bcbcbc','SheetsShapeUIMenuSchema','sheets-shape-ui.objectListPanel.title','ShapeFloatingToolbarService','_transform','sheet.menu.shape.flip-horizontal','createShapeTextBoxShapeData','_isOpenedShapeEditPanel','flipY','_getShapeAdjustInfosById','colorChannel1','clearActiveDrawingObjects','_shapeEditPanelVersion','77758jCObZp','selectable','_initEditingParams','_activeImageId','viewportScrollY','Transform','popup','Plugin','UniverIcon','1em','drawingType','_handleFreeEndpointPointerUp','routeConnectorLineShape','M8\x2010.2V11.8','_transformCalculateSrcRect','@univerjs/sheets-drawing','_initialize','getShapeModel','_isDrawingShapePointDown','_menuManagerService','_createControls','getConnectionSiteList','querySelectorAll','UpdateLineShapeResizeCommand','DocInterceptorService','ShapeTypeEnum','src','onload','InsertShapeCommand','ShapeEditPanel','changing$','LocaleService','presentation','fill','clearAdjustControls','sheetViewStartColumn','object-layers-icon','#1a73e8','subUnitId','ShapeFillEnum','REMOVE','_imageShapeClipController','cancelEditing','setShapeProps','engine','UniverDocsPlugin','transformByState','getContextValue','_sheetDrawingService','resolveShapeTextDocumentRenderLayout','shouldClipShapeTextDocument','M8\x206.2V7.8','shape-editor-ui.arrange.front','isDrawingObject','isRenderLinePointsMode','disposeWithMe','@univerjs/design','getBatchAddOp','_getImagePrstGeom','ancestorTransform','_context','move-up-icon','_shapeFloatingToolbarService','rotation','getObjectListPanelSectionIdForDrawingType','SetDrawingApplyMutation','sheets-shape-ui.insertShape','getVisible','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','shapeType','ShapeTextHyperLinkInfo','non-scaling-stroke','UniverSheetsMobileUIPlugin','_initCommands','@univerjs/docs','_handleConnectedEndpointMove','_createCopyInfoByRange','sheets-shape-ui.editText','Shape','iterator','adjName','getZoomRatio','SHAPE_TEXT','sheet.shape.picker.component','isFinite','onPointerMove$','strokeWidth','http://www.w3.org/2000/svg','sheet.operation.update-shape-type','getUnitType','_activeShapeModel','_getConnectPointInfo','getDrawingVisible','drawing-ui.objectListPanel.locate','_connectionSiteObjects','currentAdjustValues','SHEET_SHAPE_UI_PLUGIN','UniverDrawingPlugin','sheets-shape-ui.ribbon.shape-format.text-control','computeConnectorRouteLayout','viewportScrollX','SELECTOR','toDisposable','getCurrentScrollState','isMainScene','_addControl','getSelectedObjectMap','_clearCompletionFrame','shouldAllowShapeTextEditorHostSizeShrink','_drawShapeText','_commandExecutedListener','isLineShape','push','_connectorObjects','UniverSheetsUi','horizontal','_sheetPrintInterceptorService','SHAPE_CHANGE_PICKER_COMPONENT','unit','current','clip','prstGeom','lineShapeId','ISheetDrawingService','UndoRedoGroupService','switchMap','symbol','image-clip-adjust-point-','objects','DocSelectionManagerService','path','sheets-shape-ui.flipVertical','worldPoint','angle','permissionPointUpdate$','SetSheetDrawingCommand','worldRect','_clipService','forEach','sheets-shape-ui.shape-format.text-ribbon-control','ShapeGroupEnum','formulaBinding','cos','_shapePopupMenuDisposable','_getZoomRatio','sheet.command.menu-insert-shape','UniverSheetsDrawing','getBasicShapeRelation','shapeKey','MoveDownIcon','getSheetCommandTarget','string','@univerjs-pro/license','ContextMenuPosition','calcAdjValues','UniverSheetsDrawingUi','_editingParams$','removeProperty','extraProps','sqrt','drawing.operation.set-drawing-active','DocCanvasPopManagerService','_disposed','start','showContextualTab','resolveShapeTextEditorWrapStrategy','sheet.shape.object-list.panel','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','addObject','isEditing','_executeConnectionCommand','drawing-ui.objectListPanel.unlockHint','onDblclick$','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','assign','getRealBound','focusDrawing','DrawingApplyType','copyType','resolveShapeContextualRibbonHostMode','beginPath','FromArray','_popupMenuListener','UniverDrawingUIPlugin','_clearShapeConnectorHandlerObjects','onStarting','set','changeEnd$','onSteady','idMap','_onSavingEditorData$','_drawRichTextLayer','name','unsubscribe','_targetShapeId','40LmdpxE','UniverDrawing','drawing-ui.objectListPanel.sectionCanvas','M6.2\x208H7.8','shape-editor-ui.toolbar.quickStyles','_getImageDrawingInfo','localName','RENDER_CLASS_TYPE','refreshAdjustControls','animationEnabled','srcRect','multiply','ConnectorCoordinateTransform','find','buildClipPath','abs','hideInfoPopup','startX','VIEW_MAIN','buildShapeTextDataUpdate','get','_baseHeight','_init','OPERATION','vertical-center','VIEW_MAIN_TOP','version','cxnPointRadius','clipTop','_executeConnectedRouteResizeCommand','getCurrentTypeOfUnit$','_drawSimpleText','_sidebarService','originalStrokeWidth','getTransformerByCreate','offsetX','_isConnecting','pick','getCurrentLastSelection','_insertingShapeKeys','sheet.shape.text.float-menu','drawing-ui.objectListPanel.name','parse','_hasReset','_sheetDrawingShapeRenderController','getImage','featurePluginUpdateNotification','with','isHighlighted','fillType','registerDependencies','@univerjs-pro/sheets-shape-ui','ToggleShapeFloatingToolbarOperation','_sheetCanvasPopManagerService','left','UpdateConnectorRelationCommand','_applyFormulaAutoFitSize','CUT','_config','unitId','_drawingType','SheetCanvasPopManagerService','translate','back','_handleBasicShapeUpdateConnectorLineShape','attachRangeWithCoord','insertGroupObject','getPermissionPoint','flip-horizontal-icon','getSheetId','beforeCommandExecuted','generateRandomId','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_reset','IconManager','Documents','getDrawingSearch','ShapeDefaultConfig','getValue','DRAWING_OBJECT_LAYER_INDEX','_ribbonService','removeLinePoints','trim','setHighlighted','SheetsDrawingGroupCopyPasteController','shapeId','close','_sheetPermissionCheckController','_getConnectionSiteAngle','ShapeRenderModeEnum','targetShapeId','clearAdjustValue','_isShouldShowDrawingShapeAdjust','_registerIcons','_sheetInterceptorService','getDrawingTypeNameKey','sin','createInternalEditorID','addImageSourceCache','hidden','UniverMobileUIPlugin','DrawingTypeEnum','useReducer','reduce','getSheetBySheetId','endArrow','getSkeleton','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','drawing-ui.objectListPanel.noSelection','wrapStrategy','_registerComponents','getParent','getEndConnectInfo','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_activeShapeAdjustPointList','WorkbookEditablePermission','custom','resolveShapeTextEditorBehaviorShapeData','IUniverInstanceService','ShapeFloatingToolbar','_imageIoService','renderDrawingShape','updateDocumentStyle','_contextService','setPrstGeom','default','_moveConnectorWithShape','_showConnectionSites','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','translateWithPrecision','setProperty','PictureFill','getShapeType','unregister','PaintIcon','clip-','WorkbookCopyPermission','IPermissionService','_executeResizeCommand','createShapeFormulaDocument','sheets-shape-ui.ribbon.shape-format.arrange-backward','cxnIndex','getShapeData','_adjHandlerPointerMove','render','sheetTransform','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','delete','2597145hbzMxQ','_closeShapeEditPanel','stroke','_baseWidth','getShapeTextRect','drawingId','attachPopupToObject','_componentManager','presetId','end','setContextValue','UniverSheetsDrawingUIPlugin','getBentTypeFromPoints','fontFamily','getBatchUpdateOp','SolidFill','Path','_generateCopyPasteMutations','order','15838803XHMBOJ','style','registerClipDelegate','actualHeight','fillImageSource','_canEdit','_activeAdjustInfo','@univerjs/ui','useDependency','baseVal','shapeModel','updateShapeFillImage','RemoveSheetCommand','entries','registerFeaturePasteHook','INSERT','_initSelection','getDrawingByParam','clipByShape','FormatPainterSessionService','sheet.operation.close-sheet-shape-format-panel','IImageIoService','DependentOn','resolveShapeTextHyperLinkAt','startY','shape-editor-ui.arrange.backward','getEditing','UniverInstanceType','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','FlipVerticalIcon','_clearControls','mode','EMPTY','COMMAND','_getDrawingRect','sheet.shape.floating-toolbar','_initCopyPaste','sheets-shape-ui.ribbon.shape-format.arrange-forward','shape-editor-ui.arrange.forward','currentColor','getShapeTextData','_updateSrcRectByTransform','replace','RemoveSheetDrawingCommand','url(#$1','SheetsSelectionsService','sheets-shape-ui.permission.editErr','gradientEndColor','UniverSheetsDrawingPlugin','getCurrentUnitInfo','SHEET_VIEWPORT_KEY','DRAWING_IMAGE','setFillImage','@univerjs/engine-render','copyId','_sheetsShapeService','_cxnIndex','sheets-shape-contextual-ribbon','getShapeDataById','exports','shape-format-setting-icon','ShapeFormulaService','visible','transformToAxisAlignPosition','UPDATE','CommandType','_isHighlighted','_getSceneAndTransformerByDrawingSearch','_attachAdjustEvent','sheet.operation.open-shape-object-list-panel','SheetInterceptorService','_registerFocusChangeHandler','isArray','function','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','cloneShapeDataForType','includes','_visible','_subUnitId','_insertShapes','getActiveViewportByCoord','shape-adjust-point-','SetDrawingArrangeCommand','animateFormulaPresentation','_clearPopups','SheetPrintInterceptorService','Arrow','some','getPropertyPriority','toPrimitive','sheet.operation.open-sheet-shape-format-panel','syncExecuteCommand','@univerjs/sheets','_findNearestConnectionSite','_resetState','pluginName','sheet.operation.open-mobile-shape-editor','IUndoRedoService','refreshFormulaPresentation','OTHERS','getOrCreateDrawingCopyPlan','_handleFreeEndpointMove','getDrawingEffectBounds','getObject','tag','ShapeFloatingToolbarToggleFactory','getPropertyValue','getObjectIncludeInGroup','extensionGroups','debounceRefreshControls','getPresentation','45774260XbbQpN','ComponentManager','_baseShapeTop','SheetDrawingAnchor','merge','activeAnObject','isRender','getActualSize','componentKey','initShapePopupMenu','offsetY','PREDEFINED_HOOK_NAME','_initEvents','setEditing','setSrcRect','sectionFloating','dataModel','refreshTransform','stroke-width','createShapeTextHyperLinkRegions','UniverSheetsUIPlugin','_shapes','startArrow','getDrawingOrder','ShapeStyleRibbonControl','doc.image-clip.shape-picker.component','focus$','M4.2\x208.3H6.8','hasAttribute','VIEW_MAIN_LEFT','getUnitId','index','applyPoint','_registerDrawingMoveHandler','front','resolveShapeTextDocumentPageHeight','sheets-shape-ui.title','ImageSourceTypeEnum','_drawingAddListener','complete','deriveStateFromActiveSheet$','_shapeFormulaService','_unitId','drawing-ui.objectListPanel.moveBackward','drawing-ui.objectListPanel.descriptionPlaceholder','drawing-ui.objectListPanel.unlock','attrs','computeConnectorResizeLayout','8AbgwzW','makeDirty','top-center','_lastEditingShapeKey','PRINTING_COMPONENT_COLLECT','TopmostIcon','mask','_clearConnectionSites','shape-editor-ui.arrange.back','_addShapeConnectorHandlerObject','parent','FOCUSING_COMMON_DRAWINGS','BottomIcon','executeCommand','_baseDrawingRect','_sheetShapeAdjustController','save','FormulaShapeAnimationController','DocumentViewModel','_getShapeAdjustPointListById','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','prepareShapeTextDocumentData','drawing-ui.objectListPanel.details','CURSOR_TYPE','drawing-ui.objectListPanel.filterHidden','IContextService','startConnectionDetection','asObservable','call','normal','activeSheet$','disableObjectsEvent','children','_initPrinting','SolidLine','UniverDocsUIPlugin','clear','_hide','viewBox','IURLImageService','transformForAngle','isolated','MenuItemType','discreteRangeToRange','resolveActiveShapeQuickStylePresetId','lineType','_sheetClipboardService','MobileDropdown','getStartConnectInfo','_releaseRenderCache','shapeText','_univerInstanceService','relation','scene','formulaPresentation','transformVector2SceneCoord','redo','SetDrawingSelectedOperation','none','BUTTON','evenodd','registerFeatureMenu','sheets-shape-ui.ribbon.shape-format.style-control','#FFFFFF','useEffect','_adjHandlerPointerUp','_draggingConnectorId','setShouldShowAdjust','InsertSheetsShapeMutation','UniverSheetsDrawingMobileUIPlugin','bottom','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_shapeTextEditingService','@univerjs-pro/shape-editor','ShapeLineTypeEnum','xlink:href','UniverShapeEditorMobileUIPlugin','_clearFocusedShape','_drawingRenderService','displayName','LEFT','appliedStrokeWidth','UniverShapeEditorUIPlugin','value','toStringTag','setFallbackVisible','_shapeId','normalizeShapeTextModel','sheets-shape-ui','idSuffix','image','_loadAndSetImage','cxnPointStrokeWidth','calculate','removeAttribute','setFormulaPresentation','ObjectLayersIcon','getTextModel','_update','SheetsShapeUIContextualRibbonSchema','_adjName','FOCUSING_SHAPE_TEXT_EDITOR','getConnectorLinePoints','DocEventManagerService','canvasElement','oKey','WorksheetEditPermission','getSkeletonParam','_cxtHandlerPointerMove','onCommandExecuted','visible$','ICommandService','_activeShapeInfo','ShapeArrowSizeEnum','getFocusDrawings','element','UniverRenderEnginePlugin','getAdjustValueByName','drawing-ui.objectListPanel.nameInput','jsxs','_handleConnectedEndpointPointerUp','height','None','open','_addShapeConnectorHandlerObjects','getOwnPropertyDescriptor','_currentConnectionTarget','clipHeight','prstGeomAdjValues','touchDependencies','adjustValues','_activeAdjustPointList','editingParams$','drawing-ui.objectListPanel.show','_getOrCreateShapeModel','onTransformChange$','getTransformer','size','text','getActiveSheet','UNIVER_DOC','ShapeTextEditorContainer','getCurrentRangeDisable$','create','worldPoints','axisAlignSheetTransform','indexOf','attachTransformerTo','_shapeUpdateListener','_formulaKey','DrawingRenderService','mergeMenu','top','UniverProSheetsShape','svg','_focusedDrawings','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','DRAWING_SHAPE','UniverSheetsShapePlugin','_loadShapePictureFill','intercept','getTextStyle','stopPropagation','setPresentation','FlipHorizontalIcon','setOnSavingEditorData','ArrangeTypeEnum','4979112YoWKHR','_updateImageAdjValues','@univerjs/drawing-ui','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','245Fuomit','Rect','sheets-shape-ui.objectListPanel.open','_groupCopyPasteController','dispose','getImageSourceCache','keys','defIds','DocSelectionRenderService','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','@univerjs-pro/engine-shape','UniverProLicense','ShapeFormulaRibbonControl','Line','DisposableCollection','sheets-shape-ui.formatShape','URL','isRichText','shape-editor-ui.toolbar.changeShape','DrawingCommonPanel','restore','_sheetBasicShapeConnectionPointController','ang','drawing-ui.objectListPanel.showAll','sheets-shape-ui.deleteShape','data','setCanUseShapeClip','SheetPermissionCheckController','RibbonInsertGroup','#4285f4','width','getCanvasElement','add','hadStyleAttribute','_updateShapeAdjustControls','_generatePasteMutations','memo','getDrawingOKey','isConnectorShape','_permissionService','sheets-shape-ui.flipHorizontal','_activeShapeId','_urlImageService','_commandService','setCursor','drawing-ui.objectListPanel.hideAll','getBasicShapeRotateBound','getDrawingPoints','onRendered','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','_completionFrame','_handleConnectorPointerUp','ObjectListPanelBase','_activeTargetShapeId','_drawingManagerService','MobileObjectListPanel','getDrawingData','_sheetSkeletonService','decorate','getAdjustNames','UniverSheetsPlugin','length','COPY_TYPE','rxjs','_clearShapeAdjustControls','cxnPointFill','getScene','useFormulaShapeToolbar','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','drawing-ui.objectListPanel.hide'];_0x4425=function(){return _0x253f84;};return _0x4425();}