@univerjs-pro/sheets-shape-ui 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +7 -7
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/sheet-shape-clipboard.controller.d.ts +8 -3
  63. package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
  64. package/lib/types/controllers/sheets-shape-ui-permission.controller.d.ts +3 -2
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. 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 _0x231f(_0x595c21,_0x3afc3b){_0x595c21=_0x595c21-0x1d4;const _0x376c4f=_0x376c();let _0x231f0a=_0x376c4f[_0x595c21];return _0x231f0a;}(function(_0x1880e0,_0xf85e1b){const _0x1281fc=_0x231f,_0xc83540=_0x1880e0();while(!![]){try{const _0xc1a28b=-parseInt(_0x1281fc(0x2de))/0x1*(parseInt(_0x1281fc(0x2ae))/0x2)+parseInt(_0x1281fc(0x28d))/0x3+parseInt(_0x1281fc(0x57c))/0x4+-parseInt(_0x1281fc(0x273))/0x5+-parseInt(_0x1281fc(0x5de))/0x6+parseInt(_0x1281fc(0x3f7))/0x7*(parseInt(_0x1281fc(0x441))/0x8)+parseInt(_0x1281fc(0x42b))/0x9*(parseInt(_0x1281fc(0x321))/0xa);if(_0xc1a28b===_0xf85e1b)break;else _0xc83540['push'](_0xc83540['shift']());}catch(_0x26654e){_0xc83540['push'](_0xc83540['shift']());}}}(_0x376c,0x1fcbe),function(_0x548ff0,_0xbf3f51){const _0x274024=_0x231f;typeof exports==_0x274024(0x30d)&&typeof module<'u'?_0xbf3f51(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==_0x274024(0x53d)&&define[_0x274024(0x56c)]?define([_0x274024(0x499),_0x274024(0x50e),'@univerjs/ui',_0x274024(0x5e4),_0x274024(0x420),_0x274024(0x4ad),_0x274024(0x286),'@univerjs/engine-render',_0x274024(0x287),_0x274024(0x3e8),_0x274024(0x3d8),'@univerjs/drawing',_0x274024(0x5e2),_0x274024(0x2c1),_0x274024(0x360),'react/jsx-runtime',_0x274024(0x24c),_0x274024(0x580),_0x274024(0x353),_0x274024(0x42e),_0x274024(0x53b)],_0xbf3f51):(_0x548ff0=typeof globalThis<'u'?globalThis:_0x548ff0||self,_0xbf3f51(_0x548ff0[_0x274024(0x4ef)]={},_0x548ff0[_0x274024(0x2e3)],_0x548ff0[_0x274024(0x4b2)],_0x548ff0['UniverProEngineShape'],_0x548ff0['UniverProShapeEditor'],_0x548ff0['UniverProSheetsShape'],_0x548ff0[_0x274024(0x235)],_0x548ff0[_0x274024(0x27d)],_0x548ff0[_0x274024(0x551)],_0x548ff0['UniverSheetsDrawing'],_0x548ff0[_0x274024(0x37c)],_0x548ff0[_0x274024(0x2b4)],_0x548ff0[_0x274024(0x5e2)],_0x548ff0[_0x274024(0x2d6)],_0x548ff0[_0x274024(0x4a4)],_0x548ff0[_0x274024(0x47f)],_0x548ff0[_0x274024(0x3f1)],_0x548ff0[_0x274024(0x38f)],_0x548ff0[_0x274024(0x5a6)],_0x548ff0[_0x274024(0x236)],_0x548ff0[_0x274024(0x47f)]));}(this,function(_0x3f2738,_0x197fcc,_0x23e778,_0x1f2a15,_0x1ad5b7,_0x565640,_0x35d996,_0x580d8a,_0x2a684c,_0x47830d,_0x590c15,_0x2ed59f,_0x4737d9,_0x2c4f7e,_0x36db41,_0x121104,_0x64ee3d,_0x156373,_0x3a1af6,_0x353806,_0x3d354c){const _0x2766d8=_0x231f;Object[_0x2766d8(0x54e)](_0x3f2738,Symbol['toStringTag'],{'value':_0x2766d8(0x2db)});function _0x5b6e6e(_0xc28b8b,_0x423167){const _0x2dbc81=_0x2766d8;let _0x329734={};for(let _0x2c4875 of Object[_0x2dbc81(0x38e)](_0x423167)){let _0x54fa9a=_0x423167[_0x2c4875],_0x45a7e5=_0xc28b8b[_0x2c4875];_0x329734[_0x2c4875]=_0x45a7e5===void 0x0?void 0x0:typeof _0x54fa9a==_0x2dbc81(0x30d)&&_0x54fa9a&&!Array[_0x2dbc81(0x5ea)](_0x54fa9a)&&typeof _0x45a7e5==_0x2dbc81(0x30d)&&_0x45a7e5&&!Array[_0x2dbc81(0x5ea)](_0x45a7e5)?_0x5b6e6e(_0x45a7e5,_0x54fa9a):_0x45a7e5;}return _0x329734;}let _0x33bf3b={'type':_0x35d996['CommandType'][_0x2766d8(0x56b)],'id':_0x2766d8(0x469),'handler':(_0x32e778,_0x275a14)=>{const _0x11ec2c=_0x2766d8;let _0x120c1e=_0x32e778['get'](_0x565640[_0x11ec2c(0x248)]),{unitId:_0xbfb842,subUnitId:_0x3f1f46,shapeType:_0xea5c78,shapeId:_0x333bad,shapeData:_0x20299d,replaceShapeData:_0x56ab7a,oldShapeJSON:_0x1aebaa}=_0x275a14;if(!_0x120c1e[_0x11ec2c(0x338)](_0xbfb842,_0x3f1f46,_0x333bad))return!0x1;let _0x244f12=_0x32e778['get'](_0x35d996[_0x11ec2c(0x3c6)]),_0x3a8e68=_0x32e778[_0x11ec2c(0x340)](_0x35d996[_0x11ec2c(0x25f)]),{oldShapeType:_0x467699,oldShapeData:_0x4fbe55={}}=_0x1aebaa,_0x45c7b7=_0x56ab7a?_0x4fbe55:_0x5b6e6e(_0x4fbe55,_0x20299d||{}),_0x573734={'id':_0x565640[_0x11ec2c(0x229)]['id'],'params':{'unitId':_0xbfb842,'subUnitId':_0x3f1f46,'shapeId':_0x333bad,'shapeType':_0xea5c78,'shapeData':_0x20299d,'replace':_0x56ab7a}},_0x57b198={'id':_0x565640[_0x11ec2c(0x229)]['id'],'params':{'unitId':_0xbfb842,'subUnitId':_0x3f1f46,'shapeId':_0x333bad,'shapeType':_0x467699,'shapeData':_0x45c7b7,'replace':_0x56ab7a}};return _0x244f12['syncExecuteCommand'](_0x573734['id'],_0x573734[_0x11ec2c(0x1db)])?(_0x3a8e68['pushUndoRedo']({'unitID':_0xbfb842,'undoMutations':[_0x57b198],'redoMutations':[_0x573734]}),!0x0):!0x1;}};function _0x5b243b(_0x1d5ead,_0x383b9a,_0x20cb3,_0x414d2f,_0x33d6f1,_0x556a42){const _0x1b6d8b=_0x2766d8;let _0x317a8b={'unitId':_0x383b9a,'subUnitId':_0x20cb3,'shapeId':_0x414d2f,'shapeData':_0x556a42,'oldShapeJSON':_0x33d6f1};return _0x1d5ead[_0x1b6d8b(0x3d1)](_0x33bf3b['id'],_0x317a8b);}function _0x1d5713(_0x3cf595,_0x58e8c9,_0x3e53fe,_0xc4cace,_0x197c95,_0x114510){const _0x18a45d=_0x2766d8;let _0x49e1cc={'unitId':_0x58e8c9,'subUnitId':_0x3e53fe,'shapeId':_0xc4cace,'shapeData':_0x114510,'oldShapeJSON':_0x197c95};return _0x3cf595[_0x18a45d(0x3d1)](_0x33bf3b['id'],_0x49e1cc);}function _0x364a03(_0x382ee4){'@babel/helpers - typeof';const _0x1c8c60=_0x2766d8;return _0x364a03=typeof Symbol==_0x1c8c60(0x53d)&&typeof Symbol[_0x1c8c60(0x4f0)]==_0x1c8c60(0x1d8)?function(_0x26dadd){return typeof _0x26dadd;}:function(_0x468102){const _0x26ffbc=_0x1c8c60;return _0x468102&&typeof Symbol==_0x26ffbc(0x53d)&&_0x468102[_0x26ffbc(0x423)]===Symbol&&_0x468102!==Symbol['prototype']?_0x26ffbc(0x1d8):typeof _0x468102;},_0x364a03(_0x382ee4);}function _0x32d5a7(_0x3fe510,_0x2f149f){const _0x3513c2=_0x2766d8;if(_0x364a03(_0x3fe510)!=_0x3513c2(0x30d)||!_0x3fe510)return _0x3fe510;var _0x415f93;if(typeof Symbol<'u'&&(_0x415f93=_0x3fe510[Symbol[_0x3513c2(0x5e7)]])!==void 0x0){var _0x22aa9b=_0x415f93[_0x3513c2(0x222)](_0x3fe510,_0x2f149f||_0x3513c2(0x1df));if(_0x364a03(_0x22aa9b)!=_0x3513c2(0x30d))return _0x22aa9b;throw TypeError(_0x3513c2(0x2a0));}return(_0x2f149f===_0x3513c2(0x212)?String:Number)(_0x3fe510);}function _0x58c375(_0x42742a){const _0x1ff8d1=_0x2766d8;var _0x3cd669=_0x32d5a7(_0x42742a,'string');return _0x364a03(_0x3cd669)==_0x1ff8d1(0x1d8)?_0x3cd669:_0x3cd669+'';}function _0x2a4a7a(_0x56d789,_0x51e92c,_0x5188e7){const _0x372c92=_0x2766d8;return(_0x51e92c=_0x58c375(_0x51e92c))in _0x56d789?Object[_0x372c92(0x54e)](_0x56d789,_0x51e92c,{'value':_0x5188e7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x56d789[_0x51e92c]=_0x5188e7,_0x56d789;}function _0x402546(_0x5e2852,_0x75487,_0x2712dc){const _0x3ab1be=_0x2766d8;let _0x46ba6e={..._0x75487,'dataModel':{..._0x75487[_0x3ab1be(0x272)]??{},..._0x2712dc?{'doc':_0x2712dc}:null}},_0xba6639=(0x0,_0x197fcc[_0x3ab1be(0x419)])(_0x5e2852,_0x46ba6e),_0x159240=(0x0,_0x197fcc[_0x3ab1be(0x52a)])(_0xba6639);return{'clip':(0x0,_0x197fcc[_0x3ab1be(0x2d8)])(_0xba6639,_0x159240),'wrapStrategy':_0x159240};}var _0x423ac6=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x39094c,_0x4d3958){const _0x363077=_0x2766d8;super(_0x39094c,_0x4d3958),_0x2a4a7a(this,_0x363077(0x244),[]),_0x2a4a7a(this,_0x363077(0x5df),void 0x0),_0x2a4a7a(this,_0x363077(0x426),new _0x197fcc['FormulaShapeAnimationController'](()=>this[_0x363077(0x3b2)](!0x0),()=>this[_0x363077(0x55d)]())),_0x2a4a7a(this,_0x363077(0x2b8),!0x0),_0x2a4a7a(this,_0x363077(0x592),_0x35d996[_0x363077(0x44f)][_0x363077(0x4ba)]),_0x2a4a7a(this,_0x363077(0x28c),!0x0),this[_0x363077(0x5df)]={..._0x4d3958},this[_0x363077(0x426)][_0x363077(0x5c3)](_0x4d3958['formulaPresentation'],_0x4d3958[_0x363077(0x2e5)]!==!0x1),this['_init'](),this[_0x363077(0x55d)]();}['_init'](){const _0x444c63=_0x2766d8;this[_0x444c63(0x33a)][_0x444c63(0x1dd)](_0x45fe7f=>{const _0x113572=_0x444c63;this[_0x113572(0x4fb)](_0x45fe7f);});}[_0x2766d8(0x596)](_0x232524){const _0x1fa606=_0x2766d8;this[_0x1fa606(0x5df)]['prstGeom']=_0x232524;}[_0x2766d8(0x3f9)](_0x490209){const _0x361a4a=_0x2766d8;if(this['_props'][_0x361a4a(0x23a)])return null;let _0x325998=this['getInverseCoord'](_0x490209),{width:_0x2b6740,height:_0x26b1af}=this[_0x361a4a(0x2ea)]();return(0x0,_0x197fcc[_0x361a4a(0x241)])(this[_0x361a4a(0x244)],{'x':(this[_0x361a4a(0x4f7)]?-_0x325998['x']:_0x325998['x'])+_0x2b6740/0x2,'y':_0x325998['y']+_0x26b1af/0x2});}['setEditing'](_0x11bfad){const _0x2bb400=_0x2766d8;this[_0x2bb400(0x5df)][_0x2bb400(0x23a)]=_0x11bfad,this[_0x2bb400(0x3b2)](!0x0);}['setFormulaPresentation'](_0x379af9,_0x45d20b=!0x0){const _0x52d591=_0x2766d8;this[_0x52d591(0x426)][_0x52d591(0x5c3)](_0x379af9,_0x45d20b),this[_0x52d591(0x5df)][_0x52d591(0x31c)]=_0x379af9,this[_0x52d591(0x55d)](),this['makeDirty'](!0x0);}[_0x2766d8(0x55d)](){const _0x4a0a22=_0x2766d8;let _0x359e14=this[_0x4a0a22(0x5df)]['shapeModel'],_0x1183bb=_0x359e14[_0x4a0a22(0x264)](),_0x4c6ef9=(0x0,_0x197fcc[_0x4a0a22(0x4e4)])(_0x1183bb==null?void 0x0:_0x1183bb[_0x4a0a22(0x272)]),_0x41c80c=_0x4c6ef9==null?void 0x0:_0x4c6ef9['doc'],_0x3578bc=this['_formulaAnimation'][_0x4a0a22(0x282)]();if(!_0x41c80c||_0x3578bc['length']===0x0)return;_0x359e14[_0x4a0a22(0x240)]({'width':this[_0x4a0a22(0x49e)],'height':this['height']});let _0x232292=(0x0,_0x197fcc[_0x4a0a22(0x4d7)])({'documentData':_0x3578bc[_0x4a0a22(0x4d8)](_0x469b29=>(0x0,_0x1ad5b7[_0x4a0a22(0x223)])(_0x41c80c,_0x469b29)),'height':this[_0x4a0a22(0x3f8)],'shapeData':_0x359e14['getShapeData'](),'textRect':_0x359e14[_0x4a0a22(0x315)]({'left':0x0,'top':0x0,'width':this[_0x4a0a22(0x49e)],'height':this[_0x4a0a22(0x3f8)]}),'width':this[_0x4a0a22(0x49e)]});if(_0x232292){var _0x54eaa2;this[_0x4a0a22(0x301)](_0x232292['width'],_0x232292['height']),(_0x54eaa2=this[_0x4a0a22(0x32c)]())==null||(_0x54eaa2=_0x54eaa2[_0x4a0a22(0x4e5)]())==null||_0x54eaa2[_0x4a0a22(0x2be)]();}}get[_0x2766d8(0x280)](){const _0x382ed3=_0x2766d8;return this[_0x382ed3(0x5df)][_0x382ed3(0x280)];}get[_0x2766d8(0x35e)](){return this['_props']['subUnitId'];}[_0x2766d8(0x4fb)](_0x2a2fe7){const _0x29c8bf=_0x2766d8;if(this[_0x29c8bf(0x5df)]['srcRect']==null||!this[_0x29c8bf(0x2b8)])return;let {width:_0x13fe9e,height:_0x297515}=this,{width:_0x3365f3=0x0,height:_0x5a47e8=0x0}=_0x2a2fe7['preValue'],{left:_0x148648=0x0,top:_0x387adc=0x0,right:_0x581611=0x0,bottom:_0x297ec7=0x0}=this[_0x29c8bf(0x5df)]['srcRect'],_0x23f2e7=_0x148648,_0x3df0f3=_0x387adc,_0x131869=_0x581611,_0x47bb6a=_0x297ec7,_0x3bcb24=!0x1;if(_0x3365f3!==0x0&&_0x3365f3!==_0x13fe9e){let _0x12e031=_0x148648/_0x3365f3,_0x2a2230=_0x581611/_0x3365f3;_0x23f2e7=_0x13fe9e*_0x12e031,_0x131869=_0x13fe9e*_0x2a2230,_0x3bcb24=!0x0;}if(_0x5a47e8!==0x0&&_0x5a47e8!==_0x297515){let _0x1e2c5a=_0x387adc/_0x5a47e8,_0x24ebef=_0x297ec7/_0x5a47e8;_0x3df0f3=_0x297515*_0x1e2c5a,_0x47bb6a=_0x297515*_0x24ebef,_0x3bcb24=!0x0;}_0x3bcb24&&this[_0x29c8bf(0x209)]({'left':_0x23f2e7,'top':_0x3df0f3,'right':_0x131869,'bottom':_0x47bb6a});}['setSrcRect'](_0x507326){const _0x727edf=_0x2766d8;this[_0x727edf(0x5df)][_0x727edf(0x402)]=_0x507326,this[_0x727edf(0x3b2)](!0x0);}[_0x2766d8(0x23c)](_0x29122b){const _0x4e2ab0=_0x2766d8;this[_0x4e2ab0(0x5df)][_0x4e2ab0(0x4c5)]=_0x29122b,this[_0x4e2ab0(0x3b2)](!0x0);}set['transform'](_0x1f00b3){this['_transform']=_0x1f00b3;}get['transform'](){const _0x25a1f7=_0x2766d8;this[_0x25a1f7(0x324)]||this[_0x25a1f7(0x243)]();let _0x2d9946=this[_0x25a1f7(0x324)][_0x25a1f7(0x3b7)]();return this[_0x25a1f7(0x379)](_0x2d9946);}get[_0x2766d8(0x513)](){const _0x1eae20=_0x2766d8;return this[_0x1eae20(0x5df)][_0x1eae20(0x513)];}get[_0x2766d8(0x2a8)](){const _0x143fdc=_0x2766d8;return this[_0x143fdc(0x5df)]['shapeId'];}get[_0x2766d8(0x3d2)](){const _0x4c4623=_0x2766d8;return _0x580d8a[_0x4c4623(0x5db)][_0x4c4623(0x465)];}[_0x2766d8(0x55f)](_0x53cba1,_0x4943d5,_0x38c020,_0x2df399){const _0xf1c935=_0x2766d8;let _0x471c76=this[_0xf1c935(0x5df)][_0xf1c935(0x513)];if(!_0x471c76||!_0x4943d5)return;let _0x206cc4=_0x38c020??this[_0xf1c935(0x49e)],_0x10dc56=_0x2df399??this[_0xf1c935(0x3f8)],_0x3ac528={'shapeType':_0x471c76[_0xf1c935(0x200)](),'width':_0x206cc4,'height':_0x10dc56},_0x238477={'renderMode':_0x1f2a15[_0xf1c935(0x3d5)][_0xf1c935(0x57f)],'oKey':this[_0xf1c935(0x5ca)],'image':this[_0xf1c935(0x5df)][_0xf1c935(0x4c5)],'angle':this[_0xf1c935(0x55b)]};_0x471c76['updateContext'](_0x3ac528),_0x53cba1[_0xf1c935(0x421)]();let _0x4e545b={'top':0x0,'left':0x0,'width':_0x206cc4,'height':_0x10dc56},_0x184124=_0x471c76[_0xf1c935(0x455)](_0x4e545b);_0x184124?this[_0xf1c935(0x59a)](_0x53cba1,_0x184124,_0x418500=>{_0x471c76['render'](_0x418500,_0x4e545b,_0x238477);}):(this['_releaseRenderCache'](),_0x471c76[_0xf1c935(0x477)](_0x53cba1,_0x4e545b,_0x238477)),_0x53cba1['restore']();let _0x3d60ea=_0x471c76[_0xf1c935(0x264)](),_0x35cc1e=_0x471c76['getShapeTextRect'](_0x4e545b),_0x2ee3ba=_0x471c76[_0xf1c935(0x329)]();if(_0x3d60ea&&_0x35cc1e&&!_0x2ee3ba){_0x53cba1[_0xf1c935(0x421)](),this[_0xf1c935(0x36b)]()[_0xf1c935(0x4f7)]&&_0x53cba1[_0xf1c935(0x327)](-0x1,0x1);let _0x4d3db5=_0x206cc4/0x2,_0x2fee93=_0x10dc56/0x2;_0x53cba1['translate'](-_0x4d3db5,-_0x2fee93),_0x53cba1[_0xf1c935(0x217)](),this[_0xf1c935(0x408)](_0x53cba1,_0x3d60ea,_0x35cc1e),_0x53cba1[_0xf1c935(0x37f)]();}}[_0x2766d8(0x34d)](_0x38c7df){}[_0x2766d8(0x408)](_0x4bf556,_0x3332af,_0x5d2751){const _0x253734=_0x2766d8;var _0x6c18d8;this['_hyperLinkRegions']=[],this[_0x253734(0x5df)][_0x253734(0x23a)]||(!((_0x6c18d8=_0x3332af[_0x253734(0x272)])!=null&&_0x6c18d8[_0x253734(0x55e)])&&_0x253734(0x51b)in _0x3332af&&_0x3332af[_0x253734(0x51b)]===!0x1?this[_0x253734(0x5e5)](_0x4bf556,_0x3332af,_0x5d2751):this['_drawRichText'](_0x4bf556,_0x3332af,_0x5d2751));}[_0x2766d8(0x5e5)](_0x4e0fa7,_0x476b25,_0x199cf7){const _0x115e4c=_0x2766d8;this['_drawRichText'](_0x4e0fa7,{..._0x476b25,'text':_0x476b25[_0x115e4c(0x23d)]??'','dataModel':{'doc':(0x0,_0x197fcc[_0x115e4c(0x24a)])(_0x476b25,_0x115e4c(0x3a2)+this[_0x115e4c(0x5ca)])}},_0x199cf7);}['_drawRichText'](_0x154128,_0xc6f233,_0x5ad4d5){const _0x5cd19f=_0x2766d8;(0x0,_0x197fcc[_0x5cd19f(0x305)])(_0x154128,this[_0x5cd19f(0x426)],(_0x3fb2b3,_0x56b97d,_0xe5ed3c)=>{const _0x23a6ff=_0x5cd19f;this[_0x23a6ff(0x1fd)](_0x3fb2b3,_0xc6f233,_0x5ad4d5,_0x56b97d,_0xe5ed3c==='current');});}[_0x2766d8(0x1fd)](_0x5091e5,_0x630531,_0x43091d,_0x2781fe,_0x65e860){const _0x277f98=_0x2766d8;let _0x5dee4c=this[_0x277f98(0x5df)]['localeService'];if(!_0x630531[_0x277f98(0x272)]||!_0x5dee4c)return;let _0x393fe2=(0x0,_0x197fcc[_0x277f98(0x4e4)])(_0x630531[_0x277f98(0x272)]);if(!_0x393fe2)return;let _0xbf1924=_0x393fe2[_0x277f98(0x55e)];if(!_0xbf1924)return;let _0x4197fd=(0x0,_0x1ad5b7['createShapeFormulaDocument'])(_0xbf1924,_0x2781fe),_0x390d6a=_0x393fe2['va']??_0x35d996['VerticalAlign']['TOP'],_0x1f5fab=_0x393fe2['ha']??_0x35d996[_0x277f98(0x57e)][_0x277f98(0x5a2)],_0x1683bc=_0x402546(this[_0x277f98(0x5df)]['shapeModel'][_0x277f98(0x583)](),_0x630531,_0x4197fd),_0x1b4b2f=_0x630531[_0x277f98(0x4f4)],_0x136dab=(0x0,_0x197fcc[_0x277f98(0x399)])(_0x4197fd,{'isHorizontal':_0x1b4b2f!==!0x1,'textRect':_0x43091d,'verticalAlign':_0x390d6a,'horizontalAlign':_0x1f5fab,'wrapStrategy':_0x1683bc[_0x277f98(0x3c3)]}),_0x2838b5=new _0x35d996[(_0x277f98(0x341))](_0x136dab),_0x5304a8=new _0x580d8a[(_0x277f98(0x2fe))](_0x2838b5),_0xf79db9=_0x580d8a['DocumentSkeleton'][_0x277f98(0x20f)](_0x5304a8,_0x5dee4c);_0xf79db9[_0x277f98(0x3dc)]();let _0xba85a7=_0xf79db9[_0x277f98(0x4ab)]()[_0x277f98(0x377)],_0x4d4c47=(0x0,_0x197fcc[_0x277f98(0x5cb)])({'contentHeight':_0xba85a7,'verticalAlign':_0x390d6a,'viewportHeight':_0x43091d[_0x277f98(0x3f8)]});_0x2838b5[_0x277f98(0x3ef)]({'pageSize':{'width':_0x1b4b2f===!0x1?_0x43091d['height']:_0x43091d['width'],'height':(0x0,_0x197fcc[_0x277f98(0x4ae)])(_0x4197fd,_0x4d4c47[_0x277f98(0x37e)])}}),_0x2838b5[_0x277f98(0x2c2)]({'t':_0x4d4c47['marginTop']}),_0xf79db9[_0x277f98(0x3dc)]();let _0x4631f9=new _0x580d8a[(_0x277f98(0x412))]('shape-text-'+this['oKey'],_0xf79db9,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x277f98(0x3b2)](!0x0)});_0x4631f9[_0x277f98(0x301)](_0x43091d[_0x277f98(0x49e)],_0x4d4c47['contentHeight']),_0x5091e5[_0x277f98(0x421)](),_0x5091e5[_0x277f98(0x4fd)](_0x43091d[_0x277f98(0x204)],_0x43091d[_0x277f98(0x414)]),_0x1683bc[_0x277f98(0x33e)]&&(_0x5091e5['beginPath'](),_0x5091e5[_0x277f98(0x249)](0x0,_0x4d4c47[_0x277f98(0x3c7)],_0x43091d[_0x277f98(0x49e)],_0x4d4c47[_0x277f98(0x48c)]),_0x5091e5[_0x277f98(0x33e)]()),_0x4d4c47['contentVerticalOffset']&&_0x5091e5['translateWithPrecision'](0x0,_0x4d4c47[_0x277f98(0x366)]),_0x4631f9['draw'](_0x5091e5),_0x65e860&&(this[_0x277f98(0x244)]=(0x0,_0x197fcc[_0x277f98(0x256)])(_0x4631f9,{'left':_0x43091d[_0x277f98(0x204)],'top':_0x43091d[_0x277f98(0x414)]+_0x4d4c47[_0x277f98(0x366)]},_0x1683bc[_0x277f98(0x33e)]?{'left':_0x43091d['left'],'right':_0x43091d[_0x277f98(0x204)]+_0x43091d[_0x277f98(0x49e)],'top':_0x43091d['top']+_0x4d4c47[_0x277f98(0x3c7)],'bottom':_0x43091d[_0x277f98(0x414)]+_0x4d4c47['clipTop']+_0x4d4c47[_0x277f98(0x48c)]}:void 0x0)),_0x5091e5[_0x277f98(0x37f)](),_0x4631f9[_0x277f98(0x2a4)](),_0xf79db9[_0x277f98(0x2a4)](),_0x5304a8['dispose'](),_0x2838b5['dispose']();}['render'](_0x4278d9,_0x5e2d8e,_0x27bb3b=!0x1){const _0x3c72db=_0x2766d8;if(!this[_0x3c72db(0x416)])return this[_0x3c72db(0x3b2)](!0x1),this;let {width:_0x2dabd0,height:_0x1581c0,left:_0x1deabf,top:_0x58f6d0}=this,_0x38da7a=this[_0x3c72db(0x2ea)]();if(_0x2dabd0=_0x38da7a['width'],_0x1581c0=_0x38da7a[_0x3c72db(0x3f8)],_0x1deabf=_0x38da7a['left'],_0x58f6d0=_0x38da7a[_0x3c72db(0x414)],this[_0x3c72db(0x5f0)](_0x5e2d8e)){let {top:_0x5acf58,left:_0x155a89,bottom:_0x1ec241,right:_0x399f8f}=_0x5e2d8e[_0x3c72db(0x428)];if(_0x2dabd0+this[_0x3c72db(0x46f)]+_0x1deabf<_0x155a89||_0x399f8f<_0x1deabf||_0x1581c0+this[_0x3c72db(0x46f)]+_0x58f6d0<_0x5acf58||_0x1ec241<_0x58f6d0)return this;}let _0x6d7377=_0x1deabf+_0x2dabd0/0x2,_0x547568=_0x58f6d0+_0x1581c0/0x2,_0x4a6e8d=this[_0x3c72db(0x339)][_0x3c72db(0x2ce)]();if(this[_0x3c72db(0x5df)]['isEditing']){let _0x4018ce=this[_0x3c72db(0x36b)](),_0x3dab58=new _0x580d8a[(_0x3c72db(0x1e4))]();_0x3dab58['composeMatrix']({..._0x4018ce}),_0x4a6e8d=_0x3dab58[_0x3c72db(0x2ce)]();}return _0x4278d9['save'](),this[_0x3c72db(0x5df)][_0x3c72db(0x513)][_0x3c72db(0x3e3)]===!0x0||_0x4278d9[_0x3c72db(0x339)](_0x4a6e8d[0x0],_0x4a6e8d[0x1],_0x4a6e8d[0x2],_0x4a6e8d[0x3],_0x6d7377,_0x547568),this[_0x3c72db(0x55f)](_0x4278d9,_0x5e2d8e,_0x2dabd0,_0x1581c0),_0x4278d9[_0x3c72db(0x37f)](),this[_0x3c72db(0x3b2)](!0x1),this;}[_0x2766d8(0x4bc)](_0x479ce2){const _0x105c52=_0x2766d8;let {left:_0x3ae51d,top:_0x1080dd,width:_0x555c9f,height:_0xa1b613}=this[_0x105c52(0x2ea)](),_0x4d99a0=this[_0x105c52(0x339)][_0x105c52(0x2ce)](),_0x3711c1=_0x3ae51d+_0x555c9f/0x2,_0x42f719=_0x1080dd+_0xa1b613/0x2,_0x19bb4a=new _0x580d8a[(_0x105c52(0x1e4))]([_0x4d99a0[0x0],_0x4d99a0[0x1],_0x4d99a0[0x2],_0x4d99a0[0x3],_0x3711c1,_0x42f719]),_0x1bd408=this['getParent']();return(this[_0x105c52(0x5aa)]&&(_0x1bd408==null?void 0x0:_0x1bd408[_0x105c52(0x3d2)])===_0x580d8a[_0x105c52(0x5db)][_0x105c52(0x552)]?_0x1bd408[_0x105c52(0x415)][_0x105c52(0x497)](_0x19bb4a):_0x19bb4a)[_0x105c52(0x535)]()[_0x105c52(0x3f0)](_0x479ce2);}[_0x2766d8(0x59e)](_0x2622ba){const _0x118b55=_0x2766d8;let {left:_0x4da7bf,top:_0x1f99e6,width:_0x1645c3,height:_0x4f5c79}=this[_0x118b55(0x2ea)](),_0x1d8569=_0x4da7bf+_0x1645c3/0x2,_0x3230f9=_0x1f99e6+_0x4f5c79/0x2,_0x1dd0c1=this['transform'][_0x118b55(0x2ce)](),_0x4dc1e6=new _0x580d8a[(_0x118b55(0x1e4))]([_0x1dd0c1[0x0],_0x1dd0c1[0x1],_0x1dd0c1[0x2],_0x1dd0c1[0x3],_0x1d8569,_0x3230f9]),_0x21eefc=this[_0x118b55(0x358)](),_0x510c43=(this[_0x118b55(0x5aa)]&&(_0x21eefc==null?void 0x0:_0x21eefc['classType'])===_0x580d8a[_0x118b55(0x5db)][_0x118b55(0x552)]?_0x21eefc[_0x118b55(0x415)]['multiply'](_0x4dc1e6):_0x4dc1e6)['invert']()[_0x118b55(0x3f0)](_0x2622ba),_0x5ec967=_0x1645c3/0x2,_0x7df90e=_0x4f5c79/0x2,_0x2c898b=this['_props'][_0x118b55(0x513)];return _0x2c898b&&_0x2c898b[_0x118b55(0x329)]()?_0x2c898b[_0x118b55(0x54c)](_0x510c43['x'],_0x510c43['y'],_0x1645c3,_0x4f5c79):_0x510c43['x']>=-_0x5ec967-this['strokeWidth']/0x2&&_0x510c43['x']<=_0x5ec967+this[_0x118b55(0x46f)]/0x2&&_0x510c43['y']>=-_0x7df90e-this['strokeWidth']/0x2&&_0x510c43['y']<=_0x7df90e+this[_0x118b55(0x46f)]/0x2;}[_0x2766d8(0x2a4)](){const _0x5871d5=_0x2766d8;this[_0x5871d5(0x426)][_0x5871d5(0x2a4)](),this[_0x5871d5(0x5df)][_0x5871d5(0x513)]=null,super[_0x5871d5(0x2a4)]();}},_0x56f3e0=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x1d4688,_0x3a8e9f){const _0x391830=_0x2766d8;super(_0x1d4688,_0x3a8e9f),_0x2a4a7a(this,_0x391830(0x2a9),null),_0x2a4a7a(this,_0x391830(0x433),null),_0x2a4a7a(this,_0x391830(0x370),null),_0x2a4a7a(this,_0x391830(0x3f6),null),_0x3a8e9f&&this[_0x391830(0x3ce)](_0x3a8e9f);}[_0x2766d8(0x4ce)](){const _0x94ed6c=_0x2766d8;return{'unitId':this[_0x94ed6c(0x370)],'subUnitId':this[_0x94ed6c(0x3f6)],'drawingId':this[_0x94ed6c(0x2a9)]};}[_0x2766d8(0x3ce)](_0x175aac){const _0x2bb987=_0x2766d8;_0x175aac[_0x2bb987(0x2a8)]!==void 0x0&&(this[_0x2bb987(0x2a9)]=_0x175aac['shapeId']),_0x175aac[_0x2bb987(0x4b1)]!==void 0x0&&(this[_0x2bb987(0x433)]=_0x175aac[_0x2bb987(0x4b1)]),_0x175aac[_0x2bb987(0x280)]!==void 0x0&&(this[_0x2bb987(0x370)]=_0x175aac[_0x2bb987(0x280)]),_0x175aac['subUnitId']!==void 0x0&&(this[_0x2bb987(0x3f6)]=_0x175aac['subUnitId']),this[_0x2bb987(0x3c4)]({'width':_0x175aac[_0x2bb987(0x49e)],'height':_0x175aac[_0x2bb987(0x3f8)]});}[_0x2766d8(0x55f)](_0xf1d155){const _0x15fa9c=_0x2766d8;_0x580d8a[_0x15fa9c(0x473)]['drawWith'](_0xf1d155,{'radius':_0x1f2a15[_0x15fa9c(0x540)][_0x15fa9c(0x259)],'fill':_0x1f2a15['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x1f2a15[_0x15fa9c(0x540)][_0x15fa9c(0x29f)],'strokeWidth':0x1,'evented':!0x0});}};function _0x400e7c(_0x37d405,_0x21ba7f){return function(_0x54e1af,_0x15824f){_0x21ba7f(_0x54e1af,_0x15824f,_0x37d405);};}function _0x39c461(_0x26b20b,_0x25d978,_0x5e1d94,_0x450172){const _0xe1e696=_0x2766d8;var _0x1168b5=arguments[_0xe1e696(0x2f1)],_0x46f38d=_0x1168b5<0x3?_0x25d978:_0x450172===null?_0x450172=Object[_0xe1e696(0x561)](_0x25d978,_0x5e1d94):_0x450172,_0x4fb26c;if(typeof Reflect=='object'&&typeof Reflect[_0xe1e696(0x417)]==_0xe1e696(0x53d))_0x46f38d=Reflect['decorate'](_0x26b20b,_0x25d978,_0x5e1d94,_0x450172);else{for(var _0x9f73d5=_0x26b20b[_0xe1e696(0x2f1)]-0x1;_0x9f73d5>=0x0;_0x9f73d5--)(_0x4fb26c=_0x26b20b[_0x9f73d5])&&(_0x46f38d=(_0x1168b5<0x3?_0x4fb26c(_0x46f38d):_0x1168b5>0x3?_0x4fb26c(_0x25d978,_0x5e1d94,_0x46f38d):_0x4fb26c(_0x25d978,_0x5e1d94))||_0x46f38d);}return _0x1168b5>0x3&&_0x46f38d&&Object[_0xe1e696(0x54e)](_0x25d978,_0x5e1d94,_0x46f38d),_0x46f38d;}let _0x319285=class extends _0x35d996['Disposable']{constructor(_0x3d264f,_0x259831,_0x4b9fb4,_0x21ed42,_0xf7a96d,_0x499855){const _0xe7a07a=_0x2766d8;super(),this[_0xe7a07a(0x482)]=_0x3d264f,this['_sheetsShapeService']=_0x259831,this[_0xe7a07a(0x2d4)]=_0x4b9fb4,this[_0xe7a07a(0x1fc)]=_0x21ed42,this[_0xe7a07a(0x521)]=_0xf7a96d,this[_0xe7a07a(0x538)]=_0x499855,_0x2a4a7a(this,_0xe7a07a(0x409),new Map()),this[_0xe7a07a(0x271)](this[_0xe7a07a(0x538)][_0xe7a07a(0x31a)][_0xe7a07a(0x56a)](_0x1e0500=>{const _0x465c56=_0xe7a07a;var _0x47173a;(_0x47173a=this['_formulaShapes'][_0x465c56(0x340)](this[_0x465c56(0x226)](_0x1e0500[_0x465c56(0x280)],_0x1e0500['subUnitId'],_0x1e0500[_0x465c56(0x2a8)])))==null||_0x47173a['forEach'](_0x206f15=>_0x206f15[_0x465c56(0x5e8)](_0x1e0500[_0x465c56(0x52e)],_0x1e0500[_0x465c56(0x4f3)]));})),this[_0xe7a07a(0x271)](this[_0xe7a07a(0x482)][_0xe7a07a(0x210)][_0xe7a07a(0x56a)](_0xdb2a54=>{const _0x14149f=_0xe7a07a;_0xdb2a54[_0x14149f(0x528)](_0x413122=>{const _0xbda9d1=_0x14149f;this[_0xbda9d1(0x409)]['delete'](this[_0xbda9d1(0x226)](_0x413122[_0xbda9d1(0x280)],_0x413122[_0xbda9d1(0x35e)],_0x413122[_0xbda9d1(0x314)]));});}));}[_0x2766d8(0x34a)](_0x55bfd5,_0x526c99,_0xedf193){const _0x6bf6cd=_0x2766d8;let {transform:_0x3dc3d5,drawingType:_0x379b25,isMultiTransform:_0x4122c6,transforms:_0x509323}=_0x55bfd5;if(_0x379b25===_0x35d996[_0x6bf6cd(0x44f)][_0x6bf6cd(0x4ba)]&&this[_0x6bf6cd(0x482)][_0x6bf6cd(0x42a)]()&&_0x3dc3d5)return(_0x4122c6&&_0x509323?_0x509323:[_0x3dc3d5])[_0x6bf6cd(0x29e)]((_0x1c9c09,_0x5c7307)=>{const _0xe159=_0x6bf6cd;var _0x349ff1;let _0x1b9249=(0x0,_0x2ed59f[_0xe159(0x2f2)])(_0x55bfd5,_0x4122c6?_0x5c7307:void 0x0),_0x5b9d2a=_0x526c99['getObjectIncludeInGroup'](_0x1b9249);if(_0x5b9d2a)return _0x5b9d2a instanceof _0x423ac6&&this[_0xe159(0x25d)](_0x5b9d2a,{'unitId':_0x55bfd5[_0xe159(0x280)],'subUnitId':_0x55bfd5[_0xe159(0x35e)],'shapeId':_0x55bfd5[_0xe159(0x314)]}),_0x5b9d2a[_0xe159(0x3c4)](_0x1c9c09),[];let _0x1fe3e3=this[_0xe159(0x50a)](_0x55bfd5,_0x1c9c09,_0x1b9249,_0x526c99);if(!_0x1fe3e3)return[];let _0x2283c0=this[_0xe159(0x1f2)](_0x1fe3e3,_0x1fe3e3[_0xe159(0x513)][_0xe159(0x583)]());return _0x2283c0&&(_0xedf193==null||(_0x349ff1=_0xedf193[_0xe159(0x347)])==null||_0x349ff1[_0xe159(0x294)](_0x2283c0)),[_0x1fe3e3];});}[_0x2766d8(0x50a)](_0x556c7e,_0x113b2c,_0x282b60,_0x590c18){const _0x51a1f7=_0x2766d8;let {unitId:_0x25e558,subUnitId:_0x438449,drawingId:_0x1029e6,groupId:_0x2e0585,hidden:_0x35ecf4,selectable:_0x3cd095,prstGeom:_0xedd07f,srcRect:_0x5f32a7}=_0x556c7e,_0x28aef5=this[_0x51a1f7(0x218)]['getShapeModel'](_0x25e558,_0x438449,_0x1029e6);if(!_0x28aef5)return;let _0x18ef41=this['_drawingManagerService'][_0x51a1f7(0x593)](_0x25e558,_0x438449),_0x4cae3c=_0x18ef41[_0x51a1f7(0x572)](_0x1029e6),_0x2bac21=(0x0,_0x1f2a15[_0x51a1f7(0x493)])(_0x28aef5['getShapeType']()),_0x4ecee9=_0x28aef5[_0x51a1f7(0x583)]()[_0x51a1f7(0x405)],_0x46ac47={'unitId':_0x25e558,'subUnitId':_0x438449,'shapeId':_0x1029e6};_0x4ecee9&&this[_0x51a1f7(0x538)]['register'](_0x46ac47,_0x4ecee9);let _0x3c4aca=new _0x423ac6(_0x282b60,{..._0x113b2c,'zIndex':_0x4cae3c===-0x1?_0x18ef41['length']-0x1:_0x4cae3c,'shapeModel':_0x28aef5,'drawingType':_0x35d996[_0x51a1f7(0x44f)][_0x51a1f7(0x4ba)],'localeService':this[_0x51a1f7(0x2d4)],'shapeId':_0x1029e6,'unitId':_0x25e558,'subUnitId':_0x438449,'visible':_0x35ecf4!==!0x0,'evented':_0x3cd095!==!0x1,'formulaPresentation':_0x4ecee9?this[_0x51a1f7(0x538)]['getPresentation'](_0x46ac47):void 0x0,'animateFormulaPresentation':(_0x4ecee9==null?void 0x0:_0x4ecee9[_0x51a1f7(0x4f3)])!==!0x1,'transformerConfig':{..._0x197fcc[_0x51a1f7(0x32e)],..._0x2bac21?{'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{},'moveBoundaryEnabled':!0x0}});if(_0x4ecee9){let _0x1ead49=this[_0x51a1f7(0x226)](_0x25e558,_0x438449,_0x1029e6),_0x551af4=this[_0x51a1f7(0x409)][_0x51a1f7(0x340)](_0x1ead49)??new Set();_0x551af4[_0x51a1f7(0x294)](_0x3c4aca),this[_0x51a1f7(0x409)][_0x51a1f7(0x39d)](_0x1ead49,_0x551af4);}return _0x590c18[_0x51a1f7(0x476)](_0x3c4aca,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']),this[_0x51a1f7(0x482)]['getDrawingEditable']()&&_0x590c18['attachTransformerTo'](_0x3c4aca),_0x2e0585&&(0x0,_0x2c4f7e[_0x51a1f7(0x446)])({'drawingId':_0x2e0585,'unitId':_0x25e558,'subUnitId':_0x438449},_0x3c4aca,_0x590c18,this[_0x51a1f7(0x482)]),_0xedd07f!=null&&_0x3c4aca[_0x51a1f7(0x596)](_0xedd07f),_0x5f32a7!=null&&_0x3c4aca['setSrcRect'](_0x5f32a7),_0x3c4aca;}[_0x2766d8(0x226)](_0xe46409,_0x3decba,_0x75f634){return _0xe46409+'\x00'+_0x3decba+'\x00'+_0x75f634;}['refreshFormulaPresentation'](_0x51470e,_0x43870c){const _0x1aee09=_0x2766d8;let _0x25015e=this['_sheetsShapeService'][_0x1aee09(0x338)](_0x43870c[_0x1aee09(0x280)],_0x43870c[_0x1aee09(0x35e)],_0x43870c[_0x1aee09(0x2a8)]),_0x1e800b=_0x25015e==null?void 0x0:_0x25015e[_0x1aee09(0x583)]()[_0x1aee09(0x405)],_0x1aebf7=this[_0x1aee09(0x226)](_0x43870c[_0x1aee09(0x280)],_0x43870c[_0x1aee09(0x35e)],_0x43870c[_0x1aee09(0x2a8)]);if(_0x1e800b){this[_0x1aee09(0x538)][_0x1aee09(0x495)](_0x43870c,_0x1e800b);let _0x3729e8=this['_formulaShapes'][_0x1aee09(0x340)](_0x1aebf7)??new Set();_0x3729e8[_0x1aee09(0x294)](_0x51470e),this[_0x1aee09(0x409)][_0x1aee09(0x39d)](_0x1aebf7,_0x3729e8);}else{var _0xdb4b21;this[_0x1aee09(0x538)][_0x1aee09(0x351)](_0x43870c),(_0xdb4b21=this[_0x1aee09(0x409)][_0x1aee09(0x340)](_0x1aebf7))==null||_0xdb4b21[_0x1aee09(0x292)](_0x51470e);}_0x51470e[_0x1aee09(0x5e8)](_0x1e800b?this['_shapeFormulaService'][_0x1aee09(0x1f6)](_0x43870c):void 0x0,(_0x1e800b==null?void 0x0:_0x1e800b[_0x1aee09(0x4f3)])!==!0x1);}['refreshShapeFillImage'](_0x24115f){const _0x186d63=_0x2766d8;let _0x38cc36=_0x24115f[_0x186d63(0x513)]['getShapeData'](),_0x46c905=_0x38cc36[_0x186d63(0x5ed)];!_0x46c905||_0x46c905[_0x186d63(0x1e7)]!==_0x1f2a15[_0x186d63(0x308)][_0x186d63(0x406)]||!_0x46c905['fillImageSource']?_0x24115f[_0x186d63(0x23c)](void 0x0):this[_0x186d63(0x1f2)](_0x24115f,_0x38cc36);}['_loadShapePictureFill'](_0x2016dd,_0x12ddbf){const _0x148d6d=_0x2766d8;let _0x1ee034=_0x12ddbf['fill'];if(!_0x1ee034||_0x1ee034['fillType']!==_0x1f2a15[_0x148d6d(0x308)][_0x148d6d(0x406)]||!_0x1ee034[_0x148d6d(0x4cd)])return;let _0x45bc5a=_0x1ee034[_0x148d6d(0x4cd)],_0x553a76=_0x1ee034[_0x148d6d(0x1e1)]??_0x1f2a15[_0x148d6d(0x22e)][_0x148d6d(0x568)],_0x5cba5a=this[_0x148d6d(0x1fc)][_0x148d6d(0x275)](_0x45bc5a,_0x553a76);if(_0x5cba5a)_0x2016dd['setFillImage'](_0x5cba5a);else return this['_loadAndSetImage'](_0x2016dd,_0x45bc5a,_0x553a76);}async[_0x2766d8(0x4d4)](_0x24876a,_0x14f977,_0x50ac8c){const _0x49e1c9=_0x2766d8;let _0x58cffd;try{if(_0x50ac8c===_0x1f2a15[_0x49e1c9(0x22e)][_0x49e1c9(0x393)])_0x58cffd=await this[_0x49e1c9(0x1fc)][_0x49e1c9(0x1ed)](_0x14f977);else{if(_0x50ac8c===_0x1f2a15[_0x49e1c9(0x22e)][_0x49e1c9(0x568)])try{_0x58cffd=await this[_0x49e1c9(0x521)][_0x49e1c9(0x1ed)](_0x14f977);}catch{_0x58cffd=_0x14f977;}else _0x58cffd=_0x14f977;}}catch(_0x221ba3){console['error'](_0x49e1c9(0x43f),_0x221ba3);return;}await new Promise(_0x4385ec=>{const _0x1fa87b=_0x49e1c9;let _0x24113f=new window[(_0x1fa87b(0x53a))]();_0x24113f[_0x1fa87b(0x32a)]=()=>{const _0x76a3f9=_0x1fa87b;this[_0x76a3f9(0x1fc)][_0x76a3f9(0x55a)](_0x14f977,_0x50ac8c,_0x24113f),_0x24876a[_0x76a3f9(0x23c)](_0x24113f),_0x4385ec();},_0x24113f[_0x1fa87b(0x3af)]=()=>{const _0x2d935c=_0x1fa87b;console[_0x2d935c(0x522)](_0x2d935c(0x588),_0x14f977),_0x4385ec();},_0x24113f[_0x1fa87b(0x4ed)]=_0x58cffd;});}};_0x319285=_0x39c461([_0x400e7c(0x0,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x5d0)])),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x27e)]),_0x400e7c(0x4,_0x35d996['IURLImageService']),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x1ad5b7[_0x2766d8(0x47c)]))],_0x319285);let _0x36f6fd=class extends _0x35d996['Disposable']{constructor(_0x4980b5,_0x594a13,_0x380290,_0x145922,_0x455268,_0x137c7e){const _0x7db71c=_0x2766d8;super(),this[_0x7db71c(0x482)]=_0x4980b5,this['_sheetsShapeService']=_0x594a13,this[_0x7db71c(0x4bb)]=_0x380290,this[_0x7db71c(0x316)]=_0x145922,this[_0x7db71c(0x251)]=_0x455268,this['_commandService']=_0x137c7e,_0x2a4a7a(this,_0x7db71c(0x2bb),null),_0x2a4a7a(this,_0x7db71c(0x370),null),_0x2a4a7a(this,'_subUnitId',null),_0x2a4a7a(this,_0x7db71c(0x384),void 0x0),_0x2a4a7a(this,_0x7db71c(0x298),[]),_0x2a4a7a(this,_0x7db71c(0x5eb),0x0),_0x2a4a7a(this,_0x7db71c(0x5b8),0x0),_0x2a4a7a(this,'_baseShapeWidth',0x0),_0x2a4a7a(this,_0x7db71c(0x44a),0x0),_0x2a4a7a(this,_0x7db71c(0x52c),!0x1),_0x2a4a7a(this,'_activeAdjustInfo',void 0x0),_0x2a4a7a(this,_0x7db71c(0x5a7),void 0x0),_0x2a4a7a(this,_0x7db71c(0x22c),void 0x0),_0x2a4a7a(this,_0x7db71c(0x376),void 0x0),_0x2a4a7a(this,_0x7db71c(0x2dc),!0x1),this['_registerDrawingFocusChangeHandler'](),this['_registerDrawingMoveHandler']();}['_getShapeAdjustPointListById'](_0x53616f,_0x431374,_0x5a067c){const _0x41e419=_0x2766d8;let _0x4e25d5=this[_0x41e419(0x218)]['getShapeModel'](_0x53616f,_0x431374,_0x5a067c);if(_0x4e25d5)return _0x4e25d5[_0x41e419(0x34d)]();}[_0x2766d8(0x4b7)](){this['_clearShapeAdjustControls']();}['refreshAdjustControls'](){const _0x1c134c=_0x2766d8;this[_0x1c134c(0x432)](!0x0);}['setShouldShowAdjust'](_0x2865ca){const _0x2fb729=_0x2766d8;this[_0x2fb729(0x2dc)]=_0x2865ca;}[_0x2766d8(0x1d4)](_0xc41dbb,_0x337c9d,_0x340413,_0x4e21aa){const _0x450af8=_0x2766d8;let _0x42e7bf=this[_0x450af8(0x218)][_0x450af8(0x338)](_0xc41dbb,_0x337c9d,_0x340413);if(_0x42e7bf)return _0x42e7bf[_0x450af8(0x5a4)](_0x4e21aa);}[_0x2766d8(0x343)](_0x590869=!0x1){const _0xef3b37=_0x2766d8;if(this[_0xef3b37(0x370)]===null||this[_0xef3b37(0x3f6)]===null||this[_0xef3b37(0x2bb)]===null)return;let _0x785c45=this[_0xef3b37(0x4bb)][_0xef3b37(0x4ee)](this[_0xef3b37(0x370)]);if(!_0x785c45||!_0x785c45['with'](_0x590c15['SheetSkeletonManagerService'])['getCurrentSkeleton']())return;let {scene:_0x11aab1}=_0x785c45,_0xa50679={'unitId':this[_0xef3b37(0x370)],'subUnitId':this[_0xef3b37(0x3f6)],'drawingId':this[_0xef3b37(0x2bb)]},_0x4e5496=this[_0xef3b37(0x482)][_0xef3b37(0x26d)](_0xa50679),{transform:_0x9f4e71}=_0x4e5496;if(!_0x9f4e71||_0x4e5496[_0xef3b37(0x313)]!==_0x35d996[_0xef3b37(0x44f)][_0xef3b37(0x4ba)])return;let {left:_0x56c393,top:_0x7658d5,width:_0xd25c0b,height:_0x47c907,flipX:_0x2efe5a,flipY:_0x1e3aa9,angle:_0x4302a6=0x0}=_0x9f4e71;if(_0x56c393===void 0x0||_0x7658d5===void 0x0)return;if(_0x590869){let _0x342b5d=this[_0xef3b37(0x218)][_0xef3b37(0x338)](this['_unitId'],this[_0xef3b37(0x3f6)],this[_0xef3b37(0x2bb)]);_0x342b5d==null||_0x342b5d['updateContext']({'width':_0xd25c0b??0x0,'height':_0x47c907??0x0}),this[_0xef3b37(0x384)]=_0x342b5d==null?void 0x0:_0x342b5d[_0xef3b37(0x34d)]();}let _0x924a3d=this[_0xef3b37(0x384)];for(let _0x4d8671=0x0;_0x4d8671<_0x924a3d[_0xef3b37(0x2f1)];_0x4d8671++){let _0x43a76b=_0x924a3d[_0x4d8671],_0x3024ec=_0x43a76b['x'],_0x3dc532=_0x43a76b['y'];if(_0x2efe5a&&(_0x3024ec=(_0xd25c0b||0x0)-_0x3024ec),_0x1e3aa9&&(_0x3dc532=(_0x47c907||0x0)-_0x3dc532),_0x4302a6!==0x0){let _0xa57821=(_0xd25c0b||0x0)/0x2,_0x26a9a7=(_0x47c907||0x0)/0x2,_0x8e1a5d=_0x4302a6*Math['PI']/0xb4,_0x33ec52=Math[_0xef3b37(0x448)](_0x8e1a5d),_0x3acd0d=Math['sin'](_0x8e1a5d),_0x3498c5=_0x3024ec-_0xa57821,_0x3736a3=_0x3dc532-_0x26a9a7;_0x3024ec=_0xa57821+(_0x3498c5*_0x33ec52-_0x3736a3*_0x3acd0d),_0x3dc532=_0x26a9a7+(_0x3498c5*_0x3acd0d+_0x3736a3*_0x33ec52);}let _0x4c6964={'x':_0x3024ec,'y':_0x3dc532,'adjName':_0x43a76b[_0xef3b37(0x4b1)]};this[_0xef3b37(0x1e5)](_0x11aab1,_0x4c6964,_0x4c6964[_0xef3b37(0x4b1)],_0x56c393,_0x7658d5,this['_unitId'],this[_0xef3b37(0x3f6)]);}}[_0x2766d8(0x432)](_0x49365a=!0x1){_0x49365a&&(this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls'](_0x49365a));}[_0x2766d8(0x1e5)](_0x48711d,_0x4e671f,_0x2f2c1b,_0x866fea,_0x4cba24,_0xf04a7b,_0x8f247f){const _0xcf6c89=_0x2766d8;if(!this['_activeShapeId'])return;let _0x4400b6=_0x48711d[_0xcf6c89(0x1e9)](_0xcf6c89(0x5b2)+this[_0xcf6c89(0x2bb)]+'-'+_0x2f2c1b);if(_0x4400b6){_0x4400b6['transformByState']({'left':_0x4e671f['x']+_0x866fea-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)],'top':_0x4e671f['y']+_0x4cba24-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)]});return;}let _0x35445a={'left':_0x4e671f['x']+_0x866fea-_0x1f2a15[_0xcf6c89(0x540)]['adjHandleSize'],'top':_0x4e671f['y']+_0x4cba24-_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)],'adjName':_0x2f2c1b,'shapeId':this[_0xcf6c89(0x2bb)],'unitId':_0xf04a7b,'subUnitId':_0x8f247f,'width':_0x1f2a15[_0xcf6c89(0x540)]['adjHandleSize']+0x8,'height':_0x1f2a15[_0xcf6c89(0x540)][_0xcf6c89(0x259)]+0x8,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0},_0x18a3dd=new _0x56f3e0(_0xcf6c89(0x5b2)+this['_activeShapeId']+'-'+_0x2f2c1b,_0x35445a);this[_0xcf6c89(0x298)][_0xcf6c89(0x373)](_0x18a3dd),this[_0xcf6c89(0x4ac)](_0x18a3dd,_0x48711d,_0x2f2c1b),_0x48711d[_0xcf6c89(0x476)](_0x18a3dd,_0x580d8a[_0xcf6c89(0x424)]+0x1);}[_0x2766d8(0x506)](){const _0x432409=_0x2766d8;this[_0x432409(0x298)][_0x432409(0x2f1)]!==0x0&&(this[_0x432409(0x298)]['forEach'](_0x1aae83=>{const _0x318b68=_0x432409;_0x1aae83[_0x318b68(0x2a4)]();}),this['_shapes']=[]);}[_0x2766d8(0x569)](){const _0x365ee4=_0x2766d8;this[_0x365ee4(0x343)]();}[_0x2766d8(0x3fe)](_0x578b12,_0x4b5da9){const _0xcc5be3=_0x2766d8;var _0x384729;let _0x57e067={'x':0x0,'y':0x0};if(!_0x578b12||!_0x4b5da9)return _0x57e067;let _0x48d475=this[_0xcc5be3(0x4bb)][_0xcc5be3(0x4ee)](_0x578b12);if(!_0x48d475||!_0x48d475[_0xcc5be3(0x28f)](_0x590c15[_0xcc5be3(0x599)])[_0xcc5be3(0x4d9)](_0x4b5da9))return _0x57e067;let _0x1c312=_0x48d475['with'](_0x590c15[_0xcc5be3(0x258)]),_0x3d2607=_0x1c312==null?void 0x0:_0x1c312['getCurrentScrollState']();if(!_0x3d2607)return _0x57e067;let _0x1949b8=(_0x384729=this[_0xcc5be3(0x251)][_0xcc5be3(0x438)](_0x578b12))==null?void 0x0:_0x384729[_0xcc5be3(0x456)](_0x4b5da9);if(!_0x1949b8)return _0x57e067;let _0x764770=(0x0,_0x590c15[_0xcc5be3(0x2a6)])(_0x3d2607[_0xcc5be3(0x474)],_0x3d2607[_0xcc5be3(0x527)],_0x48d475[_0xcc5be3(0x394)],_0x1949b8);return _0x764770?{'x':_0x764770['viewportScrollX'],'y':_0x764770['viewportScrollY']}:_0x57e067;}[_0x2766d8(0x4fe)](_0x18bc1d,_0x2d0013){const _0x14cd60=_0x2766d8;var _0x46eba9;let _0x52bd1d=(_0x46eba9=this['_univerInstanceService'][_0x14cd60(0x438)](_0x18bc1d))==null?void 0x0:_0x46eba9[_0x14cd60(0x456)](_0x2d0013);return(_0x52bd1d==null?void 0x0:_0x52bd1d['getZoomRatio']())??0x1;}[_0x2766d8(0x4ac)](_0xb2ea18,_0x397e91,_0x160fb3){const _0x11b05b=_0x2766d8;this[_0x11b05b(0x271)]((0x0,_0x35d996[_0x11b05b(0x306)])(_0xb2ea18[_0x11b05b(0x46c)][_0x11b05b(0x1dd)]((_0x2a6bf7,_0x3e9ae5)=>{const _0x2615ec=_0x11b05b;var _0x3f711c,_0x15627c,_0x266a19,_0x392025;let _0x4c4292=_0xb2ea18[_0x2615ec(0x4ce)]();this[_0x2615ec(0x261)]=this[_0x2615ec(0x1d4)](_0x4c4292['unitId'],_0x4c4292[_0x2615ec(0x35e)],_0x4c4292[_0x2615ec(0x314)],_0x160fb3),this[_0x2615ec(0x5a7)]=this[_0x2615ec(0x218)][_0x2615ec(0x338)](_0x4c4292[_0x2615ec(0x280)],_0x4c4292[_0x2615ec(0x35e)],_0x4c4292[_0x2615ec(0x314)]);let _0x3da19a=this[_0x2615ec(0x482)][_0x2615ec(0x26d)]({'unitId':this[_0x2615ec(0x370)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2615ec(0x2bb)]}),{transform:_0x5d1de7}=_0x3da19a;if(_0x5d1de7){let {left:_0x23d748,top:_0x4b5005,width:_0x570122,height:_0x16d394}=_0x5d1de7;this[_0x2615ec(0x5eb)]=_0x23d748||0x0,this[_0x2615ec(0x5b8)]=_0x4b5005||0x0,this[_0x2615ec(0x5ee)]=_0x570122||0x0,this['_baseShapeHeight']=_0x16d394||0x0;}let _0xfef936=!!((_0x3f711c=_0x3da19a[_0x2615ec(0x339)])!=null&&_0x3f711c[_0x2615ec(0x4f7)]),_0x4a28ea=!!((_0x15627c=_0x3da19a[_0x2615ec(0x339)])!=null&&_0x15627c[_0x2615ec(0x21d)]),_0x19bf70=((_0x266a19=_0x3da19a['transform'])==null?void 0x0:_0x266a19['angle'])||0x0;this[_0x2615ec(0x52c)]=!0x0,_0x397e91[_0x2615ec(0x4fa)]();let _0x4fd673={...((_0x392025=this['_activeAdjustInfo'])==null?void 0x0:_0x392025[_0x2615ec(0x299)])??{}};this[_0x2615ec(0x22c)]=_0x397e91[_0x2615ec(0x5dc)][_0x2615ec(0x1dd)]((_0x377482,_0x299391)=>{const _0x39d62c=_0x2615ec;if(!this[_0x39d62c(0x52c)])return;let {offsetX:_0x9cd24,offsetY:_0x5be82a}=_0x377482,_0x55417d=this[_0x39d62c(0x261)];if(this['_activeShapeModel']&&_0x55417d){_0x397e91[_0x39d62c(0x4fa)](),_0x397e91[_0x39d62c(0x589)](_0x580d8a[_0x39d62c(0x5ac)][_0x39d62c(0x1ea)]);let _0x6946ff={'left':0x0,'top':0x0,'width':this[_0x39d62c(0x5ee)],'height':this[_0x39d62c(0x44a)]},_0x58de51=this[_0x39d62c(0x3fe)](this[_0x39d62c(0x370)],this[_0x39d62c(0x3f6)]),_0x4684e3=this[_0x39d62c(0x4fe)](this[_0x39d62c(0x370)],this['_subUnitId']),_0x571b51=_0x9cd24/_0x4684e3+_0x58de51['x']-this[_0x39d62c(0x5eb)],_0x1d03ec=_0x5be82a/_0x4684e3+_0x58de51['y']-this[_0x39d62c(0x5b8)];if(_0x19bf70!==0x0){let _0x3cbc4b=this[_0x39d62c(0x5ee)]/0x2,_0x3980b7=this[_0x39d62c(0x44a)]/0x2,_0x34355b=_0x19bf70*Math['PI']/0xb4,_0x30e738=Math[_0x39d62c(0x448)](_0x34355b),_0x4cd8c1=Math[_0x39d62c(0x570)](_0x34355b),_0xdfc212=_0x571b51-_0x3cbc4b,_0x234d69=_0x1d03ec-_0x3980b7;_0x571b51=_0x3cbc4b+(_0xdfc212*_0x30e738+_0x234d69*_0x4cd8c1),_0x1d03ec=_0x3980b7+(-_0xdfc212*_0x4cd8c1+_0x234d69*_0x30e738);}_0xfef936&&(_0x571b51=this[_0x39d62c(0x5ee)]-_0x571b51),_0x4a28ea&&(_0x1d03ec=this[_0x39d62c(0x44a)]-_0x1d03ec);let _0x152c1b={'x':_0x571b51,'y':_0x1d03ec},_0x122ef3=this[_0x39d62c(0x5a7)][_0x39d62c(0x38c)](_0x6946ff,_0x152c1b,_0x55417d,_0xfef936,_0x4a28ea);if(Object[_0x39d62c(0x38e)](_0x122ef3)[_0x39d62c(0x2f1)]===0x0)return;for(let [_0x4078b2,_0xa42885]of Object['entries'](_0x122ef3))this['_activeShapeModel'][_0x39d62c(0x3ae)](_0x4078b2,_0xa42885);this['_activeShapeModel']['updateContext']({'width':this['_baseShapeWidth'],'height':this[_0x39d62c(0x44a)]});let _0x5d8458=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4c4292[_0x39d62c(0x280)],'subUnitId':_0x4c4292[_0x39d62c(0x35e)],'drawingId':_0x4c4292['drawingId']});_0x5d8458&&(this['_sheetDrawingShapeRenderController'][_0x39d62c(0x34a)](_0x5d8458,_0x397e91),this[_0x39d62c(0x384)]=this[_0x39d62c(0x594)](_0x4c4292[_0x39d62c(0x280)],_0x4c4292[_0x39d62c(0x35e)],_0x4c4292[_0x39d62c(0x314)]),this[_0x39d62c(0x569)]());}_0x299391[_0x39d62c(0x5c7)]();}),this[_0x2615ec(0x376)]=_0x397e91['onPointerUp$']['subscribeEvent']((_0x1d4b28,_0xa4953d)=>{const _0x38600b=_0x2615ec;this[_0x38600b(0x22c)]['unsubscribe'](),this[_0x38600b(0x376)][_0x38600b(0x2c9)](),_0x397e91[_0x38600b(0x4af)]();let _0x3d5c4d=this[_0x38600b(0x261)];if(_0x3d5c4d){let _0x2a8903=_0x4c4292[_0x38600b(0x280)],_0x497aea=_0x4c4292[_0x38600b(0x35e)],_0xf18924=_0x4c4292[_0x38600b(0x314)],_0x3c2d37={};for(let _0x449b48 of Object['keys'](_0x3d5c4d['currentAdjustValues'])){var _0x1fd3a5;let _0x74380c=(_0x1fd3a5=this[_0x38600b(0x5a7)])==null?void 0x0:_0x1fd3a5[_0x38600b(0x28b)](_0x449b48);_0x74380c!==void 0x0&&(_0x3c2d37[_0x449b48]=_0x74380c);}Object[_0x38600b(0x38e)](_0x3c2d37)[_0x38600b(0x2f1)]>0x0&&_0x5b243b(this['_commandService'],_0x2a8903,_0x497aea,_0xf18924,{'oldShapeData':{'adjustValues':_0x4fd673}},{'adjustValues':_0x3c2d37});}this[_0x38600b(0x261)]=void 0x0,this[_0x38600b(0x5a7)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xa4953d[_0x38600b(0x5c7)](),_0x397e91[_0x38600b(0x3eb)]();}),_0x3e9ae5[_0x2615ec(0x5c7)]();})));}[_0x2766d8(0x2a5)](){const _0x1e8c33=_0x2766d8;let _0x5da78f=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x35d996[_0x1e8c33(0x31d)][_0x1e8c33(0x3de)]);this['disposeWithMe'](_0x5da78f[_0x1e8c33(0x21c)]((0x0,_0x4737d9['switchMap'])(_0x375188=>_0x375188?_0x375188[_0x1e8c33(0x435)][_0x1e8c33(0x21c)]((0x0,_0x4737d9['switchMap'])(_0x3364ee=>{const _0x5b2b98=_0x1e8c33;if(!_0x3364ee)return _0x4737d9['EMPTY'];let _0x17a837=_0x375188[_0x5b2b98(0x331)](),_0x39bfd4=this[_0x5b2b98(0x4bb)][_0x5b2b98(0x4ee)](_0x17a837),_0x339b67=_0x39bfd4==null?void 0x0:_0x39bfd4[_0x5b2b98(0x394)];return _0x339b67?(0x0,_0x4737d9['of'])(_0x339b67):_0x4737d9[_0x5b2b98(0x486)];})):_0x4737d9[_0x1e8c33(0x486)]))[_0x1e8c33(0x56a)](_0x1c67f6=>{const _0x488904=_0x1e8c33;let _0x30c6cc=_0x1c67f6[_0x488904(0x40c)]();this[_0x488904(0x271)](_0x1c67f6[_0x488904(0x5dc)]['subscribeEvent'](()=>{const _0x24402d=_0x488904;this[_0x24402d(0x2dc)];})),this[_0x488904(0x271)](_0x30c6cc['changeStart$'][_0x488904(0x56a)](_0x38bca0=>{const _0x2fcf31=_0x488904;let {objects:_0x55db48}=_0x38bca0;this[_0x2fcf31(0x343)](),_0x55db48!==null&&_0x55db48[_0x2fcf31(0x22b)]===0x1&&_0x55db48[_0x2fcf31(0x3bf)]()[_0x2fcf31(0x439)]()[_0x2fcf31(0x58f)]instanceof _0x423ac6&&this['setShouldShowAdjust'](!0x0);})),this[_0x488904(0x271)](_0x30c6cc[_0x488904(0x5b0)][_0x488904(0x56a)](()=>{const _0x38557f=_0x488904;this['_isShouldShowDrawingShapeAdjust']&&this[_0x38557f(0x506)]();})),this[_0x488904(0x271)](_0x1c67f6['onPointerUp$']['subscribeEvent'](()=>{const _0x2ea54e=_0x488904;this[_0x2ea54e(0x2dc)]&&(this[_0x2ea54e(0x230)](!0x1),this[_0x2ea54e(0x343)]());})),this['disposeWithMe'](_0x30c6cc[_0x488904(0x34e)][_0x488904(0x56a)](()=>{const _0x3e2275=_0x488904;this['_unitId']&&this[_0x3e2275(0x3f6)]&&this['_activeShapeId']&&this[_0x3e2275(0x482)][_0x3e2275(0x26d)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3e2275(0x2bb)]})&&(this[_0x3e2275(0x384)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x3e2275(0x3f6)],this['_activeShapeId']),this[_0x3e2275(0x569)]());}));}));}[_0x2766d8(0x425)](){const _0x55499d=_0x2766d8;this[_0x55499d(0x271)](this[_0x55499d(0x54f)][_0x55499d(0x3f5)](_0x14aaea=>{const _0x471e81=_0x55499d;if(_0x14aaea['id']!==_0x565640[_0x471e81(0x229)]['id'])return;let {unitId:_0x2b6aa3,subUnitId:_0x4a0aa3,shapeId:_0x293adf}=_0x14aaea[_0x471e81(0x1db)];_0x2b6aa3===this['_unitId']&&_0x4a0aa3===this[_0x471e81(0x3f6)]&&_0x293adf===this[_0x471e81(0x2bb)]&&this[_0x471e81(0x2b2)]();})),this[_0x55499d(0x271)](this[_0x55499d(0x482)]['focus$'][_0x55499d(0x56a)](_0x9a63ed=>{const _0x289bad=_0x55499d;if(_0x9a63ed[_0x289bad(0x2f1)]===0x1){let _0x51ae6b=_0x9a63ed[0x0];if(_0x51ae6b[_0x289bad(0x313)]===_0x35d996[_0x289bad(0x44f)][_0x289bad(0x4ba)]&&this['_univerInstanceService'][_0x289bad(0x29d)](_0x51ae6b[_0x289bad(0x280)])===_0x35d996[_0x289bad(0x31d)][_0x289bad(0x3de)]){this[_0x289bad(0x2bb)]=_0x51ae6b[_0x289bad(0x314)];let {unitId:_0x1152e2,subUnitId:_0x564b98}=_0x51ae6b;this[_0x289bad(0x384)]=this[_0x289bad(0x594)](_0x1152e2,_0x564b98,this[_0x289bad(0x2bb)]),this[_0x289bad(0x370)]=_0x1152e2,this[_0x289bad(0x3f6)]=_0x564b98,this[_0x289bad(0x506)](),this['_createShapeAdjustControls']();return;}}this[_0x289bad(0x2bb)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x289bad(0x370)]=null,this[_0x289bad(0x3f6)]=null,this[_0x289bad(0x506)]();})),this[_0x55499d(0x271)](this[_0x55499d(0x482)][_0x55499d(0x59c)][_0x55499d(0x56a)](_0x242a2b=>{const _0x465786=_0x55499d;if(_0x242a2b['length']===0x1){var _0x514fda;let _0x122699=_0x242a2b[0x0];((_0x514fda=this['_drawingManagerService'][_0x465786(0x26d)](_0x122699))==null?void 0x0:_0x514fda[_0x465786(0x313)])===_0x35d996['DrawingTypeEnum'][_0x465786(0x4ba)]&&this[_0x465786(0x432)](!0x0);}})),this[_0x55499d(0x271)](this[_0x55499d(0x482)][_0x55499d(0x210)][_0x55499d(0x56a)](_0x40e8c9=>{const _0x1f5529=_0x55499d;for(let _0x476813 of _0x40e8c9)this[_0x1f5529(0x2bb)]===_0x476813[_0x1f5529(0x314)]&&(this[_0x1f5529(0x2bb)]=null,this[_0x1f5529(0x384)]=void 0x0,this['_unitId']=null,this[_0x1f5529(0x3f6)]=null,this[_0x1f5529(0x506)]());}));}};_0x36f6fd=_0x39c461([_0x400e7c(0x0,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x565640['SheetsShapeService'])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a['IRenderManagerService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285)),_0x400e7c(0x4,_0x35d996['IUniverInstanceService']),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x3c6)])],_0x36f6fd);let _0x482521={'id':_0x2766d8(0x3bb),'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'handler':(_0x4cbaef,_0x39170b)=>{const _0x22c91e=_0x2766d8;let _0x5c4f22=_0x4cbaef[_0x22c91e(0x340)](_0x2ed59f[_0x22c91e(0x554)]),_0x44d219=_0x4cbaef[_0x22c91e(0x340)](_0x580d8a[_0x22c91e(0x266)]),_0x376da0=_0x4cbaef[_0x22c91e(0x340)](_0x36f6fd);if(_0x39170b==null)return!0x0;if(_0x39170b[_0x22c91e(0x2f1)]>0x0){var _0x5aa57a;let _0x440eb3=(_0x5aa57a=_0x44d219[_0x22c91e(0x4ee)](_0x39170b[0x0][_0x22c91e(0x280)]))==null?void 0x0:_0x5aa57a[_0x22c91e(0x394)];if(_0x440eb3){let {unitId:_0x3b54ea,subUnitId:_0x5f16e9,drawingId:_0x31c684}=_0x39170b[0x0],_0xf79a9c=(0x0,_0x2ed59f[_0x22c91e(0x2f2)])({'unitId':_0x3b54ea,'subUnitId':_0x5f16e9,'drawingId':_0x31c684},void 0x0),_0x2d993a=_0x440eb3[_0x22c91e(0x1e9)](_0xf79a9c);if(_0x2d993a){var _0x5da862;(_0x5da862=_0x44d219[_0x22c91e(0x4ee)](_0x39170b[0x0][_0x22c91e(0x280)]))==null||(_0x5da862=_0x5da862[_0x22c91e(0x394)]['getTransformer']())==null||_0x5da862[_0x22c91e(0x3b8)](_0x2d993a);}}_0x5c4f22[_0x22c91e(0x2f5)](_0x39170b),_0x376da0['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x3a6254={'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x56b)],'id':_0x2766d8(0x34c),'handler':async(_0x4f9223,_0x25fd07)=>{const _0x52eaed=_0x2766d8;var _0x1b0801,_0x3dc479;let _0x3bb4d4=(0x0,_0x2a684c[_0x52eaed(0x231)])(_0x4f9223['get'](_0x35d996['IUniverInstanceService']));if(!_0x3bb4d4)return!0x1;let {unitId:_0xf5b17a,subUnitId:_0x41c108,worksheet:_0x502bbe}=_0x3bb4d4,_0x3b5b56=_0x502bbe['getConfig'](),_0x2939b3=_0x3b5b56['type']??_0x35d996[_0x52eaed(0x45d)]['GRID'];if(_0x2939b3!==_0x35d996['SheetTypes'][_0x52eaed(0x45a)]&&_0x2939b3!==_0x35d996['SheetTypes']['CHART'])return!0x1;let _0x3f3d28=_0x4f9223[_0x52eaed(0x340)](_0x35d996[_0x52eaed(0x359)]);if(((_0x1b0801=_0x3f3d28['getPermissionPoint'](new _0x2a684c[(_0x52eaed(0x4c0))](_0xf5b17a)['id']))==null?void 0x0:_0x1b0801[_0x52eaed(0x58f)])!==!0x0||((_0x3dc479=_0x3f3d28[_0x52eaed(0x5ec)](new _0x2a684c['WorksheetEditPermission'](_0xf5b17a,_0x41c108)['id']))==null?void 0x0:_0x3dc479[_0x52eaed(0x58f)])!==!0x0)return!0x1;let _0x31f7be=_0x4f9223[_0x52eaed(0x340)](_0x35d996[_0x52eaed(0x3c6)]),{value:_0x1d946c,enhanceParams:_0x155cf6}=_0x25fd07,_0x5b356d={'unitId':_0xf5b17a,'subUnitId':_0x41c108,'shapeType':_0x1d946c,'shapeId':(0x0,_0x35d996[_0x52eaed(0x2f3)])()};if(_0x2939b3===_0x35d996['SheetTypes'][_0x52eaed(0x367)]){let _0x4a3248=_0x4f9223[_0x52eaed(0x340)](_0x580d8a[_0x52eaed(0x266)])[_0x52eaed(0x4ee)](_0xf5b17a),_0x34beb7=_0x4a3248==null?void 0x0:_0x4a3248[_0x52eaed(0x48a)][_0x52eaed(0x340)](_0x590c15['SHEET_VIEW_KEY'][_0x52eaed(0x4a7)]);if(!_0x4a3248||!_0x34beb7||![_0x34beb7[_0x52eaed(0x204)],_0x34beb7[_0x52eaed(0x414)],_0x34beb7[_0x52eaed(0x49e)],_0x34beb7['height']][_0x52eaed(0x30a)](Number[_0x52eaed(0x205)])||_0x34beb7[_0x52eaed(0x49e)]<=0x0||_0x34beb7['height']<=0x0)return!0x1;let _0x592b7d={'row':0x0,'column':0x0,'rowOffset':0x0,'columnOffset':0x0},_0x4af352=(0x0,_0x47830d[_0x52eaed(0x348)])([{'unitId':_0xf5b17a,'subUnitId':_0x41c108,'drawingId':_0x5b356d['shapeId'],'drawingType':_0x35d996[_0x52eaed(0x44f)][_0x52eaed(0x4ba)],'transform':{'left':0x0,'top':0x0,'width':_0x565640[_0x52eaed(0x1de)],'height':_0x565640[_0x52eaed(0x41d)]},'sheetTransform':{'from':_0x592b7d,'to':_0x592b7d},'axisAlignSheetTransform':{'from':_0x592b7d,'to':_0x592b7d}}],{'left':_0x34beb7[_0x52eaed(0x204)],'top':_0x34beb7['top'],'width':_0x34beb7[_0x52eaed(0x49e)],'height':_0x34beb7[_0x52eaed(0x3f8)]},_0x3b5b56[_0x52eaed(0x4f5)]===_0x35d996[_0x52eaed(0x1d7)]['TRUE']);if(!(_0x4af352!=null&&_0x4af352[_0x52eaed(0x2f1)]))return!0x1;let _0x4947ab=_0x4af352[0x0][_0x52eaed(0x339)];_0x5b356d[_0x52eaed(0x2c7)]={'x':_0x4947ab[_0x52eaed(0x204)],'y':_0x4947ab['top']},_0x5b356d[_0x52eaed(0x49e)]=_0x4947ab['width'],_0x5b356d[_0x52eaed(0x3f8)]=_0x4947ab[_0x52eaed(0x3f8)];}else{let _0x5f449d=_0x4f9223['get'](_0x2a684c[_0x52eaed(0x53e)])['getCurrentLastSelection']();if(!_0x5f449d)return!0x1;_0x5b356d['range']=_0x5f449d['range'];}if(_0x155cf6){let {startArrow:_0x4a8915,endArrow:_0x157134,horizontal:_0x5291ae,vertical:_0x32ae02}=_0x155cf6,_0x10cd29=(0x0,_0x1f2a15['isConnectorShape'])(_0x1d946c),_0x5c9e47=_0x1d946c===_0x1f2a15['ShapeTypeEnum']['Rect'];if(_0x10cd29&&(_0x4a8915||_0x157134)&&(_0x5b356d[_0x52eaed(0x23b)]={'ln':{'startArrow':_0x4a8915?{'type':_0x1f2a15[_0x52eaed(0x202)][_0x52eaed(0x392)],'size':_0x1f2a15[_0x52eaed(0x265)][_0x52eaed(0x434)]}:void 0x0,'endArrow':_0x157134?{'type':_0x1f2a15[_0x52eaed(0x202)][_0x52eaed(0x392)],'size':_0x1f2a15['ShapeArrowSizeEnum'][_0x52eaed(0x319)]}:void 0x0}}),_0x5c9e47&&(_0x5291ae||_0x32ae02)){let _0x479383=_0x4f9223['get'](_0x35d996[_0x52eaed(0x1dc)]);_0x5b356d[_0x52eaed(0x23b)]=(0x0,_0x1ad5b7['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x1f2a15[_0x52eaed(0x308)][_0x52eaed(0x462)],'color':_0x479383[_0x52eaed(0x447)](_0x52eaed(0x5bd))},'isHorizontal':!!_0x5291ae,'stroke':{'lineStrokeType':_0x1f2a15[_0x52eaed(0x4e2)][_0x52eaed(0x238)],'width':0x1,'color':_0x479383[_0x52eaed(0x447)]('gray.300')}});}}let _0x11a010=_0x31f7be[_0x52eaed(0x478)](_0x565640[_0x52eaed(0x242)]['id'],_0x5b356d);return _0x11a010&&await _0x31f7be[_0x52eaed(0x3d1)](_0x482521['id'],[{'unitId':_0xf5b17a,'subUnitId':_0x41c108,'drawingId':_0x5b356d[_0x52eaed(0x2a8)]}]),_0x11a010;}},_0x462378=_0x2766d8(0x5e9),_0x5bd6d7=_0x2766d8(0x400),_0x26c51d=_0x2766d8(0x2ef),_0x274130=_0x2766d8(0x5cd),_0xde4401=(0x0,_0x35d996[_0x2766d8(0x332)])(_0x2766d8(0x49f)),_0x26dfdd=_0x2766d8(0x260),_0x1af41a={'id':_0x2766d8(0x5b4),'type':_0x35d996['CommandType'][_0x2766d8(0x56b)],'handler':(_0x1c3268,_0x1feed2)=>{const _0x924fef=_0x2766d8;let _0x1e7604=_0x1c3268[_0x924fef(0x340)](_0x23e778[_0x924fef(0x1f7)]),_0x5ed909=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x5d0)]),_0x307585=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x403)]),_0xae3f22=_0x1c3268[_0x924fef(0x340)](_0x35d996[_0x924fef(0x3c6)]);return(0x0,_0x2a684c['getSheetCommandTarget'])(_0x307585)?(_0x1feed2==null?void 0x0:_0x1feed2[_0x924fef(0x58f)])===_0x924fef(0x3e2)?(_0x1e7604['close'](_0x5bd6d7),!0x0):(_0x1e7604[_0x924fef(0x4de)]({'id':_0x5bd6d7,'header':{'title':_0x5ed909['t']('sheets-shape-ui.objectListPanel.title')},'children':{'label':_0x5bd6d7},'onClose':()=>{const _0x17ad88=_0x924fef;_0xae3f22[_0x17ad88(0x478)](_0x2ed59f[_0x17ad88(0x2f6)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x236e1f={'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'id':_0x2766d8(0x252),'handler'(){return!0x0;}};function _0x428c26(_0x4df963){const _0x138b25=_0x2766d8;let _0x1576be=_0x4df963[_0x138b25(0x340)](_0x2ed59f[_0x138b25(0x554)])[_0x138b25(0x5bb)](),_0x29c2b1=_0x1576be[_0x138b25(0x2f1)]===0x1?_0x1576be[0x0]:null;if(!_0x29c2b1||_0x29c2b1[_0x138b25(0x313)]!==_0x35d996[_0x138b25(0x44f)][_0x138b25(0x4ba)])return null;let _0x3a42e3=_0x4df963[_0x138b25(0x340)](_0x565640['SheetsShapeService']),_0x3b6485=_0x3a42e3['getShapeTypeById'](_0x29c2b1[_0x138b25(0x280)],_0x29c2b1[_0x138b25(0x35e)],_0x29c2b1[_0x138b25(0x314)]),_0x1538e0=_0x3a42e3[_0x138b25(0x3ec)](_0x29c2b1['unitId'],_0x29c2b1[_0x138b25(0x35e)],_0x29c2b1['drawingId']);return _0x3b6485===void 0x0||!_0x1538e0?null:{'drawing':_0x29c2b1,'shapeData':_0x1538e0,'shapeType':_0x3b6485};}let _0x325b7a={'id':_0x2766d8(0x3e6),'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x225)],'handler':(_0x5c0810,_0x3f3146)=>{const _0x499e2a=_0x2766d8;let _0x385355=_0x428c26(_0x5c0810),_0x2d779c=(0x0,_0x1ad5b7['getShapeQuickStylePreset'])((_0x3f3146==null?void 0x0:_0x3f3146['presetId'])??(_0x3f3146==null?void 0x0:_0x3f3146['value'])??'');if(!_0x385355||!_0x2d779c||_0x2d779c[_0x499e2a(0x1f3)]!==(0x0,_0x1ad5b7[_0x499e2a(0x365)])(_0x385355[_0x499e2a(0x23b)]))return!0x1;let _0x545b11=(0x0,_0x1ad5b7[_0x499e2a(0x2fc)])(_0x385355[_0x499e2a(0x23b)],_0x2d779c);if(!_0x545b11)return!0x1;let {drawing:_0x48f65b}=_0x385355;return _0x5c0810[_0x499e2a(0x340)](_0x35d996[_0x499e2a(0x3c6)])['executeCommand'](_0x33bf3b['id'],{'unitId':_0x48f65b[_0x499e2a(0x280)],'subUnitId':_0x48f65b[_0x499e2a(0x35e)],'shapeId':_0x48f65b[_0x499e2a(0x314)],'shapeData':_0x545b11,'oldShapeJSON':{'oldShapeData':_0x385355['shapeData']}});}},_0x263ab1={'id':'sheet.operation.update-shape-type','type':_0x35d996[_0x2766d8(0x309)]['OPERATION'],'handler':(_0x42dcf9,_0xde8fb8)=>{const _0xa8af89=_0x2766d8;let _0x518200=_0x428c26(_0x42dcf9),_0x316f87=(_0xde8fb8==null?void 0x0:_0xde8fb8['shapeType'])??(_0xde8fb8==null?void 0x0:_0xde8fb8['value']);if(!_0x518200||!_0x316f87||(0x0,_0x1f2a15[_0xa8af89(0x493)])(_0x518200[_0xa8af89(0x3fc)])||(0x0,_0x1f2a15[_0xa8af89(0x493)])(_0x316f87))return!0x1;let _0x426774=(0x0,_0x1ad5b7[_0xa8af89(0x4b0)])(_0x518200[_0xa8af89(0x23b)],_0x316f87);if(!_0x426774)return!0x1;let {drawing:_0x463d68}=_0x518200;return _0x42dcf9[_0xa8af89(0x340)](_0x35d996[_0xa8af89(0x3c6)])[_0xa8af89(0x3d1)](_0x33bf3b['id'],{'unitId':_0x463d68[_0xa8af89(0x280)],'subUnitId':_0x463d68[_0xa8af89(0x35e)],'shapeId':_0x463d68[_0xa8af89(0x314)],'shapeType':_0x316f87,'shapeData':_0x426774,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x518200[_0xa8af89(0x3fc)],'oldShapeData':_0x518200[_0xa8af89(0x23b)]}});}},_0x538cf9=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x5c573e,_0x4a5b01){const _0x207e83=_0x2766d8;super(),this['_clipService']=_0x5c573e,this[_0x207e83(0x482)]=_0x4a5b01,this[_0x207e83(0x20d)](),this[_0x207e83(0x430)][_0x207e83(0x50c)](!0x0),this[_0x207e83(0x271)]({'dispose':()=>this[_0x207e83(0x430)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x524267=_0x2766d8;let _0x41b365=this[_0x524267(0x430)],_0x383871=new Map(),_0x3698eb=_0x41b365[_0x524267(0x39c)]((_0x1fec04,_0x5d0810,_0x11887d,_0x365d43,_0x188b05)=>{const _0x10d673=_0x524267;let _0xcb2cb7=_0x5d0810;if(_0xcb2cb7===_0x1f2a15[_0x10d673(0x224)][_0x10d673(0x255)]||_0x5d0810===_0x10d673(0x382))return!0x1;try{let _0x475df1=_0x383871[_0x10d673(0x340)](_0x5d0810);return _0x475df1||(_0x475df1=new _0x1f2a15[(_0x10d673(0x5c0))](_0xcb2cb7,'clip-'+_0x5d0810),_0x383871[_0x10d673(0x39d)](_0x5d0810,_0x475df1)),_0x475df1[_0x10d673(0x352)](),_0x188b05&&Object[_0x10d673(0x38e)](_0x188b05)['length']>0x0&&_0x475df1[_0x10d673(0x203)]({'adjustValues':_0x188b05},!0x0),_0x475df1[_0x10d673(0x240)]({'width':_0x11887d,'height':_0x365d43}),_0x475df1[_0x10d673(0x2c3)](_0x1fec04,{'left':0x0,'top':0x0,'width':_0x11887d,'height':_0x365d43});}catch{return!0x1;}});this[_0x524267(0x271)](_0x3698eb),this[_0x524267(0x271)]({'dispose':()=>_0x383871['clear']()});}['clipByShape'](_0x1a32d7,_0x432cfd,_0x5c4b72,_0xe98eb7,_0x46c673){const _0x178399=_0x2766d8;let _0x2b43b7=this[_0x178399(0x482)]['getDrawingData'](_0x1a32d7,_0x432cfd);if(!_0x2b43b7[_0x5c4b72])return;let _0x2a6862={..._0x2b43b7[_0x5c4b72],'prstGeom':_0xe98eb7,'adjustValues':_0x46c673};this['_drawingManagerService'][_0x178399(0x233)]([_0x2a6862]);}};_0x538cf9=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2c4f7e['DrawingImageClipService'])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2ed59f[_0x2766d8(0x554)]))],_0x538cf9);let _0x2ae931=_0x2766d8(0x5d1),_0x4aafa5=_0x2766d8(0x470);function _0x2d1fc2({onShapeClick:_0xcb6975,excludeGroups:_0x268561}){const _0x413e48=_0x2766d8;return(0x0,_0x121104[_0x413e48(0x4f2)])(_0x197fcc[_0x413e48(0x516)],{'excludeGroups':_0x268561,'onShapeClick':_0xcb6975,'scrollContainer':_0x413e48(0x3d6)});}function _0x58ceb1(){const _0x2447b3=_0x2766d8;let _0x3b7300=(0x0,_0x23e778[_0x2447b3(0x4e0)])(_0x2ed59f[_0x2447b3(0x554)]),_0x58c63b=(0x0,_0x23e778[_0x2447b3(0x4e0)])(_0x538cf9);return(0x0,_0x121104['jsx'])(_0x197fcc[_0x2447b3(0x24e)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x197fcc[_0x2447b3(0x45e)][_0x2447b3(0x389)]],'onShapeClick':_0x74ea66=>{const _0x397fe9=_0x2447b3;let _0x48cdfd=_0x3b7300[_0x397fe9(0x5bb)]()['find'](_0x48eebb=>_0x48eebb[_0x397fe9(0x313)]===_0x35d996['DrawingTypeEnum'][_0x397fe9(0x2ed)]);if(!_0x48cdfd)return;let {unitId:_0x2ebedb,subUnitId:_0x32ff48,drawingId:_0x331684}=_0x48cdfd;_0x58c63b[_0x397fe9(0x246)](_0x2ebedb,_0x32ff48,_0x331684,_0x74ea66['type']);}});}function _0x2dbee2(){const _0x5eceb4=_0x2766d8;let _0x35d467=(0x0,_0x23e778['useDependency'])(_0x2ed59f[_0x5eceb4(0x554)]),_0x353510=(0x0,_0x23e778[_0x5eceb4(0x4e0)])(_0x538cf9);return(0x0,_0x121104[_0x5eceb4(0x4f2)])(_0x197fcc[_0x5eceb4(0x24e)],{'buttonLabel':_0x5eceb4(0x545),'excludeGroups':[_0x197fcc[_0x5eceb4(0x45e)][_0x5eceb4(0x389)]],'DropdownComponent':_0x36db41[_0x5eceb4(0x440)],'onShapeClick':_0x40aa4f=>{const _0x3853e5=_0x5eceb4;let _0x5a7f65=_0x35d467[_0x3853e5(0x5bb)]()['find'](_0x44e7fe=>_0x44e7fe[_0x3853e5(0x313)]===_0x35d996[_0x3853e5(0x44f)][_0x3853e5(0x2ed)]);if(!_0x5a7f65)return;let {unitId:_0x48cf1d,subUnitId:_0x4c57d9,drawingId:_0x53c60d}=_0x5a7f65;_0x353510[_0x3853e5(0x246)](_0x48cf1d,_0x4c57d9,_0x53c60d,_0x40aa4f['type']);}});}function _0x275f06(){const _0x206588=_0x2766d8;let _0x21f224=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x23e778[_0x206588(0x36a)]),_0xfe9d88=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x2ed59f['IDrawingManagerService']),_0x94196b=(0x0,_0x23e778[_0x206588(0x4e0)])(_0x35d996[_0x206588(0x403)]),_0x1dc298=_0xfe9d88['getFocusDrawings']()[0x0],_0x538293=_0x1dc298?_0x94196b['getUnitType'](_0x1dc298[_0x206588(0x280)]):void 0x0,_0x3def54=_0x538293===_0x35d996[_0x206588(0x31d)]['UNIVER_DOC']?'doc.image-clip.shape-picker.component':_0x538293===_0x35d996[_0x206588(0x31d)][_0x206588(0x3de)]?_0x4aafa5:void 0x0,_0x42e713=_0x3def54?_0x21f224[_0x206588(0x340)](_0x3def54):void 0x0;return _0x42e713?(0x0,_0x121104['jsx'])(_0x42e713,{}):null;}function _0x10d6b6(){const _0x4cfd3f=_0x2766d8;let _0x5a2d9e=(0x0,_0x23e778[_0x4cfd3f(0x4e0)])(_0x35d996[_0x4cfd3f(0x3c6)]);return(0x0,_0x121104['jsx'])(_0x2d1fc2,{'onShapeClick':_0x11bbd3=>{const _0x5ee8d6=_0x4cfd3f;_0x5a2d9e['executeCommand'](_0x3a6254['id'],{'value':_0x11bbd3[_0x5ee8d6(0x1f3)],'enhanceParams':{'endArrow':_0x11bbd3[_0x5ee8d6(0x46b)],'startArrow':_0x11bbd3[_0x5ee8d6(0x54a)],'horizontal':_0x11bbd3[_0x5ee8d6(0x544)],'vertical':_0x11bbd3[_0x5ee8d6(0x22f)]}});}});}function _0x25a995(){return(0x0,_0x121104['jsx'])(_0x10d6b6,{});}function _0xd1e35f(_0x4e2ca8){const _0x717602=_0x2766d8;return(0x0,_0x590c15['deriveStateFromActiveSheet$'])(_0x4e2ca8[_0x717602(0x340)](_0x35d996[_0x717602(0x403)]),!0x0,({workbook:_0x3a319d,worksheet:_0x17a487})=>{const _0x193f68=_0x717602;let _0x31548b=_0x17a487[_0x193f68(0x5cf)]()[_0x193f68(0x1f3)]??_0x35d996[_0x193f68(0x45d)][_0x193f68(0x45a)];if(_0x31548b===_0x35d996[_0x193f68(0x45d)][_0x193f68(0x45a)])return(0x0,_0x590c15['getCurrentRangeDisable$'])(_0x4e2ca8);if(_0x31548b!==_0x35d996[_0x193f68(0x45d)][_0x193f68(0x367)])return(0x0,_0x4737d9['of'])(!0x0);let _0x33f129=_0x4e2ca8[_0x193f68(0x340)](_0x35d996[_0x193f68(0x359)]),_0x2f6292=[new _0x2a684c[(_0x193f68(0x4c0))](_0x3a319d[_0x193f68(0x331)]())['id'],new _0x2a684c[(_0x193f68(0x59b))](_0x3a319d[_0x193f68(0x331)](),_0x17a487[_0x193f68(0x21f)]())['id']];return _0x33f129[_0x193f68(0x2bd)][_0x193f68(0x21c)]((0x0,_0x4737d9[_0x193f68(0x5d6)])(null),(0x0,_0x4737d9[_0x193f68(0x4d8)])(()=>_0x2f6292[_0x193f68(0x5c8)](_0x5bc918=>{const _0x148147=_0x193f68;var _0x168616;return((_0x168616=_0x33f129[_0x148147(0x5ec)](_0x5bc918))==null?void 0x0:_0x168616[_0x148147(0x58f)])!==!0x0;})),(0x0,_0x4737d9[_0x193f68(0x5ce)])());});}function _0x115039(_0x3c0ffc){const _0x28f5ec=_0x2766d8;let _0x38bb05=_0x3c0ffc[_0x28f5ec(0x340)](_0x35d996['IUniverInstanceService']);return{'id':_0x3a6254['id'],'type':_0x23e778[_0x28f5ec(0x43e)]['SELECTOR'],'selections':[{'label':{'name':_0x2ae931,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x3a6254['id']}}}],'icon':_0x28f5ec(0x1f4),'tooltip':'sheets-shape-ui.insertShape','activated$':(0x0,_0x590c15[_0x28f5ec(0x2f0)])(_0x38bb05,!0x1,()=>new _0x4737d9['Observable'](_0x19a848=>{const _0x50a4b6=_0x28f5ec;_0x19a848[_0x50a4b6(0x439)](!0x1);})),'hidden$':(0x0,_0x23e778[_0x28f5ec(0x577)])(_0x3c0ffc,_0x35d996[_0x28f5ec(0x31d)][_0x28f5ec(0x3de)]),'disabled$':_0xd1e35f(_0x3c0ffc)};}function _0x2206e1(_0x51183d){const _0x4eb708=_0x2766d8;return(0x0,_0x590c15[_0x4eb708(0x2f0)])(_0x51183d['get'](_0x35d996[_0x4eb708(0x403)]),!0x0,({workbook:_0xf89f05,worksheet:_0x2127fd})=>{const _0xb2391c=_0x4eb708;let _0xcfc977=_0x2127fd[_0xb2391c(0x5cf)]()['type']??_0x35d996[_0xb2391c(0x45d)][_0xb2391c(0x45a)];if(_0xcfc977===_0x35d996[_0xb2391c(0x45d)][_0xb2391c(0x45a)])return(0x0,_0x590c15[_0xb2391c(0x2c4)])(_0x51183d);if(_0xcfc977!==_0x35d996[_0xb2391c(0x45d)]['CHART'])return(0x0,_0x4737d9['of'])(!0x0);let _0x51cc03=_0x51183d[_0xb2391c(0x340)](_0x35d996[_0xb2391c(0x359)]),_0x30a37d=[new _0x2a684c[(_0xb2391c(0x4c0))](_0xf89f05[_0xb2391c(0x331)]())['id'],new _0x2a684c[(_0xb2391c(0x59b))](_0xf89f05[_0xb2391c(0x331)](),_0x2127fd[_0xb2391c(0x21f)]())['id']];return _0x51cc03[_0xb2391c(0x2bd)][_0xb2391c(0x21c)]((0x0,_0x4737d9['startWith'])(null),(0x0,_0x4737d9[_0xb2391c(0x4d8)])(()=>_0x30a37d[_0xb2391c(0x5c8)](_0x5ee8fa=>{const _0x53dd52=_0xb2391c;var _0x1d7d93;return((_0x1d7d93=_0x51cc03[_0x53dd52(0x5ec)](_0x5ee8fa))==null?void 0x0:_0x1d7d93[_0x53dd52(0x58f)])!==!0x0;})),(0x0,_0x4737d9['distinctUntilChanged'])());});}function _0x477814(_0x14faf9){const _0x1d59a5=_0x2766d8;let _0x5de406=_0x14faf9['get'](_0x23e778[_0x1d59a5(0x1f7)]);return{'id':_0x1af41a['id'],'type':_0x23e778['MenuItemType'][_0x1d59a5(0x5e6)],'icon':_0x1d59a5(0x3a5),'title':_0x1d59a5(0x1e6),'tooltip':_0x1d59a5(0x1e6),'activated$':(0x0,_0x4737d9['defer'])(()=>_0x5de406[_0x1d59a5(0x53f)][_0x1d59a5(0x21c)]((0x0,_0x4737d9[_0x1d59a5(0x5d6)])(_0x5de406[_0x1d59a5(0x3e4)]),(0x0,_0x4737d9[_0x1d59a5(0x4d8)])(_0x57bca5=>_0x57bca5['visible']===!0x0&&_0x57bca5['id']===_0x1d59a5(0x400)),(0x0,_0x4737d9['distinctUntilChanged'])())),'hidden$':(0x0,_0x23e778[_0x1d59a5(0x577)])(_0x14faf9,_0x35d996[_0x1d59a5(0x31d)][_0x1d59a5(0x3de)]),'disabled$':_0x2206e1(_0x14faf9)};}let _0x56de37=_0x2766d8(0x3da),_0x2b4b62=_0x2766d8(0x25b);function _0x4e4a3e(_0x433da0){const _0xf8b6af=_0x2766d8;let _0x5afe0a=_0x433da0[_0xf8b6af(0x340)](_0x2ed59f[_0xf8b6af(0x554)])['getFocusDrawings']();return _0x5afe0a[_0xf8b6af(0x2f1)]===0x1&&_0x5afe0a[0x0]['drawingType']===_0x35d996[_0xf8b6af(0x44f)][_0xf8b6af(0x4ba)]?_0x5afe0a[0x0]:null;}function _0x4ff412(_0x36536f){const _0x1b7ff7=_0x2766d8;let _0x34e9a0=_0x36536f[_0x1b7ff7(0x340)](_0x2ed59f['IDrawingManagerService']);return _0x34e9a0[_0x1b7ff7(0x2a3)][_0x1b7ff7(0x21c)]((0x0,_0x4737d9[_0x1b7ff7(0x5d6)])(_0x34e9a0[_0x1b7ff7(0x5bb)]()),(0x0,_0x4737d9[_0x1b7ff7(0x4d8)])(_0x34c7a8=>_0x34c7a8[_0x1b7ff7(0x2f1)]!==0x1||_0x34c7a8[0x0][_0x1b7ff7(0x313)]!==_0x35d996['DrawingTypeEnum'][_0x1b7ff7(0x4ba)]));}function _0x52eb3d(_0x49940e){const _0x1d87bf=_0x2766d8;return{'id':_0x56de37,'commandId':_0x565640['ToggleSheetsShapeFlipCommand']['id'],'type':_0x23e778[_0x1d87bf(0x43e)][_0x1d87bf(0x5e6)],'title':_0x1d87bf(0x517),'tooltip':_0x1d87bf(0x517),'icon':_0x1d87bf(0x2cb),'hidden$':_0x4ff412(_0x49940e),'params':()=>{const _0x1e010f=_0x1d87bf;let _0x4e346c=_0x4e4a3e(_0x49940e);return _0x4e346c?{'unitId':_0x4e346c[_0x1e010f(0x280)],'subUnitId':_0x4e346c[_0x1e010f(0x35e)],'shapeId':_0x4e346c[_0x1e010f(0x314)],'flipH':!0x0}:void 0x0;}};}function _0x25914b(_0x575a48){const _0x265301=_0x2766d8;return{'id':_0x2b4b62,'commandId':_0x565640[_0x265301(0x5d8)]['id'],'type':_0x23e778[_0x265301(0x43e)][_0x265301(0x5e6)],'title':_0x265301(0x523),'tooltip':_0x265301(0x523),'icon':_0x265301(0x1d5),'hidden$':_0x4ff412(_0x575a48),'params':()=>{const _0x4154bf=_0x265301;let _0x585e3c=_0x4e4a3e(_0x575a48);return _0x585e3c?{'unitId':_0x585e3c[_0x4154bf(0x280)],'subUnitId':_0x585e3c['subUnitId'],'shapeId':_0x585e3c[_0x4154bf(0x314)],'flipV':!0x0}:void 0x0;}};}let _0x361901='sheets-shape-ui.shape-format.quick-style-gallery',_0x1ede14=_0x2766d8(0x4dd),_0x4d4286=_0x2766d8(0x5a0),_0x20dc16=_0x2766d8(0x346);function _0x1f92be(){const _0x287f87=_0x2766d8;let _0x462116=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x35d996[_0x287f87(0x3c6)]),_0x163184=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x2ed59f[_0x287f87(0x554)]),_0x37b26d=(0x0,_0x23e778[_0x287f87(0x4e0)])(_0x565640[_0x287f87(0x248)]),_0xb69aa3=()=>{const _0x294bfb=_0x287f87;var _0x27b833;let _0x584251=_0x163184['getFocusDrawings']();if(_0x584251[_0x294bfb(0x2f1)]!==0x1||((_0x27b833=_0x584251[0x0])==null?void 0x0:_0x27b833[_0x294bfb(0x313)])!==_0x35d996[_0x294bfb(0x44f)][_0x294bfb(0x4ba)])return null;let {unitId:_0x13c368,subUnitId:_0x4466bc,drawingId:_0x51ae10}=_0x584251[0x0],_0x1d8a17=_0x37b26d[_0x294bfb(0x374)](_0x13c368,_0x4466bc,_0x51ae10),_0x5b6ed2=_0x37b26d[_0x294bfb(0x3ec)](_0x13c368,_0x4466bc,_0x51ae10);return _0x1d8a17===void 0x0||!_0x5b6ed2?null:{'unitId':_0x13c368,'subUnitId':_0x4466bc,'drawingId':_0x51ae10,'shapeType':_0x1d8a17,'shapeData':_0x5b6ed2};},_0x217360=(0x0,_0x23e778['useObservable'])(()=>new _0x4737d9['Observable'](_0x573d8e=>{const _0x54df78=_0x287f87;let _0xbc8c1e=()=>_0x573d8e[_0x54df78(0x439)](_0xb69aa3()),_0x18bca1=_0x163184[_0x54df78(0x2a3)][_0x54df78(0x56a)](_0xbc8c1e),_0x113148=_0x462116[_0x54df78(0x3f5)](_0x354e03=>{const _0x2c5664=_0x54df78;_0x354e03['id']===_0x565640[_0x2c5664(0x229)]['id']&&_0xbc8c1e();});return _0xbc8c1e(),()=>{const _0x39dd5d=_0x54df78;_0x18bca1[_0x39dd5d(0x2c9)](),_0x113148[_0x39dd5d(0x2a4)]();};}),_0xb69aa3(),!0x1,[_0x462116,_0x163184,_0x37b26d]);return{'selection':_0x217360,'updateShapeData':_0x7bb4f8=>{const _0x3f69db=_0x287f87;_0x217360&&_0x5b243b(_0x462116,_0x217360['unitId'],_0x217360[_0x3f69db(0x35e)],_0x217360[_0x3f69db(0x314)],{'oldShapeData':_0x217360['shapeData']},_0x7bb4f8);}};}function _0x162bf7(){const _0x194c5b=_0x2766d8;let {selection:_0xaa1d23,updateShapeData:_0x337dc3}=_0x1f92be();return _0xaa1d23?(0x0,_0x121104[_0x194c5b(0x4f2)])(_0x197fcc['ShapeStyleRibbonControl'],{'shapeData':_0xaa1d23[_0x194c5b(0x23b)],'shapeType':_0xaa1d23[_0x194c5b(0x3fc)],'onUpdateShapeData':_0x337dc3}):null;}function _0x13902d(){const _0x34d11c=_0x2766d8;let _0x5de16d=(0x0,_0x23e778[_0x34d11c(0x4e0)])(_0x35d996['ICommandService']),_0x48324b=(0x0,_0x23e778[_0x34d11c(0x4e0)])(_0x35d996[_0x34d11c(0x5d0)]),{selection:_0x2a3d1b}=_0x1f92be();return _0x2a3d1b?(0x0,_0x121104[_0x34d11c(0x4f2)])(_0x197fcc[_0x34d11c(0x254)],{'type':(0x0,_0x1ad5b7[_0x34d11c(0x365)])(_0x2a3d1b['shapeData']),'ariaLabel':_0x48324b['t'](_0x34d11c(0x207)),'activePresetId':(0x0,_0x1ad5b7['resolveActiveShapeQuickStylePresetId'])(_0x2a3d1b[_0x34d11c(0x23b)]),'onSelect':_0x1761c6=>_0x5de16d[_0x34d11c(0x3d1)](_0x325b7a['id'],{'presetId':_0x1761c6})}):null;}function _0x5ce8e4(){const _0x479ed8=_0x2766d8;let {selection:_0x499d91,updateShapeData:_0x1bb1f5}=_0x1f92be();return _0x499d91?(0x0,_0x121104[_0x479ed8(0x4f2)])(_0x197fcc[_0x479ed8(0x234)],{'fontFamilyPopupDataComponent':_0x479ed8(0x4c7),'shapeData':_0x499d91[_0x479ed8(0x23b)],'onUpdateShapeData':_0x1bb1f5}):null;}function _0xd69ed3(){const _0x151f25=_0x2766d8;var _0x2eb168;let {selection:_0x24d56a,updateShapeData:_0x3485a7}=_0x1f92be(),_0x468787=(0x0,_0x197fcc[_0x151f25(0x3d3)])({'hostType':_0x35d996[_0x151f25(0x31d)][_0x151f25(0x3de)],'unitId':(_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x280)])??'','subUnitId':(_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x35e)])??'','shapeId':(_0x24d56a==null?void 0x0:_0x24d56a['drawingId'])??'','shapeData':_0x24d56a==null?void 0x0:_0x24d56a[_0x151f25(0x23b)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x151f25(0x270),'onUpdateBinding':_0x122c1a=>_0x3485a7({'formulaBinding':_0x122c1a})}),_0x3b401c=((_0x2eb168=_0x468787['extensionGroups'])==null?void 0x0:_0x2eb168[_0x151f25(0x29e)](_0x20e26a=>_0x20e26a[_0x151f25(0x481)])[_0x151f25(0x35b)](_0x28a1e7=>_0x28a1e7['visible']!==!0x1))??[];return _0x24d56a!=null&&_0x24d56a[_0x151f25(0x23b)]['formulaBinding']?(0x0,_0x121104[_0x151f25(0x4f2)])(_0x197fcc[_0x151f25(0x1da)],{'actions':_0x3b401c,'panel':_0x468787['panel']}):null;}let _0x10db6c=_0x2766d8(0x45b),_0x28c476=_0x2766d8(0x52f),_0x258612=_0x2766d8(0x41f),_0x12a9db=_0x2766d8(0x575),_0x3bb6d4='sheets-shape-ui.ribbon.shape-format.arrange-backward',_0x35f38d=_0x2766d8(0x284),_0x1a214e='sheets-shape-ui.ribbon.shape-format.arrange-back';function _0x12aed7(_0x59416a){const _0x19e735=_0x2766d8;let _0x15868b=_0x59416a[_0x19e735(0x340)](_0x35d996[_0x19e735(0x3c6)]),_0x2575c4=_0x59416a[_0x19e735(0x340)](_0x2ed59f['IDrawingManagerService']),_0x4de898=_0x59416a['get'](_0x565640[_0x19e735(0x248)]);return new _0x4737d9['Observable'](_0xc8201b=>{const _0x535ffb=_0x19e735;let _0x3a74dc=()=>{const _0x596368=_0x231f;let _0x1920a1=_0x3fc8f1(_0x59416a),_0x126a0c=_0x1920a1?_0x4de898[_0x596368(0x3ec)](_0x1920a1['unitId'],_0x1920a1[_0x596368(0x35e)],_0x1920a1[_0x596368(0x314)]):null;_0xc8201b[_0x596368(0x439)](_0x126a0c?(0x0,_0x1ad5b7[_0x596368(0x2ab)])(_0x126a0c)??'':'');},_0x5cde09=_0x2575c4[_0x535ffb(0x2a3)][_0x535ffb(0x56a)](_0x3a74dc),_0x53a924=_0x15868b[_0x535ffb(0x3f5)](_0x109104=>{const _0x5b892c=_0x535ffb;_0x109104['id']===_0x565640[_0x5b892c(0x229)]['id']&&_0x3a74dc();});return _0x3a74dc(),()=>{_0x5cde09['unsubscribe'](),_0x53a924['dispose']();};});}function _0x3fc8f1(_0x5d07d6){const _0x49fef2=_0x2766d8;var _0x516856;let _0x44ff48=_0x5d07d6[_0x49fef2(0x340)](_0x2ed59f[_0x49fef2(0x554)])[_0x49fef2(0x5bb)]();return _0x44ff48[_0x49fef2(0x2f1)]===0x1&&((_0x516856=_0x44ff48[0x0])==null?void 0x0:_0x516856[_0x49fef2(0x313)])===_0x35d996[_0x49fef2(0x44f)][_0x49fef2(0x4ba)]?_0x44ff48[0x0]:null;}function _0xc19f32(_0x487e9a,_0x3dbec2=!0x1){const _0x2e620a=_0x2766d8;let _0x35b4fb=_0x487e9a[_0x2e620a(0x340)](_0x35d996[_0x2e620a(0x3c6)]),_0x13778f=_0x487e9a[_0x2e620a(0x340)](_0x2ed59f[_0x2e620a(0x554)]),_0x93a938=_0x487e9a['get'](_0x565640[_0x2e620a(0x248)]);return new _0x4737d9[(_0x2e620a(0x2b3))](_0x3e9763=>{const _0x2fea14=_0x2e620a;let _0x5ddd21=()=>{const _0x33967a=_0x231f;let _0x3fc308=_0x3fc8f1(_0x487e9a);if(!_0x3fc308){_0x3e9763[_0x33967a(0x439)](!0x0);return;}let _0x2e5138=_0x93a938[_0x33967a(0x3ec)](_0x3fc308[_0x33967a(0x280)],_0x3fc308[_0x33967a(0x35e)],_0x3fc308[_0x33967a(0x314)]);_0x3e9763['next'](!_0x2e5138||_0x3dbec2&&_0x2e5138[_0x33967a(0x405)]==null);},_0x3d14a3=_0x13778f[_0x2fea14(0x2a3)][_0x2fea14(0x56a)](_0x5ddd21),_0x4d518b=_0x35b4fb[_0x2fea14(0x3f5)](_0x2e1cf1=>{const _0x2f17d1=_0x2fea14;_0x2e1cf1['id']===_0x565640[_0x2f17d1(0x229)]['id']&&_0x5ddd21();});return _0x5ddd21(),()=>{const _0xe29cd2=_0x2fea14;_0x3d14a3[_0xe29cd2(0x2c9)](),_0x4d518b[_0xe29cd2(0x2a4)]();};});}function _0x59c796(_0x2525e5){const _0x486423=_0x2766d8;let _0x34c372=_0x2525e5[_0x486423(0x340)](_0x2ed59f['IDrawingManagerService']),_0x35a6ae=_0x2525e5['get'](_0x565640['SheetsShapeService']);return _0x34c372[_0x486423(0x2a3)][_0x486423(0x21c)]((0x0,_0x4737d9[_0x486423(0x5d6)])(_0x34c372[_0x486423(0x5bb)]()),(0x0,_0x4737d9[_0x486423(0x4d8)])(()=>{const _0x5f5c0c=_0x486423;let _0x3b5df6=_0x3fc8f1(_0x2525e5),_0xaacc6d=_0x3b5df6?_0x35a6ae[_0x5f5c0c(0x374)](_0x3b5df6['unitId'],_0x3b5df6['subUnitId'],_0x3b5df6['drawingId']):void 0x0;return _0xaacc6d===void 0x0||(0x0,_0x1f2a15['isConnectorShape'])(_0xaacc6d);}));}function _0x320b38(_0x2672ba){const _0x19628e=_0x2766d8;return{'id':_0x325b7a['id'],'type':_0x23e778[_0x19628e(0x43e)][_0x19628e(0x536)],'icon':_0x19628e(0x585),'title':_0x19628e(0x239),'tooltip':_0x19628e(0x239),'selections':[{'label':{'name':_0x361901,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x12aed7(_0x2672ba),'hidden$':_0xc19f32(_0x2672ba)};}function _0x5a6bb6(_0x672e79){const _0x262ba5=_0x2766d8;return{'id':_0x263ab1['id'],'type':_0x23e778[_0x262ba5(0x43e)][_0x262ba5(0x536)],'icon':'ShapeIcon','title':_0x262ba5(0x4f8),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x197fcc['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x59c796(_0x672e79)};}function _0x4d6694(_0x2ea53a,_0x4c9ab2,_0x36bc5c=!0x1){const _0x3cdd57=_0x2766d8;return _0x4b4ea2=>({'id':_0x2ea53a,'type':_0x23e778[_0x3cdd57(0x43e)][_0x3cdd57(0x5e6)],'label':{'name':_0x4c9ab2,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xc19f32(_0x4b4ea2,_0x36bc5c)});}let _0x2b36a5=_0x4d6694(_0x10db6c,_0x1ede14),_0x4af08a=_0x4d6694(_0x28c476,_0x4d4286),_0xd7dc08=_0x4d6694(_0x258612,_0x20dc16,!0x0);function _0x48aaeb(_0x367cb4,_0x503f47,_0x2ee745,_0x247010){const _0x125681=_0x2766d8;return _0x5c5720=>({'id':_0x367cb4,'commandId':_0x47830d[_0x125681(0x2df)]['id'],'type':_0x23e778[_0x125681(0x43e)][_0x125681(0x5e6)],'icon':_0x2ee745,'title':_0x247010,'tooltip':_0x247010,'hidden$':_0xc19f32(_0x5c5720),'params':()=>{const _0x4750b7=_0x125681;let _0x39a902=_0x3fc8f1(_0x5c5720);return _0x39a902?{'unitId':_0x39a902[_0x4750b7(0x280)],'subUnitId':_0x39a902[_0x4750b7(0x35e)],'drawingIds':[_0x39a902[_0x4750b7(0x314)]],'arrangeType':_0x503f47}:void 0x0;}});}let _0x116fc9=_0x48aaeb(_0x12a9db,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x214)],'MoveUpIcon','shape-editor-ui.arrange.forward'),_0xd871d7=_0x48aaeb(_0x3bb6d4,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x2bf)],_0x2766d8(0x2b9),_0x2766d8(0x498)),_0x2b004b=_0x48aaeb(_0x35f38d,_0x35d996[_0x2766d8(0x55c)][_0x2766d8(0x335)],_0x2766d8(0x2ad),_0x2766d8(0x3a8)),_0x41d9a8=_0x48aaeb(_0x1a214e,_0x35d996[_0x2766d8(0x55c)]['back'],_0x2766d8(0x44e),_0x2766d8(0x297));function _0x16d1dd(_0x354a4c){const _0x27f63d=_0x2766d8;let _0x271094=_0x354a4c[_0x27f63d(0x340)](_0x23e778[_0x27f63d(0x1f7)]);return{'activated$':(0x0,_0x4737d9[_0x27f63d(0x4a1)])(()=>_0x271094[_0x27f63d(0x53f)]['pipe']((0x0,_0x4737d9[_0x27f63d(0x5d6)])(_0x271094['options']),(0x0,_0x4737d9[_0x27f63d(0x4d8)])(_0xa19488=>_0xa19488[_0x27f63d(0x416)]===!0x0&&_0xa19488['id']==='sheet.shape.edit.panel'),(0x0,_0x4737d9[_0x27f63d(0x5ce)])())),'id':_0x236e1f['id'],'type':_0x23e778[_0x27f63d(0x43e)][_0x27f63d(0x5e6)],'icon':_0x27f63d(0x3c2),'title':'sheets-shape-ui.formatShape','tooltip':_0x27f63d(0x371),'hidden$':_0xc19f32(_0x354a4c),'params':()=>{const _0x19927f=_0x27f63d;let _0x4229d2=_0x3fc8f1(_0x354a4c);return _0x4229d2?{'unitId':_0x4229d2[_0x19927f(0x280)],'subUnitId':_0x4229d2[_0x19927f(0x35e)],'drawingId':_0x4229d2[_0x19927f(0x314)]}:void 0x0;}};}let _0x4320ab={[_0x23e778[_0x2766d8(0x2d0)][_0x2766d8(0x28a)]]:{[_0x274130]:{'order':0x64,'title':_0x2766d8(0x371),'contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x325b7a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x320b38},[_0x263ab1['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5a6bb6}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x10db6c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x2b36a5}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x28c476]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x4af08a}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x56de37]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x52eb3d},[_0x2b4b62]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x25914b},[_0x12a9db]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x116fc9},[_0x3bb6d4]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xd871d7},[_0x35f38d]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x2b004b},[_0x1a214e]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x41d9a8}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x258612]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xd7dc08}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x236e1f['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x16d1dd},[_0x197fcc['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x197fcc['ShapeFloatingToolbarToggleFactory']}}}}},_0x296796={[_0x23e778[_0x2766d8(0x47a)]['MEDIA']]:{[_0x3a6254['id']]:{'order':0x3,'menuItemFactory':_0x115039}}},_0x243f1d={..._0x296796,[_0x23e778[_0x2766d8(0x47a)][_0x2766d8(0x2af)]]:{[_0x1af41a['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x477814}},[_0x23e778[_0x2766d8(0x20c)][_0x2766d8(0x3e0)]]:{[_0x23e778[_0x2766d8(0x547)][_0x2766d8(0x2af)]]:{[_0x56de37]:{'order':0x4,'menuItemFactory':_0x52eb3d},[_0x2b4b62]:{'order':0x5,'menuItemFactory':_0x25914b}}}};var _0x5bde27=_0x2766d8(0x58c),_0x48a452=_0x2766d8(0x334);let _0x279e80={'id':_0x2766d8(0x283),'type':_0x35d996['CommandType'][_0x2766d8(0x225)],'handler'(_0x4884c7,_0x2db4b8){const _0x3bb223=_0x2766d8;return _0x2db4b8?(_0x4884c7['get'](_0x197fcc['MobileShapeEditorService'])['open'](_0x2db4b8['mode'],{'hostType':_0x35d996['UniverInstanceType'][_0x3bb223(0x3de)],'shapeId':_0x2db4b8[_0x3bb223(0x314)],'subUnitId':_0x2db4b8['subUnitId'],'unitId':_0x2db4b8[_0x3bb223(0x280)]}),!0x0):!0x1;}},_0xedbf59=_0x2766d8(0x216),_0x5a65ec={},_0x22d196=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x34a67f,_0x480511,_0x4408aa,_0x163fd9,_0x4eff36){const _0x180055=_0x2766d8;super(),this[_0x180055(0x587)]=_0x34a67f,this[_0x180055(0x482)]=_0x480511,this[_0x180055(0x4bb)]=_0x4408aa,this['_univerInstanceService']=_0x163fd9,this['_imageShapeClipController']=_0x4eff36,_0x2a4a7a(this,_0x180055(0x549),null),_0x2a4a7a(this,_0x180055(0x370),null),_0x2a4a7a(this,_0x180055(0x3f6),null),_0x2a4a7a(this,_0x180055(0x369),void 0x0),_0x2a4a7a(this,_0x180055(0x298),[]),_0x2a4a7a(this,'_baseLeft',0x0),_0x2a4a7a(this,_0x180055(0x4cc),0x0),_0x2a4a7a(this,_0x180055(0x3a1),0x0),_0x2a4a7a(this,'_baseHeight',0x0),_0x2a4a7a(this,_0x180055(0x52c),!0x1),_0x2a4a7a(this,_0x180055(0x261),void 0x0),_0x2a4a7a(this,_0x180055(0x5a7),void 0x0),_0x2a4a7a(this,_0x180055(0x22c),void 0x0),_0x2a4a7a(this,_0x180055(0x376),void 0x0),_0x2a4a7a(this,_0x180055(0x2b1),!0x1),this['_registerFocusChangeHandler'](),this[_0x180055(0x288)]();}['clearAdjustControls'](){const _0x8988e=_0x2766d8;this[_0x8988e(0x5ae)]();}[_0x2766d8(0x2b2)](){const _0x548f57=_0x2766d8;this[_0x548f57(0x5ae)](),this[_0x548f57(0x475)](!0x0);}[_0x2766d8(0x215)](_0xcd719f,_0x44149a,_0x291a9b,_0x2f80d8){const _0x4fe43b=_0x2766d8;let _0x507a76=_0xcd719f;if(_0x507a76!==_0x1f2a15['ShapeTypeEnum'][_0x4fe43b(0x255)]&&_0xcd719f!=='custom')try{let _0x2c4925=new _0x1f2a15[(_0x4fe43b(0x5c0))](_0x507a76,_0x4fe43b(0x2a1)+_0xcd719f);return _0x2f80d8&&_0x2c4925[_0x4fe43b(0x203)]({'adjustValues':_0x2f80d8},!0x0),_0x2c4925[_0x4fe43b(0x240)]({'width':_0x44149a,'height':_0x291a9b}),_0x2c4925;}catch{return;}}[_0x2766d8(0x3c5)](_0x254956,_0x42782d,_0x13c848){const _0x4ca188=_0x2766d8;let _0x13cee4={'unitId':_0x254956,'subUnitId':_0x42782d,'drawingId':_0x13c848},_0x204712=this['_drawingManagerService']['getDrawingByParam'](_0x13cee4);if(_0x204712&&_0x204712[_0x4ca188(0x313)]===_0x35d996[_0x4ca188(0x44f)][_0x4ca188(0x2ed)])return _0x204712;}[_0x2766d8(0x484)](_0x9855d5,_0x32d7a9,_0x5c7880){const _0xe52659=_0x2766d8;let _0x3db0f5=this[_0xe52659(0x4bb)][_0xe52659(0x4ee)](_0x9855d5);if(!_0x3db0f5)return;let {scene:_0x40ff07}=_0x3db0f5,_0x3fa39b=(0x0,_0x2ed59f['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x9855d5,'subUnitId':_0x32d7a9,'drawingId':_0x5c7880}),_0x5cddd2=_0x40ff07[_0xe52659(0x3c9)](_0x3fa39b);if(_0x5cddd2 instanceof _0x580d8a[_0xe52659(0x53a)]){let _0x1f5cfa=_0x5cddd2[_0xe52659(0x51f)];if(_0x1f5cfa)return{'prstGeom':_0x1f5cfa,'adjustValues':_0x5cddd2[_0xe52659(0x48b)]};}}[_0x2766d8(0x475)](_0x5b87a6=!0x1){const _0x56f6f1=_0x2766d8;if(!this[_0x56f6f1(0x370)]||!this[_0x56f6f1(0x3f6)]||!this['_activeImageId'])return;let _0x40ce03=this[_0x56f6f1(0x4bb)][_0x56f6f1(0x4ee)](this['_unitId']);if(!_0x40ce03||!_0x40ce03[_0x56f6f1(0x28f)](_0x590c15[_0x56f6f1(0x599)])[_0x56f6f1(0x328)]())return;let {scene:_0x2f3a10}=_0x40ce03,_0x512e53=this[_0x56f6f1(0x3c5)](this[_0x56f6f1(0x370)],this[_0x56f6f1(0x3f6)],this[_0x56f6f1(0x549)]);if(!_0x512e53)return;let {transform:_0xe2c3db}=_0x512e53;if(!_0xe2c3db)return;let {left:_0x1c2681,top:_0x588472,width:_0x2fb821,height:_0x15d885,flipX:_0x31579f,flipY:_0x485982,angle:_0x57f93e=0x0}=_0xe2c3db;if(_0x1c2681===void 0x0||_0x588472===void 0x0)return;let _0x594e6c=this[_0x56f6f1(0x484)](this[_0x56f6f1(0x370)],this['_subUnitId'],this[_0x56f6f1(0x549)]);if(!_0x594e6c)return;if(_0x5b87a6){let _0x20216a=this[_0x56f6f1(0x215)](_0x594e6c[_0x56f6f1(0x51f)],_0x2fb821||0x0,_0x15d885||0x0,_0x594e6c['adjustValues']);if(!_0x20216a)return;this[_0x56f6f1(0x369)]=_0x20216a[_0x56f6f1(0x34d)]();}let _0x42a788=this[_0x56f6f1(0x369)];if(_0x42a788&&_0x42a788[_0x56f6f1(0x2f1)]!==0x0)for(let _0x31132a=0x0;_0x31132a<_0x42a788[_0x56f6f1(0x2f1)];_0x31132a++){let _0x3936f2=_0x42a788[_0x31132a],_0x1bf40a=_0x3936f2['x'],_0x4cbaeb=_0x3936f2['y'];if(_0x31579f&&(_0x1bf40a=(_0x2fb821||0x0)-_0x1bf40a),_0x485982&&(_0x4cbaeb=(_0x15d885||0x0)-_0x4cbaeb),_0x57f93e!==0x0){let _0xe1bdf0=(_0x2fb821||0x0)/0x2,_0x161dc3=(_0x15d885||0x0)/0x2,_0x5bff0a=_0x57f93e*Math['PI']/0xb4,_0x39b598=Math[_0x56f6f1(0x448)](_0x5bff0a),_0x501ab7=Math[_0x56f6f1(0x570)](_0x5bff0a),_0x486484=_0x1bf40a-_0xe1bdf0,_0x2cba46=_0x4cbaeb-_0x161dc3;_0x1bf40a=_0xe1bdf0+(_0x486484*_0x39b598-_0x2cba46*_0x501ab7),_0x4cbaeb=_0x161dc3+(_0x486484*_0x501ab7+_0x2cba46*_0x39b598);}let _0x59a1b7={'x':_0x1bf40a,'y':_0x4cbaeb,'adjName':_0x3936f2['adjName']};this[_0x56f6f1(0x5da)](_0x2f3a10,_0x59a1b7,_0x59a1b7[_0x56f6f1(0x4b1)],_0x1c2681,_0x588472,this[_0x56f6f1(0x370)],this['_subUnitId']);}}[_0x2766d8(0x5da)](_0x5a6e60,_0x331b1c,_0x30f5fa,_0x4e09a9,_0x211f88,_0x34c98f,_0xffabf8){const _0xbd5e94=_0x2766d8;if(!this[_0xbd5e94(0x549)])return;let _0x11bf15=_0xbd5e94(0x460)+this[_0xbd5e94(0x549)]+'-'+_0x30f5fa,_0x5a8915=_0x5a6e60['getObjectIncludeInGroup'](_0x11bf15);if(_0x5a8915){_0x5a8915[_0xbd5e94(0x3c4)]({'left':_0x331b1c['x']+_0x4e09a9-_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)],'top':_0x331b1c['y']+_0x211f88-_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)]});return;}let _0x34786a=new _0x56f3e0(_0x11bf15,{'left':_0x331b1c['x']+_0x4e09a9-_0x1f2a15[_0xbd5e94(0x540)][_0xbd5e94(0x259)],'top':_0x331b1c['y']+_0x211f88-_0x1f2a15[_0xbd5e94(0x540)]['adjHandleSize'],'adjName':_0x30f5fa,'shapeId':this[_0xbd5e94(0x549)],'unitId':_0x34c98f,'subUnitId':_0xffabf8,'width':_0x1f2a15[_0xbd5e94(0x540)][_0xbd5e94(0x259)]+0x8,'height':_0x1f2a15['ShapeDefaultConfig'][_0xbd5e94(0x259)]+0x8,'zIndex':_0x580d8a[_0xbd5e94(0x424)]+0x1,'evented':!0x0});this['_shapes'][_0xbd5e94(0x373)](_0x34786a),this[_0xbd5e94(0x4ac)](_0x34786a,_0x5a6e60,_0x30f5fa),_0x5a6e60[_0xbd5e94(0x476)](_0x34786a,_0x580d8a[_0xbd5e94(0x424)]+0x1);}['_clearControls'](){const _0x24697f=_0x2766d8;this[_0x24697f(0x298)][_0x24697f(0x2f1)]!==0x0&&(this['_shapes'][_0x24697f(0x528)](_0x2058fe=>_0x2058fe[_0x24697f(0x2a4)]()),this[_0x24697f(0x298)]=[]);}['_getScrollInfo'](_0x530d21,_0x59f899){const _0x6290dd=_0x2766d8;var _0x441265;let _0x466e8c={'x':0x0,'y':0x0},_0x47dabe=this[_0x6290dd(0x4bb)][_0x6290dd(0x4ee)](_0x530d21);if(!_0x47dabe||!_0x47dabe['with'](_0x590c15['SheetSkeletonManagerService'])[_0x6290dd(0x4d9)](_0x59f899))return _0x466e8c;let _0x4bbd4e=_0x47dabe[_0x6290dd(0x28f)](_0x590c15[_0x6290dd(0x258)]),_0x1f0e55=_0x4bbd4e==null?void 0x0:_0x4bbd4e[_0x6290dd(0x492)]();if(!_0x1f0e55)return _0x466e8c;let _0x11454f=(_0x441265=this[_0x6290dd(0x251)]['getUnit'](_0x530d21))==null?void 0x0:_0x441265[_0x6290dd(0x456)](_0x59f899);if(!_0x11454f)return _0x466e8c;let _0x231bef=(0x0,_0x590c15[_0x6290dd(0x2a6)])(_0x1f0e55[_0x6290dd(0x474)],_0x1f0e55['sheetViewStartColumn'],_0x47dabe[_0x6290dd(0x394)],_0x11454f);return _0x231bef?{'x':_0x231bef['viewportScrollX'],'y':_0x231bef[_0x6290dd(0x2e4)]}:_0x466e8c;}[_0x2766d8(0x4fe)](_0xc76d34,_0xb769c6){const _0x12175b=_0x2766d8;var _0x1a4a51;let _0xece0d3=(_0x1a4a51=this['_univerInstanceService']['getUnit'](_0xc76d34))==null?void 0x0:_0x1a4a51[_0x12175b(0x456)](_0xb769c6);return(_0xece0d3==null?void 0x0:_0xece0d3[_0x12175b(0x4f1)]())??0x1;}[_0x2766d8(0x4ac)](_0x40e4c6,_0x39e3da,_0x40174a){const _0x3690d2=_0x2766d8;this['disposeWithMe']((0x0,_0x35d996[_0x3690d2(0x306)])(_0x40e4c6[_0x3690d2(0x46c)][_0x3690d2(0x1dd)]((_0x9008be,_0x204ff0)=>{const _0x26a7b2=_0x3690d2;var _0x27aee5,_0xa6ee67,_0x50a3ca;let {unitId:_0x2e6fa6,subUnitId:_0x4033ec,drawingId:_0x19f9d0}=_0x40e4c6[_0x26a7b2(0x4ce)](),_0x295f71=this[_0x26a7b2(0x3c5)](_0x2e6fa6,_0x4033ec,_0x19f9d0);if(!(_0x295f71!=null&&_0x295f71[_0x26a7b2(0x339)]))return;let {left:_0x183ba1,top:_0x151696,width:_0x84da20,height:_0x59ff9d}=_0x295f71[_0x26a7b2(0x339)];this[_0x26a7b2(0x3ff)]=_0x183ba1||0x0,this['_baseTop']=_0x151696||0x0,this['_baseWidth']=_0x84da20||0x0,this[_0x26a7b2(0x357)]=_0x59ff9d||0x0;let _0x16fa88=!!((_0x27aee5=_0x295f71[_0x26a7b2(0x339)])!=null&&_0x27aee5[_0x26a7b2(0x4f7)]),_0xd5bffe=!!((_0xa6ee67=_0x295f71['transform'])!=null&&_0xa6ee67[_0x26a7b2(0x21d)]),_0x3d9755=((_0x50a3ca=_0x295f71['transform'])==null?void 0x0:_0x50a3ca[_0x26a7b2(0x55b)])||0x0,_0x46ffa3=this['_getImagePrstGeom'](_0x2e6fa6,_0x4033ec,_0x19f9d0);if(!_0x46ffa3)return;let _0x2d22d5=this[_0x26a7b2(0x215)](_0x46ffa3[_0x26a7b2(0x51f)],this['_baseWidth'],this[_0x26a7b2(0x357)],_0x46ffa3[_0x26a7b2(0x5d5)]);if(!_0x2d22d5||(this[_0x26a7b2(0x5a7)]=_0x2d22d5,this['_activeAdjustInfo']=_0x2d22d5[_0x26a7b2(0x5a4)](_0x40174a),!this[_0x26a7b2(0x261)]))return;this[_0x26a7b2(0x52c)]=!0x0,_0x39e3da[_0x26a7b2(0x4fa)]();let _0x203a15=_0x46ffa3[_0x26a7b2(0x51f)];this[_0x26a7b2(0x22c)]=_0x39e3da[_0x26a7b2(0x5dc)][_0x26a7b2(0x1dd)]((_0x3b43a9,_0x322bf3)=>{const _0x27cc6e=_0x26a7b2;if(!this[_0x27cc6e(0x52c)])return;let {offsetX:_0x1aa4cd,offsetY:_0x3a9113}=_0x3b43a9,_0x237b69=this[_0x27cc6e(0x261)];if(!this['_activeShapeModel']||!_0x237b69)return;_0x39e3da['disableObjectsEvent'](),_0x39e3da['setCursor'](_0x580d8a[_0x27cc6e(0x5ac)][_0x27cc6e(0x1ea)]);let _0x51ce56={'left':0x0,'top':0x0,'width':this[_0x27cc6e(0x3a1)],'height':this[_0x27cc6e(0x357)]},_0x48ec70=this[_0x27cc6e(0x3fe)](_0x2e6fa6,_0x4033ec),_0x13b7ed=this[_0x27cc6e(0x4fe)](_0x2e6fa6,_0x4033ec),_0x391cf5=_0x1aa4cd/_0x13b7ed+_0x48ec70['x']-this['_baseLeft'],_0x11d18d=_0x3a9113/_0x13b7ed+_0x48ec70['y']-this[_0x27cc6e(0x4cc)];if(_0x3d9755!==0x0){let _0x3b7edf=this[_0x27cc6e(0x3a1)]/0x2,_0x3db0ba=this[_0x27cc6e(0x357)]/0x2,_0x25e697=_0x3d9755*Math['PI']/0xb4,_0x526d5b=Math['cos'](_0x25e697),_0x1878f8=Math['sin'](_0x25e697),_0x4b2893=_0x391cf5-_0x3b7edf,_0x1cc17b=_0x11d18d-_0x3db0ba;_0x391cf5=_0x3b7edf+(_0x4b2893*_0x526d5b+_0x1cc17b*_0x1878f8),_0x11d18d=_0x3db0ba+(-_0x4b2893*_0x1878f8+_0x1cc17b*_0x526d5b);}_0x16fa88&&(_0x391cf5=this[_0x27cc6e(0x3a1)]-_0x391cf5),_0xd5bffe&&(_0x11d18d=this[_0x27cc6e(0x357)]-_0x11d18d);let _0x599d9b=this[_0x27cc6e(0x5a7)]['calcAdjValues'](_0x51ce56,{'x':_0x391cf5,'y':_0x11d18d},_0x237b69,_0x16fa88,_0xd5bffe);if(Object['keys'](_0x599d9b)[_0x27cc6e(0x2f1)]!==0x0){for(let [_0x1bb3c6,_0x545862]of Object[_0x27cc6e(0x23f)](_0x599d9b))this['_activeShapeModel'][_0x27cc6e(0x3ae)](_0x1bb3c6,_0x545862);this[_0x27cc6e(0x5a7)][_0x27cc6e(0x240)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this[_0x27cc6e(0x257)](_0x2e6fa6,_0x4033ec,_0x19f9d0,_0x599d9b),this[_0x27cc6e(0x369)]=this[_0x27cc6e(0x5a7)]['getDrawingPoints'](),this['_createControls'](),_0x322bf3[_0x27cc6e(0x5c7)]();}}),this[_0x26a7b2(0x376)]=_0x39e3da['onPointerUp$']['subscribeEvent']((_0x13d4e1,_0x38a881)=>{const _0x4a7866=_0x26a7b2;if(this['_adjHandlerPointerMove'][_0x4a7866(0x2c9)](),this[_0x4a7866(0x376)]['unsubscribe'](),_0x39e3da[_0x4a7866(0x4af)](),this[_0x4a7866(0x5a7)]){let _0x59b341=this[_0x4a7866(0x5a7)][_0x4a7866(0x30f)](),_0x5f39fd={};for(let _0x1b534a of _0x59b341){let _0x4c9a5d=this[_0x4a7866(0x5a7)]['getAdjustValueByName'](_0x1b534a);_0x4c9a5d!==void 0x0&&(_0x5f39fd[_0x1b534a]=_0x4c9a5d);}this['_imageShapeClipController'][_0x4a7866(0x246)](_0x2e6fa6,_0x4033ec,_0x19f9d0,_0x203a15,_0x5f39fd);}this[_0x4a7866(0x261)]=void 0x0,this[_0x4a7866(0x5a7)]=void 0x0,this[_0x4a7866(0x52c)]=!0x1,_0x38a881[_0x4a7866(0x5c7)](),_0x39e3da[_0x4a7866(0x3eb)]();}),_0x204ff0[_0x26a7b2(0x5c7)]();})));}[_0x2766d8(0x257)](_0x4ebdb1,_0x219755,_0x111f54,_0xa04dcb){const _0x3f29b2=_0x2766d8;let _0x541432=this[_0x3f29b2(0x4bb)][_0x3f29b2(0x4ee)](_0x4ebdb1);if(!_0x541432)return;let {scene:_0x5e10e2}=_0x541432,_0x492a69=(0x0,_0x2ed59f[_0x3f29b2(0x2f2)])({'unitId':_0x4ebdb1,'subUnitId':_0x219755,'drawingId':_0x111f54}),_0x3cb8d7=_0x5e10e2[_0x3f29b2(0x3c9)](_0x492a69);if(_0x3cb8d7 instanceof _0x580d8a[_0x3f29b2(0x53a)]){let _0x4b93cb=_0x3cb8d7[_0x3f29b2(0x48b)]??{};_0x3cb8d7['setPrstGeomAdjValues']({..._0x4b93cb,..._0xa04dcb}),_0x3cb8d7[_0x3f29b2(0x3b2)](!0x0);}}[_0x2766d8(0x288)](){const _0x4c9f21=_0x2766d8;let _0x46b04b=this[_0x4c9f21(0x251)]['getCurrentTypeOfUnit$'](_0x35d996[_0x4c9f21(0x31d)][_0x4c9f21(0x3de)]);this[_0x4c9f21(0x271)](_0x46b04b[_0x4c9f21(0x21c)]((0x0,_0x4737d9[_0x4c9f21(0x3cb)])(_0x2b054b=>_0x2b054b?_0x2b054b['activeSheet$'][_0x4c9f21(0x21c)]((0x0,_0x4737d9[_0x4c9f21(0x3cb)])(_0x4d3809=>{const _0x26bf16=_0x4c9f21;if(!_0x4d3809)return _0x4737d9[_0x26bf16(0x486)];let _0x1074e3=_0x2b054b[_0x26bf16(0x331)](),_0x531cda=this['_renderManagerService'][_0x26bf16(0x4ee)](_0x1074e3),_0x56665c=_0x531cda==null?void 0x0:_0x531cda[_0x26bf16(0x394)];return _0x56665c?(0x0,_0x4737d9['of'])(_0x56665c):_0x4737d9[_0x26bf16(0x486)];})):_0x4737d9['EMPTY']))[_0x4c9f21(0x56a)](_0x29899c=>{const _0x588321=_0x4c9f21;let _0x104fe1=_0x29899c[_0x588321(0x40c)]();this[_0x588321(0x271)](_0x29899c[_0x588321(0x5dc)]['subscribeEvent'](()=>{const _0x56398c=_0x588321;this[_0x56398c(0x2b1)]&&this[_0x56398c(0x5ae)]();})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x330)][_0x588321(0x56a)](_0x2a6b25=>{const _0x1a7c36=_0x588321;let {objects:_0x24c57c}=_0x2a6b25;if(this['_createControls'](),_0x24c57c!==null&&_0x24c57c[_0x1a7c36(0x22b)]===0x1){let _0xd5d885=_0x24c57c[_0x1a7c36(0x3bf)]()[_0x1a7c36(0x439)]()[_0x1a7c36(0x58f)];_0xd5d885 instanceof _0x580d8a[_0x1a7c36(0x53a)]&&_0xd5d885[_0x1a7c36(0x51f)]&&(this[_0x1a7c36(0x2b1)]=!0x0);}})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x5b0)][_0x588321(0x56a)](()=>{const _0x259605=_0x588321;this[_0x259605(0x2b1)]&&this['_clearControls']();})),this[_0x588321(0x271)](_0x29899c[_0x588321(0x542)]['subscribeEvent'](()=>{const _0x189881=_0x588321;this[_0x189881(0x2b1)]&&(this[_0x189881(0x2b1)]=!0x1,this[_0x189881(0x475)]());})),this[_0x588321(0x271)](_0x104fe1[_0x588321(0x34e)]['subscribe'](()=>{const _0xede1a3=_0x588321;if(this[_0xede1a3(0x370)]&&this['_subUnitId']&&this[_0xede1a3(0x549)]){let _0x2f8541=this[_0xede1a3(0x484)](this[_0xede1a3(0x370)],this[_0xede1a3(0x3f6)],this[_0xede1a3(0x549)]);if(_0x2f8541){var _0x39b695,_0x5dd82a;let _0x4a71db=this['_getImageDrawingInfo'](this[_0xede1a3(0x370)],this[_0xede1a3(0x3f6)],this['_activeImageId']),_0x340aca=(_0x4a71db==null||(_0x39b695=_0x4a71db[_0xede1a3(0x339)])==null?void 0x0:_0x39b695['width'])||0x0,_0x3157d9=(_0x4a71db==null||(_0x5dd82a=_0x4a71db[_0xede1a3(0x339)])==null?void 0x0:_0x5dd82a['height'])||0x0,_0x2b55d4=this['_getOrCreateShapeModel'](_0x2f8541['prstGeom'],_0x340aca,_0x3157d9,_0x2f8541[_0xede1a3(0x5d5)]);_0x2b55d4&&(this[_0xede1a3(0x369)]=_0x2b55d4[_0xede1a3(0x34d)](),this['_clearControls'](),this[_0xede1a3(0x475)](!0x0));}}}));}));}['_registerFocusChangeHandler'](){const _0x5014fc=_0x2766d8;this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x2a3)][_0x5014fc(0x56a)](_0x509903=>{const _0x16b64e=_0x5014fc;if(_0x509903[_0x16b64e(0x2f1)]===0x1){let _0x2461d9=_0x509903[0x0];if(_0x2461d9[_0x16b64e(0x313)]===_0x35d996[_0x16b64e(0x44f)]['DRAWING_IMAGE']){let {unitId:_0x54d8a0,subUnitId:_0x384cb0,drawingId:_0x199b4d}=_0x2461d9,_0x557eab=this[_0x16b64e(0x484)](_0x54d8a0,_0x384cb0,_0x199b4d);if(_0x557eab){var _0x84088,_0x11d619;this[_0x16b64e(0x549)]=_0x199b4d,this[_0x16b64e(0x370)]=_0x54d8a0,this[_0x16b64e(0x3f6)]=_0x384cb0;let _0x2caaed=this[_0x16b64e(0x3c5)](_0x54d8a0,_0x384cb0,_0x199b4d),_0x517141=(_0x2caaed==null||(_0x84088=_0x2caaed['transform'])==null?void 0x0:_0x84088['width'])||0x0,_0x1d4160=(_0x2caaed==null||(_0x11d619=_0x2caaed[_0x16b64e(0x339)])==null?void 0x0:_0x11d619[_0x16b64e(0x3f8)])||0x0,_0x131096=this[_0x16b64e(0x215)](_0x557eab[_0x16b64e(0x51f)],_0x517141,_0x1d4160,_0x557eab[_0x16b64e(0x5d5)]);_0x131096&&(this[_0x16b64e(0x369)]=_0x131096[_0x16b64e(0x34d)]()),this[_0x16b64e(0x5ae)](),this[_0x16b64e(0x475)](!0x0);}else this[_0x16b64e(0x3ed)]();}else this[_0x16b64e(0x3ed)]();}else this[_0x16b64e(0x3ed)]();})),this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x59c)][_0x5014fc(0x56a)](_0x5197b4=>{const _0x58c589=_0x5014fc;if(_0x5197b4[_0x58c589(0x2f1)]===0x1){let _0x4a7d97=_0x5197b4[0x0],_0x52700a=this[_0x58c589(0x482)]['getDrawingByParam'](_0x4a7d97);(_0x52700a==null?void 0x0:_0x52700a[_0x58c589(0x313)])===_0x35d996['DrawingTypeEnum'][_0x58c589(0x2ed)]&&this['_activeImageId']===_0x4a7d97['drawingId']&&(this[_0x58c589(0x5ae)](),this[_0x58c589(0x475)](!0x0));}})),this[_0x5014fc(0x271)](this[_0x5014fc(0x482)][_0x5014fc(0x210)][_0x5014fc(0x56a)](_0x5c0216=>{const _0x4059b5=_0x5014fc;for(let _0x529d6d of _0x5c0216)this[_0x4059b5(0x549)]===_0x529d6d[_0x4059b5(0x314)]&&this[_0x4059b5(0x3ed)]();}));}['_resetState'](){const _0x51946f=_0x2766d8;this[_0x51946f(0x549)]=null,this[_0x51946f(0x370)]=null,this[_0x51946f(0x3f6)]=null,this[_0x51946f(0x369)]=void 0x0,this[_0x51946f(0x5ae)]();}};_0x22d196=_0x39c461([_0x400e7c(0x1,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a[_0x2766d8(0x266)])),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x538cf9))],_0x22d196);function _0x4ddfda({ref:_0x214c6f,..._0x1cfa29}){const _0x4d5bb7=_0x2766d8;let {preserveStrokeWidth:_0x2d38f3,icon:_0x3380d1,id:_0x756afe,className:_0x159610,extend:_0x3a2bbe,..._0x3ed056}=_0x1cfa29,_0x21f15c=('univerjs-icon\x20univerjs-icon-'+_0x756afe+'\x20'+(_0x159610||''))['trim'](),_0x1fc094='_'+(0x0,_0x3d354c[_0x4d5bb7(0x471)])(),_0x10c931=(0x0,_0x3d354c[_0x4d5bb7(0x43c)])(null);return(0x0,_0x3d354c['useImperativeHandle'])(_0x214c6f,()=>_0x10c931[_0x4d5bb7(0x534)]),(0x0,_0x3d354c[_0x4d5bb7(0x5b3)])(()=>{const _0x5792e8=_0x4d5bb7;if(_0x2d38f3&&_0x10c931['current']&&_0x10c931['current'][_0x5792e8(0x53c)]===_0x3380d1[_0x5792e8(0x564)])return _0x49a49e(_0x10c931[_0x5792e8(0x534)]);},[_0x2d38f3,_0x3380d1]),_0x9ef6a2(_0x3380d1,''+_0x756afe,{'defIds':_0x3380d1[_0x4d5bb7(0x2d7)],'idSuffix':_0x1fc094},{'ref':_0x10c931,'className':_0x21f15c,..._0x3ed056},_0x3a2bbe);}function _0x9ef6a2(_0x275633,_0x422fd8,_0x31f369,_0x330dd2,_0x3b89c5){const _0x5c7990=_0x2766d8;return(0x0,_0x3d354c['createElement'])(_0x275633['tag'],{'key':_0x422fd8,..._0x286517(_0x275633,_0x31f369,_0x3b89c5),..._0x330dd2},(_0xe34254(_0x275633,_0x31f369)[_0x5c7990(0x507)]||[])[_0x5c7990(0x4d8)]((_0x4421fc,_0x345377)=>_0x9ef6a2(_0x4421fc,_0x422fd8+'-'+_0x275633[_0x5c7990(0x564)]+'-'+_0x345377,_0x31f369,void 0x0,_0x3b89c5)));}function _0x286517(_0x41e899,_0x1a4e74,_0x29e2e0){const _0x557484=_0x2766d8;let _0x49f6e6={..._0x41e899[_0x557484(0x4e7)]};_0x29e2e0!=null&&_0x29e2e0[_0x557484(0x3bc)]&&_0x49f6e6['fill']===_0x557484(0x3bc)&&(_0x49f6e6['fill']=_0x29e2e0['colorChannel1']),_0x29e2e0!=null&&_0x29e2e0[_0x557484(0x3bc)]&&_0x49f6e6[_0x557484(0x3b4)]==='colorChannel1'&&(_0x49f6e6[_0x557484(0x3b4)]=_0x29e2e0[_0x557484(0x3bc)]),_0x41e899[_0x557484(0x564)]==='mask'&&_0x49f6e6['id']&&(_0x49f6e6['id']+=_0x1a4e74[_0x557484(0x49a)]),Object[_0x557484(0x23f)](_0x49f6e6)['forEach'](([_0x2797b2,_0xd40204])=>{const _0x4a57aa=_0x557484;_0x2797b2===_0x4a57aa(0x586)&&typeof _0xd40204=='string'&&(_0x49f6e6[_0x2797b2]=_0xd40204[_0x4a57aa(0x38b)](/url\(#(.*)\)/,'url(#$1'+_0x1a4e74[_0x4a57aa(0x49a)]+')'));});let {defIds:_0x478f85}=_0x1a4e74;return!_0x478f85||_0x478f85['length']===0x0||(_0x41e899[_0x557484(0x564)]==='use'&&_0x49f6e6['xlink:href']&&(_0x49f6e6[_0x557484(0x27a)]+=_0x1a4e74['idSuffix']),Object['entries'](_0x49f6e6)['forEach'](([_0x334007,_0x3ab968])=>{const _0x344d6c=_0x557484;typeof _0x3ab968==_0x344d6c(0x212)&&(_0x49f6e6[_0x334007]=_0x3ab968[_0x344d6c(0x38b)](/url\(#(.*)\)/,_0x344d6c(0x510)+_0x1a4e74[_0x344d6c(0x49a)]+')'));})),_0x49f6e6;}function _0xe34254(_0x2053a0,_0x3f0059){const _0x31525e=_0x2766d8;var _0x18f543;let {defIds:_0x3ac818}=_0x3f0059;return!_0x3ac818||_0x3ac818[_0x31525e(0x2f1)]===0x0?_0x2053a0:_0x2053a0[_0x31525e(0x564)]===_0x31525e(0x2a2)&&(_0x18f543=_0x2053a0['children'])!=null&&_0x18f543[_0x31525e(0x2f1)]?{..._0x2053a0,'children':_0x2053a0['children']['map'](_0x1427f1=>typeof _0x1427f1[_0x31525e(0x4e7)]['id']==_0x31525e(0x212)&&_0x3ac818&&_0x3ac818['includes'](_0x1427f1[_0x31525e(0x4e7)]['id'])?{..._0x1427f1,'attrs':{..._0x1427f1['attrs'],'id':_0x1427f1[_0x31525e(0x4e7)]['id']+_0x3f0059['idSuffix']}}:_0x1427f1)}:_0x2053a0;}function _0x49a49e(_0x167fa5){const _0x295fc5=_0x2766d8;let _0x4b8d4b=_0x167fa5[_0x295fc5(0x386)]['baseVal'],_0x47dd0c=Math['max'](_0x4b8d4b[_0x295fc5(0x49e)],_0x4b8d4b['height']);if(!Number['isFinite'](_0x47dd0c)||_0x47dd0c<=0x0||_0x4b8d4b[_0x295fc5(0x49e)]<=0x0||_0x4b8d4b['height']<=0x0)return()=>void 0x0;let _0x4932c8=0x10/_0x47dd0c,_0x4b6711=Array[_0x295fc5(0x5d4)](_0x167fa5[_0x295fc5(0x26e)](_0x295fc5(0x1fa)))[_0x295fc5(0x29e)](_0xea3263=>{const _0x2d1196=_0x295fc5;let _0x594cf1=getComputedStyle(_0xea3263),_0x81d52a=Number[_0x2d1196(0x3ba)](_0x594cf1[_0x2d1196(0x46f)]);return _0x594cf1[_0x2d1196(0x3b4)]===_0x2d1196(0x508)||Number[_0x2d1196(0x3ba)](_0x594cf1['strokeOpacity'])===0x0||_0x594cf1[_0x2d1196(0x57d)]===_0x2d1196(0x25e)||!Number[_0x2d1196(0x205)](_0x81d52a)||_0x81d52a<=0x0?[]:[{'element':_0xea3263,'hadStyleAttribute':_0xea3263[_0x2d1196(0x391)](_0x2d1196(0x3b0)),'originalStrokeWidth':_0x81d52a,'strokeWidth':_0x2aef41(_0xea3263[_0x2d1196(0x3b0)],'stroke-width')}];})[_0x295fc5(0x4d8)](_0x9c4de0=>({'appliedStrokeWidth':null,'element':_0x9c4de0[_0x295fc5(0x4a6)],'hadStyleAttribute':_0x9c4de0[_0x295fc5(0x2fb)],'isReleased':!0x1,'originalStrokeWidth':_0x9c4de0[_0x295fc5(0x345)],'strokeWidth':_0x9c4de0[_0x295fc5(0x46f)]}));if(_0x4b6711[_0x295fc5(0x2f1)]===0x0)return()=>void 0x0;let _0x1d35f1=(_0x391125,_0x2d933f)=>{const _0x9c3e24=_0x295fc5;if(_0x4b8d4b[_0x9c3e24(0x49e)]<=0x0||_0x4b8d4b[_0x9c3e24(0x3f8)]<=0x0||_0x391125<=0x0||_0x2d933f<=0x0)return;let _0x4a031c=Math[_0x9c3e24(0x295)](_0x391125/_0x4b8d4b[_0x9c3e24(0x49e)],_0x2d933f/_0x4b8d4b[_0x9c3e24(0x3f8)]);!Number['isFinite'](_0x4a031c)||_0x4a031c<=0x0||_0x4b6711['forEach'](_0x509b80=>{const _0x171291=_0x9c3e24;if(_0x509b80['isReleased'])return;if(_0x509b80[_0x171291(0x533)]!==null&&(_0x509b80['element'][_0x171291(0x3b0)]['getPropertyValue'](_0x171291(0x1e3))!==_0x509b80[_0x171291(0x533)]||_0x509b80[_0x171291(0x4a6)][_0x171291(0x3b0)][_0x171291(0x3ca)]('stroke-width')!==_0x509b80[_0x171291(0x46f)][_0x171291(0x4b6)])){_0x509b80[_0x171291(0x533)]=null,_0x509b80[_0x171291(0x431)]=!0x0;return;}let _0x349263=_0x509b80[_0x171291(0x345)]*_0x4932c8/_0x4a031c,_0x54408d=Number(_0x349263[_0x171291(0x56e)](0xc))+'px';_0x509b80[_0x171291(0x4a6)][_0x171291(0x3b0)][_0x171291(0x5c6)](_0x171291(0x1e3),_0x54408d,_0x509b80[_0x171291(0x46f)]['priority']),_0x509b80[_0x171291(0x533)]=_0x54408d;});},_0x3c3dd7=_0x167fa5[_0x295fc5(0x3db)]();_0x1d35f1(_0x3c3dd7[_0x295fc5(0x49e)],_0x3c3dd7[_0x295fc5(0x3f8)]);let _0xc42ccf=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25acd3=>{const _0x277938=_0x295fc5;if(_0x25acd3['some'](_0x2a5e24=>_0x2a5e24['target']===_0x167fa5)){let _0x54c39b=_0x167fa5[_0x277938(0x3db)]();_0x1d35f1(_0x54c39b[_0x277938(0x49e)],_0x54c39b['height']);}});return _0xc42ccf==null||_0xc42ccf[_0x295fc5(0x529)](_0x167fa5),()=>{const _0x3b2c67=_0x295fc5;_0xc42ccf==null||_0xc42ccf[_0x3b2c67(0x4e3)](),_0x4b6711['forEach'](_0x325b62=>{const _0x11d7a3=_0x3b2c67;_0x325b62[_0x11d7a3(0x533)]!==null&&(_0xcc8f15(_0x325b62['element'][_0x11d7a3(0x3b0)],_0x11d7a3(0x1e3),_0x325b62[_0x11d7a3(0x533)],_0x325b62[_0x11d7a3(0x46f)][_0x11d7a3(0x4b6)],_0x325b62[_0x11d7a3(0x46f)]),!_0x325b62[_0x11d7a3(0x2fb)]&&_0x325b62['element'][_0x11d7a3(0x3b0)][_0x11d7a3(0x2f1)]===0x0&&_0x325b62[_0x11d7a3(0x4a6)][_0x11d7a3(0x3cd)]('style'));});};}function _0x2aef41(_0x567d71,_0xfb06c0){const _0x2fc00f=_0x2766d8;return{'priority':_0x567d71['getPropertyPriority'](_0xfb06c0),'value':_0x567d71[_0x2fc00f(0x51c)](_0xfb06c0)};}function _0xcc8f15(_0x53ea1e,_0x2b90d6,_0x1d25b4,_0x25a848,_0x5187b1){const _0xafde96=_0x2766d8;_0x53ea1e[_0xafde96(0x51c)](_0x2b90d6)===_0x1d25b4&&_0x53ea1e[_0xafde96(0x3ca)](_0x2b90d6)===_0x25a848&&(_0x5187b1[_0xafde96(0x58f)]?_0x53ea1e[_0xafde96(0x5c6)](_0x2b90d6,_0x5187b1[_0xafde96(0x58f)],_0x5187b1[_0xafde96(0x4b6)]):_0x53ea1e[_0xafde96(0x461)](_0x2b90d6));}_0x4ddfda[_0x2766d8(0x573)]=_0x2766d8(0x3dd);let _0x5495d3={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x5a9),'width':'1em','height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x41e),'fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x296)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x460267=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x4a9288,_0x1ee68b){const _0xe4173e=_0x2766d8;return(0x0,_0x3d354c[_0xe4173e(0x58b)])(_0x4ddfda,Object[_0xe4173e(0x380)]({},_0x4a9288,{'id':_0xe4173e(0x2a7),'ref':_0x1ee68b,'icon':_0x5495d3}));});_0x460267[_0x2766d8(0x573)]='BottomIcon';let _0x45b220={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x3a3),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x454),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x3be),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':'M8\x2014V14.2','strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}}]},_0x3e9cd9=(0x0,_0x3d354c['forwardRef'])(function(_0x34130f,_0x483df4){const _0x16691a=_0x2766d8;return(0x0,_0x3d354c[_0x16691a(0x58b)])(_0x4ddfda,Object['assign']({},_0x34130f,{'id':'flip-horizontal-icon','ref':_0x483df4,'icon':_0x45b220}));});_0x3e9cd9[_0x2766d8(0x573)]=_0x2766d8(0x2cb);let _0x381488={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':'1em'},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':'currentColor','d':_0x2766d8(0x364),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x4b9),'strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x25a),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x2ff),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x530),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x489),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x4ae031=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x5b858e,_0xbe5712){const _0x4e9a40=_0x2766d8;return(0x0,_0x3d354c[_0x4e9a40(0x58b)])(_0x4ddfda,Object[_0x4e9a40(0x380)]({},_0x5b858e,{'id':'flip-vertical-icon','ref':_0xbe5712,'icon':_0x381488}));});_0x4ae031[_0x2766d8(0x573)]=_0x2766d8(0x1d5);let _0x54216e={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x563),'fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z'}}]},_0x5e159d=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x1eff72,_0x5a07f6){const _0x217df4=_0x2766d8;return(0x0,_0x3d354c[_0x217df4(0x58b)])(_0x4ddfda,Object[_0x217df4(0x380)]({},_0x1eff72,{'id':'move-down-icon','ref':_0x5a07f6,'icon':_0x54216e}));});_0x5e159d[_0x2766d8(0x573)]='MoveDownIcon';let _0x2fa6b1={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':'none','viewBox':_0x2766d8(0x1f5),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x2d2),'fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':_0x2766d8(0x245)}}]},_0xf77df5=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x2a3dd0,_0x46ce25){const _0x3c34be=_0x2766d8;return(0x0,_0x3d354c['createElement'])(_0x4ddfda,Object[_0x3c34be(0x380)]({},_0x2a3dd0,{'id':'move-up-icon','ref':_0x46ce25,'icon':_0x2fa6b1}));});_0xf77df5[_0x2766d8(0x573)]=_0x2766d8(0x4a5);let _0x28ae3c={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x268),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x2e9),'strokeLinecap':_0x2766d8(0x2fd),'strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.3}}]},_0x5f2102=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x5cb0ae,_0x50d216){const _0x3f52f4=_0x2766d8;return(0x0,_0x3d354c[_0x3f52f4(0x58b)])(_0x4ddfda,Object['assign']({},_0x5cb0ae,{'id':_0x3f52f4(0x52b),'ref':_0x50d216,'icon':_0x28ae3c}));});_0x5f2102[_0x2766d8(0x573)]=_0x2766d8(0x3a5);let _0x483a2c={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':'0\x200\x2016\x2016','width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x4b5),'strokeLinecap':'round','strokeLinejoin':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M4.2\x205.5H10.5','strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':_0x2766d8(0x267),'strokeLinecap':_0x2766d8(0x2fd),'strokeWidth':1.2}},{'tag':_0x2766d8(0x56d),'attrs':{'stroke':_0x2766d8(0x50f),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x2766d8(0x2fd)}},{'tag':'path','attrs':{'stroke':_0x2766d8(0x50f),'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'}}]},_0x26b4c5=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x30c09e,_0x438469){const _0x37debb=_0x2766d8;return(0x0,_0x3d354c[_0x37debb(0x58b)])(_0x4ddfda,Object[_0x37debb(0x380)]({},_0x30c09e,{'id':_0x37debb(0x206),'ref':_0x438469,'icon':_0x483a2c}));});_0x26b4c5[_0x2766d8(0x573)]=_0x2766d8(0x3c2);let _0x4a20f3={'tag':_0x2766d8(0x3e7),'attrs':{'xmlns':_0x2766d8(0x4a3),'fill':_0x2766d8(0x508),'viewBox':_0x2766d8(0x5a9),'width':_0x2766d8(0x4a0),'height':_0x2766d8(0x4a0)},'children':[{'tag':_0x2766d8(0x56d),'attrs':{'fill':'currentColor','d':_0x2766d8(0x557)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x2766d8(0x39a),'fillRule':_0x2766d8(0x2c0),'clipRule':_0x2766d8(0x2c0)}},{'tag':_0x2766d8(0x56d),'attrs':{'fill':_0x2766d8(0x50f),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':_0x2766d8(0x2c0)}}]},_0x222f4e=(0x0,_0x3d354c[_0x2766d8(0x3fd)])(function(_0x584794,_0x28642f){const _0xa2cff9=_0x2766d8;return(0x0,_0x3d354c[_0xa2cff9(0x58b)])(_0x4ddfda,Object[_0xa2cff9(0x380)]({},_0x584794,{'id':'topmost-icon','ref':_0x28642f,'icon':_0x4a20f3}));});_0x222f4e[_0x2766d8(0x573)]=_0x2766d8(0x2ad);function _0x1ba86f({PanelComponent:_0x158c5a=_0x2c4f7e[_0x2766d8(0x4ff)]}){const _0x5dd2b0=_0x2766d8;var _0xb1fd4b;function _0x4a79f6(_0x175778){const _0xe0f60c=_0x231f;return _0x175778[_0xe0f60c(0x290)]()||void 0x0;}function _0x18d641(_0x94fd6d,_0x5b17cc,_0x3f2023){const _0x2a9495=_0x231f;var _0x1d294e;return((_0x1d294e=_0x94fd6d[_0x2a9495(0x24b)])==null?void 0x0:_0x1d294e[_0x2a9495(0x290)]())||_0x3f2023['t'](_0x2a9495(0x350)+(0x0,_0x197fcc['getDrawingTypeNameKey'])(_0x94fd6d[_0x2a9495(0x313)]))+'\x20'+(_0x5b17cc+0x1);}let _0x3acd58=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996[_0x5dd2b0(0x5d0)]),_0x36605d={'title':_0x3acd58['t'](_0x5dd2b0(0x35f)),'empty':_0x3acd58['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x3acd58['t'](_0x5dd2b0(0x35a)),'hideAll':_0x3acd58['t'](_0x5dd2b0(0x2d9)),'lockAll':_0x3acd58['t'](_0x5dd2b0(0x279)),'unlockAll':_0x3acd58['t'](_0x5dd2b0(0x2c8)),'moveForward':_0x3acd58['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x3acd58['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x3acd58['t'](_0x5dd2b0(0x5ab)),'show':_0x3acd58['t']('drawing-ui.objectListPanel.show'),'hide':_0x3acd58['t']('drawing-ui.objectListPanel.hide'),'lock':_0x3acd58['t'](_0x5dd2b0(0x57a)),'unlock':_0x3acd58['t'](_0x5dd2b0(0x36e)),'lockHint':_0x3acd58['t'](_0x5dd2b0(0x5dd)),'unlockHint':_0x3acd58['t'](_0x5dd2b0(0x450)),'name':_0x3acd58['t'](_0x5dd2b0(0x531)),'nameInput':_0x3acd58['t'](_0x5dd2b0(0x488)),'description':_0x3acd58['t'](_0x5dd2b0(0x342)),'descriptionPlaceholder':_0x3acd58['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x3acd58['t'](_0x5dd2b0(0x2fa)),'noSelection':_0x3acd58['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x3acd58['t'](_0x5dd2b0(0x539)),'expand':_0x3acd58['t'](_0x5dd2b0(0x2b6)),'collapse':_0x3acd58['t'](_0x5dd2b0(0x487)),'dragToReorder':_0x3acd58['t'](_0x5dd2b0(0x4a8)),'search':_0x3acd58['t'](_0x5dd2b0(0x27b)),'filterAll':_0x3acd58['t'](_0x5dd2b0(0x5b5)),'filterHidden':_0x3acd58['t'](_0x5dd2b0(0x2ba)),'filterLocked':_0x3acd58['t'](_0x5dd2b0(0x5bf)),'sectionCanvas':_0x3acd58['t'](_0x5dd2b0(0x413)),'sectionFloating':_0x3acd58['t'](_0x5dd2b0(0x46e))},_0x4e2c87=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996['ICommandService']),_0x412add=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x35d996[_0x5dd2b0(0x403)]),_0x4d7972=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x47830d[_0x5dd2b0(0x312)]),_0x2f9414=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x2ed59f[_0x5dd2b0(0x554)]),_0x473ebf=(0x0,_0x23e778['useDependency'])(_0x580d8a[_0x5dd2b0(0x266)]),_0x1daa93=(0x0,_0x23e778[_0x5dd2b0(0x4e0)])(_0x23e778[_0x5dd2b0(0x3ea)]),[,_0x2a088b]=(0x0,_0x3d354c[_0x5dd2b0(0x452)])(_0x30c734=>_0x30c734+0x1,0x0),_0x13c60e=_0x412add[_0x5dd2b0(0x5ef)](_0x35d996[_0x5dd2b0(0x31d)][_0x5dd2b0(0x3de)]),_0x548556=(_0x13c60e==null?void 0x0:_0x13c60e[_0x5dd2b0(0x331)]())??'',_0x18313e=(_0x13c60e==null||(_0xb1fd4b=_0x13c60e[_0x5dd2b0(0x565)]())==null?void 0x0:_0xb1fd4b['getSheetId']())??'',_0x242fa4=(0x0,_0x23e778[_0x5dd2b0(0x4c4)])(()=>_0x2f9414['focus$'],_0x2f9414['getFocusDrawings'](),!0x1,[_0x2f9414]);(0x0,_0x3d354c['useEffect'])(()=>{const _0x13f20b=_0x5dd2b0;let _0xd36308=_0x4e2c87[_0x13f20b(0x3f5)](()=>_0x2a088b());return()=>_0xd36308['dispose']();},[_0x4e2c87]);let _0x3a4126=_0x548556&&_0x18313e?_0x4d7972[_0x5dd2b0(0x2aa)](_0x548556,_0x18313e):{},_0x33bdaa=(_0x548556&&_0x18313e?_0x4d7972[_0x5dd2b0(0x593)](_0x548556,_0x18313e):[])[_0x5dd2b0(0x4d8)](_0xb7bf20=>_0x3a4126[_0xb7bf20])[_0x5dd2b0(0x35b)](_0x590dec=>!!_0x590dec)[_0x5dd2b0(0x590)](),_0x23af3c=_0x33bdaa[_0x5dd2b0(0x566)]((_0x490213,_0x6a5478)=>(_0x490213[(0x0,_0x2c4f7e['getObjectListPanelSectionIdForDrawingType'])(_0x6a5478['drawingType'])]+=0x1,_0x490213),{'canvas':0x0,'floating':0x0}),_0x448c97={'canvas':0x0,'floating':0x0},_0x5df06c=_0x33bdaa['map']((_0x442e48,_0x2266e8)=>{const _0x2ab2df=_0x5dd2b0;let _0x1b0cd9=(0x0,_0x2c4f7e[_0x2ab2df(0x52d)])(_0x442e48['drawingType']),_0x40bd8d=_0x1b0cd9===_0x2c4f7e[_0x2ab2df(0x304)],_0x34744d=_0x448c97[_0x1b0cd9]++;return{'id':_0x442e48['drawingId'],'name':_0x18d641(_0x442e48,_0x2266e8,_0x3acd58),'description':_0x442e48[_0x2ab2df(0x274)],'visible':_0x442e48[_0x2ab2df(0x263)]!==!0x0,'selectable':_0x442e48[_0x2ab2df(0x356)]!==!0x1,'sectionId':_0x1b0cd9,'sectionTitle':_0x40bd8d?_0x36605d[_0x2ab2df(0x42f)]:_0x36605d[_0x2ab2df(0x2ee)],'capabilities':_0x40bd8d?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x40bd8d&&_0x34744d>0x0,'canMoveBackward':!_0x40bd8d&&_0x34744d<_0x23af3c['canvas']-0x1,'canReorder':!_0x40bd8d};}),_0x172c68=(0x0,_0x3d354c[_0x5dd2b0(0x21e)])(()=>(_0x242fa4??[])[_0x5dd2b0(0x35b)](_0x3be797=>_0x3be797['unitId']===_0x548556&&_0x3be797[_0x5dd2b0(0x35e)]===_0x18313e)['map'](_0x194a64=>_0x194a64[_0x5dd2b0(0x314)]),[_0x242fa4,_0x18313e,_0x548556]),_0x518740=_0x172c68[_0x172c68[_0x5dd2b0(0x2f1)]-0x1]??null,_0x3578a6=_0x1cafa0=>_0x4d7972['getDrawingByParam']({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x1cafa0})??null,_0x47f65a=async _0x22c3c8=>{const _0xfbad4f=_0x5dd2b0;_0x548556&&_0x22c3c8[_0xfbad4f(0x2f1)]&&await _0x4e2c87[_0xfbad4f(0x3d1)](_0x47830d[_0xfbad4f(0x395)]['id'],{'unitId':_0x548556,'drawings':_0x22c3c8});},_0x41ae3f=async(_0x51d6b9,_0x531ad8)=>{_0x3578a6(_0x51d6b9)&&await _0x47f65a([{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x51d6b9,..._0x531ad8}]);},_0x2cd3ac=(_0x119f6c,_0x4ece60)=>{const _0x52ae9e=_0x5dd2b0;if(!_0x548556||!_0x18313e)return;let _0x4808f6=_0x4ece60?_0x172c68[_0x52ae9e(0x41c)](_0x119f6c)?_0x172c68[_0x52ae9e(0x35b)](_0x16bc43=>_0x16bc43!==_0x119f6c):[..._0x172c68,_0x119f6c]:[_0x119f6c];_0x4e2c87[_0x52ae9e(0x478)](_0x2ed59f[_0x52ae9e(0x2f6)]['id'],_0x4808f6[_0x52ae9e(0x4d8)](_0x407e62=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x407e62})));let _0x85f789=_0x4808f6[_0x4808f6[_0x52ae9e(0x2f1)]-0x1];_0x85f789?((0x0,_0x197fcc['activateDrawingObject'])(_0x473ebf,{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x85f789}),_0x1daa93['focus'](_0x548556)):(0x0,_0x197fcc[_0x52ae9e(0x354)])(_0x473ebf,_0x548556);},_0x5592a2=async(_0x31b6c8,_0x43b4c2)=>{const _0x107d5c=_0x5dd2b0;await _0x47f65a(_0x31b6c8[_0x107d5c(0x4d8)](_0x323bbd=>_0x3578a6(_0x323bbd))['filter'](_0x582583=>!!_0x582583)[_0x107d5c(0x35b)](_0x10a87c=>_0x10a87c[_0x107d5c(0x263)]!==!0x0!==_0x43b4c2)[_0x107d5c(0x4d8)](_0x10bf6b=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x10bf6b[_0x107d5c(0x314)],'hidden':!_0x43b4c2})));},_0x2f9b24=async(_0x598e7f,_0x54f447)=>{const _0x3f3965=_0x5dd2b0;await _0x47f65a(_0x598e7f[_0x3f3965(0x4d8)](_0x1f9fe4=>_0x3578a6(_0x1f9fe4))[_0x3f3965(0x35b)](_0x3bc08e=>!!_0x3bc08e)[_0x3f3965(0x35b)](_0x3bb7b9=>_0x3bb7b9[_0x3f3965(0x356)]!==!0x1!==_0x54f447)[_0x3f3965(0x4d8)](_0x317567=>({'unitId':_0x548556,'subUnitId':_0x18313e,'drawingId':_0x317567[_0x3f3965(0x314)],'selectable':_0x54f447})));},_0x51253b=_0x2d0ce0=>{const _0x388bf4=_0x5dd2b0;let _0x1441cd=_0x3578a6(_0x2d0ce0);if(_0x1441cd)return _0x2f9b24([_0x2d0ce0],_0x1441cd[_0x388bf4(0x356)]===!0x1);},_0x55b6fe=async(_0x16af8a,_0x40c853)=>{var _0x2a7c1d;let _0x2fd38c=_0x4a79f6(_0x40c853);(((_0x2a7c1d=_0x3578a6(_0x16af8a))==null?void 0x0:_0x2a7c1d['name'])??void 0x0)!==_0x2fd38c&&await _0x41ae3f(_0x16af8a,{'name':_0x2fd38c});},_0x2be9ef=async(_0x165c09,_0x563216)=>{const _0x5c5ae5=_0x5dd2b0;var _0x8dc9a3;let _0x324b2c=_0x4a79f6(_0x563216);(((_0x8dc9a3=_0x3578a6(_0x165c09))==null?void 0x0:_0x8dc9a3[_0x5c5ae5(0x274)])??void 0x0)!==_0x324b2c&&await _0x41ae3f(_0x165c09,{'description':_0x324b2c});},_0x4cb9b4=async(_0x2b5cbd,_0x340aa8)=>{const _0x1b90dc=_0x5dd2b0;_0x548556&&_0x18313e&&await _0x4e2c87[_0x1b90dc(0x3d1)](_0x47830d[_0x1b90dc(0x2df)]['id'],{'unitId':_0x548556,'subUnitId':_0x18313e,'drawingIds':[_0x2b5cbd],'arrangeType':_0x340aa8});};return!_0x548556||!_0x18313e?(0x0,_0x121104[_0x5dd2b0(0x4f2)])(_0x5dd2b0(0x3b3),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x36605d['title']}):(0x0,_0x121104[_0x5dd2b0(0x4f2)])(_0x158c5a,{'labels':_0x36605d,'items':_0x5df06c,'selectedIds':_0x172c68,'focusedId':_0x518740,'showHeader':!0x1,'onSelect':_0x2cd3ac,'onSetVisible':_0x5592a2,'onSetSelectable':_0x2f9b24,'onCommitName':_0x55b6fe,'onCommitDescription':_0x2be9ef,'onMoveForward':async _0x4725f9=>_0x4cb9b4(_0x4725f9,_0x35d996['ArrangeTypeEnum'][_0x5dd2b0(0x214)]),'onMoveBackward':async _0x4e95bf=>_0x4cb9b4(_0x4e95bf,_0x35d996[_0x5dd2b0(0x55c)][_0x5dd2b0(0x2bf)]),'onToggleSelectable':_0x51253b});}function _0x4f4b73(){const _0x29c752=_0x2766d8;return(0x0,_0x121104[_0x29c752(0x4f2)])(_0x1ba86f,{'PanelComponent':_0x2c4f7e[_0x29c752(0x3d9)]});}let _0x46a7ae=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x7733f0,_0x4d3b8f){const _0xe25fc8=_0x2766d8;super(),this[_0xe25fc8(0x271)](_0x7733f0[_0xe25fc8(0x495)](_0x5bd6d7,_0x4f4b73)),this[_0xe25fc8(0x271)](_0x4d3b8f[_0xe25fc8(0x495)]({'BottomIcon':_0x460267,'FlipHorizontalIcon':_0x3e9cd9,'FlipVerticalIcon':_0x4ae031,'MoveDownIcon':_0x5e159d,'MoveUpIcon':_0xf77df5,'ObjectLayersIcon':_0x5f2102,'ShapeFormatSettingIcon':_0x26b4c5,'TopmostIcon':_0x222f4e})),this['disposeWithMe'](_0x7733f0[_0xe25fc8(0x495)](_0x2ae931,_0x25a995)),this[_0xe25fc8(0x271)](_0x7733f0['register'](_0x4aafa5,_0x2dbee2)),_0x7733f0['hasDefault'](_0x2c4f7e[_0xe25fc8(0x368)])||this[_0xe25fc8(0x271)](_0x7733f0[_0xe25fc8(0x495)](_0x2c4f7e[_0xe25fc8(0x368)],_0x275f06));}};_0x46a7ae=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778['ComponentManager'])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x211)]))],_0x46a7ae);let _0x4a54d8=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x1fdda8){const _0x45dc01=_0x2766d8;super(),this[_0x45dc01(0x30c)]=_0x1fdda8,_0x2a4a7a(this,_0x45dc01(0x5b1),new _0x4737d9['BehaviorSubject'](null)),_0x2a4a7a(this,_0x45dc01(0x4b4),this['_editingParams$'][_0x45dc01(0x5bc)]()),_0x2a4a7a(this,_0x45dc01(0x4c6),new _0x4737d9[(_0x45dc01(0x3b1))](!0x1)),_0x2a4a7a(this,_0x45dc01(0x3a0),this[_0x45dc01(0x4c6)][_0x45dc01(0x5bc)]()),_0x2a4a7a(this,'_completionFrame',void 0x0),this[_0x45dc01(0x271)](this['_permissionService'][_0x45dc01(0x2bd)][_0x45dc01(0x56a)](()=>{const _0x1673cf=_0x45dc01;let _0x56b345=this[_0x1673cf(0x2cd)]();_0x56b345!=null&&_0x56b345['visible']&&!this[_0x1673cf(0x3d0)](_0x56b345)&&this[_0x1673cf(0x5c4)](null);}));}[_0x2766d8(0x2a4)](){const _0x4a5a05=_0x2766d8;this['_clearCompletionFrame'](),this[_0x4a5a05(0x5b1)][_0x4a5a05(0x439)](null),this[_0x4a5a05(0x5b1)][_0x4a5a05(0x44d)](),this[_0x4a5a05(0x4c6)][_0x4a5a05(0x439)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x4a5a05(0x2a4)]();}[_0x2766d8(0x5c4)](_0x3a1022){const _0x2d7f7c=_0x2766d8;(_0x3a1022==null||!_0x3a1022[_0x2d7f7c(0x416)]||this[_0x2d7f7c(0x3d0)](_0x3a1022))&&(this[_0x2d7f7c(0x221)](),this[_0x2d7f7c(0x5b1)][_0x2d7f7c(0x439)](_0x3a1022),(_0x3a1022==null||_0x3a1022[_0x2d7f7c(0x416)]&&this[_0x2d7f7c(0x4c6)][_0x2d7f7c(0x3a4)]())&&this['_onSavingEditorData$'][_0x2d7f7c(0x439)](!0x1));}[_0x2766d8(0x3e1)](_0x221c8c){const _0x56d7dd=_0x2766d8;this[_0x56d7dd(0x4c6)][_0x56d7dd(0x439)](_0x221c8c);}[_0x2766d8(0x2cd)](){const _0x3a6aa9=_0x2766d8;return this[_0x3a6aa9(0x5b1)]['getValue']();}[_0x2766d8(0x3d0)](_0x23ed92){const _0x5a7ac4=_0x2766d8;let _0x81dc1b=this[_0x5a7ac4(0x30c)][_0x5a7ac4(0x5ec)](new _0x2a684c[(_0x5a7ac4(0x4c0))](_0x23ed92[_0x5a7ac4(0x280)])['id']),_0x485545=this['_permissionService']['getPermissionPoint'](new _0x2a684c[(_0x5a7ac4(0x59b))](_0x23ed92[_0x5a7ac4(0x280)],_0x23ed92[_0x5a7ac4(0x35e)])['id']);return((_0x81dc1b==null?void 0x0:_0x81dc1b[_0x5a7ac4(0x58f)])??!0x0)&&((_0x485545==null?void 0x0:_0x485545[_0x5a7ac4(0x58f)])??!0x0);}[_0x2766d8(0x387)](_0x46418d){const _0x50f3cc=_0x2766d8;let _0x1667b8=this[_0x50f3cc(0x2cd)]();_0x1667b8&&this[_0x50f3cc(0x32d)]===void 0x0&&(this[_0x50f3cc(0x3e1)](!0x0),this[_0x50f3cc(0x32d)]=requestAnimationFrame(()=>{const _0x3dbf7a=_0x50f3cc;this[_0x3dbf7a(0x32d)]=void 0x0,this['getEditing']()===_0x1667b8&&this[_0x3dbf7a(0x5c4)](null);}));}['_clearCompletionFrame'](){const _0x12745a=_0x2766d8;this['_completionFrame']!==void 0x0&&(cancelAnimationFrame(this[_0x12745a(0x32d)]),this[_0x12745a(0x32d)]=void 0x0);}[_0x2766d8(0x2ec)](){const _0x27ea9d=_0x2766d8;this[_0x27ea9d(0x2cd)]()&&this[_0x27ea9d(0x5c4)](null);}};_0x4a54d8=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x359)])],_0x4a54d8);let _0x37b743=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x3d50d3,_0x55f77c,_0xbd1753,_0x303449,_0x2f6c6a,_0x379026){const _0x28d026=_0x2766d8;super(),this[_0x28d026(0x587)]=_0x3d50d3,this[_0x28d026(0x451)]=_0x55f77c,this[_0x28d026(0x21a)]=_0xbd1753,this[_0x28d026(0x482)]=_0x303449,this[_0x28d026(0x269)]=_0x2f6c6a,this['_sheetsShapeService']=_0x379026,_0x2a4a7a(this,_0x28d026(0x3b6),null),this['_initEvents'](),this[_0x28d026(0x5d2)](),this[_0x28d026(0x3cc)]();}[_0x2766d8(0x444)](){const _0x10184c=_0x2766d8;let {scene:_0x2abf92}=this[_0x10184c(0x587)];this['disposeWithMe'](_0x2abf92[_0x10184c(0x2f8)]['subscribeEvent'](_0x2df6f0=>{const _0x5702b3=_0x10184c;let {offsetX:_0x4b729c,offsetY:_0x2e3eee}=_0x2df6f0,_0x4abdd0=_0x2abf92[_0x5702b3(0x54d)](_0x580d8a[_0x5702b3(0x48d)][_0x5702b3(0x5a1)]([_0x4b729c,_0x2e3eee]));if(_0x4abdd0 instanceof _0x423ac6){let _0x31e8d5=this['_sheetsShapeService']['getShapeModel'](_0x4abdd0['unitId'],_0x4abdd0[_0x5702b3(0x35e)],_0x4abdd0[_0x5702b3(0x2a8)]);if((0x0,_0x1f2a15[_0x5702b3(0x493)])(this[_0x5702b3(0x218)][_0x5702b3(0x200)](_0x4abdd0[_0x5702b3(0x280)],_0x4abdd0[_0x5702b3(0x35e)],_0x4abdd0[_0x5702b3(0x2a8)]))||_0x31e8d5!=null&&_0x31e8d5['getShapeData']()['formulaBinding'])return;this[_0x5702b3(0x21a)][_0x5702b3(0x5c4)]({'visible':!0x0,'unitId':_0x4abdd0['unitId'],'subUnitId':_0x4abdd0[_0x5702b3(0x35e)],'shapeId':_0x4abdd0[_0x5702b3(0x2a8)],'shapeKey':_0x4abdd0[_0x5702b3(0x5ca)]});}}));}[_0x2766d8(0x5d2)](){const _0x5e49f7=_0x2766d8;this[_0x5e49f7(0x271)](this[_0x5e49f7(0x482)]['focus$'][_0x5e49f7(0x56a)](_0x11aac4=>{const _0x2dc3ef=_0x5e49f7;if(_0x11aac4[_0x2dc3ef(0x2f1)]===0x1){let _0x3a6e3a=_0x11aac4[0x0],_0x408851=this['_drawingManagerService'][_0x2dc3ef(0x26d)](_0x3a6e3a);if((_0x408851==null?void 0x0:_0x408851[_0x2dc3ef(0x313)])===_0x35d996[_0x2dc3ef(0x44f)][_0x2dc3ef(0x4ba)]){var _0x389bd5;let _0xaea25a=this[_0x2dc3ef(0x21a)][_0x2dc3ef(0x2cd)]();if((_0xaea25a==null?void 0x0:_0xaea25a[_0x2dc3ef(0x2a8)])===_0x3a6e3a[_0x2dc3ef(0x314)]&&_0xaea25a['visible'])return;let _0x29264c=(0x0,_0x1f2a15[_0x2dc3ef(0x493)])(this['_sheetsShapeService']['getShapeType'](_0x3a6e3a[_0x2dc3ef(0x280)],_0x3a6e3a[_0x2dc3ef(0x35e)],_0x3a6e3a[_0x2dc3ef(0x314)])),_0xbdee6c=!!((_0x389bd5=this[_0x2dc3ef(0x218)][_0x2dc3ef(0x338)](_0x3a6e3a[_0x2dc3ef(0x280)],_0x3a6e3a[_0x2dc3ef(0x35e)],_0x3a6e3a['drawingId']))!=null&&_0x389bd5[_0x2dc3ef(0x583)]()[_0x2dc3ef(0x405)]);(_0x29264c||_0xbdee6c)&&this[_0x2dc3ef(0x21a)][_0x2dc3ef(0x5c4)](null);}else this[_0x2dc3ef(0x21a)]['completeEditing']();}else this[_0x2dc3ef(0x21a)]['completeEditing']();})),this[_0x5e49f7(0x271)](this[_0x5e49f7(0x482)]['remove$'][_0x5e49f7(0x56a)](_0x3a81c5=>{const _0x58d25e=_0x5e49f7;let _0x67eb60=this[_0x58d25e(0x21a)][_0x58d25e(0x2cd)]();_0x67eb60&&_0x3a81c5[_0x58d25e(0x5c8)](_0x5dcdcf=>_0x5dcdcf[_0x58d25e(0x314)]===_0x67eb60['shapeId'])&&this['_shapeTextEditingService'][_0x58d25e(0x5c4)](null);}));}['_initEditingParams'](){const _0x5c076b=_0x2766d8;this[_0x5c076b(0x271)](this[_0x5c076b(0x21a)][_0x5c076b(0x4b4)][_0x5c076b(0x56a)](_0x521331=>{const _0x36e23b=_0x5c076b;let {scene:_0x11529f}=this[_0x36e23b(0x587)];if(this[_0x36e23b(0x3b6)]){let _0x2a6a5d=_0x11529f[_0x36e23b(0x1e9)](this[_0x36e23b(0x3b6)]);_0x2a6a5d&&_0x2a6a5d[_0x36e23b(0x5c4)](!0x1);}if(_0x521331){let _0x135879=!!_0x521331['visible'],_0x192eca=_0x11529f[_0x36e23b(0x1e9)](_0x521331[_0x36e23b(0x24f)]);_0x192eca&&(_0x192eca['setEditing'](_0x135879),this[_0x36e23b(0x3b6)]=_0x521331[_0x36e23b(0x24f)]),this['_contextService'][_0x36e23b(0x458)](_0x35d996[_0x36e23b(0x595)],_0x135879);}else this['_lastEditingShapeKey']=null,this[_0x36e23b(0x269)][_0x36e23b(0x458)](_0x35d996[_0x36e23b(0x595)],!0x1);}));}};_0x37b743=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x3,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640['SheetsShapeService']))],_0x37b743);var _0x187142=class extends _0x37b743{[_0x2766d8(0x444)](){const _0x563e8b=_0x2766d8;let {scene:_0x1ac76b}=this[_0x563e8b(0x587)],_0x4ea672=this[_0x563e8b(0x451)][_0x563e8b(0x340)](_0x197fcc['MobileShapeEditorService']);this[_0x563e8b(0x271)](_0x1ac76b['onDblclick$']['subscribeEvent'](_0x4005be=>{const _0x173ec3=_0x563e8b;let {offsetX:_0x4ea40b,offsetY:_0x313a18}=_0x4005be,_0x2be3e7=_0x1ac76b['pick'](_0x580d8a['Vector2']['FromArray']([_0x4ea40b,_0x313a18]));if(!(_0x2be3e7 instanceof _0x423ac6))return;let _0x36274c=this['_sheetsShapeService']['getShapeModel'](_0x2be3e7[_0x173ec3(0x280)],_0x2be3e7[_0x173ec3(0x35e)],_0x2be3e7['shapeId']);(0x0,_0x1f2a15['isConnectorShape'])(this['_sheetsShapeService'][_0x173ec3(0x200)](_0x2be3e7[_0x173ec3(0x280)],_0x2be3e7['subUnitId'],_0x2be3e7['shapeId']))||_0x36274c!=null&&_0x36274c[_0x173ec3(0x583)]()['formulaBinding']||_0x4ea672['open'](_0x173ec3(0x23d),{'hostType':_0x35d996['UniverInstanceType'][_0x173ec3(0x3de)],'unitId':_0x2be3e7[_0x173ec3(0x280)],'subUnitId':_0x2be3e7[_0x173ec3(0x35e)],'shapeId':_0x2be3e7[_0x173ec3(0x2a8)]});}));}};let _0x48285e={..._0x296796},_0x224297=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x372b8e,_0x1795bd,_0x23a787,_0x4ef981,_0x45f207,_0x236a9d,_0x206da7,_0x26d99c){const _0x100674=_0x2766d8;super(),this[_0x100674(0x344)]=_0x372b8e,this[_0x100674(0x218)]=_0x1795bd,this[_0x100674(0x54f)]=_0x23a787,this[_0x100674(0x482)]=_0x4ef981,this['_sheetCanvasPopManagerService']=_0x45f207,this[_0x100674(0x269)]=_0x236a9d,this[_0x100674(0x4bb)]=_0x206da7,this['_shapeTextEditingService']=_0x26d99c,_0x2a4a7a(this,'_shapePopupMenuDisposable',null),this['_menuManagerService']['mergeMenu'](_0x48285e),this[_0x100674(0x3d7)](),this[_0x100674(0x271)](this['_shapeTextEditingService'][_0x100674(0x4b4)][_0x100674(0x56a)](_0xe43c2d=>{const _0x36107b=_0x100674;_0xe43c2d&&this[_0x36107b(0x40a)]();}));}['initShapePopupMenu'](){const _0x4d7db7=_0x2766d8;this[_0x4d7db7(0x5c1)]||=this[_0x4d7db7(0x271)]((0x0,_0x197fcc['bindRenderTransformerLifecycle'])(this[_0x4d7db7(0x4bb)],_0x35d996[_0x4d7db7(0x31d)][_0x4d7db7(0x3de)],_0x97a682=>this[_0x4d7db7(0x4bd)](_0x97a682)));}[_0x2766d8(0x3d7)](){const _0x112fdc=_0x2766d8;this[_0x112fdc(0x5be)][_0x112fdc(0x4d2)](_0x35d996[_0x112fdc(0x44f)][_0x112fdc(0x4ba)],(_0x3d65e7,_0x286839,_0x46820c,_0x2dba49)=>{const _0x534379=_0x112fdc;let _0x4aba4c=this[_0x534379(0x218)]['getShapeTypeById'](_0x3d65e7,_0x286839,_0x46820c),_0x3e33a6=this['_sheetsShapeService']['getShapeDataById'](_0x3d65e7,_0x286839,_0x46820c),_0x2f155a=_0x4aba4c!==void 0x0&&!(0x0,_0x1f2a15['isConnectorShape'])(_0x4aba4c)&&!(_0x3e33a6!=null&&_0x3e33a6['formulaBinding']);return[{'label':'sheets-shape-ui.editShape','index':0x0,'commandId':_0x279e80['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'mode':_0x534379(0x3b0)},'disable':!0x1},..._0x2f155a?[{'label':_0x534379(0x5a3),'index':0x1,'commandId':_0x279e80['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'mode':_0x534379(0x23d)},'disable':!0x1}]:[],{'label':_0x534379(0x537),'index':0x2,'commandId':_0x47830d[_0x534379(0x5ba)]['id'],'commandParams':{'unitId':_0x3d65e7,'drawings':[{'unitId':_0x3d65e7,'subUnitId':_0x286839,'drawingId':_0x46820c,'drawingType':_0x2dba49}]},'disable':!0x1},{'label':_0x534379(0x517),'index':0x3,'commandId':_0x565640[_0x534379(0x5d8)]['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'shapeId':_0x46820c,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.flipVertical','index':0x4,'commandId':_0x565640[_0x534379(0x5d8)]['id'],'commandParams':{'unitId':_0x3d65e7,'subUnitId':_0x286839,'shapeId':_0x46820c,'flipV':!0x0},'disable':!0x1}];},'sheets-shape-ui.title');}[_0x2766d8(0x4bd)](_0x463085){const _0x4ce6f0=_0x2766d8;let _0x1b3f72=new _0x35d996[(_0x4ce6f0(0x502))](),_0x3d119f=null,_0x4e60a5=()=>{const _0x3d875c=_0x4ce6f0;if(!_0x3d119f)return;let _0x366a21=this['_drawingManagerService']['getFocusDrawings'](),_0x3fccdf=_0x366a21['length']===0x0||_0x366a21['length']===0x1&&_0x366a21[_0x3d875c(0x5c8)](_0x49560d=>_0x49560d[_0x3d875c(0x280)]===(_0x3d119f==null?void 0x0:_0x3d119f[_0x3d875c(0x280)])&&_0x49560d[_0x3d875c(0x35e)]===(_0x3d119f==null?void 0x0:_0x3d119f['subUnitId'])&&_0x49560d['drawingId']===(_0x3d119f==null?void 0x0:_0x3d119f['drawingId']));_0x3d119f=null,_0x3fccdf&&(this[_0x3d875c(0x269)][_0x3d875c(0x458)](_0x35d996['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3d875c(0x482)][_0x3d875c(0x2f5)](null));};return _0x1b3f72[_0x4ce6f0(0x294)](_0x463085[_0x4ce6f0(0x31e)][_0x4ce6f0(0x56a)](()=>{const _0x354cbd=_0x4ce6f0;let _0x24e9d0=_0x463085[_0x354cbd(0x524)]();if(_0x24e9d0[_0x354cbd(0x22b)]>0x1){_0x4e60a5();return;}let _0xe1dcd1=_0x24e9d0[_0x354cbd(0x3bf)]()['next']()[_0x354cbd(0x58f)];if(!_0xe1dcd1){_0x4e60a5();return;}let _0x16a849=this[_0x354cbd(0x482)][_0x354cbd(0x20b)](_0xe1dcd1['oKey']);if(!_0x16a849||_0x16a849[_0x354cbd(0x313)]!==_0x35d996[_0x354cbd(0x44f)][_0x354cbd(0x4ba)]){_0x4e60a5();return;}let {unitId:_0xd06356,subUnitId:_0x386b6a,drawingId:_0x488fde}=_0x16a849;_0x3d119f={'unitId':_0xd06356,'subUnitId':_0x386b6a,'drawingId':_0x488fde},this[_0x354cbd(0x269)][_0x354cbd(0x458)](_0x35d996[_0x354cbd(0x4d1)],!0x0),this[_0x354cbd(0x482)][_0x354cbd(0x5bb)]()['find'](_0x33a3b9=>_0x33a3b9[_0x354cbd(0x280)]===_0xd06356&&_0x33a3b9[_0x354cbd(0x35e)]===_0x386b6a&&_0x33a3b9[_0x354cbd(0x314)]===_0x488fde)||this['_drawingManagerService'][_0x354cbd(0x2f5)]([{'unitId':_0xd06356,'subUnitId':_0x386b6a,'drawingId':_0x488fde}]);})),_0x1b3f72[_0x4ce6f0(0x294)](_0x463085[_0x4ce6f0(0x58a)][_0x4ce6f0(0x56a)](()=>{_0x4e60a5();})),(0x0,_0x35d996['toDisposable'])(()=>{const _0x1b3d77=_0x4ce6f0;_0x1b3f72[_0x1b3d77(0x2a4)](),_0x4e60a5();});}[_0x2766d8(0x40a)](){const _0x138174=_0x2766d8;this[_0x138174(0x269)]['setContextValue'](_0x35d996[_0x138174(0x4d1)],!0x1),this['_drawingManagerService'][_0x138174(0x2f5)](null);}};_0x224297=_0x39c461([_0x400e7c(0x0,_0x23e778['IMenuManagerService']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x4,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x6,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x4a54d8))],_0x224297);function _0xb8d8a9(_0x189247,_0x2ca9b6,_0x549330,_0x4a8636){const _0x5f48d7=_0x2766d8;let _0xf478c3=(0x0,_0x2ed59f[_0x5f48d7(0x27c)])(_0x189247,_0x2ca9b6,_0x549330),_0x5a53b6=[];for(let _0x8be5c of _0x2ca9b6){let _0x2387f=_0xf478c3['idMap'][_0x5f48d7(0x340)](_0x8be5c[_0x5f48d7(0x314)]),_0x516b41=_0x4a8636(_0x8be5c);_0x2387f&&_0x516b41&&_0x5a53b6[_0x5f48d7(0x373)]({'targetShapeId':_0x2387f,'source':_0x516b41});}return _0x5a53b6;}let _0x563547=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x2170b0,_0xf788b,_0x3f45c9,_0x1121c8){const _0x554fe7=_0x2766d8;super(),this['_univerInstanceService']=_0x2170b0,this['_sheetInterceptorService']=_0xf788b,this[_0x554fe7(0x47d)]=_0x3f45c9,this['_sheetsShapeService']=_0x1121c8,this['_initSheetChange']();}['_initSheetChange'](){const _0x28c6c7=_0x2766d8;this['disposeWithMe'](this[_0x28c6c7(0x49b)][_0x28c6c7(0x237)]({'getMutations':_0x371471=>{const _0x4c066d=_0x28c6c7;if(_0x371471['id']===_0x2a684c[_0x4c066d(0x598)]['id']){let _0x55f3aa=(0x0,_0x2a684c[_0x4c066d(0x231)])(this[_0x4c066d(0x251)],_0x371471[_0x4c066d(0x1db)]);if(!_0x55f3aa)return{'redos':[],'undos':[]};let {unitId:_0x33c9aa,subUnitId:_0xb6c65a}=_0x55f3aa,_0x5c6a81=this[_0x4c066d(0x47d)][_0x4c066d(0x2aa)](_0x33c9aa,_0xb6c65a),_0x599f41=Object[_0x4c066d(0x3bf)](_0x5c6a81)[_0x4c066d(0x35b)](_0x8e2650=>_0x8e2650[_0x4c066d(0x313)]===_0x35d996[_0x4c066d(0x44f)][_0x4c066d(0x4ba)]);if(_0x599f41['length']===0x0)return{'redos':[],'undos':[]};let _0x234695=[],_0x8704e5=[];for(let _0x43d737=0x0;_0x43d737<_0x599f41[_0x4c066d(0x2f1)];_0x43d737++){let _0x10f42b=_0x599f41[_0x43d737],_0x4abf59=this[_0x4c066d(0x218)]['getShapeModel'](_0x10f42b[_0x4c066d(0x280)],_0x10f42b['subUnitId'],_0x10f42b[_0x4c066d(0x314)]);_0x4abf59&&(_0x234695['push']({'id':_0x565640[_0x4c066d(0x3a9)]['id'],'params':{'unitId':_0x33c9aa,'subUnitId':_0xb6c65a,'shapeId':_0x10f42b['drawingId']}}),_0x8704e5[_0x4c066d(0x373)]({'id':_0x565640[_0x4c066d(0x4bf)]['id'],'params':{'unitId':_0x33c9aa,'subUnitId':_0xb6c65a,'shapeId':_0x10f42b[_0x4c066d(0x314)],'shapeType':_0x4abf59[_0x4c066d(0x200)](),'shapeData':JSON[_0x4c066d(0x541)](JSON[_0x4c066d(0x54b)](_0x4abf59[_0x4c066d(0x583)]()))}}));}return{'redos':_0x234695,'undos':_0x8704e5};}if(_0x371471['id']===_0x2a684c[_0x4c066d(0x2eb)]['id']){let {unitId:_0x5e15c6,subUnitId:_0x26ac68,targetSubUnitId:_0x524ce6,copyContext:_0x46e17b}=_0x371471['params'];if(!_0x5e15c6||!_0x26ac68||!_0x524ce6)return{'redos':[],'undos':[]};let _0x1537e2=this[_0x4c066d(0x47d)][_0x4c066d(0x2aa)](_0x5e15c6,_0x26ac68),_0x3f4e61=Object[_0x4c066d(0x3bf)](_0x1537e2)[_0x4c066d(0x35b)](_0x49e5ca=>_0x49e5ca[_0x4c066d(0x313)]===_0x35d996[_0x4c066d(0x44f)][_0x4c066d(0x4ba)]);if(_0x3f4e61['length']===0x0)return{'redos':[],'undos':[]};let _0x1c47ce=_0xb8d8a9(_0x46e17b,_0x3f4e61,{'unitId':_0x5e15c6,'sourceSubUnitId':_0x26ac68,'targetSubUnitId':_0x524ce6},_0x4dc414=>{const _0x43b54c=_0x4c066d;let _0x13cde0=this[_0x43b54c(0x218)][_0x43b54c(0x338)](_0x4dc414[_0x43b54c(0x280)],_0x4dc414[_0x43b54c(0x35e)],_0x4dc414[_0x43b54c(0x314)]);if(_0x13cde0)return{'shapeType':_0x13cde0[_0x43b54c(0x200)](),'shapeData':JSON[_0x43b54c(0x541)](JSON[_0x43b54c(0x54b)](_0x13cde0['getShapeData']()))};}),_0x57cb1e=[],_0xbd49c=[];for(let {targetShapeId:_0x4f19d9,source:_0x192b9e}of _0x1c47ce)_0x57cb1e[_0x4c066d(0x373)]({'id':_0x565640['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x5e15c6,'subUnitId':_0x524ce6,'shapeId':_0x4f19d9,'shapeType':_0x192b9e[_0x4c066d(0x3fc)],'shapeData':_0x192b9e[_0x4c066d(0x23b)]}}),_0xbd49c[_0x4c066d(0x373)]({'id':_0x565640[_0x4c066d(0x3a9)]['id'],'params':{'unitId':_0x5e15c6,'subUnitId':_0x524ce6,'shapeId':_0x4f19d9}});return{'redos':_0x57cb1e,'undos':_0xbd49c};}return{'redos':[],'undos':[]};}}));}};_0x563547=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x403)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x24d)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x47830d['ISheetDrawingService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)]))],_0x563547);let _0xc945f6=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4dab07,_0x54f2d3,_0x4585a9,_0x9a91a2,_0x2cb6df,_0x4b90f6){const _0x40a5d7=_0x2766d8;super(),this[_0x40a5d7(0x54f)]=_0x4dab07,this[_0x40a5d7(0x4bb)]=_0x54f2d3,this[_0x40a5d7(0x482)]=_0x4585a9,this['_currentUniverService']=_0x9a91a2,this[_0x40a5d7(0x501)]=_0x2cb6df,this[_0x40a5d7(0x316)]=_0x4b90f6,_0x2a4a7a(this,_0x40a5d7(0x38d),new Set()),this[_0x40a5d7(0x5d9)]();}[_0x2766d8(0x5d9)](){const _0x374206=_0x2766d8;this[_0x374206(0x1f9)](),this[_0x374206(0x2d5)](),this['_shapeUpdateListener']();}[_0x2766d8(0x1f9)](){const _0x2c8446=_0x2766d8;this[_0x2c8446(0x271)](this[_0x2c8446(0x482)][_0x2c8446(0x494)][_0x2c8446(0x56a)](_0x441977=>{const _0x25a103=_0x2c8446;this[_0x25a103(0x2d3)](_0x441977);}));}[_0x2766d8(0x2d5)](){const _0x21dcff=_0x2766d8;this[_0x21dcff(0x271)](this[_0x21dcff(0x54f)]['onCommandExecuted']((_0x4c6066,_0x17af96)=>{const _0x60b1be=_0x21dcff;if(_0x4c6066['id']===_0x565640[_0x60b1be(0x229)]['id']){let {unitId:_0x4560da,subUnitId:_0x5767c3,shapeId:_0x2c461c}=_0x4c6066['params'],_0x4251a2=this[_0x60b1be(0x4a9)](_0x4560da),_0xdfa3d1=(0x0,_0x2ed59f[_0x60b1be(0x2f2)])({'unitId':_0x4560da,'subUnitId':_0x5767c3,'drawingId':_0x2c461c}),_0x85a2e6=_0x4251a2==null?void 0x0:_0x4251a2[_0x60b1be(0x394)]['getObjectIncludeInGroup'](_0xdfa3d1);_0x85a2e6&&(this[_0x60b1be(0x316)][_0x60b1be(0x4b8)](_0x85a2e6),this[_0x60b1be(0x316)][_0x60b1be(0x25d)](_0x85a2e6,{'unitId':_0x4560da,'subUnitId':_0x5767c3,'shapeId':_0x2c461c}),_0x85a2e6['makeDirty'](!0x0));}else{if(_0x4c6066['id']===_0x565640[_0x60b1be(0x4bf)]['id']){var _0x4c41ec;let {unitId:_0x55e53b,subUnitId:_0x172d19,shapeId:_0xd28de1}=_0x4c6066[_0x60b1be(0x1db)],_0x3ce149=this[_0x60b1be(0x4a9)](_0x55e53b);if(_0x3ce149==null)return;let {scene:_0x205028}=_0x3ce149,_0x1bccde=(0x0,_0x2ed59f[_0x60b1be(0x2f2)])({'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}),_0x49453c=_0x205028[_0x60b1be(0x1e9)](_0x1bccde);if(!((_0x4c41ec=this[_0x60b1be(0x4bb)]['getRenderUnitById'](_0x55e53b))!=null&&_0x4c41ec['with'](_0x590c15['SheetSkeletonManagerService'])[_0x60b1be(0x4d9)](_0x172d19)))return!0x1;if(_0x49453c)return;if(_0x17af96!=null&&_0x17af96[_0x60b1be(0x558)]){queueMicrotask(()=>{const _0x352a75=_0x60b1be;this[_0x352a75(0x31b)]||this[_0x352a75(0x2d3)]([{'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}]);});return;}this['_insertShapes']([{'unitId':_0x55e53b,'subUnitId':_0x172d19,'drawingId':_0xd28de1}]);}}}));}[_0x2766d8(0x35d)](){const _0xfeb7af=_0x2766d8;this[_0xfeb7af(0x271)](this[_0xfeb7af(0x482)][_0xfeb7af(0x59c)][_0xfeb7af(0x56a)](_0x245fb6=>{_0x245fb6['forEach'](_0x524a7a=>{const _0x588d98=_0x231f;let {unitId:_0x17cf4f,subUnitId:_0x58644b,drawingId:_0x43c9b4}=_0x524a7a,_0x5d3392=this[_0x588d98(0x482)][_0x588d98(0x26d)](_0x524a7a);if(_0x5d3392==null)return;let {transform:_0x537354,drawingType:_0x13e776,srcRect:_0x3c95f6,prstGeom:_0x3bdebd}=_0x5d3392;if(_0x13e776!==_0x35d996['DrawingTypeEnum'][_0x588d98(0x4ba)])return;let _0x336a0c=this[_0x588d98(0x4a9)](_0x17cf4f);if(_0x336a0c==null)return;let {scene:_0x5bb104,transformer:_0x39fc5c}=_0x336a0c;if(_0x537354==null)return!0x0;let _0xc4797f=(0x0,_0x2ed59f[_0x588d98(0x2f2)])({'unitId':_0x17cf4f,'subUnitId':_0x58644b,'drawingId':_0x43c9b4}),_0x3e9faa=_0x5bb104[_0x588d98(0x1e9)](_0xc4797f);if(_0x3e9faa==null)return!0x0;_0x3e9faa[_0x588d98(0x209)](_0x3c95f6),_0x3e9faa[_0x588d98(0x596)](_0x3bdebd);});}));}[_0x2766d8(0x2d3)](_0x231052){const _0x305afd=_0x2766d8;for(let _0x15c8a1 of _0x231052){var _0x5ca2f0;let {unitId:_0x28a2f1,subUnitId:_0x5678b7,drawingId:_0x33494e}=_0x15c8a1,_0x165d9a=this[_0x305afd(0x4a9)](_0x28a2f1),_0x240d42=(_0x5ca2f0=(0x0,_0x2c4f7e[_0x305afd(0x479)])(this[_0x305afd(0x33f)],_0x28a2f1))==null?void 0x0:_0x5ca2f0[_0x305afd(0x35e)];if(_0x165d9a==null||_0x240d42!==_0x5678b7)continue;let _0x4a4239=(0x0,_0x2ed59f[_0x305afd(0x2f2)])({'unitId':_0x28a2f1,'subUnitId':_0x5678b7,'drawingId':_0x33494e});if(this[_0x305afd(0x38d)][_0x305afd(0x51e)](_0x4a4239)||_0x165d9a[_0x305afd(0x394)][_0x305afd(0x1e9)](_0x4a4239)!=null)continue;let _0x34c7a2=this[_0x305afd(0x482)][_0x305afd(0x26d)](_0x15c8a1);if(_0x34c7a2==null||_0x34c7a2['drawingType']!==_0x35d996['DrawingTypeEnum'][_0x305afd(0x4ba)])continue;let _0x504cc5=_0x34c7a2[_0x305afd(0x3ee)]||{};if((0x0,_0x1f2a15[_0x305afd(0x493)])(_0x504cc5['shapeType'])){let _0x424ffe=_0x34c7a2['transform'];_0x424ffe&&(_0x34c7a2[_0x305afd(0x339)]={..._0x424ffe,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x305afd(0x38d)]['add'](_0x4a4239);try{this[_0x305afd(0x316)][_0x305afd(0x34a)](_0x34c7a2,_0x165d9a[_0x305afd(0x394)]);}finally{this[_0x305afd(0x38d)][_0x305afd(0x292)](_0x4a4239);}queueMicrotask(()=>{const _0xfca8c0=_0x305afd;if(this[_0xfca8c0(0x31b)])return;let _0x10008e=(0x0,_0x2ed59f[_0xfca8c0(0x2f2)])(_0x15c8a1);if(!_0x165d9a[_0xfca8c0(0x394)]['getObjectIncludeInGroup'](_0x10008e))return;let _0xa1f626=this[_0xfca8c0(0x482)][_0xfca8c0(0x26d)](_0x15c8a1);_0xa1f626&&this[_0xfca8c0(0x482)][_0xfca8c0(0x37b)]([_0xa1f626]);});}}[_0x2766d8(0x4a9)](_0x2ec032){const _0x22df2a=_0x2766d8;if(_0x2ec032==null)return;let _0x4f7d90=this['_renderManagerService'][_0x22df2a(0x4ee)](_0x2ec032),_0xaba43a=_0x4f7d90==null?void 0x0:_0x4f7d90[_0x22df2a(0x394)];return _0xaba43a==null?null:{'scene':_0xaba43a,'transformer':_0xaba43a[_0x22df2a(0x40c)]()};}};_0xc945f6=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x1,_0x580d8a['IRenderManagerService']),_0x400e7c(0x2,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2c4f7e['DrawingRenderService'])),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285))],_0xc945f6);let _0x14a565={'normal':{'fill':_0x1f2a15[_0x2766d8(0x540)]['cxnPointFill'],'stroke':_0x1f2a15[_0x2766d8(0x540)][_0x2766d8(0x40e)],'strokeWidth':_0x1f2a15[_0x2766d8(0x540)][_0x2766d8(0x4a2)]},'highlighted':{'fill':_0x2766d8(0x532),'stroke':_0x2766d8(0x1f1),'strokeWidth':0x2}};var _0x574a07=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x5371e5,_0x171441){const _0x3ab853=_0x2766d8;super(_0x5371e5,_0x171441),_0x2a4a7a(this,_0x3ab853(0x571),''),_0x2a4a7a(this,_0x3ab853(0x33b),-0x1),_0x2a4a7a(this,'_unitId',''),_0x2a4a7a(this,_0x3ab853(0x3f6),''),_0x2a4a7a(this,_0x3ab853(0x597),!0x1),_0x171441&&this[_0x3ab853(0x3ce)](_0x171441);}['getConnectionInfo'](){const _0x4e157a=_0x2766d8;return{'unitId':this[_0x4e157a(0x370)],'subUnitId':this[_0x4e157a(0x3f6)],'shapeId':this['_targetShapeId'],'cxnIndex':this[_0x4e157a(0x33b)]};}[_0x2766d8(0x4cf)](_0x306a54){const _0x341d73=_0x2766d8;this[_0x341d73(0x597)]!==_0x306a54&&(this[_0x341d73(0x597)]=_0x306a54,this[_0x341d73(0x3b2)](!0x0));}[_0x2766d8(0x317)](){const _0x2341af=_0x2766d8;return this[_0x2341af(0x597)];}['setShapeProps'](_0x3c9516){const _0x243dfb=_0x2766d8;_0x3c9516[_0x243dfb(0x5c5)]!==void 0x0&&(this[_0x243dfb(0x571)]=_0x3c9516[_0x243dfb(0x5c5)]),_0x3c9516[_0x243dfb(0x378)]!==void 0x0&&(this[_0x243dfb(0x33b)]=_0x3c9516[_0x243dfb(0x378)]),_0x3c9516['unitId']!==void 0x0&&(this[_0x243dfb(0x370)]=_0x3c9516[_0x243dfb(0x280)]),_0x3c9516['subUnitId']!==void 0x0&&(this[_0x243dfb(0x3f6)]=_0x3c9516[_0x243dfb(0x35e)]),_0x3c9516[_0x243dfb(0x317)]!==void 0x0&&(this[_0x243dfb(0x597)]=_0x3c9516[_0x243dfb(0x317)]),this[_0x243dfb(0x3c4)]({'width':_0x3c9516['width']??_0x1f2a15[_0x243dfb(0x540)][_0x243dfb(0x307)]*0x2,'height':_0x3c9516[_0x243dfb(0x3f8)]??_0x1f2a15[_0x243dfb(0x540)][_0x243dfb(0x307)]*0x2});}[_0x2766d8(0x55f)](_0x12d03f){const _0xaaac6=_0x2766d8;let _0x42c23f=this[_0xaaac6(0x597)]?_0x14a565[_0xaaac6(0x2cf)]:_0x14a565['normal'];_0x580d8a[_0xaaac6(0x473)][_0xaaac6(0x505)](_0x12d03f,{'radius':_0x1f2a15['ShapeDefaultConfig']['cxnPointRadius'],'fill':_0x42c23f['fill'],'stroke':_0x42c23f[_0xaaac6(0x3b4)],'strokeWidth':_0x42c23f['strokeWidth'],'evented':!0x0});}};let _0x517ad0=class extends _0x35d996['Disposable']{constructor(_0x27ad61,_0x15d86b,_0x19831d,_0x97b685){const _0xe4a9b0=_0x2766d8;super(),this[_0xe4a9b0(0x587)]=_0x27ad61,this[_0xe4a9b0(0x4bb)]=_0x15d86b,this[_0xe4a9b0(0x482)]=_0x19831d,this[_0xe4a9b0(0x218)]=_0x97b685,_0x2a4a7a(this,'_connectionSiteObjects',[]),_0x2a4a7a(this,_0xe4a9b0(0x512),null),_0x2a4a7a(this,'_highlightedSiteIndex',-0x1),_0x2a4a7a(this,_0xe4a9b0(0x33d),null),_0x2a4a7a(this,'_unitId',''),_0x2a4a7a(this,_0xe4a9b0(0x3f6),''),_0x2a4a7a(this,_0xe4a9b0(0x40b),null);}[_0x2766d8(0x410)](_0x6d6cb8,_0x1c021d,_0x2bfc6a,_0x216a36){const _0x3d2759=_0x2766d8;this[_0x3d2759(0x33d)]=_0x6d6cb8,this[_0x3d2759(0x370)]=_0x1c021d,this[_0x3d2759(0x3f6)]=_0x2bfc6a,this[_0x3d2759(0x40b)]=_0x216a36;}[_0x2766d8(0x398)](_0x42e801){const _0x20413e=_0x2766d8;if(!this[_0x20413e(0x33d)])return null;let _0x3af5aa=this[_0x20413e(0x559)](_0x42e801);return _0x3af5aa?(this[_0x20413e(0x512)]!==_0x3af5aa[_0x20413e(0x2a8)]&&(this[_0x20413e(0x437)](),this['_showConnectionSites'](_0x3af5aa[_0x20413e(0x2a8)],_0x3af5aa[_0x20413e(0x513)]),this[_0x20413e(0x512)]=_0x3af5aa['shapeId']),this[_0x20413e(0x5b9)](_0x42e801)):(this[_0x20413e(0x512)]!==null&&(this['_clearConnectionSites'](),this[_0x20413e(0x512)]=null),null);}[_0x2766d8(0x3ab)](){const _0x26332f=_0x2766d8;this['_clearConnectionSites'](),this[_0x26332f(0x33d)]=null,this[_0x26332f(0x512)]=null,this[_0x26332f(0x520)]=-0x1,this['_draggingConnectorId']=null;}[_0x2766d8(0x411)](){const _0x4bfaf2=_0x2766d8;return this[_0x4bfaf2(0x512)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x4bfaf2(0x512)],'cxnIndex':this[_0x4bfaf2(0x520)]};}[_0x2766d8(0x559)](_0x1a62ce){const _0x95bb87=_0x2766d8;let _0x2ee3f1=this[_0x95bb87(0x482)]['getDrawingData'](this[_0x95bb87(0x370)],this['_subUnitId']);for(let _0x4f7828 of Object[_0x95bb87(0x38e)](_0x2ee3f1)){if(_0x4f7828===this[_0x95bb87(0x40b)]||_0x2ee3f1[_0x4f7828][_0x95bb87(0x313)]!==_0x35d996[_0x95bb87(0x44f)][_0x95bb87(0x4ba)])continue;let _0x44fad8=this[_0x95bb87(0x218)]['getShapeModel'](this[_0x95bb87(0x370)],this['_subUnitId'],_0x4f7828);if(!_0x44fad8||(0x0,_0x1f2a15[_0x95bb87(0x493)])(_0x44fad8['getShapeType']())||_0x44fad8['getConnectionSiteList']()[_0x95bb87(0x2f1)]===0x0||!this[_0x95bb87(0x33d)])continue;let _0x5e199a=(0x0,_0x2ed59f[_0x95bb87(0x2f2)])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x4f7828}),_0x1a7d16=this[_0x95bb87(0x33d)][_0x95bb87(0x1e9)](_0x5e199a);if(!_0x1a7d16)continue;let {left:_0x338fef,top:_0x37fe18,width:_0x217e57,height:_0x11afac}=_0x1a7d16[_0x95bb87(0x2ea)](),_0x31edc3=_0x338fef+_0x217e57/0x2,_0x251cc3=_0x37fe18+_0x11afac/0x2,_0xe3966e=_0x1a7d16['transform'][_0x95bb87(0x2ce)](),_0x34011c=new _0x580d8a[(_0x95bb87(0x1e4))]([_0xe3966e[0x0],_0xe3966e[0x1],_0xe3966e[0x2],_0xe3966e[0x3],_0x31edc3,_0x251cc3]),_0x12f8c0=_0x1a7d16['getParent'](),_0x230daa=(_0x1a7d16[_0x95bb87(0x5aa)]&&(_0x12f8c0==null?void 0x0:_0x12f8c0['classType'])===_0x580d8a[_0x95bb87(0x5db)][_0x95bb87(0x552)]?_0x12f8c0['ancestorTransform'][_0x95bb87(0x497)](_0x34011c):_0x34011c)['invert']()[_0x95bb87(0x3f0)](_0x1a62ce),_0x15a347=_0x217e57/0x2,_0x1d5afe=_0x11afac/0x2;if(_0x230daa['x']>=-_0x15a347-0x5&&_0x230daa['x']<=_0x15a347+0x5&&_0x230daa['y']>=-_0x1d5afe-0x5&&_0x230daa['y']<=_0x1d5afe+0x5)return{'shapeId':_0x4f7828,'shapeModel':_0x44fad8};}return null;}[_0x2766d8(0x5a5)](_0x300432,_0x33e5af){const _0x366d88=_0x2766d8;if(!this['_currentScene'])return;let _0x4ca9ad=(0x0,_0x2ed59f[_0x366d88(0x2f2)])({'unitId':this[_0x366d88(0x370)],'subUnitId':this[_0x366d88(0x3f6)],'drawingId':_0x300432}),_0x20101b=this[_0x366d88(0x33d)]['getObjectIncludeInGroup'](_0x4ca9ad);if(!_0x20101b)return;let {left:_0x2f3377,top:_0x2dba5a,width:_0x3fcb6b,height:_0xe2eb3d}=_0x20101b['getRealBound'](),_0x35a944=_0x2f3377+_0x3fcb6b/0x2,_0x1e8409=_0x2dba5a+_0xe2eb3d/0x2,_0x3856e9=_0x20101b[_0x366d88(0x339)][_0x366d88(0x2ce)](),_0x266cce=new _0x580d8a[(_0x366d88(0x1e4))]([_0x3856e9[0x0],_0x3856e9[0x1],_0x3856e9[0x2],_0x3856e9[0x3],_0x35a944,_0x1e8409]),_0x4c87f6=_0x20101b[_0x366d88(0x358)](),_0x3b51c4=_0x20101b[_0x366d88(0x5aa)]&&(_0x4c87f6==null?void 0x0:_0x4c87f6[_0x366d88(0x3d2)])===_0x580d8a[_0x366d88(0x5db)][_0x366d88(0x552)]?_0x4c87f6[_0x366d88(0x415)][_0x366d88(0x497)](_0x266cce):_0x266cce;_0x33e5af[_0x366d88(0x240)]({'width':_0x3fcb6b,'height':_0xe2eb3d});let _0x18b156=_0x33e5af[_0x366d88(0x31f)]();for(let _0x167cdb of _0x18b156){let _0x293798=_0x167cdb['x']-_0x3fcb6b/0x2,_0x25395b=_0x167cdb['y']-_0xe2eb3d/0x2,_0x5c437b=_0x3b51c4[_0x366d88(0x3f0)]({'x':_0x293798,'y':_0x25395b}),_0x134de7=_0x5c437b['x'],_0x220d1a=_0x5c437b['y'],_0xca3b53=new _0x574a07(_0x366d88(0x29c)+_0x300432+'-'+_0x167cdb[_0x366d88(0x213)],{'left':_0x134de7-_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)],'top':_0x220d1a-_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)],'targetShapeId':_0x300432,'cxnIndex':_0x167cdb[_0x366d88(0x213)],'unitId':this['_unitId'],'subUnitId':this[_0x366d88(0x3f6)],'width':_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)]*0x2,'height':_0x1f2a15[_0x366d88(0x540)][_0x366d88(0x307)]*0x2,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x366d88(0x322)]['push'](_0xca3b53),this[_0x366d88(0x33d)][_0x366d88(0x476)](_0xca3b53,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}[_0x2766d8(0x5b9)](_0x2c2de3){const _0x5aa110=_0x2766d8;let _0x55a875=null,_0x20b689=0x1/0x0,_0x3093d6=null;for(let _0x145adb of this[_0x5aa110(0x322)]){let _0x53307e=_0x145adb[_0x5aa110(0x204)]+_0x1f2a15[_0x5aa110(0x540)]['cxnPointRadius'],_0x3a73e4=_0x145adb['top']+_0x1f2a15[_0x5aa110(0x540)][_0x5aa110(0x307)],_0x2aae60=_0x2c2de3['x']-_0x53307e,_0x263ae9=_0x2c2de3['y']-_0x3a73e4,_0x3f4966=Math[_0x5aa110(0x3c8)](_0x2aae60*_0x2aae60+_0x263ae9*_0x263ae9);_0x3f4966<_0x20b689&&(_0x20b689=_0x3f4966,_0x55a875=_0x145adb,_0x3093d6={'x':_0x53307e,'y':_0x3a73e4});}let _0x57a658=_0x20b689<=0xa&&_0x55a875?_0x55a875[_0x5aa110(0x5d7)]()[_0x5aa110(0x378)]:-0x1;if(_0x57a658!==this[_0x5aa110(0x520)]){for(let _0x5bd86b of this['_connectionSiteObjects']){let _0x20c388=_0x5bd86b[_0x5aa110(0x5d7)]();_0x5bd86b[_0x5aa110(0x4cf)](_0x20c388['cxnIndex']===_0x57a658);}this['_highlightedSiteIndex']=_0x57a658;}if(_0x20b689<=0xa&&_0x55a875&&_0x3093d6){let _0x234ea4=_0x55a875['getConnectionInfo'](),_0x45f9d7=this[_0x5aa110(0x57b)](_0x234ea4[_0x5aa110(0x2a8)],_0x234ea4[_0x5aa110(0x378)]);return{'shapeId':_0x234ea4[_0x5aa110(0x2a8)],'cxnIndex':_0x234ea4[_0x5aa110(0x378)],'unitId':_0x234ea4[_0x5aa110(0x280)],'subUnitId':_0x234ea4[_0x5aa110(0x35e)],'worldPoint':_0x3093d6,'angle':_0x45f9d7};}return null;}[_0x2766d8(0x57b)](_0x595a16,_0x431676){const _0x309fa3=_0x2766d8;let _0x4f9d6c=this['_sheetsShapeService'][_0x309fa3(0x338)](this[_0x309fa3(0x370)],this[_0x309fa3(0x3f6)],_0x595a16);if(!_0x4f9d6c)return 0x0;let _0x2856b2=this[_0x309fa3(0x482)]['getDrawingByParam']({'unitId':this[_0x309fa3(0x370)],'subUnitId':this[_0x309fa3(0x3f6)],'drawingId':_0x595a16});if(!(_0x2856b2!=null&&_0x2856b2[_0x309fa3(0x339)]))return 0x0;let {width:_0x4e0df9=0x0,height:_0x79f5f1=0x0,flipX:_0x1c5404=!0x1,flipY:_0x44955b=!0x1}=_0x2856b2[_0x309fa3(0x339)];_0x4f9d6c[_0x309fa3(0x240)]({'width':_0x4e0df9,'height':_0x79f5f1});let _0x271136=_0x4f9d6c[_0x309fa3(0x31f)]()['find'](_0x893183=>_0x893183[_0x309fa3(0x213)]===_0x431676);if(!_0x271136)return 0x0;let _0x578293=_0x271136[_0x309fa3(0x21b)]/0xea60;return _0x1c5404&&(_0x578293=0xb4-_0x578293),_0x44955b&&(_0x578293=-_0x578293),_0x578293=(_0x578293%0x168+0x168)%0x168,_0x578293;}[_0x2766d8(0x437)](){const _0x337309=_0x2766d8;for(let _0x347d95 of this[_0x337309(0x322)])_0x347d95[_0x337309(0x2a4)]();this[_0x337309(0x322)]=[],this[_0x337309(0x520)]=-0x1;}['dispose'](){this['_clearConnectionSites'](),super['dispose']();}};_0x517ad0=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x580d8a[_0x2766d8(0x266)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x2ed59f[_0x2766d8(0x554)])),_0x400e7c(0x3,(0x0,_0x35d996['Inject'])(_0x565640[_0x2766d8(0x248)]))],_0x517ad0);let _0x3d86f3=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x27f559,_0x29dd4b,_0x233064,_0x3daffa,_0x574497,_0x3bc415,_0x1ddcb3,_0x4d807f){const _0x137ded=_0x2766d8;super(),this[_0x137ded(0x407)]=_0x27f559,this['_sheetClipboardService']=_0x29dd4b,this[_0x137ded(0x47d)]=_0x233064,this[_0x137ded(0x553)]=_0x3daffa,this[_0x137ded(0x22a)]=_0x574497,this[_0x137ded(0x4f6)]=_0x3bc415,this[_0x137ded(0x511)]=_0x1ddcb3,this['_permissions']=_0x4d807f,_0x2a4a7a(this,'_copyInfo',void 0x0),this[_0x137ded(0x4c8)](),this[_0x137ded(0x468)]();}get['_focusedDrawings'](){const _0x2748fb=_0x2766d8;return this[_0x2748fb(0x47d)]['getFocusDrawings']();}[_0x2766d8(0x468)](){const _0x3bd596=_0x2766d8;this[_0x3bd596(0x22a)][_0x3bd596(0x1fb)](({fromUnitId:_0x4e1a0e,fromSubUnitId:_0x553439,toUnitId:_0xe6d2a4,toSubUnitId:_0xdec85a,idMap:_0x5be824})=>{const _0x566f36=_0x3bd596;let _0x365a93=[],_0x5346eb=[];for(let [_0x39d3a7,_0x31441f]of _0x5be824[_0x566f36(0x23f)]()){let _0x280f91=this['_shapeService']['getShapeModel'](_0x4e1a0e,_0x553439,_0x39d3a7);if(!_0x280f91)continue;let _0x36698b=_0x280f91[_0x566f36(0x200)](),_0x269261=JSON[_0x566f36(0x541)](JSON[_0x566f36(0x54b)](_0x280f91[_0x566f36(0x583)]()));if(_0x269261[_0x566f36(0x46d)]){var _0x13b2a9,_0x96a7bd;let _0x3a36fc=(_0x13b2a9=_0x269261[_0x566f36(0x46d)]['from'])==null?void 0x0:_0x13b2a9[_0x566f36(0x2a8)],_0x38bc0b=(_0x96a7bd=_0x269261[_0x566f36(0x46d)]['to'])==null?void 0x0:_0x96a7bd[_0x566f36(0x2a8)],_0x2ff8ae=!_0x3a36fc||_0x5be824[_0x566f36(0x51e)](_0x3a36fc),_0x1a2960=!_0x38bc0b||_0x5be824[_0x566f36(0x51e)](_0x38bc0b);_0x2ff8ae&&_0x3a36fc&&_0x269261[_0x566f36(0x46d)][_0x566f36(0x5d4)]?_0x269261['relation'][_0x566f36(0x5d4)]={..._0x269261[_0x566f36(0x46d)][_0x566f36(0x5d4)],'shapeId':_0x5be824['get'](_0x3a36fc)}:_0x269261['relation']['from']=void 0x0,_0x1a2960&&_0x38bc0b&&_0x269261['relation']['to']?_0x269261[_0x566f36(0x46d)]['to']={..._0x269261[_0x566f36(0x46d)]['to'],'shapeId':_0x5be824[_0x566f36(0x340)](_0x38bc0b)}:_0x269261[_0x566f36(0x46d)]['to']=void 0x0;}_0x365a93[_0x566f36(0x373)]({'id':_0x565640[_0x566f36(0x4bf)]['id'],'params':{'unitId':_0xe6d2a4,'subUnitId':_0xdec85a,'shapeId':_0x31441f,'shapeType':_0x36698b,'shapeData':_0x269261}}),_0x5346eb[_0x566f36(0x373)]({'id':_0x565640[_0x566f36(0x3a9)]['id'],'params':{'unitId':_0xe6d2a4,'subUnitId':_0xdec85a,'shapeId':_0x31441f}});}return{'redos':_0x365a93,'undos':_0x5346eb};});}[_0x2766d8(0x4c8)](){const _0x3e6887=_0x2766d8;this[_0x3e6887(0x271)](this[_0x3e6887(0x467)][_0x3e6887(0x3a6)]({'id':_0x3e6887(0x333),'onBeforeCopyFocusedObject':(_0x5c5b6f,_0x549988,_0x2a7e15)=>{const _0x51f1ac=_0x3e6887;this[_0x51f1ac(0x3fb)]=null;let _0x16ef4a=this['_focusedDrawings'][_0x51f1ac(0x35b)](_0x3b54a=>_0x3b54a[_0x51f1ac(0x313)]===_0x35d996[_0x51f1ac(0x44f)][_0x51f1ac(0x4ba)]);return _0x16ef4a[_0x51f1ac(0x2f1)]!==0x0&&(this['_copyInfo']={'unitId':_0x5c5b6f,'subUnitId':_0x549988,'copyType':_0x2a7e15,'drawings':_0x16ef4a},!0x0);},'onBeforeCopy':(_0x250cd0,_0x118e37,_0x5c0cb4,_0x211cdd)=>{const _0x2de878=_0x3e6887;this[_0x2de878(0x3fb)]=null,this[_0x2de878(0x2dd)](_0x250cd0,_0x118e37,_0x5c0cb4,_0x211cdd);},'onPasteCells':(_0x57ef17,_0x1fcfc6,_0x409447,_0x17e705)=>{const _0x5de46a=_0x3e6887;if(!_0x17e705[_0x5de46a(0x291)]||!_0x57ef17||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x271b39}=_0x17e705;return _0x271b39===_0x590c15[_0x5de46a(0x466)]['DEFAULT_PASTE']?this[_0x5de46a(0x463)](_0x1fcfc6,this['_copyInfo'][_0x5de46a(0x247)]===_0x590c15[_0x5de46a(0x576)]['CUT']):{'redos':[],'undos':[]};}}));}[_0x2766d8(0x2dd)](_0x427690,_0x1eabcc,_0x6fbea0,_0x7e39ec){const _0x252e2d=_0x2766d8;let _0x5eeabc=this['_sheetSkeletonService']['getSkeleton'](_0x427690,_0x1eabcc);if(!_0x5eeabc)return;let _0x3d0cbb=(0x0,_0x2a684c[_0x252e2d(0x5af)])(_0x5eeabc,_0x6fbea0);if(!_0x3d0cbb)return;let {startX:_0x36abf5,endX:_0x4f0f27,startY:_0x2e38a9,endY:_0x44498c}=_0x3d0cbb,_0x57bde7=this[_0x252e2d(0x47d)][_0x252e2d(0x2aa)](_0x427690,_0x1eabcc),_0x4bf017=[];for(let [_0x5d8bb3,_0x1a85b8]of Object[_0x252e2d(0x23f)](_0x57bde7)){if(_0x1a85b8[_0x252e2d(0x313)]!==_0x35d996[_0x252e2d(0x44f)]['DRAWING_SHAPE'])continue;let {transform:_0x47f882}=_0x1a85b8;if(!_0x47f882)continue;let {left:_0x35453d=0x0,top:_0x432510=0x0,width:_0x504d87=0x0,height:_0xef303e=0x0}=_0x47f882;_0x36abf5<=_0x35453d&&_0x4f0f27>=_0x35453d+_0x504d87&&_0x2e38a9<=_0x432510&&_0x44498c>=_0x432510+_0xef303e&&_0x4bf017[_0x252e2d(0x373)](_0x1a85b8);}_0x4bf017['length']>0x0&&(this[_0x252e2d(0x3fb)]={'unitId':_0x427690,'subUnitId':_0x1eabcc,'copyType':_0x7e39ec,'copyRange':_0x6fbea0,'drawings':_0x4bf017});}['_generatePasteMutations'](_0x2841d9,_0x54a6c7){const _0x395cb3=_0x2766d8;var _0x4a7c06,_0x22dd16;let {unitId:_0x406dd3,subUnitId:_0x2c5d06,range:_0x413a62}=_0x2841d9,_0x51c61e=this['_copyInfo'],_0x1750f8=(_0x4a7c06=this[_0x395cb3(0x4f6)]['getUnit'](_0x51c61e[_0x395cb3(0x280)],_0x35d996[_0x395cb3(0x31d)][_0x395cb3(0x3de)]))==null?void 0x0:_0x4a7c06[_0x395cb3(0x456)](_0x51c61e['subUnitId']),_0x56e86c=(_0x22dd16=this[_0x395cb3(0x4f6)][_0x395cb3(0x438)](_0x406dd3,_0x35d996[_0x395cb3(0x31d)][_0x395cb3(0x3de)]))==null?void 0x0:_0x22dd16['getSheetBySheetId'](_0x2c5d06),_0x3ec92d=(_0x1750f8==null?void 0x0:_0x1750f8[_0x395cb3(0x5cf)]()[_0x395cb3(0x1f3)])??_0x35d996[_0x395cb3(0x45d)]['GRID'],_0x26dca7=(_0x56e86c==null?void 0x0:_0x56e86c[_0x395cb3(0x5cf)]()[_0x395cb3(0x1f3)])??_0x35d996['SheetTypes'][_0x395cb3(0x45a)];if(_0x3ec92d===_0x35d996[_0x395cb3(0x45d)][_0x395cb3(0x367)]||_0x26dca7===_0x35d996[_0x395cb3(0x45d)][_0x395cb3(0x367)])return this[_0x395cb3(0x445)](_0x2841d9,_0x54a6c7);let _0x1bff98=this[_0x395cb3(0x407)][_0x395cb3(0x4d9)](_0x406dd3,_0x2c5d06);if(!_0x1bff98)return{'redos':[],'undos':[]};let _0x516afd=(0x0,_0x2a684c[_0x395cb3(0x36c)])(_0x413a62),{unitId:_0x1b8f3c,subUnitId:_0x3701ae,copyRange:_0x13de35,drawings:_0x5e9a39}=this[_0x395cb3(0x3fb)],_0x43623f=this[_0x395cb3(0x407)]['getSkeleton'](_0x1b8f3c,_0x3701ae);if(!_0x43623f)return{'redos':[],'undos':[]};let _0x541eff;if(!_0x13de35){let _0x354387=0x1/0x0,_0x311074=0x1/0x0;for(let _0x452336 of _0x5e9a39){let {left:_0x2480bf=0x0,top:_0x5460c5=0x0}=_0x452336[_0x395cb3(0x339)]??{};_0x2480bf<_0x354387&&(_0x354387=_0x2480bf),_0x5460c5<_0x311074&&(_0x311074=_0x5460c5);}_0x354387!==0x1/0x0&&_0x311074!==0x1/0x0&&(_0x541eff={'left':_0x354387,'top':_0x311074});}let _0x553e16=new Map();if(!_0x54a6c7){for(let _0x2a81dc of _0x5e9a39)_0x553e16[_0x395cb3(0x39d)](_0x2a81dc[_0x395cb3(0x314)],(0x0,_0x35d996[_0x395cb3(0x2f3)])());}let _0x477d51=[],_0x352836=[];for(let _0x90091d of _0x5e9a39){let {drawingId:_0x358121,transform:_0x10dc38,sheetTransform:_0x1ce40b}=_0x90091d;if(!_0x10dc38||!_0x1ce40b)continue;let _0x1e4965=this[_0x395cb3(0x459)]({'transform':_0x10dc38,'sheetTransform':_0x1ce40b},{'skeleton':_0x43623f,'range':_0x13de35},{'skeleton':_0x1bff98,'range':_0x516afd},_0x541eff);if(_0x54a6c7){let {redos:_0x38c082,undos:_0x467b77}=this[_0x395cb3(0x220)]({'fromUnitId':_0x1b8f3c,'fromSubUnitId':_0x3701ae,'toUnitId':_0x406dd3,'toSubUnitId':_0x2c5d06,'drawing':_0x90091d,'newTransforms':_0x1e4965});_0x477d51[_0x395cb3(0x373)](..._0x38c082),_0x352836[_0x395cb3(0x373)](..._0x467b77);continue;}let {redos:_0x481849,undos:_0x49f2c2}=this[_0x395cb3(0x1e8)]({'toUnitId':_0x406dd3,'toSubUnitId':_0x2c5d06,'drawing':_0x90091d,'newTransforms':_0x1e4965,'newDrawingId':_0x553e16['get'](_0x358121),'idMap':_0x553e16});_0x477d51[_0x395cb3(0x373)](..._0x481849),_0x352836['push'](..._0x49f2c2);}return{'redos':_0x477d51,'undos':_0x352836};}['_generateChartSheetCopy'](_0x1802a1,_0x328fab){const _0x32f2ed=_0x2766d8;var _0xc46f0b;if(_0x328fab)throw new _0x35d996['CustomCommandExecutionError'](_0x590c15['SheetPasteCommand']['id']);let {unitId:_0x2a774a,subUnitId:_0x50a932}=_0x1802a1;if(!this[_0x32f2ed(0x40f)][_0x32f2ed(0x5b6)]({'workbookTypes':[_0x2a684c['WorkbookEditablePermission']],'worksheetTypes':[_0x2a684c[_0x32f2ed(0x59b)]]},_0x2a774a,_0x50a932))throw new _0x35d996['CustomCommandExecutionError'](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x20859=(_0xc46f0b=this[_0x32f2ed(0x4f6)][_0x32f2ed(0x438)](_0x2a774a,_0x35d996[_0x32f2ed(0x31d)][_0x32f2ed(0x3de)]))==null?void 0x0:_0xc46f0b[_0x32f2ed(0x456)](_0x50a932),_0x4555bb=_0x20859==null?void 0x0:_0x20859[_0x32f2ed(0x5cf)](),_0xc63d5b=(_0x4555bb==null?void 0x0:_0x4555bb['type'])??_0x35d996['SheetTypes'][_0x32f2ed(0x45a)],_0x51beba=this[_0x32f2ed(0x3fb)],_0x37ecc4=_0x51beba[_0x32f2ed(0x302)];if(!this[_0x32f2ed(0x40f)]['permissionCheckWithoutRange']({'workbookTypes':[_0x2a684c[_0x32f2ed(0x3e5)]],'worksheetTypes':[_0x2a684c['WorksheetCopyPermission']]},_0x51beba[_0x32f2ed(0x280)],_0x51beba[_0x32f2ed(0x35e)])||_0x37ecc4[_0x32f2ed(0x5c8)](_0xba6341=>_0xba6341[_0x32f2ed(0x385)]||!this[_0x32f2ed(0x553)][_0x32f2ed(0x338)](_0x51beba['unitId'],_0x51beba[_0x32f2ed(0x35e)],_0xba6341[_0x32f2ed(0x314)])||!_0x35d996[_0x32f2ed(0x29b)]['diffValue'](_0xba6341,this['_sheetDrawingService'][_0x32f2ed(0x26d)](_0xba6341))))throw new _0x35d996[(_0x32f2ed(0x2cc))](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x2e5722=null;if(_0xc63d5b===_0x35d996[_0x32f2ed(0x45d)][_0x32f2ed(0x367)]){var _0x5478ee;let _0x792e62=(_0x5478ee=this[_0x32f2ed(0x511)][_0x32f2ed(0x4ee)](_0x2a774a))==null?void 0x0:_0x5478ee[_0x32f2ed(0x48a)][_0x32f2ed(0x340)](_0x590c15['SHEET_VIEW_KEY'][_0x32f2ed(0x4a7)]);_0x792e62&&(_0x2e5722=(0x0,_0x47830d[_0x32f2ed(0x348)])(_0x37ecc4,{'left':_0x792e62['left'],'top':_0x792e62[_0x32f2ed(0x414)],'width':_0x792e62[_0x32f2ed(0x49e)],'height':_0x792e62[_0x32f2ed(0x3f8)]},(_0x4555bb==null?void 0x0:_0x4555bb[_0x32f2ed(0x4f5)])===_0x35d996['BooleanNumber'][_0x32f2ed(0x1eb)]));}else{let _0x343f08=this[_0x32f2ed(0x407)]['getSkeleton'](_0x2a774a,_0x50a932),_0x1c26f5=_0x343f08&&(0x0,_0x2a684c[_0x32f2ed(0x5af)])(_0x343f08,(0x0,_0x2a684c[_0x32f2ed(0x36c)])(_0x1802a1[_0x32f2ed(0x2f7)]));if(_0x1c26f5&&_0x37ecc4[_0x32f2ed(0x2f1)]){let _0x31ad95=Math[_0x32f2ed(0x295)](..._0x37ecc4[_0x32f2ed(0x4d8)](_0x192b7d=>_0x192b7d[_0x32f2ed(0x339)]['left'])),_0x22afc8=Math[_0x32f2ed(0x295)](..._0x37ecc4[_0x32f2ed(0x4d8)](_0x4fea8e=>_0x4fea8e[_0x32f2ed(0x339)][_0x32f2ed(0x414)]));_0x2e5722=_0x37ecc4[_0x32f2ed(0x4d8)](_0x17622f=>(0x0,_0x47830d[_0x32f2ed(0x480)])(_0x17622f,{'kind':_0x47830d[_0x32f2ed(0x4d6)][_0x32f2ed(0x1e0)],'bounds':{'left':_0x1c26f5[_0x32f2ed(0x2bc)]+_0x17622f[_0x32f2ed(0x339)][_0x32f2ed(0x204)]-_0x31ad95,'top':_0x1c26f5['startY']+_0x17622f[_0x32f2ed(0x339)][_0x32f2ed(0x414)]-_0x22afc8,'width':_0x17622f['transform']['width'],'height':_0x17622f[_0x32f2ed(0x339)]['height']}},_0x343f08));}}if(!_0x2e5722)throw new _0x35d996['CustomCommandExecutionError'](_0x590c15[_0x32f2ed(0x349)]['id']);let _0x20d35c=new Map(_0x37ecc4[_0x32f2ed(0x4d8)](_0x45b178=>[_0x45b178[_0x32f2ed(0x314)],(0x0,_0x35d996['generateRandomId'])()])),_0x12b209=[],_0x20a5d2=[];for(let [_0x1fbb33,_0x4a804c]of _0x37ecc4[_0x32f2ed(0x23f)]()){let _0xa315cd=_0x2e5722[_0x1fbb33],_0x40b871=this[_0x32f2ed(0x1e8)]({'toUnitId':_0x2a774a,'toSubUnitId':_0x50a932,'drawing':_0x4a804c,'idMap':_0x20d35c,'newDrawingId':_0x20d35c['get'](_0x4a804c['drawingId']),'newTransforms':{'transform':_0xa315cd['transform'],'sheetTransform':_0xa315cd[_0x32f2ed(0x45f)],'axisAlignSheetTransform':_0xa315cd[_0x32f2ed(0x4d5)],'anchorType':_0xa315cd['anchorType']}});_0x12b209[_0x32f2ed(0x373)](..._0x40b871['redos']),_0x20a5d2['unshift'](..._0x40b871['undos']);}return{'redos':_0x12b209,'undos':_0x20a5d2};}[_0x2766d8(0x220)](_0xdbcec7){const _0x55764a=_0x2766d8;let {fromUnitId:_0x368933,fromSubUnitId:_0x1390e4,toUnitId:_0x4738d7,toSubUnitId:_0x173c39,drawing:_0x327942,newTransforms:_0x125df3}=_0xdbcec7,_0x1fedeb={..._0x327942,'unitId':_0x4738d7,'subUnitId':_0x173c39,..._0x125df3};if(_0x4738d7===_0x368933&&_0x173c39===_0x1390e4){let {redo:_0x56d900,undo:_0x2f5741,objects:_0x431b34}=this['_sheetDrawingService'][_0x55764a(0x41b)]([_0x1fedeb]);return{'redos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x2f4)],'op':_0x56d900,'objects':_0x431b34}}],'undos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x2f4)],'op':_0x2f5741,'objects':_0x431b34}}]};}{let _0x340b2d=this[_0x55764a(0x47d)][_0x55764a(0x401)]([_0x327942]),_0x589ede=this[_0x55764a(0x47d)][_0x55764a(0x483)]([_0x1fedeb]),_0x191941=this['_shapeService'][_0x55764a(0x338)](_0x327942[_0x55764a(0x280)],_0x327942['subUnitId'],_0x327942[_0x55764a(0x314)]);if(!_0x191941)return{'redos':[],'undos':[]};let _0x29c17b=_0x191941[_0x55764a(0x200)](),_0x4ce18f=JSON['parse'](JSON[_0x55764a(0x54b)](_0x191941[_0x55764a(0x583)]()));return{'redos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x281)],'op':_0x340b2d[_0x55764a(0x2b7)],'objects':_0x340b2d[_0x55764a(0x23e)]}},{'id':_0x565640['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'shapeId':_0x327942['drawingId']}},{'id':_0x47830d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d[_0x55764a(0x43b)]['INSERT'],'op':_0x589ede[_0x55764a(0x2b7)],'objects':_0x589ede[_0x55764a(0x23e)]}},{'id':_0x565640[_0x55764a(0x4bf)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'shapeId':_0x327942[_0x55764a(0x314)],'shapeType':_0x29c17b,'shapeData':_0x4ce18f}}],'undos':[{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'type':_0x47830d[_0x55764a(0x43b)][_0x55764a(0x25c)],'op':_0x340b2d[_0x55764a(0x2c5)],'objects':_0x340b2d[_0x55764a(0x23e)]}},{'id':_0x565640[_0x55764a(0x4bf)]['id'],'params':{'unitId':_0x368933,'subUnitId':_0x1390e4,'shapeId':_0x327942[_0x55764a(0x314)],'shapeType':_0x29c17b,'shapeData':_0x4ce18f}},{'id':_0x47830d[_0x55764a(0x2e7)]['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'type':_0x47830d['DrawingApplyType']['REMOVE'],'op':_0x589ede[_0x55764a(0x2c5)],'objects':_0x589ede['objects']}},{'id':_0x565640['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x4738d7,'subUnitId':_0x173c39,'shapeId':_0x327942['drawingId']}}]};}}[_0x2766d8(0x1e8)](_0x1f417d){const _0x38b8df=_0x2766d8;let {toUnitId:_0x3a27da,toSubUnitId:_0x2c7688,drawing:_0x52b463,newTransforms:_0x241575,newDrawingId:_0x488cc5,idMap:_0x4896de}=_0x1f417d,_0x2b9b28={..._0x52b463,'unitId':_0x3a27da,'subUnitId':_0x2c7688,'drawingId':_0x488cc5,..._0x241575},{redo:_0x2532a1,undo:_0x3fb0b8,objects:_0x45caa7}=this[_0x38b8df(0x47d)][_0x38b8df(0x483)]([_0x2b9b28]),_0x500b54=this[_0x38b8df(0x553)][_0x38b8df(0x338)](_0x52b463[_0x38b8df(0x280)],_0x52b463[_0x38b8df(0x35e)],_0x52b463[_0x38b8df(0x314)]);if(!_0x500b54)return{'redos':[],'undos':[]};let _0x43f49c=_0x500b54['getShapeType'](),_0xc91e1e=JSON['parse'](JSON[_0x38b8df(0x54b)](_0x500b54[_0x38b8df(0x583)]()));if(_0xc91e1e[_0x38b8df(0x46d)]){var _0x13a984,_0x7ad40;let _0xba161a=(_0x13a984=_0xc91e1e['relation'][_0x38b8df(0x5d4)])==null?void 0x0:_0x13a984[_0x38b8df(0x2a8)],_0x40cacc=(_0x7ad40=_0xc91e1e[_0x38b8df(0x46d)]['to'])==null?void 0x0:_0x7ad40['shapeId'],_0x4bb2fe=!_0xba161a||_0x4896de[_0x38b8df(0x51e)](_0xba161a),_0x2a0def=!_0x40cacc||_0x4896de['has'](_0x40cacc);_0x4bb2fe&&_0xba161a&&_0xc91e1e['relation'][_0x38b8df(0x5d4)]?_0xc91e1e['relation'][_0x38b8df(0x5d4)]={..._0xc91e1e[_0x38b8df(0x46d)]['from'],'shapeId':_0x4896de[_0x38b8df(0x340)](_0xba161a)}:_0xc91e1e[_0x38b8df(0x46d)]['from']=void 0x0,_0x2a0def&&_0x40cacc&&_0xc91e1e[_0x38b8df(0x46d)]['to']?_0xc91e1e['relation']['to']={..._0xc91e1e[_0x38b8df(0x46d)]['to'],'shapeId':_0x4896de[_0x38b8df(0x340)](_0x40cacc)}:_0xc91e1e['relation']['to']=void 0x0;}return{'redos':[{'id':_0x47830d[_0x38b8df(0x2e7)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'type':_0x47830d['DrawingApplyType']['INSERT'],'op':_0x2532a1,'objects':_0x45caa7}},{'id':_0x565640[_0x38b8df(0x4bf)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'shapeId':_0x488cc5,'shapeType':_0x43f49c,'shapeData':_0xc91e1e}}],'undos':[{'id':_0x47830d[_0x38b8df(0x2e7)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'type':_0x47830d[_0x38b8df(0x43b)][_0x38b8df(0x281)],'op':_0x3fb0b8,'objects':_0x45caa7}},{'id':_0x565640[_0x38b8df(0x3a9)]['id'],'params':{'unitId':_0x3a27da,'subUnitId':_0x2c7688,'shapeId':_0x488cc5}}]};}[_0x2766d8(0x459)](_0x5ba76f,_0x4eb1ed,_0x4a5716,_0x57c129){const _0x44e2f0=_0x2766d8;let {range:_0x4eb5b7,skeleton:_0x5362ac}=_0x4eb1ed,{range:_0x5ca8be,skeleton:_0x269e05}=_0x4a5716,{transform:_0x4aaece,sheetTransform:_0x93f471}=_0x5ba76f,_0x549e64={..._0x4aaece};if(_0x4eb5b7){let _0x495020=(0x0,_0x2a684c['attachRangeWithCoord'])(_0x5362ac,_0x4eb5b7),_0x201b76=(0x0,_0x2a684c[_0x44e2f0(0x5af)])(_0x269e05,_0x5ca8be);if(_0x495020&&_0x201b76){let _0x2d7136=_0x201b76[_0x44e2f0(0x2bc)]-_0x495020[_0x44e2f0(0x2bc)],_0x2bcf5e=_0x201b76[_0x44e2f0(0x27f)]-_0x495020[_0x44e2f0(0x27f)];_0x549e64[_0x44e2f0(0x204)]=(_0x549e64[_0x44e2f0(0x204)]??0x0)+_0x2d7136,_0x549e64[_0x44e2f0(0x414)]=(_0x549e64[_0x44e2f0(0x414)]??0x0)+_0x2bcf5e;}}else{let _0x16bbd=(0x0,_0x2a684c[_0x44e2f0(0x5af)])(_0x269e05,_0x5ca8be);if(_0x57c129&&_0x16bbd){let _0x377ce0=(_0x549e64[_0x44e2f0(0x204)]??0x0)-_0x57c129[_0x44e2f0(0x204)],_0x3885a2=(_0x549e64[_0x44e2f0(0x414)]??0x0)-_0x57c129[_0x44e2f0(0x414)];_0x549e64[_0x44e2f0(0x204)]=_0x16bbd[_0x44e2f0(0x2bc)]+_0x377ce0,_0x549e64['top']=_0x16bbd[_0x44e2f0(0x27f)]+_0x3885a2;}else _0x549e64['left']=_0x16bbd==null?void 0x0:_0x16bbd[_0x44e2f0(0x2bc)],_0x549e64[_0x44e2f0(0x414)]=_0x16bbd==null?void 0x0:_0x16bbd['startY'];}return{'transform':_0x549e64,'sheetTransform':(0x0,_0x47830d[_0x44e2f0(0x4aa)])(_0x549e64,_0x269e05)??_0x93f471};}};_0x3d86f3=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x4e6)])),_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x32f)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x47830d[_0x2766d8(0x312)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x353806[_0x2766d8(0x562)])),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x6,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x7,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x518)]))],_0x3d86f3);var _0x364053=class extends _0x580d8a[_0x2766d8(0x5e1)]{constructor(_0x510a69,_0x3807b0){const _0x3d5df7=_0x2766d8;super(_0x510a69,_0x3807b0),_0x2a4a7a(this,_0x3d5df7(0x2a9),null),_0x2a4a7a(this,_0x3d5df7(0x2e0),null),_0x2a4a7a(this,_0x3d5df7(0x370),null),_0x2a4a7a(this,'_subUnitId',null),_0x2a4a7a(this,_0x3d5df7(0x362),!0x1),_0x3807b0&&this[_0x3d5df7(0x3ce)](_0x3807b0);}['getDrawingSearch'](){const _0x17176f=_0x2766d8;return{'unitId':this[_0x17176f(0x370)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x17176f(0x2a9)]};}[_0x2766d8(0x3ce)](_0x1eb880){const _0x55a170=_0x2766d8;_0x1eb880[_0x55a170(0x2a8)]!==void 0x0&&(this[_0x55a170(0x2a9)]=_0x1eb880['shapeId']),_0x1eb880[_0x55a170(0x280)]!==void 0x0&&(this[_0x55a170(0x370)]=_0x1eb880[_0x55a170(0x280)]),_0x1eb880['subUnitId']!==void 0x0&&(this[_0x55a170(0x3f6)]=_0x1eb880[_0x55a170(0x35e)]),_0x1eb880['isStartConnectorPoint']!==void 0x0&&(this[_0x55a170(0x362)]=_0x1eb880[_0x55a170(0x46a)]),this[_0x55a170(0x3c4)]({'width':_0x1eb880[_0x55a170(0x49e)],'height':_0x1eb880[_0x55a170(0x3f8)]});}[_0x2766d8(0x55f)](_0x47e8af){const _0x3423a4=_0x2766d8;_0x580d8a[_0x3423a4(0x473)]['drawWith'](_0x47e8af,{'radius':_0x1f2a15[_0x3423a4(0x540)][_0x3423a4(0x307)],'fill':_0x1f2a15[_0x3423a4(0x540)][_0x3423a4(0x37d)],'stroke':_0x1f2a15['ShapeDefaultConfig'][_0x3423a4(0x40e)],'strokeWidth':_0x1f2a15[_0x3423a4(0x540)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x243495=class extends _0x35d996['Disposable']{constructor(_0xa305d4,_0xf5042c,_0x1c180b,_0x314a67,_0xf103e1,_0x3f2a06,_0x125ffb,_0x4ed74d){const _0x392d2d=_0x2766d8;super(),this[_0x392d2d(0x587)]=_0xa305d4,this['_commandService']=_0xf5042c,this['_renderManagerService']=_0x1c180b,this['_drawingManagerService']=_0x314a67,this['_univerInstanceService']=_0xf103e1,this[_0x392d2d(0x218)]=_0x3f2a06,this[_0x392d2d(0x1ef)]=_0x125ffb,this['_sheetBasicShapeConnectionPointController']=_0x4ed74d,_0x2a4a7a(this,_0x392d2d(0x2bb),void 0x0),_0x2a4a7a(this,'_unitId',void 0x0),_0x2a4a7a(this,_0x392d2d(0x3f6),void 0x0),_0x2a4a7a(this,_0x392d2d(0x303),[]),_0x2a4a7a(this,_0x392d2d(0x472),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x2a4a7a(this,'_activeShapeModel',void 0x0),_0x2a4a7a(this,'_isConnecting',!0x1),_0x2a4a7a(this,_0x392d2d(0x5e3),!0x1),_0x2a4a7a(this,'_hasReset',!0x1),_0x2a4a7a(this,_0x392d2d(0x4ca),void 0x0),_0x2a4a7a(this,_0x392d2d(0x1f0),void 0x0),_0x2a4a7a(this,'_currentConnectionTarget',null),this[_0x392d2d(0x5d9)]();}[_0x2766d8(0x5d9)](){const _0x8ba931=_0x2766d8;this[_0x8ba931(0x425)](),this[_0x8ba931(0x2a5)]();}[_0x2766d8(0x578)](){const _0x50d753=_0x2766d8;if(!this[_0x50d753(0x370)]||!this[_0x50d753(0x3f6)]||!this['_activeShapeId'])return;let _0x5e72ce={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x50d753(0x2bb)]},{transform:_0x106049}=this['_drawingManagerService'][_0x50d753(0x26d)](_0x5e72ce);if(_0x106049)return{'left':_0x106049[_0x50d753(0x204)]||0x0,'top':_0x106049[_0x50d753(0x414)]||0x0,'width':_0x106049[_0x50d753(0x49e)]||0x0,'height':_0x106049[_0x50d753(0x3f8)]||0x0,'flipX':_0x106049['flipX']||!0x1,'flipY':_0x106049[_0x50d753(0x21d)]||!0x1,'angle':_0x106049[_0x50d753(0x55b)]};}[_0x2766d8(0x514)](){const _0x5e6288=_0x2766d8;if(this['_unitId']===void 0x0||this[_0x5e6288(0x3f6)]===void 0x0||this[_0x5e6288(0x2bb)]===void 0x0)return;let _0x462d63=this[_0x5e6288(0x4bb)][_0x5e6288(0x4ee)](this['_unitId']);if(!_0x462d63||!_0x462d63[_0x5e6288(0x28f)](_0x590c15[_0x5e6288(0x599)])['getCurrentSkeleton']())return;let {scene:_0x481952}=_0x462d63,_0x137815=this[_0x5e6288(0x578)]();if(!_0x137815)return;let _0x1f09d5=this['_sheetsShapeService'][_0x5e6288(0x338)](this['_unitId'],this[_0x5e6288(0x3f6)],this[_0x5e6288(0x2bb)]);if(!_0x1f09d5||!(0x0,_0x1f2a15[_0x5e6288(0x493)])(_0x1f09d5[_0x5e6288(0x200)]()))return;let _0x204267=_0x1f09d5[_0x5e6288(0x443)]();if(_0x204267[_0x5e6288(0x2f1)]<0x2)return;let _0x48b2b8=new _0x1f2a15['ConnectorCoordinateTransform'](_0x137815),_0x56f56b=_0x204267[0x0],_0x5825ba=_0x204267[_0x204267['length']-0x1],_0x14d620=_0x48b2b8[_0x5e6288(0x5d3)](_0x56f56b),_0x80245e=_0x48b2b8[_0x5e6288(0x5d3)](_0x5825ba);this[_0x5e6288(0x3df)](_0x481952,{..._0x14d620},!0x0),this['_addShapeConnectorHandlerObject'](_0x481952,{..._0x80245e},!0x1);}[_0x2766d8(0x3df)](_0x575840,_0x44f461,_0x18c253){const _0x395975=_0x2766d8;if(this[_0x395975(0x2bb)]===void 0x0||this[_0x395975(0x370)]===void 0x0||this[_0x395975(0x3f6)]===void 0x0)return;let _0x30fa4e='connector-handler-'+this[_0x395975(0x370)]+'-'+this[_0x395975(0x3f6)]+'-'+this[_0x395975(0x2bb)]+'-'+(_0x18c253?'start':_0x395975(0x250)),_0x3a0259=_0x575840['getObjectIncludeInGroup'](_0x30fa4e);if(_0x3a0259){_0x3a0259[_0x395975(0x3c4)]({'left':_0x44f461['x']-_0x1f2a15[_0x395975(0x540)]['cxnPointRadius'],'top':_0x44f461['y']-_0x1f2a15['ShapeDefaultConfig'][_0x395975(0x307)]});return;}let _0x6656cd=new _0x364053(_0x30fa4e,{'left':_0x44f461['x']-_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)],'top':_0x44f461['y']-_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)],'shapeId':this[_0x395975(0x2bb)],'unitId':this['_unitId'],'subUnitId':this[_0x395975(0x3f6)],'isStartConnectorPoint':_0x18c253,'width':_0x1f2a15['ShapeDefaultConfig'][_0x395975(0x307)]*0x2,'height':_0x1f2a15[_0x395975(0x540)][_0x395975(0x307)]*0x2,'zIndex':_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x395975(0x303)][_0x395975(0x373)](_0x6656cd),this[_0x395975(0x47e)](_0x6656cd,_0x575840,_0x18c253),_0x575840[_0x395975(0x476)](_0x6656cd,_0x580d8a['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x2766d8(0x3fe)](_0x151118,_0x2de304){const _0x575d14=_0x2766d8;var _0x5d2966;let _0x2cc35f={'x':0x0,'y':0x0};if(!_0x151118||!_0x2de304)return _0x2cc35f;let _0x54084f=this[_0x575d14(0x4bb)][_0x575d14(0x4ee)](_0x151118);if(!_0x54084f||!_0x54084f[_0x575d14(0x28f)](_0x590c15[_0x575d14(0x599)])[_0x575d14(0x4d9)](_0x2de304))return _0x2cc35f;let _0x4bc443=_0x54084f[_0x575d14(0x28f)](_0x590c15[_0x575d14(0x258)]),_0x145bcc=_0x4bc443==null?void 0x0:_0x4bc443[_0x575d14(0x492)]();if(!_0x145bcc)return _0x2cc35f;let _0x522700=(_0x5d2966=this['_univerInstanceService'][_0x575d14(0x438)](_0x151118))==null?void 0x0:_0x5d2966[_0x575d14(0x456)](_0x2de304);if(!_0x522700)return _0x2cc35f;let _0x323efb=(0x0,_0x590c15['getViewportByCell'])(_0x145bcc[_0x575d14(0x474)],_0x145bcc[_0x575d14(0x527)],_0x54084f[_0x575d14(0x394)],_0x522700);return _0x323efb?{'x':_0x323efb['viewportScrollX'],'y':_0x323efb['viewportScrollY']}:_0x2cc35f;}[_0x2766d8(0x4fe)](_0x1ba931,_0x3cba0c){const _0x4d4980=_0x2766d8;var _0x124357;let _0x5f229a=(_0x124357=this[_0x4d4980(0x251)][_0x4d4980(0x438)](_0x1ba931))==null?void 0x0:_0x124357[_0x4d4980(0x456)](_0x3cba0c);return(_0x5f229a==null?void 0x0:_0x5f229a['getZoomRatio']())??0x1;}[_0x2766d8(0x2e8)](_0x292fb5,_0x136e3a,_0x13a6d1,_0x560638,_0x1051bc){const _0x2ec278=_0x2766d8;this[_0x2ec278(0x4ca)][_0x2ec278(0x2c9)](),this[_0x2ec278(0x1f0)][_0x2ec278(0x2c9)](),this[_0x2ec278(0x1ef)][_0x2ec278(0x2b2)]();let _0x1b888b=this[_0x2ec278(0x390)];this[_0x2ec278(0x355)][_0x2ec278(0x3ab)]();let _0x462e61=this[_0x2ec278(0x3fe)](this['_unitId'],this[_0x2ec278(0x3f6)]),_0x14e1a9=this['_getZoomRatio'](this['_unitId'],this[_0x2ec278(0x3f6)]),_0x449fba={'x':_0x13a6d1[_0x2ec278(0x300)]/_0x14e1a9+_0x462e61['x'],'y':_0x13a6d1[_0x2ec278(0x4e8)]/_0x14e1a9+_0x462e61['y']},_0xf5d05=_0x1b888b?_0x1b888b[_0x2ec278(0x591)]:_0x449fba,_0x1026b4=_0x560638?this[_0x2ec278(0x5a7)][_0x2ec278(0x361)]():this[_0x2ec278(0x5a7)][_0x2ec278(0x42c)](),_0x10a686=this[_0x2ec278(0x5a7)][_0x2ec278(0x200)]();_0x1026b4?this[_0x2ec278(0x3bd)](_0x1026b4,_0xf5d05,_0x560638,_0x1b888b,_0x1051bc):this['_handleFreeEndpointPointerUp'](_0x136e3a,_0xf5d05,_0x560638,_0x1b888b,_0x1051bc,_0x10a686),this['_isConnecting']=!0x1,this[_0x2ec278(0x26b)]=!0x1,this['_currentConnectionTarget']=null,_0x292fb5['enableObjectsEvent']();}[_0x2766d8(0x496)](_0x2dd287,_0x93a139,_0x596760,_0x993644,_0x3a4019,_0x5dc273){const _0x1c50ff=_0x2766d8;let _0x383a7f=_0x5dc273===_0x1f2a15[_0x1c50ff(0x224)][_0x1c50ff(0x389)]||_0x5dc273===_0x1f2a15[_0x1c50ff(0x224)]['StraightConnector1'],_0x2ff080=_0x596760?_0x93a139:_0x2dd287,_0x218530=_0x596760?_0x2dd287:_0x93a139,_0x3b0b23=this[_0x1c50ff(0x5a7)][_0x1c50ff(0x443)](),_0x583d97=this[_0x1c50ff(0x5a7)][_0x1c50ff(0x200)](),_0x360136=(0x0,_0x1f2a15['isCurvedConnectorShape'])(_0x583d97),_0x51f41c=_0x1f2a15['ConnectorCoordinateTransform'][_0x1c50ff(0x550)](_0x3b0b23,_0x360136),_0x4b2a67=_0x383a7f?_0x1f2a15[_0x1c50ff(0x396)][_0x1c50ff(0x4b3)](_0x2ff080,_0x218530):_0x1f2a15['ConnectorCoordinateTransform'][_0x1c50ff(0x40d)](_0x2dd287,_0x93a139,_0x596760,_0x51f41c);_0x993644?this[_0x1c50ff(0x4e1)](_0x4b2a67,_0x993644,_0x596760,_0x3a4019):this['_executeResizeCommand'](_0x4b2a67,_0x3a4019);}[_0x2766d8(0x3bd)](_0x668db4,_0x453afd,_0x270e6c,_0x13cb88,_0x50e7ab){const _0x310af8=_0x2766d8;let _0x4dbfff=this['_getConnectPointInfo'](_0x668db4);if(!_0x4dbfff)return;let _0x1f7f4d=_0x13cb88?_0x13cb88[_0x310af8(0x55b)]:this['_calculateFreeEndpointAngle'](_0x4dbfff[_0x310af8(0x515)],_0x453afd),_0x1346c3;if(_0x13cb88){let _0x84cc11=this['_drawingManagerService'][_0x310af8(0x26d)]({'unitId':_0x13cb88['unitId'],'subUnitId':_0x13cb88[_0x310af8(0x35e)],'drawingId':_0x13cb88[_0x310af8(0x2a8)]});if(_0x84cc11!=null&&_0x84cc11[_0x310af8(0x339)]){let {left:_0x2b4695=0x0,top:_0x5e77c4=0x0,width:_0x49b751=0x0,height:_0x29629d=0x0,angle:_0x8cb3da}=_0x84cc11[_0x310af8(0x339)];_0x1346c3=(0x0,_0x1f2a15[_0x310af8(0x525)])({'left':_0x2b4695,'top':_0x5e77c4,'width':_0x49b751,'height':_0x29629d},_0x8cb3da||0x0);}else _0x1346c3={'left':_0x453afd['x'],'top':_0x453afd['y'],'width':0x0,'height':0x0};}else _0x1346c3={'left':_0x453afd['x'],'top':_0x453afd['y'],'width':0x0,'height':0x0};let _0x355447={'point':_0x453afd,'angle':_0x1f7f4d,'bounds':_0x1346c3},_0xbf4164=_0x270e6c?_0x355447:_0x4dbfff,_0x160ee1=_0x270e6c?_0x4dbfff:_0x355447,_0x2eff44=this['_activeShapeModel'][_0x310af8(0x200)](),_0x50c47c=(0x0,_0x1f2a15[_0x310af8(0x449)])(_0xbf4164,_0x160ee1,_0x2eff44);this[_0x310af8(0x5a7)][_0x310af8(0x232)]();let _0x553c71=(0x0,_0x1f2a15[_0x310af8(0x500)])(_0x50c47c,_0x2eff44);_0x13cb88?this['_executeConnectedRouteConnectionCommand'](_0x553c71,_0x13cb88,_0x668db4,_0x270e6c,_0x50e7ab):this[_0x310af8(0x457)](_0x553c71,_0x668db4,_0x270e6c,_0x50e7ab);}[_0x2766d8(0x4e1)](_0x166c8f,_0xd27bc2,_0x1ebfb8,_0x10e19c){const _0x1210db=_0x2766d8;let _0x5e08df=this[_0x1210db(0x5a7)][_0x1210db(0x583)]()[_0x1210db(0x46d)],_0x4149ae={..._0x5e08df},_0x1fd1c9={'shapeId':_0xd27bc2[_0x1210db(0x2a8)],'cxnIndex':_0xd27bc2[_0x1210db(0x378)]};_0x1ebfb8?_0x4149ae[_0x1210db(0x5d4)]=_0x1fd1c9:_0x4149ae['to']=_0x1fd1c9;let _0xbb363d=this[_0x1210db(0x5a7)][_0x1210db(0x200)](),_0x245cad=(0x0,_0x1f2a15['computeConnectorRouteLayout'])(_0x166c8f[_0x1210db(0x4df)],_0xbb363d),_0x2f79e3={'unitId':this[_0x1210db(0x370)],'subUnitId':this[_0x1210db(0x3f6)],'connectorShapeId':this['_activeShapeId'],'width':_0x166c8f[_0x1210db(0x45c)][_0x1210db(0x49e)],'height':_0x166c8f['worldRect'][_0x1210db(0x3f8)],'left':_0x166c8f[_0x1210db(0x45c)]['left'],'top':_0x166c8f[_0x1210db(0x45c)]['top'],'flipX':_0x166c8f[_0x1210db(0x45c)][_0x1210db(0x4f7)]||!0x1,'flipY':_0x166c8f[_0x1210db(0x45c)]['flipY']||!0x1,'newAdjustValues':_0x245cad['adjustValues'],'oldAdjustValues':_0x10e19c,'oldRelation':_0x5e08df,'newRelation':_0x4149ae,'newLineType':_0x245cad[_0x1210db(0x574)],'oldLineType':_0xbb363d};this[_0x1210db(0x54f)][_0x1210db(0x3d1)](_0x565640[_0x1210db(0x50b)]['id'],_0x2f79e3);}[_0x2766d8(0x503)](_0x1176b1,_0x276197){const _0x4b6127=_0x2766d8;let _0x40ce6e=this[_0x4b6127(0x5a7)][_0x4b6127(0x200)](),_0x26a911=(0x0,_0x1f2a15[_0x4b6127(0x500)])(_0x1176b1[_0x4b6127(0x4df)],_0x40ce6e),_0x3cf758={'unitId':this[_0x4b6127(0x370)],'subUnitId':this[_0x4b6127(0x3f6)],'shapeId':this['_activeShapeId'],'width':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x49e)],'height':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x3f8)],'left':_0x1176b1['worldRect'][_0x4b6127(0x204)],'top':_0x1176b1[_0x4b6127(0x45c)]['top'],'flipX':_0x1176b1[_0x4b6127(0x45c)][_0x4b6127(0x4f7)]||!0x1,'flipY':_0x1176b1[_0x4b6127(0x45c)]['flipY']||!0x1,'angle':_0x1176b1[_0x4b6127(0x45c)]['angle']||0x0,'newAdjustValues':_0x26a911['adjustValues'],'oldAdjustValues':_0x276197,'newLineType':_0x26a911[_0x4b6127(0x574)],'oldLineType':_0x40ce6e};this[_0x4b6127(0x54f)][_0x4b6127(0x3d1)](_0x565640['UpdateLineShapeResizeCommand']['id'],_0x3cf758);}['_executeConnectedRouteConnectionCommand'](_0xc1e370,_0x1547ea,_0x52a056,_0xb48573,_0x457b52){const _0x3e679e=_0x2766d8;let _0x1ab40b=this['_activeShapeModel']['getShapeData']()[_0x3e679e(0x46d)],_0x4f4612={..._0x1ab40b},_0x401dc1={'shapeId':_0x1547ea[_0x3e679e(0x2a8)],'cxnIndex':_0x1547ea[_0x3e679e(0x378)]};_0xb48573?(_0x4f4612['from']=_0x401dc1,_0x4f4612['to']=_0x52a056):(_0x4f4612[_0x3e679e(0x5d4)]=_0x52a056,_0x4f4612['to']=_0x401dc1);let _0x21c677={'unitId':this[_0x3e679e(0x370)],'subUnitId':this[_0x3e679e(0x3f6)],'connectorShapeId':this[_0x3e679e(0x2bb)],'width':_0xc1e370['worldRect'][_0x3e679e(0x49e)],'height':_0xc1e370['worldRect'][_0x3e679e(0x3f8)],'left':_0xc1e370['worldRect'][_0x3e679e(0x204)],'top':_0xc1e370[_0x3e679e(0x45c)][_0x3e679e(0x414)],'flipX':_0xc1e370['worldRect'][_0x3e679e(0x4f7)]||!0x1,'flipY':_0xc1e370['worldRect'][_0x3e679e(0x21d)]||!0x1,'oldAdjustValues':_0x457b52,'newAdjustValues':_0xc1e370[_0x3e679e(0x5d5)],'newLineType':_0xc1e370[_0x3e679e(0x574)],'rotation':_0xc1e370[_0x3e679e(0x44b)],'oldRelation':_0x1ab40b,'newRelation':_0x4f4612};this['_commandService'][_0x3e679e(0x3d1)](_0x565640['UpdateConnectorRelationCommand']['id'],_0x21c677);}['_executeConnectedRouteResizeCommand'](_0x243384,_0x3bb718,_0x377b16,_0x5057c9){const _0x5708e9=_0x2766d8;let _0x184b91=this[_0x5708e9(0x5a7)][_0x5708e9(0x583)]()[_0x5708e9(0x46d)],_0x584d2d={};_0x377b16?(_0x584d2d['to']=_0x3bb718,_0x584d2d[_0x5708e9(0x5d4)]=void 0x0):(_0x584d2d[_0x5708e9(0x5d4)]=_0x3bb718,_0x584d2d['to']=void 0x0);let _0x583ae5={'unitId':this[_0x5708e9(0x370)],'subUnitId':this[_0x5708e9(0x3f6)],'connectorShapeId':this[_0x5708e9(0x2bb)],'width':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x49e)],'height':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x3f8)],'left':_0x243384['worldRect']['left'],'top':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x414)],'flipX':_0x243384['worldRect'][_0x5708e9(0x4f7)]||!0x1,'flipY':_0x243384[_0x5708e9(0x45c)][_0x5708e9(0x21d)]||!0x1,'oldAdjustValues':_0x5057c9,'newAdjustValues':_0x243384['adjustValues'],'newLineType':_0x243384['lineType'],'rotation':_0x243384[_0x5708e9(0x44b)],'oldRelation':_0x184b91,'newRelation':_0x584d2d};this[_0x5708e9(0x54f)][_0x5708e9(0x3d1)](_0x565640[_0x5708e9(0x50b)]['id'],_0x583ae5);}['_attachConnectorObjectEvent'](_0x3cd7c0,_0x523826,_0x3375be){const _0x418d34=_0x2766d8;this['disposeWithMe']((0x0,_0x35d996['toDisposable'])(_0x3cd7c0['onPointerDown$'][_0x418d34(0x1dd)]((_0x4d5d37,_0x40a5e7)=>{const _0x38b21a=_0x418d34;let _0x3fc296=_0x3cd7c0[_0x38b21a(0x4ce)]();if(this['_activeShapeModel']=this[_0x38b21a(0x218)]['getShapeModel'](_0x3fc296[_0x38b21a(0x280)],_0x3fc296[_0x38b21a(0x35e)],_0x3fc296[_0x38b21a(0x314)]),!this[_0x38b21a(0x5a7)])return;let _0x48262c={};this['_activeShapeModel'][_0x38b21a(0x30f)]()[_0x38b21a(0x528)](_0x360891=>{const _0x2fd4fd=_0x38b21a;let _0x36f6c8=this[_0x2fd4fd(0x5a7)][_0x2fd4fd(0x28b)](_0x360891);_0x36f6c8!==void 0x0&&(_0x48262c[_0x360891]=_0x36f6c8);});let _0x9fff48=this[_0x38b21a(0x578)]();if(!_0x9fff48)return;this[_0x38b21a(0x472)]={..._0x9fff48};let _0x5bb2b1=new _0x1f2a15[(_0x38b21a(0x396))](this['_baseDrawingRect']),_0x13f850=(0x0,_0x2ed59f[_0x38b21a(0x2f2)])({'unitId':this[_0x38b21a(0x370)],'subUnitId':this[_0x38b21a(0x3f6)],'drawingId':this['_activeShapeId']}),_0x136bc7=_0x523826['getObjectIncludeInGroup'](_0x13f850);this[_0x38b21a(0x579)]=!0x0,_0x523826[_0x38b21a(0x4fa)](),this['_sheetBasicShapeConnectionPointController'][_0x38b21a(0x410)](_0x523826,this['_unitId'],this['_subUnitId'],this[_0x38b21a(0x2bb)]),this[_0x38b21a(0x390)]=null;let _0x290122=this['_activeShapeModel']['getConnectorLinePoints'](),_0x36ef0e=_0x290122[0x0],_0x101a11=_0x290122[_0x290122['length']-0x1],_0x178593=_0x3375be?_0x5bb2b1[_0x38b21a(0x5d3)](_0x101a11):_0x5bb2b1[_0x38b21a(0x5d3)](_0x36ef0e);this[_0x38b21a(0x4ca)]=_0x523826[_0x38b21a(0x5dc)][_0x38b21a(0x1dd)]((_0x4bcd32,_0x4c02fa)=>{const _0x578f25=_0x38b21a;if(!this[_0x578f25(0x579)]||!this['_activeShapeModel'])return;this[_0x578f25(0x26b)]||=(this['_sheetShapeAdjustController']['clearAdjustControls'](),this[_0x578f25(0x5a7)][_0x578f25(0x352)](),!0x0);let _0x42fec2=this[_0x578f25(0x3fe)](this[_0x578f25(0x370)],this[_0x578f25(0x3f6)]),_0x17524d=this[_0x578f25(0x4fe)](this[_0x578f25(0x370)],this[_0x578f25(0x3f6)]),_0x253051={'x':_0x4bcd32[_0x578f25(0x300)]/_0x17524d+_0x42fec2['x'],'y':_0x4bcd32[_0x578f25(0x4e8)]/_0x17524d+_0x42fec2['y']},_0x3bf26f=this['_sheetBasicShapeConnectionPointController'][_0x578f25(0x398)](_0x253051);if(_0x3bf26f){let {shapeId:_0x5ad233,unitId:_0x6fe72b,subUnitId:_0x58fe1f}=_0x3bf26f;if(_0x5ad233&&_0x6fe72b&&_0x58fe1f){let _0x1b8243=(0x0,_0x2ed59f[_0x578f25(0x2f2)])({'unitId':_0x6fe72b,'subUnitId':_0x58fe1f,'drawingId':_0x5ad233});_0x3bf26f['angle']=(_0x523826['getObjectIncludeInGroup'](_0x1b8243)[_0x578f25(0x55b)]||0x0)+_0x3bf26f[_0x578f25(0x55b)];}}this['_currentConnectionTarget']=_0x3bf26f;let _0x5e367a=_0x3375be?this['_activeShapeModel'][_0x578f25(0x361)]():this[_0x578f25(0x5a7)][_0x578f25(0x42c)]();_0x5e367a?this[_0x578f25(0x436)](_0x5e367a,_0x253051,_0x3375be,_0x136bc7,_0x3cd7c0):this['_handleFreeEndpointMove'](_0x253051,_0x178593,_0x3375be,_0x136bc7,_0x3cd7c0);}),this[_0x38b21a(0x1f0)]=_0x523826[_0x38b21a(0x542)][_0x38b21a(0x1dd)]((_0x4c289a,_0x17a0b7)=>{const _0x4b9473=_0x38b21a;this[_0x4b9473(0x2e8)](_0x523826,_0x178593,_0x4c289a,_0x3375be,_0x48262c);}),_0x40a5e7[_0x38b21a(0x5c7)]();})));}[_0x2766d8(0x293)](_0x380bdf,_0x22430d,_0x308231){const _0x3da6f0=_0x2766d8;let _0x21630f=this[_0x3da6f0(0x218)]['getBasicShapeRelation'](_0x380bdf,_0x22430d,_0x308231);if(!_0x21630f||_0x21630f[_0x3da6f0(0x2f1)]===0x0)return;let _0x5ebded=this[_0x3da6f0(0x4bb)]['getRenderUnitById'](_0x380bdf);if(!_0x5ebded)return;let {scene:_0x214a49}=_0x5ebded;for(let _0x41edcc of _0x21630f){let _0x42778b=_0x41edcc['lineShapeId'],_0x3e9131=this[_0x3da6f0(0x218)][_0x3da6f0(0x338)](_0x380bdf,_0x22430d,_0x42778b);if(!_0x3e9131)continue;let _0x3ef624=_0x3e9131[_0x3da6f0(0x42c)](),_0x491b71=_0x3e9131['getEndConnectInfo'](),_0x2e6190=(_0x3ef624==null?void 0x0:_0x3ef624[_0x3da6f0(0x2a8)])===_0x308231,_0x4c9063=(0x0,_0x2ed59f[_0x3da6f0(0x2f2)])({'unitId':_0x380bdf,'subUnitId':_0x22430d,'drawingId':_0x42778b}),_0x65d2cc=_0x214a49[_0x3da6f0(0x1e9)](_0x4c9063);if(!_0x65d2cc)continue;let _0x1669f2=this['_drawingManagerService'][_0x3da6f0(0x26d)]({'unitId':_0x380bdf,'subUnitId':_0x22430d,'drawingId':_0x42778b});_0x1669f2!=null&&_0x1669f2[_0x3da6f0(0x339)]&&(_0x3ef624&&_0x491b71?this['_rerouteConnectorLine'](_0x380bdf,_0x22430d,_0x42778b,_0x3e9131,_0x3ef624,_0x491b71,_0x65d2cc):this['_moveConnectorWithShape'](_0x380bdf,_0x22430d,_0x42778b,_0x3e9131,_0x2e6190?_0x3ef624:_0x491b71,_0x2e6190,_0x1669f2,_0x65d2cc));}}['_rerouteConnectorLine'](_0x3a70e5,_0x1cad24,_0x234ba5,_0x25e3b0,_0x26e3f1,_0x16b77f,_0x23e519){const _0x30e644=_0x2766d8;let _0x4b8971=this[_0x30e644(0x370)],_0x41060f=this[_0x30e644(0x3f6)];this[_0x30e644(0x370)]=_0x3a70e5,this['_subUnitId']=_0x1cad24;let _0x41910b=this[_0x30e644(0x5ad)](_0x26e3f1),_0x1bcf9b=this[_0x30e644(0x5ad)](_0x16b77f);if(this[_0x30e644(0x370)]=_0x4b8971,this[_0x30e644(0x3f6)]=_0x41060f,!_0x41910b||!_0x1bcf9b)return;let _0x3dd7f5=_0x25e3b0['getShapeType'](),_0x3a08a4=(0x0,_0x1f2a15['routeConnectorLineShape'])(_0x41910b,_0x1bcf9b,_0x3dd7f5);_0x3a08a4&&_0x25e3b0['updateLinePoints'](_0x3a08a4);let _0x4b7356=(0x0,_0x1f2a15[_0x30e644(0x500)])(_0x3a08a4,_0x3dd7f5);_0x4b7356[_0x30e644(0x574)]!==_0x3dd7f5&&_0x25e3b0['changeShapeType'](_0x4b7356[_0x30e644(0x574)]),_0x25e3b0[_0x30e644(0x352)]();for(let [_0x44f071,_0x38c9bd]of Object['entries'](_0x4b7356[_0x30e644(0x5d5)]))_0x25e3b0[_0x30e644(0x3ae)](_0x44f071,_0x38c9bd);_0x25e3b0['updateContext']({'width':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x49e)],'height':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x3f8)]}),_0x23e519[_0x30e644(0x3c4)]({'flipX':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x4f7)],'flipY':_0x4b7356['worldRect'][_0x30e644(0x21d)],'left':_0x4b7356['worldRect'][_0x30e644(0x204)],'top':_0x4b7356['worldRect'][_0x30e644(0x414)],'width':_0x4b7356[_0x30e644(0x45c)][_0x30e644(0x49e)],'height':_0x4b7356['worldRect']['height'],'angle':_0x4b7356[_0x30e644(0x44b)]}),_0x25e3b0['removeLinePoints']();}[_0x2766d8(0x4f9)](_0x1a526f,_0x51b483,_0x2268da,_0x1d6958,_0x523ee8,_0x5764a8,_0x97090b,_0x9c6a93){const _0x59adbf=_0x2766d8;let _0x29ec0c=this[_0x59adbf(0x370)],_0x5c0705=this[_0x59adbf(0x3f6)];this[_0x59adbf(0x370)]=_0x1a526f,this['_subUnitId']=_0x51b483;let _0xc37d12=this['_getConnectPointInfo'](_0x523ee8);if(this[_0x59adbf(0x370)]=_0x29ec0c,this[_0x59adbf(0x3f6)]=_0x5c0705,!_0xc37d12)return;let {left:_0x2a3514=0x0,top:_0x2f1629=0x0,width:_0x4e0a05=0x0,height:_0x261df5=0x0,flipX:_0x3ca4fc=!0x1,flipY:_0x5d354e=!0x1}=_0x97090b[_0x59adbf(0x339)],_0x563906=_0x1d6958[_0x59adbf(0x443)]();if(_0x563906[_0x59adbf(0x2f1)]<0x2)return;let _0x4d36de=new _0x1f2a15[(_0x59adbf(0x396))]({'left':_0x2a3514,'top':_0x2f1629,'width':_0x4e0a05,'height':_0x261df5,'flipX':_0x3ca4fc,'flipY':_0x5d354e}),_0x448fbf=_0x5764a8?_0x563906[_0x563906[_0x59adbf(0x2f1)]-0x1]:_0x563906[0x0],_0x330712=_0x4d36de['localToWorld'](_0x448fbf),_0x177b67=_0x1f2a15[_0x59adbf(0x396)][_0x59adbf(0x40d)](_0x330712,_0xc37d12[_0x59adbf(0x515)],!_0x5764a8);_0x9c6a93[_0x59adbf(0x3c4)]({'flipX':_0x177b67['worldRect'][_0x59adbf(0x4f7)],'flipY':_0x177b67['worldRect'][_0x59adbf(0x21d)],'left':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x204)],'top':_0x177b67['worldRect']['top'],'width':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x49e)],'height':_0x177b67['worldRect'][_0x59adbf(0x3f8)],'angle':_0x177b67[_0x59adbf(0x45c)][_0x59adbf(0x55b)]}),_0x9c6a93[_0x59adbf(0x3b2)](!0x0);}[_0x2766d8(0x38a)](){const _0x4ac538=_0x2766d8;this[_0x4ac538(0x303)][_0x4ac538(0x2f1)]!==0x0&&(this[_0x4ac538(0x303)][_0x4ac538(0x528)](_0x2864e2=>{_0x2864e2['dispose']();}),this[_0x4ac538(0x303)]=[]);}[_0x2766d8(0x2a5)](){const _0x3c7194=_0x2766d8;let _0x155e04=this['_univerInstanceService'][_0x3c7194(0x3e9)](_0x35d996['UniverInstanceType']['UNIVER_SHEET']);this[_0x3c7194(0x271)](_0x155e04['pipe']((0x0,_0x4737d9[_0x3c7194(0x3cb)])(_0x57253c=>_0x57253c?_0x57253c[_0x3c7194(0x435)][_0x3c7194(0x21c)]((0x0,_0x4737d9[_0x3c7194(0x3cb)])(_0x277be4=>{const _0x77670d=_0x3c7194;if(!_0x277be4)return _0x4737d9[_0x77670d(0x486)];let _0x4fe655=_0x57253c['getUnitId'](),_0x585a78=this['_renderManagerService']['getRenderUnitById'](_0x4fe655),_0x25d9bf=_0x585a78==null?void 0x0:_0x585a78[_0x77670d(0x394)];return _0x25d9bf?(0x0,_0x4737d9['of'])(_0x25d9bf):_0x4737d9[_0x77670d(0x486)];})):_0x4737d9[_0x3c7194(0x486)]))['subscribe'](_0x4bc0af=>{const _0x46bc92=_0x3c7194;let _0xe85376=_0x4bc0af[_0x46bc92(0x40c)]();this['disposeWithMe'](_0x4bc0af[_0x46bc92(0x5dc)][_0x46bc92(0x1dd)](_0x58fbde=>{const _0x2ec065=_0x46bc92;this[_0x2ec065(0x5e3)]&&this[_0x2ec065(0x2bb)]&&this[_0x2ec065(0x38a)]();})),this[_0x46bc92(0x271)](_0xe85376[_0x46bc92(0x330)][_0x46bc92(0x56a)](_0x1700c5=>{const _0x1da821=_0x46bc92;let {objects:_0x3c668a}=_0x1700c5;this[_0x1da821(0x38a)](),_0x3c668a!==null&&_0x3c668a[_0x1da821(0x22b)]===0x1&&_0x3c668a[_0x1da821(0x3bf)]()['next']()[_0x1da821(0x58f)]instanceof _0x423ac6&&(this[_0x1da821(0x5e3)]=!0x0);})),this[_0x46bc92(0x271)](_0xe85376['changing$'][_0x46bc92(0x56a)](_0x32dd1d=>{const _0x587661=_0x46bc92;this[_0x587661(0x5e3)]&&this[_0x587661(0x38a)]();})),this[_0x46bc92(0x271)](_0x4bc0af['onPointerUp$']['subscribeEvent'](()=>{const _0x191d1d=_0x46bc92;this[_0x191d1d(0x5e3)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x191d1d(0x514)]());})),this[_0x46bc92(0x271)](_0xe85376['changeEnd$'][_0x46bc92(0x56a)](()=>{const _0x4b511e=_0x46bc92;this['_unitId']&&this[_0x4b511e(0x3f6)]&&this[_0x4b511e(0x2bb)]&&this[_0x4b511e(0x482)][_0x4b511e(0x26d)]({'unitId':this[_0x4b511e(0x370)],'subUnitId':this[_0x4b511e(0x3f6)],'drawingId':this[_0x4b511e(0x2bb)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x4b511e(0x514)]());}));}));}[_0x2766d8(0x425)](){const _0x41cbbe=_0x2766d8;this[_0x41cbbe(0x271)](this[_0x41cbbe(0x482)][_0x41cbbe(0x2a3)][_0x41cbbe(0x56a)](_0x5ea9a3=>{const _0x4820aa=_0x41cbbe;if(_0x5ea9a3[_0x4820aa(0x2f1)]===0x1){let _0x3aaa7f=_0x5ea9a3[0x0];if(_0x3aaa7f[_0x4820aa(0x313)]===_0x35d996['DrawingTypeEnum'][_0x4820aa(0x4ba)]){let _0x443df1=this[_0x4820aa(0x218)]['getShapeModel'](_0x3aaa7f['unitId'],_0x3aaa7f[_0x4820aa(0x35e)],_0x3aaa7f['drawingId']);if(_0x443df1&&(0x0,_0x1f2a15[_0x4820aa(0x493)])(_0x443df1['getShapeType']())){this[_0x4820aa(0x2bb)]=_0x3aaa7f['drawingId'],this[_0x4820aa(0x370)]=_0x3aaa7f['unitId'],this[_0x4820aa(0x3f6)]=_0x3aaa7f['subUnitId'],this[_0x4820aa(0x38a)](),this[_0x4820aa(0x514)]();return;}}}this[_0x4820aa(0x2bb)]=void 0x0,this[_0x4820aa(0x370)]=void 0x0,this[_0x4820aa(0x3f6)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this[_0x41cbbe(0x271)](this[_0x41cbbe(0x482)][_0x41cbbe(0x59c)]['subscribe'](_0x4e40f1=>{const _0x337e7a=_0x41cbbe;if(_0x4e40f1['length']===0x1){var _0x18f26d;let _0x449359=_0x4e40f1[0x0],_0x46f395=(_0x18f26d=this['_drawingManagerService'][_0x337e7a(0x26d)](_0x449359))==null?void 0x0:_0x18f26d[_0x337e7a(0x313)];_0x46f395===_0x35d996[_0x337e7a(0x44f)]['DRAWING_SHAPE']&&_0x449359[_0x337e7a(0x314)]===this[_0x337e7a(0x2bb)]?(this[_0x337e7a(0x38a)](),this[_0x337e7a(0x514)]()):!this['_activeShapeId']&&_0x46f395===_0x35d996[_0x337e7a(0x44f)][_0x337e7a(0x4ba)]&&this[_0x337e7a(0x293)](_0x449359[_0x337e7a(0x280)],_0x449359[_0x337e7a(0x35e)],_0x449359[_0x337e7a(0x314)]);}})),this[_0x41cbbe(0x271)](this['_drawingManagerService'][_0x41cbbe(0x210)][_0x41cbbe(0x56a)](_0x2bafdf=>{const _0x1dcdd5=_0x41cbbe;for(let _0x1b2e64 of _0x2bafdf){let {drawingId:_0x507f02}=_0x1b2e64;if(this[_0x1dcdd5(0x2bb)]===_0x507f02){this[_0x1dcdd5(0x311)]();return;}}}));}[_0x2766d8(0x436)](_0x204748,_0x287d57,_0x5f0c02,_0x275be3,_0x1e2cf9){const _0x2fae04=_0x2766d8;var _0x7ee58a;if(!this[_0x2fae04(0x5a7)])return;let _0x5562e4=this[_0x2fae04(0x5ad)](_0x204748);if(!_0x5562e4)return;let _0x331514=this[_0x2fae04(0x390)]?this[_0x2fae04(0x390)][_0x2fae04(0x591)]:_0x287d57,_0x5aae92=this[_0x2fae04(0x390)]?this[_0x2fae04(0x390)][_0x2fae04(0x55b)]:this[_0x2fae04(0x4d3)](_0x5562e4[_0x2fae04(0x515)],_0x331514),_0x1fa186;if(this['_currentConnectionTarget']){let _0x1ae156=this[_0x2fae04(0x482)][_0x2fae04(0x26d)]({'unitId':this[_0x2fae04(0x390)][_0x2fae04(0x280)],'subUnitId':this[_0x2fae04(0x390)][_0x2fae04(0x35e)],'drawingId':this[_0x2fae04(0x390)][_0x2fae04(0x2a8)]});if(_0x1ae156!=null&&_0x1ae156[_0x2fae04(0x339)]){let {left:_0x174acd=0x0,top:_0x11f4e2=0x0,width:_0x2cf79b=0x0,height:_0x535f72=0x0,angle:_0x389dce}=_0x1ae156[_0x2fae04(0x339)];_0x1fa186=(0x0,_0x1f2a15[_0x2fae04(0x525)])({'left':_0x174acd,'top':_0x11f4e2,'width':_0x2cf79b,'height':_0x535f72},_0x389dce||0x0);}else _0x1fa186={'left':_0x331514['x'],'top':_0x331514['y'],'width':0x0,'height':0x0};}else _0x1fa186={'left':_0x331514['x'],'top':_0x331514['y'],'width':0x0,'height':0x0};let _0x1fafb1={'point':_0x331514,'angle':_0x5aae92,'bounds':_0x1fa186},_0x2535fb=_0x5f0c02?_0x1fafb1:_0x5562e4,_0x2eca87=_0x5f0c02?_0x5562e4:_0x1fafb1,_0x2ddab6=this['_activeShapeModel'][_0x2fae04(0x200)](),_0x108aec=(0x0,_0x1f2a15[_0x2fae04(0x449)])(_0x2535fb,_0x2eca87,_0x2ddab6);_0x108aec&&this[_0x2fae04(0x5a7)][_0x2fae04(0x1d9)](_0x108aec);let _0x12f6e0=(0x0,_0x1f2a15[_0x2fae04(0x500)])(_0x108aec,_0x2ddab6);_0x12f6e0[_0x2fae04(0x574)]!==_0x2ddab6&&this[_0x2fae04(0x5a7)]['changeShapeType'](_0x12f6e0[_0x2fae04(0x574)]);for(let [_0x3585c9,_0x169a11]of Object['entries'](_0x12f6e0[_0x2fae04(0x5d5)]))this[_0x2fae04(0x5a7)]['setAdjustValueByName'](_0x3585c9,_0x169a11);this['_activeShapeModel'][_0x2fae04(0x240)]({'width':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x49e)],'height':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x3f8)]}),_0x275be3['transformByState']({'flipX':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x4f7)],'flipY':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x21d)],'left':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x204)],'top':_0x12f6e0[_0x2fae04(0x45c)][_0x2fae04(0x414)],'width':_0x12f6e0['worldRect'][_0x2fae04(0x49e)],'height':_0x12f6e0[_0x2fae04(0x45c)]['height'],'angle':_0x12f6e0['rotation']}),_0x275be3[_0x2fae04(0x3b2)](!0x0);let _0x43ee6e=((_0x7ee58a=this['_currentConnectionTarget'])==null?void 0x0:_0x7ee58a[_0x2fae04(0x591)])??_0x287d57;_0x1e2cf9[_0x2fae04(0x3c4)]({'left':_0x43ee6e['x']-_0x1f2a15[_0x2fae04(0x540)][_0x2fae04(0x307)],'top':_0x43ee6e['y']-_0x1f2a15[_0x2fae04(0x540)][_0x2fae04(0x307)]});}[_0x2766d8(0x5e0)](_0x5db258,_0x51e024,_0x2c968b,_0x2332e9,_0x3c815c){const _0x160db4=_0x2766d8;var _0x11c237,_0x58461b;let _0xe34348=((_0x11c237=this[_0x160db4(0x390)])==null?void 0x0:_0x11c237[_0x160db4(0x591)])??_0x5db258,_0x3c6c01=_0x1f2a15[_0x160db4(0x396)]['computeConnectorResizeLayout'](_0x51e024,_0xe34348,_0x2c968b);_0x2332e9[_0x160db4(0x3c4)]({'flipX':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x4f7)],'flipY':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x21d)],'left':_0x3c6c01[_0x160db4(0x45c)]['left'],'top':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x414)],'width':_0x3c6c01['worldRect'][_0x160db4(0x49e)],'height':_0x3c6c01[_0x160db4(0x45c)]['height'],'angle':_0x3c6c01[_0x160db4(0x45c)][_0x160db4(0x55b)]});let _0x4174e8=((_0x58461b=this[_0x160db4(0x390)])==null?void 0x0:_0x58461b[_0x160db4(0x591)])??_0x5db258;_0x3c815c[_0x160db4(0x3c4)]({'left':_0x4174e8['x']-_0x1f2a15[_0x160db4(0x540)][_0x160db4(0x307)],'top':_0x4174e8['y']-_0x1f2a15[_0x160db4(0x540)][_0x160db4(0x307)]});}[_0x2766d8(0x5ad)](_0x6c9c16){const _0x351b20=_0x2766d8;if(!this[_0x351b20(0x370)]||!this[_0x351b20(0x3f6)])return null;let {shapeId:_0x511541,cxnIndex:_0x4c47ee}=_0x6c9c16,_0x1049f4=this[_0x351b20(0x218)][_0x351b20(0x338)](this[_0x351b20(0x370)],this['_subUnitId'],_0x511541);if(!_0x1049f4)return null;let _0x654cfd=this[_0x351b20(0x482)][_0x351b20(0x26d)]({'unitId':this[_0x351b20(0x370)],'subUnitId':this[_0x351b20(0x3f6)],'drawingId':_0x511541});if(!(_0x654cfd!=null&&_0x654cfd[_0x351b20(0x339)]))return null;let {left:_0xe1bdd0=0x0,top:_0x65bb9a=0x0,width:_0x45a314=0x0,height:_0x31eb35=0x0,flipX:_0x59436b=!0x1,flipY:_0x267cc2=!0x1,angle:_0x160f89}=_0x654cfd[_0x351b20(0x339)];_0x1049f4[_0x351b20(0x240)]({'width':_0x45a314,'height':_0x31eb35});let _0x2b4562=_0x1049f4[_0x351b20(0x31f)]()[_0x351b20(0x584)](_0x91f3d4=>_0x91f3d4['index']===_0x4c47ee);if(!_0x2b4562)return null;let _0x55cd5c=_0x59436b?_0x45a314-_0x2b4562['x']:_0x2b4562['x'],_0x2141f5=_0x267cc2?_0x31eb35-_0x2b4562['y']:_0x2b4562['y'];if(_0x160f89!==0x0&&_0x160f89!=null){let _0x1f2d0f=_0x160f89*Math['PI']/0xb4,_0x3f0807=Math[_0x351b20(0x448)](_0x1f2d0f),_0x24c90f=Math['sin'](_0x1f2d0f),_0x5eeb6e=_0x45a314/0x2,_0x40cef4=_0x31eb35/0x2,_0x3b940a=_0x55cd5c-_0x5eeb6e,_0x166098=_0x2141f5-_0x40cef4;_0x55cd5c=_0x5eeb6e+_0x3b940a*_0x3f0807-_0x166098*_0x24c90f,_0x2141f5=_0x40cef4+_0x3b940a*_0x24c90f+_0x166098*_0x3f0807;}_0x55cd5c+=_0xe1bdd0,_0x2141f5+=_0x65bb9a;let _0x1f720a=_0x2b4562['ang']/0xea60;_0x59436b&&(_0x1f720a=0xb4-_0x1f720a),_0x267cc2&&(_0x1f720a=-_0x1f720a),_0x1f720a+=_0x160f89||0x0,_0x1f720a=(_0x1f720a%0x168+0x168)%0x168;let _0x5193c4=(0x0,_0x1f2a15[_0x351b20(0x525)])({'left':_0xe1bdd0,'top':_0x65bb9a,'width':_0x45a314,'height':_0x31eb35},_0x160f89||0x0);return{'point':{'x':_0x55cd5c,'y':_0x2141f5},'angle':_0x1f720a,'bounds':_0x5193c4};}[_0x2766d8(0x4d3)](_0x2755a8,_0x249bb8){const _0x45081b=_0x2766d8;let _0x595dc6=_0x249bb8['x']-_0x2755a8['x'],_0x17f2a6=_0x249bb8['y']-_0x2755a8['y'];return Math[_0x45081b(0x2c6)](_0x595dc6)>=Math[_0x45081b(0x2c6)](_0x17f2a6)?_0x595dc6>=0x0?0xb4:0x0:_0x17f2a6>=0x0?0x10e:0x5a;}[_0x2766d8(0x311)](){const _0x4efa6c=_0x2766d8;this['_activeShapeId']=void 0x0,this[_0x4efa6c(0x370)]=void 0x0,this[_0x4efa6c(0x3f6)]=void 0x0,this[_0x4efa6c(0x38a)]();}[_0x2766d8(0x2a4)](){const _0x1feaa2=_0x2766d8;this[_0x1feaa2(0x38a)](),super[_0x1feaa2(0x2a4)]();}};_0x243495=_0x39c461([_0x400e7c(0x1,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x2,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0x3,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x5,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x6,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x36f6fd)),_0x400e7c(0x7,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x517ad0))],_0x243495);let _0x1ffec1=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x53e638,_0x53e61b,_0x1494f3){const _0x1b6018=_0x2766d8;super(),this[_0x1b6018(0x429)]=_0x53e638,this[_0x1b6018(0x482)]=_0x53e61b,this['_shapeRenderController']=_0x1494f3,this['_initPrinting']();}[_0x2766d8(0x326)](){const _0x580397=_0x2766d8;this[_0x580397(0x271)](this[_0x580397(0x429)][_0x580397(0x41a)]['intercept'](this[_0x580397(0x429)]['interceptor']['getInterceptPoints']()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x138022,_0x1d1c88,_0x1449ca)=>{const _0xf7e19a=_0x580397;var _0x501a27;let {unitId:_0x10a75e,subUnitId:_0x305c5f,scene:_0x32225c,resourceCollector:_0x48d445}=_0x1d1c88,_0x474f8c=(_0x501a27=this[_0xf7e19a(0x482)][_0xf7e19a(0x1f8)](_0x10a75e))==null?void 0x0:_0x501a27[_0x305c5f];return _0x474f8c==null||_0x474f8c['order'][_0xf7e19a(0x528)](_0x497f3d=>{const _0x55f9f8=_0xf7e19a;let _0x40d77c=_0x474f8c[_0x55f9f8(0x3ee)][_0x497f3d];_0x40d77c[_0x55f9f8(0x313)]===_0x35d996['DrawingTypeEnum'][_0x55f9f8(0x4ba)]&&!_0x40d77c[_0x55f9f8(0x263)]&&this['_shapeRenderController'][_0x55f9f8(0x34a)](_0x40d77c,_0x32225c,{'resourceCollector':_0x48d445});}),_0x1449ca(_0x138022);}}));}};_0x1ffec1=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x49d)])),_0x400e7c(0x1,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x319285))],_0x1ffec1);let _0x126f61=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x182302,_0x5b2459,_0x427424,_0x166b51){const _0x359da9=_0x2766d8;super(),this[_0x359da9(0x54f)]=_0x182302,this[_0x359da9(0x251)]=_0x5b2459,this[_0x359da9(0x2d4)]=_0x427424,this[_0x359da9(0x2f9)]=_0x166b51,this[_0x359da9(0x320)]();}[_0x2766d8(0x320)](){const _0x6b3bec=_0x2766d8;let _0x5d3eac=new Set([_0x33bf3b['id'],_0x565640[_0x6b3bec(0x5d8)]['id'],_0x565640[_0x6b3bec(0x1ee)]['id'],_0x565640[_0x6b3bec(0x47b)]['id'],_0x565640['UpdateLineShapeResizeCommand']['id']]);this[_0x6b3bec(0x271)](this[_0x6b3bec(0x54f)][_0x6b3bec(0x20e)](_0xadae73=>{const _0x3e5517=_0x6b3bec;let _0x81b8b2,_0xa56bce;if(_0xadae73['id']===_0x565640[_0x3e5517(0x242)]['id']||_0xadae73['id']===_0x565640[_0x3e5517(0x44c)]['id']||_0xadae73['id']===_0x565640[_0x3e5517(0x50b)]['id']){let _0xb40ecd=_0xadae73[_0x3e5517(0x1db)];_0x81b8b2=_0xb40ecd[_0x3e5517(0x280)],_0xa56bce=_0xb40ecd[_0x3e5517(0x35e)];}else{if(_0x5d3eac[_0x3e5517(0x51e)](_0xadae73['id'])){let _0x432179=(0x0,_0x2a684c[_0x3e5517(0x231)])(this['_univerInstanceService'],_0xadae73[_0x3e5517(0x1db)]);if((_0x432179==null?void 0x0:_0x432179[_0x3e5517(0x4ec)][_0x3e5517(0x5cf)]()['type'])!==_0x35d996['SheetTypes'][_0x3e5517(0x367)])return;_0x81b8b2=_0x432179[_0x3e5517(0x280)],_0xa56bce=_0x432179[_0x3e5517(0x35e)];}}_0x81b8b2&&_0xa56bce&&(this['_sheetPermissionCheckController'][_0x3e5517(0x5b6)]({'workbookTypes':[_0x2a684c[_0x3e5517(0x4c0)]],'worksheetTypes':[_0x2a684c['WorksheetEditPermission']]},_0x81b8b2,_0xa56bce)||this['_sheetPermissionCheckController'][_0x3e5517(0x58e)](this[_0x3e5517(0x2d4)]['t']('sheets-shape-ui.permission.editErr')));}));}};_0x126f61=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x3c6)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x403)])),_0x400e7c(0x2,(0x0,_0x35d996['Inject'])(_0x35d996[_0x2766d8(0x5d0)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x2a684c[_0x2766d8(0x518)]))],_0x126f61);let _0x9476a3=class{constructor(_0x4a8cf4){const _0x323030=_0x2766d8;this[_0x323030(0x4bb)]=_0x4a8cf4;}[_0x2766d8(0x36f)](_0x573ee6,_0x27c233){const _0x31606a=_0x2766d8;let _0x5e1010=this['_renderManagerService'][_0x31606a(0x4ee)](_0x573ee6['unitId']),_0x191b2b=_0x5e1010==null?void 0x0:_0x5e1010['scene'];if(!_0x191b2b)return;let _0x4f8237=(0x0,_0x2ed59f['getDrawingShapeKeyByDrawingSearch'])(_0x573ee6),_0xc14347=_0x191b2b[_0x31606a(0x1e9)](_0x4f8237);_0xc14347==null||_0xc14347[_0x31606a(0x23c)](_0x27c233);}};_0x9476a3=_0x39c461([_0x400e7c(0x0,_0x580d8a[_0x2766d8(0x266)])],_0x9476a3);let _0x318337=class extends _0x35d996[_0x2766d8(0x39f)]{constructor(_0x4b5f98=_0x5a65ec,_0x509ca4,_0x5d0259,_0xf27987,_0x3583ff){const _0x2ccb18=_0x2766d8;super(),this['_config']=_0x4b5f98,this[_0x2ccb18(0x451)]=_0x509ca4,this[_0x2ccb18(0x54f)]=_0x5d0259,this[_0x2ccb18(0x285)]=_0xf27987,this[_0x2ccb18(0x4bb)]=_0x3583ff;let {..._0x5adada}=(0x0,_0x35d996[_0x2ccb18(0x30b)])({},_0x5a65ec,this['_config']);this[_0x2ccb18(0x285)]['setConfig'](_0xedbf59,_0x5adada),this[_0x2ccb18(0x28e)]();}['onStarting'](){const _0x20fc1e=_0x2766d8;this[_0x20fc1e(0x451)]['add']([_0x46a7ae]),this[_0x20fc1e(0x451)]['get'](_0x46a7ae),(0x0,_0x35d996['registerDependencies'])(this[_0x20fc1e(0x451)],[[_0x224297],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61]]);}[_0x2766d8(0x219)](){const _0x41ff6f=_0x2766d8;(0x0,_0x35d996[_0x41ff6f(0x59f)])(this[_0x41ff6f(0x451)],[[_0x517ad0],[_0x36f6fd],[_0x3d86f3]]),(0x0,_0x35d996[_0x41ff6f(0x51a)])(this['_injector'],[[_0x3d86f3],[_0x36f6fd]]),[[_0x517ad0],[_0x22d196],[_0x243495],[_0x187142]][_0x41ff6f(0x528)](_0x1485bb=>{const _0x247a73=_0x41ff6f;this['disposeWithMe'](this[_0x247a73(0x4bb)]['registerRenderModule'](_0x35d996[_0x247a73(0x31d)][_0x247a73(0x3de)],_0x1485bb));});}[_0x2766d8(0x526)](){const _0x454af9=_0x2766d8;(0x0,_0x35d996[_0x454af9(0x51a)])(this[_0x454af9(0x451)],[[_0x224297],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61]]);}[_0x2766d8(0x560)](){const _0x4f93d8=_0x2766d8;this[_0x4f93d8(0x451)][_0x4f93d8(0x340)](_0x224297)[_0x4f93d8(0x34f)]();}[_0x2766d8(0x28e)](){[_0x3a6254,_0x33bf3b,_0x482521,_0x279e80]['forEach'](_0x582095=>this['disposeWithMe'](this['_commandService']['registerCommand'](_0x582095)));}};_0x2a4a7a(_0x318337,'type',_0x35d996[_0x2766d8(0x31d)][_0x2766d8(0x3de)]),_0x2a4a7a(_0x318337,_0x2766d8(0x4be),_0x2766d8(0x26a)),_0x2a4a7a(_0x318337,_0x2766d8(0x4db),_0x5bde27),_0x2a4a7a(_0x318337,_0x2766d8(0x4da),_0x48a452),_0x318337=_0x39c461([(0x0,_0x35d996['DependentOn'])(_0x64ee3d[_0x2766d8(0x323)],_0x156373['UniverDocsPlugin'],_0x2ed59f[_0x2766d8(0x3b5)],_0x580d8a['UniverRenderEnginePlugin'],_0x2a684c[_0x2766d8(0x3d4)],_0x3a1af6['UniverDocsUIPlugin'],_0x47830d[_0x2766d8(0x310)],_0x1ad5b7['UniverShapeEditorPlugin'],_0x353806[_0x2766d8(0x29a)],_0x565640[_0x2766d8(0x2e6)],_0x590c15[_0x2766d8(0x555)],_0x197fcc['UniverShapeEditorMobileUIPlugin'],_0x23e778['UniverMobileUIPlugin']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x51d)]),_0x400e7c(0x4,_0x580d8a[_0x2766d8(0x266)])],_0x318337);let _0x13ccc7={'type':_0x35d996[_0x2766d8(0x309)][_0x2766d8(0x225)],'id':_0x2766d8(0x381),'handler'(){return!0x0;}};function _0x2b8071(){const _0x301cce=_0x2766d8;let _0x12f905=(0x0,_0x23e778[_0x301cce(0x4e0)])(_0x2ed59f[_0x301cce(0x554)]),_0x272074=(0x0,_0x23e778[_0x301cce(0x4c4)])(()=>_0x12f905[_0x301cce(0x2a3)],_0x12f905[_0x301cce(0x5bb)](),!0x1,[_0x12f905]);return _0x272074[_0x301cce(0x2f1)]===0x0?null:(0x0,_0x121104[_0x301cce(0x4f2)])(_0x301cce(0x3b3),{'children':(0x0,_0x121104[_0x301cce(0x34b)])(_0x301cce(0x3b3),{'className':_0x301cce(0x422),'children':[(0x0,_0x121104[_0x301cce(0x4f2)])(_0x2c4f7e[_0x301cce(0x363)],{'drawings':_0x272074,'hasCropper':!0x1}),(0x0,_0x121104[_0x301cce(0x4f2)])(_0x353806['SheetDrawingAnchor'],{'drawings':_0x272074})]})});}function _0x2460bd(_0x147a8d){const _0xd661bb=_0x2766d8;let {unitId:_0x13d4a1,subUnitId:_0x201273,shapeId:_0x46ba43}=_0x147a8d,_0x18b66d=(0x0,_0x23e778[_0xd661bb(0x4e0)])(_0x35d996[_0xd661bb(0x3c6)]),_0x4f6e4d=(0x0,_0x23e778[_0xd661bb(0x4e0)])(_0x9476a3);return(0x0,_0x121104[_0xd661bb(0x4f2)])(_0x197fcc[_0xd661bb(0x253)],{..._0x147a8d,'positionEditor':(0x0,_0x121104['jsx'])(_0x2b8071,{}),'onUpdateShapeData':(_0x1951ff,_0x2cf7a7)=>{_0x5b243b(_0x18b66d,_0x13d4a1,_0x201273,_0x46ba43,_0x1951ff,_0x2cf7a7);},'onUpdateLineShapeData':(_0x3472d6,_0x29bcbb)=>{_0x1d5713(_0x18b66d,_0x13d4a1,_0x201273,_0x46ba43,_0x3472d6,_0x29bcbb);},'onUpdateShapeFillImage':_0x3cf04e=>{const _0x4e6b70=_0xd661bb;_0x4f6e4d[_0x4e6b70(0x36f)]({'unitId':_0x13d4a1,'subUnitId':_0x201273,'drawingId':_0x46ba43},_0x3cf04e);}});}function _0x193f73(_0x3da6ec){const _0x617bc5=_0x2766d8;let _0x37e457=(0x0,_0x23e778[_0x617bc5(0x4e0)])(_0x197fcc[_0x617bc5(0x2d1)]),_0x11328b=(0x0,_0x23e778[_0x617bc5(0x4c4)])(()=>_0x37e457[_0x617bc5(0x30e)],_0x37e457[_0x617bc5(0x56f)](),!0x1,[_0x37e457]),_0x348034=_0x3da6ec[_0x617bc5(0x32b)]['extraProps'];return!_0x348034||!_0x11328b?null:(0x0,_0x121104[_0x617bc5(0x4f2)])(_0x3ee576,{..._0x348034,'canvasElement':_0x3da6ec[_0x617bc5(0x32b)][_0x617bc5(0x4d0)]});}function _0x3ee576(_0x47dfb1){const _0x7797cf=_0x2766d8;let _0x3374ec=(0x0,_0x23e778['useDependency'])(_0x35d996[_0x7797cf(0x3c6)]),_0x4421a5=(0x0,_0x23e778[_0x7797cf(0x4e0)])(_0x565640[_0x7797cf(0x248)]),{unitId:_0x4f078b,subUnitId:_0x23e8c2,drawingId:_0x519865,drawingType:_0x5a4830,shapeType:_0x2f7213}=_0x47dfb1,[_0x4c55e8,_0x2f22f7]=(0x0,_0x3d354c[_0x7797cf(0x397)])(_0x47dfb1[_0x7797cf(0x23b)]),_0x2a22ab=(0x0,_0x3d354c[_0x7797cf(0x21e)])(()=>(0x0,_0x197fcc[_0x7797cf(0x22d)])(_0x4c55e8),[_0x4c55e8]),_0x232752=(0x0,_0x3d354c[_0x7797cf(0x21e)])(()=>(0x0,_0x197fcc[_0x7797cf(0x1ec)])(_0x4c55e8),[_0x4c55e8]);(0x0,_0x3d354c[_0x7797cf(0x4fc)])(()=>{const _0x4e8092=_0x7797cf;let _0x6ee3ca=_0x3374ec[_0x4e8092(0x3f5)](_0x5e31a5=>{const _0x47092f=_0x4e8092;if(_0x5e31a5['id']!==_0x565640['UpdateSheetsShapeDataMutation']['id'])return;let _0x1fe561=_0x4421a5[_0x47092f(0x3ec)](_0x4f078b,_0x23e8c2,_0x519865);_0x1fe561&&_0x2f22f7(_0x1fe561);});return()=>_0x6ee3ca[_0x4e8092(0x2a4)]();},[_0x3374ec,_0x519865,_0x4421a5,_0x23e8c2,_0x4f078b]);let _0x2a289d=_0x135f0c=>{_0x2f22f7(_0x4642f1=>({..._0x4642f1,..._0x135f0c}));},_0x43d189=_0x1a1015=>{const _0x5a7b6=_0x7797cf;let _0x384dec=(0x0,_0x197fcc[_0x5a7b6(0x485)])(_0x4c55e8,_0x1a1015);_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,{'oldShapeData':{'shapeText':_0x4c55e8['shapeText']}},_0x384dec),_0x2a289d(_0x384dec);},_0x147a11=(0x0,_0x197fcc[_0x7797cf(0x3d3)])({'hostType':_0x35d996[_0x7797cf(0x31d)][_0x7797cf(0x3de)],'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'shapeId':_0x519865,'shapeData':_0x4c55e8,'onUpdateBinding':_0x534754=>{const _0x1caf00=_0x7797cf;let _0x53cf4c={'formulaBinding':_0x534754};_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,{'oldShapeData':{'formulaBinding':_0x4c55e8[_0x1caf00(0x405)]}},_0x53cf4c),_0x2a289d(_0x53cf4c);}});return(0x0,_0x121104[_0x7797cf(0x34b)])(_0x121104['Fragment'],{'children':[(0x0,_0x121104[_0x7797cf(0x4f2)])(_0x197fcc[_0x7797cf(0x3c1)],{'canvasElement':_0x47dfb1['canvasElement'],'shapeData':_0x4c55e8,'shapeType':_0x2f7213,'textStyle':{'ff':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)]['fontFamily'],'fs':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)][_0x7797cf(0x2da)],'cl':{'rgb':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x3c0)][_0x7797cf(0x4cb)]},..._0x2a22ab},'textModel':_0x232752?{'ha':_0x232752['ha']??_0x35d996['HorizontalAlign'][_0x7797cf(0x5a2)],'va':_0x232752['va']??_0x35d996[_0x7797cf(0x504)][_0x7797cf(0x464)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1f2a15[_0x7797cf(0x540)][_0x7797cf(0x5ed)],'defaultGradientEndColor':_0x1f2a15['ShapeDefaultConfig'][_0x7797cf(0x453)],'defaultStrokeColor':_0x1f2a15['ShapeDefaultConfig'][_0x7797cf(0x3b4)],'extensionGroups':_0x147a11[_0x7797cf(0x388)],'floatingObjectToolbarPosition':_0x23e778[_0x7797cf(0x50d)][_0x7797cf(0x3f2)],'onUpdateShapeData':(_0x14a64c,_0x21e629)=>{_0x5b243b(_0x3374ec,_0x4f078b,_0x23e8c2,_0x519865,_0x14a64c,_0x21e629),_0x21e629&&_0x2a289d(_0x21e629);},'onUpdateText':_0x43d189,'onOpenPanel':()=>{const _0x39b1df=_0x7797cf;_0x3374ec[_0x39b1df(0x3d1)](_0x236e1f['id'],{'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'drawingId':_0x519865});},'onDelete':()=>{_0x3374ec['executeCommand'](_0x47830d['RemoveSheetDrawingCommand']['id'],{'unitId':_0x4f078b,'drawings':[{'unitId':_0x4f078b,'subUnitId':_0x23e8c2,'drawingId':_0x519865,'drawingType':_0x5a4830}]});}}),_0x147a11[_0x7797cf(0x37a)]]});}function _0x1ecf10(_0x442a04){const _0x435cd9=_0x2766d8;return!!_0x442a04&&_0x435cd9(0x4d5)in _0x442a04&&_0x435cd9(0x45f)in _0x442a04;}let _0x7f7270=(0x0,_0x3d354c[_0x2766d8(0x4eb)])(()=>{const _0x15e7a1=_0x2766d8;let _0x41b128=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x4a54d8),_0x40c601=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x565640[_0x15e7a1(0x248)]),_0x3df27e=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x2ed59f[_0x15e7a1(0x554)]),_0x4ae617=(0x0,_0x23e778['useDependency'])(_0x35d996['ICommandService']),_0x163251=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x23e778[_0x15e7a1(0x26f)]),_0x3bfac4=(0x0,_0x23e778[_0x15e7a1(0x4e0)])(_0x580d8a['IRenderManagerService']),_0x52d7b1=(0x0,_0x3d354c['useMemo'])(()=>({'getShapeModel':(_0x55520d,_0x290eed,_0x4dc62b)=>_0x40c601[_0x15e7a1(0x338)](_0x55520d,_0x290eed,_0x4dc62b),'getShapeData':(_0x5c752b,_0x1f105c,_0x300c51)=>_0x40c601[_0x15e7a1(0x3ec)](_0x5c752b,_0x1f105c,_0x300c51),'getDrawingTransform':(_0xa4de83,_0x2aef99,_0x2f0b8f)=>{const _0x52d7ce=_0x15e7a1;let _0x3aa12b=_0x3df27e[_0x52d7ce(0x26d)]({'unitId':_0xa4de83,'subUnitId':_0x2aef99,'drawingId':_0x2f0b8f});return _0x3aa12b==null?void 0x0:_0x3aa12b[_0x52d7ce(0x339)];},'updateShapeText':({unitId:_0x1de90d,subUnitId:_0x2f7c23,shapeId:_0x49af8a,shapeText:_0x2cb72d,oldShapeText:_0x5b523d,hostSize:_0x1644f3})=>{_0x163251['run'](_0x1de90d,()=>{const _0x4b0925=_0x231f;var _0x3d6586;let _0x194761=_0x4ae617[_0x4b0925(0x478)](_0x33bf3b['id'],{'unitId':_0x1de90d,'subUnitId':_0x2f7c23,'shapeId':_0x49af8a,'shapeData':{'shapeText':_0x2cb72d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5b523d}}});if(!_0x194761||!_0x1644f3)return _0x194761;let _0x41d67b=_0x3df27e[_0x4b0925(0x26d)]({'unitId':_0x1de90d,'subUnitId':_0x2f7c23,'drawingId':_0x49af8a}),_0x223dec=_0x41d67b==null?void 0x0:_0x41d67b[_0x4b0925(0x339)];if(!_0x1ecf10(_0x41d67b)||!_0x223dec)return!0x1;let _0x564c8c={..._0x223dec,'width':_0x1644f3[_0x4b0925(0x49e)],'height':_0x1644f3['height']},_0x38b318=(_0x3d6586=_0x3bfac4[_0x4b0925(0x4ee)](_0x1de90d))==null||(_0x3d6586=_0x3d6586['with'](_0x590c15['SheetSkeletonManagerService'])[_0x4b0925(0x1e2)](_0x2f7c23))==null?void 0x0:_0x3d6586[_0x4b0925(0x4c3)];return _0x4ae617['syncExecuteCommand'](_0x47830d['SetSheetDrawingCommand']['id'],{'unitId':_0x1de90d,'drawings':[{..._0x41d67b,'transform':_0x564c8c,'sheetTransform':_0x38b318?(0x0,_0x47830d[_0x4b0925(0x4aa)])(_0x564c8c,_0x38b318)??_0x41d67b['sheetTransform']:_0x41d67b[_0x4b0925(0x45f)],'axisAlignSheetTransform':_0x38b318?(0x0,_0x47830d[_0x4b0925(0x3ac)])(_0x564c8c,_0x38b318)??_0x41d67b[_0x4b0925(0x4d5)]:_0x41d67b['axisAlignSheetTransform']}]});});},'updateHostSize':({unitId:_0x3adb54,subUnitId:_0x599537,shapeId:_0x4e01a5,width:_0x358614,height:_0x5513cb})=>{const _0xaf1f09=_0x15e7a1;var _0x502339;let _0x3b5069=_0x3df27e[_0xaf1f09(0x26d)]({'unitId':_0x3adb54,'subUnitId':_0x599537,'drawingId':_0x4e01a5}),_0x3e71b2=_0x3b5069==null?void 0x0:_0x3b5069[_0xaf1f09(0x339)];if(!_0x1ecf10(_0x3b5069)||!_0x3e71b2)return;let _0x5c113a={..._0x3e71b2,'width':_0x358614,'height':_0x5513cb},_0x108ab1=(_0x502339=_0x3bfac4['getRenderUnitById'](_0x3adb54))==null||(_0x502339=_0x502339[_0xaf1f09(0x28f)](_0x590c15['SheetSkeletonManagerService'])[_0xaf1f09(0x1e2)](_0x599537))==null?void 0x0:_0x502339[_0xaf1f09(0x4c3)],_0x3f4a09=_0x108ab1?(0x0,_0x47830d[_0xaf1f09(0x4aa)])(_0x5c113a,_0x108ab1)??_0x3b5069['sheetTransform']:_0x3b5069['sheetTransform'],_0x4a225c=_0x108ab1?(0x0,_0x47830d['transformToAxisAlignPosition'])(_0x5c113a,_0x108ab1)??_0x3b5069[_0xaf1f09(0x4d5)]:_0x3b5069[_0xaf1f09(0x4d5)];_0x4ae617['executeCommand'](_0x47830d['SetSheetDrawingCommand']['id'],{'unitId':_0x3adb54,'drawings':[{..._0x3b5069,'transform':_0x5c113a,'sheetTransform':_0x3f4a09,'axisAlignSheetTransform':_0x4a225c}]});},'allowHostSizeShrink':({unitId:_0x567956,subUnitId:_0x303687,shapeId:_0x4d2560})=>(0x0,_0x197fcc[_0x15e7a1(0x372)])(_0x40c601['getShapeDataById'](_0x567956,_0x303687,_0x4d2560)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x4ae617,_0x3df27e,_0x3bfac4,_0x40c601,_0x163251]),_0x1f8f93=(0x0,_0x3d354c['useMemo'])(()=>({'viewportKeys':{'main':_0x580d8a['SHEET_VIEWPORT_KEY']['VIEW_MAIN'],'leftTop':_0x580d8a[_0x15e7a1(0x48f)]['VIEW_MAIN_LEFT_TOP'],'top':_0x580d8a[_0x15e7a1(0x48f)][_0x15e7a1(0x48e)],'left':_0x580d8a['SHEET_VIEWPORT_KEY'][_0x15e7a1(0x3b9)]},'getSkeleton':(_0x38e30c,_0x55a708)=>{const _0x5650f5=_0x15e7a1;var _0x3f6832;return((_0x3f6832=_0x38e30c['with'](_0x590c15[_0x5650f5(0x599)])[_0x5650f5(0x1e2)](_0x55a708[_0x5650f5(0x35e)]))==null?void 0x0:_0x3f6832[_0x5650f5(0x4c3)])??null;}}),[]);return(0x0,_0x121104[_0x15e7a1(0x4f2)])(_0x197fcc[_0x15e7a1(0x277)],{'adapter':_0x52d7b1,'editingService':_0x41b128,'editorUnitId':_0xde4401,'positionOptions':_0x1f8f93});}),_0x5b452d=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0xe98c74,_0xcfa9c6){const _0x1a6abc=_0x2766d8;super(),this[_0x1a6abc(0x442)]=_0xe98c74,this[_0x1a6abc(0x2ca)]=_0xcfa9c6,this['_registerIcons'](),this[_0x1a6abc(0x383)]();}['_registerIcons'](){const _0x2f4c7f=_0x2766d8;this['_iconManager'][_0x2f4c7f(0x51e)](_0x2f4c7f(0x3a5))||this['disposeWithMe'](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'ObjectLayersIcon':_0x5f2102})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x2cb))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'FlipHorizontalIcon':_0x3e9cd9})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x1d5))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'FlipVerticalIcon':_0x4ae031})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x44e))||this['disposeWithMe'](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'BottomIcon':_0x460267})),this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x51e)](_0x2f4c7f(0x2b9))||this[_0x2f4c7f(0x271)](this['_iconManager'][_0x2f4c7f(0x495)]({'MoveDownIcon':_0x5e159d})),this['_iconManager'][_0x2f4c7f(0x51e)](_0x2f4c7f(0x4a5))||this['disposeWithMe'](this['_iconManager'][_0x2f4c7f(0x495)]({'MoveUpIcon':_0xf77df5})),this['_iconManager']['has'](_0x2f4c7f(0x3c2))||this[_0x2f4c7f(0x271)](this[_0x2f4c7f(0x2ca)][_0x2f4c7f(0x495)]({'ShapeFormatSettingIcon':_0x26b4c5})),this[_0x2f4c7f(0x2ca)]['has'](_0x2f4c7f(0x2ad))||this['disposeWithMe'](this['_iconManager'][_0x2f4c7f(0x495)]({'TopmostIcon':_0x222f4e}));}['_registerComponents'](){const _0x3c63f6=_0x2766d8;this['disposeWithMe'](this['_componentManager']['register'](_0x462378,_0x2460bd)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x5bd6d7,_0x1ba86f)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x2ae931,_0x10d6b6)),this['disposeWithMe'](this[_0x3c63f6(0x442)]['register'](_0x4aafa5,_0x58ceb1)),this[_0x3c63f6(0x442)]['hasDefault'](_0x2c4f7e[_0x3c63f6(0x368)])||this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x2c4f7e[_0x3c63f6(0x368)],_0x275f06)),this['disposeWithMe'](this['_componentManager'][_0x3c63f6(0x495)](_0x26c51d,_0x193f73)),this['disposeWithMe'](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x1ede14,_0x162bf7)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x361901,_0x13902d)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x4d4286,_0x5ce8e4)),this['disposeWithMe'](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x20dc16,_0xd69ed3)),this[_0x3c63f6(0x271)](this[_0x3c63f6(0x442)][_0x3c63f6(0x495)](_0x26dfdd,_0x197fcc[_0x3c63f6(0x325)])),this[_0x3c63f6(0x271)](this['_componentManager']['register'](_0x3c63f6(0x43d),_0x7f7270));}};_0x5b452d=_0x39c461([_0x400e7c(0x0,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x36a)])),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x211)]))],_0x5b452d);let _0x21f1ca=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x301e39,_0x5e35fd,_0x7fed45,_0x313317,_0xa869a9,_0x1c7299,_0x45d7fa,_0x1f1664,_0x23adeb){const _0x3b12a9=_0x2766d8;super();let _0x242dd1=_0x57b09d=>{const _0x255867=_0x231f;var _0x3c0ef,_0x1d07b6;return(((_0x3c0ef=_0x1f1664[_0x255867(0x5ec)](new _0x2a684c['WorkbookEditablePermission'](_0x57b09d['unitId'])['id']))==null?void 0x0:_0x3c0ef[_0x255867(0x58f)])??!0x0)&&(((_0x1d07b6=_0x1f1664[_0x255867(0x5ec)](new _0x2a684c[(_0x255867(0x59b))](_0x57b09d[_0x255867(0x280)],_0x57b09d[_0x255867(0x35e)])['id']))==null?void 0x0:_0x1d07b6['value'])??!0x0);},_0x2cfa0a=_0xb1e403=>_0xb1e403['shapeId']&&_0x242dd1(_0xb1e403)?_0x7fed45[_0x3b12a9(0x3ec)](_0xb1e403['unitId'],_0xb1e403[_0x3b12a9(0x35e)],_0xb1e403[_0x3b12a9(0x2a8)])??null:null,_0x3b4dc1=()=>{const _0x2b6b04=_0x3b12a9;let _0x18d527=_0xa869a9[_0x2b6b04(0x5bb)](),_0x1964ad=_0x18d527[_0x2b6b04(0x2f1)]===0x1?_0x18d527[0x0]:null;return(_0x1964ad==null?void 0x0:_0x1964ad[_0x2b6b04(0x313)])===_0x35d996[_0x2b6b04(0x44f)][_0x2b6b04(0x4ba)]&&_0x1964ad['unitId']===_0x301e39[_0x2b6b04(0x280)]?{'unitId':_0x1964ad[_0x2b6b04(0x280)],'subUnitId':_0x1964ad[_0x2b6b04(0x35e)],'shapeId':_0x1964ad[_0x2b6b04(0x314)]}:null;};this[_0x3b12a9(0x271)]((0x0,_0x197fcc[_0x3b12a9(0x20a)])(_0x301e39,_0x5e35fd,{'changes$':(0x0,_0x4737d9[_0x3b12a9(0x30b)])(_0xa869a9[_0x3b12a9(0x2a3)],_0x313317[_0x3b12a9(0x4b4)],_0x1f1664[_0x3b12a9(0x2bd)]),'isActive':()=>{const _0x1c3a31=_0x3b12a9;var _0x499a9e;return((_0x499a9e=_0x1c7299['getFocusedUnit']())==null?void 0x0:_0x499a9e[_0x1c3a31(0x331)]())===_0x301e39[_0x1c3a31(0x280)]&&!_0x45d7fa['getContextValue'](_0x35d996[_0x1c3a31(0x595)])&&_0xa869a9[_0x1c3a31(0x5bb)]()[_0x1c3a31(0x5c8)](_0x5949e5=>_0x5949e5[_0x1c3a31(0x280)]===_0x301e39[_0x1c3a31(0x280)]);},'getSelectedTarget':_0x3b4dc1,'getSource':()=>{let _0x3f264d=_0x3b4dc1();return _0x3f264d?_0x2cfa0a(_0x3f264d):null;},'getTarget':_0x4e47ba=>{const _0x3569c4=_0x3b12a9;let _0x36baba=_0x301e39[_0x3569c4(0x394)][_0x3569c4(0x54d)](new _0x580d8a['Vector2'](_0x4e47ba[_0x3569c4(0x300)],_0x4e47ba[_0x3569c4(0x4e8)]));if(!(_0x36baba instanceof _0x423ac6))return null;let _0x47d44d={'unitId':_0x301e39[_0x3569c4(0x280)],'subUnitId':_0x36baba[_0x3569c4(0x35e)],'shapeId':_0x36baba[_0x3569c4(0x2a8)]};return _0x242dd1(_0x47d44d)?_0x47d44d:null;},'getShape':_0x2cfa0a,'update':(_0x34f12d,_0x364a4e,_0xa12d6a)=>_0x23adeb[_0x3b12a9(0x3d1)](_0x33bf3b['id'],{..._0x34f12d,'shapeData':_0xa12d6a,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x364a4e}})}));}};_0x21f1ca=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x375)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640['SheetsShapeService'])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x4,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x5,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x6,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x7,_0x35d996[_0x2766d8(0x359)]),_0x400e7c(0x8,_0x35d996[_0x2766d8(0x3c6)])],_0x21f1ca);let _0x1d7f3f=_0x2766d8(0x262),_0x4fbfb1=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4512e4,_0x2df373,_0x3ce342,_0x138a5f,_0x1eb0c1,_0x20f9e7){const _0x5f24df=_0x2766d8;super(),this[_0x5f24df(0x344)]=_0x4512e4,this['_ribbonService']=_0x2df373,this[_0x5f24df(0x482)]=_0x3ce342,this[_0x5f24df(0x251)]=_0x138a5f,this[_0x5f24df(0x4bb)]=_0x1eb0c1,this['_shapeFloatingToolbarService']=_0x20f9e7,_0x2a4a7a(this,_0x5f24df(0x427),!0x1),this['_menuManagerService'][_0x5f24df(0x228)](_0x4320ab),this[_0x5f24df(0x271)]((0x0,_0x35d996[_0x5f24df(0x306)])(this[_0x5f24df(0x482)][_0x5f24df(0x2a3)][_0x5f24df(0x56a)](()=>this[_0x5f24df(0x2e2)]()))),this[_0x5f24df(0x2e2)]();}[_0x2766d8(0x2a4)](){const _0x3fb18b=_0x2766d8;this[_0x3fb18b(0x418)][_0x3fb18b(0x278)](!0x1,_0x1d7f3f),this[_0x3fb18b(0x3aa)](),super['dispose']();}[_0x2766d8(0x2e2)](){const _0x113efc=_0x2766d8;var _0x23c1c0;let _0x319872=this[_0x113efc(0x482)][_0x113efc(0x5bb)](),_0x96a3fb=_0x319872[_0x113efc(0x2f1)]===0x1?_0x319872[0x0]:void 0x0;if((_0x96a3fb==null?void 0x0:_0x96a3fb[_0x113efc(0x313)])!==_0x35d996['DrawingTypeEnum'][_0x113efc(0x4ba)]||this[_0x113efc(0x251)][_0x113efc(0x29d)](_0x96a3fb['unitId'])!==_0x35d996[_0x113efc(0x31d)][_0x113efc(0x3de)]){this[_0x113efc(0x418)][_0x113efc(0x278)](!0x1,_0x1d7f3f),this[_0x113efc(0x3aa)]();return;}let _0x33456f=(_0x23c1c0=this[_0x113efc(0x4bb)][_0x113efc(0x4ee)](_0x96a3fb[_0x113efc(0x280)]))==null?void 0x0:_0x23c1c0['engine'][_0x113efc(0x201)](),_0x3c2578=(0x0,_0x197fcc['resolveShapeContextualRibbonHostMode'])(_0x33456f)===_0x113efc(0x2b0);this[_0x113efc(0x418)][_0x113efc(0x278)](_0x3c2578,_0x1d7f3f),_0x3c2578?this[_0x113efc(0x3aa)]():this['_visible']||(this[_0x113efc(0x427)]=!0x0,this[_0x113efc(0x59d)][_0x113efc(0x5c9)](_0x274130,{'activate':!0x0}));}[_0x2766d8(0x3aa)](){const _0x1861a6=_0x2766d8;this[_0x1861a6(0x427)]&&(this[_0x1861a6(0x427)]=!0x1,this[_0x1861a6(0x59d)]['hideContextualTab'](_0x274130),this[_0x1861a6(0x59d)][_0x1861a6(0x546)]([]));}};_0x4fbfb1=_0x39c461([_0x400e7c(0x0,_0x23e778[_0x2766d8(0x4e9)]),_0x400e7c(0x1,_0x23e778['IRibbonService']),_0x400e7c(0x2,_0x2ed59f[_0x2766d8(0x554)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x4,_0x580d8a['IRenderManagerService']),_0x400e7c(0x5,(0x0,_0x35d996['Inject'])(_0x197fcc[_0x2766d8(0x2d1)]))],_0x4fbfb1);let _0x238545=class extends _0x197fcc[_0x2766d8(0x39e)]{constructor(_0x5acf8b,_0x5e59f9,_0x168a43,_0x305725,_0x52c241,_0x3c6cf3,_0x319de8,_0x48253f,_0x228120,_0x39aa7b){super(_0x5acf8b,_0x5e59f9,_0x168a43,_0x305725,_0x52c241,_0x3c6cf3,_0x319de8,_0x48253f,_0x228120,_0x39aa7b,{'componentKey':_0x26dfdd,'editorUnitId':_0xde4401});}};_0x238545=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996['Inject'])(_0x156373[_0x2766d8(0x43a)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x543)])),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x581)])),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x5,(0x0,_0x35d996['Inject'])(_0x3a1af6[_0x2766d8(0x3fa)])),_0x400e7c(0x6,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x197fcc[_0x2766d8(0x36d)])),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x156373['DocInterceptorService'])),_0x400e7c(0x8,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x3a1af6[_0x2766d8(0x208)])),_0x400e7c(0x9,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8))],_0x238545);let _0x126fbb=class extends _0x197fcc[_0x2766d8(0x4c9)]{constructor(_0x499140,_0x10ab81,_0x33489d,_0x10d1c7,_0x2245c6){const _0x4f8e9e=_0x2766d8;super(_0x499140,_0x10ab81,{'editing$':_0x33489d['editingParams$'],'resolve':_0x4c523c=>{const _0x4618f9=_0x231f;var _0x5542e3,_0x3b0b66,_0x258081;let _0x3edccf=new _0x580d8a[(_0x4618f9(0x48d))](_0x4c523c[_0x4618f9(0x300)],_0x4c523c[_0x4618f9(0x4e8)]),_0x22e30c=((_0x5542e3=_0x499140['scene'][_0x4618f9(0x4ea)](_0x3edccf))==null?void 0x0:_0x5542e3['transformVector2SceneCoord'](_0x3edccf))??_0x3edccf,_0x168675=(0x0,_0x197fcc[_0x4618f9(0x289)])(_0x499140[_0x4618f9(0x394)][_0x4618f9(0x54d)](_0x3edccf)??null,_0x22e30c);if(!(_0x168675 instanceof _0x423ac6))return null;let _0x1896a1=_0x168675[_0x4618f9(0x3f9)](_0x22e30c);if(!_0x1896a1)return null;let _0x24b3df=_0x168675,_0x1f486d={'componentKey':_0x197fcc['ShapeTextHyperLinkInfo'][_0x4618f9(0x548)],'direction':_0x4618f9(0x3a7),'offset':[0x0,0xa],'onClickOutside':()=>_0x10ab81['hideInfoPopup']()};return{'object':_0x168675,'info':{..._0x1896a1,'unitId':_0x168675[_0x4618f9(0x280)],'subUnitId':_0x168675[_0x4618f9(0x35e)],'shapeKey':_0x168675[_0x4618f9(0x5ca)],'readonly':!0x0,'copyable':((_0x3b0b66=_0x2245c6[_0x4618f9(0x5ec)](new _0x2a684c['WorkbookCopyPermission'](_0x168675[_0x4618f9(0x280)])['id']))==null?void 0x0:_0x3b0b66['value'])!==!0x1&&((_0x258081=_0x2245c6['getPermissionPoint'](new _0x2a684c[(_0x4618f9(0x33c))](_0x168675[_0x4618f9(0x280)],_0x168675[_0x4618f9(0x35e)])['id']))==null?void 0x0:_0x258081[_0x4618f9(0x58f)])!==!0x1},'attachPopup':()=>_0x10d1c7[_0x4618f9(0x4dc)](_0x24b3df,_0x1f486d)};}}),this[_0x4f8e9e(0x271)](_0x499140['unit'][_0x4f8e9e(0x435)][_0x4f8e9e(0x56a)](()=>this['clear']()));}};_0x126fbb=_0x39c461([_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x197fcc[_0x2766d8(0x36d)])),_0x400e7c(0x2,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8)),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x4,_0x35d996[_0x2766d8(0x359)])],_0x126fbb);let _0x4c901c=class extends _0x35d996[_0x2766d8(0x491)]{constructor(_0x4a8105,_0x3ee3ee,_0x1748b5,_0x36df07,_0x3068d2,_0xa92501,_0x55bb51,_0x353cbc,_0x45c6c3,_0xdd2fab,_0x238c3c){const _0x537629=_0x2766d8;super(),this['_univerInstanceService']=_0x4a8105,this[_0x537629(0x2b5)]=_0x3ee3ee,this['_menuManagerService']=_0x1748b5,this['_sheetsShapeService']=_0x36df07,this['_localeService']=_0x3068d2,this['_commandService']=_0xa92501,this[_0x537629(0x482)]=_0x55bb51,this[_0x537629(0x5be)]=_0x353cbc,this['_contextService']=_0x45c6c3,this['_renderManagerService']=_0xdd2fab,this[_0x537629(0x21a)]=_0x238c3c,_0x2a4a7a(this,_0x537629(0x1fe),null),_0x2a4a7a(this,'_activeShapeInfo',null),_0x2a4a7a(this,'_isOpenedShapeEditPanel',!0x1),_0x2a4a7a(this,_0x537629(0x49c),0x0),_0x2a4a7a(this,'_shapePopupMenuDisposable',null),_0x2a4a7a(this,'_disposePopups',[]),this[_0x537629(0x5a8)](),this[_0x537629(0x271)](this[_0x537629(0x251)][_0x537629(0x3e9)](_0x35d996[_0x537629(0x31d)]['UNIVER_SHEET'])[_0x537629(0x56a)](_0x3502c1=>{const _0x515be3=_0x537629;if(!_0x3502c1){var _0x3e0043;(_0x3e0043=this[_0x515be3(0x1fe)])==null||_0x3e0043[_0x515be3(0x2a4)]();}})),this[_0x537629(0x556)](),this[_0x537629(0x34f)](),this[_0x537629(0x271)](this[_0x537629(0x21a)][_0x537629(0x4b4)]['subscribe'](_0x2c569a=>{_0x2c569a&&this['_clearPopups']();}));}[_0x2766d8(0x5a8)](){this['_menuManagerService']['mergeMenu'](_0x243f1d);}[_0x2766d8(0x34f)](){const _0x1ab41b=_0x2766d8;this[_0x1ab41b(0x5c1)]||=this[_0x1ab41b(0x271)]((0x0,_0x197fcc[_0x1ab41b(0x337)])(this[_0x1ab41b(0x4bb)],_0x35d996[_0x1ab41b(0x31d)][_0x1ab41b(0x3de)],_0x1e14aa=>this[_0x1ab41b(0x4bd)](_0x1e14aa)));}['_getShapeInfo'](_0x4d4a42,_0x2ae5c6,_0x423f5d){const _0x2c0e56=_0x2766d8;let _0x41f958=this[_0x2c0e56(0x218)][_0x2c0e56(0x374)](_0x4d4a42,_0x2ae5c6,_0x423f5d),_0x14f70c=this[_0x2c0e56(0x218)][_0x2c0e56(0x3ec)](_0x4d4a42,_0x2ae5c6,_0x423f5d);return _0x41f958!==void 0x0&&_0x14f70c!==void 0x0?{'shapeData':_0x14f70c,'shapeId':_0x423f5d,'shapeType':_0x41f958,'unitId':_0x4d4a42,'subUnitId':_0x2ae5c6,'version':this[_0x2c0e56(0x49c)],'disableShapeOption':!0x1}:null;}[_0x2766d8(0x336)](){const _0x51322b=_0x2766d8;this[_0x51322b(0x3cf)][_0x51322b(0x528)](_0x11a92b=>_0x11a92b['dispose']()),this['_disposePopups'][_0x51322b(0x2f1)]=0x0;}['_popupMenuListener'](_0x2fd0f6){const _0x510327=_0x2766d8;let _0x13980b=new _0x35d996[(_0x510327(0x502))]();return _0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x31e)][_0x510327(0x56a)](()=>{const _0x5f382e=_0x510327;let _0x24a5bc=_0x2fd0f6[_0x5f382e(0x524)]();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x24a5bc[_0x5f382e(0x22b)]>0x1)return;let _0x357400=_0x24a5bc[_0x5f382e(0x3bf)]()['next']()[_0x5f382e(0x58f)];if(!_0x357400)return;let _0x4b383d=this[_0x5f382e(0x482)][_0x5f382e(0x20b)](_0x357400[_0x5f382e(0x5ca)]);if(!_0x4b383d||_0x4b383d['drawingType']!==_0x35d996[_0x5f382e(0x44f)][_0x5f382e(0x4ba)])return;let {unitId:_0x3cd078,subUnitId:_0x150759,drawingId:_0x5232d5,drawingType:_0x445639}=_0x4b383d,_0x189577=this[_0x5f382e(0x582)](_0x3cd078,_0x150759,_0x5232d5);if(!_0x189577)return;this[_0x5f382e(0x269)][_0x5f382e(0x458)](_0x35d996[_0x5f382e(0x4d1)],!0x0);let _0x5c6267=this[_0x5f382e(0x4bb)]['getRenderUnitById'](_0x3cd078),_0x3015ca=((_0x5c6267==null?void 0x0:_0x5c6267[_0x5f382e(0x5cc)])===!0x1?_0x5c6267['with'](_0x590c15[_0x5f382e(0x3f4)]):this['_sheetCanvasPopManagerService'])[_0x5f382e(0x4dc)](_0x357400,{'componentKey':_0x26c51d,'direction':_0x5f382e(0x35c),'offset':[0x0,_0x197fcc['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x3cd078,'subUnitId':_0x150759,'drawingId':_0x5232d5,'drawingType':_0x445639,'shapeType':_0x189577[_0x5f382e(0x3fc)],'shapeData':_0x189577[_0x5f382e(0x23b)]}});this[_0x5f382e(0x3cf)]['push'](this['disposeWithMe'](_0x3015ca)),this[_0x5f382e(0x482)]['getFocusDrawings']()[_0x5f382e(0x584)](_0x1c1232=>_0x1c1232[_0x5f382e(0x280)]===_0x3cd078&&_0x1c1232['subUnitId']===_0x150759&&_0x1c1232[_0x5f382e(0x314)]===_0x5232d5)||this[_0x5f382e(0x482)][_0x5f382e(0x2f5)]([{'unitId':_0x3cd078,'subUnitId':_0x150759,'drawingId':_0x5232d5}]);})),_0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x58a)][_0x510327(0x56a)](()=>{const _0xb7e6e=_0x510327;this[_0xb7e6e(0x336)](),this[_0xb7e6e(0x269)][_0xb7e6e(0x458)](_0x35d996[_0xb7e6e(0x4d1)],!0x1),this[_0xb7e6e(0x482)]['focusDrawing'](null);})),_0x13980b['add'](_0x2fd0f6[_0x510327(0x5b0)]['subscribe'](()=>{const _0x29ee16=_0x510327;this[_0x29ee16(0x336)]();})),_0x13980b[_0x510327(0x294)](_0x2fd0f6[_0x510327(0x330)]['subscribe'](()=>{const _0x5ab5b7=_0x510327;this[_0x5ab5b7(0x336)]();})),(0x0,_0x35d996['toDisposable'])(()=>{_0x13980b['dispose'](),this['_clearPopups']();});}['_registerOperations'](){const _0x2202fa=_0x2766d8;this[_0x2202fa(0x271)](this[_0x2202fa(0x54f)][_0x2202fa(0x3f5)](_0x1ecfb7=>{const _0x1a4d6e=_0x2202fa;if(_0x1ecfb7['id']===_0x236e1f['id']){let {unitId:_0x249e4a,subUnitId:_0x13ee5a,drawingId:_0x471954}=_0x1ecfb7[_0x1a4d6e(0x1db)];this['_shapeEditPanelVersion']+=0x1,this[_0x1a4d6e(0x39b)]=this[_0x1a4d6e(0x582)](_0x249e4a,_0x13ee5a,_0x471954),this[_0x1a4d6e(0x336)](),this['_openShapeEditPanel']();}if(_0x1ecfb7['id']===_0x13ccc7['id']&&(this[_0x1a4d6e(0x39b)]=null,this[_0x1a4d6e(0x42d)]()),_0x1ecfb7['id']===_0x565640[_0x1a4d6e(0x229)]['id']){let {unitId:_0x1ec4f0,subUnitId:_0x57b2ec,shapeId:_0x44808d}=_0x1ecfb7[_0x1a4d6e(0x1db)];if(this[_0x1a4d6e(0x39b)]&&this[_0x1a4d6e(0x39b)][_0x1a4d6e(0x2a8)]===_0x44808d){let _0x32da96=this[_0x1a4d6e(0x582)](_0x1ec4f0,_0x57b2ec,_0x44808d);_0x32da96&&(this[_0x1a4d6e(0x49c)]+=0x1,_0x32da96[_0x1a4d6e(0x4da)]=this[_0x1a4d6e(0x49c)],this[_0x1a4d6e(0x39b)]=_0x32da96,this[_0x1a4d6e(0x490)]&&this[_0x1a4d6e(0x3f3)]());}}})),this['disposeWithMe'](this[_0x2202fa(0x482)][_0x2202fa(0x2a3)][_0x2202fa(0x56a)](_0x53ff72=>{const _0x314d19=_0x2202fa;if(this[_0x314d19(0x490)]===!0x1)return;if(_0x53ff72['length']===0x0){this[_0x314d19(0x39b)]=null,this['_closeShapeEditPanel']();return;}if(_0x53ff72[_0x314d19(0x2f1)]===0x1&&_0x53ff72[0x0][_0x314d19(0x313)]===_0x35d996[_0x314d19(0x44f)][_0x314d19(0x4ba)]&&(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this['_getShapeInfo'](_0x53ff72[0x0][_0x314d19(0x280)],_0x53ff72[0x0]['subUnitId'],_0x53ff72[0x0]['drawingId']),this[_0x314d19(0x39b)])){this['_openShapeEditPanel']();return;}let _0x5a03a2=_0x53ff72[_0x314d19(0x35b)](_0x5b7329=>_0x5b7329[_0x314d19(0x313)]===_0x35d996[_0x314d19(0x44f)]['DRAWING_SHAPE']);if(_0x53ff72[_0x314d19(0x2f1)]>0x1&&_0x5a03a2[_0x314d19(0x2f1)]===_0x53ff72[_0x314d19(0x2f1)]){if(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this[_0x314d19(0x582)](_0x53ff72[0x0][_0x314d19(0x280)],_0x53ff72[0x0][_0x314d19(0x35e)],_0x53ff72[0x0][_0x314d19(0x314)]),this[_0x314d19(0x39b)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x314d19(0x49c)]+=0x1,this[_0x314d19(0x39b)]=this[_0x314d19(0x582)](_0x53ff72[0x0]['unitId'],_0x53ff72[0x0][_0x314d19(0x35e)],_0x53ff72[0x0][_0x314d19(0x314)]),this['_activeShapeInfo']){this['_activeShapeInfo'][_0x314d19(0x4c1)]=!0x0,this[_0x314d19(0x3f3)]();return;}}this[_0x314d19(0x42d)]();}));}['_openShapeEditPanel'](){const _0x929a2b=_0x2766d8;this[_0x929a2b(0x39b)]&&(this[_0x929a2b(0x1fe)]=this[_0x929a2b(0x2b5)][_0x929a2b(0x4de)]({'id':_0x462378,'header':{'title':this[_0x929a2b(0x2d4)]['t'](_0x929a2b(0x371))},'width':0x184,'children':{'label':_0x462378,...this[_0x929a2b(0x39b)]},'onClose':()=>{const _0x35bdc6=_0x929a2b;this[_0x35bdc6(0x482)][_0x35bdc6(0x2f5)](null),this[_0x35bdc6(0x269)]['setContextValue'](_0x35d996[_0x35bdc6(0x4d1)],!0x1),this[_0x35bdc6(0x1fe)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x2766d8(0x42d)](){const _0x3e99b5=_0x2766d8;this[_0x3e99b5(0x490)]=!0x1,this[_0x3e99b5(0x2b5)][_0x3e99b5(0x3e2)](_0x462378),this['_sidebarDisposable']=null,this[_0x3e99b5(0x269)][_0x3e99b5(0x458)](_0x35d996[_0x3e99b5(0x4d1)],!0x1),this['_drawingManagerService'][_0x3e99b5(0x2f5)](null);}};_0x4c901c=_0x39c461([_0x400e7c(0x0,_0x35d996[_0x2766d8(0x403)]),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x23e778[_0x2766d8(0x1f7)])),_0x400e7c(0x2,_0x23e778[_0x2766d8(0x4e9)]),_0x400e7c(0x3,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x565640[_0x2766d8(0x248)])),_0x400e7c(0x4,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996['LocaleService'])),_0x400e7c(0x5,_0x35d996['ICommandService']),_0x400e7c(0x6,_0x2ed59f['IDrawingManagerService']),_0x400e7c(0x7,(0x0,_0x35d996['Inject'])(_0x590c15[_0x2766d8(0x3f4)])),_0x400e7c(0x8,_0x35d996[_0x2766d8(0x58d)]),_0x400e7c(0x9,_0x580d8a[_0x2766d8(0x266)]),_0x400e7c(0xa,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x4a54d8))],_0x4c901c);let _0x508d9b=class extends _0x35d996['Plugin']{constructor(_0x2dff77=_0x5a65ec,_0x4e488f,_0x562681,_0x2b57a9,_0x35dc58){const _0xb3fc7c=_0x2766d8;super(),this[_0xb3fc7c(0x5b7)]=_0x2dff77,this[_0xb3fc7c(0x451)]=_0x4e488f,this['_commandService']=_0x562681,this['_configService']=_0x2b57a9,this[_0xb3fc7c(0x4bb)]=_0x35dc58;let {..._0x7eddb5}=(0x0,_0x35d996[_0xb3fc7c(0x30b)])({},_0x5a65ec,this[_0xb3fc7c(0x5b7)]);this[_0xb3fc7c(0x285)][_0xb3fc7c(0x26c)](_0xedbf59,_0x7eddb5),this[_0xb3fc7c(0x28e)]();}[_0x2766d8(0x526)](){const _0x2add7c=_0x2766d8;this[_0x2add7c(0x4bb)]['registerRenderModule'](_0x35d996[_0x2add7c(0x31d)][_0x2add7c(0x276)],[_0x238545]),(0x0,_0x35d996[_0x2add7c(0x51a)])(this[_0x2add7c(0x451)],[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x1ffec1]]);}[_0x2766d8(0x560)](){const _0x5ec30c=_0x2766d8;this[_0x5ec30c(0x451)][_0x5ec30c(0x340)](_0x4c901c)[_0x5ec30c(0x34f)]();}[_0x2766d8(0x219)](){const _0x423de4=_0x2766d8;[[_0x517ad0],[_0x36f6fd],[_0x3d86f3]]['forEach'](_0x36427e=>this[_0x423de4(0x451)][_0x423de4(0x294)](_0x36427e)),(0x0,_0x35d996[_0x423de4(0x51a)])(this['_injector'],[[_0x3d86f3],[_0x36f6fd]]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x517ad0]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996['UniverInstanceType'][_0x423de4(0x3de)],[_0x22d196]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x243495]),this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x37b743]),this[_0x423de4(0x271)](this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x126fbb])),this[_0x423de4(0x271)](this[_0x423de4(0x4bb)][_0x423de4(0x318)](_0x35d996[_0x423de4(0x31d)][_0x423de4(0x3de)],[_0x21f1ca]));}[_0x2766d8(0x404)](){const _0xcef93c=_0x2766d8;this['_injector'][_0xcef93c(0x294)]([_0x5b452d]),this[_0xcef93c(0x451)]['get'](_0x5b452d);let _0x454dcf=this[_0xcef93c(0x451)];[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x1ffec1],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61],[_0x4fbfb1]]['forEach'](_0x290813=>_0x454dcf[_0xcef93c(0x294)](_0x290813)),(0x0,_0x35d996[_0xcef93c(0x51a)])(this['_injector'],[[_0x4c901c],[_0xc945f6],[_0x319285],[_0x9476a3],[_0x4a54d8],[_0x563547],[_0x538cf9],[_0x126f61],[_0x4fbfb1]]);}[_0x2766d8(0x28e)](){const _0x1c7311=_0x2766d8;[_0x3a6254,_0x33bf3b,_0x13ccc7,_0x236e1f,_0x1af41a,_0x482521,_0x325b7a,_0x263ab1][_0x1c7311(0x528)](_0x5574c0=>this[_0x1c7311(0x271)](this[_0x1c7311(0x54f)][_0x1c7311(0x567)](_0x5574c0)));}};_0x2a4a7a(_0x508d9b,_0x2766d8(0x1f3),_0x35d996[_0x2766d8(0x31d)][_0x2766d8(0x3de)]),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4be),_0x2766d8(0x26a)),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4db),_0x5bde27),_0x2a4a7a(_0x508d9b,_0x2766d8(0x4da),_0x48a452),_0x508d9b=_0x39c461([(0x0,_0x35d996[_0x2766d8(0x1ff)])(_0x64ee3d[_0x2766d8(0x323)],_0x156373['UniverDocsPlugin'],_0x2ed59f[_0x2766d8(0x3b5)],_0x2c4f7e['UniverDrawingUIPlugin'],_0x580d8a['UniverRenderEnginePlugin'],_0x2a684c[_0x2766d8(0x3d4)],_0x3a1af6['UniverDocsUIPlugin'],_0x47830d[_0x2766d8(0x310)],_0x1ad5b7[_0x2766d8(0x5c2)],_0x353806[_0x2766d8(0x1d6)],_0x565640[_0x2766d8(0x2e6)],_0x590c15[_0x2766d8(0x2e1)],_0x197fcc['UniverShapeEditorUIPlugin']),_0x400e7c(0x1,(0x0,_0x35d996[_0x2766d8(0x3ad)])(_0x35d996[_0x2766d8(0x4c2)])),_0x400e7c(0x2,_0x35d996[_0x2766d8(0x3c6)]),_0x400e7c(0x3,_0x35d996[_0x2766d8(0x51d)]),_0x400e7c(0x4,_0x580d8a[_0x2766d8(0x266)])],_0x508d9b),_0x3f2738[_0x2766d8(0x227)]=_0x4320ab,_0x3f2738[_0x2766d8(0x2ac)]=_0x243f1d,Object[_0x2766d8(0x54e)](_0x3f2738,_0x2766d8(0x519),{'enumerable':!0x0,'get':function(){return _0x318337;}}),Object[_0x2766d8(0x54e)](_0x3f2738,_0x2766d8(0x509),{'enumerable':!0x0,'get':function(){return _0x508d9b;}});}));function _0x376c(){const _0x5a2347=['SheetSkeletonService','attrs','offsetY','IMenuManagerService','getActiveViewportByCoord','memo','worksheet','src','getRenderUnitById','UniverProSheetsShapeUi','iterator','getZoomRatio','jsx','animationEnabled','isHorizontal','rightToLeft','_instances','flipX','shape-editor-ui.toolbar.changeShape','_moveConnectorWithShape','disableObjectsEvent','_updateSrcRectByTransform','useEffect','translateWithPrecision','_getZoomRatio','ObjectListPanelBase','computeConnectorRouteLayout','_drawingRenderService','DisposableCollection','_executeResizeCommand','VerticalAlign','drawWith','_clearShapeAdjustControls','children','none','UniverSheetsShapeUIPlugin','_createShape','UpdateConnectorRelationCommand','setCanUseShapeClip','FloatingObjectToolbarPosition','@univerjs-pro/shape-editor-ui','currentColor','url(#$1','_renders','_activeTargetShapeId','shapeModel','_addShapeConnectorHandlerObjects','point','ShapePickerPanel','sheets-shape-ui.flipHorizontal','SheetPermissionCheckController','UniverSheetsShapeMobileUIPlugin','touchDependencies','isRichText','getPropertyValue','IConfigService','has','prstGeom','_highlightedSiteIndex','_urlImageService','error','sheets-shape-ui.flipVertical','getSelectedObjectMap','getBasicShapeRotateBound','onRendered','sheetViewStartColumn','forEach','observe','resolveShapeTextEditorWrapStrategy','object-layers-icon','_isStartAdjusting','getObjectListPanelSectionIdForDrawingType','presentation','sheets-shape-ui.ribbon.shape-format.text-control','M10.2\x208H11.8','drawing-ui.objectListPanel.name','#4285f4','appliedStrokeWidth','current','invert','SELECTOR','sheets-shape-ui.deleteShape','_shapeFormulaService','drawing-ui.objectListPanel.locate','Image','react','localName','function','SheetsSelectionsService','sidebarOptions$','ShapeDefaultConfig','parse','onPointerUp$','DocCanvasPopManagerService','horizontal','sheets-shape-ui.imagePanel.crop.shape','setCollapsedIds','ContextMenuGroup','componentKey','_activeImageId','startArrow','stringify','isHitLine','pick','defineProperty','_commandService','getBentTypeFromPoints','UniverSheets','GROUP','_shapeService','IDrawingManagerService','UniverSheetsMobileUIPlugin','_registerOperations','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','fromChangeset','_findShapeAtPoint','addImageSourceCache','angle','ArrangeTypeEnum','_applyFormulaAutoFitSize','doc','_draw','onSteady','getOwnPropertyDescriptor','SheetsDrawingGroupCopyPasteController','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','tag','getActiveSheet','reduce','registerCommand','URL','_updateAdjustControlPositions','subscribe','COMMAND','amd','path','toFixed','getVisible','sin','_targetShapeId','indexOf','displayName','lineType','sheets-shape-ui.ribbon.shape-format.arrange-forward','COPY_TYPE','getMenuHiddenObservable','_getDrawingRect','_isConnecting','drawing-ui.objectListPanel.lock','_getConnectionSiteAngle','384624TEHLpp','vectorEffect','HorizontalAlign','Path','@univerjs/docs','DocSelectionRenderService','_getShapeInfo','getShapeData','find','PaintIcon','mask','_context','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','setCursor','clearControl$','createElement','@univerjs-pro/sheets-shape-ui','IContextService','blockExecuteWithoutPermission','value','reverse','worldPoint','_drawingType','getDrawingOrder','_getShapeAdjustPointListById','FOCUSING_SHAPE_TEXT_EDITOR','setPrstGeom','_isHighlighted','RemoveSheetCommand','SheetSkeletonManagerService','_renderWithCache','WorksheetEditPermission','update$','_ribbonService','isHit','registerDependencies','sheets-shape-ui.shape-format.text-ribbon-control','FromArray','LEFT','sheets-shape-ui.editText','getAdjustInfoByName','_showConnectionSites','UniverDocsUi','_activeShapeModel','_initMenu','0\x200\x2017\x2016','isInGroup','drawing-ui.objectListPanel.close','CURSOR_TYPE','_getConnectPointInfo','_clearControls','attachRangeWithCoord','changing$','_editingParams$','shape-adjust-point-','useLayoutEffect','sheet.operation.open-shape-object-list-panel','drawing-ui.objectListPanel.filterAll','permissionCheckWithoutRange','_config','_baseShapeTop','_findNearestConnectionSite','RemoveSheetDrawingCommand','getFocusDrawings','asObservable','gray.0','_sheetCanvasPopManagerService','drawing-ui.objectListPanel.filterLocked','ShapeModel','_shapePopupMenuDisposable','UniverShapeEditorPlugin','setPresentation','setEditing','targetShapeId','setProperty','stopPropagation','some','showContextualTab','oKey','resolveShapeTextDocumentRenderLayout','isMainScene','sheets-shape-ui.ribbon.shape-format','distinctUntilChanged','getConfig','LocaleService','sheet.shape.picker.component','_initSelection','localToWorld','from','adjustValues','startWith','getConnectionInfo','ToggleSheetsShapeFlipCommand','_initialize','_addControl','RENDER_CLASS_TYPE','onPointerMove$','drawing-ui.objectListPanel.lockHint','1002858XaTuHP','_props','_handleFreeEndpointMove','Shape','rxjs','_isDrawingShapePointDown','@univerjs-pro/engine-shape','_drawSimpleText','BUTTON','toPrimitive','setFormulaPresentation','sheet.shape.edit.panel','isArray','_baseShapeLeft','getPermissionPoint','fill','_baseShapeWidth','getCurrentUnitOfType','isRender','_getShapeAdjustInfosById','FlipVerticalIcon','UniverSheetsDrawingUIPlugin','BooleanNumber','symbol','updateLinePoints','ShapeFormulaRibbonControl','params','ThemeService','subscribeEvent','DEFAULT_SHAPE_WIDTH','default','Position','fillImageSourceType','getSkeletonParam','stroke-width','Transform','_addShapeAdjustControl','sheets-shape-ui.objectListPanel.open','fillType','_generateCopyPasteMutations','getObjectIncludeInGroup','CROSSHAIR','TRUE','getTextModel','getImage','SetSheetsShapeRotateCommand','_sheetShapeAdjustController','_cxtHandlerPointerUp','#1a73e8','_loadShapePictureFill','type','ShapeIcon','0\x200\x2016\x2016','getPresentation','ISidebarService','getDrawingDataForUnit','_drawingAddListener','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','registerFeaturePasteHook','_imageIoService','_drawRichTextLayer','_sidebarDisposable','DependentOn','getShapeType','getCanvasElement','ShapeArrowTypeEnum','setShapeData','left','isFinite','shape-format-setting-icon','sheets-shape-ui.quickStyles','DocRenderController','setSrcRect','registerShapeFormatPainter','getDrawingOKey','ContextMenuPosition','_registerImageShapeClipDelegate','beforeCommandExecuted','create','remove$','IconManager','string','index','forward','_getOrCreateShapeModel','sheets-shape-ui.config','beginPath','_sheetsShapeService','onReady','_shapeTextEditingService','ang','pipe','flipY','useMemo','getSheetId','_generateCutPasteMutations','_clearCompletionFrame','call','createShapeFormulaDocument','ShapeTypeEnum','OPERATION','_formulaKey','SheetsShapeUIContextualRibbonSchema','mergeMenu','UpdateSheetsShapeDataMutation','_groupCopyPasteController','size','_adjHandlerPointerMove','getTextStyle','ImageSourceTypeEnum','vertical','setShouldShowAdjust','getSheetCommandTarget','removeLinePoints','featurePluginUpdateNotification','ShapeTextRibbonControl','UniverCore','UniverSheetsDrawingUi','interceptCommand','SolidLine','shape-editor-ui.toolbar.quickStyles','isEditing','shapeData','setFillImage','text','objects','entries','updateContext','resolveShapeTextHyperLinkAt','InsertShapeCommand','_setTransForm','_hyperLinkRegions','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','clipByShape','copyType','SheetsShapeService','rect','plainShapeTextToDocumentData','name','@univerjs-pro/license','SheetInterceptorService','ShapePickerDropdown','shapeKey','end','_univerInstanceService','sheet.operation.open-sheet-shape-format-panel','ShapeEditPanel','ShapeQuickStyleGallery','None','createShapeTextHyperLinkRegions','_updateImageAdjValues','SheetScrollManagerService','adjHandleSize','M2.2\x208H3.8','sheet.menu.shape.flip-vertical','INSERT','refreshFormulaPresentation','non-scaling-stroke','IUndoRedoService','sheet.shape.text.float-menu','_activeAdjustInfo','sheets-shape-contextual-ribbon','hidden','getShapeTextData','ShapeArrowSizeEnum','IRenderManagerService','M4.2\x208.3H6.8','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','_contextService','SHEET_SHAPE_UI_PLUGIN','_hasReset','setConfig','getDrawingByParam','querySelectorAll','UndoRedoGroupService','bottom','disposeWithMe','dataModel','972975UUmOKZ','description','getImageSourceCache','UNIVER_DOC','ShapeTextEditorContainer','setFallbackVisible','drawing-ui.objectListPanel.lockAll','xlink:href','drawing-ui.objectListPanel.search','getOrCreateDrawingCopyPlan','UniverEngineRender','IImageIoService','startY','unitId','REMOVE','getAutoFitPresentations','sheet.operation.open-mobile-shape-editor','sheets-shape-ui.ribbon.shape-format.arrange-front','_configService','@univerjs/core','@univerjs/sheets','_registerMoveHandler','resolveShapeTextHyperLinkObject','RIBBON','getAdjustValueByName','isDrawingObject','716535lIMvXU','_initCommands','with','trim','copyId','delete','_handleBasicShapeUpdateConnectorLineShape','add','min','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','shape-editor-ui.arrange.back','_shapes','currentAdjustValues','UniverSheetsDrawingMobileUIPlugin','Tools','connection-site-','getUnitType','flatMap','adjHandleStroke','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clip-adj-','defs','focus$','dispose','_registerDrawingMoveHandler','getViewportByCell','bottom-icon','shapeId','_shapeId','getDrawingData','resolveActiveShapeQuickStylePresetId','SheetsShapeUIMenuSchema','TopmostIcon','2sFOpFj','OTHERS','isolated','_isImagePointerDown','refreshAdjustControls','Observable','UniverDrawing','_sidebarService','drawing-ui.objectListPanel.expand','redo','_transformCalculateSrcRect','MoveDownIcon','drawing-ui.objectListPanel.filterHidden','_activeShapeId','startX','permissionPointUpdate$','debounceRefreshControls','backward','evenodd','@univerjs/drawing-ui','updateDocumentDataMargin','buildClipPath','getCurrentRangeDisable$','undo','abs','position','drawing-ui.objectListPanel.unlockAll','unsubscribe','_iconManager','FlipHorizontalIcon','CustomCommandExecutionError','getEditing','getMatrix','highlighted','MenuManagerPosition','ShapeFloatingToolbarService','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','_insertShapes','_localeService','_commandExecutedListener','UniverDrawingUi','defIds','shouldClipShapeTextDocument','drawing-ui.objectListPanel.hideAll','fontSize','Module','_isShouldShowDrawingShapeAdjust','_createCopyInfoByRange','90856qjiVmi','SetDrawingArrangeCommand','_index','UniverSheetsUIPlugin','_update','UniverProShapeEditorUi','viewportScrollY','animateFormulaPresentation','UniverSheetsShapePlugin','SetDrawingApplyMutation','_handleConnectorPointerUp','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','getRealBound','CopySheetCommand','cancelEditing','DRAWING_IMAGE','sectionCanvas','sheet.shape.floating-toolbar','deriveStateFromActiveSheet$','length','getDrawingShapeKeyByDrawingSearch','generateRandomId','UPDATE','focusDrawing','SetDrawingSelectedOperation','range','onDblclick$','_sheetPermissionCheckController','drawing-ui.objectListPanel.details','hadStyleAttribute','applyQuickStyleToShapeData','round','DocumentViewModel','M6.2\x208H7.8','offsetX','resize','drawings','_connectorObjects','OBJECT_LIST_FLOATING_SECTION_ID','drawFormulaShapeAnimationLayers','toDisposable','cxnPointRadius','ShapeFillEnum','CommandType','every','merge','_permissionService','object','visible$','getAdjustNames','UniverSheetsDrawingPlugin','_reset','ISheetDrawingService','drawingType','drawingId','getShapeTextRect','_sheetDrawingShapeRenderController','isHighlighted','registerRenderModule','Large','presentationChanged$','_disposed','formulaPresentation','UniverInstanceType','createControl$','getConnectionSiteList','_initPermission','670phyNMK','_connectionSiteObjects','UniverLicensePlugin','_transform','ShapeTextFloatToolbar','_initPrinting','scale','getCurrentSkeleton','isLineShape','onload','popup','getScene','_completionFrame','SHAPE_EDITOR_TRANSFORMER_CONFIG','ISheetClipboardService','changeStart$','getUnitId','createInternalEditorID','sheets-shape-ui','1.5.0','front','_clearPopups','bindRenderTransformerLifecycle','getShapeModel','transform','onTransformChange$','_cxnIndex','WorksheetCopyPermission','_currentScene','clip','_currentUniverService','get','DocumentDataModel','drawing-ui.objectListPanel.description','_createShapeAdjustControls','_menuManagerService','originalStrokeWidth','sheets-shape-ui.shape-format.formula-ribbon-control','resourceCollector','transformDrawingsToChartSheet','SheetPasteCommand','renderDrawingShape','jsxs','sheet.command.menu-insert-shape','getDrawingPoints','changeEnd$','initShapePopupMenu','drawing-ui.objectListPanel.typeNames.','unregister','clearAdjustValue','@univerjs/docs-ui','clearActiveDrawingObjects','_sheetBasicShapeConnectionPointController','selectable','_baseHeight','getParent','IPermissionService','drawing-ui.objectListPanel.showAll','filter','vertical-center','_shapeUpdateListener','subUnitId','drawing-ui.objectListPanel.title','@univerjs/design','getEndConnectInfo','_isStartConnectorPoint','DrawingCommonPanel','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','getShapeQuickStyleType','contentVerticalOffset','CHART','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_activeAdjustPointList','ComponentManager','getState','discreteRangeToRange','ShapeTextHyperLinkPopupService','drawing-ui.objectListPanel.unlock','updateShapeFillImage','_unitId','sheets-shape-ui.formatShape','shouldAllowShapeTextEditorHostSizeShrink','push','getShapeTypeById','FormatPainterSessionService','_adjHandlerPointerUp','actualHeight','cxnIndex','transformForAngle','panel','refreshTransform','UniverSheetsUi','cxnPointFill','contentHeight','restore','assign','sheet.operation.close-sheet-shape-format-panel','custom','_registerComponents','_activeShapeAdjustPointList','groupId','viewBox','completeEditing','extensionGroups','Line','_clearShapeConnectorHandlerObjects','replace','calcAdjValues','_insertingShapeKeys','keys','UniverDocs','_currentConnectionTarget','hasAttribute','Arrow','UUID','scene','SetSheetDrawingCommand','ConnectorCoordinateTransform','useState','updateConnectionDetection','prepareShapeTextDocumentData','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','_activeShapeInfo','registerClipDelegate','set','ShapeTextFloatMenuRenderControllerBase','Plugin','onSavingEditorData$','_baseWidth','sheets-shape-text-','M8\x202.2V3.8','getValue','ObjectLayersIcon','addClipboardHook','top-center','shape-editor-ui.arrange.front','RemoveSheetsShapeMutation','_hide','endConnectionDetection','transformToAxisAlignPosition','Inject','setAdjustValueByName','onerror','style','BehaviorSubject','makeDirty','div','stroke','UniverDrawingPlugin','_lastEditingShapeKey','clone','activeAnObject','VIEW_MAIN_LEFT','parseFloat','drawing.operation.set-drawing-active','colorChannel1','_handleConnectedEndpointPointerUp','M8\x2010.2V11.8','values','shapeText','ShapeFloatingToolbar','ShapeFormatSettingIcon','wrapStrategy','transformByState','_getImageDrawingInfo','ICommandService','clipTop','sqrt','getObject','getPropertyPriority','switchMap','_initEditingParams','removeAttribute','setShapeProps','_disposePopups','_canEdit','executeCommand','classType','useFormulaShapeToolbar','UniverSheetsPlugin','ShapeRenderModeEnum','parent','_registerFeatureMenu','@univerjs/sheets-ui','MobileObjectListPanel','sheet.menu.shape.flip-horizontal','getBoundingClientRect','calculate','UniverIcon','UNIVER_SHEET','_addShapeConnectorHandlerObject','DRAWING','setOnSavingEditorData','close','isRenderLinePointsMode','options','WorkbookCopyPermission','sheet.operation.apply-shape-quick-style','svg','@univerjs/sheets-drawing','getCurrentTypeOfUnit$','ILayoutService','enableObjectsEvent','getShapeDataById','_resetState','data','updateDocumentStyle','applyPoint','UniverProLicense','SHEET','_openShapeEditPanel','SheetCanvasPopManagerService','onCommandExecuted','_subUnitId','30786MbyIGt','height','resolveHyperLinkAt','DocEventManagerService','_copyInfo','shapeType','forwardRef','_getScrollInfo','_baseLeft','sheet.shape.object-list.panel','getBatchRemoveOp','srcRect','IUniverInstanceService','onStarting','formulaBinding','PictureFill','_sheetSkeletonService','_drawShapeText','_formulaShapes','_clearFocusedShape','_draggingConnectorId','getTransformerByCreate','computeConnectorResizeLayout','cxnPointStroke','_permissions','startConnectionDetection','getConnectionRelation','Documents','drawing-ui.objectListPanel.sectionCanvas','top','ancestorTransform','visible','decorate','_shapeFloatingToolbarService','resolveShapeTextEditorBehaviorShapeData','interceptor','getBatchUpdateOp','includes','DEFAULT_SHAPE_HEIGHT','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','sheets-shape-ui.ribbon.shape-format.formula-control','@univerjs-pro/shape-editor','save','univer-box-border\x20univer-px-4\x20univer-text-sm','constructor','DRAWING_OBJECT_LAYER_INDEX','_registerDrawingFocusChangeHandler','_formulaAnimation','_visible','viewBound','_sheetPrintInterceptorService','getDrawingVisible','16749GQSDuh','getStartConnectInfo','_closeShapeEditPanel','@univerjs/sheets-drawing-ui','sectionFloating','_clipService','isReleased','_updateShapeAdjustControls','_adjName','Medium','activeSheet$','_handleConnectedEndpointMove','_clearConnectionSites','getUnit','next','DocSelectionManagerService','DrawingApplyType','useRef','SheetShapeTextEditorContainer','MenuItemType','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','MobileDropdown','224dDVqnT','_componentManager','getConnectorLinePoints','_initEvents','_generateChartSheetCopy','insertGroupObject','getColorFromTheme','cos','routeConnectorLineShape','_baseShapeHeight','rotation','SetShapeDrawingDataCommand','complete','BottomIcon','DrawingTypeEnum','drawing-ui.objectListPanel.unlockHint','_injector','useReducer','gradientEndColor','M8\x206.2V7.8','getDrawingEffectBounds','getSheetBySheetId','_executeConnectedRouteResizeCommand','setContextValue','_updateTransform','GRID','sheets-shape-ui.ribbon.shape-format.style-control','worldRect','SheetTypes','ShapeGroupEnum','sheetTransform','image-clip-adjust-point-','removeProperty','SolidFill','_generatePasteMutations','TOP','SHAPE','PREDEFINED_HOOK_NAME','_sheetClipboardService','_registerGroupFeaturePasteHook','sheet.command.update-shape-data','isStartConnectorPoint','endArrow','onPointerDown$','relation','drawing-ui.objectListPanel.sectionFloating','strokeWidth','sheet.image-clip.shape-picker.component','useId','_baseDrawingRect','Circle','sheetViewStartRow','_createControls','addObject','render','syncExecuteCommand','getCurrentUnitInfo','RibbonInsertGroup','SetSheetsShapeTextVerticalToggleCommand','ShapeFormulaService','_sheetDrawingService','_attachConnectorObjectEvent','React','applySheetDrawingPlacement','actions','_drawingManagerService','getBatchAddOp','_getImagePrstGeom','buildShapeTextDataUpdate','EMPTY','drawing-ui.objectListPanel.collapse','drawing-ui.objectListPanel.nameInput','M14\x208H14.2','components','prstGeomAdjValues','clipHeight','Vector2','VIEW_MAIN_TOP','SHEET_VIEWPORT_KEY','_isOpenedShapeEditPanel','Disposable','getCurrentScrollState','isConnectorShape','add$','register','_handleFreeEndpointPointerUp','multiply','shape-editor-ui.arrange.backward','exports','idSuffix','_sheetInterceptorService','_shapeEditPanelVersion','SheetPrintInterceptorService','width','SHAPE_TEXT','1em','defer','cxnPointStrokeWidth','http://www.w3.org/2000/svg','UniverDesign','MoveUpIcon','element','CHART_PAGE','drawing-ui.objectListPanel.dragToReorder','_getSceneAndTransformerByDrawingSearch','transformToDrawingPosition','getActualSize','_attachAdjustEvent','@univerjs-pro/sheets-shape','resolveShapeTextDocumentPageHeight','resetCursor','cloneShapeDataForType','adjName','UniverUi','computeStraightConnectorLayout','editingParams$','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','priority','clearAdjustControls','refreshShapeFillImage','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','DRAWING_SHAPE','_renderManagerService','getInverseCoord','_popupMenuListener','pluginName','InsertSheetsShapeMutation','WorkbookEditablePermission','disableShapeOption','Injector','skeleton','useObservable','image','_onSavingEditorData$','sheets-shape-format-font-family-menu','_initCopyPaste','ShapeTextHyperLinkHoverController','_cxtHandlerPointerMove','color','_baseTop','fillImageSource','getDrawingSearch','setHighlighted','canvasElement','FOCUSING_COMMON_DRAWINGS','registerFeatureMenu','_calculateFreeEndpointAngle','_loadAndSetImage','axisAlignSheetTransform','SheetDrawingAnchorType','resolveFormulaShapeAutoFitSize','map','getSkeleton','version','packageName','attachPopupToObject','sheets-shape-ui.shape-format.style-ribbon-control','open','worldPoints','useDependency','_executeConnectionCommand','ShapeLineTypeEnum','disconnect','normalizeShapeTextModel','getTransformer'];_0x376c=function(){return _0x5a2347;};return _0x376c();}