@univerjs-pro/sheets-shape-ui 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +5 -0
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +7 -0
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +5 -0
- package/lib/types/commands/command/shape-doc-align.command.d.ts +10 -0
- package/lib/types/commands/menu/menu-dependencies.d.ts +2 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +19 -0
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +6 -0
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +10 -0
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +10 -0
- package/lib/types/commands/operations/actvie-drawing-operation.d.ts +2 -0
- package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
- package/lib/types/view-model/drawing-shape.d.ts +2 -0
- package/lib/types/view-model/shape-data-model.d.ts +8 -0
- package/lib/types/views/ShapeOptions.d.ts +26 -0
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
- package/lib/types/views/shapes.d.ts +58 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x49ca(_0x189bfc,_0x312eb8){_0x189bfc=_0x189bfc-0x199;const _0x300a63=_0x300a();let _0x49caf1=_0x300a63[_0x189bfc];return _0x49caf1;}function _0x300a(){const _0x1da732=['_initPrinting','memo','canvasElement','IContextService','object-layers-icon','onDblclick$','_calculateFreeEndpointAngle','point','FOCUSING_COMMON_DRAWINGS','worldRect','getShapeModel','ShapeFloatingToolbarService','isDrawingObject','colorChannel1','unitId','color','_drawRichTextLayer','hideContextualTab','DrawingImageClipService','UniverProShapeEditor','_addShapeConnectorHandlerObject','RemoveSheetDrawingCommand','drawing-ui.objectListPanel.filterLocked','SELECTOR','MEDIA','string','_contextService','registerRenderModule','includes','_registerDrawingMoveHandler','sheets-shape-ui.ribbon.shape-format.style-control','_initEditingParams','getDrawingData','focus$','UniverSheetsShapeUIPlugin','@univerjs-pro/shape-editor','transformToDrawingPosition','DependentOn','UniverSheetsDrawing','getZoomRatio','0\x200\x2017\x2016','intercept','ImageSourceTypeEnum','blockExecuteWithoutPermission','visible','from','drawing-ui.objectListPanel.show','merge','style','DocInterceptorService','FlipHorizontalIcon','UUID','subscribeEvent','sheet.shape.floating-toolbar','React','sheet.operation.apply-shape-quick-style','srcRect','drawing-ui.objectListPanel.dragToReorder','drawing-ui.objectListPanel.lockAll','_visible','registerCommand','mode','routeConnectorLineShape','_resetState','resolveShapeTextEditorBehaviorShapeData','trim','viewBound','backward','ShapeTextEditorContainer','OPERATION','UniverRenderEnginePlugin','_clearFocusedShape','UpdateConnectorRelationCommand','_groupCopyPasteController','getState','_disposePopups','_loadAndSetImage','registerFeatureMenu','_initEvents','permissionCheckWithoutRange','EMPTY','MenuItemType','UPDATE','shouldAllowShapeTextEditorHostSizeShrink','_menuManagerService','changing$','_handleConnectorPointerUp','shape-editor-ui.toolbar.quickStyles','#1a73e8','shape-text-','attachRangeWithCoord','PRINTING_COMPONENT_COLLECT','name','url(#$1','_permissionService','engine','getConnectionSiteList','DocEventManagerService','top','@univerjs/design','changeStart$','IURLImageService','_localeService','getParent','onPointerUp$','setContextValue','div','@univerjs/core','_drawSimpleText','_initCommands','SheetPrintInterceptorService','ShapeFormulaRibbonControl','sheets-shape-ui.objectListPanel.open','_index','error','onCommandExecuted','FloatingObjectToolbarPosition','sheet.shape.object-list.panel','WorkbookEditablePermission','PaintIcon','transform','target','OBJECT_LIST_FLOATING_SECTION_ID','remove$','_clearControls','objects','_sheetsShapeService','normal','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','wrapStrategy','_getOrCreateShapeModel','isRenderLinePointsMode','discreteRangeToRange','showContextualTab','offsetX','sheets-shape-ui.formatShape','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','_disposed','SolidLine','_shapeTextEditingService','contentHeight','getCanvasElement','dispose','20GgJAgJ','LEFT','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','registerClipDelegate','priority','multiply','_initialize','COMMAND','UniverLicensePlugin','HorizontalAlign','UniverProSheetsShape','drawing.operation.set-drawing-active','RemoveSheetsShapeMutation','UniverSheetsShapePlugin','indexOf','_baseShapeTop','panel','_executeResizeCommand','clearAdjustValue','isFinite','_cxtHandlerPointerUp','cxnPointFill','getCurrentUnitInfo','SHAPE_CHANGE_PICKER_COMPONENT','UniverShapeEditorMobileUIPlugin','editingParams$','skeleton','isInGroup','ShapeFormatSettingIcon','ShapeArrowSizeEnum','WorksheetEditPermission','M8\x2010.2V11.8','back','symbol','_executeConnectedRouteResizeCommand','getBatchUpdateOp','getObjectListPanelSectionIdForDrawingType','disposeWithMe','M8\x2014V14.2','onload','_targetShapeId','_drawingAddListener','order','sheets-shape-ui.ribbon.shape-format.arrange-forward','register','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','selectable','isHighlighted','getSkeleton','_getZoomRatio','removeAttribute','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverDocsUi','sheetTransform','DRAWING','_handleConnectedEndpointPointerUp','SheetsSelectionsService','copyType','update$','iterator','popup','drawing-ui.objectListPanel.locate','transformForAngle','ShapeFloatingToolbarToggleFactory','appliedStrokeWidth','_sheetClipboardService','setShapeProps','getEndConnectInfo','shapeData','fillImageSourceType','ancestorTransform','ISidebarService','ShapeDefaultConfig','_unitId','@univerjs-pro/license','IDrawingManagerService','bottom-icon','drawing-ui.objectListPanel.name','_isImagePointerDown','value','permissionPointUpdate$','getSkeletonParam','computeConnectorResizeLayout','SHAPE_TEXT','FOCUSING_SHAPE_TEXT_EDITOR','DRAWING_OBJECT_LAYER_INDEX','#FFFFFF','drawing-ui.objectListPanel.title','VIEW_MAIN_LEFT','image','getDrawingDataForUnit','_sheetDrawingService','Shape','switchMap','scene','react/jsx-runtime','viewBox','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','sheets-shape-ui.editShape','horizontal','_isDrawingShapePointDown','computeConnectorRouteLayout','_activeTargetShapeId','_subUnitId','attrs','UniverIcon','preValue','with','getBatchAddOp','sheets-shape-ui.shape-format.quick-style-gallery','defineProperty','registerDependencies','390288ubFxjM','updateConnectionDetection','idSuffix','None','getPropertyPriority','attachPopupToObject','flipX','calcAdjValues','getDrawingEffectBounds','_activeAdjustPointList','_shapeUpdateListener','isReleased','MoveUpIcon','UniverSheetsDrawingUi','_canEdit','_formulaAnimation','reverse','useFormulaShapeToolbar','_init','_config','_executeConnectedRouteConnectionCommand','_shapeFormulaService','getInterceptPoints','_componentManager','getObjectIncludeInGroup','drawing-ui.objectListPanel.details','resolveFormulaShapeAutoFitSize','getActiveSheet','animateFormulaPresentation','_registerGroupFeaturePasteHook','getDrawingShapeKeyByDrawingSearch','activeSheet$','_clipService','pluginName','getEditing','UniverDocs','amd','drawing-ui.objectListPanel.moveBackward','disableObjectsEvent','_insertingShapeKeys','beginPath','add$','drawWith','hidden','sheets-shape-ui.ribbon.shape-format.arrange-backward','ShapeQuickStyleGallery','getConnectionInfo','getSelectedObjectMap','_renderManagerService','useId','ShapeStyleRibbonControl','_clearConnectionSites','_getImageDrawingInfo','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','shape-editor-ui.arrange.backward','_openShapeEditPanel','prototype','getObject','pick','close','SHAPE_EDITOR_TRANSFORMER_CONFIG','DrawingApplyType','SheetSkeletonService','setPresentation','isEditing','ShapeGroupEnum','isHit','resolveShapeTextEditorWrapStrategy','setCanUseShapeClip','FromArray','_commandService','@univerjs/ui','_sheetCanvasPopManagerService','18HEfAwY','shape-editor-ui.toolbar.changeShape','getSheetBySheetId','drawing-ui.objectListPanel.noSelection','type','_drawShapeText','drawing-ui.objectListPanel.typeNames.','getDrawingPoints','UndoRedoGroupService','marginTop','_urlImageService','createShapeFormulaDocument','viewportScrollY','removeLinePoints','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-ui.ribbon.shape-format.formula-control','_sheetDrawingShapeRenderController','_drawRichText','_currentScene','parent','getDrawingVisible','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','start','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','focusDrawing','fillType','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','_isStartAdjusting','_getConnectionSiteAngle','clearAdjustControls','useImperativeHandle','localToWorld','cos','updateContext','UniverDocsUIPlugin','drawing-ui.objectListPanel.hide','presentation','sheet.command.update-shape-data','canvas','rect','ShapeIcon','_editingParams$','delete','setConfig','_activeAdjustInfo','PREDEFINED_HOOK_NAME','154745tRXVFF','title','VIEW_MAIN_TOP','onerror','shape-editor-ui.arrange.back','_getScrollInfo','ICommandService','getMenuHiddenObservable','oKey','@univerjs-pro/sheets-shape-ui','_formulaKey','_initPermission','find','complete','@univerjs/docs','clipByShape','DRAWING_IMAGE','drawing-ui.objectListPanel.description','Line','sin','onPointerMove$','_currentConnectionTarget','description','defs','BUTTON','getShapeData','react','getActualSize','UniverInstanceType','_rerouteConnectorLine','Large','replace','restore','ShapeTypeEnum','getAutoFitPresentations','SetDrawingApplyMutation','flipY','stringify','height','element','addObject','initShapePopupMenu','shapeKey','_connectionSiteObjects','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','M6.2\x208H7.8','relation','save','entries','_releaseRenderCache','ShapePickerPanel','undo','shapeId','_shapeService','UniverEngineRender','_registerOperations','M8\x202.2V3.8','getTransformerByCreate','getShapeDataById','SheetSkeletonManagerService','getDrawingOrder','isHitLine','@univerjs/engine-render','getShapeQuickStylePreset','_closeShapeEditPanel','resetCursor','ComponentManager','_createCopyInfoByRange','create','parseFloat','DRAWING_SHAPE','reduce','_completionFrame','length','URL','Vector2','IConfigService','_transform','push','Transform','getDrawingTypeNameKey','isLineShape','_findNearestConnectionSite','_hide','setFallbackVisible','drawing-ui.objectListPanel.unlock','_clearPopups','originalStrokeWidth','UniverProLicense','src','UniverProSheetsShapeUi','sheets-shape-ui.ribbon.shape-format.arrange-front','extraProps','getScene','Rect','getImageSourceCache','lineShapeId','RibbonInsertGroup','_sheetBasicShapeConnectionPointController','render','isConnectorShape','sheet.operation.open-mobile-shape-editor','ArrangeTypeEnum','featurePluginUpdateNotification','UniverSheetsDrawingMobileUIPlugin','@univerjs/sheets-drawing','Circle','sheet.command.menu-insert-shape','sectionFloating','lineType','adjHandleSize','_baseHeight','sheets-shape-ui.title','disableShapeOption','drawing-ui.objectListPanel.unlockAll','toDisposable','getTransformer','_shapeRenderController','BehaviorSubject','_sheetPrintInterceptorService','forEach','left','path','VIEW_MAIN','2172222XnDyLp','prepareShapeTextDocumentData','params','completeEditing','_injector','formulaPresentation','_renderWithCache','getCurrentUnitOfType','MobileShapeEditorService','none','ObjectLayersIcon','_draw','_clearShapeConnectorHandlerObjects','ShapeFloatingToolbar','_applyFormulaAutoFitSize','createElement','ShapeRenderModeEnum','currentAdjustValues','CROSSHAIR','jsxs','cancelEditing','abs','currentColor','getUnit','drawingId','disconnect','#4285f4','cxnPointStroke','prstGeomAdjValues','translateWithPrecision','onSteady','getContextValue','0\x200\x2016\x2016','DocumentViewModel','TopmostIcon','_getShapeAdjustPointListById','non-scaling-stroke','MoveDownIcon','CommandType','drawing-ui.objectListPanel.unlockHint','_handleConnectedEndpointMove','_cxtHandlerPointerMove','sheet.menu.shape.flip-vertical','formulaBinding','topmost-icon','DEFAULT_PASTE','cxnPointStrokeWidth','getSheetId','sheets-shape-ui.objectListPanel.title','DocumentSkeleton','1082147GIxzdP','getMatrix','presentationChanged$','ShapeLineTypeEnum','text','clone','getCurrentRangeDisable$','getValue','targetShapeId','@univerjs/drawing','RENDER_CLASS_TYPE','_shapeEditPanelVersion','localName','ShapeTextHyperLinkPopupService','forward','UniverDrawingPlugin','sheets-shape-ui.deleteShape','useRef','clearActiveDrawingObjects','adjustValues','univer-box-border\x20univer-px-4\x20univer-text-sm','_activeShapeId','drawing-ui.objectListPanel.sectionFloating','_addShapeConnectorHandlerObjects','UniverCore','GROUP','resolveShapeContextualRibbonHostMode','updateDocumentDataMargin','@univerjs-pro/sheets-shape','sheets-shape-ui.config','_getShapeInfo','onReady','ShapeTextFloatMenuRenderControllerBase','redo','registerShapeFormatPainter','getCurrentScrollState','INSERT','_ribbonService','Observable','getBoundingClientRect','Disposable','renderDrawingShape','_updateAdjustControlPositions','applyPoint','setFillImage','drawing-ui.objectListPanel.lock','UniverSheetsShapeMobileUIPlugin','stroke','_lastEditingShapeKey','_drawingManagerService','M2.2\x208H3.8','_sheetSkeletonService','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','isRichText','createControl$','_registerImageShapeClipDelegate','drawing-ui.objectListPanel.expand','querySelectorAll','_sidebarDisposable','isRender','shapeText','onRendered','sheet.operation.open-sheet-shape-format-panel','dataModel','BottomIcon','REMOVE','_baseShapeHeight','extensionGroups','jsx','_adjHandlerPointerUp','shape-format-setting-icon','classType','setProperty','_executeConnectionCommand','refreshAdjustControls','ShapePickerDropdown','ObjectListPanelBase','deriveStateFromActiveSheet$','mask','toStringTag','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','sheets-shape-ui.permission.editErr','getTextModel','getCurrentLastSelection','_handleFreeEndpointPointerUp','_registerIcons','getShapeTypeById','setPrstGeom','InsertSheetsShapeMutation','presetId','touchDependencies','_insertShapes','getCurrentSkeleton','transformByState','ShapeTextRibbonControl','copyId','_drawingRenderService','getSheetCommandTarget','RIBBON','pipe','size','getFocusedUnit','pushUndoRedo','FormatPainterSessionService','UniverShapeEditorPlugin','fontSize','cxnIndex','sheet.shape.picker.component','bottom','sheet.operation.update-shape-type','getShapeTextData','UNIVER_SHEET','getRealBound','sheets-shape-ui.shape-format.formula-ribbon-control','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_registerFeatureMenu','setFormulaPresentation','UniverDesign','sheets-shape-ui','axisAlignSheetTransform','_updateShapeAdjustControls','DrawingRenderService','DrawingTypeEnum','_adjName','_activeShapeModel','adjName','onPointerDown$','_context','_showConnectionSites','parse','sheets-shape-ui.shape-format.text-ribbon-control','_isOpenedShapeEditPanel','_isStartConnectorPoint','setAdjustValueByName','MobileObjectListPanel','_imageIoService','UniverSheetsMobileUIPlugin','sheet.image-clip.shape-picker.component','unsubscribe','UpdateSheetsShapeDataMutation','ShapeModel','hadStyleAttribute','isHorizontal','_handleFreeEndpointMove','refreshFormulaPresentation','_updateImageAdjValues','DocRenderController','min','FlipVerticalIcon','sheets-shape-ui.shape-format.style-ribbon-control','endArrow','sheets-shape-ui.flipVertical','getConnectorLinePoints','univerjs-icon\x20univerjs-icon-','addImageSourceCache','Fragment','constructor','_shapeId','_updateSrcRectByTransform','drawing-ui.objectListPanel.lockHint','enableObjectsEvent','strokeWidth','drawing-ui.objectListPanel.close','OTHERS','getImage','_currentUniverService','UniverDocsPlugin','_initSelection','subUnitId','@univerjs/sheets-ui','DocCanvasPopManagerService','getPermissionPoint','front','onSavingEditorData$','_generatePasteMutations','SHEET_SHAPE_UI_PLUGIN','set','drawFormulaShapeAnimationLayers','useObservable','IUndoRedoService','drawing-ui.objectListPanel.filterAll','values','http://www.w3.org/2000/svg','IUniverInstanceService','function','_shapes','getUnitType','computeStraightConnectorLayout','contentVerticalOffset','_cxnIndex','ToggleSheetsShapeFlipCommand','applyQuickStyleToShapeData','keys','prstGeom','SheetCanvasPopManagerService','cloneShapeDataForType','useMemo','_initSheetChange','SheetsDrawingGroupCopyPasteController','_getSceneAndTransformerByDrawingSearch','setShapeData','activeAnObject','_handleBasicShapeUpdateConnectorLineShape','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','isMainScene','ContextMenuGroup','version','endConnectionDetection','_createControls','getStartConnectInfo','startArrow','_univerInstanceService','createInternalEditorID','setPrstGeomAdjValues','syncExecuteCommand','ShapeFillEnum','next','_clearShapeAdjustControls','2632945NJWTSg','updateShapeFillImage','sheets-shape-ui.flipHorizontal','UniverSheets','_attachAdjustEvent','drawing-ui.objectListPanel.collapse','_activeShapeAdjustPointList','stroke-width','LocaleService','UniverSheetsPlugin','_isShouldShowDrawingShapeAdjust','_baseLeft','interceptor','Image','getUnitId','_baseWidth','asObservable','_loadShapePictureFill','_getShapeAdjustInfosById','SetDrawingArrangeCommand','CopySheetCommand','viewportScrollX','_addShapeAdjustControl','generateRandomId','SheetScrollManagerService','UniverMobileUIPlugin','_generateCutPasteMutations','sheets-shape-ui.ribbon.shape-format.text-control','ang','_copyInfo','sheets-shape-ui.quickStyles','M14\x208H14.2','ConnectorCoordinateTransform','onTransformChange$','_highlightedSiteIndex','subscribe','@univerjs-pro/shape-editor-ui','getShapeQuickStyleType','fillImageSource','setOnSavingEditorData','_update','_registerFocusChangeHandler','sectionCanvas','angle','getDrawingByParam','transformToAxisAlignPosition','drawingType','getDrawingOKey','getPresentation','1.0.1','ShapeArrowTypeEnum','_baseTop','sheets-shape-text-','attachTransformerTo','worldPoint','run','clip','UniverDrawingUIPlugin','changeEnd$','Path','clip-adj-','sheetViewStartRow','displayName','fromChangeset','useDependency','unregister','Module','SetDrawingSelectedOperation','open','some','sheet.shape.edit.panel','_popupMenuListener','Medium','scale','COPY_TYPE','IPermissionService','plainShapeTextToDocumentData','IRenderManagerService','get','fill','toFixed','DocSelectionRenderService','@univerjs/drawing-ui','IconManager','_createShapeAdjustControls','M4.2\x208.3H6.8','getBasicShapeRotateBound','_isConnecting','_formulaShapes','146376FEbGwq','stopPropagation','changeShapeType','index','vertical-center','shape-editor-ui.arrange.front','getShapeTextRect','drawing-ui.objectListPanel.sectionCanvas','ContextMenuPosition','sheet.shape.text.float-menu','75vZKOry','_reset','resolveActiveShapeQuickStylePresetId','_shapePopupMenuDisposable','SheetsShapeUIMenuSchema','_onSavingEditorData$','setSrcRect','_getConnectPointInfo','_registerMoveHandler','getAdjustValueByName','_registerDrawingFocusChangeHandler','SheetPermissionCheckController','executeCommand','filter','drawing-ui.objectListPanel.descriptionPlaceholder','_baseShapeWidth','_activeImageId','ShapeFormulaService','sheets-shape-ui.imagePanel.crop.shape','updateLinePoints','Arrow','_clearCompletionFrame','ISheetClipboardService','_baseDrawingRect','assign','_draggingConnectorId','makeDirty','sheetViewStartColumn','getCurrentTypeOfUnit$','width','_sheetPermissionCheckController','custom','move-down-icon','shapeType','vertical','_getDrawingRect','setHighlighted','_sheetInterceptorService','isolated','SheetsShapeService','_findShapeAtPoint','startX','DisposableCollection','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','shapeModel','_attachConnectorObjectEvent','_transformCalculateSrcRect','add','composeMatrix','_adjHandlerPointerMove','_registerComponents','_commandExecutedListener','map','startConnectionDetection','_updateTransform','svg','UpdateLineShapeResizeCommand','getBatchRemoveOp','ISheetDrawingService','normalizeShapeTextModel','fontFamily','_props','shouldClipShapeTextDocument','toPrimitive','Inject','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','useState','data','connection-site-','getAdjustNames','_iconManager','TOP','children','bindRenderTransformerLifecycle','_moveConnectorWithShape','evenodd','Documents','UniverProShapeEditorUi','shape-adjust-point-','getRenderUnitById','invert','SHEET_VIEWPORT_KEY','@univerjs/sheets-drawing-ui','clear','UniverDrawing','setShouldShowAdjust','setCursor','7778LAOnyx','ShapeEditPanel','has','1em','clipTop','round','_getImagePrstGeom','_hasReset','packageName','DocSelectionManagerService','getDrawingEditable','rotation','buildClipPath','DrawingCommonPanel','getAdjustInfoByName','flip-horizontal-icon','SetSheetDrawingCommand','sheets-shape-ui.ribbon.shape-format','cxnPointRadius','end','buildShapeTextDataUpdate','UNIVER_DOC','object','forwardRef','offsetY','70cssdkJ','getBasicShapeRelation','_sheetShapeAdjustController','resourceCollector','setEditing','mergeMenu','CURSOR_TYPE','_initMenu','addClipboardHook','adjHandleStroke','startY','_isHighlighted','use','_focusedDrawings','refreshShapeFillImage','_drawingType','VIEW_MAIN_LEFT_TOP','VerticalAlign','_activeShapeInfo','exports','doc','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','getShapeType','drawing-ui.objectListPanel.hideAll','PictureFill','current','isStartConnectorPoint','_configService','getDrawingSearch','SHEET','Injector','IMenuManagerService','getPropertyValue','baseVal','call','getFocusDrawings','_sidebarService','_baseShapeLeft','Plugin','tag','decorate','flatMap','_connectorObjects'];_0x300a=function(){return _0x1da732;};return _0x300a();}(function(_0x22e21d,_0x4149a0){const _0x54e171=_0x49ca,_0x21f4e6=_0x22e21d();while(!![]){try{const _0x3c0787=-parseInt(_0x54e171(0x1c9))/0x1+-parseInt(_0x54e171(0x40b))/0x2*(-parseInt(_0x54e171(0x3b4))/0x3)+parseInt(_0x54e171(0x54e))/0x4*(-parseInt(_0x54e171(0x4de))/0x5)+-parseInt(_0x54e171(0x245))/0x6+parseInt(_0x54e171(0x351))/0x7+-parseInt(_0x54e171(0x3aa))/0x8*(-parseInt(_0x54e171(0x19b))/0x9)+parseInt(_0x54e171(0x424))/0xa*(parseInt(_0x54e171(0x277))/0xb);if(_0x3c0787===_0x4149a0)break;else _0x21f4e6['push'](_0x21f4e6['shift']());}catch(_0x4ff6b8){_0x21f4e6['push'](_0x21f4e6['shift']());}}}(_0x300a,0x472c3),function(_0x24fbfb,_0x5e78f4){const _0x23ad47=_0x49ca;typeof exports==_0x23ad47(0x421)&&typeof module<'u'?_0x5e78f4(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define=='function'&&define[_0x23ad47(0x572)]?define([_0x23ad47(0x437),_0x23ad47(0x375),_0x23ad47(0x199),'@univerjs-pro/engine-shape',_0x23ad47(0x472),_0x23ad47(0x293),_0x23ad47(0x4ba),'@univerjs/sheets',_0x23ad47(0x280),_0x23ad47(0x207),_0x23ad47(0x320),'rxjs',_0x23ad47(0x3a3),_0x23ad47(0x4b2),_0x23ad47(0x53d),_0x23ad47(0x232),_0x23ad47(0x528),_0x23ad47(0x1d7),'@univerjs/docs-ui',_0x23ad47(0x406),_0x23ad47(0x1e3)],_0x5e78f4):(_0x24fbfb=typeof globalThis<'u'?globalThis:_0x24fbfb||self,_0x5e78f4(_0x24fbfb[_0x23ad47(0x223)]={},_0x24fbfb[_0x23ad47(0x401)],_0x24fbfb['UniverUi'],_0x24fbfb['UniverProEngineShape'],_0x24fbfb[_0x23ad47(0x462)],_0x24fbfb[_0x23ad47(0x4e8)],_0x24fbfb[_0x23ad47(0x28f)],_0x24fbfb[_0x23ad47(0x354)],_0x24fbfb[_0x23ad47(0x408)],_0x24fbfb[_0x23ad47(0x1ff)],_0x24fbfb['UniverSheetsUi'],_0x24fbfb['rxjs'],_0x24fbfb['UniverDrawingUi'],_0x24fbfb[_0x23ad47(0x2ec)],_0x24fbfb[_0x23ad47(0x485)],_0x24fbfb[_0x23ad47(0x475)],_0x24fbfb[_0x23ad47(0x221)],_0x24fbfb[_0x23ad47(0x571)],_0x24fbfb[_0x23ad47(0x512)],_0x24fbfb[_0x23ad47(0x55b)],_0x24fbfb['React']));}(this,function(_0x389d98,_0x54a51b,_0x5744c6,_0x34f551,_0x42b73e,_0x239f56,_0x567e1d,_0x11447f,_0x36b4c7,_0x3e5eae,_0x17eed7,_0x1d246a,_0x44d5e4,_0x41b81b,_0x1a5094,_0x1f8323,_0x2b0b35,_0x4d3fb2,_0x36809f,_0x2ea516,_0x58a2d5){const _0x718440=_0x49ca;Object[_0x718440(0x54c)](_0x389d98,Symbol[_0x718440(0x2c6)],{'value':_0x718440(0x393)});function _0x7e0c6a(_0x36e5ca,_0x36658c){const _0x4ab5fe=_0x718440;let _0x28f561={};for(let _0x532d45 of Object[_0x4ab5fe(0x337)](_0x36658c)){let _0x590911=_0x36658c[_0x532d45],_0xba3c60=_0x36e5ca[_0x532d45];if(_0xba3c60===void 0x0){_0x28f561[_0x532d45]=void 0x0;continue;}_0x28f561[_0x532d45]=typeof _0x590911==_0x4ab5fe(0x421)&&_0x590911&&!Array['isArray'](_0x590911)&&typeof _0xba3c60==_0x4ab5fe(0x421)&&_0xba3c60&&!Array['isArray'](_0xba3c60)?_0x7e0c6a(_0xba3c60,_0x590911):_0xba3c60;}return _0x28f561;}let _0x1f4f18={'type':_0x567e1d[_0x718440(0x26b)]['COMMAND'],'id':_0x718440(0x1c0),'handler':(_0x4514b7,_0x5f4d8f)=>{const _0x2bd364=_0x718440;let _0x31d4ad=_0x4514b7[_0x2bd364(0x39f)](_0x239f56['SheetsShapeService']),{unitId:_0x90f963,subUnitId:_0x4ebfb0,shapeType:_0x1b0298,shapeId:_0x429406,shapeData:_0x20fd54,replaceShapeData:_0x2bb471,oldShapeJSON:_0x1444c1}=_0x5f4d8f;if(!_0x31d4ad[_0x2bd364(0x459)](_0x90f963,_0x4ebfb0,_0x429406))return!0x1;let _0x301788=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x1cf)]),_0x1af615=_0x4514b7[_0x2bd364(0x39f)](_0x567e1d[_0x2bd364(0x32a)]),{oldShapeType:_0x2a8723,oldShapeData:_0x50f6ea={}}=_0x1444c1,_0x46038d=_0x2bb471?_0x50f6ea:_0x7e0c6a(_0x50f6ea,_0x20fd54||{}),_0x90cbda={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x1b0298,'shapeData':_0x20fd54,'replace':_0x2bb471}},_0x46cfb7={'id':_0x239f56[_0x2bd364(0x302)]['id'],'params':{'unitId':_0x90f963,'subUnitId':_0x4ebfb0,'shapeId':_0x429406,'shapeType':_0x2a8723,'shapeData':_0x46038d,'replace':_0x2bb471}};return _0x301788['syncExecuteCommand'](_0x90cbda['id'],_0x90cbda[_0x2bd364(0x247)])?(_0x1af615[_0x2bd364(0x2dd)]({'unitID':_0x90f963,'undoMutations':[_0x46cfb7],'redoMutations':[_0x90cbda]}),!0x0):!0x1;}};function _0x322a2b(_0x13da3c,_0x45e8a0,_0x34536f,_0x38b556,_0x4dd3e6,_0x26cd80){const _0x46a142=_0x718440;let _0x41f000={'unitId':_0x45e8a0,'subUnitId':_0x34536f,'shapeId':_0x38b556,'shapeData':_0x26cd80,'oldShapeJSON':_0x4dd3e6};return _0x13da3c[_0x46a142(0x3c0)](_0x1f4f18['id'],_0x41f000);}function _0x435eb2(_0x5330c6,_0x5bbc49,_0x54c070,_0x4a5e2c,_0x789deb,_0x5c6492){let _0x14f58a={'unitId':_0x5bbc49,'subUnitId':_0x54c070,'shapeId':_0x4a5e2c,'shapeData':_0x5c6492,'oldShapeJSON':_0x789deb};return _0x5330c6['executeCommand'](_0x1f4f18['id'],_0x14f58a);}function _0x2d0497(_0x30d3ca){'@babel/helpers - typeof';const _0x3ba07a=_0x718440;return _0x2d0497=typeof Symbol=='function'&&typeof Symbol[_0x3ba07a(0x519)]==_0x3ba07a(0x4ff)?function(_0x2fcce7){return typeof _0x2fcce7;}:function(_0x2a2bd3){const _0x12fb5b=_0x3ba07a;return _0x2a2bd3&&typeof Symbol==_0x12fb5b(0x32f)&&_0x2a2bd3[_0x12fb5b(0x313)]===Symbol&&_0x2a2bd3!==Symbol[_0x12fb5b(0x586)]?_0x12fb5b(0x4ff):typeof _0x2a2bd3;},_0x2d0497(_0x30d3ca);}function _0x4d262e(_0x5251cd,_0x1e31cc){const _0x5345e9=_0x718440;if(_0x2d0497(_0x5251cd)!='object'||!_0x5251cd)return _0x5251cd;var _0xc4eb11=_0x5251cd[Symbol[_0x5345e9(0x3f3)]];if(_0xc4eb11!==void 0x0){var _0x2fa5a3=_0xc4eb11[_0x5345e9(0x446)](_0x5251cd,_0x1e31cc||'default');if(_0x2d0497(_0x2fa5a3)!='object')return _0x2fa5a3;throw TypeError(_0x5345e9(0x1f5));}return(_0x1e31cc===_0x5345e9(0x468)?String:Number)(_0x5251cd);}function _0x3187b2(_0x2f7f53){const _0x4851d3=_0x718440;var _0x3634ce=_0x4d262e(_0x2f7f53,_0x4851d3(0x468));return _0x2d0497(_0x3634ce)=='symbol'?_0x3634ce:_0x3634ce+'';}function _0x55cc91(_0x6ba21f,_0x523c90,_0x46cb56){const _0x5bd943=_0x718440;return(_0x523c90=_0x3187b2(_0x523c90))in _0x6ba21f?Object[_0x5bd943(0x54c)](_0x6ba21f,_0x523c90,{'value':_0x46cb56,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x6ba21f[_0x523c90]=_0x46cb56,_0x6ba21f;}function _0x21bee7(_0x7a9cc8,_0x2f5496,_0x250be1){const _0x23b014=_0x718440;let _0x43e6bd={..._0x2f5496,'dataModel':{..._0x2f5496[_0x23b014(0x2b6)]??{},..._0x250be1?{'doc':_0x250be1}:null}},_0xc62b80=(0x0,_0x54a51b[_0x23b014(0x48f)])(_0x7a9cc8,_0x43e6bd),_0x1f1b10=(0x0,_0x54a51b[_0x23b014(0x591)])(_0xc62b80);return{'clip':(0x0,_0x54a51b[_0x23b014(0x3f2)])(_0xc62b80,_0x1f1b10),'wrapStrategy':_0x1f1b10};}var _0x5b187c=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x4ab90d,_0x2845f8){const _0xfdd1c1=_0x718440;super(_0x4ab90d,_0x2845f8),_0x55cc91(this,'_props',void 0x0),_0x55cc91(this,_0xfdd1c1(0x55d),new _0x54a51b['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this[_0xfdd1c1(0x253)]())),_0x55cc91(this,_0xfdd1c1(0x3e2),!0x0),_0x55cc91(this,_0xfdd1c1(0x433),_0x567e1d[_0xfdd1c1(0x2f1)][_0xfdd1c1(0x20f)]),_0x55cc91(this,_0xfdd1c1(0x45b),!0x0),this['_props']={..._0x2845f8},this['_formulaAnimation'][_0xfdd1c1(0x58d)](_0x2845f8['formulaPresentation'],_0x2845f8[_0xfdd1c1(0x56a)]!==!0x1),this['_init'](),this[_0xfdd1c1(0x253)]();}[_0x718440(0x560)](){const _0x288a3b=_0x718440;this[_0x288a3b(0x372)][_0x288a3b(0x483)](_0xce90ed=>{const _0x5ed578=_0x288a3b;this[_0x5ed578(0x315)](_0xce90ed);});}[_0x718440(0x2ce)](_0x1ea98c){const _0x4fcd5f=_0x718440;this['_props'][_0x4fcd5f(0x338)]=_0x1ea98c;}[_0x718440(0x428)](_0x221b27){const _0x36da86=_0x718440;this[_0x36da86(0x3f1)][_0x36da86(0x58e)]=_0x221b27,this[_0x36da86(0x3ce)](!0x0);}[_0x718440(0x2eb)](_0x3e6614,_0xf7bc32=!0x0){const _0x233143=_0x718440;this['_formulaAnimation'][_0x233143(0x58d)](_0x3e6614,_0xf7bc32),this['_props'][_0x233143(0x24a)]=_0x3e6614,this[_0x233143(0x253)](),this[_0x233143(0x3ce)](!0x0);}[_0x718440(0x253)](){const _0x465f93=_0x718440;let _0x1f3f5a=this[_0x465f93(0x3f1)][_0x465f93(0x3e0)],_0x368dbd=_0x1f3f5a[_0x465f93(0x2e5)](),_0x4ae7e0=(0x0,_0x54a51b[_0x465f93(0x3ef)])(_0x368dbd==null?void 0x0:_0x368dbd[_0x465f93(0x2b6)]),_0x2dcf15=_0x4ae7e0==null?void 0x0:_0x4ae7e0[_0x465f93(0x438)],_0x11b25b=this['_formulaAnimation'][_0x465f93(0x1eb)]();if(!_0x2dcf15||_0x11b25b[_0x465f93(0x212)]===0x0)return;_0x1f3f5a[_0x465f93(0x1bc)]({'width':this[_0x465f93(0x3d1)],'height':this['height']});let _0x4c51e9=(0x0,_0x54a51b[_0x465f93(0x568)])({'documentData':_0x11b25b[_0x465f93(0x3e8)](_0x231cc0=>(0x0,_0x42b73e['createShapeFormulaDocument'])(_0x2dcf15,_0x231cc0)),'height':this[_0x465f93(0x1ef)],'shapeData':_0x1f3f5a[_0x465f93(0x1e2)](),'textRect':_0x1f3f5a[_0x465f93(0x3b0)]({'left':0x0,'top':0x0,'width':this[_0x465f93(0x3d1)],'height':this[_0x465f93(0x1ef)]}),'width':this['width']});if(_0x4c51e9){var _0x5d9373;this['resize'](_0x4c51e9[_0x465f93(0x3d1)],_0x4c51e9[_0x465f93(0x1ef)]),(_0x5d9373=this[_0x465f93(0x226)]())==null||(_0x5d9373=_0x5d9373[_0x465f93(0x23d)]())==null||_0x5d9373['debounceRefreshControls']();}}get[_0x718440(0x45d)](){return this['_props']['unitId'];}get[_0x718440(0x31f)](){const _0x3ca9ba=_0x718440;return this[_0x3ca9ba(0x3f1)][_0x3ca9ba(0x31f)];}[_0x718440(0x315)](_0x4d3202){const _0x5d5252=_0x718440;if(this[_0x5d5252(0x3f1)]['srcRect']==null||!this[_0x5d5252(0x3e2)])return;let {width:_0x5a0185,height:_0x270afa}=this,{width:_0x1ca7f9=0x0,height:_0x12f4de=0x0}=_0x4d3202[_0x5d5252(0x548)],{left:_0x1c355b=0x0,top:_0x59030b=0x0,right:_0x458d40=0x0,bottom:_0x4276f7=0x0}=this[_0x5d5252(0x3f1)][_0x5d5252(0x487)],_0x281b17=_0x1c355b,_0x44063d=_0x59030b,_0x139079=_0x458d40,_0x469846=_0x4276f7,_0x263d8a=!0x1;if(_0x1ca7f9!==0x0&&_0x1ca7f9!==_0x5a0185){let _0x169e72=_0x1c355b/_0x1ca7f9,_0x21c12b=_0x458d40/_0x1ca7f9;_0x281b17=_0x5a0185*_0x169e72,_0x139079=_0x5a0185*_0x21c12b,_0x263d8a=!0x0;}if(_0x12f4de!==0x0&&_0x12f4de!==_0x270afa){let _0x598f3a=_0x59030b/_0x12f4de,_0x49f395=_0x4276f7/_0x12f4de;_0x44063d=_0x270afa*_0x598f3a,_0x469846=_0x270afa*_0x49f395,_0x263d8a=!0x0;}_0x263d8a&&this[_0x5d5252(0x3ba)]({'left':_0x281b17,'top':_0x44063d,'right':_0x139079,'bottom':_0x469846});}['setSrcRect'](_0x57d2f4){const _0x23b312=_0x718440;this[_0x23b312(0x3f1)]['srcRect']=_0x57d2f4,this[_0x23b312(0x3ce)](!0x0);}['setFillImage'](_0x8fa7a8){const _0x1ab0fd=_0x718440;this[_0x1ab0fd(0x3f1)]['image']=_0x8fa7a8,this[_0x1ab0fd(0x3ce)](!0x0);}set['transform'](_0x388c5a){const _0x34ebf5=_0x718440;this[_0x34ebf5(0x216)]=_0x388c5a;}get['transform'](){const _0x222423=_0x718440;this[_0x222423(0x216)]||this['_setTransForm']();let _0xd7a87d=this[_0x222423(0x216)][_0x222423(0x27c)]();return this[_0x222423(0x51c)](_0xd7a87d);}get[_0x718440(0x3e0)](){const _0x4e826b=_0x718440;return this[_0x4e826b(0x3f1)][_0x4e826b(0x3e0)];}get[_0x718440(0x1fd)](){const _0xdc1e0e=_0x718440;return this[_0xdc1e0e(0x3f1)][_0xdc1e0e(0x1fd)];}get[_0x718440(0x2be)](){const _0x5871d8=_0x718440;return _0x3e5eae[_0x5871d8(0x281)]['SHAPE'];}[_0x718440(0x250)](_0x3e2e3d,_0x9d9bd5,_0x261c34,_0x51a84b){const _0x3c973c=_0x718440;let _0x286529=this['_props'][_0x3c973c(0x3e0)];if(!_0x286529||!_0x9d9bd5)return;let _0x1ac161=_0x261c34??this[_0x3c973c(0x3d1)],_0x2083d3=_0x51a84b??this[_0x3c973c(0x1ef)],_0x325ecf={'shapeType':_0x286529['getShapeType'](),'width':_0x1ac161,'height':_0x2083d3},_0xb3a5e3={'renderMode':_0x34f551[_0x3c973c(0x255)][_0x3c973c(0x38c)],'oKey':this['oKey'],'image':this['_props'][_0x3c973c(0x537)],'angle':this['angle']};_0x286529[_0x3c973c(0x1bc)](_0x325ecf),_0x3e2e3d[_0x3c973c(0x1f8)]();let _0x373963={'top':0x0,'left':0x0,'width':_0x1ac161,'height':_0x2083d3},_0x146313=_0x286529[_0x3c973c(0x556)](_0x373963);_0x146313?this[_0x3c973c(0x24b)](_0x3e2e3d,_0x146313,_0x376de2=>{const _0x4a1b3d=_0x3c973c;_0x286529[_0x4a1b3d(0x22c)](_0x376de2,_0x373963,_0xb3a5e3);}):(this[_0x3c973c(0x1fa)](),_0x286529[_0x3c973c(0x22c)](_0x3e2e3d,_0x373963,_0xb3a5e3)),_0x3e2e3d['restore']();let _0x158d74=_0x286529[_0x3c973c(0x2e5)](),_0x5ed005=_0x286529[_0x3c973c(0x3b0)](_0x373963),_0x240287=_0x286529[_0x3c973c(0x21a)]();if(_0x158d74&&_0x5ed005&&!_0x240287){_0x3e2e3d[_0x3c973c(0x1f8)](),this[_0x3c973c(0x499)]()['flipX']&&_0x3e2e3d[_0x3c973c(0x39a)](-0x1,0x1);let _0xf2c24=_0x1ac161/0x2,_0x25deaf=_0x2083d3/0x2;_0x3e2e3d['translate'](-_0xf2c24,-_0x25deaf),_0x3e2e3d['beginPath'](),this[_0x3c973c(0x1a0)](_0x3e2e3d,_0x158d74,_0x5ed005),_0x3e2e3d[_0x3c973c(0x1e9)]();}}[_0x718440(0x1a2)](_0x1b5b53){}[_0x718440(0x1a0)](_0x103e4f,_0x4bdf45,_0x2145cf){const _0x26205d=_0x718440;var _0xebce85;this[_0x26205d(0x3f1)][_0x26205d(0x58e)]||(!((_0xebce85=_0x4bdf45['dataModel'])!=null&&_0xebce85[_0x26205d(0x438)])&&_0x26205d(0x2ac)in _0x4bdf45&&_0x4bdf45['isRichText']===!0x1?this[_0x26205d(0x4bb)](_0x103e4f,_0x4bdf45,_0x2145cf):this[_0x26205d(0x1ac)](_0x103e4f,_0x4bdf45,_0x2145cf));}[_0x718440(0x4bb)](_0x4cb74b,_0x202114,_0x51392){const _0x25ff3d=_0x718440;this['_drawRichText'](_0x4cb74b,{..._0x202114,'text':_0x202114[_0x25ff3d(0x27b)]??'','dataModel':{'doc':(0x0,_0x54a51b[_0x25ff3d(0x39d)])(_0x202114,_0x25ff3d(0x385)+this[_0x25ff3d(0x1d1)])}},_0x51392);}[_0x718440(0x1ac)](_0x4c24c3,_0x2f1c63,_0x3d0944){const _0x14551a=_0x718440;(0x0,_0x54a51b[_0x14551a(0x328)])(_0x4c24c3,this[_0x14551a(0x55d)],(_0x2319a2,_0x5ee82f)=>{this['_drawRichTextLayer'](_0x2319a2,_0x2f1c63,_0x3d0944,_0x5ee82f);});}[_0x718440(0x45f)](_0x46d94e,_0x3183ee,_0x7690f7,_0x237b04){const _0xe5be5=_0x718440;let _0x3ef342=this[_0xe5be5(0x3f1)]['localeService'];if(!_0x3183ee[_0xe5be5(0x2b6)]||!_0x3ef342)return;let _0x2c1e1d=(0x0,_0x54a51b[_0xe5be5(0x3ef)])(_0x3183ee['dataModel']);if(!_0x2c1e1d)return;let _0xa276fc=_0x2c1e1d[_0xe5be5(0x438)];if(!_0xa276fc)return;let _0x12e583=(0x0,_0x42b73e[_0xe5be5(0x1a6)])(_0xa276fc,_0x237b04),_0x6c58c6=_0x2c1e1d['va']??_0x567e1d['VerticalAlign'][_0xe5be5(0x3fb)],_0x42a6c4=_0x2c1e1d['ha']??_0x567e1d[_0xe5be5(0x4e7)]['LEFT'],_0x222b2a=_0x21bee7(this[_0xe5be5(0x3f1)][_0xe5be5(0x3e0)][_0xe5be5(0x1e2)](),_0x3183ee,_0x12e583),_0x38d22f=_0x3183ee[_0xe5be5(0x305)],_0x454fe0=(0x0,_0x54a51b[_0xe5be5(0x246)])(_0x12e583,{'isHorizontal':_0x38d22f!==!0x1,'textRect':_0x7690f7,'verticalAlign':_0x6c58c6,'horizontalAlign':_0x42a6c4,'wrapStrategy':_0x222b2a[_0xe5be5(0x4d0)]}),_0x306487=new _0x567e1d['DocumentDataModel'](_0x454fe0),_0x2fce93=new _0x3e5eae[(_0xe5be5(0x266))](_0x306487),_0x1607c1=_0x3e5eae[_0xe5be5(0x276)][_0xe5be5(0x20d)](_0x2fce93,_0x3ef342);_0x1607c1['calculate']();let _0x50d992=_0x1607c1[_0xe5be5(0x1e4)]()['actualHeight'],_0x2a392b=(0x0,_0x54a51b['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x50d992,'verticalAlign':_0x6c58c6,'viewportHeight':_0x7690f7[_0xe5be5(0x1ef)]});_0x306487['updateDocumentStyle']({'pageSize':{'width':_0x38d22f===!0x1?_0x7690f7[_0xe5be5(0x1ef)]:_0x7690f7[_0xe5be5(0x3d1)],'height':(0x0,_0x54a51b['resolveShapeTextDocumentPageHeight'])(_0x12e583,_0x2a392b[_0xe5be5(0x4db)])}}),_0x306487[_0xe5be5(0x292)]({'t':_0x2a392b[_0xe5be5(0x1a4)]}),_0x1607c1['calculate']();let _0x566609=new _0x3e5eae[(_0xe5be5(0x400))](_0xe5be5(0x4a8)+this[_0xe5be5(0x1d1)],_0x1607c1,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0xe5be5(0x3ce)](!0x0)});_0x566609['resize'](_0x7690f7[_0xe5be5(0x3d1)],_0x2a392b[_0xe5be5(0x4db)]),_0x46d94e[_0xe5be5(0x1f8)](),_0x46d94e[_0xe5be5(0x262)](_0x7690f7['left'],_0x7690f7['top']),_0x222b2a['clip']&&(_0x46d94e[_0xe5be5(0x576)](),_0x46d94e[_0xe5be5(0x1c2)](0x0,_0x2a392b[_0xe5be5(0x40f)],_0x7690f7['width'],_0x2a392b['clipHeight']),_0x46d94e[_0xe5be5(0x389)]()),_0x2a392b['contentVerticalOffset']&&_0x46d94e[_0xe5be5(0x262)](0x0,_0x2a392b[_0xe5be5(0x333)]),_0x566609['draw'](_0x46d94e),_0x46d94e[_0xe5be5(0x1e9)](),_0x566609[_0xe5be5(0x4dd)](),_0x1607c1[_0xe5be5(0x4dd)](),_0x2fce93[_0xe5be5(0x4dd)](),_0x306487[_0xe5be5(0x4dd)]();}[_0x718440(0x22c)](_0x38de9a,_0x11b44c,_0xf2e58d=!0x1){const _0x16b8b1=_0x718440;if(!this[_0x16b8b1(0x47b)])return this['makeDirty'](!0x1),this;let {width:_0x5ca794,height:_0x415753,left:_0x2905c2,top:_0x44831a}=this,_0xfafeac=this[_0x16b8b1(0x2e7)]();if(_0x5ca794=_0xfafeac[_0x16b8b1(0x3d1)],_0x415753=_0xfafeac[_0x16b8b1(0x1ef)],_0x2905c2=_0xfafeac[_0x16b8b1(0x242)],_0x44831a=_0xfafeac[_0x16b8b1(0x4b1)],this[_0x16b8b1(0x2b2)](_0x11b44c)){let {top:_0x20821a,left:_0xe09c3f,bottom:_0x1bd9fc,right:_0x388ca}=_0x11b44c[_0x16b8b1(0x491)];if(_0x5ca794+this['strokeWidth']+_0x2905c2<_0xe09c3f||_0x388ca<_0x2905c2||_0x415753+this[_0x16b8b1(0x318)]+_0x44831a<_0x20821a||_0x1bd9fc<_0x44831a)return this;}let _0x3200c4=_0x2905c2+_0x5ca794/0x2,_0xa52876=_0x44831a+_0x415753/0x2,_0x180894=this['transform'][_0x16b8b1(0x278)]();if(this['_props'][_0x16b8b1(0x58e)]){let _0x3f4de9=this[_0x16b8b1(0x499)](),_0x14522d=new _0x3e5eae[(_0x16b8b1(0x218))]();_0x14522d[_0x16b8b1(0x3e4)]({..._0x3f4de9}),_0x180894=_0x14522d[_0x16b8b1(0x278)]();}return _0x38de9a[_0x16b8b1(0x1f8)](),this[_0x16b8b1(0x3f1)][_0x16b8b1(0x3e0)][_0x16b8b1(0x4d2)]===!0x0||_0x38de9a[_0x16b8b1(0x4c7)](_0x180894[0x0],_0x180894[0x1],_0x180894[0x2],_0x180894[0x3],_0x3200c4,_0xa52876),this[_0x16b8b1(0x250)](_0x38de9a,_0x11b44c,_0x5ca794,_0x415753),_0x38de9a[_0x16b8b1(0x1e9)](),this[_0x16b8b1(0x3ce)](!0x1),this;}['getInverseCoord'](_0x148e7e){const _0xa7161c=_0x718440;let {left:_0x2c8e63,top:_0xbbe582,width:_0x5df6e3,height:_0xc13458}=this['getRealBound'](),_0x183dc2=this[_0xa7161c(0x4c7)][_0xa7161c(0x278)](),_0x54da18=_0x2c8e63+_0x5df6e3/0x2,_0x3277b2=_0xbbe582+_0xc13458/0x2,_0x31990a=new _0x3e5eae[(_0xa7161c(0x218))]([_0x183dc2[0x0],_0x183dc2[0x1],_0x183dc2[0x2],_0x183dc2[0x3],_0x54da18,_0x3277b2]),_0x1be48a=this[_0xa7161c(0x4b6)]();return(this[_0xa7161c(0x4f9)]&&(_0x1be48a==null?void 0x0:_0x1be48a['classType'])===_0x3e5eae[_0xa7161c(0x281)]['GROUP']?_0x1be48a['ancestorTransform']['multiply'](_0x31990a):_0x31990a)[_0xa7161c(0x404)]()[_0xa7161c(0x2a2)](_0x148e7e);}[_0x718440(0x590)](_0x21a28c){const _0x3bb45a=_0x718440;let {left:_0x3f996d,top:_0x502b9d,width:_0x46e6c6,height:_0x10a9e1}=this[_0x3bb45a(0x2e7)](),_0x10eac4=_0x3f996d+_0x46e6c6/0x2,_0x1dc5c9=_0x502b9d+_0x10a9e1/0x2,_0x2fd340=this[_0x3bb45a(0x4c7)][_0x3bb45a(0x278)](),_0x90ec3a=new _0x3e5eae[(_0x3bb45a(0x218))]([_0x2fd340[0x0],_0x2fd340[0x1],_0x2fd340[0x2],_0x2fd340[0x3],_0x10eac4,_0x1dc5c9]),_0x59436f=this[_0x3bb45a(0x4b6)](),_0x2f27a6=(this['isInGroup']&&(_0x59436f==null?void 0x0:_0x59436f['classType'])===_0x3e5eae[_0x3bb45a(0x281)][_0x3bb45a(0x290)]?_0x59436f[_0x3bb45a(0x524)][_0x3bb45a(0x4e3)](_0x90ec3a):_0x90ec3a)['invert']()[_0x3bb45a(0x2a2)](_0x21a28c),_0x6d7aa5=_0x46e6c6/0x2,_0x867c6a=_0x10a9e1/0x2,_0xb1b288=this[_0x3bb45a(0x3f1)][_0x3bb45a(0x3e0)];return _0xb1b288&&_0xb1b288['isLineShape']()?_0xb1b288[_0x3bb45a(0x206)](_0x2f27a6['x'],_0x2f27a6['y'],_0x46e6c6,_0x10a9e1):_0x2f27a6['x']>=-_0x6d7aa5-this['strokeWidth']/0x2&&_0x2f27a6['x']<=_0x6d7aa5+this['strokeWidth']/0x2&&_0x2f27a6['y']>=-_0x867c6a-this['strokeWidth']/0x2&&_0x2f27a6['y']<=_0x867c6a+this[_0x3bb45a(0x318)]/0x2;}[_0x718440(0x4dd)](){const _0x4833a0=_0x718440;this[_0x4833a0(0x55d)][_0x4833a0(0x4dd)](),this[_0x4833a0(0x3f1)]['shapeModel']=null,super[_0x4833a0(0x4dd)]();}},_0x8c69ab=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x2fb548,_0x98c91c){const _0xe2ee=_0x718440;super(_0x2fb548,_0x98c91c),_0x55cc91(this,_0xe2ee(0x314),null),_0x55cc91(this,_0xe2ee(0x2f2),null),_0x55cc91(this,_0xe2ee(0x527),null),_0x55cc91(this,_0xe2ee(0x545),null),_0x98c91c&&this['setShapeProps'](_0x98c91c);}['getDrawingSearch'](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this['_shapeId']};}[_0x718440(0x520)](_0x76a02){const _0x468097=_0x718440;_0x76a02[_0x468097(0x1fd)]!==void 0x0&&(this[_0x468097(0x314)]=_0x76a02[_0x468097(0x1fd)]),_0x76a02[_0x468097(0x2f4)]!==void 0x0&&(this[_0x468097(0x2f2)]=_0x76a02['adjName']),_0x76a02[_0x468097(0x45d)]!==void 0x0&&(this[_0x468097(0x527)]=_0x76a02['unitId']),_0x76a02[_0x468097(0x31f)]!==void 0x0&&(this[_0x468097(0x545)]=_0x76a02['subUnitId']),this[_0x468097(0x2d4)]({'width':_0x76a02['width'],'height':_0x76a02['height']});}[_0x718440(0x250)](_0x365ce9){const _0x36a085=_0x718440;_0x3e5eae[_0x36a085(0x233)][_0x36a085(0x578)](_0x365ce9,{'radius':_0x34f551[_0x36a085(0x526)]['adjHandleSize'],'fill':_0x34f551[_0x36a085(0x526)]['adjHandleFill'],'stroke':_0x34f551['ShapeDefaultConfig'][_0x36a085(0x42d)],'strokeWidth':0x1,'evented':!0x0});}};function _0x519f13(_0x398aca,_0x3e92e6){return function(_0x2c97f3,_0x2fcf39){_0x3e92e6(_0x2c97f3,_0x2fcf39,_0x398aca);};}function _0xb31b0c(_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b){const _0x30fd99=_0x718440;var _0x1d9c7f=arguments[_0x30fd99(0x212)],_0x57ab39=_0x1d9c7f<0x3?_0x29dcab:_0xb3329b===null?_0xb3329b=Object['getOwnPropertyDescriptor'](_0x29dcab,_0x89c049):_0xb3329b,_0x10d31d;if(typeof Reflect=='object'&&typeof Reflect[_0x30fd99(0x44c)]=='function')_0x57ab39=Reflect[_0x30fd99(0x44c)](_0x59a3c1,_0x29dcab,_0x89c049,_0xb3329b);else{for(var _0x383bd7=_0x59a3c1[_0x30fd99(0x212)]-0x1;_0x383bd7>=0x0;_0x383bd7--)(_0x10d31d=_0x59a3c1[_0x383bd7])&&(_0x57ab39=(_0x1d9c7f<0x3?_0x10d31d(_0x57ab39):_0x1d9c7f>0x3?_0x10d31d(_0x29dcab,_0x89c049,_0x57ab39):_0x10d31d(_0x29dcab,_0x89c049))||_0x57ab39);}return _0x1d9c7f>0x3&&_0x57ab39&&Object[_0x30fd99(0x54c)](_0x29dcab,_0x89c049,_0x57ab39),_0x57ab39;}let _0x29d254=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2d0e9b,_0x23c5d6,_0x33aa5c,_0x124828,_0x242502,_0x2158e6){const _0x146b12=_0x718440;super(),this[_0x146b12(0x2a8)]=_0x2d0e9b,this[_0x146b12(0x4cd)]=_0x23c5d6,this[_0x146b12(0x4b5)]=_0x33aa5c,this[_0x146b12(0x2fe)]=_0x124828,this[_0x146b12(0x1a5)]=_0x242502,this[_0x146b12(0x563)]=_0x2158e6,_0x55cc91(this,_0x146b12(0x3a9),new Map()),this[_0x146b12(0x503)](this['_shapeFormulaService'][_0x146b12(0x279)][_0x146b12(0x374)](_0x4bf7fe=>{const _0x2895c6=_0x146b12;var _0x1494cf;(_0x1494cf=this['_formulaShapes'][_0x2895c6(0x39f)](this['_formulaKey'](_0x4bf7fe['unitId'],_0x4bf7fe[_0x2895c6(0x31f)],_0x4bf7fe['shapeId'])))==null||_0x1494cf[_0x2895c6(0x241)](_0x539eb3=>_0x539eb3[_0x2895c6(0x2eb)](_0x4bf7fe[_0x2895c6(0x1bf)],_0x4bf7fe['animationEnabled']));})),this[_0x146b12(0x503)](this[_0x146b12(0x2a8)][_0x146b12(0x4ca)][_0x146b12(0x374)](_0x520bcb=>{const _0x213bc8=_0x146b12;_0x520bcb[_0x213bc8(0x241)](_0x248fea=>{const _0x34df81=_0x213bc8;this[_0x34df81(0x563)][_0x34df81(0x392)]({'unitId':_0x248fea[_0x34df81(0x45d)],'subUnitId':_0x248fea[_0x34df81(0x31f)],'shapeId':_0x248fea[_0x34df81(0x25d)]}),this['_formulaShapes'][_0x34df81(0x1c5)](this[_0x34df81(0x1d3)](_0x248fea[_0x34df81(0x45d)],_0x248fea[_0x34df81(0x31f)],_0x248fea[_0x34df81(0x25d)]));});}));}[_0x718440(0x2a0)](_0x3bb4e9,_0x155dfa,_0x2a3992){const _0x11e8fc=_0x718440;let {transform:_0x1ad286,drawingType:_0x19961f,srcRect:_0x46f9c3,prstGeom:_0x5bb7a2,groupId:_0x12605b,unitId:_0x51154a,subUnitId:_0x18a8e9,drawingId:_0x10118a,isMultiTransform:_0x33f55c,transforms:_0x228a3b,hidden:_0x29410b,selectable:_0x177728}=_0x3bb4e9;if(_0x19961f!==_0x567e1d[_0x11e8fc(0x2f1)][_0x11e8fc(0x20f)]||!this['_drawingManagerService'][_0x11e8fc(0x1af)]()||_0x1ad286==null)return;let _0x5c66ca=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x415)](),_0x372663=_0x33f55c&&_0x228a3b?_0x228a3b:[_0x1ad286],_0x135f69=[];for(let _0x132f5b of _0x372663){let {left:_0x226c3a,top:_0x1db082,width:_0x4d0165,height:_0x374111,angle:_0x44f20c,flipX:_0x454d51,flipY:_0x208ed5,skewX:_0x5e769b,skewY:_0x4e6bf5}=_0x132f5b,_0x1fcc1=_0x372663[_0x11e8fc(0x4ec)](_0x132f5b),_0x497a7a=(0x0,_0x36b4c7[_0x11e8fc(0x56c)])({'unitId':_0x51154a,'subUnitId':_0x18a8e9,'drawingId':_0x10118a},_0x33f55c?_0x1fcc1:void 0x0),_0x471149=_0x155dfa[_0x11e8fc(0x566)](_0x497a7a);if(_0x471149!=null){let _0x603a55={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x471149 instanceof _0x5b187c&&this[_0x11e8fc(0x307)](_0x471149,_0x603a55),_0x471149[_0x11e8fc(0x2d4)]({'left':_0x226c3a,'top':_0x1db082,'width':_0x4d0165,'height':_0x374111,'angle':_0x44f20c,'flipX':_0x454d51,'flipY':_0x208ed5,'skewX':_0x5e769b,'skewY':_0x4e6bf5});continue;}let _0xa1b5be=this[_0x11e8fc(0x2a8)][_0x11e8fc(0x205)](_0x51154a,_0x18a8e9),_0x1dee7e=_0xa1b5be[_0x11e8fc(0x4ec)](_0x10118a);if(_0x155dfa['getObjectIncludeInGroup'](_0x497a7a)||!this['_drawingManagerService'][_0x11e8fc(0x1af)]())continue;let _0x89f839=this[_0x11e8fc(0x4cd)][_0x11e8fc(0x459)](_0x51154a,_0x18a8e9,_0x10118a);if(!_0x89f839)continue;let _0x588c21=(0x0,_0x34f551['isConnectorShape'])(_0x89f839[_0x11e8fc(0x43a)]())?{..._0x54a51b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x54a51b[_0x11e8fc(0x58a)],_0x4066eb=_0x89f839['getShapeData']()['formulaBinding'],_0x2b1a0b={'unitId':_0x51154a,'subUnitId':_0x18a8e9,'shapeId':_0x10118a};_0x4066eb&&this['_shapeFormulaService'][_0x11e8fc(0x50a)](_0x2b1a0b,_0x4066eb);let _0x239055=new _0x5b187c(_0x497a7a,{..._0x132f5b,'zIndex':_0x1dee7e===-0x1?_0xa1b5be['length']-0x1:_0x1dee7e,'shapeModel':_0x89f839,'localeService':this['_localeService'],'shapeId':_0x10118a,'unitId':_0x51154a,'subUnitId':_0x18a8e9,'visible':_0x29410b!==!0x0,'evented':_0x177728!==!0x1,'formulaPresentation':_0x4066eb?this[_0x11e8fc(0x563)][_0x11e8fc(0x381)](_0x2b1a0b):void 0x0,'animateFormulaPresentation':(_0x4066eb==null?void 0x0:_0x4066eb['animationEnabled'])!==!0x1,'transformerConfig':_0x588c21});if(_0x4066eb){let _0x2325a7=this['_formulaKey'](_0x51154a,_0x18a8e9,_0x10118a),_0x40da8b=this['_formulaShapes'][_0x11e8fc(0x39f)](_0x2325a7)??new Set();_0x40da8b[_0x11e8fc(0x3e3)](_0x239055),this[_0x11e8fc(0x3a9)][_0x11e8fc(0x327)](_0x2325a7,_0x40da8b);}_0x155dfa[_0x11e8fc(0x1f1)](_0x239055,_0x3e5eae['DRAWING_OBJECT_LAYER_INDEX']),_0x5c66ca&&_0x155dfa[_0x11e8fc(0x386)](_0x239055),_0x12605b&&(0x0,_0x44d5e4['insertGroupObject'])({'drawingId':_0x12605b,'unitId':_0x51154a,'subUnitId':_0x18a8e9},_0x239055,_0x155dfa,this[_0x11e8fc(0x2a8)]),_0x5bb7a2!=null&&_0x239055[_0x11e8fc(0x2ce)](_0x5bb7a2),_0x46f9c3!=null&&_0x239055[_0x11e8fc(0x3ba)](_0x46f9c3);let _0x1f9bff=this['_loadShapePictureFill'](_0x239055,_0x89f839[_0x11e8fc(0x1e2)]());if(_0x1f9bff){var _0x224fcb;_0x2a3992==null||(_0x224fcb=_0x2a3992[_0x11e8fc(0x427)])==null||_0x224fcb[_0x11e8fc(0x3e3)](_0x1f9bff);}_0x135f69['push'](_0x239055);}return _0x135f69;}['_formulaKey'](_0x550d38,_0x4ba24e,_0x63ac45){return _0x550d38+'\x00'+_0x4ba24e+'\x00'+_0x63ac45;}[_0x718440(0x307)](_0x427826,_0x5a0991){const _0x6c87de=_0x718440;let _0x46761c=this['_sheetsShapeService'][_0x6c87de(0x459)](_0x5a0991[_0x6c87de(0x45d)],_0x5a0991['subUnitId'],_0x5a0991['shapeId']),_0x470729=_0x46761c==null?void 0x0:_0x46761c[_0x6c87de(0x1e2)]()[_0x6c87de(0x270)],_0x41378c=this[_0x6c87de(0x1d3)](_0x5a0991['unitId'],_0x5a0991[_0x6c87de(0x31f)],_0x5a0991[_0x6c87de(0x1fd)]);if(_0x470729){this[_0x6c87de(0x563)][_0x6c87de(0x50a)](_0x5a0991,_0x470729);let _0x51476c=this[_0x6c87de(0x3a9)]['get'](_0x41378c)??new Set();_0x51476c[_0x6c87de(0x3e3)](_0x427826),this[_0x6c87de(0x3a9)][_0x6c87de(0x327)](_0x41378c,_0x51476c);}else{var _0x309a4a;this['_shapeFormulaService'][_0x6c87de(0x392)](_0x5a0991),(_0x309a4a=this['_formulaShapes']['get'](_0x41378c))==null||_0x309a4a[_0x6c87de(0x1c5)](_0x427826);}_0x427826[_0x6c87de(0x2eb)](_0x470729?this['_shapeFormulaService'][_0x6c87de(0x381)](_0x5a0991):void 0x0,(_0x470729==null?void 0x0:_0x470729['animationEnabled'])!==!0x1);}[_0x718440(0x432)](_0x52230f){const _0x3b3851=_0x718440;let _0x577030=_0x52230f[_0x3b3851(0x3e0)][_0x3b3851(0x1e2)](),_0x4d8b7c=_0x577030[_0x3b3851(0x3a0)];if(!_0x4d8b7c||_0x4d8b7c[_0x3b3851(0x1b4)]!==_0x34f551[_0x3b3851(0x34e)][_0x3b3851(0x43c)]||!_0x4d8b7c['fillImageSource']){_0x52230f[_0x3b3851(0x2a3)](void 0x0);return;}this[_0x3b3851(0x362)](_0x52230f,_0x577030);}[_0x718440(0x362)](_0x2e16df,_0x11a02f){const _0x151dc7=_0x718440;let _0x372fc6=_0x11a02f[_0x151dc7(0x3a0)];if(!_0x372fc6||_0x372fc6[_0x151dc7(0x1b4)]!==_0x34f551['ShapeFillEnum']['PictureFill']||!_0x372fc6['fillImageSource'])return;let _0xb09694=_0x372fc6[_0x151dc7(0x377)],_0x11b2a5=_0x372fc6[_0x151dc7(0x523)]??_0x34f551[_0x151dc7(0x479)][_0x151dc7(0x213)],_0x2211c6=this[_0x151dc7(0x2fe)][_0x151dc7(0x228)](_0xb09694,_0x11b2a5);if(_0x2211c6){_0x2e16df[_0x151dc7(0x2a3)](_0x2211c6);return;}return this[_0x151dc7(0x49b)](_0x2e16df,_0xb09694,_0x11b2a5);}async[_0x718440(0x49b)](_0x1a0003,_0x243019,_0xbfe6c8){const _0xe27d9f=_0x718440;let _0x26756b;try{if(_0xbfe6c8===_0x34f551[_0xe27d9f(0x479)][_0xe27d9f(0x482)])_0x26756b=await this[_0xe27d9f(0x2fe)][_0xe27d9f(0x31b)](_0x243019);else{if(_0xbfe6c8===_0x34f551['ImageSourceTypeEnum'][_0xe27d9f(0x213)])try{_0x26756b=await this[_0xe27d9f(0x1a5)]['getImage'](_0x243019);}catch{_0x26756b=_0x243019;}else _0x26756b=_0x243019;}}catch(_0x5ec406){console[_0xe27d9f(0x4c1)](_0xe27d9f(0x2c7),_0x5ec406);return;}await new Promise(_0x16367e=>{const _0x7e0b6=_0xe27d9f;let _0x31f3a9=new window[(_0x7e0b6(0x35e))]();_0x31f3a9[_0x7e0b6(0x505)]=()=>{const _0x113c77=_0x7e0b6;this[_0x113c77(0x2fe)][_0x113c77(0x311)](_0x243019,_0xbfe6c8,_0x31f3a9),_0x1a0003[_0x113c77(0x2a3)](_0x31f3a9),_0x16367e();},_0x31f3a9[_0x7e0b6(0x1cc)]=()=>{console['error']('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x243019),_0x16367e();},_0x31f3a9[_0x7e0b6(0x222)]=_0x26756b;});}};_0x29d254=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x3,_0x567e1d['IImageIoService']),_0x519f13(0x4,_0x567e1d[_0x718440(0x4b4)]),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x42b73e[_0x718440(0x3c5)]))],_0x29d254);let _0x5258f8=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x25381d,_0x3d1490,_0x488501,_0x20802a,_0x55a720,_0x1dceb5){const _0x13f76e=_0x718440;super(),this[_0x13f76e(0x2a8)]=_0x25381d,this[_0x13f76e(0x4cd)]=_0x3d1490,this[_0x13f76e(0x57e)]=_0x488501,this[_0x13f76e(0x1ab)]=_0x20802a,this['_univerInstanceService']=_0x55a720,this[_0x13f76e(0x594)]=_0x1dceb5,_0x55cc91(this,_0x13f76e(0x28c),null),_0x55cc91(this,_0x13f76e(0x527),null),_0x55cc91(this,_0x13f76e(0x545),null),_0x55cc91(this,'_activeShapeAdjustPointList',void 0x0),_0x55cc91(this,'_shapes',[]),_0x55cc91(this,_0x13f76e(0x449),0x0),_0x55cc91(this,_0x13f76e(0x4ed),0x0),_0x55cc91(this,_0x13f76e(0x3c3),0x0),_0x55cc91(this,_0x13f76e(0x2b9),0x0),_0x55cc91(this,_0x13f76e(0x1b6),!0x1),_0x55cc91(this,_0x13f76e(0x1c7),void 0x0),_0x55cc91(this,_0x13f76e(0x2f3),void 0x0),_0x55cc91(this,_0x13f76e(0x3e5),void 0x0),_0x55cc91(this,_0x13f76e(0x2bc),void 0x0),_0x55cc91(this,_0x13f76e(0x35b),!0x1),this[_0x13f76e(0x3be)](),this[_0x13f76e(0x46c)]();}[_0x718440(0x268)](_0x41b0f1,_0x2d9374,_0x54c22d){const _0x232080=_0x718440;let _0x2f3e47=this[_0x232080(0x4cd)][_0x232080(0x459)](_0x41b0f1,_0x2d9374,_0x54c22d);if(_0x2f3e47)return _0x2f3e47[_0x232080(0x1a2)]();}['clearAdjustControls'](){this['_clearShapeAdjustControls']();}[_0x718440(0x2c1)](){const _0x498a7a=_0x718440;this[_0x498a7a(0x2ef)](!0x0);}['setShouldShowAdjust'](_0x24e778){const _0x17269d=_0x718440;this[_0x17269d(0x35b)]=_0x24e778;}[_0x718440(0x363)](_0x4c3e18,_0xef6e11,_0xa28331,_0x4f0bef){const _0xc2a041=_0x718440;let _0x134e3a=this[_0xc2a041(0x4cd)]['getShapeModel'](_0x4c3e18,_0xef6e11,_0xa28331);if(_0x134e3a)return _0x134e3a[_0xc2a041(0x419)](_0x4f0bef);}[_0x718440(0x3a5)](_0x4affbe=!0x1){const _0x21b2c5=_0x718440;if(this[_0x21b2c5(0x527)]===null||this[_0x21b2c5(0x545)]===null||this[_0x21b2c5(0x28c)]===null)return;let _0x568c12=this['_renderManagerService'][_0x21b2c5(0x403)](this[_0x21b2c5(0x527)]);if(!_0x568c12||!_0x568c12[_0x21b2c5(0x549)](_0x17eed7[_0x21b2c5(0x204)])[_0x21b2c5(0x2d3)]())return;let {scene:_0x208c55}=_0x568c12,_0x55c9fc={'unitId':this[_0x21b2c5(0x527)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']},_0x3e133c=this[_0x21b2c5(0x2a8)][_0x21b2c5(0x37d)](_0x55c9fc),{transform:_0x590e35}=_0x3e133c;if(!_0x590e35||_0x3e133c['drawingType']!==_0x567e1d[_0x21b2c5(0x2f1)][_0x21b2c5(0x20f)])return;let {left:_0x18ebd1,top:_0x3eea2d,width:_0x43c9ce,height:_0x2f9776,flipX:_0x237670,flipY:_0x57939c,angle:_0x2f8567=0x0}=_0x590e35;if(_0x18ebd1===void 0x0||_0x3eea2d===void 0x0)return;if(_0x4affbe){let _0x47877a=this['_sheetsShapeService'][_0x21b2c5(0x459)](this['_unitId'],this['_subUnitId'],this[_0x21b2c5(0x28c)]);_0x47877a==null||_0x47877a[_0x21b2c5(0x1bc)]({'width':_0x43c9ce??0x0,'height':_0x2f9776??0x0}),this[_0x21b2c5(0x357)]=_0x47877a==null?void 0x0:_0x47877a['getDrawingPoints']();}let _0x33309b=this[_0x21b2c5(0x357)];for(let _0x39aff6=0x0;_0x39aff6<_0x33309b['length'];_0x39aff6++){let _0x380580=_0x33309b[_0x39aff6],_0x1e5831=_0x380580['x'],_0x7b3d77=_0x380580['y'];if(_0x237670&&(_0x1e5831=(_0x43c9ce||0x0)-_0x1e5831),_0x57939c&&(_0x7b3d77=(_0x2f9776||0x0)-_0x7b3d77),_0x2f8567!==0x0){let _0x55285e=(_0x43c9ce||0x0)/0x2,_0x2a2430=(_0x2f9776||0x0)/0x2,_0x2d874f=_0x2f8567*Math['PI']/0xb4,_0x2f42bb=Math[_0x21b2c5(0x1bb)](_0x2d874f),_0x5c91f7=Math['sin'](_0x2d874f),_0x11bc91=_0x1e5831-_0x55285e,_0x580bba=_0x7b3d77-_0x2a2430;_0x1e5831=_0x55285e+(_0x11bc91*_0x2f42bb-_0x580bba*_0x5c91f7),_0x7b3d77=_0x2a2430+(_0x11bc91*_0x5c91f7+_0x580bba*_0x2f42bb);}let _0x57a628={'x':_0x1e5831,'y':_0x7b3d77,'adjName':_0x380580[_0x21b2c5(0x2f4)]};this[_0x21b2c5(0x367)](_0x208c55,_0x57a628,_0x57a628[_0x21b2c5(0x2f4)],_0x18ebd1,_0x3eea2d,this[_0x21b2c5(0x527)],this[_0x21b2c5(0x545)]);}}[_0x718440(0x2ef)](_0x5432d2=!0x1){const _0x2dceaf=_0x718440;_0x5432d2&&(this[_0x2dceaf(0x350)](),this[_0x2dceaf(0x3a5)](_0x5432d2));}[_0x718440(0x367)](_0x458fab,_0x465625,_0xa4795e,_0x35801e,_0x5431ca,_0x3b5070,_0x49cdc2){const _0x9544ad=_0x718440;if(!this[_0x9544ad(0x28c)])return;let _0x50b553=_0x458fab['getObjectIncludeInGroup']('shape-adjust-point-'+this['_activeShapeId']+'-'+_0xa4795e);if(_0x50b553){_0x50b553[_0x9544ad(0x2d4)]({'left':_0x465625['x']+_0x35801e-_0x34f551['ShapeDefaultConfig'][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]});return;}let _0x2f1aa3={'left':_0x465625['x']+_0x35801e-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'top':_0x465625['y']+_0x5431ca-_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)],'adjName':_0xa4795e,'shapeId':this[_0x9544ad(0x28c)],'unitId':_0x3b5070,'subUnitId':_0x49cdc2,'width':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'height':_0x34f551[_0x9544ad(0x526)][_0x9544ad(0x237)]+0x8,'zIndex':_0x3e5eae[_0x9544ad(0x533)]+0x1,'evented':!0x0},_0x376a9b=new _0x8c69ab(_0x9544ad(0x402)+this['_activeShapeId']+'-'+_0xa4795e,_0x2f1aa3);this[_0x9544ad(0x330)][_0x9544ad(0x217)](_0x376a9b),this[_0x9544ad(0x355)](_0x376a9b,_0x458fab,_0xa4795e),_0x458fab[_0x9544ad(0x1f1)](_0x376a9b,_0x3e5eae[_0x9544ad(0x533)]+0x1);}[_0x718440(0x350)](){const _0x132ea2=_0x718440;this[_0x132ea2(0x330)][_0x132ea2(0x212)]!==0x0&&(this[_0x132ea2(0x330)]['forEach'](_0x447b07=>{const _0x700335=_0x132ea2;_0x447b07[_0x700335(0x4dd)]();}),this['_shapes']=[]);}[_0x718440(0x2a1)](){const _0x473da2=_0x718440;this[_0x473da2(0x3a5)]();}[_0x718440(0x1ce)](_0x300d14,_0x4de813){const _0x122d62=_0x718440;var _0x56626d;let _0x525665={'x':0x0,'y':0x0};if(!_0x300d14||!_0x4de813)return _0x525665;let _0x3bdce0=this['_renderManagerService']['getRenderUnitById'](_0x300d14);if(!_0x3bdce0||!_0x3bdce0[_0x122d62(0x549)](_0x17eed7['SheetSkeletonManagerService'])[_0x122d62(0x50e)](_0x4de813))return _0x525665;let _0x1c7416=_0x3bdce0[_0x122d62(0x549)](_0x17eed7[_0x122d62(0x369)]),_0x5391c9=_0x1c7416==null?void 0x0:_0x1c7416['getCurrentScrollState']();if(!_0x5391c9)return _0x525665;let _0x37cda8=(_0x56626d=this[_0x122d62(0x34a)][_0x122d62(0x25c)](_0x300d14))==null?void 0x0:_0x56626d[_0x122d62(0x19d)](_0x4de813);if(!_0x37cda8)return _0x525665;let _0x333721=(0x0,_0x17eed7['getViewportByCell'])(_0x5391c9[_0x122d62(0x38e)],_0x5391c9[_0x122d62(0x3cf)],_0x3bdce0[_0x122d62(0x53c)],_0x37cda8);return _0x333721?{'x':_0x333721['viewportScrollX'],'y':_0x333721[_0x122d62(0x1a7)]}:_0x525665;}[_0x718440(0x50f)](_0x501913,_0xcf2e62){const _0x3e0571=_0x718440;var _0x57dca0;let _0x505177=(_0x57dca0=this[_0x3e0571(0x34a)][_0x3e0571(0x25c)](_0x501913))==null?void 0x0:_0x57dca0[_0x3e0571(0x19d)](_0xcf2e62);return(_0x505177==null?void 0x0:_0x505177[_0x3e0571(0x476)]())??0x1;}['_attachAdjustEvent'](_0x2fcca0,_0x35a334,_0xf79422){const _0x378c83=_0x718440;this['disposeWithMe']((0x0,_0x567e1d[_0x378c83(0x23c)])(_0x2fcca0[_0x378c83(0x2f5)][_0x378c83(0x483)]((_0x3826f7,_0x35633a)=>{const _0x4fb193=_0x378c83;var _0x3bcb64,_0x3cbb28,_0xa3c4bd,_0x380b6e;let _0xb1988f=_0x2fcca0[_0x4fb193(0x440)]();this[_0x4fb193(0x1c7)]=this['_getShapeAdjustInfosById'](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f['drawingId'],_0xf79422),this[_0x4fb193(0x2f3)]=this['_sheetsShapeService'][_0x4fb193(0x459)](_0xb1988f[_0x4fb193(0x45d)],_0xb1988f[_0x4fb193(0x31f)],_0xb1988f[_0x4fb193(0x25d)]);let _0x28aa4a=this[_0x4fb193(0x2a8)][_0x4fb193(0x37d)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4fb193(0x28c)]}),{transform:_0x46e16c}=_0x28aa4a;if(_0x46e16c){let {left:_0x6fdf33,top:_0x33bb9f,width:_0x2d4c12,height:_0x4eeb04}=_0x46e16c;this[_0x4fb193(0x449)]=_0x6fdf33||0x0,this[_0x4fb193(0x4ed)]=_0x33bb9f||0x0,this['_baseShapeWidth']=_0x2d4c12||0x0,this[_0x4fb193(0x2b9)]=_0x4eeb04||0x0;}let _0x5a9093=!!((_0x3bcb64=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3bcb64['flipX']),_0x1f3f83=!!((_0x3cbb28=_0x28aa4a[_0x4fb193(0x4c7)])!=null&&_0x3cbb28[_0x4fb193(0x1ed)]),_0xd0e1f9=((_0xa3c4bd=_0x28aa4a[_0x4fb193(0x4c7)])==null?void 0x0:_0xa3c4bd[_0x4fb193(0x37c)])||0x0;this[_0x4fb193(0x1b6)]=!0x0,_0x35a334[_0x4fb193(0x574)]();let _0x493e62={...((_0x380b6e=this[_0x4fb193(0x1c7)])==null?void 0x0:_0x380b6e['currentAdjustValues'])??{}};this[_0x4fb193(0x3e5)]=_0x35a334[_0x4fb193(0x1dd)][_0x4fb193(0x483)]((_0x5d125f,_0x24c523)=>{const _0x36d2a0=_0x4fb193;if(!this[_0x36d2a0(0x1b6)])return;let {offsetX:_0x1005aa,offsetY:_0x20c088}=_0x5d125f,_0x11f02d=this['_activeAdjustInfo'];if(this[_0x36d2a0(0x2f3)]&&_0x11f02d){_0x35a334[_0x36d2a0(0x574)](),_0x35a334[_0x36d2a0(0x40a)](_0x3e5eae['CURSOR_TYPE']['CROSSHAIR']);let _0x1d518d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x36d2a0(0x2b9)]},_0x33d847=this[_0x36d2a0(0x1ce)](this[_0x36d2a0(0x527)],this['_subUnitId']),_0xa41ef8=this[_0x36d2a0(0x50f)](this[_0x36d2a0(0x527)],this[_0x36d2a0(0x545)]),_0x1bd138=_0x1005aa/_0xa41ef8+_0x33d847['x']-this['_baseShapeLeft'],_0x2ba429=_0x20c088/_0xa41ef8+_0x33d847['y']-this[_0x36d2a0(0x4ed)];if(_0xd0e1f9!==0x0){let _0x206ddc=this[_0x36d2a0(0x3c3)]/0x2,_0x38b340=this[_0x36d2a0(0x2b9)]/0x2,_0x5007b0=_0xd0e1f9*Math['PI']/0xb4,_0x4c077a=Math[_0x36d2a0(0x1bb)](_0x5007b0),_0x5d7e7f=Math['sin'](_0x5007b0),_0x3b8bc1=_0x1bd138-_0x206ddc,_0x399f0a=_0x2ba429-_0x38b340;_0x1bd138=_0x206ddc+(_0x3b8bc1*_0x4c077a+_0x399f0a*_0x5d7e7f),_0x2ba429=_0x38b340+(-_0x3b8bc1*_0x5d7e7f+_0x399f0a*_0x4c077a);}_0x5a9093&&(_0x1bd138=this[_0x36d2a0(0x3c3)]-_0x1bd138),_0x1f3f83&&(_0x2ba429=this[_0x36d2a0(0x2b9)]-_0x2ba429);let _0x55759f={'x':_0x1bd138,'y':_0x2ba429},_0x1b8db7=this['_activeShapeModel'][_0x36d2a0(0x555)](_0x1d518d,_0x55759f,_0x11f02d,_0x5a9093,_0x1f3f83);if(Object['keys'](_0x1b8db7)[_0x36d2a0(0x212)]===0x0)return;for(let [_0xc099ac,_0x4c4635]of Object[_0x36d2a0(0x1f9)](_0x1b8db7))this[_0x36d2a0(0x2f3)][_0x36d2a0(0x2fc)](_0xc099ac,_0x4c4635);this[_0x36d2a0(0x2f3)][_0x36d2a0(0x1bc)]({'width':this[_0x36d2a0(0x3c3)],'height':this[_0x36d2a0(0x2b9)]});let _0x53b41e=this[_0x36d2a0(0x2a8)][_0x36d2a0(0x37d)]({'unitId':_0xb1988f['unitId'],'subUnitId':_0xb1988f['subUnitId'],'drawingId':_0xb1988f[_0x36d2a0(0x25d)]});_0x53b41e&&(this['_sheetDrawingShapeRenderController'][_0x36d2a0(0x2a0)](_0x53b41e,_0x35a334),this[_0x36d2a0(0x357)]=this[_0x36d2a0(0x268)](_0xb1988f[_0x36d2a0(0x45d)],_0xb1988f['subUnitId'],_0xb1988f[_0x36d2a0(0x25d)]),this['_updateAdjustControlPositions']());}_0x24c523['stopPropagation']();}),this[_0x4fb193(0x2bc)]=_0x35a334[_0x4fb193(0x4b7)][_0x4fb193(0x483)]((_0x57068c,_0x23a11e)=>{const _0x2ea714=_0x4fb193;this[_0x2ea714(0x3e5)][_0x2ea714(0x301)](),this[_0x2ea714(0x2bc)][_0x2ea714(0x301)](),_0x35a334['resetCursor']();let _0x3ff38b=this['_activeAdjustInfo'];if(_0x3ff38b){let _0x394e66=_0xb1988f[_0x2ea714(0x45d)],_0x3409f4=_0xb1988f[_0x2ea714(0x31f)],_0x40ebfc=_0xb1988f[_0x2ea714(0x25d)],_0x10c14d={};for(let _0x568593 of Object[_0x2ea714(0x337)](_0x3ff38b[_0x2ea714(0x256)])){var _0x172ba8;let _0x43dd56=(_0x172ba8=this[_0x2ea714(0x2f3)])==null?void 0x0:_0x172ba8[_0x2ea714(0x3bd)](_0x568593);_0x43dd56!==void 0x0&&(_0x10c14d[_0x568593]=_0x43dd56);}Object[_0x2ea714(0x337)](_0x10c14d)[_0x2ea714(0x212)]>0x0&&_0x322a2b(this[_0x2ea714(0x594)],_0x394e66,_0x3409f4,_0x40ebfc,{'oldShapeData':{'adjustValues':_0x493e62}},{'adjustValues':_0x10c14d});}this[_0x2ea714(0x1c7)]=void 0x0,this[_0x2ea714(0x2f3)]=void 0x0,this[_0x2ea714(0x1b6)]=!0x1,_0x23a11e[_0x2ea714(0x3ab)](),_0x35a334[_0x2ea714(0x317)]();}),_0x35633a[_0x4fb193(0x3ab)]();})));}[_0x718440(0x46c)](){const _0x1dd07a=_0x718440;let _0x39eefa=this[_0x1dd07a(0x34a)][_0x1dd07a(0x3d0)](_0x567e1d[_0x1dd07a(0x1e5)]['UNIVER_SHEET']);this[_0x1dd07a(0x503)](_0x39eefa[_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x796f09=>_0x796f09?_0x796f09[_0x1dd07a(0x56d)][_0x1dd07a(0x2da)]((0x0,_0x1d246a[_0x1dd07a(0x53b)])(_0x9409a5=>{const _0x1a9027=_0x1dd07a;if(!_0x9409a5)return _0x1d246a[_0x1a9027(0x49f)];let _0x2f1e5a=_0x796f09[_0x1a9027(0x35f)](),_0x260df0=this[_0x1a9027(0x57e)][_0x1a9027(0x403)](_0x2f1e5a),_0x315ea8=_0x260df0==null?void 0x0:_0x260df0[_0x1a9027(0x53c)];return _0x315ea8?(0x0,_0x1d246a['of'])(_0x315ea8):_0x1d246a[_0x1a9027(0x49f)];})):_0x1d246a[_0x1dd07a(0x49f)]))[_0x1dd07a(0x374)](_0x566ae9=>{const _0x4701c7=_0x1dd07a;let _0x32e649=_0x566ae9[_0x4701c7(0x202)]();this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x1dd)][_0x4701c7(0x483)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4b3)][_0x4701c7(0x374)](_0xac8e38=>{const _0x16e244=_0x4701c7;let {objects:_0x57839e}=_0xac8e38;this[_0x16e244(0x3a5)](),_0x57839e!==null&&_0x57839e[_0x16e244(0x2db)]===0x1&&_0x57839e['values']()[_0x16e244(0x34f)]()[_0x16e244(0x52d)]instanceof _0x5b187c&&this[_0x16e244(0x409)](!0x0);})),this[_0x4701c7(0x503)](_0x32e649[_0x4701c7(0x4a4)]['subscribe'](()=>{const _0x533a0f=_0x4701c7;this[_0x533a0f(0x35b)]&&this['_clearShapeAdjustControls']();})),this[_0x4701c7(0x503)](_0x566ae9[_0x4701c7(0x4b7)][_0x4701c7(0x483)](()=>{const _0x2ce60c=_0x4701c7;this[_0x2ce60c(0x35b)]&&(this[_0x2ce60c(0x409)](!0x1),this[_0x2ce60c(0x3a5)]());})),this[_0x4701c7(0x503)](_0x32e649['changeEnd$']['subscribe'](()=>{const _0x5949bc=_0x4701c7;this[_0x5949bc(0x527)]&&this[_0x5949bc(0x545)]&&this['_activeShapeId']&&this[_0x5949bc(0x2a8)][_0x5949bc(0x37d)]({'unitId':this['_unitId'],'subUnitId':this[_0x5949bc(0x545)],'drawingId':this[_0x5949bc(0x28c)]})&&(this[_0x5949bc(0x357)]=this[_0x5949bc(0x268)](this[_0x5949bc(0x527)],this['_subUnitId'],this[_0x5949bc(0x28c)]),this[_0x5949bc(0x2a1)]());}));}));}[_0x718440(0x3be)](){const _0x5e1c39=_0x718440;this['disposeWithMe'](this[_0x5e1c39(0x594)][_0x5e1c39(0x4c2)](_0x5a9908=>{const _0x500997=_0x5e1c39;if(_0x5a9908['id']!==_0x239f56[_0x500997(0x302)]['id'])return;let {unitId:_0x2757be,subUnitId:_0x33b2a8,shapeId:_0x2265a8}=_0x5a9908[_0x500997(0x247)];_0x2757be===this[_0x500997(0x527)]&&_0x33b2a8===this[_0x500997(0x545)]&&_0x2265a8===this['_activeShapeId']&&this['refreshAdjustControls']();})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x470)][_0x5e1c39(0x374)](_0x45955a=>{const _0x23eb18=_0x5e1c39;if(_0x45955a['length']===0x1){let _0x44f586=_0x45955a[0x0];if(_0x44f586['drawingType']===_0x567e1d[_0x23eb18(0x2f1)][_0x23eb18(0x20f)]&&this[_0x23eb18(0x34a)][_0x23eb18(0x331)](_0x44f586[_0x23eb18(0x45d)])===_0x567e1d[_0x23eb18(0x1e5)][_0x23eb18(0x2e6)]){this[_0x23eb18(0x28c)]=_0x44f586[_0x23eb18(0x25d)];let {unitId:_0x540e2a,subUnitId:_0x27f522}=_0x44f586;this['_activeShapeAdjustPointList']=this[_0x23eb18(0x268)](_0x540e2a,_0x27f522,this[_0x23eb18(0x28c)]),this[_0x23eb18(0x527)]=_0x540e2a,this[_0x23eb18(0x545)]=_0x27f522,this[_0x23eb18(0x350)](),this['_createShapeAdjustControls']();return;}}this[_0x23eb18(0x28c)]=null,this[_0x23eb18(0x357)]=void 0x0,this[_0x23eb18(0x527)]=null,this[_0x23eb18(0x545)]=null,this['_clearShapeAdjustControls']();})),this[_0x5e1c39(0x503)](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x518)][_0x5e1c39(0x374)](_0x48a562=>{const _0x2101ec=_0x5e1c39;if(_0x48a562['length']===0x1){var _0x43a23f;let _0x570345=_0x48a562[0x0];((_0x43a23f=this[_0x2101ec(0x2a8)][_0x2101ec(0x37d)](_0x570345))==null?void 0x0:_0x43a23f[_0x2101ec(0x37f)])===_0x567e1d[_0x2101ec(0x2f1)]['DRAWING_SHAPE']&&this[_0x2101ec(0x2ef)](!0x0);}})),this['disposeWithMe'](this[_0x5e1c39(0x2a8)][_0x5e1c39(0x4ca)][_0x5e1c39(0x374)](_0x379571=>{const _0x3537c5=_0x5e1c39;for(let _0x31dfc9 of _0x379571)this[_0x3537c5(0x28c)]===_0x31dfc9[_0x3537c5(0x25d)]&&(this[_0x3537c5(0x28c)]=null,this[_0x3537c5(0x357)]=void 0x0,this[_0x3537c5(0x527)]=null,this['_subUnitId']=null,this[_0x3537c5(0x350)]());}));}};_0x5258f8=_0xb31b0c([_0x519f13(0x0,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254)),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,_0x567e1d[_0x718440(0x1cf)])],_0x5258f8);let _0x2a6b80={'id':_0x718440(0x4e9),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x3b9944,_0x4eef08)=>{const _0x4e5ed1=_0x718440;let _0x8395d7=_0x3b9944[_0x4e5ed1(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x4831ad=_0x3b9944[_0x4e5ed1(0x39f)](_0x3e5eae[_0x4e5ed1(0x39e)]),_0x486bbe=_0x3b9944['get'](_0x5258f8);if(_0x4eef08==null)return!0x0;if(_0x4eef08[_0x4e5ed1(0x212)]>0x0){var _0x52a7ba;let _0xb71c01=(_0x52a7ba=_0x4831ad[_0x4e5ed1(0x403)](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null?void 0x0:_0x52a7ba[_0x4e5ed1(0x53c)];if(_0xb71c01){let {unitId:_0x7d10d,subUnitId:_0xcafff8,drawingId:_0x31f519}=_0x4eef08[0x0],_0x5528c6=(0x0,_0x36b4c7[_0x4e5ed1(0x56c)])({'unitId':_0x7d10d,'subUnitId':_0xcafff8,'drawingId':_0x31f519},void 0x0),_0x36b9d5=_0xb71c01['getObjectIncludeInGroup'](_0x5528c6);if(_0x36b9d5){var _0x173151;(_0x173151=_0x4831ad['getRenderUnitById'](_0x4eef08[0x0][_0x4e5ed1(0x45d)]))==null||(_0x173151=_0x173151['scene']['getTransformer']())==null||_0x173151[_0x4e5ed1(0x340)](_0x36b9d5);}}_0x8395d7[_0x4e5ed1(0x1b3)](_0x4eef08),_0x486bbe[_0x4e5ed1(0x409)](!0x1);}return!0x0;}},_0x31381b={'type':_0x567e1d['CommandType'][_0x718440(0x4e5)],'id':_0x718440(0x234),'handler':async(_0x31d7f9,_0xc2d23a)=>{const _0x289627=_0x718440;let _0x4fd69e=(0x0,_0x11447f[_0x289627(0x2d8)])(_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x32e)]));if(!_0x4fd69e)return!0x1;let _0x1ad0a1=_0x31d7f9['get'](_0x11447f[_0x289627(0x516)])[_0x289627(0x2ca)]();if(!_0x1ad0a1)return!0x1;let _0x454615=_0x31d7f9[_0x289627(0x39f)](_0x567e1d[_0x289627(0x1cf)]),{unitId:_0x3cda9d,subUnitId:_0x13b049}=_0x4fd69e,{value:_0x5f2b82,enhanceParams:_0x55d022}=_0xc2d23a,{range:_0x330939}=_0x1ad0a1,_0x7de43e={'unitId':_0x3cda9d,'subUnitId':_0x13b049,'shapeType':_0x5f2b82,'range':_0x330939,'shapeId':(0x0,_0x567e1d['generateRandomId'])()};if(_0x55d022){let _0x8c9fe9=(0x0,_0x34f551[_0x289627(0x22d)])(_0x5f2b82),_0x5b93e4=_0x5f2b82===_0x34f551[_0x289627(0x1ea)][_0x289627(0x227)];_0x8c9fe9&&(_0x55d022[_0x289627(0x349)]||_0x55d022[_0x289627(0x30d)])&&(_0x7de43e[_0x289627(0x522)]={'ln':{'startArrow':_0x55d022[_0x289627(0x349)]?{'type':_0x34f551[_0x289627(0x383)][_0x289627(0x3c8)],'size':_0x34f551['ShapeArrowSizeEnum'][_0x289627(0x399)]}:void 0x0,'endArrow':_0x55d022[_0x289627(0x30d)]?{'type':_0x34f551[_0x289627(0x383)]['Arrow'],'size':_0x34f551[_0x289627(0x4fb)][_0x289627(0x1e7)]}:void 0x0}}),_0x5b93e4&&(_0x55d022[_0x289627(0x541)]||_0x55d022['vertical'])&&(_0x7de43e[_0x289627(0x522)]=(0x0,_0x42b73e['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x34f551[_0x289627(0x34e)]['SolidFill'],'color':_0x289627(0x534)},'isHorizontal':!!_0x55d022[_0x289627(0x541)],'stroke':{'lineStrokeType':_0x34f551[_0x289627(0x27a)][_0x289627(0x4d9)],'width':0x1,'color':'#bcbcbc'}}));}let _0x2e044f=_0x454615['syncExecuteCommand'](_0x239f56['InsertShapeCommand']['id'],_0x7de43e);return setTimeout(()=>{const _0x1fa6ea=_0x289627;_0x454615[_0x1fa6ea(0x3c0)](_0x2a6b80['id'],[{'unitId':_0x3cda9d,'subUnitId':_0x13b049,'drawingId':_0x7de43e[_0x1fa6ea(0x1fd)]}]);},0xc8),_0x2e044f;}},_0x1b3159=_0x718440(0x397),_0x46acea=_0x718440(0x4c4),_0x708f5a=_0x718440(0x484),_0x32af6f=_0x718440(0x41c),_0x58dd4c=(0x0,_0x567e1d[_0x718440(0x34b)])(_0x718440(0x531)),_0x4dfefd=_0x718440(0x3b3),_0x465174={'id':'sheet.operation.open-shape-object-list-panel','type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x4e5)],'handler':(_0x1c16ae,_0x42b32d)=>{const _0xeb3d98=_0x718440;let _0x578c30=_0x1c16ae[_0xeb3d98(0x39f)](_0x5744c6[_0xeb3d98(0x525)]),_0x54ccb1=_0x1c16ae['get'](_0x567e1d[_0xeb3d98(0x359)]),_0x229552=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x32e)]),_0x500313=_0x1c16ae[_0xeb3d98(0x39f)](_0x567e1d[_0xeb3d98(0x1cf)]);return(0x0,_0x11447f[_0xeb3d98(0x2d8)])(_0x229552)?(_0x42b32d==null?void 0x0:_0x42b32d[_0xeb3d98(0x52d)])==='close'?(_0x578c30[_0xeb3d98(0x589)](_0x46acea),!0x0):(_0x578c30[_0xeb3d98(0x395)]({'id':_0x46acea,'header':{'title':_0x54ccb1['t'](_0xeb3d98(0x275))},'children':{'label':_0x46acea},'onClose':()=>{const _0x4381da=_0xeb3d98;_0x500313[_0x4381da(0x34d)](_0x36b4c7[_0x4381da(0x394)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x55af59={'type':_0x567e1d[_0x718440(0x26b)]['OPERATION'],'id':_0x718440(0x2b5),'handler'(){return!0x0;}};function _0x581a84(_0xb2fc8){const _0x5a8cc2=_0x718440;let _0x344a33=_0xb2fc8[_0x5a8cc2(0x39f)](_0x36b4c7[_0x5a8cc2(0x529)])[_0x5a8cc2(0x447)](),_0x42b241=_0x344a33[_0x5a8cc2(0x212)]===0x1?_0x344a33[0x0]:null;if(!_0x42b241||_0x42b241[_0x5a8cc2(0x37f)]!==_0x567e1d[_0x5a8cc2(0x2f1)]['DRAWING_SHAPE'])return null;let _0x23bd9c=_0xb2fc8[_0x5a8cc2(0x39f)](_0x239f56[_0x5a8cc2(0x3db)]),_0xf2c253=_0x23bd9c[_0x5a8cc2(0x2cd)](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241['subUnitId'],_0x42b241[_0x5a8cc2(0x25d)]),_0x2e0831=_0x23bd9c['getShapeDataById'](_0x42b241[_0x5a8cc2(0x45d)],_0x42b241[_0x5a8cc2(0x31f)],_0x42b241['drawingId']);return _0xf2c253===void 0x0||!_0x2e0831?null:{'drawing':_0x42b241,'shapeData':_0x2e0831,'shapeType':_0xf2c253};}let _0x2ecd4a={'id':_0x718440(0x486),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x270d9f,_0x58293c)=>{const _0x5ad30c=_0x718440;let _0x3d6ac9=_0x581a84(_0x270d9f),_0x29c2c4=(0x0,_0x42b73e[_0x5ad30c(0x208)])((_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x2d0)])??(_0x58293c==null?void 0x0:_0x58293c[_0x5ad30c(0x52d)])??'');if(!_0x3d6ac9||!_0x29c2c4||_0x29c2c4[_0x5ad30c(0x19f)]!==(0x0,_0x42b73e[_0x5ad30c(0x376)])(_0x3d6ac9[_0x5ad30c(0x522)]))return!0x1;let _0x559f3a=(0x0,_0x42b73e[_0x5ad30c(0x336)])(_0x3d6ac9['shapeData'],_0x29c2c4);if(!_0x559f3a)return!0x1;let {drawing:_0x37e6e2}=_0x3d6ac9;return _0x270d9f[_0x5ad30c(0x39f)](_0x567e1d[_0x5ad30c(0x1cf)])[_0x5ad30c(0x3c0)](_0x1f4f18['id'],{'unitId':_0x37e6e2[_0x5ad30c(0x45d)],'subUnitId':_0x37e6e2[_0x5ad30c(0x31f)],'shapeId':_0x37e6e2[_0x5ad30c(0x25d)],'shapeData':_0x559f3a,'oldShapeJSON':{'oldShapeData':_0x3d6ac9[_0x5ad30c(0x522)]}});}},_0x471ba4={'id':_0x718440(0x2e4),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler':(_0x2116d4,_0x2bea77)=>{const _0x3cdc90=_0x718440;let _0x395e61=_0x581a84(_0x2116d4),_0x31ff1c=(_0x2bea77==null?void 0x0:_0x2bea77[_0x3cdc90(0x3d5)])??(_0x2bea77==null?void 0x0:_0x2bea77['value']);if(!_0x395e61||!_0x31ff1c||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x395e61[_0x3cdc90(0x3d5)])||(0x0,_0x34f551[_0x3cdc90(0x22d)])(_0x31ff1c))return!0x1;let _0x1b74b5=(0x0,_0x42b73e[_0x3cdc90(0x33a)])(_0x395e61['shapeData'],_0x31ff1c);if(!_0x1b74b5)return!0x1;let {drawing:_0x2d4909}=_0x395e61;return _0x2116d4[_0x3cdc90(0x39f)](_0x567e1d[_0x3cdc90(0x1cf)])[_0x3cdc90(0x3c0)](_0x1f4f18['id'],{'unitId':_0x2d4909[_0x3cdc90(0x45d)],'subUnitId':_0x2d4909[_0x3cdc90(0x31f)],'shapeId':_0x2d4909[_0x3cdc90(0x25d)],'shapeType':_0x31ff1c,'shapeData':_0x1b74b5,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x395e61[_0x3cdc90(0x3d5)],'oldShapeData':_0x395e61['shapeData']}});}},_0x392613=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x449e00,_0x2922dc){const _0x242e07=_0x718440;super(),this[_0x242e07(0x56e)]=_0x449e00,this['_drawingManagerService']=_0x2922dc,this[_0x242e07(0x2ae)](),this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x0),this[_0x242e07(0x503)]({'dispose':()=>this[_0x242e07(0x56e)][_0x242e07(0x592)](!0x1)});}[_0x718440(0x2ae)](){const _0x366750=_0x718440;let _0x1484f9=this[_0x366750(0x56e)],_0x3be8d2=new Map(),_0x165a1b=_0x1484f9[_0x366750(0x4e1)]((_0x211741,_0x2aa346,_0x172b3b,_0x9b0fbc,_0x4d4a58)=>{const _0xde70eb=_0x366750;let _0x504e91=_0x2aa346;if(_0x504e91===_0x34f551['ShapeTypeEnum'][_0xde70eb(0x551)]||_0x2aa346===_0xde70eb(0x3d3))return!0x1;try{let _0x264700=_0x3be8d2[_0xde70eb(0x39f)](_0x2aa346);return _0x264700||(_0x264700=new _0x34f551[(_0xde70eb(0x303))](_0x504e91,'clip-'+_0x2aa346),_0x3be8d2[_0xde70eb(0x327)](_0x2aa346,_0x264700)),_0x264700['clearAdjustValue'](),_0x4d4a58&&Object[_0xde70eb(0x337)](_0x4d4a58)[_0xde70eb(0x212)]>0x0&&_0x264700[_0xde70eb(0x33f)]({'adjustValues':_0x4d4a58},!0x0),_0x264700[_0xde70eb(0x1bc)]({'width':_0x172b3b,'height':_0x9b0fbc}),_0x264700[_0xde70eb(0x417)](_0x211741,{'left':0x0,'top':0x0,'width':_0x172b3b,'height':_0x9b0fbc});}catch{return!0x1;}});this[_0x366750(0x503)](_0x165a1b),this[_0x366750(0x503)]({'dispose':()=>_0x3be8d2[_0x366750(0x407)]()});}[_0x718440(0x1d8)](_0x5cc5c6,_0x122cbf,_0x1b6266,_0x21c9dc,_0x2f6bd4){const _0x5a5e4=_0x718440;let _0x174ff7=this[_0x5a5e4(0x2a8)]['getDrawingData'](_0x5cc5c6,_0x122cbf);if(!_0x174ff7[_0x1b6266])return;let _0x5829c0={..._0x174ff7[_0x1b6266],'prstGeom':_0x21c9dc,'adjustValues':_0x2f6bd4};this[_0x5a5e4(0x2a8)][_0x5a5e4(0x230)]([_0x5829c0]);}};_0x392613=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x461)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7[_0x718440(0x529)]))],_0x392613);let _0x4440a=_0x718440(0x2e2),_0x16e69b=_0x718440(0x300);function _0x321dea({onShapeClick:_0x2a8f2c,excludeGroups:_0x2544ba}){const _0x252eb1=_0x718440;return(0x0,_0x1a5094[_0x252eb1(0x2bb)])(_0x54a51b[_0x252eb1(0x1fb)],{'excludeGroups':_0x2544ba,'onShapeClick':_0x2a8f2c,'scrollContainer':_0x252eb1(0x1ae)});}function _0x192670(){const _0x21ef6f=_0x718440;let _0x4589ff=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x36b4c7[_0x21ef6f(0x529)]),_0x1cdf8d=(0x0,_0x5744c6[_0x21ef6f(0x391)])(_0x392613);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x21ef6f(0x2c2)],{'buttonLabel':_0x21ef6f(0x3c6),'excludeGroups':[_0x54a51b[_0x21ef6f(0x58f)][_0x21ef6f(0x1db)]],'onShapeClick':_0x3956db=>{const _0x2481c5=_0x21ef6f;let _0x31c8bd=_0x4589ff[_0x2481c5(0x447)]()[_0x2481c5(0x1d5)](_0x130c27=>_0x130c27[_0x2481c5(0x37f)]===_0x567e1d[_0x2481c5(0x2f1)][_0x2481c5(0x1d9)]);if(!_0x31c8bd)return;let {unitId:_0x4fdeca,subUnitId:_0x1e1874,drawingId:_0x276fc9}=_0x31c8bd;_0x1cdf8d['clipByShape'](_0x4fdeca,_0x1e1874,_0x276fc9,_0x3956db['type']);}});}function _0x4190ca(){const _0x396eb8=_0x718440;let _0x418282=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x36b4c7[_0x396eb8(0x529)]),_0x2eb66f=(0x0,_0x5744c6[_0x396eb8(0x391)])(_0x392613);return(0x0,_0x1a5094[_0x396eb8(0x2bb)])(_0x54a51b[_0x396eb8(0x2c2)],{'buttonLabel':_0x396eb8(0x3c6),'excludeGroups':[_0x54a51b[_0x396eb8(0x58f)][_0x396eb8(0x1db)]],'DropdownComponent':_0x41b81b['MobileDropdown'],'onShapeClick':_0x1d11f1=>{const _0x11276d=_0x396eb8;let _0x58d471=_0x418282[_0x11276d(0x447)]()[_0x11276d(0x1d5)](_0x55eda=>_0x55eda['drawingType']===_0x567e1d['DrawingTypeEnum'][_0x11276d(0x1d9)]);if(!_0x58d471)return;let {unitId:_0x47049a,subUnitId:_0x5563ab,drawingId:_0x2447f6}=_0x58d471;_0x2eb66f[_0x11276d(0x1d8)](_0x47049a,_0x5563ab,_0x2447f6,_0x1d11f1[_0x11276d(0x19f)]);}});}function _0xa77841(){const _0x37db9e=_0x718440;let _0x31ea64=(0x0,_0x5744c6['useDependency'])(_0x5744c6[_0x37db9e(0x20b)]),_0x215106=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x36b4c7['IDrawingManagerService']),_0x5b38c5=(0x0,_0x5744c6[_0x37db9e(0x391)])(_0x567e1d[_0x37db9e(0x32e)]),_0x306887=_0x215106['getFocusDrawings']()[0x0],_0x4b8b0a=_0x306887?_0x5b38c5[_0x37db9e(0x331)](_0x306887[_0x37db9e(0x45d)]):void 0x0,_0x1b9995=_0x4b8b0a===_0x567e1d[_0x37db9e(0x1e5)][_0x37db9e(0x420)]?'doc.image-clip.shape-picker.component':_0x4b8b0a===_0x567e1d['UniverInstanceType'][_0x37db9e(0x2e6)]?_0x16e69b:void 0x0,_0x383495=_0x1b9995?_0x31ea64[_0x37db9e(0x39f)](_0x1b9995):void 0x0;return _0x383495?(0x0,_0x1a5094[_0x37db9e(0x2bb)])(_0x383495,{}):null;}function _0x5bb668(){const _0x32a7c3=_0x718440;let _0x1fbcce=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x32a7c3(0x1cf)]);return(0x0,_0x1a5094[_0x32a7c3(0x2bb)])(_0x321dea,{'onShapeClick':_0x1f206d=>{const _0x2623ba=_0x32a7c3;_0x1fbcce[_0x2623ba(0x3c0)](_0x31381b['id'],{'value':_0x1f206d[_0x2623ba(0x19f)],'enhanceParams':{'endArrow':_0x1f206d[_0x2623ba(0x30d)],'startArrow':_0x1f206d[_0x2623ba(0x349)],'horizontal':_0x1f206d[_0x2623ba(0x541)],'vertical':_0x1f206d[_0x2623ba(0x3d6)]}});}});}function _0x373485(){const _0x45d43a=_0x718440;return(0x0,_0x1a5094[_0x45d43a(0x2bb)])(_0x5bb668,{});}function _0x571263(_0x515c38){const _0x19ee46=_0x718440;let _0x5c9af1=_0x515c38[_0x19ee46(0x39f)](_0x567e1d[_0x19ee46(0x32e)]);return{'id':_0x31381b['id'],'type':_0x5744c6[_0x19ee46(0x4a0)][_0x19ee46(0x466)],'selections':[{'label':{'name':_0x4440a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x31381b['id']}}}],'icon':_0x19ee46(0x1c3),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x17eed7[_0x19ee46(0x2c4)])(_0x5c9af1,!0x1,()=>new _0x1d246a[(_0x19ee46(0x29d))](_0xed49ce=>{_0xed49ce['next'](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x19ee46(0x1d0)])(_0x515c38,_0x567e1d[_0x19ee46(0x1e5)]['UNIVER_SHEET']),'disabled$':(0x0,_0x17eed7[_0x19ee46(0x27d)])(_0x515c38)};}function _0x4ff684(_0x39d618){const _0x54045c=_0x718440;let _0x54caf5=_0x39d618[_0x54045c(0x39f)](_0x567e1d['IUniverInstanceService']);return{'id':_0x465174['id'],'type':_0x5744c6['MenuItemType'][_0x54045c(0x1e1)],'icon':_0x54045c(0x24f),'title':_0x54045c(0x4bf),'tooltip':_0x54045c(0x4bf),'activated$':(0x0,_0x17eed7[_0x54045c(0x2c4)])(_0x54caf5,!0x1,()=>new _0x1d246a[(_0x54045c(0x29d))](_0x3c497f=>{const _0x542871=_0x54045c;_0x3c497f[_0x542871(0x34f)](!0x1);})),'hidden$':(0x0,_0x5744c6[_0x54045c(0x1d0)])(_0x39d618,_0x567e1d['UniverInstanceType'][_0x54045c(0x2e6)]),'disabled$':(0x0,_0x17eed7[_0x54045c(0x27d)])(_0x39d618)};}let _0x1e9955='sheet.menu.shape.flip-horizontal',_0x286dc9=_0x718440(0x26f);function _0x4c09b1(_0x2bac3b){const _0x228bb7=_0x718440;let _0x22496d=_0x2bac3b[_0x228bb7(0x39f)](_0x36b4c7[_0x228bb7(0x529)])[_0x228bb7(0x447)]();return _0x22496d[_0x228bb7(0x212)]===0x1&&_0x22496d[0x0][_0x228bb7(0x37f)]===_0x567e1d[_0x228bb7(0x2f1)]['DRAWING_SHAPE']?_0x22496d[0x0]:null;}function _0x12ac6b(_0x1176ba){const _0x4ac221=_0x718440;let _0x26b29a=_0x1176ba[_0x4ac221(0x39f)](_0x36b4c7[_0x4ac221(0x529)]);return _0x26b29a[_0x4ac221(0x470)][_0x4ac221(0x2da)]((0x0,_0x1d246a['startWith'])(_0x26b29a[_0x4ac221(0x447)]()),(0x0,_0x1d246a[_0x4ac221(0x3e8)])(_0x1247bc=>_0x1247bc['length']!==0x1||_0x1247bc[0x0][_0x4ac221(0x37f)]!==_0x567e1d[_0x4ac221(0x2f1)][_0x4ac221(0x20f)]));}function _0x41bc05(_0x3213f0){const _0x3aeb0c=_0x718440;return{'id':_0x1e9955,'commandId':_0x239f56[_0x3aeb0c(0x335)]['id'],'type':_0x5744c6['MenuItemType'][_0x3aeb0c(0x1e1)],'title':_0x3aeb0c(0x353),'tooltip':'sheets-shape-ui.flipHorizontal','icon':_0x3aeb0c(0x481),'hidden$':_0x12ac6b(_0x3213f0),'params':()=>{const _0x5be54a=_0x3aeb0c;let _0x5e4e3c=_0x4c09b1(_0x3213f0);return _0x5e4e3c?{'unitId':_0x5e4e3c[_0x5be54a(0x45d)],'subUnitId':_0x5e4e3c['subUnitId'],'shapeId':_0x5e4e3c[_0x5be54a(0x25d)],'flipH':!0x0}:void 0x0;}};}function _0x341038(_0x2fd51c){const _0x364c8b=_0x718440;return{'id':_0x286dc9,'commandId':_0x239f56[_0x364c8b(0x335)]['id'],'type':_0x5744c6[_0x364c8b(0x4a0)]['BUTTON'],'title':_0x364c8b(0x30e),'tooltip':_0x364c8b(0x30e),'icon':_0x364c8b(0x30b),'hidden$':_0x12ac6b(_0x2fd51c),'params':()=>{const _0x262dd2=_0x364c8b;let _0x1f9feb=_0x4c09b1(_0x2fd51c);return _0x1f9feb?{'unitId':_0x1f9feb[_0x262dd2(0x45d)],'subUnitId':_0x1f9feb[_0x262dd2(0x31f)],'shapeId':_0x1f9feb['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x1b92b5=_0x718440(0x54b),_0x5e79d8=_0x718440(0x30c),_0x70ed4a=_0x718440(0x2f9),_0x5908f2=_0x718440(0x2e8);function _0x22c104(){const _0x4d7888=_0x718440;let _0x914895=(0x0,_0x5744c6['useDependency'])(_0x567e1d[_0x4d7888(0x1cf)]),_0x36aed6=(0x0,_0x5744c6[_0x4d7888(0x391)])(_0x36b4c7[_0x4d7888(0x529)]),_0x52c9a2=(0x0,_0x5744c6['useDependency'])(_0x239f56[_0x4d7888(0x3db)]),_0x1f77d1=()=>{const _0x8f3e06=_0x4d7888;var _0x486e04;let _0x555236=_0x36aed6[_0x8f3e06(0x447)]();if(_0x555236[_0x8f3e06(0x212)]!==0x1||((_0x486e04=_0x555236[0x0])==null?void 0x0:_0x486e04[_0x8f3e06(0x37f)])!==_0x567e1d['DrawingTypeEnum'][_0x8f3e06(0x20f)])return null;let {unitId:_0x3fbe23,subUnitId:_0x2d5ff7,drawingId:_0x52728f}=_0x555236[0x0],_0x1cc22b=_0x52c9a2['getShapeTypeById'](_0x3fbe23,_0x2d5ff7,_0x52728f),_0x572437=_0x52c9a2['getShapeDataById'](_0x3fbe23,_0x2d5ff7,_0x52728f);return _0x1cc22b===void 0x0||!_0x572437?null:{'unitId':_0x3fbe23,'subUnitId':_0x2d5ff7,'drawingId':_0x52728f,'shapeType':_0x1cc22b,'shapeData':_0x572437};},_0x33cff9=(0x0,_0x5744c6[_0x4d7888(0x329)])(()=>new _0x1d246a[(_0x4d7888(0x29d))](_0x1b869a=>{const _0x481f6f=_0x4d7888;let _0x7b17ba=()=>_0x1b869a[_0x481f6f(0x34f)](_0x1f77d1()),_0x26e881=_0x36aed6[_0x481f6f(0x470)][_0x481f6f(0x374)](_0x7b17ba),_0x3f87d9=_0x914895['onCommandExecuted'](_0x408f81=>{const _0x2ac08f=_0x481f6f;_0x408f81['id']===_0x239f56[_0x2ac08f(0x302)]['id']&&_0x7b17ba();});return _0x7b17ba(),()=>{const _0xde52c4=_0x481f6f;_0x26e881[_0xde52c4(0x301)](),_0x3f87d9['dispose']();};}),_0x1f77d1(),!0x1,[_0x914895,_0x36aed6,_0x52c9a2]);return{'selection':_0x33cff9,'updateShapeData':_0x32cc1a=>{const _0x59f20d=_0x4d7888;_0x33cff9&&_0x322a2b(_0x914895,_0x33cff9[_0x59f20d(0x45d)],_0x33cff9[_0x59f20d(0x31f)],_0x33cff9['drawingId'],{'oldShapeData':_0x33cff9[_0x59f20d(0x522)]},_0x32cc1a);}};}function _0x5d0f5f(){const _0x317b11=_0x718440;let {selection:_0x376416,updateShapeData:_0x3724f6}=_0x22c104();return _0x376416?(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x317b11(0x580)],{'shapeData':_0x376416[_0x317b11(0x522)],'shapeType':_0x376416[_0x317b11(0x3d5)],'onUpdateShapeData':_0x3724f6}):null;}function _0x491081(){const _0x520d69=_0x718440;let _0x35689c=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d['ICommandService']),_0x3c8ea7=(0x0,_0x5744c6[_0x520d69(0x391)])(_0x567e1d[_0x520d69(0x359)]),{selection:_0x2dcab8}=_0x22c104();return _0x2dcab8?(0x0,_0x1a5094[_0x520d69(0x2bb)])(_0x54a51b[_0x520d69(0x57b)],{'type':(0x0,_0x42b73e['getShapeQuickStyleType'])(_0x2dcab8[_0x520d69(0x522)]),'ariaLabel':_0x3c8ea7['t'](_0x520d69(0x36f)),'activePresetId':(0x0,_0x42b73e[_0x520d69(0x3b6)])(_0x2dcab8[_0x520d69(0x522)]),'onSelect':_0x159c28=>_0x35689c[_0x520d69(0x3c0)](_0x2ecd4a['id'],{'presetId':_0x159c28})}):null;}function _0x19da7f(){const _0x4f1d52=_0x718440;let {selection:_0x4ddd5d,updateShapeData:_0x24ce25}=_0x22c104();return _0x4ddd5d?(0x0,_0x1a5094[_0x4f1d52(0x2bb)])(_0x54a51b[_0x4f1d52(0x2d5)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x4ddd5d['shapeData'],'onUpdateShapeData':_0x24ce25}):null;}function _0xcd1106(){const _0x2295cc=_0x718440;var _0x1663df;let {selection:_0x124988,updateShapeData:_0xd72066}=_0x22c104(),_0x4a1a4c=(0x0,_0x54a51b[_0x2295cc(0x55f)])({'hostType':_0x567e1d[_0x2295cc(0x1e5)][_0x2295cc(0x2e6)],'unitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x45d)])??'','subUnitId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x31f)])??'','shapeId':(_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x25d)])??'','shapeData':_0x124988==null?void 0x0:_0x124988[_0x2295cc(0x522)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x2295cc(0x2e3),'onUpdateBinding':_0x59c019=>_0xd72066({'formulaBinding':_0x59c019})}),_0x5195a9=((_0x1663df=_0x4a1a4c['extensionGroups'])==null?void 0x0:_0x1663df[_0x2295cc(0x44d)](_0x5a7d34=>_0x5a7d34['actions'])[_0x2295cc(0x3c1)](_0x5c11ee=>_0x5c11ee[_0x2295cc(0x47b)]!==!0x1))??[];return _0x124988!=null&&_0x124988['shapeData']['formulaBinding']?(0x0,_0x1a5094[_0x2295cc(0x2bb)])(_0x54a51b[_0x2295cc(0x4be)],{'actions':_0x5195a9,'panel':_0x4a1a4c[_0x2295cc(0x4ee)]}):null;}let _0x2cbb19=_0x718440(0x46d),_0xd66f07=_0x718440(0x36c),_0x9836ef=_0x718440(0x1aa),_0x6604e9=_0x718440(0x509),_0x502bb9=_0x718440(0x57a),_0x2d50a6=_0x718440(0x224),_0x503170='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x1ec86f(_0x59ef43){const _0x4ab2d6=_0x718440;let _0x55760b=_0x59ef43[_0x4ab2d6(0x39f)](_0x567e1d[_0x4ab2d6(0x1cf)]),_0x1ea858=_0x59ef43[_0x4ab2d6(0x39f)](_0x36b4c7['IDrawingManagerService']),_0x34e9e2=_0x59ef43[_0x4ab2d6(0x39f)](_0x239f56[_0x4ab2d6(0x3db)]);return new _0x1d246a[(_0x4ab2d6(0x29d))](_0x36d1fc=>{const _0x2592c6=_0x4ab2d6;let _0x1e9a01=()=>{const _0x302f6c=_0x49ca;let _0x46ce2a=_0x551983(_0x59ef43),_0xbd8e70=_0x46ce2a?_0x34e9e2[_0x302f6c(0x203)](_0x46ce2a[_0x302f6c(0x45d)],_0x46ce2a[_0x302f6c(0x31f)],_0x46ce2a['drawingId']):null;_0x36d1fc['next'](_0xbd8e70?(0x0,_0x42b73e[_0x302f6c(0x3b6)])(_0xbd8e70)??'':'');},_0x4abcfc=_0x1ea858[_0x2592c6(0x470)][_0x2592c6(0x374)](_0x1e9a01),_0x38450b=_0x55760b[_0x2592c6(0x4c2)](_0x5381b7=>{_0x5381b7['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']&&_0x1e9a01();});return _0x1e9a01(),()=>{const _0x4e7cc5=_0x2592c6;_0x4abcfc['unsubscribe'](),_0x38450b[_0x4e7cc5(0x4dd)]();};});}function _0x551983(_0x1f8e34){const _0x1cddf7=_0x718440;var _0x423bf1;let _0x44d2e2=_0x1f8e34[_0x1cddf7(0x39f)](_0x36b4c7[_0x1cddf7(0x529)])[_0x1cddf7(0x447)]();return _0x44d2e2[_0x1cddf7(0x212)]===0x1&&((_0x423bf1=_0x44d2e2[0x0])==null?void 0x0:_0x423bf1[_0x1cddf7(0x37f)])===_0x567e1d[_0x1cddf7(0x2f1)][_0x1cddf7(0x20f)]?_0x44d2e2[0x0]:null;}function _0x6b4b0b(_0x3cf8ca,_0x308cdc=!0x1){const _0x504481=_0x718440;let _0x14557b=_0x3cf8ca[_0x504481(0x39f)](_0x567e1d['ICommandService']),_0x5f3c3c=_0x3cf8ca[_0x504481(0x39f)](_0x36b4c7[_0x504481(0x529)]),_0x7977dc=_0x3cf8ca[_0x504481(0x39f)](_0x239f56['SheetsShapeService']);return new _0x1d246a[(_0x504481(0x29d))](_0x1414f8=>{const _0x597642=_0x504481;let _0x5a8b5e=()=>{const _0x26721c=_0x49ca;let _0x264aed=_0x551983(_0x3cf8ca);if(!_0x264aed){_0x1414f8[_0x26721c(0x34f)](!0x0);return;}let _0x2843a7=_0x7977dc[_0x26721c(0x203)](_0x264aed['unitId'],_0x264aed['subUnitId'],_0x264aed[_0x26721c(0x25d)]);_0x1414f8[_0x26721c(0x34f)](!_0x2843a7||_0x308cdc&&_0x2843a7[_0x26721c(0x270)]==null);},_0x409173=_0x5f3c3c[_0x597642(0x470)]['subscribe'](_0x5a8b5e),_0x321dcd=_0x14557b[_0x597642(0x4c2)](_0x3ab12f=>{const _0x2e4877=_0x597642;_0x3ab12f['id']===_0x239f56[_0x2e4877(0x302)]['id']&&_0x5a8b5e();});return _0x5a8b5e(),()=>{const _0x95ddfc=_0x597642;_0x409173[_0x95ddfc(0x301)](),_0x321dcd[_0x95ddfc(0x4dd)]();};});}function _0x12b453(_0x3d3ee8){const _0x160a65=_0x718440;let _0x1d16e6=_0x3d3ee8['get'](_0x36b4c7[_0x160a65(0x529)]),_0x4b1303=_0x3d3ee8[_0x160a65(0x39f)](_0x239f56[_0x160a65(0x3db)]);return _0x1d16e6[_0x160a65(0x470)]['pipe']((0x0,_0x1d246a['startWith'])(_0x1d16e6[_0x160a65(0x447)]()),(0x0,_0x1d246a[_0x160a65(0x3e8)])(()=>{const _0x590070=_0x160a65;let _0xd4a055=_0x551983(_0x3d3ee8),_0x10859f=_0xd4a055?_0x4b1303[_0x590070(0x2cd)](_0xd4a055[_0x590070(0x45d)],_0xd4a055[_0x590070(0x31f)],_0xd4a055[_0x590070(0x25d)]):void 0x0;return _0x10859f===void 0x0||(0x0,_0x34f551['isConnectorShape'])(_0x10859f);}));}function _0x287e83(_0x3c5938){const _0x450aa6=_0x718440;return{'id':_0x2ecd4a['id'],'type':_0x5744c6[_0x450aa6(0x4a0)][_0x450aa6(0x466)],'icon':_0x450aa6(0x4c6),'title':_0x450aa6(0x4a6),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x1b92b5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1ec86f(_0x3c5938),'hidden$':_0x6b4b0b(_0x3c5938)};}function _0x45756c(_0x58880d){const _0x2c46e1=_0x718440;return{'id':_0x471ba4['id'],'type':_0x5744c6[_0x2c46e1(0x4a0)]['SELECTOR'],'icon':_0x2c46e1(0x1c3),'title':_0x2c46e1(0x19c),'tooltip':_0x2c46e1(0x19c),'slot':!0x0,'selections':[{'label':{'name':_0x54a51b[_0x2c46e1(0x4f5)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x12b453(_0x58880d)};}function _0x3253da(_0x2bad6c,_0x5343dd,_0x2f51b4=!0x1){const _0x4fdef8=_0x718440;return _0xfa6737=>({'id':_0x2bad6c,'type':_0x5744c6[_0x4fdef8(0x4a0)]['BUTTON'],'label':{'name':_0x5343dd,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x6b4b0b(_0xfa6737,_0x2f51b4)});}let _0x4d412e=_0x3253da(_0x2cbb19,_0x5e79d8),_0x1ebcf3=_0x3253da(_0xd66f07,_0x70ed4a),_0xd9dbe3=_0x3253da(_0x9836ef,_0x5908f2,!0x0);function _0x1b3e67(_0x57066a,_0x8b06ba,_0x4cf9ae,_0x4c7d0c){const _0x565f36=_0x718440;return _0x10eb31=>({'id':_0x57066a,'commandId':_0x1f8323[_0x565f36(0x364)]['id'],'type':_0x5744c6[_0x565f36(0x4a0)]['BUTTON'],'icon':_0x4cf9ae,'title':_0x4c7d0c,'tooltip':_0x4c7d0c,'hidden$':_0x6b4b0b(_0x10eb31),'params':()=>{const _0x50ebc0=_0x565f36;let _0x4c6ec1=_0x551983(_0x10eb31);return _0x4c6ec1?{'unitId':_0x4c6ec1[_0x50ebc0(0x45d)],'subUnitId':_0x4c6ec1['subUnitId'],'drawingIds':[_0x4c6ec1[_0x50ebc0(0x25d)]],'arrangeType':_0x8b06ba}:void 0x0;}});}let _0x2a0615=_0x1b3e67(_0x6604e9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x285)],'MoveUpIcon','shape-editor-ui.arrange.forward'),_0x4835fe=_0x1b3e67(_0x502bb9,_0x567e1d[_0x718440(0x22f)][_0x718440(0x492)],_0x718440(0x26a),_0x718440(0x584)),_0x222ad6=_0x1b3e67(_0x2d50a6,_0x567e1d['ArrangeTypeEnum'][_0x718440(0x323)],_0x718440(0x267),_0x718440(0x3af)),_0xf5e5d8=_0x1b3e67(_0x503170,_0x567e1d[_0x718440(0x22f)][_0x718440(0x4fe)],_0x718440(0x2b7),_0x718440(0x1cd));function _0x63688c(_0x966c6a){const _0x1348ef=_0x718440;return{'id':_0x55af59['id'],'type':_0x5744c6[_0x1348ef(0x4a0)][_0x1348ef(0x1e1)],'icon':'ShapeFormatSettingIcon','title':_0x1348ef(0x4d6),'tooltip':_0x1348ef(0x4d6),'hidden$':_0x6b4b0b(_0x966c6a),'params':()=>{const _0x454111=_0x1348ef;let _0x4466d9=_0x551983(_0x966c6a);return _0x4466d9?{'unitId':_0x4466d9[_0x454111(0x45d)],'subUnitId':_0x4466d9[_0x454111(0x31f)],'drawingId':_0x4466d9['drawingId']}:void 0x0;}};}let _0x5a4d9c={[_0x5744c6['MenuManagerPosition'][_0x718440(0x2d9)]]:{[_0x32af6f]:{'order':0x64,'title':_0x718440(0x4d6),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x2ecd4a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x287e83},[_0x471ba4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x45756c}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2cbb19]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4d412e}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xd66f07]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x1ebcf3}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x1e9955]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x341038},[_0x6604e9]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x2a0615},[_0x502bb9]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x4835fe},[_0x2d50a6]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x222ad6},[_0x503170]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0xf5e5d8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x9836ef]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xd9dbe3}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x55af59['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x63688c},[_0x54a51b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x54a51b[_0x718440(0x51d)]}}}}},_0x254fae={[_0x5744c6[_0x718440(0x22a)][_0x718440(0x467)]]:{[_0x31381b['id']]:{'order':0x4,'menuItemFactory':_0x571263}}},_0x4fc050={..._0x254fae,[_0x5744c6[_0x718440(0x22a)][_0x718440(0x31a)]]:{[_0x465174['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4ff684}},[_0x5744c6[_0x718440(0x3b2)][_0x718440(0x514)]]:{[_0x5744c6[_0x718440(0x344)][_0x718440(0x31a)]]:{[_0x1e9955]:{'order':0x4,'menuItemFactory':_0x41bc05},[_0x286dc9]:{'order':0x5,'menuItemFactory':_0x341038}}}};var _0x1b0553=_0x718440(0x1d2),_0x1ae96e=_0x718440(0x382);let _0x55f058={'id':_0x718440(0x22e),'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'handler'(_0x41b94a,_0x43fe81){const _0x4db85a=_0x718440;return _0x43fe81?(_0x41b94a[_0x4db85a(0x39f)](_0x54a51b[_0x4db85a(0x24d)])[_0x4db85a(0x395)](_0x43fe81[_0x4db85a(0x48c)],{'hostType':_0x567e1d['UniverInstanceType'][_0x4db85a(0x2e6)],'shapeId':_0x43fe81[_0x4db85a(0x25d)],'subUnitId':_0x43fe81[_0x4db85a(0x31f)],'unitId':_0x43fe81[_0x4db85a(0x45d)]}),!0x0):!0x1;}},_0x31802e=_0x718440(0x294),_0x3dd284={},_0x47426e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2ae240,_0x2151d1,_0x2a9416,_0x350dd1,_0x3e399f){const _0x19db61=_0x718440;super(),this[_0x19db61(0x2f6)]=_0x2ae240,this['_drawingManagerService']=_0x2151d1,this['_renderManagerService']=_0x2a9416,this[_0x19db61(0x34a)]=_0x350dd1,this['_imageShapeClipController']=_0x3e399f,_0x55cc91(this,'_activeImageId',null),_0x55cc91(this,_0x19db61(0x527),null),_0x55cc91(this,_0x19db61(0x545),null),_0x55cc91(this,_0x19db61(0x557),void 0x0),_0x55cc91(this,_0x19db61(0x330),[]),_0x55cc91(this,_0x19db61(0x35c),0x0),_0x55cc91(this,_0x19db61(0x384),0x0),_0x55cc91(this,'_baseWidth',0x0),_0x55cc91(this,_0x19db61(0x238),0x0),_0x55cc91(this,_0x19db61(0x1b6),!0x1),_0x55cc91(this,_0x19db61(0x1c7),void 0x0),_0x55cc91(this,_0x19db61(0x2f3),void 0x0),_0x55cc91(this,_0x19db61(0x3e5),void 0x0),_0x55cc91(this,'_adjHandlerPointerUp',void 0x0),_0x55cc91(this,_0x19db61(0x52c),!0x1),this[_0x19db61(0x37a)](),this[_0x19db61(0x3bc)]();}[_0x718440(0x1b8)](){const _0xcd93d=_0x718440;this[_0xcd93d(0x4cb)]();}['refreshAdjustControls'](){const _0x3d6887=_0x718440;this['_clearControls'](),this[_0x3d6887(0x347)](!0x0);}[_0x718440(0x4d1)](_0x2fcdd6,_0x14b25a,_0x384ea3,_0x186ce8){const _0x14b484=_0x718440;let _0x3535ee=_0x2fcdd6;if(_0x3535ee!==_0x34f551[_0x14b484(0x1ea)]['None']&&_0x2fcdd6!=='custom')try{let _0x1512ca=new _0x34f551[(_0x14b484(0x303))](_0x3535ee,_0x14b484(0x38d)+_0x2fcdd6);return _0x186ce8&&_0x1512ca[_0x14b484(0x33f)]({'adjustValues':_0x186ce8},!0x0),_0x1512ca[_0x14b484(0x1bc)]({'width':_0x14b25a,'height':_0x384ea3}),_0x1512ca;}catch{return;}}['_getImageDrawingInfo'](_0x1fde2b,_0x4dae0e,_0x29f437){const _0x483c21=_0x718440;let _0x313f33={'unitId':_0x1fde2b,'subUnitId':_0x4dae0e,'drawingId':_0x29f437},_0x5763f5=this[_0x483c21(0x2a8)][_0x483c21(0x37d)](_0x313f33);if(_0x5763f5&&_0x5763f5[_0x483c21(0x37f)]===_0x567e1d[_0x483c21(0x2f1)][_0x483c21(0x1d9)])return _0x5763f5;}[_0x718440(0x411)](_0x58f4b3,_0x2f9dcd,_0x1411fa){const _0x14046a=_0x718440;let _0x49a9bc=this['_renderManagerService'][_0x14046a(0x403)](_0x58f4b3);if(!_0x49a9bc)return;let {scene:_0x3034a7}=_0x49a9bc,_0x4ad9d3=(0x0,_0x36b4c7[_0x14046a(0x56c)])({'unitId':_0x58f4b3,'subUnitId':_0x2f9dcd,'drawingId':_0x1411fa}),_0x4d33e8=_0x3034a7[_0x14046a(0x587)](_0x4ad9d3);if(_0x4d33e8 instanceof _0x3e5eae[_0x14046a(0x35e)]){let _0x31472c=_0x4d33e8[_0x14046a(0x338)];if(_0x31472c)return{'prstGeom':_0x31472c,'adjustValues':_0x4d33e8[_0x14046a(0x261)]};}}['_createControls'](_0x3b88b4=!0x1){const _0x247c0b=_0x718440;if(!this[_0x247c0b(0x527)]||!this[_0x247c0b(0x545)]||!this[_0x247c0b(0x3c4)])return;let _0xcb46ea=this[_0x247c0b(0x57e)][_0x247c0b(0x403)](this['_unitId']);if(!_0xcb46ea||!_0xcb46ea['with'](_0x17eed7['SheetSkeletonManagerService'])[_0x247c0b(0x2d3)]())return;let {scene:_0x56acaf}=_0xcb46ea,_0x3c7e2d=this['_getImageDrawingInfo'](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x3c7e2d)return;let {transform:_0x1d9c02}=_0x3c7e2d;if(!_0x1d9c02)return;let {left:_0x34f329,top:_0x2e2a96,width:_0x4b492f,height:_0x1b5fdf,flipX:_0x504f57,flipY:_0x37f921,angle:_0x2e214f=0x0}=_0x1d9c02;if(_0x34f329===void 0x0||_0x2e2a96===void 0x0)return;let _0x2c22ba=this[_0x247c0b(0x411)](this[_0x247c0b(0x527)],this[_0x247c0b(0x545)],this['_activeImageId']);if(!_0x2c22ba)return;if(_0x3b88b4){let _0x273a44=this[_0x247c0b(0x4d1)](_0x2c22ba[_0x247c0b(0x338)],_0x4b492f||0x0,_0x1b5fdf||0x0,_0x2c22ba[_0x247c0b(0x28a)]);if(!_0x273a44)return;this[_0x247c0b(0x557)]=_0x273a44[_0x247c0b(0x1a2)]();}let _0x5cd281=this['_activeAdjustPointList'];if(_0x5cd281&&_0x5cd281['length']!==0x0)for(let _0x35c4f3=0x0;_0x35c4f3<_0x5cd281[_0x247c0b(0x212)];_0x35c4f3++){let _0x3b8563=_0x5cd281[_0x35c4f3],_0x2509d2=_0x3b8563['x'],_0x2332a4=_0x3b8563['y'];if(_0x504f57&&(_0x2509d2=(_0x4b492f||0x0)-_0x2509d2),_0x37f921&&(_0x2332a4=(_0x1b5fdf||0x0)-_0x2332a4),_0x2e214f!==0x0){let _0x4dfa97=(_0x4b492f||0x0)/0x2,_0x289128=(_0x1b5fdf||0x0)/0x2,_0x64acee=_0x2e214f*Math['PI']/0xb4,_0x25336a=Math[_0x247c0b(0x1bb)](_0x64acee),_0x50a1d2=Math[_0x247c0b(0x1dc)](_0x64acee),_0x16380f=_0x2509d2-_0x4dfa97,_0x4a8e2f=_0x2332a4-_0x289128;_0x2509d2=_0x4dfa97+(_0x16380f*_0x25336a-_0x4a8e2f*_0x50a1d2),_0x2332a4=_0x289128+(_0x16380f*_0x50a1d2+_0x4a8e2f*_0x25336a);}let _0x24a17f={'x':_0x2509d2,'y':_0x2332a4,'adjName':_0x3b8563['adjName']};this['_addControl'](_0x56acaf,_0x24a17f,_0x24a17f[_0x247c0b(0x2f4)],_0x34f329,_0x2e2a96,this[_0x247c0b(0x527)],this['_subUnitId']);}}['_addControl'](_0x31230c,_0x48fce7,_0x1072be,_0x31baa7,_0x3645cd,_0x330b4b,_0x262c17){const _0x599152=_0x718440;if(!this[_0x599152(0x3c4)])return;let _0x5e4ecb='image-clip-adjust-point-'+this[_0x599152(0x3c4)]+'-'+_0x1072be,_0x550965=_0x31230c[_0x599152(0x566)](_0x5e4ecb);if(_0x550965){_0x550965[_0x599152(0x2d4)]({'left':_0x48fce7['x']+_0x31baa7-_0x34f551['ShapeDefaultConfig']['adjHandleSize'],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)]});return;}let _0x5f1d7e=new _0x8c69ab(_0x5e4ecb,{'left':_0x48fce7['x']+_0x31baa7-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'top':_0x48fce7['y']+_0x3645cd-_0x34f551[_0x599152(0x526)][_0x599152(0x237)],'adjName':_0x1072be,'shapeId':this[_0x599152(0x3c4)],'unitId':_0x330b4b,'subUnitId':_0x262c17,'width':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'height':_0x34f551['ShapeDefaultConfig'][_0x599152(0x237)]+0x8,'zIndex':_0x3e5eae[_0x599152(0x533)]+0x1,'evented':!0x0});this[_0x599152(0x330)][_0x599152(0x217)](_0x5f1d7e),this[_0x599152(0x355)](_0x5f1d7e,_0x31230c,_0x1072be),_0x31230c[_0x599152(0x1f1)](_0x5f1d7e,_0x3e5eae[_0x599152(0x533)]+0x1);}[_0x718440(0x4cb)](){const _0x336864=_0x718440;this[_0x336864(0x330)][_0x336864(0x212)]!==0x0&&(this[_0x336864(0x330)]['forEach'](_0x142621=>_0x142621[_0x336864(0x4dd)]()),this[_0x336864(0x330)]=[]);}[_0x718440(0x1ce)](_0x2c7b83,_0x3e4ab8){const _0x92a369=_0x718440;var _0x262190;let _0x5b93c0={'x':0x0,'y':0x0},_0x456902=this[_0x92a369(0x57e)]['getRenderUnitById'](_0x2c7b83);if(!_0x456902||!_0x456902['with'](_0x17eed7[_0x92a369(0x204)])[_0x92a369(0x50e)](_0x3e4ab8))return _0x5b93c0;let _0x17e591=_0x456902[_0x92a369(0x549)](_0x17eed7[_0x92a369(0x369)]),_0x33eca4=_0x17e591==null?void 0x0:_0x17e591[_0x92a369(0x29a)]();if(!_0x33eca4)return _0x5b93c0;let _0x14f9cf=(_0x262190=this[_0x92a369(0x34a)][_0x92a369(0x25c)](_0x2c7b83))==null?void 0x0:_0x262190[_0x92a369(0x19d)](_0x3e4ab8);if(!_0x14f9cf)return _0x5b93c0;let _0x678d9b=(0x0,_0x17eed7['getViewportByCell'])(_0x33eca4[_0x92a369(0x38e)],_0x33eca4[_0x92a369(0x3cf)],_0x456902[_0x92a369(0x53c)],_0x14f9cf);return _0x678d9b?{'x':_0x678d9b[_0x92a369(0x366)],'y':_0x678d9b[_0x92a369(0x1a7)]}:_0x5b93c0;}[_0x718440(0x50f)](_0x51baf0,_0x166043){const _0x43fbdb=_0x718440;var _0x53fa69;let _0x2f1a04=(_0x53fa69=this[_0x43fbdb(0x34a)][_0x43fbdb(0x25c)](_0x51baf0))==null?void 0x0:_0x53fa69[_0x43fbdb(0x19d)](_0x166043);return(_0x2f1a04==null?void 0x0:_0x2f1a04[_0x43fbdb(0x476)]())??0x1;}[_0x718440(0x355)](_0x2b65e3,_0x2b221d,_0x409c1a){const _0x18b084=_0x718440;this['disposeWithMe']((0x0,_0x567e1d['toDisposable'])(_0x2b65e3[_0x18b084(0x2f5)]['subscribeEvent']((_0x425654,_0x12550d)=>{const _0x1305d0=_0x18b084;var _0xa55858,_0x35c92f,_0x5373d4;let {unitId:_0x35f326,subUnitId:_0x530f1c,drawingId:_0x3a05bd}=_0x2b65e3[_0x1305d0(0x440)](),_0xb143e0=this[_0x1305d0(0x582)](_0x35f326,_0x530f1c,_0x3a05bd);if(!(_0xb143e0!=null&&_0xb143e0['transform']))return;let {left:_0x5ce8ce,top:_0x2ca0ce,width:_0x42de4e,height:_0x1ba82d}=_0xb143e0['transform'];this[_0x1305d0(0x35c)]=_0x5ce8ce||0x0,this[_0x1305d0(0x384)]=_0x2ca0ce||0x0,this[_0x1305d0(0x360)]=_0x42de4e||0x0,this['_baseHeight']=_0x1ba82d||0x0;let _0x51f00a=!!((_0xa55858=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0xa55858[_0x1305d0(0x554)]),_0x154502=!!((_0x35c92f=_0xb143e0[_0x1305d0(0x4c7)])!=null&&_0x35c92f['flipY']),_0x38ec24=((_0x5373d4=_0xb143e0[_0x1305d0(0x4c7)])==null?void 0x0:_0x5373d4[_0x1305d0(0x37c)])||0x0,_0x38f4a4=this['_getImagePrstGeom'](_0x35f326,_0x530f1c,_0x3a05bd);if(!_0x38f4a4)return;let _0x1e402c=this['_getOrCreateShapeModel'](_0x38f4a4['prstGeom'],this[_0x1305d0(0x360)],this['_baseHeight'],_0x38f4a4['adjustValues']);if(!_0x1e402c||(this[_0x1305d0(0x2f3)]=_0x1e402c,this[_0x1305d0(0x1c7)]=_0x1e402c[_0x1305d0(0x419)](_0x409c1a),!this[_0x1305d0(0x1c7)]))return;this['_isStartAdjusting']=!0x0,_0x2b221d[_0x1305d0(0x574)]();let _0x23d3bc=_0x38f4a4[_0x1305d0(0x338)];this[_0x1305d0(0x3e5)]=_0x2b221d['onPointerMove$'][_0x1305d0(0x483)]((_0x122501,_0x154014)=>{const _0x6c804f=_0x1305d0;if(!this['_isStartAdjusting'])return;let {offsetX:_0xc2e72f,offsetY:_0x2ce4f7}=_0x122501,_0x4b924b=this[_0x6c804f(0x1c7)];if(!this['_activeShapeModel']||!_0x4b924b)return;_0x2b221d[_0x6c804f(0x574)](),_0x2b221d[_0x6c804f(0x40a)](_0x3e5eae[_0x6c804f(0x42a)][_0x6c804f(0x257)]);let _0x3a8bc9={'left':0x0,'top':0x0,'width':this[_0x6c804f(0x360)],'height':this['_baseHeight']},_0x1ef5eb=this[_0x6c804f(0x1ce)](_0x35f326,_0x530f1c),_0x3c5678=this['_getZoomRatio'](_0x35f326,_0x530f1c),_0x49540c=_0xc2e72f/_0x3c5678+_0x1ef5eb['x']-this[_0x6c804f(0x35c)],_0x511441=_0x2ce4f7/_0x3c5678+_0x1ef5eb['y']-this[_0x6c804f(0x384)];if(_0x38ec24!==0x0){let _0x35ea9b=this['_baseWidth']/0x2,_0x454185=this[_0x6c804f(0x238)]/0x2,_0x3fcbce=_0x38ec24*Math['PI']/0xb4,_0x1b295b=Math[_0x6c804f(0x1bb)](_0x3fcbce),_0x3d7e19=Math['sin'](_0x3fcbce),_0x3ef482=_0x49540c-_0x35ea9b,_0x4507e4=_0x511441-_0x454185;_0x49540c=_0x35ea9b+(_0x3ef482*_0x1b295b+_0x4507e4*_0x3d7e19),_0x511441=_0x454185+(-_0x3ef482*_0x3d7e19+_0x4507e4*_0x1b295b);}_0x51f00a&&(_0x49540c=this['_baseWidth']-_0x49540c),_0x154502&&(_0x511441=this[_0x6c804f(0x238)]-_0x511441);let _0x5dddb2=this[_0x6c804f(0x2f3)]['calcAdjValues'](_0x3a8bc9,{'x':_0x49540c,'y':_0x511441},_0x4b924b,_0x51f00a,_0x154502);if(Object[_0x6c804f(0x337)](_0x5dddb2)['length']!==0x0){for(let [_0x448685,_0x1a59c8]of Object[_0x6c804f(0x1f9)](_0x5dddb2))this[_0x6c804f(0x2f3)][_0x6c804f(0x2fc)](_0x448685,_0x1a59c8);this[_0x6c804f(0x2f3)][_0x6c804f(0x1bc)]({'width':this['_baseWidth'],'height':this[_0x6c804f(0x238)]}),this[_0x6c804f(0x308)](_0x35f326,_0x530f1c,_0x3a05bd,_0x5dddb2),this[_0x6c804f(0x557)]=this[_0x6c804f(0x2f3)][_0x6c804f(0x1a2)](),this[_0x6c804f(0x347)](),_0x154014[_0x6c804f(0x3ab)]();}}),this[_0x1305d0(0x2bc)]=_0x2b221d[_0x1305d0(0x4b7)][_0x1305d0(0x483)]((_0x17d8d5,_0x17e0e7)=>{const _0x19229e=_0x1305d0;if(this['_adjHandlerPointerMove'][_0x19229e(0x301)](),this[_0x19229e(0x2bc)]['unsubscribe'](),_0x2b221d[_0x19229e(0x20a)](),this['_activeShapeModel']){let _0x13a4e2=this['_activeShapeModel'][_0x19229e(0x3f9)](),_0x44a5a3={};for(let _0x33272d of _0x13a4e2){let _0x1db4e7=this[_0x19229e(0x2f3)][_0x19229e(0x3bd)](_0x33272d);_0x1db4e7!==void 0x0&&(_0x44a5a3[_0x33272d]=_0x1db4e7);}this['_imageShapeClipController'][_0x19229e(0x1d8)](_0x35f326,_0x530f1c,_0x3a05bd,_0x23d3bc,_0x44a5a3);}this[_0x19229e(0x1c7)]=void 0x0,this[_0x19229e(0x2f3)]=void 0x0,this[_0x19229e(0x1b6)]=!0x1,_0x17e0e7['stopPropagation'](),_0x2b221d['enableObjectsEvent']();}),_0x12550d[_0x1305d0(0x3ab)]();})));}[_0x718440(0x308)](_0x3328e9,_0x1070e9,_0x427ed4,_0x225092){const _0x34789a=_0x718440;let _0x17523d=this[_0x34789a(0x57e)][_0x34789a(0x403)](_0x3328e9);if(!_0x17523d)return;let {scene:_0x55f006}=_0x17523d,_0x594018=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3328e9,'subUnitId':_0x1070e9,'drawingId':_0x427ed4}),_0x2878a9=_0x55f006[_0x34789a(0x587)](_0x594018);if(_0x2878a9 instanceof _0x3e5eae[_0x34789a(0x35e)]){let _0x3d16f5=_0x2878a9[_0x34789a(0x261)]??{};_0x2878a9[_0x34789a(0x34c)]({..._0x3d16f5,..._0x225092}),_0x2878a9[_0x34789a(0x3ce)](!0x0);}}['_registerMoveHandler'](){const _0x49b054=_0x718440;let _0x1c0a7f=this[_0x49b054(0x34a)][_0x49b054(0x3d0)](_0x567e1d[_0x49b054(0x1e5)][_0x49b054(0x2e6)]);this[_0x49b054(0x503)](_0x1c0a7f[_0x49b054(0x2da)]((0x0,_0x1d246a[_0x49b054(0x53b)])(_0x49c835=>_0x49c835?_0x49c835['activeSheet$']['pipe']((0x0,_0x1d246a['switchMap'])(_0x42a5ce=>{const _0x22d438=_0x49b054;if(!_0x42a5ce)return _0x1d246a[_0x22d438(0x49f)];let _0x9d9f57=_0x49c835[_0x22d438(0x35f)](),_0x2ac720=this['_renderManagerService']['getRenderUnitById'](_0x9d9f57),_0x163795=_0x2ac720==null?void 0x0:_0x2ac720[_0x22d438(0x53c)];return _0x163795?(0x0,_0x1d246a['of'])(_0x163795):_0x1d246a['EMPTY'];})):_0x1d246a['EMPTY']))[_0x49b054(0x374)](_0x40298f=>{const _0x4b8c46=_0x49b054;let _0x4b14c1=_0x40298f[_0x4b8c46(0x202)]();this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x1dd)]['subscribeEvent'](()=>{const _0x5f4b95=_0x4b8c46;this[_0x5f4b95(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x4b3)][_0x4b8c46(0x374)](_0xa576cb=>{const _0x2e0426=_0x4b8c46;let {objects:_0x57a18d}=_0xa576cb;if(this['_createControls'](),_0x57a18d!==null&&_0x57a18d[_0x2e0426(0x2db)]===0x1){let _0x86fc61=_0x57a18d[_0x2e0426(0x32c)]()[_0x2e0426(0x34f)]()['value'];_0x86fc61 instanceof _0x3e5eae[_0x2e0426(0x35e)]&&_0x86fc61[_0x2e0426(0x338)]&&(this[_0x2e0426(0x52c)]=!0x0);}})),this['disposeWithMe'](_0x4b14c1['changing$'][_0x4b8c46(0x374)](()=>{const _0x4886d5=_0x4b8c46;this[_0x4886d5(0x52c)]&&this['_clearControls']();})),this[_0x4b8c46(0x503)](_0x40298f[_0x4b8c46(0x4b7)]['subscribeEvent'](()=>{const _0xa745d6=_0x4b8c46;this[_0xa745d6(0x52c)]&&(this[_0xa745d6(0x52c)]=!0x1,this[_0xa745d6(0x347)]());})),this[_0x4b8c46(0x503)](_0x4b14c1[_0x4b8c46(0x38b)][_0x4b8c46(0x374)](()=>{const _0x57f8f4=_0x4b8c46;if(this[_0x57f8f4(0x527)]&&this[_0x57f8f4(0x545)]&&this[_0x57f8f4(0x3c4)]){let _0xa9cd2=this[_0x57f8f4(0x411)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]);if(_0xa9cd2){var _0x53350e,_0x2f4ae2;let _0x4c53c2=this[_0x57f8f4(0x582)](this[_0x57f8f4(0x527)],this[_0x57f8f4(0x545)],this[_0x57f8f4(0x3c4)]),_0x25080c=(_0x4c53c2==null||(_0x53350e=_0x4c53c2['transform'])==null?void 0x0:_0x53350e[_0x57f8f4(0x3d1)])||0x0,_0x913cce=(_0x4c53c2==null||(_0x2f4ae2=_0x4c53c2[_0x57f8f4(0x4c7)])==null?void 0x0:_0x2f4ae2[_0x57f8f4(0x1ef)])||0x0,_0x261f6a=this[_0x57f8f4(0x4d1)](_0xa9cd2['prstGeom'],_0x25080c,_0x913cce,_0xa9cd2[_0x57f8f4(0x28a)]);_0x261f6a&&(this['_activeAdjustPointList']=_0x261f6a['getDrawingPoints'](),this[_0x57f8f4(0x4cb)](),this[_0x57f8f4(0x347)](!0x0));}}}));}));}[_0x718440(0x37a)](){const _0x4207cb=_0x718440;this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x470)][_0x4207cb(0x374)](_0x496981=>{const _0xab00f=_0x4207cb;if(_0x496981[_0xab00f(0x212)]===0x1){let _0x349d91=_0x496981[0x0];if(_0x349d91['drawingType']===_0x567e1d[_0xab00f(0x2f1)]['DRAWING_IMAGE']){let {unitId:_0xdd94a6,subUnitId:_0x42230f,drawingId:_0x492b2e}=_0x349d91,_0x429072=this['_getImagePrstGeom'](_0xdd94a6,_0x42230f,_0x492b2e);if(_0x429072){var _0x2ed120,_0x43bc62;this[_0xab00f(0x3c4)]=_0x492b2e,this['_unitId']=_0xdd94a6,this[_0xab00f(0x545)]=_0x42230f;let _0xfd5a6a=this['_getImageDrawingInfo'](_0xdd94a6,_0x42230f,_0x492b2e),_0x5b6db7=(_0xfd5a6a==null||(_0x2ed120=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x2ed120[_0xab00f(0x3d1)])||0x0,_0x40ca6b=(_0xfd5a6a==null||(_0x43bc62=_0xfd5a6a[_0xab00f(0x4c7)])==null?void 0x0:_0x43bc62['height'])||0x0,_0x5e36bc=this[_0xab00f(0x4d1)](_0x429072[_0xab00f(0x338)],_0x5b6db7,_0x40ca6b,_0x429072['adjustValues']);_0x5e36bc&&(this[_0xab00f(0x557)]=_0x5e36bc[_0xab00f(0x1a2)]()),this['_clearControls'](),this[_0xab00f(0x347)](!0x0);}else this[_0xab00f(0x48e)]();}else this['_resetState']();}else this[_0xab00f(0x48e)]();})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)][_0x4207cb(0x518)]['subscribe'](_0x301daf=>{const _0x1d0696=_0x4207cb;if(_0x301daf[_0x1d0696(0x212)]===0x1){let _0x3a9b73=_0x301daf[0x0],_0x57f24f=this[_0x1d0696(0x2a8)][_0x1d0696(0x37d)](_0x3a9b73);(_0x57f24f==null?void 0x0:_0x57f24f[_0x1d0696(0x37f)])===_0x567e1d[_0x1d0696(0x2f1)]['DRAWING_IMAGE']&&this[_0x1d0696(0x3c4)]===_0x3a9b73['drawingId']&&(this[_0x1d0696(0x4cb)](),this[_0x1d0696(0x347)](!0x0));}})),this[_0x4207cb(0x503)](this[_0x4207cb(0x2a8)]['remove$'][_0x4207cb(0x374)](_0x576553=>{const _0x1af993=_0x4207cb;for(let _0x41afa9 of _0x576553)this[_0x1af993(0x3c4)]===_0x41afa9[_0x1af993(0x25d)]&&this[_0x1af993(0x48e)]();}));}[_0x718440(0x48e)](){const _0x34cb8d=_0x718440;this[_0x34cb8d(0x3c4)]=null,this['_unitId']=null,this[_0x34cb8d(0x545)]=null,this['_activeAdjustPointList']=void 0x0,this[_0x34cb8d(0x4cb)]();}};_0x47426e=_0xb31b0c([_0x519f13(0x1,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x392613))],_0x47426e);function _0x538cc0({ref:_0x2b6e0a,..._0x41d559}){const _0x431131=_0x718440;let {preserveStrokeWidth:_0x20eb53,icon:_0x11bd9f,id:_0x1286e1,className:_0x5e9bf6,extend:_0x4c3529,..._0x5bbe0e}=_0x41d559,_0x28c144=(_0x431131(0x310)+_0x1286e1+'\x20'+(_0x5e9bf6||''))['trim'](),_0x21b2eb='_'+(0x0,_0x58a2d5[_0x431131(0x57f)])(),_0x1ad1b7=(0x0,_0x58a2d5[_0x431131(0x288)])(null);return(0x0,_0x58a2d5[_0x431131(0x1b9)])(_0x2b6e0a,()=>_0x1ad1b7['current']),(0x0,_0x58a2d5['useLayoutEffect'])(()=>{const _0xbb1f28=_0x431131;if(_0x20eb53&&_0x1ad1b7[_0xbb1f28(0x43d)]&&_0x1ad1b7[_0xbb1f28(0x43d)][_0xbb1f28(0x283)]===_0x11bd9f[_0xbb1f28(0x44b)])return _0x4987e3(_0x1ad1b7['current']);},[_0x20eb53,_0x11bd9f]),_0x1ef20a(_0x11bd9f,''+_0x1286e1,{'defIds':_0x11bd9f['defIds'],'idSuffix':_0x21b2eb},{'ref':_0x1ad1b7,'className':_0x28c144,..._0x5bbe0e},_0x4c3529);}function _0x1ef20a(_0xeb5cfa,_0x5b8579,_0x14b060,_0x2a9ba4,_0x1edcd0){const _0x391d90=_0x718440;return(0x0,_0x58a2d5[_0x391d90(0x254)])(_0xeb5cfa[_0x391d90(0x44b)],{'key':_0x5b8579,..._0x4bc3df(_0xeb5cfa,_0x14b060,_0x1edcd0),..._0x2a9ba4},(_0xc5135a(_0xeb5cfa,_0x14b060)[_0x391d90(0x3fc)]||[])[_0x391d90(0x3e8)]((_0x3a46d9,_0x2372aa)=>_0x1ef20a(_0x3a46d9,_0x5b8579+'-'+_0xeb5cfa[_0x391d90(0x44b)]+'-'+_0x2372aa,_0x14b060,void 0x0,_0x1edcd0)));}function _0x4bc3df(_0x5924ed,_0x2d72d0,_0x5b5db6){const _0x41cace=_0x718440;let _0x34b2ca={..._0x5924ed[_0x41cace(0x546)]};_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca[_0x41cace(0x3a0)]==='colorChannel1'&&(_0x34b2ca['fill']=_0x5b5db6[_0x41cace(0x45c)]),_0x5b5db6!=null&&_0x5b5db6[_0x41cace(0x45c)]&&_0x34b2ca['stroke']===_0x41cace(0x45c)&&(_0x34b2ca['stroke']=_0x5b5db6[_0x41cace(0x45c)]),_0x5924ed['tag']==='mask'&&_0x34b2ca['id']&&(_0x34b2ca['id']+=_0x2d72d0[_0x41cace(0x550)]),Object[_0x41cace(0x1f9)](_0x34b2ca)[_0x41cace(0x241)](([_0x3a6a12,_0x597c37])=>{const _0x510070=_0x41cace;_0x3a6a12===_0x510070(0x2c5)&&typeof _0x597c37==_0x510070(0x468)&&(_0x34b2ca[_0x3a6a12]=_0x597c37[_0x510070(0x1e8)](/url\(#(.*)\)/,_0x510070(0x4ac)+_0x2d72d0[_0x510070(0x550)]+')'));});let {defIds:_0x89884}=_0x2d72d0;return!_0x89884||_0x89884[_0x41cace(0x212)]===0x0?_0x34b2ca:(_0x5924ed[_0x41cace(0x44b)]===_0x41cace(0x430)&&_0x34b2ca['xlink:href']&&(_0x34b2ca['xlink:href']+=_0x2d72d0[_0x41cace(0x550)]),Object['entries'](_0x34b2ca)[_0x41cace(0x241)](([_0x1de9c1,_0x136694])=>{const _0x1a23e4=_0x41cace;typeof _0x136694==_0x1a23e4(0x468)&&(_0x34b2ca[_0x1de9c1]=_0x136694[_0x1a23e4(0x1e8)](/url\(#(.*)\)/,_0x1a23e4(0x4ac)+_0x2d72d0[_0x1a23e4(0x550)]+')'));}),_0x34b2ca);}function _0xc5135a(_0x1d5575,_0x3c9dce){const _0x535cfa=_0x718440;var _0x177c69;let {defIds:_0x3e223a}=_0x3c9dce;return!_0x3e223a||_0x3e223a['length']===0x0?_0x1d5575:_0x1d5575['tag']===_0x535cfa(0x1e0)&&(_0x177c69=_0x1d5575[_0x535cfa(0x3fc)])!=null&&_0x177c69[_0x535cfa(0x212)]?{..._0x1d5575,'children':_0x1d5575['children'][_0x535cfa(0x3e8)](_0x205574=>typeof _0x205574[_0x535cfa(0x546)]['id']==_0x535cfa(0x468)&&_0x3e223a&&_0x3e223a[_0x535cfa(0x46b)](_0x205574[_0x535cfa(0x546)]['id'])?{..._0x205574,'attrs':{..._0x205574['attrs'],'id':_0x205574[_0x535cfa(0x546)]['id']+_0x3c9dce[_0x535cfa(0x550)]}}:_0x205574)}:_0x1d5575;}function _0x4987e3(_0x2cf2d4){const _0x5d89f5=_0x718440;let _0x2f27dc=_0x2cf2d4[_0x5d89f5(0x53e)][_0x5d89f5(0x445)],_0xd1a68c=Math['max'](_0x2f27dc[_0x5d89f5(0x3d1)],_0x2f27dc['height']);if(!Number[_0x5d89f5(0x4f1)](_0xd1a68c)||_0xd1a68c<=0x0||_0x2f27dc['width']<=0x0||_0x2f27dc['height']<=0x0)return()=>void 0x0;let _0x51d3c8=0x10/_0xd1a68c,_0x51e708=Array[_0x5d89f5(0x47c)](_0x2cf2d4[_0x5d89f5(0x2b0)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))['flatMap'](_0x52ef94=>{const _0x41d5cb=_0x5d89f5;let _0x50bdb2=getComputedStyle(_0x52ef94),_0x377c6a=Number[_0x41d5cb(0x20e)](_0x50bdb2[_0x41d5cb(0x318)]);return _0x50bdb2[_0x41d5cb(0x2a6)]==='none'||Number[_0x41d5cb(0x20e)](_0x50bdb2['strokeOpacity'])===0x0||_0x50bdb2['vectorEffect']===_0x41d5cb(0x269)||!Number[_0x41d5cb(0x4f1)](_0x377c6a)||_0x377c6a<=0x0?[]:[{'element':_0x52ef94,'hadStyleAttribute':_0x52ef94['hasAttribute'](_0x41d5cb(0x47f)),'originalStrokeWidth':_0x377c6a,'strokeWidth':_0x59c665(_0x52ef94['style'],'stroke-width')}];})['map'](_0x29cd2f=>({'appliedStrokeWidth':null,'element':_0x29cd2f[_0x5d89f5(0x1f0)],'hadStyleAttribute':_0x29cd2f[_0x5d89f5(0x304)],'isReleased':!0x1,'originalStrokeWidth':_0x29cd2f[_0x5d89f5(0x220)],'strokeWidth':_0x29cd2f[_0x5d89f5(0x318)]}));if(_0x51e708[_0x5d89f5(0x212)]===0x0)return()=>void 0x0;let _0x5f0b58=(_0x5a4d13,_0x26ecca)=>{const _0x2a980c=_0x5d89f5;if(_0x2f27dc['width']<=0x0||_0x2f27dc[_0x2a980c(0x1ef)]<=0x0||_0x5a4d13<=0x0||_0x26ecca<=0x0)return;let _0x12dbcc=Math[_0x2a980c(0x30a)](_0x5a4d13/_0x2f27dc['width'],_0x26ecca/_0x2f27dc[_0x2a980c(0x1ef)]);!Number[_0x2a980c(0x4f1)](_0x12dbcc)||_0x12dbcc<=0x0||_0x51e708[_0x2a980c(0x241)](_0x393c68=>{const _0x1e3133=_0x2a980c;if(_0x393c68[_0x1e3133(0x559)])return;if(_0x393c68[_0x1e3133(0x51e)]!==null&&(_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x444)]('stroke-width')!==_0x393c68[_0x1e3133(0x51e)]||_0x393c68[_0x1e3133(0x1f0)]['style']['getPropertyPriority'](_0x1e3133(0x358))!==_0x393c68[_0x1e3133(0x318)]['priority'])){_0x393c68[_0x1e3133(0x51e)]=null,_0x393c68['isReleased']=!0x0;return;}let _0x1398b5=_0x393c68[_0x1e3133(0x220)]*_0x51d3c8/_0x12dbcc,_0x30e54d=Number(_0x1398b5[_0x1e3133(0x3a1)](0xc))+'px';_0x393c68[_0x1e3133(0x1f0)][_0x1e3133(0x47f)][_0x1e3133(0x2bf)]('stroke-width',_0x30e54d,_0x393c68[_0x1e3133(0x318)][_0x1e3133(0x4e2)]),_0x393c68[_0x1e3133(0x51e)]=_0x30e54d;});},_0x229eda=_0x2cf2d4['getBoundingClientRect']();_0x5f0b58(_0x229eda[_0x5d89f5(0x3d1)],_0x229eda[_0x5d89f5(0x1ef)]);let _0x6acc59=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x115fde=>{const _0x2fcfb2=_0x5d89f5;if(_0x115fde[_0x2fcfb2(0x396)](_0x2486c6=>_0x2486c6[_0x2fcfb2(0x4c8)]===_0x2cf2d4)){let _0x4d5325=_0x2cf2d4[_0x2fcfb2(0x29e)]();_0x5f0b58(_0x4d5325['width'],_0x4d5325['height']);}});return _0x6acc59==null||_0x6acc59['observe'](_0x2cf2d4),()=>{const _0x2a39d3=_0x5d89f5;_0x6acc59==null||_0x6acc59[_0x2a39d3(0x25e)](),_0x51e708[_0x2a39d3(0x241)](_0x624a87=>{const _0x4477dc=_0x2a39d3;_0x624a87[_0x4477dc(0x51e)]!==null&&(_0x20871e(_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)],_0x4477dc(0x358),_0x624a87[_0x4477dc(0x51e)],_0x624a87[_0x4477dc(0x318)][_0x4477dc(0x4e2)],_0x624a87[_0x4477dc(0x318)]),!_0x624a87[_0x4477dc(0x304)]&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x47f)]['length']===0x0&&_0x624a87[_0x4477dc(0x1f0)][_0x4477dc(0x510)]('style'));});};}function _0x59c665(_0x1ccdec,_0x100c38){const _0x2bcc9c=_0x718440;return{'priority':_0x1ccdec[_0x2bcc9c(0x552)](_0x100c38),'value':_0x1ccdec[_0x2bcc9c(0x444)](_0x100c38)};}function _0x20871e(_0x4dc58a,_0x5096f2,_0x489805,_0x1235e7,_0x1eabaf){const _0x427684=_0x718440;_0x4dc58a[_0x427684(0x444)](_0x5096f2)===_0x489805&&_0x4dc58a[_0x427684(0x552)](_0x5096f2)===_0x1235e7&&(_0x1eabaf['value']?_0x4dc58a['setProperty'](_0x5096f2,_0x1eabaf['value'],_0x1eabaf[_0x427684(0x4e2)]):_0x4dc58a['removeProperty'](_0x5096f2));}_0x538cc0[_0x718440(0x38f)]=_0x718440(0x547);let _0x1906d4={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x477),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x1b2),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x1b5)}},{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x3df)}}]},_0x539c37=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x4a8446,_0x5b7a00){const _0x16cd75=_0x718440;return(0x0,_0x58a2d5[_0x16cd75(0x254)])(_0x538cc0,Object[_0x16cd75(0x3cc)]({},_0x4a8446,{'id':_0x16cd75(0x52a),'ref':_0x5b7a00,'icon':_0x1906d4}));});_0x539c37[_0x718440(0x38f)]='BottomIcon';let _0x2d8c15={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':'1em'},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3f5),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x50b),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x201),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M8\x206.2V7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x4fd),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':'currentColor','d':_0x718440(0x504),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}}]},_0xfdb1e6=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x26ee85,_0x444a4b){const _0x321053=_0x718440;return(0x0,_0x58a2d5[_0x321053(0x254)])(_0x538cc0,Object[_0x321053(0x3cc)]({},_0x26ee85,{'id':_0x321053(0x41a),'ref':_0x444a4b,'icon':_0x2d8c15}));});_0xfdb1e6[_0x718440(0x38f)]=_0x718440(0x481);let _0x1e7bcc={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1a9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2a9),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1f6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':'M10.2\x208H11.8','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x370),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5a8225=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x49e5b1,_0x6270bf){return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x49e5b1,{'id':'flip-vertical-icon','ref':_0x6270bf,'icon':_0x1e7bcc}));});_0x5a8225[_0x718440(0x38f)]=_0x718440(0x30b);let _0x4de916={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':'currentColor','d':_0x718440(0x4cf),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x230930=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x71ab68,_0x5e7db3){const _0x2a5b5b=_0x718440;return(0x0,_0x58a2d5[_0x2a5b5b(0x254)])(_0x538cc0,Object[_0x2a5b5b(0x3cc)]({},_0x71ab68,{'id':_0x2a5b5b(0x3d4),'ref':_0x5e7db3,'icon':_0x4de916}));});_0x230930[_0x718440(0x38f)]=_0x718440(0x26a);let _0x5b66a0={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x439)}}]},_0x14d267=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0x2af5d0,_0x4e8b73){const _0xac36d7=_0x718440;return(0x0,_0x58a2d5[_0xac36d7(0x254)])(_0x538cc0,Object[_0xac36d7(0x3cc)]({},_0x2af5d0,{'id':'move-up-icon','ref':_0x4e8b73,'icon':_0x5b66a0}));});_0x14d267[_0x718440(0x38f)]=_0x718440(0x55a);let _0x1479a1={'tag':'svg','attrs':{'xmlns':_0x718440(0x32d),'fill':_0x718440(0x24e),'viewBox':'0\x200\x2016\x2016','width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x718440(0x410),'strokeLinejoin':_0x718440(0x410),'strokeWidth':1.3}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x2e9),'strokeLinecap':_0x718440(0x410),'strokeLinejoin':'round','strokeWidth':1.3}}]},_0x31ea2d=(0x0,_0x58a2d5['forwardRef'])(function(_0xf75af8,_0x11bd4e){const _0x31b008=_0x718440;return(0x0,_0x58a2d5[_0x31b008(0x254)])(_0x538cc0,Object[_0x31b008(0x3cc)]({},_0xf75af8,{'id':_0x31b008(0x453),'ref':_0x11bd4e,'icon':_0x1479a1}));});_0x31ea2d[_0x718440(0x38f)]=_0x718440(0x24f);let _0x1089ed={'tag':_0x718440(0x3eb),'attrs':{'xmlns':_0x718440(0x32d),'fill':'none','viewBox':_0x718440(0x265),'width':_0x718440(0x40e),'height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x583),'strokeLinecap':'round','strokeLinejoin':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M4.2\x205.5H10.5','strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x3a6),'strokeLinecap':_0x718440(0x410),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x718440(0x25b),'d':_0x718440(0x1b0),'strokeLinejoin':_0x718440(0x410)}},{'tag':_0x718440(0x243),'attrs':{'stroke':_0x718440(0x25b),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x53179a=(0x0,_0x58a2d5['forwardRef'])(function(_0x2fa556,_0x5bfe1d){const _0x440110=_0x718440;return(0x0,_0x58a2d5['createElement'])(_0x538cc0,Object['assign']({},_0x2fa556,{'id':_0x440110(0x2bd),'ref':_0x5bfe1d,'icon':_0x1089ed}));});_0x53179a[_0x718440(0x38f)]=_0x718440(0x4fa);let _0x46bad7={'tag':_0x718440(0x3eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x718440(0x477),'width':'1em','height':_0x718440(0x40e)},'children':[{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x342)}},{'tag':_0x718440(0x243),'attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x4d7),'fillRule':_0x718440(0x3ff),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x718440(0x25b),'d':_0x718440(0x2ab),'fillRule':_0x718440(0x3ff),'clipRule':_0x718440(0x3ff)}}]},_0x3f7a19=(0x0,_0x58a2d5[_0x718440(0x422)])(function(_0xc3e367,_0x27f449){const _0x4b55bc=_0x718440;return(0x0,_0x58a2d5[_0x4b55bc(0x254)])(_0x538cc0,Object[_0x4b55bc(0x3cc)]({},_0xc3e367,{'id':_0x4b55bc(0x271),'ref':_0x27f449,'icon':_0x46bad7}));});_0x3f7a19[_0x718440(0x38f)]=_0x718440(0x267);function _0x4e26a6(_0x79a5bd){const _0x3e3862=_0x718440;return _0x79a5bd[_0x3e3862(0x490)]()||void 0x0;}function _0x29733e(_0x445488,_0x365152,_0x398987){const _0x589ff7=_0x718440;var _0x202f15;return((_0x202f15=_0x445488[_0x589ff7(0x4ab)])==null?void 0x0:_0x202f15[_0x589ff7(0x490)]())||_0x398987['t'](_0x589ff7(0x1a1)+(0x0,_0x54a51b[_0x589ff7(0x219)])(_0x445488[_0x589ff7(0x37f)]))+'\x20'+(_0x365152+0x1);}function _0x32a716({PanelComponent:_0xe84cf8=_0x44d5e4[_0x718440(0x2c3)]}){const _0x3b061d=_0x718440;var _0x3a7751;let _0x3beb5e=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d['LocaleService']),_0x1c2a10={'title':_0x3beb5e['t'](_0x3b061d(0x535)),'empty':_0x3beb5e['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x3beb5e['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x3beb5e['t'](_0x3b061d(0x43b)),'lockAll':_0x3beb5e['t'](_0x3b061d(0x489)),'unlockAll':_0x3beb5e['t'](_0x3b061d(0x23b)),'moveForward':_0x3beb5e['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x3beb5e['t'](_0x3b061d(0x573)),'close':_0x3beb5e['t'](_0x3b061d(0x319)),'show':_0x3beb5e['t'](_0x3b061d(0x47d)),'hide':_0x3beb5e['t'](_0x3b061d(0x1be)),'lock':_0x3beb5e['t'](_0x3b061d(0x2a4)),'unlock':_0x3beb5e['t'](_0x3b061d(0x21e)),'lockHint':_0x3beb5e['t'](_0x3b061d(0x316)),'unlockHint':_0x3beb5e['t'](_0x3b061d(0x26c)),'name':_0x3beb5e['t'](_0x3b061d(0x52b)),'nameInput':_0x3beb5e['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x3beb5e['t'](_0x3b061d(0x1da)),'descriptionPlaceholder':_0x3beb5e['t'](_0x3b061d(0x3c2)),'details':_0x3beb5e['t'](_0x3b061d(0x567)),'noSelection':_0x3beb5e['t'](_0x3b061d(0x19e)),'locate':_0x3beb5e['t'](_0x3b061d(0x51b)),'expand':_0x3beb5e['t'](_0x3b061d(0x2af)),'collapse':_0x3beb5e['t'](_0x3b061d(0x356)),'dragToReorder':_0x3beb5e['t'](_0x3b061d(0x488)),'search':_0x3beb5e['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x3beb5e['t'](_0x3b061d(0x32b)),'filterHidden':_0x3beb5e['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x3beb5e['t'](_0x3b061d(0x465)),'sectionCanvas':_0x3beb5e['t'](_0x3b061d(0x3b1)),'sectionFloating':_0x3beb5e['t'](_0x3b061d(0x28d))},_0x66dd02=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x1cf)]),_0xeb14c6=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x567e1d[_0x3b061d(0x32e)]),_0x3f2da0=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x1f8323['ISheetDrawingService']),_0x39ecd1=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x36b4c7[_0x3b061d(0x529)]),_0x271d11=(0x0,_0x5744c6[_0x3b061d(0x391)])(_0x3e5eae[_0x3b061d(0x39e)]),[,_0x5d9a49]=(0x0,_0x58a2d5['useReducer'])(_0x2665e1=>_0x2665e1+0x1,0x0),_0x19e035=_0xeb14c6[_0x3b061d(0x24c)](_0x567e1d['UniverInstanceType'][_0x3b061d(0x2e6)]),_0x5be5d3=(_0x19e035==null?void 0x0:_0x19e035[_0x3b061d(0x35f)]())??'',_0x22488e=(_0x19e035==null||(_0x3a7751=_0x19e035[_0x3b061d(0x569)]())==null?void 0x0:_0x3a7751[_0x3b061d(0x274)]())??'',_0x1e6c20=(0x0,_0x5744c6[_0x3b061d(0x329)])(()=>_0x39ecd1['focus$'],_0x39ecd1[_0x3b061d(0x447)](),!0x1,[_0x39ecd1]);(0x0,_0x58a2d5['useEffect'])(()=>{const _0x5454df=_0x3b061d;let _0x52ea2a=_0x66dd02[_0x5454df(0x4c2)](()=>_0x5d9a49());return()=>_0x52ea2a[_0x5454df(0x4dd)]();},[_0x66dd02]);let _0x13c1c5=_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x46f)](_0x5be5d3,_0x22488e):{},_0x1484ad=(_0x5be5d3&&_0x22488e?_0x3f2da0[_0x3b061d(0x205)](_0x5be5d3,_0x22488e):[])['map'](_0x1e122b=>_0x13c1c5[_0x1e122b])[_0x3b061d(0x3c1)](_0x3f7c00=>!!_0x3f7c00)[_0x3b061d(0x55e)](),_0x237426=_0x1484ad[_0x3b061d(0x210)]((_0x58cb9a,_0x5e8ca4)=>(_0x58cb9a[(0x0,_0x44d5e4['getObjectListPanelSectionIdForDrawingType'])(_0x5e8ca4[_0x3b061d(0x37f)])]+=0x1,_0x58cb9a),{'canvas':0x0,'floating':0x0}),_0x2b4f7c={'canvas':0x0,'floating':0x0},_0xfea4ad=_0x1484ad[_0x3b061d(0x3e8)]((_0x34e065,_0x59af8f)=>{const _0x39efd4=_0x3b061d;let _0x5d4f80=(0x0,_0x44d5e4[_0x39efd4(0x502)])(_0x34e065['drawingType']),_0x575727=_0x5d4f80===_0x44d5e4[_0x39efd4(0x4c9)],_0x2baa0d=_0x2b4f7c[_0x5d4f80]++;return{'id':_0x34e065[_0x39efd4(0x25d)],'name':_0x29733e(_0x34e065,_0x59af8f,_0x3beb5e),'description':_0x34e065[_0x39efd4(0x1df)],'visible':_0x34e065['hidden']!==!0x0,'selectable':_0x34e065[_0x39efd4(0x50c)]!==!0x1,'sectionId':_0x5d4f80,'sectionTitle':_0x575727?_0x1c2a10[_0x39efd4(0x235)]:_0x1c2a10[_0x39efd4(0x37b)],'capabilities':_0x575727?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x575727&&_0x2baa0d>0x0,'canMoveBackward':!_0x575727&&_0x2baa0d<_0x237426[_0x39efd4(0x1c1)]-0x1,'canReorder':!_0x575727};}),_0x290fe3=(0x0,_0x58a2d5[_0x3b061d(0x33b)])(()=>(_0x1e6c20??[])['filter'](_0x465295=>_0x465295['unitId']===_0x5be5d3&&_0x465295[_0x3b061d(0x31f)]===_0x22488e)[_0x3b061d(0x3e8)](_0x15eafd=>_0x15eafd[_0x3b061d(0x25d)]),[_0x1e6c20,_0x22488e,_0x5be5d3]),_0x410073=_0x290fe3[_0x290fe3[_0x3b061d(0x212)]-0x1]??null,_0x46a8a8=_0x931b25=>_0x3f2da0[_0x3b061d(0x37d)]({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x931b25})??null,_0x44b382=async _0x453ca3=>{const _0x1c2aa9=_0x3b061d;_0x5be5d3&&_0x453ca3[_0x1c2aa9(0x212)]&&await _0x66dd02['executeCommand'](_0x1f8323[_0x1c2aa9(0x41b)]['id'],{'unitId':_0x5be5d3,'drawings':_0x453ca3});},_0x4f56db=async(_0x540e08,_0x200265)=>{_0x46a8a8(_0x540e08)&&await _0x44b382([{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x540e08,..._0x200265}]);},_0x871a3a=(_0x620ace,_0x1e78b0)=>{const _0x982238=_0x3b061d;if(!_0x5be5d3||!_0x22488e)return;let _0x5d571f=_0x1e78b0?_0x290fe3[_0x982238(0x46b)](_0x620ace)?_0x290fe3[_0x982238(0x3c1)](_0x446490=>_0x446490!==_0x620ace):[..._0x290fe3,_0x620ace]:[_0x620ace];_0x66dd02[_0x982238(0x34d)](_0x36b4c7['SetDrawingSelectedOperation']['id'],_0x5d571f[_0x982238(0x3e8)](_0x485240=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x485240})));let _0xf74e9=_0x5d571f[_0x5d571f['length']-0x1];_0xf74e9?(0x0,_0x54a51b['activateDrawingObject'])(_0x271d11,{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xf74e9}):(0x0,_0x54a51b[_0x982238(0x289)])(_0x271d11,_0x5be5d3);},_0x40435f=async(_0x9adf4f,_0x2311fa)=>{const _0x33cf50=_0x3b061d;await _0x44b382(_0x9adf4f[_0x33cf50(0x3e8)](_0x2b4ad9=>_0x46a8a8(_0x2b4ad9))[_0x33cf50(0x3c1)](_0x557645=>!!_0x557645)[_0x33cf50(0x3c1)](_0x388cf4=>_0x388cf4[_0x33cf50(0x579)]!==!0x0!==_0x2311fa)[_0x33cf50(0x3e8)](_0x36f10d=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0x36f10d['drawingId'],'hidden':!_0x2311fa})));},_0x2d5256=async(_0x2e0914,_0x39aa1a)=>{const _0x533000=_0x3b061d;await _0x44b382(_0x2e0914['map'](_0x16c15f=>_0x46a8a8(_0x16c15f))['filter'](_0x420e8b=>!!_0x420e8b)['filter'](_0xef9b3b=>_0xef9b3b[_0x533000(0x50c)]!==!0x1!==_0x39aa1a)[_0x533000(0x3e8)](_0xfd6404=>({'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingId':_0xfd6404[_0x533000(0x25d)],'selectable':_0x39aa1a})));},_0x2bcc47=_0x17914a=>{const _0x24c256=_0x3b061d;let _0x5b2641=_0x46a8a8(_0x17914a);if(_0x5b2641)return _0x2d5256([_0x17914a],_0x5b2641[_0x24c256(0x50c)]===!0x1);},_0x592c34=async(_0xb149ee,_0x1f229f)=>{var _0x3699ac;let _0x32bffd=_0x4e26a6(_0x1f229f);(((_0x3699ac=_0x46a8a8(_0xb149ee))==null?void 0x0:_0x3699ac['name'])??void 0x0)!==_0x32bffd&&await _0x4f56db(_0xb149ee,{'name':_0x32bffd});},_0x3f0913=async(_0x504b00,_0x29cd17)=>{const _0x4490b5=_0x3b061d;var _0x262657;let _0x4e559a=_0x4e26a6(_0x29cd17);(((_0x262657=_0x46a8a8(_0x504b00))==null?void 0x0:_0x262657[_0x4490b5(0x1df)])??void 0x0)!==_0x4e559a&&await _0x4f56db(_0x504b00,{'description':_0x4e559a});},_0x4e7c3b=async(_0x46974c,_0x425102)=>{const _0x4978bd=_0x3b061d;_0x5be5d3&&_0x22488e&&await _0x66dd02['executeCommand'](_0x1f8323[_0x4978bd(0x364)]['id'],{'unitId':_0x5be5d3,'subUnitId':_0x22488e,'drawingIds':[_0x46974c],'arrangeType':_0x425102});};return!_0x5be5d3||!_0x22488e?(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0x3b061d(0x4b9),{'className':_0x3b061d(0x511),'children':_0x1c2a10[_0x3b061d(0x1ca)]}):(0x0,_0x1a5094[_0x3b061d(0x2bb)])(_0xe84cf8,{'labels':_0x1c2a10,'items':_0xfea4ad,'selectedIds':_0x290fe3,'focusedId':_0x410073,'showHeader':!0x1,'onSelect':_0x871a3a,'onSetVisible':_0x40435f,'onSetSelectable':_0x2d5256,'onCommitName':_0x592c34,'onCommitDescription':_0x3f0913,'onMoveForward':async _0x441d7d=>_0x4e7c3b(_0x441d7d,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x285)]),'onMoveBackward':async _0x3a0fe5=>_0x4e7c3b(_0x3a0fe5,_0x567e1d[_0x3b061d(0x22f)][_0x3b061d(0x492)]),'onToggleSelectable':_0x2bcc47});}function _0x354eaa(){const _0xfc9941=_0x718440;return(0x0,_0x1a5094[_0xfc9941(0x2bb)])(_0x32a716,{'PanelComponent':_0x44d5e4[_0xfc9941(0x2fd)]});}let _0x26ba20=class extends _0x567e1d['Disposable']{constructor(_0x3a90f1,_0x20b411){const _0x1d66c5=_0x718440;super(),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x46acea,_0x354eaa)),this[_0x1d66c5(0x503)](_0x20b411['register']({'BottomIcon':_0x539c37,'FlipHorizontalIcon':_0xfdb1e6,'FlipVerticalIcon':_0x5a8225,'MoveDownIcon':_0x230930,'MoveUpIcon':_0x14d267,'ObjectLayersIcon':_0x31ea2d,'ShapeFormatSettingIcon':_0x53179a,'TopmostIcon':_0x3f7a19})),this['disposeWithMe'](_0x3a90f1[_0x1d66c5(0x50a)](_0x4440a,_0x373485)),this[_0x1d66c5(0x503)](_0x3a90f1['register'](_0x16e69b,_0x4190ca)),_0x3a90f1[_0x1d66c5(0x39f)](_0x44d5e4[_0x1d66c5(0x4e0)])||this['disposeWithMe'](_0x3a90f1['register'](_0x44d5e4[_0x1d66c5(0x4e0)],_0xa77841));}};_0x26ba20=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x3a4)]))],_0x26ba20);let _0x5c8f01=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x2781b5){const _0x35fab9=_0x718440;super(),this[_0x35fab9(0x4ad)]=_0x2781b5,_0x55cc91(this,_0x35fab9(0x1c4),new _0x1d246a[(_0x35fab9(0x23f))](null)),_0x55cc91(this,_0x35fab9(0x4f7),this[_0x35fab9(0x1c4)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x3b9),new _0x1d246a['BehaviorSubject'](!0x1)),_0x55cc91(this,_0x35fab9(0x324),this[_0x35fab9(0x3b9)][_0x35fab9(0x361)]()),_0x55cc91(this,_0x35fab9(0x211),void 0x0),this[_0x35fab9(0x503)](this[_0x35fab9(0x4ad)][_0x35fab9(0x52e)][_0x35fab9(0x374)](()=>{const _0x169415=_0x35fab9;let _0x28dae0=this[_0x169415(0x570)]();_0x28dae0!=null&&_0x28dae0['visible']&&!this[_0x169415(0x55c)](_0x28dae0)&&this[_0x169415(0x428)](null);}));}['dispose'](){const _0x124c50=_0x718440;this['_clearCompletionFrame'](),this['_editingParams$'][_0x124c50(0x34f)](null),this[_0x124c50(0x1c4)][_0x124c50(0x1d6)](),this['_onSavingEditorData$'][_0x124c50(0x34f)](!0x1),this[_0x124c50(0x3b9)][_0x124c50(0x1d6)](),super['dispose']();}[_0x718440(0x428)](_0x2f68ad){const _0x11d98f=_0x718440;(_0x2f68ad==null||!_0x2f68ad[_0x11d98f(0x47b)]||this[_0x11d98f(0x55c)](_0x2f68ad))&&(this['_clearCompletionFrame'](),this[_0x11d98f(0x1c4)][_0x11d98f(0x34f)](_0x2f68ad),(_0x2f68ad==null||_0x2f68ad['visible']&&this[_0x11d98f(0x3b9)][_0x11d98f(0x27e)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x718440(0x378)](_0x5220c0){const _0x349a99=_0x718440;this[_0x349a99(0x3b9)]['next'](_0x5220c0);}[_0x718440(0x570)](){const _0x23c97f=_0x718440;return this[_0x23c97f(0x1c4)]['getValue']();}[_0x718440(0x55c)](_0x415518){const _0x1e73f1=_0x718440;let _0x21b146=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4c5))](_0x415518[_0x1e73f1(0x45d)])['id']),_0x57c2a0=this[_0x1e73f1(0x4ad)][_0x1e73f1(0x322)](new _0x11447f[(_0x1e73f1(0x4fc))](_0x415518['unitId'],_0x415518[_0x1e73f1(0x31f)])['id']);return((_0x21b146==null?void 0x0:_0x21b146['value'])??!0x0)&&((_0x57c2a0==null?void 0x0:_0x57c2a0[_0x1e73f1(0x52d)])??!0x0);}['completeEditing'](_0x413e43){const _0x5c101d=_0x718440;let _0x531f10=this[_0x5c101d(0x570)]();_0x531f10&&this[_0x5c101d(0x211)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0x5c101d(0x211)]=requestAnimationFrame(()=>{const _0x20646d=_0x5c101d;this[_0x20646d(0x211)]=void 0x0,this[_0x20646d(0x570)]()===_0x531f10&&this['setEditing'](null);}));}[_0x718440(0x3c9)](){const _0x6a98da=_0x718440;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x6a98da(0x211)]),this[_0x6a98da(0x211)]=void 0x0);}[_0x718440(0x259)](){const _0x1f236b=_0x718440;this[_0x1f236b(0x570)]()&&this[_0x1f236b(0x428)](null);}};_0x5c8f01=_0xb31b0c([_0x519f13(0x0,_0x567e1d['IPermissionService'])],_0x5c8f01);let _0x26166d=class extends _0x567e1d['Disposable']{constructor(_0x4d4262,_0x114289,_0x2154cd,_0xc41faa,_0x185fd1,_0x172930){const _0x42b50c=_0x718440;super(),this[_0x42b50c(0x2f6)]=_0x4d4262,this[_0x42b50c(0x249)]=_0x114289,this[_0x42b50c(0x4da)]=_0x2154cd,this[_0x42b50c(0x2a8)]=_0xc41faa,this[_0x42b50c(0x469)]=_0x185fd1,this['_sheetsShapeService']=_0x172930,_0x55cc91(this,'_lastEditingShapeKey',null),this[_0x42b50c(0x49d)](),this[_0x42b50c(0x31e)](),this[_0x42b50c(0x46e)]();}[_0x718440(0x49d)](){const _0x32a737=_0x718440;let {scene:_0x1077cf}=this['_context'];this['disposeWithMe'](_0x1077cf[_0x32a737(0x454)][_0x32a737(0x483)](_0x55b7d6=>{const _0x333541=_0x32a737;let {offsetX:_0x2751a7,offsetY:_0x179c0f}=_0x55b7d6,_0x13b0f7=_0x1077cf[_0x333541(0x588)](_0x3e5eae[_0x333541(0x214)][_0x333541(0x593)]([_0x2751a7,_0x179c0f]));if(_0x13b0f7 instanceof _0x5b187c){let _0x293544=this[_0x333541(0x4cd)][_0x333541(0x459)](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7[_0x333541(0x1fd)]);if((0x0,_0x34f551['isConnectorShape'])(this['_sheetsShapeService']['getShapeType'](_0x13b0f7['unitId'],_0x13b0f7[_0x333541(0x31f)],_0x13b0f7['shapeId']))||_0x293544!=null&&_0x293544[_0x333541(0x1e2)]()[_0x333541(0x270)])return;this[_0x333541(0x4da)]['setEditing']({'visible':!0x0,'unitId':_0x13b0f7[_0x333541(0x45d)],'subUnitId':_0x13b0f7[_0x333541(0x31f)],'shapeId':_0x13b0f7[_0x333541(0x1fd)],'shapeKey':_0x13b0f7[_0x333541(0x1d1)]});}}));}[_0x718440(0x31e)](){const _0x4c108b=_0x718440;this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x470)]['subscribe'](_0xd4eeb1=>{const _0x30cc96=_0x4c108b;if(_0xd4eeb1[_0x30cc96(0x212)]===0x1){let _0x52efa3=_0xd4eeb1[0x0],_0x223fb7=this[_0x30cc96(0x2a8)][_0x30cc96(0x37d)](_0x52efa3);if((_0x223fb7==null?void 0x0:_0x223fb7['drawingType'])===_0x567e1d['DrawingTypeEnum'][_0x30cc96(0x20f)]){var _0x423b76;let _0x4ffa4b=this[_0x30cc96(0x4da)][_0x30cc96(0x570)]();if((_0x4ffa4b==null?void 0x0:_0x4ffa4b['shapeId'])===_0x52efa3[_0x30cc96(0x25d)]&&_0x4ffa4b[_0x30cc96(0x47b)])return;let _0x24d7be=(0x0,_0x34f551[_0x30cc96(0x22d)])(this['_sheetsShapeService'][_0x30cc96(0x43a)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3['subUnitId'],_0x52efa3['drawingId'])),_0x53c98c=!!((_0x423b76=this[_0x30cc96(0x4cd)][_0x30cc96(0x459)](_0x52efa3[_0x30cc96(0x45d)],_0x52efa3[_0x30cc96(0x31f)],_0x52efa3['drawingId']))!=null&&_0x423b76['getShapeData']()['formulaBinding']);(_0x24d7be||_0x53c98c)&&this[_0x30cc96(0x4da)][_0x30cc96(0x428)](null);}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();}else this[_0x30cc96(0x4da)][_0x30cc96(0x248)]();})),this[_0x4c108b(0x503)](this[_0x4c108b(0x2a8)][_0x4c108b(0x4ca)][_0x4c108b(0x374)](_0x48752a=>{const _0x23b9c1=_0x4c108b;let _0x314058=this[_0x23b9c1(0x4da)]['getEditing']();_0x314058&&_0x48752a[_0x23b9c1(0x396)](_0x33b88a=>_0x33b88a['drawingId']===_0x314058[_0x23b9c1(0x1fd)])&&this[_0x23b9c1(0x4da)][_0x23b9c1(0x428)](null);}));}[_0x718440(0x46e)](){const _0x4d5714=_0x718440;this[_0x4d5714(0x503)](this[_0x4d5714(0x4da)][_0x4d5714(0x4f7)][_0x4d5714(0x374)](_0x806e5=>{const _0x1bdc4a=_0x4d5714;let {scene:_0xac89c7}=this['_context'];if(this['_lastEditingShapeKey']){let _0x179806=_0xac89c7[_0x1bdc4a(0x566)](this[_0x1bdc4a(0x2a7)]);_0x179806&&_0x179806['setEditing'](!0x1);}if(_0x806e5){let _0x1ae1fd=!!_0x806e5[_0x1bdc4a(0x47b)],_0x1800ed=_0xac89c7[_0x1bdc4a(0x566)](_0x806e5[_0x1bdc4a(0x1f3)]);_0x1800ed&&(_0x1800ed['setEditing'](_0x1ae1fd),this[_0x1bdc4a(0x2a7)]=_0x806e5[_0x1bdc4a(0x1f3)]),this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d['FOCUSING_SHAPE_TEXT_EDITOR'],_0x1ae1fd);}else this[_0x1bdc4a(0x2a7)]=null,this[_0x1bdc4a(0x469)][_0x1bdc4a(0x4b8)](_0x567e1d[_0x1bdc4a(0x532)],!0x1);}));}};_0x26166d=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d['IContextService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x26166d);var _0x2955f2=class extends _0x26166d{['_initEvents'](){const _0x9d9753=_0x718440;let {scene:_0x1e6e93}=this[_0x9d9753(0x2f6)],_0x26c504=this[_0x9d9753(0x249)][_0x9d9753(0x39f)](_0x54a51b[_0x9d9753(0x24d)]);this[_0x9d9753(0x503)](_0x1e6e93['onDblclick$'][_0x9d9753(0x483)](_0x5e07c4=>{const _0x12a1bc=_0x9d9753;let {offsetX:_0x4eac4f,offsetY:_0x260c85}=_0x5e07c4,_0x1ef6b9=_0x1e6e93[_0x12a1bc(0x588)](_0x3e5eae[_0x12a1bc(0x214)]['FromArray']([_0x4eac4f,_0x260c85]));if(!(_0x1ef6b9 instanceof _0x5b187c))return;let _0x5b86ea=this[_0x12a1bc(0x4cd)][_0x12a1bc(0x459)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]);(0x0,_0x34f551['isConnectorShape'])(this[_0x12a1bc(0x4cd)][_0x12a1bc(0x43a)](_0x1ef6b9[_0x12a1bc(0x45d)],_0x1ef6b9[_0x12a1bc(0x31f)],_0x1ef6b9[_0x12a1bc(0x1fd)]))||_0x5b86ea!=null&&_0x5b86ea[_0x12a1bc(0x1e2)]()['formulaBinding']||_0x26c504[_0x12a1bc(0x395)]('text',{'hostType':_0x567e1d['UniverInstanceType'][_0x12a1bc(0x2e6)],'unitId':_0x1ef6b9[_0x12a1bc(0x45d)],'subUnitId':_0x1ef6b9[_0x12a1bc(0x31f)],'shapeId':_0x1ef6b9[_0x12a1bc(0x1fd)]});}));}};let _0x470b76={..._0x254fae},_0x29acd6=class extends _0x567e1d['Disposable']{constructor(_0x20ebb6,_0x19a1b4,_0x11ff06,_0x395d54,_0x201430,_0x441db8,_0x4e0dc1,_0x4c510e){const _0x52c5ab=_0x718440;super(),this[_0x52c5ab(0x4a3)]=_0x20ebb6,this['_sheetsShapeService']=_0x19a1b4,this['_commandService']=_0x11ff06,this[_0x52c5ab(0x2a8)]=_0x395d54,this[_0x52c5ab(0x19a)]=_0x201430,this[_0x52c5ab(0x469)]=_0x441db8,this[_0x52c5ab(0x57e)]=_0x4e0dc1,this[_0x52c5ab(0x4da)]=_0x4c510e,_0x55cc91(this,_0x52c5ab(0x3b7),null),this['_menuManagerService']['mergeMenu'](_0x470b76),this[_0x52c5ab(0x2ea)](),this[_0x52c5ab(0x503)](this[_0x52c5ab(0x4da)][_0x52c5ab(0x4f7)][_0x52c5ab(0x374)](_0x9fe82d=>{const _0x36c281=_0x52c5ab;_0x9fe82d&&this[_0x36c281(0x496)]();}));}[_0x718440(0x1f2)](){const _0x1468d8=_0x718440;this[_0x1468d8(0x3b7)]||=this[_0x1468d8(0x503)]((0x0,_0x54a51b[_0x1468d8(0x3fd)])(this[_0x1468d8(0x57e)],_0x567e1d[_0x1468d8(0x1e5)][_0x1468d8(0x2e6)],_0x24ff74=>this[_0x1468d8(0x398)](_0x24ff74)));}[_0x718440(0x2ea)](){const _0x392800=_0x718440;this['_sheetCanvasPopManagerService'][_0x392800(0x49c)](_0x567e1d['DrawingTypeEnum']['DRAWING_SHAPE'],(_0x4808ca,_0x372309,_0x271eb9,_0x267c52)=>{const _0x162198=_0x392800;let _0x379717=this[_0x162198(0x4cd)]['getShapeTypeById'](_0x4808ca,_0x372309,_0x271eb9),_0x2905f0=this[_0x162198(0x4cd)][_0x162198(0x203)](_0x4808ca,_0x372309,_0x271eb9),_0x1f9e0f=_0x379717!==void 0x0&&!(0x0,_0x34f551['isConnectorShape'])(_0x379717)&&!(_0x2905f0!=null&&_0x2905f0[_0x162198(0x270)]);return[{'label':_0x162198(0x540),'index':0x0,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x47f)},'disable':!0x1},..._0x1f9e0f?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x55f058['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'mode':_0x162198(0x27b)},'disable':!0x1}]:[],{'label':_0x162198(0x287),'index':0x2,'commandId':_0x1f8323[_0x162198(0x464)]['id'],'commandParams':{'unitId':_0x4808ca,'drawings':[{'unitId':_0x4808ca,'subUnitId':_0x372309,'drawingId':_0x271eb9,'drawingType':_0x267c52}]},'disable':!0x1},{'label':_0x162198(0x353),'index':0x3,'commandId':_0x239f56['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipH':!0x0},'disable':!0x1},{'label':_0x162198(0x30e),'index':0x4,'commandId':_0x239f56[_0x162198(0x335)]['id'],'commandParams':{'unitId':_0x4808ca,'subUnitId':_0x372309,'shapeId':_0x271eb9,'flipV':!0x0},'disable':!0x1}];},_0x392800(0x239));}[_0x718440(0x398)](_0x367f26){const _0x24d3cb=_0x718440;let _0x5e23ce=new _0x567e1d[(_0x24d3cb(0x3de))](),_0x391b5f=null,_0x5eb0e2=()=>{const _0x4d7093=_0x24d3cb;if(!_0x391b5f)return;let _0x23dcc0=this[_0x4d7093(0x2a8)][_0x4d7093(0x447)](),_0x48d2a6=_0x23dcc0[_0x4d7093(0x212)]===0x0||_0x23dcc0[_0x4d7093(0x212)]===0x1&&_0x23dcc0[_0x4d7093(0x396)](_0x5786a2=>_0x5786a2['unitId']===(_0x391b5f==null?void 0x0:_0x391b5f['unitId'])&&_0x5786a2[_0x4d7093(0x31f)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x31f)])&&_0x5786a2[_0x4d7093(0x25d)]===(_0x391b5f==null?void 0x0:_0x391b5f[_0x4d7093(0x25d)]));_0x391b5f=null,_0x48d2a6&&(this[_0x4d7093(0x469)]['setContextValue'](_0x567e1d[_0x4d7093(0x457)],!0x1),this[_0x4d7093(0x2a8)][_0x4d7093(0x1b3)](null));};return _0x5e23ce[_0x24d3cb(0x3e3)](_0x367f26['createControl$'][_0x24d3cb(0x374)](()=>{const _0x445a6d=_0x24d3cb;let _0x41117d=_0x367f26[_0x445a6d(0x57d)]();if(_0x41117d[_0x445a6d(0x2db)]>0x1){_0x5eb0e2();return;}let _0x150294=_0x41117d['values']()[_0x445a6d(0x34f)]()['value'];if(!_0x150294){_0x5eb0e2();return;}let _0x182a2b=this[_0x445a6d(0x2a8)][_0x445a6d(0x380)](_0x150294[_0x445a6d(0x1d1)]);if(!_0x182a2b||_0x182a2b[_0x445a6d(0x37f)]!==_0x567e1d['DrawingTypeEnum'][_0x445a6d(0x20f)]){_0x5eb0e2();return;}let {unitId:_0x17a1d6,subUnitId:_0xf4fd02,drawingId:_0x243c82}=_0x182a2b;_0x391b5f={'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82},this[_0x445a6d(0x469)][_0x445a6d(0x4b8)](_0x567e1d[_0x445a6d(0x457)],!0x0),this[_0x445a6d(0x2a8)][_0x445a6d(0x447)]()[_0x445a6d(0x1d5)](_0x365515=>_0x365515[_0x445a6d(0x45d)]===_0x17a1d6&&_0x365515[_0x445a6d(0x31f)]===_0xf4fd02&&_0x365515[_0x445a6d(0x25d)]===_0x243c82)||this['_drawingManagerService']['focusDrawing']([{'unitId':_0x17a1d6,'subUnitId':_0xf4fd02,'drawingId':_0x243c82}]);})),_0x5e23ce['add'](_0x367f26['clearControl$'][_0x24d3cb(0x374)](()=>{_0x5eb0e2();})),(0x0,_0x567e1d[_0x24d3cb(0x23c)])(()=>{const _0x4a0714=_0x24d3cb;_0x5e23ce[_0x4a0714(0x4dd)](),_0x5eb0e2();});}[_0x718440(0x496)](){const _0x2aa0e1=_0x718440;this['_contextService'][_0x2aa0e1(0x4b8)](_0x567e1d[_0x2aa0e1(0x457)],!0x1),this[_0x2aa0e1(0x2a8)][_0x2aa0e1(0x1b3)](null);}};_0x29acd6=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x5,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x6,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x29acd6);function _0x2143ad(_0x1c1daa,_0x1ab145,_0x4b72cd,_0x19ae6d){const _0x253f92=_0x718440;let _0x818719=(0x0,_0x36b4c7['getOrCreateDrawingCopyPlan'])(_0x1c1daa,_0x1ab145,_0x4b72cd),_0x31301b=[];for(let _0x43e0ae of _0x1ab145){let _0x5a6f2b=_0x818719['idMap'][_0x253f92(0x39f)](_0x43e0ae['drawingId']),_0x245adc=_0x19ae6d(_0x43e0ae);_0x5a6f2b&&_0x245adc&&_0x31301b[_0x253f92(0x217)]({'targetShapeId':_0x5a6f2b,'source':_0x245adc});}return _0x31301b;}let _0x256f6f=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0xb0523c,_0xa5decd,_0x51037b,_0x49ba84){const _0x1eecb0=_0x718440;super(),this[_0x1eecb0(0x34a)]=_0xb0523c,this[_0x1eecb0(0x3d9)]=_0xa5decd,this['_sheetDrawingService']=_0x51037b,this[_0x1eecb0(0x4cd)]=_0x49ba84,this[_0x1eecb0(0x33c)]();}[_0x718440(0x33c)](){const _0x4e5e55=_0x718440;this[_0x4e5e55(0x503)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x5b9bed=>{const _0x12b38b=_0x4e5e55;if(_0x5b9bed['id']===_0x11447f['RemoveSheetCommand']['id']){let _0x1eaee6=(0x0,_0x11447f[_0x12b38b(0x2d8)])(this[_0x12b38b(0x34a)],_0x5b9bed['params']);if(!_0x1eaee6)return{'redos':[],'undos':[]};let {unitId:_0x53eaa0,subUnitId:_0x5c00ae}=_0x1eaee6,_0x465706=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x53eaa0,_0x5c00ae),_0x32335b=Object[_0x12b38b(0x32c)](_0x465706)['filter'](_0x57015d=>_0x57015d[_0x12b38b(0x37f)]===_0x567e1d[_0x12b38b(0x2f1)]['DRAWING_SHAPE']);if(_0x32335b[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x1e6879=[],_0x4f8aab=[];for(let _0x4b1578=0x0;_0x4b1578<_0x32335b[_0x12b38b(0x212)];_0x4b1578++){let _0x312d3d=_0x32335b[_0x4b1578],_0x40431e=this[_0x12b38b(0x4cd)]['getShapeModel'](_0x312d3d[_0x12b38b(0x45d)],_0x312d3d[_0x12b38b(0x31f)],_0x312d3d[_0x12b38b(0x25d)]);_0x40431e&&(_0x1e6879[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId']}}),_0x4f8aab[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x53eaa0,'subUnitId':_0x5c00ae,'shapeId':_0x312d3d['drawingId'],'shapeType':_0x40431e[_0x12b38b(0x43a)](),'shapeData':JSON[_0x12b38b(0x2f8)](JSON[_0x12b38b(0x1ee)](_0x40431e[_0x12b38b(0x1e2)]()))}}));}return{'redos':_0x1e6879,'undos':_0x4f8aab};}if(_0x5b9bed['id']===_0x11447f[_0x12b38b(0x365)]['id']){let {unitId:_0x85916d,subUnitId:_0x439f7e,targetSubUnitId:_0x41e2bf,copyContext:_0x273f21}=_0x5b9bed[_0x12b38b(0x247)];if(!_0x85916d||!_0x439f7e||!_0x41e2bf)return{'redos':[],'undos':[]};let _0x42c41f=this['_sheetDrawingService'][_0x12b38b(0x46f)](_0x85916d,_0x439f7e),_0x1671d1=Object[_0x12b38b(0x32c)](_0x42c41f)[_0x12b38b(0x3c1)](_0x5f159d=>_0x5f159d[_0x12b38b(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x12b38b(0x20f)]);if(_0x1671d1[_0x12b38b(0x212)]===0x0)return{'redos':[],'undos':[]};let _0x6aaf80=_0x2143ad(_0x273f21,_0x1671d1,{'unitId':_0x85916d,'sourceSubUnitId':_0x439f7e,'targetSubUnitId':_0x41e2bf},_0x4578d2=>{const _0x4e2e5b=_0x12b38b;let _0x4c963f=this[_0x4e2e5b(0x4cd)][_0x4e2e5b(0x459)](_0x4578d2['unitId'],_0x4578d2[_0x4e2e5b(0x31f)],_0x4578d2[_0x4e2e5b(0x25d)]);if(_0x4c963f)return{'shapeType':_0x4c963f[_0x4e2e5b(0x43a)](),'shapeData':JSON['parse'](JSON[_0x4e2e5b(0x1ee)](_0x4c963f[_0x4e2e5b(0x1e2)]()))};}),_0x3ea276=[],_0x15bfea=[];for(let {targetShapeId:_0xf73f28,source:_0x227cb1}of _0x6aaf80)_0x3ea276[_0x12b38b(0x217)]({'id':_0x239f56[_0x12b38b(0x2cf)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28,'shapeType':_0x227cb1[_0x12b38b(0x3d5)],'shapeData':_0x227cb1[_0x12b38b(0x522)]}}),_0x15bfea['push']({'id':_0x239f56[_0x12b38b(0x4ea)]['id'],'params':{'unitId':_0x85916d,'subUnitId':_0x41e2bf,'shapeId':_0xf73f28}});return{'redos':_0x3ea276,'undos':_0x15bfea};}return{'redos':[],'undos':[]};}}));}};_0x256f6f=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x32e)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f['SheetInterceptorService'])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323[_0x718440(0x3ee)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x256f6f);let _0x55730e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x57cfef,_0x2781e6,_0x44de97,_0x3417a1,_0x5c9beb,_0x1f5dc8){const _0x77fd7b=_0x718440;super(),this['_commandService']=_0x57cfef,this[_0x77fd7b(0x57e)]=_0x2781e6,this[_0x77fd7b(0x2a8)]=_0x44de97,this[_0x77fd7b(0x31c)]=_0x3417a1,this[_0x77fd7b(0x2d7)]=_0x5c9beb,this[_0x77fd7b(0x1ab)]=_0x1f5dc8,_0x55cc91(this,_0x77fd7b(0x575),new Set()),this[_0x77fd7b(0x4e4)]();}['_initialize'](){const _0x435f4b=_0x718440;this[_0x435f4b(0x507)](),this[_0x435f4b(0x3e7)](),this[_0x435f4b(0x558)]();}[_0x718440(0x507)](){const _0x3d6bf3=_0x718440;this['disposeWithMe'](this[_0x3d6bf3(0x2a8)][_0x3d6bf3(0x577)][_0x3d6bf3(0x374)](_0x3db9cc=>{const _0x4ea48c=_0x3d6bf3;this[_0x4ea48c(0x2d2)](_0x3db9cc);}));}[_0x718440(0x3e7)](){const _0xa0b407=_0x718440;this['disposeWithMe'](this[_0xa0b407(0x594)][_0xa0b407(0x4c2)]((_0x42a544,_0x3bf7fd)=>{const _0x367c9e=_0xa0b407;if(_0x42a544['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x39ba68,subUnitId:_0x425685,shapeId:_0x4700b1}=_0x42a544[_0x367c9e(0x247)],_0x19cdd0=this[_0x367c9e(0x33e)](_0x39ba68),_0x4295dc=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x39ba68,'subUnitId':_0x425685,'drawingId':_0x4700b1}),_0x49ee53=_0x19cdd0==null?void 0x0:_0x19cdd0['scene'][_0x367c9e(0x566)](_0x4295dc);_0x49ee53&&(this[_0x367c9e(0x1ab)][_0x367c9e(0x432)](_0x49ee53),this['_sheetDrawingShapeRenderController'][_0x367c9e(0x307)](_0x49ee53,{'unitId':_0x39ba68,'subUnitId':_0x425685,'shapeId':_0x4700b1}),_0x49ee53[_0x367c9e(0x3ce)](!0x0));return;}if(_0x42a544['id']===_0x239f56[_0x367c9e(0x2cf)]['id']){var _0x3de617;let {unitId:_0x324346,subUnitId:_0x2ba7e7,shapeId:_0x4ac4dc}=_0x42a544['params'],_0x273a40=this[_0x367c9e(0x33e)](_0x324346);if(_0x273a40==null)return;let {scene:_0x4da251}=_0x273a40,_0x5e2ff1=(0x0,_0x36b4c7[_0x367c9e(0x56c)])({'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}),_0x49f26b=_0x4da251[_0x367c9e(0x566)](_0x5e2ff1);if(!((_0x3de617=this[_0x367c9e(0x57e)]['getRenderUnitById'](_0x324346))!=null&&_0x3de617[_0x367c9e(0x549)](_0x17eed7[_0x367c9e(0x204)])[_0x367c9e(0x50e)](_0x2ba7e7)))return!0x1;if(_0x49f26b)return;if(_0x3bf7fd!=null&&_0x3bf7fd[_0x367c9e(0x390)]){queueMicrotask(()=>{const _0x3e8f56=_0x367c9e;this[_0x3e8f56(0x4d8)]||this[_0x3e8f56(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);});return;}this[_0x367c9e(0x2d2)]([{'unitId':_0x324346,'subUnitId':_0x2ba7e7,'drawingId':_0x4ac4dc}]);}}));}[_0x718440(0x558)](){const _0x37874e=_0x718440;this[_0x37874e(0x503)](this[_0x37874e(0x2a8)][_0x37874e(0x518)]['subscribe'](_0x3ba16b=>{_0x3ba16b['forEach'](_0x2de913=>{const _0x50af1c=_0x49ca;let {unitId:_0x48971e,subUnitId:_0x509f6f,drawingId:_0x329f95}=_0x2de913,_0x1585ca=this[_0x50af1c(0x2a8)][_0x50af1c(0x37d)](_0x2de913);if(_0x1585ca==null)return;let {transform:_0x3fad89,drawingType:_0x188c47,srcRect:_0x1dc484,prstGeom:_0x756557}=_0x1585ca;if(_0x188c47!==_0x567e1d[_0x50af1c(0x2f1)][_0x50af1c(0x20f)])return;let _0xc54c23=this['_getSceneAndTransformerByDrawingSearch'](_0x48971e);if(_0xc54c23==null)return;let {scene:_0x4d8aaf,transformer:_0x500a56}=_0xc54c23;if(_0x3fad89==null)return!0x0;let _0x31446d=(0x0,_0x36b4c7[_0x50af1c(0x56c)])({'unitId':_0x48971e,'subUnitId':_0x509f6f,'drawingId':_0x329f95}),_0x457774=_0x4d8aaf[_0x50af1c(0x566)](_0x31446d);if(_0x457774==null)return!0x0;_0x457774[_0x50af1c(0x3ba)](_0x1dc484),_0x457774[_0x50af1c(0x2ce)](_0x756557);});}));}[_0x718440(0x2d2)](_0xac3d25){const _0x1f6c3a=_0x718440;for(let _0x153b8b of _0xac3d25){var _0x4944ca;let {unitId:_0x13fbb5,subUnitId:_0xd56239,drawingId:_0x1918ab}=_0x153b8b,_0xf59a0f=this[_0x1f6c3a(0x33e)](_0x13fbb5),_0x43f9ea=(_0x4944ca=(0x0,_0x44d5e4[_0x1f6c3a(0x4f4)])(this['_currentUniverService'],_0x13fbb5))==null?void 0x0:_0x4944ca[_0x1f6c3a(0x31f)];if(_0xf59a0f==null||_0x43f9ea!==_0xd56239)return;let _0x44e89b=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x13fbb5,'subUnitId':_0xd56239,'drawingId':_0x1918ab});if(this[_0x1f6c3a(0x575)]['has'](_0x44e89b)||_0xf59a0f[_0x1f6c3a(0x53c)][_0x1f6c3a(0x566)](_0x44e89b)!=null)return;let _0x3741e3=this[_0x1f6c3a(0x2a8)]['getDrawingByParam'](_0x153b8b);if(_0x3741e3==null||_0x3741e3['drawingType']!==_0x567e1d[_0x1f6c3a(0x2f1)]['DRAWING_SHAPE'])return;let _0x2d327c=_0x3741e3['data']||{};if((0x0,_0x34f551[_0x1f6c3a(0x22d)])(_0x2d327c[_0x1f6c3a(0x3d5)])){let _0x389690=_0x3741e3[_0x1f6c3a(0x4c7)];_0x389690&&(_0x3741e3[_0x1f6c3a(0x4c7)]={..._0x389690,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x1f6c3a(0x575)]['add'](_0x44e89b);try{this['_sheetDrawingShapeRenderController'][_0x1f6c3a(0x2a0)](_0x3741e3,_0xf59a0f[_0x1f6c3a(0x53c)]);}finally{this['_insertingShapeKeys'][_0x1f6c3a(0x1c5)](_0x44e89b);}queueMicrotask(()=>{const _0x2ce21c=_0x1f6c3a;if(this[_0x2ce21c(0x4d8)])return;let _0x17f995=(0x0,_0x36b4c7[_0x2ce21c(0x56c)])(_0x153b8b);if(!_0xf59a0f[_0x2ce21c(0x53c)]['getObjectIncludeInGroup'](_0x17f995))return;let _0x16bcb4=this['_drawingManagerService']['getDrawingByParam'](_0x153b8b);_0x16bcb4&&this['_drawingManagerService']['refreshTransform']([_0x16bcb4]);});}}[_0x718440(0x33e)](_0x44151b){const _0x17301e=_0x718440;if(_0x44151b==null)return;let _0x2044fc=this[_0x17301e(0x57e)]['getRenderUnitById'](_0x44151b),_0x277864=_0x2044fc==null?void 0x0:_0x2044fc[_0x17301e(0x53c)];return _0x277864==null?null:{'scene':_0x277864,'transformer':_0x277864[_0x17301e(0x202)]()};}};_0x55730e=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x1,_0x3e5eae['IRenderManagerService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x44d5e4[_0x718440(0x2f0)])),_0x519f13(0x5,(0x0,_0x567e1d['Inject'])(_0x29d254))],_0x55730e);let _0x46de3a={'normal':{'fill':_0x34f551[_0x718440(0x526)][_0x718440(0x4f3)],'stroke':_0x34f551[_0x718440(0x526)][_0x718440(0x260)],'strokeWidth':_0x34f551[_0x718440(0x526)][_0x718440(0x273)]},'highlighted':{'fill':_0x718440(0x25f),'stroke':_0x718440(0x4a7),'strokeWidth':0x2}};var _0x564523=class extends _0x3e5eae['Shape']{constructor(_0x6508af,_0x25cde1){const _0x29d7d6=_0x718440;super(_0x6508af,_0x25cde1),_0x55cc91(this,_0x29d7d6(0x506),''),_0x55cc91(this,_0x29d7d6(0x334),-0x1),_0x55cc91(this,'_unitId',''),_0x55cc91(this,_0x29d7d6(0x545),''),_0x55cc91(this,_0x29d7d6(0x42f),!0x1),_0x25cde1&&this['setShapeProps'](_0x25cde1);}['getConnectionInfo'](){const _0x3cf5d7=_0x718440;return{'unitId':this[_0x3cf5d7(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x3cf5d7(0x334)]};}[_0x718440(0x3d8)](_0x1997be){const _0x4077f9=_0x718440;this[_0x4077f9(0x42f)]!==_0x1997be&&(this[_0x4077f9(0x42f)]=_0x1997be,this[_0x4077f9(0x3ce)](!0x0));}[_0x718440(0x50d)](){return this['_isHighlighted'];}['setShapeProps'](_0x290606){const _0x3d1be8=_0x718440;_0x290606[_0x3d1be8(0x27f)]!==void 0x0&&(this['_targetShapeId']=_0x290606['targetShapeId']),_0x290606[_0x3d1be8(0x2e1)]!==void 0x0&&(this[_0x3d1be8(0x334)]=_0x290606['cxnIndex']),_0x290606[_0x3d1be8(0x45d)]!==void 0x0&&(this[_0x3d1be8(0x527)]=_0x290606[_0x3d1be8(0x45d)]),_0x290606[_0x3d1be8(0x31f)]!==void 0x0&&(this['_subUnitId']=_0x290606[_0x3d1be8(0x31f)]),_0x290606[_0x3d1be8(0x50d)]!==void 0x0&&(this[_0x3d1be8(0x42f)]=_0x290606[_0x3d1be8(0x50d)]),this[_0x3d1be8(0x2d4)]({'width':_0x290606[_0x3d1be8(0x3d1)]??_0x34f551[_0x3d1be8(0x526)]['cxnPointRadius']*0x2,'height':_0x290606['height']??_0x34f551[_0x3d1be8(0x526)][_0x3d1be8(0x41d)]*0x2});}[_0x718440(0x250)](_0xe13f3a){const _0x1663ef=_0x718440;let _0x46b7aa=this[_0x1663ef(0x42f)]?_0x46de3a['highlighted']:_0x46de3a[_0x1663ef(0x4ce)];_0x3e5eae[_0x1663ef(0x233)][_0x1663ef(0x578)](_0xe13f3a,{'radius':_0x34f551[_0x1663ef(0x526)][_0x1663ef(0x41d)],'fill':_0x46b7aa[_0x1663ef(0x3a0)],'stroke':_0x46b7aa['stroke'],'strokeWidth':_0x46b7aa['strokeWidth'],'evented':!0x0});}};let _0x39d55c=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x42bdbf,_0x4ecf48,_0x2d8b84,_0x179ed5){const _0x52b899=_0x718440;super(),this[_0x52b899(0x2f6)]=_0x42bdbf,this['_renderManagerService']=_0x4ecf48,this['_drawingManagerService']=_0x2d8b84,this[_0x52b899(0x4cd)]=_0x179ed5,_0x55cc91(this,_0x52b899(0x1f4),[]),_0x55cc91(this,_0x52b899(0x544),null),_0x55cc91(this,_0x52b899(0x373),-0x1),_0x55cc91(this,_0x52b899(0x1ad),null),_0x55cc91(this,_0x52b899(0x527),''),_0x55cc91(this,_0x52b899(0x545),''),_0x55cc91(this,_0x52b899(0x3cd),null);}[_0x718440(0x3e9)](_0x52b572,_0x6e35a9,_0x9365b7,_0x20d365){const _0x2953c5=_0x718440;this[_0x2953c5(0x1ad)]=_0x52b572,this[_0x2953c5(0x527)]=_0x6e35a9,this[_0x2953c5(0x545)]=_0x9365b7,this['_draggingConnectorId']=_0x20d365;}[_0x718440(0x54f)](_0x352641){const _0x5ec69a=_0x718440;if(!this['_currentScene'])return null;let _0x4002c9=this['_findShapeAtPoint'](_0x352641);return _0x4002c9?(this[_0x5ec69a(0x544)]!==_0x4002c9['shapeId']&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x2f7)](_0x4002c9[_0x5ec69a(0x1fd)],_0x4002c9[_0x5ec69a(0x3e0)]),this[_0x5ec69a(0x544)]=_0x4002c9[_0x5ec69a(0x1fd)]),this[_0x5ec69a(0x21b)](_0x352641)):(this[_0x5ec69a(0x544)]!==null&&(this[_0x5ec69a(0x581)](),this[_0x5ec69a(0x544)]=null),null);}[_0x718440(0x346)](){const _0x14b845=_0x718440;this[_0x14b845(0x581)](),this['_currentScene']=null,this[_0x14b845(0x544)]=null,this[_0x14b845(0x373)]=-0x1,this[_0x14b845(0x3cd)]=null;}['getConnectionRelation'](){const _0xf27d91=_0x718440;return this['_activeTargetShapeId']===null||this[_0xf27d91(0x373)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0xf27d91(0x373)]};}[_0x718440(0x3dc)](_0x3c9e73){const _0x2032fe=_0x718440;let _0x4d07ad=this['_drawingManagerService'][_0x2032fe(0x46f)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)]);for(let _0x210e6 of Object[_0x2032fe(0x337)](_0x4d07ad)){if(_0x210e6===this['_draggingConnectorId']||_0x4d07ad[_0x210e6][_0x2032fe(0x37f)]!==_0x567e1d[_0x2032fe(0x2f1)][_0x2032fe(0x20f)])continue;let _0x5b6557=this['_sheetsShapeService'][_0x2032fe(0x459)](this[_0x2032fe(0x527)],this[_0x2032fe(0x545)],_0x210e6);if(!_0x5b6557||(0x0,_0x34f551[_0x2032fe(0x22d)])(_0x5b6557[_0x2032fe(0x43a)]())||_0x5b6557[_0x2032fe(0x4af)]()['length']===0x0||!this[_0x2032fe(0x1ad)])continue;let _0x55d597=(0x0,_0x36b4c7[_0x2032fe(0x56c)])({'unitId':this[_0x2032fe(0x527)],'subUnitId':this[_0x2032fe(0x545)],'drawingId':_0x210e6}),_0x3922e8=this[_0x2032fe(0x1ad)][_0x2032fe(0x566)](_0x55d597);if(!_0x3922e8)continue;let {left:_0x190e6c,top:_0x22e0a3,width:_0x50d177,height:_0x3168ba}=_0x3922e8[_0x2032fe(0x2e7)](),_0x2b88ef=_0x190e6c+_0x50d177/0x2,_0x14f258=_0x22e0a3+_0x3168ba/0x2,_0x9650b8=_0x3922e8[_0x2032fe(0x4c7)][_0x2032fe(0x278)](),_0x2afd4a=new _0x3e5eae[(_0x2032fe(0x218))]([_0x9650b8[0x0],_0x9650b8[0x1],_0x9650b8[0x2],_0x9650b8[0x3],_0x2b88ef,_0x14f258]),_0x6ad1d5=_0x3922e8[_0x2032fe(0x4b6)](),_0x210c3c=(_0x3922e8[_0x2032fe(0x4f9)]&&(_0x6ad1d5==null?void 0x0:_0x6ad1d5[_0x2032fe(0x2be)])===_0x3e5eae['RENDER_CLASS_TYPE'][_0x2032fe(0x290)]?_0x6ad1d5[_0x2032fe(0x524)][_0x2032fe(0x4e3)](_0x2afd4a):_0x2afd4a)[_0x2032fe(0x404)]()[_0x2032fe(0x2a2)](_0x3c9e73),_0x27c107=_0x50d177/0x2,_0x58cc90=_0x3168ba/0x2;if(_0x210c3c['x']>=-_0x27c107-0x5&&_0x210c3c['x']<=_0x27c107+0x5&&_0x210c3c['y']>=-_0x58cc90-0x5&&_0x210c3c['y']<=_0x58cc90+0x5)return{'shapeId':_0x210e6,'shapeModel':_0x5b6557};}return null;}[_0x718440(0x2f7)](_0x3edee3,_0x33da99){const _0x5ad554=_0x718440;if(!this[_0x5ad554(0x1ad)])return;let _0x235e02=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'drawingId':_0x3edee3}),_0x291f25=this['_currentScene'][_0x5ad554(0x566)](_0x235e02);if(!_0x291f25)return;let {left:_0x30e946,top:_0x26e18d,width:_0x31dd2a,height:_0x2fad70}=_0x291f25[_0x5ad554(0x2e7)](),_0x4ca327=_0x30e946+_0x31dd2a/0x2,_0x3a4bcb=_0x26e18d+_0x2fad70/0x2,_0x59210a=_0x291f25[_0x5ad554(0x4c7)][_0x5ad554(0x278)](),_0x1a9e8c=new _0x3e5eae[(_0x5ad554(0x218))]([_0x59210a[0x0],_0x59210a[0x1],_0x59210a[0x2],_0x59210a[0x3],_0x4ca327,_0x3a4bcb]),_0x46c0d9=_0x291f25[_0x5ad554(0x4b6)](),_0x394e10=_0x291f25[_0x5ad554(0x4f9)]&&(_0x46c0d9==null?void 0x0:_0x46c0d9[_0x5ad554(0x2be)])===_0x3e5eae[_0x5ad554(0x281)]['GROUP']?_0x46c0d9[_0x5ad554(0x524)][_0x5ad554(0x4e3)](_0x1a9e8c):_0x1a9e8c;_0x33da99[_0x5ad554(0x1bc)]({'width':_0x31dd2a,'height':_0x2fad70});let _0x57ca5c=_0x33da99['getConnectionSiteList']();for(let _0x4e863f of _0x57ca5c){let _0x4a6b95=_0x4e863f['x']-_0x31dd2a/0x2,_0x3b2702=_0x4e863f['y']-_0x2fad70/0x2,_0x14d865=_0x394e10[_0x5ad554(0x2a2)]({'x':_0x4a6b95,'y':_0x3b2702}),_0x320858=_0x14d865['x'],_0x48d816=_0x14d865['y'],_0x4b2775=new _0x564523(_0x5ad554(0x3f8)+_0x3edee3+'-'+_0x4e863f[_0x5ad554(0x3ad)],{'left':_0x320858-_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)],'top':_0x48d816-_0x34f551[_0x5ad554(0x526)]['cxnPointRadius'],'targetShapeId':_0x3edee3,'cxnIndex':_0x4e863f[_0x5ad554(0x3ad)],'unitId':this[_0x5ad554(0x527)],'subUnitId':this[_0x5ad554(0x545)],'width':_0x34f551[_0x5ad554(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x5ad554(0x526)][_0x5ad554(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x5ad554(0x533)]+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5ad554(0x217)](_0x4b2775),this[_0x5ad554(0x1ad)][_0x5ad554(0x1f1)](_0x4b2775,_0x3e5eae[_0x5ad554(0x533)]+0x2);}}['_findNearestConnectionSite'](_0x2102fd){const _0x4f5f67=_0x718440;let _0x29edc4=null,_0x283d67=0x1/0x0,_0x3b01f7=null;for(let _0x52b763 of this['_connectionSiteObjects']){let _0x2395f6=_0x52b763[_0x4f5f67(0x242)]+_0x34f551[_0x4f5f67(0x526)][_0x4f5f67(0x41d)],_0x257c57=_0x52b763[_0x4f5f67(0x4b1)]+_0x34f551['ShapeDefaultConfig'][_0x4f5f67(0x41d)],_0x13c2c0=_0x2102fd['x']-_0x2395f6,_0x1fee65=_0x2102fd['y']-_0x257c57,_0x14a14d=Math['sqrt'](_0x13c2c0*_0x13c2c0+_0x1fee65*_0x1fee65);_0x14a14d<_0x283d67&&(_0x283d67=_0x14a14d,_0x29edc4=_0x52b763,_0x3b01f7={'x':_0x2395f6,'y':_0x257c57});}let _0x155b09=_0x283d67<=0xa&&_0x29edc4?_0x29edc4[_0x4f5f67(0x57c)]()[_0x4f5f67(0x2e1)]:-0x1;if(_0x155b09!==this[_0x4f5f67(0x373)]){for(let _0x52155f of this[_0x4f5f67(0x1f4)]){let _0x204a39=_0x52155f[_0x4f5f67(0x57c)]();_0x52155f[_0x4f5f67(0x3d8)](_0x204a39[_0x4f5f67(0x2e1)]===_0x155b09);}this[_0x4f5f67(0x373)]=_0x155b09;}if(_0x283d67<=0xa&&_0x29edc4&&_0x3b01f7){let _0x273d3d=_0x29edc4['getConnectionInfo'](),_0x1e5211=this[_0x4f5f67(0x1b7)](_0x273d3d[_0x4f5f67(0x1fd)],_0x273d3d[_0x4f5f67(0x2e1)]);return{'shapeId':_0x273d3d[_0x4f5f67(0x1fd)],'cxnIndex':_0x273d3d['cxnIndex'],'unitId':_0x273d3d[_0x4f5f67(0x45d)],'subUnitId':_0x273d3d[_0x4f5f67(0x31f)],'worldPoint':_0x3b01f7,'angle':_0x1e5211};}return null;}[_0x718440(0x1b7)](_0x15c08c,_0xdc4e44){const _0x13ea68=_0x718440;let _0x530ef7=this[_0x13ea68(0x4cd)][_0x13ea68(0x459)](this['_unitId'],this['_subUnitId'],_0x15c08c);if(!_0x530ef7)return 0x0;let _0x396bec=this[_0x13ea68(0x2a8)][_0x13ea68(0x37d)]({'unitId':this[_0x13ea68(0x527)],'subUnitId':this[_0x13ea68(0x545)],'drawingId':_0x15c08c});if(!(_0x396bec!=null&&_0x396bec[_0x13ea68(0x4c7)]))return 0x0;let {width:_0x520e9d=0x0,height:_0x4bd951=0x0,flipX:_0x27017b=!0x1,flipY:_0x4573d5=!0x1}=_0x396bec['transform'];_0x530ef7[_0x13ea68(0x1bc)]({'width':_0x520e9d,'height':_0x4bd951});let _0x8b833=_0x530ef7[_0x13ea68(0x4af)]()['find'](_0x5af804=>_0x5af804[_0x13ea68(0x3ad)]===_0xdc4e44);if(!_0x8b833)return 0x0;let _0x11ceff=_0x8b833['ang']/0xea60;return _0x27017b&&(_0x11ceff=0xb4-_0x11ceff),_0x4573d5&&(_0x11ceff=-_0x11ceff),_0x11ceff=(_0x11ceff%0x168+0x168)%0x168,_0x11ceff;}[_0x718440(0x581)](){const _0x41a953=_0x718440;for(let _0x36bf60 of this['_connectionSiteObjects'])_0x36bf60[_0x41a953(0x4dd)]();this[_0x41a953(0x1f4)]=[],this[_0x41a953(0x373)]=-0x1;}[_0x718440(0x4dd)](){const _0x20d617=_0x718440;this[_0x20d617(0x581)](),super[_0x20d617(0x4dd)]();}};_0x39d55c=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x3e5eae[_0x718440(0x39e)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36b4c7['IDrawingManagerService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)]))],_0x39d55c);let _0x19fd0d=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x131d70,_0x3b1f53,_0x19eff8,_0x4f1cc4,_0x454c62){const _0x4bfcb6=_0x718440;super(),this['_sheetSkeletonService']=_0x131d70,this[_0x4bfcb6(0x51f)]=_0x3b1f53,this[_0x4bfcb6(0x539)]=_0x19eff8,this[_0x4bfcb6(0x1fe)]=_0x4f1cc4,this[_0x4bfcb6(0x498)]=_0x454c62,_0x55cc91(this,_0x4bfcb6(0x36e),void 0x0),this['_initCopyPaste'](),this[_0x4bfcb6(0x56b)]();}get[_0x718440(0x431)](){const _0x47bd9c=_0x718440;return this[_0x47bd9c(0x539)]['getFocusDrawings']();}[_0x718440(0x56b)](){const _0xfd2d52=_0x718440;this[_0xfd2d52(0x498)]['registerFeaturePasteHook'](({fromUnitId:_0x324aed,fromSubUnitId:_0x3b1c59,toUnitId:_0xa02c03,toSubUnitId:_0x188780,idMap:_0x2b9160})=>{const _0x4af2f7=_0xfd2d52;let _0x1c36f7=[],_0x2c0ea5=[];for(let [_0x5b993d,_0xe81d4b]of _0x2b9160[_0x4af2f7(0x1f9)]()){let _0xe05b0f=this['_shapeService'][_0x4af2f7(0x459)](_0x324aed,_0x3b1c59,_0x5b993d);if(!_0xe05b0f)continue;let _0xa59f8e=_0xe05b0f['getShapeType'](),_0x273357=JSON[_0x4af2f7(0x2f8)](JSON[_0x4af2f7(0x1ee)](_0xe05b0f[_0x4af2f7(0x1e2)]()));if(_0x273357['relation']){var _0x20bb60,_0x5ba594;let _0x58fd8d=(_0x20bb60=_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)])==null?void 0x0:_0x20bb60[_0x4af2f7(0x1fd)],_0x4978df=(_0x5ba594=_0x273357[_0x4af2f7(0x1f7)]['to'])==null?void 0x0:_0x5ba594[_0x4af2f7(0x1fd)],_0x53277c=!_0x58fd8d||_0x2b9160['has'](_0x58fd8d),_0x236a97=!_0x4978df||_0x2b9160[_0x4af2f7(0x40d)](_0x4978df);_0x53277c&&_0x58fd8d&&_0x273357[_0x4af2f7(0x1f7)][_0x4af2f7(0x47c)]?_0x273357[_0x4af2f7(0x1f7)]['from']={..._0x273357['relation'][_0x4af2f7(0x47c)],'shapeId':_0x2b9160['get'](_0x58fd8d)}:_0x273357['relation'][_0x4af2f7(0x47c)]=void 0x0,_0x236a97&&_0x4978df&&_0x273357['relation']['to']?_0x273357[_0x4af2f7(0x1f7)]['to']={..._0x273357['relation']['to'],'shapeId':_0x2b9160[_0x4af2f7(0x39f)](_0x4978df)}:_0x273357[_0x4af2f7(0x1f7)]['to']=void 0x0;}_0x1c36f7[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x2cf)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b,'shapeType':_0xa59f8e,'shapeData':_0x273357}}),_0x2c0ea5[_0x4af2f7(0x217)]({'id':_0x239f56[_0x4af2f7(0x4ea)]['id'],'params':{'unitId':_0xa02c03,'subUnitId':_0x188780,'shapeId':_0xe81d4b}});}return{'redos':_0x1c36f7,'undos':_0x2c0ea5};});}['_initCopyPaste'](){const _0x167e52=_0x718440;this[_0x167e52(0x503)](this[_0x167e52(0x51f)][_0x167e52(0x42c)]({'id':_0x167e52(0x2ed),'onBeforeCopyFocusedObject':(_0x30fb80,_0x4fecf1,_0x422b03)=>{const _0x3649f4=_0x167e52;this[_0x3649f4(0x36e)]=null;let _0x2cd14f=this[_0x3649f4(0x431)][_0x3649f4(0x3c1)](_0x39a81c=>_0x39a81c[_0x3649f4(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x3649f4(0x20f)]);return _0x2cd14f[_0x3649f4(0x212)]!==0x0&&(this[_0x3649f4(0x36e)]={'unitId':_0x30fb80,'subUnitId':_0x4fecf1,'copyType':_0x422b03,'drawings':_0x2cd14f},!0x0);},'onBeforeCopy':(_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f)=>{const _0x55bf2c=_0x167e52;this[_0x55bf2c(0x36e)]=null,this[_0x55bf2c(0x20c)](_0x3dfdb1,_0x380068,_0x14f469,_0x2a522f);},'onPasteCells':(_0x58dda0,_0x4e382b,_0x8575ef,_0x142f7a)=>{const _0x2030e6=_0x167e52;if(!_0x142f7a[_0x2030e6(0x2d6)]||!_0x58dda0||!this[_0x2030e6(0x36e)])return{'redos':[],'undos':[]};let {pasteType:_0x1a04f5}=_0x142f7a;return _0x1a04f5===_0x17eed7[_0x2030e6(0x1c8)][_0x2030e6(0x272)]?this[_0x2030e6(0x325)](_0x4e382b,this[_0x2030e6(0x36e)][_0x2030e6(0x517)]===_0x17eed7[_0x2030e6(0x39b)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x718440(0x20c)](_0x54389e,_0x3a852e,_0x3dde9f,_0x50612c){const _0x34cabc=_0x718440;let _0x129976=this[_0x34cabc(0x2aa)][_0x34cabc(0x50e)](_0x54389e,_0x3a852e);if(!_0x129976)return;let _0xaf5ea=(0x0,_0x11447f[_0x34cabc(0x4a9)])(_0x129976,_0x3dde9f);if(!_0xaf5ea)return;let {startX:_0x2b39f2,endX:_0x440fa6,startY:_0x284c6d,endY:_0x1e5d42}=_0xaf5ea,_0x579c3b=this[_0x34cabc(0x539)][_0x34cabc(0x46f)](_0x54389e,_0x3a852e),_0x137990=[];for(let [_0x418561,_0x22910e]of Object[_0x34cabc(0x1f9)](_0x579c3b)){if(_0x22910e[_0x34cabc(0x37f)]!==_0x567e1d[_0x34cabc(0x2f1)]['DRAWING_SHAPE'])continue;let {transform:_0x38b585}=_0x22910e;if(!_0x38b585)continue;let {left:_0x35c6d6=0x0,top:_0x3eb2d0=0x0,width:_0x2d1d1c=0x0,height:_0x54c05b=0x0}=_0x38b585;_0x2b39f2<=_0x35c6d6&&_0x440fa6>=_0x35c6d6+_0x2d1d1c&&_0x284c6d<=_0x3eb2d0&&_0x1e5d42>=_0x3eb2d0+_0x54c05b&&_0x137990[_0x34cabc(0x217)](_0x22910e);}_0x137990['length']>0x0&&(this[_0x34cabc(0x36e)]={'unitId':_0x54389e,'subUnitId':_0x3a852e,'copyType':_0x50612c,'copyRange':_0x3dde9f,'drawings':_0x137990});}['_generatePasteMutations'](_0xd7fd,_0x58e5f7){const _0x51a74c=_0x718440;let {unitId:_0x4ef1b9,subUnitId:_0x25c88c,range:_0x27b73c}=_0xd7fd,_0x3de53a=this[_0x51a74c(0x2aa)]['getSkeleton'](_0x4ef1b9,_0x25c88c);if(!_0x3de53a)return{'redos':[],'undos':[]};let _0x3eb854=(0x0,_0x11447f[_0x51a74c(0x4d3)])(_0x27b73c),{unitId:_0x1ea1f7,subUnitId:_0x58a177,copyRange:_0x487332,drawings:_0x441a61}=this[_0x51a74c(0x36e)],_0x3f1030=this['_sheetSkeletonService'][_0x51a74c(0x50e)](_0x1ea1f7,_0x58a177);if(!_0x3f1030)return{'redos':[],'undos':[]};let _0x3c5872;if(!_0x487332){let _0x2ef3a9=0x1/0x0,_0x4a9c3d=0x1/0x0;for(let _0x172ed2 of _0x441a61){let {left:_0x2353d6=0x0,top:_0x4b3aab=0x0}=_0x172ed2[_0x51a74c(0x4c7)]??{};_0x2353d6<_0x2ef3a9&&(_0x2ef3a9=_0x2353d6),_0x4b3aab<_0x4a9c3d&&(_0x4a9c3d=_0x4b3aab);}_0x2ef3a9!==0x1/0x0&&_0x4a9c3d!==0x1/0x0&&(_0x3c5872={'left':_0x2ef3a9,'top':_0x4a9c3d});}let _0x38b640=new Map();if(!_0x58e5f7){for(let _0x3886b3 of _0x441a61)_0x38b640[_0x51a74c(0x327)](_0x3886b3[_0x51a74c(0x25d)],(0x0,_0x567e1d[_0x51a74c(0x368)])());}let _0x426e06=[],_0x3e0253=[];for(let _0x333fbc of _0x441a61){let {drawingId:_0x516c6b,transform:_0x37dbcf,sheetTransform:_0x195052}=_0x333fbc;if(!_0x37dbcf||!_0x195052)continue;let _0xe723ff=this['_updateTransform']({'transform':_0x37dbcf,'sheetTransform':_0x195052},{'skeleton':_0x3f1030,'range':_0x487332},{'skeleton':_0x3de53a,'range':_0x3eb854},_0x3c5872);if(_0x58e5f7){let {redos:_0x2a4b1d,undos:_0x21a791}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ea1f7,'fromSubUnitId':_0x58a177,'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff});_0x426e06[_0x51a74c(0x217)](..._0x2a4b1d),_0x3e0253[_0x51a74c(0x217)](..._0x21a791);continue;}let {redos:_0x2b9812,undos:_0x2b39fd}=this['_generateCopyPasteMutations']({'toUnitId':_0x4ef1b9,'toSubUnitId':_0x25c88c,'drawing':_0x333fbc,'newTransforms':_0xe723ff,'newDrawingId':_0x38b640[_0x51a74c(0x39f)](_0x516c6b),'idMap':_0x38b640});_0x426e06[_0x51a74c(0x217)](..._0x2b9812),_0x3e0253[_0x51a74c(0x217)](..._0x2b39fd);}return{'redos':_0x426e06,'undos':_0x3e0253};}[_0x718440(0x36b)](_0x39bf5e){const _0x48cf9b=_0x718440;let {fromUnitId:_0x53f3f4,fromSubUnitId:_0x336a62,toUnitId:_0x3f7bfb,toSubUnitId:_0x11cc13,drawing:_0x4da2c5,newTransforms:_0x3baf17}=_0x39bf5e,_0x1e9a47={..._0x4da2c5,'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'transform':_0x3baf17['transform'],'sheetTransform':_0x3baf17[_0x48cf9b(0x513)]};if(_0x3f7bfb===_0x53f3f4&&_0x11cc13===_0x336a62){let {redo:_0x218859,undo:_0x10c442,objects:_0x17fd28}=this[_0x48cf9b(0x539)][_0x48cf9b(0x501)]([_0x1e9a47]);return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x218859,'objects':_0x17fd28}}],'undos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x4a1)],'op':_0x10c442,'objects':_0x17fd28}}]};}{let _0x509083=this[_0x48cf9b(0x539)][_0x48cf9b(0x3ed)]([_0x4da2c5]),_0x4843e0=this[_0x48cf9b(0x539)][_0x48cf9b(0x54a)]([_0x1e9a47]),_0x1db6b3=this[_0x48cf9b(0x1fe)][_0x48cf9b(0x459)](_0x4da2c5[_0x48cf9b(0x45d)],_0x4da2c5[_0x48cf9b(0x31f)],_0x4da2c5[_0x48cf9b(0x25d)]);if(!_0x1db6b3)return{'redos':[],'undos':[]};let _0x4050cc=_0x1db6b3[_0x48cf9b(0x43a)](),_0x39bf39=JSON[_0x48cf9b(0x2f8)](JSON[_0x48cf9b(0x1ee)](_0x1db6b3['getShapeData']()));return{'redos':[{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x509083[_0x48cf9b(0x298)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323['DrawingApplyType'][_0x48cf9b(0x29b)],'op':_0x4843e0[_0x48cf9b(0x298)],'objects':_0x4843e0[_0x48cf9b(0x4cc)]}},{'id':_0x239f56['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}}],'undos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x29b)],'op':_0x509083[_0x48cf9b(0x1fc)],'objects':_0x509083[_0x48cf9b(0x4cc)]}},{'id':_0x239f56[_0x48cf9b(0x2cf)]['id'],'params':{'unitId':_0x53f3f4,'subUnitId':_0x336a62,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)],'shapeType':_0x4050cc,'shapeData':_0x39bf39}},{'id':_0x1f8323[_0x48cf9b(0x1ec)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'type':_0x1f8323[_0x48cf9b(0x58b)][_0x48cf9b(0x2b8)],'op':_0x4843e0[_0x48cf9b(0x1fc)],'objects':_0x4843e0['objects']}},{'id':_0x239f56[_0x48cf9b(0x4ea)]['id'],'params':{'unitId':_0x3f7bfb,'subUnitId':_0x11cc13,'shapeId':_0x4da2c5[_0x48cf9b(0x25d)]}}]};}}['_generateCopyPasteMutations'](_0x46927a){const _0x27d564=_0x718440;let {toUnitId:_0x285a07,toSubUnitId:_0x1dbce7,drawing:_0x2e7398,newTransforms:_0x60448a,newDrawingId:_0x3e18f0,idMap:_0x4b9681}=_0x46927a,_0x13315b={..._0x2e7398,'unitId':_0x285a07,'subUnitId':_0x1dbce7,'drawingId':_0x3e18f0,'transform':_0x60448a[_0x27d564(0x4c7)],'sheetTransform':_0x60448a['sheetTransform']},{redo:_0x37c56e,undo:_0x1797bb,objects:_0x2ad823}=this['_sheetDrawingService'][_0x27d564(0x54a)]([_0x13315b]),_0x27393c=this[_0x27d564(0x1fe)]['getShapeModel'](_0x2e7398[_0x27d564(0x45d)],_0x2e7398[_0x27d564(0x31f)],_0x2e7398[_0x27d564(0x25d)]);if(!_0x27393c)return{'redos':[],'undos':[]};let _0x50fcff=_0x27393c[_0x27d564(0x43a)](),_0x322354=JSON[_0x27d564(0x2f8)](JSON['stringify'](_0x27393c[_0x27d564(0x1e2)]()));if(_0x322354[_0x27d564(0x1f7)]){var _0x894a89,_0x19913c;let _0x4ec188=(_0x894a89=_0x322354['relation']['from'])==null?void 0x0:_0x894a89[_0x27d564(0x1fd)],_0x1c24bb=(_0x19913c=_0x322354[_0x27d564(0x1f7)]['to'])==null?void 0x0:_0x19913c[_0x27d564(0x1fd)],_0x19f571=!_0x4ec188||_0x4b9681[_0x27d564(0x40d)](_0x4ec188),_0x5b6c88=!_0x1c24bb||_0x4b9681['has'](_0x1c24bb);_0x19f571&&_0x4ec188&&_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]?_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]={..._0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x4ec188)}:_0x322354[_0x27d564(0x1f7)][_0x27d564(0x47c)]=void 0x0,_0x5b6c88&&_0x1c24bb&&_0x322354['relation']['to']?_0x322354['relation']['to']={..._0x322354[_0x27d564(0x1f7)]['to'],'shapeId':_0x4b9681[_0x27d564(0x39f)](_0x1c24bb)}:_0x322354['relation']['to']=void 0x0;}return{'redos':[{'id':_0x1f8323['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323[_0x27d564(0x58b)][_0x27d564(0x29b)],'op':_0x37c56e,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x2cf)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0,'shapeType':_0x50fcff,'shapeData':_0x322354}}],'undos':[{'id':_0x1f8323[_0x27d564(0x1ec)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'type':_0x1f8323['DrawingApplyType']['REMOVE'],'op':_0x1797bb,'objects':_0x2ad823}},{'id':_0x239f56[_0x27d564(0x4ea)]['id'],'params':{'unitId':_0x285a07,'subUnitId':_0x1dbce7,'shapeId':_0x3e18f0}}]};}[_0x718440(0x3ea)](_0x48de01,_0x24bb0c,_0xf8fea9,_0x3b10a0){const _0x211f22=_0x718440;let {range:_0x5a46b3,skeleton:_0x4c5848}=_0x24bb0c,{range:_0x41343a,skeleton:_0x377bbf}=_0xf8fea9,{transform:_0x32359f,sheetTransform:_0x2aa49d}=_0x48de01,_0x550a62={..._0x32359f};if(_0x5a46b3){let _0x4b2a30=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x4c5848,_0x5a46b3),_0x2d59e3=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x4b2a30&&_0x2d59e3){let _0x52614d=_0x2d59e3[_0x211f22(0x3dd)]-_0x4b2a30['startX'],_0x52a223=_0x2d59e3[_0x211f22(0x42e)]-_0x4b2a30[_0x211f22(0x42e)];_0x550a62['left']=(_0x550a62[_0x211f22(0x242)]??0x0)+_0x52614d,_0x550a62[_0x211f22(0x4b1)]=(_0x550a62[_0x211f22(0x4b1)]??0x0)+_0x52a223;}}else{let _0x26c9a8=(0x0,_0x11447f[_0x211f22(0x4a9)])(_0x377bbf,_0x41343a);if(_0x3b10a0&&_0x26c9a8){let _0x4ff7b1=(_0x550a62[_0x211f22(0x242)]??0x0)-_0x3b10a0['left'],_0x2b5473=(_0x550a62[_0x211f22(0x4b1)]??0x0)-_0x3b10a0[_0x211f22(0x4b1)];_0x550a62[_0x211f22(0x242)]=_0x26c9a8[_0x211f22(0x3dd)]+_0x4ff7b1,_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8['startY']+_0x2b5473;}else _0x550a62['left']=_0x26c9a8==null?void 0x0:_0x26c9a8[_0x211f22(0x3dd)],_0x550a62[_0x211f22(0x4b1)]=_0x26c9a8==null?void 0x0:_0x26c9a8['startY'];}return{'transform':_0x550a62,'sheetTransform':(0x0,_0x1f8323[_0x211f22(0x473)])(_0x550a62,_0x377bbf)??_0x2aa49d};}};_0x19fd0d=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x58c)])),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x3ca)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x1f8323['ISheetDrawingService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x4,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x2ea516[_0x718440(0x33d)]))],_0x19fd0d);var _0x375908=class extends _0x3e5eae[_0x718440(0x53a)]{constructor(_0x46e31f,_0x56a7df){const _0x43b919=_0x718440;super(_0x46e31f,_0x56a7df),_0x55cc91(this,'_shapeId',null),_0x55cc91(this,_0x43b919(0x4c0),null),_0x55cc91(this,'_unitId',null),_0x55cc91(this,_0x43b919(0x545),null),_0x55cc91(this,_0x43b919(0x2fb),!0x1),_0x56a7df&&this[_0x43b919(0x520)](_0x56a7df);}[_0x718440(0x440)](){const _0x1a18a2=_0x718440;return{'unitId':this[_0x1a18a2(0x527)],'subUnitId':this[_0x1a18a2(0x545)],'drawingId':this[_0x1a18a2(0x314)]};}['setShapeProps'](_0x2964e5){const _0x2d2b36=_0x718440;_0x2964e5['shapeId']!==void 0x0&&(this[_0x2d2b36(0x314)]=_0x2964e5[_0x2d2b36(0x1fd)]),_0x2964e5['unitId']!==void 0x0&&(this[_0x2d2b36(0x527)]=_0x2964e5[_0x2d2b36(0x45d)]),_0x2964e5[_0x2d2b36(0x31f)]!==void 0x0&&(this[_0x2d2b36(0x545)]=_0x2964e5[_0x2d2b36(0x31f)]),_0x2964e5[_0x2d2b36(0x43e)]!==void 0x0&&(this[_0x2d2b36(0x2fb)]=_0x2964e5['isStartConnectorPoint']),this[_0x2d2b36(0x2d4)]({'width':_0x2964e5['width'],'height':_0x2964e5[_0x2d2b36(0x1ef)]});}[_0x718440(0x250)](_0x3ff718){const _0x57d181=_0x718440;_0x3e5eae['Circle'][_0x57d181(0x578)](_0x3ff718,{'radius':_0x34f551['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x34f551[_0x57d181(0x526)][_0x57d181(0x4f3)],'stroke':_0x34f551[_0x57d181(0x526)][_0x57d181(0x260)],'strokeWidth':_0x34f551[_0x57d181(0x526)][_0x57d181(0x273)],'evented':!0x0});}};let _0x2dd992=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x4cee70,_0x5a69cb,_0x123cc9,_0x3edb63,_0x3389f2,_0x4ce82c,_0x4ffe61,_0x177a81){const _0x27cf04=_0x718440;super(),this[_0x27cf04(0x2f6)]=_0x4cee70,this[_0x27cf04(0x594)]=_0x5a69cb,this['_renderManagerService']=_0x123cc9,this[_0x27cf04(0x2a8)]=_0x3edb63,this[_0x27cf04(0x34a)]=_0x3389f2,this[_0x27cf04(0x4cd)]=_0x4ce82c,this[_0x27cf04(0x426)]=_0x4ffe61,this[_0x27cf04(0x22b)]=_0x177a81,_0x55cc91(this,_0x27cf04(0x28c),void 0x0),_0x55cc91(this,_0x27cf04(0x527),void 0x0),_0x55cc91(this,'_subUnitId',void 0x0),_0x55cc91(this,_0x27cf04(0x44e),[]),_0x55cc91(this,_0x27cf04(0x3cb),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x55cc91(this,'_activeShapeModel',void 0x0),_0x55cc91(this,_0x27cf04(0x3a8),!0x1),_0x55cc91(this,_0x27cf04(0x542),!0x1),_0x55cc91(this,'_hasReset',!0x1),_0x55cc91(this,_0x27cf04(0x26e),void 0x0),_0x55cc91(this,_0x27cf04(0x4f2),void 0x0),_0x55cc91(this,_0x27cf04(0x1de),null),this[_0x27cf04(0x4e4)]();}[_0x718440(0x4e4)](){const _0x20556e=_0x718440;this[_0x20556e(0x3be)](),this[_0x20556e(0x46c)]();}[_0x718440(0x3d7)](){const _0x456fce=_0x718440;if(!this[_0x456fce(0x527)]||!this[_0x456fce(0x545)]||!this[_0x456fce(0x28c)])return;let _0x532530={'unitId':this[_0x456fce(0x527)],'subUnitId':this[_0x456fce(0x545)],'drawingId':this['_activeShapeId']},{transform:_0x4833a3}=this[_0x456fce(0x2a8)][_0x456fce(0x37d)](_0x532530);if(_0x4833a3)return{'left':_0x4833a3[_0x456fce(0x242)]||0x0,'top':_0x4833a3[_0x456fce(0x4b1)]||0x0,'width':_0x4833a3[_0x456fce(0x3d1)]||0x0,'height':_0x4833a3[_0x456fce(0x1ef)]||0x0,'flipX':_0x4833a3[_0x456fce(0x554)]||!0x1,'flipY':_0x4833a3[_0x456fce(0x1ed)]||!0x1,'angle':_0x4833a3[_0x456fce(0x37c)]};}[_0x718440(0x28e)](){const _0x5e8ea3=_0x718440;if(this['_unitId']===void 0x0||this['_subUnitId']===void 0x0||this[_0x5e8ea3(0x28c)]===void 0x0)return;let _0x560f6f=this[_0x5e8ea3(0x57e)][_0x5e8ea3(0x403)](this['_unitId']);if(!_0x560f6f||!_0x560f6f['with'](_0x17eed7['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x662602}=_0x560f6f,_0x4176ff=this[_0x5e8ea3(0x3d7)]();if(!_0x4176ff)return;let _0x281ffb=this[_0x5e8ea3(0x4cd)][_0x5e8ea3(0x459)](this['_unitId'],this[_0x5e8ea3(0x545)],this['_activeShapeId']);if(!_0x281ffb||!(0x0,_0x34f551[_0x5e8ea3(0x22d)])(_0x281ffb[_0x5e8ea3(0x43a)]()))return;let _0x9e3cee=_0x281ffb['getConnectorLinePoints']();if(_0x9e3cee['length']<0x2)return;let _0x52302e=new _0x34f551[(_0x5e8ea3(0x371))](_0x4176ff),_0x269be0=_0x9e3cee[0x0],_0xa0d456=_0x9e3cee[_0x9e3cee['length']-0x1],_0x581a3e=_0x52302e[_0x5e8ea3(0x1ba)](_0x269be0),_0x927766=_0x52302e[_0x5e8ea3(0x1ba)](_0xa0d456);this[_0x5e8ea3(0x463)](_0x662602,{..._0x581a3e},!0x0),this[_0x5e8ea3(0x463)](_0x662602,{..._0x927766},!0x1);}[_0x718440(0x463)](_0x23ab04,_0x1d02b8,_0x527566){const _0x3a75f7=_0x718440;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x3a75f7(0x545)]===void 0x0)return;let _0x18c54f='connector-handler-'+this[_0x3a75f7(0x527)]+'-'+this[_0x3a75f7(0x545)]+'-'+this[_0x3a75f7(0x28c)]+'-'+(_0x527566?_0x3a75f7(0x1b1):_0x3a75f7(0x41e)),_0x2e8abc=_0x23ab04[_0x3a75f7(0x566)](_0x18c54f);if(_0x2e8abc){_0x2e8abc[_0x3a75f7(0x2d4)]({'left':_0x1d02b8['x']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]});return;}let _0x543181=new _0x375908(_0x18c54f,{'left':_0x1d02b8['x']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'top':_0x1d02b8['y']-_0x34f551['ShapeDefaultConfig'][_0x3a75f7(0x41d)],'shapeId':this[_0x3a75f7(0x28c)],'unitId':this[_0x3a75f7(0x527)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x527566,'width':_0x34f551[_0x3a75f7(0x526)]['cxnPointRadius']*0x2,'height':_0x34f551[_0x3a75f7(0x526)][_0x3a75f7(0x41d)]*0x2,'zIndex':_0x3e5eae[_0x3a75f7(0x533)]+0x1,'evented':!0x0});this[_0x3a75f7(0x44e)][_0x3a75f7(0x217)](_0x543181),this['_attachConnectorObjectEvent'](_0x543181,_0x23ab04,_0x527566),_0x23ab04['addObject'](_0x543181,_0x3e5eae[_0x3a75f7(0x533)]+0x1);}[_0x718440(0x1ce)](_0x4eb341,_0x128758){const _0x2cbdd5=_0x718440;var _0x33966a;let _0x81da8e={'x':0x0,'y':0x0};if(!_0x4eb341||!_0x128758)return _0x81da8e;let _0x4c4756=this[_0x2cbdd5(0x57e)][_0x2cbdd5(0x403)](_0x4eb341);if(!_0x4c4756||!_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x204)])[_0x2cbdd5(0x50e)](_0x128758))return _0x81da8e;let _0x177497=_0x4c4756[_0x2cbdd5(0x549)](_0x17eed7[_0x2cbdd5(0x369)]),_0x25d389=_0x177497==null?void 0x0:_0x177497[_0x2cbdd5(0x29a)]();if(!_0x25d389)return _0x81da8e;let _0x1f9fee=(_0x33966a=this[_0x2cbdd5(0x34a)][_0x2cbdd5(0x25c)](_0x4eb341))==null?void 0x0:_0x33966a[_0x2cbdd5(0x19d)](_0x128758);if(!_0x1f9fee)return _0x81da8e;let _0x4b364f=(0x0,_0x17eed7['getViewportByCell'])(_0x25d389[_0x2cbdd5(0x38e)],_0x25d389[_0x2cbdd5(0x3cf)],_0x4c4756[_0x2cbdd5(0x53c)],_0x1f9fee);return _0x4b364f?{'x':_0x4b364f[_0x2cbdd5(0x366)],'y':_0x4b364f[_0x2cbdd5(0x1a7)]}:_0x81da8e;}[_0x718440(0x50f)](_0xe5f23a,_0x3f3dec){const _0x1497ef=_0x718440;var _0x85bc2a;let _0x5e4826=(_0x85bc2a=this[_0x1497ef(0x34a)][_0x1497ef(0x25c)](_0xe5f23a))==null?void 0x0:_0x85bc2a[_0x1497ef(0x19d)](_0x3f3dec);return(_0x5e4826==null?void 0x0:_0x5e4826['getZoomRatio']())??0x1;}['_handleConnectorPointerUp'](_0x3b6c8c,_0x134a5d,_0x27bf33,_0x5d1cf7,_0xcf07fb){const _0x4daed5=_0x718440;this[_0x4daed5(0x26e)]['unsubscribe'](),this['_cxtHandlerPointerUp']['unsubscribe'](),this['_sheetShapeAdjustController'][_0x4daed5(0x2c1)]();let _0x20d627=this['_currentConnectionTarget'];this['_sheetBasicShapeConnectionPointController'][_0x4daed5(0x346)]();let _0x2ecaf9=this['_getScrollInfo'](this['_unitId'],this[_0x4daed5(0x545)]),_0x238ce7=this['_getZoomRatio'](this[_0x4daed5(0x527)],this['_subUnitId']),_0x20824f={'x':_0x27bf33[_0x4daed5(0x4d5)]/_0x238ce7+_0x2ecaf9['x'],'y':_0x27bf33[_0x4daed5(0x423)]/_0x238ce7+_0x2ecaf9['y']},_0x1220ec=_0x20d627?_0x20d627[_0x4daed5(0x387)]:_0x20824f,_0x1c3c19=_0x5d1cf7?this[_0x4daed5(0x2f3)][_0x4daed5(0x521)]():this[_0x4daed5(0x2f3)][_0x4daed5(0x348)](),_0x374e2a=this[_0x4daed5(0x2f3)]['getShapeType']();_0x1c3c19?this['_handleConnectedEndpointPointerUp'](_0x1c3c19,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb):this[_0x4daed5(0x2cb)](_0x134a5d,_0x1220ec,_0x5d1cf7,_0x20d627,_0xcf07fb,_0x374e2a),this[_0x4daed5(0x3a8)]=!0x1,this[_0x4daed5(0x412)]=!0x1,this['_currentConnectionTarget']=null,_0x3b6c8c[_0x4daed5(0x317)]();}[_0x718440(0x2cb)](_0x19b12e,_0x14c295,_0x1bb9c6,_0xef107e,_0x48d5ec,_0x22df71){const _0x559705=_0x718440;let _0x5ddc1a=_0x22df71===_0x34f551[_0x559705(0x1ea)]['Line']||_0x22df71===_0x34f551[_0x559705(0x1ea)]['StraightConnector1'],_0x58e5b4=_0x1bb9c6?_0x14c295:_0x19b12e,_0xc20013=_0x1bb9c6?_0x19b12e:_0x14c295,_0x4cec74=this[_0x559705(0x2f3)][_0x559705(0x30f)](),_0x4c5628=this[_0x559705(0x2f3)][_0x559705(0x43a)](),_0x46ba59=(0x0,_0x34f551['isCurvedConnectorShape'])(_0x4c5628),_0x4d7458=_0x34f551[_0x559705(0x371)]['getBentTypeFromPoints'](_0x4cec74,_0x46ba59),_0x330001=_0x5ddc1a?_0x34f551[_0x559705(0x371)][_0x559705(0x332)](_0x58e5b4,_0xc20013):_0x34f551[_0x559705(0x371)][_0x559705(0x530)](_0x19b12e,_0x14c295,_0x1bb9c6,_0x4d7458);_0xef107e?this[_0x559705(0x2c0)](_0x330001,_0xef107e,_0x1bb9c6,_0x48d5ec):this[_0x559705(0x4ef)](_0x330001,_0x48d5ec);}[_0x718440(0x515)](_0x2f8f6d,_0x35feaf,_0x2382aa,_0x43c932,_0x1be3c5){const _0x2e22a6=_0x718440;let _0x40f177=this['_getConnectPointInfo'](_0x2f8f6d);if(!_0x40f177)return;let _0x13305a=_0x43c932?_0x43c932[_0x2e22a6(0x37c)]:this[_0x2e22a6(0x455)](_0x40f177[_0x2e22a6(0x456)],_0x35feaf),_0x227b19;if(_0x43c932){let _0x20051f=this[_0x2e22a6(0x2a8)]['getDrawingByParam']({'unitId':_0x43c932['unitId'],'subUnitId':_0x43c932[_0x2e22a6(0x31f)],'drawingId':_0x43c932[_0x2e22a6(0x1fd)]});if(_0x20051f!=null&&_0x20051f['transform']){let {left:_0x140e34=0x0,top:_0x445e41=0x0,width:_0x2d89eb=0x0,height:_0x5e0000=0x0,angle:_0x266606}=_0x20051f[_0x2e22a6(0x4c7)];_0x227b19=(0x0,_0x34f551[_0x2e22a6(0x3a7)])({'left':_0x140e34,'top':_0x445e41,'width':_0x2d89eb,'height':_0x5e0000},_0x266606||0x0);}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};}else _0x227b19={'left':_0x35feaf['x'],'top':_0x35feaf['y'],'width':0x0,'height':0x0};let _0x1a52c4={'point':_0x35feaf,'angle':_0x13305a,'bounds':_0x227b19},_0x51f9eb=_0x2382aa?_0x1a52c4:_0x40f177,_0x1dc46e=_0x2382aa?_0x40f177:_0x1a52c4,_0xfaa0ad=this[_0x2e22a6(0x2f3)][_0x2e22a6(0x43a)](),_0x2c9880=(0x0,_0x34f551['routeConnectorLineShape'])(_0x51f9eb,_0x1dc46e,_0xfaa0ad);this[_0x2e22a6(0x2f3)][_0x2e22a6(0x1a8)]();let _0xa72c5c=(0x0,_0x34f551[_0x2e22a6(0x543)])(_0x2c9880,_0xfaa0ad);_0x43c932?this[_0x2e22a6(0x562)](_0xa72c5c,_0x43c932,_0x2f8f6d,_0x2382aa,_0x1be3c5):this[_0x2e22a6(0x500)](_0xa72c5c,_0x2f8f6d,_0x2382aa,_0x1be3c5);}[_0x718440(0x2c0)](_0x24b2a4,_0xa9a043,_0x1d4b48,_0x1ad28b){const _0x5c813f=_0x718440;let _0x4758bc=this[_0x5c813f(0x2f3)]['getShapeData']()[_0x5c813f(0x1f7)],_0x10c256={..._0x4758bc},_0x320710={'shapeId':_0xa9a043[_0x5c813f(0x1fd)],'cxnIndex':_0xa9a043['cxnIndex']};_0x1d4b48?_0x10c256['from']=_0x320710:_0x10c256['to']=_0x320710;let _0x187e58=this[_0x5c813f(0x2f3)][_0x5c813f(0x43a)](),_0x2053bf=(0x0,_0x34f551[_0x5c813f(0x543)])(_0x24b2a4['worldPoints'],_0x187e58),_0x10702b={'unitId':this['_unitId'],'subUnitId':this[_0x5c813f(0x545)],'connectorShapeId':this[_0x5c813f(0x28c)],'width':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x3d1)],'height':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x1ef)],'left':_0x24b2a4['worldRect']['left'],'top':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x4b1)],'flipX':_0x24b2a4[_0x5c813f(0x458)][_0x5c813f(0x554)]||!0x1,'flipY':_0x24b2a4['worldRect'][_0x5c813f(0x1ed)]||!0x1,'newAdjustValues':_0x2053bf['adjustValues'],'oldAdjustValues':_0x1ad28b,'oldRelation':_0x4758bc,'newRelation':_0x10c256,'newLineType':_0x2053bf[_0x5c813f(0x236)],'oldLineType':_0x187e58};this[_0x5c813f(0x594)][_0x5c813f(0x3c0)](_0x239f56[_0x5c813f(0x497)]['id'],_0x10702b);}[_0x718440(0x4ef)](_0x2959ce,_0x21870b){const _0x5aaac1=_0x718440;let _0x5d6f0b=this['_activeShapeModel'][_0x5aaac1(0x43a)](),_0x709eef=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x2959ce['worldPoints'],_0x5d6f0b),_0x3da094={'unitId':this[_0x5aaac1(0x527)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x5aaac1(0x28c)],'width':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x3d1)],'height':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ef)],'left':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x242)],'top':_0x2959ce[_0x5aaac1(0x458)]['top'],'flipX':_0x2959ce['worldRect']['flipX']||!0x1,'flipY':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x1ed)]||!0x1,'angle':_0x2959ce[_0x5aaac1(0x458)][_0x5aaac1(0x37c)]||0x0,'newAdjustValues':_0x709eef[_0x5aaac1(0x28a)],'oldAdjustValues':_0x21870b,'newLineType':_0x709eef[_0x5aaac1(0x236)],'oldLineType':_0x5d6f0b};this[_0x5aaac1(0x594)][_0x5aaac1(0x3c0)](_0x239f56[_0x5aaac1(0x3ec)]['id'],_0x3da094);}[_0x718440(0x562)](_0x44fcbb,_0x27e79f,_0x5594ff,_0x64af86,_0x33cab3){const _0x346486=_0x718440;let _0x5d37a5=this[_0x346486(0x2f3)][_0x346486(0x1e2)]()[_0x346486(0x1f7)],_0x111cf0={..._0x5d37a5},_0x227fec={'shapeId':_0x27e79f['shapeId'],'cxnIndex':_0x27e79f[_0x346486(0x2e1)]};_0x64af86?(_0x111cf0[_0x346486(0x47c)]=_0x227fec,_0x111cf0['to']=_0x5594ff):(_0x111cf0['from']=_0x5594ff,_0x111cf0['to']=_0x227fec);let _0x274362={'unitId':this[_0x346486(0x527)],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x44fcbb[_0x346486(0x458)][_0x346486(0x3d1)],'height':_0x44fcbb[_0x346486(0x458)][_0x346486(0x1ef)],'left':_0x44fcbb[_0x346486(0x458)][_0x346486(0x242)],'top':_0x44fcbb[_0x346486(0x458)]['top'],'flipX':_0x44fcbb[_0x346486(0x458)]['flipX']||!0x1,'flipY':_0x44fcbb['worldRect'][_0x346486(0x1ed)]||!0x1,'oldAdjustValues':_0x33cab3,'newAdjustValues':_0x44fcbb[_0x346486(0x28a)],'newLineType':_0x44fcbb[_0x346486(0x236)],'rotation':_0x44fcbb['rotation'],'oldRelation':_0x5d37a5,'newRelation':_0x111cf0};this[_0x346486(0x594)]['executeCommand'](_0x239f56[_0x346486(0x497)]['id'],_0x274362);}['_executeConnectedRouteResizeCommand'](_0x25f295,_0x59a3f0,_0x5bd13c,_0x51eeca){const _0x5d82dd=_0x718440;let _0x3def98=this['_activeShapeModel'][_0x5d82dd(0x1e2)]()[_0x5d82dd(0x1f7)],_0x245557={};_0x5bd13c?(_0x245557['to']=_0x59a3f0,_0x245557[_0x5d82dd(0x47c)]=void 0x0):(_0x245557['from']=_0x59a3f0,_0x245557['to']=void 0x0);let _0x2d3255={'unitId':this['_unitId'],'subUnitId':this[_0x5d82dd(0x545)],'connectorShapeId':this[_0x5d82dd(0x28c)],'width':_0x25f295[_0x5d82dd(0x458)]['width'],'height':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x1ef)],'left':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x242)],'top':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x4b1)],'flipX':_0x25f295[_0x5d82dd(0x458)][_0x5d82dd(0x554)]||!0x1,'flipY':_0x25f295[_0x5d82dd(0x458)]['flipY']||!0x1,'oldAdjustValues':_0x51eeca,'newAdjustValues':_0x25f295[_0x5d82dd(0x28a)],'newLineType':_0x25f295[_0x5d82dd(0x236)],'rotation':_0x25f295[_0x5d82dd(0x416)],'oldRelation':_0x3def98,'newRelation':_0x245557};this[_0x5d82dd(0x594)][_0x5d82dd(0x3c0)](_0x239f56[_0x5d82dd(0x497)]['id'],_0x2d3255);}[_0x718440(0x3e1)](_0x36b6f9,_0x4fb0b0,_0xc3e895){const _0x49f870=_0x718440;this[_0x49f870(0x503)]((0x0,_0x567e1d[_0x49f870(0x23c)])(_0x36b6f9[_0x49f870(0x2f5)]['subscribeEvent']((_0x46391f,_0x5c6d4e)=>{const _0x49f6d8=_0x49f870;let _0x2ba49e=_0x36b6f9[_0x49f6d8(0x440)]();if(this[_0x49f6d8(0x2f3)]=this['_sheetsShapeService'][_0x49f6d8(0x459)](_0x2ba49e[_0x49f6d8(0x45d)],_0x2ba49e[_0x49f6d8(0x31f)],_0x2ba49e[_0x49f6d8(0x25d)]),!this[_0x49f6d8(0x2f3)])return;let _0x106a34={};this['_activeShapeModel'][_0x49f6d8(0x3f9)]()[_0x49f6d8(0x241)](_0x3e7445=>{const _0x4a8093=_0x49f6d8;let _0x4713f4=this[_0x4a8093(0x2f3)]['getAdjustValueByName'](_0x3e7445);_0x4713f4!==void 0x0&&(_0x106a34[_0x3e7445]=_0x4713f4);});let _0x46750f=this[_0x49f6d8(0x3d7)]();if(!_0x46750f)return;this[_0x49f6d8(0x3cb)]={..._0x46750f};let _0x5d017c=new _0x34f551['ConnectorCoordinateTransform'](this['_baseDrawingRect']),_0x27d755=(0x0,_0x36b4c7[_0x49f6d8(0x56c)])({'unitId':this[_0x49f6d8(0x527)],'subUnitId':this[_0x49f6d8(0x545)],'drawingId':this[_0x49f6d8(0x28c)]}),_0x5d5045=_0x4fb0b0[_0x49f6d8(0x566)](_0x27d755);this[_0x49f6d8(0x3a8)]=!0x0,_0x4fb0b0['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0x4fb0b0,this[_0x49f6d8(0x527)],this['_subUnitId'],this[_0x49f6d8(0x28c)]),this[_0x49f6d8(0x1de)]=null;let _0x3158ce=this[_0x49f6d8(0x2f3)][_0x49f6d8(0x30f)](),_0x40842a=_0x3158ce[0x0],_0x482614=_0x3158ce[_0x3158ce['length']-0x1],_0x2b5bc2=_0xc3e895?_0x5d017c[_0x49f6d8(0x1ba)](_0x482614):_0x5d017c[_0x49f6d8(0x1ba)](_0x40842a);this['_cxtHandlerPointerMove']=_0x4fb0b0[_0x49f6d8(0x1dd)]['subscribeEvent']((_0x4fdc6b,_0x15b1af)=>{const _0x2b7317=_0x49f6d8;if(!this[_0x2b7317(0x3a8)]||!this[_0x2b7317(0x2f3)])return;this[_0x2b7317(0x412)]||=(this[_0x2b7317(0x426)][_0x2b7317(0x1b8)](),this[_0x2b7317(0x2f3)][_0x2b7317(0x4f0)](),!0x0);let _0x1075a0=this[_0x2b7317(0x1ce)](this['_unitId'],this[_0x2b7317(0x545)]),_0x3859f4=this[_0x2b7317(0x50f)](this[_0x2b7317(0x527)],this[_0x2b7317(0x545)]),_0x33b8ea={'x':_0x4fdc6b[_0x2b7317(0x4d5)]/_0x3859f4+_0x1075a0['x'],'y':_0x4fdc6b[_0x2b7317(0x423)]/_0x3859f4+_0x1075a0['y']},_0x59d10a=this[_0x2b7317(0x22b)][_0x2b7317(0x54f)](_0x33b8ea);if(_0x59d10a){let {shapeId:_0x15bd0e,unitId:_0x536960,subUnitId:_0x4d0217}=_0x59d10a;if(_0x15bd0e&&_0x536960&&_0x4d0217){let _0x1f80db=(0x0,_0x36b4c7['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x536960,'subUnitId':_0x4d0217,'drawingId':_0x15bd0e});_0x59d10a[_0x2b7317(0x37c)]=(_0x4fb0b0[_0x2b7317(0x566)](_0x1f80db)[_0x2b7317(0x37c)]||0x0)+_0x59d10a['angle'];}}this[_0x2b7317(0x1de)]=_0x59d10a;let _0x1300c0=_0xc3e895?this[_0x2b7317(0x2f3)][_0x2b7317(0x521)]():this[_0x2b7317(0x2f3)]['getStartConnectInfo']();if(_0x1300c0){this[_0x2b7317(0x26d)](_0x1300c0,_0x33b8ea,_0xc3e895,_0x5d5045,_0x36b6f9);return;}this[_0x2b7317(0x306)](_0x33b8ea,_0x2b5bc2,_0xc3e895,_0x5d5045,_0x36b6f9);}),this['_cxtHandlerPointerUp']=_0x4fb0b0[_0x49f6d8(0x4b7)][_0x49f6d8(0x483)]((_0x3e7134,_0x389f83)=>{const _0x1919c0=_0x49f6d8;this[_0x1919c0(0x4a5)](_0x4fb0b0,_0x2b5bc2,_0x3e7134,_0xc3e895,_0x106a34);}),_0x5c6d4e[_0x49f6d8(0x3ab)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x34933b,_0x47f9d7,_0x727bfa){const _0x33e7ad=_0x718440;let _0x39c7df=this['_sheetsShapeService'][_0x33e7ad(0x425)](_0x34933b,_0x47f9d7,_0x727bfa);if(!_0x39c7df||_0x39c7df[_0x33e7ad(0x212)]===0x0)return;let _0x5deb8c=this[_0x33e7ad(0x57e)][_0x33e7ad(0x403)](_0x34933b);if(!_0x5deb8c)return;let {scene:_0xf98289}=_0x5deb8c;for(let _0x5bd0bd of _0x39c7df){let _0x277739=_0x5bd0bd[_0x33e7ad(0x229)],_0x22f0e6=this[_0x33e7ad(0x4cd)][_0x33e7ad(0x459)](_0x34933b,_0x47f9d7,_0x277739);if(!_0x22f0e6)continue;let _0x1a44db=_0x22f0e6['getStartConnectInfo'](),_0x311d27=_0x22f0e6['getEndConnectInfo'](),_0x225c9a=(_0x1a44db==null?void 0x0:_0x1a44db[_0x33e7ad(0x1fd)])===_0x727bfa,_0x5295c8=(0x0,_0x36b4c7[_0x33e7ad(0x56c)])({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739}),_0x15633e=_0xf98289['getObjectIncludeInGroup'](_0x5295c8);if(!_0x15633e)continue;let _0x4e6cee=this[_0x33e7ad(0x2a8)][_0x33e7ad(0x37d)]({'unitId':_0x34933b,'subUnitId':_0x47f9d7,'drawingId':_0x277739});_0x4e6cee!=null&&_0x4e6cee[_0x33e7ad(0x4c7)]&&(_0x1a44db&&_0x311d27?this[_0x33e7ad(0x1e6)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x1a44db,_0x311d27,_0x15633e):this[_0x33e7ad(0x3fe)](_0x34933b,_0x47f9d7,_0x277739,_0x22f0e6,_0x225c9a?_0x1a44db:_0x311d27,_0x225c9a,_0x4e6cee,_0x15633e));}}[_0x718440(0x1e6)](_0x426e2a,_0x5bea1a,_0x3196f1,_0x585df5,_0x5880e8,_0x49cc38,_0x589f57){const _0x338f1e=_0x718440;let _0x594b1e=this[_0x338f1e(0x527)],_0x355078=this[_0x338f1e(0x545)];this[_0x338f1e(0x527)]=_0x426e2a,this['_subUnitId']=_0x5bea1a;let _0x3a1e53=this[_0x338f1e(0x3bb)](_0x5880e8),_0x4bc8ea=this['_getConnectPointInfo'](_0x49cc38);if(this['_unitId']=_0x594b1e,this[_0x338f1e(0x545)]=_0x355078,!_0x3a1e53||!_0x4bc8ea)return;let _0x4ea02e=_0x585df5[_0x338f1e(0x43a)](),_0x340926=(0x0,_0x34f551[_0x338f1e(0x48d)])(_0x3a1e53,_0x4bc8ea,_0x4ea02e);_0x340926&&_0x585df5[_0x338f1e(0x3c7)](_0x340926);let _0x14a561=(0x0,_0x34f551[_0x338f1e(0x543)])(_0x340926,_0x4ea02e);_0x14a561[_0x338f1e(0x236)]!==_0x4ea02e&&_0x585df5[_0x338f1e(0x3ac)](_0x14a561[_0x338f1e(0x236)]),_0x585df5['clearAdjustValue']();for(let [_0x568248,_0x33ea0e]of Object[_0x338f1e(0x1f9)](_0x14a561[_0x338f1e(0x28a)]))_0x585df5[_0x338f1e(0x2fc)](_0x568248,_0x33ea0e);_0x585df5[_0x338f1e(0x1bc)]({'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ef)]}),_0x589f57[_0x338f1e(0x2d4)]({'flipX':_0x14a561['worldRect']['flipX'],'flipY':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x1ed)],'left':_0x14a561['worldRect'][_0x338f1e(0x242)],'top':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x4b1)],'width':_0x14a561[_0x338f1e(0x458)][_0x338f1e(0x3d1)],'height':_0x14a561['worldRect'][_0x338f1e(0x1ef)],'angle':_0x14a561[_0x338f1e(0x416)]}),_0x585df5['removeLinePoints']();}[_0x718440(0x3fe)](_0x2f6052,_0x2392f5,_0x1fb355,_0x117f6b,_0x365747,_0x185603,_0x556bd1,_0x18e858){const _0x4cec89=_0x718440;let _0x28ddce=this['_unitId'],_0x20a35f=this[_0x4cec89(0x545)];this['_unitId']=_0x2f6052,this['_subUnitId']=_0x2392f5;let _0x476345=this[_0x4cec89(0x3bb)](_0x365747);if(this[_0x4cec89(0x527)]=_0x28ddce,this['_subUnitId']=_0x20a35f,!_0x476345)return;let {left:_0x1067a5=0x0,top:_0x130451=0x0,width:_0x5c0e96=0x0,height:_0x258463=0x0,flipX:_0x146bac=!0x1,flipY:_0x1d7b0e=!0x1}=_0x556bd1[_0x4cec89(0x4c7)],_0x509324=_0x117f6b['getConnectorLinePoints']();if(_0x509324[_0x4cec89(0x212)]<0x2)return;let _0x4b6988=new _0x34f551[(_0x4cec89(0x371))]({'left':_0x1067a5,'top':_0x130451,'width':_0x5c0e96,'height':_0x258463,'flipX':_0x146bac,'flipY':_0x1d7b0e}),_0x3f653e=_0x185603?_0x509324[_0x509324[_0x4cec89(0x212)]-0x1]:_0x509324[0x0],_0x47bcff=_0x4b6988[_0x4cec89(0x1ba)](_0x3f653e),_0x20171f=_0x34f551['ConnectorCoordinateTransform'][_0x4cec89(0x530)](_0x47bcff,_0x476345[_0x4cec89(0x456)],!_0x185603);_0x18e858[_0x4cec89(0x2d4)]({'flipX':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x554)],'flipY':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x1ed)],'left':_0x20171f['worldRect'][_0x4cec89(0x242)],'top':_0x20171f['worldRect'][_0x4cec89(0x4b1)],'width':_0x20171f[_0x4cec89(0x458)]['width'],'height':_0x20171f['worldRect'][_0x4cec89(0x1ef)],'angle':_0x20171f[_0x4cec89(0x458)][_0x4cec89(0x37c)]}),_0x18e858[_0x4cec89(0x3ce)](!0x0);}[_0x718440(0x251)](){const _0x1aadee=_0x718440;this[_0x1aadee(0x44e)]['length']!==0x0&&(this[_0x1aadee(0x44e)]['forEach'](_0x2161d2=>{const _0x4d2e8b=_0x1aadee;_0x2161d2[_0x4d2e8b(0x4dd)]();}),this[_0x1aadee(0x44e)]=[]);}['_registerDrawingMoveHandler'](){const _0x1d4565=_0x718440;let _0x334292=this['_univerInstanceService'][_0x1d4565(0x3d0)](_0x567e1d[_0x1d4565(0x1e5)]['UNIVER_SHEET']);this[_0x1d4565(0x503)](_0x334292['pipe']((0x0,_0x1d246a[_0x1d4565(0x53b)])(_0x3aa9f6=>_0x3aa9f6?_0x3aa9f6['activeSheet$'][_0x1d4565(0x2da)]((0x0,_0x1d246a['switchMap'])(_0x40fb76=>{const _0x57513a=_0x1d4565;if(!_0x40fb76)return _0x1d246a[_0x57513a(0x49f)];let _0x545998=_0x3aa9f6[_0x57513a(0x35f)](),_0x4bfb51=this[_0x57513a(0x57e)][_0x57513a(0x403)](_0x545998),_0x2735a5=_0x4bfb51==null?void 0x0:_0x4bfb51[_0x57513a(0x53c)];return _0x2735a5?(0x0,_0x1d246a['of'])(_0x2735a5):_0x1d246a[_0x57513a(0x49f)];})):_0x1d246a[_0x1d4565(0x49f)]))['subscribe'](_0x197173=>{const _0x4e4f4a=_0x1d4565;let _0x3bf25d=_0x197173[_0x4e4f4a(0x202)]();this['disposeWithMe'](_0x197173[_0x4e4f4a(0x1dd)][_0x4e4f4a(0x483)](_0x1ae861=>{const _0x212130=_0x4e4f4a;this[_0x212130(0x542)]&&this[_0x212130(0x28c)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x3bf25d['changeStart$'][_0x4e4f4a(0x374)](_0x1c5bf1=>{const _0x39f652=_0x4e4f4a;let {objects:_0x5c16b2}=_0x1c5bf1;this[_0x39f652(0x251)](),_0x5c16b2!==null&&_0x5c16b2[_0x39f652(0x2db)]===0x1&&_0x5c16b2[_0x39f652(0x32c)]()[_0x39f652(0x34f)]()['value']instanceof _0x5b187c&&(this[_0x39f652(0x542)]=!0x0);})),this['disposeWithMe'](_0x3bf25d[_0x4e4f4a(0x4a4)][_0x4e4f4a(0x374)](_0x326a0d=>{const _0x22b692=_0x4e4f4a;this['_isDrawingShapePointDown']&&this[_0x22b692(0x251)]();})),this[_0x4e4f4a(0x503)](_0x197173[_0x4e4f4a(0x4b7)][_0x4e4f4a(0x483)](()=>{const _0x3c10ee=_0x4e4f4a;this[_0x3c10ee(0x542)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x3c10ee(0x28e)]());})),this[_0x4e4f4a(0x503)](_0x3bf25d[_0x4e4f4a(0x38b)][_0x4e4f4a(0x374)](()=>{const _0x547f6b=_0x4e4f4a;this[_0x547f6b(0x527)]&&this[_0x547f6b(0x545)]&&this[_0x547f6b(0x28c)]&&this[_0x547f6b(0x2a8)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x547f6b(0x545)],'drawingId':this[_0x547f6b(0x28c)]})&&(this[_0x547f6b(0x251)](),this['_addShapeConnectorHandlerObjects']());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x32d739=_0x718440;this['disposeWithMe'](this[_0x32d739(0x2a8)][_0x32d739(0x470)][_0x32d739(0x374)](_0x101c57=>{const _0x1e45c7=_0x32d739;if(_0x101c57['length']===0x1){let _0x2e4fd1=_0x101c57[0x0];if(_0x2e4fd1[_0x1e45c7(0x37f)]===_0x567e1d['DrawingTypeEnum'][_0x1e45c7(0x20f)]){let _0x2652c1=this[_0x1e45c7(0x4cd)][_0x1e45c7(0x459)](_0x2e4fd1[_0x1e45c7(0x45d)],_0x2e4fd1[_0x1e45c7(0x31f)],_0x2e4fd1[_0x1e45c7(0x25d)]);if(_0x2652c1&&(0x0,_0x34f551[_0x1e45c7(0x22d)])(_0x2652c1[_0x1e45c7(0x43a)]())){this['_activeShapeId']=_0x2e4fd1['drawingId'],this[_0x1e45c7(0x527)]=_0x2e4fd1[_0x1e45c7(0x45d)],this[_0x1e45c7(0x545)]=_0x2e4fd1[_0x1e45c7(0x31f)],this[_0x1e45c7(0x251)](),this[_0x1e45c7(0x28e)]();return;}}}this[_0x1e45c7(0x28c)]=void 0x0,this[_0x1e45c7(0x527)]=void 0x0,this[_0x1e45c7(0x545)]=void 0x0,this[_0x1e45c7(0x251)]();})),this[_0x32d739(0x503)](this[_0x32d739(0x2a8)][_0x32d739(0x518)][_0x32d739(0x374)](_0x5d0e63=>{const _0x1fbc88=_0x32d739;if(_0x5d0e63[_0x1fbc88(0x212)]===0x1){var _0x1f8ddb;let _0x4f456a=_0x5d0e63[0x0],_0x50c740=(_0x1f8ddb=this['_drawingManagerService'][_0x1fbc88(0x37d)](_0x4f456a))==null?void 0x0:_0x1f8ddb[_0x1fbc88(0x37f)];_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)][_0x1fbc88(0x20f)]&&_0x4f456a[_0x1fbc88(0x25d)]===this[_0x1fbc88(0x28c)]?(this[_0x1fbc88(0x251)](),this['_addShapeConnectorHandlerObjects']()):!this['_activeShapeId']&&_0x50c740===_0x567e1d[_0x1fbc88(0x2f1)]['DRAWING_SHAPE']&&this[_0x1fbc88(0x341)](_0x4f456a[_0x1fbc88(0x45d)],_0x4f456a[_0x1fbc88(0x31f)],_0x4f456a[_0x1fbc88(0x25d)]);}})),this[_0x32d739(0x503)](this['_drawingManagerService'][_0x32d739(0x4ca)][_0x32d739(0x374)](_0x26c3e6=>{const _0x513bf5=_0x32d739;for(let _0xf38d02 of _0x26c3e6){let {drawingId:_0x3007d3}=_0xf38d02;if(this[_0x513bf5(0x28c)]===_0x3007d3){this[_0x513bf5(0x3b5)]();return;}}}));}['_handleConnectedEndpointMove'](_0x162f2a,_0x41f1b3,_0x5691e3,_0x4a9a48,_0xb957d4){const _0x718c4f=_0x718440;var _0x507a34;if(!this[_0x718c4f(0x2f3)])return;let _0x458436=this[_0x718c4f(0x3bb)](_0x162f2a);if(!_0x458436)return;let _0x5ae966=this['_currentConnectionTarget']?this[_0x718c4f(0x1de)]['worldPoint']:_0x41f1b3,_0x3e06f8=this[_0x718c4f(0x1de)]?this[_0x718c4f(0x1de)][_0x718c4f(0x37c)]:this[_0x718c4f(0x455)](_0x458436[_0x718c4f(0x456)],_0x5ae966),_0x4940a7;if(this[_0x718c4f(0x1de)]){let _0x109cb8=this[_0x718c4f(0x2a8)][_0x718c4f(0x37d)]({'unitId':this[_0x718c4f(0x1de)][_0x718c4f(0x45d)],'subUnitId':this[_0x718c4f(0x1de)]['subUnitId'],'drawingId':this[_0x718c4f(0x1de)][_0x718c4f(0x1fd)]});if(_0x109cb8!=null&&_0x109cb8[_0x718c4f(0x4c7)]){let {left:_0x1ddfc0=0x0,top:_0x48f213=0x0,width:_0x7ffa79=0x0,height:_0x2e5d39=0x0,angle:_0xd20c41}=_0x109cb8[_0x718c4f(0x4c7)];_0x4940a7=(0x0,_0x34f551[_0x718c4f(0x3a7)])({'left':_0x1ddfc0,'top':_0x48f213,'width':_0x7ffa79,'height':_0x2e5d39},_0xd20c41||0x0);}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};}else _0x4940a7={'left':_0x5ae966['x'],'top':_0x5ae966['y'],'width':0x0,'height':0x0};let _0x2aa1df={'point':_0x5ae966,'angle':_0x3e06f8,'bounds':_0x4940a7},_0x4eab1f=_0x5691e3?_0x2aa1df:_0x458436,_0x1fd0a3=_0x5691e3?_0x458436:_0x2aa1df,_0x3a8b7f=this['_activeShapeModel'][_0x718c4f(0x43a)](),_0x514a92=(0x0,_0x34f551[_0x718c4f(0x48d)])(_0x4eab1f,_0x1fd0a3,_0x3a8b7f);_0x514a92&&this[_0x718c4f(0x2f3)][_0x718c4f(0x3c7)](_0x514a92);let _0x18eef5=(0x0,_0x34f551['computeConnectorRouteLayout'])(_0x514a92,_0x3a8b7f);_0x18eef5['lineType']!==_0x3a8b7f&&this[_0x718c4f(0x2f3)]['changeShapeType'](_0x18eef5[_0x718c4f(0x236)]);for(let [_0x5f352a,_0x3c2dd9]of Object[_0x718c4f(0x1f9)](_0x18eef5[_0x718c4f(0x28a)]))this[_0x718c4f(0x2f3)][_0x718c4f(0x2fc)](_0x5f352a,_0x3c2dd9);this[_0x718c4f(0x2f3)]['updateContext']({'width':_0x18eef5['worldRect'][_0x718c4f(0x3d1)],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)]}),_0x4a9a48[_0x718c4f(0x2d4)]({'flipX':_0x18eef5[_0x718c4f(0x458)]['flipX'],'flipY':_0x18eef5['worldRect'][_0x718c4f(0x1ed)],'left':_0x18eef5[_0x718c4f(0x458)]['left'],'top':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x4b1)],'width':_0x18eef5['worldRect']['width'],'height':_0x18eef5[_0x718c4f(0x458)][_0x718c4f(0x1ef)],'angle':_0x18eef5[_0x718c4f(0x416)]}),_0x4a9a48[_0x718c4f(0x3ce)](!0x0);let _0x1afe38=((_0x507a34=this['_currentConnectionTarget'])==null?void 0x0:_0x507a34[_0x718c4f(0x387)])??_0x41f1b3;_0xb957d4[_0x718c4f(0x2d4)]({'left':_0x1afe38['x']-_0x34f551[_0x718c4f(0x526)]['cxnPointRadius'],'top':_0x1afe38['y']-_0x34f551[_0x718c4f(0x526)][_0x718c4f(0x41d)]});}[_0x718440(0x306)](_0x2b97ae,_0x2058fe,_0xeddc20,_0x58c224,_0xa5cd1a){const _0x3fbd76=_0x718440;var _0x3347ad,_0x5aa231;let _0x1386e0=((_0x3347ad=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x3347ad['worldPoint'])??_0x2b97ae,_0x3ba5e7=_0x34f551[_0x3fbd76(0x371)][_0x3fbd76(0x530)](_0x2058fe,_0x1386e0,_0xeddc20);_0x58c224[_0x3fbd76(0x2d4)]({'flipX':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x554)],'flipY':_0x3ba5e7[_0x3fbd76(0x458)]['flipY'],'left':_0x3ba5e7[_0x3fbd76(0x458)]['left'],'top':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x4b1)],'width':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x3d1)],'height':_0x3ba5e7['worldRect'][_0x3fbd76(0x1ef)],'angle':_0x3ba5e7[_0x3fbd76(0x458)][_0x3fbd76(0x37c)]});let _0x59f1c4=((_0x5aa231=this[_0x3fbd76(0x1de)])==null?void 0x0:_0x5aa231[_0x3fbd76(0x387)])??_0x2b97ae;_0xa5cd1a[_0x3fbd76(0x2d4)]({'left':_0x59f1c4['x']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius'],'top':_0x59f1c4['y']-_0x34f551[_0x3fbd76(0x526)]['cxnPointRadius']});}[_0x718440(0x3bb)](_0x257633){const _0xbf0e4e=_0x718440;if(!this['_unitId']||!this[_0xbf0e4e(0x545)])return null;let {shapeId:_0xa24e2f,cxnIndex:_0x44c05e}=_0x257633,_0x555155=this[_0xbf0e4e(0x4cd)]['getShapeModel'](this['_unitId'],this[_0xbf0e4e(0x545)],_0xa24e2f);if(!_0x555155)return null;let _0x5cfaae=this[_0xbf0e4e(0x2a8)][_0xbf0e4e(0x37d)]({'unitId':this[_0xbf0e4e(0x527)],'subUnitId':this[_0xbf0e4e(0x545)],'drawingId':_0xa24e2f});if(!(_0x5cfaae!=null&&_0x5cfaae[_0xbf0e4e(0x4c7)]))return null;let {left:_0x496efe=0x0,top:_0x8ba97c=0x0,width:_0x31c34f=0x0,height:_0x412644=0x0,flipX:_0x2009bc=!0x1,flipY:_0x24007d=!0x1,angle:_0x55e7ef}=_0x5cfaae['transform'];_0x555155[_0xbf0e4e(0x1bc)]({'width':_0x31c34f,'height':_0x412644});let _0xd393d5=_0x555155[_0xbf0e4e(0x4af)]()[_0xbf0e4e(0x1d5)](_0x3e9652=>_0x3e9652['index']===_0x44c05e);if(!_0xd393d5)return null;let _0x4cfdc8=_0x2009bc?_0x31c34f-_0xd393d5['x']:_0xd393d5['x'],_0x4a7ac6=_0x24007d?_0x412644-_0xd393d5['y']:_0xd393d5['y'];if(_0x55e7ef!==0x0&&_0x55e7ef!=null){let _0x3cb376=_0x55e7ef*Math['PI']/0xb4,_0x2645ef=Math[_0xbf0e4e(0x1bb)](_0x3cb376),_0x29962f=Math[_0xbf0e4e(0x1dc)](_0x3cb376),_0x321eb0=_0x31c34f/0x2,_0x243d46=_0x412644/0x2,_0x520ff1=_0x4cfdc8-_0x321eb0,_0x19f617=_0x4a7ac6-_0x243d46;_0x4cfdc8=_0x321eb0+_0x520ff1*_0x2645ef-_0x19f617*_0x29962f,_0x4a7ac6=_0x243d46+_0x520ff1*_0x29962f+_0x19f617*_0x2645ef;}_0x4cfdc8+=_0x496efe,_0x4a7ac6+=_0x8ba97c;let _0x3c57f7=_0xd393d5[_0xbf0e4e(0x36d)]/0xea60;_0x2009bc&&(_0x3c57f7=0xb4-_0x3c57f7),_0x24007d&&(_0x3c57f7=-_0x3c57f7),_0x3c57f7+=_0x55e7ef||0x0,_0x3c57f7=(_0x3c57f7%0x168+0x168)%0x168;let _0x3f7249=(0x0,_0x34f551['getBasicShapeRotateBound'])({'left':_0x496efe,'top':_0x8ba97c,'width':_0x31c34f,'height':_0x412644},_0x55e7ef||0x0);return{'point':{'x':_0x4cfdc8,'y':_0x4a7ac6},'angle':_0x3c57f7,'bounds':_0x3f7249};}[_0x718440(0x455)](_0x9643f7,_0x383015){const _0x43af51=_0x718440;let _0x22fe9c=_0x383015['x']-_0x9643f7['x'],_0x40f98d=_0x383015['y']-_0x9643f7['y'];return Math[_0x43af51(0x25a)](_0x22fe9c)>=Math[_0x43af51(0x25a)](_0x40f98d)?_0x22fe9c>=0x0?0xb4:0x0:_0x40f98d>=0x0?0x10e:0x5a;}[_0x718440(0x3b5)](){const _0x153d5f=_0x718440;this[_0x153d5f(0x28c)]=void 0x0,this[_0x153d5f(0x527)]=void 0x0,this[_0x153d5f(0x545)]=void 0x0,this[_0x153d5f(0x251)]();}[_0x718440(0x4dd)](){const _0x2ca57c=_0x718440;this['_clearShapeConnectorHandlerObjects'](),super[_0x2ca57c(0x4dd)]();}};_0x2dd992=_0xb31b0c([_0x519f13(0x1,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x2,_0x3e5eae['IRenderManagerService']),_0x519f13(0x3,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x4,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56[_0x718440(0x3db)])),_0x519f13(0x6,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5258f8)),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x39d55c))],_0x2dd992);let _0x189611=class extends _0x567e1d['Disposable']{constructor(_0x2a8e87,_0x56efe0,_0x5edd5b){const _0x4819ca=_0x718440;super(),this[_0x4819ca(0x240)]=_0x2a8e87,this[_0x4819ca(0x2a8)]=_0x56efe0,this[_0x4819ca(0x23e)]=_0x5edd5b,this['_initPrinting']();}[_0x718440(0x44f)](){const _0x2e6cc5=_0x718440;this[_0x2e6cc5(0x503)](this[_0x2e6cc5(0x240)][_0x2e6cc5(0x35d)][_0x2e6cc5(0x478)](this['_sheetPrintInterceptorService'][_0x2e6cc5(0x35d)][_0x2e6cc5(0x564)]()[_0x2e6cc5(0x4aa)],{'handler':(_0x340e2d,_0x4deaba,_0x471ebd)=>{const _0x36febc=_0x2e6cc5;var _0x13dfa8;let {unitId:_0x5b393e,subUnitId:_0x5d3c5a,scene:_0x48c953,resourceCollector:_0x1e630d}=_0x4deaba,_0x4fcb10=(_0x13dfa8=this[_0x36febc(0x2a8)][_0x36febc(0x538)](_0x5b393e))==null?void 0x0:_0x13dfa8[_0x5d3c5a];return _0x4fcb10==null||_0x4fcb10[_0x36febc(0x508)][_0x36febc(0x241)](_0x51eec5=>{const _0x4773a6=_0x36febc;let _0x26de4c=_0x4fcb10[_0x4773a6(0x3f7)][_0x51eec5];_0x26de4c[_0x4773a6(0x37f)]===_0x567e1d[_0x4773a6(0x2f1)]['DRAWING_SHAPE']&&!_0x26de4c['hidden']&&this[_0x4773a6(0x23e)][_0x4773a6(0x2a0)](_0x26de4c,_0x48c953,{'resourceCollector':_0x1e630d});}),_0x471ebd(_0x340e2d);}}));}};_0x189611=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x17eed7[_0x718440(0x4bd)])),_0x519f13(0x1,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x29d254))],_0x189611);let _0x1f125a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x175211,_0x18aa99,_0x23e206){const _0x266bfc=_0x718440;super(),this[_0x266bfc(0x594)]=_0x175211,this[_0x266bfc(0x4b5)]=_0x18aa99,this[_0x266bfc(0x3d2)]=_0x23e206,this[_0x266bfc(0x1d4)]();}[_0x718440(0x1d4)](){const _0x2c9804=_0x718440;this['disposeWithMe'](this[_0x2c9804(0x594)]['beforeCommandExecuted'](_0x334637=>{const _0x4acc9f=_0x2c9804;let _0x1573a0,_0x2000f7;if(_0x334637['id']===_0x239f56['InsertShapeCommand']['id']||_0x334637['id']===_0x239f56['SetShapeDrawingDataCommand']['id']||_0x334637['id']===_0x239f56['UpdateConnectorRelationCommand']['id']){let _0xba4f6e=_0x334637[_0x4acc9f(0x247)];_0x1573a0=_0xba4f6e[_0x4acc9f(0x45d)],_0x2000f7=_0xba4f6e[_0x4acc9f(0x31f)];}_0x1573a0&&_0x2000f7&&(this[_0x4acc9f(0x3d2)][_0x4acc9f(0x49e)]({'workbookTypes':[_0x11447f[_0x4acc9f(0x4c5)]],'worksheetTypes':[_0x11447f[_0x4acc9f(0x4fc)]]},_0x1573a0,_0x2000f7)||this[_0x4acc9f(0x3d2)][_0x4acc9f(0x47a)](this[_0x4acc9f(0x4b5)]['t'](_0x4acc9f(0x2c8))));}));}};_0x1f125a=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x1cf)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x11447f[_0x718440(0x3bf)]))],_0x1f125a);let _0x42fc7f=class{constructor(_0x97a758){const _0x28ab7a=_0x718440;this[_0x28ab7a(0x57e)]=_0x97a758;}[_0x718440(0x352)](_0x7b8b39,_0x50a4fa){const _0x5bc849=_0x718440;let _0x598815=this[_0x5bc849(0x57e)]['getRenderUnitById'](_0x7b8b39[_0x5bc849(0x45d)]),_0x24883a=_0x598815==null?void 0x0:_0x598815[_0x5bc849(0x53c)];if(!_0x24883a)return;let _0x58e170=(0x0,_0x36b4c7[_0x5bc849(0x56c)])(_0x7b8b39),_0x316bfd=_0x24883a[_0x5bc849(0x566)](_0x58e170);_0x316bfd==null||_0x316bfd['setFillImage'](_0x50a4fa);}};_0x42fc7f=_0xb31b0c([_0x519f13(0x0,_0x3e5eae['IRenderManagerService'])],_0x42fc7f);let _0x51e94d=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x4814fb=_0x3dd284,_0x21a8db,_0x46633f,_0x56fa76,_0x504408){const _0x50de6b=_0x718440;super(),this[_0x50de6b(0x561)]=_0x4814fb,this['_injector']=_0x21a8db,this[_0x50de6b(0x594)]=_0x46633f,this[_0x50de6b(0x43f)]=_0x56fa76,this[_0x50de6b(0x57e)]=_0x504408;let {..._0x32aec0}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x50de6b(0x561)]);this['_configService'][_0x50de6b(0x1c6)](_0x31802e,_0x32aec0),this[_0x50de6b(0x4bc)]();}['onStarting'](){const _0x530e17=_0x718440;this[_0x530e17(0x249)][_0x530e17(0x3e3)]([_0x26ba20]),this['_injector'][_0x530e17(0x39f)](_0x26ba20),(0x0,_0x567e1d[_0x530e17(0x54d)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x296)](){const _0x305c33=_0x718440;(0x0,_0x567e1d['registerDependencies'])(this['_injector'],[[_0x39d55c],[_0x5258f8],[_0x19fd0d]]),(0x0,_0x567e1d['touchDependencies'])(this[_0x305c33(0x249)],[[_0x19fd0d],[_0x5258f8]]),[[_0x39d55c],[_0x47426e],[_0x2dd992],[_0x2955f2]][_0x305c33(0x241)](_0x1a2d32=>{const _0x15c8c3=_0x305c33;this[_0x15c8c3(0x503)](this[_0x15c8c3(0x57e)]['registerRenderModule'](_0x567e1d[_0x15c8c3(0x1e5)][_0x15c8c3(0x2e6)],_0x1a2d32));});}[_0x718440(0x2b4)](){const _0x47d01f=_0x718440;(0x0,_0x567e1d[_0x47d01f(0x2d1)])(this['_injector'],[[_0x29acd6],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a]]);}[_0x718440(0x263)](){const _0x463716=_0x718440;this[_0x463716(0x249)][_0x463716(0x39f)](_0x29acd6)[_0x463716(0x1f2)]();}[_0x718440(0x4bc)](){const _0x14a6ce=_0x718440;[_0x31381b,_0x1f4f18,_0x2a6b80,_0x55f058][_0x14a6ce(0x241)](_0xdfa9=>this[_0x14a6ce(0x503)](this['_commandService'][_0x14a6ce(0x48b)](_0xdfa9)));}};_0x55cc91(_0x51e94d,_0x718440(0x19f),_0x567e1d[_0x718440(0x1e5)][_0x718440(0x2e6)]),_0x55cc91(_0x51e94d,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x51e94d,'packageName',_0x1b0553),_0x55cc91(_0x51e94d,_0x718440(0x345),_0x1ae96e),_0x51e94d=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35['UniverLicensePlugin'],_0x4d3fb2[_0x718440(0x31d)],_0x36b4c7['UniverDrawingPlugin'],_0x3e5eae['UniverRenderEnginePlugin'],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e['UniverShapeEditorPlugin'],_0x2ea516[_0x718440(0x231)],_0x239f56[_0x718440(0x4eb)],_0x17eed7[_0x718440(0x2ff)],_0x54a51b[_0x718440(0x4f6)],_0x5744c6[_0x718440(0x36a)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x567e1d['Injector'])),_0x519f13(0x2,_0x567e1d['ICommandService']),_0x519f13(0x3,_0x567e1d['IConfigService']),_0x519f13(0x4,_0x3e5eae['IRenderManagerService'])],_0x51e94d);let _0x26247f={'type':_0x567e1d[_0x718440(0x26b)][_0x718440(0x494)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x404630(){const _0x347b02=_0x718440;let _0x3cc03c=(0x0,_0x5744c6[_0x347b02(0x391)])(_0x36b4c7[_0x347b02(0x529)]),_0x396b6b=(0x0,_0x5744c6[_0x347b02(0x329)])(()=>_0x3cc03c[_0x347b02(0x470)],_0x3cc03c[_0x347b02(0x447)](),!0x1,[_0x3cc03c]);return _0x396b6b[_0x347b02(0x212)]===0x0?null:(0x0,_0x1a5094[_0x347b02(0x2bb)])('div',{'children':(0x0,_0x1a5094[_0x347b02(0x258)])('div',{'className':_0x347b02(0x28b),'children':[(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x44d5e4[_0x347b02(0x418)],{'drawings':_0x396b6b,'hasCropper':!0x1}),(0x0,_0x1a5094[_0x347b02(0x2bb)])(_0x2ea516['SheetDrawingAnchor'],{'drawings':_0x396b6b})]})});}function _0x25ee4c(_0x8b54a0){const _0x3879c9=_0x718440;let {unitId:_0x16ebd2,subUnitId:_0x1ec18d,shapeId:_0x27d42c}=_0x8b54a0,_0x59c657=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x567e1d[_0x3879c9(0x1cf)]),_0x50c84a=(0x0,_0x5744c6[_0x3879c9(0x391)])(_0x42fc7f);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x3879c9(0x40c)],{..._0x8b54a0,'positionEditor':(0x0,_0x1a5094[_0x3879c9(0x2bb)])(_0x404630,{}),'onUpdateShapeData':(_0x37ba89,_0x365d82)=>{_0x322a2b(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x37ba89,_0x365d82);},'onUpdateLineShapeData':(_0x489d02,_0x32b930)=>{_0x435eb2(_0x59c657,_0x16ebd2,_0x1ec18d,_0x27d42c,_0x489d02,_0x32b930);},'onUpdateShapeFillImage':_0x1bbde9=>{const _0x35889d=_0x3879c9;_0x50c84a[_0x35889d(0x352)]({'unitId':_0x16ebd2,'subUnitId':_0x1ec18d,'drawingId':_0x27d42c},_0x1bbde9);}});}function _0x22bbea(_0x37dcc3){const _0x15168c=_0x718440;let _0x11c1b8=(0x0,_0x5744c6[_0x15168c(0x391)])(_0x54a51b[_0x15168c(0x45a)]),_0x5c8b68=(0x0,_0x5744c6['useObservable'])(()=>_0x11c1b8['visible$'],_0x11c1b8['getVisible'](),!0x1,[_0x11c1b8]),_0x398a71=_0x37dcc3['popup'][_0x15168c(0x225)];return!_0x398a71||!_0x5c8b68?null:(0x0,_0x1a5094[_0x15168c(0x2bb)])(_0x5d5717,{..._0x398a71,'canvasElement':_0x37dcc3[_0x15168c(0x51a)][_0x15168c(0x451)]});}function _0x5d5717(_0x914db4){const _0x4f10e7=_0x718440;let _0x1fab5e=(0x0,_0x5744c6[_0x4f10e7(0x391)])(_0x567e1d['ICommandService']),_0x402e05=(0x0,_0x5744c6['useDependency'])(_0x239f56['SheetsShapeService']),{unitId:_0x59640e,subUnitId:_0x2f2047,drawingId:_0xc35e0c,drawingType:_0x21df54,shapeType:_0x50a12b}=_0x914db4,[_0x3711b8,_0x2fa01b]=(0x0,_0x58a2d5[_0x4f10e7(0x3f6)])(_0x914db4[_0x4f10e7(0x522)]),_0x1b7b28=(0x0,_0x58a2d5[_0x4f10e7(0x33b)])(()=>(0x0,_0x54a51b['getTextStyle'])(_0x3711b8),[_0x3711b8]),_0x4426c5=(0x0,_0x58a2d5['useMemo'])(()=>(0x0,_0x54a51b[_0x4f10e7(0x2c9)])(_0x3711b8),[_0x3711b8]);(0x0,_0x58a2d5['useEffect'])(()=>{let _0x45a96c=_0x1fab5e['onCommandExecuted'](_0x583b64=>{const _0xe28fb2=_0x49ca;if(_0x583b64['id']!==_0x239f56[_0xe28fb2(0x302)]['id'])return;let _0x39201e=_0x402e05[_0xe28fb2(0x203)](_0x59640e,_0x2f2047,_0xc35e0c);_0x39201e&&_0x2fa01b(_0x39201e);});return()=>_0x45a96c['dispose']();},[_0x1fab5e,_0xc35e0c,_0x402e05,_0x2f2047,_0x59640e]);let _0x2a792b=_0x2f49c9=>{_0x2fa01b(_0x26228d=>({..._0x26228d,..._0x2f49c9}));},_0x4fdca5=_0x1e0f04=>{const _0x4fecce=_0x4f10e7;let _0x4f30fa=(0x0,_0x54a51b[_0x4fecce(0x41f)])(_0x3711b8,_0x1e0f04);_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'shapeText':_0x3711b8[_0x4fecce(0x2b3)]}},_0x4f30fa),_0x2a792b(_0x4f30fa);},_0x1dff59=(0x0,_0x54a51b['useFormulaShapeToolbar'])({'hostType':_0x567e1d[_0x4f10e7(0x1e5)]['UNIVER_SHEET'],'unitId':_0x59640e,'subUnitId':_0x2f2047,'shapeId':_0xc35e0c,'shapeData':_0x3711b8,'onUpdateBinding':_0x18979f=>{const _0x18668b=_0x4f10e7;let _0x5d4b67={'formulaBinding':_0x18979f};_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,{'oldShapeData':{'formulaBinding':_0x3711b8[_0x18668b(0x270)]}},_0x5d4b67),_0x2a792b(_0x5d4b67);}});return(0x0,_0x1a5094[_0x4f10e7(0x258)])(_0x1a5094[_0x4f10e7(0x312)],{'children':[(0x0,_0x1a5094['jsx'])(_0x54a51b[_0x4f10e7(0x252)],{'canvasElement':_0x914db4['canvasElement'],'shapeData':_0x3711b8,'shapeType':_0x50a12b,'textStyle':{'ff':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x3f0)],'fs':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x2e0)],'cl':{'rgb':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x2b3)][_0x4f10e7(0x45e)]},..._0x1b7b28},'textModel':_0x4426c5?{'ha':_0x4426c5['ha']??_0x567e1d['HorizontalAlign'][_0x4f10e7(0x4df)],'va':_0x4426c5['va']??_0x567e1d[_0x4f10e7(0x435)][_0x4f10e7(0x3fb)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x34f551['ShapeDefaultConfig'][_0x4f10e7(0x3a0)],'defaultGradientEndColor':_0x34f551[_0x4f10e7(0x526)]['gradientEndColor'],'defaultStrokeColor':_0x34f551[_0x4f10e7(0x526)][_0x4f10e7(0x2a6)],'extensionGroups':_0x1dff59[_0x4f10e7(0x2ba)],'floatingObjectToolbarPosition':_0x5744c6[_0x4f10e7(0x4c3)][_0x4f10e7(0x441)],'onUpdateShapeData':(_0xbf0c00,_0x1b5704)=>{_0x322a2b(_0x1fab5e,_0x59640e,_0x2f2047,_0xc35e0c,_0xbf0c00,_0x1b5704),_0x1b5704&&_0x2a792b(_0x1b5704);},'onUpdateText':_0x4fdca5,'onOpenPanel':()=>{const _0x183100=_0x4f10e7;_0x1fab5e[_0x183100(0x3c0)](_0x55af59['id'],{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c});},'onDelete':()=>{const _0x1ac14a=_0x4f10e7;_0x1fab5e['executeCommand'](_0x1f8323[_0x1ac14a(0x464)]['id'],{'unitId':_0x59640e,'drawings':[{'unitId':_0x59640e,'subUnitId':_0x2f2047,'drawingId':_0xc35e0c,'drawingType':_0x21df54}]});}}),_0x1dff59['panel']]});}function _0x5766af(_0x1e100b){const _0x26b2e0=_0x718440;return!!_0x1e100b&&_0x26b2e0(0x2ee)in _0x1e100b&&_0x26b2e0(0x513)in _0x1e100b;}let _0x2c9eb0=(0x0,_0x58a2d5[_0x718440(0x450)])(()=>{const _0xd9fff9=_0x718440;let _0x5887e7=(0x0,_0x5744c6['useDependency'])(_0x5c8f01),_0x3107d4=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x239f56[_0xd9fff9(0x3db)]),_0x2a9094=(0x0,_0x5744c6['useDependency'])(_0x36b4c7['IDrawingManagerService']),_0x11678c=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x567e1d[_0xd9fff9(0x1cf)]),_0xf38f31=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x5744c6[_0xd9fff9(0x1a3)]),_0x1ab2da=(0x0,_0x5744c6[_0xd9fff9(0x391)])(_0x3e5eae[_0xd9fff9(0x39e)]),_0x3a7333=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'getShapeModel':(_0x1d8384,_0xd0e89d,_0x42675a)=>_0x3107d4[_0xd9fff9(0x459)](_0x1d8384,_0xd0e89d,_0x42675a),'getShapeData':(_0x3e778c,_0x25374e,_0x5898b3)=>_0x3107d4[_0xd9fff9(0x203)](_0x3e778c,_0x25374e,_0x5898b3),'getDrawingTransform':(_0x5839fd,_0x2da87f,_0x15bf7c)=>{const _0x22069e=_0xd9fff9;let _0x1f9e14=_0x2a9094[_0x22069e(0x37d)]({'unitId':_0x5839fd,'subUnitId':_0x2da87f,'drawingId':_0x15bf7c});return _0x1f9e14==null?void 0x0:_0x1f9e14[_0x22069e(0x4c7)];},'updateShapeText':({unitId:_0x34e862,subUnitId:_0x3978ce,shapeId:_0x239acd,shapeText:_0x710fbb,oldShapeText:_0x442738,hostSize:_0x117700})=>{const _0x2090e8=_0xd9fff9;_0xf38f31[_0x2090e8(0x388)](_0x34e862,()=>{const _0x2d3182=_0x2090e8;var _0x4493c8;let _0x4d8911=_0x11678c[_0x2d3182(0x34d)](_0x1f4f18['id'],{'unitId':_0x34e862,'subUnitId':_0x3978ce,'shapeId':_0x239acd,'shapeData':{'shapeText':_0x710fbb},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x442738}}});if(!_0x4d8911||!_0x117700)return _0x4d8911;let _0x6ee40a=_0x2a9094['getDrawingByParam']({'unitId':_0x34e862,'subUnitId':_0x3978ce,'drawingId':_0x239acd}),_0x1159df=_0x6ee40a==null?void 0x0:_0x6ee40a['transform'];if(!_0x5766af(_0x6ee40a)||!_0x1159df)return!0x1;let _0x4a5e24={..._0x1159df,'width':_0x117700[_0x2d3182(0x3d1)],'height':_0x117700[_0x2d3182(0x1ef)]},_0x14e897=(_0x4493c8=_0x1ab2da['getRenderUnitById'](_0x34e862))==null||(_0x4493c8=_0x4493c8[_0x2d3182(0x549)](_0x17eed7[_0x2d3182(0x204)])[_0x2d3182(0x52f)](_0x3978ce))==null?void 0x0:_0x4493c8[_0x2d3182(0x4f8)];return _0x11678c[_0x2d3182(0x34d)](_0x1f8323[_0x2d3182(0x41b)]['id'],{'unitId':_0x34e862,'drawings':[{..._0x6ee40a,'transform':_0x4a5e24,'sheetTransform':_0x14e897?(0x0,_0x1f8323['transformToDrawingPosition'])(_0x4a5e24,_0x14e897)??_0x6ee40a[_0x2d3182(0x513)]:_0x6ee40a['sheetTransform'],'axisAlignSheetTransform':_0x14e897?(0x0,_0x1f8323[_0x2d3182(0x37e)])(_0x4a5e24,_0x14e897)??_0x6ee40a['axisAlignSheetTransform']:_0x6ee40a[_0x2d3182(0x2ee)]}]});});},'updateHostSize':({unitId:_0xd70803,subUnitId:_0x3ea04c,shapeId:_0x16a528,width:_0x49a80d,height:_0x3906eb})=>{const _0x28bd18=_0xd9fff9;var _0x111a15;let _0x343d0e=_0x2a9094[_0x28bd18(0x37d)]({'unitId':_0xd70803,'subUnitId':_0x3ea04c,'drawingId':_0x16a528}),_0x2f0cc4=_0x343d0e==null?void 0x0:_0x343d0e[_0x28bd18(0x4c7)];if(!_0x5766af(_0x343d0e)||!_0x2f0cc4)return;let _0x4f6ead={..._0x2f0cc4,'width':_0x49a80d,'height':_0x3906eb},_0x6eb495=(_0x111a15=_0x1ab2da[_0x28bd18(0x403)](_0xd70803))==null||(_0x111a15=_0x111a15[_0x28bd18(0x549)](_0x17eed7[_0x28bd18(0x204)])[_0x28bd18(0x52f)](_0x3ea04c))==null?void 0x0:_0x111a15['skeleton'],_0x596e42=_0x6eb495?(0x0,_0x1f8323[_0x28bd18(0x473)])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x513)]:_0x343d0e[_0x28bd18(0x513)],_0x171272=_0x6eb495?(0x0,_0x1f8323['transformToAxisAlignPosition'])(_0x4f6ead,_0x6eb495)??_0x343d0e[_0x28bd18(0x2ee)]:_0x343d0e[_0x28bd18(0x2ee)];_0x11678c[_0x28bd18(0x3c0)](_0x1f8323[_0x28bd18(0x41b)]['id'],{'unitId':_0xd70803,'drawings':[{..._0x343d0e,'transform':_0x4f6ead,'sheetTransform':_0x596e42,'axisAlignSheetTransform':_0x171272}]});},'allowHostSizeShrink':({unitId:_0x4f93e3,subUnitId:_0x18d4ef,shapeId:_0x3c2321})=>(0x0,_0x54a51b[_0xd9fff9(0x4a2)])(_0x3107d4['getShapeDataById'](_0x4f93e3,_0x18d4ef,_0x3c2321)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11678c,_0x2a9094,_0x1ab2da,_0x3107d4,_0xf38f31]),_0x35f5cf=(0x0,_0x58a2d5[_0xd9fff9(0x33b)])(()=>({'viewportKeys':{'main':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x244)],'leftTop':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x434)],'top':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x1cb)],'left':_0x3e5eae[_0xd9fff9(0x405)][_0xd9fff9(0x536)]},'getSkeleton':(_0x6c6174,_0x47d655)=>{const _0x45ead4=_0xd9fff9;var _0x41bbdf;return((_0x41bbdf=_0x6c6174[_0x45ead4(0x549)](_0x17eed7[_0x45ead4(0x204)])['getSkeletonParam'](_0x47d655[_0x45ead4(0x31f)]))==null?void 0x0:_0x41bbdf[_0x45ead4(0x4f8)])??null;}}),[]);return(0x0,_0x1a5094['jsx'])(_0x54a51b[_0xd9fff9(0x493)],{'adapter':_0x3a7333,'editingService':_0x5887e7,'editorUnitId':_0x58dd4c,'positionOptions':_0x35f5cf});}),_0x5b23a2=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x19d80c,_0xbe6299){const _0x5d6cbd=_0x718440;super(),this[_0x5d6cbd(0x565)]=_0x19d80c,this[_0x5d6cbd(0x3fa)]=_0xbe6299,this[_0x5d6cbd(0x2cc)](),this[_0x5d6cbd(0x3e6)]();}['_registerIcons'](){const _0xa1cc92=_0x718440;this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)]('ObjectLayersIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ObjectLayersIcon':_0x31ea2d})),this['_iconManager'][_0xa1cc92(0x40d)]('FlipHorizontalIcon')||this[_0xa1cc92(0x503)](this['_iconManager'][_0xa1cc92(0x50a)]({'FlipHorizontalIcon':_0xfdb1e6})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x30b))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)]['register']({'FlipVerticalIcon':_0x5a8225})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x2b7))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'BottomIcon':_0x539c37})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x26a))||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'MoveDownIcon':_0x230930})),this['_iconManager'][_0xa1cc92(0x40d)](_0xa1cc92(0x55a))||this['disposeWithMe'](this['_iconManager'][_0xa1cc92(0x50a)]({'MoveUpIcon':_0x14d267})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0xa1cc92(0x503)](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'ShapeFormatSettingIcon':_0x53179a})),this[_0xa1cc92(0x3fa)][_0xa1cc92(0x40d)](_0xa1cc92(0x267))||this['disposeWithMe'](this[_0xa1cc92(0x3fa)][_0xa1cc92(0x50a)]({'TopmostIcon':_0x3f7a19}));}['_registerComponents'](){const _0x103146=_0x718440;this['disposeWithMe'](this['_componentManager'][_0x103146(0x50a)](_0x1b3159,_0x25ee4c)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x46acea,_0x32a716)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x4440a,_0x5bb668)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x16e69b,_0x192670)),this[_0x103146(0x565)][_0x103146(0x39f)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x44d5e4['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xa77841)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x708f5a,_0x22bbea)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5e79d8,_0x5d0f5f)),this[_0x103146(0x503)](this['_componentManager']['register'](_0x1b92b5,_0x491081)),this[_0x103146(0x503)](this['_componentManager'][_0x103146(0x50a)](_0x70ed4a,_0x19da7f)),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)](_0x5908f2,_0xcd1106)),this['disposeWithMe'](this[_0x103146(0x565)][_0x103146(0x50a)](_0x4dfefd,_0x54a51b['ShapeTextFloatToolbar'])),this[_0x103146(0x503)](this[_0x103146(0x565)][_0x103146(0x50a)]('SheetShapeTextEditorContainer',_0x2c9eb0));}};_0x5b23a2=_0xb31b0c([_0x519f13(0x0,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x20b)])),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6['IconManager']))],_0x5b23a2);let _0x139a8e=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x324080,_0x138e93,_0x439806,_0x4733fc,_0x5145f9,_0x2088cc,_0x42b920,_0x46d2b4,_0x1a9276){const _0x58279e=_0x718440;super();let _0x370f94=_0x4b3dcc=>{const _0x453a24=_0x49ca;var _0x193887,_0x377e32;return(((_0x193887=_0x46d2b4[_0x453a24(0x322)](new _0x11447f[(_0x453a24(0x4c5))](_0x4b3dcc[_0x453a24(0x45d)])['id']))==null?void 0x0:_0x193887['value'])??!0x0)&&(((_0x377e32=_0x46d2b4['getPermissionPoint'](new _0x11447f[(_0x453a24(0x4fc))](_0x4b3dcc[_0x453a24(0x45d)],_0x4b3dcc['subUnitId'])['id']))==null?void 0x0:_0x377e32[_0x453a24(0x52d)])??!0x0);},_0x5c7900=_0x222124=>_0x222124[_0x58279e(0x1fd)]&&_0x370f94(_0x222124)?_0x439806[_0x58279e(0x203)](_0x222124[_0x58279e(0x45d)],_0x222124['subUnitId'],_0x222124[_0x58279e(0x1fd)])??null:null,_0x54503c=()=>{const _0x466808=_0x58279e;let _0x5031d4=_0x5145f9[_0x466808(0x447)](),_0x99e38c=_0x5031d4[_0x466808(0x212)]===0x1?_0x5031d4[0x0]:null;return(_0x99e38c==null?void 0x0:_0x99e38c[_0x466808(0x37f)])===_0x567e1d[_0x466808(0x2f1)][_0x466808(0x20f)]&&_0x99e38c[_0x466808(0x45d)]===_0x324080[_0x466808(0x45d)]?{'unitId':_0x99e38c[_0x466808(0x45d)],'subUnitId':_0x99e38c['subUnitId'],'shapeId':_0x99e38c['drawingId']}:null;};this[_0x58279e(0x503)]((0x0,_0x54a51b[_0x58279e(0x299)])(_0x324080,_0x138e93,{'changes$':(0x0,_0x1d246a[_0x58279e(0x47e)])(_0x5145f9[_0x58279e(0x470)],_0x4733fc['editingParams$'],_0x46d2b4[_0x58279e(0x52e)]),'isActive':()=>{const _0x2cb2c8=_0x58279e;var _0x31ce69;return((_0x31ce69=_0x2088cc[_0x2cb2c8(0x2dc)]())==null?void 0x0:_0x31ce69[_0x2cb2c8(0x35f)]())===_0x324080['unitId']&&!_0x42b920[_0x2cb2c8(0x264)](_0x567e1d[_0x2cb2c8(0x532)])&&_0x5145f9['getFocusDrawings']()['some'](_0x17cee5=>_0x17cee5['unitId']===_0x324080['unitId']);},'getSelectedTarget':_0x54503c,'getSource':()=>{let _0x3ebf01=_0x54503c();return _0x3ebf01?_0x5c7900(_0x3ebf01):null;},'getTarget':_0x3e6ddc=>{const _0x2dd050=_0x58279e;let _0x42efa9=_0x324080[_0x2dd050(0x53c)][_0x2dd050(0x588)](new _0x3e5eae[(_0x2dd050(0x214))](_0x3e6ddc[_0x2dd050(0x4d5)],_0x3e6ddc[_0x2dd050(0x423)]));if(!(_0x42efa9 instanceof _0x5b187c))return null;let _0x4532a4={'unitId':_0x324080['unitId'],'subUnitId':_0x42efa9['subUnitId'],'shapeId':_0x42efa9[_0x2dd050(0x1fd)]};return _0x370f94(_0x4532a4)?_0x4532a4:null;},'getShape':_0x5c7900,'update':(_0x4c27ca,_0x5dd01a,_0x51d544)=>_0x1a9276[_0x58279e(0x3c0)](_0x1f4f18['id'],{..._0x4c27ca,'shapeData':_0x51d544,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x5dd01a}})}));}};_0x139a8e=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x2de)])),_0x519f13(0x2,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01)),_0x519f13(0x4,_0x36b4c7['IDrawingManagerService']),_0x519f13(0x5,_0x567e1d['IUniverInstanceService']),_0x519f13(0x6,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x7,_0x567e1d[_0x718440(0x39c)]),_0x519f13(0x8,_0x567e1d[_0x718440(0x1cf)])],_0x139a8e);let _0x149550='sheets-shape-contextual-ribbon',_0x53b597=class extends _0x567e1d['Disposable']{constructor(_0x5197bb,_0x5ab637,_0x38529f,_0x5ad02e,_0x2ae55e,_0x4eace3){const _0x38e396=_0x718440;super(),this[_0x38e396(0x4a3)]=_0x5197bb,this['_ribbonService']=_0x5ab637,this[_0x38e396(0x2a8)]=_0x38529f,this[_0x38e396(0x34a)]=_0x5ad02e,this[_0x38e396(0x57e)]=_0x2ae55e,this['_shapeFloatingToolbarService']=_0x4eace3,_0x55cc91(this,_0x38e396(0x48a),!0x1),this['_menuManagerService'][_0x38e396(0x429)](_0x5a4d9c),this[_0x38e396(0x503)]((0x0,_0x567e1d['toDisposable'])(this[_0x38e396(0x2a8)][_0x38e396(0x470)]['subscribe'](()=>this[_0x38e396(0x379)]()))),this[_0x38e396(0x379)]();}[_0x718440(0x4dd)](){const _0x57c785=_0x718440;this['_shapeFloatingToolbarService'][_0x57c785(0x21d)](!0x1,_0x149550),this[_0x57c785(0x21c)](),super['dispose']();}[_0x718440(0x379)](){const _0x264f46=_0x718440;var _0x1289cf;let _0x23aad1=this['_drawingManagerService'][_0x264f46(0x447)](),_0x1501fa=_0x23aad1[_0x264f46(0x212)]===0x1?_0x23aad1[0x0]:void 0x0;if((_0x1501fa==null?void 0x0:_0x1501fa[_0x264f46(0x37f)])!==_0x567e1d[_0x264f46(0x2f1)][_0x264f46(0x20f)]||this[_0x264f46(0x34a)][_0x264f46(0x331)](_0x1501fa[_0x264f46(0x45d)])!==_0x567e1d[_0x264f46(0x1e5)][_0x264f46(0x2e6)]){this['_shapeFloatingToolbarService'][_0x264f46(0x21d)](!0x1,_0x149550),this[_0x264f46(0x21c)]();return;}let _0x5248d1=(_0x1289cf=this[_0x264f46(0x57e)][_0x264f46(0x403)](_0x1501fa['unitId']))==null?void 0x0:_0x1289cf[_0x264f46(0x4ae)][_0x264f46(0x4dc)](),_0x163973=(0x0,_0x54a51b[_0x264f46(0x291)])(_0x5248d1)===_0x264f46(0x3da);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x163973,_0x149550),_0x163973){this['_hide']();return;}this[_0x264f46(0x48a)]||(this[_0x264f46(0x48a)]=!0x0,this[_0x264f46(0x29c)][_0x264f46(0x4d4)](_0x32af6f,{'activate':!0x0}));}[_0x718440(0x21c)](){const _0x262ebc=_0x718440;this['_visible']&&(this[_0x262ebc(0x48a)]=!0x1,this[_0x262ebc(0x29c)][_0x262ebc(0x460)](_0x32af6f),this[_0x262ebc(0x29c)]['setCollapsedIds']([]));}};_0x53b597=_0xb31b0c([_0x519f13(0x0,_0x5744c6[_0x718440(0x443)]),_0x519f13(0x1,_0x5744c6['IRibbonService']),_0x519f13(0x2,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x4,_0x3e5eae['IRenderManagerService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x54a51b['ShapeFloatingToolbarService']))],_0x53b597);let _0x4c6bc3=class extends _0x54a51b[_0x718440(0x297)]{constructor(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4){super(_0x5b6469,_0x5e42ea,_0x34862a,_0x3df1f5,_0x2a5526,_0x593d67,_0x571005,_0x5558ba,_0x43f96d,_0x5c2fb4,{'componentKey':_0x4dfefd,'editorUnitId':_0x58dd4c});}};_0x4c6bc3=_0xb31b0c([_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x414)])),_0x519f13(0x2,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x321)])),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x3a2)])),_0x519f13(0x4,_0x567e1d['ICommandService']),_0x519f13(0x5,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x36809f[_0x718440(0x4b0)])),_0x519f13(0x6,(0x0,_0x567e1d['Inject'])(_0x54a51b[_0x718440(0x284)])),_0x519f13(0x7,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x4d3fb2[_0x718440(0x480)])),_0x519f13(0x8,(0x0,_0x567e1d['Inject'])(_0x36809f[_0x718440(0x309)])),_0x519f13(0x9,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5c8f01))],_0x4c6bc3);let _0x37583a=class extends _0x567e1d[_0x718440(0x29f)]{constructor(_0x3991e9,_0x19dc83,_0x5d1f7d,_0x34b9e8,_0x230c84,_0x2f5538,_0x1d0d66,_0x5b6334,_0x534748,_0xa69ab9,_0x2fcb3b){const _0x4616ee=_0x718440;super(),this[_0x4616ee(0x34a)]=_0x3991e9,this[_0x4616ee(0x448)]=_0x19dc83,this[_0x4616ee(0x4a3)]=_0x5d1f7d,this[_0x4616ee(0x4cd)]=_0x34b9e8,this['_localeService']=_0x230c84,this[_0x4616ee(0x594)]=_0x2f5538,this[_0x4616ee(0x2a8)]=_0x1d0d66,this[_0x4616ee(0x19a)]=_0x5b6334,this[_0x4616ee(0x469)]=_0x534748,this[_0x4616ee(0x57e)]=_0xa69ab9,this[_0x4616ee(0x4da)]=_0x2fcb3b,_0x55cc91(this,_0x4616ee(0x2b1),null),_0x55cc91(this,_0x4616ee(0x436),null),_0x55cc91(this,_0x4616ee(0x2fa),!0x1),_0x55cc91(this,'_shapeEditPanelVersion',0x0),_0x55cc91(this,_0x4616ee(0x3b7),null),_0x55cc91(this,'_disposePopups',[]),this[_0x4616ee(0x42b)](),this['disposeWithMe'](this[_0x4616ee(0x34a)]['getCurrentTypeOfUnit$'](_0x567e1d['UniverInstanceType'][_0x4616ee(0x2e6)])[_0x4616ee(0x374)](_0x222ce0=>{const _0x8ce2=_0x4616ee;if(!_0x222ce0){var _0x1e4155;(_0x1e4155=this[_0x8ce2(0x2b1)])==null||_0x1e4155[_0x8ce2(0x4dd)]();}})),this[_0x4616ee(0x200)](),this[_0x4616ee(0x1f2)](),this[_0x4616ee(0x503)](this['_shapeTextEditingService']['editingParams$']['subscribe'](_0x59deb4=>{const _0x2fd159=_0x4616ee;_0x59deb4&&this[_0x2fd159(0x21f)]();}));}[_0x718440(0x42b)](){const _0x5d1ca8=_0x718440;this[_0x5d1ca8(0x4a3)][_0x5d1ca8(0x429)](_0x4fc050);}[_0x718440(0x1f2)](){const _0x271707=_0x718440;this[_0x271707(0x3b7)]||=this[_0x271707(0x503)]((0x0,_0x54a51b['bindRenderTransformerLifecycle'])(this[_0x271707(0x57e)],_0x567e1d['UniverInstanceType'][_0x271707(0x2e6)],_0x1760ef=>this['_popupMenuListener'](_0x1760ef)));}[_0x718440(0x295)](_0xc3c0a6,_0x342713,_0x9acf82){const _0x2e441f=_0x718440;let _0x37f338=this['_sheetsShapeService'][_0x2e441f(0x2cd)](_0xc3c0a6,_0x342713,_0x9acf82),_0x2c17eb=this[_0x2e441f(0x4cd)][_0x2e441f(0x203)](_0xc3c0a6,_0x342713,_0x9acf82);return _0x37f338!==void 0x0&&_0x2c17eb!==void 0x0?{'shapeData':_0x2c17eb,'shapeId':_0x9acf82,'shapeType':_0x37f338,'unitId':_0xc3c0a6,'subUnitId':_0x342713,'version':this[_0x2e441f(0x282)],'disableShapeOption':!0x1}:null;}[_0x718440(0x21f)](){const _0x5a315a=_0x718440;this[_0x5a315a(0x49a)][_0x5a315a(0x241)](_0x3e3943=>_0x3e3943['dispose']()),this[_0x5a315a(0x49a)][_0x5a315a(0x212)]=0x0;}['_popupMenuListener'](_0x256edf){const _0x3f2a8c=_0x718440;let _0x19e9dc=new _0x567e1d[(_0x3f2a8c(0x3de))]();return _0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x2ad)][_0x3f2a8c(0x374)](()=>{const _0x407bd2=_0x3f2a8c;let _0x4959ee=_0x256edf['getSelectedObjectMap']();if(this[_0x407bd2(0x21f)](),this[_0x407bd2(0x2fa)]||_0x4959ee[_0x407bd2(0x2db)]>0x1)return;let _0x455cfd=_0x4959ee['values']()[_0x407bd2(0x34f)]()['value'];if(!_0x455cfd)return;let _0x481903=this['_drawingManagerService'][_0x407bd2(0x380)](_0x455cfd[_0x407bd2(0x1d1)]);if(!_0x481903||_0x481903['drawingType']!==_0x567e1d[_0x407bd2(0x2f1)]['DRAWING_SHAPE'])return;let {unitId:_0x5348a1,subUnitId:_0x3d8b38,drawingId:_0x45297c,drawingType:_0x33531d}=_0x481903,_0x34aa98=this[_0x407bd2(0x295)](_0x5348a1,_0x3d8b38,_0x45297c);if(!_0x34aa98)return;this['_contextService'][_0x407bd2(0x4b8)](_0x567e1d[_0x407bd2(0x457)],!0x0);let _0x434e6a=this['_renderManagerService'][_0x407bd2(0x403)](_0x5348a1),_0x3ada43=((_0x434e6a==null?void 0x0:_0x434e6a[_0x407bd2(0x343)])===!0x1?_0x434e6a[_0x407bd2(0x549)](_0x17eed7[_0x407bd2(0x339)]):this[_0x407bd2(0x19a)])[_0x407bd2(0x553)](_0x455cfd,{'componentKey':_0x708f5a,'direction':_0x407bd2(0x3ae),'offset':[0x0,_0x54a51b[_0x407bd2(0x53f)]],'extraProps':{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c,'drawingType':_0x33531d,'shapeType':_0x34aa98['shapeType'],'shapeData':_0x34aa98['shapeData']}});this[_0x407bd2(0x49a)]['push'](this[_0x407bd2(0x503)](_0x3ada43)),this['_drawingManagerService'][_0x407bd2(0x447)]()['find'](_0x8abb47=>_0x8abb47[_0x407bd2(0x45d)]===_0x5348a1&&_0x8abb47[_0x407bd2(0x31f)]===_0x3d8b38&&_0x8abb47['drawingId']===_0x45297c)||this[_0x407bd2(0x2a8)][_0x407bd2(0x1b3)]([{'unitId':_0x5348a1,'subUnitId':_0x3d8b38,'drawingId':_0x45297c}]);})),_0x19e9dc['add'](_0x256edf['clearControl$'][_0x3f2a8c(0x374)](()=>{const _0x17e8f0=_0x3f2a8c;this['_clearPopups'](),this[_0x17e8f0(0x469)]['setContextValue'](_0x567e1d['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x17e8f0(0x1b3)](null);})),_0x19e9dc['add'](_0x256edf[_0x3f2a8c(0x4a4)][_0x3f2a8c(0x374)](()=>{const _0x2beea2=_0x3f2a8c;this[_0x2beea2(0x21f)]();})),_0x19e9dc[_0x3f2a8c(0x3e3)](_0x256edf[_0x3f2a8c(0x4b3)][_0x3f2a8c(0x374)](()=>{const _0x5d568f=_0x3f2a8c;this[_0x5d568f(0x21f)]();})),(0x0,_0x567e1d[_0x3f2a8c(0x23c)])(()=>{const _0x38bf1e=_0x3f2a8c;_0x19e9dc[_0x38bf1e(0x4dd)](),this[_0x38bf1e(0x21f)]();});}['_registerOperations'](){const _0x2389a5=_0x718440;this[_0x2389a5(0x503)](this[_0x2389a5(0x594)][_0x2389a5(0x4c2)](_0x521198=>{const _0x25dc78=_0x2389a5;if(_0x521198['id']===_0x55af59['id']){let {unitId:_0xd28fa,subUnitId:_0x273dde,drawingId:_0x27e748}=_0x521198[_0x25dc78(0x247)];this[_0x25dc78(0x282)]+=0x1,this[_0x25dc78(0x436)]=this[_0x25dc78(0x295)](_0xd28fa,_0x273dde,_0x27e748),this[_0x25dc78(0x21f)](),this[_0x25dc78(0x585)]();}if(_0x521198['id']===_0x26247f['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0x521198['id']===_0x239f56['UpdateSheetsShapeDataMutation']['id']){let {unitId:_0x56f5d5,subUnitId:_0xcc5992,shapeId:_0x5c9c18}=_0x521198[_0x25dc78(0x247)];if(this[_0x25dc78(0x436)]&&this[_0x25dc78(0x436)][_0x25dc78(0x1fd)]===_0x5c9c18){let _0xeb49e6=this['_getShapeInfo'](_0x56f5d5,_0xcc5992,_0x5c9c18);_0xeb49e6&&(this[_0x25dc78(0x282)]+=0x1,_0xeb49e6[_0x25dc78(0x345)]=this[_0x25dc78(0x282)],this['_activeShapeInfo']=_0xeb49e6,this[_0x25dc78(0x2fa)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this['_drawingManagerService']['focus$']['subscribe'](_0x2e98cc=>{const _0x251e4b=_0x2389a5;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x2e98cc[_0x251e4b(0x212)]===0x0){this[_0x251e4b(0x436)]=null,this[_0x251e4b(0x209)]();return;}if(_0x2e98cc[_0x251e4b(0x212)]===0x1&&_0x2e98cc[0x0]['drawingType']===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x251e4b(0x436)]=this[_0x251e4b(0x295)](_0x2e98cc[0x0]['unitId'],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)])){this[_0x251e4b(0x585)]();return;}let _0x30b7da=_0x2e98cc['filter'](_0xe1952e=>_0xe1952e[_0x251e4b(0x37f)]===_0x567e1d[_0x251e4b(0x2f1)]['DRAWING_SHAPE']);if(_0x2e98cc[_0x251e4b(0x212)]>0x1&&_0x30b7da['length']===_0x2e98cc[_0x251e4b(0x212)]){if(this[_0x251e4b(0x282)]+=0x1,this[_0x251e4b(0x436)]=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0][_0x251e4b(0x31f)],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x585)]();return;}}else{if(this[_0x251e4b(0x282)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x2e98cc[0x0][_0x251e4b(0x45d)],_0x2e98cc[0x0]['subUnitId'],_0x2e98cc[0x0][_0x251e4b(0x25d)]),this[_0x251e4b(0x436)]){this[_0x251e4b(0x436)][_0x251e4b(0x23a)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x251e4b(0x209)]();}));}[_0x718440(0x585)](){const _0x30b9bb=_0x718440;this[_0x30b9bb(0x436)]&&(this['_sidebarDisposable']=this['_sidebarService'][_0x30b9bb(0x395)]({'id':_0x1b3159,'header':{'title':this['_localeService']['t'](_0x30b9bb(0x4d6))},'width':0x184,'children':{'label':_0x1b3159,...this[_0x30b9bb(0x436)]},'onClose':()=>{const _0x362ee4=_0x30b9bb;this[_0x362ee4(0x2a8)]['focusDrawing'](null),this[_0x362ee4(0x469)][_0x362ee4(0x4b8)](_0x567e1d[_0x362ee4(0x457)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x718440(0x209)](){const _0x501c9a=_0x718440;this[_0x501c9a(0x2fa)]=!0x1,this['_sidebarService'][_0x501c9a(0x589)](_0x1b3159),this[_0x501c9a(0x2b1)]=null,this[_0x501c9a(0x469)][_0x501c9a(0x4b8)](_0x567e1d[_0x501c9a(0x457)],!0x1),this[_0x501c9a(0x2a8)][_0x501c9a(0x1b3)](null);}};_0x37583a=_0xb31b0c([_0x519f13(0x0,_0x567e1d[_0x718440(0x32e)]),_0x519f13(0x1,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x5744c6[_0x718440(0x525)])),_0x519f13(0x2,_0x5744c6['IMenuManagerService']),_0x519f13(0x3,(0x0,_0x567e1d[_0x718440(0x3f4)])(_0x239f56['SheetsShapeService'])),_0x519f13(0x4,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x359)])),_0x519f13(0x5,_0x567e1d['ICommandService']),_0x519f13(0x6,_0x36b4c7[_0x718440(0x529)]),_0x519f13(0x7,(0x0,_0x567e1d['Inject'])(_0x17eed7[_0x718440(0x339)])),_0x519f13(0x8,_0x567e1d[_0x718440(0x452)]),_0x519f13(0x9,_0x3e5eae[_0x718440(0x39e)]),_0x519f13(0xa,(0x0,_0x567e1d['Inject'])(_0x5c8f01))],_0x37583a);let _0x29c25b=class extends _0x567e1d[_0x718440(0x44a)]{constructor(_0x48cad4=_0x3dd284,_0x156d62,_0x556893,_0x395b7e,_0x11b36f){const _0x4c19bb=_0x718440;super(),this[_0x4c19bb(0x561)]=_0x48cad4,this['_injector']=_0x156d62,this[_0x4c19bb(0x594)]=_0x556893,this[_0x4c19bb(0x43f)]=_0x395b7e,this[_0x4c19bb(0x57e)]=_0x11b36f;let {..._0x382d04}=(0x0,_0x567e1d['merge'])({},_0x3dd284,this[_0x4c19bb(0x561)]);this[_0x4c19bb(0x43f)]['setConfig'](_0x31802e,_0x382d04),this[_0x4c19bb(0x4bc)]();}[_0x718440(0x2b4)](){const _0xdd0566=_0x718440;this[_0xdd0566(0x57e)][_0xdd0566(0x46a)](_0x567e1d[_0xdd0566(0x1e5)][_0xdd0566(0x420)],[_0x4c6bc3]),(0x0,_0x567e1d[_0xdd0566(0x2d1)])(this['_injector'],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611]]);}[_0x718440(0x263)](){const _0x3199f2=_0x718440;this['_injector']['get'](_0x37583a)[_0x3199f2(0x1f2)]();}['onReady'](){const _0x5936e2=_0x718440;[[_0x39d55c],[_0x5258f8],[_0x19fd0d]][_0x5936e2(0x241)](_0x4af4c1=>this[_0x5936e2(0x249)][_0x5936e2(0x3e3)](_0x4af4c1)),(0x0,_0x567e1d[_0x5936e2(0x2d1)])(this['_injector'],[[_0x19fd0d],[_0x5258f8]]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x39d55c]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x47426e]),this[_0x5936e2(0x57e)]['registerRenderModule'](_0x567e1d['UniverInstanceType'][_0x5936e2(0x2e6)],[_0x2dd992]),this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)][_0x5936e2(0x2e6)],[_0x26166d]),this[_0x5936e2(0x503)](this[_0x5936e2(0x57e)][_0x5936e2(0x46a)](_0x567e1d[_0x5936e2(0x1e5)]['UNIVER_SHEET'],[_0x139a8e]));}['onStarting'](){const _0x3b936d=_0x718440;this[_0x3b936d(0x249)]['add']([_0x5b23a2]),this[_0x3b936d(0x249)]['get'](_0x5b23a2);let _0x7299e4=this[_0x3b936d(0x249)];[[_0x37583a],[_0x55730e],[_0x29d254],[_0x189611],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]][_0x3b936d(0x241)](_0x19ceae=>_0x7299e4[_0x3b936d(0x3e3)](_0x19ceae)),(0x0,_0x567e1d[_0x3b936d(0x2d1)])(this[_0x3b936d(0x249)],[[_0x37583a],[_0x55730e],[_0x29d254],[_0x42fc7f],[_0x5c8f01],[_0x256f6f],[_0x392613],[_0x1f125a],[_0x53b597]]);}[_0x718440(0x4bc)](){const _0x226a37=_0x718440;[_0x31381b,_0x1f4f18,_0x26247f,_0x55af59,_0x465174,_0x2a6b80,_0x2ecd4a,_0x471ba4][_0x226a37(0x241)](_0x4df9fc=>this[_0x226a37(0x503)](this[_0x226a37(0x594)][_0x226a37(0x48b)](_0x4df9fc)));}};_0x55cc91(_0x29c25b,_0x718440(0x19f),_0x567e1d['UniverInstanceType'][_0x718440(0x2e6)]),_0x55cc91(_0x29c25b,_0x718440(0x56f),_0x718440(0x326)),_0x55cc91(_0x29c25b,_0x718440(0x413),_0x1b0553),_0x55cc91(_0x29c25b,_0x718440(0x345),_0x1ae96e),_0x29c25b=_0xb31b0c([(0x0,_0x567e1d[_0x718440(0x474)])(_0x2b0b35[_0x718440(0x4e6)],_0x4d3fb2['UniverDocsPlugin'],_0x36b4c7[_0x718440(0x286)],_0x44d5e4[_0x718440(0x38a)],_0x3e5eae[_0x718440(0x495)],_0x11447f[_0x718440(0x35a)],_0x36809f[_0x718440(0x1bd)],_0x1f8323['UniverSheetsDrawingPlugin'],_0x42b73e[_0x718440(0x2df)],_0x2ea516['UniverSheetsDrawingUIPlugin'],_0x239f56[_0x718440(0x4eb)],_0x17eed7['UniverSheetsUIPlugin'],_0x54a51b['UniverShapeEditorUIPlugin']),_0x519f13(0x1,(0x0,_0x567e1d['Inject'])(_0x567e1d[_0x718440(0x442)])),_0x519f13(0x2,_0x567e1d[_0x718440(0x1cf)]),_0x519f13(0x3,_0x567e1d[_0x718440(0x215)]),_0x519f13(0x4,_0x3e5eae[_0x718440(0x39e)])],_0x29c25b),_0x389d98['SheetsShapeUIContextualRibbonSchema']=_0x5a4d9c,_0x389d98[_0x718440(0x3b8)]=_0x4fc050,Object['defineProperty'](_0x389d98,_0x718440(0x2a5),{'enumerable':!0x0,'get':function(){return _0x51e94d;}}),Object[_0x718440(0x54c)](_0x389d98,_0x718440(0x471),{'enumerable':!0x0,'get':function(){return _0x29c25b;}});}));
|
|
1
|
+
(function(_0x4eb18e,_0x3b0847){const _0x4a9774=_0x43eb,_0x52ccfa=_0x4eb18e();while(!![]){try{const _0x33c3f0=parseInt(_0x4a9774(0xe0))/0x1+parseInt(_0x4a9774(0x2da))/0x2*(parseInt(_0x4a9774(0x49c))/0x3)+-parseInt(_0x4a9774(0x373))/0x4*(-parseInt(_0x4a9774(0x1d1))/0x5)+parseInt(_0x4a9774(0x3fd))/0x6+parseInt(_0x4a9774(0x496))/0x7*(-parseInt(_0x4a9774(0x436))/0x8)+-parseInt(_0x4a9774(0x392))/0x9*(parseInt(_0x4a9774(0x276))/0xa)+parseInt(_0x4a9774(0x1f1))/0xb*(-parseInt(_0x4a9774(0x133))/0xc);if(_0x33c3f0===_0x3b0847)break;else _0x52ccfa['push'](_0x52ccfa['shift']());}catch(_0x295712){_0x52ccfa['push'](_0x52ccfa['shift']());}}}(_0x5c87,0x5c01e),function(_0x5b5efb,_0x3ed35a){const _0x64d21d=_0x43eb;typeof exports=='object'&&typeof module<'u'?_0x3ed35a(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==_0x64d21d(0x34f)&&define[_0x64d21d(0x15c)]?define(['exports',_0x64d21d(0x2e1),_0x64d21d(0x189),_0x64d21d(0x37a),_0x64d21d(0x424),_0x64d21d(0x28e),_0x64d21d(0x46d),_0x64d21d(0x14f),_0x64d21d(0x1bf),_0x64d21d(0x460),_0x64d21d(0x3bd),_0x64d21d(0xf2),_0x64d21d(0x38c),_0x64d21d(0x43f),_0x64d21d(0x240),_0x64d21d(0x482),'@univerjs-pro/license','@univerjs/docs',_0x64d21d(0x3eb),_0x64d21d(0x3e1),_0x64d21d(0x498)],_0x3ed35a):(_0x5b5efb=typeof globalThis<'u'?globalThis:_0x5b5efb||self,_0x3ed35a(_0x5b5efb[_0x64d21d(0x4b5)]={},_0x5b5efb[_0x64d21d(0x10d)],_0x5b5efb[_0x64d21d(0x2ce)],_0x5b5efb[_0x64d21d(0x20d)],_0x5b5efb[_0x64d21d(0x4b9)],_0x5b5efb[_0x64d21d(0x1a4)],_0x5b5efb[_0x64d21d(0x1da)],_0x5b5efb[_0x64d21d(0x2a1)],_0x5b5efb[_0x64d21d(0x170)],_0x5b5efb[_0x64d21d(0x18a)],_0x5b5efb['UniverSheetsUi'],_0x5b5efb[_0x64d21d(0xf2)],_0x5b5efb['UniverDrawingUi'],_0x5b5efb[_0x64d21d(0x36e)],_0x5b5efb[_0x64d21d(0x27a)],_0x5b5efb[_0x64d21d(0x122)],_0x5b5efb[_0x64d21d(0x3d7)],_0x5b5efb[_0x64d21d(0x4ce)],_0x5b5efb[_0x64d21d(0x298)],_0x5b5efb[_0x64d21d(0x29e)],_0x5b5efb[_0x64d21d(0x27a)]));}(this,function(_0x507edb,_0x2a9d6c,_0x2f96d6,_0x287478,_0x54f73f,_0x276c17,_0x383631,_0x111c96,_0x279593,_0x1c3608,_0x261221,_0x4250df,_0x129810,_0x4a69b4,_0x4170e1,_0x72b203,_0x42a3f1,_0x1a7a3e,_0x12171b,_0x44e77f,_0x6ed98f){const _0x5671d9=_0x43eb;Object[_0x5671d9(0x406)](_0x507edb,Symbol[_0x5671d9(0x1c0)],{'value':_0x5671d9(0x210)});function _0xb7aa57(_0x5093cd,_0x37ed40){const _0x31ad8b=_0x5671d9;let _0x19bc6a={};for(let _0x6303e0 of Object[_0x31ad8b(0x144)](_0x37ed40)){let _0x314a9b=_0x37ed40[_0x6303e0],_0xba0905=_0x5093cd[_0x6303e0];if(_0xba0905===void 0x0){_0x19bc6a[_0x6303e0]=void 0x0;continue;}_0x19bc6a[_0x6303e0]=typeof _0x314a9b==_0x31ad8b(0x2a6)&&_0x314a9b&&!Array['isArray'](_0x314a9b)&&typeof _0xba0905==_0x31ad8b(0x2a6)&&_0xba0905&&!Array[_0x31ad8b(0xfd)](_0xba0905)?_0xb7aa57(_0xba0905,_0x314a9b):_0xba0905;}return _0x19bc6a;}let _0x57882a={'type':_0x383631[_0x5671d9(0x465)]['COMMAND'],'id':_0x5671d9(0x2e6),'handler':(_0x32190a,_0x1440ae)=>{const _0x583390=_0x5671d9;let _0x1bb302=_0x32190a[_0x583390(0x4be)](_0x276c17[_0x583390(0x188)]),{unitId:_0x20f0c2,subUnitId:_0x51b67a,shapeType:_0x44519e,shapeId:_0x34ff61,shapeData:_0x12e917,replaceShapeData:_0x3a109f,oldShapeJSON:_0xb9ace9}=_0x1440ae;if(!_0x1bb302['getShapeModel'](_0x20f0c2,_0x51b67a,_0x34ff61))return!0x1;let _0x2b8fd5=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x24e)]),_0x1b2e5b=_0x32190a[_0x583390(0x4be)](_0x383631[_0x583390(0x42c)]),{oldShapeType:_0x25e398,oldShapeData:_0x3bada5={}}=_0xb9ace9,_0x5acaa4=_0x3a109f?_0x3bada5:_0xb7aa57(_0x3bada5,_0x12e917||{}),_0x550432={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x44519e,'shapeData':_0x12e917,'replace':_0x3a109f}},_0x46ecb6={'id':_0x276c17[_0x583390(0x250)]['id'],'params':{'unitId':_0x20f0c2,'subUnitId':_0x51b67a,'shapeId':_0x34ff61,'shapeType':_0x25e398,'shapeData':_0x5acaa4,'replace':_0x3a109f}};return _0x2b8fd5[_0x583390(0x3e7)](_0x550432['id'],_0x550432[_0x583390(0x4a7)])?(_0x1b2e5b['pushUndoRedo']({'unitID':_0x20f0c2,'undoMutations':[_0x46ecb6],'redoMutations':[_0x550432]}),!0x0):!0x1;}};function _0x100eae(_0x22d077,_0x13a906,_0xc1d87d,_0x50c42c,_0x2e1307,_0x5f53e7){const _0x5d780f=_0x5671d9;let _0x43093f={'unitId':_0x13a906,'subUnitId':_0xc1d87d,'shapeId':_0x50c42c,'shapeData':_0x5f53e7,'oldShapeJSON':_0x2e1307};return _0x22d077[_0x5d780f(0x1f9)](_0x57882a['id'],_0x43093f);}function _0x9cff5f(_0x2e7b42,_0x354f72,_0x13b8bc,_0x499c9e,_0x2f331c,_0xa2f9cf){const _0x386ac6=_0x5671d9;let _0x3d1e1c={'unitId':_0x354f72,'subUnitId':_0x13b8bc,'shapeId':_0x499c9e,'shapeData':_0xa2f9cf,'oldShapeJSON':_0x2f331c};return _0x2e7b42[_0x386ac6(0x1f9)](_0x57882a['id'],_0x3d1e1c);}function _0xde59e4(_0x353c65){'@babel/helpers - typeof';const _0x4e20a1=_0x5671d9;return _0xde59e4=typeof Symbol=='function'&&typeof Symbol[_0x4e20a1(0x312)]==_0x4e20a1(0x2e2)?function(_0x10d338){return typeof _0x10d338;}:function(_0x4b2e10){const _0x19cceb=_0x4e20a1;return _0x4b2e10&&typeof Symbol=='function'&&_0x4b2e10[_0x19cceb(0x4c8)]===Symbol&&_0x4b2e10!==Symbol[_0x19cceb(0x268)]?'symbol':typeof _0x4b2e10;},_0xde59e4(_0x353c65);}function _0x4c1c39(_0x3de7f3,_0xdb3fc3){const _0x463363=_0x5671d9;if(_0xde59e4(_0x3de7f3)!=_0x463363(0x2a6)||!_0x3de7f3)return _0x3de7f3;var _0x1ba9c9=_0x3de7f3[Symbol[_0x463363(0x2b6)]];if(_0x1ba9c9!==void 0x0){var _0x41c089=_0x1ba9c9[_0x463363(0x14a)](_0x3de7f3,_0xdb3fc3||_0x463363(0x4c1));if(_0xde59e4(_0x41c089)!=_0x463363(0x2a6))return _0x41c089;throw TypeError(_0x463363(0x316));}return(_0xdb3fc3===_0x463363(0x3d1)?String:Number)(_0x3de7f3);}function _0x575482(_0x520cf1){const _0x824799=_0x5671d9;var _0x2e78ec=_0x4c1c39(_0x520cf1,_0x824799(0x3d1));return _0xde59e4(_0x2e78ec)==_0x824799(0x2e2)?_0x2e78ec:_0x2e78ec+'';}function _0x20dccc(_0x2c1955,_0xe10b27,_0x7b999b){const _0x59f7f4=_0x5671d9;return(_0xe10b27=_0x575482(_0xe10b27))in _0x2c1955?Object[_0x59f7f4(0x406)](_0x2c1955,_0xe10b27,{'value':_0x7b999b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2c1955[_0xe10b27]=_0x7b999b,_0x2c1955;}function _0x1fbcfe(_0x5beed9,_0x3774c1,_0x3ccb09){const _0x30f500=_0x5671d9;let _0x17ae4d={..._0x3774c1,'dataModel':{..._0x3774c1['dataModel']??{},..._0x3ccb09?{'doc':_0x3ccb09}:null}},_0x535b07=(0x0,_0x2a9d6c[_0x30f500(0x1d9)])(_0x5beed9,_0x17ae4d),_0x46c994=(0x0,_0x2a9d6c[_0x30f500(0x3c7)])(_0x535b07);return{'clip':(0x0,_0x2a9d6c[_0x30f500(0x423)])(_0x535b07,_0x46c994),'wrapStrategy':_0x46c994};}var _0x23237e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x2b3d86,_0x2c9de2){const _0x13e933=_0x5671d9;super(_0x2b3d86,_0x2c9de2),_0x20dccc(this,_0x13e933(0x332),[]),_0x20dccc(this,_0x13e933(0x10f),void 0x0),_0x20dccc(this,_0x13e933(0x1f5),new _0x2a9d6c[(_0x13e933(0x169))](()=>this[_0x13e933(0x33a)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x20dccc(this,_0x13e933(0x1d3),!0x0),_0x20dccc(this,_0x13e933(0x2d9),_0x383631[_0x13e933(0x286)][_0x13e933(0x456)]),_0x20dccc(this,_0x13e933(0x186),!0x0),this[_0x13e933(0x10f)]={..._0x2c9de2},this[_0x13e933(0x1f5)]['setPresentation'](_0x2c9de2['formulaPresentation'],_0x2c9de2[_0x13e933(0x46c)]!==!0x1),this['_init'](),this['_applyFormulaAutoFitSize']();}[_0x5671d9(0x2fa)](){const _0x203f91=_0x5671d9;this[_0x203f91(0x164)][_0x203f91(0x17a)](_0x4ed3b3=>{const _0x4a6c65=_0x203f91;this[_0x4a6c65(0x1d2)](_0x4ed3b3);});}[_0x5671d9(0x408)](_0x7fc041){this['_props']['prstGeom']=_0x7fc041;}[_0x5671d9(0x469)](_0xb44ac5){const _0x109441=_0x5671d9;if(this[_0x109441(0x10f)]['isEditing'])return null;let _0x57d8a4=this[_0x109441(0x39b)](_0xb44ac5),{width:_0x402ec0,height:_0x4f4bc6}=this[_0x109441(0x275)]();return(0x0,_0x2a9d6c['resolveShapeTextHyperLinkAt'])(this[_0x109441(0x332)],{'x':(this['flipX']?-_0x57d8a4['x']:_0x57d8a4['x'])+_0x402ec0/0x2,'y':_0x57d8a4['y']+_0x4f4bc6/0x2});}[_0x5671d9(0x2b2)](_0x262ad9){const _0x50cb77=_0x5671d9;this[_0x50cb77(0x10f)][_0x50cb77(0x179)]=_0x262ad9,this[_0x50cb77(0x33a)](!0x0);}[_0x5671d9(0x40c)](_0x31c6de,_0x5463f6=!0x0){const _0x365260=_0x5671d9;this[_0x365260(0x1f5)][_0x365260(0x25b)](_0x31c6de,_0x5463f6),this[_0x365260(0x10f)]['formulaPresentation']=_0x31c6de,this[_0x365260(0x4c2)](),this[_0x365260(0x33a)](!0x0);}[_0x5671d9(0x4c2)](){const _0x32aa1c=_0x5671d9;let _0x531842=this[_0x32aa1c(0x10f)][_0x32aa1c(0xc9)],_0x55484b=_0x531842[_0x32aa1c(0x4bd)](),_0x324cd3=(0x0,_0x2a9d6c[_0x32aa1c(0x120)])(_0x55484b==null?void 0x0:_0x55484b[_0x32aa1c(0x1c9)]),_0x148dc1=_0x324cd3==null?void 0x0:_0x324cd3[_0x32aa1c(0x149)],_0x59c12c=this[_0x32aa1c(0x1f5)][_0x32aa1c(0x4bc)]();if(!_0x148dc1||_0x59c12c['length']===0x0)return;_0x531842['updateContext']({'width':this[_0x32aa1c(0x439)],'height':this['height']});let _0x17c3bb=(0x0,_0x2a9d6c[_0x32aa1c(0x21a)])({'documentData':_0x59c12c[_0x32aa1c(0x3da)](_0x2eba95=>(0x0,_0x54f73f[_0x32aa1c(0x22c)])(_0x148dc1,_0x2eba95)),'height':this[_0x32aa1c(0x2ea)],'shapeData':_0x531842['getShapeData'](),'textRect':_0x531842[_0x32aa1c(0x35e)]({'left':0x0,'top':0x0,'width':this[_0x32aa1c(0x439)],'height':this[_0x32aa1c(0x2ea)]}),'width':this[_0x32aa1c(0x439)]});if(_0x17c3bb){var _0xc921c0;this[_0x32aa1c(0xde)](_0x17c3bb['width'],_0x17c3bb[_0x32aa1c(0x2ea)]),(_0xc921c0=this[_0x32aa1c(0x31e)]())==null||(_0xc921c0=_0xc921c0[_0x32aa1c(0x492)]())==null||_0xc921c0[_0x32aa1c(0x285)]();}}get[_0x5671d9(0x173)](){const _0x476ebd=_0x5671d9;return this['_props'][_0x476ebd(0x173)];}get[_0x5671d9(0x135)](){const _0x37f9e3=_0x5671d9;return this['_props'][_0x37f9e3(0x135)];}[_0x5671d9(0x1d2)](_0x1e719f){const _0x52e9b6=_0x5671d9;if(this[_0x52e9b6(0x10f)][_0x52e9b6(0x3cc)]==null||!this[_0x52e9b6(0x1d3)])return;let {width:_0x13c334,height:_0x1f675a}=this,{width:_0x3e1a96=0x0,height:_0x18eacd=0x0}=_0x1e719f[_0x52e9b6(0xc4)],{left:_0x6adf9e=0x0,top:_0x46ff8e=0x0,right:_0x5ee532=0x0,bottom:_0x13a30e=0x0}=this['_props']['srcRect'],_0x34ac43=_0x6adf9e,_0x4d991a=_0x46ff8e,_0x205c00=_0x5ee532,_0x4bab12=_0x13a30e,_0x394fd0=!0x1;if(_0x3e1a96!==0x0&&_0x3e1a96!==_0x13c334){let _0x570dbb=_0x6adf9e/_0x3e1a96,_0x5f140e=_0x5ee532/_0x3e1a96;_0x34ac43=_0x13c334*_0x570dbb,_0x205c00=_0x13c334*_0x5f140e,_0x394fd0=!0x0;}if(_0x18eacd!==0x0&&_0x18eacd!==_0x1f675a){let _0x1a569c=_0x46ff8e/_0x18eacd,_0x7ad4e6=_0x13a30e/_0x18eacd;_0x4d991a=_0x1f675a*_0x1a569c,_0x4bab12=_0x1f675a*_0x7ad4e6,_0x394fd0=!0x0;}_0x394fd0&&this[_0x52e9b6(0x19a)]({'left':_0x34ac43,'top':_0x4d991a,'right':_0x205c00,'bottom':_0x4bab12});}[_0x5671d9(0x19a)](_0x1bc92e){const _0x3b89ba=_0x5671d9;this[_0x3b89ba(0x10f)][_0x3b89ba(0x3cc)]=_0x1bc92e,this[_0x3b89ba(0x33a)](!0x0);}['setFillImage'](_0x305295){const _0x84862=_0x5671d9;this[_0x84862(0x10f)][_0x84862(0x2c4)]=_0x305295,this[_0x84862(0x33a)](!0x0);}set['transform'](_0x20f3f3){const _0x11b81a=_0x5671d9;this[_0x11b81a(0x459)]=_0x20f3f3;}get[_0x5671d9(0x2c6)](){const _0x9d5a18=_0x5671d9;this[_0x9d5a18(0x459)]||this[_0x9d5a18(0x25e)]();let _0x188ae5=this[_0x9d5a18(0x459)][_0x9d5a18(0x4b1)]();return this['transformForAngle'](_0x188ae5);}get['shapeModel'](){const _0x37f8af=_0x5671d9;return this[_0x37f8af(0x10f)][_0x37f8af(0xc9)];}get['shapeId'](){const _0x47308b=_0x5671d9;return this[_0x47308b(0x10f)][_0x47308b(0x37d)];}get[_0x5671d9(0x12f)](){const _0x52a8e8=_0x5671d9;return _0x1c3608[_0x52a8e8(0x3dd)][_0x52a8e8(0x277)];}['_draw'](_0x2662fc,_0x1ee12f,_0x200cac,_0x308bf6){const _0x568de4=_0x5671d9;let _0x474be5=this[_0x568de4(0x10f)][_0x568de4(0xc9)];if(!_0x474be5||!_0x1ee12f)return;let _0x59ef92=_0x200cac??this['width'],_0x522098=_0x308bf6??this[_0x568de4(0x2ea)],_0x2ea74d={'shapeType':_0x474be5[_0x568de4(0x347)](),'width':_0x59ef92,'height':_0x522098},_0x2c8768={'renderMode':_0x287478[_0x568de4(0x31f)]['Path'],'oKey':this[_0x568de4(0x1ed)],'image':this['_props'][_0x568de4(0x2c4)],'angle':this['angle']};_0x474be5['updateContext'](_0x2ea74d),_0x2662fc['save']();let _0x3fd150={'top':0x0,'left':0x0,'width':_0x59ef92,'height':_0x522098},_0x39262d=_0x474be5['getDrawingEffectBounds'](_0x3fd150);_0x39262d?this[_0x568de4(0x453)](_0x2662fc,_0x39262d,_0xf315d4=>{const _0xbf7a50=_0x568de4;_0x474be5[_0xbf7a50(0x489)](_0xf315d4,_0x3fd150,_0x2c8768);}):(this[_0x568de4(0xd5)](),_0x474be5[_0x568de4(0x489)](_0x2662fc,_0x3fd150,_0x2c8768)),_0x2662fc['restore']();let _0x3580f9=_0x474be5['getShapeTextData'](),_0x982e7c=_0x474be5[_0x568de4(0x35e)](_0x3fd150),_0x3d0b8a=_0x474be5[_0x568de4(0x35b)]();if(_0x3580f9&&_0x982e7c&&!_0x3d0b8a){_0x2662fc['save'](),this[_0x568de4(0x352)]()[_0x568de4(0x160)]&&_0x2662fc[_0x568de4(0x43b)](-0x1,0x1);let _0x2391c7=_0x59ef92/0x2,_0x50e831=_0x522098/0x2;_0x2662fc[_0x568de4(0x1e3)](-_0x2391c7,-_0x50e831),_0x2662fc[_0x568de4(0x1aa)](),this[_0x568de4(0x3ac)](_0x2662fc,_0x3580f9,_0x982e7c),_0x2662fc[_0x568de4(0xc7)]();}}['getDrawingPoints'](_0x1861c7){}['_drawShapeText'](_0xa142c8,_0x28f9c6,_0x2ae75d){const _0x2d3a9b=_0x5671d9;var _0xdf2f78;this[_0x2d3a9b(0x332)]=[],!this['_props'][_0x2d3a9b(0x179)]&&(!((_0xdf2f78=_0x28f9c6[_0x2d3a9b(0x1c9)])!=null&&_0xdf2f78[_0x2d3a9b(0x149)])&&'isRichText'in _0x28f9c6&&_0x28f9c6[_0x2d3a9b(0x318)]===!0x1?this['_drawSimpleText'](_0xa142c8,_0x28f9c6,_0x2ae75d):this[_0x2d3a9b(0x336)](_0xa142c8,_0x28f9c6,_0x2ae75d));}['_drawSimpleText'](_0x2b61ae,_0x2e6be0,_0x1a7095){const _0x38fbf1=_0x5671d9;this['_drawRichText'](_0x2b61ae,{..._0x2e6be0,'text':_0x2e6be0['text']??'','dataModel':{'doc':(0x0,_0x2a9d6c[_0x38fbf1(0x202)])(_0x2e6be0,_0x38fbf1(0x36f)+this[_0x38fbf1(0x1ed)])}},_0x1a7095);}['_drawRichText'](_0x55bf18,_0x288786,_0x1dd5f7){const _0x390b32=_0x5671d9;(0x0,_0x2a9d6c[_0x390b32(0x44f)])(_0x55bf18,this['_formulaAnimation'],(_0xb793f8,_0x168224,_0x551359)=>{const _0x3caf5c=_0x390b32;this[_0x3caf5c(0x17c)](_0xb793f8,_0x288786,_0x1dd5f7,_0x168224,_0x551359===_0x3caf5c(0x441));});}[_0x5671d9(0x17c)](_0x184e5e,_0x52017d,_0x4506f4,_0x4241a9,_0x551ac1){const _0x4242a0=_0x5671d9;let _0x5f00ad=this[_0x4242a0(0x10f)][_0x4242a0(0x1b0)];if(!_0x52017d[_0x4242a0(0x1c9)]||!_0x5f00ad)return;let _0x14a6b4=(0x0,_0x2a9d6c[_0x4242a0(0x120)])(_0x52017d['dataModel']);if(!_0x14a6b4)return;let _0xd7d8eb=_0x14a6b4['doc'];if(!_0xd7d8eb)return;let _0x34da7e=(0x0,_0x54f73f[_0x4242a0(0x22c)])(_0xd7d8eb,_0x4241a9),_0x229082=_0x14a6b4['va']??_0x383631[_0x4242a0(0x2aa)]['TOP'],_0x466697=_0x14a6b4['ha']??_0x383631[_0x4242a0(0x379)][_0x4242a0(0x319)],_0xc14a7f=_0x1fbcfe(this[_0x4242a0(0x10f)][_0x4242a0(0xc9)][_0x4242a0(0xe8)](),_0x52017d,_0x34da7e),_0x1fb41a=_0x52017d[_0x4242a0(0x18e)],_0x1d1f43=(0x0,_0x2a9d6c[_0x4242a0(0x2bd)])(_0x34da7e,{'isHorizontal':_0x1fb41a!==!0x1,'textRect':_0x4506f4,'verticalAlign':_0x229082,'horizontalAlign':_0x466697,'wrapStrategy':_0xc14a7f[_0x4242a0(0x43d)]}),_0x2f9b22=new _0x383631['DocumentDataModel'](_0x1d1f43),_0x5711bb=new _0x1c3608['DocumentViewModel'](_0x2f9b22),_0x55f332=_0x1c3608[_0x4242a0(0xef)]['create'](_0x5711bb,_0x5f00ad);_0x55f332[_0x4242a0(0x48b)]();let _0x366bcf=_0x55f332[_0x4242a0(0x4ac)]()['actualHeight'],_0x3186ff=(0x0,_0x2a9d6c[_0x4242a0(0x29a)])({'contentHeight':_0x366bcf,'verticalAlign':_0x229082,'viewportHeight':_0x4506f4[_0x4242a0(0x2ea)]});_0x2f9b22[_0x4242a0(0x1af)]({'pageSize':{'width':_0x1fb41a===!0x1?_0x4506f4[_0x4242a0(0x2ea)]:_0x4506f4[_0x4242a0(0x439)],'height':(0x0,_0x2a9d6c[_0x4242a0(0x355)])(_0x34da7e,_0x3186ff[_0x4242a0(0x211)])}}),_0x2f9b22[_0x4242a0(0x3b7)]({'t':_0x3186ff['marginTop']}),_0x55f332['calculate']();let _0x2f00d9=new _0x1c3608[(_0x4242a0(0x1f4))](_0x4242a0(0x30d)+this[_0x4242a0(0x1ed)],_0x55f332,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x2f00d9[_0x4242a0(0xde)](_0x4506f4[_0x4242a0(0x439)],_0x3186ff[_0x4242a0(0x211)]),_0x184e5e[_0x4242a0(0x47a)](),_0x184e5e[_0x4242a0(0x4af)](_0x4506f4[_0x4242a0(0x32c)],_0x4506f4[_0x4242a0(0x1e1)]),_0xc14a7f[_0x4242a0(0x357)]&&(_0x184e5e[_0x4242a0(0x1aa)](),_0x184e5e[_0x4242a0(0x1d0)](0x0,_0x3186ff[_0x4242a0(0x30f)],_0x4506f4['width'],_0x3186ff[_0x4242a0(0x111)]),_0x184e5e[_0x4242a0(0x357)]()),_0x3186ff[_0x4242a0(0x2b5)]&&_0x184e5e[_0x4242a0(0x4af)](0x0,_0x3186ff['contentVerticalOffset']),_0x2f00d9[_0x4242a0(0x418)](_0x184e5e),_0x551ac1&&(this[_0x4242a0(0x332)]=(0x0,_0x2a9d6c['createShapeTextHyperLinkRegions'])(_0x2f00d9,{'left':_0x4506f4[_0x4242a0(0x32c)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff['contentVerticalOffset']},_0xc14a7f[_0x4242a0(0x357)]?{'left':_0x4506f4['left'],'right':_0x4506f4['left']+_0x4506f4[_0x4242a0(0x439)],'top':_0x4506f4[_0x4242a0(0x1e1)]+_0x3186ff[_0x4242a0(0x30f)],'bottom':_0x4506f4['top']+_0x3186ff[_0x4242a0(0x30f)]+_0x3186ff['clipHeight']}:void 0x0)),_0x184e5e[_0x4242a0(0xc7)](),_0x2f00d9['dispose'](),_0x55f332[_0x4242a0(0x39f)](),_0x5711bb[_0x4242a0(0x39f)](),_0x2f9b22[_0x4242a0(0x39f)]();}['render'](_0x1dc9ab,_0x24a7a2,_0x2f8bac=!0x1){const _0x2950bf=_0x5671d9;if(!this[_0x2950bf(0x167)])return this[_0x2950bf(0x33a)](!0x1),this;let {width:_0x56c9f7,height:_0x2e9476,left:_0x488fff,top:_0x450225}=this,_0x31baf3=this[_0x2950bf(0x275)]();if(_0x56c9f7=_0x31baf3[_0x2950bf(0x439)],_0x2e9476=_0x31baf3[_0x2950bf(0x2ea)],_0x488fff=_0x31baf3['left'],_0x450225=_0x31baf3[_0x2950bf(0x1e1)],this[_0x2950bf(0x22d)](_0x24a7a2)){let {top:_0x414eb2,left:_0x1bfa98,bottom:_0x5b3962,right:_0x25f0f9}=_0x24a7a2['viewBound'];if(_0x56c9f7+this[_0x2950bf(0x3fa)]+_0x488fff<_0x1bfa98||_0x25f0f9<_0x488fff||_0x2e9476+this[_0x2950bf(0x3fa)]+_0x450225<_0x414eb2||_0x5b3962<_0x450225)return this;}let _0x1cda67=_0x488fff+_0x56c9f7/0x2,_0x51a021=_0x450225+_0x2e9476/0x2,_0x2f86a1=this[_0x2950bf(0x2c6)][_0x2950bf(0x35d)]();if(this[_0x2950bf(0x10f)][_0x2950bf(0x179)]){let _0xbfeca5=this[_0x2950bf(0x352)](),_0x317d6c=new _0x1c3608[(_0x2950bf(0xd2))]();_0x317d6c[_0x2950bf(0x2ad)]({..._0xbfeca5}),_0x2f86a1=_0x317d6c[_0x2950bf(0x35d)]();}return _0x1dc9ab[_0x2950bf(0x47a)](),this[_0x2950bf(0x10f)][_0x2950bf(0xc9)][_0x2950bf(0x1e0)]===!0x0||_0x1dc9ab[_0x2950bf(0x2c6)](_0x2f86a1[0x0],_0x2f86a1[0x1],_0x2f86a1[0x2],_0x2f86a1[0x3],_0x1cda67,_0x51a021),this[_0x2950bf(0x23d)](_0x1dc9ab,_0x24a7a2,_0x56c9f7,_0x2e9476),_0x1dc9ab['restore'](),this[_0x2950bf(0x33a)](!0x1),this;}['getInverseCoord'](_0x4170db){const _0xf13c42=_0x5671d9;let {left:_0x5eeccc,top:_0x11596d,width:_0x500d49,height:_0x5dc36e}=this['getRealBound'](),_0x32bfde=this[_0xf13c42(0x2c6)][_0xf13c42(0x35d)](),_0x585f6e=_0x5eeccc+_0x500d49/0x2,_0xc1d480=_0x11596d+_0x5dc36e/0x2,_0x4fd4e8=new _0x1c3608['Transform']([_0x32bfde[0x0],_0x32bfde[0x1],_0x32bfde[0x2],_0x32bfde[0x3],_0x585f6e,_0xc1d480]),_0x250f50=this['getParent']();return(this[_0xf13c42(0x2e8)]&&(_0x250f50==null?void 0x0:_0x250f50['classType'])===_0x1c3608[_0xf13c42(0x3dd)][_0xf13c42(0x480)]?_0x250f50[_0xf13c42(0xc8)][_0xf13c42(0x449)](_0x4fd4e8):_0x4fd4e8)['invert']()[_0xf13c42(0x1ca)](_0x4170db);}[_0x5671d9(0x343)](_0x5e378d){const _0x299d12=_0x5671d9;let {left:_0x2b07b8,top:_0x1d9640,width:_0x1d83ab,height:_0x37615e}=this[_0x299d12(0x275)](),_0x3a4b54=_0x2b07b8+_0x1d83ab/0x2,_0x2aba51=_0x1d9640+_0x37615e/0x2,_0x893ebc=this[_0x299d12(0x2c6)][_0x299d12(0x35d)](),_0x1e7548=new _0x1c3608[(_0x299d12(0xd2))]([_0x893ebc[0x0],_0x893ebc[0x1],_0x893ebc[0x2],_0x893ebc[0x3],_0x3a4b54,_0x2aba51]),_0x50668f=this[_0x299d12(0x38f)](),_0x3db136=(this['isInGroup']&&(_0x50668f==null?void 0x0:_0x50668f[_0x299d12(0x12f)])===_0x1c3608[_0x299d12(0x3dd)][_0x299d12(0x480)]?_0x50668f[_0x299d12(0xc8)][_0x299d12(0x449)](_0x1e7548):_0x1e7548)[_0x299d12(0x13f)]()['applyPoint'](_0x5e378d),_0x1dea29=_0x1d83ab/0x2,_0x47c435=_0x37615e/0x2,_0xed90a3=this['_props'][_0x299d12(0xc9)];return _0xed90a3&&_0xed90a3['isLineShape']()?_0xed90a3[_0x299d12(0x2a2)](_0x3db136['x'],_0x3db136['y'],_0x1d83ab,_0x37615e):_0x3db136['x']>=-_0x1dea29-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['x']<=_0x1dea29+this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']>=-_0x47c435-this[_0x299d12(0x3fa)]/0x2&&_0x3db136['y']<=_0x47c435+this[_0x299d12(0x3fa)]/0x2;}['dispose'](){const _0x26ccb6=_0x5671d9;this[_0x26ccb6(0x1f5)][_0x26ccb6(0x39f)](),this[_0x26ccb6(0x10f)][_0x26ccb6(0xc9)]=null,super[_0x26ccb6(0x39f)]();}},_0x180d91=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x583b20,_0x3f6d65){const _0x275593=_0x5671d9;super(_0x583b20,_0x3f6d65),_0x20dccc(this,_0x275593(0x397),null),_0x20dccc(this,'_adjName',null),_0x20dccc(this,_0x275593(0x48e),null),_0x20dccc(this,_0x275593(0x1f0),null),_0x3f6d65&&this[_0x275593(0x172)](_0x3f6d65);}[_0x5671d9(0x4cd)](){const _0x176a4a=_0x5671d9;return{'unitId':this[_0x176a4a(0x48e)],'subUnitId':this[_0x176a4a(0x1f0)],'drawingId':this[_0x176a4a(0x397)]};}[_0x5671d9(0x172)](_0x10a5a6){const _0x235787=_0x5671d9;_0x10a5a6['shapeId']!==void 0x0&&(this[_0x235787(0x397)]=_0x10a5a6['shapeId']),_0x10a5a6[_0x235787(0x123)]!==void 0x0&&(this[_0x235787(0x134)]=_0x10a5a6[_0x235787(0x123)]),_0x10a5a6[_0x235787(0x173)]!==void 0x0&&(this['_unitId']=_0x10a5a6['unitId']),_0x10a5a6[_0x235787(0x135)]!==void 0x0&&(this[_0x235787(0x1f0)]=_0x10a5a6['subUnitId']),this['transformByState']({'width':_0x10a5a6[_0x235787(0x439)],'height':_0x10a5a6['height']});}[_0x5671d9(0x23d)](_0x5aef51){const _0x456ff3=_0x5671d9;_0x1c3608['Circle'][_0x456ff3(0xda)](_0x5aef51,{'radius':_0x287478['ShapeDefaultConfig'][_0x456ff3(0x14b)],'fill':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x227)],'stroke':_0x287478[_0x456ff3(0x10a)][_0x456ff3(0x232)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4177c4(_0x4e47d4,_0x7023fa){return function(_0x13121e,_0x31d5bb){_0x7023fa(_0x13121e,_0x31d5bb,_0x4e47d4);};}function _0x25a2aa(_0x94e80f,_0x547508,_0x5376fd,_0x122217){const _0x30f80c=_0x5671d9;var _0x1bec09=arguments[_0x30f80c(0x175)],_0x1831f1=_0x1bec09<0x3?_0x547508:_0x122217===null?_0x122217=Object[_0x30f80c(0x1bb)](_0x547508,_0x5376fd):_0x122217,_0x56e97b;if(typeof Reflect==_0x30f80c(0x2a6)&&typeof Reflect[_0x30f80c(0x2be)]=='function')_0x1831f1=Reflect[_0x30f80c(0x2be)](_0x94e80f,_0x547508,_0x5376fd,_0x122217);else{for(var _0xbb18df=_0x94e80f[_0x30f80c(0x175)]-0x1;_0xbb18df>=0x0;_0xbb18df--)(_0x56e97b=_0x94e80f[_0xbb18df])&&(_0x1831f1=(_0x1bec09<0x3?_0x56e97b(_0x1831f1):_0x1bec09>0x3?_0x56e97b(_0x547508,_0x5376fd,_0x1831f1):_0x56e97b(_0x547508,_0x5376fd))||_0x1831f1);}return _0x1bec09>0x3&&_0x1831f1&&Object[_0x30f80c(0x406)](_0x547508,_0x5376fd,_0x1831f1),_0x1831f1;}let _0x57eebe=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x1b7567,_0x5d32c3,_0xadc00b,_0x3d60b4,_0x4535a5,_0x2d27a8){const _0x52242e=_0x5671d9;super(),this['_drawingManagerService']=_0x1b7567,this[_0x52242e(0xd0)]=_0x5d32c3,this[_0x52242e(0x114)]=_0xadc00b,this[_0x52242e(0x2a0)]=_0x3d60b4,this[_0x52242e(0x47b)]=_0x4535a5,this[_0x52242e(0x245)]=_0x2d27a8,_0x20dccc(this,_0x52242e(0x26d),new Map()),this[_0x52242e(0x252)](this[_0x52242e(0x245)]['presentationChanged$'][_0x52242e(0x317)](_0x33ce12=>{const _0x1a79e2=_0x52242e;var _0x376c9a;(_0x376c9a=this['_formulaShapes']['get'](this['_formulaKey'](_0x33ce12[_0x1a79e2(0x173)],_0x33ce12['subUnitId'],_0x33ce12[_0x1a79e2(0x37d)])))==null||_0x376c9a[_0x1a79e2(0x3a7)](_0x1465a5=>_0x1465a5['setFormulaPresentation'](_0x33ce12['presentation'],_0x33ce12[_0x1a79e2(0x159)]));})),this[_0x52242e(0x252)](this[_0x52242e(0x306)][_0x52242e(0x1d5)]['subscribe'](_0x13fa02=>{const _0x5aa981=_0x52242e;_0x13fa02[_0x5aa981(0x3a7)](_0x304dae=>{const _0x1d468d=_0x5aa981;this[_0x1d468d(0x245)][_0x1d468d(0x267)]({'unitId':_0x304dae[_0x1d468d(0x173)],'subUnitId':_0x304dae[_0x1d468d(0x135)],'shapeId':_0x304dae['drawingId']}),this[_0x1d468d(0x26d)][_0x1d468d(0x3b8)](this[_0x1d468d(0x28c)](_0x304dae[_0x1d468d(0x173)],_0x304dae['subUnitId'],_0x304dae[_0x1d468d(0x493)]));});}));}[_0x5671d9(0x3a0)](_0x5b77fb,_0x529d6e,_0x402ccc){const _0x589beb=_0x5671d9;let {transform:_0x19bf81,drawingType:_0x100f09,srcRect:_0x4ef97a,prstGeom:_0x51f949,groupId:_0x317108,unitId:_0x5ac789,subUnitId:_0x2d793e,drawingId:_0x2ba5aa,isMultiTransform:_0x1a6617,transforms:_0xbb930,hidden:_0x65d8df,selectable:_0x500f5a}=_0x5b77fb;if(_0x100f09!==_0x383631[_0x589beb(0x286)][_0x589beb(0x456)]||!this['_drawingManagerService'][_0x589beb(0xd4)]()||_0x19bf81==null)return;let _0x34c104=this[_0x589beb(0x306)]['getDrawingEditable'](),_0x5c00b8=_0x1a6617&&_0xbb930?_0xbb930:[_0x19bf81],_0x1c82f5=[];for(let _0x1c77b3 of _0x5c00b8){let {left:_0x2bcdab,top:_0x193660,width:_0x4ecabf,height:_0x1a05e6,angle:_0x25faca,flipX:_0xfe3378,flipY:_0x289f5b,skewX:_0x17ab34,skewY:_0x3a6cf3}=_0x1c77b3,_0x2c067c=_0x5c00b8[_0x589beb(0x360)](_0x1c77b3),_0x1a2475=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5ac789,'subUnitId':_0x2d793e,'drawingId':_0x2ba5aa},_0x1a6617?_0x2c067c:void 0x0),_0x3291b6=_0x529d6e[_0x589beb(0x327)](_0x1a2475);if(_0x3291b6!=null){let _0x5d077e={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x3291b6 instanceof _0x23237e&&this[_0x589beb(0x273)](_0x3291b6,_0x5d077e),_0x3291b6[_0x589beb(0x315)]({'left':_0x2bcdab,'top':_0x193660,'width':_0x4ecabf,'height':_0x1a05e6,'angle':_0x25faca,'flipX':_0xfe3378,'flipY':_0x289f5b,'skewX':_0x17ab34,'skewY':_0x3a6cf3});continue;}let _0x1d55f6=this[_0x589beb(0x306)]['getDrawingOrder'](_0x5ac789,_0x2d793e),_0x267aa8=_0x1d55f6[_0x589beb(0x360)](_0x2ba5aa);if(_0x529d6e[_0x589beb(0x327)](_0x1a2475)||!this[_0x589beb(0x306)]['getDrawingVisible']())continue;let _0x271f4=this[_0x589beb(0xd0)]['getShapeModel'](_0x5ac789,_0x2d793e,_0x2ba5aa);if(!_0x271f4)continue;let _0x1bb54c=(0x0,_0x287478[_0x589beb(0x4d2)])(_0x271f4[_0x589beb(0x347)]())?{..._0x2a9d6c[_0x589beb(0x2b4)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x2a9d6c[_0x589beb(0x2b4)],_0x498bd9=_0x271f4['getShapeData']()[_0x589beb(0x339)],_0x5c9d28={'unitId':_0x5ac789,'subUnitId':_0x2d793e,'shapeId':_0x2ba5aa};_0x498bd9&&this[_0x589beb(0x245)]['register'](_0x5c9d28,_0x498bd9);let _0x566c34=new _0x23237e(_0x1a2475,{..._0x1c77b3,'zIndex':_0x267aa8===-0x1?_0x1d55f6['length']-0x1:_0x267aa8,'shapeModel':_0x271f4,'localeService':this[_0x589beb(0x114)],'shapeId':_0x2ba5aa,'unitId':_0x5ac789,'subUnitId':_0x2d793e,'visible':_0x65d8df!==!0x0,'evented':_0x500f5a!==!0x1,'formulaPresentation':_0x498bd9?this['_shapeFormulaService'][_0x589beb(0x155)](_0x5c9d28):void 0x0,'animateFormulaPresentation':(_0x498bd9==null?void 0x0:_0x498bd9[_0x589beb(0x159)])!==!0x1,'transformerConfig':_0x1bb54c});if(_0x498bd9){let _0x6fa705=this[_0x589beb(0x28c)](_0x5ac789,_0x2d793e,_0x2ba5aa),_0x3c7a07=this[_0x589beb(0x26d)][_0x589beb(0x4be)](_0x6fa705)??new Set();_0x3c7a07[_0x589beb(0x338)](_0x566c34),this[_0x589beb(0x26d)][_0x589beb(0x32d)](_0x6fa705,_0x3c7a07);}_0x529d6e[_0x589beb(0x13d)](_0x566c34,_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']),_0x34c104&&_0x529d6e['attachTransformerTo'](_0x566c34),_0x317108&&(0x0,_0x129810[_0x589beb(0xeb)])({'drawingId':_0x317108,'unitId':_0x5ac789,'subUnitId':_0x2d793e},_0x566c34,_0x529d6e,this['_drawingManagerService']),_0x51f949!=null&&_0x566c34[_0x589beb(0x408)](_0x51f949),_0x4ef97a!=null&&_0x566c34['setSrcRect'](_0x4ef97a);let _0x5d5c9e=this[_0x589beb(0x256)](_0x566c34,_0x271f4[_0x589beb(0xe8)]());if(_0x5d5c9e){var _0x2d8342;_0x402ccc==null||(_0x2d8342=_0x402ccc[_0x589beb(0x1a3)])==null||_0x2d8342[_0x589beb(0x338)](_0x5d5c9e);}_0x1c82f5[_0x589beb(0x27e)](_0x566c34);}return _0x1c82f5;}[_0x5671d9(0x28c)](_0x570768,_0x549ad7,_0x1fc4df){return _0x570768+'\x00'+_0x549ad7+'\x00'+_0x1fc4df;}['refreshFormulaPresentation'](_0x2d5074,_0x75afd0){const _0x276969=_0x5671d9;let _0x360259=this[_0x276969(0xd0)][_0x276969(0x3a8)](_0x75afd0[_0x276969(0x173)],_0x75afd0['subUnitId'],_0x75afd0['shapeId']),_0x2dd97f=_0x360259==null?void 0x0:_0x360259['getShapeData']()[_0x276969(0x339)],_0x2d96e5=this[_0x276969(0x28c)](_0x75afd0['unitId'],_0x75afd0[_0x276969(0x135)],_0x75afd0[_0x276969(0x37d)]);if(_0x2dd97f){this[_0x276969(0x245)][_0x276969(0x4c3)](_0x75afd0,_0x2dd97f);let _0x2783de=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5)??new Set();_0x2783de['add'](_0x2d5074),this[_0x276969(0x26d)]['set'](_0x2d96e5,_0x2783de);}else{var _0x458127;this[_0x276969(0x245)][_0x276969(0x267)](_0x75afd0),(_0x458127=this[_0x276969(0x26d)][_0x276969(0x4be)](_0x2d96e5))==null||_0x458127[_0x276969(0x3b8)](_0x2d5074);}_0x2d5074[_0x276969(0x40c)](_0x2dd97f?this[_0x276969(0x245)][_0x276969(0x155)](_0x75afd0):void 0x0,(_0x2dd97f==null?void 0x0:_0x2dd97f[_0x276969(0x159)])!==!0x1);}[_0x5671d9(0x4b8)](_0x56c8e3){const _0x396912=_0x5671d9;let _0x4dc252=_0x56c8e3['shapeModel'][_0x396912(0xe8)](),_0x586c14=_0x4dc252[_0x396912(0x3c6)];if(!_0x586c14||_0x586c14[_0x396912(0x2f1)]!==_0x287478[_0x396912(0x44a)][_0x396912(0x385)]||!_0x586c14[_0x396912(0x3b4)]){_0x56c8e3[_0x396912(0x2f5)](void 0x0);return;}this[_0x396912(0x256)](_0x56c8e3,_0x4dc252);}[_0x5671d9(0x256)](_0x2035cd,_0x53ad0c){const _0xc6637d=_0x5671d9;let _0x4ea9b1=_0x53ad0c[_0xc6637d(0x3c6)];if(!_0x4ea9b1||_0x4ea9b1[_0xc6637d(0x2f1)]!==_0x287478[_0xc6637d(0x44a)]['PictureFill']||!_0x4ea9b1[_0xc6637d(0x3b4)])return;let _0x3ff4b2=_0x4ea9b1[_0xc6637d(0x3b4)],_0xcd29ef=_0x4ea9b1[_0xc6637d(0x356)]??_0x287478['ImageSourceTypeEnum']['URL'],_0x21c487=this[_0xc6637d(0x2a0)]['getImageSourceCache'](_0x3ff4b2,_0xcd29ef);if(_0x21c487){_0x2035cd['setFillImage'](_0x21c487);return;}return this[_0xc6637d(0xe4)](_0x2035cd,_0x3ff4b2,_0xcd29ef);}async[_0x5671d9(0xe4)](_0x3ec374,_0x220783,_0x2d94ad){const _0x5b0504=_0x5671d9;let _0x22c3a1;try{if(_0x2d94ad===_0x287478[_0x5b0504(0x1f6)][_0x5b0504(0x18d)])_0x22c3a1=await this[_0x5b0504(0x2a0)]['getImage'](_0x220783);else{if(_0x2d94ad===_0x287478['ImageSourceTypeEnum'][_0x5b0504(0x458)])try{_0x22c3a1=await this[_0x5b0504(0x47b)]['getImage'](_0x220783);}catch{_0x22c3a1=_0x220783;}else _0x22c3a1=_0x220783;}}catch(_0x14ad71){console[_0x5b0504(0x2fc)](_0x5b0504(0x305),_0x14ad71);return;}await new Promise(_0x2ef8c9=>{const _0x3f0735=_0x5b0504;let _0x567e73=new window['Image']();_0x567e73[_0x3f0735(0x1cf)]=()=>{const _0x4a5ee9=_0x3f0735;this[_0x4a5ee9(0x2a0)][_0x4a5ee9(0x1ce)](_0x220783,_0x2d94ad,_0x567e73),_0x3ec374['setFillImage'](_0x567e73),_0x2ef8c9();},_0x567e73[_0x3f0735(0x42e)]=()=>{const _0x435912=_0x3f0735;console['error'](_0x435912(0x29b),_0x220783),_0x2ef8c9();},_0x567e73[_0x3f0735(0x2cb)]=_0x22c3a1;});}};_0x57eebe=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x110)]),_0x4177c4(0x4,_0x383631['IURLImageService']),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x54f73f[_0x5671d9(0x484)]))],_0x57eebe);let _0x243401=class extends _0x383631['Disposable']{constructor(_0x3979ac,_0x17ef94,_0x6b9d2f,_0x2ceac2,_0x2225be,_0x5bd028){const _0x3ff34e=_0x5671d9;super(),this[_0x3ff34e(0x306)]=_0x3979ac,this['_sheetsShapeService']=_0x17ef94,this[_0x3ff34e(0x42d)]=_0x6b9d2f,this[_0x3ff34e(0x488)]=_0x2ceac2,this[_0x3ff34e(0x434)]=_0x2225be,this['_commandService']=_0x5bd028,_0x20dccc(this,_0x3ff34e(0x166),null),_0x20dccc(this,'_unitId',null),_0x20dccc(this,_0x3ff34e(0x1f0),null),_0x20dccc(this,_0x3ff34e(0x182),void 0x0),_0x20dccc(this,_0x3ff34e(0x236),[]),_0x20dccc(this,_0x3ff34e(0x2dc),0x0),_0x20dccc(this,_0x3ff34e(0x216),0x0),_0x20dccc(this,_0x3ff34e(0x4aa),0x0),_0x20dccc(this,'_baseShapeHeight',0x0),_0x20dccc(this,'_isStartAdjusting',!0x1),_0x20dccc(this,_0x3ff34e(0x23a),void 0x0),_0x20dccc(this,_0x3ff34e(0x194),void 0x0),_0x20dccc(this,'_adjHandlerPointerMove',void 0x0),_0x20dccc(this,_0x3ff34e(0x115),void 0x0),_0x20dccc(this,_0x3ff34e(0x18b),!0x1),this[_0x3ff34e(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x3c3)](_0x1c91cb,_0x1a8bef,_0x485533){const _0x303068=_0x5671d9;let _0xf34d91=this[_0x303068(0xd0)][_0x303068(0x3a8)](_0x1c91cb,_0x1a8bef,_0x485533);if(_0xf34d91)return _0xf34d91[_0x303068(0x247)]();}['clearAdjustControls'](){const _0x4b25a1=_0x5671d9;this[_0x4b25a1(0x3ec)]();}['refreshAdjustControls'](){const _0x3d7ab4=_0x5671d9;this[_0x3d7ab4(0x2ab)](!0x0);}[_0x5671d9(0xdc)](_0x11845e){const _0x1e9ad3=_0x5671d9;this[_0x1e9ad3(0x18b)]=_0x11845e;}['_getShapeAdjustInfosById'](_0x2630e1,_0x411a9c,_0x4b1a0f,_0x11b25e){const _0x3ff3d7=_0x5671d9;let _0x383489=this[_0x3ff3d7(0xd0)][_0x3ff3d7(0x3a8)](_0x2630e1,_0x411a9c,_0x4b1a0f);if(_0x383489)return _0x383489[_0x3ff3d7(0x12b)](_0x11b25e);}['_createShapeAdjustControls'](_0x2f6719=!0x1){const _0x45c018=_0x5671d9;if(this[_0x45c018(0x48e)]===null||this[_0x45c018(0x1f0)]===null||this[_0x45c018(0x166)]===null)return;let _0x1b001f=this[_0x45c018(0x42d)]['getRenderUnitById'](this[_0x45c018(0x48e)]);if(!_0x1b001f||!_0x1b001f[_0x45c018(0x438)](_0x261221['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x1a4d70}=_0x1b001f,_0x56a167={'unitId':this[_0x45c018(0x48e)],'subUnitId':this[_0x45c018(0x1f0)],'drawingId':this[_0x45c018(0x166)]},_0x1ca60b=this[_0x45c018(0x306)][_0x45c018(0x14d)](_0x56a167),{transform:_0x3167c5}=_0x1ca60b;if(!_0x3167c5||_0x1ca60b[_0x45c018(0x3d6)]!==_0x383631[_0x45c018(0x286)][_0x45c018(0x456)])return;let {left:_0x235448,top:_0x38984e,width:_0x31bfdf,height:_0x2033f2,flipX:_0x5275e0,flipY:_0x30a9af,angle:_0x2b044c=0x0}=_0x3167c5;if(_0x235448===void 0x0||_0x38984e===void 0x0)return;if(_0x2f6719){let _0x26356c=this[_0x45c018(0xd0)][_0x45c018(0x3a8)](this['_unitId'],this[_0x45c018(0x1f0)],this['_activeShapeId']);_0x26356c==null||_0x26356c[_0x45c018(0x288)]({'width':_0x31bfdf??0x0,'height':_0x2033f2??0x0}),this['_activeShapeAdjustPointList']=_0x26356c==null?void 0x0:_0x26356c[_0x45c018(0x247)]();}let _0x75916c=this[_0x45c018(0x182)];for(let _0x388e7a=0x0;_0x388e7a<_0x75916c['length'];_0x388e7a++){let _0x3de2ae=_0x75916c[_0x388e7a],_0x7afdbd=_0x3de2ae['x'],_0x3d3a68=_0x3de2ae['y'];if(_0x5275e0&&(_0x7afdbd=(_0x31bfdf||0x0)-_0x7afdbd),_0x30a9af&&(_0x3d3a68=(_0x2033f2||0x0)-_0x3d3a68),_0x2b044c!==0x0){let _0x19a7f9=(_0x31bfdf||0x0)/0x2,_0xcb8812=(_0x2033f2||0x0)/0x2,_0x429e81=_0x2b044c*Math['PI']/0xb4,_0x2d3bb1=Math[_0x45c018(0x3bb)](_0x429e81),_0x29ed95=Math[_0x45c018(0x417)](_0x429e81),_0x42fba9=_0x7afdbd-_0x19a7f9,_0x2141c3=_0x3d3a68-_0xcb8812;_0x7afdbd=_0x19a7f9+(_0x42fba9*_0x2d3bb1-_0x2141c3*_0x29ed95),_0x3d3a68=_0xcb8812+(_0x42fba9*_0x29ed95+_0x2141c3*_0x2d3bb1);}let _0x118cee={'x':_0x7afdbd,'y':_0x3d3a68,'adjName':_0x3de2ae[_0x45c018(0x123)]};this[_0x45c018(0x337)](_0x1a4d70,_0x118cee,_0x118cee['adjName'],_0x235448,_0x38984e,this['_unitId'],this[_0x45c018(0x1f0)]);}}['_updateShapeAdjustControls'](_0x4f561c=!0x1){_0x4f561c&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x4f561c));}['_addShapeAdjustControl'](_0x223bc4,_0x51420c,_0x457e06,_0x43e6cb,_0x4a874a,_0x2918b0,_0x35561a){const _0x255b74=_0x5671d9;if(!this[_0x255b74(0x166)])return;let _0x5ced91=_0x223bc4[_0x255b74(0x327)](_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06);if(_0x5ced91){_0x5ced91['transformByState']({'left':_0x51420c['x']+_0x43e6cb-_0x287478['ShapeDefaultConfig'][_0x255b74(0x14b)],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)]});return;}let _0x43a7a4={'left':_0x51420c['x']+_0x43e6cb-_0x287478[_0x255b74(0x10a)]['adjHandleSize'],'top':_0x51420c['y']+_0x4a874a-_0x287478[_0x255b74(0x10a)][_0x255b74(0x14b)],'adjName':_0x457e06,'shapeId':this[_0x255b74(0x166)],'unitId':_0x2918b0,'subUnitId':_0x35561a,'width':_0x287478['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x287478[_0x255b74(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608[_0x255b74(0x28a)]+0x1,'evented':!0x0},_0x19728e=new _0x180d91(_0x255b74(0x381)+this[_0x255b74(0x166)]+'-'+_0x457e06,_0x43a7a4);this[_0x255b74(0x236)][_0x255b74(0x27e)](_0x19728e),this[_0x255b74(0x324)](_0x19728e,_0x223bc4,_0x457e06),_0x223bc4['addObject'](_0x19728e,_0x1c3608[_0x255b74(0x28a)]+0x1);}[_0x5671d9(0x3ec)](){const _0x5ea405=_0x5671d9;this[_0x5ea405(0x236)]['length']!==0x0&&(this[_0x5ea405(0x236)][_0x5ea405(0x3a7)](_0x6b698d=>{const _0x5c5e71=_0x5ea405;_0x6b698d[_0x5c5e71(0x39f)]();}),this[_0x5ea405(0x236)]=[]);}[_0x5671d9(0x350)](){const _0x8a7b06=_0x5671d9;this[_0x8a7b06(0x304)]();}['_getScrollInfo'](_0x5b0eb6,_0x2e1452){const _0x213830=_0x5671d9;var _0x52f5b0;let _0x269234={'x':0x0,'y':0x0};if(!_0x5b0eb6||!_0x2e1452)return _0x269234;let _0x37255e=this['_renderManagerService'][_0x213830(0x1fa)](_0x5b0eb6);if(!_0x37255e||!_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x3fb)])['getSkeleton'](_0x2e1452))return _0x269234;let _0x10a22=_0x37255e[_0x213830(0x438)](_0x261221[_0x213830(0x1b5)]),_0x346a8e=_0x10a22==null?void 0x0:_0x10a22['getCurrentScrollState']();if(!_0x346a8e)return _0x269234;let _0x499f70=(_0x52f5b0=this[_0x213830(0x434)][_0x213830(0x147)](_0x5b0eb6))==null?void 0x0:_0x52f5b0[_0x213830(0x13a)](_0x2e1452);if(!_0x499f70)return _0x269234;let _0x199e22=(0x0,_0x261221[_0x213830(0x362)])(_0x346a8e[_0x213830(0xdb)],_0x346a8e[_0x213830(0x30a)],_0x37255e['scene'],_0x499f70);return _0x199e22?{'x':_0x199e22[_0x213830(0x2d8)],'y':_0x199e22[_0x213830(0x403)]}:_0x269234;}[_0x5671d9(0x36c)](_0x522661,_0x5b6bae){const _0x238090=_0x5671d9;var _0x131fc0;let _0x57197b=(_0x131fc0=this[_0x238090(0x434)][_0x238090(0x147)](_0x522661))==null?void 0x0:_0x131fc0[_0x238090(0x13a)](_0x5b6bae);return(_0x57197b==null?void 0x0:_0x57197b[_0x238090(0x1e5)]())??0x1;}['_attachAdjustEvent'](_0x55a405,_0x271958,_0x4fbbad){const _0x2e5376=_0x5671d9;this['disposeWithMe']((0x0,_0x383631['toDisposable'])(_0x55a405[_0x2e5376(0xe5)][_0x2e5376(0x17a)]((_0x172860,_0x24cd70)=>{const _0x392df8=_0x2e5376;var _0x196956,_0x5ca2d5,_0x49dedf,_0x16417a;let _0x5a30ca=_0x55a405[_0x392df8(0x4cd)]();this[_0x392df8(0x23a)]=this[_0x392df8(0x2e5)](_0x5a30ca[_0x392df8(0x173)],_0x5a30ca[_0x392df8(0x135)],_0x5a30ca[_0x392df8(0x493)],_0x4fbbad),this[_0x392df8(0x194)]=this[_0x392df8(0xd0)][_0x392df8(0x3a8)](_0x5a30ca['unitId'],_0x5a30ca['subUnitId'],_0x5a30ca[_0x392df8(0x493)]);let _0x355276=this[_0x392df8(0x306)][_0x392df8(0x14d)]({'unitId':this['_unitId'],'subUnitId':this[_0x392df8(0x1f0)],'drawingId':this['_activeShapeId']}),{transform:_0x314f8c}=_0x355276;if(_0x314f8c){let {left:_0x3c8840,top:_0x2135fe,width:_0xd09f7b,height:_0x3c2322}=_0x314f8c;this[_0x392df8(0x2dc)]=_0x3c8840||0x0,this['_baseShapeTop']=_0x2135fe||0x0,this['_baseShapeWidth']=_0xd09f7b||0x0,this['_baseShapeHeight']=_0x3c2322||0x0;}let _0x14a4dc=!!((_0x196956=_0x355276[_0x392df8(0x2c6)])!=null&&_0x196956[_0x392df8(0x160)]),_0x470994=!!((_0x5ca2d5=_0x355276[_0x392df8(0x2c6)])!=null&&_0x5ca2d5[_0x392df8(0x481)]),_0xc75c60=((_0x49dedf=_0x355276['transform'])==null?void 0x0:_0x49dedf[_0x392df8(0x46e)])||0x0;this[_0x392df8(0x1e7)]=!0x0,_0x271958[_0x392df8(0x457)]();let _0x3425ce={...((_0x16417a=this['_activeAdjustInfo'])==null?void 0x0:_0x16417a['currentAdjustValues'])??{}};this[_0x392df8(0x40e)]=_0x271958[_0x392df8(0x41a)]['subscribeEvent']((_0x3ff18d,_0x1bb040)=>{const _0x483d84=_0x392df8;if(!this['_isStartAdjusting'])return;let {offsetX:_0x46bc8f,offsetY:_0x45b751}=_0x3ff18d,_0x322b41=this[_0x483d84(0x23a)];if(this['_activeShapeModel']&&_0x322b41){_0x271958[_0x483d84(0x457)](),_0x271958['setCursor'](_0x1c3608[_0x483d84(0xf4)][_0x483d84(0x450)]);let _0x4e1f0d={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x483d84(0x49a)]},_0x2918ab=this[_0x483d84(0x4a4)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0x10a531=this[_0x483d84(0x36c)](this[_0x483d84(0x48e)],this[_0x483d84(0x1f0)]),_0xd6d065=_0x46bc8f/_0x10a531+_0x2918ab['x']-this['_baseShapeLeft'],_0x34e7cb=_0x45b751/_0x10a531+_0x2918ab['y']-this[_0x483d84(0x216)];if(_0xc75c60!==0x0){let _0x4daf22=this['_baseShapeWidth']/0x2,_0x4ef221=this['_baseShapeHeight']/0x2,_0x21d8e6=_0xc75c60*Math['PI']/0xb4,_0x3897c8=Math[_0x483d84(0x3bb)](_0x21d8e6),_0x426cb4=Math[_0x483d84(0x417)](_0x21d8e6),_0x595c8e=_0xd6d065-_0x4daf22,_0x464b54=_0x34e7cb-_0x4ef221;_0xd6d065=_0x4daf22+(_0x595c8e*_0x3897c8+_0x464b54*_0x426cb4),_0x34e7cb=_0x4ef221+(-_0x595c8e*_0x426cb4+_0x464b54*_0x3897c8);}_0x14a4dc&&(_0xd6d065=this[_0x483d84(0x4aa)]-_0xd6d065),_0x470994&&(_0x34e7cb=this[_0x483d84(0x49a)]-_0x34e7cb);let _0x24f807={'x':_0xd6d065,'y':_0x34e7cb},_0xb3449e=this[_0x483d84(0x194)]['calcAdjValues'](_0x4e1f0d,_0x24f807,_0x322b41,_0x14a4dc,_0x470994);if(Object[_0x483d84(0x144)](_0xb3449e)[_0x483d84(0x175)]===0x0)return;for(let [_0x1a186e,_0x4456e6]of Object['entries'](_0xb3449e))this['_activeShapeModel'][_0x483d84(0x290)](_0x1a186e,_0x4456e6);this['_activeShapeModel']['updateContext']({'width':this[_0x483d84(0x4aa)],'height':this[_0x483d84(0x49a)]});let _0x3cad27=this[_0x483d84(0x306)][_0x483d84(0x14d)]({'unitId':_0x5a30ca[_0x483d84(0x173)],'subUnitId':_0x5a30ca[_0x483d84(0x135)],'drawingId':_0x5a30ca[_0x483d84(0x493)]});_0x3cad27&&(this[_0x483d84(0x488)][_0x483d84(0x3a0)](_0x3cad27,_0x271958),this[_0x483d84(0x182)]=this[_0x483d84(0x3c3)](_0x5a30ca[_0x483d84(0x173)],_0x5a30ca[_0x483d84(0x135)],_0x5a30ca[_0x483d84(0x493)]),this[_0x483d84(0x350)]());}_0x1bb040['stopPropagation']();}),this[_0x392df8(0x115)]=_0x271958['onPointerUp$'][_0x392df8(0x17a)]((_0x4826d6,_0x6922c5)=>{const _0x5d4b16=_0x392df8;this[_0x5d4b16(0x40e)][_0x5d4b16(0x165)](),this[_0x5d4b16(0x115)][_0x5d4b16(0x165)](),_0x271958[_0x5d4b16(0x238)]();let _0x5612f3=this['_activeAdjustInfo'];if(_0x5612f3){let _0x1c2d18=_0x5a30ca[_0x5d4b16(0x173)],_0x48467b=_0x5a30ca[_0x5d4b16(0x135)],_0x36a58b=_0x5a30ca[_0x5d4b16(0x493)],_0x583f92={};for(let _0x451cc8 of Object['keys'](_0x5612f3['currentAdjustValues'])){var _0x5abcd8;let _0x3dc9e5=(_0x5abcd8=this[_0x5d4b16(0x194)])==null?void 0x0:_0x5abcd8[_0x5d4b16(0x440)](_0x451cc8);_0x3dc9e5!==void 0x0&&(_0x583f92[_0x451cc8]=_0x3dc9e5);}Object[_0x5d4b16(0x144)](_0x583f92)[_0x5d4b16(0x175)]>0x0&&_0x100eae(this['_commandService'],_0x1c2d18,_0x48467b,_0x36a58b,{'oldShapeData':{'adjustValues':_0x3425ce}},{'adjustValues':_0x583f92});}this['_activeAdjustInfo']=void 0x0,this[_0x5d4b16(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x6922c5[_0x5d4b16(0x425)](),_0x271958[_0x5d4b16(0x366)]();}),_0x24cd70[_0x392df8(0x425)]();})));}['_registerDrawingMoveHandler'](){const _0x56bd6a=_0x5671d9;let _0x9d9d08=this[_0x56bd6a(0x434)][_0x56bd6a(0x393)](_0x383631[_0x56bd6a(0x363)]['UNIVER_SHEET']);this['disposeWithMe'](_0x9d9d08[_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x581512=>_0x581512?_0x581512[_0x56bd6a(0x410)][_0x56bd6a(0x33d)]((0x0,_0x4250df[_0x56bd6a(0x1bd)])(_0x232661=>{const _0x4d25bf=_0x56bd6a;if(!_0x232661)return _0x4250df[_0x4d25bf(0x15b)];let _0x468691=_0x581512['getUnitId'](),_0x2ae39d=this[_0x4d25bf(0x42d)][_0x4d25bf(0x1fa)](_0x468691),_0x329c87=_0x2ae39d==null?void 0x0:_0x2ae39d[_0x4d25bf(0x333)];return _0x329c87?(0x0,_0x4250df['of'])(_0x329c87):_0x4250df[_0x4d25bf(0x15b)];})):_0x4250df['EMPTY']))[_0x56bd6a(0x317)](_0x1ad9aa=>{const _0x16a3d0=_0x56bd6a;let _0x29ad83=_0x1ad9aa[_0x16a3d0(0x178)]();this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x41a)][_0x16a3d0(0x17a)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x443)]['subscribe'](_0x2abe4e=>{const _0xd397f1=_0x16a3d0;let {objects:_0x364f8f}=_0x2abe4e;this[_0xd397f1(0x304)](),_0x364f8f!==null&&_0x364f8f[_0xd397f1(0x23c)]===0x1&&_0x364f8f[_0xd397f1(0x206)]()[_0xd397f1(0x289)]()[_0xd397f1(0x320)]instanceof _0x23237e&&this['setShouldShowAdjust'](!0x0);})),this[_0x16a3d0(0x252)](_0x29ad83[_0x16a3d0(0x1f8)][_0x16a3d0(0x317)](()=>{const _0x2a37bc=_0x16a3d0;this['_isShouldShowDrawingShapeAdjust']&&this[_0x2a37bc(0x3ec)]();})),this[_0x16a3d0(0x252)](_0x1ad9aa[_0x16a3d0(0x243)][_0x16a3d0(0x17a)](()=>{const _0x24dde9=_0x16a3d0;this[_0x24dde9(0x18b)]&&(this[_0x24dde9(0xdc)](!0x1),this[_0x24dde9(0x304)]());})),this['disposeWithMe'](_0x29ad83[_0x16a3d0(0x3c2)][_0x16a3d0(0x317)](()=>{const _0x2fa3da=_0x16a3d0;this['_unitId']&&this[_0x2fa3da(0x1f0)]&&this[_0x2fa3da(0x166)]&&this[_0x2fa3da(0x306)][_0x2fa3da(0x14d)]({'unitId':this[_0x2fa3da(0x48e)],'subUnitId':this[_0x2fa3da(0x1f0)],'drawingId':this[_0x2fa3da(0x166)]})&&(this[_0x2fa3da(0x182)]=this[_0x2fa3da(0x3c3)](this[_0x2fa3da(0x48e)],this['_subUnitId'],this['_activeShapeId']),this[_0x2fa3da(0x350)]());}));}));}[_0x5671d9(0x365)](){const _0x1e9314=_0x5671d9;this[_0x1e9314(0x252)](this['_commandService'][_0x1e9314(0x15d)](_0x52b18e=>{const _0x29f4b4=_0x1e9314;if(_0x52b18e['id']!==_0x276c17[_0x29f4b4(0x250)]['id'])return;let {unitId:_0x43f338,subUnitId:_0x139bc2,shapeId:_0x3469df}=_0x52b18e[_0x29f4b4(0x4a7)];_0x43f338===this['_unitId']&&_0x139bc2===this[_0x29f4b4(0x1f0)]&&_0x3469df===this[_0x29f4b4(0x166)]&&this[_0x29f4b4(0x310)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['focus$'][_0x1e9314(0x317)](_0x17f854=>{const _0x24c1a8=_0x1e9314;if(_0x17f854[_0x24c1a8(0x175)]===0x1){let _0x4a1c64=_0x17f854[0x0];if(_0x4a1c64[_0x24c1a8(0x3d6)]===_0x383631['DrawingTypeEnum'][_0x24c1a8(0x456)]&&this[_0x24c1a8(0x434)][_0x24c1a8(0x129)](_0x4a1c64['unitId'])===_0x383631[_0x24c1a8(0x363)][_0x24c1a8(0x3e4)]){this[_0x24c1a8(0x166)]=_0x4a1c64[_0x24c1a8(0x493)];let {unitId:_0x2dc70d,subUnitId:_0x372029}=_0x4a1c64;this[_0x24c1a8(0x182)]=this['_getShapeAdjustPointListById'](_0x2dc70d,_0x372029,this['_activeShapeId']),this[_0x24c1a8(0x48e)]=_0x2dc70d,this['_subUnitId']=_0x372029,this[_0x24c1a8(0x3ec)](),this[_0x24c1a8(0x304)]();return;}}this[_0x24c1a8(0x166)]=null,this[_0x24c1a8(0x182)]=void 0x0,this['_unitId']=null,this[_0x24c1a8(0x1f0)]=null,this[_0x24c1a8(0x3ec)]();})),this[_0x1e9314(0x252)](this[_0x1e9314(0x306)]['update$'][_0x1e9314(0x317)](_0x129ff2=>{const _0x180bb2=_0x1e9314;if(_0x129ff2[_0x180bb2(0x175)]===0x1){var _0x47de8c;let _0x556a42=_0x129ff2[0x0];((_0x47de8c=this[_0x180bb2(0x306)][_0x180bb2(0x14d)](_0x556a42))==null?void 0x0:_0x47de8c[_0x180bb2(0x3d6)])===_0x383631[_0x180bb2(0x286)][_0x180bb2(0x456)]&&this[_0x180bb2(0x2ab)](!0x0);}})),this['disposeWithMe'](this[_0x1e9314(0x306)][_0x1e9314(0x1d5)]['subscribe'](_0x99e15e=>{const _0x1bf0e9=_0x1e9314;for(let _0x50b3d8 of _0x99e15e)this['_activeShapeId']===_0x50b3d8[_0x1bf0e9(0x493)]&&(this[_0x1bf0e9(0x166)]=null,this[_0x1bf0e9(0x182)]=void 0x0,this[_0x1bf0e9(0x48e)]=null,this[_0x1bf0e9(0x1f0)]=null,this[_0x1bf0e9(0x3ec)]());}));}};_0x243401=_0x25a2aa([_0x4177c4(0x0,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe)),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,_0x383631['ICommandService'])],_0x243401);let _0x39b8fc={'id':_0x5671d9(0x4a1),'type':_0x383631[_0x5671d9(0x465)]['OPERATION'],'handler':(_0x15ff7b,_0x2a82a5)=>{const _0x4541e9=_0x5671d9;let _0x22eea9=_0x15ff7b[_0x4541e9(0x4be)](_0x279593[_0x4541e9(0xf1)]),_0x5d9d6b=_0x15ff7b[_0x4541e9(0x4be)](_0x1c3608[_0x4541e9(0x1fd)]),_0xff89ea=_0x15ff7b['get'](_0x243401);if(_0x2a82a5==null)return!0x0;if(_0x2a82a5[_0x4541e9(0x175)]>0x0){var _0x425e1e;let _0x453638=(_0x425e1e=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0]['unitId']))==null?void 0x0:_0x425e1e[_0x4541e9(0x333)];if(_0x453638){let {unitId:_0x978a9c,subUnitId:_0x5a06af,drawingId:_0x509807}=_0x2a82a5[0x0],_0x23ef14=(0x0,_0x279593[_0x4541e9(0x201)])({'unitId':_0x978a9c,'subUnitId':_0x5a06af,'drawingId':_0x509807},void 0x0),_0x3bf65d=_0x453638[_0x4541e9(0x327)](_0x23ef14);if(_0x3bf65d){var _0x3b4f40;(_0x3b4f40=_0x5d9d6b[_0x4541e9(0x1fa)](_0x2a82a5[0x0][_0x4541e9(0x173)]))==null||(_0x3b4f40=_0x3b4f40[_0x4541e9(0x333)][_0x4541e9(0x492)]())==null||_0x3b4f40[_0x4541e9(0x199)](_0x3bf65d);}}_0x22eea9[_0x4541e9(0x29c)](_0x2a82a5),_0xff89ea[_0x4541e9(0xdc)](!0x1);}return!0x0;}},_0x45134c={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x154)],'id':_0x5671d9(0x1d4),'handler':async(_0xbba8d3,_0x1d127d)=>{const _0x64f73a=_0x5671d9;let _0x527d18=(0x0,_0x111c96['getSheetCommandTarget'])(_0xbba8d3['get'](_0x383631['IUniverInstanceService']));if(!_0x527d18)return!0x1;let _0x1deea0=_0xbba8d3['get'](_0x111c96[_0x64f73a(0xea)])[_0x64f73a(0x251)]();if(!_0x1deea0)return!0x1;let _0x354cbb=_0xbba8d3['get'](_0x383631[_0x64f73a(0x24e)]),{unitId:_0x1fffd7,subUnitId:_0x4f9940}=_0x527d18,{value:_0x213b0f,enhanceParams:_0x5d1646}=_0x1d127d,{range:_0x47ff1a}=_0x1deea0,_0x425567={'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'shapeType':_0x213b0f,'range':_0x47ff1a,'shapeId':(0x0,_0x383631[_0x64f73a(0x29d)])()};if(_0x5d1646){let _0x297cac=(0x0,_0x287478[_0x64f73a(0x4d2)])(_0x213b0f),_0x152c7a=_0x213b0f===_0x287478[_0x64f73a(0x384)]['Rect'];_0x297cac&&(_0x5d1646['startArrow']||_0x5d1646[_0x64f73a(0x260)])&&(_0x425567[_0x64f73a(0x1a0)]={'ln':{'startArrow':_0x5d1646[_0x64f73a(0x12d)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478[_0x64f73a(0x163)][_0x64f73a(0x108)]}:void 0x0,'endArrow':_0x5d1646[_0x64f73a(0x260)]?{'type':_0x287478[_0x64f73a(0x44d)][_0x64f73a(0x35c)],'size':_0x287478['ShapeArrowSizeEnum'][_0x64f73a(0x19b)]}:void 0x0}}),_0x152c7a&&(_0x5d1646[_0x64f73a(0x3aa)]||_0x5d1646[_0x64f73a(0x32e)])&&(_0x425567[_0x64f73a(0x1a0)]=(0x0,_0x54f73f[_0x64f73a(0x47f)])({'fill':{'fillType':_0x287478[_0x64f73a(0x44a)][_0x64f73a(0x13c)],'color':_0x64f73a(0x22f)},'isHorizontal':!!_0x5d1646[_0x64f73a(0x3aa)],'stroke':{'lineStrokeType':_0x287478[_0x64f73a(0x104)][_0x64f73a(0x1d6)],'width':0x1,'color':_0x64f73a(0xe6)}}));}let _0x3942d0=_0x354cbb[_0x64f73a(0x3e7)](_0x276c17[_0x64f73a(0x3e8)]['id'],_0x425567);return setTimeout(()=>{const _0x1a60b1=_0x64f73a;_0x354cbb['executeCommand'](_0x39b8fc['id'],[{'unitId':_0x1fffd7,'subUnitId':_0x4f9940,'drawingId':_0x425567[_0x1a60b1(0x37d)]}]);},0xc8),_0x3942d0;}},_0x56e257=_0x5671d9(0x3b1),_0x2f15dd=_0x5671d9(0x45a),_0x2a2c50='sheet.shape.floating-toolbar',_0x8c3839='sheets-shape-ui.ribbon.shape-format',_0x919f0e=(0x0,_0x383631[_0x5671d9(0x41f)])('SHAPE_TEXT'),_0x472fad='sheet.shape.text.float-menu',_0x5ad9f8={'id':_0x5671d9(0x4a6),'type':_0x383631['CommandType'][_0x5671d9(0x154)],'handler':(_0x428a6a,_0x3306a9)=>{const _0x3a26d7=_0x5671d9;let _0x1ecbbe=_0x428a6a[_0x3a26d7(0x4be)](_0x2f96d6[_0x3a26d7(0x31a)]),_0x52d952=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x422)]),_0x59d05a=_0x428a6a[_0x3a26d7(0x4be)](_0x383631[_0x3a26d7(0x1f7)]),_0x9e9b18=_0x428a6a['get'](_0x383631[_0x3a26d7(0x24e)]);return(0x0,_0x111c96[_0x3a26d7(0x283)])(_0x59d05a)?(_0x3306a9==null?void 0x0:_0x3306a9[_0x3a26d7(0x320)])===_0x3a26d7(0x274)?(_0x1ecbbe[_0x3a26d7(0x274)](_0x2f15dd),!0x0):(_0x1ecbbe['open']({'id':_0x2f15dd,'header':{'title':_0x52d952['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x2f15dd},'onClose':()=>{const _0x4e535c=_0x3a26d7;_0x9e9b18[_0x4e535c(0x3e7)](_0x279593['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x57e247={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':_0x5671d9(0x1c1),'handler'(){return!0x0;}};function _0x109ebf(_0x90eed8){const _0x337aa6=_0x5671d9;let _0x14447f=_0x90eed8[_0x337aa6(0x4be)](_0x279593[_0x337aa6(0xf1)])[_0x337aa6(0x486)](),_0x16c436=_0x14447f[_0x337aa6(0x175)]===0x1?_0x14447f[0x0]:null;if(!_0x16c436||_0x16c436[_0x337aa6(0x3d6)]!==_0x383631[_0x337aa6(0x286)][_0x337aa6(0x456)])return null;let _0x322316=_0x90eed8['get'](_0x276c17[_0x337aa6(0x188)]),_0x2826d5=_0x322316['getShapeTypeById'](_0x16c436['unitId'],_0x16c436['subUnitId'],_0x16c436[_0x337aa6(0x493)]),_0x5d4503=_0x322316[_0x337aa6(0x21f)](_0x16c436[_0x337aa6(0x173)],_0x16c436[_0x337aa6(0x135)],_0x16c436[_0x337aa6(0x493)]);return _0x2826d5===void 0x0||!_0x5d4503?null:{'drawing':_0x16c436,'shapeData':_0x5d4503,'shapeType':_0x2826d5};}let _0x748f1e={'id':_0x5671d9(0x311),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler':(_0x1d7f7a,_0x42d180)=>{const _0x3b899f=_0x5671d9;let _0x44f8dc=_0x109ebf(_0x1d7f7a),_0x7f7505=(0x0,_0x54f73f[_0x3b899f(0x2a4)])((_0x42d180==null?void 0x0:_0x42d180[_0x3b899f(0x477)])??(_0x42d180==null?void 0x0:_0x42d180['value'])??'');if(!_0x44f8dc||!_0x7f7505||_0x7f7505[_0x3b899f(0x435)]!==(0x0,_0x54f73f[_0x3b899f(0x4ab)])(_0x44f8dc[_0x3b899f(0x1a0)]))return!0x1;let _0x47c8ef=(0x0,_0x54f73f[_0x3b899f(0x171)])(_0x44f8dc[_0x3b899f(0x1a0)],_0x7f7505);if(!_0x47c8ef)return!0x1;let {drawing:_0x581b8d}=_0x44f8dc;return _0x1d7f7a[_0x3b899f(0x4be)](_0x383631['ICommandService'])[_0x3b899f(0x1f9)](_0x57882a['id'],{'unitId':_0x581b8d[_0x3b899f(0x173)],'subUnitId':_0x581b8d[_0x3b899f(0x135)],'shapeId':_0x581b8d[_0x3b899f(0x493)],'shapeData':_0x47c8ef,'oldShapeJSON':{'oldShapeData':_0x44f8dc[_0x3b899f(0x1a0)]}});}},_0x3a751e={'id':_0x5671d9(0x224),'type':_0x383631['CommandType'][_0x5671d9(0x229)],'handler':(_0x1fd025,_0x35bbe4)=>{const _0x300fdd=_0x5671d9;let _0xc986ba=_0x109ebf(_0x1fd025),_0x44e9ff=(_0x35bbe4==null?void 0x0:_0x35bbe4['shapeType'])??(_0x35bbe4==null?void 0x0:_0x35bbe4[_0x300fdd(0x320)]);if(!_0xc986ba||!_0x44e9ff||(0x0,_0x287478['isConnectorShape'])(_0xc986ba[_0x300fdd(0x138)])||(0x0,_0x287478[_0x300fdd(0x4d2)])(_0x44e9ff))return!0x1;let _0xed291f=(0x0,_0x54f73f[_0x300fdd(0x25d)])(_0xc986ba[_0x300fdd(0x1a0)],_0x44e9ff);if(!_0xed291f)return!0x1;let {drawing:_0x12b2f9}=_0xc986ba;return _0x1fd025[_0x300fdd(0x4be)](_0x383631[_0x300fdd(0x24e)])[_0x300fdd(0x1f9)](_0x57882a['id'],{'unitId':_0x12b2f9[_0x300fdd(0x173)],'subUnitId':_0x12b2f9[_0x300fdd(0x135)],'shapeId':_0x12b2f9[_0x300fdd(0x493)],'shapeType':_0x44e9ff,'shapeData':_0xed291f,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0xc986ba['shapeType'],'oldShapeData':_0xc986ba['shapeData']}});}},_0x5343de=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x5fe913,_0xf68bd0){const _0x16d1ad=_0x5671d9;super(),this[_0x16d1ad(0x17e)]=_0x5fe913,this[_0x16d1ad(0x306)]=_0xf68bd0,this[_0x16d1ad(0x1f3)](),this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x0),this[_0x16d1ad(0x252)]({'dispose':()=>this[_0x16d1ad(0x17e)][_0x16d1ad(0x23e)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x2404a3=_0x5671d9;let _0x126283=this['_clipService'],_0x5ab2b1=new Map(),_0x20df13=_0x126283['registerClipDelegate']((_0x49ec15,_0x2359f1,_0xd8a685,_0xd11ff8,_0x407265)=>{const _0x137cbf=_0x43eb;let _0x5bd691=_0x2359f1;if(_0x5bd691===_0x287478[_0x137cbf(0x384)][_0x137cbf(0x3f1)]||_0x2359f1===_0x137cbf(0x2af))return!0x1;try{let _0x21ff65=_0x5ab2b1[_0x137cbf(0x4be)](_0x2359f1);return _0x21ff65||(_0x21ff65=new _0x287478[(_0x137cbf(0x150))](_0x5bd691,_0x137cbf(0x1e2)+_0x2359f1),_0x5ab2b1['set'](_0x2359f1,_0x21ff65)),_0x21ff65[_0x137cbf(0x203)](),_0x407265&&Object['keys'](_0x407265)[_0x137cbf(0x175)]>0x0&&_0x21ff65[_0x137cbf(0x2f4)]({'adjustValues':_0x407265},!0x0),_0x21ff65[_0x137cbf(0x288)]({'width':_0xd8a685,'height':_0xd11ff8}),_0x21ff65[_0x137cbf(0x4b7)](_0x49ec15,{'left':0x0,'top':0x0,'width':_0xd8a685,'height':_0xd11ff8});}catch{return!0x1;}});this[_0x2404a3(0x252)](_0x20df13),this[_0x2404a3(0x252)]({'dispose':()=>_0x5ab2b1[_0x2404a3(0x2e9)]()});}[_0x5671d9(0x49e)](_0x446989,_0x4d48e2,_0x94cad3,_0x26913c,_0x178b25){const _0x5eba5c=_0x5671d9;let _0xd22f23=this['_drawingManagerService'][_0x5eba5c(0x24f)](_0x446989,_0x4d48e2);if(!_0xd22f23[_0x94cad3])return;let _0x29a99f={..._0xd22f23[_0x94cad3],'prstGeom':_0x26913c,'adjustValues':_0x178b25};this['_drawingManagerService'][_0x5eba5c(0x181)]([_0x29a99f]);}};_0x5343de=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810[_0x5671d9(0x2e4)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x279593['IDrawingManagerService']))],_0x5343de);let _0x3d6541=_0x5671d9(0x140),_0x5812e5=_0x5671d9(0x48a);function _0x59ca03({onShapeClick:_0x53a6e7,excludeGroups:_0x17667d}){const _0x183fdb=_0x5671d9;return(0x0,_0x4170e1[_0x183fdb(0x157)])(_0x2a9d6c[_0x183fdb(0x228)],{'excludeGroups':_0x17667d,'onShapeClick':_0x53a6e7,'scrollContainer':'parent'});}function _0x266e1a(){const _0x4a628a=_0x5671d9;let _0x2243cc=(0x0,_0x2f96d6[_0x4a628a(0x19e)])(_0x279593[_0x4a628a(0xf1)]),_0x51c410=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x4a628a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':_0x4a628a(0x1a6),'excludeGroups':[_0x2a9d6c[_0x4a628a(0x27c)][_0x4a628a(0x29f)]],'onShapeClick':_0xc8c23=>{const _0x250782=_0x4a628a;let _0x3aa9ee=_0x2243cc['getFocusDrawings']()[_0x250782(0x3de)](_0x382c30=>_0x382c30[_0x250782(0x3d6)]===_0x383631[_0x250782(0x286)][_0x250782(0x217)]);if(!_0x3aa9ee)return;let {unitId:_0x449234,subUnitId:_0x380dfd,drawingId:_0xc282fd}=_0x3aa9ee;_0x51c410['clipByShape'](_0x449234,_0x380dfd,_0xc282fd,_0xc8c23[_0x250782(0x435)]);}});}function _0x5b85a9(){const _0x12785a=_0x5671d9;let _0x467ad9=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x12785a(0xf1)]),_0x53d37a=(0x0,_0x2f96d6['useDependency'])(_0x5343de);return(0x0,_0x4170e1[_0x12785a(0x157)])(_0x2a9d6c['ShapePickerDropdown'],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x2a9d6c[_0x12785a(0x27c)][_0x12785a(0x29f)]],'DropdownComponent':_0x4a69b4[_0x12785a(0x44c)],'onShapeClick':_0x185524=>{const _0x2ee7e8=_0x12785a;let _0x459845=_0x467ad9['getFocusDrawings']()[_0x2ee7e8(0x3de)](_0x2e97f9=>_0x2e97f9[_0x2ee7e8(0x3d6)]===_0x383631[_0x2ee7e8(0x286)][_0x2ee7e8(0x217)]);if(!_0x459845)return;let {unitId:_0x50b28c,subUnitId:_0x3868c6,drawingId:_0x24eab9}=_0x459845;_0x53d37a[_0x2ee7e8(0x49e)](_0x50b28c,_0x3868c6,_0x24eab9,_0x185524[_0x2ee7e8(0x435)]);}});}function _0x18ae1b(){const _0x168094=_0x5671d9;let _0xa87b63=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x2f96d6[_0x168094(0x426)]),_0x15ca8b=(0x0,_0x2f96d6['useDependency'])(_0x279593['IDrawingManagerService']),_0xa62775=(0x0,_0x2f96d6[_0x168094(0x19e)])(_0x383631['IUniverInstanceService']),_0x5b5741=_0x15ca8b[_0x168094(0x486)]()[0x0],_0x5d49d2=_0x5b5741?_0xa62775[_0x168094(0x129)](_0x5b5741[_0x168094(0x173)]):void 0x0,_0x501347=_0x5d49d2===_0x383631['UniverInstanceType'][_0x168094(0x354)]?'doc.image-clip.shape-picker.component':_0x5d49d2===_0x383631[_0x168094(0x363)][_0x168094(0x3e4)]?_0x5812e5:void 0x0,_0x3f0680=_0x501347?_0xa87b63[_0x168094(0x4be)](_0x501347):void 0x0;return _0x3f0680?(0x0,_0x4170e1[_0x168094(0x157)])(_0x3f0680,{}):null;}function _0x177b13(){const _0x4079cb=_0x5671d9;let _0x348f7f=(0x0,_0x2f96d6[_0x4079cb(0x19e)])(_0x383631[_0x4079cb(0x24e)]);return(0x0,_0x4170e1[_0x4079cb(0x157)])(_0x59ca03,{'onShapeClick':_0x14c568=>{const _0x1d1dc5=_0x4079cb;_0x348f7f[_0x1d1dc5(0x1f9)](_0x45134c['id'],{'value':_0x14c568[_0x1d1dc5(0x435)],'enhanceParams':{'endArrow':_0x14c568[_0x1d1dc5(0x260)],'startArrow':_0x14c568['startArrow'],'horizontal':_0x14c568[_0x1d1dc5(0x3aa)],'vertical':_0x14c568['vertical']}});}});}function _0x36190b(){const _0x3209d4=_0x5671d9;return(0x0,_0x4170e1[_0x3209d4(0x157)])(_0x177b13,{});}function _0xf5bc6f(_0x25d225){const _0x4369f0=_0x5671d9;let _0x1f27e1=_0x25d225[_0x4369f0(0x4be)](_0x383631[_0x4369f0(0x1f7)]);return{'id':_0x45134c['id'],'type':_0x2f96d6['MenuItemType'][_0x4369f0(0x10c)],'selections':[{'label':{'name':_0x3d6541,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x45134c['id']}}}],'icon':_0x4369f0(0x19c),'tooltip':_0x4369f0(0x302),'activated$':(0x0,_0x261221['deriveStateFromActiveSheet$'])(_0x1f27e1,!0x1,()=>new _0x4250df[(_0x4369f0(0xd8))](_0x4b5aac=>{const _0x45ccc3=_0x4369f0;_0x4b5aac[_0x45ccc3(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x4369f0(0x328)])(_0x25d225,_0x383631['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x261221[_0x4369f0(0x17d)])(_0x25d225)};}function _0x171a1d(_0x241dac){const _0x466637=_0x5671d9;let _0x5207c3=_0x241dac['get'](_0x383631[_0x466637(0x1f7)]);return{'id':_0x5ad9f8['id'],'type':_0x2f96d6['MenuItemType']['BUTTON'],'icon':_0x466637(0x47c),'title':_0x466637(0x303),'tooltip':_0x466637(0x303),'activated$':(0x0,_0x261221[_0x466637(0x32a)])(_0x5207c3,!0x1,()=>new _0x4250df[(_0x466637(0xd8))](_0x165464=>{const _0x193ea8=_0x466637;_0x165464[_0x193ea8(0x289)](!0x1);})),'hidden$':(0x0,_0x2f96d6[_0x466637(0x328)])(_0x241dac,_0x383631[_0x466637(0x363)][_0x466637(0x3e4)]),'disabled$':(0x0,_0x261221[_0x466637(0x17d)])(_0x241dac)};}let _0x3170bb=_0x5671d9(0x2de),_0xe4fc20=_0x5671d9(0xfb);function _0x24a56e(_0x319165){const _0x3680a9=_0x5671d9;let _0x4eb56b=_0x319165[_0x3680a9(0x4be)](_0x279593['IDrawingManagerService'])['getFocusDrawings']();return _0x4eb56b[_0x3680a9(0x175)]===0x1&&_0x4eb56b[0x0][_0x3680a9(0x3d6)]===_0x383631['DrawingTypeEnum']['DRAWING_SHAPE']?_0x4eb56b[0x0]:null;}function _0x4f213f(_0x4a24df){const _0x4938ef=_0x5671d9;let _0x43a2cd=_0x4a24df[_0x4938ef(0x4be)](_0x279593[_0x4938ef(0xf1)]);return _0x43a2cd[_0x4938ef(0x262)][_0x4938ef(0x33d)]((0x0,_0x4250df[_0x4938ef(0x34c)])(_0x43a2cd[_0x4938ef(0x486)]()),(0x0,_0x4250df[_0x4938ef(0x3da)])(_0x201e28=>_0x201e28['length']!==0x1||_0x201e28[0x0][_0x4938ef(0x3d6)]!==_0x383631[_0x4938ef(0x286)][_0x4938ef(0x456)]));}function _0x23abe1(_0x3ddf43){const _0x34206a=_0x5671d9;return{'id':_0x3170bb,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x34206a(0x396)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x34206a(0x15a),'icon':_0x34206a(0x34a),'hidden$':_0x4f213f(_0x3ddf43),'params':()=>{const _0x2c9640=_0x34206a;let _0x5d2d03=_0x24a56e(_0x3ddf43);return _0x5d2d03?{'unitId':_0x5d2d03[_0x2c9640(0x173)],'subUnitId':_0x5d2d03['subUnitId'],'shapeId':_0x5d2d03[_0x2c9640(0x493)],'flipH':!0x0}:void 0x0;}};}function _0x4923f4(_0xfeb924){const _0xe476e=_0x5671d9;return{'id':_0xe4fc20,'commandId':_0x276c17[_0xe476e(0x3b0)]['id'],'type':_0x2f96d6[_0xe476e(0x3d9)]['BUTTON'],'title':'sheets-shape-ui.flipVertical','tooltip':'sheets-shape-ui.flipVertical','icon':_0xe476e(0x346),'hidden$':_0x4f213f(_0xfeb924),'params':()=>{const _0x1eb98d=_0xe476e;let _0x574139=_0x24a56e(_0xfeb924);return _0x574139?{'unitId':_0x574139[_0x1eb98d(0x173)],'subUnitId':_0x574139['subUnitId'],'shapeId':_0x574139['drawingId'],'flipV':!0x0}:void 0x0;}};}let _0x566032=_0x5671d9(0xe3),_0xc4a475=_0x5671d9(0x45d),_0x2ab86a=_0x5671d9(0x1cc),_0x317af2=_0x5671d9(0xec);function _0x49f11e(){const _0x58d580=_0x5671d9;let _0x5f5469=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x383631[_0x58d580(0x24e)]),_0x4d6fee=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x279593[_0x58d580(0xf1)]),_0x3504ba=(0x0,_0x2f96d6[_0x58d580(0x19e)])(_0x276c17[_0x58d580(0x188)]),_0x40d90e=()=>{const _0x5dd041=_0x58d580;var _0x27624d;let _0x3b4ae3=_0x4d6fee[_0x5dd041(0x486)]();if(_0x3b4ae3[_0x5dd041(0x175)]!==0x1||((_0x27624d=_0x3b4ae3[0x0])==null?void 0x0:_0x27624d[_0x5dd041(0x3d6)])!==_0x383631[_0x5dd041(0x286)]['DRAWING_SHAPE'])return null;let {unitId:_0x2caefc,subUnitId:_0x105569,drawingId:_0x4f76a1}=_0x3b4ae3[0x0],_0x13a2e1=_0x3504ba['getShapeTypeById'](_0x2caefc,_0x105569,_0x4f76a1),_0x3e2f49=_0x3504ba[_0x5dd041(0x21f)](_0x2caefc,_0x105569,_0x4f76a1);return _0x13a2e1===void 0x0||!_0x3e2f49?null:{'unitId':_0x2caefc,'subUnitId':_0x105569,'drawingId':_0x4f76a1,'shapeType':_0x13a2e1,'shapeData':_0x3e2f49};},_0x970501=(0x0,_0x2f96d6[_0x58d580(0x26f)])(()=>new _0x4250df[(_0x58d580(0xd8))](_0x1d1e66=>{const _0x5b1497=_0x58d580;let _0x3e2116=()=>_0x1d1e66[_0x5b1497(0x289)](_0x40d90e()),_0x4aa7ed=_0x4d6fee[_0x5b1497(0x262)]['subscribe'](_0x3e2116),_0x3f6ac9=_0x5f5469[_0x5b1497(0x15d)](_0x3df3d2=>{const _0x36c5cc=_0x5b1497;_0x3df3d2['id']===_0x276c17[_0x36c5cc(0x250)]['id']&&_0x3e2116();});return _0x3e2116(),()=>{const _0x56c055=_0x5b1497;_0x4aa7ed[_0x56c055(0x165)](),_0x3f6ac9[_0x56c055(0x39f)]();};}),_0x40d90e(),!0x1,[_0x5f5469,_0x4d6fee,_0x3504ba]);return{'selection':_0x970501,'updateShapeData':_0x94f63e=>{const _0x3c44ee=_0x58d580;_0x970501&&_0x100eae(_0x5f5469,_0x970501[_0x3c44ee(0x173)],_0x970501[_0x3c44ee(0x135)],_0x970501[_0x3c44ee(0x493)],{'oldShapeData':_0x970501[_0x3c44ee(0x1a0)]},_0x94f63e);}};}function _0x139dd6(){const _0x296420=_0x5671d9;let {selection:_0x5e4d74,updateShapeData:_0x338e15}=_0x49f11e();return _0x5e4d74?(0x0,_0x4170e1[_0x296420(0x157)])(_0x2a9d6c[_0x296420(0x2b7)],{'shapeData':_0x5e4d74[_0x296420(0x1a0)],'shapeType':_0x5e4d74[_0x296420(0x138)],'onUpdateShapeData':_0x338e15}):null;}function _0x145172(){const _0x574eaf=_0x5671d9;let _0x4b801f=(0x0,_0x2f96d6[_0x574eaf(0x19e)])(_0x383631[_0x574eaf(0x24e)]),_0x3a1d44=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x574eaf(0x422)]),{selection:_0x4020aa}=_0x49f11e();return _0x4020aa?(0x0,_0x4170e1[_0x574eaf(0x157)])(_0x2a9d6c['ShapeQuickStyleGallery'],{'type':(0x0,_0x54f73f[_0x574eaf(0x4ab)])(_0x4020aa[_0x574eaf(0x1a0)]),'ariaLabel':_0x3a1d44['t'](_0x574eaf(0x395)),'activePresetId':(0x0,_0x54f73f['resolveActiveShapeQuickStylePresetId'])(_0x4020aa[_0x574eaf(0x1a0)]),'onSelect':_0x4f98ea=>_0x4b801f['executeCommand'](_0x748f1e['id'],{'presetId':_0x4f98ea})}):null;}function _0x5c4eaa(){const _0x2927c6=_0x5671d9;let {selection:_0x30e441,updateShapeData:_0x2b6ec5}=_0x49f11e();return _0x30e441?(0x0,_0x4170e1[_0x2927c6(0x157)])(_0x2a9d6c['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x2927c6(0x231),'shapeData':_0x30e441[_0x2927c6(0x1a0)],'onUpdateShapeData':_0x2b6ec5}):null;}function _0x2f8371(){const _0x3a2883=_0x5671d9;var _0x447f54;let {selection:_0x469a69,updateShapeData:_0x9d943c}=_0x49f11e(),_0x12ae38=(0x0,_0x2a9d6c[_0x3a2883(0x46a)])({'hostType':_0x383631['UniverInstanceType'][_0x3a2883(0x3e4)],'unitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x173)])??'','subUnitId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x135)])??'','shapeId':(_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x493)])??'','shapeData':_0x469a69==null?void 0x0:_0x469a69[_0x3a2883(0x1a0)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3a2883(0x2ee),'onUpdateBinding':_0x5fa219=>_0x9d943c({'formulaBinding':_0x5fa219})}),_0x31f1c9=((_0x447f54=_0x12ae38['extensionGroups'])==null?void 0x0:_0x447f54[_0x3a2883(0x430)](_0x41e879=>_0x41e879[_0x3a2883(0x30b)])[_0x3a2883(0x265)](_0x1eda08=>_0x1eda08[_0x3a2883(0x167)]!==!0x1))??[];return _0x469a69!=null&&_0x469a69['shapeData']['formulaBinding']?(0x0,_0x4170e1['jsx'])(_0x2a9d6c['ShapeFormulaRibbonControl'],{'actions':_0x31f1c9,'panel':_0x12ae38[_0x3a2883(0x414)]}):null;}let _0x2a7162='sheets-shape-ui.ribbon.shape-format.style-control',_0x55af17=_0x5671d9(0x3a2),_0x97cab0=_0x5671d9(0x442),_0x585612='sheets-shape-ui.ribbon.shape-format.arrange-forward',_0x5d0d99='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x5d3810=_0x5671d9(0x44b),_0x3ba557=_0x5671d9(0x2cc);function _0x4b553e(_0x4e5c14){const _0x5a6211=_0x5671d9;let _0x11b1b1=_0x4e5c14[_0x5a6211(0x4be)](_0x383631['ICommandService']),_0x876cfe=_0x4e5c14['get'](_0x279593['IDrawingManagerService']),_0x1aecf9=_0x4e5c14['get'](_0x276c17[_0x5a6211(0x188)]);return new _0x4250df[(_0x5a6211(0xd8))](_0x13fe4a=>{const _0x5da7cb=_0x5a6211;let _0x463c2e=()=>{const _0x225795=_0x43eb;let _0x2aae05=_0x5c84cc(_0x4e5c14),_0x544e56=_0x2aae05?_0x1aecf9[_0x225795(0x21f)](_0x2aae05[_0x225795(0x173)],_0x2aae05[_0x225795(0x135)],_0x2aae05['drawingId']):null;_0x13fe4a['next'](_0x544e56?(0x0,_0x54f73f[_0x225795(0x376)])(_0x544e56)??'':'');},_0x2d7166=_0x876cfe[_0x5da7cb(0x262)][_0x5da7cb(0x317)](_0x463c2e),_0xb97699=_0x11b1b1['onCommandExecuted'](_0x27ce8f=>{_0x27ce8f['id']===_0x276c17['UpdateSheetsShapeDataMutation']['id']&&_0x463c2e();});return _0x463c2e(),()=>{const _0x421c55=_0x5da7cb;_0x2d7166['unsubscribe'](),_0xb97699[_0x421c55(0x39f)]();};});}function _0x5c84cc(_0x248d1c){const _0x12bbfc=_0x5671d9;var _0x1e3f65;let _0x18f8c7=_0x248d1c['get'](_0x279593[_0x12bbfc(0xf1)])[_0x12bbfc(0x486)]();return _0x18f8c7[_0x12bbfc(0x175)]===0x1&&((_0x1e3f65=_0x18f8c7[0x0])==null?void 0x0:_0x1e3f65['drawingType'])===_0x383631[_0x12bbfc(0x286)][_0x12bbfc(0x456)]?_0x18f8c7[0x0]:null;}function _0x38b9bf(_0x41d3aa,_0x167f51=!0x1){const _0x437ec3=_0x5671d9;let _0x34a405=_0x41d3aa[_0x437ec3(0x4be)](_0x383631['ICommandService']),_0x28cb22=_0x41d3aa['get'](_0x279593[_0x437ec3(0xf1)]),_0x416784=_0x41d3aa['get'](_0x276c17[_0x437ec3(0x188)]);return new _0x4250df[(_0x437ec3(0xd8))](_0x39f440=>{const _0x440c06=_0x437ec3;let _0x1b8dbe=()=>{const _0x2ed60f=_0x43eb;let _0x4c5b83=_0x5c84cc(_0x41d3aa);if(!_0x4c5b83){_0x39f440[_0x2ed60f(0x289)](!0x0);return;}let _0x47a2bf=_0x416784[_0x2ed60f(0x21f)](_0x4c5b83[_0x2ed60f(0x173)],_0x4c5b83[_0x2ed60f(0x135)],_0x4c5b83[_0x2ed60f(0x493)]);_0x39f440['next'](!_0x47a2bf||_0x167f51&&_0x47a2bf[_0x2ed60f(0x339)]==null);},_0x33b030=_0x28cb22['focus$'][_0x440c06(0x317)](_0x1b8dbe),_0x2bfae5=_0x34a405[_0x440c06(0x15d)](_0x47742b=>{const _0x4df980=_0x440c06;_0x47742b['id']===_0x276c17[_0x4df980(0x250)]['id']&&_0x1b8dbe();});return _0x1b8dbe(),()=>{const _0x5643c7=_0x440c06;_0x33b030[_0x5643c7(0x165)](),_0x2bfae5['dispose']();};});}function _0x588119(_0x9704a9){const _0x3aa749=_0x5671d9;let _0x259652=_0x9704a9['get'](_0x279593[_0x3aa749(0xf1)]),_0x25a3c1=_0x9704a9['get'](_0x276c17['SheetsShapeService']);return _0x259652['focus$'][_0x3aa749(0x33d)]((0x0,_0x4250df[_0x3aa749(0x34c)])(_0x259652['getFocusDrawings']()),(0x0,_0x4250df['map'])(()=>{const _0x4fd9dc=_0x3aa749;let _0x2db21b=_0x5c84cc(_0x9704a9),_0x493055=_0x2db21b?_0x25a3c1[_0x4fd9dc(0x4d1)](_0x2db21b[_0x4fd9dc(0x173)],_0x2db21b[_0x4fd9dc(0x135)],_0x2db21b[_0x4fd9dc(0x493)]):void 0x0;return _0x493055===void 0x0||(0x0,_0x287478[_0x4fd9dc(0x4d2)])(_0x493055);}));}function _0x428711(_0x44c814){const _0x3509ab=_0x5671d9;return{'id':_0x748f1e['id'],'type':_0x2f96d6[_0x3509ab(0x3d9)][_0x3509ab(0x10c)],'icon':_0x3509ab(0x370),'title':_0x3509ab(0x2ae),'tooltip':_0x3509ab(0x2ae),'selections':[{'label':{'name':_0x566032,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4b553e(_0x44c814),'hidden$':_0x38b9bf(_0x44c814)};}function _0x248aa9(_0x2c2b2b){const _0x4cff55=_0x5671d9;return{'id':_0x3a751e['id'],'type':_0x2f96d6[_0x4cff55(0x3d9)][_0x4cff55(0x10c)],'icon':_0x4cff55(0x19c),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x4cff55(0x2ef),'slot':!0x0,'selections':[{'label':{'name':_0x2a9d6c[_0x4cff55(0x37c)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x588119(_0x2c2b2b)};}function _0xb0a4fd(_0x54d3dc,_0x4f968c,_0x53914f=!0x1){const _0x47e27d=_0x5671d9;return _0x318890=>({'id':_0x54d3dc,'type':_0x2f96d6[_0x47e27d(0x3d9)][_0x47e27d(0x396)],'label':{'name':_0x4f968c,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x38b9bf(_0x318890,_0x53914f)});}let _0xdd9a7c=_0xb0a4fd(_0x2a7162,_0xc4a475),_0x3fe0c7=_0xb0a4fd(_0x55af17,_0x2ab86a),_0x731eb2=_0xb0a4fd(_0x97cab0,_0x317af2,!0x0);function _0x58a714(_0x341458,_0xd127d0,_0x461cfb,_0x585b44){const _0x19b261=_0x5671d9;return _0x2b6738=>({'id':_0x341458,'commandId':_0x72b203['SetDrawingArrangeCommand']['id'],'type':_0x2f96d6['MenuItemType'][_0x19b261(0x396)],'icon':_0x461cfb,'title':_0x585b44,'tooltip':_0x585b44,'hidden$':_0x38b9bf(_0x2b6738),'params':()=>{const _0x31423a=_0x19b261;let _0x561a6e=_0x5c84cc(_0x2b6738);return _0x561a6e?{'unitId':_0x561a6e[_0x31423a(0x173)],'subUnitId':_0x561a6e[_0x31423a(0x135)],'drawingIds':[_0x561a6e[_0x31423a(0x493)]],'arrangeType':_0xd127d0}:void 0x0;}});}let _0x24a1ab=_0x58a714(_0x585612,_0x383631['ArrangeTypeEnum']['forward'],'MoveUpIcon',_0x5671d9(0x367)),_0x1a9260=_0x58a714(_0x5d0d99,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x3f5)],_0x5671d9(0x195),_0x5671d9(0x398)),_0x383be6=_0x58a714(_0x5d3810,_0x383631[_0x5671d9(0x412)][_0x5671d9(0x48c)],_0x5671d9(0x49f),_0x5671d9(0xcf)),_0x432692=_0x58a714(_0x3ba557,_0x383631[_0x5671d9(0x412)]['back'],_0x5671d9(0x402),_0x5671d9(0x37e));function _0xe9cc3b(_0x181b53){const _0x550a3f=_0x5671d9;return{'id':_0x57e247['id'],'type':_0x2f96d6[_0x550a3f(0x3d9)]['BUTTON'],'icon':_0x550a3f(0x33b),'title':_0x550a3f(0x17b),'tooltip':'sheets-shape-ui.formatShape','hidden$':_0x38b9bf(_0x181b53),'params':()=>{const _0x3f0dd3=_0x550a3f;let _0x14f94e=_0x5c84cc(_0x181b53);return _0x14f94e?{'unitId':_0x14f94e[_0x3f0dd3(0x173)],'subUnitId':_0x14f94e[_0x3f0dd3(0x135)],'drawingId':_0x14f94e['drawingId']}:void 0x0;}};}let _0x5c037d={[_0x2f96d6['MenuManagerPosition'][_0x5671d9(0x105)]]:{[_0x8c3839]:{'order':0x64,'title':_0x5671d9(0x17b),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x748f1e['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x428711},[_0x3a751e['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x248aa9}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2a7162]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0xdd9a7c}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x55af17]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x3fe0c7}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3170bb]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x4923f4},[_0x585612]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x24a1ab},[_0x5d0d99]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1a9260},[_0x5d3810]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x383be6},[_0x3ba557]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x432692}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x97cab0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x731eb2}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x57e247['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9cc3b},[_0x2a9d6c[_0x5671d9(0x204)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2a9d6c['ShapeFloatingToolbarToggleFactory']}}}}},_0x230bea={[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x38d)]]:{[_0x45134c['id']]:{'order':0x4,'menuItemFactory':_0xf5bc6f}}},_0x3c6f17={..._0x230bea,[_0x2f96d6[_0x5671d9(0x14c)][_0x5671d9(0x361)]]:{[_0x5ad9f8['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x171a1d}},[_0x2f96d6[_0x5671d9(0x1df)][_0x5671d9(0x391)]]:{[_0x2f96d6[_0x5671d9(0x3df)][_0x5671d9(0x361)]]:{[_0x3170bb]:{'order':0x4,'menuItemFactory':_0x23abe1},[_0xe4fc20]:{'order':0x5,'menuItemFactory':_0x4923f4}}}};var _0x42e456=_0x5671d9(0x1dd),_0x1bfefd=_0x5671d9(0xfe);let _0x176123={'id':_0x5671d9(0x40a),'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'handler'(_0x3887a5,_0x4f86c3){const _0x3b00b5=_0x5671d9;return _0x4f86c3?(_0x3887a5[_0x3b00b5(0x4be)](_0x2a9d6c[_0x3b00b5(0x433)])['open'](_0x4f86c3[_0x3b00b5(0x383)],{'hostType':_0x383631[_0x3b00b5(0x363)][_0x3b00b5(0x3e4)],'shapeId':_0x4f86c3[_0x3b00b5(0x493)],'subUnitId':_0x4f86c3[_0x3b00b5(0x135)],'unitId':_0x4f86c3[_0x3b00b5(0x173)]}),!0x0):!0x1;}},_0x317c0c=_0x5671d9(0x40b),_0xda7fc9={},_0x2d7d8a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x229448,_0x2fdf0c,_0x56a0d3,_0x3e9ade,_0xf8c394){const _0x857266=_0x5671d9;super(),this[_0x857266(0x4a5)]=_0x229448,this[_0x857266(0x306)]=_0x2fdf0c,this['_renderManagerService']=_0x56a0d3,this[_0x857266(0x434)]=_0x3e9ade,this[_0x857266(0x187)]=_0xf8c394,_0x20dccc(this,'_activeImageId',null),_0x20dccc(this,_0x857266(0x48e),null),_0x20dccc(this,'_subUnitId',null),_0x20dccc(this,'_activeAdjustPointList',void 0x0),_0x20dccc(this,'_shapes',[]),_0x20dccc(this,'_baseLeft',0x0),_0x20dccc(this,'_baseTop',0x0),_0x20dccc(this,'_baseWidth',0x0),_0x20dccc(this,_0x857266(0x4cc),0x0),_0x20dccc(this,_0x857266(0x1e7),!0x1),_0x20dccc(this,_0x857266(0x23a),void 0x0),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,_0x857266(0x40e),void 0x0),_0x20dccc(this,_0x857266(0x115),void 0x0),_0x20dccc(this,_0x857266(0x2d4),!0x1),this[_0x857266(0x3cb)](),this['_registerMoveHandler']();}[_0x5671d9(0x386)](){const _0x528e57=_0x5671d9;this[_0x528e57(0xc2)]();}['refreshAdjustControls'](){const _0x58f813=_0x5671d9;this[_0x58f813(0xc2)](),this[_0x58f813(0xcc)](!0x0);}[_0x5671d9(0x249)](_0x4e6b3a,_0x33c509,_0x3c1d00,_0x5e09c9){const _0x3caea6=_0x5671d9;let _0x791b35=_0x4e6b3a;if(_0x791b35!==_0x287478[_0x3caea6(0x384)]['None']&&_0x4e6b3a!==_0x3caea6(0x2af))try{let _0x335c59=new _0x287478[(_0x3caea6(0x150))](_0x791b35,_0x3caea6(0xe2)+_0x4e6b3a);return _0x5e09c9&&_0x335c59['setShapeData']({'adjustValues':_0x5e09c9},!0x0),_0x335c59['updateContext']({'width':_0x33c509,'height':_0x3c1d00}),_0x335c59;}catch{return;}}[_0x5671d9(0x36a)](_0x212823,_0xd95886,_0x3750db){const _0x35d441=_0x5671d9;let _0x51d98a={'unitId':_0x212823,'subUnitId':_0xd95886,'drawingId':_0x3750db},_0x4ca4da=this[_0x35d441(0x306)][_0x35d441(0x14d)](_0x51d98a);if(_0x4ca4da&&_0x4ca4da['drawingType']===_0x383631[_0x35d441(0x286)][_0x35d441(0x217)])return _0x4ca4da;}[_0x5671d9(0x255)](_0x5e69aa,_0x25379f,_0x58cbff){const _0x42f194=_0x5671d9;let _0x49936d=this['_renderManagerService']['getRenderUnitById'](_0x5e69aa);if(!_0x49936d)return;let {scene:_0x34693e}=_0x49936d,_0x444d61=(0x0,_0x279593[_0x42f194(0x201)])({'unitId':_0x5e69aa,'subUnitId':_0x25379f,'drawingId':_0x58cbff}),_0x6f97ba=_0x34693e['getObject'](_0x444d61);if(_0x6f97ba instanceof _0x1c3608['Image']){let _0x2a6fb0=_0x6f97ba[_0x42f194(0x41e)];if(_0x2a6fb0)return{'prstGeom':_0x2a6fb0,'adjustValues':_0x6f97ba[_0x42f194(0x4c5)]};}}[_0x5671d9(0xcc)](_0x4ca1b4=!0x1){const _0x23433c=_0x5671d9;if(!this[_0x23433c(0x48e)]||!this[_0x23433c(0x1f0)]||!this[_0x23433c(0x258)])return;let _0x3a0d2e=this[_0x23433c(0x42d)][_0x23433c(0x1fa)](this[_0x23433c(0x48e)]);if(!_0x3a0d2e||!_0x3a0d2e[_0x23433c(0x438)](_0x261221[_0x23433c(0x3fb)])[_0x23433c(0x3f0)]())return;let {scene:_0x37e475}=_0x3a0d2e,_0x12bad2=this[_0x23433c(0x36a)](this[_0x23433c(0x48e)],this['_subUnitId'],this['_activeImageId']);if(!_0x12bad2)return;let {transform:_0x288f33}=_0x12bad2;if(!_0x288f33)return;let {left:_0x47d7b3,top:_0x24da3c,width:_0x5ae5f5,height:_0x554a0e,flipX:_0x41c230,flipY:_0x12afc0,angle:_0x4da9af=0x0}=_0x288f33;if(_0x47d7b3===void 0x0||_0x24da3c===void 0x0)return;let _0x282abd=this[_0x23433c(0x255)](this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)],this[_0x23433c(0x258)]);if(!_0x282abd)return;if(_0x4ca1b4){let _0xdc8b5a=this[_0x23433c(0x249)](_0x282abd[_0x23433c(0x41e)],_0x5ae5f5||0x0,_0x554a0e||0x0,_0x282abd[_0x23433c(0x16c)]);if(!_0xdc8b5a)return;this[_0x23433c(0x479)]=_0xdc8b5a[_0x23433c(0x247)]();}let _0x4155c1=this[_0x23433c(0x479)];if(_0x4155c1&&_0x4155c1['length']!==0x0)for(let _0x86a4ad=0x0;_0x86a4ad<_0x4155c1['length'];_0x86a4ad++){let _0x10a92a=_0x4155c1[_0x86a4ad],_0x3e4546=_0x10a92a['x'],_0x4355ac=_0x10a92a['y'];if(_0x41c230&&(_0x3e4546=(_0x5ae5f5||0x0)-_0x3e4546),_0x12afc0&&(_0x4355ac=(_0x554a0e||0x0)-_0x4355ac),_0x4da9af!==0x0){let _0x4c731d=(_0x5ae5f5||0x0)/0x2,_0x5c3d2c=(_0x554a0e||0x0)/0x2,_0x376a12=_0x4da9af*Math['PI']/0xb4,_0x2f53f9=Math[_0x23433c(0x3bb)](_0x376a12),_0x165251=Math[_0x23433c(0x417)](_0x376a12),_0x142b20=_0x3e4546-_0x4c731d,_0x183b7d=_0x4355ac-_0x5c3d2c;_0x3e4546=_0x4c731d+(_0x142b20*_0x2f53f9-_0x183b7d*_0x165251),_0x4355ac=_0x5c3d2c+(_0x142b20*_0x165251+_0x183b7d*_0x2f53f9);}let _0x180549={'x':_0x3e4546,'y':_0x4355ac,'adjName':_0x10a92a[_0x23433c(0x123)]};this['_addControl'](_0x37e475,_0x180549,_0x180549['adjName'],_0x47d7b3,_0x24da3c,this[_0x23433c(0x48e)],this[_0x23433c(0x1f0)]);}}['_addControl'](_0x2a500f,_0x5a5ae5,_0x276836,_0x542d04,_0x149041,_0x4e522b,_0xc14a3b){const _0x35d61a=_0x5671d9;if(!this[_0x35d61a(0x258)])return;let _0xd41a57=_0x35d61a(0x411)+this[_0x35d61a(0x258)]+'-'+_0x276836,_0x2466bb=_0x2a500f[_0x35d61a(0x327)](_0xd41a57);if(_0x2466bb){_0x2466bb['transformByState']({'left':_0x5a5ae5['x']+_0x542d04-_0x287478['ShapeDefaultConfig'][_0x35d61a(0x14b)],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)]['adjHandleSize']});return;}let _0x1f9523=new _0x180d91(_0xd41a57,{'left':_0x5a5ae5['x']+_0x542d04-_0x287478[_0x35d61a(0x10a)]['adjHandleSize'],'top':_0x5a5ae5['y']+_0x149041-_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)],'adjName':_0x276836,'shapeId':this[_0x35d61a(0x258)],'unitId':_0x4e522b,'subUnitId':_0xc14a3b,'width':_0x287478[_0x35d61a(0x10a)][_0x35d61a(0x14b)]+0x8,'height':_0x287478[_0x35d61a(0x10a)]['adjHandleSize']+0x8,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x35d61a(0x236)]['push'](_0x1f9523),this['_attachAdjustEvent'](_0x1f9523,_0x2a500f,_0x276836),_0x2a500f['addObject'](_0x1f9523,_0x1c3608[_0x35d61a(0x28a)]+0x1);}[_0x5671d9(0xc2)](){const _0x4ad706=_0x5671d9;this['_shapes'][_0x4ad706(0x175)]!==0x0&&(this[_0x4ad706(0x236)]['forEach'](_0x235fc9=>_0x235fc9[_0x4ad706(0x39f)]()),this[_0x4ad706(0x236)]=[]);}['_getScrollInfo'](_0x2025e3,_0x475a89){const _0x5ae87d=_0x5671d9;var _0x26677b;let _0x3f85b6={'x':0x0,'y':0x0},_0x412a49=this['_renderManagerService'][_0x5ae87d(0x1fa)](_0x2025e3);if(!_0x412a49||!_0x412a49['with'](_0x261221['SheetSkeletonManagerService'])['getSkeleton'](_0x475a89))return _0x3f85b6;let _0x2ed51f=_0x412a49[_0x5ae87d(0x438)](_0x261221['SheetScrollManagerService']),_0xc89fea=_0x2ed51f==null?void 0x0:_0x2ed51f[_0x5ae87d(0x214)]();if(!_0xc89fea)return _0x3f85b6;let _0xd5610a=(_0x26677b=this[_0x5ae87d(0x434)][_0x5ae87d(0x147)](_0x2025e3))==null?void 0x0:_0x26677b[_0x5ae87d(0x13a)](_0x475a89);if(!_0xd5610a)return _0x3f85b6;let _0x196f77=(0x0,_0x261221[_0x5ae87d(0x362)])(_0xc89fea[_0x5ae87d(0xdb)],_0xc89fea[_0x5ae87d(0x30a)],_0x412a49[_0x5ae87d(0x333)],_0xd5610a);return _0x196f77?{'x':_0x196f77[_0x5ae87d(0x2d8)],'y':_0x196f77[_0x5ae87d(0x403)]}:_0x3f85b6;}[_0x5671d9(0x36c)](_0x270997,_0x5cc866){const _0x401ef8=_0x5671d9;var _0x22bc93;let _0x9aae68=(_0x22bc93=this[_0x401ef8(0x434)]['getUnit'](_0x270997))==null?void 0x0:_0x22bc93[_0x401ef8(0x13a)](_0x5cc866);return(_0x9aae68==null?void 0x0:_0x9aae68[_0x401ef8(0x1e5)]())??0x1;}[_0x5671d9(0x324)](_0x26e676,_0x220c6d,_0x5ab5f7){const _0x4a147c=_0x5671d9;this[_0x4a147c(0x252)]((0x0,_0x383631[_0x4a147c(0x292)])(_0x26e676[_0x4a147c(0xe5)][_0x4a147c(0x17a)]((_0x1fefb0,_0x3eb48b)=>{const _0x13891f=_0x4a147c;var _0x26d7b6,_0x4d24e5,_0xd14618;let {unitId:_0x2002c3,subUnitId:_0x1bf2e3,drawingId:_0x465c26}=_0x26e676[_0x13891f(0x4cd)](),_0x55cc7c=this['_getImageDrawingInfo'](_0x2002c3,_0x1bf2e3,_0x465c26);if(!(_0x55cc7c!=null&&_0x55cc7c[_0x13891f(0x2c6)]))return;let {left:_0xe86e18,top:_0x41d654,width:_0x2a09ed,height:_0x11e903}=_0x55cc7c[_0x13891f(0x2c6)];this['_baseLeft']=_0xe86e18||0x0,this[_0x13891f(0x180)]=_0x41d654||0x0,this[_0x13891f(0x176)]=_0x2a09ed||0x0,this[_0x13891f(0x4cc)]=_0x11e903||0x0;let _0x1e66d8=!!((_0x26d7b6=_0x55cc7c[_0x13891f(0x2c6)])!=null&&_0x26d7b6[_0x13891f(0x160)]),_0x42a077=!!((_0x4d24e5=_0x55cc7c['transform'])!=null&&_0x4d24e5[_0x13891f(0x481)]),_0x404bef=((_0xd14618=_0x55cc7c['transform'])==null?void 0x0:_0xd14618[_0x13891f(0x46e)])||0x0,_0x294512=this[_0x13891f(0x255)](_0x2002c3,_0x1bf2e3,_0x465c26);if(!_0x294512)return;let _0x1dda45=this['_getOrCreateShapeModel'](_0x294512[_0x13891f(0x41e)],this[_0x13891f(0x176)],this['_baseHeight'],_0x294512[_0x13891f(0x16c)]);if(!_0x1dda45||(this[_0x13891f(0x194)]=_0x1dda45,this[_0x13891f(0x23a)]=_0x1dda45[_0x13891f(0x12b)](_0x5ab5f7),!this[_0x13891f(0x23a)]))return;this[_0x13891f(0x1e7)]=!0x0,_0x220c6d['disableObjectsEvent']();let _0x3c9888=_0x294512[_0x13891f(0x41e)];this[_0x13891f(0x40e)]=_0x220c6d[_0x13891f(0x41a)][_0x13891f(0x17a)]((_0x9f28aa,_0x407fed)=>{const _0x35cdc4=_0x13891f;if(!this[_0x35cdc4(0x1e7)])return;let {offsetX:_0x3aecef,offsetY:_0xf02c11}=_0x9f28aa,_0x10e1e3=this['_activeAdjustInfo'];if(!this[_0x35cdc4(0x194)]||!_0x10e1e3)return;_0x220c6d['disableObjectsEvent'](),_0x220c6d[_0x35cdc4(0x2f8)](_0x1c3608[_0x35cdc4(0xf4)][_0x35cdc4(0x450)]);let _0x2fa801={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]},_0x3ccf02=this['_getScrollInfo'](_0x2002c3,_0x1bf2e3),_0x53fe50=this[_0x35cdc4(0x36c)](_0x2002c3,_0x1bf2e3),_0x3ec9db=_0x3aecef/_0x53fe50+_0x3ccf02['x']-this[_0x35cdc4(0x43c)],_0x384cc9=_0xf02c11/_0x53fe50+_0x3ccf02['y']-this[_0x35cdc4(0x180)];if(_0x404bef!==0x0){let _0x5eb48d=this[_0x35cdc4(0x176)]/0x2,_0x3f2a3d=this[_0x35cdc4(0x4cc)]/0x2,_0x20d069=_0x404bef*Math['PI']/0xb4,_0x41336d=Math['cos'](_0x20d069),_0x3709a6=Math[_0x35cdc4(0x417)](_0x20d069),_0x168d2f=_0x3ec9db-_0x5eb48d,_0x242c75=_0x384cc9-_0x3f2a3d;_0x3ec9db=_0x5eb48d+(_0x168d2f*_0x41336d+_0x242c75*_0x3709a6),_0x384cc9=_0x3f2a3d+(-_0x168d2f*_0x3709a6+_0x242c75*_0x41336d);}_0x1e66d8&&(_0x3ec9db=this['_baseWidth']-_0x3ec9db),_0x42a077&&(_0x384cc9=this[_0x35cdc4(0x4cc)]-_0x384cc9);let _0x444fe3=this[_0x35cdc4(0x194)]['calcAdjValues'](_0x2fa801,{'x':_0x3ec9db,'y':_0x384cc9},_0x10e1e3,_0x1e66d8,_0x42a077);if(Object[_0x35cdc4(0x144)](_0x444fe3)[_0x35cdc4(0x175)]!==0x0){for(let [_0x25b091,_0x1ff10a]of Object[_0x35cdc4(0x2f6)](_0x444fe3))this[_0x35cdc4(0x194)][_0x35cdc4(0x290)](_0x25b091,_0x1ff10a);this['_activeShapeModel'][_0x35cdc4(0x288)]({'width':this['_baseWidth'],'height':this[_0x35cdc4(0x4cc)]}),this['_updateImageAdjValues'](_0x2002c3,_0x1bf2e3,_0x465c26,_0x444fe3),this[_0x35cdc4(0x479)]=this[_0x35cdc4(0x194)][_0x35cdc4(0x247)](),this[_0x35cdc4(0xcc)](),_0x407fed[_0x35cdc4(0x425)]();}}),this[_0x13891f(0x115)]=_0x220c6d[_0x13891f(0x243)][_0x13891f(0x17a)]((_0xf98837,_0x1108cc)=>{const _0x2407d8=_0x13891f;if(this[_0x2407d8(0x40e)][_0x2407d8(0x165)](),this[_0x2407d8(0x115)]['unsubscribe'](),_0x220c6d[_0x2407d8(0x238)](),this[_0x2407d8(0x194)]){let _0xd7008d=this[_0x2407d8(0x194)][_0x2407d8(0x3b6)](),_0x5a2f3b={};for(let _0x5ab370 of _0xd7008d){let _0x36c4c7=this[_0x2407d8(0x194)][_0x2407d8(0x440)](_0x5ab370);_0x36c4c7!==void 0x0&&(_0x5a2f3b[_0x5ab370]=_0x36c4c7);}this[_0x2407d8(0x187)][_0x2407d8(0x49e)](_0x2002c3,_0x1bf2e3,_0x465c26,_0x3c9888,_0x5a2f3b);}this[_0x2407d8(0x23a)]=void 0x0,this[_0x2407d8(0x194)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x1108cc[_0x2407d8(0x425)](),_0x220c6d['enableObjectsEvent']();}),_0x3eb48b[_0x13891f(0x425)]();})));}[_0x5671d9(0x464)](_0x870c4d,_0x5965c6,_0x48bfa4,_0x48e4b7){const _0x30bf50=_0x5671d9;let _0x5caf7a=this[_0x30bf50(0x42d)][_0x30bf50(0x1fa)](_0x870c4d);if(!_0x5caf7a)return;let {scene:_0x195f00}=_0x5caf7a,_0x7501c9=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x870c4d,'subUnitId':_0x5965c6,'drawingId':_0x48bfa4}),_0x1ed4c8=_0x195f00[_0x30bf50(0x3d4)](_0x7501c9);if(_0x1ed4c8 instanceof _0x1c3608['Image']){let _0x546377=_0x1ed4c8[_0x30bf50(0x4c5)]??{};_0x1ed4c8[_0x30bf50(0x323)]({..._0x546377,..._0x48e4b7}),_0x1ed4c8[_0x30bf50(0x33a)](!0x0);}}[_0x5671d9(0x3d5)](){const _0x7b793f=_0x5671d9;let _0x4c37f1=this[_0x7b793f(0x434)][_0x7b793f(0x393)](_0x383631['UniverInstanceType'][_0x7b793f(0x3e4)]);this['disposeWithMe'](_0x4c37f1[_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0xca8504=>_0xca8504?_0xca8504[_0x7b793f(0x410)][_0x7b793f(0x33d)]((0x0,_0x4250df[_0x7b793f(0x1bd)])(_0x2ef461=>{const _0x31a9c0=_0x7b793f;if(!_0x2ef461)return _0x4250df[_0x31a9c0(0x15b)];let _0x1535cb=_0xca8504['getUnitId'](),_0x2cce75=this['_renderManagerService'][_0x31a9c0(0x1fa)](_0x1535cb),_0x38266d=_0x2cce75==null?void 0x0:_0x2cce75[_0x31a9c0(0x333)];return _0x38266d?(0x0,_0x4250df['of'])(_0x38266d):_0x4250df[_0x31a9c0(0x15b)];})):_0x4250df[_0x7b793f(0x15b)]))[_0x7b793f(0x317)](_0x2b5445=>{const _0x434550=_0x7b793f;let _0x2265c6=_0x2b5445[_0x434550(0x178)]();this[_0x434550(0x252)](_0x2b5445[_0x434550(0x41a)][_0x434550(0x17a)](()=>{const _0x577a19=_0x434550;this[_0x577a19(0x2d4)]&&this['_clearControls']();})),this['disposeWithMe'](_0x2265c6['changeStart$'][_0x434550(0x317)](_0x19ad2b=>{const _0x54be23=_0x434550;let {objects:_0x50d447}=_0x19ad2b;if(this[_0x54be23(0xcc)](),_0x50d447!==null&&_0x50d447['size']===0x1){let _0x56041d=_0x50d447[_0x54be23(0x206)]()['next']()['value'];_0x56041d instanceof _0x1c3608[_0x54be23(0xd6)]&&_0x56041d[_0x54be23(0x41e)]&&(this[_0x54be23(0x2d4)]=!0x0);}})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x1f8)]['subscribe'](()=>{const _0x199069=_0x434550;this[_0x199069(0x2d4)]&&this[_0x199069(0xc2)]();})),this['disposeWithMe'](_0x2b5445[_0x434550(0x243)][_0x434550(0x17a)](()=>{const _0xf18624=_0x434550;this[_0xf18624(0x2d4)]&&(this[_0xf18624(0x2d4)]=!0x1,this[_0xf18624(0xcc)]());})),this[_0x434550(0x252)](_0x2265c6[_0x434550(0x3c2)][_0x434550(0x317)](()=>{const _0x3ddcd2=_0x434550;if(this['_unitId']&&this[_0x3ddcd2(0x1f0)]&&this['_activeImageId']){let _0x915c80=this[_0x3ddcd2(0x255)](this[_0x3ddcd2(0x48e)],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]);if(_0x915c80){var _0x204931,_0x801a76;let _0x2aa80f=this['_getImageDrawingInfo'](this['_unitId'],this[_0x3ddcd2(0x1f0)],this[_0x3ddcd2(0x258)]),_0x5463ed=(_0x2aa80f==null||(_0x204931=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x204931['width'])||0x0,_0x5ea79c=(_0x2aa80f==null||(_0x801a76=_0x2aa80f[_0x3ddcd2(0x2c6)])==null?void 0x0:_0x801a76['height'])||0x0,_0xd92c45=this[_0x3ddcd2(0x249)](_0x915c80['prstGeom'],_0x5463ed,_0x5ea79c,_0x915c80[_0x3ddcd2(0x16c)]);_0xd92c45&&(this[_0x3ddcd2(0x479)]=_0xd92c45[_0x3ddcd2(0x247)](),this['_clearControls'](),this[_0x3ddcd2(0xcc)](!0x0));}}}));}));}[_0x5671d9(0x3cb)](){const _0x4ddca1=_0x5671d9;this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)][_0x4ddca1(0x262)]['subscribe'](_0x386136=>{const _0x380c33=_0x4ddca1;if(_0x386136['length']===0x1){let _0x2675a0=_0x386136[0x0];if(_0x2675a0[_0x380c33(0x3d6)]===_0x383631[_0x380c33(0x286)][_0x380c33(0x217)]){let {unitId:_0x3b00d8,subUnitId:_0x302e93,drawingId:_0xd4a30d}=_0x2675a0,_0x25f32f=this[_0x380c33(0x255)](_0x3b00d8,_0x302e93,_0xd4a30d);if(_0x25f32f){var _0xa8e062,_0x39eae6;this[_0x380c33(0x258)]=_0xd4a30d,this[_0x380c33(0x48e)]=_0x3b00d8,this[_0x380c33(0x1f0)]=_0x302e93;let _0x47cf57=this[_0x380c33(0x36a)](_0x3b00d8,_0x302e93,_0xd4a30d),_0x16f32c=(_0x47cf57==null||(_0xa8e062=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0xa8e062[_0x380c33(0x439)])||0x0,_0x4455b7=(_0x47cf57==null||(_0x39eae6=_0x47cf57[_0x380c33(0x2c6)])==null?void 0x0:_0x39eae6['height'])||0x0,_0x3bd26f=this[_0x380c33(0x249)](_0x25f32f['prstGeom'],_0x16f32c,_0x4455b7,_0x25f32f[_0x380c33(0x16c)]);_0x3bd26f&&(this[_0x380c33(0x479)]=_0x3bd26f['getDrawingPoints']()),this[_0x380c33(0xc2)](),this['_createControls'](!0x0);}else this[_0x380c33(0x45b)]();}else this['_resetState']();}else this[_0x380c33(0x45b)]();})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['update$'][_0x4ddca1(0x317)](_0x95a3b3=>{const _0x2fd96f=_0x4ddca1;if(_0x95a3b3[_0x2fd96f(0x175)]===0x1){let _0x3e8027=_0x95a3b3[0x0],_0x480640=this[_0x2fd96f(0x306)][_0x2fd96f(0x14d)](_0x3e8027);(_0x480640==null?void 0x0:_0x480640[_0x2fd96f(0x3d6)])===_0x383631[_0x2fd96f(0x286)][_0x2fd96f(0x217)]&&this[_0x2fd96f(0x258)]===_0x3e8027[_0x2fd96f(0x493)]&&(this[_0x2fd96f(0xc2)](),this[_0x2fd96f(0xcc)](!0x0));}})),this[_0x4ddca1(0x252)](this[_0x4ddca1(0x306)]['remove$'][_0x4ddca1(0x317)](_0x2db499=>{const _0x2f552b=_0x4ddca1;for(let _0x4ce7e4 of _0x2db499)this[_0x2f552b(0x258)]===_0x4ce7e4['drawingId']&&this[_0x2f552b(0x45b)]();}));}[_0x5671d9(0x45b)](){const _0x14250d=_0x5671d9;this[_0x14250d(0x258)]=null,this[_0x14250d(0x48e)]=null,this[_0x14250d(0x1f0)]=null,this[_0x14250d(0x479)]=void 0x0,this[_0x14250d(0xc2)]();}};_0x2d7d8a=_0x25a2aa([_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x5343de))],_0x2d7d8a);function _0x5940a4({ref:_0xce9420,..._0x371b23}){const _0x44e00b=_0x5671d9;let {preserveStrokeWidth:_0x18fed7,icon:_0x4ee963,id:_0x3c809b,className:_0x31234b,extend:_0x4eed79,..._0x3dbb20}=_0x371b23,_0x5341e2=('univerjs-icon\x20univerjs-icon-'+_0x3c809b+'\x20'+(_0x31234b||''))['trim'](),_0x4abef2='_'+(0x0,_0x6ed98f[_0x44e00b(0x42a)])(),_0x241628=(0x0,_0x6ed98f[_0x44e00b(0x161)])(null);return(0x0,_0x6ed98f['useImperativeHandle'])(_0xce9420,()=>_0x241628['current']),(0x0,_0x6ed98f[_0x44e00b(0x44e)])(()=>{const _0x4bff41=_0x44e00b;if(_0x18fed7&&_0x241628['current']&&_0x241628['current']['localName']===_0x4ee963[_0x4bff41(0x1c4)])return _0x330c7e(_0x241628['current']);},[_0x18fed7,_0x4ee963]),_0x5297e4(_0x4ee963,''+_0x3c809b,{'defIds':_0x4ee963[_0x44e00b(0x132)],'idSuffix':_0x4abef2},{'ref':_0x241628,'className':_0x5341e2,..._0x3dbb20},_0x4eed79);}function _0x5297e4(_0x24d5aa,_0x1e940a,_0x533052,_0x2325d6,_0x567b48){const _0x301231=_0x5671d9;return(0x0,_0x6ed98f[_0x301231(0x4c6)])(_0x24d5aa[_0x301231(0x1c4)],{'key':_0x1e940a,..._0x1fceaf(_0x24d5aa,_0x533052,_0x567b48),..._0x2325d6},(_0x5e1014(_0x24d5aa,_0x533052)[_0x301231(0x1c5)]||[])[_0x301231(0x3da)]((_0x2adab8,_0xedea7)=>_0x5297e4(_0x2adab8,_0x1e940a+'-'+_0x24d5aa[_0x301231(0x1c4)]+'-'+_0xedea7,_0x533052,void 0x0,_0x567b48)));}function _0x1fceaf(_0x17d06c,_0x4fcab8,_0x1a6f33){const _0x5a071=_0x5671d9;let _0x35ff4f={..._0x17d06c['attrs']};_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f[_0x5a071(0x3c6)]==='colorChannel1'&&(_0x35ff4f[_0x5a071(0x3c6)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x1a6f33!=null&&_0x1a6f33[_0x5a071(0x3ff)]&&_0x35ff4f['stroke']===_0x5a071(0x3ff)&&(_0x35ff4f[_0x5a071(0x193)]=_0x1a6f33[_0x5a071(0x3ff)]),_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x335)&&_0x35ff4f['id']&&(_0x35ff4f['id']+=_0x4fcab8[_0x5a071(0x20c)]),Object['entries'](_0x35ff4f)['forEach'](([_0x268fae,_0xcc3393])=>{const _0x25099c=_0x5a071;_0x268fae==='mask'&&typeof _0xcc3393==_0x25099c(0x3d1)&&(_0x35ff4f[_0x268fae]=_0xcc3393['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4fcab8[_0x25099c(0x20c)]+')'));});let {defIds:_0x224d2b}=_0x4fcab8;return!_0x224d2b||_0x224d2b[_0x5a071(0x175)]===0x0?_0x35ff4f:(_0x17d06c[_0x5a071(0x1c4)]===_0x5a071(0x10e)&&_0x35ff4f['xlink:href']&&(_0x35ff4f[_0x5a071(0x445)]+=_0x4fcab8[_0x5a071(0x20c)]),Object[_0x5a071(0x2f6)](_0x35ff4f)[_0x5a071(0x3a7)](([_0x1db521,_0x2bb3c4])=>{const _0x2fcdb1=_0x5a071;typeof _0x2bb3c4==_0x2fcdb1(0x3d1)&&(_0x35ff4f[_0x1db521]=_0x2bb3c4[_0x2fcdb1(0x153)](/url\(#(.*)\)/,_0x2fcdb1(0x148)+_0x4fcab8['idSuffix']+')'));}),_0x35ff4f);}function _0x5e1014(_0x51ee86,_0x2e153a){const _0x58ebca=_0x5671d9;var _0xf9f493;let {defIds:_0x50174c}=_0x2e153a;return!_0x50174c||_0x50174c[_0x58ebca(0x175)]===0x0?_0x51ee86:_0x51ee86[_0x58ebca(0x1c4)]===_0x58ebca(0x49b)&&(_0xf9f493=_0x51ee86['children'])!=null&&_0xf9f493['length']?{..._0x51ee86,'children':_0x51ee86[_0x58ebca(0x1c5)][_0x58ebca(0x3da)](_0xe9bc45=>typeof _0xe9bc45['attrs']['id']=='string'&&_0x50174c&&_0x50174c[_0x58ebca(0x119)](_0xe9bc45[_0x58ebca(0x485)]['id'])?{..._0xe9bc45,'attrs':{..._0xe9bc45[_0x58ebca(0x485)],'id':_0xe9bc45[_0x58ebca(0x485)]['id']+_0x2e153a[_0x58ebca(0x20c)]}}:_0xe9bc45)}:_0x51ee86;}function _0x330c7e(_0x47043c){const _0x47ebfb=_0x5671d9;let _0x2db53b=_0x47043c[_0x47ebfb(0x48f)][_0x47ebfb(0x4ca)],_0x164c26=Math['max'](_0x2db53b[_0x47ebfb(0x439)],_0x2db53b[_0x47ebfb(0x2ea)]);if(!Number[_0x47ebfb(0x196)](_0x164c26)||_0x164c26<=0x0||_0x2db53b[_0x47ebfb(0x439)]<=0x0||_0x2db53b['height']<=0x0)return()=>void 0x0;let _0x3e2f3c=0x10/_0x164c26,_0x5dfaf4=Array[_0x47ebfb(0x2c0)](_0x47043c['querySelectorAll'](_0x47ebfb(0x282)))[_0x47ebfb(0x430)](_0x314857=>{const _0x46b8a7=_0x47ebfb;let _0x44b7b=getComputedStyle(_0x314857),_0x5e9a01=Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3fa)]);return _0x44b7b[_0x46b8a7(0x193)]===_0x46b8a7(0x26c)||Number[_0x46b8a7(0x1be)](_0x44b7b[_0x46b8a7(0x3b3)])===0x0||_0x44b7b[_0x46b8a7(0x4a0)]===_0x46b8a7(0x331)||!Number['isFinite'](_0x5e9a01)||_0x5e9a01<=0x0?[]:[{'element':_0x314857,'hadStyleAttribute':_0x314857[_0x46b8a7(0x2ac)]('style'),'originalStrokeWidth':_0x5e9a01,'strokeWidth':_0xb0751e(_0x314857[_0x46b8a7(0x124)],_0x46b8a7(0x444))}];})[_0x47ebfb(0x3da)](_0x53a5a1=>({'appliedStrokeWidth':null,'element':_0x53a5a1[_0x47ebfb(0x455)],'hadStyleAttribute':_0x53a5a1['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x53a5a1[_0x47ebfb(0x353)],'strokeWidth':_0x53a5a1[_0x47ebfb(0x3fa)]}));if(_0x5dfaf4[_0x47ebfb(0x175)]===0x0)return()=>void 0x0;let _0x2713a0=(_0xa749a1,_0x17388d)=>{const _0x48f7fb=_0x47ebfb;if(_0x2db53b['width']<=0x0||_0x2db53b[_0x48f7fb(0x2ea)]<=0x0||_0xa749a1<=0x0||_0x17388d<=0x0)return;let _0x2e2ac5=Math[_0x48f7fb(0x428)](_0xa749a1/_0x2db53b[_0x48f7fb(0x439)],_0x17388d/_0x2db53b[_0x48f7fb(0x2ea)]);!Number[_0x48f7fb(0x196)](_0x2e2ac5)||_0x2e2ac5<=0x0||_0x5dfaf4[_0x48f7fb(0x3a7)](_0x3a28ad=>{const _0x4632c7=_0x48f7fb;if(_0x3a28ad[_0x4632c7(0x313)])return;if(_0x3a28ad['appliedStrokeWidth']!==null&&(_0x3a28ad[_0x4632c7(0x455)]['style']['getPropertyValue'](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x295)]||_0x3a28ad['element']['style'][_0x4632c7(0x38b)](_0x4632c7(0x444))!==_0x3a28ad[_0x4632c7(0x3fa)]['priority'])){_0x3a28ad[_0x4632c7(0x295)]=null,_0x3a28ad[_0x4632c7(0x313)]=!0x0;return;}let _0x2bf721=_0x3a28ad[_0x4632c7(0x353)]*_0x3e2f3c/_0x2e2ac5,_0x3d3656=Number(_0x2bf721[_0x4632c7(0x2b3)](0xc))+'px';_0x3a28ad['element'][_0x4632c7(0x124)][_0x4632c7(0x43a)](_0x4632c7(0x444),_0x3d3656,_0x3a28ad[_0x4632c7(0x3fa)][_0x4632c7(0x2b0)]),_0x3a28ad[_0x4632c7(0x295)]=_0x3d3656;});},_0x35419b=_0x47043c['getBoundingClientRect']();_0x2713a0(_0x35419b[_0x47ebfb(0x439)],_0x35419b['height']);let _0x3a160e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x43c221=>{const _0x4369c0=_0x47ebfb;if(_0x43c221[_0x4369c0(0x156)](_0x1ae9fe=>_0x1ae9fe[_0x4369c0(0x2c1)]===_0x47043c)){let _0x98ea41=_0x47043c[_0x4369c0(0x11a)]();_0x2713a0(_0x98ea41['width'],_0x98ea41['height']);}});return _0x3a160e==null||_0x3a160e[_0x47ebfb(0x17f)](_0x47043c),()=>{const _0x389019=_0x47ebfb;_0x3a160e==null||_0x3a160e[_0x389019(0x4ad)](),_0x5dfaf4[_0x389019(0x3a7)](_0x3322b5=>{const _0x3a1e4a=_0x389019;_0x3322b5[_0x3a1e4a(0x295)]!==null&&(_0x4811fb(_0x3322b5[_0x3a1e4a(0x455)][_0x3a1e4a(0x124)],_0x3a1e4a(0x444),_0x3322b5['appliedStrokeWidth'],_0x3322b5[_0x3a1e4a(0x3fa)][_0x3a1e4a(0x2b0)],_0x3322b5['strokeWidth']),!_0x3322b5[_0x3a1e4a(0x109)]&&_0x3322b5['element'][_0x3a1e4a(0x124)]['length']===0x0&&_0x3322b5[_0x3a1e4a(0x455)]['removeAttribute'](_0x3a1e4a(0x124)));});};}function _0xb0751e(_0x8d97f5,_0xe85ebf){const _0x2b306b=_0x5671d9;return{'priority':_0x8d97f5[_0x2b306b(0x38b)](_0xe85ebf),'value':_0x8d97f5[_0x2b306b(0x33e)](_0xe85ebf)};}function _0x4811fb(_0x20e4a2,_0x2d8269,_0xa7460b,_0x595195,_0x2ed8c4){const _0x130a44=_0x5671d9;_0x20e4a2[_0x130a44(0x33e)](_0x2d8269)===_0xa7460b&&_0x20e4a2['getPropertyPriority'](_0x2d8269)===_0x595195&&(_0x2ed8c4[_0x130a44(0x320)]?_0x20e4a2[_0x130a44(0x43a)](_0x2d8269,_0x2ed8c4['value'],_0x2ed8c4[_0x130a44(0x2b0)]):_0x20e4a2[_0x130a44(0x372)](_0x2d8269));}_0x5940a4[_0x5671d9(0x192)]=_0x5671d9(0x269);let _0x144a35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x3b2),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x415),'fillRule':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x37b),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x158)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':'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'}}]},_0x3ff1ac=(0x0,_0x6ed98f['forwardRef'])(function(_0x3827de,_0x417679){const _0x18fd9c=_0x5671d9;return(0x0,_0x6ed98f[_0x18fd9c(0x4c6)])(_0x5940a4,Object[_0x18fd9c(0x2f2)]({},_0x3827de,{'id':_0x18fd9c(0x125),'ref':_0x417679,'icon':_0x144a35}));});_0x3ff1ac[_0x5671d9(0x192)]=_0x5671d9(0x402);let _0x712223={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':'1em','height':'1em'},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x263),'strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x4cb),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x1d8),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x487),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x2c8),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M8\x2014V14.2','strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}}]},_0x534026=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x371a45,_0x1b5a93){const _0x14b3b2=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x14b3b2(0x2f2)]({},_0x371a45,{'id':_0x14b3b2(0x22a),'ref':_0x1b5a93,'icon':_0x712223}));});_0x534026[_0x5671d9(0x192)]=_0x5671d9(0x34a);let _0x1184ae={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0xff),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x307),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':'M6.2\x208H7.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x454),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x3bc),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x5e4242=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1b4f11,_0x3930ef){const _0x28fcb8=_0x5671d9;return(0x0,_0x6ed98f[_0x28fcb8(0x4c6)])(_0x5940a4,Object[_0x28fcb8(0x2f2)]({},_0x1b4f11,{'id':_0x28fcb8(0x212),'ref':_0x3930ef,'icon':_0x1184ae}));});_0x5e4242['displayName']=_0x5671d9(0x346);let _0x45e12e={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x1ac),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5671d9(0x1bc)}}]},_0x119d55=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x1429e2,_0x29d9df){const _0x391194=_0x5671d9;return(0x0,_0x6ed98f[_0x391194(0x4c6)])(_0x5940a4,Object[_0x391194(0x2f2)]({},_0x1429e2,{'id':_0x391194(0x345),'ref':_0x29d9df,'icon':_0x45e12e}));});_0x119d55[_0x5671d9(0x192)]=_0x5671d9(0x195);let _0x55dd35={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5671d9(0x309),'height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x3d3),'fillRule':_0x5671d9(0x4b6),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x4b4)}}]},_0x33a333=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x4a0edf,_0x36ae25){const _0x4ebfa8=_0x5671d9;return(0x0,_0x6ed98f['createElement'])(_0x5940a4,Object[_0x4ebfa8(0x2f2)]({},_0x4a0edf,{'id':'move-up-icon','ref':_0x36ae25,'icon':_0x55dd35}));});_0x33a333['displayName']=_0x5671d9(0x168);let _0x1c235b={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':'none','viewBox':_0x5671d9(0x321),'width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':_0x5671d9(0xc3),'attrs':{'stroke':'currentColor','d':_0x5671d9(0x137),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.3}}]},_0x4c5ad8=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x3fe5a1,_0x15c641){const _0x2d7f98=_0x5671d9;return(0x0,_0x6ed98f[_0x2d7f98(0x4c6)])(_0x5940a4,Object['assign']({},_0x3fe5a1,{'id':_0x2d7f98(0x1fb),'ref':_0x15c641,'icon':_0x1c235b}));});_0x4c5ad8['displayName']=_0x5671d9(0x47c);let _0x177ea4={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':_0x5671d9(0x321),'width':_0x5671d9(0x309),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x4ba),'strokeLinecap':_0x5671d9(0x470),'strokeLinejoin':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':_0x5671d9(0x416),'strokeLinecap':_0x5671d9(0x470),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5671d9(0x25c),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x5671d9(0xc3),'attrs':{'stroke':_0x5671d9(0x223),'d':'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','strokeLinejoin':_0x5671d9(0x470)}},{'tag':'path','attrs':{'stroke':_0x5671d9(0x223),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0xc8fb54=(0x0,_0x6ed98f['forwardRef'])(function(_0x473e04,_0x1d45d0){const _0x4416a9=_0x5671d9;return(0x0,_0x6ed98f[_0x4416a9(0x4c6)])(_0x5940a4,Object[_0x4416a9(0x2f2)]({},_0x473e04,{'id':'shape-format-setting-icon','ref':_0x1d45d0,'icon':_0x177ea4}));});_0xc8fb54[_0x5671d9(0x192)]=_0x5671d9(0x33b);let _0x48c595={'tag':_0x5671d9(0x419),'attrs':{'xmlns':_0x5671d9(0x3be),'fill':_0x5671d9(0x26c),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5671d9(0x309)},'children':[{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':_0x5671d9(0x213)}},{'tag':'path','attrs':{'fill':_0x5671d9(0x223),'d':'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','fillRule':_0x5671d9(0x4b6),'clipRule':_0x5671d9(0x4b6)}},{'tag':_0x5671d9(0xc3),'attrs':{'fill':_0x5671d9(0x223),'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':_0x5671d9(0x4b6),'clipRule':'evenodd'}}]},_0x5c98e7=(0x0,_0x6ed98f[_0x5671d9(0x272)])(function(_0x2e7bb2,_0x24dfb2){const _0x51eaa2=_0x5671d9;return(0x0,_0x6ed98f[_0x51eaa2(0x4c6)])(_0x5940a4,Object[_0x51eaa2(0x2f2)]({},_0x2e7bb2,{'id':_0x51eaa2(0x33f),'ref':_0x24dfb2,'icon':_0x48c595}));});_0x5c98e7[_0x5671d9(0x192)]=_0x5671d9(0x49f);function _0x498afa(_0xc029a4){return _0xc029a4['trim']()||void 0x0;}function _0x573d9f(_0x32a23f,_0x2c9987,_0x55cf5e){const _0x1b8a8c=_0x5671d9;var _0x4c366e;return((_0x4c366e=_0x32a23f[_0x1b8a8c(0x279)])==null?void 0x0:_0x4c366e[_0x1b8a8c(0x3a1)]())||_0x55cf5e['t'](_0x1b8a8c(0x2fb)+(0x0,_0x2a9d6c[_0x1b8a8c(0x207)])(_0x32a23f[_0x1b8a8c(0x3d6)]))+'\x20'+(_0x2c9987+0x1);}function _0x55f3d8({PanelComponent:_0x3b1d85=_0x129810[_0x5671d9(0x300)]}){const _0x6f2756=_0x5671d9;var _0x48093e;let _0x224142=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631[_0x6f2756(0x422)]),_0x3292b8={'title':_0x224142['t'](_0x6f2756(0x219)),'empty':_0x224142['t'](_0x6f2756(0x30c)),'showAll':_0x224142['t'](_0x6f2756(0x107)),'hideAll':_0x224142['t'](_0x6f2756(0x405)),'lockAll':_0x224142['t'](_0x6f2756(0x378)),'unlockAll':_0x224142['t']('drawing-ui.objectListPanel.unlockAll'),'moveForward':_0x224142['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x224142['t'](_0x6f2756(0x3ef)),'close':_0x224142['t'](_0x6f2756(0x264)),'show':_0x224142['t']('drawing-ui.objectListPanel.show'),'hide':_0x224142['t']('drawing-ui.objectListPanel.hide'),'lock':_0x224142['t'](_0x6f2756(0x43e)),'unlock':_0x224142['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x224142['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x224142['t'](_0x6f2756(0x2d2)),'name':_0x224142['t'](_0x6f2756(0x1fe)),'nameInput':_0x224142['t'](_0x6f2756(0x221)),'description':_0x224142['t'](_0x6f2756(0x1b3)),'descriptionPlaceholder':_0x224142['t'](_0x6f2756(0x200)),'details':_0x224142['t'](_0x6f2756(0x2e3)),'noSelection':_0x224142['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x224142['t'](_0x6f2756(0x33c)),'expand':_0x224142['t'](_0x6f2756(0x371)),'collapse':_0x224142['t'](_0x6f2756(0x474)),'dragToReorder':_0x224142['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x224142['t'](_0x6f2756(0x2c7)),'filterAll':_0x224142['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x224142['t'](_0x6f2756(0x3f8)),'filterLocked':_0x224142['t'](_0x6f2756(0x38a)),'sectionCanvas':_0x224142['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x224142['t'](_0x6f2756(0x3ba))},_0x533707=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['ICommandService']),_0x17d828=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x383631['IUniverInstanceService']),_0xfb120f=(0x0,_0x2f96d6['useDependency'])(_0x72b203['ISheetDrawingService']),_0x1c13df=(0x0,_0x2f96d6['useDependency'])(_0x279593[_0x6f2756(0xf1)]),_0x1a1a3d=(0x0,_0x2f96d6[_0x6f2756(0x19e)])(_0x1c3608[_0x6f2756(0x1fd)]),[,_0x31d8b9]=(0x0,_0x6ed98f['useReducer'])(_0x20ad08=>_0x20ad08+0x1,0x0),_0x3b59b6=_0x17d828[_0x6f2756(0x141)](_0x383631[_0x6f2756(0x363)]['UNIVER_SHEET']),_0xad237e=(_0x3b59b6==null?void 0x0:_0x3b59b6[_0x6f2756(0x358)]())??'',_0x39b69c=(_0x3b59b6==null||(_0x48093e=_0x3b59b6[_0x6f2756(0x102)]())==null?void 0x0:_0x48093e['getSheetId']())??'',_0x572963=(0x0,_0x2f96d6[_0x6f2756(0x26f)])(()=>_0x1c13df[_0x6f2756(0x262)],_0x1c13df[_0x6f2756(0x486)](),!0x1,[_0x1c13df]);(0x0,_0x6ed98f[_0x6f2756(0x136)])(()=>{const _0x561274=_0x6f2756;let _0x457e68=_0x533707['onCommandExecuted'](()=>_0x31d8b9());return()=>_0x457e68[_0x561274(0x39f)]();},[_0x533707]);let _0xb2b7c2=_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x24f)](_0xad237e,_0x39b69c):{},_0x32e6b5=(_0xad237e&&_0x39b69c?_0xfb120f[_0x6f2756(0x4bb)](_0xad237e,_0x39b69c):[])[_0x6f2756(0x3da)](_0x2ad30b=>_0xb2b7c2[_0x2ad30b])['filter'](_0x1255ed=>!!_0x1255ed)[_0x6f2756(0x112)](),_0x39e8e6=_0x32e6b5[_0x6f2756(0x400)]((_0x440469,_0x266930)=>(_0x440469[(0x0,_0x129810[_0x6f2756(0x2b9)])(_0x266930[_0x6f2756(0x3d6)])]+=0x1,_0x440469),{'canvas':0x0,'floating':0x0}),_0x2eb377={'canvas':0x0,'floating':0x0},_0x2a1426=_0x32e6b5['map']((_0x195d76,_0x57bfc4)=>{const _0x2733ee=_0x6f2756;let _0x82df64=(0x0,_0x129810[_0x2733ee(0x2b9)])(_0x195d76[_0x2733ee(0x3d6)]),_0x5b74ac=_0x82df64===_0x129810[_0x2733ee(0x23b)],_0x3924f2=_0x2eb377[_0x82df64]++;return{'id':_0x195d76[_0x2733ee(0x493)],'name':_0x573d9f(_0x195d76,_0x57bfc4,_0x224142),'description':_0x195d76[_0x2733ee(0x1ff)],'visible':_0x195d76[_0x2733ee(0x185)]!==!0x0,'selectable':_0x195d76[_0x2733ee(0x1dc)]!==!0x1,'sectionId':_0x82df64,'sectionTitle':_0x5b74ac?_0x3292b8[_0x2733ee(0x483)]:_0x3292b8['sectionCanvas'],'capabilities':_0x5b74ac?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x5b74ac&&_0x3924f2>0x0,'canMoveBackward':!_0x5b74ac&&_0x3924f2<_0x39e8e6[_0x2733ee(0x113)]-0x1,'canReorder':!_0x5b74ac};}),_0x116032=(0x0,_0x6ed98f[_0x6f2756(0x420)])(()=>(_0x572963??[])[_0x6f2756(0x265)](_0x403259=>_0x403259[_0x6f2756(0x173)]===_0xad237e&&_0x403259[_0x6f2756(0x135)]===_0x39b69c)[_0x6f2756(0x3da)](_0xfab60c=>_0xfab60c['drawingId']),[_0x572963,_0x39b69c,_0xad237e]),_0x32cf00=_0x116032[_0x116032[_0x6f2756(0x175)]-0x1]??null,_0x422a57=_0x484aef=>_0xfb120f[_0x6f2756(0x14d)]({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x484aef})??null,_0x1bb734=async _0x457b4d=>{const _0x5f15fa=_0x6f2756;_0xad237e&&_0x457b4d[_0x5f15fa(0x175)]&&await _0x533707[_0x5f15fa(0x1f9)](_0x72b203['SetSheetDrawingCommand']['id'],{'unitId':_0xad237e,'drawings':_0x457b4d});},_0x220d2b=async(_0x196027,_0x49f187)=>{_0x422a57(_0x196027)&&await _0x1bb734([{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x196027,..._0x49f187}]);},_0x15edf0=(_0x654584,_0x515368)=>{const _0x3c5f83=_0x6f2756;if(!_0xad237e||!_0x39b69c)return;let _0x1c5699=_0x515368?_0x116032['includes'](_0x654584)?_0x116032[_0x3c5f83(0x265)](_0x29dedf=>_0x29dedf!==_0x654584):[..._0x116032,_0x654584]:[_0x654584];_0x533707['syncExecuteCommand'](_0x279593[_0x3c5f83(0x3ca)]['id'],_0x1c5699[_0x3c5f83(0x3da)](_0x57992d=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x57992d})));let _0x10d545=_0x1c5699[_0x1c5699[_0x3c5f83(0x175)]-0x1];_0x10d545?(0x0,_0x2a9d6c['activateDrawingObject'])(_0x1a1a3d,{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x10d545}):(0x0,_0x2a9d6c[_0x3c5f83(0x1d7)])(_0x1a1a3d,_0xad237e);},_0x1adaf0=async(_0x2901cc,_0x40ec7a)=>{const _0x29d4c6=_0x6f2756;await _0x1bb734(_0x2901cc[_0x29d4c6(0x3da)](_0x112cc4=>_0x422a57(_0x112cc4))['filter'](_0x2746e5=>!!_0x2746e5)[_0x29d4c6(0x265)](_0x4d7148=>_0x4d7148[_0x29d4c6(0x185)]!==!0x0!==_0x40ec7a)['map'](_0x3a6f21=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3a6f21[_0x29d4c6(0x493)],'hidden':!_0x40ec7a})));},_0x4a7bcf=async(_0x1f7f1d,_0x472abb)=>{const _0x1fa6f6=_0x6f2756;await _0x1bb734(_0x1f7f1d[_0x1fa6f6(0x3da)](_0x4e3dbf=>_0x422a57(_0x4e3dbf))['filter'](_0x2ef4e9=>!!_0x2ef4e9)[_0x1fa6f6(0x265)](_0x51d0be=>_0x51d0be[_0x1fa6f6(0x1dc)]!==!0x1!==_0x472abb)['map'](_0x3e861f=>({'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingId':_0x3e861f[_0x1fa6f6(0x493)],'selectable':_0x472abb})));},_0x25e10b=_0x25cea8=>{const _0x29c18f=_0x6f2756;let _0x44f442=_0x422a57(_0x25cea8);if(_0x44f442)return _0x4a7bcf([_0x25cea8],_0x44f442[_0x29c18f(0x1dc)]===!0x1);},_0x438c4f=async(_0x598fef,_0x45c637)=>{const _0x2629af=_0x6f2756;var _0x59a168;let _0x40b375=_0x498afa(_0x45c637);(((_0x59a168=_0x422a57(_0x598fef))==null?void 0x0:_0x59a168[_0x2629af(0x279)])??void 0x0)!==_0x40b375&&await _0x220d2b(_0x598fef,{'name':_0x40b375});},_0x10c46a=async(_0x15488b,_0x3e655c)=>{const _0x413f3d=_0x6f2756;var _0x11804c;let _0xad6ec2=_0x498afa(_0x3e655c);(((_0x11804c=_0x422a57(_0x15488b))==null?void 0x0:_0x11804c[_0x413f3d(0x1ff)])??void 0x0)!==_0xad6ec2&&await _0x220d2b(_0x15488b,{'description':_0xad6ec2});},_0x4d98cf=async(_0x533ade,_0x1c27d5)=>{const _0x57c857=_0x6f2756;_0xad237e&&_0x39b69c&&await _0x533707[_0x57c857(0x1f9)](_0x72b203[_0x57c857(0x2ca)]['id'],{'unitId':_0xad237e,'subUnitId':_0x39b69c,'drawingIds':[_0x533ade],'arrangeType':_0x1c27d5});};return!_0xad237e||!_0x39b69c?(0x0,_0x4170e1[_0x6f2756(0x157)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x3292b8[_0x6f2756(0x24a)]}):(0x0,_0x4170e1[_0x6f2756(0x157)])(_0x3b1d85,{'labels':_0x3292b8,'items':_0x2a1426,'selectedIds':_0x116032,'focusedId':_0x32cf00,'showHeader':!0x1,'onSelect':_0x15edf0,'onSetVisible':_0x1adaf0,'onSetSelectable':_0x4a7bcf,'onCommitName':_0x438c4f,'onCommitDescription':_0x10c46a,'onMoveForward':async _0x2347ec=>_0x4d98cf(_0x2347ec,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x369)]),'onMoveBackward':async _0x1f49af=>_0x4d98cf(_0x1f49af,_0x383631[_0x6f2756(0x412)][_0x6f2756(0x3f5)]),'onToggleSelectable':_0x25e10b});}function _0x34d4b9(){const _0x39d66a=_0x5671d9;return(0x0,_0x4170e1[_0x39d66a(0x157)])(_0x55f3d8,{'PanelComponent':_0x129810[_0x39d66a(0x326)]});}let _0x15ba05=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0xa55205,_0x5c83d7){const _0x2ad3f4=_0x5671d9;super(),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x2f15dd,_0x34d4b9)),this[_0x2ad3f4(0x252)](_0x5c83d7['register']({'BottomIcon':_0x3ff1ac,'FlipHorizontalIcon':_0x534026,'FlipVerticalIcon':_0x5e4242,'MoveDownIcon':_0x119d55,'MoveUpIcon':_0x33a333,'ObjectLayersIcon':_0x4c5ad8,'ShapeFormatSettingIcon':_0xc8fb54,'TopmostIcon':_0x5c98e7})),this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x3d6541,_0x36190b)),this[_0x2ad3f4(0x252)](_0xa55205['register'](_0x5812e5,_0x5b85a9)),_0xa55205['get'](_0x129810[_0x2ad3f4(0x387)])||this[_0x2ad3f4(0x252)](_0xa55205[_0x2ad3f4(0x4c3)](_0x129810[_0x2ad3f4(0x387)],_0x18ae1b));}};_0x15ba05=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6['ComponentManager'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x421)]))],_0x15ba05);let _0xc020ee=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x215f0a){const _0x22678f=_0x5671d9;super(),this[_0x22678f(0x205)]=_0x215f0a,_0x20dccc(this,'_editingParams$',new _0x4250df[(_0x22678f(0x330))](null)),_0x20dccc(this,_0x22678f(0x3d8),this[_0x22678f(0x3c5)][_0x22678f(0x47d)]()),_0x20dccc(this,_0x22678f(0x2e0),new _0x4250df['BehaviorSubject'](!0x1)),_0x20dccc(this,_0x22678f(0x2f3),this['_onSavingEditorData$'][_0x22678f(0x47d)]()),_0x20dccc(this,'_completionFrame',void 0x0),this['disposeWithMe'](this[_0x22678f(0x205)]['permissionPointUpdate$']['subscribe'](()=>{const _0x12644e=_0x22678f;let _0x1916c6=this[_0x12644e(0x16d)]();_0x1916c6!=null&&_0x1916c6['visible']&&!this[_0x12644e(0x2e7)](_0x1916c6)&&this[_0x12644e(0x2b2)](null);}));}[_0x5671d9(0x39f)](){const _0x23306a=_0x5671d9;this[_0x23306a(0x3f2)](),this[_0x23306a(0x3c5)][_0x23306a(0x289)](null),this['_editingParams$']['complete'](),this[_0x23306a(0x2e0)][_0x23306a(0x289)](!0x1),this[_0x23306a(0x2e0)]['complete'](),super[_0x23306a(0x39f)]();}[_0x5671d9(0x2b2)](_0x203504){const _0x5d8329=_0x5671d9;(_0x203504==null||!_0x203504[_0x5d8329(0x167)]||this[_0x5d8329(0x2e7)](_0x203504))&&(this[_0x5d8329(0x3f2)](),this[_0x5d8329(0x3c5)][_0x5d8329(0x289)](_0x203504),(_0x203504==null||_0x203504[_0x5d8329(0x167)]&&this[_0x5d8329(0x2e0)][_0x5d8329(0x1ea)]())&&this[_0x5d8329(0x2e0)][_0x5d8329(0x289)](!0x1));}[_0x5671d9(0x1e9)](_0x444269){const _0x3e0653=_0x5671d9;this[_0x3e0653(0x2e0)][_0x3e0653(0x289)](_0x444269);}['getEditing'](){const _0x62d76b=_0x5671d9;return this[_0x62d76b(0x3c5)]['getValue']();}['_canEdit'](_0x1f2fc1){const _0x336a8a=_0x5671d9;let _0x27abe1=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x121))](_0x1f2fc1[_0x336a8a(0x173)])['id']),_0x2fa921=this[_0x336a8a(0x205)][_0x336a8a(0x20b)](new _0x111c96[(_0x336a8a(0x293))](_0x1f2fc1[_0x336a8a(0x173)],_0x1f2fc1[_0x336a8a(0x135)])['id']);return((_0x27abe1==null?void 0x0:_0x27abe1[_0x336a8a(0x320)])??!0x0)&&((_0x2fa921==null?void 0x0:_0x2fa921[_0x336a8a(0x320)])??!0x0);}[_0x5671d9(0x490)](_0x72abc7){const _0x59d55a=_0x5671d9;let _0x4d90ce=this[_0x59d55a(0x16d)]();_0x4d90ce&&this['_completionFrame']===void 0x0&&(this[_0x59d55a(0x1e9)](!0x0),this[_0x59d55a(0x22e)]=requestAnimationFrame(()=>{const _0x48c529=_0x59d55a;this[_0x48c529(0x22e)]=void 0x0,this[_0x48c529(0x16d)]()===_0x4d90ce&&this['setEditing'](null);}));}[_0x5671d9(0x3f2)](){this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x5671d9(0x2a5)](){const _0x4a6234=_0x5671d9;this['getEditing']()&&this[_0x4a6234(0x2b2)](null);}};_0xc020ee=_0x25a2aa([_0x4177c4(0x0,_0x383631['IPermissionService'])],_0xc020ee);let _0x1b14da=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x367b74,_0xc43592,_0x39f4b7,_0x1d0a02,_0x4d3f43,_0x11e025){const _0x5d4a43=_0x5671d9;super(),this[_0x5d4a43(0x4a5)]=_0x367b74,this[_0x5d4a43(0x1ef)]=_0xc43592,this[_0x5d4a43(0x375)]=_0x39f4b7,this[_0x5d4a43(0x306)]=_0x1d0a02,this['_contextService']=_0x4d3f43,this['_sheetsShapeService']=_0x11e025,_0x20dccc(this,_0x5d4a43(0x208),null),this['_initEvents'](),this['_initSelection'](),this[_0x5d4a43(0x301)]();}[_0x5671d9(0x197)](){const _0x522f32=_0x5671d9;let {scene:_0x48dca9}=this[_0x522f32(0x4a5)];this[_0x522f32(0x252)](_0x48dca9[_0x522f32(0x152)][_0x522f32(0x17a)](_0x2e13ff=>{const _0x4024f4=_0x522f32;let {offsetX:_0x491e58,offsetY:_0x338708}=_0x2e13ff,_0x4c87c9=_0x48dca9[_0x4024f4(0x3ed)](_0x1c3608[_0x4024f4(0x266)][_0x4024f4(0x235)]([_0x491e58,_0x338708]));if(_0x4c87c9 instanceof _0x23237e){let _0x221ff0=this[_0x4024f4(0xd0)][_0x4024f4(0x3a8)](_0x4c87c9[_0x4024f4(0x173)],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]);if((0x0,_0x287478[_0x4024f4(0x4d2)])(this[_0x4024f4(0xd0)][_0x4024f4(0x347)](_0x4c87c9['unitId'],_0x4c87c9[_0x4024f4(0x135)],_0x4c87c9[_0x4024f4(0x37d)]))||_0x221ff0!=null&&_0x221ff0[_0x4024f4(0xe8)]()[_0x4024f4(0x339)])return;this[_0x4024f4(0x375)][_0x4024f4(0x2b2)]({'visible':!0x0,'unitId':_0x4c87c9[_0x4024f4(0x173)],'subUnitId':_0x4c87c9[_0x4024f4(0x135)],'shapeId':_0x4c87c9[_0x4024f4(0x37d)],'shapeKey':_0x4c87c9['oKey']});}}));}[_0x5671d9(0xd3)](){const _0x29df16=_0x5671d9;this[_0x29df16(0x252)](this[_0x29df16(0x306)][_0x29df16(0x262)][_0x29df16(0x317)](_0x4860c2=>{const _0x22d69b=_0x29df16;if(_0x4860c2[_0x22d69b(0x175)]===0x1){let _0xbbb45d=_0x4860c2[0x0],_0x57b7b4=this[_0x22d69b(0x306)][_0x22d69b(0x14d)](_0xbbb45d);if((_0x57b7b4==null?void 0x0:_0x57b7b4[_0x22d69b(0x3d6)])===_0x383631[_0x22d69b(0x286)][_0x22d69b(0x456)]){var _0x1c626d;let _0x456cc5=this[_0x22d69b(0x375)]['getEditing']();if((_0x456cc5==null?void 0x0:_0x456cc5[_0x22d69b(0x37d)])===_0xbbb45d[_0x22d69b(0x493)]&&_0x456cc5['visible'])return;let _0x1fcd45=(0x0,_0x287478[_0x22d69b(0x4d2)])(this[_0x22d69b(0xd0)]['getShapeType'](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)])),_0x53da56=!!((_0x1c626d=this[_0x22d69b(0xd0)][_0x22d69b(0x3a8)](_0xbbb45d['unitId'],_0xbbb45d[_0x22d69b(0x135)],_0xbbb45d[_0x22d69b(0x493)]))!=null&&_0x1c626d[_0x22d69b(0xe8)]()['formulaBinding']);(_0x1fcd45||_0x53da56)&&this[_0x22d69b(0x375)][_0x22d69b(0x2b2)](null);}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();}else this[_0x22d69b(0x375)][_0x22d69b(0x490)]();})),this[_0x29df16(0x252)](this[_0x29df16(0x306)]['remove$'][_0x29df16(0x317)](_0xb5ef95=>{const _0x14efee=_0x29df16;let _0x49e239=this[_0x14efee(0x375)][_0x14efee(0x16d)]();_0x49e239&&_0xb5ef95[_0x14efee(0x156)](_0x438fd2=>_0x438fd2['drawingId']===_0x49e239[_0x14efee(0x37d)])&&this['_shapeTextEditingService'][_0x14efee(0x2b2)](null);}));}[_0x5671d9(0x301)](){const _0x2999ec=_0x5671d9;this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x2999ec(0x317)](_0x46f2f4=>{const _0xb4eb4d=_0x2999ec;let {scene:_0x5e5920}=this[_0xb4eb4d(0x4a5)];if(this[_0xb4eb4d(0x208)]){let _0x2fe555=_0x5e5920['getObjectIncludeInGroup'](this[_0xb4eb4d(0x208)]);_0x2fe555&&_0x2fe555[_0xb4eb4d(0x2b2)](!0x1);}if(_0x46f2f4){let _0x4162fa=!!_0x46f2f4[_0xb4eb4d(0x167)],_0x2089db=_0x5e5920[_0xb4eb4d(0x327)](_0x46f2f4[_0xb4eb4d(0x21e)]);_0x2089db&&(_0x2089db['setEditing'](_0x4162fa),this['_lastEditingShapeKey']=_0x46f2f4[_0xb4eb4d(0x21e)]),this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],_0x4162fa);}else this['_lastEditingShapeKey']=null,this[_0xb4eb4d(0x432)][_0xb4eb4d(0x494)](_0x383631[_0xb4eb4d(0x3e0)],!0x1);}));}};_0x1b14da=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['Injector'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)]))],_0x1b14da);var _0x2c3642=class extends _0x1b14da{[_0x5671d9(0x197)](){const _0x1e7ba5=_0x5671d9;let {scene:_0x2987ed}=this[_0x1e7ba5(0x4a5)],_0x698fda=this[_0x1e7ba5(0x1ef)][_0x1e7ba5(0x4be)](_0x2a9d6c[_0x1e7ba5(0x433)]);this[_0x1e7ba5(0x252)](_0x2987ed[_0x1e7ba5(0x152)][_0x1e7ba5(0x17a)](_0x51ad60=>{const _0x336657=_0x1e7ba5;let {offsetX:_0x507091,offsetY:_0x141026}=_0x51ad60,_0x49e8a1=_0x2987ed['pick'](_0x1c3608['Vector2'][_0x336657(0x235)]([_0x507091,_0x141026]));if(!(_0x49e8a1 instanceof _0x23237e))return;let _0x48daaf=this['_sheetsShapeService']['getShapeModel'](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]);(0x0,_0x287478[_0x336657(0x4d2)])(this['_sheetsShapeService'][_0x336657(0x347)](_0x49e8a1['unitId'],_0x49e8a1['subUnitId'],_0x49e8a1[_0x336657(0x37d)]))||_0x48daaf!=null&&_0x48daaf[_0x336657(0xe8)]()[_0x336657(0x339)]||_0x698fda[_0x336657(0x24c)](_0x336657(0xe7),{'hostType':_0x383631[_0x336657(0x363)][_0x336657(0x3e4)],'unitId':_0x49e8a1[_0x336657(0x173)],'subUnitId':_0x49e8a1['subUnitId'],'shapeId':_0x49e8a1['shapeId']});}));}};let _0x46be84={..._0x230bea},_0x403f30=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x9f4f81,_0x3c93ed,_0x41f38d,_0x2756af,_0x57d008,_0x275783,_0x253846,_0x3fd25c){const _0x1530a3=_0x5671d9;super(),this[_0x1530a3(0x220)]=_0x9f4f81,this[_0x1530a3(0xd0)]=_0x3c93ed,this[_0x1530a3(0x39a)]=_0x41f38d,this['_drawingManagerService']=_0x2756af,this[_0x1530a3(0x26a)]=_0x57d008,this['_contextService']=_0x275783,this['_renderManagerService']=_0x253846,this[_0x1530a3(0x375)]=_0x3fd25c,_0x20dccc(this,_0x1530a3(0x2a8),null),this[_0x1530a3(0x220)][_0x1530a3(0x461)](_0x46be84),this[_0x1530a3(0x21c)](),this[_0x1530a3(0x252)](this[_0x1530a3(0x375)][_0x1530a3(0x3d8)][_0x1530a3(0x317)](_0x617b0d=>{const _0x29eb10=_0x1530a3;_0x617b0d&&this[_0x29eb10(0x451)]();}));}[_0x5671d9(0x380)](){const _0x2020ea=_0x5671d9;this[_0x2020ea(0x2a8)]||=this[_0x2020ea(0x252)]((0x0,_0x2a9d6c[_0x2020ea(0x297)])(this[_0x2020ea(0x42d)],_0x383631[_0x2020ea(0x363)][_0x2020ea(0x3e4)],_0x515d09=>this['_popupMenuListener'](_0x515d09)));}['_registerFeatureMenu'](){const _0x3a8367=_0x5671d9;this[_0x3a8367(0x26a)][_0x3a8367(0x126)](_0x383631['DrawingTypeEnum'][_0x3a8367(0x456)],(_0x3ace6f,_0x4c5c3,_0x5c653c,_0x340be0)=>{const _0x29eac7=_0x3a8367;let _0x21fadd=this[_0x29eac7(0xd0)][_0x29eac7(0x4d1)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0xfad0e=this[_0x29eac7(0xd0)][_0x29eac7(0x21f)](_0x3ace6f,_0x4c5c3,_0x5c653c),_0x42b93d=_0x21fadd!==void 0x0&&!(0x0,_0x287478['isConnectorShape'])(_0x21fadd)&&!(_0xfad0e!=null&&_0xfad0e[_0x29eac7(0x339)]);return[{'label':_0x29eac7(0x13b),'index':0x0,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':'style'},'disable':!0x1},..._0x42b93d?[{'label':_0x29eac7(0x2f7),'index':0x1,'commandId':_0x176123['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'mode':_0x29eac7(0xe7)},'disable':!0x1}]:[],{'label':_0x29eac7(0x25a),'index':0x2,'commandId':_0x72b203[_0x29eac7(0x4a8)]['id'],'commandParams':{'unitId':_0x3ace6f,'drawings':[{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'drawingId':_0x5c653c,'drawingType':_0x340be0}]},'disable':!0x1},{'label':_0x29eac7(0x15a),'index':0x3,'commandId':_0x276c17[_0x29eac7(0x3b0)]['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipH':!0x0},'disable':!0x1},{'label':_0x29eac7(0x344),'index':0x4,'commandId':_0x276c17['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x3ace6f,'subUnitId':_0x4c5c3,'shapeId':_0x5c653c,'flipV':!0x0},'disable':!0x1}];},_0x3a8367(0x2bf));}[_0x5671d9(0xf3)](_0x26aa7f){const _0x1e08d6=_0x5671d9;let _0x2f96b0=new _0x383631[(_0x1e08d6(0x299))](),_0x154ffe=null,_0x230338=()=>{const _0x2553c1=_0x1e08d6;if(!_0x154ffe)return;let _0x3ee473=this[_0x2553c1(0x306)]['getFocusDrawings'](),_0x23dbb3=_0x3ee473[_0x2553c1(0x175)]===0x0||_0x3ee473[_0x2553c1(0x175)]===0x1&&_0x3ee473[_0x2553c1(0x156)](_0x4d60fb=>_0x4d60fb['unitId']===(_0x154ffe==null?void 0x0:_0x154ffe['unitId'])&&_0x4d60fb[_0x2553c1(0x135)]===(_0x154ffe==null?void 0x0:_0x154ffe['subUnitId'])&&_0x4d60fb[_0x2553c1(0x493)]===(_0x154ffe==null?void 0x0:_0x154ffe[_0x2553c1(0x493)]));_0x154ffe=null,_0x23dbb3&&(this[_0x2553c1(0x432)][_0x2553c1(0x494)](_0x383631[_0x2553c1(0xdf)],!0x1),this[_0x2553c1(0x306)]['focusDrawing'](null));};return _0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x390)][_0x1e08d6(0x317)](()=>{const _0x4ebe50=_0x1e08d6;let _0x4b558a=_0x26aa7f['getSelectedObjectMap']();if(_0x4b558a[_0x4ebe50(0x23c)]>0x1){_0x230338();return;}let _0x15d684=_0x4b558a[_0x4ebe50(0x206)]()[_0x4ebe50(0x289)]()[_0x4ebe50(0x320)];if(!_0x15d684){_0x230338();return;}let _0x8a2fd=this['_drawingManagerService'][_0x4ebe50(0x1ae)](_0x15d684[_0x4ebe50(0x1ed)]);if(!_0x8a2fd||_0x8a2fd[_0x4ebe50(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x4ebe50(0x456)]){_0x230338();return;}let {unitId:_0x379a9f,subUnitId:_0x2bba3d,drawingId:_0x309593}=_0x8a2fd;_0x154ffe={'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593},this['_contextService'][_0x4ebe50(0x494)](_0x383631[_0x4ebe50(0xdf)],!0x0),this[_0x4ebe50(0x306)][_0x4ebe50(0x486)]()[_0x4ebe50(0x3de)](_0x14eebe=>_0x14eebe[_0x4ebe50(0x173)]===_0x379a9f&&_0x14eebe[_0x4ebe50(0x135)]===_0x2bba3d&&_0x14eebe[_0x4ebe50(0x493)]===_0x309593)||this[_0x4ebe50(0x306)][_0x4ebe50(0x29c)]([{'unitId':_0x379a9f,'subUnitId':_0x2bba3d,'drawingId':_0x309593}]);})),_0x2f96b0[_0x1e08d6(0x338)](_0x26aa7f[_0x1e08d6(0x3ce)][_0x1e08d6(0x317)](()=>{_0x230338();})),(0x0,_0x383631[_0x1e08d6(0x292)])(()=>{_0x2f96b0['dispose'](),_0x230338();});}[_0x5671d9(0x451)](){const _0x2dd39a=_0x5671d9;this['_contextService'][_0x2dd39a(0x494)](_0x383631[_0x2dd39a(0xdf)],!0x1),this[_0x2dd39a(0x306)][_0x2dd39a(0x29c)](null);}};_0x403f30=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x4,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x6,_0x1c3608['IRenderManagerService']),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x403f30);function _0x555d39(_0x343393,_0x173745,_0x4851e5,_0x4ff667){const _0x58af96=_0x5671d9;let _0x3ccf38=(0x0,_0x279593[_0x58af96(0x466)])(_0x343393,_0x173745,_0x4851e5),_0x1589a9=[];for(let _0x29ec74 of _0x173745){let _0x43d2e9=_0x3ccf38[_0x58af96(0x15f)][_0x58af96(0x4be)](_0x29ec74['drawingId']),_0x50d66b=_0x4ff667(_0x29ec74);_0x43d2e9&&_0x50d66b&&_0x1589a9[_0x58af96(0x27e)]({'targetShapeId':_0x43d2e9,'source':_0x50d66b});}return _0x1589a9;}let _0x5e5ab0=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x53f2ed,_0x30da6c,_0x5d492e,_0x16757e){const _0x58633e=_0x5671d9;super(),this['_univerInstanceService']=_0x53f2ed,this[_0x58633e(0x46b)]=_0x30da6c,this[_0x58633e(0x239)]=_0x5d492e,this[_0x58633e(0xd0)]=_0x16757e,this[_0x58633e(0x3f7)]();}[_0x5671d9(0x3f7)](){const _0xa79ebd=_0x5671d9;this[_0xa79ebd(0x252)](this[_0xa79ebd(0x46b)][_0xa79ebd(0x20f)]({'getMutations':_0x5c3e2c=>{const _0x4d0796=_0xa79ebd;if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xfa)]['id']){let _0x262184=(0x0,_0x111c96['getSheetCommandTarget'])(this[_0x4d0796(0x434)],_0x5c3e2c[_0x4d0796(0x4a7)]);if(!_0x262184)return{'redos':[],'undos':[]};let {unitId:_0x1c1919,subUnitId:_0x2d600e}=_0x262184,_0x23536c=this[_0x4d0796(0x239)][_0x4d0796(0x24f)](_0x1c1919,_0x2d600e),_0x45a868=Object['values'](_0x23536c)[_0x4d0796(0x265)](_0x5ee5d4=>_0x5ee5d4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x45a868[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x40db63=[],_0x4d172f=[];for(let _0x2ddf46=0x0;_0x2ddf46<_0x45a868[_0x4d0796(0x175)];_0x2ddf46++){let _0x578dfd=_0x45a868[_0x2ddf46],_0x2d548c=this[_0x4d0796(0xd0)][_0x4d0796(0x3a8)](_0x578dfd[_0x4d0796(0x173)],_0x578dfd[_0x4d0796(0x135)],_0x578dfd[_0x4d0796(0x493)]);_0x2d548c&&(_0x40db63[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)]}}),_0x4d172f['push']({'id':_0x276c17[_0x4d0796(0x215)]['id'],'params':{'unitId':_0x1c1919,'subUnitId':_0x2d600e,'shapeId':_0x578dfd[_0x4d0796(0x493)],'shapeType':_0x2d548c[_0x4d0796(0x347)](),'shapeData':JSON[_0x4d0796(0x342)](JSON[_0x4d0796(0x452)](_0x2d548c[_0x4d0796(0xe8)]()))}}));}return{'redos':_0x40db63,'undos':_0x4d172f};}if(_0x5c3e2c['id']===_0x111c96[_0x4d0796(0xee)]['id']){let {unitId:_0x10a925,subUnitId:_0x9b7108,targetSubUnitId:_0x180814,copyContext:_0x310892}=_0x5c3e2c[_0x4d0796(0x4a7)];if(!_0x10a925||!_0x9b7108||!_0x180814)return{'redos':[],'undos':[]};let _0x23ecb4=this['_sheetDrawingService'][_0x4d0796(0x24f)](_0x10a925,_0x9b7108),_0x49b61c=Object['values'](_0x23ecb4)[_0x4d0796(0x265)](_0x442db4=>_0x442db4[_0x4d0796(0x3d6)]===_0x383631[_0x4d0796(0x286)]['DRAWING_SHAPE']);if(_0x49b61c[_0x4d0796(0x175)]===0x0)return{'redos':[],'undos':[]};let _0x57ff91=_0x555d39(_0x310892,_0x49b61c,{'unitId':_0x10a925,'sourceSubUnitId':_0x9b7108,'targetSubUnitId':_0x180814},_0x4dbd33=>{const _0x4d1c33=_0x4d0796;let _0x4106b2=this[_0x4d1c33(0xd0)][_0x4d1c33(0x3a8)](_0x4dbd33[_0x4d1c33(0x173)],_0x4dbd33[_0x4d1c33(0x135)],_0x4dbd33[_0x4d1c33(0x493)]);if(_0x4106b2)return{'shapeType':_0x4106b2[_0x4d1c33(0x347)](),'shapeData':JSON['parse'](JSON['stringify'](_0x4106b2[_0x4d1c33(0xe8)]()))};}),_0x1f093c=[],_0x4aadc6=[];for(let {targetShapeId:_0x495922,source:_0x5a021a}of _0x57ff91)_0x1f093c[_0x4d0796(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922,'shapeType':_0x5a021a['shapeType'],'shapeData':_0x5a021a['shapeData']}}),_0x4aadc6[_0x4d0796(0x27e)]({'id':_0x276c17[_0x4d0796(0x394)]['id'],'params':{'unitId':_0x10a925,'subUnitId':_0x180814,'shapeId':_0x495922}});return{'redos':_0x1f093c,'undos':_0x4aadc6};}return{'redos':[],'undos':[]};}}));}};_0x5e5ab0=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631['IUniverInstanceService'])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x226)])),_0x4177c4(0x2,(0x0,_0x383631['Inject'])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x5e5ab0);let _0x3fcbb7=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4fd913,_0x3003c8,_0x1f273f,_0x48bed5,_0x12bfbc,_0x212b47){const _0x215e91=_0x5671d9;super(),this[_0x215e91(0x39a)]=_0x4fd913,this[_0x215e91(0x42d)]=_0x3003c8,this[_0x215e91(0x306)]=_0x1f273f,this[_0x215e91(0x253)]=_0x48bed5,this[_0x215e91(0x183)]=_0x12bfbc,this[_0x215e91(0x488)]=_0x212b47,_0x20dccc(this,'_insertingShapeKeys',new Set()),this[_0x215e91(0x3b9)]();}['_initialize'](){const _0x231a43=_0x5671d9;this['_drawingAddListener'](),this['_commandExecutedListener'](),this[_0x231a43(0x491)]();}[_0x5671d9(0x3c1)](){const _0x31e878=_0x5671d9;this[_0x31e878(0x252)](this[_0x31e878(0x306)][_0x31e878(0x4c0)][_0x31e878(0x317)](_0x1745fe=>{const _0x2000e9=_0x31e878;this[_0x2000e9(0x409)](_0x1745fe);}));}[_0x5671d9(0xc6)](){const _0x41a250=_0x5671d9;this[_0x41a250(0x252)](this[_0x41a250(0x39a)][_0x41a250(0x15d)]((_0x53d302,_0xad9d59)=>{const _0x3901b7=_0x41a250;if(_0x53d302['id']===_0x276c17[_0x3901b7(0x250)]['id']){let {unitId:_0x2e54da,subUnitId:_0x1e71da,shapeId:_0x31cbba}=_0x53d302[_0x3901b7(0x4a7)],_0xbeb77e=this[_0x3901b7(0x472)](_0x2e54da),_0x5194b1=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x2e54da,'subUnitId':_0x1e71da,'drawingId':_0x31cbba}),_0x495955=_0xbeb77e==null?void 0x0:_0xbeb77e[_0x3901b7(0x333)][_0x3901b7(0x327)](_0x5194b1);_0x495955&&(this[_0x3901b7(0x488)][_0x3901b7(0x4b8)](_0x495955),this['_sheetDrawingShapeRenderController'][_0x3901b7(0x273)](_0x495955,{'unitId':_0x2e54da,'subUnitId':_0x1e71da,'shapeId':_0x31cbba}),_0x495955[_0x3901b7(0x33a)](!0x0));return;}if(_0x53d302['id']===_0x276c17[_0x3901b7(0x215)]['id']){var _0x58977f;let {unitId:_0x3f42ff,subUnitId:_0x2d059d,shapeId:_0x21534b}=_0x53d302['params'],_0x299741=this['_getSceneAndTransformerByDrawingSearch'](_0x3f42ff);if(_0x299741==null)return;let {scene:_0x1414ca}=_0x299741,_0x1803c2=(0x0,_0x279593[_0x3901b7(0x201)])({'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}),_0x10422d=_0x1414ca[_0x3901b7(0x327)](_0x1803c2);if(!((_0x58977f=this[_0x3901b7(0x42d)][_0x3901b7(0x1fa)](_0x3f42ff))!=null&&_0x58977f[_0x3901b7(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x3901b7(0x1e8)](_0x2d059d)))return!0x1;if(_0x10422d)return;if(_0xad9d59!=null&&_0xad9d59[_0x3901b7(0x3a9)]){queueMicrotask(()=>{const _0x53700c=_0x3901b7;this[_0x53700c(0x118)]||this[_0x53700c(0x409)]([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);});return;}this['_insertShapes']([{'unitId':_0x3f42ff,'subUnitId':_0x2d059d,'drawingId':_0x21534b}]);}}));}[_0x5671d9(0x491)](){const _0x1925fd=_0x5671d9;this[_0x1925fd(0x252)](this[_0x1925fd(0x306)][_0x1925fd(0x294)][_0x1925fd(0x317)](_0x2ea1f5=>{_0x2ea1f5['forEach'](_0xd1ffcc=>{const _0x3d9b86=_0x43eb;let {unitId:_0x1535f7,subUnitId:_0x4479aa,drawingId:_0x332df6}=_0xd1ffcc,_0x1660e0=this[_0x3d9b86(0x306)]['getDrawingByParam'](_0xd1ffcc);if(_0x1660e0==null)return;let {transform:_0xa376bc,drawingType:_0x40fe5a,srcRect:_0x14dcdb,prstGeom:_0x140a63}=_0x1660e0;if(_0x40fe5a!==_0x383631[_0x3d9b86(0x286)][_0x3d9b86(0x456)])return;let _0x5c1979=this['_getSceneAndTransformerByDrawingSearch'](_0x1535f7);if(_0x5c1979==null)return;let {scene:_0x35071b,transformer:_0x406265}=_0x5c1979;if(_0xa376bc==null)return!0x0;let _0x18200a=(0x0,_0x279593[_0x3d9b86(0x201)])({'unitId':_0x1535f7,'subUnitId':_0x4479aa,'drawingId':_0x332df6}),_0x44cd99=_0x35071b[_0x3d9b86(0x327)](_0x18200a);if(_0x44cd99==null)return!0x0;_0x44cd99[_0x3d9b86(0x19a)](_0x14dcdb),_0x44cd99[_0x3d9b86(0x408)](_0x140a63);});}));}['_insertShapes'](_0x46932f){const _0x34dd0e=_0x5671d9;for(let _0x49d450 of _0x46932f){var _0x315f07;let {unitId:_0x51ddbc,subUnitId:_0x44d47e,drawingId:_0x2a589e}=_0x49d450,_0x363719=this[_0x34dd0e(0x472)](_0x51ddbc),_0x5d9169=(_0x315f07=(0x0,_0x129810[_0x34dd0e(0x322)])(this[_0x34dd0e(0x253)],_0x51ddbc))==null?void 0x0:_0x315f07[_0x34dd0e(0x135)];if(_0x363719==null||_0x5d9169!==_0x44d47e)return;let _0xf27d=(0x0,_0x279593[_0x34dd0e(0x201)])({'unitId':_0x51ddbc,'subUnitId':_0x44d47e,'drawingId':_0x2a589e});if(this[_0x34dd0e(0x3ab)][_0x34dd0e(0xf0)](_0xf27d)||_0x363719['scene'][_0x34dd0e(0x327)](_0xf27d)!=null)return;let _0x502cc2=this['_drawingManagerService'][_0x34dd0e(0x14d)](_0x49d450);if(_0x502cc2==null||_0x502cc2[_0x34dd0e(0x3d6)]!==_0x383631['DrawingTypeEnum'][_0x34dd0e(0x456)])return;let _0x2be493=_0x502cc2['data']||{};if((0x0,_0x287478['isConnectorShape'])(_0x2be493[_0x34dd0e(0x138)])){let _0x3ecf73=_0x502cc2[_0x34dd0e(0x2c6)];_0x3ecf73&&(_0x502cc2['transform']={..._0x3ecf73,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x34dd0e(0x3ab)][_0x34dd0e(0x338)](_0xf27d);try{this[_0x34dd0e(0x488)][_0x34dd0e(0x3a0)](_0x502cc2,_0x363719[_0x34dd0e(0x333)]);}finally{this['_insertingShapeKeys'][_0x34dd0e(0x3b8)](_0xf27d);}queueMicrotask(()=>{const _0xb8403b=_0x34dd0e;if(this[_0xb8403b(0x118)])return;let _0x4f75e0=(0x0,_0x279593[_0xb8403b(0x201)])(_0x49d450);if(!_0x363719[_0xb8403b(0x333)][_0xb8403b(0x327)](_0x4f75e0))return;let _0x12e9ff=this[_0xb8403b(0x306)][_0xb8403b(0x14d)](_0x49d450);_0x12e9ff&&this[_0xb8403b(0x306)][_0xb8403b(0x49d)]([_0x12e9ff]);});}}[_0x5671d9(0x472)](_0x415f7e){const _0x41d3b5=_0x5671d9;if(_0x415f7e==null)return;let _0xa6d653=this[_0x41d3b5(0x42d)][_0x41d3b5(0x1fa)](_0x415f7e),_0x15657e=_0xa6d653==null?void 0x0:_0xa6d653[_0x41d3b5(0x333)];return _0x15657e==null?null:{'scene':_0x15657e,'transformer':_0x15657e[_0x41d3b5(0x178)]()};}};_0x3fcbb7=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x1,_0x1c3608['IRenderManagerService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x129810['DrawingRenderService'])),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x57eebe))],_0x3fcbb7);let _0x1af7f3={'normal':{'fill':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2d7)],'stroke':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x389)],'strokeWidth':_0x287478[_0x5671d9(0x10a)][_0x5671d9(0x2c9)]},'highlighted':{'fill':_0x5671d9(0x27d),'stroke':_0x5671d9(0x34d),'strokeWidth':0x2}};var _0x177d9e=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x1d2cf4,_0x5477f9){const _0x4a633d=_0x5671d9;super(_0x1d2cf4,_0x5477f9),_0x20dccc(this,_0x4a633d(0x45e),''),_0x20dccc(this,'_cxnIndex',-0x1),_0x20dccc(this,'_unitId',''),_0x20dccc(this,'_subUnitId',''),_0x20dccc(this,_0x4a633d(0x145),!0x1),_0x5477f9&&this['setShapeProps'](_0x5477f9);}[_0x5671d9(0x22b)](){const _0x26af06=_0x5671d9;return{'unitId':this[_0x26af06(0x48e)],'subUnitId':this[_0x26af06(0x1f0)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x26af06(0x222)]};}[_0x5671d9(0x401)](_0x29032b){const _0x3ccb0c=_0x5671d9;this[_0x3ccb0c(0x145)]!==_0x29032b&&(this['_isHighlighted']=_0x29032b,this[_0x3ccb0c(0x33a)](!0x0));}[_0x5671d9(0x225)](){const _0x277d08=_0x5671d9;return this[_0x277d08(0x145)];}[_0x5671d9(0x172)](_0x13ad1a){const _0x648a86=_0x5671d9;_0x13ad1a[_0x648a86(0xca)]!==void 0x0&&(this['_targetShapeId']=_0x13ad1a[_0x648a86(0xca)]),_0x13ad1a[_0x648a86(0xcb)]!==void 0x0&&(this[_0x648a86(0x222)]=_0x13ad1a[_0x648a86(0xcb)]),_0x13ad1a[_0x648a86(0x173)]!==void 0x0&&(this[_0x648a86(0x48e)]=_0x13ad1a[_0x648a86(0x173)]),_0x13ad1a['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x13ad1a['subUnitId']),_0x13ad1a['isHighlighted']!==void 0x0&&(this['_isHighlighted']=_0x13ad1a['isHighlighted']),this['transformByState']({'width':_0x13ad1a[_0x648a86(0x439)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2,'height':_0x13ad1a[_0x648a86(0x2ea)]??_0x287478[_0x648a86(0x10a)][_0x648a86(0xd9)]*0x2});}[_0x5671d9(0x23d)](_0x3dac2a){const _0x300786=_0x5671d9;let _0x312be1=this[_0x300786(0x145)]?_0x1af7f3['highlighted']:_0x1af7f3[_0x300786(0x2d3)];_0x1c3608[_0x300786(0x467)]['drawWith'](_0x3dac2a,{'radius':_0x287478['ShapeDefaultConfig'][_0x300786(0xd9)],'fill':_0x312be1[_0x300786(0x3c6)],'stroke':_0x312be1[_0x300786(0x193)],'strokeWidth':_0x312be1[_0x300786(0x3fa)],'evented':!0x0});}};let _0x53dc4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x197577,_0x56faa0,_0xf71377,_0x527fcd){const _0x9f791b=_0x5671d9;super(),this['_context']=_0x197577,this['_renderManagerService']=_0x56faa0,this[_0x9f791b(0x306)]=_0xf71377,this[_0x9f791b(0xd0)]=_0x527fcd,_0x20dccc(this,'_connectionSiteObjects',[]),_0x20dccc(this,'_activeTargetShapeId',null),_0x20dccc(this,_0x9f791b(0x13e),-0x1),_0x20dccc(this,_0x9f791b(0x291),null),_0x20dccc(this,_0x9f791b(0x48e),''),_0x20dccc(this,_0x9f791b(0x1f0),''),_0x20dccc(this,_0x9f791b(0x280),null);}[_0x5671d9(0x359)](_0x2b2ae0,_0x921086,_0x4202d9,_0x1751fb){const _0xe8756b=_0x5671d9;this[_0xe8756b(0x291)]=_0x2b2ae0,this[_0xe8756b(0x48e)]=_0x921086,this['_subUnitId']=_0x4202d9,this['_draggingConnectorId']=_0x1751fb;}[_0x5671d9(0x1c7)](_0x5b2992){const _0x484f20=_0x5671d9;if(!this[_0x484f20(0x291)])return null;let _0x27671b=this[_0x484f20(0xf9)](_0x5b2992);return _0x27671b?(this[_0x484f20(0x101)]!==_0x27671b[_0x484f20(0x37d)]&&(this[_0x484f20(0x270)](),this[_0x484f20(0x3bf)](_0x27671b[_0x484f20(0x37d)],_0x27671b[_0x484f20(0xc9)]),this['_activeTargetShapeId']=_0x27671b[_0x484f20(0x37d)]),this[_0x484f20(0x2d6)](_0x5b2992)):(this['_activeTargetShapeId']!==null&&(this[_0x484f20(0x270)](),this[_0x484f20(0x101)]=null),null);}[_0x5671d9(0x463)](){const _0x569a45=_0x5671d9;this[_0x569a45(0x270)](),this[_0x569a45(0x291)]=null,this[_0x569a45(0x101)]=null,this[_0x569a45(0x13e)]=-0x1,this[_0x569a45(0x280)]=null;}[_0x5671d9(0x2c5)](){const _0x5eaf48=_0x5671d9;return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x5eaf48(0x101)],'cxnIndex':this[_0x5eaf48(0x13e)]};}[_0x5671d9(0xf9)](_0x139f1f){const _0x30acb8=_0x5671d9;let _0x499a12=this['_drawingManagerService'][_0x30acb8(0x24f)](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)]);for(let _0x29d87f of Object['keys'](_0x499a12)){if(_0x29d87f===this['_draggingConnectorId']||_0x499a12[_0x29d87f][_0x30acb8(0x3d6)]!==_0x383631[_0x30acb8(0x286)][_0x30acb8(0x456)])continue;let _0x402fd8=this['_sheetsShapeService']['getShapeModel'](this[_0x30acb8(0x48e)],this[_0x30acb8(0x1f0)],_0x29d87f);if(!_0x402fd8||(0x0,_0x287478[_0x30acb8(0x4d2)])(_0x402fd8['getShapeType']())||_0x402fd8[_0x30acb8(0x475)]()['length']===0x0||!this['_currentScene'])continue;let _0x101c67=(0x0,_0x279593[_0x30acb8(0x201)])({'unitId':this[_0x30acb8(0x48e)],'subUnitId':this[_0x30acb8(0x1f0)],'drawingId':_0x29d87f}),_0x4667b0=this['_currentScene'][_0x30acb8(0x327)](_0x101c67);if(!_0x4667b0)continue;let {left:_0x114ed9,top:_0x13e908,width:_0x3d04b0,height:_0x54978c}=_0x4667b0[_0x30acb8(0x275)](),_0x56bc61=_0x114ed9+_0x3d04b0/0x2,_0x11b14f=_0x13e908+_0x54978c/0x2,_0x58838e=_0x4667b0['transform']['getMatrix'](),_0x300d23=new _0x1c3608['Transform']([_0x58838e[0x0],_0x58838e[0x1],_0x58838e[0x2],_0x58838e[0x3],_0x56bc61,_0x11b14f]),_0x418d87=_0x4667b0[_0x30acb8(0x38f)](),_0x387d42=(_0x4667b0[_0x30acb8(0x2e8)]&&(_0x418d87==null?void 0x0:_0x418d87[_0x30acb8(0x12f)])===_0x1c3608[_0x30acb8(0x3dd)][_0x30acb8(0x480)]?_0x418d87[_0x30acb8(0xc8)][_0x30acb8(0x449)](_0x300d23):_0x300d23)[_0x30acb8(0x13f)]()[_0x30acb8(0x1ca)](_0x139f1f),_0x4c9eaa=_0x3d04b0/0x2,_0x5a05fe=_0x54978c/0x2;if(_0x387d42['x']>=-_0x4c9eaa-0x5&&_0x387d42['x']<=_0x4c9eaa+0x5&&_0x387d42['y']>=-_0x5a05fe-0x5&&_0x387d42['y']<=_0x5a05fe+0x5)return{'shapeId':_0x29d87f,'shapeModel':_0x402fd8};}return null;}[_0x5671d9(0x3bf)](_0x334a92,_0x1995cf){const _0x5d385e=_0x5671d9;if(!this[_0x5d385e(0x291)])return;let _0x2d1120=(0x0,_0x279593['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'drawingId':_0x334a92}),_0x4a1ca1=this['_currentScene']['getObjectIncludeInGroup'](_0x2d1120);if(!_0x4a1ca1)return;let {left:_0x3fa183,top:_0x271dc7,width:_0x767311,height:_0x18779e}=_0x4a1ca1[_0x5d385e(0x275)](),_0xc680cc=_0x3fa183+_0x767311/0x2,_0x55ec2b=_0x271dc7+_0x18779e/0x2,_0x872c35=_0x4a1ca1[_0x5d385e(0x2c6)]['getMatrix'](),_0x235de2=new _0x1c3608[(_0x5d385e(0xd2))]([_0x872c35[0x0],_0x872c35[0x1],_0x872c35[0x2],_0x872c35[0x3],_0xc680cc,_0x55ec2b]),_0x595b53=_0x4a1ca1[_0x5d385e(0x38f)](),_0x888d=_0x4a1ca1['isInGroup']&&(_0x595b53==null?void 0x0:_0x595b53[_0x5d385e(0x12f)])===_0x1c3608['RENDER_CLASS_TYPE'][_0x5d385e(0x480)]?_0x595b53[_0x5d385e(0xc8)]['multiply'](_0x235de2):_0x235de2;_0x1995cf['updateContext']({'width':_0x767311,'height':_0x18779e});let _0x4c235c=_0x1995cf[_0x5d385e(0x475)]();for(let _0xa553b2 of _0x4c235c){let _0x4ed581=_0xa553b2['x']-_0x767311/0x2,_0x47064f=_0xa553b2['y']-_0x18779e/0x2,_0x210cd5=_0x888d[_0x5d385e(0x1ca)]({'x':_0x4ed581,'y':_0x47064f}),_0xe25de0=_0x210cd5['x'],_0x46766f=_0x210cd5['y'],_0x24fcd8=new _0x177d9e(_0x5d385e(0x1b7)+_0x334a92+'-'+_0xa553b2[_0x5d385e(0x368)],{'left':_0xe25de0-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'top':_0x46766f-_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)],'targetShapeId':_0x334a92,'cxnIndex':_0xa553b2[_0x5d385e(0x368)],'unitId':this[_0x5d385e(0x48e)],'subUnitId':this[_0x5d385e(0x1f0)],'width':_0x287478['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x287478[_0x5d385e(0x10a)][_0x5d385e(0xd9)]*0x2,'zIndex':_0x1c3608['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x5d385e(0x27e)](_0x24fcd8),this[_0x5d385e(0x291)][_0x5d385e(0x13d)](_0x24fcd8,_0x1c3608[_0x5d385e(0x28a)]+0x2);}}[_0x5671d9(0x2d6)](_0x54fe20){const _0x160a30=_0x5671d9;let _0x1090e1=null,_0x3471f6=0x1/0x0,_0x1cf5af=null;for(let _0x1eba13 of this['_connectionSiteObjects']){let _0x506fe0=_0x1eba13['left']+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x15d710=_0x1eba13[_0x160a30(0x1e1)]+_0x287478[_0x160a30(0x10a)][_0x160a30(0xd9)],_0x114f0e=_0x54fe20['x']-_0x506fe0,_0x17d214=_0x54fe20['y']-_0x15d710,_0xe735b8=Math[_0x160a30(0x4b0)](_0x114f0e*_0x114f0e+_0x17d214*_0x17d214);_0xe735b8<_0x3471f6&&(_0x3471f6=_0xe735b8,_0x1090e1=_0x1eba13,_0x1cf5af={'x':_0x506fe0,'y':_0x15d710});}let _0x3c4800=_0x3471f6<=0xa&&_0x1090e1?_0x1090e1[_0x160a30(0x22b)]()[_0x160a30(0xcb)]:-0x1;if(_0x3c4800!==this[_0x160a30(0x13e)]){for(let _0x17fc13 of this[_0x160a30(0x139)]){let _0x2939d8=_0x17fc13[_0x160a30(0x22b)]();_0x17fc13[_0x160a30(0x401)](_0x2939d8[_0x160a30(0xcb)]===_0x3c4800);}this['_highlightedSiteIndex']=_0x3c4800;}if(_0x3471f6<=0xa&&_0x1090e1&&_0x1cf5af){let _0x1681de=_0x1090e1[_0x160a30(0x22b)](),_0x436ef8=this[_0x160a30(0x1b8)](_0x1681de[_0x160a30(0x37d)],_0x1681de[_0x160a30(0xcb)]);return{'shapeId':_0x1681de['shapeId'],'cxnIndex':_0x1681de[_0x160a30(0xcb)],'unitId':_0x1681de[_0x160a30(0x173)],'subUnitId':_0x1681de[_0x160a30(0x135)],'worldPoint':_0x1cf5af,'angle':_0x436ef8};}return null;}[_0x5671d9(0x1b8)](_0x58737c,_0x7c0725){const _0x3d4cd7=_0x5671d9;let _0xc7b0ef=this[_0x3d4cd7(0xd0)][_0x3d4cd7(0x3a8)](this[_0x3d4cd7(0x48e)],this[_0x3d4cd7(0x1f0)],_0x58737c);if(!_0xc7b0ef)return 0x0;let _0x1ddeb7=this['_drawingManagerService']['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x3d4cd7(0x1f0)],'drawingId':_0x58737c});if(!(_0x1ddeb7!=null&&_0x1ddeb7[_0x3d4cd7(0x2c6)]))return 0x0;let {width:_0x26838e=0x0,height:_0xf34b94=0x0,flipX:_0x3c8984=!0x1,flipY:_0x518bb9=!0x1}=_0x1ddeb7[_0x3d4cd7(0x2c6)];_0xc7b0ef['updateContext']({'width':_0x26838e,'height':_0xf34b94});let _0x5d3199=_0xc7b0ef[_0x3d4cd7(0x475)]()[_0x3d4cd7(0x3de)](_0x145625=>_0x145625[_0x3d4cd7(0x368)]===_0x7c0725);if(!_0x5d3199)return 0x0;let _0x592244=_0x5d3199[_0x3d4cd7(0x31b)]/0xea60;return _0x3c8984&&(_0x592244=0xb4-_0x592244),_0x518bb9&&(_0x592244=-_0x592244),_0x592244=(_0x592244%0x168+0x168)%0x168,_0x592244;}['_clearConnectionSites'](){const _0x1dde83=_0x5671d9;for(let _0x268c68 of this[_0x1dde83(0x139)])_0x268c68[_0x1dde83(0x39f)]();this[_0x1dde83(0x139)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x5671d9(0x39f)](){const _0x39f57d=_0x5671d9;this[_0x39f57d(0x270)](),super['dispose']();}};_0x53dc4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x1c3608[_0x5671d9(0x1fd)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x279593[_0x5671d9(0xf1)])),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x276c17[_0x5671d9(0x188)]))],_0x53dc4d);let _0x544c39=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x41a7d0,_0x59536f,_0x25ffea,_0x487602,_0x1c6424){const _0x1f6cfe=_0x5671d9;super(),this[_0x1f6cfe(0x2eb)]=_0x41a7d0,this['_sheetClipboardService']=_0x59536f,this[_0x1f6cfe(0x239)]=_0x25ffea,this['_shapeService']=_0x487602,this[_0x1f6cfe(0x3fc)]=_0x1c6424,_0x20dccc(this,_0x1f6cfe(0x471),void 0x0),this[_0x1f6cfe(0x47e)](),this[_0x1f6cfe(0x19f)]();}get[_0x5671d9(0x12a)](){const _0x9fa314=_0x5671d9;return this[_0x9fa314(0x239)][_0x9fa314(0x486)]();}['_registerGroupFeaturePasteHook'](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x2df379,fromSubUnitId:_0x71f489,toUnitId:_0x2f582f,toSubUnitId:_0x5c8d2a,idMap:_0x5587ef})=>{const _0x34e7f5=_0x43eb;let _0xc4a964=[],_0x5a5470=[];for(let [_0x4feeff,_0x32e0af]of _0x5587ef[_0x34e7f5(0x2f6)]()){let _0x9f5fed=this[_0x34e7f5(0xc5)]['getShapeModel'](_0x2df379,_0x71f489,_0x4feeff);if(!_0x9f5fed)continue;let _0x4593df=_0x9f5fed[_0x34e7f5(0x347)](),_0xba5e99=JSON[_0x34e7f5(0x342)](JSON['stringify'](_0x9f5fed[_0x34e7f5(0xe8)]()));if(_0xba5e99[_0x34e7f5(0x1a8)]){var _0x42c9d4,_0x3f880f;let _0x3ecd01=(_0x42c9d4=_0xba5e99[_0x34e7f5(0x1a8)]['from'])==null?void 0x0:_0x42c9d4[_0x34e7f5(0x37d)],_0x2e9c5e=(_0x3f880f=_0xba5e99['relation']['to'])==null?void 0x0:_0x3f880f['shapeId'],_0x9fb878=!_0x3ecd01||_0x5587ef[_0x34e7f5(0xf0)](_0x3ecd01),_0x529b61=!_0x2e9c5e||_0x5587ef[_0x34e7f5(0xf0)](_0x2e9c5e);_0x9fb878&&_0x3ecd01&&_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]?_0xba5e99['relation']['from']={..._0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)],'shapeId':_0x5587ef['get'](_0x3ecd01)}:_0xba5e99[_0x34e7f5(0x1a8)][_0x34e7f5(0x2c0)]=void 0x0,_0x529b61&&_0x2e9c5e&&_0xba5e99['relation']['to']?_0xba5e99[_0x34e7f5(0x1a8)]['to']={..._0xba5e99[_0x34e7f5(0x1a8)]['to'],'shapeId':_0x5587ef[_0x34e7f5(0x4be)](_0x2e9c5e)}:_0xba5e99['relation']['to']=void 0x0;}_0xc4a964[_0x34e7f5(0x27e)]({'id':_0x276c17['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af,'shapeType':_0x4593df,'shapeData':_0xba5e99}}),_0x5a5470[_0x34e7f5(0x27e)]({'id':_0x276c17[_0x34e7f5(0x394)]['id'],'params':{'unitId':_0x2f582f,'subUnitId':_0x5c8d2a,'shapeId':_0x32e0af}});}return{'redos':_0xc4a964,'undos':_0x5a5470};});}[_0x5671d9(0x47e)](){const _0x42f269=_0x5671d9;this[_0x42f269(0x252)](this[_0x42f269(0x21b)][_0x42f269(0x427)]({'id':_0x42f269(0x341),'onBeforeCopyFocusedObject':(_0x9ce0bf,_0x298d77,_0xde7316)=>{const _0xe3988a=_0x42f269;this[_0xe3988a(0x471)]=null;let _0x21cb61=this[_0xe3988a(0x12a)]['filter'](_0x5a9b4f=>_0x5a9b4f[_0xe3988a(0x3d6)]===_0x383631['DrawingTypeEnum'][_0xe3988a(0x456)]);return _0x21cb61[_0xe3988a(0x175)]!==0x0&&(this['_copyInfo']={'unitId':_0x9ce0bf,'subUnitId':_0x298d77,'copyType':_0xde7316,'drawings':_0x21cb61},!0x0);},'onBeforeCopy':(_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237)=>{const _0x3f12c6=_0x42f269;this[_0x3f12c6(0x471)]=null,this['_createCopyInfoByRange'](_0x48730c,_0x45c9fc,_0x33a690,_0x5a4237);},'onPasteCells':(_0x7b27be,_0x456ccd,_0x3aa667,_0x4e8159)=>{const _0x55d193=_0x42f269;if(!_0x4e8159[_0x55d193(0x2f0)]||!_0x7b27be||!this[_0x55d193(0x471)])return{'redos':[],'undos':[]};let {pasteType:_0x23ea57}=_0x4e8159;return _0x23ea57===_0x261221[_0x55d193(0x45c)][_0x55d193(0x117)]?this['_generatePasteMutations'](_0x456ccd,this[_0x55d193(0x471)][_0x55d193(0x3e5)]===_0x261221[_0x55d193(0xdd)][_0x55d193(0x40d)]):{'redos':[],'undos':[]};}}));}[_0x5671d9(0x4c9)](_0x400021,_0x3ae6f7,_0x3900c0,_0x20eeb2){const _0x4e10f7=_0x5671d9;let _0x5c40ff=this[_0x4e10f7(0x2eb)][_0x4e10f7(0x1e8)](_0x400021,_0x3ae6f7);if(!_0x5c40ff)return;let _0x22b156=(0x0,_0x111c96[_0x4e10f7(0x4b2)])(_0x5c40ff,_0x3900c0);if(!_0x22b156)return;let {startX:_0x1a54c6,endX:_0x4bb575,startY:_0x515b68,endY:_0x1aece3}=_0x22b156,_0x38aa6f=this[_0x4e10f7(0x239)][_0x4e10f7(0x24f)](_0x400021,_0x3ae6f7),_0x4a7c56=[];for(let [_0x2594e7,_0x135134]of Object[_0x4e10f7(0x2f6)](_0x38aa6f)){if(_0x135134[_0x4e10f7(0x3d6)]!==_0x383631[_0x4e10f7(0x286)][_0x4e10f7(0x456)])continue;let {transform:_0x109107}=_0x135134;if(!_0x109107)continue;let {left:_0x491bcf=0x0,top:_0x4bdab6=0x0,width:_0x26bd3e=0x0,height:_0x5c02f3=0x0}=_0x109107;_0x1a54c6<=_0x491bcf&&_0x4bb575>=_0x491bcf+_0x26bd3e&&_0x515b68<=_0x4bdab6&&_0x1aece3>=_0x4bdab6+_0x5c02f3&&_0x4a7c56[_0x4e10f7(0x27e)](_0x135134);}_0x4a7c56['length']>0x0&&(this[_0x4e10f7(0x471)]={'unitId':_0x400021,'subUnitId':_0x3ae6f7,'copyType':_0x20eeb2,'copyRange':_0x3900c0,'drawings':_0x4a7c56});}['_generatePasteMutations'](_0x4bd10e,_0x5ab990){const _0x19801a=_0x5671d9;let {unitId:_0x48d52f,subUnitId:_0x3e92aa,range:_0xc0e3e6}=_0x4bd10e,_0x3e2a09=this[_0x19801a(0x2eb)]['getSkeleton'](_0x48d52f,_0x3e92aa);if(!_0x3e2a09)return{'redos':[],'undos':[]};let _0x15b15b=(0x0,_0x111c96['discreteRangeToRange'])(_0xc0e3e6),{unitId:_0x385bc7,subUnitId:_0x2ec5ca,copyRange:_0x13ec59,drawings:_0x23ca93}=this['_copyInfo'],_0x401c2b=this[_0x19801a(0x2eb)][_0x19801a(0x1e8)](_0x385bc7,_0x2ec5ca);if(!_0x401c2b)return{'redos':[],'undos':[]};let _0x2433b5;if(!_0x13ec59){let _0x1355ef=0x1/0x0,_0x59b8e2=0x1/0x0;for(let _0x4d4e43 of _0x23ca93){let {left:_0x8f1674=0x0,top:_0x151779=0x0}=_0x4d4e43[_0x19801a(0x2c6)]??{};_0x8f1674<_0x1355ef&&(_0x1355ef=_0x8f1674),_0x151779<_0x59b8e2&&(_0x59b8e2=_0x151779);}_0x1355ef!==0x1/0x0&&_0x59b8e2!==0x1/0x0&&(_0x2433b5={'left':_0x1355ef,'top':_0x59b8e2});}let _0x1cf874=new Map();if(!_0x5ab990){for(let _0x26ab14 of _0x23ca93)_0x1cf874[_0x19801a(0x32d)](_0x26ab14[_0x19801a(0x493)],(0x0,_0x383631[_0x19801a(0x29d)])());}let _0x3480b0=[],_0x2b249b=[];for(let _0xafce52 of _0x23ca93){let {drawingId:_0x398bbf,transform:_0x2f7e33,sheetTransform:_0x36076a}=_0xafce52;if(!_0x2f7e33||!_0x36076a)continue;let _0x3f7cb0=this[_0x19801a(0x4bf)]({'transform':_0x2f7e33,'sheetTransform':_0x36076a},{'skeleton':_0x401c2b,'range':_0x13ec59},{'skeleton':_0x3e2a09,'range':_0x15b15b},_0x2433b5);if(_0x5ab990){let {redos:_0x516331,undos:_0x39c927}=this[_0x19801a(0x40f)]({'fromUnitId':_0x385bc7,'fromSubUnitId':_0x2ec5ca,'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0});_0x3480b0[_0x19801a(0x27e)](..._0x516331),_0x2b249b['push'](..._0x39c927);continue;}let {redos:_0x2ead9e,undos:_0x2ef49d}=this[_0x19801a(0x1a9)]({'toUnitId':_0x48d52f,'toSubUnitId':_0x3e92aa,'drawing':_0xafce52,'newTransforms':_0x3f7cb0,'newDrawingId':_0x1cf874[_0x19801a(0x4be)](_0x398bbf),'idMap':_0x1cf874});_0x3480b0['push'](..._0x2ead9e),_0x2b249b['push'](..._0x2ef49d);}return{'redos':_0x3480b0,'undos':_0x2b249b};}[_0x5671d9(0x40f)](_0x485914){const _0x2f274d=_0x5671d9;let {fromUnitId:_0x11b1f8,fromSubUnitId:_0x3c339c,toUnitId:_0x493ae6,toSubUnitId:_0x53588e,drawing:_0xf1dac5,newTransforms:_0x1967d6}=_0x485914,_0x5e6769={..._0xf1dac5,'unitId':_0x493ae6,'subUnitId':_0x53588e,'transform':_0x1967d6['transform'],'sheetTransform':_0x1967d6[_0x2f274d(0x1e4)]};if(_0x493ae6===_0x11b1f8&&_0x53588e===_0x3c339c){let {redo:_0x2a6ffa,undo:_0x49685c,objects:_0x1f9ea3}=this['_sheetDrawingService'][_0x2f274d(0x437)]([_0x5e6769]);return{'redos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x130)],'op':_0x2a6ffa,'objects':_0x1f9ea3}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x130)],'op':_0x49685c,'objects':_0x1f9ea3}}]};}{let _0x392f5f=this['_sheetDrawingService'][_0x2f274d(0x3db)]([_0xf1dac5]),_0xc60fad=this[_0x2f274d(0x239)]['getBatchAddOp']([_0x5e6769]),_0x4252af=this[_0x2f274d(0xc5)][_0x2f274d(0x3a8)](_0xf1dac5[_0x2f274d(0x173)],_0xf1dac5[_0x2f274d(0x135)],_0xf1dac5[_0x2f274d(0x493)]);if(!_0x4252af)return{'redos':[],'undos':[]};let _0x14ea09=_0x4252af[_0x2f274d(0x347)](),_0x487727=JSON[_0x2f274d(0x342)](JSON[_0x2f274d(0x452)](_0x4252af[_0x2f274d(0xe8)]()));return{'redos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x2f9)],'op':_0x392f5f[_0x2f274d(0x34e)],'objects':_0x392f5f['objects']}},{'id':_0x276c17['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)]['INSERT'],'op':_0xc60fad[_0x2f274d(0x34e)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}}],'undos':[{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'type':_0x72b203['DrawingApplyType'][_0x2f274d(0x4a2)],'op':_0x392f5f[_0x2f274d(0x3dc)],'objects':_0x392f5f[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x215)]['id'],'params':{'unitId':_0x11b1f8,'subUnitId':_0x3c339c,'shapeId':_0xf1dac5[_0x2f274d(0x493)],'shapeType':_0x14ea09,'shapeData':_0x487727}},{'id':_0x72b203[_0x2f274d(0x284)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'type':_0x72b203[_0x2f274d(0x1e6)][_0x2f274d(0x2f9)],'op':_0xc60fad[_0x2f274d(0x3dc)],'objects':_0xc60fad[_0x2f274d(0x1c6)]}},{'id':_0x276c17[_0x2f274d(0x394)]['id'],'params':{'unitId':_0x493ae6,'subUnitId':_0x53588e,'shapeId':_0xf1dac5[_0x2f274d(0x493)]}}]};}}[_0x5671d9(0x1a9)](_0x526687){const _0x102710=_0x5671d9;let {toUnitId:_0x5710c3,toSubUnitId:_0x565730,drawing:_0xb19c3a,newTransforms:_0x5c9d52,newDrawingId:_0x18efdd,idMap:_0x26ffca}=_0x526687,_0x2ac8c1={..._0xb19c3a,'unitId':_0x5710c3,'subUnitId':_0x565730,'drawingId':_0x18efdd,'transform':_0x5c9d52[_0x102710(0x2c6)],'sheetTransform':_0x5c9d52[_0x102710(0x1e4)]},{redo:_0x3394d8,undo:_0x55d554,objects:_0x5e81cb}=this[_0x102710(0x239)][_0x102710(0x329)]([_0x2ac8c1]),_0x5a13fb=this[_0x102710(0xc5)][_0x102710(0x3a8)](_0xb19c3a[_0x102710(0x173)],_0xb19c3a[_0x102710(0x135)],_0xb19c3a[_0x102710(0x493)]);if(!_0x5a13fb)return{'redos':[],'undos':[]};let _0x1ab8ff=_0x5a13fb[_0x102710(0x347)](),_0x2f4b4c=JSON[_0x102710(0x342)](JSON[_0x102710(0x452)](_0x5a13fb[_0x102710(0xe8)]()));if(_0x2f4b4c[_0x102710(0x1a8)]){var _0x5b33f7,_0x539f6e;let _0x372494=(_0x5b33f7=_0x2f4b4c[_0x102710(0x1a8)]['from'])==null?void 0x0:_0x5b33f7['shapeId'],_0x294aa6=(_0x539f6e=_0x2f4b4c[_0x102710(0x1a8)]['to'])==null?void 0x0:_0x539f6e['shapeId'],_0x2b087a=!_0x372494||_0x26ffca[_0x102710(0xf0)](_0x372494),_0x11b660=!_0x294aa6||_0x26ffca['has'](_0x294aa6);_0x2b087a&&_0x372494&&_0x2f4b4c[_0x102710(0x1a8)]['from']?_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]={..._0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)],'shapeId':_0x26ffca['get'](_0x372494)}:_0x2f4b4c[_0x102710(0x1a8)][_0x102710(0x2c0)]=void 0x0,_0x11b660&&_0x294aa6&&_0x2f4b4c[_0x102710(0x1a8)]['to']?_0x2f4b4c['relation']['to']={..._0x2f4b4c[_0x102710(0x1a8)]['to'],'shapeId':_0x26ffca['get'](_0x294aa6)}:_0x2f4b4c['relation']['to']=void 0x0;}return{'redos':[{'id':_0x72b203[_0x102710(0x284)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203['DrawingApplyType'][_0x102710(0x4a2)],'op':_0x3394d8,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x215)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd,'shapeType':_0x1ab8ff,'shapeData':_0x2f4b4c}}],'undos':[{'id':_0x72b203['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'type':_0x72b203[_0x102710(0x1e6)][_0x102710(0x2f9)],'op':_0x55d554,'objects':_0x5e81cb}},{'id':_0x276c17[_0x102710(0x394)]['id'],'params':{'unitId':_0x5710c3,'subUnitId':_0x565730,'shapeId':_0x18efdd}}]};}[_0x5671d9(0x4bf)](_0x5d0b85,_0x1c439e,_0xea8b94,_0x4839d1){const _0x1f81d6=_0x5671d9;let {range:_0x247b25,skeleton:_0x3bfd63}=_0x1c439e,{range:_0x4e612a,skeleton:_0x395ab4}=_0xea8b94,{transform:_0x31bac2,sheetTransform:_0x27fd76}=_0x5d0b85,_0xa18c5d={..._0x31bac2};if(_0x247b25){let _0x1d7d9f=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x3bfd63,_0x247b25),_0x21cb32=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x1d7d9f&&_0x21cb32){let _0x2193fb=_0x21cb32['startX']-_0x1d7d9f[_0x1f81d6(0x462)],_0x41392b=_0x21cb32['startY']-_0x1d7d9f[_0x1f81d6(0x14e)];_0xa18c5d['left']=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)+_0x2193fb,_0xa18c5d['top']=(_0xa18c5d['top']??0x0)+_0x41392b;}}else{let _0x3f5ce4=(0x0,_0x111c96[_0x1f81d6(0x4b2)])(_0x395ab4,_0x4e612a);if(_0x4839d1&&_0x3f5ce4){let _0x5390a3=(_0xa18c5d[_0x1f81d6(0x32c)]??0x0)-_0x4839d1[_0x1f81d6(0x32c)],_0x2c7502=(_0xa18c5d['top']??0x0)-_0x4839d1[_0x1f81d6(0x1e1)];_0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4['startX']+_0x5390a3,_0xa18c5d[_0x1f81d6(0x1e1)]=_0x3f5ce4[_0x1f81d6(0x14e)]+_0x2c7502;}else _0xa18c5d[_0x1f81d6(0x32c)]=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x462)],_0xa18c5d['top']=_0x3f5ce4==null?void 0x0:_0x3f5ce4[_0x1f81d6(0x14e)];}return{'transform':_0xa18c5d,'sheetTransform':(0x0,_0x72b203['transformToDrawingPosition'])(_0xa18c5d,_0x395ab4)??_0x27fd76};}};_0x544c39=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x382)])),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221['ISheetClipboardService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x72b203[_0x5671d9(0x248)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x44e77f[_0x5671d9(0x2cf)]))],_0x544c39);var _0x1a515c=class extends _0x1c3608[_0x5671d9(0x42f)]{constructor(_0x262401,_0x55a03c){const _0x2cd562=_0x5671d9;super(_0x262401,_0x55a03c),_0x20dccc(this,_0x2cd562(0x397),null),_0x20dccc(this,_0x2cd562(0x2cd),null),_0x20dccc(this,_0x2cd562(0x48e),null),_0x20dccc(this,_0x2cd562(0x1f0),null),_0x20dccc(this,_0x2cd562(0x246),!0x1),_0x55a03c&&this[_0x2cd562(0x172)](_0x55a03c);}[_0x5671d9(0x4cd)](){const _0x21870a=_0x5671d9;return{'unitId':this[_0x21870a(0x48e)],'subUnitId':this[_0x21870a(0x1f0)],'drawingId':this[_0x21870a(0x397)]};}[_0x5671d9(0x172)](_0x5bceb9){const _0x5e4a4f=_0x5671d9;_0x5bceb9['shapeId']!==void 0x0&&(this[_0x5e4a4f(0x397)]=_0x5bceb9['shapeId']),_0x5bceb9[_0x5e4a4f(0x173)]!==void 0x0&&(this['_unitId']=_0x5bceb9['unitId']),_0x5bceb9[_0x5e4a4f(0x135)]!==void 0x0&&(this[_0x5e4a4f(0x1f0)]=_0x5bceb9[_0x5e4a4f(0x135)]),_0x5bceb9[_0x5e4a4f(0x1a5)]!==void 0x0&&(this[_0x5e4a4f(0x246)]=_0x5bceb9[_0x5e4a4f(0x1a5)]),this[_0x5e4a4f(0x315)]({'width':_0x5bceb9[_0x5e4a4f(0x439)],'height':_0x5bceb9['height']});}['_draw'](_0x25812e){const _0x71aff2=_0x5671d9;_0x1c3608[_0x71aff2(0x467)][_0x71aff2(0xda)](_0x25812e,{'radius':_0x287478['ShapeDefaultConfig'][_0x71aff2(0xd9)],'fill':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2d7)],'stroke':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x389)],'strokeWidth':_0x287478[_0x71aff2(0x10a)][_0x71aff2(0x2c9)],'evented':!0x0});}};let _0x2d0bb9=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x4bf157,_0x46b19f,_0x46e1a4,_0x5bb026,_0x4bb6b7,_0x1d2704,_0x3e3b52,_0x1a440c){const _0x16d024=_0x5671d9;super(),this[_0x16d024(0x4a5)]=_0x4bf157,this[_0x16d024(0x39a)]=_0x46b19f,this[_0x16d024(0x42d)]=_0x46e1a4,this['_drawingManagerService']=_0x5bb026,this[_0x16d024(0x434)]=_0x4bb6b7,this[_0x16d024(0xd0)]=_0x1d2704,this[_0x16d024(0x100)]=_0x3e3b52,this['_sheetBasicShapeConnectionPointController']=_0x1a440c,_0x20dccc(this,_0x16d024(0x166),void 0x0),_0x20dccc(this,_0x16d024(0x48e),void 0x0),_0x20dccc(this,_0x16d024(0x1f0),void 0x0),_0x20dccc(this,_0x16d024(0x1a1),[]),_0x20dccc(this,_0x16d024(0x209),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x20dccc(this,'_activeShapeModel',void 0x0),_0x20dccc(this,'_isConnecting',!0x1),_0x20dccc(this,'_isDrawingShapePointDown',!0x1),_0x20dccc(this,'_hasReset',!0x1),_0x20dccc(this,_0x16d024(0x16f),void 0x0),_0x20dccc(this,'_cxtHandlerPointerUp',void 0x0),_0x20dccc(this,_0x16d024(0x19d),null),this[_0x16d024(0x3b9)]();}['_initialize'](){const _0x10b0ec=_0x5671d9;this[_0x10b0ec(0x365)](),this['_registerDrawingMoveHandler']();}[_0x5671d9(0x1c8)](){const _0x541707=_0x5671d9;if(!this[_0x541707(0x48e)]||!this[_0x541707(0x1f0)]||!this[_0x541707(0x166)])return;let _0x2da25e={'unitId':this['_unitId'],'subUnitId':this[_0x541707(0x1f0)],'drawingId':this['_activeShapeId']},{transform:_0x33c3d4}=this[_0x541707(0x306)][_0x541707(0x14d)](_0x2da25e);if(_0x33c3d4)return{'left':_0x33c3d4['left']||0x0,'top':_0x33c3d4['top']||0x0,'width':_0x33c3d4[_0x541707(0x439)]||0x0,'height':_0x33c3d4[_0x541707(0x2ea)]||0x0,'flipX':_0x33c3d4[_0x541707(0x160)]||!0x1,'flipY':_0x33c3d4[_0x541707(0x481)]||!0x1,'angle':_0x33c3d4['angle']};}[_0x5671d9(0x131)](){const _0x36366d=_0x5671d9;if(this[_0x36366d(0x48e)]===void 0x0||this[_0x36366d(0x1f0)]===void 0x0||this[_0x36366d(0x166)]===void 0x0)return;let _0x14ec66=this[_0x36366d(0x42d)][_0x36366d(0x1fa)](this[_0x36366d(0x48e)]);if(!_0x14ec66||!_0x14ec66[_0x36366d(0x438)](_0x261221[_0x36366d(0x3fb)])['getCurrentSkeleton']())return;let {scene:_0x64b078}=_0x14ec66,_0x2217b4=this['_getDrawingRect']();if(!_0x2217b4)return;let _0x4c7a07=this[_0x36366d(0xd0)]['getShapeModel'](this[_0x36366d(0x48e)],this[_0x36366d(0x1f0)],this[_0x36366d(0x166)]);if(!_0x4c7a07||!(0x0,_0x287478[_0x36366d(0x4d2)])(_0x4c7a07[_0x36366d(0x347)]()))return;let _0x3a2c60=_0x4c7a07[_0x36366d(0x4c4)]();if(_0x3a2c60[_0x36366d(0x175)]<0x2)return;let _0x11172a=new _0x287478[(_0x36366d(0x2ec))](_0x2217b4),_0x112d81=_0x3a2c60[0x0],_0x2007df=_0x3a2c60[_0x3a2c60[_0x36366d(0x175)]-0x1],_0x353729=_0x11172a[_0x36366d(0xf7)](_0x112d81),_0x542d1e=_0x11172a[_0x36366d(0xf7)](_0x2007df);this['_addShapeConnectorHandlerObject'](_0x64b078,{..._0x353729},!0x0),this[_0x36366d(0x11d)](_0x64b078,{..._0x542d1e},!0x1);}[_0x5671d9(0x11d)](_0x315c39,_0x4eff18,_0x1202a1){const _0x285f40=_0x5671d9;if(this[_0x285f40(0x166)]===void 0x0||this[_0x285f40(0x48e)]===void 0x0||this[_0x285f40(0x1f0)]===void 0x0)return;let _0x1835db=_0x285f40(0x10b)+this[_0x285f40(0x48e)]+'-'+this[_0x285f40(0x1f0)]+'-'+this['_activeShapeId']+'-'+(_0x1202a1?_0x285f40(0x377):_0x285f40(0x2d1)),_0x595867=_0x315c39['getObjectIncludeInGroup'](_0x1835db);if(_0x595867){_0x595867[_0x285f40(0x315)]({'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)]['cxnPointRadius'],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)]});return;}let _0x27611a=new _0x1a515c(_0x1835db,{'left':_0x4eff18['x']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'top':_0x4eff18['y']-_0x287478[_0x285f40(0x10a)][_0x285f40(0xd9)],'shapeId':this[_0x285f40(0x166)],'unitId':this[_0x285f40(0x48e)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x1202a1,'width':_0x287478['ShapeDefaultConfig'][_0x285f40(0xd9)]*0x2,'height':_0x287478[_0x285f40(0x10a)]['cxnPointRadius']*0x2,'zIndex':_0x1c3608[_0x285f40(0x28a)]+0x1,'evented':!0x0});this[_0x285f40(0x1a1)][_0x285f40(0x27e)](_0x27611a),this[_0x285f40(0x103)](_0x27611a,_0x315c39,_0x1202a1),_0x315c39[_0x285f40(0x13d)](_0x27611a,_0x1c3608[_0x285f40(0x28a)]+0x1);}[_0x5671d9(0x4a4)](_0x51adb7,_0xe620f0){const _0x3e3d31=_0x5671d9;var _0x4e1681;let _0x287866={'x':0x0,'y':0x0};if(!_0x51adb7||!_0xe620f0)return _0x287866;let _0x439b1d=this['_renderManagerService'][_0x3e3d31(0x1fa)](_0x51adb7);if(!_0x439b1d||!_0x439b1d[_0x3e3d31(0x438)](_0x261221[_0x3e3d31(0x3fb)])[_0x3e3d31(0x1e8)](_0xe620f0))return _0x287866;let _0x2bebaf=_0x439b1d[_0x3e3d31(0x438)](_0x261221['SheetScrollManagerService']),_0x9fc61f=_0x2bebaf==null?void 0x0:_0x2bebaf[_0x3e3d31(0x214)]();if(!_0x9fc61f)return _0x287866;let _0x2ebf3e=(_0x4e1681=this['_univerInstanceService'][_0x3e3d31(0x147)](_0x51adb7))==null?void 0x0:_0x4e1681[_0x3e3d31(0x13a)](_0xe620f0);if(!_0x2ebf3e)return _0x287866;let _0x4686c4=(0x0,_0x261221[_0x3e3d31(0x362)])(_0x9fc61f['sheetViewStartRow'],_0x9fc61f[_0x3e3d31(0x30a)],_0x439b1d[_0x3e3d31(0x333)],_0x2ebf3e);return _0x4686c4?{'x':_0x4686c4[_0x3e3d31(0x2d8)],'y':_0x4686c4['viewportScrollY']}:_0x287866;}[_0x5671d9(0x36c)](_0x122c9f,_0xfb8fe9){const _0x35992d=_0x5671d9;var _0x42746f;let _0x5c57c5=(_0x42746f=this[_0x35992d(0x434)]['getUnit'](_0x122c9f))==null?void 0x0:_0x42746f['getSheetBySheetId'](_0xfb8fe9);return(_0x5c57c5==null?void 0x0:_0x5c57c5[_0x35992d(0x1e5)]())??0x1;}[_0x5671d9(0x473)](_0x113fd7,_0x174bea,_0x1662c0,_0x19c660,_0x1ce79f){const _0x291d11=_0x5671d9;this['_cxtHandlerPointerMove'][_0x291d11(0x165)](),this[_0x291d11(0x1b6)][_0x291d11(0x165)](),this[_0x291d11(0x100)]['refreshAdjustControls']();let _0x273956=this[_0x291d11(0x19d)];this['_sheetBasicShapeConnectionPointController'][_0x291d11(0x463)]();let _0x214d0a=this[_0x291d11(0x4a4)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x7b9528=this[_0x291d11(0x36c)](this['_unitId'],this[_0x291d11(0x1f0)]),_0x4bcf35={'x':_0x1662c0['offsetX']/_0x7b9528+_0x214d0a['x'],'y':_0x1662c0['offsetY']/_0x7b9528+_0x214d0a['y']},_0x20acd4=_0x273956?_0x273956[_0x291d11(0x2c3)]:_0x4bcf35,_0x59d8b1=_0x19c660?this[_0x291d11(0x194)]['getEndConnectInfo']():this[_0x291d11(0x194)][_0x291d11(0x39c)](),_0x149437=this[_0x291d11(0x194)]['getShapeType']();_0x59d8b1?this['_handleConnectedEndpointPointerUp'](_0x59d8b1,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f):this[_0x291d11(0x142)](_0x174bea,_0x20acd4,_0x19c660,_0x273956,_0x1ce79f,_0x149437),this['_isConnecting']=!0x1,this['_hasReset']=!0x1,this['_currentConnectionTarget']=null,_0x113fd7[_0x291d11(0x366)]();}[_0x5671d9(0x142)](_0x23f8ba,_0x56352e,_0x53e922,_0x3b6b72,_0x2b4c02,_0x3df8a0){const _0x4d352e=_0x5671d9;let _0x37deb2=_0x3df8a0===_0x287478['ShapeTypeEnum'][_0x4d352e(0x29f)]||_0x3df8a0===_0x287478[_0x4d352e(0x384)][_0x4d352e(0x3c4)],_0x43e60e=_0x53e922?_0x56352e:_0x23f8ba,_0x98198d=_0x53e922?_0x23f8ba:_0x56352e,_0x31b3a1=this[_0x4d352e(0x194)]['getConnectorLinePoints'](),_0x3db85e=this[_0x4d352e(0x194)][_0x4d352e(0x347)](),_0xbf883a=(0x0,_0x287478[_0x4d352e(0x2b1)])(_0x3db85e),_0x409951=_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x3fe)](_0x31b3a1,_0xbf883a),_0x42bccd=_0x37deb2?_0x287478[_0x4d352e(0x2ec)]['computeStraightConnectorLayout'](_0x43e60e,_0x98198d):_0x287478[_0x4d352e(0x2ec)][_0x4d352e(0x162)](_0x23f8ba,_0x56352e,_0x53e922,_0x409951);_0x3b6b72?this[_0x4d352e(0x26b)](_0x42bccd,_0x3b6b72,_0x53e922,_0x2b4c02):this[_0x4d352e(0x21d)](_0x42bccd,_0x2b4c02);}[_0x5671d9(0x2fd)](_0x422dac,_0x505a91,_0x21f065,_0x54f722,_0x1fb2b8){const _0x209c45=_0x5671d9;let _0x56cc30=this[_0x209c45(0x334)](_0x422dac);if(!_0x56cc30)return;let _0x16b2ac=_0x54f722?_0x54f722['angle']:this[_0x209c45(0x174)](_0x56cc30[_0x209c45(0x32b)],_0x505a91),_0x1593a8;if(_0x54f722){let _0x2c53f1=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x54f722[_0x209c45(0x173)],'subUnitId':_0x54f722[_0x209c45(0x135)],'drawingId':_0x54f722[_0x209c45(0x37d)]});if(_0x2c53f1!=null&&_0x2c53f1[_0x209c45(0x2c6)]){let {left:_0x234e9c=0x0,top:_0x3416b7=0x0,width:_0x126794=0x0,height:_0x7750d5=0x0,angle:_0x3d642d}=_0x2c53f1[_0x209c45(0x2c6)];_0x1593a8=(0x0,_0x287478[_0x209c45(0x27b)])({'left':_0x234e9c,'top':_0x3416b7,'width':_0x126794,'height':_0x7750d5},_0x3d642d||0x0);}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};}else _0x1593a8={'left':_0x505a91['x'],'top':_0x505a91['y'],'width':0x0,'height':0x0};let _0x30b82d={'point':_0x505a91,'angle':_0x16b2ac,'bounds':_0x1593a8},_0x18f935=_0x21f065?_0x30b82d:_0x56cc30,_0x1e91e2=_0x21f065?_0x56cc30:_0x30b82d,_0xedbfb8=this['_activeShapeModel'][_0x209c45(0x347)](),_0x593126=(0x0,_0x287478[_0x209c45(0x314)])(_0x18f935,_0x1e91e2,_0xedbfb8);this['_activeShapeModel'][_0x209c45(0x1eb)]();let _0x18bea2=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x593126,_0xedbfb8);_0x54f722?this[_0x209c45(0x16e)](_0x18bea2,_0x54f722,_0x422dac,_0x21f065,_0x1fb2b8):this[_0x209c45(0x2bb)](_0x18bea2,_0x422dac,_0x21f065,_0x1fb2b8);}[_0x5671d9(0x26b)](_0x57017b,_0x47268a,_0x2e7712,_0x36960d){const _0x363dbc=_0x5671d9;let _0x23715c=this['_activeShapeModel']['getShapeData']()['relation'],_0x231d70={..._0x23715c},_0x247819={'shapeId':_0x47268a['shapeId'],'cxnIndex':_0x47268a['cxnIndex']};_0x2e7712?_0x231d70['from']=_0x247819:_0x231d70['to']=_0x247819;let _0x2cd0c3=this[_0x363dbc(0x194)][_0x363dbc(0x347)](),_0x577150=(0x0,_0x287478[_0x363dbc(0x11b)])(_0x57017b[_0x363dbc(0x3d2)],_0x2cd0c3),_0x26a190={'unitId':this[_0x363dbc(0x48e)],'subUnitId':this[_0x363dbc(0x1f0)],'connectorShapeId':this[_0x363dbc(0x166)],'width':_0x57017b['worldRect'][_0x363dbc(0x439)],'height':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x2ea)],'left':_0x57017b['worldRect']['left'],'top':_0x57017b[_0x363dbc(0x42b)][_0x363dbc(0x1e1)],'flipX':_0x57017b[_0x363dbc(0x42b)]['flipX']||!0x1,'flipY':_0x57017b[_0x363dbc(0x42b)]['flipY']||!0x1,'newAdjustValues':_0x577150[_0x363dbc(0x16c)],'oldAdjustValues':_0x36960d,'oldRelation':_0x23715c,'newRelation':_0x231d70,'newLineType':_0x577150[_0x363dbc(0x1f2)],'oldLineType':_0x2cd0c3};this[_0x363dbc(0x39a)][_0x363dbc(0x1f9)](_0x276c17[_0x363dbc(0x3ea)]['id'],_0x26a190);}['_executeResizeCommand'](_0x4dd1b,_0x4262fa){const _0x2a9e13=_0x5671d9;let _0x2b7205=this[_0x2a9e13(0x194)][_0x2a9e13(0x347)](),_0x1a76e2=(0x0,_0x287478[_0x2a9e13(0x11b)])(_0x4dd1b[_0x2a9e13(0x3d2)],_0x2b7205),_0x373afa={'unitId':this['_unitId'],'subUnitId':this[_0x2a9e13(0x1f0)],'shapeId':this[_0x2a9e13(0x166)],'width':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x439)],'height':_0x4dd1b['worldRect'][_0x2a9e13(0x2ea)],'left':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x32c)],'top':_0x4dd1b['worldRect'][_0x2a9e13(0x1e1)],'flipX':_0x4dd1b['worldRect'][_0x2a9e13(0x160)]||!0x1,'flipY':_0x4dd1b[_0x2a9e13(0x42b)][_0x2a9e13(0x481)]||!0x1,'angle':_0x4dd1b['worldRect'][_0x2a9e13(0x46e)]||0x0,'newAdjustValues':_0x1a76e2[_0x2a9e13(0x16c)],'oldAdjustValues':_0x4262fa,'newLineType':_0x1a76e2[_0x2a9e13(0x1f2)],'oldLineType':_0x2b7205};this[_0x2a9e13(0x39a)][_0x2a9e13(0x1f9)](_0x276c17['UpdateLineShapeResizeCommand']['id'],_0x373afa);}[_0x5671d9(0x16e)](_0xcc5509,_0x4a4af2,_0x457d33,_0x17461a,_0xcf45af){const _0x86866b=_0x5671d9;let _0x3c3c54=this[_0x86866b(0x194)][_0x86866b(0xe8)]()['relation'],_0x338617={..._0x3c3c54},_0x38a097={'shapeId':_0x4a4af2[_0x86866b(0x37d)],'cxnIndex':_0x4a4af2[_0x86866b(0xcb)]};_0x17461a?(_0x338617['from']=_0x38a097,_0x338617['to']=_0x457d33):(_0x338617[_0x86866b(0x2c0)]=_0x457d33,_0x338617['to']=_0x38a097);let _0x3763f1={'unitId':this[_0x86866b(0x48e)],'subUnitId':this[_0x86866b(0x1f0)],'connectorShapeId':this[_0x86866b(0x166)],'width':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x439)],'height':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x2ea)],'left':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x32c)],'top':_0xcc5509['worldRect'][_0x86866b(0x1e1)],'flipX':_0xcc5509[_0x86866b(0x42b)]['flipX']||!0x1,'flipY':_0xcc5509[_0x86866b(0x42b)][_0x86866b(0x481)]||!0x1,'oldAdjustValues':_0xcf45af,'newAdjustValues':_0xcc5509[_0x86866b(0x16c)],'newLineType':_0xcc5509[_0x86866b(0x1f2)],'rotation':_0xcc5509[_0x86866b(0x374)],'oldRelation':_0x3c3c54,'newRelation':_0x338617};this[_0x86866b(0x39a)][_0x86866b(0x1f9)](_0x276c17['UpdateConnectorRelationCommand']['id'],_0x3763f1);}[_0x5671d9(0x2bb)](_0x488a9a,_0x2ff61b,_0x2a53e5,_0x4dff4e){const _0x35cb0b=_0x5671d9;let _0x162f07=this[_0x35cb0b(0x194)][_0x35cb0b(0xe8)]()[_0x35cb0b(0x1a8)],_0x48dc3c={};_0x2a53e5?(_0x48dc3c['to']=_0x2ff61b,_0x48dc3c[_0x35cb0b(0x2c0)]=void 0x0):(_0x48dc3c[_0x35cb0b(0x2c0)]=_0x2ff61b,_0x48dc3c['to']=void 0x0);let _0x4d1bb2={'unitId':this[_0x35cb0b(0x48e)],'subUnitId':this[_0x35cb0b(0x1f0)],'connectorShapeId':this[_0x35cb0b(0x166)],'width':_0x488a9a['worldRect'][_0x35cb0b(0x439)],'height':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x2ea)],'left':_0x488a9a[_0x35cb0b(0x42b)]['left'],'top':_0x488a9a[_0x35cb0b(0x42b)][_0x35cb0b(0x1e1)],'flipX':_0x488a9a[_0x35cb0b(0x42b)]['flipX']||!0x1,'flipY':_0x488a9a['worldRect'][_0x35cb0b(0x481)]||!0x1,'oldAdjustValues':_0x4dff4e,'newAdjustValues':_0x488a9a['adjustValues'],'newLineType':_0x488a9a[_0x35cb0b(0x1f2)],'rotation':_0x488a9a['rotation'],'oldRelation':_0x162f07,'newRelation':_0x48dc3c};this[_0x35cb0b(0x39a)]['executeCommand'](_0x276c17[_0x35cb0b(0x3ea)]['id'],_0x4d1bb2);}[_0x5671d9(0x103)](_0x50b9f8,_0x2ff342,_0x3b258b){const _0x2c021b=_0x5671d9;this[_0x2c021b(0x252)]((0x0,_0x383631[_0x2c021b(0x292)])(_0x50b9f8[_0x2c021b(0xe5)][_0x2c021b(0x17a)]((_0x1ac193,_0x5207ce)=>{const _0x34fa3=_0x2c021b;let _0x1e4a9c=_0x50b9f8[_0x34fa3(0x4cd)]();if(this['_activeShapeModel']=this[_0x34fa3(0xd0)][_0x34fa3(0x3a8)](_0x1e4a9c[_0x34fa3(0x173)],_0x1e4a9c[_0x34fa3(0x135)],_0x1e4a9c[_0x34fa3(0x493)]),!this[_0x34fa3(0x194)])return;let _0x5dd65f={};this[_0x34fa3(0x194)]['getAdjustNames']()[_0x34fa3(0x3a7)](_0x25268b=>{const _0x1d9ad1=_0x34fa3;let _0x29802a=this[_0x1d9ad1(0x194)][_0x1d9ad1(0x440)](_0x25268b);_0x29802a!==void 0x0&&(_0x5dd65f[_0x25268b]=_0x29802a);});let _0x81ecf6=this[_0x34fa3(0x1c8)]();if(!_0x81ecf6)return;this['_baseDrawingRect']={..._0x81ecf6};let _0x14122c=new _0x287478[(_0x34fa3(0x2ec))](this[_0x34fa3(0x209)]),_0x379480=(0x0,_0x279593[_0x34fa3(0x201)])({'unitId':this[_0x34fa3(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x34fa3(0x166)]}),_0x362b9f=_0x2ff342[_0x34fa3(0x327)](_0x379480);this[_0x34fa3(0x128)]=!0x0,_0x2ff342[_0x34fa3(0x457)](),this[_0x34fa3(0x1de)][_0x34fa3(0x359)](_0x2ff342,this[_0x34fa3(0x48e)],this[_0x34fa3(0x1f0)],this[_0x34fa3(0x166)]),this[_0x34fa3(0x19d)]=null;let _0x57f541=this[_0x34fa3(0x194)][_0x34fa3(0x4c4)](),_0x303849=_0x57f541[0x0],_0x460bf1=_0x57f541[_0x57f541[_0x34fa3(0x175)]-0x1],_0x4fa993=_0x3b258b?_0x14122c[_0x34fa3(0xf7)](_0x460bf1):_0x14122c[_0x34fa3(0xf7)](_0x303849);this[_0x34fa3(0x16f)]=_0x2ff342['onPointerMove$'][_0x34fa3(0x17a)]((_0x4c267c,_0x4c1014)=>{const _0x150910=_0x34fa3;if(!this['_isConnecting']||!this['_activeShapeModel'])return;this[_0x150910(0x41d)]||=(this[_0x150910(0x100)][_0x150910(0x386)](),this[_0x150910(0x194)][_0x150910(0x203)](),!0x0);let _0x404a3a=this[_0x150910(0x4a4)](this['_unitId'],this[_0x150910(0x1f0)]),_0x8ca1c6=this[_0x150910(0x36c)](this[_0x150910(0x48e)],this[_0x150910(0x1f0)]),_0x487d5e={'x':_0x4c267c[_0x150910(0x388)]/_0x8ca1c6+_0x404a3a['x'],'y':_0x4c267c[_0x150910(0x41c)]/_0x8ca1c6+_0x404a3a['y']},_0x168f66=this[_0x150910(0x1de)][_0x150910(0x1c7)](_0x487d5e);if(_0x168f66){let {shapeId:_0x240701,unitId:_0x21316b,subUnitId:_0x4d3d26}=_0x168f66;if(_0x240701&&_0x21316b&&_0x4d3d26){let _0x55ed99=(0x0,_0x279593[_0x150910(0x201)])({'unitId':_0x21316b,'subUnitId':_0x4d3d26,'drawingId':_0x240701});_0x168f66[_0x150910(0x46e)]=(_0x2ff342['getObjectIncludeInGroup'](_0x55ed99)[_0x150910(0x46e)]||0x0)+_0x168f66[_0x150910(0x46e)];}}this[_0x150910(0x19d)]=_0x168f66;let _0x49d63e=_0x3b258b?this[_0x150910(0x194)][_0x150910(0x3cf)]():this[_0x150910(0x194)][_0x150910(0x39c)]();if(_0x49d63e){this[_0x150910(0x11c)](_0x49d63e,_0x487d5e,_0x3b258b,_0x362b9f,_0x50b9f8);return;}this['_handleFreeEndpointMove'](_0x487d5e,_0x4fa993,_0x3b258b,_0x362b9f,_0x50b9f8);}),this['_cxtHandlerPointerUp']=_0x2ff342[_0x34fa3(0x243)][_0x34fa3(0x17a)]((_0x394cde,_0x5de4de)=>{this['_handleConnectorPointerUp'](_0x2ff342,_0x4fa993,_0x394cde,_0x3b258b,_0x5dd65f);}),_0x5207ce[_0x34fa3(0x425)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x26cfce,_0x31c0b0,_0x4954ae){const _0x43adca=_0x5671d9;let _0x4c2350=this[_0x43adca(0xd0)]['getBasicShapeRelation'](_0x26cfce,_0x31c0b0,_0x4954ae);if(!_0x4c2350||_0x4c2350[_0x43adca(0x175)]===0x0)return;let _0x454670=this[_0x43adca(0x42d)][_0x43adca(0x1fa)](_0x26cfce);if(!_0x454670)return;let {scene:_0xfd05bb}=_0x454670;for(let _0x142c24 of _0x4c2350){let _0x4ffe0a=_0x142c24[_0x43adca(0x1cd)],_0xf1d8e9=this[_0x43adca(0xd0)][_0x43adca(0x3a8)](_0x26cfce,_0x31c0b0,_0x4ffe0a);if(!_0xf1d8e9)continue;let _0x1bea5e=_0xf1d8e9[_0x43adca(0x39c)](),_0x3c2e46=_0xf1d8e9[_0x43adca(0x3cf)](),_0x3174ff=(_0x1bea5e==null?void 0x0:_0x1bea5e[_0x43adca(0x37d)])===_0x4954ae,_0x43c5d1=(0x0,_0x279593[_0x43adca(0x201)])({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a}),_0x3a7f9b=_0xfd05bb[_0x43adca(0x327)](_0x43c5d1);if(!_0x3a7f9b)continue;let _0x409faf=this['_drawingManagerService'][_0x43adca(0x14d)]({'unitId':_0x26cfce,'subUnitId':_0x31c0b0,'drawingId':_0x4ffe0a});_0x409faf!=null&&_0x409faf['transform']&&(_0x1bea5e&&_0x3c2e46?this[_0x43adca(0x348)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x1bea5e,_0x3c2e46,_0x3a7f9b):this[_0x43adca(0x448)](_0x26cfce,_0x31c0b0,_0x4ffe0a,_0xf1d8e9,_0x3174ff?_0x1bea5e:_0x3c2e46,_0x3174ff,_0x409faf,_0x3a7f9b));}}[_0x5671d9(0x348)](_0x5325aa,_0x107df5,_0x4e816f,_0x5eb96b,_0x57a8da,_0x3a9974,_0x3a5680){const _0x2b1fea=_0x5671d9;let _0x23a2b1=this['_unitId'],_0xf9c63f=this['_subUnitId'];this[_0x2b1fea(0x48e)]=_0x5325aa,this[_0x2b1fea(0x1f0)]=_0x107df5;let _0x9373=this['_getConnectPointInfo'](_0x57a8da),_0x15abea=this[_0x2b1fea(0x334)](_0x3a9974);if(this['_unitId']=_0x23a2b1,this[_0x2b1fea(0x1f0)]=_0xf9c63f,!_0x9373||!_0x15abea)return;let _0x2c7813=_0x5eb96b['getShapeType'](),_0x3a05a8=(0x0,_0x287478['routeConnectorLineShape'])(_0x9373,_0x15abea,_0x2c7813);_0x3a05a8&&_0x5eb96b[_0x2b1fea(0x4b3)](_0x3a05a8);let _0x369f40=(0x0,_0x287478[_0x2b1fea(0x11b)])(_0x3a05a8,_0x2c7813);_0x369f40[_0x2b1fea(0x1f2)]!==_0x2c7813&&_0x5eb96b[_0x2b1fea(0x1db)](_0x369f40[_0x2b1fea(0x1f2)]),_0x5eb96b[_0x2b1fea(0x203)]();for(let [_0xa85726,_0x12813c]of Object['entries'](_0x369f40[_0x2b1fea(0x16c)]))_0x5eb96b[_0x2b1fea(0x290)](_0xa85726,_0x12813c);_0x5eb96b['updateContext']({'width':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x439)],'height':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x2ea)]}),_0x3a5680[_0x2b1fea(0x315)]({'flipX':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x160)],'flipY':_0x369f40['worldRect'][_0x2b1fea(0x481)],'left':_0x369f40['worldRect'][_0x2b1fea(0x32c)],'top':_0x369f40[_0x2b1fea(0x42b)][_0x2b1fea(0x1e1)],'width':_0x369f40[_0x2b1fea(0x42b)]['width'],'height':_0x369f40['worldRect'][_0x2b1fea(0x2ea)],'angle':_0x369f40[_0x2b1fea(0x374)]}),_0x5eb96b[_0x2b1fea(0x1eb)]();}['_moveConnectorWithShape'](_0x51e4a9,_0x1e98a8,_0x5e3f0a,_0x423bc6,_0x278416,_0x58c03e,_0x4876b0,_0x1033d7){const _0xf4d948=_0x5671d9;let _0x40ff3c=this[_0xf4d948(0x48e)],_0xf95dfc=this[_0xf4d948(0x1f0)];this['_unitId']=_0x51e4a9,this[_0xf4d948(0x1f0)]=_0x1e98a8;let _0x331bb5=this[_0xf4d948(0x334)](_0x278416);if(this['_unitId']=_0x40ff3c,this[_0xf4d948(0x1f0)]=_0xf95dfc,!_0x331bb5)return;let {left:_0x16fe4b=0x0,top:_0x52149d=0x0,width:_0x5ab2ed=0x0,height:_0x2d0447=0x0,flipX:_0x4b3ea4=!0x1,flipY:_0x50b902=!0x1}=_0x4876b0[_0xf4d948(0x2c6)],_0x44ddb8=_0x423bc6[_0xf4d948(0x4c4)]();if(_0x44ddb8[_0xf4d948(0x175)]<0x2)return;let _0x5677d2=new _0x287478[(_0xf4d948(0x2ec))]({'left':_0x16fe4b,'top':_0x52149d,'width':_0x5ab2ed,'height':_0x2d0447,'flipX':_0x4b3ea4,'flipY':_0x50b902}),_0x333ffc=_0x58c03e?_0x44ddb8[_0x44ddb8['length']-0x1]:_0x44ddb8[0x0],_0xaa5234=_0x5677d2[_0xf4d948(0xf7)](_0x333ffc),_0x5d70a5=_0x287478[_0xf4d948(0x2ec)]['computeConnectorResizeLayout'](_0xaa5234,_0x331bb5[_0xf4d948(0x32b)],!_0x58c03e);_0x1033d7[_0xf4d948(0x315)]({'flipX':_0x5d70a5['worldRect'][_0xf4d948(0x160)],'flipY':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x481)],'left':_0x5d70a5['worldRect']['left'],'top':_0x5d70a5['worldRect'][_0xf4d948(0x1e1)],'width':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x439)],'height':_0x5d70a5[_0xf4d948(0x42b)][_0xf4d948(0x2ea)],'angle':_0x5d70a5['worldRect'][_0xf4d948(0x46e)]}),_0x1033d7[_0xf4d948(0x33a)](!0x0);}[_0x5671d9(0x478)](){const _0x4100ed=_0x5671d9;this[_0x4100ed(0x1a1)][_0x4100ed(0x175)]!==0x0&&(this['_connectorObjects'][_0x4100ed(0x3a7)](_0x4db9e4=>{const _0x52ab51=_0x4100ed;_0x4db9e4[_0x52ab51(0x39f)]();}),this['_connectorObjects']=[]);}[_0x5671d9(0x497)](){const _0x58925e=_0x5671d9;let _0x1e8af5=this[_0x58925e(0x434)]['getCurrentTypeOfUnit$'](_0x383631['UniverInstanceType']['UNIVER_SHEET']);this[_0x58925e(0x252)](_0x1e8af5[_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0x183ac8=>_0x183ac8?_0x183ac8['activeSheet$'][_0x58925e(0x33d)]((0x0,_0x4250df[_0x58925e(0x1bd)])(_0xfb2451=>{const _0x25dcb8=_0x58925e;if(!_0xfb2451)return _0x4250df[_0x25dcb8(0x15b)];let _0x18bec2=_0x183ac8[_0x25dcb8(0x358)](),_0x28a152=this[_0x25dcb8(0x42d)]['getRenderUnitById'](_0x18bec2),_0x1aa4c7=_0x28a152==null?void 0x0:_0x28a152[_0x25dcb8(0x333)];return _0x1aa4c7?(0x0,_0x4250df['of'])(_0x1aa4c7):_0x4250df[_0x25dcb8(0x15b)];})):_0x4250df[_0x58925e(0x15b)]))[_0x58925e(0x317)](_0x32cb7c=>{const _0x34ecac=_0x58925e;let _0x54f78f=_0x32cb7c[_0x34ecac(0x178)]();this['disposeWithMe'](_0x32cb7c['onPointerMove$'][_0x34ecac(0x17a)](_0x38581e=>{const _0x4a949a=_0x34ecac;this[_0x4a949a(0x20e)]&&this[_0x4a949a(0x166)]&&this[_0x4a949a(0x478)]();})),this['disposeWithMe'](_0x54f78f[_0x34ecac(0x443)][_0x34ecac(0x317)](_0x423c5f=>{const _0x48ea9d=_0x34ecac;let {objects:_0xeb93ea}=_0x423c5f;this[_0x48ea9d(0x478)](),_0xeb93ea!==null&&_0xeb93ea[_0x48ea9d(0x23c)]===0x1&&_0xeb93ea[_0x48ea9d(0x206)]()[_0x48ea9d(0x289)]()[_0x48ea9d(0x320)]instanceof _0x23237e&&(this[_0x48ea9d(0x20e)]=!0x0);})),this[_0x34ecac(0x252)](_0x54f78f['changing$'][_0x34ecac(0x317)](_0x11ebd2=>{const _0x421aff=_0x34ecac;this['_isDrawingShapePointDown']&&this[_0x421aff(0x478)]();})),this[_0x34ecac(0x252)](_0x32cb7c[_0x34ecac(0x243)][_0x34ecac(0x17a)](()=>{const _0x3ea33b=_0x34ecac;this[_0x3ea33b(0x20e)]&&(this[_0x3ea33b(0x20e)]=!0x1,this[_0x3ea33b(0x131)]());})),this[_0x34ecac(0x252)](_0x54f78f[_0x34ecac(0x3c2)][_0x34ecac(0x317)](()=>{const _0x3f2ab1=_0x34ecac;this[_0x3f2ab1(0x48e)]&&this[_0x3f2ab1(0x1f0)]&&this[_0x3f2ab1(0x166)]&&this[_0x3f2ab1(0x306)][_0x3f2ab1(0x14d)]({'unitId':this[_0x3f2ab1(0x48e)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3f2ab1(0x166)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x3f2ab1(0x131)]());}));}));}[_0x5671d9(0x365)](){const _0x501fe4=_0x5671d9;this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x262)][_0x501fe4(0x317)](_0x3e417e=>{const _0x4289b4=_0x501fe4;if(_0x3e417e['length']===0x1){let _0x4e2955=_0x3e417e[0x0];if(_0x4e2955[_0x4289b4(0x3d6)]===_0x383631[_0x4289b4(0x286)][_0x4289b4(0x456)]){let _0x18a817=this[_0x4289b4(0xd0)]['getShapeModel'](_0x4e2955['unitId'],_0x4e2955[_0x4289b4(0x135)],_0x4e2955[_0x4289b4(0x493)]);if(_0x18a817&&(0x0,_0x287478[_0x4289b4(0x4d2)])(_0x18a817[_0x4289b4(0x347)]())){this['_activeShapeId']=_0x4e2955[_0x4289b4(0x493)],this[_0x4289b4(0x48e)]=_0x4e2955[_0x4289b4(0x173)],this[_0x4289b4(0x1f0)]=_0x4e2955[_0x4289b4(0x135)],this[_0x4289b4(0x478)](),this[_0x4289b4(0x131)]();return;}}}this[_0x4289b4(0x166)]=void 0x0,this['_unitId']=void 0x0,this[_0x4289b4(0x1f0)]=void 0x0,this[_0x4289b4(0x478)]();})),this[_0x501fe4(0x252)](this[_0x501fe4(0x306)][_0x501fe4(0x294)][_0x501fe4(0x317)](_0x4b4671=>{const _0x4d0346=_0x501fe4;if(_0x4b4671['length']===0x1){var _0x2e061d;let _0x23ccde=_0x4b4671[0x0],_0x3a949f=(_0x2e061d=this[_0x4d0346(0x306)]['getDrawingByParam'](_0x23ccde))==null?void 0x0:_0x2e061d[_0x4d0346(0x3d6)];_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&_0x23ccde[_0x4d0346(0x493)]===this[_0x4d0346(0x166)]?(this['_clearShapeConnectorHandlerObjects'](),this[_0x4d0346(0x131)]()):!this[_0x4d0346(0x166)]&&_0x3a949f===_0x383631[_0x4d0346(0x286)][_0x4d0346(0x456)]&&this[_0x4d0346(0x11f)](_0x23ccde[_0x4d0346(0x173)],_0x23ccde[_0x4d0346(0x135)],_0x23ccde[_0x4d0346(0x493)]);}})),this['disposeWithMe'](this[_0x501fe4(0x306)][_0x501fe4(0x1d5)][_0x501fe4(0x317)](_0x49a4e9=>{const _0x47b7fb=_0x501fe4;for(let _0x1466e1 of _0x49a4e9){let {drawingId:_0x4de62c}=_0x1466e1;if(this[_0x47b7fb(0x166)]===_0x4de62c){this[_0x47b7fb(0x241)]();return;}}}));}[_0x5671d9(0x11c)](_0x32cf96,_0x31d3cc,_0xde2416,_0x18e9f6,_0xd7b60){const _0x456eeb=_0x5671d9;var _0x1e378b;if(!this['_activeShapeModel'])return;let _0x53977b=this[_0x456eeb(0x334)](_0x32cf96);if(!_0x53977b)return;let _0x45a19c=this[_0x456eeb(0x19d)]?this['_currentConnectionTarget']['worldPoint']:_0x31d3cc,_0x2080b6=this[_0x456eeb(0x19d)]?this[_0x456eeb(0x19d)][_0x456eeb(0x46e)]:this[_0x456eeb(0x174)](_0x53977b[_0x456eeb(0x32b)],_0x45a19c),_0x5b4013;if(this[_0x456eeb(0x19d)]){let _0x21bae0=this['_drawingManagerService'][_0x456eeb(0x14d)]({'unitId':this[_0x456eeb(0x19d)][_0x456eeb(0x173)],'subUnitId':this[_0x456eeb(0x19d)][_0x456eeb(0x135)],'drawingId':this[_0x456eeb(0x19d)][_0x456eeb(0x37d)]});if(_0x21bae0!=null&&_0x21bae0['transform']){let {left:_0x17af72=0x0,top:_0x2e454e=0x0,width:_0x11cad3=0x0,height:_0x2f887d=0x0,angle:_0x38e193}=_0x21bae0[_0x456eeb(0x2c6)];_0x5b4013=(0x0,_0x287478[_0x456eeb(0x27b)])({'left':_0x17af72,'top':_0x2e454e,'width':_0x11cad3,'height':_0x2f887d},_0x38e193||0x0);}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};}else _0x5b4013={'left':_0x45a19c['x'],'top':_0x45a19c['y'],'width':0x0,'height':0x0};let _0x54bb4b={'point':_0x45a19c,'angle':_0x2080b6,'bounds':_0x5b4013},_0x4da14d=_0xde2416?_0x54bb4b:_0x53977b,_0x18c9e6=_0xde2416?_0x53977b:_0x54bb4b,_0x4c4828=this[_0x456eeb(0x194)][_0x456eeb(0x347)](),_0x2c8bc3=(0x0,_0x287478['routeConnectorLineShape'])(_0x4da14d,_0x18c9e6,_0x4c4828);_0x2c8bc3&&this[_0x456eeb(0x194)][_0x456eeb(0x4b3)](_0x2c8bc3);let _0x40cce0=(0x0,_0x287478['computeConnectorRouteLayout'])(_0x2c8bc3,_0x4c4828);_0x40cce0[_0x456eeb(0x1f2)]!==_0x4c4828&&this[_0x456eeb(0x194)][_0x456eeb(0x1db)](_0x40cce0[_0x456eeb(0x1f2)]);for(let [_0x1aa38b,_0xfb0eb5]of Object['entries'](_0x40cce0['adjustValues']))this[_0x456eeb(0x194)][_0x456eeb(0x290)](_0x1aa38b,_0xfb0eb5);this['_activeShapeModel'][_0x456eeb(0x288)]({'width':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x439)],'height':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x2ea)]}),_0x18e9f6[_0x456eeb(0x315)]({'flipX':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x160)],'flipY':_0x40cce0['worldRect'][_0x456eeb(0x481)],'left':_0x40cce0['worldRect'][_0x456eeb(0x32c)],'top':_0x40cce0[_0x456eeb(0x42b)][_0x456eeb(0x1e1)],'width':_0x40cce0['worldRect'][_0x456eeb(0x439)],'height':_0x40cce0['worldRect'][_0x456eeb(0x2ea)],'angle':_0x40cce0[_0x456eeb(0x374)]}),_0x18e9f6[_0x456eeb(0x33a)](!0x0);let _0x272567=((_0x1e378b=this[_0x456eeb(0x19d)])==null?void 0x0:_0x1e378b[_0x456eeb(0x2c3)])??_0x31d3cc;_0xd7b60[_0x456eeb(0x315)]({'left':_0x272567['x']-_0x287478[_0x456eeb(0x10a)]['cxnPointRadius'],'top':_0x272567['y']-_0x287478['ShapeDefaultConfig'][_0x456eeb(0xd9)]});}[_0x5671d9(0x143)](_0x582284,_0x3b7b9c,_0x49f172,_0xad524d,_0x167ce4){const _0xc10dab=_0x5671d9;var _0x5be945,_0xfcd2b;let _0x1a88ea=((_0x5be945=this[_0xc10dab(0x19d)])==null?void 0x0:_0x5be945['worldPoint'])??_0x582284,_0x42ef95=_0x287478[_0xc10dab(0x2ec)][_0xc10dab(0x162)](_0x3b7b9c,_0x1a88ea,_0x49f172);_0xad524d[_0xc10dab(0x315)]({'flipX':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x160)],'flipY':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x481)],'left':_0x42ef95[_0xc10dab(0x42b)][_0xc10dab(0x32c)],'top':_0x42ef95[_0xc10dab(0x42b)]['top'],'width':_0x42ef95['worldRect'][_0xc10dab(0x439)],'height':_0x42ef95[_0xc10dab(0x42b)]['height'],'angle':_0x42ef95[_0xc10dab(0x42b)]['angle']});let _0x2662d5=((_0xfcd2b=this['_currentConnectionTarget'])==null?void 0x0:_0xfcd2b[_0xc10dab(0x2c3)])??_0x582284;_0x167ce4[_0xc10dab(0x315)]({'left':_0x2662d5['x']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)],'top':_0x2662d5['y']-_0x287478[_0xc10dab(0x10a)][_0xc10dab(0xd9)]});}['_getConnectPointInfo'](_0x303be3){const _0x4ba49f=_0x5671d9;if(!this[_0x4ba49f(0x48e)]||!this[_0x4ba49f(0x1f0)])return null;let {shapeId:_0x5a8e81,cxnIndex:_0x2e5bf9}=_0x303be3,_0xa00510=this[_0x4ba49f(0xd0)][_0x4ba49f(0x3a8)](this[_0x4ba49f(0x48e)],this[_0x4ba49f(0x1f0)],_0x5a8e81);if(!_0xa00510)return null;let _0x4c94cf=this[_0x4ba49f(0x306)][_0x4ba49f(0x14d)]({'unitId':this[_0x4ba49f(0x48e)],'subUnitId':this[_0x4ba49f(0x1f0)],'drawingId':_0x5a8e81});if(!(_0x4c94cf!=null&&_0x4c94cf[_0x4ba49f(0x2c6)]))return null;let {left:_0x1c12ef=0x0,top:_0x530cf4=0x0,width:_0x12cc95=0x0,height:_0x10f8c9=0x0,flipX:_0x5af90c=!0x1,flipY:_0x403d41=!0x1,angle:_0x4d4c32}=_0x4c94cf[_0x4ba49f(0x2c6)];_0xa00510[_0x4ba49f(0x288)]({'width':_0x12cc95,'height':_0x10f8c9});let _0x126b52=_0xa00510[_0x4ba49f(0x475)]()[_0x4ba49f(0x3de)](_0x32b5d3=>_0x32b5d3[_0x4ba49f(0x368)]===_0x2e5bf9);if(!_0x126b52)return null;let _0x3dbee0=_0x5af90c?_0x12cc95-_0x126b52['x']:_0x126b52['x'],_0x384f08=_0x403d41?_0x10f8c9-_0x126b52['y']:_0x126b52['y'];if(_0x4d4c32!==0x0&&_0x4d4c32!=null){let _0x478203=_0x4d4c32*Math['PI']/0xb4,_0x575467=Math[_0x4ba49f(0x3bb)](_0x478203),_0x40c41a=Math[_0x4ba49f(0x417)](_0x478203),_0xee5cc1=_0x12cc95/0x2,_0x4b901e=_0x10f8c9/0x2,_0x33c1c0=_0x3dbee0-_0xee5cc1,_0xcab808=_0x384f08-_0x4b901e;_0x3dbee0=_0xee5cc1+_0x33c1c0*_0x575467-_0xcab808*_0x40c41a,_0x384f08=_0x4b901e+_0x33c1c0*_0x40c41a+_0xcab808*_0x575467;}_0x3dbee0+=_0x1c12ef,_0x384f08+=_0x530cf4;let _0x36800b=_0x126b52[_0x4ba49f(0x31b)]/0xea60;_0x5af90c&&(_0x36800b=0xb4-_0x36800b),_0x403d41&&(_0x36800b=-_0x36800b),_0x36800b+=_0x4d4c32||0x0,_0x36800b=(_0x36800b%0x168+0x168)%0x168;let _0x59286d=(0x0,_0x287478['getBasicShapeRotateBound'])({'left':_0x1c12ef,'top':_0x530cf4,'width':_0x12cc95,'height':_0x10f8c9},_0x4d4c32||0x0);return{'point':{'x':_0x3dbee0,'y':_0x384f08},'angle':_0x36800b,'bounds':_0x59286d};}[_0x5671d9(0x174)](_0x435a01,_0x8861d6){const _0xe6620b=_0x5671d9;let _0x5608c3=_0x8861d6['x']-_0x435a01['x'],_0x4ea85e=_0x8861d6['y']-_0x435a01['y'];return Math[_0xe6620b(0x190)](_0x5608c3)>=Math[_0xe6620b(0x190)](_0x4ea85e)?_0x5608c3>=0x0?0xb4:0x0:_0x4ea85e>=0x0?0x10e:0x5a;}[_0x5671d9(0x241)](){const _0x427358=_0x5671d9;this['_activeShapeId']=void 0x0,this['_unitId']=void 0x0,this['_subUnitId']=void 0x0,this[_0x427358(0x478)]();}[_0x5671d9(0x39f)](){const _0x5f141f=_0x5671d9;this['_clearShapeConnectorHandlerObjects'](),super[_0x5f141f(0x39f)]();}};_0x2d0bb9=_0x25a2aa([_0x4177c4(0x1,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x2,_0x1c3608['IRenderManagerService']),_0x4177c4(0x3,_0x279593['IDrawingManagerService']),_0x4177c4(0x4,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x243401)),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x53dc4d))],_0x2d0bb9);let _0x2dbe31=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x43ac8c,_0x30191b,_0x214d87){const _0x3de1ea=_0x5671d9;super(),this[_0x3de1ea(0xfc)]=_0x43ac8c,this['_drawingManagerService']=_0x30191b,this['_shapeRenderController']=_0x214d87,this[_0x3de1ea(0x1b2)]();}[_0x5671d9(0x1b2)](){const _0x117ad3=_0x5671d9;this[_0x117ad3(0x252)](this['_sheetPrintInterceptorService'][_0x117ad3(0x31c)]['intercept'](this[_0x117ad3(0xfc)][_0x117ad3(0x31c)]['getInterceptPoints']()[_0x117ad3(0xd1)],{'handler':(_0x23b979,_0xb7469a,_0x11cd22)=>{const _0x3f06b1=_0x117ad3;var _0x5e1e52;let {unitId:_0x3f7149,subUnitId:_0x215d12,scene:_0x2f7fa7,resourceCollector:_0x44361a}=_0xb7469a,_0x249706=(_0x5e1e52=this[_0x3f06b1(0x306)][_0x3f06b1(0x3d0)](_0x3f7149))==null?void 0x0:_0x5e1e52[_0x215d12];return _0x249706==null||_0x249706['order']['forEach'](_0x4b6efc=>{const _0x950022=_0x3f06b1;let _0x29a380=_0x249706['data'][_0x4b6efc];_0x29a380['drawingType']===_0x383631['DrawingTypeEnum'][_0x950022(0x456)]&&!_0x29a380[_0x950022(0x185)]&&this[_0x950022(0x281)]['renderDrawingShape'](_0x29a380,_0x2f7fa7,{'resourceCollector':_0x44361a});}),_0x11cd22(_0x23b979);}}));}};_0x2dbe31=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x446)])),_0x4177c4(0x1,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x57eebe))],_0x2dbe31);let _0x3c6deb=class extends _0x383631['Disposable']{constructor(_0x51206c,_0x2fafd3,_0x2e0b2a){const _0x578712=_0x5671d9;super(),this[_0x578712(0x39a)]=_0x51206c,this[_0x578712(0x114)]=_0x2fafd3,this[_0x578712(0x20a)]=_0x2e0b2a,this[_0x578712(0x325)]();}[_0x5671d9(0x325)](){const _0x50b3c3=_0x5671d9;this[_0x50b3c3(0x252)](this[_0x50b3c3(0x39a)][_0x50b3c3(0x3cd)](_0xd8a692=>{const _0x5ee4db=_0x50b3c3;let _0x275294,_0x145690;if(_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3e8)]['id']||_0xd8a692['id']===_0x276c17['SetShapeDrawingDataCommand']['id']||_0xd8a692['id']===_0x276c17[_0x5ee4db(0x3ea)]['id']){let _0x13a093=_0xd8a692[_0x5ee4db(0x4a7)];_0x275294=_0x13a093[_0x5ee4db(0x173)],_0x145690=_0x13a093['subUnitId'];}_0x275294&&_0x145690&&(this[_0x5ee4db(0x20a)][_0x5ee4db(0x12c)]({'workbookTypes':[_0x111c96[_0x5ee4db(0x121)]],'worksheetTypes':[_0x111c96[_0x5ee4db(0x293)]]},_0x275294,_0x145690)||this['_sheetPermissionCheckController'][_0x5ee4db(0x4a9)](this[_0x5ee4db(0x114)]['t'](_0x5ee4db(0x2a3))));}));}};_0x3c6deb=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x24e)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631['LocaleService'])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x111c96[_0x5671d9(0x48d)]))],_0x3c6deb);let _0xa77d06=class{constructor(_0x52a6c2){this['_renderManagerService']=_0x52a6c2;}['updateShapeFillImage'](_0x4323e1,_0x7d03e3){const _0x19ea9f=_0x5671d9;let _0x1d7716=this[_0x19ea9f(0x42d)][_0x19ea9f(0x1fa)](_0x4323e1[_0x19ea9f(0x173)]),_0xafebd=_0x1d7716==null?void 0x0:_0x1d7716['scene'];if(!_0xafebd)return;let _0x4bcb12=(0x0,_0x279593[_0x19ea9f(0x201)])(_0x4323e1),_0x20aa76=_0xafebd['getObjectIncludeInGroup'](_0x4bcb12);_0x20aa76==null||_0x20aa76[_0x19ea9f(0x2f5)](_0x7d03e3);}};_0xa77d06=_0x25a2aa([_0x4177c4(0x0,_0x1c3608[_0x5671d9(0x1fd)])],_0xa77d06);let _0x2ce7ec=class extends _0x383631[_0x5671d9(0x28b)]{constructor(_0x1dfad6=_0xda7fc9,_0x94d898,_0xbfc40f,_0x36e1cf,_0xe4953e){const _0x5289f5=_0x5671d9;super(),this['_config']=_0x1dfad6,this[_0x5289f5(0x1ef)]=_0x94d898,this[_0x5289f5(0x39a)]=_0xbfc40f,this[_0x5289f5(0x1b1)]=_0x36e1cf,this['_renderManagerService']=_0xe4953e;let {..._0x4f7eda}=(0x0,_0x383631[_0x5289f5(0xce)])({},_0xda7fc9,this[_0x5289f5(0x46f)]);this[_0x5289f5(0x1b1)][_0x5289f5(0x2d5)](_0x317c0c,_0x4f7eda),this['_initCommands']();}[_0x5671d9(0x35f)](){const _0x36ff00=_0x5671d9;this['_injector'][_0x36ff00(0x338)]([_0x15ba05]),this[_0x36ff00(0x1ef)][_0x36ff00(0x4be)](_0x15ba05),(0x0,_0x383631['registerDependencies'])(this[_0x36ff00(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x2ff)](){const _0x4dee17=_0x5671d9;(0x0,_0x383631[_0x4dee17(0x2c2)])(this[_0x4dee17(0x1ef)],[[_0x53dc4d],[_0x243401],[_0x544c39]]),(0x0,_0x383631[_0x4dee17(0xf5)])(this[_0x4dee17(0x1ef)],[[_0x544c39],[_0x243401]]),[[_0x53dc4d],[_0x2d7d8a],[_0x2d0bb9],[_0x2c3642]][_0x4dee17(0x3a7)](_0x109af7=>{const _0x38ab42=_0x4dee17;this[_0x38ab42(0x252)](this['_renderManagerService']['registerRenderModule'](_0x383631[_0x38ab42(0x363)][_0x38ab42(0x3e4)],_0x109af7));});}[_0x5671d9(0x28d)](){const _0x2677ae=_0x5671d9;(0x0,_0x383631['touchDependencies'])(this[_0x2677ae(0x1ef)],[[_0x403f30],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb]]);}[_0x5671d9(0x24d)](){const _0x2e39d9=_0x5671d9;this[_0x2e39d9(0x1ef)][_0x2e39d9(0x4be)](_0x403f30)[_0x2e39d9(0x380)]();}[_0x5671d9(0x3c8)](){const _0x572ada=_0x5671d9;[_0x45134c,_0x57882a,_0x39b8fc,_0x176123][_0x572ada(0x3a7)](_0x2fa612=>this[_0x572ada(0x252)](this[_0x572ada(0x39a)][_0x572ada(0x37f)](_0x2fa612)));}};_0x20dccc(_0x2ce7ec,_0x5671d9(0x435),_0x383631['UniverInstanceType']['UNIVER_SHEET']),_0x20dccc(_0x2ce7ec,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x2ce7ec,_0x5671d9(0x242),_0x42e456),_0x20dccc(_0x2ce7ec,'version',_0x1bfefd),_0x2ce7ec=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593['UniverDrawingPlugin'],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b[_0x5671d9(0x234)],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f[_0x5671d9(0x3f4)],_0x276c17[_0x5671d9(0x3a5)],_0x261221['UniverSheetsMobileUIPlugin'],_0x2a9d6c[_0x5671d9(0x36b)],_0x2f96d6[_0x5671d9(0x1a2)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x2ce7ec);let _0x24f5aa={'type':_0x383631[_0x5671d9(0x465)][_0x5671d9(0x229)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x5467e1(){const _0x712cec=_0x5671d9;let _0x5bf2b1=(0x0,_0x2f96d6[_0x712cec(0x19e)])(_0x279593['IDrawingManagerService']),_0x5bb60a=(0x0,_0x2f96d6[_0x712cec(0x26f)])(()=>_0x5bf2b1['focus$'],_0x5bf2b1[_0x712cec(0x486)](),!0x1,[_0x5bf2b1]);return _0x5bb60a[_0x712cec(0x175)]===0x0?null:(0x0,_0x4170e1[_0x712cec(0x157)])(_0x712cec(0x1a7),{'children':(0x0,_0x4170e1[_0x712cec(0x413)])(_0x712cec(0x1a7),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x4170e1[_0x712cec(0x157)])(_0x129810[_0x712cec(0x431)],{'drawings':_0x5bb60a,'hasCropper':!0x1}),(0x0,_0x4170e1[_0x712cec(0x157)])(_0x44e77f[_0x712cec(0x3c0)],{'drawings':_0x5bb60a})]})});}function _0x4aa9e6(_0x80fb3c){const _0x1e5abb=_0x5671d9;let {unitId:_0x5a714a,subUnitId:_0x2bebf7,shapeId:_0x1a9579}=_0x80fb3c,_0x15b2fe=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0x383631['ICommandService']),_0x215df9=(0x0,_0x2f96d6[_0x1e5abb(0x19e)])(_0xa77d06);return(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x2a9d6c[_0x1e5abb(0x36d)],{..._0x80fb3c,'positionEditor':(0x0,_0x4170e1[_0x1e5abb(0x157)])(_0x5467e1,{}),'onUpdateShapeData':(_0x30c388,_0x4f0106)=>{_0x100eae(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x30c388,_0x4f0106);},'onUpdateLineShapeData':(_0x32e071,_0x111860)=>{_0x9cff5f(_0x15b2fe,_0x5a714a,_0x2bebf7,_0x1a9579,_0x32e071,_0x111860);},'onUpdateShapeFillImage':_0x369615=>{const _0x4204fa=_0x1e5abb;_0x215df9[_0x4204fa(0x16b)]({'unitId':_0x5a714a,'subUnitId':_0x2bebf7,'drawingId':_0x1a9579},_0x369615);}});}function _0x508c98(_0x5ad81e){const _0x998c25=_0x5671d9;let _0x5b280e=(0x0,_0x2f96d6['useDependency'])(_0x2a9d6c[_0x998c25(0x259)]),_0x4b9362=(0x0,_0x2f96d6[_0x998c25(0x26f)])(()=>_0x5b280e[_0x998c25(0x233)],_0x5b280e[_0x998c25(0x257)](),!0x1,[_0x5b280e]),_0x24f6d4=_0x5ad81e[_0x998c25(0x2fe)][_0x998c25(0x1fc)];return!_0x24f6d4||!_0x4b9362?null:(0x0,_0x4170e1[_0x998c25(0x157)])(_0x147578,{..._0x24f6d4,'canvasElement':_0x5ad81e['popup'][_0x998c25(0x4ae)]});}function _0x147578(_0x3a16dd){const _0xdcd4fa=_0x5671d9;let _0x3bf1ab=(0x0,_0x2f96d6[_0xdcd4fa(0x19e)])(_0x383631['ICommandService']),_0x1b3c45=(0x0,_0x2f96d6['useDependency'])(_0x276c17[_0xdcd4fa(0x188)]),{unitId:_0x1cab4a,subUnitId:_0x3722d2,drawingId:_0xc35354,drawingType:_0x5d73c6,shapeType:_0x2ad6f9}=_0x3a16dd,[_0x51aed5,_0x3e6547]=(0x0,_0x6ed98f[_0xdcd4fa(0x3f3)])(_0x3a16dd[_0xdcd4fa(0x1a0)]),_0x2fbc4a=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x468)])(_0x51aed5),[_0x51aed5]),_0x10a3e2=(0x0,_0x6ed98f[_0xdcd4fa(0x420)])(()=>(0x0,_0x2a9d6c[_0xdcd4fa(0x11e)])(_0x51aed5),[_0x51aed5]);(0x0,_0x6ed98f[_0xdcd4fa(0x136)])(()=>{const _0x97abeb=_0xdcd4fa;let _0x566af6=_0x3bf1ab[_0x97abeb(0x15d)](_0x83bd77=>{const _0x228cdb=_0x97abeb;if(_0x83bd77['id']!==_0x276c17[_0x228cdb(0x250)]['id'])return;let _0x4341ea=_0x1b3c45['getShapeDataById'](_0x1cab4a,_0x3722d2,_0xc35354);_0x4341ea&&_0x3e6547(_0x4341ea);});return()=>_0x566af6[_0x97abeb(0x39f)]();},[_0x3bf1ab,_0xc35354,_0x1b3c45,_0x3722d2,_0x1cab4a]);let _0x18cd34=_0x2cf9c1=>{_0x3e6547(_0x96c146=>({..._0x96c146,..._0x2cf9c1}));},_0x822b40=_0x3172f6=>{const _0x173f70=_0xdcd4fa;let _0x372a53=(0x0,_0x2a9d6c[_0x173f70(0x1b9)])(_0x51aed5,_0x3172f6);_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'shapeText':_0x51aed5[_0x173f70(0x244)]}},_0x372a53),_0x18cd34(_0x372a53);},_0x33cf13=(0x0,_0x2a9d6c[_0xdcd4fa(0x46a)])({'hostType':_0x383631[_0xdcd4fa(0x363)][_0xdcd4fa(0x3e4)],'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'shapeId':_0xc35354,'shapeData':_0x51aed5,'onUpdateBinding':_0x373ddc=>{const _0x534826=_0xdcd4fa;let _0x345834={'formulaBinding':_0x373ddc};_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,{'oldShapeData':{'formulaBinding':_0x51aed5[_0x534826(0x339)]}},_0x345834),_0x18cd34(_0x345834);}});return(0x0,_0x4170e1[_0xdcd4fa(0x413)])(_0x4170e1[_0xdcd4fa(0x27f)],{'children':[(0x0,_0x4170e1['jsx'])(_0x2a9d6c[_0xdcd4fa(0xf8)],{'canvasElement':_0x3a16dd['canvasElement'],'shapeData':_0x51aed5,'shapeType':_0x2ad6f9,'textStyle':{'ff':_0x287478['ShapeDefaultConfig'][_0xdcd4fa(0x244)][_0xdcd4fa(0x146)],'fs':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x244)][_0xdcd4fa(0x1b4)],'cl':{'rgb':_0x287478[_0xdcd4fa(0x10a)]['shapeText'][_0xdcd4fa(0x151)]},..._0x2fbc4a},'textModel':_0x10a3e2?{'ha':_0x10a3e2['ha']??_0x383631['HorizontalAlign']['LEFT'],'va':_0x10a3e2['va']??_0x383631[_0xdcd4fa(0x2aa)][_0xdcd4fa(0x106)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x3c6)],'defaultGradientEndColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x32f)],'defaultStrokeColor':_0x287478[_0xdcd4fa(0x10a)][_0xdcd4fa(0x193)],'extensionGroups':_0x33cf13['extensionGroups'],'floatingObjectToolbarPosition':_0x2f96d6['FloatingObjectToolbarPosition'][_0xdcd4fa(0x2ba)],'onUpdateShapeData':(_0x3f54f6,_0xedd8d1)=>{_0x100eae(_0x3bf1ab,_0x1cab4a,_0x3722d2,_0xc35354,_0x3f54f6,_0xedd8d1),_0xedd8d1&&_0x18cd34(_0xedd8d1);},'onUpdateText':_0x822b40,'onOpenPanel':()=>{const _0x289ba3=_0xdcd4fa;_0x3bf1ab[_0x289ba3(0x1f9)](_0x57e247['id'],{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354});},'onDelete':()=>{const _0x53d06e=_0xdcd4fa;_0x3bf1ab[_0x53d06e(0x1f9)](_0x72b203[_0x53d06e(0x4a8)]['id'],{'unitId':_0x1cab4a,'drawings':[{'unitId':_0x1cab4a,'subUnitId':_0x3722d2,'drawingId':_0xc35354,'drawingType':_0x5d73c6}]});}}),_0x33cf13[_0xdcd4fa(0x414)]]});}function _0x2aa89d(_0x3c3ff6){const _0x3453a8=_0x5671d9;return!!_0x3c3ff6&&'axisAlignSheetTransform'in _0x3c3ff6&&_0x3453a8(0x1e4)in _0x3c3ff6;}let _0x2c4a36=(0x0,_0x6ed98f['memo'])(()=>{const _0x1a67d4=_0x5671d9;let _0x59c6b0=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0xc020ee),_0x509640=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x276c17[_0x1a67d4(0x188)]),_0x56008a=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x279593[_0x1a67d4(0xf1)]),_0x11f8d7=(0x0,_0x2f96d6['useDependency'])(_0x383631[_0x1a67d4(0x24e)]),_0x22c5fc=(0x0,_0x2f96d6['useDependency'])(_0x2f96d6[_0x1a67d4(0x349)]),_0x3f146f=(0x0,_0x2f96d6[_0x1a67d4(0x19e)])(_0x1c3608['IRenderManagerService']),_0x234a90=(0x0,_0x6ed98f['useMemo'])(()=>({'getShapeModel':(_0x50a331,_0xfc2c40,_0x202b3c)=>_0x509640[_0x1a67d4(0x3a8)](_0x50a331,_0xfc2c40,_0x202b3c),'getShapeData':(_0x562840,_0x4f7aaa,_0x53e25d)=>_0x509640[_0x1a67d4(0x21f)](_0x562840,_0x4f7aaa,_0x53e25d),'getDrawingTransform':(_0x4ec703,_0x338aa8,_0x124064)=>{const _0x54e701=_0x1a67d4;let _0x65dc10=_0x56008a[_0x54e701(0x14d)]({'unitId':_0x4ec703,'subUnitId':_0x338aa8,'drawingId':_0x124064});return _0x65dc10==null?void 0x0:_0x65dc10['transform'];},'updateShapeText':({unitId:_0x278676,subUnitId:_0x4fc31a,shapeId:_0x35f574,shapeText:_0x4e4e65,oldShapeText:_0x4d1c12,hostSize:_0x1d5bb7})=>{_0x22c5fc['run'](_0x278676,()=>{const _0x4e4e5c=_0x43eb;var _0x2aaac2;let _0x48db54=_0x11f8d7['syncExecuteCommand'](_0x57882a['id'],{'unitId':_0x278676,'subUnitId':_0x4fc31a,'shapeId':_0x35f574,'shapeData':{'shapeText':_0x4e4e65},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x4d1c12}}});if(!_0x48db54||!_0x1d5bb7)return _0x48db54;let _0x376fc6=_0x56008a[_0x4e4e5c(0x14d)]({'unitId':_0x278676,'subUnitId':_0x4fc31a,'drawingId':_0x35f574}),_0x563492=_0x376fc6==null?void 0x0:_0x376fc6[_0x4e4e5c(0x2c6)];if(!_0x2aa89d(_0x376fc6)||!_0x563492)return!0x1;let _0x34aea0={..._0x563492,'width':_0x1d5bb7['width'],'height':_0x1d5bb7[_0x4e4e5c(0x2ea)]},_0x1ce314=(_0x2aaac2=_0x3f146f[_0x4e4e5c(0x1fa)](_0x278676))==null||(_0x2aaac2=_0x2aaac2['with'](_0x261221[_0x4e4e5c(0x3fb)])[_0x4e4e5c(0x24b)](_0x4fc31a))==null?void 0x0:_0x2aaac2[_0x4e4e5c(0x404)];return _0x11f8d7[_0x4e4e5c(0x3e7)](_0x72b203[_0x4e4e5c(0x407)]['id'],{'unitId':_0x278676,'drawings':[{..._0x376fc6,'transform':_0x34aea0,'sheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0xed)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x1e4)]:_0x376fc6[_0x4e4e5c(0x1e4)],'axisAlignSheetTransform':_0x1ce314?(0x0,_0x72b203[_0x4e4e5c(0x3c9)])(_0x34aea0,_0x1ce314)??_0x376fc6[_0x4e4e5c(0x3af)]:_0x376fc6['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x4c5aa4,subUnitId:_0x496f36,shapeId:_0x184af1,width:_0x48cfcc,height:_0x5b5d28})=>{const _0x35ea5d=_0x1a67d4;var _0xe88e9b;let _0x19ca6f=_0x56008a[_0x35ea5d(0x14d)]({'unitId':_0x4c5aa4,'subUnitId':_0x496f36,'drawingId':_0x184af1}),_0x22ff7d=_0x19ca6f==null?void 0x0:_0x19ca6f[_0x35ea5d(0x2c6)];if(!_0x2aa89d(_0x19ca6f)||!_0x22ff7d)return;let _0x48bc3f={..._0x22ff7d,'width':_0x48cfcc,'height':_0x5b5d28},_0x4e2fc4=(_0xe88e9b=_0x3f146f[_0x35ea5d(0x1fa)](_0x4c5aa4))==null||(_0xe88e9b=_0xe88e9b[_0x35ea5d(0x438)](_0x261221['SheetSkeletonManagerService'])[_0x35ea5d(0x24b)](_0x496f36))==null?void 0x0:_0xe88e9b[_0x35ea5d(0x404)],_0xf3ad2b=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0xed)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f[_0x35ea5d(0x1e4)]:_0x19ca6f[_0x35ea5d(0x1e4)],_0x5e5cd5=_0x4e2fc4?(0x0,_0x72b203[_0x35ea5d(0x3c9)])(_0x48bc3f,_0x4e2fc4)??_0x19ca6f['axisAlignSheetTransform']:_0x19ca6f[_0x35ea5d(0x3af)];_0x11f8d7['executeCommand'](_0x72b203[_0x35ea5d(0x407)]['id'],{'unitId':_0x4c5aa4,'drawings':[{..._0x19ca6f,'transform':_0x48bc3f,'sheetTransform':_0xf3ad2b,'axisAlignSheetTransform':_0x5e5cd5}]});},'allowHostSizeShrink':({unitId:_0x46f915,subUnitId:_0x2b928b,shapeId:_0x29e1fb})=>(0x0,_0x2a9d6c[_0x1a67d4(0x3b5)])(_0x509640['getShapeDataById'](_0x46f915,_0x2b928b,_0x29e1fb)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x11f8d7,_0x56008a,_0x3f146f,_0x509640,_0x22c5fc]),_0x1e3ae3=(0x0,_0x6ed98f[_0x1a67d4(0x420)])(()=>({'viewportKeys':{'main':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN'],'leftTop':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_LEFT_TOP'],'top':_0x1c3608[_0x1a67d4(0x3e2)]['VIEW_MAIN_TOP'],'left':_0x1c3608[_0x1a67d4(0x3e2)][_0x1a67d4(0x2db)]},'getSkeleton':(_0x38f313,_0x2b5a26)=>{const _0x543ed3=_0x1a67d4;var _0x2f6a3b;return((_0x2f6a3b=_0x38f313[_0x543ed3(0x438)](_0x261221[_0x543ed3(0x3fb)])['getSkeletonParam'](_0x2b5a26[_0x543ed3(0x135)]))==null?void 0x0:_0x2f6a3b[_0x543ed3(0x404)])??null;}}),[]);return(0x0,_0x4170e1[_0x1a67d4(0x157)])(_0x2a9d6c[_0x1a67d4(0x287)],{'adapter':_0x234a90,'editingService':_0x59c6b0,'editorUnitId':_0x919f0e,'positionOptions':_0x1e3ae3});}),_0x581450=class extends _0x383631['Disposable']{constructor(_0x34bd98,_0x641ae){const _0x5b258e=_0x5671d9;super(),this[_0x5b258e(0x429)]=_0x34bd98,this['_iconManager']=_0x641ae,this['_registerIcons'](),this[_0x5b258e(0x254)]();}[_0x5671d9(0x18c)](){const _0x11bc15=_0x5671d9;this[_0x11bc15(0x34b)][_0x11bc15(0xf0)]('ObjectLayersIcon')||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'ObjectLayersIcon':_0x4c5ad8})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x34a))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'FlipHorizontalIcon':_0x534026})),this['_iconManager'][_0x11bc15(0xf0)](_0x11bc15(0x346))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'FlipVerticalIcon':_0x5e4242})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x402))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'BottomIcon':_0x3ff1ac})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x195))||this['disposeWithMe'](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveDownIcon':_0x119d55})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x168))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)][_0x11bc15(0x4c3)]({'MoveUpIcon':_0x33a333})),this[_0x11bc15(0x34b)][_0x11bc15(0xf0)](_0x11bc15(0x33b))||this[_0x11bc15(0x252)](this[_0x11bc15(0x34b)]['register']({'ShapeFormatSettingIcon':_0xc8fb54})),this[_0x11bc15(0x34b)]['has']('TopmostIcon')||this[_0x11bc15(0x252)](this['_iconManager'][_0x11bc15(0x4c3)]({'TopmostIcon':_0x5c98e7}));}[_0x5671d9(0x254)](){const _0x48cdec=_0x5671d9;this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x56e257,_0x4aa9e6)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x2f15dd,_0x55f3d8)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x3d6541,_0x177b13)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x5812e5,_0x266e1a)),this[_0x48cdec(0x429)][_0x48cdec(0x4be)](_0x129810['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x129810[_0x48cdec(0x387)],_0x18ae1b)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2a2c50,_0x508c98)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0xc4a475,_0x139dd6)),this['disposeWithMe'](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x566032,_0x145172)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x2ab86a,_0x5c4eaa)),this[_0x48cdec(0x252)](this['_componentManager'][_0x48cdec(0x4c3)](_0x317af2,_0x2f8371)),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)]['register'](_0x472fad,_0x2a9d6c[_0x48cdec(0x1c2)])),this[_0x48cdec(0x252)](this[_0x48cdec(0x429)][_0x48cdec(0x4c3)](_0x48cdec(0x1ec),_0x2c4a36));}};_0x581450=_0x25a2aa([_0x4177c4(0x0,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x426)])),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x2f96d6[_0x5671d9(0x421)]))],_0x581450);let _0x9e8d4d=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x39c6d7,_0x326f0a,_0x2903ce,_0x5deddf,_0x259307,_0x5bd6fe,_0x26ff3b,_0x2b5706,_0x38fa35){const _0x1d06ad=_0x5671d9;super();let _0x7b2d2a=_0x423f99=>{const _0x432472=_0x43eb;var _0x4eb757,_0x3f2f40;return(((_0x4eb757=_0x2b5706['getPermissionPoint'](new _0x111c96[(_0x432472(0x121))](_0x423f99['unitId'])['id']))==null?void 0x0:_0x4eb757[_0x432472(0x320)])??!0x0)&&(((_0x3f2f40=_0x2b5706[_0x432472(0x20b)](new _0x111c96['WorksheetEditPermission'](_0x423f99['unitId'],_0x423f99['subUnitId'])['id']))==null?void 0x0:_0x3f2f40['value'])??!0x0);},_0x386bbc=_0x2a9765=>_0x2a9765[_0x1d06ad(0x37d)]&&_0x7b2d2a(_0x2a9765)?_0x2903ce[_0x1d06ad(0x21f)](_0x2a9765[_0x1d06ad(0x173)],_0x2a9765[_0x1d06ad(0x135)],_0x2a9765['shapeId'])??null:null,_0x15ae0f=()=>{const _0x3d2497=_0x1d06ad;let _0x56119f=_0x259307[_0x3d2497(0x486)](),_0x9a3451=_0x56119f['length']===0x1?_0x56119f[0x0]:null;return(_0x9a3451==null?void 0x0:_0x9a3451[_0x3d2497(0x3d6)])===_0x383631[_0x3d2497(0x286)][_0x3d2497(0x456)]&&_0x9a3451[_0x3d2497(0x173)]===_0x39c6d7[_0x3d2497(0x173)]?{'unitId':_0x9a3451[_0x3d2497(0x173)],'subUnitId':_0x9a3451['subUnitId'],'shapeId':_0x9a3451[_0x3d2497(0x493)]}:null;};this['disposeWithMe']((0x0,_0x2a9d6c[_0x1d06ad(0x2bc)])(_0x39c6d7,_0x326f0a,{'changes$':(0x0,_0x4250df[_0x1d06ad(0xce)])(_0x259307[_0x1d06ad(0x262)],_0x5deddf[_0x1d06ad(0x3d8)],_0x2b5706[_0x1d06ad(0x364)]),'isActive':()=>{const _0x999eb9=_0x1d06ad;var _0x1b56bf;return((_0x1b56bf=_0x5bd6fe[_0x999eb9(0x3ee)]())==null?void 0x0:_0x1b56bf[_0x999eb9(0x358)]())===_0x39c6d7[_0x999eb9(0x173)]&&!_0x26ff3b[_0x999eb9(0x1cb)](_0x383631['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x259307['getFocusDrawings']()['some'](_0x597d68=>_0x597d68[_0x999eb9(0x173)]===_0x39c6d7[_0x999eb9(0x173)]);},'getSelectedTarget':_0x15ae0f,'getSource':()=>{let _0x462775=_0x15ae0f();return _0x462775?_0x386bbc(_0x462775):null;},'getTarget':_0x3b17cd=>{const _0x26f0df=_0x1d06ad;let _0x459eae=_0x39c6d7[_0x26f0df(0x333)]['pick'](new _0x1c3608[(_0x26f0df(0x266))](_0x3b17cd['offsetX'],_0x3b17cd[_0x26f0df(0x41c)]));if(!(_0x459eae instanceof _0x23237e))return null;let _0x4e879e={'unitId':_0x39c6d7[_0x26f0df(0x173)],'subUnitId':_0x459eae['subUnitId'],'shapeId':_0x459eae[_0x26f0df(0x37d)]};return _0x7b2d2a(_0x4e879e)?_0x4e879e:null;},'getShape':_0x386bbc,'update':(_0x518f3c,_0x1e3666,_0x4f99b3)=>_0x38fa35[_0x1d06ad(0x1f9)](_0x57882a['id'],{..._0x518f3c,'shapeData':_0x4f99b3,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x1e3666}})}));}};_0x9e8d4d=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x351)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x4,_0x279593['IDrawingManagerService']),_0x4177c4(0x5,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x6,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x7,_0x383631[_0x5671d9(0x495)]),_0x4177c4(0x8,_0x383631[_0x5671d9(0x24e)])],_0x9e8d4d);let _0x505fb5=_0x5671d9(0xf6),_0x42a752=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x360bd8,_0x35a366,_0x28c488,_0x1e43cb,_0x3aff4f,_0x18e4b4){const _0x61130a=_0x5671d9;super(),this[_0x61130a(0x220)]=_0x360bd8,this[_0x61130a(0x116)]=_0x35a366,this[_0x61130a(0x306)]=_0x28c488,this[_0x61130a(0x434)]=_0x1e43cb,this[_0x61130a(0x42d)]=_0x3aff4f,this['_shapeFloatingToolbarService']=_0x18e4b4,_0x20dccc(this,_0x61130a(0x447),!0x1),this[_0x61130a(0x220)][_0x61130a(0x461)](_0x5c037d),this[_0x61130a(0x252)]((0x0,_0x383631[_0x61130a(0x292)])(this['_drawingManagerService'][_0x61130a(0x262)][_0x61130a(0x317)](()=>this[_0x61130a(0x23f)]()))),this[_0x61130a(0x23f)]();}[_0x5671d9(0x39f)](){const _0x4dbb58=_0x5671d9;this['_shapeFloatingToolbarService'][_0x4dbb58(0x25f)](!0x1,_0x505fb5),this['_hide'](),super['dispose']();}[_0x5671d9(0x23f)](){const _0x387e24=_0x5671d9;var _0x3dc148;let _0x58b653=this['_drawingManagerService'][_0x387e24(0x486)](),_0x45e149=_0x58b653[_0x387e24(0x175)]===0x1?_0x58b653[0x0]:void 0x0;if((_0x45e149==null?void 0x0:_0x45e149[_0x387e24(0x3d6)])!==_0x383631['DrawingTypeEnum'][_0x387e24(0x456)]||this['_univerInstanceService'][_0x387e24(0x129)](_0x45e149[_0x387e24(0x173)])!==_0x383631[_0x387e24(0x363)][_0x387e24(0x3e4)]){this[_0x387e24(0x30e)][_0x387e24(0x25f)](!0x1,_0x505fb5),this['_hide']();return;}let _0xa4f7bd=(_0x3dc148=this[_0x387e24(0x42d)][_0x387e24(0x1fa)](_0x45e149['unitId']))==null?void 0x0:_0x3dc148['engine'][_0x387e24(0x218)](),_0x1307bf=(0x0,_0x2a9d6c[_0x387e24(0x198)])(_0xa4f7bd)===_0x387e24(0x4cf);if(this[_0x387e24(0x30e)][_0x387e24(0x25f)](_0x1307bf,_0x505fb5),_0x1307bf){this['_hide']();return;}this[_0x387e24(0x447)]||(this[_0x387e24(0x447)]=!0x0,this[_0x387e24(0x116)][_0x387e24(0x271)](_0x8c3839,{'activate':!0x0}));}['_hide'](){const _0x502ae6=_0x5671d9;this[_0x502ae6(0x447)]&&(this[_0x502ae6(0x447)]=!0x1,this['_ribbonService']['hideContextualTab'](_0x8c3839),this[_0x502ae6(0x116)][_0x502ae6(0x399)]([]));}};_0x42a752=_0x25a2aa([_0x4177c4(0x0,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x1,_0x2f96d6['IRibbonService']),_0x4177c4(0x2,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x3,_0x383631['IUniverInstanceService']),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)]),_0x4177c4(0x5,(0x0,_0x383631['Inject'])(_0x2a9d6c[_0x5671d9(0x259)]))],_0x42a752);let _0x56ef85=class extends _0x2a9d6c[_0x5671d9(0x1ba)]{constructor(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1){super(_0x25ccc7,_0x244fa1,_0x52c9f3,_0x5b378f,_0x2b846c,_0x282269,_0xce6999,_0x5a5683,_0x446b03,_0x4763b1,{'componentKey':_0x472fad,'editorUnitId':_0x919f0e});}};_0x56ef85=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x1a7a3e[_0x5671d9(0x2a7)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x39d)])),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x15e)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x5,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b[_0x5671d9(0x476)])),_0x4177c4(0x6,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x7,(0x0,_0x383631['Inject'])(_0x1a7a3e[_0x5671d9(0x4d0)])),_0x4177c4(0x8,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x12171b['DocRenderController'])),_0x4177c4(0x9,(0x0,_0x383631['Inject'])(_0xc020ee))],_0x56ef85);let _0x5e1c7f=class extends _0x2a9d6c[_0x5671d9(0x2d0)]{constructor(_0x2d0f62,_0x245770,_0x4c03ba,_0x50ecc2,_0x5b81a4){const _0x305ba9=_0x5671d9;super(_0x2d0f62,_0x245770,{'editing$':_0x4c03ba['editingParams$'],'resolve':_0x2f5d50=>{const _0x2fb63d=_0x43eb;var _0x26a2ca,_0x26b298,_0x5548c8;let _0x127484=new _0x1c3608[(_0x2fb63d(0x266))](_0x2f5d50[_0x2fb63d(0x388)],_0x2f5d50[_0x2fb63d(0x41c)]),_0x4c2532=((_0x26a2ca=_0x2d0f62[_0x2fb63d(0x333)]['getActiveViewportByCoord'](_0x127484))==null?void 0x0:_0x26a2ca[_0x2fb63d(0x184)](_0x127484))??_0x127484,_0x4c81bd=(0x0,_0x2a9d6c[_0x2fb63d(0x28f)])(_0x2d0f62[_0x2fb63d(0x333)][_0x2fb63d(0x3ed)](_0x127484)??null,_0x4c2532);if(!(_0x4c81bd instanceof _0x23237e))return null;let _0x478971=_0x4c81bd[_0x2fb63d(0x469)](_0x4c2532);if(!_0x478971)return null;let _0x199ff9=_0x4c81bd,_0x195d19={'componentKey':_0x2a9d6c[_0x2fb63d(0x4a3)][_0x2fb63d(0x3f6)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x245770[_0x2fb63d(0x3f9)]()};return{'object':_0x4c81bd,'info':{..._0x478971,'unitId':_0x4c81bd['unitId'],'subUnitId':_0x4c81bd[_0x2fb63d(0x135)],'shapeKey':_0x4c81bd['oKey'],'readonly':!0x0,'copyable':((_0x26b298=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x296))](_0x4c81bd['unitId'])['id']))==null?void 0x0:_0x26b298[_0x2fb63d(0x320)])!==!0x1&&((_0x5548c8=_0x5b81a4[_0x2fb63d(0x20b)](new _0x111c96[(_0x2fb63d(0x308))](_0x4c81bd['unitId'],_0x4c81bd[_0x2fb63d(0x135)])['id']))==null?void 0x0:_0x5548c8[_0x2fb63d(0x320)])!==!0x1},'attachPopup':()=>_0x50ecc2['attachPopupToObject'](_0x199ff9,_0x195d19)};}}),this[_0x305ba9(0x252)](_0x2d0f62[_0x305ba9(0x41b)][_0x305ba9(0x410)][_0x305ba9(0x317)](()=>this[_0x305ba9(0x2e9)]()));}};_0x5e1c7f=_0x25a2aa([_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2a9d6c[_0x5671d9(0x127)])),_0x4177c4(0x2,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee)),_0x4177c4(0x3,(0x0,_0x383631['Inject'])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x4,_0x383631[_0x5671d9(0x495)])],_0x5e1c7f);let _0x46561a=class extends _0x383631[_0x5671d9(0x35a)]{constructor(_0x242815,_0x441818,_0x36bbb8,_0x1a0c81,_0x11f8c7,_0x32dc44,_0x19df40,_0x29ec6e,_0x364ac0,_0x1d0506,_0x58bae1){const _0x4648de=_0x5671d9;super(),this[_0x4648de(0x434)]=_0x242815,this[_0x4648de(0x45f)]=_0x441818,this['_menuManagerService']=_0x36bbb8,this[_0x4648de(0xd0)]=_0x1a0c81,this[_0x4648de(0x114)]=_0x11f8c7,this['_commandService']=_0x32dc44,this[_0x4648de(0x306)]=_0x19df40,this[_0x4648de(0x26a)]=_0x29ec6e,this['_contextService']=_0x364ac0,this[_0x4648de(0x42d)]=_0x1d0506,this[_0x4648de(0x375)]=_0x58bae1,_0x20dccc(this,'_sidebarDisposable',null),_0x20dccc(this,_0x4648de(0x16a),null),_0x20dccc(this,_0x4648de(0x12e),!0x1),_0x20dccc(this,'_shapeEditPanelVersion',0x0),_0x20dccc(this,_0x4648de(0x2a8),null),_0x20dccc(this,_0x4648de(0x3ae),[]),this[_0x4648de(0xe1)](),this[_0x4648de(0x252)](this[_0x4648de(0x434)]['getCurrentTypeOfUnit$'](_0x383631[_0x4648de(0x363)]['UNIVER_SHEET'])['subscribe'](_0x5e9aef=>{const _0x3f4a2f=_0x4648de;if(!_0x5e9aef){var _0x3ca205;(_0x3ca205=this[_0x3f4a2f(0x39e)])==null||_0x3ca205['dispose']();}})),this[_0x4648de(0x2df)](),this[_0x4648de(0x380)](),this['disposeWithMe'](this[_0x4648de(0x375)][_0x4648de(0x3d8)][_0x4648de(0x317)](_0x1777a6=>{const _0x3f3e91=_0x4648de;_0x1777a6&&this[_0x3f3e91(0x1ab)]();}));}[_0x5671d9(0xe1)](){const _0x4bf4f4=_0x5671d9;this['_menuManagerService'][_0x4bf4f4(0x461)](_0x3c6f17);}[_0x5671d9(0x380)](){const _0x2ed499=_0x5671d9;this[_0x2ed499(0x2a8)]||=this['disposeWithMe']((0x0,_0x2a9d6c[_0x2ed499(0x297)])(this[_0x2ed499(0x42d)],_0x383631[_0x2ed499(0x363)]['UNIVER_SHEET'],_0x101833=>this[_0x2ed499(0xf3)](_0x101833)));}['_getShapeInfo'](_0x3d6d79,_0x35ef3f,_0x20577d){const _0x569439=_0x5671d9;let _0x2f17e5=this[_0x569439(0xd0)][_0x569439(0x4d1)](_0x3d6d79,_0x35ef3f,_0x20577d),_0x5c9b41=this[_0x569439(0xd0)][_0x569439(0x21f)](_0x3d6d79,_0x35ef3f,_0x20577d);return _0x2f17e5!==void 0x0&&_0x5c9b41!==void 0x0?{'shapeData':_0x5c9b41,'shapeId':_0x20577d,'shapeType':_0x2f17e5,'unitId':_0x3d6d79,'subUnitId':_0x35ef3f,'version':this[_0x569439(0xe9)],'disableShapeOption':!0x1}:null;}['_clearPopups'](){const _0x34bc24=_0x5671d9;this[_0x34bc24(0x3ae)][_0x34bc24(0x3a7)](_0x55b675=>_0x55b675[_0x34bc24(0x39f)]()),this[_0x34bc24(0x3ae)]['length']=0x0;}[_0x5671d9(0xf3)](_0x5c3712){const _0x4597f4=_0x5671d9;let _0x4060e9=new _0x383631['DisposableCollection']();return _0x4060e9[_0x4597f4(0x338)](_0x5c3712['createControl$'][_0x4597f4(0x317)](()=>{const _0x24222f=_0x4597f4;let _0x59a035=_0x5c3712['getSelectedObjectMap']();if(this[_0x24222f(0x1ab)](),this[_0x24222f(0x12e)]||_0x59a035[_0x24222f(0x23c)]>0x1)return;let _0x5b932b=_0x59a035[_0x24222f(0x206)]()[_0x24222f(0x289)]()[_0x24222f(0x320)];if(!_0x5b932b)return;let _0x18181a=this[_0x24222f(0x306)][_0x24222f(0x1ae)](_0x5b932b[_0x24222f(0x1ed)]);if(!_0x18181a||_0x18181a[_0x24222f(0x3d6)]!==_0x383631[_0x24222f(0x286)][_0x24222f(0x456)])return;let {unitId:_0x28f457,subUnitId:_0x1b3e8a,drawingId:_0x5d3850,drawingType:_0x585eef}=_0x18181a,_0x463958=this[_0x24222f(0x1ee)](_0x28f457,_0x1b3e8a,_0x5d3850);if(!_0x463958)return;this[_0x24222f(0x432)][_0x24222f(0x494)](_0x383631[_0x24222f(0xdf)],!0x0);let _0x3af47f=this[_0x24222f(0x42d)][_0x24222f(0x1fa)](_0x28f457),_0x42a65a=((_0x3af47f==null?void 0x0:_0x3af47f['isMainScene'])===!0x1?_0x3af47f[_0x24222f(0x438)](_0x261221[_0x24222f(0x278)]):this[_0x24222f(0x26a)])[_0x24222f(0x2ed)](_0x5b932b,{'componentKey':_0x2a2c50,'direction':_0x24222f(0x3a3),'offset':[0x0,_0x2a9d6c[_0x24222f(0x38e)]],'extraProps':{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850,'drawingType':_0x585eef,'shapeType':_0x463958[_0x24222f(0x138)],'shapeData':_0x463958[_0x24222f(0x1a0)]}});this[_0x24222f(0x3ae)][_0x24222f(0x27e)](this[_0x24222f(0x252)](_0x42a65a)),this[_0x24222f(0x306)][_0x24222f(0x486)]()[_0x24222f(0x3de)](_0x20baf1=>_0x20baf1['unitId']===_0x28f457&&_0x20baf1[_0x24222f(0x135)]===_0x1b3e8a&&_0x20baf1[_0x24222f(0x493)]===_0x5d3850)||this[_0x24222f(0x306)]['focusDrawing']([{'unitId':_0x28f457,'subUnitId':_0x1b3e8a,'drawingId':_0x5d3850}]);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x3ce)][_0x4597f4(0x317)](()=>{const _0x5b02e8=_0x4597f4;this[_0x5b02e8(0x1ab)](),this[_0x5b02e8(0x432)][_0x5b02e8(0x494)](_0x383631[_0x5b02e8(0xdf)],!0x1),this['_drawingManagerService'][_0x5b02e8(0x29c)](null);})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x1f8)][_0x4597f4(0x317)](()=>{this['_clearPopups']();})),_0x4060e9[_0x4597f4(0x338)](_0x5c3712[_0x4597f4(0x443)][_0x4597f4(0x317)](()=>{const _0x290874=_0x4597f4;this[_0x290874(0x1ab)]();})),(0x0,_0x383631[_0x4597f4(0x292)])(()=>{const _0x150870=_0x4597f4;_0x4060e9[_0x150870(0x39f)](),this[_0x150870(0x1ab)]();});}[_0x5671d9(0x2df)](){const _0x4dd1d6=_0x5671d9;this[_0x4dd1d6(0x252)](this[_0x4dd1d6(0x39a)][_0x4dd1d6(0x15d)](_0x4e7100=>{const _0x4407c7=_0x4dd1d6;if(_0x4e7100['id']===_0x57e247['id']){let {unitId:_0xb85ecc,subUnitId:_0x5dd1af,drawingId:_0x8a57b2}=_0x4e7100['params'];this[_0x4407c7(0xe9)]+=0x1,this['_activeShapeInfo']=this[_0x4407c7(0x1ee)](_0xb85ecc,_0x5dd1af,_0x8a57b2),this[_0x4407c7(0x1ab)](),this[_0x4407c7(0x177)]();}if(_0x4e7100['id']===_0x24f5aa['id']&&(this[_0x4407c7(0x16a)]=null,this[_0x4407c7(0xd7)]()),_0x4e7100['id']===_0x276c17[_0x4407c7(0x250)]['id']){let {unitId:_0x208c36,subUnitId:_0x8992bc,shapeId:_0x17152d}=_0x4e7100[_0x4407c7(0x4a7)];if(this[_0x4407c7(0x16a)]&&this[_0x4407c7(0x16a)][_0x4407c7(0x37d)]===_0x17152d){let _0x4b5d9a=this[_0x4407c7(0x1ee)](_0x208c36,_0x8992bc,_0x17152d);_0x4b5d9a&&(this[_0x4407c7(0xe9)]+=0x1,_0x4b5d9a[_0x4407c7(0x3e6)]=this[_0x4407c7(0xe9)],this[_0x4407c7(0x16a)]=_0x4b5d9a,this[_0x4407c7(0x12e)]&&this[_0x4407c7(0x177)]());}}})),this['disposeWithMe'](this[_0x4dd1d6(0x306)]['focus$'][_0x4dd1d6(0x317)](_0x3f376f=>{const _0x143aa7=_0x4dd1d6;if(this[_0x143aa7(0x12e)]===!0x1)return;if(_0x3f376f[_0x143aa7(0x175)]===0x0){this['_activeShapeInfo']=null,this[_0x143aa7(0xd7)]();return;}if(_0x3f376f['length']===0x1&&_0x3f376f[0x0][_0x143aa7(0x3d6)]===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]&&(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0][_0x143aa7(0x135)],_0x3f376f[0x0][_0x143aa7(0x493)]),this[_0x143aa7(0x16a)])){this[_0x143aa7(0x177)]();return;}let _0x39cce8=_0x3f376f[_0x143aa7(0x265)](_0x3732f0=>_0x3732f0['drawingType']===_0x383631[_0x143aa7(0x286)][_0x143aa7(0x456)]);if(_0x3f376f[_0x143aa7(0x175)]>0x1&&_0x39cce8[_0x143aa7(0x175)]===_0x3f376f[_0x143aa7(0x175)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x143aa7(0x16a)]=this[_0x143aa7(0x1ee)](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x177)]();return;}}else{if(this[_0x143aa7(0xe9)]+=0x1,this[_0x143aa7(0x16a)]=this['_getShapeInfo'](_0x3f376f[0x0][_0x143aa7(0x173)],_0x3f376f[0x0]['subUnitId'],_0x3f376f[0x0]['drawingId']),this[_0x143aa7(0x16a)]){this[_0x143aa7(0x16a)]['disableShapeOption']=!0x0,this[_0x143aa7(0x177)]();return;}}this['_closeShapeEditPanel']();}));}[_0x5671d9(0x177)](){const _0x2b198d=_0x5671d9;this[_0x2b198d(0x16a)]&&(this[_0x2b198d(0x39e)]=this[_0x2b198d(0x45f)][_0x2b198d(0x24c)]({'id':_0x56e257,'header':{'title':this[_0x2b198d(0x114)]['t'](_0x2b198d(0x17b))},'width':0x184,'children':{'label':_0x56e257,...this['_activeShapeInfo']},'onClose':()=>{const _0x24df48=_0x2b198d;this[_0x24df48(0x306)]['focusDrawing'](null),this[_0x24df48(0x432)][_0x24df48(0x494)](_0x383631[_0x24df48(0xdf)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x25dccf=_0x5671d9;this[_0x25dccf(0x12e)]=!0x1,this['_sidebarService'][_0x25dccf(0x274)](_0x56e257),this[_0x25dccf(0x39e)]=null,this[_0x25dccf(0x432)][_0x25dccf(0x494)](_0x383631['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x25dccf(0x306)][_0x25dccf(0x29c)](null);}};_0x46561a=_0x25a2aa([_0x4177c4(0x0,_0x383631[_0x5671d9(0x1f7)]),_0x4177c4(0x1,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x2f96d6[_0x5671d9(0x31a)])),_0x4177c4(0x2,_0x2f96d6[_0x5671d9(0x3ad)]),_0x4177c4(0x3,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x276c17[_0x5671d9(0x188)])),_0x4177c4(0x4,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x383631['LocaleService'])),_0x4177c4(0x5,_0x383631[_0x5671d9(0x24e)]),_0x4177c4(0x6,_0x279593[_0x5671d9(0xf1)]),_0x4177c4(0x7,(0x0,_0x383631[_0x5671d9(0x18f)])(_0x261221[_0x5671d9(0x278)])),_0x4177c4(0x8,_0x383631[_0x5671d9(0x3e9)]),_0x4177c4(0x9,_0x1c3608['IRenderManagerService']),_0x4177c4(0xa,(0x0,_0x383631[_0x5671d9(0x18f)])(_0xc020ee))],_0x46561a);let _0x4d238c=class extends _0x383631['Plugin']{constructor(_0x3aa7b2=_0xda7fc9,_0x460371,_0x4509d3,_0x4812c3,_0x5ab852){const _0x2e7e9b=_0x5671d9;super(),this[_0x2e7e9b(0x46f)]=_0x3aa7b2,this[_0x2e7e9b(0x1ef)]=_0x460371,this[_0x2e7e9b(0x39a)]=_0x4509d3,this[_0x2e7e9b(0x1b1)]=_0x4812c3,this[_0x2e7e9b(0x42d)]=_0x5ab852;let {..._0x8692db}=(0x0,_0x383631[_0x2e7e9b(0xce)])({},_0xda7fc9,this[_0x2e7e9b(0x46f)]);this[_0x2e7e9b(0x1b1)][_0x2e7e9b(0x2d5)](_0x317c0c,_0x8692db),this[_0x2e7e9b(0x3c8)]();}[_0x5671d9(0x28d)](){const _0x355bb0=_0x5671d9;this[_0x355bb0(0x42d)][_0x355bb0(0x191)](_0x383631[_0x355bb0(0x363)][_0x355bb0(0x354)],[_0x56ef85]),(0x0,_0x383631[_0x355bb0(0xf5)])(this['_injector'],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31]]);}[_0x5671d9(0x24d)](){const _0xc58d8b=_0x5671d9;this[_0xc58d8b(0x1ef)]['get'](_0x46561a)['initShapePopupMenu']();}['onReady'](){const _0x2a025c=_0x5671d9;[[_0x53dc4d],[_0x243401],[_0x544c39]]['forEach'](_0x2a6760=>this['_injector'][_0x2a025c(0x338)](_0x2a6760)),(0x0,_0x383631[_0x2a025c(0xf5)])(this['_injector'],[[_0x544c39],[_0x243401]]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x53dc4d]),this[_0x2a025c(0x42d)]['registerRenderModule'](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x2d7d8a]),this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x2d0bb9]),this['_renderManagerService'][_0x2a025c(0x191)](_0x383631['UniverInstanceType'][_0x2a025c(0x3e4)],[_0x1b14da]),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x5e1c7f])),this[_0x2a025c(0x252)](this[_0x2a025c(0x42d)][_0x2a025c(0x191)](_0x383631[_0x2a025c(0x363)][_0x2a025c(0x3e4)],[_0x9e8d4d]));}[_0x5671d9(0x35f)](){const _0x548729=_0x5671d9;this[_0x548729(0x1ef)][_0x548729(0x338)]([_0x581450]),this[_0x548729(0x1ef)][_0x548729(0x4be)](_0x581450);let _0x4e3e83=this['_injector'];[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0x2dbe31],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]][_0x548729(0x3a7)](_0x47ae9a=>_0x4e3e83[_0x548729(0x338)](_0x47ae9a)),(0x0,_0x383631['touchDependencies'])(this[_0x548729(0x1ef)],[[_0x46561a],[_0x3fcbb7],[_0x57eebe],[_0xa77d06],[_0xc020ee],[_0x5e5ab0],[_0x5343de],[_0x3c6deb],[_0x42a752]]);}[_0x5671d9(0x3c8)](){const _0x37e641=_0x5671d9;[_0x45134c,_0x57882a,_0x24f5aa,_0x57e247,_0x5ad9f8,_0x39b8fc,_0x748f1e,_0x3a751e][_0x37e641(0x3a7)](_0x39014a=>this[_0x37e641(0x252)](this[_0x37e641(0x39a)][_0x37e641(0x37f)](_0x39014a)));}};_0x20dccc(_0x4d238c,'type',_0x383631[_0x5671d9(0x363)][_0x5671d9(0x3e4)]),_0x20dccc(_0x4d238c,_0x5671d9(0xcd),_0x5671d9(0x261)),_0x20dccc(_0x4d238c,'packageName',_0x42e456),_0x20dccc(_0x4d238c,_0x5671d9(0x3e6),_0x1bfefd),_0x4d238c=_0x25a2aa([(0x0,_0x383631[_0x5671d9(0x499)])(_0x42a3f1[_0x5671d9(0x2b8)],_0x1a7a3e[_0x5671d9(0x3a4)],_0x279593[_0x5671d9(0x3a6)],_0x129810[_0x5671d9(0x340)],_0x1c3608[_0x5671d9(0x230)],_0x111c96[_0x5671d9(0x237)],_0x12171b['UniverDocsUIPlugin'],_0x72b203[_0x5671d9(0x2a9)],_0x54f73f[_0x5671d9(0x3e3)],_0x44e77f['UniverSheetsDrawingUIPlugin'],_0x276c17['UniverSheetsShapePlugin'],_0x261221[_0x5671d9(0x2dd)],_0x2a9d6c[_0x5671d9(0x1c3)]),_0x4177c4(0x1,(0x0,_0x383631['Inject'])(_0x383631[_0x5671d9(0x4c7)])),_0x4177c4(0x2,_0x383631['ICommandService']),_0x4177c4(0x3,_0x383631[_0x5671d9(0x1ad)]),_0x4177c4(0x4,_0x1c3608[_0x5671d9(0x1fd)])],_0x4d238c),_0x507edb['SheetsShapeUIContextualRibbonSchema']=_0x5c037d,_0x507edb['SheetsShapeUIMenuSchema']=_0x3c6f17,Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x26e),{'enumerable':!0x0,'get':function(){return _0x2ce7ec;}}),Object[_0x5671d9(0x406)](_0x507edb,_0x5671d9(0x31d),{'enumerable':!0x0,'get':function(){return _0x4d238c;}});}));function _0x43eb(_0x2e9b4f,_0x445b2d){_0x2e9b4f=_0x2e9b4f-0xc2;const _0x5c87d0=_0x5c87();let _0x43ebbc=_0x5c87d0[_0x2e9b4f];return _0x43ebbc;}function _0x5c87(){const _0x5528f6=['fillType','assign','onSavingEditorData$','setShapeData','setFillImage','entries','sheets-shape-ui.editText','setCursor','REMOVE','_init','drawing-ui.objectListPanel.typeNames.','error','_handleConnectedEndpointPointerUp','popup','onReady','ObjectListPanelBase','_initEditingParams','sheets-shape-ui.insertShape','sheets-shape-ui.objectListPanel.open','_createShapeAdjustControls','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','_drawingManagerService','M2.2\x208H3.8','WorksheetCopyPermission','1em','sheetViewStartColumn','actions','drawing-ui.objectListPanel.empty','shape-text-','_shapeFloatingToolbarService','clipTop','refreshAdjustControls','sheet.operation.apply-shape-quick-style','iterator','isReleased','routeConnectorLineShape','transformByState','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','subscribe','isRichText','LEFT','ISidebarService','ang','interceptor','UniverSheetsShapeUIPlugin','getScene','ShapeRenderModeEnum','value','0\x200\x2016\x2016','getCurrentUnitInfo','setPrstGeomAdjValues','_attachAdjustEvent','_initPermission','MobileObjectListPanel','getObjectIncludeInGroup','getMenuHiddenObservable','getBatchAddOp','deriveStateFromActiveSheet$','point','left','set','vertical','gradientEndColor','BehaviorSubject','non-scaling-stroke','_hyperLinkRegions','scene','_getConnectPointInfo','mask','_drawRichText','_addShapeAdjustControl','add','formulaBinding','makeDirty','ShapeFormatSettingIcon','drawing-ui.objectListPanel.locate','pipe','getPropertyValue','topmost-icon','UniverDrawingUIPlugin','sheets-shape-ui','parse','isHit','sheets-shape-ui.flipVertical','move-down-icon','FlipVerticalIcon','getShapeType','_rerouteConnectorLine','UndoRedoGroupService','FlipHorizontalIcon','_iconManager','startWith','#1a73e8','redo','function','_updateAdjustControlPositions','FormatPainterSessionService','getState','originalStrokeWidth','UNIVER_DOC','resolveShapeTextDocumentPageHeight','fillImageSourceType','clip','getUnitId','startConnectionDetection','Disposable','isLineShape','Arrow','getMatrix','getShapeTextRect','onStarting','indexOf','OTHERS','getViewportByCell','UniverInstanceType','permissionPointUpdate$','_registerDrawingFocusChangeHandler','enableObjectsEvent','shape-editor-ui.arrange.forward','index','forward','_getImageDrawingInfo','UniverShapeEditorMobileUIPlugin','_getZoomRatio','ShapeEditPanel','UniverDesign','sheets-shape-text-','PaintIcon','drawing-ui.objectListPanel.expand','removeProperty','415372RWyiNA','rotation','_shapeTextEditingService','resolveActiveShapeQuickStylePresetId','start','drawing-ui.objectListPanel.lockAll','HorizontalAlign','@univerjs-pro/engine-shape','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','SHAPE_CHANGE_PICKER_COMPONENT','shapeId','shape-editor-ui.arrange.back','registerCommand','initShapePopupMenu','shape-adjust-point-','SheetSkeletonService','mode','ShapeTypeEnum','PictureFill','clearAdjustControls','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','offsetX','cxnPointStroke','drawing-ui.objectListPanel.filterLocked','getPropertyPriority','@univerjs/drawing-ui','MEDIA','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getParent','createControl$','DRAWING','45cewVMi','getCurrentTypeOfUnit$','RemoveSheetsShapeMutation','sheets-shape-ui.quickStyles','BUTTON','_shapeId','shape-editor-ui.arrange.backward','setCollapsedIds','_commandService','getInverseCoord','getStartConnectInfo','DocCanvasPopManagerService','_sidebarDisposable','dispose','renderDrawingShape','trim','sheets-shape-ui.ribbon.shape-format.text-control','vertical-center','UniverDocsPlugin','UniverSheetsShapePlugin','UniverDrawingPlugin','forEach','getShapeModel','fromChangeset','horizontal','_insertingShapeKeys','_drawShapeText','IMenuManagerService','_disposePopups','axisAlignSheetTransform','ToggleSheetsShapeFlipCommand','sheet.shape.edit.panel','0\x200\x2017\x2016','strokeOpacity','fillImageSource','shouldAllowShapeTextEditorHostSizeShrink','getAdjustNames','updateDocumentDataMargin','delete','_initialize','drawing-ui.objectListPanel.sectionFloating','cos','M14\x208H14.2','@univerjs/sheets-ui','http://www.w3.org/2000/svg','_showConnectionSites','SheetDrawingAnchor','_drawingAddListener','changeEnd$','_getShapeAdjustPointListById','StraightConnector1','_editingParams$','fill','resolveShapeTextEditorWrapStrategy','_initCommands','transformToAxisAlignPosition','SetDrawingSelectedOperation','_registerFocusChangeHandler','srcRect','beforeCommandExecuted','clearControl$','getEndConnectInfo','getDrawingDataForUnit','string','worldPoints','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','getObject','_registerMoveHandler','drawingType','UniverProLicense','editingParams$','MenuItemType','map','getBatchRemoveOp','undo','RENDER_CLASS_TYPE','find','ContextMenuGroup','FOCUSING_SHAPE_TEXT_EDITOR','@univerjs/sheets-drawing-ui','SHEET_VIEWPORT_KEY','UniverShapeEditorPlugin','UNIVER_SHEET','copyType','version','syncExecuteCommand','InsertShapeCommand','IContextService','UpdateConnectorRelationCommand','@univerjs/docs-ui','_clearShapeAdjustControls','pick','getFocusedUnit','drawing-ui.objectListPanel.moveBackward','getCurrentSkeleton','None','_clearCompletionFrame','useState','UniverSheetsDrawingMobileUIPlugin','backward','componentKey','_initSheetChange','drawing-ui.objectListPanel.filterHidden','hideInfoPopup','strokeWidth','SheetSkeletonManagerService','_groupCopyPasteController','4371666Orgtxg','getBentTypeFromPoints','colorChannel1','reduce','setHighlighted','BottomIcon','viewportScrollY','skeleton','drawing-ui.objectListPanel.hideAll','defineProperty','SetSheetDrawingCommand','setPrstGeom','_insertShapes','sheet.operation.open-mobile-shape-editor','sheets-shape-ui.config','setFormulaPresentation','CUT','_adjHandlerPointerMove','_generateCutPasteMutations','activeSheet$','image-clip-adjust-point-','ArrangeTypeEnum','jsxs','panel','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','M4.2\x205.5H10.5','sin','draw','svg','onPointerMove$','unit','offsetY','_hasReset','prstGeom','createInternalEditorID','useMemo','IconManager','LocaleService','shouldClipShapeTextDocument','@univerjs-pro/shape-editor','stopPropagation','ComponentManager','addClipboardHook','min','_componentManager','useId','worldRect','IUndoRedoService','_renderManagerService','onerror','Shape','flatMap','DrawingCommonPanel','_contextService','MobileShapeEditorService','_univerInstanceService','type','10456ZwOlwx','getBatchUpdateOp','with','width','setProperty','scale','_baseLeft','wrapStrategy','drawing-ui.objectListPanel.lock','@univerjs/design','getAdjustValueByName','current','sheets-shape-ui.ribbon.shape-format.formula-control','changeStart$','stroke-width','xlink:href','SheetPrintInterceptorService','_visible','_moveConnectorWithShape','multiply','ShapeFillEnum','sheets-shape-ui.ribbon.shape-format.arrange-front','MobileDropdown','ShapeArrowTypeEnum','useLayoutEffect','drawFormulaShapeAnimationLayers','CROSSHAIR','_clearFocusedShape','stringify','_renderWithCache','M10.2\x208H11.8','element','DRAWING_SHAPE','disableObjectsEvent','URL','_transform','sheet.shape.object-list.panel','_resetState','PREDEFINED_HOOK_NAME','sheets-shape-ui.shape-format.style-ribbon-control','_targetShapeId','_sidebarService','@univerjs/engine-render','mergeMenu','startX','endConnectionDetection','_updateImageAdjValues','CommandType','getOrCreateDrawingCopyPlan','Circle','getTextStyle','resolveHyperLinkAt','useFormulaShapeToolbar','_sheetInterceptorService','animateFormulaPresentation','@univerjs/core','angle','_config','round','_copyInfo','_getSceneAndTransformerByDrawingSearch','_handleConnectorPointerUp','drawing-ui.objectListPanel.collapse','getConnectionSiteList','DocEventManagerService','presetId','_clearShapeConnectorHandlerObjects','_activeAdjustPointList','save','_urlImageService','ObjectLayersIcon','asObservable','_initCopyPaste','createShapeTextBoxShapeData','GROUP','flipY','@univerjs/sheets-drawing','sectionFloating','ShapeFormulaService','attrs','getFocusDrawings','M8\x206.2V7.8','_sheetDrawingShapeRenderController','render','sheet.image-clip.shape-picker.component','calculate','front','SheetPermissionCheckController','_unitId','viewBox','completeEditing','_shapeUpdateListener','getTransformer','drawingId','setContextValue','IPermissionService','994cygEaU','_registerDrawingMoveHandler','react','DependentOn','_baseShapeHeight','defs','2433qPgiSq','refreshTransform','clipByShape','TopmostIcon','vectorEffect','drawing.operation.set-drawing-active','INSERT','ShapeTextHyperLinkInfo','_getScrollInfo','_context','sheet.operation.open-shape-object-list-panel','params','RemoveSheetDrawingCommand','blockExecuteWithoutPermission','_baseShapeWidth','getShapeQuickStyleType','getActualSize','disconnect','canvasElement','translateWithPrecision','sqrt','clone','attachRangeWithCoord','updateLinePoints','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','UniverProSheetsShapeUi','evenodd','buildClipPath','refreshShapeFillImage','UniverProShapeEditor','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','getDrawingOrder','getAutoFitPresentations','getShapeTextData','get','_updateTransform','add$','default','_applyFormulaAutoFitSize','register','getConnectorLinePoints','prstGeomAdjValues','createElement','Injector','constructor','_createCopyInfoByRange','baseVal','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_baseHeight','getDrawingSearch','UniverDocs','isolated','DocInterceptorService','getShapeTypeById','isConnectorShape','_clearControls','path','preValue','_shapeService','_commandExecutedListener','restore','ancestorTransform','shapeModel','targetShapeId','cxnIndex','_createControls','pluginName','merge','shape-editor-ui.arrange.front','_sheetsShapeService','PRINTING_COMPONENT_COLLECT','Transform','_initSelection','getDrawingVisible','_releaseRenderCache','Image','_closeShapeEditPanel','Observable','cxnPointRadius','drawWith','sheetViewStartRow','setShouldShowAdjust','COPY_TYPE','resize','FOCUSING_COMMON_DRAWINGS','108048DaWdMR','_initMenu','clip-adj-','sheets-shape-ui.shape-format.quick-style-gallery','_loadAndSetImage','onPointerDown$','#bcbcbc','text','getShapeData','_shapeEditPanelVersion','SheetsSelectionsService','insertGroupObject','sheets-shape-ui.shape-format.formula-ribbon-control','transformToDrawingPosition','CopySheetCommand','DocumentSkeleton','has','IDrawingManagerService','rxjs','_popupMenuListener','CURSOR_TYPE','touchDependencies','sheets-shape-contextual-ribbon','localToWorld','ShapeFloatingToolbar','_findShapeAtPoint','RemoveSheetCommand','sheet.menu.shape.flip-vertical','_sheetPrintInterceptorService','isArray','1.0.3','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_sheetShapeAdjustController','_activeTargetShapeId','getActiveSheet','_attachConnectorObjectEvent','ShapeLineTypeEnum','RIBBON','TOP','drawing-ui.objectListPanel.showAll','Medium','hadStyleAttribute','ShapeDefaultConfig','connector-handler-','SELECTOR','UniverProShapeEditorUi','use','_props','IImageIoService','clipHeight','reverse','canvas','_localeService','_adjHandlerPointerUp','_ribbonService','DEFAULT_PASTE','_disposed','includes','getBoundingClientRect','computeConnectorRouteLayout','_handleConnectedEndpointMove','_addShapeConnectorHandlerObject','getTextModel','_handleBasicShapeUpdateConnectorLineShape','normalizeShapeTextModel','WorkbookEditablePermission','UniverSheetsDrawing','adjName','style','bottom-icon','registerFeatureMenu','ShapeTextHyperLinkPopupService','_isConnecting','getUnitType','_focusedDrawings','getAdjustInfoByName','permissionCheckWithoutRange','startArrow','_isOpenedShapeEditPanel','classType','UPDATE','_addShapeConnectorHandlerObjects','defIds','2132124pguktX','_adjName','subUnitId','useEffect','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','shapeType','_connectionSiteObjects','getSheetBySheetId','sheets-shape-ui.editShape','SolidFill','addObject','_highlightedSiteIndex','invert','sheet.shape.picker.component','getCurrentUnitOfType','_handleFreeEndpointPointerUp','_handleFreeEndpointMove','keys','_isHighlighted','fontFamily','getUnit','url(#$1','doc','call','adjHandleSize','RibbonInsertGroup','getDrawingByParam','startY','@univerjs/sheets','ShapeModel','color','onDblclick$','replace','COMMAND','getPresentation','some','jsx','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','animationEnabled','sheets-shape-ui.flipHorizontal','EMPTY','amd','onCommandExecuted','DocSelectionRenderService','idMap','flipX','useRef','computeConnectorResizeLayout','ShapeArrowSizeEnum','onTransformChange$','unsubscribe','_activeShapeId','visible','MoveUpIcon','FormulaShapeAnimationController','_activeShapeInfo','updateShapeFillImage','adjustValues','getEditing','_executeConnectedRouteConnectionCommand','_cxtHandlerPointerMove','UniverDrawing','applyQuickStyleToShapeData','setShapeProps','unitId','_calculateFreeEndpointAngle','length','_baseWidth','_openShapeEditPanel','getTransformerByCreate','isEditing','subscribeEvent','sheets-shape-ui.formatShape','_drawRichTextLayer','getCurrentRangeDisable$','_clipService','observe','_baseTop','featurePluginUpdateNotification','_activeShapeAdjustPointList','_drawingRenderService','transformVector2SceneCoord','hidden','isDrawingObject','_imageShapeClipController','SheetsShapeService','@univerjs/ui','UniverEngineRender','_isShouldShowDrawingShapeAdjust','_registerIcons','UUID','isHorizontal','Inject','abs','registerRenderModule','displayName','stroke','_activeShapeModel','MoveDownIcon','isFinite','_initEvents','resolveShapeContextualRibbonHostMode','activeAnObject','setSrcRect','Large','ShapeIcon','_currentConnectionTarget','useDependency','_registerGroupFeaturePasteHook','shapeData','_connectorObjects','UniverMobileUIPlugin','resourceCollector','UniverProSheetsShape','isStartConnectorPoint','sheets-shape-ui.imagePanel.crop.shape','div','relation','_generateCopyPasteMutations','beginPath','_clearPopups','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','IConfigService','getDrawingOKey','updateDocumentStyle','localeService','_configService','_initPrinting','drawing-ui.objectListPanel.description','fontSize','SheetScrollManagerService','_cxtHandlerPointerUp','connection-site-','_getConnectionSiteAngle','buildShapeTextDataUpdate','ShapeTextFloatMenuRenderControllerBase','getOwnPropertyDescriptor','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','switchMap','parseFloat','@univerjs/drawing','toStringTag','sheet.operation.open-sheet-shape-format-panel','ShapeTextFloatToolbar','UniverShapeEditorUIPlugin','tag','children','objects','updateConnectionDetection','_getDrawingRect','dataModel','applyPoint','getContextValue','sheets-shape-ui.shape-format.text-ribbon-control','lineShapeId','addImageSourceCache','onload','rect','20knarlt','_updateSrcRectByTransform','_transformCalculateSrcRect','sheet.command.menu-insert-shape','remove$','SolidLine','clearActiveDrawingObjects','M8\x202.2V3.8','resolveShapeTextEditorBehaviorShapeData','UniverCore','changeShapeType','selectable','@univerjs-pro/sheets-shape-ui','_sheetBasicShapeConnectionPointController','ContextMenuPosition','isRenderLinePointsMode','top','clip-','translate','sheetTransform','getZoomRatio','DrawingApplyType','_isStartAdjusting','getSkeleton','setOnSavingEditorData','getValue','removeLinePoints','SheetShapeTextEditorContainer','oKey','_getShapeInfo','_injector','_subUnitId','44RItRzm','lineType','_registerImageShapeClipDelegate','Documents','_formulaAnimation','ImageSourceTypeEnum','IUniverInstanceService','changing$','executeCommand','getRenderUnitById','object-layers-icon','extraProps','IRenderManagerService','drawing-ui.objectListPanel.name','description','drawing-ui.objectListPanel.descriptionPlaceholder','getDrawingShapeKeyByDrawingSearch','plainShapeTextToDocumentData','clearAdjustValue','ToggleShapeFloatingToolbarOperation','_permissionService','values','getDrawingTypeNameKey','_lastEditingShapeKey','_baseDrawingRect','_sheetPermissionCheckController','getPermissionPoint','idSuffix','UniverProEngineShape','_isDrawingShapePointDown','interceptCommand','Module','contentHeight','flip-vertical-icon','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','getCurrentScrollState','InsertSheetsShapeMutation','_baseShapeTop','DRAWING_IMAGE','getCanvasElement','drawing-ui.objectListPanel.title','resolveFormulaShapeAutoFitSize','_sheetClipboardService','_registerFeatureMenu','_executeResizeCommand','shapeKey','getShapeDataById','_menuManagerService','drawing-ui.objectListPanel.nameInput','_cxnIndex','currentColor','sheet.operation.update-shape-type','isHighlighted','SheetInterceptorService','adjHandleFill','ShapePickerPanel','OPERATION','flip-horizontal-icon','getConnectionInfo','createShapeFormulaDocument','isRender','_completionFrame','#FFFFFF','UniverRenderEnginePlugin','sheets-shape-format-font-family-menu','adjHandleStroke','visible$','UniverDocsUIPlugin','FromArray','_shapes','UniverSheetsPlugin','resetCursor','_sheetDrawingService','_activeAdjustInfo','OBJECT_LIST_FLOATING_SECTION_ID','size','_draw','setCanUseShapeClip','_update','react/jsx-runtime','_reset','packageName','onPointerUp$','shapeText','_shapeFormulaService','_isStartConnectorPoint','getDrawingPoints','ISheetDrawingService','_getOrCreateShapeModel','title','getSkeletonParam','open','onSteady','ICommandService','getDrawingData','UpdateSheetsShapeDataMutation','getCurrentLastSelection','disposeWithMe','_currentUniverService','_registerComponents','_getImagePrstGeom','_loadShapePictureFill','getVisible','_activeImageId','ShapeFloatingToolbarService','sheets-shape-ui.deleteShape','setPresentation','M4.2\x208.3H6.8','cloneShapeDataForType','_setTransForm','setFallbackVisible','endArrow','SHEET_SHAPE_UI_PLUGIN','focus$','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','drawing-ui.objectListPanel.close','filter','Vector2','unregister','prototype','UniverIcon','_sheetCanvasPopManagerService','_executeConnectionCommand','none','_formulaShapes','UniverSheetsShapeMobileUIPlugin','useObservable','_clearConnectionSites','showContextualTab','forwardRef','refreshFormulaPresentation','close','getRealBound','1041230CYOTnH','SHAPE','SheetCanvasPopManagerService','name','React','getBasicShapeRotateBound','ShapeGroupEnum','#4285f4','push','Fragment','_draggingConnectorId','_shapeRenderController','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getSheetCommandTarget','SetDrawingApplyMutation','debounceRefreshControls','DrawingTypeEnum','ShapeTextEditorContainer','updateContext','next','DRAWING_OBJECT_LAYER_INDEX','Plugin','_formulaKey','onRendered','@univerjs-pro/sheets-shape','resolveShapeTextHyperLinkObject','setAdjustValueByName','_currentScene','toDisposable','WorksheetEditPermission','update$','appliedStrokeWidth','WorkbookCopyPermission','bindRenderTransformerLifecycle','UniverDocsUi','DisposableCollection','resolveShapeTextDocumentRenderLayout','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','focusDrawing','generateRandomId','UniverSheetsDrawingUi','Line','_imageIoService','UniverSheets','isHitLine','sheets-shape-ui.permission.editErr','getShapeQuickStylePreset','cancelEditing','object','DocSelectionManagerService','_shapePopupMenuDisposable','UniverSheetsDrawingPlugin','VerticalAlign','_updateShapeAdjustControls','hasAttribute','composeMatrix','shape-editor-ui.toolbar.quickStyles','custom','priority','isCurvedConnectorShape','setEditing','toFixed','SHAPE_EDITOR_TRANSFORMER_CONFIG','contentVerticalOffset','toPrimitive','ShapeStyleRibbonControl','UniverLicensePlugin','getObjectListPanelSectionIdForDrawingType','SHEET','_executeConnectedRouteResizeCommand','registerShapeFormatPainter','prepareShapeTextDocumentData','decorate','sheets-shape-ui.title','from','target','registerDependencies','worldPoint','image','getConnectionRelation','transform','drawing-ui.objectListPanel.search','M8\x2010.2V11.8','cxnPointStrokeWidth','SetDrawingArrangeCommand','src','sheets-shape-ui.ribbon.shape-format.arrange-back','_index','UniverUi','SheetsDrawingGroupCopyPasteController','ShapeTextHyperLinkHoverController','end','drawing-ui.objectListPanel.unlockHint','normal','_isImagePointerDown','setConfig','_findNearestConnectionSite','cxnPointFill','viewportScrollX','_drawingType','1336rzsDRC','VIEW_MAIN_LEFT','_baseShapeLeft','UniverSheetsUIPlugin','sheet.menu.shape.flip-horizontal','_registerOperations','_onSavingEditorData$','@univerjs-pro/shape-editor-ui','symbol','drawing-ui.objectListPanel.details','DrawingImageClipService','_getShapeAdjustInfosById','sheet.command.update-shape-data','_canEdit','isInGroup','clear','height','_sheetSkeletonService','ConnectorCoordinateTransform','attachPopupToObject','bottom','shape-editor-ui.toolbar.changeShape','copyId'];_0x5c87=function(){return _0x5528f6;};return _0x5c87();}
|