@univerjs-pro/docs-shape-ui 1.0.0-beta.0 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/operations/shape-ribbon.operation.d.ts +13 -0
- package/lib/types/const.d.ts +7 -0
- package/lib/types/controllers/doc-shape-printing.controller.d.ts +12 -0
- package/lib/types/controllers/shape-contextual-ribbon.controller.d.ts +18 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +5 -4
- package/lib/types/controllers/ui.controller.d.ts +0 -3
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/menu/schema.d.ts +1 -0
- package/lib/types/menu/shape-format-ribbon.menu.d.ts +25 -0
- package/lib/types/plugin.d.ts +1 -0
- package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +3 -4
- package/lib/types/views/shape-format-ribbon/DocsShapeFormatRibbonControls.d.ts +18 -0
- package/lib/types/views/shape-format-ribbon/DocsShapeWrappingStyleIcons.d.ts +8 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3be8(_0x25c090,_0x5085cf){_0x25c090=_0x25c090-0x13a;const _0x18941a=_0x1894();let _0x3be876=_0x18941a[_0x25c090];return _0x3be876;}function _0x1894(){const _0x11b321=['round','Rect','9125676hgwFFA','ShapeFillEnum','docs-shape-ui.objectListPanel.open','IConfigService','startIndex','sheet.image-clip.shape-picker.component','@univerjs-pro/docs-shape-ui','_baseShapeLeft','isConnectorShape','prstGeom','_closeShapeEditPanel','registerComponent','_activeShapeInfo','merge','dispose','mask','getShapeData','drawingId','useEffect','setPrstGeom','Large','clip','clear','adjHandleFill','subUnitId','getMatrix','unitId','DocDrawingTextWrap','_initUIPart','paragraphId','useFormulaShapeToolbar','get','UniverDocsDrawing','jsx','getOwnPropertyDescriptor','WRAP_SQUARE','getSelfOrHeaderFooterModel','setCursor','UniverCore','type','getDrawingPoints','_univerInstanceService','doc.shape.object-list.panel','getDrawingSearch','fontSize','endOffset','offsetY','isHorizontal','extraProps','_initSelection','top','canvas','INSERT_BELLOW_MENU_ID','isRenderLinePointsMode','map','IImageIoService','_imageIoService','length','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_registerOperations','_loadShapePictureFill','height','update$','getParagraphContentStartOffset','_drawRichText','getActiveViewportByCoord','onSavingEditorData$','DRAWING_IMAGE','@univerjs-pro/shape-editor','wrapStrategy','value','subscribeEvent','amd','forEach','ShapeModel','_updateShapeAdjustControls','setFormulaPresentation','visible','transformVector2SceneCoord','save','srcRect','_adjustPointObjects','packageName','params','_shapeTextEditingService','title','UniverDocsUIPlugin','SetDrawingSelectedOperation','colorChannel1','complete','onload','_transform','_activeAdjustInfo','localeService','_sidebarDisposable','composeMatrix','MenuItemType','disableShapeOption','CROSSHAIR','_adjHandlerPointerUp','_drawRichTextLayer','Shape','getDrawingOKey','setShapeProps','ShapeLineTypeEnum','isRender','BehaviorSubject','DOC_PARAGRAPH_T_INSERT_MENU_ID','ShapeEditPanel','8231720HMRWvN','image','tag','getAdjustValueByName','getShapeModel','_activeShapeId','isDrawingObject','_initEvents','rect','getState','_adjHandlerPointerMove','fill','onerror','_unitId','_init','IMenuManagerService','editingParams$','ShapePickerPanel','docs-shape-ui.config','idSuffix','.below','_getShapeInfo','_commandService','DOCS_COMPONENT_MAIN_LAYER_INDEX','_contextService','doc','ShapeDefaultConfig','dataModel','setOnSavingEditorData','setPresentation','DocParagraphMenuService','isEditing','_renderWithCache','VerticalAlign','focus$','debounceRefreshControls','UniverShapeEditorPlugin','DRAWING_OBJECT_LAYER_INDEX','stroke','SHAPE_EDITOR_TRANSFORMER_CONFIG','registerDependencies','clone','doc.shape.picker.component','shape-text-','DRAWING_DOM','ContextMenuGroup','UNIVER_SHEET','docs-shape-ui.crop.shape','getDrawingShapeKeyByDrawingSearch','OFFSET','docs-shape-ui.textWrap.topAndBottom','getObjectIncludeInGroup','makeDirty','shouldAllowShapeTextEditorHostSizeShrink','Medium','displayName','DEFAULT_DOC_SHAPE_HEIGHT','UpdateDrawingDocTransformCommand','Path','_initCommands','resize','description','layoutType','_createShapePopupMenu','enableObjectsEvent','getShapeType','onPointerDown$','has','toPrimitive','restore','clearActiveDrawingObjects','ShapeTextFloatMenuRenderControllerBase','clipTop','getAutoFitPresentations','constructor','UniverDrawingUIPlugin','react/jsx-runtime','drawWith','_setTransForm','next','docs-shape-ui.formatShape','SolidLine','popup','UniverDrawing','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','IUIPartsService','resolveShapeTextDocumentRenderLayout','_initializedShapePopupMenu','UpdateDocShapeDataCommand','http://www.w3.org/2000/svg','doc.shape.text.float-menu','UniverInstanceType','@univerjs-pro/docs-shape','UniverDocsPlugin','hidden','6494700LAEqqb','updateDocumentDataMargin','DrawingTypeEnum','@univerjs/docs-drawing','resolveFormulaShapeAutoFitSize','TRUE','formulaBinding','panel','drawFormulaShapeAnimationLayers','formulaPresentation','getDrawingTypeNameKey','registerClipDelegate','getDrawingByParam','changeEnd$','call','replace','LocaleService','Arrow','ShapeArrowTypeEnum','set','_draw','pluginName','_baseShapeTop','DocsShapeService','_popupMenuListener','_openShapeEditPanel','_docDrawingShapeRenderController','_docCanvasPopManagerService','_urlImageService','isInGroup','ShapeIcon','flipX','SELECTOR','getBody','contentHeight','behindText','iterator','register','syncExecuteCommand','render','animationEnabled','onCommandExecuted','DRAWING_SHAPE','completeEditing','setContextValue','transformByState','extensionGroups','3864152hnAhrC','GROUP','segmentId','getActiveTextRange','_config','random','_isShouldShowDrawingShapeAdjust','_disposePopups','currentColor','ShapeTextEditorContainer','defs','COMMAND','shapeText','registerRenderModule','attachPopupToObject','_clipService','below','plainShapeTextToDocumentData','setSrcRect','isRichText','assign','_adjName','FOCUSING_COMMON_DRAWINGS','PictureFill','shapeModel','applyPoint','TOP','values','DocShapeAnchorPosition','selectable','currentAdjustValues','useMemo','getObjectListPanelLabels','INLINE','Image','DocsShapeUIMenuSchema','getDrawingOrder','touchDependencies','_clearShapeAdjustControls','@univerjs/docs-ui','width','DocumentViewModel','create','object-layers-icon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','connectInjector','_onSavingEditorData$','current','forward','getUnit','angle','UniverRenderEnginePlugin','IContextService','UniverDocsDrawingUi','useDependency','UpdateDocDrawingWrappingStyleCommand','_baseShapeHeight','indexOf','ArrangeTypeEnum','memo','doc.shape.edit.panel','RemoveDocDrawingCommand','startArrow','getActualSize','427422cNllYx','UniverProDocsShape','_registerDrawingFocusChangeHandler','isLineShape','_initMenu','reverse','_registerComponents','src','scene','object','ShapeGroupEnum','refreshFormulaPresentation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','startOffset','1em','IUniverInstanceService','Circle','text','UpdateDocShapeDataMutation','_shapeEditPanelVersion','641866ayHWOg','registerCommand','FOCUSING_SHAPE_TEXT_EDITOR','generateRandomId','@univerjs/engine-render','left','getMenuHiddenObservable','_sidebarService','_initEditingParams','disposeWithMe','includes','transform','_editingParams$','_drawingType','fillImageSource','refreshAdjustControls','DrawingCommonPanel','horizontal','text-wrap-shape-icon','doc.operation.open-doc-shape-format-panel','0\x200\x2016\x2016','SHAPE','_attachAdjustEvent','_configService','translateWithPrecision','clipByShape','#2563EB','UUID','_registerDrawingTransformHandler','add','menu','_updateShape','ShapeArrowSizeEnum','transformForAngle','IDocDrawingService','getObjectListPanelTypeName','add$','_toScenePoint','drawingType','_formulaAnimation','_injector','UniverProEngineShape','univerjs-icon\x20univerjs-icon-','getEditing','fillType','substring','_drawingManagerService','_props','_createShapeAdjustControls','close','ShapeFloatingToolbar','IDrawingManagerService','setFillImage','getFocusDrawings','open','TextWrappingStyle','_releaseRenderCache','setShapeData','Injector','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','changing$','setCanUseShapeClip','div','oKey','SolidFill','data','classType','insertGroupObject','_formulaKey','toDisposable','_clearPopups','_registerIcons','getAdjustInfoByName','_subUnitId','_getActiveDrawingParam','doc.command.menu-insert-shape','IRenderManagerService','Inject','LEFT','_transformCalculateSrcRect','BUTTON','_activeShapeModel','addObject','getShapeTextData','DocsShapeTextEditorContainer','OBJECT_LIST_FLOATING_SECTION_ID','onTransformChange$','fontFamily','with','draw','entries','flipY','getObjectListPanelSectionIdForDrawingType','ICommandService','@univerjs/ui','WRAP_TOP_AND_BOTTOM','preValue','objects','parent','getParent','resetCursor','CURSOR_TYPE','none','DocumentDataModel','ComponentManager','createElement','React','_updateSrcRectByTransform','name','URL','_shapeFormulaService','svg','rxjs','Module','doc.operation.open-shape-object-list-panel','strokeWidth','docs-shape-ui.textWrap.inFrontText','RENDER_CLASS_TYPE','defineProperty','@univerjs/docs-drawing-ui','getDrawingEditable','_menuManagerService','calculate','@univerjs/drawing-ui','version','getShapeDataById','doc.image-clip.shape-picker.component','_getActiveDrawingShape','getUnitId','endArrow','createShapeFormulaDocument','UpdateDocDrawingMetadataCommand','renderDrawingShape','UniverProDocsShapeUi','RibbonInsertGroup','_activeShapeAdjustPointList','Fragment','VIEWPORT_KEY','UniverProShapeEditorUi','docs-shape-ui.textWrap.square','enhanceParams','path','adjHandleSize','ContextMenuPosition','moveRange','_localeService','docs-shape-ui.deleteShape','_renderManagerService','trim','shapeId','MEDIA','UniverEngineRender','error','children','addImageSourceCache','vertical','cos','HorizontalAlign','onPointerMove$','some','DocCanvasPopManagerService','sectionFloating','_baseShapeWidth','forwardRef','@univerjs/drawing','@univerjs/core','FormulaShapeAnimationController','sectionCanvas','prototype','_lastEditingShapeKey','getCurrentUnitOfType','presentationChanged$','initTransformer','Vector2','shapeType','keys','docs-shape-ui.openPanel','evenodd','custom','getSelectedObjectMap','CONTENT','normalizeShapeTextModel','stopPropagation','UniverDocsShapePlugin','getUnitType','_applyFormulaAutoFitSize','DocDrawingPosition','marginTop','pick','ShapeTypeEnum','DocumentSkeleton','useState','_formulaShapes','getRenderUnitById','ancestorTransform','isHit','ObjectLayersIcon','decorate','OPERATION','getDrawingEffectBounds','@univerjs-pro/shape-editor-ui','VIEW_MAIN','shapeKey','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','viewBound','_shapeId','onPointerUp$','IN_FRONT_OF_TEXT','getInverseCoord','PARAGRAPH','univer-box-border\x20univer-px-4\x20univer-text-sm','onDblclick$','ObjectListPanelBase','remove$','UniverDocsDrawingUIPlugin','getShapeTextRect','_refreshShapeData','ShapeTextFloatToolbar','cancelEditing','docs-shape-text-','behindDoc','_isStartAdjusting','multiply','useRef','_registerImageShapeClipDelegate','LAYOUT','shapeData','FromArray','BooleanNumber','function','getValue','symbol','_getSceneByUnitId','updateContext','executeCommand','ISidebarService','ShapePickerDropdown','_drawSimpleText','UNIVER_DOC','ImageSourceTypeEnum','_iconManager','_componentManager','setAdjustValueByName','_loadAndSetImage','None','updateDocumentStyle','paragraphs','toString','_drawShapeText','string','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','DocSelectionManagerService','UniverDocs','_initShapePopupMenu','warn','@univerjs-pro/license','push','adjName','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','menuRange','translate','url(#$1','ShapeFormulaService','setEditing','_docsShapeService','PositionedObjectLayoutType','createControl$','useReducer','jsxs','use','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','doc.shape.floating-toolbar','unregister','UniverDrawingPlugin','DependentOn','refreshShapeFillImage','prepareShapeTextDocumentData','unsubscribe','2wseZkw','Disposable','UniverLicensePlugin','docs-shape-ui.objectListPanel.title','2580935LCgQHW','UniverProLicense','IURLImageService','createShapeTextBoxShapeData','gradientEndColor','animateFormulaPresentation','attrs','sin','size','filter','setConfig','focusDrawing','getAllUnitsForType','color','getTextModel','_initialize','find','BEHIND_TEXT','UniverIcon','getDrawingData','#3B82F6','getRealBound','_getFocusedShapeAtPoint','_isOpenedShapeEditPanel','CommandType','_updateAdjustControlPositions','_insertShapes','OTHERS','subscribe','_context','resolveShapeTextEditorBehaviorShapeData','disableObjectsEvent','delete','asObservable','onStarting'];_0x1894=function(){return _0x11b321;};return _0x1894();}(function(_0x445ccb,_0x27a9f7){const _0x301359=_0x3be8,_0x3ba62f=_0x445ccb();while(!![]){try{const _0x5bb8d3=parseInt(_0x301359(0x397))/0x1+-parseInt(_0x301359(0x21f))/0x2*(parseInt(_0x301359(0x383))/0x3)+parseInt(_0x301359(0x343))/0x4+parseInt(_0x301359(0x223))/0x5+parseInt(_0x301359(0x314))/0x6+-parseInt(_0x301359(0x248))/0x7+-parseInt(_0x301359(0x2b5))/0x8;if(_0x5bb8d3===_0x27a9f7)break;else _0x3ba62f['push'](_0x3ba62f['shift']());}catch(_0xfea56){_0x3ba62f['push'](_0x3ba62f['shift']());}}}(_0x1894,0xb292a),function(_0x3b5116,_0x10ef87){const _0x22f5b2=_0x3be8;typeof exports=='object'&&typeof module<'u'?_0x10ef87(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=='function'&&define[_0x22f5b2(0x290)]?define(['exports',_0x22f5b2(0x36a),_0x22f5b2(0x167),_0x22f5b2(0x311),'@univerjs-pro/engine-shape',_0x22f5b2(0x28c),_0x22f5b2(0x1ae),'@univerjs/docs',_0x22f5b2(0x317),_0x22f5b2(0x39b),_0x22f5b2(0x1ad),_0x22f5b2(0x1d1),_0x22f5b2(0x184),_0x22f5b2(0x301),_0x22f5b2(0x208),_0x22f5b2(0x180),'react',_0x22f5b2(0x179)],_0x10ef87):(_0x3b5116=typeof globalThis<'u'?globalThis:_0x3b5116||self,_0x10ef87(_0x3b5116[_0x22f5b2(0x18e)]={},_0x3b5116['UniverDocsUi'],_0x3b5116['UniverUi'],_0x3b5116[_0x22f5b2(0x384)],_0x3b5116[_0x22f5b2(0x3c0)],_0x3b5116['UniverProShapeEditor'],_0x3b5116[_0x22f5b2(0x26e)],_0x3b5116[_0x22f5b2(0x205)],_0x3b5116[_0x22f5b2(0x268)],_0x3b5116[_0x22f5b2(0x1a0)],_0x3b5116[_0x22f5b2(0x308)],_0x3b5116[_0x22f5b2(0x193)],_0x3b5116['UniverDrawingUi'],_0x3b5116[_0x22f5b2(0x173)],_0x3b5116[_0x22f5b2(0x224)],_0x3b5116[_0x22f5b2(0x378)],_0x3b5116[_0x22f5b2(0x173)],_0x3b5116[_0x22f5b2(0x179)]));}(this,function(_0x5d90f2,_0x5585ad,_0x19675e,_0x5ac7da,_0x7d9a71,_0x9a69b6,_0x4e3c13,_0x19b019,_0x5cbb0a,_0x4beb3c,_0x53c637,_0x297fde,_0x30bc3a,_0x47d1b0,_0x3e511b,_0xe538da,_0x269570,_0x3a7932){const _0x1104af=_0x3be8;Object[_0x1104af(0x17f)](_0x5d90f2,Symbol['toStringTag'],{'value':_0x1104af(0x17a)});let _0x147fe9=_0x1104af(0x237),_0xa5f033=_0x1104af(0x3b1);function _0x102530(_0x234f8c,_0x1a7fcf){const _0x1e9ff9=_0x1104af;if(_0x1a7fcf){if((0x0,_0x7d9a71[_0x1e9ff9(0x250)])(_0x234f8c)&&(_0x1a7fcf['startArrow']||_0x1a7fcf[_0x1e9ff9(0x18a)]))return{'ln':{'startArrow':_0x1a7fcf['startArrow']?{'type':_0x7d9a71[_0x1e9ff9(0x326)][_0x1e9ff9(0x325)],'size':_0x7d9a71[_0x1e9ff9(0x3b7)][_0x1e9ff9(0x2eb)]}:void 0x0,'endArrow':_0x1a7fcf[_0x1e9ff9(0x18a)]?{'type':_0x7d9a71['ShapeArrowTypeEnum'][_0x1e9ff9(0x325)],'size':_0x7d9a71[_0x1e9ff9(0x3b7)][_0x1e9ff9(0x25c)]}:void 0x0}};if(_0x234f8c===_0x7d9a71[_0x1e9ff9(0x1c6)][_0x1e9ff9(0x247)]&&(_0x1a7fcf[_0x1e9ff9(0x3a8)]||_0x1a7fcf[_0x1e9ff9(0x1a4)]))return(0x0,_0x9a69b6[_0x1e9ff9(0x226)])({'fill':{'fillType':_0x7d9a71[_0x1e9ff9(0x249)]['SolidFill'],'color':_0x147fe9},'isHorizontal':!!_0x1a7fcf[_0x1e9ff9(0x3a8)],'stroke':{'lineStrokeType':_0x7d9a71[_0x1e9ff9(0x2b0)][_0x1e9ff9(0x306)],'width':0x1,'color':_0xa5f033}});}}function _0x55ffa6(_0x52eb41,_0x39a8b0){const _0x55a2a4=_0x1104af;var _0x3ab94b;let _0x1ae7a7=_0x39a8b0[_0x55a2a4(0x345)]??'',_0x14d5b4=(_0x3ab94b=_0x52eb41[_0x55a2a4(0x26c)](_0x1ae7a7))==null?void 0x0:_0x3ab94b[_0x55a2a4(0x335)]();if(!_0x14d5b4)return null;let _0x2796fa=_0x14d5b4[_0x55a2a4(0x1ff)]??[],_0x10aa71=_0x2796fa[_0x55a2a4(0x233)](_0xf6aff6=>{const _0x7ff40a=_0x55a2a4;let _0x3e661f=(0x0,_0x4e3c13[_0x7ff40a(0x287)])(_0x14d5b4,_0xf6aff6);return _0x39a8b0[_0x7ff40a(0x390)]>=_0x3e661f&&_0x39a8b0['startOffset']<=_0xf6aff6[_0x7ff40a(0x24c)];})??_0x2796fa[_0x2796fa['length']-0x1];return _0x10aa71?{'paragraphId':_0x10aa71[_0x55a2a4(0x265)],'segmentId':_0x1ae7a7,'position':_0x5ac7da[_0x55a2a4(0x35f)][_0x55a2a4(0x2e6)],'offset':_0x39a8b0[_0x55a2a4(0x390)]-(0x0,_0x4e3c13[_0x55a2a4(0x287)])(_0x14d5b4,_0x10aa71)}:null;}function _0x3b9938(_0x4386c4,_0x39a1f6,_0x402b98){const _0x480729=_0x1104af;var _0x2886c8,_0x3ca324;if(!_0x402b98)return null;let _0x5818e9=(_0x2886c8=_0x4386c4[_0x480729(0x267)](_0x4beb3c['IRenderManagerService'])[_0x480729(0x1ca)](_0x39a1f6))==null?void 0x0:_0x2886c8[_0x480729(0x161)](_0x5585ad[_0x480729(0x2d3)])['activeTarget'];if(!_0x5818e9)return null;let _0x5432c5=_0x402b98===_0x480729(0x353)?{'startOffset':_0x5818e9[_0x480729(0x199)][_0x480729(0x275)],'endOffset':_0x5818e9['moveRange'][_0x480729(0x275)]}:_0x5818e9[_0x480729(0x20c)];return{'startOffset':_0x5432c5['startOffset'],'endOffset':_0x5432c5[_0x480729(0x275)],'collapsed':_0x5432c5[_0x480729(0x390)]===_0x5432c5['endOffset'],'segmentId':((_0x3ca324=_0x5818e9['paragraph'])==null?void 0x0:_0x3ca324[_0x480729(0x345)])??''};}let _0x24d59f={'type':_0x4e3c13[_0x1104af(0x23b)][_0x1104af(0x34e)],'id':_0x1104af(0x154),'handler':async(_0x2e92de,_0x535d62)=>{const _0x9633fb=_0x1104af;let _0x2345cb=_0x2e92de['get'](_0x4e3c13['IUniverInstanceService'])[_0x9633fb(0x1b3)](_0x4e3c13[_0x9633fb(0x310)]['UNIVER_DOC']);if(!_0x2345cb)return!0x1;let _0x597e5b=_0x2e92de[_0x9633fb(0x267)](_0x4e3c13[_0x9633fb(0x166)]),_0x3f23b6=_0x2345cb[_0x9633fb(0x189)](),_0x1b9306=_0x535d62[_0x9633fb(0x19e)]??(0x0,_0x4e3c13[_0x9633fb(0x39a)])(),_0x3273e4=_0x535d62[_0x9633fb(0x36b)]??_0x5ac7da['DEFAULT_DOC_SHAPE_WIDTH'],_0xeba360=_0x535d62[_0x9633fb(0x285)]??_0x5ac7da[_0x9633fb(0x2ed)],_0x3240aa=_0x535d62[_0x9633fb(0x1eb)]??_0x102530(_0x535d62['value'],_0x535d62[_0x9633fb(0x195)])??{'fill':{'fillType':_0x7d9a71[_0x9633fb(0x249)][_0x9633fb(0x149)],'color':_0x147fe9},'stroke':{'lineStrokeType':_0x7d9a71['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0xa5f033}},_0xeb68f7=_0x3b9938(_0x2e92de,_0x3f23b6,_0x535d62['paragraphMenuPlacement'])??_0x2e92de[_0x9633fb(0x267)](_0x19b019[_0x9633fb(0x204)])[_0x9633fb(0x346)]();if(!_0xeb68f7)return!0x1;let _0x5d74fe=_0x55ffa6(_0x2345cb,_0xeb68f7);return _0x5d74fe?!!_0x597e5b[_0x9633fb(0x33a)](_0x5ac7da['InsertDocShapeCommand']['id'],{'unitId':_0x3f23b6,'shapeId':_0x1b9306,'shapeType':_0x535d62['value'],'shapeData':_0x3240aa,'transform':{'width':_0x3273e4,'height':_0xeba360},'placement':{'wrappingStyle':_0x5cbb0a[_0x9633fb(0x140)][_0x9633fb(0x364)],'anchor':_0x5d74fe}}):!0x1;}},_0x23f350=_0x1104af(0x37f),_0x2802a4=_0x1104af(0x272),_0x2b7171=(0x0,_0x4e3c13['createInternalEditorID'])('SHAPE_TEXT'),_0x1afb3d=_0x1104af(0x30f),_0x21fd05={'id':_0x1104af(0x17b),'type':_0x4e3c13[_0x1104af(0x23b)][_0x1104af(0x34e)],'handler':(_0x38390b,_0x248f86)=>{const _0xc7a99e=_0x1104af;let _0x2e3c6e=_0x38390b[_0xc7a99e(0x267)](_0x19675e['ISidebarService']),_0x17fab2=_0x38390b[_0xc7a99e(0x267)](_0x4e3c13['LocaleService']),_0x3f0fee=_0x38390b['get'](_0x53c637[_0xc7a99e(0x13c)]);return(_0x248f86==null?void 0x0:_0x248f86[_0xc7a99e(0x28e)])===_0xc7a99e(0x13a)?(_0x2e3c6e[_0xc7a99e(0x13a)](_0x2802a4),!0x0):(_0x2e3c6e[_0xc7a99e(0x13f)]({'id':_0x2802a4,'header':{'title':_0x17fab2['t'](_0xc7a99e(0x222))},'children':{'label':_0x2802a4},'onClose':()=>{const _0x2faa05=_0xc7a99e;_0x3f0fee[_0x2faa05(0x22e)](null);},'width':0x168}),!0x0);}};function _0x3a726b(_0x40f97f,_0x3b9c47){return function(_0x2755db,_0x3c8482){_0x3b9c47(_0x2755db,_0x3c8482,_0x40f97f);};}function _0x21e0a3(_0x2f699c,_0x55704e,_0x4d37de,_0x10f3f4){const _0x4aa72c=_0x1104af;var _0xdf2ff9=arguments[_0x4aa72c(0x281)],_0x25d278=_0xdf2ff9<0x3?_0x55704e:_0x10f3f4===null?_0x10f3f4=Object[_0x4aa72c(0x26a)](_0x55704e,_0x4d37de):_0x10f3f4,_0xe628ed;if(typeof Reflect=='object'&&typeof Reflect[_0x4aa72c(0x1ce)]==_0x4aa72c(0x1ee))_0x25d278=Reflect[_0x4aa72c(0x1ce)](_0x2f699c,_0x55704e,_0x4d37de,_0x10f3f4);else{for(var _0xd2cffb=_0x2f699c[_0x4aa72c(0x281)]-0x1;_0xd2cffb>=0x0;_0xd2cffb--)(_0xe628ed=_0x2f699c[_0xd2cffb])&&(_0x25d278=(_0xdf2ff9<0x3?_0xe628ed(_0x25d278):_0xdf2ff9>0x3?_0xe628ed(_0x55704e,_0x4d37de,_0x25d278):_0xe628ed(_0x55704e,_0x4d37de))||_0x25d278);}return _0xdf2ff9>0x3&&_0x25d278&&Object[_0x4aa72c(0x17f)](_0x55704e,_0x4d37de,_0x25d278),_0x25d278;}let _0x12183a=class extends _0x4e3c13[_0x1104af(0x220)]{constructor(_0x181f7c,_0x5847a0){const _0x2b73dc=_0x1104af;super(),this['_clipService']=_0x181f7c,this[_0x2b73dc(0x3c5)]=_0x5847a0,this[_0x2b73dc(0x1e9)](),this[_0x2b73dc(0x352)][_0x2b73dc(0x146)](!0x0),this[_0x2b73dc(0x3a0)]({'dispose':()=>this[_0x2b73dc(0x352)][_0x2b73dc(0x146)](!0x1)});}[_0x1104af(0x1e9)](){const _0x5ec9ef=_0x1104af;let _0x3f1c6e=new Map(),_0x1c152a=this[_0x5ec9ef(0x352)][_0x5ec9ef(0x31f)]((_0x30afc2,_0x3d5e9f,_0x4f19eb,_0x32e4ec,_0x28c120)=>{const _0x337695=_0x5ec9ef;let _0x1738ba=_0x3d5e9f;if(_0x1738ba===_0x7d9a71['ShapeTypeEnum'][_0x337695(0x1fd)]||_0x3d5e9f===_0x337695(0x1bb))return!0x1;try{let _0x11ba4d=_0x3f1c6e['get'](_0x3d5e9f);return _0x11ba4d||(_0x11ba4d=new _0x7d9a71[(_0x337695(0x292))](_0x1738ba,'clip-'+_0x3d5e9f),_0x3f1c6e[_0x337695(0x327)](_0x3d5e9f,_0x11ba4d)),_0x11ba4d['clearAdjustValue'](),_0x28c120&&Object['keys'](_0x28c120)['length']>0x0&&_0x11ba4d[_0x337695(0x142)]({'adjustValues':_0x28c120},!0x0),_0x11ba4d[_0x337695(0x1f2)]({'width':_0x4f19eb,'height':_0x32e4ec}),_0x11ba4d['buildClipPath'](_0x30afc2,{'left':0x0,'top':0x0,'width':_0x4f19eb,'height':_0x32e4ec});}catch{return!0x1;}});this[_0x5ec9ef(0x3a0)](_0x1c152a),this[_0x5ec9ef(0x3a0)]({'dispose':()=>_0x3f1c6e[_0x5ec9ef(0x25e)]()});}['clipByShape'](_0x1b297f,_0x286a7d,_0x2c7b89,_0x53b705,_0x738fb8){const _0x3fc630=_0x1104af;let _0x20d536=this[_0x3fc630(0x3c5)][_0x3fc630(0x236)](_0x1b297f,_0x286a7d)[_0x2c7b89];!_0x20d536||_0x20d536[_0x3fc630(0x3bd)]!==_0x4e3c13['DrawingTypeEnum'][_0x3fc630(0x28b)]||this[_0x3fc630(0x3c5)]['featurePluginUpdateNotification']([{..._0x20d536,'prstGeom':_0x53b705,'adjustValues':_0x738fb8}]);}};_0x12183a=_0x21e0a3([_0x3a726b(0x0,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x30bc3a['DrawingImageClipService'])),_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x53c637['IDrawingManagerService']))],_0x12183a);let _0x4eff94=_0x1104af(0x2df),_0x4ed7cd=_0x1104af(0x187);function _0xf33bb0({onShapeClick:_0x107874,excludeGroups:_0x489aba}){const _0x2d72c1=_0x1104af;return(0x0,_0x47d1b0[_0x2d72c1(0x269)])(_0x297fde[_0x2d72c1(0x2c6)],{'excludeGroups':_0x489aba,'onShapeClick':_0x107874,'scrollContainer':_0x2d72c1(0x16b)});}function _0x2c0664(){const _0x563123=_0x1104af;let _0x2f590f=(0x0,_0x19675e[_0x563123(0x379)])(_0x53c637[_0x563123(0x13c)]),_0x390229=(0x0,_0x19675e[_0x563123(0x379)])(_0x12183a);return(0x0,_0x47d1b0[_0x563123(0x269)])(_0x297fde[_0x563123(0x1f5)],{'buttonLabel':_0x563123(0x2e4),'excludeGroups':[_0x297fde[_0x563123(0x38d)]['Line']],'onShapeClick':_0x2f4093=>{const _0xed5bd4=_0x563123;let _0x1849b6=_0x2f590f[_0xed5bd4(0x13e)]()['find'](_0xd26b66=>_0xd26b66['drawingType']===_0x4e3c13[_0xed5bd4(0x316)][_0xed5bd4(0x28b)]);if(!_0x1849b6)return;let {unitId:_0x34a611,subUnitId:_0x41918f,drawingId:_0x3f75fb}=_0x1849b6;_0x390229[_0xed5bd4(0x3b0)](_0x34a611,_0x41918f,_0x3f75fb,_0x2f4093[_0xed5bd4(0x26f)]);}});}function _0xdd027b(){const _0x5b7b0d=_0x1104af;let _0x27e23b=(0x0,_0x19675e[_0x5b7b0d(0x379)])(_0x19675e[_0x5b7b0d(0x171)]),_0xb34e12=(0x0,_0x19675e[_0x5b7b0d(0x379)])(_0x53c637[_0x5b7b0d(0x13c)]),_0x64bcf5=(0x0,_0x19675e[_0x5b7b0d(0x379)])(_0x4e3c13[_0x5b7b0d(0x392)]),_0x49f6aa=_0xb34e12['getFocusDrawings']()[0x0],_0xfed4b5=_0x49f6aa?_0x64bcf5[_0x5b7b0d(0x1c1)](_0x49f6aa[_0x5b7b0d(0x262)]):void 0x0,_0x2f4aaf=_0xfed4b5===_0x4e3c13[_0x5b7b0d(0x310)][_0x5b7b0d(0x1f7)]?_0x4ed7cd:_0xfed4b5===_0x4e3c13['UniverInstanceType'][_0x5b7b0d(0x2e3)]?_0x5b7b0d(0x24d):void 0x0,_0x21772d=_0x2f4aaf?_0x27e23b['get'](_0x2f4aaf):void 0x0;return _0x21772d?(0x0,_0x47d1b0[_0x5b7b0d(0x269)])(_0x21772d,{}):null;}function _0x511625({paragraphMenuPlacement:_0x16fd7e}){const _0x5c85af=_0x1104af;let _0x1dbcef=(0x0,_0x19675e[_0x5c85af(0x379)])(_0x4e3c13[_0x5c85af(0x166)]);return(0x0,_0x47d1b0[_0x5c85af(0x269)])(_0xf33bb0,{'onShapeClick':_0x53c98d=>{const _0x5e5ca3=_0x5c85af;_0x1dbcef[_0x5e5ca3(0x1f3)](_0x24d59f['id'],{'paragraphMenuPlacement':_0x16fd7e,'value':_0x53c98d['type'],'enhanceParams':{'endArrow':_0x53c98d[_0x5e5ca3(0x18a)],'startArrow':_0x53c98d[_0x5e5ca3(0x381)],'horizontal':_0x53c98d[_0x5e5ca3(0x3a8)],'vertical':_0x53c98d['vertical']}});}});}function _0x3209a9(_0x4f26de){const _0x161e62=_0x1104af;return _0x14806c=>({'id':_0x24d59f['id'],'type':_0x19675e[_0x161e62(0x2a8)][_0x161e62(0x334)],'selections':[{'label':{'name':_0x4eff94,'hoverable':!0x1,'selectable':!0x1,'props':_0x4f26de?{'id':_0x24d59f['id'],'paragraphMenuPlacement':_0x4f26de}:{'id':_0x24d59f['id']}}}],'icon':_0x161e62(0x332),'title':'docs-shape-ui.insertShape','tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,_0x19675e[_0x161e62(0x39d)])(_0x14806c,_0x4e3c13[_0x161e62(0x310)]['UNIVER_DOC'])});}let _0xa765e6=_0x3209a9(),_0x335a24=_0x3209a9('below'),_0x305b20=_0x3209a9('target');function _0x5aebf4(_0x238524){const _0x468f3c=_0x1104af;return{'id':_0x21fd05['id'],'type':_0x19675e[_0x468f3c(0x2a8)][_0x468f3c(0x159)],'icon':'ObjectLayersIcon','title':_0x468f3c(0x24a),'tooltip':_0x468f3c(0x24a),'hidden$':(0x0,_0x19675e['getMenuHiddenObservable'])(_0x238524,_0x4e3c13[_0x468f3c(0x310)][_0x468f3c(0x1f7)])};}let _0x5653f1={[_0x19675e[_0x1104af(0x18f)][_0x1104af(0x19f)]]:{[_0x24d59f['id']]:{'order':0x4,'menuItemFactory':_0x53e749=>({..._0xa765e6(_0x53e749),'title':void 0x0})}},[_0x19675e[_0x1104af(0x18f)][_0x1104af(0x23e)]]:{[_0x21fd05['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5aebf4}},[_0x19675e[_0x1104af(0x198)][_0x1104af(0x1da)]]:{[_0x19675e[_0x1104af(0x2e2)]['LAYOUT']]:{[_0x5585ad[_0x1104af(0x27c)]]:{[_0x24d59f['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x335a24}}},[_0x5585ad['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x19675e[_0x1104af(0x2e2)][_0x1104af(0x1ea)]]:{[_0x24d59f['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x335a24}}},[_0x5585ad['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x19675e[_0x1104af(0x2e2)]['LAYOUT']]:{[_0x24d59f['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x305b20}}},[_0x5585ad[_0x1104af(0x2b3)]]:{'insert':{[_0x24d59f['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0xa765e6}}},[_0x5585ad[_0x1104af(0x1d4)]]:{'insert':{[_0x24d59f['id']+_0x1104af(0x2c9)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x335a24}}}}};var _0x492dbd=_0x1104af(0x24e),_0x2f7166='1.0.0-beta.0';let _0x208de0={'type':_0x4e3c13[_0x1104af(0x23b)][_0x1104af(0x1cf)],'id':'doc.operation.close-doc-shape-format-panel','handler'(){return!0x0;}},_0x3eb699={'type':_0x4e3c13[_0x1104af(0x23b)][_0x1104af(0x1cf)],'id':_0x1104af(0x3aa),'handler'(){return!0x0;}},_0x36c198={};function _0x5928c0({ref:_0x2bb6d4,..._0x2f3d03}){const _0x2c82c9=_0x1104af;let {icon:_0x3ff7dd,id:_0xa32016,className:_0x5499b3,extend:_0x3afab6,..._0x578147}=_0x2f3d03,_0x1e0f27=(_0x2c82c9(0x3c1)+_0xa32016+'\x20'+(_0x5499b3||''))[_0x2c82c9(0x19d)](),_0x59d10c=(0x0,_0x269570[_0x2c82c9(0x1e8)])('_'+_0x315b82());return _0x79d74f(_0x3ff7dd,''+_0xa32016,{'defIds':_0x3ff7dd['defIds'],'idSuffix':_0x59d10c[_0x2c82c9(0x372)]},{'ref':_0x2bb6d4,'className':_0x1e0f27,..._0x578147},_0x3afab6);}function _0x79d74f(_0x2b5d20,_0x3a6657,_0x27de11,_0x2fa986,_0x360998){const _0x323ea8=_0x1104af;return(0x0,_0x269570['createElement'])(_0x2b5d20[_0x323ea8(0x2b7)],{'key':_0x3a6657,..._0x28521d(_0x2b5d20,_0x27de11,_0x360998),..._0x2fa986},(_0x17ba33(_0x2b5d20,_0x27de11)[_0x323ea8(0x1a2)]||[])['map']((_0x452189,_0x517630)=>_0x79d74f(_0x452189,_0x3a6657+'-'+_0x2b5d20[_0x323ea8(0x2b7)]+'-'+_0x517630,_0x27de11,void 0x0,_0x360998)));}function _0x28521d(_0x3ef4bf,_0x4a6f15,_0x2884df){const _0x44395d=_0x1104af;let _0x275fe9={..._0x3ef4bf[_0x44395d(0x229)]};_0x2884df!=null&&_0x2884df[_0x44395d(0x2a0)]&&_0x275fe9[_0x44395d(0x2c0)]===_0x44395d(0x2a0)&&(_0x275fe9[_0x44395d(0x2c0)]=_0x2884df['colorChannel1']),_0x2884df!=null&&_0x2884df[_0x44395d(0x2a0)]&&_0x275fe9[_0x44395d(0x2db)]==='colorChannel1'&&(_0x275fe9[_0x44395d(0x2db)]=_0x2884df[_0x44395d(0x2a0)]),_0x3ef4bf['tag']===_0x44395d(0x257)&&_0x275fe9['id']&&(_0x275fe9['id']+=_0x4a6f15['idSuffix']),Object[_0x44395d(0x163)](_0x275fe9)[_0x44395d(0x291)](([_0x6a1772,_0x59427e])=>{const _0x2547c1=_0x44395d;_0x6a1772===_0x2547c1(0x257)&&typeof _0x59427e=='string'&&(_0x275fe9[_0x6a1772]=_0x59427e[_0x2547c1(0x323)](/url\(#(.*)\)/,_0x2547c1(0x20e)+_0x4a6f15[_0x2547c1(0x2c8)]+')'));});let {defIds:_0x2c4e2a}=_0x4a6f15;return!_0x2c4e2a||_0x2c4e2a['length']===0x0?_0x275fe9:(_0x3ef4bf[_0x44395d(0x2b7)]===_0x44395d(0x216)&&_0x275fe9['xlink:href']&&(_0x275fe9['xlink:href']+=_0x4a6f15['idSuffix']),Object['entries'](_0x275fe9)[_0x44395d(0x291)](([_0x4b5975,_0x362967])=>{const _0xbe252b=_0x44395d;typeof _0x362967=='string'&&(_0x275fe9[_0x4b5975]=_0x362967[_0xbe252b(0x323)](/url\(#(.*)\)/,_0xbe252b(0x20e)+_0x4a6f15[_0xbe252b(0x2c8)]+')'));}),_0x275fe9);}function _0x17ba33(_0x57bb96,_0x303343){const _0x178819=_0x1104af;var _0x42a177;let {defIds:_0x3b2a53}=_0x303343;return!_0x3b2a53||_0x3b2a53[_0x178819(0x281)]===0x0?_0x57bb96:_0x57bb96[_0x178819(0x2b7)]===_0x178819(0x34d)&&(_0x42a177=_0x57bb96[_0x178819(0x1a2)])!=null&&_0x42a177[_0x178819(0x281)]?{..._0x57bb96,'children':_0x57bb96[_0x178819(0x1a2)]['map'](_0x31651b=>typeof _0x31651b[_0x178819(0x229)]['id']==_0x178819(0x202)&&_0x3b2a53&&_0x3b2a53[_0x178819(0x3a1)](_0x31651b['attrs']['id'])?{..._0x31651b,'attrs':{..._0x31651b[_0x178819(0x229)],'id':_0x31651b['attrs']['id']+_0x303343['idSuffix']}}:_0x31651b)}:_0x57bb96;}function _0x315b82(){const _0x420a94=_0x1104af;return Math[_0x420a94(0x348)]()[_0x420a94(0x200)](0x24)[_0x420a94(0x3c4)](0x2,0x8);}_0x5928c0[_0x1104af(0x2ec)]=_0x1104af(0x235);let _0x5e0685={'tag':_0x1104af(0x178),'attrs':{'xmlns':_0x1104af(0x30e),'fill':'none','viewBox':_0x1104af(0x3ab),'width':'1em','height':_0x1104af(0x391)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x1104af(0x246),'strokeLinejoin':_0x1104af(0x246),'strokeWidth':1.3}},{'tag':_0x1104af(0x196),'attrs':{'stroke':'currentColor','d':_0x1104af(0x282),'strokeLinecap':_0x1104af(0x246),'strokeLinejoin':_0x1104af(0x246),'strokeWidth':1.3}}]},_0x4a8940=(0x0,_0x269570[_0x1104af(0x1ac)])(function(_0xe90676,_0x110c0a){const _0x3b1f3e=_0x1104af;return(0x0,_0x269570[_0x3b1f3e(0x172)])(_0x5928c0,Object['assign']({},_0xe90676,{'id':_0x3b1f3e(0x36e),'ref':_0x110c0a,'icon':_0x5e0685}));});_0x4a8940[_0x1104af(0x2ec)]='ObjectLayersIcon';let _0x4baa7d={'tag':'svg','attrs':{'xmlns':_0x1104af(0x30e),'fill':_0x1104af(0x16f),'viewBox':'0\x200\x2020\x2020','width':_0x1104af(0x391),'height':'1em'},'children':[{'tag':_0x1104af(0x2bd),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':_0x1104af(0x2bd),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x1104af(0x34b),'rx':0.6}},{'tag':'path','attrs':{'fill':_0x1104af(0x34b),'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':_0x1104af(0x1ba)}}]},_0x3ab031=(0x0,_0x269570[_0x1104af(0x1ac)])(function(_0x46deab,_0x502af0){const _0x4a6608=_0x1104af;return(0x0,_0x269570[_0x4a6608(0x172)])(_0x5928c0,Object[_0x4a6608(0x357)]({},_0x46deab,{'id':_0x4a6608(0x3a9),'ref':_0x502af0,'icon':_0x4baa7d}));});_0x3ab031[_0x1104af(0x2ec)]='TextWrapShapeIcon';function _0x2f4798(_0x2ccab2){return _0x2ccab2['trim']()||void 0x0;}function _0x1c0d23(_0x1158bb,_0x56830c,_0x3ff001){const _0x2f6cd3=_0x1104af;var _0x2f3501,_0x388768;return((_0x2f3501=_0x1158bb[_0x2f6cd3(0x175)])==null?void 0x0:_0x2f3501[_0x2f6cd3(0x19d)]())||((_0x388768=_0x1158bb[_0x2f6cd3(0x29d)])==null?void 0x0:_0x388768[_0x2f6cd3(0x19d)]())||(0x0,_0x30bc3a[_0x2f6cd3(0x3ba)])(_0x3ff001,(0x0,_0x297fde[_0x2f6cd3(0x31e)])(_0x1158bb[_0x2f6cd3(0x3bd)]))+'\x20'+(_0x56830c+0x1);}function _0x2ad4aa(){const _0x2b8e2d=_0x1104af;let _0x3ff177=(0x0,_0x19675e['useDependency'])(_0x4e3c13[_0x2b8e2d(0x324)]),_0x1162a6=(0x0,_0x19675e[_0x2b8e2d(0x379)])(_0x4e3c13['ICommandService']),_0x2a07e8=(0x0,_0x19675e[_0x2b8e2d(0x379)])(_0x4e3c13[_0x2b8e2d(0x392)]),_0x3aaf86=(0x0,_0x19675e['useDependency'])(_0x5cbb0a[_0x2b8e2d(0x3b9)]),_0x1614b3=(0x0,_0x19675e[_0x2b8e2d(0x379)])(_0x53c637[_0x2b8e2d(0x13c)]),_0x37a93e=(0x0,_0x19675e[_0x2b8e2d(0x379)])(_0x4beb3c[_0x2b8e2d(0x155)]),[,_0x5d5523]=(0x0,_0x269570[_0x2b8e2d(0x214)])(_0x4f7132=>_0x4f7132+0x1,0x0),_0x32efc7=_0x2a07e8[_0x2b8e2d(0x1b3)](_0x4e3c13[_0x2b8e2d(0x310)][_0x2b8e2d(0x1f7)]),_0x4ccc70=(_0x32efc7==null?void 0x0:_0x32efc7[_0x2b8e2d(0x189)]())??'',_0xdea713=_0x4ccc70,_0x5b84ba=(0x0,_0x19675e['useObservable'])(()=>_0x1614b3[_0x2b8e2d(0x2d7)],_0x1614b3[_0x2b8e2d(0x13e)](),!0x1,[_0x1614b3]);(0x0,_0x269570[_0x2b8e2d(0x25a)])(()=>{const _0x4c22d4=_0x2b8e2d;let _0x3b2fc7=_0x1162a6[_0x4c22d4(0x33d)](()=>_0x5d5523());return()=>_0x3b2fc7[_0x4c22d4(0x256)]();},[_0x1162a6]);let _0x311135=(0x0,_0x269570[_0x2b8e2d(0x362)])(()=>(0x0,_0x30bc3a[_0x2b8e2d(0x363)])(_0x3ff177),[_0x3ff177]),_0x4ec4f7=_0x4ccc70?_0x3aaf86['getDrawingData'](_0x4ccc70,_0xdea713):{},_0x3d3e8d=(_0x4ccc70?_0x3aaf86['getDrawingOrder'](_0x4ccc70,_0xdea713):[])[_0x2b8e2d(0x27e)](_0x1d10e9=>_0x4ec4f7[_0x1d10e9])[_0x2b8e2d(0x22c)](_0x2aeb93=>!!_0x2aeb93)[_0x2b8e2d(0x388)](),_0x548091=_0x3d3e8d['reduce']((_0x49174a,_0x486e5c)=>(_0x49174a[(0x0,_0x30bc3a[_0x2b8e2d(0x165)])(_0x486e5c[_0x2b8e2d(0x3bd)])]+=0x1,_0x49174a),{'canvas':0x0,'floating':0x0}),_0x488513={'canvas':0x0,'floating':0x0},_0x1506b2=_0x3d3e8d[_0x2b8e2d(0x27e)]((_0x25156e,_0x146e7f)=>{const _0x31c442=_0x2b8e2d;let _0x1545df=(0x0,_0x30bc3a[_0x31c442(0x165)])(_0x25156e['drawingType']),_0x5b2af3=_0x1545df===_0x30bc3a[_0x31c442(0x15e)],_0x144cf3=_0x488513[_0x1545df]++;return{'id':_0x25156e[_0x31c442(0x259)],'name':_0x1c0d23(_0x25156e,_0x146e7f,_0x3ff177),'description':_0x25156e[_0x31c442(0x2f2)],'visible':_0x25156e[_0x31c442(0x313)]!==!0x0,'selectable':_0x25156e[_0x31c442(0x360)]!==!0x1,'sectionId':_0x1545df,'sectionTitle':_0x5b2af3?_0x311135[_0x31c442(0x1aa)]:_0x311135[_0x31c442(0x1b0)],'capabilities':_0x5b2af3?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x5b2af3&&_0x144cf3>0x0,'canMoveBackward':!_0x5b2af3&&_0x144cf3<_0x548091[_0x31c442(0x27b)]-0x1,'canReorder':!_0x5b2af3};}),_0x4c9fbe=(0x0,_0x269570[_0x2b8e2d(0x362)])(()=>(_0x5b84ba??[])['filter'](_0x13f738=>_0x13f738[_0x2b8e2d(0x262)]===_0x4ccc70&&_0x13f738[_0x2b8e2d(0x260)]===_0xdea713)[_0x2b8e2d(0x27e)](_0x1ab1d0=>_0x1ab1d0[_0x2b8e2d(0x259)]),[_0x5b84ba,_0xdea713,_0x4ccc70]),_0x7ab08c=_0x4c9fbe[_0x4c9fbe[_0x2b8e2d(0x281)]-0x1]??null,_0x1806e7=_0x16da45=>_0x3aaf86[_0x2b8e2d(0x320)]({'unitId':_0x4ccc70,'subUnitId':_0xdea713,'drawingId':_0x16da45})??null,_0xf6156d=async _0x236514=>{const _0x1bd2cf=_0x2b8e2d;!_0x4ccc70||!_0x236514[_0x1bd2cf(0x281)]||await _0x1162a6['executeCommand'](_0x5ac7da[_0x1bd2cf(0x18c)]['id'],{'unitId':_0x4ccc70,'patches':_0x236514});},_0x4aa5d5=(_0xe63a7b,_0x58c99e)=>{const _0x2df513=_0x2b8e2d;if(!_0x4ccc70)return;let _0x4fea1b=_0x58c99e?_0x4c9fbe[_0x2df513(0x3a1)](_0xe63a7b)?_0x4c9fbe['filter'](_0x31de7b=>_0x31de7b!==_0xe63a7b):[..._0x4c9fbe,_0xe63a7b]:[_0xe63a7b];_0x1162a6['syncExecuteCommand'](_0x53c637[_0x2df513(0x29f)]['id'],_0x4fea1b['map'](_0x4045c5=>({'unitId':_0x4ccc70,'subUnitId':_0xdea713,'drawingId':_0x4045c5})));let _0x544af8=_0x4fea1b[_0x4fea1b[_0x2df513(0x281)]-0x1];_0x544af8?(0x0,_0x297fde['activateDrawingObject'])(_0x37a93e,{'unitId':_0x4ccc70,'subUnitId':_0xdea713,'drawingId':_0x544af8}):(0x0,_0x297fde[_0x2df513(0x2fb)])(_0x37a93e,_0x4ccc70);},_0x16d89b=async(_0x347923,_0x491aca)=>{const _0x595960=_0x2b8e2d;await _0xf6156d(_0x347923[_0x595960(0x27e)](_0x471ba0=>_0x1806e7(_0x471ba0))['filter'](_0xb49422=>!!_0xb49422)[_0x595960(0x22c)](_0x409c87=>_0x409c87['hidden']!==!0x0!==_0x491aca)[_0x595960(0x27e)](_0x3d5c9f=>({'drawingId':_0x3d5c9f[_0x595960(0x259)],'hidden':!_0x491aca})));},_0x424d3c=async _0x2020e0=>{const _0x5202ed=_0x2b8e2d;let _0x332620=_0x1806e7(_0x2020e0);_0x332620&&await _0xf6156d([{'drawingId':_0x2020e0,'selectable':_0x332620[_0x5202ed(0x360)]===!0x1&&void 0x0}]);},_0x3d73e8=async(_0x314589,_0x526d70)=>{let _0x31c042=_0x1806e7(_0x314589),_0x59ad39=_0x2f4798(_0x526d70);!_0x31c042||(_0x31c042['name']??void 0x0)===_0x59ad39&&(_0x31c042['title']||void 0x0)===_0x59ad39||await _0xf6156d([{'drawingId':_0x314589,'name':_0x59ad39,'title':_0x59ad39}]);},_0x35b522=async(_0x1575a0,_0xe815fd)=>{const _0x13786e=_0x2b8e2d;let _0x1969eb=_0x1806e7(_0x1575a0),_0x30911b=_0x2f4798(_0xe815fd);!_0x1969eb||(_0x1969eb[_0x13786e(0x2f2)]??void 0x0)===_0x30911b||await _0xf6156d([{'drawingId':_0x1575a0,'description':_0x30911b}]);},_0x1b6e4a=async(_0x164717,_0x46fc41)=>{const _0x436bc0=_0x2b8e2d;_0x4ccc70&&await _0x1162a6[_0x436bc0(0x1f3)](_0x5cbb0a['SetDocDrawingArrangeCommand']['id'],{'unitId':_0x4ccc70,'subUnitId':_0xdea713,'drawingIds':[_0x164717],'arrangeType':_0x46fc41});};return _0x4ccc70?(0x0,_0x47d1b0['jsx'])(_0x30bc3a[_0x2b8e2d(0x1dd)],{'items':_0x1506b2,'selectedIds':_0x4c9fbe,'focusedId':_0x7ab08c,'labels':_0x311135,'onSelect':_0x4aa5d5,'onSetVisible':_0x16d89b,'onCommitName':_0x3d73e8,'onCommitDescription':_0x35b522,'onMoveForward':async _0x414620=>_0x1b6e4a(_0x414620,_0x4e3c13[_0x2b8e2d(0x37d)][_0x2b8e2d(0x373)]),'onMoveBackward':async _0x2a0986=>_0x1b6e4a(_0x2a0986,_0x4e3c13[_0x2b8e2d(0x37d)]['backward']),'onToggleSelectable':_0x424d3c}):(0x0,_0x47d1b0[_0x2b8e2d(0x269)])(_0x2b8e2d(0x147),{'className':_0x2b8e2d(0x309),'children':_0x311135[_0x2b8e2d(0x29d)]});}function _0x3111aa(_0x5033ca,_0x40f481,_0x35ca29,_0xc45159,_0xda01f4,_0x2288b7){const _0x3ef013=_0x1104af;let _0x59b98a={'unitId':_0x40f481,'shapeId':_0xc45159,'shapeData':_0x2288b7,'oldShapeJSON':_0xda01f4};return _0x5033ca[_0x3ef013(0x1f3)](_0x5ac7da[_0x3ef013(0x30d)]['id'],_0x59b98a);}function _0x48189e(_0x1524ef,_0x43e41d,_0xbd30d2,_0x200c9d,_0xdc1ae7,_0x4ae9b4){const _0xb4446d=_0x1104af;let _0x322f0b={'unitId':_0x43e41d,'shapeId':_0x200c9d,'shapeData':_0x4ae9b4,'oldShapeJSON':_0xdc1ae7};return _0x1524ef[_0xb4446d(0x1f3)](_0x5ac7da['UpdateDocShapeDataCommand']['id'],_0x322f0b);}let _0x84635=class{constructor(_0x180f3b){this['_renderManagerService']=_0x180f3b;}['updateShapeFillImage'](_0x3a6590,_0x14bc3f){const _0x17d6c6=_0x1104af;let _0x188e92=this[_0x17d6c6(0x19c)][_0x17d6c6(0x1ca)](_0x3a6590['unitId']),_0x49d3fb=_0x188e92==null?void 0x0:_0x188e92[_0x17d6c6(0x38b)];if(!_0x49d3fb)return;let _0x33a173=(0x0,_0x53c637[_0x17d6c6(0x2e5)])(_0x3a6590),_0x2ffc04=_0x49d3fb[_0x17d6c6(0x2e8)](_0x33a173);_0x2ffc04==null||_0x2ffc04[_0x17d6c6(0x13d)](_0x14bc3f);}};_0x84635=_0x21e0a3([_0x3a726b(0x0,_0x4beb3c[_0x1104af(0x155)])],_0x84635);function _0xde9c72(){const _0x3fbeab=_0x1104af;let _0x1f0044=(0x0,_0x19675e[_0x3fbeab(0x379)])(_0x53c637[_0x3fbeab(0x13c)]),_0x4ba539=(0x0,_0x19675e['useObservable'])(()=>_0x1f0044[_0x3fbeab(0x2d7)],_0x1f0044[_0x3fbeab(0x13e)](),!0x1,[_0x1f0044]);return _0x4ba539[_0x3fbeab(0x281)]===0x0?null:(0x0,_0x47d1b0[_0x3fbeab(0x269)])(_0x3fbeab(0x147),{'children':(0x0,_0x47d1b0[_0x3fbeab(0x215)])(_0x3fbeab(0x147),{'className':_0x3fbeab(0x1db),'children':[(0x0,_0x47d1b0['jsx'])(_0x30bc3a[_0x3fbeab(0x3a7)],{'drawings':_0x4ba539,'hasCropper':!0x1}),(0x0,_0x47d1b0[_0x3fbeab(0x269)])(_0xe538da[_0x3fbeab(0x263)],{'drawings':_0x4ba539}),(0x0,_0x47d1b0[_0x3fbeab(0x269)])(_0xe538da[_0x3fbeab(0x1c3)],{'drawings':_0x4ba539})]})});}function _0x2eb68d(_0x1053b1){const _0x3b0bad=_0x1104af;let {unitId:_0x15691f,subUnitId:_0xd86fb7,shapeId:_0x37126d}=_0x1053b1,_0x1c62de=(0x0,_0x19675e[_0x3b0bad(0x379)])(_0x4e3c13[_0x3b0bad(0x166)]),_0x20f7cc=(0x0,_0x19675e['useDependency'])(_0x84635);return(0x0,_0x47d1b0[_0x3b0bad(0x269)])(_0x297fde[_0x3b0bad(0x2b4)],{..._0x1053b1,'positionEditor':(0x0,_0x47d1b0[_0x3b0bad(0x269)])(_0xde9c72,{}),'onUpdateShapeData':(_0x44011c,_0x3afce2)=>{_0x3111aa(_0x1c62de,_0x15691f,_0xd86fb7,_0x37126d,_0x44011c,_0x3afce2);},'onUpdateLineShapeData':(_0x4e781f,_0x4e5937)=>{_0x48189e(_0x1c62de,_0x15691f,_0xd86fb7,_0x37126d,_0x4e781f,_0x4e5937);},'onUpdateShapeFillImage':_0x40b421=>{_0x20f7cc['updateShapeFillImage']({'unitId':_0x15691f,'subUnitId':_0xd86fb7,'drawingId':_0x37126d},_0x40b421);}});}let _0x2c592e=_0x1104af(0x218);function _0x467273(_0x15dffd,_0x173648){const _0x24c833=_0x1104af;var _0x3d4e7b;let _0x2046ce=_0x15dffd==null||(_0x3d4e7b=_0x15dffd['getSnapshot']()['drawings'])==null?void 0x0:_0x3d4e7b[_0x173648];return _0x2046ce?_0x2046ce['layoutType']===_0x4e3c13[_0x24c833(0x212)]['WRAP_NONE']?_0x2046ce[_0x24c833(0x1e5)]===_0x4e3c13[_0x24c833(0x1ed)][_0x24c833(0x319)]?_0x5cbb0a['TextWrappingStyle'][_0x24c833(0x234)]:_0x5cbb0a[_0x24c833(0x140)][_0x24c833(0x1d8)]:_0x2046ce['layoutType']===_0x4e3c13[_0x24c833(0x212)][_0x24c833(0x26b)]?_0x5cbb0a['TextWrappingStyle'][_0x24c833(0x26b)]:_0x2046ce[_0x24c833(0x2f3)]===_0x4e3c13['PositionedObjectLayoutType'][_0x24c833(0x168)]?_0x5cbb0a[_0x24c833(0x140)][_0x24c833(0x168)]:_0x5cbb0a[_0x24c833(0x140)]['INLINE']:_0x5cbb0a[_0x24c833(0x140)][_0x24c833(0x364)];}function _0x5e882(_0x58f0c4){const _0x298cad=_0x1104af;let _0x5dab8a=_0x58f0c4[_0x298cad(0x307)][_0x298cad(0x278)],_0x52496a=(0x0,_0x19675e['useDependency'])(_0x4e3c13[_0x298cad(0x166)]),_0x244958=(0x0,_0x19675e[_0x298cad(0x379)])(_0x4e3c13[_0x298cad(0x324)]),_0x37eefd=(0x0,_0x19675e[_0x298cad(0x379)])(_0x5ac7da[_0x298cad(0x32b)]),_0x227f7e=(0x0,_0x19675e[_0x298cad(0x379)])(_0x4e3c13[_0x298cad(0x392)]),{unitId:_0x5da31e,subUnitId:_0x6216ef,drawingId:_0x360f8b,shapeType:_0x329029}=_0x5dab8a,[_0x1224e4,_0x3caf0a]=(0x0,_0x269570[_0x298cad(0x1c8)])(_0x5dab8a[_0x298cad(0x1eb)]),_0x329442=_0x227f7e[_0x298cad(0x374)](_0x5da31e,_0x4e3c13['UniverInstanceType'][_0x298cad(0x1f7)])??void 0x0,[_0x150b55,_0x14b17b]=(0x0,_0x269570[_0x298cad(0x1c8)])(()=>_0x467273(_0x329442,_0x360f8b)),_0x46bccd=(0x0,_0x269570['useMemo'])(()=>(0x0,_0x297fde['getTextStyle'])(_0x1224e4),[_0x1224e4]),_0x56a45c=(0x0,_0x269570[_0x298cad(0x362)])(()=>(0x0,_0x297fde[_0x298cad(0x231)])(_0x1224e4),[_0x1224e4]);(0x0,_0x269570[_0x298cad(0x25a)])(()=>{const _0x3ba0c9=_0x298cad;let _0x3b4367=_0x52496a[_0x3ba0c9(0x33d)](_0x43b435=>{const _0x379ab4=_0x3ba0c9;if(_0x43b435['id']!==_0x5ac7da[_0x379ab4(0x395)]['id'])return;let _0x56ab60=_0x37eefd[_0x379ab4(0x186)](_0x5da31e,_0x6216ef,_0x360f8b);_0x56ab60&&_0x3caf0a(_0x56ab60);});return()=>_0x3b4367[_0x3ba0c9(0x256)]();},[_0x52496a,_0x37eefd,_0x360f8b,_0x6216ef,_0x5da31e]);let _0x39c5f8=_0x4c5f2c=>{_0x3caf0a(_0x430732=>({..._0x430732,..._0x4c5f2c}));},_0x2b5dcb=_0x2e1f86=>{let _0x5c9e96=(0x0,_0x297fde['buildShapeTextDataUpdate'])(_0x1224e4,_0x2e1f86);_0x3111aa(_0x52496a,_0x5da31e,_0x6216ef,_0x360f8b,{'oldShapeData':{'shapeText':_0x1224e4['shapeText']}},_0x5c9e96),_0x39c5f8(_0x5c9e96);},_0x4e8a84=_0x1771da=>{const _0x204594=_0x298cad;_0x14b17b(_0x1771da),_0x52496a['executeCommand'](_0x5cbb0a[_0x204594(0x37a)]['id'],{'unitId':_0x5da31e,'subUnitId':_0x6216ef,'drawings':[{'unitId':_0x5da31e,'subUnitId':_0x6216ef,'drawingId':_0x360f8b}],'wrappingStyle':_0x1771da});},_0x221c30=(0x0,_0x297fde[_0x298cad(0x266)])({'hostType':_0x4e3c13['UniverInstanceType']['UNIVER_DOC'],'unitId':_0x5da31e,'subUnitId':_0x6216ef,'shapeId':_0x360f8b,'shapeData':_0x1224e4,'onUpdateBinding':_0x5ec195=>{const _0x2cedd8=_0x298cad;let _0x44ccd0={'formulaBinding':_0x5ec195};_0x3111aa(_0x52496a,_0x5da31e,_0x6216ef,_0x360f8b,{'oldShapeData':{'formulaBinding':_0x1224e4[_0x2cedd8(0x31a)]}},_0x44ccd0),_0x39c5f8(_0x44ccd0);}}),_0x30ee00=[{'label':_0x244958['t']('docs-shape-ui.textWrap.inline'),'value':_0x5cbb0a[_0x298cad(0x140)][_0x298cad(0x364)],'icon':(0x0,_0x47d1b0[_0x298cad(0x269)])(_0x3ab031,{})},{'label':_0x244958['t'](_0x298cad(0x194)),'value':_0x5cbb0a[_0x298cad(0x140)]['WRAP_SQUARE'],'icon':(0x0,_0x47d1b0[_0x298cad(0x269)])(_0x3ab031,{})},{'label':_0x244958['t'](_0x298cad(0x2e7)),'value':_0x5cbb0a[_0x298cad(0x140)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x47d1b0['jsx'])(_0x3ab031,{})},{'label':_0x244958['t']('docs-shape-ui.textWrap.behindText'),'value':_0x5cbb0a[_0x298cad(0x140)][_0x298cad(0x234)],'icon':(0x0,_0x47d1b0['jsx'])(_0x3ab031,{})},{'label':_0x244958['t'](_0x298cad(0x17d)),'value':_0x5cbb0a[_0x298cad(0x140)][_0x298cad(0x1d8)],'icon':(0x0,_0x47d1b0[_0x298cad(0x269)])(_0x3ab031,{})}];return(0x0,_0x47d1b0[_0x298cad(0x215)])(_0x47d1b0[_0x298cad(0x191)],{'children':[(0x0,_0x47d1b0[_0x298cad(0x269)])(_0x297fde[_0x298cad(0x13b)],{'shapeData':_0x1224e4,'shapeType':_0x329029,'textStyle':{'ff':_0x7d9a71[_0x298cad(0x2cf)][_0x298cad(0x34f)][_0x298cad(0x160)],'fs':_0x7d9a71[_0x298cad(0x2cf)][_0x298cad(0x34f)][_0x298cad(0x274)],'cl':{'rgb':_0x7d9a71[_0x298cad(0x2cf)][_0x298cad(0x34f)][_0x298cad(0x230)]},..._0x46bccd},'textModel':_0x56a45c?{'ha':_0x56a45c['ha']??_0x4e3c13['HorizontalAlign'][_0x298cad(0x157)],'va':_0x56a45c['va']??_0x4e3c13[_0x298cad(0x2d6)]['TOP']}:null,'wrappingStyle':_0x150b55,'wrappingStyleOptions':_0x30ee00,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x7d9a71[_0x298cad(0x2cf)]['fill'],'defaultGradientEndColor':_0x7d9a71[_0x298cad(0x2cf)][_0x298cad(0x227)],'defaultStrokeColor':_0x7d9a71['ShapeDefaultConfig'][_0x298cad(0x2db)],'extensionGroups':_0x221c30[_0x298cad(0x342)],'onUpdateShapeData':(_0x3d9078,_0x135e14)=>{_0x3111aa(_0x52496a,_0x5da31e,_0x6216ef,_0x360f8b,_0x3d9078,_0x135e14),_0x135e14&&_0x39c5f8(_0x135e14);},'onUpdateText':_0x2b5dcb,'onUpdateWrappingStyle':_0x2e20e6=>_0x4e8a84(_0x2e20e6),'onOpenPanel':()=>{const _0x1b7de7=_0x298cad;_0x52496a[_0x1b7de7(0x1f3)](_0x3eb699['id'],{'unitId':_0x5da31e,'subUnitId':_0x6216ef,'drawingId':_0x360f8b});},'onDelete':()=>{const _0x341e32=_0x298cad;_0x52496a[_0x341e32(0x1f3)](_0x5cbb0a[_0x341e32(0x380)]['id'],{'unitId':_0x5da31e,'drawings':[{'unitId':_0x5da31e,'subUnitId':_0x6216ef,'drawingId':_0x360f8b}]});}}),_0x221c30[_0x298cad(0x31b)]]});}function _0x44118d(_0x1b91f2){'@babel/helpers - typeof';const _0x188376=_0x1104af;return _0x44118d=typeof Symbol=='function'&&typeof Symbol[_0x188376(0x338)]==_0x188376(0x1f0)?function(_0x270ae7){return typeof _0x270ae7;}:function(_0x1f3c62){const _0x44ecc3=_0x188376;return _0x1f3c62&&typeof Symbol==_0x44ecc3(0x1ee)&&_0x1f3c62[_0x44ecc3(0x2ff)]===Symbol&&_0x1f3c62!==Symbol[_0x44ecc3(0x1b1)]?_0x44ecc3(0x1f0):typeof _0x1f3c62;},_0x44118d(_0x1b91f2);}function _0x97f8a9(_0x4cae7f,_0x327a6e){const _0x3f5eb2=_0x1104af;if(_0x44118d(_0x4cae7f)!=_0x3f5eb2(0x38c)||!_0x4cae7f)return _0x4cae7f;var _0x4f1da1=_0x4cae7f[Symbol[_0x3f5eb2(0x2f9)]];if(_0x4f1da1!==void 0x0){var _0x814558=_0x4f1da1[_0x3f5eb2(0x322)](_0x4cae7f,_0x327a6e||'default');if(_0x44118d(_0x814558)!=_0x3f5eb2(0x38c))return _0x814558;throw TypeError(_0x3f5eb2(0x144));}return(_0x327a6e===_0x3f5eb2(0x202)?String:Number)(_0x4cae7f);}function _0x2a0449(_0x37968b){const _0x4b6178=_0x1104af;var _0xb95ed6=_0x97f8a9(_0x37968b,'string');return _0x44118d(_0xb95ed6)==_0x4b6178(0x1f0)?_0xb95ed6:_0xb95ed6+'';}function _0x4730ad(_0x2588bc,_0x10745f,_0x4ee324){const _0x34c027=_0x1104af;return(_0x10745f=_0x2a0449(_0x10745f))in _0x2588bc?Object[_0x34c027(0x17f)](_0x2588bc,_0x10745f,{'value':_0x4ee324,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2588bc[_0x10745f]=_0x4ee324,_0x2588bc;}var _0x33d6bd=class extends _0x4e3c13[_0x1104af(0x220)]{constructor(..._0x1cacb3){const _0x4bf5ed=_0x1104af;super(..._0x1cacb3),_0x4730ad(this,_0x4bf5ed(0x3a3),new _0x3a7932[(_0x4bf5ed(0x2b2))](null)),_0x4730ad(this,_0x4bf5ed(0x2c5),this['_editingParams$']['asObservable']()),_0x4730ad(this,'_onSavingEditorData$',new _0x3a7932[(_0x4bf5ed(0x2b2))](!0x1)),_0x4730ad(this,_0x4bf5ed(0x28a),this[_0x4bf5ed(0x371)][_0x4bf5ed(0x244)]());}[_0x1104af(0x256)](){const _0x180d8e=_0x1104af;this['_editingParams$']['next'](null),this[_0x180d8e(0x3a3)][_0x180d8e(0x2a1)](),this[_0x180d8e(0x371)][_0x180d8e(0x304)](!0x1),this[_0x180d8e(0x371)][_0x180d8e(0x2a1)](),super[_0x180d8e(0x256)]();}[_0x1104af(0x210)](_0x232c46){const _0x187f56=_0x1104af;this['_editingParams$'][_0x187f56(0x304)](_0x232c46),_0x232c46??this[_0x187f56(0x371)][_0x187f56(0x304)](!0x1);}[_0x1104af(0x2d1)](_0x58eae0){const _0x2ed3bc=_0x1104af;this[_0x2ed3bc(0x371)]['next'](_0x58eae0);}[_0x1104af(0x3c2)](){const _0x2e9491=_0x1104af;return this[_0x2e9491(0x3a3)][_0x2e9491(0x1ef)]();}[_0x1104af(0x33f)](_0x58ec9b){const _0x5f4c75=_0x1104af;this[_0x5f4c75(0x3c2)]()&&(this[_0x5f4c75(0x2d1)](!0x0),requestAnimationFrame(()=>{const _0x6e420a=_0x5f4c75;this[_0x6e420a(0x210)](null);}));}[_0x1104af(0x1e3)](){const _0x59a41a=_0x1104af;this[_0x59a41a(0x3c2)]()&&this[_0x59a41a(0x210)](null);}};let _0x431507=(0x0,_0x269570[_0x1104af(0x37e)])(()=>{const _0x2c6405=_0x1104af;let _0x2992d9=(0x0,_0x19675e[_0x2c6405(0x379)])(_0x33d6bd),_0x4ae5b4=(0x0,_0x19675e[_0x2c6405(0x379)])(_0x5ac7da[_0x2c6405(0x32b)]),_0xd877d3=(0x0,_0x19675e[_0x2c6405(0x379)])(_0x53c637[_0x2c6405(0x13c)]),_0x72bff9=(0x0,_0x19675e[_0x2c6405(0x379)])(_0x4e3c13[_0x2c6405(0x166)]);return(0x0,_0x47d1b0[_0x2c6405(0x269)])(_0x297fde[_0x2c6405(0x34c)],{'adapter':(0x0,_0x269570[_0x2c6405(0x362)])(()=>({'getShapeModel':(_0x44d56c,_0x523702,_0x2810bc)=>_0x4ae5b4[_0x2c6405(0x2b9)](_0x44d56c,_0x523702,_0x2810bc),'getShapeData':(_0x5885da,_0x295739,_0x5440f1)=>_0x4ae5b4['getShapeDataById'](_0x5885da,_0x295739,_0x5440f1),'getDrawingTransform':(_0x35d756,_0x28434c,_0x46246a)=>{const _0x3f184d=_0x2c6405;let _0x16d312=_0xd877d3[_0x3f184d(0x320)]({'unitId':_0x35d756,'subUnitId':_0x28434c,'drawingId':_0x46246a});return _0x16d312==null?void 0x0:_0x16d312[_0x3f184d(0x3a2)];},'updateShapeText':({unitId:_0xe05ef4,shapeId:_0xee48ed,shapeText:_0x122b8d,oldShapeText:_0x1ecb76})=>{const _0x2d414c=_0x2c6405;_0x72bff9['executeCommand'](_0x5ac7da[_0x2d414c(0x30d)]['id'],{'unitId':_0xe05ef4,'shapeId':_0xee48ed,'shapeData':{'shapeText':_0x122b8d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x1ecb76}}});},'updateHostSize':({unitId:_0x4c65c2,subUnitId:_0xdbd6d7,shapeId:_0x181a6c,width:_0xbf884,height:_0x1060eb})=>{const _0x39cd03=_0x2c6405;_0x72bff9[_0x39cd03(0x1f3)](_0x5cbb0a[_0x39cd03(0x2ee)]['id'],{'unitId':_0x4c65c2,'subUnitId':_0xdbd6d7,'drawings':[{'drawingId':_0x181a6c,'key':_0x39cd03(0x22b),'value':{'width':_0xbf884,'height':_0x1060eb}}]});},'allowHostSizeShrink':({unitId:_0x119b29,subUnitId:_0x453b7a,shapeId:_0x411304})=>(0x0,_0x297fde[_0x2c6405(0x2ea)])(_0x4ae5b4[_0x2c6405(0x186)](_0x119b29,_0x453b7a,_0x411304))}),[_0x72bff9,_0x4ae5b4,_0xd877d3]),'editingService':_0x2992d9,'editorUnitId':_0x2b7171,'positionOptions':(0x0,_0x269570[_0x2c6405(0x362)])(()=>({'viewportKeys':{'main':_0x5585ad[_0x2c6405(0x192)][_0x2c6405(0x1d2)]}}),[])});}),_0x3ff7a8=class extends _0x4e3c13['Disposable']{constructor(_0x3c5216,_0x2939b7){const _0x10a754=_0x1104af;super(),this[_0x10a754(0x1fa)]=_0x3c5216,this[_0x10a754(0x1f9)]=_0x2939b7,this[_0x10a754(0x150)](),this[_0x10a754(0x389)]();}[_0x1104af(0x150)](){const _0x4c830c=_0x1104af;this[_0x4c830c(0x1f9)][_0x4c830c(0x2f8)](_0x4c830c(0x1cd))||this['disposeWithMe'](this[_0x4c830c(0x1f9)]['register']({'ObjectLayersIcon':_0x4a8940}));}[_0x1104af(0x389)](){const _0x4fd097=_0x1104af;this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x23f350,_0x2eb68d)),this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x2802a4,_0x2ad4aa)),this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x2c592e,_0x5e882)),this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x1afb3d,_0x297fde[_0x4fd097(0x1e2)])),this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x4eff94,_0x511625)),this['disposeWithMe'](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x4ed7cd,_0x2c0664)),this[_0x4fd097(0x1fa)]['get'](_0x30bc3a[_0x4fd097(0x38f)])||this['disposeWithMe'](this[_0x4fd097(0x1fa)]['register'](_0x30bc3a['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0xdd027b)),this[_0x4fd097(0x3a0)](this[_0x4fd097(0x1fa)][_0x4fd097(0x339)](_0x4fd097(0x15d),_0x431507));}};_0x3ff7a8=_0x21e0a3([_0x3a726b(0x0,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x19675e[_0x1104af(0x171)])),_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x19675e['IconManager']))],_0x3ff7a8);var _0x4b9dac=class extends _0x4beb3c[_0x1104af(0x2ad)]{constructor(_0x1cefb0,_0x4ef88e){const _0xda5813=_0x1104af;super(_0x1cefb0,_0x4ef88e),_0x4730ad(this,_0xda5813(0x1d6),null),_0x4730ad(this,_0xda5813(0x358),null),_0x4730ad(this,_0xda5813(0x2c2),null),_0x4730ad(this,_0xda5813(0x152),null),_0x4ef88e&&this[_0xda5813(0x2af)](_0x4ef88e);}[_0x1104af(0x273)](){const _0x3f0bc2=_0x1104af;return{'unitId':this['_unitId'],'subUnitId':this[_0x3f0bc2(0x152)],'drawingId':this['_shapeId']};}[_0x1104af(0x2af)](_0x5c4faa){const _0x1becd2=_0x1104af;_0x5c4faa[_0x1becd2(0x19e)]!==void 0x0&&(this[_0x1becd2(0x1d6)]=_0x5c4faa[_0x1becd2(0x19e)]),_0x5c4faa[_0x1becd2(0x20a)]!==void 0x0&&(this[_0x1becd2(0x358)]=_0x5c4faa[_0x1becd2(0x20a)]),_0x5c4faa[_0x1becd2(0x262)]!==void 0x0&&(this[_0x1becd2(0x2c2)]=_0x5c4faa[_0x1becd2(0x262)]),_0x5c4faa[_0x1becd2(0x260)]!==void 0x0&&(this[_0x1becd2(0x152)]=_0x5c4faa[_0x1becd2(0x260)]),this[_0x1becd2(0x341)]({'width':_0x5c4faa[_0x1becd2(0x36b)],'height':_0x5c4faa['height']});}['_draw'](_0x10c737){const _0x50d6e8=_0x1104af;_0x4beb3c[_0x50d6e8(0x393)][_0x50d6e8(0x302)](_0x10c737,{'radius':_0x7d9a71[_0x50d6e8(0x2cf)][_0x50d6e8(0x197)],'fill':_0x7d9a71['ShapeDefaultConfig'][_0x50d6e8(0x25f)],'stroke':_0x7d9a71[_0x50d6e8(0x2cf)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x13d1f7(_0xc6ae2f,_0x1f8db1,_0x4e6ddb){const _0x4c15fa=_0x1104af;let _0x166400=(0x0,_0x297fde[_0x4c15fa(0x241)])(_0xc6ae2f,{..._0x1f8db1,'dataModel':{..._0x1f8db1[_0x4c15fa(0x2d0)]??{},..._0x4e6ddb?{'doc':_0x4e6ddb}:null}}),_0x45b81f=(0x0,_0x297fde['resolveShapeTextEditorWrapStrategy'])(_0x166400);return{'clip':(0x0,_0x297fde['shouldClipShapeTextDocument'])(_0x166400,_0x45b81f),'wrapStrategy':_0x45b81f};}var _0x79ba4d=class extends _0x4beb3c[_0x1104af(0x2ad)]{constructor(_0x100699,_0x48b703){const _0x3509c4=_0x1104af;super(_0x100699,_0x48b703),_0x4730ad(this,_0x3509c4(0x3c6),void 0x0),_0x4730ad(this,_0x3509c4(0x3be),new _0x297fde[(_0x3509c4(0x1af))](()=>this[_0x3509c4(0x2e9)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x4730ad(this,_0x3509c4(0x158),!0x0),_0x4730ad(this,_0x3509c4(0x3a4),_0x4e3c13[_0x3509c4(0x316)]['DRAWING_SHAPE']),_0x4730ad(this,_0x3509c4(0x2bb),!0x0),this[_0x3509c4(0x3c6)]={..._0x48b703},this[_0x3509c4(0x3be)]['setPresentation'](_0x48b703[_0x3509c4(0x31d)],_0x48b703[_0x3509c4(0x228)]!==!0x1),this['_init'](),this[_0x3509c4(0x1c2)]();}[_0x1104af(0x2c3)](){const _0x18bc99=_0x1104af;this[_0x18bc99(0x15f)][_0x18bc99(0x28f)](_0x25ec90=>{const _0x4c479d=_0x18bc99;this[_0x4c479d(0x174)](_0x25ec90);});}[_0x1104af(0x25b)](_0x26e295){const _0x5d0cf8=_0x1104af;this[_0x5d0cf8(0x3c6)][_0x5d0cf8(0x251)]=_0x26e295;}[_0x1104af(0x210)](_0x4a2177){const _0x49e153=_0x1104af;this['_props'][_0x49e153(0x2d4)]=_0x4a2177,this['makeDirty'](!0x0);}[_0x1104af(0x294)](_0x33675b,_0x969b49=!0x0){const _0x4a31d0=_0x1104af;this[_0x4a31d0(0x3be)][_0x4a31d0(0x2d2)](_0x33675b,_0x969b49),this[_0x4a31d0(0x3c6)]['formulaPresentation']=_0x33675b,this[_0x4a31d0(0x1c2)](),this[_0x4a31d0(0x2e9)](!0x0);}[_0x1104af(0x1c2)](){const _0x39a450=_0x1104af;let _0x2fbd23=this[_0x39a450(0x3c6)][_0x39a450(0x35b)],_0x32f538=_0x2fbd23['getShapeTextData'](),_0x281aec=(0x0,_0x297fde[_0x39a450(0x1be)])(_0x32f538==null?void 0x0:_0x32f538[_0x39a450(0x2d0)]),_0x36d823=_0x281aec==null?void 0x0:_0x281aec['doc'],_0x3f40b3=this[_0x39a450(0x3be)][_0x39a450(0x2fe)]();if(!_0x36d823||_0x3f40b3['length']===0x0)return;_0x2fbd23['updateContext']({'width':this[_0x39a450(0x36b)],'height':this[_0x39a450(0x285)]});let _0x3ce6c7=(0x0,_0x297fde[_0x39a450(0x318)])({'documentData':_0x3f40b3['map'](_0x90f060=>(0x0,_0x9a69b6['createShapeFormulaDocument'])(_0x36d823,_0x90f060)),'height':this[_0x39a450(0x285)],'shapeData':_0x2fbd23['getShapeData'](),'textRect':_0x2fbd23[_0x39a450(0x1e0)]({'left':0x0,'top':0x0,'width':this[_0x39a450(0x36b)],'height':this['height']}),'width':this[_0x39a450(0x36b)]});if(_0x3ce6c7){var _0x343401;this[_0x39a450(0x2f1)](_0x3ce6c7[_0x39a450(0x36b)],_0x3ce6c7['height']),(_0x343401=this['getScene']())==null||(_0x343401=_0x343401['getTransformer']())==null||_0x343401[_0x39a450(0x2d8)]();}}get['unitId'](){const _0x2506ff=_0x1104af;return this['_props'][_0x2506ff(0x262)];}get[_0x1104af(0x260)](){const _0x375723=_0x1104af;return this['_props'][_0x375723(0x260)];}['_updateSrcRectByTransform'](_0xf735e0){const _0x5cd5fa=_0x1104af;if(this[_0x5cd5fa(0x3c6)][_0x5cd5fa(0x298)]==null||!this[_0x5cd5fa(0x158)])return;let {width:_0x1ef86d,height:_0x118dcf}=this,{width:_0x31c935=0x0,height:_0x2861b6=0x0}=_0xf735e0[_0x5cd5fa(0x169)],{left:_0x18b8b7=0x0,top:_0x2e3583=0x0,right:_0x5b624a=0x0,bottom:_0x5356f9=0x0}=this[_0x5cd5fa(0x3c6)][_0x5cd5fa(0x298)],_0x37623b=_0x18b8b7,_0x4d73a5=_0x2e3583,_0x2fc029=_0x5b624a,_0x3bba1a=_0x5356f9,_0x1e9c26=!0x1;if(_0x31c935!==0x0&&_0x31c935!==_0x1ef86d){let _0x573f0e=_0x18b8b7/_0x31c935,_0x3bcab1=_0x5b624a/_0x31c935;_0x37623b=_0x1ef86d*_0x573f0e,_0x2fc029=_0x1ef86d*_0x3bcab1,_0x1e9c26=!0x0;}if(_0x2861b6!==0x0&&_0x2861b6!==_0x118dcf){let _0x2736d7=_0x2e3583/_0x2861b6,_0x91f354=_0x5356f9/_0x2861b6;_0x4d73a5=_0x118dcf*_0x2736d7,_0x3bba1a=_0x118dcf*_0x91f354,_0x1e9c26=!0x0;}_0x1e9c26&&this[_0x5cd5fa(0x355)]({'left':_0x37623b,'top':_0x4d73a5,'right':_0x2fc029,'bottom':_0x3bba1a});}[_0x1104af(0x355)](_0x3b0f87){const _0x1575c0=_0x1104af;this[_0x1575c0(0x3c6)][_0x1575c0(0x298)]=_0x3b0f87,this[_0x1575c0(0x2e9)](!0x0);}[_0x1104af(0x13d)](_0x216095){const _0x5cbfa2=_0x1104af;this[_0x5cbfa2(0x3c6)][_0x5cbfa2(0x2b6)]=_0x216095,this['makeDirty'](!0x0);}set[_0x1104af(0x3a2)](_0x39a1b2){this['_transform']=_0x39a1b2;}get[_0x1104af(0x3a2)](){const _0x2535ce=_0x1104af;this[_0x2535ce(0x2a3)]||this[_0x2535ce(0x303)]();let _0x292562=this[_0x2535ce(0x2a3)][_0x2535ce(0x2de)]();return this[_0x2535ce(0x3b8)](_0x292562);}get['shapeModel'](){const _0x1de41b=_0x1104af;return this['_props'][_0x1de41b(0x35b)];}get[_0x1104af(0x19e)](){const _0x507efd=_0x1104af;return this[_0x507efd(0x3c6)][_0x507efd(0x19e)];}get[_0x1104af(0x14b)](){const _0x3f02a1=_0x1104af;return _0x4beb3c['RENDER_CLASS_TYPE'][_0x3f02a1(0x3ac)];}['_draw'](_0x1674e5,_0x31e056,_0x5322f5,_0x1ae23c){const _0x22bd22=_0x1104af;let _0x1f0f40=this['_props'][_0x22bd22(0x35b)];if(!_0x1f0f40||!_0x31e056)return;let _0x38d86b=_0x5322f5??this['width'],_0xb15063=_0x1ae23c??this[_0x22bd22(0x285)],_0x4a5cae={'shapeType':_0x1f0f40['getShapeType'](),'width':_0x38d86b,'height':_0xb15063},_0x136e7f={'renderMode':_0x7d9a71['ShapeRenderModeEnum'][_0x22bd22(0x2ef)],'oKey':this[_0x22bd22(0x148)],'image':this[_0x22bd22(0x3c6)][_0x22bd22(0x2b6)],'angle':this['angle']};_0x1f0f40[_0x22bd22(0x1f2)](_0x4a5cae),_0x1674e5['save']();let _0x517aca={'top':0x0,'left':0x0,'width':_0x38d86b,'height':_0xb15063},_0x5836c3=_0x1f0f40[_0x22bd22(0x1d0)](_0x517aca);_0x5836c3?this[_0x22bd22(0x2d5)](_0x1674e5,_0x5836c3,_0x19af83=>{_0x1f0f40['render'](_0x19af83,_0x517aca,_0x136e7f);}):(this[_0x22bd22(0x141)](),_0x1f0f40['render'](_0x1674e5,_0x517aca,_0x136e7f)),_0x1674e5[_0x22bd22(0x2fa)]();let _0x2c27ca=_0x1f0f40[_0x22bd22(0x15c)](),_0x18f2af=_0x1f0f40[_0x22bd22(0x1e0)](_0x517aca),_0x2fb5fe=_0x1f0f40['isLineShape']();if(_0x2c27ca&&_0x18f2af&&!_0x2fb5fe){_0x1674e5[_0x22bd22(0x297)](),this['getState']()[_0x22bd22(0x333)]&&_0x1674e5['scale'](-0x1,0x1);let _0x4b079e=_0x38d86b/0x2,_0x4370e8=_0xb15063/0x2;_0x1674e5[_0x22bd22(0x20d)](-_0x4b079e,-_0x4370e8),_0x1674e5['beginPath'](),this['_drawShapeText'](_0x1674e5,_0x2c27ca,_0x18f2af),_0x1674e5[_0x22bd22(0x2fa)]();}}[_0x1104af(0x270)](_0x339332){}[_0x1104af(0x201)](_0x3a2f8b,_0x44af3d,_0x39faf3){const _0xdf0b22=_0x1104af;var _0x3f5e79;this[_0xdf0b22(0x3c6)][_0xdf0b22(0x2d4)]||(!((_0x3f5e79=_0x44af3d[_0xdf0b22(0x2d0)])!=null&&_0x3f5e79[_0xdf0b22(0x2ce)])&&_0xdf0b22(0x356)in _0x44af3d&&_0x44af3d[_0xdf0b22(0x356)]===!0x1?this[_0xdf0b22(0x1f6)](_0x3a2f8b,_0x44af3d,_0x39faf3):this['_drawRichText'](_0x3a2f8b,_0x44af3d,_0x39faf3));}[_0x1104af(0x1f6)](_0x1313b8,_0x336b6b,_0x12bcac){const _0x239112=_0x1104af;this[_0x239112(0x288)](_0x1313b8,{..._0x336b6b,'text':_0x336b6b[_0x239112(0x394)]??'','dataModel':{'doc':(0x0,_0x297fde[_0x239112(0x354)])(_0x336b6b,_0x239112(0x1e4)+this[_0x239112(0x148)])}},_0x12bcac);}[_0x1104af(0x288)](_0x322910,_0x541ba5,_0x2740ca){const _0x27601e=_0x1104af;(0x0,_0x297fde[_0x27601e(0x31c)])(_0x322910,this[_0x27601e(0x3be)],(_0x40cac8,_0x1a8ea5)=>{const _0xb62f11=_0x27601e;this[_0xb62f11(0x2ac)](_0x40cac8,_0x541ba5,_0x2740ca,_0x1a8ea5);});}['_drawRichTextLayer'](_0x172cdf,_0x394015,_0x10b878,_0x40afff){const _0x19c28a=_0x1104af;let _0x1f6ab2=this[_0x19c28a(0x3c6)][_0x19c28a(0x2a5)];if(!_0x394015['dataModel']||!_0x1f6ab2){_0x1f6ab2||console[_0x19c28a(0x207)](_0x19c28a(0x36f));return;}let _0x57894=(0x0,_0x297fde[_0x19c28a(0x1be)])(_0x394015['dataModel']);if(!_0x57894)return;let _0x2bd417=_0x57894[_0x19c28a(0x2ce)];if(!_0x2bd417)return;let _0x404124=(0x0,_0x9a69b6[_0x19c28a(0x18b)])(_0x2bd417,_0x40afff),_0x1cfd05=_0x57894['va']??_0x4e3c13[_0x19c28a(0x2d6)][_0x19c28a(0x35d)],_0x415ff3=_0x57894['ha']??_0x4e3c13[_0x19c28a(0x1a6)][_0x19c28a(0x157)],_0x36e1a5=_0x13d1f7(this['_props'][_0x19c28a(0x35b)][_0x19c28a(0x258)](),_0x394015,_0x404124),_0x69a263=_0x394015[_0x19c28a(0x277)],_0x22cf0d=new _0x4e3c13[(_0x19c28a(0x170))]((0x0,_0x297fde[_0x19c28a(0x21d)])(_0x404124,{'isHorizontal':_0x69a263!==!0x1,'textRect':_0x10b878,'verticalAlign':_0x1cfd05,'horizontalAlign':_0x415ff3,'wrapStrategy':_0x36e1a5[_0x19c28a(0x28d)]})),_0x2063bd=new _0x4beb3c[(_0x19c28a(0x36c))](_0x22cf0d),_0x431a03=_0x4beb3c[_0x19c28a(0x1c7)][_0x19c28a(0x36d)](_0x2063bd,_0x1f6ab2);_0x431a03[_0x19c28a(0x183)]();let _0x261e77=_0x431a03[_0x19c28a(0x382)]()['actualHeight'],_0x568d3d=(0x0,_0x297fde[_0x19c28a(0x30b)])({'contentHeight':_0x261e77,'verticalAlign':_0x1cfd05,'viewportHeight':_0x10b878[_0x19c28a(0x285)]});_0x22cf0d[_0x19c28a(0x1fe)]({'pageSize':{'width':_0x69a263===!0x1?_0x10b878[_0x19c28a(0x285)]:_0x10b878[_0x19c28a(0x36b)],'height':_0x568d3d[_0x19c28a(0x336)]}}),_0x22cf0d[_0x19c28a(0x315)]({'t':_0x568d3d[_0x19c28a(0x1c4)]}),_0x431a03[_0x19c28a(0x183)]();let _0x5b90a7=new _0x4beb3c['Documents'](_0x19c28a(0x2e0)+this[_0x19c28a(0x148)],_0x431a03,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x19c28a(0x2e9)](!0x0)});_0x5b90a7[_0x19c28a(0x2f1)](_0x10b878['width'],_0x568d3d[_0x19c28a(0x336)]),_0x172cdf['save'](),_0x172cdf['translateWithPrecision'](_0x10b878[_0x19c28a(0x39c)],_0x10b878[_0x19c28a(0x27a)]),_0x36e1a5['clip']&&(_0x172cdf['beginPath'](),_0x172cdf[_0x19c28a(0x2bd)](0x0,_0x568d3d[_0x19c28a(0x2fd)],_0x10b878['width'],_0x568d3d['clipHeight']),_0x172cdf[_0x19c28a(0x25d)]()),_0x568d3d['contentVerticalOffset']&&_0x172cdf[_0x19c28a(0x3af)](0x0,_0x568d3d['contentVerticalOffset']),_0x5b90a7[_0x19c28a(0x162)](_0x172cdf),_0x172cdf[_0x19c28a(0x2fa)](),_0x5b90a7[_0x19c28a(0x256)](),_0x431a03[_0x19c28a(0x256)](),_0x2063bd[_0x19c28a(0x256)](),_0x22cf0d[_0x19c28a(0x256)]();}[_0x1104af(0x33b)](_0x377178,_0x3127a8,_0x226854=!0x1){const _0x19206c=_0x1104af;if(!this[_0x19206c(0x295)])return this[_0x19206c(0x2e9)](!0x1),this;let {width:_0x2f2123,height:_0x29e7b9,left:_0x343d72,top:_0x5659fc}=this,_0xac8f9=this[_0x19206c(0x238)]();if(_0x2f2123=_0xac8f9['width'],_0x29e7b9=_0xac8f9['height'],_0x343d72=_0xac8f9[_0x19206c(0x39c)],_0x5659fc=_0xac8f9[_0x19206c(0x27a)],this[_0x19206c(0x2b1)](_0x3127a8)){let {top:_0x50f585,left:_0x363180,bottom:_0x26a73a,right:_0x493dd2}=_0x3127a8[_0x19206c(0x1d5)];if(_0x2f2123+this[_0x19206c(0x17c)]+_0x343d72<_0x363180||_0x493dd2<_0x343d72||_0x29e7b9+this[_0x19206c(0x17c)]+_0x5659fc<_0x50f585||_0x26a73a<_0x5659fc)return this;}let _0x41c046=_0x343d72+_0x2f2123/0x2,_0x4b9f22=_0x5659fc+_0x29e7b9/0x2,_0x510051=this['transform'][_0x19206c(0x261)]();if(this[_0x19206c(0x3c6)]['isEditing']){let _0x1eea2f=this[_0x19206c(0x2be)](),_0x1fc097=new _0x4beb3c['Transform']();_0x1fc097[_0x19206c(0x2a7)]({..._0x1eea2f}),_0x510051=_0x1fc097[_0x19206c(0x261)]();}return _0x377178[_0x19206c(0x297)](),this['_props'][_0x19206c(0x35b)][_0x19206c(0x27d)]===!0x0||_0x377178[_0x19206c(0x3a2)](_0x510051[0x0],_0x510051[0x1],_0x510051[0x2],_0x510051[0x3],_0x41c046,_0x4b9f22),this[_0x19206c(0x328)](_0x377178,_0x3127a8,_0x2f2123,_0x29e7b9),_0x377178['restore'](),this['makeDirty'](!0x1),this;}[_0x1104af(0x1d9)](_0x4c2fae){const _0x52227c=_0x1104af;let {left:_0x387530,top:_0x287f19,width:_0x2e3a0b,height:_0x2a569c}=this[_0x52227c(0x238)](),_0xc787ea=this[_0x52227c(0x3a2)][_0x52227c(0x261)](),_0x323e8d=_0x387530+_0x2e3a0b/0x2,_0x289823=_0x287f19+_0x2a569c/0x2,_0x382638=new _0x4beb3c['Transform']([_0xc787ea[0x0],_0xc787ea[0x1],_0xc787ea[0x2],_0xc787ea[0x3],_0x323e8d,_0x289823]),_0x1b8665=this[_0x52227c(0x16c)]();return(this[_0x52227c(0x331)]&&(_0x1b8665==null?void 0x0:_0x1b8665[_0x52227c(0x14b)])===_0x4beb3c[_0x52227c(0x17e)][_0x52227c(0x344)]?_0x1b8665[_0x52227c(0x1cb)][_0x52227c(0x1e7)](_0x382638):_0x382638)['invert']()[_0x52227c(0x35c)](_0x4c2fae);}[_0x1104af(0x1cc)](_0x50a8a3){const _0x4178f2=_0x1104af;let {left:_0x6379a9,top:_0x1b5699,width:_0x2acc06,height:_0x6e7291}=this['getRealBound'](),_0x15f3f0=_0x6379a9+_0x2acc06/0x2,_0xc8a739=_0x1b5699+_0x6e7291/0x2,_0x2d6dbd=this[_0x4178f2(0x3a2)][_0x4178f2(0x261)](),_0x1e3376=new _0x4beb3c['Transform']([_0x2d6dbd[0x0],_0x2d6dbd[0x1],_0x2d6dbd[0x2],_0x2d6dbd[0x3],_0x15f3f0,_0xc8a739]),_0xb5e4dd=this[_0x4178f2(0x16c)](),_0x34cd5a=(this[_0x4178f2(0x331)]&&(_0xb5e4dd==null?void 0x0:_0xb5e4dd[_0x4178f2(0x14b)])===_0x4beb3c[_0x4178f2(0x17e)]['GROUP']?_0xb5e4dd[_0x4178f2(0x1cb)][_0x4178f2(0x1e7)](_0x1e3376):_0x1e3376)['invert']()[_0x4178f2(0x35c)](_0x50a8a3),_0x6156cb=_0x2acc06/0x2,_0x47f31e=_0x6e7291/0x2,_0x1f46f1=this[_0x4178f2(0x3c6)][_0x4178f2(0x35b)];return _0x1f46f1&&_0x1f46f1[_0x4178f2(0x386)]()?_0x1f46f1['isHitLine'](_0x34cd5a['x'],_0x34cd5a['y'],_0x2acc06,_0x6e7291):_0x34cd5a['x']>=-_0x6156cb-this[_0x4178f2(0x17c)]/0x2&&_0x34cd5a['x']<=_0x6156cb+this[_0x4178f2(0x17c)]/0x2&&_0x34cd5a['y']>=-_0x47f31e-this[_0x4178f2(0x17c)]/0x2&&_0x34cd5a['y']<=_0x47f31e+this[_0x4178f2(0x17c)]/0x2;}['dispose'](){const _0xcc9b17=_0x1104af;this[_0xcc9b17(0x3be)]['dispose'](),this['_props'][_0xcc9b17(0x35b)]=null,super[_0xcc9b17(0x256)]();}};let _0x45b8f4=class extends _0x4e3c13[_0x1104af(0x220)]{constructor(_0x5a7e7b,_0x4b4378,_0xe2b22c,_0x57346f){const _0x41ce7d=_0x1104af;super(),this[_0x41ce7d(0x240)]=_0x5a7e7b,this[_0x41ce7d(0x3c5)]=_0x4b4378,this[_0x41ce7d(0x211)]=_0xe2b22c,this[_0x41ce7d(0x2cb)]=_0x57346f,_0x4730ad(this,_0x41ce7d(0x2ba),null),_0x4730ad(this,_0x41ce7d(0x2c2),null),_0x4730ad(this,_0x41ce7d(0x152),null),_0x4730ad(this,'_activeShapeAdjustPointList',void 0x0),_0x4730ad(this,_0x41ce7d(0x299),[]),_0x4730ad(this,'_baseShapeLeft',0x0),_0x4730ad(this,_0x41ce7d(0x32a),0x0),_0x4730ad(this,_0x41ce7d(0x1ab),0x0),_0x4730ad(this,_0x41ce7d(0x37b),0x0),_0x4730ad(this,_0x41ce7d(0x1e6),!0x1),_0x4730ad(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x4730ad(this,_0x41ce7d(0x2a4),void 0x0),_0x4730ad(this,_0x41ce7d(0x15a),void 0x0),_0x4730ad(this,_0x41ce7d(0x2bf),void 0x0),_0x4730ad(this,_0x41ce7d(0x2ab),void 0x0),this[_0x41ce7d(0x385)](),this[_0x41ce7d(0x3b3)]();}['clearAdjustControls'](){const _0x5c6dc2=_0x1104af;this[_0x5c6dc2(0x369)]();}[_0x1104af(0x3a6)](){const _0x53e286=_0x1104af;this[_0x53e286(0x293)](!0x0);}['_getShapeAdjustPointListById'](_0x21c752,_0x1d7c12,_0x5525e7){const _0x592961=_0x1104af;var _0x67aef1;return(_0x67aef1=this['_docsShapeService'][_0x592961(0x2b9)](_0x21c752,_0x1d7c12,_0x5525e7))==null?void 0x0:_0x67aef1['getDrawingPoints']();}['_getShapeAdjustInfosById'](_0x265fae,_0x55f31f,_0x17104d,_0x399ec5){const _0x1de1f6=_0x1104af;var _0x4f44bc;return(_0x4f44bc=this['_docsShapeService'][_0x1de1f6(0x2b9)](_0x265fae,_0x55f31f,_0x17104d))==null?void 0x0:_0x4f44bc[_0x1de1f6(0x151)](_0x399ec5);}[_0x1104af(0x153)](){const _0x3c68a0=_0x1104af;return this['_unitId']===null||this[_0x3c68a0(0x152)]===null||this[_0x3c68a0(0x2ba)]===null?null:this[_0x3c68a0(0x3c5)]['getDrawingByParam']({'unitId':this[_0x3c68a0(0x2c2)],'subUnitId':this[_0x3c68a0(0x152)],'drawingId':this[_0x3c68a0(0x2ba)]})??null;}[_0x1104af(0x188)](_0x4b54a2){const _0x2adaac=_0x1104af;if(this[_0x2adaac(0x2c2)]===null||this['_subUnitId']===null||this[_0x2adaac(0x2ba)]===null)return null;let _0x3f10cd=(0x0,_0x53c637['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x2adaac(0x2c2)],'subUnitId':this[_0x2adaac(0x152)],'drawingId':this[_0x2adaac(0x2ba)]}),_0x541510=_0x4b54a2['getObjectIncludeInGroup'](_0x3f10cd);return _0x541510 instanceof _0x79ba4d?_0x541510:null;}[_0x1104af(0x3c7)](_0x58a089=!0x1){const _0x24e02f=_0x1104af;if(this[_0x24e02f(0x2c2)]===null||this[_0x24e02f(0x152)]===null||this[_0x24e02f(0x2ba)]===null)return;let _0x216829=this[_0x24e02f(0x153)]();if((_0x216829==null?void 0x0:_0x216829['drawingType'])!==_0x4e3c13[_0x24e02f(0x316)][_0x24e02f(0x33e)]||!_0x216829[_0x24e02f(0x3a2)])return;let _0x402788=this[_0x24e02f(0x211)]['getShapeModel'](this[_0x24e02f(0x2c2)],this[_0x24e02f(0x152)],this[_0x24e02f(0x2ba)]);if(!_0x402788||_0x402788['isLineShape']())return;let {left:_0x2ea27f=0x0,top:_0x3712a8=0x0,width:_0x2db0c6=0x0,height:_0x13b965=0x0,flipX:_0x4da38a,flipY:_0x40a2b1,angle:_0x384edc=0x0}=_0x216829[_0x24e02f(0x3a2)];(_0x58a089||!this[_0x24e02f(0x190)])&&(_0x402788['updateContext']({'width':_0x2db0c6,'height':_0x13b965}),this[_0x24e02f(0x190)]=_0x402788[_0x24e02f(0x270)]());let _0x2ecafa=this[_0x24e02f(0x190)];if(!(_0x2ecafa!=null&&_0x2ecafa[_0x24e02f(0x281)]))return;let {scene:_0x1c7e70}=this[_0x24e02f(0x240)];for(let _0xbf769b of _0x2ecafa){let _0x24d3a3=this['_toVisualAdjustPoint'](_0xbf769b,_0x2db0c6,_0x13b965,!!_0x4da38a,!!_0x40a2b1,_0x384edc);this['_addShapeAdjustControl'](_0x1c7e70,_0x24d3a3,_0x24d3a3['adjName'],_0x2ea27f,_0x3712a8,this[_0x24e02f(0x2c2)],this[_0x24e02f(0x152)]);}}['_toVisualAdjustPoint'](_0x139356,_0x24998a,_0x2394b,_0x71379c,_0x382eb3,_0x3835b4){const _0x563b86=_0x1104af;let _0x1cf534=_0x139356['x'],_0x11e608=_0x139356['y'];if(_0x71379c&&(_0x1cf534=_0x24998a-_0x1cf534),_0x382eb3&&(_0x11e608=_0x2394b-_0x11e608),_0x3835b4!==0x0){let _0x56f5f6=_0x24998a/0x2,_0x8760b0=_0x2394b/0x2,_0x460644=_0x3835b4*Math['PI']/0xb4,_0x4273e7=Math['cos'](_0x460644),_0x4d85fd=Math[_0x563b86(0x22a)](_0x460644),_0x474282=_0x1cf534-_0x56f5f6,_0xc15371=_0x11e608-_0x8760b0;_0x1cf534=_0x56f5f6+(_0x474282*_0x4273e7-_0xc15371*_0x4d85fd),_0x11e608=_0x8760b0+(_0x474282*_0x4d85fd+_0xc15371*_0x4273e7);}return{'x':_0x1cf534,'y':_0x11e608,'adjName':_0x139356[_0x563b86(0x20a)]};}[_0x1104af(0x293)](_0x2fa920=!0x1){const _0x54e729=_0x1104af;_0x2fa920&&this[_0x54e729(0x369)](),this[_0x54e729(0x3c7)](_0x2fa920);}['_addShapeAdjustControl'](_0x1994a8,_0x11dff6,_0x461812,_0x36b8ae,_0x23b1f9,_0x197a7e,_0x48d48d){const _0x462bb1=_0x1104af;if(!this['_activeShapeId'])return;let _0x4063d3='doc-shape-adjust-point-'+this[_0x462bb1(0x2ba)]+'-'+_0x461812,_0x1f6695=_0x1994a8[_0x462bb1(0x2e8)](_0x4063d3);if(_0x1f6695){_0x1f6695[_0x462bb1(0x341)]({'left':_0x11dff6['x']+_0x36b8ae-_0x7d9a71[_0x462bb1(0x2cf)][_0x462bb1(0x197)],'top':_0x11dff6['y']+_0x23b1f9-_0x7d9a71[_0x462bb1(0x2cf)][_0x462bb1(0x197)]}),_0x1f6695[_0x462bb1(0x2e9)](!0x0);return;}let _0x2f9e5e=new _0x4b9dac(_0x4063d3,{'left':_0x11dff6['x']+_0x36b8ae-_0x7d9a71[_0x462bb1(0x2cf)][_0x462bb1(0x197)],'top':_0x11dff6['y']+_0x23b1f9-_0x7d9a71[_0x462bb1(0x2cf)][_0x462bb1(0x197)],'adjName':_0x461812,'shapeId':this[_0x462bb1(0x2ba)],'unitId':_0x197a7e,'subUnitId':_0x48d48d,'width':_0x7d9a71['ShapeDefaultConfig'][_0x462bb1(0x197)]+0x8,'height':_0x7d9a71[_0x462bb1(0x2cf)][_0x462bb1(0x197)]+0x8,'zIndex':_0x4beb3c[_0x462bb1(0x2da)]+0x1,'evented':!0x0});this['_adjustPointObjects']['push'](_0x2f9e5e),this[_0x462bb1(0x3ad)](_0x2f9e5e,_0x1994a8,_0x461812),_0x1994a8[_0x462bb1(0x15b)](_0x2f9e5e,_0x4beb3c['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x1104af(0x369)](){const _0x2bc5c3=_0x1104af;this[_0x2bc5c3(0x299)]['forEach'](_0x1f24f9=>_0x1f24f9[_0x2bc5c3(0x256)]()),this['_adjustPointObjects']=[];}['_updateAdjustControlPositions'](){const _0x5718a0=_0x1104af;this[_0x5718a0(0x3c7)]();}[_0x1104af(0x3bc)](_0x4b50ac,_0x44d893,_0x503289){const _0x4e0e1c=_0x1104af;let _0xf81411=_0x4beb3c['Vector2'][_0x4e0e1c(0x1ec)]([_0x44d893,_0x503289]),_0x560bcc=_0x4b50ac[_0x4e0e1c(0x289)](_0xf81411)??_0x4b50ac['getViewports']()[0x0];return(_0x560bcc==null?void 0x0:_0x560bcc[_0x4e0e1c(0x296)](_0xf81411))??_0xf81411;}[_0x1104af(0x3ad)](_0x3e2caa,_0x5a849a,_0x33e0bd){const _0x294002=_0x1104af;this['disposeWithMe']((0x0,_0x4e3c13[_0x294002(0x14e)])(_0x3e2caa[_0x294002(0x2f7)][_0x294002(0x28f)]((_0x5803ce,_0x20269c)=>{const _0x1952f3=_0x294002;var _0x131c5b;let _0x563e6d=_0x3e2caa['getDrawingSearch']();this[_0x1952f3(0x2a4)]=this['_getShapeAdjustInfosById'](_0x563e6d['unitId'],_0x563e6d[_0x1952f3(0x260)],_0x563e6d['drawingId'],_0x33e0bd),this[_0x1952f3(0x15a)]=this[_0x1952f3(0x211)][_0x1952f3(0x2b9)](_0x563e6d[_0x1952f3(0x262)],_0x563e6d['subUnitId'],_0x563e6d['drawingId']);let _0x1450fb=this[_0x1952f3(0x153)](),_0x4284f6=_0x1450fb==null?void 0x0:_0x1450fb[_0x1952f3(0x3a2)];if(!_0x1450fb||!_0x4284f6||!this['_activeShapeModel'])return;this[_0x1952f3(0x24f)]=_0x4284f6[_0x1952f3(0x39c)]||0x0,this['_baseShapeTop']=_0x4284f6[_0x1952f3(0x27a)]||0x0,this[_0x1952f3(0x1ab)]=_0x4284f6[_0x1952f3(0x36b)]||0x0,this[_0x1952f3(0x37b)]=_0x4284f6[_0x1952f3(0x285)]||0x0;let _0x449b27=!!_0x4284f6['flipX'],_0x4ef28e=!!_0x4284f6[_0x1952f3(0x164)],_0x2bc84c=_0x4284f6[_0x1952f3(0x375)]||0x0,_0x569823={...((_0x131c5b=this['_activeAdjustInfo'])==null?void 0x0:_0x131c5b[_0x1952f3(0x361)])??{}};this[_0x1952f3(0x1e6)]=!0x0,_0x5a849a[_0x1952f3(0x242)](),this[_0x1952f3(0x2bf)]=_0x5a849a[_0x1952f3(0x1a7)][_0x1952f3(0x28f)]((_0x1a3483,_0x1796f5)=>{const _0x46f262=_0x1952f3;var _0xee2a75;if(!this['_isStartAdjusting']||!this[_0x46f262(0x15a)]||!this[_0x46f262(0x2a4)])return;_0x5a849a['disableObjectsEvent'](),_0x5a849a[_0x46f262(0x26d)](_0x4beb3c[_0x46f262(0x16e)][_0x46f262(0x2aa)]);let _0x344dc7=this[_0x46f262(0x3bc)](_0x5a849a,_0x1a3483['offsetX'],_0x1a3483[_0x46f262(0x276)]),_0x3e40d2=_0x344dc7['x']-this[_0x46f262(0x24f)],_0x54100a=_0x344dc7['y']-this[_0x46f262(0x32a)];if(_0x2bc84c!==0x0){let _0x132fa7=this[_0x46f262(0x1ab)]/0x2,_0x586fb9=this[_0x46f262(0x37b)]/0x2,_0x553862=_0x2bc84c*Math['PI']/0xb4,_0x1a658d=Math[_0x46f262(0x1a5)](_0x553862),_0x52fcc4=Math[_0x46f262(0x22a)](_0x553862),_0x5757b6=_0x3e40d2-_0x132fa7,_0x4f2b9b=_0x54100a-_0x586fb9;_0x3e40d2=_0x132fa7+(_0x5757b6*_0x1a658d+_0x4f2b9b*_0x52fcc4),_0x54100a=_0x586fb9+(-_0x5757b6*_0x52fcc4+_0x4f2b9b*_0x1a658d);}_0x449b27&&(_0x3e40d2=this['_baseShapeWidth']-_0x3e40d2),_0x4ef28e&&(_0x54100a=this[_0x46f262(0x37b)]-_0x54100a);let _0x282a2d={'left':0x0,'top':0x0,'width':this[_0x46f262(0x1ab)],'height':this[_0x46f262(0x37b)]},_0x109986=this[_0x46f262(0x15a)]['calcAdjValues'](_0x282a2d,{'x':_0x3e40d2,'y':_0x54100a},this[_0x46f262(0x2a4)],_0x449b27,_0x4ef28e);if(Object['keys'](_0x109986)['length']!==0x0){for(let [_0x53db33,_0x496c80]of Object['entries'](_0x109986))this['_activeShapeModel'][_0x46f262(0x1fb)](_0x53db33,_0x496c80);this['_activeShapeModel'][_0x46f262(0x1f2)]({'width':this[_0x46f262(0x1ab)],'height':this[_0x46f262(0x37b)]}),(_0xee2a75=this[_0x46f262(0x188)](_0x5a849a))==null||_0xee2a75[_0x46f262(0x2e9)](!0x0),this[_0x46f262(0x190)]=this['_getShapeAdjustPointListById'](_0x563e6d[_0x46f262(0x262)],_0x563e6d[_0x46f262(0x260)],_0x563e6d[_0x46f262(0x259)]),this[_0x46f262(0x23c)](),_0x1796f5[_0x46f262(0x1bf)]();}}),this[_0x1952f3(0x2ab)]=_0x5a849a['onPointerUp$'][_0x1952f3(0x28f)]((_0x2fa9da,_0x2102b9)=>{const _0x361cba=_0x1952f3;var _0x45ce38,_0xd27453;(_0x45ce38=this[_0x361cba(0x2bf)])==null||_0x45ce38[_0x361cba(0x21e)](),(_0xd27453=this[_0x361cba(0x2ab)])==null||_0xd27453['unsubscribe'](),_0x5a849a[_0x361cba(0x16d)]();let _0x30ab5e=this[_0x361cba(0x2a4)];if(_0x30ab5e&&this[_0x361cba(0x15a)]){let _0x58a17b={};for(let _0x30c918 of Object[_0x361cba(0x1b8)](_0x30ab5e['currentAdjustValues'])){let _0x48b1ca=this[_0x361cba(0x15a)][_0x361cba(0x2b8)](_0x30c918);_0x48b1ca!==void 0x0&&(_0x58a17b[_0x30c918]=_0x48b1ca);}Object[_0x361cba(0x1b8)](_0x58a17b)[_0x361cba(0x281)]>0x0&&_0x3111aa(this['_commandService'],_0x563e6d[_0x361cba(0x262)],_0x563e6d[_0x361cba(0x260)],_0x563e6d[_0x361cba(0x259)],{'oldShapeData':{'adjustValues':_0x569823}},{'adjustValues':_0x58a17b});}this['_activeAdjustInfo']=void 0x0,this[_0x361cba(0x15a)]=void 0x0,this[_0x361cba(0x1e6)]=!0x1,_0x5a849a[_0x361cba(0x2f5)](),_0x2102b9[_0x361cba(0x1bf)]();}),_0x20269c['stopPropagation']();})));}[_0x1104af(0x3b3)](){const _0x2fc6a7=_0x1104af;let {scene:_0x1b63bf}=this[_0x2fc6a7(0x240)],_0x12ac53=_0x1b63bf['getTransformerByCreate']();this[_0x2fc6a7(0x3a0)](_0x12ac53['changeStart$'][_0x2fc6a7(0x23f)](_0x28518b=>{const _0x28b268=_0x2fc6a7;this['_createShapeAdjustControls'](),_0x28518b[_0x28b268(0x16a)]!==null&&_0x28518b[_0x28b268(0x16a)][_0x28b268(0x22b)]===0x1&&_0x28518b[_0x28b268(0x16a)][_0x28b268(0x35e)]()[_0x28b268(0x304)]()[_0x28b268(0x28e)]instanceof _0x79ba4d&&(this[_0x28b268(0x349)]=!0x0);})),this[_0x2fc6a7(0x3a0)](_0x12ac53['changing$'][_0x2fc6a7(0x23f)](()=>{const _0x17eb8e=_0x2fc6a7;this[_0x17eb8e(0x349)]&&this['_clearShapeAdjustControls']();})),this[_0x2fc6a7(0x3a0)](_0x1b63bf[_0x2fc6a7(0x1d7)][_0x2fc6a7(0x28f)](()=>{this['_isShouldShowDrawingShapeAdjust']&&(this['_isShouldShowDrawingShapeAdjust']=!0x1,this['_createShapeAdjustControls']());})),this[_0x2fc6a7(0x3a0)](_0x12ac53[_0x2fc6a7(0x321)][_0x2fc6a7(0x23f)](()=>{const _0x1c2759=_0x2fc6a7;this[_0x1c2759(0x2c2)]&&this[_0x1c2759(0x152)]&&this[_0x1c2759(0x2ba)]&&(this[_0x1c2759(0x190)]=this['_getShapeAdjustPointListById'](this[_0x1c2759(0x2c2)],this[_0x1c2759(0x152)],this[_0x1c2759(0x2ba)]),this[_0x1c2759(0x23c)]());}));}[_0x1104af(0x385)](){const _0xaa8b91=_0x1104af;this['disposeWithMe'](this[_0xaa8b91(0x2cb)][_0xaa8b91(0x33d)](_0x391f56=>{const _0x58a18b=_0xaa8b91;if(_0x391f56['id']!==_0x5ac7da[_0x58a18b(0x395)]['id'])return;let {unitId:_0x27588d,shapeId:_0x4ec8fe}=_0x391f56[_0x58a18b(0x29b)];_0x27588d===this[_0x58a18b(0x2c2)]&&_0x4ec8fe===this[_0x58a18b(0x2ba)]&&this[_0x58a18b(0x3a6)]();})),this[_0xaa8b91(0x3a0)](this[_0xaa8b91(0x3c5)]['focus$'][_0xaa8b91(0x23f)](_0x1d579b=>{const _0x50eb21=_0xaa8b91;if(_0x1d579b[_0x50eb21(0x281)]===0x1){let _0x5c5c03=_0x1d579b[0x0],_0x20c64a=this[_0x50eb21(0x3c5)][_0x50eb21(0x320)](_0x5c5c03);if((_0x20c64a==null?void 0x0:_0x20c64a[_0x50eb21(0x3bd)])===_0x4e3c13[_0x50eb21(0x316)][_0x50eb21(0x33e)]){this[_0x50eb21(0x2ba)]=_0x5c5c03[_0x50eb21(0x259)],this[_0x50eb21(0x2c2)]=_0x5c5c03[_0x50eb21(0x262)],this[_0x50eb21(0x152)]=_0x5c5c03[_0x50eb21(0x260)],this[_0x50eb21(0x190)]=this['_getShapeAdjustPointListById'](_0x5c5c03[_0x50eb21(0x262)],_0x5c5c03[_0x50eb21(0x260)],_0x5c5c03[_0x50eb21(0x259)]),this[_0x50eb21(0x369)](),this['_createShapeAdjustControls']();return;}}this[_0x50eb21(0x2ba)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x50eb21(0x2c2)]=null,this['_subUnitId']=null,this[_0x50eb21(0x369)]();})),this[_0xaa8b91(0x3a0)]((0x0,_0x3a7932['merge'])(this[_0xaa8b91(0x3c5)][_0xaa8b91(0x286)],this['_drawingManagerService']['refreshTransform$'])[_0xaa8b91(0x23f)](_0x23d382=>{const _0x39ad9f=_0xaa8b91;var _0x53c27f;let _0x5a7e2a=_0x23d382[_0x39ad9f(0x233)](_0x59fc54=>_0x59fc54[_0x39ad9f(0x259)]===this[_0x39ad9f(0x2ba)]&&_0x59fc54['unitId']===this['_unitId']&&_0x59fc54['subUnitId']===this[_0x39ad9f(0x152)]);_0x5a7e2a&&((_0x53c27f=this[_0x39ad9f(0x3c5)][_0x39ad9f(0x320)](_0x5a7e2a))==null?void 0x0:_0x53c27f[_0x39ad9f(0x3bd)])===_0x4e3c13[_0x39ad9f(0x316)][_0x39ad9f(0x33e)]&&this[_0x39ad9f(0x293)](!0x0);})),this['disposeWithMe'](this[_0xaa8b91(0x3c5)]['remove$']['subscribe'](_0x4ea4e7=>{const _0x47dc00=_0xaa8b91;for(let _0x4e14be of _0x4ea4e7)this['_activeShapeId']===_0x4e14be[_0x47dc00(0x259)]&&(this[_0x47dc00(0x2ba)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x47dc00(0x2c2)]=null,this[_0x47dc00(0x152)]=null,this[_0x47dc00(0x369)]());}));}};_0x45b8f4=_0x21e0a3([_0x3a726b(0x1,_0x53c637[_0x1104af(0x13c)]),_0x3a726b(0x2,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5ac7da[_0x1104af(0x32b)])),_0x3a726b(0x3,_0x4e3c13[_0x1104af(0x166)])],_0x45b8f4);function _0x31ad69(_0x1ce0a4){const _0x3cbc3f=_0x1104af;return _0x1ce0a4[_0x3cbc3f(0x337)]===!0x0||_0x1ce0a4[_0x3cbc3f(0x337)]===_0x4e3c13[_0x3cbc3f(0x1ed)][_0x3cbc3f(0x319)]||_0x1ce0a4[_0x3cbc3f(0x2f3)]===_0x4e3c13[_0x3cbc3f(0x212)]['WRAP_NONE']&&_0x1ce0a4[_0x3cbc3f(0x1e5)]===_0x4e3c13[_0x3cbc3f(0x1ed)]['TRUE']?_0x5585ad[_0x3cbc3f(0x2cc)]-0x1:_0x4beb3c[_0x3cbc3f(0x2da)];}let _0x9605a2=class extends _0x4e3c13['Disposable']{constructor(_0x4ede42,_0x3713e1,_0x1f4c09,_0x383a35,_0x544bf7,_0x34e8c1,_0x19819d){const _0x44b44b=_0x1104af;super(),this['_drawingManagerService']=_0x4ede42,this['_docsShapeService']=_0x3713e1,this['_localeService']=_0x1f4c09,this[_0x44b44b(0x280)]=_0x383a35,this[_0x44b44b(0x330)]=_0x544bf7,this[_0x44b44b(0x29c)]=_0x34e8c1,this[_0x44b44b(0x177)]=_0x19819d,_0x4730ad(this,'_formulaShapes',new Map()),this[_0x44b44b(0x3a0)](this[_0x44b44b(0x177)][_0x44b44b(0x1b4)][_0x44b44b(0x23f)](_0x3f5612=>{const _0x169813=_0x44b44b;var _0x17d8bc;(_0x17d8bc=this[_0x169813(0x1c9)][_0x169813(0x267)](this[_0x169813(0x14d)](_0x3f5612[_0x169813(0x262)],_0x3f5612[_0x169813(0x260)],_0x3f5612['shapeId'])))==null||_0x17d8bc['forEach'](_0x4c63d3=>_0x4c63d3['setFormulaPresentation'](_0x3f5612['presentation'],_0x3f5612['animationEnabled']));})),this[_0x44b44b(0x3a0)](this[_0x44b44b(0x3c5)][_0x44b44b(0x1de)][_0x44b44b(0x23f)](_0x43d130=>{const _0x1b9c02=_0x44b44b;_0x43d130[_0x1b9c02(0x291)](_0x4bf8dd=>{const _0x467fdf=_0x1b9c02;this['_shapeFormulaService']['unregister']({'unitId':_0x4bf8dd[_0x467fdf(0x262)],'subUnitId':_0x4bf8dd['subUnitId'],'shapeId':_0x4bf8dd[_0x467fdf(0x259)]}),this[_0x467fdf(0x1c9)][_0x467fdf(0x243)](this['_formulaKey'](_0x4bf8dd[_0x467fdf(0x262)],_0x4bf8dd[_0x467fdf(0x260)],_0x4bf8dd[_0x467fdf(0x259)]));});}));}[_0x1104af(0x18d)](_0x4d00fe,_0x1951e9){const _0x12482d=_0x1104af;let {transform:_0x10b7f4,drawingType:_0x3ae269,srcRect:_0x533438,prstGeom:_0x2185a4,groupId:_0x1ecaf8,unitId:_0x2ddd7c,subUnitId:_0x476283,drawingId:_0xa5851e,isMultiTransform:_0x2d29df,transforms:_0x502b10,hidden:_0x254e13,selectable:_0x235ac8}=_0x4d00fe;if(_0x3ae269!==_0x4e3c13[_0x12482d(0x316)]['DRAWING_SHAPE']||!this[_0x12482d(0x3c5)]['getDrawingVisible']()||_0x10b7f4==null)return;let _0x5c4443=this['_drawingManagerService'][_0x12482d(0x181)]();_0x5c4443&&_0x1951e9[_0x12482d(0x1b5)](_0x297fde[_0x12482d(0x2dc)]);let _0x4bc99c=_0x2d29df&&_0x502b10?_0x502b10:[_0x10b7f4],_0x22ca2e=[];for(let _0x5869df of _0x4bc99c){let {left:_0x23b0b0,top:_0xa1041,width:_0x48471f,height:_0x2a174e,angle:_0x3447f0,flipX:_0x1f57d2,flipY:_0x586da2,skewX:_0x5e02b9,skewY:_0xc31e88}=_0x5869df,_0x2b0a45=_0x4bc99c['indexOf'](_0x5869df),_0x14d6e0=(0x0,_0x53c637[_0x12482d(0x2e5)])({'unitId':_0x2ddd7c,'subUnitId':_0x476283,'drawingId':_0xa5851e},_0x2d29df?_0x2b0a45:void 0x0),_0x15a6e3=_0x1951e9[_0x12482d(0x2e8)](_0x14d6e0);if(_0x15a6e3!=null){let _0x315ed5={'unitId':_0x2ddd7c,'subUnitId':_0x476283,'shapeId':_0xa5851e};_0x15a6e3 instanceof _0x79ba4d&&this[_0x12482d(0x38e)](_0x15a6e3,_0x315ed5),_0x15a6e3[_0x12482d(0x341)]({'left':_0x23b0b0,'top':_0xa1041,'width':_0x48471f,'height':_0x2a174e,'angle':_0x3447f0,'flipX':_0x1f57d2,'flipY':_0x586da2,'skewX':_0x5e02b9,'skewY':_0xc31e88});continue;}let _0x23163d=this['_drawingManagerService'][_0x12482d(0x367)](_0x2ddd7c,_0x476283),_0x207c8d=_0x23163d[_0x12482d(0x37c)](_0xa5851e);if(_0x1951e9['getObjectIncludeInGroup'](_0x14d6e0)||!this[_0x12482d(0x3c5)]['getDrawingVisible']())continue;let _0x1e44ec=this[_0x12482d(0x211)]['getShapeModel'](_0x2ddd7c,_0x476283,_0xa5851e);if(!_0x1e44ec)continue;let _0x3f4026=(0x0,_0x7d9a71[_0x12482d(0x250)])(_0x1e44ec[_0x12482d(0x2f6)]()),_0x217307=_0x1e44ec[_0x12482d(0x258)]()[_0x12482d(0x31a)],_0x3e6813={'unitId':_0x2ddd7c,'subUnitId':_0x476283,'shapeId':_0xa5851e};_0x217307&&this[_0x12482d(0x177)][_0x12482d(0x339)](_0x3e6813,_0x217307);let _0x18f8c3=new _0x79ba4d(_0x14d6e0,{..._0x3f4026?{..._0x5869df,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x5869df},'zIndex':_0x207c8d===-0x1?_0x23163d[_0x12482d(0x281)]-0x1:_0x207c8d,'shapeModel':_0x1e44ec,'localeService':this[_0x12482d(0x19a)],'shapeId':_0xa5851e,'unitId':_0x2ddd7c,'subUnitId':_0x476283,'visible':_0x254e13!==!0x0,'evented':_0x235ac8!==!0x1,'formulaPresentation':_0x217307?this[_0x12482d(0x177)]['getPresentation'](_0x3e6813):void 0x0,'animateFormulaPresentation':(_0x217307==null?void 0x0:_0x217307['animationEnabled'])!==!0x1});if(_0x217307){let _0x146c0d=this['_formulaKey'](_0x2ddd7c,_0x476283,_0xa5851e),_0x11f827=this[_0x12482d(0x1c9)]['get'](_0x146c0d)??new Set();_0x11f827['add'](_0x18f8c3),this['_formulaShapes'][_0x12482d(0x327)](_0x146c0d,_0x11f827);}this[_0x12482d(0x3a0)]((0x0,_0x4e3c13[_0x12482d(0x14e)])(_0x18f8c3['onDblclick$']['subscribeEvent']((_0x4ef512,_0x72c5be)=>{const _0x23bed4=_0x12482d;_0x1e44ec[_0x23bed4(0x386)]()||_0x217307||(this[_0x23bed4(0x29c)][_0x23bed4(0x210)]({'visible':!0x0,'unitId':_0x2ddd7c,'subUnitId':_0x476283,'shapeId':_0xa5851e,'shapeKey':_0x18f8c3[_0x23bed4(0x148)]}),_0x72c5be[_0x23bed4(0x1bf)]());}))),_0x1951e9[_0x12482d(0x15b)](_0x18f8c3,_0x31ad69(_0x4d00fe)),_0x5c4443&&_0x1951e9['attachTransformerTo'](_0x18f8c3),_0x1ecaf8&&(0x0,_0x30bc3a[_0x12482d(0x14c)])({'drawingId':_0x1ecaf8,'unitId':_0x2ddd7c,'subUnitId':_0x476283},_0x18f8c3,_0x1951e9,this['_drawingManagerService']),_0x2185a4!=null&&_0x18f8c3['setPrstGeom'](_0x2185a4),_0x533438!=null&&_0x18f8c3[_0x12482d(0x355)](_0x533438),this['_loadShapePictureFill'](_0x18f8c3,_0x1e44ec[_0x12482d(0x258)]()),_0x22ca2e[_0x12482d(0x209)](_0x18f8c3);}return _0x22ca2e;}[_0x1104af(0x14d)](_0x15fbaf,_0x14b82b,_0x4779d4){return _0x15fbaf+'\x00'+_0x14b82b+'\x00'+_0x4779d4;}['refreshFormulaPresentation'](_0x58aea1,_0x63f23e){const _0x439756=_0x1104af;let _0x424975=this['_docsShapeService'][_0x439756(0x2b9)](_0x63f23e[_0x439756(0x262)],_0x63f23e[_0x439756(0x260)],_0x63f23e[_0x439756(0x19e)]),_0x591784=_0x424975==null?void 0x0:_0x424975[_0x439756(0x258)]()['formulaBinding'],_0x2bda49=this[_0x439756(0x14d)](_0x63f23e['unitId'],_0x63f23e[_0x439756(0x260)],_0x63f23e[_0x439756(0x19e)]);if(_0x591784){this[_0x439756(0x177)][_0x439756(0x339)](_0x63f23e,_0x591784);let _0x363e4d=this[_0x439756(0x1c9)]['get'](_0x2bda49)??new Set();_0x363e4d[_0x439756(0x3b4)](_0x58aea1),this['_formulaShapes'][_0x439756(0x327)](_0x2bda49,_0x363e4d);}else{var _0xaa43c7;this[_0x439756(0x177)][_0x439756(0x219)](_0x63f23e),(_0xaa43c7=this[_0x439756(0x1c9)][_0x439756(0x267)](_0x2bda49))==null||_0xaa43c7[_0x439756(0x243)](_0x58aea1);}_0x58aea1['setFormulaPresentation'](_0x591784?this[_0x439756(0x177)]['getPresentation'](_0x63f23e):void 0x0,(_0x591784==null?void 0x0:_0x591784[_0x439756(0x33c)])!==!0x1);}['refreshShapeFillImage'](_0x313bd4){const _0x261a87=_0x1104af;let _0x7f6b54=_0x313bd4[_0x261a87(0x35b)][_0x261a87(0x258)](),_0x3ed57c=_0x7f6b54['fill'];if(!_0x3ed57c||_0x3ed57c[_0x261a87(0x3c3)]!==_0x7d9a71[_0x261a87(0x249)][_0x261a87(0x35a)]||!_0x3ed57c[_0x261a87(0x3a5)]){_0x313bd4[_0x261a87(0x13d)](void 0x0);return;}this[_0x261a87(0x284)](_0x313bd4,_0x7f6b54);}['_loadShapePictureFill'](_0x585556,_0xfa7f8a){const _0x260f78=_0x1104af;let _0x47fba8=_0xfa7f8a['fill'];if(!_0x47fba8||_0x47fba8[_0x260f78(0x3c3)]!==_0x7d9a71['ShapeFillEnum'][_0x260f78(0x35a)]||!_0x47fba8[_0x260f78(0x3a5)])return;let _0x81086c=_0x47fba8[_0x260f78(0x3a5)],_0x1f793f=_0x47fba8['fillImageSourceType']??_0x7d9a71[_0x260f78(0x1f8)][_0x260f78(0x176)],_0x738788=this['_imageIoService']['getImageSourceCache'](_0x81086c,_0x1f793f);if(_0x738788){_0x585556[_0x260f78(0x13d)](_0x738788);return;}this[_0x260f78(0x1fc)](_0x585556,_0x81086c,_0x1f793f);}async[_0x1104af(0x1fc)](_0x2a3d97,_0x409c43,_0x4a6dca){const _0x5f499d=_0x1104af;let _0x4f90c0;try{if(_0x4a6dca===_0x7d9a71[_0x5f499d(0x1f8)][_0x5f499d(0x3b2)])_0x4f90c0=await this[_0x5f499d(0x280)]['getImage'](_0x409c43);else{if(_0x4a6dca===_0x7d9a71['ImageSourceTypeEnum'][_0x5f499d(0x176)])try{_0x4f90c0=await this[_0x5f499d(0x330)]['getImage'](_0x409c43);}catch{_0x4f90c0=_0x409c43;}else _0x4f90c0=_0x409c43;}}catch(_0x584b50){console['error'](_0x5f499d(0x217),_0x584b50);return;}let _0x5d0182=new window[(_0x5f499d(0x365))]();_0x5d0182[_0x5f499d(0x2a2)]=()=>{const _0x498e17=_0x5f499d;this[_0x498e17(0x280)][_0x498e17(0x1a3)](_0x409c43,_0x4a6dca,_0x5d0182),_0x2a3d97['setFillImage'](_0x5d0182);},_0x5d0182[_0x5f499d(0x2c1)]=()=>{const _0x27a0c1=_0x5f499d;console[_0x27a0c1(0x1a1)](_0x27a0c1(0x203),_0x409c43);},_0x5d0182[_0x5f499d(0x38a)]=_0x4f90c0;}};_0x9605a2=_0x21e0a3([_0x3a726b(0x0,_0x53c637[_0x1104af(0x13c)]),_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5ac7da['DocsShapeService'])),_0x3a726b(0x2,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x4e3c13[_0x1104af(0x324)])),_0x3a726b(0x3,_0x4e3c13[_0x1104af(0x27f)]),_0x3a726b(0x4,_0x4e3c13[_0x1104af(0x225)]),_0x3a726b(0x5,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x33d6bd)),_0x3a726b(0x6,(0x0,_0x4e3c13['Inject'])(_0x9a69b6[_0x1104af(0x20f)]))],_0x9605a2);function _0xf47fcb(_0x5c99a9,_0x1deccc){const _0x357e8c=_0x1104af;let _0x2e932f=_0x5c99a9;for(;_0x2e932f;){if(_0x1deccc(_0x2e932f))return _0x2e932f;_0x2e932f=typeof _0x2e932f[_0x357e8c(0x16c)]==_0x357e8c(0x1ee)?_0x2e932f[_0x357e8c(0x16c)]():null;}return null;}function _0x2276b5(_0x2defce){return _0xf47fcb(_0x2defce,_0x19fffd=>_0x19fffd instanceof _0x79ba4d);}function _0x13f5d9(_0x24c2db){const _0x23d68b=_0x1104af;return(_0x24c2db==null?void 0x0:_0x24c2db[_0x23d68b(0x31a)])==null;}let _0x4519b5=class extends _0x4e3c13[_0x1104af(0x220)]{constructor(_0x5965b8,_0x3a5bee,_0x422d97,_0x48a1bd,_0x1afa50){const _0x2b3321=_0x1104af;super(),this[_0x2b3321(0x240)]=_0x5965b8,this['_shapeTextEditingService']=_0x3a5bee,this[_0x2b3321(0x3c5)]=_0x422d97,this[_0x2b3321(0x2cd)]=_0x48a1bd,this[_0x2b3321(0x211)]=_0x1afa50,_0x4730ad(this,'_lastEditingShapeKey',null),this[_0x2b3321(0x2bc)](),this['_initSelection'](),this[_0x2b3321(0x39f)]();}[_0x1104af(0x2bc)](){const _0x20cb57=_0x1104af;let {scene:_0x47ddef}=this[_0x20cb57(0x240)];this['disposeWithMe'](_0x47ddef[_0x20cb57(0x1dc)][_0x20cb57(0x28f)](_0x54d4b4=>{const _0x512431=_0x20cb57;let {offsetX:_0x15307a,offsetY:_0x28c511}=_0x54d4b4,_0x39bae3=_0x4beb3c[_0x512431(0x1b6)]['FromArray']([_0x15307a,_0x28c511]),_0xb4f114=_0x2276b5(_0x47ddef[_0x512431(0x1c5)](_0x39bae3))??this['_getFocusedShapeAtPoint'](_0x39bae3);if(_0xb4f114){let _0x55aa41=this['_docsShapeService'][_0x512431(0x2b9)](_0xb4f114[_0x512431(0x262)],_0xb4f114['subUnitId'],_0xb4f114[_0x512431(0x19e)]);if(!_0x55aa41||(0x0,_0x7d9a71[_0x512431(0x250)])(_0x55aa41[_0x512431(0x2f6)]())||!_0x13f5d9(_0x55aa41['getShapeData']()))return;this['_shapeTextEditingService'][_0x512431(0x210)]({'visible':!0x0,'unitId':_0xb4f114[_0x512431(0x262)],'subUnitId':_0xb4f114[_0x512431(0x260)],'shapeId':_0xb4f114[_0x512431(0x19e)],'shapeKey':_0xb4f114[_0x512431(0x148)]});}}));}[_0x1104af(0x239)](_0xb502e8){const _0x15fc0b=_0x1104af;let {scene:_0x305b4c}=this[_0x15fc0b(0x240)];return this[_0x15fc0b(0x3c5)][_0x15fc0b(0x13e)]()[_0x15fc0b(0x27e)](_0x5222a2=>_0x305b4c[_0x15fc0b(0x2e8)]((0x0,_0x53c637[_0x15fc0b(0x2e5)])(_0x5222a2)))[_0x15fc0b(0x233)](_0x8efd4d=>_0x8efd4d instanceof _0x79ba4d&&_0x8efd4d['isHit'](_0xb502e8))??null;}[_0x1104af(0x279)](){const _0x317891=_0x1104af;this[_0x317891(0x3a0)](this[_0x317891(0x3c5)][_0x317891(0x2d7)][_0x317891(0x23f)](_0x12049c=>{const _0x2d3b4e=_0x317891;if(_0x12049c[_0x2d3b4e(0x281)]===0x1){let _0x30f7dc=_0x12049c[0x0],_0xdb7822=this[_0x2d3b4e(0x3c5)]['getDrawingByParam'](_0x30f7dc);if((_0xdb7822==null?void 0x0:_0xdb7822[_0x2d3b4e(0x3bd)])===_0x4e3c13[_0x2d3b4e(0x316)][_0x2d3b4e(0x33e)]){let _0x6ec6f1=this[_0x2d3b4e(0x29c)][_0x2d3b4e(0x3c2)]();if((_0x6ec6f1==null?void 0x0:_0x6ec6f1[_0x2d3b4e(0x19e)])===_0x30f7dc['drawingId']&&_0x6ec6f1[_0x2d3b4e(0x295)])return;(0x0,_0x7d9a71['isConnectorShape'])(this['_docsShapeService']['getShapeType'](_0x30f7dc[_0x2d3b4e(0x262)],_0x30f7dc[_0x2d3b4e(0x260)],_0x30f7dc[_0x2d3b4e(0x259)]))&&this[_0x2d3b4e(0x29c)][_0x2d3b4e(0x210)](null);}else this[_0x2d3b4e(0x29c)][_0x2d3b4e(0x3c2)]()&&(this[_0x2d3b4e(0x29c)][_0x2d3b4e(0x2d1)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));}else this['_shapeTextEditingService'][_0x2d3b4e(0x3c2)]()&&(this[_0x2d3b4e(0x29c)][_0x2d3b4e(0x2d1)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this[_0x317891(0x3a0)](this[_0x317891(0x3c5)][_0x317891(0x1de)][_0x317891(0x23f)](_0x23328c=>{const _0x464951=_0x317891;let _0x46bcc1=this[_0x464951(0x29c)]['getEditing']();_0x46bcc1&&_0x23328c[_0x464951(0x1a8)](_0x5834b7=>_0x5834b7[_0x464951(0x259)]===_0x46bcc1[_0x464951(0x19e)])&&this[_0x464951(0x29c)][_0x464951(0x210)](null);}));}[_0x1104af(0x39f)](){const _0x46dd0c=_0x1104af;this[_0x46dd0c(0x3a0)](this[_0x46dd0c(0x29c)][_0x46dd0c(0x2c5)][_0x46dd0c(0x23f)](_0x3788c8=>{const _0x1c0651=_0x46dd0c;let {scene:_0x4caf0e}=this[_0x1c0651(0x240)];if(this[_0x1c0651(0x1b2)]){let _0x71a7b1=_0x4caf0e[_0x1c0651(0x2e8)](this[_0x1c0651(0x1b2)]);_0x71a7b1&&_0x71a7b1[_0x1c0651(0x210)](!0x1);}if(_0x3788c8){let _0x12db1a=!!_0x3788c8[_0x1c0651(0x295)],_0x1219de=_0x4caf0e['getObjectIncludeInGroup'](_0x3788c8[_0x1c0651(0x1d3)]);_0x1219de&&(_0x1219de['setEditing'](_0x12db1a),this[_0x1c0651(0x1b2)]=_0x3788c8['shapeKey']),this['_contextService'][_0x1c0651(0x340)](_0x4e3c13[_0x1c0651(0x399)],_0x12db1a);}else this[_0x1c0651(0x1b2)]=null,this[_0x1c0651(0x2cd)][_0x1c0651(0x340)](_0x4e3c13[_0x1c0651(0x399)],!0x1);}));}};_0x4519b5=_0x21e0a3([_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x33d6bd)),_0x3a726b(0x2,_0x53c637[_0x1104af(0x13c)]),_0x3a726b(0x3,_0x4e3c13['IContextService']),_0x3a726b(0x4,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5ac7da[_0x1104af(0x32b)]))],_0x4519b5);let _0x2c224a=class extends _0x297fde[_0x1104af(0x2fc)]{constructor(_0x32702a,_0x4dd039,_0x243d53,_0x5d6609){super(_0x32702a,_0x4dd039,_0x243d53,_0x5d6609,{'componentKey':_0x1afb3d,'editorUnitId':_0x2b7171});}};_0x2c224a=_0x21e0a3([_0x3a726b(0x1,(0x0,_0x4e3c13['Inject'])(_0x19b019['DocSelectionManagerService'])),_0x3a726b(0x2,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5585ad[_0x1104af(0x1a9)])),_0x3a726b(0x3,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5585ad['DocSelectionRenderService']))],_0x2c224a);let _0x4b4d92=class extends _0x4e3c13['Disposable']{constructor(_0x3bac84,_0x33e262,_0x1a025f,_0x3ea5dc){const _0x88f397=_0x1104af;super(),this[_0x88f397(0x2cb)]=_0x3bac84,this[_0x88f397(0x19c)]=_0x33e262,this[_0x88f397(0x3c5)]=_0x1a025f,this[_0x88f397(0x32e)]=_0x3ea5dc,this['_initialize']();}[_0x1104af(0x232)](){const _0x189286=_0x1104af;this[_0x189286(0x3a0)](this['_drawingManagerService'][_0x189286(0x3bb)][_0x189286(0x23f)](_0xb0ed95=>this[_0x189286(0x23d)](_0xb0ed95))),this['disposeWithMe'](this[_0x189286(0x3c5)]['update$']['subscribe'](_0x50d628=>{const _0x4e7bbc=_0x189286;_0x50d628[_0x4e7bbc(0x291)](_0x4ef591=>this['_updateShape'](_0x4ef591));})),this[_0x189286(0x3a0)](this[_0x189286(0x2cb)][_0x189286(0x33d)](_0x3c3dee=>{const _0x20625e=_0x189286;if(_0x3c3dee['id']!==_0x5ac7da['UpdateDocShapeDataMutation']['id'])return;let {unitId:_0x5e0edf,shapeId:_0x369781}=_0x3c3dee['params'];this[_0x20625e(0x1e1)]({'unitId':_0x5e0edf,'subUnitId':_0x5e0edf,'drawingId':_0x369781});}));}[_0x1104af(0x23d)](_0x11b50b){const _0x4dec52=_0x1104af;_0x11b50b[_0x4dec52(0x291)](_0x383b7a=>{const _0x57284e=_0x4dec52;var _0x1d1408;let _0x22d2f3=this[_0x57284e(0x1f1)](_0x383b7a[_0x57284e(0x262)]);if(!_0x22d2f3)return;let _0x3892d6=this['_drawingManagerService'][_0x57284e(0x320)](_0x383b7a);(_0x3892d6==null?void 0x0:_0x3892d6[_0x57284e(0x3bd)])===_0x4e3c13['DrawingTypeEnum'][_0x57284e(0x33e)]&&((0x0,_0x7d9a71['isConnectorShape'])((_0x1d1408=_0x3892d6[_0x57284e(0x14a)])==null?void 0x0:_0x1d1408[_0x57284e(0x1b7)])&&_0x3892d6[_0x57284e(0x3a2)]&&(_0x3892d6[_0x57284e(0x3a2)]={..._0x3892d6[_0x57284e(0x3a2)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x57284e(0x32e)]['renderDrawingShape'](_0x3892d6,_0x22d2f3['scene']));});}[_0x1104af(0x3b6)](_0x24db81){const _0x3cafc8=_0x1104af;let _0x2ff51f=this['_drawingManagerService'][_0x3cafc8(0x320)](_0x24db81);if((_0x2ff51f==null?void 0x0:_0x2ff51f[_0x3cafc8(0x3bd)])!==_0x4e3c13[_0x3cafc8(0x316)][_0x3cafc8(0x33e)])return;let _0x1c0c44=this['_getSceneByUnitId'](_0x24db81[_0x3cafc8(0x262)]);if(!_0x1c0c44||_0x2ff51f[_0x3cafc8(0x3a2)]==null)return;let _0x19f5a7=(0x0,_0x53c637[_0x3cafc8(0x2e5)])(_0x24db81),_0xfe9413=_0x1c0c44[_0x3cafc8(0x38b)][_0x3cafc8(0x2e8)](_0x19f5a7);_0xfe9413&&(_0xfe9413[_0x3cafc8(0x355)](_0x2ff51f[_0x3cafc8(0x298)]),_0xfe9413[_0x3cafc8(0x25b)](_0x2ff51f['prstGeom']),_0xfe9413[_0x3cafc8(0x2e9)](!0x0));}[_0x1104af(0x1e1)](_0x35c342){const _0x3ffa4d=_0x1104af;let _0x17c25e=this[_0x3ffa4d(0x1f1)](_0x35c342[_0x3ffa4d(0x262)]);if(!_0x17c25e)return;let _0x2db03e=(0x0,_0x53c637[_0x3ffa4d(0x2e5)])(_0x35c342),_0x57778f=_0x17c25e[_0x3ffa4d(0x38b)][_0x3ffa4d(0x2e8)](_0x2db03e);_0x57778f&&(this[_0x3ffa4d(0x32e)][_0x3ffa4d(0x21c)](_0x57778f),this[_0x3ffa4d(0x32e)][_0x3ffa4d(0x38e)](_0x57778f,{'unitId':_0x35c342[_0x3ffa4d(0x262)],'subUnitId':_0x35c342[_0x3ffa4d(0x260)],'shapeId':_0x35c342[_0x3ffa4d(0x259)]}),_0x57778f['makeDirty'](!0x0));}[_0x1104af(0x1f1)](_0x20c856){const _0x2775c3=_0x1104af;if(_0x20c856==null)return null;let _0x35e1a5=this['_renderManagerService']['getRenderUnitById'](_0x20c856),_0x1668cc=_0x35e1a5==null?void 0x0:_0x35e1a5[_0x2775c3(0x38b)];return _0x1668cc==null?null:{'scene':_0x1668cc};}};_0x4b4d92=_0x21e0a3([_0x3a726b(0x0,_0x4e3c13[_0x1104af(0x166)]),_0x3a726b(0x1,_0x4beb3c[_0x1104af(0x155)]),_0x3a726b(0x2,_0x53c637[_0x1104af(0x13c)]),_0x3a726b(0x3,(0x0,_0x4e3c13['Inject'])(_0x9605a2))],_0x4b4d92);let _0x1323cc=class extends _0x4e3c13['Disposable']{constructor(_0x359189,_0x3ee408,_0x4cbf33,_0x48f95e,_0x4c5344,_0x2f83b5,_0x29db61,_0x2f6c6c,_0x24a008,_0x212d65,_0x21f8fb){const _0x2315b7=_0x1104af;super(),this['_univerInstanceService']=_0x359189,this[_0x2315b7(0x39e)]=_0x3ee408,this['_menuManagerService']=_0x4cbf33,this['_docsShapeService']=_0x48f95e,this[_0x2315b7(0x19a)]=_0x4c5344,this[_0x2315b7(0x2cb)]=_0x2f83b5,this[_0x2315b7(0x3c5)]=_0x29db61,this[_0x2315b7(0x32f)]=_0x2f6c6c,this[_0x2315b7(0x19c)]=_0x24a008,this[_0x2315b7(0x2cd)]=_0x212d65,this[_0x2315b7(0x29c)]=_0x21f8fb,_0x4730ad(this,_0x2315b7(0x2a6),null),_0x4730ad(this,_0x2315b7(0x254),null),_0x4730ad(this,_0x2315b7(0x23a),!0x1),_0x4730ad(this,_0x2315b7(0x396),0x0),_0x4730ad(this,_0x2315b7(0x30c),new Set()),_0x4730ad(this,_0x2315b7(0x34a),[]),this[_0x2315b7(0x387)](),this[_0x2315b7(0x3a0)](this[_0x2315b7(0x271)]['getCurrentTypeOfUnit$'](_0x4e3c13[_0x2315b7(0x310)][_0x2315b7(0x1f7)])[_0x2315b7(0x23f)](_0x19fe07=>{const _0x45a80a=_0x2315b7;if(!_0x19fe07){var _0x53e86a;(_0x53e86a=this[_0x45a80a(0x2a6)])==null||_0x53e86a[_0x45a80a(0x256)]();return;}this[_0x45a80a(0x2f4)](_0x19fe07);})),this[_0x2315b7(0x283)](),this[_0x2315b7(0x206)](),this['disposeWithMe'](this[_0x2315b7(0x29c)][_0x2315b7(0x2c5)]['subscribe'](_0x195e4c=>{_0x195e4c&&this['_clearPopups']();}));}[_0x1104af(0x387)](){const _0x1b85ef=_0x1104af;this[_0x1b85ef(0x182)]['mergeMenu'](_0x5653f1);}['_initShapePopupMenu'](){const _0x2a1755=_0x1104af;this[_0x2a1755(0x271)][_0x2a1755(0x22f)](_0x4e3c13['UniverInstanceType'][_0x2a1755(0x1f7)])['forEach'](_0x271b81=>this[_0x2a1755(0x2f4)](_0x271b81));}['getShapePopupMenus'](_0x41121f,_0xeec2a4,_0x2ccd62,_0x1fc6e8){const _0x1a389e=_0x1104af;return[{'label':_0x1a389e(0x1b9),'index':0x0,'commandId':_0x3eb699['id'],'commandParams':{'unitId':_0x41121f,'subUnitId':_0xeec2a4,'drawingId':_0x2ccd62},'disable':_0x1fc6e8===_0x4e3c13[_0x1a389e(0x316)][_0x1a389e(0x2e1)]},{'label':_0x1a389e(0x19b),'index':0x1,'commandId':_0x5cbb0a['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x41121f,'drawings':[{'unitId':_0x41121f,'subUnitId':_0xeec2a4,'drawingId':_0x2ccd62}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x208de0['id'],'commandParams':{'unitId':_0x41121f,'subUnitId':_0xeec2a4,'drawingId':_0x2ccd62},'disable':!0x1}];}['_getShapeInfo'](_0x34a69b,_0x2cccbd,_0x200343){const _0x3b1fa2=_0x1104af;let _0x5de581=this[_0x3b1fa2(0x211)]['getShapeTypeById'](_0x34a69b,_0x2cccbd,_0x200343),_0x1dfbb4=this[_0x3b1fa2(0x211)][_0x3b1fa2(0x186)](_0x34a69b,_0x2cccbd,_0x200343);return _0x5de581!==void 0x0&&_0x1dfbb4!==void 0x0?{'shapeData':_0x1dfbb4,'shapeId':_0x200343,'shapeType':_0x5de581,'unitId':_0x34a69b,'subUnitId':_0x2cccbd,'version':this[_0x3b1fa2(0x396)],'disableShapeOption':!0x1}:null;}[_0x1104af(0x2f4)](_0x516ba6){const _0x3391b8=_0x1104af;if(!_0x516ba6)return;let _0x3c1478=_0x516ba6[_0x3391b8(0x189)]();this[_0x3391b8(0x19c)][_0x3391b8(0x2f8)](_0x3c1478)&&!this[_0x3391b8(0x30c)]['has'](_0x3c1478)&&(this[_0x3391b8(0x32c)](_0x3c1478),this[_0x3391b8(0x30c)][_0x3391b8(0x3b4)](_0x3c1478));}[_0x1104af(0x14f)](){const _0x51dc6c=_0x1104af;this[_0x51dc6c(0x34a)][_0x51dc6c(0x291)](_0x43d955=>_0x43d955[_0x51dc6c(0x256)]()),this['_disposePopups'][_0x51dc6c(0x281)]=0x0;}['_popupMenuListener'](_0x67d4c6){const _0x4f4f15=_0x1104af;var _0x2135d1;let _0x5ce2f2=(_0x2135d1=this[_0x4f4f15(0x19c)][_0x4f4f15(0x1ca)](_0x67d4c6))==null?void 0x0:_0x2135d1[_0x4f4f15(0x38b)],_0xc2a70b=_0x5ce2f2==null?void 0x0:_0x5ce2f2['getTransformerByCreate']();!_0x5ce2f2||!_0xc2a70b||(this[_0x4f4f15(0x3a0)](_0xc2a70b[_0x4f4f15(0x213)][_0x4f4f15(0x23f)](()=>{const _0x2dc747=_0x4f4f15;let _0x20d06f=_0xc2a70b[_0x2dc747(0x1bc)]();if(this[_0x2dc747(0x14f)](),this[_0x2dc747(0x23a)]||_0x20d06f['size']>0x1)return;let _0x2114f0=_0x20d06f[_0x2dc747(0x35e)]()[_0x2dc747(0x304)]()['value'];if(!_0x2114f0)return;let _0x116799=this[_0x2dc747(0x3c5)][_0x2dc747(0x2ae)](_0x2114f0[_0x2dc747(0x148)]);if(!_0x116799||_0x116799[_0x2dc747(0x3bd)]!==_0x4e3c13[_0x2dc747(0x316)]['DRAWING_SHAPE'])return;let {unitId:_0x5b27c4,subUnitId:_0x1ad416,drawingId:_0x3061bb,drawingType:_0x10b1d2}=_0x116799,_0x3b1301=this['_getShapeInfo'](_0x5b27c4,_0x1ad416,_0x3061bb);if(!_0x3b1301)return;let _0x13f608=this[_0x2dc747(0x32f)][_0x2dc747(0x351)](_0x2114f0,{'componentKey':_0x2c592e,'direction':'top-center','offset':[0x0,_0x297fde[_0x2dc747(0x20b)]],'extraProps':{'unitId':_0x5b27c4,'subUnitId':_0x1ad416,'drawingId':_0x3061bb,'drawingType':_0x10b1d2,'shapeType':_0x3b1301[_0x2dc747(0x1b7)],'shapeData':_0x3b1301[_0x2dc747(0x1eb)]}},_0x5b27c4);this[_0x2dc747(0x34a)][_0x2dc747(0x209)](this[_0x2dc747(0x3a0)](_0x13f608)),this[_0x2dc747(0x3c5)][_0x2dc747(0x13e)]()[_0x2dc747(0x233)](_0x1b8eff=>_0x1b8eff[_0x2dc747(0x262)]===_0x5b27c4&&_0x1b8eff[_0x2dc747(0x260)]===_0x1ad416&&_0x1b8eff['drawingId']===_0x3061bb)||this[_0x2dc747(0x3c5)][_0x2dc747(0x22e)]([{'unitId':_0x5b27c4,'subUnitId':_0x1ad416,'drawingId':_0x3061bb}]);})),this[_0x4f4f15(0x3a0)](_0xc2a70b['clearControl$'][_0x4f4f15(0x23f)](()=>{const _0x36dfe=_0x4f4f15;this[_0x36dfe(0x14f)](),this['_contextService'][_0x36dfe(0x340)](_0x4e3c13[_0x36dfe(0x359)],!0x1),this['_drawingManagerService'][_0x36dfe(0x22e)](null);})),this['disposeWithMe'](_0xc2a70b[_0x4f4f15(0x145)]['subscribe'](()=>{this['_clearPopups']();})),this[_0x4f4f15(0x3a0)](_0xc2a70b['changeStart$'][_0x4f4f15(0x23f)](()=>{const _0x3bffb0=_0x4f4f15;this[_0x3bffb0(0x14f)]();})));}['_registerOperations'](){const _0x50aa80=_0x1104af;this[_0x50aa80(0x3a0)](this['_commandService'][_0x50aa80(0x33d)](_0x3bb240=>{const _0x38911f=_0x50aa80;if(_0x3bb240['id']===_0x3eb699['id']){let {unitId:_0x331abf,subUnitId:_0x10b337,drawingId:_0x1cf9c4}=_0x3bb240[_0x38911f(0x29b)];this[_0x38911f(0x396)]+=0x1,this[_0x38911f(0x254)]=this[_0x38911f(0x2ca)](_0x331abf,_0x10b337,_0x1cf9c4),this['_clearPopups'](),this[_0x38911f(0x32d)]();}if(_0x3bb240['id']===_0x208de0['id']&&(this[_0x38911f(0x254)]=null,this[_0x38911f(0x252)]()),_0x3bb240['id']===_0x5ac7da[_0x38911f(0x395)]['id']){let {unitId:_0x24de78,shapeId:_0x2367aa}=_0x3bb240['params'];if(this[_0x38911f(0x254)]&&this[_0x38911f(0x254)][_0x38911f(0x19e)]===_0x2367aa){let _0x1e43ec=this[_0x38911f(0x2ca)](_0x24de78,this['_activeShapeInfo'][_0x38911f(0x260)],_0x2367aa);_0x1e43ec&&(this[_0x38911f(0x396)]+=0x1,_0x1e43ec[_0x38911f(0x185)]=this['_shapeEditPanelVersion'],this[_0x38911f(0x254)]=_0x1e43ec,this[_0x38911f(0x23a)]&&this[_0x38911f(0x32d)]());}}})),this[_0x50aa80(0x3a0)](this[_0x50aa80(0x3c5)][_0x50aa80(0x2d7)][_0x50aa80(0x23f)](_0x455935=>{const _0x3612ef=_0x50aa80;if(this[_0x3612ef(0x23a)]===!0x1)return;if(_0x455935[_0x3612ef(0x281)]===0x0){this[_0x3612ef(0x254)]=null,this[_0x3612ef(0x252)]();return;}if(_0x455935['length']===0x1&&_0x455935[0x0][_0x3612ef(0x3bd)]===_0x4e3c13[_0x3612ef(0x316)]['DRAWING_SHAPE']&&(this[_0x3612ef(0x396)]+=0x1,this[_0x3612ef(0x254)]=this[_0x3612ef(0x2ca)](_0x455935[0x0][_0x3612ef(0x262)],_0x455935[0x0]['subUnitId'],_0x455935[0x0][_0x3612ef(0x259)]),this[_0x3612ef(0x254)])){this[_0x3612ef(0x32d)]();return;}let _0x382654=_0x455935[_0x3612ef(0x22c)](_0x17150a=>_0x17150a[_0x3612ef(0x3bd)]===_0x4e3c13[_0x3612ef(0x316)]['DRAWING_SHAPE']);if(_0x455935['length']>0x1&&_0x382654[_0x3612ef(0x281)]===_0x455935['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x3612ef(0x254)]=this['_getShapeInfo'](_0x455935[0x0][_0x3612ef(0x262)],_0x455935[0x0][_0x3612ef(0x260)],_0x455935[0x0][_0x3612ef(0x259)]),this[_0x3612ef(0x254)]){this[_0x3612ef(0x32d)]();return;}}else{if(this[_0x3612ef(0x396)]+=0x1,this[_0x3612ef(0x254)]=this[_0x3612ef(0x2ca)](_0x455935[0x0]['unitId'],_0x455935[0x0][_0x3612ef(0x260)],_0x455935[0x0][_0x3612ef(0x259)]),this[_0x3612ef(0x254)]){this['_activeShapeInfo'][_0x3612ef(0x2a9)]=!0x0,this[_0x3612ef(0x32d)]();return;}}this[_0x3612ef(0x252)]();}));}[_0x1104af(0x32d)](){const _0x1dfae2=_0x1104af;this['_activeShapeInfo']&&(this[_0x1dfae2(0x2a6)]=this[_0x1dfae2(0x39e)][_0x1dfae2(0x13f)]({'id':_0x23f350,'header':{'title':this[_0x1dfae2(0x19a)]['t'](_0x1dfae2(0x305))},'width':0x184,'children':{'label':_0x23f350,...this['_activeShapeInfo']},'onClose':()=>{const _0x4ed482=_0x1dfae2;this['_drawingManagerService'][_0x4ed482(0x22e)](null),this['_contextService'][_0x4ed482(0x340)](_0x4e3c13[_0x4ed482(0x359)],!0x1),this[_0x4ed482(0x2a6)]=null;}}),this[_0x1dfae2(0x23a)]=!0x0);}['_closeShapeEditPanel'](){const _0x10471a=_0x1104af;this[_0x10471a(0x23a)]=!0x1,this['_sidebarService'][_0x10471a(0x13a)](_0x23f350),this[_0x10471a(0x2a6)]=null,this[_0x10471a(0x2cd)]['setContextValue'](_0x4e3c13['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x10471a(0x3c5)][_0x10471a(0x22e)](null);}};_0x1323cc=_0x21e0a3([_0x3a726b(0x0,_0x4e3c13['IUniverInstanceService']),_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x19675e[_0x1104af(0x1f4)])),_0x3a726b(0x2,_0x19675e[_0x1104af(0x2c4)]),_0x3a726b(0x3,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5ac7da[_0x1104af(0x32b)])),_0x3a726b(0x4,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x4e3c13[_0x1104af(0x324)])),_0x3a726b(0x5,_0x4e3c13['ICommandService']),_0x3a726b(0x6,_0x53c637['IDrawingManagerService']),_0x3a726b(0x7,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x5585ad[_0x1104af(0x1a9)])),_0x3a726b(0x8,_0x4beb3c[_0x1104af(0x155)]),_0x3a726b(0x9,_0x4e3c13[_0x1104af(0x377)]),_0x3a726b(0xa,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x33d6bd))],_0x1323cc);let _0x3330e8=class extends _0x4e3c13['Plugin']{constructor(_0x47d184=_0x36c198,_0x4462a1,_0x12c8bd,_0x17d1fa,_0x469dea){const _0x197aff=_0x1104af;super(),this['_config']=_0x47d184,this[_0x197aff(0x3bf)]=_0x4462a1,this['_commandService']=_0x12c8bd,this[_0x197aff(0x3ae)]=_0x17d1fa,this['_renderManagerService']=_0x469dea;let {menu:_0x299ba1,..._0x4d5c24}=(0x0,_0x4e3c13[_0x197aff(0x255)])({},_0x36c198,this[_0x197aff(0x347)]);_0x299ba1&&this['_configService'][_0x197aff(0x22d)](_0x197aff(0x3b5),_0x299ba1,{'merge':!0x0}),this[_0x197aff(0x3ae)][_0x197aff(0x22d)](_0x197aff(0x2c7),_0x4d5c24),this[_0x197aff(0x2f0)]();}[_0x1104af(0x245)](){const _0x1932f3=_0x1104af;this['_injector']['add']([_0x3ff7a8]),this[_0x1932f3(0x3bf)][_0x1932f3(0x267)](_0x3ff7a8),(0x0,_0x4e3c13[_0x1932f3(0x2dd)])(this[_0x1932f3(0x3bf)],[[_0x1323cc],[_0x4b4d92],[_0x9605a2],[_0x45b8f4],[_0x12183a],[_0x84635],[_0x33d6bd]]),this['_initUIPart']();}['onReady'](){const _0x5f0f5f=_0x1104af;this['_renderManagerService'][_0x5f0f5f(0x350)](_0x4e3c13['UniverInstanceType'][_0x5f0f5f(0x1f7)],[_0x45b8f4]),this['_renderManagerService'][_0x5f0f5f(0x350)](_0x4e3c13[_0x5f0f5f(0x310)][_0x5f0f5f(0x1f7)],[_0x4519b5]),this['_renderManagerService']['registerRenderModule'](_0x4e3c13['UniverInstanceType']['UNIVER_DOC'],[_0x2c224a]),(0x0,_0x4e3c13[_0x5f0f5f(0x368)])(this[_0x5f0f5f(0x3bf)],[[_0x1323cc],[_0x4b4d92],[_0x9605a2],[_0x12183a],[_0x84635],[_0x33d6bd]]);}[_0x1104af(0x2f0)](){const _0x2548ce=_0x1104af;[_0x24d59f,_0x208de0,_0x3eb699,_0x21fd05]['forEach'](_0x2a5cc6=>this[_0x2548ce(0x3a0)](this[_0x2548ce(0x2cb)][_0x2548ce(0x398)](_0x2a5cc6)));}[_0x1104af(0x264)](){const _0x5b0f58=_0x1104af;let _0xd939ee=this[_0x5b0f58(0x3bf)],_0x128566=_0xd939ee[_0x5b0f58(0x267)](_0x19675e[_0x5b0f58(0x30a)]);this[_0x5b0f58(0x3a0)](_0x128566[_0x5b0f58(0x253)](_0x19675e['BuiltInUIPart'][_0x5b0f58(0x1bd)],()=>(0x0,_0x19675e[_0x5b0f58(0x370)])(_0x431507,_0xd939ee)));}};_0x4730ad(_0x3330e8,_0x1104af(0x26f),_0x4e3c13[_0x1104af(0x310)][_0x1104af(0x1f7)]),_0x4730ad(_0x3330e8,_0x1104af(0x329),'DOCS_SHAPE_UI_PLUGIN'),_0x4730ad(_0x3330e8,_0x1104af(0x29a),_0x492dbd),_0x4730ad(_0x3330e8,_0x1104af(0x185),_0x2f7166),_0x3330e8=_0x21e0a3([(0x0,_0x4e3c13[_0x1104af(0x21b)])(_0x3e511b[_0x1104af(0x221)],_0x19b019[_0x1104af(0x312)],_0x53c637[_0x1104af(0x21a)],_0x30bc3a[_0x1104af(0x300)],_0x4beb3c[_0x1104af(0x376)],_0x5585ad[_0x1104af(0x29e)],_0x9a69b6[_0x1104af(0x2d9)],_0xe538da[_0x1104af(0x1df)],_0x5ac7da[_0x1104af(0x1c0)],_0x297fde['UniverShapeEditorUIPlugin']),_0x3a726b(0x1,(0x0,_0x4e3c13[_0x1104af(0x156)])(_0x4e3c13[_0x1104af(0x143)])),_0x3a726b(0x2,_0x4e3c13[_0x1104af(0x166)]),_0x3a726b(0x3,_0x4e3c13[_0x1104af(0x24b)]),_0x3a726b(0x4,_0x4beb3c[_0x1104af(0x155)])],_0x3330e8),_0x5d90f2[_0x1104af(0x366)]=_0x5653f1,Object['defineProperty'](_0x5d90f2,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x3330e8;}});}));
|
|
1
|
+
(function(_0x52db54,_0x3fc0a6){const _0x49e7f5=_0x4049,_0x24f139=_0x52db54();while(!![]){try{const _0x4245e8=parseInt(_0x49e7f5(0x206))/0x1*(-parseInt(_0x49e7f5(0x1c9))/0x2)+parseInt(_0x49e7f5(0x372))/0x3*(parseInt(_0x49e7f5(0x3bf))/0x4)+-parseInt(_0x49e7f5(0x29a))/0x5*(parseInt(_0x49e7f5(0x391))/0x6)+parseInt(_0x49e7f5(0x30f))/0x7+parseInt(_0x49e7f5(0x32b))/0x8+parseInt(_0x49e7f5(0x295))/0x9+parseInt(_0x49e7f5(0x341))/0xa;if(_0x4245e8===_0x3fc0a6)break;else _0x24f139['push'](_0x24f139['shift']());}catch(_0x190bc5){_0x24f139['push'](_0x24f139['shift']());}}}(_0x4b00,0xbed2e),function(_0x51e674,_0x1f0c22){const _0x19ffa0=_0x4049;typeof exports==_0x19ffa0(0x218)&&typeof module<'u'?_0x1f0c22(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==_0x19ffa0(0x1f3)&&define['amd']?define([_0x19ffa0(0x211),'@univerjs-pro/shape-editor-ui',_0x19ffa0(0x442),_0x19ffa0(0x31c),_0x19ffa0(0x2ee),_0x19ffa0(0x44b),_0x19ffa0(0x39f),'@univerjs/core','@univerjs/docs',_0x19ffa0(0x258),_0x19ffa0(0x4a7),_0x19ffa0(0x220),_0x19ffa0(0x3c2),_0x19ffa0(0x255),_0x19ffa0(0x415),_0x19ffa0(0x3a9),_0x19ffa0(0x454),_0x19ffa0(0x3c9)],_0x1f0c22):(_0x51e674=typeof globalThis<'u'?globalThis:_0x51e674||self,_0x1f0c22(_0x51e674[_0x19ffa0(0x385)]={},_0x51e674[_0x19ffa0(0x3d9)],_0x51e674[_0x19ffa0(0x1ed)],_0x51e674[_0x19ffa0(0x229)],_0x51e674[_0x19ffa0(0x3c6)],_0x51e674['UniverProEngineShape'],_0x51e674[_0x19ffa0(0x2c7)],_0x51e674['UniverCore'],_0x51e674['UniverDocs'],_0x51e674[_0x19ffa0(0x2f5)],_0x51e674[_0x19ffa0(0x4af)],_0x51e674[_0x19ffa0(0x279)],_0x51e674[_0x19ffa0(0x22b)],_0x51e674[_0x19ffa0(0x3a0)],_0x51e674[_0x19ffa0(0x415)],_0x51e674[_0x19ffa0(0x448)],_0x51e674[_0x19ffa0(0x302)],_0x51e674[_0x19ffa0(0x3a0)]));}(this,function(_0x241b19,_0x122d1a,_0x1dd9a1,_0x152418,_0x41863e,_0xc6fd33,_0x3dd072,_0x889050,_0x580571,_0x32ae25,_0x4a14ae,_0x2b39ea,_0x103470,_0x468047,_0x14d6bc,_0x344fe9,_0xaeafba,_0x153666){const _0x5d2b55=_0x4049;Object[_0x5d2b55(0x1ad)](_0x241b19,Symbol['toStringTag'],{'value':'Module'});function _0x509f59(_0x5d6143,_0xc736c2){const _0x4843f7=_0x5d2b55;if(_0xc736c2){if((0x0,_0xc6fd33['isConnectorShape'])(_0x5d6143)&&(_0xc736c2[_0x4843f7(0x354)]||_0xc736c2['endArrow']))return{'ln':{'startArrow':_0xc736c2['startArrow']?{'type':_0xc6fd33[_0x4843f7(0x22c)][_0x4843f7(0x20f)],'size':_0xc6fd33[_0x4843f7(0x1e1)][_0x4843f7(0x36b)]}:void 0x0,'endArrow':_0xc736c2['endArrow']?{'type':_0xc6fd33[_0x4843f7(0x22c)]['Arrow'],'size':_0xc6fd33['ShapeArrowSizeEnum']['Large']}:void 0x0}};if(_0x5d6143===_0xc6fd33[_0x4843f7(0x34d)][_0x4843f7(0x47d)]&&(_0xc736c2['horizontal']||_0xc736c2[_0x4843f7(0x2dd)]))return(0x0,_0x3dd072['createShapeTextBoxShapeData'])({'fill':{'fillType':_0xc6fd33[_0x4843f7(0x497)][_0x4843f7(0x20e)],'color':_0x4843f7(0x3a1)},'isHorizontal':!!_0xc736c2['horizontal'],'stroke':{'lineStrokeType':_0xc6fd33[_0x4843f7(0x1e3)]['SolidLine'],'width':0x1,'color':_0x4843f7(0x469)}});}}function _0x1467aa(_0x39e875,_0x5bb766){const _0x580d8b=_0x5d2b55;var _0x3b0207;let _0x355341=_0x5bb766['segmentId']??'',_0xfe2092=(_0x3b0207=_0x39e875[_0x580d8b(0x225)](_0x355341))==null?void 0x0:_0x3b0207['getBody']();if(!_0xfe2092)return null;let _0x15ada5=_0xfe2092[_0x580d8b(0x241)]??[],_0x324117=_0x15ada5[_0x580d8b(0x368)](_0x3d98a1=>{const _0xb82ef5=_0x580d8b;let _0x2c017a=(0x0,_0x889050[_0xb82ef5(0x43d)])(_0xfe2092,_0x3d98a1);return _0x5bb766[_0xb82ef5(0x21a)]>=_0x2c017a&&_0x5bb766[_0xb82ef5(0x21a)]<=_0x3d98a1['startIndex'];})??_0x15ada5[_0x15ada5[_0x580d8b(0x24e)]-0x1];return _0x324117?{'paragraphId':_0x324117[_0x580d8b(0x438)],'segmentId':_0x355341,'position':_0x41863e['DocShapeAnchorPosition'][_0x580d8b(0x451)],'offset':_0x5bb766['startOffset']-(0x0,_0x889050[_0x580d8b(0x43d)])(_0xfe2092,_0x324117)}:null;}function _0xca4980(_0x1b5c17,_0x21c3c7,_0x22c0f0){const _0x400aa7=_0x5d2b55;var _0x9d4133,_0x407a72;if(!_0x22c0f0)return null;let _0x27bdb7=(_0x9d4133=_0x1b5c17[_0x400aa7(0x2bd)](_0x4a14ae[_0x400aa7(0x2fe)])['getRenderUnitById'](_0x21c3c7))==null?void 0x0:_0x9d4133[_0x400aa7(0x290)](_0x1dd9a1[_0x400aa7(0x47a)])[_0x400aa7(0x42a)];if(!_0x27bdb7)return null;let _0x430946=_0x22c0f0===_0x400aa7(0x3e6)?{'startOffset':_0x27bdb7['moveRange'][_0x400aa7(0x259)],'endOffset':_0x27bdb7[_0x400aa7(0x403)][_0x400aa7(0x259)]}:_0x27bdb7['menuRange'];return{'startOffset':_0x430946[_0x400aa7(0x21a)],'endOffset':_0x430946[_0x400aa7(0x259)],'collapsed':_0x430946['startOffset']===_0x430946[_0x400aa7(0x259)],'segmentId':((_0x407a72=_0x27bdb7[_0x400aa7(0x4b1)])==null?void 0x0:_0x407a72['segmentId'])??''};}let _0xd5b306={'type':_0x889050[_0x5d2b55(0x2af)]['COMMAND'],'id':_0x5d2b55(0x2e0),'handler':async(_0x623034,_0x3cc021)=>{const _0x231f0e=_0x5d2b55;let _0x9f4e1e=_0x623034[_0x231f0e(0x2bd)](_0x889050['IUniverInstanceService'])[_0x231f0e(0x432)](_0x889050[_0x231f0e(0x485)][_0x231f0e(0x386)]);if(!_0x9f4e1e)return!0x1;let _0xb2c260=_0x623034[_0x231f0e(0x2bd)](_0x889050[_0x231f0e(0x484)]),_0x4c5d87=_0x9f4e1e[_0x231f0e(0x498)](),_0x3b8913=_0x3cc021[_0x231f0e(0x2b1)]??(0x0,_0x889050[_0x231f0e(0x2b6)])(),_0x4f6f94=_0x3cc021['width']??_0x41863e[_0x231f0e(0x2c6)],_0x5c310f=_0x3cc021['height']??_0x41863e[_0x231f0e(0x1fe)],_0x1e82a0=_0x3cc021[_0x231f0e(0x45f)]??_0x509f59(_0x3cc021[_0x231f0e(0x427)],_0x3cc021[_0x231f0e(0x437)]),_0x165f4a=_0xca4980(_0x623034,_0x4c5d87,_0x3cc021[_0x231f0e(0x2a2)])??_0x623034[_0x231f0e(0x2bd)](_0x580571[_0x231f0e(0x433)])['getActiveTextRange']();if(!_0x165f4a)return!0x1;let _0x1f9934=_0x1467aa(_0x9f4e1e,_0x165f4a);return _0x1f9934?!!_0xb2c260[_0x231f0e(0x4ae)](_0x41863e['InsertDocShapeCommand']['id'],{'unitId':_0x4c5d87,'shapeId':_0x3b8913,'shapeType':_0x3cc021[_0x231f0e(0x427)],'shapeData':_0x1e82a0,'transform':{'width':_0x4f6f94,'height':_0x5c310f},'placement':{'wrappingStyle':_0x32ae25[_0x231f0e(0x370)][_0x231f0e(0x1d5)],'anchor':_0x1f9934}}):!0x1;}},_0x466f20='doc.shape.edit.panel',_0x48e949=_0x5d2b55(0x474),_0x424f1e=_0x5d2b55(0x1bf),_0x170d28=(0x0,_0x889050[_0x5d2b55(0x4ac)])(_0x5d2b55(0x338)),_0x3dea73=_0x5d2b55(0x26d),_0xccfcdd={'id':'doc.operation.open-shape-object-list-panel','type':_0x889050[_0x5d2b55(0x2af)][_0x5d2b55(0x459)],'handler':(_0x5140de,_0x199dde)=>{const _0x5e15d4=_0x5d2b55;let _0x493c4b=_0x5140de['get'](_0x152418[_0x5e15d4(0x353)]),_0x2ab473=_0x5140de[_0x5e15d4(0x2bd)](_0x889050[_0x5e15d4(0x26b)]),_0x130f8b=_0x5140de['get'](_0x2b39ea[_0x5e15d4(0x244)]);return(_0x199dde==null?void 0x0:_0x199dde[_0x5e15d4(0x427)])===_0x5e15d4(0x411)?(_0x493c4b[_0x5e15d4(0x411)](_0x424f1e),!0x0):(_0x493c4b['open']({'id':_0x424f1e,'header':{'title':_0x2ab473['t'](_0x5e15d4(0x233))},'children':{'label':_0x424f1e},'onClose':()=>{const _0x128ceb=_0x5e15d4;_0x130f8b[_0x128ceb(0x25b)](null);},'width':0x168}),!0x0);}},_0xfcd867={'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'id':_0x5d2b55(0x1bd),'handler'(){return!0x0;}};function _0x298d0a(_0x33e339){const _0x494299=_0x5d2b55;let _0x254872=_0x33e339[_0x494299(0x2bd)](_0x2b39ea[_0x494299(0x244)])[_0x494299(0x21b)](),_0x5ed679=_0x254872[_0x494299(0x24e)]===0x1?_0x254872[0x0]:null;if(!_0x5ed679||_0x5ed679['drawingType']!==_0x889050[_0x494299(0x2c5)][_0x494299(0x410)])return null;let _0x20cc03=_0x33e339['get'](_0x41863e[_0x494299(0x476)]),_0x2ddc02=_0x20cc03['getShapeTypeById'](_0x5ed679[_0x494299(0x1f9)],_0x5ed679['subUnitId'],_0x5ed679[_0x494299(0x249)]),_0x5d04fc=_0x20cc03['getShapeDataById'](_0x5ed679[_0x494299(0x1f9)],_0x5ed679[_0x494299(0x277)],_0x5ed679['drawingId']);return _0x2ddc02===void 0x0||!_0x5d04fc?null:{'drawing':_0x5ed679,'shapeData':_0x5d04fc,'shapeType':_0x2ddc02};}let _0x24ddd4={'id':_0x5d2b55(0x3fa),'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'handler':(_0x216e45,_0x3546ab)=>{const _0x37e105=_0x5d2b55;let _0x3ade98=_0x298d0a(_0x216e45),_0x3b1f4d=(0x0,_0x3dd072[_0x37e105(0x397)])((_0x3546ab==null?void 0x0:_0x3546ab[_0x37e105(0x33e)])??(_0x3546ab==null?void 0x0:_0x3546ab[_0x37e105(0x427)])??'');if(!_0x3ade98||!_0x3b1f4d||_0x3b1f4d['type']!==(0x0,_0x3dd072[_0x37e105(0x22f)])(_0x3ade98[_0x37e105(0x45f)]))return!0x1;let _0x14631e=(0x0,_0x3dd072[_0x37e105(0x361)])(_0x3ade98['shapeData'],_0x3b1f4d);if(!_0x14631e)return!0x1;let {drawing:_0x2ad4b9}=_0x3ade98;return _0x216e45[_0x37e105(0x2bd)](_0x889050['ICommandService'])[_0x37e105(0x1d3)](_0x41863e['UpdateDocShapeDataCommand']['id'],{'unitId':_0x2ad4b9['unitId'],'shapeId':_0x2ad4b9[_0x37e105(0x249)],'shapeData':_0x14631e,'oldShapeJSON':{'oldShapeData':_0x3ade98['shapeData']}});}},_0x468434={'id':_0x5d2b55(0x47e),'type':_0x889050['CommandType'][_0x5d2b55(0x247)],'handler':(_0x2c38f9,_0xb8adf7)=>{const _0x5d6ff4=_0x5d2b55;let _0x537c79=_0x298d0a(_0x2c38f9),_0x1faa4a=(_0xb8adf7==null?void 0x0:_0xb8adf7[_0x5d6ff4(0x337)])??(_0xb8adf7==null?void 0x0:_0xb8adf7[_0x5d6ff4(0x427)]);if(!_0x537c79||!_0x1faa4a||(0x0,_0xc6fd33[_0x5d6ff4(0x3f1)])(_0x537c79[_0x5d6ff4(0x337)])||(0x0,_0xc6fd33[_0x5d6ff4(0x3f1)])(_0x1faa4a))return!0x1;let _0x2cd210=(0x0,_0x3dd072[_0x5d6ff4(0x318)])(_0x537c79[_0x5d6ff4(0x45f)],_0x1faa4a);if(!_0x2cd210)return!0x1;let {drawing:_0x109f5d}=_0x537c79;return _0x2c38f9[_0x5d6ff4(0x2bd)](_0x889050[_0x5d6ff4(0x484)])[_0x5d6ff4(0x1d3)](_0x41863e[_0x5d6ff4(0x38d)]['id'],{'unitId':_0x109f5d[_0x5d6ff4(0x1f9)],'shapeId':_0x109f5d['drawingId'],'shapeType':_0x1faa4a,'shapeData':_0x2cd210,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x537c79[_0x5d6ff4(0x337)],'oldShapeData':_0x537c79[_0x5d6ff4(0x45f)]}});}};function _0x29bdea(_0x41b07e,_0x3cff2d){return function(_0xc3bdbd,_0x2eaa65){_0x3cff2d(_0xc3bdbd,_0x2eaa65,_0x41b07e);};}function _0x3b5a68(_0x13e342,_0x21a4b4,_0x563cbf,_0x55bbde){const _0xbd152=_0x5d2b55;var _0x364a4a=arguments[_0xbd152(0x24e)],_0x523608=_0x364a4a<0x3?_0x21a4b4:_0x55bbde===null?_0x55bbde=Object['getOwnPropertyDescriptor'](_0x21a4b4,_0x563cbf):_0x55bbde,_0x2b08d8;if(typeof Reflect==_0xbd152(0x218)&&typeof Reflect[_0xbd152(0x3e4)]==_0xbd152(0x1f3))_0x523608=Reflect[_0xbd152(0x3e4)](_0x13e342,_0x21a4b4,_0x563cbf,_0x55bbde);else{for(var _0x3fdab4=_0x13e342[_0xbd152(0x24e)]-0x1;_0x3fdab4>=0x0;_0x3fdab4--)(_0x2b08d8=_0x13e342[_0x3fdab4])&&(_0x523608=(_0x364a4a<0x3?_0x2b08d8(_0x523608):_0x364a4a>0x3?_0x2b08d8(_0x21a4b4,_0x563cbf,_0x523608):_0x2b08d8(_0x21a4b4,_0x563cbf))||_0x523608);}return _0x364a4a>0x3&&_0x523608&&Object[_0xbd152(0x1ad)](_0x21a4b4,_0x563cbf,_0x523608),_0x523608;}let _0x56d3dd=class extends _0x889050['Disposable']{constructor(_0x408f76,_0x21c1f3){const _0x465ed8=_0x5d2b55;super(),this[_0x465ed8(0x285)]=_0x408f76,this[_0x465ed8(0x3e9)]=_0x21c1f3,this[_0x465ed8(0x1b2)](),this[_0x465ed8(0x285)][_0x465ed8(0x2fc)](!0x0),this[_0x465ed8(0x367)]({'dispose':()=>this['_clipService'][_0x465ed8(0x2fc)](!0x1)});}[_0x5d2b55(0x1b2)](){const _0x5d0683=_0x5d2b55;let _0x138c54=new Map(),_0x30ff3f=this['_clipService']['registerClipDelegate']((_0x487fce,_0x2bacbc,_0x44b7fd,_0xd1d28f,_0x49952e)=>{const _0x1b721c=_0x4049;let _0x397b56=_0x2bacbc;if(_0x397b56===_0xc6fd33[_0x1b721c(0x34d)][_0x1b721c(0x444)]||_0x2bacbc===_0x1b721c(0x2a7))return!0x1;try{let _0x47a7b8=_0x138c54[_0x1b721c(0x2bd)](_0x2bacbc);return _0x47a7b8||(_0x47a7b8=new _0xc6fd33[(_0x1b721c(0x2fa))](_0x397b56,_0x1b721c(0x3dd)+_0x2bacbc),_0x138c54[_0x1b721c(0x3c4)](_0x2bacbc,_0x47a7b8)),_0x47a7b8['clearAdjustValue'](),_0x49952e&&Object[_0x1b721c(0x281)](_0x49952e)[_0x1b721c(0x24e)]>0x0&&_0x47a7b8[_0x1b721c(0x2a6)]({'adjustValues':_0x49952e},!0x0),_0x47a7b8['updateContext']({'width':_0x44b7fd,'height':_0xd1d28f}),_0x47a7b8[_0x1b721c(0x3a5)](_0x487fce,{'left':0x0,'top':0x0,'width':_0x44b7fd,'height':_0xd1d28f});}catch{return!0x1;}});this['disposeWithMe'](_0x30ff3f),this['disposeWithMe']({'dispose':()=>_0x138c54[_0x5d0683(0x250)]()});}[_0x5d2b55(0x2cc)](_0xcf022a,_0x1fa5d7,_0x11f753,_0x34062b,_0x3c0d27){const _0x399647=_0x5d2b55;let _0x6bb79e=this[_0x399647(0x3e9)][_0x399647(0x2dc)](_0xcf022a,_0x1fa5d7)[_0x11f753];!_0x6bb79e||_0x6bb79e['drawingType']!==_0x889050['DrawingTypeEnum'][_0x399647(0x3f4)]||this[_0x399647(0x3e9)][_0x399647(0x28e)]([{..._0x6bb79e,'prstGeom':_0x34062b,'adjustValues':_0x3c0d27}]);}};_0x56d3dd=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x103470['DrawingImageClipService'])),_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x2b39ea[_0x5d2b55(0x244)]))],_0x56d3dd);let _0x3a4380=_0x5d2b55(0x25e),_0xd1bfd4=_0x5d2b55(0x296);function _0x5cf504({onShapeClick:_0x5cc34a,excludeGroups:_0x34b0a1}){const _0x5916a7=_0x5d2b55;return(0x0,_0x468047['jsx'])(_0x122d1a[_0x5916a7(0x49b)],{'excludeGroups':_0x34b0a1,'onShapeClick':_0x5cc34a,'scrollContainer':_0x5916a7(0x21c)});}function _0x3bac8c(){const _0x2600dd=_0x5d2b55;let _0x37c12a=(0x0,_0x152418['useDependency'])(_0x2b39ea['IDrawingManagerService']),_0x1103ea=(0x0,_0x152418[_0x2600dd(0x40f)])(_0x56d3dd);return(0x0,_0x468047[_0x2600dd(0x4a0)])(_0x122d1a[_0x2600dd(0x265)],{'buttonLabel':_0x2600dd(0x47b),'excludeGroups':[_0x122d1a[_0x2600dd(0x316)][_0x2600dd(0x2f2)]],'onShapeClick':_0x1b169c=>{const _0x898359=_0x2600dd;let _0x111ed4=_0x37c12a[_0x898359(0x21b)]()['find'](_0x3167a1=>_0x3167a1[_0x898359(0x299)]===_0x889050[_0x898359(0x2c5)][_0x898359(0x3f4)]);if(!_0x111ed4)return;let {unitId:_0x2944a6,subUnitId:_0x3a5d1d,drawingId:_0x552ae3}=_0x111ed4;_0x1103ea[_0x898359(0x2cc)](_0x2944a6,_0x3a5d1d,_0x552ae3,_0x1b169c[_0x898359(0x430)]);}});}function _0x13a5d3(){const _0x260fe6=_0x5d2b55;let _0x3353ab=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x152418[_0x260fe6(0x3bd)]),_0x45edd2=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x16ce53=(0x0,_0x152418[_0x260fe6(0x40f)])(_0x889050[_0x260fe6(0x339)]),_0x49bfce=_0x45edd2[_0x260fe6(0x21b)]()[0x0],_0x59dce0=_0x49bfce?_0x16ce53[_0x260fe6(0x1e0)](_0x49bfce[_0x260fe6(0x1f9)]):void 0x0,_0x2dbde1=_0x59dce0===_0x889050[_0x260fe6(0x485)]['UNIVER_DOC']?_0xd1bfd4:_0x59dce0===_0x889050[_0x260fe6(0x485)][_0x260fe6(0x2bb)]?_0x260fe6(0x486):void 0x0,_0x566e03=_0x2dbde1?_0x3353ab[_0x260fe6(0x2bd)](_0x2dbde1):void 0x0;return _0x566e03?(0x0,_0x468047['jsx'])(_0x566e03,{}):null;}function _0x9244d2({paragraphMenuPlacement:_0xec1220}){const _0x2316a4=_0x5d2b55;let _0x442832=(0x0,_0x152418[_0x2316a4(0x40f)])(_0x889050[_0x2316a4(0x484)]);return(0x0,_0x468047[_0x2316a4(0x4a0)])(_0x5cf504,{'onShapeClick':_0x492ccf=>{const _0x3f7544=_0x2316a4;_0x442832[_0x3f7544(0x1d3)](_0xd5b306['id'],{'paragraphMenuPlacement':_0xec1220,'value':_0x492ccf[_0x3f7544(0x430)],'enhanceParams':{'endArrow':_0x492ccf[_0x3f7544(0x39a)],'startArrow':_0x492ccf[_0x3f7544(0x354)],'horizontal':_0x492ccf[_0x3f7544(0x2d5)],'vertical':_0x492ccf['vertical']}});}});}function _0x14ce21(_0x3ce788){const _0x3190ce=_0x5d2b55;return _0x419e66=>({'id':_0xd5b306['id'],'type':_0x152418[_0x3190ce(0x33d)][_0x3190ce(0x1b4)],'selections':[{'label':{'name':_0x3a4380,'hoverable':!0x1,'selectable':!0x1,'props':_0x3ce788?{'id':_0xd5b306['id'],'paragraphMenuPlacement':_0x3ce788}:{'id':_0xd5b306['id']}}}],'icon':_0x3190ce(0x3f7),'title':_0x3190ce(0x352),'tooltip':_0x3190ce(0x352),'hidden$':(0x0,_0x152418[_0x3190ce(0x1ca)])(_0x419e66,_0x889050['UniverInstanceType'][_0x3190ce(0x386)])});}let _0x199dc9=_0x14ce21(),_0x4f097f=_0x14ce21(_0x5d2b55(0x3e6)),_0x2e958e=_0x14ce21('target');function _0x535081(_0xdbb3da){const _0x48afca=_0x5d2b55;return{'id':_0xccfcdd['id'],'type':_0x152418[_0x48afca(0x33d)][_0x48afca(0x48f)],'icon':_0x48afca(0x38e),'title':_0x48afca(0x3f8),'tooltip':_0x48afca(0x3f8),'hidden$':(0x0,_0x152418['getMenuHiddenObservable'])(_0xdbb3da,_0x889050[_0x48afca(0x485)][_0x48afca(0x386)])};}function _0x4b32b1(_0x36a931,_0x31d545,_0x356f5a,_0x44b165,_0x5daa10,_0x486913){const _0x3d8b30=_0x5d2b55;let _0x7b5ff3={'unitId':_0x31d545,'shapeId':_0x44b165,'shapeData':_0x486913,'oldShapeJSON':_0x5daa10};return _0x36a931[_0x3d8b30(0x1d3)](_0x41863e[_0x3d8b30(0x38d)]['id'],_0x7b5ff3);}function _0x246717(_0x3b9d93,_0x1bd807,_0x332f11,_0x3241eb,_0x2af1bd,_0x72867a){const _0x4a5dec=_0x5d2b55;let _0x560a27={'unitId':_0x1bd807,'shapeId':_0x3241eb,'shapeData':_0x72867a,'oldShapeJSON':_0x2af1bd};return _0x3b9d93[_0x4a5dec(0x1d3)](_0x41863e['UpdateDocShapeDataCommand']['id'],_0x560a27);}let _0x5eddd5=_0x5d2b55(0x1ac),_0x263ac0='docs-shape-ui.shape-format.style-ribbon-control',_0x260a7c=_0x5d2b55(0x26c),_0x32e889=_0x5d2b55(0x440),_0x4b8b3e=_0x5d2b55(0x261),_0x26783d=[{'value':_0x32ae25['TextWrappingStyle'][_0x5d2b55(0x1d5)],'label':_0x5d2b55(0x1b3),'icon':'DocsShapeWrapInlineIcon'},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x374)],'label':'docs-shape-ui.textWrap.square','icon':_0x5d2b55(0x405)},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x1bc)],'label':'docs-shape-ui.textWrap.topAndBottom','icon':_0x5d2b55(0x4aa)},{'value':_0x32ae25[_0x5d2b55(0x370)]['BEHIND_TEXT'],'label':_0x5d2b55(0x3e3),'icon':_0x5d2b55(0x267)},{'value':_0x32ae25[_0x5d2b55(0x370)][_0x5d2b55(0x471)],'label':_0x5d2b55(0x413),'icon':'DocsShapeWrapInFrontOfTextIcon'}];function _0x12ee60(){const _0x3aedf9=_0x5d2b55;let _0x56b6b6=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x889050[_0x3aedf9(0x484)]),_0x54a6b6=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x5081df=(0x0,_0x152418[_0x3aedf9(0x40f)])(_0x41863e['DocsShapeService']),_0x48df38=()=>{const _0x1f9299=_0x3aedf9;var _0x27990c;let _0x3a8cbf=_0x54a6b6[_0x1f9299(0x21b)]();if(_0x3a8cbf[_0x1f9299(0x24e)]!==0x1||((_0x27990c=_0x3a8cbf[0x0])==null?void 0x0:_0x27990c['drawingType'])!==_0x889050['DrawingTypeEnum'][_0x1f9299(0x410)])return null;let {unitId:_0x28c203,subUnitId:_0x632565,drawingId:_0x371369}=_0x3a8cbf[0x0],_0x2a930d=_0x5081df['getShapeTypeById'](_0x28c203,_0x632565,_0x371369),_0x392f2b=_0x5081df['getShapeDataById'](_0x28c203,_0x632565,_0x371369);return _0x2a930d===void 0x0||!_0x392f2b?null:{'unitId':_0x28c203,'subUnitId':_0x632565,'drawingId':_0x371369,'shapeType':_0x2a930d,'shapeData':_0x392f2b};},_0x4494c6=(0x0,_0x152418[_0x3aedf9(0x1ce)])(()=>new _0x14d6bc[(_0x3aedf9(0x387))](_0x39ba1c=>{const _0x55ed6d=_0x3aedf9;let _0x1992fe=()=>_0x39ba1c['next'](_0x48df38()),_0x4caef7=_0x54a6b6[_0x55ed6d(0x3b8)][_0x55ed6d(0x431)](_0x1992fe),_0x20124e=_0x56b6b6[_0x55ed6d(0x38b)](_0xcb1a7c=>{const _0x2519ed=_0x55ed6d;_0xcb1a7c['id']===_0x41863e[_0x2519ed(0x263)]['id']&&_0x1992fe();});return _0x1992fe(),()=>{const _0x22f93c=_0x55ed6d;_0x4caef7[_0x22f93c(0x3f9)](),_0x20124e['dispose']();};}),_0x48df38(),!0x1,[_0x56b6b6,_0x5081df,_0x54a6b6]);return{'selection':_0x4494c6,'updateShapeData':_0x5838e3=>{const _0x27daa6=_0x3aedf9;_0x4494c6&&_0x4b32b1(_0x56b6b6,_0x4494c6[_0x27daa6(0x1f9)],_0x4494c6[_0x27daa6(0x277)],_0x4494c6[_0x27daa6(0x249)],{'oldShapeData':_0x4494c6[_0x27daa6(0x45f)]},_0x5838e3);}};}function _0x74b27(){const _0x5e536d=_0x5d2b55;let {selection:_0xd8bc81,updateShapeData:_0x1a663f}=_0x12ee60();return _0xd8bc81?(0x0,_0x468047[_0x5e536d(0x4a0)])(_0x122d1a[_0x5e536d(0x2c0)],{'shapeData':_0xd8bc81[_0x5e536d(0x45f)],'shapeType':_0xd8bc81[_0x5e536d(0x337)],'onUpdateShapeData':_0x1a663f}):null;}function _0x49ce56(){const _0x581918=_0x5d2b55;let _0x3bf6a8=(0x0,_0x152418[_0x581918(0x40f)])(_0x889050[_0x581918(0x484)]),_0x51eb22=(0x0,_0x152418[_0x581918(0x40f)])(_0x889050[_0x581918(0x26b)]),{selection:_0x5c1550}=_0x12ee60();return _0x5c1550?(0x0,_0x468047[_0x581918(0x4a0)])(_0x122d1a[_0x581918(0x429)],{'type':(0x0,_0x3dd072[_0x581918(0x22f)])(_0x5c1550[_0x581918(0x45f)]),'ariaLabel':_0x51eb22['t']('docs-shape-ui.quickStyles'),'activePresetId':(0x0,_0x3dd072['resolveActiveShapeQuickStylePresetId'])(_0x5c1550[_0x581918(0x45f)]),'onSelect':_0x172c55=>_0x3bf6a8['executeCommand'](_0x24ddd4['id'],{'presetId':_0x172c55})}):null;}function _0x52aa36(){const _0x491cd9=_0x5d2b55;let {selection:_0x5b1345,updateShapeData:_0x2555e5}=_0x12ee60();return _0x5b1345?(0x0,_0x468047['jsx'])(_0x122d1a[_0x491cd9(0x388)],{'fontFamilyPopupDataComponent':_0x491cd9(0x43e),'shapeData':_0x5b1345[_0x491cd9(0x45f)],'onUpdateShapeData':_0x2555e5}):null;}function _0xd3c34f(){const _0x3996f7=_0x5d2b55;var _0x3377c0;let {selection:_0x26afcf,updateShapeData:_0x3cc025}=_0x12ee60(),_0x5e19d7=(0x0,_0x122d1a[_0x3996f7(0x332)])({'hostType':_0x889050[_0x3996f7(0x485)][_0x3996f7(0x386)],'unitId':(_0x26afcf==null?void 0x0:_0x26afcf['unitId'])??'','subUnitId':(_0x26afcf==null?void 0x0:_0x26afcf['subUnitId'])??'','shapeId':(_0x26afcf==null?void 0x0:_0x26afcf[_0x3996f7(0x249)])??'','shapeData':_0x26afcf==null?void 0x0:_0x26afcf[_0x3996f7(0x45f)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x3996f7(0x35a),'onUpdateBinding':_0x45f014=>_0x3cc025({'formulaBinding':_0x45f014})}),_0x3a0a64=((_0x3377c0=_0x5e19d7['extensionGroups'])==null?void 0x0:_0x3377c0[_0x3996f7(0x4a2)](_0x50c2f4=>_0x50c2f4[_0x3996f7(0x3d5)])[_0x3996f7(0x29c)](_0x4e10cb=>_0x4e10cb[_0x3996f7(0x457)]!==!0x1))??[];return _0x26afcf!=null&&_0x26afcf['shapeData']['formulaBinding']?(0x0,_0x468047[_0x3996f7(0x4a0)])(_0x122d1a[_0x3996f7(0x48b)],{'actions':_0x3a0a64,'panel':_0x5e19d7[_0x3996f7(0x1d6)]}):null;}function _0x230595({value:_0x1ab205}){const _0x204981=_0x5d2b55;let _0x37f0c8=(0x0,_0x152418[_0x204981(0x40f)])(_0x889050[_0x204981(0x26b)]),_0x146e9f=_0x26783d[_0x204981(0x368)](_0x11a7b7=>_0x11a7b7[_0x204981(0x427)]===_0x1ab205)??_0x26783d[0x0];return _0x146e9f?(0x0,_0x468047[_0x204981(0x4a0)])('span',{'children':_0x37f0c8['t'](_0x146e9f[_0x204981(0x1f0)])}):null;}let _0xa31b9=_0x5d2b55(0x396),_0x5b4111=_0x5d2b55(0x33c),_0x2b3d20=_0x5d2b55(0x23e),_0x1154c2=_0x5d2b55(0x315),_0x19466d=_0x5d2b55(0x34c),_0x33ebe5=_0x5d2b55(0x319),_0x42de22=_0x5d2b55(0x359),_0x2cfbdd=_0x5d2b55(0x1d7);function _0x5bba28(_0x40599a){const _0x559a2b=_0x5d2b55;let _0x186e41=_0x40599a[_0x559a2b(0x2bd)](_0x889050[_0x559a2b(0x484)]),_0x3e014d=_0x40599a[_0x559a2b(0x2bd)](_0x2b39ea[_0x559a2b(0x244)]),_0x1056a2=_0x40599a[_0x559a2b(0x2bd)](_0x41863e[_0x559a2b(0x476)]);return new _0x14d6bc[(_0x559a2b(0x387))](_0x45a3ab=>{const _0x36ae9e=_0x559a2b;let _0xfb95d6=()=>{const _0x384ca6=_0x4049;let _0x490b2b=_0x3a1898(_0x40599a),_0x4eb3da=_0x490b2b?_0x1056a2[_0x384ca6(0x27b)](_0x490b2b[_0x384ca6(0x1f9)],_0x490b2b[_0x384ca6(0x277)],_0x490b2b['drawingId']):null;_0x45a3ab[_0x384ca6(0x49c)](_0x4eb3da?(0x0,_0x3dd072[_0x384ca6(0x358)])(_0x4eb3da)??'':'');},_0x1f9ffd=_0x3e014d['focus$'][_0x36ae9e(0x431)](_0xfb95d6),_0x1e4e38=_0x186e41[_0x36ae9e(0x38b)](_0x417589=>{const _0x2fb888=_0x36ae9e;_0x417589['id']===_0x41863e[_0x2fb888(0x263)]['id']&&_0xfb95d6();});return _0xfb95d6(),()=>{const _0x1621a5=_0x36ae9e;_0x1f9ffd[_0x1621a5(0x3f9)](),_0x1e4e38['dispose']();};});}function _0x3a1898(_0x234828){const _0x54dc2c=_0x5d2b55;var _0x5b1714;let _0x8e7bc7=_0x234828[_0x54dc2c(0x2bd)](_0x2b39ea[_0x54dc2c(0x244)])[_0x54dc2c(0x21b)]();return _0x8e7bc7[_0x54dc2c(0x24e)]===0x1&&((_0x5b1714=_0x8e7bc7[0x0])==null?void 0x0:_0x5b1714[_0x54dc2c(0x299)])===_0x889050[_0x54dc2c(0x2c5)]['DRAWING_SHAPE']?_0x8e7bc7[0x0]:null;}function _0xcab809(_0x127754){const _0x59d4ca=_0x5d2b55;return(_0x127754==null?void 0x0:_0x127754[_0x59d4ca(0x32c)])===_0x889050['PositionedObjectLayoutType']['WRAP_NONE']?_0x127754['behindDoc']===_0x889050[_0x59d4ca(0x2e5)][_0x59d4ca(0x2a5)]?_0x32ae25['TextWrappingStyle'][_0x59d4ca(0x428)]:_0x32ae25[_0x59d4ca(0x370)][_0x59d4ca(0x471)]:(_0x127754==null?void 0x0:_0x127754['layoutType'])===_0x889050[_0x59d4ca(0x239)][_0x59d4ca(0x374)]?_0x32ae25[_0x59d4ca(0x370)]['WRAP_SQUARE']:(_0x127754==null?void 0x0:_0x127754[_0x59d4ca(0x32c)])===_0x889050[_0x59d4ca(0x239)][_0x59d4ca(0x1bc)]?_0x32ae25[_0x59d4ca(0x370)][_0x59d4ca(0x1bc)]:_0x32ae25['TextWrappingStyle'][_0x59d4ca(0x1d5)];}function _0x5c5c89(_0x3d285c){const _0x342de7=_0x5d2b55;let _0x102fcf=_0x3d285c[_0x342de7(0x2bd)](_0x889050[_0x342de7(0x484)]),_0x401163=_0x3d285c[_0x342de7(0x2bd)](_0x2b39ea['IDrawingManagerService']),_0x27e45c=_0x3d285c['get'](_0x889050['IUniverInstanceService']);return new _0x14d6bc[(_0x342de7(0x387))](_0x1b5586=>{const _0x48e584=_0x342de7;let _0x333a3e=()=>{const _0x1bd0df=_0x4049;var _0x2311d5;let _0x158575=_0x3a1898(_0x3d285c),_0x392e84=_0x158575?_0x27e45c['getUnit'](_0x158575[_0x1bd0df(0x1f9)],_0x889050['UniverInstanceType']['UNIVER_DOC']):void 0x0;_0x1b5586['next'](_0xcab809(_0x158575?_0x392e84==null||(_0x2311d5=_0x392e84[_0x1bd0df(0x321)]()[_0x1bd0df(0x23c)])==null?void 0x0:_0x2311d5[_0x158575[_0x1bd0df(0x249)]]:void 0x0));},_0x402f32=_0x401163[_0x48e584(0x3b8)][_0x48e584(0x431)](_0x333a3e),_0x209380=_0x102fcf[_0x48e584(0x38b)](_0x1bfe01=>{const _0x179b0e=_0x48e584;_0x1bfe01['id']===_0x580571[_0x179b0e(0x287)]['id']&&_0x333a3e();});return _0x333a3e(),()=>{const _0x4f9949=_0x48e584;_0x402f32[_0x4f9949(0x3f9)](),_0x209380[_0x4f9949(0x2c3)]();};})[_0x342de7(0x1d1)]((0x0,_0x14d6bc[_0x342de7(0x2d8)])());}function _0xf9a189(_0x3e0c43,_0x6f162=!0x1){const _0x121762=_0x5d2b55;let _0x3dd442=_0x3e0c43['get'](_0x889050[_0x121762(0x484)]),_0x1ffb55=_0x3e0c43[_0x121762(0x2bd)](_0x2b39ea['IDrawingManagerService']),_0x3a189e=_0x3e0c43[_0x121762(0x2bd)](_0x41863e[_0x121762(0x476)]);return new _0x14d6bc[(_0x121762(0x387))](_0x18c9b1=>{const _0x5f4ab3=_0x121762;let _0x16219c=()=>{const _0x3b9da4=_0x4049;let _0x37d70c=_0x3a1898(_0x3e0c43);if(!_0x37d70c){_0x18c9b1[_0x3b9da4(0x49c)](!0x0);return;}let _0x413814=_0x3a189e[_0x3b9da4(0x27b)](_0x37d70c['unitId'],_0x37d70c[_0x3b9da4(0x277)],_0x37d70c[_0x3b9da4(0x249)]);_0x18c9b1[_0x3b9da4(0x49c)](!_0x413814||_0x6f162&&_0x413814[_0x3b9da4(0x49e)]==null);},_0x2287c7=_0x1ffb55[_0x5f4ab3(0x3b8)]['subscribe'](_0x16219c),_0x365872=_0x3dd442[_0x5f4ab3(0x38b)](_0x43e06a=>{const _0x27dd9d=_0x5f4ab3;_0x43e06a['id']===_0x41863e[_0x27dd9d(0x263)]['id']&&_0x16219c();});return _0x16219c(),()=>{const _0x39639f=_0x5f4ab3;_0x2287c7[_0x39639f(0x3f9)](),_0x365872[_0x39639f(0x2c3)]();};});}function _0x32a818(_0x4a6bff){const _0x438283=_0x5d2b55;let _0x41a5c1=_0x4a6bff['get'](_0x2b39ea[_0x438283(0x244)]),_0x44b549=_0x4a6bff[_0x438283(0x2bd)](_0x41863e[_0x438283(0x476)]);return _0x41a5c1[_0x438283(0x3b8)][_0x438283(0x1d1)]((0x0,_0x14d6bc[_0x438283(0x25c)])(_0x41a5c1[_0x438283(0x21b)]()),(0x0,_0x14d6bc['map'])(()=>{const _0x52912f=_0x438283;let _0x39964f=_0x3a1898(_0x4a6bff),_0x48c52e=_0x39964f?_0x44b549[_0x52912f(0x3eb)](_0x39964f[_0x52912f(0x1f9)],_0x39964f[_0x52912f(0x277)],_0x39964f['drawingId']):void 0x0;return _0x48c52e===void 0x0||(0x0,_0xc6fd33[_0x52912f(0x3f1)])(_0x48c52e);}));}function _0x2c903a(_0x330bea){const _0x301ed3=_0x5d2b55;return{'id':_0x24ddd4['id'],'type':_0x152418['MenuItemType'][_0x301ed3(0x1b4)],'icon':'PaintIcon','title':_0x301ed3(0x1c4),'tooltip':_0x301ed3(0x1c4),'selections':[{'label':{'name':_0x5eddd5,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x5bba28(_0x330bea),'hidden$':_0xf9a189(_0x330bea)};}function _0x7908fd(_0x2ae457){const _0x26c072=_0x5d2b55;return{'id':_0x468434['id'],'type':_0x152418[_0x26c072(0x33d)][_0x26c072(0x1b4)],'icon':_0x26c072(0x3f7),'title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x26c072(0x3e1),'slot':!0x0,'selections':[{'label':{'name':_0x122d1a[_0x26c072(0x3b9)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x32a818(_0x2ae457)};}function _0x2f0af9(_0x83849f,_0x55ba0f,_0x120526=!0x1){const _0x4877c4=_0x5d2b55;return _0x472c13=>({'id':_0x83849f,'type':_0x152418[_0x4877c4(0x33d)]['BUTTON'],'label':{'name':_0x55ba0f,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0xf9a189(_0x472c13,_0x120526)});}let _0x1abcd0=_0x2f0af9(_0xa31b9,_0x263ac0),_0x344bb1=_0x2f0af9(_0x5b4111,_0x260a7c),_0x43b153=_0x2f0af9(_0x2b3d20,_0x32e889,!0x0);function _0x5d9c17(_0x3e3ca5){const _0x49a559=_0x5d2b55;return{'id':_0x2cfbdd,'type':_0x152418[_0x49a559(0x33d)][_0x49a559(0x1b4)],'icon':_0x26783d[0x0][_0x49a559(0x254)],'label':_0x4b8b3e,'selectionsCommandId':_0x32ae25[_0x49a559(0x2bc)]['id'],'selections':_0x26783d[_0x49a559(0x2ca)](({icon:_0x3edcd2,label:_0x2984ff,value:_0x7776fa})=>({'value':_0x7776fa,'label':_0x2984ff,'icon':_0x3edcd2,'params':()=>{const _0xd56b49=_0x49a559;let _0x25e165=_0x3a1898(_0x3e3ca5);return _0x25e165?{'unitId':_0x25e165[_0xd56b49(0x1f9)],'subUnitId':_0x25e165[_0xd56b49(0x277)],'drawings':[{'unitId':_0x25e165[_0xd56b49(0x1f9)],'subUnitId':_0x25e165[_0xd56b49(0x277)],'drawingId':_0x25e165[_0xd56b49(0x249)]}],'wrappingStyle':_0x7776fa}:void 0x0;}})),'value$':_0x5c5c89(_0x3e3ca5),'hidden$':_0xf9a189(_0x3e3ca5)};}function _0x321b34(_0x22705e,_0x486ae1,_0x538143,_0x356adf){const _0x2cdbb8=_0x5d2b55;return _0x2a3f3f=>({'id':_0x22705e,'commandId':_0x32ae25[_0x2cdbb8(0x2ce)]['id'],'type':_0x152418[_0x2cdbb8(0x33d)][_0x2cdbb8(0x48f)],'icon':_0x538143,'title':_0x356adf,'tooltip':_0x356adf,'hidden$':_0xf9a189(_0x2a3f3f),'params':()=>{const _0x161d3c=_0x2cdbb8;let _0x1245f8=_0x3a1898(_0x2a3f3f);return _0x1245f8?{'unitId':_0x1245f8[_0x161d3c(0x1f9)],'subUnitId':_0x1245f8[_0x161d3c(0x277)],'drawingIds':[_0x1245f8[_0x161d3c(0x249)]],'arrangeType':_0x486ae1}:void 0x0;}});}let _0x497c1e=_0x321b34(_0x1154c2,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x3b1)],'MoveUpIcon',_0x5d2b55(0x3b4)),_0x35a29a=_0x321b34(_0x19466d,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x393)],_0x5d2b55(0x402),'shape-editor-ui.arrange.backward'),_0x2eb9dc=_0x321b34(_0x33ebe5,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x311)],_0x5d2b55(0x2e9),_0x5d2b55(0x45a)),_0x9acb85=_0x321b34(_0x42de22,_0x889050[_0x5d2b55(0x3e7)][_0x5d2b55(0x202)],_0x5d2b55(0x2d1),_0x5d2b55(0x2a8));function _0x4774dc(_0x38b872){const _0x358485=_0x5d2b55;return{'id':_0xfcd867['id'],'type':_0x152418[_0x358485(0x33d)]['BUTTON'],'icon':'ShapeFormatSettingIcon','title':_0x358485(0x434),'tooltip':_0x358485(0x434),'hidden$':_0xf9a189(_0x38b872),'params':()=>{const _0x455004=_0x358485;let _0x254bd9=_0x3a1898(_0x38b872);return _0x254bd9?{'unitId':_0x254bd9['unitId'],'subUnitId':_0x254bd9[_0x455004(0x277)],'drawingId':_0x254bd9['drawingId']}:void 0x0;}};}let _0x33a5a9={[_0x152418[_0x5d2b55(0x404)][_0x5d2b55(0x2e7)]]:{[_0x48e949]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x24ddd4['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2c903a},[_0x468434['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x7908fd}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0xa31b9]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x1abcd0}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x5b4111]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x344bb1}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x2cfbdd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5d9c17},[_0x1154c2]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x497c1e},[_0x19466d]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x35a29a},[_0x33ebe5]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x2eb9dc},[_0x42de22]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x9acb85}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2b3d20]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x43b153}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0xfcd867['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4774dc},[_0x122d1a[_0x5d2b55(0x27f)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x122d1a[_0x5d2b55(0x406)]}}}}},_0xe2c554={[_0x152418[_0x5d2b55(0x3a3)][_0x5d2b55(0x25f)]]:{[_0xd5b306['id']]:{'order':0x4,'menuItemFactory':_0x344e27=>({..._0x199dc9(_0x344e27),'title':void 0x0})}},[_0x152418[_0x5d2b55(0x3a3)][_0x5d2b55(0x493)]]:{[_0xccfcdd['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x535081}},[_0x152418[_0x5d2b55(0x40d)][_0x5d2b55(0x3aa)]]:{[_0x152418[_0x5d2b55(0x349)][_0x5d2b55(0x346)]]:{[_0x1dd9a1[_0x5d2b55(0x347)]]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x4f097f}}},[_0x1dd9a1[_0x5d2b55(0x3d0)]]:{[_0x152418['ContextMenuGroup']['LAYOUT']]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x4f097f}}},[_0x1dd9a1['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x152418[_0x5d2b55(0x349)][_0x5d2b55(0x346)]]:{[_0xd5b306['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2e958e}}},[_0x1dd9a1[_0x5d2b55(0x4ab)]]:{'insert':{[_0xd5b306['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x199dc9}}},[_0x1dd9a1[_0x5d2b55(0x2e8)]]:{'insert':{[_0xd5b306['id']+_0x5d2b55(0x345)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x4f097f}}}}};var _0x2d82b1='@univerjs-pro/docs-shape-ui',_0x5f016b=_0x5d2b55(0x28a);let _0x38bbf0={'type':_0x889050[_0x5d2b55(0x2af)]['OPERATION'],'id':_0x5d2b55(0x487),'handler'(){return!0x0;}},_0x9527ab={};function _0x1780f3({ref:_0x206e7f,..._0x3ef09f}){const _0x237c3f=_0x5d2b55;let {preserveStrokeWidth:_0x18c3fc,icon:_0x48ed32,id:_0x121582,className:_0x11d423,extend:_0x2daeaf,..._0x3ec623}=_0x3ef09f,_0x3d431f=(_0x237c3f(0x355)+_0x121582+'\x20'+(_0x11d423||''))['trim'](),_0x4e48d1='_'+(0x0,_0x153666[_0x237c3f(0x22a)])(),_0x19ad1f=(0x0,_0x153666['useRef'])(null);return(0x0,_0x153666[_0x237c3f(0x475)])(_0x206e7f,()=>_0x19ad1f['current']),(0x0,_0x153666[_0x237c3f(0x482)])(()=>{const _0x54f067=_0x237c3f;if(!(!_0x18c3fc||!_0x19ad1f[_0x54f067(0x2e2)]||_0x19ad1f[_0x54f067(0x2e2)]['localName']!==_0x48ed32['tag']))return _0x458fd7(_0x19ad1f[_0x54f067(0x2e2)]);},[_0x18c3fc,_0x48ed32]),_0xbad203(_0x48ed32,''+_0x121582,{'defIds':_0x48ed32['defIds'],'idSuffix':_0x4e48d1},{'ref':_0x19ad1f,'className':_0x3d431f,..._0x3ec623},_0x2daeaf);}function _0xbad203(_0x2e21f9,_0x58c9d9,_0x5bc2a2,_0x4e9eed,_0x2ecb46){const _0x491687=_0x5d2b55;return(0x0,_0x153666[_0x491687(0x1d8)])(_0x2e21f9[_0x491687(0x2f7)],{'key':_0x58c9d9,..._0x2fe24e(_0x2e21f9,_0x5bc2a2,_0x2ecb46),..._0x4e9eed},(_0x1b21e3(_0x2e21f9,_0x5bc2a2)['children']||[])[_0x491687(0x2ca)]((_0x56c7ab,_0x3ca467)=>_0xbad203(_0x56c7ab,_0x58c9d9+'-'+_0x2e21f9[_0x491687(0x2f7)]+'-'+_0x3ca467,_0x5bc2a2,void 0x0,_0x2ecb46)));}function _0x2fe24e(_0x4c7820,_0x113be9,_0xf57b86){const _0x3ad805=_0x5d2b55;let _0x505b5b={..._0x4c7820[_0x3ad805(0x36a)]};_0xf57b86!=null&&_0xf57b86[_0x3ad805(0x23b)]&&_0x505b5b[_0x3ad805(0x2de)]==='colorChannel1'&&(_0x505b5b[_0x3ad805(0x2de)]=_0xf57b86[_0x3ad805(0x23b)]),_0xf57b86!=null&&_0xf57b86['colorChannel1']&&_0x505b5b['stroke']==='colorChannel1'&&(_0x505b5b['stroke']=_0xf57b86[_0x3ad805(0x23b)]),_0x4c7820['tag']==='mask'&&_0x505b5b['id']&&(_0x505b5b['id']+=_0x113be9[_0x3ad805(0x3f2)]),Object['entries'](_0x505b5b)[_0x3ad805(0x3be)](([_0x2c342d,_0x5447f5])=>{const _0xf058c1=_0x3ad805;_0x2c342d==='mask'&&typeof _0x5447f5==_0xf058c1(0x3ae)&&(_0x505b5b[_0x2c342d]=_0x5447f5[_0xf058c1(0x41b)](/url\(#(.*)\)/,'url(#$1'+_0x113be9[_0xf058c1(0x3f2)]+')'));});let {defIds:_0x1d02d7}=_0x113be9;return!_0x1d02d7||_0x1d02d7['length']===0x0?_0x505b5b:(_0x4c7820['tag']===_0x3ad805(0x24d)&&_0x505b5b[_0x3ad805(0x425)]&&(_0x505b5b[_0x3ad805(0x425)]+=_0x113be9[_0x3ad805(0x3f2)]),Object[_0x3ad805(0x224)](_0x505b5b)[_0x3ad805(0x3be)](([_0x1a0c6d,_0x10b238])=>{const _0xf9b1c8=_0x3ad805;typeof _0x10b238==_0xf9b1c8(0x3ae)&&(_0x505b5b[_0x1a0c6d]=_0x10b238['replace'](/url\(#(.*)\)/,_0xf9b1c8(0x2c1)+_0x113be9['idSuffix']+')'));}),_0x505b5b);}function _0x1b21e3(_0x45a643,_0x1ebe17){const _0x163ca7=_0x5d2b55;var _0x37d43b;let {defIds:_0x413f8b}=_0x1ebe17;return!_0x413f8b||_0x413f8b[_0x163ca7(0x24e)]===0x0?_0x45a643:_0x45a643['tag']===_0x163ca7(0x23d)&&(_0x37d43b=_0x45a643[_0x163ca7(0x1dd)])!=null&&_0x37d43b[_0x163ca7(0x24e)]?{..._0x45a643,'children':_0x45a643[_0x163ca7(0x1dd)][_0x163ca7(0x2ca)](_0x10bfc9=>typeof _0x10bfc9[_0x163ca7(0x36a)]['id']==_0x163ca7(0x3ae)&&_0x413f8b&&_0x413f8b[_0x163ca7(0x2ba)](_0x10bfc9[_0x163ca7(0x36a)]['id'])?{..._0x10bfc9,'attrs':{..._0x10bfc9[_0x163ca7(0x36a)],'id':_0x10bfc9['attrs']['id']+_0x1ebe17[_0x163ca7(0x3f2)]}}:_0x10bfc9)}:_0x45a643;}function _0x458fd7(_0x4a38e3){const _0x24b7c8=_0x5d2b55;let _0x17b8c2=_0x4a38e3[_0x24b7c8(0x43c)][_0x24b7c8(0x366)],_0x2b125a=Math['max'](_0x17b8c2[_0x24b7c8(0x1f4)],_0x17b8c2['height']);if(!Number[_0x24b7c8(0x4b4)](_0x2b125a)||_0x2b125a<=0x0||_0x17b8c2[_0x24b7c8(0x1f4)]<=0x0||_0x17b8c2[_0x24b7c8(0x3ed)]<=0x0)return()=>void 0x0;let _0x58ba29=0x10/_0x2b125a,_0x180be6=Array[_0x24b7c8(0x3a6)](_0x4a38e3[_0x24b7c8(0x309)](_0x24b7c8(0x1af)))[_0x24b7c8(0x4a2)](_0x2ff80c=>{const _0x22cc10=_0x24b7c8;let _0x263486=getComputedStyle(_0x2ff80c),_0x45276b=Number['parseFloat'](_0x263486['strokeWidth']);return _0x263486[_0x22cc10(0x1c6)]===_0x22cc10(0x4a9)||Number[_0x22cc10(0x3e0)](_0x263486[_0x22cc10(0x458)])===0x0||_0x263486[_0x22cc10(0x29b)]===_0x22cc10(0x456)||!Number[_0x22cc10(0x4b4)](_0x45276b)||_0x45276b<=0x0?[]:[{'element':_0x2ff80c,'hadStyleAttribute':_0x2ff80c[_0x22cc10(0x40e)](_0x22cc10(0x3c0)),'originalStrokeWidth':_0x45276b,'strokeWidth':_0x5a2447(_0x2ff80c['style'],'stroke-width')}];})['map'](_0x24f356=>({'appliedStrokeWidth':null,'element':_0x24f356[_0x24b7c8(0x33f)],'hadStyleAttribute':_0x24f356[_0x24b7c8(0x2c4)],'isReleased':!0x1,'originalStrokeWidth':_0x24f356[_0x24b7c8(0x4b0)],'strokeWidth':_0x24f356['strokeWidth']}));if(_0x180be6[_0x24b7c8(0x24e)]===0x0)return()=>void 0x0;let _0x2a9f03=(_0x4578d6,_0x350f0b)=>{const _0x5116ba=_0x24b7c8;if(_0x17b8c2[_0x5116ba(0x1f4)]<=0x0||_0x17b8c2['height']<=0x0||_0x4578d6<=0x0||_0x350f0b<=0x0)return;let _0x3b3372=Math['min'](_0x4578d6/_0x17b8c2['width'],_0x350f0b/_0x17b8c2[_0x5116ba(0x3ed)]);!Number[_0x5116ba(0x4b4)](_0x3b3372)||_0x3b3372<=0x0||_0x180be6['forEach'](_0x1de674=>{const _0x45d40c=_0x5116ba;if(_0x1de674[_0x45d40c(0x1eb)])return;if(_0x1de674[_0x45d40c(0x35f)]!==null&&(_0x1de674[_0x45d40c(0x33f)]['style'][_0x45d40c(0x42f)](_0x45d40c(0x39d))!==_0x1de674[_0x45d40c(0x35f)]||_0x1de674[_0x45d40c(0x33f)]['style'][_0x45d40c(0x31d)]('stroke-width')!==_0x1de674[_0x45d40c(0x2f6)][_0x45d40c(0x1b6)])){_0x1de674[_0x45d40c(0x35f)]=null,_0x1de674[_0x45d40c(0x1eb)]=!0x0;return;}let _0x136f45=_0x1de674[_0x45d40c(0x4b0)]*_0x58ba29/_0x3b3372,_0x11606b=Number(_0x136f45[_0x45d40c(0x4a6)](0xc))+'px';_0x1de674[_0x45d40c(0x33f)][_0x45d40c(0x3c0)][_0x45d40c(0x2ac)](_0x45d40c(0x39d),_0x11606b,_0x1de674[_0x45d40c(0x2f6)][_0x45d40c(0x1b6)]),_0x1de674[_0x45d40c(0x35f)]=_0x11606b;});},_0x190069=_0x4a38e3['getBoundingClientRect']();_0x2a9f03(_0x190069[_0x24b7c8(0x1f4)],_0x190069[_0x24b7c8(0x3ed)]);let _0x3a6e40=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25167e=>{const _0x340907=_0x24b7c8;if(_0x25167e[_0x340907(0x3ca)](_0x3a456a=>_0x3a456a['target']===_0x4a38e3)){let _0x492fd9=_0x4a38e3['getBoundingClientRect']();_0x2a9f03(_0x492fd9[_0x340907(0x1f4)],_0x492fd9[_0x340907(0x3ed)]);}});return _0x3a6e40==null||_0x3a6e40['observe'](_0x4a38e3),()=>{const _0x58f9e0=_0x24b7c8;_0x3a6e40==null||_0x3a6e40[_0x58f9e0(0x1c8)](),_0x180be6[_0x58f9e0(0x3be)](_0x1497f1=>{const _0x597997=_0x58f9e0;_0x1497f1[_0x597997(0x35f)]!==null&&(_0x164c76(_0x1497f1[_0x597997(0x33f)][_0x597997(0x3c0)],_0x597997(0x39d),_0x1497f1['appliedStrokeWidth'],_0x1497f1[_0x597997(0x2f6)][_0x597997(0x1b6)],_0x1497f1[_0x597997(0x2f6)]),!_0x1497f1['hadStyleAttribute']&&_0x1497f1[_0x597997(0x33f)][_0x597997(0x3c0)][_0x597997(0x24e)]===0x0&&_0x1497f1[_0x597997(0x33f)][_0x597997(0x48e)](_0x597997(0x3c0)));});};}function _0x5a2447(_0x56223a,_0x43f829){const _0x1761b8=_0x5d2b55;return{'priority':_0x56223a['getPropertyPriority'](_0x43f829),'value':_0x56223a[_0x1761b8(0x42f)](_0x43f829)};}function _0x164c76(_0x5d71ec,_0x37e50d,_0x10aa05,_0x224b37,_0x599f60){const _0x7b662d=_0x5d2b55;_0x5d71ec[_0x7b662d(0x42f)](_0x37e50d)===_0x10aa05&&_0x5d71ec[_0x7b662d(0x31d)](_0x37e50d)===_0x224b37&&(_0x599f60['value']?_0x5d71ec[_0x7b662d(0x2ac)](_0x37e50d,_0x599f60[_0x7b662d(0x427)],_0x599f60['priority']):_0x5d71ec[_0x7b662d(0x41c)](_0x37e50d));}_0x1780f3[_0x5d2b55(0x27c)]=_0x5d2b55(0x468);let _0x47dfa4={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x39e),'width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x5d2b55(0x242),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3cd),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':'currentColor','d':_0x5d2b55(0x274)}},{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x33b651=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x35fcd3,_0x292fab){const _0x5593ca=_0x5d2b55;return(0x0,_0x153666['createElement'])(_0x1780f3,Object[_0x5593ca(0x2df)]({},_0x35fcd3,{'id':'bottom-icon','ref':_0x292fab,'icon':_0x47dfa4}));});_0x33b651[_0x5d2b55(0x27c)]='BottomIcon';let _0x1227e8={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':'1em','height':_0x5d2b55(0x44a)},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x4a5),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x22d)}}]},_0x3032ad=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x545236,_0x403b1f){const _0x525f29=_0x5d2b55;return(0x0,_0x153666[_0x525f29(0x1d8)])(_0x1780f3,Object[_0x525f29(0x2df)]({},_0x545236,{'id':_0x525f29(0x365),'ref':_0x403b1f,'icon':_0x1227e8}));});_0x3032ad[_0x5d2b55(0x27c)]=_0x5d2b55(0x402);let _0x23e645={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3b7)}}]},_0x530920=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x5f1dcc,_0x536641){const _0x12d1a6=_0x5d2b55;return(0x0,_0x153666[_0x12d1a6(0x1d8)])(_0x1780f3,Object[_0x12d1a6(0x2df)]({},_0x5f1dcc,{'id':_0x12d1a6(0x1db),'ref':_0x536641,'icon':_0x23e645}));});_0x530920['displayName']=_0x5d2b55(0x3d6);let _0x5c6882={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x3ef),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x1fb),'strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':_0x5d2b55(0x449),'strokeWidth':1.3}}]},_0x5ad399=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0xb8081b,_0x376aa7){const _0xf108be=_0x5d2b55;return(0x0,_0x153666[_0xf108be(0x1d8)])(_0x1780f3,Object[_0xf108be(0x2df)]({},_0xb8081b,{'id':'object-layers-icon','ref':_0x376aa7,'icon':_0x5c6882}));});_0x5ad399[_0x5d2b55(0x27c)]=_0x5d2b55(0x38e);let _0x526f4b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d2b55(0x4a9),'viewBox':'0\x200\x2016\x2016','width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x5d2b55(0x449),'strokeLinejoin':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x4b6),'strokeLinecap':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x420),'strokeLinecap':_0x5d2b55(0x449),'strokeWidth':1.2}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'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':'round'}},{'tag':_0x5d2b55(0x301),'attrs':{'stroke':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x312)}}]},_0x5b01ef=(0x0,_0x153666['forwardRef'])(function(_0x1aab68,_0x87c2a5){const _0x28efe3=_0x5d2b55;return(0x0,_0x153666[_0x28efe3(0x1d8)])(_0x1780f3,Object[_0x28efe3(0x2df)]({},_0x1aab68,{'id':_0x28efe3(0x227),'ref':_0x87c2a5,'icon':_0x526f4b}));});_0x5b01ef[_0x5d2b55(0x27c)]=_0x5d2b55(0x223);let _0x27d765={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x270),'width':_0x5d2b55(0x44a),'height':_0x5d2b55(0x44a)},'children':[{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x5d2b55(0x473),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x5d2b55(0x1cf),'rx':0.6}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x310),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}}]},_0x22e3d1=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x4f1bc8,_0x367537){const _0x1eb6ef=_0x5d2b55;return(0x0,_0x153666['createElement'])(_0x1780f3,Object[_0x1eb6ef(0x2df)]({},_0x4f1bc8,{'id':_0x1eb6ef(0x455),'ref':_0x367537,'icon':_0x27d765}));});_0x22e3d1[_0x5d2b55(0x27c)]=_0x5d2b55(0x1f8);let _0x53ad6c={'tag':_0x5d2b55(0x20a),'attrs':{'xmlns':_0x5d2b55(0x490),'fill':_0x5d2b55(0x4a9),'viewBox':_0x5d2b55(0x39e),'width':_0x5d2b55(0x44a),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x3c5)}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':'currentColor','d':_0x5d2b55(0x3af),'fillRule':_0x5d2b55(0x242),'clipRule':'evenodd'}},{'tag':_0x5d2b55(0x301),'attrs':{'fill':_0x5d2b55(0x1cf),'d':_0x5d2b55(0x28f),'fillRule':_0x5d2b55(0x242),'clipRule':_0x5d2b55(0x242)}}]},_0x1fe081=(0x0,_0x153666[_0x5d2b55(0x298)])(function(_0x1cc42b,_0x43fa0e){const _0x3a9c4d=_0x5d2b55;return(0x0,_0x153666[_0x3a9c4d(0x1d8)])(_0x1780f3,Object['assign']({},_0x1cc42b,{'id':'topmost-icon','ref':_0x43fa0e,'icon':_0x53ad6c}));});_0x1fe081[_0x5d2b55(0x27c)]=_0x5d2b55(0x2e9);function _0x3c951d(_0x5cdd38){return _0x5cdd38['trim']()||void 0x0;}function _0x28245e(_0x25a0e7,_0x2a61b5,_0x5ca508){const _0xb337a1=_0x5d2b55;var _0x1a48e0,_0x3ec78c;return((_0x1a48e0=_0x25a0e7[_0xb337a1(0x3c7)])==null?void 0x0:_0x1a48e0['trim']())||((_0x3ec78c=_0x25a0e7[_0xb337a1(0x409)])==null?void 0x0:_0x3ec78c[_0xb337a1(0x1ec)]())||(0x0,_0x103470[_0xb337a1(0x2f1)])(_0x5ca508,(0x0,_0x122d1a[_0xb337a1(0x45e)])(_0x25a0e7[_0xb337a1(0x299)]))+'\x20'+(_0x2a61b5+0x1);}function _0x210b05(){const _0x465f9d=_0x5d2b55;let _0x5ab0a5=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x26b)]),_0x3006aa=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x484)]),_0x494315=(0x0,_0x152418['useDependency'])(_0x889050[_0x465f9d(0x339)]),_0x3671c7=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x32ae25[_0x465f9d(0x38c)]),_0x417c27=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x2b39ea[_0x465f9d(0x244)]),_0x13fb16=(0x0,_0x152418[_0x465f9d(0x40f)])(_0x4a14ae[_0x465f9d(0x2fe)]),[,_0x5bb1fc]=(0x0,_0x153666[_0x465f9d(0x2e6)])(_0x452f5a=>_0x452f5a+0x1,0x0),_0x248698=_0x494315[_0x465f9d(0x432)](_0x889050['UniverInstanceType'][_0x465f9d(0x386)]),_0x497ae6=(_0x248698==null?void 0x0:_0x248698['getUnitId']())??'',_0x4d4bc8=_0x497ae6,_0x269348=(0x0,_0x152418[_0x465f9d(0x1ce)])(()=>_0x417c27[_0x465f9d(0x3b8)],_0x417c27[_0x465f9d(0x21b)](),!0x1,[_0x417c27]);(0x0,_0x153666[_0x465f9d(0x419)])(()=>{const _0x535c8d=_0x465f9d;let _0x483481=_0x3006aa[_0x535c8d(0x38b)](()=>_0x5bb1fc());return()=>_0x483481[_0x535c8d(0x2c3)]();},[_0x3006aa]);let _0xf70be7=(0x0,_0x153666[_0x465f9d(0x35d)])(()=>(0x0,_0x103470['getObjectListPanelLabels'])(_0x5ab0a5),[_0x5ab0a5]),_0x2ca11f=_0x497ae6?_0x3671c7[_0x465f9d(0x2dc)](_0x497ae6,_0x4d4bc8):{},_0x2c739f=(_0x497ae6?_0x3671c7['getDrawingOrder'](_0x497ae6,_0x4d4bc8):[])[_0x465f9d(0x2ca)](_0x5a5abf=>_0x2ca11f[_0x5a5abf])[_0x465f9d(0x29c)](_0x2d9da7=>!!_0x2d9da7)[_0x465f9d(0x1d9)](),_0x533e42=_0x2c739f['reduce']((_0x34166c,_0x513dc7)=>(_0x34166c[(0x0,_0x103470[_0x465f9d(0x1f1)])(_0x513dc7[_0x465f9d(0x299)])]+=0x1,_0x34166c),{'canvas':0x0,'floating':0x0}),_0x1a421f={'canvas':0x0,'floating':0x0},_0x408b00=_0x2c739f['map']((_0x1a4b2d,_0x2e40c7)=>{const _0x379619=_0x465f9d;let _0x1bc6ab=(0x0,_0x103470[_0x379619(0x1f1)])(_0x1a4b2d[_0x379619(0x299)]),_0x4a5a60=_0x1bc6ab===_0x103470[_0x379619(0x266)],_0x53ec6a=_0x1a421f[_0x1bc6ab]++;return{'id':_0x1a4b2d['drawingId'],'name':_0x28245e(_0x1a4b2d,_0x2e40c7,_0x5ab0a5),'description':_0x1a4b2d[_0x379619(0x4b5)],'visible':_0x1a4b2d['hidden']!==!0x0,'selectable':_0x1a4b2d[_0x379619(0x3ba)]!==!0x1,'sectionId':_0x1bc6ab,'sectionTitle':_0x4a5a60?_0xf70be7[_0x379619(0x3b0)]:_0xf70be7[_0x379619(0x36f)],'capabilities':_0x4a5a60?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x4a5a60&&_0x53ec6a>0x0,'canMoveBackward':!_0x4a5a60&&_0x53ec6a<_0x533e42[_0x379619(0x209)]-0x1,'canReorder':!_0x4a5a60};}),_0x21cd5a=(0x0,_0x153666[_0x465f9d(0x35d)])(()=>(_0x269348??[])['filter'](_0x34b60f=>_0x34b60f[_0x465f9d(0x1f9)]===_0x497ae6&&_0x34b60f[_0x465f9d(0x277)]===_0x4d4bc8)[_0x465f9d(0x2ca)](_0x3f88a6=>_0x3f88a6['drawingId']),[_0x269348,_0x4d4bc8,_0x497ae6]),_0x106281=_0x21cd5a[_0x21cd5a[_0x465f9d(0x24e)]-0x1]??null,_0x37c78c=_0x48eb7e=>_0x3671c7['getDrawingByParam']({'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x48eb7e})??null,_0x2f2029=async _0x3ed624=>{const _0x1b513b=_0x465f9d;!_0x497ae6||!_0x3ed624[_0x1b513b(0x24e)]||await _0x3006aa[_0x1b513b(0x1d3)](_0x41863e['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x497ae6,'patches':_0x3ed624});},_0x540d8b=(_0x44e4df,_0x5b3f10)=>{const _0x26f404=_0x465f9d;if(!_0x497ae6)return;let _0x298459=_0x5b3f10?_0x21cd5a[_0x26f404(0x2ba)](_0x44e4df)?_0x21cd5a[_0x26f404(0x29c)](_0x501936=>_0x501936!==_0x44e4df):[..._0x21cd5a,_0x44e4df]:[_0x44e4df];_0x3006aa[_0x26f404(0x4ae)](_0x2b39ea[_0x26f404(0x31e)]['id'],_0x298459[_0x26f404(0x2ca)](_0x3a1c89=>({'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x3a1c89})));let _0x186657=_0x298459[_0x298459[_0x26f404(0x24e)]-0x1];_0x186657?(0x0,_0x122d1a[_0x26f404(0x286)])(_0x13fb16,{'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingId':_0x186657}):(0x0,_0x122d1a[_0x26f404(0x326)])(_0x13fb16,_0x497ae6);},_0x5471ba=async(_0x305cab,_0x1495b0)=>{const _0xc9dae7=_0x465f9d;await _0x2f2029(_0x305cab[_0xc9dae7(0x2ca)](_0x5928fb=>_0x37c78c(_0x5928fb))[_0xc9dae7(0x29c)](_0x1db5a0=>!!_0x1db5a0)[_0xc9dae7(0x29c)](_0x44c6c7=>_0x44c6c7[_0xc9dae7(0x24b)]!==!0x0!==_0x1495b0)[_0xc9dae7(0x2ca)](_0x1fce54=>({'drawingId':_0x1fce54[_0xc9dae7(0x249)],'hidden':!_0x1495b0})));},_0x299e6d=async _0x4404b0=>{const _0x145f3c=_0x465f9d;let _0x41eb28=_0x37c78c(_0x4404b0);_0x41eb28&&await _0x2f2029([{'drawingId':_0x4404b0,'selectable':_0x41eb28[_0x145f3c(0x3ba)]===!0x1&&void 0x0}]);},_0x1e97c4=async(_0x137c4e,_0x3cd366)=>{const _0x2c6a3e=_0x465f9d;let _0x41dc72=_0x37c78c(_0x137c4e),_0x559648=_0x3c951d(_0x3cd366);!_0x41dc72||(_0x41dc72[_0x2c6a3e(0x3c7)]??void 0x0)===_0x559648&&(_0x41dc72[_0x2c6a3e(0x409)]||void 0x0)===_0x559648||await _0x2f2029([{'drawingId':_0x137c4e,'name':_0x559648,'title':_0x559648}]);},_0x3ee3db=async(_0x8db222,_0x4eba84)=>{let _0x2f449d=_0x37c78c(_0x8db222),_0x5d05f4=_0x3c951d(_0x4eba84);!_0x2f449d||(_0x2f449d['description']??void 0x0)===_0x5d05f4||await _0x2f2029([{'drawingId':_0x8db222,'description':_0x5d05f4}]);},_0x5f14bd=async(_0x3bc4fb,_0x3888c8)=>{const _0x46f88e=_0x465f9d;_0x497ae6&&await _0x3006aa[_0x46f88e(0x1d3)](_0x32ae25[_0x46f88e(0x2ce)]['id'],{'unitId':_0x497ae6,'subUnitId':_0x4d4bc8,'drawingIds':[_0x3bc4fb],'arrangeType':_0x3888c8});};return _0x497ae6?(0x0,_0x468047['jsx'])(_0x103470['ObjectListPanelBase'],{'items':_0x408b00,'selectedIds':_0x21cd5a,'focusedId':_0x106281,'labels':_0xf70be7,'onSelect':_0x540d8b,'onSetVisible':_0x5471ba,'onCommitName':_0x1e97c4,'onCommitDescription':_0x3ee3db,'onMoveForward':async _0x12107c=>_0x5f14bd(_0x12107c,_0x889050[_0x465f9d(0x3e7)][_0x465f9d(0x3b1)]),'onMoveBackward':async _0xe8ffcb=>_0x5f14bd(_0xe8ffcb,_0x889050[_0x465f9d(0x3e7)]['backward']),'onToggleSelectable':_0x299e6d}):(0x0,_0x468047[_0x465f9d(0x4a0)])(_0x465f9d(0x25d),{'className':_0x465f9d(0x1fa),'children':_0xf70be7[_0x465f9d(0x409)]});}let _0x5b20a8=class{constructor(_0x31f43c){const _0x3ccd19=_0x5d2b55;this[_0x3ccd19(0x325)]=_0x31f43c;}[_0x5d2b55(0x377)](_0x136653,_0x5b4af5){const _0x5578f2=_0x5d2b55;let _0xa955f2=this[_0x5578f2(0x325)]['getRenderUnitById'](_0x136653[_0x5578f2(0x1f9)]),_0x4e7d41=_0xa955f2==null?void 0x0:_0xa955f2[_0x5578f2(0x2f0)];if(!_0x4e7d41)return;let _0x259d42=(0x0,_0x2b39ea[_0x5578f2(0x1d0)])(_0x136653),_0x36e0fb=_0x4e7d41[_0x5578f2(0x488)](_0x259d42);_0x36e0fb==null||_0x36e0fb[_0x5578f2(0x283)](_0x5b4af5);}};_0x5b20a8=_0x3b5a68([_0x29bdea(0x0,_0x4a14ae[_0x5d2b55(0x2fe)])],_0x5b20a8);function _0x1fb892(){const _0x395310=_0x5d2b55;let _0xea48ff=(0x0,_0x152418[_0x395310(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x507d0c=(0x0,_0x152418['useObservable'])(()=>_0xea48ff[_0x395310(0x3b8)],_0xea48ff[_0x395310(0x21b)](),!0x1,[_0xea48ff]);return _0x507d0c[_0x395310(0x24e)]===0x0?null:(0x0,_0x468047[_0x395310(0x4a0)])(_0x395310(0x25d),{'children':(0x0,_0x468047[_0x395310(0x269)])(_0x395310(0x25d),{'className':_0x395310(0x334),'children':[(0x0,_0x468047[_0x395310(0x4a0)])(_0x103470[_0x395310(0x1b7)],{'drawings':_0x507d0c,'hasCropper':!0x1}),(0x0,_0x468047[_0x395310(0x4a0)])(_0xaeafba[_0x395310(0x328)],{'drawings':_0x507d0c}),(0x0,_0x468047['jsx'])(_0xaeafba[_0x395310(0x234)],{'drawings':_0x507d0c})]})});}function _0x5903be(_0x401010){const _0xe5ea7d=_0x5d2b55;let {unitId:_0x4b7ca0,subUnitId:_0x32f11d,shapeId:_0xd1cf49}=_0x401010,_0x379a1f=(0x0,_0x152418[_0xe5ea7d(0x40f)])(_0x889050['ICommandService']),_0x1c40e1=(0x0,_0x152418[_0xe5ea7d(0x40f)])(_0x5b20a8);return(0x0,_0x468047[_0xe5ea7d(0x4a0)])(_0x122d1a[_0xe5ea7d(0x245)],{..._0x401010,'positionEditor':(0x0,_0x468047['jsx'])(_0x1fb892,{}),'onUpdateShapeData':(_0x3ea78b,_0x293433)=>{_0x4b32b1(_0x379a1f,_0x4b7ca0,_0x32f11d,_0xd1cf49,_0x3ea78b,_0x293433);},'onUpdateLineShapeData':(_0x119cd6,_0xe639b7)=>{_0x246717(_0x379a1f,_0x4b7ca0,_0x32f11d,_0xd1cf49,_0x119cd6,_0xe639b7);},'onUpdateShapeFillImage':_0x19b832=>{const _0x202eb6=_0xe5ea7d;_0x1c40e1[_0x202eb6(0x377)]({'unitId':_0x4b7ca0,'subUnitId':_0x32f11d,'drawingId':_0xd1cf49},_0x19b832);}});}let _0xd3c83a='doc.shape.floating-toolbar';function _0x4bfbdc(_0x973392,_0xa11d9e){const _0x15bb81=_0x5d2b55;var _0x2b644c;let _0x29a830=_0x973392==null||(_0x2b644c=_0x973392[_0x15bb81(0x321)]()[_0x15bb81(0x23c)])==null?void 0x0:_0x2b644c[_0xa11d9e];return _0x29a830?_0x29a830[_0x15bb81(0x32c)]===_0x889050[_0x15bb81(0x239)][_0x15bb81(0x288)]?_0x29a830[_0x15bb81(0x35e)]===_0x889050['BooleanNumber'][_0x15bb81(0x2a5)]?_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x428)]:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x471)]:_0x29a830['layoutType']===_0x889050[_0x15bb81(0x239)]['WRAP_SQUARE']?_0x32ae25[_0x15bb81(0x370)]['WRAP_SQUARE']:_0x29a830[_0x15bb81(0x32c)]===_0x889050[_0x15bb81(0x239)][_0x15bb81(0x1bc)]?_0x32ae25[_0x15bb81(0x370)]['WRAP_TOP_AND_BOTTOM']:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x1d5)]:_0x32ae25[_0x15bb81(0x370)][_0x15bb81(0x1d5)];}function _0x381ff5(_0x50a47a){const _0x3c8dba=_0x5d2b55;let _0x2e798b=(0x0,_0x152418[_0x3c8dba(0x40f)])(_0x122d1a[_0x3c8dba(0x289)]),_0xa0503f=(0x0,_0x152418['useObservable'])(()=>_0x2e798b[_0x3c8dba(0x2bf)],_0x2e798b[_0x3c8dba(0x205)](),!0x1,[_0x2e798b]),_0x32c48c=_0x50a47a['popup'][_0x3c8dba(0x330)];return _0xa0503f?(0x0,_0x468047[_0x3c8dba(0x4a0)])(_0x5dcd0d,{..._0x32c48c,'canvasElement':_0x50a47a[_0x3c8dba(0x21f)][_0x3c8dba(0x381)]}):null;}function _0x5dcd0d(_0x4019f9){const _0x1056df=_0x5d2b55;let _0x356719=(0x0,_0x152418[_0x1056df(0x40f)])(_0x889050[_0x1056df(0x484)]),_0x45d929=(0x0,_0x152418[_0x1056df(0x40f)])(_0x889050[_0x1056df(0x26b)]),_0xa53092=(0x0,_0x152418['useDependency'])(_0x41863e[_0x1056df(0x476)]),_0x447214=(0x0,_0x152418['useDependency'])(_0x889050[_0x1056df(0x339)]),{unitId:_0x4be41e,subUnitId:_0x2bb95e,drawingId:_0x43a692,shapeType:_0x27e9ce}=_0x4019f9,[_0x664774,_0x50c1e1]=(0x0,_0x153666[_0x1056df(0x3c1)])(_0x4019f9[_0x1056df(0x45f)]),_0x266dad=_0x447214[_0x1056df(0x221)](_0x4be41e,_0x889050[_0x1056df(0x485)]['UNIVER_DOC'])??void 0x0,[_0x128891,_0xa974e8]=(0x0,_0x153666[_0x1056df(0x3c1)])(()=>_0x4bfbdc(_0x266dad,_0x43a692)),_0x30c307=(0x0,_0x153666[_0x1056df(0x35d)])(()=>(0x0,_0x122d1a[_0x1056df(0x3f6)])(_0x664774),[_0x664774]),_0x495a8a=(0x0,_0x153666['useMemo'])(()=>(0x0,_0x122d1a[_0x1056df(0x1ff)])(_0x664774),[_0x664774]);(0x0,_0x153666[_0x1056df(0x419)])(()=>{const _0x565dad=_0x1056df;let _0x16c2ba=_0x356719['onCommandExecuted'](_0x2e34a0=>{const _0xed285b=_0x4049;if(_0x2e34a0['id']!==_0x41863e[_0xed285b(0x263)]['id'])return;let _0xad6f4a=_0xa53092[_0xed285b(0x27b)](_0x4be41e,_0x2bb95e,_0x43a692);_0xad6f4a&&_0x50c1e1(_0xad6f4a);});return()=>_0x16c2ba[_0x565dad(0x2c3)]();},[_0x356719,_0xa53092,_0x43a692,_0x2bb95e,_0x4be41e]);let _0x3eeb5e=_0x58b40d=>{_0x50c1e1(_0x334287=>({..._0x334287,..._0x58b40d}));},_0x285e11=_0x21847b=>{const _0x115a56=_0x1056df;let _0xa7a639=(0x0,_0x122d1a[_0x115a56(0x2b2)])(_0x664774,_0x21847b);_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,{'oldShapeData':{'shapeText':_0x664774['shapeText']}},_0xa7a639),_0x3eeb5e(_0xa7a639);},_0x1b296f=_0x460313=>{const _0x331df0=_0x1056df;_0xa974e8(_0x460313),_0x356719['executeCommand'](_0x32ae25[_0x331df0(0x2bc)]['id'],{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawings':[{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692}],'wrappingStyle':_0x460313});},_0x2a3c58=(0x0,_0x122d1a['useFormulaShapeToolbar'])({'hostType':_0x889050[_0x1056df(0x485)][_0x1056df(0x386)],'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'shapeId':_0x43a692,'shapeData':_0x664774,'onUpdateBinding':_0x4d663c=>{const _0xcf0fbd=_0x1056df;let _0x372518={'formulaBinding':_0x4d663c};_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,{'oldShapeData':{'formulaBinding':_0x664774[_0xcf0fbd(0x49e)]}},_0x372518),_0x3eeb5e(_0x372518);}}),_0x122aeb=[{'label':_0x45d929['t'](_0x1056df(0x1b3)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x1d5)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t']('docs-shape-ui.textWrap.square'),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x374)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t']('docs-shape-ui.textWrap.topAndBottom'),'value':_0x32ae25['TextWrappingStyle'][_0x1056df(0x1bc)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t'](_0x1056df(0x3e3)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x428)],'icon':(0x0,_0x468047[_0x1056df(0x4a0)])(_0x22e3d1,{})},{'label':_0x45d929['t'](_0x1056df(0x413)),'value':_0x32ae25[_0x1056df(0x370)][_0x1056df(0x471)],'icon':(0x0,_0x468047['jsx'])(_0x22e3d1,{})}];return(0x0,_0x468047[_0x1056df(0x269)])(_0x468047['Fragment'],{'children':[(0x0,_0x468047['jsx'])(_0x122d1a[_0x1056df(0x464)],{'canvasElement':_0x4019f9['canvasElement'],'shapeData':_0x664774,'shapeType':_0x27e9ce,'textStyle':{'ff':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x3b6)],'fs':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x1bb)],'cl':{'rgb':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x204)][_0x1056df(0x2eb)]},..._0x30c307},'textModel':_0x495a8a?{'ha':_0x495a8a['ha']??_0x889050[_0x1056df(0x284)][_0x1056df(0x37f)],'va':_0x495a8a['va']??_0x889050[_0x1056df(0x491)]['TOP']}:null,'wrappingStyle':_0x128891,'wrappingStyleOptions':_0x122aeb,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0xc6fd33['ShapeDefaultConfig'][_0x1056df(0x2de)],'defaultGradientEndColor':_0xc6fd33[_0x1056df(0x362)][_0x1056df(0x45c)],'defaultStrokeColor':_0xc6fd33['ShapeDefaultConfig'][_0x1056df(0x1c6)],'extensionGroups':_0x2a3c58[_0x1056df(0x424)],'onUpdateShapeData':(_0x116072,_0x502cce)=>{_0x4b32b1(_0x356719,_0x4be41e,_0x2bb95e,_0x43a692,_0x116072,_0x502cce),_0x502cce&&_0x3eeb5e(_0x502cce);},'onUpdateText':_0x285e11,'onUpdateWrappingStyle':_0x20d2df=>_0x1b296f(_0x20d2df),'onOpenPanel':()=>{_0x356719['executeCommand'](_0xfcd867['id'],{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692});},'onDelete':()=>{const _0x1f7d1e=_0x1056df;_0x356719[_0x1f7d1e(0x1d3)](_0x32ae25[_0x1f7d1e(0x324)]['id'],{'unitId':_0x4be41e,'drawings':[{'unitId':_0x4be41e,'subUnitId':_0x2bb95e,'drawingId':_0x43a692}]});}}),_0x2a3c58[_0x1056df(0x1d6)]]});}function _0x3a8fed({variant:_0x453bb3,extend:_0x135250,..._0x49c556}){const _0x4f037c=_0x5d2b55;let _0x27f3a1=(0x0,_0x468047[_0x4f037c(0x4a0)])('rect',{'x':'7','y':_0x4f037c(0x43f),'width':'6','height':'9','rx':'1','fill':_0x4f037c(0x1cf),'fillOpacity':'0.14','stroke':_0x4f037c(0x1cf),'strokeWidth':_0x4f037c(0x232)});return(0x0,_0x468047[_0x4f037c(0x269)])(_0x4f037c(0x20a),{'aria-hidden':_0x4f037c(0x480),'fill':_0x4f037c(0x4a9),'height':_0x4f037c(0x44a),'viewBox':_0x4f037c(0x270),'width':_0x4f037c(0x44a),..._0x49c556,'children':[_0x453bb3===_0x4f037c(0x453)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':'M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)}),(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x473),{'x':'8','y':'7','width':'4','height':'6','rx':_0x4f037c(0x466),'fill':'currentColor','fillOpacity':'0.14','stroke':'currentColor','strokeWidth':_0x4f037c(0x232)})]}),_0x453bb3===_0x4f037c(0x42e)&&(0x0,_0x468047[_0x4f037c(0x269)])(_0x468047['Fragment'],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x373),'stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)}),_0x27f3a1]}),_0x453bb3===_0x4f037c(0x33b)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x378),'stroke':_0x4f037c(0x1cf),'strokeLinecap':'round','strokeWidth':_0x4f037c(0x232)}),_0x27f3a1]}),_0x453bb3===_0x4f037c(0x257)&&(0x0,_0x468047['jsxs'])(_0x468047[_0x4f037c(0x412)],{'children':[_0x27f3a1,(0x0,_0x468047['jsx'])(_0x4f037c(0x301),{'d':_0x4f037c(0x36e),'stroke':_0x4f037c(0x1cf),'strokeLinecap':_0x4f037c(0x449),'strokeWidth':_0x4f037c(0x232)})]}),_0x453bb3===_0x4f037c(0x311)&&(0x0,_0x468047[_0x4f037c(0x269)])(_0x468047[_0x4f037c(0x412)],{'children':[(0x0,_0x468047[_0x4f037c(0x4a0)])(_0x4f037c(0x301),{'d':_0x4f037c(0x36e),'stroke':'currentColor','strokeLinecap':_0x4f037c(0x449),'strokeWidth':'1.2'}),(0x0,_0x468047['jsx'])(_0x4f037c(0x473),{'x':'7','y':_0x4f037c(0x43f),'width':'6','height':'9','rx':'1','fill':_0x4f037c(0x1cf)})]})]});}let _0x10bf50=_0x3d32fd=>_0x4aa705=>(0x0,_0x468047['jsx'])(_0x3a8fed,{..._0x4aa705,'variant':_0x3d32fd}),_0x1fb0e9={'DocsShapeWrapInlineIcon':_0x10bf50(_0x5d2b55(0x453)),'DocsShapeWrapSquareIcon':_0x10bf50(_0x5d2b55(0x42e)),'DocsShapeWrapTopBottomIcon':_0x10bf50('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x10bf50(_0x5d2b55(0x257)),'DocsShapeWrapInFrontOfTextIcon':_0x10bf50(_0x5d2b55(0x311))};function _0x37f827(_0x1b3c13){'@babel/helpers - typeof';const _0x5d97ec=_0x5d2b55;return _0x37f827=typeof Symbol==_0x5d97ec(0x1f3)&&typeof Symbol['iterator']==_0x5d97ec(0x344)?function(_0x263e1f){return typeof _0x263e1f;}:function(_0x549ee7){const _0x3042c1=_0x5d97ec;return _0x549ee7&&typeof Symbol=='function'&&_0x549ee7[_0x3042c1(0x2d0)]===Symbol&&_0x549ee7!==Symbol[_0x3042c1(0x38f)]?'symbol':typeof _0x549ee7;},_0x37f827(_0x1b3c13);}function _0x249769(_0x352f6d,_0x3c304a){const _0x4a8b84=_0x5d2b55;if(_0x37f827(_0x352f6d)!=_0x4a8b84(0x218)||!_0x352f6d)return _0x352f6d;var _0x3d4826=_0x352f6d[Symbol['toPrimitive']];if(_0x3d4826!==void 0x0){var _0xc88614=_0x3d4826[_0x4a8b84(0x275)](_0x352f6d,_0x3c304a||_0x4a8b84(0x203));if(_0x37f827(_0xc88614)!=_0x4a8b84(0x218))return _0xc88614;throw TypeError(_0x4a8b84(0x272));}return(_0x3c304a==='string'?String:Number)(_0x352f6d);}function _0x27a1f3(_0x744ec3){const _0x2798c5=_0x5d2b55;var _0x9bdc4a=_0x249769(_0x744ec3,_0x2798c5(0x3ae));return _0x37f827(_0x9bdc4a)==_0x2798c5(0x344)?_0x9bdc4a:_0x9bdc4a+'';}function _0x342b29(_0x3f6ca8,_0x4b3978,_0x704236){const _0x19e81c=_0x5d2b55;return(_0x4b3978=_0x27a1f3(_0x4b3978))in _0x3f6ca8?Object[_0x19e81c(0x1ad)](_0x3f6ca8,_0x4b3978,{'value':_0x704236,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f6ca8[_0x4b3978]=_0x704236,_0x3f6ca8;}var _0x134193=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(..._0x4b848a){const _0x3356ed=_0x5d2b55;super(..._0x4b848a),_0x342b29(this,_0x3356ed(0x20b),new _0x14d6bc[(_0x3356ed(0x34b))](null)),_0x342b29(this,'editingParams$',this[_0x3356ed(0x20b)]['asObservable']()),_0x342b29(this,_0x3356ed(0x4a4),new _0x14d6bc[(_0x3356ed(0x34b))](!0x1)),_0x342b29(this,_0x3356ed(0x49d),this[_0x3356ed(0x4a4)][_0x3356ed(0x1c0)]());}['dispose'](){const _0x5b3d0a=_0x5d2b55;this[_0x5b3d0a(0x20b)][_0x5b3d0a(0x49c)](null),this['_editingParams$'][_0x5b3d0a(0x327)](),this[_0x5b3d0a(0x4a4)][_0x5b3d0a(0x49c)](!0x1),this[_0x5b3d0a(0x4a4)][_0x5b3d0a(0x327)](),super['dispose']();}['setEditing'](_0x3a1305){const _0x1c097b=_0x5d2b55;this[_0x1c097b(0x20b)]['next'](_0x3a1305),_0x3a1305??this[_0x1c097b(0x4a4)][_0x1c097b(0x49c)](!0x1);}['setOnSavingEditorData'](_0xb2fd49){const _0x565ff3=_0x5d2b55;this[_0x565ff3(0x4a4)][_0x565ff3(0x49c)](_0xb2fd49);}[_0x5d2b55(0x2f3)](){const _0x128f83=_0x5d2b55;return this[_0x128f83(0x20b)][_0x128f83(0x4a8)]();}['completeEditing'](_0xd01904){const _0x6d5935=_0x5d2b55;this[_0x6d5935(0x2f3)]()&&(this[_0x6d5935(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x11db63=_0x6d5935;this[_0x11db63(0x2cf)](null);}));}['cancelEditing'](){const _0xc0effe=_0x5d2b55;this[_0xc0effe(0x2f3)]()&&this[_0xc0effe(0x2cf)](null);}};let _0xd42f88=(0x0,_0x153666['memo'])(()=>{const _0x4a419c=_0x5d2b55;let _0x23de92=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x134193),_0x3ba79a=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x41863e[_0x4a419c(0x476)]),_0xd88ed3=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x2b39ea['IDrawingManagerService']),_0x41387c=(0x0,_0x152418[_0x4a419c(0x40f)])(_0x889050[_0x4a419c(0x484)]);return(0x0,_0x468047['jsx'])(_0x122d1a[_0x4a419c(0x2a3)],{'adapter':(0x0,_0x153666['useMemo'])(()=>({'getShapeModel':(_0x148295,_0x27a146,_0x3b8d9b)=>_0x3ba79a['getShapeModel'](_0x148295,_0x27a146,_0x3b8d9b),'getShapeData':(_0x4f0652,_0x321863,_0x1a24a8)=>_0x3ba79a[_0x4a419c(0x27b)](_0x4f0652,_0x321863,_0x1a24a8),'getDrawingTransform':(_0xc339cb,_0x552a6a,_0x4b9f84)=>{const _0xf26e61=_0x4a419c;let _0x4002cd=_0xd88ed3[_0xf26e61(0x2b4)]({'unitId':_0xc339cb,'subUnitId':_0x552a6a,'drawingId':_0x4b9f84});return _0x4002cd==null?void 0x0:_0x4002cd[_0xf26e61(0x30e)];},'updateShapeText':({unitId:_0x3ef2b0,shapeId:_0x5aa41e,shapeText:_0x632990,oldShapeText:_0x59c213})=>{const _0x4c5015=_0x4a419c;_0x41387c['executeCommand'](_0x41863e[_0x4c5015(0x38d)]['id'],{'unitId':_0x3ef2b0,'shapeId':_0x5aa41e,'shapeData':{'shapeText':_0x632990},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x59c213}}});},'updateHostSize':({unitId:_0x14397a,subUnitId:_0x3720b4,shapeId:_0x31c360,width:_0x3c9c9c,height:_0xc9b03})=>{const _0x18dd59=_0x4a419c;_0x41387c[_0x18dd59(0x1d3)](_0x32ae25[_0x18dd59(0x3a8)]['id'],{'unitId':_0x14397a,'subUnitId':_0x3720b4,'drawings':[{'drawingId':_0x31c360,'key':_0x18dd59(0x2cd),'value':{'width':_0x3c9c9c,'height':_0xc9b03}}]});},'allowHostSizeShrink':({unitId:_0x566222,subUnitId:_0x418125,shapeId:_0x4753f6})=>(0x0,_0x122d1a[_0x4a419c(0x1cd)])(_0x3ba79a[_0x4a419c(0x27b)](_0x566222,_0x418125,_0x4753f6))}),[_0x41387c,_0x3ba79a,_0xd88ed3]),'editingService':_0x23de92,'editorUnitId':_0x170d28,'positionOptions':(0x0,_0x153666[_0x4a419c(0x35d)])(()=>({'viewportKeys':{'main':_0x1dd9a1[_0x4a419c(0x348)][_0x4a419c(0x1c7)]}}),[])});}),_0x590b4c=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x4a2ecb,_0x230ebd){const _0x54e6fe=_0x5d2b55;super(),this[_0x54e6fe(0x3dc)]=_0x4a2ecb,this[_0x54e6fe(0x231)]=_0x230ebd,this['_registerIcons'](),this[_0x54e6fe(0x2aa)]();}['_registerIcons'](){const _0x3043c7=_0x5d2b55;this['_iconManager'][_0x3043c7(0x282)]('ObjectLayersIcon')||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'ObjectLayersIcon':_0x5ad399})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x2d1))||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'BottomIcon':_0x33b651})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x402))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)][_0x3043c7(0x2a0)]({'MoveDownIcon':_0x3032ad})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x3d6))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)][_0x3043c7(0x2a0)]({'MoveUpIcon':_0x530920})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x223))||this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)]({'ShapeFormatSettingIcon':_0x5b01ef})),this[_0x3043c7(0x231)][_0x3043c7(0x282)](_0x3043c7(0x2e9))||this[_0x3043c7(0x367)](this[_0x3043c7(0x231)]['register']({'TopmostIcon':_0x1fe081})),this[_0x3043c7(0x367)](this['_iconManager'][_0x3043c7(0x2a0)](_0x1fb0e9));}[_0x5d2b55(0x2aa)](){const _0x52c0f9=_0x5d2b55;this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x466f20,_0x5903be)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)]['register'](_0x424f1e,_0x210b05)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0xd3c83a,_0x381ff5)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x263ac0,_0x74b27)),this['disposeWithMe'](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x5eddd5,_0x49ce56)),this['disposeWithMe'](this['_componentManager']['register'](_0x260a7c,_0x52aa36)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x32e889,_0xd3c34f)),this['disposeWithMe'](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x4b8b3e,_0x230595)),this[_0x52c0f9(0x367)](this['_componentManager'][_0x52c0f9(0x2a0)](_0x3dea73,_0x122d1a[_0x52c0f9(0x303)])),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x3a4380,_0x9244d2)),this['disposeWithMe'](this['_componentManager']['register'](_0xd1bfd4,_0x3bac8c)),this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2bd)](_0x103470[_0x52c0f9(0x380)])||this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x103470[_0x52c0f9(0x380)],_0x13a5d3)),this[_0x52c0f9(0x367)](this[_0x52c0f9(0x3dc)][_0x52c0f9(0x2a0)](_0x52c0f9(0x46c),_0xd42f88));}};_0x590b4c=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x152418['ComponentManager'])),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x152418[_0x5d2b55(0x4b2)]))],_0x590b4c);var _0x5b9bb1=class extends _0x4a14ae[_0x5d2b55(0x308)]{constructor(_0x4c20ec,_0x43b3e1){const _0xdf59f5=_0x5d2b55;super(_0x4c20ec,_0x43b3e1),_0x342b29(this,_0xdf59f5(0x2d3),null),_0x342b29(this,_0xdf59f5(0x2f9),null),_0x342b29(this,_0xdf59f5(0x1df),null),_0x342b29(this,'_subUnitId',null),_0x43b3e1&&this[_0xdf59f5(0x25a)](_0x43b3e1);}[_0x5d2b55(0x3c8)](){const _0xfa62c4=_0x5d2b55;return{'unitId':this[_0xfa62c4(0x1df)],'subUnitId':this[_0xfa62c4(0x1d4)],'drawingId':this[_0xfa62c4(0x2d3)]};}[_0x5d2b55(0x25a)](_0x1965f8){const _0x448db2=_0x5d2b55;_0x1965f8[_0x448db2(0x2b1)]!==void 0x0&&(this[_0x448db2(0x2d3)]=_0x1965f8[_0x448db2(0x2b1)]),_0x1965f8[_0x448db2(0x3d3)]!==void 0x0&&(this[_0x448db2(0x2f9)]=_0x1965f8[_0x448db2(0x3d3)]),_0x1965f8['unitId']!==void 0x0&&(this['_unitId']=_0x1965f8[_0x448db2(0x1f9)]),_0x1965f8[_0x448db2(0x277)]!==void 0x0&&(this[_0x448db2(0x1d4)]=_0x1965f8[_0x448db2(0x277)]),this[_0x448db2(0x44d)]({'width':_0x1965f8['width'],'height':_0x1965f8[_0x448db2(0x3ed)]});}['_draw'](_0x4ac133){const _0x228d91=_0x5d2b55;_0x4a14ae[_0x228d91(0x3e5)]['drawWith'](_0x4ac133,{'radius':_0xc6fd33['ShapeDefaultConfig'][_0x228d91(0x418)],'fill':_0xc6fd33[_0x228d91(0x362)][_0x228d91(0x1da)],'stroke':_0xc6fd33['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x168ca7(_0x353d92,_0x4602cf,_0x562df9){const _0x9f35dd=_0x5d2b55;let _0x1b18be=(0x0,_0x122d1a[_0x9f35dd(0x36c)])(_0x353d92,{..._0x4602cf,'dataModel':{..._0x4602cf[_0x9f35dd(0x1b8)]??{},..._0x562df9?{'doc':_0x562df9}:null}}),_0x59a118=(0x0,_0x122d1a[_0x9f35dd(0x314)])(_0x1b18be);return{'clip':(0x0,_0x122d1a[_0x9f35dd(0x461)])(_0x1b18be,_0x59a118),'wrapStrategy':_0x59a118};}var _0x48cb63=class extends _0x4a14ae[_0x5d2b55(0x308)]{constructor(_0x37ddfd,_0x55c3d4){const _0x2a954e=_0x5d2b55;super(_0x37ddfd,_0x55c3d4),_0x342b29(this,_0x2a954e(0x21d),void 0x0),_0x342b29(this,_0x2a954e(0x238),new _0x122d1a['FormulaShapeAnimationController'](()=>this[_0x2a954e(0x447)](!0x0),()=>this[_0x2a954e(0x2ab)]())),_0x342b29(this,_0x2a954e(0x21e),!0x0),_0x342b29(this,_0x2a954e(0x1c1),_0x889050['DrawingTypeEnum'][_0x2a954e(0x410)]),_0x342b29(this,_0x2a954e(0x2f8),!0x0),this[_0x2a954e(0x21d)]={..._0x55c3d4},this['_formulaAnimation']['setPresentation'](_0x55c3d4['formulaPresentation'],_0x55c3d4[_0x2a954e(0x1f6)]!==!0x1),this[_0x2a954e(0x268)](),this[_0x2a954e(0x2ab)]();}[_0x5d2b55(0x268)](){const _0x4ca9f9=_0x5d2b55;this[_0x4ca9f9(0x43a)][_0x4ca9f9(0x29f)](_0x3200d2=>{const _0x33a2ba=_0x4ca9f9;this[_0x33a2ba(0x4bf)](_0x3200d2);});}[_0x5d2b55(0x3f3)](_0x4398bf){const _0x349d2c=_0x5d2b55;this['_props'][_0x349d2c(0x4a3)]=_0x4398bf;}[_0x5d2b55(0x2cf)](_0x352e82){const _0x2c3db4=_0x5d2b55;this['_props'][_0x2c3db4(0x4bd)]=_0x352e82,this[_0x2c3db4(0x447)](!0x0);}[_0x5d2b55(0x1ba)](_0x136beb,_0x5e91f1=!0x0){const _0x324e99=_0x5d2b55;this[_0x324e99(0x238)][_0x324e99(0x30c)](_0x136beb,_0x5e91f1),this['_props'][_0x324e99(0x356)]=_0x136beb,this['_applyFormulaAutoFitSize'](),this[_0x324e99(0x447)](!0x0);}[_0x5d2b55(0x2ab)](){const _0xdb86fa=_0x5d2b55;let _0x1c706a=this[_0xdb86fa(0x21d)]['shapeModel'],_0x2d2cc7=_0x1c706a['getShapeTextData'](),_0x244cec=(0x0,_0x122d1a[_0xdb86fa(0x3b3)])(_0x2d2cc7==null?void 0x0:_0x2d2cc7['dataModel']),_0x35e8f1=_0x244cec==null?void 0x0:_0x244cec[_0xdb86fa(0x28b)],_0x3f6a13=this[_0xdb86fa(0x238)][_0xdb86fa(0x342)]();if(!_0x35e8f1||_0x3f6a13[_0xdb86fa(0x24e)]===0x0)return;_0x1c706a[_0xdb86fa(0x483)]({'width':this[_0xdb86fa(0x1f4)],'height':this[_0xdb86fa(0x3ed)]});let _0x17c5ab=(0x0,_0x122d1a[_0xdb86fa(0x369)])({'documentData':_0x3f6a13[_0xdb86fa(0x2ca)](_0x3cb12e=>(0x0,_0x3dd072['createShapeFormulaDocument'])(_0x35e8f1,_0x3cb12e)),'height':this['height'],'shapeData':_0x1c706a[_0xdb86fa(0x216)](),'textRect':_0x1c706a[_0xdb86fa(0x1ea)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0xdb86fa(0x3ed)]}),'width':this[_0xdb86fa(0x1f4)]});if(_0x17c5ab){var _0x32abd3;this[_0xdb86fa(0x235)](_0x17c5ab[_0xdb86fa(0x1f4)],_0x17c5ab[_0xdb86fa(0x3ed)]),(_0x32abd3=this[_0xdb86fa(0x44e)]())==null||(_0x32abd3=_0x32abd3[_0xdb86fa(0x2a9)]())==null||_0x32abd3['debounceRefreshControls']();}}get[_0x5d2b55(0x1f9)](){const _0x6a9089=_0x5d2b55;return this[_0x6a9089(0x21d)]['unitId'];}get[_0x5d2b55(0x277)](){const _0x3ba1a0=_0x5d2b55;return this[_0x3ba1a0(0x21d)][_0x3ba1a0(0x277)];}[_0x5d2b55(0x4bf)](_0xaa4d0d){const _0x5a719d=_0x5d2b55;if(this[_0x5a719d(0x21d)]['srcRect']==null||!this[_0x5a719d(0x21e)])return;let {width:_0xa396f3,height:_0x3de605}=this,{width:_0x2cffd7=0x0,height:_0x30f69d=0x0}=_0xaa4d0d['preValue'],{left:_0x2d7a0c=0x0,top:_0x4d4513=0x0,right:_0x919db5=0x0,bottom:_0x2a27e5=0x0}=this[_0x5a719d(0x21d)][_0x5a719d(0x4b3)],_0x5e2af4=_0x2d7a0c,_0x31a3b6=_0x4d4513,_0x1c3f76=_0x919db5,_0x5d3249=_0x2a27e5,_0x5efad3=!0x1;if(_0x2cffd7!==0x0&&_0x2cffd7!==_0xa396f3){let _0x21e5c0=_0x2d7a0c/_0x2cffd7,_0x57b0d9=_0x919db5/_0x2cffd7;_0x5e2af4=_0xa396f3*_0x21e5c0,_0x1c3f76=_0xa396f3*_0x57b0d9,_0x5efad3=!0x0;}if(_0x30f69d!==0x0&&_0x30f69d!==_0x3de605){let _0x475c29=_0x4d4513/_0x30f69d,_0x1aa4d0=_0x2a27e5/_0x30f69d;_0x31a3b6=_0x3de605*_0x475c29,_0x5d3249=_0x3de605*_0x1aa4d0,_0x5efad3=!0x0;}_0x5efad3&&this[_0x5a719d(0x46d)]({'left':_0x5e2af4,'top':_0x31a3b6,'right':_0x1c3f76,'bottom':_0x5d3249});}['setSrcRect'](_0x23920b){const _0x2358f3=_0x5d2b55;this['_props']['srcRect']=_0x23920b,this[_0x2358f3(0x447)](!0x0);}['setFillImage'](_0xbb920a){const _0x3f8ba7=_0x5d2b55;this['_props']['image']=_0xbb920a,this[_0x3f8ba7(0x447)](!0x0);}set['transform'](_0x4be09d){const _0x8e7b78=_0x5d2b55;this[_0x8e7b78(0x37c)]=_0x4be09d;}get['transform'](){const _0x17a687=_0x5d2b55;this[_0x17a687(0x37c)]||this[_0x17a687(0x304)]();let _0x41a186=this[_0x17a687(0x37c)][_0x17a687(0x264)]();return this[_0x17a687(0x30d)](_0x41a186);}get[_0x5d2b55(0x1e7)](){const _0xc1791c=_0x5d2b55;return this['_props'][_0xc1791c(0x1e7)];}get[_0x5d2b55(0x2b1)](){const _0xe000d2=_0x5d2b55;return this[_0xe000d2(0x21d)][_0xe000d2(0x2b1)];}get['classType'](){const _0x44b2c1=_0x5d2b55;return _0x4a14ae[_0x44b2c1(0x2d6)]['SHAPE'];}[_0x5d2b55(0x28c)](_0x51e246,_0x321539,_0x4d5c4a,_0x285272){const _0xcfb0c2=_0x5d2b55;let _0x3bac9f=this[_0xcfb0c2(0x21d)]['shapeModel'];if(!_0x3bac9f||!_0x321539)return;let _0x12774d=_0x4d5c4a??this[_0xcfb0c2(0x1f4)],_0x101903=_0x285272??this[_0xcfb0c2(0x3ed)],_0x4c328e={'shapeType':_0x3bac9f[_0xcfb0c2(0x3ee)](),'width':_0x12774d,'height':_0x101903},_0x163811={'renderMode':_0xc6fd33['ShapeRenderModeEnum'][_0xcfb0c2(0x40c)],'oKey':this['oKey'],'image':this['_props']['image'],'angle':this['angle']};_0x3bac9f[_0xcfb0c2(0x483)](_0x4c328e),_0x51e246[_0xcfb0c2(0x2e4)]();let _0x39aed5={'top':0x0,'left':0x0,'width':_0x12774d,'height':_0x101903},_0x3c613c=_0x3bac9f['getDrawingEffectBounds'](_0x39aed5);_0x3c613c?this[_0xcfb0c2(0x2b5)](_0x51e246,_0x3c613c,_0x352ca3=>{const _0xbca40=_0xcfb0c2;_0x3bac9f[_0xbca40(0x27a)](_0x352ca3,_0x39aed5,_0x163811);}):(this[_0xcfb0c2(0x23f)](),_0x3bac9f[_0xcfb0c2(0x27a)](_0x51e246,_0x39aed5,_0x163811)),_0x51e246[_0xcfb0c2(0x3fd)]();let _0x4586f2=_0x3bac9f['getShapeTextData'](),_0x52fc9d=_0x3bac9f[_0xcfb0c2(0x1ea)](_0x39aed5),_0x447ea2=_0x3bac9f['isLineShape']();if(_0x4586f2&&_0x52fc9d&&!_0x447ea2){_0x51e246[_0xcfb0c2(0x2e4)](),this[_0xcfb0c2(0x479)]()['flipX']&&_0x51e246[_0xcfb0c2(0x470)](-0x1,0x1);let _0x136eea=_0x12774d/0x2,_0x52c7dc=_0x101903/0x2;_0x51e246[_0xcfb0c2(0x207)](-_0x136eea,-_0x52c7dc),_0x51e246[_0xcfb0c2(0x1c5)](),this['_drawShapeText'](_0x51e246,_0x4586f2,_0x52fc9d),_0x51e246[_0xcfb0c2(0x3fd)]();}}['getDrawingPoints'](_0x33f320){}[_0x5d2b55(0x40b)](_0x96bbd4,_0x3f9add,_0x44c2a2){const _0x5b96b9=_0x5d2b55;var _0x5f2c68;this[_0x5b96b9(0x21d)][_0x5b96b9(0x4bd)]||(!((_0x5f2c68=_0x3f9add[_0x5b96b9(0x1b8)])!=null&&_0x5f2c68[_0x5b96b9(0x28b)])&&_0x5b96b9(0x30b)in _0x3f9add&&_0x3f9add['isRichText']===!0x1?this['_drawSimpleText'](_0x96bbd4,_0x3f9add,_0x44c2a2):this[_0x5b96b9(0x210)](_0x96bbd4,_0x3f9add,_0x44c2a2));}['_drawSimpleText'](_0x20db97,_0x2563b8,_0x13abfb){const _0x376bb0=_0x5d2b55;this[_0x376bb0(0x210)](_0x20db97,{..._0x2563b8,'text':_0x2563b8[_0x376bb0(0x360)]??'','dataModel':{'doc':(0x0,_0x122d1a[_0x376bb0(0x350)])(_0x2563b8,_0x376bb0(0x462)+this['oKey'])}},_0x13abfb);}['_drawRichText'](_0x4f9357,_0x590219,_0x519d90){const _0x326fac=_0x5d2b55;(0x0,_0x122d1a[_0x326fac(0x47f)])(_0x4f9357,this['_formulaAnimation'],(_0x44e3a6,_0x4fb7b1)=>{this['_drawRichTextLayer'](_0x44e3a6,_0x590219,_0x519d90,_0x4fb7b1);});}[_0x5d2b55(0x226)](_0x3a9b36,_0x1c7cbe,_0xf0a3a3,_0xacde4){const _0x9a1f5=_0x5d2b55;let _0x2a127c=this[_0x9a1f5(0x21d)][_0x9a1f5(0x3a2)];if(!_0x1c7cbe[_0x9a1f5(0x1b8)]||!_0x2a127c){_0x2a127c||console[_0x9a1f5(0x441)](_0x9a1f5(0x42c));return;}let _0x2c2fbd=(0x0,_0x122d1a[_0x9a1f5(0x3b3)])(_0x1c7cbe[_0x9a1f5(0x1b8)]);if(!_0x2c2fbd)return;let _0x38af6e=_0x2c2fbd[_0x9a1f5(0x28b)];if(!_0x38af6e)return;let _0x1e1b23=(0x0,_0x3dd072[_0x9a1f5(0x4bc)])(_0x38af6e,_0xacde4),_0x42a37f=_0x2c2fbd['va']??_0x889050[_0x9a1f5(0x491)][_0x9a1f5(0x422)],_0x13c017=_0x2c2fbd['ha']??_0x889050[_0x9a1f5(0x284)][_0x9a1f5(0x37f)],_0x5a54dd=_0x168ca7(this['_props']['shapeModel'][_0x9a1f5(0x216)](),_0x1c7cbe,_0x1e1b23),_0x50773c=_0x1c7cbe[_0x9a1f5(0x4b9)],_0x51747c=new _0x889050[(_0x9a1f5(0x37b))]((0x0,_0x122d1a['prepareShapeTextDocumentData'])(_0x1e1b23,{'isHorizontal':_0x50773c!==!0x1,'textRect':_0xf0a3a3,'verticalAlign':_0x42a37f,'horizontalAlign':_0x13c017,'wrapStrategy':_0x5a54dd[_0x9a1f5(0x1dc)]})),_0x2292ad=new _0x4a14ae['DocumentViewModel'](_0x51747c),_0x4cff65=_0x4a14ae['DocumentSkeleton']['create'](_0x2292ad,_0x2a127c);_0x4cff65['calculate']();let _0x5e0e23=_0x4cff65[_0x9a1f5(0x2d9)]()[_0x9a1f5(0x443)],_0x166f61=(0x0,_0x122d1a[_0x9a1f5(0x47c)])({'contentHeight':_0x5e0e23,'verticalAlign':_0x42a37f,'viewportHeight':_0xf0a3a3['height']});_0x51747c[_0x9a1f5(0x35b)]({'pageSize':{'width':_0x50773c===!0x1?_0xf0a3a3['height']:_0xf0a3a3[_0x9a1f5(0x1f4)],'height':_0x166f61[_0x9a1f5(0x253)]}}),_0x51747c[_0x9a1f5(0x382)]({'t':_0x166f61[_0x9a1f5(0x4ad)]}),_0x4cff65[_0x9a1f5(0x1b9)]();let _0x4641f1=new _0x4a14ae['Documents'](_0x9a1f5(0x477)+this[_0x9a1f5(0x363)],_0x4cff65,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x4641f1[_0x9a1f5(0x235)](_0xf0a3a3[_0x9a1f5(0x1f4)],_0x166f61['contentHeight']),_0x3a9b36['save'](),_0x3a9b36['translateWithPrecision'](_0xf0a3a3[_0x9a1f5(0x499)],_0xf0a3a3[_0x9a1f5(0x421)]),_0x5a54dd[_0x9a1f5(0x43b)]&&(_0x3a9b36['beginPath'](),_0x3a9b36['rect'](0x0,_0x166f61[_0x9a1f5(0x276)],_0xf0a3a3['width'],_0x166f61[_0x9a1f5(0x32f)]),_0x3a9b36[_0x9a1f5(0x43b)]()),_0x166f61[_0x9a1f5(0x42d)]&&_0x3a9b36[_0x9a1f5(0x2b3)](0x0,_0x166f61[_0x9a1f5(0x42d)]),_0x4641f1[_0x9a1f5(0x439)](_0x3a9b36),_0x3a9b36[_0x9a1f5(0x3fd)](),_0x4641f1['dispose'](),_0x4cff65[_0x9a1f5(0x2c3)](),_0x2292ad[_0x9a1f5(0x2c3)](),_0x51747c[_0x9a1f5(0x2c3)]();}[_0x5d2b55(0x27a)](_0x274b0,_0x5a34ac,_0x4815a5=!0x1){const _0xd85c9d=_0x5d2b55;if(!this['visible'])return this[_0xd85c9d(0x447)](!0x1),this;let {width:_0xf5e283,height:_0x1c7860,left:_0x1a1b92,top:_0xaf7876}=this,_0x40752e=this[_0xd85c9d(0x2ed)]();if(_0xf5e283=_0x40752e[_0xd85c9d(0x1f4)],_0x1c7860=_0x40752e[_0xd85c9d(0x3ed)],_0x1a1b92=_0x40752e['left'],_0xaf7876=_0x40752e['top'],this['isRender'](_0x5a34ac)){let {top:_0x2e6a91,left:_0x50de33,bottom:_0x198c8c,right:_0x5b28b0}=_0x5a34ac[_0xd85c9d(0x294)];if(_0xf5e283+this[_0xd85c9d(0x2f6)]+_0x1a1b92<_0x50de33||_0x5b28b0<_0x1a1b92||_0x1c7860+this['strokeWidth']+_0xaf7876<_0x2e6a91||_0x198c8c<_0xaf7876)return this;}let _0x2ed9aa=_0x1a1b92+_0xf5e283/0x2,_0x44b51d=_0xaf7876+_0x1c7860/0x2,_0x4bfac6=this[_0xd85c9d(0x30e)][_0xd85c9d(0x4ba)]();if(this[_0xd85c9d(0x21d)][_0xd85c9d(0x4bd)]){let _0x276419=this['getState'](),_0x5f2aa0=new _0x4a14ae[(_0xd85c9d(0x4a1))]();_0x5f2aa0[_0xd85c9d(0x1ee)]({..._0x276419}),_0x4bfac6=_0x5f2aa0[_0xd85c9d(0x4ba)]();}return _0x274b0[_0xd85c9d(0x2e4)](),this[_0xd85c9d(0x21d)][_0xd85c9d(0x1e7)][_0xd85c9d(0x201)]===!0x0||_0x274b0[_0xd85c9d(0x30e)](_0x4bfac6[0x0],_0x4bfac6[0x1],_0x4bfac6[0x2],_0x4bfac6[0x3],_0x2ed9aa,_0x44b51d),this[_0xd85c9d(0x28c)](_0x274b0,_0x5a34ac,_0xf5e283,_0x1c7860),_0x274b0[_0xd85c9d(0x3fd)](),this[_0xd85c9d(0x447)](!0x1),this;}[_0x5d2b55(0x3a4)](_0x358ef1){const _0x8a20f6=_0x5d2b55;let {left:_0x36b34b,top:_0x468322,width:_0x10cb3e,height:_0x39b329}=this[_0x8a20f6(0x2ed)](),_0x134efe=this['transform']['getMatrix'](),_0x23057b=_0x36b34b+_0x10cb3e/0x2,_0x3f2e23=_0x468322+_0x39b329/0x2,_0x23f029=new _0x4a14ae[(_0x8a20f6(0x4a1))]([_0x134efe[0x0],_0x134efe[0x1],_0x134efe[0x2],_0x134efe[0x3],_0x23057b,_0x3f2e23]),_0x357386=this[_0x8a20f6(0x383)]();return(this['isInGroup']&&(_0x357386==null?void 0x0:_0x357386[_0x8a20f6(0x336)])===_0x4a14ae[_0x8a20f6(0x2d6)][_0x8a20f6(0x39c)]?_0x357386['ancestorTransform'][_0x8a20f6(0x390)](_0x23f029):_0x23f029)[_0x8a20f6(0x48c)]()[_0x8a20f6(0x20c)](_0x358ef1);}[_0x5d2b55(0x416)](_0xf81c98){const _0x198019=_0x5d2b55;let {left:_0x30d417,top:_0x636e9e,width:_0x1e2e32,height:_0x1b424f}=this[_0x198019(0x2ed)](),_0x3d6ba9=_0x30d417+_0x1e2e32/0x2,_0x4f0803=_0x636e9e+_0x1b424f/0x2,_0xde4d94=this['transform'][_0x198019(0x4ba)](),_0x55f687=new _0x4a14ae[(_0x198019(0x4a1))]([_0xde4d94[0x0],_0xde4d94[0x1],_0xde4d94[0x2],_0xde4d94[0x3],_0x3d6ba9,_0x4f0803]),_0x48cf0b=this[_0x198019(0x383)](),_0x3e683e=(this[_0x198019(0x472)]&&(_0x48cf0b==null?void 0x0:_0x48cf0b['classType'])===_0x4a14ae['RENDER_CLASS_TYPE'][_0x198019(0x39c)]?_0x48cf0b[_0x198019(0x1f7)][_0x198019(0x390)](_0x55f687):_0x55f687)['invert']()['applyPoint'](_0xf81c98),_0xb51a6a=_0x1e2e32/0x2,_0x2d10f6=_0x1b424f/0x2,_0x3d3664=this[_0x198019(0x21d)]['shapeModel'];return _0x3d3664&&_0x3d3664[_0x198019(0x34f)]()?_0x3d3664['isHitLine'](_0x3e683e['x'],_0x3e683e['y'],_0x1e2e32,_0x1b424f):_0x3e683e['x']>=-_0xb51a6a-this[_0x198019(0x2f6)]/0x2&&_0x3e683e['x']<=_0xb51a6a+this[_0x198019(0x2f6)]/0x2&&_0x3e683e['y']>=-_0x2d10f6-this['strokeWidth']/0x2&&_0x3e683e['y']<=_0x2d10f6+this[_0x198019(0x2f6)]/0x2;}[_0x5d2b55(0x2c3)](){const _0x30cfce=_0x5d2b55;this[_0x30cfce(0x238)][_0x30cfce(0x2c3)](),this['_props'][_0x30cfce(0x1e7)]=null,super[_0x30cfce(0x2c3)]();}};let _0x24dab5=class extends _0x889050['Disposable']{constructor(_0x15dd2c,_0x51d344,_0x1fc3ff,_0x183e7f){const _0x3e9f44=_0x5d2b55;super(),this[_0x3e9f44(0x333)]=_0x15dd2c,this[_0x3e9f44(0x3e9)]=_0x51d344,this['_docsShapeService']=_0x1fc3ff,this[_0x3e9f44(0x320)]=_0x183e7f,_0x342b29(this,_0x3e9f44(0x28d),null),_0x342b29(this,'_unitId',null),_0x342b29(this,_0x3e9f44(0x1d4),null),_0x342b29(this,'_activeShapeAdjustPointList',void 0x0),_0x342b29(this,_0x3e9f44(0x323),[]),_0x342b29(this,'_baseShapeLeft',0x0),_0x342b29(this,_0x3e9f44(0x436),0x0),_0x342b29(this,_0x3e9f44(0x450),0x0),_0x342b29(this,_0x3e9f44(0x243),0x0),_0x342b29(this,_0x3e9f44(0x35c),!0x1),_0x342b29(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x342b29(this,_0x3e9f44(0x307),void 0x0),_0x342b29(this,_0x3e9f44(0x37a),void 0x0),_0x342b29(this,_0x3e9f44(0x34e),void 0x0),_0x342b29(this,_0x3e9f44(0x364),void 0x0),this[_0x3e9f44(0x3d2)](),this[_0x3e9f44(0x297)]();}['clearAdjustControls'](){const _0x3266de=_0x5d2b55;this[_0x3266de(0x306)]();}[_0x5d2b55(0x271)](){const _0x3bcfc8=_0x5d2b55;this[_0x3bcfc8(0x3de)](!0x0);}[_0x5d2b55(0x2fd)](_0xfb037,_0x165da1,_0x14fa70){const _0x17444e=_0x5d2b55;var _0x79cf75;return(_0x79cf75=this[_0x17444e(0x3d8)][_0x17444e(0x41a)](_0xfb037,_0x165da1,_0x14fa70))==null?void 0x0:_0x79cf75[_0x17444e(0x20d)]();}[_0x5d2b55(0x251)](_0x3c4ec4,_0x51b39a,_0x3d5b44,_0x8943ed){const _0x562b89=_0x5d2b55;var _0x3cbaa6;return(_0x3cbaa6=this[_0x562b89(0x3d8)][_0x562b89(0x41a)](_0x3c4ec4,_0x51b39a,_0x3d5b44))==null?void 0x0:_0x3cbaa6[_0x562b89(0x1fd)](_0x8943ed);}[_0x5d2b55(0x240)](){const _0x24df96=_0x5d2b55;return this[_0x24df96(0x1df)]===null||this[_0x24df96(0x1d4)]===null||this['_activeShapeId']===null?null:this[_0x24df96(0x3e9)][_0x24df96(0x2b4)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x24df96(0x28d)]})??null;}['_getActiveDrawingShape'](_0x329e1d){const _0x38f641=_0x5d2b55;if(this['_unitId']===null||this[_0x38f641(0x1d4)]===null||this[_0x38f641(0x28d)]===null)return null;let _0x38117a=(0x0,_0x2b39ea[_0x38f641(0x1d0)])({'unitId':this['_unitId'],'subUnitId':this[_0x38f641(0x1d4)],'drawingId':this[_0x38f641(0x28d)]}),_0xb0941b=_0x329e1d[_0x38f641(0x488)](_0x38117a);return _0xb0941b instanceof _0x48cb63?_0xb0941b:null;}[_0x5d2b55(0x351)](_0x452fc2=!0x1){const _0x4ca8e9=_0x5d2b55;if(this['_unitId']===null||this[_0x4ca8e9(0x1d4)]===null||this[_0x4ca8e9(0x28d)]===null)return;let _0x357cf2=this[_0x4ca8e9(0x240)]();if((_0x357cf2==null?void 0x0:_0x357cf2[_0x4ca8e9(0x299)])!==_0x889050[_0x4ca8e9(0x2c5)][_0x4ca8e9(0x410)]||!_0x357cf2[_0x4ca8e9(0x30e)])return;let _0x5bed77=this[_0x4ca8e9(0x3d8)][_0x4ca8e9(0x41a)](this[_0x4ca8e9(0x1df)],this[_0x4ca8e9(0x1d4)],this[_0x4ca8e9(0x28d)]);if(!_0x5bed77||_0x5bed77[_0x4ca8e9(0x34f)]())return;let {left:_0x377e29=0x0,top:_0x2d603d=0x0,width:_0x4bb875=0x0,height:_0x4a0cc6=0x0,flipX:_0x18a1fb,flipY:_0x58ef79,angle:_0x3f647d=0x0}=_0x357cf2[_0x4ca8e9(0x30e)];(_0x452fc2||!this['_activeShapeAdjustPointList'])&&(_0x5bed77[_0x4ca8e9(0x483)]({'width':_0x4bb875,'height':_0x4a0cc6}),this[_0x4ca8e9(0x37d)]=_0x5bed77['getDrawingPoints']());let _0x122c21=this[_0x4ca8e9(0x37d)];if(!(_0x122c21!=null&&_0x122c21[_0x4ca8e9(0x24e)]))return;let {scene:_0xa18e7f}=this[_0x4ca8e9(0x333)];for(let _0x3ae608 of _0x122c21){let _0x46164c=this['_toVisualAdjustPoint'](_0x3ae608,_0x4bb875,_0x4a0cc6,!!_0x18a1fb,!!_0x58ef79,_0x3f647d);this[_0x4ca8e9(0x495)](_0xa18e7f,_0x46164c,_0x46164c[_0x4ca8e9(0x3d3)],_0x377e29,_0x2d603d,this[_0x4ca8e9(0x1df)],this[_0x4ca8e9(0x1d4)]);}}['_toVisualAdjustPoint'](_0x340ae0,_0x4beb93,_0x289017,_0x3ad300,_0x2bbba2,_0x933bab){const _0x4000bd=_0x5d2b55;let _0x3fce9a=_0x340ae0['x'],_0x5d5cb7=_0x340ae0['y'];if(_0x3ad300&&(_0x3fce9a=_0x4beb93-_0x3fce9a),_0x2bbba2&&(_0x5d5cb7=_0x289017-_0x5d5cb7),_0x933bab!==0x0){let _0xb5d64e=_0x4beb93/0x2,_0x3b4822=_0x289017/0x2,_0xc45e11=_0x933bab*Math['PI']/0xb4,_0x516131=Math[_0x4000bd(0x39b)](_0xc45e11),_0x4862fe=Math[_0x4000bd(0x426)](_0xc45e11),_0x45d2f4=_0x3fce9a-_0xb5d64e,_0x2bd2fb=_0x5d5cb7-_0x3b4822;_0x3fce9a=_0xb5d64e+(_0x45d2f4*_0x516131-_0x2bd2fb*_0x4862fe),_0x5d5cb7=_0x3b4822+(_0x45d2f4*_0x4862fe+_0x2bd2fb*_0x516131);}return{'x':_0x3fce9a,'y':_0x5d5cb7,'adjName':_0x340ae0[_0x4000bd(0x3d3)]};}['_updateShapeAdjustControls'](_0xb64e1a=!0x1){const _0x186020=_0x5d2b55;_0xb64e1a&&this[_0x186020(0x306)](),this[_0x186020(0x351)](_0xb64e1a);}[_0x5d2b55(0x495)](_0x26805a,_0x3b4ae8,_0x44e9ab,_0x1ff2bb,_0x13ea52,_0x13be2b,_0x3436f3){const _0x5be9a4=_0x5d2b55;if(!this[_0x5be9a4(0x28d)])return;let _0x486813=_0x5be9a4(0x1e8)+this[_0x5be9a4(0x28d)]+'-'+_0x44e9ab,_0x53f043=_0x26805a[_0x5be9a4(0x488)](_0x486813);if(_0x53f043){_0x53f043[_0x5be9a4(0x44d)]({'left':_0x3b4ae8['x']+_0x1ff2bb-_0xc6fd33['ShapeDefaultConfig'][_0x5be9a4(0x418)],'top':_0x3b4ae8['y']+_0x13ea52-_0xc6fd33[_0x5be9a4(0x362)]['adjHandleSize']}),_0x53f043['makeDirty'](!0x0);return;}let _0x1a84b3=new _0x5b9bb1(_0x486813,{'left':_0x3b4ae8['x']+_0x1ff2bb-_0xc6fd33['ShapeDefaultConfig'][_0x5be9a4(0x418)],'top':_0x3b4ae8['y']+_0x13ea52-_0xc6fd33[_0x5be9a4(0x362)]['adjHandleSize'],'adjName':_0x44e9ab,'shapeId':this[_0x5be9a4(0x28d)],'unitId':_0x13be2b,'subUnitId':_0x3436f3,'width':_0xc6fd33[_0x5be9a4(0x362)][_0x5be9a4(0x418)]+0x8,'height':_0xc6fd33[_0x5be9a4(0x362)][_0x5be9a4(0x418)]+0x8,'zIndex':_0x4a14ae[_0x5be9a4(0x2fb)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x5be9a4(0x3b2)](_0x1a84b3),this[_0x5be9a4(0x3ec)](_0x1a84b3,_0x26805a,_0x44e9ab),_0x26805a['addObject'](_0x1a84b3,_0x4a14ae['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x5d2b55(0x306)](){const _0x96c958=_0x5d2b55;this[_0x96c958(0x323)][_0x96c958(0x3be)](_0x46ae43=>_0x46ae43[_0x96c958(0x2c3)]()),this[_0x96c958(0x323)]=[];}[_0x5d2b55(0x446)](){const _0x15abe4=_0x5d2b55;this[_0x15abe4(0x351)]();}[_0x5d2b55(0x1ef)](_0x4fe477,_0x46f7cd,_0x182998){const _0x5493d4=_0x5d2b55;let _0x358903=_0x4a14ae['Vector2']['FromArray']([_0x46f7cd,_0x182998]),_0x31d7aa=_0x4fe477['getActiveViewportByCoord'](_0x358903)??_0x4fe477['getViewports']()[0x0];return(_0x31d7aa==null?void 0x0:_0x31d7aa[_0x5493d4(0x32d)](_0x358903))??_0x358903;}[_0x5d2b55(0x3ec)](_0x14d4e7,_0x2f4c88,_0x4f25ea){const _0xd7d3f7=_0x5d2b55;this[_0xd7d3f7(0x367)]((0x0,_0x889050[_0xd7d3f7(0x2c8)])(_0x14d4e7[_0xd7d3f7(0x31a)][_0xd7d3f7(0x29f)]((_0x241dd7,_0x3f9671)=>{const _0x995dab=_0xd7d3f7;var _0x167cb3;let _0x4078d2=_0x14d4e7[_0x995dab(0x3c8)]();this[_0x995dab(0x307)]=this[_0x995dab(0x251)](_0x4078d2['unitId'],_0x4078d2[_0x995dab(0x277)],_0x4078d2[_0x995dab(0x249)],_0x4f25ea),this[_0x995dab(0x37a)]=this['_docsShapeService'][_0x995dab(0x41a)](_0x4078d2[_0x995dab(0x1f9)],_0x4078d2[_0x995dab(0x277)],_0x4078d2['drawingId']);let _0x42ef45=this['_getActiveDrawingParam'](),_0x2434e2=_0x42ef45==null?void 0x0:_0x42ef45[_0x995dab(0x30e)];if(!_0x42ef45||!_0x2434e2||!this[_0x995dab(0x37a)])return;this[_0x995dab(0x4bb)]=_0x2434e2[_0x995dab(0x499)]||0x0,this['_baseShapeTop']=_0x2434e2[_0x995dab(0x421)]||0x0,this[_0x995dab(0x450)]=_0x2434e2['width']||0x0,this['_baseShapeHeight']=_0x2434e2[_0x995dab(0x3ed)]||0x0;let _0x252968=!!_0x2434e2[_0x995dab(0x48a)],_0x3bc3e8=!!_0x2434e2[_0x995dab(0x2c9)],_0x19926e=_0x2434e2['angle']||0x0,_0x2456a8={...((_0x167cb3=this[_0x995dab(0x307)])==null?void 0x0:_0x167cb3[_0x995dab(0x45d)])??{}};this[_0x995dab(0x35c)]=!0x0,_0x2f4c88[_0x995dab(0x3df)](),this[_0x995dab(0x34e)]=_0x2f4c88[_0x995dab(0x214)]['subscribeEvent']((_0x77f020,_0x29fe5d)=>{const _0x31e16b=_0x995dab;var _0x1b0930;if(!this[_0x31e16b(0x35c)]||!this[_0x31e16b(0x37a)]||!this[_0x31e16b(0x307)])return;_0x2f4c88[_0x31e16b(0x3df)](),_0x2f4c88[_0x31e16b(0x293)](_0x4a14ae[_0x31e16b(0x399)][_0x31e16b(0x3fb)]);let _0x5298c4=this[_0x31e16b(0x1ef)](_0x2f4c88,_0x77f020['offsetX'],_0x77f020[_0x31e16b(0x463)]),_0x140573=_0x5298c4['x']-this[_0x31e16b(0x4bb)],_0x2eb6a8=_0x5298c4['y']-this[_0x31e16b(0x436)];if(_0x19926e!==0x0){let _0xe6acef=this[_0x31e16b(0x450)]/0x2,_0xaa06a6=this[_0x31e16b(0x243)]/0x2,_0x198af2=_0x19926e*Math['PI']/0xb4,_0x14fd34=Math[_0x31e16b(0x39b)](_0x198af2),_0x22aeb0=Math[_0x31e16b(0x426)](_0x198af2),_0x10f3b9=_0x140573-_0xe6acef,_0xbcd88d=_0x2eb6a8-_0xaa06a6;_0x140573=_0xe6acef+(_0x10f3b9*_0x14fd34+_0xbcd88d*_0x22aeb0),_0x2eb6a8=_0xaa06a6+(-_0x10f3b9*_0x22aeb0+_0xbcd88d*_0x14fd34);}_0x252968&&(_0x140573=this[_0x31e16b(0x450)]-_0x140573),_0x3bc3e8&&(_0x2eb6a8=this[_0x31e16b(0x243)]-_0x2eb6a8);let _0x2e34c2={'left':0x0,'top':0x0,'width':this[_0x31e16b(0x450)],'height':this[_0x31e16b(0x243)]},_0x3bece9=this[_0x31e16b(0x37a)][_0x31e16b(0x3ad)](_0x2e34c2,{'x':_0x140573,'y':_0x2eb6a8},this[_0x31e16b(0x307)],_0x252968,_0x3bc3e8);if(Object[_0x31e16b(0x281)](_0x3bece9)[_0x31e16b(0x24e)]!==0x0){for(let [_0xb226eb,_0x4472b5]of Object[_0x31e16b(0x224)](_0x3bece9))this[_0x31e16b(0x37a)]['setAdjustValueByName'](_0xb226eb,_0x4472b5);this['_activeShapeModel'][_0x31e16b(0x483)]({'width':this[_0x31e16b(0x450)],'height':this[_0x31e16b(0x243)]}),(_0x1b0930=this[_0x31e16b(0x262)](_0x2f4c88))==null||_0x1b0930['makeDirty'](!0x0),this[_0x31e16b(0x37d)]=this['_getShapeAdjustPointListById'](_0x4078d2[_0x31e16b(0x1f9)],_0x4078d2[_0x31e16b(0x277)],_0x4078d2[_0x31e16b(0x249)]),this['_updateAdjustControlPositions'](),_0x29fe5d[_0x31e16b(0x2da)]();}}),this['_adjHandlerPointerUp']=_0x2f4c88['onPointerUp$'][_0x995dab(0x29f)]((_0x592807,_0x2a1b80)=>{const _0x22ba3f=_0x995dab;var _0x9dfdce,_0x140534;(_0x9dfdce=this[_0x22ba3f(0x34e)])==null||_0x9dfdce[_0x22ba3f(0x3f9)](),(_0x140534=this[_0x22ba3f(0x364)])==null||_0x140534[_0x22ba3f(0x3f9)](),_0x2f4c88['resetCursor']();let _0x19e3cf=this[_0x22ba3f(0x307)];if(_0x19e3cf&&this[_0x22ba3f(0x37a)]){let _0x251656={};for(let _0x1e9cbf of Object[_0x22ba3f(0x281)](_0x19e3cf[_0x22ba3f(0x45d)])){let _0x1573bf=this[_0x22ba3f(0x37a)][_0x22ba3f(0x3f0)](_0x1e9cbf);_0x1573bf!==void 0x0&&(_0x251656[_0x1e9cbf]=_0x1573bf);}Object[_0x22ba3f(0x281)](_0x251656)[_0x22ba3f(0x24e)]>0x0&&_0x4b32b1(this[_0x22ba3f(0x320)],_0x4078d2[_0x22ba3f(0x1f9)],_0x4078d2['subUnitId'],_0x4078d2['drawingId'],{'oldShapeData':{'adjustValues':_0x2456a8}},{'adjustValues':_0x251656});}this[_0x22ba3f(0x307)]=void 0x0,this[_0x22ba3f(0x37a)]=void 0x0,this[_0x22ba3f(0x35c)]=!0x1,_0x2f4c88['enableObjectsEvent'](),_0x2a1b80[_0x22ba3f(0x2da)]();}),_0x3f9671[_0x995dab(0x2da)]();})));}['_registerDrawingTransformHandler'](){const _0x58e1a8=_0x5d2b55;let {scene:_0x2dbb97}=this[_0x58e1a8(0x333)],_0x119ceb=_0x2dbb97[_0x58e1a8(0x26e)]();this[_0x58e1a8(0x367)](_0x119ceb['changeStart$'][_0x58e1a8(0x431)](_0x47b633=>{const _0x49a196=_0x58e1a8;this[_0x49a196(0x351)](),_0x47b633[_0x49a196(0x3d4)]!==null&&_0x47b633[_0x49a196(0x3d4)][_0x49a196(0x2cd)]===0x1&&_0x47b633['objects'][_0x49a196(0x3bc)]()[_0x49a196(0x49c)]()['value']instanceof _0x48cb63&&(this[_0x49a196(0x1c3)]=!0x0);})),this['disposeWithMe'](_0x119ceb[_0x58e1a8(0x278)]['subscribe'](()=>{const _0x4d8cce=_0x58e1a8;this[_0x4d8cce(0x1c3)]&&this['_clearShapeAdjustControls']();})),this[_0x58e1a8(0x367)](_0x2dbb97[_0x58e1a8(0x2b9)][_0x58e1a8(0x29f)](()=>{const _0x4d17f7=_0x58e1a8;this[_0x4d17f7(0x1c3)]&&(this[_0x4d17f7(0x1c3)]=!0x1,this[_0x4d17f7(0x351)]());})),this[_0x58e1a8(0x367)](_0x119ceb[_0x58e1a8(0x394)][_0x58e1a8(0x431)](()=>{const _0x10eeb0=_0x58e1a8;this[_0x10eeb0(0x1df)]&&this['_subUnitId']&&this[_0x10eeb0(0x28d)]&&(this[_0x10eeb0(0x37d)]=this['_getShapeAdjustPointListById'](this['_unitId'],this[_0x10eeb0(0x1d4)],this[_0x10eeb0(0x28d)]),this[_0x10eeb0(0x446)]());}));}[_0x5d2b55(0x3d2)](){const _0x4a503d=_0x5d2b55;this['disposeWithMe'](this[_0x4a503d(0x320)][_0x4a503d(0x38b)](_0x23bc11=>{const _0x2d6f9b=_0x4a503d;if(_0x23bc11['id']!==_0x41863e['UpdateDocShapeDataMutation']['id'])return;let {unitId:_0x22d39c,shapeId:_0x27ce37}=_0x23bc11[_0x2d6f9b(0x2a4)];_0x22d39c===this[_0x2d6f9b(0x1df)]&&_0x27ce37===this['_activeShapeId']&&this[_0x2d6f9b(0x271)]();})),this['disposeWithMe'](this[_0x4a503d(0x3e9)][_0x4a503d(0x3b8)][_0x4a503d(0x431)](_0x6a60ee=>{const _0x49f1f8=_0x4a503d;if(_0x6a60ee[_0x49f1f8(0x24e)]===0x1){let _0x5b7075=_0x6a60ee[0x0],_0x18ad41=this['_drawingManagerService']['getDrawingByParam'](_0x5b7075);if((_0x18ad41==null?void 0x0:_0x18ad41[_0x49f1f8(0x299)])===_0x889050[_0x49f1f8(0x2c5)][_0x49f1f8(0x410)]){this['_activeShapeId']=_0x5b7075[_0x49f1f8(0x249)],this[_0x49f1f8(0x1df)]=_0x5b7075[_0x49f1f8(0x1f9)],this[_0x49f1f8(0x1d4)]=_0x5b7075[_0x49f1f8(0x277)],this[_0x49f1f8(0x37d)]=this[_0x49f1f8(0x2fd)](_0x5b7075[_0x49f1f8(0x1f9)],_0x5b7075[_0x49f1f8(0x277)],_0x5b7075[_0x49f1f8(0x249)]),this[_0x49f1f8(0x306)](),this[_0x49f1f8(0x351)]();return;}}this[_0x49f1f8(0x28d)]=null,this[_0x49f1f8(0x37d)]=void 0x0,this[_0x49f1f8(0x1df)]=null,this[_0x49f1f8(0x1d4)]=null,this['_clearShapeAdjustControls']();})),this[_0x4a503d(0x367)]((0x0,_0x14d6bc[_0x4a503d(0x2ad)])(this[_0x4a503d(0x3e9)]['update$'],this[_0x4a503d(0x3e9)][_0x4a503d(0x212)])[_0x4a503d(0x431)](_0x1f6f33=>{const _0x4501eb=_0x4a503d;var _0x144744;let _0x25684c=_0x1f6f33[_0x4501eb(0x368)](_0x40762f=>_0x40762f['drawingId']===this[_0x4501eb(0x28d)]&&_0x40762f[_0x4501eb(0x1f9)]===this[_0x4501eb(0x1df)]&&_0x40762f[_0x4501eb(0x277)]===this[_0x4501eb(0x1d4)]);_0x25684c&&((_0x144744=this[_0x4501eb(0x3e9)][_0x4501eb(0x2b4)](_0x25684c))==null?void 0x0:_0x144744[_0x4501eb(0x299)])===_0x889050[_0x4501eb(0x2c5)][_0x4501eb(0x410)]&&this[_0x4501eb(0x3de)](!0x0);})),this[_0x4a503d(0x367)](this[_0x4a503d(0x3e9)][_0x4a503d(0x1be)][_0x4a503d(0x431)](_0x5cd159=>{const _0x579551=_0x4a503d;for(let _0x51d16e of _0x5cd159)this[_0x579551(0x28d)]===_0x51d16e[_0x579551(0x249)]&&(this[_0x579551(0x28d)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x579551(0x1df)]=null,this['_subUnitId']=null,this[_0x579551(0x306)]());}));}};_0x24dab5=_0x3b5a68([_0x29bdea(0x1,_0x2b39ea['IDrawingManagerService']),_0x29bdea(0x2,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x484)])],_0x24dab5);function _0x10fd99(_0x30f81f){const _0x113777=_0x5d2b55;return _0x30f81f['behindText']===!0x0||_0x30f81f[_0x113777(0x246)]===_0x889050[_0x113777(0x2e5)][_0x113777(0x2a5)]||_0x30f81f[_0x113777(0x32c)]===_0x889050[_0x113777(0x239)][_0x113777(0x288)]&&_0x30f81f[_0x113777(0x35e)]===_0x889050[_0x113777(0x2e5)][_0x113777(0x2a5)]?_0x1dd9a1[_0x113777(0x3cb)]-0x1:_0x4a14ae[_0x113777(0x2fb)];}let _0x2c9076=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x38efde,_0x1f979a,_0x1212be,_0x3afc8b,_0xde1e4a,_0x369123,_0x44ed03){const _0x230491=_0x5d2b55;super(),this[_0x230491(0x3e9)]=_0x38efde,this[_0x230491(0x3d8)]=_0x1f979a,this[_0x230491(0x32e)]=_0x1212be,this[_0x230491(0x30a)]=_0x3afc8b,this[_0x230491(0x401)]=_0xde1e4a,this[_0x230491(0x49a)]=_0x369123,this['_shapeFormulaService']=_0x44ed03,_0x342b29(this,'_formulaShapes',new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x230491(0x3e2)][_0x230491(0x431)](_0x480d2a=>{const _0x3ff8f9=_0x230491;var _0x162a7d;(_0x162a7d=this[_0x3ff8f9(0x3ab)][_0x3ff8f9(0x2bd)](this['_formulaKey'](_0x480d2a[_0x3ff8f9(0x1f9)],_0x480d2a[_0x3ff8f9(0x277)],_0x480d2a[_0x3ff8f9(0x2b1)])))==null||_0x162a7d[_0x3ff8f9(0x3be)](_0xb0219c=>_0xb0219c[_0x3ff8f9(0x1ba)](_0x480d2a[_0x3ff8f9(0x42b)],_0x480d2a[_0x3ff8f9(0x2a1)]));})),this['disposeWithMe'](this[_0x230491(0x3e9)]['remove$'][_0x230491(0x431)](_0xf6a1f3=>{const _0x354bd5=_0x230491;_0xf6a1f3[_0x354bd5(0x3be)](_0x1f4062=>{const _0x150d9c=_0x354bd5;this[_0x150d9c(0x3ce)][_0x150d9c(0x465)]({'unitId':_0x1f4062[_0x150d9c(0x1f9)],'subUnitId':_0x1f4062['subUnitId'],'shapeId':_0x1f4062[_0x150d9c(0x249)]}),this[_0x150d9c(0x3ab)][_0x150d9c(0x26a)](this['_formulaKey'](_0x1f4062[_0x150d9c(0x1f9)],_0x1f4062[_0x150d9c(0x277)],_0x1f4062[_0x150d9c(0x249)]));});}));}[_0x5d2b55(0x280)](_0x14077c,_0x1ed6b7){const _0x1fde45=_0x5d2b55;let {transform:_0x22448f,drawingType:_0x262d9d,srcRect:_0xb05157,prstGeom:_0x5ca4f4,groupId:_0x562531,unitId:_0x20a104,subUnitId:_0x9ec45a,drawingId:_0x39da7,isMultiTransform:_0x472685,transforms:_0x2fde3d,hidden:_0x2c958c,selectable:_0xd41b19}=_0x14077c;if(_0x262d9d!==_0x889050[_0x1fde45(0x2c5)]['DRAWING_SHAPE']||!this[_0x1fde45(0x3e9)][_0x1fde45(0x489)]()||_0x22448f==null)return;let _0xc39350=this[_0x1fde45(0x3e9)][_0x1fde45(0x3cf)](),_0x254293=_0x472685&&_0x2fde3d?_0x2fde3d:[_0x22448f],_0xf5559=[];for(let _0x1621ae of _0x254293){let {left:_0x10196a,top:_0x38490f,width:_0x1b61f0,height:_0x5e949c,angle:_0x29c069,flipX:_0xe7caf5,flipY:_0x52312c,skewX:_0x4005f3,skewY:_0x2c9de8}=_0x1621ae,_0x9bfd1e=_0x254293['indexOf'](_0x1621ae),_0x556cc2=(0x0,_0x2b39ea[_0x1fde45(0x1d0)])({'unitId':_0x20a104,'subUnitId':_0x9ec45a,'drawingId':_0x39da7},_0x472685?_0x9bfd1e:void 0x0),_0x40156d=_0x1ed6b7[_0x1fde45(0x488)](_0x556cc2);if(_0x40156d!=null){let _0x35baea={'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7};_0x40156d instanceof _0x48cb63&&this[_0x1fde45(0x2f4)](_0x40156d,_0x35baea),_0x40156d[_0x1fde45(0x44d)]({'left':_0x10196a,'top':_0x38490f,'width':_0x1b61f0,'height':_0x5e949c,'angle':_0x29c069,'flipX':_0xe7caf5,'flipY':_0x52312c,'skewX':_0x4005f3,'skewY':_0x2c9de8});continue;}let _0x59c252=this[_0x1fde45(0x3e9)][_0x1fde45(0x392)](_0x20a104,_0x9ec45a),_0x148b1e=_0x59c252[_0x1fde45(0x4be)](_0x39da7);if(_0x1ed6b7['getObjectIncludeInGroup'](_0x556cc2)||!this['_drawingManagerService']['getDrawingVisible']())continue;let _0x231878=this[_0x1fde45(0x3d8)][_0x1fde45(0x41a)](_0x20a104,_0x9ec45a,_0x39da7);if(!_0x231878)continue;let _0x2d927a=(0x0,_0xc6fd33[_0x1fde45(0x3f1)])(_0x231878[_0x1fde45(0x3ee)]())?{..._0x122d1a[_0x1fde45(0x1e5)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x122d1a[_0x1fde45(0x1e5)],_0x141c9e=_0x231878[_0x1fde45(0x216)]()[_0x1fde45(0x49e)],_0x1b55aa={'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7};_0x141c9e&&this[_0x1fde45(0x3ce)]['register'](_0x1b55aa,_0x141c9e);let _0x17f999=new _0x48cb63(_0x556cc2,{..._0x1621ae,'zIndex':_0x148b1e===-0x1?_0x59c252[_0x1fde45(0x24e)]-0x1:_0x148b1e,'shapeModel':_0x231878,'localeService':this[_0x1fde45(0x32e)],'shapeId':_0x39da7,'unitId':_0x20a104,'subUnitId':_0x9ec45a,'visible':_0x2c958c!==!0x0,'evented':_0xd41b19!==!0x1,'formulaPresentation':_0x141c9e?this[_0x1fde45(0x3ce)][_0x1fde45(0x1b0)](_0x1b55aa):void 0x0,'animateFormulaPresentation':(_0x141c9e==null?void 0x0:_0x141c9e[_0x1fde45(0x2a1)])!==!0x1,'transformerConfig':_0x2d927a});if(_0x141c9e){let _0x2f20ea=this[_0x1fde45(0x37e)](_0x20a104,_0x9ec45a,_0x39da7),_0x185f90=this[_0x1fde45(0x3ab)][_0x1fde45(0x2bd)](_0x2f20ea)??new Set();_0x185f90[_0x1fde45(0x340)](_0x17f999),this[_0x1fde45(0x3ab)][_0x1fde45(0x3c4)](_0x2f20ea,_0x185f90);}this[_0x1fde45(0x367)]((0x0,_0x889050[_0x1fde45(0x2c8)])(_0x17f999['onDblclick$']['subscribeEvent']((_0x174649,_0x172608)=>{const _0x42eda7=_0x1fde45;_0x231878['isLineShape']()||_0x141c9e||(this[_0x42eda7(0x49a)][_0x42eda7(0x2cf)]({'visible':!0x0,'unitId':_0x20a104,'subUnitId':_0x9ec45a,'shapeId':_0x39da7,'shapeKey':_0x17f999['oKey']}),_0x172608[_0x42eda7(0x2da)]());}))),_0x1ed6b7[_0x1fde45(0x291)](_0x17f999,_0x10fd99(_0x14077c)),_0xc39350&&_0x1ed6b7[_0x1fde45(0x2db)](_0x17f999),_0x562531&&(0x0,_0x103470[_0x1fde45(0x27e)])({'drawingId':_0x562531,'unitId':_0x20a104,'subUnitId':_0x9ec45a},_0x17f999,_0x1ed6b7,this[_0x1fde45(0x3e9)]),_0x5ca4f4!=null&&_0x17f999['setPrstGeom'](_0x5ca4f4),_0xb05157!=null&&_0x17f999['setSrcRect'](_0xb05157),this[_0x1fde45(0x395)](_0x17f999,_0x231878[_0x1fde45(0x216)]()),_0xf5559[_0x1fde45(0x3b2)](_0x17f999);}return _0xf5559;}[_0x5d2b55(0x37e)](_0x316cc2,_0x4e12a6,_0x42b1fd){return _0x316cc2+'\x00'+_0x4e12a6+'\x00'+_0x42b1fd;}['refreshFormulaPresentation'](_0x10c9e6,_0x345d3c){const _0x5c42e5=_0x5d2b55;let _0xbd81a6=this[_0x5c42e5(0x3d8)][_0x5c42e5(0x41a)](_0x345d3c[_0x5c42e5(0x1f9)],_0x345d3c[_0x5c42e5(0x277)],_0x345d3c[_0x5c42e5(0x2b1)]),_0x1ed834=_0xbd81a6==null?void 0x0:_0xbd81a6['getShapeData']()['formulaBinding'],_0x381d9c=this['_formulaKey'](_0x345d3c[_0x5c42e5(0x1f9)],_0x345d3c['subUnitId'],_0x345d3c[_0x5c42e5(0x2b1)]);if(_0x1ed834){this[_0x5c42e5(0x3ce)][_0x5c42e5(0x2a0)](_0x345d3c,_0x1ed834);let _0x25a339=this[_0x5c42e5(0x3ab)][_0x5c42e5(0x2bd)](_0x381d9c)??new Set();_0x25a339['add'](_0x10c9e6),this[_0x5c42e5(0x3ab)][_0x5c42e5(0x3c4)](_0x381d9c,_0x25a339);}else{var _0x52670e;this[_0x5c42e5(0x3ce)]['unregister'](_0x345d3c),(_0x52670e=this['_formulaShapes'][_0x5c42e5(0x2bd)](_0x381d9c))==null||_0x52670e['delete'](_0x10c9e6);}_0x10c9e6['setFormulaPresentation'](_0x1ed834?this[_0x5c42e5(0x3ce)]['getPresentation'](_0x345d3c):void 0x0,(_0x1ed834==null?void 0x0:_0x1ed834[_0x5c42e5(0x2a1)])!==!0x1);}[_0x5d2b55(0x222)](_0x1981f9){const _0x53e615=_0x5d2b55;let _0x34cafc=_0x1981f9[_0x53e615(0x1e7)][_0x53e615(0x216)](),_0xca71af=_0x34cafc['fill'];if(!_0xca71af||_0xca71af['fillType']!==_0xc6fd33['ShapeFillEnum'][_0x53e615(0x3bb)]||!_0xca71af[_0x53e615(0x400)]){_0x1981f9[_0x53e615(0x283)](void 0x0);return;}this[_0x53e615(0x395)](_0x1981f9,_0x34cafc);}[_0x5d2b55(0x395)](_0x2a1282,_0x809849){const _0x2b8bbb=_0x5d2b55;let _0x142998=_0x809849[_0x2b8bbb(0x2de)];if(!_0x142998||_0x142998[_0x2b8bbb(0x467)]!==_0xc6fd33['ShapeFillEnum']['PictureFill']||!_0x142998['fillImageSource'])return;let _0x2f7f6=_0x142998[_0x2b8bbb(0x400)],_0x5f42c3=_0x142998[_0x2b8bbb(0x1b1)]??_0xc6fd33['ImageSourceTypeEnum'][_0x2b8bbb(0x49f)],_0x577e1b=this[_0x2b8bbb(0x30a)][_0x2b8bbb(0x41d)](_0x2f7f6,_0x5f42c3);if(_0x577e1b){_0x2a1282['setFillImage'](_0x577e1b);return;}this[_0x2b8bbb(0x2e3)](_0x2a1282,_0x2f7f6,_0x5f42c3);}async[_0x5d2b55(0x2e3)](_0x375857,_0x2618b2,_0x2f72c2){const _0x47af02=_0x5d2b55;let _0x550faf;try{if(_0x2f72c2===_0xc6fd33[_0x47af02(0x2ea)][_0x47af02(0x29d)])_0x550faf=await this[_0x47af02(0x30a)][_0x47af02(0x3ac)](_0x2618b2);else{if(_0x2f72c2===_0xc6fd33[_0x47af02(0x2ea)][_0x47af02(0x49f)])try{_0x550faf=await this[_0x47af02(0x401)][_0x47af02(0x3ac)](_0x2618b2);}catch{_0x550faf=_0x2618b2;}else _0x550faf=_0x2618b2;}}catch(_0x463c70){console['error'](_0x47af02(0x24c),_0x463c70);return;}let _0x2488f3=new window[(_0x47af02(0x252))]();_0x2488f3[_0x47af02(0x260)]=()=>{const _0x3bb3d4=_0x47af02;this[_0x3bb3d4(0x30a)]['addImageSourceCache'](_0x2618b2,_0x2f72c2,_0x2488f3),_0x375857[_0x3bb3d4(0x283)](_0x2488f3);},_0x2488f3[_0x47af02(0x3e8)]=()=>{const _0x553241=_0x47af02;console[_0x553241(0x24a)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x2618b2);},_0x2488f3[_0x47af02(0x3f5)]=_0x550faf;}};_0x2c9076=_0x3b5a68([_0x29bdea(0x0,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x2,(0x0,_0x889050['Inject'])(_0x889050[_0x5d2b55(0x26b)])),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x44c)]),_0x29bdea(0x4,_0x889050['IURLImageService']),_0x29bdea(0x5,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x134193)),_0x29bdea(0x6,(0x0,_0x889050['Inject'])(_0x3dd072[_0x5d2b55(0x213)]))],_0x2c9076);let _0x4c9712=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x2a918b,_0x47115a,_0x39d135){const _0x30694e=_0x5d2b55;super(),this[_0x30694e(0x414)]=_0x2a918b,this[_0x30694e(0x3e9)]=_0x47115a,this[_0x30694e(0x317)]=_0x39d135,this[_0x30694e(0x2b8)]();}[_0x5d2b55(0x2b8)](){const _0x4e798a=_0x5d2b55;this['disposeWithMe'](this['_docPrintInterceptorService'][_0x4e798a(0x2cb)]['intercept'](this[_0x4e798a(0x414)][_0x4e798a(0x2cb)][_0x4e798a(0x492)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x341633,_0x12d26a,_0x5babcf)=>{const _0x1fbd2c=_0x4e798a;var _0x53884b;let {unitId:_0x5ee4fa,scene:_0x352b5d}=_0x12d26a,_0x55ce31=(_0x53884b=this[_0x1fbd2c(0x3e9)]['getDrawingDataForUnit'](_0x5ee4fa))==null?void 0x0:_0x53884b[_0x5ee4fa];return _0x55ce31==null||_0x55ce31[_0x1fbd2c(0x2e1)][_0x1fbd2c(0x3be)](_0xfe8dbb=>{const _0x481693=_0x1fbd2c;let _0x547aa9=_0x55ce31['data'][_0xfe8dbb];_0x547aa9[_0x481693(0x299)]===_0x889050[_0x481693(0x2c5)][_0x481693(0x410)]&&!_0x547aa9[_0x481693(0x24b)]&&this['_shapeRenderController'][_0x481693(0x280)](_0x547aa9,_0x352b5d);}),_0x5babcf(_0x341633);}}));}};_0x4c9712=_0x3b5a68([_0x29bdea(0x0,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x1e9)])),_0x29bdea(0x1,_0x2b39ea['IDrawingManagerService']),_0x29bdea(0x2,(0x0,_0x889050['Inject'])(_0x2c9076))],_0x4c9712);let _0x38d699=_0x5d2b55(0x3ea),_0x2ba526=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0xab4266,_0x7b09f9,_0x1c1a8a,_0x1eb35e,_0x1dd83d,_0x288a8b){const _0x27de0f=_0x5d2b55;super(),this[_0x27de0f(0x22e)]=_0xab4266,this[_0x27de0f(0x1e6)]=_0x7b09f9,this['_drawingManagerService']=_0x1c1a8a,this[_0x27de0f(0x481)]=_0x1eb35e,this[_0x27de0f(0x325)]=_0x1dd83d,this[_0x27de0f(0x3d1)]=_0x288a8b,_0x342b29(this,_0x27de0f(0x215),!0x1),this[_0x27de0f(0x22e)][_0x27de0f(0x329)](_0x33a5a9),this[_0x27de0f(0x367)]((0x0,_0x889050[_0x27de0f(0x2c8)])(this[_0x27de0f(0x3e9)][_0x27de0f(0x3b8)][_0x27de0f(0x431)](()=>this[_0x27de0f(0x27d)]()))),this[_0x27de0f(0x27d)]();}[_0x5d2b55(0x2c3)](){const _0x3abf39=_0x5d2b55;this[_0x3abf39(0x3d1)][_0x3abf39(0x313)](!0x1,_0x38d699),this['_hide'](),super['dispose']();}[_0x5d2b55(0x27d)](){const _0x30ada6=_0x5d2b55;var _0x4687ab;let _0x24e8f1=this[_0x30ada6(0x3e9)][_0x30ada6(0x21b)](),_0x1e547c=_0x24e8f1[_0x30ada6(0x24e)]===0x1?_0x24e8f1[0x0]:void 0x0;if((_0x1e547c==null?void 0x0:_0x1e547c[_0x30ada6(0x299)])!==_0x889050[_0x30ada6(0x2c5)][_0x30ada6(0x410)]||this[_0x30ada6(0x481)][_0x30ada6(0x1e0)](_0x1e547c[_0x30ada6(0x1f9)])!==_0x889050[_0x30ada6(0x485)][_0x30ada6(0x386)]){this[_0x30ada6(0x3d1)]['setFallbackVisible'](!0x1,_0x38d699),this[_0x30ada6(0x41e)]();return;}let _0x26fb05=(0x0,_0x122d1a[_0x30ada6(0x2b0)])((_0x4687ab=this[_0x30ada6(0x325)]['getRenderUnitById'](_0x1e547c[_0x30ada6(0x1f9)]))==null?void 0x0:_0x4687ab[_0x30ada6(0x376)][_0x30ada6(0x1f5)]())===_0x30ada6(0x305);if(this[_0x30ada6(0x3d1)][_0x30ada6(0x313)](_0x26fb05,_0x38d699),_0x26fb05){this[_0x30ada6(0x41e)]();return;}this[_0x30ada6(0x215)]||(this[_0x30ada6(0x215)]=!0x0,this['_ribbonService'][_0x30ada6(0x2ae)](_0x48e949,{'activate':!0x0}));}[_0x5d2b55(0x41e)](){const _0x33474f=_0x5d2b55;this[_0x33474f(0x215)]&&(this[_0x33474f(0x215)]=!0x1,this[_0x33474f(0x1e6)]['hideContextualTab'](_0x48e949),this[_0x33474f(0x1e6)][_0x33474f(0x417)]([]));}};_0x2ba526=_0x3b5a68([_0x29bdea(0x0,_0x152418[_0x5d2b55(0x26f)]),_0x29bdea(0x1,_0x152418['IRibbonService']),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x339)]),_0x29bdea(0x4,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x5,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x122d1a[_0x5d2b55(0x289)]))],_0x2ba526);function _0x161816(_0x2c5854,_0x5db5fb){const _0x474747=_0x5d2b55;let _0x2be428=_0x2c5854;for(;_0x2be428;){if(_0x5db5fb(_0x2be428))return _0x2be428;_0x2be428=typeof _0x2be428[_0x474747(0x383)]=='function'?_0x2be428[_0x474747(0x383)]():null;}return null;}function _0x374605(_0x4844dd){return _0x161816(_0x4844dd,_0x38fe9d=>_0x38fe9d instanceof _0x48cb63);}function _0x4d8eda(_0x4b4980){const _0x270932=_0x5d2b55;return(_0x4b4980==null?void 0x0:_0x4b4980[_0x270932(0x49e)])==null;}let _0x3419ab=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x197d71,_0x4c2488,_0x1459a2,_0x239d52,_0x4b3ab8){const _0xc299a1=_0x5d2b55;super(),this[_0xc299a1(0x333)]=_0x197d71,this[_0xc299a1(0x49a)]=_0x4c2488,this['_drawingManagerService']=_0x1459a2,this[_0xc299a1(0x371)]=_0x239d52,this['_docsShapeService']=_0x4b3ab8,_0x342b29(this,_0xc299a1(0x40a),null),this[_0xc299a1(0x38a)](),this[_0xc299a1(0x34a)](),this[_0xc299a1(0x1e4)]();}['_initEvents'](){const _0x5dc6a9=_0x5d2b55;let {scene:_0x1a5362}=this[_0x5dc6a9(0x333)];this[_0x5dc6a9(0x367)](_0x1a5362['onDblclick$']['subscribeEvent'](_0x5ea3d7=>{const _0x2d5c5a=_0x5dc6a9;let {offsetX:_0x595c2e,offsetY:_0x5a1281}=_0x5ea3d7,_0x383f65=_0x4a14ae[_0x2d5c5a(0x496)]['FromArray']([_0x595c2e,_0x5a1281]),_0xfb5f33=_0x374605(_0x1a5362[_0x2d5c5a(0x379)](_0x383f65))??this['_getFocusedShapeAtPoint'](_0x383f65);if(_0xfb5f33){let _0xa0fcb7=this[_0x2d5c5a(0x3d8)][_0x2d5c5a(0x41a)](_0xfb5f33[_0x2d5c5a(0x1f9)],_0xfb5f33[_0x2d5c5a(0x277)],_0xfb5f33[_0x2d5c5a(0x2b1)]);if(!_0xa0fcb7||(0x0,_0xc6fd33[_0x2d5c5a(0x3f1)])(_0xa0fcb7['getShapeType']())||!_0x4d8eda(_0xa0fcb7['getShapeData']()))return;this[_0x2d5c5a(0x49a)][_0x2d5c5a(0x2cf)]({'visible':!0x0,'unitId':_0xfb5f33[_0x2d5c5a(0x1f9)],'subUnitId':_0xfb5f33[_0x2d5c5a(0x277)],'shapeId':_0xfb5f33['shapeId'],'shapeKey':_0xfb5f33[_0x2d5c5a(0x363)]});}}));}['_getFocusedShapeAtPoint'](_0x118253){const _0x3ba384=_0x5d2b55;let {scene:_0xda5e92}=this[_0x3ba384(0x333)];return this['_drawingManagerService'][_0x3ba384(0x21b)]()['map'](_0x4d310b=>_0xda5e92[_0x3ba384(0x488)]((0x0,_0x2b39ea['getDrawingShapeKeyByDrawingSearch'])(_0x4d310b)))['find'](_0x1db150=>_0x1db150 instanceof _0x48cb63&&_0x1db150[_0x3ba384(0x416)](_0x118253))??null;}[_0x5d2b55(0x34a)](){const _0x50d92c=_0x5d2b55;this['disposeWithMe'](this[_0x50d92c(0x3e9)]['focus$'][_0x50d92c(0x431)](_0x4a3ea6=>{const _0xcb9ae4=_0x50d92c;if(_0x4a3ea6['length']===0x1){let _0x504946=_0x4a3ea6[0x0],_0x382392=this[_0xcb9ae4(0x3e9)]['getDrawingByParam'](_0x504946);if((_0x382392==null?void 0x0:_0x382392['drawingType'])===_0x889050[_0xcb9ae4(0x2c5)][_0xcb9ae4(0x410)]){let _0x19279c=this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]();if((_0x19279c==null?void 0x0:_0x19279c[_0xcb9ae4(0x2b1)])===_0x504946[_0xcb9ae4(0x249)]&&_0x19279c[_0xcb9ae4(0x457)])return;(0x0,_0xc6fd33[_0xcb9ae4(0x3f1)])(this[_0xcb9ae4(0x3d8)][_0xcb9ae4(0x3ee)](_0x504946['unitId'],_0x504946[_0xcb9ae4(0x277)],_0x504946[_0xcb9ae4(0x249)]))&&this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2cf)](null);}else this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]()&&(this['_shapeTextEditingService'][_0xcb9ae4(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x5c8e79=_0xcb9ae4;this[_0x5c8e79(0x49a)][_0x5c8e79(0x2cf)](null);}));}else this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x2f3)]()&&(this[_0xcb9ae4(0x49a)][_0xcb9ae4(0x1d2)](!0x0),requestAnimationFrame(()=>{const _0x1ed60d=_0xcb9ae4;this[_0x1ed60d(0x49a)][_0x1ed60d(0x2cf)](null);}));})),this['disposeWithMe'](this['_drawingManagerService'][_0x50d92c(0x1be)]['subscribe'](_0x5c20bd=>{const _0x275bab=_0x50d92c;let _0x1bb84a=this[_0x275bab(0x49a)][_0x275bab(0x2f3)]();_0x1bb84a&&_0x5c20bd[_0x275bab(0x3ca)](_0x4161e0=>_0x4161e0['drawingId']===_0x1bb84a[_0x275bab(0x2b1)])&&this[_0x275bab(0x49a)]['setEditing'](null);}));}['_initEditingParams'](){const _0x1ebae7=_0x5d2b55;this[_0x1ebae7(0x367)](this['_shapeTextEditingService'][_0x1ebae7(0x31b)][_0x1ebae7(0x431)](_0x37f035=>{const _0xfc63b1=_0x1ebae7;let {scene:_0x53f161}=this[_0xfc63b1(0x333)];if(this['_lastEditingShapeKey']){let _0x4a2d0f=_0x53f161['getObjectIncludeInGroup'](this[_0xfc63b1(0x40a)]);_0x4a2d0f&&_0x4a2d0f[_0xfc63b1(0x2cf)](!0x1);}if(_0x37f035){let _0x291847=!!_0x37f035[_0xfc63b1(0x457)],_0x3882a0=_0x53f161[_0xfc63b1(0x488)](_0x37f035['shapeKey']);_0x3882a0&&(_0x3882a0[_0xfc63b1(0x2cf)](_0x291847),this['_lastEditingShapeKey']=_0x37f035[_0xfc63b1(0x4b7)]),this['_contextService']['setContextValue'](_0x889050[_0xfc63b1(0x29e)],_0x291847);}else this[_0xfc63b1(0x40a)]=null,this['_contextService'][_0xfc63b1(0x41f)](_0x889050[_0xfc63b1(0x29e)],!0x1);}));}};_0x3419ab=_0x3b5a68([_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x134193)),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x2ef)]),_0x29bdea(0x4,(0x0,_0x889050['Inject'])(_0x41863e[_0x5d2b55(0x476)]))],_0x3419ab);let _0x4f9df6=class extends _0x122d1a[_0x5d2b55(0x408)]{constructor(_0x30a2ab,_0xf2910e,_0x3e7012,_0x197415,_0x362d87,_0x3922d4,_0x61fd02,_0x410654,_0x74f4eb){super(_0x30a2ab,_0xf2910e,_0x3e7012,_0x197415,_0x362d87,_0x3922d4,_0x61fd02,_0x410654,_0x74f4eb,{'componentKey':_0x3dea73,'editorUnitId':_0x170d28});}};_0x4f9df6=_0x3b5a68([_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x580571[_0x5d2b55(0x433)])),_0x29bdea(0x2,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x335)])),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x322)])),_0x29bdea(0x4,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x5,(0x0,_0x889050['Inject'])(_0x1dd9a1[_0x5d2b55(0x1b5)])),_0x29bdea(0x6,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x122d1a[_0x5d2b55(0x423)])),_0x29bdea(0x7,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x580571['DocInterceptorService'])),_0x29bdea(0x8,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1[_0x5d2b55(0x219)]))],_0x4f9df6);let _0x4d13e4=class extends _0x889050['Disposable']{constructor(_0x1b50c3,_0x17936f,_0x12e114,_0x427e37){const _0x23f327=_0x5d2b55;super(),this['_commandService']=_0x1b50c3,this[_0x23f327(0x325)]=_0x17936f,this[_0x23f327(0x3e9)]=_0x12e114,this[_0x23f327(0x46e)]=_0x427e37,this[_0x23f327(0x3a7)]();}[_0x5d2b55(0x3a7)](){const _0x3fa5b9=_0x5d2b55;this['disposeWithMe'](this[_0x3fa5b9(0x3e9)][_0x3fa5b9(0x1fc)][_0x3fa5b9(0x431)](_0x3f3a8b=>this[_0x3fa5b9(0x23a)](_0x3f3a8b))),this[_0x3fa5b9(0x367)](this[_0x3fa5b9(0x3e9)][_0x3fa5b9(0x33a)][_0x3fa5b9(0x431)](_0x321b9d=>{const _0x2afad9=_0x3fa5b9;_0x321b9d[_0x2afad9(0x3be)](_0x5b2375=>this[_0x2afad9(0x273)](_0x5b2375));})),this[_0x3fa5b9(0x367)](this[_0x3fa5b9(0x320)]['onCommandExecuted'](_0x17331f=>{const _0x3e692b=_0x3fa5b9;if(_0x17331f['id']!==_0x41863e[_0x3e692b(0x263)]['id'])return;let {unitId:_0x54c1ae,shapeId:_0x1419e7}=_0x17331f[_0x3e692b(0x2a4)];this[_0x3e692b(0x398)]({'unitId':_0x54c1ae,'subUnitId':_0x54c1ae,'drawingId':_0x1419e7});}));}[_0x5d2b55(0x23a)](_0x48bdc4){const _0x59533e=_0x5d2b55;_0x48bdc4[_0x59533e(0x3be)](_0x12a581=>{const _0x4e9f0a=_0x59533e;let _0xb88e9a=this[_0x4e9f0a(0x445)](_0x12a581[_0x4e9f0a(0x1f9)]);if(!_0xb88e9a)return;let _0x3f327c=this[_0x4e9f0a(0x3e9)][_0x4e9f0a(0x2b4)](_0x12a581);(_0x3f327c==null?void 0x0:_0x3f327c['drawingType'])===_0x889050[_0x4e9f0a(0x2c5)][_0x4e9f0a(0x410)]&&this[_0x4e9f0a(0x46e)][_0x4e9f0a(0x280)](_0x3f327c,_0xb88e9a[_0x4e9f0a(0x2f0)]);});}[_0x5d2b55(0x273)](_0x27c40c){const _0x3603e8=_0x5d2b55;let _0x54a156=this[_0x3603e8(0x3e9)]['getDrawingByParam'](_0x27c40c);if((_0x54a156==null?void 0x0:_0x54a156[_0x3603e8(0x299)])!==_0x889050[_0x3603e8(0x2c5)][_0x3603e8(0x410)])return;let _0x5ca83f=this['_getSceneByUnitId'](_0x27c40c[_0x3603e8(0x1f9)]);if(!_0x5ca83f||_0x54a156['transform']==null)return;let _0xb02aa4=(0x0,_0x2b39ea[_0x3603e8(0x1d0)])(_0x27c40c),_0x42b682=_0x5ca83f[_0x3603e8(0x2f0)]['getObjectIncludeInGroup'](_0xb02aa4);_0x42b682&&(_0x42b682['setSrcRect'](_0x54a156[_0x3603e8(0x4b3)]),_0x42b682[_0x3603e8(0x3f3)](_0x54a156[_0x3603e8(0x4a3)]),_0x42b682[_0x3603e8(0x447)](!0x0));}[_0x5d2b55(0x398)](_0x10958){const _0xe88aa1=_0x5d2b55;let _0x58a96a=this[_0xe88aa1(0x445)](_0x10958[_0xe88aa1(0x1f9)]);if(!_0x58a96a)return;let _0x489cd5=(0x0,_0x2b39ea[_0xe88aa1(0x1d0)])(_0x10958),_0x421665=_0x58a96a['scene'][_0xe88aa1(0x488)](_0x489cd5);_0x421665&&(this[_0xe88aa1(0x46e)][_0xe88aa1(0x222)](_0x421665),this[_0xe88aa1(0x46e)][_0xe88aa1(0x2f4)](_0x421665,{'unitId':_0x10958[_0xe88aa1(0x1f9)],'subUnitId':_0x10958['subUnitId'],'shapeId':_0x10958['drawingId']}),_0x421665['makeDirty'](!0x0));}['_getSceneByUnitId'](_0x4028b9){const _0x26e17f=_0x5d2b55;if(_0x4028b9==null)return null;let _0x571ece=this[_0x26e17f(0x325)][_0x26e17f(0x217)](_0x4028b9),_0x12b3bf=_0x571ece==null?void 0x0:_0x571ece[_0x26e17f(0x2f0)];return _0x12b3bf==null?null:{'scene':_0x12b3bf};}};_0x4d13e4=_0x3b5a68([_0x29bdea(0x0,_0x889050['ICommandService']),_0x29bdea(0x1,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x2,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x2c9076))],_0x4d13e4);let _0x5da05c=class extends _0x889050[_0x5d2b55(0x44f)]{constructor(_0x3b1d49,_0x4f8159,_0x395877,_0x1a02a9,_0x1b49e1,_0x28273c,_0x680317,_0x52c165,_0x2d3564,_0x512334,_0x3b7615){const _0x360cc4=_0x5d2b55;super(),this['_univerInstanceService']=_0x3b1d49,this[_0x360cc4(0x2d7)]=_0x4f8159,this[_0x360cc4(0x22e)]=_0x395877,this[_0x360cc4(0x3d8)]=_0x1a02a9,this[_0x360cc4(0x32e)]=_0x1b49e1,this[_0x360cc4(0x320)]=_0x28273c,this[_0x360cc4(0x3e9)]=_0x680317,this[_0x360cc4(0x48d)]=_0x52c165,this[_0x360cc4(0x325)]=_0x2d3564,this[_0x360cc4(0x371)]=_0x512334,this[_0x360cc4(0x49a)]=_0x3b7615,_0x342b29(this,_0x360cc4(0x407),null),_0x342b29(this,_0x360cc4(0x3da),null),_0x342b29(this,'_isOpenedShapeEditPanel',!0x1),_0x342b29(this,_0x360cc4(0x384),0x0),_0x342b29(this,'_disposePopups',[]),this[_0x360cc4(0x3b5)](),this[_0x360cc4(0x367)](this[_0x360cc4(0x481)][_0x360cc4(0x3d7)](_0x889050[_0x360cc4(0x485)][_0x360cc4(0x386)])[_0x360cc4(0x431)](_0x115738=>{const _0x4a34fe=_0x360cc4;if(!_0x115738){var _0xd61ffc;(_0xd61ffc=this['_sidebarDisposable'])==null||_0xd61ffc[_0x4a34fe(0x2c3)]();}})),this[_0x360cc4(0x3fe)](),this[_0x360cc4(0x367)]((0x0,_0x122d1a[_0x360cc4(0x1ae)])(this[_0x360cc4(0x325)],_0x889050[_0x360cc4(0x485)]['UNIVER_DOC'],_0x2ce206=>this['_popupMenuListener'](_0x2ce206))),this[_0x360cc4(0x367)](this[_0x360cc4(0x49a)][_0x360cc4(0x31b)][_0x360cc4(0x431)](_0x1a5f2b=>{const _0x90f96e=_0x360cc4;_0x1a5f2b&&this[_0x90f96e(0x300)]();}));}[_0x5d2b55(0x3b5)](){const _0x28e334=_0x5d2b55;this[_0x28e334(0x22e)][_0x28e334(0x329)](_0xe2c554);}[_0x5d2b55(0x248)](_0x4b632f,_0x468a1d,_0x69a069,_0x10426d){const _0x1fdea5=_0x5d2b55;return[{'label':_0x1fdea5(0x237),'index':0x0,'commandId':_0xfcd867['id'],'commandParams':{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069},'disable':_0x10426d===_0x889050[_0x1fdea5(0x2c5)]['DRAWING_DOM']},{'label':_0x1fdea5(0x1c2),'index':0x1,'commandId':_0x32ae25[_0x1fdea5(0x324)]['id'],'commandParams':{'unitId':_0x4b632f,'drawings':[{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069}]},'disable':!0x1},{'label':_0x1fdea5(0x1cc),'index':0x2,'commandId':_0x38bbf0['id'],'commandParams':{'unitId':_0x4b632f,'subUnitId':_0x468a1d,'drawingId':_0x69a069},'disable':!0x1}];}[_0x5d2b55(0x343)](_0x56a2e8,_0x3db9b9,_0x3120b4){const _0x381ec2=_0x5d2b55;let _0x482799=this[_0x381ec2(0x3d8)]['getShapeTypeById'](_0x56a2e8,_0x3db9b9,_0x3120b4),_0x5e16bd=this[_0x381ec2(0x3d8)][_0x381ec2(0x27b)](_0x56a2e8,_0x3db9b9,_0x3120b4);return _0x482799!==void 0x0&&_0x5e16bd!==void 0x0?{'shapeData':_0x5e16bd,'shapeId':_0x3120b4,'shapeType':_0x482799,'unitId':_0x56a2e8,'subUnitId':_0x3db9b9,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x5d2b55(0x300)](){const _0x279964=_0x5d2b55;this['_disposePopups']['forEach'](_0xa4ff39=>_0xa4ff39['dispose']()),this[_0x279964(0x230)]['length']=0x0;}['_popupMenuListener'](_0x4d05e7){const _0x5ded68=_0x5d2b55;let _0x2d064b=new _0x889050['DisposableCollection']();return _0x2d064b[_0x5ded68(0x340)](_0x4d05e7['createControl$'][_0x5ded68(0x431)](()=>{const _0x2c1fd1=_0x5ded68;let _0x15c57b=_0x4d05e7['getSelectedObjectMap']();if(this[_0x2c1fd1(0x300)](),this['_isOpenedShapeEditPanel']||_0x15c57b[_0x2c1fd1(0x2cd)]>0x1)return;let _0x1c56f1=_0x15c57b[_0x2c1fd1(0x3bc)]()[_0x2c1fd1(0x49c)]()[_0x2c1fd1(0x427)];if(!_0x1c56f1)return;let _0xec0283=this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x452)](_0x1c56f1[_0x2c1fd1(0x363)]);if(!_0xec0283||_0xec0283[_0x2c1fd1(0x299)]!==_0x889050['DrawingTypeEnum'][_0x2c1fd1(0x410)])return;let {unitId:_0x321eb5,subUnitId:_0x357b89,drawingId:_0x55e1b5,drawingType:_0x484ac7}=_0xec0283,_0x5b3566=this[_0x2c1fd1(0x343)](_0x321eb5,_0x357b89,_0x55e1b5);if(!_0x5b3566)return;let _0x20b42e=this['_renderManagerService'][_0x2c1fd1(0x217)](_0x321eb5),_0x4bba71=((_0x20b42e==null?void 0x0:_0x20b42e['isMainScene'])===!0x1?_0x20b42e[_0x2c1fd1(0x290)](_0x1dd9a1[_0x2c1fd1(0x335)]):this[_0x2c1fd1(0x48d)])[_0x2c1fd1(0x2ec)](_0x1c56f1,{'componentKey':_0xd3c83a,'direction':_0x2c1fd1(0x3c3),'offset':[0x0,_0x122d1a['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x321eb5,'subUnitId':_0x357b89,'drawingId':_0x55e1b5,'drawingType':_0x484ac7,'shapeType':_0x5b3566[_0x2c1fd1(0x337)],'shapeData':_0x5b3566[_0x2c1fd1(0x45f)]}},_0x321eb5);this[_0x2c1fd1(0x230)]['push'](this[_0x2c1fd1(0x367)](_0x4bba71)),this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x21b)]()[_0x2c1fd1(0x368)](_0x49a11f=>_0x49a11f[_0x2c1fd1(0x1f9)]===_0x321eb5&&_0x49a11f[_0x2c1fd1(0x277)]===_0x357b89&&_0x49a11f[_0x2c1fd1(0x249)]===_0x55e1b5)||this[_0x2c1fd1(0x3e9)][_0x2c1fd1(0x25b)]([{'unitId':_0x321eb5,'subUnitId':_0x357b89,'drawingId':_0x55e1b5}]);})),_0x2d064b[_0x5ded68(0x340)](_0x4d05e7['clearControl$']['subscribe'](()=>{const _0x3446ae=_0x5ded68;this[_0x3446ae(0x300)](),this[_0x3446ae(0x371)][_0x3446ae(0x41f)](_0x889050[_0x3446ae(0x46a)],!0x1),this['_drawingManagerService'][_0x3446ae(0x25b)](null);})),_0x2d064b[_0x5ded68(0x340)](_0x4d05e7[_0x5ded68(0x278)][_0x5ded68(0x431)](()=>{const _0x103524=_0x5ded68;this[_0x103524(0x300)]();})),_0x2d064b['add'](_0x4d05e7['changeStart$'][_0x5ded68(0x431)](()=>{const _0x28508f=_0x5ded68;this[_0x28508f(0x300)]();})),_0x2d064b;}[_0x5d2b55(0x3fe)](){const _0xde39c8=_0x5d2b55;this[_0xde39c8(0x367)](this[_0xde39c8(0x320)][_0xde39c8(0x38b)](_0x315728=>{const _0x44d7e3=_0xde39c8;if(_0x315728['id']===_0xfcd867['id']){let {unitId:_0x5518b9,subUnitId:_0x24f653,drawingId:_0x3c6bc4}=_0x315728[_0x44d7e3(0x2a4)];this[_0x44d7e3(0x384)]+=0x1,this['_activeShapeInfo']=this[_0x44d7e3(0x343)](_0x5518b9,_0x24f653,_0x3c6bc4),this[_0x44d7e3(0x300)](),this[_0x44d7e3(0x3ff)]();}if(_0x315728['id']===_0x38bbf0['id']&&(this[_0x44d7e3(0x3da)]=null,this[_0x44d7e3(0x3db)]()),_0x315728['id']===_0x41863e[_0x44d7e3(0x263)]['id']){let {unitId:_0x580f04,shapeId:_0x74171a}=_0x315728[_0x44d7e3(0x2a4)];if(this['_activeShapeInfo']&&this[_0x44d7e3(0x3da)]['shapeId']===_0x74171a){let _0x4949c2=this[_0x44d7e3(0x343)](_0x580f04,this[_0x44d7e3(0x3da)][_0x44d7e3(0x277)],_0x74171a);_0x4949c2&&(this[_0x44d7e3(0x384)]+=0x1,_0x4949c2[_0x44d7e3(0x4b8)]=this[_0x44d7e3(0x384)],this['_activeShapeInfo']=_0x4949c2,this[_0x44d7e3(0x2d2)]&&this[_0x44d7e3(0x3ff)]());}}})),this['disposeWithMe'](this[_0xde39c8(0x3e9)][_0xde39c8(0x3b8)][_0xde39c8(0x431)](_0x5b86fe=>{const _0x1442dc=_0xde39c8;if(this[_0x1442dc(0x2d2)]===!0x1)return;if(_0x5b86fe[_0x1442dc(0x24e)]===0x0){this[_0x1442dc(0x3da)]=null,this[_0x1442dc(0x3db)]();return;}if(_0x5b86fe[_0x1442dc(0x24e)]===0x1&&_0x5b86fe[0x0]['drawingType']===_0x889050[_0x1442dc(0x2c5)]['DRAWING_SHAPE']&&(this['_shapeEditPanelVersion']+=0x1,this[_0x1442dc(0x3da)]=this['_getShapeInfo'](_0x5b86fe[0x0]['unitId'],_0x5b86fe[0x0][_0x1442dc(0x277)],_0x5b86fe[0x0][_0x1442dc(0x249)]),this[_0x1442dc(0x3da)])){this['_openShapeEditPanel']();return;}let _0x5b590a=_0x5b86fe[_0x1442dc(0x29c)](_0x351597=>_0x351597[_0x1442dc(0x299)]===_0x889050[_0x1442dc(0x2c5)][_0x1442dc(0x410)]);if(_0x5b86fe['length']>0x1&&_0x5b590a[_0x1442dc(0x24e)]===_0x5b86fe[_0x1442dc(0x24e)]){if(this[_0x1442dc(0x384)]+=0x1,this[_0x1442dc(0x3da)]=this[_0x1442dc(0x343)](_0x5b86fe[0x0][_0x1442dc(0x1f9)],_0x5b86fe[0x0]['subUnitId'],_0x5b86fe[0x0][_0x1442dc(0x249)]),this['_activeShapeInfo']){this[_0x1442dc(0x3ff)]();return;}}else{if(this[_0x1442dc(0x384)]+=0x1,this[_0x1442dc(0x3da)]=this['_getShapeInfo'](_0x5b86fe[0x0][_0x1442dc(0x1f9)],_0x5b86fe[0x0][_0x1442dc(0x277)],_0x5b86fe[0x0]['drawingId']),this[_0x1442dc(0x3da)]){this[_0x1442dc(0x3da)][_0x1442dc(0x2b7)]=!0x0,this[_0x1442dc(0x3ff)]();return;}}this[_0x1442dc(0x3db)]();}));}[_0x5d2b55(0x3ff)](){const _0x387be4=_0x5d2b55;this[_0x387be4(0x3da)]&&(this['_sidebarDisposable']=this['_sidebarService'][_0x387be4(0x236)]({'id':_0x466f20,'header':{'title':this[_0x387be4(0x32e)]['t'](_0x387be4(0x434))},'width':0x184,'children':{'label':_0x466f20,...this[_0x387be4(0x3da)]},'onClose':()=>{const _0x13cfe9=_0x387be4;this['_drawingManagerService'][_0x13cfe9(0x25b)](null),this[_0x13cfe9(0x371)][_0x13cfe9(0x41f)](_0x889050[_0x13cfe9(0x46a)],!0x1),this[_0x13cfe9(0x407)]=null;}}),this[_0x387be4(0x2d2)]=!0x0);}[_0x5d2b55(0x3db)](){const _0x500156=_0x5d2b55;this[_0x500156(0x2d2)]=!0x1,this[_0x500156(0x2d7)][_0x500156(0x411)](_0x466f20),this['_sidebarDisposable']=null,this[_0x500156(0x371)][_0x500156(0x41f)](_0x889050[_0x500156(0x46a)],!0x1),this[_0x500156(0x3e9)][_0x500156(0x25b)](null);}};_0x5da05c=_0x3b5a68([_0x29bdea(0x0,_0x889050[_0x5d2b55(0x339)]),_0x29bdea(0x1,(0x0,_0x889050['Inject'])(_0x152418[_0x5d2b55(0x353)])),_0x29bdea(0x2,_0x152418[_0x5d2b55(0x26f)]),_0x29bdea(0x3,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x41863e[_0x5d2b55(0x476)])),_0x29bdea(0x4,(0x0,_0x889050['Inject'])(_0x889050[_0x5d2b55(0x26b)])),_0x29bdea(0x5,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x6,_0x2b39ea[_0x5d2b55(0x244)]),_0x29bdea(0x7,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x1dd9a1['DocCanvasPopManagerService'])),_0x29bdea(0x8,_0x4a14ae[_0x5d2b55(0x2fe)]),_0x29bdea(0x9,_0x889050['IContextService']),_0x29bdea(0xa,(0x0,_0x889050['Inject'])(_0x134193))],_0x5da05c);let _0x327628=class extends _0x889050['Plugin']{constructor(_0x3456b5=_0x9527ab,_0x1dd4de,_0x5cdacc,_0x1798cb,_0x1f11cf){const _0x5001a5=_0x5d2b55;super(),this[_0x5001a5(0x3fc)]=_0x3456b5,this[_0x5001a5(0x435)]=_0x1dd4de,this[_0x5001a5(0x320)]=_0x5cdacc,this[_0x5001a5(0x2be)]=_0x1798cb,this[_0x5001a5(0x325)]=_0x1f11cf;let {menu:_0x1c1aa7,..._0x451330}=(0x0,_0x889050[_0x5001a5(0x2ad)])({},_0x9527ab,this[_0x5001a5(0x3fc)]);_0x1c1aa7&&this[_0x5001a5(0x2be)][_0x5001a5(0x1e2)]('menu',_0x1c1aa7,{'merge':!0x0}),this['_configService'][_0x5001a5(0x1e2)](_0x5001a5(0x331),_0x451330),this[_0x5001a5(0x46f)]();}[_0x5d2b55(0x2ff)](){const _0xd93cc3=_0x5d2b55;this[_0xd93cc3(0x435)]['add']([_0x590b4c]),this[_0xd93cc3(0x435)][_0xd93cc3(0x2bd)](_0x590b4c),(0x0,_0x889050[_0xd93cc3(0x3cc)])(this[_0xd93cc3(0x435)],[[_0x5da05c],[_0x4d13e4],[_0x2c9076],[_0x4c9712],[_0x24dab5],[_0x56d3dd],[_0x5b20a8],[_0x134193],[_0x2ba526]]),this[_0xd93cc3(0x494)]();}[_0x5d2b55(0x2d4)](){const _0x26dec2=_0x5d2b55;this[_0x26dec2(0x325)][_0x26dec2(0x478)](_0x889050['UniverInstanceType']['UNIVER_DOC'],[_0x24dab5]),this[_0x26dec2(0x325)][_0x26dec2(0x478)](_0x889050[_0x26dec2(0x485)]['UNIVER_DOC'],[_0x3419ab]),(0x0,_0x889050[_0x26dec2(0x256)])(this[_0x26dec2(0x435)],[[_0x5da05c],[_0x4d13e4],[_0x2c9076],[_0x4c9712],[_0x56d3dd],[_0x5b20a8],[_0x134193],[_0x2ba526]]);}[_0x5d2b55(0x389)](){const _0x213b0b=_0x5d2b55;this[_0x213b0b(0x325)][_0x213b0b(0x478)](_0x889050[_0x213b0b(0x485)]['UNIVER_DOC'],[_0x4f9df6]);}[_0x5d2b55(0x46f)](){const _0x560d00=_0x5d2b55;[_0xd5b306,_0x38bbf0,_0xfcd867,_0xccfcdd,_0x24ddd4,_0x468434]['forEach'](_0x2c5432=>this[_0x560d00(0x367)](this[_0x560d00(0x320)][_0x560d00(0x200)](_0x2c5432)));}[_0x5d2b55(0x494)](){const _0x1b7c81=_0x5d2b55;let _0x214ca8=this[_0x1b7c81(0x435)],_0x662bd6=_0x214ca8['get'](_0x152418[_0x1b7c81(0x1cb)]);this[_0x1b7c81(0x367)](_0x662bd6['registerComponent'](_0x152418['BuiltInUIPart'][_0x1b7c81(0x292)],()=>(0x0,_0x152418[_0x1b7c81(0x228)])(_0xd42f88,_0x214ca8)));}};_0x342b29(_0x327628,'type',_0x889050[_0x5d2b55(0x485)][_0x5d2b55(0x386)]),_0x342b29(_0x327628,_0x5d2b55(0x2c2),'DOCS_SHAPE_UI_PLUGIN'),_0x342b29(_0x327628,_0x5d2b55(0x31f),_0x2d82b1),_0x342b29(_0x327628,_0x5d2b55(0x4b8),_0x5f016b),_0x327628=_0x3b5a68([(0x0,_0x889050[_0x5d2b55(0x46b)])(_0x344fe9[_0x5d2b55(0x32a)],_0x580571[_0x5d2b55(0x1de)],_0x2b39ea['UniverDrawingPlugin'],_0x103470['UniverDrawingUIPlugin'],_0x4a14ae['UniverRenderEnginePlugin'],_0x1dd9a1[_0x5d2b55(0x375)],_0x3dd072['UniverShapeEditorPlugin'],_0xaeafba[_0x5d2b55(0x1f2)],_0x41863e[_0x5d2b55(0x45b)],_0x122d1a[_0x5d2b55(0x460)]),_0x29bdea(0x1,(0x0,_0x889050[_0x5d2b55(0x208)])(_0x889050[_0x5d2b55(0x36d)])),_0x29bdea(0x2,_0x889050[_0x5d2b55(0x484)]),_0x29bdea(0x3,_0x889050[_0x5d2b55(0x24f)]),_0x29bdea(0x4,_0x4a14ae[_0x5d2b55(0x2fe)])],_0x327628),_0x241b19[_0x5d2b55(0x357)]=_0xe2c554,Object[_0x5d2b55(0x1ad)](_0x241b19,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x327628;}});}));function _0x4049(_0x585f19,_0xfe09fe){_0x585f19=_0x585f19-0x1ac;const _0x4b00b6=_0x4b00();let _0x40494d=_0x4b00b6[_0x585f19];return _0x40494d;}function _0x4b00(){const _0x14cd69=['setPresentation','transformForAngle','transform','2331KQxhcg','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','front','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','setFallbackVisible','resolveShapeTextEditorWrapStrategy','docs-shape-ui.ribbon.shape-format.arrange-forward','ShapeGroupEnum','_shapeRenderController','cloneShapeDataForType','docs-shape-ui.ribbon.shape-format.arrange-front','onPointerDown$','editingParams$','@univerjs/ui','getPropertyPriority','SetDrawingSelectedOperation','packageName','_commandService','getSnapshot','DocSelectionRenderService','_adjustPointObjects','RemoveDocDrawingCommand','_renderManagerService','clearActiveDrawingObjects','complete','DocDrawingTextWrap','mergeMenu','UniverLicensePlugin','4565608pjotrA','layoutType','transformVector2SceneCoord','_localeService','clipHeight','extraProps','docs-shape-ui.config','useFormulaShapeToolbar','_context','univer-box-border\x20univer-px-4\x20univer-text-sm','DocCanvasPopManagerService','classType','shapeType','SHAPE_TEXT','IUniverInstanceService','update$','top-bottom','docs-shape-ui.ribbon.shape-format.text-control','MenuItemType','presetId','element','add','4441830iHbwlP','getAutoFitPresentations','_getShapeInfo','symbol','.below','LAYOUT','INSERT_BELLOW_MENU_ID','VIEWPORT_KEY','ContextMenuGroup','_initSelection','BehaviorSubject','docs-shape-ui.ribbon.shape-format.arrange-backward','ShapeTypeEnum','_adjHandlerPointerMove','isLineShape','plainShapeTextToDocumentData','_createShapeAdjustControls','docs-shape-ui.insertShape','ISidebarService','startArrow','univerjs-icon\x20univerjs-icon-','formulaPresentation','DocsShapeUIMenuSchema','resolveActiveShapeQuickStylePresetId','docs-shape-ui.ribbon.shape-format.arrange-back','bottom','updateDocumentStyle','_isStartAdjusting','useMemo','behindDoc','appliedStrokeWidth','text','applyQuickStyleToShapeData','ShapeDefaultConfig','oKey','_adjHandlerPointerUp','move-down-icon','baseVal','disposeWithMe','find','resolveFormulaShapeAutoFitSize','attrs','Medium','resolveShapeTextEditorBehaviorShapeData','Injector','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','sectionCanvas','TextWrappingStyle','_contextService','177wZsoMK','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','WRAP_SQUARE','UniverDocsUIPlugin','engine','updateShapeFillImage','M2\x203h16M2\x2017h16','pick','_activeShapeModel','DocumentDataModel','_transform','_activeShapeAdjustPointList','_formulaKey','LEFT','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','canvasElement','updateDocumentDataMargin','getParent','_shapeEditPanelVersion','UniverProDocsShapeUi','UNIVER_DOC','Observable','ShapeTextRibbonControl','onRendered','_initEvents','onCommandExecuted','IDocDrawingService','UpdateDocShapeDataCommand','ObjectLayersIcon','prototype','multiply','60tOVBFs','getDrawingOrder','backward','changeEnd$','_loadShapePictureFill','docs-shape-ui.ribbon.shape-format.style-control','getShapeQuickStylePreset','_refreshShapeData','CURSOR_TYPE','endArrow','cos','GROUP','stroke-width','0\x200\x2017\x2016','@univerjs-pro/shape-editor','React','#3B82F6','localeService','RibbonInsertGroup','getInverseCoord','buildClipPath','from','_initialize','UpdateDrawingDocTransformCommand','@univerjs-pro/license','PARAGRAPH','_formulaShapes','getImage','calcAdjValues','string','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','sectionFloating','forward','push','normalizeShapeTextModel','shape-editor-ui.arrange.forward','_initMenu','fontFamily','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','focus$','SHAPE_CHANGE_PICKER_COMPONENT','selectable','PictureFill','values','ComponentManager','forEach','32772RzYIOM','style','useState','@univerjs/drawing-ui','vertical-center','set','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','UniverProDocsShape','name','getDrawingSearch','react','some','DOCS_COMPONENT_MAIN_LAYER_INDEX','registerDependencies','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','_shapeFormulaService','getDrawingEditable','DOC_CONTENT_INSERT_MENU_ID','_shapeFloatingToolbarService','_registerDrawingFocusChangeHandler','adjName','objects','actions','MoveUpIcon','getCurrentTypeOfUnit$','_docsShapeService','UniverProShapeEditorUi','_activeShapeInfo','_closeShapeEditPanel','_componentManager','clip-','_updateShapeAdjustControls','disableObjectsEvent','parseFloat','shape-editor-ui.toolbar.changeShape','presentationChanged$','docs-shape-ui.textWrap.behindText','decorate','Circle','below','ArrangeTypeEnum','onerror','_drawingManagerService','docs-shape-contextual-ribbon','getShapeTypeById','_attachAdjustEvent','height','getShapeType','0\x200\x2016\x2016','getAdjustValueByName','isConnectorShape','idSuffix','setPrstGeom','DRAWING_IMAGE','src','getTextStyle','ShapeIcon','docs-shape-ui.objectListPanel.open','unsubscribe','doc.operation.apply-shape-quick-style','CROSSHAIR','_config','restore','_registerOperations','_openShapeEditPanel','fillImageSource','_urlImageService','MoveDownIcon','moveRange','MenuManagerPosition','DocsShapeWrapSquareIcon','ShapeFloatingToolbarToggleFactory','_sidebarDisposable','ShapeTextFloatMenuRenderControllerBase','title','_lastEditingShapeKey','_drawShapeText','Path','ContextMenuPosition','hasAttribute','useDependency','DRAWING_SHAPE','close','Fragment','docs-shape-ui.textWrap.inFrontText','_docPrintInterceptorService','rxjs','isHit','setCollapsedIds','adjHandleSize','useEffect','getShapeModel','replace','removeProperty','getImageSourceCache','_hide','setContextValue','M4.2\x208.3H6.8','top','TOP','ShapeTextHyperLinkPopupService','extensionGroups','xlink:href','sin','value','BEHIND_TEXT','ShapeQuickStyleGallery','activeTarget','presentation','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','contentVerticalOffset','square','getPropertyValue','type','subscribe','getCurrentUnitOfType','DocSelectionManagerService','docs-shape-ui.formatShape','_injector','_baseShapeTop','enhanceParams','paragraphId','draw','onTransformChange$','clip','viewBox','getParagraphContentStartOffset','docs-shape-format-font-family-menu','5.5','docs-shape-ui.shape-format.formula-ribbon-control','warn','@univerjs/docs-ui','actualHeight','None','_getSceneByUnitId','_updateAdjustControlPositions','makeDirty','UniverProLicense','round','1em','@univerjs-pro/engine-shape','IImageIoService','transformByState','getScene','Disposable','_baseShapeWidth','OFFSET','getDrawingOKey','inline','@univerjs/docs-drawing-ui','text-wrap-shape-icon','non-scaling-stroke','visible','strokeOpacity','COMMAND','shape-editor-ui.arrange.front','UniverDocsShapePlugin','gradientEndColor','currentAdjustValues','getDrawingTypeNameKey','shapeData','UniverShapeEditorUIPlugin','shouldClipShapeTextDocument','docs-shape-text-','offsetY','ShapeFloatingToolbar','unregister','0.8','fillType','UniverIcon','#2563EB','FOCUSING_COMMON_DRAWINGS','DependentOn','DocsShapeTextEditorContainer','setSrcRect','_docDrawingShapeRenderController','_initCommands','scale','IN_FRONT_OF_TEXT','isInGroup','rect','docs-shape-ui.ribbon.shape-format','useImperativeHandle','DocsShapeService','shape-text-','registerRenderModule','getState','DocParagraphMenuService','docs-shape-ui.crop.shape','resolveShapeTextDocumentRenderLayout','Rect','doc.operation.update-shape-type','drawFormulaShapeAnimationLayers','true','_univerInstanceService','useLayoutEffect','updateContext','ICommandService','UniverInstanceType','sheet.image-clip.shape-picker.component','doc.operation.close-doc-shape-format-panel','getObjectIncludeInGroup','getDrawingVisible','flipX','ShapeFormulaRibbonControl','invert','_docCanvasPopManagerService','removeAttribute','BUTTON','http://www.w3.org/2000/svg','VerticalAlign','getInterceptPoints','OTHERS','_initUIPart','_addShapeAdjustControl','Vector2','ShapeFillEnum','getUnitId','left','_shapeTextEditingService','ShapePickerPanel','next','onSavingEditorData$','formulaBinding','URL','jsx','Transform','flatMap','prstGeom','_onSavingEditorData$','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','toFixed','@univerjs/engine-render','getValue','none','DocsShapeWrapTopBottomIcon','DOC_PARAGRAPH_T_INSERT_MENU_ID','createInternalEditorID','marginTop','syncExecuteCommand','UniverEngineRender','originalStrokeWidth','paragraph','IconManager','srcRect','isFinite','description','M4.2\x205.5H10.5','shapeKey','version','isHorizontal','getMatrix','_baseShapeLeft','createShapeFormulaDocument','isEditing','indexOf','_updateSrcRectByTransform','docs-shape-ui.shape-format.quick-style-gallery','defineProperty','bindRenderTransformerLifecycle','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','getPresentation','fillImageSourceType','_registerImageShapeClipDelegate','docs-shape-ui.textWrap.inline','SELECTOR','DocEventManagerService','priority','DrawingCommonPanel','dataModel','calculate','setFormulaPresentation','fontSize','WRAP_TOP_AND_BOTTOM','doc.operation.open-doc-shape-format-panel','remove$','doc.shape.object-list.panel','asObservable','_drawingType','docs-shape-ui.deleteShape','_isShouldShowDrawingShapeAdjust','shape-editor-ui.toolbar.quickStyles','beginPath','stroke','VIEW_MAIN','disconnect','1580RYxZLF','getMenuHiddenObservable','IUIPartsService','docs-shape-ui.hidePanel','shouldAllowShapeTextEditorHostSizeShrink','useObservable','currentColor','getDrawingShapeKeyByDrawingSearch','pipe','setOnSavingEditorData','executeCommand','_subUnitId','INLINE','panel','docs-shape-ui.ribbon.shape-format.wrapping-style','createElement','reverse','adjHandleFill','move-up-icon','wrapStrategy','children','UniverDocsPlugin','_unitId','getUnitType','ShapeArrowSizeEnum','setConfig','ShapeLineTypeEnum','_initEditingParams','SHAPE_EDITOR_TRANSFORMER_CONFIG','_ribbonService','shapeModel','doc-shape-adjust-point-','DocPrintInterceptorService','getShapeTextRect','isReleased','trim','UniverDocsUi','composeMatrix','_toScenePoint','label','getObjectListPanelSectionIdForDrawingType','UniverDocsDrawingUIPlugin','function','width','getCanvasElement','animateFormulaPresentation','ancestorTransform','TextWrapShapeIcon','unitId','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','add$','getAdjustInfoByName','DEFAULT_DOC_SHAPE_HEIGHT','getTextModel','registerCommand','isRenderLinePointsMode','back','default','shapeText','getVisible','499ZwLMAg','translate','Inject','canvas','svg','_editingParams$','applyPoint','getDrawingPoints','SolidFill','Arrow','_drawRichText','exports','refreshTransform$','ShapeFormulaService','onPointerMove$','_visible','getShapeData','getRenderUnitById','object','DocRenderController','startOffset','getFocusDrawings','parent','_props','_transformCalculateSrcRect','popup','@univerjs/drawing','getUnit','refreshShapeFillImage','ShapeFormatSettingIcon','entries','getSelfOrHeaderFooterModel','_drawRichTextLayer','shape-format-setting-icon','connectInjector','UniverUi','useId','UniverDrawingUi','ShapeArrowTypeEnum','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','_menuManagerService','getShapeQuickStyleType','_disposePopups','_iconManager','1.2','docs-shape-ui.objectListPanel.title','DocDrawingPosition','resize','open','docs-shape-ui.openPanel','_formulaAnimation','PositionedObjectLayoutType','_insertShapes','colorChannel1','drawings','defs','docs-shape-ui.ribbon.shape-format.formula-control','_releaseRenderCache','_getActiveDrawingParam','paragraphs','evenodd','_baseShapeHeight','IDrawingManagerService','ShapeEditPanel','behindText','OPERATION','getShapePopupMenus','drawingId','error','hidden','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','use','length','IConfigService','clear','_getShapeAdjustInfosById','Image','contentHeight','icon','react/jsx-runtime','touchDependencies','behind','@univerjs/docs-drawing','endOffset','setShapeProps','focusDrawing','startWith','div','doc.shape.picker.component','MEDIA','onload','docs-shape-ui.shape-format.wrapping-style-label','_getActiveDrawingShape','UpdateDocShapeDataMutation','clone','ShapePickerDropdown','OBJECT_LIST_FLOATING_SECTION_ID','DocsShapeWrapBehindTextIcon','_init','jsxs','delete','LocaleService','docs-shape-ui.shape-format.text-ribbon-control','doc.shape.text.float-menu','getTransformerByCreate','IMenuManagerService','0\x200\x2020\x2020','refreshAdjustControls','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_updateShape','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','call','clipTop','subUnitId','changing$','UniverDrawing','render','getShapeDataById','displayName','_update','insertGroupObject','ToggleShapeFloatingToolbarOperation','renderDrawingShape','keys','has','setFillImage','HorizontalAlign','_clipService','activateDrawingObject','RichTextEditingMutation','WRAP_NONE','ShapeFloatingToolbarService','1.0.0-beta.2','doc','_draw','_activeShapeId','featurePluginUpdateNotification','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','with','addObject','CONTENT','setCursor','viewBound','9585360iyierU','doc.image-clip.shape-picker.component','_registerDrawingTransformHandler','forwardRef','drawingType','693910bGejLk','vectorEffect','filter','UUID','FOCUSING_SHAPE_TEXT_EDITOR','subscribeEvent','register','animationEnabled','paragraphMenuPlacement','ShapeTextEditorContainer','params','TRUE','setShapeData','custom','shape-editor-ui.arrange.back','getTransformer','_registerComponents','_applyFormulaAutoFitSize','setProperty','merge','showContextualTab','CommandType','resolveShapeContextualRibbonHostMode','shapeId','buildShapeTextDataUpdate','translateWithPrecision','getDrawingByParam','_renderWithCache','generateRandomId','disableShapeOption','_initPrinting','onPointerUp$','includes','UNIVER_SHEET','UpdateDocDrawingWrappingStyleCommand','get','_configService','visible$','ShapeStyleRibbonControl','url(#$1','pluginName','dispose','hadStyleAttribute','DrawingTypeEnum','DEFAULT_DOC_SHAPE_WIDTH','UniverProShapeEditor','toDisposable','flipY','map','interceptor','clipByShape','size','SetDocDrawingArrangeCommand','setEditing','constructor','BottomIcon','_isOpenedShapeEditPanel','_shapeId','onReady','horizontal','RENDER_CLASS_TYPE','_sidebarService','distinctUntilChanged','getActualSize','stopPropagation','attachTransformerTo','getDrawingData','vertical','fill','assign','doc.command.menu-insert-shape','order','current','_loadAndSetImage','save','BooleanNumber','useReducer','RIBBON','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','TopmostIcon','ImageSourceTypeEnum','color','attachPopupToObject','getRealBound','@univerjs-pro/docs-shape','IContextService','scene','getObjectListPanelTypeName','Line','getEditing','refreshFormulaPresentation','UniverDocsDrawing','strokeWidth','tag','isDrawingObject','_adjName','ShapeModel','DRAWING_OBJECT_LAYER_INDEX','setCanUseShapeClip','_getShapeAdjustPointListById','IRenderManagerService','onStarting','_clearPopups','path','UniverDocsDrawingUi','ShapeTextFloatToolbar','_setTransForm','isolated','_clearShapeAdjustControls','_activeAdjustInfo','Shape','querySelectorAll','_imageIoService','isRichText'];_0x4b00=function(){return _0x14cd69;};return _0x4b00();}
|