@univerjs-pro/docs-shape-ui 1.0.0-alpha.8 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/commands/operations/shape-ribbon.operation.d.ts +13 -0
  62. package/lib/types/const.d.ts +7 -0
  63. package/lib/types/controllers/shape-contextual-ribbon.controller.d.ts +18 -0
  64. package/lib/types/locale/en-US.d.ts +1 -0
  65. package/lib/types/menu/schema.d.ts +1 -0
  66. package/lib/types/menu/shape-format-ribbon.menu.d.ts +20 -0
  67. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +3 -4
  68. package/lib/types/views/shape-format-ribbon/DocsShapeFormatRibbonControls.d.ts +8 -0
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +18 -18
  90. package/lib/types/views/ShapeOptions.d.ts +0 -26
  91. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -11
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x10f4(_0x5ab04e,_0xb629fd){_0x5ab04e=_0x5ab04e-0x1c3;const _0x1323de=_0x1323();let _0x10f421=_0x1323de[_0x5ab04e];return _0x10f421;}function _0x1323(){const _0x38234a=['onDblclick$','unregister','currentAdjustValues','_initShapePopupMenu','resolveShapeTextEditorBehaviorShapeData','@univerjs-pro/shape-editor','colorChannel1','_menuManagerService','setPresentation','IRenderManagerService','angle','UniverDocsDrawing','TextWrappingStyle','VIEW_MAIN','color','_updateAdjustControlPositions','_clearShapeAdjustControls','DRAWING_DOM','default','_lastEditingShapeKey','_docsShapeService','getPresentation','getDrawingPoints','constructor','title','COMMAND','disposeWithMe','createControl$','onStarting','ShapeEditPanel','setConfig','toStringTag','idSuffix','http://www.w3.org/2000/svg','resize','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','UniverDocsUIPlugin','jsxs','ISidebarService','_contextService','evenodd','useRef','onPointerUp$','complete','_formulaAnimation','getShapeModel','0\x200\x2016\x2016','1em','_addShapeAdjustControl','layoutType','getDrawingShapeKeyByDrawingSearch','@univerjs/core','BehaviorSubject','disableObjectsEvent','978756yhNxHb','oKey','preValue','DocumentViewModel','startIndex','onCommandExecuted','toString','flipY','data','makeDirty','_shapeTextEditingService','_adjHandlerPointerUp','isLineShape','isRichText','doc.operation.open-shape-object-list-panel','_getShapeInfo','ShapeTypeEnum','focus$','useState','_drawSimpleText','setFillImage','attachPopupToObject','_getActiveDrawingShape','UniverLicensePlugin','url(#$1','visible','sin','ShapeTextEditorContainer','defIds','canvas','_drawShapeText','useEffect','currentColor','warn','Module','Transform','getObjectListPanelTypeName','_baseShapeTop','below','forEach','getDrawingEditable','featurePluginUpdateNotification','updateShapeFillImage','drawWith','mergeMenu','clearControl$','attrs','docs-shape-ui.config','adjName','univer-box-border\x20univer-px-4\x20univer-text-sm','getBody','plainShapeTextToDocumentData','react/jsx-runtime','sectionFloating','WRAP_SQUARE','SetDocDrawingArrangeCommand','getShapeDataById','cancelEditing','Plugin','invert','reduce','call','_drawingManagerService','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','path','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','paragraph','UNIVER_DOC','ShapePickerPanel','UNIVER_SHEET','UpdateDocDrawingWrappingStyleCommand','connectInjector','register','@univerjs/drawing-ui','extraProps','_updateShapeAdjustControls','Rect','IContextService','DrawingImageClipService','React','_sidebarDisposable','endOffset','indexOf','stopPropagation','registerRenderModule','getDrawingOrder','selectable','_getShapeAdjustInfosById','RENDER_CLASS_TYPE','updateDocumentStyle','children','completeEditing','ObjectLayersIcon','Path','createShapeFormulaDocument','xlink:href','drawings','IImageIoService','shapeType','buildShapeTextDataUpdate','DRAWING_UNIT','DRAWING_IMAGE','backward','_initCommands','3OPYoLR','focusDrawing','_subUnitId','round','UniverDocs','4417317LwFEMU','_baseShapeLeft','onTransformChange$','contentHeight','clearActiveDrawingObjects','entries','isInGroup','useFormulaShapeToolbar','CommandType','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','setAdjustValueByName','getUnitType','getCurrentTypeOfUnit$','srcRect','getShapePopupMenus','_univerInstanceService','packageName','left','docs-shape-ui.openPanel','5403760sjCUoy','add','ShapeLineTypeEnum','IConfigService','setPrstGeom','buildClipPath','getActiveViewportByCoord','getDrawingByParam','offsetX','forward','_imageIoService','endArrow','clearAdjustControls','reverse','set','isConnectorShape','map','LocaleService','resolveShapeTextDocumentRenderLayout','description','docs-shape-ui.insertShape','draw','SHAPE_TEXT','_openShapeEditPanel','drawingId','IUIPartsService','ShapeFormulaService','1.0.0-alpha.8','adjHandleFill','_activeAdjustInfo','24AwLrKW','enhanceParams','_drawingType','IUniverInstanceService','OPERATION','iterator','fillImageSourceType','_clearPopups','adjHandleStroke','_renderManagerService','SolidLine','_registerDrawingTransformHandler','refreshFormulaPresentation','restore','BooleanNumber','_baseShapeHeight','Disposable','getTextModel','docs-shape-ui.textWrap.inline','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','delete','UniverProShapeEditorUi','custom','ContextMenuPosition','unit','resolveShapeTextEditorWrapStrategy','_formulaShapes','animateFormulaPresentation','prepareShapeTextDocumentData','_adjHandlerPointerMove','text','src','Shape','extensionGroups','scale','UniverDocsUi','_urlImageService','div','LEFT','_isShouldShowDrawingShapeAdjust','fillImageSource','SetDrawingSelectedOperation','getImage','fontSize','UniverShapeEditorUIPlugin','UpdateDocShapeDataCommand','name','getDrawingSearch','transformForAngle','error','_getShapeAdjustPointListById','DOCS_COMPONENT_MAIN_LAYER_INDEX','_clipService','updateContext','BEHIND_TEXT','ShapePickerDropdown','VIEWPORT_KEY','_refreshShapeData','contentVerticalOffset','prototype','_shapeFormulaService','20QeLsGS','shapeId','isRenderLinePointsMode','UniverDrawing','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_getSceneByUnitId','.below','scene','getInverseCoord','_editingParams$','_componentManager','normalizeShapeTextModel','calculate','_drawRichText','getFocusDrawings','getShapeType','transformByState','_registerComponents','unitId','_adjustPointObjects','objects','with','FromArray','refreshTransform$','toDisposable','offsetY','Arrow','308hvObPl','isRender','getScene','getShapeTypeById','mask','setShapeProps','transform','UniverInstanceType','render','getUnit','UniverDocsPlugin','532106wvOHyF','_props','DocDrawingTextWrap','_initializedShapePopupMenu','enableObjectsEvent','translate','_applyFormulaAutoFitSize','0\x200\x2020\x2020','UniverProDocsShapeUi','ShapeArrowTypeEnum','object','DocCanvasPopManagerService','clip','_activeShapeInfo','stroke','svg','shapeModel','WRAP_TOP_AND_BOTTOM','open','rect','isEditing','InsertDocShapeCommand','_isStartAdjusting','doc','value','smartArt','formulaBinding','UpdateDocShapeDataMutation','createInternalEditorID','ImageSourceTypeEnum','dispose','isHit','OTHERS','_localeService','useMemo','values','adjHandleSize','animationEnabled','_initMenu','DocsShapeTextEditorContainer','getState','getUnitId','DRAWING_SHAPE','MEDIA','useDependency','keys','clearAdjustValue','@univerjs/docs-ui','UniverRenderEnginePlugin','UniverDocsDrawingUIPlugin','_configService','UniverDrawingUi','@univerjs/ui','ContextMenuGroup','refreshShapeFillImage','subscribeEvent','getCurrentUnitOfType','clone','INLINE','DependentOn','Injector','dom','initTransformer','classType','IDrawingManagerService','DocsShapeUIMenuSchema','docs-shape-ui.textWrap.behindText','parent','getParagraphContentStartOffset','startArrow','image','hidden','string','UniverCore','setCanUseShapeClip','SHAPE','activateDrawingObject','getActualSize','get','useObservable','_formulaKey','UpdateDocDrawingMetadataCommand','registerComponent','DocSelectionManagerService','prstGeom','width','_context','IDocDrawingService','setSrcRect','popup','doc.operation.open-doc-shape-format-panel','UniverShapeEditorPlugin','subscribe','_shapeId','GROUP','LAYOUT','_disposePopups','Documents','getEditing','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','shape','clip-','applyPoint','random','WRAP_NONE','unsubscribe','paragraphMenuPlacement','getDrawingVisible','ComponentManager','_toScenePoint','executeCommand','getTransformerByCreate','TOP','DrawingTypeEnum','push','shapeKey','setFormulaPresentation','_drawRichTextLayer','sheet.image-clip.shape-picker.component','DOC_CONTENT_INSERT_MENU_ID','DEFAULT_DOC_SHAPE_HEIGHT','refreshAdjustControls','CONTENT','ShapeModel','translateWithPrecision','shape-text-','debounceRefreshControls','Medium','remove$','docs-shape-ui.textWrap.topAndBottom','has','UniverProEngineShape','FOCUSING_COMMON_DRAWINGS','text-wrap-shape-icon','isHitLine','_getFocusedShapeAtPoint','_onSavingEditorData$','_registerDrawingFocusChangeHandler','multiply','getSnapshot','forwardRef','vertical','TRUE','size','RemoveDocDrawingCommand','startOffset','BUTTON','calcAdjValues','docs-shape-ui.hidePanel','ShapeIcon','behindText','_createShapeAdjustControls','getRenderUnitById','_activeShapeAdjustPointList','cos','UpdateDrawingDocTransformCommand','ShapeFloatingToolbar','_loadShapePictureFill','tag','URL','UniverIcon','Large','table','Line','symbol','getParent','_adjName','transformVector2SceneCoord','formulaPresentation','DOC_PARAGRAPH_T_INSERT_MENU_ID','getRealBound','docs-shape-ui.textWrap.square','_createShapePopupMenu','Circle','Fragment','UniverDocsShapePlugin','Inject','_toVisualAdjustPoint','createElement','shapeText','behindDoc','@univerjs-pro/docs-shape','paragraphId','_insertShapes','top-center','shapeData','merge','getAutoFitPresentations','DrawingCommonPanel','clear','disableShapeOption','_draw','memo','@univerjs-pro/docs-shape-ui','TextWrapShapeIcon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','_config','ancestorTransform','_updateShape','SELECTOR','getShapeTextRect','DRAWING_OBJECT_LAYER_INDEX','assign','DocShapeAnchorPosition','_attachAdjustEvent','_isOpenedShapeEditPanel','some','@univerjs-pro/shape-editor-ui','getAdjustValueByName','rxjs','_initSelection','ShapeDefaultConfig','function','UniverDrawingPlugin','params','DRAWING_VIDEO','doc.image-clip.shape-picker.component','group','ShapeFillEnum','create','ShapeArrowSizeEnum','presentationChanged$','_injector','UniverProDocsShape','decorate','next','syncExecuteCommand','docs-shape-ui.objectListPanel.open','registerClipDelegate','_registerImageShapeClipDelegate','paragraphs','_closeShapeEditPanel','DocsShapeService','getShapeTextData','DRAWING_TABLE','PARAGRAPH','find','defineProperty','_getActiveDrawingParam','RibbonInsertGroup','height','INSERT_BELLOW_MENU_ID','target','addImageSourceCache','isDrawingObject','moveRange','editingParams$','renderDrawingShape','DRAWING_GROUP','IN_FRONT_OF_TEXT','beginPath','localeService','resetCursor','4717516XavfGj','_initUIPart','getObjectListPanelSectionIdForDrawingType','displayName','_activeShapeId','_registerOperations','UniverEngineRender','_sidebarService','update$','getDrawingData','asObservable','_commandService','resolveFormulaShapeAutoFitSize','current','doc.operation.close-doc-shape-format-panel','Vector2','none','_unitId','PositionedObjectLayoutType','panel','attachTransformerTo','length','_docCanvasPopManagerService','clipByShape','getValue','DEFAULT_DOC_SHAPE_WIDTH','_transformCalculateSrcRect','_baseShapeWidth','_updateSrcRectByTransform','SHAPE_EDITOR_TRANSFORMER_CONFIG','setContextValue','drawingType','_transform','fillType','registerCommand','238608fkgzJc','UniverDocsShapeUIPlugin','trim','getObjectIncludeInGroup','_releaseRenderCache','DOCS_SHAPE_UI_PLUGIN','react','changeStart$','docs-shape-text-','_docDrawingShapeRenderController','getActiveTextRange','clipHeight','object-layers-icon','_activeShapeModel','_loadAndSetImage','dataModel','strokeWidth','filter','FOCUSING_SHAPE_TEXT_EDITOR','onReady','DocSelectionRenderService','sectionCanvas','getViewports','changeEnd$','save','subUnitId','ICommandService','menu','changing$','docs-shape-ui.crop.shape','_initialize','horizontal','ShapeRenderModeEnum','getMatrix','_popupMenuListener','doc.shape.edit.panel','_shapeEditPanelVersion','4rOEuxT','getShapeData','1441097CzDhiT','MenuItemType','#3B82F6','setOnSavingEditorData','flipX','segmentId','type','fill','doc.shape.object-list.panel','pluginName','CURSOR_TYPE','video','getMenuHiddenObservable','substring','setEditing','_iconManager','DocumentDataModel','getTextStyle','exports','top','includes','_init','jsx','SolidFill','presentation','_registerIcons','close','IconManager'];_0x1323=function(){return _0x38234a;};return _0x1323();}(function(_0x537c5c,_0x23ad49){const _0x4b7666=_0x10f4,_0x422316=_0x537c5c();while(!![]){try{const _0x110765=parseInt(_0x4b7666(0x2a8))/0x1*(-parseInt(_0x4b7666(0x3fd))/0x2)+parseInt(_0x4b7666(0x364))/0x3*(parseInt(_0x4b7666(0x260))/0x4)+-parseInt(_0x4b7666(0x3d7))/0x5*(-parseInt(_0x4b7666(0x2fc))/0x6)+parseInt(_0x4b7666(0x2aa))/0x7*(-parseInt(_0x4b7666(0x39a))/0x8)+-parseInt(_0x4b7666(0x369))/0x9+parseInt(_0x4b7666(0x37c))/0xa+-parseInt(_0x4b7666(0x3f2))/0xb*(-parseInt(_0x4b7666(0x283))/0xc);if(_0x110765===_0x23ad49)break;else _0x422316['push'](_0x422316['shift']());}catch(_0x53cbdb){_0x422316['push'](_0x422316['shift']());}}}(_0x1323,0xb8a95),function(_0x3073fb,_0x35abfb){const _0x5d0056=_0x10f4;typeof exports==_0x5d0056(0x407)&&typeof module<'u'?_0x35abfb(exports,require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs-pro/shape-editor-ui'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react'),require('rxjs')):typeof define==_0x5d0056(0x237)&&define['amd']?define([_0x5d0056(0x2bc),_0x5d0056(0x42c),_0x5d0056(0x431),_0x5d0056(0x218),'@univerjs-pro/engine-shape',_0x5d0056(0x2cb),_0x5d0056(0x2f9),'@univerjs/docs','@univerjs/docs-drawing','@univerjs/engine-render','@univerjs/drawing',_0x5d0056(0x232),_0x5d0056(0x345),_0x5d0056(0x330),'@univerjs-pro/license','@univerjs/docs-drawing-ui',_0x5d0056(0x289),_0x5d0056(0x234)],_0x35abfb):(_0x3073fb=typeof globalThis<'u'?globalThis:_0x3073fb||self,_0x35abfb(_0x3073fb[_0x5d0056(0x405)]={},_0x3073fb[_0x5d0056(0x3bd)],_0x3073fb['UniverUi'],_0x3073fb[_0x5d0056(0x242)],_0x3073fb[_0x5d0056(0x1e6)],_0x3073fb['UniverProShapeEditor'],_0x3073fb[_0x5d0056(0x446)],_0x3073fb[_0x5d0056(0x368)],_0x3073fb[_0x5d0056(0x2d1)],_0x3073fb[_0x5d0056(0x266)],_0x3073fb[_0x5d0056(0x3da)],_0x3073fb[_0x5d0056(0x3af)],_0x3073fb[_0x5d0056(0x430)],_0x3073fb['React'],_0x3073fb['UniverProLicense'],_0x3073fb['UniverDocsDrawingUi'],_0x3073fb[_0x5d0056(0x34b)],_0x3073fb[_0x5d0056(0x234)]));}(this,function(_0x12a5c6,_0x4e6713,_0x517280,_0x555e7b,_0x5354f7,_0x5a3a75,_0xee7709,_0x458dc7,_0x2949a0,_0x2989a1,_0x291800,_0x3a322f,_0x5b086f,_0x3da6be,_0x28da5a,_0x5830e8,_0x316c68,_0x15594a){const _0x2f3801=_0x10f4;Object['defineProperty'](_0x12a5c6,Symbol[_0x2f3801(0x2e5)],{'value':_0x2f3801(0x31e)});let _0x5cf69f=_0x2f3801(0x2ac),_0x1ccaf1='#2563EB';function _0x3fb3bf(_0x3a6644,_0x292629){const _0x587529=_0x2f3801;if(_0x292629){if((0x0,_0x5354f7[_0x587529(0x38b)])(_0x3a6644)&&(_0x292629['startArrow']||_0x292629[_0x587529(0x387)]))return{'ln':{'startArrow':_0x292629[_0x587529(0x442)]?{'type':_0x5354f7[_0x587529(0x406)]['Arrow'],'size':_0x5354f7[_0x587529(0x23f)][_0x587529(0x1e2)]}:void 0x0,'endArrow':_0x292629[_0x587529(0x387)]?{'type':_0x5354f7[_0x587529(0x406)][_0x587529(0x3f1)],'size':_0x5354f7[_0x587529(0x23f)][_0x587529(0x204)]}:void 0x0}};if(_0x3a6644===_0x5354f7[_0x587529(0x30c)][_0x587529(0x348)]&&(_0x292629['horizontal']||_0x292629['vertical']))return(0x0,_0x5a3a75['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x5354f7['ShapeFillEnum'][_0x587529(0x2c1)],'color':_0x5cf69f},'isHorizontal':!!_0x292629['horizontal'],'stroke':{'lineStrokeType':_0x5354f7[_0x587529(0x37e)][_0x587529(0x3a4)],'width':0x1,'color':_0x1ccaf1}});}}function _0x312ee4(_0x5aa455,_0x26f54b){const _0x3499b4=_0x2f3801;var _0x239840,_0x3c2b03,_0x2b2e70,_0x4e9cd3;let _0x1c00a9=(_0x239840=_0x26f54b[_0x3499b4(0x2af)])==null?'':_0x239840,_0x4707de=(_0x3c2b03=_0x5aa455['getSelfOrHeaderFooterModel'](_0x1c00a9))==null?void 0x0:_0x3c2b03[_0x3499b4(0x32e)]();if(!_0x4707de)return null;let _0x37ff8f=(_0x2b2e70=_0x4707de[_0x3499b4(0x249)])==null?[]:_0x2b2e70,_0x23e170=(_0x4e9cd3=_0x37ff8f['find'](_0x4bd619=>{const _0x557dac=_0x3499b4;let _0x51e350=(0x0,_0xee7709[_0x557dac(0x441)])(_0x4707de,_0x4bd619);return _0x26f54b['startOffset']>=_0x51e350&&_0x26f54b[_0x557dac(0x1f4)]<=_0x4bd619[_0x557dac(0x300)];}))==null?_0x37ff8f['at'](-0x1):_0x4e9cd3;return _0x23e170?{'paragraphId':_0x23e170[_0x3499b4(0x219)],'segmentId':_0x1c00a9,'position':_0x555e7b[_0x3499b4(0x22e)]['OFFSET'],'offset':_0x26f54b[_0x3499b4(0x1f4)]-(0x0,_0xee7709['getParagraphContentStartOffset'])(_0x4707de,_0x23e170)}:null;}function _0x345555(_0x9219e1,_0xbba210,_0x1b3892){const _0x594dcd=_0x2f3801;var _0x2c5cf7,_0x4ab4af,_0xf0f919;if(!_0x1b3892)return null;let _0x80d752=(_0x2c5cf7=_0x9219e1[_0x594dcd(0x44b)](_0x2989a1[_0x594dcd(0x2cf)])[_0x594dcd(0x1fb)](_0xbba210))==null?void 0x0:_0x2c5cf7[_0x594dcd(0x3ec)](_0x4e6713['DocParagraphMenuService'])['activeTarget'];if(!_0x80d752)return null;let _0xff7098=_0x1b3892==='below'?{'startOffset':_0x80d752[_0x594dcd(0x258)][_0x594dcd(0x34d)],'endOffset':_0x80d752[_0x594dcd(0x258)][_0x594dcd(0x34d)]}:_0x80d752['menuRange'];return{'startOffset':_0xff7098[_0x594dcd(0x1f4)],'endOffset':_0xff7098[_0x594dcd(0x34d)],'collapsed':_0xff7098[_0x594dcd(0x1f4)]===_0xff7098[_0x594dcd(0x34d)],'segmentId':(_0x4ab4af=(_0xf0f919=_0x80d752[_0x594dcd(0x33e)])==null?void 0x0:_0xf0f919[_0x594dcd(0x2af)])==null?'':_0x4ab4af};}let _0x58d64e={'type':_0xee7709['CommandType'][_0x2f3801(0x2df)],'id':'doc.command.menu-insert-shape','handler':async(_0x51abbd,_0x2c31bc)=>{const _0x540f13=_0x2f3801;var _0x444d45,_0x4f6c06,_0x393eaf,_0x5171c2,_0x46a4ac;let _0x192487=_0x51abbd[_0x540f13(0x44b)](_0xee7709['IUniverInstanceService'])[_0x540f13(0x435)](_0xee7709[_0x540f13(0x3f9)]['UNIVER_DOC']);if(!_0x192487)return!0x1;let _0x236780=_0x51abbd['get'](_0xee7709[_0x540f13(0x29d)]),_0x31a1ee=_0x192487[_0x540f13(0x426)](),_0x2cc42e=(_0x444d45=_0x2c31bc[_0x540f13(0x3d8)])==null?(0x0,_0xee7709['generateRandomId'])():_0x444d45,_0x3f1c30=(_0x4f6c06=_0x2c31bc['width'])==null?_0x555e7b[_0x540f13(0x279)]:_0x4f6c06,_0x4f3f24=(_0x393eaf=_0x2c31bc[_0x540f13(0x253)])==null?_0x555e7b[_0x540f13(0x1db)]:_0x393eaf,_0x2e63db=(_0x5171c2=(_0x46a4ac=_0x2c31bc['shapeData'])==null?_0x3fb3bf(_0x2c31bc[_0x540f13(0x415)],_0x2c31bc[_0x540f13(0x39b)]):_0x46a4ac)==null?{'fill':{'fillType':_0x5354f7[_0x540f13(0x23d)]['SolidFill'],'color':_0x5cf69f},'stroke':{'lineStrokeType':_0x5354f7['ShapeLineTypeEnum'][_0x540f13(0x3a4)],'width':0x1,'color':_0x1ccaf1}}:_0x5171c2,_0x2a1adf=_0x345555(_0x51abbd,_0x31a1ee,_0x2c31bc[_0x540f13(0x1cd)]),_0x2cf2d2=_0x2a1adf==null?_0x51abbd[_0x540f13(0x44b)](_0x458dc7[_0x540f13(0x450)])[_0x540f13(0x28d)]():_0x2a1adf;if(!_0x2cf2d2)return!0x1;let _0x29f87e=_0x312ee4(_0x192487,_0x2cf2d2);return _0x29f87e?!!_0x236780[_0x540f13(0x245)](_0x555e7b[_0x540f13(0x412)]['id'],{'unitId':_0x31a1ee,'shapeId':_0x2cc42e,'shapeType':_0x2c31bc[_0x540f13(0x415)],'shapeData':_0x2e63db,'transform':{'width':_0x3f1c30,'height':_0x4f3f24},'placement':{'wrappingStyle':_0x2949a0[_0x540f13(0x2d2)]['INLINE'],'anchor':_0x29f87e}}):!0x1;}},_0x11b824=_0x2f3801(0x2a6),_0x4b22f9=_0x2f3801(0x2b2),_0xaaddeb=(0x0,_0xee7709[_0x2f3801(0x419)])(_0x2f3801(0x392)),_0x143504='doc.shape.text.float-menu',_0x16a3a6={'id':_0x2f3801(0x30a),'type':_0xee7709[_0x2f3801(0x371)][_0x2f3801(0x2df)],'handler':(_0x469140,_0xcde6e0)=>{const _0x41a58c=_0x2f3801;let _0x2dffed=_0x469140['get'](_0x517280[_0x41a58c(0x2ec)]),_0x2ce247=_0x469140['get'](_0xee7709[_0x41a58c(0x38d)]),_0x27bb16=_0x469140[_0x41a58c(0x44b)](_0x291800['IDrawingManagerService']);return(_0xcde6e0==null?void 0x0:_0xcde6e0[_0x41a58c(0x415)])===_0x41a58c(0x2c4)?(_0x2dffed[_0x41a58c(0x2c4)](_0x4b22f9),!0x0):(_0x2dffed[_0x41a58c(0x40f)]({'id':_0x4b22f9,'header':{'title':_0x2ce247['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x4b22f9},'onClose':()=>{const _0x40987d=_0x41a58c;_0x27bb16[_0x40987d(0x365)](null);},'width':0x168}),!0x0);}};function _0x240031(_0x2103b0,_0x355d3a){return function(_0x3145b7,_0x1f3cd6){_0x355d3a(_0x3145b7,_0x1f3cd6,_0x2103b0);};}function _0x4e2bf9(_0x117cc3,_0x705646,_0xaad261,_0x1df888){const _0x1b8a88=_0x2f3801;var _0x535ba0=arguments[_0x1b8a88(0x275)],_0x37d050=_0x535ba0<0x3?_0x705646:_0x1df888===null?_0x1df888=Object['getOwnPropertyDescriptor'](_0x705646,_0xaad261):_0x1df888,_0x58aeb8;if(typeof Reflect==_0x1b8a88(0x407)&&typeof Reflect[_0x1b8a88(0x243)]==_0x1b8a88(0x237))_0x37d050=Reflect[_0x1b8a88(0x243)](_0x117cc3,_0x705646,_0xaad261,_0x1df888);else{for(var _0x3ed6c4=_0x117cc3[_0x1b8a88(0x275)]-0x1;_0x3ed6c4>=0x0;_0x3ed6c4--)(_0x58aeb8=_0x117cc3[_0x3ed6c4])&&(_0x37d050=(_0x535ba0<0x3?_0x58aeb8(_0x37d050):_0x535ba0>0x3?_0x58aeb8(_0x705646,_0xaad261,_0x37d050):_0x58aeb8(_0x705646,_0xaad261))||_0x37d050);}return _0x535ba0>0x3&&_0x37d050&&Object[_0x1b8a88(0x250)](_0x705646,_0xaad261,_0x37d050),_0x37d050;}let _0x25b37f=class extends _0xee7709['Disposable']{constructor(_0x10ae90,_0x212f38){const _0x36b896=_0x2f3801;super(),this[_0x36b896(0x3ce)]=_0x10ae90,this[_0x36b896(0x33a)]=_0x212f38,this[_0x36b896(0x248)](),this[_0x36b896(0x3ce)][_0x36b896(0x447)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x36b896(0x3ce)][_0x36b896(0x447)](!0x1)});}[_0x2f3801(0x248)](){const _0x504cb7=_0x2f3801;let _0x364fbf=new Map(),_0x1e23d6=this[_0x504cb7(0x3ce)][_0x504cb7(0x247)]((_0x5d3aa4,_0x2e7575,_0x3b2674,_0x5c85f4,_0x38a2a6)=>{const _0x42b85e=_0x504cb7;let _0x2e5a1c=_0x2e7575;if(_0x2e5a1c===_0x5354f7['ShapeTypeEnum']['None']||_0x2e7575===_0x42b85e(0x3b0))return!0x1;try{let _0x236c81=_0x364fbf[_0x42b85e(0x44b)](_0x2e7575);return _0x236c81||(_0x236c81=new _0x5354f7[(_0x42b85e(0x1de))](_0x2e5a1c,_0x42b85e(0x1c8)+_0x2e7575),_0x364fbf[_0x42b85e(0x38a)](_0x2e7575,_0x236c81)),_0x236c81[_0x42b85e(0x42b)](),_0x38a2a6&&Object[_0x42b85e(0x42a)](_0x38a2a6)[_0x42b85e(0x275)]>0x0&&_0x236c81['setShapeData']({'adjustValues':_0x38a2a6},!0x0),_0x236c81['updateContext']({'width':_0x3b2674,'height':_0x5c85f4}),_0x236c81[_0x42b85e(0x381)](_0x5d3aa4,{'left':0x0,'top':0x0,'width':_0x3b2674,'height':_0x5c85f4});}catch{return!0x1;}});this['disposeWithMe'](_0x1e23d6),this[_0x504cb7(0x2e0)]({'dispose':()=>_0x364fbf[_0x504cb7(0x220)]()});}[_0x2f3801(0x277)](_0x1d30f9,_0x19dc39,_0xcebf4e,_0x4cf69f,_0x22c67f){const _0x3385f5=_0x2f3801;let _0x4d48ef=this[_0x3385f5(0x33a)][_0x3385f5(0x269)](_0x1d30f9,_0x19dc39)[_0xcebf4e];!_0x4d48ef||_0x4d48ef['drawingType']!==_0xee7709[_0x3385f5(0x1d4)][_0x3385f5(0x361)]||this['_drawingManagerService'][_0x3385f5(0x325)]([{..._0x4d48ef,'prstGeom':_0x4cf69f,'adjustValues':_0x22c67f}]);}};_0x25b37f=_0x4e2bf9([_0x240031(0x0,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x5b086f[_0x2f3801(0x34a)])),_0x240031(0x1,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x291800[_0x2f3801(0x43d)]))],_0x25b37f);let _0x5152de='doc.shape.picker.component',_0x7e7379=_0x2f3801(0x23b);function _0x4896e7({onShapeClick:_0xf47bf1,excludeGroups:_0x539c96}){const _0x37bd98=_0x2f3801;return(0x0,_0x3da6be['jsx'])(_0x3a322f[_0x37bd98(0x340)],{'excludeGroups':_0x539c96,'onShapeClick':_0xf47bf1,'scrollContainer':_0x37bd98(0x440)});}function _0x382863(){const _0x57adac=_0x2f3801;let _0x59e4bc=(0x0,_0x517280[_0x57adac(0x429)])(_0x291800[_0x57adac(0x43d)]),_0x18db9c=(0x0,_0x517280['useDependency'])(_0x25b37f);return(0x0,_0x3da6be['jsx'])(_0x3a322f[_0x57adac(0x3d1)],{'buttonLabel':_0x57adac(0x2a0),'excludeGroups':[_0x3a322f['ShapeGroupEnum'][_0x57adac(0x206)]],'onShapeClick':_0x2bb824=>{const _0x50f0a8=_0x57adac;let _0x55f53f=_0x59e4bc['getFocusDrawings']()[_0x50f0a8(0x24f)](_0x2553ed=>_0x2553ed[_0x50f0a8(0x27f)]===_0xee7709[_0x50f0a8(0x1d4)][_0x50f0a8(0x361)]);if(!_0x55f53f)return;let {unitId:_0x56137c,subUnitId:_0x2dcd13,drawingId:_0x336f5f}=_0x55f53f;_0x18db9c[_0x50f0a8(0x277)](_0x56137c,_0x2dcd13,_0x336f5f,_0x2bb824[_0x50f0a8(0x2b0)]);}});}function _0x34d29d(){const _0xd41014=_0x2f3801;let _0x31c39c=(0x0,_0x517280[_0xd41014(0x429)])(_0x517280[_0xd41014(0x1cf)]),_0x10cd83=(0x0,_0x517280['useDependency'])(_0x291800[_0xd41014(0x43d)]),_0x629644=(0x0,_0x517280['useDependency'])(_0xee7709[_0xd41014(0x39d)]),_0x4c800b=_0x10cd83['getFocusDrawings']()[0x0],_0x189d66=_0x4c800b?_0x629644[_0xd41014(0x374)](_0x4c800b['unitId']):void 0x0,_0x4028f5=_0x189d66===_0xee7709['UniverInstanceType'][_0xd41014(0x33f)]?_0x7e7379:_0x189d66===_0xee7709[_0xd41014(0x3f9)][_0xd41014(0x341)]?_0xd41014(0x1d9):void 0x0,_0x550521=_0x4028f5?_0x31c39c[_0xd41014(0x44b)](_0x4028f5):void 0x0;return _0x550521?(0x0,_0x3da6be[_0xd41014(0x2c0)])(_0x550521,{}):null;}function _0x2e5bff({paragraphMenuPlacement:_0x337fad}){const _0xaf402f=_0x2f3801;let _0x2544a8=(0x0,_0x517280[_0xaf402f(0x429)])(_0xee7709[_0xaf402f(0x29d)]);return(0x0,_0x3da6be['jsx'])(_0x4896e7,{'onShapeClick':_0x5203c5=>{const _0x244829=_0xaf402f;_0x2544a8[_0x244829(0x1d1)](_0x58d64e['id'],{'paragraphMenuPlacement':_0x337fad,'value':_0x5203c5['type'],'enhanceParams':{'endArrow':_0x5203c5[_0x244829(0x387)],'startArrow':_0x5203c5['startArrow'],'horizontal':_0x5203c5[_0x244829(0x2a2)],'vertical':_0x5203c5[_0x244829(0x1f0)]}});}});}function _0x5a6822(_0x819a5a){const _0x23a476=_0x2f3801;return _0x50c684=>({'id':_0x58d64e['id'],'type':_0x517280[_0x23a476(0x2ab)][_0x23a476(0x22a)],'selections':[{'label':{'name':_0x5152de,'hoverable':!0x1,'selectable':!0x1,'props':_0x819a5a?{'id':_0x58d64e['id'],'paragraphMenuPlacement':_0x819a5a}:{'id':_0x58d64e['id']}}}],'icon':_0x23a476(0x1f8),'title':_0x23a476(0x390),'tooltip':_0x23a476(0x390),'hidden$':(0x0,_0x517280['getMenuHiddenObservable'])(_0x50c684,_0xee7709[_0x23a476(0x3f9)][_0x23a476(0x33f)])});}let _0x3e100e=_0x5a6822(),_0x24ee69=_0x5a6822(_0x2f3801(0x322)),_0x20fabf=_0x5a6822(_0x2f3801(0x255));function _0x585921(_0x3bf422){const _0x15bef8=_0x2f3801;return{'id':_0x16a3a6['id'],'type':_0x517280[_0x15bef8(0x2ab)][_0x15bef8(0x1f5)],'icon':_0x15bef8(0x358),'title':_0x15bef8(0x246),'tooltip':_0x15bef8(0x246),'hidden$':(0x0,_0x517280[_0x15bef8(0x2b6)])(_0x3bf422,_0xee7709[_0x15bef8(0x3f9)][_0x15bef8(0x33f)])};}let _0x307980={[_0x517280[_0x2f3801(0x252)][_0x2f3801(0x428)]]:{[_0x58d64e['id']]:{'order':0x4,'menuItemFactory':_0x3e86c4=>({..._0x3e100e(_0x3e86c4),'title':void 0x0})}},[_0x517280[_0x2f3801(0x252)][_0x2f3801(0x41d)]]:{[_0x16a3a6['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x585921}},[_0x517280[_0x2f3801(0x3b1)][_0x2f3801(0x24e)]]:{[_0x517280[_0x2f3801(0x432)][_0x2f3801(0x45c)]]:{[_0x4e6713[_0x2f3801(0x254)]]:{[_0x58d64e['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x24ee69}}},[_0x4e6713[_0x2f3801(0x1da)]]:{[_0x517280['ContextMenuGroup'][_0x2f3801(0x45c)]]:{[_0x58d64e['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x24ee69}}},[_0x4e6713['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x517280[_0x2f3801(0x432)][_0x2f3801(0x45c)]]:{[_0x58d64e['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x20fabf}}},[_0x4e6713[_0x2f3801(0x20c)]]:{'insert':{[_0x58d64e['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x3e100e}}},[_0x4e6713[_0x2f3801(0x33b)]]:{'insert':{[_0x58d64e['id']+_0x2f3801(0x3dd)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x24ee69}}}}};var _0x21cf84=_0x2f3801(0x224),_0x435074=_0x2f3801(0x397);let _0x2b9182={'type':_0xee7709['CommandType']['OPERATION'],'id':_0x2f3801(0x26e),'handler'(){return!0x0;}},_0x5f37a8={'type':_0xee7709[_0x2f3801(0x371)][_0x2f3801(0x39e)],'id':_0x2f3801(0x457),'handler'(){return!0x0;}},_0x25c95e={};function _0x46e9df({ref:_0x1126dd,..._0x396d9a}){const _0x175d67=_0x2f3801;let {icon:_0x2a043d,id:_0x36e97a,className:_0xebb7e8,extend:_0x4651a4,..._0x14f3ff}=_0x396d9a,_0x1ebd20=('univerjs-icon\x20univerjs-icon-'+_0x36e97a+'\x20'+(_0xebb7e8||''))[_0x175d67(0x285)](),_0xb61cd6=(0x0,_0x316c68[_0x175d67(0x2ef)])('_'+_0x8b1e2e());return _0x48b76d(_0x2a043d,''+_0x36e97a,{'defIds':_0x2a043d[_0x175d67(0x318)],'idSuffix':_0xb61cd6[_0x175d67(0x26d)]},{'ref':_0x1126dd,'className':_0x1ebd20,..._0x14f3ff},_0x4651a4);}function _0x48b76d(_0x12bccd,_0x5eedee,_0x1b4862,_0x2eae09,_0x24b364){const _0x3e89bc=_0x2f3801;return(0x0,_0x316c68[_0x3e89bc(0x215)])(_0x12bccd[_0x3e89bc(0x201)],{'key':_0x5eedee,..._0x5d650f(_0x12bccd,_0x1b4862,_0x24b364),..._0x2eae09},(_0x3c96d2(_0x12bccd,_0x1b4862)['children']||[])[_0x3e89bc(0x38c)]((_0xb41570,_0x54d292)=>_0x48b76d(_0xb41570,_0x5eedee+'-'+_0x12bccd[_0x3e89bc(0x201)]+'-'+_0x54d292,_0x1b4862,void 0x0,_0x24b364)));}function _0x5d650f(_0x1c1500,_0x5b1200,_0x5762f4){const _0x2c92ff=_0x2f3801;let _0x2fb558={..._0x1c1500['attrs']};_0x5762f4!=null&&_0x5762f4[_0x2c92ff(0x2cc)]&&_0x2fb558[_0x2c92ff(0x2b1)]===_0x2c92ff(0x2cc)&&(_0x2fb558[_0x2c92ff(0x2b1)]=_0x5762f4[_0x2c92ff(0x2cc)]),_0x5762f4!=null&&_0x5762f4[_0x2c92ff(0x2cc)]&&_0x2fb558[_0x2c92ff(0x40b)]==='colorChannel1'&&(_0x2fb558[_0x2c92ff(0x40b)]=_0x5762f4['colorChannel1']),_0x1c1500[_0x2c92ff(0x201)]===_0x2c92ff(0x3f6)&&_0x2fb558['id']&&(_0x2fb558['id']+=_0x5b1200[_0x2c92ff(0x2e6)]),Object[_0x2c92ff(0x36e)](_0x2fb558)[_0x2c92ff(0x323)](([_0x114899,_0x2ab3c3])=>{const _0x76b190=_0x2c92ff;_0x114899===_0x76b190(0x3f6)&&typeof _0x2ab3c3=='string'&&(_0x2fb558[_0x114899]=_0x2ab3c3['replace'](/url\(#(.*)\)/,'url(#$1'+_0x5b1200[_0x76b190(0x2e6)]+')'));});let {defIds:_0x30a012}=_0x5b1200;return!_0x30a012||_0x30a012[_0x2c92ff(0x275)]===0x0?_0x2fb558:(_0x1c1500['tag']==='use'&&_0x2fb558[_0x2c92ff(0x35b)]&&(_0x2fb558[_0x2c92ff(0x35b)]+=_0x5b1200[_0x2c92ff(0x2e6)]),Object[_0x2c92ff(0x36e)](_0x2fb558)[_0x2c92ff(0x323)](([_0x25cbd3,_0x5d0509])=>{const _0x5067ac=_0x2c92ff;typeof _0x5d0509==_0x5067ac(0x445)&&(_0x2fb558[_0x25cbd3]=_0x5d0509['replace'](/url\(#(.*)\)/,_0x5067ac(0x314)+_0x5b1200[_0x5067ac(0x2e6)]+')'));}),_0x2fb558);}function _0x3c96d2(_0x56e806,_0x11a1f6){const _0x46c0e1=_0x2f3801;var _0x3440e8;let {defIds:_0x1eb8b7}=_0x11a1f6;return!_0x1eb8b7||_0x1eb8b7[_0x46c0e1(0x275)]===0x0?_0x56e806:_0x56e806[_0x46c0e1(0x201)]==='defs'&&(_0x3440e8=_0x56e806[_0x46c0e1(0x356)])!=null&&_0x3440e8[_0x46c0e1(0x275)]?{..._0x56e806,'children':_0x56e806['children'][_0x46c0e1(0x38c)](_0x1c7dff=>typeof _0x1c7dff['attrs']['id']=='string'&&_0x1eb8b7&&_0x1eb8b7['includes'](_0x1c7dff[_0x46c0e1(0x32a)]['id'])?{..._0x1c7dff,'attrs':{..._0x1c7dff[_0x46c0e1(0x32a)],'id':_0x1c7dff[_0x46c0e1(0x32a)]['id']+_0x11a1f6[_0x46c0e1(0x2e6)]}}:_0x1c7dff)}:_0x56e806;}function _0x8b1e2e(){const _0x231679=_0x2f3801;return Math[_0x231679(0x1ca)]()[_0x231679(0x302)](0x24)[_0x231679(0x2b7)](0x2,0x8);}_0x46e9df[_0x2f3801(0x263)]=_0x2f3801(0x203);let _0xa7d868={'tag':_0x2f3801(0x40c),'attrs':{'xmlns':_0x2f3801(0x2e7),'fill':_0x2f3801(0x270),'viewBox':_0x2f3801(0x2f4),'width':_0x2f3801(0x2f5),'height':_0x2f3801(0x2f5)},'children':[{'tag':_0x2f3801(0x33c),'attrs':{'stroke':_0x2f3801(0x31c),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x2f3801(0x367),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x2f3801(0x31c),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':_0x2f3801(0x367),'strokeLinejoin':'round','strokeWidth':1.3}}]},_0x4408db=(0x0,_0x316c68[_0x2f3801(0x1ef)])(function(_0x28636f,_0x143dc9){const _0x4703d3=_0x2f3801;return(0x0,_0x316c68[_0x4703d3(0x215)])(_0x46e9df,Object[_0x4703d3(0x22d)]({},_0x28636f,{'id':_0x4703d3(0x28f),'ref':_0x143dc9,'icon':_0xa7d868}));});_0x4408db[_0x2f3801(0x263)]='ObjectLayersIcon';let _0x272522={'tag':'svg','attrs':{'xmlns':_0x2f3801(0x2e7),'fill':_0x2f3801(0x270),'viewBox':_0x2f3801(0x404),'width':'1em','height':'1em'},'children':[{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':_0x2f3801(0x410),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':_0x2f3801(0x410),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':_0x2f3801(0x410),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x2f3801(0x31c),'rx':0.6}},{'tag':'path','attrs':{'fill':_0x2f3801(0x31c),'d':'M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','fillRule':'evenodd','clipRule':_0x2f3801(0x2ee)}}]},_0x3d51a0=(0x0,_0x316c68['forwardRef'])(function(_0x75fec7,_0x471da2){const _0x141ad1=_0x2f3801;return(0x0,_0x316c68['createElement'])(_0x46e9df,Object[_0x141ad1(0x22d)]({},_0x75fec7,{'id':_0x141ad1(0x1e8),'ref':_0x471da2,'icon':_0x272522}));});_0x3d51a0[_0x2f3801(0x263)]=_0x2f3801(0x225);function _0x132b71(_0x2b9df6){return _0x2b9df6['trim']()||void 0x0;}function _0x1eb5d6(_0x195e46){const _0x5cb2e0=_0x2f3801;switch(_0x195e46[_0x5cb2e0(0x27f)]){case _0xee7709[_0x5cb2e0(0x1d4)][_0x5cb2e0(0x361)]:return _0x5cb2e0(0x443);case _0xee7709[_0x5cb2e0(0x1d4)]['DRAWING_CHART']:return'chart';case _0xee7709['DrawingTypeEnum'][_0x5cb2e0(0x24d)]:return _0x5cb2e0(0x205);case _0xee7709[_0x5cb2e0(0x1d4)]['DRAWING_SMART_ART']:return _0x5cb2e0(0x416);case _0xee7709[_0x5cb2e0(0x1d4)][_0x5cb2e0(0x23a)]:return _0x5cb2e0(0x2b5);case _0xee7709[_0x5cb2e0(0x1d4)][_0x5cb2e0(0x25b)]:return _0x5cb2e0(0x23c);case _0xee7709[_0x5cb2e0(0x1d4)][_0x5cb2e0(0x360)]:return _0x5cb2e0(0x3b2);case _0xee7709[_0x5cb2e0(0x1d4)][_0x5cb2e0(0x2d7)]:return _0x5cb2e0(0x43a);case _0xee7709['DrawingTypeEnum'][_0x5cb2e0(0x427)]:return _0x5cb2e0(0x1c7);default:return'object';}}function _0x270d6b(_0x3cecad,_0x54c445,_0x29f33f){const _0x39dea2=_0x2f3801;var _0x32ff95,_0x415544;return((_0x32ff95=_0x3cecad[_0x39dea2(0x3c8)])==null?void 0x0:_0x32ff95[_0x39dea2(0x285)]())||((_0x415544=_0x3cecad[_0x39dea2(0x2de)])==null?void 0x0:_0x415544[_0x39dea2(0x285)]())||(0x0,_0x5b086f[_0x39dea2(0x320)])(_0x29f33f,_0x1eb5d6(_0x3cecad))+'\x20'+(_0x54c445+0x1);}function _0x480f66(){const _0x52db6c=_0x2f3801;var _0x268672,_0x458594;let _0x13bbb1=(0x0,_0x517280[_0x52db6c(0x429)])(_0xee7709[_0x52db6c(0x38d)]),_0x22b514=(0x0,_0x517280[_0x52db6c(0x429)])(_0xee7709['ICommandService']),_0x144a84=(0x0,_0x517280['useDependency'])(_0xee7709[_0x52db6c(0x39d)]),_0x3593ab=(0x0,_0x517280[_0x52db6c(0x429)])(_0x2949a0[_0x52db6c(0x454)]),_0x4405de=(0x0,_0x517280[_0x52db6c(0x429)])(_0x291800['IDrawingManagerService']),_0x4acf39=(0x0,_0x517280[_0x52db6c(0x429)])(_0x2989a1[_0x52db6c(0x2cf)]),[,_0x1333d4]=(0x0,_0x316c68['useReducer'])(_0x4f9da7=>_0x4f9da7+0x1,0x0),_0x3dfc1b=_0x144a84['getCurrentUnitOfType'](_0xee7709['UniverInstanceType'][_0x52db6c(0x33f)]),_0x181138=(_0x268672=_0x3dfc1b==null?void 0x0:_0x3dfc1b['getUnitId']())==null?'':_0x268672,_0x9c2c4f=_0x181138,_0x1ccdff=(0x0,_0x517280[_0x52db6c(0x44c)])(()=>_0x4405de[_0x52db6c(0x30d)],_0x4405de[_0x52db6c(0x3e5)](),!0x1,[_0x4405de]);(0x0,_0x316c68[_0x52db6c(0x31b)])(()=>{const _0x50a620=_0x52db6c;let _0x3ad3e6=_0x22b514[_0x50a620(0x301)](()=>_0x1333d4());return()=>_0x3ad3e6['dispose']();},[_0x22b514]);let _0x3874a2=_0x181138?_0x3593ab[_0x52db6c(0x269)](_0x181138,_0x9c2c4f):{},_0x2c1883=_0x181138?_0x3593ab[_0x52db6c(0x351)](_0x181138,_0x9c2c4f):[],_0x1843a0=(0x0,_0x316c68[_0x52db6c(0x41f)])(()=>(0x0,_0x5b086f['getObjectListPanelLabels'])(_0x13bbb1),[_0x13bbb1]),_0xf817d6=(0x0,_0x316c68[_0x52db6c(0x41f)])(()=>{const _0x531e0f=_0x52db6c;let _0x11ffbf=_0x2c1883[_0x531e0f(0x38c)](_0x2cb343=>_0x3874a2[_0x2cb343])['filter'](_0x5744aa=>!!_0x5744aa)[_0x531e0f(0x389)](),_0x7a3e75=_0x11ffbf[_0x531e0f(0x338)]((_0x98fba5,_0x1d0fd1)=>(_0x98fba5[(0x0,_0x5b086f[_0x531e0f(0x262)])(_0x1d0fd1[_0x531e0f(0x27f)])]+=0x1,_0x98fba5),{'canvas':0x0,'floating':0x0}),_0x2151be={'canvas':0x0,'floating':0x0};return _0x11ffbf[_0x531e0f(0x38c)]((_0x18ac75,_0x1e82b7)=>{const _0x3fc67c=_0x531e0f;let _0x16dcce=(0x0,_0x5b086f[_0x3fc67c(0x262)])(_0x18ac75[_0x3fc67c(0x27f)]),_0x532ada=_0x16dcce===_0x5b086f['OBJECT_LIST_FLOATING_SECTION_ID'],_0x2ea84e=_0x2151be[_0x16dcce]++;return{'id':_0x18ac75['drawingId'],'name':_0x270d6b(_0x18ac75,_0x1e82b7,_0x13bbb1),'description':_0x18ac75[_0x3fc67c(0x38f)],'visible':_0x18ac75['hidden']!==!0x0,'selectable':_0x18ac75[_0x3fc67c(0x352)]!==!0x1,'sectionId':_0x16dcce,'sectionTitle':_0x532ada?_0x1843a0['sectionFloating']:_0x1843a0[_0x3fc67c(0x298)],'capabilities':_0x532ada?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x532ada&&_0x2ea84e>0x0,'canMoveBackward':!_0x532ada&&_0x2ea84e<_0x7a3e75[_0x3fc67c(0x319)]-0x1,'canReorder':!_0x532ada};});},[_0x3874a2,_0x2c1883,_0x1843a0[_0x52db6c(0x298)],_0x1843a0[_0x52db6c(0x331)],_0x13bbb1]),_0x4c648a=(0x0,_0x316c68[_0x52db6c(0x41f)])(()=>(_0x1ccdff==null?[]:_0x1ccdff)[_0x52db6c(0x294)](_0x5d8721=>_0x5d8721[_0x52db6c(0x3e9)]===_0x181138&&_0x5d8721[_0x52db6c(0x29c)]===_0x9c2c4f)['map'](_0x22b54c=>_0x22b54c[_0x52db6c(0x394)]),[_0x1ccdff,_0x9c2c4f,_0x181138]),_0x5bd61c=(_0x458594=_0x4c648a[_0x4c648a[_0x52db6c(0x275)]-0x1])==null?null:_0x458594,_0x27981e=_0xb49f9e=>{const _0x1c542b=_0x52db6c;var _0x12a312;return(_0x12a312=_0x3593ab[_0x1c542b(0x383)]({'unitId':_0x181138,'subUnitId':_0x9c2c4f,'drawingId':_0xb49f9e}))==null?null:_0x12a312;},_0x1a3d3f=_0x405cf1=>{const _0x2190a9=_0x52db6c;!_0x181138||!_0x405cf1[_0x2190a9(0x275)]||_0x22b514['executeCommand'](_0x555e7b[_0x2190a9(0x44e)]['id'],{'unitId':_0x181138,'patches':_0x405cf1});},_0x33cfd2=(_0x1e598f,_0x35bbb3)=>{const _0x4c54d0=_0x52db6c;if(!_0x181138)return;let _0x107fa7=_0x35bbb3?_0x4c648a[_0x4c54d0(0x2be)](_0x1e598f)?_0x4c648a[_0x4c54d0(0x294)](_0x2aafde=>_0x2aafde!==_0x1e598f):[..._0x4c648a,_0x1e598f]:[_0x1e598f];_0x22b514['syncExecuteCommand'](_0x291800[_0x4c54d0(0x3c3)]['id'],_0x107fa7[_0x4c54d0(0x38c)](_0x8b04da=>({'unitId':_0x181138,'subUnitId':_0x9c2c4f,'drawingId':_0x8b04da})));let _0x4a3833=_0x107fa7[_0x107fa7[_0x4c54d0(0x275)]-0x1];_0x4a3833?(0x0,_0x3a322f[_0x4c54d0(0x449)])(_0x4acf39,{'unitId':_0x181138,'subUnitId':_0x9c2c4f,'drawingId':_0x4a3833}):(0x0,_0x3a322f[_0x4c54d0(0x36d)])(_0x4acf39,_0x181138);},_0x5910db=(_0x8ed2db,_0x21dc96)=>{const _0x405a75=_0x52db6c;_0x1a3d3f(_0x8ed2db[_0x405a75(0x38c)](_0x175634=>_0x27981e(_0x175634))[_0x405a75(0x294)](_0x1f9dcf=>!!_0x1f9dcf)[_0x405a75(0x294)](_0x2f7216=>_0x2f7216[_0x405a75(0x444)]!==!0x0!==_0x21dc96)[_0x405a75(0x38c)](_0x393c92=>({'drawingId':_0x393c92['drawingId'],'hidden':!_0x21dc96})));},_0x40f863=_0x2aba7f=>{const _0x4d10ec=_0x52db6c;let _0x52d2bb=_0x27981e(_0x2aba7f);_0x52d2bb&&_0x1a3d3f([{'drawingId':_0x2aba7f,'selectable':_0x52d2bb[_0x4d10ec(0x352)]===!0x1&&void 0x0}]);},_0x4108b0=(_0x132858,_0xd56a0a)=>{const _0x62b93e=_0x52db6c;var _0x448e0e;let _0x2dfc4f=_0x27981e(_0x132858),_0x1a5073=_0x132b71(_0xd56a0a);!_0x2dfc4f||((_0x448e0e=_0x2dfc4f[_0x62b93e(0x3c8)])==null?void 0x0:_0x448e0e)===_0x1a5073&&(_0x2dfc4f[_0x62b93e(0x2de)]||void 0x0)===_0x1a5073||_0x1a3d3f([{'drawingId':_0x132858,'name':_0x1a5073,'title':_0x1a5073}]);},_0xe4b91f=(_0x3cd4de,_0x566775)=>{var _0x4cf24d;let _0x22a5ef=_0x27981e(_0x3cd4de),_0x51cece=_0x132b71(_0x566775);!_0x22a5ef||((_0x4cf24d=_0x22a5ef['description'])==null?void 0x0:_0x4cf24d)===_0x51cece||_0x1a3d3f([{'drawingId':_0x3cd4de,'description':_0x51cece}]);},_0x516d22=(_0x1f3dee,_0x2713f6)=>{const _0x34185e=_0x52db6c;_0x181138&&_0x22b514[_0x34185e(0x1d1)](_0x2949a0[_0x34185e(0x333)]['id'],{'unitId':_0x181138,'subUnitId':_0x9c2c4f,'drawingIds':[_0x1f3dee],'arrangeType':_0x2713f6});};return _0x181138?(0x0,_0x3da6be[_0x52db6c(0x2c0)])(_0x5b086f['ObjectListPanelBase'],{'items':_0xf817d6,'selectedIds':_0x4c648a,'focusedId':_0x5bd61c,'labels':_0x1843a0,'onSelect':_0x33cfd2,'onSetVisible':_0x5910db,'onCommitName':_0x4108b0,'onCommitDescription':_0xe4b91f,'onMoveForward':_0x1913fe=>_0x516d22(_0x1913fe,_0xee7709['ArrangeTypeEnum'][_0x52db6c(0x385)]),'onMoveBackward':_0x37abd9=>_0x516d22(_0x37abd9,_0xee7709['ArrangeTypeEnum'][_0x52db6c(0x362)]),'onToggleSelectable':_0x40f863}):(0x0,_0x3da6be[_0x52db6c(0x2c0)])('div',{'className':_0x52db6c(0x3db),'children':_0x1843a0[_0x52db6c(0x2de)]});}function _0x2be5b0(_0xda8cf9,_0x50d718,_0x33e7ec,_0x5792b4,_0x36afd1,_0x5ae644){const _0x574f88=_0x2f3801;let _0xe3701a={'unitId':_0x50d718,'shapeId':_0x5792b4,'shapeData':_0x5ae644,'oldShapeJSON':_0x36afd1};return _0xda8cf9['executeCommand'](_0x555e7b[_0x574f88(0x3c7)]['id'],_0xe3701a);}function _0x569e92(_0x4fda58,_0x13c68f,_0xcd7290,_0x32f057,_0x272f54,_0x59b896){const _0x4bf730=_0x2f3801;let _0x3d1216={'unitId':_0x13c68f,'shapeId':_0x32f057,'shapeData':_0x59b896,'oldShapeJSON':_0x272f54};return _0x4fda58[_0x4bf730(0x1d1)](_0x555e7b[_0x4bf730(0x3c7)]['id'],_0x3d1216);}let _0x1644e1=class{constructor(_0x1bec70){const _0x569547=_0x2f3801;this[_0x569547(0x3a3)]=_0x1bec70;}[_0x2f3801(0x326)](_0x3457bb,_0x5ae458){const _0x1beaa5=_0x2f3801;let _0x4b7595=this['_renderManagerService'][_0x1beaa5(0x1fb)](_0x3457bb[_0x1beaa5(0x3e9)]),_0x48cbf6=_0x4b7595==null?void 0x0:_0x4b7595['scene'];if(!_0x48cbf6)return;let _0x2cd154=(0x0,_0x291800['getDrawingShapeKeyByDrawingSearch'])(_0x3457bb),_0x192466=_0x48cbf6[_0x1beaa5(0x286)](_0x2cd154);_0x192466==null||_0x192466['setFillImage'](_0x5ae458);}};_0x1644e1=_0x4e2bf9([_0x240031(0x0,_0x2989a1['IRenderManagerService'])],_0x1644e1);function _0x423e91(){const _0x5c1d2d=_0x2f3801;let _0xc78434=(0x0,_0x517280['useDependency'])(_0x291800[_0x5c1d2d(0x43d)]),_0x595760=(0x0,_0x517280[_0x5c1d2d(0x44c)])(()=>_0xc78434[_0x5c1d2d(0x30d)],_0xc78434[_0x5c1d2d(0x3e5)](),!0x1,[_0xc78434]);return _0x595760['length']===0x0?null:(0x0,_0x3da6be['jsx'])(_0x5c1d2d(0x3bf),{'children':(0x0,_0x3da6be[_0x5c1d2d(0x2eb)])(_0x5c1d2d(0x3bf),{'className':_0x5c1d2d(0x32d),'children':[(0x0,_0x3da6be[_0x5c1d2d(0x2c0)])(_0x5b086f[_0x5c1d2d(0x21f)],{'drawings':_0x595760,'hasCropper':!0x1}),(0x0,_0x3da6be[_0x5c1d2d(0x2c0)])(_0x5830e8[_0x5c1d2d(0x3ff)],{'drawings':_0x595760}),(0x0,_0x3da6be[_0x5c1d2d(0x2c0)])(_0x5830e8['DocDrawingPosition'],{'drawings':_0x595760})]})});}function _0xb8c4d3(_0x32ddc5){const _0x5d2bc5=_0x2f3801;let {unitId:_0x187bd8,subUnitId:_0x51023c,shapeId:_0x2fae96}=_0x32ddc5,_0x59f414=(0x0,_0x517280[_0x5d2bc5(0x429)])(_0xee7709[_0x5d2bc5(0x29d)]),_0xbb3ba0=(0x0,_0x517280[_0x5d2bc5(0x429)])(_0x1644e1);return(0x0,_0x3da6be['jsx'])(_0x3a322f[_0x5d2bc5(0x2e3)],{..._0x32ddc5,'positionEditor':(0x0,_0x3da6be[_0x5d2bc5(0x2c0)])(_0x423e91,{}),'onUpdateShapeData':(_0x15354f,_0x253ee1)=>{_0x2be5b0(_0x59f414,_0x187bd8,_0x51023c,_0x2fae96,_0x15354f,_0x253ee1);},'onUpdateLineShapeData':(_0x5c6a42,_0x194b4b)=>{_0x569e92(_0x59f414,_0x187bd8,_0x51023c,_0x2fae96,_0x5c6a42,_0x194b4b);},'onUpdateShapeFillImage':_0xf8fd1b=>{const _0x355e3f=_0x5d2bc5;_0xbb3ba0[_0x355e3f(0x326)]({'unitId':_0x187bd8,'subUnitId':_0x51023c,'drawingId':_0x2fae96},_0xf8fd1b);}});}let _0x1ca774='doc.shape.floating-toolbar';function _0x2966e2(_0x372212,_0x4a8f6d){const _0x56a130=_0x2f3801;var _0x426f18;let _0x26ecbe=_0x372212==null||(_0x426f18=_0x372212[_0x56a130(0x1ee)]()[_0x56a130(0x35c)])==null?void 0x0:_0x426f18[_0x4a8f6d];return _0x26ecbe?_0x26ecbe[_0x56a130(0x2f7)]===_0xee7709[_0x56a130(0x272)][_0x56a130(0x1cb)]?_0x26ecbe[_0x56a130(0x217)]===_0xee7709[_0x56a130(0x3a8)][_0x56a130(0x1f1)]?_0x2949a0['TextWrappingStyle'][_0x56a130(0x3d0)]:_0x2949a0[_0x56a130(0x2d2)][_0x56a130(0x25c)]:_0x26ecbe[_0x56a130(0x2f7)]===_0xee7709[_0x56a130(0x272)][_0x56a130(0x332)]?_0x2949a0['TextWrappingStyle'][_0x56a130(0x332)]:_0x26ecbe[_0x56a130(0x2f7)]===_0xee7709['PositionedObjectLayoutType'][_0x56a130(0x40e)]?_0x2949a0[_0x56a130(0x2d2)][_0x56a130(0x40e)]:_0x2949a0[_0x56a130(0x2d2)][_0x56a130(0x437)]:_0x2949a0[_0x56a130(0x2d2)][_0x56a130(0x437)];}function _0x58c139(_0x264421){const _0x3fa38c=_0x2f3801;var _0x41c5df,_0x40720a,_0x540453;let _0x18830e=_0x264421[_0x3fa38c(0x456)][_0x3fa38c(0x346)],_0x544111=(0x0,_0x517280[_0x3fa38c(0x429)])(_0xee7709['ICommandService']),_0x293a59=(0x0,_0x517280[_0x3fa38c(0x429)])(_0xee7709[_0x3fa38c(0x38d)]),_0x6e8e0e=(0x0,_0x517280[_0x3fa38c(0x429)])(_0x555e7b[_0x3fa38c(0x24b)]),_0xf67bff=(0x0,_0x517280['useDependency'])(_0xee7709['IUniverInstanceService']),{unitId:_0x1532da,subUnitId:_0x527c27,drawingId:_0x503258,shapeType:_0xe04798}=_0x18830e,[_0x1132f8,_0x29df87]=(0x0,_0x316c68[_0x3fa38c(0x30e)])(_0x18830e['shapeData']),_0xc64bdc=(_0x41c5df=_0xf67bff[_0x3fa38c(0x3fb)](_0x1532da,_0xee7709['UniverInstanceType'][_0x3fa38c(0x33f)]))==null?void 0x0:_0x41c5df,[_0x110f49,_0x5695e6]=(0x0,_0x316c68[_0x3fa38c(0x30e)])(()=>_0x2966e2(_0xc64bdc,_0x503258)),_0x8dff82=(0x0,_0x316c68[_0x3fa38c(0x41f)])(()=>(0x0,_0x3a322f[_0x3fa38c(0x2bb)])(_0x1132f8),[_0x1132f8]),_0x3878e2=(0x0,_0x316c68['useMemo'])(()=>(0x0,_0x3a322f[_0x3fa38c(0x3ab)])(_0x1132f8),[_0x1132f8]);(0x0,_0x316c68[_0x3fa38c(0x31b)])(()=>{const _0x300938=_0x3fa38c;let _0x4f61a3=_0x544111[_0x300938(0x301)](_0x318cbe=>{const _0x23e4a6=_0x300938;if(_0x318cbe['id']!==_0x555e7b[_0x23e4a6(0x418)]['id'])return;let _0x126e04=_0x6e8e0e[_0x23e4a6(0x334)](_0x1532da,_0x527c27,_0x503258);_0x126e04&&_0x29df87(_0x126e04);});return()=>_0x4f61a3[_0x300938(0x41b)]();},[_0x544111,_0x6e8e0e,_0x503258,_0x527c27,_0x1532da]);let _0x1d8c8c=_0x3151ef=>{_0x29df87(_0x3d49db=>({..._0x3d49db,..._0x3151ef}));},_0x2a6314=_0x2f01fc=>{const _0xa1c6d9=_0x3fa38c;let _0x317335=(0x0,_0x3a322f[_0xa1c6d9(0x35f)])(_0x1132f8,_0x2f01fc);_0x2be5b0(_0x544111,_0x1532da,_0x527c27,_0x503258,{'oldShapeData':{'shapeText':_0x1132f8[_0xa1c6d9(0x216)]}},_0x317335),_0x1d8c8c(_0x317335);},_0xacea59=_0x229613=>{const _0x288870=_0x3fa38c;_0x5695e6(_0x229613),_0x544111['executeCommand'](_0x2949a0[_0x288870(0x342)]['id'],{'unitId':_0x1532da,'subUnitId':_0x527c27,'drawings':[{'unitId':_0x1532da,'subUnitId':_0x527c27,'drawingId':_0x503258}],'wrappingStyle':_0x229613});},_0x2a245f=(0x0,_0x3a322f[_0x3fa38c(0x370)])({'hostType':_0xee7709[_0x3fa38c(0x3f9)]['UNIVER_DOC'],'unitId':_0x1532da,'subUnitId':_0x527c27,'shapeId':_0x503258,'shapeData':_0x1132f8,'onUpdateBinding':_0x5dfae1=>{const _0x38571b=_0x3fa38c;let _0x3ac5a5={'formulaBinding':_0x5dfae1};_0x2be5b0(_0x544111,_0x1532da,_0x527c27,_0x503258,{'oldShapeData':{'formulaBinding':_0x1132f8[_0x38571b(0x417)]}},_0x3ac5a5),_0x1d8c8c(_0x3ac5a5);}}),_0x38876e=[{'label':_0x293a59['t'](_0x3fa38c(0x3ac)),'value':_0x2949a0['TextWrappingStyle'][_0x3fa38c(0x437)],'icon':(0x0,_0x3da6be[_0x3fa38c(0x2c0)])(_0x3d51a0,{})},{'label':_0x293a59['t'](_0x3fa38c(0x20e)),'value':_0x2949a0[_0x3fa38c(0x2d2)][_0x3fa38c(0x332)],'icon':(0x0,_0x3da6be['jsx'])(_0x3d51a0,{})},{'label':_0x293a59['t'](_0x3fa38c(0x1e4)),'value':_0x2949a0[_0x3fa38c(0x2d2)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x3da6be[_0x3fa38c(0x2c0)])(_0x3d51a0,{})},{'label':_0x293a59['t'](_0x3fa38c(0x43f)),'value':_0x2949a0['TextWrappingStyle'][_0x3fa38c(0x3d0)],'icon':(0x0,_0x3da6be[_0x3fa38c(0x2c0)])(_0x3d51a0,{})},{'label':_0x293a59['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x2949a0[_0x3fa38c(0x2d2)][_0x3fa38c(0x25c)],'icon':(0x0,_0x3da6be[_0x3fa38c(0x2c0)])(_0x3d51a0,{})}];return(0x0,_0x3da6be['jsxs'])(_0x3da6be[_0x3fa38c(0x211)],{'children':[(0x0,_0x3da6be[_0x3fa38c(0x2c0)])(_0x3a322f[_0x3fa38c(0x1ff)],{'shapeData':_0x1132f8,'shapeType':_0xe04798,'textStyle':{'ff':_0x5354f7[_0x3fa38c(0x236)][_0x3fa38c(0x216)]['fontFamily'],'fs':_0x5354f7[_0x3fa38c(0x236)][_0x3fa38c(0x216)][_0x3fa38c(0x3c5)],'cl':{'rgb':_0x5354f7[_0x3fa38c(0x236)]['shapeText'][_0x3fa38c(0x2d4)]},..._0x8dff82},'textModel':_0x3878e2?{'ha':(_0x40720a=_0x3878e2['ha'])==null?_0xee7709['HorizontalAlign'][_0x3fa38c(0x3c0)]:_0x40720a,'va':(_0x540453=_0x3878e2['va'])==null?_0xee7709['VerticalAlign'][_0x3fa38c(0x1d3)]:_0x540453}:null,'wrappingStyle':_0x110f49,'wrappingStyleOptions':_0x38876e,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x5354f7[_0x3fa38c(0x236)]['fill'],'defaultGradientEndColor':_0x5354f7[_0x3fa38c(0x236)]['gradientEndColor'],'defaultStrokeColor':_0x5354f7['ShapeDefaultConfig'][_0x3fa38c(0x40b)],'extensionGroups':_0x2a245f[_0x3fa38c(0x3bb)],'onUpdateShapeData':(_0xb9125d,_0x5026d6)=>{_0x2be5b0(_0x544111,_0x1532da,_0x527c27,_0x503258,_0xb9125d,_0x5026d6),_0x5026d6&&_0x1d8c8c(_0x5026d6);},'onUpdateText':_0x2a6314,'onUpdateWrappingStyle':_0x225c38=>_0xacea59(_0x225c38),'onOpenPanel':()=>{const _0x3eca76=_0x3fa38c;_0x544111[_0x3eca76(0x1d1)](_0x5f37a8['id'],{'unitId':_0x1532da,'subUnitId':_0x527c27,'drawingId':_0x503258});},'onDelete':()=>{const _0x37055c=_0x3fa38c;_0x544111[_0x37055c(0x1d1)](_0x2949a0[_0x37055c(0x1f3)]['id'],{'unitId':_0x1532da,'drawings':[{'unitId':_0x1532da,'subUnitId':_0x527c27,'drawingId':_0x503258}]});}}),_0x2a245f[_0x3fa38c(0x273)]]});}function _0x15c02f(_0x372aa3){'@babel/helpers - typeof';const _0x2bd28b=_0x2f3801;return _0x15c02f=typeof Symbol==_0x2bd28b(0x237)&&typeof Symbol[_0x2bd28b(0x39f)]==_0x2bd28b(0x207)?function(_0x2c7f37){return typeof _0x2c7f37;}:function(_0x24a5d2){const _0x350d94=_0x2bd28b;return _0x24a5d2&&typeof Symbol=='function'&&_0x24a5d2[_0x350d94(0x2dd)]===Symbol&&_0x24a5d2!==Symbol[_0x350d94(0x3d5)]?_0x350d94(0x207):typeof _0x24a5d2;},_0x15c02f(_0x372aa3);}function _0x17108e(_0x5f8e1a,_0x1e75af){const _0x38516b=_0x2f3801;if(_0x15c02f(_0x5f8e1a)!=_0x38516b(0x407)||!_0x5f8e1a)return _0x5f8e1a;var _0x504f2e=_0x5f8e1a[Symbol['toPrimitive']];if(_0x504f2e!==void 0x0){var _0x5b3a0c=_0x504f2e[_0x38516b(0x339)](_0x5f8e1a,_0x1e75af||_0x38516b(0x2d8));if(_0x15c02f(_0x5b3a0c)!=_0x38516b(0x407))return _0x5b3a0c;throw TypeError(_0x38516b(0x33d));}return(_0x1e75af===_0x38516b(0x445)?String:Number)(_0x5f8e1a);}function _0x4ae27a(_0x1bb304){const _0x45e81b=_0x2f3801;var _0x54c80e=_0x17108e(_0x1bb304,_0x45e81b(0x445));return _0x15c02f(_0x54c80e)==_0x45e81b(0x207)?_0x54c80e:_0x54c80e+'';}function _0x31c38d(_0x18e36a,_0x1ebd17,_0x5316e6){const _0x2b082a=_0x2f3801;return(_0x1ebd17=_0x4ae27a(_0x1ebd17))in _0x18e36a?Object[_0x2b082a(0x250)](_0x18e36a,_0x1ebd17,{'value':_0x5316e6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x18e36a[_0x1ebd17]=_0x5316e6,_0x18e36a;}var _0x4bbdde=class extends _0xee7709['Disposable']{constructor(..._0x42d05a){const _0x5f1404=_0x2f3801;super(..._0x42d05a),_0x31c38d(this,_0x5f1404(0x3e0),new _0x15594a[(_0x5f1404(0x2fa))](null)),_0x31c38d(this,'editingParams$',this['_editingParams$'][_0x5f1404(0x26a)]()),_0x31c38d(this,_0x5f1404(0x1eb),new _0x15594a[(_0x5f1404(0x2fa))](!0x1)),_0x31c38d(this,'onSavingEditorData$',this[_0x5f1404(0x1eb)][_0x5f1404(0x26a)]());}['dispose'](){const _0x29387e=_0x2f3801;this[_0x29387e(0x3e0)][_0x29387e(0x244)](null),this[_0x29387e(0x3e0)][_0x29387e(0x2f1)](),this[_0x29387e(0x1eb)][_0x29387e(0x244)](!0x1),this[_0x29387e(0x1eb)][_0x29387e(0x2f1)](),super['dispose']();}[_0x2f3801(0x2b8)](_0x1a9fbc){const _0x1c6480=_0x2f3801;this[_0x1c6480(0x3e0)][_0x1c6480(0x244)](_0x1a9fbc),_0x1a9fbc==null&&this[_0x1c6480(0x1eb)][_0x1c6480(0x244)](!0x1);}[_0x2f3801(0x2ad)](_0x2f2f36){const _0x4e1581=_0x2f3801;this[_0x4e1581(0x1eb)][_0x4e1581(0x244)](_0x2f2f36);}[_0x2f3801(0x1c5)](){const _0x56f355=_0x2f3801;return this[_0x56f355(0x3e0)][_0x56f355(0x278)]();}[_0x2f3801(0x357)](_0x359949){const _0x1dee6a=_0x2f3801;this[_0x1dee6a(0x1c5)]()&&(this[_0x1dee6a(0x2ad)](!0x0),requestAnimationFrame(()=>{const _0x57245d=_0x1dee6a;this[_0x57245d(0x2b8)](null);}));}[_0x2f3801(0x335)](){const _0x1c34cc=_0x2f3801;this[_0x1c34cc(0x1c5)]()&&this[_0x1c34cc(0x2b8)](null);}};let _0x27a5c4=(0x0,_0x316c68[_0x2f3801(0x223)])(()=>{const _0x3c61af=_0x2f3801;let _0x51db48=(0x0,_0x517280[_0x3c61af(0x429)])(_0x4bbdde),_0x4b2de7=(0x0,_0x517280[_0x3c61af(0x429)])(_0x555e7b[_0x3c61af(0x24b)]),_0x1002ee=(0x0,_0x517280[_0x3c61af(0x429)])(_0x291800['IDrawingManagerService']),_0xe8dcdb=(0x0,_0x517280[_0x3c61af(0x429)])(_0xee7709[_0x3c61af(0x29d)]);return(0x0,_0x3da6be[_0x3c61af(0x2c0)])(_0x3a322f[_0x3c61af(0x317)],{'adapter':(0x0,_0x316c68[_0x3c61af(0x41f)])(()=>({'getShapeModel':(_0x38e414,_0x3d8b6a,_0x64999d)=>_0x4b2de7[_0x3c61af(0x2f3)](_0x38e414,_0x3d8b6a,_0x64999d),'getShapeData':(_0x2964a7,_0x4bcbf3,_0x8e66c2)=>_0x4b2de7[_0x3c61af(0x334)](_0x2964a7,_0x4bcbf3,_0x8e66c2),'getDrawingTransform':(_0x135abd,_0x2d4143,_0x53b043)=>{const _0x46ac9f=_0x3c61af;let _0x20c877=_0x1002ee[_0x46ac9f(0x383)]({'unitId':_0x135abd,'subUnitId':_0x2d4143,'drawingId':_0x53b043});return _0x20c877==null?void 0x0:_0x20c877[_0x46ac9f(0x3f8)];},'updateShapeText':({unitId:_0x3a7163,shapeId:_0x5efbcd,shapeText:_0x2bf210,oldShapeText:_0x22b664})=>{const _0x32c57e=_0x3c61af;_0xe8dcdb[_0x32c57e(0x1d1)](_0x555e7b[_0x32c57e(0x3c7)]['id'],{'unitId':_0x3a7163,'shapeId':_0x5efbcd,'shapeData':{'shapeText':_0x2bf210},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x22b664}}});},'updateHostSize':({unitId:_0x35aee9,subUnitId:_0x5654a5,shapeId:_0x4c72d4,width:_0x41befa,height:_0x29c336})=>{const _0x3ca041=_0x3c61af;_0xe8dcdb[_0x3ca041(0x1d1)](_0x2949a0[_0x3ca041(0x1fe)]['id'],{'unitId':_0x35aee9,'subUnitId':_0x5654a5,'drawings':[{'drawingId':_0x4c72d4,'key':_0x3ca041(0x1f2),'value':{'width':_0x41befa,'height':_0x29c336}}]});},'allowHostSizeShrink':({unitId:_0x3d23b7,subUnitId:_0x405abc,shapeId:_0x32bc1f})=>(0x0,_0x3a322f['shouldAllowShapeTextEditorHostSizeShrink'])(_0x4b2de7[_0x3c61af(0x334)](_0x3d23b7,_0x405abc,_0x32bc1f))}),[_0xe8dcdb,_0x4b2de7,_0x1002ee]),'editingService':_0x51db48,'editorUnitId':_0xaaddeb,'positionOptions':(0x0,_0x316c68['useMemo'])(()=>({'viewportKeys':{'main':_0x4e6713[_0x3c61af(0x3d2)][_0x3c61af(0x2d3)]}}),[])});}),_0x2ee0a8=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x2fecad,_0x2d09ec){const _0xe00aa0=_0x2f3801;super(),this[_0xe00aa0(0x3e1)]=_0x2fecad,this[_0xe00aa0(0x2b9)]=_0x2d09ec,this[_0xe00aa0(0x2c3)](),this[_0xe00aa0(0x3e8)]();}[_0x2f3801(0x2c3)](){const _0x1d6b07=_0x2f3801;this[_0x1d6b07(0x2b9)]['has'](_0x1d6b07(0x358))||this[_0x1d6b07(0x2e0)](this[_0x1d6b07(0x2b9)]['register']({'ObjectLayersIcon':_0x4408db}));}[_0x2f3801(0x3e8)](){const _0x8f0856=_0x2f3801;this['disposeWithMe'](this[_0x8f0856(0x3e1)][_0x8f0856(0x344)](_0x11b824,_0xb8c4d3)),this[_0x8f0856(0x2e0)](this[_0x8f0856(0x3e1)][_0x8f0856(0x344)](_0x4b22f9,_0x480f66)),this['disposeWithMe'](this[_0x8f0856(0x3e1)][_0x8f0856(0x344)](_0x1ca774,_0x58c139)),this[_0x8f0856(0x2e0)](this['_componentManager'][_0x8f0856(0x344)](_0x143504,_0x3a322f['ShapeTextFloatToolbar'])),this[_0x8f0856(0x2e0)](this['_componentManager'][_0x8f0856(0x344)](_0x5152de,_0x2e5bff)),this[_0x8f0856(0x2e0)](this[_0x8f0856(0x3e1)][_0x8f0856(0x344)](_0x7e7379,_0x382863)),this[_0x8f0856(0x3e1)][_0x8f0856(0x44b)](_0x5b086f['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x8f0856(0x2e0)](this[_0x8f0856(0x3e1)][_0x8f0856(0x344)](_0x5b086f[_0x8f0856(0x1c6)],_0x34d29d)),this[_0x8f0856(0x2e0)](this[_0x8f0856(0x3e1)]['register'](_0x8f0856(0x424),_0x27a5c4));}};_0x2ee0a8=_0x4e2bf9([_0x240031(0x0,(0x0,_0xee7709['Inject'])(_0x517280[_0x2f3801(0x1cf)])),_0x240031(0x1,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x517280[_0x2f3801(0x2c5)]))],_0x2ee0a8);var _0x15d7cc=class extends _0x2989a1[_0x2f3801(0x3ba)]{constructor(_0x3f8162,_0x1efbd8){const _0xad1bbf=_0x2f3801;super(_0x3f8162,_0x1efbd8),_0x31c38d(this,'_shapeId',null),_0x31c38d(this,_0xad1bbf(0x209),null),_0x31c38d(this,_0xad1bbf(0x271),null),_0x31c38d(this,_0xad1bbf(0x366),null),_0x1efbd8&&this[_0xad1bbf(0x3f7)](_0x1efbd8);}[_0x2f3801(0x3c9)](){const _0x5a5875=_0x2f3801;return{'unitId':this['_unitId'],'subUnitId':this[_0x5a5875(0x366)],'drawingId':this[_0x5a5875(0x45a)]};}[_0x2f3801(0x3f7)](_0xd4a8ba){const _0x4fe764=_0x2f3801;_0xd4a8ba[_0x4fe764(0x3d8)]!==void 0x0&&(this[_0x4fe764(0x45a)]=_0xd4a8ba['shapeId']),_0xd4a8ba[_0x4fe764(0x32c)]!==void 0x0&&(this[_0x4fe764(0x209)]=_0xd4a8ba[_0x4fe764(0x32c)]),_0xd4a8ba[_0x4fe764(0x3e9)]!==void 0x0&&(this[_0x4fe764(0x271)]=_0xd4a8ba[_0x4fe764(0x3e9)]),_0xd4a8ba['subUnitId']!==void 0x0&&(this[_0x4fe764(0x366)]=_0xd4a8ba[_0x4fe764(0x29c)]),this[_0x4fe764(0x3e7)]({'width':_0xd4a8ba[_0x4fe764(0x452)],'height':_0xd4a8ba[_0x4fe764(0x253)]});}[_0x2f3801(0x222)](_0x4a4dc5){const _0x5254bc=_0x2f3801;_0x2989a1[_0x5254bc(0x210)][_0x5254bc(0x327)](_0x4a4dc5,{'radius':_0x5354f7[_0x5254bc(0x236)][_0x5254bc(0x421)],'fill':_0x5354f7['ShapeDefaultConfig'][_0x5254bc(0x398)],'stroke':_0x5354f7[_0x5254bc(0x236)][_0x5254bc(0x3a2)],'strokeWidth':0x1,'evented':!0x0});}};function _0x34d3c7(_0xafc45d,_0x8d78f7,_0x5e633f){const _0x1bc7f9=_0x2f3801;var _0x14b4e0;let _0x1c543a=(0x0,_0x3a322f[_0x1bc7f9(0x2ca)])(_0xafc45d,{..._0x8d78f7,'dataModel':{...(_0x14b4e0=_0x8d78f7['dataModel'])==null?{}:_0x14b4e0,..._0x5e633f?{'doc':_0x5e633f}:null}}),_0x31bb3b=(0x0,_0x3a322f[_0x1bc7f9(0x3b3)])(_0x1c543a);return{'clip':(0x0,_0x3a322f['shouldClipShapeTextDocument'])(_0x1c543a,_0x31bb3b),'wrapStrategy':_0x31bb3b};}var _0x5ba17f=class extends _0x2989a1['Shape']{constructor(_0x4333b4,_0x511f95){const _0x49a8d5=_0x2f3801;super(_0x4333b4,_0x511f95),_0x31c38d(this,_0x49a8d5(0x3fe),void 0x0),_0x31c38d(this,_0x49a8d5(0x2f2),new _0x3a322f['FormulaShapeAnimationController'](()=>this[_0x49a8d5(0x305)](!0x0),()=>this[_0x49a8d5(0x403)]())),_0x31c38d(this,_0x49a8d5(0x27a),!0x0),_0x31c38d(this,_0x49a8d5(0x39c),_0xee7709['DrawingTypeEnum'][_0x49a8d5(0x427)]),_0x31c38d(this,_0x49a8d5(0x257),!0x0),this[_0x49a8d5(0x3fe)]={..._0x511f95},this[_0x49a8d5(0x2f2)][_0x49a8d5(0x2ce)](_0x511f95[_0x49a8d5(0x20b)],_0x511f95[_0x49a8d5(0x3b5)]!==!0x1),this[_0x49a8d5(0x2bf)](),this[_0x49a8d5(0x403)]();}['_init'](){const _0x172100=_0x2f3801;this[_0x172100(0x36b)]['subscribeEvent'](_0x2900f6=>{const _0x5079f3=_0x172100;this[_0x5079f3(0x27c)](_0x2900f6);});}['setPrstGeom'](_0x57cced){const _0x440fdc=_0x2f3801;this['_props'][_0x440fdc(0x451)]=_0x57cced;}['setEditing'](_0x1da4d9){const _0x37ec83=_0x2f3801;this[_0x37ec83(0x3fe)][_0x37ec83(0x411)]=_0x1da4d9,this[_0x37ec83(0x305)](!0x0);}['setFormulaPresentation'](_0x3fb82a,_0x294dda=!0x0){const _0x5802f4=_0x2f3801;this[_0x5802f4(0x2f2)][_0x5802f4(0x2ce)](_0x3fb82a,_0x294dda),this[_0x5802f4(0x3fe)]['formulaPresentation']=_0x3fb82a,this[_0x5802f4(0x403)](),this[_0x5802f4(0x305)](!0x0);}[_0x2f3801(0x403)](){const _0x5c2585=_0x2f3801;let _0xf40fd0=this[_0x5c2585(0x3fe)]['shapeModel'],_0x203566=_0xf40fd0[_0x5c2585(0x24c)](),_0x4c7384=(0x0,_0x3a322f[_0x5c2585(0x3e2)])(_0x203566==null?void 0x0:_0x203566[_0x5c2585(0x292)]),_0x54ada1=_0x4c7384==null?void 0x0:_0x4c7384['doc'],_0x1cc1e3=this[_0x5c2585(0x2f2)][_0x5c2585(0x21e)]();if(!_0x54ada1||_0x1cc1e3[_0x5c2585(0x275)]===0x0)return;_0xf40fd0[_0x5c2585(0x3cf)]({'width':this[_0x5c2585(0x452)],'height':this[_0x5c2585(0x253)]});let _0x50d5fb=(0x0,_0x3a322f[_0x5c2585(0x26c)])({'documentData':_0x1cc1e3[_0x5c2585(0x38c)](_0x11e7c8=>(0x0,_0x5a3a75['createShapeFormulaDocument'])(_0x54ada1,_0x11e7c8)),'height':this['height'],'shapeData':_0xf40fd0[_0x5c2585(0x2a9)](),'textRect':_0xf40fd0[_0x5c2585(0x22b)]({'left':0x0,'top':0x0,'width':this[_0x5c2585(0x452)],'height':this[_0x5c2585(0x253)]}),'width':this[_0x5c2585(0x452)]});if(_0x50d5fb){var _0x1d2d1d;this[_0x5c2585(0x2e8)](_0x50d5fb[_0x5c2585(0x452)],_0x50d5fb[_0x5c2585(0x253)]),(_0x1d2d1d=this[_0x5c2585(0x3f4)]())==null||(_0x1d2d1d=_0x1d2d1d['getTransformer']())==null||_0x1d2d1d[_0x5c2585(0x1e1)]();}}get[_0x2f3801(0x3e9)](){const _0x46fae6=_0x2f3801;return this[_0x46fae6(0x3fe)][_0x46fae6(0x3e9)];}get[_0x2f3801(0x29c)](){const _0x5a1c9a=_0x2f3801;return this[_0x5a1c9a(0x3fe)][_0x5a1c9a(0x29c)];}[_0x2f3801(0x27c)](_0x39d90b){const _0x1ebb2b=_0x2f3801;if(this['_props'][_0x1ebb2b(0x376)]==null||!this[_0x1ebb2b(0x27a)])return;let {width:_0x560dad,height:_0x316d57}=this,{width:_0x197ba7=0x0,height:_0x5e8833=0x0}=_0x39d90b[_0x1ebb2b(0x2fe)],{left:_0x5e1d1b=0x0,top:_0x5870ec=0x0,right:_0x1f5be9=0x0,bottom:_0x17800b=0x0}=this[_0x1ebb2b(0x3fe)][_0x1ebb2b(0x376)],_0x246c03=_0x5e1d1b,_0x4edf1a=_0x5870ec,_0xcaa5b6=_0x1f5be9,_0x4f3bcc=_0x17800b,_0x4a8235=!0x1;if(_0x197ba7!==0x0&&_0x197ba7!==_0x560dad){let _0x2db0c0=_0x5e1d1b/_0x197ba7,_0x377f4f=_0x1f5be9/_0x197ba7;_0x246c03=_0x560dad*_0x2db0c0,_0xcaa5b6=_0x560dad*_0x377f4f,_0x4a8235=!0x0;}if(_0x5e8833!==0x0&&_0x5e8833!==_0x316d57){let _0x309b5c=_0x5870ec/_0x5e8833,_0x294f22=_0x17800b/_0x5e8833;_0x4edf1a=_0x316d57*_0x309b5c,_0x4f3bcc=_0x316d57*_0x294f22,_0x4a8235=!0x0;}_0x4a8235&&this[_0x1ebb2b(0x455)]({'left':_0x246c03,'top':_0x4edf1a,'right':_0xcaa5b6,'bottom':_0x4f3bcc});}[_0x2f3801(0x455)](_0x536c3c){const _0x4f9453=_0x2f3801;this[_0x4f9453(0x3fe)][_0x4f9453(0x376)]=_0x536c3c,this[_0x4f9453(0x305)](!0x0);}[_0x2f3801(0x310)](_0x21861a){const _0x68240c=_0x2f3801;this['_props'][_0x68240c(0x443)]=_0x21861a,this[_0x68240c(0x305)](!0x0);}set[_0x2f3801(0x3f8)](_0x466ded){const _0x47e19f=_0x2f3801;this[_0x47e19f(0x280)]=_0x466ded;}get[_0x2f3801(0x3f8)](){const _0x2a580e=_0x2f3801;this['_transform']||this['_setTransForm']();let _0x7f3714=this[_0x2a580e(0x280)][_0x2a580e(0x436)]();return this[_0x2a580e(0x3ca)](_0x7f3714);}get['shapeModel'](){const _0x44739c=_0x2f3801;return this[_0x44739c(0x3fe)][_0x44739c(0x40d)];}get[_0x2f3801(0x3d8)](){const _0x8068fb=_0x2f3801;return this[_0x8068fb(0x3fe)]['shapeId'];}get['classType'](){const _0x30ba01=_0x2f3801;return _0x2989a1[_0x30ba01(0x354)][_0x30ba01(0x448)];}[_0x2f3801(0x222)](_0x5b7304,_0x45363e,_0x4d3a5b,_0x3409dd){const _0x11c153=_0x2f3801;let _0x58bfa3=this[_0x11c153(0x3fe)]['shapeModel'];if(!_0x58bfa3||!_0x45363e)return;let _0x311080=_0x4d3a5b==null?this[_0x11c153(0x452)]:_0x4d3a5b,_0x3f2e20=_0x3409dd==null?this['height']:_0x3409dd,_0x44420f={'shapeType':_0x58bfa3[_0x11c153(0x3e6)](),'width':_0x311080,'height':_0x3f2e20},_0x3a1487={'renderMode':_0x5354f7[_0x11c153(0x2a3)][_0x11c153(0x359)],'oKey':this[_0x11c153(0x2fd)],'image':this[_0x11c153(0x3fe)][_0x11c153(0x443)],'angle':this[_0x11c153(0x2d0)]};_0x58bfa3[_0x11c153(0x3cf)](_0x44420f),_0x5b7304[_0x11c153(0x29b)]();let _0x1cd516={'top':0x0,'left':0x0,'width':_0x311080,'height':_0x3f2e20},_0xf1c9d7=_0x58bfa3['getDrawingEffectBounds'](_0x1cd516);_0xf1c9d7?this['_renderWithCache'](_0x5b7304,_0xf1c9d7,_0xee6493=>{const _0x2c29d9=_0x11c153;_0x58bfa3[_0x2c29d9(0x3fa)](_0xee6493,_0x1cd516,_0x3a1487);}):(this[_0x11c153(0x287)](),_0x58bfa3[_0x11c153(0x3fa)](_0x5b7304,_0x1cd516,_0x3a1487)),_0x5b7304['restore']();let _0x5a2f3e=_0x58bfa3[_0x11c153(0x24c)](),_0x5801aa=_0x58bfa3[_0x11c153(0x22b)](_0x1cd516),_0x3546a6=_0x58bfa3['isLineShape']();if(_0x5a2f3e&&_0x5801aa&&!_0x3546a6){_0x5b7304[_0x11c153(0x29b)](),this[_0x11c153(0x425)]()[_0x11c153(0x2ae)]&&_0x5b7304[_0x11c153(0x3bc)](-0x1,0x1);let _0x458c59=_0x311080/0x2,_0x5dc1cc=_0x3f2e20/0x2;_0x5b7304[_0x11c153(0x402)](-_0x458c59,-_0x5dc1cc),_0x5b7304[_0x11c153(0x25d)](),this[_0x11c153(0x31a)](_0x5b7304,_0x5a2f3e,_0x5801aa),_0x5b7304[_0x11c153(0x3a7)]();}}[_0x2f3801(0x2dc)](_0x11229d){}[_0x2f3801(0x31a)](_0x355bfc,_0x52926e,_0xd98129){const _0x293d5d=_0x2f3801;var _0xc2afff;this[_0x293d5d(0x3fe)][_0x293d5d(0x411)]||(!((_0xc2afff=_0x52926e[_0x293d5d(0x292)])!=null&&_0xc2afff[_0x293d5d(0x414)])&&_0x293d5d(0x309)in _0x52926e&&_0x52926e[_0x293d5d(0x309)]===!0x1?this[_0x293d5d(0x30f)](_0x355bfc,_0x52926e,_0xd98129):this['_drawRichText'](_0x355bfc,_0x52926e,_0xd98129));}[_0x2f3801(0x30f)](_0x1d3b4e,_0x211dd5,_0x54c1dc){const _0x543212=_0x2f3801;var _0x2b320a;this[_0x543212(0x3e4)](_0x1d3b4e,{..._0x211dd5,'text':(_0x2b320a=_0x211dd5[_0x543212(0x3b8)])==null?'':_0x2b320a,'dataModel':{'doc':(0x0,_0x3a322f[_0x543212(0x32f)])(_0x211dd5,_0x543212(0x28b)+this[_0x543212(0x2fd)])}},_0x54c1dc);}[_0x2f3801(0x3e4)](_0x11b15f,_0x3f4d55,_0xa134da){(0x0,_0x3a322f['drawFormulaShapeAnimationLayers'])(_0x11b15f,this['_formulaAnimation'],(_0x2eb0b9,_0x2775c2)=>{const _0x2188b9=_0x10f4;this[_0x2188b9(0x1d8)](_0x2eb0b9,_0x3f4d55,_0xa134da,_0x2775c2);});}[_0x2f3801(0x1d8)](_0x31cfec,_0x239dd2,_0x36db76,_0x2e12c9){const _0x19f402=_0x2f3801;var _0x236d00,_0x576730;let _0x464b7b=this[_0x19f402(0x3fe)][_0x19f402(0x25e)];if(!_0x239dd2[_0x19f402(0x292)]||!_0x464b7b){_0x464b7b||console[_0x19f402(0x31d)](_0x19f402(0x226));return;}let _0x139749=(0x0,_0x3a322f[_0x19f402(0x3e2)])(_0x239dd2['dataModel']);if(!_0x139749)return;let _0x17e0ba=_0x139749[_0x19f402(0x414)];if(!_0x17e0ba)return;let _0x4a200e=(0x0,_0x5a3a75[_0x19f402(0x35a)])(_0x17e0ba,_0x2e12c9),_0x1e4919=(_0x236d00=_0x139749['va'])==null?_0xee7709['VerticalAlign']['TOP']:_0x236d00,_0x1b24d7=(_0x576730=_0x139749['ha'])==null?_0xee7709['HorizontalAlign']['LEFT']:_0x576730,_0x2845a9=_0x34d3c7(this[_0x19f402(0x3fe)][_0x19f402(0x40d)][_0x19f402(0x2a9)](),_0x239dd2,_0x4a200e),_0x5a6b51=_0x239dd2['isHorizontal'],_0xe36eda=new _0xee7709[(_0x19f402(0x2ba))]((0x0,_0x3a322f[_0x19f402(0x3b6)])(_0x4a200e,{'isHorizontal':_0x5a6b51!==!0x1,'textRect':_0x36db76,'verticalAlign':_0x1e4919,'horizontalAlign':_0x1b24d7,'wrapStrategy':_0x2845a9['wrapStrategy']})),_0x47fc32=new _0x2989a1[(_0x19f402(0x2ff))](_0xe36eda),_0x3a1614=_0x2989a1['DocumentSkeleton'][_0x19f402(0x23e)](_0x47fc32,_0x464b7b);_0x3a1614[_0x19f402(0x3e3)]();let _0x547caa=_0x3a1614[_0x19f402(0x44a)]()['actualHeight'],_0x5ae330=(0x0,_0x3a322f[_0x19f402(0x38e)])({'contentHeight':_0x547caa,'verticalAlign':_0x1e4919,'viewportHeight':_0x36db76[_0x19f402(0x253)]});_0xe36eda[_0x19f402(0x355)]({'pageSize':{'width':_0x5a6b51===!0x1?_0x36db76[_0x19f402(0x253)]:_0x36db76[_0x19f402(0x452)],'height':_0x5ae330[_0x19f402(0x36c)]}}),_0xe36eda['updateDocumentDataMargin']({'t':_0x5ae330['marginTop']}),_0x3a1614[_0x19f402(0x3e3)]();let _0x15f035=new _0x2989a1[(_0x19f402(0x1c4))](_0x19f402(0x1e0)+this[_0x19f402(0x2fd)],_0x3a1614,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x19f402(0x305)](!0x0)});_0x15f035[_0x19f402(0x2e8)](_0x36db76['width'],_0x5ae330[_0x19f402(0x36c)]),_0x31cfec[_0x19f402(0x29b)](),_0x31cfec[_0x19f402(0x1df)](_0x36db76[_0x19f402(0x37a)],_0x36db76[_0x19f402(0x2bd)]),_0x2845a9[_0x19f402(0x409)]&&(_0x31cfec[_0x19f402(0x25d)](),_0x31cfec[_0x19f402(0x410)](0x0,_0x5ae330['clipTop'],_0x36db76[_0x19f402(0x452)],_0x5ae330[_0x19f402(0x28e)]),_0x31cfec[_0x19f402(0x409)]()),_0x5ae330[_0x19f402(0x3d4)]&&_0x31cfec['translateWithPrecision'](0x0,_0x5ae330[_0x19f402(0x3d4)]),_0x15f035[_0x19f402(0x391)](_0x31cfec),_0x31cfec[_0x19f402(0x3a7)](),_0x15f035[_0x19f402(0x41b)](),_0x3a1614[_0x19f402(0x41b)](),_0x47fc32[_0x19f402(0x41b)](),_0xe36eda[_0x19f402(0x41b)]();}[_0x2f3801(0x3fa)](_0xfee5c7,_0x3a0846,_0x9d3aac=!0x1){const _0x9c5083=_0x2f3801;if(!this[_0x9c5083(0x315)])return this['makeDirty'](!0x1),this;let {width:_0x38f7a6,height:_0x582168,left:_0x37a5fc,top:_0x1dbf72}=this,_0x56722b=this['getRealBound']();if(_0x38f7a6=_0x56722b[_0x9c5083(0x452)],_0x582168=_0x56722b[_0x9c5083(0x253)],_0x37a5fc=_0x56722b[_0x9c5083(0x37a)],_0x1dbf72=_0x56722b[_0x9c5083(0x2bd)],this[_0x9c5083(0x3f3)](_0x3a0846)){let {top:_0x50e754,left:_0x4fc0d3,bottom:_0x44266f,right:_0x5c9469}=_0x3a0846['viewBound'];if(_0x38f7a6+this[_0x9c5083(0x293)]+_0x37a5fc<_0x4fc0d3||_0x5c9469<_0x37a5fc||_0x582168+this[_0x9c5083(0x293)]+_0x1dbf72<_0x50e754||_0x44266f<_0x1dbf72)return this;}let _0x55aeb2=_0x37a5fc+_0x38f7a6/0x2,_0x5807df=_0x1dbf72+_0x582168/0x2,_0x6a88d0=this[_0x9c5083(0x3f8)][_0x9c5083(0x2a4)]();if(this[_0x9c5083(0x3fe)]['isEditing']){let _0x15c23f=this[_0x9c5083(0x425)](),_0x4123cf=new _0x2989a1[(_0x9c5083(0x31f))]();_0x4123cf['composeMatrix']({..._0x15c23f}),_0x6a88d0=_0x4123cf['getMatrix']();}return _0xfee5c7['save'](),this[_0x9c5083(0x3fe)][_0x9c5083(0x40d)][_0x9c5083(0x3d9)]===!0x0||_0xfee5c7[_0x9c5083(0x3f8)](_0x6a88d0[0x0],_0x6a88d0[0x1],_0x6a88d0[0x2],_0x6a88d0[0x3],_0x55aeb2,_0x5807df),this[_0x9c5083(0x222)](_0xfee5c7,_0x3a0846,_0x38f7a6,_0x582168),_0xfee5c7[_0x9c5083(0x3a7)](),this[_0x9c5083(0x305)](!0x1),this;}[_0x2f3801(0x3df)](_0x5e1990){const _0x3c6e04=_0x2f3801;let {left:_0x2da418,top:_0xc12892,width:_0x2265f6,height:_0xe681d5}=this[_0x3c6e04(0x20d)](),_0x5aeadf=this['transform']['getMatrix'](),_0x126434=_0x2da418+_0x2265f6/0x2,_0x42fba5=_0xc12892+_0xe681d5/0x2,_0x107640=new _0x2989a1[(_0x3c6e04(0x31f))]([_0x5aeadf[0x0],_0x5aeadf[0x1],_0x5aeadf[0x2],_0x5aeadf[0x3],_0x126434,_0x42fba5]),_0x45f576=this[_0x3c6e04(0x208)]();return(this[_0x3c6e04(0x36f)]&&(_0x45f576==null?void 0x0:_0x45f576[_0x3c6e04(0x43c)])===_0x2989a1[_0x3c6e04(0x354)]['GROUP']?_0x45f576[_0x3c6e04(0x228)][_0x3c6e04(0x1ed)](_0x107640):_0x107640)[_0x3c6e04(0x337)]()['applyPoint'](_0x5e1990);}[_0x2f3801(0x41c)](_0x465064){const _0x20f367=_0x2f3801;let {left:_0x214c67,top:_0x5d0883,width:_0x3fd18c,height:_0x265c31}=this[_0x20f367(0x20d)](),_0x491d3c=_0x214c67+_0x3fd18c/0x2,_0x24069b=_0x5d0883+_0x265c31/0x2,_0x5c62aa=this[_0x20f367(0x3f8)][_0x20f367(0x2a4)](),_0x3b91b0=new _0x2989a1[(_0x20f367(0x31f))]([_0x5c62aa[0x0],_0x5c62aa[0x1],_0x5c62aa[0x2],_0x5c62aa[0x3],_0x491d3c,_0x24069b]),_0x56136f=this[_0x20f367(0x208)](),_0x2ab9ee=(this[_0x20f367(0x36f)]&&(_0x56136f==null?void 0x0:_0x56136f[_0x20f367(0x43c)])===_0x2989a1[_0x20f367(0x354)][_0x20f367(0x45b)]?_0x56136f['ancestorTransform'][_0x20f367(0x1ed)](_0x3b91b0):_0x3b91b0)[_0x20f367(0x337)]()[_0x20f367(0x1c9)](_0x465064),_0x4eb373=_0x3fd18c/0x2,_0x1b318f=_0x265c31/0x2,_0x58bf83=this['_props']['shapeModel'];return _0x58bf83&&_0x58bf83[_0x20f367(0x308)]()?_0x58bf83[_0x20f367(0x1e9)](_0x2ab9ee['x'],_0x2ab9ee['y'],_0x3fd18c,_0x265c31):_0x2ab9ee['x']>=-_0x4eb373-this['strokeWidth']/0x2&&_0x2ab9ee['x']<=_0x4eb373+this[_0x20f367(0x293)]/0x2&&_0x2ab9ee['y']>=-_0x1b318f-this['strokeWidth']/0x2&&_0x2ab9ee['y']<=_0x1b318f+this['strokeWidth']/0x2;}[_0x2f3801(0x41b)](){const _0x1f4408=_0x2f3801;this[_0x1f4408(0x2f2)][_0x1f4408(0x41b)](),this[_0x1f4408(0x3fe)][_0x1f4408(0x40d)]=null,super['dispose']();}};let _0x2df3d2=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x36db5f,_0x457c96,_0x2baed1,_0x1e84a5){const _0xf9f91d=_0x2f3801;super(),this[_0xf9f91d(0x453)]=_0x36db5f,this['_drawingManagerService']=_0x457c96,this[_0xf9f91d(0x2da)]=_0x2baed1,this[_0xf9f91d(0x26b)]=_0x1e84a5,_0x31c38d(this,_0xf9f91d(0x264),null),_0x31c38d(this,'_unitId',null),_0x31c38d(this,'_subUnitId',null),_0x31c38d(this,_0xf9f91d(0x1fc),void 0x0),_0x31c38d(this,'_adjustPointObjects',[]),_0x31c38d(this,_0xf9f91d(0x36a),0x0),_0x31c38d(this,_0xf9f91d(0x321),0x0),_0x31c38d(this,_0xf9f91d(0x27b),0x0),_0x31c38d(this,_0xf9f91d(0x3a9),0x0),_0x31c38d(this,'_isStartAdjusting',!0x1),_0x31c38d(this,_0xf9f91d(0x3c1),!0x1),_0x31c38d(this,_0xf9f91d(0x399),void 0x0),_0x31c38d(this,_0xf9f91d(0x290),void 0x0),_0x31c38d(this,_0xf9f91d(0x3b7),void 0x0),_0x31c38d(this,'_adjHandlerPointerUp',void 0x0),this[_0xf9f91d(0x1ec)](),this[_0xf9f91d(0x3a5)]();}[_0x2f3801(0x388)](){this['_clearShapeAdjustControls']();}[_0x2f3801(0x1dc)](){const _0x204b79=_0x2f3801;this[_0x204b79(0x347)](!0x0);}[_0x2f3801(0x3cc)](_0x5ea390,_0x39e832,_0x5a3aaf){const _0xdb5e8b=_0x2f3801;var _0x313512;return(_0x313512=this[_0xdb5e8b(0x2da)][_0xdb5e8b(0x2f3)](_0x5ea390,_0x39e832,_0x5a3aaf))==null?void 0x0:_0x313512[_0xdb5e8b(0x2dc)]();}[_0x2f3801(0x353)](_0x294078,_0x57ebbc,_0x33f570,_0x1dafec){var _0x518856;return(_0x518856=this['_docsShapeService']['getShapeModel'](_0x294078,_0x57ebbc,_0x33f570))==null?void 0x0:_0x518856['getAdjustInfoByName'](_0x1dafec);}[_0x2f3801(0x251)](){const _0x3d3398=_0x2f3801;if(this[_0x3d3398(0x271)]===null||this[_0x3d3398(0x366)]===null||this[_0x3d3398(0x264)]===null)return null;let _0x1eecec=this[_0x3d3398(0x33a)][_0x3d3398(0x383)]({'unitId':this[_0x3d3398(0x271)],'subUnitId':this[_0x3d3398(0x366)],'drawingId':this['_activeShapeId']});return _0x1eecec==null?null:_0x1eecec;}['_getActiveDrawingShape'](_0x533bc4){const _0xe8a37=_0x2f3801;if(this[_0xe8a37(0x271)]===null||this[_0xe8a37(0x366)]===null||this[_0xe8a37(0x264)]===null)return null;let _0x39a282=(0x0,_0x291800[_0xe8a37(0x2f8)])({'unitId':this[_0xe8a37(0x271)],'subUnitId':this[_0xe8a37(0x366)],'drawingId':this[_0xe8a37(0x264)]}),_0x1a9f55=_0x533bc4[_0xe8a37(0x286)](_0x39a282);return _0x1a9f55 instanceof _0x5ba17f?_0x1a9f55:null;}[_0x2f3801(0x1fa)](_0x447db8=!0x1){const _0x1da60e=_0x2f3801;if(this[_0x1da60e(0x271)]===null||this[_0x1da60e(0x366)]===null||this[_0x1da60e(0x264)]===null)return;let _0x1cf928=this[_0x1da60e(0x251)]();if((_0x1cf928==null?void 0x0:_0x1cf928[_0x1da60e(0x27f)])!==_0xee7709['DrawingTypeEnum'][_0x1da60e(0x427)]||!_0x1cf928[_0x1da60e(0x3f8)])return;let _0x2b5890=this[_0x1da60e(0x2da)][_0x1da60e(0x2f3)](this[_0x1da60e(0x271)],this[_0x1da60e(0x366)],this['_activeShapeId']);if(!_0x2b5890||_0x2b5890[_0x1da60e(0x308)]())return;let {left:_0x9ec680=0x0,top:_0x1292d7=0x0,width:_0x2d7170=0x0,height:_0x257718=0x0,flipX:_0x3ba9f6,flipY:_0x309ec7,angle:_0x46f637=0x0}=_0x1cf928[_0x1da60e(0x3f8)];(_0x447db8||!this[_0x1da60e(0x1fc)])&&(_0x2b5890['updateContext']({'width':_0x2d7170,'height':_0x257718}),this['_activeShapeAdjustPointList']=_0x2b5890[_0x1da60e(0x2dc)]());let _0x1af442=this['_activeShapeAdjustPointList'];if(!(_0x1af442!=null&&_0x1af442[_0x1da60e(0x275)]))return;let {scene:_0x4d4d66}=this[_0x1da60e(0x453)];for(let _0xe67bf0 of _0x1af442){let _0x4beddf=this['_toVisualAdjustPoint'](_0xe67bf0,_0x2d7170,_0x257718,!!_0x3ba9f6,!!_0x309ec7,_0x46f637);this[_0x1da60e(0x2f6)](_0x4d4d66,_0x4beddf,_0x4beddf[_0x1da60e(0x32c)],_0x9ec680,_0x1292d7,this[_0x1da60e(0x271)],this['_subUnitId']);}}[_0x2f3801(0x214)](_0x623934,_0xbf3cd0,_0xa811b9,_0x4df5d0,_0x254ea3,_0x118f3b){const _0x501d2e=_0x2f3801;let _0x56e384=_0x623934['x'],_0x2dba6f=_0x623934['y'];if(_0x4df5d0&&(_0x56e384=_0xbf3cd0-_0x56e384),_0x254ea3&&(_0x2dba6f=_0xa811b9-_0x2dba6f),_0x118f3b!==0x0){let _0x5edffb=_0xbf3cd0/0x2,_0x41c760=_0xa811b9/0x2,_0x579c54=_0x118f3b*Math['PI']/0xb4,_0x577beb=Math[_0x501d2e(0x1fd)](_0x579c54),_0x3b0465=Math['sin'](_0x579c54),_0x442ea4=_0x56e384-_0x5edffb,_0x40a3c6=_0x2dba6f-_0x41c760;_0x56e384=_0x5edffb+(_0x442ea4*_0x577beb-_0x40a3c6*_0x3b0465),_0x2dba6f=_0x41c760+(_0x442ea4*_0x3b0465+_0x40a3c6*_0x577beb);}return{'x':_0x56e384,'y':_0x2dba6f,'adjName':_0x623934['adjName']};}[_0x2f3801(0x347)](_0x4de392=!0x1){const _0x3b8f30=_0x2f3801;_0x4de392&&this[_0x3b8f30(0x2d6)](),this[_0x3b8f30(0x1fa)](_0x4de392);}[_0x2f3801(0x2f6)](_0x139887,_0x3dbd53,_0x5b5e18,_0x10e4f6,_0x3d57c1,_0x1ce872,_0x25f003){const _0x1b9de1=_0x2f3801;if(!this[_0x1b9de1(0x264)])return;let _0x3a9533='doc-shape-adjust-point-'+this[_0x1b9de1(0x264)]+'-'+_0x5b5e18,_0x133eae=_0x139887['getObjectIncludeInGroup'](_0x3a9533);if(_0x133eae){_0x133eae[_0x1b9de1(0x3e7)]({'left':_0x3dbd53['x']+_0x10e4f6-_0x5354f7['ShapeDefaultConfig'][_0x1b9de1(0x421)],'top':_0x3dbd53['y']+_0x3d57c1-_0x5354f7['ShapeDefaultConfig'][_0x1b9de1(0x421)]}),_0x133eae[_0x1b9de1(0x305)](!0x0);return;}let _0xcbec1=new _0x15d7cc(_0x3a9533,{'left':_0x3dbd53['x']+_0x10e4f6-_0x5354f7['ShapeDefaultConfig'][_0x1b9de1(0x421)],'top':_0x3dbd53['y']+_0x3d57c1-_0x5354f7['ShapeDefaultConfig'][_0x1b9de1(0x421)],'adjName':_0x5b5e18,'shapeId':this['_activeShapeId'],'unitId':_0x1ce872,'subUnitId':_0x25f003,'width':_0x5354f7[_0x1b9de1(0x236)]['adjHandleSize']+0x8,'height':_0x5354f7[_0x1b9de1(0x236)]['adjHandleSize']+0x8,'zIndex':_0x2989a1['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x1b9de1(0x3ea)]['push'](_0xcbec1),this[_0x1b9de1(0x22f)](_0xcbec1,_0x139887,_0x5b5e18),_0x139887['addObject'](_0xcbec1,_0x2989a1[_0x1b9de1(0x22c)]+0x1);}[_0x2f3801(0x2d6)](){const _0x385fca=_0x2f3801;this['_adjustPointObjects'][_0x385fca(0x323)](_0x34e4fc=>_0x34e4fc[_0x385fca(0x41b)]()),this[_0x385fca(0x3ea)]=[];}[_0x2f3801(0x2d5)](){const _0x4aa144=_0x2f3801;this[_0x4aa144(0x1fa)]();}[_0x2f3801(0x1d0)](_0x5011e2,_0x447718,_0x2c31d9){const _0x4f7406=_0x2f3801;var _0x142fda,_0x1b039a;let _0x56080d=_0x2989a1['Vector2'][_0x4f7406(0x3ed)]([_0x447718,_0x2c31d9]),_0x5ab3b7=(_0x142fda=_0x5011e2[_0x4f7406(0x382)](_0x56080d))==null?_0x5011e2[_0x4f7406(0x299)]()[0x0]:_0x142fda;return(_0x1b039a=_0x5ab3b7==null?void 0x0:_0x5ab3b7[_0x4f7406(0x20a)](_0x56080d))==null?_0x56080d:_0x1b039a;}['_attachAdjustEvent'](_0xc1f560,_0x5d0044,_0x3def40){const _0x287aa6=_0x2f3801;this[_0x287aa6(0x2e0)]((0x0,_0xee7709[_0x287aa6(0x3ef)])(_0xc1f560['onPointerDown$'][_0x287aa6(0x434)]((_0x2b5f0c,_0x5b8c09)=>{const _0x509818=_0x287aa6;var _0x5a96d2,_0x78f973;let _0x8eaeec=_0xc1f560[_0x509818(0x3c9)]();this[_0x509818(0x399)]=this[_0x509818(0x353)](_0x8eaeec[_0x509818(0x3e9)],_0x8eaeec[_0x509818(0x29c)],_0x8eaeec[_0x509818(0x394)],_0x3def40),this[_0x509818(0x290)]=this['_docsShapeService'][_0x509818(0x2f3)](_0x8eaeec[_0x509818(0x3e9)],_0x8eaeec[_0x509818(0x29c)],_0x8eaeec[_0x509818(0x394)]);let _0x1048fa=this[_0x509818(0x251)](),_0x4da87d=_0x1048fa==null?void 0x0:_0x1048fa[_0x509818(0x3f8)];if(!_0x1048fa||!_0x4da87d||!this[_0x509818(0x290)])return;this['_baseShapeLeft']=_0x4da87d['left']||0x0,this[_0x509818(0x321)]=_0x4da87d[_0x509818(0x2bd)]||0x0,this['_baseShapeWidth']=_0x4da87d[_0x509818(0x452)]||0x0,this[_0x509818(0x3a9)]=_0x4da87d[_0x509818(0x253)]||0x0;let _0x58aec6=!!_0x4da87d[_0x509818(0x2ae)],_0x59c6c4=!!_0x4da87d[_0x509818(0x303)],_0x3297fb=_0x4da87d[_0x509818(0x2d0)]||0x0,_0x5665c4={...(_0x5a96d2=(_0x78f973=this[_0x509818(0x399)])==null?void 0x0:_0x78f973[_0x509818(0x2c8)])==null?{}:_0x5a96d2};this[_0x509818(0x413)]=!0x0,_0x5d0044[_0x509818(0x2fb)](),this['_adjHandlerPointerMove']=_0x5d0044['onPointerMove$']['subscribeEvent']((_0x47b14d,_0x383656)=>{const _0x4c3f38=_0x509818;var _0x528ce1;if(!this['_isStartAdjusting']||!this['_activeShapeModel']||!this[_0x4c3f38(0x399)])return;_0x5d0044[_0x4c3f38(0x2fb)](),_0x5d0044['setCursor'](_0x2989a1[_0x4c3f38(0x2b4)]['CROSSHAIR']);let _0xd5fc04=this['_toScenePoint'](_0x5d0044,_0x47b14d[_0x4c3f38(0x384)],_0x47b14d[_0x4c3f38(0x3f0)]),_0x73ac10=_0xd5fc04['x']-this[_0x4c3f38(0x36a)],_0x4e0acf=_0xd5fc04['y']-this[_0x4c3f38(0x321)];if(_0x3297fb!==0x0){let _0x559dd8=this[_0x4c3f38(0x27b)]/0x2,_0x2255ba=this['_baseShapeHeight']/0x2,_0x47e00c=_0x3297fb*Math['PI']/0xb4,_0x34b7e9=Math[_0x4c3f38(0x1fd)](_0x47e00c),_0x3b9aaf=Math[_0x4c3f38(0x316)](_0x47e00c),_0x4092a2=_0x73ac10-_0x559dd8,_0x3893e2=_0x4e0acf-_0x2255ba;_0x73ac10=_0x559dd8+(_0x4092a2*_0x34b7e9+_0x3893e2*_0x3b9aaf),_0x4e0acf=_0x2255ba+(-_0x4092a2*_0x3b9aaf+_0x3893e2*_0x34b7e9);}_0x58aec6&&(_0x73ac10=this[_0x4c3f38(0x27b)]-_0x73ac10),_0x59c6c4&&(_0x4e0acf=this[_0x4c3f38(0x3a9)]-_0x4e0acf);let _0x24be8e={'left':0x0,'top':0x0,'width':this[_0x4c3f38(0x27b)],'height':this['_baseShapeHeight']},_0x481748=this['_activeShapeModel'][_0x4c3f38(0x1f6)](_0x24be8e,{'x':_0x73ac10,'y':_0x4e0acf},this[_0x4c3f38(0x399)],_0x58aec6,_0x59c6c4);if(Object[_0x4c3f38(0x42a)](_0x481748)[_0x4c3f38(0x275)]!==0x0){for(let [_0x1bacfe,_0xa90328]of Object['entries'](_0x481748))this[_0x4c3f38(0x290)][_0x4c3f38(0x373)](_0x1bacfe,_0xa90328);this[_0x4c3f38(0x290)]['updateContext']({'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']}),(_0x528ce1=this[_0x4c3f38(0x312)](_0x5d0044))==null||_0x528ce1['makeDirty'](!0x0),this[_0x4c3f38(0x1fc)]=this['_getShapeAdjustPointListById'](_0x8eaeec['unitId'],_0x8eaeec[_0x4c3f38(0x29c)],_0x8eaeec[_0x4c3f38(0x394)]),this[_0x4c3f38(0x2d5)](),_0x383656['stopPropagation']();}}),this[_0x509818(0x307)]=_0x5d0044[_0x509818(0x2f0)]['subscribeEvent']((_0x1f6c10,_0x6b9d18)=>{const _0x2793f7=_0x509818;var _0x26f42a,_0x12e290;(_0x26f42a=this[_0x2793f7(0x3b7)])==null||_0x26f42a[_0x2793f7(0x1cc)](),(_0x12e290=this[_0x2793f7(0x307)])==null||_0x12e290[_0x2793f7(0x1cc)](),_0x5d0044[_0x2793f7(0x25f)]();let _0xe1fd35=this[_0x2793f7(0x399)];if(_0xe1fd35&&this[_0x2793f7(0x290)]){let _0x11139d={};for(let _0x5069e2 of Object[_0x2793f7(0x42a)](_0xe1fd35['currentAdjustValues'])){let _0x5cdd4d=this[_0x2793f7(0x290)][_0x2793f7(0x233)](_0x5069e2);_0x5cdd4d!==void 0x0&&(_0x11139d[_0x5069e2]=_0x5cdd4d);}Object['keys'](_0x11139d)[_0x2793f7(0x275)]>0x0&&_0x2be5b0(this[_0x2793f7(0x26b)],_0x8eaeec[_0x2793f7(0x3e9)],_0x8eaeec[_0x2793f7(0x29c)],_0x8eaeec[_0x2793f7(0x394)],{'oldShapeData':{'adjustValues':_0x5665c4}},{'adjustValues':_0x11139d});}this[_0x2793f7(0x399)]=void 0x0,this[_0x2793f7(0x290)]=void 0x0,this[_0x2793f7(0x413)]=!0x1,_0x5d0044[_0x2793f7(0x401)](),_0x6b9d18[_0x2793f7(0x34f)]();}),_0x5b8c09[_0x509818(0x34f)]();})));}[_0x2f3801(0x3a5)](){const _0x2c6325=_0x2f3801;let {scene:_0x5f131b}=this[_0x2c6325(0x453)],_0x6cf737=_0x5f131b[_0x2c6325(0x1d2)]();this[_0x2c6325(0x2e0)](_0x6cf737[_0x2c6325(0x28a)]['subscribe'](_0x29aadc=>{const _0x384f78=_0x2c6325;this['_createShapeAdjustControls'](),_0x29aadc[_0x384f78(0x3eb)]!==null&&_0x29aadc[_0x384f78(0x3eb)][_0x384f78(0x1f2)]===0x1&&_0x29aadc['objects'][_0x384f78(0x420)]()[_0x384f78(0x244)]()['value']instanceof _0x5ba17f&&(this[_0x384f78(0x3c1)]=!0x0);})),this[_0x2c6325(0x2e0)](_0x6cf737[_0x2c6325(0x29f)]['subscribe'](()=>{const _0x38a313=_0x2c6325;this[_0x38a313(0x3c1)]&&this[_0x38a313(0x2d6)]();})),this[_0x2c6325(0x2e0)](_0x5f131b[_0x2c6325(0x2f0)][_0x2c6325(0x434)](()=>{const _0xfb6df=_0x2c6325;this['_isShouldShowDrawingShapeAdjust']&&(this[_0xfb6df(0x3c1)]=!0x1,this[_0xfb6df(0x1fa)]());})),this[_0x2c6325(0x2e0)](_0x6cf737[_0x2c6325(0x29a)][_0x2c6325(0x459)](()=>{const _0x38145f=_0x2c6325;this[_0x38145f(0x271)]&&this[_0x38145f(0x366)]&&this[_0x38145f(0x264)]&&(this[_0x38145f(0x1fc)]=this[_0x38145f(0x3cc)](this[_0x38145f(0x271)],this['_subUnitId'],this[_0x38145f(0x264)]),this[_0x38145f(0x2d5)]());}));}[_0x2f3801(0x1ec)](){const _0x19e218=_0x2f3801;this[_0x19e218(0x2e0)](this['_commandService'][_0x19e218(0x301)](_0x5e937a=>{const _0x50f3cf=_0x19e218;if(_0x5e937a['id']!==_0x555e7b[_0x50f3cf(0x418)]['id'])return;let {unitId:_0x2776e4,shapeId:_0x22f8a7}=_0x5e937a[_0x50f3cf(0x239)];_0x2776e4===this[_0x50f3cf(0x271)]&&_0x22f8a7===this['_activeShapeId']&&this[_0x50f3cf(0x1dc)]();})),this[_0x19e218(0x2e0)](this['_drawingManagerService'][_0x19e218(0x30d)][_0x19e218(0x459)](_0x5cb00c=>{const _0x4d0567=_0x19e218;if(_0x5cb00c['length']===0x1){let _0x8da843=_0x5cb00c[0x0],_0x533351=this['_drawingManagerService']['getDrawingByParam'](_0x8da843);if((_0x533351==null?void 0x0:_0x533351[_0x4d0567(0x27f)])===_0xee7709[_0x4d0567(0x1d4)]['DRAWING_SHAPE']){this[_0x4d0567(0x264)]=_0x8da843[_0x4d0567(0x394)],this['_unitId']=_0x8da843[_0x4d0567(0x3e9)],this[_0x4d0567(0x366)]=_0x8da843[_0x4d0567(0x29c)],this[_0x4d0567(0x1fc)]=this[_0x4d0567(0x3cc)](_0x8da843[_0x4d0567(0x3e9)],_0x8da843['subUnitId'],_0x8da843[_0x4d0567(0x394)]),this['_clearShapeAdjustControls'](),this[_0x4d0567(0x1fa)]();return;}}this[_0x4d0567(0x264)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4d0567(0x271)]=null,this[_0x4d0567(0x366)]=null,this[_0x4d0567(0x2d6)]();})),this[_0x19e218(0x2e0)]((0x0,_0x15594a[_0x19e218(0x21d)])(this[_0x19e218(0x33a)][_0x19e218(0x268)],this[_0x19e218(0x33a)][_0x19e218(0x3ee)])[_0x19e218(0x459)](_0x18aa32=>{const _0x2136a1=_0x19e218;var _0x35af52;let _0x7f3a25=_0x18aa32['find'](_0x2ee270=>_0x2ee270[_0x2136a1(0x394)]===this[_0x2136a1(0x264)]&&_0x2ee270['unitId']===this[_0x2136a1(0x271)]&&_0x2ee270[_0x2136a1(0x29c)]===this[_0x2136a1(0x366)]);_0x7f3a25&&((_0x35af52=this[_0x2136a1(0x33a)]['getDrawingByParam'](_0x7f3a25))==null?void 0x0:_0x35af52['drawingType'])===_0xee7709[_0x2136a1(0x1d4)]['DRAWING_SHAPE']&&this['_updateShapeAdjustControls'](!0x0);})),this[_0x19e218(0x2e0)](this[_0x19e218(0x33a)][_0x19e218(0x1e3)]['subscribe'](_0x349a7c=>{const _0x3274ce=_0x19e218;for(let _0xf84d7a of _0x349a7c)this[_0x3274ce(0x264)]===_0xf84d7a[_0x3274ce(0x394)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x3274ce(0x271)]=null,this['_subUnitId']=null,this[_0x3274ce(0x2d6)]());}));}};_0x2df3d2=_0x4e2bf9([_0x240031(0x1,_0x291800[_0x2f3801(0x43d)]),_0x240031(0x2,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x555e7b[_0x2f3801(0x24b)])),_0x240031(0x3,_0xee7709[_0x2f3801(0x29d)])],_0x2df3d2);function _0x11b55b(_0x32706d){const _0x2ce33e=_0x2f3801;return _0x32706d[_0x2ce33e(0x1f9)]===!0x0||_0x32706d[_0x2ce33e(0x1f9)]===_0xee7709[_0x2ce33e(0x3a8)][_0x2ce33e(0x1f1)]||_0x32706d[_0x2ce33e(0x2f7)]===_0xee7709[_0x2ce33e(0x272)][_0x2ce33e(0x1cb)]&&_0x32706d['behindDoc']===_0xee7709[_0x2ce33e(0x3a8)][_0x2ce33e(0x1f1)]?_0x4e6713[_0x2ce33e(0x3cd)]-0x1:_0x2989a1[_0x2ce33e(0x22c)];}let _0x3c69bf=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x46b0b2,_0x4dad2c,_0x5a537d,_0x1ee4d1,_0x142bd2,_0x543aab,_0x57207e){const _0x3fa786=_0x2f3801;super(),this[_0x3fa786(0x33a)]=_0x46b0b2,this[_0x3fa786(0x2da)]=_0x4dad2c,this['_localeService']=_0x5a537d,this['_imageIoService']=_0x1ee4d1,this[_0x3fa786(0x3be)]=_0x142bd2,this[_0x3fa786(0x306)]=_0x543aab,this['_shapeFormulaService']=_0x57207e,_0x31c38d(this,_0x3fa786(0x3b4),new Map()),this[_0x3fa786(0x2e0)](this[_0x3fa786(0x3d6)][_0x3fa786(0x240)][_0x3fa786(0x459)](_0x20eeb1=>{const _0x4a3e47=_0x3fa786;var _0x11fab5;(_0x11fab5=this[_0x4a3e47(0x3b4)][_0x4a3e47(0x44b)](this['_formulaKey'](_0x20eeb1[_0x4a3e47(0x3e9)],_0x20eeb1['subUnitId'],_0x20eeb1[_0x4a3e47(0x3d8)])))==null||_0x11fab5[_0x4a3e47(0x323)](_0x395b37=>_0x395b37[_0x4a3e47(0x1d7)](_0x20eeb1[_0x4a3e47(0x2c2)],_0x20eeb1[_0x4a3e47(0x422)]));})),this[_0x3fa786(0x2e0)](this[_0x3fa786(0x33a)]['remove$']['subscribe'](_0x2e0a93=>{const _0x125e5a=_0x3fa786;_0x2e0a93[_0x125e5a(0x323)](_0x558f9d=>{const _0x528707=_0x125e5a;this[_0x528707(0x3d6)][_0x528707(0x2c7)]({'unitId':_0x558f9d[_0x528707(0x3e9)],'subUnitId':_0x558f9d[_0x528707(0x29c)],'shapeId':_0x558f9d[_0x528707(0x394)]}),this['_formulaShapes'][_0x528707(0x3ae)](this['_formulaKey'](_0x558f9d[_0x528707(0x3e9)],_0x558f9d[_0x528707(0x29c)],_0x558f9d[_0x528707(0x394)]));});}));}[_0x2f3801(0x25a)](_0x3da24c,_0x2208ec){const _0x71635=_0x2f3801;let {transform:_0x4176f5,drawingType:_0x58c73c,srcRect:_0x1ad9e0,prstGeom:_0x8c595a,groupId:_0x35d614,unitId:_0x4b6da7,subUnitId:_0x518b19,drawingId:_0xeedc07,isMultiTransform:_0x45402b,transforms:_0x53d58d,hidden:_0x3d0b0f,selectable:_0x4809ac}=_0x3da24c;if(_0x58c73c!==_0xee7709[_0x71635(0x1d4)]['DRAWING_SHAPE']||!this[_0x71635(0x33a)][_0x71635(0x1ce)]()||_0x4176f5==null)return;let _0xb264f1=this[_0x71635(0x33a)][_0x71635(0x324)]();_0xb264f1&&_0x2208ec[_0x71635(0x43b)](_0x3a322f[_0x71635(0x27d)]);let _0x486a30=_0x45402b&&_0x53d58d?_0x53d58d:[_0x4176f5],_0x5ed51e=[];for(let _0x46fc99 of _0x486a30){let {left:_0x59b7c0,top:_0x2f4ceb,width:_0x387d3b,height:_0x43e457,angle:_0x44eea8,flipX:_0x4da998,flipY:_0x2e4864,skewX:_0x245738,skewY:_0x4d7285}=_0x46fc99,_0x57f654=_0x486a30[_0x71635(0x34e)](_0x46fc99),_0x8247bc=(0x0,_0x291800['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4b6da7,'subUnitId':_0x518b19,'drawingId':_0xeedc07},_0x45402b?_0x57f654:void 0x0),_0x497656=_0x2208ec['getObjectIncludeInGroup'](_0x8247bc);if(_0x497656!=null){let _0x26b0bf={'unitId':_0x4b6da7,'subUnitId':_0x518b19,'shapeId':_0xeedc07};_0x497656 instanceof _0x5ba17f&&this[_0x71635(0x3a6)](_0x497656,_0x26b0bf),_0x497656[_0x71635(0x3e7)]({'left':_0x59b7c0,'top':_0x2f4ceb,'width':_0x387d3b,'height':_0x43e457,'angle':_0x44eea8,'flipX':_0x4da998,'flipY':_0x2e4864,'skewX':_0x245738,'skewY':_0x4d7285});continue;}let _0x18f730=this[_0x71635(0x33a)]['getDrawingOrder'](_0x4b6da7,_0x518b19),_0x687287=_0x18f730[_0x71635(0x34e)](_0xeedc07);if(_0x2208ec[_0x71635(0x286)](_0x8247bc)||!this['_drawingManagerService'][_0x71635(0x1ce)]())continue;let _0x3b7ce8=this[_0x71635(0x2da)]['getShapeModel'](_0x4b6da7,_0x518b19,_0xeedc07);if(!_0x3b7ce8)continue;let _0x3c3553=(0x0,_0x5354f7['isConnectorShape'])(_0x3b7ce8[_0x71635(0x3e6)]()),_0x4a4d14=_0x3b7ce8[_0x71635(0x2a9)]()['formulaBinding'],_0x5c3f2a={'unitId':_0x4b6da7,'subUnitId':_0x518b19,'shapeId':_0xeedc07};_0x4a4d14&&this[_0x71635(0x3d6)]['register'](_0x5c3f2a,_0x4a4d14);let _0x125f4d=new _0x5ba17f(_0x8247bc,{..._0x3c3553?{..._0x46fc99,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x46fc99},'zIndex':_0x687287===-0x1?_0x18f730[_0x71635(0x275)]-0x1:_0x687287,'shapeModel':_0x3b7ce8,'localeService':this[_0x71635(0x41e)],'shapeId':_0xeedc07,'unitId':_0x4b6da7,'subUnitId':_0x518b19,'visible':_0x3d0b0f!==!0x0,'evented':_0x4809ac!==!0x1,'formulaPresentation':_0x4a4d14?this[_0x71635(0x3d6)][_0x71635(0x2db)](_0x5c3f2a):void 0x0,'animateFormulaPresentation':(_0x4a4d14==null?void 0x0:_0x4a4d14[_0x71635(0x422)])!==!0x1});if(_0x4a4d14){var _0x2b491d;let _0x4f2d0e=this[_0x71635(0x44d)](_0x4b6da7,_0x518b19,_0xeedc07),_0x1774f1=(_0x2b491d=this['_formulaShapes'][_0x71635(0x44b)](_0x4f2d0e))==null?new Set():_0x2b491d;_0x1774f1['add'](_0x125f4d),this[_0x71635(0x3b4)][_0x71635(0x38a)](_0x4f2d0e,_0x1774f1);}this[_0x71635(0x2e0)]((0x0,_0xee7709['toDisposable'])(_0x125f4d[_0x71635(0x2c6)][_0x71635(0x434)]((_0xf4b65a,_0x520bc4)=>{const _0x2378e8=_0x71635;_0x3b7ce8[_0x2378e8(0x308)]()||_0x4a4d14||(this[_0x2378e8(0x306)][_0x2378e8(0x2b8)]({'visible':!0x0,'unitId':_0x4b6da7,'subUnitId':_0x518b19,'shapeId':_0xeedc07,'shapeKey':_0x125f4d['oKey']}),_0x520bc4[_0x2378e8(0x34f)]());}))),_0x2208ec['addObject'](_0x125f4d,_0x11b55b(_0x3da24c)),_0xb264f1&&_0x2208ec[_0x71635(0x274)](_0x125f4d),_0x35d614&&(0x0,_0x5b086f['insertGroupObject'])({'drawingId':_0x35d614,'unitId':_0x4b6da7,'subUnitId':_0x518b19},_0x125f4d,_0x2208ec,this[_0x71635(0x33a)]),_0x8c595a!=null&&_0x125f4d[_0x71635(0x380)](_0x8c595a),_0x1ad9e0!=null&&_0x125f4d['setSrcRect'](_0x1ad9e0),this[_0x71635(0x200)](_0x125f4d,_0x3b7ce8[_0x71635(0x2a9)]()),_0x5ed51e[_0x71635(0x1d5)](_0x125f4d);}return _0x5ed51e;}[_0x2f3801(0x44d)](_0x2b301e,_0x3b3fb2,_0x208b97){return _0x2b301e+'\x00'+_0x3b3fb2+'\x00'+_0x208b97;}[_0x2f3801(0x3a6)](_0x509b48,_0x473638){const _0x31ad7c=_0x2f3801;let _0x24c680=this['_docsShapeService'][_0x31ad7c(0x2f3)](_0x473638[_0x31ad7c(0x3e9)],_0x473638[_0x31ad7c(0x29c)],_0x473638[_0x31ad7c(0x3d8)]),_0x322d2b=_0x24c680==null?void 0x0:_0x24c680[_0x31ad7c(0x2a9)]()[_0x31ad7c(0x417)],_0x303d4a=this[_0x31ad7c(0x44d)](_0x473638[_0x31ad7c(0x3e9)],_0x473638[_0x31ad7c(0x29c)],_0x473638[_0x31ad7c(0x3d8)]);if(_0x322d2b){var _0x5848c3;this['_shapeFormulaService'][_0x31ad7c(0x344)](_0x473638,_0x322d2b);let _0x318c38=(_0x5848c3=this['_formulaShapes'][_0x31ad7c(0x44b)](_0x303d4a))==null?new Set():_0x5848c3;_0x318c38[_0x31ad7c(0x37d)](_0x509b48),this[_0x31ad7c(0x3b4)][_0x31ad7c(0x38a)](_0x303d4a,_0x318c38);}else{var _0x30ce14;this[_0x31ad7c(0x3d6)]['unregister'](_0x473638),(_0x30ce14=this[_0x31ad7c(0x3b4)][_0x31ad7c(0x44b)](_0x303d4a))==null||_0x30ce14[_0x31ad7c(0x3ae)](_0x509b48);}_0x509b48[_0x31ad7c(0x1d7)](_0x322d2b?this[_0x31ad7c(0x3d6)]['getPresentation'](_0x473638):void 0x0,(_0x322d2b==null?void 0x0:_0x322d2b[_0x31ad7c(0x422)])!==!0x1);}[_0x2f3801(0x433)](_0x51c7d7){const _0x19143a=_0x2f3801;let _0x2fadde=_0x51c7d7['shapeModel']['getShapeData'](),_0x13fd70=_0x2fadde['fill'];if(!_0x13fd70||_0x13fd70[_0x19143a(0x281)]!==_0x5354f7[_0x19143a(0x23d)]['PictureFill']||!_0x13fd70[_0x19143a(0x3c2)]){_0x51c7d7[_0x19143a(0x310)](void 0x0);return;}this[_0x19143a(0x200)](_0x51c7d7,_0x2fadde);}['_loadShapePictureFill'](_0x1325cc,_0x37e70a){const _0x377d61=_0x2f3801;var _0x12dc57;let _0x372c12=_0x37e70a[_0x377d61(0x2b1)];if(!_0x372c12||_0x372c12[_0x377d61(0x281)]!==_0x5354f7[_0x377d61(0x23d)]['PictureFill']||!_0x372c12[_0x377d61(0x3c2)])return;let _0x1f1fc=_0x372c12[_0x377d61(0x3c2)],_0x5d6cb9=(_0x12dc57=_0x372c12[_0x377d61(0x3a0)])==null?_0x5354f7[_0x377d61(0x41a)][_0x377d61(0x202)]:_0x12dc57,_0xb04322=this[_0x377d61(0x386)]['getImageSourceCache'](_0x1f1fc,_0x5d6cb9);if(_0xb04322){_0x1325cc[_0x377d61(0x310)](_0xb04322);return;}this[_0x377d61(0x291)](_0x1325cc,_0x1f1fc,_0x5d6cb9);}async['_loadAndSetImage'](_0x2ef2bb,_0x36f027,_0x416e91){const _0x2e115d=_0x2f3801;let _0x903f38;try{if(_0x416e91===_0x5354f7[_0x2e115d(0x41a)]['UUID'])_0x903f38=await this[_0x2e115d(0x386)][_0x2e115d(0x3c4)](_0x36f027);else{if(_0x416e91===_0x5354f7[_0x2e115d(0x41a)]['URL'])try{_0x903f38=await this[_0x2e115d(0x3be)][_0x2e115d(0x3c4)](_0x36f027);}catch{_0x903f38=_0x36f027;}else _0x903f38=_0x36f027;}}catch(_0xb30f36){console[_0x2e115d(0x3cb)](_0x2e115d(0x2e9),_0xb30f36);return;}let _0x484d85=new window['Image']();_0x484d85['onload']=()=>{const _0x35791a=_0x2e115d;this[_0x35791a(0x386)][_0x35791a(0x256)](_0x36f027,_0x416e91,_0x484d85),_0x2ef2bb[_0x35791a(0x310)](_0x484d85);},_0x484d85['onerror']=()=>{const _0x6f627a=_0x2e115d;console[_0x6f627a(0x3cb)](_0x6f627a(0x3ad),_0x36f027);},_0x484d85[_0x2e115d(0x3b9)]=_0x903f38;}};_0x3c69bf=_0x4e2bf9([_0x240031(0x0,_0x291800[_0x2f3801(0x43d)]),_0x240031(0x1,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x555e7b[_0x2f3801(0x24b)])),_0x240031(0x2,(0x0,_0xee7709[_0x2f3801(0x213)])(_0xee7709[_0x2f3801(0x38d)])),_0x240031(0x3,_0xee7709[_0x2f3801(0x35d)]),_0x240031(0x4,_0xee7709['IURLImageService']),_0x240031(0x5,(0x0,_0xee7709['Inject'])(_0x4bbdde)),_0x240031(0x6,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x5a3a75[_0x2f3801(0x396)]))],_0x3c69bf);function _0x38dc29(_0x445643,_0x442075){const _0x134c3d=_0x2f3801;let _0x4ea296=_0x445643;for(;_0x4ea296;){if(_0x442075(_0x4ea296))return _0x4ea296;_0x4ea296=typeof _0x4ea296[_0x134c3d(0x208)]==_0x134c3d(0x237)?_0x4ea296[_0x134c3d(0x208)]():null;}return null;}function _0x13bad5(_0x322ce8){return _0x38dc29(_0x322ce8,_0x29a7ab=>_0x29a7ab instanceof _0x5ba17f);}function _0x4b7641(_0x2c2b09){const _0x5f56bb=_0x2f3801;return(_0x2c2b09==null?void 0x0:_0x2c2b09[_0x5f56bb(0x417)])==null;}let _0x245215=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x47ebd9,_0x40fd07,_0x163087,_0x26b152,_0x136554){const _0x4dbb23=_0x2f3801;super(),this[_0x4dbb23(0x453)]=_0x47ebd9,this[_0x4dbb23(0x306)]=_0x40fd07,this['_drawingManagerService']=_0x163087,this[_0x4dbb23(0x2ed)]=_0x26b152,this[_0x4dbb23(0x2da)]=_0x136554,_0x31c38d(this,'_lastEditingShapeKey',null),this['_initEvents'](),this[_0x4dbb23(0x235)](),this['_initEditingParams']();}['_initEvents'](){const _0x70132d=_0x2f3801;let {scene:_0x2ebf42}=this[_0x70132d(0x453)];this['disposeWithMe'](_0x2ebf42[_0x70132d(0x2c6)][_0x70132d(0x434)](_0x1ed0fc=>{const _0x19a16e=_0x70132d;var _0xdbe6ac;let {offsetX:_0x227831,offsetY:_0x1ad722}=_0x1ed0fc,_0x187ef4=_0x2989a1[_0x19a16e(0x26f)]['FromArray']([_0x227831,_0x1ad722]),_0x1831f6=(_0xdbe6ac=_0x13bad5(_0x2ebf42['pick'](_0x187ef4)))==null?this[_0x19a16e(0x1ea)](_0x187ef4):_0xdbe6ac;if(_0x1831f6){let _0x529dbf=this[_0x19a16e(0x2da)]['getShapeModel'](_0x1831f6[_0x19a16e(0x3e9)],_0x1831f6[_0x19a16e(0x29c)],_0x1831f6[_0x19a16e(0x3d8)]);if(!_0x529dbf||(0x0,_0x5354f7[_0x19a16e(0x38b)])(_0x529dbf[_0x19a16e(0x3e6)]())||!_0x4b7641(_0x529dbf[_0x19a16e(0x2a9)]()))return;this['_shapeTextEditingService'][_0x19a16e(0x2b8)]({'visible':!0x0,'unitId':_0x1831f6[_0x19a16e(0x3e9)],'subUnitId':_0x1831f6[_0x19a16e(0x29c)],'shapeId':_0x1831f6['shapeId'],'shapeKey':_0x1831f6[_0x19a16e(0x2fd)]});}}));}[_0x2f3801(0x1ea)](_0x24b1df){const _0x492432=_0x2f3801;let {scene:_0x1a193c}=this['_context'],_0x517c4f=this[_0x492432(0x33a)][_0x492432(0x3e5)]()[_0x492432(0x38c)](_0x2afbff=>_0x1a193c[_0x492432(0x286)]((0x0,_0x291800[_0x492432(0x2f8)])(_0x2afbff)))[_0x492432(0x24f)](_0x552f48=>_0x552f48 instanceof _0x5ba17f&&_0x552f48[_0x492432(0x41c)](_0x24b1df));return _0x517c4f==null?null:_0x517c4f;}[_0x2f3801(0x235)](){const _0x447740=_0x2f3801;this[_0x447740(0x2e0)](this[_0x447740(0x33a)][_0x447740(0x30d)][_0x447740(0x459)](_0x313dad=>{const _0xbbd024=_0x447740;if(_0x313dad[_0xbbd024(0x275)]===0x1){let _0x49634d=_0x313dad[0x0],_0x4acddf=this[_0xbbd024(0x33a)][_0xbbd024(0x383)](_0x49634d);if((_0x4acddf==null?void 0x0:_0x4acddf['drawingType'])===_0xee7709[_0xbbd024(0x1d4)]['DRAWING_SHAPE']){let _0x3043e7=this[_0xbbd024(0x306)][_0xbbd024(0x1c5)]();if((_0x3043e7==null?void 0x0:_0x3043e7[_0xbbd024(0x3d8)])===_0x49634d[_0xbbd024(0x394)]&&_0x3043e7['visible'])return;(0x0,_0x5354f7['isConnectorShape'])(this[_0xbbd024(0x2da)][_0xbbd024(0x3e6)](_0x49634d[_0xbbd024(0x3e9)],_0x49634d[_0xbbd024(0x29c)],_0x49634d['drawingId']))&&this['_shapeTextEditingService'][_0xbbd024(0x2b8)](null);}else this[_0xbbd024(0x306)][_0xbbd024(0x1c5)]()&&(this[_0xbbd024(0x306)][_0xbbd024(0x2ad)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));}else this[_0xbbd024(0x306)]['getEditing']()&&(this[_0xbbd024(0x306)][_0xbbd024(0x2ad)](!0x0),requestAnimationFrame(()=>{const _0x4820df=_0xbbd024;this[_0x4820df(0x306)][_0x4820df(0x2b8)](null);}));})),this[_0x447740(0x2e0)](this[_0x447740(0x33a)]['remove$'][_0x447740(0x459)](_0x4ff05f=>{const _0x411034=_0x447740;let _0x3f4456=this[_0x411034(0x306)]['getEditing']();_0x3f4456&&_0x4ff05f[_0x411034(0x231)](_0x5abdbd=>_0x5abdbd['drawingId']===_0x3f4456['shapeId'])&&this[_0x411034(0x306)]['setEditing'](null);}));}['_initEditingParams'](){const _0x3c03d9=_0x2f3801;this[_0x3c03d9(0x2e0)](this['_shapeTextEditingService']['editingParams$'][_0x3c03d9(0x459)](_0x5d028a=>{const _0x29bc44=_0x3c03d9;let {scene:_0x47855b}=this['_context'];if(this[_0x29bc44(0x2d9)]){let _0x517a10=_0x47855b['getObjectIncludeInGroup'](this[_0x29bc44(0x2d9)]);_0x517a10&&_0x517a10[_0x29bc44(0x2b8)](!0x1);}if(_0x5d028a){let _0x5b862f=!!_0x5d028a[_0x29bc44(0x315)],_0x4b2fc0=_0x47855b['getObjectIncludeInGroup'](_0x5d028a[_0x29bc44(0x1d6)]);_0x4b2fc0&&(_0x4b2fc0[_0x29bc44(0x2b8)](_0x5b862f),this[_0x29bc44(0x2d9)]=_0x5d028a[_0x29bc44(0x1d6)]),this[_0x29bc44(0x2ed)][_0x29bc44(0x27e)](_0xee7709[_0x29bc44(0x295)],_0x5b862f);}else this['_lastEditingShapeKey']=null,this[_0x29bc44(0x2ed)][_0x29bc44(0x27e)](_0xee7709['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x245215=_0x4e2bf9([_0x240031(0x1,(0x0,_0xee7709['Inject'])(_0x4bbdde)),_0x240031(0x2,_0x291800[_0x2f3801(0x43d)]),_0x240031(0x3,_0xee7709[_0x2f3801(0x349)]),_0x240031(0x4,(0x0,_0xee7709['Inject'])(_0x555e7b['DocsShapeService']))],_0x245215);let _0x132fee=class extends _0x3a322f['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x167a8b,_0x3f33e1,_0x12579c,_0x532749){super(_0x167a8b,_0x3f33e1,_0x12579c,_0x532749,{'componentKey':_0x143504,'editorUnitId':_0xaaddeb});}};_0x132fee=_0x4e2bf9([_0x240031(0x1,(0x0,_0xee7709['Inject'])(_0x458dc7[_0x2f3801(0x450)])),_0x240031(0x2,(0x0,_0xee7709['Inject'])(_0x4e6713[_0x2f3801(0x408)])),_0x240031(0x3,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x4e6713[_0x2f3801(0x297)]))],_0x132fee);let _0x5f389f=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x191c3f,_0x41a10e,_0xaef9df,_0x3954f6){const _0x145cc4=_0x2f3801;super(),this['_commandService']=_0x191c3f,this[_0x145cc4(0x3a3)]=_0x41a10e,this['_drawingManagerService']=_0xaef9df,this[_0x145cc4(0x28c)]=_0x3954f6,this[_0x145cc4(0x2a1)]();}[_0x2f3801(0x2a1)](){const _0x13379f=_0x2f3801;this['disposeWithMe'](this[_0x13379f(0x33a)]['add$']['subscribe'](_0x503476=>this[_0x13379f(0x21a)](_0x503476))),this[_0x13379f(0x2e0)](this[_0x13379f(0x33a)][_0x13379f(0x268)]['subscribe'](_0x13fab8=>{const _0x330656=_0x13379f;_0x13fab8[_0x330656(0x323)](_0x16da74=>this[_0x330656(0x229)](_0x16da74));})),this[_0x13379f(0x2e0)](this[_0x13379f(0x26b)][_0x13379f(0x301)](_0x4ffda0=>{const _0x4fdc5e=_0x13379f;if(_0x4ffda0['id']!==_0x555e7b[_0x4fdc5e(0x418)]['id'])return;let {unitId:_0x121202,shapeId:_0x2701c6}=_0x4ffda0[_0x4fdc5e(0x239)];this['_refreshShapeData']({'unitId':_0x121202,'subUnitId':_0x121202,'drawingId':_0x2701c6});}));}[_0x2f3801(0x21a)](_0x2634fc){const _0x53ee8=_0x2f3801;_0x2634fc[_0x53ee8(0x323)](_0x463ec6=>{const _0x2ec932=_0x53ee8;var _0x2a7906;let _0x1352fb=this[_0x2ec932(0x3dc)](_0x463ec6[_0x2ec932(0x3e9)]);if(!_0x1352fb)return;let _0x2569d1=this[_0x2ec932(0x33a)][_0x2ec932(0x383)](_0x463ec6);(_0x2569d1==null?void 0x0:_0x2569d1[_0x2ec932(0x27f)])===_0xee7709[_0x2ec932(0x1d4)]['DRAWING_SHAPE']&&((0x0,_0x5354f7[_0x2ec932(0x38b)])((_0x2a7906=_0x2569d1[_0x2ec932(0x304)])==null?void 0x0:_0x2a7906[_0x2ec932(0x35e)])&&_0x2569d1[_0x2ec932(0x3f8)]&&(_0x2569d1['transform']={..._0x2569d1[_0x2ec932(0x3f8)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x2ec932(0x28c)][_0x2ec932(0x25a)](_0x2569d1,_0x1352fb[_0x2ec932(0x3de)]));});}[_0x2f3801(0x229)](_0x1f9fc2){const _0x155711=_0x2f3801;let _0xea1ea5=this['_drawingManagerService'][_0x155711(0x383)](_0x1f9fc2);if((_0xea1ea5==null?void 0x0:_0xea1ea5[_0x155711(0x27f)])!==_0xee7709[_0x155711(0x1d4)][_0x155711(0x427)])return;let _0xbcf16=this[_0x155711(0x3dc)](_0x1f9fc2[_0x155711(0x3e9)]);if(!_0xbcf16||_0xea1ea5['transform']==null)return;let _0x2078bd=(0x0,_0x291800['getDrawingShapeKeyByDrawingSearch'])(_0x1f9fc2),_0x2b2582=_0xbcf16[_0x155711(0x3de)][_0x155711(0x286)](_0x2078bd);_0x2b2582&&(_0x2b2582[_0x155711(0x455)](_0xea1ea5[_0x155711(0x376)]),_0x2b2582['setPrstGeom'](_0xea1ea5['prstGeom']),_0x2b2582[_0x155711(0x305)](!0x0));}[_0x2f3801(0x3d3)](_0x55bb32){const _0x394dcc=_0x2f3801;let _0x181c59=this[_0x394dcc(0x3dc)](_0x55bb32[_0x394dcc(0x3e9)]);if(!_0x181c59)return;let _0x3a3afa=(0x0,_0x291800['getDrawingShapeKeyByDrawingSearch'])(_0x55bb32),_0x5c1089=_0x181c59[_0x394dcc(0x3de)][_0x394dcc(0x286)](_0x3a3afa);_0x5c1089&&(this[_0x394dcc(0x28c)]['refreshShapeFillImage'](_0x5c1089),this[_0x394dcc(0x28c)][_0x394dcc(0x3a6)](_0x5c1089,{'unitId':_0x55bb32[_0x394dcc(0x3e9)],'subUnitId':_0x55bb32[_0x394dcc(0x29c)],'shapeId':_0x55bb32[_0x394dcc(0x394)]}),_0x5c1089[_0x394dcc(0x305)](!0x0));}[_0x2f3801(0x3dc)](_0x1ccce0){const _0x4c944c=_0x2f3801;if(_0x1ccce0==null)return null;let _0x5543aa=this['_renderManagerService'][_0x4c944c(0x1fb)](_0x1ccce0),_0x1dd6bb=_0x5543aa==null?void 0x0:_0x5543aa[_0x4c944c(0x3de)];return _0x1dd6bb==null?null:{'scene':_0x1dd6bb};}};_0x5f389f=_0x4e2bf9([_0x240031(0x0,_0xee7709['ICommandService']),_0x240031(0x1,_0x2989a1['IRenderManagerService']),_0x240031(0x2,_0x291800[_0x2f3801(0x43d)]),_0x240031(0x3,(0x0,_0xee7709['Inject'])(_0x3c69bf))],_0x5f389f);let _0xe92fb0=class extends _0xee7709[_0x2f3801(0x3aa)]{constructor(_0x2ae88e,_0x3ef377,_0x590741,_0xf88c95,_0x47d7cb,_0x3550cd,_0xbc3efd,_0x572058,_0x3211c4,_0x4fbd5d,_0x40dfa1){const _0x1ef996=_0x2f3801;super(),this[_0x1ef996(0x378)]=_0x2ae88e,this['_sidebarService']=_0x3ef377,this[_0x1ef996(0x2cd)]=_0x590741,this[_0x1ef996(0x2da)]=_0xf88c95,this['_localeService']=_0x47d7cb,this['_commandService']=_0x3550cd,this['_drawingManagerService']=_0xbc3efd,this[_0x1ef996(0x276)]=_0x572058,this[_0x1ef996(0x3a3)]=_0x3211c4,this[_0x1ef996(0x2ed)]=_0x4fbd5d,this[_0x1ef996(0x306)]=_0x40dfa1,_0x31c38d(this,_0x1ef996(0x34c),null),_0x31c38d(this,_0x1ef996(0x40a),null),_0x31c38d(this,_0x1ef996(0x230),!0x1),_0x31c38d(this,_0x1ef996(0x2a7),0x0),_0x31c38d(this,'_initializedShapePopupMenu',new Set()),_0x31c38d(this,'_disposePopups',[]),this[_0x1ef996(0x423)](),this[_0x1ef996(0x2e0)](this[_0x1ef996(0x378)][_0x1ef996(0x375)](_0xee7709['UniverInstanceType'][_0x1ef996(0x33f)])[_0x1ef996(0x459)](_0x3fc593=>{const _0x35b632=_0x1ef996;if(!_0x3fc593){var _0x37e222;(_0x37e222=this['_sidebarDisposable'])==null||_0x37e222[_0x35b632(0x41b)]();return;}this[_0x35b632(0x20f)](_0x3fc593);})),this[_0x1ef996(0x265)](),this[_0x1ef996(0x2c9)](),this[_0x1ef996(0x2e0)](this[_0x1ef996(0x306)][_0x1ef996(0x259)][_0x1ef996(0x459)](_0x1948e5=>{const _0x152f0c=_0x1ef996;_0x1948e5&&this[_0x152f0c(0x3a1)]();}));}[_0x2f3801(0x423)](){const _0x245efd=_0x2f3801;this[_0x245efd(0x2cd)][_0x245efd(0x328)](_0x307980);}['_initShapePopupMenu'](){const _0x29163b=_0x2f3801;this[_0x29163b(0x378)]['getAllUnitsForType'](_0xee7709[_0x29163b(0x3f9)][_0x29163b(0x33f)])[_0x29163b(0x323)](_0x2a4cec=>this['_createShapePopupMenu'](_0x2a4cec));}[_0x2f3801(0x377)](_0x58eca9,_0x2b045f,_0xc538fd,_0x17d030){const _0x137180=_0x2f3801;return[{'label':_0x137180(0x37b),'index':0x0,'commandId':_0x5f37a8['id'],'commandParams':{'unitId':_0x58eca9,'subUnitId':_0x2b045f,'drawingId':_0xc538fd},'disable':_0x17d030===_0xee7709[_0x137180(0x1d4)][_0x137180(0x2d7)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x2949a0[_0x137180(0x1f3)]['id'],'commandParams':{'unitId':_0x58eca9,'drawings':[{'unitId':_0x58eca9,'subUnitId':_0x2b045f,'drawingId':_0xc538fd}]},'disable':!0x1},{'label':_0x137180(0x1f7),'index':0x2,'commandId':_0x2b9182['id'],'commandParams':{'unitId':_0x58eca9,'subUnitId':_0x2b045f,'drawingId':_0xc538fd},'disable':!0x1}];}['_getShapeInfo'](_0x58c04d,_0x45663b,_0x3932b2){const _0x4bc6b9=_0x2f3801;let _0x44272b=this['_docsShapeService'][_0x4bc6b9(0x3f5)](_0x58c04d,_0x45663b,_0x3932b2),_0x43f6fc=this['_docsShapeService'][_0x4bc6b9(0x334)](_0x58c04d,_0x45663b,_0x3932b2);return _0x44272b!==void 0x0&&_0x43f6fc!==void 0x0?{'shapeData':_0x43f6fc,'shapeId':_0x3932b2,'shapeType':_0x44272b,'unitId':_0x58c04d,'subUnitId':_0x45663b,'version':this[_0x4bc6b9(0x2a7)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x5af6f5){const _0x5cf4b1=_0x2f3801;if(!_0x5af6f5)return;let _0x46c5bd=_0x5af6f5[_0x5cf4b1(0x426)]();this['_renderManagerService']['has'](_0x46c5bd)&&!this[_0x5cf4b1(0x400)][_0x5cf4b1(0x1e5)](_0x46c5bd)&&(this[_0x5cf4b1(0x2a5)](_0x46c5bd),this[_0x5cf4b1(0x400)][_0x5cf4b1(0x37d)](_0x46c5bd));}[_0x2f3801(0x3a1)](){const _0x36ff3d=_0x2f3801;this['_disposePopups'][_0x36ff3d(0x323)](_0x1edc8f=>_0x1edc8f[_0x36ff3d(0x41b)]()),this[_0x36ff3d(0x1c3)][_0x36ff3d(0x275)]=0x0;}['_popupMenuListener'](_0x52bbee){const _0x2b51b2=_0x2f3801;var _0x341f75;let _0x10d759=(_0x341f75=this[_0x2b51b2(0x3a3)][_0x2b51b2(0x1fb)](_0x52bbee))==null?void 0x0:_0x341f75[_0x2b51b2(0x3de)],_0x5cde2f=_0x10d759==null?void 0x0:_0x10d759[_0x2b51b2(0x1d2)]();!_0x10d759||!_0x5cde2f||(this[_0x2b51b2(0x2e0)](_0x5cde2f[_0x2b51b2(0x2e1)][_0x2b51b2(0x459)](()=>{const _0x2e895b=_0x2b51b2;let _0x583b7a=_0x5cde2f['getSelectedObjectMap']();if(this[_0x2e895b(0x3a1)](),this[_0x2e895b(0x230)]||_0x583b7a[_0x2e895b(0x1f2)]>0x1)return;let _0x529521=_0x583b7a['values']()['next']()['value'];if(!_0x529521)return;let _0x4726d6=this[_0x2e895b(0x33a)]['getDrawingOKey'](_0x529521['oKey']);if(!_0x4726d6||_0x4726d6[_0x2e895b(0x27f)]!==_0xee7709[_0x2e895b(0x1d4)]['DRAWING_SHAPE'])return;let {unitId:_0x4c3387,subUnitId:_0x1589df,drawingId:_0x5e76c2,drawingType:_0x573009}=_0x4726d6,_0xd7578a=this[_0x2e895b(0x30b)](_0x4c3387,_0x1589df,_0x5e76c2);if(!_0xd7578a)return;let _0x52f789=this[_0x2e895b(0x276)][_0x2e895b(0x311)](_0x529521,{'componentKey':_0x1ca774,'direction':_0x2e895b(0x21b),'offset':[0x0,_0x3a322f[_0x2e895b(0x372)]],'extraProps':{'unitId':_0x4c3387,'subUnitId':_0x1589df,'drawingId':_0x5e76c2,'drawingType':_0x573009,'shapeType':_0xd7578a[_0x2e895b(0x35e)],'shapeData':_0xd7578a[_0x2e895b(0x21c)]}},_0x4c3387);this[_0x2e895b(0x1c3)]['push'](this[_0x2e895b(0x2e0)](_0x52f789)),this[_0x2e895b(0x33a)]['getFocusDrawings']()['find'](_0x58612e=>_0x58612e[_0x2e895b(0x3e9)]===_0x4c3387&&_0x58612e[_0x2e895b(0x29c)]===_0x1589df&&_0x58612e[_0x2e895b(0x394)]===_0x5e76c2)||this[_0x2e895b(0x33a)][_0x2e895b(0x365)]([{'unitId':_0x4c3387,'subUnitId':_0x1589df,'drawingId':_0x5e76c2}]);})),this['disposeWithMe'](_0x5cde2f[_0x2b51b2(0x329)][_0x2b51b2(0x459)](()=>{const _0x6ad2e3=_0x2b51b2;this['_clearPopups'](),this[_0x6ad2e3(0x2ed)][_0x6ad2e3(0x27e)](_0xee7709[_0x6ad2e3(0x1e7)],!0x1),this[_0x6ad2e3(0x33a)][_0x6ad2e3(0x365)](null);})),this[_0x2b51b2(0x2e0)](_0x5cde2f['changing$'][_0x2b51b2(0x459)](()=>{const _0x306dd0=_0x2b51b2;this[_0x306dd0(0x3a1)]();})),this['disposeWithMe'](_0x5cde2f[_0x2b51b2(0x28a)]['subscribe'](()=>{const _0x105500=_0x2b51b2;this[_0x105500(0x3a1)]();})));}['_registerOperations'](){const _0x55ae86=_0x2f3801;this[_0x55ae86(0x2e0)](this[_0x55ae86(0x26b)]['onCommandExecuted'](_0x86bd13=>{const _0x4416f2=_0x55ae86;if(_0x86bd13['id']===_0x5f37a8['id']){let {unitId:_0x372ce7,subUnitId:_0x47641b,drawingId:_0x57e744}=_0x86bd13[_0x4416f2(0x239)];this[_0x4416f2(0x2a7)]+=0x1,this['_activeShapeInfo']=this[_0x4416f2(0x30b)](_0x372ce7,_0x47641b,_0x57e744),this['_clearPopups'](),this['_openShapeEditPanel']();}if(_0x86bd13['id']===_0x2b9182['id']&&(this[_0x4416f2(0x40a)]=null,this[_0x4416f2(0x24a)]()),_0x86bd13['id']===_0x555e7b['UpdateDocShapeDataMutation']['id']){let {unitId:_0xe26493,shapeId:_0x13e56d}=_0x86bd13[_0x4416f2(0x239)];if(this[_0x4416f2(0x40a)]&&this[_0x4416f2(0x40a)][_0x4416f2(0x3d8)]===_0x13e56d){let _0x3e02fb=this['_getShapeInfo'](_0xe26493,this[_0x4416f2(0x40a)][_0x4416f2(0x29c)],_0x13e56d);_0x3e02fb&&(this[_0x4416f2(0x2a7)]+=0x1,_0x3e02fb['version']=this['_shapeEditPanelVersion'],this[_0x4416f2(0x40a)]=_0x3e02fb,this[_0x4416f2(0x230)]&&this[_0x4416f2(0x393)]());}}})),this[_0x55ae86(0x2e0)](this[_0x55ae86(0x33a)][_0x55ae86(0x30d)][_0x55ae86(0x459)](_0x2682a6=>{const _0x4391db=_0x55ae86;if(this[_0x4391db(0x230)]===!0x1)return;if(_0x2682a6[_0x4391db(0x275)]===0x0){this[_0x4391db(0x40a)]=null,this['_closeShapeEditPanel']();return;}if(_0x2682a6[_0x4391db(0x275)]===0x1&&_0x2682a6[0x0]['drawingType']===_0xee7709['DrawingTypeEnum']['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x2682a6[0x0][_0x4391db(0x3e9)],_0x2682a6[0x0][_0x4391db(0x29c)],_0x2682a6[0x0]['drawingId']),this[_0x4391db(0x40a)])){this['_openShapeEditPanel']();return;}let _0x1eb72e=_0x2682a6[_0x4391db(0x294)](_0x3454cd=>_0x3454cd['drawingType']===_0xee7709[_0x4391db(0x1d4)][_0x4391db(0x427)]);if(_0x2682a6[_0x4391db(0x275)]>0x1&&_0x1eb72e[_0x4391db(0x275)]===_0x2682a6['length']){if(this[_0x4391db(0x2a7)]+=0x1,this[_0x4391db(0x40a)]=this[_0x4391db(0x30b)](_0x2682a6[0x0][_0x4391db(0x3e9)],_0x2682a6[0x0][_0x4391db(0x29c)],_0x2682a6[0x0]['drawingId']),this['_activeShapeInfo']){this['_openShapeEditPanel']();return;}}else{if(this[_0x4391db(0x2a7)]+=0x1,this['_activeShapeInfo']=this[_0x4391db(0x30b)](_0x2682a6[0x0]['unitId'],_0x2682a6[0x0][_0x4391db(0x29c)],_0x2682a6[0x0][_0x4391db(0x394)]),this['_activeShapeInfo']){this['_activeShapeInfo'][_0x4391db(0x221)]=!0x0,this[_0x4391db(0x393)]();return;}}this[_0x4391db(0x24a)]();}));}[_0x2f3801(0x393)](){const _0x59b976=_0x2f3801;this[_0x59b976(0x40a)]&&(this[_0x59b976(0x34c)]=this[_0x59b976(0x267)]['open']({'id':_0x11b824,'header':{'title':this[_0x59b976(0x41e)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x11b824,...this['_activeShapeInfo']},'onClose':()=>{const _0x56f3ff=_0x59b976;this[_0x56f3ff(0x33a)][_0x56f3ff(0x365)](null),this[_0x56f3ff(0x2ed)][_0x56f3ff(0x27e)](_0xee7709['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x56f3ff(0x34c)]=null;}}),this[_0x59b976(0x230)]=!0x0);}[_0x2f3801(0x24a)](){const _0xa252=_0x2f3801;this[_0xa252(0x230)]=!0x1,this[_0xa252(0x267)][_0xa252(0x2c4)](_0x11b824),this[_0xa252(0x34c)]=null,this['_contextService'][_0xa252(0x27e)](_0xee7709['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0xa252(0x33a)][_0xa252(0x365)](null);}};_0xe92fb0=_0x4e2bf9([_0x240031(0x0,_0xee7709[_0x2f3801(0x39d)]),_0x240031(0x1,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x517280[_0x2f3801(0x2ec)])),_0x240031(0x2,_0x517280['IMenuManagerService']),_0x240031(0x3,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x555e7b[_0x2f3801(0x24b)])),_0x240031(0x4,(0x0,_0xee7709[_0x2f3801(0x213)])(_0xee7709[_0x2f3801(0x38d)])),_0x240031(0x5,_0xee7709[_0x2f3801(0x29d)]),_0x240031(0x6,_0x291800[_0x2f3801(0x43d)]),_0x240031(0x7,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x4e6713[_0x2f3801(0x408)])),_0x240031(0x8,_0x2989a1[_0x2f3801(0x2cf)]),_0x240031(0x9,_0xee7709[_0x2f3801(0x349)]),_0x240031(0xa,(0x0,_0xee7709[_0x2f3801(0x213)])(_0x4bbdde))],_0xe92fb0);let _0x39c24e=class extends _0xee7709[_0x2f3801(0x336)]{constructor(_0x9abde8=_0x25c95e,_0x3917d6,_0x58b88d,_0x5bad30,_0x3dfd3a){const _0x5d00e0=_0x2f3801;super(),this['_config']=_0x9abde8,this[_0x5d00e0(0x241)]=_0x3917d6,this[_0x5d00e0(0x26b)]=_0x58b88d,this[_0x5d00e0(0x42f)]=_0x5bad30,this[_0x5d00e0(0x3a3)]=_0x3dfd3a;let {menu:_0x3af12b,..._0x2c866e}=(0x0,_0xee7709[_0x5d00e0(0x21d)])({},_0x25c95e,this[_0x5d00e0(0x227)]);_0x3af12b&&this[_0x5d00e0(0x42f)][_0x5d00e0(0x2e4)](_0x5d00e0(0x29e),_0x3af12b,{'merge':!0x0}),this['_configService']['setConfig'](_0x5d00e0(0x32b),_0x2c866e),this[_0x5d00e0(0x363)]();}[_0x2f3801(0x2e2)](){const _0xc7eb11=_0x2f3801;this[_0xc7eb11(0x241)]['add']([_0x2ee0a8]),this[_0xc7eb11(0x241)][_0xc7eb11(0x44b)](_0x2ee0a8),(0x0,_0xee7709['registerDependencies'])(this['_injector'],[[_0xe92fb0],[_0x5f389f],[_0x3c69bf],[_0x2df3d2],[_0x25b37f],[_0x1644e1],[_0x4bbdde]]),this[_0xc7eb11(0x261)]();}[_0x2f3801(0x296)](){const _0x2a207a=_0x2f3801;this[_0x2a207a(0x3a3)][_0x2a207a(0x350)](_0xee7709[_0x2a207a(0x3f9)][_0x2a207a(0x33f)],[_0x2df3d2]),this[_0x2a207a(0x3a3)][_0x2a207a(0x350)](_0xee7709['UniverInstanceType'][_0x2a207a(0x33f)],[_0x245215]),this[_0x2a207a(0x3a3)]['registerRenderModule'](_0xee7709['UniverInstanceType']['UNIVER_DOC'],[_0x132fee]),(0x0,_0xee7709['touchDependencies'])(this[_0x2a207a(0x241)],[[_0xe92fb0],[_0x5f389f],[_0x3c69bf],[_0x25b37f],[_0x1644e1],[_0x4bbdde]]);}[_0x2f3801(0x363)](){const _0xb9622d=_0x2f3801;[_0x58d64e,_0x2b9182,_0x5f37a8,_0x16a3a6][_0xb9622d(0x323)](_0x448a04=>this[_0xb9622d(0x2e0)](this[_0xb9622d(0x26b)][_0xb9622d(0x282)](_0x448a04)));}[_0x2f3801(0x261)](){const _0x2dddaf=_0x2f3801;let _0x595005=this[_0x2dddaf(0x241)],_0x54c5b2=_0x595005[_0x2dddaf(0x44b)](_0x517280[_0x2dddaf(0x395)]);this[_0x2dddaf(0x2e0)](_0x54c5b2[_0x2dddaf(0x44f)](_0x517280['BuiltInUIPart'][_0x2dddaf(0x1dd)],()=>(0x0,_0x517280[_0x2dddaf(0x343)])(_0x27a5c4,_0x595005)));}};_0x31c38d(_0x39c24e,'type',_0xee7709[_0x2f3801(0x3f9)][_0x2f3801(0x33f)]),_0x31c38d(_0x39c24e,_0x2f3801(0x2b3),_0x2f3801(0x288)),_0x31c38d(_0x39c24e,_0x2f3801(0x379),_0x21cf84),_0x31c38d(_0x39c24e,'version',_0x435074),_0x39c24e=_0x4e2bf9([(0x0,_0xee7709[_0x2f3801(0x438)])(_0x28da5a[_0x2f3801(0x313)],_0x458dc7[_0x2f3801(0x3fc)],_0x291800[_0x2f3801(0x238)],_0x5b086f['UniverDrawingUIPlugin'],_0x2989a1[_0x2f3801(0x42d)],_0x4e6713[_0x2f3801(0x2ea)],_0x517280['UniverUIPlugin'],_0x5a3a75[_0x2f3801(0x458)],_0x5830e8[_0x2f3801(0x42e)],_0x555e7b[_0x2f3801(0x212)],_0x3a322f[_0x2f3801(0x3c6)]),_0x240031(0x1,(0x0,_0xee7709['Inject'])(_0xee7709[_0x2f3801(0x439)])),_0x240031(0x2,_0xee7709[_0x2f3801(0x29d)]),_0x240031(0x3,_0xee7709[_0x2f3801(0x37f)]),_0x240031(0x4,_0x2989a1[_0x2f3801(0x2cf)])],_0x39c24e),_0x12a5c6[_0x2f3801(0x43e)]=_0x307980,Object['defineProperty'](_0x12a5c6,_0x2f3801(0x284),{'enumerable':!0x0,'get':function(){return _0x39c24e;}});}));
1
+ function _0x3fe5(_0xc9c87b,_0x15d885){_0xc9c87b=_0xc9c87b-0x151;const _0x44154e=_0x4415();let _0x3fe507=_0x44154e[_0xc9c87b];return _0x3fe507;}(function(_0xe567e5,_0x4aa0c7){const _0x5196f1=_0x3fe5,_0x681f67=_0xe567e5();while(!![]){try{const _0x4b550e=-parseInt(_0x5196f1(0x40c))/0x1+-parseInt(_0x5196f1(0x1c4))/0x2+parseInt(_0x5196f1(0x1a4))/0x3*(-parseInt(_0x5196f1(0x18f))/0x4)+parseInt(_0x5196f1(0x3b5))/0x5*(-parseInt(_0x5196f1(0x223))/0x6)+-parseInt(_0x5196f1(0x170))/0x7+parseInt(_0x5196f1(0x39e))/0x8*(parseInt(_0x5196f1(0x345))/0x9)+-parseInt(_0x5196f1(0x16d))/0xa*(-parseInt(_0x5196f1(0x154))/0xb);if(_0x4b550e===_0x4aa0c7)break;else _0x681f67['push'](_0x681f67['shift']());}catch(_0x16c9bc){_0x681f67['push'](_0x681f67['shift']());}}}(_0x4415,0x7f17b),function(_0x185183,_0x3d44c2){const _0x36873f=_0x3fe5;typeof exports=='object'&&typeof module<'u'?_0x3d44c2(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react')):typeof define==_0x36873f(0x1f4)&&define['amd']?define([_0x36873f(0x2b5),_0x36873f(0x17c),'@univerjs/docs-ui',_0x36873f(0x3bd),_0x36873f(0x403),'@univerjs-pro/engine-shape',_0x36873f(0x321),'@univerjs/core',_0x36873f(0x2ae),_0x36873f(0x222),_0x36873f(0x15c),_0x36873f(0x255),_0x36873f(0x1a6),_0x36873f(0x1cf),'rxjs','@univerjs-pro/license',_0x36873f(0x3e9),_0x36873f(0x3cb)],_0x3d44c2):(_0x185183=typeof globalThis<'u'?globalThis:_0x185183||self,_0x3d44c2(_0x185183[_0x36873f(0x41a)]={},_0x185183[_0x36873f(0x392)],_0x185183['UniverDocsUi'],_0x185183[_0x36873f(0x295)],_0x185183[_0x36873f(0x1fa)],_0x185183['UniverProEngineShape'],_0x185183[_0x36873f(0x2ff)],_0x185183[_0x36873f(0x157)],_0x185183['UniverDocs'],_0x185183['UniverDocsDrawing'],_0x185183['UniverEngineRender'],_0x185183[_0x36873f(0x3b3)],_0x185183[_0x36873f(0x215)],_0x185183[_0x36873f(0x383)],_0x185183[_0x36873f(0x36e)],_0x185183['UniverProLicense'],_0x185183['UniverDocsDrawingUi'],_0x185183['React']));}(this,function(_0x495beb,_0x477995,_0xadaed7,_0x314b7e,_0x397c2d,_0x2d5ae1,_0x377eec,_0x199bc9,_0x52097a,_0xe167a4,_0x4bd9c2,_0x48b930,_0x1a42e8,_0x5c8576,_0x259d9f,_0xe2a57e,_0x14557e,_0x3c5464){const _0x44da2a=_0x3fe5;Object[_0x44da2a(0x264)](_0x495beb,Symbol[_0x44da2a(0x1f3)],{'value':_0x44da2a(0x356)});let _0x2e2995=_0x44da2a(0x27c),_0x4966fe=_0x44da2a(0x1e4);function _0x5cf7b4(_0x93796,_0x58430d){const _0x9272a9=_0x44da2a;if(_0x58430d){if((0x0,_0x2d5ae1[_0x9272a9(0x34a)])(_0x93796)&&(_0x58430d[_0x9272a9(0x1b5)]||_0x58430d[_0x9272a9(0x3a4)]))return{'ln':{'startArrow':_0x58430d[_0x9272a9(0x1b5)]?{'type':_0x2d5ae1[_0x9272a9(0x2e0)][_0x9272a9(0x2ac)],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x212)]}:void 0x0,'endArrow':_0x58430d[_0x9272a9(0x3a4)]?{'type':_0x2d5ae1['ShapeArrowTypeEnum']['Arrow'],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x23e)]}:void 0x0}};if(_0x93796===_0x2d5ae1['ShapeTypeEnum']['Rect']&&(_0x58430d['horizontal']||_0x58430d['vertical']))return(0x0,_0x377eec[_0x9272a9(0x2f5)])({'fill':{'fillType':_0x2d5ae1[_0x9272a9(0x179)]['SolidFill'],'color':_0x2e2995},'isHorizontal':!!_0x58430d[_0x9272a9(0x39a)],'stroke':{'lineStrokeType':_0x2d5ae1['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0x4966fe}});}}function _0x2862a3(_0x176d5e,_0x58aa16){const _0x2f82c0=_0x44da2a;var _0x2f4836;let _0x322436=_0x58aa16['segmentId']??'',_0x2d133e=(_0x2f4836=_0x176d5e[_0x2f82c0(0x350)](_0x322436))==null?void 0x0:_0x2f4836[_0x2f82c0(0x2f2)]();if(!_0x2d133e)return null;let _0x3bc306=_0x2d133e[_0x2f82c0(0x3cd)]??[],_0x452002=_0x3bc306[_0x2f82c0(0x1da)](_0x4e84f1=>{const _0x2cfa22=_0x2f82c0;let _0x556eb9=(0x0,_0x199bc9[_0x2cfa22(0x23d)])(_0x2d133e,_0x4e84f1);return _0x58aa16[_0x2cfa22(0x2bb)]>=_0x556eb9&&_0x58aa16[_0x2cfa22(0x2bb)]<=_0x4e84f1['startIndex'];})??_0x3bc306[_0x3bc306[_0x2f82c0(0x268)]-0x1];return _0x452002?{'paragraphId':_0x452002[_0x2f82c0(0x410)],'segmentId':_0x322436,'position':_0x397c2d['DocShapeAnchorPosition'][_0x2f82c0(0x2de)],'offset':_0x58aa16['startOffset']-(0x0,_0x199bc9[_0x2f82c0(0x23d)])(_0x2d133e,_0x452002)}:null;}function _0x5eedf9(_0x151e38,_0x1899dd,_0x5b96d0){const _0x2c2535=_0x44da2a;var _0x6263af,_0xf3ba0f;if(!_0x5b96d0)return null;let _0x4a2977=(_0x6263af=_0x151e38[_0x2c2535(0x41e)](_0x4bd9c2[_0x2c2535(0x3f8)])['getRenderUnitById'](_0x1899dd))==null?void 0x0:_0x6263af[_0x2c2535(0x41c)](_0xadaed7[_0x2c2535(0x3dc)])[_0x2c2535(0x1e7)];if(!_0x4a2977)return null;let _0x5bd779=_0x5b96d0===_0x2c2535(0x2aa)?{'startOffset':_0x4a2977[_0x2c2535(0x231)][_0x2c2535(0x307)],'endOffset':_0x4a2977['moveRange'][_0x2c2535(0x307)]}:_0x4a2977['menuRange'];return{'startOffset':_0x5bd779[_0x2c2535(0x2bb)],'endOffset':_0x5bd779[_0x2c2535(0x307)],'collapsed':_0x5bd779[_0x2c2535(0x2bb)]===_0x5bd779[_0x2c2535(0x307)],'segmentId':((_0xf3ba0f=_0x4a2977['paragraph'])==null?void 0x0:_0xf3ba0f[_0x2c2535(0x401)])??''};}let _0x5e21da={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x38d)],'id':'doc.command.menu-insert-shape','handler':async(_0x146fc1,_0x424180)=>{const _0x1cfff7=_0x44da2a;let _0xef2c0a=_0x146fc1['get'](_0x199bc9['IUniverInstanceService'])['getCurrentUnitOfType'](_0x199bc9[_0x1cfff7(0x31a)]['UNIVER_DOC']);if(!_0xef2c0a)return!0x1;let _0x41a793=_0x146fc1[_0x1cfff7(0x41e)](_0x199bc9[_0x1cfff7(0x250)]),_0x4b2eb3=_0xef2c0a[_0x1cfff7(0x2a6)](),_0x4e5462=_0x424180[_0x1cfff7(0x195)]??(0x0,_0x199bc9[_0x1cfff7(0x1d2)])(),_0x2ced37=_0x424180[_0x1cfff7(0x25c)]??_0x397c2d['DEFAULT_DOC_SHAPE_WIDTH'],_0x275deb=_0x424180[_0x1cfff7(0x2a2)]??_0x397c2d['DEFAULT_DOC_SHAPE_HEIGHT'],_0x382fa6=_0x424180[_0x1cfff7(0x261)]??_0x5cf7b4(_0x424180[_0x1cfff7(0x38a)],_0x424180[_0x1cfff7(0x17b)])??{'fill':{'fillType':_0x2d5ae1['ShapeFillEnum'][_0x1cfff7(0x26a)],'color':_0x2e2995},'stroke':{'lineStrokeType':_0x2d5ae1[_0x1cfff7(0x310)]['SolidLine'],'width':0x1,'color':_0x4966fe}},_0x41c02e=_0x5eedf9(_0x146fc1,_0x4b2eb3,_0x424180['paragraphMenuPlacement'])??_0x146fc1[_0x1cfff7(0x41e)](_0x52097a[_0x1cfff7(0x17f)])[_0x1cfff7(0x28e)]();if(!_0x41c02e)return!0x1;let _0x549414=_0x2862a3(_0xef2c0a,_0x41c02e);return _0x549414?!!_0x41a793[_0x1cfff7(0x216)](_0x397c2d['InsertDocShapeCommand']['id'],{'unitId':_0x4b2eb3,'shapeId':_0x4e5462,'shapeType':_0x424180['value'],'shapeData':_0x382fa6,'transform':{'width':_0x2ced37,'height':_0x275deb},'placement':{'wrappingStyle':_0xe167a4[_0x1cfff7(0x3e8)][_0x1cfff7(0x309)],'anchor':_0x549414}}):!0x1;}},_0x592432=_0x44da2a(0x19d),_0x1a1332=_0x44da2a(0x2da),_0x1eb480=_0x44da2a(0x1f0),_0xa6f102=(0x0,_0x199bc9[_0x44da2a(0x1ad)])(_0x44da2a(0x274)),_0x4c7158=_0x44da2a(0x3c4),_0x3ff923={'id':_0x44da2a(0x168),'type':_0x199bc9[_0x44da2a(0x2b3)]['COMMAND'],'handler':(_0x5c60dc,_0x2d18c4)=>{const _0x39c9af=_0x44da2a;let _0x210251=_0x5c60dc[_0x39c9af(0x41e)](_0x314b7e[_0x39c9af(0x3de)]),_0x190709=_0x5c60dc[_0x39c9af(0x41e)](_0x199bc9['LocaleService']),_0x335890=_0x5c60dc[_0x39c9af(0x41e)](_0x48b930[_0x39c9af(0x3be)]);return(_0x2d18c4==null?void 0x0:_0x2d18c4[_0x39c9af(0x38a)])==='close'?(_0x210251[_0x39c9af(0x2e1)](_0x1eb480),!0x0):(_0x210251[_0x39c9af(0x290)]({'id':_0x1eb480,'header':{'title':_0x190709['t'](_0x39c9af(0x228))},'children':{'label':_0x1eb480},'onClose':()=>{const _0x18ddf3=_0x39c9af;_0x335890[_0x18ddf3(0x37f)](null);},'width':0x168}),!0x0);}},_0x39ec2b={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x242),'handler'(){return!0x0;}};function _0x150e0b(_0x426d38){const _0x318c02=_0x44da2a;let _0x4ebbbc=_0x426d38['get'](_0x48b930['IDrawingManagerService'])[_0x318c02(0x3f0)](),_0x403bd5=_0x4ebbbc[_0x318c02(0x268)]===0x1?_0x4ebbbc[0x0]:null;if(!_0x403bd5||_0x403bd5[_0x318c02(0x408)]!==_0x199bc9[_0x318c02(0x1d9)][_0x318c02(0x418)])return null;let _0x19839c=_0x426d38[_0x318c02(0x41e)](_0x397c2d[_0x318c02(0x197)]),_0x262d44=_0x19839c[_0x318c02(0x2b2)](_0x403bd5[_0x318c02(0x1e0)],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]),_0x2aab99=_0x19839c['getShapeDataById'](_0x403bd5['unitId'],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]);return _0x262d44===void 0x0||!_0x2aab99?null:{'drawing':_0x403bd5,'shapeData':_0x2aab99,'shapeType':_0x262d44};}let _0x43474b={'id':_0x44da2a(0x32c),'type':_0x199bc9['CommandType'][_0x44da2a(0x1a7)],'handler':(_0x220acc,_0x5c4339)=>{const _0x194502=_0x44da2a;let _0x1f371e=_0x150e0b(_0x220acc),_0x2ffa10=(0x0,_0x377eec[_0x194502(0x318)])((_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x3eb)])??(_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x38a)])??'');if(!_0x1f371e||!_0x2ffa10||_0x2ffa10[_0x194502(0x27f)]!==(0x0,_0x377eec[_0x194502(0x151)])(_0x1f371e['shapeData']))return!0x1;let _0x2d1ffb=(0x0,_0x377eec[_0x194502(0x2c5)])(_0x1f371e[_0x194502(0x261)],_0x2ffa10);if(!_0x2d1ffb)return!0x1;let {drawing:_0x561fc0}=_0x1f371e;return _0x220acc[_0x194502(0x41e)](_0x199bc9[_0x194502(0x250)])[_0x194502(0x24b)](_0x397c2d['UpdateDocShapeDataCommand']['id'],{'unitId':_0x561fc0[_0x194502(0x1e0)],'shapeId':_0x561fc0['drawingId'],'shapeData':_0x2d1ffb,'oldShapeJSON':{'oldShapeData':_0x1f371e[_0x194502(0x261)]}});}},_0x33706f={'id':_0x44da2a(0x1c2),'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'handler':(_0x1d276a,_0x5bf7ab)=>{const _0x3cb478=_0x44da2a;let _0x40f8bc=_0x150e0b(_0x1d276a),_0xcf28e0=(_0x5bf7ab==null?void 0x0:_0x5bf7ab['shapeType'])??(_0x5bf7ab==null?void 0x0:_0x5bf7ab[_0x3cb478(0x38a)]);if(!_0x40f8bc||!_0xcf28e0||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0x40f8bc[_0x3cb478(0x375)])||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0xcf28e0))return!0x1;let _0x5e512e=(0x0,_0x377eec[_0x3cb478(0x173)])(_0x40f8bc[_0x3cb478(0x261)],_0xcf28e0);if(!_0x5e512e)return!0x1;let {drawing:_0xfc2d79}=_0x40f8bc;return _0x1d276a['get'](_0x199bc9[_0x3cb478(0x250)])[_0x3cb478(0x24b)](_0x397c2d[_0x3cb478(0x3d3)]['id'],{'unitId':_0xfc2d79['unitId'],'shapeId':_0xfc2d79[_0x3cb478(0x3a1)],'shapeType':_0xcf28e0,'shapeData':_0x5e512e,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x40f8bc['shapeType'],'oldShapeData':_0x40f8bc[_0x3cb478(0x261)]}});}};function _0x57fca7(_0x1076f9,_0x144e5c){return function(_0x1aeab1,_0x287cc1){_0x144e5c(_0x1aeab1,_0x287cc1,_0x1076f9);};}function _0x5e6390(_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd){const _0x54cda0=_0x44da2a;var _0x23e9a6=arguments['length'],_0x54eec8=_0x23e9a6<0x3?_0x1fef76:_0x10c9bd===null?_0x10c9bd=Object['getOwnPropertyDescriptor'](_0x1fef76,_0x3d8449):_0x10c9bd,_0x4f2e9b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x54eec8=Reflect[_0x54cda0(0x28d)](_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd);else{for(var _0x1376a3=_0xccf1ed[_0x54cda0(0x268)]-0x1;_0x1376a3>=0x0;_0x1376a3--)(_0x4f2e9b=_0xccf1ed[_0x1376a3])&&(_0x54eec8=(_0x23e9a6<0x3?_0x4f2e9b(_0x54eec8):_0x23e9a6>0x3?_0x4f2e9b(_0x1fef76,_0x3d8449,_0x54eec8):_0x4f2e9b(_0x1fef76,_0x3d8449))||_0x54eec8);}return _0x23e9a6>0x3&&_0x54eec8&&Object[_0x54cda0(0x264)](_0x1fef76,_0x3d8449,_0x54eec8),_0x54eec8;}let _0x2f111e=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x45506d,_0x5ee876){const _0x3ebe7a=_0x44da2a;super(),this[_0x3ebe7a(0x40a)]=_0x45506d,this[_0x3ebe7a(0x201)]=_0x5ee876,this[_0x3ebe7a(0x368)](),this[_0x3ebe7a(0x40a)]['setCanUseShapeClip'](!0x0),this[_0x3ebe7a(0x19c)]({'dispose':()=>this[_0x3ebe7a(0x40a)][_0x3ebe7a(0x16c)](!0x1)});}[_0x44da2a(0x368)](){const _0x4971a2=_0x44da2a;let _0x1364e2=new Map(),_0x4e3eb2=this[_0x4971a2(0x40a)][_0x4971a2(0x34c)]((_0x59e3c0,_0x10e90d,_0xe323a7,_0x44537a,_0x2e5383)=>{const _0x1f5151=_0x4971a2;let _0x11a34f=_0x10e90d;if(_0x11a34f===_0x2d5ae1[_0x1f5151(0x226)][_0x1f5151(0x335)]||_0x10e90d==='custom')return!0x1;try{let _0x4e5a72=_0x1364e2[_0x1f5151(0x41e)](_0x10e90d);return _0x4e5a72||(_0x4e5a72=new _0x2d5ae1[(_0x1f5151(0x1ac))](_0x11a34f,_0x1f5151(0x240)+_0x10e90d),_0x1364e2[_0x1f5151(0x1a0)](_0x10e90d,_0x4e5a72)),_0x4e5a72[_0x1f5151(0x416)](),_0x2e5383&&Object[_0x1f5151(0x398)](_0x2e5383)['length']>0x0&&_0x4e5a72[_0x1f5151(0x2b0)]({'adjustValues':_0x2e5383},!0x0),_0x4e5a72[_0x1f5151(0x21c)]({'width':_0xe323a7,'height':_0x44537a}),_0x4e5a72[_0x1f5151(0x3d0)](_0x59e3c0,{'left':0x0,'top':0x0,'width':_0xe323a7,'height':_0x44537a});}catch{return!0x1;}});this['disposeWithMe'](_0x4e3eb2),this[_0x4971a2(0x19c)]({'dispose':()=>_0x1364e2['clear']()});}[_0x44da2a(0x391)](_0x3bfad4,_0x1cfd35,_0x2eefcd,_0x1d92e4,_0x5b1f6b){const _0x2965d6=_0x44da2a;let _0xbef18b=this[_0x2965d6(0x201)][_0x2965d6(0x26c)](_0x3bfad4,_0x1cfd35)[_0x2eefcd];!_0xbef18b||_0xbef18b[_0x2965d6(0x408)]!==_0x199bc9[_0x2965d6(0x1d9)][_0x2965d6(0x194)]||this[_0x2965d6(0x201)]['featurePluginUpdateNotification']([{..._0xbef18b,'prstGeom':_0x1d92e4,'adjustValues':_0x5b1f6b}]);}};_0x2f111e=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9['Inject'])(_0x1a42e8['DrawingImageClipService'])),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x48b930['IDrawingManagerService']))],_0x2f111e);let _0x3c9c56=_0x44da2a(0x244),_0x30ffe0=_0x44da2a(0x337);function _0x315139({onShapeClick:_0x14a5a0,excludeGroups:_0x1d1733}){const _0x2f81e6=_0x44da2a;return(0x0,_0x5c8576[_0x2f81e6(0x32d)])(_0x477995[_0x2f81e6(0x363)],{'excludeGroups':_0x1d1733,'onShapeClick':_0x14a5a0,'scrollContainer':'parent'});}function _0x178a63(){const _0x3675cf=_0x44da2a;let _0x116be5=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x48b930[_0x3675cf(0x3be)]),_0x4dc031=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x2f111e);return(0x0,_0x5c8576['jsx'])(_0x477995[_0x3675cf(0x296)],{'buttonLabel':_0x3675cf(0x186),'excludeGroups':[_0x477995[_0x3675cf(0x176)][_0x3675cf(0x2d3)]],'onShapeClick':_0x5af27=>{const _0xa4b851=_0x3675cf;let _0x4d8d00=_0x116be5[_0xa4b851(0x3f0)]()['find'](_0x2f1c4f=>_0x2f1c4f[_0xa4b851(0x408)]===_0x199bc9[_0xa4b851(0x1d9)][_0xa4b851(0x194)]);if(!_0x4d8d00)return;let {unitId:_0x595aed,subUnitId:_0x5f3049,drawingId:_0x528e80}=_0x4d8d00;_0x4dc031[_0xa4b851(0x391)](_0x595aed,_0x5f3049,_0x528e80,_0x5af27[_0xa4b851(0x27f)]);}});}function _0x19d137(){const _0x59b3aa=_0x44da2a;let _0x455f7f=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x314b7e['ComponentManager']),_0x39045=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x48b930[_0x59b3aa(0x3be)]),_0x9feb5c=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x11bb7a=_0x39045[_0x59b3aa(0x3f0)]()[0x0],_0x5f2276=_0x11bb7a?_0x9feb5c[_0x59b3aa(0x210)](_0x11bb7a[_0x59b3aa(0x1e0)]):void 0x0,_0x547b32=_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x171)]?_0x30ffe0:_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x169)]?_0x59b3aa(0x2ad):void 0x0,_0x582809=_0x547b32?_0x455f7f[_0x59b3aa(0x41e)](_0x547b32):void 0x0;return _0x582809?(0x0,_0x5c8576[_0x59b3aa(0x32d)])(_0x582809,{}):null;}function _0x2fa4cd({paragraphMenuPlacement:_0x497581}){const _0x33866e=_0x44da2a;let _0x161c25=(0x0,_0x314b7e[_0x33866e(0x3fe)])(_0x199bc9[_0x33866e(0x250)]);return(0x0,_0x5c8576[_0x33866e(0x32d)])(_0x315139,{'onShapeClick':_0x5b80af=>{const _0x4d4af5=_0x33866e;_0x161c25[_0x4d4af5(0x24b)](_0x5e21da['id'],{'paragraphMenuPlacement':_0x497581,'value':_0x5b80af[_0x4d4af5(0x27f)],'enhanceParams':{'endArrow':_0x5b80af[_0x4d4af5(0x3a4)],'startArrow':_0x5b80af[_0x4d4af5(0x1b5)],'horizontal':_0x5b80af[_0x4d4af5(0x39a)],'vertical':_0x5b80af['vertical']}});}});}function _0x1e2c9e(_0x3b2b84){const _0x3528c9=_0x44da2a;return _0x54ad23=>({'id':_0x5e21da['id'],'type':_0x314b7e['MenuItemType'][_0x3528c9(0x1d6)],'selections':[{'label':{'name':_0x3c9c56,'hoverable':!0x1,'selectable':!0x1,'props':_0x3b2b84?{'id':_0x5e21da['id'],'paragraphMenuPlacement':_0x3b2b84}:{'id':_0x5e21da['id']}}}],'icon':'ShapeIcon','title':_0x3528c9(0x2c8),'tooltip':_0x3528c9(0x2c8),'hidden$':(0x0,_0x314b7e[_0x3528c9(0x183)])(_0x54ad23,_0x199bc9[_0x3528c9(0x31a)][_0x3528c9(0x171)])});}let _0x33ceb4=_0x1e2c9e(),_0x452a35=_0x1e2c9e(_0x44da2a(0x2aa)),_0x574355=_0x1e2c9e('target');function _0x2739d2(_0x1a85f2){const _0x491ba1=_0x44da2a;return{'id':_0x3ff923['id'],'type':_0x314b7e[_0x491ba1(0x206)][_0x491ba1(0x304)],'icon':_0x491ba1(0x287),'title':_0x491ba1(0x3a8),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x314b7e['getMenuHiddenObservable'])(_0x1a85f2,_0x199bc9[_0x491ba1(0x31a)]['UNIVER_DOC'])};}function _0x5d636b(_0x47c506,_0x41ac66,_0x548f6b,_0x1c257e,_0x55572d,_0x5c54f8){const _0x4abc83=_0x44da2a;let _0x4fa35e={'unitId':_0x41ac66,'shapeId':_0x1c257e,'shapeData':_0x5c54f8,'oldShapeJSON':_0x55572d};return _0x47c506[_0x4abc83(0x24b)](_0x397c2d[_0x4abc83(0x3d3)]['id'],_0x4fa35e);}function _0x12e5ff(_0x1059f2,_0x4962b0,_0x3e8778,_0x1a2d41,_0x125159,_0x137f72){const _0x375177=_0x44da2a;let _0x1931ce={'unitId':_0x4962b0,'shapeId':_0x1a2d41,'shapeData':_0x137f72,'oldShapeJSON':_0x125159};return _0x1059f2[_0x375177(0x24b)](_0x397c2d[_0x375177(0x3d3)]['id'],_0x1931ce);}let _0x6abc23='docs-shape-ui.shape-format.quick-style-gallery',_0x5348c1=_0x44da2a(0x285),_0x48d6e1=_0x44da2a(0x320),_0x8f688e='docs-shape-ui.shape-format.formula-ribbon-control';function _0x492a1e(){const _0x6f914f=_0x44da2a;let _0x28c0a2=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x199bc9[_0x6f914f(0x250)]),_0x2832b0=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x4d0e4b=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x397c2d['DocsShapeService']),_0x3e9000=()=>{const _0xba9090=_0x6f914f;var _0x2d2f7e;let _0x23ecbb=_0x2832b0[_0xba9090(0x3f0)]();if(_0x23ecbb[_0xba9090(0x268)]!==0x1||((_0x2d2f7e=_0x23ecbb[0x0])==null?void 0x0:_0x2d2f7e[_0xba9090(0x408)])!==_0x199bc9['DrawingTypeEnum']['DRAWING_SHAPE'])return null;let {unitId:_0x317f06,subUnitId:_0x3805ed,drawingId:_0x4e3086}=_0x23ecbb[0x0],_0x2a00e3=_0x4d0e4b[_0xba9090(0x2b2)](_0x317f06,_0x3805ed,_0x4e3086),_0x4431b0=_0x4d0e4b[_0xba9090(0x35b)](_0x317f06,_0x3805ed,_0x4e3086);return _0x2a00e3===void 0x0||!_0x4431b0?null:{'unitId':_0x317f06,'subUnitId':_0x3805ed,'drawingId':_0x4e3086,'shapeType':_0x2a00e3,'shapeData':_0x4431b0};},_0x4fa39e=(0x0,_0x314b7e[_0x6f914f(0x374)])(()=>new _0x259d9f[(_0x6f914f(0x33c))](_0x5ef8e6=>{const _0x12b60b=_0x6f914f;let _0x296d5f=()=>_0x5ef8e6[_0x12b60b(0x2a9)](_0x3e9000()),_0x15d9eb=_0x2832b0[_0x12b60b(0x1de)]['subscribe'](_0x296d5f),_0x439518=_0x28c0a2[_0x12b60b(0x289)](_0x394ebd=>{const _0x46ec01=_0x12b60b;_0x394ebd['id']===_0x397c2d[_0x46ec01(0x29e)]['id']&&_0x296d5f();});return _0x296d5f(),()=>{const _0x1b971a=_0x12b60b;_0x15d9eb[_0x1b971a(0x3c3)](),_0x439518['dispose']();};}),_0x3e9000(),!0x1,[_0x28c0a2,_0x4d0e4b,_0x2832b0]);return{'selection':_0x4fa39e,'updateShapeData':_0x31c884=>{const _0x5f0cc5=_0x6f914f;_0x4fa39e&&_0x5d636b(_0x28c0a2,_0x4fa39e[_0x5f0cc5(0x1e0)],_0x4fa39e['subUnitId'],_0x4fa39e[_0x5f0cc5(0x3a1)],{'oldShapeData':_0x4fa39e['shapeData']},_0x31c884);}};}function _0x358711(){const _0x5be485=_0x44da2a;let {selection:_0x2931d7,updateShapeData:_0x3dc8f1}=_0x492a1e();return _0x2931d7?(0x0,_0x5c8576['jsx'])(_0x477995[_0x5be485(0x3c6)],{'shapeData':_0x2931d7['shapeData'],'shapeType':_0x2931d7[_0x5be485(0x375)],'onUpdateShapeData':_0x3dc8f1}):null;}function _0x1a179f(){const _0x41e219=_0x44da2a;let _0x57c151=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9['ICommandService']),_0x42b31a=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9[_0x41e219(0x36b)]),{selection:_0x129484}=_0x492a1e();return _0x129484?(0x0,_0x5c8576[_0x41e219(0x32d)])(_0x477995[_0x41e219(0x158)],{'type':(0x0,_0x377eec[_0x41e219(0x151)])(_0x129484[_0x41e219(0x261)]),'ariaLabel':_0x42b31a['t'](_0x41e219(0x19b)),'activePresetId':(0x0,_0x377eec[_0x41e219(0x190)])(_0x129484[_0x41e219(0x261)]),'onSelect':_0x116b75=>_0x57c151[_0x41e219(0x24b)](_0x43474b['id'],{'presetId':_0x116b75})}):null;}function _0x59fb0b(){const _0x31a706=_0x44da2a;let {selection:_0x1d3d8f,updateShapeData:_0x23fa5e}=_0x492a1e();return _0x1d3d8f?(0x0,_0x5c8576[_0x31a706(0x32d)])(_0x477995[_0x31a706(0x31d)],{'fontFamilyPopupDataComponent':_0x31a706(0x1c5),'shapeData':_0x1d3d8f[_0x31a706(0x261)],'onUpdateShapeData':_0x23fa5e}):null;}function _0x56bc1f(){const _0xbfd4f9=_0x44da2a;var _0x23c649;let {selection:_0x539efa,updateShapeData:_0x160a05}=_0x492a1e(),_0x54bdd6=(0x0,_0x477995[_0xbfd4f9(0x1c1)])({'hostType':_0x199bc9[_0xbfd4f9(0x31a)][_0xbfd4f9(0x171)],'unitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x1e0)])??'','subUnitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3d5)])??'','shapeId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3a1)])??'','shapeData':_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x261)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xbfd4f9(0x277),'onUpdateBinding':_0x1935d4=>_0x160a05({'formulaBinding':_0x1935d4})}),_0x3da47e=((_0x23c649=_0x54bdd6[_0xbfd4f9(0x2a7)])==null?void 0x0:_0x23c649['flatMap'](_0x4b3586=>_0x4b3586[_0xbfd4f9(0x258)])[_0xbfd4f9(0x191)](_0x2a4a4b=>_0x2a4a4b[_0xbfd4f9(0x243)]!==!0x1))??[];return _0x539efa!=null&&_0x539efa[_0xbfd4f9(0x261)][_0xbfd4f9(0x2c7)]?(0x0,_0x5c8576[_0xbfd4f9(0x32d)])(_0x477995[_0xbfd4f9(0x327)],{'actions':_0x3da47e,'panel':_0x54bdd6['panel']}):null;}let _0x490874=_0x44da2a(0x3a2),_0x3c2bdc=_0x44da2a(0x37e),_0x3f6725=_0x44da2a(0x415),_0x34f752=_0x44da2a(0x237),_0x2a6ead=_0x44da2a(0x2e5),_0x2fc00a='docs-shape-ui.ribbon.shape-format.arrange-front',_0x3bbfba=_0x44da2a(0x41d);function _0x4976d0(_0x1b1eed){const _0x118fa3=_0x44da2a;let _0xb7e3a7=_0x1b1eed['get'](_0x199bc9[_0x118fa3(0x250)]),_0x1f5c99=_0x1b1eed[_0x118fa3(0x41e)](_0x48b930['IDrawingManagerService']),_0x4d8cb3=_0x1b1eed[_0x118fa3(0x41e)](_0x397c2d[_0x118fa3(0x197)]);return new _0x259d9f[(_0x118fa3(0x33c))](_0x2f157e=>{const _0x5c0596=_0x118fa3;let _0x1c5882=()=>{const _0x57a190=_0x3fe5;let _0x145ab4=_0x36af67(_0x1b1eed),_0x1704ae=_0x145ab4?_0x4d8cb3['getShapeDataById'](_0x145ab4[_0x57a190(0x1e0)],_0x145ab4['subUnitId'],_0x145ab4[_0x57a190(0x3a1)]):null;_0x2f157e[_0x57a190(0x2a9)](_0x1704ae?(0x0,_0x377eec[_0x57a190(0x190)])(_0x1704ae)??'':'');},_0x2228f7=_0x1f5c99[_0x5c0596(0x1de)][_0x5c0596(0x311)](_0x1c5882),_0x294c29=_0xb7e3a7[_0x5c0596(0x289)](_0x14b460=>{const _0x26161b=_0x5c0596;_0x14b460['id']===_0x397c2d[_0x26161b(0x29e)]['id']&&_0x1c5882();});return _0x1c5882(),()=>{const _0x5545a5=_0x5c0596;_0x2228f7[_0x5545a5(0x3c3)](),_0x294c29['dispose']();};});}function _0x36af67(_0x273afd){const _0x913f23=_0x44da2a;var _0x1b76c2;let _0x3fea2b=_0x273afd['get'](_0x48b930[_0x913f23(0x3be)])[_0x913f23(0x3f0)]();return _0x3fea2b['length']===0x1&&((_0x1b76c2=_0x3fea2b[0x0])==null?void 0x0:_0x1b76c2[_0x913f23(0x408)])===_0x199bc9[_0x913f23(0x1d9)][_0x913f23(0x418)]?_0x3fea2b[0x0]:null;}function _0x3d407(_0x43a972,_0x6673fa=!0x1){const _0x2d2455=_0x44da2a;let _0x5e71b4=_0x43a972[_0x2d2455(0x41e)](_0x199bc9[_0x2d2455(0x250)]),_0x1d102f=_0x43a972['get'](_0x48b930['IDrawingManagerService']),_0x5abb71=_0x43a972['get'](_0x397c2d['DocsShapeService']);return new _0x259d9f[(_0x2d2455(0x33c))](_0x7cb8be=>{const _0x23dc24=_0x2d2455;let _0x2abcb3=()=>{const _0x47a4d1=_0x3fe5;let _0x14ad97=_0x36af67(_0x43a972);if(!_0x14ad97){_0x7cb8be[_0x47a4d1(0x2a9)](!0x0);return;}let _0x24f47d=_0x5abb71['getShapeDataById'](_0x14ad97[_0x47a4d1(0x1e0)],_0x14ad97[_0x47a4d1(0x3d5)],_0x14ad97['drawingId']);_0x7cb8be['next'](!_0x24f47d||_0x6673fa&&_0x24f47d[_0x47a4d1(0x2c7)]==null);},_0x4f8feb=_0x1d102f[_0x23dc24(0x1de)]['subscribe'](_0x2abcb3),_0x3eab78=_0x5e71b4[_0x23dc24(0x289)](_0x1b93d6=>{const _0x562a17=_0x23dc24;_0x1b93d6['id']===_0x397c2d[_0x562a17(0x29e)]['id']&&_0x2abcb3();});return _0x2abcb3(),()=>{const _0x2fcaf8=_0x23dc24;_0x4f8feb['unsubscribe'](),_0x3eab78[_0x2fcaf8(0x396)]();};});}function _0x2f6714(_0x28f15a){const _0xb6c097=_0x44da2a;let _0xb6e3=_0x28f15a[_0xb6c097(0x41e)](_0x48b930[_0xb6c097(0x3be)]),_0x21b1f6=_0x28f15a[_0xb6c097(0x41e)](_0x397c2d[_0xb6c097(0x197)]);return _0xb6e3[_0xb6c097(0x1de)]['pipe']((0x0,_0x259d9f[_0xb6c097(0x3af)])(_0xb6e3[_0xb6c097(0x3f0)]()),(0x0,_0x259d9f[_0xb6c097(0x353)])(()=>{const _0x1b37c0=_0xb6c097;let _0x295d67=_0x36af67(_0x28f15a),_0xec94af=_0x295d67?_0x21b1f6[_0x1b37c0(0x2b2)](_0x295d67['unitId'],_0x295d67[_0x1b37c0(0x3d5)],_0x295d67[_0x1b37c0(0x3a1)]):void 0x0;return _0xec94af===void 0x0||(0x0,_0x2d5ae1[_0x1b37c0(0x34a)])(_0xec94af);}));}function _0x3c8418(_0x540cd6){const _0x1f9503=_0x44da2a;return{'id':_0x43474b['id'],'type':_0x314b7e[_0x1f9503(0x206)][_0x1f9503(0x1d6)],'icon':_0x1f9503(0x26d),'title':_0x1f9503(0x2f3),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x6abc23,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4976d0(_0x540cd6),'hidden$':_0x3d407(_0x540cd6)};}function _0xe9b5d9(_0x444fb){const _0x533f9f=_0x44da2a;return{'id':_0x33706f['id'],'type':_0x314b7e['MenuItemType'][_0x533f9f(0x1d6)],'icon':'ShapeIcon','title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x533f9f(0x251),'slot':!0x0,'selections':[{'label':{'name':_0x477995['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x2f6714(_0x444fb)};}function _0x12c62(_0x22f2f5,_0x1a6fc7,_0x560a99=!0x1){const _0x3434d2=_0x44da2a;return _0x1d74bf=>({'id':_0x22f2f5,'type':_0x314b7e[_0x3434d2(0x206)]['BUTTON'],'label':{'name':_0x1a6fc7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3d407(_0x1d74bf,_0x560a99)});}let _0x22f929=_0x12c62(_0x490874,_0x5348c1),_0x486567=_0x12c62(_0x3c2bdc,_0x48d6e1),_0x37ce74=_0x12c62(_0x3f6725,_0x8f688e,!0x0);function _0x34c854(_0x3c7a14,_0x4be7da,_0x3e8fed,_0xe84284){const _0x3edc3e=_0x44da2a;return _0x935c46=>({'id':_0x3c7a14,'commandId':_0xe167a4['SetDocDrawingArrangeCommand']['id'],'type':_0x314b7e[_0x3edc3e(0x206)]['BUTTON'],'icon':_0x3e8fed,'title':_0xe84284,'tooltip':_0xe84284,'hidden$':_0x3d407(_0x935c46),'params':()=>{const _0x4a21a9=_0x3edc3e;let _0x65e16a=_0x36af67(_0x935c46);return _0x65e16a?{'unitId':_0x65e16a[_0x4a21a9(0x1e0)],'subUnitId':_0x65e16a[_0x4a21a9(0x3d5)],'drawingIds':[_0x65e16a[_0x4a21a9(0x3a1)]],'arrangeType':_0x4be7da}:void 0x0;}});}let _0x38b802=_0x34c854(_0x34f752,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x387)],'MoveUpIcon',_0x44da2a(0x3ed)),_0x5b7fd1=_0x34c854(_0x2a6ead,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x322)],_0x44da2a(0x225),'shape-editor-ui.arrange.backward'),_0x486d0d=_0x34c854(_0x2fc00a,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x3f9)],_0x44da2a(0x1a5),'shape-editor-ui.arrange.front'),_0x581ff6=_0x34c854(_0x3bbfba,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x38e)],_0x44da2a(0x160),'shape-editor-ui.arrange.back');function _0x5b4087(_0x1a8bb8){const _0x3e34b2=_0x44da2a;return{'id':_0x39ec2b['id'],'type':_0x314b7e['MenuItemType'][_0x3e34b2(0x304)],'icon':_0x3e34b2(0x263),'title':_0x3e34b2(0x276),'tooltip':_0x3e34b2(0x276),'hidden$':_0x3d407(_0x1a8bb8),'params':()=>{const _0x2a538c=_0x3e34b2;let _0x420c61=_0x36af67(_0x1a8bb8);return _0x420c61?{'unitId':_0x420c61['unitId'],'subUnitId':_0x420c61[_0x2a538c(0x3d5)],'drawingId':_0x420c61[_0x2a538c(0x3a1)]}:void 0x0;}};}let _0x4dedef={[_0x314b7e[_0x44da2a(0x376)]['RIBBON']]:{[_0x1a1332]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x43474b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3c8418},[_0x33706f['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9b5d9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x490874]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x22f929}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x3c2bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x486567}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x34f752]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x38b802},[_0x2a6ead]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x5b7fd1},[_0x2fc00a]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x486d0d},[_0x3bbfba]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x581ff6}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x3f6725]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x37ce74}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39ec2b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5b4087},[_0x477995['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x477995['ShapeFloatingToolbarToggleFactory']}}}}},_0x5587fb={[_0x314b7e[_0x44da2a(0x1b3)][_0x44da2a(0x381)]]:{[_0x5e21da['id']]:{'order':0x4,'menuItemFactory':_0x4552f5=>({..._0x33ceb4(_0x4552f5),'title':void 0x0})}},[_0x314b7e[_0x44da2a(0x1b3)]['OTHERS']]:{[_0x3ff923['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2739d2}},[_0x314b7e[_0x44da2a(0x3b0)][_0x44da2a(0x395)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0xadaed7[_0x44da2a(0x31e)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7[_0x44da2a(0x352)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x574355}}},[_0xadaed7[_0x44da2a(0x29f)]]:{'insert':{[_0x5e21da['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x33ceb4}}},[_0xadaed7[_0x44da2a(0x3fc)]]:{'insert':{[_0x5e21da['id']+_0x44da2a(0x315)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x452a35}}}}};var _0x5539cb=_0x44da2a(0x2c4),_0x2041b4=_0x44da2a(0x1b2);let _0x36cd5a={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x253),'handler'(){return!0x0;}},_0x13277c={};function _0x4926e7({ref:_0x54cd4c,..._0x3cd8b4}){const _0x3df86b=_0x44da2a;let {icon:_0x3908c3,id:_0x4a8fb5,className:_0x1ae666,extend:_0x133af1,..._0x1724e9}=_0x3cd8b4,_0x5bc56e=('univerjs-icon\x20univerjs-icon-'+_0x4a8fb5+'\x20'+(_0x1ae666||''))[_0x3df86b(0x3cc)](),_0x8c6a08=(0x0,_0x3c5464[_0x3df86b(0x211)])('_'+_0x5066e7());return _0x310bc2(_0x3908c3,''+_0x4a8fb5,{'defIds':_0x3908c3['defIds'],'idSuffix':_0x8c6a08[_0x3df86b(0x1cd)]},{'ref':_0x54cd4c,'className':_0x5bc56e,..._0x1724e9},_0x133af1);}function _0x310bc2(_0x43191a,_0x34d4a6,_0x4aeea2,_0x52535a,_0x55b62b){const _0x3d5d01=_0x44da2a;return(0x0,_0x3c5464[_0x3d5d01(0x2ea)])(_0x43191a[_0x3d5d01(0x404)],{'key':_0x34d4a6,..._0x441726(_0x43191a,_0x4aeea2,_0x55b62b),..._0x52535a},(_0x3bf59e(_0x43191a,_0x4aeea2)[_0x3d5d01(0x34d)]||[])[_0x3d5d01(0x353)]((_0x18db06,_0x5c8572)=>_0x310bc2(_0x18db06,_0x34d4a6+'-'+_0x43191a[_0x3d5d01(0x404)]+'-'+_0x5c8572,_0x4aeea2,void 0x0,_0x55b62b)));}function _0x441726(_0x379cf7,_0x18937c,_0x22bf5d){const _0x56c1aa=_0x44da2a;let _0x303efd={..._0x379cf7[_0x56c1aa(0x1ba)]};_0x22bf5d!=null&&_0x22bf5d['colorChannel1']&&_0x303efd[_0x56c1aa(0x1c7)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x1c7)]=_0x22bf5d[_0x56c1aa(0x165)]),_0x22bf5d!=null&&_0x22bf5d[_0x56c1aa(0x165)]&&_0x303efd[_0x56c1aa(0x2eb)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x2eb)]=_0x22bf5d['colorChannel1']),_0x379cf7[_0x56c1aa(0x404)]===_0x56c1aa(0x316)&&_0x303efd['id']&&(_0x303efd['id']+=_0x18937c[_0x56c1aa(0x3b4)]),Object[_0x56c1aa(0x2bc)](_0x303efd)[_0x56c1aa(0x3c9)](([_0x1ef7ec,_0x28a7ad])=>{const _0x3e51e1=_0x56c1aa;_0x1ef7ec===_0x3e51e1(0x316)&&typeof _0x28a7ad=='string'&&(_0x303efd[_0x1ef7ec]=_0x28a7ad[_0x3e51e1(0x23f)](/url\(#(.*)\)/,'url(#$1'+_0x18937c['idSuffix']+')'));});let {defIds:_0x54ff94}=_0x18937c;return!_0x54ff94||_0x54ff94[_0x56c1aa(0x268)]===0x0?_0x303efd:(_0x379cf7[_0x56c1aa(0x404)]==='use'&&_0x303efd[_0x56c1aa(0x39b)]&&(_0x303efd['xlink:href']+=_0x18937c['idSuffix']),Object[_0x56c1aa(0x2bc)](_0x303efd)['forEach'](([_0x46168b,_0x57792e])=>{const _0x26fab7=_0x56c1aa;typeof _0x57792e==_0x26fab7(0x31c)&&(_0x303efd[_0x46168b]=_0x57792e['replace'](/url\(#(.*)\)/,_0x26fab7(0x17d)+_0x18937c[_0x26fab7(0x3b4)]+')'));}),_0x303efd);}function _0x3bf59e(_0x845959,_0x1eb23a){const _0x51dde1=_0x44da2a;var _0x9cd8f0;let {defIds:_0x4c3d50}=_0x1eb23a;return!_0x4c3d50||_0x4c3d50[_0x51dde1(0x268)]===0x0?_0x845959:_0x845959['tag']==='defs'&&(_0x9cd8f0=_0x845959[_0x51dde1(0x34d)])!=null&&_0x9cd8f0[_0x51dde1(0x268)]?{..._0x845959,'children':_0x845959[_0x51dde1(0x34d)]['map'](_0x9e056a=>typeof _0x9e056a['attrs']['id']==_0x51dde1(0x31c)&&_0x4c3d50&&_0x4c3d50[_0x51dde1(0x2dd)](_0x9e056a[_0x51dde1(0x1ba)]['id'])?{..._0x9e056a,'attrs':{..._0x9e056a[_0x51dde1(0x1ba)],'id':_0x9e056a[_0x51dde1(0x1ba)]['id']+_0x1eb23a['idSuffix']}}:_0x9e056a)}:_0x845959;}function _0x5066e7(){const _0x21a5d1=_0x44da2a;return Math[_0x21a5d1(0x1e6)]()['toString'](0x24)[_0x21a5d1(0x18a)](0x2,0x8);}_0x4926e7[_0x44da2a(0x357)]=_0x44da2a(0x1ed);let _0x58b59d={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x278),'fillRule':'evenodd','clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x280),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x44da2a(0x305)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x20e)}}]},_0x7068a8=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1ad9e1,_0x14ed56){const _0x28b8b2=_0x44da2a;return(0x0,_0x3c5464[_0x28b8b2(0x2ea)])(_0x4926e7,Object[_0x28b8b2(0x1ef)]({},_0x1ad9e1,{'id':_0x28b8b2(0x189),'ref':_0x14ed56,'icon':_0x58b59d}));});_0x7068a8[_0x44da2a(0x357)]='BottomIcon';let _0x19bdaa={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x1b7),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x27d)}}]},_0x2fdeff=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x4c6e46,_0x391d68){const _0x1416bd=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4c6e46,{'id':_0x1416bd(0x413),'ref':_0x391d68,'icon':_0x19bdaa}));});_0x2fdeff[_0x44da2a(0x357)]=_0x44da2a(0x225);let _0x2e9fba={'tag':'svg','attrs':{'xmlns':_0x44da2a(0x30d),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x44da2a(0x2ef)},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x369),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','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'}}]},_0x3ff74f=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x3ba95d,_0x230b5f){return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x3ba95d,{'id':'move-up-icon','ref':_0x230b5f,'icon':_0x2e9fba}));});_0x3ff74f[_0x44da2a(0x357)]=_0x44da2a(0x409);let _0x3acfea={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':'round','strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x2af),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}}]},_0x53ffa2=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1921cd,_0x1a0d2e){const _0x5ef1eb=_0x44da2a;return(0x0,_0x3c5464[_0x5ef1eb(0x2ea)])(_0x4926e7,Object[_0x5ef1eb(0x1ef)]({},_0x1921cd,{'id':_0x5ef1eb(0x3b2),'ref':_0x1a0d2e,'icon':_0x3acfea}));});_0x53ffa2[_0x44da2a(0x357)]='ObjectLayersIcon';let _0x5c2a62={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x288),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24d),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24c),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'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':_0x44da2a(0x2b8)}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'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'}}]},_0x4e409e=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x53971d,_0x1a2b63){const _0x4cb976=_0x44da2a;return(0x0,_0x3c5464[_0x4cb976(0x2ea)])(_0x4926e7,Object['assign']({},_0x53971d,{'id':_0x4cb976(0x167),'ref':_0x1a2b63,'icon':_0x5c2a62}));});_0x4e409e[_0x44da2a(0x357)]=_0x44da2a(0x263);let _0x3021dc={'tag':_0x44da2a(0x260),'attrs':{'xmlns':_0x44da2a(0x30d),'fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x229),'width':'1em','height':'1em'},'children':[{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x2e4),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}}]},_0x2a5b35=(0x0,_0x3c5464['forwardRef'])(function(_0x4abb29,_0x9c5f2){const _0x38f0d9=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4abb29,{'id':_0x38f0d9(0x3f7),'ref':_0x9c5f2,'icon':_0x3021dc}));});_0x2a5b35[_0x44da2a(0x357)]='TextWrapShapeIcon';let _0x376c32={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x394)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x257),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x334),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}}]},_0x23d310=(0x0,_0x3c5464['forwardRef'])(function(_0x109207,_0x433897){const _0x55cccf=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object[_0x55cccf(0x1ef)]({},_0x109207,{'id':_0x55cccf(0x33d),'ref':_0x433897,'icon':_0x376c32}));});_0x23d310['displayName']=_0x44da2a(0x1a5);function _0xd428e7(_0x26fe47){const _0x57afe8=_0x44da2a;return _0x26fe47[_0x57afe8(0x3cc)]()||void 0x0;}function _0x37d8b3(_0x3830ab,_0xa0b43b,_0x5f3936){const _0x4595ca=_0x44da2a;var _0x3e6b2c,_0x2e49f0;return((_0x3e6b2c=_0x3830ab[_0x4595ca(0x3e3)])==null?void 0x0:_0x3e6b2c[_0x4595ca(0x3cc)]())||((_0x2e49f0=_0x3830ab[_0x4595ca(0x17e)])==null?void 0x0:_0x2e49f0[_0x4595ca(0x3cc)]())||(0x0,_0x1a42e8[_0x4595ca(0x156)])(_0x5f3936,(0x0,_0x477995[_0x4595ca(0x39c)])(_0x3830ab[_0x4595ca(0x408)]))+'\x20'+(_0xa0b43b+0x1);}function _0x1d884a(){const _0x15268f=_0x44da2a;let _0x42e391=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x36b)]),_0x4c62d9=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x250)]),_0x391005=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x4b11f8=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0xe167a4[_0x15268f(0x1bb)]),_0x5a74fa=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x57408c=(0x0,_0x314b7e['useDependency'])(_0x4bd9c2[_0x15268f(0x3f8)]),[,_0x4f4659]=(0x0,_0x3c5464['useReducer'])(_0x48d893=>_0x48d893+0x1,0x0),_0x24fd8f=_0x391005['getCurrentUnitOfType'](_0x199bc9[_0x15268f(0x31a)][_0x15268f(0x171)]),_0x57e812=(_0x24fd8f==null?void 0x0:_0x24fd8f['getUnitId']())??'',_0x4a137f=_0x57e812,_0x2e3465=(0x0,_0x314b7e[_0x15268f(0x374)])(()=>_0x5a74fa[_0x15268f(0x1de)],_0x5a74fa['getFocusDrawings'](),!0x1,[_0x5a74fa]);(0x0,_0x3c5464[_0x15268f(0x2b9)])(()=>{const _0x3e910a=_0x15268f;let _0x2a5f12=_0x4c62d9[_0x3e910a(0x289)](()=>_0x4f4659());return()=>_0x2a5f12['dispose']();},[_0x4c62d9]);let _0x39442b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(0x0,_0x1a42e8[_0x15268f(0x39d)])(_0x42e391),[_0x42e391]),_0x36ecc4=_0x57e812?_0x4b11f8[_0x15268f(0x26c)](_0x57e812,_0x4a137f):{},_0x3df296=(_0x57e812?_0x4b11f8[_0x15268f(0x3ba)](_0x57e812,_0x4a137f):[])[_0x15268f(0x353)](_0xd7b64e=>_0x36ecc4[_0xd7b64e])[_0x15268f(0x191)](_0x4ab76c=>!!_0x4ab76c)[_0x15268f(0x3e7)](),_0x31a1ca=_0x3df296[_0x15268f(0x1d1)]((_0x2255ed,_0x1f9d76)=>(_0x2255ed[(0x0,_0x1a42e8[_0x15268f(0x266)])(_0x1f9d76['drawingType'])]+=0x1,_0x2255ed),{'canvas':0x0,'floating':0x0}),_0x2f3217={'canvas':0x0,'floating':0x0},_0xb2c3dc=_0x3df296[_0x15268f(0x353)]((_0x27c451,_0x5ac173)=>{const _0x1f42ae=_0x15268f;let _0x22abd1=(0x0,_0x1a42e8['getObjectListPanelSectionIdForDrawingType'])(_0x27c451[_0x1f42ae(0x408)]),_0x2d8abb=_0x22abd1===_0x1a42e8[_0x1f42ae(0x234)],_0x432c71=_0x2f3217[_0x22abd1]++;return{'id':_0x27c451['drawingId'],'name':_0x37d8b3(_0x27c451,_0x5ac173,_0x42e391),'description':_0x27c451[_0x1f42ae(0x354)],'visible':_0x27c451[_0x1f42ae(0x25d)]!==!0x0,'selectable':_0x27c451[_0x1f42ae(0x300)]!==!0x1,'sectionId':_0x22abd1,'sectionTitle':_0x2d8abb?_0x39442b['sectionFloating']:_0x39442b[_0x1f42ae(0x1aa)],'capabilities':_0x2d8abb?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x2d8abb&&_0x432c71>0x0,'canMoveBackward':!_0x2d8abb&&_0x432c71<_0x31a1ca['canvas']-0x1,'canReorder':!_0x2d8abb};}),_0x23b00b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(_0x2e3465??[])[_0x15268f(0x191)](_0x35ccd8=>_0x35ccd8[_0x15268f(0x1e0)]===_0x57e812&&_0x35ccd8['subUnitId']===_0x4a137f)['map'](_0xc2d51f=>_0xc2d51f['drawingId']),[_0x2e3465,_0x4a137f,_0x57e812]),_0x3bdfa9=_0x23b00b[_0x23b00b[_0x15268f(0x268)]-0x1]??null,_0x3e1859=_0x59192a=>_0x4b11f8[_0x15268f(0x302)]({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x59192a})??null,_0x3a16e0=async _0x5877e1=>{const _0x19f794=_0x15268f;!_0x57e812||!_0x5877e1[_0x19f794(0x268)]||await _0x4c62d9['executeCommand'](_0x397c2d[_0x19f794(0x299)]['id'],{'unitId':_0x57e812,'patches':_0x5877e1});},_0x4196ad=(_0xe007d2,_0x4d95a8)=>{const _0x73b9ef=_0x15268f;if(!_0x57e812)return;let _0x28a52d=_0x4d95a8?_0x23b00b['includes'](_0xe007d2)?_0x23b00b[_0x73b9ef(0x191)](_0x5a60dc=>_0x5a60dc!==_0xe007d2):[..._0x23b00b,_0xe007d2]:[_0xe007d2];_0x4c62d9['syncExecuteCommand'](_0x48b930[_0x73b9ef(0x1c0)]['id'],_0x28a52d[_0x73b9ef(0x353)](_0x4a85fd=>({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4a85fd})));let _0x4cb0c3=_0x28a52d[_0x28a52d['length']-0x1];_0x4cb0c3?(0x0,_0x477995['activateDrawingObject'])(_0x57408c,{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4cb0c3}):(0x0,_0x477995[_0x73b9ef(0x306)])(_0x57408c,_0x57e812);},_0x31c91d=async(_0xbaf95d,_0x5ebab3)=>{const _0x57b555=_0x15268f;await _0x3a16e0(_0xbaf95d['map'](_0x1f1b37=>_0x3e1859(_0x1f1b37))[_0x57b555(0x191)](_0xe5561c=>!!_0xe5561c)[_0x57b555(0x191)](_0x22a456=>_0x22a456[_0x57b555(0x25d)]!==!0x0!==_0x5ebab3)['map'](_0x1ad350=>({'drawingId':_0x1ad350[_0x57b555(0x3a1)],'hidden':!_0x5ebab3})));},_0x530ee9=async _0x963c2f=>{let _0x2b3f0e=_0x3e1859(_0x963c2f);_0x2b3f0e&&await _0x3a16e0([{'drawingId':_0x963c2f,'selectable':_0x2b3f0e['selectable']===!0x1&&void 0x0}]);},_0x4d55ff=async(_0x1d904f,_0x55dfcc)=>{const _0x4fceab=_0x15268f;let _0x5e2ebb=_0x3e1859(_0x1d904f),_0x2db583=_0xd428e7(_0x55dfcc);!_0x5e2ebb||(_0x5e2ebb[_0x4fceab(0x3e3)]??void 0x0)===_0x2db583&&(_0x5e2ebb[_0x4fceab(0x17e)]||void 0x0)===_0x2db583||await _0x3a16e0([{'drawingId':_0x1d904f,'name':_0x2db583,'title':_0x2db583}]);},_0x39a94d=async(_0x18f0a8,_0x1a9d83)=>{let _0x7aad0d=_0x3e1859(_0x18f0a8),_0x562ef5=_0xd428e7(_0x1a9d83);!_0x7aad0d||(_0x7aad0d['description']??void 0x0)===_0x562ef5||await _0x3a16e0([{'drawingId':_0x18f0a8,'description':_0x562ef5}]);},_0x640aa4=async(_0x33adfd,_0x4fcccf)=>{const _0x395c99=_0x15268f;_0x57e812&&await _0x4c62d9[_0x395c99(0x24b)](_0xe167a4[_0x395c99(0x3c7)]['id'],{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingIds':[_0x33adfd],'arrangeType':_0x4fcccf});};return _0x57e812?(0x0,_0x5c8576['jsx'])(_0x1a42e8[_0x15268f(0x2c9)],{'items':_0xb2c3dc,'selectedIds':_0x23b00b,'focusedId':_0x3bdfa9,'labels':_0x39442b,'onSelect':_0x4196ad,'onSetVisible':_0x31c91d,'onCommitName':_0x4d55ff,'onCommitDescription':_0x39a94d,'onMoveForward':async _0xe538ea=>_0x640aa4(_0xe538ea,_0x199bc9[_0x15268f(0x3b7)][_0x15268f(0x387)]),'onMoveBackward':async _0x35c215=>_0x640aa4(_0x35c215,_0x199bc9['ArrangeTypeEnum']['backward']),'onToggleSelectable':_0x530ee9}):(0x0,_0x5c8576[_0x15268f(0x32d)])(_0x15268f(0x328),{'className':_0x15268f(0x273),'children':_0x39442b[_0x15268f(0x17e)]});}let _0xd26b4b=class{constructor(_0x2171f5){const _0x1bfcbd=_0x44da2a;this[_0x1bfcbd(0x275)]=_0x2171f5;}[_0x44da2a(0x1db)](_0x2c29a5,_0xfd99c6){const _0x17a8a7=_0x44da2a;let _0x1ca671=this[_0x17a8a7(0x275)]['getRenderUnitById'](_0x2c29a5[_0x17a8a7(0x1e0)]),_0x16a126=_0x1ca671==null?void 0x0:_0x1ca671[_0x17a8a7(0x20a)];if(!_0x16a126)return;let _0x3834ca=(0x0,_0x48b930[_0x17a8a7(0x2a0)])(_0x2c29a5),_0x27f1e7=_0x16a126['getObjectIncludeInGroup'](_0x3834ca);_0x27f1e7==null||_0x27f1e7['setFillImage'](_0xfd99c6);}};_0xd26b4b=_0x5e6390([_0x57fca7(0x0,_0x4bd9c2[_0x44da2a(0x3f8)])],_0xd26b4b);function _0x43cfb9(){const _0x39a581=_0x44da2a;let _0x4cd8b3=(0x0,_0x314b7e[_0x39a581(0x3fe)])(_0x48b930[_0x39a581(0x3be)]),_0x28dc1d=(0x0,_0x314b7e[_0x39a581(0x374)])(()=>_0x4cd8b3[_0x39a581(0x1de)],_0x4cd8b3['getFocusDrawings'](),!0x1,[_0x4cd8b3]);return _0x28dc1d[_0x39a581(0x268)]===0x0?null:(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x39a581(0x328),{'children':(0x0,_0x5c8576[_0x39a581(0x15a)])(_0x39a581(0x328),{'className':_0x39a581(0x33a),'children':[(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x1a42e8[_0x39a581(0x348)],{'drawings':_0x28dc1d,'hasCropper':!0x1}),(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x14557e[_0x39a581(0x19a)],{'drawings':_0x28dc1d}),(0x0,_0x5c8576['jsx'])(_0x14557e[_0x39a581(0x1bd)],{'drawings':_0x28dc1d})]})});}function _0x57f2a3(_0x3d3bf5){const _0x2421bf=_0x44da2a;let {unitId:_0x425aad,subUnitId:_0x315de5,shapeId:_0x2d0bc0}=_0x3d3bf5,_0x318f8d=(0x0,_0x314b7e['useDependency'])(_0x199bc9['ICommandService']),_0x57a870=(0x0,_0x314b7e[_0x2421bf(0x3fe)])(_0xd26b4b);return(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x477995[_0x2421bf(0x2a5)],{..._0x3d3bf5,'positionEditor':(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x43cfb9,{}),'onUpdateShapeData':(_0x531431,_0x11b696)=>{_0x5d636b(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x531431,_0x11b696);},'onUpdateLineShapeData':(_0x3d0682,_0x40d3da)=>{_0x12e5ff(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x3d0682,_0x40d3da);},'onUpdateShapeFillImage':_0x327dec=>{_0x57a870['updateShapeFillImage']({'unitId':_0x425aad,'subUnitId':_0x315de5,'drawingId':_0x2d0bc0},_0x327dec);}});}let _0x9b7e0c=_0x44da2a(0x40e);function _0x189cbc(_0xffdd53,_0x2f0e45){const _0x3215fd=_0x44da2a;var _0x50b142;let _0x262584=_0xffdd53==null||(_0x50b142=_0xffdd53[_0x3215fd(0x1a9)]()['drawings'])==null?void 0x0:_0x50b142[_0x2f0e45];return _0x262584?_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x236)]?_0x262584[_0x3215fd(0x18e)]===_0x199bc9[_0x3215fd(0x1f1)]['TRUE']?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x3ae)]:_0xe167a4[_0x3215fd(0x3e8)]['IN_FRONT_OF_TEXT']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x1fd)]?_0xe167a4['TextWrappingStyle']['WRAP_SQUARE']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9[_0x3215fd(0x1ff)][_0x3215fd(0x344)]?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x344)]:_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x309)]:_0xe167a4[_0x3215fd(0x3e8)]['INLINE'];}function _0x225e8d(_0x22250e){const _0x21a7f2=_0x44da2a;let _0x271eab=(0x0,_0x314b7e[_0x21a7f2(0x3fe)])(_0x477995[_0x21a7f2(0x33b)]),_0x261201=(0x0,_0x314b7e['useObservable'])(()=>_0x271eab['visible$'],_0x271eab[_0x21a7f2(0x367)](),!0x1,[_0x271eab]),_0x1d4597=_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x3ef)];return _0x261201?(0x0,_0x5c8576['jsx'])(_0x371934,{..._0x1d4597,'canvasElement':_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x359)]}):null;}function _0x371934(_0x5afbf0){const _0x13f1b1=_0x44da2a;let _0x2246c2=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x250)]),_0x47fe27=(0x0,_0x314b7e['useDependency'])(_0x199bc9[_0x13f1b1(0x36b)]),_0x393b6d=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x397c2d[_0x13f1b1(0x197)]),_0xc653b0=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x3fd)]),{unitId:_0x1bbd56,subUnitId:_0x31d3a4,drawingId:_0xeea4a4,shapeType:_0x313aa8}=_0x5afbf0,[_0x3ff75f,_0x2af2b1]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(_0x5afbf0['shapeData']),_0x8ca991=_0xc653b0[_0x13f1b1(0x199)](_0x1bbd56,_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)])??void 0x0,[_0xaa49d1,_0x3f73d0]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(()=>_0x189cbc(_0x8ca991,_0xeea4a4)),_0x5f4465=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x200)])(_0x3ff75f),[_0x3ff75f]),_0x21196e=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x1a2)])(_0x3ff75f),[_0x3ff75f]);(0x0,_0x3c5464[_0x13f1b1(0x2b9)])(()=>{const _0x166a94=_0x13f1b1;let _0x47b615=_0x2246c2[_0x166a94(0x289)](_0x4d1ea9=>{const _0x5ba88a=_0x166a94;if(_0x4d1ea9['id']!==_0x397c2d[_0x5ba88a(0x29e)]['id'])return;let _0xde50a2=_0x393b6d[_0x5ba88a(0x35b)](_0x1bbd56,_0x31d3a4,_0xeea4a4);_0xde50a2&&_0x2af2b1(_0xde50a2);});return()=>_0x47b615['dispose']();},[_0x2246c2,_0x393b6d,_0xeea4a4,_0x31d3a4,_0x1bbd56]);let _0x5bdc5b=_0x2f0935=>{_0x2af2b1(_0x1b1963=>({..._0x1b1963,..._0x2f0935}));},_0xc1fb54=_0x569933=>{const _0x4af034=_0x13f1b1;let _0x8b581f=(0x0,_0x477995[_0x4af034(0x2f0)])(_0x3ff75f,_0x569933);_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'shapeText':_0x3ff75f[_0x4af034(0x185)]}},_0x8b581f),_0x5bdc5b(_0x8b581f);},_0x3a9358=_0x1de8a2=>{const _0x5f06d9=_0x13f1b1;_0x3f73d0(_0x1de8a2),_0x2246c2[_0x5f06d9(0x24b)](_0xe167a4['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}],'wrappingStyle':_0x1de8a2});},_0xd44c5=(0x0,_0x477995[_0x13f1b1(0x1c1)])({'hostType':_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)],'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'shapeId':_0xeea4a4,'shapeData':_0x3ff75f,'onUpdateBinding':_0xd3adfe=>{let _0x5788b4={'formulaBinding':_0xd3adfe};_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'formulaBinding':_0x3ff75f['formulaBinding']}},_0x5788b4),_0x5bdc5b(_0x5788b4);}}),_0x1c2917=[{'label':_0x47fe27['t'](_0x13f1b1(0x2d6)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x309)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x281)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x1fd)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x282)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x344)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x19e)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x3ae)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x3aa)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x246)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})}];return(0x0,_0x5c8576[_0x13f1b1(0x15a)])(_0x5c8576[_0x13f1b1(0x2ee)],{'children':[(0x0,_0x5c8576['jsx'])(_0x477995[_0x13f1b1(0x331)],{'canvasElement':_0x5afbf0['canvasElement'],'shapeData':_0x3ff75f,'shapeType':_0x313aa8,'textStyle':{'ff':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)][_0x13f1b1(0x382)],'fs':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)]['fontSize'],'cl':{'rgb':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x185)][_0x13f1b1(0x1b1)]},..._0x5f4465},'textModel':_0x21196e?{'ha':_0x21196e['ha']??_0x199bc9[_0x13f1b1(0x1cc)][_0x13f1b1(0x2ce)],'va':_0x21196e['va']??_0x199bc9['VerticalAlign'][_0x13f1b1(0x35d)]}:null,'wrappingStyle':_0xaa49d1,'wrappingStyleOptions':_0x1c2917,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x1c7)],'defaultGradientEndColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x412)],'defaultStrokeColor':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x2eb)],'extensionGroups':_0xd44c5[_0x13f1b1(0x2a7)],'onUpdateShapeData':(_0x2a680b,_0x71c306)=>{_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,_0x2a680b,_0x71c306),_0x71c306&&_0x5bdc5b(_0x71c306);},'onUpdateText':_0xc1fb54,'onUpdateWrappingStyle':_0x587a2f=>_0x3a9358(_0x587a2f),'onOpenPanel':()=>{_0x2246c2['executeCommand'](_0x39ec2b['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4});},'onDelete':()=>{const _0x416b11=_0x13f1b1;_0x2246c2['executeCommand'](_0xe167a4[_0x416b11(0x286)]['id'],{'unitId':_0x1bbd56,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}]});}}),_0xd44c5[_0x13f1b1(0x1a1)]]});}function _0x33f5f7(_0x30074d){'@babel/helpers - typeof';const _0x405439=_0x44da2a;return _0x33f5f7=typeof Symbol==_0x405439(0x1f4)&&typeof Symbol[_0x405439(0x347)]=='symbol'?function(_0x39467f){return typeof _0x39467f;}:function(_0x26fea0){const _0xa21b=_0x405439;return _0x26fea0&&typeof Symbol=='function'&&_0x26fea0[_0xa21b(0x313)]===Symbol&&_0x26fea0!==Symbol[_0xa21b(0x217)]?_0xa21b(0x219):typeof _0x26fea0;},_0x33f5f7(_0x30074d);}function _0x215a06(_0x308163,_0x377ed1){const _0x10017d=_0x44da2a;if(_0x33f5f7(_0x308163)!=_0x10017d(0x314)||!_0x308163)return _0x308163;var _0x2c8be5=_0x308163[Symbol['toPrimitive']];if(_0x2c8be5!==void 0x0){var _0x118afa=_0x2c8be5[_0x10017d(0x41b)](_0x308163,_0x377ed1||_0x10017d(0x3c5));if(_0x33f5f7(_0x118afa)!='object')return _0x118afa;throw TypeError(_0x10017d(0x1a3));}return(_0x377ed1===_0x10017d(0x31c)?String:Number)(_0x308163);}function _0x416d0a(_0x347170){const _0x5e01a0=_0x44da2a;var _0x20df50=_0x215a06(_0x347170,_0x5e01a0(0x31c));return _0x33f5f7(_0x20df50)=='symbol'?_0x20df50:_0x20df50+'';}function _0x23a33c(_0x1a22ea,_0x2ab6ba,_0x50c005){const _0x19c1f0=_0x44da2a;return(_0x2ab6ba=_0x416d0a(_0x2ab6ba))in _0x1a22ea?Object[_0x19c1f0(0x264)](_0x1a22ea,_0x2ab6ba,{'value':_0x50c005,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a22ea[_0x2ab6ba]=_0x50c005,_0x1a22ea;}var _0x3ec044=class extends _0x199bc9['Disposable']{constructor(..._0x4d2192){const _0x4b7628=_0x44da2a;super(..._0x4d2192),_0x23a33c(this,_0x4b7628(0x2fa),new _0x259d9f[(_0x4b7628(0x3d6))](null)),_0x23a33c(this,_0x4b7628(0x25a),this[_0x4b7628(0x2fa)][_0x4b7628(0x21d)]()),_0x23a33c(this,_0x4b7628(0x36a),new _0x259d9f[(_0x4b7628(0x3d6))](!0x1)),_0x23a33c(this,_0x4b7628(0x213),this[_0x4b7628(0x36a)][_0x4b7628(0x21d)]());}[_0x44da2a(0x396)](){const _0x229f20=_0x44da2a;this[_0x229f20(0x2fa)][_0x229f20(0x2a9)](null),this[_0x229f20(0x2fa)]['complete'](),this[_0x229f20(0x36a)][_0x229f20(0x2a9)](!0x1),this[_0x229f20(0x36a)][_0x229f20(0x3bc)](),super['dispose']();}[_0x44da2a(0x1e5)](_0x9b297){const _0x1b824b=_0x44da2a;this[_0x1b824b(0x2fa)][_0x1b824b(0x2a9)](_0x9b297),_0x9b297??this[_0x1b824b(0x36a)][_0x1b824b(0x2a9)](!0x1);}['setOnSavingEditorData'](_0x50fd9a){const _0xa51395=_0x44da2a;this[_0xa51395(0x36a)][_0xa51395(0x2a9)](_0x50fd9a);}[_0x44da2a(0x3ea)](){const _0x10c7f1=_0x44da2a;return this[_0x10c7f1(0x2fa)]['getValue']();}[_0x44da2a(0x362)](_0x238d36){const _0x386ee9=_0x44da2a;this[_0x386ee9(0x3ea)]()&&(this['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x195b65=_0x386ee9;this[_0x195b65(0x1e5)](null);}));}['cancelEditing'](){const _0x1dc9f6=_0x44da2a;this[_0x1dc9f6(0x3ea)]()&&this[_0x1dc9f6(0x1e5)](null);}};let _0x22c6a9=(0x0,_0x3c5464['memo'])(()=>{const _0xebc9c3=_0x44da2a;let _0x2c9b2e=(0x0,_0x314b7e['useDependency'])(_0x3ec044),_0xfadcca=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x397c2d[_0xebc9c3(0x197)]),_0x543e1c=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x48b930[_0xebc9c3(0x3be)]),_0x206c75=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x199bc9['ICommandService']);return(0x0,_0x5c8576['jsx'])(_0x477995['ShapeTextEditorContainer'],{'adapter':(0x0,_0x3c5464['useMemo'])(()=>({'getShapeModel':(_0x890130,_0xd2a680,_0x2ccbc1)=>_0xfadcca[_0xebc9c3(0x325)](_0x890130,_0xd2a680,_0x2ccbc1),'getShapeData':(_0x414499,_0x44831c,_0x4036ef)=>_0xfadcca[_0xebc9c3(0x35b)](_0x414499,_0x44831c,_0x4036ef),'getDrawingTransform':(_0x5f1f25,_0x5ba8b9,_0x429b0d)=>{const _0x2c9b69=_0xebc9c3;let _0x54c9ad=_0x543e1c['getDrawingByParam']({'unitId':_0x5f1f25,'subUnitId':_0x5ba8b9,'drawingId':_0x429b0d});return _0x54c9ad==null?void 0x0:_0x54c9ad[_0x2c9b69(0x37c)];},'updateShapeText':({unitId:_0x58fd1d,shapeId:_0x410f7e,shapeText:_0x47e8bd,oldShapeText:_0x13b488})=>{const _0x20f6af=_0xebc9c3;_0x206c75['executeCommand'](_0x397c2d[_0x20f6af(0x3d3)]['id'],{'unitId':_0x58fd1d,'shapeId':_0x410f7e,'shapeData':{'shapeText':_0x47e8bd},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x13b488}}});},'updateHostSize':({unitId:_0x38da38,subUnitId:_0x4fdbfb,shapeId:_0x1dbcd7,width:_0x58c0e0,height:_0x11d989})=>{const _0x389163=_0xebc9c3;_0x206c75[_0x389163(0x24b)](_0xe167a4[_0x389163(0x1b4)]['id'],{'unitId':_0x38da38,'subUnitId':_0x4fdbfb,'drawings':[{'drawingId':_0x1dbcd7,'key':_0x389163(0x402),'value':{'width':_0x58c0e0,'height':_0x11d989}}]});},'allowHostSizeShrink':({unitId:_0x3858e0,subUnitId:_0x5e9a85,shapeId:_0x554a8d})=>(0x0,_0x477995['shouldAllowShapeTextEditorHostSizeShrink'])(_0xfadcca['getShapeDataById'](_0x3858e0,_0x5e9a85,_0x554a8d))}),[_0x206c75,_0xfadcca,_0x543e1c]),'editingService':_0x2c9b2e,'editorUnitId':_0xa6f102,'positionOptions':(0x0,_0x3c5464[_0xebc9c3(0x20c)])(()=>({'viewportKeys':{'main':_0xadaed7['VIEWPORT_KEY'][_0xebc9c3(0x188)]}}),[])});}),_0x3e2894=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x4ae13e,_0x1c7c21){const _0x16128b=_0x44da2a;super(),this[_0x16128b(0x2c3)]=_0x4ae13e,this[_0x16128b(0x2ba)]=_0x1c7c21,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0x2245f6=_0x44da2a;this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x287))||this[_0x2245f6(0x19c)](this['_iconManager'][_0x2245f6(0x230)]({'ObjectLayersIcon':_0x53ffa2})),this['_iconManager'][_0x2245f6(0x22c)](_0x2245f6(0x160))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'BottomIcon':_0x7068a8})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x225))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveDownIcon':_0x2fdeff})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x409))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveUpIcon':_0x3ff74f})),this[_0x2245f6(0x2ba)][_0x2245f6(0x22c)](_0x2245f6(0x263))||this['disposeWithMe'](this['_iconManager'][_0x2245f6(0x230)]({'ShapeFormatSettingIcon':_0x4e409e})),this['_iconManager']['has'](_0x2245f6(0x1a5))||this['disposeWithMe'](this[_0x2245f6(0x2ba)]['register']({'TopmostIcon':_0x23d310}));}[_0x44da2a(0x366)](){const _0x25dc36=_0x44da2a;this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x592432,_0x57f2a3)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x1eb480,_0x1d884a)),this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x9b7e0c,_0x225e8d)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x5348c1,_0x358711)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x6abc23,_0x1a179f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x48d6e1,_0x59fb0b)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x8f688e,_0x56bc1f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x4c7158,_0x477995[_0x25dc36(0x29c)])),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x3c9c56,_0x2fa4cd)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x30ffe0,_0x178a63)),this['_componentManager'][_0x25dc36(0x41e)](_0x1a42e8[_0x25dc36(0x1f8)])||this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x1a42e8[_0x25dc36(0x1f8)],_0x19d137)),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x25dc36(0x397),_0x22c6a9));}};_0x3e2894=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x247)])),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x314b7e[_0x44da2a(0x3a7)]))],_0x3e2894);var _0x5d0a63=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x26d979,_0x508e57){const _0x33f4d8=_0x44da2a;super(_0x26d979,_0x508e57),_0x23a33c(this,_0x33f4d8(0x36d),null),_0x23a33c(this,_0x33f4d8(0x3d9),null),_0x23a33c(this,'_unitId',null),_0x23a33c(this,_0x33f4d8(0x1c3),null),_0x508e57&&this[_0x33f4d8(0x1ec)](_0x508e57);}[_0x44da2a(0x3f4)](){const _0x35be23=_0x44da2a;return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x35be23(0x36d)]};}['setShapeProps'](_0x50e9ba){const _0xfa018b=_0x44da2a;_0x50e9ba[_0xfa018b(0x195)]!==void 0x0&&(this[_0xfa018b(0x36d)]=_0x50e9ba[_0xfa018b(0x195)]),_0x50e9ba[_0xfa018b(0x3ff)]!==void 0x0&&(this[_0xfa018b(0x3d9)]=_0x50e9ba['adjName']),_0x50e9ba['unitId']!==void 0x0&&(this['_unitId']=_0x50e9ba[_0xfa018b(0x1e0)]),_0x50e9ba['subUnitId']!==void 0x0&&(this[_0xfa018b(0x1c3)]=_0x50e9ba[_0xfa018b(0x3d5)]),this['transformByState']({'width':_0x50e9ba[_0xfa018b(0x25c)],'height':_0x50e9ba['height']});}[_0x44da2a(0x2bf)](_0x4839aa){const _0x7b30e9=_0x44da2a;_0x4bd9c2[_0x7b30e9(0x2c1)]['drawWith'](_0x4839aa,{'radius':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleSize'],'fill':_0x2d5ae1[_0x7b30e9(0x3d2)][_0x7b30e9(0x2ed)],'stroke':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0xd7ca36(_0x50862a,_0x3de124,_0x53480d){const _0x4d0a29=_0x44da2a;let _0x1d9318=(0x0,_0x477995[_0x4d0a29(0x1af)])(_0x50862a,{..._0x3de124,'dataModel':{..._0x3de124['dataModel']??{},..._0x53480d?{'doc':_0x53480d}:null}}),_0x15d08a=(0x0,_0x477995[_0x4d0a29(0x31f)])(_0x1d9318);return{'clip':(0x0,_0x477995[_0x4d0a29(0x15e)])(_0x1d9318,_0x15d08a),'wrapStrategy':_0x15d08a};}var _0x174cb7=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x3efb17,_0x201039){const _0x1a8d3a=_0x44da2a;super(_0x3efb17,_0x201039),_0x23a33c(this,_0x1a8d3a(0x1f2),void 0x0),_0x23a33c(this,_0x1a8d3a(0x1f7),new _0x477995[(_0x1a8d3a(0x221))](()=>this[_0x1a8d3a(0x155)](!0x0),()=>this[_0x1a8d3a(0x358)]())),_0x23a33c(this,_0x1a8d3a(0x32f),!0x0),_0x23a33c(this,'_drawingType',_0x199bc9[_0x1a8d3a(0x1d9)][_0x1a8d3a(0x418)]),_0x23a33c(this,_0x1a8d3a(0x2c6),!0x0),this[_0x1a8d3a(0x1f2)]={..._0x201039},this[_0x1a8d3a(0x1f7)]['setPresentation'](_0x201039['formulaPresentation'],_0x201039[_0x1a8d3a(0x1ae)]!==!0x1),this[_0x1a8d3a(0x371)](),this[_0x1a8d3a(0x358)]();}[_0x44da2a(0x371)](){const _0x4c60a9=_0x44da2a;this[_0x4c60a9(0x1ee)][_0x4c60a9(0x400)](_0x517964=>{const _0x4d0bbf=_0x4c60a9;this[_0x4d0bbf(0x209)](_0x517964);});}[_0x44da2a(0x3bf)](_0x58d50f){const _0x1ccac8=_0x44da2a;this[_0x1ccac8(0x1f2)][_0x1ccac8(0x37d)]=_0x58d50f;}[_0x44da2a(0x1e5)](_0x484d30){const _0x31964c=_0x44da2a;this[_0x31964c(0x1f2)][_0x31964c(0x24a)]=_0x484d30,this['makeDirty'](!0x0);}['setFormulaPresentation'](_0x53416a,_0x1c0ad5=!0x0){const _0x1d0f04=_0x44da2a;this[_0x1d0f04(0x1f7)][_0x1d0f04(0x245)](_0x53416a,_0x1c0ad5),this[_0x1d0f04(0x1f2)]['formulaPresentation']=_0x53416a,this['_applyFormulaAutoFitSize'](),this[_0x1d0f04(0x155)](!0x0);}['_applyFormulaAutoFitSize'](){const _0x56c5f9=_0x44da2a;let _0x192bbd=this['_props']['shapeModel'],_0x2a2338=_0x192bbd['getShapeTextData'](),_0x3d29eb=(0x0,_0x477995[_0x56c5f9(0x18d)])(_0x2a2338==null?void 0x0:_0x2a2338[_0x56c5f9(0x284)]),_0x414c49=_0x3d29eb==null?void 0x0:_0x3d29eb[_0x56c5f9(0x37b)],_0x793d0a=this['_formulaAnimation']['getAutoFitPresentations']();if(!_0x414c49||_0x793d0a['length']===0x0)return;_0x192bbd[_0x56c5f9(0x21c)]({'width':this[_0x56c5f9(0x25c)],'height':this[_0x56c5f9(0x2a2)]});let _0x3fd79a=(0x0,_0x477995[_0x56c5f9(0x27a)])({'documentData':_0x793d0a[_0x56c5f9(0x353)](_0x55be07=>(0x0,_0x377eec['createShapeFormulaDocument'])(_0x414c49,_0x55be07)),'height':this[_0x56c5f9(0x2a2)],'shapeData':_0x192bbd[_0x56c5f9(0x30e)](),'textRect':_0x192bbd[_0x56c5f9(0x272)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x56c5f9(0x2a2)]}),'width':this['width']});if(_0x3fd79a){var _0x5d7221;this[_0x56c5f9(0x349)](_0x3fd79a['width'],_0x3fd79a[_0x56c5f9(0x2a2)]),(_0x5d7221=this[_0x56c5f9(0x384)]())==null||(_0x5d7221=_0x5d7221[_0x56c5f9(0x24e)]())==null||_0x5d7221[_0x56c5f9(0x1b6)]();}}get[_0x44da2a(0x1e0)](){const _0x4e36e8=_0x44da2a;return this['_props'][_0x4e36e8(0x1e0)];}get[_0x44da2a(0x3d5)](){const _0x32f50b=_0x44da2a;return this[_0x32f50b(0x1f2)]['subUnitId'];}[_0x44da2a(0x209)](_0x1de1c2){const _0x317bb1=_0x44da2a;if(this['_props']['srcRect']==null||!this[_0x317bb1(0x32f)])return;let {width:_0x412d83,height:_0x7cbe2f}=this,{width:_0x3ee888=0x0,height:_0x7b91c8=0x0}=_0x1de1c2[_0x317bb1(0x256)],{left:_0x2ac294=0x0,top:_0x56931f=0x0,right:_0x37211b=0x0,bottom:_0x492333=0x0}=this[_0x317bb1(0x1f2)][_0x317bb1(0x390)],_0x31bfb8=_0x2ac294,_0x49af2e=_0x56931f,_0x306d9d=_0x37211b,_0x1fb871=_0x492333,_0x238af3=!0x1;if(_0x3ee888!==0x0&&_0x3ee888!==_0x412d83){let _0x58db28=_0x2ac294/_0x3ee888,_0x3f95bf=_0x37211b/_0x3ee888;_0x31bfb8=_0x412d83*_0x58db28,_0x306d9d=_0x412d83*_0x3f95bf,_0x238af3=!0x0;}if(_0x7b91c8!==0x0&&_0x7b91c8!==_0x7cbe2f){let _0x40759a=_0x56931f/_0x7b91c8,_0x8aae62=_0x492333/_0x7b91c8;_0x49af2e=_0x7cbe2f*_0x40759a,_0x1fb871=_0x7cbe2f*_0x8aae62,_0x238af3=!0x0;}_0x238af3&&this[_0x317bb1(0x1d7)]({'left':_0x31bfb8,'top':_0x49af2e,'right':_0x306d9d,'bottom':_0x1fb871});}[_0x44da2a(0x1d7)](_0x201cf5){const _0x292785=_0x44da2a;this[_0x292785(0x1f2)][_0x292785(0x390)]=_0x201cf5,this[_0x292785(0x155)](!0x0);}[_0x44da2a(0x24f)](_0x2b7eb9){const _0x20f3fc=_0x44da2a;this[_0x20f3fc(0x1f2)][_0x20f3fc(0x343)]=_0x2b7eb9,this[_0x20f3fc(0x155)](!0x0);}set[_0x44da2a(0x37c)](_0x18e0d1){const _0x1a92ae=_0x44da2a;this[_0x1a92ae(0x1dc)]=_0x18e0d1;}get['transform'](){const _0x339874=_0x44da2a;this['_transform']||this[_0x339874(0x3c8)]();let _0x2eb362=this[_0x339874(0x1dc)][_0x339874(0x3cf)]();return this[_0x339874(0x2bd)](_0x2eb362);}get[_0x44da2a(0x355)](){const _0x43bff2=_0x44da2a;return this[_0x43bff2(0x1f2)][_0x43bff2(0x355)];}get[_0x44da2a(0x195)](){const _0x1e9c1b=_0x44da2a;return this['_props'][_0x1e9c1b(0x195)];}get[_0x44da2a(0x3db)](){return _0x4bd9c2['RENDER_CLASS_TYPE']['SHAPE'];}[_0x44da2a(0x2bf)](_0x4ffeef,_0x90b1f,_0x40243d,_0x3ca482){const _0x27f33e=_0x44da2a;let _0x51f07b=this[_0x27f33e(0x1f2)]['shapeModel'];if(!_0x51f07b||!_0x90b1f)return;let _0x12fce7=_0x40243d??this[_0x27f33e(0x25c)],_0x1bfd88=_0x3ca482??this['height'],_0x262a58={'shapeType':_0x51f07b['getShapeType'](),'width':_0x12fce7,'height':_0x1bfd88},_0x1d569f={'renderMode':_0x2d5ae1[_0x27f33e(0x26f)]['Path'],'oKey':this[_0x27f33e(0x377)],'image':this[_0x27f33e(0x1f2)][_0x27f33e(0x343)],'angle':this[_0x27f33e(0x3e0)]};_0x51f07b[_0x27f33e(0x21c)](_0x262a58),_0x4ffeef[_0x27f33e(0x2d0)]();let _0x193ed8={'top':0x0,'left':0x0,'width':_0x12fce7,'height':_0x1bfd88},_0x5b030e=_0x51f07b[_0x27f33e(0x3b6)](_0x193ed8);_0x5b030e?this[_0x27f33e(0x2d8)](_0x4ffeef,_0x5b030e,_0x16d9b9=>{const _0x428c89=_0x27f33e;_0x51f07b[_0x428c89(0x30f)](_0x16d9b9,_0x193ed8,_0x1d569f);}):(this['_releaseRenderCache'](),_0x51f07b['render'](_0x4ffeef,_0x193ed8,_0x1d569f)),_0x4ffeef['restore']();let _0x3a02e1=_0x51f07b[_0x27f33e(0x342)](),_0x217442=_0x51f07b[_0x27f33e(0x272)](_0x193ed8),_0x1b7db8=_0x51f07b[_0x27f33e(0x3c1)]();if(_0x3a02e1&&_0x217442&&!_0x1b7db8){_0x4ffeef[_0x27f33e(0x2d0)](),this[_0x27f33e(0x1bf)]()[_0x27f33e(0x2d5)]&&_0x4ffeef['scale'](-0x1,0x1);let _0x43b82d=_0x12fce7/0x2,_0x42b11a=_0x1bfd88/0x2;_0x4ffeef['translate'](-_0x43b82d,-_0x42b11a),_0x4ffeef['beginPath'](),this['_drawShapeText'](_0x4ffeef,_0x3a02e1,_0x217442),_0x4ffeef['restore']();}}[_0x44da2a(0x2e3)](_0x2cec6f){}[_0x44da2a(0x1d8)](_0x3f4313,_0x3c9662,_0x838943){const _0x5c1f27=_0x44da2a;var _0x1daea4;this[_0x5c1f27(0x1f2)]['isEditing']||(!((_0x1daea4=_0x3c9662[_0x5c1f27(0x284)])!=null&&_0x1daea4['doc'])&&_0x5c1f27(0x164)in _0x3c9662&&_0x3c9662['isRichText']===!0x1?this[_0x5c1f27(0x393)](_0x3f4313,_0x3c9662,_0x838943):this[_0x5c1f27(0x1e2)](_0x3f4313,_0x3c9662,_0x838943));}['_drawSimpleText'](_0x57df2f,_0xcf65c2,_0x4594a5){const _0x34bb6c=_0x44da2a;this[_0x34bb6c(0x1e2)](_0x57df2f,{..._0xcf65c2,'text':_0xcf65c2[_0x34bb6c(0x3e6)]??'','dataModel':{'doc':(0x0,_0x477995[_0x34bb6c(0x346)])(_0xcf65c2,_0x34bb6c(0x224)+this[_0x34bb6c(0x377)])}},_0x4594a5);}[_0x44da2a(0x1e2)](_0x5ec8f0,_0x25049e,_0x270b42){const _0x237ed3=_0x44da2a;(0x0,_0x477995[_0x237ed3(0x3ca)])(_0x5ec8f0,this['_formulaAnimation'],(_0x413ff2,_0x200085)=>{this['_drawRichTextLayer'](_0x413ff2,_0x25049e,_0x270b42,_0x200085);});}[_0x44da2a(0x175)](_0x23ad60,_0x18f2da,_0x125ed4,_0x293720){const _0x18779e=_0x44da2a;let _0xa6c39=this[_0x18779e(0x1f2)][_0x18779e(0x3ec)];if(!_0x18f2da['dataModel']||!_0xa6c39){_0xa6c39||console['warn'](_0x18779e(0x3fa));return;}let _0x4c9581=(0x0,_0x477995[_0x18779e(0x18d)])(_0x18f2da[_0x18779e(0x284)]);if(!_0x4c9581)return;let _0x3112d3=_0x4c9581[_0x18779e(0x37b)];if(!_0x3112d3)return;let _0x487660=(0x0,_0x377eec[_0x18779e(0x405)])(_0x3112d3,_0x293720),_0x544cca=_0x4c9581['va']??_0x199bc9['VerticalAlign'][_0x18779e(0x35d)],_0x1573a6=_0x4c9581['ha']??_0x199bc9[_0x18779e(0x1cc)][_0x18779e(0x2ce)],_0x1dcfdb=_0xd7ca36(this[_0x18779e(0x1f2)][_0x18779e(0x355)][_0x18779e(0x30e)](),_0x18f2da,_0x487660),_0x138574=_0x18f2da[_0x18779e(0x297)],_0xdd2ffc=new _0x199bc9['DocumentDataModel']((0x0,_0x477995['prepareShapeTextDocumentData'])(_0x487660,{'isHorizontal':_0x138574!==!0x1,'textRect':_0x125ed4,'verticalAlign':_0x544cca,'horizontalAlign':_0x1573a6,'wrapStrategy':_0x1dcfdb[_0x18779e(0x29d)]})),_0x95ace1=new _0x4bd9c2[(_0x18779e(0x235))](_0xdd2ffc),_0x34e46a=_0x4bd9c2[_0x18779e(0x2d2)][_0x18779e(0x378)](_0x95ace1,_0xa6c39);_0x34e46a[_0x18779e(0x202)]();let _0x134a87=_0x34e46a[_0x18779e(0x241)]()[_0x18779e(0x17a)],_0x13a1e7=(0x0,_0x477995[_0x18779e(0x19f)])({'contentHeight':_0x134a87,'verticalAlign':_0x544cca,'viewportHeight':_0x125ed4[_0x18779e(0x2a2)]});_0xdd2ffc[_0x18779e(0x3df)]({'pageSize':{'width':_0x138574===!0x1?_0x125ed4[_0x18779e(0x2a2)]:_0x125ed4['width'],'height':_0x13a1e7[_0x18779e(0x38c)]}}),_0xdd2ffc[_0x18779e(0x21f)]({'t':_0x13a1e7['marginTop']}),_0x34e46a[_0x18779e(0x202)]();let _0x39f81e=new _0x4bd9c2['Documents'](_0x18779e(0x28f)+this['oKey'],_0x34e46a,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x18779e(0x155)](!0x0)});_0x39f81e[_0x18779e(0x349)](_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x38c)]),_0x23ad60[_0x18779e(0x2d0)](),_0x23ad60[_0x18779e(0x351)](_0x125ed4[_0x18779e(0x40d)],_0x125ed4[_0x18779e(0x22e)]),_0x1dcfdb[_0x18779e(0x27b)]&&(_0x23ad60[_0x18779e(0x2fd)](),_0x23ad60[_0x18779e(0x2a8)](0x0,_0x13a1e7['clipTop'],_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x386)]),_0x23ad60[_0x18779e(0x27b)]()),_0x13a1e7[_0x18779e(0x1be)]&&_0x23ad60[_0x18779e(0x351)](0x0,_0x13a1e7[_0x18779e(0x1be)]),_0x39f81e['draw'](_0x23ad60),_0x23ad60['restore'](),_0x39f81e[_0x18779e(0x396)](),_0x34e46a[_0x18779e(0x396)](),_0x95ace1['dispose'](),_0xdd2ffc['dispose']();}[_0x44da2a(0x30f)](_0x5c1171,_0x3431b9,_0x956336=!0x1){const _0x3835f0=_0x44da2a;if(!this[_0x3835f0(0x243)])return this[_0x3835f0(0x155)](!0x1),this;let {width:_0x4e381e,height:_0x142c44,left:_0x71c7ed,top:_0x39add2}=this,_0x4797f8=this[_0x3835f0(0x3b8)]();if(_0x4e381e=_0x4797f8['width'],_0x142c44=_0x4797f8['height'],_0x71c7ed=_0x4797f8[_0x3835f0(0x40d)],_0x39add2=_0x4797f8[_0x3835f0(0x22e)],this[_0x3835f0(0x152)](_0x3431b9)){let {top:_0x291f9a,left:_0x10d272,bottom:_0x44609d,right:_0x146bcc}=_0x3431b9[_0x3835f0(0x2e6)];if(_0x4e381e+this[_0x3835f0(0x1b9)]+_0x71c7ed<_0x10d272||_0x146bcc<_0x71c7ed||_0x142c44+this['strokeWidth']+_0x39add2<_0x291f9a||_0x44609d<_0x39add2)return this;}let _0x4ad160=_0x71c7ed+_0x4e381e/0x2,_0x345e5e=_0x39add2+_0x142c44/0x2,_0x40b6a0=this[_0x3835f0(0x37c)][_0x3835f0(0x21a)]();if(this[_0x3835f0(0x1f2)][_0x3835f0(0x24a)]){let _0x18f1e5=this[_0x3835f0(0x1bf)](),_0x514e89=new _0x4bd9c2[(_0x3835f0(0x3fb))]();_0x514e89['composeMatrix']({..._0x18f1e5}),_0x40b6a0=_0x514e89[_0x3835f0(0x21a)]();}return _0x5c1171[_0x3835f0(0x2d0)](),this[_0x3835f0(0x1f2)]['shapeModel']['isRenderLinePointsMode']===!0x0||_0x5c1171[_0x3835f0(0x37c)](_0x40b6a0[0x0],_0x40b6a0[0x1],_0x40b6a0[0x2],_0x40b6a0[0x3],_0x4ad160,_0x345e5e),this['_draw'](_0x5c1171,_0x3431b9,_0x4e381e,_0x142c44),_0x5c1171['restore'](),this[_0x3835f0(0x155)](!0x1),this;}['getInverseCoord'](_0x271e2b){const _0x3d67b3=_0x44da2a;let {left:_0x3e77b4,top:_0x227984,width:_0x26fcdb,height:_0x39368d}=this[_0x3d67b3(0x3b8)](),_0x339c13=this[_0x3d67b3(0x37c)]['getMatrix'](),_0x4b337d=_0x3e77b4+_0x26fcdb/0x2,_0x21e693=_0x227984+_0x39368d/0x2,_0x4d4f62=new _0x4bd9c2[(_0x3d67b3(0x3fb))]([_0x339c13[0x0],_0x339c13[0x1],_0x339c13[0x2],_0x339c13[0x3],_0x4b337d,_0x21e693]),_0x59ce5a=this[_0x3d67b3(0x399)]();return(this[_0x3d67b3(0x3a0)]&&(_0x59ce5a==null?void 0x0:_0x59ce5a[_0x3d67b3(0x3db)])===_0x4bd9c2[_0x3d67b3(0x3da)][_0x3d67b3(0x29b)]?_0x59ce5a[_0x3d67b3(0x406)][_0x3d67b3(0x339)](_0x4d4f62):_0x4d4f62)[_0x3d67b3(0x181)]()[_0x3d67b3(0x26b)](_0x271e2b);}[_0x44da2a(0x2ab)](_0x39e081){const _0x229119=_0x44da2a;let {left:_0x19d886,top:_0x554956,width:_0x25844f,height:_0x3d2cc9}=this['getRealBound'](),_0x501f0a=_0x19d886+_0x25844f/0x2,_0xd24f8f=_0x554956+_0x3d2cc9/0x2,_0xacba7d=this['transform'][_0x229119(0x21a)](),_0x29f033=new _0x4bd9c2[(_0x229119(0x3fb))]([_0xacba7d[0x0],_0xacba7d[0x1],_0xacba7d[0x2],_0xacba7d[0x3],_0x501f0a,_0xd24f8f]),_0x2a0ad9=this[_0x229119(0x399)](),_0x55c1cb=(this['isInGroup']&&(_0x2a0ad9==null?void 0x0:_0x2a0ad9[_0x229119(0x3db)])===_0x4bd9c2[_0x229119(0x3da)][_0x229119(0x29b)]?_0x2a0ad9[_0x229119(0x406)][_0x229119(0x339)](_0x29f033):_0x29f033)[_0x229119(0x181)]()[_0x229119(0x26b)](_0x39e081),_0x360e6b=_0x25844f/0x2,_0x3a2a8f=_0x3d2cc9/0x2,_0x1f84eb=this[_0x229119(0x1f2)][_0x229119(0x355)];return _0x1f84eb&&_0x1f84eb[_0x229119(0x3c1)]()?_0x1f84eb['isHitLine'](_0x55c1cb['x'],_0x55c1cb['y'],_0x25844f,_0x3d2cc9):_0x55c1cb['x']>=-_0x360e6b-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['x']<=_0x360e6b+this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']>=-_0x3a2a8f-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']<=_0x3a2a8f+this[_0x229119(0x1b9)]/0x2;}[_0x44da2a(0x396)](){const _0xad3c7=_0x44da2a;this['_formulaAnimation'][_0xad3c7(0x396)](),this[_0xad3c7(0x1f2)]['shapeModel']=null,super[_0xad3c7(0x396)]();}};let _0x5df118=class extends _0x199bc9['Disposable']{constructor(_0x6d5bbb,_0x5cf5a3,_0x3caf52,_0x1fd9e4){const _0x49bcc7=_0x44da2a;super(),this['_context']=_0x6d5bbb,this[_0x49bcc7(0x201)]=_0x5cf5a3,this['_docsShapeService']=_0x3caf52,this[_0x49bcc7(0x3f3)]=_0x1fd9e4,_0x23a33c(this,_0x49bcc7(0x2cf),null),_0x23a33c(this,_0x49bcc7(0x178),null),_0x23a33c(this,_0x49bcc7(0x1c3),null),_0x23a33c(this,'_activeShapeAdjustPointList',void 0x0),_0x23a33c(this,_0x49bcc7(0x1e3),[]),_0x23a33c(this,_0x49bcc7(0x1d4),0x0),_0x23a33c(this,_0x49bcc7(0x16e),0x0),_0x23a33c(this,_0x49bcc7(0x18b),0x0),_0x23a33c(this,'_baseShapeHeight',0x0),_0x23a33c(this,_0x49bcc7(0x166),!0x1),_0x23a33c(this,_0x49bcc7(0x3b1),!0x1),_0x23a33c(this,_0x49bcc7(0x1b8),void 0x0),_0x23a33c(this,'_activeShapeModel',void 0x0),_0x23a33c(this,_0x49bcc7(0x3e4),void 0x0),_0x23a33c(this,'_adjHandlerPointerUp',void 0x0),this[_0x49bcc7(0x292)](),this['_registerDrawingTransformHandler']();}[_0x44da2a(0x21b)](){const _0x3604f2=_0x44da2a;this[_0x3604f2(0x2b1)]();}['refreshAdjustControls'](){const _0x85c923=_0x44da2a;this[_0x85c923(0x3f5)](!0x0);}[_0x44da2a(0x3f6)](_0x456bd0,_0x2bb67f,_0x3c4592){const _0x5e76ac=_0x44da2a;var _0x5b5528;return(_0x5b5528=this['_docsShapeService'][_0x5e76ac(0x325)](_0x456bd0,_0x2bb67f,_0x3c4592))==null?void 0x0:_0x5b5528['getDrawingPoints']();}[_0x44da2a(0x1d0)](_0x585366,_0x517fa2,_0x8a21df,_0x1b1006){const _0x3e0a48=_0x44da2a;var _0xbb203;return(_0xbb203=this[_0x3e0a48(0x254)][_0x3e0a48(0x325)](_0x585366,_0x517fa2,_0x8a21df))==null?void 0x0:_0xbb203[_0x3e0a48(0x3f2)](_0x1b1006);}[_0x44da2a(0x3a3)](){const _0x751b6a=_0x44da2a;return this['_unitId']===null||this[_0x751b6a(0x1c3)]===null||this[_0x751b6a(0x2cf)]===null?null:this[_0x751b6a(0x201)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x751b6a(0x1c3)],'drawingId':this[_0x751b6a(0x2cf)]})??null;}[_0x44da2a(0x388)](_0x2e7af9){const _0x5f0447=_0x44da2a;if(this[_0x5f0447(0x178)]===null||this[_0x5f0447(0x1c3)]===null||this[_0x5f0447(0x2cf)]===null)return null;let _0x18a3d9=(0x0,_0x48b930[_0x5f0447(0x2a0)])({'unitId':this[_0x5f0447(0x178)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x5f0447(0x2cf)]}),_0x496996=_0x2e7af9[_0x5f0447(0x33e)](_0x18a3d9);return _0x496996 instanceof _0x174cb7?_0x496996:null;}[_0x44da2a(0x3f1)](_0xb144a9=!0x1){const _0x1eb4dc=_0x44da2a;if(this[_0x1eb4dc(0x178)]===null||this['_subUnitId']===null||this[_0x1eb4dc(0x2cf)]===null)return;let _0x13177a=this[_0x1eb4dc(0x3a3)]();if((_0x13177a==null?void 0x0:_0x13177a[_0x1eb4dc(0x408)])!==_0x199bc9[_0x1eb4dc(0x1d9)][_0x1eb4dc(0x418)]||!_0x13177a[_0x1eb4dc(0x37c)])return;let _0x334fa7=this[_0x1eb4dc(0x254)][_0x1eb4dc(0x325)](this[_0x1eb4dc(0x178)],this[_0x1eb4dc(0x1c3)],this[_0x1eb4dc(0x2cf)]);if(!_0x334fa7||_0x334fa7[_0x1eb4dc(0x3c1)]())return;let {left:_0x5afd88=0x0,top:_0xe229f4=0x0,width:_0x415a58=0x0,height:_0x46927b=0x0,flipX:_0x2269b1,flipY:_0x8e0412,angle:_0x56612d=0x0}=_0x13177a[_0x1eb4dc(0x37c)];(_0xb144a9||!this['_activeShapeAdjustPointList'])&&(_0x334fa7[_0x1eb4dc(0x21c)]({'width':_0x415a58,'height':_0x46927b}),this['_activeShapeAdjustPointList']=_0x334fa7['getDrawingPoints']());let _0x4f20ec=this[_0x1eb4dc(0x3a5)];if(!(_0x4f20ec!=null&&_0x4f20ec[_0x1eb4dc(0x268)]))return;let {scene:_0x150776}=this[_0x1eb4dc(0x28a)];for(let _0x2b4b72 of _0x4f20ec){let _0xce0631=this[_0x1eb4dc(0x269)](_0x2b4b72,_0x415a58,_0x46927b,!!_0x2269b1,!!_0x8e0412,_0x56612d);this['_addShapeAdjustControl'](_0x150776,_0xce0631,_0xce0631[_0x1eb4dc(0x3ff)],_0x5afd88,_0xe229f4,this['_unitId'],this[_0x1eb4dc(0x1c3)]);}}['_toVisualAdjustPoint'](_0x203a9d,_0x5be820,_0x1cfee5,_0x89acd8,_0x44c379,_0x23d884){const _0x397a95=_0x44da2a;let _0x1736a2=_0x203a9d['x'],_0x417ba6=_0x203a9d['y'];if(_0x89acd8&&(_0x1736a2=_0x5be820-_0x1736a2),_0x44c379&&(_0x417ba6=_0x1cfee5-_0x417ba6),_0x23d884!==0x0){let _0x83ea91=_0x5be820/0x2,_0x43677b=_0x1cfee5/0x2,_0x2d60a8=_0x23d884*Math['PI']/0xb4,_0x1d91fe=Math['cos'](_0x2d60a8),_0x198cb2=Math[_0x397a95(0x15d)](_0x2d60a8),_0x1c4f3d=_0x1736a2-_0x83ea91,_0x1875d1=_0x417ba6-_0x43677b;_0x1736a2=_0x83ea91+(_0x1c4f3d*_0x1d91fe-_0x1875d1*_0x198cb2),_0x417ba6=_0x43677b+(_0x1c4f3d*_0x198cb2+_0x1875d1*_0x1d91fe);}return{'x':_0x1736a2,'y':_0x417ba6,'adjName':_0x203a9d[_0x397a95(0x3ff)]};}['_updateShapeAdjustControls'](_0x2ddfd9=!0x1){const _0x529911=_0x44da2a;_0x2ddfd9&&this['_clearShapeAdjustControls'](),this[_0x529911(0x3f1)](_0x2ddfd9);}[_0x44da2a(0x365)](_0x2c1b72,_0x3517f3,_0x5343dd,_0x1dec40,_0x902085,_0x510489,_0x308e6d){const _0x33ef91=_0x44da2a;if(!this[_0x33ef91(0x2cf)])return;let _0x1de65f=_0x33ef91(0x370)+this[_0x33ef91(0x2cf)]+'-'+_0x5343dd,_0x43d868=_0x2c1b72[_0x33ef91(0x33e)](_0x1de65f);if(_0x43d868){_0x43d868[_0x33ef91(0x26e)]({'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)]}),_0x43d868[_0x33ef91(0x155)](!0x0);return;}let _0x5cf56c=new _0x5d0a63(_0x1de65f,{'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1[_0x33ef91(0x3d2)]['adjHandleSize'],'adjName':_0x5343dd,'shapeId':this['_activeShapeId'],'unitId':_0x510489,'subUnitId':_0x308e6d,'width':_0x2d5ae1['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x2d5ae1[_0x33ef91(0x3d2)][_0x33ef91(0x2d7)]+0x8,'zIndex':_0x4bd9c2[_0x33ef91(0x1c8)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x33ef91(0x34b)](_0x5cf56c),this[_0x33ef91(0x227)](_0x5cf56c,_0x2c1b72,_0x5343dd),_0x2c1b72['addObject'](_0x5cf56c,_0x4bd9c2[_0x33ef91(0x1c8)]+0x1);}['_clearShapeAdjustControls'](){const _0x4f3361=_0x44da2a;this[_0x4f3361(0x1e3)][_0x4f3361(0x3c9)](_0x473488=>_0x473488[_0x4f3361(0x396)]()),this[_0x4f3361(0x1e3)]=[];}[_0x44da2a(0x298)](){this['_createShapeAdjustControls']();}['_toScenePoint'](_0x3ce5ce,_0x584331,_0x53ad6){const _0x755cf=_0x44da2a;let _0x2254e4=_0x4bd9c2['Vector2']['FromArray']([_0x584331,_0x53ad6]),_0x506b90=_0x3ce5ce['getActiveViewportByCoord'](_0x2254e4)??_0x3ce5ce[_0x755cf(0x22f)]()[0x0];return(_0x506b90==null?void 0x0:_0x506b90[_0x755cf(0x21e)](_0x2254e4))??_0x2254e4;}['_attachAdjustEvent'](_0x352afd,_0x3dc777,_0x28a0fa){const _0x4f8a47=_0x44da2a;this[_0x4f8a47(0x19c)]((0x0,_0x199bc9[_0x4f8a47(0x38b)])(_0x352afd[_0x4f8a47(0x293)]['subscribeEvent']((_0x127a76,_0x15b589)=>{const _0x6a4ea1=_0x4f8a47;var _0x6be5e0;let _0x59ebf0=_0x352afd[_0x6a4ea1(0x3f4)]();this[_0x6a4ea1(0x1b8)]=this[_0x6a4ea1(0x1d0)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)],_0x28a0fa),this['_activeShapeModel']=this[_0x6a4ea1(0x254)][_0x6a4ea1(0x325)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)]);let _0x1c4a36=this[_0x6a4ea1(0x3a3)](),_0x2a280a=_0x1c4a36==null?void 0x0:_0x1c4a36['transform'];if(!_0x1c4a36||!_0x2a280a||!this[_0x6a4ea1(0x3d1)])return;this[_0x6a4ea1(0x1d4)]=_0x2a280a[_0x6a4ea1(0x40d)]||0x0,this['_baseShapeTop']=_0x2a280a[_0x6a4ea1(0x22e)]||0x0,this[_0x6a4ea1(0x18b)]=_0x2a280a[_0x6a4ea1(0x25c)]||0x0,this[_0x6a4ea1(0x361)]=_0x2a280a[_0x6a4ea1(0x2a2)]||0x0;let _0x949a9f=!!_0x2a280a[_0x6a4ea1(0x2d5)],_0x397984=!!_0x2a280a[_0x6a4ea1(0x1fb)],_0x500140=_0x2a280a[_0x6a4ea1(0x3e0)]||0x0,_0x47aad1={...((_0x6be5e0=this['_activeAdjustInfo'])==null?void 0x0:_0x6be5e0[_0x6a4ea1(0x30b)])??{}};this[_0x6a4ea1(0x166)]=!0x0,_0x3dc777[_0x6a4ea1(0x3ab)](),this[_0x6a4ea1(0x3e4)]=_0x3dc777[_0x6a4ea1(0x1b0)][_0x6a4ea1(0x400)]((_0x379da3,_0x41de84)=>{const _0x3f508f=_0x6a4ea1;var _0x3a0045;if(!this[_0x3f508f(0x166)]||!this[_0x3f508f(0x3d1)]||!this['_activeAdjustInfo'])return;_0x3dc777[_0x3f508f(0x3ab)](),_0x3dc777[_0x3f508f(0x2f7)](_0x4bd9c2[_0x3f508f(0x3ce)]['CROSSHAIR']);let _0x3406d2=this[_0x3f508f(0x1e9)](_0x3dc777,_0x379da3[_0x3f508f(0x2ca)],_0x379da3['offsetY']),_0x49de89=_0x3406d2['x']-this[_0x3f508f(0x1d4)],_0x4c67f9=_0x3406d2['y']-this[_0x3f508f(0x16e)];if(_0x500140!==0x0){let _0xe94d5e=this[_0x3f508f(0x18b)]/0x2,_0x32c902=this[_0x3f508f(0x361)]/0x2,_0x29ecdd=_0x500140*Math['PI']/0xb4,_0x2f9a4f=Math[_0x3f508f(0x323)](_0x29ecdd),_0x5ff9f5=Math['sin'](_0x29ecdd),_0xde52dd=_0x49de89-_0xe94d5e,_0x486860=_0x4c67f9-_0x32c902;_0x49de89=_0xe94d5e+(_0xde52dd*_0x2f9a4f+_0x486860*_0x5ff9f5),_0x4c67f9=_0x32c902+(-_0xde52dd*_0x5ff9f5+_0x486860*_0x2f9a4f);}_0x949a9f&&(_0x49de89=this[_0x3f508f(0x18b)]-_0x49de89),_0x397984&&(_0x4c67f9=this['_baseShapeHeight']-_0x4c67f9);let _0x306834={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x3f508f(0x361)]},_0x4c2504=this[_0x3f508f(0x3d1)][_0x3f508f(0x259)](_0x306834,{'x':_0x49de89,'y':_0x4c67f9},this[_0x3f508f(0x1b8)],_0x949a9f,_0x397984);if(Object[_0x3f508f(0x398)](_0x4c2504)[_0x3f508f(0x268)]!==0x0){for(let [_0xacdf8f,_0x3e6522]of Object[_0x3f508f(0x2bc)](_0x4c2504))this[_0x3f508f(0x3d1)][_0x3f508f(0x1a8)](_0xacdf8f,_0x3e6522);this[_0x3f508f(0x3d1)][_0x3f508f(0x21c)]({'width':this[_0x3f508f(0x18b)],'height':this[_0x3f508f(0x361)]}),(_0x3a0045=this['_getActiveDrawingShape'](_0x3dc777))==null||_0x3a0045[_0x3f508f(0x155)](!0x0),this[_0x3f508f(0x3a5)]=this[_0x3f508f(0x3f6)](_0x59ebf0[_0x3f508f(0x1e0)],_0x59ebf0[_0x3f508f(0x3d5)],_0x59ebf0['drawingId']),this[_0x3f508f(0x298)](),_0x41de84[_0x3f508f(0x177)]();}}),this['_adjHandlerPointerUp']=_0x3dc777[_0x6a4ea1(0x23b)][_0x6a4ea1(0x400)]((_0x100540,_0x14a2ea)=>{const _0x2badde=_0x6a4ea1;var _0xea8506,_0x3d237f;(_0xea8506=this[_0x2badde(0x3e4)])==null||_0xea8506['unsubscribe'](),(_0x3d237f=this['_adjHandlerPointerUp'])==null||_0x3d237f[_0x2badde(0x3c3)](),_0x3dc777[_0x2badde(0x2f6)]();let _0x444f22=this[_0x2badde(0x1b8)];if(_0x444f22&&this[_0x2badde(0x3d1)]){let _0xdd4fdc={};for(let _0x4b2a41 of Object[_0x2badde(0x398)](_0x444f22['currentAdjustValues'])){let _0x5ec669=this[_0x2badde(0x3d1)][_0x2badde(0x34e)](_0x4b2a41);_0x5ec669!==void 0x0&&(_0xdd4fdc[_0x4b2a41]=_0x5ec669);}Object['keys'](_0xdd4fdc)[_0x2badde(0x268)]>0x0&&_0x5d636b(this[_0x2badde(0x3f3)],_0x59ebf0[_0x2badde(0x1e0)],_0x59ebf0[_0x2badde(0x3d5)],_0x59ebf0[_0x2badde(0x3a1)],{'oldShapeData':{'adjustValues':_0x47aad1}},{'adjustValues':_0xdd4fdc});}this[_0x2badde(0x1b8)]=void 0x0,this[_0x2badde(0x3d1)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x3dc777[_0x2badde(0x1ce)](),_0x14a2ea[_0x2badde(0x177)]();}),_0x15b589['stopPropagation']();})));}[_0x44da2a(0x174)](){const _0x3e0dd8=_0x44da2a;let {scene:_0xee2ec3}=this[_0x3e0dd8(0x28a)],_0x3efd88=_0xee2ec3[_0x3e0dd8(0x208)]();this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x2e8)][_0x3e0dd8(0x311)](_0x5cc2e0=>{const _0x50dfac=_0x3e0dd8;this['_createShapeAdjustControls'](),_0x5cc2e0[_0x50dfac(0x3dd)]!==null&&_0x5cc2e0['objects']['size']===0x1&&_0x5cc2e0[_0x50dfac(0x3dd)][_0x50dfac(0x291)]()[_0x50dfac(0x2a9)]()['value']instanceof _0x174cb7&&(this[_0x50dfac(0x3b1)]=!0x0);})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x1bc)][_0x3e0dd8(0x311)](()=>{const _0x49a36f=_0x3e0dd8;this[_0x49a36f(0x3b1)]&&this[_0x49a36f(0x2b1)]();})),this[_0x3e0dd8(0x19c)](_0xee2ec3[_0x3e0dd8(0x23b)][_0x3e0dd8(0x400)](()=>{const _0x386f36=_0x3e0dd8;this[_0x386f36(0x3b1)]&&(this[_0x386f36(0x3b1)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x187)][_0x3e0dd8(0x311)](()=>{const _0x54dc35=_0x3e0dd8;this[_0x54dc35(0x178)]&&this[_0x54dc35(0x1c3)]&&this[_0x54dc35(0x2cf)]&&(this['_activeShapeAdjustPointList']=this[_0x54dc35(0x3f6)](this[_0x54dc35(0x178)],this[_0x54dc35(0x1c3)],this[_0x54dc35(0x2cf)]),this[_0x54dc35(0x298)]());}));}[_0x44da2a(0x292)](){const _0x402047=_0x44da2a;this[_0x402047(0x19c)](this[_0x402047(0x3f3)]['onCommandExecuted'](_0x1b1975=>{const _0x128a5a=_0x402047;if(_0x1b1975['id']!==_0x397c2d[_0x128a5a(0x29e)]['id'])return;let {unitId:_0x3a951d,shapeId:_0x58887c}=_0x1b1975[_0x128a5a(0x2f9)];_0x3a951d===this[_0x128a5a(0x178)]&&_0x58887c===this[_0x128a5a(0x2cf)]&&this[_0x128a5a(0x3bb)]();})),this[_0x402047(0x19c)](this[_0x402047(0x201)]['focus$'][_0x402047(0x311)](_0x4055b7=>{const _0x4abdc5=_0x402047;if(_0x4055b7[_0x4abdc5(0x268)]===0x1){let _0x25926b=_0x4055b7[0x0],_0x4e0ab9=this[_0x4abdc5(0x201)]['getDrawingByParam'](_0x25926b);if((_0x4e0ab9==null?void 0x0:_0x4e0ab9[_0x4abdc5(0x408)])===_0x199bc9[_0x4abdc5(0x1d9)][_0x4abdc5(0x418)]){this[_0x4abdc5(0x2cf)]=_0x25926b[_0x4abdc5(0x3a1)],this[_0x4abdc5(0x178)]=_0x25926b[_0x4abdc5(0x1e0)],this['_subUnitId']=_0x25926b[_0x4abdc5(0x3d5)],this[_0x4abdc5(0x3a5)]=this['_getShapeAdjustPointListById'](_0x25926b[_0x4abdc5(0x1e0)],_0x25926b[_0x4abdc5(0x3d5)],_0x25926b[_0x4abdc5(0x3a1)]),this['_clearShapeAdjustControls'](),this[_0x4abdc5(0x3f1)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4abdc5(0x178)]=null,this[_0x4abdc5(0x1c3)]=null,this[_0x4abdc5(0x2b1)]();})),this[_0x402047(0x19c)]((0x0,_0x259d9f[_0x402047(0x29a)])(this[_0x402047(0x201)][_0x402047(0x2d9)],this[_0x402047(0x201)]['refreshTransform$'])[_0x402047(0x311)](_0x127bfa=>{const _0x11aad2=_0x402047;var _0x5f24d3;let _0x2fed14=_0x127bfa[_0x11aad2(0x1da)](_0x46d3ea=>_0x46d3ea[_0x11aad2(0x3a1)]===this[_0x11aad2(0x2cf)]&&_0x46d3ea[_0x11aad2(0x1e0)]===this['_unitId']&&_0x46d3ea['subUnitId']===this[_0x11aad2(0x1c3)]);_0x2fed14&&((_0x5f24d3=this['_drawingManagerService'][_0x11aad2(0x302)](_0x2fed14))==null?void 0x0:_0x5f24d3['drawingType'])===_0x199bc9[_0x11aad2(0x1d9)][_0x11aad2(0x418)]&&this[_0x11aad2(0x3f5)](!0x0);})),this[_0x402047(0x19c)](this['_drawingManagerService'][_0x402047(0x205)][_0x402047(0x311)](_0x4c3128=>{const _0x297cff=_0x402047;for(let _0x1b8915 of _0x4c3128)this[_0x297cff(0x2cf)]===_0x1b8915['drawingId']&&(this[_0x297cff(0x2cf)]=null,this[_0x297cff(0x3a5)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0x297cff(0x2b1)]());}));}};_0x5df118=_0x5e6390([_0x57fca7(0x1,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x250)])],_0x5df118);function _0x41246c(_0x514131){const _0x46e4da=_0x44da2a;return _0x514131[_0x46e4da(0x2a1)]===!0x0||_0x514131[_0x46e4da(0x2a1)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]||_0x514131[_0x46e4da(0x1e1)]===_0x199bc9[_0x46e4da(0x1ff)]['WRAP_NONE']&&_0x514131[_0x46e4da(0x18e)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]?_0xadaed7['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x4bd9c2[_0x46e4da(0x1c8)];}let _0x2fc97f=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x3664ce,_0x2623e1,_0x28a374,_0x2e58d3,_0x54e77b,_0xbf2ac1,_0x3c8010){const _0x75a3a9=_0x44da2a;super(),this[_0x75a3a9(0x201)]=_0x3664ce,this['_docsShapeService']=_0x2623e1,this[_0x75a3a9(0x3ad)]=_0x28a374,this[_0x75a3a9(0x27e)]=_0x2e58d3,this[_0x75a3a9(0x2df)]=_0x54e77b,this['_shapeTextEditingService']=_0xbf2ac1,this['_shapeFormulaService']=_0x3c8010,_0x23a33c(this,_0x75a3a9(0x265),new Map()),this[_0x75a3a9(0x19c)](this[_0x75a3a9(0x364)][_0x75a3a9(0x16a)][_0x75a3a9(0x311)](_0x21dee2=>{const _0x4e2fb8=_0x75a3a9;var _0x54edcf;(_0x54edcf=this['_formulaShapes'][_0x4e2fb8(0x41e)](this[_0x4e2fb8(0x326)](_0x21dee2[_0x4e2fb8(0x1e0)],_0x21dee2['subUnitId'],_0x21dee2[_0x4e2fb8(0x195)])))==null||_0x54edcf[_0x4e2fb8(0x3c9)](_0x190a6a=>_0x190a6a[_0x4e2fb8(0x3ac)](_0x21dee2[_0x4e2fb8(0x385)],_0x21dee2[_0x4e2fb8(0x184)]));})),this['disposeWithMe'](this['_drawingManagerService'][_0x75a3a9(0x205)][_0x75a3a9(0x311)](_0x1e9769=>{const _0x51611b=_0x75a3a9;_0x1e9769[_0x51611b(0x3c9)](_0x360130=>{const _0x1d753b=_0x51611b;this['_shapeFormulaService'][_0x1d753b(0x35c)]({'unitId':_0x360130[_0x1d753b(0x1e0)],'subUnitId':_0x360130[_0x1d753b(0x3d5)],'shapeId':_0x360130['drawingId']}),this['_formulaShapes'][_0x1d753b(0x324)](this['_formulaKey'](_0x360130[_0x1d753b(0x1e0)],_0x360130[_0x1d753b(0x3d5)],_0x360130[_0x1d753b(0x3a1)]));});}));}[_0x44da2a(0x1f9)](_0xc23a2c,_0x560157){const _0x25b2a7=_0x44da2a;let {transform:_0x2be245,drawingType:_0xa1ebd0,srcRect:_0x7375dd,prstGeom:_0x1bdc23,groupId:_0x582f57,unitId:_0x3d8114,subUnitId:_0x3f008b,drawingId:_0x1f8d0d,isMultiTransform:_0x5ac5bb,transforms:_0x5e9ac2,hidden:_0x1b7043,selectable:_0x18a286}=_0xc23a2c;if(_0xa1ebd0!==_0x199bc9[_0x25b2a7(0x1d9)][_0x25b2a7(0x418)]||!this['_drawingManagerService'][_0x25b2a7(0x33f)]()||_0x2be245==null)return;let _0x19ea38=this['_drawingManagerService'][_0x25b2a7(0x162)]();_0x19ea38&&_0x560157['initTransformer'](_0x477995['SHAPE_EDITOR_TRANSFORMER_CONFIG']);let _0x2a5b09=_0x5ac5bb&&_0x5e9ac2?_0x5e9ac2:[_0x2be245],_0x4b0e35=[];for(let _0x1661b7 of _0x2a5b09){let {left:_0x5652a4,top:_0x280538,width:_0x34bad0,height:_0x398b8e,angle:_0x158819,flipX:_0x18389c,flipY:_0x2cb7b9,skewX:_0x48e444,skewY:_0x4c1514}=_0x1661b7,_0x5f1922=_0x2a5b09[_0x25b2a7(0x411)](_0x1661b7),_0x7d9ef9=(0x0,_0x48b930['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3d8114,'subUnitId':_0x3f008b,'drawingId':_0x1f8d0d},_0x5ac5bb?_0x5f1922:void 0x0),_0x1d4ec4=_0x560157['getObjectIncludeInGroup'](_0x7d9ef9);if(_0x1d4ec4!=null){let _0x2e39d6={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x1d4ec4 instanceof _0x174cb7&&this['refreshFormulaPresentation'](_0x1d4ec4,_0x2e39d6),_0x1d4ec4[_0x25b2a7(0x26e)]({'left':_0x5652a4,'top':_0x280538,'width':_0x34bad0,'height':_0x398b8e,'angle':_0x158819,'flipX':_0x18389c,'flipY':_0x2cb7b9,'skewX':_0x48e444,'skewY':_0x4c1514});continue;}let _0x65b1ab=this[_0x25b2a7(0x201)]['getDrawingOrder'](_0x3d8114,_0x3f008b),_0x16a7a4=_0x65b1ab[_0x25b2a7(0x411)](_0x1f8d0d);if(_0x560157[_0x25b2a7(0x33e)](_0x7d9ef9)||!this['_drawingManagerService'][_0x25b2a7(0x33f)]())continue;let _0x3b6f8f=this[_0x25b2a7(0x254)][_0x25b2a7(0x325)](_0x3d8114,_0x3f008b,_0x1f8d0d);if(!_0x3b6f8f)continue;let _0x56f77d=(0x0,_0x2d5ae1[_0x25b2a7(0x34a)])(_0x3b6f8f[_0x25b2a7(0x2cd)]()),_0x3745e0=_0x3b6f8f[_0x25b2a7(0x30e)]()[_0x25b2a7(0x2c7)],_0x1cc373={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x3745e0&&this[_0x25b2a7(0x364)][_0x25b2a7(0x230)](_0x1cc373,_0x3745e0);let _0x2430f7=new _0x174cb7(_0x7d9ef9,{..._0x56f77d?{..._0x1661b7,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x1661b7},'zIndex':_0x16a7a4===-0x1?_0x65b1ab[_0x25b2a7(0x268)]-0x1:_0x16a7a4,'shapeModel':_0x3b6f8f,'localeService':this['_localeService'],'shapeId':_0x1f8d0d,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'visible':_0x1b7043!==!0x0,'evented':_0x18a286!==!0x1,'formulaPresentation':_0x3745e0?this[_0x25b2a7(0x364)][_0x25b2a7(0x34f)](_0x1cc373):void 0x0,'animateFormulaPresentation':(_0x3745e0==null?void 0x0:_0x3745e0[_0x25b2a7(0x184)])!==!0x1});if(_0x3745e0){let _0x5d90d3=this['_formulaKey'](_0x3d8114,_0x3f008b,_0x1f8d0d),_0x3fa7aa=this[_0x25b2a7(0x265)][_0x25b2a7(0x41e)](_0x5d90d3)??new Set();_0x3fa7aa[_0x25b2a7(0x3d7)](_0x2430f7),this['_formulaShapes']['set'](_0x5d90d3,_0x3fa7aa);}this[_0x25b2a7(0x19c)]((0x0,_0x199bc9[_0x25b2a7(0x38b)])(_0x2430f7['onDblclick$']['subscribeEvent']((_0x1fc9ce,_0x5253fa)=>{const _0x456267=_0x25b2a7;_0x3b6f8f[_0x456267(0x3c1)]()||_0x3745e0||(this['_shapeTextEditingService'][_0x456267(0x1e5)]({'visible':!0x0,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d,'shapeKey':_0x2430f7[_0x456267(0x377)]}),_0x5253fa[_0x456267(0x177)]());}))),_0x560157['addObject'](_0x2430f7,_0x41246c(_0xc23a2c)),_0x19ea38&&_0x560157['attachTransformerTo'](_0x2430f7),_0x582f57&&(0x0,_0x1a42e8['insertGroupObject'])({'drawingId':_0x582f57,'unitId':_0x3d8114,'subUnitId':_0x3f008b},_0x2430f7,_0x560157,this['_drawingManagerService']),_0x1bdc23!=null&&_0x2430f7[_0x25b2a7(0x3bf)](_0x1bdc23),_0x7375dd!=null&&_0x2430f7[_0x25b2a7(0x1d7)](_0x7375dd),this['_loadShapePictureFill'](_0x2430f7,_0x3b6f8f['getShapeData']()),_0x4b0e35[_0x25b2a7(0x34b)](_0x2430f7);}return _0x4b0e35;}['_formulaKey'](_0x106597,_0x32800d,_0x264659){return _0x106597+'\x00'+_0x32800d+'\x00'+_0x264659;}['refreshFormulaPresentation'](_0x5447c8,_0x33aede){const _0x5ec6b4=_0x44da2a;let _0x1cc25c=this['_docsShapeService']['getShapeModel'](_0x33aede['unitId'],_0x33aede[_0x5ec6b4(0x3d5)],_0x33aede[_0x5ec6b4(0x195)]),_0x320111=_0x1cc25c==null?void 0x0:_0x1cc25c['getShapeData']()[_0x5ec6b4(0x2c7)],_0x6171b7=this[_0x5ec6b4(0x326)](_0x33aede['unitId'],_0x33aede['subUnitId'],_0x33aede['shapeId']);if(_0x320111){this[_0x5ec6b4(0x364)][_0x5ec6b4(0x230)](_0x33aede,_0x320111);let _0x301550=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7)??new Set();_0x301550[_0x5ec6b4(0x3d7)](_0x5447c8),this[_0x5ec6b4(0x265)][_0x5ec6b4(0x1a0)](_0x6171b7,_0x301550);}else{var _0x39b03d;this[_0x5ec6b4(0x364)][_0x5ec6b4(0x35c)](_0x33aede),(_0x39b03d=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7))==null||_0x39b03d[_0x5ec6b4(0x324)](_0x5447c8);}_0x5447c8['setFormulaPresentation'](_0x320111?this[_0x5ec6b4(0x364)][_0x5ec6b4(0x34f)](_0x33aede):void 0x0,(_0x320111==null?void 0x0:_0x320111[_0x5ec6b4(0x184)])!==!0x1);}[_0x44da2a(0x1ca)](_0x20ca64){const _0x2ff3aa=_0x44da2a;let _0x36248f=_0x20ca64[_0x2ff3aa(0x355)]['getShapeData'](),_0x529cb0=_0x36248f[_0x2ff3aa(0x1c7)];if(!_0x529cb0||_0x529cb0[_0x2ff3aa(0x30a)]!==_0x2d5ae1[_0x2ff3aa(0x179)][_0x2ff3aa(0x2fb)]||!_0x529cb0[_0x2ff3aa(0x336)]){_0x20ca64[_0x2ff3aa(0x24f)](void 0x0);return;}this['_loadShapePictureFill'](_0x20ca64,_0x36248f);}[_0x44da2a(0x419)](_0x44fffa,_0x2c1643){const _0x3b4eef=_0x44da2a;let _0x203c24=_0x2c1643[_0x3b4eef(0x1c7)];if(!_0x203c24||_0x203c24[_0x3b4eef(0x30a)]!==_0x2d5ae1[_0x3b4eef(0x179)][_0x3b4eef(0x2fb)]||!_0x203c24[_0x3b4eef(0x336)])return;let _0x11a96d=_0x203c24['fillImageSource'],_0x33ae10=_0x203c24[_0x3b4eef(0x20d)]??_0x2d5ae1['ImageSourceTypeEnum']['URL'],_0x31ae44=this[_0x3b4eef(0x27e)][_0x3b4eef(0x249)](_0x11a96d,_0x33ae10);if(_0x31ae44){_0x44fffa[_0x3b4eef(0x24f)](_0x31ae44);return;}this[_0x3b4eef(0x25f)](_0x44fffa,_0x11a96d,_0x33ae10);}async[_0x44da2a(0x25f)](_0x3b670a,_0x68f666,_0x1158f5){const _0x6f6761=_0x44da2a;let _0x58ea2d;try{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)][_0x6f6761(0x220)])_0x58ea2d=await this[_0x6f6761(0x27e)][_0x6f6761(0x40f)](_0x68f666);else{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)]['URL'])try{_0x58ea2d=await this[_0x6f6761(0x2df)][_0x6f6761(0x40f)](_0x68f666);}catch{_0x58ea2d=_0x68f666;}else _0x58ea2d=_0x68f666;}}catch(_0x4692c4){console[_0x6f6761(0x1eb)](_0x6f6761(0x270),_0x4692c4);return;}let _0x467e65=new window[(_0x6f6761(0x40b))]();_0x467e65[_0x6f6761(0x360)]=()=>{const _0x58e505=_0x6f6761;this[_0x58e505(0x27e)]['addImageSourceCache'](_0x68f666,_0x1158f5,_0x467e65),_0x3b670a[_0x58e505(0x24f)](_0x467e65);},_0x467e65['onerror']=()=>{const _0x441cf8=_0x6f6761;console[_0x441cf8(0x1eb)](_0x441cf8(0x2d1),_0x68f666);},_0x467e65[_0x6f6761(0x3ee)]=_0x58ea2d;}};_0x2fc97f=_0x5e6390([_0x57fca7(0x0,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9['LocaleService'])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x372)]),_0x57fca7(0x4,_0x199bc9[_0x44da2a(0x414)]),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x6,(0x0,_0x199bc9['Inject'])(_0x377eec['ShapeFormulaService']))],_0x2fc97f);let _0x1c346e=_0x44da2a(0x18c),_0x56bc28=class extends _0x199bc9['Disposable']{constructor(_0x3e6de8,_0x1fd062,_0xab340b,_0x10816f,_0x26b136,_0x271ecb){const _0x4d56ac=_0x44da2a;super(),this['_menuManagerService']=_0x3e6de8,this[_0x4d56ac(0x32b)]=_0x1fd062,this[_0x4d56ac(0x201)]=_0xab340b,this[_0x4d56ac(0x3d4)]=_0x10816f,this['_renderManagerService']=_0x26b136,this[_0x4d56ac(0x373)]=_0x271ecb,_0x23a33c(this,_0x4d56ac(0x389),!0x1),this[_0x4d56ac(0x2cb)]['mergeMenu'](_0x4dedef),this['disposeWithMe']((0x0,_0x199bc9[_0x4d56ac(0x38b)])(this['_drawingManagerService']['focus$'][_0x4d56ac(0x311)](()=>this[_0x4d56ac(0x1d5)]()))),this['_update']();}['dispose'](){const _0x135010=_0x44da2a;this[_0x135010(0x373)][_0x135010(0x319)](!0x1,_0x1c346e),this[_0x135010(0x2e7)](),super[_0x135010(0x396)]();}[_0x44da2a(0x1d5)](){const _0x5ce0fc=_0x44da2a;var _0x59a787;let _0x578b9a=this[_0x5ce0fc(0x201)][_0x5ce0fc(0x3f0)](),_0x3476c8=_0x578b9a[_0x5ce0fc(0x268)]===0x1?_0x578b9a[0x0]:void 0x0;if((_0x3476c8==null?void 0x0:_0x3476c8[_0x5ce0fc(0x408)])!==_0x199bc9[_0x5ce0fc(0x1d9)][_0x5ce0fc(0x418)]||this[_0x5ce0fc(0x3d4)]['getUnitType'](_0x3476c8[_0x5ce0fc(0x1e0)])!==_0x199bc9[_0x5ce0fc(0x31a)][_0x5ce0fc(0x171)]){this[_0x5ce0fc(0x373)][_0x5ce0fc(0x319)](!0x1,_0x1c346e),this[_0x5ce0fc(0x2e7)]();return;}let _0x309911=(0x0,_0x477995[_0x5ce0fc(0x35e)])((_0x59a787=this[_0x5ce0fc(0x275)][_0x5ce0fc(0x1cb)](_0x3476c8[_0x5ce0fc(0x1e0)]))==null?void 0x0:_0x59a787[_0x5ce0fc(0x252)][_0x5ce0fc(0x329)]())===_0x5ce0fc(0x2b7);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x309911,_0x1c346e),_0x309911){this['_hide']();return;}this['_visible']||(this[_0x5ce0fc(0x389)]=!0x0,this[_0x5ce0fc(0x32b)][_0x5ce0fc(0x308)](_0x1a1332,{'activate':!0x0}));}[_0x44da2a(0x2e7)](){const _0x5dad18=_0x44da2a;this[_0x5dad18(0x389)]&&(this[_0x5dad18(0x389)]=!0x1,this[_0x5dad18(0x32b)][_0x5dad18(0x2ec)](_0x1a1332),this['_ribbonService'][_0x5dad18(0x1fe)]([]));}};_0x56bc28=_0x5e6390([_0x57fca7(0x0,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x1,_0x314b7e[_0x44da2a(0x2be)]),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x4,_0x4bd9c2['IRenderManagerService']),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x477995[_0x44da2a(0x33b)]))],_0x56bc28);function _0x3214c8(_0x4baec0,_0xa10848){const _0x24563=_0x44da2a;let _0x28e231=_0x4baec0;for(;_0x28e231;){if(_0xa10848(_0x28e231))return _0x28e231;_0x28e231=typeof _0x28e231[_0x24563(0x399)]==_0x24563(0x1f4)?_0x28e231['getParent']():null;}return null;}function _0x52fba1(_0x5b0df3){return _0x3214c8(_0x5b0df3,_0x37c52c=>_0x37c52c instanceof _0x174cb7);}function _0x12b643(_0x2ff7a8){const _0x15f831=_0x44da2a;return(_0x2ff7a8==null?void 0x0:_0x2ff7a8[_0x15f831(0x2c7)])==null;}let _0x335aa8=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0xe140e7,_0x268e40,_0x4f1a22,_0x55fc7f,_0x56f2b4){const _0x3d8a5e=_0x44da2a;super(),this[_0x3d8a5e(0x28a)]=_0xe140e7,this['_shapeTextEditingService']=_0x268e40,this['_drawingManagerService']=_0x4f1a22,this[_0x3d8a5e(0x330)]=_0x55fc7f,this[_0x3d8a5e(0x254)]=_0x56f2b4,_0x23a33c(this,_0x3d8a5e(0x36c),null),this[_0x3d8a5e(0x15b)](),this[_0x3d8a5e(0x218)](),this[_0x3d8a5e(0x1ab)]();}[_0x44da2a(0x15b)](){const _0x1e83ea=_0x44da2a;let {scene:_0xe7270d}=this[_0x1e83ea(0x28a)];this[_0x1e83ea(0x19c)](_0xe7270d[_0x1e83ea(0x2b4)][_0x1e83ea(0x400)](_0x4038ec=>{const _0x9fc42b=_0x1e83ea;let {offsetX:_0x1ef9c2,offsetY:_0x2bc78e}=_0x4038ec,_0xf87c8e=_0x4bd9c2['Vector2'][_0x9fc42b(0x3d8)]([_0x1ef9c2,_0x2bc78e]),_0x13c827=_0x52fba1(_0xe7270d['pick'](_0xf87c8e))??this[_0x9fc42b(0x2c0)](_0xf87c8e);if(_0x13c827){let _0x2f0133=this[_0x9fc42b(0x254)]['getShapeModel'](_0x13c827[_0x9fc42b(0x1e0)],_0x13c827[_0x9fc42b(0x3d5)],_0x13c827[_0x9fc42b(0x195)]);if(!_0x2f0133||(0x0,_0x2d5ae1[_0x9fc42b(0x34a)])(_0x2f0133['getShapeType']())||!_0x12b643(_0x2f0133[_0x9fc42b(0x30e)]()))return;this[_0x9fc42b(0x312)][_0x9fc42b(0x1e5)]({'visible':!0x0,'unitId':_0x13c827[_0x9fc42b(0x1e0)],'subUnitId':_0x13c827[_0x9fc42b(0x3d5)],'shapeId':_0x13c827['shapeId'],'shapeKey':_0x13c827[_0x9fc42b(0x377)]});}}));}[_0x44da2a(0x2c0)](_0x40209d){const _0x53a0af=_0x44da2a;let {scene:_0x84bda6}=this[_0x53a0af(0x28a)];return this[_0x53a0af(0x201)][_0x53a0af(0x3f0)]()[_0x53a0af(0x353)](_0x1fa810=>_0x84bda6[_0x53a0af(0x33e)]((0x0,_0x48b930[_0x53a0af(0x2a0)])(_0x1fa810)))['find'](_0x3dd2e9=>_0x3dd2e9 instanceof _0x174cb7&&_0x3dd2e9[_0x53a0af(0x2ab)](_0x40209d))??null;}[_0x44da2a(0x218)](){const _0x44e831=_0x44da2a;this[_0x44e831(0x19c)](this[_0x44e831(0x201)]['focus$']['subscribe'](_0xeb371=>{const _0x366d30=_0x44e831;if(_0xeb371[_0x366d30(0x268)]===0x1){let _0x198855=_0xeb371[0x0],_0x5bf899=this['_drawingManagerService'][_0x366d30(0x302)](_0x198855);if((_0x5bf899==null?void 0x0:_0x5bf899['drawingType'])===_0x199bc9[_0x366d30(0x1d9)][_0x366d30(0x418)]){let _0x50b228=this[_0x366d30(0x312)][_0x366d30(0x3ea)]();if((_0x50b228==null?void 0x0:_0x50b228[_0x366d30(0x195)])===_0x198855[_0x366d30(0x3a1)]&&_0x50b228[_0x366d30(0x243)])return;(0x0,_0x2d5ae1['isConnectorShape'])(this[_0x366d30(0x254)][_0x366d30(0x2cd)](_0x198855[_0x366d30(0x1e0)],_0x198855[_0x366d30(0x3d5)],_0x198855[_0x366d30(0x3a1)]))&&this[_0x366d30(0x312)][_0x366d30(0x1e5)](null);}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this['_shapeTextEditingService'][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x42c950=_0x366d30;this[_0x42c950(0x312)][_0x42c950(0x1e5)](null);}));}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this[_0x366d30(0x312)][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x391ea8=_0x366d30;this[_0x391ea8(0x312)][_0x391ea8(0x1e5)](null);}));})),this[_0x44e831(0x19c)](this['_drawingManagerService']['remove$'][_0x44e831(0x311)](_0xf342e6=>{const _0xcf7fa5=_0x44e831;let _0x301561=this[_0xcf7fa5(0x312)][_0xcf7fa5(0x3ea)]();_0x301561&&_0xf342e6[_0xcf7fa5(0x3c2)](_0xf7323e=>_0xf7323e[_0xcf7fa5(0x3a1)]===_0x301561['shapeId'])&&this[_0xcf7fa5(0x312)][_0xcf7fa5(0x1e5)](null);}));}['_initEditingParams'](){const _0xb90bea=_0x44da2a;this[_0xb90bea(0x19c)](this['_shapeTextEditingService'][_0xb90bea(0x25a)][_0xb90bea(0x311)](_0x1f6bf6=>{const _0x2fb48e=_0xb90bea;let {scene:_0xdfbabb}=this[_0x2fb48e(0x28a)];if(this[_0x2fb48e(0x36c)]){let _0x328fed=_0xdfbabb[_0x2fb48e(0x33e)](this[_0x2fb48e(0x36c)]);_0x328fed&&_0x328fed[_0x2fb48e(0x1e5)](!0x1);}if(_0x1f6bf6){let _0x10643e=!!_0x1f6bf6[_0x2fb48e(0x243)],_0x5aedce=_0xdfbabb[_0x2fb48e(0x33e)](_0x1f6bf6[_0x2fb48e(0x1c9)]);_0x5aedce&&(_0x5aedce[_0x2fb48e(0x1e5)](_0x10643e),this[_0x2fb48e(0x36c)]=_0x1f6bf6[_0x2fb48e(0x1c9)]),this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],_0x10643e);}else this['_lastEditingShapeKey']=null,this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],!0x1);}));}};_0x335aa8=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d['DocsShapeService']))],_0x335aa8);let _0x38c1a1=class extends _0x477995[_0x44da2a(0x1df)]{constructor(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457){super(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457,{'componentKey':_0x4c7158,'editorUnitId':_0xa6f102});}};_0x38c1a1=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x52097a[_0x44da2a(0x17f)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x3b9)]))],_0x38c1a1);let _0x56a496=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x53f726,_0xf1be71,_0x5e8e2b,_0x4fb770){const _0x3f7474=_0x44da2a;super(),this[_0x3f7474(0x3f3)]=_0x53f726,this[_0x3f7474(0x275)]=_0xf1be71,this[_0x3f7474(0x201)]=_0x5e8e2b,this['_docDrawingShapeRenderController']=_0x4fb770,this['_initialize']();}['_initialize'](){const _0x59f7b4=_0x44da2a;this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x30c)][_0x59f7b4(0x311)](_0x5ba020=>this[_0x59f7b4(0x1e8)](_0x5ba020))),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x2d9)]['subscribe'](_0x339c83=>{const _0x139698=_0x59f7b4;_0x339c83['forEach'](_0x264b0c=>this[_0x139698(0x161)](_0x264b0c));})),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x3f3)][_0x59f7b4(0x289)](_0x2cb0d1=>{const _0x4a8381=_0x59f7b4;if(_0x2cb0d1['id']!==_0x397c2d[_0x4a8381(0x29e)]['id'])return;let {unitId:_0x521c89,shapeId:_0xa055ab}=_0x2cb0d1['params'];this['_refreshShapeData']({'unitId':_0x521c89,'subUnitId':_0x521c89,'drawingId':_0xa055ab});}));}[_0x44da2a(0x1e8)](_0x51403c){const _0x51cb5c=_0x44da2a;_0x51403c[_0x51cb5c(0x3c9)](_0xc0b678=>{const _0x39b9a2=_0x51cb5c;let _0x1d8273=this[_0x39b9a2(0x239)](_0xc0b678[_0x39b9a2(0x1e0)]);if(!_0x1d8273)return;let _0x4698b7=this[_0x39b9a2(0x201)][_0x39b9a2(0x302)](_0xc0b678);(_0x4698b7==null?void 0x0:_0x4698b7[_0x39b9a2(0x408)])===_0x199bc9[_0x39b9a2(0x1d9)][_0x39b9a2(0x418)]&&this[_0x39b9a2(0x294)][_0x39b9a2(0x1f9)](_0x4698b7,_0x1d8273['scene']);});}[_0x44da2a(0x161)](_0xc24fe1){const _0x396cb7=_0x44da2a;let _0x5a58b6=this[_0x396cb7(0x201)][_0x396cb7(0x302)](_0xc24fe1);if((_0x5a58b6==null?void 0x0:_0x5a58b6[_0x396cb7(0x408)])!==_0x199bc9[_0x396cb7(0x1d9)][_0x396cb7(0x418)])return;let _0x3995a5=this[_0x396cb7(0x239)](_0xc24fe1[_0x396cb7(0x1e0)]);if(!_0x3995a5||_0x5a58b6[_0x396cb7(0x37c)]==null)return;let _0x53f975=(0x0,_0x48b930[_0x396cb7(0x2a0)])(_0xc24fe1),_0x2f2c23=_0x3995a5[_0x396cb7(0x20a)][_0x396cb7(0x33e)](_0x53f975);_0x2f2c23&&(_0x2f2c23['setSrcRect'](_0x5a58b6[_0x396cb7(0x390)]),_0x2f2c23[_0x396cb7(0x3bf)](_0x5a58b6[_0x396cb7(0x37d)]),_0x2f2c23[_0x396cb7(0x155)](!0x0));}['_refreshShapeData'](_0x104a5b){const _0x53e93b=_0x44da2a;let _0x3bc3c6=this[_0x53e93b(0x239)](_0x104a5b[_0x53e93b(0x1e0)]);if(!_0x3bc3c6)return;let _0x3454a5=(0x0,_0x48b930[_0x53e93b(0x2a0)])(_0x104a5b),_0x9dbf5b=_0x3bc3c6[_0x53e93b(0x20a)][_0x53e93b(0x33e)](_0x3454a5);_0x9dbf5b&&(this[_0x53e93b(0x294)]['refreshShapeFillImage'](_0x9dbf5b),this['_docDrawingShapeRenderController'][_0x53e93b(0x20f)](_0x9dbf5b,{'unitId':_0x104a5b[_0x53e93b(0x1e0)],'subUnitId':_0x104a5b[_0x53e93b(0x3d5)],'shapeId':_0x104a5b['drawingId']}),_0x9dbf5b['makeDirty'](!0x0));}['_getSceneByUnitId'](_0x3451ef){const _0x35b01c=_0x44da2a;if(_0x3451ef==null)return null;let _0x775997=this['_renderManagerService'][_0x35b01c(0x1cb)](_0x3451ef),_0x3ba63c=_0x775997==null?void 0x0:_0x775997[_0x35b01c(0x20a)];return _0x3ba63c==null?null:{'scene':_0x3ba63c};}};_0x56a496=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x1,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x2,_0x48b930['IDrawingManagerService']),_0x57fca7(0x3,(0x0,_0x199bc9['Inject'])(_0x2fc97f))],_0x56a496);let _0x2e596c=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x25369e,_0x495791,_0x22bbe4,_0x327c59,_0x3f3c06,_0x5bc80c,_0x5ccab9,_0x46eac6,_0x32a525,_0x2f14c5,_0x543642){const _0x3c5fcf=_0x44da2a;super(),this[_0x3c5fcf(0x3d4)]=_0x25369e,this[_0x3c5fcf(0x25e)]=_0x495791,this['_menuManagerService']=_0x22bbe4,this[_0x3c5fcf(0x254)]=_0x327c59,this['_localeService']=_0x3f3c06,this['_commandService']=_0x5bc80c,this[_0x3c5fcf(0x201)]=_0x5ccab9,this[_0x3c5fcf(0x3e1)]=_0x46eac6,this[_0x3c5fcf(0x275)]=_0x32a525,this[_0x3c5fcf(0x330)]=_0x2f14c5,this['_shapeTextEditingService']=_0x543642,_0x23a33c(this,_0x3c5fcf(0x2fc),null),_0x23a33c(this,_0x3c5fcf(0x2f8),null),_0x23a33c(this,_0x3c5fcf(0x22d),!0x1),_0x23a33c(this,_0x3c5fcf(0x28b),0x0),_0x23a33c(this,_0x3c5fcf(0x38f),new Set()),_0x23a33c(this,_0x3c5fcf(0x193),[]),this[_0x3c5fcf(0x417)](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x3d4)]['getCurrentTypeOfUnit$'](_0x199bc9[_0x3c5fcf(0x31a)][_0x3c5fcf(0x171)])[_0x3c5fcf(0x311)](_0x4b2fff=>{const _0x3fe674=_0x3c5fcf;if(!_0x4b2fff){var _0x29b741;(_0x29b741=this['_sidebarDisposable'])==null||_0x29b741[_0x3fe674(0x396)]();return;}this['_createShapePopupMenu'](_0x4b2fff);})),this['_registerOperations'](),this['_initShapePopupMenu'](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x312)][_0x3c5fcf(0x25a)][_0x3c5fcf(0x311)](_0x54d70b=>{_0x54d70b&&this['_clearPopups']();}));}[_0x44da2a(0x417)](){const _0x102226=_0x44da2a;this[_0x102226(0x2cb)]['mergeMenu'](_0x5587fb);}[_0x44da2a(0x1dd)](){const _0x4d17d4=_0x44da2a;this[_0x4d17d4(0x3d4)][_0x4d17d4(0x301)](_0x199bc9['UniverInstanceType'][_0x4d17d4(0x171)])[_0x4d17d4(0x3c9)](_0x20fc54=>this['_createShapePopupMenu'](_0x20fc54));}['getShapePopupMenus'](_0x4c8936,_0x49e72c,_0xf49ce2,_0x47cec9){const _0x88501e=_0x44da2a;return[{'label':_0x88501e(0x232),'index':0x0,'commandId':_0x39ec2b['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':_0x47cec9===_0x199bc9[_0x88501e(0x1d9)][_0x88501e(0x20b)]},{'label':_0x88501e(0x153),'index':0x1,'commandId':_0xe167a4['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x4c8936,'drawings':[{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2}]},'disable':!0x1},{'label':_0x88501e(0x192),'index':0x2,'commandId':_0x36cd5a['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':!0x1}];}['_getShapeInfo'](_0x10565c,_0x459b1c,_0x214559){const _0x178ede=_0x44da2a;let _0x3b48e0=this[_0x178ede(0x254)]['getShapeTypeById'](_0x10565c,_0x459b1c,_0x214559),_0x5d17f2=this[_0x178ede(0x254)][_0x178ede(0x35b)](_0x10565c,_0x459b1c,_0x214559);return _0x3b48e0!==void 0x0&&_0x5d17f2!==void 0x0?{'shapeData':_0x5d17f2,'shapeId':_0x214559,'shapeType':_0x3b48e0,'unitId':_0x10565c,'subUnitId':_0x459b1c,'version':this[_0x178ede(0x28b)],'disableShapeOption':!0x1}:null;}[_0x44da2a(0x2c2)](_0x4e7c18){const _0x535b33=_0x44da2a;if(!_0x4e7c18)return;let _0x26c36e=_0x4e7c18[_0x535b33(0x2a6)]();this['_renderManagerService']['has'](_0x26c36e)&&!this[_0x535b33(0x38f)][_0x535b33(0x22c)](_0x26c36e)&&(this['_popupMenuListener'](_0x26c36e),this[_0x535b33(0x38f)][_0x535b33(0x3d7)](_0x26c36e));}[_0x44da2a(0x2db)](){const _0x50f5ee=_0x44da2a;this[_0x50f5ee(0x193)][_0x50f5ee(0x3c9)](_0x415231=>_0x415231['dispose']()),this[_0x50f5ee(0x193)][_0x50f5ee(0x268)]=0x0;}[_0x44da2a(0x15f)](_0x49c35e){const _0x38ed93=_0x44da2a;var _0x4ea345;let _0x3bd42f=(_0x4ea345=this[_0x38ed93(0x275)][_0x38ed93(0x1cb)](_0x49c35e))==null?void 0x0:_0x4ea345[_0x38ed93(0x20a)],_0x1a6d51=_0x3bd42f==null?void 0x0:_0x3bd42f['getTransformerByCreate']();!_0x3bd42f||!_0x1a6d51||(this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2a4)]['subscribe'](()=>{const _0x1413cc=_0x38ed93;let _0x18032d=_0x1a6d51['getSelectedObjectMap']();if(this[_0x1413cc(0x2db)](),this['_isOpenedShapeEditPanel']||_0x18032d[_0x1413cc(0x402)]>0x1)return;let _0x17c4fd=_0x18032d[_0x1413cc(0x291)]()[_0x1413cc(0x2a9)]()[_0x1413cc(0x38a)];if(!_0x17c4fd)return;let _0x3da6e1=this[_0x1413cc(0x201)][_0x1413cc(0x28c)](_0x17c4fd[_0x1413cc(0x377)]);if(!_0x3da6e1||_0x3da6e1['drawingType']!==_0x199bc9[_0x1413cc(0x1d9)][_0x1413cc(0x418)])return;let {unitId:_0x5a036e,subUnitId:_0x5dcc78,drawingId:_0x3a40db,drawingType:_0x5a6259}=_0x3da6e1,_0x4d4537=this['_getShapeInfo'](_0x5a036e,_0x5dcc78,_0x3a40db);if(!_0x4d4537)return;let _0x424ddc=this[_0x1413cc(0x3e1)][_0x1413cc(0x1f6)](_0x17c4fd,{'componentKey':_0x9b7e0c,'direction':'vertical-center','offset':[0x0,_0x477995[_0x1413cc(0x1fc)]],'extraProps':{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db,'drawingType':_0x5a6259,'shapeType':_0x4d4537['shapeType'],'shapeData':_0x4d4537['shapeData']}},_0x5a036e);this[_0x1413cc(0x193)][_0x1413cc(0x34b)](this[_0x1413cc(0x19c)](_0x424ddc)),this[_0x1413cc(0x201)]['getFocusDrawings']()['find'](_0x5dd1af=>_0x5dd1af[_0x1413cc(0x1e0)]===_0x5a036e&&_0x5dd1af[_0x1413cc(0x3d5)]===_0x5dcc78&&_0x5dd1af[_0x1413cc(0x3a1)]===_0x3a40db)||this[_0x1413cc(0x201)]['focusDrawing']([{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db}]);})),this['disposeWithMe'](_0x1a6d51[_0x38ed93(0x267)]['subscribe'](()=>{const _0x1872cf=_0x38ed93;this[_0x1872cf(0x2db)](),this[_0x1872cf(0x330)][_0x1872cf(0x341)](_0x199bc9[_0x1872cf(0x35f)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x1bc)]['subscribe'](()=>{const _0x610e58=_0x38ed93;this[_0x610e58(0x2db)]();})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2e8)][_0x38ed93(0x311)](()=>{const _0x27ccb2=_0x38ed93;this[_0x27ccb2(0x2db)]();})));}[_0x44da2a(0x159)](){const _0x466bc9=_0x44da2a;this[_0x466bc9(0x19c)](this[_0x466bc9(0x3f3)]['onCommandExecuted'](_0x4195b7=>{const _0x35346e=_0x466bc9;if(_0x4195b7['id']===_0x39ec2b['id']){let {unitId:_0x1a8f62,subUnitId:_0x2f8adc,drawingId:_0xf3ec15}=_0x4195b7['params'];this[_0x35346e(0x28b)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x1a8f62,_0x2f8adc,_0xf3ec15),this[_0x35346e(0x2db)](),this[_0x35346e(0x25b)]();}if(_0x4195b7['id']===_0x36cd5a['id']&&(this[_0x35346e(0x2f8)]=null,this[_0x35346e(0x31b)]()),_0x4195b7['id']===_0x397c2d[_0x35346e(0x29e)]['id']){let {unitId:_0x38b3cf,shapeId:_0x544ebb}=_0x4195b7[_0x35346e(0x2f9)];if(this[_0x35346e(0x2f8)]&&this[_0x35346e(0x2f8)]['shapeId']===_0x544ebb){let _0x1fa186=this['_getShapeInfo'](_0x38b3cf,this[_0x35346e(0x2f8)][_0x35346e(0x3d5)],_0x544ebb);_0x1fa186&&(this['_shapeEditPanelVersion']+=0x1,_0x1fa186[_0x35346e(0x3c0)]=this['_shapeEditPanelVersion'],this[_0x35346e(0x2f8)]=_0x1fa186,this[_0x35346e(0x22d)]&&this['_openShapeEditPanel']());}}})),this[_0x466bc9(0x19c)](this[_0x466bc9(0x201)][_0x466bc9(0x1de)][_0x466bc9(0x311)](_0xbda4c1=>{const _0x26717b=_0x466bc9;if(this[_0x26717b(0x22d)]===!0x1)return;if(_0xbda4c1[_0x26717b(0x268)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0xbda4c1['length']===0x1&&_0xbda4c1[0x0][_0x26717b(0x408)]===_0x199bc9['DrawingTypeEnum'][_0x26717b(0x418)]&&(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)])){this['_openShapeEditPanel']();return;}let _0x586c38=_0xbda4c1[_0x26717b(0x191)](_0x205f78=>_0x205f78[_0x26717b(0x408)]===_0x199bc9[_0x26717b(0x1d9)]['DRAWING_SHAPE']);if(_0xbda4c1[_0x26717b(0x268)]>0x1&&_0x586c38[_0x26717b(0x268)]===_0xbda4c1['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0]['unitId'],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x25b)]();return;}}else{if(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x2f8)][_0x26717b(0x39f)]=!0x0,this[_0x26717b(0x25b)]();return;}}this[_0x26717b(0x31b)]();}));}[_0x44da2a(0x25b)](){const _0x31ea31=_0x44da2a;this[_0x31ea31(0x2f8)]&&(this['_sidebarDisposable']=this['_sidebarService']['open']({'id':_0x592432,'header':{'title':this[_0x31ea31(0x3ad)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x592432,...this[_0x31ea31(0x2f8)]},'onClose':()=>{const _0x78d222=_0x31ea31;this[_0x78d222(0x201)][_0x78d222(0x37f)](null),this[_0x78d222(0x330)][_0x78d222(0x341)](_0x199bc9[_0x78d222(0x35f)],!0x1),this[_0x78d222(0x2fc)]=null;}}),this[_0x31ea31(0x22d)]=!0x0);}[_0x44da2a(0x31b)](){const _0x59dcf6=_0x44da2a;this[_0x59dcf6(0x22d)]=!0x1,this['_sidebarService'][_0x59dcf6(0x2e1)](_0x592432),this[_0x59dcf6(0x2fc)]=null,this['_contextService']['setContextValue'](_0x199bc9[_0x59dcf6(0x35f)],!0x1),this[_0x59dcf6(0x201)][_0x59dcf6(0x37f)](null);}};_0x2e596c=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x3de)])),_0x57fca7(0x2,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x36b)])),_0x57fca7(0x5,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x6,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x7,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x8,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x9,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0xa,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044))],_0x2e596c);let _0x5b3154=class extends _0x199bc9[_0x44da2a(0x23c)]{constructor(_0x100f8f=_0x13277c,_0x268377,_0xa6acaf,_0x4d68ed,_0xa1bc91){const _0xcc0145=_0x44da2a;super(),this[_0xcc0145(0x180)]=_0x100f8f,this['_injector']=_0x268377,this['_commandService']=_0xa6acaf,this[_0xcc0145(0x37a)]=_0x4d68ed,this['_renderManagerService']=_0xa1bc91;let {menu:_0x7c8e32,..._0x540e1a}=(0x0,_0x199bc9[_0xcc0145(0x29a)])({},_0x13277c,this['_config']);_0x7c8e32&&this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x238),_0x7c8e32,{'merge':!0x0}),this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x1ea),_0x540e1a),this[_0xcc0145(0x340)]();}[_0x44da2a(0x35a)](){const _0x2702d5=_0x44da2a;this[_0x2702d5(0x204)]['add']([_0x3e2894]),this[_0x2702d5(0x204)]['get'](_0x3e2894),(0x0,_0x199bc9['registerDependencies'])(this[_0x2702d5(0x204)],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x5df118],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]),this[_0x2702d5(0x16f)]();}['onReady'](){const _0x420bf0=_0x44da2a;this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x5df118]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)]['UNIVER_DOC'],[_0x335aa8]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x38c1a1]),(0x0,_0x199bc9[_0x420bf0(0x380)])(this['_injector'],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]);}[_0x44da2a(0x340)](){const _0x7d77ad=_0x44da2a;[_0x5e21da,_0x36cd5a,_0x39ec2b,_0x3ff923,_0x43474b,_0x33706f][_0x7d77ad(0x3c9)](_0x4201c6=>this[_0x7d77ad(0x19c)](this[_0x7d77ad(0x3f3)][_0x7d77ad(0x16b)](_0x4201c6)));}['_initUIPart'](){const _0x3ba8e5=_0x44da2a;let _0x1b058d=this['_injector'],_0x331aab=_0x1b058d['get'](_0x314b7e[_0x3ba8e5(0x3a6)]);this[_0x3ba8e5(0x19c)](_0x331aab[_0x3ba8e5(0x407)](_0x314b7e[_0x3ba8e5(0x271)][_0x3ba8e5(0x198)],()=>(0x0,_0x314b7e[_0x3ba8e5(0x1c6)])(_0x22c6a9,_0x1b058d)));}};_0x23a33c(_0x5b3154,_0x44da2a(0x27f),_0x199bc9[_0x44da2a(0x31a)][_0x44da2a(0x171)]),_0x23a33c(_0x5b3154,'pluginName',_0x44da2a(0x41f)),_0x23a33c(_0x5b3154,_0x44da2a(0x22b),_0x5539cb),_0x23a33c(_0x5b3154,'version',_0x2041b4),_0x5b3154=_0x5e6390([(0x0,_0x199bc9[_0x44da2a(0x22a)])(_0xe2a57e[_0x44da2a(0x1d3)],_0x52097a[_0x44da2a(0x279)],_0x48b930[_0x44da2a(0x32e)],_0x1a42e8[_0x44da2a(0x2d4)],_0x4bd9c2[_0x44da2a(0x2cc)],_0xadaed7['UniverDocsUIPlugin'],_0x377eec[_0x44da2a(0x3e2)],_0x14557e[_0x44da2a(0x36f)],_0x397c2d['UniverDocsShapePlugin'],_0x477995[_0x44da2a(0x233)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x172)])),_0x57fca7(0x2,_0x199bc9['ICommandService']),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x214)]),_0x57fca7(0x4,_0x4bd9c2[_0x44da2a(0x3f8)])],_0x5b3154),_0x495beb[_0x44da2a(0x203)]=_0x5587fb,Object[_0x44da2a(0x264)](_0x495beb,_0x44da2a(0x32a),{'enumerable':!0x0,'get':function(){return _0x5b3154;}});}));function _0x4415(){const _0x4583af=['getObjectListPanelLabels','360ezBgxO','disableShapeOption','isInGroup','drawingId','docs-shape-ui.ribbon.shape-format.style-control','_getActiveDrawingParam','endArrow','_activeShapeAdjustPointList','IUIPartsService','IconManager','docs-shape-ui.objectListPanel.open','setOnSavingEditorData','docs-shape-ui.textWrap.inFrontText','disableObjectsEvent','setFormulaPresentation','_localeService','BEHIND_TEXT','startWith','ContextMenuPosition','_isShouldShowDrawingShapeAdjust','object-layers-icon','UniverDrawing','idSuffix','1109705GTayVD','getDrawingEffectBounds','ArrangeTypeEnum','getRealBound','DocSelectionRenderService','getDrawingOrder','refreshAdjustControls','complete','@univerjs/ui','IDrawingManagerService','setPrstGeom','version','isLineShape','some','unsubscribe','doc.shape.text.float-menu','default','ShapeStyleRibbonControl','SetDocDrawingArrangeCommand','_setTransForm','forEach','drawFormulaShapeAnimationLayers','react','trim','paragraphs','CURSOR_TYPE','clone','buildClipPath','_activeShapeModel','ShapeDefaultConfig','UpdateDocShapeDataCommand','_univerInstanceService','subUnitId','BehaviorSubject','add','FromArray','_adjName','RENDER_CLASS_TYPE','classType','DocParagraphMenuService','objects','ISidebarService','updateDocumentStyle','angle','_docCanvasPopManagerService','UniverShapeEditorPlugin','name','_adjHandlerPointerMove','Shape','text','reverse','TextWrappingStyle','@univerjs/docs-drawing-ui','getEditing','presetId','localeService','shape-editor-ui.arrange.forward','src','extraProps','getFocusDrawings','_createShapeAdjustControls','getAdjustInfoByName','_commandService','getDrawingSearch','_updateShapeAdjustControls','_getShapeAdjustPointListById','text-wrap-shape-icon','IRenderManagerService','front','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','Transform','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','IUniverInstanceService','useDependency','adjName','subscribeEvent','segmentId','size','@univerjs-pro/docs-shape','tag','createShapeFormulaDocument','ancestorTransform','registerComponent','drawingType','MoveUpIcon','_clipService','Image','666769EiWDgT','left','doc.shape.floating-toolbar','getImage','paragraphId','indexOf','gradientEndColor','move-down-icon','IURLImageService','docs-shape-ui.ribbon.shape-format.formula-control','clearAdjustValue','_initMenu','DRAWING_SHAPE','_loadShapePictureFill','UniverProDocsShapeUi','call','with','docs-shape-ui.ribbon.shape-format.arrange-back','get','DOCS_SHAPE_UI_PLUGIN','getShapeQuickStyleType','isRender','docs-shape-ui.deleteShape','1364JPBpax','makeDirty','getObjectListPanelTypeName','UniverCore','ShapeQuickStyleGallery','_registerOperations','jsxs','_initEvents','@univerjs/engine-render','sin','shouldClipShapeTextDocument','_popupMenuListener','BottomIcon','_updateShape','getDrawingEditable','popup','isRichText','colorChannel1','_isStartAdjusting','shape-format-setting-icon','doc.operation.open-shape-object-list-panel','UNIVER_SHEET','presentationChanged$','registerCommand','setCanUseShapeClip','232560wkDmXY','_baseShapeTop','_initUIPart','5301065CbhpKR','UNIVER_DOC','Injector','cloneShapeDataForType','_registerDrawingTransformHandler','_drawRichTextLayer','ShapeGroupEnum','stopPropagation','_unitId','ShapeFillEnum','actualHeight','enhanceParams','@univerjs-pro/shape-editor-ui','url(#$1','title','DocSelectionManagerService','_config','invert','ImageSourceTypeEnum','getMenuHiddenObservable','animationEnabled','shapeText','docs-shape-ui.crop.shape','changeEnd$','VIEW_MAIN','bottom-icon','substring','_baseShapeWidth','docs-shape-contextual-ribbon','normalizeShapeTextModel','behindDoc','969548qXQXRx','resolveActiveShapeQuickStylePresetId','filter','docs-shape-ui.hidePanel','_disposePopups','DRAWING_IMAGE','shapeId','Disposable','DocsShapeService','CONTENT','getUnit','DocDrawingTextWrap','docs-shape-ui.quickStyles','disposeWithMe','doc.shape.edit.panel','docs-shape-ui.textWrap.behindText','resolveShapeTextDocumentRenderLayout','set','panel','getTextModel','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','3kYazPH','TopmostIcon','@univerjs/drawing-ui','OPERATION','setAdjustValueByName','getSnapshot','sectionCanvas','_initEditingParams','ShapeModel','createInternalEditorID','animateFormulaPresentation','resolveShapeTextEditorBehaviorShapeData','onPointerMove$','color','1.0.0-beta.1','RibbonInsertGroup','UpdateDrawingDocTransformCommand','startArrow','debounceRefreshControls','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','_activeAdjustInfo','strokeWidth','attrs','IDocDrawingService','changing$','DocDrawingPosition','contentVerticalOffset','getState','SetDrawingSelectedOperation','useFormulaShapeToolbar','doc.operation.update-shape-type','_subUnitId','1537082GgjjHs','docs-shape-format-font-family-menu','connectInjector','fill','DRAWING_OBJECT_LAYER_INDEX','shapeKey','refreshShapeFillImage','getRenderUnitById','HorizontalAlign','current','enableObjectsEvent','react/jsx-runtime','_getShapeAdjustInfosById','reduce','generateRandomId','UniverLicensePlugin','_baseShapeLeft','_update','SELECTOR','setSrcRect','_drawShapeText','DrawingTypeEnum','find','updateShapeFillImage','_transform','_initShapePopupMenu','focus$','ShapeTextFloatMenuRenderControllerBase','unitId','layoutType','_drawRichText','_adjustPointObjects','#2563EB','setEditing','random','activeTarget','_insertShapes','_toScenePoint','docs-shape-ui.config','error','setShapeProps','UniverIcon','onTransformChange$','assign','doc.shape.object-list.panel','BooleanNumber','_props','toStringTag','function','evenodd','attachPopupToObject','_formulaAnimation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','renderDrawingShape','UniverProDocsShape','flipY','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','WRAP_SQUARE','setCollapsedIds','PositionedObjectLayoutType','getTextStyle','_drawingManagerService','calculate','DocsShapeUIMenuSchema','_injector','remove$','MenuItemType','ShapeArrowSizeEnum','getTransformerByCreate','_updateSrcRectByTransform','scene','DRAWING_DOM','useMemo','fillImageSourceType','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','refreshFormulaPresentation','getUnitType','useRef','Medium','onSavingEditorData$','IConfigService','UniverDrawingUi','syncExecuteCommand','prototype','_initSelection','symbol','getMatrix','clearAdjustControls','updateContext','asObservable','transformVector2SceneCoord','updateDocumentDataMargin','UUID','FormulaShapeAnimationController','@univerjs/docs-drawing','6LMIlUY','docs-shape-text-','MoveDownIcon','ShapeTypeEnum','_attachAdjustEvent','docs-shape-ui.objectListPanel.title','0\x200\x2020\x2020','DependentOn','packageName','has','_isOpenedShapeEditPanel','top','getViewports','register','moveRange','docs-shape-ui.openPanel','UniverShapeEditorUIPlugin','OBJECT_LIST_FLOATING_SECTION_ID','DocumentViewModel','WRAP_NONE','docs-shape-ui.ribbon.shape-format.arrange-forward','menu','_getSceneByUnitId','Inject','onPointerUp$','Plugin','getParagraphContentStartOffset','Large','replace','clip-','getActualSize','doc.operation.open-doc-shape-format-panel','visible','doc.shape.picker.component','setPresentation','IN_FRONT_OF_TEXT','ComponentManager','0\x200\x2016\x2016','getImageSourceCache','isEditing','executeCommand','M4.2\x208.3H6.8','M4.2\x205.5H10.5','getTransformer','setFillImage','ICommandService','shape-editor-ui.toolbar.changeShape','engine','doc.operation.close-doc-shape-format-panel','_docsShapeService','@univerjs/drawing','preValue','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','actions','calcAdjValues','editingParams$','_openShapeEditPanel','width','hidden','_sidebarService','_loadAndSetImage','svg','shapeData','IMenuManagerService','ShapeFormatSettingIcon','defineProperty','_formulaShapes','getObjectListPanelSectionIdForDrawingType','clearControl$','length','_toVisualAdjustPoint','SolidFill','applyPoint','getDrawingData','PaintIcon','transformByState','ShapeRenderModeEnum','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','BuiltInUIPart','getShapeTextRect','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','SHAPE_TEXT','_renderManagerService','docs-shape-ui.formatShape','bottom','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','UniverDocsPlugin','resolveFormulaShapeAutoFitSize','clip','#3B82F6','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','_imageIoService','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','docs-shape-ui.textWrap.square','docs-shape-ui.textWrap.topAndBottom','TRUE','dataModel','docs-shape-ui.shape-format.style-ribbon-control','RemoveDocDrawingCommand','ObjectLayersIcon','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','onCommandExecuted','_context','_shapeEditPanelVersion','getDrawingOKey','decorate','getActiveTextRange','shape-text-','open','values','_registerDrawingFocusChangeHandler','onPointerDown$','_docDrawingShapeRenderController','UniverUi','ShapePickerDropdown','isHorizontal','_updateAdjustControlPositions','UpdateDocDrawingMetadataCommand','merge','GROUP','ShapeTextFloatToolbar','wrapStrategy','UpdateDocShapeDataMutation','DOC_PARAGRAPH_T_INSERT_MENU_ID','getDrawingShapeKeyByDrawingSearch','behindText','height','LAYOUT','createControl$','ShapeEditPanel','getUnitId','extensionGroups','rect','next','below','isHit','Arrow','sheet.image-clip.shape-picker.component','@univerjs/docs','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','setShapeData','_clearShapeAdjustControls','getShapeTypeById','CommandType','onDblclick$','exports','0\x200\x2017\x2016','isolated','round','useEffect','_iconManager','startOffset','entries','transformForAngle','IRibbonService','_draw','_getFocusedShapeAtPoint','Circle','_createShapePopupMenu','_componentManager','@univerjs-pro/docs-shape-ui','applyQuickStyleToShapeData','isDrawingObject','formulaBinding','docs-shape-ui.insertShape','ObjectListPanelBase','offsetX','_menuManagerService','UniverRenderEnginePlugin','getShapeType','LEFT','_activeShapeId','save','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','DocumentSkeleton','Line','UniverDrawingUIPlugin','flipX','docs-shape-ui.textWrap.inline','adjHandleSize','_renderWithCache','update$','docs-shape-ui.ribbon.shape-format','_clearPopups','forwardRef','includes','OFFSET','_urlImageService','ShapeArrowTypeEnum','close','FOCUSING_SHAPE_TEXT_EDITOR','getDrawingPoints','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','docs-shape-ui.ribbon.shape-format.arrange-backward','viewBound','_hide','changeStart$','ContextMenuGroup','createElement','stroke','hideContextualTab','adjHandleFill','Fragment','1em','buildShapeTextDataUpdate','DocCanvasPopManagerService','getBody','shape-editor-ui.toolbar.quickStyles','_getShapeInfo','createShapeTextBoxShapeData','resetCursor','setCursor','_activeShapeInfo','params','_editingParams$','PictureFill','_sidebarDisposable','beginPath','currentColor','UniverProShapeEditor','selectable','getAllUnitsForType','getDrawingByParam','registerRenderModule','BUTTON','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','clearActiveDrawingObjects','endOffset','showContextualTab','INLINE','fillType','currentAdjustValues','add$','http://www.w3.org/2000/svg','getShapeData','render','ShapeLineTypeEnum','subscribe','_shapeTextEditingService','constructor','object','.below','mask','IContextService','getShapeQuickStylePreset','setFallbackVisible','UniverInstanceType','_closeShapeEditPanel','string','ShapeTextRibbonControl','INSERT_BELLOW_MENU_ID','resolveShapeTextEditorWrapStrategy','docs-shape-ui.shape-format.text-ribbon-control','@univerjs-pro/shape-editor','backward','cos','delete','getShapeModel','_formulaKey','ShapeFormulaRibbonControl','div','getCanvasElement','UniverDocsShapeUIPlugin','_ribbonService','doc.operation.apply-shape-quick-style','jsx','UniverDrawingPlugin','_transformCalculateSrcRect','_contextService','ShapeFloatingToolbar','setConfig','useState','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','None','fillImageSource','doc.image-clip.shape-picker.component','none','multiply','univer-box-border\x20univer-px-4\x20univer-text-sm','ShapeFloatingToolbarService','Observable','topmost-icon','getObjectIncludeInGroup','getDrawingVisible','_initCommands','setContextValue','getShapeTextData','image','WRAP_TOP_AND_BOTTOM','58752dfRKYw','plainShapeTextToDocumentData','iterator','DrawingCommonPanel','resize','isConnectorShape','push','registerClipDelegate','children','getAdjustValueByName','getPresentation','getSelfOrHeaderFooterModel','translateWithPrecision','EMPTY_PARAGRAPH_MENU_ID','map','description','shapeModel','Module','displayName','_applyFormulaAutoFitSize','canvasElement','onStarting','getShapeDataById','unregister','TOP','resolveShapeContextualRibbonHostMode','FOCUSING_COMMON_DRAWINGS','onload','_baseShapeHeight','completeEditing','ShapePickerPanel','_shapeFormulaService','_addShapeAdjustControl','_registerComponents','getVisible','_registerImageShapeClipDelegate','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','_onSavingEditorData$','LocaleService','_lastEditingShapeKey','_shapeId','rxjs','UniverDocsDrawingUIPlugin','doc-shape-adjust-point-','_init','IImageIoService','_shapeFloatingToolbarService','useObservable','shapeType','MenuManagerPosition','oKey','create','path','_configService','doc','transform','prstGeom','docs-shape-ui.ribbon.shape-format.text-control','focusDrawing','touchDependencies','MEDIA','fontFamily','React','getScene','presentation','clipHeight','forward','_getActiveDrawingShape','_visible','value','toDisposable','contentHeight','COMMAND','back','_initializedShapePopupMenu','srcRect','clipByShape','UniverProShapeEditorUi','_drawSimpleText','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','PARAGRAPH','dispose','DocsShapeTextEditorContainer','keys','getParent','horizontal','xlink:href','getDrawingTypeNameKey'];_0x4415=function(){return _0x4583af;};return _0x4415();}