@univerjs-pro/sheets-shape-ui 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- 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/controllers/sheet-shape-clipboard.controller.d.ts +8 -3
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
- package/lib/types/controllers/sheets-shape-ui-permission.controller.d.ts +3 -2
- 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 +21 -21
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x40a5(){const _0x2cb533=['shouldClipShapeTextDocument','UPDATE','@univerjs/core','toDisposable','InsertSheetsShapeMutation','keys','_sheetsShapeService','getTransformer','SheetsShapeUIMenuSchema','_shapeFloatingToolbarService','DrawingImageClipService','LocaleService','_getOrCreateShapeModel','_menuManagerService','beforeCommandExecuted','_completionFrame','onerror','Module','applyQuickStyleToShapeData','ShapeModel','getAdjustInfoByName','sheets-shape-format-font-family-menu','130648jYpQDH','DRAWING','clipTop','height','ShapeTypeEnum','isRender','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','presentation','cxnPointStrokeWidth','#1a73e8','SHAPE_TEXT','_updateAdjustControlPositions','sheet.command.menu-insert-shape','_drawRichTextLayer','stopPropagation','getShapeTextRect','isArray','call','adjustValues','@univerjs/sheets','WorkbookCopyPermission','_getImagePrstGeom','URL','Plugin','sheets-shape-ui.insertShape','entries','UUID','drawing-ui.objectListPanel.sectionFloating','back','subscribe','2271xcMUBL','offsetX','getMatrix','Large','EMPTY','hadStyleAttribute','DRAWING_OBJECT_LAYER_INDEX','cxnPointFill','_activeShapeId','presentationChanged$','UniverDocsUIPlugin','getFocusDrawings','onDblclick$','vectorEffect','cancelEditing','transformForAngle','_moveConnectorWithShape','size','_urlImageService','getDrawingData','sheets-shape-ui.ribbon.shape-format.arrange-back','Medium','shapeType','SolidFill','IContextService','WorksheetEditPermission','8205624spXJdB','resolveShapeTextEditorBehaviorShapeData','asObservable','object-layers-icon','UniverDrawing','toFixed','defIds','colorChannel1','sheets-shape-ui.ribbon.shape-format','getBasicShapeRotateBound','iterator','Path','hasDefault','_univerInstanceService','clearActiveDrawingObjects','UniverSheets','getUnitId','with','_formulaKey','composeMatrix','@univerjs/sheets-drawing-ui','sheets-shape-ui.imagePanel.crop.shape','_drawSimpleText','subUnitId','DRAWING_IMAGE','ObjectLayersIcon','index','sheet.shape.picker.component','_attachAdjustEvent','normalizeShapeTextModel','vertical-center','INSERT','CURSOR_TYPE','get','viewBox','_updateShapeAdjustControls','removeLinePoints','_clearShapeConnectorHandlerObjects','tag','stringify','contentHeight','FlipHorizontalIcon','SetDrawingApplyMutation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','M10.2\x208H11.8','RemoveSheetDrawingCommand','_loadShapePictureFill','drawing-ui.objectListPanel.lock','_permissionService','scene','_initPrinting','getCurrentRangeDisable$','parent','getCurrentLastSelection','0\x200\x2017\x2016','disposeWithMe','TOP','_currentScene','UniverInstanceType','title','sheets-shape-ui.shape-format.text-ribbon-control','showContextualTab','SheetPrintInterceptorService','options','UniverDocs','sqrt','updateContext','ShapeFloatingToolbarToggleFactory','_baseShapeLeft','_currentConnectionTarget','drawing-ui.objectListPanel.nameInput','setFillImage','SheetsSelectionsService','getShapeType','drawing-ui.objectListPanel.collapse','@univerjs-pro/shape-editor','UniverSheetsShapePlugin','_closeShapeEditPanel','634XebOWx','MenuItemType','getConnectionSiteList','jsx','replace','buildShapeTextDataUpdate','_activeShapeAdjustPointList','contentVerticalOffset','useImperativeHandle','_registerDrawingFocusChangeHandler','xlink:href','getZoomRatio','touchDependencies','presetId','UniverProLicense','useMemo','_groupCopyPasteController','_baseShapeHeight','sheet.operation.open-shape-object-list-panel','has','MoveUpIcon','error','getDrawingTypeNameKey','getShapeTextData','strokeWidth','width','@univerjs/docs-ui','draw','ArrangeTypeEnum','drawing-ui.objectListPanel.descriptionPlaceholder','addClipboardHook','_connectorObjects','_sheetPrintInterceptorService','RIBBON','toStringTag','getDrawingSearch','shape-editor-ui.toolbar.quickStyles','_draw','sheets-shape-ui.flipVertical','fillType','CROSSHAIR','reverse','DocRenderController','drawing-ui.objectListPanel.unlock','ShapeArrowTypeEnum','_sidebarDisposable','startArrow','354kZtPFW','useReducer','_handleFreeEndpointPointerUp','getOwnPropertyDescriptor','canvasElement','_clearControls','_shapeService','_initSheetChange','_insertingShapeKeys','clip','getPropertyPriority','data','clearAdjustControls','_insertShapes','doc','OPERATION','redo','extensionGroups','startConnectionDetection','invert','currentAdjustValues','setContextValue','Shape','shapeId','disableObjectsEvent','shapeText','scale','_config','_activeAdjustInfo','_sheetShapeAdjustController','push','_baseDrawingRect','prstGeomAdjValues','from','getSkeletonParam','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','selectable','DocSelectionRenderService','ShapeDefaultConfig','getShapeModel','PictureFill','_ribbonService','startY','getBatchRemoveOp','_cxtHandlerPointerMove','transformToAxisAlignPosition','DEFAULT_PASTE','drawing-ui.objectListPanel.typeNames.','getOrCreateDrawingCopyPlan','setFallbackVisible','shape-adjust-point-','_currentUniverService','ContextMenuGroup','computeConnectorResizeLayout','registerDependencies','addImageSourceCache','_copyInfo','#FFFFFF','ShapeFloatingToolbar','_adjName','@univerjs/drawing-ui','PRINTING_COMPONENT_COLLECT','getConnectorLinePoints','FOCUSING_SHAPE_TEXT_EDITOR','_getConnectionSiteAngle','DocEventManagerService','_registerDrawingMoveHandler','image','transformToDrawingPosition','top-center','changeShapeType','map','disconnect','FromArray','insertGroupObject','Observable','DrawingTypeEnum','copyId','_getShapeInfo','adjHandleFill','getAdjustNames','VIEW_MAIN','_sheetCanvasPopManagerService','connection-site-','endConnectionDetection','_updateTransform','prstGeom','GROUP','_getShapeAdjustPointListById','IDrawingManagerService','popup','SheetScrollManagerService','drawing-ui.objectListPanel.filterLocked','updateConnectionDetection','COPY_TYPE','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','delete','_initialize','_shapeRenderController','UniverShapeEditorPlugin','_handleConnectedEndpointMove','_shapePopupMenuDisposable','render','_resetState','routeConnectorLineShape','_executeConnectionCommand','_registerImageShapeClipDelegate','ShapePickerDropdown','_isConnecting','cloneShapeDataForType','lineShapeId','refreshAdjustControls','remove$','clip-','@univerjs-pro/sheets-shape','visible$','classType','top','params','SHEET_SHAPE_UI_PLUGIN','createInternalEditorID','localToWorld','_drawingManagerService','attachTransformerTo','computeStraightConnectorLayout','_isStartAdjusting','getDrawingShapeKeyByDrawingSearch','@univerjs/docs','onReady','preValue','calcAdjValues','undo','@univerjs/sheets-drawing','ShapeGroupEnum','drawing-ui.objectListPanel.sectionCanvas','getObject','copyType','attachPopupToObject','UniverSheetsShapeMobileUIPlugin','ShapeTextHyperLinkHoverController','defer','_cxtHandlerPointerUp','getDrawingPoints','SheetPermissionCheckController','getSheetId','ShapeRenderModeEnum','getCanvasElement','RemoveSheetCommand','adjHandleSize','_focusedDrawings','bindRenderTransformerLifecycle','getDrawingVisible','_baseLeft','_executeResizeCommand','_drawRichText','forwardRef','getInterceptPoints','updateLinePoints','current','marginTop','sheet.image-clip.shape-picker.component','UniverSheetsPlugin','getMenuHiddenObservable','_isImagePointerDown','SheetsShapeUIContextualRibbonSchema','computeConnectorRouteLayout','amd','CUT','getConnectionInfo','sheets-shape-ui.ribbon.shape-format.formula-control','_baseTop','VerticalAlign','M8\x2014V14.2','IRenderManagerService','_applyFormulaAutoFitSize','string','getValue','getDrawingByParam','Fragment','_getShapeAdjustInfosById','vertical','ShapeLineTypeEnum','VIEW_MAIN_LEFT','UniverSheetsShapeUIPlugin','setPresentation','_activeAdjustPointList','UniverMobileUIPlugin','@univerjs/sheets-ui','_getDrawingRect','srcRect','sheet.operation.open-sheet-shape-format-panel','getSkeleton','gradientEndColor','648084LfFbtv','React','UniverDrawingPlugin','IConfigService','setShapeProps','dispose','_imageIoService','SHEET','setHighlighted','UniverProSheetsShape','resolveHyperLinkAt','shape-editor-ui.toolbar.changeShape','isStartConnectorPoint','ICommandService','sheets-shape-contextual-ribbon','_showConnectionSites','_subUnitId','engine','_iconManager','fontSize','name','setProperty','UNIVER_SHEET','changeStart$','ShapeTextFloatMenuRenderControllerBase','startX','_props','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','completeEditing','getCurrentUnitOfType','stroke','length','mask','move-down-icon','_sheetClipboardService','UniverSheetsDrawingMobileUIPlugin','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','disableShapeOption','resolveShapeTextDocumentRenderLayout','_connectionSiteObjects','isConnectorShape','some','_updateImageAdjValues','setCursor','_sidebarService','createShapeFormulaDocument','_clearShapeAdjustControls','_clearFocusedShape','attrs','pick','@univerjs-pro/shape-editor-ui','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','clearControl$','shouldAllowShapeTextEditorHostSizeShrink','getCurrentTypeOfUnit$','blockExecuteWithoutPermission','_initSelection','MobileObjectListPanel','_getImageDrawingInfo','refreshShapeFillImage','find','getObjectIncludeInGroup','bottom-icon','getSheetCommandTarget','_executeConnectedRouteResizeCommand','pushUndoRedo','image-clip-adjust-point-','M6.2\x208H7.8','normal','isolated','trim','resize','Transform','getCurrentScrollState','sheet.shape.edit.panel','RemoveSheetsShapeMutation','color','sheet.menu.shape.flip-horizontal','registerRenderModule','drawing-ui.objectListPanel.empty','getActiveSheet','REMOVE','DependentOn','clone','angle','_generatePasteMutations','drawFormulaShapeAnimationLayers','canvas','_baseShapeWidth','Vector2','cxnPointRadius','PREDEFINED_HOOK_NAME','ShapeTextFloatToolbar','getRealBound','registerClipDelegate','ConnectorCoordinateTransform','_baseShapeTop','_disposed','_activeShapeModel','ContextMenuPosition','_getConnectPointInfo','1em','_highlightedSiteIndex','drawing-ui.objectListPanel.show','_renderWithCache','set','unsubscribe','_handleFreeEndpointMove','panel','open','ShapeArrowSizeEnum','SheetSkeletonManagerService','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','M8\x2010.2V11.8','featurePluginUpdateNotification','IPermissionService','_openShapeEditPanel','exports','axisAlignSheetTransform','forward','_reset','getBatchAddOp','_clearCompletionFrame','sheets-shape-ui.editText','setSrcRect','CommandType','animationEnabled','objects','adjName','text','refreshTransform','getInverseCoord','sheets-shape-ui.deleteShape','DocumentSkeleton','getState','_rerouteConnectorLine','mergeMenu','_popupMenuListener','IRibbonService','_initEvents','plainShapeTextToDocumentData','strokeOpacity','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','onPointerDown$','getDrawingDataForUnit','non-scaling-stroke','BehaviorSubject','_commandService','evenodd','ShapeTextEditorContainer','visible','drawing-ui.objectListPanel.moveForward','wrapStrategy','transformByState','object','_addControl','UniverSheetsDrawingUIPlugin','_context','start','_setTransForm','generateRandomId','drawingType','1.4.0','sectionCanvas','permissionPointUpdate$','drawing-ui.objectListPanel.unlockAll','flipY','subscribeEvent','localeService','originalStrokeWidth','setCanUseShapeClip','OTHERS','fillImageSource','sin','ShapeFillEnum','focus$','clipHeight','appliedStrokeWidth','assign','_isDrawingShapePointDown','HorizontalAlign','drawing-ui.objectListPanel.filterAll','_canEdit','getViewportByCell','shapeData','svg','function','idMap','_handleConnectorPointerUp','setOnSavingEditorData','_cxnIndex','ancestorTransform','getShapeData','http://www.w3.org/2000/svg','switchMap','getImage','restore','flip-vertical-icon','@univerjs-pro/engine-shape','ShapeQuickStyleGallery','getEndConnectInfo','update$','getShapeDataById','setPrstGeom','close','_hasReset','clearAdjustValue','drawing-ui.objectListPanel.locate','drawing-ui.objectListPanel.unlockHint','_createControls','use','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','rotation','addObject','ShapeTextHyperLinkPopupService','children','packageName','getShapeTypeById','sheetViewStartColumn','shape-editor-ui.arrange.back','getShapeQuickStyleType','Inject','ISidebarService','url(#$1','rxjs','worldPoints','getParent','_adjHandlerPointerUp','_renderManagerService','SheetInterceptorService','LEFT','parse','sheet.menu.shape.flip-vertical','drawWith','shape-editor-ui.arrange.forward','description','flipX','flip-horizontal-icon','CopySheetCommand','M8\x206.2V7.8','shapeKey','_calculateFreeEndpointAngle','multiply','drawing-ui.objectListPanel.expand','SELECTOR','indexOf','UpdateConnectorRelationCommand','SHAPE_EDITOR_TRANSFORMER_CONFIG','isEditing','setShouldShowAdjust','SheetsShapeService','FormatPainterSessionService','SheetCanvasPopManagerService','style','_formulaShapes','hideContextualTab','sheets-shape-ui.flipHorizontal','FOCUSING_COMMON_DRAWINGS','_commandExecutedListener','round','_registerComponents','UniverDocsPlugin','updateShapeFillImage','onStarting','IMenuManagerService','DrawingRenderService','sheets-shape-ui.ribbon.shape-format.text-control','resourceCollector','getDrawingOKey','forEach','UniverLicensePlugin','VIEW_MAIN_LEFT_TOP','_createCopyInfoByRange','MobileShapeEditorService','_drawShapeText','relation','_lastEditingShapeKey','formulaPresentation','Circle','univerjs-icon\x20univerjs-icon-','translate','order','SetDrawingArrangeCommand','UndoRedoGroupService','changeEnd$','useEffect','_registerFocusChangeHandler','resetCursor','activeSheet$','_editingParams$','dataModel','_addShapeConnectorHandlerObjects','_localeService','SheetShapeTextEditorContainer','UniverSheetsDrawingPlugin','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','Injector','unitId','_formulaAnimation','move-up-icon','isInGroup','_shapes','renderDrawingShape','transform','drawing-ui.objectListPanel.title','getSelectedObjectMap','BUTTON','drawing-ui.objectListPanel.hideAll','worldRect','getPropertyValue','calculate','UniverSheetsDrawing','InsertShapeCommand','BottomIcon','flatMap','_registerOperations','onSteady','memo','_clearConnectionSites','drawing-ui.objectListPanel.lockAll','getImageSourceCache','DocumentDataModel','UNIVER_DOC','PaintIcon','highlighted','abs','setConfig','getTextStyle','_sheetDrawingService','onload','sheets-shape-ui.shape-format.quick-style-gallery','_activeShapeInfo','drawing.operation.set-drawing-active','_clipService','ToggleSheetsShapeFlipCommand','_contextService','FlipVerticalIcon','ang','ShapeTextRibbonControl','_attachConnectorObjectEvent','add$','SheetDrawingAnchor','_isShouldShowDrawingShapeAdjust','none','src','resolveShapeTextEditorWrapStrategy','DocInterceptorService','UniverDocsUi','_isStartConnectorPoint','useObservable','None','version','_getZoomRatio','localName','interceptor','UniverUi','#4285f4','_shapeEditPanelVersion','getBatchUpdateOp','MoveDownIcon','isMainScene','MEDIA','IUniverInstanceService','_shapeTextEditingService','resolveFormulaShapeAutoFitSize','transformVector2SceneCoord','_configService','worldPoint','add','animateFormulaPresentation','getActiveViewportByCoord','654080ErajVU','getActualSize','clear','Disposable','value','shape-editor-ui.arrange.front','save','Line','isHit','fillImageSourceType','getPermissionPoint','doc.image-clip.shape-picker.component','translateWithPrecision','includes','_onSavingEditorData$','ComponentManager','applyPoint','_shapeId','RENDER_CLASS_TYPE','getUnit','M4.2\x208.3H6.8','sidebarOptions$','_initCopyPaste','UpdateSheetsShapeDataMutation','_disposePopups','_isOpenedShapeEditPanel','ShapeFloatingToolbarService','_targetShapeId','_visible','offsetY','_clearPopups','setPrstGeomAdjValues','SetSheetDrawingCommand','reduce','merge','getRenderUnitById','getAutoFitPresentations','Image','_transformCalculateSrcRect','values','UniverProShapeEditorUi','makeDirty','setFormulaPresentation','symbol','activateDrawingObject','_registerIcons','_componentManager','buildClipPath','_findShapeAtPoint','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','_releaseRenderCache','SHEET_VIEWPORT_KEY','0\x200\x2016\x2016','sheets-shape-ui.objectListPanel.title','setShapeData','clipByShape','beginPath','WorksheetCopyPermission','FloatingObjectToolbarPosition','sheets-shape-ui.config','Arrow','_adjHandlerPointerMove','_activeImageId','createControl$','ShapeIcon','attachRangeWithCoord','cxnPointStroke','refreshFormulaPresentation','IURLImageService','UniverDesign','ShapeFormatSettingIcon','_hide','cxnIndex','sheet.shape.floating-toolbar','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','sheets-shape-ui.formatShape','_registerFeatureMenu','IconManager','getSheetBySheetId','hideInfoPopup','isRichText','_baseHeight','resolveActiveShapeQuickStylePresetId','DocCanvasPopManagerService','register','_sheetBasicShapeConnectionPointController','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','_shapeFormulaService','createElement','setAdjustValueByName','ImageSourceTypeEnum','complete','getEditing','targetShapeId','univer-box-border\x20univer-px-4\x20univer-text-sm','discreteRangeToRange','ObjectListPanelBase','_imageShapeClipController','_generateCopyPasteMutations','_registerGroupFeaturePasteHook','_loadAndSetImage','#bcbcbc','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_initCommands','onPointerUp$','unregister','syncExecuteCommand','drawingId','getTextModel','changing$','sheet.operation.apply-shape-quick-style','registerShapeFormatPainter','getBoundingClientRect','4355330ifJOjR','_findNearestConnectionSite','focusDrawing','_transform','_getSceneAndTransformerByDrawingSearch','_initEditingParams','intercept','pluginName','hidden','_update','sheetViewStartRow','isFinite','useState','drawing-ui.objectListPanel.details','viewportScrollY','UniverShapeEditorMobileUIPlugin','type','fill','initShapePopupMenu','bottom','registerCommand','_hyperLinkRegions','getCurrentSkeleton','useFormulaShapeToolbar','ISheetDrawingService','ShapeStyleRibbonControl','isLineShape','toPrimitive','point','_isHighlighted','MenuManagerPosition','clip-adj-','defineProperty','oKey','DocumentViewModel','setEditing','sheets-shape-ui.quickStyles','custom','getShapeQuickStylePreset','WorkbookEditablePermission','_draggingConnectorId','UniverDrawingUi','_initPermission','_addShapeConnectorHandlerObject','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','currentColor','pipe','UniverRenderEnginePlugin','decorate','getAdjustValueByName','isRenderLinePointsMode','registerFeaturePasteHook','endArrow','_injector','prepareShapeTextDocumentData','1808406kNRWAr','M14\x208H14.2','priority','_sheetPermissionCheckController','_sheetInterceptorService','sheets-shape-ui.shape-format.style-ribbon-control','_unitId','create','ToggleShapeFloatingToolbarOperation','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','lineType','path','onRendered','useDependency','_shapeUpdateListener','filter','onCommandExecuted','DrawingCommonPanel','target','enableObjectsEvent','getUnitType','_sheetSkeletonService','M4.2\x205.5H10.5','shape-text-','baseVal','sheetTransform','idSuffix','distinctUntilChanged','_sheetDrawingShapeRenderController','_initMenu','_activeTargetShapeId','executeCommand','@univerjs-pro/license','jsxs','DisposableCollection','displayName','DRAWING_SHAPE','_baseWidth','element','COMMAND','SetDrawingSelectedOperation','getDrawingEditable','onPointerMove$','isReleased','shape-format-setting-icon','_init','registerFeatureMenu','startWith','skeleton','_handleConnectedEndpointPointerUp','DrawingApplyType','_handleBasicShapeUpdateConnectorLineShape','_createShapeAdjustControls','UniverDrawingUIPlugin','shapeModel','@univerjs/engine-render','constructor','getStartConnectInfo','getDrawingOrder','UniverProShapeEditor','editingParams$','_generateCutPasteMutations','viewportScrollX','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','left','formulaBinding','_updateSrcRectByTransform','StraightConnector1','stroke-width','sheets-shape-ui.ribbon.shape-format.arrange-forward','_drawingRenderService','sheets-shape-ui.ribbon.shape-format.arrange-backward','_index','parseFloat','max','_executeConnectedRouteConnectionCommand','SHAPE_CHANGE_PICKER_COMPONENT','react/jsx-runtime','sheets-shape-ui.objectListPanel.open','next','getScene','getObjectListPanelSectionIdForDrawingType','getTransformerByCreate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getCurrentUnitInfo','cos','getPresentation','resolveShapeTextHyperLinkObject','UniverIcon','_getScrollInfo','_drawingAddListener','_addShapeAdjustControl'];_0x40a5=function(){return _0x2cb533;};return _0x40a5();}function _0x3385(_0x50749b,_0x521a97){_0x50749b=_0x50749b-0x1b1;const _0x40a57f=_0x40a5();let _0x33857c=_0x40a57f[_0x50749b];return _0x33857c;}(function(_0x4824c1,_0x3a6363){const _0x22c8f9=_0x3385,_0x35da26=_0x4824c1();while(!![]){try{const _0x49ebf7=-parseInt(_0x22c8f9(0x524))/0x1*(-parseInt(_0x22c8f9(0x58c))/0x2)+-parseInt(_0x22c8f9(0x494))/0x3+-parseInt(_0x22c8f9(0x279))/0x4+parseInt(_0x22c8f9(0x45d))/0x5+parseInt(_0x22c8f9(0x1b8))/0x6*(-parseInt(_0x22c8f9(0x506))/0x7)+-parseInt(_0x22c8f9(0x3ec))/0x8+parseInt(_0x22c8f9(0x53e))/0x9;if(_0x49ebf7===_0x3a6363)break;else _0x35da26['push'](_0x35da26['shift']());}catch(_0xfda17b){_0x35da26['push'](_0x35da26['shift']());}}}(_0x40a5,0x877c6),function(_0x47fd0a,_0x55de6){const _0x1a71af=_0x3385;typeof exports==_0x1a71af(0x313)&&typeof module<'u'?_0x55de6(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==_0x1a71af(0x333)&&define[_0x1a71af(0x25e)]?define([_0x1a71af(0x2ee),_0x1a71af(0x2ab),'@univerjs/ui',_0x1a71af(0x33f),_0x1a71af(0x589),_0x1a71af(0x22a),_0x1a71af(0x4f2),_0x1a71af(0x519),'@univerjs/drawing',_0x1a71af(0x4cb),_0x1a71af(0x273),_0x1a71af(0x359),_0x1a71af(0x1f4),'@univerjs/design',_0x1a71af(0x4e1),_0x1a71af(0x23c),_0x1a71af(0x4b4),_0x1a71af(0x237),_0x1a71af(0x5a6),_0x1a71af(0x552),'react'],_0x55de6):(_0x47fd0a=typeof globalThis<'u'?globalThis:_0x47fd0a||self,_0x55de6(_0x47fd0a['UniverProSheetsShapeUi']={},_0x47fd0a[_0x1a71af(0x414)],_0x47fd0a[_0x1a71af(0x3dc)],_0x47fd0a['UniverProEngineShape'],_0x47fd0a[_0x1a71af(0x4cf)],_0x47fd0a[_0x1a71af(0x282)],_0x47fd0a['UniverCore'],_0x47fd0a[_0x1a71af(0x54d)],_0x47fd0a[_0x1a71af(0x542)],_0x47fd0a['UniverEngineRender'],_0x47fd0a['UniverSheetsUi'],_0x47fd0a[_0x1a71af(0x359)],_0x47fd0a[_0x1a71af(0x486)],_0x47fd0a[_0x1a71af(0x431)],_0x47fd0a['React'],_0x47fd0a[_0x1a71af(0x3b0)],_0x47fd0a[_0x1a71af(0x59a)],_0x47fd0a[_0x1a71af(0x57e)],_0x47fd0a[_0x1a71af(0x3d4)],_0x47fd0a['UniverSheetsDrawingUi'],_0x47fd0a[_0x1a71af(0x27a)]));}(this,function(_0x2c14d8,_0x1a617a,_0x3412e6,_0x42c76f,_0x1959c2,_0x43ee3e,_0x4fcc67,_0x33d9c6,_0x89eb48,_0x5e3080,_0x5b8007,_0x5597c9,_0x108bdb,_0x44add0,_0x58bcbb,_0x51f92a,_0x53e697,_0x73dbdf,_0x505021,_0x254bb3,_0x9d5ee3){const _0x439e5d=_0x3385;Object[_0x439e5d(0x47d)](_0x2c14d8,Symbol[_0x439e5d(0x5ae)],{'value':_0x439e5d(0x501)});function _0x216822(_0x113703,_0x5c5cb1){const _0x52c436=_0x439e5d;let _0x749895={};for(let _0x1693f0 of Object[_0x52c436(0x4f5)](_0x5c5cb1)){let _0x40c020=_0x5c5cb1[_0x1693f0],_0x229ebd=_0x113703[_0x1693f0];_0x749895[_0x1693f0]=_0x229ebd===void 0x0?void 0x0:typeof _0x40c020==_0x52c436(0x313)&&_0x40c020&&!Array[_0x52c436(0x516)](_0x40c020)&&typeof _0x229ebd==_0x52c436(0x313)&&_0x229ebd&&!Array[_0x52c436(0x516)](_0x229ebd)?_0x216822(_0x229ebd,_0x40c020):_0x229ebd;}return _0x749895;}let _0x4b1d28={'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x4bb)],'id':'sheet.command.update-shape-data','handler':(_0x4729bf,_0x1b4b7a)=>{const _0x2e85da=_0x439e5d;let _0x6873b=_0x4729bf[_0x2e85da(0x55f)](_0x43ee3e[_0x2e85da(0x373)]),{unitId:_0x21a4f3,subUnitId:_0x34b9ab,shapeType:_0x118f9c,shapeId:_0x49f1bc,shapeData:_0x41e6b7,replaceShapeData:_0x598761,oldShapeJSON:_0x425b14}=_0x1b4b7a;if(!_0x6873b[_0x2e85da(0x1df)](_0x21a4f3,_0x34b9ab,_0x49f1bc))return!0x1;let _0x4b7ec5=_0x4729bf[_0x2e85da(0x55f)](_0x4fcc67[_0x2e85da(0x286)]),_0xcdece9=_0x4729bf['get'](_0x4fcc67['IUndoRedoService']),{oldShapeType:_0x10816d,oldShapeData:_0x3a3cd4={}}=_0x425b14,_0x14baa7=_0x598761?_0x3a3cd4:_0x216822(_0x3a3cd4,_0x41e6b7||{}),_0x333738={'id':_0x43ee3e['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x21a4f3,'subUnitId':_0x34b9ab,'shapeId':_0x49f1bc,'shapeType':_0x118f9c,'shapeData':_0x41e6b7,'replace':_0x598761}},_0x42ca00={'id':_0x43ee3e[_0x2e85da(0x403)]['id'],'params':{'unitId':_0x21a4f3,'subUnitId':_0x34b9ab,'shapeId':_0x49f1bc,'shapeType':_0x10816d,'shapeData':_0x14baa7,'replace':_0x598761}};return _0x4b7ec5[_0x2e85da(0x456)](_0x333738['id'],_0x333738[_0x2e85da(0x22e)])?(_0xcdece9[_0x2e85da(0x2ba)]({'unitID':_0x21a4f3,'undoMutations':[_0x42ca00],'redoMutations':[_0x333738]}),!0x0):!0x1;}};function _0x15d4c3(_0xe840c9,_0x4a03bf,_0x42431d,_0x24643d,_0x4e2d29,_0x40f222){const _0xf63cee=_0x439e5d;let _0x2e3b3b={'unitId':_0x4a03bf,'subUnitId':_0x42431d,'shapeId':_0x24643d,'shapeData':_0x40f222,'oldShapeJSON':_0x4e2d29};return _0xe840c9[_0xf63cee(0x4b3)](_0x4b1d28['id'],_0x2e3b3b);}function _0x8a2fc8(_0xc318a7,_0x30b90e,_0x1d2266,_0x2dba94,_0xb694db,_0x2799d5){let _0x1bf768={'unitId':_0x30b90e,'subUnitId':_0x1d2266,'shapeId':_0x2dba94,'shapeData':_0x2799d5,'oldShapeJSON':_0xb694db};return _0xc318a7['executeCommand'](_0x4b1d28['id'],_0x1bf768);}function _0x34c4d8(_0x43d5b8){'@babel/helpers - typeof';const _0x78b3f=_0x439e5d;return _0x34c4d8=typeof Symbol==_0x78b3f(0x333)&&typeof Symbol[_0x78b3f(0x548)]==_0x78b3f(0x417)?function(_0xc2aa18){return typeof _0xc2aa18;}:function(_0x43313e){const _0xfe79aa=_0x78b3f;return _0x43313e&&typeof Symbol=='function'&&_0x43313e[_0xfe79aa(0x4cc)]===Symbol&&_0x43313e!==Symbol['prototype']?_0xfe79aa(0x417):typeof _0x43313e;},_0x34c4d8(_0x43d5b8);}function _0x23b99c(_0x2301b9,_0x223bb9){const _0x2437aa=_0x439e5d;if(_0x34c4d8(_0x2301b9)!=_0x2437aa(0x313)||!_0x2301b9)return _0x2301b9;var _0x581116=_0x2301b9[Symbol[_0x2437aa(0x478)]];if(_0x581116!==void 0x0){var _0x4db622=_0x581116[_0x2437aa(0x517)](_0x2301b9,_0x223bb9||'default');if(_0x34c4d8(_0x4db622)!=_0x2437aa(0x313))return _0x4db622;throw TypeError(_0x2437aa(0x4e7));}return(_0x223bb9===_0x2437aa(0x267)?String:Number)(_0x2301b9);}function _0x2dc238(_0x13447d){const _0x286e78=_0x439e5d;var _0x28c3d5=_0x23b99c(_0x13447d,_0x286e78(0x267));return _0x34c4d8(_0x28c3d5)=='symbol'?_0x28c3d5:_0x28c3d5+'';}function _0x355f4a(_0x2b1d19,_0x1fd510,_0x4f3aac){const _0x2c7e99=_0x439e5d;return(_0x1fd510=_0x2dc238(_0x1fd510))in _0x2b1d19?Object[_0x2c7e99(0x47d)](_0x2b1d19,_0x1fd510,{'value':_0x4f3aac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b1d19[_0x1fd510]=_0x4f3aac,_0x2b1d19;}function _0x4ee1ee(_0x4bb744,_0x2cf386,_0x5040c0){const _0x319c13=_0x439e5d;let _0x10e1d8={..._0x2cf386,'dataModel':{..._0x2cf386[_0x319c13(0x39b)]??{},..._0x5040c0?{'doc':_0x5040c0}:null}},_0x259e49=(0x0,_0x1a617a[_0x319c13(0x53f)])(_0x4bb744,_0x10e1d8),_0x2314d3=(0x0,_0x1a617a[_0x319c13(0x3d2)])(_0x259e49);return{'clip':(0x0,_0x1a617a[_0x319c13(0x4f0)])(_0x259e49,_0x2314d3),'wrapStrategy':_0x2314d3};}var _0x11dd97=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x301a57,_0x403c63){const _0x5e52f0=_0x439e5d;super(_0x301a57,_0x403c63),_0x355f4a(this,_0x5e52f0(0x472),[]),_0x355f4a(this,_0x5e52f0(0x293),void 0x0),_0x355f4a(this,_0x5e52f0(0x3a3),new _0x1a617a['FormulaShapeAnimationController'](()=>this['makeDirty'](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x355f4a(this,_0x5e52f0(0x412),!0x0),_0x355f4a(this,'_drawingType',_0x4fcc67['DrawingTypeEnum']['DRAWING_SHAPE']),_0x355f4a(this,'isDrawingObject',!0x0),this['_props']={..._0x403c63},this[_0x5e52f0(0x3a3)][_0x5e52f0(0x270)](_0x403c63[_0x5e52f0(0x38e)],_0x403c63[_0x5e52f0(0x3ea)]!==!0x1),this[_0x5e52f0(0x4c1)](),this[_0x5e52f0(0x266)]();}[_0x439e5d(0x4c1)](){this['onTransformChange$']['subscribeEvent'](_0x58c13f=>{const _0x10e8fc=_0x3385;this[_0x10e8fc(0x4d6)](_0x58c13f);});}['setPrstGeom'](_0x18cc8a){const _0x4082d9=_0x439e5d;this[_0x4082d9(0x293)]['prstGeom']=_0x18cc8a;}['resolveHyperLinkAt'](_0x2d0927){const _0x2dd8ba=_0x439e5d;if(this[_0x2dd8ba(0x293)][_0x2dd8ba(0x371)])return null;let _0x21aa3c=this[_0x2dd8ba(0x2fc)](_0x2d0927),{width:_0x39ccf7,height:_0x493c9d}=this[_0x2dd8ba(0x2d6)]();return(0x0,_0x1a617a['resolveShapeTextHyperLinkAt'])(this[_0x2dd8ba(0x472)],{'x':(this['flipX']?-_0x21aa3c['x']:_0x21aa3c['x'])+_0x39ccf7/0x2,'y':_0x21aa3c['y']+_0x493c9d/0x2});}[_0x439e5d(0x480)](_0x5f0a39){const _0x42ce86=_0x439e5d;this['_props'][_0x42ce86(0x371)]=_0x5f0a39,this[_0x42ce86(0x415)](!0x0);}['setFormulaPresentation'](_0x1a0bd7,_0x1406d9=!0x0){const _0x5c7a95=_0x439e5d;this[_0x5c7a95(0x3a3)][_0x5c7a95(0x270)](_0x1a0bd7,_0x1406d9),this[_0x5c7a95(0x293)][_0x5c7a95(0x38e)]=_0x1a0bd7,this[_0x5c7a95(0x266)](),this[_0x5c7a95(0x415)](!0x0);}[_0x439e5d(0x266)](){const _0x4884ad=_0x439e5d;let _0x53e5f5=this['_props'][_0x4884ad(0x4ca)],_0x504ded=_0x53e5f5[_0x4884ad(0x5a3)](),_0x5e8606=(0x0,_0x1a617a[_0x4884ad(0x55b)])(_0x504ded==null?void 0x0:_0x504ded[_0x4884ad(0x39b)]),_0x331918=_0x5e8606==null?void 0x0:_0x5e8606[_0x4884ad(0x1c6)],_0x4819ba=this[_0x4884ad(0x3a3)][_0x4884ad(0x410)]();if(!_0x331918||_0x4819ba[_0x4884ad(0x298)]===0x0)return;_0x53e5f5['updateContext']({'width':this[_0x4884ad(0x5a5)],'height':this[_0x4884ad(0x509)]});let _0x11c8e6=(0x0,_0x1a617a[_0x4884ad(0x3e5)])({'documentData':_0x4819ba[_0x4884ad(0x1ff)](_0x47941e=>(0x0,_0x1959c2[_0x4884ad(0x2a6)])(_0x331918,_0x47941e)),'height':this[_0x4884ad(0x509)],'shapeData':_0x53e5f5[_0x4884ad(0x339)](),'textRect':_0x53e5f5[_0x4884ad(0x515)]({'left':0x0,'top':0x0,'width':this[_0x4884ad(0x5a5)],'height':this[_0x4884ad(0x509)]}),'width':this['width']});if(_0x11c8e6){var _0x273e30;this[_0x4884ad(0x2c0)](_0x11c8e6[_0x4884ad(0x5a5)],_0x11c8e6[_0x4884ad(0x509)]),(_0x273e30=this[_0x4884ad(0x4e4)]())==null||(_0x273e30=_0x273e30['getTransformer']())==null||_0x273e30['debounceRefreshControls']();}}get[_0x439e5d(0x3a2)](){const _0x47ec72=_0x439e5d;return this[_0x47ec72(0x293)][_0x47ec72(0x3a2)];}get[_0x439e5d(0x555)](){const _0x27c224=_0x439e5d;return this[_0x27c224(0x293)][_0x27c224(0x555)];}[_0x439e5d(0x4d6)](_0x1af8fb){const _0x4ee922=_0x439e5d;if(this[_0x4ee922(0x293)][_0x4ee922(0x275)]==null||!this[_0x4ee922(0x412)])return;let {width:_0x1c8521,height:_0x13f919}=this,{width:_0x260971=0x0,height:_0x15ff53=0x0}=_0x1af8fb[_0x4ee922(0x239)],{left:_0x27a1c4=0x0,top:_0x502b61=0x0,right:_0x400aaf=0x0,bottom:_0x5054e1=0x0}=this['_props'][_0x4ee922(0x275)],_0x4f3991=_0x27a1c4,_0x3b82a9=_0x502b61,_0x548fbb=_0x400aaf,_0xf7fea2=_0x5054e1,_0x1d8366=!0x1;if(_0x260971!==0x0&&_0x260971!==_0x1c8521){let _0x11a509=_0x27a1c4/_0x260971,_0x3f2fd6=_0x400aaf/_0x260971;_0x4f3991=_0x1c8521*_0x11a509,_0x548fbb=_0x1c8521*_0x3f2fd6,_0x1d8366=!0x0;}if(_0x15ff53!==0x0&&_0x15ff53!==_0x13f919){let _0x47fa91=_0x502b61/_0x15ff53,_0x2eb78c=_0x5054e1/_0x15ff53;_0x3b82a9=_0x13f919*_0x47fa91,_0xf7fea2=_0x13f919*_0x2eb78c,_0x1d8366=!0x0;}_0x1d8366&&this['setSrcRect']({'left':_0x4f3991,'top':_0x3b82a9,'right':_0x548fbb,'bottom':_0xf7fea2});}[_0x439e5d(0x2f5)](_0x472ebd){const _0x370d85=_0x439e5d;this[_0x370d85(0x293)][_0x370d85(0x275)]=_0x472ebd,this[_0x370d85(0x415)](!0x0);}[_0x439e5d(0x585)](_0x80e1ed){const _0x59b557=_0x439e5d;this[_0x59b557(0x293)][_0x59b557(0x1fb)]=_0x80e1ed,this[_0x59b557(0x415)](!0x0);}set[_0x439e5d(0x3a8)](_0x47a41){const _0x4be322=_0x439e5d;this[_0x4be322(0x460)]=_0x47a41;}get[_0x439e5d(0x3a8)](){const _0x2fac98=_0x439e5d;this[_0x2fac98(0x460)]||this[_0x2fac98(0x318)]();let _0x5448a2=this[_0x2fac98(0x460)][_0x2fac98(0x2cc)]();return this[_0x2fac98(0x533)](_0x5448a2);}get[_0x439e5d(0x4ca)](){const _0x1692f8=_0x439e5d;return this[_0x1692f8(0x293)][_0x1692f8(0x4ca)];}get[_0x439e5d(0x1cf)](){const _0x4eb4f9=_0x439e5d;return this['_props'][_0x4eb4f9(0x1cf)];}get[_0x439e5d(0x22c)](){const _0x21e6b5=_0x439e5d;return _0x5e3080[_0x21e6b5(0x3fe)]['SHAPE'];}['_draw'](_0x2b0dd8,_0x347f98,_0x1d2e31,_0x24e37a){const _0x2c8e21=_0x439e5d;let _0x2cdf32=this[_0x2c8e21(0x293)]['shapeModel'];if(!_0x2cdf32||!_0x347f98)return;let _0x31aa24=_0x1d2e31??this[_0x2c8e21(0x5a5)],_0x5bf5ee=_0x24e37a??this[_0x2c8e21(0x509)],_0x4c5005={'shapeType':_0x2cdf32[_0x2c8e21(0x587)](),'width':_0x31aa24,'height':_0x5bf5ee},_0x1297a3={'renderMode':_0x42c76f[_0x2c8e21(0x249)][_0x2c8e21(0x549)],'oKey':this[_0x2c8e21(0x47e)],'image':this[_0x2c8e21(0x293)][_0x2c8e21(0x1fb)],'angle':this['angle']};_0x2cdf32['updateContext'](_0x4c5005),_0x2b0dd8[_0x2c8e21(0x3f2)]();let _0x45326a={'top':0x0,'left':0x0,'width':_0x31aa24,'height':_0x5bf5ee},_0x2a9277=_0x2cdf32['getDrawingEffectBounds'](_0x45326a);_0x2a9277?this[_0x2c8e21(0x2e1)](_0x2b0dd8,_0x2a9277,_0x31e194=>{_0x2cdf32['render'](_0x31e194,_0x45326a,_0x1297a3);}):(this[_0x2c8e21(0x41e)](),_0x2cdf32[_0x2c8e21(0x21e)](_0x2b0dd8,_0x45326a,_0x1297a3)),_0x2b0dd8[_0x2c8e21(0x33d)]();let _0x13ff97=_0x2cdf32['getShapeTextData'](),_0x157413=_0x2cdf32[_0x2c8e21(0x515)](_0x45326a),_0x40d381=_0x2cdf32['isLineShape']();if(_0x13ff97&&_0x157413&&!_0x40d381){_0x2b0dd8[_0x2c8e21(0x3f2)](),this[_0x2c8e21(0x2ff)]()[_0x2c8e21(0x365)]&&_0x2b0dd8[_0x2c8e21(0x1d2)](-0x1,0x1);let _0x797c1f=_0x31aa24/0x2,_0x4cb270=_0x5bf5ee/0x2;_0x2b0dd8[_0x2c8e21(0x391)](-_0x797c1f,-_0x4cb270),_0x2b0dd8[_0x2c8e21(0x424)](),this[_0x2c8e21(0x38b)](_0x2b0dd8,_0x13ff97,_0x157413),_0x2b0dd8['restore']();}}[_0x439e5d(0x246)](_0x11cb6d){}[_0x439e5d(0x38b)](_0x3575b7,_0x1b66ac,_0x542db2){const _0x240e40=_0x439e5d;var _0x59a269;this[_0x240e40(0x472)]=[],this[_0x240e40(0x293)][_0x240e40(0x371)]||(!((_0x59a269=_0x1b66ac['dataModel'])!=null&&_0x59a269[_0x240e40(0x1c6)])&&_0x240e40(0x43c)in _0x1b66ac&&_0x1b66ac[_0x240e40(0x43c)]===!0x1?this['_drawSimpleText'](_0x3575b7,_0x1b66ac,_0x542db2):this['_drawRichText'](_0x3575b7,_0x1b66ac,_0x542db2));}[_0x439e5d(0x554)](_0x28ccfb,_0xf1308c,_0x2a4794){const _0x375dd5=_0x439e5d;this[_0x375dd5(0x252)](_0x28ccfb,{..._0xf1308c,'text':_0xf1308c[_0x375dd5(0x2fa)]??'','dataModel':{'doc':(0x0,_0x1a617a[_0x375dd5(0x305)])(_0xf1308c,'sheets-shape-text-'+this[_0x375dd5(0x47e)])}},_0x2a4794);}[_0x439e5d(0x252)](_0x531794,_0x1713f5,_0x41e3a4){const _0x377340=_0x439e5d;(0x0,_0x1a617a[_0x377340(0x2cf)])(_0x531794,this[_0x377340(0x3a3)],(_0x3804f9,_0x2b7fb8,_0x58a80b)=>{const _0x999e1a=_0x377340;this[_0x999e1a(0x513)](_0x3804f9,_0x1713f5,_0x41e3a4,_0x2b7fb8,_0x58a80b===_0x999e1a(0x256));});}[_0x439e5d(0x513)](_0x21a910,_0x112239,_0x50ca43,_0x5bbfe6,_0x3a7243){const _0x4714d3=_0x439e5d;let _0x199175=this[_0x4714d3(0x293)][_0x4714d3(0x321)];if(!_0x112239[_0x4714d3(0x39b)]||!_0x199175)return;let _0x3b5af7=(0x0,_0x1a617a[_0x4714d3(0x55b)])(_0x112239[_0x4714d3(0x39b)]);if(!_0x3b5af7)return;let _0x2c9c8d=_0x3b5af7[_0x4714d3(0x1c6)];if(!_0x2c9c8d)return;let _0x13a4c2=(0x0,_0x1959c2[_0x4714d3(0x2a6)])(_0x2c9c8d,_0x5bbfe6),_0x419b6d=_0x3b5af7['va']??_0x4fcc67[_0x4714d3(0x263)][_0x4714d3(0x576)],_0x41ee95=_0x3b5af7['ha']??_0x4fcc67[_0x4714d3(0x32d)][_0x4714d3(0x35f)],_0x19adee=_0x4ee1ee(this[_0x4714d3(0x293)]['shapeModel'][_0x4714d3(0x339)](),_0x112239,_0x13a4c2),_0xedcf8c=_0x112239['isHorizontal'],_0x3fe25d=(0x0,_0x1a617a[_0x4714d3(0x493)])(_0x13a4c2,{'isHorizontal':_0xedcf8c!==!0x1,'textRect':_0x50ca43,'verticalAlign':_0x419b6d,'horizontalAlign':_0x41ee95,'wrapStrategy':_0x19adee[_0x4714d3(0x311)]}),_0x2565e3=new _0x4fcc67[(_0x4714d3(0x3ba))](_0x3fe25d),_0x1fe7ce=new _0x5e3080[(_0x4714d3(0x47f))](_0x2565e3),_0x28195f=_0x5e3080[_0x4714d3(0x2fe)][_0x4714d3(0x49b)](_0x1fe7ce,_0x199175);_0x28195f[_0x4714d3(0x3af)]();let _0x36a835=_0x28195f[_0x4714d3(0x3ed)]()['actualHeight'],_0x4f9dd9=(0x0,_0x1a617a[_0x4714d3(0x29f)])({'contentHeight':_0x36a835,'verticalAlign':_0x419b6d,'viewportHeight':_0x50ca43[_0x4714d3(0x509)]});_0x2565e3['updateDocumentStyle']({'pageSize':{'width':_0xedcf8c===!0x1?_0x50ca43[_0x4714d3(0x509)]:_0x50ca43[_0x4714d3(0x5a5)],'height':(0x0,_0x1a617a['resolveShapeTextDocumentPageHeight'])(_0x13a4c2,_0x4f9dd9[_0x4714d3(0x566)])}}),_0x2565e3['updateDocumentDataMargin']({'t':_0x4f9dd9[_0x4714d3(0x257)]}),_0x28195f[_0x4714d3(0x3af)]();let _0x528034=new _0x5e3080['Documents'](_0x4714d3(0x4ab)+this[_0x4714d3(0x47e)],_0x28195f,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x4714d3(0x415)](!0x0)});_0x528034['resize'](_0x50ca43[_0x4714d3(0x5a5)],_0x4f9dd9[_0x4714d3(0x566)]),_0x21a910[_0x4714d3(0x3f2)](),_0x21a910[_0x4714d3(0x3f8)](_0x50ca43[_0x4714d3(0x4d4)],_0x50ca43[_0x4714d3(0x22d)]),_0x19adee['clip']&&(_0x21a910[_0x4714d3(0x424)](),_0x21a910['rect'](0x0,_0x4f9dd9['clipTop'],_0x50ca43[_0x4714d3(0x5a5)],_0x4f9dd9['clipHeight']),_0x21a910[_0x4714d3(0x1c1)]()),_0x4f9dd9[_0x4714d3(0x593)]&&_0x21a910[_0x4714d3(0x3f8)](0x0,_0x4f9dd9[_0x4714d3(0x593)]),_0x528034[_0x4714d3(0x5a7)](_0x21a910),_0x3a7243&&(this['_hyperLinkRegions']=(0x0,_0x1a617a['createShapeTextHyperLinkRegions'])(_0x528034,{'left':_0x50ca43['left'],'top':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9['contentVerticalOffset']},_0x19adee[_0x4714d3(0x1c1)]?{'left':_0x50ca43['left'],'right':_0x50ca43[_0x4714d3(0x4d4)]+_0x50ca43[_0x4714d3(0x5a5)],'top':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9[_0x4714d3(0x508)],'bottom':_0x50ca43[_0x4714d3(0x22d)]+_0x4f9dd9['clipTop']+_0x4f9dd9[_0x4714d3(0x329)]}:void 0x0)),_0x21a910['restore'](),_0x528034[_0x4714d3(0x27e)](),_0x28195f[_0x4714d3(0x27e)](),_0x1fe7ce[_0x4714d3(0x27e)](),_0x2565e3[_0x4714d3(0x27e)]();}[_0x439e5d(0x21e)](_0x307c0c,_0x401b23,_0x273f02=!0x1){const _0x9d1a43=_0x439e5d;if(!this[_0x9d1a43(0x30f)])return this[_0x9d1a43(0x415)](!0x1),this;let {width:_0x2ee576,height:_0x2b0ad9,left:_0x511dd2,top:_0x1817b5}=this,_0x51348a=this['getRealBound']();if(_0x2ee576=_0x51348a[_0x9d1a43(0x5a5)],_0x2b0ad9=_0x51348a[_0x9d1a43(0x509)],_0x511dd2=_0x51348a[_0x9d1a43(0x4d4)],_0x1817b5=_0x51348a[_0x9d1a43(0x22d)],this[_0x9d1a43(0x50b)](_0x401b23)){let {top:_0x3ba389,left:_0x2cef91,bottom:_0x245c17,right:_0x5851df}=_0x401b23['viewBound'];if(_0x2ee576+this[_0x9d1a43(0x5a4)]+_0x511dd2<_0x2cef91||_0x5851df<_0x511dd2||_0x2b0ad9+this[_0x9d1a43(0x5a4)]+_0x1817b5<_0x3ba389||_0x245c17<_0x1817b5)return this;}let _0x1044b5=_0x511dd2+_0x2ee576/0x2,_0x14ae32=_0x1817b5+_0x2b0ad9/0x2,_0x51f834=this[_0x9d1a43(0x3a8)][_0x9d1a43(0x526)]();if(this[_0x9d1a43(0x293)]['isEditing']){let _0x403f28=this['getState'](),_0x57d030=new _0x5e3080[(_0x9d1a43(0x2c1))]();_0x57d030[_0x9d1a43(0x551)]({..._0x403f28}),_0x51f834=_0x57d030[_0x9d1a43(0x526)]();}return _0x307c0c['save'](),this[_0x9d1a43(0x293)]['shapeModel'][_0x9d1a43(0x48f)]===!0x0||_0x307c0c[_0x9d1a43(0x3a8)](_0x51f834[0x0],_0x51f834[0x1],_0x51f834[0x2],_0x51f834[0x3],_0x1044b5,_0x14ae32),this[_0x9d1a43(0x5b1)](_0x307c0c,_0x401b23,_0x2ee576,_0x2b0ad9),_0x307c0c[_0x9d1a43(0x33d)](),this[_0x9d1a43(0x415)](!0x1),this;}['getInverseCoord'](_0x12481b){const _0x2312a3=_0x439e5d;let {left:_0x18178f,top:_0x5a5e9a,width:_0x586c26,height:_0x4e966b}=this[_0x2312a3(0x2d6)](),_0x40f148=this[_0x2312a3(0x3a8)][_0x2312a3(0x526)](),_0xfbb74f=_0x18178f+_0x586c26/0x2,_0x27c9d0=_0x5a5e9a+_0x4e966b/0x2,_0x10a07a=new _0x5e3080[(_0x2312a3(0x2c1))]([_0x40f148[0x0],_0x40f148[0x1],_0x40f148[0x2],_0x40f148[0x3],_0xfbb74f,_0x27c9d0]),_0x17eaf0=this[_0x2312a3(0x35b)]();return(this[_0x2312a3(0x3a5)]&&(_0x17eaf0==null?void 0x0:_0x17eaf0[_0x2312a3(0x22c)])===_0x5e3080['RENDER_CLASS_TYPE'][_0x2312a3(0x20f)]?_0x17eaf0[_0x2312a3(0x338)]['multiply'](_0x10a07a):_0x10a07a)['invert']()['applyPoint'](_0x12481b);}[_0x439e5d(0x3f4)](_0x2250b4){const _0x1a8383=_0x439e5d;let {left:_0x1a3e74,top:_0x47b920,width:_0x26c0d7,height:_0x17b161}=this['getRealBound'](),_0x13d23f=_0x1a3e74+_0x26c0d7/0x2,_0x41cd82=_0x47b920+_0x17b161/0x2,_0x1385d1=this[_0x1a8383(0x3a8)][_0x1a8383(0x526)](),_0x5dac50=new _0x5e3080[(_0x1a8383(0x2c1))]([_0x1385d1[0x0],_0x1385d1[0x1],_0x1385d1[0x2],_0x1385d1[0x3],_0x13d23f,_0x41cd82]),_0x552230=this['getParent'](),_0x43d361=(this['isInGroup']&&(_0x552230==null?void 0x0:_0x552230[_0x1a8383(0x22c)])===_0x5e3080[_0x1a8383(0x3fe)][_0x1a8383(0x20f)]?_0x552230[_0x1a8383(0x338)][_0x1a8383(0x36b)](_0x5dac50):_0x5dac50)[_0x1a8383(0x1cb)]()[_0x1a8383(0x3fc)](_0x2250b4),_0x23bd7d=_0x26c0d7/0x2,_0x10cdcc=_0x17b161/0x2,_0x502b96=this[_0x1a8383(0x293)][_0x1a8383(0x4ca)];return _0x502b96&&_0x502b96[_0x1a8383(0x477)]()?_0x502b96['isHitLine'](_0x43d361['x'],_0x43d361['y'],_0x26c0d7,_0x17b161):_0x43d361['x']>=-_0x23bd7d-this[_0x1a8383(0x5a4)]/0x2&&_0x43d361['x']<=_0x23bd7d+this['strokeWidth']/0x2&&_0x43d361['y']>=-_0x10cdcc-this[_0x1a8383(0x5a4)]/0x2&&_0x43d361['y']<=_0x10cdcc+this['strokeWidth']/0x2;}[_0x439e5d(0x27e)](){const _0x3d4479=_0x439e5d;this[_0x3d4479(0x3a3)][_0x3d4479(0x27e)](),this[_0x3d4479(0x293)][_0x3d4479(0x4ca)]=null,super[_0x3d4479(0x27e)]();}},_0x309015=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x1b95ca,_0x189369){const _0x2f08dd=_0x439e5d;super(_0x1b95ca,_0x189369),_0x355f4a(this,_0x2f08dd(0x3fd),null),_0x355f4a(this,_0x2f08dd(0x1f3),null),_0x355f4a(this,_0x2f08dd(0x49a),null),_0x355f4a(this,_0x2f08dd(0x289),null),_0x189369&&this[_0x2f08dd(0x27d)](_0x189369);}[_0x439e5d(0x5af)](){const _0x218f23=_0x439e5d;return{'unitId':this[_0x218f23(0x49a)],'subUnitId':this[_0x218f23(0x289)],'drawingId':this[_0x218f23(0x3fd)]};}[_0x439e5d(0x27d)](_0x2d488a){const _0x352f3c=_0x439e5d;_0x2d488a['shapeId']!==void 0x0&&(this['_shapeId']=_0x2d488a[_0x352f3c(0x1cf)]),_0x2d488a[_0x352f3c(0x2f9)]!==void 0x0&&(this[_0x352f3c(0x1f3)]=_0x2d488a[_0x352f3c(0x2f9)]),_0x2d488a['unitId']!==void 0x0&&(this['_unitId']=_0x2d488a['unitId']),_0x2d488a[_0x352f3c(0x555)]!==void 0x0&&(this[_0x352f3c(0x289)]=_0x2d488a[_0x352f3c(0x555)]),this[_0x352f3c(0x312)]({'width':_0x2d488a[_0x352f3c(0x5a5)],'height':_0x2d488a['height']});}[_0x439e5d(0x5b1)](_0x159e99){const _0x924c75=_0x439e5d;_0x5e3080[_0x924c75(0x38f)][_0x924c75(0x362)](_0x159e99,{'radius':_0x42c76f[_0x924c75(0x1de)][_0x924c75(0x24c)],'fill':_0x42c76f[_0x924c75(0x1de)][_0x924c75(0x207)],'stroke':_0x42c76f['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x56348c(_0x36f53e,_0x585e0e){return function(_0x53f48a,_0x196d04){_0x585e0e(_0x53f48a,_0x196d04,_0x36f53e);};}function _0x5b9725(_0xc4cea5,_0x36f426,_0x2c27cc,_0x59556e){const _0x51be01=_0x439e5d;var _0x567bba=arguments[_0x51be01(0x298)],_0x3e1352=_0x567bba<0x3?_0x36f426:_0x59556e===null?_0x59556e=Object[_0x51be01(0x1bb)](_0x36f426,_0x2c27cc):_0x59556e,_0x586c4b;if(typeof Reflect==_0x51be01(0x313)&&typeof Reflect[_0x51be01(0x48d)]==_0x51be01(0x333))_0x3e1352=Reflect[_0x51be01(0x48d)](_0xc4cea5,_0x36f426,_0x2c27cc,_0x59556e);else{for(var _0x2458f9=_0xc4cea5[_0x51be01(0x298)]-0x1;_0x2458f9>=0x0;_0x2458f9--)(_0x586c4b=_0xc4cea5[_0x2458f9])&&(_0x3e1352=(_0x567bba<0x3?_0x586c4b(_0x3e1352):_0x567bba>0x3?_0x586c4b(_0x36f426,_0x2c27cc,_0x3e1352):_0x586c4b(_0x36f426,_0x2c27cc))||_0x3e1352);}return _0x567bba>0x3&&_0x3e1352&&Object[_0x51be01(0x47d)](_0x36f426,_0x2c27cc,_0x3e1352),_0x3e1352;}let _0x5e7905=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x2651a3,_0x25288a,_0xc1fc97,_0x49852a,_0xf46972,_0x16e75e){const _0x153b80=_0x439e5d;super(),this[_0x153b80(0x232)]=_0x2651a3,this['_sheetsShapeService']=_0x25288a,this[_0x153b80(0x39d)]=_0xc1fc97,this[_0x153b80(0x27f)]=_0x49852a,this['_urlImageService']=_0xf46972,this['_shapeFormulaService']=_0x16e75e,_0x355f4a(this,'_formulaShapes',new Map()),this[_0x153b80(0x575)](this[_0x153b80(0x443)][_0x153b80(0x52d)]['subscribe'](_0x1266b9=>{const _0x32cca7=_0x153b80;var _0x44afad;(_0x44afad=this[_0x32cca7(0x377)][_0x32cca7(0x55f)](this[_0x32cca7(0x550)](_0x1266b9['unitId'],_0x1266b9['subUnitId'],_0x1266b9['shapeId'])))==null||_0x44afad[_0x32cca7(0x386)](_0x58433e=>_0x58433e[_0x32cca7(0x416)](_0x1266b9[_0x32cca7(0x50d)],_0x1266b9[_0x32cca7(0x2f7)]));})),this[_0x153b80(0x575)](this[_0x153b80(0x232)][_0x153b80(0x228)][_0x153b80(0x523)](_0x4d410a=>{_0x4d410a['forEach'](_0x74f39f=>{const _0x26b6c2=_0x3385;this['_formulaShapes'][_0x26b6c2(0x218)](this[_0x26b6c2(0x550)](_0x74f39f['unitId'],_0x74f39f[_0x26b6c2(0x555)],_0x74f39f[_0x26b6c2(0x457)]));});}));}[_0x439e5d(0x3a7)](_0x45ba11,_0x937133,_0x16cc20){const _0x3cb108=_0x439e5d;let {transform:_0x23b99b,drawingType:_0xa13e02,srcRect:_0x2d5c5b,prstGeom:_0x2ad03c,groupId:_0x42d801,unitId:_0x4c1712,subUnitId:_0x34c871,drawingId:_0x1c3805,isMultiTransform:_0x44f2dc,transforms:_0x1079f8,hidden:_0x1d9656,selectable:_0x439820}=_0x45ba11;if(_0xa13e02!==_0x4fcc67[_0x3cb108(0x204)][_0x3cb108(0x4b8)]||!this['_drawingManagerService'][_0x3cb108(0x24f)]()||_0x23b99b==null)return;let _0x19ae69=this[_0x3cb108(0x232)][_0x3cb108(0x4bd)](),_0x4d27b2=_0x44f2dc&&_0x1079f8?_0x1079f8:[_0x23b99b],_0x303c94=[];for(let _0x90edf3 of _0x4d27b2){let {left:_0x479f69,top:_0x31242d,width:_0x2ec94e,height:_0x15a408,angle:_0x119a45,flipX:_0x358cd7,flipY:_0x1f1ec2,skewX:_0x410522,skewY:_0x5c7d10}=_0x90edf3,_0x699682=_0x4d27b2[_0x3cb108(0x36e)](_0x90edf3),_0xd7142f=(0x0,_0x89eb48[_0x3cb108(0x236)])({'unitId':_0x4c1712,'subUnitId':_0x34c871,'drawingId':_0x1c3805},_0x44f2dc?_0x699682:void 0x0),_0x1028fc=_0x937133['getObjectIncludeInGroup'](_0xd7142f);if(_0x1028fc!=null){let _0xfe6254={'unitId':_0x4c1712,'subUnitId':_0x34c871,'shapeId':_0x1c3805};_0x1028fc instanceof _0x11dd97&&this[_0x3cb108(0x42f)](_0x1028fc,_0xfe6254),_0x1028fc[_0x3cb108(0x312)]({'left':_0x479f69,'top':_0x31242d,'width':_0x2ec94e,'height':_0x15a408,'angle':_0x119a45,'flipX':_0x358cd7,'flipY':_0x1f1ec2,'skewX':_0x410522,'skewY':_0x5c7d10});continue;}let _0x487341=this[_0x3cb108(0x232)][_0x3cb108(0x4ce)](_0x4c1712,_0x34c871),_0x43e9b9=_0x487341[_0x3cb108(0x36e)](_0x1c3805);if(_0x937133[_0x3cb108(0x2b6)](_0xd7142f)||!this[_0x3cb108(0x232)]['getDrawingVisible']())continue;let _0x125edf=this[_0x3cb108(0x4f6)][_0x3cb108(0x1df)](_0x4c1712,_0x34c871,_0x1c3805);if(!_0x125edf)continue;let _0x101a65=(0x0,_0x42c76f['isConnectorShape'])(_0x125edf[_0x3cb108(0x587)]())?{..._0x1a617a[_0x3cb108(0x370)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1a617a[_0x3cb108(0x370)],_0x3f8669=_0x125edf[_0x3cb108(0x339)]()[_0x3cb108(0x4d5)],_0x28b954={'unitId':_0x4c1712,'subUnitId':_0x34c871,'shapeId':_0x1c3805};_0x3f8669&&this[_0x3cb108(0x443)][_0x3cb108(0x440)](_0x28b954,_0x3f8669);let _0x5b51be=new _0x11dd97(_0xd7142f,{..._0x90edf3,'zIndex':_0x43e9b9===-0x1?_0x487341[_0x3cb108(0x298)]-0x1:_0x43e9b9,'shapeModel':_0x125edf,'localeService':this[_0x3cb108(0x39d)],'shapeId':_0x1c3805,'unitId':_0x4c1712,'subUnitId':_0x34c871,'visible':_0x1d9656!==!0x0,'evented':_0x439820!==!0x1,'formulaPresentation':_0x3f8669?this['_shapeFormulaService'][_0x3cb108(0x4ea)](_0x28b954):void 0x0,'animateFormulaPresentation':(_0x3f8669==null?void 0x0:_0x3f8669[_0x3cb108(0x2f7)])!==!0x1,'transformerConfig':_0x101a65});if(_0x3f8669){let _0x300655=this[_0x3cb108(0x550)](_0x4c1712,_0x34c871,_0x1c3805),_0x17ea03=this[_0x3cb108(0x377)][_0x3cb108(0x55f)](_0x300655)??new Set();_0x17ea03[_0x3cb108(0x3e9)](_0x5b51be),this['_formulaShapes'][_0x3cb108(0x2e2)](_0x300655,_0x17ea03);}_0x937133[_0x3cb108(0x34e)](_0x5b51be,_0x5e3080[_0x3cb108(0x52a)]),_0x19ae69&&_0x937133[_0x3cb108(0x233)](_0x5b51be),_0x42d801&&(0x0,_0x108bdb[_0x3cb108(0x202)])({'drawingId':_0x42d801,'unitId':_0x4c1712,'subUnitId':_0x34c871},_0x5b51be,_0x937133,this['_drawingManagerService']),_0x2ad03c!=null&&_0x5b51be['setPrstGeom'](_0x2ad03c),_0x2d5c5b!=null&&_0x5b51be[_0x3cb108(0x2f5)](_0x2d5c5b);let _0x45d809=this[_0x3cb108(0x56c)](_0x5b51be,_0x125edf[_0x3cb108(0x339)]());if(_0x45d809){var _0x58cf6d;_0x16cc20==null||(_0x58cf6d=_0x16cc20[_0x3cb108(0x384)])==null||_0x58cf6d[_0x3cb108(0x3e9)](_0x45d809);}_0x303c94[_0x3cb108(0x1d6)](_0x5b51be);}return _0x303c94;}['_formulaKey'](_0xafbda3,_0x55253f,_0x36a466){return _0xafbda3+'\x00'+_0x55253f+'\x00'+_0x36a466;}[_0x439e5d(0x42f)](_0xaa7a9f,_0x23af7b){const _0x2287cd=_0x439e5d;let _0x531ba7=this['_sheetsShapeService'][_0x2287cd(0x1df)](_0x23af7b['unitId'],_0x23af7b['subUnitId'],_0x23af7b['shapeId']),_0x22f4dd=_0x531ba7==null?void 0x0:_0x531ba7[_0x2287cd(0x339)]()[_0x2287cd(0x4d5)],_0x3d6ee6=this[_0x2287cd(0x550)](_0x23af7b[_0x2287cd(0x3a2)],_0x23af7b['subUnitId'],_0x23af7b[_0x2287cd(0x1cf)]);if(_0x22f4dd){this[_0x2287cd(0x443)][_0x2287cd(0x440)](_0x23af7b,_0x22f4dd);let _0x11dc14=this[_0x2287cd(0x377)][_0x2287cd(0x55f)](_0x3d6ee6)??new Set();_0x11dc14[_0x2287cd(0x3e9)](_0xaa7a9f),this[_0x2287cd(0x377)][_0x2287cd(0x2e2)](_0x3d6ee6,_0x11dc14);}else{var _0x3478e5;this[_0x2287cd(0x443)][_0x2287cd(0x455)](_0x23af7b),(_0x3478e5=this[_0x2287cd(0x377)]['get'](_0x3d6ee6))==null||_0x3478e5[_0x2287cd(0x218)](_0xaa7a9f);}_0xaa7a9f[_0x2287cd(0x416)](_0x22f4dd?this['_shapeFormulaService'][_0x2287cd(0x4ea)](_0x23af7b):void 0x0,(_0x22f4dd==null?void 0x0:_0x22f4dd[_0x2287cd(0x2f7)])!==!0x1);}[_0x439e5d(0x2b4)](_0xf69d0a){const _0x1fa33f=_0x439e5d;let _0x44300c=_0xf69d0a[_0x1fa33f(0x4ca)][_0x1fa33f(0x339)](),_0x6e0db5=_0x44300c[_0x1fa33f(0x46e)];!_0x6e0db5||_0x6e0db5[_0x1fa33f(0x5b3)]!==_0x42c76f[_0x1fa33f(0x327)][_0x1fa33f(0x1e0)]||!_0x6e0db5[_0x1fa33f(0x325)]?_0xf69d0a[_0x1fa33f(0x585)](void 0x0):this[_0x1fa33f(0x56c)](_0xf69d0a,_0x44300c);}[_0x439e5d(0x56c)](_0x2af370,_0x471f8d){const _0x2b9ff4=_0x439e5d;let _0x1a948a=_0x471f8d[_0x2b9ff4(0x46e)];if(!_0x1a948a||_0x1a948a[_0x2b9ff4(0x5b3)]!==_0x42c76f['ShapeFillEnum'][_0x2b9ff4(0x1e0)]||!_0x1a948a[_0x2b9ff4(0x325)])return;let _0x532b4b=_0x1a948a['fillImageSource'],_0x39ded1=_0x1a948a[_0x2b9ff4(0x3f5)]??_0x42c76f[_0x2b9ff4(0x446)][_0x2b9ff4(0x51c)],_0x2e21e9=this[_0x2b9ff4(0x27f)][_0x2b9ff4(0x3b9)](_0x532b4b,_0x39ded1);if(_0x2e21e9)_0x2af370[_0x2b9ff4(0x585)](_0x2e21e9);else return this['_loadAndSetImage'](_0x2af370,_0x532b4b,_0x39ded1);}async[_0x439e5d(0x450)](_0x529a96,_0x30a30d,_0x3f4fe5){const _0xb48ba4=_0x439e5d;let _0x59204f;try{if(_0x3f4fe5===_0x42c76f['ImageSourceTypeEnum'][_0xb48ba4(0x520)])_0x59204f=await this[_0xb48ba4(0x27f)][_0xb48ba4(0x33c)](_0x30a30d);else{if(_0x3f4fe5===_0x42c76f[_0xb48ba4(0x446)]['URL'])try{_0x59204f=await this[_0xb48ba4(0x536)][_0xb48ba4(0x33c)](_0x30a30d);}catch{_0x59204f=_0x30a30d;}else _0x59204f=_0x30a30d;}}catch(_0x3d83bf){console[_0xb48ba4(0x5a1)](_0xb48ba4(0x489),_0x3d83bf);return;}await new Promise(_0x256f7d=>{const _0x4faabf=_0xb48ba4;let _0x266149=new window[(_0x4faabf(0x411))]();_0x266149[_0x4faabf(0x3c2)]=()=>{const _0x263418=_0x4faabf;this['_imageIoService'][_0x263418(0x1ef)](_0x30a30d,_0x3f4fe5,_0x266149),_0x529a96['setFillImage'](_0x266149),_0x256f7d();},_0x266149[_0x4faabf(0x500)]=()=>{const _0x53c685=_0x4faabf;console[_0x53c685(0x5a1)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x30a30d),_0x256f7d();},_0x266149[_0x4faabf(0x3d1)]=_0x59204f;});}};_0x5e7905=_0x5b9725([_0x56348c(0x0,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x3,_0x4fcc67['IImageIoService']),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x430)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1959c2['ShapeFormulaService']))],_0x5e7905);let _0xcd5dc6=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x241add,_0x14e961,_0x5e785c,_0x4a2a22,_0x396ae2,_0x2c69bc){const _0x3bcaaf=_0x439e5d;super(),this[_0x3bcaaf(0x232)]=_0x241add,this[_0x3bcaaf(0x4f6)]=_0x14e961,this[_0x3bcaaf(0x35d)]=_0x5e785c,this[_0x3bcaaf(0x4b0)]=_0x4a2a22,this['_univerInstanceService']=_0x396ae2,this[_0x3bcaaf(0x30c)]=_0x2c69bc,_0x355f4a(this,_0x3bcaaf(0x52c),null),_0x355f4a(this,_0x3bcaaf(0x49a),null),_0x355f4a(this,_0x3bcaaf(0x289),null),_0x355f4a(this,'_activeShapeAdjustPointList',void 0x0),_0x355f4a(this,_0x3bcaaf(0x3a6),[]),_0x355f4a(this,_0x3bcaaf(0x582),0x0),_0x355f4a(this,'_baseShapeTop',0x0),_0x355f4a(this,_0x3bcaaf(0x2d1),0x0),_0x355f4a(this,_0x3bcaaf(0x59d),0x0),_0x355f4a(this,'_isStartAdjusting',!0x1),_0x355f4a(this,_0x3bcaaf(0x1d4),void 0x0),_0x355f4a(this,_0x3bcaaf(0x2db),void 0x0),_0x355f4a(this,'_adjHandlerPointerMove',void 0x0),_0x355f4a(this,_0x3bcaaf(0x35c),void 0x0),_0x355f4a(this,_0x3bcaaf(0x3cf),!0x1),this[_0x3bcaaf(0x595)](),this['_registerDrawingMoveHandler']();}[_0x439e5d(0x210)](_0x3b9817,_0x4eb2d7,_0x482009){const _0x5736b6=_0x439e5d;let _0x40fdbf=this[_0x5736b6(0x4f6)][_0x5736b6(0x1df)](_0x3b9817,_0x4eb2d7,_0x482009);if(_0x40fdbf)return _0x40fdbf[_0x5736b6(0x246)]();}[_0x439e5d(0x1c4)](){const _0x1eccf8=_0x439e5d;this[_0x1eccf8(0x2a7)]();}[_0x439e5d(0x227)](){const _0x540255=_0x439e5d;this[_0x540255(0x561)](!0x0);}['setShouldShowAdjust'](_0x36b6eb){const _0x7442c6=_0x439e5d;this[_0x7442c6(0x3cf)]=_0x36b6eb;}[_0x439e5d(0x26b)](_0x27871c,_0x428146,_0x26c8ed,_0x40335f){const _0x42e466=_0x439e5d;let _0x178d95=this[_0x42e466(0x4f6)][_0x42e466(0x1df)](_0x27871c,_0x428146,_0x26c8ed);if(_0x178d95)return _0x178d95[_0x42e466(0x504)](_0x40335f);}[_0x439e5d(0x4c8)](_0x2198f0=!0x1){const _0x4d31d6=_0x439e5d;if(this[_0x4d31d6(0x49a)]===null||this[_0x4d31d6(0x289)]===null||this[_0x4d31d6(0x52c)]===null)return;let _0x592cec=this[_0x4d31d6(0x35d)]['getRenderUnitById'](this[_0x4d31d6(0x49a)]);if(!_0x592cec||!_0x592cec[_0x4d31d6(0x54f)](_0x5b8007[_0x4d31d6(0x2e8)])[_0x4d31d6(0x473)]())return;let {scene:_0x47138a}=_0x592cec,_0xfa99ed={'unitId':this[_0x4d31d6(0x49a)],'subUnitId':this[_0x4d31d6(0x289)],'drawingId':this[_0x4d31d6(0x52c)]},_0x2b5104=this['_drawingManagerService'][_0x4d31d6(0x269)](_0xfa99ed),{transform:_0x5b1f0e}=_0x2b5104;if(!_0x5b1f0e||_0x2b5104[_0x4d31d6(0x31a)]!==_0x4fcc67[_0x4d31d6(0x204)]['DRAWING_SHAPE'])return;let {left:_0x2f1007,top:_0x260f48,width:_0x4dcf4b,height:_0x2d7cc2,flipX:_0x10de8f,flipY:_0x282239,angle:_0x122913=0x0}=_0x5b1f0e;if(_0x2f1007===void 0x0||_0x260f48===void 0x0)return;if(_0x2198f0){let _0x32dc3b=this[_0x4d31d6(0x4f6)][_0x4d31d6(0x1df)](this['_unitId'],this['_subUnitId'],this['_activeShapeId']);_0x32dc3b==null||_0x32dc3b[_0x4d31d6(0x580)]({'width':_0x4dcf4b??0x0,'height':_0x2d7cc2??0x0}),this['_activeShapeAdjustPointList']=_0x32dc3b==null?void 0x0:_0x32dc3b[_0x4d31d6(0x246)]();}let _0x9590c7=this[_0x4d31d6(0x592)];for(let _0x106610=0x0;_0x106610<_0x9590c7[_0x4d31d6(0x298)];_0x106610++){let _0x30fe33=_0x9590c7[_0x106610],_0x59b016=_0x30fe33['x'],_0x4ef43b=_0x30fe33['y'];if(_0x10de8f&&(_0x59b016=(_0x4dcf4b||0x0)-_0x59b016),_0x282239&&(_0x4ef43b=(_0x2d7cc2||0x0)-_0x4ef43b),_0x122913!==0x0){let _0x1e7ca9=(_0x4dcf4b||0x0)/0x2,_0x76f269=(_0x2d7cc2||0x0)/0x2,_0x37617b=_0x122913*Math['PI']/0xb4,_0x20d1e3=Math['cos'](_0x37617b),_0x28de23=Math[_0x4d31d6(0x326)](_0x37617b),_0xd924a4=_0x59b016-_0x1e7ca9,_0x42b41a=_0x4ef43b-_0x76f269;_0x59b016=_0x1e7ca9+(_0xd924a4*_0x20d1e3-_0x42b41a*_0x28de23),_0x4ef43b=_0x76f269+(_0xd924a4*_0x28de23+_0x42b41a*_0x20d1e3);}let _0x4cb84d={'x':_0x59b016,'y':_0x4ef43b,'adjName':_0x30fe33[_0x4d31d6(0x2f9)]};this['_addShapeAdjustControl'](_0x47138a,_0x4cb84d,_0x4cb84d[_0x4d31d6(0x2f9)],_0x2f1007,_0x260f48,this['_unitId'],this[_0x4d31d6(0x289)]);}}[_0x439e5d(0x561)](_0x57c6b9=!0x1){const _0x32f294=_0x439e5d;_0x57c6b9&&(this[_0x32f294(0x2a7)](),this['_createShapeAdjustControls'](_0x57c6b9));}[_0x439e5d(0x4ef)](_0x3b3327,_0x4bc461,_0x2c924c,_0x131b9c,_0x418a12,_0x5780c8,_0x5887d3){const _0x38b84f=_0x439e5d;if(!this[_0x38b84f(0x52c)])return;let _0x4e3e8f=_0x3b3327[_0x38b84f(0x2b6)](_0x38b84f(0x1ea)+this[_0x38b84f(0x52c)]+'-'+_0x2c924c);if(_0x4e3e8f){_0x4e3e8f[_0x38b84f(0x312)]({'left':_0x4bc461['x']+_0x131b9c-_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize'],'top':_0x4bc461['y']+_0x418a12-_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize']});return;}let _0x38d00b={'left':_0x4bc461['x']+_0x131b9c-_0x42c76f[_0x38b84f(0x1de)][_0x38b84f(0x24c)],'top':_0x4bc461['y']+_0x418a12-_0x42c76f[_0x38b84f(0x1de)][_0x38b84f(0x24c)],'adjName':_0x2c924c,'shapeId':this['_activeShapeId'],'unitId':_0x5780c8,'subUnitId':_0x5887d3,'width':_0x42c76f[_0x38b84f(0x1de)]['adjHandleSize']+0x8,'height':_0x42c76f['ShapeDefaultConfig'][_0x38b84f(0x24c)]+0x8,'zIndex':_0x5e3080[_0x38b84f(0x52a)]+0x1,'evented':!0x0},_0x360830=new _0x309015(_0x38b84f(0x1ea)+this['_activeShapeId']+'-'+_0x2c924c,_0x38d00b);this[_0x38b84f(0x3a6)]['push'](_0x360830),this['_attachAdjustEvent'](_0x360830,_0x3b3327,_0x2c924c),_0x3b3327[_0x38b84f(0x34e)](_0x360830,_0x5e3080['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x439e5d(0x2a7)](){const _0x45a125=_0x439e5d;this['_shapes'][_0x45a125(0x298)]!==0x0&&(this[_0x45a125(0x3a6)][_0x45a125(0x386)](_0x38a572=>{const _0x1a3e96=_0x45a125;_0x38a572[_0x1a3e96(0x27e)]();}),this[_0x45a125(0x3a6)]=[]);}['_updateAdjustControlPositions'](){this['_createShapeAdjustControls']();}[_0x439e5d(0x4ed)](_0x47a137,_0x54771f){const _0x574161=_0x439e5d;var _0x12aa1b;let _0x3866ef={'x':0x0,'y':0x0};if(!_0x47a137||!_0x54771f)return _0x3866ef;let _0x11d1f6=this[_0x574161(0x35d)][_0x574161(0x40f)](_0x47a137);if(!_0x11d1f6||!_0x11d1f6['with'](_0x5b8007[_0x574161(0x2e8)])['getSkeleton'](_0x54771f))return _0x3866ef;let _0x517c51=_0x11d1f6[_0x574161(0x54f)](_0x5b8007[_0x574161(0x213)]),_0xfb0264=_0x517c51==null?void 0x0:_0x517c51[_0x574161(0x2c2)]();if(!_0xfb0264)return _0x3866ef;let _0x3f05bc=(_0x12aa1b=this[_0x574161(0x54b)][_0x574161(0x3ff)](_0x47a137))==null?void 0x0:_0x12aa1b[_0x574161(0x43a)](_0x54771f);if(!_0x3f05bc)return _0x3866ef;let _0x2b7f13=(0x0,_0x5b8007[_0x574161(0x330)])(_0xfb0264[_0x574161(0x467)],_0xfb0264[_0x574161(0x353)],_0x11d1f6[_0x574161(0x56f)],_0x3f05bc);return _0x2b7f13?{'x':_0x2b7f13[_0x574161(0x4d2)],'y':_0x2b7f13[_0x574161(0x46b)]}:_0x3866ef;}[_0x439e5d(0x3d9)](_0x2c0a45,_0xc99a4c){const _0x5d5bb4=_0x439e5d;var _0xbead95;let _0x3597c5=(_0xbead95=this[_0x5d5bb4(0x54b)][_0x5d5bb4(0x3ff)](_0x2c0a45))==null?void 0x0:_0xbead95['getSheetBySheetId'](_0xc99a4c);return(_0x3597c5==null?void 0x0:_0x3597c5[_0x5d5bb4(0x597)]())??0x1;}[_0x439e5d(0x55a)](_0x577250,_0x49b20a,_0x46eb87){const _0x4d9c97=_0x439e5d;this['disposeWithMe']((0x0,_0x4fcc67[_0x4d9c97(0x4f3)])(_0x577250['onPointerDown$'][_0x4d9c97(0x320)]((_0x12e4b7,_0x4f3d2a)=>{const _0x467578=_0x4d9c97;var _0x333f4c,_0x1e692f,_0x2c82e9,_0x2ae711;let _0x269393=_0x577250[_0x467578(0x5af)]();this[_0x467578(0x1d4)]=this['_getShapeAdjustInfosById'](_0x269393[_0x467578(0x3a2)],_0x269393[_0x467578(0x555)],_0x269393['drawingId'],_0x46eb87),this[_0x467578(0x2db)]=this[_0x467578(0x4f6)]['getShapeModel'](_0x269393[_0x467578(0x3a2)],_0x269393[_0x467578(0x555)],_0x269393[_0x467578(0x457)]);let _0x4181ce=this[_0x467578(0x232)][_0x467578(0x269)]({'unitId':this['_unitId'],'subUnitId':this[_0x467578(0x289)],'drawingId':this[_0x467578(0x52c)]}),{transform:_0x45a63a}=_0x4181ce;if(_0x45a63a){let {left:_0x3be534,top:_0x2be654,width:_0x56787c,height:_0xe01a4a}=_0x45a63a;this[_0x467578(0x582)]=_0x3be534||0x0,this[_0x467578(0x2d9)]=_0x2be654||0x0,this[_0x467578(0x2d1)]=_0x56787c||0x0,this[_0x467578(0x59d)]=_0xe01a4a||0x0;}let _0x1624b6=!!((_0x333f4c=_0x4181ce['transform'])!=null&&_0x333f4c[_0x467578(0x365)]),_0x1cca58=!!((_0x1e692f=_0x4181ce['transform'])!=null&&_0x1e692f[_0x467578(0x31f)]),_0x4597ad=((_0x2c82e9=_0x4181ce[_0x467578(0x3a8)])==null?void 0x0:_0x2c82e9[_0x467578(0x2cd)])||0x0;this[_0x467578(0x235)]=!0x0,_0x49b20a[_0x467578(0x1d0)]();let _0x424ac8={...((_0x2ae711=this[_0x467578(0x1d4)])==null?void 0x0:_0x2ae711[_0x467578(0x1cc)])??{}};this['_adjHandlerPointerMove']=_0x49b20a[_0x467578(0x4be)]['subscribeEvent']((_0x3fbb7f,_0x4c3cc5)=>{const _0x51f486=_0x467578;if(!this['_isStartAdjusting'])return;let {offsetX:_0x42413e,offsetY:_0x3e8ade}=_0x3fbb7f,_0x538a19=this[_0x51f486(0x1d4)];if(this['_activeShapeModel']&&_0x538a19){_0x49b20a[_0x51f486(0x1d0)](),_0x49b20a[_0x51f486(0x2a4)](_0x5e3080[_0x51f486(0x55e)][_0x51f486(0x1b1)]);let _0x25b12c={'left':0x0,'top':0x0,'width':this[_0x51f486(0x2d1)],'height':this[_0x51f486(0x59d)]},_0x46f3fc=this[_0x51f486(0x4ed)](this[_0x51f486(0x49a)],this[_0x51f486(0x289)]),_0x392090=this['_getZoomRatio'](this[_0x51f486(0x49a)],this['_subUnitId']),_0x17492b=_0x42413e/_0x392090+_0x46f3fc['x']-this[_0x51f486(0x582)],_0x3325af=_0x3e8ade/_0x392090+_0x46f3fc['y']-this[_0x51f486(0x2d9)];if(_0x4597ad!==0x0){let _0x38af75=this[_0x51f486(0x2d1)]/0x2,_0x154b37=this[_0x51f486(0x59d)]/0x2,_0x473fb3=_0x4597ad*Math['PI']/0xb4,_0x2ebe08=Math[_0x51f486(0x4e9)](_0x473fb3),_0x119594=Math[_0x51f486(0x326)](_0x473fb3),_0x2270d9=_0x17492b-_0x38af75,_0x3aa187=_0x3325af-_0x154b37;_0x17492b=_0x38af75+(_0x2270d9*_0x2ebe08+_0x3aa187*_0x119594),_0x3325af=_0x154b37+(-_0x2270d9*_0x119594+_0x3aa187*_0x2ebe08);}_0x1624b6&&(_0x17492b=this[_0x51f486(0x2d1)]-_0x17492b),_0x1cca58&&(_0x3325af=this[_0x51f486(0x59d)]-_0x3325af);let _0x5b14b8={'x':_0x17492b,'y':_0x3325af},_0x262784=this[_0x51f486(0x2db)][_0x51f486(0x23a)](_0x25b12c,_0x5b14b8,_0x538a19,_0x1624b6,_0x1cca58);if(Object[_0x51f486(0x4f5)](_0x262784)[_0x51f486(0x298)]===0x0)return;for(let [_0x4360bc,_0xe9039e]of Object[_0x51f486(0x51f)](_0x262784))this[_0x51f486(0x2db)][_0x51f486(0x445)](_0x4360bc,_0xe9039e);this[_0x51f486(0x2db)][_0x51f486(0x580)]({'width':this[_0x51f486(0x2d1)],'height':this[_0x51f486(0x59d)]});let _0x2dcb3c=this[_0x51f486(0x232)]['getDrawingByParam']({'unitId':_0x269393[_0x51f486(0x3a2)],'subUnitId':_0x269393[_0x51f486(0x555)],'drawingId':_0x269393['drawingId']});_0x2dcb3c&&(this['_sheetDrawingShapeRenderController'][_0x51f486(0x3a7)](_0x2dcb3c,_0x49b20a),this['_activeShapeAdjustPointList']=this[_0x51f486(0x210)](_0x269393[_0x51f486(0x3a2)],_0x269393['subUnitId'],_0x269393[_0x51f486(0x457)]),this['_updateAdjustControlPositions']());}_0x4c3cc5[_0x51f486(0x514)]();}),this[_0x467578(0x35c)]=_0x49b20a[_0x467578(0x454)][_0x467578(0x320)]((_0xc1e610,_0x57b24b)=>{const _0x12195f=_0x467578;this[_0x12195f(0x429)]['unsubscribe'](),this['_adjHandlerPointerUp'][_0x12195f(0x2e3)](),_0x49b20a[_0x12195f(0x398)]();let _0x55eaf9=this[_0x12195f(0x1d4)];if(_0x55eaf9){let _0x5342f7=_0x269393[_0x12195f(0x3a2)],_0xa5f297=_0x269393[_0x12195f(0x555)],_0x221bd2=_0x269393['drawingId'],_0x22341d={};for(let _0x4cd23c of Object[_0x12195f(0x4f5)](_0x55eaf9[_0x12195f(0x1cc)])){var _0x55370c;let _0x50c0b3=(_0x55370c=this['_activeShapeModel'])==null?void 0x0:_0x55370c[_0x12195f(0x48e)](_0x4cd23c);_0x50c0b3!==void 0x0&&(_0x22341d[_0x4cd23c]=_0x50c0b3);}Object['keys'](_0x22341d)['length']>0x0&&_0x15d4c3(this[_0x12195f(0x30c)],_0x5342f7,_0xa5f297,_0x221bd2,{'oldShapeData':{'adjustValues':_0x424ac8}},{'adjustValues':_0x22341d});}this[_0x12195f(0x1d4)]=void 0x0,this['_activeShapeModel']=void 0x0,this['_isStartAdjusting']=!0x1,_0x57b24b[_0x12195f(0x514)](),_0x49b20a[_0x12195f(0x4a7)]();}),_0x4f3d2a[_0x467578(0x514)]();})));}[_0x439e5d(0x1fa)](){const _0x3b4840=_0x439e5d;let _0x51e13c=this[_0x3b4840(0x54b)][_0x3b4840(0x2af)](_0x4fcc67[_0x3b4840(0x578)]['UNIVER_SHEET']);this['disposeWithMe'](_0x51e13c[_0x3b4840(0x48b)]((0x0,_0x5597c9['switchMap'])(_0x8fc339=>_0x8fc339?_0x8fc339[_0x3b4840(0x399)][_0x3b4840(0x48b)]((0x0,_0x5597c9[_0x3b4840(0x33b)])(_0x3c9ce4=>{const _0x30c4b3=_0x3b4840;if(!_0x3c9ce4)return _0x5597c9[_0x30c4b3(0x528)];let _0x3b53f2=_0x8fc339['getUnitId'](),_0x9cf04a=this['_renderManagerService'][_0x30c4b3(0x40f)](_0x3b53f2),_0x2cd548=_0x9cf04a==null?void 0x0:_0x9cf04a[_0x30c4b3(0x56f)];return _0x2cd548?(0x0,_0x5597c9['of'])(_0x2cd548):_0x5597c9[_0x30c4b3(0x528)];})):_0x5597c9['EMPTY']))['subscribe'](_0x99c87=>{const _0x32e7dd=_0x3b4840;let _0x2e725a=_0x99c87[_0x32e7dd(0x4e6)]();this[_0x32e7dd(0x575)](_0x99c87['onPointerMove$'][_0x32e7dd(0x320)](()=>{const _0x5928b4=_0x32e7dd;this[_0x5928b4(0x3cf)];})),this[_0x32e7dd(0x575)](_0x2e725a['changeStart$'][_0x32e7dd(0x523)](_0x5e13b1=>{const _0x504b12=_0x32e7dd;let {objects:_0x432490}=_0x5e13b1;this[_0x504b12(0x4c8)](),_0x432490!==null&&_0x432490[_0x504b12(0x535)]===0x1&&_0x432490[_0x504b12(0x413)]()[_0x504b12(0x4e3)]()[_0x504b12(0x3f0)]instanceof _0x11dd97&&this[_0x504b12(0x372)](!0x0);})),this['disposeWithMe'](_0x2e725a[_0x32e7dd(0x459)][_0x32e7dd(0x523)](()=>{const _0x3916c4=_0x32e7dd;this[_0x3916c4(0x3cf)]&&this[_0x3916c4(0x2a7)]();})),this['disposeWithMe'](_0x99c87[_0x32e7dd(0x454)]['subscribeEvent'](()=>{const _0x4a3879=_0x32e7dd;this[_0x4a3879(0x3cf)]&&(this[_0x4a3879(0x372)](!0x1),this['_createShapeAdjustControls']());})),this[_0x32e7dd(0x575)](_0x2e725a[_0x32e7dd(0x395)][_0x32e7dd(0x523)](()=>{const _0x5cd71c=_0x32e7dd;this[_0x5cd71c(0x49a)]&&this['_subUnitId']&&this[_0x5cd71c(0x52c)]&&this['_drawingManagerService'][_0x5cd71c(0x269)]({'unitId':this[_0x5cd71c(0x49a)],'subUnitId':this[_0x5cd71c(0x289)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](this[_0x5cd71c(0x49a)],this[_0x5cd71c(0x289)],this['_activeShapeId']),this[_0x5cd71c(0x511)]());}));}));}[_0x439e5d(0x595)](){const _0x4e1c2e=_0x439e5d;this[_0x4e1c2e(0x575)](this['_commandService'][_0x4e1c2e(0x4a4)](_0x3edffe=>{const _0x1f8e00=_0x4e1c2e;if(_0x3edffe['id']!==_0x43ee3e[_0x1f8e00(0x403)]['id'])return;let {unitId:_0x5d43eb,subUnitId:_0x49c0af,shapeId:_0x260b1b}=_0x3edffe[_0x1f8e00(0x22e)];_0x5d43eb===this[_0x1f8e00(0x49a)]&&_0x49c0af===this['_subUnitId']&&_0x260b1b===this[_0x1f8e00(0x52c)]&&this['refreshAdjustControls']();})),this[_0x4e1c2e(0x575)](this[_0x4e1c2e(0x232)][_0x4e1c2e(0x328)][_0x4e1c2e(0x523)](_0x48f09f=>{const _0xa9efd8=_0x4e1c2e;if(_0x48f09f[_0xa9efd8(0x298)]===0x1){let _0x539a81=_0x48f09f[0x0];if(_0x539a81[_0xa9efd8(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0xa9efd8(0x4b8)]&&this[_0xa9efd8(0x54b)][_0xa9efd8(0x4a8)](_0x539a81[_0xa9efd8(0x3a2)])===_0x4fcc67[_0xa9efd8(0x578)][_0xa9efd8(0x28f)]){this['_activeShapeId']=_0x539a81[_0xa9efd8(0x457)];let {unitId:_0x4cb90c,subUnitId:_0x5e59d7}=_0x539a81;this[_0xa9efd8(0x592)]=this['_getShapeAdjustPointListById'](_0x4cb90c,_0x5e59d7,this[_0xa9efd8(0x52c)]),this[_0xa9efd8(0x49a)]=_0x4cb90c,this[_0xa9efd8(0x289)]=_0x5e59d7,this['_clearShapeAdjustControls'](),this[_0xa9efd8(0x4c8)]();return;}}this[_0xa9efd8(0x52c)]=null,this[_0xa9efd8(0x592)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0xa9efd8(0x2a7)]();})),this[_0x4e1c2e(0x575)](this['_drawingManagerService'][_0x4e1c2e(0x342)][_0x4e1c2e(0x523)](_0x4a45f5=>{const _0xad26a5=_0x4e1c2e;if(_0x4a45f5[_0xad26a5(0x298)]===0x1){var _0xf82d71;let _0x2fc1ed=_0x4a45f5[0x0];((_0xf82d71=this['_drawingManagerService'][_0xad26a5(0x269)](_0x2fc1ed))==null?void 0x0:_0xf82d71[_0xad26a5(0x31a)])===_0x4fcc67[_0xad26a5(0x204)][_0xad26a5(0x4b8)]&&this[_0xad26a5(0x561)](!0x0);}})),this['disposeWithMe'](this['_drawingManagerService'][_0x4e1c2e(0x228)][_0x4e1c2e(0x523)](_0x5ec81d=>{const _0x51db39=_0x4e1c2e;for(let _0x25d8ab of _0x5ec81d)this['_activeShapeId']===_0x25d8ab[_0x51db39(0x457)]&&(this['_activeShapeId']=null,this[_0x51db39(0x592)]=void 0x0,this[_0x51db39(0x49a)]=null,this[_0x51db39(0x289)]=null,this['_clearShapeAdjustControls']());}));}};_0xcd5dc6=_0x5b9725([_0x56348c(0x0,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x3,(0x0,_0x4fcc67['Inject'])(_0x5e7905)),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x286)])],_0xcd5dc6);let _0x4d0210={'id':_0x439e5d(0x3c5),'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler':(_0x1df109,_0x5b9fbb)=>{const _0x1bb22f=_0x439e5d;let _0x50bddc=_0x1df109[_0x1bb22f(0x55f)](_0x89eb48['IDrawingManagerService']),_0x2c28b2=_0x1df109[_0x1bb22f(0x55f)](_0x5e3080[_0x1bb22f(0x265)]),_0x3a883a=_0x1df109[_0x1bb22f(0x55f)](_0xcd5dc6);if(_0x5b9fbb==null)return!0x0;if(_0x5b9fbb[_0x1bb22f(0x298)]>0x0){var _0xb7fa54;let _0x3ff5db=(_0xb7fa54=_0x2c28b2[_0x1bb22f(0x40f)](_0x5b9fbb[0x0][_0x1bb22f(0x3a2)]))==null?void 0x0:_0xb7fa54[_0x1bb22f(0x56f)];if(_0x3ff5db){let {unitId:_0x4838ee,subUnitId:_0x456b8c,drawingId:_0x348835}=_0x5b9fbb[0x0],_0x272246=(0x0,_0x89eb48['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4838ee,'subUnitId':_0x456b8c,'drawingId':_0x348835},void 0x0),_0x167768=_0x3ff5db['getObjectIncludeInGroup'](_0x272246);if(_0x167768){var _0x1f44d5;(_0x1f44d5=_0x2c28b2['getRenderUnitById'](_0x5b9fbb[0x0]['unitId']))==null||(_0x1f44d5=_0x1f44d5[_0x1bb22f(0x56f)][_0x1bb22f(0x4f7)]())==null||_0x1f44d5['activeAnObject'](_0x167768);}}_0x50bddc[_0x1bb22f(0x45f)](_0x5b9fbb),_0x3a883a[_0x1bb22f(0x372)](!0x1);}return!0x0;}},_0x595989={'type':_0x4fcc67['CommandType'][_0x439e5d(0x4bb)],'id':_0x439e5d(0x512),'handler':async(_0x37fe51,_0x4ad563)=>{const _0x4bbf23=_0x439e5d;let _0x1920fc=(0x0,_0x33d9c6[_0x4bbf23(0x2b8)])(_0x37fe51[_0x4bbf23(0x55f)](_0x4fcc67['IUniverInstanceService']));if(!_0x1920fc)return!0x1;let _0x32b567=_0x37fe51[_0x4bbf23(0x55f)](_0x33d9c6[_0x4bbf23(0x586)])[_0x4bbf23(0x573)]();if(!_0x32b567)return!0x1;let _0x531bf9=_0x37fe51[_0x4bbf23(0x55f)](_0x4fcc67[_0x4bbf23(0x286)]),{unitId:_0x46262d,subUnitId:_0x533993}=_0x1920fc,{value:_0x56b0e6,enhanceParams:_0x178d7e}=_0x4ad563,{range:_0x5e3c22}=_0x32b567,_0x4a9ebd={'unitId':_0x46262d,'subUnitId':_0x533993,'shapeType':_0x56b0e6,'range':_0x5e3c22,'shapeId':(0x0,_0x4fcc67[_0x4bbf23(0x319)])()};if(_0x178d7e){let _0x88222=(0x0,_0x42c76f[_0x4bbf23(0x2a1)])(_0x56b0e6),_0x3475c9=_0x56b0e6===_0x42c76f['ShapeTypeEnum']['Rect'];_0x88222&&(_0x178d7e[_0x4bbf23(0x1b7)]||_0x178d7e[_0x4bbf23(0x491)])&&(_0x4a9ebd[_0x4bbf23(0x331)]={'ln':{'startArrow':_0x178d7e[_0x4bbf23(0x1b7)]?{'type':_0x42c76f[_0x4bbf23(0x1b5)]['Arrow'],'size':_0x42c76f[_0x4bbf23(0x2e7)][_0x4bbf23(0x539)]}:void 0x0,'endArrow':_0x178d7e[_0x4bbf23(0x491)]?{'type':_0x42c76f[_0x4bbf23(0x1b5)][_0x4bbf23(0x428)],'size':_0x42c76f[_0x4bbf23(0x2e7)][_0x4bbf23(0x527)]}:void 0x0}}),_0x3475c9&&(_0x178d7e['horizontal']||_0x178d7e[_0x4bbf23(0x26c)])&&(_0x4a9ebd[_0x4bbf23(0x331)]=(0x0,_0x1959c2['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x42c76f['ShapeFillEnum'][_0x4bbf23(0x53b)],'color':_0x4bbf23(0x1f1)},'isHorizontal':!!_0x178d7e['horizontal'],'stroke':{'lineStrokeType':_0x42c76f[_0x4bbf23(0x26d)]['SolidLine'],'width':0x1,'color':_0x4bbf23(0x451)}}));}let _0x3b2cae=_0x531bf9[_0x4bbf23(0x456)](_0x43ee3e[_0x4bbf23(0x3b1)]['id'],_0x4a9ebd);return setTimeout(()=>{const _0x679517=_0x4bbf23;_0x531bf9['executeCommand'](_0x4d0210['id'],[{'unitId':_0x46262d,'subUnitId':_0x533993,'drawingId':_0x4a9ebd[_0x679517(0x1cf)]}]);},0xc8),_0x3b2cae;}},_0x3a3b9a=_0x439e5d(0x2c3),_0x473a2b='sheet.shape.object-list.panel',_0x48c20d=_0x439e5d(0x435),_0x54ca59=_0x439e5d(0x546),_0x2de965=(0x0,_0x4fcc67[_0x439e5d(0x230)])(_0x439e5d(0x510)),_0x1c0b50='sheet.shape.text.float-menu',_0x258cca={'id':_0x439e5d(0x59e),'type':_0x4fcc67[_0x439e5d(0x2f6)]['COMMAND'],'handler':(_0x52d08b,_0x1386c0)=>{const _0x5b1d30=_0x439e5d;let _0x3ceebc=_0x52d08b[_0x5b1d30(0x55f)](_0x3412e6['ISidebarService']),_0x54426f=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67['LocaleService']),_0x2e5739=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67[_0x5b1d30(0x3e3)]),_0x56bbbd=_0x52d08b[_0x5b1d30(0x55f)](_0x4fcc67[_0x5b1d30(0x286)]);return(0x0,_0x33d9c6[_0x5b1d30(0x2b8)])(_0x2e5739)?(_0x1386c0==null?void 0x0:_0x1386c0[_0x5b1d30(0x3f0)])===_0x5b1d30(0x345)?(_0x3ceebc['close'](_0x473a2b),!0x0):(_0x3ceebc[_0x5b1d30(0x2e6)]({'id':_0x473a2b,'header':{'title':_0x54426f['t'](_0x5b1d30(0x421))},'children':{'label':_0x473a2b},'onClose':()=>{const _0x162fe8=_0x5b1d30;_0x56bbbd[_0x162fe8(0x456)](_0x89eb48[_0x162fe8(0x4bc)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x5398f0={'type':_0x4fcc67['CommandType'][_0x439e5d(0x1c7)],'id':_0x439e5d(0x276),'handler'(){return!0x0;}};function _0x1ac8fb(_0x7826b7){const _0x52d780=_0x439e5d;let _0x3d3013=_0x7826b7['get'](_0x89eb48[_0x52d780(0x211)])['getFocusDrawings'](),_0x6252b2=_0x3d3013['length']===0x1?_0x3d3013[0x0]:null;if(!_0x6252b2||_0x6252b2[_0x52d780(0x31a)]!==_0x4fcc67[_0x52d780(0x204)][_0x52d780(0x4b8)])return null;let _0x4bf4e4=_0x7826b7[_0x52d780(0x55f)](_0x43ee3e['SheetsShapeService']),_0x175d89=_0x4bf4e4[_0x52d780(0x352)](_0x6252b2['unitId'],_0x6252b2['subUnitId'],_0x6252b2[_0x52d780(0x457)]),_0x5cf57d=_0x4bf4e4[_0x52d780(0x343)](_0x6252b2['unitId'],_0x6252b2[_0x52d780(0x555)],_0x6252b2[_0x52d780(0x457)]);return _0x175d89===void 0x0||!_0x5cf57d?null:{'drawing':_0x6252b2,'shapeData':_0x5cf57d,'shapeType':_0x175d89};}let _0x577c0b={'id':_0x439e5d(0x45a),'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler':(_0x45c72b,_0xdb3640)=>{const _0x199dc2=_0x439e5d;let _0x22ff5f=_0x1ac8fb(_0x45c72b),_0x1fe77d=(0x0,_0x1959c2[_0x199dc2(0x483)])((_0xdb3640==null?void 0x0:_0xdb3640[_0x199dc2(0x599)])??(_0xdb3640==null?void 0x0:_0xdb3640['value'])??'');if(!_0x22ff5f||!_0x1fe77d||_0x1fe77d[_0x199dc2(0x46d)]!==(0x0,_0x1959c2['getShapeQuickStyleType'])(_0x22ff5f['shapeData']))return!0x1;let _0x3519fa=(0x0,_0x1959c2[_0x199dc2(0x502)])(_0x22ff5f[_0x199dc2(0x331)],_0x1fe77d);if(!_0x3519fa)return!0x1;let {drawing:_0x2b1ebb}=_0x22ff5f;return _0x45c72b[_0x199dc2(0x55f)](_0x4fcc67[_0x199dc2(0x286)])[_0x199dc2(0x4b3)](_0x4b1d28['id'],{'unitId':_0x2b1ebb[_0x199dc2(0x3a2)],'subUnitId':_0x2b1ebb[_0x199dc2(0x555)],'shapeId':_0x2b1ebb['drawingId'],'shapeData':_0x3519fa,'oldShapeJSON':{'oldShapeData':_0x22ff5f[_0x199dc2(0x331)]}});}},_0x55c4b4={'id':'sheet.operation.update-shape-type','type':_0x4fcc67['CommandType'][_0x439e5d(0x1c7)],'handler':(_0x4e523c,_0x2c2f5c)=>{const _0xa490ae=_0x439e5d;let _0x5aa04a=_0x1ac8fb(_0x4e523c),_0x41e571=(_0x2c2f5c==null?void 0x0:_0x2c2f5c['shapeType'])??(_0x2c2f5c==null?void 0x0:_0x2c2f5c[_0xa490ae(0x3f0)]);if(!_0x5aa04a||!_0x41e571||(0x0,_0x42c76f[_0xa490ae(0x2a1)])(_0x5aa04a[_0xa490ae(0x53a)])||(0x0,_0x42c76f[_0xa490ae(0x2a1)])(_0x41e571))return!0x1;let _0x453137=(0x0,_0x1959c2[_0xa490ae(0x225)])(_0x5aa04a[_0xa490ae(0x331)],_0x41e571);if(!_0x453137)return!0x1;let {drawing:_0x28134e}=_0x5aa04a;return _0x4e523c[_0xa490ae(0x55f)](_0x4fcc67['ICommandService'])[_0xa490ae(0x4b3)](_0x4b1d28['id'],{'unitId':_0x28134e[_0xa490ae(0x3a2)],'subUnitId':_0x28134e[_0xa490ae(0x555)],'shapeId':_0x28134e['drawingId'],'shapeType':_0x41e571,'shapeData':_0x453137,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x5aa04a[_0xa490ae(0x53a)],'oldShapeData':_0x5aa04a[_0xa490ae(0x331)]}});}},_0x2a68d5=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x160e0d,_0x1f8d75){const _0x25c73d=_0x439e5d;super(),this[_0x25c73d(0x3c6)]=_0x160e0d,this[_0x25c73d(0x232)]=_0x1f8d75,this[_0x25c73d(0x222)](),this['_clipService'][_0x25c73d(0x323)](!0x0),this[_0x25c73d(0x575)]({'dispose':()=>this[_0x25c73d(0x3c6)][_0x25c73d(0x323)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x4d8338=_0x439e5d;let _0x1b15d5=this[_0x4d8338(0x3c6)],_0x4176ea=new Map(),_0x269ed4=_0x1b15d5[_0x4d8338(0x2d7)]((_0x242960,_0x2777d7,_0x1b2235,_0x10ae65,_0x22314c)=>{const _0x1096a1=_0x4d8338;let _0x4c2059=_0x2777d7;if(_0x4c2059===_0x42c76f[_0x1096a1(0x50a)][_0x1096a1(0x3d7)]||_0x2777d7==='custom')return!0x1;try{let _0x590bc2=_0x4176ea[_0x1096a1(0x55f)](_0x2777d7);return _0x590bc2||(_0x590bc2=new _0x42c76f[(_0x1096a1(0x503))](_0x4c2059,_0x1096a1(0x229)+_0x2777d7),_0x4176ea[_0x1096a1(0x2e2)](_0x2777d7,_0x590bc2)),_0x590bc2[_0x1096a1(0x347)](),_0x22314c&&Object[_0x1096a1(0x4f5)](_0x22314c)[_0x1096a1(0x298)]>0x0&&_0x590bc2['setShapeData']({'adjustValues':_0x22314c},!0x0),_0x590bc2[_0x1096a1(0x580)]({'width':_0x1b2235,'height':_0x10ae65}),_0x590bc2[_0x1096a1(0x41b)](_0x242960,{'left':0x0,'top':0x0,'width':_0x1b2235,'height':_0x10ae65});}catch{return!0x1;}});this[_0x4d8338(0x575)](_0x269ed4),this['disposeWithMe']({'dispose':()=>_0x4176ea[_0x4d8338(0x3ee)]()});}[_0x439e5d(0x423)](_0x2c260d,_0x3bba88,_0x57fcea,_0x341a20,_0x59864d){const _0x50a0e9=_0x439e5d;let _0x152c9a=this[_0x50a0e9(0x232)][_0x50a0e9(0x537)](_0x2c260d,_0x3bba88);if(!_0x152c9a[_0x57fcea])return;let _0x54d7be={..._0x152c9a[_0x57fcea],'prstGeom':_0x341a20,'adjustValues':_0x59864d};this[_0x50a0e9(0x232)][_0x50a0e9(0x2eb)]([_0x54d7be]);}};_0x2a68d5=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x108bdb[_0x439e5d(0x4fa)])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x89eb48[_0x439e5d(0x211)]))],_0x2a68d5);let _0x1b11f8=_0x439e5d(0x559),_0x4a3dfe=_0x439e5d(0x258);function _0x1dd736({onShapeClick:_0x5d78e0,excludeGroups:_0x224f73}){const _0x3d6b18=_0x439e5d;return(0x0,_0x58bcbb[_0x3d6b18(0x58f)])(_0x1a617a['ShapePickerPanel'],{'excludeGroups':_0x224f73,'onShapeClick':_0x5d78e0,'scrollContainer':_0x3d6b18(0x572)});}function _0x382226(){const _0x7b8f3e=_0x439e5d;let _0x1ffca1=(0x0,_0x3412e6[_0x7b8f3e(0x4a1)])(_0x89eb48[_0x7b8f3e(0x211)]),_0x45bdb9=(0x0,_0x3412e6[_0x7b8f3e(0x4a1)])(_0x2a68d5);return(0x0,_0x58bcbb[_0x7b8f3e(0x58f)])(_0x1a617a[_0x7b8f3e(0x223)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x1a617a[_0x7b8f3e(0x23d)][_0x7b8f3e(0x3f3)]],'onShapeClick':_0x5552af=>{const _0xc647ad=_0x7b8f3e;let _0x317ed0=_0x1ffca1['getFocusDrawings']()[_0xc647ad(0x2b5)](_0x475617=>_0x475617[_0xc647ad(0x31a)]===_0x4fcc67['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x317ed0)return;let {unitId:_0x346a9e,subUnitId:_0x1c4b26,drawingId:_0x4e465f}=_0x317ed0;_0x45bdb9[_0xc647ad(0x423)](_0x346a9e,_0x1c4b26,_0x4e465f,_0x5552af[_0xc647ad(0x46d)]);}});}function _0x571429(){const _0x597d76=_0x439e5d;let _0x22ea20=(0x0,_0x3412e6['useDependency'])(_0x89eb48['IDrawingManagerService']),_0x360e56=(0x0,_0x3412e6[_0x597d76(0x4a1)])(_0x2a68d5);return(0x0,_0x58bcbb['jsx'])(_0x1a617a[_0x597d76(0x223)],{'buttonLabel':_0x597d76(0x553),'excludeGroups':[_0x1a617a[_0x597d76(0x23d)][_0x597d76(0x3f3)]],'DropdownComponent':_0x44add0['MobileDropdown'],'onShapeClick':_0x8fa0c5=>{const _0x47d785=_0x597d76;let _0x3feb8e=_0x22ea20[_0x47d785(0x52f)]()[_0x47d785(0x2b5)](_0x2b3a66=>_0x2b3a66[_0x47d785(0x31a)]===_0x4fcc67['DrawingTypeEnum']['DRAWING_IMAGE']);if(!_0x3feb8e)return;let {unitId:_0x4e6f2b,subUnitId:_0x5b7154,drawingId:_0x5d8354}=_0x3feb8e;_0x360e56['clipByShape'](_0x4e6f2b,_0x5b7154,_0x5d8354,_0x8fa0c5['type']);}});}function _0x233a38(){const _0x4a09c7=_0x439e5d;let _0xb96624=(0x0,_0x3412e6[_0x4a09c7(0x4a1)])(_0x3412e6[_0x4a09c7(0x3fb)]),_0x197aca=(0x0,_0x3412e6[_0x4a09c7(0x4a1)])(_0x89eb48[_0x4a09c7(0x211)]),_0x2a8cd1=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x4a09c7(0x3e3)]),_0x574d73=_0x197aca[_0x4a09c7(0x52f)]()[0x0],_0x46c066=_0x574d73?_0x2a8cd1[_0x4a09c7(0x4a8)](_0x574d73[_0x4a09c7(0x3a2)]):void 0x0,_0x587ab0=_0x46c066===_0x4fcc67[_0x4a09c7(0x578)][_0x4a09c7(0x3bb)]?_0x4a09c7(0x3f7):_0x46c066===_0x4fcc67['UniverInstanceType']['UNIVER_SHEET']?_0x4a3dfe:void 0x0,_0x426999=_0x587ab0?_0xb96624['get'](_0x587ab0):void 0x0;return _0x426999?(0x0,_0x58bcbb['jsx'])(_0x426999,{}):null;}function _0x459ba5(){const _0x30adf3=_0x439e5d;let _0x3b05b7=(0x0,_0x3412e6['useDependency'])(_0x4fcc67['ICommandService']);return(0x0,_0x58bcbb[_0x30adf3(0x58f)])(_0x1dd736,{'onShapeClick':_0x515d7b=>{const _0x576b63=_0x30adf3;_0x3b05b7[_0x576b63(0x4b3)](_0x595989['id'],{'value':_0x515d7b['type'],'enhanceParams':{'endArrow':_0x515d7b[_0x576b63(0x491)],'startArrow':_0x515d7b['startArrow'],'horizontal':_0x515d7b['horizontal'],'vertical':_0x515d7b[_0x576b63(0x26c)]}});}});}function _0x10ef89(){const _0x3fdafe=_0x439e5d;return(0x0,_0x58bcbb[_0x3fdafe(0x58f)])(_0x459ba5,{});}function _0x432394(_0x43eb39){const _0x426108=_0x439e5d;let _0x382618=_0x43eb39[_0x426108(0x55f)](_0x4fcc67['IUniverInstanceService']);return{'id':_0x595989['id'],'type':_0x3412e6[_0x426108(0x58d)]['SELECTOR'],'selections':[{'label':{'name':_0x1b11f8,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x595989['id']}}}],'icon':_0x426108(0x42c),'tooltip':_0x426108(0x51e),'activated$':(0x0,_0x5b8007['deriveStateFromActiveSheet$'])(_0x382618,!0x1,()=>new _0x5597c9[(_0x426108(0x203))](_0x1fea80=>{const _0x50cfbf=_0x426108;_0x1fea80[_0x50cfbf(0x4e3)](!0x1);})),'hidden$':(0x0,_0x3412e6[_0x426108(0x25a)])(_0x43eb39,_0x4fcc67[_0x426108(0x578)][_0x426108(0x28f)]),'disabled$':(0x0,_0x5b8007[_0x426108(0x571)])(_0x43eb39)};}function _0x3a9e45(_0x5ac276){const _0x26da4d=_0x439e5d;let _0x533942=_0x5ac276[_0x26da4d(0x55f)](_0x3412e6[_0x26da4d(0x357)]);return{'id':_0x258cca['id'],'type':_0x3412e6[_0x26da4d(0x58d)]['BUTTON'],'icon':_0x26da4d(0x557),'title':_0x26da4d(0x4e2),'tooltip':_0x26da4d(0x4e2),'activated$':(0x0,_0x5597c9[_0x26da4d(0x244)])(()=>_0x533942[_0x26da4d(0x401)]['pipe']((0x0,_0x5597c9['startWith'])(_0x533942['options']),(0x0,_0x5597c9[_0x26da4d(0x1ff)])(_0xa93c6c=>_0xa93c6c[_0x26da4d(0x30f)]===!0x0&&_0xa93c6c['id']==='sheet.shape.object-list.panel'),(0x0,_0x5597c9['distinctUntilChanged'])())),'hidden$':(0x0,_0x3412e6['getMenuHiddenObservable'])(_0x5ac276,_0x4fcc67[_0x26da4d(0x578)]['UNIVER_SHEET']),'disabled$':(0x0,_0x5b8007[_0x26da4d(0x571)])(_0x5ac276)};}let _0xa3e643=_0x439e5d(0x2c6),_0x47a36f=_0x439e5d(0x361);function _0x34f74a(_0x219ee1){const _0x2ad9dc=_0x439e5d;let _0xbb4f98=_0x219ee1[_0x2ad9dc(0x55f)](_0x89eb48[_0x2ad9dc(0x211)])[_0x2ad9dc(0x52f)]();return _0xbb4f98[_0x2ad9dc(0x298)]===0x1&&_0xbb4f98[0x0][_0x2ad9dc(0x31a)]===_0x4fcc67[_0x2ad9dc(0x204)][_0x2ad9dc(0x4b8)]?_0xbb4f98[0x0]:null;}function _0x531edc(_0x3a259d){const _0x592442=_0x439e5d;let _0x36e3f8=_0x3a259d[_0x592442(0x55f)](_0x89eb48[_0x592442(0x211)]);return _0x36e3f8['focus$'][_0x592442(0x48b)]((0x0,_0x5597c9[_0x592442(0x4c3)])(_0x36e3f8['getFocusDrawings']()),(0x0,_0x5597c9[_0x592442(0x1ff)])(_0xa26f3e=>_0xa26f3e[_0x592442(0x298)]!==0x1||_0xa26f3e[0x0][_0x592442(0x31a)]!==_0x4fcc67[_0x592442(0x204)][_0x592442(0x4b8)]));}function _0x494031(_0x445655){const _0x5ee255=_0x439e5d;return{'id':_0xa3e643,'commandId':_0x43ee3e[_0x5ee255(0x3c7)]['id'],'type':_0x3412e6[_0x5ee255(0x58d)]['BUTTON'],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x5ee255(0x379),'icon':_0x5ee255(0x567),'hidden$':_0x531edc(_0x445655),'params':()=>{const _0x33a84f=_0x5ee255;let _0x2d8266=_0x34f74a(_0x445655);return _0x2d8266?{'unitId':_0x2d8266[_0x33a84f(0x3a2)],'subUnitId':_0x2d8266['subUnitId'],'shapeId':_0x2d8266[_0x33a84f(0x457)],'flipH':!0x0}:void 0x0;}};}function _0x1ff47d(_0x5a1058){const _0x2651f3=_0x439e5d;return{'id':_0x47a36f,'commandId':_0x43ee3e[_0x2651f3(0x3c7)]['id'],'type':_0x3412e6[_0x2651f3(0x58d)][_0x2651f3(0x3ab)],'title':_0x2651f3(0x5b2),'tooltip':_0x2651f3(0x5b2),'icon':_0x2651f3(0x3c9),'hidden$':_0x531edc(_0x5a1058),'params':()=>{const _0x218dd9=_0x2651f3;let _0x53c641=_0x34f74a(_0x5a1058);return _0x53c641?{'unitId':_0x53c641['unitId'],'subUnitId':_0x53c641[_0x218dd9(0x555)],'shapeId':_0x53c641[_0x218dd9(0x457)],'flipV':!0x0}:void 0x0;}};}let _0x1d7539=_0x439e5d(0x3c3),_0x52f6ff=_0x439e5d(0x499),_0x3e1600=_0x439e5d(0x57a),_0x36255e='sheets-shape-ui.shape-format.formula-ribbon-control';function _0x4607e7(){const _0x23b0eb=_0x439e5d;let _0xe61666=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x23b0eb(0x286)]),_0x5540e2=(0x0,_0x3412e6['useDependency'])(_0x89eb48[_0x23b0eb(0x211)]),_0x160250=(0x0,_0x3412e6[_0x23b0eb(0x4a1)])(_0x43ee3e['SheetsShapeService']),_0x1711b7=()=>{const _0xac0763=_0x23b0eb;var _0x131f7f;let _0x1b28aa=_0x5540e2[_0xac0763(0x52f)]();if(_0x1b28aa[_0xac0763(0x298)]!==0x1||((_0x131f7f=_0x1b28aa[0x0])==null?void 0x0:_0x131f7f[_0xac0763(0x31a)])!==_0x4fcc67[_0xac0763(0x204)][_0xac0763(0x4b8)])return null;let {unitId:_0x49f0d9,subUnitId:_0x4fc00b,drawingId:_0x25b2c4}=_0x1b28aa[0x0],_0x17133f=_0x160250['getShapeTypeById'](_0x49f0d9,_0x4fc00b,_0x25b2c4),_0x5ad101=_0x160250[_0xac0763(0x343)](_0x49f0d9,_0x4fc00b,_0x25b2c4);return _0x17133f===void 0x0||!_0x5ad101?null:{'unitId':_0x49f0d9,'subUnitId':_0x4fc00b,'drawingId':_0x25b2c4,'shapeType':_0x17133f,'shapeData':_0x5ad101};},_0x3306c3=(0x0,_0x3412e6[_0x23b0eb(0x3d6)])(()=>new _0x5597c9[(_0x23b0eb(0x203))](_0x16bd43=>{const _0x55f717=_0x23b0eb;let _0x483028=()=>_0x16bd43[_0x55f717(0x4e3)](_0x1711b7()),_0x5d86ef=_0x5540e2[_0x55f717(0x328)][_0x55f717(0x523)](_0x483028),_0x4bfb41=_0xe61666[_0x55f717(0x4a4)](_0x3cc7cb=>{const _0x48d528=_0x55f717;_0x3cc7cb['id']===_0x43ee3e[_0x48d528(0x403)]['id']&&_0x483028();});return _0x483028(),()=>{_0x5d86ef['unsubscribe'](),_0x4bfb41['dispose']();};}),_0x1711b7(),!0x1,[_0xe61666,_0x5540e2,_0x160250]);return{'selection':_0x3306c3,'updateShapeData':_0x29819f=>{const _0x523269=_0x23b0eb;_0x3306c3&&_0x15d4c3(_0xe61666,_0x3306c3[_0x523269(0x3a2)],_0x3306c3['subUnitId'],_0x3306c3[_0x523269(0x457)],{'oldShapeData':_0x3306c3[_0x523269(0x331)]},_0x29819f);}};}function _0xb829be(){const _0x3b32c2=_0x439e5d;let {selection:_0x24fbc9,updateShapeData:_0x22e1b1}=_0x4607e7();return _0x24fbc9?(0x0,_0x58bcbb[_0x3b32c2(0x58f)])(_0x1a617a[_0x3b32c2(0x476)],{'shapeData':_0x24fbc9[_0x3b32c2(0x331)],'shapeType':_0x24fbc9[_0x3b32c2(0x53a)],'onUpdateShapeData':_0x22e1b1}):null;}function _0x2bee39(){const _0x2907a3=_0x439e5d;let _0x4c6021=(0x0,_0x3412e6[_0x2907a3(0x4a1)])(_0x4fcc67[_0x2907a3(0x286)]),_0x5d1a01=(0x0,_0x3412e6[_0x2907a3(0x4a1)])(_0x4fcc67[_0x2907a3(0x4fb)]),{selection:_0x38a515}=_0x4607e7();return _0x38a515?(0x0,_0x58bcbb['jsx'])(_0x1a617a[_0x2907a3(0x340)],{'type':(0x0,_0x1959c2[_0x2907a3(0x355)])(_0x38a515[_0x2907a3(0x331)]),'ariaLabel':_0x5d1a01['t'](_0x2907a3(0x481)),'activePresetId':(0x0,_0x1959c2['resolveActiveShapeQuickStylePresetId'])(_0x38a515[_0x2907a3(0x331)]),'onSelect':_0x4854b8=>_0x4c6021[_0x2907a3(0x4b3)](_0x577c0b['id'],{'presetId':_0x4854b8})}):null;}function _0x499602(){const _0x3e5d56=_0x439e5d;let {selection:_0x2421d8,updateShapeData:_0x4208f2}=_0x4607e7();return _0x2421d8?(0x0,_0x58bcbb[_0x3e5d56(0x58f)])(_0x1a617a[_0x3e5d56(0x3cb)],{'fontFamilyPopupDataComponent':_0x3e5d56(0x505),'shapeData':_0x2421d8[_0x3e5d56(0x331)],'onUpdateShapeData':_0x4208f2}):null;}function _0x5c33bb(){const _0xc7d243=_0x439e5d;var _0x483de7;let {selection:_0x83573f,updateShapeData:_0x2e62cf}=_0x4607e7(),_0x39993b=(0x0,_0x1a617a[_0xc7d243(0x474)])({'hostType':_0x4fcc67[_0xc7d243(0x578)][_0xc7d243(0x28f)],'unitId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x3a2)])??'','subUnitId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x555)])??'','shapeId':(_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x457)])??'','shapeData':_0x83573f==null?void 0x0:_0x83573f[_0xc7d243(0x331)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xc7d243(0x470),'onUpdateBinding':_0x51946a=>_0x2e62cf({'formulaBinding':_0x51946a})}),_0x1909e2=((_0x483de7=_0x39993b[_0xc7d243(0x1c9)])==null?void 0x0:_0x483de7[_0xc7d243(0x3b3)](_0x21e656=>_0x21e656['actions'])[_0xc7d243(0x4a3)](_0x567d63=>_0x567d63[_0xc7d243(0x30f)]!==!0x1))??[];return _0x83573f!=null&&_0x83573f[_0xc7d243(0x331)][_0xc7d243(0x4d5)]?(0x0,_0x58bcbb[_0xc7d243(0x58f)])(_0x1a617a['ShapeFormulaRibbonControl'],{'actions':_0x1909e2,'panel':_0x39993b['panel']}):null;}let _0x388e38='sheets-shape-ui.ribbon.shape-format.style-control',_0x2b6a79=_0x439e5d(0x383),_0x453bca=_0x439e5d(0x261),_0x34cb79=_0x439e5d(0x4d9),_0x375cd6=_0x439e5d(0x4db),_0x5a0706='sheets-shape-ui.ribbon.shape-format.arrange-front',_0x2f0aaa=_0x439e5d(0x538);function _0x10fb34(_0xc29736){const _0x461305=_0x439e5d;let _0x3ca47f=_0xc29736['get'](_0x4fcc67[_0x461305(0x286)]),_0x135608=_0xc29736[_0x461305(0x55f)](_0x89eb48[_0x461305(0x211)]),_0xd87ddb=_0xc29736[_0x461305(0x55f)](_0x43ee3e[_0x461305(0x373)]);return new _0x5597c9[(_0x461305(0x203))](_0xf3aa24=>{const _0x483b8c=_0x461305;let _0x50b679=()=>{const _0x5a58eb=_0x3385;let _0x36725c=_0x250e7c(_0xc29736),_0x4660a4=_0x36725c?_0xd87ddb['getShapeDataById'](_0x36725c[_0x5a58eb(0x3a2)],_0x36725c[_0x5a58eb(0x555)],_0x36725c[_0x5a58eb(0x457)]):null;_0xf3aa24[_0x5a58eb(0x4e3)](_0x4660a4?(0x0,_0x1959c2[_0x5a58eb(0x43e)])(_0x4660a4)??'':'');},_0x52c805=_0x135608['focus$'][_0x483b8c(0x523)](_0x50b679),_0x57c8c1=_0x3ca47f[_0x483b8c(0x4a4)](_0x2345bb=>{const _0x1815ed=_0x483b8c;_0x2345bb['id']===_0x43ee3e[_0x1815ed(0x403)]['id']&&_0x50b679();});return _0x50b679(),()=>{const _0x207ab8=_0x483b8c;_0x52c805[_0x207ab8(0x2e3)](),_0x57c8c1[_0x207ab8(0x27e)]();};});}function _0x250e7c(_0xa40c42){const _0x40f0a1=_0x439e5d;var _0x424db8;let _0x36595c=_0xa40c42[_0x40f0a1(0x55f)](_0x89eb48[_0x40f0a1(0x211)])[_0x40f0a1(0x52f)]();return _0x36595c['length']===0x1&&((_0x424db8=_0x36595c[0x0])==null?void 0x0:_0x424db8[_0x40f0a1(0x31a)])===_0x4fcc67[_0x40f0a1(0x204)]['DRAWING_SHAPE']?_0x36595c[0x0]:null;}function _0x4cfd35(_0x45ae10,_0x4abdb2=!0x1){const _0x24b021=_0x439e5d;let _0x46c9d1=_0x45ae10[_0x24b021(0x55f)](_0x4fcc67[_0x24b021(0x286)]),_0x509462=_0x45ae10[_0x24b021(0x55f)](_0x89eb48[_0x24b021(0x211)]),_0x5d3ab0=_0x45ae10['get'](_0x43ee3e[_0x24b021(0x373)]);return new _0x5597c9[(_0x24b021(0x203))](_0x5f1201=>{const _0x10ad6c=_0x24b021;let _0x5ea965=()=>{const _0x4dd2e3=_0x3385;let _0x209e5b=_0x250e7c(_0x45ae10);if(!_0x209e5b){_0x5f1201[_0x4dd2e3(0x4e3)](!0x0);return;}let _0x1e26b6=_0x5d3ab0[_0x4dd2e3(0x343)](_0x209e5b[_0x4dd2e3(0x3a2)],_0x209e5b['subUnitId'],_0x209e5b[_0x4dd2e3(0x457)]);_0x5f1201[_0x4dd2e3(0x4e3)](!_0x1e26b6||_0x4abdb2&&_0x1e26b6[_0x4dd2e3(0x4d5)]==null);},_0x2b9206=_0x509462[_0x10ad6c(0x328)][_0x10ad6c(0x523)](_0x5ea965),_0x589c33=_0x46c9d1[_0x10ad6c(0x4a4)](_0x577694=>{const _0x2dfa56=_0x10ad6c;_0x577694['id']===_0x43ee3e[_0x2dfa56(0x403)]['id']&&_0x5ea965();});return _0x5ea965(),()=>{const _0x1f4070=_0x10ad6c;_0x2b9206[_0x1f4070(0x2e3)](),_0x589c33[_0x1f4070(0x27e)]();};});}function _0x40e637(_0xf78122){const _0x16de79=_0x439e5d;let _0x18802e=_0xf78122[_0x16de79(0x55f)](_0x89eb48[_0x16de79(0x211)]),_0x3991b3=_0xf78122[_0x16de79(0x55f)](_0x43ee3e[_0x16de79(0x373)]);return _0x18802e[_0x16de79(0x328)][_0x16de79(0x48b)]((0x0,_0x5597c9[_0x16de79(0x4c3)])(_0x18802e[_0x16de79(0x52f)]()),(0x0,_0x5597c9[_0x16de79(0x1ff)])(()=>{const _0x819c6f=_0x16de79;let _0x4acdc6=_0x250e7c(_0xf78122),_0x3a7af1=_0x4acdc6?_0x3991b3[_0x819c6f(0x352)](_0x4acdc6[_0x819c6f(0x3a2)],_0x4acdc6[_0x819c6f(0x555)],_0x4acdc6[_0x819c6f(0x457)]):void 0x0;return _0x3a7af1===void 0x0||(0x0,_0x42c76f[_0x819c6f(0x2a1)])(_0x3a7af1);}));}function _0x548476(_0x52128f){const _0x3ceafa=_0x439e5d;return{'id':_0x577c0b['id'],'type':_0x3412e6[_0x3ceafa(0x58d)][_0x3ceafa(0x36d)],'icon':_0x3ceafa(0x3bc),'title':'shape-editor-ui.toolbar.quickStyles','tooltip':_0x3ceafa(0x5b0),'selections':[{'label':{'name':_0x1d7539,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x10fb34(_0x52128f),'hidden$':_0x4cfd35(_0x52128f)};}function _0x476803(_0x1af05f){const _0x1e09cd=_0x439e5d;return{'id':_0x55c4b4['id'],'type':_0x3412e6[_0x1e09cd(0x58d)]['SELECTOR'],'icon':_0x1e09cd(0x42c),'title':_0x1e09cd(0x284),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x1a617a[_0x1e09cd(0x4e0)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x40e637(_0x1af05f)};}function _0x149b99(_0x3739bc,_0x3de188,_0x2906e8=!0x1){const _0x84ead=_0x439e5d;return _0x32d85c=>({'id':_0x3739bc,'type':_0x3412e6[_0x84ead(0x58d)]['BUTTON'],'label':{'name':_0x3de188,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x4cfd35(_0x32d85c,_0x2906e8)});}let _0x16a4ef=_0x149b99(_0x388e38,_0x52f6ff),_0x5793a4=_0x149b99(_0x2b6a79,_0x3e1600),_0x3ab1d5=_0x149b99(_0x453bca,_0x36255e,!0x0);function _0x5b4d62(_0x45e2f6,_0x1ee551,_0xe3d144,_0x48b2b3){const _0xa12fb6=_0x439e5d;return _0x24ac65=>({'id':_0x45e2f6,'commandId':_0x51f92a[_0xa12fb6(0x393)]['id'],'type':_0x3412e6[_0xa12fb6(0x58d)][_0xa12fb6(0x3ab)],'icon':_0xe3d144,'title':_0x48b2b3,'tooltip':_0x48b2b3,'hidden$':_0x4cfd35(_0x24ac65),'params':()=>{const _0xcdd65e=_0xa12fb6;let _0x14d84e=_0x250e7c(_0x24ac65);return _0x14d84e?{'unitId':_0x14d84e[_0xcdd65e(0x3a2)],'subUnitId':_0x14d84e['subUnitId'],'drawingIds':[_0x14d84e[_0xcdd65e(0x457)]],'arrangeType':_0x1ee551}:void 0x0;}});}let _0x3764cd=_0x5b4d62(_0x34cb79,_0x4fcc67[_0x439e5d(0x5a8)][_0x439e5d(0x2f0)],_0x439e5d(0x5a0),_0x439e5d(0x363)),_0x1ec2d2=_0x5b4d62(_0x375cd6,_0x4fcc67[_0x439e5d(0x5a8)]['backward'],_0x439e5d(0x3e0),'shape-editor-ui.arrange.backward'),_0x4b78a6=_0x5b4d62(_0x5a0706,_0x4fcc67[_0x439e5d(0x5a8)]['front'],'TopmostIcon',_0x439e5d(0x3f1)),_0x64de05=_0x5b4d62(_0x2f0aaa,_0x4fcc67['ArrangeTypeEnum'][_0x439e5d(0x522)],_0x439e5d(0x3b2),_0x439e5d(0x354));function _0x7c58a6(_0x469f95){const _0x35531b=_0x439e5d;let _0x24d653=_0x469f95['get'](_0x3412e6['ISidebarService']);return{'activated$':(0x0,_0x5597c9[_0x35531b(0x244)])(()=>_0x24d653[_0x35531b(0x401)][_0x35531b(0x48b)]((0x0,_0x5597c9[_0x35531b(0x4c3)])(_0x24d653[_0x35531b(0x57d)]),(0x0,_0x5597c9['map'])(_0x2605b6=>_0x2605b6[_0x35531b(0x30f)]===!0x0&&_0x2605b6['id']===_0x35531b(0x2c3)),(0x0,_0x5597c9[_0x35531b(0x4af)])())),'id':_0x5398f0['id'],'type':_0x3412e6[_0x35531b(0x58d)][_0x35531b(0x3ab)],'icon':'ShapeFormatSettingIcon','title':_0x35531b(0x437),'tooltip':_0x35531b(0x437),'hidden$':_0x4cfd35(_0x469f95),'params':()=>{const _0x59f88a=_0x35531b;let _0x111769=_0x250e7c(_0x469f95);return _0x111769?{'unitId':_0x111769['unitId'],'subUnitId':_0x111769[_0x59f88a(0x555)],'drawingId':_0x111769['drawingId']}:void 0x0;}};}let _0x2948fc={[_0x3412e6[_0x439e5d(0x47b)][_0x439e5d(0x5ad)]]:{[_0x54ca59]:{'order':0x64,'title':_0x439e5d(0x437),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x577c0b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x548476},[_0x55c4b4['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x476803}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x388e38]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x16a4ef}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x2b6a79]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5793a4}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0xa3e643]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x494031},[_0x47a36f]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x1ff47d},[_0x34cb79]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x3764cd},[_0x375cd6]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1ec2d2},[_0x5a0706]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4b78a6},[_0x2f0aaa]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x64de05}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x453bca]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x3ab1d5}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x5398f0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x7c58a6},[_0x1a617a[_0x439e5d(0x49c)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1a617a[_0x439e5d(0x581)]}}}}},_0x2b234f={[_0x3412e6['RibbonInsertGroup'][_0x439e5d(0x3e2)]]:{[_0x595989['id']]:{'order':0x3,'menuItemFactory':_0x432394}}},_0x4eaffd={..._0x2b234f,[_0x3412e6['RibbonInsertGroup'][_0x439e5d(0x324)]]:{[_0x258cca['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x3a9e45}},[_0x3412e6[_0x439e5d(0x2dc)][_0x439e5d(0x507)]]:{[_0x3412e6[_0x439e5d(0x1ec)][_0x439e5d(0x324)]]:{[_0xa3e643]:{'order':0x4,'menuItemFactory':_0x494031},[_0x47a36f]:{'order':0x5,'menuItemFactory':_0x1ff47d}}}};var _0x662816='@univerjs-pro/sheets-shape-ui',_0x2993c4=_0x439e5d(0x31b);let _0x20217e={'id':'sheet.operation.open-mobile-shape-editor','type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'handler'(_0x3c3b6e,_0x218b38){const _0x33b76d=_0x439e5d;return _0x218b38?(_0x3c3b6e[_0x33b76d(0x55f)](_0x1a617a[_0x33b76d(0x38a)])[_0x33b76d(0x2e6)](_0x218b38['mode'],{'hostType':_0x4fcc67[_0x33b76d(0x578)][_0x33b76d(0x28f)],'shapeId':_0x218b38[_0x33b76d(0x457)],'subUnitId':_0x218b38[_0x33b76d(0x555)],'unitId':_0x218b38[_0x33b76d(0x3a2)]}),!0x0):!0x1;}},_0x4d1e57=_0x439e5d(0x427),_0x42d7f1={},_0x2aa3d8=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x375b2f,_0x1ec17f,_0x24e4a4,_0x47b74a,_0x19484d){const _0x43bc29=_0x439e5d;super(),this[_0x43bc29(0x316)]=_0x375b2f,this[_0x43bc29(0x232)]=_0x1ec17f,this[_0x43bc29(0x35d)]=_0x24e4a4,this[_0x43bc29(0x54b)]=_0x47b74a,this[_0x43bc29(0x44d)]=_0x19484d,_0x355f4a(this,_0x43bc29(0x42a),null),_0x355f4a(this,_0x43bc29(0x49a),null),_0x355f4a(this,_0x43bc29(0x289),null),_0x355f4a(this,_0x43bc29(0x271),void 0x0),_0x355f4a(this,_0x43bc29(0x3a6),[]),_0x355f4a(this,_0x43bc29(0x250),0x0),_0x355f4a(this,_0x43bc29(0x262),0x0),_0x355f4a(this,_0x43bc29(0x4b9),0x0),_0x355f4a(this,'_baseHeight',0x0),_0x355f4a(this,_0x43bc29(0x235),!0x1),_0x355f4a(this,_0x43bc29(0x1d4),void 0x0),_0x355f4a(this,_0x43bc29(0x2db),void 0x0),_0x355f4a(this,_0x43bc29(0x429),void 0x0),_0x355f4a(this,_0x43bc29(0x35c),void 0x0),_0x355f4a(this,_0x43bc29(0x25b),!0x1),this[_0x43bc29(0x397)](),this['_registerMoveHandler']();}[_0x439e5d(0x1c4)](){const _0x58a57d=_0x439e5d;this[_0x58a57d(0x1bd)]();}[_0x439e5d(0x227)](){const _0x45d746=_0x439e5d;this[_0x45d746(0x1bd)](),this[_0x45d746(0x34a)](!0x0);}[_0x439e5d(0x4fc)](_0x12559d,_0x20e5c8,_0x304722,_0x170f99){const _0xc923b6=_0x439e5d;let _0x1f1415=_0x12559d;if(_0x1f1415!==_0x42c76f[_0xc923b6(0x50a)]['None']&&_0x12559d!==_0xc923b6(0x482))try{let _0xc41baf=new _0x42c76f[(_0xc923b6(0x503))](_0x1f1415,_0xc923b6(0x47c)+_0x12559d);return _0x170f99&&_0xc41baf[_0xc923b6(0x422)]({'adjustValues':_0x170f99},!0x0),_0xc41baf['updateContext']({'width':_0x20e5c8,'height':_0x304722}),_0xc41baf;}catch{return;}}[_0x439e5d(0x2b3)](_0x2ba3a6,_0x4b4314,_0x4c1ef0){const _0x10fe9f=_0x439e5d;let _0x2f672d={'unitId':_0x2ba3a6,'subUnitId':_0x4b4314,'drawingId':_0x4c1ef0},_0x2ed844=this[_0x10fe9f(0x232)]['getDrawingByParam'](_0x2f672d);if(_0x2ed844&&_0x2ed844[_0x10fe9f(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0x10fe9f(0x556)])return _0x2ed844;}[_0x439e5d(0x51b)](_0x4e6dd0,_0x5f357a,_0x2fba0a){const _0x161336=_0x439e5d;let _0x57b711=this['_renderManagerService'][_0x161336(0x40f)](_0x4e6dd0);if(!_0x57b711)return;let {scene:_0x27e9f8}=_0x57b711,_0x1196cb=(0x0,_0x89eb48[_0x161336(0x236)])({'unitId':_0x4e6dd0,'subUnitId':_0x5f357a,'drawingId':_0x2fba0a}),_0x203281=_0x27e9f8[_0x161336(0x23f)](_0x1196cb);if(_0x203281 instanceof _0x5e3080[_0x161336(0x411)]){let _0x4898a7=_0x203281[_0x161336(0x20e)];if(_0x4898a7)return{'prstGeom':_0x4898a7,'adjustValues':_0x203281[_0x161336(0x1d8)]};}}[_0x439e5d(0x34a)](_0x35dab1=!0x1){const _0x4779a4=_0x439e5d;if(!this[_0x4779a4(0x49a)]||!this['_subUnitId']||!this[_0x4779a4(0x42a)])return;let _0x5f18e6=this[_0x4779a4(0x35d)][_0x4779a4(0x40f)](this[_0x4779a4(0x49a)]);if(!_0x5f18e6||!_0x5f18e6[_0x4779a4(0x54f)](_0x5b8007[_0x4779a4(0x2e8)])['getCurrentSkeleton']())return;let {scene:_0x5a5b7e}=_0x5f18e6,_0x5b57e2=this[_0x4779a4(0x2b3)](this[_0x4779a4(0x49a)],this[_0x4779a4(0x289)],this['_activeImageId']);if(!_0x5b57e2)return;let {transform:_0x4b2e6d}=_0x5b57e2;if(!_0x4b2e6d)return;let {left:_0x975a22,top:_0x500f8c,width:_0x4c1fd8,height:_0x320eeb,flipX:_0x5416bb,flipY:_0x3be2f5,angle:_0x5468db=0x0}=_0x4b2e6d;if(_0x975a22===void 0x0||_0x500f8c===void 0x0)return;let _0x4ed995=this[_0x4779a4(0x51b)](this['_unitId'],this['_subUnitId'],this['_activeImageId']);if(!_0x4ed995)return;if(_0x35dab1){let _0x336883=this['_getOrCreateShapeModel'](_0x4ed995['prstGeom'],_0x4c1fd8||0x0,_0x320eeb||0x0,_0x4ed995['adjustValues']);if(!_0x336883)return;this[_0x4779a4(0x271)]=_0x336883[_0x4779a4(0x246)]();}let _0x186a13=this[_0x4779a4(0x271)];if(_0x186a13&&_0x186a13[_0x4779a4(0x298)]!==0x0)for(let _0x8f94d1=0x0;_0x8f94d1<_0x186a13[_0x4779a4(0x298)];_0x8f94d1++){let _0x182c82=_0x186a13[_0x8f94d1],_0x420796=_0x182c82['x'],_0x46811c=_0x182c82['y'];if(_0x5416bb&&(_0x420796=(_0x4c1fd8||0x0)-_0x420796),_0x3be2f5&&(_0x46811c=(_0x320eeb||0x0)-_0x46811c),_0x5468db!==0x0){let _0x1c343f=(_0x4c1fd8||0x0)/0x2,_0x243ead=(_0x320eeb||0x0)/0x2,_0x5f165a=_0x5468db*Math['PI']/0xb4,_0x539c3c=Math[_0x4779a4(0x4e9)](_0x5f165a),_0xaf0be9=Math[_0x4779a4(0x326)](_0x5f165a),_0x39a2e5=_0x420796-_0x1c343f,_0x550a2b=_0x46811c-_0x243ead;_0x420796=_0x1c343f+(_0x39a2e5*_0x539c3c-_0x550a2b*_0xaf0be9),_0x46811c=_0x243ead+(_0x39a2e5*_0xaf0be9+_0x550a2b*_0x539c3c);}let _0x129302={'x':_0x420796,'y':_0x46811c,'adjName':_0x182c82[_0x4779a4(0x2f9)]};this['_addControl'](_0x5a5b7e,_0x129302,_0x129302['adjName'],_0x975a22,_0x500f8c,this[_0x4779a4(0x49a)],this[_0x4779a4(0x289)]);}}[_0x439e5d(0x314)](_0x2b897e,_0x1d5eb8,_0x27347f,_0x48afbe,_0xaf2af7,_0x4bce94,_0x2d23ee){const _0x496d60=_0x439e5d;if(!this[_0x496d60(0x42a)])return;let _0x5d1de2=_0x496d60(0x2bb)+this[_0x496d60(0x42a)]+'-'+_0x27347f,_0x416256=_0x2b897e['getObjectIncludeInGroup'](_0x5d1de2);if(_0x416256){_0x416256[_0x496d60(0x312)]({'left':_0x1d5eb8['x']+_0x48afbe-_0x42c76f[_0x496d60(0x1de)][_0x496d60(0x24c)],'top':_0x1d5eb8['y']+_0xaf2af7-_0x42c76f[_0x496d60(0x1de)]['adjHandleSize']});return;}let _0x4a044e=new _0x309015(_0x5d1de2,{'left':_0x1d5eb8['x']+_0x48afbe-_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)],'top':_0x1d5eb8['y']+_0xaf2af7-_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)],'adjName':_0x27347f,'shapeId':this['_activeImageId'],'unitId':_0x4bce94,'subUnitId':_0x2d23ee,'width':_0x42c76f['ShapeDefaultConfig'][_0x496d60(0x24c)]+0x8,'height':_0x42c76f[_0x496d60(0x1de)][_0x496d60(0x24c)]+0x8,'zIndex':_0x5e3080['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this['_shapes'][_0x496d60(0x1d6)](_0x4a044e),this[_0x496d60(0x55a)](_0x4a044e,_0x2b897e,_0x27347f),_0x2b897e[_0x496d60(0x34e)](_0x4a044e,_0x5e3080[_0x496d60(0x52a)]+0x1);}[_0x439e5d(0x1bd)](){const _0x11a53d=_0x439e5d;this[_0x11a53d(0x3a6)][_0x11a53d(0x298)]!==0x0&&(this['_shapes']['forEach'](_0x12389a=>_0x12389a[_0x11a53d(0x27e)]()),this[_0x11a53d(0x3a6)]=[]);}[_0x439e5d(0x4ed)](_0x2314a6,_0x39e419){const _0x5891f2=_0x439e5d;var _0x75f1f6;let _0x345c16={'x':0x0,'y':0x0},_0x40815d=this[_0x5891f2(0x35d)][_0x5891f2(0x40f)](_0x2314a6);if(!_0x40815d||!_0x40815d['with'](_0x5b8007[_0x5891f2(0x2e8)])[_0x5891f2(0x277)](_0x39e419))return _0x345c16;let _0x4e8f3a=_0x40815d['with'](_0x5b8007[_0x5891f2(0x213)]),_0xf82b28=_0x4e8f3a==null?void 0x0:_0x4e8f3a[_0x5891f2(0x2c2)]();if(!_0xf82b28)return _0x345c16;let _0x1d7c55=(_0x75f1f6=this[_0x5891f2(0x54b)][_0x5891f2(0x3ff)](_0x2314a6))==null?void 0x0:_0x75f1f6['getSheetBySheetId'](_0x39e419);if(!_0x1d7c55)return _0x345c16;let _0x42ca64=(0x0,_0x5b8007[_0x5891f2(0x330)])(_0xf82b28[_0x5891f2(0x467)],_0xf82b28['sheetViewStartColumn'],_0x40815d[_0x5891f2(0x56f)],_0x1d7c55);return _0x42ca64?{'x':_0x42ca64[_0x5891f2(0x4d2)],'y':_0x42ca64[_0x5891f2(0x46b)]}:_0x345c16;}['_getZoomRatio'](_0x2aaf88,_0x5959e3){const _0x24a3d6=_0x439e5d;var _0x229094;let _0x3dabb0=(_0x229094=this[_0x24a3d6(0x54b)][_0x24a3d6(0x3ff)](_0x2aaf88))==null?void 0x0:_0x229094['getSheetBySheetId'](_0x5959e3);return(_0x3dabb0==null?void 0x0:_0x3dabb0[_0x24a3d6(0x597)]())??0x1;}['_attachAdjustEvent'](_0x12ee38,_0x2bbcba,_0x136f3b){const _0x5c5c08=_0x439e5d;this['disposeWithMe']((0x0,_0x4fcc67[_0x5c5c08(0x4f3)])(_0x12ee38[_0x5c5c08(0x308)][_0x5c5c08(0x320)]((_0x493239,_0x517608)=>{const _0x206476=_0x5c5c08;var _0x373f67,_0x2c2fdd,_0x5b22df;let {unitId:_0x4155dc,subUnitId:_0x2ae8fa,drawingId:_0x307acd}=_0x12ee38[_0x206476(0x5af)](),_0x340db5=this[_0x206476(0x2b3)](_0x4155dc,_0x2ae8fa,_0x307acd);if(!(_0x340db5!=null&&_0x340db5['transform']))return;let {left:_0x3b4713,top:_0x38be69,width:_0x56a060,height:_0x540e4d}=_0x340db5[_0x206476(0x3a8)];this[_0x206476(0x250)]=_0x3b4713||0x0,this['_baseTop']=_0x38be69||0x0,this[_0x206476(0x4b9)]=_0x56a060||0x0,this[_0x206476(0x43d)]=_0x540e4d||0x0;let _0x167ed3=!!((_0x373f67=_0x340db5[_0x206476(0x3a8)])!=null&&_0x373f67[_0x206476(0x365)]),_0x470f2c=!!((_0x2c2fdd=_0x340db5[_0x206476(0x3a8)])!=null&&_0x2c2fdd['flipY']),_0xa003e1=((_0x5b22df=_0x340db5[_0x206476(0x3a8)])==null?void 0x0:_0x5b22df[_0x206476(0x2cd)])||0x0,_0x4dcf3c=this[_0x206476(0x51b)](_0x4155dc,_0x2ae8fa,_0x307acd);if(!_0x4dcf3c)return;let _0x5d7e3f=this['_getOrCreateShapeModel'](_0x4dcf3c['prstGeom'],this[_0x206476(0x4b9)],this['_baseHeight'],_0x4dcf3c[_0x206476(0x518)]);if(!_0x5d7e3f||(this[_0x206476(0x2db)]=_0x5d7e3f,this[_0x206476(0x1d4)]=_0x5d7e3f['getAdjustInfoByName'](_0x136f3b),!this[_0x206476(0x1d4)]))return;this['_isStartAdjusting']=!0x0,_0x2bbcba[_0x206476(0x1d0)]();let _0x2dab25=_0x4dcf3c['prstGeom'];this[_0x206476(0x429)]=_0x2bbcba[_0x206476(0x4be)]['subscribeEvent']((_0x588c8d,_0x44a6f6)=>{const _0x438130=_0x206476;if(!this[_0x438130(0x235)])return;let {offsetX:_0x462a8b,offsetY:_0x5bfee7}=_0x588c8d,_0x5b073e=this[_0x438130(0x1d4)];if(!this[_0x438130(0x2db)]||!_0x5b073e)return;_0x2bbcba[_0x438130(0x1d0)](),_0x2bbcba['setCursor'](_0x5e3080[_0x438130(0x55e)][_0x438130(0x1b1)]);let _0x33bd8b={'left':0x0,'top':0x0,'width':this[_0x438130(0x4b9)],'height':this[_0x438130(0x43d)]},_0x5a8003=this[_0x438130(0x4ed)](_0x4155dc,_0x2ae8fa),_0x98727a=this[_0x438130(0x3d9)](_0x4155dc,_0x2ae8fa),_0x2c41ed=_0x462a8b/_0x98727a+_0x5a8003['x']-this[_0x438130(0x250)],_0x13f99f=_0x5bfee7/_0x98727a+_0x5a8003['y']-this[_0x438130(0x262)];if(_0xa003e1!==0x0){let _0x549eed=this[_0x438130(0x4b9)]/0x2,_0x128114=this['_baseHeight']/0x2,_0x534705=_0xa003e1*Math['PI']/0xb4,_0x37fa06=Math[_0x438130(0x4e9)](_0x534705),_0x1c06f5=Math[_0x438130(0x326)](_0x534705),_0x5d461b=_0x2c41ed-_0x549eed,_0x579adc=_0x13f99f-_0x128114;_0x2c41ed=_0x549eed+(_0x5d461b*_0x37fa06+_0x579adc*_0x1c06f5),_0x13f99f=_0x128114+(-_0x5d461b*_0x1c06f5+_0x579adc*_0x37fa06);}_0x167ed3&&(_0x2c41ed=this[_0x438130(0x4b9)]-_0x2c41ed),_0x470f2c&&(_0x13f99f=this[_0x438130(0x43d)]-_0x13f99f);let _0x41f2ff=this[_0x438130(0x2db)]['calcAdjValues'](_0x33bd8b,{'x':_0x2c41ed,'y':_0x13f99f},_0x5b073e,_0x167ed3,_0x470f2c);if(Object[_0x438130(0x4f5)](_0x41f2ff)[_0x438130(0x298)]!==0x0){for(let [_0x3cd20a,_0x340dc8]of Object[_0x438130(0x51f)](_0x41f2ff))this[_0x438130(0x2db)][_0x438130(0x445)](_0x3cd20a,_0x340dc8);this['_activeShapeModel'][_0x438130(0x580)]({'width':this['_baseWidth'],'height':this[_0x438130(0x43d)]}),this['_updateImageAdjValues'](_0x4155dc,_0x2ae8fa,_0x307acd,_0x41f2ff),this[_0x438130(0x271)]=this[_0x438130(0x2db)]['getDrawingPoints'](),this[_0x438130(0x34a)](),_0x44a6f6[_0x438130(0x514)]();}}),this[_0x206476(0x35c)]=_0x2bbcba[_0x206476(0x454)][_0x206476(0x320)]((_0x4953b4,_0x569b92)=>{const _0x1b433b=_0x206476;if(this[_0x1b433b(0x429)]['unsubscribe'](),this[_0x1b433b(0x35c)][_0x1b433b(0x2e3)](),_0x2bbcba[_0x1b433b(0x398)](),this[_0x1b433b(0x2db)]){let _0x1d40d7=this['_activeShapeModel'][_0x1b433b(0x208)](),_0x165f34={};for(let _0x581c52 of _0x1d40d7){let _0x56ab50=this[_0x1b433b(0x2db)][_0x1b433b(0x48e)](_0x581c52);_0x56ab50!==void 0x0&&(_0x165f34[_0x581c52]=_0x56ab50);}this[_0x1b433b(0x44d)][_0x1b433b(0x423)](_0x4155dc,_0x2ae8fa,_0x307acd,_0x2dab25,_0x165f34);}this[_0x1b433b(0x1d4)]=void 0x0,this[_0x1b433b(0x2db)]=void 0x0,this[_0x1b433b(0x235)]=!0x1,_0x569b92['stopPropagation'](),_0x2bbcba[_0x1b433b(0x4a7)]();}),_0x517608['stopPropagation']();})));}[_0x439e5d(0x2a3)](_0x5a86ff,_0x5cd9c3,_0x56d233,_0x520e1a){const _0x1899bf=_0x439e5d;let _0x48b2c2=this[_0x1899bf(0x35d)]['getRenderUnitById'](_0x5a86ff);if(!_0x48b2c2)return;let {scene:_0x1322f7}=_0x48b2c2,_0x2c8955=(0x0,_0x89eb48[_0x1899bf(0x236)])({'unitId':_0x5a86ff,'subUnitId':_0x5cd9c3,'drawingId':_0x56d233}),_0x4dc38e=_0x1322f7[_0x1899bf(0x23f)](_0x2c8955);if(_0x4dc38e instanceof _0x5e3080[_0x1899bf(0x411)]){let _0x346827=_0x4dc38e[_0x1899bf(0x1d8)]??{};_0x4dc38e[_0x1899bf(0x40b)]({..._0x346827,..._0x520e1a}),_0x4dc38e[_0x1899bf(0x415)](!0x0);}}['_registerMoveHandler'](){const _0x58a0b6=_0x439e5d;let _0x4d3273=this[_0x58a0b6(0x54b)][_0x58a0b6(0x2af)](_0x4fcc67[_0x58a0b6(0x578)][_0x58a0b6(0x28f)]);this[_0x58a0b6(0x575)](_0x4d3273[_0x58a0b6(0x48b)]((0x0,_0x5597c9['switchMap'])(_0xbca40e=>_0xbca40e?_0xbca40e[_0x58a0b6(0x399)][_0x58a0b6(0x48b)]((0x0,_0x5597c9['switchMap'])(_0x32715f=>{const _0x2a7b40=_0x58a0b6;if(!_0x32715f)return _0x5597c9['EMPTY'];let _0x5aec07=_0xbca40e[_0x2a7b40(0x54e)](),_0x41b1dd=this[_0x2a7b40(0x35d)][_0x2a7b40(0x40f)](_0x5aec07),_0x4ab48f=_0x41b1dd==null?void 0x0:_0x41b1dd[_0x2a7b40(0x56f)];return _0x4ab48f?(0x0,_0x5597c9['of'])(_0x4ab48f):_0x5597c9['EMPTY'];})):_0x5597c9[_0x58a0b6(0x528)]))['subscribe'](_0x5d9e52=>{const _0x3a9e3b=_0x58a0b6;let _0x4f69cc=_0x5d9e52[_0x3a9e3b(0x4e6)]();this[_0x3a9e3b(0x575)](_0x5d9e52[_0x3a9e3b(0x4be)]['subscribeEvent'](()=>{const _0xcf256d=_0x3a9e3b;this[_0xcf256d(0x25b)]&&this[_0xcf256d(0x1bd)]();})),this[_0x3a9e3b(0x575)](_0x4f69cc[_0x3a9e3b(0x290)]['subscribe'](_0x3bce48=>{const _0x3cf8f1=_0x3a9e3b;let {objects:_0x42b61d}=_0x3bce48;if(this['_createControls'](),_0x42b61d!==null&&_0x42b61d[_0x3cf8f1(0x535)]===0x1){let _0x353964=_0x42b61d[_0x3cf8f1(0x413)]()[_0x3cf8f1(0x4e3)]()[_0x3cf8f1(0x3f0)];_0x353964 instanceof _0x5e3080[_0x3cf8f1(0x411)]&&_0x353964[_0x3cf8f1(0x20e)]&&(this['_isImagePointerDown']=!0x0);}})),this[_0x3a9e3b(0x575)](_0x4f69cc['changing$']['subscribe'](()=>{const _0x5bec3b=_0x3a9e3b;this[_0x5bec3b(0x25b)]&&this[_0x5bec3b(0x1bd)]();})),this[_0x3a9e3b(0x575)](_0x5d9e52[_0x3a9e3b(0x454)]['subscribeEvent'](()=>{const _0x3562bb=_0x3a9e3b;this['_isImagePointerDown']&&(this[_0x3562bb(0x25b)]=!0x1,this[_0x3562bb(0x34a)]());})),this[_0x3a9e3b(0x575)](_0x4f69cc['changeEnd$'][_0x3a9e3b(0x523)](()=>{const _0x3069ed=_0x3a9e3b;if(this['_unitId']&&this[_0x3069ed(0x289)]&&this[_0x3069ed(0x42a)]){let _0x4b0e63=this['_getImagePrstGeom'](this[_0x3069ed(0x49a)],this[_0x3069ed(0x289)],this['_activeImageId']);if(_0x4b0e63){var _0x53529e,_0x113af6;let _0x2a8b68=this[_0x3069ed(0x2b3)](this['_unitId'],this[_0x3069ed(0x289)],this['_activeImageId']),_0x3418e8=(_0x2a8b68==null||(_0x53529e=_0x2a8b68[_0x3069ed(0x3a8)])==null?void 0x0:_0x53529e[_0x3069ed(0x5a5)])||0x0,_0x511868=(_0x2a8b68==null||(_0x113af6=_0x2a8b68[_0x3069ed(0x3a8)])==null?void 0x0:_0x113af6[_0x3069ed(0x509)])||0x0,_0x83e69f=this[_0x3069ed(0x4fc)](_0x4b0e63[_0x3069ed(0x20e)],_0x3418e8,_0x511868,_0x4b0e63[_0x3069ed(0x518)]);_0x83e69f&&(this[_0x3069ed(0x271)]=_0x83e69f[_0x3069ed(0x246)](),this[_0x3069ed(0x1bd)](),this['_createControls'](!0x0));}}}));}));}[_0x439e5d(0x397)](){const _0x29af6b=_0x439e5d;this['disposeWithMe'](this['_drawingManagerService']['focus$'][_0x29af6b(0x523)](_0x4d56fb=>{const _0x12fead=_0x29af6b;if(_0x4d56fb[_0x12fead(0x298)]===0x1){let _0x186427=_0x4d56fb[0x0];if(_0x186427[_0x12fead(0x31a)]===_0x4fcc67[_0x12fead(0x204)][_0x12fead(0x556)]){let {unitId:_0x137753,subUnitId:_0x506912,drawingId:_0x4590a0}=_0x186427,_0x53c48c=this[_0x12fead(0x51b)](_0x137753,_0x506912,_0x4590a0);if(_0x53c48c){var _0x26a4dc,_0x1bd769;this[_0x12fead(0x42a)]=_0x4590a0,this['_unitId']=_0x137753,this[_0x12fead(0x289)]=_0x506912;let _0x498d87=this['_getImageDrawingInfo'](_0x137753,_0x506912,_0x4590a0),_0x224edd=(_0x498d87==null||(_0x26a4dc=_0x498d87[_0x12fead(0x3a8)])==null?void 0x0:_0x26a4dc[_0x12fead(0x5a5)])||0x0,_0x15128e=(_0x498d87==null||(_0x1bd769=_0x498d87[_0x12fead(0x3a8)])==null?void 0x0:_0x1bd769[_0x12fead(0x509)])||0x0,_0x3a7c78=this[_0x12fead(0x4fc)](_0x53c48c[_0x12fead(0x20e)],_0x224edd,_0x15128e,_0x53c48c[_0x12fead(0x518)]);_0x3a7c78&&(this[_0x12fead(0x271)]=_0x3a7c78[_0x12fead(0x246)]()),this[_0x12fead(0x1bd)](),this[_0x12fead(0x34a)](!0x0);}else this[_0x12fead(0x21f)]();}else this[_0x12fead(0x21f)]();}else this[_0x12fead(0x21f)]();})),this[_0x29af6b(0x575)](this['_drawingManagerService'][_0x29af6b(0x342)][_0x29af6b(0x523)](_0x59755a=>{const _0x539973=_0x29af6b;if(_0x59755a[_0x539973(0x298)]===0x1){let _0x14f7fc=_0x59755a[0x0],_0x2286a3=this[_0x539973(0x232)][_0x539973(0x269)](_0x14f7fc);(_0x2286a3==null?void 0x0:_0x2286a3['drawingType'])===_0x4fcc67[_0x539973(0x204)][_0x539973(0x556)]&&this['_activeImageId']===_0x14f7fc[_0x539973(0x457)]&&(this[_0x539973(0x1bd)](),this[_0x539973(0x34a)](!0x0));}})),this['disposeWithMe'](this['_drawingManagerService'][_0x29af6b(0x228)][_0x29af6b(0x523)](_0x8c1936=>{const _0x34f8b0=_0x29af6b;for(let _0x361ce0 of _0x8c1936)this[_0x34f8b0(0x42a)]===_0x361ce0[_0x34f8b0(0x457)]&&this['_resetState']();}));}[_0x439e5d(0x21f)](){const _0x464044=_0x439e5d;this['_activeImageId']=null,this['_unitId']=null,this['_subUnitId']=null,this[_0x464044(0x271)]=void 0x0,this['_clearControls']();}};_0x2aa3d8=_0x5b9725([_0x56348c(0x1,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x3,_0x4fcc67['IUniverInstanceService']),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x2a68d5))],_0x2aa3d8);function _0x557262({ref:_0x77de4,..._0x1e5c75}){const _0x44cff0=_0x439e5d;let {preserveStrokeWidth:_0x23c99f,icon:_0x3f2a25,id:_0x524a81,className:_0x57803e,extend:_0x5104e4,..._0x4d8597}=_0x1e5c75,_0xb8307b=(_0x44cff0(0x390)+_0x524a81+'\x20'+(_0x57803e||''))[_0x44cff0(0x2bf)](),_0x3a2b51='_'+(0x0,_0x9d5ee3['useId'])(),_0xd963b1=(0x0,_0x9d5ee3['useRef'])(null);return(0x0,_0x9d5ee3[_0x44cff0(0x594)])(_0x77de4,()=>_0xd963b1[_0x44cff0(0x256)]),(0x0,_0x9d5ee3['useLayoutEffect'])(()=>{const _0x2e82dd=_0x44cff0;if(_0x23c99f&&_0xd963b1[_0x2e82dd(0x256)]&&_0xd963b1[_0x2e82dd(0x256)][_0x2e82dd(0x3da)]===_0x3f2a25['tag'])return _0x57f7ae(_0xd963b1['current']);},[_0x23c99f,_0x3f2a25]),_0x670fb9(_0x3f2a25,''+_0x524a81,{'defIds':_0x3f2a25[_0x44cff0(0x544)],'idSuffix':_0x3a2b51},{'ref':_0xd963b1,'className':_0xb8307b,..._0x4d8597},_0x5104e4);}function _0x670fb9(_0xe83821,_0x1f1a53,_0x976b46,_0x54aa46,_0x462439){const _0x32ae35=_0x439e5d;return(0x0,_0x9d5ee3[_0x32ae35(0x444)])(_0xe83821['tag'],{'key':_0x1f1a53,..._0x133193(_0xe83821,_0x976b46,_0x462439),..._0x54aa46},(_0xd90e1a(_0xe83821,_0x976b46)[_0x32ae35(0x350)]||[])[_0x32ae35(0x1ff)]((_0x3e9f43,_0x32f4fc)=>_0x670fb9(_0x3e9f43,_0x1f1a53+'-'+_0xe83821[_0x32ae35(0x564)]+'-'+_0x32f4fc,_0x976b46,void 0x0,_0x462439)));}function _0x133193(_0x547560,_0x4f24fd,_0x2ec664){const _0x4d1dad=_0x439e5d;let _0x2d43df={..._0x547560[_0x4d1dad(0x2a9)]};_0x2ec664!=null&&_0x2ec664[_0x4d1dad(0x545)]&&_0x2d43df[_0x4d1dad(0x46e)]===_0x4d1dad(0x545)&&(_0x2d43df[_0x4d1dad(0x46e)]=_0x2ec664[_0x4d1dad(0x545)]),_0x2ec664!=null&&_0x2ec664[_0x4d1dad(0x545)]&&_0x2d43df[_0x4d1dad(0x297)]===_0x4d1dad(0x545)&&(_0x2d43df['stroke']=_0x2ec664[_0x4d1dad(0x545)]),_0x547560[_0x4d1dad(0x564)]===_0x4d1dad(0x299)&&_0x2d43df['id']&&(_0x2d43df['id']+=_0x4f24fd[_0x4d1dad(0x4ae)]),Object[_0x4d1dad(0x51f)](_0x2d43df)[_0x4d1dad(0x386)](([_0x44532d,_0x8abd6a])=>{const _0x383c99=_0x4d1dad;_0x44532d===_0x383c99(0x299)&&typeof _0x8abd6a=='string'&&(_0x2d43df[_0x44532d]=_0x8abd6a[_0x383c99(0x590)](/url\(#(.*)\)/,_0x383c99(0x358)+_0x4f24fd[_0x383c99(0x4ae)]+')'));});let {defIds:_0x32b23f}=_0x4f24fd;return!_0x32b23f||_0x32b23f[_0x4d1dad(0x298)]===0x0||(_0x547560[_0x4d1dad(0x564)]===_0x4d1dad(0x34b)&&_0x2d43df[_0x4d1dad(0x596)]&&(_0x2d43df[_0x4d1dad(0x596)]+=_0x4f24fd[_0x4d1dad(0x4ae)]),Object[_0x4d1dad(0x51f)](_0x2d43df)[_0x4d1dad(0x386)](([_0x34fb09,_0x3036f8])=>{const _0xd70574=_0x4d1dad;typeof _0x3036f8==_0xd70574(0x267)&&(_0x2d43df[_0x34fb09]=_0x3036f8['replace'](/url\(#(.*)\)/,_0xd70574(0x358)+_0x4f24fd['idSuffix']+')'));})),_0x2d43df;}function _0xd90e1a(_0x37a5ec,_0x1584b2){const _0x47988a=_0x439e5d;var _0x386e05;let {defIds:_0x2c7cef}=_0x1584b2;return!_0x2c7cef||_0x2c7cef['length']===0x0?_0x37a5ec:_0x37a5ec['tag']==='defs'&&(_0x386e05=_0x37a5ec['children'])!=null&&_0x386e05[_0x47988a(0x298)]?{..._0x37a5ec,'children':_0x37a5ec[_0x47988a(0x350)][_0x47988a(0x1ff)](_0x1e358c=>typeof _0x1e358c[_0x47988a(0x2a9)]['id']==_0x47988a(0x267)&&_0x2c7cef&&_0x2c7cef[_0x47988a(0x3f9)](_0x1e358c['attrs']['id'])?{..._0x1e358c,'attrs':{..._0x1e358c[_0x47988a(0x2a9)],'id':_0x1e358c[_0x47988a(0x2a9)]['id']+_0x1584b2[_0x47988a(0x4ae)]}}:_0x1e358c)}:_0x37a5ec;}function _0x57f7ae(_0x4e0dbd){const _0x28a4be=_0x439e5d;let _0xff5329=_0x4e0dbd[_0x28a4be(0x560)][_0x28a4be(0x4ac)],_0x26ba2e=Math[_0x28a4be(0x4de)](_0xff5329[_0x28a4be(0x5a5)],_0xff5329['height']);if(!Number['isFinite'](_0x26ba2e)||_0x26ba2e<=0x0||_0xff5329[_0x28a4be(0x5a5)]<=0x0||_0xff5329[_0x28a4be(0x509)]<=0x0)return()=>void 0x0;let _0x4f1257=0x10/_0x26ba2e,_0x274c7b=Array['from'](_0x4e0dbd['querySelectorAll'](_0x28a4be(0x2ac)))[_0x28a4be(0x3b3)](_0x207bf7=>{const _0x3b5cdc=_0x28a4be;let _0x4555bf=getComputedStyle(_0x207bf7),_0x49ae19=Number[_0x3b5cdc(0x4dd)](_0x4555bf[_0x3b5cdc(0x5a4)]);return _0x4555bf[_0x3b5cdc(0x297)]===_0x3b5cdc(0x3d0)||Number[_0x3b5cdc(0x4dd)](_0x4555bf[_0x3b5cdc(0x306)])===0x0||_0x4555bf[_0x3b5cdc(0x531)]===_0x3b5cdc(0x30a)||!Number[_0x3b5cdc(0x468)](_0x49ae19)||_0x49ae19<=0x0?[]:[{'element':_0x207bf7,'hadStyleAttribute':_0x207bf7['hasAttribute']('style'),'originalStrokeWidth':_0x49ae19,'strokeWidth':_0x2de728(_0x207bf7[_0x3b5cdc(0x376)],_0x3b5cdc(0x4d8))}];})['map'](_0x2f7454=>({'appliedStrokeWidth':null,'element':_0x2f7454[_0x28a4be(0x4ba)],'hadStyleAttribute':_0x2f7454[_0x28a4be(0x529)],'isReleased':!0x1,'originalStrokeWidth':_0x2f7454[_0x28a4be(0x322)],'strokeWidth':_0x2f7454[_0x28a4be(0x5a4)]}));if(_0x274c7b['length']===0x0)return()=>void 0x0;let _0x219699=(_0x3b673a,_0x1559c3)=>{const _0xc116cd=_0x28a4be;if(_0xff5329[_0xc116cd(0x5a5)]<=0x0||_0xff5329[_0xc116cd(0x509)]<=0x0||_0x3b673a<=0x0||_0x1559c3<=0x0)return;let _0x9ee65e=Math['min'](_0x3b673a/_0xff5329['width'],_0x1559c3/_0xff5329[_0xc116cd(0x509)]);!Number[_0xc116cd(0x468)](_0x9ee65e)||_0x9ee65e<=0x0||_0x274c7b[_0xc116cd(0x386)](_0x42e96c=>{const _0x4d8eeb=_0xc116cd;if(_0x42e96c[_0x4d8eeb(0x4bf)])return;if(_0x42e96c[_0x4d8eeb(0x32a)]!==null&&(_0x42e96c[_0x4d8eeb(0x4ba)][_0x4d8eeb(0x376)][_0x4d8eeb(0x3ae)](_0x4d8eeb(0x4d8))!==_0x42e96c[_0x4d8eeb(0x32a)]||_0x42e96c['element'][_0x4d8eeb(0x376)][_0x4d8eeb(0x1c2)](_0x4d8eeb(0x4d8))!==_0x42e96c[_0x4d8eeb(0x5a4)][_0x4d8eeb(0x496)])){_0x42e96c[_0x4d8eeb(0x32a)]=null,_0x42e96c[_0x4d8eeb(0x4bf)]=!0x0;return;}let _0x2192b9=_0x42e96c['originalStrokeWidth']*_0x4f1257/_0x9ee65e,_0x57772f=Number(_0x2192b9[_0x4d8eeb(0x543)](0xc))+'px';_0x42e96c[_0x4d8eeb(0x4ba)][_0x4d8eeb(0x376)]['setProperty'](_0x4d8eeb(0x4d8),_0x57772f,_0x42e96c['strokeWidth'][_0x4d8eeb(0x496)]),_0x42e96c[_0x4d8eeb(0x32a)]=_0x57772f;});},_0x555c47=_0x4e0dbd[_0x28a4be(0x45c)]();_0x219699(_0x555c47['width'],_0x555c47[_0x28a4be(0x509)]);let _0x4c7897=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x35647d=>{const _0x3a344a=_0x28a4be;if(_0x35647d['some'](_0x17b171=>_0x17b171[_0x3a344a(0x4a6)]===_0x4e0dbd)){let _0x55f576=_0x4e0dbd[_0x3a344a(0x45c)]();_0x219699(_0x55f576[_0x3a344a(0x5a5)],_0x55f576[_0x3a344a(0x509)]);}});return _0x4c7897==null||_0x4c7897['observe'](_0x4e0dbd),()=>{const _0x3954f4=_0x28a4be;_0x4c7897==null||_0x4c7897[_0x3954f4(0x200)](),_0x274c7b['forEach'](_0x1f0da6=>{const _0x3562ab=_0x3954f4;_0x1f0da6[_0x3562ab(0x32a)]!==null&&(_0x446eb6(_0x1f0da6['element']['style'],_0x3562ab(0x4d8),_0x1f0da6['appliedStrokeWidth'],_0x1f0da6[_0x3562ab(0x5a4)][_0x3562ab(0x496)],_0x1f0da6[_0x3562ab(0x5a4)]),!_0x1f0da6['hadStyleAttribute']&&_0x1f0da6[_0x3562ab(0x4ba)][_0x3562ab(0x376)][_0x3562ab(0x298)]===0x0&&_0x1f0da6[_0x3562ab(0x4ba)]['removeAttribute'](_0x3562ab(0x376)));});};}function _0x2de728(_0x231b01,_0x538434){const _0x2879fe=_0x439e5d;return{'priority':_0x231b01[_0x2879fe(0x1c2)](_0x538434),'value':_0x231b01[_0x2879fe(0x3ae)](_0x538434)};}function _0x446eb6(_0xecf74e,_0x275a90,_0x1328b0,_0x23fe0a,_0x98c8fb){const _0x51743f=_0x439e5d;_0xecf74e[_0x51743f(0x3ae)](_0x275a90)===_0x1328b0&&_0xecf74e['getPropertyPriority'](_0x275a90)===_0x23fe0a&&(_0x98c8fb['value']?_0xecf74e[_0x51743f(0x28e)](_0x275a90,_0x98c8fb[_0x51743f(0x3f0)],_0x98c8fb['priority']):_0xecf74e['removeProperty'](_0x275a90));}_0x557262[_0x439e5d(0x4b7)]=_0x439e5d(0x4ec);let _0x26edaa={'tag':_0x439e5d(0x332),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x574),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x439e5d(0x217),'fillRule':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':'currentColor','d':_0x439e5d(0x34c)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x29d)}}]},_0x2a1fa2=(0x0,_0x9d5ee3['forwardRef'])(function(_0x1fce7f,_0x280af1){const _0x1f6e86=_0x439e5d;return(0x0,_0x9d5ee3['createElement'])(_0x557262,Object[_0x1f6e86(0x32b)]({},_0x1fce7f,{'id':_0x1f6e86(0x2b7),'ref':_0x280af1,'icon':_0x26edaa}));});_0x2a1fa2['displayName']=_0x439e5d(0x3b2);let _0x4bad3a={'tag':_0x439e5d(0x332),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x439e5d(0x420),'width':'1em','height':'1em'},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x49d),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x452),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M8\x202.2V3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x368),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x2ea),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x264),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}}]},_0x549556=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x53ac63,_0x29b8ec){const _0x63ce3a=_0x439e5d;return(0x0,_0x9d5ee3[_0x63ce3a(0x444)])(_0x557262,Object[_0x63ce3a(0x32b)]({},_0x53ac63,{'id':_0x63ce3a(0x366),'ref':_0x29b8ec,'icon':_0x4bad3a}));});_0x549556[_0x439e5d(0x4b7)]=_0x439e5d(0x567);let _0x4d1c59={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':'0\x200\x2016\x2016','width':_0x439e5d(0x2de),'height':'1em'},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x442),'strokeLinecap':'round','strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':'M2.2\x208H3.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x2bc),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x56a),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x495),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}}]},_0x2c9f6c=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x15aa3b,_0x18d035){const _0x251ff8=_0x439e5d;return(0x0,_0x9d5ee3[_0x251ff8(0x444)])(_0x557262,Object[_0x251ff8(0x32b)]({},_0x15aa3b,{'id':_0x251ff8(0x33e),'ref':_0x18d035,'icon':_0x4d1c59}));});_0x2c9f6c[_0x439e5d(0x4b7)]=_0x439e5d(0x3c9);let _0x54f2c7={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':'path','attrs':{'fill':_0x439e5d(0x48a),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':'evenodd','clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x436)}}]},_0x49a981=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x404ec0,_0xa08dfa){const _0x46d95c=_0x439e5d;return(0x0,_0x9d5ee3['createElement'])(_0x557262,Object[_0x46d95c(0x32b)]({},_0x404ec0,{'id':_0x46d95c(0x29a),'ref':_0xa08dfa,'icon':_0x54f2c7}));});_0x49a981['displayName']=_0x439e5d(0x3e0);let _0x45161a={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x1db),'fillRule':'evenodd','clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x17dd09=(0x0,_0x9d5ee3['forwardRef'])(function(_0x44303b,_0x5f28e4){const _0x238aae=_0x439e5d;return(0x0,_0x9d5ee3[_0x238aae(0x444)])(_0x557262,Object[_0x238aae(0x32b)]({},_0x44303b,{'id':_0x238aae(0x3a4),'ref':_0x5f28e4,'icon':_0x45161a}));});_0x17dd09['displayName']=_0x439e5d(0x5a0);let _0x4df6a3={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x4d3),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x3a0),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.3}}]},_0x22dce5=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x4f56cb,_0x4a5634){const _0x222d02=_0x439e5d;return(0x0,_0x9d5ee3[_0x222d02(0x444)])(_0x557262,Object[_0x222d02(0x32b)]({},_0x4f56cb,{'id':_0x222d02(0x541),'ref':_0x4a5634,'icon':_0x4df6a3}));});_0x22dce5[_0x439e5d(0x4b7)]=_0x439e5d(0x557);let _0x2ec1f8={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x420),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x294),'strokeLinecap':_0x439e5d(0x37c),'strokeLinejoin':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x4aa),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':'currentColor','d':_0x439e5d(0x400),'strokeLinecap':_0x439e5d(0x37c),'strokeWidth':1.2}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x50c),'strokeLinejoin':'round'}},{'tag':_0x439e5d(0x49f),'attrs':{'stroke':_0x439e5d(0x48a),'d':_0x439e5d(0x2e9)}}]},_0x2e5e30=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x504d98,_0x1f30b1){const _0x1c19d4=_0x439e5d;return(0x0,_0x9d5ee3[_0x1c19d4(0x444)])(_0x557262,Object[_0x1c19d4(0x32b)]({},_0x504d98,{'id':_0x1c19d4(0x4c0),'ref':_0x1f30b1,'icon':_0x2ec1f8}));});_0x2e5e30[_0x439e5d(0x4b7)]=_0x439e5d(0x432);let _0x780eb6={'tag':_0x439e5d(0x332),'attrs':{'xmlns':_0x439e5d(0x33a),'fill':_0x439e5d(0x3d0),'viewBox':_0x439e5d(0x574),'width':_0x439e5d(0x2de),'height':_0x439e5d(0x2de)},'children':[{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'d':_0x439e5d(0x41d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':_0x439e5d(0x48a),'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':_0x439e5d(0x30d),'clipRule':_0x439e5d(0x30d)}},{'tag':_0x439e5d(0x49f),'attrs':{'fill':'currentColor','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':_0x439e5d(0x30d),'clipRule':'evenodd'}}]},_0x2c1706=(0x0,_0x9d5ee3[_0x439e5d(0x253)])(function(_0x16bbb9,_0x2c0583){const _0x4414b5=_0x439e5d;return(0x0,_0x9d5ee3[_0x4414b5(0x444)])(_0x557262,Object['assign']({},_0x16bbb9,{'id':'topmost-icon','ref':_0x2c0583,'icon':_0x780eb6}));});_0x2c1706['displayName']='TopmostIcon';function _0xfd5748(_0x1dd399){return _0x1dd399['trim']()||void 0x0;}function _0x379802(_0xd87084,_0x17e0e9,_0x198080){const _0x5edd07=_0x439e5d;var _0x163494;return((_0x163494=_0xd87084[_0x5edd07(0x28d)])==null?void 0x0:_0x163494['trim']())||_0x198080['t'](_0x5edd07(0x1e7)+(0x0,_0x1a617a[_0x5edd07(0x5a2)])(_0xd87084['drawingType']))+'\x20'+(_0x17e0e9+0x1);}function _0x152447({PanelComponent:_0x49d5fa=_0x108bdb[_0x439e5d(0x44c)]}){const _0xc7969=_0x439e5d;var _0x9a5041;let _0x148db3=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0xc7969(0x4fb)]),_0x162ecf={'title':_0x148db3['t'](_0xc7969(0x3a9)),'empty':_0x148db3['t'](_0xc7969(0x2c8)),'showAll':_0x148db3['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x148db3['t'](_0xc7969(0x3ac)),'lockAll':_0x148db3['t'](_0xc7969(0x3b8)),'unlockAll':_0x148db3['t'](_0xc7969(0x31e)),'moveForward':_0x148db3['t'](_0xc7969(0x310)),'moveBackward':_0x148db3['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x148db3['t']('drawing-ui.objectListPanel.close'),'show':_0x148db3['t'](_0xc7969(0x2e0)),'hide':_0x148db3['t']('drawing-ui.objectListPanel.hide'),'lock':_0x148db3['t'](_0xc7969(0x56d)),'unlock':_0x148db3['t'](_0xc7969(0x1b4)),'lockHint':_0x148db3['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x148db3['t'](_0xc7969(0x349)),'name':_0x148db3['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x148db3['t'](_0xc7969(0x584)),'description':_0x148db3['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x148db3['t'](_0xc7969(0x5a9)),'details':_0x148db3['t'](_0xc7969(0x46a)),'noSelection':_0x148db3['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x148db3['t'](_0xc7969(0x348)),'expand':_0x148db3['t'](_0xc7969(0x36c)),'collapse':_0x148db3['t'](_0xc7969(0x588)),'dragToReorder':_0x148db3['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x148db3['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x148db3['t'](_0xc7969(0x32e)),'filterHidden':_0x148db3['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x148db3['t'](_0xc7969(0x214)),'sectionCanvas':_0x148db3['t'](_0xc7969(0x23e)),'sectionFloating':_0x148db3['t'](_0xc7969(0x521))},_0x48a167=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0xc7969(0x286)]),_0x392dc9=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x4fcc67[_0xc7969(0x3e3)]),_0x1da731=(0x0,_0x3412e6['useDependency'])(_0x51f92a[_0xc7969(0x475)]),_0xcf26a3=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x89eb48[_0xc7969(0x211)]),_0x35ee0d=(0x0,_0x3412e6[_0xc7969(0x4a1)])(_0x5e3080[_0xc7969(0x265)]),[,_0x2272c]=(0x0,_0x9d5ee3[_0xc7969(0x1b9)])(_0x4f0104=>_0x4f0104+0x1,0x0),_0x35670e=_0x392dc9[_0xc7969(0x296)](_0x4fcc67[_0xc7969(0x578)]['UNIVER_SHEET']),_0x4c2533=(_0x35670e==null?void 0x0:_0x35670e[_0xc7969(0x54e)]())??'',_0x5c9a74=(_0x35670e==null||(_0x9a5041=_0x35670e[_0xc7969(0x2c9)]())==null?void 0x0:_0x9a5041[_0xc7969(0x248)]())??'',_0x245df3=(0x0,_0x3412e6[_0xc7969(0x3d6)])(()=>_0xcf26a3[_0xc7969(0x328)],_0xcf26a3[_0xc7969(0x52f)](),!0x1,[_0xcf26a3]);(0x0,_0x9d5ee3[_0xc7969(0x396)])(()=>{const _0x13b999=_0xc7969;let _0x5968d6=_0x48a167[_0x13b999(0x4a4)](()=>_0x2272c());return()=>_0x5968d6[_0x13b999(0x27e)]();},[_0x48a167]);let _0x6ec962=_0x4c2533&&_0x5c9a74?_0x1da731[_0xc7969(0x537)](_0x4c2533,_0x5c9a74):{},_0x1be5e4=(_0x4c2533&&_0x5c9a74?_0x1da731['getDrawingOrder'](_0x4c2533,_0x5c9a74):[])[_0xc7969(0x1ff)](_0x30b7e4=>_0x6ec962[_0x30b7e4])[_0xc7969(0x4a3)](_0x51ee33=>!!_0x51ee33)[_0xc7969(0x1b2)](),_0x47e442=_0x1be5e4[_0xc7969(0x40d)]((_0x4719c1,_0x420f5c)=>(_0x4719c1[(0x0,_0x108bdb[_0xc7969(0x4e5)])(_0x420f5c['drawingType'])]+=0x1,_0x4719c1),{'canvas':0x0,'floating':0x0}),_0x3ce257={'canvas':0x0,'floating':0x0},_0x440862=_0x1be5e4[_0xc7969(0x1ff)]((_0x1c2389,_0x1e3a42)=>{const _0x4f7dd7=_0xc7969;let _0x314079=(0x0,_0x108bdb['getObjectListPanelSectionIdForDrawingType'])(_0x1c2389[_0x4f7dd7(0x31a)]),_0x424284=_0x314079===_0x108bdb['OBJECT_LIST_FLOATING_SECTION_ID'],_0xcb9ddf=_0x3ce257[_0x314079]++;return{'id':_0x1c2389['drawingId'],'name':_0x379802(_0x1c2389,_0x1e3a42,_0x148db3),'description':_0x1c2389['description'],'visible':_0x1c2389[_0x4f7dd7(0x465)]!==!0x0,'selectable':_0x1c2389[_0x4f7dd7(0x1dc)]!==!0x1,'sectionId':_0x314079,'sectionTitle':_0x424284?_0x162ecf['sectionFloating']:_0x162ecf[_0x4f7dd7(0x31c)],'capabilities':_0x424284?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x424284&&_0xcb9ddf>0x0,'canMoveBackward':!_0x424284&&_0xcb9ddf<_0x47e442[_0x4f7dd7(0x2d0)]-0x1,'canReorder':!_0x424284};}),_0x473e95=(0x0,_0x9d5ee3[_0xc7969(0x59b)])(()=>(_0x245df3??[])[_0xc7969(0x4a3)](_0x4d09f6=>_0x4d09f6['unitId']===_0x4c2533&&_0x4d09f6[_0xc7969(0x555)]===_0x5c9a74)[_0xc7969(0x1ff)](_0x4172a1=>_0x4172a1[_0xc7969(0x457)]),[_0x245df3,_0x5c9a74,_0x4c2533]),_0x3a362f=_0x473e95[_0x473e95[_0xc7969(0x298)]-0x1]??null,_0x1dd4d5=_0x50a395=>_0x1da731[_0xc7969(0x269)]({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x50a395})??null,_0x38065b=async _0x2a2b10=>{const _0x55b2f=_0xc7969;_0x4c2533&&_0x2a2b10[_0x55b2f(0x298)]&&await _0x48a167[_0x55b2f(0x4b3)](_0x51f92a[_0x55b2f(0x40c)]['id'],{'unitId':_0x4c2533,'drawings':_0x2a2b10});},_0x3ad891=async(_0x2bf0ce,_0x3b3e0b)=>{_0x1dd4d5(_0x2bf0ce)&&await _0x38065b([{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x2bf0ce,..._0x3b3e0b}]);},_0x3b7839=(_0x1851cb,_0x59a677)=>{const _0x16cebd=_0xc7969;if(!_0x4c2533||!_0x5c9a74)return;let _0x5ab962=_0x59a677?_0x473e95[_0x16cebd(0x3f9)](_0x1851cb)?_0x473e95[_0x16cebd(0x4a3)](_0x10060e=>_0x10060e!==_0x1851cb):[..._0x473e95,_0x1851cb]:[_0x1851cb];_0x48a167[_0x16cebd(0x456)](_0x89eb48[_0x16cebd(0x4bc)]['id'],_0x5ab962[_0x16cebd(0x1ff)](_0x803636=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x803636})));let _0x28317c=_0x5ab962[_0x5ab962['length']-0x1];_0x28317c?(0x0,_0x1a617a[_0x16cebd(0x418)])(_0x35ee0d,{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x28317c}):(0x0,_0x1a617a[_0x16cebd(0x54c)])(_0x35ee0d,_0x4c2533);},_0x1ce3e7=async(_0x218dd3,_0x1547a5)=>{const _0x4a3b8=_0xc7969;await _0x38065b(_0x218dd3[_0x4a3b8(0x1ff)](_0x5af479=>_0x1dd4d5(_0x5af479))[_0x4a3b8(0x4a3)](_0x58c227=>!!_0x58c227)[_0x4a3b8(0x4a3)](_0x3f31ec=>_0x3f31ec[_0x4a3b8(0x465)]!==!0x0!==_0x1547a5)[_0x4a3b8(0x1ff)](_0x4df211=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x4df211['drawingId'],'hidden':!_0x1547a5})));},_0x4d51d8=async(_0x45e97f,_0x56e77c)=>{const _0x2dd694=_0xc7969;await _0x38065b(_0x45e97f[_0x2dd694(0x1ff)](_0x47ab02=>_0x1dd4d5(_0x47ab02))[_0x2dd694(0x4a3)](_0x5dd6cc=>!!_0x5dd6cc)[_0x2dd694(0x4a3)](_0x339cbe=>_0x339cbe['selectable']!==!0x1!==_0x56e77c)['map'](_0x239759=>({'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingId':_0x239759[_0x2dd694(0x457)],'selectable':_0x56e77c})));},_0x13ff90=_0x42cc1f=>{const _0xdb6c33=_0xc7969;let _0x258b0b=_0x1dd4d5(_0x42cc1f);if(_0x258b0b)return _0x4d51d8([_0x42cc1f],_0x258b0b[_0xdb6c33(0x1dc)]===!0x1);},_0x1303d6=async(_0xf869aa,_0x20b67a)=>{const _0x5c8742=_0xc7969;var _0x28bae0;let _0x3611bf=_0xfd5748(_0x20b67a);(((_0x28bae0=_0x1dd4d5(_0xf869aa))==null?void 0x0:_0x28bae0[_0x5c8742(0x28d)])??void 0x0)!==_0x3611bf&&await _0x3ad891(_0xf869aa,{'name':_0x3611bf});},_0x3c825e=async(_0x3debd0,_0x17fee5)=>{const _0x4d2bdf=_0xc7969;var _0x5b059f;let _0x4486ba=_0xfd5748(_0x17fee5);(((_0x5b059f=_0x1dd4d5(_0x3debd0))==null?void 0x0:_0x5b059f[_0x4d2bdf(0x364)])??void 0x0)!==_0x4486ba&&await _0x3ad891(_0x3debd0,{'description':_0x4486ba});},_0x4aa429=async(_0x32fdb1,_0x223240)=>{const _0x351fa4=_0xc7969;_0x4c2533&&_0x5c9a74&&await _0x48a167[_0x351fa4(0x4b3)](_0x51f92a[_0x351fa4(0x393)]['id'],{'unitId':_0x4c2533,'subUnitId':_0x5c9a74,'drawingIds':[_0x32fdb1],'arrangeType':_0x223240});};return!_0x4c2533||!_0x5c9a74?(0x0,_0x58bcbb['jsx'])('div',{'className':_0xc7969(0x307),'children':_0x162ecf[_0xc7969(0x579)]}):(0x0,_0x58bcbb[_0xc7969(0x58f)])(_0x49d5fa,{'labels':_0x162ecf,'items':_0x440862,'selectedIds':_0x473e95,'focusedId':_0x3a362f,'showHeader':!0x1,'onSelect':_0x3b7839,'onSetVisible':_0x1ce3e7,'onSetSelectable':_0x4d51d8,'onCommitName':_0x1303d6,'onCommitDescription':_0x3c825e,'onMoveForward':async _0x14b0e9=>_0x4aa429(_0x14b0e9,_0x4fcc67[_0xc7969(0x5a8)]['forward']),'onMoveBackward':async _0x6711c0=>_0x4aa429(_0x6711c0,_0x4fcc67[_0xc7969(0x5a8)]['backward']),'onToggleSelectable':_0x13ff90});}function _0x1b7e26(){const _0x282381=_0x439e5d;return(0x0,_0x58bcbb[_0x282381(0x58f)])(_0x152447,{'PanelComponent':_0x108bdb[_0x282381(0x2b2)]});}let _0x15f53e=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x53c6b0,_0x18a51c){const _0x4a95d4=_0x439e5d;super(),this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x473a2b,_0x1b7e26)),this[_0x4a95d4(0x575)](_0x18a51c[_0x4a95d4(0x440)]({'BottomIcon':_0x2a1fa2,'FlipHorizontalIcon':_0x549556,'FlipVerticalIcon':_0x2c9f6c,'MoveDownIcon':_0x49a981,'MoveUpIcon':_0x17dd09,'ObjectLayersIcon':_0x22dce5,'ShapeFormatSettingIcon':_0x2e5e30,'TopmostIcon':_0x2c1706})),this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x1b11f8,_0x10ef89)),this['disposeWithMe'](_0x53c6b0['register'](_0x4a3dfe,_0x571429)),_0x53c6b0[_0x4a95d4(0x54a)](_0x108bdb['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x4a95d4(0x575)](_0x53c6b0[_0x4a95d4(0x440)](_0x108bdb[_0x4a95d4(0x569)],_0x233a38));}};_0x15f53e=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x3fb)])),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x439)]))],_0x15f53e);let _0x2d6cbb=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5872dd){const _0x95c935=_0x439e5d;super(),this[_0x95c935(0x56e)]=_0x5872dd,_0x355f4a(this,_0x95c935(0x39a),new _0x5597c9[(_0x95c935(0x30b))](null)),_0x355f4a(this,_0x95c935(0x4d0),this['_editingParams$'][_0x95c935(0x540)]()),_0x355f4a(this,'_onSavingEditorData$',new _0x5597c9[(_0x95c935(0x30b))](!0x1)),_0x355f4a(this,'onSavingEditorData$',this[_0x95c935(0x3fa)][_0x95c935(0x540)]()),_0x355f4a(this,_0x95c935(0x4ff),void 0x0),this[_0x95c935(0x575)](this[_0x95c935(0x56e)]['permissionPointUpdate$']['subscribe'](()=>{const _0x6cda2e=_0x95c935;let _0x81d888=this[_0x6cda2e(0x448)]();_0x81d888!=null&&_0x81d888[_0x6cda2e(0x30f)]&&!this[_0x6cda2e(0x32f)](_0x81d888)&&this[_0x6cda2e(0x480)](null);}));}['dispose'](){const _0x474707=_0x439e5d;this[_0x474707(0x2f3)](),this[_0x474707(0x39a)][_0x474707(0x4e3)](null),this[_0x474707(0x39a)][_0x474707(0x447)](),this[_0x474707(0x3fa)]['next'](!0x1),this[_0x474707(0x3fa)][_0x474707(0x447)](),super['dispose']();}[_0x439e5d(0x480)](_0x22826e){const _0x434910=_0x439e5d;(_0x22826e==null||!_0x22826e[_0x434910(0x30f)]||this['_canEdit'](_0x22826e))&&(this[_0x434910(0x2f3)](),this[_0x434910(0x39a)][_0x434910(0x4e3)](_0x22826e),(_0x22826e==null||_0x22826e[_0x434910(0x30f)]&&this['_onSavingEditorData$'][_0x434910(0x268)]())&&this[_0x434910(0x3fa)][_0x434910(0x4e3)](!0x1));}[_0x439e5d(0x336)](_0x4be1ce){const _0x5b0f42=_0x439e5d;this[_0x5b0f42(0x3fa)][_0x5b0f42(0x4e3)](_0x4be1ce);}[_0x439e5d(0x448)](){const _0x308bd5=_0x439e5d;return this[_0x308bd5(0x39a)][_0x308bd5(0x268)]();}['_canEdit'](_0x450152){const _0x13b73f=_0x439e5d;let _0x12623b=this[_0x13b73f(0x56e)][_0x13b73f(0x3f6)](new _0x33d9c6[(_0x13b73f(0x484))](_0x450152['unitId'])['id']),_0x103d73=this[_0x13b73f(0x56e)][_0x13b73f(0x3f6)](new _0x33d9c6['WorksheetEditPermission'](_0x450152['unitId'],_0x450152[_0x13b73f(0x555)])['id']);return((_0x12623b==null?void 0x0:_0x12623b[_0x13b73f(0x3f0)])??!0x0)&&((_0x103d73==null?void 0x0:_0x103d73[_0x13b73f(0x3f0)])??!0x0);}['completeEditing'](_0x211751){const _0x3b41f7=_0x439e5d;let _0x5a865c=this[_0x3b41f7(0x448)]();_0x5a865c&&this[_0x3b41f7(0x4ff)]===void 0x0&&(this[_0x3b41f7(0x336)](!0x0),this[_0x3b41f7(0x4ff)]=requestAnimationFrame(()=>{this['_completionFrame']=void 0x0,this['getEditing']()===_0x5a865c&&this['setEditing'](null);}));}[_0x439e5d(0x2f3)](){const _0x32ad90=_0x439e5d;this[_0x32ad90(0x4ff)]!==void 0x0&&(cancelAnimationFrame(this[_0x32ad90(0x4ff)]),this[_0x32ad90(0x4ff)]=void 0x0);}[_0x439e5d(0x532)](){const _0x59609d=_0x439e5d;this[_0x59609d(0x448)]()&&this[_0x59609d(0x480)](null);}};_0x2d6cbb=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x2ec)])],_0x2d6cbb);let _0x203689=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x24b411,_0x1bd992,_0x49cf0c,_0x32bbfc,_0x36c2b7,_0x54f412){const _0x231572=_0x439e5d;super(),this[_0x231572(0x316)]=_0x24b411,this[_0x231572(0x492)]=_0x1bd992,this[_0x231572(0x3e4)]=_0x49cf0c,this[_0x231572(0x232)]=_0x32bbfc,this[_0x231572(0x3c8)]=_0x36c2b7,this['_sheetsShapeService']=_0x54f412,_0x355f4a(this,_0x231572(0x38d),null),this[_0x231572(0x304)](),this[_0x231572(0x2b1)](),this[_0x231572(0x462)]();}[_0x439e5d(0x304)](){const _0x1e7002=_0x439e5d;let {scene:_0x27a91f}=this[_0x1e7002(0x316)];this[_0x1e7002(0x575)](_0x27a91f[_0x1e7002(0x530)][_0x1e7002(0x320)](_0x5a658f=>{const _0x3d7e67=_0x1e7002;let {offsetX:_0x5b2a2c,offsetY:_0x4400aa}=_0x5a658f,_0x3dedf7=_0x27a91f[_0x3d7e67(0x2aa)](_0x5e3080['Vector2'][_0x3d7e67(0x201)]([_0x5b2a2c,_0x4400aa]));if(_0x3dedf7 instanceof _0x11dd97){let _0x3e6a1c=this[_0x3d7e67(0x4f6)][_0x3d7e67(0x1df)](_0x3dedf7[_0x3d7e67(0x3a2)],_0x3dedf7[_0x3d7e67(0x555)],_0x3dedf7[_0x3d7e67(0x1cf)]);if((0x0,_0x42c76f[_0x3d7e67(0x2a1)])(this[_0x3d7e67(0x4f6)][_0x3d7e67(0x587)](_0x3dedf7[_0x3d7e67(0x3a2)],_0x3dedf7['subUnitId'],_0x3dedf7[_0x3d7e67(0x1cf)]))||_0x3e6a1c!=null&&_0x3e6a1c[_0x3d7e67(0x339)]()[_0x3d7e67(0x4d5)])return;this[_0x3d7e67(0x3e4)]['setEditing']({'visible':!0x0,'unitId':_0x3dedf7[_0x3d7e67(0x3a2)],'subUnitId':_0x3dedf7[_0x3d7e67(0x555)],'shapeId':_0x3dedf7[_0x3d7e67(0x1cf)],'shapeKey':_0x3dedf7['oKey']});}}));}[_0x439e5d(0x2b1)](){const _0x536a1f=_0x439e5d;this[_0x536a1f(0x575)](this[_0x536a1f(0x232)][_0x536a1f(0x328)][_0x536a1f(0x523)](_0x57e59d=>{const _0x3df5e4=_0x536a1f;if(_0x57e59d[_0x3df5e4(0x298)]===0x1){let _0x149b48=_0x57e59d[0x0],_0x20ec69=this[_0x3df5e4(0x232)][_0x3df5e4(0x269)](_0x149b48);if((_0x20ec69==null?void 0x0:_0x20ec69[_0x3df5e4(0x31a)])===_0x4fcc67[_0x3df5e4(0x204)]['DRAWING_SHAPE']){var _0xbf0463;let _0x37e3be=this[_0x3df5e4(0x3e4)][_0x3df5e4(0x448)]();if((_0x37e3be==null?void 0x0:_0x37e3be[_0x3df5e4(0x1cf)])===_0x149b48[_0x3df5e4(0x457)]&&_0x37e3be[_0x3df5e4(0x30f)])return;let _0x34c5ba=(0x0,_0x42c76f[_0x3df5e4(0x2a1)])(this['_sheetsShapeService'][_0x3df5e4(0x587)](_0x149b48[_0x3df5e4(0x3a2)],_0x149b48[_0x3df5e4(0x555)],_0x149b48[_0x3df5e4(0x457)])),_0x4b699d=!!((_0xbf0463=this[_0x3df5e4(0x4f6)][_0x3df5e4(0x1df)](_0x149b48['unitId'],_0x149b48['subUnitId'],_0x149b48[_0x3df5e4(0x457)]))!=null&&_0xbf0463[_0x3df5e4(0x339)]()[_0x3df5e4(0x4d5)]);(_0x34c5ba||_0x4b699d)&&this[_0x3df5e4(0x3e4)][_0x3df5e4(0x480)](null);}else this[_0x3df5e4(0x3e4)]['completeEditing']();}else this[_0x3df5e4(0x3e4)][_0x3df5e4(0x295)]();})),this[_0x536a1f(0x575)](this[_0x536a1f(0x232)][_0x536a1f(0x228)][_0x536a1f(0x523)](_0x4706ae=>{const _0x48639d=_0x536a1f;let _0x382fc7=this[_0x48639d(0x3e4)]['getEditing']();_0x382fc7&&_0x4706ae[_0x48639d(0x2a2)](_0x11463e=>_0x11463e['drawingId']===_0x382fc7[_0x48639d(0x1cf)])&&this[_0x48639d(0x3e4)][_0x48639d(0x480)](null);}));}[_0x439e5d(0x462)](){const _0xe81401=_0x439e5d;this[_0xe81401(0x575)](this[_0xe81401(0x3e4)]['editingParams$'][_0xe81401(0x523)](_0x2e06ef=>{const _0x121044=_0xe81401;let {scene:_0xd8e6f0}=this[_0x121044(0x316)];if(this[_0x121044(0x38d)]){let _0x296343=_0xd8e6f0[_0x121044(0x2b6)](this[_0x121044(0x38d)]);_0x296343&&_0x296343[_0x121044(0x480)](!0x1);}if(_0x2e06ef){let _0x3809ba=!!_0x2e06ef[_0x121044(0x30f)],_0x28745f=_0xd8e6f0[_0x121044(0x2b6)](_0x2e06ef['shapeKey']);_0x28745f&&(_0x28745f[_0x121044(0x480)](_0x3809ba),this[_0x121044(0x38d)]=_0x2e06ef[_0x121044(0x369)]),this[_0x121044(0x3c8)][_0x121044(0x1cd)](_0x4fcc67['FOCUSING_SHAPE_TEXT_EDITOR'],_0x3809ba);}else this[_0x121044(0x38d)]=null,this[_0x121044(0x3c8)]['setContextValue'](_0x4fcc67[_0x121044(0x1f7)],!0x1);}));}};_0x203689=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x3a1)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService']))],_0x203689);var _0x1621e0=class extends _0x203689{[_0x439e5d(0x304)](){const _0x1bf517=_0x439e5d;let {scene:_0x3af662}=this[_0x1bf517(0x316)],_0x1171d3=this[_0x1bf517(0x492)][_0x1bf517(0x55f)](_0x1a617a[_0x1bf517(0x38a)]);this[_0x1bf517(0x575)](_0x3af662[_0x1bf517(0x530)][_0x1bf517(0x320)](_0x35b0de=>{const _0x4e6cce=_0x1bf517;let {offsetX:_0x4e4194,offsetY:_0x1e74df}=_0x35b0de,_0x5d99be=_0x3af662[_0x4e6cce(0x2aa)](_0x5e3080[_0x4e6cce(0x2d2)][_0x4e6cce(0x201)]([_0x4e4194,_0x1e74df]));if(!(_0x5d99be instanceof _0x11dd97))return;let _0x4ea950=this[_0x4e6cce(0x4f6)][_0x4e6cce(0x1df)](_0x5d99be[_0x4e6cce(0x3a2)],_0x5d99be[_0x4e6cce(0x555)],_0x5d99be['shapeId']);(0x0,_0x42c76f[_0x4e6cce(0x2a1)])(this[_0x4e6cce(0x4f6)][_0x4e6cce(0x587)](_0x5d99be['unitId'],_0x5d99be[_0x4e6cce(0x555)],_0x5d99be[_0x4e6cce(0x1cf)]))||_0x4ea950!=null&&_0x4ea950['getShapeData']()[_0x4e6cce(0x4d5)]||_0x1171d3[_0x4e6cce(0x2e6)]('text',{'hostType':_0x4fcc67[_0x4e6cce(0x578)][_0x4e6cce(0x28f)],'unitId':_0x5d99be[_0x4e6cce(0x3a2)],'subUnitId':_0x5d99be[_0x4e6cce(0x555)],'shapeId':_0x5d99be[_0x4e6cce(0x1cf)]});}));}};let _0x1482e7={..._0x2b234f},_0x53caa5=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x417854,_0x5af7f7,_0x5539a8,_0x1a9d48,_0xbecd98,_0x50ca4d,_0x21b255,_0xd5c85b){const _0x357300=_0x439e5d;super(),this[_0x357300(0x4fd)]=_0x417854,this['_sheetsShapeService']=_0x5af7f7,this[_0x357300(0x30c)]=_0x5539a8,this['_drawingManagerService']=_0x1a9d48,this[_0x357300(0x20a)]=_0xbecd98,this[_0x357300(0x3c8)]=_0x50ca4d,this['_renderManagerService']=_0x21b255,this['_shapeTextEditingService']=_0xd5c85b,_0x355f4a(this,'_shapePopupMenuDisposable',null),this['_menuManagerService'][_0x357300(0x301)](_0x1482e7),this[_0x357300(0x438)](),this[_0x357300(0x575)](this[_0x357300(0x3e4)]['editingParams$'][_0x357300(0x523)](_0x34e463=>{const _0x3f82bc=_0x357300;_0x34e463&&this[_0x3f82bc(0x2a8)]();}));}[_0x439e5d(0x46f)](){const _0x3b2588=_0x439e5d;this[_0x3b2588(0x21d)]||=this['disposeWithMe']((0x0,_0x1a617a[_0x3b2588(0x24e)])(this[_0x3b2588(0x35d)],_0x4fcc67['UniverInstanceType'][_0x3b2588(0x28f)],_0x46bc1e=>this['_popupMenuListener'](_0x46bc1e)));}[_0x439e5d(0x438)](){const _0x195780=_0x439e5d;this[_0x195780(0x20a)][_0x195780(0x4c2)](_0x4fcc67[_0x195780(0x204)][_0x195780(0x4b8)],(_0x59dfe4,_0x435799,_0x3f86b8,_0x3055b1)=>{const _0x524aa8=_0x195780;let _0x599ea0=this['_sheetsShapeService'][_0x524aa8(0x352)](_0x59dfe4,_0x435799,_0x3f86b8),_0x80a3c6=this['_sheetsShapeService'][_0x524aa8(0x343)](_0x59dfe4,_0x435799,_0x3f86b8),_0x444f9c=_0x599ea0!==void 0x0&&!(0x0,_0x42c76f[_0x524aa8(0x2a1)])(_0x599ea0)&&!(_0x80a3c6!=null&&_0x80a3c6[_0x524aa8(0x4d5)]);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x20217e['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'mode':'style'},'disable':!0x1},..._0x444f9c?[{'label':_0x524aa8(0x2f4),'index':0x1,'commandId':_0x20217e['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'mode':_0x524aa8(0x2fa)},'disable':!0x1}]:[],{'label':_0x524aa8(0x2fd),'index':0x2,'commandId':_0x51f92a[_0x524aa8(0x56b)]['id'],'commandParams':{'unitId':_0x59dfe4,'drawings':[{'unitId':_0x59dfe4,'subUnitId':_0x435799,'drawingId':_0x3f86b8,'drawingType':_0x3055b1}]},'disable':!0x1},{'label':_0x524aa8(0x379),'index':0x3,'commandId':_0x43ee3e[_0x524aa8(0x3c7)]['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'shapeId':_0x3f86b8,'flipH':!0x0},'disable':!0x1},{'label':_0x524aa8(0x5b2),'index':0x4,'commandId':_0x43ee3e[_0x524aa8(0x3c7)]['id'],'commandParams':{'unitId':_0x59dfe4,'subUnitId':_0x435799,'shapeId':_0x3f86b8,'flipV':!0x0},'disable':!0x1}];},'sheets-shape-ui.title');}['_popupMenuListener'](_0x5aedda){const _0x46ac75=_0x439e5d;let _0x4805fa=new _0x4fcc67[(_0x46ac75(0x4b6))](),_0x7e73bd=null,_0x21f30a=()=>{const _0x13e30d=_0x46ac75;if(!_0x7e73bd)return;let _0x2c661f=this['_drawingManagerService'][_0x13e30d(0x52f)](),_0x5b70f0=_0x2c661f[_0x13e30d(0x298)]===0x0||_0x2c661f['length']===0x1&&_0x2c661f[_0x13e30d(0x2a2)](_0x48a55b=>_0x48a55b['unitId']===(_0x7e73bd==null?void 0x0:_0x7e73bd['unitId'])&&_0x48a55b[_0x13e30d(0x555)]===(_0x7e73bd==null?void 0x0:_0x7e73bd[_0x13e30d(0x555)])&&_0x48a55b[_0x13e30d(0x457)]===(_0x7e73bd==null?void 0x0:_0x7e73bd[_0x13e30d(0x457)]));_0x7e73bd=null,_0x5b70f0&&(this['_contextService']['setContextValue'](_0x4fcc67[_0x13e30d(0x37a)],!0x1),this[_0x13e30d(0x232)]['focusDrawing'](null));};return _0x4805fa[_0x46ac75(0x3e9)](_0x5aedda[_0x46ac75(0x42b)][_0x46ac75(0x523)](()=>{const _0x57a76d=_0x46ac75;let _0x5d7176=_0x5aedda[_0x57a76d(0x3aa)]();if(_0x5d7176[_0x57a76d(0x535)]>0x1){_0x21f30a();return;}let _0x38690e=_0x5d7176[_0x57a76d(0x413)]()['next']()[_0x57a76d(0x3f0)];if(!_0x38690e){_0x21f30a();return;}let _0x46ec50=this[_0x57a76d(0x232)][_0x57a76d(0x385)](_0x38690e[_0x57a76d(0x47e)]);if(!_0x46ec50||_0x46ec50['drawingType']!==_0x4fcc67[_0x57a76d(0x204)]['DRAWING_SHAPE']){_0x21f30a();return;}let {unitId:_0x103e1f,subUnitId:_0x5e4082,drawingId:_0x4f3c22}=_0x46ec50;_0x7e73bd={'unitId':_0x103e1f,'subUnitId':_0x5e4082,'drawingId':_0x4f3c22},this[_0x57a76d(0x3c8)]['setContextValue'](_0x4fcc67[_0x57a76d(0x37a)],!0x0),this[_0x57a76d(0x232)]['getFocusDrawings']()[_0x57a76d(0x2b5)](_0x207d45=>_0x207d45[_0x57a76d(0x3a2)]===_0x103e1f&&_0x207d45[_0x57a76d(0x555)]===_0x5e4082&&_0x207d45[_0x57a76d(0x457)]===_0x4f3c22)||this['_drawingManagerService'][_0x57a76d(0x45f)]([{'unitId':_0x103e1f,'subUnitId':_0x5e4082,'drawingId':_0x4f3c22}]);})),_0x4805fa['add'](_0x5aedda[_0x46ac75(0x2ad)][_0x46ac75(0x523)](()=>{_0x21f30a();})),(0x0,_0x4fcc67[_0x46ac75(0x4f3)])(()=>{const _0x3e7708=_0x46ac75;_0x4805fa[_0x3e7708(0x27e)](),_0x21f30a();});}['_clearFocusedShape'](){const _0x129608=_0x439e5d;this['_contextService'][_0x129608(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x129608(0x232)][_0x129608(0x45f)](null);}};_0x53caa5=_0x5b9725([_0x56348c(0x0,_0x3412e6['IMenuManagerService']),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x6,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb))],_0x53caa5);function _0x57e249(_0x2cf35b,_0x3cca65,_0x179986,_0x23b1f3){const _0x3c5da1=_0x439e5d;let _0x42b902=(0x0,_0x89eb48[_0x3c5da1(0x1e8)])(_0x2cf35b,_0x3cca65,_0x179986),_0x18085c=[];for(let _0x527d52 of _0x3cca65){let _0x3058a7=_0x42b902[_0x3c5da1(0x334)][_0x3c5da1(0x55f)](_0x527d52[_0x3c5da1(0x457)]),_0xbcedbb=_0x23b1f3(_0x527d52);_0x3058a7&&_0xbcedbb&&_0x18085c['push']({'targetShapeId':_0x3058a7,'source':_0xbcedbb});}return _0x18085c;}let _0x49d1fc=class extends _0x4fcc67['Disposable']{constructor(_0x5ce357,_0x349a58,_0x934a5e,_0x4161ed){const _0x4a1722=_0x439e5d;super(),this[_0x4a1722(0x54b)]=_0x5ce357,this[_0x4a1722(0x498)]=_0x349a58,this[_0x4a1722(0x3c1)]=_0x934a5e,this[_0x4a1722(0x4f6)]=_0x4161ed,this[_0x4a1722(0x1bf)]();}[_0x439e5d(0x1bf)](){const _0x5c0e21=_0x439e5d;this[_0x5c0e21(0x575)](this[_0x5c0e21(0x498)]['interceptCommand']({'getMutations':_0x307404=>{const _0xa33a82=_0x5c0e21;if(_0x307404['id']===_0x33d9c6[_0xa33a82(0x24b)]['id']){let _0x58d5f6=(0x0,_0x33d9c6[_0xa33a82(0x2b8)])(this[_0xa33a82(0x54b)],_0x307404[_0xa33a82(0x22e)]);if(!_0x58d5f6)return{'redos':[],'undos':[]};let {unitId:_0x2d06a8,subUnitId:_0x1dcdcd}=_0x58d5f6,_0x53e657=this[_0xa33a82(0x3c1)][_0xa33a82(0x537)](_0x2d06a8,_0x1dcdcd),_0x1bfef0=Object[_0xa33a82(0x413)](_0x53e657)['filter'](_0x538330=>_0x538330['drawingType']===_0x4fcc67[_0xa33a82(0x204)][_0xa33a82(0x4b8)]);if(_0x1bfef0[_0xa33a82(0x298)]===0x0)return{'redos':[],'undos':[]};let _0x5180d3=[],_0x570409=[];for(let _0x1c3407=0x0;_0x1c3407<_0x1bfef0[_0xa33a82(0x298)];_0x1c3407++){let _0xf5ca26=_0x1bfef0[_0x1c3407],_0x212b14=this[_0xa33a82(0x4f6)]['getShapeModel'](_0xf5ca26['unitId'],_0xf5ca26[_0xa33a82(0x555)],_0xf5ca26['drawingId']);_0x212b14&&(_0x5180d3['push']({'id':_0x43ee3e[_0xa33a82(0x2c4)]['id'],'params':{'unitId':_0x2d06a8,'subUnitId':_0x1dcdcd,'shapeId':_0xf5ca26[_0xa33a82(0x457)]}}),_0x570409[_0xa33a82(0x1d6)]({'id':_0x43ee3e[_0xa33a82(0x4f4)]['id'],'params':{'unitId':_0x2d06a8,'subUnitId':_0x1dcdcd,'shapeId':_0xf5ca26[_0xa33a82(0x457)],'shapeType':_0x212b14[_0xa33a82(0x587)](),'shapeData':JSON[_0xa33a82(0x360)](JSON[_0xa33a82(0x565)](_0x212b14['getShapeData']()))}}));}return{'redos':_0x5180d3,'undos':_0x570409};}if(_0x307404['id']===_0x33d9c6[_0xa33a82(0x367)]['id']){let {unitId:_0x110626,subUnitId:_0x297ab2,targetSubUnitId:_0x1a44b6,copyContext:_0x29359d}=_0x307404[_0xa33a82(0x22e)];if(!_0x110626||!_0x297ab2||!_0x1a44b6)return{'redos':[],'undos':[]};let _0x534f70=this[_0xa33a82(0x3c1)][_0xa33a82(0x537)](_0x110626,_0x297ab2),_0x3f0992=Object[_0xa33a82(0x413)](_0x534f70)['filter'](_0x18153c=>_0x18153c[_0xa33a82(0x31a)]===_0x4fcc67['DrawingTypeEnum'][_0xa33a82(0x4b8)]);if(_0x3f0992[_0xa33a82(0x298)]===0x0)return{'redos':[],'undos':[]};let _0x39bb2c=_0x57e249(_0x29359d,_0x3f0992,{'unitId':_0x110626,'sourceSubUnitId':_0x297ab2,'targetSubUnitId':_0x1a44b6},_0x5743ca=>{const _0x1c8e49=_0xa33a82;let _0x448df8=this['_sheetsShapeService']['getShapeModel'](_0x5743ca[_0x1c8e49(0x3a2)],_0x5743ca[_0x1c8e49(0x555)],_0x5743ca['drawingId']);if(_0x448df8)return{'shapeType':_0x448df8[_0x1c8e49(0x587)](),'shapeData':JSON[_0x1c8e49(0x360)](JSON[_0x1c8e49(0x565)](_0x448df8[_0x1c8e49(0x339)]()))};}),_0x5b0e4d=[],_0x21a706=[];for(let {targetShapeId:_0x31962b,source:_0x15bf48}of _0x39bb2c)_0x5b0e4d[_0xa33a82(0x1d6)]({'id':_0x43ee3e[_0xa33a82(0x4f4)]['id'],'params':{'unitId':_0x110626,'subUnitId':_0x1a44b6,'shapeId':_0x31962b,'shapeType':_0x15bf48[_0xa33a82(0x53a)],'shapeData':_0x15bf48[_0xa33a82(0x331)]}}),_0x21a706[_0xa33a82(0x1d6)]({'id':_0x43ee3e['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x110626,'subUnitId':_0x1a44b6,'shapeId':_0x31962b}});return{'redos':_0x5b0e4d,'undos':_0x21a706};}return{'redos':[],'undos':[]};}}));}};_0x49d1fc=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['IUniverInstanceService'])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x33d9c6[_0x439e5d(0x35e)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x51f92a[_0x439e5d(0x475)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)]))],_0x49d1fc);let _0xc36a77=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5e7e60,_0x40af3d,_0x5665f0,_0x5b9320,_0x4edd4f,_0x3f3d4a){const _0x491e1a=_0x439e5d;super(),this['_commandService']=_0x5e7e60,this[_0x491e1a(0x35d)]=_0x40af3d,this[_0x491e1a(0x232)]=_0x5665f0,this['_currentUniverService']=_0x5b9320,this[_0x491e1a(0x4da)]=_0x4edd4f,this[_0x491e1a(0x4b0)]=_0x3f3d4a,_0x355f4a(this,_0x491e1a(0x1c0),new Set()),this[_0x491e1a(0x219)]();}[_0x439e5d(0x219)](){const _0x5949d6=_0x439e5d;this[_0x5949d6(0x4ee)](),this[_0x5949d6(0x37b)](),this['_shapeUpdateListener']();}[_0x439e5d(0x4ee)](){const _0x355f70=_0x439e5d;this['disposeWithMe'](this[_0x355f70(0x232)][_0x355f70(0x3cd)][_0x355f70(0x523)](_0x49cbe3=>{const _0x4c906e=_0x355f70;this[_0x4c906e(0x1c5)](_0x49cbe3);}));}['_commandExecutedListener'](){const _0x575a81=_0x439e5d;this[_0x575a81(0x575)](this['_commandService']['onCommandExecuted']((_0x4d6b2a,_0x459542)=>{const _0x443b5b=_0x575a81;if(_0x4d6b2a['id']===_0x43ee3e[_0x443b5b(0x403)]['id']){let {unitId:_0x4f46e4,subUnitId:_0x28dd7d,shapeId:_0x14f136}=_0x4d6b2a[_0x443b5b(0x22e)],_0x2212a2=this[_0x443b5b(0x461)](_0x4f46e4),_0x3915c0=(0x0,_0x89eb48[_0x443b5b(0x236)])({'unitId':_0x4f46e4,'subUnitId':_0x28dd7d,'drawingId':_0x14f136}),_0xd51d2e=_0x2212a2==null?void 0x0:_0x2212a2[_0x443b5b(0x56f)][_0x443b5b(0x2b6)](_0x3915c0);_0xd51d2e&&(this[_0x443b5b(0x4b0)]['refreshShapeFillImage'](_0xd51d2e),this[_0x443b5b(0x4b0)][_0x443b5b(0x42f)](_0xd51d2e,{'unitId':_0x4f46e4,'subUnitId':_0x28dd7d,'shapeId':_0x14f136}),_0xd51d2e[_0x443b5b(0x415)](!0x0));}else{if(_0x4d6b2a['id']===_0x43ee3e[_0x443b5b(0x4f4)]['id']){var _0x4c5315;let {unitId:_0x777bb6,subUnitId:_0x188821,shapeId:_0x5d7ae6}=_0x4d6b2a[_0x443b5b(0x22e)],_0x449466=this['_getSceneAndTransformerByDrawingSearch'](_0x777bb6);if(_0x449466==null)return;let {scene:_0x47aecd}=_0x449466,_0xe2681e=(0x0,_0x89eb48[_0x443b5b(0x236)])({'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}),_0x39b19b=_0x47aecd[_0x443b5b(0x2b6)](_0xe2681e);if(!((_0x4c5315=this[_0x443b5b(0x35d)][_0x443b5b(0x40f)](_0x777bb6))!=null&&_0x4c5315[_0x443b5b(0x54f)](_0x5b8007['SheetSkeletonManagerService'])['getSkeleton'](_0x188821)))return!0x1;if(_0x39b19b)return;if(_0x459542!=null&&_0x459542['fromChangeset']){queueMicrotask(()=>{const _0x162395=_0x443b5b;this['_disposed']||this[_0x162395(0x1c5)]([{'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}]);});return;}this[_0x443b5b(0x1c5)]([{'unitId':_0x777bb6,'subUnitId':_0x188821,'drawingId':_0x5d7ae6}]);}}}));}[_0x439e5d(0x4a2)](){const _0x27e8d1=_0x439e5d;this[_0x27e8d1(0x575)](this[_0x27e8d1(0x232)][_0x27e8d1(0x342)][_0x27e8d1(0x523)](_0x254c2c=>{_0x254c2c['forEach'](_0x18a335=>{const _0x451b14=_0x3385;let {unitId:_0x2406e2,subUnitId:_0x2d678a,drawingId:_0x5ea4f9}=_0x18a335,_0x11dccf=this[_0x451b14(0x232)][_0x451b14(0x269)](_0x18a335);if(_0x11dccf==null)return;let {transform:_0x3b43e2,drawingType:_0x522c45,srcRect:_0x1bfcc1,prstGeom:_0x3614c4}=_0x11dccf;if(_0x522c45!==_0x4fcc67['DrawingTypeEnum'][_0x451b14(0x4b8)])return;let _0x4a12d3=this[_0x451b14(0x461)](_0x2406e2);if(_0x4a12d3==null)return;let {scene:_0x5e4aac,transformer:_0x15868d}=_0x4a12d3;if(_0x3b43e2==null)return!0x0;let _0x1bd6a2=(0x0,_0x89eb48[_0x451b14(0x236)])({'unitId':_0x2406e2,'subUnitId':_0x2d678a,'drawingId':_0x5ea4f9}),_0x4126af=_0x5e4aac[_0x451b14(0x2b6)](_0x1bd6a2);if(_0x4126af==null)return!0x0;_0x4126af[_0x451b14(0x2f5)](_0x1bfcc1),_0x4126af[_0x451b14(0x344)](_0x3614c4);});}));}['_insertShapes'](_0x582ec8){const _0x2c5aab=_0x439e5d;for(let _0x30cf54 of _0x582ec8){var _0x4f9b0a;let {unitId:_0x4eb92c,subUnitId:_0x3825b4,drawingId:_0x25e100}=_0x30cf54,_0x17d6ce=this[_0x2c5aab(0x461)](_0x4eb92c),_0xfde930=(_0x4f9b0a=(0x0,_0x108bdb[_0x2c5aab(0x4e8)])(this[_0x2c5aab(0x1eb)],_0x4eb92c))==null?void 0x0:_0x4f9b0a[_0x2c5aab(0x555)];if(_0x17d6ce==null||_0xfde930!==_0x3825b4)return;let _0x40eb20=(0x0,_0x89eb48[_0x2c5aab(0x236)])({'unitId':_0x4eb92c,'subUnitId':_0x3825b4,'drawingId':_0x25e100});if(this['_insertingShapeKeys']['has'](_0x40eb20)||_0x17d6ce[_0x2c5aab(0x56f)][_0x2c5aab(0x2b6)](_0x40eb20)!=null)return;let _0x5dd759=this[_0x2c5aab(0x232)]['getDrawingByParam'](_0x30cf54);if(_0x5dd759==null||_0x5dd759[_0x2c5aab(0x31a)]!==_0x4fcc67[_0x2c5aab(0x204)][_0x2c5aab(0x4b8)])return;let _0x373974=_0x5dd759[_0x2c5aab(0x1c3)]||{};if((0x0,_0x42c76f[_0x2c5aab(0x2a1)])(_0x373974[_0x2c5aab(0x53a)])){let _0x4b1826=_0x5dd759['transform'];_0x4b1826&&(_0x5dd759[_0x2c5aab(0x3a8)]={..._0x4b1826,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x2c5aab(0x1c0)][_0x2c5aab(0x3e9)](_0x40eb20);try{this[_0x2c5aab(0x4b0)]['renderDrawingShape'](_0x5dd759,_0x17d6ce[_0x2c5aab(0x56f)]);}finally{this[_0x2c5aab(0x1c0)][_0x2c5aab(0x218)](_0x40eb20);}queueMicrotask(()=>{const _0xfa328d=_0x2c5aab;if(this[_0xfa328d(0x2da)])return;let _0x25fad4=(0x0,_0x89eb48[_0xfa328d(0x236)])(_0x30cf54);if(!_0x17d6ce[_0xfa328d(0x56f)][_0xfa328d(0x2b6)](_0x25fad4))return;let _0x411234=this['_drawingManagerService']['getDrawingByParam'](_0x30cf54);_0x411234&&this[_0xfa328d(0x232)][_0xfa328d(0x2fb)]([_0x411234]);});}}[_0x439e5d(0x461)](_0x30fe58){const _0x577984=_0x439e5d;if(_0x30fe58==null)return;let _0x1c9b34=this['_renderManagerService'][_0x577984(0x40f)](_0x30fe58),_0x3e0a95=_0x1c9b34==null?void 0x0:_0x1c9b34['scene'];return _0x3e0a95==null?null:{'scene':_0x3e0a95,'transformer':_0x3e0a95[_0x577984(0x4e6)]()};}};_0xc36a77=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x1,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x2,_0x89eb48['IDrawingManagerService']),_0x56348c(0x3,_0x4fcc67['IUniverInstanceService']),_0x56348c(0x4,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x108bdb[_0x439e5d(0x382)])),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e7905))],_0xc36a77);let _0x20354c={'normal':{'fill':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x52b)],'stroke':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x42e)],'strokeWidth':_0x42c76f[_0x439e5d(0x1de)][_0x439e5d(0x50e)]},'highlighted':{'fill':_0x439e5d(0x3dd),'stroke':_0x439e5d(0x50f),'strokeWidth':0x2}};var _0x2ed77a=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x31cf8a,_0x2644e9){const _0x52482f=_0x439e5d;super(_0x31cf8a,_0x2644e9),_0x355f4a(this,_0x52482f(0x407),''),_0x355f4a(this,'_cxnIndex',-0x1),_0x355f4a(this,_0x52482f(0x49a),''),_0x355f4a(this,_0x52482f(0x289),''),_0x355f4a(this,_0x52482f(0x47a),!0x1),_0x2644e9&&this[_0x52482f(0x27d)](_0x2644e9);}[_0x439e5d(0x260)](){const _0xf1aeaf=_0x439e5d;return{'unitId':this[_0xf1aeaf(0x49a)],'subUnitId':this['_subUnitId'],'shapeId':this[_0xf1aeaf(0x407)],'cxnIndex':this[_0xf1aeaf(0x337)]};}[_0x439e5d(0x281)](_0x1f2d3e){const _0x4043c5=_0x439e5d;this[_0x4043c5(0x47a)]!==_0x1f2d3e&&(this[_0x4043c5(0x47a)]=_0x1f2d3e,this['makeDirty'](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x439e5d(0x27d)](_0x28e93b){const _0x241496=_0x439e5d;_0x28e93b[_0x241496(0x449)]!==void 0x0&&(this['_targetShapeId']=_0x28e93b[_0x241496(0x449)]),_0x28e93b[_0x241496(0x434)]!==void 0x0&&(this['_cxnIndex']=_0x28e93b[_0x241496(0x434)]),_0x28e93b[_0x241496(0x3a2)]!==void 0x0&&(this[_0x241496(0x49a)]=_0x28e93b[_0x241496(0x3a2)]),_0x28e93b['subUnitId']!==void 0x0&&(this[_0x241496(0x289)]=_0x28e93b['subUnitId']),_0x28e93b['isHighlighted']!==void 0x0&&(this[_0x241496(0x47a)]=_0x28e93b['isHighlighted']),this['transformByState']({'width':_0x28e93b['width']??_0x42c76f[_0x241496(0x1de)][_0x241496(0x2d3)]*0x2,'height':_0x28e93b['height']??_0x42c76f[_0x241496(0x1de)]['cxnPointRadius']*0x2});}[_0x439e5d(0x5b1)](_0x515ccd){const _0x3db991=_0x439e5d;let _0x22591d=this[_0x3db991(0x47a)]?_0x20354c[_0x3db991(0x3bd)]:_0x20354c[_0x3db991(0x2bd)];_0x5e3080[_0x3db991(0x38f)]['drawWith'](_0x515ccd,{'radius':_0x42c76f[_0x3db991(0x1de)]['cxnPointRadius'],'fill':_0x22591d[_0x3db991(0x46e)],'stroke':_0x22591d[_0x3db991(0x297)],'strokeWidth':_0x22591d[_0x3db991(0x5a4)],'evented':!0x0});}};let _0x32b22d=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x413f33,_0x28312b,_0x367940,_0x2b4d87){const _0x2bc990=_0x439e5d;super(),this[_0x2bc990(0x316)]=_0x413f33,this[_0x2bc990(0x35d)]=_0x28312b,this['_drawingManagerService']=_0x367940,this[_0x2bc990(0x4f6)]=_0x2b4d87,_0x355f4a(this,_0x2bc990(0x2a0),[]),_0x355f4a(this,_0x2bc990(0x4b2),null),_0x355f4a(this,'_highlightedSiteIndex',-0x1),_0x355f4a(this,_0x2bc990(0x577),null),_0x355f4a(this,'_unitId',''),_0x355f4a(this,_0x2bc990(0x289),''),_0x355f4a(this,_0x2bc990(0x485),null);}['startConnectionDetection'](_0x1a38b5,_0x288ac8,_0x21542a,_0x436c8e){const _0x460aa5=_0x439e5d;this[_0x460aa5(0x577)]=_0x1a38b5,this[_0x460aa5(0x49a)]=_0x288ac8,this[_0x460aa5(0x289)]=_0x21542a,this['_draggingConnectorId']=_0x436c8e;}[_0x439e5d(0x215)](_0x2cc96c){const _0x153a46=_0x439e5d;if(!this[_0x153a46(0x577)])return null;let _0x13e729=this[_0x153a46(0x41c)](_0x2cc96c);return _0x13e729?(this[_0x153a46(0x4b2)]!==_0x13e729[_0x153a46(0x1cf)]&&(this[_0x153a46(0x3b7)](),this[_0x153a46(0x288)](_0x13e729['shapeId'],_0x13e729['shapeModel']),this[_0x153a46(0x4b2)]=_0x13e729[_0x153a46(0x1cf)]),this['_findNearestConnectionSite'](_0x2cc96c)):(this['_activeTargetShapeId']!==null&&(this[_0x153a46(0x3b7)](),this['_activeTargetShapeId']=null),null);}[_0x439e5d(0x20c)](){const _0x336e9e=_0x439e5d;this[_0x336e9e(0x3b7)](),this[_0x336e9e(0x577)]=null,this[_0x336e9e(0x4b2)]=null,this[_0x336e9e(0x2df)]=-0x1,this[_0x336e9e(0x485)]=null;}['getConnectionRelation'](){const _0xa3f930=_0x439e5d;return this[_0xa3f930(0x4b2)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0xa3f930(0x4b2)],'cxnIndex':this[_0xa3f930(0x2df)]};}[_0x439e5d(0x41c)](_0x22f953){const _0x2c73b9=_0x439e5d;let _0x5de623=this['_drawingManagerService'][_0x2c73b9(0x537)](this[_0x2c73b9(0x49a)],this[_0x2c73b9(0x289)]);for(let _0x8edf8d of Object[_0x2c73b9(0x4f5)](_0x5de623)){if(_0x8edf8d===this['_draggingConnectorId']||_0x5de623[_0x8edf8d]['drawingType']!==_0x4fcc67[_0x2c73b9(0x204)][_0x2c73b9(0x4b8)])continue;let _0x264886=this[_0x2c73b9(0x4f6)][_0x2c73b9(0x1df)](this[_0x2c73b9(0x49a)],this['_subUnitId'],_0x8edf8d);if(!_0x264886||(0x0,_0x42c76f['isConnectorShape'])(_0x264886[_0x2c73b9(0x587)]())||_0x264886['getConnectionSiteList']()[_0x2c73b9(0x298)]===0x0||!this['_currentScene'])continue;let _0x49a87c=(0x0,_0x89eb48[_0x2c73b9(0x236)])({'unitId':this[_0x2c73b9(0x49a)],'subUnitId':this[_0x2c73b9(0x289)],'drawingId':_0x8edf8d}),_0x5232c8=this[_0x2c73b9(0x577)][_0x2c73b9(0x2b6)](_0x49a87c);if(!_0x5232c8)continue;let {left:_0x5435df,top:_0x4796fb,width:_0x286a89,height:_0xcd3840}=_0x5232c8[_0x2c73b9(0x2d6)](),_0x5d1d96=_0x5435df+_0x286a89/0x2,_0x12f75b=_0x4796fb+_0xcd3840/0x2,_0x112ddf=_0x5232c8[_0x2c73b9(0x3a8)][_0x2c73b9(0x526)](),_0x377b63=new _0x5e3080['Transform']([_0x112ddf[0x0],_0x112ddf[0x1],_0x112ddf[0x2],_0x112ddf[0x3],_0x5d1d96,_0x12f75b]),_0x5cb747=_0x5232c8[_0x2c73b9(0x35b)](),_0xcba4ac=(_0x5232c8['isInGroup']&&(_0x5cb747==null?void 0x0:_0x5cb747['classType'])===_0x5e3080[_0x2c73b9(0x3fe)]['GROUP']?_0x5cb747[_0x2c73b9(0x338)][_0x2c73b9(0x36b)](_0x377b63):_0x377b63)[_0x2c73b9(0x1cb)]()[_0x2c73b9(0x3fc)](_0x22f953),_0x55c2cb=_0x286a89/0x2,_0x189838=_0xcd3840/0x2;if(_0xcba4ac['x']>=-_0x55c2cb-0x5&&_0xcba4ac['x']<=_0x55c2cb+0x5&&_0xcba4ac['y']>=-_0x189838-0x5&&_0xcba4ac['y']<=_0x189838+0x5)return{'shapeId':_0x8edf8d,'shapeModel':_0x264886};}return null;}[_0x439e5d(0x288)](_0x4dd01e,_0x450a86){const _0x2b8976=_0x439e5d;if(!this[_0x2b8976(0x577)])return;let _0x404e61=(0x0,_0x89eb48[_0x2b8976(0x236)])({'unitId':this[_0x2b8976(0x49a)],'subUnitId':this[_0x2b8976(0x289)],'drawingId':_0x4dd01e}),_0x25403f=this[_0x2b8976(0x577)][_0x2b8976(0x2b6)](_0x404e61);if(!_0x25403f)return;let {left:_0x4b3f94,top:_0xef4d9d,width:_0x22e7cc,height:_0x5c988e}=_0x25403f[_0x2b8976(0x2d6)](),_0x4e12db=_0x4b3f94+_0x22e7cc/0x2,_0xf73717=_0xef4d9d+_0x5c988e/0x2,_0x170971=_0x25403f[_0x2b8976(0x3a8)]['getMatrix'](),_0xfab216=new _0x5e3080[(_0x2b8976(0x2c1))]([_0x170971[0x0],_0x170971[0x1],_0x170971[0x2],_0x170971[0x3],_0x4e12db,_0xf73717]),_0x1a94ce=_0x25403f[_0x2b8976(0x35b)](),_0x5cf581=_0x25403f[_0x2b8976(0x3a5)]&&(_0x1a94ce==null?void 0x0:_0x1a94ce['classType'])===_0x5e3080[_0x2b8976(0x3fe)]['GROUP']?_0x1a94ce[_0x2b8976(0x338)][_0x2b8976(0x36b)](_0xfab216):_0xfab216;_0x450a86['updateContext']({'width':_0x22e7cc,'height':_0x5c988e});let _0x31a170=_0x450a86[_0x2b8976(0x58e)]();for(let _0x10be90 of _0x31a170){let _0x361f2f=_0x10be90['x']-_0x22e7cc/0x2,_0xe22259=_0x10be90['y']-_0x5c988e/0x2,_0x291f04=_0x5cf581[_0x2b8976(0x3fc)]({'x':_0x361f2f,'y':_0xe22259}),_0x130373=_0x291f04['x'],_0x5a6e23=_0x291f04['y'],_0x5abe5a=new _0x2ed77a(_0x2b8976(0x20b)+_0x4dd01e+'-'+_0x10be90[_0x2b8976(0x558)],{'left':_0x130373-_0x42c76f[_0x2b8976(0x1de)][_0x2b8976(0x2d3)],'top':_0x5a6e23-_0x42c76f[_0x2b8976(0x1de)]['cxnPointRadius'],'targetShapeId':_0x4dd01e,'cxnIndex':_0x10be90[_0x2b8976(0x558)],'unitId':this[_0x2b8976(0x49a)],'subUnitId':this[_0x2b8976(0x289)],'width':_0x42c76f[_0x2b8976(0x1de)][_0x2b8976(0x2d3)]*0x2,'height':_0x42c76f['ShapeDefaultConfig'][_0x2b8976(0x2d3)]*0x2,'zIndex':_0x5e3080[_0x2b8976(0x52a)]+0x2,'evented':!0x1});this[_0x2b8976(0x2a0)]['push'](_0x5abe5a),this['_currentScene'][_0x2b8976(0x34e)](_0x5abe5a,_0x5e3080[_0x2b8976(0x52a)]+0x2);}}[_0x439e5d(0x45e)](_0xaa0a35){const _0x229a56=_0x439e5d;let _0x3ea336=null,_0x37d320=0x1/0x0,_0x4cb69e=null;for(let _0x1d4b18 of this[_0x229a56(0x2a0)]){let _0x9250e4=_0x1d4b18['left']+_0x42c76f[_0x229a56(0x1de)][_0x229a56(0x2d3)],_0x4b0720=_0x1d4b18[_0x229a56(0x22d)]+_0x42c76f['ShapeDefaultConfig'][_0x229a56(0x2d3)],_0x2fb57c=_0xaa0a35['x']-_0x9250e4,_0x51b906=_0xaa0a35['y']-_0x4b0720,_0xdb98b6=Math[_0x229a56(0x57f)](_0x2fb57c*_0x2fb57c+_0x51b906*_0x51b906);_0xdb98b6<_0x37d320&&(_0x37d320=_0xdb98b6,_0x3ea336=_0x1d4b18,_0x4cb69e={'x':_0x9250e4,'y':_0x4b0720});}let _0x167da0=_0x37d320<=0xa&&_0x3ea336?_0x3ea336[_0x229a56(0x260)]()[_0x229a56(0x434)]:-0x1;if(_0x167da0!==this[_0x229a56(0x2df)]){for(let _0x1d701d of this[_0x229a56(0x2a0)]){let _0x5beee8=_0x1d701d[_0x229a56(0x260)]();_0x1d701d[_0x229a56(0x281)](_0x5beee8['cxnIndex']===_0x167da0);}this[_0x229a56(0x2df)]=_0x167da0;}if(_0x37d320<=0xa&&_0x3ea336&&_0x4cb69e){let _0x54b987=_0x3ea336['getConnectionInfo'](),_0xb05250=this[_0x229a56(0x1f8)](_0x54b987[_0x229a56(0x1cf)],_0x54b987[_0x229a56(0x434)]);return{'shapeId':_0x54b987[_0x229a56(0x1cf)],'cxnIndex':_0x54b987[_0x229a56(0x434)],'unitId':_0x54b987[_0x229a56(0x3a2)],'subUnitId':_0x54b987[_0x229a56(0x555)],'worldPoint':_0x4cb69e,'angle':_0xb05250};}return null;}[_0x439e5d(0x1f8)](_0xc9d3eb,_0x50164c){const _0x310c8b=_0x439e5d;let _0x560048=this[_0x310c8b(0x4f6)][_0x310c8b(0x1df)](this['_unitId'],this[_0x310c8b(0x289)],_0xc9d3eb);if(!_0x560048)return 0x0;let _0xb19fc=this['_drawingManagerService'][_0x310c8b(0x269)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0xc9d3eb});if(!(_0xb19fc!=null&&_0xb19fc[_0x310c8b(0x3a8)]))return 0x0;let {width:_0xf93610=0x0,height:_0x47b9cf=0x0,flipX:_0x426558=!0x1,flipY:_0x4f19bf=!0x1}=_0xb19fc[_0x310c8b(0x3a8)];_0x560048[_0x310c8b(0x580)]({'width':_0xf93610,'height':_0x47b9cf});let _0x43f241=_0x560048[_0x310c8b(0x58e)]()['find'](_0x55938f=>_0x55938f[_0x310c8b(0x558)]===_0x50164c);if(!_0x43f241)return 0x0;let _0x42f6e7=_0x43f241[_0x310c8b(0x3ca)]/0xea60;return _0x426558&&(_0x42f6e7=0xb4-_0x42f6e7),_0x4f19bf&&(_0x42f6e7=-_0x42f6e7),_0x42f6e7=(_0x42f6e7%0x168+0x168)%0x168,_0x42f6e7;}[_0x439e5d(0x3b7)](){const _0x81c45d=_0x439e5d;for(let _0x1f9b2f of this[_0x81c45d(0x2a0)])_0x1f9b2f[_0x81c45d(0x27e)]();this[_0x81c45d(0x2a0)]=[],this[_0x81c45d(0x2df)]=-0x1;}[_0x439e5d(0x27e)](){const _0x184621=_0x439e5d;this[_0x184621(0x3b7)](),super['dispose']();}};_0x32b22d=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5e3080[_0x439e5d(0x265)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x89eb48['IDrawingManagerService'])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)]))],_0x32b22d);let _0x2d338f=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x3b2222,_0x3dc498,_0x4dcb29,_0x22bcf2,_0x193429){const _0x2b534b=_0x439e5d;super(),this[_0x2b534b(0x4a9)]=_0x3b2222,this[_0x2b534b(0x29b)]=_0x3dc498,this[_0x2b534b(0x3c1)]=_0x4dcb29,this[_0x2b534b(0x1be)]=_0x22bcf2,this[_0x2b534b(0x59c)]=_0x193429,_0x355f4a(this,_0x2b534b(0x1f0),void 0x0),this[_0x2b534b(0x402)](),this[_0x2b534b(0x44f)]();}get[_0x439e5d(0x24d)](){const _0x49a048=_0x439e5d;return this[_0x49a048(0x3c1)][_0x49a048(0x52f)]();}[_0x439e5d(0x44f)](){const _0x5a3fae=_0x439e5d;this['_groupCopyPasteController'][_0x5a3fae(0x490)](({fromUnitId:_0x2366a6,fromSubUnitId:_0x48614f,toUnitId:_0x31dea1,toSubUnitId:_0x3f3885,idMap:_0x2cb206})=>{const _0x49035f=_0x5a3fae;let _0x15390b=[],_0x50090e=[];for(let [_0xfbc8e6,_0x1988af]of _0x2cb206[_0x49035f(0x51f)]()){let _0x4b46f3=this[_0x49035f(0x1be)]['getShapeModel'](_0x2366a6,_0x48614f,_0xfbc8e6);if(!_0x4b46f3)continue;let _0x39cb98=_0x4b46f3['getShapeType'](),_0x330454=JSON[_0x49035f(0x360)](JSON[_0x49035f(0x565)](_0x4b46f3['getShapeData']()));if(_0x330454[_0x49035f(0x38c)]){var _0x2729bb,_0xde5c69;let _0x356210=(_0x2729bb=_0x330454[_0x49035f(0x38c)][_0x49035f(0x1d9)])==null?void 0x0:_0x2729bb['shapeId'],_0x354751=(_0xde5c69=_0x330454[_0x49035f(0x38c)]['to'])==null?void 0x0:_0xde5c69[_0x49035f(0x1cf)],_0x367e2f=!_0x356210||_0x2cb206[_0x49035f(0x59f)](_0x356210),_0x1fb9ba=!_0x354751||_0x2cb206[_0x49035f(0x59f)](_0x354751);_0x367e2f&&_0x356210&&_0x330454['relation'][_0x49035f(0x1d9)]?_0x330454[_0x49035f(0x38c)][_0x49035f(0x1d9)]={..._0x330454[_0x49035f(0x38c)]['from'],'shapeId':_0x2cb206[_0x49035f(0x55f)](_0x356210)}:_0x330454['relation'][_0x49035f(0x1d9)]=void 0x0,_0x1fb9ba&&_0x354751&&_0x330454[_0x49035f(0x38c)]['to']?_0x330454['relation']['to']={..._0x330454[_0x49035f(0x38c)]['to'],'shapeId':_0x2cb206[_0x49035f(0x55f)](_0x354751)}:_0x330454[_0x49035f(0x38c)]['to']=void 0x0;}_0x15390b[_0x49035f(0x1d6)]({'id':_0x43ee3e['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x31dea1,'subUnitId':_0x3f3885,'shapeId':_0x1988af,'shapeType':_0x39cb98,'shapeData':_0x330454}}),_0x50090e['push']({'id':_0x43ee3e[_0x49035f(0x2c4)]['id'],'params':{'unitId':_0x31dea1,'subUnitId':_0x3f3885,'shapeId':_0x1988af}});}return{'redos':_0x15390b,'undos':_0x50090e};});}[_0x439e5d(0x402)](){const _0x71806b=_0x439e5d;this[_0x71806b(0x575)](this['_sheetClipboardService'][_0x71806b(0x5aa)]({'id':'sheets-shape-ui','onBeforeCopyFocusedObject':(_0x3996d3,_0x441bb9,_0x3100b4)=>{const _0x5d84ae=_0x71806b;this[_0x5d84ae(0x1f0)]=null;let _0x3abdc7=this[_0x5d84ae(0x24d)][_0x5d84ae(0x4a3)](_0x397c56=>_0x397c56[_0x5d84ae(0x31a)]===_0x4fcc67[_0x5d84ae(0x204)]['DRAWING_SHAPE']);return _0x3abdc7[_0x5d84ae(0x298)]!==0x0&&(this[_0x5d84ae(0x1f0)]={'unitId':_0x3996d3,'subUnitId':_0x441bb9,'copyType':_0x3100b4,'drawings':_0x3abdc7},!0x0);},'onBeforeCopy':(_0x1ae8ea,_0x4d3c8f,_0xa8bad1,_0x4b2fae)=>{const _0x467ed4=_0x71806b;this[_0x467ed4(0x1f0)]=null,this[_0x467ed4(0x389)](_0x1ae8ea,_0x4d3c8f,_0xa8bad1,_0x4b2fae);},'onPasteCells':(_0x22acd7,_0x20c136,_0x512656,_0x43ea54)=>{const _0x5e7fc3=_0x71806b;if(!_0x43ea54[_0x5e7fc3(0x205)]||!_0x22acd7||!this[_0x5e7fc3(0x1f0)])return{'redos':[],'undos':[]};let {pasteType:_0x3cd57e}=_0x43ea54;return _0x3cd57e===_0x5b8007[_0x5e7fc3(0x2d4)][_0x5e7fc3(0x1e6)]?this['_generatePasteMutations'](_0x20c136,this[_0x5e7fc3(0x1f0)][_0x5e7fc3(0x240)]===_0x5b8007[_0x5e7fc3(0x216)][_0x5e7fc3(0x25f)]):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0x31d83f,_0x511c86,_0x527758,_0xadb56e){const _0x5d91ef=_0x439e5d;let _0x3439a8=this[_0x5d91ef(0x4a9)]['getSkeleton'](_0x31d83f,_0x511c86);if(!_0x3439a8)return;let _0x4ce8ef=(0x0,_0x33d9c6['attachRangeWithCoord'])(_0x3439a8,_0x527758);if(!_0x4ce8ef)return;let {startX:_0x198e0a,endX:_0x46b8da,startY:_0x15676d,endY:_0x4a6868}=_0x4ce8ef,_0x17659c=this[_0x5d91ef(0x3c1)][_0x5d91ef(0x537)](_0x31d83f,_0x511c86),_0x5b92ec=[];for(let [_0x4e5209,_0x3b9307]of Object['entries'](_0x17659c)){if(_0x3b9307[_0x5d91ef(0x31a)]!==_0x4fcc67[_0x5d91ef(0x204)][_0x5d91ef(0x4b8)])continue;let {transform:_0x85f538}=_0x3b9307;if(!_0x85f538)continue;let {left:_0x23f920=0x0,top:_0x5e0fca=0x0,width:_0x4401bb=0x0,height:_0x51ba2f=0x0}=_0x85f538;_0x198e0a<=_0x23f920&&_0x46b8da>=_0x23f920+_0x4401bb&&_0x15676d<=_0x5e0fca&&_0x4a6868>=_0x5e0fca+_0x51ba2f&&_0x5b92ec[_0x5d91ef(0x1d6)](_0x3b9307);}_0x5b92ec['length']>0x0&&(this[_0x5d91ef(0x1f0)]={'unitId':_0x31d83f,'subUnitId':_0x511c86,'copyType':_0xadb56e,'copyRange':_0x527758,'drawings':_0x5b92ec});}[_0x439e5d(0x2ce)](_0x2271b5,_0x10e207){const _0x56110b=_0x439e5d;let {unitId:_0xe2fd42,subUnitId:_0x37ffd9,range:_0x2d9327}=_0x2271b5,_0x350da6=this[_0x56110b(0x4a9)]['getSkeleton'](_0xe2fd42,_0x37ffd9);if(!_0x350da6)return{'redos':[],'undos':[]};let _0x279132=(0x0,_0x33d9c6[_0x56110b(0x44b)])(_0x2d9327),{unitId:_0xeb68d0,subUnitId:_0x19e3d5,copyRange:_0x449681,drawings:_0xc0af66}=this['_copyInfo'],_0x3f71cd=this[_0x56110b(0x4a9)]['getSkeleton'](_0xeb68d0,_0x19e3d5);if(!_0x3f71cd)return{'redos':[],'undos':[]};let _0x1b7dbf;if(!_0x449681){let _0x10da58=0x1/0x0,_0x125792=0x1/0x0;for(let _0x55cdb3 of _0xc0af66){let {left:_0x13c651=0x0,top:_0x5a9ece=0x0}=_0x55cdb3[_0x56110b(0x3a8)]??{};_0x13c651<_0x10da58&&(_0x10da58=_0x13c651),_0x5a9ece<_0x125792&&(_0x125792=_0x5a9ece);}_0x10da58!==0x1/0x0&&_0x125792!==0x1/0x0&&(_0x1b7dbf={'left':_0x10da58,'top':_0x125792});}let _0x30b4d2=new Map();if(!_0x10e207){for(let _0x30c83a of _0xc0af66)_0x30b4d2[_0x56110b(0x2e2)](_0x30c83a[_0x56110b(0x457)],(0x0,_0x4fcc67[_0x56110b(0x319)])());}let _0x1af657=[],_0x126e87=[];for(let _0x1671fa of _0xc0af66){let {drawingId:_0x37a5fe,transform:_0x2201fb,sheetTransform:_0x28b0aa}=_0x1671fa;if(!_0x2201fb||!_0x28b0aa)continue;let _0x5484e7=this[_0x56110b(0x20d)]({'transform':_0x2201fb,'sheetTransform':_0x28b0aa},{'skeleton':_0x3f71cd,'range':_0x449681},{'skeleton':_0x350da6,'range':_0x279132},_0x1b7dbf);if(_0x10e207){let {redos:_0x3383ae,undos:_0x439398}=this[_0x56110b(0x4d1)]({'fromUnitId':_0xeb68d0,'fromSubUnitId':_0x19e3d5,'toUnitId':_0xe2fd42,'toSubUnitId':_0x37ffd9,'drawing':_0x1671fa,'newTransforms':_0x5484e7});_0x1af657[_0x56110b(0x1d6)](..._0x3383ae),_0x126e87[_0x56110b(0x1d6)](..._0x439398);continue;}let {redos:_0x26e084,undos:_0x592fd1}=this[_0x56110b(0x44e)]({'toUnitId':_0xe2fd42,'toSubUnitId':_0x37ffd9,'drawing':_0x1671fa,'newTransforms':_0x5484e7,'newDrawingId':_0x30b4d2['get'](_0x37a5fe),'idMap':_0x30b4d2});_0x1af657[_0x56110b(0x1d6)](..._0x26e084),_0x126e87[_0x56110b(0x1d6)](..._0x592fd1);}return{'redos':_0x1af657,'undos':_0x126e87};}[_0x439e5d(0x4d1)](_0x441ba7){const _0x25af6b=_0x439e5d;let {fromUnitId:_0x360d28,fromSubUnitId:_0xbcc421,toUnitId:_0x881592,toSubUnitId:_0x5a59c6,drawing:_0x4d1238,newTransforms:_0xdf6a94}=_0x441ba7,_0x2ed271={..._0x4d1238,'unitId':_0x881592,'subUnitId':_0x5a59c6,'transform':_0xdf6a94['transform'],'sheetTransform':_0xdf6a94[_0x25af6b(0x4ad)]};if(_0x881592===_0x360d28&&_0x5a59c6===_0xbcc421){let {redo:_0x1afa2e,undo:_0x58399f,objects:_0x159324}=this[_0x25af6b(0x3c1)][_0x25af6b(0x3df)]([_0x2ed271]);return{'redos':[{'id':_0x51f92a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a['DrawingApplyType'][_0x25af6b(0x4f1)],'op':_0x1afa2e,'objects':_0x159324}}],'undos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x4f1)],'op':_0x58399f,'objects':_0x159324}}]};}{let _0x5932e8=this[_0x25af6b(0x3c1)][_0x25af6b(0x1e3)]([_0x4d1238]),_0xd048d4=this[_0x25af6b(0x3c1)][_0x25af6b(0x2f2)]([_0x2ed271]),_0x3fa6d0=this[_0x25af6b(0x1be)][_0x25af6b(0x1df)](_0x4d1238['unitId'],_0x4d1238['subUnitId'],_0x4d1238[_0x25af6b(0x457)]);if(!_0x3fa6d0)return{'redos':[],'undos':[]};let _0x324166=_0x3fa6d0['getShapeType'](),_0x21c908=JSON['parse'](JSON[_0x25af6b(0x565)](_0x3fa6d0[_0x25af6b(0x339)]()));return{'redos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x2ca)],'op':_0x5932e8[_0x25af6b(0x1c8)],'objects':_0x5932e8['objects']}},{'id':_0x43ee3e[_0x25af6b(0x2c4)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'shapeId':_0x4d1238['drawingId']}},{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x55d)],'op':_0xd048d4[_0x25af6b(0x1c8)],'objects':_0xd048d4[_0x25af6b(0x2f8)]}},{'id':_0x43ee3e[_0x25af6b(0x4f4)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'shapeId':_0x4d1238[_0x25af6b(0x457)],'shapeType':_0x324166,'shapeData':_0x21c908}}],'undos':[{'id':_0x51f92a[_0x25af6b(0x568)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'type':_0x51f92a['DrawingApplyType'][_0x25af6b(0x55d)],'op':_0x5932e8[_0x25af6b(0x23b)],'objects':_0x5932e8[_0x25af6b(0x2f8)]}},{'id':_0x43ee3e[_0x25af6b(0x4f4)]['id'],'params':{'unitId':_0x360d28,'subUnitId':_0xbcc421,'shapeId':_0x4d1238['drawingId'],'shapeType':_0x324166,'shapeData':_0x21c908}},{'id':_0x51f92a['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'type':_0x51f92a[_0x25af6b(0x4c6)][_0x25af6b(0x2ca)],'op':_0xd048d4[_0x25af6b(0x23b)],'objects':_0xd048d4['objects']}},{'id':_0x43ee3e[_0x25af6b(0x2c4)]['id'],'params':{'unitId':_0x881592,'subUnitId':_0x5a59c6,'shapeId':_0x4d1238[_0x25af6b(0x457)]}}]};}}[_0x439e5d(0x44e)](_0x22c882){const _0x85fb54=_0x439e5d;let {toUnitId:_0x3c9bc7,toSubUnitId:_0x4d1fdb,drawing:_0x1e74ac,newTransforms:_0x4b0133,newDrawingId:_0x5f2aa0,idMap:_0x52c4cb}=_0x22c882,_0x5ef717={..._0x1e74ac,'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'drawingId':_0x5f2aa0,'transform':_0x4b0133[_0x85fb54(0x3a8)],'sheetTransform':_0x4b0133[_0x85fb54(0x4ad)]},{redo:_0x48e3bf,undo:_0x557c7a,objects:_0xa03629}=this['_sheetDrawingService']['getBatchAddOp']([_0x5ef717]),_0x43cc33=this[_0x85fb54(0x1be)]['getShapeModel'](_0x1e74ac[_0x85fb54(0x3a2)],_0x1e74ac[_0x85fb54(0x555)],_0x1e74ac[_0x85fb54(0x457)]);if(!_0x43cc33)return{'redos':[],'undos':[]};let _0x34b540=_0x43cc33[_0x85fb54(0x587)](),_0x304fe2=JSON[_0x85fb54(0x360)](JSON[_0x85fb54(0x565)](_0x43cc33['getShapeData']()));if(_0x304fe2[_0x85fb54(0x38c)]){var _0x3489c6,_0x470d74;let _0x5726a8=(_0x3489c6=_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)])==null?void 0x0:_0x3489c6[_0x85fb54(0x1cf)],_0x574c2f=(_0x470d74=_0x304fe2[_0x85fb54(0x38c)]['to'])==null?void 0x0:_0x470d74[_0x85fb54(0x1cf)],_0x4f9d64=!_0x5726a8||_0x52c4cb[_0x85fb54(0x59f)](_0x5726a8),_0x18385=!_0x574c2f||_0x52c4cb[_0x85fb54(0x59f)](_0x574c2f);_0x4f9d64&&_0x5726a8&&_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)]?_0x304fe2[_0x85fb54(0x38c)]['from']={..._0x304fe2['relation'][_0x85fb54(0x1d9)],'shapeId':_0x52c4cb[_0x85fb54(0x55f)](_0x5726a8)}:_0x304fe2[_0x85fb54(0x38c)][_0x85fb54(0x1d9)]=void 0x0,_0x18385&&_0x574c2f&&_0x304fe2['relation']['to']?_0x304fe2[_0x85fb54(0x38c)]['to']={..._0x304fe2[_0x85fb54(0x38c)]['to'],'shapeId':_0x52c4cb[_0x85fb54(0x55f)](_0x574c2f)}:_0x304fe2['relation']['to']=void 0x0;}return{'redos':[{'id':_0x51f92a[_0x85fb54(0x568)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'type':_0x51f92a[_0x85fb54(0x4c6)][_0x85fb54(0x55d)],'op':_0x48e3bf,'objects':_0xa03629}},{'id':_0x43ee3e[_0x85fb54(0x4f4)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'shapeId':_0x5f2aa0,'shapeType':_0x34b540,'shapeData':_0x304fe2}}],'undos':[{'id':_0x51f92a[_0x85fb54(0x568)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'type':_0x51f92a[_0x85fb54(0x4c6)]['REMOVE'],'op':_0x557c7a,'objects':_0xa03629}},{'id':_0x43ee3e[_0x85fb54(0x2c4)]['id'],'params':{'unitId':_0x3c9bc7,'subUnitId':_0x4d1fdb,'shapeId':_0x5f2aa0}}]};}[_0x439e5d(0x20d)](_0x4c5c7d,_0x4ff141,_0x2cb15b,_0x1401ff){const _0x8eba88=_0x439e5d;let {range:_0x2bc4db,skeleton:_0x2f78e1}=_0x4ff141,{range:_0x378803,skeleton:_0x40a209}=_0x2cb15b,{transform:_0x3345de,sheetTransform:_0x421fda}=_0x4c5c7d,_0x27aef0={..._0x3345de};if(_0x2bc4db){let _0x49d6fe=(0x0,_0x33d9c6[_0x8eba88(0x42d)])(_0x2f78e1,_0x2bc4db),_0x42086b=(0x0,_0x33d9c6['attachRangeWithCoord'])(_0x40a209,_0x378803);if(_0x49d6fe&&_0x42086b){let _0x1134c6=_0x42086b[_0x8eba88(0x292)]-_0x49d6fe[_0x8eba88(0x292)],_0x156d4e=_0x42086b[_0x8eba88(0x1e2)]-_0x49d6fe[_0x8eba88(0x1e2)];_0x27aef0['left']=(_0x27aef0[_0x8eba88(0x4d4)]??0x0)+_0x1134c6,_0x27aef0[_0x8eba88(0x22d)]=(_0x27aef0[_0x8eba88(0x22d)]??0x0)+_0x156d4e;}}else{let _0x5b61bf=(0x0,_0x33d9c6[_0x8eba88(0x42d)])(_0x40a209,_0x378803);if(_0x1401ff&&_0x5b61bf){let _0x4d86b0=(_0x27aef0[_0x8eba88(0x4d4)]??0x0)-_0x1401ff[_0x8eba88(0x4d4)],_0x364c83=(_0x27aef0['top']??0x0)-_0x1401ff[_0x8eba88(0x22d)];_0x27aef0[_0x8eba88(0x4d4)]=_0x5b61bf[_0x8eba88(0x292)]+_0x4d86b0,_0x27aef0['top']=_0x5b61bf[_0x8eba88(0x1e2)]+_0x364c83;}else _0x27aef0['left']=_0x5b61bf==null?void 0x0:_0x5b61bf[_0x8eba88(0x292)],_0x27aef0[_0x8eba88(0x22d)]=_0x5b61bf==null?void 0x0:_0x5b61bf[_0x8eba88(0x1e2)];}return{'transform':_0x27aef0,'sheetTransform':(0x0,_0x51f92a[_0x8eba88(0x1fc)])(_0x27aef0,_0x40a209)??_0x421fda};}};_0x2d338f=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x33d9c6['SheetSkeletonService'])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007['ISheetClipboardService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x51f92a[_0x439e5d(0x475)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x254bb3['SheetsDrawingGroupCopyPasteController']))],_0x2d338f);var _0x2814d8=class extends _0x5e3080[_0x439e5d(0x1ce)]{constructor(_0x52e4dc,_0x569095){const _0x1361cd=_0x439e5d;super(_0x52e4dc,_0x569095),_0x355f4a(this,'_shapeId',null),_0x355f4a(this,_0x1361cd(0x4dc),null),_0x355f4a(this,'_unitId',null),_0x355f4a(this,_0x1361cd(0x289),null),_0x355f4a(this,'_isStartConnectorPoint',!0x1),_0x569095&&this[_0x1361cd(0x27d)](_0x569095);}[_0x439e5d(0x5af)](){const _0x27bf66=_0x439e5d;return{'unitId':this['_unitId'],'subUnitId':this[_0x27bf66(0x289)],'drawingId':this[_0x27bf66(0x3fd)]};}['setShapeProps'](_0x193e91){const _0x4c7d89=_0x439e5d;_0x193e91[_0x4c7d89(0x1cf)]!==void 0x0&&(this[_0x4c7d89(0x3fd)]=_0x193e91['shapeId']),_0x193e91['unitId']!==void 0x0&&(this[_0x4c7d89(0x49a)]=_0x193e91[_0x4c7d89(0x3a2)]),_0x193e91[_0x4c7d89(0x555)]!==void 0x0&&(this[_0x4c7d89(0x289)]=_0x193e91[_0x4c7d89(0x555)]),_0x193e91[_0x4c7d89(0x285)]!==void 0x0&&(this[_0x4c7d89(0x3d5)]=_0x193e91['isStartConnectorPoint']),this[_0x4c7d89(0x312)]({'width':_0x193e91[_0x4c7d89(0x5a5)],'height':_0x193e91['height']});}[_0x439e5d(0x5b1)](_0x4cdcfd){const _0x460e60=_0x439e5d;_0x5e3080[_0x460e60(0x38f)][_0x460e60(0x362)](_0x4cdcfd,{'radius':_0x42c76f[_0x460e60(0x1de)][_0x460e60(0x2d3)],'fill':_0x42c76f[_0x460e60(0x1de)]['cxnPointFill'],'stroke':_0x42c76f[_0x460e60(0x1de)][_0x460e60(0x42e)],'strokeWidth':_0x42c76f['ShapeDefaultConfig']['cxnPointStrokeWidth'],'evented':!0x0});}};let _0xe1e335=class extends _0x4fcc67['Disposable']{constructor(_0x4f44ec,_0x4065d1,_0xc8cd20,_0x12f358,_0x2c9de1,_0x29a5fb,_0x56a4e7,_0x3cfe86){const _0x27e411=_0x439e5d;super(),this[_0x27e411(0x316)]=_0x4f44ec,this[_0x27e411(0x30c)]=_0x4065d1,this[_0x27e411(0x35d)]=_0xc8cd20,this[_0x27e411(0x232)]=_0x12f358,this['_univerInstanceService']=_0x2c9de1,this[_0x27e411(0x4f6)]=_0x29a5fb,this[_0x27e411(0x1d5)]=_0x56a4e7,this[_0x27e411(0x441)]=_0x3cfe86,_0x355f4a(this,_0x27e411(0x52c),void 0x0),_0x355f4a(this,'_unitId',void 0x0),_0x355f4a(this,'_subUnitId',void 0x0),_0x355f4a(this,_0x27e411(0x5ab),[]),_0x355f4a(this,_0x27e411(0x1d7),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x355f4a(this,_0x27e411(0x2db),void 0x0),_0x355f4a(this,_0x27e411(0x224),!0x1),_0x355f4a(this,_0x27e411(0x32c),!0x1),_0x355f4a(this,_0x27e411(0x346),!0x1),_0x355f4a(this,_0x27e411(0x1e4),void 0x0),_0x355f4a(this,'_cxtHandlerPointerUp',void 0x0),_0x355f4a(this,_0x27e411(0x583),null),this[_0x27e411(0x219)]();}[_0x439e5d(0x219)](){const _0x1be7d7=_0x439e5d;this['_registerDrawingFocusChangeHandler'](),this[_0x1be7d7(0x1fa)]();}[_0x439e5d(0x274)](){const _0x55ff07=_0x439e5d;if(!this[_0x55ff07(0x49a)]||!this[_0x55ff07(0x289)]||!this[_0x55ff07(0x52c)])return;let _0xe5e81f={'unitId':this['_unitId'],'subUnitId':this[_0x55ff07(0x289)],'drawingId':this[_0x55ff07(0x52c)]},{transform:_0xe54931}=this[_0x55ff07(0x232)][_0x55ff07(0x269)](_0xe5e81f);if(_0xe54931)return{'left':_0xe54931['left']||0x0,'top':_0xe54931[_0x55ff07(0x22d)]||0x0,'width':_0xe54931['width']||0x0,'height':_0xe54931[_0x55ff07(0x509)]||0x0,'flipX':_0xe54931['flipX']||!0x1,'flipY':_0xe54931[_0x55ff07(0x31f)]||!0x1,'angle':_0xe54931[_0x55ff07(0x2cd)]};}[_0x439e5d(0x39c)](){const _0x49688f=_0x439e5d;if(this[_0x49688f(0x49a)]===void 0x0||this[_0x49688f(0x289)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x1c160e=this[_0x49688f(0x35d)]['getRenderUnitById'](this[_0x49688f(0x49a)]);if(!_0x1c160e||!_0x1c160e['with'](_0x5b8007['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x5bba92}=_0x1c160e,_0x1de092=this['_getDrawingRect']();if(!_0x1de092)return;let _0x5c86d2=this[_0x49688f(0x4f6)][_0x49688f(0x1df)](this['_unitId'],this[_0x49688f(0x289)],this['_activeShapeId']);if(!_0x5c86d2||!(0x0,_0x42c76f[_0x49688f(0x2a1)])(_0x5c86d2[_0x49688f(0x587)]()))return;let _0x3cbead=_0x5c86d2['getConnectorLinePoints']();if(_0x3cbead[_0x49688f(0x298)]<0x2)return;let _0x3e83b9=new _0x42c76f[(_0x49688f(0x2d8))](_0x1de092),_0x3ba064=_0x3cbead[0x0],_0x236121=_0x3cbead[_0x3cbead[_0x49688f(0x298)]-0x1],_0x368117=_0x3e83b9[_0x49688f(0x231)](_0x3ba064),_0x4d98b5=_0x3e83b9[_0x49688f(0x231)](_0x236121);this[_0x49688f(0x488)](_0x5bba92,{..._0x368117},!0x0),this['_addShapeConnectorHandlerObject'](_0x5bba92,{..._0x4d98b5},!0x1);}['_addShapeConnectorHandlerObject'](_0x49f895,_0x313468,_0x1bedfb){const _0x21d341=_0x439e5d;if(this[_0x21d341(0x52c)]===void 0x0||this[_0x21d341(0x49a)]===void 0x0||this[_0x21d341(0x289)]===void 0x0)return;let _0x2a9898='connector-handler-'+this[_0x21d341(0x49a)]+'-'+this[_0x21d341(0x289)]+'-'+this['_activeShapeId']+'-'+(_0x1bedfb?_0x21d341(0x317):'end'),_0x1de462=_0x49f895[_0x21d341(0x2b6)](_0x2a9898);if(_0x1de462){_0x1de462[_0x21d341(0x312)]({'left':_0x313468['x']-_0x42c76f['ShapeDefaultConfig'][_0x21d341(0x2d3)],'top':_0x313468['y']-_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)]});return;}let _0x398e00=new _0x2814d8(_0x2a9898,{'left':_0x313468['x']-_0x42c76f[_0x21d341(0x1de)]['cxnPointRadius'],'top':_0x313468['y']-_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)],'shapeId':this[_0x21d341(0x52c)],'unitId':this[_0x21d341(0x49a)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x1bedfb,'width':_0x42c76f[_0x21d341(0x1de)][_0x21d341(0x2d3)]*0x2,'height':_0x42c76f['ShapeDefaultConfig'][_0x21d341(0x2d3)]*0x2,'zIndex':_0x5e3080[_0x21d341(0x52a)]+0x1,'evented':!0x0});this['_connectorObjects']['push'](_0x398e00),this['_attachConnectorObjectEvent'](_0x398e00,_0x49f895,_0x1bedfb),_0x49f895[_0x21d341(0x34e)](_0x398e00,_0x5e3080[_0x21d341(0x52a)]+0x1);}[_0x439e5d(0x4ed)](_0x229407,_0x1e9930){const _0x453553=_0x439e5d;var _0x41ddad;let _0x5856c0={'x':0x0,'y':0x0};if(!_0x229407||!_0x1e9930)return _0x5856c0;let _0x2a29ac=this[_0x453553(0x35d)]['getRenderUnitById'](_0x229407);if(!_0x2a29ac||!_0x2a29ac[_0x453553(0x54f)](_0x5b8007[_0x453553(0x2e8)])[_0x453553(0x277)](_0x1e9930))return _0x5856c0;let _0x49b5a0=_0x2a29ac['with'](_0x5b8007[_0x453553(0x213)]),_0x923708=_0x49b5a0==null?void 0x0:_0x49b5a0[_0x453553(0x2c2)]();if(!_0x923708)return _0x5856c0;let _0x42157d=(_0x41ddad=this['_univerInstanceService'][_0x453553(0x3ff)](_0x229407))==null?void 0x0:_0x41ddad[_0x453553(0x43a)](_0x1e9930);if(!_0x42157d)return _0x5856c0;let _0x1f6d2c=(0x0,_0x5b8007[_0x453553(0x330)])(_0x923708[_0x453553(0x467)],_0x923708[_0x453553(0x353)],_0x2a29ac[_0x453553(0x56f)],_0x42157d);return _0x1f6d2c?{'x':_0x1f6d2c[_0x453553(0x4d2)],'y':_0x1f6d2c['viewportScrollY']}:_0x5856c0;}[_0x439e5d(0x3d9)](_0x55b0ea,_0x2ca097){const _0x386f56=_0x439e5d;var _0x5363ad;let _0xb68cfd=(_0x5363ad=this[_0x386f56(0x54b)][_0x386f56(0x3ff)](_0x55b0ea))==null?void 0x0:_0x5363ad['getSheetBySheetId'](_0x2ca097);return(_0xb68cfd==null?void 0x0:_0xb68cfd[_0x386f56(0x597)]())??0x1;}[_0x439e5d(0x335)](_0x1e8f17,_0x47912a,_0x102bb4,_0x14502e,_0xe83688){const _0x58b208=_0x439e5d;this[_0x58b208(0x1e4)][_0x58b208(0x2e3)](),this[_0x58b208(0x245)][_0x58b208(0x2e3)](),this[_0x58b208(0x1d5)]['refreshAdjustControls']();let _0x3fcb11=this['_currentConnectionTarget'];this[_0x58b208(0x441)][_0x58b208(0x20c)]();let _0x4f5ee1=this[_0x58b208(0x4ed)](this['_unitId'],this[_0x58b208(0x289)]),_0x52ea9f=this[_0x58b208(0x3d9)](this['_unitId'],this['_subUnitId']),_0x526f69={'x':_0x102bb4[_0x58b208(0x525)]/_0x52ea9f+_0x4f5ee1['x'],'y':_0x102bb4[_0x58b208(0x409)]/_0x52ea9f+_0x4f5ee1['y']},_0x25b422=_0x3fcb11?_0x3fcb11['worldPoint']:_0x526f69,_0x55188a=_0x14502e?this[_0x58b208(0x2db)][_0x58b208(0x341)]():this[_0x58b208(0x2db)][_0x58b208(0x4cd)](),_0x2e1fa9=this[_0x58b208(0x2db)][_0x58b208(0x587)]();_0x55188a?this[_0x58b208(0x4c5)](_0x55188a,_0x25b422,_0x14502e,_0x3fcb11,_0xe83688):this[_0x58b208(0x1ba)](_0x47912a,_0x25b422,_0x14502e,_0x3fcb11,_0xe83688,_0x2e1fa9),this[_0x58b208(0x224)]=!0x1,this[_0x58b208(0x346)]=!0x1,this[_0x58b208(0x583)]=null,_0x1e8f17['enableObjectsEvent']();}[_0x439e5d(0x1ba)](_0x138e95,_0x557e95,_0x4428cf,_0x1f4a42,_0x58a1fd,_0x30e4a8){const _0x6a932b=_0x439e5d;let _0x2716a4=_0x30e4a8===_0x42c76f['ShapeTypeEnum'][_0x6a932b(0x3f3)]||_0x30e4a8===_0x42c76f[_0x6a932b(0x50a)][_0x6a932b(0x4d7)],_0x17a467=_0x4428cf?_0x557e95:_0x138e95,_0x1cec59=_0x4428cf?_0x138e95:_0x557e95,_0xf7d283=this[_0x6a932b(0x2db)]['getConnectorLinePoints'](),_0x510ef1=this[_0x6a932b(0x2db)][_0x6a932b(0x587)](),_0x48dc87=(0x0,_0x42c76f['isCurvedConnectorShape'])(_0x510ef1),_0x3bfd42=_0x42c76f[_0x6a932b(0x2d8)]['getBentTypeFromPoints'](_0xf7d283,_0x48dc87),_0x4fa241=_0x2716a4?_0x42c76f[_0x6a932b(0x2d8)][_0x6a932b(0x234)](_0x17a467,_0x1cec59):_0x42c76f['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x138e95,_0x557e95,_0x4428cf,_0x3bfd42);_0x1f4a42?this[_0x6a932b(0x221)](_0x4fa241,_0x1f4a42,_0x4428cf,_0x58a1fd):this[_0x6a932b(0x251)](_0x4fa241,_0x58a1fd);}[_0x439e5d(0x4c5)](_0x357518,_0x2d298c,_0x3eb259,_0x7d0d82,_0x1cca36){const _0xa60de7=_0x439e5d;let _0x651ebe=this[_0xa60de7(0x2dd)](_0x357518);if(!_0x651ebe)return;let _0x4b6a2e=_0x7d0d82?_0x7d0d82[_0xa60de7(0x2cd)]:this['_calculateFreeEndpointAngle'](_0x651ebe['point'],_0x2d298c),_0x79d870;if(_0x7d0d82){let _0x534463=this['_drawingManagerService'][_0xa60de7(0x269)]({'unitId':_0x7d0d82[_0xa60de7(0x3a2)],'subUnitId':_0x7d0d82[_0xa60de7(0x555)],'drawingId':_0x7d0d82[_0xa60de7(0x1cf)]});if(_0x534463!=null&&_0x534463[_0xa60de7(0x3a8)]){let {left:_0x2c0aba=0x0,top:_0x355e2c=0x0,width:_0x141f7f=0x0,height:_0x6984ad=0x0,angle:_0x408cff}=_0x534463[_0xa60de7(0x3a8)];_0x79d870=(0x0,_0x42c76f[_0xa60de7(0x547)])({'left':_0x2c0aba,'top':_0x355e2c,'width':_0x141f7f,'height':_0x6984ad},_0x408cff||0x0);}else _0x79d870={'left':_0x2d298c['x'],'top':_0x2d298c['y'],'width':0x0,'height':0x0};}else _0x79d870={'left':_0x2d298c['x'],'top':_0x2d298c['y'],'width':0x0,'height':0x0};let _0x2cb2d3={'point':_0x2d298c,'angle':_0x4b6a2e,'bounds':_0x79d870},_0x4b594d=_0x3eb259?_0x2cb2d3:_0x651ebe,_0x23d259=_0x3eb259?_0x651ebe:_0x2cb2d3,_0x36f103=this[_0xa60de7(0x2db)][_0xa60de7(0x587)](),_0xf4289e=(0x0,_0x42c76f[_0xa60de7(0x220)])(_0x4b594d,_0x23d259,_0x36f103);this[_0xa60de7(0x2db)][_0xa60de7(0x562)]();let _0x2eff17=(0x0,_0x42c76f[_0xa60de7(0x25d)])(_0xf4289e,_0x36f103);_0x7d0d82?this[_0xa60de7(0x4df)](_0x2eff17,_0x7d0d82,_0x357518,_0x3eb259,_0x1cca36):this[_0xa60de7(0x2b9)](_0x2eff17,_0x357518,_0x3eb259,_0x1cca36);}[_0x439e5d(0x221)](_0x2abeb3,_0x67fb20,_0x1b4624,_0xa3b938){const _0x168fbb=_0x439e5d;let _0x315397=this[_0x168fbb(0x2db)][_0x168fbb(0x339)]()[_0x168fbb(0x38c)],_0x39425b={..._0x315397},_0x484726={'shapeId':_0x67fb20[_0x168fbb(0x1cf)],'cxnIndex':_0x67fb20[_0x168fbb(0x434)]};_0x1b4624?_0x39425b['from']=_0x484726:_0x39425b['to']=_0x484726;let _0x5a764e=this[_0x168fbb(0x2db)][_0x168fbb(0x587)](),_0x470f51=(0x0,_0x42c76f[_0x168fbb(0x25d)])(_0x2abeb3[_0x168fbb(0x35a)],_0x5a764e),_0x2b830c={'unitId':this[_0x168fbb(0x49a)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x168fbb(0x52c)],'width':_0x2abeb3['worldRect'][_0x168fbb(0x5a5)],'height':_0x2abeb3[_0x168fbb(0x3ad)]['height'],'left':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x4d4)],'top':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x22d)],'flipX':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x365)]||!0x1,'flipY':_0x2abeb3[_0x168fbb(0x3ad)][_0x168fbb(0x31f)]||!0x1,'newAdjustValues':_0x470f51[_0x168fbb(0x518)],'oldAdjustValues':_0xa3b938,'oldRelation':_0x315397,'newRelation':_0x39425b,'newLineType':_0x470f51[_0x168fbb(0x49e)],'oldLineType':_0x5a764e};this[_0x168fbb(0x30c)]['executeCommand'](_0x43ee3e[_0x168fbb(0x36f)]['id'],_0x2b830c);}[_0x439e5d(0x251)](_0x5eab48,_0x553b73){const _0xd33e5f=_0x439e5d;let _0x27c3f5=this['_activeShapeModel'][_0xd33e5f(0x587)](),_0x321ec5=(0x0,_0x42c76f[_0xd33e5f(0x25d)])(_0x5eab48['worldPoints'],_0x27c3f5),_0x145efb={'unitId':this[_0xd33e5f(0x49a)],'subUnitId':this['_subUnitId'],'shapeId':this['_activeShapeId'],'width':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x5a5)],'height':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x509)],'left':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x4d4)],'top':_0x5eab48['worldRect'][_0xd33e5f(0x22d)],'flipX':_0x5eab48[_0xd33e5f(0x3ad)][_0xd33e5f(0x365)]||!0x1,'flipY':_0x5eab48[_0xd33e5f(0x3ad)]['flipY']||!0x1,'angle':_0x5eab48[_0xd33e5f(0x3ad)]['angle']||0x0,'newAdjustValues':_0x321ec5[_0xd33e5f(0x518)],'oldAdjustValues':_0x553b73,'newLineType':_0x321ec5['lineType'],'oldLineType':_0x27c3f5};this[_0xd33e5f(0x30c)]['executeCommand'](_0x43ee3e['UpdateLineShapeResizeCommand']['id'],_0x145efb);}[_0x439e5d(0x4df)](_0x2bfaab,_0xaf4f37,_0x222daa,_0x140bd8,_0xa89f2b){const _0x27c2f6=_0x439e5d;let _0x27b463=this[_0x27c2f6(0x2db)]['getShapeData']()[_0x27c2f6(0x38c)],_0x53aa1e={..._0x27b463},_0x23c264={'shapeId':_0xaf4f37['shapeId'],'cxnIndex':_0xaf4f37[_0x27c2f6(0x434)]};_0x140bd8?(_0x53aa1e[_0x27c2f6(0x1d9)]=_0x23c264,_0x53aa1e['to']=_0x222daa):(_0x53aa1e[_0x27c2f6(0x1d9)]=_0x222daa,_0x53aa1e['to']=_0x23c264);let _0x4e5320={'unitId':this[_0x27c2f6(0x49a)],'subUnitId':this[_0x27c2f6(0x289)],'connectorShapeId':this['_activeShapeId'],'width':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x5a5)],'height':_0x2bfaab['worldRect'][_0x27c2f6(0x509)],'left':_0x2bfaab['worldRect'][_0x27c2f6(0x4d4)],'top':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x22d)],'flipX':_0x2bfaab[_0x27c2f6(0x3ad)]['flipX']||!0x1,'flipY':_0x2bfaab[_0x27c2f6(0x3ad)][_0x27c2f6(0x31f)]||!0x1,'oldAdjustValues':_0xa89f2b,'newAdjustValues':_0x2bfaab[_0x27c2f6(0x518)],'newLineType':_0x2bfaab[_0x27c2f6(0x49e)],'rotation':_0x2bfaab[_0x27c2f6(0x34d)],'oldRelation':_0x27b463,'newRelation':_0x53aa1e};this[_0x27c2f6(0x30c)][_0x27c2f6(0x4b3)](_0x43ee3e[_0x27c2f6(0x36f)]['id'],_0x4e5320);}[_0x439e5d(0x2b9)](_0x17f6ab,_0x431013,_0x5f3e00,_0x293357){const _0x32b296=_0x439e5d;let _0x1d76fd=this[_0x32b296(0x2db)][_0x32b296(0x339)]()['relation'],_0x581076={};_0x5f3e00?(_0x581076['to']=_0x431013,_0x581076[_0x32b296(0x1d9)]=void 0x0):(_0x581076[_0x32b296(0x1d9)]=_0x431013,_0x581076['to']=void 0x0);let _0x13394d={'unitId':this[_0x32b296(0x49a)],'subUnitId':this[_0x32b296(0x289)],'connectorShapeId':this[_0x32b296(0x52c)],'width':_0x17f6ab['worldRect'][_0x32b296(0x5a5)],'height':_0x17f6ab[_0x32b296(0x3ad)]['height'],'left':_0x17f6ab['worldRect'][_0x32b296(0x4d4)],'top':_0x17f6ab[_0x32b296(0x3ad)]['top'],'flipX':_0x17f6ab[_0x32b296(0x3ad)]['flipX']||!0x1,'flipY':_0x17f6ab['worldRect'][_0x32b296(0x31f)]||!0x1,'oldAdjustValues':_0x293357,'newAdjustValues':_0x17f6ab[_0x32b296(0x518)],'newLineType':_0x17f6ab['lineType'],'rotation':_0x17f6ab[_0x32b296(0x34d)],'oldRelation':_0x1d76fd,'newRelation':_0x581076};this['_commandService'][_0x32b296(0x4b3)](_0x43ee3e[_0x32b296(0x36f)]['id'],_0x13394d);}[_0x439e5d(0x3cc)](_0x2b3326,_0x5539c3,_0x490b69){const _0x43a6b6=_0x439e5d;this[_0x43a6b6(0x575)]((0x0,_0x4fcc67['toDisposable'])(_0x2b3326[_0x43a6b6(0x308)][_0x43a6b6(0x320)]((_0x276c23,_0x1caa3a)=>{const _0x373bcb=_0x43a6b6;let _0xa40a46=_0x2b3326[_0x373bcb(0x5af)]();if(this['_activeShapeModel']=this[_0x373bcb(0x4f6)][_0x373bcb(0x1df)](_0xa40a46[_0x373bcb(0x3a2)],_0xa40a46['subUnitId'],_0xa40a46[_0x373bcb(0x457)]),!this['_activeShapeModel'])return;let _0x1948b1={};this[_0x373bcb(0x2db)][_0x373bcb(0x208)]()[_0x373bcb(0x386)](_0x99f43f=>{const _0x37ca11=_0x373bcb;let _0x1e2ca9=this[_0x37ca11(0x2db)][_0x37ca11(0x48e)](_0x99f43f);_0x1e2ca9!==void 0x0&&(_0x1948b1[_0x99f43f]=_0x1e2ca9);});let _0x1693ac=this['_getDrawingRect']();if(!_0x1693ac)return;this[_0x373bcb(0x1d7)]={..._0x1693ac};let _0x763419=new _0x42c76f[(_0x373bcb(0x2d8))](this['_baseDrawingRect']),_0x3f6f5b=(0x0,_0x89eb48[_0x373bcb(0x236)])({'unitId':this[_0x373bcb(0x49a)],'subUnitId':this[_0x373bcb(0x289)],'drawingId':this['_activeShapeId']}),_0x16e904=_0x5539c3[_0x373bcb(0x2b6)](_0x3f6f5b);this[_0x373bcb(0x224)]=!0x0,_0x5539c3['disableObjectsEvent'](),this['_sheetBasicShapeConnectionPointController'][_0x373bcb(0x1ca)](_0x5539c3,this['_unitId'],this[_0x373bcb(0x289)],this[_0x373bcb(0x52c)]),this['_currentConnectionTarget']=null;let _0x4490f5=this[_0x373bcb(0x2db)][_0x373bcb(0x1f6)](),_0x2f4294=_0x4490f5[0x0],_0x22ded0=_0x4490f5[_0x4490f5[_0x373bcb(0x298)]-0x1],_0x1fe741=_0x490b69?_0x763419[_0x373bcb(0x231)](_0x22ded0):_0x763419[_0x373bcb(0x231)](_0x2f4294);this[_0x373bcb(0x1e4)]=_0x5539c3[_0x373bcb(0x4be)][_0x373bcb(0x320)]((_0x47b620,_0x193a9b)=>{const _0x1d925f=_0x373bcb;if(!this[_0x1d925f(0x224)]||!this[_0x1d925f(0x2db)])return;this[_0x1d925f(0x346)]||=(this[_0x1d925f(0x1d5)]['clearAdjustControls'](),this[_0x1d925f(0x2db)]['clearAdjustValue'](),!0x0);let _0xa7b82c=this[_0x1d925f(0x4ed)](this['_unitId'],this['_subUnitId']),_0xe27da1=this[_0x1d925f(0x3d9)](this['_unitId'],this[_0x1d925f(0x289)]),_0x3b4b91={'x':_0x47b620['offsetX']/_0xe27da1+_0xa7b82c['x'],'y':_0x47b620['offsetY']/_0xe27da1+_0xa7b82c['y']},_0x2ce7cc=this[_0x1d925f(0x441)]['updateConnectionDetection'](_0x3b4b91);if(_0x2ce7cc){let {shapeId:_0x5145a3,unitId:_0x767003,subUnitId:_0x3198c2}=_0x2ce7cc;if(_0x5145a3&&_0x767003&&_0x3198c2){let _0x2adad8=(0x0,_0x89eb48[_0x1d925f(0x236)])({'unitId':_0x767003,'subUnitId':_0x3198c2,'drawingId':_0x5145a3});_0x2ce7cc[_0x1d925f(0x2cd)]=(_0x5539c3[_0x1d925f(0x2b6)](_0x2adad8)[_0x1d925f(0x2cd)]||0x0)+_0x2ce7cc[_0x1d925f(0x2cd)];}}this[_0x1d925f(0x583)]=_0x2ce7cc;let _0x26a294=_0x490b69?this[_0x1d925f(0x2db)][_0x1d925f(0x341)]():this[_0x1d925f(0x2db)][_0x1d925f(0x4cd)]();_0x26a294?this[_0x1d925f(0x21c)](_0x26a294,_0x3b4b91,_0x490b69,_0x16e904,_0x2b3326):this[_0x1d925f(0x2e4)](_0x3b4b91,_0x1fe741,_0x490b69,_0x16e904,_0x2b3326);}),this[_0x373bcb(0x245)]=_0x5539c3[_0x373bcb(0x454)][_0x373bcb(0x320)]((_0x5a0120,_0x10cb0d)=>{const _0x9437fb=_0x373bcb;this[_0x9437fb(0x335)](_0x5539c3,_0x1fe741,_0x5a0120,_0x490b69,_0x1948b1);}),_0x1caa3a[_0x373bcb(0x514)]();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x4ddc05,_0x297fca,_0x30e397){const _0x53a980=_0x439e5d;let _0x3a27ae=this[_0x53a980(0x4f6)]['getBasicShapeRelation'](_0x4ddc05,_0x297fca,_0x30e397);if(!_0x3a27ae||_0x3a27ae[_0x53a980(0x298)]===0x0)return;let _0x55772e=this[_0x53a980(0x35d)][_0x53a980(0x40f)](_0x4ddc05);if(!_0x55772e)return;let {scene:_0x53fa90}=_0x55772e;for(let _0x3ce01d of _0x3a27ae){let _0x2a370d=_0x3ce01d[_0x53a980(0x226)],_0x5b2679=this[_0x53a980(0x4f6)][_0x53a980(0x1df)](_0x4ddc05,_0x297fca,_0x2a370d);if(!_0x5b2679)continue;let _0x2eb821=_0x5b2679['getStartConnectInfo'](),_0x3ce4f6=_0x5b2679[_0x53a980(0x341)](),_0x3fa14d=(_0x2eb821==null?void 0x0:_0x2eb821[_0x53a980(0x1cf)])===_0x30e397,_0x183907=(0x0,_0x89eb48[_0x53a980(0x236)])({'unitId':_0x4ddc05,'subUnitId':_0x297fca,'drawingId':_0x2a370d}),_0x505136=_0x53fa90[_0x53a980(0x2b6)](_0x183907);if(!_0x505136)continue;let _0x4636b1=this[_0x53a980(0x232)][_0x53a980(0x269)]({'unitId':_0x4ddc05,'subUnitId':_0x297fca,'drawingId':_0x2a370d});_0x4636b1!=null&&_0x4636b1['transform']&&(_0x2eb821&&_0x3ce4f6?this[_0x53a980(0x300)](_0x4ddc05,_0x297fca,_0x2a370d,_0x5b2679,_0x2eb821,_0x3ce4f6,_0x505136):this[_0x53a980(0x534)](_0x4ddc05,_0x297fca,_0x2a370d,_0x5b2679,_0x3fa14d?_0x2eb821:_0x3ce4f6,_0x3fa14d,_0x4636b1,_0x505136));}}[_0x439e5d(0x300)](_0x8b130c,_0x71c015,_0x4c0140,_0x2e2e9c,_0x33edbd,_0x15bfe7,_0x16f40c){const _0x2260f6=_0x439e5d;let _0x2ad204=this[_0x2260f6(0x49a)],_0x42f3c8=this[_0x2260f6(0x289)];this['_unitId']=_0x8b130c,this[_0x2260f6(0x289)]=_0x71c015;let _0x3e2353=this[_0x2260f6(0x2dd)](_0x33edbd),_0xdfa312=this[_0x2260f6(0x2dd)](_0x15bfe7);if(this[_0x2260f6(0x49a)]=_0x2ad204,this['_subUnitId']=_0x42f3c8,!_0x3e2353||!_0xdfa312)return;let _0x46150b=_0x2e2e9c['getShapeType'](),_0xedf96d=(0x0,_0x42c76f[_0x2260f6(0x220)])(_0x3e2353,_0xdfa312,_0x46150b);_0xedf96d&&_0x2e2e9c['updateLinePoints'](_0xedf96d);let _0x3f5a3f=(0x0,_0x42c76f[_0x2260f6(0x25d)])(_0xedf96d,_0x46150b);_0x3f5a3f['lineType']!==_0x46150b&&_0x2e2e9c[_0x2260f6(0x1fe)](_0x3f5a3f[_0x2260f6(0x49e)]),_0x2e2e9c['clearAdjustValue']();for(let [_0x4af8fa,_0x2fa697]of Object[_0x2260f6(0x51f)](_0x3f5a3f[_0x2260f6(0x518)]))_0x2e2e9c['setAdjustValueByName'](_0x4af8fa,_0x2fa697);_0x2e2e9c[_0x2260f6(0x580)]({'width':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x5a5)],'height':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x509)]}),_0x16f40c['transformByState']({'flipX':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x365)],'flipY':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x31f)],'left':_0x3f5a3f[_0x2260f6(0x3ad)]['left'],'top':_0x3f5a3f['worldRect'][_0x2260f6(0x22d)],'width':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x5a5)],'height':_0x3f5a3f[_0x2260f6(0x3ad)][_0x2260f6(0x509)],'angle':_0x3f5a3f[_0x2260f6(0x34d)]}),_0x2e2e9c[_0x2260f6(0x562)]();}[_0x439e5d(0x534)](_0x16fdee,_0x2a0afb,_0xa6fa43,_0x5f354a,_0x325975,_0x1875e6,_0x3310e0,_0x66fbad){const _0x2b1b9f=_0x439e5d;let _0x771b16=this[_0x2b1b9f(0x49a)],_0x2e8707=this[_0x2b1b9f(0x289)];this[_0x2b1b9f(0x49a)]=_0x16fdee,this[_0x2b1b9f(0x289)]=_0x2a0afb;let _0x5d4e57=this[_0x2b1b9f(0x2dd)](_0x325975);if(this[_0x2b1b9f(0x49a)]=_0x771b16,this[_0x2b1b9f(0x289)]=_0x2e8707,!_0x5d4e57)return;let {left:_0x4d74e5=0x0,top:_0x6ad622=0x0,width:_0x1e934b=0x0,height:_0x2d5d8e=0x0,flipX:_0x31fa66=!0x1,flipY:_0x499b88=!0x1}=_0x3310e0['transform'],_0x515966=_0x5f354a[_0x2b1b9f(0x1f6)]();if(_0x515966[_0x2b1b9f(0x298)]<0x2)return;let _0x2a0906=new _0x42c76f[(_0x2b1b9f(0x2d8))]({'left':_0x4d74e5,'top':_0x6ad622,'width':_0x1e934b,'height':_0x2d5d8e,'flipX':_0x31fa66,'flipY':_0x499b88}),_0x43d471=_0x1875e6?_0x515966[_0x515966[_0x2b1b9f(0x298)]-0x1]:_0x515966[0x0],_0x588907=_0x2a0906[_0x2b1b9f(0x231)](_0x43d471),_0x59edf0=_0x42c76f[_0x2b1b9f(0x2d8)][_0x2b1b9f(0x1ed)](_0x588907,_0x5d4e57[_0x2b1b9f(0x479)],!_0x1875e6);_0x66fbad[_0x2b1b9f(0x312)]({'flipX':_0x59edf0['worldRect'][_0x2b1b9f(0x365)],'flipY':_0x59edf0['worldRect'][_0x2b1b9f(0x31f)],'left':_0x59edf0[_0x2b1b9f(0x3ad)][_0x2b1b9f(0x4d4)],'top':_0x59edf0[_0x2b1b9f(0x3ad)][_0x2b1b9f(0x22d)],'width':_0x59edf0['worldRect'][_0x2b1b9f(0x5a5)],'height':_0x59edf0[_0x2b1b9f(0x3ad)]['height'],'angle':_0x59edf0['worldRect'][_0x2b1b9f(0x2cd)]}),_0x66fbad[_0x2b1b9f(0x415)](!0x0);}['_clearShapeConnectorHandlerObjects'](){const _0x27b184=_0x439e5d;this['_connectorObjects'][_0x27b184(0x298)]!==0x0&&(this[_0x27b184(0x5ab)][_0x27b184(0x386)](_0x5f409a=>{const _0x1b905c=_0x27b184;_0x5f409a[_0x1b905c(0x27e)]();}),this[_0x27b184(0x5ab)]=[]);}[_0x439e5d(0x1fa)](){const _0x27158f=_0x439e5d;let _0x2b9df8=this['_univerInstanceService'][_0x27158f(0x2af)](_0x4fcc67[_0x27158f(0x578)]['UNIVER_SHEET']);this[_0x27158f(0x575)](_0x2b9df8[_0x27158f(0x48b)]((0x0,_0x5597c9[_0x27158f(0x33b)])(_0x13e3c8=>_0x13e3c8?_0x13e3c8[_0x27158f(0x399)][_0x27158f(0x48b)]((0x0,_0x5597c9[_0x27158f(0x33b)])(_0x8932a6=>{const _0x2fee1a=_0x27158f;if(!_0x8932a6)return _0x5597c9[_0x2fee1a(0x528)];let _0x5388a5=_0x13e3c8[_0x2fee1a(0x54e)](),_0x5615a5=this[_0x2fee1a(0x35d)][_0x2fee1a(0x40f)](_0x5388a5),_0x28741f=_0x5615a5==null?void 0x0:_0x5615a5['scene'];return _0x28741f?(0x0,_0x5597c9['of'])(_0x28741f):_0x5597c9[_0x2fee1a(0x528)];})):_0x5597c9['EMPTY']))['subscribe'](_0x25f817=>{const _0x52fbc1=_0x27158f;let _0x39a0bf=_0x25f817[_0x52fbc1(0x4e6)]();this[_0x52fbc1(0x575)](_0x25f817[_0x52fbc1(0x4be)][_0x52fbc1(0x320)](_0x1121f3=>{const _0x40d2ac=_0x52fbc1;this['_isDrawingShapePointDown']&&this[_0x40d2ac(0x52c)]&&this[_0x40d2ac(0x563)]();})),this['disposeWithMe'](_0x39a0bf['changeStart$'][_0x52fbc1(0x523)](_0x4e9b6c=>{const _0x1719c4=_0x52fbc1;let {objects:_0x56b018}=_0x4e9b6c;this['_clearShapeConnectorHandlerObjects'](),_0x56b018!==null&&_0x56b018[_0x1719c4(0x535)]===0x1&&_0x56b018[_0x1719c4(0x413)]()[_0x1719c4(0x4e3)]()[_0x1719c4(0x3f0)]instanceof _0x11dd97&&(this[_0x1719c4(0x32c)]=!0x0);})),this[_0x52fbc1(0x575)](_0x39a0bf['changing$']['subscribe'](_0x4fcf7f=>{const _0xa1c6ef=_0x52fbc1;this[_0xa1c6ef(0x32c)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x52fbc1(0x575)](_0x25f817[_0x52fbc1(0x454)][_0x52fbc1(0x320)](()=>{const _0x267e78=_0x52fbc1;this[_0x267e78(0x32c)]&&(this[_0x267e78(0x32c)]=!0x1,this[_0x267e78(0x39c)]());})),this[_0x52fbc1(0x575)](_0x39a0bf[_0x52fbc1(0x395)][_0x52fbc1(0x523)](()=>{const _0x1d62bd=_0x52fbc1;this[_0x1d62bd(0x49a)]&&this[_0x1d62bd(0x289)]&&this[_0x1d62bd(0x52c)]&&this[_0x1d62bd(0x232)][_0x1d62bd(0x269)]({'unitId':this[_0x1d62bd(0x49a)],'subUnitId':this[_0x1d62bd(0x289)],'drawingId':this[_0x1d62bd(0x52c)]})&&(this[_0x1d62bd(0x563)](),this[_0x1d62bd(0x39c)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x36bbc2=_0x439e5d;this['disposeWithMe'](this[_0x36bbc2(0x232)][_0x36bbc2(0x328)][_0x36bbc2(0x523)](_0x2a4460=>{const _0x12cd7e=_0x36bbc2;if(_0x2a4460['length']===0x1){let _0x5c14bb=_0x2a4460[0x0];if(_0x5c14bb['drawingType']===_0x4fcc67['DrawingTypeEnum'][_0x12cd7e(0x4b8)]){let _0x4b3cb2=this[_0x12cd7e(0x4f6)][_0x12cd7e(0x1df)](_0x5c14bb[_0x12cd7e(0x3a2)],_0x5c14bb[_0x12cd7e(0x555)],_0x5c14bb[_0x12cd7e(0x457)]);if(_0x4b3cb2&&(0x0,_0x42c76f[_0x12cd7e(0x2a1)])(_0x4b3cb2['getShapeType']())){this['_activeShapeId']=_0x5c14bb[_0x12cd7e(0x457)],this[_0x12cd7e(0x49a)]=_0x5c14bb[_0x12cd7e(0x3a2)],this[_0x12cd7e(0x289)]=_0x5c14bb[_0x12cd7e(0x555)],this[_0x12cd7e(0x563)](),this[_0x12cd7e(0x39c)]();return;}}}this[_0x12cd7e(0x52c)]=void 0x0,this['_unitId']=void 0x0,this[_0x12cd7e(0x289)]=void 0x0,this[_0x12cd7e(0x563)]();})),this[_0x36bbc2(0x575)](this[_0x36bbc2(0x232)][_0x36bbc2(0x342)]['subscribe'](_0x3315d8=>{const _0x3ebe8d=_0x36bbc2;if(_0x3315d8[_0x3ebe8d(0x298)]===0x1){var _0x15a5a0;let _0x80ab23=_0x3315d8[0x0],_0x3a5a0b=(_0x15a5a0=this[_0x3ebe8d(0x232)][_0x3ebe8d(0x269)](_0x80ab23))==null?void 0x0:_0x15a5a0[_0x3ebe8d(0x31a)];_0x3a5a0b===_0x4fcc67[_0x3ebe8d(0x204)][_0x3ebe8d(0x4b8)]&&_0x80ab23[_0x3ebe8d(0x457)]===this[_0x3ebe8d(0x52c)]?(this[_0x3ebe8d(0x563)](),this[_0x3ebe8d(0x39c)]()):!this[_0x3ebe8d(0x52c)]&&_0x3a5a0b===_0x4fcc67[_0x3ebe8d(0x204)][_0x3ebe8d(0x4b8)]&&this[_0x3ebe8d(0x4c7)](_0x80ab23[_0x3ebe8d(0x3a2)],_0x80ab23['subUnitId'],_0x80ab23[_0x3ebe8d(0x457)]);}})),this[_0x36bbc2(0x575)](this['_drawingManagerService'][_0x36bbc2(0x228)][_0x36bbc2(0x523)](_0x3c3fc1=>{const _0x20cacb=_0x36bbc2;for(let _0x396b9b of _0x3c3fc1){let {drawingId:_0x110270}=_0x396b9b;if(this[_0x20cacb(0x52c)]===_0x110270){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x4c0828,_0x65ed72,_0x3edbdd,_0x231cd6,_0x27f215){const _0x30a263=_0x439e5d;var _0x1bed7b;if(!this[_0x30a263(0x2db)])return;let _0x8ee044=this['_getConnectPointInfo'](_0x4c0828);if(!_0x8ee044)return;let _0x48a703=this['_currentConnectionTarget']?this[_0x30a263(0x583)][_0x30a263(0x3e8)]:_0x65ed72,_0x324090=this[_0x30a263(0x583)]?this[_0x30a263(0x583)][_0x30a263(0x2cd)]:this[_0x30a263(0x36a)](_0x8ee044[_0x30a263(0x479)],_0x48a703),_0x358798;if(this['_currentConnectionTarget']){let _0x1d5f9d=this['_drawingManagerService'][_0x30a263(0x269)]({'unitId':this[_0x30a263(0x583)][_0x30a263(0x3a2)],'subUnitId':this[_0x30a263(0x583)][_0x30a263(0x555)],'drawingId':this[_0x30a263(0x583)][_0x30a263(0x1cf)]});if(_0x1d5f9d!=null&&_0x1d5f9d[_0x30a263(0x3a8)]){let {left:_0x4aebbe=0x0,top:_0x5345b2=0x0,width:_0x4589f1=0x0,height:_0x2b23e0=0x0,angle:_0x567889}=_0x1d5f9d[_0x30a263(0x3a8)];_0x358798=(0x0,_0x42c76f[_0x30a263(0x547)])({'left':_0x4aebbe,'top':_0x5345b2,'width':_0x4589f1,'height':_0x2b23e0},_0x567889||0x0);}else _0x358798={'left':_0x48a703['x'],'top':_0x48a703['y'],'width':0x0,'height':0x0};}else _0x358798={'left':_0x48a703['x'],'top':_0x48a703['y'],'width':0x0,'height':0x0};let _0xbb3c49={'point':_0x48a703,'angle':_0x324090,'bounds':_0x358798},_0xe39019=_0x3edbdd?_0xbb3c49:_0x8ee044,_0x5dd43a=_0x3edbdd?_0x8ee044:_0xbb3c49,_0x4fbfd3=this[_0x30a263(0x2db)][_0x30a263(0x587)](),_0xd0f843=(0x0,_0x42c76f[_0x30a263(0x220)])(_0xe39019,_0x5dd43a,_0x4fbfd3);_0xd0f843&&this['_activeShapeModel'][_0x30a263(0x255)](_0xd0f843);let _0xbb5ebf=(0x0,_0x42c76f[_0x30a263(0x25d)])(_0xd0f843,_0x4fbfd3);_0xbb5ebf[_0x30a263(0x49e)]!==_0x4fbfd3&&this[_0x30a263(0x2db)][_0x30a263(0x1fe)](_0xbb5ebf[_0x30a263(0x49e)]);for(let [_0x3df70e,_0x2d9b84]of Object[_0x30a263(0x51f)](_0xbb5ebf['adjustValues']))this[_0x30a263(0x2db)]['setAdjustValueByName'](_0x3df70e,_0x2d9b84);this[_0x30a263(0x2db)][_0x30a263(0x580)]({'width':_0xbb5ebf[_0x30a263(0x3ad)]['width'],'height':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x509)]}),_0x231cd6['transformByState']({'flipX':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x365)],'flipY':_0xbb5ebf['worldRect']['flipY'],'left':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x4d4)],'top':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x22d)],'width':_0xbb5ebf[_0x30a263(0x3ad)][_0x30a263(0x5a5)],'height':_0xbb5ebf['worldRect']['height'],'angle':_0xbb5ebf[_0x30a263(0x34d)]}),_0x231cd6[_0x30a263(0x415)](!0x0);let _0x318e93=((_0x1bed7b=this[_0x30a263(0x583)])==null?void 0x0:_0x1bed7b['worldPoint'])??_0x65ed72;_0x27f215[_0x30a263(0x312)]({'left':_0x318e93['x']-_0x42c76f[_0x30a263(0x1de)][_0x30a263(0x2d3)],'top':_0x318e93['y']-_0x42c76f[_0x30a263(0x1de)]['cxnPointRadius']});}[_0x439e5d(0x2e4)](_0x3e91f2,_0x201e5a,_0x44941f,_0x587b26,_0x54a5a3){const _0x105080=_0x439e5d;var _0xda828a,_0x4086e9;let _0x3d5563=((_0xda828a=this['_currentConnectionTarget'])==null?void 0x0:_0xda828a[_0x105080(0x3e8)])??_0x3e91f2,_0x221beb=_0x42c76f[_0x105080(0x2d8)][_0x105080(0x1ed)](_0x201e5a,_0x3d5563,_0x44941f);_0x587b26['transformByState']({'flipX':_0x221beb[_0x105080(0x3ad)][_0x105080(0x365)],'flipY':_0x221beb[_0x105080(0x3ad)]['flipY'],'left':_0x221beb[_0x105080(0x3ad)][_0x105080(0x4d4)],'top':_0x221beb['worldRect']['top'],'width':_0x221beb[_0x105080(0x3ad)][_0x105080(0x5a5)],'height':_0x221beb[_0x105080(0x3ad)][_0x105080(0x509)],'angle':_0x221beb['worldRect'][_0x105080(0x2cd)]});let _0x2545d5=((_0x4086e9=this[_0x105080(0x583)])==null?void 0x0:_0x4086e9['worldPoint'])??_0x3e91f2;_0x54a5a3[_0x105080(0x312)]({'left':_0x2545d5['x']-_0x42c76f[_0x105080(0x1de)][_0x105080(0x2d3)],'top':_0x2545d5['y']-_0x42c76f[_0x105080(0x1de)][_0x105080(0x2d3)]});}[_0x439e5d(0x2dd)](_0x1dae0c){const _0x79576c=_0x439e5d;if(!this[_0x79576c(0x49a)]||!this['_subUnitId'])return null;let {shapeId:_0x386989,cxnIndex:_0x24af50}=_0x1dae0c,_0x1aa4b5=this[_0x79576c(0x4f6)][_0x79576c(0x1df)](this[_0x79576c(0x49a)],this[_0x79576c(0x289)],_0x386989);if(!_0x1aa4b5)return null;let _0x385dde=this[_0x79576c(0x232)][_0x79576c(0x269)]({'unitId':this[_0x79576c(0x49a)],'subUnitId':this[_0x79576c(0x289)],'drawingId':_0x386989});if(!(_0x385dde!=null&&_0x385dde[_0x79576c(0x3a8)]))return null;let {left:_0x30c8db=0x0,top:_0x137147=0x0,width:_0xe1a2c9=0x0,height:_0x8a4543=0x0,flipX:_0x40e997=!0x1,flipY:_0x3b378c=!0x1,angle:_0x558e72}=_0x385dde['transform'];_0x1aa4b5[_0x79576c(0x580)]({'width':_0xe1a2c9,'height':_0x8a4543});let _0x5a1b7e=_0x1aa4b5[_0x79576c(0x58e)]()[_0x79576c(0x2b5)](_0x185563=>_0x185563[_0x79576c(0x558)]===_0x24af50);if(!_0x5a1b7e)return null;let _0x13317f=_0x40e997?_0xe1a2c9-_0x5a1b7e['x']:_0x5a1b7e['x'],_0x26dd8b=_0x3b378c?_0x8a4543-_0x5a1b7e['y']:_0x5a1b7e['y'];if(_0x558e72!==0x0&&_0x558e72!=null){let _0x38b264=_0x558e72*Math['PI']/0xb4,_0x53db77=Math[_0x79576c(0x4e9)](_0x38b264),_0x1be561=Math[_0x79576c(0x326)](_0x38b264),_0x11c2e1=_0xe1a2c9/0x2,_0x66e135=_0x8a4543/0x2,_0x1661d5=_0x13317f-_0x11c2e1,_0x1c55de=_0x26dd8b-_0x66e135;_0x13317f=_0x11c2e1+_0x1661d5*_0x53db77-_0x1c55de*_0x1be561,_0x26dd8b=_0x66e135+_0x1661d5*_0x1be561+_0x1c55de*_0x53db77;}_0x13317f+=_0x30c8db,_0x26dd8b+=_0x137147;let _0x2c4c79=_0x5a1b7e[_0x79576c(0x3ca)]/0xea60;_0x40e997&&(_0x2c4c79=0xb4-_0x2c4c79),_0x3b378c&&(_0x2c4c79=-_0x2c4c79),_0x2c4c79+=_0x558e72||0x0,_0x2c4c79=(_0x2c4c79%0x168+0x168)%0x168;let _0x17f240=(0x0,_0x42c76f[_0x79576c(0x547)])({'left':_0x30c8db,'top':_0x137147,'width':_0xe1a2c9,'height':_0x8a4543},_0x558e72||0x0);return{'point':{'x':_0x13317f,'y':_0x26dd8b},'angle':_0x2c4c79,'bounds':_0x17f240};}[_0x439e5d(0x36a)](_0x3eff5c,_0x62a041){const _0x3ab301=_0x439e5d;let _0x2c7ca2=_0x62a041['x']-_0x3eff5c['x'],_0x41dee3=_0x62a041['y']-_0x3eff5c['y'];return Math[_0x3ab301(0x3be)](_0x2c7ca2)>=Math[_0x3ab301(0x3be)](_0x41dee3)?_0x2c7ca2>=0x0?0xb4:0x0:_0x41dee3>=0x0?0x10e:0x5a;}[_0x439e5d(0x2f1)](){const _0x327209=_0x439e5d;this[_0x327209(0x52c)]=void 0x0,this[_0x327209(0x49a)]=void 0x0,this[_0x327209(0x289)]=void 0x0,this[_0x327209(0x563)]();}['dispose'](){const _0x40195b=_0x439e5d;this[_0x40195b(0x563)](),super[_0x40195b(0x27e)]();}};_0xe1e335=_0x5b9725([_0x56348c(0x1,_0x4fcc67['ICommandService']),_0x56348c(0x2,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x3,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x6,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0xcd5dc6)),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x32b22d))],_0xe1e335);let _0x3b9ac4=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x26d577,_0x1bc12c,_0x3acb25){const _0x5268a5=_0x439e5d;super(),this['_sheetPrintInterceptorService']=_0x26d577,this[_0x5268a5(0x232)]=_0x1bc12c,this[_0x5268a5(0x21a)]=_0x3acb25,this['_initPrinting']();}[_0x439e5d(0x570)](){const _0x517aaa=_0x439e5d;this[_0x517aaa(0x575)](this[_0x517aaa(0x5ac)]['interceptor'][_0x517aaa(0x463)](this[_0x517aaa(0x5ac)][_0x517aaa(0x3db)][_0x517aaa(0x254)]()[_0x517aaa(0x1f5)],{'handler':(_0x2def21,_0x225b95,_0x11ee4d)=>{const _0x36508a=_0x517aaa;var _0x11e59e;let {unitId:_0x3c99f7,subUnitId:_0x4ca347,scene:_0x3dc26f,resourceCollector:_0x19788a}=_0x225b95,_0x44b2e5=(_0x11e59e=this['_drawingManagerService'][_0x36508a(0x309)](_0x3c99f7))==null?void 0x0:_0x11e59e[_0x4ca347];return _0x44b2e5==null||_0x44b2e5[_0x36508a(0x392)][_0x36508a(0x386)](_0x1585af=>{const _0x13463a=_0x36508a;let _0x441155=_0x44b2e5[_0x13463a(0x1c3)][_0x1585af];_0x441155[_0x13463a(0x31a)]===_0x4fcc67[_0x13463a(0x204)][_0x13463a(0x4b8)]&&!_0x441155[_0x13463a(0x465)]&&this[_0x13463a(0x21a)][_0x13463a(0x3a7)](_0x441155,_0x3dc26f,{'resourceCollector':_0x19788a});}),_0x11ee4d(_0x2def21);}}));}};_0x3b9ac4=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x57c)])),_0x56348c(0x1,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x5e7905))],_0x3b9ac4);let _0x3df547=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x262af4,_0x57d775,_0x19d732){const _0x58cdc9=_0x439e5d;super(),this[_0x58cdc9(0x30c)]=_0x262af4,this[_0x58cdc9(0x39d)]=_0x57d775,this['_sheetPermissionCheckController']=_0x19d732,this[_0x58cdc9(0x487)]();}[_0x439e5d(0x487)](){const _0x2c1d94=_0x439e5d;this[_0x2c1d94(0x575)](this[_0x2c1d94(0x30c)][_0x2c1d94(0x4fe)](_0x5a8365=>{const _0x5dfa26=_0x2c1d94;let _0x2b34c3,_0xd379f9;if(_0x5a8365['id']===_0x43ee3e[_0x5dfa26(0x3b1)]['id']||_0x5a8365['id']===_0x43ee3e['SetShapeDrawingDataCommand']['id']||_0x5a8365['id']===_0x43ee3e[_0x5dfa26(0x36f)]['id']){let _0x2d548e=_0x5a8365[_0x5dfa26(0x22e)];_0x2b34c3=_0x2d548e[_0x5dfa26(0x3a2)],_0xd379f9=_0x2d548e[_0x5dfa26(0x555)];}_0x2b34c3&&_0xd379f9&&(this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x33d9c6['WorkbookEditablePermission']],'worksheetTypes':[_0x33d9c6[_0x5dfa26(0x53d)]]},_0x2b34c3,_0xd379f9)||this[_0x5dfa26(0x497)][_0x5dfa26(0x2b0)](this[_0x5dfa26(0x39d)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x3df547=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['ICommandService'])),_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x2,(0x0,_0x4fcc67['Inject'])(_0x33d9c6[_0x439e5d(0x247)]))],_0x3df547);let _0x3be203=class{constructor(_0x106521){const _0x51d0bd=_0x439e5d;this[_0x51d0bd(0x35d)]=_0x106521;}[_0x439e5d(0x37f)](_0x3eb68b,_0x14022e){const _0x18b532=_0x439e5d;let _0x3fa1c6=this['_renderManagerService'][_0x18b532(0x40f)](_0x3eb68b[_0x18b532(0x3a2)]),_0x5df7f8=_0x3fa1c6==null?void 0x0:_0x3fa1c6[_0x18b532(0x56f)];if(!_0x5df7f8)return;let _0x2e19fb=(0x0,_0x89eb48[_0x18b532(0x236)])(_0x3eb68b),_0x17ecd2=_0x5df7f8[_0x18b532(0x2b6)](_0x2e19fb);_0x17ecd2==null||_0x17ecd2[_0x18b532(0x585)](_0x14022e);}};_0x3be203=_0x5b9725([_0x56348c(0x0,_0x5e3080[_0x439e5d(0x265)])],_0x3be203);let _0x3ecc29=class extends _0x4fcc67[_0x439e5d(0x51d)]{constructor(_0x40118a=_0x42d7f1,_0x683fc4,_0x18c70e,_0x37802b,_0x33102d){const _0x4a0612=_0x439e5d;super(),this[_0x4a0612(0x1d3)]=_0x40118a,this[_0x4a0612(0x492)]=_0x683fc4,this['_commandService']=_0x18c70e,this[_0x4a0612(0x3e7)]=_0x37802b,this[_0x4a0612(0x35d)]=_0x33102d;let {..._0x1ae56a}=(0x0,_0x4fcc67[_0x4a0612(0x40e)])({},_0x42d7f1,this[_0x4a0612(0x1d3)]);this['_configService'][_0x4a0612(0x3bf)](_0x4d1e57,_0x1ae56a),this[_0x4a0612(0x453)]();}['onStarting'](){const _0x45d907=_0x439e5d;this[_0x45d907(0x492)][_0x45d907(0x3e9)]([_0x15f53e]),this['_injector']['get'](_0x15f53e),(0x0,_0x4fcc67['registerDependencies'])(this[_0x45d907(0x492)],[[_0x53caa5],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547]]);}[_0x439e5d(0x238)](){const _0x95b3b9=_0x439e5d;(0x0,_0x4fcc67[_0x95b3b9(0x1ee)])(this[_0x95b3b9(0x492)],[[_0x32b22d],[_0xcd5dc6],[_0x2d338f]]),(0x0,_0x4fcc67['touchDependencies'])(this[_0x95b3b9(0x492)],[[_0x2d338f],[_0xcd5dc6]]),[[_0x32b22d],[_0x2aa3d8],[_0xe1e335],[_0x1621e0]][_0x95b3b9(0x386)](_0x27af55=>{const _0x4dfd02=_0x95b3b9;this[_0x4dfd02(0x575)](this[_0x4dfd02(0x35d)][_0x4dfd02(0x2c7)](_0x4fcc67[_0x4dfd02(0x578)][_0x4dfd02(0x28f)],_0x27af55));});}[_0x439e5d(0x4a0)](){const _0x18fd4a=_0x439e5d;(0x0,_0x4fcc67['touchDependencies'])(this[_0x18fd4a(0x492)],[[_0x53caa5],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547]]);}['onSteady'](){const _0x30f759=_0x439e5d;this[_0x30f759(0x492)][_0x30f759(0x55f)](_0x53caa5)['initShapePopupMenu']();}[_0x439e5d(0x453)](){const _0x38ffbe=_0x439e5d;[_0x595989,_0x4b1d28,_0x4d0210,_0x20217e][_0x38ffbe(0x386)](_0x32481b=>this['disposeWithMe'](this['_commandService'][_0x38ffbe(0x471)](_0x32481b)));}};_0x355f4a(_0x3ecc29,'type',_0x4fcc67[_0x439e5d(0x578)][_0x439e5d(0x28f)]),_0x355f4a(_0x3ecc29,_0x439e5d(0x464),_0x439e5d(0x22f)),_0x355f4a(_0x3ecc29,'packageName',_0x662816),_0x355f4a(_0x3ecc29,_0x439e5d(0x3d8),_0x2993c4),_0x3ecc29=_0x5b9725([(0x0,_0x4fcc67[_0x439e5d(0x2cb)])(_0x53e697[_0x439e5d(0x387)],_0x73dbdf['UniverDocsPlugin'],_0x89eb48[_0x439e5d(0x27b)],_0x5e3080[_0x439e5d(0x48c)],_0x33d9c6[_0x439e5d(0x259)],_0x505021[_0x439e5d(0x52e)],_0x51f92a[_0x439e5d(0x39f)],_0x1959c2[_0x439e5d(0x21b)],_0x254bb3[_0x439e5d(0x29c)],_0x43ee3e[_0x439e5d(0x58a)],_0x5b8007['UniverSheetsMobileUIPlugin'],_0x1a617a[_0x439e5d(0x46c)],_0x3412e6[_0x439e5d(0x272)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67[_0x439e5d(0x3a1)])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x27c)]),_0x56348c(0x4,_0x5e3080['IRenderManagerService'])],_0x3ecc29);let _0x530760={'type':_0x4fcc67[_0x439e5d(0x2f6)][_0x439e5d(0x1c7)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x22f44d(){const _0x503fbe=_0x439e5d;let _0x11e9f8=(0x0,_0x3412e6[_0x503fbe(0x4a1)])(_0x89eb48[_0x503fbe(0x211)]),_0x45b1a0=(0x0,_0x3412e6[_0x503fbe(0x3d6)])(()=>_0x11e9f8[_0x503fbe(0x328)],_0x11e9f8[_0x503fbe(0x52f)](),!0x1,[_0x11e9f8]);return _0x45b1a0[_0x503fbe(0x298)]===0x0?null:(0x0,_0x58bcbb[_0x503fbe(0x58f)])('div',{'children':(0x0,_0x58bcbb[_0x503fbe(0x4b5)])('div',{'className':_0x503fbe(0x44a),'children':[(0x0,_0x58bcbb[_0x503fbe(0x58f)])(_0x108bdb[_0x503fbe(0x4a5)],{'drawings':_0x45b1a0,'hasCropper':!0x1}),(0x0,_0x58bcbb[_0x503fbe(0x58f)])(_0x254bb3[_0x503fbe(0x3ce)],{'drawings':_0x45b1a0})]})});}function _0x3a4edc(_0x2a16b4){const _0x3333f5=_0x439e5d;let {unitId:_0x254318,subUnitId:_0x56639b,shapeId:_0x39ab1f}=_0x2a16b4,_0x41b1a3=(0x0,_0x3412e6[_0x3333f5(0x4a1)])(_0x4fcc67['ICommandService']),_0x24768d=(0x0,_0x3412e6[_0x3333f5(0x4a1)])(_0x3be203);return(0x0,_0x58bcbb[_0x3333f5(0x58f)])(_0x1a617a['ShapeEditPanel'],{..._0x2a16b4,'positionEditor':(0x0,_0x58bcbb['jsx'])(_0x22f44d,{}),'onUpdateShapeData':(_0x49e3dc,_0x176c5a)=>{_0x15d4c3(_0x41b1a3,_0x254318,_0x56639b,_0x39ab1f,_0x49e3dc,_0x176c5a);},'onUpdateLineShapeData':(_0x242154,_0x1e7de3)=>{_0x8a2fc8(_0x41b1a3,_0x254318,_0x56639b,_0x39ab1f,_0x242154,_0x1e7de3);},'onUpdateShapeFillImage':_0x43fa96=>{_0x24768d['updateShapeFillImage']({'unitId':_0x254318,'subUnitId':_0x56639b,'drawingId':_0x39ab1f},_0x43fa96);}});}function _0xf496ba(_0x3912bd){const _0x42a375=_0x439e5d;let _0x4c8f00=(0x0,_0x3412e6[_0x42a375(0x4a1)])(_0x1a617a[_0x42a375(0x406)]),_0x2e8e59=(0x0,_0x3412e6[_0x42a375(0x3d6)])(()=>_0x4c8f00[_0x42a375(0x22b)],_0x4c8f00['getVisible'](),!0x1,[_0x4c8f00]),_0x37ff24=_0x3912bd[_0x42a375(0x212)]['extraProps'];return!_0x37ff24||!_0x2e8e59?null:(0x0,_0x58bcbb[_0x42a375(0x58f)])(_0x54a958,{..._0x37ff24,'canvasElement':_0x3912bd[_0x42a375(0x212)][_0x42a375(0x1bc)]});}function _0x54a958(_0xc0183){const _0x4a73d9=_0x439e5d;let _0x5cd477=(0x0,_0x3412e6['useDependency'])(_0x4fcc67[_0x4a73d9(0x286)]),_0x3164c2=(0x0,_0x3412e6['useDependency'])(_0x43ee3e['SheetsShapeService']),{unitId:_0x570500,subUnitId:_0x551249,drawingId:_0xc878fc,drawingType:_0x4babe2,shapeType:_0x5772bf}=_0xc0183,[_0x3b89e3,_0x26495c]=(0x0,_0x9d5ee3[_0x4a73d9(0x469)])(_0xc0183[_0x4a73d9(0x331)]),_0x1d540e=(0x0,_0x9d5ee3[_0x4a73d9(0x59b)])(()=>(0x0,_0x1a617a[_0x4a73d9(0x3c0)])(_0x3b89e3),[_0x3b89e3]),_0x14e027=(0x0,_0x9d5ee3[_0x4a73d9(0x59b)])(()=>(0x0,_0x1a617a[_0x4a73d9(0x458)])(_0x3b89e3),[_0x3b89e3]);(0x0,_0x9d5ee3[_0x4a73d9(0x396)])(()=>{const _0x3b4c1c=_0x4a73d9;let _0x33ada7=_0x5cd477['onCommandExecuted'](_0x30637d=>{const _0x4cae83=_0x3385;if(_0x30637d['id']!==_0x43ee3e[_0x4cae83(0x403)]['id'])return;let _0x2f5174=_0x3164c2[_0x4cae83(0x343)](_0x570500,_0x551249,_0xc878fc);_0x2f5174&&_0x26495c(_0x2f5174);});return()=>_0x33ada7[_0x3b4c1c(0x27e)]();},[_0x5cd477,_0xc878fc,_0x3164c2,_0x551249,_0x570500]);let _0x1fd7fc=_0x34d873=>{_0x26495c(_0x16a3b2=>({..._0x16a3b2,..._0x34d873}));},_0x21704c=_0x121a4e=>{const _0x2d3711=_0x4a73d9;let _0x34c28f=(0x0,_0x1a617a[_0x2d3711(0x591)])(_0x3b89e3,_0x121a4e);_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,{'oldShapeData':{'shapeText':_0x3b89e3[_0x2d3711(0x1d1)]}},_0x34c28f),_0x1fd7fc(_0x34c28f);},_0x2557bd=(0x0,_0x1a617a[_0x4a73d9(0x474)])({'hostType':_0x4fcc67['UniverInstanceType'][_0x4a73d9(0x28f)],'unitId':_0x570500,'subUnitId':_0x551249,'shapeId':_0xc878fc,'shapeData':_0x3b89e3,'onUpdateBinding':_0x5e05dd=>{const _0x1225e4=_0x4a73d9;let _0x3077b9={'formulaBinding':_0x5e05dd};_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,{'oldShapeData':{'formulaBinding':_0x3b89e3[_0x1225e4(0x4d5)]}},_0x3077b9),_0x1fd7fc(_0x3077b9);}});return(0x0,_0x58bcbb[_0x4a73d9(0x4b5)])(_0x58bcbb[_0x4a73d9(0x26a)],{'children':[(0x0,_0x58bcbb[_0x4a73d9(0x58f)])(_0x1a617a[_0x4a73d9(0x1f2)],{'canvasElement':_0xc0183['canvasElement'],'shapeData':_0x3b89e3,'shapeType':_0x5772bf,'textStyle':{'ff':_0x42c76f[_0x4a73d9(0x1de)]['shapeText']['fontFamily'],'fs':_0x42c76f[_0x4a73d9(0x1de)]['shapeText'][_0x4a73d9(0x28c)],'cl':{'rgb':_0x42c76f[_0x4a73d9(0x1de)]['shapeText'][_0x4a73d9(0x2c5)]},..._0x1d540e},'textModel':_0x14e027?{'ha':_0x14e027['ha']??_0x4fcc67['HorizontalAlign'][_0x4a73d9(0x35f)],'va':_0x14e027['va']??_0x4fcc67[_0x4a73d9(0x263)]['TOP']}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x42c76f['ShapeDefaultConfig'][_0x4a73d9(0x46e)],'defaultGradientEndColor':_0x42c76f[_0x4a73d9(0x1de)][_0x4a73d9(0x278)],'defaultStrokeColor':_0x42c76f[_0x4a73d9(0x1de)]['stroke'],'extensionGroups':_0x2557bd[_0x4a73d9(0x1c9)],'floatingObjectToolbarPosition':_0x3412e6[_0x4a73d9(0x426)][_0x4a73d9(0x280)],'onUpdateShapeData':(_0x1d1df1,_0x16ebed)=>{_0x15d4c3(_0x5cd477,_0x570500,_0x551249,_0xc878fc,_0x1d1df1,_0x16ebed),_0x16ebed&&_0x1fd7fc(_0x16ebed);},'onUpdateText':_0x21704c,'onOpenPanel':()=>{const _0x5a183d=_0x4a73d9;_0x5cd477[_0x5a183d(0x4b3)](_0x5398f0['id'],{'unitId':_0x570500,'subUnitId':_0x551249,'drawingId':_0xc878fc});},'onDelete':()=>{const _0x52701e=_0x4a73d9;_0x5cd477[_0x52701e(0x4b3)](_0x51f92a['RemoveSheetDrawingCommand']['id'],{'unitId':_0x570500,'drawings':[{'unitId':_0x570500,'subUnitId':_0x551249,'drawingId':_0xc878fc,'drawingType':_0x4babe2}]});}}),_0x2557bd[_0x4a73d9(0x2e5)]]});}function _0x3f7252(_0x5412f8){const _0x27f7d6=_0x439e5d;return!!_0x5412f8&&'axisAlignSheetTransform'in _0x5412f8&&_0x27f7d6(0x4ad)in _0x5412f8;}let _0x3f6428=(0x0,_0x9d5ee3[_0x439e5d(0x3b6)])(()=>{const _0xd96005=_0x439e5d;let _0x391175=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x2d6cbb),_0x4a2773=(0x0,_0x3412e6['useDependency'])(_0x43ee3e['SheetsShapeService']),_0x2184bf=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x89eb48[_0xd96005(0x211)]),_0x3af530=(0x0,_0x3412e6['useDependency'])(_0x4fcc67['ICommandService']),_0x1beee7=(0x0,_0x3412e6['useDependency'])(_0x3412e6[_0xd96005(0x394)]),_0x5872c6=(0x0,_0x3412e6[_0xd96005(0x4a1)])(_0x5e3080[_0xd96005(0x265)]),_0x52478d=(0x0,_0x9d5ee3['useMemo'])(()=>({'getShapeModel':(_0x229b21,_0x51ce7e,_0x268c76)=>_0x4a2773[_0xd96005(0x1df)](_0x229b21,_0x51ce7e,_0x268c76),'getShapeData':(_0x191243,_0xa6bf1f,_0x4db745)=>_0x4a2773['getShapeDataById'](_0x191243,_0xa6bf1f,_0x4db745),'getDrawingTransform':(_0xc46721,_0xc6c70,_0xfbb5b5)=>{const _0x20e68e=_0xd96005;let _0x2ebbb7=_0x2184bf[_0x20e68e(0x269)]({'unitId':_0xc46721,'subUnitId':_0xc6c70,'drawingId':_0xfbb5b5});return _0x2ebbb7==null?void 0x0:_0x2ebbb7[_0x20e68e(0x3a8)];},'updateShapeText':({unitId:_0x3213e0,subUnitId:_0x2457ca,shapeId:_0x2ce518,shapeText:_0x1676d9,oldShapeText:_0x368dad,hostSize:_0x5ae3a3})=>{_0x1beee7['run'](_0x3213e0,()=>{const _0x4a95b9=_0x3385;var _0x80d26a;let _0x4c6d59=_0x3af530['syncExecuteCommand'](_0x4b1d28['id'],{'unitId':_0x3213e0,'subUnitId':_0x2457ca,'shapeId':_0x2ce518,'shapeData':{'shapeText':_0x1676d9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x368dad}}});if(!_0x4c6d59||!_0x5ae3a3)return _0x4c6d59;let _0xabc8d3=_0x2184bf[_0x4a95b9(0x269)]({'unitId':_0x3213e0,'subUnitId':_0x2457ca,'drawingId':_0x2ce518}),_0x3b9d6c=_0xabc8d3==null?void 0x0:_0xabc8d3[_0x4a95b9(0x3a8)];if(!_0x3f7252(_0xabc8d3)||!_0x3b9d6c)return!0x1;let _0x178b65={..._0x3b9d6c,'width':_0x5ae3a3[_0x4a95b9(0x5a5)],'height':_0x5ae3a3['height']},_0x2942f8=(_0x80d26a=_0x5872c6[_0x4a95b9(0x40f)](_0x3213e0))==null||(_0x80d26a=_0x80d26a[_0x4a95b9(0x54f)](_0x5b8007[_0x4a95b9(0x2e8)])[_0x4a95b9(0x1da)](_0x2457ca))==null?void 0x0:_0x80d26a[_0x4a95b9(0x4c4)];return _0x3af530['syncExecuteCommand'](_0x51f92a['SetSheetDrawingCommand']['id'],{'unitId':_0x3213e0,'drawings':[{..._0xabc8d3,'transform':_0x178b65,'sheetTransform':_0x2942f8?(0x0,_0x51f92a[_0x4a95b9(0x1fc)])(_0x178b65,_0x2942f8)??_0xabc8d3[_0x4a95b9(0x4ad)]:_0xabc8d3[_0x4a95b9(0x4ad)],'axisAlignSheetTransform':_0x2942f8?(0x0,_0x51f92a[_0x4a95b9(0x1e5)])(_0x178b65,_0x2942f8)??_0xabc8d3[_0x4a95b9(0x2ef)]:_0xabc8d3[_0x4a95b9(0x2ef)]}]});});},'updateHostSize':({unitId:_0x5c342b,subUnitId:_0x16865d,shapeId:_0x4fa0b6,width:_0x38b35a,height:_0x2e0262})=>{const _0x2c11a7=_0xd96005;var _0x59e630;let _0x16954b=_0x2184bf[_0x2c11a7(0x269)]({'unitId':_0x5c342b,'subUnitId':_0x16865d,'drawingId':_0x4fa0b6}),_0xa668e9=_0x16954b==null?void 0x0:_0x16954b[_0x2c11a7(0x3a8)];if(!_0x3f7252(_0x16954b)||!_0xa668e9)return;let _0x36d924={..._0xa668e9,'width':_0x38b35a,'height':_0x2e0262},_0x3fbda3=(_0x59e630=_0x5872c6[_0x2c11a7(0x40f)](_0x5c342b))==null||(_0x59e630=_0x59e630[_0x2c11a7(0x54f)](_0x5b8007['SheetSkeletonManagerService'])[_0x2c11a7(0x1da)](_0x16865d))==null?void 0x0:_0x59e630[_0x2c11a7(0x4c4)],_0x3e2176=_0x3fbda3?(0x0,_0x51f92a[_0x2c11a7(0x1fc)])(_0x36d924,_0x3fbda3)??_0x16954b[_0x2c11a7(0x4ad)]:_0x16954b['sheetTransform'],_0x2343aa=_0x3fbda3?(0x0,_0x51f92a[_0x2c11a7(0x1e5)])(_0x36d924,_0x3fbda3)??_0x16954b[_0x2c11a7(0x2ef)]:_0x16954b[_0x2c11a7(0x2ef)];_0x3af530[_0x2c11a7(0x4b3)](_0x51f92a[_0x2c11a7(0x40c)]['id'],{'unitId':_0x5c342b,'drawings':[{..._0x16954b,'transform':_0x36d924,'sheetTransform':_0x3e2176,'axisAlignSheetTransform':_0x2343aa}]});},'allowHostSizeShrink':({unitId:_0x1cc9d7,subUnitId:_0x2dca67,shapeId:_0x316f48})=>(0x0,_0x1a617a[_0xd96005(0x2ae)])(_0x4a2773[_0xd96005(0x343)](_0x1cc9d7,_0x2dca67,_0x316f48)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x3af530,_0x2184bf,_0x5872c6,_0x4a2773,_0x1beee7]),_0x3e743f=(0x0,_0x9d5ee3[_0xd96005(0x59b)])(()=>({'viewportKeys':{'main':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x209)],'leftTop':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x388)],'top':_0x5e3080[_0xd96005(0x41f)]['VIEW_MAIN_TOP'],'left':_0x5e3080[_0xd96005(0x41f)][_0xd96005(0x26e)]},'getSkeleton':(_0x47b6a9,_0x128033)=>{const _0x4fc316=_0xd96005;var _0x5901eb;return((_0x5901eb=_0x47b6a9[_0x4fc316(0x54f)](_0x5b8007['SheetSkeletonManagerService'])[_0x4fc316(0x1da)](_0x128033[_0x4fc316(0x555)]))==null?void 0x0:_0x5901eb['skeleton'])??null;}}),[]);return(0x0,_0x58bcbb[_0xd96005(0x58f)])(_0x1a617a[_0xd96005(0x30e)],{'adapter':_0x52478d,'editingService':_0x391175,'editorUnitId':_0x2de965,'positionOptions':_0x3e743f});}),_0x1b47d1=class extends _0x4fcc67['Disposable']{constructor(_0x536b72,_0x5d6685){const _0x97952a=_0x439e5d;super(),this['_componentManager']=_0x536b72,this[_0x97952a(0x28b)]=_0x5d6685,this[_0x97952a(0x419)](),this[_0x97952a(0x37d)]();}[_0x439e5d(0x419)](){const _0x53d44f=_0x439e5d;this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x557))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'ObjectLayersIcon':_0x22dce5})),this[_0x53d44f(0x28b)]['has'](_0x53d44f(0x567))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'FlipHorizontalIcon':_0x549556})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x3c9))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'FlipVerticalIcon':_0x2c9f6c})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x3b2))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'BottomIcon':_0x2a1fa2})),this[_0x53d44f(0x28b)]['has'](_0x53d44f(0x3e0))||this[_0x53d44f(0x575)](this[_0x53d44f(0x28b)]['register']({'MoveDownIcon':_0x49a981})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x5a0))||this['disposeWithMe'](this['_iconManager'][_0x53d44f(0x440)]({'MoveUpIcon':_0x17dd09})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)](_0x53d44f(0x432))||this['disposeWithMe'](this[_0x53d44f(0x28b)][_0x53d44f(0x440)]({'ShapeFormatSettingIcon':_0x2e5e30})),this[_0x53d44f(0x28b)][_0x53d44f(0x59f)]('TopmostIcon')||this[_0x53d44f(0x575)](this['_iconManager'][_0x53d44f(0x440)]({'TopmostIcon':_0x2c1706}));}[_0x439e5d(0x37d)](){const _0x1e5762=_0x439e5d;this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x3a3b9a,_0x3a4edc)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x473a2b,_0x152447)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x1b11f8,_0x459ba5)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x4a3dfe,_0x382226)),this[_0x1e5762(0x41a)][_0x1e5762(0x54a)](_0x108bdb[_0x1e5762(0x569)])||this['disposeWithMe'](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x108bdb['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x233a38)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x48c20d,_0xf496ba)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)]['register'](_0x52f6ff,_0xb829be)),this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x1d7539,_0x2bee39)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x3e1600,_0x499602)),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x36255e,_0x5c33bb)),this['disposeWithMe'](this[_0x1e5762(0x41a)]['register'](_0x1c0b50,_0x1a617a[_0x1e5762(0x2d5)])),this[_0x1e5762(0x575)](this[_0x1e5762(0x41a)][_0x1e5762(0x440)](_0x1e5762(0x39e),_0x3f6428));}};_0x1b47d1=_0x5b9725([_0x56348c(0x0,(0x0,_0x4fcc67['Inject'])(_0x3412e6[_0x439e5d(0x3fb)])),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x439)]))],_0x1b47d1);let _0x3f111c=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x150ed7,_0x1b1a46,_0xfd9a25,_0x547572,_0x25cc00,_0x320df2,_0x5c074c,_0x4966f3,_0x324152){const _0x16379a=_0x439e5d;super();let _0x20548d=_0xae2089=>{const _0x91e7f0=_0x3385;var _0x531cb1,_0x576bd8;return(((_0x531cb1=_0x4966f3['getPermissionPoint'](new _0x33d9c6[(_0x91e7f0(0x484))](_0xae2089[_0x91e7f0(0x3a2)])['id']))==null?void 0x0:_0x531cb1[_0x91e7f0(0x3f0)])??!0x0)&&(((_0x576bd8=_0x4966f3[_0x91e7f0(0x3f6)](new _0x33d9c6[(_0x91e7f0(0x53d))](_0xae2089[_0x91e7f0(0x3a2)],_0xae2089[_0x91e7f0(0x555)])['id']))==null?void 0x0:_0x576bd8[_0x91e7f0(0x3f0)])??!0x0);},_0x2165ee=_0x19d92e=>_0x19d92e[_0x16379a(0x1cf)]&&_0x20548d(_0x19d92e)?_0xfd9a25[_0x16379a(0x343)](_0x19d92e['unitId'],_0x19d92e['subUnitId'],_0x19d92e[_0x16379a(0x1cf)])??null:null,_0x1d1a17=()=>{const _0x12df1a=_0x16379a;let _0x83c4f7=_0x25cc00['getFocusDrawings'](),_0x10585a=_0x83c4f7[_0x12df1a(0x298)]===0x1?_0x83c4f7[0x0]:null;return(_0x10585a==null?void 0x0:_0x10585a[_0x12df1a(0x31a)])===_0x4fcc67[_0x12df1a(0x204)][_0x12df1a(0x4b8)]&&_0x10585a[_0x12df1a(0x3a2)]===_0x150ed7[_0x12df1a(0x3a2)]?{'unitId':_0x10585a[_0x12df1a(0x3a2)],'subUnitId':_0x10585a[_0x12df1a(0x555)],'shapeId':_0x10585a[_0x12df1a(0x457)]}:null;};this[_0x16379a(0x575)]((0x0,_0x1a617a[_0x16379a(0x45b)])(_0x150ed7,_0x1b1a46,{'changes$':(0x0,_0x5597c9[_0x16379a(0x40e)])(_0x25cc00['focus$'],_0x547572['editingParams$'],_0x4966f3[_0x16379a(0x31d)]),'isActive':()=>{const _0x25affd=_0x16379a;var _0x50f76a;return((_0x50f76a=_0x320df2['getFocusedUnit']())==null?void 0x0:_0x50f76a[_0x25affd(0x54e)]())===_0x150ed7[_0x25affd(0x3a2)]&&!_0x5c074c['getContextValue'](_0x4fcc67[_0x25affd(0x1f7)])&&_0x25cc00[_0x25affd(0x52f)]()[_0x25affd(0x2a2)](_0x262551=>_0x262551[_0x25affd(0x3a2)]===_0x150ed7['unitId']);},'getSelectedTarget':_0x1d1a17,'getSource':()=>{let _0x5500fc=_0x1d1a17();return _0x5500fc?_0x2165ee(_0x5500fc):null;},'getTarget':_0xcdfedc=>{const _0xcfd12b=_0x16379a;let _0x5ac228=_0x150ed7[_0xcfd12b(0x56f)][_0xcfd12b(0x2aa)](new _0x5e3080[(_0xcfd12b(0x2d2))](_0xcdfedc[_0xcfd12b(0x525)],_0xcdfedc['offsetY']));if(!(_0x5ac228 instanceof _0x11dd97))return null;let _0x28bf42={'unitId':_0x150ed7['unitId'],'subUnitId':_0x5ac228[_0xcfd12b(0x555)],'shapeId':_0x5ac228[_0xcfd12b(0x1cf)]};return _0x20548d(_0x28bf42)?_0x28bf42:null;},'getShape':_0x2165ee,'update':(_0x27c64a,_0x3b32be,_0x5a54a9)=>_0x324152[_0x16379a(0x4b3)](_0x4b1d28['id'],{..._0x27c64a,'shapeData':_0x5a54a9,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x3b32be}})}));}};_0x3f111c=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x374)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e['SheetsShapeService'])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x4,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x5,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x6,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x7,_0x4fcc67[_0x439e5d(0x2ec)]),_0x56348c(0x8,_0x4fcc67[_0x439e5d(0x286)])],_0x3f111c);let _0x3cd96c=_0x439e5d(0x287),_0x2b9cf3=class extends _0x4fcc67[_0x439e5d(0x3ef)]{constructor(_0x5a458f,_0x1cd2a1,_0x200f99,_0x409873,_0x10fa26,_0x1fbe53){const _0x5e5453=_0x439e5d;super(),this[_0x5e5453(0x4fd)]=_0x5a458f,this[_0x5e5453(0x1e1)]=_0x1cd2a1,this[_0x5e5453(0x232)]=_0x200f99,this[_0x5e5453(0x54b)]=_0x409873,this[_0x5e5453(0x35d)]=_0x10fa26,this[_0x5e5453(0x4f9)]=_0x1fbe53,_0x355f4a(this,_0x5e5453(0x408),!0x1),this[_0x5e5453(0x4fd)][_0x5e5453(0x301)](_0x2948fc),this[_0x5e5453(0x575)]((0x0,_0x4fcc67[_0x5e5453(0x4f3)])(this[_0x5e5453(0x232)][_0x5e5453(0x328)][_0x5e5453(0x523)](()=>this['_update']()))),this[_0x5e5453(0x466)]();}['dispose'](){const _0x362b9b=_0x439e5d;this['_shapeFloatingToolbarService'][_0x362b9b(0x1e9)](!0x1,_0x3cd96c),this[_0x362b9b(0x433)](),super['dispose']();}[_0x439e5d(0x466)](){const _0xd3441e=_0x439e5d;var _0x1518a7;let _0x50ac07=this[_0xd3441e(0x232)]['getFocusDrawings'](),_0x5e9764=_0x50ac07[_0xd3441e(0x298)]===0x1?_0x50ac07[0x0]:void 0x0;if((_0x5e9764==null?void 0x0:_0x5e9764[_0xd3441e(0x31a)])!==_0x4fcc67[_0xd3441e(0x204)]['DRAWING_SHAPE']||this[_0xd3441e(0x54b)][_0xd3441e(0x4a8)](_0x5e9764[_0xd3441e(0x3a2)])!==_0x4fcc67[_0xd3441e(0x578)]['UNIVER_SHEET']){this[_0xd3441e(0x4f9)][_0xd3441e(0x1e9)](!0x1,_0x3cd96c),this['_hide']();return;}let _0x309551=(_0x1518a7=this[_0xd3441e(0x35d)][_0xd3441e(0x40f)](_0x5e9764[_0xd3441e(0x3a2)]))==null?void 0x0:_0x1518a7[_0xd3441e(0x28a)][_0xd3441e(0x24a)](),_0x3e7de4=(0x0,_0x1a617a['resolveShapeContextualRibbonHostMode'])(_0x309551)===_0xd3441e(0x2be);this[_0xd3441e(0x4f9)][_0xd3441e(0x1e9)](_0x3e7de4,_0x3cd96c),_0x3e7de4?this[_0xd3441e(0x433)]():this['_visible']||(this[_0xd3441e(0x408)]=!0x0,this[_0xd3441e(0x1e1)][_0xd3441e(0x57b)](_0x54ca59,{'activate':!0x0}));}[_0x439e5d(0x433)](){const _0xd2f600=_0x439e5d;this[_0xd2f600(0x408)]&&(this[_0xd2f600(0x408)]=!0x1,this['_ribbonService'][_0xd2f600(0x378)](_0x54ca59),this[_0xd2f600(0x1e1)]['setCollapsedIds']([]));}};_0x2b9cf3=_0x5b9725([_0x56348c(0x0,_0x3412e6[_0x439e5d(0x381)]),_0x56348c(0x1,_0x3412e6[_0x439e5d(0x303)]),_0x56348c(0x2,_0x89eb48['IDrawingManagerService']),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x4,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x406)]))],_0x2b9cf3);let _0x2e1361=class extends _0x1a617a[_0x439e5d(0x291)]{constructor(_0x3d8728,_0x3f383c,_0x3decca,_0x406b90,_0xb60bd9,_0x5ccd5f,_0x386dfc,_0x542232,_0x15d6ca,_0x8665e2){super(_0x3d8728,_0x3f383c,_0x3decca,_0x406b90,_0xb60bd9,_0x5ccd5f,_0x386dfc,_0x542232,_0x15d6ca,_0x8665e2,{'componentKey':_0x1c0b50,'editorUnitId':_0x2de965});}};_0x2e1361=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67['Inject'])(_0x73dbdf['DocSelectionManagerService'])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x43f)])),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x1dd)])),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x5,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x505021[_0x439e5d(0x1f9)])),_0x56348c(0x6,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x34f)])),_0x56348c(0x7,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x73dbdf[_0x439e5d(0x3d3)])),_0x56348c(0x8,(0x0,_0x4fcc67['Inject'])(_0x505021[_0x439e5d(0x1b3)])),_0x56348c(0x9,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb))],_0x2e1361);let _0x54d4d7=class extends _0x1a617a[_0x439e5d(0x243)]{constructor(_0x383ffe,_0x289280,_0x1f366b,_0x3bf506,_0x3fc723){const _0xa153cb=_0x439e5d;super(_0x383ffe,_0x289280,{'editing$':_0x1f366b[_0xa153cb(0x4d0)],'resolve':_0x566b2c=>{const _0x18c102=_0xa153cb;var _0x30fb5e,_0x1969bd,_0xda4076;let _0x5e1e1d=new _0x5e3080['Vector2'](_0x566b2c[_0x18c102(0x525)],_0x566b2c[_0x18c102(0x409)]),_0x5157d7=((_0x30fb5e=_0x383ffe[_0x18c102(0x56f)][_0x18c102(0x3eb)](_0x5e1e1d))==null?void 0x0:_0x30fb5e[_0x18c102(0x3e6)](_0x5e1e1d))??_0x5e1e1d,_0x4bdfd6=(0x0,_0x1a617a[_0x18c102(0x4eb)])(_0x383ffe['scene'][_0x18c102(0x2aa)](_0x5e1e1d)??null,_0x5157d7);if(!(_0x4bdfd6 instanceof _0x11dd97))return null;let _0x2ee16b=_0x4bdfd6[_0x18c102(0x283)](_0x5157d7);if(!_0x2ee16b)return null;let _0xffc0a4=_0x4bdfd6,_0x503f6e={'componentKey':_0x1a617a['ShapeTextHyperLinkInfo']['componentKey'],'direction':_0x18c102(0x1fd),'offset':[0x0,0xa],'onClickOutside':()=>_0x289280[_0x18c102(0x43b)]()};return{'object':_0x4bdfd6,'info':{..._0x2ee16b,'unitId':_0x4bdfd6[_0x18c102(0x3a2)],'subUnitId':_0x4bdfd6['subUnitId'],'shapeKey':_0x4bdfd6[_0x18c102(0x47e)],'readonly':!0x0,'copyable':((_0x1969bd=_0x3fc723[_0x18c102(0x3f6)](new _0x33d9c6[(_0x18c102(0x51a))](_0x4bdfd6[_0x18c102(0x3a2)])['id']))==null?void 0x0:_0x1969bd[_0x18c102(0x3f0)])!==!0x1&&((_0xda4076=_0x3fc723[_0x18c102(0x3f6)](new _0x33d9c6[(_0x18c102(0x425))](_0x4bdfd6[_0x18c102(0x3a2)],_0x4bdfd6[_0x18c102(0x555)])['id']))==null?void 0x0:_0xda4076[_0x18c102(0x3f0)])!==!0x1},'attachPopup':()=>_0x3bf506[_0x18c102(0x241)](_0xffc0a4,_0x503f6e)};}}),this[_0xa153cb(0x575)](_0x383ffe['unit'][_0xa153cb(0x399)][_0xa153cb(0x523)](()=>this[_0xa153cb(0x3ee)]()));}};_0x54d4d7=_0x5b9725([_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x1a617a[_0x439e5d(0x34f)])),_0x56348c(0x2,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x2d6cbb)),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x4,_0x4fcc67[_0x439e5d(0x2ec)])],_0x54d4d7);let _0x40cd02=class extends _0x4fcc67['Disposable']{constructor(_0x541f5b,_0x4d0300,_0x10b50c,_0x34aa8f,_0x5cb59c,_0x89794b,_0x369a32,_0x3d5e8f,_0x58d2d6,_0x185d9c,_0x39bdc7){const _0x69e079=_0x439e5d;super(),this[_0x69e079(0x54b)]=_0x541f5b,this[_0x69e079(0x2a5)]=_0x4d0300,this[_0x69e079(0x4fd)]=_0x10b50c,this[_0x69e079(0x4f6)]=_0x34aa8f,this['_localeService']=_0x5cb59c,this[_0x69e079(0x30c)]=_0x89794b,this[_0x69e079(0x232)]=_0x369a32,this['_sheetCanvasPopManagerService']=_0x3d5e8f,this[_0x69e079(0x3c8)]=_0x58d2d6,this[_0x69e079(0x35d)]=_0x185d9c,this[_0x69e079(0x3e4)]=_0x39bdc7,_0x355f4a(this,_0x69e079(0x1b6),null),_0x355f4a(this,'_activeShapeInfo',null),_0x355f4a(this,_0x69e079(0x405),!0x1),_0x355f4a(this,_0x69e079(0x3de),0x0),_0x355f4a(this,'_shapePopupMenuDisposable',null),_0x355f4a(this,_0x69e079(0x404),[]),this[_0x69e079(0x4b1)](),this[_0x69e079(0x575)](this[_0x69e079(0x54b)][_0x69e079(0x2af)](_0x4fcc67[_0x69e079(0x578)][_0x69e079(0x28f)])['subscribe'](_0x3b2717=>{const _0x3d9796=_0x69e079;if(!_0x3b2717){var _0x1d4d68;(_0x1d4d68=this[_0x3d9796(0x1b6)])==null||_0x1d4d68[_0x3d9796(0x27e)]();}})),this[_0x69e079(0x3b4)](),this[_0x69e079(0x46f)](),this[_0x69e079(0x575)](this['_shapeTextEditingService'][_0x69e079(0x4d0)]['subscribe'](_0x56d47f=>{const _0x18c5a2=_0x69e079;_0x56d47f&&this[_0x18c5a2(0x40a)]();}));}['_initMenu'](){const _0x25acf7=_0x439e5d;this[_0x25acf7(0x4fd)]['mergeMenu'](_0x4eaffd);}['initShapePopupMenu'](){const _0x41b8d5=_0x439e5d;this['_shapePopupMenuDisposable']||=this[_0x41b8d5(0x575)]((0x0,_0x1a617a[_0x41b8d5(0x24e)])(this[_0x41b8d5(0x35d)],_0x4fcc67[_0x41b8d5(0x578)][_0x41b8d5(0x28f)],_0x212725=>this['_popupMenuListener'](_0x212725)));}[_0x439e5d(0x206)](_0x4f81bd,_0x55a59e,_0x5ac245){const _0x290b49=_0x439e5d;let _0x296db3=this[_0x290b49(0x4f6)][_0x290b49(0x352)](_0x4f81bd,_0x55a59e,_0x5ac245),_0x3f83fc=this[_0x290b49(0x4f6)][_0x290b49(0x343)](_0x4f81bd,_0x55a59e,_0x5ac245);return _0x296db3!==void 0x0&&_0x3f83fc!==void 0x0?{'shapeData':_0x3f83fc,'shapeId':_0x5ac245,'shapeType':_0x296db3,'unitId':_0x4f81bd,'subUnitId':_0x55a59e,'version':this[_0x290b49(0x3de)],'disableShapeOption':!0x1}:null;}[_0x439e5d(0x40a)](){const _0x2f96da=_0x439e5d;this[_0x2f96da(0x404)][_0x2f96da(0x386)](_0x4fc638=>_0x4fc638[_0x2f96da(0x27e)]()),this[_0x2f96da(0x404)][_0x2f96da(0x298)]=0x0;}[_0x439e5d(0x302)](_0x12385a){const _0x4cebf4=_0x439e5d;let _0x10145d=new _0x4fcc67[(_0x4cebf4(0x4b6))]();return _0x10145d['add'](_0x12385a['createControl$']['subscribe'](()=>{const _0x1efcac=_0x4cebf4;let _0x5f0128=_0x12385a[_0x1efcac(0x3aa)]();if(this[_0x1efcac(0x40a)](),this['_isOpenedShapeEditPanel']||_0x5f0128['size']>0x1)return;let _0x44196b=_0x5f0128[_0x1efcac(0x413)]()['next']()[_0x1efcac(0x3f0)];if(!_0x44196b)return;let _0x20bc1a=this['_drawingManagerService']['getDrawingOKey'](_0x44196b['oKey']);if(!_0x20bc1a||_0x20bc1a[_0x1efcac(0x31a)]!==_0x4fcc67['DrawingTypeEnum'][_0x1efcac(0x4b8)])return;let {unitId:_0x995620,subUnitId:_0x4ac2e6,drawingId:_0x3df3d2,drawingType:_0x5745c5}=_0x20bc1a,_0x38fa5d=this[_0x1efcac(0x206)](_0x995620,_0x4ac2e6,_0x3df3d2);if(!_0x38fa5d)return;this['_contextService'][_0x1efcac(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x291928=this[_0x1efcac(0x35d)][_0x1efcac(0x40f)](_0x995620),_0x4073c5=((_0x291928==null?void 0x0:_0x291928[_0x1efcac(0x3e1)])===!0x1?_0x291928[_0x1efcac(0x54f)](_0x5b8007[_0x1efcac(0x375)]):this[_0x1efcac(0x20a)])[_0x1efcac(0x241)](_0x44196b,{'componentKey':_0x48c20d,'direction':_0x1efcac(0x55c),'offset':[0x0,_0x1a617a['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x995620,'subUnitId':_0x4ac2e6,'drawingId':_0x3df3d2,'drawingType':_0x5745c5,'shapeType':_0x38fa5d[_0x1efcac(0x53a)],'shapeData':_0x38fa5d['shapeData']}});this[_0x1efcac(0x404)][_0x1efcac(0x1d6)](this[_0x1efcac(0x575)](_0x4073c5)),this[_0x1efcac(0x232)][_0x1efcac(0x52f)]()[_0x1efcac(0x2b5)](_0x26bd8c=>_0x26bd8c[_0x1efcac(0x3a2)]===_0x995620&&_0x26bd8c[_0x1efcac(0x555)]===_0x4ac2e6&&_0x26bd8c[_0x1efcac(0x457)]===_0x3df3d2)||this[_0x1efcac(0x232)]['focusDrawing']([{'unitId':_0x995620,'subUnitId':_0x4ac2e6,'drawingId':_0x3df3d2}]);})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x2ad)][_0x4cebf4(0x523)](()=>{const _0x53599f=_0x4cebf4;this[_0x53599f(0x40a)](),this[_0x53599f(0x3c8)][_0x53599f(0x1cd)](_0x4fcc67['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x53599f(0x232)][_0x53599f(0x45f)](null);})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x459)][_0x4cebf4(0x523)](()=>{const _0xb500ae=_0x4cebf4;this[_0xb500ae(0x40a)]();})),_0x10145d[_0x4cebf4(0x3e9)](_0x12385a[_0x4cebf4(0x290)][_0x4cebf4(0x523)](()=>{const _0x29725f=_0x4cebf4;this[_0x29725f(0x40a)]();})),(0x0,_0x4fcc67[_0x4cebf4(0x4f3)])(()=>{const _0x519071=_0x4cebf4;_0x10145d[_0x519071(0x27e)](),this[_0x519071(0x40a)]();});}[_0x439e5d(0x3b4)](){const _0x24050e=_0x439e5d;this['disposeWithMe'](this[_0x24050e(0x30c)][_0x24050e(0x4a4)](_0x41556c=>{const _0x26e852=_0x24050e;if(_0x41556c['id']===_0x5398f0['id']){let {unitId:_0x48f051,subUnitId:_0xee31f,drawingId:_0xf80e60}=_0x41556c[_0x26e852(0x22e)];this[_0x26e852(0x3de)]+=0x1,this[_0x26e852(0x3c4)]=this[_0x26e852(0x206)](_0x48f051,_0xee31f,_0xf80e60),this[_0x26e852(0x40a)](),this[_0x26e852(0x2ed)]();}if(_0x41556c['id']===_0x530760['id']&&(this[_0x26e852(0x3c4)]=null,this['_closeShapeEditPanel']()),_0x41556c['id']===_0x43ee3e[_0x26e852(0x403)]['id']){let {unitId:_0x1df9e6,subUnitId:_0x9baef9,shapeId:_0x27accb}=_0x41556c[_0x26e852(0x22e)];if(this[_0x26e852(0x3c4)]&&this[_0x26e852(0x3c4)][_0x26e852(0x1cf)]===_0x27accb){let _0x1c6620=this[_0x26e852(0x206)](_0x1df9e6,_0x9baef9,_0x27accb);_0x1c6620&&(this['_shapeEditPanelVersion']+=0x1,_0x1c6620[_0x26e852(0x3d8)]=this['_shapeEditPanelVersion'],this[_0x26e852(0x3c4)]=_0x1c6620,this[_0x26e852(0x405)]&&this[_0x26e852(0x2ed)]());}}})),this[_0x24050e(0x575)](this[_0x24050e(0x232)][_0x24050e(0x328)]['subscribe'](_0x14fdde=>{const _0x30e992=_0x24050e;if(this[_0x30e992(0x405)]===!0x1)return;if(_0x14fdde[_0x30e992(0x298)]===0x0){this[_0x30e992(0x3c4)]=null,this[_0x30e992(0x58b)]();return;}if(_0x14fdde['length']===0x1&&_0x14fdde[0x0][_0x30e992(0x31a)]===_0x4fcc67[_0x30e992(0x204)]['DRAWING_SHAPE']&&(this[_0x30e992(0x3de)]+=0x1,this[_0x30e992(0x3c4)]=this[_0x30e992(0x206)](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0][_0x30e992(0x457)]),this['_activeShapeInfo'])){this[_0x30e992(0x2ed)]();return;}let _0x1b8b78=_0x14fdde[_0x30e992(0x4a3)](_0x20cd14=>_0x20cd14[_0x30e992(0x31a)]===_0x4fcc67[_0x30e992(0x204)][_0x30e992(0x4b8)]);if(_0x14fdde[_0x30e992(0x298)]>0x1&&_0x1b8b78[_0x30e992(0x298)]===_0x14fdde['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x30e992(0x3c4)]=this['_getShapeInfo'](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0][_0x30e992(0x457)]),this[_0x30e992(0x3c4)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x30e992(0x3de)]+=0x1,this[_0x30e992(0x3c4)]=this['_getShapeInfo'](_0x14fdde[0x0][_0x30e992(0x3a2)],_0x14fdde[0x0][_0x30e992(0x555)],_0x14fdde[0x0]['drawingId']),this[_0x30e992(0x3c4)]){this[_0x30e992(0x3c4)][_0x30e992(0x29e)]=!0x0,this[_0x30e992(0x2ed)]();return;}}this[_0x30e992(0x58b)]();}));}['_openShapeEditPanel'](){const _0x2883dd=_0x439e5d;this[_0x2883dd(0x3c4)]&&(this[_0x2883dd(0x1b6)]=this['_sidebarService'][_0x2883dd(0x2e6)]({'id':_0x3a3b9a,'header':{'title':this[_0x2883dd(0x39d)]['t'](_0x2883dd(0x437))},'width':0x184,'children':{'label':_0x3a3b9a,...this[_0x2883dd(0x3c4)]},'onClose':()=>{const _0x197857=_0x2883dd;this['_drawingManagerService'][_0x197857(0x45f)](null),this[_0x197857(0x3c8)][_0x197857(0x1cd)](_0x4fcc67[_0x197857(0x37a)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x2883dd(0x405)]=!0x0);}[_0x439e5d(0x58b)](){const _0x5a0ae1=_0x439e5d;this[_0x5a0ae1(0x405)]=!0x1,this[_0x5a0ae1(0x2a5)][_0x5a0ae1(0x345)](_0x3a3b9a),this[_0x5a0ae1(0x1b6)]=null,this[_0x5a0ae1(0x3c8)]['setContextValue'](_0x4fcc67[_0x5a0ae1(0x37a)],!0x1),this[_0x5a0ae1(0x232)][_0x5a0ae1(0x45f)](null);}};_0x40cd02=_0x5b9725([_0x56348c(0x0,_0x4fcc67[_0x439e5d(0x3e3)]),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x3412e6[_0x439e5d(0x357)])),_0x56348c(0x2,_0x3412e6[_0x439e5d(0x381)]),_0x56348c(0x3,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x43ee3e[_0x439e5d(0x373)])),_0x56348c(0x4,(0x0,_0x4fcc67['Inject'])(_0x4fcc67[_0x439e5d(0x4fb)])),_0x56348c(0x5,_0x4fcc67['ICommandService']),_0x56348c(0x6,_0x89eb48[_0x439e5d(0x211)]),_0x56348c(0x7,(0x0,_0x4fcc67['Inject'])(_0x5b8007[_0x439e5d(0x375)])),_0x56348c(0x8,_0x4fcc67[_0x439e5d(0x53c)]),_0x56348c(0x9,_0x5e3080[_0x439e5d(0x265)]),_0x56348c(0xa,(0x0,_0x4fcc67['Inject'])(_0x2d6cbb))],_0x40cd02);let _0x57e9be=class extends _0x4fcc67[_0x439e5d(0x51d)]{constructor(_0x1a8fb7=_0x42d7f1,_0x3fd270,_0x3f74be,_0x3f30d9,_0xf1d555){const _0x544bec=_0x439e5d;super(),this['_config']=_0x1a8fb7,this[_0x544bec(0x492)]=_0x3fd270,this[_0x544bec(0x30c)]=_0x3f74be,this[_0x544bec(0x3e7)]=_0x3f30d9,this[_0x544bec(0x35d)]=_0xf1d555;let {..._0x135176}=(0x0,_0x4fcc67[_0x544bec(0x40e)])({},_0x42d7f1,this[_0x544bec(0x1d3)]);this[_0x544bec(0x3e7)]['setConfig'](_0x4d1e57,_0x135176),this['_initCommands']();}['onRendered'](){const _0x2808e6=_0x439e5d;this['_renderManagerService'][_0x2808e6(0x2c7)](_0x4fcc67[_0x2808e6(0x578)][_0x2808e6(0x3bb)],[_0x2e1361]),(0x0,_0x4fcc67[_0x2808e6(0x598)])(this[_0x2808e6(0x492)],[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3b9ac4]]);}[_0x439e5d(0x3b5)](){const _0x3ad13e=_0x439e5d;this[_0x3ad13e(0x492)][_0x3ad13e(0x55f)](_0x40cd02)[_0x3ad13e(0x46f)]();}['onReady'](){const _0x5e8bc8=_0x439e5d;[[_0x32b22d],[_0xcd5dc6],[_0x2d338f]]['forEach'](_0x3b20ad=>this[_0x5e8bc8(0x492)][_0x5e8bc8(0x3e9)](_0x3b20ad)),(0x0,_0x4fcc67[_0x5e8bc8(0x598)])(this[_0x5e8bc8(0x492)],[[_0x2d338f],[_0xcd5dc6]]),this['_renderManagerService'][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x32b22d]),this['_renderManagerService'][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x2aa3d8]),this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0xe1e335]),this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)]['UNIVER_SHEET'],[_0x203689]),this['disposeWithMe'](this[_0x5e8bc8(0x35d)]['registerRenderModule'](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x54d4d7])),this[_0x5e8bc8(0x575)](this[_0x5e8bc8(0x35d)][_0x5e8bc8(0x2c7)](_0x4fcc67[_0x5e8bc8(0x578)][_0x5e8bc8(0x28f)],[_0x3f111c]));}[_0x439e5d(0x380)](){const _0x333f05=_0x439e5d;this[_0x333f05(0x492)][_0x333f05(0x3e9)]([_0x1b47d1]),this[_0x333f05(0x492)][_0x333f05(0x55f)](_0x1b47d1);let _0x46f2b6=this[_0x333f05(0x492)];[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3b9ac4],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547],[_0x2b9cf3]][_0x333f05(0x386)](_0x2856cc=>_0x46f2b6['add'](_0x2856cc)),(0x0,_0x4fcc67[_0x333f05(0x598)])(this[_0x333f05(0x492)],[[_0x40cd02],[_0xc36a77],[_0x5e7905],[_0x3be203],[_0x2d6cbb],[_0x49d1fc],[_0x2a68d5],[_0x3df547],[_0x2b9cf3]]);}['_initCommands'](){const _0x48bb72=_0x439e5d;[_0x595989,_0x4b1d28,_0x530760,_0x5398f0,_0x258cca,_0x4d0210,_0x577c0b,_0x55c4b4][_0x48bb72(0x386)](_0x4cf4f7=>this['disposeWithMe'](this[_0x48bb72(0x30c)]['registerCommand'](_0x4cf4f7)));}};_0x355f4a(_0x57e9be,_0x439e5d(0x46d),_0x4fcc67['UniverInstanceType'][_0x439e5d(0x28f)]),_0x355f4a(_0x57e9be,_0x439e5d(0x464),_0x439e5d(0x22f)),_0x355f4a(_0x57e9be,_0x439e5d(0x351),_0x662816),_0x355f4a(_0x57e9be,_0x439e5d(0x3d8),_0x2993c4),_0x57e9be=_0x5b9725([(0x0,_0x4fcc67[_0x439e5d(0x2cb)])(_0x53e697['UniverLicensePlugin'],_0x73dbdf[_0x439e5d(0x37e)],_0x89eb48['UniverDrawingPlugin'],_0x108bdb[_0x439e5d(0x4c9)],_0x5e3080[_0x439e5d(0x48c)],_0x33d9c6[_0x439e5d(0x259)],_0x505021[_0x439e5d(0x52e)],_0x51f92a[_0x439e5d(0x39f)],_0x1959c2[_0x439e5d(0x21b)],_0x254bb3[_0x439e5d(0x315)],_0x43ee3e[_0x439e5d(0x58a)],_0x5b8007['UniverSheetsUIPlugin'],_0x1a617a['UniverShapeEditorUIPlugin']),_0x56348c(0x1,(0x0,_0x4fcc67[_0x439e5d(0x356)])(_0x4fcc67['Injector'])),_0x56348c(0x2,_0x4fcc67[_0x439e5d(0x286)]),_0x56348c(0x3,_0x4fcc67[_0x439e5d(0x27c)]),_0x56348c(0x4,_0x5e3080[_0x439e5d(0x265)])],_0x57e9be),_0x2c14d8[_0x439e5d(0x25c)]=_0x2948fc,_0x2c14d8[_0x439e5d(0x4f8)]=_0x4eaffd,Object[_0x439e5d(0x47d)](_0x2c14d8,_0x439e5d(0x242),{'enumerable':!0x0,'get':function(){return _0x3ecc29;}}),Object['defineProperty'](_0x2c14d8,_0x439e5d(0x26f),{'enumerable':!0x0,'get':function(){return _0x57e9be;}});}));
|
|
1
|
+
function _0x286e(_0x5983fa,_0x390054){_0x5983fa=_0x5983fa-0x108;const _0x3e4d12=_0x3e4d();let _0x286ea4=_0x3e4d12[_0x5983fa];return _0x286ea4;}function _0x3e4d(){const _0xb4d93e=['adjName','hidden','height','gray.0','makeDirty','copyId','shape-editor-ui.toolbar.changeShape','none','SheetDrawingAnchorType','idMap','_registerGroupFeaturePasteHook','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_moveConnectorWithShape','getObjectIncludeInGroup','_commandService','@univerjs/sheets-drawing-ui','isEditing','react/jsx-runtime','interceptCommand','_executeConnectedRouteConnectionCommand','onPointerMove$','addImageSourceCache','add','shapeText','_baseShapeWidth','VIEW_MAIN_LEFT_TOP','sheets-shape-ui.title','values','lineType','version','onSavingEditorData$','SheetShapeTextEditorContainer','resolveShapeTextEditorWrapStrategy','options','resolveShapeTextHyperLinkAt','animationEnabled','value','_registerDrawingMoveHandler','targetShapeId','refreshTransform','image-clip-adjust-point-','getColorFromTheme','_activeShapeInfo','HorizontalAlign','string','toStringTag','_shapePopupMenuDisposable','sheets-shape-ui.shape-format.quick-style-gallery','TOP','_executeConnectedRouteResizeCommand','_cxtHandlerPointerMove','svg','useEffect','syncExecuteCommand','getEndConnectInfo','cxnIndex','getConnectorLinePoints','_onSavingEditorData$','sheet.shape.edit.panel','SheetSkeletonService','UniverRenderEnginePlugin','backward','_baseDrawingRect','_iconManager','UniverProShapeEditor','currentColor','TopmostIcon','memo','_registerOperations','_shapeRenderController','sidebarOptions$','_shapeService','_completionFrame','ShapeDefaultConfig','highlighted','_sidebarService','getState','onTransformChange$','_clearFocusedShape','getInterceptPoints','transformDrawingsToChartSheet','shapeData','ShapeArrowSizeEnum','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_initCommands','sheets-shape-ui','sectionCanvas','gradientEndColor','getScene','TRUE','_getShapeAdjustPointListById','univerjs-icon\x20univerjs-icon-','merge','_draw','disableShapeOption','_getShapeAdjustInfosById','resolveShapeTextEditorBehaviorShapeData','WorkbookCopyPermission','drawings','getImage','React','ancestorTransform','_sheetClipboardService','calcAdjValues','InsertSheetsShapeMutation','_renders','default','changeStart$','text','shape-editor-ui.arrange.front','SetDrawingApplyMutation','jsx','getShapeType','BottomIcon','@univerjs-pro/engine-shape','mergeMenu','_registerIcons','sheet.operation.apply-shape-quick-style','_isDrawingShapePointDown','DRAWING_SHAPE','run','cancelEditing','redo','registerCommand','InsertShapeCommand','_closeShapeEditPanel','getConnectionInfo','refreshShapeFillImage','undo','Medium','isCurvedConnectorShape','top','getSheetCommandTarget','getSheetBySheetId','M8\x2010.2V11.8','open','_handleConnectorPointerUp','SetSheetsShapeTextVerticalToggleCommand','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','interceptor','flipY','flipX','StraightConnector1','_shapes','drawing-ui.objectListPanel.name','UniverCore','_shapeUpdateListener','transformForAngle','ShapeTextFloatMenuRenderControllerBase','UniverDesign','getDrawingTypeNameKey','ShapeEditPanel','BUTTON','RemoveSheetDrawingCommand','mask','_activeAdjustInfo','getContextValue','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','hasDefault','max','shape-editor-ui.toolbar.quickStyles','drawing-ui.objectListPanel.unlockHint','skeleton','UniverSheetsUi','_registerMoveHandler','removeLinePoints','_createControls','UniverSheetsShapeMobileUIPlugin','insertGroupObject','drawing-ui.objectListPanel.lockHint','observe','_handleConnectedEndpointMove','_applyFormulaAutoFitSize','drawing-ui.objectListPanel.filterAll','Vector2','useObservable','connection-site-','clip-adj-','_sheetsShapeService','_index','SetShapeDrawingDataCommand','current','disconnect','getConnectionRelation','drawing.operation.set-drawing-active','_sheetCanvasPopManagerService','parseFloat','_sheetPermissionCheckController','_registerFeatureMenu','UniverInstanceType','drawing-ui.objectListPanel.show','_loadAndSetImage','function','UniverProLicense','changing$','drawing-ui.objectListPanel.moveForward','UniverSheetsShapePlugin','selectable','VerticalAlign','plainShapeTextToDocumentData','Shape','@univerjs/engine-render','beginPath','ArrangeTypeEnum','updateConnectionDetection','useImperativeHandle','clipTop','getDrawingDataForUnit','IUndoRedoService','dispose','DisposableCollection','touchDependencies','_connectorObjects','visible$','ShapePickerDropdown','UniverSheetsMobileUIPlugin','#4285f4','ILayoutService','UNIVER_SHEET','cxnPointRadius','lineShapeId','popup','SheetsShapeUIContextualRibbonSchema','extensionGroups','gray.300','_focusedDrawings','trim','amd','params','RemoveSheetCommand','point','executeCommand','_contextService','register','UniverEngineRender','DrawingTypeEnum','MenuManagerPosition','rxjs','_updateShapeAdjustControls','keys','DependentOn','setEditing','size','restore','contentVerticalOffset','@univerjs-pro/license','_drawRichText','sheets-shape-text-','getBasicShapeRelation','WorksheetCopyPermission','ThemeService','RENDER_CLASS_TYPE','sin','_baseHeight','dataModel','switchMap','UUID','resolveActiveShapeQuickStylePresetId','refreshAdjustControls','getUnit','bindRenderTransformerLifecycle','classType','map','PaintIcon','MobileShapeEditorService','drawFormulaShapeAnimationLayers','SHAPE_TEXT','drawing-ui.objectListPanel.expand','next','_localeService','_drawShapeText','call','setSrcRect','presentation','sheet.menu.shape.flip-vertical','discreteRangeToRange','_highlightedSiteIndex','IMenuManagerService','sheets-shape-ui.editShape','CURSOR_TYPE','@univerjs-pro/shape-editor','defs','FOCUSING_COMMON_DRAWINGS','drawing-ui.objectListPanel.typeNames.','getShapeData','topmost-icon','drawing-ui.objectListPanel.showAll','Observable','sheets-shape-ui.ribbon.shape-format.arrange-backward','appliedStrokeWidth','ISidebarService','UNIVER_DOC','@univerjs/docs','_imageIoService','horizontal','UniverSheetsPlugin','ShapeGroupEnum','fontSize','_addShapeAdjustControl','sheetTransform','useRef','DRAWING_OBJECT_LAYER_INDEX','Large','resize','set','rect','focus$','CommandType','clip','M8\x206.2V7.8','sheets-shape-ui.formatShape','translateWithPrecision','_hasReset','getViewportByCell','viewBox','getAdjustValueByName','SheetPasteCommand','getDrawingSearch','displayName','getSelectedObjectMap','adjustValues','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','_draggingConnectorId','indexOf','sheetViewStartColumn','FlipVerticalIcon','SheetInterceptorService','back','IConfigService','drawing-ui.objectListPanel.hide','583887HyscjM','from','_sheetShapeAdjustController','_adjHandlerPointerUp','abs','sheet.operation.open-shape-object-list-panel','priority','getDrawingData','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','@univerjs/design','_addControl','attachRangeWithCoord','move-up-icon','SHEET','M8\x202.2V3.8','attachPopupToObject','getMatrix','DrawingImageClipService','DrawingApplyType','worldPoint','sheets-shape-ui.shape-format.style-ribbon-control','_isConnecting','update$','delete','getUnitType','add$','isStartConnectorPoint','sheets-shape-ui.ribbon.shape-format.style-control','ObjectLayersIcon','_hide','_shapeEditPanelVersion','IURLImageService','UniverShapeEditorPlugin','_resetState','getPropertyValue','UniverSheetsDrawingUi','panel','createControl$','sheets-shape-ui.quickStyles','_generateCopyPasteMutations','getActiveViewportByCoord','getShapeQuickStyleType','fill','children','getDrawingOKey','_clearShapeConnectorHandlerObjects','SheetTypes','DrawingRenderService','0\x200\x2016\x2016','_cxtHandlerPointerUp','MoveDownIcon','unregister','worldPoints','UniverSheetsUIPlugin','Circle','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','@univerjs-pro/shape-editor-ui','_getZoomRatio','REMOVE','getShapeTypeById','createElement','_handleFreeEndpointPointerUp','remove$','addObject','109487dOGsth','1787140QTJoiF','DocRenderController','featurePluginUpdateNotification','_registerDrawingFocusChangeHandler','forwardRef','_commandExecutedListener','setPresentation','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','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','@univerjs/drawing','components','drawing-ui.objectListPanel.unlockAll','ShapeTextRibbonControl','isHorizontal','_drawingRenderService','changeEnd$','_univerInstanceService','isRichText','_findShapeAtPoint','UniverDrawing','drawing-ui.objectListPanel.dragToReorder','_activeShapeId','shapeType','subscribeEvent','drawing-ui.objectListPanel.lock','_findNearestConnectionSite','_currentUniverService','_reset','ShapeFloatingToolbarService','packageName','_ribbonService','setPrstGeom','sheets-shape-ui.ribbon.shape-format.arrange-forward','drawing-ui.objectListPanel.locate','getValue','sheets-shape-ui.ribbon.shape-format','clip-','VIEW_MAIN_TOP','startConnectionDetection','OTHERS','_clipService','reduce','invert','toFixed','sheet.operation.update-shape-type','_visible','useFormulaShapeToolbar','UniverShapeEditorMobileUIPlugin','ShapeArrowTypeEnum','_disposePopups','_getDrawingRect','get','localToWorld','name','Fragment','RibbonInsertGroup','INSERT','_insertShapes','getPropertyPriority','adjHandleSize','vertical','setProperty','DocumentViewModel','_baseTop','Module','setShouldShowAdjust','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','UniverProSheetsShapeUi','_injector','_getShapeInfo','sheet.shape.floating-toolbar','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','getOwnPropertyDescriptor','clear','changeShapeType','sheet.shape.picker.component','_adjName','length','subUnitId','6223149sKbVuT','_generatePasteMutations','start','sheets-shape-ui.flipVertical','CHART_PAGE','reverse','forward','@univerjs/docs-ui','ShapeRenderModeEnum','Path','_copyInfo','onReady','sheets-shape-ui.objectListPanel.title','target','http://www.w3.org/2000/svg','getRenderUnitById','stroke','_hyperLinkRegions','close','SheetSkeletonManagerService','startWith','animateFormulaPresentation','_renderManagerService','sheets-shape-ui.config','CHART','_activeShapeModel','replace','useMemo','UniverDrawingUIPlugin','getUnitId','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','prepareShapeTextDocumentData','ShapeQuickStyleGallery','UniverSheetsShapeUIPlugin','drawing-ui.objectListPanel.lockAll','getActiveSheet','DRAWING_IMAGE','visible','relation','canvas','clearControl$','getBatchAddOp','generateRandomId','fillImageSource','getObjectListPanelSectionIdForDrawingType','drawing-ui.objectListPanel.filterLocked','buildShapeTextDataUpdate','fillType','getShapeDataById','getSheetId','top-center','drawing-ui.objectListPanel.sectionCanvas','hasAttribute','currentAdjustValues','ShapeLineTypeEnum','@univerjs/drawing-ui','Image','adjHandleFill','_baseLeft','None','4135yiRvhG','focusDrawing','_initPrinting','sheetViewStartRow','getTransformer','viewBound','ShapeTextFloatToolbar','_addShapeConnectorHandlerObject','31215sGGZMQ','cos','oKey','M4.2\x205.5H10.5','createShapeFormulaDocument','_activeAdjustPointList','getBoundingClientRect','UniverProShapeEditorUi','offsetX','_activeImageId','UniverDrawingPlugin','PREDEFINED_HOOK_NAME','_isStartConnectorPoint','shapeModel','shouldClipShapeTextDocument','_executeResizeCommand','DocSelectionManagerService','setFormulaPresentation','transformByState','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','UniverUi','getDrawingShapeKeyByDrawingSearch','_getConnectionSiteAngle','_baseWidth','editingParams$','unitId','isInGroup','_rerouteConnectorLine','getInverseCoord','pipe','prototype','50fpOFQd','_shapeFloatingToolbarService','@univerjs-pro/sheets-shape','CUT','_sheetSkeletonService','clone','UniverMobileUIPlugin','non-scaling-stroke','connector-handler-','index','drawing-ui.objectListPanel.hideAll','_updateTransform','BooleanNumber','type','drawing-ui.objectListPanel.moveBackward','removeProperty','getZoomRatio','_attachConnectorObjectEvent','showContextualTab','FromArray','querySelectorAll','SHEET_SHAPE_UI_PLUGIN','_getOrCreateShapeModel','@univerjs/ui','_menuManagerService','_transformCalculateSrcRect','IContextService','SHAPE','symbol','resolveFormulaShapeAutoFitSize','Disposable','_getImageDrawingInfo','permissionPointUpdate$','UniverSheets','worldRect','_sidebarDisposable','decorate','useDependency','_initPermission','2468fJDgMi','ImageSourceTypeEnum','endArrow','RemoveSheetsShapeMutation','drawingId','ShapeFormulaService','224NjAKLb','shape-format-setting-icon','asObservable','GROUP','onerror','render','getCurrentTypeOfUnit$','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','drawing-ui.objectListPanel.title','COPY_TYPE','ObjectListPanelBase','exports','sheets-shape-ui.ribbon.shape-format.arrange-back','setAdjustValueByName','GRID','isArray','fontFamily','VIEW_MAIN','getDrawingVisible','_update','_handleBasicShapeUpdateConnectorLineShape','object','_drawingType','forEach','getAutoFitPresentations','ICommandService','setCanUseShapeClip','registerDependencies','intercept','title','ToggleShapeFloatingToolbarOperation','ShapeTextHyperLinkPopupService','SetDrawingSelectedOperation','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','xlink:href','RIBBON','_isOpenedShapeEditPanel','redos','distinctUntilChanged','activeSheet$','pushUndoRedo','getBasicShapeRotateBound','_calculateFreeEndpointAngle','presentationChanged$','_unitId','updateShapeFillImage','has','save','_activeShapeAdjustPointList','localeService','drawing-ui.objectListPanel.sectionFloating','resourceCollector','vectorEffect','_isShouldShowDrawingShapeAdjust','drawWith','MenuItemType','setShapeData','_getConnectPointInfo','activateDrawingObject','permissionCheckWithoutRange','initShapePopupMenu','getAdjustNames','_subUnitId','_formulaAnimation','_sheetDrawingShapeRenderController','removeAttribute','DocumentSkeleton','univer-box-border\x20univer-px-4\x20univer-text-sm','WorksheetEditPermission','sheets-shape-contextual-ribbon','_popupMenuListener','ISheetDrawingService','_transform','round','formulaBinding','width','element','_cxnIndex','getFocusDrawings','IRenderManagerService','DocSelectionRenderService','ComponentManager','UpdateLineShapeResizeCommand','ShapeTypeEnum','_getSceneAndTransformerByDrawingSearch','updateContext','SheetPermissionCheckController','getDrawingPoints','iterator','FloatingObjectToolbarPosition','_canEdit','_isImagePointerDown','push','startX','SheetsDrawingGroupCopyPasteController','transformVector2SceneCoord','jsxs','SheetsSelectionsService','debounceRefreshControls','shape-editor-ui.arrange.backward','transform','FormulaShapeAnimationController','M2.2\x208H3.8','getDrawingOrder','@univerjs/sheets-drawing','Arrow','_registerFocusChangeHandler','disposeWithMe','createShapeTextBoxShapeData','onStarting','_drawRichTextLayer','colorChannel1','setHighlighted','clearActiveDrawingObjects','stringify','_generateCutPasteMutations','multiply','WorkbookEditablePermission','offsetY','groupId','UniverIcon','Injector','Transform','shape-adjust-point-','completeEditing','IDrawingManagerService','getShapeModel','refreshFormulaPresentation','getCanvasElement','addClipboardHook','sheets-shape-ui.ribbon.shape-format.text-control','SheetCanvasPopManagerService','ShapeTextHyperLinkHoverController','ShapeIcon','viewportScrollY','_baseShapeLeft','getMenuHiddenObservable','SHAPE_EDITOR_TRANSFORMER_CONFIG','every','cxnPointFill','flatMap','onPointerDown$','getEditing','SolidFill','_initMenu','contentHeight','FOCUSING_SHAPE_TEXT_EDITOR','calculate','defineProperty','_shapeId','getSkeleton','_disposed','_lastEditingShapeKey','_releaseRenderCache','drawingType','_formulaKey','getPermissionPoint','drawing-ui.objectListPanel.nameInput','getOrCreateDrawingCopyPlan','isHitLine','setOnSavingEditorData','_formulaShapes','_openShapeEditPanel','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','_createCopyInfoByRange','SheetPrintInterceptorService','UpdateSheetsShapeDataMutation','getConnectionSiteList','UniverDocsPlugin','createShapeTextHyperLinkRegions','cxnPointStroke','onSteady','startY','setFillImage','Plugin','_instances','computeStraightConnectorLayout','Rect','SheetScrollManagerService','MoveUpIcon','_addShapeConnectorHandlerObjects','IconManager','isFinite','_config','attrs','Line','left','defer','_drawSimpleText','object-layers-icon','cxnPointStrokeWidth','subscribe','@univerjs-pro/sheets-shape-ui','position','URL','range','UniverSheetsDrawingPlugin','setConfig','_shapeTextEditingService','sheet.command.menu-insert-shape','registerFeatureMenu','onCommandExecuted','sheet.shape.object-list.panel','_permissionService','parse','use','isLineShape','_isStartAdjusting','routeConnectorLineShape','axisAlignSheetTransform','OBJECT_LIST_FLOATING_SECTION_ID','_permissions','isHit','some','ShapeFillEnum','LocaleService','ShapePickerPanel','_drawingAddListener','rightToLeft','1em','getObject','normalizeShapeTextModel','computeConnectorResizeLayout','_init','idSuffix','hideContextualTab','isHighlighted','IUniverInstanceService','MEDIA','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','pick','ContextMenuPosition','unsubscribe','UniverDrawingUi','getConfig','adjHandleStroke','setFallbackVisible','getTransformerByCreate','UniverDocsUIPlugin','_imageShapeClipController','_updateAdjustControlPositions','react','computeConnectorRouteLayout','ISheetClipboardService','_baseShapeHeight','sheet.command.update-shape-data','_clearControls','shape-text-','applyPoint','custom','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','entries','_updateImageAdjValues','_isHighlighted','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','M10.2\x208H11.8','UniverSheetsDrawing','attachTransformerTo','angle','actualHeight','_currentConnectionTarget','_initEvents','isMainScene','EMPTY','SHEET_VIEWPORT_KEY','translate','tag','ShapeModel','UniverProSheetsShape','0\x200\x2017\x2016','_props','getStartConnectInfo','find','VIEW_MAIN_LEFT','prstGeom','viewportScrollX','FlipHorizontalIcon','canvasElement','PictureFill','_activeTargetShapeId','with','OPERATION','rotation','_sheetPrintInterceptorService','SetSheetDrawingCommand','doc','shapeId','data','_drawingManagerService','useReducer','_currentScene','getCurrentScrollState','_sheetBasicShapeConnectionPointController','drawing-ui.objectListPanel.noSelection','enableObjectsEvent','renderDrawingShape','setPrstGeomAdjValues','_urlImageService','_registerComponents','_connectionSiteObjects','description','SheetsShapeUIMenuSchema','pluginName','_clearPopups','_getImagePrstGeom','_registerImageShapeClipDelegate','parent','getSkeletonParam','flip-vertical-icon','getPresentation','getDrawingEffectBounds','prstGeomAdjValues','_clearCompletionFrame','ConnectorCoordinateTransform','actions','_editingParams$','M8\x2014V14.2','ShapeTextEditorContainer','@univerjs/sheets-ui','min','_clearConnectionSites','Inject','_createShapeAdjustControls','_targetShapeId','transformToAxisAlignPosition','_initSheetChange','isReleased','5080188XZKrZo','_showConnectionSites','UniverLicensePlugin','_sheetDrawingService','setCursor','clipByShape','bottom','style','undos','CustomCommandExecutionError','_executeConnectionCommand','stroke-width','_handleConnectedEndpointPointerUp','_initSelection','getRealBound','disableObjectsEvent','deriveStateFromActiveSheet$','SHAPE_CHANGE_PICKER_COMPONENT','sheets-shape-ui.shape-format.formula-ribbon-control','DocInterceptorService','_getScrollInfo','_context','sheets-shape-ui.insertShape','originalStrokeWidth','resolveHyperLinkAt','formulaPresentation','objects','scene','filter','clearAdjustValue','getShapeQuickStylePreset','PRINTING_COMPONENT_COLLECT','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','onDblclick$','includes','registerRenderModule','copyType','LEFT','ang','UniverDocs','setShapeProps','vertical-center','FormatPainterSessionService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isConnectorShape','create','evenodd','_loadShapePictureFill','_handleFreeEndpointMove','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','UniverSheetsDrawingMobileUIPlugin','sheet.menu.shape.flip-horizontal','IPermissionService','_sheetInterceptorService','composeMatrix','onPointerUp$','SetDrawingArrangeCommand','onRendered','CROSSHAIR','SheetsShapeService','sheets-shape-ui.imagePanel.crop.shape','_componentManager','getParent','div','UPDATE','SELECTOR','strokeWidth','UpdateConnectorRelationCommand','_shapeFormulaService','hadStyleAttribute','sheet.operation.open-sheet-shape-format-panel','_attachAdjustEvent','beforeCommandExecuted','shape-editor-ui.arrange.back','getCurrentRangeDisable$','sheets-shape-ui.flipHorizontal','assign','ToggleSheetsShapeFlipCommand','_createShape','getActualSize','DocumentDataModel','_configService','path','_initialize','sectionFloating','_baseShapeTop','ShapeFormatSettingIcon','stopPropagation','endConnectionDetection','url(#$1','setCollapsedIds','move-down-icon','toDisposable','_insertingShapeKeys','anchorType','_initEditingParams','DocEventManagerService','_initCopyPaste','getShapeTextRect','COMMAND','getDrawingByParam','image','getAdjustInfoByName','ContextMenuGroup','getShapeTextData','error','shapeKey','bottom-icon','SHEET_VIEW_KEY','_clearShapeAdjustControls','marginTop','srcRect','_adjHandlerPointerMove','hideInfoPopup','clipHeight','setContextValue'];_0x3e4d=function(){return _0xb4d93e;};return _0x3e4d();}(function(_0x2fc8e5,_0x69940b){const _0x477b1b=_0x286e,_0x1fbf7b=_0x2fc8e5();while(!![]){try{const _0x106c2f=-parseInt(_0x477b1b(0x197))/0x1+-parseInt(_0x477b1b(0x28a))/0x2*(parseInt(_0x477b1b(0x26b))/0x3)+parseInt(_0x477b1b(0x2b1))/0x4*(parseInt(_0x477b1b(0x263))/0x5)+parseInt(_0x477b1b(0x3fe))/0x6+-parseInt(_0x477b1b(0x1d7))/0x7*(-parseInt(_0x477b1b(0x2b7))/0x8)+-parseInt(_0x477b1b(0x227))/0x9+parseInt(_0x477b1b(0x1d8))/0xa;if(_0x106c2f===_0x69940b)break;else _0x1fbf7b['push'](_0x1fbf7b['shift']());}catch(_0x454c90){_0x1fbf7b['push'](_0x1fbf7b['shift']());}}}(_0x3e4d,0x6af82),function(_0xaa2a79,_0x56cde7){const _0x5a7d70=_0x286e;typeof exports=='object'&&typeof module<'u'?_0x56cde7(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/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/design'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x5a7d70(0x10d)&&define[_0x5a7d70(0x130)]?define([_0x5a7d70(0x2c2),_0x5a7d70(0x1cf),_0x5a7d70(0x2a1),_0x5a7d70(0x4e4),_0x5a7d70(0x165),_0x5a7d70(0x28c),'@univerjs/core',_0x5a7d70(0x116),'@univerjs/sheets',_0x5a7d70(0x31f),_0x5a7d70(0x3f5),_0x5a7d70(0x1e1),'rxjs',_0x5a7d70(0x25e),_0x5a7d70(0x1a0),_0x5a7d70(0x483),_0x5a7d70(0x142),_0x5a7d70(0x171),_0x5a7d70(0x22e),_0x5a7d70(0x481),_0x5a7d70(0x3a8)],_0x56cde7):(_0xaa2a79=typeof globalThis<'u'?globalThis:_0xaa2a79||self,_0x56cde7(_0xaa2a79[_0x5a7d70(0x21b)]={},_0xaa2a79[_0x5a7d70(0x272)],_0xaa2a79[_0x5a7d70(0x27f)],_0xaa2a79['UniverProEngineShape'],_0xaa2a79[_0x5a7d70(0x4b2)],_0xaa2a79[_0x5a7d70(0x3c3)],_0xaa2a79[_0x5a7d70(0x503)],_0xaa2a79[_0x5a7d70(0x137)],_0xaa2a79[_0x5a7d70(0x2ab)],_0xaa2a79[_0x5a7d70(0x3b7)],_0xaa2a79[_0x5a7d70(0x515)],_0xaa2a79[_0x5a7d70(0x1eb)],_0xaa2a79[_0x5a7d70(0x13a)],_0xaa2a79[_0x5a7d70(0x3a0)],_0xaa2a79[_0x5a7d70(0x507)],_0xaa2a79[_0x5a7d70(0x4d6)],_0xaa2a79[_0x5a7d70(0x10e)],_0xaa2a79[_0x5a7d70(0x425)],_0xaa2a79['UniverDocsUi'],_0xaa2a79[_0x5a7d70(0x1ba)],_0xaa2a79[_0x5a7d70(0x4d6)]));}(this,function(_0x3d809c,_0x354392,_0x36a73f,_0x11e0df,_0x4e6980,_0xb19349,_0x244243,_0x559311,_0x126f61,_0x29aa40,_0x180b4c,_0x43c769,_0x38f817,_0x4cdb25,_0x275c79,_0x1edb74,_0x3cffa1,_0x5defe7,_0x3f2843,_0x37d78b,_0x2ba528){const _0xa608a8=_0x286e;Object[_0xa608a8(0x34b)](_0x3d809c,Symbol[_0xa608a8(0x49f)],{'value':_0xa608a8(0x218)});function _0x9c07c9(_0x5e2c96,_0x253c39){const _0x582f7b=_0xa608a8;let _0x4ca7ea={};for(let _0x29d661 of Object[_0x582f7b(0x13c)](_0x253c39)){let _0x32d645=_0x253c39[_0x29d661],_0x2a7c02=_0x5e2c96[_0x29d661];_0x4ca7ea[_0x29d661]=_0x2a7c02===void 0x0?void 0x0:typeof _0x32d645==_0x582f7b(0x2cc)&&_0x32d645&&!Array[_0x582f7b(0x2c6)](_0x32d645)&&typeof _0x2a7c02==_0x582f7b(0x2cc)&&_0x2a7c02&&!Array[_0x582f7b(0x2c6)](_0x2a7c02)?_0x9c07c9(_0x2a7c02,_0x32d645):_0x2a7c02;}return _0x4ca7ea;}let _0x4a2843={'type':_0x244243['CommandType'][_0xa608a8(0x461)],'id':_0xa608a8(0x3ac),'handler':(_0x59c30a,_0x39ddbc)=>{const _0x4a5cd8=_0xa608a8;let _0x3fd0d2=_0x59c30a[_0x4a5cd8(0x20b)](_0xb19349['SheetsShapeService']),{unitId:_0x22082d,subUnitId:_0x436bbe,shapeType:_0x503e7f,shapeId:_0x3549e5,shapeData:_0x255ac3,replaceShapeData:_0x4ab353,oldShapeJSON:_0x1ba4a6}=_0x39ddbc;if(!_0x3fd0d2[_0x4a5cd8(0x335)](_0x22082d,_0x436bbe,_0x3549e5))return!0x1;let _0x4f1643=_0x59c30a[_0x4a5cd8(0x20b)](_0x244243[_0x4a5cd8(0x2d0)]),_0x3af44a=_0x59c30a['get'](_0x244243[_0x4a5cd8(0x11d)]),{oldShapeType:_0x3844a3,oldShapeData:_0x14c846={}}=_0x1ba4a6,_0xfaf15=_0x4ab353?_0x14c846:_0x9c07c9(_0x14c846,_0x255ac3||{}),_0x1307d7={'id':_0xb19349['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x22082d,'subUnitId':_0x436bbe,'shapeId':_0x3549e5,'shapeType':_0x503e7f,'shapeData':_0x255ac3,'replace':_0x4ab353}},_0x55aecf={'id':_0xb19349['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x22082d,'subUnitId':_0x436bbe,'shapeId':_0x3549e5,'shapeType':_0x3844a3,'shapeData':_0xfaf15,'replace':_0x4ab353}};return _0x4f1643['syncExecuteCommand'](_0x1307d7['id'],_0x1307d7[_0x4a5cd8(0x131)])?(_0x3af44a[_0x4a5cd8(0x2df)]({'unitID':_0x22082d,'undoMutations':[_0x55aecf],'redoMutations':[_0x1307d7]}),!0x0):!0x1;}};function _0x1f80f7(_0x50ca2a,_0x622347,_0x489a76,_0x2d1ee7,_0x3eb60a,_0x2f1f01){let _0x284852={'unitId':_0x622347,'subUnitId':_0x489a76,'shapeId':_0x2d1ee7,'shapeData':_0x2f1f01,'oldShapeJSON':_0x3eb60a};return _0x50ca2a['executeCommand'](_0x4a2843['id'],_0x284852);}function _0x1dee54(_0x3b33f5,_0x58146d,_0x25c56f,_0x2bf010,_0x283c21,_0x4e582a){let _0xf39a4b={'unitId':_0x58146d,'subUnitId':_0x25c56f,'shapeId':_0x2bf010,'shapeData':_0x4e582a,'oldShapeJSON':_0x283c21};return _0x3b33f5['executeCommand'](_0x4a2843['id'],_0xf39a4b);}function _0x2e9017(_0x255e77){'@babel/helpers - typeof';const _0x3f6039=_0xa608a8;return _0x2e9017=typeof Symbol==_0x3f6039(0x10d)&&typeof Symbol[_0x3f6039(0x30f)]==_0x3f6039(0x2a6)?function(_0x269954){return typeof _0x269954;}:function(_0x316267){const _0x168455=_0x3f6039;return _0x316267&&typeof Symbol==_0x168455(0x10d)&&_0x316267['constructor']===Symbol&&_0x316267!==Symbol[_0x168455(0x289)]?_0x168455(0x2a6):typeof _0x316267;},_0x2e9017(_0x255e77);}function _0x3bb289(_0x32b435,_0x2594c0){const _0x364826=_0xa608a8;if(_0x2e9017(_0x32b435)!=_0x364826(0x2cc)||!_0x32b435)return _0x32b435;var _0x195b40;if(typeof Symbol<'u'&&(_0x195b40=_0x32b435[Symbol['toPrimitive']])!==void 0x0){var _0x28d7f9=_0x195b40[_0x364826(0x15c)](_0x32b435,_0x2594c0||_0x364826(0x4dc));if(_0x2e9017(_0x28d7f9)!=_0x364826(0x2cc))return _0x28d7f9;throw TypeError(_0x364826(0x429));}return(_0x2594c0==='string'?String:Number)(_0x32b435);}function _0x12ded2(_0x3b2753){const _0xf2d04e=_0xa608a8;var _0x366312=_0x3bb289(_0x3b2753,'string');return _0x2e9017(_0x366312)==_0xf2d04e(0x2a6)?_0x366312:_0x366312+'';}function _0x5b48d0(_0x132f52,_0x2852fe,_0x44f223){const _0x488f6e=_0xa608a8;return(_0x2852fe=_0x12ded2(_0x2852fe))in _0x132f52?Object[_0x488f6e(0x34b)](_0x132f52,_0x2852fe,{'value':_0x44f223,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x132f52[_0x2852fe]=_0x44f223,_0x132f52;}function _0x357908(_0x2d9157,_0x5e5c77,_0x31609c){const _0x153b9a=_0xa608a8;let _0x1a8a49={..._0x5e5c77,'dataModel':{..._0x5e5c77[_0x153b9a(0x14b)]??{},..._0x31609c?{'doc':_0x31609c}:null}},_0x42ac15=(0x0,_0x354392[_0x153b9a(0x4d2)])(_0x2d9157,_0x1a8a49),_0xa1c7c8=(0x0,_0x354392[_0x153b9a(0x492)])(_0x42ac15);return{'clip':(0x0,_0x354392[_0x153b9a(0x279)])(_0x42ac15,_0xa1c7c8),'wrapStrategy':_0xa1c7c8};}var _0x5ee4ee=class extends _0x559311['Shape']{constructor(_0x1d2969,_0x7ab2f3){const _0x50e3e3=_0xa608a8;super(_0x1d2969,_0x7ab2f3),_0x5b48d0(this,_0x50e3e3(0x238),[]),_0x5b48d0(this,'_props',void 0x0),_0x5b48d0(this,_0x50e3e3(0x2f6),new _0x354392[(_0x50e3e3(0x31c))](()=>this[_0x50e3e3(0x476)](!0x0),()=>this[_0x50e3e3(0x51e)]())),_0x5b48d0(this,_0x50e3e3(0x2a3),!0x0),_0x5b48d0(this,_0x50e3e3(0x2cd),_0x244243[_0x50e3e3(0x138)][_0x50e3e3(0x4e9)]),_0x5b48d0(this,'isDrawingObject',!0x0),this['_props']={..._0x7ab2f3},this[_0x50e3e3(0x2f6)][_0x50e3e3(0x1de)](_0x7ab2f3['formulaPresentation'],_0x7ab2f3[_0x50e3e3(0x23c)]!==!0x1),this['_init'](),this[_0x50e3e3(0x51e)]();}[_0xa608a8(0x396)](){const _0x49cc0e=_0xa608a8;this[_0x49cc0e(0x4bf)][_0x49cc0e(0x1ef)](_0x479ebb=>{this['_updateSrcRectByTransform'](_0x479ebb);});}[_0xa608a8(0x1f7)](_0x2b9d32){const _0x4796e1=_0xa608a8;this['_props'][_0x4796e1(0x3c9)]=_0x2b9d32;}['resolveHyperLinkAt'](_0x5b6b28){const _0x467c02=_0xa608a8;if(this[_0x467c02(0x3c5)][_0x467c02(0x482)])return null;let _0x49d065=this[_0x467c02(0x287)](_0x5b6b28),{width:_0x1e65c7,height:_0x30810f}=this[_0x467c02(0x40c)]();return(0x0,_0x354392[_0x467c02(0x494)])(this[_0x467c02(0x238)],{'x':(this[_0x467c02(0x4ff)]?-_0x49d065['x']:_0x49d065['x'])+_0x1e65c7/0x2,'y':_0x49d065['y']+_0x30810f/0x2});}['setEditing'](_0x47076b){const _0x5bb06d=_0xa608a8;this['_props'][_0x5bb06d(0x482)]=_0x47076b,this[_0x5bb06d(0x476)](!0x0);}[_0xa608a8(0x27c)](_0x53efdb,_0x1ccf1a=!0x0){const _0xe6838c=_0xa608a8;this[_0xe6838c(0x2f6)][_0xe6838c(0x1de)](_0x53efdb,_0x1ccf1a),this[_0xe6838c(0x3c5)][_0xe6838c(0x417)]=_0x53efdb,this[_0xe6838c(0x51e)](),this[_0xe6838c(0x476)](!0x0);}[_0xa608a8(0x51e)](){const _0x13e2ef=_0xa608a8;let _0x41c6bd=this['_props'][_0x13e2ef(0x278)],_0xca78d8=_0x41c6bd['getShapeTextData'](),_0x682594=(0x0,_0x354392[_0x13e2ef(0x394)])(_0xca78d8==null?void 0x0:_0xca78d8['dataModel']),_0x15a659=_0x682594==null?void 0x0:_0x682594[_0x13e2ef(0x3d4)],_0x12b06e=this[_0x13e2ef(0x2f6)][_0x13e2ef(0x2cf)]();if(!_0x15a659||_0x12b06e[_0x13e2ef(0x225)]===0x0)return;_0x41c6bd[_0x13e2ef(0x30c)]({'width':this['width'],'height':this[_0x13e2ef(0x474)]});let _0xd872a=(0x0,_0x354392[_0x13e2ef(0x2a7)])({'documentData':_0x12b06e['map'](_0x4edfae=>(0x0,_0x4e6980[_0x13e2ef(0x26f)])(_0x15a659,_0x4edfae)),'height':this[_0x13e2ef(0x474)],'shapeData':_0x41c6bd[_0x13e2ef(0x169)](),'textRect':_0x41c6bd[_0x13e2ef(0x460)]({'left':0x0,'top':0x0,'width':this[_0x13e2ef(0x302)],'height':this[_0x13e2ef(0x474)]}),'width':this[_0x13e2ef(0x302)]});if(_0xd872a){var _0x4671c6;this[_0x13e2ef(0x17c)](_0xd872a[_0x13e2ef(0x302)],_0xd872a[_0x13e2ef(0x474)]),(_0x4671c6=this[_0x13e2ef(0x4ca)]())==null||(_0x4671c6=_0x4671c6[_0x13e2ef(0x267)]())==null||_0x4671c6[_0x13e2ef(0x319)]();}}get[_0xa608a8(0x284)](){const _0x4065f3=_0xa608a8;return this[_0x4065f3(0x3c5)][_0x4065f3(0x284)];}get[_0xa608a8(0x226)](){const _0x38a903=_0xa608a8;return this['_props'][_0x38a903(0x226)];}['_updateSrcRectByTransform'](_0x50e8f3){const _0x1a2e9b=_0xa608a8;if(this[_0x1a2e9b(0x3c5)][_0x1a2e9b(0x46d)]==null||!this[_0x1a2e9b(0x2a3)])return;let {width:_0x2608e6,height:_0x3ecfc5}=this,{width:_0x387222=0x0,height:_0x42caf2=0x0}=_0x50e8f3['preValue'],{left:_0x2f0e76=0x0,top:_0x5307b5=0x0,right:_0x438837=0x0,bottom:_0x4b9f3a=0x0}=this['_props'][_0x1a2e9b(0x46d)],_0x5b4f95=_0x2f0e76,_0x843b34=_0x5307b5,_0x1a95cc=_0x438837,_0x2f4678=_0x4b9f3a,_0x46287e=!0x1;if(_0x387222!==0x0&&_0x387222!==_0x2608e6){let _0x44e99a=_0x2f0e76/_0x387222,_0x3382a6=_0x438837/_0x387222;_0x5b4f95=_0x2608e6*_0x44e99a,_0x1a95cc=_0x2608e6*_0x3382a6,_0x46287e=!0x0;}if(_0x42caf2!==0x0&&_0x42caf2!==_0x3ecfc5){let _0x51bdf3=_0x5307b5/_0x42caf2,_0x241bb3=_0x4b9f3a/_0x42caf2;_0x843b34=_0x3ecfc5*_0x51bdf3,_0x2f4678=_0x3ecfc5*_0x241bb3,_0x46287e=!0x0;}_0x46287e&&this[_0x1a2e9b(0x15d)]({'left':_0x5b4f95,'top':_0x843b34,'right':_0x1a95cc,'bottom':_0x2f4678});}[_0xa608a8(0x15d)](_0x408b6b){const _0x213efd=_0xa608a8;this[_0x213efd(0x3c5)][_0x213efd(0x46d)]=_0x408b6b,this[_0x213efd(0x476)](!0x0);}[_0xa608a8(0x364)](_0x40acfb){const _0x2ea331=_0xa608a8;this[_0x2ea331(0x3c5)][_0x2ea331(0x463)]=_0x40acfb,this[_0x2ea331(0x476)](!0x0);}set[_0xa608a8(0x31b)](_0x49aa44){const _0x58613c=_0xa608a8;this[_0x58613c(0x2ff)]=_0x49aa44;}get['transform'](){const _0xe07f23=_0xa608a8;this[_0xe07f23(0x2ff)]||this['_setTransForm']();let _0xa3e4ec=this[_0xe07f23(0x2ff)][_0xe07f23(0x28f)]();return this[_0xe07f23(0x505)](_0xa3e4ec);}get[_0xa608a8(0x278)](){const _0x4d6713=_0xa608a8;return this[_0x4d6713(0x3c5)][_0x4d6713(0x278)];}get[_0xa608a8(0x3d5)](){const _0x1e14c1=_0xa608a8;return this[_0x1e14c1(0x3c5)][_0x1e14c1(0x3d5)];}get[_0xa608a8(0x152)](){const _0x9769c3=_0xa608a8;return _0x559311['RENDER_CLASS_TYPE'][_0x9769c3(0x2a5)];}[_0xa608a8(0x4cf)](_0x4605f6,_0x4d2642,_0x303d4a,_0x1d7288){const _0x2b7308=_0xa608a8;let _0x542d05=this[_0x2b7308(0x3c5)][_0x2b7308(0x278)];if(!_0x542d05||!_0x4d2642)return;let _0x344cae=_0x303d4a??this[_0x2b7308(0x302)],_0x3dc43d=_0x1d7288??this[_0x2b7308(0x474)],_0x537a00={'shapeType':_0x542d05[_0x2b7308(0x4e2)](),'width':_0x344cae,'height':_0x3dc43d},_0x3a5f32={'renderMode':_0x11e0df[_0x2b7308(0x22f)][_0x2b7308(0x230)],'oKey':this[_0x2b7308(0x26d)],'image':this[_0x2b7308(0x3c5)][_0x2b7308(0x463)],'angle':this[_0x2b7308(0x3b9)]};_0x542d05['updateContext'](_0x537a00),_0x4605f6[_0x2b7308(0x2e6)]();let _0xf1f372={'top':0x0,'left':0x0,'width':_0x344cae,'height':_0x3dc43d},_0x259664=_0x542d05[_0x2b7308(0x3ed)](_0xf1f372);_0x259664?this['_renderWithCache'](_0x4605f6,_0x259664,_0x302412=>{_0x542d05['render'](_0x302412,_0xf1f372,_0x3a5f32);}):(this[_0x2b7308(0x350)](),_0x542d05[_0x2b7308(0x2bc)](_0x4605f6,_0xf1f372,_0x3a5f32)),_0x4605f6[_0x2b7308(0x140)]();let _0x4d8533=_0x542d05[_0x2b7308(0x466)](),_0x4ec047=_0x542d05[_0x2b7308(0x460)](_0xf1f372),_0x1baa79=_0x542d05['isLineShape']();if(_0x4d8533&&_0x4ec047&&!_0x1baa79){_0x4605f6['save'](),this[_0x2b7308(0x4be)]()['flipX']&&_0x4605f6['scale'](-0x1,0x1);let _0x3041bd=_0x344cae/0x2,_0x1ce603=_0x3dc43d/0x2;_0x4605f6[_0x2b7308(0x3c0)](-_0x3041bd,-_0x1ce603),_0x4605f6[_0x2b7308(0x117)](),this[_0x2b7308(0x15b)](_0x4605f6,_0x4d8533,_0x4ec047),_0x4605f6[_0x2b7308(0x140)]();}}['getDrawingPoints'](_0x29e249){}[_0xa608a8(0x15b)](_0x4adc6b,_0x9d3119,_0x83db6f){const _0x48150c=_0xa608a8;var _0x3b46b2;this[_0x48150c(0x238)]=[],this[_0x48150c(0x3c5)][_0x48150c(0x482)]||(!((_0x3b46b2=_0x9d3119[_0x48150c(0x14b)])!=null&&_0x3b46b2[_0x48150c(0x3d4)])&&_0x48150c(0x1e9)in _0x9d3119&&_0x9d3119[_0x48150c(0x1e9)]===!0x1?this['_drawSimpleText'](_0x4adc6b,_0x9d3119,_0x83db6f):this[_0x48150c(0x143)](_0x4adc6b,_0x9d3119,_0x83db6f));}[_0xa608a8(0x373)](_0x1242c4,_0x1ddb59,_0x4c1db8){const _0x435bd8=_0xa608a8;this[_0x435bd8(0x143)](_0x1242c4,{..._0x1ddb59,'text':_0x1ddb59[_0x435bd8(0x4de)]??'','dataModel':{'doc':(0x0,_0x354392[_0x435bd8(0x114)])(_0x1ddb59,_0x435bd8(0x144)+this[_0x435bd8(0x26d)])}},_0x4c1db8);}[_0xa608a8(0x143)](_0x38cafd,_0x110d72,_0x1f54d4){const _0x508abf=_0xa608a8;(0x0,_0x354392[_0x508abf(0x156)])(_0x38cafd,this[_0x508abf(0x2f6)],(_0x503c50,_0xdf7f31,_0x12c9fd)=>{this['_drawRichTextLayer'](_0x503c50,_0x110d72,_0x1f54d4,_0xdf7f31,_0x12c9fd==='current');});}[_0xa608a8(0x325)](_0x34e75a,_0x402f09,_0x28f7f0,_0xd83257,_0x63ce52){const _0x22ac97=_0xa608a8;let _0x4ef842=this[_0x22ac97(0x3c5)][_0x22ac97(0x2e8)];if(!_0x402f09[_0x22ac97(0x14b)]||!_0x4ef842)return;let _0x567ecd=(0x0,_0x354392[_0x22ac97(0x394)])(_0x402f09['dataModel']);if(!_0x567ecd)return;let _0x43f43b=_0x567ecd['doc'];if(!_0x43f43b)return;let _0x534e8d=(0x0,_0x4e6980[_0x22ac97(0x26f)])(_0x43f43b,_0xd83257),_0x444aa8=_0x567ecd['va']??_0x244243[_0x22ac97(0x113)][_0x22ac97(0x4a2)],_0xf5ca19=_0x567ecd['ha']??_0x244243[_0x22ac97(0x49d)]['LEFT'],_0x53c362=_0x357908(this['_props'][_0x22ac97(0x278)][_0x22ac97(0x169)](),_0x402f09,_0x534e8d),_0x1bcb8d=_0x402f09[_0x22ac97(0x1e5)],_0x5daa07=(0x0,_0x354392[_0x22ac97(0x246)])(_0x534e8d,{'isHorizontal':_0x1bcb8d!==!0x1,'textRect':_0x28f7f0,'verticalAlign':_0x444aa8,'horizontalAlign':_0xf5ca19,'wrapStrategy':_0x53c362['wrapStrategy']}),_0x2e0293=new _0x244243[(_0x22ac97(0x44e))](_0x5daa07),_0x5ae5ff=new _0x559311[(_0x22ac97(0x216))](_0x2e0293),_0xe43ec5=_0x559311[_0x22ac97(0x2f9)][_0x22ac97(0x42b)](_0x5ae5ff,_0x4ef842);_0xe43ec5['calculate']();let _0x4d213a=_0xe43ec5[_0x22ac97(0x44d)]()[_0x22ac97(0x3ba)],_0x2c86eb=(0x0,_0x354392['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x4d213a,'verticalAlign':_0x444aa8,'viewportHeight':_0x28f7f0[_0x22ac97(0x474)]});_0x2e0293['updateDocumentStyle']({'pageSize':{'width':_0x1bcb8d===!0x1?_0x28f7f0[_0x22ac97(0x474)]:_0x28f7f0[_0x22ac97(0x302)],'height':(0x0,_0x354392['resolveShapeTextDocumentPageHeight'])(_0x534e8d,_0x2c86eb[_0x22ac97(0x348)])}}),_0x2e0293['updateDocumentDataMargin']({'t':_0x2c86eb[_0x22ac97(0x46c)]}),_0xe43ec5[_0x22ac97(0x34a)]();let _0x3a3a64=new _0x559311['Documents'](_0x22ac97(0x3ae)+this['oKey'],_0xe43ec5,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x22ac97(0x476)](!0x0)});_0x3a3a64[_0x22ac97(0x17c)](_0x28f7f0['width'],_0x2c86eb[_0x22ac97(0x348)]),_0x34e75a[_0x22ac97(0x2e6)](),_0x34e75a[_0x22ac97(0x184)](_0x28f7f0[_0x22ac97(0x371)],_0x28f7f0[_0x22ac97(0x4f5)]),_0x53c362['clip']&&(_0x34e75a[_0x22ac97(0x117)](),_0x34e75a[_0x22ac97(0x17e)](0x0,_0x2c86eb[_0x22ac97(0x11b)],_0x28f7f0[_0x22ac97(0x302)],_0x2c86eb[_0x22ac97(0x470)]),_0x34e75a[_0x22ac97(0x181)]()),_0x2c86eb['contentVerticalOffset']&&_0x34e75a['translateWithPrecision'](0x0,_0x2c86eb[_0x22ac97(0x141)]),_0x3a3a64['draw'](_0x34e75a),_0x63ce52&&(this[_0x22ac97(0x238)]=(0x0,_0x354392[_0x22ac97(0x360)])(_0x3a3a64,{'left':_0x28f7f0[_0x22ac97(0x371)],'top':_0x28f7f0[_0x22ac97(0x4f5)]+_0x2c86eb['contentVerticalOffset']},_0x53c362[_0x22ac97(0x181)]?{'left':_0x28f7f0[_0x22ac97(0x371)],'right':_0x28f7f0['left']+_0x28f7f0['width'],'top':_0x28f7f0['top']+_0x2c86eb[_0x22ac97(0x11b)],'bottom':_0x28f7f0[_0x22ac97(0x4f5)]+_0x2c86eb[_0x22ac97(0x11b)]+_0x2c86eb[_0x22ac97(0x470)]}:void 0x0)),_0x34e75a[_0x22ac97(0x140)](),_0x3a3a64['dispose'](),_0xe43ec5[_0x22ac97(0x11e)](),_0x5ae5ff[_0x22ac97(0x11e)](),_0x2e0293[_0x22ac97(0x11e)]();}[_0xa608a8(0x2bc)](_0x306a7f,_0x142aae,_0x42e7fa=!0x1){const _0x5c5c72=_0xa608a8;if(!this[_0x5c5c72(0x24c)])return this['makeDirty'](!0x1),this;let {width:_0x407268,height:_0x16917e,left:_0x226e42,top:_0x10e6a8}=this,_0x20bb30=this[_0x5c5c72(0x40c)]();if(_0x407268=_0x20bb30[_0x5c5c72(0x302)],_0x16917e=_0x20bb30[_0x5c5c72(0x474)],_0x226e42=_0x20bb30[_0x5c5c72(0x371)],_0x10e6a8=_0x20bb30[_0x5c5c72(0x4f5)],this['isRender'](_0x142aae)){let {top:_0x32d981,left:_0xc6d266,bottom:_0x2897bd,right:_0x400256}=_0x142aae[_0x5c5c72(0x268)];if(_0x407268+this[_0x5c5c72(0x440)]+_0x226e42<_0xc6d266||_0x400256<_0x226e42||_0x16917e+this[_0x5c5c72(0x440)]+_0x10e6a8<_0x32d981||_0x2897bd<_0x10e6a8)return this;}let _0x52306f=_0x226e42+_0x407268/0x2,_0x599c66=_0x10e6a8+_0x16917e/0x2,_0x508b8b=this[_0x5c5c72(0x31b)][_0x5c5c72(0x1a7)]();if(this['_props'][_0x5c5c72(0x482)]){let _0x1b527b=this[_0x5c5c72(0x4be)](),_0x53f10a=new _0x559311[(_0x5c5c72(0x331))]();_0x53f10a[_0x5c5c72(0x434)]({..._0x1b527b}),_0x508b8b=_0x53f10a[_0x5c5c72(0x1a7)]();}return _0x306a7f['save'](),this[_0x5c5c72(0x3c5)]['shapeModel']['isRenderLinePointsMode']===!0x0||_0x306a7f[_0x5c5c72(0x31b)](_0x508b8b[0x0],_0x508b8b[0x1],_0x508b8b[0x2],_0x508b8b[0x3],_0x52306f,_0x599c66),this[_0x5c5c72(0x4cf)](_0x306a7f,_0x142aae,_0x407268,_0x16917e),_0x306a7f[_0x5c5c72(0x140)](),this[_0x5c5c72(0x476)](!0x1),this;}[_0xa608a8(0x287)](_0x42c260){const _0x18fbf4=_0xa608a8;let {left:_0x367b2e,top:_0x2aeb17,width:_0x422754,height:_0x1e6e77}=this[_0x18fbf4(0x40c)](),_0x5eb163=this[_0x18fbf4(0x31b)][_0x18fbf4(0x1a7)](),_0x2dafdc=_0x367b2e+_0x422754/0x2,_0x3ad2f6=_0x2aeb17+_0x1e6e77/0x2,_0xee0ae8=new _0x559311[(_0x18fbf4(0x331))]([_0x5eb163[0x0],_0x5eb163[0x1],_0x5eb163[0x2],_0x5eb163[0x3],_0x2dafdc,_0x3ad2f6]),_0x355827=this[_0x18fbf4(0x43c)]();return(this['isInGroup']&&(_0x355827==null?void 0x0:_0x355827[_0x18fbf4(0x152)])===_0x559311[_0x18fbf4(0x148)]['GROUP']?_0x355827[_0x18fbf4(0x4d7)][_0x18fbf4(0x32b)](_0xee0ae8):_0xee0ae8)[_0x18fbf4(0x202)]()[_0x18fbf4(0x3af)](_0x42c260);}[_0xa608a8(0x38b)](_0x525160){const _0xb9162c=_0xa608a8;let {left:_0x1a3c36,top:_0x53689e,width:_0x161e8a,height:_0x9fb0de}=this['getRealBound'](),_0x178c8a=_0x1a3c36+_0x161e8a/0x2,_0xc3ce2e=_0x53689e+_0x9fb0de/0x2,_0xcbb1bf=this[_0xb9162c(0x31b)][_0xb9162c(0x1a7)](),_0x15d3c0=new _0x559311[(_0xb9162c(0x331))]([_0xcbb1bf[0x0],_0xcbb1bf[0x1],_0xcbb1bf[0x2],_0xcbb1bf[0x3],_0x178c8a,_0xc3ce2e]),_0x3595f0=this[_0xb9162c(0x43c)](),_0x12fddd=(this['isInGroup']&&(_0x3595f0==null?void 0x0:_0x3595f0[_0xb9162c(0x152)])===_0x559311['RENDER_CLASS_TYPE']['GROUP']?_0x3595f0[_0xb9162c(0x4d7)][_0xb9162c(0x32b)](_0x15d3c0):_0x15d3c0)[_0xb9162c(0x202)]()[_0xb9162c(0x3af)](_0x525160),_0x29b067=_0x161e8a/0x2,_0x33f4f3=_0x9fb0de/0x2,_0x44c583=this[_0xb9162c(0x3c5)]['shapeModel'];return _0x44c583&&_0x44c583[_0xb9162c(0x385)]()?_0x44c583[_0xb9162c(0x356)](_0x12fddd['x'],_0x12fddd['y'],_0x161e8a,_0x9fb0de):_0x12fddd['x']>=-_0x29b067-this[_0xb9162c(0x440)]/0x2&&_0x12fddd['x']<=_0x29b067+this[_0xb9162c(0x440)]/0x2&&_0x12fddd['y']>=-_0x33f4f3-this[_0xb9162c(0x440)]/0x2&&_0x12fddd['y']<=_0x33f4f3+this[_0xb9162c(0x440)]/0x2;}[_0xa608a8(0x11e)](){const _0x4f0e32=_0xa608a8;this['_formulaAnimation'][_0x4f0e32(0x11e)](),this[_0x4f0e32(0x3c5)]['shapeModel']=null,super['dispose']();}},_0x40f42f=class extends _0x559311[_0xa608a8(0x115)]{constructor(_0xf253b4,_0x524a60){const _0x43e7b5=_0xa608a8;super(_0xf253b4,_0x524a60),_0x5b48d0(this,_0x43e7b5(0x34c),null),_0x5b48d0(this,'_adjName',null),_0x5b48d0(this,_0x43e7b5(0x2e3),null),_0x5b48d0(this,_0x43e7b5(0x2f5),null),_0x524a60&&this[_0x43e7b5(0x426)](_0x524a60);}[_0xa608a8(0x18a)](){const _0x552f6c=_0xa608a8;return{'unitId':this[_0x552f6c(0x2e3)],'subUnitId':this[_0x552f6c(0x2f5)],'drawingId':this['_shapeId']};}[_0xa608a8(0x426)](_0x29e12c){const _0x38f54a=_0xa608a8;_0x29e12c[_0x38f54a(0x3d5)]!==void 0x0&&(this[_0x38f54a(0x34c)]=_0x29e12c['shapeId']),_0x29e12c[_0x38f54a(0x472)]!==void 0x0&&(this[_0x38f54a(0x224)]=_0x29e12c[_0x38f54a(0x472)]),_0x29e12c[_0x38f54a(0x284)]!==void 0x0&&(this['_unitId']=_0x29e12c[_0x38f54a(0x284)]),_0x29e12c[_0x38f54a(0x226)]!==void 0x0&&(this[_0x38f54a(0x2f5)]=_0x29e12c[_0x38f54a(0x226)]),this[_0x38f54a(0x27d)]({'width':_0x29e12c[_0x38f54a(0x302)],'height':_0x29e12c['height']});}[_0xa608a8(0x4cf)](_0xf6286b){const _0x303d32=_0xa608a8;_0x559311['Circle'][_0x303d32(0x2ed)](_0xf6286b,{'radius':_0x11e0df[_0x303d32(0x4bb)]['adjHandleSize'],'fill':_0x11e0df[_0x303d32(0x4bb)][_0x303d32(0x260)],'stroke':_0x11e0df['ShapeDefaultConfig'][_0x303d32(0x3a2)],'strokeWidth':0x1,'evented':!0x0});}};function _0x542dc8(_0x4e32d1,_0x5fa40e){return function(_0x1c17ae,_0xac6321){_0x5fa40e(_0x1c17ae,_0xac6321,_0x4e32d1);};}function _0x4cddfe(_0x1717e5,_0x303dfe,_0x4ca442,_0x1dca82){const _0x3d5917=_0xa608a8;var _0x408d3f=arguments[_0x3d5917(0x225)],_0x43fe78=_0x408d3f<0x3?_0x303dfe:_0x1dca82===null?_0x1dca82=Object[_0x3d5917(0x220)](_0x303dfe,_0x4ca442):_0x1dca82,_0x455cf6;if(typeof Reflect==_0x3d5917(0x2cc)&&typeof Reflect[_0x3d5917(0x2ae)]==_0x3d5917(0x10d))_0x43fe78=Reflect[_0x3d5917(0x2ae)](_0x1717e5,_0x303dfe,_0x4ca442,_0x1dca82);else{for(var _0x365d92=_0x1717e5[_0x3d5917(0x225)]-0x1;_0x365d92>=0x0;_0x365d92--)(_0x455cf6=_0x1717e5[_0x365d92])&&(_0x43fe78=(_0x408d3f<0x3?_0x455cf6(_0x43fe78):_0x408d3f>0x3?_0x455cf6(_0x303dfe,_0x4ca442,_0x43fe78):_0x455cf6(_0x303dfe,_0x4ca442))||_0x43fe78);}return _0x408d3f>0x3&&_0x43fe78&&Object[_0x3d5917(0x34b)](_0x303dfe,_0x4ca442,_0x43fe78),_0x43fe78;}let _0x4f6784=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x3ae051,_0x59c55c,_0x25ba83,_0x35203e,_0x5db006,_0x11fc5a){const _0x1f6d5a=_0xa608a8;super(),this['_drawingManagerService']=_0x3ae051,this[_0x1f6d5a(0x524)]=_0x59c55c,this['_localeService']=_0x25ba83,this[_0x1f6d5a(0x172)]=_0x35203e,this[_0x1f6d5a(0x3e0)]=_0x5db006,this['_shapeFormulaService']=_0x11fc5a,_0x5b48d0(this,'_formulaShapes',new Map()),this[_0x1f6d5a(0x322)](this[_0x1f6d5a(0x442)][_0x1f6d5a(0x2e2)]['subscribe'](_0x36f1d1=>{const _0x107f7b=_0x1f6d5a;var _0x501d27;(_0x501d27=this[_0x107f7b(0x358)][_0x107f7b(0x20b)](this[_0x107f7b(0x352)](_0x36f1d1[_0x107f7b(0x284)],_0x36f1d1[_0x107f7b(0x226)],_0x36f1d1[_0x107f7b(0x3d5)])))==null||_0x501d27[_0x107f7b(0x2ce)](_0x46ae62=>_0x46ae62['setFormulaPresentation'](_0x36f1d1[_0x107f7b(0x15e)],_0x36f1d1[_0x107f7b(0x495)]));})),this[_0x1f6d5a(0x322)](this[_0x1f6d5a(0x3d7)]['remove$'][_0x1f6d5a(0x376)](_0x1dd4c6=>{_0x1dd4c6['forEach'](_0x4a7974=>{const _0x2ee589=_0x286e;this['_formulaShapes']['delete'](this['_formulaKey'](_0x4a7974[_0x2ee589(0x284)],_0x4a7974[_0x2ee589(0x226)],_0x4a7974[_0x2ee589(0x2b5)]));});}));}['renderDrawingShape'](_0x2894ed,_0x5c5329,_0x568b9f){const _0x3676fd=_0xa608a8;let {transform:_0x115d86,drawingType:_0x1d0de6,isMultiTransform:_0x55f45b,transforms:_0x42f99b}=_0x2894ed;if(_0x1d0de6===_0x244243[_0x3676fd(0x138)]['DRAWING_SHAPE']&&this[_0x3676fd(0x3d7)][_0x3676fd(0x2c9)]()&&_0x115d86)return(_0x55f45b&&_0x42f99b?_0x42f99b:[_0x115d86])[_0x3676fd(0x343)]((_0x379c19,_0x413f46)=>{const _0x2db05f=_0x3676fd;var _0x2c1279;let _0x4e34f8=(0x0,_0x43c769[_0x2db05f(0x280)])(_0x2894ed,_0x55f45b?_0x413f46:void 0x0),_0x24ba80=_0x5c5329[_0x2db05f(0x47f)](_0x4e34f8);if(_0x24ba80)return _0x24ba80 instanceof _0x5ee4ee&&this[_0x2db05f(0x336)](_0x24ba80,{'unitId':_0x2894ed['unitId'],'subUnitId':_0x2894ed[_0x2db05f(0x226)],'shapeId':_0x2894ed[_0x2db05f(0x2b5)]}),_0x24ba80[_0x2db05f(0x27d)](_0x379c19),[];let _0xfcfe5d=this[_0x2db05f(0x44c)](_0x2894ed,_0x379c19,_0x4e34f8,_0x5c5329);if(!_0xfcfe5d)return[];let _0x5df2d2=this[_0x2db05f(0x42d)](_0xfcfe5d,_0xfcfe5d['shapeModel']['getShapeData']());return _0x5df2d2&&(_0x568b9f==null||(_0x2c1279=_0x568b9f[_0x2db05f(0x2ea)])==null||_0x2c1279[_0x2db05f(0x488)](_0x5df2d2)),[_0xfcfe5d];});}[_0xa608a8(0x44c)](_0x3c3ad1,_0x398e91,_0x50c3e0,_0xe94ab1){const _0x2d4973=_0xa608a8;let {unitId:_0x5e32ea,subUnitId:_0x44aa5a,drawingId:_0x6d3e9d,groupId:_0x1a23eb,hidden:_0x4ec5d1,selectable:_0x253985,prstGeom:_0x40eca1,srcRect:_0x94c5ac}=_0x3c3ad1,_0x3d4f6e=this[_0x2d4973(0x524)][_0x2d4973(0x335)](_0x5e32ea,_0x44aa5a,_0x6d3e9d);if(!_0x3d4f6e)return;let _0x18cd22=this[_0x2d4973(0x3d7)][_0x2d4973(0x31e)](_0x5e32ea,_0x44aa5a),_0x3f4242=_0x18cd22[_0x2d4973(0x190)](_0x6d3e9d),_0x56f6e6=(0x0,_0x11e0df[_0x2d4973(0x42a)])(_0x3d4f6e[_0x2d4973(0x4e2)]()),_0x1e84a8=_0x3d4f6e[_0x2d4973(0x169)]()[_0x2d4973(0x301)],_0x2f2804={'unitId':_0x5e32ea,'subUnitId':_0x44aa5a,'shapeId':_0x6d3e9d};_0x1e84a8&&this[_0x2d4973(0x442)][_0x2d4973(0x136)](_0x2f2804,_0x1e84a8);let _0x135e13=new _0x5ee4ee(_0x50c3e0,{..._0x398e91,'zIndex':_0x3f4242===-0x1?_0x18cd22[_0x2d4973(0x225)]-0x1:_0x3f4242,'shapeModel':_0x3d4f6e,'drawingType':_0x244243[_0x2d4973(0x138)][_0x2d4973(0x4e9)],'localeService':this['_localeService'],'shapeId':_0x6d3e9d,'unitId':_0x5e32ea,'subUnitId':_0x44aa5a,'visible':_0x4ec5d1!==!0x0,'evented':_0x253985!==!0x1,'formulaPresentation':_0x1e84a8?this['_shapeFormulaService']['getPresentation'](_0x2f2804):void 0x0,'animateFormulaPresentation':(_0x1e84a8==null?void 0x0:_0x1e84a8[_0x2d4973(0x495)])!==!0x1,'transformerConfig':{..._0x354392[_0x2d4973(0x340)],..._0x56f6e6?{'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{},'moveBoundaryEnabled':!0x0}});if(_0x1e84a8){let _0x5c6678=this[_0x2d4973(0x352)](_0x5e32ea,_0x44aa5a,_0x6d3e9d),_0x1235ee=this['_formulaShapes'][_0x2d4973(0x20b)](_0x5c6678)??new Set();_0x1235ee[_0x2d4973(0x488)](_0x135e13),this[_0x2d4973(0x358)][_0x2d4973(0x17d)](_0x5c6678,_0x1235ee);}return _0xe94ab1[_0x2d4973(0x1d6)](_0x135e13,_0x559311[_0x2d4973(0x17a)]),this[_0x2d4973(0x3d7)]['getDrawingEditable']()&&_0xe94ab1[_0x2d4973(0x3b8)](_0x135e13),_0x1a23eb&&(0x0,_0x4cdb25[_0x2d4973(0x51a)])({'drawingId':_0x1a23eb,'unitId':_0x5e32ea,'subUnitId':_0x44aa5a},_0x135e13,_0xe94ab1,this[_0x2d4973(0x3d7)]),_0x40eca1!=null&&_0x135e13[_0x2d4973(0x1f7)](_0x40eca1),_0x94c5ac!=null&&_0x135e13[_0x2d4973(0x15d)](_0x94c5ac),_0x135e13;}['_formulaKey'](_0xbb2fe2,_0xe02b26,_0x15b87d){return _0xbb2fe2+'\x00'+_0xe02b26+'\x00'+_0x15b87d;}[_0xa608a8(0x336)](_0x346d69,_0x58a1eb){const _0x115310=_0xa608a8;let _0x2b2c9e=this['_sheetsShapeService'][_0x115310(0x335)](_0x58a1eb[_0x115310(0x284)],_0x58a1eb[_0x115310(0x226)],_0x58a1eb[_0x115310(0x3d5)]),_0x2d0e3b=_0x2b2c9e==null?void 0x0:_0x2b2c9e[_0x115310(0x169)]()[_0x115310(0x301)],_0x5d9046=this['_formulaKey'](_0x58a1eb[_0x115310(0x284)],_0x58a1eb['subUnitId'],_0x58a1eb[_0x115310(0x3d5)]);if(_0x2d0e3b){this[_0x115310(0x442)][_0x115310(0x136)](_0x58a1eb,_0x2d0e3b);let _0x110dd4=this[_0x115310(0x358)][_0x115310(0x20b)](_0x5d9046)??new Set();_0x110dd4[_0x115310(0x488)](_0x346d69),this['_formulaShapes']['set'](_0x5d9046,_0x110dd4);}else{var _0x2074ed;this[_0x115310(0x442)][_0x115310(0x1ca)](_0x58a1eb),(_0x2074ed=this[_0x115310(0x358)][_0x115310(0x20b)](_0x5d9046))==null||_0x2074ed[_0x115310(0x1ae)](_0x346d69);}_0x346d69[_0x115310(0x27c)](_0x2d0e3b?this['_shapeFormulaService'][_0x115310(0x3ec)](_0x58a1eb):void 0x0,(_0x2d0e3b==null?void 0x0:_0x2d0e3b['animationEnabled'])!==!0x1);}[_0xa608a8(0x4f1)](_0x1c7f28){const _0x53e4d1=_0xa608a8;let _0xaabd62=_0x1c7f28['shapeModel']['getShapeData'](),_0x4861dc=_0xaabd62[_0x53e4d1(0x1c1)];!_0x4861dc||_0x4861dc['fillType']!==_0x11e0df[_0x53e4d1(0x38d)][_0x53e4d1(0x3cd)]||!_0x4861dc[_0x53e4d1(0x252)]?_0x1c7f28[_0x53e4d1(0x364)](void 0x0):this['_loadShapePictureFill'](_0x1c7f28,_0xaabd62);}[_0xa608a8(0x42d)](_0x2257ad,_0x3d9139){const _0x406ad5=_0xa608a8;let _0x541092=_0x3d9139[_0x406ad5(0x1c1)];if(!_0x541092||_0x541092[_0x406ad5(0x256)]!==_0x11e0df['ShapeFillEnum'][_0x406ad5(0x3cd)]||!_0x541092[_0x406ad5(0x252)])return;let _0x4ab7c2=_0x541092['fillImageSource'],_0x2bdad9=_0x541092['fillImageSourceType']??_0x11e0df[_0x406ad5(0x2b2)][_0x406ad5(0x379)],_0x3439e9=this[_0x406ad5(0x172)]['getImageSourceCache'](_0x4ab7c2,_0x2bdad9);if(_0x3439e9)_0x2257ad[_0x406ad5(0x364)](_0x3439e9);else return this[_0x406ad5(0x10c)](_0x2257ad,_0x4ab7c2,_0x2bdad9);}async[_0xa608a8(0x10c)](_0x1e18b9,_0x24a832,_0x791d2f){const _0x94aa24=_0xa608a8;let _0x343436;try{if(_0x791d2f===_0x11e0df['ImageSourceTypeEnum'][_0x94aa24(0x14d)])_0x343436=await this[_0x94aa24(0x172)][_0x94aa24(0x4d5)](_0x24a832);else{if(_0x791d2f===_0x11e0df['ImageSourceTypeEnum']['URL'])try{_0x343436=await this[_0x94aa24(0x3e0)][_0x94aa24(0x4d5)](_0x24a832);}catch{_0x343436=_0x24a832;}else _0x343436=_0x24a832;}}catch(_0x1d150b){console[_0x94aa24(0x467)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x1d150b);return;}await new Promise(_0x4f2a78=>{const _0x4a1e7c=_0x94aa24;let _0x42d704=new window[(_0x4a1e7c(0x25f))]();_0x42d704['onload']=()=>{const _0x5ed2c=_0x4a1e7c;this[_0x5ed2c(0x172)][_0x5ed2c(0x487)](_0x24a832,_0x791d2f,_0x42d704),_0x1e18b9['setFillImage'](_0x42d704),_0x4f2a78();},_0x42d704[_0x4a1e7c(0x2bb)]=()=>{const _0x1e9edf=_0x4a1e7c;console[_0x1e9edf(0x467)](_0x1e9edf(0x21f),_0x24a832),_0x4f2a78();},_0x42d704['src']=_0x343436;});}};_0x4f6784=_0x4cddfe([_0x542dc8(0x0,_0x43c769['IDrawingManagerService']),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349[_0xa608a8(0x439)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x38e)])),_0x542dc8(0x3,_0x244243['IImageIoService']),_0x542dc8(0x4,_0x244243[_0xa608a8(0x1b6)]),_0x542dc8(0x5,(0x0,_0x244243['Inject'])(_0x4e6980[_0xa608a8(0x2b6)]))],_0x4f6784);let _0x35cd7c=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x26ba63,_0x14b179,_0x50be68,_0x1491c4,_0x409152,_0x43823f){const _0x2d2235=_0xa608a8;super(),this['_drawingManagerService']=_0x26ba63,this[_0x2d2235(0x524)]=_0x14b179,this[_0x2d2235(0x23d)]=_0x50be68,this[_0x2d2235(0x2f7)]=_0x1491c4,this[_0x2d2235(0x1e8)]=_0x409152,this[_0x2d2235(0x480)]=_0x43823f,_0x5b48d0(this,_0x2d2235(0x1ed),null),_0x5b48d0(this,_0x2d2235(0x2e3),null),_0x5b48d0(this,_0x2d2235(0x2f5),null),_0x5b48d0(this,_0x2d2235(0x2e7),void 0x0),_0x5b48d0(this,'_shapes',[]),_0x5b48d0(this,_0x2d2235(0x33e),0x0),_0x5b48d0(this,_0x2d2235(0x453),0x0),_0x5b48d0(this,_0x2d2235(0x48a),0x0),_0x5b48d0(this,_0x2d2235(0x3ab),0x0),_0x5b48d0(this,_0x2d2235(0x386),!0x1),_0x5b48d0(this,_0x2d2235(0x50d),void 0x0),_0x5b48d0(this,_0x2d2235(0x240),void 0x0),_0x5b48d0(this,'_adjHandlerPointerMove',void 0x0),_0x5b48d0(this,_0x2d2235(0x19a),void 0x0),_0x5b48d0(this,_0x2d2235(0x2ec),!0x1),this[_0x2d2235(0x1db)](),this[_0x2d2235(0x497)]();}[_0xa608a8(0x4cc)](_0x35906d,_0x275ed1,_0x3f5d46){const _0x326890=_0xa608a8;let _0x581374=this[_0x326890(0x524)]['getShapeModel'](_0x35906d,_0x275ed1,_0x3f5d46);if(_0x581374)return _0x581374['getDrawingPoints']();}['clearAdjustControls'](){const _0x519d24=_0xa608a8;this[_0x519d24(0x46b)]();}[_0xa608a8(0x14f)](){this['_updateShapeAdjustControls'](!0x0);}[_0xa608a8(0x219)](_0x51823f){const _0x538cfc=_0xa608a8;this[_0x538cfc(0x2ec)]=_0x51823f;}[_0xa608a8(0x4d1)](_0x1f3980,_0x5a803f,_0x1c249d,_0x1b30cd){const _0x334bd6=_0xa608a8;let _0x550aaf=this[_0x334bd6(0x524)]['getShapeModel'](_0x1f3980,_0x5a803f,_0x1c249d);if(_0x550aaf)return _0x550aaf['getAdjustInfoByName'](_0x1b30cd);}[_0xa608a8(0x3f9)](_0x40c322=!0x1){const _0x3564a8=_0xa608a8;if(this[_0x3564a8(0x2e3)]===null||this[_0x3564a8(0x2f5)]===null||this[_0x3564a8(0x1ed)]===null)return;let _0x57fb74=this[_0x3564a8(0x23d)][_0x3564a8(0x236)](this['_unitId']);if(!_0x57fb74||!_0x57fb74[_0x3564a8(0x3cf)](_0x180b4c[_0x3564a8(0x23a)])['getCurrentSkeleton']())return;let {scene:_0x319c69}=_0x57fb74,_0x167081={'unitId':this['_unitId'],'subUnitId':this[_0x3564a8(0x2f5)],'drawingId':this[_0x3564a8(0x1ed)]},_0x4842e0=this[_0x3564a8(0x3d7)]['getDrawingByParam'](_0x167081),{transform:_0x140c96}=_0x4842e0;if(!_0x140c96||_0x4842e0[_0x3564a8(0x351)]!==_0x244243[_0x3564a8(0x138)]['DRAWING_SHAPE'])return;let {left:_0x49ac91,top:_0x3e310a,width:_0x1c2d90,height:_0x2d15bb,flipX:_0x1de3b0,flipY:_0x27da1f,angle:_0x306fda=0x0}=_0x140c96;if(_0x49ac91===void 0x0||_0x3e310a===void 0x0)return;if(_0x40c322){let _0x1ec6b1=this[_0x3564a8(0x524)][_0x3564a8(0x335)](this[_0x3564a8(0x2e3)],this[_0x3564a8(0x2f5)],this[_0x3564a8(0x1ed)]);_0x1ec6b1==null||_0x1ec6b1[_0x3564a8(0x30c)]({'width':_0x1c2d90??0x0,'height':_0x2d15bb??0x0}),this['_activeShapeAdjustPointList']=_0x1ec6b1==null?void 0x0:_0x1ec6b1['getDrawingPoints']();}let _0x7ca000=this[_0x3564a8(0x2e7)];for(let _0x32f6f5=0x0;_0x32f6f5<_0x7ca000[_0x3564a8(0x225)];_0x32f6f5++){let _0x4fce3d=_0x7ca000[_0x32f6f5],_0x4ad77e=_0x4fce3d['x'],_0x1bbd20=_0x4fce3d['y'];if(_0x1de3b0&&(_0x4ad77e=(_0x1c2d90||0x0)-_0x4ad77e),_0x27da1f&&(_0x1bbd20=(_0x2d15bb||0x0)-_0x1bbd20),_0x306fda!==0x0){let _0x5aa25a=(_0x1c2d90||0x0)/0x2,_0x352154=(_0x2d15bb||0x0)/0x2,_0x50dffd=_0x306fda*Math['PI']/0xb4,_0x163dfc=Math['cos'](_0x50dffd),_0xc26b2c=Math[_0x3564a8(0x149)](_0x50dffd),_0x38b56d=_0x4ad77e-_0x5aa25a,_0xeec084=_0x1bbd20-_0x352154;_0x4ad77e=_0x5aa25a+(_0x38b56d*_0x163dfc-_0xeec084*_0xc26b2c),_0x1bbd20=_0x352154+(_0x38b56d*_0xc26b2c+_0xeec084*_0x163dfc);}let _0xd31f41={'x':_0x4ad77e,'y':_0x1bbd20,'adjName':_0x4fce3d[_0x3564a8(0x472)]};this[_0x3564a8(0x177)](_0x319c69,_0xd31f41,_0xd31f41[_0x3564a8(0x472)],_0x49ac91,_0x3e310a,this[_0x3564a8(0x2e3)],this[_0x3564a8(0x2f5)]);}}[_0xa608a8(0x13b)](_0x32647d=!0x1){const _0x33469b=_0xa608a8;_0x32647d&&(this[_0x33469b(0x46b)](),this[_0x33469b(0x3f9)](_0x32647d));}[_0xa608a8(0x177)](_0x88a725,_0x1d94cb,_0x33f920,_0x590eb1,_0x1bd563,_0x5e9125,_0x17f826){const _0x133249=_0xa608a8;if(!this[_0x133249(0x1ed)])return;let _0x5de1ae=_0x88a725[_0x133249(0x47f)]('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x33f920);if(_0x5de1ae){_0x5de1ae['transformByState']({'left':_0x1d94cb['x']+_0x590eb1-_0x11e0df[_0x133249(0x4bb)][_0x133249(0x213)],'top':_0x1d94cb['y']+_0x1bd563-_0x11e0df['ShapeDefaultConfig'][_0x133249(0x213)]});return;}let _0x503d64={'left':_0x1d94cb['x']+_0x590eb1-_0x11e0df[_0x133249(0x4bb)][_0x133249(0x213)],'top':_0x1d94cb['y']+_0x1bd563-_0x11e0df[_0x133249(0x4bb)][_0x133249(0x213)],'adjName':_0x33f920,'shapeId':this[_0x133249(0x1ed)],'unitId':_0x5e9125,'subUnitId':_0x17f826,'width':_0x11e0df[_0x133249(0x4bb)][_0x133249(0x213)]+0x8,'height':_0x11e0df[_0x133249(0x4bb)][_0x133249(0x213)]+0x8,'zIndex':_0x559311[_0x133249(0x17a)]+0x1,'evented':!0x0},_0x3817e7=new _0x40f42f(_0x133249(0x332)+this['_activeShapeId']+'-'+_0x33f920,_0x503d64);this['_shapes'][_0x133249(0x313)](_0x3817e7),this['_attachAdjustEvent'](_0x3817e7,_0x88a725,_0x33f920),_0x88a725[_0x133249(0x1d6)](_0x3817e7,_0x559311[_0x133249(0x17a)]+0x1);}[_0xa608a8(0x46b)](){const _0x378072=_0xa608a8;this[_0x378072(0x501)]['length']!==0x0&&(this[_0x378072(0x501)]['forEach'](_0x23ee13=>{const _0x1da407=_0x378072;_0x23ee13[_0x1da407(0x11e)]();}),this[_0x378072(0x501)]=[]);}[_0xa608a8(0x3a7)](){const _0x587efc=_0xa608a8;this[_0x587efc(0x3f9)]();}[_0xa608a8(0x412)](_0x25a10f,_0x281116){const _0x4ab11f=_0xa608a8;var _0x373bca;let _0x297a92={'x':0x0,'y':0x0};if(!_0x25a10f||!_0x281116)return _0x297a92;let _0x17c180=this['_renderManagerService']['getRenderUnitById'](_0x25a10f);if(!_0x17c180||!_0x17c180['with'](_0x180b4c['SheetSkeletonManagerService'])['getSkeleton'](_0x281116))return _0x297a92;let _0x10f9dd=_0x17c180[_0x4ab11f(0x3cf)](_0x180b4c[_0x4ab11f(0x369)]),_0xca976b=_0x10f9dd==null?void 0x0:_0x10f9dd[_0x4ab11f(0x3da)]();if(!_0xca976b)return _0x297a92;let _0x5ed276=(_0x373bca=this[_0x4ab11f(0x1e8)][_0x4ab11f(0x150)](_0x25a10f))==null?void 0x0:_0x373bca[_0x4ab11f(0x4f7)](_0x281116);if(!_0x5ed276)return _0x297a92;let _0x2f7ce6=(0x0,_0x180b4c[_0x4ab11f(0x186)])(_0xca976b[_0x4ab11f(0x266)],_0xca976b[_0x4ab11f(0x191)],_0x17c180[_0x4ab11f(0x419)],_0x5ed276);return _0x2f7ce6?{'x':_0x2f7ce6[_0x4ab11f(0x3ca)],'y':_0x2f7ce6[_0x4ab11f(0x33d)]}:_0x297a92;}[_0xa608a8(0x1d0)](_0x33012f,_0x2a359d){const _0x5cddde=_0xa608a8;var _0xa908e4;let _0x2e05bd=(_0xa908e4=this['_univerInstanceService']['getUnit'](_0x33012f))==null?void 0x0:_0xa908e4[_0x5cddde(0x4f7)](_0x2a359d);return(_0x2e05bd==null?void 0x0:_0x2e05bd[_0x5cddde(0x29a)]())??0x1;}[_0xa608a8(0x445)](_0x2e9ee5,_0x58e718,_0x66482a){const _0x309712=_0xa608a8;this['disposeWithMe']((0x0,_0x244243[_0x309712(0x45a)])(_0x2e9ee5[_0x309712(0x344)][_0x309712(0x1ef)]((_0x54bbca,_0x1e55a3)=>{const _0x4db3bd=_0x309712;var _0x4eb01d,_0x4a0b01,_0x1743b1,_0x257659;let _0x40e01e=_0x2e9ee5[_0x4db3bd(0x18a)]();this[_0x4db3bd(0x50d)]=this['_getShapeAdjustInfosById'](_0x40e01e[_0x4db3bd(0x284)],_0x40e01e[_0x4db3bd(0x226)],_0x40e01e[_0x4db3bd(0x2b5)],_0x66482a),this[_0x4db3bd(0x240)]=this[_0x4db3bd(0x524)]['getShapeModel'](_0x40e01e[_0x4db3bd(0x284)],_0x40e01e[_0x4db3bd(0x226)],_0x40e01e[_0x4db3bd(0x2b5)]);let _0x20d89f=this['_drawingManagerService'][_0x4db3bd(0x462)]({'unitId':this['_unitId'],'subUnitId':this[_0x4db3bd(0x2f5)],'drawingId':this[_0x4db3bd(0x1ed)]}),{transform:_0x182e99}=_0x20d89f;if(_0x182e99){let {left:_0x51b7b2,top:_0xa529da,width:_0x5e4ef6,height:_0x2ff546}=_0x182e99;this['_baseShapeLeft']=_0x51b7b2||0x0,this[_0x4db3bd(0x453)]=_0xa529da||0x0,this[_0x4db3bd(0x48a)]=_0x5e4ef6||0x0,this[_0x4db3bd(0x3ab)]=_0x2ff546||0x0;}let _0x5d5118=!!((_0x4eb01d=_0x20d89f[_0x4db3bd(0x31b)])!=null&&_0x4eb01d[_0x4db3bd(0x4ff)]),_0x560cab=!!((_0x4a0b01=_0x20d89f[_0x4db3bd(0x31b)])!=null&&_0x4a0b01[_0x4db3bd(0x4fe)]),_0xa21412=((_0x1743b1=_0x20d89f[_0x4db3bd(0x31b)])==null?void 0x0:_0x1743b1['angle'])||0x0;this[_0x4db3bd(0x386)]=!0x0,_0x58e718[_0x4db3bd(0x40d)]();let _0x290e0b={...((_0x257659=this[_0x4db3bd(0x50d)])==null?void 0x0:_0x257659[_0x4db3bd(0x25c)])??{}};this[_0x4db3bd(0x46e)]=_0x58e718[_0x4db3bd(0x486)][_0x4db3bd(0x1ef)]((_0xf7c954,_0x55a268)=>{const _0x266257=_0x4db3bd;if(!this[_0x266257(0x386)])return;let {offsetX:_0x71194f,offsetY:_0x2b8115}=_0xf7c954,_0x1d71d3=this[_0x266257(0x50d)];if(this[_0x266257(0x240)]&&_0x1d71d3){_0x58e718['disableObjectsEvent'](),_0x58e718['setCursor'](_0x559311['CURSOR_TYPE'][_0x266257(0x438)]);let _0x47e7d7={'left':0x0,'top':0x0,'width':this[_0x266257(0x48a)],'height':this['_baseShapeHeight']},_0x5227a7=this[_0x266257(0x412)](this[_0x266257(0x2e3)],this[_0x266257(0x2f5)]),_0xea05e6=this['_getZoomRatio'](this['_unitId'],this['_subUnitId']),_0x1115ca=_0x71194f/_0xea05e6+_0x5227a7['x']-this['_baseShapeLeft'],_0x157bbc=_0x2b8115/_0xea05e6+_0x5227a7['y']-this[_0x266257(0x453)];if(_0xa21412!==0x0){let _0x352746=this[_0x266257(0x48a)]/0x2,_0x5b0bf1=this[_0x266257(0x3ab)]/0x2,_0x2c26a2=_0xa21412*Math['PI']/0xb4,_0x13bfe4=Math[_0x266257(0x26c)](_0x2c26a2),_0x2b9cdd=Math['sin'](_0x2c26a2),_0x3c4bcd=_0x1115ca-_0x352746,_0x290cf5=_0x157bbc-_0x5b0bf1;_0x1115ca=_0x352746+(_0x3c4bcd*_0x13bfe4+_0x290cf5*_0x2b9cdd),_0x157bbc=_0x5b0bf1+(-_0x3c4bcd*_0x2b9cdd+_0x290cf5*_0x13bfe4);}_0x5d5118&&(_0x1115ca=this[_0x266257(0x48a)]-_0x1115ca),_0x560cab&&(_0x157bbc=this[_0x266257(0x3ab)]-_0x157bbc);let _0x1ff94e={'x':_0x1115ca,'y':_0x157bbc},_0x4f9a73=this[_0x266257(0x240)]['calcAdjValues'](_0x47e7d7,_0x1ff94e,_0x1d71d3,_0x5d5118,_0x560cab);if(Object[_0x266257(0x13c)](_0x4f9a73)[_0x266257(0x225)]===0x0)return;for(let [_0x52ad65,_0x260fba]of Object[_0x266257(0x3b2)](_0x4f9a73))this['_activeShapeModel'][_0x266257(0x2c4)](_0x52ad65,_0x260fba);this['_activeShapeModel'][_0x266257(0x30c)]({'width':this['_baseShapeWidth'],'height':this[_0x266257(0x3ab)]});let _0x3f4ca7=this['_drawingManagerService'][_0x266257(0x462)]({'unitId':_0x40e01e[_0x266257(0x284)],'subUnitId':_0x40e01e['subUnitId'],'drawingId':_0x40e01e['drawingId']});_0x3f4ca7&&(this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x3f4ca7,_0x58e718),this[_0x266257(0x2e7)]=this[_0x266257(0x4cc)](_0x40e01e[_0x266257(0x284)],_0x40e01e[_0x266257(0x226)],_0x40e01e[_0x266257(0x2b5)]),this[_0x266257(0x3a7)]());}_0x55a268['stopPropagation']();}),this[_0x4db3bd(0x19a)]=_0x58e718[_0x4db3bd(0x435)][_0x4db3bd(0x1ef)]((_0x230ce3,_0x383325)=>{const _0x410bc2=_0x4db3bd;this['_adjHandlerPointerMove'][_0x410bc2(0x39f)](),this['_adjHandlerPointerUp'][_0x410bc2(0x39f)](),_0x58e718['resetCursor']();let _0x453dda=this[_0x410bc2(0x50d)];if(_0x453dda){let _0x5990d5=_0x40e01e['unitId'],_0x163eb4=_0x40e01e[_0x410bc2(0x226)],_0x393ed2=_0x40e01e[_0x410bc2(0x2b5)],_0x4d3a25={};for(let _0xa43c3a of Object[_0x410bc2(0x13c)](_0x453dda[_0x410bc2(0x25c)])){var _0x151cf8;let _0x3aca4f=(_0x151cf8=this[_0x410bc2(0x240)])==null?void 0x0:_0x151cf8['getAdjustValueByName'](_0xa43c3a);_0x3aca4f!==void 0x0&&(_0x4d3a25[_0xa43c3a]=_0x3aca4f);}Object[_0x410bc2(0x13c)](_0x4d3a25)[_0x410bc2(0x225)]>0x0&&_0x1f80f7(this[_0x410bc2(0x480)],_0x5990d5,_0x163eb4,_0x393ed2,{'oldShapeData':{'adjustValues':_0x290e0b}},{'adjustValues':_0x4d3a25});}this[_0x410bc2(0x50d)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x410bc2(0x386)]=!0x1,_0x383325['stopPropagation'](),_0x58e718[_0x410bc2(0x3dd)]();}),_0x1e55a3[_0x4db3bd(0x455)]();})));}[_0xa608a8(0x497)](){const _0x593f6f=_0xa608a8;let _0x3ada36=this[_0x593f6f(0x1e8)][_0x593f6f(0x2bd)](_0x244243[_0x593f6f(0x10a)][_0x593f6f(0x127)]);this[_0x593f6f(0x322)](_0x3ada36[_0x593f6f(0x288)]((0x0,_0x38f817[_0x593f6f(0x14c)])(_0x4de0dc=>_0x4de0dc?_0x4de0dc[_0x593f6f(0x2de)]['pipe']((0x0,_0x38f817[_0x593f6f(0x14c)])(_0x2244b9=>{const _0x2acec8=_0x593f6f;if(!_0x2244b9)return _0x38f817[_0x2acec8(0x3be)];let _0x1740ed=_0x4de0dc[_0x2acec8(0x244)](),_0x919d40=this['_renderManagerService'][_0x2acec8(0x236)](_0x1740ed),_0x1d86ca=_0x919d40==null?void 0x0:_0x919d40['scene'];return _0x1d86ca?(0x0,_0x38f817['of'])(_0x1d86ca):_0x38f817['EMPTY'];})):_0x38f817[_0x593f6f(0x3be)]))[_0x593f6f(0x376)](_0x1eee5a=>{const _0xff5941=_0x593f6f;let _0x1f1d8a=_0x1eee5a[_0xff5941(0x3a4)]();this[_0xff5941(0x322)](_0x1eee5a[_0xff5941(0x486)][_0xff5941(0x1ef)](()=>{const _0x2930d5=_0xff5941;this[_0x2930d5(0x2ec)];})),this['disposeWithMe'](_0x1f1d8a[_0xff5941(0x4dd)][_0xff5941(0x376)](_0x202916=>{const _0x5e189e=_0xff5941;let {objects:_0x3e9730}=_0x202916;this['_createShapeAdjustControls'](),_0x3e9730!==null&&_0x3e9730[_0x5e189e(0x13f)]===0x1&&_0x3e9730['values']()[_0x5e189e(0x159)]()[_0x5e189e(0x496)]instanceof _0x5ee4ee&&this[_0x5e189e(0x219)](!0x0);})),this[_0xff5941(0x322)](_0x1f1d8a[_0xff5941(0x10f)]['subscribe'](()=>{const _0x29706b=_0xff5941;this['_isShouldShowDrawingShapeAdjust']&&this[_0x29706b(0x46b)]();})),this['disposeWithMe'](_0x1eee5a['onPointerUp$'][_0xff5941(0x1ef)](()=>{const _0x3cc892=_0xff5941;this[_0x3cc892(0x2ec)]&&(this[_0x3cc892(0x219)](!0x1),this['_createShapeAdjustControls']());})),this[_0xff5941(0x322)](_0x1f1d8a['changeEnd$']['subscribe'](()=>{const _0x582b69=_0xff5941;this[_0x582b69(0x2e3)]&&this['_subUnitId']&&this[_0x582b69(0x1ed)]&&this[_0x582b69(0x3d7)][_0x582b69(0x462)]({'unitId':this[_0x582b69(0x2e3)],'subUnitId':this[_0x582b69(0x2f5)],'drawingId':this[_0x582b69(0x1ed)]})&&(this['_activeShapeAdjustPointList']=this[_0x582b69(0x4cc)](this[_0x582b69(0x2e3)],this['_subUnitId'],this[_0x582b69(0x1ed)]),this[_0x582b69(0x3a7)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x12244c=_0xa608a8;this['disposeWithMe'](this['_commandService'][_0x12244c(0x380)](_0x10908d=>{const _0x434b5c=_0x12244c;if(_0x10908d['id']!==_0xb19349[_0x434b5c(0x35d)]['id'])return;let {unitId:_0x2d4966,subUnitId:_0x1ae6b4,shapeId:_0x129353}=_0x10908d[_0x434b5c(0x131)];_0x2d4966===this['_unitId']&&_0x1ae6b4===this[_0x434b5c(0x2f5)]&&_0x129353===this[_0x434b5c(0x1ed)]&&this[_0x434b5c(0x14f)]();})),this['disposeWithMe'](this[_0x12244c(0x3d7)][_0x12244c(0x17f)]['subscribe'](_0x186574=>{const _0x3db0de=_0x12244c;if(_0x186574['length']===0x1){let _0x22d144=_0x186574[0x0];if(_0x22d144[_0x3db0de(0x351)]===_0x244243[_0x3db0de(0x138)][_0x3db0de(0x4e9)]&&this[_0x3db0de(0x1e8)][_0x3db0de(0x1af)](_0x22d144[_0x3db0de(0x284)])===_0x244243[_0x3db0de(0x10a)][_0x3db0de(0x127)]){this['_activeShapeId']=_0x22d144[_0x3db0de(0x2b5)];let {unitId:_0x5c727f,subUnitId:_0xef75fc}=_0x22d144;this[_0x3db0de(0x2e7)]=this[_0x3db0de(0x4cc)](_0x5c727f,_0xef75fc,this[_0x3db0de(0x1ed)]),this['_unitId']=_0x5c727f,this[_0x3db0de(0x2f5)]=_0xef75fc,this[_0x3db0de(0x46b)](),this[_0x3db0de(0x3f9)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x3db0de(0x2e3)]=null,this['_subUnitId']=null,this[_0x3db0de(0x46b)]();})),this[_0x12244c(0x322)](this[_0x12244c(0x3d7)][_0x12244c(0x1ad)][_0x12244c(0x376)](_0x5eefa5=>{const _0x12dcfe=_0x12244c;if(_0x5eefa5[_0x12dcfe(0x225)]===0x1){var _0x5b465d;let _0x316482=_0x5eefa5[0x0];((_0x5b465d=this[_0x12dcfe(0x3d7)][_0x12dcfe(0x462)](_0x316482))==null?void 0x0:_0x5b465d[_0x12dcfe(0x351)])===_0x244243[_0x12dcfe(0x138)]['DRAWING_SHAPE']&&this[_0x12dcfe(0x13b)](!0x0);}})),this['disposeWithMe'](this[_0x12244c(0x3d7)]['remove$'][_0x12244c(0x376)](_0x31d1ec=>{const _0x1b278c=_0x12244c;for(let _0x41d720 of _0x31d1ec)this[_0x1b278c(0x1ed)]===_0x41d720[_0x1b278c(0x2b5)]&&(this[_0x1b278c(0x1ed)]=null,this[_0x1b278c(0x2e7)]=void 0x0,this[_0x1b278c(0x2e3)]=null,this[_0x1b278c(0x2f5)]=null,this['_clearShapeAdjustControls']());}));}};_0x35cd7c=_0x4cddfe([_0x542dc8(0x0,_0x43c769['IDrawingManagerService']),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349[_0xa608a8(0x439)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x559311[_0xa608a8(0x306)])),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4f6784)),_0x542dc8(0x4,_0x244243[_0xa608a8(0x39a)]),_0x542dc8(0x5,_0x244243[_0xa608a8(0x2d0)])],_0x35cd7c);let _0x5c23b1={'id':_0xa608a8(0x52a),'type':_0x244243[_0xa608a8(0x180)][_0xa608a8(0x3d0)],'handler':(_0x3ebfde,_0x4962b4)=>{const _0x4375ac=_0xa608a8;let _0x4c9e16=_0x3ebfde[_0x4375ac(0x20b)](_0x43c769[_0x4375ac(0x334)]),_0xe5ec39=_0x3ebfde[_0x4375ac(0x20b)](_0x559311[_0x4375ac(0x306)]),_0x4880ea=_0x3ebfde[_0x4375ac(0x20b)](_0x35cd7c);if(_0x4962b4==null)return!0x0;if(_0x4962b4[_0x4375ac(0x225)]>0x0){var _0x543693;let _0x2d1b4f=(_0x543693=_0xe5ec39[_0x4375ac(0x236)](_0x4962b4[0x0][_0x4375ac(0x284)]))==null?void 0x0:_0x543693[_0x4375ac(0x419)];if(_0x2d1b4f){let {unitId:_0x34e140,subUnitId:_0x1f8faa,drawingId:_0x27e89d}=_0x4962b4[0x0],_0x149da7=(0x0,_0x43c769[_0x4375ac(0x280)])({'unitId':_0x34e140,'subUnitId':_0x1f8faa,'drawingId':_0x27e89d},void 0x0),_0x510411=_0x2d1b4f[_0x4375ac(0x47f)](_0x149da7);if(_0x510411){var _0x5e7bc6;(_0x5e7bc6=_0xe5ec39[_0x4375ac(0x236)](_0x4962b4[0x0]['unitId']))==null||(_0x5e7bc6=_0x5e7bc6[_0x4375ac(0x419)]['getTransformer']())==null||_0x5e7bc6['activeAnObject'](_0x510411);}}_0x4c9e16[_0x4375ac(0x264)](_0x4962b4),_0x4880ea[_0x4375ac(0x219)](!0x1);}return!0x0;}},_0x2aee67={'type':_0x244243['CommandType'][_0xa608a8(0x461)],'id':_0xa608a8(0x37e),'handler':async(_0x99c555,_0x7f6665)=>{const _0x47c9d3=_0xa608a8;var _0x1f54bf,_0x4e91ab;let _0x829122=(0x0,_0x126f61['getSheetCommandTarget'])(_0x99c555[_0x47c9d3(0x20b)](_0x244243['IUniverInstanceService']));if(!_0x829122)return!0x1;let {unitId:_0x1e9e64,subUnitId:_0x311db0,worksheet:_0x138433}=_0x829122,_0x30e8be=_0x138433[_0x47c9d3(0x3a1)](),_0x4f803c=_0x30e8be[_0x47c9d3(0x297)]??_0x244243[_0x47c9d3(0x1c5)][_0x47c9d3(0x2c5)];if(_0x4f803c!==_0x244243[_0x47c9d3(0x1c5)][_0x47c9d3(0x2c5)]&&_0x4f803c!==_0x244243[_0x47c9d3(0x1c5)][_0x47c9d3(0x23f)])return!0x1;let _0x53b679=_0x99c555[_0x47c9d3(0x20b)](_0x244243[_0x47c9d3(0x432)]);if(((_0x1f54bf=_0x53b679[_0x47c9d3(0x353)](new _0x126f61[(_0x47c9d3(0x32c))](_0x1e9e64)['id']))==null?void 0x0:_0x1f54bf[_0x47c9d3(0x496)])!==!0x0||((_0x4e91ab=_0x53b679[_0x47c9d3(0x353)](new _0x126f61[(_0x47c9d3(0x2fb))](_0x1e9e64,_0x311db0)['id']))==null?void 0x0:_0x4e91ab[_0x47c9d3(0x496)])!==!0x0)return!0x1;let _0x306924=_0x99c555[_0x47c9d3(0x20b)](_0x244243[_0x47c9d3(0x2d0)]),{value:_0x287fb0,enhanceParams:_0x1cead1}=_0x7f6665,_0x151be3={'unitId':_0x1e9e64,'subUnitId':_0x311db0,'shapeType':_0x287fb0,'shapeId':(0x0,_0x244243[_0x47c9d3(0x251)])()};if(_0x4f803c===_0x244243[_0x47c9d3(0x1c5)][_0x47c9d3(0x23f)]){let _0x5b4cf8=_0x99c555[_0x47c9d3(0x20b)](_0x559311[_0x47c9d3(0x306)])[_0x47c9d3(0x236)](_0x1e9e64),_0x574089=_0x5b4cf8==null?void 0x0:_0x5b4cf8[_0x47c9d3(0x1e2)][_0x47c9d3(0x20b)](_0x180b4c[_0x47c9d3(0x46a)][_0x47c9d3(0x22b)]);if(!_0x5b4cf8||!_0x574089||![_0x574089[_0x47c9d3(0x371)],_0x574089[_0x47c9d3(0x4f5)],_0x574089[_0x47c9d3(0x302)],_0x574089['height']][_0x47c9d3(0x341)](Number[_0x47c9d3(0x36d)])||_0x574089['width']<=0x0||_0x574089[_0x47c9d3(0x474)]<=0x0)return!0x1;let _0x55d933={'row':0x0,'column':0x0,'rowOffset':0x0,'columnOffset':0x0},_0x2bb2a0=(0x0,_0x29aa40['transformDrawingsToChartSheet'])([{'unitId':_0x1e9e64,'subUnitId':_0x311db0,'drawingId':_0x151be3[_0x47c9d3(0x3d5)],'drawingType':_0x244243['DrawingTypeEnum']['DRAWING_SHAPE'],'transform':{'left':0x0,'top':0x0,'width':_0xb19349['DEFAULT_SHAPE_WIDTH'],'height':_0xb19349['DEFAULT_SHAPE_HEIGHT']},'sheetTransform':{'from':_0x55d933,'to':_0x55d933},'axisAlignSheetTransform':{'from':_0x55d933,'to':_0x55d933}}],{'left':_0x574089['left'],'top':_0x574089[_0x47c9d3(0x4f5)],'width':_0x574089['width'],'height':_0x574089['height']},_0x30e8be[_0x47c9d3(0x391)]===_0x244243[_0x47c9d3(0x296)][_0x47c9d3(0x4cb)]);if(!(_0x2bb2a0!=null&&_0x2bb2a0[_0x47c9d3(0x225)]))return!0x1;let _0x468702=_0x2bb2a0[0x0][_0x47c9d3(0x31b)];_0x151be3[_0x47c9d3(0x378)]={'x':_0x468702[_0x47c9d3(0x371)],'y':_0x468702[_0x47c9d3(0x4f5)]},_0x151be3[_0x47c9d3(0x302)]=_0x468702[_0x47c9d3(0x302)],_0x151be3['height']=_0x468702[_0x47c9d3(0x474)];}else{let _0x76b918=_0x99c555[_0x47c9d3(0x20b)](_0x126f61[_0x47c9d3(0x318)])['getCurrentLastSelection']();if(!_0x76b918)return!0x1;_0x151be3['range']=_0x76b918['range'];}if(_0x1cead1){let {startArrow:_0x5261f0,endArrow:_0x4710c2,horizontal:_0x244a84,vertical:_0x7457bc}=_0x1cead1,_0x2d7de4=(0x0,_0x11e0df['isConnectorShape'])(_0x287fb0),_0x1fec38=_0x287fb0===_0x11e0df['ShapeTypeEnum'][_0x47c9d3(0x368)];if(_0x2d7de4&&(_0x5261f0||_0x4710c2)&&(_0x151be3[_0x47c9d3(0x4c3)]={'ln':{'startArrow':_0x5261f0?{'type':_0x11e0df[_0x47c9d3(0x208)][_0x47c9d3(0x320)],'size':_0x11e0df[_0x47c9d3(0x4c4)][_0x47c9d3(0x4f3)]}:void 0x0,'endArrow':_0x4710c2?{'type':_0x11e0df[_0x47c9d3(0x208)][_0x47c9d3(0x320)],'size':_0x11e0df[_0x47c9d3(0x4c4)][_0x47c9d3(0x17b)]}:void 0x0}}),_0x1fec38&&(_0x244a84||_0x7457bc)){let _0x2084b8=_0x99c555[_0x47c9d3(0x20b)](_0x244243[_0x47c9d3(0x147)]);_0x151be3[_0x47c9d3(0x4c3)]=(0x0,_0x4e6980[_0x47c9d3(0x323)])({'fill':{'fillType':_0x11e0df['ShapeFillEnum'][_0x47c9d3(0x346)],'color':_0x2084b8[_0x47c9d3(0x49b)](_0x47c9d3(0x475))},'isHorizontal':!!_0x244a84,'stroke':{'lineStrokeType':_0x11e0df[_0x47c9d3(0x25d)]['SolidLine'],'width':0x1,'color':_0x2084b8[_0x47c9d3(0x49b)](_0x47c9d3(0x12d))}});}}let _0xb42dc9=_0x306924['syncExecuteCommand'](_0xb19349[_0x47c9d3(0x4ee)]['id'],_0x151be3);return _0xb42dc9&&await _0x306924[_0x47c9d3(0x134)](_0x5c23b1['id'],[{'unitId':_0x1e9e64,'subUnitId':_0x311db0,'drawingId':_0x151be3['shapeId']}]),_0xb42dc9;}},_0x2948fa='sheet.shape.edit.panel',_0x45b5fb='sheet.shape.object-list.panel',_0x9806a9=_0xa608a8(0x21e),_0x4eb377=_0xa608a8(0x1fb),_0x26ff4b=(0x0,_0x244243['createInternalEditorID'])(_0xa608a8(0x157)),_0x2205e6='sheet.shape.text.float-menu',_0xd39a54={'id':_0xa608a8(0x19c),'type':_0x244243['CommandType'][_0xa608a8(0x461)],'handler':(_0x110e70,_0x5bb99a)=>{const _0xee8561=_0xa608a8;let _0x325759=_0x110e70[_0xee8561(0x20b)](_0x36a73f[_0xee8561(0x16f)]),_0x44127d=_0x110e70['get'](_0x244243[_0xee8561(0x38e)]),_0x4dc2a1=_0x110e70[_0xee8561(0x20b)](_0x244243['IUniverInstanceService']),_0x40305b=_0x110e70[_0xee8561(0x20b)](_0x244243[_0xee8561(0x2d0)]);return(0x0,_0x126f61['getSheetCommandTarget'])(_0x4dc2a1)?(_0x5bb99a==null?void 0x0:_0x5bb99a[_0xee8561(0x496)])===_0xee8561(0x239)?(_0x325759[_0xee8561(0x239)](_0x45b5fb),!0x0):(_0x325759['open']({'id':_0x45b5fb,'header':{'title':_0x44127d['t'](_0xee8561(0x233))},'children':{'label':_0x45b5fb},'onClose':()=>{const _0x47dee8=_0xee8561;_0x40305b['syncExecuteCommand'](_0x43c769[_0x47dee8(0x2d7)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x59c8cc={'type':_0x244243[_0xa608a8(0x180)][_0xa608a8(0x3d0)],'id':_0xa608a8(0x444),'handler'(){return!0x0;}};function _0x5457a3(_0x2e0a44){const _0x4437c0=_0xa608a8;let _0x3fe959=_0x2e0a44['get'](_0x43c769[_0x4437c0(0x334)])['getFocusDrawings'](),_0x5f5375=_0x3fe959[_0x4437c0(0x225)]===0x1?_0x3fe959[0x0]:null;if(!_0x5f5375||_0x5f5375[_0x4437c0(0x351)]!==_0x244243[_0x4437c0(0x138)][_0x4437c0(0x4e9)])return null;let _0x1eac9c=_0x2e0a44[_0x4437c0(0x20b)](_0xb19349[_0x4437c0(0x439)]),_0x6c1930=_0x1eac9c[_0x4437c0(0x1d2)](_0x5f5375['unitId'],_0x5f5375[_0x4437c0(0x226)],_0x5f5375[_0x4437c0(0x2b5)]),_0x1c45f0=_0x1eac9c[_0x4437c0(0x257)](_0x5f5375[_0x4437c0(0x284)],_0x5f5375[_0x4437c0(0x226)],_0x5f5375[_0x4437c0(0x2b5)]);return _0x6c1930===void 0x0||!_0x1c45f0?null:{'drawing':_0x5f5375,'shapeData':_0x1c45f0,'shapeType':_0x6c1930};}let _0xb30908={'id':_0xa608a8(0x4e7),'type':_0x244243[_0xa608a8(0x180)][_0xa608a8(0x3d0)],'handler':(_0x5317c5,_0x464004)=>{const _0x448850=_0xa608a8;let _0x276d53=_0x5457a3(_0x5317c5),_0x3bb4a9=(0x0,_0x4e6980[_0x448850(0x41c)])((_0x464004==null?void 0x0:_0x464004['presetId'])??(_0x464004==null?void 0x0:_0x464004['value'])??'');if(!_0x276d53||!_0x3bb4a9||_0x3bb4a9[_0x448850(0x297)]!==(0x0,_0x4e6980[_0x448850(0x1c0)])(_0x276d53[_0x448850(0x4c3)]))return!0x1;let _0x17c5a1=(0x0,_0x4e6980['applyQuickStyleToShapeData'])(_0x276d53[_0x448850(0x4c3)],_0x3bb4a9);if(!_0x17c5a1)return!0x1;let {drawing:_0x3ea3f8}=_0x276d53;return _0x5317c5['get'](_0x244243[_0x448850(0x2d0)])[_0x448850(0x134)](_0x4a2843['id'],{'unitId':_0x3ea3f8[_0x448850(0x284)],'subUnitId':_0x3ea3f8[_0x448850(0x226)],'shapeId':_0x3ea3f8['drawingId'],'shapeData':_0x17c5a1,'oldShapeJSON':{'oldShapeData':_0x276d53[_0x448850(0x4c3)]}});}},_0x14afcc={'id':_0xa608a8(0x204),'type':_0x244243[_0xa608a8(0x180)][_0xa608a8(0x3d0)],'handler':(_0x170e51,_0x3b7dfc)=>{const _0x3b9ac8=_0xa608a8;let _0x2d3b4b=_0x5457a3(_0x170e51),_0x4b3c66=(_0x3b7dfc==null?void 0x0:_0x3b7dfc[_0x3b9ac8(0x1ee)])??(_0x3b7dfc==null?void 0x0:_0x3b7dfc[_0x3b9ac8(0x496)]);if(!_0x2d3b4b||!_0x4b3c66||(0x0,_0x11e0df['isConnectorShape'])(_0x2d3b4b[_0x3b9ac8(0x1ee)])||(0x0,_0x11e0df[_0x3b9ac8(0x42a)])(_0x4b3c66))return!0x1;let _0x41f784=(0x0,_0x4e6980['cloneShapeDataForType'])(_0x2d3b4b['shapeData'],_0x4b3c66);if(!_0x41f784)return!0x1;let {drawing:_0x81b686}=_0x2d3b4b;return _0x170e51[_0x3b9ac8(0x20b)](_0x244243[_0x3b9ac8(0x2d0)])[_0x3b9ac8(0x134)](_0x4a2843['id'],{'unitId':_0x81b686[_0x3b9ac8(0x284)],'subUnitId':_0x81b686[_0x3b9ac8(0x226)],'shapeId':_0x81b686['drawingId'],'shapeType':_0x4b3c66,'shapeData':_0x41f784,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x2d3b4b['shapeType'],'oldShapeData':_0x2d3b4b[_0x3b9ac8(0x4c3)]}});}},_0x3b876d=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x3d47c3,_0x3a039a){const _0x26be12=_0xa608a8;super(),this[_0x26be12(0x200)]=_0x3d47c3,this[_0x26be12(0x3d7)]=_0x3a039a,this['_registerImageShapeClipDelegate'](),this['_clipService'][_0x26be12(0x2d1)](!0x0),this[_0x26be12(0x322)]({'dispose':()=>this['_clipService']['setCanUseShapeClip'](!0x1)});}[_0xa608a8(0x3e8)](){const _0x4dedf3=_0xa608a8;let _0xb49052=this[_0x4dedf3(0x200)],_0x1ae093=new Map(),_0x4c4afc=_0xb49052['registerClipDelegate']((_0x755ecd,_0x59be57,_0x3eb9d4,_0x2b12b3,_0x213cb6)=>{const _0x13d4ce=_0x4dedf3;let _0x44fd36=_0x59be57;if(_0x44fd36===_0x11e0df[_0x13d4ce(0x30a)][_0x13d4ce(0x262)]||_0x59be57===_0x13d4ce(0x3b0))return!0x1;try{let _0x2c9849=_0x1ae093[_0x13d4ce(0x20b)](_0x59be57);return _0x2c9849||(_0x2c9849=new _0x11e0df[(_0x13d4ce(0x3c2))](_0x44fd36,_0x13d4ce(0x1fc)+_0x59be57),_0x1ae093[_0x13d4ce(0x17d)](_0x59be57,_0x2c9849)),_0x2c9849['clearAdjustValue'](),_0x213cb6&&Object[_0x13d4ce(0x13c)](_0x213cb6)[_0x13d4ce(0x225)]>0x0&&_0x2c9849[_0x13d4ce(0x2ef)]({'adjustValues':_0x213cb6},!0x0),_0x2c9849[_0x13d4ce(0x30c)]({'width':_0x3eb9d4,'height':_0x2b12b3}),_0x2c9849['buildClipPath'](_0x755ecd,{'left':0x0,'top':0x0,'width':_0x3eb9d4,'height':_0x2b12b3});}catch{return!0x1;}});this[_0x4dedf3(0x322)](_0x4c4afc),this[_0x4dedf3(0x322)]({'dispose':()=>_0x1ae093['clear']()});}[_0xa608a8(0x403)](_0x218fec,_0x8a4e25,_0x1b4ed3,_0x466c0c,_0x8f9a6f){const _0x24784a=_0xa608a8;let _0x20bd1e=this[_0x24784a(0x3d7)]['getDrawingData'](_0x218fec,_0x8a4e25);if(!_0x20bd1e[_0x1b4ed3])return;let _0x248ebd={..._0x20bd1e[_0x1b4ed3],'prstGeom':_0x466c0c,'adjustValues':_0x8f9a6f};this[_0x24784a(0x3d7)][_0x24784a(0x1da)]([_0x248ebd]);}};_0x3b876d=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4cdb25[_0xa608a8(0x1a8)])),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x43c769['IDrawingManagerService']))],_0x3b876d);let _0x129fde=_0xa608a8(0x223),_0x42b380='sheet.image-clip.shape-picker.component';function _0xd9bfc9({onShapeClick:_0x11a4f4,excludeGroups:_0x528588}){const _0xdc324=_0xa608a8;return(0x0,_0x1edb74[_0xdc324(0x4e1)])(_0x354392[_0xdc324(0x38f)],{'excludeGroups':_0x528588,'onShapeClick':_0x11a4f4,'scrollContainer':_0xdc324(0x3e9)});}function _0x25b0a2(){const _0x46e224=_0xa608a8;let _0x3af189=(0x0,_0x36a73f[_0x46e224(0x2af)])(_0x43c769['IDrawingManagerService']),_0x33f9bf=(0x0,_0x36a73f[_0x46e224(0x2af)])(_0x3b876d);return(0x0,_0x1edb74[_0x46e224(0x4e1)])(_0x354392[_0x46e224(0x123)],{'buttonLabel':_0x46e224(0x43a),'excludeGroups':[_0x354392['ShapeGroupEnum'][_0x46e224(0x370)]],'onShapeClick':_0x518b4d=>{const _0x49de67=_0x46e224;let _0x406b8c=_0x3af189[_0x49de67(0x305)]()[_0x49de67(0x3c7)](_0x4a2f4a=>_0x4a2f4a[_0x49de67(0x351)]===_0x244243[_0x49de67(0x138)]['DRAWING_IMAGE']);if(!_0x406b8c)return;let {unitId:_0x5463f4,subUnitId:_0x548b17,drawingId:_0x429f71}=_0x406b8c;_0x33f9bf['clipByShape'](_0x5463f4,_0x548b17,_0x429f71,_0x518b4d[_0x49de67(0x297)]);}});}function _0x38cad8(){const _0x341f4d=_0xa608a8;let _0x393dec=(0x0,_0x36a73f[_0x341f4d(0x2af)])(_0x43c769['IDrawingManagerService']),_0x445d95=(0x0,_0x36a73f['useDependency'])(_0x3b876d);return(0x0,_0x1edb74['jsx'])(_0x354392[_0x341f4d(0x123)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x354392[_0x341f4d(0x175)][_0x341f4d(0x370)]],'DropdownComponent':_0x275c79['MobileDropdown'],'onShapeClick':_0x240c08=>{const _0x1b0197=_0x341f4d;let _0x544fc5=_0x393dec[_0x1b0197(0x305)]()[_0x1b0197(0x3c7)](_0x3ccc8a=>_0x3ccc8a['drawingType']===_0x244243[_0x1b0197(0x138)][_0x1b0197(0x24b)]);if(!_0x544fc5)return;let {unitId:_0x193fbd,subUnitId:_0xf32df8,drawingId:_0x1a0bb0}=_0x544fc5;_0x445d95['clipByShape'](_0x193fbd,_0xf32df8,_0x1a0bb0,_0x240c08[_0x1b0197(0x297)]);}});}function _0x314f7e(){const _0x1a98cf=_0xa608a8;let _0x452f3a=(0x0,_0x36a73f[_0x1a98cf(0x2af)])(_0x36a73f[_0x1a98cf(0x308)]),_0x589c7f=(0x0,_0x36a73f[_0x1a98cf(0x2af)])(_0x43c769[_0x1a98cf(0x334)]),_0x1adef3=(0x0,_0x36a73f[_0x1a98cf(0x2af)])(_0x244243[_0x1a98cf(0x39a)]),_0x1d3d72=_0x589c7f[_0x1a98cf(0x305)]()[0x0],_0x3d07d0=_0x1d3d72?_0x1adef3['getUnitType'](_0x1d3d72[_0x1a98cf(0x284)]):void 0x0,_0x18a771=_0x3d07d0===_0x244243[_0x1a98cf(0x10a)][_0x1a98cf(0x170)]?'doc.image-clip.shape-picker.component':_0x3d07d0===_0x244243[_0x1a98cf(0x10a)][_0x1a98cf(0x127)]?_0x42b380:void 0x0,_0x469d7d=_0x18a771?_0x452f3a[_0x1a98cf(0x20b)](_0x18a771):void 0x0;return _0x469d7d?(0x0,_0x1edb74[_0x1a98cf(0x4e1)])(_0x469d7d,{}):null;}function _0x18b8b2(){const _0x1c60f8=_0xa608a8;let _0xe6dc71=(0x0,_0x36a73f['useDependency'])(_0x244243[_0x1c60f8(0x2d0)]);return(0x0,_0x1edb74[_0x1c60f8(0x4e1)])(_0xd9bfc9,{'onShapeClick':_0x478853=>{const _0x54c3f1=_0x1c60f8;_0xe6dc71['executeCommand'](_0x2aee67['id'],{'value':_0x478853[_0x54c3f1(0x297)],'enhanceParams':{'endArrow':_0x478853[_0x54c3f1(0x2b3)],'startArrow':_0x478853['startArrow'],'horizontal':_0x478853[_0x54c3f1(0x173)],'vertical':_0x478853[_0x54c3f1(0x214)]}});}});}function _0x75c06f(){return(0x0,_0x1edb74['jsx'])(_0x18b8b2,{});}function _0x32f9c5(_0x2d3811){const _0x28c67c=_0xa608a8;return(0x0,_0x180b4c[_0x28c67c(0x40e)])(_0x2d3811[_0x28c67c(0x20b)](_0x244243[_0x28c67c(0x39a)]),!0x0,({workbook:_0x2cc145,worksheet:_0x146e7b})=>{const _0x2943ee=_0x28c67c;let _0x542d71=_0x146e7b[_0x2943ee(0x3a1)]()['type']??_0x244243[_0x2943ee(0x1c5)]['GRID'];if(_0x542d71===_0x244243[_0x2943ee(0x1c5)]['GRID'])return(0x0,_0x180b4c[_0x2943ee(0x448)])(_0x2d3811);if(_0x542d71!==_0x244243[_0x2943ee(0x1c5)]['CHART'])return(0x0,_0x38f817['of'])(!0x0);let _0x56e1b5=_0x2d3811['get'](_0x244243[_0x2943ee(0x432)]),_0x4af3a9=[new _0x126f61[(_0x2943ee(0x32c))](_0x2cc145[_0x2943ee(0x244)]())['id'],new _0x126f61['WorksheetEditPermission'](_0x2cc145['getUnitId'](),_0x146e7b[_0x2943ee(0x258)]())['id']];return _0x56e1b5[_0x2943ee(0x2aa)][_0x2943ee(0x288)]((0x0,_0x38f817[_0x2943ee(0x23b)])(null),(0x0,_0x38f817[_0x2943ee(0x153)])(()=>_0x4af3a9[_0x2943ee(0x38c)](_0x5bb0df=>{const _0xf1faf3=_0x2943ee;var _0x392729;return((_0x392729=_0x56e1b5[_0xf1faf3(0x353)](_0x5bb0df))==null?void 0x0:_0x392729[_0xf1faf3(0x496)])!==!0x0;})),(0x0,_0x38f817[_0x2943ee(0x2dd)])());});}function _0x54653f(_0x1f1f24){const _0x3180ce=_0xa608a8;let _0x4a3349=_0x1f1f24[_0x3180ce(0x20b)](_0x244243[_0x3180ce(0x39a)]);return{'id':_0x2aee67['id'],'type':_0x36a73f[_0x3180ce(0x2ee)][_0x3180ce(0x43f)],'selections':[{'label':{'name':_0x129fde,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x2aee67['id']}}}],'icon':'ShapeIcon','tooltip':_0x3180ce(0x414),'activated$':(0x0,_0x180b4c[_0x3180ce(0x40e)])(_0x4a3349,!0x1,()=>new _0x38f817['Observable'](_0x38fa64=>{_0x38fa64['next'](!0x1);})),'hidden$':(0x0,_0x36a73f[_0x3180ce(0x33f)])(_0x1f1f24,_0x244243['UniverInstanceType'][_0x3180ce(0x127)]),'disabled$':_0x32f9c5(_0x1f1f24)};}function _0x4573eb(_0x2c3324){const _0x33fe68=_0xa608a8;return(0x0,_0x180b4c[_0x33fe68(0x40e)])(_0x2c3324[_0x33fe68(0x20b)](_0x244243[_0x33fe68(0x39a)]),!0x0,({workbook:_0x4c94d8,worksheet:_0x2f37bc})=>{const _0x19b216=_0x33fe68;let _0x41e334=_0x2f37bc[_0x19b216(0x3a1)]()[_0x19b216(0x297)]??_0x244243[_0x19b216(0x1c5)][_0x19b216(0x2c5)];if(_0x41e334===_0x244243[_0x19b216(0x1c5)]['GRID'])return(0x0,_0x180b4c[_0x19b216(0x448)])(_0x2c3324);if(_0x41e334!==_0x244243['SheetTypes'][_0x19b216(0x23f)])return(0x0,_0x38f817['of'])(!0x0);let _0x488f61=_0x2c3324[_0x19b216(0x20b)](_0x244243[_0x19b216(0x432)]),_0x10b356=[new _0x126f61['WorkbookEditablePermission'](_0x4c94d8['getUnitId']())['id'],new _0x126f61[(_0x19b216(0x2fb))](_0x4c94d8[_0x19b216(0x244)](),_0x2f37bc[_0x19b216(0x258)]())['id']];return _0x488f61[_0x19b216(0x2aa)]['pipe']((0x0,_0x38f817[_0x19b216(0x23b)])(null),(0x0,_0x38f817[_0x19b216(0x153)])(()=>_0x10b356[_0x19b216(0x38c)](_0x5d1179=>{const _0x4e695d=_0x19b216;var _0x1d504b;return((_0x1d504b=_0x488f61['getPermissionPoint'](_0x5d1179))==null?void 0x0:_0x1d504b[_0x4e695d(0x496)])!==!0x0;})),(0x0,_0x38f817['distinctUntilChanged'])());});}function _0x5ad7ac(_0x1b03fc){const _0x3cbaba=_0xa608a8;let _0x7f61cc=_0x1b03fc[_0x3cbaba(0x20b)](_0x36a73f[_0x3cbaba(0x16f)]);return{'id':_0xd39a54['id'],'type':_0x36a73f[_0x3cbaba(0x2ee)][_0x3cbaba(0x50a)],'icon':_0x3cbaba(0x1b3),'title':'sheets-shape-ui.objectListPanel.open','tooltip':'sheets-shape-ui.objectListPanel.open','activated$':(0x0,_0x38f817[_0x3cbaba(0x372)])(()=>_0x7f61cc[_0x3cbaba(0x4b8)][_0x3cbaba(0x288)]((0x0,_0x38f817[_0x3cbaba(0x23b)])(_0x7f61cc[_0x3cbaba(0x493)]),(0x0,_0x38f817['map'])(_0x2c0549=>_0x2c0549[_0x3cbaba(0x24c)]===!0x0&&_0x2c0549['id']===_0x3cbaba(0x381)),(0x0,_0x38f817[_0x3cbaba(0x2dd)])())),'hidden$':(0x0,_0x36a73f[_0x3cbaba(0x33f)])(_0x1b03fc,_0x244243[_0x3cbaba(0x10a)]['UNIVER_SHEET']),'disabled$':_0x4573eb(_0x1b03fc)};}let _0x3ac6e4=_0xa608a8(0x431),_0x4c6a7a=_0xa608a8(0x15f);function _0x64f87c(_0x33e09d){const _0x401711=_0xa608a8;let _0x39fff8=_0x33e09d[_0x401711(0x20b)](_0x43c769['IDrawingManagerService'])[_0x401711(0x305)]();return _0x39fff8[_0x401711(0x225)]===0x1&&_0x39fff8[0x0]['drawingType']===_0x244243[_0x401711(0x138)][_0x401711(0x4e9)]?_0x39fff8[0x0]:null;}function _0x89787f(_0x3f0062){const _0x1d9f8a=_0xa608a8;let _0x32415a=_0x3f0062['get'](_0x43c769[_0x1d9f8a(0x334)]);return _0x32415a[_0x1d9f8a(0x17f)][_0x1d9f8a(0x288)]((0x0,_0x38f817['startWith'])(_0x32415a['getFocusDrawings']()),(0x0,_0x38f817['map'])(_0x2e26cf=>_0x2e26cf[_0x1d9f8a(0x225)]!==0x1||_0x2e26cf[0x0][_0x1d9f8a(0x351)]!==_0x244243[_0x1d9f8a(0x138)]['DRAWING_SHAPE']));}function _0x37c268(_0x2e8c00){const _0xeccd0d=_0xa608a8;return{'id':_0x3ac6e4,'commandId':_0xb19349[_0xeccd0d(0x44b)]['id'],'type':_0x36a73f['MenuItemType'][_0xeccd0d(0x50a)],'title':_0xeccd0d(0x449),'tooltip':_0xeccd0d(0x449),'icon':_0xeccd0d(0x3cb),'hidden$':_0x89787f(_0x2e8c00),'params':()=>{const _0x1aa49a=_0xeccd0d;let _0x388d9b=_0x64f87c(_0x2e8c00);return _0x388d9b?{'unitId':_0x388d9b[_0x1aa49a(0x284)],'subUnitId':_0x388d9b[_0x1aa49a(0x226)],'shapeId':_0x388d9b[_0x1aa49a(0x2b5)],'flipH':!0x0}:void 0x0;}};}function _0x47ab8d(_0x1ec1b5){const _0x2fca47=_0xa608a8;return{'id':_0x4c6a7a,'commandId':_0xb19349[_0x2fca47(0x44b)]['id'],'type':_0x36a73f['MenuItemType'][_0x2fca47(0x50a)],'title':_0x2fca47(0x22a),'tooltip':_0x2fca47(0x22a),'icon':_0x2fca47(0x192),'hidden$':_0x89787f(_0x1ec1b5),'params':()=>{const _0x558c41=_0x2fca47;let _0xc5644b=_0x64f87c(_0x1ec1b5);return _0xc5644b?{'unitId':_0xc5644b['unitId'],'subUnitId':_0xc5644b[_0x558c41(0x226)],'shapeId':_0xc5644b[_0x558c41(0x2b5)],'flipV':!0x0}:void 0x0;}};}let _0x3dcb02=_0xa608a8(0x4a1),_0x4f8817=_0xa608a8(0x1ab),_0x305fa3='sheets-shape-ui.shape-format.text-ribbon-control',_0x2e3f19=_0xa608a8(0x410);function _0x456ce2(){const _0x50eacb=_0xa608a8;let _0x342d33=(0x0,_0x36a73f[_0x50eacb(0x2af)])(_0x244243[_0x50eacb(0x2d0)]),_0xf0a9a8=(0x0,_0x36a73f[_0x50eacb(0x2af)])(_0x43c769[_0x50eacb(0x334)]),_0x297abb=(0x0,_0x36a73f['useDependency'])(_0xb19349[_0x50eacb(0x439)]),_0x4419eb=()=>{const _0x47b848=_0x50eacb;var _0x1957a2;let _0x12629b=_0xf0a9a8[_0x47b848(0x305)]();if(_0x12629b[_0x47b848(0x225)]!==0x1||((_0x1957a2=_0x12629b[0x0])==null?void 0x0:_0x1957a2[_0x47b848(0x351)])!==_0x244243[_0x47b848(0x138)][_0x47b848(0x4e9)])return null;let {unitId:_0x1f7ba1,subUnitId:_0x2ed30e,drawingId:_0x2cdfd4}=_0x12629b[0x0],_0x1298c3=_0x297abb['getShapeTypeById'](_0x1f7ba1,_0x2ed30e,_0x2cdfd4),_0x390e20=_0x297abb['getShapeDataById'](_0x1f7ba1,_0x2ed30e,_0x2cdfd4);return _0x1298c3===void 0x0||!_0x390e20?null:{'unitId':_0x1f7ba1,'subUnitId':_0x2ed30e,'drawingId':_0x2cdfd4,'shapeType':_0x1298c3,'shapeData':_0x390e20};},_0x5341fd=(0x0,_0x36a73f[_0x50eacb(0x521)])(()=>new _0x38f817['Observable'](_0x538b26=>{const _0x174f11=_0x50eacb;let _0x5c9b6e=()=>_0x538b26[_0x174f11(0x159)](_0x4419eb()),_0x40a5ac=_0xf0a9a8[_0x174f11(0x17f)][_0x174f11(0x376)](_0x5c9b6e),_0x521908=_0x342d33[_0x174f11(0x380)](_0x13e82b=>{_0x13e82b['id']===_0xb19349['UpdateSheetsShapeDataMutation']['id']&&_0x5c9b6e();});return _0x5c9b6e(),()=>{_0x40a5ac['unsubscribe'](),_0x521908['dispose']();};}),_0x4419eb(),!0x1,[_0x342d33,_0xf0a9a8,_0x297abb]);return{'selection':_0x5341fd,'updateShapeData':_0x591e9c=>{const _0x46b3c2=_0x50eacb;_0x5341fd&&_0x1f80f7(_0x342d33,_0x5341fd[_0x46b3c2(0x284)],_0x5341fd['subUnitId'],_0x5341fd[_0x46b3c2(0x2b5)],{'oldShapeData':_0x5341fd[_0x46b3c2(0x4c3)]},_0x591e9c);}};}function _0x346e2a(){const _0x490ecd=_0xa608a8;let {selection:_0xd33ac9,updateShapeData:_0x3af3e8}=_0x456ce2();return _0xd33ac9?(0x0,_0x1edb74[_0x490ecd(0x4e1)])(_0x354392['ShapeStyleRibbonControl'],{'shapeData':_0xd33ac9['shapeData'],'shapeType':_0xd33ac9[_0x490ecd(0x1ee)],'onUpdateShapeData':_0x3af3e8}):null;}function _0x35abce(){const _0x1b4c02=_0xa608a8;let _0x3f2062=(0x0,_0x36a73f[_0x1b4c02(0x2af)])(_0x244243['ICommandService']),_0x4a89aa=(0x0,_0x36a73f[_0x1b4c02(0x2af)])(_0x244243[_0x1b4c02(0x38e)]),{selection:_0x2ce318}=_0x456ce2();return _0x2ce318?(0x0,_0x1edb74[_0x1b4c02(0x4e1)])(_0x354392[_0x1b4c02(0x247)],{'type':(0x0,_0x4e6980[_0x1b4c02(0x1c0)])(_0x2ce318[_0x1b4c02(0x4c3)]),'ariaLabel':_0x4a89aa['t'](_0x1b4c02(0x1bd)),'activePresetId':(0x0,_0x4e6980[_0x1b4c02(0x14e)])(_0x2ce318['shapeData']),'onSelect':_0x12508a=>_0x3f2062[_0x1b4c02(0x134)](_0xb30908['id'],{'presetId':_0x12508a})}):null;}function _0x216516(){const _0x13a3ce=_0xa608a8;let {selection:_0x2544e8,updateShapeData:_0x3381af}=_0x456ce2();return _0x2544e8?(0x0,_0x1edb74[_0x13a3ce(0x4e1)])(_0x354392[_0x13a3ce(0x1e4)],{'fontFamilyPopupDataComponent':'sheets-shape-format-font-family-menu','shapeData':_0x2544e8['shapeData'],'onUpdateShapeData':_0x3381af}):null;}function _0x5f064a(){const _0x4b91f9=_0xa608a8;var _0x15a56b;let {selection:_0x389f80,updateShapeData:_0x53dfa9}=_0x456ce2(),_0x2b5b5a=(0x0,_0x354392[_0x4b91f9(0x206)])({'hostType':_0x244243[_0x4b91f9(0x10a)][_0x4b91f9(0x127)],'unitId':(_0x389f80==null?void 0x0:_0x389f80[_0x4b91f9(0x284)])??'','subUnitId':(_0x389f80==null?void 0x0:_0x389f80['subUnitId'])??'','shapeId':(_0x389f80==null?void 0x0:_0x389f80[_0x4b91f9(0x2b5)])??'','shapeData':_0x389f80==null?void 0x0:_0x389f80[_0x4b91f9(0x4c3)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x4b91f9(0x404),'onUpdateBinding':_0x16cda=>_0x53dfa9({'formulaBinding':_0x16cda})}),_0x57f3dc=((_0x15a56b=_0x2b5b5a['extensionGroups'])==null?void 0x0:_0x15a56b[_0x4b91f9(0x343)](_0x115fb8=>_0x115fb8[_0x4b91f9(0x3f1)])['filter'](_0x1eadaa=>_0x1eadaa[_0x4b91f9(0x24c)]!==!0x1))??[];return _0x389f80!=null&&_0x389f80[_0x4b91f9(0x4c3)][_0x4b91f9(0x301)]?(0x0,_0x1edb74[_0x4b91f9(0x4e1)])(_0x354392['ShapeFormulaRibbonControl'],{'actions':_0x57f3dc,'panel':_0x2b5b5a[_0x4b91f9(0x1bb)]}):null;}let _0x6c0bde=_0xa608a8(0x1b2),_0x411556=_0xa608a8(0x339),_0x1d8afc='sheets-shape-ui.ribbon.shape-format.formula-control',_0x2da93e=_0xa608a8(0x1f8),_0x27db2f=_0xa608a8(0x16d),_0x15718a='sheets-shape-ui.ribbon.shape-format.arrange-front',_0x52a17f=_0xa608a8(0x2c3);function _0x5ba12c(_0x3c202c){const _0x6ea1e5=_0xa608a8;let _0x2f6667=_0x3c202c[_0x6ea1e5(0x20b)](_0x244243['ICommandService']),_0x5dfd29=_0x3c202c['get'](_0x43c769[_0x6ea1e5(0x334)]),_0x2811c5=_0x3c202c[_0x6ea1e5(0x20b)](_0xb19349[_0x6ea1e5(0x439)]);return new _0x38f817[(_0x6ea1e5(0x16c))](_0x38afe1=>{const _0xe7eb13=_0x6ea1e5;let _0x2d26bb=()=>{const _0x3be396=_0x286e;let _0x14ab2=_0x19db88(_0x3c202c),_0x16da1a=_0x14ab2?_0x2811c5[_0x3be396(0x257)](_0x14ab2[_0x3be396(0x284)],_0x14ab2[_0x3be396(0x226)],_0x14ab2[_0x3be396(0x2b5)]):null;_0x38afe1[_0x3be396(0x159)](_0x16da1a?(0x0,_0x4e6980[_0x3be396(0x14e)])(_0x16da1a)??'':'');},_0x47f2dd=_0x5dfd29[_0xe7eb13(0x17f)]['subscribe'](_0x2d26bb),_0x152e44=_0x2f6667[_0xe7eb13(0x380)](_0x46bb0b=>{const _0x1736ae=_0xe7eb13;_0x46bb0b['id']===_0xb19349[_0x1736ae(0x35d)]['id']&&_0x2d26bb();});return _0x2d26bb(),()=>{const _0x2ad042=_0xe7eb13;_0x47f2dd['unsubscribe'](),_0x152e44[_0x2ad042(0x11e)]();};});}function _0x19db88(_0x57be9a){const _0x435c9f=_0xa608a8;var _0x3a4c84;let _0xcba1d=_0x57be9a['get'](_0x43c769[_0x435c9f(0x334)])[_0x435c9f(0x305)]();return _0xcba1d[_0x435c9f(0x225)]===0x1&&((_0x3a4c84=_0xcba1d[0x0])==null?void 0x0:_0x3a4c84['drawingType'])===_0x244243[_0x435c9f(0x138)][_0x435c9f(0x4e9)]?_0xcba1d[0x0]:null;}function _0x40a1f6(_0x6d98c0,_0x63cb7c=!0x1){const _0x3c1d48=_0xa608a8;let _0x14b048=_0x6d98c0[_0x3c1d48(0x20b)](_0x244243[_0x3c1d48(0x2d0)]),_0x82ec5c=_0x6d98c0['get'](_0x43c769['IDrawingManagerService']),_0x5b72ca=_0x6d98c0[_0x3c1d48(0x20b)](_0xb19349[_0x3c1d48(0x439)]);return new _0x38f817[(_0x3c1d48(0x16c))](_0x540e00=>{const _0x17eaf7=_0x3c1d48;let _0x140870=()=>{const _0xad73b3=_0x286e;let _0x423328=_0x19db88(_0x6d98c0);if(!_0x423328){_0x540e00['next'](!0x0);return;}let _0x27e742=_0x5b72ca[_0xad73b3(0x257)](_0x423328['unitId'],_0x423328[_0xad73b3(0x226)],_0x423328[_0xad73b3(0x2b5)]);_0x540e00[_0xad73b3(0x159)](!_0x27e742||_0x63cb7c&&_0x27e742['formulaBinding']==null);},_0xffdf6b=_0x82ec5c[_0x17eaf7(0x17f)][_0x17eaf7(0x376)](_0x140870),_0x4390fa=_0x14b048['onCommandExecuted'](_0x3c6d06=>{_0x3c6d06['id']===_0xb19349['UpdateSheetsShapeDataMutation']['id']&&_0x140870();});return _0x140870(),()=>{const _0x472f36=_0x17eaf7;_0xffdf6b[_0x472f36(0x39f)](),_0x4390fa[_0x472f36(0x11e)]();};});}function _0x22747c(_0x2688da){const _0x2eaf56=_0xa608a8;let _0x26facc=_0x2688da[_0x2eaf56(0x20b)](_0x43c769['IDrawingManagerService']),_0x447bed=_0x2688da['get'](_0xb19349[_0x2eaf56(0x439)]);return _0x26facc['focus$'][_0x2eaf56(0x288)]((0x0,_0x38f817['startWith'])(_0x26facc[_0x2eaf56(0x305)]()),(0x0,_0x38f817[_0x2eaf56(0x153)])(()=>{const _0x1ae995=_0x2eaf56;let _0x2731fc=_0x19db88(_0x2688da),_0x3b0da6=_0x2731fc?_0x447bed['getShapeTypeById'](_0x2731fc[_0x1ae995(0x284)],_0x2731fc[_0x1ae995(0x226)],_0x2731fc[_0x1ae995(0x2b5)]):void 0x0;return _0x3b0da6===void 0x0||(0x0,_0x11e0df['isConnectorShape'])(_0x3b0da6);}));}function _0x2765b7(_0x1ce636){const _0x5c02c9=_0xa608a8;return{'id':_0xb30908['id'],'type':_0x36a73f['MenuItemType'][_0x5c02c9(0x43f)],'icon':_0x5c02c9(0x154),'title':_0x5c02c9(0x512),'tooltip':_0x5c02c9(0x512),'selections':[{'label':{'name':_0x3dcb02,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x5ba12c(_0x1ce636),'hidden$':_0x40a1f6(_0x1ce636)};}function _0x192898(_0x29296d){const _0xbd0ddc=_0xa608a8;return{'id':_0x14afcc['id'],'type':_0x36a73f[_0xbd0ddc(0x2ee)][_0xbd0ddc(0x43f)],'icon':_0xbd0ddc(0x33c),'title':_0xbd0ddc(0x478),'tooltip':_0xbd0ddc(0x478),'slot':!0x0,'selections':[{'label':{'name':_0x354392[_0xbd0ddc(0x40f)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x22747c(_0x29296d)};}function _0x5a1f5d(_0x541a61,_0x2e9249,_0x589b2d=!0x1){const _0xb11885=_0xa608a8;return _0xffaabc=>({'id':_0x541a61,'type':_0x36a73f['MenuItemType'][_0xb11885(0x50a)],'label':{'name':_0x2e9249,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x40a1f6(_0xffaabc,_0x589b2d)});}let _0x347385=_0x5a1f5d(_0x6c0bde,_0x4f8817),_0x95a6d3=_0x5a1f5d(_0x411556,_0x305fa3),_0x5ca26f=_0x5a1f5d(_0x1d8afc,_0x2e3f19,!0x0);function _0x131bfc(_0x47b84d,_0x10b240,_0x4b2756,_0x40e6b0){const _0x210e59=_0xa608a8;return _0x12f2a6=>({'id':_0x47b84d,'commandId':_0x29aa40[_0x210e59(0x436)]['id'],'type':_0x36a73f[_0x210e59(0x2ee)][_0x210e59(0x50a)],'icon':_0x4b2756,'title':_0x40e6b0,'tooltip':_0x40e6b0,'hidden$':_0x40a1f6(_0x12f2a6),'params':()=>{const _0x502369=_0x210e59;let _0x3ed2d6=_0x19db88(_0x12f2a6);return _0x3ed2d6?{'unitId':_0x3ed2d6['unitId'],'subUnitId':_0x3ed2d6[_0x502369(0x226)],'drawingIds':[_0x3ed2d6['drawingId']],'arrangeType':_0x10b240}:void 0x0;}});}let _0x5b29ad=_0x131bfc(_0x2da93e,_0x244243[_0xa608a8(0x118)][_0xa608a8(0x22d)],_0xa608a8(0x36a),'shape-editor-ui.arrange.forward'),_0x1b97f2=_0x131bfc(_0x27db2f,_0x244243['ArrangeTypeEnum'][_0xa608a8(0x4af)],_0xa608a8(0x1c9),_0xa608a8(0x31a)),_0x4deba4=_0x131bfc(_0x15718a,_0x244243[_0xa608a8(0x118)]['front'],_0xa608a8(0x4b4),_0xa608a8(0x4df)),_0x1298fa=_0x131bfc(_0x52a17f,_0x244243['ArrangeTypeEnum'][_0xa608a8(0x194)],_0xa608a8(0x4e3),_0xa608a8(0x447));function _0x283f39(_0x5ba627){const _0x45d5d6=_0xa608a8;let _0x520f1a=_0x5ba627['get'](_0x36a73f[_0x45d5d6(0x16f)]);return{'activated$':(0x0,_0x38f817['defer'])(()=>_0x520f1a[_0x45d5d6(0x4b8)][_0x45d5d6(0x288)]((0x0,_0x38f817[_0x45d5d6(0x23b)])(_0x520f1a[_0x45d5d6(0x493)]),(0x0,_0x38f817[_0x45d5d6(0x153)])(_0x3b291a=>_0x3b291a[_0x45d5d6(0x24c)]===!0x0&&_0x3b291a['id']===_0x45d5d6(0x4ac)),(0x0,_0x38f817[_0x45d5d6(0x2dd)])())),'id':_0x59c8cc['id'],'type':_0x36a73f['MenuItemType']['BUTTON'],'icon':_0x45d5d6(0x454),'title':_0x45d5d6(0x183),'tooltip':_0x45d5d6(0x183),'hidden$':_0x40a1f6(_0x5ba627),'params':()=>{const _0x8d51c=_0x45d5d6;let _0x50419b=_0x19db88(_0x5ba627);return _0x50419b?{'unitId':_0x50419b[_0x8d51c(0x284)],'subUnitId':_0x50419b[_0x8d51c(0x226)],'drawingId':_0x50419b['drawingId']}:void 0x0;}};}let _0x343ee7={[_0x36a73f[_0xa608a8(0x139)][_0xa608a8(0x2da)]]:{[_0x4eb377]:{'order':0x64,'title':_0xa608a8(0x183),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0xb30908['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2765b7},[_0x14afcc['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x192898}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x6c0bde]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x347385}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x411556]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x95a6d3}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x3ac6e4]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x37c268},[_0x4c6a7a]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x47ab8d},[_0x2da93e]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x5b29ad},[_0x27db2f]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x1b97f2},[_0x15718a]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4deba4},[_0x52a17f]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x1298fa}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x1d8afc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x5ca26f}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x59c8cc['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x283f39},[_0x354392[_0xa608a8(0x2d5)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x354392['ShapeFloatingToolbarToggleFactory']}}}}},_0x234d9b={[_0x36a73f[_0xa608a8(0x20f)][_0xa608a8(0x39b)]]:{[_0x2aee67['id']]:{'order':0x3,'menuItemFactory':_0x54653f}}},_0x417544={..._0x234d9b,[_0x36a73f[_0xa608a8(0x20f)][_0xa608a8(0x1ff)]]:{[_0xd39a54['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5ad7ac}},[_0x36a73f[_0xa608a8(0x39e)]['DRAWING']]:{[_0x36a73f[_0xa608a8(0x465)][_0xa608a8(0x1ff)]]:{[_0x3ac6e4]:{'order':0x4,'menuItemFactory':_0x37c268},[_0x4c6a7a]:{'order':0x5,'menuItemFactory':_0x47ab8d}}}};var _0x28e822=_0xa608a8(0x377),_0x4887ee='1.5.1';let _0x6fb12a={'id':'sheet.operation.open-mobile-shape-editor','type':_0x244243[_0xa608a8(0x180)][_0xa608a8(0x3d0)],'handler'(_0x6bb6f6,_0x48c9ed){const _0x28d995=_0xa608a8;return _0x48c9ed?(_0x6bb6f6[_0x28d995(0x20b)](_0x354392[_0x28d995(0x155)])[_0x28d995(0x4f9)](_0x48c9ed['mode'],{'hostType':_0x244243[_0x28d995(0x10a)][_0x28d995(0x127)],'shapeId':_0x48c9ed[_0x28d995(0x2b5)],'subUnitId':_0x48c9ed[_0x28d995(0x226)],'unitId':_0x48c9ed[_0x28d995(0x284)]}),!0x0):!0x1;}},_0xb25cac=_0xa608a8(0x23e),_0x22bbe8={},_0x282d54=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x51ca6d,_0x663ebf,_0x3c7b9e,_0xd9d86a,_0xbccbf9){const _0x118128=_0xa608a8;super(),this[_0x118128(0x413)]=_0x51ca6d,this[_0x118128(0x3d7)]=_0x663ebf,this['_renderManagerService']=_0x3c7b9e,this['_univerInstanceService']=_0xd9d86a,this[_0x118128(0x3a6)]=_0xbccbf9,_0x5b48d0(this,_0x118128(0x274),null),_0x5b48d0(this,_0x118128(0x2e3),null),_0x5b48d0(this,'_subUnitId',null),_0x5b48d0(this,_0x118128(0x270),void 0x0),_0x5b48d0(this,'_shapes',[]),_0x5b48d0(this,_0x118128(0x261),0x0),_0x5b48d0(this,_0x118128(0x217),0x0),_0x5b48d0(this,_0x118128(0x282),0x0),_0x5b48d0(this,'_baseHeight',0x0),_0x5b48d0(this,_0x118128(0x386),!0x1),_0x5b48d0(this,_0x118128(0x50d),void 0x0),_0x5b48d0(this,_0x118128(0x240),void 0x0),_0x5b48d0(this,_0x118128(0x46e),void 0x0),_0x5b48d0(this,_0x118128(0x19a),void 0x0),_0x5b48d0(this,_0x118128(0x312),!0x1),this['_registerFocusChangeHandler'](),this[_0x118128(0x516)]();}['clearAdjustControls'](){const _0x430c86=_0xa608a8;this[_0x430c86(0x3ad)]();}[_0xa608a8(0x14f)](){const _0x2c4879=_0xa608a8;this[_0x2c4879(0x3ad)](),this[_0x2c4879(0x518)](!0x0);}[_0xa608a8(0x2a0)](_0x423309,_0x116b72,_0xd7879b,_0x307a41){const _0xa8c93a=_0xa608a8;let _0x2d5bd1=_0x423309;if(_0x2d5bd1!==_0x11e0df[_0xa8c93a(0x30a)][_0xa8c93a(0x262)]&&_0x423309!=='custom')try{let _0x1cec10=new _0x11e0df[(_0xa8c93a(0x3c2))](_0x2d5bd1,_0xa8c93a(0x523)+_0x423309);return _0x307a41&&_0x1cec10[_0xa8c93a(0x2ef)]({'adjustValues':_0x307a41},!0x0),_0x1cec10[_0xa8c93a(0x30c)]({'width':_0x116b72,'height':_0xd7879b}),_0x1cec10;}catch{return;}}['_getImageDrawingInfo'](_0x52a4d3,_0x44fb2b,_0x1c3d2c){const _0x1f32cb=_0xa608a8;let _0x2981e4={'unitId':_0x52a4d3,'subUnitId':_0x44fb2b,'drawingId':_0x1c3d2c},_0x56fad7=this[_0x1f32cb(0x3d7)]['getDrawingByParam'](_0x2981e4);if(_0x56fad7&&_0x56fad7[_0x1f32cb(0x351)]===_0x244243[_0x1f32cb(0x138)][_0x1f32cb(0x24b)])return _0x56fad7;}[_0xa608a8(0x3e7)](_0x372920,_0x18dda6,_0x5427df){const _0x2e5d2b=_0xa608a8;let _0x313641=this[_0x2e5d2b(0x23d)][_0x2e5d2b(0x236)](_0x372920);if(!_0x313641)return;let {scene:_0x3cac01}=_0x313641,_0x564f75=(0x0,_0x43c769[_0x2e5d2b(0x280)])({'unitId':_0x372920,'subUnitId':_0x18dda6,'drawingId':_0x5427df}),_0x9688ef=_0x3cac01[_0x2e5d2b(0x393)](_0x564f75);if(_0x9688ef instanceof _0x559311[_0x2e5d2b(0x25f)]){let _0x1d4061=_0x9688ef[_0x2e5d2b(0x3c9)];if(_0x1d4061)return{'prstGeom':_0x1d4061,'adjustValues':_0x9688ef[_0x2e5d2b(0x3ee)]};}}[_0xa608a8(0x518)](_0x2313d9=!0x1){const _0x3fa8cc=_0xa608a8;if(!this['_unitId']||!this[_0x3fa8cc(0x2f5)]||!this[_0x3fa8cc(0x274)])return;let _0x5de546=this['_renderManagerService'][_0x3fa8cc(0x236)](this[_0x3fa8cc(0x2e3)]);if(!_0x5de546||!_0x5de546[_0x3fa8cc(0x3cf)](_0x180b4c[_0x3fa8cc(0x23a)])['getCurrentSkeleton']())return;let {scene:_0x32f2e2}=_0x5de546,_0x29cc7a=this[_0x3fa8cc(0x2a9)](this[_0x3fa8cc(0x2e3)],this[_0x3fa8cc(0x2f5)],this[_0x3fa8cc(0x274)]);if(!_0x29cc7a)return;let {transform:_0x560d6f}=_0x29cc7a;if(!_0x560d6f)return;let {left:_0x4427d5,top:_0x24be91,width:_0x404f27,height:_0x318208,flipX:_0x37fb31,flipY:_0x54d74a,angle:_0x46f0df=0x0}=_0x560d6f;if(_0x4427d5===void 0x0||_0x24be91===void 0x0)return;let _0x27344f=this[_0x3fa8cc(0x3e7)](this[_0x3fa8cc(0x2e3)],this[_0x3fa8cc(0x2f5)],this[_0x3fa8cc(0x274)]);if(!_0x27344f)return;if(_0x2313d9){let _0x1a976d=this['_getOrCreateShapeModel'](_0x27344f[_0x3fa8cc(0x3c9)],_0x404f27||0x0,_0x318208||0x0,_0x27344f[_0x3fa8cc(0x18d)]);if(!_0x1a976d)return;this[_0x3fa8cc(0x270)]=_0x1a976d['getDrawingPoints']();}let _0x24341b=this[_0x3fa8cc(0x270)];if(_0x24341b&&_0x24341b[_0x3fa8cc(0x225)]!==0x0)for(let _0x500740=0x0;_0x500740<_0x24341b['length'];_0x500740++){let _0x2e1d17=_0x24341b[_0x500740],_0xd485db=_0x2e1d17['x'],_0x5bfeaf=_0x2e1d17['y'];if(_0x37fb31&&(_0xd485db=(_0x404f27||0x0)-_0xd485db),_0x54d74a&&(_0x5bfeaf=(_0x318208||0x0)-_0x5bfeaf),_0x46f0df!==0x0){let _0x3691b7=(_0x404f27||0x0)/0x2,_0x5d51f6=(_0x318208||0x0)/0x2,_0x37411c=_0x46f0df*Math['PI']/0xb4,_0x5cdec2=Math[_0x3fa8cc(0x26c)](_0x37411c),_0xa537f4=Math[_0x3fa8cc(0x149)](_0x37411c),_0x439390=_0xd485db-_0x3691b7,_0x2c91ec=_0x5bfeaf-_0x5d51f6;_0xd485db=_0x3691b7+(_0x439390*_0x5cdec2-_0x2c91ec*_0xa537f4),_0x5bfeaf=_0x5d51f6+(_0x439390*_0xa537f4+_0x2c91ec*_0x5cdec2);}let _0x809968={'x':_0xd485db,'y':_0x5bfeaf,'adjName':_0x2e1d17[_0x3fa8cc(0x472)]};this[_0x3fa8cc(0x1a1)](_0x32f2e2,_0x809968,_0x809968[_0x3fa8cc(0x472)],_0x4427d5,_0x24be91,this[_0x3fa8cc(0x2e3)],this['_subUnitId']);}}['_addControl'](_0x2065bd,_0x34013b,_0x55fee0,_0x43fc68,_0x15eddb,_0x4ef0f2,_0x1c23bf){const _0x493699=_0xa608a8;if(!this[_0x493699(0x274)])return;let _0x13ad35=_0x493699(0x49a)+this[_0x493699(0x274)]+'-'+_0x55fee0,_0x27e599=_0x2065bd[_0x493699(0x47f)](_0x13ad35);if(_0x27e599){_0x27e599['transformByState']({'left':_0x34013b['x']+_0x43fc68-_0x11e0df['ShapeDefaultConfig'][_0x493699(0x213)],'top':_0x34013b['y']+_0x15eddb-_0x11e0df[_0x493699(0x4bb)]['adjHandleSize']});return;}let _0x2f3f58=new _0x40f42f(_0x13ad35,{'left':_0x34013b['x']+_0x43fc68-_0x11e0df[_0x493699(0x4bb)][_0x493699(0x213)],'top':_0x34013b['y']+_0x15eddb-_0x11e0df[_0x493699(0x4bb)][_0x493699(0x213)],'adjName':_0x55fee0,'shapeId':this[_0x493699(0x274)],'unitId':_0x4ef0f2,'subUnitId':_0x1c23bf,'width':_0x11e0df['ShapeDefaultConfig'][_0x493699(0x213)]+0x8,'height':_0x11e0df['ShapeDefaultConfig'][_0x493699(0x213)]+0x8,'zIndex':_0x559311[_0x493699(0x17a)]+0x1,'evented':!0x0});this['_shapes'][_0x493699(0x313)](_0x2f3f58),this[_0x493699(0x445)](_0x2f3f58,_0x2065bd,_0x55fee0),_0x2065bd[_0x493699(0x1d6)](_0x2f3f58,_0x559311[_0x493699(0x17a)]+0x1);}[_0xa608a8(0x3ad)](){const _0x1a1990=_0xa608a8;this['_shapes'][_0x1a1990(0x225)]!==0x0&&(this[_0x1a1990(0x501)]['forEach'](_0x22773a=>_0x22773a[_0x1a1990(0x11e)]()),this[_0x1a1990(0x501)]=[]);}[_0xa608a8(0x412)](_0x5974bd,_0x54914b){const _0x2c090c=_0xa608a8;var _0x2d9172;let _0x2f55fe={'x':0x0,'y':0x0},_0x36114b=this[_0x2c090c(0x23d)][_0x2c090c(0x236)](_0x5974bd);if(!_0x36114b||!_0x36114b[_0x2c090c(0x3cf)](_0x180b4c[_0x2c090c(0x23a)])[_0x2c090c(0x34d)](_0x54914b))return _0x2f55fe;let _0x358e2a=_0x36114b[_0x2c090c(0x3cf)](_0x180b4c['SheetScrollManagerService']),_0x440197=_0x358e2a==null?void 0x0:_0x358e2a['getCurrentScrollState']();if(!_0x440197)return _0x2f55fe;let _0x5ba3e3=(_0x2d9172=this['_univerInstanceService'][_0x2c090c(0x150)](_0x5974bd))==null?void 0x0:_0x2d9172[_0x2c090c(0x4f7)](_0x54914b);if(!_0x5ba3e3)return _0x2f55fe;let _0x40f2f2=(0x0,_0x180b4c[_0x2c090c(0x186)])(_0x440197[_0x2c090c(0x266)],_0x440197[_0x2c090c(0x191)],_0x36114b[_0x2c090c(0x419)],_0x5ba3e3);return _0x40f2f2?{'x':_0x40f2f2[_0x2c090c(0x3ca)],'y':_0x40f2f2[_0x2c090c(0x33d)]}:_0x2f55fe;}[_0xa608a8(0x1d0)](_0x13a467,_0x316fc8){const _0x163e1b=_0xa608a8;var _0x4c301c;let _0x46421a=(_0x4c301c=this[_0x163e1b(0x1e8)][_0x163e1b(0x150)](_0x13a467))==null?void 0x0:_0x4c301c[_0x163e1b(0x4f7)](_0x316fc8);return(_0x46421a==null?void 0x0:_0x46421a[_0x163e1b(0x29a)]())??0x1;}[_0xa608a8(0x445)](_0x165e69,_0x2d3624,_0x8ab59){const _0x3999f0=_0xa608a8;this[_0x3999f0(0x322)]((0x0,_0x244243[_0x3999f0(0x45a)])(_0x165e69[_0x3999f0(0x344)][_0x3999f0(0x1ef)]((_0x577180,_0x52ba9e)=>{const _0x31f37e=_0x3999f0;var _0x4b9545,_0x5c54aa,_0x4b31b8;let {unitId:_0x3e24cf,subUnitId:_0x294a8e,drawingId:_0xc8c4e0}=_0x165e69['getDrawingSearch'](),_0x3f089f=this[_0x31f37e(0x2a9)](_0x3e24cf,_0x294a8e,_0xc8c4e0);if(!(_0x3f089f!=null&&_0x3f089f[_0x31f37e(0x31b)]))return;let {left:_0x38e8ed,top:_0x4c01da,width:_0x1a2eae,height:_0x47aa95}=_0x3f089f[_0x31f37e(0x31b)];this[_0x31f37e(0x261)]=_0x38e8ed||0x0,this['_baseTop']=_0x4c01da||0x0,this[_0x31f37e(0x282)]=_0x1a2eae||0x0,this[_0x31f37e(0x14a)]=_0x47aa95||0x0;let _0x1b7b6b=!!((_0x4b9545=_0x3f089f[_0x31f37e(0x31b)])!=null&&_0x4b9545[_0x31f37e(0x4ff)]),_0x1159e3=!!((_0x5c54aa=_0x3f089f[_0x31f37e(0x31b)])!=null&&_0x5c54aa[_0x31f37e(0x4fe)]),_0x8d6c26=((_0x4b31b8=_0x3f089f[_0x31f37e(0x31b)])==null?void 0x0:_0x4b31b8[_0x31f37e(0x3b9)])||0x0,_0x47c3df=this['_getImagePrstGeom'](_0x3e24cf,_0x294a8e,_0xc8c4e0);if(!_0x47c3df)return;let _0x5235d3=this[_0x31f37e(0x2a0)](_0x47c3df[_0x31f37e(0x3c9)],this[_0x31f37e(0x282)],this[_0x31f37e(0x14a)],_0x47c3df[_0x31f37e(0x18d)]);if(!_0x5235d3||(this[_0x31f37e(0x240)]=_0x5235d3,this['_activeAdjustInfo']=_0x5235d3[_0x31f37e(0x464)](_0x8ab59),!this[_0x31f37e(0x50d)]))return;this[_0x31f37e(0x386)]=!0x0,_0x2d3624['disableObjectsEvent']();let _0x500a97=_0x47c3df[_0x31f37e(0x3c9)];this['_adjHandlerPointerMove']=_0x2d3624[_0x31f37e(0x486)][_0x31f37e(0x1ef)]((_0x47e706,_0x14fbb6)=>{const _0x14b696=_0x31f37e;if(!this[_0x14b696(0x386)])return;let {offsetX:_0x21d0cc,offsetY:_0x4d4bd9}=_0x47e706,_0x11d0a5=this[_0x14b696(0x50d)];if(!this[_0x14b696(0x240)]||!_0x11d0a5)return;_0x2d3624[_0x14b696(0x40d)](),_0x2d3624[_0x14b696(0x402)](_0x559311[_0x14b696(0x164)]['CROSSHAIR']);let _0x3197c1={'left':0x0,'top':0x0,'width':this[_0x14b696(0x282)],'height':this['_baseHeight']},_0x30155f=this[_0x14b696(0x412)](_0x3e24cf,_0x294a8e),_0x2f9f0b=this['_getZoomRatio'](_0x3e24cf,_0x294a8e),_0x59c952=_0x21d0cc/_0x2f9f0b+_0x30155f['x']-this[_0x14b696(0x261)],_0x48054a=_0x4d4bd9/_0x2f9f0b+_0x30155f['y']-this[_0x14b696(0x217)];if(_0x8d6c26!==0x0){let _0x290aed=this[_0x14b696(0x282)]/0x2,_0x1c4fa8=this[_0x14b696(0x14a)]/0x2,_0x56f240=_0x8d6c26*Math['PI']/0xb4,_0x21cf74=Math[_0x14b696(0x26c)](_0x56f240),_0x1d2ba6=Math[_0x14b696(0x149)](_0x56f240),_0x294ebd=_0x59c952-_0x290aed,_0x1233ee=_0x48054a-_0x1c4fa8;_0x59c952=_0x290aed+(_0x294ebd*_0x21cf74+_0x1233ee*_0x1d2ba6),_0x48054a=_0x1c4fa8+(-_0x294ebd*_0x1d2ba6+_0x1233ee*_0x21cf74);}_0x1b7b6b&&(_0x59c952=this[_0x14b696(0x282)]-_0x59c952),_0x1159e3&&(_0x48054a=this['_baseHeight']-_0x48054a);let _0x52df88=this['_activeShapeModel'][_0x14b696(0x4d9)](_0x3197c1,{'x':_0x59c952,'y':_0x48054a},_0x11d0a5,_0x1b7b6b,_0x1159e3);if(Object['keys'](_0x52df88)['length']!==0x0){for(let [_0x400802,_0x527ee7]of Object[_0x14b696(0x3b2)](_0x52df88))this[_0x14b696(0x240)]['setAdjustValueByName'](_0x400802,_0x527ee7);this['_activeShapeModel']['updateContext']({'width':this[_0x14b696(0x282)],'height':this[_0x14b696(0x14a)]}),this[_0x14b696(0x3b3)](_0x3e24cf,_0x294a8e,_0xc8c4e0,_0x52df88),this['_activeAdjustPointList']=this['_activeShapeModel'][_0x14b696(0x30e)](),this[_0x14b696(0x518)](),_0x14fbb6[_0x14b696(0x455)]();}}),this[_0x31f37e(0x19a)]=_0x2d3624[_0x31f37e(0x435)][_0x31f37e(0x1ef)]((_0x4a07bb,_0x29e14f)=>{const _0x539446=_0x31f37e;if(this[_0x539446(0x46e)]['unsubscribe'](),this[_0x539446(0x19a)][_0x539446(0x39f)](),_0x2d3624['resetCursor'](),this['_activeShapeModel']){let _0x5bf6b4=this[_0x539446(0x240)][_0x539446(0x2f4)](),_0x431f90={};for(let _0x1daeea of _0x5bf6b4){let _0x20b81c=this['_activeShapeModel'][_0x539446(0x188)](_0x1daeea);_0x20b81c!==void 0x0&&(_0x431f90[_0x1daeea]=_0x20b81c);}this[_0x539446(0x3a6)][_0x539446(0x403)](_0x3e24cf,_0x294a8e,_0xc8c4e0,_0x500a97,_0x431f90);}this[_0x539446(0x50d)]=void 0x0,this[_0x539446(0x240)]=void 0x0,this[_0x539446(0x386)]=!0x1,_0x29e14f['stopPropagation'](),_0x2d3624['enableObjectsEvent']();}),_0x52ba9e[_0x31f37e(0x455)]();})));}[_0xa608a8(0x3b3)](_0xcbf011,_0x56c0b8,_0x33756e,_0x3173aa){const _0x39058c=_0xa608a8;let _0x391491=this[_0x39058c(0x23d)][_0x39058c(0x236)](_0xcbf011);if(!_0x391491)return;let {scene:_0x5be05b}=_0x391491,_0x20cb44=(0x0,_0x43c769[_0x39058c(0x280)])({'unitId':_0xcbf011,'subUnitId':_0x56c0b8,'drawingId':_0x33756e}),_0x338195=_0x5be05b[_0x39058c(0x393)](_0x20cb44);if(_0x338195 instanceof _0x559311[_0x39058c(0x25f)]){let _0x547703=_0x338195['prstGeomAdjValues']??{};_0x338195[_0x39058c(0x3df)]({..._0x547703,..._0x3173aa}),_0x338195[_0x39058c(0x476)](!0x0);}}[_0xa608a8(0x516)](){const _0x568fff=_0xa608a8;let _0x2bf57a=this[_0x568fff(0x1e8)][_0x568fff(0x2bd)](_0x244243['UniverInstanceType'][_0x568fff(0x127)]);this[_0x568fff(0x322)](_0x2bf57a['pipe']((0x0,_0x38f817[_0x568fff(0x14c)])(_0x5f0007=>_0x5f0007?_0x5f0007[_0x568fff(0x2de)]['pipe']((0x0,_0x38f817[_0x568fff(0x14c)])(_0x50a93b=>{const _0xa37302=_0x568fff;if(!_0x50a93b)return _0x38f817[_0xa37302(0x3be)];let _0x3b93bb=_0x5f0007[_0xa37302(0x244)](),_0x2dac93=this[_0xa37302(0x23d)][_0xa37302(0x236)](_0x3b93bb),_0x25daf0=_0x2dac93==null?void 0x0:_0x2dac93[_0xa37302(0x419)];return _0x25daf0?(0x0,_0x38f817['of'])(_0x25daf0):_0x38f817['EMPTY'];})):_0x38f817[_0x568fff(0x3be)]))['subscribe'](_0x2c198e=>{const _0x52ce86=_0x568fff;let _0x393999=_0x2c198e[_0x52ce86(0x3a4)]();this['disposeWithMe'](_0x2c198e[_0x52ce86(0x486)][_0x52ce86(0x1ef)](()=>{const _0x47943c=_0x52ce86;this['_isImagePointerDown']&&this[_0x47943c(0x3ad)]();})),this[_0x52ce86(0x322)](_0x393999[_0x52ce86(0x4dd)][_0x52ce86(0x376)](_0x569a19=>{const _0x52fe1d=_0x52ce86;let {objects:_0x56027e}=_0x569a19;if(this[_0x52fe1d(0x518)](),_0x56027e!==null&&_0x56027e[_0x52fe1d(0x13f)]===0x1){let _0x15a3c9=_0x56027e[_0x52fe1d(0x48d)]()[_0x52fe1d(0x159)]()[_0x52fe1d(0x496)];_0x15a3c9 instanceof _0x559311[_0x52fe1d(0x25f)]&&_0x15a3c9[_0x52fe1d(0x3c9)]&&(this[_0x52fe1d(0x312)]=!0x0);}})),this[_0x52ce86(0x322)](_0x393999[_0x52ce86(0x10f)][_0x52ce86(0x376)](()=>{const _0x26727d=_0x52ce86;this[_0x26727d(0x312)]&&this[_0x26727d(0x3ad)]();})),this[_0x52ce86(0x322)](_0x2c198e[_0x52ce86(0x435)][_0x52ce86(0x1ef)](()=>{const _0x18b70a=_0x52ce86;this[_0x18b70a(0x312)]&&(this[_0x18b70a(0x312)]=!0x1,this['_createControls']());})),this[_0x52ce86(0x322)](_0x393999[_0x52ce86(0x1e7)]['subscribe'](()=>{const _0x44295f=_0x52ce86;if(this[_0x44295f(0x2e3)]&&this[_0x44295f(0x2f5)]&&this[_0x44295f(0x274)]){let _0x5108bc=this[_0x44295f(0x3e7)](this[_0x44295f(0x2e3)],this[_0x44295f(0x2f5)],this['_activeImageId']);if(_0x5108bc){var _0x417c16,_0x5836a9;let _0x24605a=this['_getImageDrawingInfo'](this[_0x44295f(0x2e3)],this[_0x44295f(0x2f5)],this[_0x44295f(0x274)]),_0x34ed5c=(_0x24605a==null||(_0x417c16=_0x24605a[_0x44295f(0x31b)])==null?void 0x0:_0x417c16[_0x44295f(0x302)])||0x0,_0x1897e8=(_0x24605a==null||(_0x5836a9=_0x24605a[_0x44295f(0x31b)])==null?void 0x0:_0x5836a9[_0x44295f(0x474)])||0x0,_0xd405f5=this[_0x44295f(0x2a0)](_0x5108bc[_0x44295f(0x3c9)],_0x34ed5c,_0x1897e8,_0x5108bc[_0x44295f(0x18d)]);_0xd405f5&&(this[_0x44295f(0x270)]=_0xd405f5[_0x44295f(0x30e)](),this['_clearControls'](),this['_createControls'](!0x0));}}}));}));}[_0xa608a8(0x321)](){const _0x160ce7=_0xa608a8;this[_0x160ce7(0x322)](this[_0x160ce7(0x3d7)][_0x160ce7(0x17f)][_0x160ce7(0x376)](_0x3b44cc=>{const _0x5781e3=_0x160ce7;if(_0x3b44cc[_0x5781e3(0x225)]===0x1){let _0x3669cd=_0x3b44cc[0x0];if(_0x3669cd['drawingType']===_0x244243[_0x5781e3(0x138)]['DRAWING_IMAGE']){let {unitId:_0x59b74f,subUnitId:_0x339856,drawingId:_0x121a61}=_0x3669cd,_0x106e77=this['_getImagePrstGeom'](_0x59b74f,_0x339856,_0x121a61);if(_0x106e77){var _0x116856,_0xc5ffb4;this['_activeImageId']=_0x121a61,this['_unitId']=_0x59b74f,this['_subUnitId']=_0x339856;let _0xa7cafc=this[_0x5781e3(0x2a9)](_0x59b74f,_0x339856,_0x121a61),_0x3b9d79=(_0xa7cafc==null||(_0x116856=_0xa7cafc[_0x5781e3(0x31b)])==null?void 0x0:_0x116856[_0x5781e3(0x302)])||0x0,_0x89622=(_0xa7cafc==null||(_0xc5ffb4=_0xa7cafc[_0x5781e3(0x31b)])==null?void 0x0:_0xc5ffb4[_0x5781e3(0x474)])||0x0,_0x57adcf=this['_getOrCreateShapeModel'](_0x106e77[_0x5781e3(0x3c9)],_0x3b9d79,_0x89622,_0x106e77['adjustValues']);_0x57adcf&&(this[_0x5781e3(0x270)]=_0x57adcf[_0x5781e3(0x30e)]()),this[_0x5781e3(0x3ad)](),this['_createControls'](!0x0);}else this[_0x5781e3(0x1b8)]();}else this[_0x5781e3(0x1b8)]();}else this[_0x5781e3(0x1b8)]();})),this[_0x160ce7(0x322)](this[_0x160ce7(0x3d7)][_0x160ce7(0x1ad)][_0x160ce7(0x376)](_0xf4c05=>{const _0x387f48=_0x160ce7;if(_0xf4c05['length']===0x1){let _0x453df0=_0xf4c05[0x0],_0x25b6dc=this[_0x387f48(0x3d7)][_0x387f48(0x462)](_0x453df0);(_0x25b6dc==null?void 0x0:_0x25b6dc['drawingType'])===_0x244243[_0x387f48(0x138)]['DRAWING_IMAGE']&&this[_0x387f48(0x274)]===_0x453df0[_0x387f48(0x2b5)]&&(this[_0x387f48(0x3ad)](),this[_0x387f48(0x518)](!0x0));}})),this['disposeWithMe'](this[_0x160ce7(0x3d7)][_0x160ce7(0x1d5)][_0x160ce7(0x376)](_0x29432b=>{const _0x24eb5c=_0x160ce7;for(let _0x311d46 of _0x29432b)this[_0x24eb5c(0x274)]===_0x311d46[_0x24eb5c(0x2b5)]&&this[_0x24eb5c(0x1b8)]();}));}[_0xa608a8(0x1b8)](){const _0x456b8c=_0xa608a8;this[_0x456b8c(0x274)]=null,this[_0x456b8c(0x2e3)]=null,this[_0x456b8c(0x2f5)]=null,this[_0x456b8c(0x270)]=void 0x0,this[_0x456b8c(0x3ad)]();}};_0x282d54=_0x4cddfe([_0x542dc8(0x1,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x559311['IRenderManagerService'])),_0x542dc8(0x3,_0x244243['IUniverInstanceService']),_0x542dc8(0x4,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x3b876d))],_0x282d54);function _0x37597e({ref:_0x5e9d79,..._0x396ef0}){const _0x12120b=_0xa608a8;let {preserveStrokeWidth:_0x1d6366,icon:_0x2e3cd0,id:_0x208f19,className:_0x4d0cb7,extend:_0x4ec3df,..._0x41602f}=_0x396ef0,_0x129e6c=(_0x12120b(0x4cd)+_0x208f19+'\x20'+(_0x4d0cb7||''))[_0x12120b(0x12f)](),_0x3b1473='_'+(0x0,_0x2ba528['useId'])(),_0x5897aa=(0x0,_0x2ba528[_0x12120b(0x179)])(null);return(0x0,_0x2ba528[_0x12120b(0x11a)])(_0x5e9d79,()=>_0x5897aa[_0x12120b(0x527)]),(0x0,_0x2ba528['useLayoutEffect'])(()=>{const _0x86d149=_0x12120b;if(_0x1d6366&&_0x5897aa[_0x86d149(0x527)]&&_0x5897aa[_0x86d149(0x527)]['localName']===_0x2e3cd0[_0x86d149(0x3c1)])return _0x24277f(_0x5897aa['current']);},[_0x1d6366,_0x2e3cd0]),_0x54334e(_0x2e3cd0,''+_0x208f19,{'defIds':_0x2e3cd0['defIds'],'idSuffix':_0x3b1473},{'ref':_0x5897aa,'className':_0x129e6c,..._0x41602f},_0x4ec3df);}function _0x54334e(_0x40d365,_0x10f2d8,_0x1c0d06,_0x35a2b3,_0x1ad7f4){const _0x411ae7=_0xa608a8;return(0x0,_0x2ba528[_0x411ae7(0x1d3)])(_0x40d365['tag'],{'key':_0x10f2d8,..._0x113d59(_0x40d365,_0x1c0d06,_0x1ad7f4),..._0x35a2b3},(_0x3606c1(_0x40d365,_0x1c0d06)[_0x411ae7(0x1c2)]||[])['map']((_0x5dafc7,_0x14a5ff)=>_0x54334e(_0x5dafc7,_0x10f2d8+'-'+_0x40d365[_0x411ae7(0x3c1)]+'-'+_0x14a5ff,_0x1c0d06,void 0x0,_0x1ad7f4)));}function _0x113d59(_0x4b9a22,_0x488371,_0x45207e){const _0x11a1ab=_0xa608a8;let _0xa02fab={..._0x4b9a22['attrs']};_0x45207e!=null&&_0x45207e['colorChannel1']&&_0xa02fab['fill']==='colorChannel1'&&(_0xa02fab[_0x11a1ab(0x1c1)]=_0x45207e['colorChannel1']),_0x45207e!=null&&_0x45207e[_0x11a1ab(0x326)]&&_0xa02fab[_0x11a1ab(0x237)]===_0x11a1ab(0x326)&&(_0xa02fab['stroke']=_0x45207e[_0x11a1ab(0x326)]),_0x4b9a22['tag']===_0x11a1ab(0x50c)&&_0xa02fab['id']&&(_0xa02fab['id']+=_0x488371[_0x11a1ab(0x397)]),Object[_0x11a1ab(0x3b2)](_0xa02fab)[_0x11a1ab(0x2ce)](([_0xa74f84,_0x4a7cc9])=>{const _0x4f6330=_0x11a1ab;_0xa74f84==='mask'&&typeof _0x4a7cc9==_0x4f6330(0x49e)&&(_0xa02fab[_0xa74f84]=_0x4a7cc9['replace'](/url\(#(.*)\)/,_0x4f6330(0x457)+_0x488371[_0x4f6330(0x397)]+')'));});let {defIds:_0x24d433}=_0x488371;return!_0x24d433||_0x24d433[_0x11a1ab(0x225)]===0x0||(_0x4b9a22[_0x11a1ab(0x3c1)]===_0x11a1ab(0x384)&&_0xa02fab[_0x11a1ab(0x2d9)]&&(_0xa02fab[_0x11a1ab(0x2d9)]+=_0x488371[_0x11a1ab(0x397)]),Object[_0x11a1ab(0x3b2)](_0xa02fab)['forEach'](([_0x189ee6,_0x55846c])=>{const _0x4420f6=_0x11a1ab;typeof _0x55846c==_0x4420f6(0x49e)&&(_0xa02fab[_0x189ee6]=_0x55846c[_0x4420f6(0x241)](/url\(#(.*)\)/,_0x4420f6(0x457)+_0x488371[_0x4420f6(0x397)]+')'));})),_0xa02fab;}function _0x3606c1(_0x3e93af,_0x4c5820){const _0x319abd=_0xa608a8;var _0x25165d;let {defIds:_0x2acaf8}=_0x4c5820;return!_0x2acaf8||_0x2acaf8[_0x319abd(0x225)]===0x0?_0x3e93af:_0x3e93af[_0x319abd(0x3c1)]===_0x319abd(0x166)&&(_0x25165d=_0x3e93af[_0x319abd(0x1c2)])!=null&&_0x25165d[_0x319abd(0x225)]?{..._0x3e93af,'children':_0x3e93af[_0x319abd(0x1c2)]['map'](_0x388be3=>typeof _0x388be3['attrs']['id']=='string'&&_0x2acaf8&&_0x2acaf8[_0x319abd(0x420)](_0x388be3[_0x319abd(0x36f)]['id'])?{..._0x388be3,'attrs':{..._0x388be3[_0x319abd(0x36f)],'id':_0x388be3['attrs']['id']+_0x4c5820[_0x319abd(0x397)]}}:_0x388be3)}:_0x3e93af;}function _0x24277f(_0x5b9c67){const _0x5629b1=_0xa608a8;let _0x1c8e63=_0x5b9c67[_0x5629b1(0x187)]['baseVal'],_0x9a7a11=Math[_0x5629b1(0x511)](_0x1c8e63[_0x5629b1(0x302)],_0x1c8e63[_0x5629b1(0x474)]);if(!Number[_0x5629b1(0x36d)](_0x9a7a11)||_0x9a7a11<=0x0||_0x1c8e63['width']<=0x0||_0x1c8e63['height']<=0x0)return()=>void 0x0;let _0x1dda09=0x10/_0x9a7a11,_0x21cbcc=Array[_0x5629b1(0x198)](_0x5b9c67[_0x5629b1(0x29e)](_0x5629b1(0x47d)))[_0x5629b1(0x343)](_0x49208e=>{const _0x37953e=_0x5629b1;let _0x4a33b1=getComputedStyle(_0x49208e),_0x53aa6a=Number[_0x37953e(0x52c)](_0x4a33b1['strokeWidth']);return _0x4a33b1[_0x37953e(0x237)]==='none'||Number[_0x37953e(0x52c)](_0x4a33b1['strokeOpacity'])===0x0||_0x4a33b1[_0x37953e(0x2eb)]===_0x37953e(0x291)||!Number[_0x37953e(0x36d)](_0x53aa6a)||_0x53aa6a<=0x0?[]:[{'element':_0x49208e,'hadStyleAttribute':_0x49208e[_0x37953e(0x25b)]('style'),'originalStrokeWidth':_0x53aa6a,'strokeWidth':_0x10cea0(_0x49208e[_0x37953e(0x405)],_0x37953e(0x409))}];})['map'](_0x32b2b9=>({'appliedStrokeWidth':null,'element':_0x32b2b9['element'],'hadStyleAttribute':_0x32b2b9[_0x5629b1(0x443)],'isReleased':!0x1,'originalStrokeWidth':_0x32b2b9['originalStrokeWidth'],'strokeWidth':_0x32b2b9['strokeWidth']}));if(_0x21cbcc[_0x5629b1(0x225)]===0x0)return()=>void 0x0;let _0x1179f6=(_0x331a88,_0x1b40b8)=>{const _0x4d5a07=_0x5629b1;if(_0x1c8e63['width']<=0x0||_0x1c8e63[_0x4d5a07(0x474)]<=0x0||_0x331a88<=0x0||_0x1b40b8<=0x0)return;let _0x40e408=Math[_0x4d5a07(0x3f6)](_0x331a88/_0x1c8e63['width'],_0x1b40b8/_0x1c8e63[_0x4d5a07(0x474)]);!Number[_0x4d5a07(0x36d)](_0x40e408)||_0x40e408<=0x0||_0x21cbcc['forEach'](_0x30e5cf=>{const _0x5239d9=_0x4d5a07;if(_0x30e5cf[_0x5239d9(0x3fd)])return;if(_0x30e5cf['appliedStrokeWidth']!==null&&(_0x30e5cf[_0x5239d9(0x303)][_0x5239d9(0x405)][_0x5239d9(0x1b9)](_0x5239d9(0x409))!==_0x30e5cf[_0x5239d9(0x16e)]||_0x30e5cf[_0x5239d9(0x303)][_0x5239d9(0x405)][_0x5239d9(0x212)](_0x5239d9(0x409))!==_0x30e5cf[_0x5239d9(0x440)][_0x5239d9(0x19d)])){_0x30e5cf[_0x5239d9(0x16e)]=null,_0x30e5cf[_0x5239d9(0x3fd)]=!0x0;return;}let _0x5fb58a=_0x30e5cf[_0x5239d9(0x415)]*_0x1dda09/_0x40e408,_0x5eeca6=Number(_0x5fb58a[_0x5239d9(0x203)](0xc))+'px';_0x30e5cf[_0x5239d9(0x303)][_0x5239d9(0x405)][_0x5239d9(0x215)](_0x5239d9(0x409),_0x5eeca6,_0x30e5cf['strokeWidth']['priority']),_0x30e5cf[_0x5239d9(0x16e)]=_0x5eeca6;});},_0x440ca6=_0x5b9c67[_0x5629b1(0x271)]();_0x1179f6(_0x440ca6[_0x5629b1(0x302)],_0x440ca6[_0x5629b1(0x474)]);let _0x44ebec=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x5869e3=>{const _0xd8a90f=_0x5629b1;if(_0x5869e3[_0xd8a90f(0x38c)](_0x2e836b=>_0x2e836b[_0xd8a90f(0x234)]===_0x5b9c67)){let _0x3bd47c=_0x5b9c67['getBoundingClientRect']();_0x1179f6(_0x3bd47c[_0xd8a90f(0x302)],_0x3bd47c[_0xd8a90f(0x474)]);}});return _0x44ebec==null||_0x44ebec[_0x5629b1(0x51c)](_0x5b9c67),()=>{const _0x5031bb=_0x5629b1;_0x44ebec==null||_0x44ebec[_0x5031bb(0x528)](),_0x21cbcc['forEach'](_0x4d1288=>{const _0x5840c1=_0x5031bb;_0x4d1288[_0x5840c1(0x16e)]!==null&&(_0x480563(_0x4d1288[_0x5840c1(0x303)]['style'],'stroke-width',_0x4d1288['appliedStrokeWidth'],_0x4d1288[_0x5840c1(0x440)]['priority'],_0x4d1288[_0x5840c1(0x440)]),!_0x4d1288['hadStyleAttribute']&&_0x4d1288[_0x5840c1(0x303)][_0x5840c1(0x405)][_0x5840c1(0x225)]===0x0&&_0x4d1288[_0x5840c1(0x303)][_0x5840c1(0x2f8)](_0x5840c1(0x405)));});};}function _0x10cea0(_0x410395,_0x1c3a4c){const _0x25e3e2=_0xa608a8;return{'priority':_0x410395[_0x25e3e2(0x212)](_0x1c3a4c),'value':_0x410395['getPropertyValue'](_0x1c3a4c)};}function _0x480563(_0x2882fd,_0x92246,_0x15459b,_0x24049e,_0x3234cd){const _0x3e1a77=_0xa608a8;_0x2882fd[_0x3e1a77(0x1b9)](_0x92246)===_0x15459b&&_0x2882fd[_0x3e1a77(0x212)](_0x92246)===_0x24049e&&(_0x3234cd['value']?_0x2882fd['setProperty'](_0x92246,_0x3234cd[_0x3e1a77(0x496)],_0x3234cd[_0x3e1a77(0x19d)]):_0x2882fd[_0x3e1a77(0x299)](_0x92246));}_0x37597e['displayName']=_0xa608a8(0x32f);let _0x269f07={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':'none','viewBox':_0xa608a8(0x3c4),'width':_0xa608a8(0x392),'height':_0xa608a8(0x392)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0xa608a8(0x245),'fillRule':'evenodd','clipRule':_0xa608a8(0x42c)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0xa608a8(0x2be),'fillRule':_0xa608a8(0x42c),'clipRule':_0xa608a8(0x42c)}},{'tag':_0xa608a8(0x450),'attrs':{'fill':'currentColor','d':'M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902'}},{'tag':'path','attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x4fc)}}]},_0x3142c5=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x4c8fd5,_0x43f515){const _0x5e56c9=_0xa608a8;return(0x0,_0x2ba528[_0x5e56c9(0x1d3)])(_0x37597e,Object[_0x5e56c9(0x44a)]({},_0x4c8fd5,{'id':_0x5e56c9(0x469),'ref':_0x43f515,'icon':_0x269f07}));});_0x3142c5[_0xa608a8(0x18b)]=_0xa608a8(0x4e3);let _0x3407df={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xa608a8(0x1c7),'width':'1em','height':_0xa608a8(0x392)},'children':[{'tag':_0xa608a8(0x450),'attrs':{'stroke':'currentColor','d':_0xa608a8(0x19f),'strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':_0xa608a8(0x300),'strokeWidth':1.3}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x3b5),'strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':_0xa608a8(0x300),'strokeWidth':1.3}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x1a5),'strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x182),'strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x4f8),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x3f3),'strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}}]},_0x392827=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x28ca36,_0x4fbadc){const _0x64888e=_0xa608a8;return(0x0,_0x2ba528[_0x64888e(0x1d3)])(_0x37597e,Object[_0x64888e(0x44a)]({},_0x28ca36,{'id':'flip-horizontal-icon','ref':_0x4fbadc,'icon':_0x3407df}));});_0x392827[_0xa608a8(0x18b)]=_0xa608a8(0x3cb);let _0x3308d5={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':_0xa608a8(0x479),'viewBox':'0\x200\x2016\x2016','width':_0xa608a8(0x392),'height':_0xa608a8(0x392)},'children':[{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x1df),'strokeLinecap':'round','strokeLinejoin':_0xa608a8(0x300),'strokeWidth':1.3}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x31d),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':'M6.2\x208H7.8','strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x3b6),'strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':'M14\x208H14.2','strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}}]},_0x5a9a67=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x238873,_0x27909){const _0x4c6ce9=_0xa608a8;return(0x0,_0x2ba528[_0x4c6ce9(0x1d3)])(_0x37597e,Object['assign']({},_0x238873,{'id':_0x4c6ce9(0x3eb),'ref':_0x27909,'icon':_0x3308d5}));});_0x5a9a67[_0xa608a8(0x18b)]=_0xa608a8(0x192);let _0xf09e92={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':'none','viewBox':_0xa608a8(0x1c7),'width':_0xa608a8(0x392),'height':_0xa608a8(0x392)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0xa608a8(0x27e),'fillRule':_0xa608a8(0x42c),'clipRule':_0xa608a8(0x42c)}},{'tag':_0xa608a8(0x450),'attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x41e)}}]},_0x452406=(0x0,_0x2ba528['forwardRef'])(function(_0x41e32f,_0x1453b5){const _0x415172=_0xa608a8;return(0x0,_0x2ba528[_0x415172(0x1d3)])(_0x37597e,Object['assign']({},_0x41e32f,{'id':_0x415172(0x459),'ref':_0x1453b5,'icon':_0xf09e92}));});_0x452406['displayName']=_0xa608a8(0x1c9);let _0x48bf4f={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':_0xa608a8(0x479),'viewBox':'0\x200\x2016\x2016','width':_0xa608a8(0x392),'height':_0xa608a8(0x392)},'children':[{'tag':'path','attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x39c),'fillRule':'evenodd','clipRule':_0xa608a8(0x42c)}},{'tag':_0xa608a8(0x450),'attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x18e)}}]},_0x6834cf=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x2cb281,_0x402d78){const _0x4eaf13=_0xa608a8;return(0x0,_0x2ba528[_0x4eaf13(0x1d3)])(_0x37597e,Object['assign']({},_0x2cb281,{'id':_0x4eaf13(0x1a3),'ref':_0x402d78,'icon':_0x48bf4f}));});_0x6834cf[_0xa608a8(0x18b)]=_0xa608a8(0x36a);let _0x2a0fef={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':_0xa608a8(0x479),'viewBox':'0\x200\x2016\x2016','width':_0xa608a8(0x392),'height':_0xa608a8(0x392)},'children':[{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x2d8),'strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x42f),'strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':_0xa608a8(0x300),'strokeWidth':1.3}}]},_0xb13c02=(0x0,_0x2ba528['forwardRef'])(function(_0x5645a4,_0x49e650){const _0x267cb9=_0xa608a8;return(0x0,_0x2ba528[_0x267cb9(0x1d3)])(_0x37597e,Object[_0x267cb9(0x44a)]({},_0x5645a4,{'id':_0x267cb9(0x374),'ref':_0x49e650,'icon':_0x2a0fef}));});_0xb13c02[_0xa608a8(0x18b)]=_0xa608a8(0x1b3);let _0x1a8484={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0xa608a8(0x392)},'children':[{'tag':'path','attrs':{'stroke':_0xa608a8(0x4b3),'d':_0xa608a8(0x1ce),'strokeLinecap':_0xa608a8(0x300),'strokeLinejoin':'round','strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':'currentColor','d':_0xa608a8(0x26e),'strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'d':'M4.2\x208.3H6.8','strokeLinecap':_0xa608a8(0x300),'strokeWidth':1.2}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':'currentColor','d':_0xa608a8(0x21a),'strokeLinejoin':'round'}},{'tag':_0xa608a8(0x450),'attrs':{'stroke':_0xa608a8(0x4b3),'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'}}]},_0x3ad4d1=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x267fde,_0x4d3e2c){const _0x2556a8=_0xa608a8;return(0x0,_0x2ba528[_0x2556a8(0x1d3)])(_0x37597e,Object['assign']({},_0x267fde,{'id':_0x2556a8(0x2b8),'ref':_0x4d3e2c,'icon':_0x1a8484}));});_0x3ad4d1[_0xa608a8(0x18b)]='ShapeFormatSettingIcon';let _0x58f9ba={'tag':_0xa608a8(0x4a5),'attrs':{'xmlns':_0xa608a8(0x235),'fill':_0xa608a8(0x479),'viewBox':_0xa608a8(0x3c4),'width':_0xa608a8(0x392),'height':'1em'},'children':[{'tag':_0xa608a8(0x450),'attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x1e0)}},{'tag':_0xa608a8(0x450),'attrs':{'fill':_0xa608a8(0x4b3),'d':_0xa608a8(0x35a),'fillRule':'evenodd','clipRule':_0xa608a8(0x42c)}},{'tag':_0xa608a8(0x450),'attrs':{'fill':'currentColor','d':_0xa608a8(0x3b1),'fillRule':_0xa608a8(0x42c),'clipRule':_0xa608a8(0x42c)}}]},_0x369e65=(0x0,_0x2ba528[_0xa608a8(0x1dc)])(function(_0x38e049,_0x4795e4){const _0x1eb6e5=_0xa608a8;return(0x0,_0x2ba528[_0x1eb6e5(0x1d3)])(_0x37597e,Object[_0x1eb6e5(0x44a)]({},_0x38e049,{'id':_0x1eb6e5(0x16a),'ref':_0x4795e4,'icon':_0x58f9ba}));});_0x369e65[_0xa608a8(0x18b)]=_0xa608a8(0x4b4);function _0x587718({PanelComponent:_0x1558c9=_0x4cdb25[_0xa608a8(0x2c1)]}){const _0x381b8e=_0xa608a8;var _0x165f6f;function _0x58b145(_0x44ad8d){const _0x53cfaa=_0x286e;return _0x44ad8d[_0x53cfaa(0x12f)]()||void 0x0;}function _0x5ecd9f(_0x545cbe,_0x366f83,_0x2e7ec2){const _0x2f0fa6=_0x286e;var _0x1c46f6;return((_0x1c46f6=_0x545cbe[_0x2f0fa6(0x20d)])==null?void 0x0:_0x1c46f6[_0x2f0fa6(0x12f)]())||_0x2e7ec2['t'](_0x2f0fa6(0x168)+(0x0,_0x354392[_0x2f0fa6(0x508)])(_0x545cbe['drawingType']))+'\x20'+(_0x366f83+0x1);}let _0x268ca6=(0x0,_0x36a73f['useDependency'])(_0x244243['LocaleService']),_0x4cb02c={'title':_0x268ca6['t'](_0x381b8e(0x2bf)),'empty':_0x268ca6['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x268ca6['t'](_0x381b8e(0x16b)),'hideAll':_0x268ca6['t'](_0x381b8e(0x294)),'lockAll':_0x268ca6['t'](_0x381b8e(0x249)),'unlockAll':_0x268ca6['t'](_0x381b8e(0x1e3)),'moveForward':_0x268ca6['t'](_0x381b8e(0x110)),'moveBackward':_0x268ca6['t'](_0x381b8e(0x298)),'close':_0x268ca6['t']('drawing-ui.objectListPanel.close'),'show':_0x268ca6['t'](_0x381b8e(0x10b)),'hide':_0x268ca6['t'](_0x381b8e(0x196)),'lock':_0x268ca6['t'](_0x381b8e(0x1f0)),'unlock':_0x268ca6['t']('drawing-ui.objectListPanel.unlock'),'lockHint':_0x268ca6['t'](_0x381b8e(0x51b)),'unlockHint':_0x268ca6['t'](_0x381b8e(0x513)),'name':_0x268ca6['t'](_0x381b8e(0x502)),'nameInput':_0x268ca6['t'](_0x381b8e(0x354)),'description':_0x268ca6['t']('drawing-ui.objectListPanel.description'),'descriptionPlaceholder':_0x268ca6['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x268ca6['t']('drawing-ui.objectListPanel.details'),'noSelection':_0x268ca6['t'](_0x381b8e(0x3dc)),'locate':_0x268ca6['t'](_0x381b8e(0x1f9)),'expand':_0x268ca6['t'](_0x381b8e(0x158)),'collapse':_0x268ca6['t']('drawing-ui.objectListPanel.collapse'),'dragToReorder':_0x268ca6['t'](_0x381b8e(0x1ec)),'search':_0x268ca6['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x268ca6['t'](_0x381b8e(0x51f)),'filterHidden':_0x268ca6['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x268ca6['t'](_0x381b8e(0x254)),'sectionCanvas':_0x268ca6['t'](_0x381b8e(0x25a)),'sectionFloating':_0x268ca6['t'](_0x381b8e(0x2e9))},_0x3099f1=(0x0,_0x36a73f[_0x381b8e(0x2af)])(_0x244243[_0x381b8e(0x2d0)]),_0x1f520e=(0x0,_0x36a73f[_0x381b8e(0x2af)])(_0x244243[_0x381b8e(0x39a)]),_0x399435=(0x0,_0x36a73f['useDependency'])(_0x29aa40['ISheetDrawingService']),_0x2ba9bb=(0x0,_0x36a73f['useDependency'])(_0x43c769[_0x381b8e(0x334)]),_0x1ffd60=(0x0,_0x36a73f['useDependency'])(_0x559311[_0x381b8e(0x306)]),_0x425bb1=(0x0,_0x36a73f[_0x381b8e(0x2af)])(_0x36a73f[_0x381b8e(0x126)]),[,_0x51683c]=(0x0,_0x2ba528[_0x381b8e(0x3d8)])(_0x3a996f=>_0x3a996f+0x1,0x0),_0x4ec230=_0x1f520e['getCurrentUnitOfType'](_0x244243[_0x381b8e(0x10a)][_0x381b8e(0x127)]),_0x3c7717=(_0x4ec230==null?void 0x0:_0x4ec230[_0x381b8e(0x244)]())??'',_0x314df4=(_0x4ec230==null||(_0x165f6f=_0x4ec230[_0x381b8e(0x24a)]())==null?void 0x0:_0x165f6f[_0x381b8e(0x258)]())??'',_0x6e5b9c=(0x0,_0x36a73f[_0x381b8e(0x521)])(()=>_0x2ba9bb[_0x381b8e(0x17f)],_0x2ba9bb['getFocusDrawings'](),!0x1,[_0x2ba9bb]);(0x0,_0x2ba528[_0x381b8e(0x4a6)])(()=>{const _0x1d2837=_0x381b8e;let _0x167ef1=_0x3099f1['onCommandExecuted'](()=>_0x51683c());return()=>_0x167ef1[_0x1d2837(0x11e)]();},[_0x3099f1]);let _0x53d6c5=_0x3c7717&&_0x314df4?_0x399435['getDrawingData'](_0x3c7717,_0x314df4):{},_0x44161a=(_0x3c7717&&_0x314df4?_0x399435[_0x381b8e(0x31e)](_0x3c7717,_0x314df4):[])[_0x381b8e(0x153)](_0xd04ee6=>_0x53d6c5[_0xd04ee6])['filter'](_0x564ec6=>!!_0x564ec6)[_0x381b8e(0x22c)](),_0x4e013f=_0x44161a[_0x381b8e(0x201)]((_0x224185,_0x59a97f)=>(_0x224185[(0x0,_0x4cdb25[_0x381b8e(0x253)])(_0x59a97f['drawingType'])]+=0x1,_0x224185),{'canvas':0x0,'floating':0x0}),_0x250741={'canvas':0x0,'floating':0x0},_0x448217=_0x44161a[_0x381b8e(0x153)]((_0xdf75a,_0x26ad06)=>{const _0xf078e=_0x381b8e;let _0x242bd2=(0x0,_0x4cdb25['getObjectListPanelSectionIdForDrawingType'])(_0xdf75a['drawingType']),_0x70db4=_0x242bd2===_0x4cdb25[_0xf078e(0x389)],_0x371145=_0x250741[_0x242bd2]++;return{'id':_0xdf75a[_0xf078e(0x2b5)],'name':_0x5ecd9f(_0xdf75a,_0x26ad06,_0x268ca6),'description':_0xdf75a[_0xf078e(0x3e3)],'visible':_0xdf75a[_0xf078e(0x473)]!==!0x0,'selectable':_0xdf75a[_0xf078e(0x112)]!==!0x1,'sectionId':_0x242bd2,'sectionTitle':_0x70db4?_0x4cb02c[_0xf078e(0x452)]:_0x4cb02c[_0xf078e(0x4c8)],'capabilities':_0x70db4?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x70db4&&_0x371145>0x0,'canMoveBackward':!_0x70db4&&_0x371145<_0x4e013f[_0xf078e(0x24e)]-0x1,'canReorder':!_0x70db4};}),_0x3c34ca=(0x0,_0x2ba528[_0x381b8e(0x242)])(()=>(_0x6e5b9c??[])[_0x381b8e(0x41a)](_0x42f197=>_0x42f197[_0x381b8e(0x284)]===_0x3c7717&&_0x42f197[_0x381b8e(0x226)]===_0x314df4)['map'](_0x36f9ad=>_0x36f9ad[_0x381b8e(0x2b5)]),[_0x6e5b9c,_0x314df4,_0x3c7717]),_0x5d4e2b=_0x3c34ca[_0x3c34ca[_0x381b8e(0x225)]-0x1]??null,_0x1de745=_0x58899f=>_0x399435['getDrawingByParam']({'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x58899f})??null,_0x1b3d8e=async _0x5074ed=>{const _0x55c4d2=_0x381b8e;_0x3c7717&&_0x5074ed[_0x55c4d2(0x225)]&&await _0x3099f1['executeCommand'](_0x29aa40[_0x55c4d2(0x3d3)]['id'],{'unitId':_0x3c7717,'drawings':_0x5074ed});},_0x3eabaf=async(_0x13e44e,_0x251559)=>{_0x1de745(_0x13e44e)&&await _0x1b3d8e([{'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x13e44e,..._0x251559}]);},_0x1db5d4=(_0x151d46,_0x172c8a)=>{const _0x43b5fc=_0x381b8e;if(!_0x3c7717||!_0x314df4)return;let _0x517b94=_0x172c8a?_0x3c34ca[_0x43b5fc(0x420)](_0x151d46)?_0x3c34ca[_0x43b5fc(0x41a)](_0x5a2148=>_0x5a2148!==_0x151d46):[..._0x3c34ca,_0x151d46]:[_0x151d46];_0x3099f1[_0x43b5fc(0x4a7)](_0x43c769[_0x43b5fc(0x2d7)]['id'],_0x517b94[_0x43b5fc(0x153)](_0x3bf676=>({'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x3bf676})));let _0x710d4c=_0x517b94[_0x517b94[_0x43b5fc(0x225)]-0x1];_0x710d4c?((0x0,_0x354392[_0x43b5fc(0x2f1)])(_0x1ffd60,{'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x710d4c}),_0x425bb1['focus'](_0x3c7717)):(0x0,_0x354392[_0x43b5fc(0x328)])(_0x1ffd60,_0x3c7717);},_0x4e0d46=async(_0x1dc4c7,_0x560137)=>{const _0x378f43=_0x381b8e;await _0x1b3d8e(_0x1dc4c7[_0x378f43(0x153)](_0x23ccfc=>_0x1de745(_0x23ccfc))[_0x378f43(0x41a)](_0x1b7418=>!!_0x1b7418)[_0x378f43(0x41a)](_0x7f4006=>_0x7f4006[_0x378f43(0x473)]!==!0x0!==_0x560137)[_0x378f43(0x153)](_0x4323f9=>({'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x4323f9[_0x378f43(0x2b5)],'hidden':!_0x560137})));},_0x174f52=async(_0x43c358,_0x2ecbac)=>{const _0x48758f=_0x381b8e;await _0x1b3d8e(_0x43c358['map'](_0x3850ad=>_0x1de745(_0x3850ad))[_0x48758f(0x41a)](_0x18d5e9=>!!_0x18d5e9)[_0x48758f(0x41a)](_0x5e5ba1=>_0x5e5ba1['selectable']!==!0x1!==_0x2ecbac)['map'](_0x2a966c=>({'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingId':_0x2a966c[_0x48758f(0x2b5)],'selectable':_0x2ecbac})));},_0x53ac29=_0x4bddd5=>{let _0x499e1f=_0x1de745(_0x4bddd5);if(_0x499e1f)return _0x174f52([_0x4bddd5],_0x499e1f['selectable']===!0x1);},_0x3c9c3f=async(_0x13140a,_0x5aca02)=>{var _0x180fde;let _0x5aa354=_0x58b145(_0x5aca02);(((_0x180fde=_0x1de745(_0x13140a))==null?void 0x0:_0x180fde['name'])??void 0x0)!==_0x5aa354&&await _0x3eabaf(_0x13140a,{'name':_0x5aa354});},_0x1c0ea8=async(_0x57377d,_0x553e11)=>{const _0x127862=_0x381b8e;var _0x1257fa;let _0x608d75=_0x58b145(_0x553e11);(((_0x1257fa=_0x1de745(_0x57377d))==null?void 0x0:_0x1257fa[_0x127862(0x3e3)])??void 0x0)!==_0x608d75&&await _0x3eabaf(_0x57377d,{'description':_0x608d75});},_0x4f4b57=async(_0x51636b,_0x7b0c63)=>{const _0x295dc5=_0x381b8e;_0x3c7717&&_0x314df4&&await _0x3099f1['executeCommand'](_0x29aa40[_0x295dc5(0x436)]['id'],{'unitId':_0x3c7717,'subUnitId':_0x314df4,'drawingIds':[_0x51636b],'arrangeType':_0x7b0c63});};return!_0x3c7717||!_0x314df4?(0x0,_0x1edb74[_0x381b8e(0x4e1)])(_0x381b8e(0x43d),{'className':_0x381b8e(0x4c5),'children':_0x4cb02c[_0x381b8e(0x2d4)]}):(0x0,_0x1edb74[_0x381b8e(0x4e1)])(_0x1558c9,{'labels':_0x4cb02c,'items':_0x448217,'selectedIds':_0x3c34ca,'focusedId':_0x5d4e2b,'showHeader':!0x1,'onSelect':_0x1db5d4,'onSetVisible':_0x4e0d46,'onSetSelectable':_0x174f52,'onCommitName':_0x3c9c3f,'onCommitDescription':_0x1c0ea8,'onMoveForward':async _0x22bbb9=>_0x4f4b57(_0x22bbb9,_0x244243['ArrangeTypeEnum'][_0x381b8e(0x22d)]),'onMoveBackward':async _0x27da38=>_0x4f4b57(_0x27da38,_0x244243[_0x381b8e(0x118)][_0x381b8e(0x4af)]),'onToggleSelectable':_0x53ac29});}function _0x1b6ebc(){const _0x3488ac=_0xa608a8;return(0x0,_0x1edb74[_0x3488ac(0x4e1)])(_0x587718,{'PanelComponent':_0x4cdb25['MobileObjectListPanel']});}let _0xb9a86c=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x3c4d3d,_0x382be7){const _0x180460=_0xa608a8;super(),this[_0x180460(0x322)](_0x3c4d3d[_0x180460(0x136)](_0x45b5fb,_0x1b6ebc)),this[_0x180460(0x322)](_0x382be7[_0x180460(0x136)]({'BottomIcon':_0x3142c5,'FlipHorizontalIcon':_0x392827,'FlipVerticalIcon':_0x5a9a67,'MoveDownIcon':_0x452406,'MoveUpIcon':_0x6834cf,'ObjectLayersIcon':_0xb13c02,'ShapeFormatSettingIcon':_0x3ad4d1,'TopmostIcon':_0x369e65})),this['disposeWithMe'](_0x3c4d3d[_0x180460(0x136)](_0x129fde,_0x75c06f)),this[_0x180460(0x322)](_0x3c4d3d['register'](_0x42b380,_0x38cad8)),_0x3c4d3d[_0x180460(0x510)](_0x4cdb25[_0x180460(0x50f)])||this[_0x180460(0x322)](_0x3c4d3d[_0x180460(0x136)](_0x4cdb25[_0x180460(0x50f)],_0x314f7e));}};_0xb9a86c=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f['ComponentManager'])),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f[_0xa608a8(0x36c)]))],_0xb9a86c);let _0x4351c9=class extends _0x244243['Disposable']{constructor(_0x2ffee4){const _0x225466=_0xa608a8;super(),this[_0x225466(0x382)]=_0x2ffee4,_0x5b48d0(this,_0x225466(0x3f2),new _0x38f817['BehaviorSubject'](null)),_0x5b48d0(this,_0x225466(0x283),this[_0x225466(0x3f2)][_0x225466(0x2b9)]()),_0x5b48d0(this,'_onSavingEditorData$',new _0x38f817['BehaviorSubject'](!0x1)),_0x5b48d0(this,_0x225466(0x490),this[_0x225466(0x4ab)][_0x225466(0x2b9)]()),_0x5b48d0(this,_0x225466(0x4ba),void 0x0),this[_0x225466(0x322)](this['_permissionService'][_0x225466(0x2aa)][_0x225466(0x376)](()=>{const _0x441c75=_0x225466;let _0x5edc2a=this[_0x441c75(0x345)]();_0x5edc2a!=null&&_0x5edc2a[_0x441c75(0x24c)]&&!this[_0x441c75(0x311)](_0x5edc2a)&&this[_0x441c75(0x13e)](null);}));}[_0xa608a8(0x11e)](){const _0x4ddf32=_0xa608a8;this[_0x4ddf32(0x3ef)](),this[_0x4ddf32(0x3f2)][_0x4ddf32(0x159)](null),this[_0x4ddf32(0x3f2)]['complete'](),this['_onSavingEditorData$'][_0x4ddf32(0x159)](!0x1),this[_0x4ddf32(0x4ab)]['complete'](),super[_0x4ddf32(0x11e)]();}['setEditing'](_0x240c79){const _0x3afe4d=_0xa608a8;(_0x240c79==null||!_0x240c79[_0x3afe4d(0x24c)]||this[_0x3afe4d(0x311)](_0x240c79))&&(this[_0x3afe4d(0x3ef)](),this[_0x3afe4d(0x3f2)][_0x3afe4d(0x159)](_0x240c79),(_0x240c79==null||_0x240c79[_0x3afe4d(0x24c)]&&this[_0x3afe4d(0x4ab)][_0x3afe4d(0x1fa)]())&&this[_0x3afe4d(0x4ab)][_0x3afe4d(0x159)](!0x1));}[_0xa608a8(0x357)](_0x1694dd){const _0x4d6724=_0xa608a8;this[_0x4d6724(0x4ab)][_0x4d6724(0x159)](_0x1694dd);}[_0xa608a8(0x345)](){const _0x4e5583=_0xa608a8;return this[_0x4e5583(0x3f2)][_0x4e5583(0x1fa)]();}[_0xa608a8(0x311)](_0x171a01){const _0x29925e=_0xa608a8;let _0x4948c2=this['_permissionService'][_0x29925e(0x353)](new _0x126f61[(_0x29925e(0x32c))](_0x171a01[_0x29925e(0x284)])['id']),_0x3a9d2c=this[_0x29925e(0x382)][_0x29925e(0x353)](new _0x126f61[(_0x29925e(0x2fb))](_0x171a01['unitId'],_0x171a01[_0x29925e(0x226)])['id']);return((_0x4948c2==null?void 0x0:_0x4948c2['value'])??!0x0)&&((_0x3a9d2c==null?void 0x0:_0x3a9d2c[_0x29925e(0x496)])??!0x0);}['completeEditing'](_0x34f911){const _0x3c46cd=_0xa608a8;let _0x4ccdcf=this['getEditing']();_0x4ccdcf&&this[_0x3c46cd(0x4ba)]===void 0x0&&(this['setOnSavingEditorData'](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x47d6aa=_0x3c46cd;this['_completionFrame']=void 0x0,this[_0x47d6aa(0x345)]()===_0x4ccdcf&&this[_0x47d6aa(0x13e)](null);}));}['_clearCompletionFrame'](){const _0x125fcc=_0xa608a8;this[_0x125fcc(0x4ba)]!==void 0x0&&(cancelAnimationFrame(this[_0x125fcc(0x4ba)]),this[_0x125fcc(0x4ba)]=void 0x0);}[_0xa608a8(0x4eb)](){const _0x14c6b6=_0xa608a8;this[_0x14c6b6(0x345)]()&&this[_0x14c6b6(0x13e)](null);}};_0x4351c9=_0x4cddfe([_0x542dc8(0x0,_0x244243[_0xa608a8(0x432)])],_0x4351c9);let _0x43a94f=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x53cd56,_0x417c63,_0x2c2f35,_0x319082,_0x6744cc,_0x21710a){const _0x2b12d4=_0xa608a8;super(),this['_context']=_0x53cd56,this[_0x2b12d4(0x21c)]=_0x417c63,this[_0x2b12d4(0x37d)]=_0x2c2f35,this[_0x2b12d4(0x3d7)]=_0x319082,this[_0x2b12d4(0x135)]=_0x6744cc,this[_0x2b12d4(0x524)]=_0x21710a,_0x5b48d0(this,'_lastEditingShapeKey',null),this[_0x2b12d4(0x3bc)](),this[_0x2b12d4(0x40b)](),this[_0x2b12d4(0x45d)]();}['_initEvents'](){const _0x4fafd9=_0xa608a8;let {scene:_0x41ad37}=this[_0x4fafd9(0x413)];this[_0x4fafd9(0x322)](_0x41ad37[_0x4fafd9(0x41f)][_0x4fafd9(0x1ef)](_0x2c97ba=>{const _0x501e3b=_0x4fafd9;let {offsetX:_0xc8951a,offsetY:_0xc57d2}=_0x2c97ba,_0x464ca1=_0x41ad37[_0x501e3b(0x39d)](_0x559311['Vector2'][_0x501e3b(0x29d)]([_0xc8951a,_0xc57d2]));if(_0x464ca1 instanceof _0x5ee4ee){let _0x33ecb7=this[_0x501e3b(0x524)][_0x501e3b(0x335)](_0x464ca1[_0x501e3b(0x284)],_0x464ca1[_0x501e3b(0x226)],_0x464ca1[_0x501e3b(0x3d5)]);if((0x0,_0x11e0df['isConnectorShape'])(this[_0x501e3b(0x524)][_0x501e3b(0x4e2)](_0x464ca1[_0x501e3b(0x284)],_0x464ca1['subUnitId'],_0x464ca1[_0x501e3b(0x3d5)]))||_0x33ecb7!=null&&_0x33ecb7[_0x501e3b(0x169)]()[_0x501e3b(0x301)])return;this[_0x501e3b(0x37d)][_0x501e3b(0x13e)]({'visible':!0x0,'unitId':_0x464ca1[_0x501e3b(0x284)],'subUnitId':_0x464ca1['subUnitId'],'shapeId':_0x464ca1['shapeId'],'shapeKey':_0x464ca1[_0x501e3b(0x26d)]});}}));}[_0xa608a8(0x40b)](){const _0x235cf5=_0xa608a8;this[_0x235cf5(0x322)](this[_0x235cf5(0x3d7)][_0x235cf5(0x17f)][_0x235cf5(0x376)](_0x480580=>{const _0x3f981c=_0x235cf5;if(_0x480580['length']===0x1){let _0x37ac9b=_0x480580[0x0],_0x24f953=this[_0x3f981c(0x3d7)][_0x3f981c(0x462)](_0x37ac9b);if((_0x24f953==null?void 0x0:_0x24f953['drawingType'])===_0x244243[_0x3f981c(0x138)]['DRAWING_SHAPE']){var _0x3fbe5c;let _0x5165c5=this['_shapeTextEditingService'][_0x3f981c(0x345)]();if((_0x5165c5==null?void 0x0:_0x5165c5[_0x3f981c(0x3d5)])===_0x37ac9b['drawingId']&&_0x5165c5[_0x3f981c(0x24c)])return;let _0x3572fe=(0x0,_0x11e0df['isConnectorShape'])(this[_0x3f981c(0x524)][_0x3f981c(0x4e2)](_0x37ac9b['unitId'],_0x37ac9b[_0x3f981c(0x226)],_0x37ac9b[_0x3f981c(0x2b5)])),_0x1621bb=!!((_0x3fbe5c=this['_sheetsShapeService'][_0x3f981c(0x335)](_0x37ac9b[_0x3f981c(0x284)],_0x37ac9b[_0x3f981c(0x226)],_0x37ac9b[_0x3f981c(0x2b5)]))!=null&&_0x3fbe5c[_0x3f981c(0x169)]()[_0x3f981c(0x301)]);(_0x3572fe||_0x1621bb)&&this[_0x3f981c(0x37d)][_0x3f981c(0x13e)](null);}else this[_0x3f981c(0x37d)][_0x3f981c(0x333)]();}else this[_0x3f981c(0x37d)][_0x3f981c(0x333)]();})),this[_0x235cf5(0x322)](this['_drawingManagerService'][_0x235cf5(0x1d5)][_0x235cf5(0x376)](_0x1d1b33=>{const _0x4c2b56=_0x235cf5;let _0x29bc67=this[_0x4c2b56(0x37d)]['getEditing']();_0x29bc67&&_0x1d1b33[_0x4c2b56(0x38c)](_0x5643a5=>_0x5643a5[_0x4c2b56(0x2b5)]===_0x29bc67[_0x4c2b56(0x3d5)])&&this[_0x4c2b56(0x37d)]['setEditing'](null);}));}[_0xa608a8(0x45d)](){const _0x29aaca=_0xa608a8;this[_0x29aaca(0x322)](this[_0x29aaca(0x37d)]['editingParams$'][_0x29aaca(0x376)](_0x48fc9d=>{const _0x314695=_0x29aaca;let {scene:_0x1e60f4}=this[_0x314695(0x413)];if(this[_0x314695(0x34f)]){let _0x36c8e4=_0x1e60f4['getObjectIncludeInGroup'](this[_0x314695(0x34f)]);_0x36c8e4&&_0x36c8e4[_0x314695(0x13e)](!0x1);}if(_0x48fc9d){let _0x36ecab=!!_0x48fc9d['visible'],_0x4ec542=_0x1e60f4['getObjectIncludeInGroup'](_0x48fc9d[_0x314695(0x468)]);_0x4ec542&&(_0x4ec542[_0x314695(0x13e)](_0x36ecab),this[_0x314695(0x34f)]=_0x48fc9d[_0x314695(0x468)]),this[_0x314695(0x135)][_0x314695(0x471)](_0x244243[_0x314695(0x349)],_0x36ecab);}else this[_0x314695(0x34f)]=null,this['_contextService'][_0x314695(0x471)](_0x244243['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x43a94f=_0x4cddfe([_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243['Injector'])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4351c9)),_0x542dc8(0x3,_0x43c769['IDrawingManagerService']),_0x542dc8(0x4,_0x244243[_0xa608a8(0x2a4)]),_0x542dc8(0x5,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349['SheetsShapeService']))],_0x43a94f);var _0x25d7c4=class extends _0x43a94f{[_0xa608a8(0x3bc)](){const _0x3da7a1=_0xa608a8;let {scene:_0x31ecb5}=this[_0x3da7a1(0x413)],_0x2c3f49=this[_0x3da7a1(0x21c)][_0x3da7a1(0x20b)](_0x354392[_0x3da7a1(0x155)]);this[_0x3da7a1(0x322)](_0x31ecb5['onDblclick$'][_0x3da7a1(0x1ef)](_0x23f891=>{const _0x1fa743=_0x3da7a1;let {offsetX:_0x18116a,offsetY:_0x362c58}=_0x23f891,_0x328845=_0x31ecb5[_0x1fa743(0x39d)](_0x559311[_0x1fa743(0x520)][_0x1fa743(0x29d)]([_0x18116a,_0x362c58]));if(!(_0x328845 instanceof _0x5ee4ee))return;let _0x7af74f=this[_0x1fa743(0x524)][_0x1fa743(0x335)](_0x328845['unitId'],_0x328845[_0x1fa743(0x226)],_0x328845[_0x1fa743(0x3d5)]);(0x0,_0x11e0df[_0x1fa743(0x42a)])(this[_0x1fa743(0x524)][_0x1fa743(0x4e2)](_0x328845['unitId'],_0x328845[_0x1fa743(0x226)],_0x328845['shapeId']))||_0x7af74f!=null&&_0x7af74f[_0x1fa743(0x169)]()[_0x1fa743(0x301)]||_0x2c3f49[_0x1fa743(0x4f9)]('text',{'hostType':_0x244243[_0x1fa743(0x10a)][_0x1fa743(0x127)],'unitId':_0x328845['unitId'],'subUnitId':_0x328845['subUnitId'],'shapeId':_0x328845[_0x1fa743(0x3d5)]});}));}};let _0x59cb0f={..._0x234d9b},_0x5de74d=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x1faa56,_0x5c9263,_0x3dcf49,_0x3e0f3c,_0x89db2d,_0x349f94,_0x2c0a68,_0x7e7c60){const _0x3c3879=_0xa608a8;super(),this['_menuManagerService']=_0x1faa56,this['_sheetsShapeService']=_0x5c9263,this[_0x3c3879(0x480)]=_0x3dcf49,this[_0x3c3879(0x3d7)]=_0x3e0f3c,this[_0x3c3879(0x52b)]=_0x89db2d,this['_contextService']=_0x349f94,this[_0x3c3879(0x23d)]=_0x2c0a68,this[_0x3c3879(0x37d)]=_0x7e7c60,_0x5b48d0(this,_0x3c3879(0x4a0),null),this[_0x3c3879(0x2a2)][_0x3c3879(0x4e5)](_0x59cb0f),this[_0x3c3879(0x109)](),this[_0x3c3879(0x322)](this[_0x3c3879(0x37d)]['editingParams$']['subscribe'](_0x10b66c=>{const _0x3314e0=_0x3c3879;_0x10b66c&&this[_0x3314e0(0x4c0)]();}));}['initShapePopupMenu'](){const _0x30f727=_0xa608a8;this['_shapePopupMenuDisposable']||=this[_0x30f727(0x322)]((0x0,_0x354392[_0x30f727(0x151)])(this[_0x30f727(0x23d)],_0x244243[_0x30f727(0x10a)]['UNIVER_SHEET'],_0x19efb8=>this[_0x30f727(0x2fd)](_0x19efb8)));}['_registerFeatureMenu'](){const _0x5d4d9a=_0xa608a8;this[_0x5d4d9a(0x52b)][_0x5d4d9a(0x37f)](_0x244243[_0x5d4d9a(0x138)][_0x5d4d9a(0x4e9)],(_0x5870fd,_0xbebfd1,_0x19e9de,_0x585cc0)=>{const _0xaa76d3=_0x5d4d9a;let _0x1d428d=this[_0xaa76d3(0x524)][_0xaa76d3(0x1d2)](_0x5870fd,_0xbebfd1,_0x19e9de),_0x3dc62c=this[_0xaa76d3(0x524)][_0xaa76d3(0x257)](_0x5870fd,_0xbebfd1,_0x19e9de),_0x2b1f21=_0x1d428d!==void 0x0&&!(0x0,_0x11e0df[_0xaa76d3(0x42a)])(_0x1d428d)&&!(_0x3dc62c!=null&&_0x3dc62c[_0xaa76d3(0x301)]);return[{'label':_0xaa76d3(0x163),'index':0x0,'commandId':_0x6fb12a['id'],'commandParams':{'unitId':_0x5870fd,'subUnitId':_0xbebfd1,'drawingId':_0x19e9de,'mode':_0xaa76d3(0x405)},'disable':!0x1},..._0x2b1f21?[{'label':'sheets-shape-ui.editText','index':0x1,'commandId':_0x6fb12a['id'],'commandParams':{'unitId':_0x5870fd,'subUnitId':_0xbebfd1,'drawingId':_0x19e9de,'mode':_0xaa76d3(0x4de)},'disable':!0x1}]:[],{'label':'sheets-shape-ui.deleteShape','index':0x2,'commandId':_0x29aa40[_0xaa76d3(0x50b)]['id'],'commandParams':{'unitId':_0x5870fd,'drawings':[{'unitId':_0x5870fd,'subUnitId':_0xbebfd1,'drawingId':_0x19e9de,'drawingType':_0x585cc0}]},'disable':!0x1},{'label':_0xaa76d3(0x449),'index':0x3,'commandId':_0xb19349[_0xaa76d3(0x44b)]['id'],'commandParams':{'unitId':_0x5870fd,'subUnitId':_0xbebfd1,'shapeId':_0x19e9de,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.flipVertical','index':0x4,'commandId':_0xb19349['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x5870fd,'subUnitId':_0xbebfd1,'shapeId':_0x19e9de,'flipV':!0x0},'disable':!0x1}];},_0x5d4d9a(0x48c));}[_0xa608a8(0x2fd)](_0x4db3d5){const _0x2f2e1f=_0xa608a8;let _0xeb4ebd=new _0x244243['DisposableCollection'](),_0x45a094=null,_0x1aae8b=()=>{const _0x2ed04c=_0x286e;if(!_0x45a094)return;let _0x40651c=this[_0x2ed04c(0x3d7)][_0x2ed04c(0x305)](),_0x205967=_0x40651c[_0x2ed04c(0x225)]===0x0||_0x40651c[_0x2ed04c(0x225)]===0x1&&_0x40651c[_0x2ed04c(0x38c)](_0x19aace=>_0x19aace['unitId']===(_0x45a094==null?void 0x0:_0x45a094['unitId'])&&_0x19aace[_0x2ed04c(0x226)]===(_0x45a094==null?void 0x0:_0x45a094[_0x2ed04c(0x226)])&&_0x19aace[_0x2ed04c(0x2b5)]===(_0x45a094==null?void 0x0:_0x45a094[_0x2ed04c(0x2b5)]));_0x45a094=null,_0x205967&&(this[_0x2ed04c(0x135)][_0x2ed04c(0x471)](_0x244243[_0x2ed04c(0x167)],!0x1),this[_0x2ed04c(0x3d7)][_0x2ed04c(0x264)](null));};return _0xeb4ebd[_0x2f2e1f(0x488)](_0x4db3d5[_0x2f2e1f(0x1bc)][_0x2f2e1f(0x376)](()=>{const _0x3958bf=_0x2f2e1f;let _0x438cf0=_0x4db3d5[_0x3958bf(0x18c)]();if(_0x438cf0[_0x3958bf(0x13f)]>0x1){_0x1aae8b();return;}let _0x2a74f0=_0x438cf0[_0x3958bf(0x48d)]()['next']()['value'];if(!_0x2a74f0){_0x1aae8b();return;}let _0x2f5ad5=this[_0x3958bf(0x3d7)][_0x3958bf(0x1c3)](_0x2a74f0['oKey']);if(!_0x2f5ad5||_0x2f5ad5['drawingType']!==_0x244243[_0x3958bf(0x138)][_0x3958bf(0x4e9)]){_0x1aae8b();return;}let {unitId:_0x5d9157,subUnitId:_0x5863a7,drawingId:_0x471545}=_0x2f5ad5;_0x45a094={'unitId':_0x5d9157,'subUnitId':_0x5863a7,'drawingId':_0x471545},this['_contextService'][_0x3958bf(0x471)](_0x244243['FOCUSING_COMMON_DRAWINGS'],!0x0),this['_drawingManagerService'][_0x3958bf(0x305)]()[_0x3958bf(0x3c7)](_0x4629b6=>_0x4629b6[_0x3958bf(0x284)]===_0x5d9157&&_0x4629b6['subUnitId']===_0x5863a7&&_0x4629b6[_0x3958bf(0x2b5)]===_0x471545)||this['_drawingManagerService'][_0x3958bf(0x264)]([{'unitId':_0x5d9157,'subUnitId':_0x5863a7,'drawingId':_0x471545}]);})),_0xeb4ebd[_0x2f2e1f(0x488)](_0x4db3d5[_0x2f2e1f(0x24f)][_0x2f2e1f(0x376)](()=>{_0x1aae8b();})),(0x0,_0x244243[_0x2f2e1f(0x45a)])(()=>{const _0x10561b=_0x2f2e1f;_0xeb4ebd[_0x10561b(0x11e)](),_0x1aae8b();});}['_clearFocusedShape'](){const _0x385327=_0xa608a8;this[_0x385327(0x135)]['setContextValue'](_0x244243['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x385327(0x3d7)][_0x385327(0x264)](null);}};_0x5de74d=_0x4cddfe([_0x542dc8(0x0,_0x36a73f[_0xa608a8(0x162)]),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349['SheetsShapeService'])),_0x542dc8(0x2,_0x244243[_0xa608a8(0x2d0)]),_0x542dc8(0x3,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x4,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x180b4c[_0xa608a8(0x33a)])),_0x542dc8(0x5,_0x244243[_0xa608a8(0x2a4)]),_0x542dc8(0x6,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0x7,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4351c9))],_0x5de74d);function _0x3e65ee(_0x258075,_0x586454,_0x307dd4,_0x56fe9c){const _0x110844=_0xa608a8;let _0xc28382=(0x0,_0x43c769[_0x110844(0x355)])(_0x258075,_0x586454,_0x307dd4),_0x20865b=[];for(let _0x6d6b76 of _0x586454){let _0x31016e=_0xc28382[_0x110844(0x47b)][_0x110844(0x20b)](_0x6d6b76[_0x110844(0x2b5)]),_0x34a7bc=_0x56fe9c(_0x6d6b76);_0x31016e&&_0x34a7bc&&_0x20865b[_0x110844(0x313)]({'targetShapeId':_0x31016e,'source':_0x34a7bc});}return _0x20865b;}let _0x1a879a=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x5ed052,_0x54a9d2,_0xc805c9,_0x3979cf){const _0x5aa6e0=_0xa608a8;super(),this[_0x5aa6e0(0x1e8)]=_0x5ed052,this['_sheetInterceptorService']=_0x54a9d2,this[_0x5aa6e0(0x401)]=_0xc805c9,this[_0x5aa6e0(0x524)]=_0x3979cf,this[_0x5aa6e0(0x3fc)]();}[_0xa608a8(0x3fc)](){const _0x1b88bc=_0xa608a8;this[_0x1b88bc(0x322)](this[_0x1b88bc(0x433)][_0x1b88bc(0x484)]({'getMutations':_0x42e56d=>{const _0x5238cc=_0x1b88bc;if(_0x42e56d['id']===_0x126f61[_0x5238cc(0x132)]['id']){let _0x224b9b=(0x0,_0x126f61[_0x5238cc(0x4f6)])(this[_0x5238cc(0x1e8)],_0x42e56d[_0x5238cc(0x131)]);if(!_0x224b9b)return{'redos':[],'undos':[]};let {unitId:_0x4b2f78,subUnitId:_0x5ba07a}=_0x224b9b,_0x1311b6=this['_sheetDrawingService'][_0x5238cc(0x19e)](_0x4b2f78,_0x5ba07a),_0x5f16c0=Object['values'](_0x1311b6)[_0x5238cc(0x41a)](_0x23c4f4=>_0x23c4f4['drawingType']===_0x244243[_0x5238cc(0x138)]['DRAWING_SHAPE']);if(_0x5f16c0[_0x5238cc(0x225)]===0x0)return{'redos':[],'undos':[]};let _0x45e6ac=[],_0x538ab8=[];for(let _0x11880c=0x0;_0x11880c<_0x5f16c0[_0x5238cc(0x225)];_0x11880c++){let _0x25c96b=_0x5f16c0[_0x11880c],_0x360c5d=this[_0x5238cc(0x524)][_0x5238cc(0x335)](_0x25c96b[_0x5238cc(0x284)],_0x25c96b['subUnitId'],_0x25c96b[_0x5238cc(0x2b5)]);_0x360c5d&&(_0x45e6ac['push']({'id':_0xb19349['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x4b2f78,'subUnitId':_0x5ba07a,'shapeId':_0x25c96b['drawingId']}}),_0x538ab8['push']({'id':_0xb19349[_0x5238cc(0x4da)]['id'],'params':{'unitId':_0x4b2f78,'subUnitId':_0x5ba07a,'shapeId':_0x25c96b[_0x5238cc(0x2b5)],'shapeType':_0x360c5d['getShapeType'](),'shapeData':JSON[_0x5238cc(0x383)](JSON[_0x5238cc(0x329)](_0x360c5d[_0x5238cc(0x169)]()))}}));}return{'redos':_0x45e6ac,'undos':_0x538ab8};}if(_0x42e56d['id']===_0x126f61['CopySheetCommand']['id']){let {unitId:_0x4ff614,subUnitId:_0x2e30de,targetSubUnitId:_0x3bb1e6,copyContext:_0x18e433}=_0x42e56d[_0x5238cc(0x131)];if(!_0x4ff614||!_0x2e30de||!_0x3bb1e6)return{'redos':[],'undos':[]};let _0x4150ef=this['_sheetDrawingService'][_0x5238cc(0x19e)](_0x4ff614,_0x2e30de),_0x5c5904=Object[_0x5238cc(0x48d)](_0x4150ef)[_0x5238cc(0x41a)](_0x57227b=>_0x57227b[_0x5238cc(0x351)]===_0x244243['DrawingTypeEnum'][_0x5238cc(0x4e9)]);if(_0x5c5904['length']===0x0)return{'redos':[],'undos':[]};let _0x4e1a16=_0x3e65ee(_0x18e433,_0x5c5904,{'unitId':_0x4ff614,'sourceSubUnitId':_0x2e30de,'targetSubUnitId':_0x3bb1e6},_0x2286f4=>{const _0x2ede85=_0x5238cc;let _0x1e742c=this[_0x2ede85(0x524)][_0x2ede85(0x335)](_0x2286f4[_0x2ede85(0x284)],_0x2286f4[_0x2ede85(0x226)],_0x2286f4[_0x2ede85(0x2b5)]);if(_0x1e742c)return{'shapeType':_0x1e742c['getShapeType'](),'shapeData':JSON[_0x2ede85(0x383)](JSON['stringify'](_0x1e742c['getShapeData']()))};}),_0x2d2d21=[],_0x4a3f00=[];for(let {targetShapeId:_0x35e784,source:_0x1b4fc7}of _0x4e1a16)_0x2d2d21[_0x5238cc(0x313)]({'id':_0xb19349['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x4ff614,'subUnitId':_0x3bb1e6,'shapeId':_0x35e784,'shapeType':_0x1b4fc7[_0x5238cc(0x1ee)],'shapeData':_0x1b4fc7['shapeData']}}),_0x4a3f00[_0x5238cc(0x313)]({'id':_0xb19349[_0x5238cc(0x2b4)]['id'],'params':{'unitId':_0x4ff614,'subUnitId':_0x3bb1e6,'shapeId':_0x35e784}});return{'redos':_0x2d2d21,'undos':_0x4a3f00};}return{'redos':[],'undos':[]};}}));}};_0x1a879a=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x39a)])),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x126f61[_0xa608a8(0x193)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x29aa40[_0xa608a8(0x2fe)])),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349[_0xa608a8(0x439)]))],_0x1a879a);let _0x4304cd=class extends _0x244243['Disposable']{constructor(_0x1a7853,_0xcd6015,_0x5998ed,_0x360a07,_0x4c04ef,_0x4aeb3c){const _0x5c532d=_0xa608a8;super(),this['_commandService']=_0x1a7853,this[_0x5c532d(0x23d)]=_0xcd6015,this[_0x5c532d(0x3d7)]=_0x5998ed,this['_currentUniverService']=_0x360a07,this[_0x5c532d(0x1e6)]=_0x4c04ef,this[_0x5c532d(0x2f7)]=_0x4aeb3c,_0x5b48d0(this,_0x5c532d(0x45b),new Set()),this[_0x5c532d(0x451)]();}[_0xa608a8(0x451)](){const _0x252e43=_0xa608a8;this['_drawingAddListener'](),this[_0x252e43(0x1dd)](),this[_0x252e43(0x504)]();}[_0xa608a8(0x390)](){const _0x33c03b=_0xa608a8;this[_0x33c03b(0x322)](this[_0x33c03b(0x3d7)][_0x33c03b(0x1b0)][_0x33c03b(0x376)](_0x3768cc=>{this['_insertShapes'](_0x3768cc);}));}['_commandExecutedListener'](){const _0x3295a9=_0xa608a8;this[_0x3295a9(0x322)](this['_commandService'][_0x3295a9(0x380)]((_0x2dca34,_0x15af19)=>{const _0x27da6c=_0x3295a9;if(_0x2dca34['id']===_0xb19349[_0x27da6c(0x35d)]['id']){let {unitId:_0x556cae,subUnitId:_0x2763c2,shapeId:_0x378561}=_0x2dca34[_0x27da6c(0x131)],_0x1cd7e5=this[_0x27da6c(0x30b)](_0x556cae),_0x52aaf7=(0x0,_0x43c769[_0x27da6c(0x280)])({'unitId':_0x556cae,'subUnitId':_0x2763c2,'drawingId':_0x378561}),_0x4f11a3=_0x1cd7e5==null?void 0x0:_0x1cd7e5['scene'][_0x27da6c(0x47f)](_0x52aaf7);_0x4f11a3&&(this[_0x27da6c(0x2f7)][_0x27da6c(0x4f1)](_0x4f11a3),this[_0x27da6c(0x2f7)][_0x27da6c(0x336)](_0x4f11a3,{'unitId':_0x556cae,'subUnitId':_0x2763c2,'shapeId':_0x378561}),_0x4f11a3[_0x27da6c(0x476)](!0x0));}else{if(_0x2dca34['id']===_0xb19349[_0x27da6c(0x4da)]['id']){var _0x1cb28c;let {unitId:_0x139ca4,subUnitId:_0x27c2a7,shapeId:_0x7c5aec}=_0x2dca34[_0x27da6c(0x131)],_0x2f6161=this['_getSceneAndTransformerByDrawingSearch'](_0x139ca4);if(_0x2f6161==null)return;let {scene:_0x433070}=_0x2f6161,_0x29d0bf=(0x0,_0x43c769[_0x27da6c(0x280)])({'unitId':_0x139ca4,'subUnitId':_0x27c2a7,'drawingId':_0x7c5aec}),_0x4e9d7c=_0x433070['getObjectIncludeInGroup'](_0x29d0bf);if(!((_0x1cb28c=this[_0x27da6c(0x23d)][_0x27da6c(0x236)](_0x139ca4))!=null&&_0x1cb28c[_0x27da6c(0x3cf)](_0x180b4c[_0x27da6c(0x23a)])[_0x27da6c(0x34d)](_0x27c2a7)))return!0x1;if(_0x4e9d7c)return;if(_0x15af19!=null&&_0x15af19['fromChangeset']){queueMicrotask(()=>{const _0x1d0c00=_0x27da6c;this[_0x1d0c00(0x34e)]||this[_0x1d0c00(0x211)]([{'unitId':_0x139ca4,'subUnitId':_0x27c2a7,'drawingId':_0x7c5aec}]);});return;}this['_insertShapes']([{'unitId':_0x139ca4,'subUnitId':_0x27c2a7,'drawingId':_0x7c5aec}]);}}}));}['_shapeUpdateListener'](){const _0x40e2ce=_0xa608a8;this[_0x40e2ce(0x322)](this['_drawingManagerService'][_0x40e2ce(0x1ad)]['subscribe'](_0x495eb1=>{const _0x1b788b=_0x40e2ce;_0x495eb1[_0x1b788b(0x2ce)](_0x127007=>{const _0x29b03e=_0x1b788b;let {unitId:_0x380f8c,subUnitId:_0x1ef512,drawingId:_0x28dc57}=_0x127007,_0x43eebc=this['_drawingManagerService'][_0x29b03e(0x462)](_0x127007);if(_0x43eebc==null)return;let {transform:_0xd9b0b3,drawingType:_0x3a6d7f,srcRect:_0x257e25,prstGeom:_0x363d19}=_0x43eebc;if(_0x3a6d7f!==_0x244243[_0x29b03e(0x138)][_0x29b03e(0x4e9)])return;let _0x59a13f=this[_0x29b03e(0x30b)](_0x380f8c);if(_0x59a13f==null)return;let {scene:_0x4fe8cc,transformer:_0x32e89c}=_0x59a13f;if(_0xd9b0b3==null)return!0x0;let _0x29115e=(0x0,_0x43c769['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x380f8c,'subUnitId':_0x1ef512,'drawingId':_0x28dc57}),_0x18a65d=_0x4fe8cc[_0x29b03e(0x47f)](_0x29115e);if(_0x18a65d==null)return!0x0;_0x18a65d[_0x29b03e(0x15d)](_0x257e25),_0x18a65d['setPrstGeom'](_0x363d19);});}));}[_0xa608a8(0x211)](_0x44f131){const _0x5148c7=_0xa608a8;for(let _0x237bb3 of _0x44f131){var _0x99219d;let {unitId:_0x5ad9cf,subUnitId:_0x370b2e,drawingId:_0x94cae2}=_0x237bb3,_0x48e0fd=this[_0x5148c7(0x30b)](_0x5ad9cf),_0x21108b=(_0x99219d=(0x0,_0x4cdb25['getCurrentUnitInfo'])(this[_0x5148c7(0x1f2)],_0x5ad9cf))==null?void 0x0:_0x99219d[_0x5148c7(0x226)];if(_0x48e0fd==null||_0x21108b!==_0x370b2e)continue;let _0x26d379=(0x0,_0x43c769['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5ad9cf,'subUnitId':_0x370b2e,'drawingId':_0x94cae2});if(this[_0x5148c7(0x45b)][_0x5148c7(0x2e5)](_0x26d379)||_0x48e0fd[_0x5148c7(0x419)][_0x5148c7(0x47f)](_0x26d379)!=null)continue;let _0x3c9788=this[_0x5148c7(0x3d7)][_0x5148c7(0x462)](_0x237bb3);if(_0x3c9788==null||_0x3c9788[_0x5148c7(0x351)]!==_0x244243[_0x5148c7(0x138)]['DRAWING_SHAPE'])continue;let _0x3f679b=_0x3c9788[_0x5148c7(0x3d6)]||{};if((0x0,_0x11e0df[_0x5148c7(0x42a)])(_0x3f679b[_0x5148c7(0x1ee)])){let _0x348936=_0x3c9788[_0x5148c7(0x31b)];_0x348936&&(_0x3c9788[_0x5148c7(0x31b)]={..._0x348936,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x5148c7(0x45b)][_0x5148c7(0x488)](_0x26d379);try{this[_0x5148c7(0x2f7)][_0x5148c7(0x3de)](_0x3c9788,_0x48e0fd[_0x5148c7(0x419)]);}finally{this['_insertingShapeKeys']['delete'](_0x26d379);}queueMicrotask(()=>{const _0x2dd5b0=_0x5148c7;if(this[_0x2dd5b0(0x34e)])return;let _0xefcae9=(0x0,_0x43c769['getDrawingShapeKeyByDrawingSearch'])(_0x237bb3);if(!_0x48e0fd[_0x2dd5b0(0x419)][_0x2dd5b0(0x47f)](_0xefcae9))return;let _0x4c1780=this[_0x2dd5b0(0x3d7)][_0x2dd5b0(0x462)](_0x237bb3);_0x4c1780&&this[_0x2dd5b0(0x3d7)][_0x2dd5b0(0x499)]([_0x4c1780]);});}}[_0xa608a8(0x30b)](_0x44bede){const _0x32b122=_0xa608a8;if(_0x44bede==null)return;let _0x18dfa2=this['_renderManagerService'][_0x32b122(0x236)](_0x44bede),_0x1f40be=_0x18dfa2==null?void 0x0:_0x18dfa2[_0x32b122(0x419)];return _0x1f40be==null?null:{'scene':_0x1f40be,'transformer':_0x1f40be[_0x32b122(0x3a4)]()};}};_0x4304cd=_0x4cddfe([_0x542dc8(0x0,_0x244243[_0xa608a8(0x2d0)]),_0x542dc8(0x1,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0x2,_0x43c769['IDrawingManagerService']),_0x542dc8(0x3,_0x244243['IUniverInstanceService']),_0x542dc8(0x4,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4cdb25[_0xa608a8(0x1c6)])),_0x542dc8(0x5,(0x0,_0x244243['Inject'])(_0x4f6784))],_0x4304cd);let _0x4f6e22={'normal':{'fill':_0x11e0df[_0xa608a8(0x4bb)]['cxnPointFill'],'stroke':_0x11e0df['ShapeDefaultConfig'][_0xa608a8(0x361)],'strokeWidth':_0x11e0df[_0xa608a8(0x4bb)][_0xa608a8(0x375)]},'highlighted':{'fill':_0xa608a8(0x125),'stroke':'#1a73e8','strokeWidth':0x2}};var _0xd942a4=class extends _0x559311[_0xa608a8(0x115)]{constructor(_0x4f7f71,_0xb1f4a5){const _0x31a8b2=_0xa608a8;super(_0x4f7f71,_0xb1f4a5),_0x5b48d0(this,_0x31a8b2(0x3fa),''),_0x5b48d0(this,_0x31a8b2(0x304),-0x1),_0x5b48d0(this,'_unitId',''),_0x5b48d0(this,_0x31a8b2(0x2f5),''),_0x5b48d0(this,_0x31a8b2(0x3b4),!0x1),_0xb1f4a5&&this['setShapeProps'](_0xb1f4a5);}[_0xa608a8(0x4f0)](){const _0x2de2ee=_0xa608a8;return{'unitId':this[_0x2de2ee(0x2e3)],'subUnitId':this[_0x2de2ee(0x2f5)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x2de2ee(0x304)]};}[_0xa608a8(0x327)](_0x20709a){const _0x35531b=_0xa608a8;this[_0x35531b(0x3b4)]!==_0x20709a&&(this[_0x35531b(0x3b4)]=_0x20709a,this['makeDirty'](!0x0));}[_0xa608a8(0x399)](){const _0x57216e=_0xa608a8;return this[_0x57216e(0x3b4)];}[_0xa608a8(0x426)](_0x79b1b6){const _0x451473=_0xa608a8;_0x79b1b6[_0x451473(0x498)]!==void 0x0&&(this[_0x451473(0x3fa)]=_0x79b1b6[_0x451473(0x498)]),_0x79b1b6[_0x451473(0x4a9)]!==void 0x0&&(this[_0x451473(0x304)]=_0x79b1b6['cxnIndex']),_0x79b1b6['unitId']!==void 0x0&&(this[_0x451473(0x2e3)]=_0x79b1b6[_0x451473(0x284)]),_0x79b1b6[_0x451473(0x226)]!==void 0x0&&(this['_subUnitId']=_0x79b1b6['subUnitId']),_0x79b1b6[_0x451473(0x399)]!==void 0x0&&(this['_isHighlighted']=_0x79b1b6['isHighlighted']),this['transformByState']({'width':_0x79b1b6[_0x451473(0x302)]??_0x11e0df['ShapeDefaultConfig']['cxnPointRadius']*0x2,'height':_0x79b1b6[_0x451473(0x474)]??_0x11e0df[_0x451473(0x4bb)][_0x451473(0x128)]*0x2});}[_0xa608a8(0x4cf)](_0x3c5ea4){const _0x2b9dca=_0xa608a8;let _0x1ad1c8=this[_0x2b9dca(0x3b4)]?_0x4f6e22[_0x2b9dca(0x4bc)]:_0x4f6e22['normal'];_0x559311['Circle'][_0x2b9dca(0x2ed)](_0x3c5ea4,{'radius':_0x11e0df[_0x2b9dca(0x4bb)][_0x2b9dca(0x128)],'fill':_0x1ad1c8[_0x2b9dca(0x1c1)],'stroke':_0x1ad1c8['stroke'],'strokeWidth':_0x1ad1c8[_0x2b9dca(0x440)],'evented':!0x0});}};let _0x582783=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x17c33d,_0x366e55,_0x42b444,_0x4dc991){const _0x2156f9=_0xa608a8;super(),this[_0x2156f9(0x413)]=_0x17c33d,this[_0x2156f9(0x23d)]=_0x366e55,this[_0x2156f9(0x3d7)]=_0x42b444,this['_sheetsShapeService']=_0x4dc991,_0x5b48d0(this,'_connectionSiteObjects',[]),_0x5b48d0(this,_0x2156f9(0x3ce),null),_0x5b48d0(this,_0x2156f9(0x161),-0x1),_0x5b48d0(this,_0x2156f9(0x3d9),null),_0x5b48d0(this,'_unitId',''),_0x5b48d0(this,_0x2156f9(0x2f5),''),_0x5b48d0(this,'_draggingConnectorId',null);}[_0xa608a8(0x1fe)](_0x53560f,_0x1ea347,_0x4ad7b6,_0x359741){const _0x3addd0=_0xa608a8;this[_0x3addd0(0x3d9)]=_0x53560f,this[_0x3addd0(0x2e3)]=_0x1ea347,this[_0x3addd0(0x2f5)]=_0x4ad7b6,this[_0x3addd0(0x18f)]=_0x359741;}[_0xa608a8(0x119)](_0x2bc959){const _0x555b6a=_0xa608a8;if(!this[_0x555b6a(0x3d9)])return null;let _0x1aae23=this[_0x555b6a(0x1ea)](_0x2bc959);return _0x1aae23?(this[_0x555b6a(0x3ce)]!==_0x1aae23[_0x555b6a(0x3d5)]&&(this[_0x555b6a(0x3f7)](),this[_0x555b6a(0x3ff)](_0x1aae23[_0x555b6a(0x3d5)],_0x1aae23[_0x555b6a(0x278)]),this[_0x555b6a(0x3ce)]=_0x1aae23[_0x555b6a(0x3d5)]),this[_0x555b6a(0x1f1)](_0x2bc959)):(this[_0x555b6a(0x3ce)]!==null&&(this[_0x555b6a(0x3f7)](),this[_0x555b6a(0x3ce)]=null),null);}[_0xa608a8(0x456)](){const _0x5935bf=_0xa608a8;this[_0x5935bf(0x3f7)](),this[_0x5935bf(0x3d9)]=null,this[_0x5935bf(0x3ce)]=null,this[_0x5935bf(0x161)]=-0x1,this[_0x5935bf(0x18f)]=null;}[_0xa608a8(0x529)](){const _0x1e2378=_0xa608a8;return this[_0x1e2378(0x3ce)]===null||this[_0x1e2378(0x161)]<0x0?null:{'shapeId':this[_0x1e2378(0x3ce)],'cxnIndex':this[_0x1e2378(0x161)]};}[_0xa608a8(0x1ea)](_0x34818d){const _0x35052b=_0xa608a8;let _0x199493=this['_drawingManagerService'][_0x35052b(0x19e)](this[_0x35052b(0x2e3)],this[_0x35052b(0x2f5)]);for(let _0x351575 of Object['keys'](_0x199493)){if(_0x351575===this[_0x35052b(0x18f)]||_0x199493[_0x351575][_0x35052b(0x351)]!==_0x244243[_0x35052b(0x138)][_0x35052b(0x4e9)])continue;let _0x291cc8=this[_0x35052b(0x524)][_0x35052b(0x335)](this[_0x35052b(0x2e3)],this[_0x35052b(0x2f5)],_0x351575);if(!_0x291cc8||(0x0,_0x11e0df[_0x35052b(0x42a)])(_0x291cc8[_0x35052b(0x4e2)]())||_0x291cc8[_0x35052b(0x35e)]()[_0x35052b(0x225)]===0x0||!this['_currentScene'])continue;let _0x1c9485=(0x0,_0x43c769[_0x35052b(0x280)])({'unitId':this[_0x35052b(0x2e3)],'subUnitId':this[_0x35052b(0x2f5)],'drawingId':_0x351575}),_0x462a7d=this[_0x35052b(0x3d9)]['getObjectIncludeInGroup'](_0x1c9485);if(!_0x462a7d)continue;let {left:_0x407de4,top:_0x19b487,width:_0x13ce71,height:_0x245c12}=_0x462a7d[_0x35052b(0x40c)](),_0x3ebf4b=_0x407de4+_0x13ce71/0x2,_0x3ac618=_0x19b487+_0x245c12/0x2,_0x4373bc=_0x462a7d[_0x35052b(0x31b)][_0x35052b(0x1a7)](),_0x5bac67=new _0x559311[(_0x35052b(0x331))]([_0x4373bc[0x0],_0x4373bc[0x1],_0x4373bc[0x2],_0x4373bc[0x3],_0x3ebf4b,_0x3ac618]),_0x3f0bf3=_0x462a7d['getParent'](),_0x45173f=(_0x462a7d[_0x35052b(0x285)]&&(_0x3f0bf3==null?void 0x0:_0x3f0bf3[_0x35052b(0x152)])===_0x559311[_0x35052b(0x148)][_0x35052b(0x2ba)]?_0x3f0bf3[_0x35052b(0x4d7)][_0x35052b(0x32b)](_0x5bac67):_0x5bac67)[_0x35052b(0x202)]()[_0x35052b(0x3af)](_0x34818d),_0x6fe0bf=_0x13ce71/0x2,_0x32103c=_0x245c12/0x2;if(_0x45173f['x']>=-_0x6fe0bf-0x5&&_0x45173f['x']<=_0x6fe0bf+0x5&&_0x45173f['y']>=-_0x32103c-0x5&&_0x45173f['y']<=_0x32103c+0x5)return{'shapeId':_0x351575,'shapeModel':_0x291cc8};}return null;}['_showConnectionSites'](_0x14da63,_0x481771){const _0x4c7aa4=_0xa608a8;if(!this['_currentScene'])return;let _0x2a6664=(0x0,_0x43c769[_0x4c7aa4(0x280)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x14da63}),_0x35949b=this[_0x4c7aa4(0x3d9)][_0x4c7aa4(0x47f)](_0x2a6664);if(!_0x35949b)return;let {left:_0x586074,top:_0x1eb256,width:_0x311d33,height:_0x127c45}=_0x35949b['getRealBound'](),_0x49ea93=_0x586074+_0x311d33/0x2,_0x4c57c9=_0x1eb256+_0x127c45/0x2,_0x4ceaa4=_0x35949b['transform'][_0x4c7aa4(0x1a7)](),_0x156ad4=new _0x559311[(_0x4c7aa4(0x331))]([_0x4ceaa4[0x0],_0x4ceaa4[0x1],_0x4ceaa4[0x2],_0x4ceaa4[0x3],_0x49ea93,_0x4c57c9]),_0x50bdb2=_0x35949b[_0x4c7aa4(0x43c)](),_0x16ae7c=_0x35949b[_0x4c7aa4(0x285)]&&(_0x50bdb2==null?void 0x0:_0x50bdb2[_0x4c7aa4(0x152)])===_0x559311[_0x4c7aa4(0x148)]['GROUP']?_0x50bdb2[_0x4c7aa4(0x4d7)]['multiply'](_0x156ad4):_0x156ad4;_0x481771[_0x4c7aa4(0x30c)]({'width':_0x311d33,'height':_0x127c45});let _0x20116f=_0x481771['getConnectionSiteList']();for(let _0x213ef6 of _0x20116f){let _0x3935ad=_0x213ef6['x']-_0x311d33/0x2,_0x356a43=_0x213ef6['y']-_0x127c45/0x2,_0x52d1c=_0x16ae7c[_0x4c7aa4(0x3af)]({'x':_0x3935ad,'y':_0x356a43}),_0x539b77=_0x52d1c['x'],_0x5cb215=_0x52d1c['y'],_0x529ad6=new _0xd942a4(_0x4c7aa4(0x522)+_0x14da63+'-'+_0x213ef6['index'],{'left':_0x539b77-_0x11e0df[_0x4c7aa4(0x4bb)][_0x4c7aa4(0x128)],'top':_0x5cb215-_0x11e0df['ShapeDefaultConfig'][_0x4c7aa4(0x128)],'targetShapeId':_0x14da63,'cxnIndex':_0x213ef6[_0x4c7aa4(0x293)],'unitId':this[_0x4c7aa4(0x2e3)],'subUnitId':this['_subUnitId'],'width':_0x11e0df[_0x4c7aa4(0x4bb)]['cxnPointRadius']*0x2,'height':_0x11e0df[_0x4c7aa4(0x4bb)][_0x4c7aa4(0x128)]*0x2,'zIndex':_0x559311['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x4c7aa4(0x3e2)][_0x4c7aa4(0x313)](_0x529ad6),this[_0x4c7aa4(0x3d9)]['addObject'](_0x529ad6,_0x559311[_0x4c7aa4(0x17a)]+0x2);}}[_0xa608a8(0x1f1)](_0x400f18){const _0x2ea653=_0xa608a8;let _0x399166=null,_0x2ea20c=0x1/0x0,_0x909353=null;for(let _0x517d35 of this[_0x2ea653(0x3e2)]){let _0x221d41=_0x517d35['left']+_0x11e0df['ShapeDefaultConfig']['cxnPointRadius'],_0x3cac85=_0x517d35[_0x2ea653(0x4f5)]+_0x11e0df[_0x2ea653(0x4bb)][_0x2ea653(0x128)],_0x4bf59a=_0x400f18['x']-_0x221d41,_0x1a2476=_0x400f18['y']-_0x3cac85,_0x38e846=Math['sqrt'](_0x4bf59a*_0x4bf59a+_0x1a2476*_0x1a2476);_0x38e846<_0x2ea20c&&(_0x2ea20c=_0x38e846,_0x399166=_0x517d35,_0x909353={'x':_0x221d41,'y':_0x3cac85});}let _0x36e426=_0x2ea20c<=0xa&&_0x399166?_0x399166[_0x2ea653(0x4f0)]()[_0x2ea653(0x4a9)]:-0x1;if(_0x36e426!==this[_0x2ea653(0x161)]){for(let _0x5e96ec of this[_0x2ea653(0x3e2)]){let _0x5c49cd=_0x5e96ec[_0x2ea653(0x4f0)]();_0x5e96ec[_0x2ea653(0x327)](_0x5c49cd[_0x2ea653(0x4a9)]===_0x36e426);}this[_0x2ea653(0x161)]=_0x36e426;}if(_0x2ea20c<=0xa&&_0x399166&&_0x909353){let _0x55153e=_0x399166[_0x2ea653(0x4f0)](),_0x31a237=this[_0x2ea653(0x281)](_0x55153e['shapeId'],_0x55153e[_0x2ea653(0x4a9)]);return{'shapeId':_0x55153e[_0x2ea653(0x3d5)],'cxnIndex':_0x55153e[_0x2ea653(0x4a9)],'unitId':_0x55153e[_0x2ea653(0x284)],'subUnitId':_0x55153e[_0x2ea653(0x226)],'worldPoint':_0x909353,'angle':_0x31a237};}return null;}[_0xa608a8(0x281)](_0x4c12d1,_0x1c2076){const _0x2c6c96=_0xa608a8;let _0x3453d6=this['_sheetsShapeService'][_0x2c6c96(0x335)](this['_unitId'],this[_0x2c6c96(0x2f5)],_0x4c12d1);if(!_0x3453d6)return 0x0;let _0x2fdf26=this[_0x2c6c96(0x3d7)][_0x2c6c96(0x462)]({'unitId':this[_0x2c6c96(0x2e3)],'subUnitId':this[_0x2c6c96(0x2f5)],'drawingId':_0x4c12d1});if(!(_0x2fdf26!=null&&_0x2fdf26['transform']))return 0x0;let {width:_0x148297=0x0,height:_0x21dc29=0x0,flipX:_0x529612=!0x1,flipY:_0x261a11=!0x1}=_0x2fdf26[_0x2c6c96(0x31b)];_0x3453d6[_0x2c6c96(0x30c)]({'width':_0x148297,'height':_0x21dc29});let _0x250448=_0x3453d6[_0x2c6c96(0x35e)]()['find'](_0x327c69=>_0x327c69['index']===_0x1c2076);if(!_0x250448)return 0x0;let _0x1912c0=_0x250448[_0x2c6c96(0x424)]/0xea60;return _0x529612&&(_0x1912c0=0xb4-_0x1912c0),_0x261a11&&(_0x1912c0=-_0x1912c0),_0x1912c0=(_0x1912c0%0x168+0x168)%0x168,_0x1912c0;}[_0xa608a8(0x3f7)](){const _0x155485=_0xa608a8;for(let _0x37954c of this[_0x155485(0x3e2)])_0x37954c[_0x155485(0x11e)]();this['_connectionSiteObjects']=[],this[_0x155485(0x161)]=-0x1;}[_0xa608a8(0x11e)](){const _0x4cf685=_0xa608a8;this[_0x4cf685(0x3f7)](),super[_0x4cf685(0x11e)]();}};_0x582783=_0x4cddfe([_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x559311[_0xa608a8(0x306)])),_0x542dc8(0x2,(0x0,_0x244243['Inject'])(_0x43c769[_0xa608a8(0x334)])),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349[_0xa608a8(0x439)]))],_0x582783);let _0x59ce19=class extends _0x244243['Disposable']{constructor(_0x4b2d13,_0x29e457,_0x166142,_0x409206,_0x1787e3,_0xfa5bf4,_0x42a1ef,_0x55ed4b){const _0x596bdb=_0xa608a8;super(),this['_sheetSkeletonService']=_0x4b2d13,this[_0x596bdb(0x4d8)]=_0x29e457,this[_0x596bdb(0x401)]=_0x166142,this[_0x596bdb(0x4b9)]=_0x409206,this['_groupCopyPasteController']=_0x1787e3,this[_0x596bdb(0x366)]=_0xfa5bf4,this['_renders']=_0x42a1ef,this[_0x596bdb(0x38a)]=_0x55ed4b,_0x5b48d0(this,_0x596bdb(0x231),void 0x0),this[_0x596bdb(0x45f)](),this[_0x596bdb(0x47c)]();}get['_focusedDrawings'](){const _0x9342dc=_0xa608a8;return this[_0x9342dc(0x401)][_0x9342dc(0x305)]();}[_0xa608a8(0x47c)](){this['_groupCopyPasteController']['registerFeaturePasteHook'](({fromUnitId:_0x19d830,fromSubUnitId:_0x4a008f,toUnitId:_0x52ca1c,toSubUnitId:_0x33413b,idMap:_0x4e1eb8})=>{const _0x1d1e93=_0x286e;let _0x21efd7=[],_0x4c7f2f=[];for(let [_0xdac024,_0xb89d8b]of _0x4e1eb8[_0x1d1e93(0x3b2)]()){let _0x42b800=this[_0x1d1e93(0x4b9)][_0x1d1e93(0x335)](_0x19d830,_0x4a008f,_0xdac024);if(!_0x42b800)continue;let _0x45e485=_0x42b800[_0x1d1e93(0x4e2)](),_0x487c88=JSON[_0x1d1e93(0x383)](JSON['stringify'](_0x42b800[_0x1d1e93(0x169)]()));if(_0x487c88[_0x1d1e93(0x24d)]){var _0x4f7341,_0x162fe2;let _0x31eb62=(_0x4f7341=_0x487c88[_0x1d1e93(0x24d)][_0x1d1e93(0x198)])==null?void 0x0:_0x4f7341[_0x1d1e93(0x3d5)],_0x56c67d=(_0x162fe2=_0x487c88[_0x1d1e93(0x24d)]['to'])==null?void 0x0:_0x162fe2[_0x1d1e93(0x3d5)],_0x3ad3d3=!_0x31eb62||_0x4e1eb8[_0x1d1e93(0x2e5)](_0x31eb62),_0x5400b6=!_0x56c67d||_0x4e1eb8[_0x1d1e93(0x2e5)](_0x56c67d);_0x3ad3d3&&_0x31eb62&&_0x487c88[_0x1d1e93(0x24d)][_0x1d1e93(0x198)]?_0x487c88[_0x1d1e93(0x24d)][_0x1d1e93(0x198)]={..._0x487c88[_0x1d1e93(0x24d)][_0x1d1e93(0x198)],'shapeId':_0x4e1eb8['get'](_0x31eb62)}:_0x487c88[_0x1d1e93(0x24d)][_0x1d1e93(0x198)]=void 0x0,_0x5400b6&&_0x56c67d&&_0x487c88[_0x1d1e93(0x24d)]['to']?_0x487c88['relation']['to']={..._0x487c88[_0x1d1e93(0x24d)]['to'],'shapeId':_0x4e1eb8[_0x1d1e93(0x20b)](_0x56c67d)}:_0x487c88['relation']['to']=void 0x0;}_0x21efd7[_0x1d1e93(0x313)]({'id':_0xb19349[_0x1d1e93(0x4da)]['id'],'params':{'unitId':_0x52ca1c,'subUnitId':_0x33413b,'shapeId':_0xb89d8b,'shapeType':_0x45e485,'shapeData':_0x487c88}}),_0x4c7f2f['push']({'id':_0xb19349['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x52ca1c,'subUnitId':_0x33413b,'shapeId':_0xb89d8b}});}return{'redos':_0x21efd7,'undos':_0x4c7f2f};});}[_0xa608a8(0x45f)](){const _0x3fdb43=_0xa608a8;this[_0x3fdb43(0x322)](this[_0x3fdb43(0x4d8)][_0x3fdb43(0x338)]({'id':_0x3fdb43(0x4c7),'onBeforeCopyFocusedObject':(_0x3d2c0d,_0x266869,_0x182144)=>{const _0x59239e=_0x3fdb43;this[_0x59239e(0x231)]=null;let _0x32d2b6=this[_0x59239e(0x12e)][_0x59239e(0x41a)](_0x1ddce3=>_0x1ddce3[_0x59239e(0x351)]===_0x244243[_0x59239e(0x138)][_0x59239e(0x4e9)]);return _0x32d2b6['length']!==0x0&&(this[_0x59239e(0x231)]={'unitId':_0x3d2c0d,'subUnitId':_0x266869,'copyType':_0x182144,'drawings':_0x32d2b6},!0x0);},'onBeforeCopy':(_0x1f15fb,_0x23f7f0,_0x4d20cf,_0x4cc4ab)=>{const _0x5910e2=_0x3fdb43;this['_copyInfo']=null,this[_0x5910e2(0x35b)](_0x1f15fb,_0x23f7f0,_0x4d20cf,_0x4cc4ab);},'onPasteCells':(_0x28bd8a,_0x304c90,_0x2719ed,_0x23aac)=>{const _0x49fec0=_0x3fdb43;if(!_0x23aac[_0x49fec0(0x477)]||!_0x28bd8a||!this[_0x49fec0(0x231)])return{'redos':[],'undos':[]};let {pasteType:_0x462d31}=_0x23aac;return _0x462d31===_0x180b4c[_0x49fec0(0x276)]['DEFAULT_PASTE']?this[_0x49fec0(0x228)](_0x304c90,this[_0x49fec0(0x231)][_0x49fec0(0x422)]===_0x180b4c[_0x49fec0(0x2c0)][_0x49fec0(0x28d)]):{'redos':[],'undos':[]};}}));}[_0xa608a8(0x35b)](_0x52ed4a,_0xf4fe47,_0xc8e01,_0x3bd722){const _0x1d2018=_0xa608a8;let _0x5b4903=this[_0x1d2018(0x28e)][_0x1d2018(0x34d)](_0x52ed4a,_0xf4fe47);if(!_0x5b4903)return;let _0x55af76=(0x0,_0x126f61[_0x1d2018(0x1a2)])(_0x5b4903,_0xc8e01);if(!_0x55af76)return;let {startX:_0x3f921b,endX:_0x551909,startY:_0x224bad,endY:_0x4c7122}=_0x55af76,_0x11ec1e=this[_0x1d2018(0x401)][_0x1d2018(0x19e)](_0x52ed4a,_0xf4fe47),_0x27448c=[];for(let [_0x572d53,_0x438db2]of Object[_0x1d2018(0x3b2)](_0x11ec1e)){if(_0x438db2[_0x1d2018(0x351)]!==_0x244243[_0x1d2018(0x138)]['DRAWING_SHAPE'])continue;let {transform:_0x554175}=_0x438db2;if(!_0x554175)continue;let {left:_0x37ab0c=0x0,top:_0x274637=0x0,width:_0x411343=0x0,height:_0x4eece3=0x0}=_0x554175;_0x3f921b<=_0x37ab0c&&_0x551909>=_0x37ab0c+_0x411343&&_0x224bad<=_0x274637&&_0x4c7122>=_0x274637+_0x4eece3&&_0x27448c[_0x1d2018(0x313)](_0x438db2);}_0x27448c[_0x1d2018(0x225)]>0x0&&(this[_0x1d2018(0x231)]={'unitId':_0x52ed4a,'subUnitId':_0xf4fe47,'copyType':_0x3bd722,'copyRange':_0xc8e01,'drawings':_0x27448c});}[_0xa608a8(0x228)](_0x25810e,_0x4e22bc){const _0x21cf14=_0xa608a8;var _0x115741,_0x3f7d87;let {unitId:_0x23e833,subUnitId:_0x107ab9,range:_0x4f4a53}=_0x25810e,_0x1c68ce=this[_0x21cf14(0x231)],_0x2d9527=(_0x115741=this[_0x21cf14(0x366)]['getUnit'](_0x1c68ce[_0x21cf14(0x284)],_0x244243[_0x21cf14(0x10a)][_0x21cf14(0x127)]))==null?void 0x0:_0x115741[_0x21cf14(0x4f7)](_0x1c68ce[_0x21cf14(0x226)]),_0x4396e4=(_0x3f7d87=this[_0x21cf14(0x366)]['getUnit'](_0x23e833,_0x244243[_0x21cf14(0x10a)]['UNIVER_SHEET']))==null?void 0x0:_0x3f7d87[_0x21cf14(0x4f7)](_0x107ab9),_0x8fd6d5=(_0x2d9527==null?void 0x0:_0x2d9527['getConfig']()[_0x21cf14(0x297)])??_0x244243['SheetTypes']['GRID'],_0x550e9c=(_0x4396e4==null?void 0x0:_0x4396e4[_0x21cf14(0x3a1)]()[_0x21cf14(0x297)])??_0x244243[_0x21cf14(0x1c5)][_0x21cf14(0x2c5)];if(_0x8fd6d5===_0x244243[_0x21cf14(0x1c5)][_0x21cf14(0x23f)]||_0x550e9c===_0x244243[_0x21cf14(0x1c5)][_0x21cf14(0x23f)])return this['_generateChartSheetCopy'](_0x25810e,_0x4e22bc);let _0x8a71bb=this[_0x21cf14(0x28e)]['getSkeleton'](_0x23e833,_0x107ab9);if(!_0x8a71bb)return{'redos':[],'undos':[]};let _0x2244be=(0x0,_0x126f61[_0x21cf14(0x160)])(_0x4f4a53),{unitId:_0x3f4313,subUnitId:_0x1e307c,copyRange:_0x35b760,drawings:_0xfa5c73}=this[_0x21cf14(0x231)],_0x11a9ec=this['_sheetSkeletonService']['getSkeleton'](_0x3f4313,_0x1e307c);if(!_0x11a9ec)return{'redos':[],'undos':[]};let _0x185c0a;if(!_0x35b760){let _0x4e9c3f=0x1/0x0,_0x14f646=0x1/0x0;for(let _0x4a7c01 of _0xfa5c73){let {left:_0x2c2a71=0x0,top:_0x374408=0x0}=_0x4a7c01['transform']??{};_0x2c2a71<_0x4e9c3f&&(_0x4e9c3f=_0x2c2a71),_0x374408<_0x14f646&&(_0x14f646=_0x374408);}_0x4e9c3f!==0x1/0x0&&_0x14f646!==0x1/0x0&&(_0x185c0a={'left':_0x4e9c3f,'top':_0x14f646});}let _0x5660ee=new Map();if(!_0x4e22bc){for(let _0x3757b8 of _0xfa5c73)_0x5660ee['set'](_0x3757b8[_0x21cf14(0x2b5)],(0x0,_0x244243[_0x21cf14(0x251)])());}let _0x197e28=[],_0x356bba=[];for(let _0x53b24d of _0xfa5c73){let {drawingId:_0x2d18f9,transform:_0xc33cb3,sheetTransform:_0x2c2859}=_0x53b24d;if(!_0xc33cb3||!_0x2c2859)continue;let _0x48583e=this[_0x21cf14(0x295)]({'transform':_0xc33cb3,'sheetTransform':_0x2c2859},{'skeleton':_0x11a9ec,'range':_0x35b760},{'skeleton':_0x8a71bb,'range':_0x2244be},_0x185c0a);if(_0x4e22bc){let {redos:_0x2a4cb1,undos:_0x39a6d9}=this[_0x21cf14(0x32a)]({'fromUnitId':_0x3f4313,'fromSubUnitId':_0x1e307c,'toUnitId':_0x23e833,'toSubUnitId':_0x107ab9,'drawing':_0x53b24d,'newTransforms':_0x48583e});_0x197e28[_0x21cf14(0x313)](..._0x2a4cb1),_0x356bba['push'](..._0x39a6d9);continue;}let {redos:_0x4c821f,undos:_0xc58db6}=this[_0x21cf14(0x1be)]({'toUnitId':_0x23e833,'toSubUnitId':_0x107ab9,'drawing':_0x53b24d,'newTransforms':_0x48583e,'newDrawingId':_0x5660ee[_0x21cf14(0x20b)](_0x2d18f9),'idMap':_0x5660ee});_0x197e28[_0x21cf14(0x313)](..._0x4c821f),_0x356bba[_0x21cf14(0x313)](..._0xc58db6);}return{'redos':_0x197e28,'undos':_0x356bba};}['_generateChartSheetCopy'](_0xb68bc4,_0x3908d5){const _0x35b4de=_0xa608a8;var _0x2e6faa;if(_0x3908d5)throw new _0x244243['CustomCommandExecutionError'](_0x180b4c['SheetPasteCommand']['id']);let {unitId:_0xf0797b,subUnitId:_0x219cd3}=_0xb68bc4;if(!this[_0x35b4de(0x38a)][_0x35b4de(0x2f2)]({'workbookTypes':[_0x126f61[_0x35b4de(0x32c)]],'worksheetTypes':[_0x126f61[_0x35b4de(0x2fb)]]},_0xf0797b,_0x219cd3))throw new _0x244243[(_0x35b4de(0x407))](_0x180b4c[_0x35b4de(0x189)]['id']);let _0x5aa528=(_0x2e6faa=this[_0x35b4de(0x366)][_0x35b4de(0x150)](_0xf0797b,_0x244243[_0x35b4de(0x10a)][_0x35b4de(0x127)]))==null?void 0x0:_0x2e6faa[_0x35b4de(0x4f7)](_0x219cd3),_0x3d3bc6=_0x5aa528==null?void 0x0:_0x5aa528[_0x35b4de(0x3a1)](),_0x3c346b=(_0x3d3bc6==null?void 0x0:_0x3d3bc6['type'])??_0x244243[_0x35b4de(0x1c5)][_0x35b4de(0x2c5)],_0x575f56=this[_0x35b4de(0x231)],_0x4bc8a3=_0x575f56[_0x35b4de(0x4d4)];if(!this[_0x35b4de(0x38a)][_0x35b4de(0x2f2)]({'workbookTypes':[_0x126f61[_0x35b4de(0x4d3)]],'worksheetTypes':[_0x126f61[_0x35b4de(0x146)]]},_0x575f56[_0x35b4de(0x284)],_0x575f56[_0x35b4de(0x226)])||_0x4bc8a3[_0x35b4de(0x38c)](_0x175850=>_0x175850[_0x35b4de(0x32e)]||!this[_0x35b4de(0x4b9)][_0x35b4de(0x335)](_0x575f56['unitId'],_0x575f56['subUnitId'],_0x175850['drawingId'])||!_0x244243['Tools']['diffValue'](_0x175850,this[_0x35b4de(0x401)][_0x35b4de(0x462)](_0x175850))))throw new _0x244243[(_0x35b4de(0x407))](_0x180b4c[_0x35b4de(0x189)]['id']);let _0x26e215=null;if(_0x3c346b===_0x244243[_0x35b4de(0x1c5)]['CHART']){var _0x309425;let _0x4b2c93=(_0x309425=this[_0x35b4de(0x4db)][_0x35b4de(0x236)](_0xf0797b))==null?void 0x0:_0x309425[_0x35b4de(0x1e2)][_0x35b4de(0x20b)](_0x180b4c[_0x35b4de(0x46a)][_0x35b4de(0x22b)]);_0x4b2c93&&(_0x26e215=(0x0,_0x29aa40[_0x35b4de(0x4c2)])(_0x4bc8a3,{'left':_0x4b2c93[_0x35b4de(0x371)],'top':_0x4b2c93[_0x35b4de(0x4f5)],'width':_0x4b2c93[_0x35b4de(0x302)],'height':_0x4b2c93[_0x35b4de(0x474)]},(_0x3d3bc6==null?void 0x0:_0x3d3bc6[_0x35b4de(0x391)])===_0x244243[_0x35b4de(0x296)][_0x35b4de(0x4cb)]));}else{let _0x1ac4b2=this['_sheetSkeletonService']['getSkeleton'](_0xf0797b,_0x219cd3),_0x25f66f=_0x1ac4b2&&(0x0,_0x126f61[_0x35b4de(0x1a2)])(_0x1ac4b2,(0x0,_0x126f61[_0x35b4de(0x160)])(_0xb68bc4[_0x35b4de(0x37a)]));if(_0x25f66f&&_0x4bc8a3[_0x35b4de(0x225)]){let _0x4b96d7=Math[_0x35b4de(0x3f6)](..._0x4bc8a3['map'](_0x46cd84=>_0x46cd84[_0x35b4de(0x31b)][_0x35b4de(0x371)])),_0x39918a=Math['min'](..._0x4bc8a3[_0x35b4de(0x153)](_0x5ed8d4=>_0x5ed8d4['transform'][_0x35b4de(0x4f5)]));_0x26e215=_0x4bc8a3[_0x35b4de(0x153)](_0x32e366=>(0x0,_0x29aa40['applySheetDrawingPlacement'])(_0x32e366,{'kind':_0x29aa40[_0x35b4de(0x47a)]['Position'],'bounds':{'left':_0x25f66f[_0x35b4de(0x314)]+_0x32e366['transform'][_0x35b4de(0x371)]-_0x4b96d7,'top':_0x25f66f[_0x35b4de(0x363)]+_0x32e366['transform'][_0x35b4de(0x4f5)]-_0x39918a,'width':_0x32e366[_0x35b4de(0x31b)][_0x35b4de(0x302)],'height':_0x32e366[_0x35b4de(0x31b)][_0x35b4de(0x474)]}},_0x1ac4b2));}}if(!_0x26e215)throw new _0x244243[(_0x35b4de(0x407))](_0x180b4c['SheetPasteCommand']['id']);let _0x399aa6=new Map(_0x4bc8a3[_0x35b4de(0x153)](_0x208857=>[_0x208857[_0x35b4de(0x2b5)],(0x0,_0x244243[_0x35b4de(0x251)])()])),_0x4d6e4b=[],_0x40fb82=[];for(let [_0x53e32b,_0x23dc34]of _0x4bc8a3['entries']()){let _0x59170e=_0x26e215[_0x53e32b],_0xfa81aa=this[_0x35b4de(0x1be)]({'toUnitId':_0xf0797b,'toSubUnitId':_0x219cd3,'drawing':_0x23dc34,'idMap':_0x399aa6,'newDrawingId':_0x399aa6[_0x35b4de(0x20b)](_0x23dc34[_0x35b4de(0x2b5)]),'newTransforms':{'transform':_0x59170e[_0x35b4de(0x31b)],'sheetTransform':_0x59170e[_0x35b4de(0x178)],'axisAlignSheetTransform':_0x59170e[_0x35b4de(0x388)],'anchorType':_0x59170e[_0x35b4de(0x45c)]}});_0x4d6e4b[_0x35b4de(0x313)](..._0xfa81aa[_0x35b4de(0x2dc)]),_0x40fb82['unshift'](..._0xfa81aa[_0x35b4de(0x406)]);}return{'redos':_0x4d6e4b,'undos':_0x40fb82};}[_0xa608a8(0x32a)](_0x16590d){const _0x707a77=_0xa608a8;let {fromUnitId:_0x2c0be,fromSubUnitId:_0x579164,toUnitId:_0x414758,toSubUnitId:_0x4b866e,drawing:_0x21195f,newTransforms:_0x5af391}=_0x16590d,_0x7784f5={..._0x21195f,'unitId':_0x414758,'subUnitId':_0x4b866e,..._0x5af391};if(_0x414758===_0x2c0be&&_0x4b866e===_0x579164){let {redo:_0x1cd200,undo:_0x253472,objects:_0x513c9a}=this[_0x707a77(0x401)]['getBatchUpdateOp']([_0x7784f5]);return{'redos':[{'id':_0x29aa40[_0x707a77(0x4e0)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'type':_0x29aa40[_0x707a77(0x1a9)][_0x707a77(0x43e)],'op':_0x1cd200,'objects':_0x513c9a}}],'undos':[{'id':_0x29aa40[_0x707a77(0x4e0)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'type':_0x29aa40[_0x707a77(0x1a9)][_0x707a77(0x43e)],'op':_0x253472,'objects':_0x513c9a}}]};}{let _0x52a5f2=this[_0x707a77(0x401)]['getBatchRemoveOp']([_0x21195f]),_0x49068d=this[_0x707a77(0x401)]['getBatchAddOp']([_0x7784f5]),_0x25ea8b=this[_0x707a77(0x4b9)][_0x707a77(0x335)](_0x21195f[_0x707a77(0x284)],_0x21195f['subUnitId'],_0x21195f['drawingId']);if(!_0x25ea8b)return{'redos':[],'undos':[]};let _0x8fc202=_0x25ea8b[_0x707a77(0x4e2)](),_0xfdb071=JSON[_0x707a77(0x383)](JSON[_0x707a77(0x329)](_0x25ea8b[_0x707a77(0x169)]()));return{'redos':[{'id':_0x29aa40['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2c0be,'subUnitId':_0x579164,'type':_0x29aa40[_0x707a77(0x1a9)][_0x707a77(0x1d1)],'op':_0x52a5f2[_0x707a77(0x4ec)],'objects':_0x52a5f2[_0x707a77(0x418)]}},{'id':_0xb19349[_0x707a77(0x2b4)]['id'],'params':{'unitId':_0x2c0be,'subUnitId':_0x579164,'shapeId':_0x21195f['drawingId']}},{'id':_0x29aa40[_0x707a77(0x4e0)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'type':_0x29aa40[_0x707a77(0x1a9)][_0x707a77(0x210)],'op':_0x49068d[_0x707a77(0x4ec)],'objects':_0x49068d['objects']}},{'id':_0xb19349[_0x707a77(0x4da)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'shapeId':_0x21195f[_0x707a77(0x2b5)],'shapeType':_0x8fc202,'shapeData':_0xfdb071}}],'undos':[{'id':_0x29aa40[_0x707a77(0x4e0)]['id'],'params':{'unitId':_0x2c0be,'subUnitId':_0x579164,'type':_0x29aa40['DrawingApplyType'][_0x707a77(0x210)],'op':_0x52a5f2[_0x707a77(0x4f2)],'objects':_0x52a5f2['objects']}},{'id':_0xb19349[_0x707a77(0x4da)]['id'],'params':{'unitId':_0x2c0be,'subUnitId':_0x579164,'shapeId':_0x21195f[_0x707a77(0x2b5)],'shapeType':_0x8fc202,'shapeData':_0xfdb071}},{'id':_0x29aa40[_0x707a77(0x4e0)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'type':_0x29aa40[_0x707a77(0x1a9)][_0x707a77(0x1d1)],'op':_0x49068d[_0x707a77(0x4f2)],'objects':_0x49068d[_0x707a77(0x418)]}},{'id':_0xb19349[_0x707a77(0x2b4)]['id'],'params':{'unitId':_0x414758,'subUnitId':_0x4b866e,'shapeId':_0x21195f[_0x707a77(0x2b5)]}}]};}}[_0xa608a8(0x1be)](_0x372815){const _0x1480ff=_0xa608a8;let {toUnitId:_0x14b697,toSubUnitId:_0x119aa9,drawing:_0x31ca63,newTransforms:_0x1d277e,newDrawingId:_0x3f1a8c,idMap:_0x3316ad}=_0x372815,_0xae043={..._0x31ca63,'unitId':_0x14b697,'subUnitId':_0x119aa9,'drawingId':_0x3f1a8c,..._0x1d277e},{redo:_0x465f1e,undo:_0x2bd203,objects:_0x2d26e7}=this[_0x1480ff(0x401)][_0x1480ff(0x250)]([_0xae043]),_0x5a96a7=this[_0x1480ff(0x4b9)][_0x1480ff(0x335)](_0x31ca63[_0x1480ff(0x284)],_0x31ca63['subUnitId'],_0x31ca63['drawingId']);if(!_0x5a96a7)return{'redos':[],'undos':[]};let _0x3c65b6=_0x5a96a7['getShapeType'](),_0x44477f=JSON[_0x1480ff(0x383)](JSON[_0x1480ff(0x329)](_0x5a96a7[_0x1480ff(0x169)]()));if(_0x44477f[_0x1480ff(0x24d)]){var _0x353128,_0x15a0c0;let _0x44af22=(_0x353128=_0x44477f[_0x1480ff(0x24d)][_0x1480ff(0x198)])==null?void 0x0:_0x353128[_0x1480ff(0x3d5)],_0xd2324b=(_0x15a0c0=_0x44477f['relation']['to'])==null?void 0x0:_0x15a0c0[_0x1480ff(0x3d5)],_0x4e5ab6=!_0x44af22||_0x3316ad[_0x1480ff(0x2e5)](_0x44af22),_0x3ca01e=!_0xd2324b||_0x3316ad[_0x1480ff(0x2e5)](_0xd2324b);_0x4e5ab6&&_0x44af22&&_0x44477f[_0x1480ff(0x24d)][_0x1480ff(0x198)]?_0x44477f[_0x1480ff(0x24d)][_0x1480ff(0x198)]={..._0x44477f['relation'][_0x1480ff(0x198)],'shapeId':_0x3316ad[_0x1480ff(0x20b)](_0x44af22)}:_0x44477f[_0x1480ff(0x24d)][_0x1480ff(0x198)]=void 0x0,_0x3ca01e&&_0xd2324b&&_0x44477f[_0x1480ff(0x24d)]['to']?_0x44477f['relation']['to']={..._0x44477f[_0x1480ff(0x24d)]['to'],'shapeId':_0x3316ad[_0x1480ff(0x20b)](_0xd2324b)}:_0x44477f[_0x1480ff(0x24d)]['to']=void 0x0;}return{'redos':[{'id':_0x29aa40[_0x1480ff(0x4e0)]['id'],'params':{'unitId':_0x14b697,'subUnitId':_0x119aa9,'type':_0x29aa40[_0x1480ff(0x1a9)]['INSERT'],'op':_0x465f1e,'objects':_0x2d26e7}},{'id':_0xb19349[_0x1480ff(0x4da)]['id'],'params':{'unitId':_0x14b697,'subUnitId':_0x119aa9,'shapeId':_0x3f1a8c,'shapeType':_0x3c65b6,'shapeData':_0x44477f}}],'undos':[{'id':_0x29aa40['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x14b697,'subUnitId':_0x119aa9,'type':_0x29aa40[_0x1480ff(0x1a9)][_0x1480ff(0x1d1)],'op':_0x2bd203,'objects':_0x2d26e7}},{'id':_0xb19349[_0x1480ff(0x2b4)]['id'],'params':{'unitId':_0x14b697,'subUnitId':_0x119aa9,'shapeId':_0x3f1a8c}}]};}[_0xa608a8(0x295)](_0xf2b507,_0x182932,_0x3cedbf,_0x2102ae){const _0x2c4d7e=_0xa608a8;let {range:_0x1ec2e7,skeleton:_0x3c7914}=_0x182932,{range:_0x34f164,skeleton:_0x44879a}=_0x3cedbf,{transform:_0x3b5ede,sheetTransform:_0x3d9286}=_0xf2b507,_0x812121={..._0x3b5ede};if(_0x1ec2e7){let _0x9dae34=(0x0,_0x126f61[_0x2c4d7e(0x1a2)])(_0x3c7914,_0x1ec2e7),_0x53437f=(0x0,_0x126f61[_0x2c4d7e(0x1a2)])(_0x44879a,_0x34f164);if(_0x9dae34&&_0x53437f){let _0x49ddd9=_0x53437f[_0x2c4d7e(0x314)]-_0x9dae34[_0x2c4d7e(0x314)],_0x2d1ae3=_0x53437f['startY']-_0x9dae34[_0x2c4d7e(0x363)];_0x812121[_0x2c4d7e(0x371)]=(_0x812121[_0x2c4d7e(0x371)]??0x0)+_0x49ddd9,_0x812121[_0x2c4d7e(0x4f5)]=(_0x812121['top']??0x0)+_0x2d1ae3;}}else{let _0x497ea3=(0x0,_0x126f61['attachRangeWithCoord'])(_0x44879a,_0x34f164);if(_0x2102ae&&_0x497ea3){let _0x532e09=(_0x812121[_0x2c4d7e(0x371)]??0x0)-_0x2102ae[_0x2c4d7e(0x371)],_0x3a33dd=(_0x812121['top']??0x0)-_0x2102ae[_0x2c4d7e(0x4f5)];_0x812121[_0x2c4d7e(0x371)]=_0x497ea3[_0x2c4d7e(0x314)]+_0x532e09,_0x812121[_0x2c4d7e(0x4f5)]=_0x497ea3['startY']+_0x3a33dd;}else _0x812121['left']=_0x497ea3==null?void 0x0:_0x497ea3['startX'],_0x812121['top']=_0x497ea3==null?void 0x0:_0x497ea3[_0x2c4d7e(0x363)];}return{'transform':_0x812121,'sheetTransform':(0x0,_0x29aa40['transformToDrawingPosition'])(_0x812121,_0x44879a)??_0x3d9286};}};_0x59ce19=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x126f61[_0xa608a8(0x4ad)])),_0x542dc8(0x1,(0x0,_0x244243['Inject'])(_0x180b4c[_0xa608a8(0x3aa)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x29aa40[_0xa608a8(0x2fe)])),_0x542dc8(0x3,(0x0,_0x244243['Inject'])(_0xb19349[_0xa608a8(0x439)])),_0x542dc8(0x4,(0x0,_0x244243['Inject'])(_0x37d78b[_0xa608a8(0x315)])),_0x542dc8(0x5,_0x244243[_0xa608a8(0x39a)]),_0x542dc8(0x6,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0x7,(0x0,_0x244243['Inject'])(_0x126f61[_0xa608a8(0x30d)]))],_0x59ce19);var _0x25afec=class extends _0x559311[_0xa608a8(0x115)]{constructor(_0x214de4,_0x21861c){const _0x3a8480=_0xa608a8;super(_0x214de4,_0x21861c),_0x5b48d0(this,'_shapeId',null),_0x5b48d0(this,_0x3a8480(0x525),null),_0x5b48d0(this,_0x3a8480(0x2e3),null),_0x5b48d0(this,_0x3a8480(0x2f5),null),_0x5b48d0(this,_0x3a8480(0x277),!0x1),_0x21861c&&this['setShapeProps'](_0x21861c);}[_0xa608a8(0x18a)](){const _0x289652=_0xa608a8;return{'unitId':this['_unitId'],'subUnitId':this[_0x289652(0x2f5)],'drawingId':this[_0x289652(0x34c)]};}[_0xa608a8(0x426)](_0x5146b5){const _0x4a5d51=_0xa608a8;_0x5146b5[_0x4a5d51(0x3d5)]!==void 0x0&&(this[_0x4a5d51(0x34c)]=_0x5146b5['shapeId']),_0x5146b5[_0x4a5d51(0x284)]!==void 0x0&&(this[_0x4a5d51(0x2e3)]=_0x5146b5[_0x4a5d51(0x284)]),_0x5146b5[_0x4a5d51(0x226)]!==void 0x0&&(this[_0x4a5d51(0x2f5)]=_0x5146b5[_0x4a5d51(0x226)]),_0x5146b5[_0x4a5d51(0x1b1)]!==void 0x0&&(this[_0x4a5d51(0x277)]=_0x5146b5['isStartConnectorPoint']),this[_0x4a5d51(0x27d)]({'width':_0x5146b5[_0x4a5d51(0x302)],'height':_0x5146b5[_0x4a5d51(0x474)]});}['_draw'](_0x382995){const _0x101c3e=_0xa608a8;_0x559311[_0x101c3e(0x1cd)][_0x101c3e(0x2ed)](_0x382995,{'radius':_0x11e0df[_0x101c3e(0x4bb)][_0x101c3e(0x128)],'fill':_0x11e0df[_0x101c3e(0x4bb)][_0x101c3e(0x342)],'stroke':_0x11e0df[_0x101c3e(0x4bb)]['cxnPointStroke'],'strokeWidth':_0x11e0df['ShapeDefaultConfig'][_0x101c3e(0x375)],'evented':!0x0});}};let _0x3e8676=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x5bd4d1,_0x282f9d,_0x3a6a6a,_0x521fbf,_0x4c7d11,_0x3e068b,_0x3e4af4,_0x2b7d68){const _0x406cee=_0xa608a8;super(),this['_context']=_0x5bd4d1,this[_0x406cee(0x480)]=_0x282f9d,this[_0x406cee(0x23d)]=_0x3a6a6a,this[_0x406cee(0x3d7)]=_0x521fbf,this[_0x406cee(0x1e8)]=_0x4c7d11,this[_0x406cee(0x524)]=_0x3e068b,this[_0x406cee(0x199)]=_0x3e4af4,this[_0x406cee(0x3db)]=_0x2b7d68,_0x5b48d0(this,'_activeShapeId',void 0x0),_0x5b48d0(this,_0x406cee(0x2e3),void 0x0),_0x5b48d0(this,'_subUnitId',void 0x0),_0x5b48d0(this,_0x406cee(0x121),[]),_0x5b48d0(this,_0x406cee(0x4b0),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x5b48d0(this,'_activeShapeModel',void 0x0),_0x5b48d0(this,'_isConnecting',!0x1),_0x5b48d0(this,_0x406cee(0x4e8),!0x1),_0x5b48d0(this,_0x406cee(0x185),!0x1),_0x5b48d0(this,_0x406cee(0x4a4),void 0x0),_0x5b48d0(this,'_cxtHandlerPointerUp',void 0x0),_0x5b48d0(this,_0x406cee(0x3bb),null),this[_0x406cee(0x451)]();}[_0xa608a8(0x451)](){const _0x4bf485=_0xa608a8;this[_0x4bf485(0x1db)](),this[_0x4bf485(0x497)]();}['_getDrawingRect'](){const _0x2b4662=_0xa608a8;if(!this['_unitId']||!this[_0x2b4662(0x2f5)]||!this[_0x2b4662(0x1ed)])return;let _0x1979c8={'unitId':this[_0x2b4662(0x2e3)],'subUnitId':this[_0x2b4662(0x2f5)],'drawingId':this[_0x2b4662(0x1ed)]},{transform:_0x4a6487}=this['_drawingManagerService']['getDrawingByParam'](_0x1979c8);if(_0x4a6487)return{'left':_0x4a6487['left']||0x0,'top':_0x4a6487[_0x2b4662(0x4f5)]||0x0,'width':_0x4a6487[_0x2b4662(0x302)]||0x0,'height':_0x4a6487[_0x2b4662(0x474)]||0x0,'flipX':_0x4a6487['flipX']||!0x1,'flipY':_0x4a6487[_0x2b4662(0x4fe)]||!0x1,'angle':_0x4a6487['angle']};}['_addShapeConnectorHandlerObjects'](){const _0x12b063=_0xa608a8;if(this[_0x12b063(0x2e3)]===void 0x0||this[_0x12b063(0x2f5)]===void 0x0||this[_0x12b063(0x1ed)]===void 0x0)return;let _0x318987=this[_0x12b063(0x23d)][_0x12b063(0x236)](this[_0x12b063(0x2e3)]);if(!_0x318987||!_0x318987[_0x12b063(0x3cf)](_0x180b4c[_0x12b063(0x23a)])['getCurrentSkeleton']())return;let {scene:_0xb7fd7f}=_0x318987,_0x251128=this[_0x12b063(0x20a)]();if(!_0x251128)return;let _0x5e8bb8=this[_0x12b063(0x524)]['getShapeModel'](this[_0x12b063(0x2e3)],this['_subUnitId'],this[_0x12b063(0x1ed)]);if(!_0x5e8bb8||!(0x0,_0x11e0df['isConnectorShape'])(_0x5e8bb8[_0x12b063(0x4e2)]()))return;let _0x83632f=_0x5e8bb8[_0x12b063(0x4aa)]();if(_0x83632f[_0x12b063(0x225)]<0x2)return;let _0x26c6bd=new _0x11e0df['ConnectorCoordinateTransform'](_0x251128),_0x3d3840=_0x83632f[0x0],_0x241c89=_0x83632f[_0x83632f['length']-0x1],_0x4cdf28=_0x26c6bd[_0x12b063(0x20c)](_0x3d3840),_0x1b4729=_0x26c6bd[_0x12b063(0x20c)](_0x241c89);this[_0x12b063(0x26a)](_0xb7fd7f,{..._0x4cdf28},!0x0),this[_0x12b063(0x26a)](_0xb7fd7f,{..._0x1b4729},!0x1);}[_0xa608a8(0x26a)](_0x36ffa7,_0x5ec2e6,_0x25b7c9){const _0x326fe0=_0xa608a8;if(this[_0x326fe0(0x1ed)]===void 0x0||this[_0x326fe0(0x2e3)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x443f2=_0x326fe0(0x292)+this[_0x326fe0(0x2e3)]+'-'+this[_0x326fe0(0x2f5)]+'-'+this[_0x326fe0(0x1ed)]+'-'+(_0x25b7c9?_0x326fe0(0x229):'end'),_0x515b92=_0x36ffa7[_0x326fe0(0x47f)](_0x443f2);if(_0x515b92){_0x515b92[_0x326fe0(0x27d)]({'left':_0x5ec2e6['x']-_0x11e0df['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x5ec2e6['y']-_0x11e0df[_0x326fe0(0x4bb)][_0x326fe0(0x128)]});return;}let _0x3398dc=new _0x25afec(_0x443f2,{'left':_0x5ec2e6['x']-_0x11e0df[_0x326fe0(0x4bb)][_0x326fe0(0x128)],'top':_0x5ec2e6['y']-_0x11e0df[_0x326fe0(0x4bb)][_0x326fe0(0x128)],'shapeId':this[_0x326fe0(0x1ed)],'unitId':this[_0x326fe0(0x2e3)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x25b7c9,'width':_0x11e0df[_0x326fe0(0x4bb)][_0x326fe0(0x128)]*0x2,'height':_0x11e0df[_0x326fe0(0x4bb)][_0x326fe0(0x128)]*0x2,'zIndex':_0x559311[_0x326fe0(0x17a)]+0x1,'evented':!0x0});this[_0x326fe0(0x121)][_0x326fe0(0x313)](_0x3398dc),this[_0x326fe0(0x29b)](_0x3398dc,_0x36ffa7,_0x25b7c9),_0x36ffa7[_0x326fe0(0x1d6)](_0x3398dc,_0x559311[_0x326fe0(0x17a)]+0x1);}[_0xa608a8(0x412)](_0x105f8c,_0x1044c2){const _0x51175c=_0xa608a8;var _0xcc6229;let _0x3d74d4={'x':0x0,'y':0x0};if(!_0x105f8c||!_0x1044c2)return _0x3d74d4;let _0x26cf98=this[_0x51175c(0x23d)][_0x51175c(0x236)](_0x105f8c);if(!_0x26cf98||!_0x26cf98[_0x51175c(0x3cf)](_0x180b4c[_0x51175c(0x23a)])[_0x51175c(0x34d)](_0x1044c2))return _0x3d74d4;let _0x34467d=_0x26cf98[_0x51175c(0x3cf)](_0x180b4c[_0x51175c(0x369)]),_0x317042=_0x34467d==null?void 0x0:_0x34467d[_0x51175c(0x3da)]();if(!_0x317042)return _0x3d74d4;let _0x4b6448=(_0xcc6229=this[_0x51175c(0x1e8)][_0x51175c(0x150)](_0x105f8c))==null?void 0x0:_0xcc6229[_0x51175c(0x4f7)](_0x1044c2);if(!_0x4b6448)return _0x3d74d4;let _0x32bb9f=(0x0,_0x180b4c[_0x51175c(0x186)])(_0x317042[_0x51175c(0x266)],_0x317042[_0x51175c(0x191)],_0x26cf98[_0x51175c(0x419)],_0x4b6448);return _0x32bb9f?{'x':_0x32bb9f[_0x51175c(0x3ca)],'y':_0x32bb9f['viewportScrollY']}:_0x3d74d4;}[_0xa608a8(0x1d0)](_0x10eee0,_0x110ab3){const _0x241d11=_0xa608a8;var _0x3d2d1f;let _0x325f66=(_0x3d2d1f=this['_univerInstanceService'][_0x241d11(0x150)](_0x10eee0))==null?void 0x0:_0x3d2d1f[_0x241d11(0x4f7)](_0x110ab3);return(_0x325f66==null?void 0x0:_0x325f66[_0x241d11(0x29a)]())??0x1;}[_0xa608a8(0x4fa)](_0xa04836,_0x595aa5,_0x489765,_0x1871fe,_0x2b35df){const _0x3d6ada=_0xa608a8;this[_0x3d6ada(0x4a4)][_0x3d6ada(0x39f)](),this[_0x3d6ada(0x1c8)][_0x3d6ada(0x39f)](),this['_sheetShapeAdjustController'][_0x3d6ada(0x14f)]();let _0x11286e=this['_currentConnectionTarget'];this[_0x3d6ada(0x3db)][_0x3d6ada(0x456)]();let _0x16cf2e=this['_getScrollInfo'](this[_0x3d6ada(0x2e3)],this[_0x3d6ada(0x2f5)]),_0x1a1f7c=this[_0x3d6ada(0x1d0)](this['_unitId'],this[_0x3d6ada(0x2f5)]),_0xc575fc={'x':_0x489765[_0x3d6ada(0x273)]/_0x1a1f7c+_0x16cf2e['x'],'y':_0x489765[_0x3d6ada(0x32d)]/_0x1a1f7c+_0x16cf2e['y']},_0x7ddf57=_0x11286e?_0x11286e[_0x3d6ada(0x1aa)]:_0xc575fc,_0x1ee97c=_0x1871fe?this[_0x3d6ada(0x240)][_0x3d6ada(0x4a8)]():this[_0x3d6ada(0x240)][_0x3d6ada(0x3c6)](),_0x3a9a68=this[_0x3d6ada(0x240)][_0x3d6ada(0x4e2)]();_0x1ee97c?this['_handleConnectedEndpointPointerUp'](_0x1ee97c,_0x7ddf57,_0x1871fe,_0x11286e,_0x2b35df):this[_0x3d6ada(0x1d4)](_0x595aa5,_0x7ddf57,_0x1871fe,_0x11286e,_0x2b35df,_0x3a9a68),this[_0x3d6ada(0x1ac)]=!0x1,this['_hasReset']=!0x1,this['_currentConnectionTarget']=null,_0xa04836[_0x3d6ada(0x3dd)]();}[_0xa608a8(0x1d4)](_0x9aea8c,_0x40e452,_0x34b969,_0x4ba2a6,_0x16a95e,_0x99b80c){const _0x2fa700=_0xa608a8;let _0x113a19=_0x99b80c===_0x11e0df[_0x2fa700(0x30a)][_0x2fa700(0x370)]||_0x99b80c===_0x11e0df[_0x2fa700(0x30a)][_0x2fa700(0x500)],_0x50be2d=_0x34b969?_0x40e452:_0x9aea8c,_0x1f9b86=_0x34b969?_0x9aea8c:_0x40e452,_0xad0106=this['_activeShapeModel'][_0x2fa700(0x4aa)](),_0x668df2=this[_0x2fa700(0x240)]['getShapeType'](),_0x3e33dd=(0x0,_0x11e0df[_0x2fa700(0x4f4)])(_0x668df2),_0x479789=_0x11e0df[_0x2fa700(0x3f0)]['getBentTypeFromPoints'](_0xad0106,_0x3e33dd),_0x25c22a=_0x113a19?_0x11e0df[_0x2fa700(0x3f0)][_0x2fa700(0x367)](_0x50be2d,_0x1f9b86):_0x11e0df[_0x2fa700(0x3f0)][_0x2fa700(0x395)](_0x9aea8c,_0x40e452,_0x34b969,_0x479789);_0x4ba2a6?this[_0x2fa700(0x408)](_0x25c22a,_0x4ba2a6,_0x34b969,_0x16a95e):this[_0x2fa700(0x27a)](_0x25c22a,_0x16a95e);}[_0xa608a8(0x40a)](_0x1c1099,_0xdf2031,_0x371009,_0x4a14f3,_0x44fb2d){const _0xf6377b=_0xa608a8;let _0x96acfd=this[_0xf6377b(0x2f0)](_0x1c1099);if(!_0x96acfd)return;let _0x2f6eda=_0x4a14f3?_0x4a14f3['angle']:this['_calculateFreeEndpointAngle'](_0x96acfd['point'],_0xdf2031),_0x69b92e;if(_0x4a14f3){let _0x5929f8=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4a14f3['unitId'],'subUnitId':_0x4a14f3[_0xf6377b(0x226)],'drawingId':_0x4a14f3[_0xf6377b(0x3d5)]});if(_0x5929f8!=null&&_0x5929f8[_0xf6377b(0x31b)]){let {left:_0x35e570=0x0,top:_0xaa925c=0x0,width:_0x353d1a=0x0,height:_0xcab722=0x0,angle:_0x23e8e3}=_0x5929f8[_0xf6377b(0x31b)];_0x69b92e=(0x0,_0x11e0df[_0xf6377b(0x2e0)])({'left':_0x35e570,'top':_0xaa925c,'width':_0x353d1a,'height':_0xcab722},_0x23e8e3||0x0);}else _0x69b92e={'left':_0xdf2031['x'],'top':_0xdf2031['y'],'width':0x0,'height':0x0};}else _0x69b92e={'left':_0xdf2031['x'],'top':_0xdf2031['y'],'width':0x0,'height':0x0};let _0x50e6cf={'point':_0xdf2031,'angle':_0x2f6eda,'bounds':_0x69b92e},_0x35ce55=_0x371009?_0x50e6cf:_0x96acfd,_0x7dee9d=_0x371009?_0x96acfd:_0x50e6cf,_0x405133=this['_activeShapeModel'][_0xf6377b(0x4e2)](),_0x4d42a1=(0x0,_0x11e0df['routeConnectorLineShape'])(_0x35ce55,_0x7dee9d,_0x405133);this[_0xf6377b(0x240)][_0xf6377b(0x517)]();let _0x5d219f=(0x0,_0x11e0df['computeConnectorRouteLayout'])(_0x4d42a1,_0x405133);_0x4a14f3?this[_0xf6377b(0x485)](_0x5d219f,_0x4a14f3,_0x1c1099,_0x371009,_0x44fb2d):this[_0xf6377b(0x4a3)](_0x5d219f,_0x1c1099,_0x371009,_0x44fb2d);}[_0xa608a8(0x408)](_0x112b36,_0x1a16b7,_0x52f749,_0x29c16e){const _0x451617=_0xa608a8;let _0x54da7d=this['_activeShapeModel'][_0x451617(0x169)]()['relation'],_0x56717d={..._0x54da7d},_0x2ddde3={'shapeId':_0x1a16b7['shapeId'],'cxnIndex':_0x1a16b7['cxnIndex']};_0x52f749?_0x56717d[_0x451617(0x198)]=_0x2ddde3:_0x56717d['to']=_0x2ddde3;let _0x814451=this[_0x451617(0x240)][_0x451617(0x4e2)](),_0x2694c4=(0x0,_0x11e0df[_0x451617(0x3a9)])(_0x112b36[_0x451617(0x1cb)],_0x814451),_0x3e7ea1={'unitId':this['_unitId'],'subUnitId':this[_0x451617(0x2f5)],'connectorShapeId':this[_0x451617(0x1ed)],'width':_0x112b36[_0x451617(0x2ac)][_0x451617(0x302)],'height':_0x112b36[_0x451617(0x2ac)]['height'],'left':_0x112b36[_0x451617(0x2ac)]['left'],'top':_0x112b36['worldRect'][_0x451617(0x4f5)],'flipX':_0x112b36[_0x451617(0x2ac)][_0x451617(0x4ff)]||!0x1,'flipY':_0x112b36['worldRect'][_0x451617(0x4fe)]||!0x1,'newAdjustValues':_0x2694c4[_0x451617(0x18d)],'oldAdjustValues':_0x29c16e,'oldRelation':_0x54da7d,'newRelation':_0x56717d,'newLineType':_0x2694c4['lineType'],'oldLineType':_0x814451};this[_0x451617(0x480)]['executeCommand'](_0xb19349['UpdateConnectorRelationCommand']['id'],_0x3e7ea1);}['_executeResizeCommand'](_0x4b7a95,_0x45914a){const _0x17b1dc=_0xa608a8;let _0xbb1b05=this[_0x17b1dc(0x240)]['getShapeType'](),_0x415c21=(0x0,_0x11e0df[_0x17b1dc(0x3a9)])(_0x4b7a95[_0x17b1dc(0x1cb)],_0xbb1b05),_0xc1424e={'unitId':this['_unitId'],'subUnitId':this[_0x17b1dc(0x2f5)],'shapeId':this[_0x17b1dc(0x1ed)],'width':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x302)],'height':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x474)],'left':_0x4b7a95['worldRect'][_0x17b1dc(0x371)],'top':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x4f5)],'flipX':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x4ff)]||!0x1,'flipY':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x4fe)]||!0x1,'angle':_0x4b7a95[_0x17b1dc(0x2ac)][_0x17b1dc(0x3b9)]||0x0,'newAdjustValues':_0x415c21[_0x17b1dc(0x18d)],'oldAdjustValues':_0x45914a,'newLineType':_0x415c21[_0x17b1dc(0x48e)],'oldLineType':_0xbb1b05};this[_0x17b1dc(0x480)][_0x17b1dc(0x134)](_0xb19349['UpdateLineShapeResizeCommand']['id'],_0xc1424e);}['_executeConnectedRouteConnectionCommand'](_0x17525c,_0x15235c,_0x8722ff,_0x8a1b6e,_0x58784d){const _0x2a1f19=_0xa608a8;let _0x4fe490=this['_activeShapeModel'][_0x2a1f19(0x169)]()[_0x2a1f19(0x24d)],_0x24d2ed={..._0x4fe490},_0x2fb5e4={'shapeId':_0x15235c['shapeId'],'cxnIndex':_0x15235c[_0x2a1f19(0x4a9)]};_0x8a1b6e?(_0x24d2ed['from']=_0x2fb5e4,_0x24d2ed['to']=_0x8722ff):(_0x24d2ed[_0x2a1f19(0x198)]=_0x8722ff,_0x24d2ed['to']=_0x2fb5e4);let _0x1456c6={'unitId':this[_0x2a1f19(0x2e3)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x2a1f19(0x1ed)],'width':_0x17525c[_0x2a1f19(0x2ac)][_0x2a1f19(0x302)],'height':_0x17525c['worldRect'][_0x2a1f19(0x474)],'left':_0x17525c[_0x2a1f19(0x2ac)][_0x2a1f19(0x371)],'top':_0x17525c[_0x2a1f19(0x2ac)][_0x2a1f19(0x4f5)],'flipX':_0x17525c[_0x2a1f19(0x2ac)]['flipX']||!0x1,'flipY':_0x17525c[_0x2a1f19(0x2ac)][_0x2a1f19(0x4fe)]||!0x1,'oldAdjustValues':_0x58784d,'newAdjustValues':_0x17525c[_0x2a1f19(0x18d)],'newLineType':_0x17525c[_0x2a1f19(0x48e)],'rotation':_0x17525c[_0x2a1f19(0x3d1)],'oldRelation':_0x4fe490,'newRelation':_0x24d2ed};this[_0x2a1f19(0x480)][_0x2a1f19(0x134)](_0xb19349[_0x2a1f19(0x441)]['id'],_0x1456c6);}[_0xa608a8(0x4a3)](_0x37783b,_0xd653c2,_0x392e09,_0xf45f99){const _0x99a802=_0xa608a8;let _0x5d31d9=this[_0x99a802(0x240)][_0x99a802(0x169)]()['relation'],_0x7263e9={};_0x392e09?(_0x7263e9['to']=_0xd653c2,_0x7263e9[_0x99a802(0x198)]=void 0x0):(_0x7263e9[_0x99a802(0x198)]=_0xd653c2,_0x7263e9['to']=void 0x0);let _0xefe3a8={'unitId':this[_0x99a802(0x2e3)],'subUnitId':this[_0x99a802(0x2f5)],'connectorShapeId':this[_0x99a802(0x1ed)],'width':_0x37783b[_0x99a802(0x2ac)][_0x99a802(0x302)],'height':_0x37783b[_0x99a802(0x2ac)][_0x99a802(0x474)],'left':_0x37783b[_0x99a802(0x2ac)][_0x99a802(0x371)],'top':_0x37783b[_0x99a802(0x2ac)]['top'],'flipX':_0x37783b[_0x99a802(0x2ac)]['flipX']||!0x1,'flipY':_0x37783b[_0x99a802(0x2ac)]['flipY']||!0x1,'oldAdjustValues':_0xf45f99,'newAdjustValues':_0x37783b[_0x99a802(0x18d)],'newLineType':_0x37783b[_0x99a802(0x48e)],'rotation':_0x37783b[_0x99a802(0x3d1)],'oldRelation':_0x5d31d9,'newRelation':_0x7263e9};this[_0x99a802(0x480)]['executeCommand'](_0xb19349[_0x99a802(0x441)]['id'],_0xefe3a8);}[_0xa608a8(0x29b)](_0x58c1f4,_0x2b0882,_0x1dbfc0){const _0xfe233d=_0xa608a8;this[_0xfe233d(0x322)]((0x0,_0x244243[_0xfe233d(0x45a)])(_0x58c1f4[_0xfe233d(0x344)]['subscribeEvent']((_0x351fcc,_0x527e41)=>{const _0x46716d=_0xfe233d;let _0x4274ae=_0x58c1f4[_0x46716d(0x18a)]();if(this[_0x46716d(0x240)]=this[_0x46716d(0x524)][_0x46716d(0x335)](_0x4274ae[_0x46716d(0x284)],_0x4274ae[_0x46716d(0x226)],_0x4274ae['drawingId']),!this[_0x46716d(0x240)])return;let _0x4b6c39={};this[_0x46716d(0x240)][_0x46716d(0x2f4)]()[_0x46716d(0x2ce)](_0x452f8e=>{const _0x3c6204=_0x46716d;let _0x3e8c50=this[_0x3c6204(0x240)]['getAdjustValueByName'](_0x452f8e);_0x3e8c50!==void 0x0&&(_0x4b6c39[_0x452f8e]=_0x3e8c50);});let _0x47d867=this[_0x46716d(0x20a)]();if(!_0x47d867)return;this['_baseDrawingRect']={..._0x47d867};let _0x5f3b6c=new _0x11e0df[(_0x46716d(0x3f0))](this[_0x46716d(0x4b0)]),_0x294b12=(0x0,_0x43c769[_0x46716d(0x280)])({'unitId':this['_unitId'],'subUnitId':this[_0x46716d(0x2f5)],'drawingId':this['_activeShapeId']}),_0x4e989f=_0x2b0882[_0x46716d(0x47f)](_0x294b12);this[_0x46716d(0x1ac)]=!0x0,_0x2b0882[_0x46716d(0x40d)](),this['_sheetBasicShapeConnectionPointController'][_0x46716d(0x1fe)](_0x2b0882,this[_0x46716d(0x2e3)],this[_0x46716d(0x2f5)],this[_0x46716d(0x1ed)]),this[_0x46716d(0x3bb)]=null;let _0x120976=this['_activeShapeModel'][_0x46716d(0x4aa)](),_0x2454f2=_0x120976[0x0],_0x129852=_0x120976[_0x120976['length']-0x1],_0x19ff09=_0x1dbfc0?_0x5f3b6c[_0x46716d(0x20c)](_0x129852):_0x5f3b6c[_0x46716d(0x20c)](_0x2454f2);this[_0x46716d(0x4a4)]=_0x2b0882['onPointerMove$']['subscribeEvent']((_0x2feebf,_0x337272)=>{const _0x3fb148=_0x46716d;if(!this[_0x3fb148(0x1ac)]||!this[_0x3fb148(0x240)])return;this[_0x3fb148(0x185)]||=(this[_0x3fb148(0x199)]['clearAdjustControls'](),this[_0x3fb148(0x240)][_0x3fb148(0x41b)](),!0x0);let _0x439c83=this[_0x3fb148(0x412)](this[_0x3fb148(0x2e3)],this['_subUnitId']),_0x518e9b=this[_0x3fb148(0x1d0)](this[_0x3fb148(0x2e3)],this[_0x3fb148(0x2f5)]),_0x2c9552={'x':_0x2feebf['offsetX']/_0x518e9b+_0x439c83['x'],'y':_0x2feebf[_0x3fb148(0x32d)]/_0x518e9b+_0x439c83['y']},_0xa45b9f=this[_0x3fb148(0x3db)][_0x3fb148(0x119)](_0x2c9552);if(_0xa45b9f){let {shapeId:_0x20d237,unitId:_0xd4389d,subUnitId:_0x309439}=_0xa45b9f;if(_0x20d237&&_0xd4389d&&_0x309439){let _0x4410c5=(0x0,_0x43c769[_0x3fb148(0x280)])({'unitId':_0xd4389d,'subUnitId':_0x309439,'drawingId':_0x20d237});_0xa45b9f[_0x3fb148(0x3b9)]=(_0x2b0882['getObjectIncludeInGroup'](_0x4410c5)[_0x3fb148(0x3b9)]||0x0)+_0xa45b9f['angle'];}}this['_currentConnectionTarget']=_0xa45b9f;let _0x4442fd=_0x1dbfc0?this['_activeShapeModel'][_0x3fb148(0x4a8)]():this['_activeShapeModel'][_0x3fb148(0x3c6)]();_0x4442fd?this['_handleConnectedEndpointMove'](_0x4442fd,_0x2c9552,_0x1dbfc0,_0x4e989f,_0x58c1f4):this[_0x3fb148(0x42e)](_0x2c9552,_0x19ff09,_0x1dbfc0,_0x4e989f,_0x58c1f4);}),this['_cxtHandlerPointerUp']=_0x2b0882['onPointerUp$'][_0x46716d(0x1ef)]((_0x3893a0,_0x29af93)=>{this['_handleConnectorPointerUp'](_0x2b0882,_0x19ff09,_0x3893a0,_0x1dbfc0,_0x4b6c39);}),_0x527e41['stopPropagation']();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x2cfdf7,_0x29c95c,_0x4475ac){const _0x322519=_0xa608a8;let _0x57a1ad=this[_0x322519(0x524)][_0x322519(0x145)](_0x2cfdf7,_0x29c95c,_0x4475ac);if(!_0x57a1ad||_0x57a1ad['length']===0x0)return;let _0x18e3a0=this[_0x322519(0x23d)][_0x322519(0x236)](_0x2cfdf7);if(!_0x18e3a0)return;let {scene:_0x3356b2}=_0x18e3a0;for(let _0xb4b53b of _0x57a1ad){let _0x4c3d8e=_0xb4b53b[_0x322519(0x129)],_0x3804e7=this[_0x322519(0x524)][_0x322519(0x335)](_0x2cfdf7,_0x29c95c,_0x4c3d8e);if(!_0x3804e7)continue;let _0x504121=_0x3804e7[_0x322519(0x3c6)](),_0x151253=_0x3804e7['getEndConnectInfo'](),_0x116b2d=(_0x504121==null?void 0x0:_0x504121[_0x322519(0x3d5)])===_0x4475ac,_0x24d1e9=(0x0,_0x43c769[_0x322519(0x280)])({'unitId':_0x2cfdf7,'subUnitId':_0x29c95c,'drawingId':_0x4c3d8e}),_0x412570=_0x3356b2['getObjectIncludeInGroup'](_0x24d1e9);if(!_0x412570)continue;let _0x572ff0=this[_0x322519(0x3d7)][_0x322519(0x462)]({'unitId':_0x2cfdf7,'subUnitId':_0x29c95c,'drawingId':_0x4c3d8e});_0x572ff0!=null&&_0x572ff0[_0x322519(0x31b)]&&(_0x504121&&_0x151253?this[_0x322519(0x286)](_0x2cfdf7,_0x29c95c,_0x4c3d8e,_0x3804e7,_0x504121,_0x151253,_0x412570):this[_0x322519(0x47e)](_0x2cfdf7,_0x29c95c,_0x4c3d8e,_0x3804e7,_0x116b2d?_0x504121:_0x151253,_0x116b2d,_0x572ff0,_0x412570));}}[_0xa608a8(0x286)](_0x1deaa3,_0x1c61bc,_0xc33fad,_0x2a231b,_0x3d8cbf,_0x116174,_0x339562){const _0x1be08b=_0xa608a8;let _0x3cf07a=this[_0x1be08b(0x2e3)],_0x324b60=this[_0x1be08b(0x2f5)];this[_0x1be08b(0x2e3)]=_0x1deaa3,this[_0x1be08b(0x2f5)]=_0x1c61bc;let _0x42f7d1=this[_0x1be08b(0x2f0)](_0x3d8cbf),_0x35ac00=this[_0x1be08b(0x2f0)](_0x116174);if(this[_0x1be08b(0x2e3)]=_0x3cf07a,this['_subUnitId']=_0x324b60,!_0x42f7d1||!_0x35ac00)return;let _0x419d32=_0x2a231b[_0x1be08b(0x4e2)](),_0x29bd25=(0x0,_0x11e0df[_0x1be08b(0x387)])(_0x42f7d1,_0x35ac00,_0x419d32);_0x29bd25&&_0x2a231b['updateLinePoints'](_0x29bd25);let _0xaec0d6=(0x0,_0x11e0df[_0x1be08b(0x3a9)])(_0x29bd25,_0x419d32);_0xaec0d6[_0x1be08b(0x48e)]!==_0x419d32&&_0x2a231b['changeShapeType'](_0xaec0d6[_0x1be08b(0x48e)]),_0x2a231b[_0x1be08b(0x41b)]();for(let [_0x103792,_0x31f99f]of Object['entries'](_0xaec0d6[_0x1be08b(0x18d)]))_0x2a231b[_0x1be08b(0x2c4)](_0x103792,_0x31f99f);_0x2a231b[_0x1be08b(0x30c)]({'width':_0xaec0d6[_0x1be08b(0x2ac)]['width'],'height':_0xaec0d6['worldRect'][_0x1be08b(0x474)]}),_0x339562[_0x1be08b(0x27d)]({'flipX':_0xaec0d6[_0x1be08b(0x2ac)][_0x1be08b(0x4ff)],'flipY':_0xaec0d6[_0x1be08b(0x2ac)][_0x1be08b(0x4fe)],'left':_0xaec0d6['worldRect'][_0x1be08b(0x371)],'top':_0xaec0d6[_0x1be08b(0x2ac)][_0x1be08b(0x4f5)],'width':_0xaec0d6[_0x1be08b(0x2ac)][_0x1be08b(0x302)],'height':_0xaec0d6[_0x1be08b(0x2ac)][_0x1be08b(0x474)],'angle':_0xaec0d6[_0x1be08b(0x3d1)]}),_0x2a231b[_0x1be08b(0x517)]();}[_0xa608a8(0x47e)](_0x230724,_0x475de5,_0x2a96a1,_0x198738,_0x2cded9,_0x37705e,_0x5e3013,_0x3a1b4a){const _0x102c2f=_0xa608a8;let _0x1c900b=this[_0x102c2f(0x2e3)],_0x43c1ac=this['_subUnitId'];this[_0x102c2f(0x2e3)]=_0x230724,this[_0x102c2f(0x2f5)]=_0x475de5;let _0x85ce06=this['_getConnectPointInfo'](_0x2cded9);if(this['_unitId']=_0x1c900b,this[_0x102c2f(0x2f5)]=_0x43c1ac,!_0x85ce06)return;let {left:_0x3a146a=0x0,top:_0x142f04=0x0,width:_0x591bd4=0x0,height:_0x576952=0x0,flipX:_0x548051=!0x1,flipY:_0x5c3ce6=!0x1}=_0x5e3013['transform'],_0x56901d=_0x198738['getConnectorLinePoints']();if(_0x56901d[_0x102c2f(0x225)]<0x2)return;let _0x1ec972=new _0x11e0df[(_0x102c2f(0x3f0))]({'left':_0x3a146a,'top':_0x142f04,'width':_0x591bd4,'height':_0x576952,'flipX':_0x548051,'flipY':_0x5c3ce6}),_0x4d840c=_0x37705e?_0x56901d[_0x56901d[_0x102c2f(0x225)]-0x1]:_0x56901d[0x0],_0x236697=_0x1ec972[_0x102c2f(0x20c)](_0x4d840c),_0x2cb6be=_0x11e0df['ConnectorCoordinateTransform'][_0x102c2f(0x395)](_0x236697,_0x85ce06[_0x102c2f(0x133)],!_0x37705e);_0x3a1b4a[_0x102c2f(0x27d)]({'flipX':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x4ff)],'flipY':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x4fe)],'left':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x371)],'top':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x4f5)],'width':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x302)],'height':_0x2cb6be[_0x102c2f(0x2ac)][_0x102c2f(0x474)],'angle':_0x2cb6be['worldRect'][_0x102c2f(0x3b9)]}),_0x3a1b4a[_0x102c2f(0x476)](!0x0);}[_0xa608a8(0x1c4)](){const _0x20ca4f=_0xa608a8;this[_0x20ca4f(0x121)][_0x20ca4f(0x225)]!==0x0&&(this['_connectorObjects']['forEach'](_0x1ec98f=>{const _0x249d76=_0x20ca4f;_0x1ec98f[_0x249d76(0x11e)]();}),this[_0x20ca4f(0x121)]=[]);}[_0xa608a8(0x497)](){const _0x1cdbfb=_0xa608a8;let _0x203586=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x244243[_0x1cdbfb(0x10a)][_0x1cdbfb(0x127)]);this[_0x1cdbfb(0x322)](_0x203586['pipe']((0x0,_0x38f817['switchMap'])(_0x1db16a=>_0x1db16a?_0x1db16a[_0x1cdbfb(0x2de)][_0x1cdbfb(0x288)]((0x0,_0x38f817[_0x1cdbfb(0x14c)])(_0x7d2220=>{const _0x434d83=_0x1cdbfb;if(!_0x7d2220)return _0x38f817[_0x434d83(0x3be)];let _0x11f46f=_0x1db16a[_0x434d83(0x244)](),_0x5c4737=this[_0x434d83(0x23d)][_0x434d83(0x236)](_0x11f46f),_0x50dc14=_0x5c4737==null?void 0x0:_0x5c4737[_0x434d83(0x419)];return _0x50dc14?(0x0,_0x38f817['of'])(_0x50dc14):_0x38f817['EMPTY'];})):_0x38f817['EMPTY']))[_0x1cdbfb(0x376)](_0x1582ee=>{const _0x1818ae=_0x1cdbfb;let _0x3b0acf=_0x1582ee['getTransformerByCreate']();this[_0x1818ae(0x322)](_0x1582ee[_0x1818ae(0x486)]['subscribeEvent'](_0x3e60f5=>{const _0x332fae=_0x1818ae;this[_0x332fae(0x4e8)]&&this[_0x332fae(0x1ed)]&&this[_0x332fae(0x1c4)]();})),this['disposeWithMe'](_0x3b0acf[_0x1818ae(0x4dd)][_0x1818ae(0x376)](_0xbbb8c3=>{const _0xfef3b6=_0x1818ae;let {objects:_0x3f0a8c}=_0xbbb8c3;this[_0xfef3b6(0x1c4)](),_0x3f0a8c!==null&&_0x3f0a8c[_0xfef3b6(0x13f)]===0x1&&_0x3f0a8c[_0xfef3b6(0x48d)]()[_0xfef3b6(0x159)]()[_0xfef3b6(0x496)]instanceof _0x5ee4ee&&(this[_0xfef3b6(0x4e8)]=!0x0);})),this[_0x1818ae(0x322)](_0x3b0acf['changing$'][_0x1818ae(0x376)](_0x34e09f=>{const _0x133d40=_0x1818ae;this[_0x133d40(0x4e8)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x1818ae(0x322)](_0x1582ee[_0x1818ae(0x435)]['subscribeEvent'](()=>{const _0x2ead31=_0x1818ae;this[_0x2ead31(0x4e8)]&&(this[_0x2ead31(0x4e8)]=!0x1,this[_0x2ead31(0x36b)]());})),this[_0x1818ae(0x322)](_0x3b0acf[_0x1818ae(0x1e7)][_0x1818ae(0x376)](()=>{const _0x558f70=_0x1818ae;this[_0x558f70(0x2e3)]&&this['_subUnitId']&&this['_activeShapeId']&&this[_0x558f70(0x3d7)][_0x558f70(0x462)]({'unitId':this[_0x558f70(0x2e3)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x558f70(0x1ed)]})&&(this[_0x558f70(0x1c4)](),this[_0x558f70(0x36b)]());}));}));}[_0xa608a8(0x1db)](){const _0x15bbd1=_0xa608a8;this[_0x15bbd1(0x322)](this[_0x15bbd1(0x3d7)][_0x15bbd1(0x17f)][_0x15bbd1(0x376)](_0x54855e=>{const _0x3c4e81=_0x15bbd1;if(_0x54855e[_0x3c4e81(0x225)]===0x1){let _0x20f74e=_0x54855e[0x0];if(_0x20f74e[_0x3c4e81(0x351)]===_0x244243[_0x3c4e81(0x138)][_0x3c4e81(0x4e9)]){let _0xf512cd=this[_0x3c4e81(0x524)][_0x3c4e81(0x335)](_0x20f74e[_0x3c4e81(0x284)],_0x20f74e[_0x3c4e81(0x226)],_0x20f74e[_0x3c4e81(0x2b5)]);if(_0xf512cd&&(0x0,_0x11e0df[_0x3c4e81(0x42a)])(_0xf512cd[_0x3c4e81(0x4e2)]())){this[_0x3c4e81(0x1ed)]=_0x20f74e[_0x3c4e81(0x2b5)],this['_unitId']=_0x20f74e[_0x3c4e81(0x284)],this[_0x3c4e81(0x2f5)]=_0x20f74e[_0x3c4e81(0x226)],this['_clearShapeConnectorHandlerObjects'](),this[_0x3c4e81(0x36b)]();return;}}}this['_activeShapeId']=void 0x0,this[_0x3c4e81(0x2e3)]=void 0x0,this[_0x3c4e81(0x2f5)]=void 0x0,this[_0x3c4e81(0x1c4)]();})),this[_0x15bbd1(0x322)](this['_drawingManagerService'][_0x15bbd1(0x1ad)][_0x15bbd1(0x376)](_0x488d3a=>{const _0x447ff3=_0x15bbd1;if(_0x488d3a[_0x447ff3(0x225)]===0x1){var _0x242b8a;let _0x3dadce=_0x488d3a[0x0],_0x1adb3d=(_0x242b8a=this[_0x447ff3(0x3d7)]['getDrawingByParam'](_0x3dadce))==null?void 0x0:_0x242b8a[_0x447ff3(0x351)];_0x1adb3d===_0x244243[_0x447ff3(0x138)]['DRAWING_SHAPE']&&_0x3dadce[_0x447ff3(0x2b5)]===this[_0x447ff3(0x1ed)]?(this[_0x447ff3(0x1c4)](),this[_0x447ff3(0x36b)]()):!this[_0x447ff3(0x1ed)]&&_0x1adb3d===_0x244243[_0x447ff3(0x138)]['DRAWING_SHAPE']&&this[_0x447ff3(0x2cb)](_0x3dadce[_0x447ff3(0x284)],_0x3dadce['subUnitId'],_0x3dadce[_0x447ff3(0x2b5)]);}})),this[_0x15bbd1(0x322)](this[_0x15bbd1(0x3d7)][_0x15bbd1(0x1d5)][_0x15bbd1(0x376)](_0x5b4ce2=>{const _0x4a002c=_0x15bbd1;for(let _0x32debe of _0x5b4ce2){let {drawingId:_0x48a53c}=_0x32debe;if(this['_activeShapeId']===_0x48a53c){this[_0x4a002c(0x1f3)]();return;}}}));}[_0xa608a8(0x51d)](_0x11cd4a,_0x154cc1,_0x8969c8,_0x22df8b,_0x47af58){const _0x1768c2=_0xa608a8;var _0x515e2b;if(!this['_activeShapeModel'])return;let _0x1653c7=this[_0x1768c2(0x2f0)](_0x11cd4a);if(!_0x1653c7)return;let _0x5bbd51=this[_0x1768c2(0x3bb)]?this[_0x1768c2(0x3bb)]['worldPoint']:_0x154cc1,_0x53c403=this[_0x1768c2(0x3bb)]?this[_0x1768c2(0x3bb)]['angle']:this[_0x1768c2(0x2e1)](_0x1653c7[_0x1768c2(0x133)],_0x5bbd51),_0x1f8f72;if(this[_0x1768c2(0x3bb)]){let _0x2619ff=this[_0x1768c2(0x3d7)][_0x1768c2(0x462)]({'unitId':this[_0x1768c2(0x3bb)][_0x1768c2(0x284)],'subUnitId':this[_0x1768c2(0x3bb)][_0x1768c2(0x226)],'drawingId':this['_currentConnectionTarget'][_0x1768c2(0x3d5)]});if(_0x2619ff!=null&&_0x2619ff[_0x1768c2(0x31b)]){let {left:_0x3d03a1=0x0,top:_0x4d769b=0x0,width:_0xce8396=0x0,height:_0x1f80d3=0x0,angle:_0x31b564}=_0x2619ff[_0x1768c2(0x31b)];_0x1f8f72=(0x0,_0x11e0df[_0x1768c2(0x2e0)])({'left':_0x3d03a1,'top':_0x4d769b,'width':_0xce8396,'height':_0x1f80d3},_0x31b564||0x0);}else _0x1f8f72={'left':_0x5bbd51['x'],'top':_0x5bbd51['y'],'width':0x0,'height':0x0};}else _0x1f8f72={'left':_0x5bbd51['x'],'top':_0x5bbd51['y'],'width':0x0,'height':0x0};let _0x576f02={'point':_0x5bbd51,'angle':_0x53c403,'bounds':_0x1f8f72},_0x1801b4=_0x8969c8?_0x576f02:_0x1653c7,_0x44e619=_0x8969c8?_0x1653c7:_0x576f02,_0x1ffe31=this[_0x1768c2(0x240)][_0x1768c2(0x4e2)](),_0x9d5058=(0x0,_0x11e0df[_0x1768c2(0x387)])(_0x1801b4,_0x44e619,_0x1ffe31);_0x9d5058&&this[_0x1768c2(0x240)]['updateLinePoints'](_0x9d5058);let _0x33a313=(0x0,_0x11e0df[_0x1768c2(0x3a9)])(_0x9d5058,_0x1ffe31);_0x33a313[_0x1768c2(0x48e)]!==_0x1ffe31&&this[_0x1768c2(0x240)][_0x1768c2(0x222)](_0x33a313['lineType']);for(let [_0x123c94,_0x3b29a5]of Object[_0x1768c2(0x3b2)](_0x33a313[_0x1768c2(0x18d)]))this['_activeShapeModel'][_0x1768c2(0x2c4)](_0x123c94,_0x3b29a5);this[_0x1768c2(0x240)][_0x1768c2(0x30c)]({'width':_0x33a313['worldRect'][_0x1768c2(0x302)],'height':_0x33a313[_0x1768c2(0x2ac)][_0x1768c2(0x474)]}),_0x22df8b[_0x1768c2(0x27d)]({'flipX':_0x33a313[_0x1768c2(0x2ac)][_0x1768c2(0x4ff)],'flipY':_0x33a313[_0x1768c2(0x2ac)][_0x1768c2(0x4fe)],'left':_0x33a313[_0x1768c2(0x2ac)]['left'],'top':_0x33a313[_0x1768c2(0x2ac)][_0x1768c2(0x4f5)],'width':_0x33a313[_0x1768c2(0x2ac)][_0x1768c2(0x302)],'height':_0x33a313[_0x1768c2(0x2ac)]['height'],'angle':_0x33a313['rotation']}),_0x22df8b['makeDirty'](!0x0);let _0x155b59=((_0x515e2b=this['_currentConnectionTarget'])==null?void 0x0:_0x515e2b['worldPoint'])??_0x154cc1;_0x47af58[_0x1768c2(0x27d)]({'left':_0x155b59['x']-_0x11e0df[_0x1768c2(0x4bb)][_0x1768c2(0x128)],'top':_0x155b59['y']-_0x11e0df['ShapeDefaultConfig'][_0x1768c2(0x128)]});}[_0xa608a8(0x42e)](_0x96a0c6,_0x4a4cc7,_0x4f0357,_0x28230d,_0x344758){const _0x4afaf4=_0xa608a8;var _0x3d3155,_0x31f108;let _0x2c4d0f=((_0x3d3155=this[_0x4afaf4(0x3bb)])==null?void 0x0:_0x3d3155[_0x4afaf4(0x1aa)])??_0x96a0c6,_0x496000=_0x11e0df['ConnectorCoordinateTransform'][_0x4afaf4(0x395)](_0x4a4cc7,_0x2c4d0f,_0x4f0357);_0x28230d['transformByState']({'flipX':_0x496000[_0x4afaf4(0x2ac)][_0x4afaf4(0x4ff)],'flipY':_0x496000[_0x4afaf4(0x2ac)][_0x4afaf4(0x4fe)],'left':_0x496000['worldRect'][_0x4afaf4(0x371)],'top':_0x496000[_0x4afaf4(0x2ac)]['top'],'width':_0x496000[_0x4afaf4(0x2ac)][_0x4afaf4(0x302)],'height':_0x496000[_0x4afaf4(0x2ac)]['height'],'angle':_0x496000[_0x4afaf4(0x2ac)][_0x4afaf4(0x3b9)]});let _0x3cf43f=((_0x31f108=this[_0x4afaf4(0x3bb)])==null?void 0x0:_0x31f108[_0x4afaf4(0x1aa)])??_0x96a0c6;_0x344758['transformByState']({'left':_0x3cf43f['x']-_0x11e0df[_0x4afaf4(0x4bb)][_0x4afaf4(0x128)],'top':_0x3cf43f['y']-_0x11e0df['ShapeDefaultConfig']['cxnPointRadius']});}['_getConnectPointInfo'](_0x1f094a){const _0x456308=_0xa608a8;if(!this[_0x456308(0x2e3)]||!this['_subUnitId'])return null;let {shapeId:_0x35dd21,cxnIndex:_0x47de77}=_0x1f094a,_0x24941d=this['_sheetsShapeService'][_0x456308(0x335)](this['_unitId'],this[_0x456308(0x2f5)],_0x35dd21);if(!_0x24941d)return null;let _0x1844f2=this[_0x456308(0x3d7)][_0x456308(0x462)]({'unitId':this[_0x456308(0x2e3)],'subUnitId':this['_subUnitId'],'drawingId':_0x35dd21});if(!(_0x1844f2!=null&&_0x1844f2[_0x456308(0x31b)]))return null;let {left:_0x317fbb=0x0,top:_0x18f1c2=0x0,width:_0x26a2cb=0x0,height:_0x362a7c=0x0,flipX:_0x56e955=!0x1,flipY:_0xc2ed60=!0x1,angle:_0x398db7}=_0x1844f2[_0x456308(0x31b)];_0x24941d[_0x456308(0x30c)]({'width':_0x26a2cb,'height':_0x362a7c});let _0x4f0dd4=_0x24941d[_0x456308(0x35e)]()[_0x456308(0x3c7)](_0x59f9a8=>_0x59f9a8[_0x456308(0x293)]===_0x47de77);if(!_0x4f0dd4)return null;let _0x4dda12=_0x56e955?_0x26a2cb-_0x4f0dd4['x']:_0x4f0dd4['x'],_0x357e16=_0xc2ed60?_0x362a7c-_0x4f0dd4['y']:_0x4f0dd4['y'];if(_0x398db7!==0x0&&_0x398db7!=null){let _0x5ccaa7=_0x398db7*Math['PI']/0xb4,_0x55cbaf=Math[_0x456308(0x26c)](_0x5ccaa7),_0x44d291=Math['sin'](_0x5ccaa7),_0x5755fc=_0x26a2cb/0x2,_0x1ec2c3=_0x362a7c/0x2,_0x7ac17d=_0x4dda12-_0x5755fc,_0x4a2e7a=_0x357e16-_0x1ec2c3;_0x4dda12=_0x5755fc+_0x7ac17d*_0x55cbaf-_0x4a2e7a*_0x44d291,_0x357e16=_0x1ec2c3+_0x7ac17d*_0x44d291+_0x4a2e7a*_0x55cbaf;}_0x4dda12+=_0x317fbb,_0x357e16+=_0x18f1c2;let _0x2aa693=_0x4f0dd4[_0x456308(0x424)]/0xea60;_0x56e955&&(_0x2aa693=0xb4-_0x2aa693),_0xc2ed60&&(_0x2aa693=-_0x2aa693),_0x2aa693+=_0x398db7||0x0,_0x2aa693=(_0x2aa693%0x168+0x168)%0x168;let _0x35cad3=(0x0,_0x11e0df['getBasicShapeRotateBound'])({'left':_0x317fbb,'top':_0x18f1c2,'width':_0x26a2cb,'height':_0x362a7c},_0x398db7||0x0);return{'point':{'x':_0x4dda12,'y':_0x357e16},'angle':_0x2aa693,'bounds':_0x35cad3};}[_0xa608a8(0x2e1)](_0x59f32c,_0x1ea39a){const _0x971b2f=_0xa608a8;let _0x4a67fe=_0x1ea39a['x']-_0x59f32c['x'],_0x478c9f=_0x1ea39a['y']-_0x59f32c['y'];return Math[_0x971b2f(0x19b)](_0x4a67fe)>=Math[_0x971b2f(0x19b)](_0x478c9f)?_0x4a67fe>=0x0?0xb4:0x0:_0x478c9f>=0x0?0x10e:0x5a;}[_0xa608a8(0x1f3)](){const _0x370dcf=_0xa608a8;this['_activeShapeId']=void 0x0,this['_unitId']=void 0x0,this[_0x370dcf(0x2f5)]=void 0x0,this[_0x370dcf(0x1c4)]();}[_0xa608a8(0x11e)](){const _0x570db=_0xa608a8;this[_0x570db(0x1c4)](),super['dispose']();}};_0x3e8676=_0x4cddfe([_0x542dc8(0x1,_0x244243[_0xa608a8(0x2d0)]),_0x542dc8(0x2,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0x3,_0x43c769['IDrawingManagerService']),_0x542dc8(0x4,_0x244243[_0xa608a8(0x39a)]),_0x542dc8(0x5,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349[_0xa608a8(0x439)])),_0x542dc8(0x6,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x35cd7c)),_0x542dc8(0x7,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x582783))],_0x3e8676);let _0x344863=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x2b26e8,_0x3aa558,_0xac7aaf){const _0x54cc2e=_0xa608a8;super(),this['_sheetPrintInterceptorService']=_0x2b26e8,this[_0x54cc2e(0x3d7)]=_0x3aa558,this[_0x54cc2e(0x4b7)]=_0xac7aaf,this[_0x54cc2e(0x265)]();}['_initPrinting'](){const _0x5761d3=_0xa608a8;this[_0x5761d3(0x322)](this['_sheetPrintInterceptorService'][_0x5761d3(0x4fd)][_0x5761d3(0x2d3)](this[_0x5761d3(0x3d2)]['interceptor'][_0x5761d3(0x4c1)]()[_0x5761d3(0x41d)],{'handler':(_0x56205b,_0xfa0f1c,_0x320219)=>{const _0x2a27c7=_0x5761d3;var _0x8c3e3;let {unitId:_0x21e279,subUnitId:_0x20cff1,scene:_0x5cdfa8,resourceCollector:_0x5c5039}=_0xfa0f1c,_0xd5a232=(_0x8c3e3=this['_drawingManagerService'][_0x2a27c7(0x11c)](_0x21e279))==null?void 0x0:_0x8c3e3[_0x20cff1];return _0xd5a232==null||_0xd5a232['order'][_0x2a27c7(0x2ce)](_0x1a8c3f=>{const _0x1f0f66=_0x2a27c7;let _0x534f07=_0xd5a232['data'][_0x1a8c3f];_0x534f07[_0x1f0f66(0x351)]===_0x244243['DrawingTypeEnum'][_0x1f0f66(0x4e9)]&&!_0x534f07[_0x1f0f66(0x473)]&&this[_0x1f0f66(0x4b7)][_0x1f0f66(0x3de)](_0x534f07,_0x5cdfa8,{'resourceCollector':_0x5c5039});}),_0x320219(_0x56205b);}}));}};_0x344863=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x180b4c[_0xa608a8(0x35c)])),_0x542dc8(0x1,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4f6784))],_0x344863);let _0x29ce99=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x39bf8b,_0x205abf,_0x185d0b,_0x177026){const _0x5039c6=_0xa608a8;super(),this['_commandService']=_0x39bf8b,this[_0x5039c6(0x1e8)]=_0x205abf,this[_0x5039c6(0x15a)]=_0x185d0b,this[_0x5039c6(0x108)]=_0x177026,this[_0x5039c6(0x2b0)]();}['_initPermission'](){const _0x335b92=_0xa608a8;let _0x5d2c5d=new Set([_0x4a2843['id'],_0xb19349[_0x335b92(0x44b)]['id'],_0xb19349['SetSheetsShapeRotateCommand']['id'],_0xb19349[_0x335b92(0x4fb)]['id'],_0xb19349[_0x335b92(0x309)]['id']]);this[_0x335b92(0x322)](this[_0x335b92(0x480)][_0x335b92(0x446)](_0x5b3e49=>{const _0x23a45c=_0x335b92;let _0x298bc3,_0xdb9bf3;if(_0x5b3e49['id']===_0xb19349[_0x23a45c(0x4ee)]['id']||_0x5b3e49['id']===_0xb19349[_0x23a45c(0x526)]['id']||_0x5b3e49['id']===_0xb19349[_0x23a45c(0x441)]['id']){let _0x555418=_0x5b3e49[_0x23a45c(0x131)];_0x298bc3=_0x555418['unitId'],_0xdb9bf3=_0x555418[_0x23a45c(0x226)];}else{if(_0x5d2c5d['has'](_0x5b3e49['id'])){let _0x9d2dde=(0x0,_0x126f61[_0x23a45c(0x4f6)])(this[_0x23a45c(0x1e8)],_0x5b3e49[_0x23a45c(0x131)]);if((_0x9d2dde==null?void 0x0:_0x9d2dde['worksheet'][_0x23a45c(0x3a1)]()[_0x23a45c(0x297)])!==_0x244243[_0x23a45c(0x1c5)][_0x23a45c(0x23f)])return;_0x298bc3=_0x9d2dde['unitId'],_0xdb9bf3=_0x9d2dde['subUnitId'];}}_0x298bc3&&_0xdb9bf3&&(this[_0x23a45c(0x108)][_0x23a45c(0x2f2)]({'workbookTypes':[_0x126f61['WorkbookEditablePermission']],'worksheetTypes':[_0x126f61[_0x23a45c(0x2fb)]]},_0x298bc3,_0xdb9bf3)||this[_0x23a45c(0x108)]['blockExecuteWithoutPermission'](this[_0x23a45c(0x15a)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x29ce99=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243['ICommandService'])),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x39a)])),_0x542dc8(0x2,(0x0,_0x244243['Inject'])(_0x244243[_0xa608a8(0x38e)])),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x126f61[_0xa608a8(0x30d)]))],_0x29ce99);let _0x3dc45c=class{constructor(_0x3c33bc){const _0x26f519=_0xa608a8;this[_0x26f519(0x23d)]=_0x3c33bc;}[_0xa608a8(0x2e4)](_0x551dd4,_0x58439a){const _0xa212ab=_0xa608a8;let _0x4f42b6=this['_renderManagerService'][_0xa212ab(0x236)](_0x551dd4[_0xa212ab(0x284)]),_0x593f21=_0x4f42b6==null?void 0x0:_0x4f42b6[_0xa212ab(0x419)];if(!_0x593f21)return;let _0x4a1e08=(0x0,_0x43c769['getDrawingShapeKeyByDrawingSearch'])(_0x551dd4),_0xf700ea=_0x593f21[_0xa212ab(0x47f)](_0x4a1e08);_0xf700ea==null||_0xf700ea[_0xa212ab(0x364)](_0x58439a);}};_0x3dc45c=_0x4cddfe([_0x542dc8(0x0,_0x559311[_0xa608a8(0x306)])],_0x3dc45c);let _0x4d508d=class extends _0x244243[_0xa608a8(0x365)]{constructor(_0x549af2=_0x22bbe8,_0xc90589,_0x174508,_0x121088,_0x5bce7a){const _0x232da9=_0xa608a8;super(),this[_0x232da9(0x36e)]=_0x549af2,this[_0x232da9(0x21c)]=_0xc90589,this[_0x232da9(0x480)]=_0x174508,this[_0x232da9(0x44f)]=_0x121088,this['_renderManagerService']=_0x5bce7a;let {..._0x176288}=(0x0,_0x244243[_0x232da9(0x4ce)])({},_0x22bbe8,this[_0x232da9(0x36e)]);this[_0x232da9(0x44f)][_0x232da9(0x37c)](_0xb25cac,_0x176288),this[_0x232da9(0x4c6)]();}[_0xa608a8(0x324)](){const _0x389543=_0xa608a8;this['_injector'][_0x389543(0x488)]([_0xb9a86c]),this[_0x389543(0x21c)][_0x389543(0x20b)](_0xb9a86c),(0x0,_0x244243[_0x389543(0x2d2)])(this[_0x389543(0x21c)],[[_0x5de74d],[_0x4304cd],[_0x4f6784],[_0x344863],[_0x3dc45c],[_0x4351c9],[_0x1a879a],[_0x3b876d],[_0x29ce99]]);}[_0xa608a8(0x232)](){const _0x48618a=_0xa608a8;(0x0,_0x244243[_0x48618a(0x2d2)])(this[_0x48618a(0x21c)],[[_0x582783],[_0x35cd7c],[_0x59ce19]]),(0x0,_0x244243[_0x48618a(0x120)])(this['_injector'],[[_0x59ce19],[_0x35cd7c]]),[[_0x582783],[_0x282d54],[_0x3e8676],[_0x25d7c4]][_0x48618a(0x2ce)](_0x1d92dd=>{const _0x256c81=_0x48618a;this[_0x256c81(0x322)](this['_renderManagerService'][_0x256c81(0x421)](_0x244243[_0x256c81(0x10a)][_0x256c81(0x127)],_0x1d92dd));});}[_0xa608a8(0x437)](){const _0x4a80fa=_0xa608a8;(0x0,_0x244243[_0x4a80fa(0x120)])(this[_0x4a80fa(0x21c)],[[_0x5de74d],[_0x4304cd],[_0x4f6784],[_0x344863],[_0x3dc45c],[_0x4351c9],[_0x1a879a],[_0x3b876d],[_0x29ce99]]);}[_0xa608a8(0x362)](){const _0x521434=_0xa608a8;this['_injector'][_0x521434(0x20b)](_0x5de74d)[_0x521434(0x2f3)]();}[_0xa608a8(0x4c6)](){const _0x32f1a3=_0xa608a8;[_0x2aee67,_0x4a2843,_0x5c23b1,_0x6fb12a][_0x32f1a3(0x2ce)](_0x4f17bd=>this['disposeWithMe'](this[_0x32f1a3(0x480)][_0x32f1a3(0x4ed)](_0x4f17bd)));}};_0x5b48d0(_0x4d508d,'type',_0x244243[_0xa608a8(0x10a)]['UNIVER_SHEET']),_0x5b48d0(_0x4d508d,_0xa608a8(0x3e5),_0xa608a8(0x29f)),_0x5b48d0(_0x4d508d,_0xa608a8(0x1f5),_0x28e822),_0x5b48d0(_0x4d508d,_0xa608a8(0x48f),_0x4887ee),_0x4d508d=_0x4cddfe([(0x0,_0x244243[_0xa608a8(0x13d)])(_0x3cffa1[_0xa608a8(0x400)],_0x5defe7[_0xa608a8(0x35f)],_0x43c769['UniverDrawingPlugin'],_0x559311[_0xa608a8(0x4ae)],_0x126f61['UniverSheetsPlugin'],_0x3f2843[_0xa608a8(0x3a5)],_0x29aa40[_0xa608a8(0x37b)],_0x4e6980['UniverShapeEditorPlugin'],_0x37d78b[_0xa608a8(0x430)],_0xb19349[_0xa608a8(0x111)],_0x180b4c[_0xa608a8(0x124)],_0x354392[_0xa608a8(0x207)],_0x36a73f[_0xa608a8(0x290)]),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x330)])),_0x542dc8(0x2,_0x244243['ICommandService']),_0x542dc8(0x3,_0x244243[_0xa608a8(0x195)]),_0x542dc8(0x4,_0x559311[_0xa608a8(0x306)])],_0x4d508d);let _0x47cc56={'type':_0x244243[_0xa608a8(0x180)]['OPERATION'],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}};function _0x1ecad0(){const _0x2c46d2=_0xa608a8;let _0x23fe6b=(0x0,_0x36a73f[_0x2c46d2(0x2af)])(_0x43c769[_0x2c46d2(0x334)]),_0x184b61=(0x0,_0x36a73f[_0x2c46d2(0x521)])(()=>_0x23fe6b[_0x2c46d2(0x17f)],_0x23fe6b[_0x2c46d2(0x305)](),!0x1,[_0x23fe6b]);return _0x184b61['length']===0x0?null:(0x0,_0x1edb74['jsx'])(_0x2c46d2(0x43d),{'children':(0x0,_0x1edb74[_0x2c46d2(0x317)])(_0x2c46d2(0x43d),{'className':_0x2c46d2(0x2fa),'children':[(0x0,_0x1edb74['jsx'])(_0x4cdb25['DrawingCommonPanel'],{'drawings':_0x184b61,'hasCropper':!0x1}),(0x0,_0x1edb74[_0x2c46d2(0x4e1)])(_0x37d78b['SheetDrawingAnchor'],{'drawings':_0x184b61})]})});}function _0x55f76d(_0x57d139){const _0x41113f=_0xa608a8;let {unitId:_0x4d48f5,subUnitId:_0x187960,shapeId:_0x5d9de3}=_0x57d139,_0x3b0ef1=(0x0,_0x36a73f['useDependency'])(_0x244243['ICommandService']),_0x4b55f0=(0x0,_0x36a73f[_0x41113f(0x2af)])(_0x3dc45c);return(0x0,_0x1edb74['jsx'])(_0x354392[_0x41113f(0x509)],{..._0x57d139,'positionEditor':(0x0,_0x1edb74[_0x41113f(0x4e1)])(_0x1ecad0,{}),'onUpdateShapeData':(_0x49ee56,_0x1bcaa6)=>{_0x1f80f7(_0x3b0ef1,_0x4d48f5,_0x187960,_0x5d9de3,_0x49ee56,_0x1bcaa6);},'onUpdateLineShapeData':(_0x13e691,_0x592ef6)=>{_0x1dee54(_0x3b0ef1,_0x4d48f5,_0x187960,_0x5d9de3,_0x13e691,_0x592ef6);},'onUpdateShapeFillImage':_0x3a25b4=>{const _0x2ff9ca=_0x41113f;_0x4b55f0[_0x2ff9ca(0x2e4)]({'unitId':_0x4d48f5,'subUnitId':_0x187960,'drawingId':_0x5d9de3},_0x3a25b4);}});}function _0x48b11b(_0x51d07a){const _0x52e413=_0xa608a8;let _0x1bbd58=(0x0,_0x36a73f[_0x52e413(0x2af)])(_0x354392['ShapeFloatingToolbarService']),_0x50e674=(0x0,_0x36a73f[_0x52e413(0x521)])(()=>_0x1bbd58[_0x52e413(0x122)],_0x1bbd58['getVisible'](),!0x1,[_0x1bbd58]),_0x4a0293=_0x51d07a[_0x52e413(0x12a)]['extraProps'];return!_0x4a0293||!_0x50e674?null:(0x0,_0x1edb74[_0x52e413(0x4e1)])(_0x4d64cb,{..._0x4a0293,'canvasElement':_0x51d07a[_0x52e413(0x12a)]['canvasElement']});}function _0x4d64cb(_0x100d0c){const _0x445241=_0xa608a8;let _0x6dd58b=(0x0,_0x36a73f[_0x445241(0x2af)])(_0x244243[_0x445241(0x2d0)]),_0x2c93e3=(0x0,_0x36a73f['useDependency'])(_0xb19349[_0x445241(0x439)]),{unitId:_0x31da2c,subUnitId:_0x158c1b,drawingId:_0x733a0a,drawingType:_0x45a9de,shapeType:_0x40b89b}=_0x100d0c,[_0x295b0a,_0x26ef0d]=(0x0,_0x2ba528['useState'])(_0x100d0c[_0x445241(0x4c3)]),_0x1cdb55=(0x0,_0x2ba528['useMemo'])(()=>(0x0,_0x354392['getTextStyle'])(_0x295b0a),[_0x295b0a]),_0x329c25=(0x0,_0x2ba528['useMemo'])(()=>(0x0,_0x354392['getTextModel'])(_0x295b0a),[_0x295b0a]);(0x0,_0x2ba528['useEffect'])(()=>{let _0x5ec16c=_0x6dd58b['onCommandExecuted'](_0x2efef7=>{const _0x35aa52=_0x286e;if(_0x2efef7['id']!==_0xb19349[_0x35aa52(0x35d)]['id'])return;let _0x38bae6=_0x2c93e3[_0x35aa52(0x257)](_0x31da2c,_0x158c1b,_0x733a0a);_0x38bae6&&_0x26ef0d(_0x38bae6);});return()=>_0x5ec16c['dispose']();},[_0x6dd58b,_0x733a0a,_0x2c93e3,_0x158c1b,_0x31da2c]);let _0x2560bf=_0x3c3094=>{_0x26ef0d(_0x5bdc2d=>({..._0x5bdc2d,..._0x3c3094}));},_0x69230c=_0x278e22=>{const _0x4b31a1=_0x445241;let _0x3140a9=(0x0,_0x354392[_0x4b31a1(0x255)])(_0x295b0a,_0x278e22);_0x1f80f7(_0x6dd58b,_0x31da2c,_0x158c1b,_0x733a0a,{'oldShapeData':{'shapeText':_0x295b0a['shapeText']}},_0x3140a9),_0x2560bf(_0x3140a9);},_0x4fc2fc=(0x0,_0x354392['useFormulaShapeToolbar'])({'hostType':_0x244243[_0x445241(0x10a)][_0x445241(0x127)],'unitId':_0x31da2c,'subUnitId':_0x158c1b,'shapeId':_0x733a0a,'shapeData':_0x295b0a,'onUpdateBinding':_0x101b89=>{const _0x3ec1ce=_0x445241;let _0x4d7d79={'formulaBinding':_0x101b89};_0x1f80f7(_0x6dd58b,_0x31da2c,_0x158c1b,_0x733a0a,{'oldShapeData':{'formulaBinding':_0x295b0a[_0x3ec1ce(0x301)]}},_0x4d7d79),_0x2560bf(_0x4d7d79);}});return(0x0,_0x1edb74[_0x445241(0x317)])(_0x1edb74[_0x445241(0x20e)],{'children':[(0x0,_0x1edb74[_0x445241(0x4e1)])(_0x354392['ShapeFloatingToolbar'],{'canvasElement':_0x100d0c[_0x445241(0x3cc)],'shapeData':_0x295b0a,'shapeType':_0x40b89b,'textStyle':{'ff':_0x11e0df['ShapeDefaultConfig'][_0x445241(0x489)][_0x445241(0x2c7)],'fs':_0x11e0df[_0x445241(0x4bb)][_0x445241(0x489)][_0x445241(0x176)],'cl':{'rgb':_0x11e0df[_0x445241(0x4bb)][_0x445241(0x489)]['color']},..._0x1cdb55},'textModel':_0x329c25?{'ha':_0x329c25['ha']??_0x244243['HorizontalAlign'][_0x445241(0x423)],'va':_0x329c25['va']??_0x244243['VerticalAlign'][_0x445241(0x4a2)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x11e0df[_0x445241(0x4bb)][_0x445241(0x1c1)],'defaultGradientEndColor':_0x11e0df[_0x445241(0x4bb)][_0x445241(0x4c9)],'defaultStrokeColor':_0x11e0df['ShapeDefaultConfig'][_0x445241(0x237)],'extensionGroups':_0x4fc2fc[_0x445241(0x12c)],'floatingObjectToolbarPosition':_0x36a73f[_0x445241(0x310)][_0x445241(0x1a4)],'onUpdateShapeData':(_0x46bf43,_0x152a98)=>{_0x1f80f7(_0x6dd58b,_0x31da2c,_0x158c1b,_0x733a0a,_0x46bf43,_0x152a98),_0x152a98&&_0x2560bf(_0x152a98);},'onUpdateText':_0x69230c,'onOpenPanel':()=>{const _0x171c05=_0x445241;_0x6dd58b[_0x171c05(0x134)](_0x59c8cc['id'],{'unitId':_0x31da2c,'subUnitId':_0x158c1b,'drawingId':_0x733a0a});},'onDelete':()=>{const _0x3c85cb=_0x445241;_0x6dd58b[_0x3c85cb(0x134)](_0x29aa40[_0x3c85cb(0x50b)]['id'],{'unitId':_0x31da2c,'drawings':[{'unitId':_0x31da2c,'subUnitId':_0x158c1b,'drawingId':_0x733a0a,'drawingType':_0x45a9de}]});}}),_0x4fc2fc[_0x445241(0x1bb)]]});}function _0x486e80(_0x2ac4c9){return!!_0x2ac4c9&&'axisAlignSheetTransform'in _0x2ac4c9&&'sheetTransform'in _0x2ac4c9;}let _0x11659a=(0x0,_0x2ba528[_0xa608a8(0x4b5)])(()=>{const _0x26a8e1=_0xa608a8;let _0x3ecd7e=(0x0,_0x36a73f['useDependency'])(_0x4351c9),_0x486e9c=(0x0,_0x36a73f[_0x26a8e1(0x2af)])(_0xb19349[_0x26a8e1(0x439)]),_0x5da04b=(0x0,_0x36a73f[_0x26a8e1(0x2af)])(_0x43c769[_0x26a8e1(0x334)]),_0x1ef7c4=(0x0,_0x36a73f['useDependency'])(_0x244243['ICommandService']),_0x17874f=(0x0,_0x36a73f[_0x26a8e1(0x2af)])(_0x36a73f['UndoRedoGroupService']),_0x64547a=(0x0,_0x36a73f[_0x26a8e1(0x2af)])(_0x559311[_0x26a8e1(0x306)]),_0x570d62=(0x0,_0x2ba528['useMemo'])(()=>({'getShapeModel':(_0x30a9b8,_0x2479f8,_0x377d3a)=>_0x486e9c[_0x26a8e1(0x335)](_0x30a9b8,_0x2479f8,_0x377d3a),'getShapeData':(_0x5c1bab,_0x554d21,_0x3b5cc8)=>_0x486e9c[_0x26a8e1(0x257)](_0x5c1bab,_0x554d21,_0x3b5cc8),'getDrawingTransform':(_0x1b5b42,_0x2b16c0,_0x51f51f)=>{const _0x3dbcbd=_0x26a8e1;let _0x38accd=_0x5da04b[_0x3dbcbd(0x462)]({'unitId':_0x1b5b42,'subUnitId':_0x2b16c0,'drawingId':_0x51f51f});return _0x38accd==null?void 0x0:_0x38accd[_0x3dbcbd(0x31b)];},'updateShapeText':({unitId:_0x1ab240,subUnitId:_0x4c5f3c,shapeId:_0x5de485,shapeText:_0x4c0321,oldShapeText:_0x3cc77a,hostSize:_0x1a9027})=>{const _0x5d3f13=_0x26a8e1;_0x17874f[_0x5d3f13(0x4ea)](_0x1ab240,()=>{const _0x4ad53c=_0x5d3f13;var _0x2cf075;let _0x774caf=_0x1ef7c4[_0x4ad53c(0x4a7)](_0x4a2843['id'],{'unitId':_0x1ab240,'subUnitId':_0x4c5f3c,'shapeId':_0x5de485,'shapeData':{'shapeText':_0x4c0321},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x3cc77a}}});if(!_0x774caf||!_0x1a9027)return _0x774caf;let _0x1277e3=_0x5da04b[_0x4ad53c(0x462)]({'unitId':_0x1ab240,'subUnitId':_0x4c5f3c,'drawingId':_0x5de485}),_0x7356d0=_0x1277e3==null?void 0x0:_0x1277e3[_0x4ad53c(0x31b)];if(!_0x486e80(_0x1277e3)||!_0x7356d0)return!0x1;let _0x121b3d={..._0x7356d0,'width':_0x1a9027[_0x4ad53c(0x302)],'height':_0x1a9027[_0x4ad53c(0x474)]},_0x18de94=(_0x2cf075=_0x64547a[_0x4ad53c(0x236)](_0x1ab240))==null||(_0x2cf075=_0x2cf075[_0x4ad53c(0x3cf)](_0x180b4c[_0x4ad53c(0x23a)])[_0x4ad53c(0x3ea)](_0x4c5f3c))==null?void 0x0:_0x2cf075[_0x4ad53c(0x514)];return _0x1ef7c4['syncExecuteCommand'](_0x29aa40['SetSheetDrawingCommand']['id'],{'unitId':_0x1ab240,'drawings':[{..._0x1277e3,'transform':_0x121b3d,'sheetTransform':_0x18de94?(0x0,_0x29aa40['transformToDrawingPosition'])(_0x121b3d,_0x18de94)??_0x1277e3[_0x4ad53c(0x178)]:_0x1277e3[_0x4ad53c(0x178)],'axisAlignSheetTransform':_0x18de94?(0x0,_0x29aa40[_0x4ad53c(0x3fb)])(_0x121b3d,_0x18de94)??_0x1277e3[_0x4ad53c(0x388)]:_0x1277e3['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x5d5807,subUnitId:_0x4f3c1e,shapeId:_0x440dee,width:_0x46f54c,height:_0x129f40})=>{const _0x368d8b=_0x26a8e1;var _0x32305a;let _0x369cfb=_0x5da04b['getDrawingByParam']({'unitId':_0x5d5807,'subUnitId':_0x4f3c1e,'drawingId':_0x440dee}),_0xb9f79a=_0x369cfb==null?void 0x0:_0x369cfb[_0x368d8b(0x31b)];if(!_0x486e80(_0x369cfb)||!_0xb9f79a)return;let _0x1d517b={..._0xb9f79a,'width':_0x46f54c,'height':_0x129f40},_0x5647b3=(_0x32305a=_0x64547a[_0x368d8b(0x236)](_0x5d5807))==null||(_0x32305a=_0x32305a[_0x368d8b(0x3cf)](_0x180b4c[_0x368d8b(0x23a)])['getSkeletonParam'](_0x4f3c1e))==null?void 0x0:_0x32305a[_0x368d8b(0x514)],_0x348f9a=_0x5647b3?(0x0,_0x29aa40['transformToDrawingPosition'])(_0x1d517b,_0x5647b3)??_0x369cfb[_0x368d8b(0x178)]:_0x369cfb[_0x368d8b(0x178)],_0x21362d=_0x5647b3?(0x0,_0x29aa40[_0x368d8b(0x3fb)])(_0x1d517b,_0x5647b3)??_0x369cfb[_0x368d8b(0x388)]:_0x369cfb['axisAlignSheetTransform'];_0x1ef7c4[_0x368d8b(0x134)](_0x29aa40[_0x368d8b(0x3d3)]['id'],{'unitId':_0x5d5807,'drawings':[{..._0x369cfb,'transform':_0x1d517b,'sheetTransform':_0x348f9a,'axisAlignSheetTransform':_0x21362d}]});},'allowHostSizeShrink':({unitId:_0x274b9a,subUnitId:_0x17369a,shapeId:_0x43d7de})=>(0x0,_0x354392['shouldAllowShapeTextEditorHostSizeShrink'])(_0x486e9c['getShapeDataById'](_0x274b9a,_0x17369a,_0x43d7de)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x1ef7c4,_0x5da04b,_0x64547a,_0x486e9c,_0x17874f]),_0x5d7d1a=(0x0,_0x2ba528[_0x26a8e1(0x242)])(()=>({'viewportKeys':{'main':_0x559311['SHEET_VIEWPORT_KEY'][_0x26a8e1(0x2c8)],'leftTop':_0x559311[_0x26a8e1(0x3bf)][_0x26a8e1(0x48b)],'top':_0x559311[_0x26a8e1(0x3bf)][_0x26a8e1(0x1fd)],'left':_0x559311[_0x26a8e1(0x3bf)][_0x26a8e1(0x3c8)]},'getSkeleton':(_0x403479,_0x19eb03)=>{const _0x392170=_0x26a8e1;var _0x4c6259;return((_0x4c6259=_0x403479['with'](_0x180b4c['SheetSkeletonManagerService'])['getSkeletonParam'](_0x19eb03[_0x392170(0x226)]))==null?void 0x0:_0x4c6259[_0x392170(0x514)])??null;}}),[]);return(0x0,_0x1edb74[_0x26a8e1(0x4e1)])(_0x354392[_0x26a8e1(0x3f4)],{'adapter':_0x570d62,'editingService':_0x3ecd7e,'editorUnitId':_0x26ff4b,'positionOptions':_0x5d7d1a});}),_0x3d1fd9=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x140632,_0x4761a4){const _0x28c8ed=_0xa608a8;super(),this[_0x28c8ed(0x43b)]=_0x140632,this[_0x28c8ed(0x4b1)]=_0x4761a4,this[_0x28c8ed(0x4e6)](),this[_0x28c8ed(0x3e1)]();}[_0xa608a8(0x4e6)](){const _0x100d9d=_0xa608a8;this[_0x100d9d(0x4b1)]['has'](_0x100d9d(0x1b3))||this[_0x100d9d(0x322)](this['_iconManager'][_0x100d9d(0x136)]({'ObjectLayersIcon':_0xb13c02})),this[_0x100d9d(0x4b1)][_0x100d9d(0x2e5)]('FlipHorizontalIcon')||this[_0x100d9d(0x322)](this[_0x100d9d(0x4b1)]['register']({'FlipHorizontalIcon':_0x392827})),this[_0x100d9d(0x4b1)][_0x100d9d(0x2e5)]('FlipVerticalIcon')||this['disposeWithMe'](this[_0x100d9d(0x4b1)][_0x100d9d(0x136)]({'FlipVerticalIcon':_0x5a9a67})),this[_0x100d9d(0x4b1)][_0x100d9d(0x2e5)](_0x100d9d(0x4e3))||this[_0x100d9d(0x322)](this[_0x100d9d(0x4b1)][_0x100d9d(0x136)]({'BottomIcon':_0x3142c5})),this['_iconManager'][_0x100d9d(0x2e5)]('MoveDownIcon')||this[_0x100d9d(0x322)](this[_0x100d9d(0x4b1)]['register']({'MoveDownIcon':_0x452406})),this[_0x100d9d(0x4b1)][_0x100d9d(0x2e5)]('MoveUpIcon')||this[_0x100d9d(0x322)](this[_0x100d9d(0x4b1)][_0x100d9d(0x136)]({'MoveUpIcon':_0x6834cf})),this[_0x100d9d(0x4b1)]['has']('ShapeFormatSettingIcon')||this[_0x100d9d(0x322)](this[_0x100d9d(0x4b1)]['register']({'ShapeFormatSettingIcon':_0x3ad4d1})),this[_0x100d9d(0x4b1)]['has'](_0x100d9d(0x4b4))||this['disposeWithMe'](this[_0x100d9d(0x4b1)][_0x100d9d(0x136)]({'TopmostIcon':_0x369e65}));}[_0xa608a8(0x3e1)](){const _0xc84b82=_0xa608a8;this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x2948fa,_0x55f76d)),this['disposeWithMe'](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x45b5fb,_0x587718)),this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x129fde,_0x18b8b2)),this[_0xc84b82(0x322)](this['_componentManager'][_0xc84b82(0x136)](_0x42b380,_0x25b0a2)),this[_0xc84b82(0x43b)][_0xc84b82(0x510)](_0x4cdb25[_0xc84b82(0x50f)])||this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x4cdb25[_0xc84b82(0x50f)],_0x314f7e)),this['disposeWithMe'](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x9806a9,_0x48b11b)),this['disposeWithMe'](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x4f8817,_0x346e2a)),this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x3dcb02,_0x35abce)),this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x305fa3,_0x216516)),this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)][_0xc84b82(0x136)](_0x2e3f19,_0x5f064a)),this['disposeWithMe'](this['_componentManager']['register'](_0x2205e6,_0x354392[_0xc84b82(0x269)])),this[_0xc84b82(0x322)](this[_0xc84b82(0x43b)]['register'](_0xc84b82(0x491),_0x11659a));}};_0x3d1fd9=_0x4cddfe([_0x542dc8(0x0,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f['ComponentManager'])),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f[_0xa608a8(0x36c)]))],_0x3d1fd9);let _0x1890f9=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x438815,_0xc43a62,_0x174311,_0x375913,_0x59143d,_0x116c3b,_0x2ffc64,_0x252170,_0x3818a3){const _0x399617=_0xa608a8;super();let _0xa6411=_0x12385e=>{const _0x115d00=_0x286e;var _0x25ea37,_0x16439c;return(((_0x25ea37=_0x252170['getPermissionPoint'](new _0x126f61['WorkbookEditablePermission'](_0x12385e[_0x115d00(0x284)])['id']))==null?void 0x0:_0x25ea37[_0x115d00(0x496)])??!0x0)&&(((_0x16439c=_0x252170['getPermissionPoint'](new _0x126f61[(_0x115d00(0x2fb))](_0x12385e['unitId'],_0x12385e[_0x115d00(0x226)])['id']))==null?void 0x0:_0x16439c[_0x115d00(0x496)])??!0x0);},_0x551530=_0x4f73da=>_0x4f73da[_0x399617(0x3d5)]&&_0xa6411(_0x4f73da)?_0x174311[_0x399617(0x257)](_0x4f73da[_0x399617(0x284)],_0x4f73da[_0x399617(0x226)],_0x4f73da['shapeId'])??null:null,_0x393648=()=>{const _0x4b2cb5=_0x399617;let _0x53db58=_0x59143d[_0x4b2cb5(0x305)](),_0x4fecd7=_0x53db58[_0x4b2cb5(0x225)]===0x1?_0x53db58[0x0]:null;return(_0x4fecd7==null?void 0x0:_0x4fecd7[_0x4b2cb5(0x351)])===_0x244243[_0x4b2cb5(0x138)]['DRAWING_SHAPE']&&_0x4fecd7[_0x4b2cb5(0x284)]===_0x438815[_0x4b2cb5(0x284)]?{'unitId':_0x4fecd7[_0x4b2cb5(0x284)],'subUnitId':_0x4fecd7['subUnitId'],'shapeId':_0x4fecd7[_0x4b2cb5(0x2b5)]}:null;};this[_0x399617(0x322)]((0x0,_0x354392['registerShapeFormatPainter'])(_0x438815,_0xc43a62,{'changes$':(0x0,_0x38f817[_0x399617(0x4ce)])(_0x59143d[_0x399617(0x17f)],_0x375913[_0x399617(0x283)],_0x252170[_0x399617(0x2aa)]),'isActive':()=>{const _0x582e13=_0x399617;var _0x443946;return((_0x443946=_0x116c3b['getFocusedUnit']())==null?void 0x0:_0x443946[_0x582e13(0x244)]())===_0x438815[_0x582e13(0x284)]&&!_0x2ffc64[_0x582e13(0x50e)](_0x244243[_0x582e13(0x349)])&&_0x59143d[_0x582e13(0x305)]()[_0x582e13(0x38c)](_0x280306=>_0x280306[_0x582e13(0x284)]===_0x438815[_0x582e13(0x284)]);},'getSelectedTarget':_0x393648,'getSource':()=>{let _0x246634=_0x393648();return _0x246634?_0x551530(_0x246634):null;},'getTarget':_0x27c18b=>{const _0x226af4=_0x399617;let _0x2fbdee=_0x438815['scene'][_0x226af4(0x39d)](new _0x559311['Vector2'](_0x27c18b[_0x226af4(0x273)],_0x27c18b[_0x226af4(0x32d)]));if(!(_0x2fbdee instanceof _0x5ee4ee))return null;let _0x199470={'unitId':_0x438815['unitId'],'subUnitId':_0x2fbdee['subUnitId'],'shapeId':_0x2fbdee[_0x226af4(0x3d5)]};return _0xa6411(_0x199470)?_0x199470:null;},'getShape':_0x551530,'update':(_0x415a98,_0x155d86,_0x2d7ca1)=>_0x3818a3['executeCommand'](_0x4a2843['id'],{..._0x415a98,'shapeData':_0x2d7ca1,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x155d86}})}));}};_0x1890f9=_0x4cddfe([_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f[_0xa608a8(0x428)])),_0x542dc8(0x2,(0x0,_0x244243['Inject'])(_0xb19349[_0xa608a8(0x439)])),_0x542dc8(0x3,(0x0,_0x244243['Inject'])(_0x4351c9)),_0x542dc8(0x4,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x5,_0x244243[_0xa608a8(0x39a)]),_0x542dc8(0x6,_0x244243['IContextService']),_0x542dc8(0x7,_0x244243['IPermissionService']),_0x542dc8(0x8,_0x244243[_0xa608a8(0x2d0)])],_0x1890f9);let _0x1c54fe=_0xa608a8(0x2fc),_0x1a259b=class extends _0x244243['Disposable']{constructor(_0x8722,_0x30b524,_0x43118b,_0x499b1f,_0x53d70b,_0xc53941){const _0x35a5aa=_0xa608a8;super(),this[_0x35a5aa(0x2a2)]=_0x8722,this[_0x35a5aa(0x1f6)]=_0x30b524,this[_0x35a5aa(0x3d7)]=_0x43118b,this[_0x35a5aa(0x1e8)]=_0x499b1f,this[_0x35a5aa(0x23d)]=_0x53d70b,this[_0x35a5aa(0x28b)]=_0xc53941,_0x5b48d0(this,_0x35a5aa(0x205),!0x1),this[_0x35a5aa(0x2a2)][_0x35a5aa(0x4e5)](_0x343ee7),this[_0x35a5aa(0x322)]((0x0,_0x244243[_0x35a5aa(0x45a)])(this[_0x35a5aa(0x3d7)]['focus$'][_0x35a5aa(0x376)](()=>this['_update']()))),this[_0x35a5aa(0x2ca)]();}[_0xa608a8(0x11e)](){const _0x3abafe=_0xa608a8;this['_shapeFloatingToolbarService'][_0x3abafe(0x3a3)](!0x1,_0x1c54fe),this[_0x3abafe(0x1b4)](),super[_0x3abafe(0x11e)]();}[_0xa608a8(0x2ca)](){const _0x393412=_0xa608a8;var _0x230ec9;let _0x51d96c=this[_0x393412(0x3d7)][_0x393412(0x305)](),_0x5e048a=_0x51d96c[_0x393412(0x225)]===0x1?_0x51d96c[0x0]:void 0x0;if((_0x5e048a==null?void 0x0:_0x5e048a[_0x393412(0x351)])!==_0x244243[_0x393412(0x138)][_0x393412(0x4e9)]||this['_univerInstanceService'][_0x393412(0x1af)](_0x5e048a[_0x393412(0x284)])!==_0x244243['UniverInstanceType'][_0x393412(0x127)]){this[_0x393412(0x28b)][_0x393412(0x3a3)](!0x1,_0x1c54fe),this[_0x393412(0x1b4)]();return;}let _0x42952b=(_0x230ec9=this['_renderManagerService'][_0x393412(0x236)](_0x5e048a[_0x393412(0x284)]))==null?void 0x0:_0x230ec9['engine'][_0x393412(0x337)](),_0x55f9f5=(0x0,_0x354392['resolveShapeContextualRibbonHostMode'])(_0x42952b)==='isolated';this['_shapeFloatingToolbarService'][_0x393412(0x3a3)](_0x55f9f5,_0x1c54fe),_0x55f9f5?this[_0x393412(0x1b4)]():this[_0x393412(0x205)]||(this['_visible']=!0x0,this['_ribbonService'][_0x393412(0x29c)](_0x4eb377,{'activate':!0x0}));}['_hide'](){const _0x9c1f4c=_0xa608a8;this[_0x9c1f4c(0x205)]&&(this[_0x9c1f4c(0x205)]=!0x1,this[_0x9c1f4c(0x1f6)][_0x9c1f4c(0x398)](_0x4eb377),this[_0x9c1f4c(0x1f6)][_0x9c1f4c(0x458)]([]));}};_0x1a259b=_0x4cddfe([_0x542dc8(0x0,_0x36a73f[_0xa608a8(0x162)]),_0x542dc8(0x1,_0x36a73f['IRibbonService']),_0x542dc8(0x2,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x3,_0x244243[_0xa608a8(0x39a)]),_0x542dc8(0x4,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0x5,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x354392[_0xa608a8(0x1f4)]))],_0x1a259b);let _0x1da91f=class extends _0x354392[_0xa608a8(0x506)]{constructor(_0x42dc21,_0x19b888,_0x1377e5,_0x513337,_0x214412,_0x43ff0d,_0x3c14e6,_0x37cc18,_0x4e5524,_0x2ca072){super(_0x42dc21,_0x19b888,_0x1377e5,_0x513337,_0x214412,_0x43ff0d,_0x3c14e6,_0x37cc18,_0x4e5524,_0x2ca072,{'componentKey':_0x2205e6,'editorUnitId':_0x26ff4b});}};_0x1da91f=_0x4cddfe([_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x5defe7[_0xa608a8(0x27b)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x3f2843['DocCanvasPopManagerService'])),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x3f2843[_0xa608a8(0x307)])),_0x542dc8(0x4,_0x244243['ICommandService']),_0x542dc8(0x5,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x3f2843[_0xa608a8(0x45e)])),_0x542dc8(0x6,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x354392[_0xa608a8(0x2d6)])),_0x542dc8(0x7,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x5defe7[_0xa608a8(0x411)])),_0x542dc8(0x8,(0x0,_0x244243['Inject'])(_0x3f2843[_0xa608a8(0x1d9)])),_0x542dc8(0x9,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4351c9))],_0x1da91f);let _0xefd484=class extends _0x354392[_0xa608a8(0x33b)]{constructor(_0x2b954a,_0x32c777,_0x5a181f,_0x3192fc,_0x420ef2){const _0x2eacb4=_0xa608a8;super(_0x2b954a,_0x32c777,{'editing$':_0x5a181f[_0x2eacb4(0x283)],'resolve':_0x2353f5=>{const _0x36c118=_0x2eacb4;var _0x537016,_0x203ca1,_0x370cd5;let _0x8830fb=new _0x559311[(_0x36c118(0x520))](_0x2353f5['offsetX'],_0x2353f5[_0x36c118(0x32d)]),_0x57856c=((_0x537016=_0x2b954a[_0x36c118(0x419)][_0x36c118(0x1bf)](_0x8830fb))==null?void 0x0:_0x537016[_0x36c118(0x316)](_0x8830fb))??_0x8830fb,_0x11dad8=(0x0,_0x354392['resolveShapeTextHyperLinkObject'])(_0x2b954a[_0x36c118(0x419)][_0x36c118(0x39d)](_0x8830fb)??null,_0x57856c);if(!(_0x11dad8 instanceof _0x5ee4ee))return null;let _0x11957c=_0x11dad8[_0x36c118(0x416)](_0x57856c);if(!_0x11957c)return null;let _0x3db8b7=_0x11dad8,_0x25e712={'componentKey':_0x354392['ShapeTextHyperLinkInfo']['componentKey'],'direction':_0x36c118(0x259),'offset':[0x0,0xa],'onClickOutside':()=>_0x32c777[_0x36c118(0x46f)]()};return{'object':_0x11dad8,'info':{..._0x11957c,'unitId':_0x11dad8[_0x36c118(0x284)],'subUnitId':_0x11dad8[_0x36c118(0x226)],'shapeKey':_0x11dad8[_0x36c118(0x26d)],'readonly':!0x0,'copyable':((_0x203ca1=_0x420ef2[_0x36c118(0x353)](new _0x126f61['WorkbookCopyPermission'](_0x11dad8[_0x36c118(0x284)])['id']))==null?void 0x0:_0x203ca1[_0x36c118(0x496)])!==!0x1&&((_0x370cd5=_0x420ef2[_0x36c118(0x353)](new _0x126f61[(_0x36c118(0x146))](_0x11dad8['unitId'],_0x11dad8[_0x36c118(0x226)])['id']))==null?void 0x0:_0x370cd5[_0x36c118(0x496)])!==!0x1},'attachPopup':()=>_0x3192fc[_0x36c118(0x1a6)](_0x3db8b7,_0x25e712)};}}),this[_0x2eacb4(0x322)](_0x2b954a['unit'][_0x2eacb4(0x2de)][_0x2eacb4(0x376)](()=>this[_0x2eacb4(0x221)]()));}};_0xefd484=_0x4cddfe([_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x354392[_0xa608a8(0x2d6)])),_0x542dc8(0x2,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4351c9)),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x180b4c[_0xa608a8(0x33a)])),_0x542dc8(0x4,_0x244243[_0xa608a8(0x432)])],_0xefd484);let _0x4041f8=class extends _0x244243[_0xa608a8(0x2a8)]{constructor(_0x22d275,_0x5f5df0,_0x46081d,_0x40e849,_0x13271b,_0x3ce177,_0x4f483d,_0x43eacc,_0x44962e,_0x1d30bb,_0x2492dd){const _0x187c45=_0xa608a8;super(),this[_0x187c45(0x1e8)]=_0x22d275,this[_0x187c45(0x4bd)]=_0x5f5df0,this['_menuManagerService']=_0x46081d,this[_0x187c45(0x524)]=_0x40e849,this[_0x187c45(0x15a)]=_0x13271b,this[_0x187c45(0x480)]=_0x3ce177,this[_0x187c45(0x3d7)]=_0x4f483d,this[_0x187c45(0x52b)]=_0x43eacc,this[_0x187c45(0x135)]=_0x44962e,this[_0x187c45(0x23d)]=_0x1d30bb,this[_0x187c45(0x37d)]=_0x2492dd,_0x5b48d0(this,_0x187c45(0x2ad),null),_0x5b48d0(this,_0x187c45(0x49c),null),_0x5b48d0(this,_0x187c45(0x2db),!0x1),_0x5b48d0(this,_0x187c45(0x1b5),0x0),_0x5b48d0(this,_0x187c45(0x4a0),null),_0x5b48d0(this,_0x187c45(0x209),[]),this[_0x187c45(0x347)](),this['disposeWithMe'](this[_0x187c45(0x1e8)][_0x187c45(0x2bd)](_0x244243[_0x187c45(0x10a)][_0x187c45(0x127)])['subscribe'](_0x365b4a=>{const _0x187ee5=_0x187c45;if(!_0x365b4a){var _0x4a6fa9;(_0x4a6fa9=this[_0x187ee5(0x2ad)])==null||_0x4a6fa9[_0x187ee5(0x11e)]();}})),this['_registerOperations'](),this[_0x187c45(0x2f3)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x187c45(0x283)][_0x187c45(0x376)](_0x3b51d3=>{_0x3b51d3&&this['_clearPopups']();}));}[_0xa608a8(0x347)](){const _0x2e420f=_0xa608a8;this[_0x2e420f(0x2a2)][_0x2e420f(0x4e5)](_0x417544);}[_0xa608a8(0x2f3)](){const _0x335589=_0xa608a8;this[_0x335589(0x4a0)]||=this['disposeWithMe']((0x0,_0x354392[_0x335589(0x151)])(this[_0x335589(0x23d)],_0x244243[_0x335589(0x10a)][_0x335589(0x127)],_0x127d1e=>this['_popupMenuListener'](_0x127d1e)));}[_0xa608a8(0x21d)](_0x333615,_0x11276,_0xfa5595){const _0x2be02d=_0xa608a8;let _0x342b1a=this[_0x2be02d(0x524)][_0x2be02d(0x1d2)](_0x333615,_0x11276,_0xfa5595),_0x224a4c=this[_0x2be02d(0x524)][_0x2be02d(0x257)](_0x333615,_0x11276,_0xfa5595);return _0x342b1a!==void 0x0&&_0x224a4c!==void 0x0?{'shapeData':_0x224a4c,'shapeId':_0xfa5595,'shapeType':_0x342b1a,'unitId':_0x333615,'subUnitId':_0x11276,'version':this[_0x2be02d(0x1b5)],'disableShapeOption':!0x1}:null;}[_0xa608a8(0x3e6)](){const _0x373581=_0xa608a8;this['_disposePopups']['forEach'](_0x436805=>_0x436805['dispose']()),this['_disposePopups'][_0x373581(0x225)]=0x0;}[_0xa608a8(0x2fd)](_0x22b82a){const _0x4d1c56=_0xa608a8;let _0x6c61f1=new _0x244243[(_0x4d1c56(0x11f))]();return _0x6c61f1[_0x4d1c56(0x488)](_0x22b82a['createControl$'][_0x4d1c56(0x376)](()=>{const _0x4961cb=_0x4d1c56;let _0x4ed3f3=_0x22b82a[_0x4961cb(0x18c)]();if(this[_0x4961cb(0x3e6)](),this[_0x4961cb(0x2db)]||_0x4ed3f3[_0x4961cb(0x13f)]>0x1)return;let _0x28ba9b=_0x4ed3f3[_0x4961cb(0x48d)]()[_0x4961cb(0x159)]()['value'];if(!_0x28ba9b)return;let _0x4c8044=this[_0x4961cb(0x3d7)]['getDrawingOKey'](_0x28ba9b['oKey']);if(!_0x4c8044||_0x4c8044[_0x4961cb(0x351)]!==_0x244243[_0x4961cb(0x138)]['DRAWING_SHAPE'])return;let {unitId:_0x4c9916,subUnitId:_0x195216,drawingId:_0x2bb896,drawingType:_0x33f0c0}=_0x4c8044,_0x372053=this[_0x4961cb(0x21d)](_0x4c9916,_0x195216,_0x2bb896);if(!_0x372053)return;this[_0x4961cb(0x135)][_0x4961cb(0x471)](_0x244243[_0x4961cb(0x167)],!0x0);let _0x580acc=this['_renderManagerService']['getRenderUnitById'](_0x4c9916),_0xf8bf1f=((_0x580acc==null?void 0x0:_0x580acc[_0x4961cb(0x3bd)])===!0x1?_0x580acc[_0x4961cb(0x3cf)](_0x180b4c['SheetCanvasPopManagerService']):this[_0x4961cb(0x52b)])[_0x4961cb(0x1a6)](_0x28ba9b,{'componentKey':_0x9806a9,'direction':_0x4961cb(0x427),'offset':[0x0,_0x354392['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x4c9916,'subUnitId':_0x195216,'drawingId':_0x2bb896,'drawingType':_0x33f0c0,'shapeType':_0x372053[_0x4961cb(0x1ee)],'shapeData':_0x372053[_0x4961cb(0x4c3)]}});this[_0x4961cb(0x209)][_0x4961cb(0x313)](this['disposeWithMe'](_0xf8bf1f)),this[_0x4961cb(0x3d7)]['getFocusDrawings']()[_0x4961cb(0x3c7)](_0x3dabcf=>_0x3dabcf[_0x4961cb(0x284)]===_0x4c9916&&_0x3dabcf[_0x4961cb(0x226)]===_0x195216&&_0x3dabcf[_0x4961cb(0x2b5)]===_0x2bb896)||this[_0x4961cb(0x3d7)][_0x4961cb(0x264)]([{'unitId':_0x4c9916,'subUnitId':_0x195216,'drawingId':_0x2bb896}]);})),_0x6c61f1[_0x4d1c56(0x488)](_0x22b82a[_0x4d1c56(0x24f)]['subscribe'](()=>{const _0x3c53d4=_0x4d1c56;this[_0x3c53d4(0x3e6)](),this[_0x3c53d4(0x135)]['setContextValue'](_0x244243[_0x3c53d4(0x167)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),_0x6c61f1[_0x4d1c56(0x488)](_0x22b82a['changing$']['subscribe'](()=>{const _0x5f15c1=_0x4d1c56;this[_0x5f15c1(0x3e6)]();})),_0x6c61f1[_0x4d1c56(0x488)](_0x22b82a[_0x4d1c56(0x4dd)][_0x4d1c56(0x376)](()=>{const _0x48c5c4=_0x4d1c56;this[_0x48c5c4(0x3e6)]();})),(0x0,_0x244243[_0x4d1c56(0x45a)])(()=>{const _0x6125c3=_0x4d1c56;_0x6c61f1[_0x6125c3(0x11e)](),this[_0x6125c3(0x3e6)]();});}[_0xa608a8(0x4b6)](){const _0x3ec106=_0xa608a8;this[_0x3ec106(0x322)](this[_0x3ec106(0x480)][_0x3ec106(0x380)](_0x427142=>{const _0x4fe7b2=_0x3ec106;if(_0x427142['id']===_0x59c8cc['id']){let {unitId:_0x18b97a,subUnitId:_0x3820e9,drawingId:_0x47347b}=_0x427142[_0x4fe7b2(0x131)];this[_0x4fe7b2(0x1b5)]+=0x1,this[_0x4fe7b2(0x49c)]=this[_0x4fe7b2(0x21d)](_0x18b97a,_0x3820e9,_0x47347b),this['_clearPopups'](),this[_0x4fe7b2(0x359)]();}if(_0x427142['id']===_0x47cc56['id']&&(this['_activeShapeInfo']=null,this[_0x4fe7b2(0x4ef)]()),_0x427142['id']===_0xb19349[_0x4fe7b2(0x35d)]['id']){let {unitId:_0x1df7ce,subUnitId:_0x1a6bae,shapeId:_0x4cd4eb}=_0x427142['params'];if(this['_activeShapeInfo']&&this['_activeShapeInfo'][_0x4fe7b2(0x3d5)]===_0x4cd4eb){let _0x2de50b=this[_0x4fe7b2(0x21d)](_0x1df7ce,_0x1a6bae,_0x4cd4eb);_0x2de50b&&(this['_shapeEditPanelVersion']+=0x1,_0x2de50b[_0x4fe7b2(0x48f)]=this[_0x4fe7b2(0x1b5)],this[_0x4fe7b2(0x49c)]=_0x2de50b,this['_isOpenedShapeEditPanel']&&this[_0x4fe7b2(0x359)]());}}})),this[_0x3ec106(0x322)](this[_0x3ec106(0x3d7)]['focus$'][_0x3ec106(0x376)](_0xd6fdef=>{const _0x161636=_0x3ec106;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0xd6fdef[_0x161636(0x225)]===0x0){this[_0x161636(0x49c)]=null,this[_0x161636(0x4ef)]();return;}if(_0xd6fdef[_0x161636(0x225)]===0x1&&_0xd6fdef[0x0][_0x161636(0x351)]===_0x244243[_0x161636(0x138)][_0x161636(0x4e9)]&&(this[_0x161636(0x1b5)]+=0x1,this['_activeShapeInfo']=this[_0x161636(0x21d)](_0xd6fdef[0x0][_0x161636(0x284)],_0xd6fdef[0x0][_0x161636(0x226)],_0xd6fdef[0x0]['drawingId']),this[_0x161636(0x49c)])){this[_0x161636(0x359)]();return;}let _0x36a229=_0xd6fdef['filter'](_0x517a8d=>_0x517a8d['drawingType']===_0x244243[_0x161636(0x138)][_0x161636(0x4e9)]);if(_0xd6fdef['length']>0x1&&_0x36a229['length']===_0xd6fdef[_0x161636(0x225)]){if(this[_0x161636(0x1b5)]+=0x1,this[_0x161636(0x49c)]=this[_0x161636(0x21d)](_0xd6fdef[0x0][_0x161636(0x284)],_0xd6fdef[0x0]['subUnitId'],_0xd6fdef[0x0][_0x161636(0x2b5)]),this[_0x161636(0x49c)]){this[_0x161636(0x359)]();return;}}else{if(this[_0x161636(0x1b5)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0xd6fdef[0x0][_0x161636(0x284)],_0xd6fdef[0x0][_0x161636(0x226)],_0xd6fdef[0x0]['drawingId']),this[_0x161636(0x49c)]){this[_0x161636(0x49c)][_0x161636(0x4d0)]=!0x0,this[_0x161636(0x359)]();return;}}this[_0x161636(0x4ef)]();}));}['_openShapeEditPanel'](){const _0x51649f=_0xa608a8;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this[_0x51649f(0x4bd)]['open']({'id':_0x2948fa,'header':{'title':this[_0x51649f(0x15a)]['t'](_0x51649f(0x183))},'width':0x184,'children':{'label':_0x2948fa,...this['_activeShapeInfo']},'onClose':()=>{const _0x1c4786=_0x51649f;this[_0x1c4786(0x3d7)]['focusDrawing'](null),this[_0x1c4786(0x135)][_0x1c4786(0x471)](_0x244243[_0x1c4786(0x167)],!0x1),this[_0x1c4786(0x2ad)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0xa608a8(0x4ef)](){const _0x41a2b4=_0xa608a8;this[_0x41a2b4(0x2db)]=!0x1,this[_0x41a2b4(0x4bd)][_0x41a2b4(0x239)](_0x2948fa),this[_0x41a2b4(0x2ad)]=null,this[_0x41a2b4(0x135)][_0x41a2b4(0x471)](_0x244243[_0x41a2b4(0x167)],!0x1),this[_0x41a2b4(0x3d7)]['focusDrawing'](null);}};_0x4041f8=_0x4cddfe([_0x542dc8(0x0,_0x244243['IUniverInstanceService']),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x36a73f[_0xa608a8(0x16f)])),_0x542dc8(0x2,_0x36a73f[_0xa608a8(0x162)]),_0x542dc8(0x3,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0xb19349['SheetsShapeService'])),_0x542dc8(0x4,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x38e)])),_0x542dc8(0x5,_0x244243[_0xa608a8(0x2d0)]),_0x542dc8(0x6,_0x43c769[_0xa608a8(0x334)]),_0x542dc8(0x7,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x180b4c['SheetCanvasPopManagerService'])),_0x542dc8(0x8,_0x244243[_0xa608a8(0x2a4)]),_0x542dc8(0x9,_0x559311[_0xa608a8(0x306)]),_0x542dc8(0xa,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x4351c9))],_0x4041f8);let _0x1b9369=class extends _0x244243['Plugin']{constructor(_0x53a592=_0x22bbe8,_0x2f18bf,_0x41274a,_0x554039,_0x3c2353){const _0x50e947=_0xa608a8;super(),this[_0x50e947(0x36e)]=_0x53a592,this[_0x50e947(0x21c)]=_0x2f18bf,this['_commandService']=_0x41274a,this[_0x50e947(0x44f)]=_0x554039,this[_0x50e947(0x23d)]=_0x3c2353;let {..._0x3cab19}=(0x0,_0x244243[_0x50e947(0x4ce)])({},_0x22bbe8,this[_0x50e947(0x36e)]);this[_0x50e947(0x44f)]['setConfig'](_0xb25cac,_0x3cab19),this[_0x50e947(0x4c6)]();}['onRendered'](){const _0x4eebed=_0xa608a8;this[_0x4eebed(0x23d)][_0x4eebed(0x421)](_0x244243[_0x4eebed(0x10a)][_0x4eebed(0x170)],[_0x1da91f]),(0x0,_0x244243[_0x4eebed(0x120)])(this[_0x4eebed(0x21c)],[[_0x4041f8],[_0x4304cd],[_0x4f6784],[_0x344863]]);}[_0xa608a8(0x362)](){this['_injector']['get'](_0x4041f8)['initShapePopupMenu']();}[_0xa608a8(0x232)](){const _0x22cf7c=_0xa608a8;[[_0x582783],[_0x35cd7c],[_0x59ce19]][_0x22cf7c(0x2ce)](_0x4adc6d=>this['_injector']['add'](_0x4adc6d)),(0x0,_0x244243[_0x22cf7c(0x120)])(this[_0x22cf7c(0x21c)],[[_0x59ce19],[_0x35cd7c]]),this[_0x22cf7c(0x23d)][_0x22cf7c(0x421)](_0x244243[_0x22cf7c(0x10a)][_0x22cf7c(0x127)],[_0x582783]),this[_0x22cf7c(0x23d)]['registerRenderModule'](_0x244243[_0x22cf7c(0x10a)][_0x22cf7c(0x127)],[_0x282d54]),this[_0x22cf7c(0x23d)][_0x22cf7c(0x421)](_0x244243[_0x22cf7c(0x10a)]['UNIVER_SHEET'],[_0x3e8676]),this[_0x22cf7c(0x23d)][_0x22cf7c(0x421)](_0x244243[_0x22cf7c(0x10a)][_0x22cf7c(0x127)],[_0x43a94f]),this['disposeWithMe'](this['_renderManagerService'][_0x22cf7c(0x421)](_0x244243[_0x22cf7c(0x10a)][_0x22cf7c(0x127)],[_0xefd484])),this[_0x22cf7c(0x322)](this[_0x22cf7c(0x23d)][_0x22cf7c(0x421)](_0x244243['UniverInstanceType']['UNIVER_SHEET'],[_0x1890f9]));}[_0xa608a8(0x324)](){const _0x220159=_0xa608a8;this['_injector'][_0x220159(0x488)]([_0x3d1fd9]),this['_injector'][_0x220159(0x20b)](_0x3d1fd9);let _0x368d13=this[_0x220159(0x21c)];[[_0x4041f8],[_0x4304cd],[_0x4f6784],[_0x344863],[_0x3dc45c],[_0x4351c9],[_0x1a879a],[_0x3b876d],[_0x29ce99],[_0x1a259b]][_0x220159(0x2ce)](_0x572fc3=>_0x368d13[_0x220159(0x488)](_0x572fc3)),(0x0,_0x244243['touchDependencies'])(this[_0x220159(0x21c)],[[_0x4041f8],[_0x4304cd],[_0x4f6784],[_0x3dc45c],[_0x4351c9],[_0x1a879a],[_0x3b876d],[_0x29ce99],[_0x1a259b]]);}[_0xa608a8(0x4c6)](){const _0x59edd5=_0xa608a8;[_0x2aee67,_0x4a2843,_0x47cc56,_0x59c8cc,_0xd39a54,_0x5c23b1,_0xb30908,_0x14afcc][_0x59edd5(0x2ce)](_0x1721d8=>this['disposeWithMe'](this['_commandService'][_0x59edd5(0x4ed)](_0x1721d8)));}};_0x5b48d0(_0x1b9369,'type',_0x244243[_0xa608a8(0x10a)]['UNIVER_SHEET']),_0x5b48d0(_0x1b9369,'pluginName',_0xa608a8(0x29f)),_0x5b48d0(_0x1b9369,_0xa608a8(0x1f5),_0x28e822),_0x5b48d0(_0x1b9369,'version',_0x4887ee),_0x1b9369=_0x4cddfe([(0x0,_0x244243[_0xa608a8(0x13d)])(_0x3cffa1[_0xa608a8(0x400)],_0x5defe7[_0xa608a8(0x35f)],_0x43c769[_0xa608a8(0x275)],_0x4cdb25[_0xa608a8(0x243)],_0x559311[_0xa608a8(0x4ae)],_0x126f61[_0xa608a8(0x174)],_0x3f2843[_0xa608a8(0x3a5)],_0x29aa40['UniverSheetsDrawingPlugin'],_0x4e6980[_0xa608a8(0x1b7)],_0x37d78b['UniverSheetsDrawingUIPlugin'],_0xb19349[_0xa608a8(0x111)],_0x180b4c[_0xa608a8(0x1cc)],_0x354392['UniverShapeEditorUIPlugin']),_0x542dc8(0x1,(0x0,_0x244243[_0xa608a8(0x3f8)])(_0x244243[_0xa608a8(0x330)])),_0x542dc8(0x2,_0x244243['ICommandService']),_0x542dc8(0x3,_0x244243[_0xa608a8(0x195)]),_0x542dc8(0x4,_0x559311[_0xa608a8(0x306)])],_0x1b9369),_0x3d809c[_0xa608a8(0x12b)]=_0x343ee7,_0x3d809c[_0xa608a8(0x3e4)]=_0x417544,Object[_0xa608a8(0x34b)](_0x3d809c,_0xa608a8(0x519),{'enumerable':!0x0,'get':function(){return _0x4d508d;}}),Object[_0xa608a8(0x34b)](_0x3d809c,_0xa608a8(0x248),{'enumerable':!0x0,'get':function(){return _0x1b9369;}});}));
|