@univerjs-pro/docs-shape-ui 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/shape-contextual-ribbon.controller.d.ts +18 -0
- 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 +20 -0
- package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +3 -4
- package/lib/types/views/shape-format-ribbon/DocsShapeFormatRibbonControls.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 +16 -16
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 _0x3fe5(_0xc9c87b,_0x15d885){_0xc9c87b=_0xc9c87b-0x151;const _0x44154e=_0x4415();let _0x3fe507=_0x44154e[_0xc9c87b];return _0x3fe507;}(function(_0xe567e5,_0x4aa0c7){const _0x5196f1=_0x3fe5,_0x681f67=_0xe567e5();while(!![]){try{const _0x4b550e=-parseInt(_0x5196f1(0x40c))/0x1+-parseInt(_0x5196f1(0x1c4))/0x2+parseInt(_0x5196f1(0x1a4))/0x3*(-parseInt(_0x5196f1(0x18f))/0x4)+parseInt(_0x5196f1(0x3b5))/0x5*(-parseInt(_0x5196f1(0x223))/0x6)+-parseInt(_0x5196f1(0x170))/0x7+parseInt(_0x5196f1(0x39e))/0x8*(parseInt(_0x5196f1(0x345))/0x9)+-parseInt(_0x5196f1(0x16d))/0xa*(-parseInt(_0x5196f1(0x154))/0xb);if(_0x4b550e===_0x4aa0c7)break;else _0x681f67['push'](_0x681f67['shift']());}catch(_0x16c9bc){_0x681f67['push'](_0x681f67['shift']());}}}(_0x4415,0x7f17b),function(_0x185183,_0x3d44c2){const _0x36873f=_0x3fe5;typeof exports=='object'&&typeof module<'u'?_0x3d44c2(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/docs-shape'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/docs-drawing'),require('@univerjs/engine-render'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/docs-drawing-ui'),require('react')):typeof define==_0x36873f(0x1f4)&&define['amd']?define([_0x36873f(0x2b5),_0x36873f(0x17c),'@univerjs/docs-ui',_0x36873f(0x3bd),_0x36873f(0x403),'@univerjs-pro/engine-shape',_0x36873f(0x321),'@univerjs/core',_0x36873f(0x2ae),_0x36873f(0x222),_0x36873f(0x15c),_0x36873f(0x255),_0x36873f(0x1a6),_0x36873f(0x1cf),'rxjs','@univerjs-pro/license',_0x36873f(0x3e9),_0x36873f(0x3cb)],_0x3d44c2):(_0x185183=typeof globalThis<'u'?globalThis:_0x185183||self,_0x3d44c2(_0x185183[_0x36873f(0x41a)]={},_0x185183[_0x36873f(0x392)],_0x185183['UniverDocsUi'],_0x185183[_0x36873f(0x295)],_0x185183[_0x36873f(0x1fa)],_0x185183['UniverProEngineShape'],_0x185183[_0x36873f(0x2ff)],_0x185183[_0x36873f(0x157)],_0x185183['UniverDocs'],_0x185183['UniverDocsDrawing'],_0x185183['UniverEngineRender'],_0x185183[_0x36873f(0x3b3)],_0x185183[_0x36873f(0x215)],_0x185183[_0x36873f(0x383)],_0x185183[_0x36873f(0x36e)],_0x185183['UniverProLicense'],_0x185183['UniverDocsDrawingUi'],_0x185183['React']));}(this,function(_0x495beb,_0x477995,_0xadaed7,_0x314b7e,_0x397c2d,_0x2d5ae1,_0x377eec,_0x199bc9,_0x52097a,_0xe167a4,_0x4bd9c2,_0x48b930,_0x1a42e8,_0x5c8576,_0x259d9f,_0xe2a57e,_0x14557e,_0x3c5464){const _0x44da2a=_0x3fe5;Object[_0x44da2a(0x264)](_0x495beb,Symbol[_0x44da2a(0x1f3)],{'value':_0x44da2a(0x356)});let _0x2e2995=_0x44da2a(0x27c),_0x4966fe=_0x44da2a(0x1e4);function _0x5cf7b4(_0x93796,_0x58430d){const _0x9272a9=_0x44da2a;if(_0x58430d){if((0x0,_0x2d5ae1[_0x9272a9(0x34a)])(_0x93796)&&(_0x58430d[_0x9272a9(0x1b5)]||_0x58430d[_0x9272a9(0x3a4)]))return{'ln':{'startArrow':_0x58430d[_0x9272a9(0x1b5)]?{'type':_0x2d5ae1[_0x9272a9(0x2e0)][_0x9272a9(0x2ac)],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x212)]}:void 0x0,'endArrow':_0x58430d[_0x9272a9(0x3a4)]?{'type':_0x2d5ae1['ShapeArrowTypeEnum']['Arrow'],'size':_0x2d5ae1[_0x9272a9(0x207)][_0x9272a9(0x23e)]}:void 0x0}};if(_0x93796===_0x2d5ae1['ShapeTypeEnum']['Rect']&&(_0x58430d['horizontal']||_0x58430d['vertical']))return(0x0,_0x377eec[_0x9272a9(0x2f5)])({'fill':{'fillType':_0x2d5ae1[_0x9272a9(0x179)]['SolidFill'],'color':_0x2e2995},'isHorizontal':!!_0x58430d[_0x9272a9(0x39a)],'stroke':{'lineStrokeType':_0x2d5ae1['ShapeLineTypeEnum']['SolidLine'],'width':0x1,'color':_0x4966fe}});}}function _0x2862a3(_0x176d5e,_0x58aa16){const _0x2f82c0=_0x44da2a;var _0x2f4836;let _0x322436=_0x58aa16['segmentId']??'',_0x2d133e=(_0x2f4836=_0x176d5e[_0x2f82c0(0x350)](_0x322436))==null?void 0x0:_0x2f4836[_0x2f82c0(0x2f2)]();if(!_0x2d133e)return null;let _0x3bc306=_0x2d133e[_0x2f82c0(0x3cd)]??[],_0x452002=_0x3bc306[_0x2f82c0(0x1da)](_0x4e84f1=>{const _0x2cfa22=_0x2f82c0;let _0x556eb9=(0x0,_0x199bc9[_0x2cfa22(0x23d)])(_0x2d133e,_0x4e84f1);return _0x58aa16[_0x2cfa22(0x2bb)]>=_0x556eb9&&_0x58aa16[_0x2cfa22(0x2bb)]<=_0x4e84f1['startIndex'];})??_0x3bc306[_0x3bc306[_0x2f82c0(0x268)]-0x1];return _0x452002?{'paragraphId':_0x452002[_0x2f82c0(0x410)],'segmentId':_0x322436,'position':_0x397c2d['DocShapeAnchorPosition'][_0x2f82c0(0x2de)],'offset':_0x58aa16['startOffset']-(0x0,_0x199bc9[_0x2f82c0(0x23d)])(_0x2d133e,_0x452002)}:null;}function _0x5eedf9(_0x151e38,_0x1899dd,_0x5b96d0){const _0x2c2535=_0x44da2a;var _0x6263af,_0xf3ba0f;if(!_0x5b96d0)return null;let _0x4a2977=(_0x6263af=_0x151e38[_0x2c2535(0x41e)](_0x4bd9c2[_0x2c2535(0x3f8)])['getRenderUnitById'](_0x1899dd))==null?void 0x0:_0x6263af[_0x2c2535(0x41c)](_0xadaed7[_0x2c2535(0x3dc)])[_0x2c2535(0x1e7)];if(!_0x4a2977)return null;let _0x5bd779=_0x5b96d0===_0x2c2535(0x2aa)?{'startOffset':_0x4a2977[_0x2c2535(0x231)][_0x2c2535(0x307)],'endOffset':_0x4a2977['moveRange'][_0x2c2535(0x307)]}:_0x4a2977['menuRange'];return{'startOffset':_0x5bd779[_0x2c2535(0x2bb)],'endOffset':_0x5bd779[_0x2c2535(0x307)],'collapsed':_0x5bd779[_0x2c2535(0x2bb)]===_0x5bd779[_0x2c2535(0x307)],'segmentId':((_0xf3ba0f=_0x4a2977['paragraph'])==null?void 0x0:_0xf3ba0f[_0x2c2535(0x401)])??''};}let _0x5e21da={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x38d)],'id':'doc.command.menu-insert-shape','handler':async(_0x146fc1,_0x424180)=>{const _0x1cfff7=_0x44da2a;let _0xef2c0a=_0x146fc1['get'](_0x199bc9['IUniverInstanceService'])['getCurrentUnitOfType'](_0x199bc9[_0x1cfff7(0x31a)]['UNIVER_DOC']);if(!_0xef2c0a)return!0x1;let _0x41a793=_0x146fc1[_0x1cfff7(0x41e)](_0x199bc9[_0x1cfff7(0x250)]),_0x4b2eb3=_0xef2c0a[_0x1cfff7(0x2a6)](),_0x4e5462=_0x424180[_0x1cfff7(0x195)]??(0x0,_0x199bc9[_0x1cfff7(0x1d2)])(),_0x2ced37=_0x424180[_0x1cfff7(0x25c)]??_0x397c2d['DEFAULT_DOC_SHAPE_WIDTH'],_0x275deb=_0x424180[_0x1cfff7(0x2a2)]??_0x397c2d['DEFAULT_DOC_SHAPE_HEIGHT'],_0x382fa6=_0x424180[_0x1cfff7(0x261)]??_0x5cf7b4(_0x424180[_0x1cfff7(0x38a)],_0x424180[_0x1cfff7(0x17b)])??{'fill':{'fillType':_0x2d5ae1['ShapeFillEnum'][_0x1cfff7(0x26a)],'color':_0x2e2995},'stroke':{'lineStrokeType':_0x2d5ae1[_0x1cfff7(0x310)]['SolidLine'],'width':0x1,'color':_0x4966fe}},_0x41c02e=_0x5eedf9(_0x146fc1,_0x4b2eb3,_0x424180['paragraphMenuPlacement'])??_0x146fc1[_0x1cfff7(0x41e)](_0x52097a[_0x1cfff7(0x17f)])[_0x1cfff7(0x28e)]();if(!_0x41c02e)return!0x1;let _0x549414=_0x2862a3(_0xef2c0a,_0x41c02e);return _0x549414?!!_0x41a793[_0x1cfff7(0x216)](_0x397c2d['InsertDocShapeCommand']['id'],{'unitId':_0x4b2eb3,'shapeId':_0x4e5462,'shapeType':_0x424180['value'],'shapeData':_0x382fa6,'transform':{'width':_0x2ced37,'height':_0x275deb},'placement':{'wrappingStyle':_0xe167a4[_0x1cfff7(0x3e8)][_0x1cfff7(0x309)],'anchor':_0x549414}}):!0x1;}},_0x592432=_0x44da2a(0x19d),_0x1a1332=_0x44da2a(0x2da),_0x1eb480=_0x44da2a(0x1f0),_0xa6f102=(0x0,_0x199bc9[_0x44da2a(0x1ad)])(_0x44da2a(0x274)),_0x4c7158=_0x44da2a(0x3c4),_0x3ff923={'id':_0x44da2a(0x168),'type':_0x199bc9[_0x44da2a(0x2b3)]['COMMAND'],'handler':(_0x5c60dc,_0x2d18c4)=>{const _0x39c9af=_0x44da2a;let _0x210251=_0x5c60dc[_0x39c9af(0x41e)](_0x314b7e[_0x39c9af(0x3de)]),_0x190709=_0x5c60dc[_0x39c9af(0x41e)](_0x199bc9['LocaleService']),_0x335890=_0x5c60dc[_0x39c9af(0x41e)](_0x48b930[_0x39c9af(0x3be)]);return(_0x2d18c4==null?void 0x0:_0x2d18c4[_0x39c9af(0x38a)])==='close'?(_0x210251[_0x39c9af(0x2e1)](_0x1eb480),!0x0):(_0x210251[_0x39c9af(0x290)]({'id':_0x1eb480,'header':{'title':_0x190709['t'](_0x39c9af(0x228))},'children':{'label':_0x1eb480},'onClose':()=>{const _0x18ddf3=_0x39c9af;_0x335890[_0x18ddf3(0x37f)](null);},'width':0x168}),!0x0);}},_0x39ec2b={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x242),'handler'(){return!0x0;}};function _0x150e0b(_0x426d38){const _0x318c02=_0x44da2a;let _0x4ebbbc=_0x426d38['get'](_0x48b930['IDrawingManagerService'])[_0x318c02(0x3f0)](),_0x403bd5=_0x4ebbbc[_0x318c02(0x268)]===0x1?_0x4ebbbc[0x0]:null;if(!_0x403bd5||_0x403bd5[_0x318c02(0x408)]!==_0x199bc9[_0x318c02(0x1d9)][_0x318c02(0x418)])return null;let _0x19839c=_0x426d38[_0x318c02(0x41e)](_0x397c2d[_0x318c02(0x197)]),_0x262d44=_0x19839c[_0x318c02(0x2b2)](_0x403bd5[_0x318c02(0x1e0)],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]),_0x2aab99=_0x19839c['getShapeDataById'](_0x403bd5['unitId'],_0x403bd5[_0x318c02(0x3d5)],_0x403bd5[_0x318c02(0x3a1)]);return _0x262d44===void 0x0||!_0x2aab99?null:{'drawing':_0x403bd5,'shapeData':_0x2aab99,'shapeType':_0x262d44};}let _0x43474b={'id':_0x44da2a(0x32c),'type':_0x199bc9['CommandType'][_0x44da2a(0x1a7)],'handler':(_0x220acc,_0x5c4339)=>{const _0x194502=_0x44da2a;let _0x1f371e=_0x150e0b(_0x220acc),_0x2ffa10=(0x0,_0x377eec[_0x194502(0x318)])((_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x3eb)])??(_0x5c4339==null?void 0x0:_0x5c4339[_0x194502(0x38a)])??'');if(!_0x1f371e||!_0x2ffa10||_0x2ffa10[_0x194502(0x27f)]!==(0x0,_0x377eec[_0x194502(0x151)])(_0x1f371e['shapeData']))return!0x1;let _0x2d1ffb=(0x0,_0x377eec[_0x194502(0x2c5)])(_0x1f371e[_0x194502(0x261)],_0x2ffa10);if(!_0x2d1ffb)return!0x1;let {drawing:_0x561fc0}=_0x1f371e;return _0x220acc[_0x194502(0x41e)](_0x199bc9[_0x194502(0x250)])[_0x194502(0x24b)](_0x397c2d['UpdateDocShapeDataCommand']['id'],{'unitId':_0x561fc0[_0x194502(0x1e0)],'shapeId':_0x561fc0['drawingId'],'shapeData':_0x2d1ffb,'oldShapeJSON':{'oldShapeData':_0x1f371e[_0x194502(0x261)]}});}},_0x33706f={'id':_0x44da2a(0x1c2),'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'handler':(_0x1d276a,_0x5bf7ab)=>{const _0x3cb478=_0x44da2a;let _0x40f8bc=_0x150e0b(_0x1d276a),_0xcf28e0=(_0x5bf7ab==null?void 0x0:_0x5bf7ab['shapeType'])??(_0x5bf7ab==null?void 0x0:_0x5bf7ab[_0x3cb478(0x38a)]);if(!_0x40f8bc||!_0xcf28e0||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0x40f8bc[_0x3cb478(0x375)])||(0x0,_0x2d5ae1[_0x3cb478(0x34a)])(_0xcf28e0))return!0x1;let _0x5e512e=(0x0,_0x377eec[_0x3cb478(0x173)])(_0x40f8bc[_0x3cb478(0x261)],_0xcf28e0);if(!_0x5e512e)return!0x1;let {drawing:_0xfc2d79}=_0x40f8bc;return _0x1d276a['get'](_0x199bc9[_0x3cb478(0x250)])[_0x3cb478(0x24b)](_0x397c2d[_0x3cb478(0x3d3)]['id'],{'unitId':_0xfc2d79['unitId'],'shapeId':_0xfc2d79[_0x3cb478(0x3a1)],'shapeType':_0xcf28e0,'shapeData':_0x5e512e,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x40f8bc['shapeType'],'oldShapeData':_0x40f8bc[_0x3cb478(0x261)]}});}};function _0x57fca7(_0x1076f9,_0x144e5c){return function(_0x1aeab1,_0x287cc1){_0x144e5c(_0x1aeab1,_0x287cc1,_0x1076f9);};}function _0x5e6390(_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd){const _0x54cda0=_0x44da2a;var _0x23e9a6=arguments['length'],_0x54eec8=_0x23e9a6<0x3?_0x1fef76:_0x10c9bd===null?_0x10c9bd=Object['getOwnPropertyDescriptor'](_0x1fef76,_0x3d8449):_0x10c9bd,_0x4f2e9b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x54eec8=Reflect[_0x54cda0(0x28d)](_0xccf1ed,_0x1fef76,_0x3d8449,_0x10c9bd);else{for(var _0x1376a3=_0xccf1ed[_0x54cda0(0x268)]-0x1;_0x1376a3>=0x0;_0x1376a3--)(_0x4f2e9b=_0xccf1ed[_0x1376a3])&&(_0x54eec8=(_0x23e9a6<0x3?_0x4f2e9b(_0x54eec8):_0x23e9a6>0x3?_0x4f2e9b(_0x1fef76,_0x3d8449,_0x54eec8):_0x4f2e9b(_0x1fef76,_0x3d8449))||_0x54eec8);}return _0x23e9a6>0x3&&_0x54eec8&&Object[_0x54cda0(0x264)](_0x1fef76,_0x3d8449,_0x54eec8),_0x54eec8;}let _0x2f111e=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x45506d,_0x5ee876){const _0x3ebe7a=_0x44da2a;super(),this[_0x3ebe7a(0x40a)]=_0x45506d,this[_0x3ebe7a(0x201)]=_0x5ee876,this[_0x3ebe7a(0x368)](),this[_0x3ebe7a(0x40a)]['setCanUseShapeClip'](!0x0),this[_0x3ebe7a(0x19c)]({'dispose':()=>this[_0x3ebe7a(0x40a)][_0x3ebe7a(0x16c)](!0x1)});}[_0x44da2a(0x368)](){const _0x4971a2=_0x44da2a;let _0x1364e2=new Map(),_0x4e3eb2=this[_0x4971a2(0x40a)][_0x4971a2(0x34c)]((_0x59e3c0,_0x10e90d,_0xe323a7,_0x44537a,_0x2e5383)=>{const _0x1f5151=_0x4971a2;let _0x11a34f=_0x10e90d;if(_0x11a34f===_0x2d5ae1[_0x1f5151(0x226)][_0x1f5151(0x335)]||_0x10e90d==='custom')return!0x1;try{let _0x4e5a72=_0x1364e2[_0x1f5151(0x41e)](_0x10e90d);return _0x4e5a72||(_0x4e5a72=new _0x2d5ae1[(_0x1f5151(0x1ac))](_0x11a34f,_0x1f5151(0x240)+_0x10e90d),_0x1364e2[_0x1f5151(0x1a0)](_0x10e90d,_0x4e5a72)),_0x4e5a72[_0x1f5151(0x416)](),_0x2e5383&&Object[_0x1f5151(0x398)](_0x2e5383)['length']>0x0&&_0x4e5a72[_0x1f5151(0x2b0)]({'adjustValues':_0x2e5383},!0x0),_0x4e5a72[_0x1f5151(0x21c)]({'width':_0xe323a7,'height':_0x44537a}),_0x4e5a72[_0x1f5151(0x3d0)](_0x59e3c0,{'left':0x0,'top':0x0,'width':_0xe323a7,'height':_0x44537a});}catch{return!0x1;}});this['disposeWithMe'](_0x4e3eb2),this[_0x4971a2(0x19c)]({'dispose':()=>_0x1364e2['clear']()});}[_0x44da2a(0x391)](_0x3bfad4,_0x1cfd35,_0x2eefcd,_0x1d92e4,_0x5b1f6b){const _0x2965d6=_0x44da2a;let _0xbef18b=this[_0x2965d6(0x201)][_0x2965d6(0x26c)](_0x3bfad4,_0x1cfd35)[_0x2eefcd];!_0xbef18b||_0xbef18b[_0x2965d6(0x408)]!==_0x199bc9[_0x2965d6(0x1d9)][_0x2965d6(0x194)]||this[_0x2965d6(0x201)]['featurePluginUpdateNotification']([{..._0xbef18b,'prstGeom':_0x1d92e4,'adjustValues':_0x5b1f6b}]);}};_0x2f111e=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9['Inject'])(_0x1a42e8['DrawingImageClipService'])),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x48b930['IDrawingManagerService']))],_0x2f111e);let _0x3c9c56=_0x44da2a(0x244),_0x30ffe0=_0x44da2a(0x337);function _0x315139({onShapeClick:_0x14a5a0,excludeGroups:_0x1d1733}){const _0x2f81e6=_0x44da2a;return(0x0,_0x5c8576[_0x2f81e6(0x32d)])(_0x477995[_0x2f81e6(0x363)],{'excludeGroups':_0x1d1733,'onShapeClick':_0x14a5a0,'scrollContainer':'parent'});}function _0x178a63(){const _0x3675cf=_0x44da2a;let _0x116be5=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x48b930[_0x3675cf(0x3be)]),_0x4dc031=(0x0,_0x314b7e[_0x3675cf(0x3fe)])(_0x2f111e);return(0x0,_0x5c8576['jsx'])(_0x477995[_0x3675cf(0x296)],{'buttonLabel':_0x3675cf(0x186),'excludeGroups':[_0x477995[_0x3675cf(0x176)][_0x3675cf(0x2d3)]],'onShapeClick':_0x5af27=>{const _0xa4b851=_0x3675cf;let _0x4d8d00=_0x116be5[_0xa4b851(0x3f0)]()['find'](_0x2f1c4f=>_0x2f1c4f[_0xa4b851(0x408)]===_0x199bc9[_0xa4b851(0x1d9)][_0xa4b851(0x194)]);if(!_0x4d8d00)return;let {unitId:_0x595aed,subUnitId:_0x5f3049,drawingId:_0x528e80}=_0x4d8d00;_0x4dc031[_0xa4b851(0x391)](_0x595aed,_0x5f3049,_0x528e80,_0x5af27[_0xa4b851(0x27f)]);}});}function _0x19d137(){const _0x59b3aa=_0x44da2a;let _0x455f7f=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x314b7e['ComponentManager']),_0x39045=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x48b930[_0x59b3aa(0x3be)]),_0x9feb5c=(0x0,_0x314b7e[_0x59b3aa(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x11bb7a=_0x39045[_0x59b3aa(0x3f0)]()[0x0],_0x5f2276=_0x11bb7a?_0x9feb5c[_0x59b3aa(0x210)](_0x11bb7a[_0x59b3aa(0x1e0)]):void 0x0,_0x547b32=_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x171)]?_0x30ffe0:_0x5f2276===_0x199bc9[_0x59b3aa(0x31a)][_0x59b3aa(0x169)]?_0x59b3aa(0x2ad):void 0x0,_0x582809=_0x547b32?_0x455f7f[_0x59b3aa(0x41e)](_0x547b32):void 0x0;return _0x582809?(0x0,_0x5c8576[_0x59b3aa(0x32d)])(_0x582809,{}):null;}function _0x2fa4cd({paragraphMenuPlacement:_0x497581}){const _0x33866e=_0x44da2a;let _0x161c25=(0x0,_0x314b7e[_0x33866e(0x3fe)])(_0x199bc9[_0x33866e(0x250)]);return(0x0,_0x5c8576[_0x33866e(0x32d)])(_0x315139,{'onShapeClick':_0x5b80af=>{const _0x4d4af5=_0x33866e;_0x161c25[_0x4d4af5(0x24b)](_0x5e21da['id'],{'paragraphMenuPlacement':_0x497581,'value':_0x5b80af[_0x4d4af5(0x27f)],'enhanceParams':{'endArrow':_0x5b80af[_0x4d4af5(0x3a4)],'startArrow':_0x5b80af[_0x4d4af5(0x1b5)],'horizontal':_0x5b80af[_0x4d4af5(0x39a)],'vertical':_0x5b80af['vertical']}});}});}function _0x1e2c9e(_0x3b2b84){const _0x3528c9=_0x44da2a;return _0x54ad23=>({'id':_0x5e21da['id'],'type':_0x314b7e['MenuItemType'][_0x3528c9(0x1d6)],'selections':[{'label':{'name':_0x3c9c56,'hoverable':!0x1,'selectable':!0x1,'props':_0x3b2b84?{'id':_0x5e21da['id'],'paragraphMenuPlacement':_0x3b2b84}:{'id':_0x5e21da['id']}}}],'icon':'ShapeIcon','title':_0x3528c9(0x2c8),'tooltip':_0x3528c9(0x2c8),'hidden$':(0x0,_0x314b7e[_0x3528c9(0x183)])(_0x54ad23,_0x199bc9[_0x3528c9(0x31a)][_0x3528c9(0x171)])});}let _0x33ceb4=_0x1e2c9e(),_0x452a35=_0x1e2c9e(_0x44da2a(0x2aa)),_0x574355=_0x1e2c9e('target');function _0x2739d2(_0x1a85f2){const _0x491ba1=_0x44da2a;return{'id':_0x3ff923['id'],'type':_0x314b7e[_0x491ba1(0x206)][_0x491ba1(0x304)],'icon':_0x491ba1(0x287),'title':_0x491ba1(0x3a8),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x314b7e['getMenuHiddenObservable'])(_0x1a85f2,_0x199bc9[_0x491ba1(0x31a)]['UNIVER_DOC'])};}function _0x5d636b(_0x47c506,_0x41ac66,_0x548f6b,_0x1c257e,_0x55572d,_0x5c54f8){const _0x4abc83=_0x44da2a;let _0x4fa35e={'unitId':_0x41ac66,'shapeId':_0x1c257e,'shapeData':_0x5c54f8,'oldShapeJSON':_0x55572d};return _0x47c506[_0x4abc83(0x24b)](_0x397c2d[_0x4abc83(0x3d3)]['id'],_0x4fa35e);}function _0x12e5ff(_0x1059f2,_0x4962b0,_0x3e8778,_0x1a2d41,_0x125159,_0x137f72){const _0x375177=_0x44da2a;let _0x1931ce={'unitId':_0x4962b0,'shapeId':_0x1a2d41,'shapeData':_0x137f72,'oldShapeJSON':_0x125159};return _0x1059f2[_0x375177(0x24b)](_0x397c2d[_0x375177(0x3d3)]['id'],_0x1931ce);}let _0x6abc23='docs-shape-ui.shape-format.quick-style-gallery',_0x5348c1=_0x44da2a(0x285),_0x48d6e1=_0x44da2a(0x320),_0x8f688e='docs-shape-ui.shape-format.formula-ribbon-control';function _0x492a1e(){const _0x6f914f=_0x44da2a;let _0x28c0a2=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x199bc9[_0x6f914f(0x250)]),_0x2832b0=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x4d0e4b=(0x0,_0x314b7e[_0x6f914f(0x3fe)])(_0x397c2d['DocsShapeService']),_0x3e9000=()=>{const _0xba9090=_0x6f914f;var _0x2d2f7e;let _0x23ecbb=_0x2832b0[_0xba9090(0x3f0)]();if(_0x23ecbb[_0xba9090(0x268)]!==0x1||((_0x2d2f7e=_0x23ecbb[0x0])==null?void 0x0:_0x2d2f7e[_0xba9090(0x408)])!==_0x199bc9['DrawingTypeEnum']['DRAWING_SHAPE'])return null;let {unitId:_0x317f06,subUnitId:_0x3805ed,drawingId:_0x4e3086}=_0x23ecbb[0x0],_0x2a00e3=_0x4d0e4b[_0xba9090(0x2b2)](_0x317f06,_0x3805ed,_0x4e3086),_0x4431b0=_0x4d0e4b[_0xba9090(0x35b)](_0x317f06,_0x3805ed,_0x4e3086);return _0x2a00e3===void 0x0||!_0x4431b0?null:{'unitId':_0x317f06,'subUnitId':_0x3805ed,'drawingId':_0x4e3086,'shapeType':_0x2a00e3,'shapeData':_0x4431b0};},_0x4fa39e=(0x0,_0x314b7e[_0x6f914f(0x374)])(()=>new _0x259d9f[(_0x6f914f(0x33c))](_0x5ef8e6=>{const _0x12b60b=_0x6f914f;let _0x296d5f=()=>_0x5ef8e6[_0x12b60b(0x2a9)](_0x3e9000()),_0x15d9eb=_0x2832b0[_0x12b60b(0x1de)]['subscribe'](_0x296d5f),_0x439518=_0x28c0a2[_0x12b60b(0x289)](_0x394ebd=>{const _0x46ec01=_0x12b60b;_0x394ebd['id']===_0x397c2d[_0x46ec01(0x29e)]['id']&&_0x296d5f();});return _0x296d5f(),()=>{const _0x1b971a=_0x12b60b;_0x15d9eb[_0x1b971a(0x3c3)](),_0x439518['dispose']();};}),_0x3e9000(),!0x1,[_0x28c0a2,_0x4d0e4b,_0x2832b0]);return{'selection':_0x4fa39e,'updateShapeData':_0x31c884=>{const _0x5f0cc5=_0x6f914f;_0x4fa39e&&_0x5d636b(_0x28c0a2,_0x4fa39e[_0x5f0cc5(0x1e0)],_0x4fa39e['subUnitId'],_0x4fa39e[_0x5f0cc5(0x3a1)],{'oldShapeData':_0x4fa39e['shapeData']},_0x31c884);}};}function _0x358711(){const _0x5be485=_0x44da2a;let {selection:_0x2931d7,updateShapeData:_0x3dc8f1}=_0x492a1e();return _0x2931d7?(0x0,_0x5c8576['jsx'])(_0x477995[_0x5be485(0x3c6)],{'shapeData':_0x2931d7['shapeData'],'shapeType':_0x2931d7[_0x5be485(0x375)],'onUpdateShapeData':_0x3dc8f1}):null;}function _0x1a179f(){const _0x41e219=_0x44da2a;let _0x57c151=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9['ICommandService']),_0x42b31a=(0x0,_0x314b7e[_0x41e219(0x3fe)])(_0x199bc9[_0x41e219(0x36b)]),{selection:_0x129484}=_0x492a1e();return _0x129484?(0x0,_0x5c8576[_0x41e219(0x32d)])(_0x477995[_0x41e219(0x158)],{'type':(0x0,_0x377eec[_0x41e219(0x151)])(_0x129484[_0x41e219(0x261)]),'ariaLabel':_0x42b31a['t'](_0x41e219(0x19b)),'activePresetId':(0x0,_0x377eec[_0x41e219(0x190)])(_0x129484[_0x41e219(0x261)]),'onSelect':_0x116b75=>_0x57c151[_0x41e219(0x24b)](_0x43474b['id'],{'presetId':_0x116b75})}):null;}function _0x59fb0b(){const _0x31a706=_0x44da2a;let {selection:_0x1d3d8f,updateShapeData:_0x23fa5e}=_0x492a1e();return _0x1d3d8f?(0x0,_0x5c8576[_0x31a706(0x32d)])(_0x477995[_0x31a706(0x31d)],{'fontFamilyPopupDataComponent':_0x31a706(0x1c5),'shapeData':_0x1d3d8f[_0x31a706(0x261)],'onUpdateShapeData':_0x23fa5e}):null;}function _0x56bc1f(){const _0xbfd4f9=_0x44da2a;var _0x23c649;let {selection:_0x539efa,updateShapeData:_0x160a05}=_0x492a1e(),_0x54bdd6=(0x0,_0x477995[_0xbfd4f9(0x1c1)])({'hostType':_0x199bc9[_0xbfd4f9(0x31a)][_0xbfd4f9(0x171)],'unitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x1e0)])??'','subUnitId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3d5)])??'','shapeId':(_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x3a1)])??'','shapeData':_0x539efa==null?void 0x0:_0x539efa[_0xbfd4f9(0x261)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0xbfd4f9(0x277),'onUpdateBinding':_0x1935d4=>_0x160a05({'formulaBinding':_0x1935d4})}),_0x3da47e=((_0x23c649=_0x54bdd6[_0xbfd4f9(0x2a7)])==null?void 0x0:_0x23c649['flatMap'](_0x4b3586=>_0x4b3586[_0xbfd4f9(0x258)])[_0xbfd4f9(0x191)](_0x2a4a4b=>_0x2a4a4b[_0xbfd4f9(0x243)]!==!0x1))??[];return _0x539efa!=null&&_0x539efa[_0xbfd4f9(0x261)][_0xbfd4f9(0x2c7)]?(0x0,_0x5c8576[_0xbfd4f9(0x32d)])(_0x477995[_0xbfd4f9(0x327)],{'actions':_0x3da47e,'panel':_0x54bdd6['panel']}):null;}let _0x490874=_0x44da2a(0x3a2),_0x3c2bdc=_0x44da2a(0x37e),_0x3f6725=_0x44da2a(0x415),_0x34f752=_0x44da2a(0x237),_0x2a6ead=_0x44da2a(0x2e5),_0x2fc00a='docs-shape-ui.ribbon.shape-format.arrange-front',_0x3bbfba=_0x44da2a(0x41d);function _0x4976d0(_0x1b1eed){const _0x118fa3=_0x44da2a;let _0xb7e3a7=_0x1b1eed['get'](_0x199bc9[_0x118fa3(0x250)]),_0x1f5c99=_0x1b1eed[_0x118fa3(0x41e)](_0x48b930['IDrawingManagerService']),_0x4d8cb3=_0x1b1eed[_0x118fa3(0x41e)](_0x397c2d[_0x118fa3(0x197)]);return new _0x259d9f[(_0x118fa3(0x33c))](_0x2f157e=>{const _0x5c0596=_0x118fa3;let _0x1c5882=()=>{const _0x57a190=_0x3fe5;let _0x145ab4=_0x36af67(_0x1b1eed),_0x1704ae=_0x145ab4?_0x4d8cb3['getShapeDataById'](_0x145ab4[_0x57a190(0x1e0)],_0x145ab4['subUnitId'],_0x145ab4[_0x57a190(0x3a1)]):null;_0x2f157e[_0x57a190(0x2a9)](_0x1704ae?(0x0,_0x377eec[_0x57a190(0x190)])(_0x1704ae)??'':'');},_0x2228f7=_0x1f5c99[_0x5c0596(0x1de)][_0x5c0596(0x311)](_0x1c5882),_0x294c29=_0xb7e3a7[_0x5c0596(0x289)](_0x14b460=>{const _0x26161b=_0x5c0596;_0x14b460['id']===_0x397c2d[_0x26161b(0x29e)]['id']&&_0x1c5882();});return _0x1c5882(),()=>{const _0x5545a5=_0x5c0596;_0x2228f7[_0x5545a5(0x3c3)](),_0x294c29['dispose']();};});}function _0x36af67(_0x273afd){const _0x913f23=_0x44da2a;var _0x1b76c2;let _0x3fea2b=_0x273afd['get'](_0x48b930[_0x913f23(0x3be)])[_0x913f23(0x3f0)]();return _0x3fea2b['length']===0x1&&((_0x1b76c2=_0x3fea2b[0x0])==null?void 0x0:_0x1b76c2[_0x913f23(0x408)])===_0x199bc9[_0x913f23(0x1d9)][_0x913f23(0x418)]?_0x3fea2b[0x0]:null;}function _0x3d407(_0x43a972,_0x6673fa=!0x1){const _0x2d2455=_0x44da2a;let _0x5e71b4=_0x43a972[_0x2d2455(0x41e)](_0x199bc9[_0x2d2455(0x250)]),_0x1d102f=_0x43a972['get'](_0x48b930['IDrawingManagerService']),_0x5abb71=_0x43a972['get'](_0x397c2d['DocsShapeService']);return new _0x259d9f[(_0x2d2455(0x33c))](_0x7cb8be=>{const _0x23dc24=_0x2d2455;let _0x2abcb3=()=>{const _0x47a4d1=_0x3fe5;let _0x14ad97=_0x36af67(_0x43a972);if(!_0x14ad97){_0x7cb8be[_0x47a4d1(0x2a9)](!0x0);return;}let _0x24f47d=_0x5abb71['getShapeDataById'](_0x14ad97[_0x47a4d1(0x1e0)],_0x14ad97[_0x47a4d1(0x3d5)],_0x14ad97['drawingId']);_0x7cb8be['next'](!_0x24f47d||_0x6673fa&&_0x24f47d[_0x47a4d1(0x2c7)]==null);},_0x4f8feb=_0x1d102f[_0x23dc24(0x1de)]['subscribe'](_0x2abcb3),_0x3eab78=_0x5e71b4[_0x23dc24(0x289)](_0x1b93d6=>{const _0x562a17=_0x23dc24;_0x1b93d6['id']===_0x397c2d[_0x562a17(0x29e)]['id']&&_0x2abcb3();});return _0x2abcb3(),()=>{const _0x2fcaf8=_0x23dc24;_0x4f8feb['unsubscribe'](),_0x3eab78[_0x2fcaf8(0x396)]();};});}function _0x2f6714(_0x28f15a){const _0xb6c097=_0x44da2a;let _0xb6e3=_0x28f15a[_0xb6c097(0x41e)](_0x48b930[_0xb6c097(0x3be)]),_0x21b1f6=_0x28f15a[_0xb6c097(0x41e)](_0x397c2d[_0xb6c097(0x197)]);return _0xb6e3[_0xb6c097(0x1de)]['pipe']((0x0,_0x259d9f[_0xb6c097(0x3af)])(_0xb6e3[_0xb6c097(0x3f0)]()),(0x0,_0x259d9f[_0xb6c097(0x353)])(()=>{const _0x1b37c0=_0xb6c097;let _0x295d67=_0x36af67(_0x28f15a),_0xec94af=_0x295d67?_0x21b1f6[_0x1b37c0(0x2b2)](_0x295d67['unitId'],_0x295d67[_0x1b37c0(0x3d5)],_0x295d67[_0x1b37c0(0x3a1)]):void 0x0;return _0xec94af===void 0x0||(0x0,_0x2d5ae1[_0x1b37c0(0x34a)])(_0xec94af);}));}function _0x3c8418(_0x540cd6){const _0x1f9503=_0x44da2a;return{'id':_0x43474b['id'],'type':_0x314b7e[_0x1f9503(0x206)][_0x1f9503(0x1d6)],'icon':_0x1f9503(0x26d),'title':_0x1f9503(0x2f3),'tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x6abc23,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4976d0(_0x540cd6),'hidden$':_0x3d407(_0x540cd6)};}function _0xe9b5d9(_0x444fb){const _0x533f9f=_0x44da2a;return{'id':_0x33706f['id'],'type':_0x314b7e['MenuItemType'][_0x533f9f(0x1d6)],'icon':'ShapeIcon','title':'shape-editor-ui.toolbar.changeShape','tooltip':_0x533f9f(0x251),'slot':!0x0,'selections':[{'label':{'name':_0x477995['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x2f6714(_0x444fb)};}function _0x12c62(_0x22f2f5,_0x1a6fc7,_0x560a99=!0x1){const _0x3434d2=_0x44da2a;return _0x1d74bf=>({'id':_0x22f2f5,'type':_0x314b7e[_0x3434d2(0x206)]['BUTTON'],'label':{'name':_0x1a6fc7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x3d407(_0x1d74bf,_0x560a99)});}let _0x22f929=_0x12c62(_0x490874,_0x5348c1),_0x486567=_0x12c62(_0x3c2bdc,_0x48d6e1),_0x37ce74=_0x12c62(_0x3f6725,_0x8f688e,!0x0);function _0x34c854(_0x3c7a14,_0x4be7da,_0x3e8fed,_0xe84284){const _0x3edc3e=_0x44da2a;return _0x935c46=>({'id':_0x3c7a14,'commandId':_0xe167a4['SetDocDrawingArrangeCommand']['id'],'type':_0x314b7e[_0x3edc3e(0x206)]['BUTTON'],'icon':_0x3e8fed,'title':_0xe84284,'tooltip':_0xe84284,'hidden$':_0x3d407(_0x935c46),'params':()=>{const _0x4a21a9=_0x3edc3e;let _0x65e16a=_0x36af67(_0x935c46);return _0x65e16a?{'unitId':_0x65e16a[_0x4a21a9(0x1e0)],'subUnitId':_0x65e16a[_0x4a21a9(0x3d5)],'drawingIds':[_0x65e16a[_0x4a21a9(0x3a1)]],'arrangeType':_0x4be7da}:void 0x0;}});}let _0x38b802=_0x34c854(_0x34f752,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x387)],'MoveUpIcon',_0x44da2a(0x3ed)),_0x5b7fd1=_0x34c854(_0x2a6ead,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x322)],_0x44da2a(0x225),'shape-editor-ui.arrange.backward'),_0x486d0d=_0x34c854(_0x2fc00a,_0x199bc9['ArrangeTypeEnum'][_0x44da2a(0x3f9)],_0x44da2a(0x1a5),'shape-editor-ui.arrange.front'),_0x581ff6=_0x34c854(_0x3bbfba,_0x199bc9[_0x44da2a(0x3b7)][_0x44da2a(0x38e)],_0x44da2a(0x160),'shape-editor-ui.arrange.back');function _0x5b4087(_0x1a8bb8){const _0x3e34b2=_0x44da2a;return{'id':_0x39ec2b['id'],'type':_0x314b7e['MenuItemType'][_0x3e34b2(0x304)],'icon':_0x3e34b2(0x263),'title':_0x3e34b2(0x276),'tooltip':_0x3e34b2(0x276),'hidden$':_0x3d407(_0x1a8bb8),'params':()=>{const _0x2a538c=_0x3e34b2;let _0x420c61=_0x36af67(_0x1a8bb8);return _0x420c61?{'unitId':_0x420c61['unitId'],'subUnitId':_0x420c61[_0x2a538c(0x3d5)],'drawingId':_0x420c61[_0x2a538c(0x3a1)]}:void 0x0;}};}let _0x4dedef={[_0x314b7e[_0x44da2a(0x376)]['RIBBON']]:{[_0x1a1332]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x43474b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3c8418},[_0x33706f['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xe9b5d9}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x490874]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x22f929}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x3c2bdc]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x486567}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x34f752]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x38b802},[_0x2a6ead]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x5b7fd1},[_0x2fc00a]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x486d0d},[_0x3bbfba]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x581ff6}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x3f6725]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x37ce74}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39ec2b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5b4087},[_0x477995['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x477995['ShapeFloatingToolbarToggleFactory']}}}}},_0x5587fb={[_0x314b7e[_0x44da2a(0x1b3)][_0x44da2a(0x381)]]:{[_0x5e21da['id']]:{'order':0x4,'menuItemFactory':_0x4552f5=>({..._0x33ceb4(_0x4552f5),'title':void 0x0})}},[_0x314b7e[_0x44da2a(0x1b3)]['OTHERS']]:{[_0x3ff923['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2739d2}},[_0x314b7e[_0x44da2a(0x3b0)][_0x44da2a(0x395)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0xadaed7[_0x44da2a(0x31e)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x452a35}}},[_0xadaed7[_0x44da2a(0x352)]]:{[_0x314b7e[_0x44da2a(0x2e9)][_0x44da2a(0x2a3)]]:{[_0x5e21da['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x574355}}},[_0xadaed7[_0x44da2a(0x29f)]]:{'insert':{[_0x5e21da['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x33ceb4}}},[_0xadaed7[_0x44da2a(0x3fc)]]:{'insert':{[_0x5e21da['id']+_0x44da2a(0x315)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x452a35}}}}};var _0x5539cb=_0x44da2a(0x2c4),_0x2041b4=_0x44da2a(0x1b2);let _0x36cd5a={'type':_0x199bc9[_0x44da2a(0x2b3)][_0x44da2a(0x1a7)],'id':_0x44da2a(0x253),'handler'(){return!0x0;}},_0x13277c={};function _0x4926e7({ref:_0x54cd4c,..._0x3cd8b4}){const _0x3df86b=_0x44da2a;let {icon:_0x3908c3,id:_0x4a8fb5,className:_0x1ae666,extend:_0x133af1,..._0x1724e9}=_0x3cd8b4,_0x5bc56e=('univerjs-icon\x20univerjs-icon-'+_0x4a8fb5+'\x20'+(_0x1ae666||''))[_0x3df86b(0x3cc)](),_0x8c6a08=(0x0,_0x3c5464[_0x3df86b(0x211)])('_'+_0x5066e7());return _0x310bc2(_0x3908c3,''+_0x4a8fb5,{'defIds':_0x3908c3['defIds'],'idSuffix':_0x8c6a08[_0x3df86b(0x1cd)]},{'ref':_0x54cd4c,'className':_0x5bc56e,..._0x1724e9},_0x133af1);}function _0x310bc2(_0x43191a,_0x34d4a6,_0x4aeea2,_0x52535a,_0x55b62b){const _0x3d5d01=_0x44da2a;return(0x0,_0x3c5464[_0x3d5d01(0x2ea)])(_0x43191a[_0x3d5d01(0x404)],{'key':_0x34d4a6,..._0x441726(_0x43191a,_0x4aeea2,_0x55b62b),..._0x52535a},(_0x3bf59e(_0x43191a,_0x4aeea2)[_0x3d5d01(0x34d)]||[])[_0x3d5d01(0x353)]((_0x18db06,_0x5c8572)=>_0x310bc2(_0x18db06,_0x34d4a6+'-'+_0x43191a[_0x3d5d01(0x404)]+'-'+_0x5c8572,_0x4aeea2,void 0x0,_0x55b62b)));}function _0x441726(_0x379cf7,_0x18937c,_0x22bf5d){const _0x56c1aa=_0x44da2a;let _0x303efd={..._0x379cf7[_0x56c1aa(0x1ba)]};_0x22bf5d!=null&&_0x22bf5d['colorChannel1']&&_0x303efd[_0x56c1aa(0x1c7)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x1c7)]=_0x22bf5d[_0x56c1aa(0x165)]),_0x22bf5d!=null&&_0x22bf5d[_0x56c1aa(0x165)]&&_0x303efd[_0x56c1aa(0x2eb)]==='colorChannel1'&&(_0x303efd[_0x56c1aa(0x2eb)]=_0x22bf5d['colorChannel1']),_0x379cf7[_0x56c1aa(0x404)]===_0x56c1aa(0x316)&&_0x303efd['id']&&(_0x303efd['id']+=_0x18937c[_0x56c1aa(0x3b4)]),Object[_0x56c1aa(0x2bc)](_0x303efd)[_0x56c1aa(0x3c9)](([_0x1ef7ec,_0x28a7ad])=>{const _0x3e51e1=_0x56c1aa;_0x1ef7ec===_0x3e51e1(0x316)&&typeof _0x28a7ad=='string'&&(_0x303efd[_0x1ef7ec]=_0x28a7ad[_0x3e51e1(0x23f)](/url\(#(.*)\)/,'url(#$1'+_0x18937c['idSuffix']+')'));});let {defIds:_0x54ff94}=_0x18937c;return!_0x54ff94||_0x54ff94[_0x56c1aa(0x268)]===0x0?_0x303efd:(_0x379cf7[_0x56c1aa(0x404)]==='use'&&_0x303efd[_0x56c1aa(0x39b)]&&(_0x303efd['xlink:href']+=_0x18937c['idSuffix']),Object[_0x56c1aa(0x2bc)](_0x303efd)['forEach'](([_0x46168b,_0x57792e])=>{const _0x26fab7=_0x56c1aa;typeof _0x57792e==_0x26fab7(0x31c)&&(_0x303efd[_0x46168b]=_0x57792e['replace'](/url\(#(.*)\)/,_0x26fab7(0x17d)+_0x18937c[_0x26fab7(0x3b4)]+')'));}),_0x303efd);}function _0x3bf59e(_0x845959,_0x1eb23a){const _0x51dde1=_0x44da2a;var _0x9cd8f0;let {defIds:_0x4c3d50}=_0x1eb23a;return!_0x4c3d50||_0x4c3d50[_0x51dde1(0x268)]===0x0?_0x845959:_0x845959['tag']==='defs'&&(_0x9cd8f0=_0x845959[_0x51dde1(0x34d)])!=null&&_0x9cd8f0[_0x51dde1(0x268)]?{..._0x845959,'children':_0x845959[_0x51dde1(0x34d)]['map'](_0x9e056a=>typeof _0x9e056a['attrs']['id']==_0x51dde1(0x31c)&&_0x4c3d50&&_0x4c3d50[_0x51dde1(0x2dd)](_0x9e056a[_0x51dde1(0x1ba)]['id'])?{..._0x9e056a,'attrs':{..._0x9e056a[_0x51dde1(0x1ba)],'id':_0x9e056a[_0x51dde1(0x1ba)]['id']+_0x1eb23a['idSuffix']}}:_0x9e056a)}:_0x845959;}function _0x5066e7(){const _0x21a5d1=_0x44da2a;return Math[_0x21a5d1(0x1e6)]()['toString'](0x24)[_0x21a5d1(0x18a)](0x2,0x8);}_0x4926e7[_0x44da2a(0x357)]=_0x44da2a(0x1ed);let _0x58b59d={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x278),'fillRule':'evenodd','clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x280),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x44da2a(0x305)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x20e)}}]},_0x7068a8=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1ad9e1,_0x14ed56){const _0x28b8b2=_0x44da2a;return(0x0,_0x3c5464[_0x28b8b2(0x2ea)])(_0x4926e7,Object[_0x28b8b2(0x1ef)]({},_0x1ad9e1,{'id':_0x28b8b2(0x189),'ref':_0x14ed56,'icon':_0x58b59d}));});_0x7068a8[_0x44da2a(0x357)]='BottomIcon';let _0x19bdaa={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x1b7),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x27d)}}]},_0x2fdeff=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x4c6e46,_0x391d68){const _0x1416bd=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4c6e46,{'id':_0x1416bd(0x413),'ref':_0x391d68,'icon':_0x19bdaa}));});_0x2fdeff[_0x44da2a(0x357)]=_0x44da2a(0x225);let _0x2e9fba={'tag':'svg','attrs':{'xmlns':_0x44da2a(0x30d),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x44da2a(0x2ef)},'children':[{'tag':'path','attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x369),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':'M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z'}}]},_0x3ff74f=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x3ba95d,_0x230b5f){return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x3ba95d,{'id':'move-up-icon','ref':_0x230b5f,'icon':_0x2e9fba}));});_0x3ff74f[_0x44da2a(0x357)]=_0x44da2a(0x409);let _0x3acfea={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':'round','strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x2af),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.3}}]},_0x53ffa2=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x1921cd,_0x1a0d2e){const _0x5ef1eb=_0x44da2a;return(0x0,_0x3c5464[_0x5ef1eb(0x2ea)])(_0x4926e7,Object[_0x5ef1eb(0x1ef)]({},_0x1921cd,{'id':_0x5ef1eb(0x3b2),'ref':_0x1a0d2e,'icon':_0x3acfea}));});_0x53ffa2[_0x44da2a(0x357)]='ObjectLayersIcon';let _0x5c2a62={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x248),'width':_0x44da2a(0x2ef),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x288),'strokeLinecap':_0x44da2a(0x2b8),'strokeLinejoin':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24d),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':_0x44da2a(0x24c),'strokeLinecap':_0x44da2a(0x2b8),'strokeWidth':1.2}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':_0x44da2a(0x2b8)}},{'tag':_0x44da2a(0x379),'attrs':{'stroke':_0x44da2a(0x2fe),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x4e409e=(0x0,_0x3c5464[_0x44da2a(0x2dc)])(function(_0x53971d,_0x1a2b63){const _0x4cb976=_0x44da2a;return(0x0,_0x3c5464[_0x4cb976(0x2ea)])(_0x4926e7,Object['assign']({},_0x53971d,{'id':_0x4cb976(0x167),'ref':_0x1a2b63,'icon':_0x5c2a62}));});_0x4e409e[_0x44da2a(0x357)]=_0x44da2a(0x263);let _0x3021dc={'tag':_0x44da2a(0x260),'attrs':{'xmlns':_0x44da2a(0x30d),'fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x229),'width':'1em','height':'1em'},'children':[{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x2a8),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x44da2a(0x2fe),'rx':0.6}},{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x2e4),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}}]},_0x2a5b35=(0x0,_0x3c5464['forwardRef'])(function(_0x4abb29,_0x9c5f2){const _0x38f0d9=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object['assign']({},_0x4abb29,{'id':_0x38f0d9(0x3f7),'ref':_0x9c5f2,'icon':_0x3021dc}));});_0x2a5b35[_0x44da2a(0x357)]='TextWrapShapeIcon';let _0x376c32={'tag':_0x44da2a(0x260),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x44da2a(0x338),'viewBox':_0x44da2a(0x2b6),'width':_0x44da2a(0x2ef),'height':_0x44da2a(0x2ef)},'children':[{'tag':_0x44da2a(0x379),'attrs':{'fill':'currentColor','d':_0x44da2a(0x394)}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x257),'fillRule':_0x44da2a(0x1f5),'clipRule':'evenodd'}},{'tag':_0x44da2a(0x379),'attrs':{'fill':_0x44da2a(0x2fe),'d':_0x44da2a(0x334),'fillRule':_0x44da2a(0x1f5),'clipRule':_0x44da2a(0x1f5)}}]},_0x23d310=(0x0,_0x3c5464['forwardRef'])(function(_0x109207,_0x433897){const _0x55cccf=_0x44da2a;return(0x0,_0x3c5464['createElement'])(_0x4926e7,Object[_0x55cccf(0x1ef)]({},_0x109207,{'id':_0x55cccf(0x33d),'ref':_0x433897,'icon':_0x376c32}));});_0x23d310['displayName']=_0x44da2a(0x1a5);function _0xd428e7(_0x26fe47){const _0x57afe8=_0x44da2a;return _0x26fe47[_0x57afe8(0x3cc)]()||void 0x0;}function _0x37d8b3(_0x3830ab,_0xa0b43b,_0x5f3936){const _0x4595ca=_0x44da2a;var _0x3e6b2c,_0x2e49f0;return((_0x3e6b2c=_0x3830ab[_0x4595ca(0x3e3)])==null?void 0x0:_0x3e6b2c[_0x4595ca(0x3cc)]())||((_0x2e49f0=_0x3830ab[_0x4595ca(0x17e)])==null?void 0x0:_0x2e49f0[_0x4595ca(0x3cc)]())||(0x0,_0x1a42e8[_0x4595ca(0x156)])(_0x5f3936,(0x0,_0x477995[_0x4595ca(0x39c)])(_0x3830ab[_0x4595ca(0x408)]))+'\x20'+(_0xa0b43b+0x1);}function _0x1d884a(){const _0x15268f=_0x44da2a;let _0x42e391=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x36b)]),_0x4c62d9=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9[_0x15268f(0x250)]),_0x391005=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x199bc9['IUniverInstanceService']),_0x4b11f8=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0xe167a4[_0x15268f(0x1bb)]),_0x5a74fa=(0x0,_0x314b7e[_0x15268f(0x3fe)])(_0x48b930['IDrawingManagerService']),_0x57408c=(0x0,_0x314b7e['useDependency'])(_0x4bd9c2[_0x15268f(0x3f8)]),[,_0x4f4659]=(0x0,_0x3c5464['useReducer'])(_0x48d893=>_0x48d893+0x1,0x0),_0x24fd8f=_0x391005['getCurrentUnitOfType'](_0x199bc9[_0x15268f(0x31a)][_0x15268f(0x171)]),_0x57e812=(_0x24fd8f==null?void 0x0:_0x24fd8f['getUnitId']())??'',_0x4a137f=_0x57e812,_0x2e3465=(0x0,_0x314b7e[_0x15268f(0x374)])(()=>_0x5a74fa[_0x15268f(0x1de)],_0x5a74fa['getFocusDrawings'](),!0x1,[_0x5a74fa]);(0x0,_0x3c5464[_0x15268f(0x2b9)])(()=>{const _0x3e910a=_0x15268f;let _0x2a5f12=_0x4c62d9[_0x3e910a(0x289)](()=>_0x4f4659());return()=>_0x2a5f12['dispose']();},[_0x4c62d9]);let _0x39442b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(0x0,_0x1a42e8[_0x15268f(0x39d)])(_0x42e391),[_0x42e391]),_0x36ecc4=_0x57e812?_0x4b11f8[_0x15268f(0x26c)](_0x57e812,_0x4a137f):{},_0x3df296=(_0x57e812?_0x4b11f8[_0x15268f(0x3ba)](_0x57e812,_0x4a137f):[])[_0x15268f(0x353)](_0xd7b64e=>_0x36ecc4[_0xd7b64e])[_0x15268f(0x191)](_0x4ab76c=>!!_0x4ab76c)[_0x15268f(0x3e7)](),_0x31a1ca=_0x3df296[_0x15268f(0x1d1)]((_0x2255ed,_0x1f9d76)=>(_0x2255ed[(0x0,_0x1a42e8[_0x15268f(0x266)])(_0x1f9d76['drawingType'])]+=0x1,_0x2255ed),{'canvas':0x0,'floating':0x0}),_0x2f3217={'canvas':0x0,'floating':0x0},_0xb2c3dc=_0x3df296[_0x15268f(0x353)]((_0x27c451,_0x5ac173)=>{const _0x1f42ae=_0x15268f;let _0x22abd1=(0x0,_0x1a42e8['getObjectListPanelSectionIdForDrawingType'])(_0x27c451[_0x1f42ae(0x408)]),_0x2d8abb=_0x22abd1===_0x1a42e8[_0x1f42ae(0x234)],_0x432c71=_0x2f3217[_0x22abd1]++;return{'id':_0x27c451['drawingId'],'name':_0x37d8b3(_0x27c451,_0x5ac173,_0x42e391),'description':_0x27c451[_0x1f42ae(0x354)],'visible':_0x27c451[_0x1f42ae(0x25d)]!==!0x0,'selectable':_0x27c451[_0x1f42ae(0x300)]!==!0x1,'sectionId':_0x22abd1,'sectionTitle':_0x2d8abb?_0x39442b['sectionFloating']:_0x39442b[_0x1f42ae(0x1aa)],'capabilities':_0x2d8abb?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x2d8abb&&_0x432c71>0x0,'canMoveBackward':!_0x2d8abb&&_0x432c71<_0x31a1ca['canvas']-0x1,'canReorder':!_0x2d8abb};}),_0x23b00b=(0x0,_0x3c5464[_0x15268f(0x20c)])(()=>(_0x2e3465??[])[_0x15268f(0x191)](_0x35ccd8=>_0x35ccd8[_0x15268f(0x1e0)]===_0x57e812&&_0x35ccd8['subUnitId']===_0x4a137f)['map'](_0xc2d51f=>_0xc2d51f['drawingId']),[_0x2e3465,_0x4a137f,_0x57e812]),_0x3bdfa9=_0x23b00b[_0x23b00b[_0x15268f(0x268)]-0x1]??null,_0x3e1859=_0x59192a=>_0x4b11f8[_0x15268f(0x302)]({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x59192a})??null,_0x3a16e0=async _0x5877e1=>{const _0x19f794=_0x15268f;!_0x57e812||!_0x5877e1[_0x19f794(0x268)]||await _0x4c62d9['executeCommand'](_0x397c2d[_0x19f794(0x299)]['id'],{'unitId':_0x57e812,'patches':_0x5877e1});},_0x4196ad=(_0xe007d2,_0x4d95a8)=>{const _0x73b9ef=_0x15268f;if(!_0x57e812)return;let _0x28a52d=_0x4d95a8?_0x23b00b['includes'](_0xe007d2)?_0x23b00b[_0x73b9ef(0x191)](_0x5a60dc=>_0x5a60dc!==_0xe007d2):[..._0x23b00b,_0xe007d2]:[_0xe007d2];_0x4c62d9['syncExecuteCommand'](_0x48b930[_0x73b9ef(0x1c0)]['id'],_0x28a52d[_0x73b9ef(0x353)](_0x4a85fd=>({'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4a85fd})));let _0x4cb0c3=_0x28a52d[_0x28a52d['length']-0x1];_0x4cb0c3?(0x0,_0x477995['activateDrawingObject'])(_0x57408c,{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingId':_0x4cb0c3}):(0x0,_0x477995[_0x73b9ef(0x306)])(_0x57408c,_0x57e812);},_0x31c91d=async(_0xbaf95d,_0x5ebab3)=>{const _0x57b555=_0x15268f;await _0x3a16e0(_0xbaf95d['map'](_0x1f1b37=>_0x3e1859(_0x1f1b37))[_0x57b555(0x191)](_0xe5561c=>!!_0xe5561c)[_0x57b555(0x191)](_0x22a456=>_0x22a456[_0x57b555(0x25d)]!==!0x0!==_0x5ebab3)['map'](_0x1ad350=>({'drawingId':_0x1ad350[_0x57b555(0x3a1)],'hidden':!_0x5ebab3})));},_0x530ee9=async _0x963c2f=>{let _0x2b3f0e=_0x3e1859(_0x963c2f);_0x2b3f0e&&await _0x3a16e0([{'drawingId':_0x963c2f,'selectable':_0x2b3f0e['selectable']===!0x1&&void 0x0}]);},_0x4d55ff=async(_0x1d904f,_0x55dfcc)=>{const _0x4fceab=_0x15268f;let _0x5e2ebb=_0x3e1859(_0x1d904f),_0x2db583=_0xd428e7(_0x55dfcc);!_0x5e2ebb||(_0x5e2ebb[_0x4fceab(0x3e3)]??void 0x0)===_0x2db583&&(_0x5e2ebb[_0x4fceab(0x17e)]||void 0x0)===_0x2db583||await _0x3a16e0([{'drawingId':_0x1d904f,'name':_0x2db583,'title':_0x2db583}]);},_0x39a94d=async(_0x18f0a8,_0x1a9d83)=>{let _0x7aad0d=_0x3e1859(_0x18f0a8),_0x562ef5=_0xd428e7(_0x1a9d83);!_0x7aad0d||(_0x7aad0d['description']??void 0x0)===_0x562ef5||await _0x3a16e0([{'drawingId':_0x18f0a8,'description':_0x562ef5}]);},_0x640aa4=async(_0x33adfd,_0x4fcccf)=>{const _0x395c99=_0x15268f;_0x57e812&&await _0x4c62d9[_0x395c99(0x24b)](_0xe167a4[_0x395c99(0x3c7)]['id'],{'unitId':_0x57e812,'subUnitId':_0x4a137f,'drawingIds':[_0x33adfd],'arrangeType':_0x4fcccf});};return _0x57e812?(0x0,_0x5c8576['jsx'])(_0x1a42e8[_0x15268f(0x2c9)],{'items':_0xb2c3dc,'selectedIds':_0x23b00b,'focusedId':_0x3bdfa9,'labels':_0x39442b,'onSelect':_0x4196ad,'onSetVisible':_0x31c91d,'onCommitName':_0x4d55ff,'onCommitDescription':_0x39a94d,'onMoveForward':async _0xe538ea=>_0x640aa4(_0xe538ea,_0x199bc9[_0x15268f(0x3b7)][_0x15268f(0x387)]),'onMoveBackward':async _0x35c215=>_0x640aa4(_0x35c215,_0x199bc9['ArrangeTypeEnum']['backward']),'onToggleSelectable':_0x530ee9}):(0x0,_0x5c8576[_0x15268f(0x32d)])(_0x15268f(0x328),{'className':_0x15268f(0x273),'children':_0x39442b[_0x15268f(0x17e)]});}let _0xd26b4b=class{constructor(_0x2171f5){const _0x1bfcbd=_0x44da2a;this[_0x1bfcbd(0x275)]=_0x2171f5;}[_0x44da2a(0x1db)](_0x2c29a5,_0xfd99c6){const _0x17a8a7=_0x44da2a;let _0x1ca671=this[_0x17a8a7(0x275)]['getRenderUnitById'](_0x2c29a5[_0x17a8a7(0x1e0)]),_0x16a126=_0x1ca671==null?void 0x0:_0x1ca671[_0x17a8a7(0x20a)];if(!_0x16a126)return;let _0x3834ca=(0x0,_0x48b930[_0x17a8a7(0x2a0)])(_0x2c29a5),_0x27f1e7=_0x16a126['getObjectIncludeInGroup'](_0x3834ca);_0x27f1e7==null||_0x27f1e7['setFillImage'](_0xfd99c6);}};_0xd26b4b=_0x5e6390([_0x57fca7(0x0,_0x4bd9c2[_0x44da2a(0x3f8)])],_0xd26b4b);function _0x43cfb9(){const _0x39a581=_0x44da2a;let _0x4cd8b3=(0x0,_0x314b7e[_0x39a581(0x3fe)])(_0x48b930[_0x39a581(0x3be)]),_0x28dc1d=(0x0,_0x314b7e[_0x39a581(0x374)])(()=>_0x4cd8b3[_0x39a581(0x1de)],_0x4cd8b3['getFocusDrawings'](),!0x1,[_0x4cd8b3]);return _0x28dc1d[_0x39a581(0x268)]===0x0?null:(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x39a581(0x328),{'children':(0x0,_0x5c8576[_0x39a581(0x15a)])(_0x39a581(0x328),{'className':_0x39a581(0x33a),'children':[(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x1a42e8[_0x39a581(0x348)],{'drawings':_0x28dc1d,'hasCropper':!0x1}),(0x0,_0x5c8576[_0x39a581(0x32d)])(_0x14557e[_0x39a581(0x19a)],{'drawings':_0x28dc1d}),(0x0,_0x5c8576['jsx'])(_0x14557e[_0x39a581(0x1bd)],{'drawings':_0x28dc1d})]})});}function _0x57f2a3(_0x3d3bf5){const _0x2421bf=_0x44da2a;let {unitId:_0x425aad,subUnitId:_0x315de5,shapeId:_0x2d0bc0}=_0x3d3bf5,_0x318f8d=(0x0,_0x314b7e['useDependency'])(_0x199bc9['ICommandService']),_0x57a870=(0x0,_0x314b7e[_0x2421bf(0x3fe)])(_0xd26b4b);return(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x477995[_0x2421bf(0x2a5)],{..._0x3d3bf5,'positionEditor':(0x0,_0x5c8576[_0x2421bf(0x32d)])(_0x43cfb9,{}),'onUpdateShapeData':(_0x531431,_0x11b696)=>{_0x5d636b(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x531431,_0x11b696);},'onUpdateLineShapeData':(_0x3d0682,_0x40d3da)=>{_0x12e5ff(_0x318f8d,_0x425aad,_0x315de5,_0x2d0bc0,_0x3d0682,_0x40d3da);},'onUpdateShapeFillImage':_0x327dec=>{_0x57a870['updateShapeFillImage']({'unitId':_0x425aad,'subUnitId':_0x315de5,'drawingId':_0x2d0bc0},_0x327dec);}});}let _0x9b7e0c=_0x44da2a(0x40e);function _0x189cbc(_0xffdd53,_0x2f0e45){const _0x3215fd=_0x44da2a;var _0x50b142;let _0x262584=_0xffdd53==null||(_0x50b142=_0xffdd53[_0x3215fd(0x1a9)]()['drawings'])==null?void 0x0:_0x50b142[_0x2f0e45];return _0x262584?_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x236)]?_0x262584[_0x3215fd(0x18e)]===_0x199bc9[_0x3215fd(0x1f1)]['TRUE']?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x3ae)]:_0xe167a4[_0x3215fd(0x3e8)]['IN_FRONT_OF_TEXT']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9['PositionedObjectLayoutType'][_0x3215fd(0x1fd)]?_0xe167a4['TextWrappingStyle']['WRAP_SQUARE']:_0x262584[_0x3215fd(0x1e1)]===_0x199bc9[_0x3215fd(0x1ff)][_0x3215fd(0x344)]?_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x344)]:_0xe167a4[_0x3215fd(0x3e8)][_0x3215fd(0x309)]:_0xe167a4[_0x3215fd(0x3e8)]['INLINE'];}function _0x225e8d(_0x22250e){const _0x21a7f2=_0x44da2a;let _0x271eab=(0x0,_0x314b7e[_0x21a7f2(0x3fe)])(_0x477995[_0x21a7f2(0x33b)]),_0x261201=(0x0,_0x314b7e['useObservable'])(()=>_0x271eab['visible$'],_0x271eab[_0x21a7f2(0x367)](),!0x1,[_0x271eab]),_0x1d4597=_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x3ef)];return _0x261201?(0x0,_0x5c8576['jsx'])(_0x371934,{..._0x1d4597,'canvasElement':_0x22250e[_0x21a7f2(0x163)][_0x21a7f2(0x359)]}):null;}function _0x371934(_0x5afbf0){const _0x13f1b1=_0x44da2a;let _0x2246c2=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x250)]),_0x47fe27=(0x0,_0x314b7e['useDependency'])(_0x199bc9[_0x13f1b1(0x36b)]),_0x393b6d=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x397c2d[_0x13f1b1(0x197)]),_0xc653b0=(0x0,_0x314b7e[_0x13f1b1(0x3fe)])(_0x199bc9[_0x13f1b1(0x3fd)]),{unitId:_0x1bbd56,subUnitId:_0x31d3a4,drawingId:_0xeea4a4,shapeType:_0x313aa8}=_0x5afbf0,[_0x3ff75f,_0x2af2b1]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(_0x5afbf0['shapeData']),_0x8ca991=_0xc653b0[_0x13f1b1(0x199)](_0x1bbd56,_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)])??void 0x0,[_0xaa49d1,_0x3f73d0]=(0x0,_0x3c5464[_0x13f1b1(0x333)])(()=>_0x189cbc(_0x8ca991,_0xeea4a4)),_0x5f4465=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x200)])(_0x3ff75f),[_0x3ff75f]),_0x21196e=(0x0,_0x3c5464[_0x13f1b1(0x20c)])(()=>(0x0,_0x477995[_0x13f1b1(0x1a2)])(_0x3ff75f),[_0x3ff75f]);(0x0,_0x3c5464[_0x13f1b1(0x2b9)])(()=>{const _0x166a94=_0x13f1b1;let _0x47b615=_0x2246c2[_0x166a94(0x289)](_0x4d1ea9=>{const _0x5ba88a=_0x166a94;if(_0x4d1ea9['id']!==_0x397c2d[_0x5ba88a(0x29e)]['id'])return;let _0xde50a2=_0x393b6d[_0x5ba88a(0x35b)](_0x1bbd56,_0x31d3a4,_0xeea4a4);_0xde50a2&&_0x2af2b1(_0xde50a2);});return()=>_0x47b615['dispose']();},[_0x2246c2,_0x393b6d,_0xeea4a4,_0x31d3a4,_0x1bbd56]);let _0x5bdc5b=_0x2f0935=>{_0x2af2b1(_0x1b1963=>({..._0x1b1963,..._0x2f0935}));},_0xc1fb54=_0x569933=>{const _0x4af034=_0x13f1b1;let _0x8b581f=(0x0,_0x477995[_0x4af034(0x2f0)])(_0x3ff75f,_0x569933);_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'shapeText':_0x3ff75f[_0x4af034(0x185)]}},_0x8b581f),_0x5bdc5b(_0x8b581f);},_0x3a9358=_0x1de8a2=>{const _0x5f06d9=_0x13f1b1;_0x3f73d0(_0x1de8a2),_0x2246c2[_0x5f06d9(0x24b)](_0xe167a4['UpdateDocDrawingWrappingStyleCommand']['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}],'wrappingStyle':_0x1de8a2});},_0xd44c5=(0x0,_0x477995[_0x13f1b1(0x1c1)])({'hostType':_0x199bc9[_0x13f1b1(0x31a)][_0x13f1b1(0x171)],'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'shapeId':_0xeea4a4,'shapeData':_0x3ff75f,'onUpdateBinding':_0xd3adfe=>{let _0x5788b4={'formulaBinding':_0xd3adfe};_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,{'oldShapeData':{'formulaBinding':_0x3ff75f['formulaBinding']}},_0x5788b4),_0x5bdc5b(_0x5788b4);}}),_0x1c2917=[{'label':_0x47fe27['t'](_0x13f1b1(0x2d6)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x309)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x281)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x1fd)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x282)),'value':_0xe167a4['TextWrappingStyle'][_0x13f1b1(0x344)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x19e)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x3ae)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})},{'label':_0x47fe27['t'](_0x13f1b1(0x3aa)),'value':_0xe167a4[_0x13f1b1(0x3e8)][_0x13f1b1(0x246)],'icon':(0x0,_0x5c8576[_0x13f1b1(0x32d)])(_0x2a5b35,{})}];return(0x0,_0x5c8576[_0x13f1b1(0x15a)])(_0x5c8576[_0x13f1b1(0x2ee)],{'children':[(0x0,_0x5c8576['jsx'])(_0x477995[_0x13f1b1(0x331)],{'canvasElement':_0x5afbf0['canvasElement'],'shapeData':_0x3ff75f,'shapeType':_0x313aa8,'textStyle':{'ff':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)][_0x13f1b1(0x382)],'fs':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x185)]['fontSize'],'cl':{'rgb':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x185)][_0x13f1b1(0x1b1)]},..._0x5f4465},'textModel':_0x21196e?{'ha':_0x21196e['ha']??_0x199bc9[_0x13f1b1(0x1cc)][_0x13f1b1(0x2ce)],'va':_0x21196e['va']??_0x199bc9['VerticalAlign'][_0x13f1b1(0x35d)]}:null,'wrappingStyle':_0xaa49d1,'wrappingStyleOptions':_0x1c2917,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x1c7)],'defaultGradientEndColor':_0x2d5ae1[_0x13f1b1(0x3d2)][_0x13f1b1(0x412)],'defaultStrokeColor':_0x2d5ae1['ShapeDefaultConfig'][_0x13f1b1(0x2eb)],'extensionGroups':_0xd44c5[_0x13f1b1(0x2a7)],'onUpdateShapeData':(_0x2a680b,_0x71c306)=>{_0x5d636b(_0x2246c2,_0x1bbd56,_0x31d3a4,_0xeea4a4,_0x2a680b,_0x71c306),_0x71c306&&_0x5bdc5b(_0x71c306);},'onUpdateText':_0xc1fb54,'onUpdateWrappingStyle':_0x587a2f=>_0x3a9358(_0x587a2f),'onOpenPanel':()=>{_0x2246c2['executeCommand'](_0x39ec2b['id'],{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4});},'onDelete':()=>{const _0x416b11=_0x13f1b1;_0x2246c2['executeCommand'](_0xe167a4[_0x416b11(0x286)]['id'],{'unitId':_0x1bbd56,'drawings':[{'unitId':_0x1bbd56,'subUnitId':_0x31d3a4,'drawingId':_0xeea4a4}]});}}),_0xd44c5[_0x13f1b1(0x1a1)]]});}function _0x33f5f7(_0x30074d){'@babel/helpers - typeof';const _0x405439=_0x44da2a;return _0x33f5f7=typeof Symbol==_0x405439(0x1f4)&&typeof Symbol[_0x405439(0x347)]=='symbol'?function(_0x39467f){return typeof _0x39467f;}:function(_0x26fea0){const _0xa21b=_0x405439;return _0x26fea0&&typeof Symbol=='function'&&_0x26fea0[_0xa21b(0x313)]===Symbol&&_0x26fea0!==Symbol[_0xa21b(0x217)]?_0xa21b(0x219):typeof _0x26fea0;},_0x33f5f7(_0x30074d);}function _0x215a06(_0x308163,_0x377ed1){const _0x10017d=_0x44da2a;if(_0x33f5f7(_0x308163)!=_0x10017d(0x314)||!_0x308163)return _0x308163;var _0x2c8be5=_0x308163[Symbol['toPrimitive']];if(_0x2c8be5!==void 0x0){var _0x118afa=_0x2c8be5[_0x10017d(0x41b)](_0x308163,_0x377ed1||_0x10017d(0x3c5));if(_0x33f5f7(_0x118afa)!='object')return _0x118afa;throw TypeError(_0x10017d(0x1a3));}return(_0x377ed1===_0x10017d(0x31c)?String:Number)(_0x308163);}function _0x416d0a(_0x347170){const _0x5e01a0=_0x44da2a;var _0x20df50=_0x215a06(_0x347170,_0x5e01a0(0x31c));return _0x33f5f7(_0x20df50)=='symbol'?_0x20df50:_0x20df50+'';}function _0x23a33c(_0x1a22ea,_0x2ab6ba,_0x50c005){const _0x19c1f0=_0x44da2a;return(_0x2ab6ba=_0x416d0a(_0x2ab6ba))in _0x1a22ea?Object[_0x19c1f0(0x264)](_0x1a22ea,_0x2ab6ba,{'value':_0x50c005,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a22ea[_0x2ab6ba]=_0x50c005,_0x1a22ea;}var _0x3ec044=class extends _0x199bc9['Disposable']{constructor(..._0x4d2192){const _0x4b7628=_0x44da2a;super(..._0x4d2192),_0x23a33c(this,_0x4b7628(0x2fa),new _0x259d9f[(_0x4b7628(0x3d6))](null)),_0x23a33c(this,_0x4b7628(0x25a),this[_0x4b7628(0x2fa)][_0x4b7628(0x21d)]()),_0x23a33c(this,_0x4b7628(0x36a),new _0x259d9f[(_0x4b7628(0x3d6))](!0x1)),_0x23a33c(this,_0x4b7628(0x213),this[_0x4b7628(0x36a)][_0x4b7628(0x21d)]());}[_0x44da2a(0x396)](){const _0x229f20=_0x44da2a;this[_0x229f20(0x2fa)][_0x229f20(0x2a9)](null),this[_0x229f20(0x2fa)]['complete'](),this[_0x229f20(0x36a)][_0x229f20(0x2a9)](!0x1),this[_0x229f20(0x36a)][_0x229f20(0x3bc)](),super['dispose']();}[_0x44da2a(0x1e5)](_0x9b297){const _0x1b824b=_0x44da2a;this[_0x1b824b(0x2fa)][_0x1b824b(0x2a9)](_0x9b297),_0x9b297??this[_0x1b824b(0x36a)][_0x1b824b(0x2a9)](!0x1);}['setOnSavingEditorData'](_0x50fd9a){const _0xa51395=_0x44da2a;this[_0xa51395(0x36a)][_0xa51395(0x2a9)](_0x50fd9a);}[_0x44da2a(0x3ea)](){const _0x10c7f1=_0x44da2a;return this[_0x10c7f1(0x2fa)]['getValue']();}[_0x44da2a(0x362)](_0x238d36){const _0x386ee9=_0x44da2a;this[_0x386ee9(0x3ea)]()&&(this['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x195b65=_0x386ee9;this[_0x195b65(0x1e5)](null);}));}['cancelEditing'](){const _0x1dc9f6=_0x44da2a;this[_0x1dc9f6(0x3ea)]()&&this[_0x1dc9f6(0x1e5)](null);}};let _0x22c6a9=(0x0,_0x3c5464['memo'])(()=>{const _0xebc9c3=_0x44da2a;let _0x2c9b2e=(0x0,_0x314b7e['useDependency'])(_0x3ec044),_0xfadcca=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x397c2d[_0xebc9c3(0x197)]),_0x543e1c=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x48b930[_0xebc9c3(0x3be)]),_0x206c75=(0x0,_0x314b7e[_0xebc9c3(0x3fe)])(_0x199bc9['ICommandService']);return(0x0,_0x5c8576['jsx'])(_0x477995['ShapeTextEditorContainer'],{'adapter':(0x0,_0x3c5464['useMemo'])(()=>({'getShapeModel':(_0x890130,_0xd2a680,_0x2ccbc1)=>_0xfadcca[_0xebc9c3(0x325)](_0x890130,_0xd2a680,_0x2ccbc1),'getShapeData':(_0x414499,_0x44831c,_0x4036ef)=>_0xfadcca[_0xebc9c3(0x35b)](_0x414499,_0x44831c,_0x4036ef),'getDrawingTransform':(_0x5f1f25,_0x5ba8b9,_0x429b0d)=>{const _0x2c9b69=_0xebc9c3;let _0x54c9ad=_0x543e1c['getDrawingByParam']({'unitId':_0x5f1f25,'subUnitId':_0x5ba8b9,'drawingId':_0x429b0d});return _0x54c9ad==null?void 0x0:_0x54c9ad[_0x2c9b69(0x37c)];},'updateShapeText':({unitId:_0x58fd1d,shapeId:_0x410f7e,shapeText:_0x47e8bd,oldShapeText:_0x13b488})=>{const _0x20f6af=_0xebc9c3;_0x206c75['executeCommand'](_0x397c2d[_0x20f6af(0x3d3)]['id'],{'unitId':_0x58fd1d,'shapeId':_0x410f7e,'shapeData':{'shapeText':_0x47e8bd},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x13b488}}});},'updateHostSize':({unitId:_0x38da38,subUnitId:_0x4fdbfb,shapeId:_0x1dbcd7,width:_0x58c0e0,height:_0x11d989})=>{const _0x389163=_0xebc9c3;_0x206c75[_0x389163(0x24b)](_0xe167a4[_0x389163(0x1b4)]['id'],{'unitId':_0x38da38,'subUnitId':_0x4fdbfb,'drawings':[{'drawingId':_0x1dbcd7,'key':_0x389163(0x402),'value':{'width':_0x58c0e0,'height':_0x11d989}}]});},'allowHostSizeShrink':({unitId:_0x3858e0,subUnitId:_0x5e9a85,shapeId:_0x554a8d})=>(0x0,_0x477995['shouldAllowShapeTextEditorHostSizeShrink'])(_0xfadcca['getShapeDataById'](_0x3858e0,_0x5e9a85,_0x554a8d))}),[_0x206c75,_0xfadcca,_0x543e1c]),'editingService':_0x2c9b2e,'editorUnitId':_0xa6f102,'positionOptions':(0x0,_0x3c5464[_0xebc9c3(0x20c)])(()=>({'viewportKeys':{'main':_0xadaed7['VIEWPORT_KEY'][_0xebc9c3(0x188)]}}),[])});}),_0x3e2894=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x4ae13e,_0x1c7c21){const _0x16128b=_0x44da2a;super(),this[_0x16128b(0x2c3)]=_0x4ae13e,this[_0x16128b(0x2ba)]=_0x1c7c21,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0x2245f6=_0x44da2a;this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x287))||this[_0x2245f6(0x19c)](this['_iconManager'][_0x2245f6(0x230)]({'ObjectLayersIcon':_0x53ffa2})),this['_iconManager'][_0x2245f6(0x22c)](_0x2245f6(0x160))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'BottomIcon':_0x7068a8})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x225))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveDownIcon':_0x2fdeff})),this[_0x2245f6(0x2ba)]['has'](_0x2245f6(0x409))||this[_0x2245f6(0x19c)](this[_0x2245f6(0x2ba)][_0x2245f6(0x230)]({'MoveUpIcon':_0x3ff74f})),this[_0x2245f6(0x2ba)][_0x2245f6(0x22c)](_0x2245f6(0x263))||this['disposeWithMe'](this['_iconManager'][_0x2245f6(0x230)]({'ShapeFormatSettingIcon':_0x4e409e})),this['_iconManager']['has'](_0x2245f6(0x1a5))||this['disposeWithMe'](this[_0x2245f6(0x2ba)]['register']({'TopmostIcon':_0x23d310}));}[_0x44da2a(0x366)](){const _0x25dc36=_0x44da2a;this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x592432,_0x57f2a3)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x1eb480,_0x1d884a)),this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x9b7e0c,_0x225e8d)),this['disposeWithMe'](this[_0x25dc36(0x2c3)]['register'](_0x5348c1,_0x358711)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x6abc23,_0x1a179f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x48d6e1,_0x59fb0b)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x8f688e,_0x56bc1f)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x4c7158,_0x477995[_0x25dc36(0x29c)])),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x3c9c56,_0x2fa4cd)),this[_0x25dc36(0x19c)](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x30ffe0,_0x178a63)),this['_componentManager'][_0x25dc36(0x41e)](_0x1a42e8[_0x25dc36(0x1f8)])||this['disposeWithMe'](this[_0x25dc36(0x2c3)][_0x25dc36(0x230)](_0x1a42e8[_0x25dc36(0x1f8)],_0x19d137)),this[_0x25dc36(0x19c)](this['_componentManager'][_0x25dc36(0x230)](_0x25dc36(0x397),_0x22c6a9));}};_0x3e2894=_0x5e6390([_0x57fca7(0x0,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x247)])),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x314b7e[_0x44da2a(0x3a7)]))],_0x3e2894);var _0x5d0a63=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x26d979,_0x508e57){const _0x33f4d8=_0x44da2a;super(_0x26d979,_0x508e57),_0x23a33c(this,_0x33f4d8(0x36d),null),_0x23a33c(this,_0x33f4d8(0x3d9),null),_0x23a33c(this,'_unitId',null),_0x23a33c(this,_0x33f4d8(0x1c3),null),_0x508e57&&this[_0x33f4d8(0x1ec)](_0x508e57);}[_0x44da2a(0x3f4)](){const _0x35be23=_0x44da2a;return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x35be23(0x36d)]};}['setShapeProps'](_0x50e9ba){const _0xfa018b=_0x44da2a;_0x50e9ba[_0xfa018b(0x195)]!==void 0x0&&(this[_0xfa018b(0x36d)]=_0x50e9ba[_0xfa018b(0x195)]),_0x50e9ba[_0xfa018b(0x3ff)]!==void 0x0&&(this[_0xfa018b(0x3d9)]=_0x50e9ba['adjName']),_0x50e9ba['unitId']!==void 0x0&&(this['_unitId']=_0x50e9ba[_0xfa018b(0x1e0)]),_0x50e9ba['subUnitId']!==void 0x0&&(this[_0xfa018b(0x1c3)]=_0x50e9ba[_0xfa018b(0x3d5)]),this['transformByState']({'width':_0x50e9ba[_0xfa018b(0x25c)],'height':_0x50e9ba['height']});}[_0x44da2a(0x2bf)](_0x4839aa){const _0x7b30e9=_0x44da2a;_0x4bd9c2[_0x7b30e9(0x2c1)]['drawWith'](_0x4839aa,{'radius':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleSize'],'fill':_0x2d5ae1[_0x7b30e9(0x3d2)][_0x7b30e9(0x2ed)],'stroke':_0x2d5ae1[_0x7b30e9(0x3d2)]['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0xd7ca36(_0x50862a,_0x3de124,_0x53480d){const _0x4d0a29=_0x44da2a;let _0x1d9318=(0x0,_0x477995[_0x4d0a29(0x1af)])(_0x50862a,{..._0x3de124,'dataModel':{..._0x3de124['dataModel']??{},..._0x53480d?{'doc':_0x53480d}:null}}),_0x15d08a=(0x0,_0x477995[_0x4d0a29(0x31f)])(_0x1d9318);return{'clip':(0x0,_0x477995[_0x4d0a29(0x15e)])(_0x1d9318,_0x15d08a),'wrapStrategy':_0x15d08a};}var _0x174cb7=class extends _0x4bd9c2[_0x44da2a(0x3e5)]{constructor(_0x3efb17,_0x201039){const _0x1a8d3a=_0x44da2a;super(_0x3efb17,_0x201039),_0x23a33c(this,_0x1a8d3a(0x1f2),void 0x0),_0x23a33c(this,_0x1a8d3a(0x1f7),new _0x477995[(_0x1a8d3a(0x221))](()=>this[_0x1a8d3a(0x155)](!0x0),()=>this[_0x1a8d3a(0x358)]())),_0x23a33c(this,_0x1a8d3a(0x32f),!0x0),_0x23a33c(this,'_drawingType',_0x199bc9[_0x1a8d3a(0x1d9)][_0x1a8d3a(0x418)]),_0x23a33c(this,_0x1a8d3a(0x2c6),!0x0),this[_0x1a8d3a(0x1f2)]={..._0x201039},this[_0x1a8d3a(0x1f7)]['setPresentation'](_0x201039['formulaPresentation'],_0x201039[_0x1a8d3a(0x1ae)]!==!0x1),this[_0x1a8d3a(0x371)](),this[_0x1a8d3a(0x358)]();}[_0x44da2a(0x371)](){const _0x4c60a9=_0x44da2a;this[_0x4c60a9(0x1ee)][_0x4c60a9(0x400)](_0x517964=>{const _0x4d0bbf=_0x4c60a9;this[_0x4d0bbf(0x209)](_0x517964);});}[_0x44da2a(0x3bf)](_0x58d50f){const _0x1ccac8=_0x44da2a;this[_0x1ccac8(0x1f2)][_0x1ccac8(0x37d)]=_0x58d50f;}[_0x44da2a(0x1e5)](_0x484d30){const _0x31964c=_0x44da2a;this[_0x31964c(0x1f2)][_0x31964c(0x24a)]=_0x484d30,this['makeDirty'](!0x0);}['setFormulaPresentation'](_0x53416a,_0x1c0ad5=!0x0){const _0x1d0f04=_0x44da2a;this[_0x1d0f04(0x1f7)][_0x1d0f04(0x245)](_0x53416a,_0x1c0ad5),this[_0x1d0f04(0x1f2)]['formulaPresentation']=_0x53416a,this['_applyFormulaAutoFitSize'](),this[_0x1d0f04(0x155)](!0x0);}['_applyFormulaAutoFitSize'](){const _0x56c5f9=_0x44da2a;let _0x192bbd=this['_props']['shapeModel'],_0x2a2338=_0x192bbd['getShapeTextData'](),_0x3d29eb=(0x0,_0x477995[_0x56c5f9(0x18d)])(_0x2a2338==null?void 0x0:_0x2a2338[_0x56c5f9(0x284)]),_0x414c49=_0x3d29eb==null?void 0x0:_0x3d29eb[_0x56c5f9(0x37b)],_0x793d0a=this['_formulaAnimation']['getAutoFitPresentations']();if(!_0x414c49||_0x793d0a['length']===0x0)return;_0x192bbd[_0x56c5f9(0x21c)]({'width':this[_0x56c5f9(0x25c)],'height':this[_0x56c5f9(0x2a2)]});let _0x3fd79a=(0x0,_0x477995[_0x56c5f9(0x27a)])({'documentData':_0x793d0a[_0x56c5f9(0x353)](_0x55be07=>(0x0,_0x377eec['createShapeFormulaDocument'])(_0x414c49,_0x55be07)),'height':this[_0x56c5f9(0x2a2)],'shapeData':_0x192bbd[_0x56c5f9(0x30e)](),'textRect':_0x192bbd[_0x56c5f9(0x272)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x56c5f9(0x2a2)]}),'width':this['width']});if(_0x3fd79a){var _0x5d7221;this[_0x56c5f9(0x349)](_0x3fd79a['width'],_0x3fd79a[_0x56c5f9(0x2a2)]),(_0x5d7221=this[_0x56c5f9(0x384)]())==null||(_0x5d7221=_0x5d7221[_0x56c5f9(0x24e)]())==null||_0x5d7221[_0x56c5f9(0x1b6)]();}}get[_0x44da2a(0x1e0)](){const _0x4e36e8=_0x44da2a;return this['_props'][_0x4e36e8(0x1e0)];}get[_0x44da2a(0x3d5)](){const _0x32f50b=_0x44da2a;return this[_0x32f50b(0x1f2)]['subUnitId'];}[_0x44da2a(0x209)](_0x1de1c2){const _0x317bb1=_0x44da2a;if(this['_props']['srcRect']==null||!this[_0x317bb1(0x32f)])return;let {width:_0x412d83,height:_0x7cbe2f}=this,{width:_0x3ee888=0x0,height:_0x7b91c8=0x0}=_0x1de1c2[_0x317bb1(0x256)],{left:_0x2ac294=0x0,top:_0x56931f=0x0,right:_0x37211b=0x0,bottom:_0x492333=0x0}=this[_0x317bb1(0x1f2)][_0x317bb1(0x390)],_0x31bfb8=_0x2ac294,_0x49af2e=_0x56931f,_0x306d9d=_0x37211b,_0x1fb871=_0x492333,_0x238af3=!0x1;if(_0x3ee888!==0x0&&_0x3ee888!==_0x412d83){let _0x58db28=_0x2ac294/_0x3ee888,_0x3f95bf=_0x37211b/_0x3ee888;_0x31bfb8=_0x412d83*_0x58db28,_0x306d9d=_0x412d83*_0x3f95bf,_0x238af3=!0x0;}if(_0x7b91c8!==0x0&&_0x7b91c8!==_0x7cbe2f){let _0x40759a=_0x56931f/_0x7b91c8,_0x8aae62=_0x492333/_0x7b91c8;_0x49af2e=_0x7cbe2f*_0x40759a,_0x1fb871=_0x7cbe2f*_0x8aae62,_0x238af3=!0x0;}_0x238af3&&this[_0x317bb1(0x1d7)]({'left':_0x31bfb8,'top':_0x49af2e,'right':_0x306d9d,'bottom':_0x1fb871});}[_0x44da2a(0x1d7)](_0x201cf5){const _0x292785=_0x44da2a;this[_0x292785(0x1f2)][_0x292785(0x390)]=_0x201cf5,this[_0x292785(0x155)](!0x0);}[_0x44da2a(0x24f)](_0x2b7eb9){const _0x20f3fc=_0x44da2a;this[_0x20f3fc(0x1f2)][_0x20f3fc(0x343)]=_0x2b7eb9,this[_0x20f3fc(0x155)](!0x0);}set[_0x44da2a(0x37c)](_0x18e0d1){const _0x1a92ae=_0x44da2a;this[_0x1a92ae(0x1dc)]=_0x18e0d1;}get['transform'](){const _0x339874=_0x44da2a;this['_transform']||this[_0x339874(0x3c8)]();let _0x2eb362=this[_0x339874(0x1dc)][_0x339874(0x3cf)]();return this[_0x339874(0x2bd)](_0x2eb362);}get[_0x44da2a(0x355)](){const _0x43bff2=_0x44da2a;return this[_0x43bff2(0x1f2)][_0x43bff2(0x355)];}get[_0x44da2a(0x195)](){const _0x1e9c1b=_0x44da2a;return this['_props'][_0x1e9c1b(0x195)];}get[_0x44da2a(0x3db)](){return _0x4bd9c2['RENDER_CLASS_TYPE']['SHAPE'];}[_0x44da2a(0x2bf)](_0x4ffeef,_0x90b1f,_0x40243d,_0x3ca482){const _0x27f33e=_0x44da2a;let _0x51f07b=this[_0x27f33e(0x1f2)]['shapeModel'];if(!_0x51f07b||!_0x90b1f)return;let _0x12fce7=_0x40243d??this[_0x27f33e(0x25c)],_0x1bfd88=_0x3ca482??this['height'],_0x262a58={'shapeType':_0x51f07b['getShapeType'](),'width':_0x12fce7,'height':_0x1bfd88},_0x1d569f={'renderMode':_0x2d5ae1[_0x27f33e(0x26f)]['Path'],'oKey':this[_0x27f33e(0x377)],'image':this[_0x27f33e(0x1f2)][_0x27f33e(0x343)],'angle':this[_0x27f33e(0x3e0)]};_0x51f07b[_0x27f33e(0x21c)](_0x262a58),_0x4ffeef[_0x27f33e(0x2d0)]();let _0x193ed8={'top':0x0,'left':0x0,'width':_0x12fce7,'height':_0x1bfd88},_0x5b030e=_0x51f07b[_0x27f33e(0x3b6)](_0x193ed8);_0x5b030e?this[_0x27f33e(0x2d8)](_0x4ffeef,_0x5b030e,_0x16d9b9=>{const _0x428c89=_0x27f33e;_0x51f07b[_0x428c89(0x30f)](_0x16d9b9,_0x193ed8,_0x1d569f);}):(this['_releaseRenderCache'](),_0x51f07b['render'](_0x4ffeef,_0x193ed8,_0x1d569f)),_0x4ffeef['restore']();let _0x3a02e1=_0x51f07b[_0x27f33e(0x342)](),_0x217442=_0x51f07b[_0x27f33e(0x272)](_0x193ed8),_0x1b7db8=_0x51f07b[_0x27f33e(0x3c1)]();if(_0x3a02e1&&_0x217442&&!_0x1b7db8){_0x4ffeef[_0x27f33e(0x2d0)](),this[_0x27f33e(0x1bf)]()[_0x27f33e(0x2d5)]&&_0x4ffeef['scale'](-0x1,0x1);let _0x43b82d=_0x12fce7/0x2,_0x42b11a=_0x1bfd88/0x2;_0x4ffeef['translate'](-_0x43b82d,-_0x42b11a),_0x4ffeef['beginPath'](),this['_drawShapeText'](_0x4ffeef,_0x3a02e1,_0x217442),_0x4ffeef['restore']();}}[_0x44da2a(0x2e3)](_0x2cec6f){}[_0x44da2a(0x1d8)](_0x3f4313,_0x3c9662,_0x838943){const _0x5c1f27=_0x44da2a;var _0x1daea4;this[_0x5c1f27(0x1f2)]['isEditing']||(!((_0x1daea4=_0x3c9662[_0x5c1f27(0x284)])!=null&&_0x1daea4['doc'])&&_0x5c1f27(0x164)in _0x3c9662&&_0x3c9662['isRichText']===!0x1?this[_0x5c1f27(0x393)](_0x3f4313,_0x3c9662,_0x838943):this[_0x5c1f27(0x1e2)](_0x3f4313,_0x3c9662,_0x838943));}['_drawSimpleText'](_0x57df2f,_0xcf65c2,_0x4594a5){const _0x34bb6c=_0x44da2a;this[_0x34bb6c(0x1e2)](_0x57df2f,{..._0xcf65c2,'text':_0xcf65c2[_0x34bb6c(0x3e6)]??'','dataModel':{'doc':(0x0,_0x477995[_0x34bb6c(0x346)])(_0xcf65c2,_0x34bb6c(0x224)+this[_0x34bb6c(0x377)])}},_0x4594a5);}[_0x44da2a(0x1e2)](_0x5ec8f0,_0x25049e,_0x270b42){const _0x237ed3=_0x44da2a;(0x0,_0x477995[_0x237ed3(0x3ca)])(_0x5ec8f0,this['_formulaAnimation'],(_0x413ff2,_0x200085)=>{this['_drawRichTextLayer'](_0x413ff2,_0x25049e,_0x270b42,_0x200085);});}[_0x44da2a(0x175)](_0x23ad60,_0x18f2da,_0x125ed4,_0x293720){const _0x18779e=_0x44da2a;let _0xa6c39=this[_0x18779e(0x1f2)][_0x18779e(0x3ec)];if(!_0x18f2da['dataModel']||!_0xa6c39){_0xa6c39||console['warn'](_0x18779e(0x3fa));return;}let _0x4c9581=(0x0,_0x477995[_0x18779e(0x18d)])(_0x18f2da[_0x18779e(0x284)]);if(!_0x4c9581)return;let _0x3112d3=_0x4c9581[_0x18779e(0x37b)];if(!_0x3112d3)return;let _0x487660=(0x0,_0x377eec[_0x18779e(0x405)])(_0x3112d3,_0x293720),_0x544cca=_0x4c9581['va']??_0x199bc9['VerticalAlign'][_0x18779e(0x35d)],_0x1573a6=_0x4c9581['ha']??_0x199bc9[_0x18779e(0x1cc)][_0x18779e(0x2ce)],_0x1dcfdb=_0xd7ca36(this[_0x18779e(0x1f2)][_0x18779e(0x355)][_0x18779e(0x30e)](),_0x18f2da,_0x487660),_0x138574=_0x18f2da[_0x18779e(0x297)],_0xdd2ffc=new _0x199bc9['DocumentDataModel']((0x0,_0x477995['prepareShapeTextDocumentData'])(_0x487660,{'isHorizontal':_0x138574!==!0x1,'textRect':_0x125ed4,'verticalAlign':_0x544cca,'horizontalAlign':_0x1573a6,'wrapStrategy':_0x1dcfdb[_0x18779e(0x29d)]})),_0x95ace1=new _0x4bd9c2[(_0x18779e(0x235))](_0xdd2ffc),_0x34e46a=_0x4bd9c2[_0x18779e(0x2d2)][_0x18779e(0x378)](_0x95ace1,_0xa6c39);_0x34e46a[_0x18779e(0x202)]();let _0x134a87=_0x34e46a[_0x18779e(0x241)]()[_0x18779e(0x17a)],_0x13a1e7=(0x0,_0x477995[_0x18779e(0x19f)])({'contentHeight':_0x134a87,'verticalAlign':_0x544cca,'viewportHeight':_0x125ed4[_0x18779e(0x2a2)]});_0xdd2ffc[_0x18779e(0x3df)]({'pageSize':{'width':_0x138574===!0x1?_0x125ed4[_0x18779e(0x2a2)]:_0x125ed4['width'],'height':_0x13a1e7[_0x18779e(0x38c)]}}),_0xdd2ffc[_0x18779e(0x21f)]({'t':_0x13a1e7['marginTop']}),_0x34e46a[_0x18779e(0x202)]();let _0x39f81e=new _0x4bd9c2['Documents'](_0x18779e(0x28f)+this['oKey'],_0x34e46a,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x18779e(0x155)](!0x0)});_0x39f81e[_0x18779e(0x349)](_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x38c)]),_0x23ad60[_0x18779e(0x2d0)](),_0x23ad60[_0x18779e(0x351)](_0x125ed4[_0x18779e(0x40d)],_0x125ed4[_0x18779e(0x22e)]),_0x1dcfdb[_0x18779e(0x27b)]&&(_0x23ad60[_0x18779e(0x2fd)](),_0x23ad60[_0x18779e(0x2a8)](0x0,_0x13a1e7['clipTop'],_0x125ed4[_0x18779e(0x25c)],_0x13a1e7[_0x18779e(0x386)]),_0x23ad60[_0x18779e(0x27b)]()),_0x13a1e7[_0x18779e(0x1be)]&&_0x23ad60[_0x18779e(0x351)](0x0,_0x13a1e7[_0x18779e(0x1be)]),_0x39f81e['draw'](_0x23ad60),_0x23ad60['restore'](),_0x39f81e[_0x18779e(0x396)](),_0x34e46a[_0x18779e(0x396)](),_0x95ace1['dispose'](),_0xdd2ffc['dispose']();}[_0x44da2a(0x30f)](_0x5c1171,_0x3431b9,_0x956336=!0x1){const _0x3835f0=_0x44da2a;if(!this[_0x3835f0(0x243)])return this[_0x3835f0(0x155)](!0x1),this;let {width:_0x4e381e,height:_0x142c44,left:_0x71c7ed,top:_0x39add2}=this,_0x4797f8=this[_0x3835f0(0x3b8)]();if(_0x4e381e=_0x4797f8['width'],_0x142c44=_0x4797f8['height'],_0x71c7ed=_0x4797f8[_0x3835f0(0x40d)],_0x39add2=_0x4797f8[_0x3835f0(0x22e)],this[_0x3835f0(0x152)](_0x3431b9)){let {top:_0x291f9a,left:_0x10d272,bottom:_0x44609d,right:_0x146bcc}=_0x3431b9[_0x3835f0(0x2e6)];if(_0x4e381e+this[_0x3835f0(0x1b9)]+_0x71c7ed<_0x10d272||_0x146bcc<_0x71c7ed||_0x142c44+this['strokeWidth']+_0x39add2<_0x291f9a||_0x44609d<_0x39add2)return this;}let _0x4ad160=_0x71c7ed+_0x4e381e/0x2,_0x345e5e=_0x39add2+_0x142c44/0x2,_0x40b6a0=this[_0x3835f0(0x37c)][_0x3835f0(0x21a)]();if(this[_0x3835f0(0x1f2)][_0x3835f0(0x24a)]){let _0x18f1e5=this[_0x3835f0(0x1bf)](),_0x514e89=new _0x4bd9c2[(_0x3835f0(0x3fb))]();_0x514e89['composeMatrix']({..._0x18f1e5}),_0x40b6a0=_0x514e89[_0x3835f0(0x21a)]();}return _0x5c1171[_0x3835f0(0x2d0)](),this[_0x3835f0(0x1f2)]['shapeModel']['isRenderLinePointsMode']===!0x0||_0x5c1171[_0x3835f0(0x37c)](_0x40b6a0[0x0],_0x40b6a0[0x1],_0x40b6a0[0x2],_0x40b6a0[0x3],_0x4ad160,_0x345e5e),this['_draw'](_0x5c1171,_0x3431b9,_0x4e381e,_0x142c44),_0x5c1171['restore'](),this[_0x3835f0(0x155)](!0x1),this;}['getInverseCoord'](_0x271e2b){const _0x3d67b3=_0x44da2a;let {left:_0x3e77b4,top:_0x227984,width:_0x26fcdb,height:_0x39368d}=this[_0x3d67b3(0x3b8)](),_0x339c13=this[_0x3d67b3(0x37c)]['getMatrix'](),_0x4b337d=_0x3e77b4+_0x26fcdb/0x2,_0x21e693=_0x227984+_0x39368d/0x2,_0x4d4f62=new _0x4bd9c2[(_0x3d67b3(0x3fb))]([_0x339c13[0x0],_0x339c13[0x1],_0x339c13[0x2],_0x339c13[0x3],_0x4b337d,_0x21e693]),_0x59ce5a=this[_0x3d67b3(0x399)]();return(this[_0x3d67b3(0x3a0)]&&(_0x59ce5a==null?void 0x0:_0x59ce5a[_0x3d67b3(0x3db)])===_0x4bd9c2[_0x3d67b3(0x3da)][_0x3d67b3(0x29b)]?_0x59ce5a[_0x3d67b3(0x406)][_0x3d67b3(0x339)](_0x4d4f62):_0x4d4f62)[_0x3d67b3(0x181)]()[_0x3d67b3(0x26b)](_0x271e2b);}[_0x44da2a(0x2ab)](_0x39e081){const _0x229119=_0x44da2a;let {left:_0x19d886,top:_0x554956,width:_0x25844f,height:_0x3d2cc9}=this['getRealBound'](),_0x501f0a=_0x19d886+_0x25844f/0x2,_0xd24f8f=_0x554956+_0x3d2cc9/0x2,_0xacba7d=this['transform'][_0x229119(0x21a)](),_0x29f033=new _0x4bd9c2[(_0x229119(0x3fb))]([_0xacba7d[0x0],_0xacba7d[0x1],_0xacba7d[0x2],_0xacba7d[0x3],_0x501f0a,_0xd24f8f]),_0x2a0ad9=this[_0x229119(0x399)](),_0x55c1cb=(this['isInGroup']&&(_0x2a0ad9==null?void 0x0:_0x2a0ad9[_0x229119(0x3db)])===_0x4bd9c2[_0x229119(0x3da)][_0x229119(0x29b)]?_0x2a0ad9[_0x229119(0x406)][_0x229119(0x339)](_0x29f033):_0x29f033)[_0x229119(0x181)]()[_0x229119(0x26b)](_0x39e081),_0x360e6b=_0x25844f/0x2,_0x3a2a8f=_0x3d2cc9/0x2,_0x1f84eb=this[_0x229119(0x1f2)][_0x229119(0x355)];return _0x1f84eb&&_0x1f84eb[_0x229119(0x3c1)]()?_0x1f84eb['isHitLine'](_0x55c1cb['x'],_0x55c1cb['y'],_0x25844f,_0x3d2cc9):_0x55c1cb['x']>=-_0x360e6b-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['x']<=_0x360e6b+this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']>=-_0x3a2a8f-this[_0x229119(0x1b9)]/0x2&&_0x55c1cb['y']<=_0x3a2a8f+this[_0x229119(0x1b9)]/0x2;}[_0x44da2a(0x396)](){const _0xad3c7=_0x44da2a;this['_formulaAnimation'][_0xad3c7(0x396)](),this[_0xad3c7(0x1f2)]['shapeModel']=null,super[_0xad3c7(0x396)]();}};let _0x5df118=class extends _0x199bc9['Disposable']{constructor(_0x6d5bbb,_0x5cf5a3,_0x3caf52,_0x1fd9e4){const _0x49bcc7=_0x44da2a;super(),this['_context']=_0x6d5bbb,this[_0x49bcc7(0x201)]=_0x5cf5a3,this['_docsShapeService']=_0x3caf52,this[_0x49bcc7(0x3f3)]=_0x1fd9e4,_0x23a33c(this,_0x49bcc7(0x2cf),null),_0x23a33c(this,_0x49bcc7(0x178),null),_0x23a33c(this,_0x49bcc7(0x1c3),null),_0x23a33c(this,'_activeShapeAdjustPointList',void 0x0),_0x23a33c(this,_0x49bcc7(0x1e3),[]),_0x23a33c(this,_0x49bcc7(0x1d4),0x0),_0x23a33c(this,_0x49bcc7(0x16e),0x0),_0x23a33c(this,_0x49bcc7(0x18b),0x0),_0x23a33c(this,'_baseShapeHeight',0x0),_0x23a33c(this,_0x49bcc7(0x166),!0x1),_0x23a33c(this,_0x49bcc7(0x3b1),!0x1),_0x23a33c(this,_0x49bcc7(0x1b8),void 0x0),_0x23a33c(this,'_activeShapeModel',void 0x0),_0x23a33c(this,_0x49bcc7(0x3e4),void 0x0),_0x23a33c(this,'_adjHandlerPointerUp',void 0x0),this[_0x49bcc7(0x292)](),this['_registerDrawingTransformHandler']();}[_0x44da2a(0x21b)](){const _0x3604f2=_0x44da2a;this[_0x3604f2(0x2b1)]();}['refreshAdjustControls'](){const _0x85c923=_0x44da2a;this[_0x85c923(0x3f5)](!0x0);}[_0x44da2a(0x3f6)](_0x456bd0,_0x2bb67f,_0x3c4592){const _0x5e76ac=_0x44da2a;var _0x5b5528;return(_0x5b5528=this['_docsShapeService'][_0x5e76ac(0x325)](_0x456bd0,_0x2bb67f,_0x3c4592))==null?void 0x0:_0x5b5528['getDrawingPoints']();}[_0x44da2a(0x1d0)](_0x585366,_0x517fa2,_0x8a21df,_0x1b1006){const _0x3e0a48=_0x44da2a;var _0xbb203;return(_0xbb203=this[_0x3e0a48(0x254)][_0x3e0a48(0x325)](_0x585366,_0x517fa2,_0x8a21df))==null?void 0x0:_0xbb203[_0x3e0a48(0x3f2)](_0x1b1006);}[_0x44da2a(0x3a3)](){const _0x751b6a=_0x44da2a;return this['_unitId']===null||this[_0x751b6a(0x1c3)]===null||this[_0x751b6a(0x2cf)]===null?null:this[_0x751b6a(0x201)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x751b6a(0x1c3)],'drawingId':this[_0x751b6a(0x2cf)]})??null;}[_0x44da2a(0x388)](_0x2e7af9){const _0x5f0447=_0x44da2a;if(this[_0x5f0447(0x178)]===null||this[_0x5f0447(0x1c3)]===null||this[_0x5f0447(0x2cf)]===null)return null;let _0x18a3d9=(0x0,_0x48b930[_0x5f0447(0x2a0)])({'unitId':this[_0x5f0447(0x178)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x5f0447(0x2cf)]}),_0x496996=_0x2e7af9[_0x5f0447(0x33e)](_0x18a3d9);return _0x496996 instanceof _0x174cb7?_0x496996:null;}[_0x44da2a(0x3f1)](_0xb144a9=!0x1){const _0x1eb4dc=_0x44da2a;if(this[_0x1eb4dc(0x178)]===null||this['_subUnitId']===null||this[_0x1eb4dc(0x2cf)]===null)return;let _0x13177a=this[_0x1eb4dc(0x3a3)]();if((_0x13177a==null?void 0x0:_0x13177a[_0x1eb4dc(0x408)])!==_0x199bc9[_0x1eb4dc(0x1d9)][_0x1eb4dc(0x418)]||!_0x13177a[_0x1eb4dc(0x37c)])return;let _0x334fa7=this[_0x1eb4dc(0x254)][_0x1eb4dc(0x325)](this[_0x1eb4dc(0x178)],this[_0x1eb4dc(0x1c3)],this[_0x1eb4dc(0x2cf)]);if(!_0x334fa7||_0x334fa7[_0x1eb4dc(0x3c1)]())return;let {left:_0x5afd88=0x0,top:_0xe229f4=0x0,width:_0x415a58=0x0,height:_0x46927b=0x0,flipX:_0x2269b1,flipY:_0x8e0412,angle:_0x56612d=0x0}=_0x13177a[_0x1eb4dc(0x37c)];(_0xb144a9||!this['_activeShapeAdjustPointList'])&&(_0x334fa7[_0x1eb4dc(0x21c)]({'width':_0x415a58,'height':_0x46927b}),this['_activeShapeAdjustPointList']=_0x334fa7['getDrawingPoints']());let _0x4f20ec=this[_0x1eb4dc(0x3a5)];if(!(_0x4f20ec!=null&&_0x4f20ec[_0x1eb4dc(0x268)]))return;let {scene:_0x150776}=this[_0x1eb4dc(0x28a)];for(let _0x2b4b72 of _0x4f20ec){let _0xce0631=this[_0x1eb4dc(0x269)](_0x2b4b72,_0x415a58,_0x46927b,!!_0x2269b1,!!_0x8e0412,_0x56612d);this['_addShapeAdjustControl'](_0x150776,_0xce0631,_0xce0631[_0x1eb4dc(0x3ff)],_0x5afd88,_0xe229f4,this['_unitId'],this[_0x1eb4dc(0x1c3)]);}}['_toVisualAdjustPoint'](_0x203a9d,_0x5be820,_0x1cfee5,_0x89acd8,_0x44c379,_0x23d884){const _0x397a95=_0x44da2a;let _0x1736a2=_0x203a9d['x'],_0x417ba6=_0x203a9d['y'];if(_0x89acd8&&(_0x1736a2=_0x5be820-_0x1736a2),_0x44c379&&(_0x417ba6=_0x1cfee5-_0x417ba6),_0x23d884!==0x0){let _0x83ea91=_0x5be820/0x2,_0x43677b=_0x1cfee5/0x2,_0x2d60a8=_0x23d884*Math['PI']/0xb4,_0x1d91fe=Math['cos'](_0x2d60a8),_0x198cb2=Math[_0x397a95(0x15d)](_0x2d60a8),_0x1c4f3d=_0x1736a2-_0x83ea91,_0x1875d1=_0x417ba6-_0x43677b;_0x1736a2=_0x83ea91+(_0x1c4f3d*_0x1d91fe-_0x1875d1*_0x198cb2),_0x417ba6=_0x43677b+(_0x1c4f3d*_0x198cb2+_0x1875d1*_0x1d91fe);}return{'x':_0x1736a2,'y':_0x417ba6,'adjName':_0x203a9d[_0x397a95(0x3ff)]};}['_updateShapeAdjustControls'](_0x2ddfd9=!0x1){const _0x529911=_0x44da2a;_0x2ddfd9&&this['_clearShapeAdjustControls'](),this[_0x529911(0x3f1)](_0x2ddfd9);}[_0x44da2a(0x365)](_0x2c1b72,_0x3517f3,_0x5343dd,_0x1dec40,_0x902085,_0x510489,_0x308e6d){const _0x33ef91=_0x44da2a;if(!this[_0x33ef91(0x2cf)])return;let _0x1de65f=_0x33ef91(0x370)+this[_0x33ef91(0x2cf)]+'-'+_0x5343dd,_0x43d868=_0x2c1b72[_0x33ef91(0x33e)](_0x1de65f);if(_0x43d868){_0x43d868[_0x33ef91(0x26e)]({'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)]}),_0x43d868[_0x33ef91(0x155)](!0x0);return;}let _0x5cf56c=new _0x5d0a63(_0x1de65f,{'left':_0x3517f3['x']+_0x1dec40-_0x2d5ae1['ShapeDefaultConfig'][_0x33ef91(0x2d7)],'top':_0x3517f3['y']+_0x902085-_0x2d5ae1[_0x33ef91(0x3d2)]['adjHandleSize'],'adjName':_0x5343dd,'shapeId':this['_activeShapeId'],'unitId':_0x510489,'subUnitId':_0x308e6d,'width':_0x2d5ae1['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x2d5ae1[_0x33ef91(0x3d2)][_0x33ef91(0x2d7)]+0x8,'zIndex':_0x4bd9c2[_0x33ef91(0x1c8)]+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x33ef91(0x34b)](_0x5cf56c),this[_0x33ef91(0x227)](_0x5cf56c,_0x2c1b72,_0x5343dd),_0x2c1b72['addObject'](_0x5cf56c,_0x4bd9c2[_0x33ef91(0x1c8)]+0x1);}['_clearShapeAdjustControls'](){const _0x4f3361=_0x44da2a;this[_0x4f3361(0x1e3)][_0x4f3361(0x3c9)](_0x473488=>_0x473488[_0x4f3361(0x396)]()),this[_0x4f3361(0x1e3)]=[];}[_0x44da2a(0x298)](){this['_createShapeAdjustControls']();}['_toScenePoint'](_0x3ce5ce,_0x584331,_0x53ad6){const _0x755cf=_0x44da2a;let _0x2254e4=_0x4bd9c2['Vector2']['FromArray']([_0x584331,_0x53ad6]),_0x506b90=_0x3ce5ce['getActiveViewportByCoord'](_0x2254e4)??_0x3ce5ce[_0x755cf(0x22f)]()[0x0];return(_0x506b90==null?void 0x0:_0x506b90[_0x755cf(0x21e)](_0x2254e4))??_0x2254e4;}['_attachAdjustEvent'](_0x352afd,_0x3dc777,_0x28a0fa){const _0x4f8a47=_0x44da2a;this[_0x4f8a47(0x19c)]((0x0,_0x199bc9[_0x4f8a47(0x38b)])(_0x352afd[_0x4f8a47(0x293)]['subscribeEvent']((_0x127a76,_0x15b589)=>{const _0x6a4ea1=_0x4f8a47;var _0x6be5e0;let _0x59ebf0=_0x352afd[_0x6a4ea1(0x3f4)]();this[_0x6a4ea1(0x1b8)]=this[_0x6a4ea1(0x1d0)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)],_0x28a0fa),this['_activeShapeModel']=this[_0x6a4ea1(0x254)][_0x6a4ea1(0x325)](_0x59ebf0[_0x6a4ea1(0x1e0)],_0x59ebf0[_0x6a4ea1(0x3d5)],_0x59ebf0[_0x6a4ea1(0x3a1)]);let _0x1c4a36=this[_0x6a4ea1(0x3a3)](),_0x2a280a=_0x1c4a36==null?void 0x0:_0x1c4a36['transform'];if(!_0x1c4a36||!_0x2a280a||!this[_0x6a4ea1(0x3d1)])return;this[_0x6a4ea1(0x1d4)]=_0x2a280a[_0x6a4ea1(0x40d)]||0x0,this['_baseShapeTop']=_0x2a280a[_0x6a4ea1(0x22e)]||0x0,this[_0x6a4ea1(0x18b)]=_0x2a280a[_0x6a4ea1(0x25c)]||0x0,this[_0x6a4ea1(0x361)]=_0x2a280a[_0x6a4ea1(0x2a2)]||0x0;let _0x949a9f=!!_0x2a280a[_0x6a4ea1(0x2d5)],_0x397984=!!_0x2a280a[_0x6a4ea1(0x1fb)],_0x500140=_0x2a280a[_0x6a4ea1(0x3e0)]||0x0,_0x47aad1={...((_0x6be5e0=this['_activeAdjustInfo'])==null?void 0x0:_0x6be5e0[_0x6a4ea1(0x30b)])??{}};this[_0x6a4ea1(0x166)]=!0x0,_0x3dc777[_0x6a4ea1(0x3ab)](),this[_0x6a4ea1(0x3e4)]=_0x3dc777[_0x6a4ea1(0x1b0)][_0x6a4ea1(0x400)]((_0x379da3,_0x41de84)=>{const _0x3f508f=_0x6a4ea1;var _0x3a0045;if(!this[_0x3f508f(0x166)]||!this[_0x3f508f(0x3d1)]||!this['_activeAdjustInfo'])return;_0x3dc777[_0x3f508f(0x3ab)](),_0x3dc777[_0x3f508f(0x2f7)](_0x4bd9c2[_0x3f508f(0x3ce)]['CROSSHAIR']);let _0x3406d2=this[_0x3f508f(0x1e9)](_0x3dc777,_0x379da3[_0x3f508f(0x2ca)],_0x379da3['offsetY']),_0x49de89=_0x3406d2['x']-this[_0x3f508f(0x1d4)],_0x4c67f9=_0x3406d2['y']-this[_0x3f508f(0x16e)];if(_0x500140!==0x0){let _0xe94d5e=this[_0x3f508f(0x18b)]/0x2,_0x32c902=this[_0x3f508f(0x361)]/0x2,_0x29ecdd=_0x500140*Math['PI']/0xb4,_0x2f9a4f=Math[_0x3f508f(0x323)](_0x29ecdd),_0x5ff9f5=Math['sin'](_0x29ecdd),_0xde52dd=_0x49de89-_0xe94d5e,_0x486860=_0x4c67f9-_0x32c902;_0x49de89=_0xe94d5e+(_0xde52dd*_0x2f9a4f+_0x486860*_0x5ff9f5),_0x4c67f9=_0x32c902+(-_0xde52dd*_0x5ff9f5+_0x486860*_0x2f9a4f);}_0x949a9f&&(_0x49de89=this[_0x3f508f(0x18b)]-_0x49de89),_0x397984&&(_0x4c67f9=this['_baseShapeHeight']-_0x4c67f9);let _0x306834={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x3f508f(0x361)]},_0x4c2504=this[_0x3f508f(0x3d1)][_0x3f508f(0x259)](_0x306834,{'x':_0x49de89,'y':_0x4c67f9},this[_0x3f508f(0x1b8)],_0x949a9f,_0x397984);if(Object[_0x3f508f(0x398)](_0x4c2504)[_0x3f508f(0x268)]!==0x0){for(let [_0xacdf8f,_0x3e6522]of Object[_0x3f508f(0x2bc)](_0x4c2504))this[_0x3f508f(0x3d1)][_0x3f508f(0x1a8)](_0xacdf8f,_0x3e6522);this[_0x3f508f(0x3d1)][_0x3f508f(0x21c)]({'width':this[_0x3f508f(0x18b)],'height':this[_0x3f508f(0x361)]}),(_0x3a0045=this['_getActiveDrawingShape'](_0x3dc777))==null||_0x3a0045[_0x3f508f(0x155)](!0x0),this[_0x3f508f(0x3a5)]=this[_0x3f508f(0x3f6)](_0x59ebf0[_0x3f508f(0x1e0)],_0x59ebf0[_0x3f508f(0x3d5)],_0x59ebf0['drawingId']),this[_0x3f508f(0x298)](),_0x41de84[_0x3f508f(0x177)]();}}),this['_adjHandlerPointerUp']=_0x3dc777[_0x6a4ea1(0x23b)][_0x6a4ea1(0x400)]((_0x100540,_0x14a2ea)=>{const _0x2badde=_0x6a4ea1;var _0xea8506,_0x3d237f;(_0xea8506=this[_0x2badde(0x3e4)])==null||_0xea8506['unsubscribe'](),(_0x3d237f=this['_adjHandlerPointerUp'])==null||_0x3d237f[_0x2badde(0x3c3)](),_0x3dc777[_0x2badde(0x2f6)]();let _0x444f22=this[_0x2badde(0x1b8)];if(_0x444f22&&this[_0x2badde(0x3d1)]){let _0xdd4fdc={};for(let _0x4b2a41 of Object[_0x2badde(0x398)](_0x444f22['currentAdjustValues'])){let _0x5ec669=this[_0x2badde(0x3d1)][_0x2badde(0x34e)](_0x4b2a41);_0x5ec669!==void 0x0&&(_0xdd4fdc[_0x4b2a41]=_0x5ec669);}Object['keys'](_0xdd4fdc)[_0x2badde(0x268)]>0x0&&_0x5d636b(this[_0x2badde(0x3f3)],_0x59ebf0[_0x2badde(0x1e0)],_0x59ebf0[_0x2badde(0x3d5)],_0x59ebf0[_0x2badde(0x3a1)],{'oldShapeData':{'adjustValues':_0x47aad1}},{'adjustValues':_0xdd4fdc});}this[_0x2badde(0x1b8)]=void 0x0,this[_0x2badde(0x3d1)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x3dc777[_0x2badde(0x1ce)](),_0x14a2ea[_0x2badde(0x177)]();}),_0x15b589['stopPropagation']();})));}[_0x44da2a(0x174)](){const _0x3e0dd8=_0x44da2a;let {scene:_0xee2ec3}=this[_0x3e0dd8(0x28a)],_0x3efd88=_0xee2ec3[_0x3e0dd8(0x208)]();this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x2e8)][_0x3e0dd8(0x311)](_0x5cc2e0=>{const _0x50dfac=_0x3e0dd8;this['_createShapeAdjustControls'](),_0x5cc2e0[_0x50dfac(0x3dd)]!==null&&_0x5cc2e0['objects']['size']===0x1&&_0x5cc2e0[_0x50dfac(0x3dd)][_0x50dfac(0x291)]()[_0x50dfac(0x2a9)]()['value']instanceof _0x174cb7&&(this[_0x50dfac(0x3b1)]=!0x0);})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x1bc)][_0x3e0dd8(0x311)](()=>{const _0x49a36f=_0x3e0dd8;this[_0x49a36f(0x3b1)]&&this[_0x49a36f(0x2b1)]();})),this[_0x3e0dd8(0x19c)](_0xee2ec3[_0x3e0dd8(0x23b)][_0x3e0dd8(0x400)](()=>{const _0x386f36=_0x3e0dd8;this[_0x386f36(0x3b1)]&&(this[_0x386f36(0x3b1)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x3e0dd8(0x19c)](_0x3efd88[_0x3e0dd8(0x187)][_0x3e0dd8(0x311)](()=>{const _0x54dc35=_0x3e0dd8;this[_0x54dc35(0x178)]&&this[_0x54dc35(0x1c3)]&&this[_0x54dc35(0x2cf)]&&(this['_activeShapeAdjustPointList']=this[_0x54dc35(0x3f6)](this[_0x54dc35(0x178)],this[_0x54dc35(0x1c3)],this[_0x54dc35(0x2cf)]),this[_0x54dc35(0x298)]());}));}[_0x44da2a(0x292)](){const _0x402047=_0x44da2a;this[_0x402047(0x19c)](this[_0x402047(0x3f3)]['onCommandExecuted'](_0x1b1975=>{const _0x128a5a=_0x402047;if(_0x1b1975['id']!==_0x397c2d[_0x128a5a(0x29e)]['id'])return;let {unitId:_0x3a951d,shapeId:_0x58887c}=_0x1b1975[_0x128a5a(0x2f9)];_0x3a951d===this[_0x128a5a(0x178)]&&_0x58887c===this[_0x128a5a(0x2cf)]&&this[_0x128a5a(0x3bb)]();})),this[_0x402047(0x19c)](this[_0x402047(0x201)]['focus$'][_0x402047(0x311)](_0x4055b7=>{const _0x4abdc5=_0x402047;if(_0x4055b7[_0x4abdc5(0x268)]===0x1){let _0x25926b=_0x4055b7[0x0],_0x4e0ab9=this[_0x4abdc5(0x201)]['getDrawingByParam'](_0x25926b);if((_0x4e0ab9==null?void 0x0:_0x4e0ab9[_0x4abdc5(0x408)])===_0x199bc9[_0x4abdc5(0x1d9)][_0x4abdc5(0x418)]){this[_0x4abdc5(0x2cf)]=_0x25926b[_0x4abdc5(0x3a1)],this[_0x4abdc5(0x178)]=_0x25926b[_0x4abdc5(0x1e0)],this['_subUnitId']=_0x25926b[_0x4abdc5(0x3d5)],this[_0x4abdc5(0x3a5)]=this['_getShapeAdjustPointListById'](_0x25926b[_0x4abdc5(0x1e0)],_0x25926b[_0x4abdc5(0x3d5)],_0x25926b[_0x4abdc5(0x3a1)]),this['_clearShapeAdjustControls'](),this[_0x4abdc5(0x3f1)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4abdc5(0x178)]=null,this[_0x4abdc5(0x1c3)]=null,this[_0x4abdc5(0x2b1)]();})),this[_0x402047(0x19c)]((0x0,_0x259d9f[_0x402047(0x29a)])(this[_0x402047(0x201)][_0x402047(0x2d9)],this[_0x402047(0x201)]['refreshTransform$'])[_0x402047(0x311)](_0x127bfa=>{const _0x11aad2=_0x402047;var _0x5f24d3;let _0x2fed14=_0x127bfa[_0x11aad2(0x1da)](_0x46d3ea=>_0x46d3ea[_0x11aad2(0x3a1)]===this[_0x11aad2(0x2cf)]&&_0x46d3ea[_0x11aad2(0x1e0)]===this['_unitId']&&_0x46d3ea['subUnitId']===this[_0x11aad2(0x1c3)]);_0x2fed14&&((_0x5f24d3=this['_drawingManagerService'][_0x11aad2(0x302)](_0x2fed14))==null?void 0x0:_0x5f24d3['drawingType'])===_0x199bc9[_0x11aad2(0x1d9)][_0x11aad2(0x418)]&&this[_0x11aad2(0x3f5)](!0x0);})),this[_0x402047(0x19c)](this['_drawingManagerService'][_0x402047(0x205)][_0x402047(0x311)](_0x4c3128=>{const _0x297cff=_0x402047;for(let _0x1b8915 of _0x4c3128)this[_0x297cff(0x2cf)]===_0x1b8915['drawingId']&&(this[_0x297cff(0x2cf)]=null,this[_0x297cff(0x3a5)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0x297cff(0x2b1)]());}));}};_0x5df118=_0x5e6390([_0x57fca7(0x1,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x250)])],_0x5df118);function _0x41246c(_0x514131){const _0x46e4da=_0x44da2a;return _0x514131[_0x46e4da(0x2a1)]===!0x0||_0x514131[_0x46e4da(0x2a1)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]||_0x514131[_0x46e4da(0x1e1)]===_0x199bc9[_0x46e4da(0x1ff)]['WRAP_NONE']&&_0x514131[_0x46e4da(0x18e)]===_0x199bc9[_0x46e4da(0x1f1)][_0x46e4da(0x283)]?_0xadaed7['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x4bd9c2[_0x46e4da(0x1c8)];}let _0x2fc97f=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x3664ce,_0x2623e1,_0x28a374,_0x2e58d3,_0x54e77b,_0xbf2ac1,_0x3c8010){const _0x75a3a9=_0x44da2a;super(),this[_0x75a3a9(0x201)]=_0x3664ce,this['_docsShapeService']=_0x2623e1,this[_0x75a3a9(0x3ad)]=_0x28a374,this[_0x75a3a9(0x27e)]=_0x2e58d3,this[_0x75a3a9(0x2df)]=_0x54e77b,this['_shapeTextEditingService']=_0xbf2ac1,this['_shapeFormulaService']=_0x3c8010,_0x23a33c(this,_0x75a3a9(0x265),new Map()),this[_0x75a3a9(0x19c)](this[_0x75a3a9(0x364)][_0x75a3a9(0x16a)][_0x75a3a9(0x311)](_0x21dee2=>{const _0x4e2fb8=_0x75a3a9;var _0x54edcf;(_0x54edcf=this['_formulaShapes'][_0x4e2fb8(0x41e)](this[_0x4e2fb8(0x326)](_0x21dee2[_0x4e2fb8(0x1e0)],_0x21dee2['subUnitId'],_0x21dee2[_0x4e2fb8(0x195)])))==null||_0x54edcf[_0x4e2fb8(0x3c9)](_0x190a6a=>_0x190a6a[_0x4e2fb8(0x3ac)](_0x21dee2[_0x4e2fb8(0x385)],_0x21dee2[_0x4e2fb8(0x184)]));})),this['disposeWithMe'](this['_drawingManagerService'][_0x75a3a9(0x205)][_0x75a3a9(0x311)](_0x1e9769=>{const _0x51611b=_0x75a3a9;_0x1e9769[_0x51611b(0x3c9)](_0x360130=>{const _0x1d753b=_0x51611b;this['_shapeFormulaService'][_0x1d753b(0x35c)]({'unitId':_0x360130[_0x1d753b(0x1e0)],'subUnitId':_0x360130[_0x1d753b(0x3d5)],'shapeId':_0x360130['drawingId']}),this['_formulaShapes'][_0x1d753b(0x324)](this['_formulaKey'](_0x360130[_0x1d753b(0x1e0)],_0x360130[_0x1d753b(0x3d5)],_0x360130[_0x1d753b(0x3a1)]));});}));}[_0x44da2a(0x1f9)](_0xc23a2c,_0x560157){const _0x25b2a7=_0x44da2a;let {transform:_0x2be245,drawingType:_0xa1ebd0,srcRect:_0x7375dd,prstGeom:_0x1bdc23,groupId:_0x582f57,unitId:_0x3d8114,subUnitId:_0x3f008b,drawingId:_0x1f8d0d,isMultiTransform:_0x5ac5bb,transforms:_0x5e9ac2,hidden:_0x1b7043,selectable:_0x18a286}=_0xc23a2c;if(_0xa1ebd0!==_0x199bc9[_0x25b2a7(0x1d9)][_0x25b2a7(0x418)]||!this['_drawingManagerService'][_0x25b2a7(0x33f)]()||_0x2be245==null)return;let _0x19ea38=this['_drawingManagerService'][_0x25b2a7(0x162)]();_0x19ea38&&_0x560157['initTransformer'](_0x477995['SHAPE_EDITOR_TRANSFORMER_CONFIG']);let _0x2a5b09=_0x5ac5bb&&_0x5e9ac2?_0x5e9ac2:[_0x2be245],_0x4b0e35=[];for(let _0x1661b7 of _0x2a5b09){let {left:_0x5652a4,top:_0x280538,width:_0x34bad0,height:_0x398b8e,angle:_0x158819,flipX:_0x18389c,flipY:_0x2cb7b9,skewX:_0x48e444,skewY:_0x4c1514}=_0x1661b7,_0x5f1922=_0x2a5b09[_0x25b2a7(0x411)](_0x1661b7),_0x7d9ef9=(0x0,_0x48b930['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3d8114,'subUnitId':_0x3f008b,'drawingId':_0x1f8d0d},_0x5ac5bb?_0x5f1922:void 0x0),_0x1d4ec4=_0x560157['getObjectIncludeInGroup'](_0x7d9ef9);if(_0x1d4ec4!=null){let _0x2e39d6={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x1d4ec4 instanceof _0x174cb7&&this['refreshFormulaPresentation'](_0x1d4ec4,_0x2e39d6),_0x1d4ec4[_0x25b2a7(0x26e)]({'left':_0x5652a4,'top':_0x280538,'width':_0x34bad0,'height':_0x398b8e,'angle':_0x158819,'flipX':_0x18389c,'flipY':_0x2cb7b9,'skewX':_0x48e444,'skewY':_0x4c1514});continue;}let _0x65b1ab=this[_0x25b2a7(0x201)]['getDrawingOrder'](_0x3d8114,_0x3f008b),_0x16a7a4=_0x65b1ab[_0x25b2a7(0x411)](_0x1f8d0d);if(_0x560157[_0x25b2a7(0x33e)](_0x7d9ef9)||!this['_drawingManagerService'][_0x25b2a7(0x33f)]())continue;let _0x3b6f8f=this[_0x25b2a7(0x254)][_0x25b2a7(0x325)](_0x3d8114,_0x3f008b,_0x1f8d0d);if(!_0x3b6f8f)continue;let _0x56f77d=(0x0,_0x2d5ae1[_0x25b2a7(0x34a)])(_0x3b6f8f[_0x25b2a7(0x2cd)]()),_0x3745e0=_0x3b6f8f[_0x25b2a7(0x30e)]()[_0x25b2a7(0x2c7)],_0x1cc373={'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d};_0x3745e0&&this[_0x25b2a7(0x364)][_0x25b2a7(0x230)](_0x1cc373,_0x3745e0);let _0x2430f7=new _0x174cb7(_0x7d9ef9,{..._0x56f77d?{..._0x1661b7,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x1661b7},'zIndex':_0x16a7a4===-0x1?_0x65b1ab[_0x25b2a7(0x268)]-0x1:_0x16a7a4,'shapeModel':_0x3b6f8f,'localeService':this['_localeService'],'shapeId':_0x1f8d0d,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'visible':_0x1b7043!==!0x0,'evented':_0x18a286!==!0x1,'formulaPresentation':_0x3745e0?this[_0x25b2a7(0x364)][_0x25b2a7(0x34f)](_0x1cc373):void 0x0,'animateFormulaPresentation':(_0x3745e0==null?void 0x0:_0x3745e0[_0x25b2a7(0x184)])!==!0x1});if(_0x3745e0){let _0x5d90d3=this['_formulaKey'](_0x3d8114,_0x3f008b,_0x1f8d0d),_0x3fa7aa=this[_0x25b2a7(0x265)][_0x25b2a7(0x41e)](_0x5d90d3)??new Set();_0x3fa7aa[_0x25b2a7(0x3d7)](_0x2430f7),this['_formulaShapes']['set'](_0x5d90d3,_0x3fa7aa);}this[_0x25b2a7(0x19c)]((0x0,_0x199bc9[_0x25b2a7(0x38b)])(_0x2430f7['onDblclick$']['subscribeEvent']((_0x1fc9ce,_0x5253fa)=>{const _0x456267=_0x25b2a7;_0x3b6f8f[_0x456267(0x3c1)]()||_0x3745e0||(this['_shapeTextEditingService'][_0x456267(0x1e5)]({'visible':!0x0,'unitId':_0x3d8114,'subUnitId':_0x3f008b,'shapeId':_0x1f8d0d,'shapeKey':_0x2430f7[_0x456267(0x377)]}),_0x5253fa[_0x456267(0x177)]());}))),_0x560157['addObject'](_0x2430f7,_0x41246c(_0xc23a2c)),_0x19ea38&&_0x560157['attachTransformerTo'](_0x2430f7),_0x582f57&&(0x0,_0x1a42e8['insertGroupObject'])({'drawingId':_0x582f57,'unitId':_0x3d8114,'subUnitId':_0x3f008b},_0x2430f7,_0x560157,this['_drawingManagerService']),_0x1bdc23!=null&&_0x2430f7[_0x25b2a7(0x3bf)](_0x1bdc23),_0x7375dd!=null&&_0x2430f7[_0x25b2a7(0x1d7)](_0x7375dd),this['_loadShapePictureFill'](_0x2430f7,_0x3b6f8f['getShapeData']()),_0x4b0e35[_0x25b2a7(0x34b)](_0x2430f7);}return _0x4b0e35;}['_formulaKey'](_0x106597,_0x32800d,_0x264659){return _0x106597+'\x00'+_0x32800d+'\x00'+_0x264659;}['refreshFormulaPresentation'](_0x5447c8,_0x33aede){const _0x5ec6b4=_0x44da2a;let _0x1cc25c=this['_docsShapeService']['getShapeModel'](_0x33aede['unitId'],_0x33aede[_0x5ec6b4(0x3d5)],_0x33aede[_0x5ec6b4(0x195)]),_0x320111=_0x1cc25c==null?void 0x0:_0x1cc25c['getShapeData']()[_0x5ec6b4(0x2c7)],_0x6171b7=this[_0x5ec6b4(0x326)](_0x33aede['unitId'],_0x33aede['subUnitId'],_0x33aede['shapeId']);if(_0x320111){this[_0x5ec6b4(0x364)][_0x5ec6b4(0x230)](_0x33aede,_0x320111);let _0x301550=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7)??new Set();_0x301550[_0x5ec6b4(0x3d7)](_0x5447c8),this[_0x5ec6b4(0x265)][_0x5ec6b4(0x1a0)](_0x6171b7,_0x301550);}else{var _0x39b03d;this[_0x5ec6b4(0x364)][_0x5ec6b4(0x35c)](_0x33aede),(_0x39b03d=this[_0x5ec6b4(0x265)][_0x5ec6b4(0x41e)](_0x6171b7))==null||_0x39b03d[_0x5ec6b4(0x324)](_0x5447c8);}_0x5447c8['setFormulaPresentation'](_0x320111?this[_0x5ec6b4(0x364)][_0x5ec6b4(0x34f)](_0x33aede):void 0x0,(_0x320111==null?void 0x0:_0x320111[_0x5ec6b4(0x184)])!==!0x1);}[_0x44da2a(0x1ca)](_0x20ca64){const _0x2ff3aa=_0x44da2a;let _0x36248f=_0x20ca64[_0x2ff3aa(0x355)]['getShapeData'](),_0x529cb0=_0x36248f[_0x2ff3aa(0x1c7)];if(!_0x529cb0||_0x529cb0[_0x2ff3aa(0x30a)]!==_0x2d5ae1[_0x2ff3aa(0x179)][_0x2ff3aa(0x2fb)]||!_0x529cb0[_0x2ff3aa(0x336)]){_0x20ca64[_0x2ff3aa(0x24f)](void 0x0);return;}this['_loadShapePictureFill'](_0x20ca64,_0x36248f);}[_0x44da2a(0x419)](_0x44fffa,_0x2c1643){const _0x3b4eef=_0x44da2a;let _0x203c24=_0x2c1643[_0x3b4eef(0x1c7)];if(!_0x203c24||_0x203c24[_0x3b4eef(0x30a)]!==_0x2d5ae1[_0x3b4eef(0x179)][_0x3b4eef(0x2fb)]||!_0x203c24[_0x3b4eef(0x336)])return;let _0x11a96d=_0x203c24['fillImageSource'],_0x33ae10=_0x203c24[_0x3b4eef(0x20d)]??_0x2d5ae1['ImageSourceTypeEnum']['URL'],_0x31ae44=this[_0x3b4eef(0x27e)][_0x3b4eef(0x249)](_0x11a96d,_0x33ae10);if(_0x31ae44){_0x44fffa[_0x3b4eef(0x24f)](_0x31ae44);return;}this[_0x3b4eef(0x25f)](_0x44fffa,_0x11a96d,_0x33ae10);}async[_0x44da2a(0x25f)](_0x3b670a,_0x68f666,_0x1158f5){const _0x6f6761=_0x44da2a;let _0x58ea2d;try{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)][_0x6f6761(0x220)])_0x58ea2d=await this[_0x6f6761(0x27e)][_0x6f6761(0x40f)](_0x68f666);else{if(_0x1158f5===_0x2d5ae1[_0x6f6761(0x182)]['URL'])try{_0x58ea2d=await this[_0x6f6761(0x2df)][_0x6f6761(0x40f)](_0x68f666);}catch{_0x58ea2d=_0x68f666;}else _0x58ea2d=_0x68f666;}}catch(_0x4692c4){console[_0x6f6761(0x1eb)](_0x6f6761(0x270),_0x4692c4);return;}let _0x467e65=new window[(_0x6f6761(0x40b))]();_0x467e65[_0x6f6761(0x360)]=()=>{const _0x58e505=_0x6f6761;this[_0x58e505(0x27e)]['addImageSourceCache'](_0x68f666,_0x1158f5,_0x467e65),_0x3b670a[_0x58e505(0x24f)](_0x467e65);},_0x467e65['onerror']=()=>{const _0x441cf8=_0x6f6761;console[_0x441cf8(0x1eb)](_0x441cf8(0x2d1),_0x68f666);},_0x467e65[_0x6f6761(0x3ee)]=_0x58ea2d;}};_0x2fc97f=_0x5e6390([_0x57fca7(0x0,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9['LocaleService'])),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x372)]),_0x57fca7(0x4,_0x199bc9[_0x44da2a(0x414)]),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x6,(0x0,_0x199bc9['Inject'])(_0x377eec['ShapeFormulaService']))],_0x2fc97f);let _0x1c346e=_0x44da2a(0x18c),_0x56bc28=class extends _0x199bc9['Disposable']{constructor(_0x3e6de8,_0x1fd062,_0xab340b,_0x10816f,_0x26b136,_0x271ecb){const _0x4d56ac=_0x44da2a;super(),this['_menuManagerService']=_0x3e6de8,this[_0x4d56ac(0x32b)]=_0x1fd062,this[_0x4d56ac(0x201)]=_0xab340b,this[_0x4d56ac(0x3d4)]=_0x10816f,this['_renderManagerService']=_0x26b136,this[_0x4d56ac(0x373)]=_0x271ecb,_0x23a33c(this,_0x4d56ac(0x389),!0x1),this[_0x4d56ac(0x2cb)]['mergeMenu'](_0x4dedef),this['disposeWithMe']((0x0,_0x199bc9[_0x4d56ac(0x38b)])(this['_drawingManagerService']['focus$'][_0x4d56ac(0x311)](()=>this[_0x4d56ac(0x1d5)]()))),this['_update']();}['dispose'](){const _0x135010=_0x44da2a;this[_0x135010(0x373)][_0x135010(0x319)](!0x1,_0x1c346e),this[_0x135010(0x2e7)](),super[_0x135010(0x396)]();}[_0x44da2a(0x1d5)](){const _0x5ce0fc=_0x44da2a;var _0x59a787;let _0x578b9a=this[_0x5ce0fc(0x201)][_0x5ce0fc(0x3f0)](),_0x3476c8=_0x578b9a[_0x5ce0fc(0x268)]===0x1?_0x578b9a[0x0]:void 0x0;if((_0x3476c8==null?void 0x0:_0x3476c8[_0x5ce0fc(0x408)])!==_0x199bc9[_0x5ce0fc(0x1d9)][_0x5ce0fc(0x418)]||this[_0x5ce0fc(0x3d4)]['getUnitType'](_0x3476c8[_0x5ce0fc(0x1e0)])!==_0x199bc9[_0x5ce0fc(0x31a)][_0x5ce0fc(0x171)]){this[_0x5ce0fc(0x373)][_0x5ce0fc(0x319)](!0x1,_0x1c346e),this[_0x5ce0fc(0x2e7)]();return;}let _0x309911=(0x0,_0x477995[_0x5ce0fc(0x35e)])((_0x59a787=this[_0x5ce0fc(0x275)][_0x5ce0fc(0x1cb)](_0x3476c8[_0x5ce0fc(0x1e0)]))==null?void 0x0:_0x59a787[_0x5ce0fc(0x252)][_0x5ce0fc(0x329)]())===_0x5ce0fc(0x2b7);if(this['_shapeFloatingToolbarService']['setFallbackVisible'](_0x309911,_0x1c346e),_0x309911){this['_hide']();return;}this['_visible']||(this[_0x5ce0fc(0x389)]=!0x0,this[_0x5ce0fc(0x32b)][_0x5ce0fc(0x308)](_0x1a1332,{'activate':!0x0}));}[_0x44da2a(0x2e7)](){const _0x5dad18=_0x44da2a;this[_0x5dad18(0x389)]&&(this[_0x5dad18(0x389)]=!0x1,this[_0x5dad18(0x32b)][_0x5dad18(0x2ec)](_0x1a1332),this['_ribbonService'][_0x5dad18(0x1fe)]([]));}};_0x56bc28=_0x5e6390([_0x57fca7(0x0,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x1,_0x314b7e[_0x44da2a(0x2be)]),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x4,_0x4bd9c2['IRenderManagerService']),_0x57fca7(0x5,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x477995[_0x44da2a(0x33b)]))],_0x56bc28);function _0x3214c8(_0x4baec0,_0xa10848){const _0x24563=_0x44da2a;let _0x28e231=_0x4baec0;for(;_0x28e231;){if(_0xa10848(_0x28e231))return _0x28e231;_0x28e231=typeof _0x28e231[_0x24563(0x399)]==_0x24563(0x1f4)?_0x28e231['getParent']():null;}return null;}function _0x52fba1(_0x5b0df3){return _0x3214c8(_0x5b0df3,_0x37c52c=>_0x37c52c instanceof _0x174cb7);}function _0x12b643(_0x2ff7a8){const _0x15f831=_0x44da2a;return(_0x2ff7a8==null?void 0x0:_0x2ff7a8[_0x15f831(0x2c7)])==null;}let _0x335aa8=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0xe140e7,_0x268e40,_0x4f1a22,_0x55fc7f,_0x56f2b4){const _0x3d8a5e=_0x44da2a;super(),this[_0x3d8a5e(0x28a)]=_0xe140e7,this['_shapeTextEditingService']=_0x268e40,this['_drawingManagerService']=_0x4f1a22,this[_0x3d8a5e(0x330)]=_0x55fc7f,this[_0x3d8a5e(0x254)]=_0x56f2b4,_0x23a33c(this,_0x3d8a5e(0x36c),null),this[_0x3d8a5e(0x15b)](),this[_0x3d8a5e(0x218)](),this[_0x3d8a5e(0x1ab)]();}[_0x44da2a(0x15b)](){const _0x1e83ea=_0x44da2a;let {scene:_0xe7270d}=this[_0x1e83ea(0x28a)];this[_0x1e83ea(0x19c)](_0xe7270d[_0x1e83ea(0x2b4)][_0x1e83ea(0x400)](_0x4038ec=>{const _0x9fc42b=_0x1e83ea;let {offsetX:_0x1ef9c2,offsetY:_0x2bc78e}=_0x4038ec,_0xf87c8e=_0x4bd9c2['Vector2'][_0x9fc42b(0x3d8)]([_0x1ef9c2,_0x2bc78e]),_0x13c827=_0x52fba1(_0xe7270d['pick'](_0xf87c8e))??this[_0x9fc42b(0x2c0)](_0xf87c8e);if(_0x13c827){let _0x2f0133=this[_0x9fc42b(0x254)]['getShapeModel'](_0x13c827[_0x9fc42b(0x1e0)],_0x13c827[_0x9fc42b(0x3d5)],_0x13c827[_0x9fc42b(0x195)]);if(!_0x2f0133||(0x0,_0x2d5ae1[_0x9fc42b(0x34a)])(_0x2f0133['getShapeType']())||!_0x12b643(_0x2f0133[_0x9fc42b(0x30e)]()))return;this[_0x9fc42b(0x312)][_0x9fc42b(0x1e5)]({'visible':!0x0,'unitId':_0x13c827[_0x9fc42b(0x1e0)],'subUnitId':_0x13c827[_0x9fc42b(0x3d5)],'shapeId':_0x13c827['shapeId'],'shapeKey':_0x13c827[_0x9fc42b(0x377)]});}}));}[_0x44da2a(0x2c0)](_0x40209d){const _0x53a0af=_0x44da2a;let {scene:_0x84bda6}=this[_0x53a0af(0x28a)];return this[_0x53a0af(0x201)][_0x53a0af(0x3f0)]()[_0x53a0af(0x353)](_0x1fa810=>_0x84bda6[_0x53a0af(0x33e)]((0x0,_0x48b930[_0x53a0af(0x2a0)])(_0x1fa810)))['find'](_0x3dd2e9=>_0x3dd2e9 instanceof _0x174cb7&&_0x3dd2e9[_0x53a0af(0x2ab)](_0x40209d))??null;}[_0x44da2a(0x218)](){const _0x44e831=_0x44da2a;this[_0x44e831(0x19c)](this[_0x44e831(0x201)]['focus$']['subscribe'](_0xeb371=>{const _0x366d30=_0x44e831;if(_0xeb371[_0x366d30(0x268)]===0x1){let _0x198855=_0xeb371[0x0],_0x5bf899=this['_drawingManagerService'][_0x366d30(0x302)](_0x198855);if((_0x5bf899==null?void 0x0:_0x5bf899['drawingType'])===_0x199bc9[_0x366d30(0x1d9)][_0x366d30(0x418)]){let _0x50b228=this[_0x366d30(0x312)][_0x366d30(0x3ea)]();if((_0x50b228==null?void 0x0:_0x50b228[_0x366d30(0x195)])===_0x198855[_0x366d30(0x3a1)]&&_0x50b228[_0x366d30(0x243)])return;(0x0,_0x2d5ae1['isConnectorShape'])(this[_0x366d30(0x254)][_0x366d30(0x2cd)](_0x198855[_0x366d30(0x1e0)],_0x198855[_0x366d30(0x3d5)],_0x198855[_0x366d30(0x3a1)]))&&this[_0x366d30(0x312)][_0x366d30(0x1e5)](null);}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this['_shapeTextEditingService'][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x42c950=_0x366d30;this[_0x42c950(0x312)][_0x42c950(0x1e5)](null);}));}else this[_0x366d30(0x312)][_0x366d30(0x3ea)]()&&(this[_0x366d30(0x312)][_0x366d30(0x3a9)](!0x0),requestAnimationFrame(()=>{const _0x391ea8=_0x366d30;this[_0x391ea8(0x312)][_0x391ea8(0x1e5)](null);}));})),this[_0x44e831(0x19c)](this['_drawingManagerService']['remove$'][_0x44e831(0x311)](_0xf342e6=>{const _0xcf7fa5=_0x44e831;let _0x301561=this[_0xcf7fa5(0x312)][_0xcf7fa5(0x3ea)]();_0x301561&&_0xf342e6[_0xcf7fa5(0x3c2)](_0xf7323e=>_0xf7323e[_0xcf7fa5(0x3a1)]===_0x301561['shapeId'])&&this[_0xcf7fa5(0x312)][_0xcf7fa5(0x1e5)](null);}));}['_initEditingParams'](){const _0xb90bea=_0x44da2a;this[_0xb90bea(0x19c)](this['_shapeTextEditingService'][_0xb90bea(0x25a)][_0xb90bea(0x311)](_0x1f6bf6=>{const _0x2fb48e=_0xb90bea;let {scene:_0xdfbabb}=this[_0x2fb48e(0x28a)];if(this[_0x2fb48e(0x36c)]){let _0x328fed=_0xdfbabb[_0x2fb48e(0x33e)](this[_0x2fb48e(0x36c)]);_0x328fed&&_0x328fed[_0x2fb48e(0x1e5)](!0x1);}if(_0x1f6bf6){let _0x10643e=!!_0x1f6bf6[_0x2fb48e(0x243)],_0x5aedce=_0xdfbabb[_0x2fb48e(0x33e)](_0x1f6bf6[_0x2fb48e(0x1c9)]);_0x5aedce&&(_0x5aedce[_0x2fb48e(0x1e5)](_0x10643e),this[_0x2fb48e(0x36c)]=_0x1f6bf6[_0x2fb48e(0x1c9)]),this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],_0x10643e);}else this['_lastEditingShapeKey']=null,this[_0x2fb48e(0x330)][_0x2fb48e(0x341)](_0x199bc9[_0x2fb48e(0x2e2)],!0x1);}));}};_0x335aa8=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044)),_0x57fca7(0x2,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d['DocsShapeService']))],_0x335aa8);let _0x38c1a1=class extends _0x477995[_0x44da2a(0x1df)]{constructor(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457){super(_0x48fc4d,_0x39c7a4,_0x275658,_0x39f457,{'componentKey':_0x4c7158,'editorUnitId':_0xa6f102});}};_0x38c1a1=_0x5e6390([_0x57fca7(0x1,(0x0,_0x199bc9['Inject'])(_0x52097a[_0x44da2a(0x17f)])),_0x57fca7(0x2,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x3b9)]))],_0x38c1a1);let _0x56a496=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x53f726,_0xf1be71,_0x5e8e2b,_0x4fb770){const _0x3f7474=_0x44da2a;super(),this[_0x3f7474(0x3f3)]=_0x53f726,this[_0x3f7474(0x275)]=_0xf1be71,this[_0x3f7474(0x201)]=_0x5e8e2b,this['_docDrawingShapeRenderController']=_0x4fb770,this['_initialize']();}['_initialize'](){const _0x59f7b4=_0x44da2a;this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x30c)][_0x59f7b4(0x311)](_0x5ba020=>this[_0x59f7b4(0x1e8)](_0x5ba020))),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x201)][_0x59f7b4(0x2d9)]['subscribe'](_0x339c83=>{const _0x139698=_0x59f7b4;_0x339c83['forEach'](_0x264b0c=>this[_0x139698(0x161)](_0x264b0c));})),this[_0x59f7b4(0x19c)](this[_0x59f7b4(0x3f3)][_0x59f7b4(0x289)](_0x2cb0d1=>{const _0x4a8381=_0x59f7b4;if(_0x2cb0d1['id']!==_0x397c2d[_0x4a8381(0x29e)]['id'])return;let {unitId:_0x521c89,shapeId:_0xa055ab}=_0x2cb0d1['params'];this['_refreshShapeData']({'unitId':_0x521c89,'subUnitId':_0x521c89,'drawingId':_0xa055ab});}));}[_0x44da2a(0x1e8)](_0x51403c){const _0x51cb5c=_0x44da2a;_0x51403c[_0x51cb5c(0x3c9)](_0xc0b678=>{const _0x39b9a2=_0x51cb5c;let _0x1d8273=this[_0x39b9a2(0x239)](_0xc0b678[_0x39b9a2(0x1e0)]);if(!_0x1d8273)return;let _0x4698b7=this[_0x39b9a2(0x201)][_0x39b9a2(0x302)](_0xc0b678);(_0x4698b7==null?void 0x0:_0x4698b7[_0x39b9a2(0x408)])===_0x199bc9[_0x39b9a2(0x1d9)][_0x39b9a2(0x418)]&&this[_0x39b9a2(0x294)][_0x39b9a2(0x1f9)](_0x4698b7,_0x1d8273['scene']);});}[_0x44da2a(0x161)](_0xc24fe1){const _0x396cb7=_0x44da2a;let _0x5a58b6=this[_0x396cb7(0x201)][_0x396cb7(0x302)](_0xc24fe1);if((_0x5a58b6==null?void 0x0:_0x5a58b6[_0x396cb7(0x408)])!==_0x199bc9[_0x396cb7(0x1d9)][_0x396cb7(0x418)])return;let _0x3995a5=this[_0x396cb7(0x239)](_0xc24fe1[_0x396cb7(0x1e0)]);if(!_0x3995a5||_0x5a58b6[_0x396cb7(0x37c)]==null)return;let _0x53f975=(0x0,_0x48b930[_0x396cb7(0x2a0)])(_0xc24fe1),_0x2f2c23=_0x3995a5[_0x396cb7(0x20a)][_0x396cb7(0x33e)](_0x53f975);_0x2f2c23&&(_0x2f2c23['setSrcRect'](_0x5a58b6[_0x396cb7(0x390)]),_0x2f2c23[_0x396cb7(0x3bf)](_0x5a58b6[_0x396cb7(0x37d)]),_0x2f2c23[_0x396cb7(0x155)](!0x0));}['_refreshShapeData'](_0x104a5b){const _0x53e93b=_0x44da2a;let _0x3bc3c6=this[_0x53e93b(0x239)](_0x104a5b[_0x53e93b(0x1e0)]);if(!_0x3bc3c6)return;let _0x3454a5=(0x0,_0x48b930[_0x53e93b(0x2a0)])(_0x104a5b),_0x9dbf5b=_0x3bc3c6[_0x53e93b(0x20a)][_0x53e93b(0x33e)](_0x3454a5);_0x9dbf5b&&(this[_0x53e93b(0x294)]['refreshShapeFillImage'](_0x9dbf5b),this['_docDrawingShapeRenderController'][_0x53e93b(0x20f)](_0x9dbf5b,{'unitId':_0x104a5b[_0x53e93b(0x1e0)],'subUnitId':_0x104a5b[_0x53e93b(0x3d5)],'shapeId':_0x104a5b['drawingId']}),_0x9dbf5b['makeDirty'](!0x0));}['_getSceneByUnitId'](_0x3451ef){const _0x35b01c=_0x44da2a;if(_0x3451ef==null)return null;let _0x775997=this['_renderManagerService'][_0x35b01c(0x1cb)](_0x3451ef),_0x3ba63c=_0x775997==null?void 0x0:_0x775997[_0x35b01c(0x20a)];return _0x3ba63c==null?null:{'scene':_0x3ba63c};}};_0x56a496=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x1,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x2,_0x48b930['IDrawingManagerService']),_0x57fca7(0x3,(0x0,_0x199bc9['Inject'])(_0x2fc97f))],_0x56a496);let _0x2e596c=class extends _0x199bc9[_0x44da2a(0x196)]{constructor(_0x25369e,_0x495791,_0x22bbe4,_0x327c59,_0x3f3c06,_0x5bc80c,_0x5ccab9,_0x46eac6,_0x32a525,_0x2f14c5,_0x543642){const _0x3c5fcf=_0x44da2a;super(),this[_0x3c5fcf(0x3d4)]=_0x25369e,this[_0x3c5fcf(0x25e)]=_0x495791,this['_menuManagerService']=_0x22bbe4,this[_0x3c5fcf(0x254)]=_0x327c59,this['_localeService']=_0x3f3c06,this['_commandService']=_0x5bc80c,this[_0x3c5fcf(0x201)]=_0x5ccab9,this[_0x3c5fcf(0x3e1)]=_0x46eac6,this[_0x3c5fcf(0x275)]=_0x32a525,this[_0x3c5fcf(0x330)]=_0x2f14c5,this['_shapeTextEditingService']=_0x543642,_0x23a33c(this,_0x3c5fcf(0x2fc),null),_0x23a33c(this,_0x3c5fcf(0x2f8),null),_0x23a33c(this,_0x3c5fcf(0x22d),!0x1),_0x23a33c(this,_0x3c5fcf(0x28b),0x0),_0x23a33c(this,_0x3c5fcf(0x38f),new Set()),_0x23a33c(this,_0x3c5fcf(0x193),[]),this[_0x3c5fcf(0x417)](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x3d4)]['getCurrentTypeOfUnit$'](_0x199bc9[_0x3c5fcf(0x31a)][_0x3c5fcf(0x171)])[_0x3c5fcf(0x311)](_0x4b2fff=>{const _0x3fe674=_0x3c5fcf;if(!_0x4b2fff){var _0x29b741;(_0x29b741=this['_sidebarDisposable'])==null||_0x29b741[_0x3fe674(0x396)]();return;}this['_createShapePopupMenu'](_0x4b2fff);})),this['_registerOperations'](),this['_initShapePopupMenu'](),this[_0x3c5fcf(0x19c)](this[_0x3c5fcf(0x312)][_0x3c5fcf(0x25a)][_0x3c5fcf(0x311)](_0x54d70b=>{_0x54d70b&&this['_clearPopups']();}));}[_0x44da2a(0x417)](){const _0x102226=_0x44da2a;this[_0x102226(0x2cb)]['mergeMenu'](_0x5587fb);}[_0x44da2a(0x1dd)](){const _0x4d17d4=_0x44da2a;this[_0x4d17d4(0x3d4)][_0x4d17d4(0x301)](_0x199bc9['UniverInstanceType'][_0x4d17d4(0x171)])[_0x4d17d4(0x3c9)](_0x20fc54=>this['_createShapePopupMenu'](_0x20fc54));}['getShapePopupMenus'](_0x4c8936,_0x49e72c,_0xf49ce2,_0x47cec9){const _0x88501e=_0x44da2a;return[{'label':_0x88501e(0x232),'index':0x0,'commandId':_0x39ec2b['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':_0x47cec9===_0x199bc9[_0x88501e(0x1d9)][_0x88501e(0x20b)]},{'label':_0x88501e(0x153),'index':0x1,'commandId':_0xe167a4['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x4c8936,'drawings':[{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2}]},'disable':!0x1},{'label':_0x88501e(0x192),'index':0x2,'commandId':_0x36cd5a['id'],'commandParams':{'unitId':_0x4c8936,'subUnitId':_0x49e72c,'drawingId':_0xf49ce2},'disable':!0x1}];}['_getShapeInfo'](_0x10565c,_0x459b1c,_0x214559){const _0x178ede=_0x44da2a;let _0x3b48e0=this[_0x178ede(0x254)]['getShapeTypeById'](_0x10565c,_0x459b1c,_0x214559),_0x5d17f2=this[_0x178ede(0x254)][_0x178ede(0x35b)](_0x10565c,_0x459b1c,_0x214559);return _0x3b48e0!==void 0x0&&_0x5d17f2!==void 0x0?{'shapeData':_0x5d17f2,'shapeId':_0x214559,'shapeType':_0x3b48e0,'unitId':_0x10565c,'subUnitId':_0x459b1c,'version':this[_0x178ede(0x28b)],'disableShapeOption':!0x1}:null;}[_0x44da2a(0x2c2)](_0x4e7c18){const _0x535b33=_0x44da2a;if(!_0x4e7c18)return;let _0x26c36e=_0x4e7c18[_0x535b33(0x2a6)]();this['_renderManagerService']['has'](_0x26c36e)&&!this[_0x535b33(0x38f)][_0x535b33(0x22c)](_0x26c36e)&&(this['_popupMenuListener'](_0x26c36e),this[_0x535b33(0x38f)][_0x535b33(0x3d7)](_0x26c36e));}[_0x44da2a(0x2db)](){const _0x50f5ee=_0x44da2a;this[_0x50f5ee(0x193)][_0x50f5ee(0x3c9)](_0x415231=>_0x415231['dispose']()),this[_0x50f5ee(0x193)][_0x50f5ee(0x268)]=0x0;}[_0x44da2a(0x15f)](_0x49c35e){const _0x38ed93=_0x44da2a;var _0x4ea345;let _0x3bd42f=(_0x4ea345=this[_0x38ed93(0x275)][_0x38ed93(0x1cb)](_0x49c35e))==null?void 0x0:_0x4ea345[_0x38ed93(0x20a)],_0x1a6d51=_0x3bd42f==null?void 0x0:_0x3bd42f['getTransformerByCreate']();!_0x3bd42f||!_0x1a6d51||(this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2a4)]['subscribe'](()=>{const _0x1413cc=_0x38ed93;let _0x18032d=_0x1a6d51['getSelectedObjectMap']();if(this[_0x1413cc(0x2db)](),this['_isOpenedShapeEditPanel']||_0x18032d[_0x1413cc(0x402)]>0x1)return;let _0x17c4fd=_0x18032d[_0x1413cc(0x291)]()[_0x1413cc(0x2a9)]()[_0x1413cc(0x38a)];if(!_0x17c4fd)return;let _0x3da6e1=this[_0x1413cc(0x201)][_0x1413cc(0x28c)](_0x17c4fd[_0x1413cc(0x377)]);if(!_0x3da6e1||_0x3da6e1['drawingType']!==_0x199bc9[_0x1413cc(0x1d9)][_0x1413cc(0x418)])return;let {unitId:_0x5a036e,subUnitId:_0x5dcc78,drawingId:_0x3a40db,drawingType:_0x5a6259}=_0x3da6e1,_0x4d4537=this['_getShapeInfo'](_0x5a036e,_0x5dcc78,_0x3a40db);if(!_0x4d4537)return;let _0x424ddc=this[_0x1413cc(0x3e1)][_0x1413cc(0x1f6)](_0x17c4fd,{'componentKey':_0x9b7e0c,'direction':'vertical-center','offset':[0x0,_0x477995[_0x1413cc(0x1fc)]],'extraProps':{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db,'drawingType':_0x5a6259,'shapeType':_0x4d4537['shapeType'],'shapeData':_0x4d4537['shapeData']}},_0x5a036e);this[_0x1413cc(0x193)][_0x1413cc(0x34b)](this[_0x1413cc(0x19c)](_0x424ddc)),this[_0x1413cc(0x201)]['getFocusDrawings']()['find'](_0x5dd1af=>_0x5dd1af[_0x1413cc(0x1e0)]===_0x5a036e&&_0x5dd1af[_0x1413cc(0x3d5)]===_0x5dcc78&&_0x5dd1af[_0x1413cc(0x3a1)]===_0x3a40db)||this[_0x1413cc(0x201)]['focusDrawing']([{'unitId':_0x5a036e,'subUnitId':_0x5dcc78,'drawingId':_0x3a40db}]);})),this['disposeWithMe'](_0x1a6d51[_0x38ed93(0x267)]['subscribe'](()=>{const _0x1872cf=_0x38ed93;this[_0x1872cf(0x2db)](),this[_0x1872cf(0x330)][_0x1872cf(0x341)](_0x199bc9[_0x1872cf(0x35f)],!0x1),this['_drawingManagerService']['focusDrawing'](null);})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x1bc)]['subscribe'](()=>{const _0x610e58=_0x38ed93;this[_0x610e58(0x2db)]();})),this[_0x38ed93(0x19c)](_0x1a6d51[_0x38ed93(0x2e8)][_0x38ed93(0x311)](()=>{const _0x27ccb2=_0x38ed93;this[_0x27ccb2(0x2db)]();})));}[_0x44da2a(0x159)](){const _0x466bc9=_0x44da2a;this[_0x466bc9(0x19c)](this[_0x466bc9(0x3f3)]['onCommandExecuted'](_0x4195b7=>{const _0x35346e=_0x466bc9;if(_0x4195b7['id']===_0x39ec2b['id']){let {unitId:_0x1a8f62,subUnitId:_0x2f8adc,drawingId:_0xf3ec15}=_0x4195b7['params'];this[_0x35346e(0x28b)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x1a8f62,_0x2f8adc,_0xf3ec15),this[_0x35346e(0x2db)](),this[_0x35346e(0x25b)]();}if(_0x4195b7['id']===_0x36cd5a['id']&&(this[_0x35346e(0x2f8)]=null,this[_0x35346e(0x31b)]()),_0x4195b7['id']===_0x397c2d[_0x35346e(0x29e)]['id']){let {unitId:_0x38b3cf,shapeId:_0x544ebb}=_0x4195b7[_0x35346e(0x2f9)];if(this[_0x35346e(0x2f8)]&&this[_0x35346e(0x2f8)]['shapeId']===_0x544ebb){let _0x1fa186=this['_getShapeInfo'](_0x38b3cf,this[_0x35346e(0x2f8)][_0x35346e(0x3d5)],_0x544ebb);_0x1fa186&&(this['_shapeEditPanelVersion']+=0x1,_0x1fa186[_0x35346e(0x3c0)]=this['_shapeEditPanelVersion'],this[_0x35346e(0x2f8)]=_0x1fa186,this[_0x35346e(0x22d)]&&this['_openShapeEditPanel']());}}})),this[_0x466bc9(0x19c)](this[_0x466bc9(0x201)][_0x466bc9(0x1de)][_0x466bc9(0x311)](_0xbda4c1=>{const _0x26717b=_0x466bc9;if(this[_0x26717b(0x22d)]===!0x1)return;if(_0xbda4c1[_0x26717b(0x268)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0xbda4c1['length']===0x1&&_0xbda4c1[0x0][_0x26717b(0x408)]===_0x199bc9['DrawingTypeEnum'][_0x26717b(0x418)]&&(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)])){this['_openShapeEditPanel']();return;}let _0x586c38=_0xbda4c1[_0x26717b(0x191)](_0x205f78=>_0x205f78[_0x26717b(0x408)]===_0x199bc9[_0x26717b(0x1d9)]['DRAWING_SHAPE']);if(_0xbda4c1[_0x26717b(0x268)]>0x1&&_0x586c38[_0x26717b(0x268)]===_0xbda4c1['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0]['unitId'],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x25b)]();return;}}else{if(this[_0x26717b(0x28b)]+=0x1,this[_0x26717b(0x2f8)]=this[_0x26717b(0x2f4)](_0xbda4c1[0x0][_0x26717b(0x1e0)],_0xbda4c1[0x0][_0x26717b(0x3d5)],_0xbda4c1[0x0][_0x26717b(0x3a1)]),this[_0x26717b(0x2f8)]){this[_0x26717b(0x2f8)][_0x26717b(0x39f)]=!0x0,this[_0x26717b(0x25b)]();return;}}this[_0x26717b(0x31b)]();}));}[_0x44da2a(0x25b)](){const _0x31ea31=_0x44da2a;this[_0x31ea31(0x2f8)]&&(this['_sidebarDisposable']=this['_sidebarService']['open']({'id':_0x592432,'header':{'title':this[_0x31ea31(0x3ad)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x592432,...this[_0x31ea31(0x2f8)]},'onClose':()=>{const _0x78d222=_0x31ea31;this[_0x78d222(0x201)][_0x78d222(0x37f)](null),this[_0x78d222(0x330)][_0x78d222(0x341)](_0x199bc9[_0x78d222(0x35f)],!0x1),this[_0x78d222(0x2fc)]=null;}}),this[_0x31ea31(0x22d)]=!0x0);}[_0x44da2a(0x31b)](){const _0x59dcf6=_0x44da2a;this[_0x59dcf6(0x22d)]=!0x1,this['_sidebarService'][_0x59dcf6(0x2e1)](_0x592432),this[_0x59dcf6(0x2fc)]=null,this['_contextService']['setContextValue'](_0x199bc9[_0x59dcf6(0x35f)],!0x1),this[_0x59dcf6(0x201)][_0x59dcf6(0x37f)](null);}};_0x2e596c=_0x5e6390([_0x57fca7(0x0,_0x199bc9[_0x44da2a(0x3fd)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x314b7e[_0x44da2a(0x3de)])),_0x57fca7(0x2,_0x314b7e[_0x44da2a(0x262)]),_0x57fca7(0x3,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x397c2d[_0x44da2a(0x197)])),_0x57fca7(0x4,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x36b)])),_0x57fca7(0x5,_0x199bc9[_0x44da2a(0x250)]),_0x57fca7(0x6,_0x48b930[_0x44da2a(0x3be)]),_0x57fca7(0x7,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0xadaed7[_0x44da2a(0x2f1)])),_0x57fca7(0x8,_0x4bd9c2[_0x44da2a(0x3f8)]),_0x57fca7(0x9,_0x199bc9[_0x44da2a(0x317)]),_0x57fca7(0xa,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x3ec044))],_0x2e596c);let _0x5b3154=class extends _0x199bc9[_0x44da2a(0x23c)]{constructor(_0x100f8f=_0x13277c,_0x268377,_0xa6acaf,_0x4d68ed,_0xa1bc91){const _0xcc0145=_0x44da2a;super(),this[_0xcc0145(0x180)]=_0x100f8f,this['_injector']=_0x268377,this['_commandService']=_0xa6acaf,this[_0xcc0145(0x37a)]=_0x4d68ed,this['_renderManagerService']=_0xa1bc91;let {menu:_0x7c8e32,..._0x540e1a}=(0x0,_0x199bc9[_0xcc0145(0x29a)])({},_0x13277c,this['_config']);_0x7c8e32&&this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x238),_0x7c8e32,{'merge':!0x0}),this[_0xcc0145(0x37a)][_0xcc0145(0x332)](_0xcc0145(0x1ea),_0x540e1a),this[_0xcc0145(0x340)]();}[_0x44da2a(0x35a)](){const _0x2702d5=_0x44da2a;this[_0x2702d5(0x204)]['add']([_0x3e2894]),this[_0x2702d5(0x204)]['get'](_0x3e2894),(0x0,_0x199bc9['registerDependencies'])(this[_0x2702d5(0x204)],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x5df118],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]),this[_0x2702d5(0x16f)]();}['onReady'](){const _0x420bf0=_0x44da2a;this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x5df118]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)]['UNIVER_DOC'],[_0x335aa8]),this[_0x420bf0(0x275)][_0x420bf0(0x303)](_0x199bc9[_0x420bf0(0x31a)][_0x420bf0(0x171)],[_0x38c1a1]),(0x0,_0x199bc9[_0x420bf0(0x380)])(this['_injector'],[[_0x2e596c],[_0x56a496],[_0x2fc97f],[_0x2f111e],[_0xd26b4b],[_0x3ec044],[_0x56bc28]]);}[_0x44da2a(0x340)](){const _0x7d77ad=_0x44da2a;[_0x5e21da,_0x36cd5a,_0x39ec2b,_0x3ff923,_0x43474b,_0x33706f][_0x7d77ad(0x3c9)](_0x4201c6=>this[_0x7d77ad(0x19c)](this[_0x7d77ad(0x3f3)][_0x7d77ad(0x16b)](_0x4201c6)));}['_initUIPart'](){const _0x3ba8e5=_0x44da2a;let _0x1b058d=this['_injector'],_0x331aab=_0x1b058d['get'](_0x314b7e[_0x3ba8e5(0x3a6)]);this[_0x3ba8e5(0x19c)](_0x331aab[_0x3ba8e5(0x407)](_0x314b7e[_0x3ba8e5(0x271)][_0x3ba8e5(0x198)],()=>(0x0,_0x314b7e[_0x3ba8e5(0x1c6)])(_0x22c6a9,_0x1b058d)));}};_0x23a33c(_0x5b3154,_0x44da2a(0x27f),_0x199bc9[_0x44da2a(0x31a)][_0x44da2a(0x171)]),_0x23a33c(_0x5b3154,'pluginName',_0x44da2a(0x41f)),_0x23a33c(_0x5b3154,_0x44da2a(0x22b),_0x5539cb),_0x23a33c(_0x5b3154,'version',_0x2041b4),_0x5b3154=_0x5e6390([(0x0,_0x199bc9[_0x44da2a(0x22a)])(_0xe2a57e[_0x44da2a(0x1d3)],_0x52097a[_0x44da2a(0x279)],_0x48b930[_0x44da2a(0x32e)],_0x1a42e8[_0x44da2a(0x2d4)],_0x4bd9c2[_0x44da2a(0x2cc)],_0xadaed7['UniverDocsUIPlugin'],_0x377eec[_0x44da2a(0x3e2)],_0x14557e[_0x44da2a(0x36f)],_0x397c2d['UniverDocsShapePlugin'],_0x477995[_0x44da2a(0x233)]),_0x57fca7(0x1,(0x0,_0x199bc9[_0x44da2a(0x23a)])(_0x199bc9[_0x44da2a(0x172)])),_0x57fca7(0x2,_0x199bc9['ICommandService']),_0x57fca7(0x3,_0x199bc9[_0x44da2a(0x214)]),_0x57fca7(0x4,_0x4bd9c2[_0x44da2a(0x3f8)])],_0x5b3154),_0x495beb[_0x44da2a(0x203)]=_0x5587fb,Object[_0x44da2a(0x264)](_0x495beb,_0x44da2a(0x32a),{'enumerable':!0x0,'get':function(){return _0x5b3154;}});}));function _0x4415(){const _0x4583af=['getObjectListPanelLabels','360ezBgxO','disableShapeOption','isInGroup','drawingId','docs-shape-ui.ribbon.shape-format.style-control','_getActiveDrawingParam','endArrow','_activeShapeAdjustPointList','IUIPartsService','IconManager','docs-shape-ui.objectListPanel.open','setOnSavingEditorData','docs-shape-ui.textWrap.inFrontText','disableObjectsEvent','setFormulaPresentation','_localeService','BEHIND_TEXT','startWith','ContextMenuPosition','_isShouldShowDrawingShapeAdjust','object-layers-icon','UniverDrawing','idSuffix','1109705GTayVD','getDrawingEffectBounds','ArrangeTypeEnum','getRealBound','DocSelectionRenderService','getDrawingOrder','refreshAdjustControls','complete','@univerjs/ui','IDrawingManagerService','setPrstGeom','version','isLineShape','some','unsubscribe','doc.shape.text.float-menu','default','ShapeStyleRibbonControl','SetDocDrawingArrangeCommand','_setTransForm','forEach','drawFormulaShapeAnimationLayers','react','trim','paragraphs','CURSOR_TYPE','clone','buildClipPath','_activeShapeModel','ShapeDefaultConfig','UpdateDocShapeDataCommand','_univerInstanceService','subUnitId','BehaviorSubject','add','FromArray','_adjName','RENDER_CLASS_TYPE','classType','DocParagraphMenuService','objects','ISidebarService','updateDocumentStyle','angle','_docCanvasPopManagerService','UniverShapeEditorPlugin','name','_adjHandlerPointerMove','Shape','text','reverse','TextWrappingStyle','@univerjs/docs-drawing-ui','getEditing','presetId','localeService','shape-editor-ui.arrange.forward','src','extraProps','getFocusDrawings','_createShapeAdjustControls','getAdjustInfoByName','_commandService','getDrawingSearch','_updateShapeAdjustControls','_getShapeAdjustPointListById','text-wrap-shape-icon','IRenderManagerService','front','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','Transform','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','IUniverInstanceService','useDependency','adjName','subscribeEvent','segmentId','size','@univerjs-pro/docs-shape','tag','createShapeFormulaDocument','ancestorTransform','registerComponent','drawingType','MoveUpIcon','_clipService','Image','666769EiWDgT','left','doc.shape.floating-toolbar','getImage','paragraphId','indexOf','gradientEndColor','move-down-icon','IURLImageService','docs-shape-ui.ribbon.shape-format.formula-control','clearAdjustValue','_initMenu','DRAWING_SHAPE','_loadShapePictureFill','UniverProDocsShapeUi','call','with','docs-shape-ui.ribbon.shape-format.arrange-back','get','DOCS_SHAPE_UI_PLUGIN','getShapeQuickStyleType','isRender','docs-shape-ui.deleteShape','1364JPBpax','makeDirty','getObjectListPanelTypeName','UniverCore','ShapeQuickStyleGallery','_registerOperations','jsxs','_initEvents','@univerjs/engine-render','sin','shouldClipShapeTextDocument','_popupMenuListener','BottomIcon','_updateShape','getDrawingEditable','popup','isRichText','colorChannel1','_isStartAdjusting','shape-format-setting-icon','doc.operation.open-shape-object-list-panel','UNIVER_SHEET','presentationChanged$','registerCommand','setCanUseShapeClip','232560wkDmXY','_baseShapeTop','_initUIPart','5301065CbhpKR','UNIVER_DOC','Injector','cloneShapeDataForType','_registerDrawingTransformHandler','_drawRichTextLayer','ShapeGroupEnum','stopPropagation','_unitId','ShapeFillEnum','actualHeight','enhanceParams','@univerjs-pro/shape-editor-ui','url(#$1','title','DocSelectionManagerService','_config','invert','ImageSourceTypeEnum','getMenuHiddenObservable','animationEnabled','shapeText','docs-shape-ui.crop.shape','changeEnd$','VIEW_MAIN','bottom-icon','substring','_baseShapeWidth','docs-shape-contextual-ribbon','normalizeShapeTextModel','behindDoc','969548qXQXRx','resolveActiveShapeQuickStylePresetId','filter','docs-shape-ui.hidePanel','_disposePopups','DRAWING_IMAGE','shapeId','Disposable','DocsShapeService','CONTENT','getUnit','DocDrawingTextWrap','docs-shape-ui.quickStyles','disposeWithMe','doc.shape.edit.panel','docs-shape-ui.textWrap.behindText','resolveShapeTextDocumentRenderLayout','set','panel','getTextModel','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','3kYazPH','TopmostIcon','@univerjs/drawing-ui','OPERATION','setAdjustValueByName','getSnapshot','sectionCanvas','_initEditingParams','ShapeModel','createInternalEditorID','animateFormulaPresentation','resolveShapeTextEditorBehaviorShapeData','onPointerMove$','color','1.0.0-beta.1','RibbonInsertGroup','UpdateDrawingDocTransformCommand','startArrow','debounceRefreshControls','M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','_activeAdjustInfo','strokeWidth','attrs','IDocDrawingService','changing$','DocDrawingPosition','contentVerticalOffset','getState','SetDrawingSelectedOperation','useFormulaShapeToolbar','doc.operation.update-shape-type','_subUnitId','1537082GgjjHs','docs-shape-format-font-family-menu','connectInjector','fill','DRAWING_OBJECT_LAYER_INDEX','shapeKey','refreshShapeFillImage','getRenderUnitById','HorizontalAlign','current','enableObjectsEvent','react/jsx-runtime','_getShapeAdjustInfosById','reduce','generateRandomId','UniverLicensePlugin','_baseShapeLeft','_update','SELECTOR','setSrcRect','_drawShapeText','DrawingTypeEnum','find','updateShapeFillImage','_transform','_initShapePopupMenu','focus$','ShapeTextFloatMenuRenderControllerBase','unitId','layoutType','_drawRichText','_adjustPointObjects','#2563EB','setEditing','random','activeTarget','_insertShapes','_toScenePoint','docs-shape-ui.config','error','setShapeProps','UniverIcon','onTransformChange$','assign','doc.shape.object-list.panel','BooleanNumber','_props','toStringTag','function','evenodd','attachPopupToObject','_formulaAnimation','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','renderDrawingShape','UniverProDocsShape','flipY','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','WRAP_SQUARE','setCollapsedIds','PositionedObjectLayoutType','getTextStyle','_drawingManagerService','calculate','DocsShapeUIMenuSchema','_injector','remove$','MenuItemType','ShapeArrowSizeEnum','getTransformerByCreate','_updateSrcRectByTransform','scene','DRAWING_DOM','useMemo','fillImageSourceType','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','refreshFormulaPresentation','getUnitType','useRef','Medium','onSavingEditorData$','IConfigService','UniverDrawingUi','syncExecuteCommand','prototype','_initSelection','symbol','getMatrix','clearAdjustControls','updateContext','asObservable','transformVector2SceneCoord','updateDocumentDataMargin','UUID','FormulaShapeAnimationController','@univerjs/docs-drawing','6LMIlUY','docs-shape-text-','MoveDownIcon','ShapeTypeEnum','_attachAdjustEvent','docs-shape-ui.objectListPanel.title','0\x200\x2020\x2020','DependentOn','packageName','has','_isOpenedShapeEditPanel','top','getViewports','register','moveRange','docs-shape-ui.openPanel','UniverShapeEditorUIPlugin','OBJECT_LIST_FLOATING_SECTION_ID','DocumentViewModel','WRAP_NONE','docs-shape-ui.ribbon.shape-format.arrange-forward','menu','_getSceneByUnitId','Inject','onPointerUp$','Plugin','getParagraphContentStartOffset','Large','replace','clip-','getActualSize','doc.operation.open-doc-shape-format-panel','visible','doc.shape.picker.component','setPresentation','IN_FRONT_OF_TEXT','ComponentManager','0\x200\x2016\x2016','getImageSourceCache','isEditing','executeCommand','M4.2\x208.3H6.8','M4.2\x205.5H10.5','getTransformer','setFillImage','ICommandService','shape-editor-ui.toolbar.changeShape','engine','doc.operation.close-doc-shape-format-panel','_docsShapeService','@univerjs/drawing','preValue','M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','actions','calcAdjValues','editingParams$','_openShapeEditPanel','width','hidden','_sidebarService','_loadAndSetImage','svg','shapeData','IMenuManagerService','ShapeFormatSettingIcon','defineProperty','_formulaShapes','getObjectListPanelSectionIdForDrawingType','clearControl$','length','_toVisualAdjustPoint','SolidFill','applyPoint','getDrawingData','PaintIcon','transformByState','ShapeRenderModeEnum','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','BuiltInUIPart','getShapeTextRect','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','SHAPE_TEXT','_renderManagerService','docs-shape-ui.formatShape','bottom','M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','UniverDocsPlugin','resolveFormulaShapeAutoFitSize','clip','#3B82F6','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','_imageIoService','type','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','docs-shape-ui.textWrap.square','docs-shape-ui.textWrap.topAndBottom','TRUE','dataModel','docs-shape-ui.shape-format.style-ribbon-control','RemoveDocDrawingCommand','ObjectLayersIcon','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','onCommandExecuted','_context','_shapeEditPanelVersion','getDrawingOKey','decorate','getActiveTextRange','shape-text-','open','values','_registerDrawingFocusChangeHandler','onPointerDown$','_docDrawingShapeRenderController','UniverUi','ShapePickerDropdown','isHorizontal','_updateAdjustControlPositions','UpdateDocDrawingMetadataCommand','merge','GROUP','ShapeTextFloatToolbar','wrapStrategy','UpdateDocShapeDataMutation','DOC_PARAGRAPH_T_INSERT_MENU_ID','getDrawingShapeKeyByDrawingSearch','behindText','height','LAYOUT','createControl$','ShapeEditPanel','getUnitId','extensionGroups','rect','next','below','isHit','Arrow','sheet.image-clip.shape-picker.component','@univerjs/docs','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','setShapeData','_clearShapeAdjustControls','getShapeTypeById','CommandType','onDblclick$','exports','0\x200\x2017\x2016','isolated','round','useEffect','_iconManager','startOffset','entries','transformForAngle','IRibbonService','_draw','_getFocusedShapeAtPoint','Circle','_createShapePopupMenu','_componentManager','@univerjs-pro/docs-shape-ui','applyQuickStyleToShapeData','isDrawingObject','formulaBinding','docs-shape-ui.insertShape','ObjectListPanelBase','offsetX','_menuManagerService','UniverRenderEnginePlugin','getShapeType','LEFT','_activeShapeId','save','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','DocumentSkeleton','Line','UniverDrawingUIPlugin','flipX','docs-shape-ui.textWrap.inline','adjHandleSize','_renderWithCache','update$','docs-shape-ui.ribbon.shape-format','_clearPopups','forwardRef','includes','OFFSET','_urlImageService','ShapeArrowTypeEnum','close','FOCUSING_SHAPE_TEXT_EDITOR','getDrawingPoints','M7.55\x205.45C6.50066\x205.45\x205.65\x206.30066\x205.65\x207.35V12.65C5.65\x2013.6993\x206.50066\x2014.55\x207.55\x2014.55H12.45C13.4993\x2014.55\x2014.35\x2013.6993\x2014.35\x2012.65V7.35C14.35\x206.30066\x2013.4993\x205.45\x2012.45\x205.45H7.55ZM7.8\x206.75C7.24772\x206.75\x206.8\x207.19772\x206.8\x207.75V12.25C6.8\x2012.8023\x207.24772\x2013.25\x207.8\x2013.25H12.2C12.7523\x2013.25\x2013.2\x2012.8023\x2013.2\x2012.25V7.75C13.2\x207.19772\x2012.7523\x206.75\x2012.2\x206.75H7.8Z','docs-shape-ui.ribbon.shape-format.arrange-backward','viewBound','_hide','changeStart$','ContextMenuGroup','createElement','stroke','hideContextualTab','adjHandleFill','Fragment','1em','buildShapeTextDataUpdate','DocCanvasPopManagerService','getBody','shape-editor-ui.toolbar.quickStyles','_getShapeInfo','createShapeTextBoxShapeData','resetCursor','setCursor','_activeShapeInfo','params','_editingParams$','PictureFill','_sidebarDisposable','beginPath','currentColor','UniverProShapeEditor','selectable','getAllUnitsForType','getDrawingByParam','registerRenderModule','BUTTON','M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902','clearActiveDrawingObjects','endOffset','showContextualTab','INLINE','fillType','currentAdjustValues','add$','http://www.w3.org/2000/svg','getShapeData','render','ShapeLineTypeEnum','subscribe','_shapeTextEditingService','constructor','object','.below','mask','IContextService','getShapeQuickStylePreset','setFallbackVisible','UniverInstanceType','_closeShapeEditPanel','string','ShapeTextRibbonControl','INSERT_BELLOW_MENU_ID','resolveShapeTextEditorWrapStrategy','docs-shape-ui.shape-format.text-ribbon-control','@univerjs-pro/shape-editor','backward','cos','delete','getShapeModel','_formulaKey','ShapeFormulaRibbonControl','div','getCanvasElement','UniverDocsShapeUIPlugin','_ribbonService','doc.operation.apply-shape-quick-style','jsx','UniverDrawingPlugin','_transformCalculateSrcRect','_contextService','ShapeFloatingToolbar','setConfig','useState','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','None','fillImageSource','doc.image-clip.shape-picker.component','none','multiply','univer-box-border\x20univer-px-4\x20univer-text-sm','ShapeFloatingToolbarService','Observable','topmost-icon','getObjectIncludeInGroup','getDrawingVisible','_initCommands','setContextValue','getShapeTextData','image','WRAP_TOP_AND_BOTTOM','58752dfRKYw','plainShapeTextToDocumentData','iterator','DrawingCommonPanel','resize','isConnectorShape','push','registerClipDelegate','children','getAdjustValueByName','getPresentation','getSelfOrHeaderFooterModel','translateWithPrecision','EMPTY_PARAGRAPH_MENU_ID','map','description','shapeModel','Module','displayName','_applyFormulaAutoFitSize','canvasElement','onStarting','getShapeDataById','unregister','TOP','resolveShapeContextualRibbonHostMode','FOCUSING_COMMON_DRAWINGS','onload','_baseShapeHeight','completeEditing','ShapePickerPanel','_shapeFormulaService','_addShapeAdjustControl','_registerComponents','getVisible','_registerImageShapeClipDelegate','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','_onSavingEditorData$','LocaleService','_lastEditingShapeKey','_shapeId','rxjs','UniverDocsDrawingUIPlugin','doc-shape-adjust-point-','_init','IImageIoService','_shapeFloatingToolbarService','useObservable','shapeType','MenuManagerPosition','oKey','create','path','_configService','doc','transform','prstGeom','docs-shape-ui.ribbon.shape-format.text-control','focusDrawing','touchDependencies','MEDIA','fontFamily','React','getScene','presentation','clipHeight','forward','_getActiveDrawingShape','_visible','value','toDisposable','contentHeight','COMMAND','back','_initializedShapePopupMenu','srcRect','clipByShape','UniverProShapeEditorUi','_drawSimpleText','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','PARAGRAPH','dispose','DocsShapeTextEditorContainer','keys','getParent','horizontal','xlink:href','getDrawingTypeNameKey'];_0x4415=function(){return _0x4583af;};return _0x4415();}
|