@univerjs-pro/docs-shape-ui 1.0.1 → 1.0.3
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/command/update-doc-drawing-metadata.command.d.ts +15 -0
- package/lib/types/commands/menu/object-list.menu.d.ts +4 -0
- package/lib/types/controllers/shape-text-hyper-link.render-controller.d.ts +9 -0
- package/lib/types/view-model/drawing-shape.d.ts +2 -0
- package/lib/types/view-model/shape-data-model.d.ts +8 -0
- package/lib/types/views/ShapeOptions.d.ts +26 -0
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +12 -0
- package/lib/types/views/shape-editor-panel/index.d.ts +1 -0
- package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +1 -0
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +2 -0
- package/lib/types/views/shapes.d.ts +58 -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 +21 -21
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x596e(){const _0x2bcba6=['@univerjs/drawing','_getShapePopup','getShapeQuickStylePreset','_shapeEditPanelVersion','getDrawingOKey','insertGroupObject','objects','ObjectPermissionButton','stopPropagation','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','find','attrs','docs-shape-ui.quickStyles','adjHandleSize','ShapeStyleRibbonControl','object','_drawingManagerService','_layoutInteraction','_registerObjectListPanel','_attachAdjustEvent','docs-shape-ui.textWrap.behindText','DRAWING_DOM','wrapStrategy','adjName','string','top','skeDrawings','shape-editor-ui.arrange.forward','_getShapeInfo','getRealBound','completeEditing','MoveUpIcon','drawing-ui.objectListPanel.moveBackward','autoFitType','getDrawingTypeNameKey','_initEvents','getSnapshot','backward','hidden','description','docs-shape-text-','SELECTOR','UpdateDocDrawingWrappingStyleCommand','registerClipDelegate','_initEditingParams','mask','http://www.w3.org/2000/svg','@univerjs/docs-drawing','clearActiveDrawingObjects','getShapeData','_adjHandlerPointerMove','getUnitId','function','cells','element','PaintIcon','shape-editor-ui.arrange.front','_urlImageService','ISidebarService','register','calcAdjValues','SetDocumentPermissionCommand','_isShouldShowDrawingShapeAdjust','getObjectListPanelSectionIdForDrawingType','use','_completionFrame','version','HorizontalAlign','DocsShapeWrapInlineIcon','MobileShapePickerPanel','_handleCreateControl','SolidFill','docs-shape-ui.ribbon.shape-format.arrange-forward','_shapeRenderController','7Uoavod','defs','_injector','IConfigService','toFixed','DocDrawingTextWrap','pick','viewBound','getShapeModel','skeTables','DrawingCommonPanel','useFormulaShapeToolbar','_sidebarService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_drawSimpleText','onPointerUp$','@univerjs/design','map','sectionFloating','getFocusDrawings','univer-grid\x20univer-gap-3','buildShapeTextDataUpdate','UniverDocsShapePlugin','DependentOn','invert','drawingType','entries','_updateAdjustControlPositions','UpdateDocShapeDataCommand','setPresentation','classType','doc.operation.apply-shape-quick-style','xlink:href','setShapeData','_registerFloatingToolbar','_context','resolveFormulaShapeAutoFitSize','setPrstGeom','Path','shapeModel','getAutoFitPresentations','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','getParagraphContentStartOffset','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','useObservable','formulaBinding','getAdjustValueByName','registerDependencies','createShapeFormulaDocument','inline','disableObjectsEvent','segmentId','ShapePickerDropdown','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','IN_FRONT_OF_TEXT','getParent','UniverDocsDrawing','vertical-center','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','DocumentViewModel','path','attachPopupToObject','canEditDocumentTargets','exports','CROSSHAIR','cos','EMPTY_PARAGRAPH_MENU_ID','resolveActiveShapeQuickStylePresetId','evenodd','startIndex','UniverProLicense','ShapeTypeEnum','_instanceService','current','featurePluginUpdateNotification','actualHeight','UpdateDrawingDocTransformCommand','_shapeFloatingToolbarService','querySelectorAll','add','getDrawingVisible','permissionPointUpdate$','ShapePickerPanel','docs-shape-ui.mobile.delete','round','scale','shape-editor-ui.toolbar.changeShape','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','set','_registerComponents','clear','setFallbackVisible','getFocusedUnit','isFinite','setAdjustValueByName','getBody','_docPrintInterceptorService','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_renderWithCache','startArrow','getSelectedObjectMap','doc.operation.open-doc-shape-format-panel','docs-shape-ui.shape-format.quick-style-gallery','getObjectIncludeInGroup','pluginName','_init','_addShapeAdjustControl','getValue','getSkeletonData','DOC_PARAGRAPH_T_INSERT_MENU_ID','515312qkDNTj','applyQuickStyleToShapeData','VerticalAlign','FOCUSING_SHAPE_TEXT_EDITOR','currentColor','DocLayoutInteractionService','TOP','drawing-ui.objectListPanel.show','startOffset','Large','_imageIoService','getDrawingPoints','_baseShapeLeft','onload','UniverShapeEditorPlugin','_activeShapeAdjustPointList','_adjustPointObjects','drawing-ui.objectListPanel.filterAll','shapeId','isHit','isMainScene','DRAWING_SHAPE','_activeAdjustInfo','contentHeight','_createShapeAdjustControls','context-bar','isReleased','src','distinctUntilChanged','docs-shape-ui.formatShape','DocDrawingPosition','DEFAULT_DOC_SHAPE_WIDTH','DocSelectionRenderService','UniverCore','MoveDownIcon','memo','top-bottom','square','toStringTag','UniverProtocol','style','onTransformChange$','DocsShapeWrapInFrontOfTextIcon','doc.shape.floating-toolbar','ShapeFormulaService','currentAdjustValues','remove$','shapeData','_baseShapeHeight','UniverLicensePlugin','vertical','_formulaAnimation','canvas','updateShapeFillImage','react','Rect','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','title','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','getDocumentEntityPermissionObjectId','univerjs-icon\x20univerjs-icon-','spaceBelowApply','_disposePopupsByUnit','resolveShapeTextEditorWrapStrategy','UniverShapeEditorMobileUIPlugin','drawings','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','@univerjs/docs-drawing-ui','onReady','PositionedObjectLayoutType','Line','with','splice','more-up-icon','text-wrap-shape-icon','ShapeTextHyperLinkPopupService','get','doc.shape.edit.panel','applyPoint','TopmostIcon','VIEW_MAIN','getSelfOrHeaderFooterModel','viewBox','div','getShapeType','executeCommand','@univerjs/docs-ui','_loadAndSetImage','jsxs','behindText','update$','create','_formulaShapes','DocsShapeUIMenuSchema','FormatPainterSessionService','gradientEndColor','DrawingTypeEnum','_releaseRenderCache','IContextService','getBoundingClientRect','jsx','GROUP','.below','layoutType','formulaPresentation','fontFamily','_subUnitId','DocCanvasPopManagerService','getCurrentUnitOfType','120YXtLzK','drawing-ui.objectListPanel.lockAll','UniverProDocsShapeUi','ShapeDefaultConfig','522FWhwwE','_initialize','@univerjs/ui','UNIVER_DOC','DEFAULT_DOC_SHAPE_HEIGHT','5.5','ShapeFillEnum','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','Module','focus$','62072hTjXJt','has','save','popup','shape-editor-ui.arrange.back','_formulaKey','ShapeFormulaRibbonControl','editingParams$','LEFT','colorChannel1','ancestorTransform','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','_initPrinting','paragraphMenuPlacement','_getDisposePopups','_registerDrawingFocusChangeHandler','_isStartAdjusting','shapeType','_clearShapeAdjustControls','_isOpenedShapeEditPanel','_activeShapeId','bindRenderTransformerLifecycle','assign','_componentManager','MobileDocDrawingPosition','stroke','prototype','getPropertyPriority','onerror','scene','1584037vyQDXn','object-layers-icon','createShapeTextBoxShapeData','docs-shape-ui.shape-format.style-ribbon-control','125880icVuJY','clone','UniverDocsShapeUIPlugin','baseVal','DocInterceptorService','UniverIcon','_popupTargetKeys','back','_configService','idSuffix','clipHeight','pipe','getScene','UniverShapeEditorUIPlugin','hadStyleAttribute','_initCommands','fillImageSourceType','_univerInstanceService','SHAPE','parseFloat','docs-shape-format-font-family-menu','drawing-ui.objectListPanel.locate','complete','getShapePopupMenus','DocsShapeWrapSquareIcon','#3B82F6','type','_shapeFormulaService','_transform','M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','docs-shape-ui.objectListPanel.open','setSrcRect','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.crop.shape','MobileShapeEditorService','size','DOC_CONTENT_INSERT_MENU_ID','interceptor','getUnitType','subscribe','setConfig','#2563EB','docs-shape-contextual-ribbon','appliedStrokeWidth','stroke-width','_toScenePoint','DocEventManagerService','@univerjs-pro/engine-shape','getInverseCoord','drawing-ui.objectListPanel.unlockHint','presentation','getInterceptPoints','SetDrawingSelectedOperation','_clearPopups','hasAttribute','registerCommand','_toVisualAdjustPoint','unsubscribe','BooleanNumber','updateDocumentStyle','getDocumentEntityParentPermissionObjectIds','fill','DocPrintInterceptorService','getShapeTypeById','ArrangeTypeEnum','-layout','restore','sectionCanvas','RENDER_CLASS_TYPE','intercept','CommandType','label','useMemo','OTHERS','visible$','menu','Observable','FloatingObjectToolbarPosition','target','RibbonInsertGroup','plainShapeTextToDocumentData','changing$','_onSavingEditorData$','close','IRenderManagerService','children','from','OBJECT_LIST_FLOATING_SECTION_ID','ShapeArrowSizeEnum','UniverDocsUi','M4.2\x205.5H10.5','8851962wXRuuF','_permissionService','strokeWidth','srcRect','syncExecuteCommand','resolveShapeTextDocumentPageHeight','setOnSavingEditorData','WRAP_SQUARE','makeDirty','MobileActionRow','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','ShapeRenderModeEnum','addImageSourceCache','onCommandExecuted','clip','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','clipTop','ShapeFloatingToolbarService','dispose','docs-shape-ui.ribbon.shape-format.arrange-back','OPERATION','getDrawingData','visible','IUniverInstanceService','getPropertyValue','topmost-icon','_setTransForm','actions','fallbackWidth','_adjName','min','TRUE','getActiveTextRange','registerRenderModule','priority','DRAWING_IMAGE','ShapeEditPanel','width','setCursor','merge','getCanvasElement','cloneShapeDataForType','IDrawingManagerService','_iconManager','drawWith','IUIPartsService','1.2','docs-shape-ui.shape-format.formula-ribbon-control','UniverInstanceType','INLINE','refreshAdjustControls','Fragment','engine','getDocumentDrawingSegmentId','_registerPickers','MobileObjectListPanel','shape-format-setting-icon','rows','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','animateFormulaPresentation','doc','cancelEditing','UniverDrawingPlugin','add$','getActualSize','_activeShapeModel','VIEWPORT_KEY','doc.command.menu-insert-shape','docs-shape-ui.ribbon.shape-format.text-control','doc.operation.close-doc-shape-format-panel','ShapeTextAutoFitType','getActiveViewportByCoord','_drawingType','_getFocusedShapeAtPoint','flipY','none','value','_docDrawingShapeRenderController','defineProperty','open','_clearCompletionFrame','docs-shape-ui.config','UniverEngineRender','Shape','unregister','getShapeQuickStyleType','flipX','getImageSourceCache','UniverDrawingMobileUIPlugin','_popupMenuListener','updateContext','forwardRef','_registerDrawingTransformHandler','getMenuHiddenObservable','left','drawing-ui.objectListPanel.typeNames.','localName','IMenuManagerService','UniverProShapeEditorUi','resize','flatMap','resolveShapeTextDocumentRenderLayout','getDrawingSearch','_ribbonService','_contextService','height','isInGroup','strokeOpacity','front','selectable','_adjHandlerPointerUp','drawing-ui.objectListPanel.dragToReorder','_editingParams$','FOCUSING_COMMON_DRAWINGS','BottomIcon','_unitId','ShapeQuickStyleGallery','filter','generateRandomId','UnitObject','_canEditShape','0.8','_docCanvasPopManagerService','setFillImage','_measure','useEffect','RemoveDocDrawingCommand','endOffset','@univerjs-pro/license','_drawRichText','DocumentSkeleton','getContextValue','bottom','drawing-ui.objectListPanel.sectionFloating','_getActiveDrawingShape','useReducer','URL','call','clearAdjustControls','forward','docs-shape-ui.mobile.text','isHorizontal','custom','UniverDocsPlugin','skeFooters','_visible','shapeKey','params','isLineShape','subscribeEvent','fallbackHeight','transform','clearControl$','IPermissionService','CURSOR_TYPE','Arrow','isEditing','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','drawing-ui.objectListPanel.unlockAll','packageName','_updateShape','DocsShapeTextEditorContainer','default','Injector','drawing-ui.objectListPanel.noSelection','setShapeProps','render','beginPath','setDocsCustomBlockRenderViewportProvider','move-up-icon','docs-shape-ui.objectListPanel.title','DocSelectionManagerService','RIBBON','_baseShapeTop','composeMatrix','_applyFormulaAutoFitSize','OFFSET','paragraphId','IDocDrawingService','Documents','next','drawing-ui.objectListPanel.collapse','canDispose','IRibbonService','_initMenu','color','Medium','values','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','getShapeDataById','useId','_getShapeAdjustPointListById','createControl$','_getSceneByUnitId','icon','docs-shape-ui.ribbon.shape-format.arrange-backward','ContextMenuPosition','getImage','6966980hzMeNe','mergeMenu','reduce','docs-shape-ui.insertShape','setContextValue','@univerjs-pro/shape-editor-ui','getTextModel','getViewports','_commandService','paragraphs','COMMAND','createElement','_initSelection','unitId','rect','_shapeTextEditingService','ICommandService','getState','horizontal','_endLayoutInteraction','UniverDrawingUIPlugin','adjHandleStroke','setProperty','TextWrapShapeIcon','getShapeTextRect','multiply','1em','_docsShapeService','FromArray','behindDoc','onDblclick$','_getRenderModules','SHAPE_EDITOR_TRANSFORMER_CONFIG','Inject','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','ContextMenuGroup','setFormulaPresentation','useState','FormulaShapeAnimationController','drawing-ui.objectListPanel.filterLocked','getDrawingDataForUnit','2skHOlg','DocumentDataModel','_registerIcons','contentVerticalOffset','Plugin','adjHandleFill','activeTarget','asObservable','DOCS_COMPONENT_MAIN_LAYER_INDEX','calculate','@univerjs-pro/shape-editor','IImageIoService','replace','UNIVER_SHEET','pages','trim','ImageSourceTypeEnum','endArrow','_update','SetDocDrawingArrangeCommand','removeProperty','isolated','docs-shape-ui.deleteShape','clipByShape','doc.image-clip.shape-picker.component','originalStrokeWidth','updateDocumentDataMargin','docs-shape-ui.textWrap.topAndBottom','_menuManagerService','renderDrawingShape','drawing-ui.objectListPanel.description','connectInjector','_sidebarDisposable','DisposableCollection','parent','subUnitId','transformForAngle','ObjectLayersIcon','useImperativeHandle','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','getDrawingEditable','0\x200\x2017\x2016','UniverDocsUIPlugin','ShapeArrowTypeEnum','drawing-ui.objectListPanel.hideAll','shapeText','BehaviorSubject','_closeShapeEditPanel','shape-editor-ui.arrange.backward','_localeService','_canEdit','univer-box-border\x20univer-px-4\x20univer-text-sm','image','resolveShapeTextBodyBehavior','offsetX','docs-shape-ui.ribbon.shape-format.wrapping-style','ShapeTextFloatToolbar','_lastEditingShapeKey','UniverDocs','isRichText','drawing-ui.objectListPanel.nameInput','PARAGRAPH','_getShapeAdjustInfosById','_baseShapeWidth','transformByState','getUnit','buildClipPath','DocsShapeService','prepareShapeTextDocumentData','drawFormulaShapeAnimationLayers','React','disposeWithMe','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','M4.2\x208.3H6.8','MobileShapeEditorControls','length','getLastLine','getDrawingShapeKeyByDrawingSearch','drawing-ui.objectListPanel.lock','drawing-ui.objectListPanel.expand','marginTop','LocaleService','moveRange','univer-grid\x20univer-gap-5\x20univer-p-3','0\x200\x2020\x2020','_updateShapeAdjustControls','getDrawingOrder','docs-shape-ui.openPanel','_props','UniverProEngineShape','_clipService','UniverDrawingUi','_openShapeEditPanel','tag','MEDIA','getPresentation','@univerjs-pro/docs-shape-ui','getMatrix','IconManager','ShapeGroupEnum','span','Circle','move-down-icon','preValue','order','Vector2','prstGeom','drawing-ui.objectListPanel.moveForward','enableObjectsEvent','_registerOperations','_getActiveDrawingParam','keys','shape-editor-ui.toolbar.quickStyles','_mobileEditorService','vectorEffect','useRef','forEach','_hide','includes','getShapeTextData','drawing-ui.objectListPanel.unlock','setEditing','toDisposable','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','MenuManagerPosition','_initUIPart','focusDrawing','MoreUpIcon','DOCS_SHAPE_UI_PLUGIN','doc.shape.text.float-menu','menuRange','_getDependencies','svg','true','drawingId','UniverDocsDrawingUIPlugin','UniverDocsShapeMobileUIPlugin','@univerjs/core','docs-shape-ui.hidePanel','dataModel','ShapeFormatSettingIcon','text','error','onSavingEditorData$','_renderManagerService','indexOf','isHitLine','drawing-ui.objectListPanel.close','_refreshShapeData','_draw','normalizeShapeTextModel','getCurrentTypeOfUnit$','_insertShapes','getPageDrawingIds','_activeShapeInfo','DocsShapeWrapTopBottomIcon','disableShapeOption','WRAP_NONE','transformVector2SceneCoord','registerShapeFormatPainter','offsetY','rxjs','extensionGroups','touchDependencies','_docLayoutInteractionService','some','@univerjs/drawing-ui','LAYOUT','4764056HMjOxC','defIds','useLayoutEffect','translateWithPrecision','getOwnPropertyDescriptor','isRender','_drawShapeText','attachTransformerTo','WRAP_TOP_AND_BOTTOM','Transform','drawing','UniverDesign','amd','0.14','BEHIND_TEXT','useDependency','fillImageSource','name','observe','UpdateDocShapeDataMutation','drawing-ui.objectListPanel.details','max','push','warn','Disposable','DocParagraphMenuService','_updateSrcRectByTransform','ComponentManager','MenuItemType','PRINTING_COMPONENT_COLLECT','enhanceParams','data','InsertDocShapeCommand','docs-shape-ui.shape-format.wrapping-style-label','fillType','setCanUseShapeClip','beginInteraction','angle','getAllRenderersOfType','addObject','getTransformerByCreate','disconnect','@univerjs/docs','0\x200\x2016\x2016','_config','BUTTON','debounceRefreshControls','getDrawingByParam','TextWrappingStyle','doc-shape-adjust-point-','ShapeLineTypeEnum','url(#$1','getRenderUnitById','_loadShapePictureFill','hideContextualTab','delete','refreshFormulaPresentation','docs-shape-ui.textWrap.square','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','oKey','docs-shape-ui.textWrap.inFrontText','displayName','isConnectorShape','getEditing','Image','removeAttribute','DocShapeAnchorPosition','localeService','DrawingImageClipService','_shapeId','docs-shape-ui.textWrap.inline','animationEnabled'];_0x596e=function(){return _0x2bcba6;};return _0x596e();}function _0x3f06(_0x3dd4d9,_0x4cdb6a){_0x3dd4d9=_0x3dd4d9-0x111;const _0x596ed7=_0x596e();let _0x3f063d=_0x596ed7[_0x3dd4d9];return _0x3f063d;}(function(_0x353b68,_0x1b391c){const _0x5e4453=_0x3f06,_0x411324=_0x353b68();while(!![]){try{const _0x21d583=parseInt(_0x5e4453(0x11b))/0x1*(parseInt(_0x5e4453(0x269))/0x2)+-parseInt(_0x5e4453(0x47f))/0x3*(-parseInt(_0x5e4453(0x48d))/0x4)+parseInt(_0x5e4453(0x240))/0x5+-parseInt(_0x5e4453(0x17a))/0x6*(parseInt(_0x5e4453(0x3a3))/0x7)+-parseInt(_0x5e4453(0x412))/0x8+parseInt(_0x5e4453(0x483))/0x9*(-parseInt(_0x5e4453(0x11f))/0xa)+-parseInt(_0x5e4453(0x311))/0xb;if(_0x21d583===_0x1b391c)break;else _0x411324['push'](_0x411324['shift']());}catch(_0x13a3c8){_0x411324['push'](_0x411324['shift']());}}}(_0x596e,0xda8ec),function(_0x1c4b90,_0x4c6cd2){const _0x48913d=_0x3f06;typeof exports==_0x48913d(0x368)&&typeof module<'u'?_0x4c6cd2(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'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define=='function'&&define[_0x48913d(0x31d)]?define([_0x48913d(0x3e2),_0x48913d(0x245),_0x48913d(0x468),_0x48913d(0x485),'@univerjs-pro/docs-shape',_0x48913d(0x14e),_0x48913d(0x273),_0x48913d(0x2f2),_0x48913d(0x33b),_0x48913d(0x388),'@univerjs/engine-render',_0x48913d(0x359),_0x48913d(0x30f),'react/jsx-runtime','rxjs',_0x48913d(0x1fa),_0x48913d(0x455),_0x48913d(0x448),_0x48913d(0x3b3),'@univerjs/protocol'],_0x4c6cd2):(_0x1c4b90=typeof globalThis<'u'?globalThis:_0x1c4b90||self,_0x4c6cd2(_0x1c4b90[_0x48913d(0x481)]={},_0x1c4b90[_0x48913d(0x1dc)],_0x1c4b90[_0x48913d(0x178)],_0x1c4b90['UniverUi'],_0x1c4b90['UniverProDocsShape'],_0x1c4b90[_0x48913d(0x2c2)],_0x1c4b90['UniverProShapeEditor'],_0x1c4b90[_0x48913d(0x433)],_0x1c4b90[_0x48913d(0x2a3)],_0x1c4b90[_0x48913d(0x3db)],_0x1c4b90[_0x48913d(0x1cc)],_0x1c4b90['UniverDrawing'],_0x1c4b90[_0x48913d(0x2c4)],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x30a)],_0x1c4b90[_0x48913d(0x3e9)],_0x1c4b90['UniverDocsDrawingUi'],_0x1c4b90[_0x48913d(0x2af)],_0x1c4b90[_0x48913d(0x31c)],_0x1c4b90[_0x48913d(0x439)]));}(this,function(_0x47b7a8,_0x56d51f,_0x130604,_0x86086d,_0x284855,_0x3becc2,_0x48b72a,_0x47c402,_0x18b339,_0x13d142,_0x54839f,_0x4152b2,_0x459a9e,_0x932776,_0x21926c,_0x2a35ca,_0x1d2176,_0x8303f3,_0x5c76ee,_0xad5fb1){const _0x7db477=_0x3f06;Object[_0x7db477(0x1c8)](_0x47b7a8,Symbol[_0x7db477(0x438)],{'value':_0x7db477(0x48b)});function _0xffe531(_0x540487,_0x2b0c60){const _0x2955a0=_0x7db477;if(_0x2b0c60){if((0x0,_0x3becc2[_0x2955a0(0x34f)])(_0x540487)&&(_0x2b0c60[_0x2955a0(0x407)]||_0x2b0c60['endArrow']))return{'ln':{'startArrow':_0x2b0c60['startArrow']?{'type':_0x3becc2[_0x2955a0(0x294)][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x234)]}:void 0x0,'endArrow':_0x2b0c60[_0x2955a0(0x27a)]?{'type':_0x3becc2['ShapeArrowTypeEnum'][_0x2955a0(0x215)],'size':_0x3becc2[_0x2955a0(0x177)][_0x2955a0(0x41b)]}:void 0x0}};if(_0x540487===_0x3becc2[_0x2955a0(0x3ea)][_0x2955a0(0x449)]&&(_0x2b0c60['horizontal']||_0x2b0c60[_0x2955a0(0x444)]))return(0x0,_0x48b72a[_0x2955a0(0x11d)])({'fill':{'fillType':_0x3becc2[_0x2955a0(0x489)][_0x2955a0(0x3a0)],'color':_0x2955a0(0x138)},'isHorizontal':!!_0x2b0c60[_0x2955a0(0x252)],'stroke':{'lineStrokeType':_0x3becc2[_0x2955a0(0x343)]['SolidLine'],'width':0x1,'color':_0x2955a0(0x148)}});}}function _0x2b60c5(_0x5b6ade,_0x5725c6){const _0xbe6c58=_0x7db477;var _0x1a1c2c;let _0x42204f=_0x5725c6[_0xbe6c58(0x3d6)]??'',_0xc0b76c=(_0x1a1c2c=_0x5b6ade[_0xbe6c58(0x463)](_0x42204f))==null?void 0x0:_0x1a1c2c[_0xbe6c58(0x403)]();if(!_0xc0b76c)return null;let _0x431893=_0xc0b76c[_0xbe6c58(0x249)]??[],_0x5eb87b=_0x431893['find'](_0x511692=>{const _0x152686=_0xbe6c58;let _0x20ca6a=(0x0,_0x47c402[_0x152686(0x3cd)])(_0xc0b76c,_0x511692);return _0x5725c6[_0x152686(0x41a)]>=_0x20ca6a&&_0x5725c6[_0x152686(0x41a)]<=_0x511692[_0x152686(0x3e8)];})??_0x431893[_0x431893[_0xbe6c58(0x2b4)]-0x1];return _0x5eb87b?{'paragraphId':_0x5eb87b[_0xbe6c58(0x22b)],'segmentId':_0x42204f,'position':_0x284855[_0xbe6c58(0x353)][_0xbe6c58(0x22a)],'offset':_0x5725c6[_0xbe6c58(0x41a)]-(0x0,_0x47c402[_0xbe6c58(0x3cd)])(_0xc0b76c,_0x5eb87b)}:null;}function _0x48e532(_0x5dc0bd,_0x292648,_0x508e0e){const _0x45e397=_0x7db477;var _0x24058f,_0x113b05;if(!_0x508e0e)return null;let _0x54182d=(_0x24058f=_0x5dc0bd[_0x45e397(0x45e)](_0x54839f[_0x45e397(0x173)])[_0x45e397(0x345)](_0x292648))==null?void 0x0:_0x24058f[_0x45e397(0x459)](_0x130604[_0x45e397(0x32a)])[_0x45e397(0x26f)];if(!_0x54182d)return null;let _0x1e6d81=_0x508e0e==='below'?{'startOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)],'endOffset':_0x54182d[_0x45e397(0x2bb)][_0x45e397(0x1f9)]}:_0x54182d[_0x45e397(0x2eb)];return{'startOffset':_0x1e6d81[_0x45e397(0x41a)],'endOffset':_0x1e6d81['endOffset'],'collapsed':_0x1e6d81[_0x45e397(0x41a)]===_0x1e6d81[_0x45e397(0x1f9)],'segmentId':((_0x113b05=_0x54182d['paragraph'])==null?void 0x0:_0x113b05[_0x45e397(0x3d6)])??''};}let _0x4654b3={'type':_0x47c402[_0x7db477(0x165)]['COMMAND'],'id':_0x7db477(0x1bd),'handler':async(_0x23ea01,_0xde4998)=>{const _0xe6f3d=_0x7db477;let _0x4954be=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x191)])[_0xe6f3d(0x47e)](_0x47c402['UniverInstanceType'][_0xe6f3d(0x486)]);if(!_0x4954be)return!0x1;let _0x1da3fc=_0x23ea01[_0xe6f3d(0x45e)](_0x47c402[_0xe6f3d(0x250)]),_0x2abe32=_0x4954be[_0xe6f3d(0x38c)](),_0xeff554=_0xde4998[_0xe6f3d(0x424)]??(0x0,_0x47c402[_0xe6f3d(0x1f0)])(),_0x15ad1f=_0xde4998[_0xe6f3d(0x19f)]??_0x284855[_0xe6f3d(0x431)],_0x27802b=_0xde4998[_0xe6f3d(0x1e3)]??_0x284855[_0xe6f3d(0x487)],_0x4f797f=_0xde4998[_0xe6f3d(0x441)]??_0xffe531(_0xde4998[_0xe6f3d(0x1c6)],_0xde4998[_0xe6f3d(0x32f)]),_0x353b2c=_0x48e532(_0x23ea01,_0x2abe32,_0xde4998[_0xe6f3d(0x49a)])??_0x23ea01['get'](_0x18b339[_0xe6f3d(0x225)])[_0xe6f3d(0x19a)]();if(!_0x353b2c)return!0x1;let _0x5c4e57=_0x2b60c5(_0x4954be,_0x353b2c);return _0x5c4e57?!!_0x1da3fc[_0xe6f3d(0x17e)](_0x284855[_0xe6f3d(0x331)]['id'],{'unitId':_0x2abe32,'shapeId':_0xeff554,'shapeType':_0xde4998[_0xe6f3d(0x1c6)],'shapeData':_0x4f797f,'transform':{'width':_0x15ad1f,'height':_0x27802b},'placement':{'wrappingStyle':_0x13d142[_0xe6f3d(0x341)]['INLINE'],'anchor':_0x5c4e57}}):!0x1;}},_0x52a209=_0x7db477(0x45f),_0x2bcc29='docs-shape-ui.ribbon.shape-format',_0x4378d7='doc.shape.object-list.panel',_0x4e500d=(0x0,_0x47c402['createInternalEditorID'])('SHAPE_TEXT'),_0x469608=_0x7db477(0x2ea),_0x3a6f6f=_0x7db477(0x21b),_0x3c123e={'id':'doc.operation.open-shape-object-list-panel','type':_0x47c402['CommandType'][_0x7db477(0x24a)],'handler':(_0x15c3d6,_0x20d87e)=>{const _0x4c859b=_0x7db477;let _0x47f21c=_0x15c3d6[_0x4c859b(0x45e)](_0x86086d['ISidebarService']),_0x4def23=_0x15c3d6[_0x4c859b(0x45e)](_0x47c402['LocaleService']),_0x5273b9=_0x15c3d6[_0x4c859b(0x45e)](_0x4152b2['IDrawingManagerService']);return(_0x20d87e==null?void 0x0:_0x20d87e[_0x4c859b(0x1c6)])===_0x4c859b(0x172)?(_0x47f21c['close'](_0x4378d7),!0x0):(_0x47f21c['open']({'id':_0x4378d7,'header':{'title':_0x4def23['t'](_0x4c859b(0x224))},'children':{'label':_0x4378d7},'onClose':()=>{const _0xf18beb=_0x4c859b;_0x5273b9[_0xf18beb(0x2e7)](null);},'width':0x168}),!0x0);}},_0x39980d={'type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'id':_0x7db477(0x409),'handler'(){return!0x0;}};function _0x1dc900(_0x14980c){const _0x57881c=_0x7db477;let _0x83e026=_0x14980c['get'](_0x4152b2[_0x57881c(0x1a4)])[_0x57881c(0x3b6)](),_0x3edbd7=_0x83e026['length']===0x1?_0x83e026[0x0]:null;if(!_0x3edbd7||_0x3edbd7[_0x57881c(0x3bc)]!==_0x47c402[_0x57881c(0x472)][_0x57881c(0x427)])return null;let _0x278219=_0x14980c['get'](_0x284855[_0x57881c(0x2ac)]),_0xa4c8a4=_0x278219[_0x57881c(0x15e)](_0x3edbd7['unitId'],_0x3edbd7[_0x57881c(0x28c)],_0x3edbd7[_0x57881c(0x2ef)]),_0x2523b3=_0x278219['getShapeDataById'](_0x3edbd7[_0x57881c(0x24d)],_0x3edbd7['subUnitId'],_0x3edbd7[_0x57881c(0x2ef)]);return _0xa4c8a4===void 0x0||!_0x2523b3?null:{'drawing':_0x3edbd7,'shapeData':_0x2523b3,'shapeType':_0xa4c8a4};}let _0x5bf868={'id':_0x7db477(0x3c2),'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'handler':(_0x17b86d,_0x59f595)=>{const _0x4adf06=_0x7db477;let _0x31607d=_0x1dc900(_0x17b86d),_0x124dc6=(0x0,_0x48b72a[_0x4adf06(0x35b)])((_0x59f595==null?void 0x0:_0x59f595['presetId'])??(_0x59f595==null?void 0x0:_0x59f595['value'])??'');if(!_0x31607d||!_0x124dc6||_0x124dc6[_0x4adf06(0x139)]!==(0x0,_0x48b72a[_0x4adf06(0x1cf)])(_0x31607d[_0x4adf06(0x441)]))return!0x1;let _0x4f4ef9=(0x0,_0x48b72a[_0x4adf06(0x413)])(_0x31607d[_0x4adf06(0x441)],_0x124dc6);if(!_0x4f4ef9)return!0x1;let {drawing:_0x240452}=_0x31607d;return _0x17b86d[_0x4adf06(0x45e)](_0x47c402[_0x4adf06(0x250)])[_0x4adf06(0x467)](_0x284855[_0x4adf06(0x3bf)]['id'],{'unitId':_0x240452[_0x4adf06(0x24d)],'shapeId':_0x240452[_0x4adf06(0x2ef)],'shapeData':_0x4f4ef9,'oldShapeJSON':{'oldShapeData':_0x31607d['shapeData']}});}},_0x58df16={'id':'doc.operation.update-shape-type','type':_0x47c402[_0x7db477(0x165)][_0x7db477(0x18e)],'handler':(_0x4511ed,_0x2cfa2d)=>{const _0x4020f1=_0x7db477;let _0x21265f=_0x1dc900(_0x4511ed),_0x3597b5=(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x49e)])??(_0x2cfa2d==null?void 0x0:_0x2cfa2d[_0x4020f1(0x1c6)]);if(!_0x21265f||!_0x3597b5||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x21265f[_0x4020f1(0x49e)])||(0x0,_0x3becc2[_0x4020f1(0x34f)])(_0x3597b5))return!0x1;let _0x36c0cc=(0x0,_0x48b72a[_0x4020f1(0x1a3)])(_0x21265f['shapeData'],_0x3597b5);if(!_0x36c0cc)return!0x1;let {drawing:_0x120b0c}=_0x21265f;return _0x4511ed['get'](_0x47c402[_0x4020f1(0x250)])['executeCommand'](_0x284855[_0x4020f1(0x3bf)]['id'],{'unitId':_0x120b0c[_0x4020f1(0x24d)],'shapeId':_0x120b0c[_0x4020f1(0x2ef)],'shapeType':_0x3597b5,'shapeData':_0x36c0cc,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x21265f[_0x4020f1(0x49e)],'oldShapeData':_0x21265f[_0x4020f1(0x441)]}});}};function _0x15d88a(_0x52ca52,_0x2b0495){return function(_0x2a2dd0,_0x13a8c3){_0x2b0495(_0x2a2dd0,_0x13a8c3,_0x52ca52);};}function _0x1cbdb5(_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1){const _0xb857e7=_0x7db477;var _0x1cfd0e=arguments[_0xb857e7(0x2b4)],_0x449d93=_0x1cfd0e<0x3?_0x49031b:_0x4ec7d1===null?_0x4ec7d1=Object[_0xb857e7(0x315)](_0x49031b,_0x30922d):_0x4ec7d1,_0x5e9115;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xb857e7(0x38d))_0x449d93=Reflect['decorate'](_0x1f352,_0x49031b,_0x30922d,_0x4ec7d1);else{for(var _0x4b3f40=_0x1f352[_0xb857e7(0x2b4)]-0x1;_0x4b3f40>=0x0;_0x4b3f40--)(_0x5e9115=_0x1f352[_0x4b3f40])&&(_0x449d93=(_0x1cfd0e<0x3?_0x5e9115(_0x449d93):_0x1cfd0e>0x3?_0x5e9115(_0x49031b,_0x30922d,_0x449d93):_0x5e9115(_0x49031b,_0x30922d))||_0x449d93);}return _0x1cfd0e>0x3&&_0x449d93&&Object[_0xb857e7(0x1c8)](_0x49031b,_0x30922d,_0x449d93),_0x449d93;}let _0x1471d7=class extends _0x47c402['Disposable']{constructor(_0x389036,_0x500e17){const _0x485411=_0x7db477;super(),this['_clipService']=_0x389036,this[_0x485411(0x369)]=_0x500e17,this['_registerImageShapeClipDelegate'](),this[_0x485411(0x2c3)][_0x485411(0x334)](!0x0),this[_0x485411(0x2b0)]({'dispose':()=>this['_clipService'][_0x485411(0x334)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1689ab=_0x7db477;let _0xe164e5=new Map(),_0x344a9a=this['_clipService'][_0x1689ab(0x384)]((_0x120375,_0x195670,_0x47d0af,_0xea2061,_0x3ec7f4)=>{const _0x39fdba=_0x1689ab;let _0x228fb6=_0x195670;if(_0x228fb6===_0x3becc2['ShapeTypeEnum']['None']||_0x195670===_0x39fdba(0x208))return!0x1;try{let _0x354203=_0xe164e5[_0x39fdba(0x45e)](_0x195670);return _0x354203||(_0x354203=new _0x3becc2['ShapeModel'](_0x228fb6,'clip-'+_0x195670),_0xe164e5[_0x39fdba(0x3fc)](_0x195670,_0x354203)),_0x354203['clearAdjustValue'](),_0x3ec7f4&&Object[_0x39fdba(0x2d8)](_0x3ec7f4)[_0x39fdba(0x2b4)]>0x0&&_0x354203[_0x39fdba(0x3c4)]({'adjustValues':_0x3ec7f4},!0x0),_0x354203['updateContext']({'width':_0x47d0af,'height':_0xea2061}),_0x354203[_0x39fdba(0x2ab)](_0x120375,{'left':0x0,'top':0x0,'width':_0x47d0af,'height':_0xea2061});}catch{return!0x1;}});this[_0x1689ab(0x2b0)](_0x344a9a),this[_0x1689ab(0x2b0)]({'dispose':()=>_0xe164e5[_0x1689ab(0x3fe)]()});}[_0x7db477(0x280)](_0x3e5ae7,_0x3ab461,_0x48ab3d,_0x3bb4e1,_0x243ddf){const _0x7a1268=_0x7db477;let _0x15f320=this[_0x7a1268(0x369)][_0x7a1268(0x18f)](_0x3e5ae7,_0x3ab461)[_0x48ab3d];_0x15f320&&_0x15f320[_0x7a1268(0x3bc)]===_0x47c402['DrawingTypeEnum'][_0x7a1268(0x19d)]&&this[_0x7a1268(0x369)][_0x7a1268(0x3ed)]([{..._0x15f320,'prstGeom':_0x3bb4e1,'adjustValues':_0x243ddf}]);}};_0x1471d7=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x459a9e[_0x7db477(0x355)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x4152b2[_0x7db477(0x1a4)]))],_0x1471d7);let _0xc138a4='doc.shape.picker.component',_0x5e6476=_0x7db477(0x281);function _0x58d0e7({onShapeClick:_0x58eeb0,excludeGroups:_0x4e87c5}){const _0x311dee=_0x7db477;return(0x0,_0x932776[_0x311dee(0x476)])(_0x56d51f[_0x311dee(0x3f5)],{'excludeGroups':_0x4e87c5,'onShapeClick':_0x58eeb0,'scrollContainer':_0x311dee(0x28b)});}function _0x2ede24(){const _0x486420=_0x7db477;let _0x5c4f11=(0x0,_0x86086d[_0x486420(0x320)])(_0x4152b2[_0x486420(0x1a4)]),_0x12bf03=(0x0,_0x86086d[_0x486420(0x320)])(_0x1471d7);return _0x1ef8d7=>{const _0x5674b1=_0x486420;let _0x53e340=_0x5c4f11[_0x5674b1(0x3b6)]()[_0x5674b1(0x363)](_0x2b1b4c=>_0x2b1b4c[_0x5674b1(0x3bc)]===_0x47c402[_0x5674b1(0x472)][_0x5674b1(0x19d)]);_0x53e340&&_0x12bf03[_0x5674b1(0x280)](_0x53e340[_0x5674b1(0x24d)],_0x53e340[_0x5674b1(0x28c)],_0x53e340[_0x5674b1(0x2ef)],_0x1ef8d7[_0x5674b1(0x139)]);};}function _0x50210b(){const _0x5742fb=_0x7db477;let _0x1bcd25=_0x2ede24();return(0x0,_0x932776['jsx'])(_0x56d51f[_0x5742fb(0x3d7)],{'buttonLabel':_0x5742fb(0x140),'excludeGroups':[_0x56d51f[_0x5742fb(0x2cc)][_0x5742fb(0x458)]],'onShapeClick':_0x1bcd25});}function _0x34fc80(){const _0x3ec43a=_0x7db477;let _0x56911a=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x86086d[_0x3ec43a(0x32c)]),_0x3c82d9=(0x0,_0x86086d[_0x3ec43a(0x320)])(_0x4152b2[_0x3ec43a(0x1a4)]),_0x58fd2f=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x3ec43a(0x191)]),_0x355011=_0x3c82d9['getFocusDrawings']()[0x0],_0x3c301a=_0x355011?_0x58fd2f[_0x3ec43a(0x145)](_0x355011[_0x3ec43a(0x24d)]):void 0x0,_0x76e0d0=_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x486)]?_0x5e6476:_0x3c301a===_0x47c402[_0x3ec43a(0x1aa)][_0x3ec43a(0x276)]?'sheet.image-clip.shape-picker.component':void 0x0,_0xef72ed=_0x76e0d0?_0x56911a[_0x3ec43a(0x45e)](_0x76e0d0):void 0x0;return _0xef72ed?(0x0,_0x932776['jsx'])(_0xef72ed,{}):null;}function _0x3be8f4({paragraphMenuPlacement:_0x165b61,PickerComponent:_0x2c5fb8=_0x58d0e7}){const _0x5660e5=_0x7db477;let _0x4daa1d=(0x0,_0x86086d['useDependency'])(_0x47c402['ICommandService']);return(0x0,_0x932776[_0x5660e5(0x476)])(_0x2c5fb8,{'onShapeClick':_0x42460c=>{const _0x44d26a=_0x5660e5;_0x4daa1d[_0x44d26a(0x467)](_0x4654b3['id'],{'paragraphMenuPlacement':_0x165b61,'value':_0x42460c[_0x44d26a(0x139)],'enhanceParams':{'endArrow':_0x42460c[_0x44d26a(0x27a)],'startArrow':_0x42460c[_0x44d26a(0x407)],'horizontal':_0x42460c['horizontal'],'vertical':_0x42460c['vertical']}});}});}function _0xc5dc5b(_0x2ae39c){const _0x56258b=_0x7db477;return _0x1511ce=>({'id':_0x4654b3['id'],'type':_0x86086d[_0x56258b(0x32d)][_0x56258b(0x382)],'selections':[{'label':{'name':_0xc138a4,'hoverable':!0x1,'selectable':!0x1,'props':_0x2ae39c?{'id':_0x4654b3['id'],'paragraphMenuPlacement':_0x2ae39c}:{'id':_0x4654b3['id']}}}],'icon':'ShapeIcon','title':_0x56258b(0x243),'tooltip':_0x56258b(0x243),'hidden$':(0x0,_0x86086d[_0x56258b(0x1d7)])(_0x1511ce,_0x47c402['UniverInstanceType'][_0x56258b(0x486)])});}let _0x287851=_0xc5dc5b(),_0x2f28bc=_0xc5dc5b('below'),_0x1f07e9=_0xc5dc5b(_0x7db477(0x16d));function _0x2f690f(_0x42ae86){const _0x8d5e04=_0x7db477;return{'id':_0x3c123e['id'],'type':_0x86086d[_0x8d5e04(0x32d)][_0x8d5e04(0x33e)],'icon':_0x8d5e04(0x28e),'title':'docs-shape-ui.objectListPanel.open','tooltip':_0x8d5e04(0x13d),'hidden$':(0x0,_0x86086d[_0x8d5e04(0x1d7)])(_0x42ae86,_0x47c402[_0x8d5e04(0x1aa)][_0x8d5e04(0x486)])};}function _0x59074d(_0x4a1069,_0x16ba35,_0x4b552d,_0x41aec3,_0x3b302b,_0x11e296){const _0x205211=_0x7db477;let _0x3649de={'unitId':_0x16ba35,'shapeId':_0x41aec3,'shapeData':_0x11e296,'oldShapeJSON':_0x3b302b};return _0x4a1069[_0x205211(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],_0x3649de);}function _0x205aee(_0x2fd570,_0x2b138c,_0x1b9dc2,_0x2e75a1,_0x566bc5,_0xb12dc0){const _0x177924=_0x7db477;let _0x1a2592={'unitId':_0x2b138c,'shapeId':_0x2e75a1,'shapeData':_0xb12dc0,'oldShapeJSON':_0x566bc5};return _0x2fd570[_0x177924(0x467)](_0x284855[_0x177924(0x3bf)]['id'],_0x1a2592);}let _0x560d2a=_0x7db477(0x40a),_0x4850a6=_0x7db477(0x11e),_0x19a0d7='docs-shape-ui.shape-format.text-ribbon-control',_0x2084e0=_0x7db477(0x1a9),_0x5ac958=_0x7db477(0x332),_0x2979c9=[{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x1ab)],'label':'docs-shape-ui.textWrap.inline','icon':_0x7db477(0x39d)},{'value':_0x13d142[_0x7db477(0x341)]['WRAP_SQUARE'],'label':_0x7db477(0x34a),'icon':_0x7db477(0x137)},{'value':_0x13d142['TextWrappingStyle'][_0x7db477(0x319)],'label':_0x7db477(0x284),'icon':_0x7db477(0x304)},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x31f)],'label':'docs-shape-ui.textWrap.behindText','icon':'DocsShapeWrapBehindTextIcon'},{'value':_0x13d142[_0x7db477(0x341)][_0x7db477(0x3d9)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x7db477(0x43c)}];function _0x490714(){const _0x5d39f8=_0x7db477;let _0x265fd9=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x47c402['ICommandService']),_0x219a6b=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x4152b2[_0x5d39f8(0x1a4)]),_0x2aa699=(0x0,_0x86086d[_0x5d39f8(0x320)])(_0x284855[_0x5d39f8(0x2ac)]),_0x26d0f7=()=>{const _0x268939=_0x5d39f8;var _0x4a7e4f;let _0x5d7384=_0x219a6b['getFocusDrawings']();if(_0x5d7384['length']!==0x1||((_0x4a7e4f=_0x5d7384[0x0])==null?void 0x0:_0x4a7e4f[_0x268939(0x3bc)])!==_0x47c402[_0x268939(0x472)][_0x268939(0x427)])return null;let {unitId:_0x3f1428,subUnitId:_0x36b3e8,drawingId:_0x1da3f8}=_0x5d7384[0x0],_0x4e5159=_0x2aa699[_0x268939(0x15e)](_0x3f1428,_0x36b3e8,_0x1da3f8),_0x7afb97=_0x2aa699[_0x268939(0x237)](_0x3f1428,_0x36b3e8,_0x1da3f8);return _0x4e5159===void 0x0||!_0x7afb97?null:{'unitId':_0x3f1428,'subUnitId':_0x36b3e8,'drawingId':_0x1da3f8,'shapeType':_0x4e5159,'shapeData':_0x7afb97};},_0x416d53=(0x0,_0x86086d[_0x5d39f8(0x3cf)])(()=>new _0x21926c[(_0x5d39f8(0x16b))](_0x3bc57c=>{const _0x304f4d=_0x5d39f8;let _0xf4a60a=()=>_0x3bc57c[_0x304f4d(0x22e)](_0x26d0f7()),_0x5c874e=_0x219a6b[_0x304f4d(0x48c)][_0x304f4d(0x146)](_0xf4a60a),_0x2dc94a=_0x265fd9[_0x304f4d(0x187)](_0x2b7f42=>{const _0x4293cd=_0x304f4d;_0x2b7f42['id']===_0x284855[_0x4293cd(0x324)]['id']&&_0xf4a60a();});return _0xf4a60a(),()=>{const _0x53160e=_0x304f4d;_0x5c874e[_0x53160e(0x158)](),_0x2dc94a[_0x53160e(0x18c)]();};}),_0x26d0f7(),!0x1,[_0x265fd9,_0x2aa699,_0x219a6b]);return{'selection':_0x416d53,'updateShapeData':_0x4df35d=>{const _0x5a5ca4=_0x5d39f8;_0x416d53&&_0x59074d(_0x265fd9,_0x416d53[_0x5a5ca4(0x24d)],_0x416d53[_0x5a5ca4(0x28c)],_0x416d53[_0x5a5ca4(0x2ef)],{'oldShapeData':_0x416d53[_0x5a5ca4(0x441)]},_0x4df35d);}};}function _0x532467(){const _0x4fc816=_0x7db477;let {selection:_0x38fdd3,updateShapeData:_0x4b0d7b}=_0x490714();return _0x38fdd3?(0x0,_0x932776[_0x4fc816(0x476)])(_0x56d51f[_0x4fc816(0x367)],{'shapeData':_0x38fdd3[_0x4fc816(0x441)],'shapeType':_0x38fdd3[_0x4fc816(0x49e)],'onUpdateShapeData':_0x4b0d7b}):null;}function _0x533993(){const _0x58799e=_0x7db477;let _0x11816f=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x250)]),_0x31a77d=(0x0,_0x86086d[_0x58799e(0x320)])(_0x47c402[_0x58799e(0x2ba)]),{selection:_0x261a18}=_0x490714();return _0x261a18?(0x0,_0x932776[_0x58799e(0x476)])(_0x56d51f[_0x58799e(0x1ee)],{'type':(0x0,_0x48b72a[_0x58799e(0x1cf)])(_0x261a18[_0x58799e(0x441)]),'ariaLabel':_0x31a77d['t'](_0x58799e(0x365)),'activePresetId':(0x0,_0x48b72a[_0x58799e(0x3e6)])(_0x261a18[_0x58799e(0x441)]),'onSelect':_0x46327c=>_0x11816f[_0x58799e(0x467)](_0x5bf868['id'],{'presetId':_0x46327c})}):null;}function _0x5e650e(){const _0x7dc1f3=_0x7db477;let {selection:_0x32121e,updateShapeData:_0x2837a4}=_0x490714();return _0x32121e?(0x0,_0x932776[_0x7dc1f3(0x476)])(_0x56d51f['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x7dc1f3(0x133),'shapeData':_0x32121e[_0x7dc1f3(0x441)],'onUpdateShapeData':_0x2837a4}):null;}function _0x14a76c(){const _0x55ecdd=_0x7db477;var _0x5d1cd1;let {selection:_0x5d26a5,updateShapeData:_0x17f5e2}=_0x490714(),_0x59014f=(0x0,_0x56d51f['useFormulaShapeToolbar'])({'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x24d)])??'','subUnitId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x28c)])??'','shapeId':(_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x2ef)])??'','shapeData':_0x5d26a5==null?void 0x0:_0x5d26a5[_0x55ecdd(0x441)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x55ecdd(0x1fe),'onUpdateBinding':_0x412da0=>_0x17f5e2({'formulaBinding':_0x412da0})}),_0x5f472e=((_0x5d1cd1=_0x59014f[_0x55ecdd(0x30b)])==null?void 0x0:_0x5d1cd1[_0x55ecdd(0x1de)](_0x1a10c3=>_0x1a10c3[_0x55ecdd(0x195)])[_0x55ecdd(0x1ef)](_0x2f3f26=>_0x2f3f26['visible']!==!0x1))??[];return _0x5d26a5!=null&&_0x5d26a5['shapeData'][_0x55ecdd(0x3d0)]?(0x0,_0x932776[_0x55ecdd(0x476)])(_0x56d51f[_0x55ecdd(0x493)],{'actions':_0x5f472e,'panel':_0x59014f['panel']}):null;}function _0x45324f({value:_0x3f91ac}){const _0x4a1736=_0x7db477;let _0x1a3e09=(0x0,_0x86086d[_0x4a1736(0x320)])(_0x47c402[_0x4a1736(0x2ba)]),_0x2fc29c=_0x2979c9[_0x4a1736(0x363)](_0x38eed0=>_0x38eed0[_0x4a1736(0x1c6)]===_0x3f91ac)??_0x2979c9[0x0];return _0x2fc29c?(0x0,_0x932776[_0x4a1736(0x476)])(_0x4a1736(0x2cd),{'children':_0x1a3e09['t'](_0x2fc29c[_0x4a1736(0x166)])}):null;}let _0x2184b3='docs-shape-ui.ribbon.shape-format.style-control',_0x507dea=_0x7db477(0x1be),_0x2355bf='docs-shape-ui.ribbon.shape-format.formula-control',_0x3e66f1=_0x7db477(0x3a1),_0x8b18ed=_0x7db477(0x23d),_0x147939='docs-shape-ui.ribbon.shape-format.arrange-front',_0x48673f=_0x7db477(0x18d),_0xaf97ed=_0x7db477(0x2a0);function _0x3fa344(_0x1a4de2){const _0x36b6e8=_0x7db477;let _0x2552af=_0x1a4de2[_0x36b6e8(0x45e)](_0x47c402['ICommandService']),_0x2085a7=_0x1a4de2[_0x36b6e8(0x45e)](_0x4152b2[_0x36b6e8(0x1a4)]),_0xb7d451=_0x1a4de2[_0x36b6e8(0x45e)](_0x284855[_0x36b6e8(0x2ac)]);return new _0x21926c[(_0x36b6e8(0x16b))](_0x12a98f=>{const _0x520239=_0x36b6e8;let _0x3460a9=()=>{const _0xa793dd=_0x3f06;let _0x4e44fb=_0x4648f7(_0x1a4de2),_0x282ec3=_0x4e44fb?_0xb7d451[_0xa793dd(0x237)](_0x4e44fb[_0xa793dd(0x24d)],_0x4e44fb[_0xa793dd(0x28c)],_0x4e44fb['drawingId']):null;_0x12a98f[_0xa793dd(0x22e)](_0x282ec3?(0x0,_0x48b72a[_0xa793dd(0x3e6)])(_0x282ec3)??'':'');},_0xba82d9=_0x2085a7['focus$'][_0x520239(0x146)](_0x3460a9),_0x47b37b=_0x2552af[_0x520239(0x187)](_0x4b07fe=>{const _0x99b4ab=_0x520239;_0x4b07fe['id']===_0x284855[_0x99b4ab(0x324)]['id']&&_0x3460a9();});return _0x3460a9(),()=>{const _0x5a47a6=_0x520239;_0xba82d9[_0x5a47a6(0x158)](),_0x47b37b[_0x5a47a6(0x18c)]();};});}function _0x4648f7(_0x54d16a){const _0x4e9942=_0x7db477;var _0x15340e;let _0x57df39=_0x54d16a[_0x4e9942(0x45e)](_0x4152b2[_0x4e9942(0x1a4)])[_0x4e9942(0x3b6)]();return _0x57df39[_0x4e9942(0x2b4)]===0x1&&((_0x15340e=_0x57df39[0x0])==null?void 0x0:_0x15340e[_0x4e9942(0x3bc)])===_0x47c402[_0x4e9942(0x472)][_0x4e9942(0x427)]?_0x57df39[0x0]:null;}function _0x390bbe(_0x53efe2){const _0x30e278=_0x7db477;return(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x306)]?_0x53efe2[_0x30e278(0x25d)]===_0x47c402[_0x30e278(0x159)][_0x30e278(0x199)]?_0x13d142[_0x30e278(0x341)]['BEHIND_TEXT']:_0x13d142['TextWrappingStyle'][_0x30e278(0x3d9)]:(_0x53efe2==null?void 0x0:_0x53efe2['layoutType'])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x181)]?_0x13d142[_0x30e278(0x341)]['WRAP_SQUARE']:(_0x53efe2==null?void 0x0:_0x53efe2[_0x30e278(0x479)])===_0x47c402[_0x30e278(0x457)][_0x30e278(0x319)]?_0x13d142[_0x30e278(0x341)][_0x30e278(0x319)]:_0x13d142[_0x30e278(0x341)]['INLINE'];}function _0x506810(_0x54ba55){const _0x408d37=_0x7db477;let _0x3bf9f0=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x250)]),_0x305025=_0x54ba55[_0x408d37(0x45e)](_0x4152b2[_0x408d37(0x1a4)]),_0x1e8d69=_0x54ba55[_0x408d37(0x45e)](_0x47c402[_0x408d37(0x191)]);return new _0x21926c['Observable'](_0x2f507c=>{const _0xc209de=_0x408d37;let _0x304ece=()=>{const _0x2b0cb3=_0x3f06;var _0x4052c4;let _0x5b60b6=_0x4648f7(_0x54ba55),_0x592c39=_0x5b60b6?_0x1e8d69['getUnit'](_0x5b60b6[_0x2b0cb3(0x24d)],_0x47c402[_0x2b0cb3(0x1aa)][_0x2b0cb3(0x486)]):void 0x0;_0x2f507c[_0x2b0cb3(0x22e)](_0x390bbe(_0x5b60b6?_0x592c39==null||(_0x4052c4=_0x592c39['getSnapshot']()[_0x2b0cb3(0x453)])==null?void 0x0:_0x4052c4[_0x5b60b6['drawingId']]:void 0x0));},_0x42c632=_0x305025[_0xc209de(0x48c)][_0xc209de(0x146)](_0x304ece),_0x1d8ad5=_0x3bf9f0[_0xc209de(0x187)](_0x28d4bd=>{_0x28d4bd['id']===_0x18b339['RichTextEditingMutation']['id']&&_0x304ece();});return _0x304ece(),()=>{const _0x2fa717=_0xc209de;_0x42c632['unsubscribe'](),_0x1d8ad5[_0x2fa717(0x18c)]();};})[_0x408d37(0x12a)]((0x0,_0x21926c[_0x408d37(0x42e)])());}function _0x4a1498(_0x29a13d,_0x29f4d7=!0x1){const _0x2ae55f=_0x7db477;let _0x44a6e7=_0x29a13d[_0x2ae55f(0x45e)](_0x47c402[_0x2ae55f(0x250)]),_0x4735df=_0x29a13d[_0x2ae55f(0x45e)](_0x4152b2[_0x2ae55f(0x1a4)]),_0x3333d9=_0x29a13d[_0x2ae55f(0x45e)](_0x284855[_0x2ae55f(0x2ac)]);return new _0x21926c[(_0x2ae55f(0x16b))](_0x434d9f=>{const _0x5c072f=_0x2ae55f;let _0x3e825d=()=>{const _0x5baf28=_0x3f06;let _0x1d3550=_0x4648f7(_0x29a13d);if(!_0x1d3550){_0x434d9f['next'](!0x0);return;}let _0x4e7716=_0x3333d9[_0x5baf28(0x237)](_0x1d3550[_0x5baf28(0x24d)],_0x1d3550['subUnitId'],_0x1d3550[_0x5baf28(0x2ef)]);_0x434d9f[_0x5baf28(0x22e)](!_0x4e7716||_0x29f4d7&&_0x4e7716['formulaBinding']==null);},_0x1ce144=_0x4735df[_0x5c072f(0x48c)][_0x5c072f(0x146)](_0x3e825d),_0x492b7f=_0x44a6e7[_0x5c072f(0x187)](_0x269d8a=>{const _0x393260=_0x5c072f;_0x269d8a['id']===_0x284855[_0x393260(0x324)]['id']&&_0x3e825d();});return _0x3e825d(),()=>{const _0x2009d6=_0x5c072f;_0x1ce144[_0x2009d6(0x158)](),_0x492b7f[_0x2009d6(0x18c)]();};});}function _0x16c615(_0x2a99fc){const _0x415728=_0x7db477;let _0x519b36=_0x2a99fc[_0x415728(0x45e)](_0x4152b2['IDrawingManagerService']),_0x2b1e76=_0x2a99fc[_0x415728(0x45e)](_0x284855['DocsShapeService']);return _0x519b36[_0x415728(0x48c)][_0x415728(0x12a)]((0x0,_0x21926c['startWith'])(_0x519b36[_0x415728(0x3b6)]()),(0x0,_0x21926c[_0x415728(0x3b4)])(()=>{const _0x4b5572=_0x415728;let _0x3efce6=_0x4648f7(_0x2a99fc),_0xea1805=_0x3efce6?_0x2b1e76['getShapeTypeById'](_0x3efce6['unitId'],_0x3efce6['subUnitId'],_0x3efce6['drawingId']):void 0x0;return _0xea1805===void 0x0||(0x0,_0x3becc2[_0x4b5572(0x34f)])(_0xea1805);}));}function _0x1a15c1(_0x540f8e){const _0x3f1785=_0x7db477;return{'id':_0x5bf868['id'],'type':_0x86086d[_0x3f1785(0x32d)][_0x3f1785(0x382)],'icon':_0x3f1785(0x390),'title':_0x3f1785(0x2d9),'tooltip':_0x3f1785(0x2d9),'selections':[{'label':{'name':_0x560d2a,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x3fa344(_0x540f8e),'hidden$':_0x4a1498(_0x540f8e)};}function _0x2f8034(_0x241078){const _0x2c9394=_0x7db477;return{'id':_0x58df16['id'],'type':_0x86086d['MenuItemType'][_0x2c9394(0x382)],'icon':'ShapeIcon','title':_0x2c9394(0x3f9),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x56d51f['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x16c615(_0x241078)};}function _0xea25f2(_0x19618,_0x5e94d5,_0xd832cf=!0x1){const _0x5ef637=_0x7db477;return _0x31bea7=>({'id':_0x19618,'type':_0x86086d[_0x5ef637(0x32d)][_0x5ef637(0x33e)],'label':{'name':_0x5e94d5,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x4a1498(_0x31bea7,_0xd832cf)});}let _0x39ac22=_0xea25f2(_0x2184b3,_0x4850a6),_0x5e4760=_0xea25f2(_0x507dea,_0x19a0d7),_0x592943=_0xea25f2(_0x2355bf,_0x2084e0,!0x0);function _0x4c61d6(_0x322948){const _0x4e22ab=_0x7db477;return{'id':_0xaf97ed,'type':_0x86086d[_0x4e22ab(0x32d)]['SELECTOR'],'icon':_0x2979c9[0x0][_0x4e22ab(0x23c)],'label':_0x5ac958,'selectionsCommandId':_0x13d142[_0x4e22ab(0x383)]['id'],'selections':_0x2979c9[_0x4e22ab(0x3b4)](({icon:_0x62d4ab,label:_0x38ec6e,value:_0x1c2fad})=>({'value':_0x1c2fad,'label':_0x38ec6e,'icon':_0x62d4ab,'params':()=>{const _0x32959f=_0x4e22ab;let _0x1b1861=_0x4648f7(_0x322948);return _0x1b1861?{'unitId':_0x1b1861[_0x32959f(0x24d)],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawings':[{'unitId':_0x1b1861['unitId'],'subUnitId':_0x1b1861[_0x32959f(0x28c)],'drawingId':_0x1b1861[_0x32959f(0x2ef)]}],'wrappingStyle':_0x1c2fad}:void 0x0;}})),'value$':_0x506810(_0x322948),'hidden$':_0x4a1498(_0x322948)};}function _0x2d3256(_0x444412,_0x3886ba,_0x5a9146,_0x414f69){const _0x4785fb=_0x7db477;return _0x460a89=>({'id':_0x444412,'commandId':_0x13d142['SetDocDrawingArrangeCommand']['id'],'type':_0x86086d[_0x4785fb(0x32d)][_0x4785fb(0x33e)],'icon':_0x5a9146,'title':_0x414f69,'tooltip':_0x414f69,'hidden$':_0x4a1498(_0x460a89),'params':()=>{const _0x5719df=_0x4785fb;let _0x44c971=_0x4648f7(_0x460a89);return _0x44c971?{'unitId':_0x44c971[_0x5719df(0x24d)],'subUnitId':_0x44c971[_0x5719df(0x28c)],'drawingIds':[_0x44c971['drawingId']],'arrangeType':_0x3886ba}:void 0x0;}});}let _0x57389e=_0x2d3256(_0x3e66f1,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x205)],'MoveUpIcon',_0x7db477(0x374)),_0x52656a=_0x2d3256(_0x8b18ed,_0x47c402['ArrangeTypeEnum'][_0x7db477(0x37e)],'MoveDownIcon',_0x7db477(0x299)),_0x39441a=_0x2d3256(_0x147939,_0x47c402[_0x7db477(0x15f)]['front'],_0x7db477(0x461),_0x7db477(0x391)),_0x1b703f=_0x2d3256(_0x48673f,_0x47c402[_0x7db477(0x15f)][_0x7db477(0x126)],_0x7db477(0x1ec),_0x7db477(0x491));function _0x53cb1a(_0x151fab){const _0x59b0f0=_0x7db477;return{'id':_0x39980d['id'],'type':_0x86086d[_0x59b0f0(0x32d)]['BUTTON'],'icon':_0x59b0f0(0x2f5),'title':_0x59b0f0(0x42f),'tooltip':_0x59b0f0(0x42f),'hidden$':_0x4a1498(_0x151fab),'params':()=>{const _0x354768=_0x59b0f0;let _0x38586f=_0x4648f7(_0x151fab);return _0x38586f?{'unitId':_0x38586f[_0x354768(0x24d)],'subUnitId':_0x38586f[_0x354768(0x28c)],'drawingId':_0x38586f[_0x354768(0x2ef)]}:void 0x0;}};}let _0x391af2={[_0x86086d[_0x7db477(0x2e5)][_0x7db477(0x226)]]:{[_0x2bcc29]:{'order':0x64,'title':_0x7db477(0x42f),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x5bf868['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1a15c1},[_0x58df16['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x2f8034}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2184b3]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x39ac22}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x507dea]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5e4760}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0xaf97ed]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x4c61d6},[_0x3e66f1]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x57389e},[_0x8b18ed]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x52656a},[_0x147939]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x39441a},[_0x48673f]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x1b703f}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2355bf]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x592943}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x39980d['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x53cb1a},[_0x56d51f['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x56d51f['ShapeFloatingToolbarToggleFactory']}}}}},_0x317aa8={[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x2c7)]]:{[_0x4654b3['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2c3a45=>({..._0x287851(_0x2c3a45),'title':void 0x0})}},[_0x86086d[_0x7db477(0x16e)][_0x7db477(0x168)]]:{[_0x3c123e['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2f690f}},[_0x86086d[_0x7db477(0x23e)][_0x7db477(0x2a6)]]:{[_0x86086d[_0x7db477(0x263)]['LAYOUT']]:{[_0x130604['INSERT_BELLOW_MENU_ID']]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x143)]]:{[_0x86086d['ContextMenuGroup'][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x2f28bc}}},[_0x130604[_0x7db477(0x3e5)]]:{[_0x86086d[_0x7db477(0x263)][_0x7db477(0x310)]]:{[_0x4654b3['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x1f07e9}}},[_0x130604[_0x7db477(0x411)]]:{'insert':{[_0x4654b3['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x287851}}},[_0x130604['DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID']]:{'insert':{[_0x4654b3['id']+_0x7db477(0x478)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x2f28bc}}}}};var _0x45c6c8=_0x7db477(0x2c9),_0x279654='1.0.1';let _0x87b80e={'type':_0x47c402[_0x7db477(0x165)]['OPERATION'],'id':_0x7db477(0x1bf),'handler'(){return!0x0;}},_0x3c8ab9=_0x7db477(0x1cb),_0x1bd49e={};function _0x3f6c35(_0x4bc77b){'@babel/helpers - typeof';const _0x41d81e=_0x7db477;return _0x3f6c35=typeof Symbol==_0x41d81e(0x38d)&&typeof Symbol['iterator']=='symbol'?function(_0x2d6bbd){return typeof _0x2d6bbd;}:function(_0x1ae5c3){const _0x2b3ae8=_0x41d81e;return _0x1ae5c3&&typeof Symbol=='function'&&_0x1ae5c3['constructor']===Symbol&&_0x1ae5c3!==Symbol[_0x2b3ae8(0x117)]?'symbol':typeof _0x1ae5c3;},_0x3f6c35(_0x4bc77b);}function _0x3a811f(_0x2beaa6,_0x252636){const _0x250e8d=_0x7db477;if(_0x3f6c35(_0x2beaa6)!='object'||!_0x2beaa6)return _0x2beaa6;var _0x3d5387=_0x2beaa6[Symbol[_0x250e8d(0x3fa)]];if(_0x3d5387!==void 0x0){var _0x4e27e6=_0x3d5387[_0x250e8d(0x203)](_0x2beaa6,_0x252636||_0x250e8d(0x21c));if(_0x3f6c35(_0x4e27e6)!=_0x250e8d(0x368))return _0x4e27e6;throw TypeError(_0x250e8d(0x3fb));}return(_0x252636===_0x250e8d(0x371)?String:Number)(_0x2beaa6);}function _0x562ffa(_0x4b85d2){var _0x52d5cb=_0x3a811f(_0x4b85d2,'string');return _0x3f6c35(_0x52d5cb)=='symbol'?_0x52d5cb:_0x52d5cb+'';}function _0x38c0c9(_0x3bdc25,_0x12226c,_0x12947c){const _0x6943ee=_0x7db477;return(_0x12226c=_0x562ffa(_0x12226c))in _0x3bdc25?Object[_0x6943ee(0x1c8)](_0x3bdc25,_0x12226c,{'value':_0x12947c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3bdc25[_0x12226c]=_0x12947c,_0x3bdc25;}var _0x39a34d=class extends _0x54839f[_0x7db477(0x1cd)]{constructor(_0x574a5a,_0x27a999){const _0x56eb69=_0x7db477;super(_0x574a5a,_0x27a999),_0x38c0c9(this,_0x56eb69(0x356),null),_0x38c0c9(this,'_adjName',null),_0x38c0c9(this,_0x56eb69(0x1ed),null),_0x38c0c9(this,_0x56eb69(0x47c),null),_0x27a999&&this[_0x56eb69(0x21f)](_0x27a999);}[_0x7db477(0x1e0)](){const _0x36910b=_0x7db477;return{'unitId':this[_0x36910b(0x1ed)],'subUnitId':this[_0x36910b(0x47c)],'drawingId':this[_0x36910b(0x356)]};}['setShapeProps'](_0x356bcd){const _0x55c6c6=_0x7db477;_0x356bcd['shapeId']!==void 0x0&&(this[_0x55c6c6(0x356)]=_0x356bcd['shapeId']),_0x356bcd[_0x55c6c6(0x370)]!==void 0x0&&(this[_0x55c6c6(0x197)]=_0x356bcd[_0x55c6c6(0x370)]),_0x356bcd['unitId']!==void 0x0&&(this[_0x55c6c6(0x1ed)]=_0x356bcd[_0x55c6c6(0x24d)]),_0x356bcd[_0x55c6c6(0x28c)]!==void 0x0&&(this[_0x55c6c6(0x47c)]=_0x356bcd[_0x55c6c6(0x28c)]),this[_0x55c6c6(0x2a9)]({'width':_0x356bcd[_0x55c6c6(0x19f)],'height':_0x356bcd[_0x55c6c6(0x1e3)]});}[_0x7db477(0x2fe)](_0x27b711){const _0x23cabd=_0x7db477;_0x54839f[_0x23cabd(0x2ce)][_0x23cabd(0x1a6)](_0x27b711,{'radius':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x366)],'fill':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x26e)],'stroke':_0x3becc2[_0x23cabd(0x482)][_0x23cabd(0x255)],'strokeWidth':0x1,'evented':!0x0});}};function _0x4c90b5(_0x207abd,_0xa365e2,_0x1a6b98){const _0x1b4d92=_0x7db477;let _0x258065={..._0xa365e2,'dataModel':{..._0xa365e2[_0x1b4d92(0x2f4)]??{},..._0x1a6b98?{'doc':_0x1a6b98}:null}},_0x16348d=(0x0,_0x56d51f['resolveShapeTextEditorBehaviorShapeData'])(_0x207abd,_0x258065),_0x436e14=(0x0,_0x56d51f[_0x1b4d92(0x451)])(_0x16348d);return{'clip':(0x0,_0x56d51f['shouldClipShapeTextDocument'])(_0x16348d,_0x436e14),'wrapStrategy':_0x436e14};}var _0x5777c9=class extends _0x54839f['Shape']{constructor(_0xa28674,_0x3f892a){const _0x250d28=_0x7db477;super(_0xa28674,_0x3f892a),_0x38c0c9(this,_0x250d28(0x2c1),void 0x0),_0x38c0c9(this,'_formulaAnimation',new _0x56d51f[(_0x250d28(0x266))](()=>this['makeDirty'](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x38c0c9(this,'_transformCalculateSrcRect',!0x0),_0x38c0c9(this,_0x250d28(0x1c2),_0x47c402[_0x250d28(0x472)]['DRAWING_SHAPE']),_0x38c0c9(this,'isDrawingObject',!0x0),this[_0x250d28(0x2c1)]={..._0x3f892a},this['_formulaAnimation']['setPresentation'](_0x3f892a[_0x250d28(0x47a)],_0x3f892a[_0x250d28(0x1b5)]!==!0x1),this[_0x250d28(0x40d)](),this['_applyFormulaAutoFitSize']();}[_0x7db477(0x40d)](){const _0x29cb54=_0x7db477;this[_0x29cb54(0x43b)]['subscribeEvent'](_0x204aa3=>{const _0x52c78e=_0x29cb54;this[_0x52c78e(0x32b)](_0x204aa3);});}[_0x7db477(0x3c8)](_0x4d9e38){const _0x381bef=_0x7db477;this[_0x381bef(0x2c1)][_0x381bef(0x2d3)]=_0x4d9e38;}[_0x7db477(0x2e2)](_0x508552){const _0xcdca5d=_0x7db477;this[_0xcdca5d(0x2c1)][_0xcdca5d(0x216)]=_0x508552,this['makeDirty'](!0x0);}[_0x7db477(0x264)](_0x401aea,_0x4a5271=!0x0){const _0x33852f=_0x7db477;this['_formulaAnimation'][_0x33852f(0x3c0)](_0x401aea,_0x4a5271),this[_0x33852f(0x2c1)][_0x33852f(0x47a)]=_0x401aea,this[_0x33852f(0x229)](),this[_0x33852f(0x182)](!0x0);}[_0x7db477(0x229)](){const _0x154e11=_0x7db477;let _0x35f781=this[_0x154e11(0x2c1)][_0x154e11(0x3ca)],_0x47b9e4=_0x35f781[_0x154e11(0x2e0)](),_0x2cf376=(0x0,_0x56d51f[_0x154e11(0x2ff)])(_0x47b9e4==null?void 0x0:_0x47b9e4[_0x154e11(0x2f4)]),_0x34c897=_0x2cf376==null?void 0x0:_0x2cf376['doc'],_0x3452b6=this['_formulaAnimation'][_0x154e11(0x3cb)]();if(!_0x34c897||_0x3452b6[_0x154e11(0x2b4)]===0x0)return;_0x35f781['updateContext']({'width':this[_0x154e11(0x19f)],'height':this[_0x154e11(0x1e3)]});let _0x5b0384=(0x0,_0x56d51f[_0x154e11(0x3c7)])({'documentData':_0x3452b6[_0x154e11(0x3b4)](_0x4ae805=>(0x0,_0x48b72a[_0x154e11(0x3d3)])(_0x34c897,_0x4ae805)),'height':this[_0x154e11(0x1e3)],'shapeData':_0x35f781['getShapeData'](),'textRect':_0x35f781[_0x154e11(0x258)]({'left':0x0,'top':0x0,'width':this[_0x154e11(0x19f)],'height':this['height']}),'width':this[_0x154e11(0x19f)]});if(_0x5b0384){var _0x118d4d;this[_0x154e11(0x1dd)](_0x5b0384[_0x154e11(0x19f)],_0x5b0384['height']),(_0x118d4d=this[_0x154e11(0x12b)]())==null||(_0x118d4d=_0x118d4d['getTransformer']())==null||_0x118d4d[_0x154e11(0x33f)]();}}get[_0x7db477(0x24d)](){const _0x2d15f1=_0x7db477;return this[_0x2d15f1(0x2c1)][_0x2d15f1(0x24d)];}get[_0x7db477(0x28c)](){const _0x299eb9=_0x7db477;return this[_0x299eb9(0x2c1)][_0x299eb9(0x28c)];}[_0x7db477(0x32b)](_0x4f290c){const _0x4ae238=_0x7db477;if(this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x35db10,height:_0xf2f383}=this,{width:_0x4f11da=0x0,height:_0x4c8ddd=0x0}=_0x4f290c[_0x4ae238(0x2d0)],{left:_0x151ebe=0x0,top:_0x40f484=0x0,right:_0x15200c=0x0,bottom:_0x49660c=0x0}=this[_0x4ae238(0x2c1)][_0x4ae238(0x17d)],_0x5e7a0b=_0x151ebe,_0x3a1148=_0x40f484,_0x3975a7=_0x15200c,_0x546f87=_0x49660c,_0x22dc14=!0x1;if(_0x4f11da!==0x0&&_0x4f11da!==_0x35db10){let _0x57ca0b=_0x151ebe/_0x4f11da,_0x3bd9ef=_0x15200c/_0x4f11da;_0x5e7a0b=_0x35db10*_0x57ca0b,_0x3975a7=_0x35db10*_0x3bd9ef,_0x22dc14=!0x0;}if(_0x4c8ddd!==0x0&&_0x4c8ddd!==_0xf2f383){let _0x2e3aff=_0x40f484/_0x4c8ddd,_0x3d73f8=_0x49660c/_0x4c8ddd;_0x3a1148=_0xf2f383*_0x2e3aff,_0x546f87=_0xf2f383*_0x3d73f8,_0x22dc14=!0x0;}_0x22dc14&&this['setSrcRect']({'left':_0x5e7a0b,'top':_0x3a1148,'right':_0x3975a7,'bottom':_0x546f87});}[_0x7db477(0x13e)](_0x116d9d){const _0x11d0b4=_0x7db477;this['_props'][_0x11d0b4(0x17d)]=_0x116d9d,this[_0x11d0b4(0x182)](!0x0);}[_0x7db477(0x1f5)](_0x25a880){const _0x43386a=_0x7db477;this[_0x43386a(0x2c1)]['image']=_0x25a880,this[_0x43386a(0x182)](!0x0);}set[_0x7db477(0x211)](_0xf7856b){const _0x919a31=_0x7db477;this[_0x919a31(0x13b)]=_0xf7856b;}get[_0x7db477(0x211)](){const _0x91e519=_0x7db477;this[_0x91e519(0x13b)]||this[_0x91e519(0x194)]();let _0x171d16=this[_0x91e519(0x13b)][_0x91e519(0x120)]();return this[_0x91e519(0x28d)](_0x171d16);}get['shapeModel'](){const _0x37d4e2=_0x7db477;return this['_props'][_0x37d4e2(0x3ca)];}get[_0x7db477(0x424)](){const _0x192a31=_0x7db477;return this[_0x192a31(0x2c1)][_0x192a31(0x424)];}get['classType'](){const _0x11116a=_0x7db477;return _0x54839f['RENDER_CLASS_TYPE'][_0x11116a(0x131)];}[_0x7db477(0x2fe)](_0x28737f,_0x399ddc,_0x375b05,_0x518923){const _0x154d6f=_0x7db477;let _0x12a584=this[_0x154d6f(0x2c1)][_0x154d6f(0x3ca)];if(!_0x12a584||!_0x399ddc)return;let _0x4a927a=_0x375b05??this[_0x154d6f(0x19f)],_0x3711dc=_0x518923??this[_0x154d6f(0x1e3)],_0xef6bb1={'shapeType':_0x12a584[_0x154d6f(0x466)](),'width':_0x4a927a,'height':_0x3711dc},_0x203bc8={'renderMode':_0x3becc2[_0x154d6f(0x185)][_0x154d6f(0x3c9)],'oKey':this[_0x154d6f(0x34c)],'image':this[_0x154d6f(0x2c1)][_0x154d6f(0x29d)],'angle':this[_0x154d6f(0x336)]};_0x12a584[_0x154d6f(0x1d4)](_0xef6bb1),_0x28737f['save']();let _0x53f3a2={'top':0x0,'left':0x0,'width':_0x4a927a,'height':_0x3711dc},_0x251f72=_0x12a584['getDrawingEffectBounds'](_0x53f3a2);_0x251f72?this[_0x154d6f(0x406)](_0x28737f,_0x251f72,_0x2d1ab8=>{const _0x31dddc=_0x154d6f;_0x12a584[_0x31dddc(0x220)](_0x2d1ab8,_0x53f3a2,_0x203bc8);}):(this[_0x154d6f(0x473)](),_0x12a584['render'](_0x28737f,_0x53f3a2,_0x203bc8)),_0x28737f[_0x154d6f(0x161)]();let _0x2e844b=_0x12a584[_0x154d6f(0x2e0)](),_0x5d77c0=_0x12a584[_0x154d6f(0x258)](_0x53f3a2),_0x4db5b8=_0x12a584[_0x154d6f(0x20e)]();if(_0x2e844b&&_0x5d77c0&&!_0x4db5b8){_0x28737f[_0x154d6f(0x48f)](),this[_0x154d6f(0x251)]()[_0x154d6f(0x1d0)]&&_0x28737f[_0x154d6f(0x3f8)](-0x1,0x1);let _0xa26c95=_0x4a927a/0x2,_0x59be47=_0x3711dc/0x2;_0x28737f['translate'](-_0xa26c95,-_0x59be47),_0x28737f['beginPath'](),this[_0x154d6f(0x317)](_0x28737f,_0x2e844b,_0x5d77c0),_0x28737f[_0x154d6f(0x161)]();}}[_0x7db477(0x41d)](_0x50ddfb){}['_drawShapeText'](_0x3747a1,_0x7f9644,_0x29d66d){const _0x195dab=_0x7db477;var _0x17d9ea;this['_props']['isEditing']||(!((_0x17d9ea=_0x7f9644[_0x195dab(0x2f4)])!=null&&_0x17d9ea['doc'])&&_0x195dab(0x2a4)in _0x7f9644&&_0x7f9644[_0x195dab(0x2a4)]===!0x1?this['_drawSimpleText'](_0x3747a1,_0x7f9644,_0x29d66d):this[_0x195dab(0x1fb)](_0x3747a1,_0x7f9644,_0x29d66d));}[_0x7db477(0x3b1)](_0x29102d,_0x4b67d8,_0x4b5e5a){const _0x4c9aca=_0x7db477;this[_0x4c9aca(0x1fb)](_0x29102d,{..._0x4b67d8,'text':_0x4b67d8[_0x4c9aca(0x2f6)]??'','dataModel':{'doc':(0x0,_0x56d51f['plainShapeTextToDocumentData'])(_0x4b67d8,_0x4c9aca(0x381)+this[_0x4c9aca(0x34c)])}},_0x4b5e5a);}[_0x7db477(0x1fb)](_0x1ab48e,_0x4b75f7,_0x2d7c00){const _0x478ac6=_0x7db477;(0x0,_0x56d51f[_0x478ac6(0x2ae)])(_0x1ab48e,this[_0x478ac6(0x445)],(_0x4cfc46,_0x1ac121)=>{this['_drawRichTextLayer'](_0x4cfc46,_0x4b75f7,_0x2d7c00,_0x1ac121);});}['_drawRichTextLayer'](_0x10bf3d,_0x107f4c,_0x2dc28a,_0x37f760){const _0x3ab7b1=_0x7db477;let _0xf42edd=this['_props'][_0x3ab7b1(0x354)];if(!_0x107f4c[_0x3ab7b1(0x2f4)]||!_0xf42edd){_0xf42edd||console[_0x3ab7b1(0x328)](_0x3ab7b1(0x290));return;}let _0x469f42=(0x0,_0x56d51f[_0x3ab7b1(0x2ff)])(_0x107f4c['dataModel']);if(!_0x469f42)return;let _0x49cbca=_0x469f42[_0x3ab7b1(0x1b6)];if(!_0x49cbca)return;let _0x1db8a9=(0x0,_0x48b72a[_0x3ab7b1(0x3d3)])(_0x49cbca,_0x37f760),_0x2fb761=_0x469f42['va']??_0x47c402[_0x3ab7b1(0x414)][_0x3ab7b1(0x418)],_0x368395=_0x469f42['ha']??_0x47c402[_0x3ab7b1(0x39c)]['LEFT'],_0x54d0c5=_0x4c90b5(this['_props'][_0x3ab7b1(0x3ca)][_0x3ab7b1(0x38a)](),_0x107f4c,_0x1db8a9),_0x39ed8e=_0x107f4c[_0x3ab7b1(0x207)],_0x398600=(0x0,_0x56d51f[_0x3ab7b1(0x2ad)])(_0x1db8a9,{'isHorizontal':_0x39ed8e!==!0x1,'textRect':_0x2dc28a,'verticalAlign':_0x2fb761,'horizontalAlign':_0x368395,'wrapStrategy':_0x54d0c5[_0x3ab7b1(0x36f)]}),_0x1c8385=new _0x47c402[(_0x3ab7b1(0x26a))](_0x398600),_0xeb804f=new _0x54839f[(_0x3ab7b1(0x3de))](_0x1c8385),_0x3c8afa=_0x54839f[_0x3ab7b1(0x1fc)][_0x3ab7b1(0x46d)](_0xeb804f,_0xf42edd);_0x3c8afa[_0x3ab7b1(0x272)]();let _0x55c4c4=_0x3c8afa[_0x3ab7b1(0x1ba)]()[_0x3ab7b1(0x3ee)],_0x1c60db=(0x0,_0x56d51f[_0x3ab7b1(0x1df)])({'contentHeight':_0x55c4c4,'verticalAlign':_0x2fb761,'viewportHeight':_0x2dc28a['height']});_0x1c8385[_0x3ab7b1(0x15a)]({'pageSize':{'width':_0x39ed8e===!0x1?_0x2dc28a['height']:_0x2dc28a[_0x3ab7b1(0x19f)],'height':(0x0,_0x56d51f[_0x3ab7b1(0x17f)])(_0x1db8a9,_0x1c60db[_0x3ab7b1(0x429)])}}),_0x1c8385[_0x3ab7b1(0x283)]({'t':_0x1c60db[_0x3ab7b1(0x2b9)]}),_0x3c8afa[_0x3ab7b1(0x272)]();let _0x3b8fea=new _0x54839f[(_0x3ab7b1(0x22d))]('shape-text-'+this[_0x3ab7b1(0x34c)],_0x3c8afa,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x3b8fea[_0x3ab7b1(0x1dd)](_0x2dc28a['width'],_0x1c60db[_0x3ab7b1(0x429)]),_0x10bf3d[_0x3ab7b1(0x48f)](),_0x10bf3d['translateWithPrecision'](_0x2dc28a['left'],_0x2dc28a[_0x3ab7b1(0x372)]),_0x54d0c5[_0x3ab7b1(0x188)]&&(_0x10bf3d[_0x3ab7b1(0x221)](),_0x10bf3d['rect'](0x0,_0x1c60db[_0x3ab7b1(0x18a)],_0x2dc28a[_0x3ab7b1(0x19f)],_0x1c60db[_0x3ab7b1(0x129)]),_0x10bf3d[_0x3ab7b1(0x188)]()),_0x1c60db[_0x3ab7b1(0x26c)]&&_0x10bf3d[_0x3ab7b1(0x314)](0x0,_0x1c60db[_0x3ab7b1(0x26c)]),_0x3b8fea['draw'](_0x10bf3d),_0x10bf3d[_0x3ab7b1(0x161)](),_0x3b8fea['dispose'](),_0x3c8afa[_0x3ab7b1(0x18c)](),_0xeb804f[_0x3ab7b1(0x18c)](),_0x1c8385[_0x3ab7b1(0x18c)]();}[_0x7db477(0x220)](_0x5f2c81,_0x51e36e,_0xf9dc95=!0x1){const _0x5066f8=_0x7db477;if(!this[_0x5066f8(0x190)])return this[_0x5066f8(0x182)](!0x1),this;let {width:_0x5bdc59,height:_0x183707,left:_0x2f8328,top:_0x4bab6}=this,_0x4d07ae=this[_0x5066f8(0x376)]();if(_0x5bdc59=_0x4d07ae[_0x5066f8(0x19f)],_0x183707=_0x4d07ae[_0x5066f8(0x1e3)],_0x2f8328=_0x4d07ae[_0x5066f8(0x1d8)],_0x4bab6=_0x4d07ae[_0x5066f8(0x372)],this[_0x5066f8(0x316)](_0x51e36e)){let {top:_0x45409e,left:_0x43fd74,bottom:_0x188e70,right:_0x484c84}=_0x51e36e[_0x5066f8(0x3aa)];if(_0x5bdc59+this[_0x5066f8(0x17c)]+_0x2f8328<_0x43fd74||_0x484c84<_0x2f8328||_0x183707+this[_0x5066f8(0x17c)]+_0x4bab6<_0x45409e||_0x188e70<_0x4bab6)return this;}let _0x526f7b=_0x2f8328+_0x5bdc59/0x2,_0x7bba4a=_0x4bab6+_0x183707/0x2,_0x5e4583=this[_0x5066f8(0x211)][_0x5066f8(0x2ca)]();if(this[_0x5066f8(0x2c1)]['isEditing']){let _0x38814e=this[_0x5066f8(0x251)](),_0x71c090=new _0x54839f['Transform']();_0x71c090[_0x5066f8(0x228)]({..._0x38814e}),_0x5e4583=_0x71c090[_0x5066f8(0x2ca)]();}return _0x5f2c81[_0x5066f8(0x48f)](),this['_props'][_0x5066f8(0x3ca)]['isRenderLinePointsMode']===!0x0||_0x5f2c81[_0x5066f8(0x211)](_0x5e4583[0x0],_0x5e4583[0x1],_0x5e4583[0x2],_0x5e4583[0x3],_0x526f7b,_0x7bba4a),this[_0x5066f8(0x2fe)](_0x5f2c81,_0x51e36e,_0x5bdc59,_0x183707),_0x5f2c81[_0x5066f8(0x161)](),this['makeDirty'](!0x1),this;}[_0x7db477(0x14f)](_0x1e3634){const _0x872025=_0x7db477;let {left:_0x8b5c84,top:_0x765d33,width:_0x22862e,height:_0x57de51}=this[_0x872025(0x376)](),_0x17f3a2=this[_0x872025(0x211)][_0x872025(0x2ca)](),_0x359df8=_0x8b5c84+_0x22862e/0x2,_0x21714e=_0x765d33+_0x57de51/0x2,_0x44742b=new _0x54839f[(_0x872025(0x31a))]([_0x17f3a2[0x0],_0x17f3a2[0x1],_0x17f3a2[0x2],_0x17f3a2[0x3],_0x359df8,_0x21714e]),_0x21d305=this['getParent']();return(this[_0x872025(0x1e4)]&&(_0x21d305==null?void 0x0:_0x21d305[_0x872025(0x3c1)])===_0x54839f[_0x872025(0x163)][_0x872025(0x477)]?_0x21d305[_0x872025(0x497)][_0x872025(0x259)](_0x44742b):_0x44742b)['invert']()[_0x872025(0x460)](_0x1e3634);}[_0x7db477(0x425)](_0x416cef){const _0x4974fb=_0x7db477;let {left:_0x3273f1,top:_0x10e5ab,width:_0x4ce185,height:_0x2d4e57}=this[_0x4974fb(0x376)](),_0x3b0223=_0x3273f1+_0x4ce185/0x2,_0x4a74ae=_0x10e5ab+_0x2d4e57/0x2,_0x5178d4=this[_0x4974fb(0x211)][_0x4974fb(0x2ca)](),_0x3170a4=new _0x54839f[(_0x4974fb(0x31a))]([_0x5178d4[0x0],_0x5178d4[0x1],_0x5178d4[0x2],_0x5178d4[0x3],_0x3b0223,_0x4a74ae]),_0x2eaec3=this['getParent'](),_0x711911=(this[_0x4974fb(0x1e4)]&&(_0x2eaec3==null?void 0x0:_0x2eaec3['classType'])===_0x54839f[_0x4974fb(0x163)][_0x4974fb(0x477)]?_0x2eaec3[_0x4974fb(0x497)]['multiply'](_0x3170a4):_0x3170a4)[_0x4974fb(0x3bb)]()['applyPoint'](_0x416cef),_0x5bcbfe=_0x4ce185/0x2,_0xc6a222=_0x2d4e57/0x2,_0x303a94=this[_0x4974fb(0x2c1)][_0x4974fb(0x3ca)];return _0x303a94&&_0x303a94[_0x4974fb(0x20e)]()?_0x303a94[_0x4974fb(0x2fb)](_0x711911['x'],_0x711911['y'],_0x4ce185,_0x2d4e57):_0x711911['x']>=-_0x5bcbfe-this[_0x4974fb(0x17c)]/0x2&&_0x711911['x']<=_0x5bcbfe+this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']>=-_0xc6a222-this[_0x4974fb(0x17c)]/0x2&&_0x711911['y']<=_0xc6a222+this[_0x4974fb(0x17c)]/0x2;}['dispose'](){const _0x80ee45=_0x7db477;this['_formulaAnimation'][_0x80ee45(0x18c)](),this['_props'][_0x80ee45(0x3ca)]=null,super['dispose']();}};let _0x3e66ac=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x451955,_0x1fab29,_0xa250ce,_0x924ac1){const _0x133e5b=_0x7db477;super(),this[_0x133e5b(0x3c6)]=_0x451955,this[_0x133e5b(0x369)]=_0x1fab29,this[_0x133e5b(0x25b)]=_0xa250ce,this[_0x133e5b(0x248)]=_0x924ac1,_0x38c0c9(this,_0x133e5b(0x111),null),_0x38c0c9(this,_0x133e5b(0x1ed),null),_0x38c0c9(this,_0x133e5b(0x47c),null),_0x38c0c9(this,_0x133e5b(0x421),void 0x0),_0x38c0c9(this,'_adjustPointObjects',[]),_0x38c0c9(this,_0x133e5b(0x41e),0x0),_0x38c0c9(this,'_baseShapeTop',0x0),_0x38c0c9(this,_0x133e5b(0x2a8),0x0),_0x38c0c9(this,_0x133e5b(0x442),0x0),_0x38c0c9(this,_0x133e5b(0x49d),!0x1),_0x38c0c9(this,_0x133e5b(0x397),!0x1),_0x38c0c9(this,'_activeAdjustInfo',void 0x0),_0x38c0c9(this,'_activeShapeModel',void 0x0),_0x38c0c9(this,'_adjHandlerPointerMove',void 0x0),_0x38c0c9(this,_0x133e5b(0x1e8),void 0x0),this[_0x133e5b(0x49c)](),this['_registerDrawingTransformHandler']();}[_0x7db477(0x204)](){const _0x53a063=_0x7db477;this[_0x53a063(0x49f)]();}[_0x7db477(0x1ac)](){const _0x3ecaec=_0x7db477;this[_0x3ecaec(0x2be)](!0x0);}[_0x7db477(0x239)](_0x478ab7,_0x5ad853,_0x161848){const _0x188a28=_0x7db477;var _0x5cbd2c;return(_0x5cbd2c=this[_0x188a28(0x25b)][_0x188a28(0x3ab)](_0x478ab7,_0x5ad853,_0x161848))==null?void 0x0:_0x5cbd2c[_0x188a28(0x41d)]();}[_0x7db477(0x2a7)](_0x2f34cf,_0x4b2c1f,_0x3707fb,_0x17acc1){const _0x2c0e12=_0x7db477;var _0x4e6c6e;return(_0x4e6c6e=this[_0x2c0e12(0x25b)][_0x2c0e12(0x3ab)](_0x2f34cf,_0x4b2c1f,_0x3707fb))==null?void 0x0:_0x4e6c6e['getAdjustInfoByName'](_0x17acc1);}['_getActiveDrawingParam'](){const _0x2ea2e0=_0x7db477;return this[_0x2ea2e0(0x1ed)]===null||this['_subUnitId']===null||this[_0x2ea2e0(0x111)]===null?null:this[_0x2ea2e0(0x369)][_0x2ea2e0(0x340)]({'unitId':this[_0x2ea2e0(0x1ed)],'subUnitId':this[_0x2ea2e0(0x47c)],'drawingId':this[_0x2ea2e0(0x111)]})??null;}[_0x7db477(0x200)](_0x4002cd){const _0x169d40=_0x7db477;if(this[_0x169d40(0x1ed)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return null;let _0x3382ce=(0x0,_0x4152b2[_0x169d40(0x2b6)])({'unitId':this[_0x169d40(0x1ed)],'subUnitId':this[_0x169d40(0x47c)],'drawingId':this[_0x169d40(0x111)]}),_0x128650=_0x4002cd['getObjectIncludeInGroup'](_0x3382ce);return _0x128650 instanceof _0x5777c9?_0x128650:null;}[_0x7db477(0x42a)](_0x1526b1=!0x1){const _0x710878=_0x7db477;if(this['_unitId']===null||this['_subUnitId']===null||this[_0x710878(0x111)]===null)return;let _0x3ba8b5=this[_0x710878(0x2d7)]();if((_0x3ba8b5==null?void 0x0:_0x3ba8b5[_0x710878(0x3bc)])!==_0x47c402[_0x710878(0x472)]['DRAWING_SHAPE']||!_0x3ba8b5[_0x710878(0x211)])return;let _0x5c7ef0=this[_0x710878(0x25b)]['getShapeModel'](this[_0x710878(0x1ed)],this['_subUnitId'],this[_0x710878(0x111)]);if(!_0x5c7ef0||_0x5c7ef0[_0x710878(0x20e)]())return;let {left:_0x5c07d9=0x0,top:_0x280373=0x0,width:_0x2fc832=0x0,height:_0x399f31=0x0,flipX:_0x7b1cd8,flipY:_0x4f2c01,angle:_0x4bd794=0x0}=_0x3ba8b5[_0x710878(0x211)];(_0x1526b1||!this[_0x710878(0x421)])&&(_0x5c7ef0[_0x710878(0x1d4)]({'width':_0x2fc832,'height':_0x399f31}),this[_0x710878(0x421)]=_0x5c7ef0[_0x710878(0x41d)]());let _0x8b961a=this[_0x710878(0x421)];if(!(_0x8b961a!=null&&_0x8b961a[_0x710878(0x2b4)]))return;let {scene:_0xdeae23}=this['_context'];for(let _0x16fd4c of _0x8b961a){let _0x4c9cc9=this[_0x710878(0x157)](_0x16fd4c,_0x2fc832,_0x399f31,!!_0x7b1cd8,!!_0x4f2c01,_0x4bd794);this['_addShapeAdjustControl'](_0xdeae23,_0x4c9cc9,_0x4c9cc9[_0x710878(0x370)],_0x5c07d9,_0x280373,this[_0x710878(0x1ed)],this[_0x710878(0x47c)]);}}[_0x7db477(0x157)](_0x582d58,_0xe36328,_0x108201,_0x5a66d9,_0x316b33,_0x4a6363){const _0x5a8794=_0x7db477;let _0x28d704=_0x582d58['x'],_0x109692=_0x582d58['y'];if(_0x5a66d9&&(_0x28d704=_0xe36328-_0x28d704),_0x316b33&&(_0x109692=_0x108201-_0x109692),_0x4a6363!==0x0){let _0x228482=_0xe36328/0x2,_0x2d9a32=_0x108201/0x2,_0x32abf6=_0x4a6363*Math['PI']/0xb4,_0x31ab50=Math['cos'](_0x32abf6),_0x4871d6=Math['sin'](_0x32abf6),_0x286f9f=_0x28d704-_0x228482,_0x1e860d=_0x109692-_0x2d9a32;_0x28d704=_0x228482+(_0x286f9f*_0x31ab50-_0x1e860d*_0x4871d6),_0x109692=_0x2d9a32+(_0x286f9f*_0x4871d6+_0x1e860d*_0x31ab50);}return{'x':_0x28d704,'y':_0x109692,'adjName':_0x582d58[_0x5a8794(0x370)]};}[_0x7db477(0x2be)](_0x2f39cf=!0x1){const _0x46048d=_0x7db477;_0x2f39cf&&this[_0x46048d(0x49f)](),this['_createShapeAdjustControls'](_0x2f39cf);}[_0x7db477(0x40e)](_0x261245,_0x4490fa,_0x53c87f,_0x5f31c9,_0x56fc0d,_0x5480b2,_0x2c5afc){const _0xbd18c1=_0x7db477;if(!this['_activeShapeId'])return;let _0x589f09=_0xbd18c1(0x342)+this['_activeShapeId']+'-'+_0x53c87f,_0xa473f4=_0x261245['getObjectIncludeInGroup'](_0x589f09);if(_0xa473f4){_0xa473f4[_0xbd18c1(0x2a9)]({'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2['ShapeDefaultConfig'][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)]['adjHandleSize']}),_0xa473f4[_0xbd18c1(0x182)](!0x0);return;}let _0x376e4e=new _0x39a34d(_0x589f09,{'left':_0x4490fa['x']+_0x5f31c9-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'top':_0x4490fa['y']+_0x56fc0d-_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)],'adjName':_0x53c87f,'shapeId':this['_activeShapeId'],'unitId':_0x5480b2,'subUnitId':_0x2c5afc,'width':_0x3becc2['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x3becc2[_0xbd18c1(0x482)][_0xbd18c1(0x366)]+0x8,'zIndex':_0x54839f[_0xbd18c1(0x13f)]+0x1,'evented':!0x0});this[_0xbd18c1(0x422)][_0xbd18c1(0x327)](_0x376e4e),this[_0xbd18c1(0x36c)](_0x376e4e,_0x261245,_0x53c87f),_0x261245[_0xbd18c1(0x338)](_0x376e4e,_0x54839f[_0xbd18c1(0x13f)]+0x1);}[_0x7db477(0x49f)](){const _0x5c6551=_0x7db477;this[_0x5c6551(0x422)][_0x5c6551(0x2dd)](_0xf99783=>_0xf99783[_0x5c6551(0x18c)]()),this[_0x5c6551(0x422)]=[];}['_updateAdjustControlPositions'](){const _0x13f718=_0x7db477;this[_0x13f718(0x42a)]();}['_toScenePoint'](_0xe06f07,_0x2078c8,_0x358ca1){const _0x3a9855=_0x7db477;let _0x273f63=_0x54839f[_0x3a9855(0x2d2)]['FromArray']([_0x2078c8,_0x358ca1]),_0x2f8145=_0xe06f07[_0x3a9855(0x1c1)](_0x273f63)??_0xe06f07[_0x3a9855(0x247)]()[0x0];return(_0x2f8145==null?void 0x0:_0x2f8145[_0x3a9855(0x307)](_0x273f63))??_0x273f63;}[_0x7db477(0x36c)](_0x5c5c7d,_0x105328,_0x3e6808){const _0x56a61c=_0x7db477;this[_0x56a61c(0x2b0)]((0x0,_0x47c402[_0x56a61c(0x2e3)])(_0x5c5c7d['onPointerDown$']['subscribeEvent']((_0x3a9f80,_0x1682ba)=>{const _0x43e9e8=_0x56a61c;var _0xf494dd;let _0x4722b8=_0x5c5c7d[_0x43e9e8(0x1e0)]();this['_activeAdjustInfo']=this[_0x43e9e8(0x2a7)](_0x4722b8[_0x43e9e8(0x24d)],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8[_0x43e9e8(0x2ef)],_0x3e6808),this[_0x43e9e8(0x1bb)]=this[_0x43e9e8(0x25b)][_0x43e9e8(0x3ab)](_0x4722b8['unitId'],_0x4722b8[_0x43e9e8(0x28c)],_0x4722b8['drawingId']);let _0x48ad23=this[_0x43e9e8(0x2d7)](),_0x577134=_0x48ad23==null?void 0x0:_0x48ad23['transform'];if(!_0x48ad23||!_0x577134||!this[_0x43e9e8(0x1bb)])return;this[_0x43e9e8(0x41e)]=_0x577134[_0x43e9e8(0x1d8)]||0x0,this[_0x43e9e8(0x227)]=_0x577134['top']||0x0,this['_baseShapeWidth']=_0x577134['width']||0x0,this['_baseShapeHeight']=_0x577134[_0x43e9e8(0x1e3)]||0x0;let _0x46c221=!!_0x577134['flipX'],_0x561121=!!_0x577134[_0x43e9e8(0x1c4)],_0x3734c6=_0x577134['angle']||0x0,_0x459c21={...((_0xf494dd=this['_activeAdjustInfo'])==null?void 0x0:_0xf494dd['currentAdjustValues'])??{}};this[_0x43e9e8(0x49d)]=!0x0,_0x105328[_0x43e9e8(0x3d5)](),this[_0x43e9e8(0x38b)]=_0x105328['onPointerMove$']['subscribeEvent']((_0x3696a7,_0xcd63cf)=>{const _0x264c1e=_0x43e9e8;var _0x1fdb3e;if(!this[_0x264c1e(0x49d)]||!this[_0x264c1e(0x1bb)]||!this[_0x264c1e(0x428)])return;_0x105328['disableObjectsEvent'](),_0x105328[_0x264c1e(0x1a0)](_0x54839f[_0x264c1e(0x214)][_0x264c1e(0x3e3)]);let _0xa87fe0=this[_0x264c1e(0x14c)](_0x105328,_0x3696a7[_0x264c1e(0x29f)],_0x3696a7[_0x264c1e(0x309)]),_0x1a3866=_0xa87fe0['x']-this[_0x264c1e(0x41e)],_0x56e55e=_0xa87fe0['y']-this[_0x264c1e(0x227)];if(_0x3734c6!==0x0){let _0x14cf1f=this[_0x264c1e(0x2a8)]/0x2,_0x55b1ce=this[_0x264c1e(0x442)]/0x2,_0x41e11c=_0x3734c6*Math['PI']/0xb4,_0x305d2f=Math[_0x264c1e(0x3e4)](_0x41e11c),_0x3c6461=Math['sin'](_0x41e11c),_0x3df95c=_0x1a3866-_0x14cf1f,_0xc3289=_0x56e55e-_0x55b1ce;_0x1a3866=_0x14cf1f+(_0x3df95c*_0x305d2f+_0xc3289*_0x3c6461),_0x56e55e=_0x55b1ce+(-_0x3df95c*_0x3c6461+_0xc3289*_0x305d2f);}_0x46c221&&(_0x1a3866=this[_0x264c1e(0x2a8)]-_0x1a3866),_0x561121&&(_0x56e55e=this['_baseShapeHeight']-_0x56e55e);let _0x567911={'left':0x0,'top':0x0,'width':this[_0x264c1e(0x2a8)],'height':this[_0x264c1e(0x442)]},_0xf228b6=this['_activeShapeModel'][_0x264c1e(0x395)](_0x567911,{'x':_0x1a3866,'y':_0x56e55e},this[_0x264c1e(0x428)],_0x46c221,_0x561121);if(Object[_0x264c1e(0x2d8)](_0xf228b6)[_0x264c1e(0x2b4)]!==0x0){for(let [_0x2e7c54,_0x4df8a5]of Object[_0x264c1e(0x3bd)](_0xf228b6))this[_0x264c1e(0x1bb)][_0x264c1e(0x402)](_0x2e7c54,_0x4df8a5);this[_0x264c1e(0x1bb)][_0x264c1e(0x1d4)]({'width':this[_0x264c1e(0x2a8)],'height':this['_baseShapeHeight']}),(_0x1fdb3e=this[_0x264c1e(0x200)](_0x105328))==null||_0x1fdb3e['makeDirty'](!0x0),this[_0x264c1e(0x421)]=this[_0x264c1e(0x239)](_0x4722b8[_0x264c1e(0x24d)],_0x4722b8[_0x264c1e(0x28c)],_0x4722b8[_0x264c1e(0x2ef)]),this[_0x264c1e(0x3be)](),_0xcd63cf[_0x264c1e(0x361)]();}}),this[_0x43e9e8(0x1e8)]=_0x105328[_0x43e9e8(0x3b2)][_0x43e9e8(0x20f)]((_0x2b255c,_0x220816)=>{const _0x5a8a8b=_0x43e9e8;var _0x4523aa,_0x968ff3;(_0x4523aa=this[_0x5a8a8b(0x38b)])==null||_0x4523aa[_0x5a8a8b(0x158)](),(_0x968ff3=this[_0x5a8a8b(0x1e8)])==null||_0x968ff3['unsubscribe'](),_0x105328['resetCursor']();let _0x26c5ee=this[_0x5a8a8b(0x428)];if(_0x26c5ee&&this['_activeShapeModel']){let _0x5270e9={};for(let _0x291725 of Object[_0x5a8a8b(0x2d8)](_0x26c5ee[_0x5a8a8b(0x43f)])){let _0x19f553=this['_activeShapeModel'][_0x5a8a8b(0x3d1)](_0x291725);_0x19f553!==void 0x0&&(_0x5270e9[_0x291725]=_0x19f553);}Object[_0x5a8a8b(0x2d8)](_0x5270e9)[_0x5a8a8b(0x2b4)]>0x0&&_0x59074d(this['_commandService'],_0x4722b8[_0x5a8a8b(0x24d)],_0x4722b8['subUnitId'],_0x4722b8[_0x5a8a8b(0x2ef)],{'oldShapeData':{'adjustValues':_0x459c21}},{'adjustValues':_0x5270e9});}this[_0x5a8a8b(0x428)]=void 0x0,this[_0x5a8a8b(0x1bb)]=void 0x0,this[_0x5a8a8b(0x49d)]=!0x1,_0x105328[_0x5a8a8b(0x2d5)](),_0x220816[_0x5a8a8b(0x361)]();}),_0x1682ba[_0x43e9e8(0x361)]();})));}[_0x7db477(0x1d6)](){const _0x12af19=_0x7db477;let {scene:_0x429416}=this[_0x12af19(0x3c6)],_0x512b45=_0x429416[_0x12af19(0x339)]();this[_0x12af19(0x2b0)](_0x512b45['changeStart$'][_0x12af19(0x146)](_0x5b32b3=>{const _0xd890d4=_0x12af19;this['_createShapeAdjustControls'](),_0x5b32b3[_0xd890d4(0x35f)]!==null&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x142)]===0x1&&_0x5b32b3[_0xd890d4(0x35f)][_0xd890d4(0x235)]()[_0xd890d4(0x22e)]()[_0xd890d4(0x1c6)]instanceof _0x5777c9&&(this[_0xd890d4(0x397)]=!0x0);})),this[_0x12af19(0x2b0)](_0x512b45[_0x12af19(0x170)][_0x12af19(0x146)](()=>{const _0x4e5af5=_0x12af19;this[_0x4e5af5(0x397)]&&this[_0x4e5af5(0x49f)]();})),this[_0x12af19(0x2b0)](_0x429416['onPointerUp$'][_0x12af19(0x20f)](()=>{const _0x3dca41=_0x12af19;this[_0x3dca41(0x397)]&&(this[_0x3dca41(0x397)]=!0x1,this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x512b45['changeEnd$']['subscribe'](()=>{const _0x1c127f=_0x12af19;this['_unitId']&&this['_subUnitId']&&this[_0x1c127f(0x111)]&&(this[_0x1c127f(0x421)]=this[_0x1c127f(0x239)](this['_unitId'],this['_subUnitId'],this[_0x1c127f(0x111)]),this[_0x1c127f(0x3be)]());}));}[_0x7db477(0x49c)](){const _0x9f8f06=_0x7db477;this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x248)]['onCommandExecuted'](_0x24cc79=>{const _0x4606de=_0x9f8f06;if(_0x24cc79['id']!==_0x284855[_0x4606de(0x324)]['id'])return;let {unitId:_0x19046a,shapeId:_0x431c58}=_0x24cc79['params'];_0x19046a===this[_0x4606de(0x1ed)]&&_0x431c58===this[_0x4606de(0x111)]&&this['refreshAdjustControls']();})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x48c)][_0x9f8f06(0x146)](_0x1f1691=>{const _0xa9f889=_0x9f8f06;if(_0x1f1691[_0xa9f889(0x2b4)]===0x1){let _0x5a57b0=_0x1f1691[0x0],_0x47781f=this['_drawingManagerService'][_0xa9f889(0x340)](_0x5a57b0);if((_0x47781f==null?void 0x0:_0x47781f[_0xa9f889(0x3bc)])===_0x47c402[_0xa9f889(0x472)][_0xa9f889(0x427)]){this[_0xa9f889(0x111)]=_0x5a57b0[_0xa9f889(0x2ef)],this[_0xa9f889(0x1ed)]=_0x5a57b0[_0xa9f889(0x24d)],this[_0xa9f889(0x47c)]=_0x5a57b0['subUnitId'],this['_activeShapeAdjustPointList']=this[_0xa9f889(0x239)](_0x5a57b0[_0xa9f889(0x24d)],_0x5a57b0[_0xa9f889(0x28c)],_0x5a57b0['drawingId']),this[_0xa9f889(0x49f)](),this[_0xa9f889(0x42a)]();return;}}this['_activeShapeId']=null,this[_0xa9f889(0x421)]=void 0x0,this['_unitId']=null,this[_0xa9f889(0x47c)]=null,this['_clearShapeAdjustControls']();})),this[_0x9f8f06(0x2b0)]((0x0,_0x21926c[_0x9f8f06(0x1a1)])(this[_0x9f8f06(0x369)][_0x9f8f06(0x46c)],this[_0x9f8f06(0x369)]['refreshTransform$'])['subscribe'](_0x5f511c=>{const _0x368787=_0x9f8f06;var _0x88a18e;let _0x37a3e9=_0x5f511c[_0x368787(0x363)](_0x13185f=>_0x13185f[_0x368787(0x2ef)]===this[_0x368787(0x111)]&&_0x13185f[_0x368787(0x24d)]===this['_unitId']&&_0x13185f[_0x368787(0x28c)]===this['_subUnitId']);_0x37a3e9&&((_0x88a18e=this[_0x368787(0x369)][_0x368787(0x340)](_0x37a3e9))==null?void 0x0:_0x88a18e['drawingType'])===_0x47c402[_0x368787(0x472)][_0x368787(0x427)]&&this[_0x368787(0x2be)](!0x0);})),this[_0x9f8f06(0x2b0)](this[_0x9f8f06(0x369)][_0x9f8f06(0x440)][_0x9f8f06(0x146)](_0x3749ed=>{const _0x463b2f=_0x9f8f06;for(let _0x1f6735 of _0x3749ed)this[_0x463b2f(0x111)]===_0x1f6735[_0x463b2f(0x2ef)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x463b2f(0x1ed)]=null,this[_0x463b2f(0x47c)]=null,this['_clearShapeAdjustControls']());}));}};_0x3e66ac=_0x1cbdb5([_0x15d88a(0x1,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x250)])],_0x3e66ac);let _0x43257f=class extends _0x47c402['Disposable']{constructor(_0x66de1,_0x10d321){const _0x8ea4db=_0x7db477;super(),this[_0x8ea4db(0x17b)]=_0x66de1,this[_0x8ea4db(0x3eb)]=_0x10d321,_0x38c0c9(this,_0x8ea4db(0x1ea),new _0x21926c[(_0x8ea4db(0x297))](null)),_0x38c0c9(this,_0x8ea4db(0x494),this[_0x8ea4db(0x1ea)]['asObservable']()),_0x38c0c9(this,_0x8ea4db(0x171),new _0x21926c[(_0x8ea4db(0x297))](!0x1)),_0x38c0c9(this,_0x8ea4db(0x2f8),this[_0x8ea4db(0x171)][_0x8ea4db(0x270)]()),_0x38c0c9(this,_0x8ea4db(0x39a),void 0x0),this[_0x8ea4db(0x2b0)](this[_0x8ea4db(0x17b)][_0x8ea4db(0x3f4)]['subscribe'](()=>{const _0x51eea0=_0x8ea4db;let _0x4bf172=this[_0x51eea0(0x350)]();_0x4bf172!=null&&_0x4bf172[_0x51eea0(0x190)]&&!this['_canEdit'](_0x4bf172)&&this[_0x51eea0(0x2e2)](null);}));}['dispose'](){const _0x4d1bc7=_0x7db477;this[_0x4d1bc7(0x1ca)](),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x22e)](null),this[_0x4d1bc7(0x1ea)][_0x4d1bc7(0x135)](),this[_0x4d1bc7(0x171)][_0x4d1bc7(0x22e)](!0x1),this['_onSavingEditorData$'][_0x4d1bc7(0x135)](),super[_0x4d1bc7(0x18c)]();}['setEditing'](_0x343bbf){const _0x3f5fef=_0x7db477;(_0x343bbf==null||!_0x343bbf[_0x3f5fef(0x190)]||this[_0x3f5fef(0x29b)](_0x343bbf))&&(this['_clearCompletionFrame'](),this['_editingParams$'][_0x3f5fef(0x22e)](_0x343bbf),(_0x343bbf==null||_0x343bbf[_0x3f5fef(0x190)]&&this[_0x3f5fef(0x171)][_0x3f5fef(0x40f)]())&&this['_onSavingEditorData$']['next'](!0x1));}[_0x7db477(0x180)](_0x1b1f0b){const _0x9aeca=_0x7db477;this[_0x9aeca(0x171)][_0x9aeca(0x22e)](_0x1b1f0b);}[_0x7db477(0x350)](){const _0xf24ff6=_0x7db477;return this['_editingParams$'][_0xf24ff6(0x40f)]();}[_0x7db477(0x29b)](_0x398c2a){const _0x216e01=_0x7db477;let _0x4f6a5c=this['_instanceService'][_0x216e01(0x2aa)](_0x398c2a[_0x216e01(0x24d)],_0x47c402[_0x216e01(0x1aa)][_0x216e01(0x486)]);if(!_0x4f6a5c)return!0x0;let _0x1a40b5=(0x0,_0x18b339[_0x216e01(0x1af)])(_0x4f6a5c,_0x398c2a[_0x216e01(0x424)]);return(0x0,_0x18b339[_0x216e01(0x3e1)])(this['_permissionService'],_0x398c2a[_0x216e01(0x24d)],[...(0x0,_0x18b339[_0x216e01(0x15b)])(_0x4f6a5c,_0x1a40b5,_0x216e01(0x31b),_0x398c2a[_0x216e01(0x424)]),(0x0,_0x18b339[_0x216e01(0x44d)])(_0x1a40b5,'drawing',_0x398c2a[_0x216e01(0x424)])]);}[_0x7db477(0x377)](_0x1dd933){const _0x44d25b=_0x7db477;let _0x4bf767=this['getEditing']();_0x4bf767&&this['_completionFrame']===void 0x0&&(this[_0x44d25b(0x180)](!0x0),this[_0x44d25b(0x39a)]=requestAnimationFrame(()=>{const _0x2fbc24=_0x44d25b;this['_completionFrame']=void 0x0,this[_0x2fbc24(0x350)]()===_0x4bf767&&this[_0x2fbc24(0x2e2)](null);}));}[_0x7db477(0x1ca)](){const _0x46ef34=_0x7db477;this[_0x46ef34(0x39a)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x7db477(0x1b7)](){const _0x4f9898=_0x7db477;this[_0x4f9898(0x350)]()&&this[_0x4f9898(0x2e2)](null);}};_0x43257f=_0x1cbdb5([_0x15d88a(0x0,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x1,_0x47c402['IUniverInstanceService'])],_0x43257f);function _0x5312b2(_0x5530cb){const _0xdcf6c8=_0x7db477;return _0x5530cb[_0xdcf6c8(0x46b)]===!0x0||_0x5530cb['behindText']===_0x47c402[_0xdcf6c8(0x159)][_0xdcf6c8(0x199)]||_0x5530cb[_0xdcf6c8(0x479)]===_0x47c402[_0xdcf6c8(0x457)]['WRAP_NONE']&&_0x5530cb[_0xdcf6c8(0x25d)]===_0x47c402['BooleanNumber'][_0xdcf6c8(0x199)]?_0x130604[_0xdcf6c8(0x271)]-0x1:_0x54839f['DRAWING_OBJECT_LAYER_INDEX'];}let _0x5b7161=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x438aeb,_0x4f16da,_0x2c8cc2,_0x3f637c,_0xd087,_0x3280e7,_0x313c53){const _0x48e798=_0x7db477;super(),this[_0x48e798(0x369)]=_0x438aeb,this[_0x48e798(0x25b)]=_0x4f16da,this['_localeService']=_0x2c8cc2,this[_0x48e798(0x41c)]=_0x3f637c,this['_urlImageService']=_0xd087,this[_0x48e798(0x24f)]=_0x3280e7,this[_0x48e798(0x13a)]=_0x313c53,_0x38c0c9(this,'_formulaShapes',new Map()),this[_0x48e798(0x2b0)](this['_shapeFormulaService']['presentationChanged$'][_0x48e798(0x146)](_0x54df86=>{const _0x9df44c=_0x48e798;var _0x44412d;(_0x44412d=this[_0x9df44c(0x46e)]['get'](this[_0x9df44c(0x492)](_0x54df86[_0x9df44c(0x24d)],_0x54df86[_0x9df44c(0x28c)],_0x54df86['shapeId'])))==null||_0x44412d[_0x9df44c(0x2dd)](_0xd1dc27=>_0xd1dc27['setFormulaPresentation'](_0x54df86[_0x9df44c(0x151)],_0x54df86[_0x9df44c(0x358)]));})),this['disposeWithMe'](this[_0x48e798(0x369)][_0x48e798(0x440)][_0x48e798(0x146)](_0x13d1f9=>{_0x13d1f9['forEach'](_0x3ff60a=>{const _0x52ca3e=_0x3f06;this['_shapeFormulaService'][_0x52ca3e(0x1ce)]({'unitId':_0x3ff60a[_0x52ca3e(0x24d)],'subUnitId':_0x3ff60a[_0x52ca3e(0x28c)],'shapeId':_0x3ff60a[_0x52ca3e(0x2ef)]}),this['_formulaShapes'][_0x52ca3e(0x348)](this[_0x52ca3e(0x492)](_0x3ff60a['unitId'],_0x3ff60a['subUnitId'],_0x3ff60a['drawingId']));});}));}['renderDrawingShape'](_0x2306fd,_0x341950){const _0x5df161=_0x7db477;let {transform:_0x5eb29c,drawingType:_0x35a392,srcRect:_0x5bc62b,prstGeom:_0x221892,groupId:_0x1b6e54,unitId:_0x44dfe4,subUnitId:_0x1c0ce4,drawingId:_0x59c933,isMultiTransform:_0x5dc999,transforms:_0x5c0371,hidden:_0x3b1e99,selectable:_0x3eb63f}=_0x2306fd;if(_0x35a392!==_0x47c402[_0x5df161(0x472)][_0x5df161(0x427)]||!this['_drawingManagerService'][_0x5df161(0x3f3)]()||_0x5eb29c==null)return;let _0x31fe78=this['_drawingManagerService'][_0x5df161(0x291)](),_0x531c09=_0x5dc999&&_0x5c0371?_0x5c0371:[_0x5eb29c],_0x318023=[];for(let [_0x3b32d5,_0xe803d4]of _0x531c09[_0x5df161(0x3bd)]()){let {left:_0x123023,top:_0x10d152,width:_0x28cfe2,height:_0x2a4db5,angle:_0x144160,flipX:_0x270e40,flipY:_0xc93720,skewX:_0x5f2dd8,skewY:_0x66a8d5}=_0xe803d4,_0x45d996=(0x0,_0x4152b2[_0x5df161(0x2b6)])({'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'drawingId':_0x59c933},_0x5dc999?_0x3b32d5:void 0x0),_0x1b8f78=_0x341950[_0x5df161(0x40b)](_0x45d996);if(_0x1b8f78!=null){let _0xc2820f={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x1b8f78 instanceof _0x5777c9&&this[_0x5df161(0x349)](_0x1b8f78,_0xc2820f),_0x1b8f78[_0x5df161(0x2a9)]({'left':_0x123023,'top':_0x10d152,'width':_0x28cfe2,'height':_0x2a4db5,'angle':_0x144160,'flipX':_0x270e40,'flipY':_0xc93720,'skewX':_0x5f2dd8,'skewY':_0x66a8d5});continue;}let _0x1467be=this[_0x5df161(0x369)][_0x5df161(0x2bf)](_0x44dfe4,_0x1c0ce4),_0x3c99ab=_0x1467be[_0x5df161(0x2fa)](_0x59c933);if(_0x341950['getObjectIncludeInGroup'](_0x45d996)||!this['_drawingManagerService'][_0x5df161(0x3f3)]())continue;let _0x272b20=this['_docsShapeService']['getShapeModel'](_0x44dfe4,_0x1c0ce4,_0x59c933);if(!_0x272b20)continue;let _0x47182e=(0x0,_0x3becc2[_0x5df161(0x34f)])(_0x272b20[_0x5df161(0x466)]())?{..._0x56d51f['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x56d51f[_0x5df161(0x260)],_0x44bcb2=_0x272b20[_0x5df161(0x38a)]()[_0x5df161(0x3d0)],_0x483ea6={'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933};_0x44bcb2&&this[_0x5df161(0x13a)][_0x5df161(0x394)](_0x483ea6,_0x44bcb2);let _0x5de748=new _0x5777c9(_0x45d996,{..._0xe803d4,'zIndex':_0x3c99ab===-0x1?_0x1467be[_0x5df161(0x2b4)]-0x1:_0x3c99ab,'shapeModel':_0x272b20,'localeService':this[_0x5df161(0x29a)],'shapeId':_0x59c933,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'visible':_0x3b1e99!==!0x0,'evented':_0x3eb63f!==!0x1,'formulaPresentation':_0x44bcb2?this['_shapeFormulaService']['getPresentation'](_0x483ea6):void 0x0,'animateFormulaPresentation':(_0x44bcb2==null?void 0x0:_0x44bcb2[_0x5df161(0x358)])!==!0x1,'transformerConfig':_0x47182e});if(_0x44bcb2){let _0x4a74a5=this[_0x5df161(0x492)](_0x44dfe4,_0x1c0ce4,_0x59c933),_0xf635d=this['_formulaShapes'][_0x5df161(0x45e)](_0x4a74a5)??new Set();_0xf635d[_0x5df161(0x3f2)](_0x5de748),this[_0x5df161(0x46e)][_0x5df161(0x3fc)](_0x4a74a5,_0xf635d);}this[_0x5df161(0x2b0)]((0x0,_0x47c402['toDisposable'])(_0x5de748[_0x5df161(0x25e)][_0x5df161(0x20f)]((_0x51490d,_0x470c75)=>{const _0x5819d5=_0x5df161;_0x272b20[_0x5819d5(0x20e)]()||_0x44bcb2||(this[_0x5819d5(0x24f)][_0x5819d5(0x2e2)]({'visible':!0x0,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4,'shapeId':_0x59c933,'shapeKey':_0x5de748[_0x5819d5(0x34c)]}),_0x470c75[_0x5819d5(0x361)]());}))),_0x341950[_0x5df161(0x338)](_0x5de748,_0x5312b2(_0x2306fd)),_0x31fe78&&_0x341950[_0x5df161(0x318)](_0x5de748),_0x1b6e54&&(0x0,_0x459a9e[_0x5df161(0x35e)])({'drawingId':_0x1b6e54,'unitId':_0x44dfe4,'subUnitId':_0x1c0ce4},_0x5de748,_0x341950,this['_drawingManagerService'],_0x5dc999?_0x3b32d5:void 0x0),_0x221892!=null&&_0x5de748[_0x5df161(0x3c8)](_0x221892),_0x5bc62b!=null&&_0x5de748[_0x5df161(0x13e)](_0x5bc62b),this['_loadShapePictureFill'](_0x5de748,_0x272b20[_0x5df161(0x38a)]()),_0x318023[_0x5df161(0x327)](_0x5de748);}return _0x318023;}[_0x7db477(0x492)](_0x305f57,_0x247778,_0x5c9896){return _0x305f57+'\x00'+_0x247778+'\x00'+_0x5c9896;}[_0x7db477(0x349)](_0x2cd3ec,_0x505b36){const _0x290bbb=_0x7db477;let _0x554e52=this['_docsShapeService']['getShapeModel'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]),_0x48fc38=_0x554e52==null?void 0x0:_0x554e52[_0x290bbb(0x38a)]()[_0x290bbb(0x3d0)],_0x5e0772=this['_formulaKey'](_0x505b36[_0x290bbb(0x24d)],_0x505b36[_0x290bbb(0x28c)],_0x505b36[_0x290bbb(0x424)]);if(_0x48fc38){this[_0x290bbb(0x13a)]['register'](_0x505b36,_0x48fc38);let _0x319754=this[_0x290bbb(0x46e)][_0x290bbb(0x45e)](_0x5e0772)??new Set();_0x319754[_0x290bbb(0x3f2)](_0x2cd3ec),this[_0x290bbb(0x46e)][_0x290bbb(0x3fc)](_0x5e0772,_0x319754);}else{var _0x575b37;this[_0x290bbb(0x13a)]['unregister'](_0x505b36),(_0x575b37=this[_0x290bbb(0x46e)]['get'](_0x5e0772))==null||_0x575b37[_0x290bbb(0x348)](_0x2cd3ec);}_0x2cd3ec[_0x290bbb(0x264)](_0x48fc38?this[_0x290bbb(0x13a)][_0x290bbb(0x2c8)](_0x505b36):void 0x0,(_0x48fc38==null?void 0x0:_0x48fc38['animationEnabled'])!==!0x1);}['refreshShapeFillImage'](_0x1db94d){const _0x4054bc=_0x7db477;let _0x530886=_0x1db94d['shapeModel'][_0x4054bc(0x38a)](),_0x4b3d68=_0x530886[_0x4054bc(0x15c)];if(!_0x4b3d68||_0x4b3d68[_0x4054bc(0x333)]!==_0x3becc2[_0x4054bc(0x489)]['PictureFill']||!_0x4b3d68[_0x4054bc(0x321)]){_0x1db94d[_0x4054bc(0x1f5)](void 0x0);return;}this[_0x4054bc(0x346)](_0x1db94d,_0x530886);}[_0x7db477(0x346)](_0x559ec5,_0x35990e){const _0x399324=_0x7db477;let _0x4b4bbf=_0x35990e[_0x399324(0x15c)];if(!_0x4b4bbf||_0x4b4bbf[_0x399324(0x333)]!==_0x3becc2[_0x399324(0x489)]['PictureFill']||!_0x4b4bbf['fillImageSource'])return;let _0x48eecf=_0x4b4bbf[_0x399324(0x321)],_0x422499=_0x4b4bbf[_0x399324(0x12f)]??_0x3becc2[_0x399324(0x279)]['URL'],_0x58bd51=this[_0x399324(0x41c)][_0x399324(0x1d1)](_0x48eecf,_0x422499);if(_0x58bd51){_0x559ec5['setFillImage'](_0x58bd51);return;}this['_loadAndSetImage'](_0x559ec5,_0x48eecf,_0x422499);}async[_0x7db477(0x469)](_0x10c304,_0x52459d,_0x4bcc3e){const _0x5991ad=_0x7db477;let _0x1a74c0;try{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)]['UUID'])_0x1a74c0=await this[_0x5991ad(0x41c)][_0x5991ad(0x23f)](_0x52459d);else{if(_0x4bcc3e===_0x3becc2[_0x5991ad(0x279)][_0x5991ad(0x202)])try{_0x1a74c0=await this[_0x5991ad(0x392)][_0x5991ad(0x23f)](_0x52459d);}catch{_0x1a74c0=_0x52459d;}else _0x1a74c0=_0x52459d;}}catch(_0x599a21){console[_0x5991ad(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x599a21);return;}let _0x2fb7c5=new window[(_0x5991ad(0x351))]();_0x2fb7c5[_0x5991ad(0x41f)]=()=>{const _0xd063be=_0x5991ad;this[_0xd063be(0x41c)][_0xd063be(0x186)](_0x52459d,_0x4bcc3e,_0x2fb7c5),_0x10c304[_0xd063be(0x1f5)](_0x2fb7c5);},_0x2fb7c5[_0x5991ad(0x119)]=()=>{const _0xa0a01b=_0x5991ad;console[_0xa0a01b(0x2f7)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x52459d);},_0x2fb7c5[_0x5991ad(0x42d)]=_0x1a74c0;}};_0x5b7161=_0x1cbdb5([_0x15d88a(0x0,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x3,_0x47c402[_0x7db477(0x274)]),_0x15d88a(0x4,_0x47c402['IURLImageService']),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x48b72a[_0x7db477(0x43e)]))],_0x5b7161);let _0x2cac68=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xee8ab2,_0x5627d9,_0x10e974){const _0x5caa8d=_0x7db477;super(),this[_0x5caa8d(0x404)]=_0xee8ab2,this[_0x5caa8d(0x369)]=_0x5627d9,this[_0x5caa8d(0x3a2)]=_0x10e974,this[_0x5caa8d(0x499)]();}[_0x7db477(0x499)](){const _0xa82fb2=_0x7db477;this[_0xa82fb2(0x2b0)](this[_0xa82fb2(0x404)][_0xa82fb2(0x144)][_0xa82fb2(0x164)](this['_docPrintInterceptorService']['interceptor'][_0xa82fb2(0x152)]()[_0xa82fb2(0x32e)],{'handler':(_0x42709e,_0x223223,_0x5bff80)=>{const _0x37e708=_0xa82fb2;var _0x4948ba;let {unitId:_0x13afaf,scene:_0x572ccd,skeleton:_0x3b38bc}=_0x223223,{pageIndex:_0x18130e}=_0x223223,_0x1df6c9=(_0x4948ba=this['_drawingManagerService'][_0x37e708(0x268)](_0x13afaf))==null?void 0x0:_0x4948ba[_0x13afaf],_0x5ecb15=_0x26fa7c(this['_docPrintInterceptorService'],_0x3b38bc,_0x18130e);return _0x1df6c9==null||_0x1df6c9[_0x37e708(0x2d1)][_0x37e708(0x2dd)](_0x6efae7=>{const _0x45f16b=_0x37e708;if(_0x5ecb15&&!_0x5ecb15[_0x45f16b(0x48e)](_0x6efae7))return;let _0x59ebc1=_0x1df6c9[_0x45f16b(0x330)][_0x6efae7];_0x59ebc1[_0x45f16b(0x3bc)]===_0x47c402['DrawingTypeEnum']['DRAWING_SHAPE']&&!_0x59ebc1[_0x45f16b(0x37f)]&&this[_0x45f16b(0x3a2)]['renderDrawingShape'](_0x59ebc1,_0x572ccd);}),_0x5bff80(_0x42709e);}}));}};_0x2cac68=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x15d)])),_0x15d88a(0x1,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x5b7161))],_0x2cac68);function _0x26fa7c(_0xda5fcb,_0x2a526c,_0x110c29){const _0x46405d=_0x7db477;var _0x24b75a,_0x1cc5c4;let _0x2860a2=_0xda5fcb;if(_0x2860a2[_0x46405d(0x302)])return _0x2860a2[_0x46405d(0x302)](_0x2a526c,_0x110c29);let _0x4ad935=_0x2a526c['getSkeletonData']();if(!_0x4ad935||_0x4ad935[_0x46405d(0x277)][_0x46405d(0x2b4)]<=0x1||_0x110c29==null)return null;let _0x4cd01a=new Set(),_0x3cea2f=_0x4ad935[_0x46405d(0x277)][_0x110c29];if(!_0x3cea2f)return _0x4cd01a;_0x2025ed(_0x3cea2f,_0x4cd01a);let _0x1408b6=(_0x24b75a=_0x4ad935['skeHeaders'][_0x46405d(0x45e)](_0x3cea2f['headerId']))==null?void 0x0:_0x24b75a['get'](_0x3cea2f['pageWidth']),_0x1ff6dc=(_0x1cc5c4=_0x4ad935[_0x46405d(0x20a)][_0x46405d(0x45e)](_0x3cea2f['footerId']))==null?void 0x0:_0x1cc5c4[_0x46405d(0x45e)](_0x3cea2f['pageWidth']);return _0x1408b6&&_0x2025ed(_0x1408b6,_0x4cd01a),_0x1ff6dc&&_0x2025ed(_0x1ff6dc,_0x4cd01a),_0x4cd01a;}function _0x2025ed(_0x1dee8b,_0x427b17){const _0x3a92fe=_0x7db477;for(let _0x15ceb0 of _0x1dee8b[_0x3a92fe(0x373)]['keys']())_0x427b17[_0x3a92fe(0x3f2)](_0x15ceb0);for(let _0xaaa208 of _0x1dee8b[_0x3a92fe(0x3ac)][_0x3a92fe(0x235)]())for(let _0x3be938 of _0xaaa208[_0x3a92fe(0x1b3)])for(let _0x261406 of _0x3be938[_0x3a92fe(0x38e)])_0x2025ed(_0x261406,_0x427b17);}function _0x1dfb3a({ref:_0x1c739b,..._0x4b9794}){const _0x28fc56=_0x7db477;let {preserveStrokeWidth:_0x1dc424,icon:_0x59e172,id:_0xcbb597,className:_0x5a6ecc,extend:_0x1938b4,..._0x4c8b2c}=_0x4b9794,_0x2580a4=(_0x28fc56(0x44e)+_0xcbb597+'\x20'+(_0x5a6ecc||''))[_0x28fc56(0x278)](),_0xa10081='_'+(0x0,_0x8303f3[_0x28fc56(0x238)])(),_0x314495=(0x0,_0x8303f3[_0x28fc56(0x2dc)])(null);return(0x0,_0x8303f3[_0x28fc56(0x28f)])(_0x1c739b,()=>_0x314495[_0x28fc56(0x3ec)]),(0x0,_0x8303f3[_0x28fc56(0x313)])(()=>{const _0x2fe906=_0x28fc56;if(_0x1dc424&&_0x314495[_0x2fe906(0x3ec)]&&_0x314495[_0x2fe906(0x3ec)][_0x2fe906(0x1da)]===_0x59e172['tag'])return _0x32951d(_0x314495['current']);},[_0x1dc424,_0x59e172]),_0x215e67(_0x59e172,''+_0xcbb597,{'defIds':_0x59e172[_0x28fc56(0x312)],'idSuffix':_0xa10081},{'ref':_0x314495,'className':_0x2580a4,..._0x4c8b2c},_0x1938b4);}function _0x215e67(_0x168040,_0x254f47,_0x3f3666,_0x55af0d,_0x1d7730){const _0x2a319f=_0x7db477;return(0x0,_0x8303f3[_0x2a319f(0x24b)])(_0x168040[_0x2a319f(0x2c6)],{'key':_0x254f47,..._0x5869eb(_0x168040,_0x3f3666,_0x1d7730),..._0x55af0d},(_0x2a09db(_0x168040,_0x3f3666)['children']||[])[_0x2a319f(0x3b4)]((_0x19db55,_0x1b855d)=>_0x215e67(_0x19db55,_0x254f47+'-'+_0x168040[_0x2a319f(0x2c6)]+'-'+_0x1b855d,_0x3f3666,void 0x0,_0x1d7730)));}function _0x5869eb(_0x4e2224,_0x3f4c4a,_0x7d2236){const _0x5550a6=_0x7db477;let _0x352833={..._0x4e2224[_0x5550a6(0x364)]};_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x15c)]===_0x5550a6(0x496)&&(_0x352833['fill']=_0x7d2236[_0x5550a6(0x496)]),_0x7d2236!=null&&_0x7d2236[_0x5550a6(0x496)]&&_0x352833[_0x5550a6(0x116)]===_0x5550a6(0x496)&&(_0x352833[_0x5550a6(0x116)]=_0x7d2236[_0x5550a6(0x496)]),_0x4e2224[_0x5550a6(0x2c6)]==='mask'&&_0x352833['id']&&(_0x352833['id']+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x44f1b4,_0xf3b959])=>{const _0x1dfcbc=_0x5550a6;_0x44f1b4===_0x1dfcbc(0x386)&&typeof _0xf3b959==_0x1dfcbc(0x371)&&(_0x352833[_0x44f1b4]=_0xf3b959[_0x1dfcbc(0x275)](/url\(#(.*)\)/,_0x1dfcbc(0x344)+_0x3f4c4a[_0x1dfcbc(0x128)]+')'));});let {defIds:_0x3f58a6}=_0x3f4c4a;return!_0x3f58a6||_0x3f58a6[_0x5550a6(0x2b4)]===0x0?_0x352833:(_0x4e2224[_0x5550a6(0x2c6)]===_0x5550a6(0x399)&&_0x352833[_0x5550a6(0x3c3)]&&(_0x352833[_0x5550a6(0x3c3)]+=_0x3f4c4a[_0x5550a6(0x128)]),Object[_0x5550a6(0x3bd)](_0x352833)[_0x5550a6(0x2dd)](([_0x98a0e3,_0x537bdf])=>{const _0x50f00e=_0x5550a6;typeof _0x537bdf==_0x50f00e(0x371)&&(_0x352833[_0x98a0e3]=_0x537bdf['replace'](/url\(#(.*)\)/,_0x50f00e(0x344)+_0x3f4c4a[_0x50f00e(0x128)]+')'));}),_0x352833);}function _0x2a09db(_0x783e71,_0x324d6d){const _0x5948a7=_0x7db477;var _0x1254e1;let {defIds:_0x3dd055}=_0x324d6d;return!_0x3dd055||_0x3dd055['length']===0x0?_0x783e71:_0x783e71[_0x5948a7(0x2c6)]===_0x5948a7(0x3a4)&&(_0x1254e1=_0x783e71[_0x5948a7(0x174)])!=null&&_0x1254e1[_0x5948a7(0x2b4)]?{..._0x783e71,'children':_0x783e71[_0x5948a7(0x174)][_0x5948a7(0x3b4)](_0x3bee49=>typeof _0x3bee49[_0x5948a7(0x364)]['id']=='string'&&_0x3dd055&&_0x3dd055[_0x5948a7(0x2df)](_0x3bee49[_0x5948a7(0x364)]['id'])?{..._0x3bee49,'attrs':{..._0x3bee49[_0x5948a7(0x364)],'id':_0x3bee49[_0x5948a7(0x364)]['id']+_0x324d6d[_0x5948a7(0x128)]}}:_0x3bee49)}:_0x783e71;}function _0x32951d(_0x28a435){const _0x14ead9=_0x7db477;let _0x22135d=_0x28a435[_0x14ead9(0x464)][_0x14ead9(0x122)],_0x59b2b1=Math[_0x14ead9(0x326)](_0x22135d[_0x14ead9(0x19f)],_0x22135d['height']);if(!Number[_0x14ead9(0x401)](_0x59b2b1)||_0x59b2b1<=0x0||_0x22135d['width']<=0x0||_0x22135d[_0x14ead9(0x1e3)]<=0x0)return()=>void 0x0;let _0x29193a=0x10/_0x59b2b1,_0x7cab18=Array[_0x14ead9(0x175)](_0x28a435[_0x14ead9(0x3f1)](_0x14ead9(0x3b0)))[_0x14ead9(0x1de)](_0x113480=>{const _0x41541b=_0x14ead9;let _0x19e6a6=getComputedStyle(_0x113480),_0x2c853c=Number[_0x41541b(0x132)](_0x19e6a6['strokeWidth']);return _0x19e6a6['stroke']===_0x41541b(0x1c5)||Number['parseFloat'](_0x19e6a6[_0x41541b(0x1e5)])===0x0||_0x19e6a6[_0x41541b(0x2db)]==='non-scaling-stroke'||!Number[_0x41541b(0x401)](_0x2c853c)||_0x2c853c<=0x0?[]:[{'element':_0x113480,'hadStyleAttribute':_0x113480[_0x41541b(0x155)](_0x41541b(0x43a)),'originalStrokeWidth':_0x2c853c,'strokeWidth':_0x447f92(_0x113480[_0x41541b(0x43a)],_0x41541b(0x14b))}];})[_0x14ead9(0x3b4)](_0x1a663c=>({'appliedStrokeWidth':null,'element':_0x1a663c['element'],'hadStyleAttribute':_0x1a663c[_0x14ead9(0x12d)],'isReleased':!0x1,'originalStrokeWidth':_0x1a663c[_0x14ead9(0x282)],'strokeWidth':_0x1a663c[_0x14ead9(0x17c)]}));if(_0x7cab18[_0x14ead9(0x2b4)]===0x0)return()=>void 0x0;let _0xc276b=(_0x43de45,_0x42d01f)=>{const _0x554701=_0x14ead9;if(_0x22135d[_0x554701(0x19f)]<=0x0||_0x22135d[_0x554701(0x1e3)]<=0x0||_0x43de45<=0x0||_0x42d01f<=0x0)return;let _0x27b96d=Math[_0x554701(0x198)](_0x43de45/_0x22135d[_0x554701(0x19f)],_0x42d01f/_0x22135d[_0x554701(0x1e3)]);!Number[_0x554701(0x401)](_0x27b96d)||_0x27b96d<=0x0||_0x7cab18['forEach'](_0x49986e=>{const _0x1e13b8=_0x554701;if(_0x49986e[_0x1e13b8(0x42c)])return;if(_0x49986e[_0x1e13b8(0x14a)]!==null&&(_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)]['getPropertyValue'](_0x1e13b8(0x14b))!==_0x49986e['appliedStrokeWidth']||_0x49986e[_0x1e13b8(0x38f)][_0x1e13b8(0x43a)][_0x1e13b8(0x118)](_0x1e13b8(0x14b))!==_0x49986e['strokeWidth'][_0x1e13b8(0x19c)])){_0x49986e[_0x1e13b8(0x14a)]=null,_0x49986e[_0x1e13b8(0x42c)]=!0x0;return;}let _0x3ec477=_0x49986e[_0x1e13b8(0x282)]*_0x29193a/_0x27b96d,_0x33d377=Number(_0x3ec477[_0x1e13b8(0x3a7)](0xc))+'px';_0x49986e['element'][_0x1e13b8(0x43a)][_0x1e13b8(0x256)](_0x1e13b8(0x14b),_0x33d377,_0x49986e['strokeWidth'][_0x1e13b8(0x19c)]),_0x49986e['appliedStrokeWidth']=_0x33d377;});},_0x5cca29=_0x28a435[_0x14ead9(0x475)]();_0xc276b(_0x5cca29[_0x14ead9(0x19f)],_0x5cca29[_0x14ead9(0x1e3)]);let _0x3bf56d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x22edf6=>{const _0x5344ad=_0x14ead9;if(_0x22edf6[_0x5344ad(0x30e)](_0x106f7b=>_0x106f7b['target']===_0x28a435)){let _0x5552a2=_0x28a435['getBoundingClientRect']();_0xc276b(_0x5552a2[_0x5344ad(0x19f)],_0x5552a2[_0x5344ad(0x1e3)]);}});return _0x3bf56d==null||_0x3bf56d[_0x14ead9(0x323)](_0x28a435),()=>{const _0x590400=_0x14ead9;_0x3bf56d==null||_0x3bf56d[_0x590400(0x33a)](),_0x7cab18['forEach'](_0x3dcfcc=>{const _0x2a3c44=_0x590400;_0x3dcfcc[_0x2a3c44(0x14a)]!==null&&(_0x39a905(_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)],_0x2a3c44(0x14b),_0x3dcfcc['appliedStrokeWidth'],_0x3dcfcc[_0x2a3c44(0x17c)][_0x2a3c44(0x19c)],_0x3dcfcc['strokeWidth']),!_0x3dcfcc['hadStyleAttribute']&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x43a)][_0x2a3c44(0x2b4)]===0x0&&_0x3dcfcc[_0x2a3c44(0x38f)][_0x2a3c44(0x352)](_0x2a3c44(0x43a)));});};}function _0x447f92(_0x9d88b6,_0x2a9faa){const _0x3af7ac=_0x7db477;return{'priority':_0x9d88b6[_0x3af7ac(0x118)](_0x2a9faa),'value':_0x9d88b6[_0x3af7ac(0x192)](_0x2a9faa)};}function _0x39a905(_0x11144a,_0x959eab,_0x2ee5e4,_0x552139,_0x3d48f5){const _0x4b70a1=_0x7db477;_0x11144a[_0x4b70a1(0x192)](_0x959eab)===_0x2ee5e4&&_0x11144a[_0x4b70a1(0x118)](_0x959eab)===_0x552139&&(_0x3d48f5[_0x4b70a1(0x1c6)]?_0x11144a[_0x4b70a1(0x256)](_0x959eab,_0x3d48f5[_0x4b70a1(0x1c6)],_0x3d48f5[_0x4b70a1(0x19c)]):_0x11144a[_0x4b70a1(0x27d)](_0x959eab));}_0x1dfb3a[_0x7db477(0x34e)]=_0x7db477(0x124);let _0x39fa14={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x189),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3ce),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x236)}},{'tag':'path','attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2b1)}}]},_0x48e3a1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x3e499d,_0x293cf0){const _0x171528=_0x7db477;return(0x0,_0x8303f3[_0x171528(0x24b)])(_0x1dfb3a,Object[_0x171528(0x113)]({},_0x3e499d,{'id':'bottom-icon','ref':_0x293cf0,'icon':_0x39fa14}));});_0x48e3a1[_0x7db477(0x34e)]=_0x7db477(0x1ec);let _0xadd8e9={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x2e4),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x33c5c4=(0x0,_0x8303f3['forwardRef'])(function(_0x2a234e,_0xce44e4){const _0x20e723=_0x7db477;return(0x0,_0x8303f3[_0x20e723(0x24b)])(_0x1dfb3a,Object[_0x20e723(0x113)]({},_0x2a234e,{'id':'more-down-icon','ref':_0xce44e4,'icon':_0xadd8e9}));});_0x33c5c4[_0x7db477(0x34e)]='MoreDownIcon';let _0x28a193={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':'1em','height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x13c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x106a87=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x260a34,_0x115fce){const _0x3ebcfa=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x260a34,{'id':_0x3ebcfa(0x45b),'ref':_0x115fce,'icon':_0x28a193}));});_0x106a87['displayName']=_0x7db477(0x2e8);let _0x24b9f8={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':_0x7db477(0x1c5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x362)}}]},_0x29fbfe=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x120be7,_0x3b6150){const _0x1752ff=_0x7db477;return(0x0,_0x8303f3[_0x1752ff(0x24b)])(_0x1dfb3a,Object[_0x1752ff(0x113)]({},_0x120be7,{'id':_0x1752ff(0x2cf),'ref':_0x3b6150,'icon':_0x24b9f8}));});_0x29fbfe[_0x7db477(0x34e)]=_0x7db477(0x434);let _0x2017d6={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3dd),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x3d8)}}]},_0x2d9da1=(0x0,_0x8303f3['forwardRef'])(function(_0x14d802,_0x26a245){const _0x3ce777=_0x7db477;return(0x0,_0x8303f3[_0x3ce777(0x24b)])(_0x1dfb3a,Object[_0x3ce777(0x113)]({},_0x14d802,{'id':_0x3ce777(0x223),'ref':_0x26a245,'icon':_0x2017d6}));});_0x2d9da1['displayName']=_0x7db477(0x378);let _0x563dc2={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x498),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.3}}]},_0x1f286e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x49114e,_0x53934a){const _0x27b6c1=_0x7db477;return(0x0,_0x8303f3[_0x27b6c1(0x24b)])(_0x1dfb3a,Object[_0x27b6c1(0x113)]({},_0x49114e,{'id':_0x27b6c1(0x11c),'ref':_0x53934a,'icon':_0x563dc2}));});_0x1f286e[_0x7db477(0x34e)]=_0x7db477(0x28e);let _0x86b240={'tag':_0x7db477(0x2ed),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x33c),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x454),'strokeLinecap':_0x7db477(0x3f7),'strokeLinejoin':_0x7db477(0x3f7),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x7db477(0x179),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x2b2),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x7db477(0x3df),'attrs':{'stroke':'currentColor','d':_0x7db477(0x262),'strokeLinejoin':_0x7db477(0x3f7)}},{'tag':'path','attrs':{'stroke':_0x7db477(0x416),'d':_0x7db477(0x3cc)}}]},_0x660fb1=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x25346c,_0x45ddc8){const _0x31f723=_0x7db477;return(0x0,_0x8303f3[_0x31f723(0x24b)])(_0x1dfb3a,Object[_0x31f723(0x113)]({},_0x25346c,{'id':_0x31f723(0x1b2),'ref':_0x45ddc8,'icon':_0x86b240}));});_0x660fb1[_0x7db477(0x34e)]='ShapeFormatSettingIcon';let _0x5a7ac5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7db477(0x1c5),'viewBox':_0x7db477(0x2bd),'width':_0x7db477(0x25a),'height':'1em'},'children':[{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x7db477(0x24e),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x7db477(0x416),'rx':0.6}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x44c),'fillRule':_0x7db477(0x3e7),'clipRule':_0x7db477(0x3e7)}}]},_0x272d53=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x156121,_0x5d9cfa){const _0x4dabd9=_0x7db477;return(0x0,_0x8303f3['createElement'])(_0x1dfb3a,Object['assign']({},_0x156121,{'id':_0x4dabd9(0x45c),'ref':_0x5d9cfa,'icon':_0x5a7ac5}));});_0x272d53['displayName']=_0x7db477(0x257);let _0x721411={'tag':'svg','attrs':{'xmlns':_0x7db477(0x387),'fill':'none','viewBox':_0x7db477(0x292),'width':_0x7db477(0x25a),'height':_0x7db477(0x25a)},'children':[{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':_0x7db477(0x1b4)}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x7db477(0x3df),'attrs':{'fill':_0x7db477(0x416),'d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ac36e=(0x0,_0x8303f3[_0x7db477(0x1d5)])(function(_0x1ccf8f,_0x9383c1){const _0x25ed18=_0x7db477;return(0x0,_0x8303f3[_0x25ed18(0x24b)])(_0x1dfb3a,Object[_0x25ed18(0x113)]({},_0x1ccf8f,{'id':_0x25ed18(0x193),'ref':_0x9383c1,'icon':_0x721411}));});_0x2ac36e[_0x7db477(0x34e)]='TopmostIcon';function _0x4eeaa2(_0x1871d4){const _0x2058f2=_0x7db477;return(0x0,_0x932776[_0x2058f2(0x476)])(_0x3be8f4,{..._0x1871d4,'PickerComponent':_0x56d51f[_0x2058f2(0x39e)]});}function _0x2facba(){const _0x289c09=_0x7db477;let _0x58dde1=(0x0,_0x86086d[_0x289c09(0x320)])(_0x47c402[_0x289c09(0x2ba)]),_0x3a937a=_0x2ede24(),[_0x3fc931,_0x4b60df]=(0x0,_0x8303f3[_0x289c09(0x265)])(!0x1);return(0x0,_0x932776['jsxs'])(_0x289c09(0x465),{'className':_0x289c09(0x3b7),'children':[(0x0,_0x932776[_0x289c09(0x476)])(_0x5c76ee[_0x289c09(0x183)],{'title':_0x58dde1['t']('docs-shape-ui.crop.shape'),'aria-expanded':_0x3fc931,'variant':'subtle','trailing':_0x3fc931?(0x0,_0x932776[_0x289c09(0x476)])(_0x106a87,{}):(0x0,_0x932776[_0x289c09(0x476)])(_0x33c5c4,{}),'onClick':()=>_0x4b60df(_0x32229e=>!_0x32229e)}),_0x3fc931&&(0x0,_0x932776['jsx'])(_0x56d51f[_0x289c09(0x39e)],{'excludeGroups':[_0x56d51f[_0x289c09(0x2cc)][_0x289c09(0x458)]],'onShapeClick':_0xce96bd=>{_0x3a937a(_0xce96bd),_0x4b60df(!0x1);}})]});}function _0xb20ec8(_0x41909a){const _0x3d63e8=_0x7db477;return _0x41909a[_0x3d63e8(0x278)]()||void 0x0;}function _0x52ed91(_0xeb70c4,_0xdb2dbd,_0x5b9df7){const _0x4fdd0c=_0x7db477;var _0x559810,_0x1e9ed6;return((_0x559810=_0xeb70c4[_0x4fdd0c(0x322)])==null?void 0x0:_0x559810[_0x4fdd0c(0x278)]())||((_0x1e9ed6=_0xeb70c4[_0x4fdd0c(0x44b)])==null?void 0x0:_0x1e9ed6[_0x4fdd0c(0x278)]())||_0x5b9df7['t'](_0x4fdd0c(0x1d9)+(0x0,_0x56d51f[_0x4fdd0c(0x37b)])(_0xeb70c4[_0x4fdd0c(0x3bc)]))+'\x20'+(_0xdb2dbd+0x1);}function _0x2413ae({PanelComponent:_0x2da89e=_0x459a9e['ObjectListPanelBase']}){const _0x22fad5=_0x7db477;let _0x534d17=(0x0,_0x86086d['useDependency'])(_0x47c402['LocaleService']),_0x42ed7f={'title':_0x534d17['t']('drawing-ui.objectListPanel.title'),'empty':_0x534d17['t']('drawing-ui.objectListPanel.empty'),'showAll':_0x534d17['t']('drawing-ui.objectListPanel.showAll'),'hideAll':_0x534d17['t'](_0x22fad5(0x295)),'lockAll':_0x534d17['t'](_0x22fad5(0x480)),'unlockAll':_0x534d17['t'](_0x22fad5(0x218)),'moveForward':_0x534d17['t'](_0x22fad5(0x2d4)),'moveBackward':_0x534d17['t'](_0x22fad5(0x379)),'close':_0x534d17['t'](_0x22fad5(0x2fc)),'show':_0x534d17['t'](_0x22fad5(0x419)),'hide':_0x534d17['t']('drawing-ui.objectListPanel.hide'),'lock':_0x534d17['t'](_0x22fad5(0x2b7)),'unlock':_0x534d17['t'](_0x22fad5(0x2e1)),'lockHint':_0x534d17['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x534d17['t'](_0x22fad5(0x150)),'name':_0x534d17['t']('drawing-ui.objectListPanel.name'),'nameInput':_0x534d17['t'](_0x22fad5(0x2a5)),'description':_0x534d17['t'](_0x22fad5(0x287)),'descriptionPlaceholder':_0x534d17['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x534d17['t'](_0x22fad5(0x325)),'noSelection':_0x534d17['t'](_0x22fad5(0x21e)),'locate':_0x534d17['t'](_0x22fad5(0x134)),'expand':_0x534d17['t'](_0x22fad5(0x2b8)),'collapse':_0x534d17['t'](_0x22fad5(0x22f)),'dragToReorder':_0x534d17['t'](_0x22fad5(0x1e9)),'search':_0x534d17['t']('drawing-ui.objectListPanel.search'),'filterAll':_0x534d17['t'](_0x22fad5(0x423)),'filterHidden':_0x534d17['t']('drawing-ui.objectListPanel.filterHidden'),'filterLocked':_0x534d17['t'](_0x22fad5(0x267)),'sectionCanvas':_0x534d17['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x534d17['t'](_0x22fad5(0x1ff))},_0x3adfc8=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402[_0x22fad5(0x250)]),_0x11b730=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x47c402['IUniverInstanceService']),_0x5d9646=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x13d142[_0x22fad5(0x22c)]),_0x4b1c49=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x4152b2[_0x22fad5(0x1a4)]),_0x305639=(0x0,_0x86086d[_0x22fad5(0x320)])(_0x54839f[_0x22fad5(0x173)]),[,_0x5bf5cd]=(0x0,_0x8303f3[_0x22fad5(0x201)])(_0x3c55d4=>_0x3c55d4+0x1,0x0),_0x379cd1=_0x11b730[_0x22fad5(0x47e)](_0x47c402['UniverInstanceType']['UNIVER_DOC']),_0x41d36e=(_0x379cd1==null?void 0x0:_0x379cd1[_0x22fad5(0x38c)]())??'',_0xc19d3b=_0x41d36e,_0x2d8eab=(0x0,_0x86086d[_0x22fad5(0x3cf)])(()=>_0x4b1c49[_0x22fad5(0x48c)],_0x4b1c49[_0x22fad5(0x3b6)](),!0x1,[_0x4b1c49]);(0x0,_0x8303f3['useEffect'])(()=>{const _0x411e3c=_0x22fad5;let _0x1c5ba9=_0x3adfc8[_0x411e3c(0x187)](()=>_0x5bf5cd());return()=>_0x1c5ba9[_0x411e3c(0x18c)]();},[_0x3adfc8]);let _0x1a3c07=_0x41d36e?_0x5d9646[_0x22fad5(0x18f)](_0x41d36e,_0xc19d3b):{},_0x53b1ca=(_0x41d36e?_0x5d9646['getDrawingOrder'](_0x41d36e,_0xc19d3b):[])[_0x22fad5(0x3b4)](_0x3cc2f1=>_0x1a3c07[_0x3cc2f1])[_0x22fad5(0x1ef)](_0x7dae04=>!!_0x7dae04)['reverse'](),_0x41db47=_0x53b1ca[_0x22fad5(0x242)]((_0xb51a41,_0x4d33)=>(_0xb51a41[(0x0,_0x459a9e['getObjectListPanelSectionIdForDrawingType'])(_0x4d33[_0x22fad5(0x3bc)])]+=0x1,_0xb51a41),{'canvas':0x0,'floating':0x0}),_0x55b2b0={'canvas':0x0,'floating':0x0},_0x44d857=_0x53b1ca[_0x22fad5(0x3b4)]((_0x2cdfca,_0x451888)=>{const _0x461ec7=_0x22fad5;let _0x8fac4a=(0x0,_0x459a9e[_0x461ec7(0x398)])(_0x2cdfca[_0x461ec7(0x3bc)]),_0x1ffec9=_0x8fac4a===_0x459a9e[_0x461ec7(0x176)],_0x53fc21=_0x55b2b0[_0x8fac4a]++;return{'id':_0x2cdfca[_0x461ec7(0x2ef)],'name':_0x52ed91(_0x2cdfca,_0x451888,_0x534d17),'description':_0x2cdfca[_0x461ec7(0x380)],'visible':_0x2cdfca[_0x461ec7(0x37f)]!==!0x0,'selectable':_0x2cdfca[_0x461ec7(0x1e7)]!==!0x1,'sectionId':_0x8fac4a,'sectionTitle':_0x1ffec9?_0x42ed7f[_0x461ec7(0x3b5)]:_0x42ed7f[_0x461ec7(0x162)],'capabilities':_0x1ffec9?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1ffec9&&_0x53fc21>0x0,'canMoveBackward':!_0x1ffec9&&_0x53fc21<_0x41db47[_0x461ec7(0x446)]-0x1,'canReorder':!_0x1ffec9};}),_0x151728=(0x0,_0x8303f3['useMemo'])(()=>(_0x2d8eab??[])[_0x22fad5(0x1ef)](_0x5edc6f=>_0x5edc6f[_0x22fad5(0x24d)]===_0x41d36e&&_0x5edc6f[_0x22fad5(0x28c)]===_0xc19d3b)[_0x22fad5(0x3b4)](_0x37741e=>_0x37741e[_0x22fad5(0x2ef)]),[_0x2d8eab,_0xc19d3b,_0x41d36e]),_0x584add=_0x151728[_0x151728[_0x22fad5(0x2b4)]-0x1]??null,_0x469bc9=_0x12f19b=>_0x5d9646['getDrawingByParam']({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x12f19b})??null,_0x59ef72=async _0x1808cb=>{const _0x39895e=_0x22fad5;_0x41d36e&&_0x1808cb[_0x39895e(0x2b4)]&&await _0x3adfc8[_0x39895e(0x467)](_0x284855['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x41d36e,'patches':_0x1808cb});},_0x4e142b=(_0x4f844a,_0x32a424)=>{const _0xa74e84=_0x22fad5;if(!_0x41d36e)return;let _0x48f5e7=_0x32a424?_0x151728['includes'](_0x4f844a)?_0x151728[_0xa74e84(0x1ef)](_0x1c7afc=>_0x1c7afc!==_0x4f844a):[..._0x151728,_0x4f844a]:[_0x4f844a];_0x3adfc8[_0xa74e84(0x17e)](_0x4152b2[_0xa74e84(0x153)]['id'],_0x48f5e7[_0xa74e84(0x3b4)](_0x1901e3=>({'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x1901e3})));let _0x368a97=_0x48f5e7[_0x48f5e7[_0xa74e84(0x2b4)]-0x1];_0x368a97?(0x0,_0x56d51f['activateDrawingObject'])(_0x305639,{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingId':_0x368a97}):(0x0,_0x56d51f[_0xa74e84(0x389)])(_0x305639,_0x41d36e);},_0x483573=async(_0x45825a,_0x48e756)=>{const _0x590fe9=_0x22fad5;await _0x59ef72(_0x45825a[_0x590fe9(0x3b4)](_0x345542=>_0x469bc9(_0x345542))[_0x590fe9(0x1ef)](_0x7d5c7f=>!!_0x7d5c7f)[_0x590fe9(0x1ef)](_0x54efcf=>_0x54efcf[_0x590fe9(0x37f)]!==!0x0!==_0x48e756)[_0x590fe9(0x3b4)](_0x45c640=>({'drawingId':_0x45c640['drawingId'],'hidden':!_0x48e756})));},_0x4cda5e=async(_0x2ea8f0,_0x5d738f)=>{const _0x396b70=_0x22fad5;await _0x59ef72(_0x2ea8f0[_0x396b70(0x3b4)](_0x205b7b=>_0x469bc9(_0x205b7b))[_0x396b70(0x1ef)](_0x2d4c27=>!!_0x2d4c27)['filter'](_0x1b5a0c=>_0x1b5a0c['selectable']!==!0x1!==_0x5d738f)['map'](_0xe7c91e=>({'drawingId':_0xe7c91e[_0x396b70(0x2ef)],'selectable':_0x5d738f})));},_0x2bb1cf=_0xf9a9c2=>{const _0x156dc6=_0x22fad5;let _0x19d1b8=_0x469bc9(_0xf9a9c2);if(_0x19d1b8)return _0x4cda5e([_0xf9a9c2],_0x19d1b8[_0x156dc6(0x1e7)]===!0x1);},_0x40fc92=async(_0x4904a2,_0x5d67f0)=>{const _0x86a36d=_0x22fad5;let _0xe84caf=_0x469bc9(_0x4904a2),_0x41258a=_0xb20ec8(_0x5d67f0);!_0xe84caf||(_0xe84caf[_0x86a36d(0x322)]??void 0x0)===_0x41258a&&(_0xe84caf[_0x86a36d(0x44b)]||void 0x0)===_0x41258a||await _0x59ef72([{'drawingId':_0x4904a2,'name':_0x41258a,'title':_0x41258a}]);},_0x3c3fdd=async(_0x28bb09,_0x13efb6)=>{const _0x34b033=_0x22fad5;let _0x68f4ae=_0x469bc9(_0x28bb09),_0x1361e6=_0xb20ec8(_0x13efb6);_0x68f4ae&&(_0x68f4ae[_0x34b033(0x380)]??void 0x0)!==_0x1361e6&&await _0x59ef72([{'drawingId':_0x28bb09,'description':_0x1361e6}]);},_0x168109=async(_0x3f1871,_0x30c217)=>{const _0x424556=_0x22fad5;_0x41d36e&&await _0x3adfc8[_0x424556(0x467)](_0x13d142[_0x424556(0x27c)]['id'],{'unitId':_0x41d36e,'subUnitId':_0xc19d3b,'drawingIds':[_0x3f1871],'arrangeType':_0x30c217});};return _0x41d36e?(0x0,_0x932776[_0x22fad5(0x476)])(_0x2da89e,{'labels':_0x42ed7f,'renderPermissionAction':_0x2a474f=>_0x379cd1?(0x0,_0x932776['jsx'])(_0x86086d[_0x22fad5(0x360)],{'target':{'unitId':_0x41d36e,'objectId':(0x0,_0x18b339[_0x22fad5(0x44d)])((0x0,_0x18b339[_0x22fad5(0x1af)])(_0x379cd1,_0x2a474f['id']),'drawing',_0x2a474f['id']),'objectType':_0xad5fb1[_0x22fad5(0x1f1)]['DocumentEntity']},'name':_0x2a474f[_0x22fad5(0x322)],'commandId':_0x18b339[_0x22fad5(0x396)]['id'],'exists':()=>!!_0x469bc9(_0x2a474f['id'])},_0x41d36e+'/'+_0x2a474f['id']):null,'items':_0x44d857,'selectedIds':_0x151728,'focusedId':_0x584add,'showHeader':!0x1,'onSelect':_0x4e142b,'onSetVisible':_0x483573,'onSetSelectable':_0x4cda5e,'onCommitName':_0x40fc92,'onCommitDescription':_0x3c3fdd,'onMoveForward':async _0x1a90e1=>_0x168109(_0x1a90e1,_0x47c402['ArrangeTypeEnum'][_0x22fad5(0x205)]),'onMoveBackward':async _0x5046d5=>_0x168109(_0x5046d5,_0x47c402[_0x22fad5(0x15f)][_0x22fad5(0x37e)]),'onToggleSelectable':_0x2bb1cf}):(0x0,_0x932776[_0x22fad5(0x476)])('div',{'className':_0x22fad5(0x405),'children':_0x42ed7f[_0x22fad5(0x44b)]});}function _0x264d9e(){const _0xbe0b38=_0x7db477;return(0x0,_0x932776[_0xbe0b38(0x476)])(_0x2413ae,{'PanelComponent':_0x459a9e[_0xbe0b38(0x1b1)]});}let _0xab8686=class{constructor(_0x2e86a6){this['_renderManagerService']=_0x2e86a6;}[_0x7db477(0x447)](_0x1540c4,_0xd88fac){const _0x39909a=_0x7db477;let _0x481ba3=this['_renderManagerService'][_0x39909a(0x345)](_0x1540c4[_0x39909a(0x24d)]),_0x5ac5cb=_0x481ba3==null?void 0x0:_0x481ba3[_0x39909a(0x11a)];if(!_0x5ac5cb)return;let _0x4daf57=(0x0,_0x4152b2[_0x39909a(0x2b6)])(_0x1540c4),_0x42bbdf=_0x5ac5cb[_0x39909a(0x40b)](_0x4daf57);_0x42bbdf==null||_0x42bbdf['setFillImage'](_0xd88fac);}};_0xab8686=_0x1cbdb5([_0x15d88a(0x0,_0x54839f[_0x7db477(0x173)])],_0xab8686);function _0x3d845d(){const _0x3260e2=_0x7db477;let _0x1b0a54=(0x0,_0x86086d[_0x3260e2(0x320)])(_0x4152b2[_0x3260e2(0x1a4)]),_0x208417=(0x0,_0x86086d['useObservable'])(()=>_0x1b0a54['focus$'],_0x1b0a54[_0x3260e2(0x3b6)](),!0x1,[_0x1b0a54]);return _0x208417[_0x3260e2(0x2b4)]===0x0?null:(0x0,_0x932776[_0x3260e2(0x476)])(_0x3260e2(0x465),{'children':(0x0,_0x932776['jsxs'])(_0x3260e2(0x465),{'className':_0x3260e2(0x29c),'children':[(0x0,_0x932776[_0x3260e2(0x476)])(_0x459a9e['DrawingCommonPanel'],{'drawings':_0x208417,'hasCropper':!0x1}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x3a8)],{'drawings':_0x208417}),(0x0,_0x932776[_0x3260e2(0x476)])(_0x1d2176[_0x3260e2(0x430)],{'drawings':_0x208417})]})});}function _0x38ef89(_0x1827da){const _0x34c377=_0x7db477;let {unitId:_0x11bc08,subUnitId:_0xc52106,shapeId:_0xeb5bc7,PositionComponent:_0x20c7b4=_0x3d845d}=_0x1827da,_0x2aea27=(0x0,_0x86086d[_0x34c377(0x320)])(_0x47c402['ICommandService']),_0x199171=(0x0,_0x86086d[_0x34c377(0x320)])(_0xab8686);return(0x0,_0x932776[_0x34c377(0x476)])(_0x56d51f[_0x34c377(0x19e)],{..._0x1827da,'positionEditor':(0x0,_0x932776[_0x34c377(0x476)])(_0x20c7b4,{}),'onUpdateShapeData':(_0x5b7fd3,_0x4e7624)=>{_0x59074d(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x5b7fd3,_0x4e7624);},'onUpdateLineShapeData':(_0x4d6c56,_0x3bf988)=>{_0x205aee(_0x2aea27,_0x11bc08,_0xc52106,_0xeb5bc7,_0x4d6c56,_0x3bf988);},'onUpdateShapeFillImage':_0x182688=>{const _0x36f9a2=_0x34c377;_0x199171[_0x36f9a2(0x447)]({'unitId':_0x11bc08,'subUnitId':_0xc52106,'drawingId':_0xeb5bc7},_0x182688);}});}function _0xa2d85d(){const _0x1bf670=_0x7db477;let _0x38b62e=(0x0,_0x86086d[_0x1bf670(0x320)])(_0x4152b2['IDrawingManagerService']),_0x5a3112=(0x0,_0x86086d[_0x1bf670(0x3cf)])(_0x38b62e['focus$'],_0x38b62e[_0x1bf670(0x3b6)]());return _0x5a3112[_0x1bf670(0x2b4)]===0x0?null:(0x0,_0x932776[_0x1bf670(0x46a)])('div',{'className':_0x1bf670(0x2bc),'children':[(0x0,_0x932776[_0x1bf670(0x476)])(_0x459a9e[_0x1bf670(0x3ad)],{'drawings':_0x5a3112,'hasCropper':!0x1}),(0x0,_0x932776['jsx'])(_0x1d2176['MobileDocDrawingTextWrap'],{'drawings':_0x5a3112}),(0x0,_0x932776[_0x1bf670(0x476)])(_0x1d2176[_0x1bf670(0x115)],{'drawings':_0x5a3112})]});}function _0x290e71(_0x2e7d11){const _0x32cb47=_0x7db477;return(0x0,_0x932776[_0x32cb47(0x476)])(_0x56d51f[_0x32cb47(0x2b3)],{'children':(0x0,_0x932776['jsx'])(_0x38ef89,{..._0x2e7d11,'PositionComponent':_0xa2d85d})});}function _0x170c97({popup:_0x40e156}){const _0x296844=_0x7db477;let _0x1586fb=(0x0,_0x86086d['useDependency'])(_0x47c402[_0x296844(0x2ba)]),{shapeType:_0x1a9aba,onText:_0x35844c,onStyle:_0x3a09c6,onDelete:_0x39a5e8}=_0x40e156['extraProps'],_0x373df4=[{'key':_0x296844(0x2f6),'order':0x0,'item':{'id':_0x296844(0x2f6),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t'](_0x296844(0x206)),'disabled$':(0x0,_0x21926c['of'])((0x0,_0x3becc2[_0x296844(0x34f)])(_0x1a9aba))}},{'key':_0x296844(0x43a),'order':0x1,'item':{'id':_0x296844(0x43a),'type':_0x86086d[_0x296844(0x32d)]['BUTTON'],'title':_0x1586fb['t']('docs-shape-ui.mobile.style')}},{'key':_0x296844(0x348),'order':0x2,'item':{'id':_0x296844(0x348),'type':_0x86086d[_0x296844(0x32d)][_0x296844(0x33e)],'title':_0x1586fb['t'](_0x296844(0x3f6))}}];return(0x0,_0x932776['jsx'])(_0x86086d['MobileMenu'],{'schemas':_0x373df4,'presentation':_0x296844(0x42b),'onOptionSelect':async({id:_0x417b57})=>{const _0x309916=_0x296844;_0x417b57==='text'?await _0x35844c():_0x417b57===_0x309916(0x43a)?await _0x3a09c6():_0x417b57===_0x309916(0x348)&&await _0x39a5e8();}});}let _0x384936=_0x7db477(0x43d);function _0x7160b5(_0x2c2317,_0x4ea443){const _0x390d3d=_0x7db477;var _0x30133c;let _0x169f89=_0x2c2317==null||(_0x30133c=_0x2c2317[_0x390d3d(0x37d)]()[_0x390d3d(0x453)])==null?void 0x0:_0x30133c[_0x4ea443];return _0x169f89?_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x306)]?_0x169f89['behindDoc']===_0x47c402[_0x390d3d(0x159)][_0x390d3d(0x199)]?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x31f)]:_0x13d142['TextWrappingStyle'][_0x390d3d(0x3d9)]:_0x169f89[_0x390d3d(0x479)]===_0x47c402[_0x390d3d(0x457)]['WRAP_SQUARE']?_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x181)]:_0x169f89['layoutType']===_0x47c402[_0x390d3d(0x457)][_0x390d3d(0x319)]?_0x13d142[_0x390d3d(0x341)]['WRAP_TOP_AND_BOTTOM']:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)]:_0x13d142[_0x390d3d(0x341)][_0x390d3d(0x1ab)];}function _0x14cedd(_0x429404){const _0x21a322=_0x7db477;let _0x2d88ca=(0x0,_0x86086d['useDependency'])(_0x56d51f[_0x21a322(0x18b)]),_0x41a1c3=(0x0,_0x86086d[_0x21a322(0x3cf)])(()=>_0x2d88ca[_0x21a322(0x169)],_0x2d88ca['getVisible'](),!0x1,[_0x2d88ca]),_0xbffb8c=_0x429404['popup']['extraProps'];return _0x41a1c3?(0x0,_0x932776['jsx'])(_0x20247b,{..._0xbffb8c,'canvasElement':_0x429404[_0x21a322(0x490)]['canvasElement']}):null;}function _0x20247b(_0x2c3422){const _0x22c4cb=_0x7db477;let _0x32e432=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x250)]),_0x4d5051=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x2ba)]),_0x5b7f6b=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x284855['DocsShapeService']),_0x24872e=(0x0,_0x86086d[_0x22c4cb(0x320)])(_0x47c402[_0x22c4cb(0x191)]),{unitId:_0x335424,subUnitId:_0x3656cb,drawingId:_0x4cf1ee,shapeType:_0x2b0436}=_0x2c3422,[_0x119449,_0x31c76d]=(0x0,_0x8303f3['useState'])(_0x2c3422[_0x22c4cb(0x441)]),_0x32b8aa=_0x24872e[_0x22c4cb(0x2aa)](_0x335424,_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)])??void 0x0,[_0x38cb71,_0x69c4ce]=(0x0,_0x8303f3['useState'])(()=>_0x7160b5(_0x32b8aa,_0x4cf1ee)),_0x1fd130=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f['getTextStyle'])(_0x119449),[_0x119449]),_0x264123=(0x0,_0x8303f3[_0x22c4cb(0x167)])(()=>(0x0,_0x56d51f[_0x22c4cb(0x246)])(_0x119449),[_0x119449]);(0x0,_0x8303f3[_0x22c4cb(0x1f7)])(()=>{const _0x472193=_0x22c4cb;let _0x1073c5=_0x32e432[_0x472193(0x187)](_0x45d9f9=>{const _0x9f0e2a=_0x472193;if(_0x45d9f9['id']!==_0x284855[_0x9f0e2a(0x324)]['id'])return;let _0x14cc44=_0x5b7f6b['getShapeDataById'](_0x335424,_0x3656cb,_0x4cf1ee);_0x14cc44&&_0x31c76d(_0x14cc44);});return()=>_0x1073c5[_0x472193(0x18c)]();},[_0x32e432,_0x5b7f6b,_0x4cf1ee,_0x3656cb,_0x335424]);let _0x3d1e7f=_0xbd03a4=>{_0x31c76d(_0x395d95=>({..._0x395d95,..._0xbd03a4}));},_0xe6d18e=_0x445ed0=>{const _0x174f3b=_0x22c4cb;let _0x3286eb=(0x0,_0x56d51f[_0x174f3b(0x3b8)])(_0x119449,_0x445ed0);_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'shapeText':_0x119449[_0x174f3b(0x296)]}},_0x3286eb),_0x3d1e7f(_0x3286eb);},_0x2db053=_0x22c337=>{const _0x566400=_0x22c4cb;_0x69c4ce(_0x22c337),_0x32e432['executeCommand'](_0x13d142[_0x566400(0x383)]['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}],'wrappingStyle':_0x22c337});},_0x3a04a1=(0x0,_0x56d51f[_0x22c4cb(0x3ae)])({'hostType':_0x47c402[_0x22c4cb(0x1aa)][_0x22c4cb(0x486)],'unitId':_0x335424,'subUnitId':_0x3656cb,'shapeId':_0x4cf1ee,'shapeData':_0x119449,'onUpdateBinding':_0x41e83e=>{let _0x42843c={'formulaBinding':_0x41e83e};_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,{'oldShapeData':{'formulaBinding':_0x119449['formulaBinding']}},_0x42843c),_0x3d1e7f(_0x42843c);}}),_0x4fbe63=[{'label':_0x4d5051['t'](_0x22c4cb(0x357)),'value':_0x13d142['TextWrappingStyle']['INLINE'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t']('docs-shape-ui.textWrap.square'),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x181)],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x284)),'value':_0x13d142[_0x22c4cb(0x341)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x932776['jsx'])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x36d)),'value':_0x13d142['TextWrappingStyle']['BEHIND_TEXT'],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})},{'label':_0x4d5051['t'](_0x22c4cb(0x34d)),'value':_0x13d142[_0x22c4cb(0x341)][_0x22c4cb(0x3d9)],'icon':(0x0,_0x932776[_0x22c4cb(0x476)])(_0x272d53,{})}];return(0x0,_0x932776['jsxs'])(_0x932776[_0x22c4cb(0x1ad)],{'children':[(0x0,_0x932776[_0x22c4cb(0x476)])(_0x56d51f['ShapeFloatingToolbar'],{'canvasElement':_0x2c3422['canvasElement'],'shapeData':_0x119449,'shapeType':_0x2b0436,'textStyle':{'ff':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)][_0x22c4cb(0x47b)],'fs':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x296)]['fontSize'],'cl':{'rgb':_0x3becc2[_0x22c4cb(0x482)]['shapeText'][_0x22c4cb(0x233)]},..._0x1fd130},'textModel':_0x264123?{'ha':_0x264123['ha']??_0x47c402[_0x22c4cb(0x39c)][_0x22c4cb(0x495)],'va':_0x264123['va']??_0x47c402[_0x22c4cb(0x414)][_0x22c4cb(0x418)]}:null,'wrappingStyle':_0x38cb71,'wrappingStyleOptions':_0x4fbe63,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x3becc2[_0x22c4cb(0x482)][_0x22c4cb(0x15c)],'defaultGradientEndColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x471)],'defaultStrokeColor':_0x3becc2['ShapeDefaultConfig'][_0x22c4cb(0x116)],'extensionGroups':_0x3a04a1[_0x22c4cb(0x30b)],'floatingObjectToolbarPosition':_0x86086d[_0x22c4cb(0x16c)]['DOC'],'onUpdateShapeData':(_0x413016,_0x1d18f7)=>{_0x59074d(_0x32e432,_0x335424,_0x3656cb,_0x4cf1ee,_0x413016,_0x1d18f7),_0x1d18f7&&_0x3d1e7f(_0x1d18f7);},'onUpdateText':_0xe6d18e,'onUpdateWrappingStyle':_0x2a1fd9=>_0x2db053(_0x2a1fd9),'onOpenPanel':()=>{_0x32e432['executeCommand'](_0x39980d['id'],{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee});},'onDelete':()=>{const _0x4aff1c=_0x22c4cb;_0x32e432[_0x4aff1c(0x467)](_0x13d142['RemoveDocDrawingCommand']['id'],{'unitId':_0x335424,'drawings':[{'unitId':_0x335424,'subUnitId':_0x3656cb,'drawingId':_0x4cf1ee}]});}}),_0x3a04a1['panel']]});}function _0x2438dd({variant:_0x42b12a,extend:_0x5ee8cc,..._0x762831}){const _0x3c0abe=_0x7db477;let _0x40e265=(0x0,_0x932776['jsx'])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)});return(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x3c0abe(0x2ed),{'aria-hidden':_0x3c0abe(0x2ee),'fill':_0x3c0abe(0x1c5),'height':_0x3c0abe(0x25a),'viewBox':_0x3c0abe(0x2bd),'width':_0x3c0abe(0x25a),..._0x762831,'children':[_0x42b12a===_0x3c0abe(0x3d4)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x48a),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x3c0abe(0x1f3),'fill':_0x3c0abe(0x416),'fillOpacity':_0x3c0abe(0x31e),'stroke':_0x3c0abe(0x416),'strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x437)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[(0x0,_0x932776['jsx'])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x184),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a===_0x3c0abe(0x436)&&(0x0,_0x932776['jsxs'])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x2017h16','stroke':'currentColor','strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':_0x3c0abe(0x1a8)}),_0x40e265]}),_0x42b12a==='behind'&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776['Fragment'],{'children':[_0x40e265,(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x3c0abe(0x1a8)})]}),_0x42b12a===_0x3c0abe(0x1e6)&&(0x0,_0x932776[_0x3c0abe(0x46a)])(_0x932776[_0x3c0abe(0x1ad)],{'children':[(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x3df),{'d':_0x3c0abe(0x34b),'stroke':_0x3c0abe(0x416),'strokeLinecap':_0x3c0abe(0x3f7),'strokeWidth':'1.2'}),(0x0,_0x932776[_0x3c0abe(0x476)])(_0x3c0abe(0x24e),{'x':'7','y':_0x3c0abe(0x488),'width':'6','height':'9','rx':'1','fill':_0x3c0abe(0x416)})]})]});}let _0x3e01ca=_0x35900=>_0x16b867=>(0x0,_0x932776[_0x7db477(0x476)])(_0x2438dd,{..._0x16b867,'variant':_0x35900}),_0xa1bd39={'DocsShapeWrapInlineIcon':_0x3e01ca(_0x7db477(0x3d4)),'DocsShapeWrapSquareIcon':_0x3e01ca(_0x7db477(0x437)),'DocsShapeWrapTopBottomIcon':_0x3e01ca('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x3e01ca('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x3e01ca('front')},_0x1e8cf0=(0x0,_0x8303f3[_0x7db477(0x435)])(()=>{const _0x4887c7=_0x7db477;let _0x94ade7=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x43257f),_0x277d2d=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x284855[_0x4887c7(0x2ac)]),_0x258e12=(0x0,_0x86086d['useDependency'])(_0x4152b2[_0x4887c7(0x1a4)]),_0x2575c1=(0x0,_0x86086d[_0x4887c7(0x320)])(_0x47c402[_0x4887c7(0x250)]),_0x3c6f5d=(0x0,_0x8303f3[_0x4887c7(0x167)])(()=>({'getShapeModel':(_0x4247db,_0xe06b20,_0x1b7324)=>_0x277d2d[_0x4887c7(0x3ab)](_0x4247db,_0xe06b20,_0x1b7324),'getShapeData':(_0x13ae7f,_0x4bf2ee,_0xd94ba9)=>_0x277d2d['getShapeDataById'](_0x13ae7f,_0x4bf2ee,_0xd94ba9),'getDrawingTransform':(_0x2953e7,_0x378e01,_0x4afde2)=>{const _0x14cca5=_0x4887c7;let _0x33203f=_0x258e12[_0x14cca5(0x340)]({'unitId':_0x2953e7,'subUnitId':_0x378e01,'drawingId':_0x4afde2});return _0x33203f==null?void 0x0:_0x33203f[_0x14cca5(0x211)];},'updateShapeText':({unitId:_0x9cb067,shapeId:_0x1c1783,shapeText:_0x2bafbe,oldShapeText:_0x2678ff})=>{const _0x34c50f=_0x4887c7;_0x2575c1[_0x34c50f(0x467)](_0x284855[_0x34c50f(0x3bf)]['id'],{'unitId':_0x9cb067,'shapeId':_0x1c1783,'shapeData':{'shapeText':_0x2bafbe},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2678ff}}});},'updateHostSize':({unitId:_0x4f9380,subUnitId:_0xd38253,shapeId:_0x1c6a0c,width:_0x1bf126,height:_0x4067b2})=>{const _0x73b421=_0x4887c7;_0x2575c1[_0x73b421(0x467)](_0x13d142[_0x73b421(0x3ef)]['id'],{'unitId':_0x4f9380,'subUnitId':_0xd38253,'drawings':[{'drawingId':_0x1c6a0c,'key':_0x73b421(0x142),'value':{'width':_0x1bf126,'height':_0x4067b2}}]});},'allowHostSizeShrink':({unitId:_0x49c97d,subUnitId:_0x1e9934,shapeId:_0x53a3c2})=>(0x0,_0x56d51f['shouldAllowShapeTextEditorHostSizeShrink'])(_0x277d2d[_0x4887c7(0x237)](_0x49c97d,_0x1e9934,_0x53a3c2))}),[_0x2575c1,_0x277d2d,_0x258e12]),_0xbaca04=(0x0,_0x8303f3['useMemo'])(()=>({'viewportKeys':{'main':_0x130604[_0x4887c7(0x1bc)][_0x4887c7(0x462)]}}),[]);return(0x0,_0x932776['jsx'])(_0x56d51f['ShapeTextEditorContainer'],{'adapter':_0x3c6f5d,'editingService':_0x94ade7,'editorUnitId':_0x4e500d,'positionOptions':_0xbaca04});}),_0x33d9ae=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x3c7515,_0x252a6b){const _0x3ccb00=_0x7db477;super(),this[_0x3ccb00(0x114)]=_0x3c7515,this[_0x3ccb00(0x1a5)]=_0x252a6b,this[_0x3ccb00(0x26b)](),this[_0x3ccb00(0x3fd)]();}['_registerIcons'](){const _0x5d2a34=_0x7db477;this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x28e))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)]('BottomIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x5d2a34(0x1a5)]['has'](_0x5d2a34(0x434))||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveDownIcon':_0x29fbfe})),this['_iconManager']['has']('MoveUpIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'MoveUpIcon':_0x2d9da1})),this['_iconManager']['has']('ShapeFormatSettingIcon')||this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)][_0x5d2a34(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x5d2a34(0x1a5)][_0x5d2a34(0x48e)](_0x5d2a34(0x461))||this['disposeWithMe'](this['_iconManager'][_0x5d2a34(0x394)]({'TopmostIcon':_0x2ac36e})),this[_0x5d2a34(0x2b0)](this[_0x5d2a34(0x1a5)]['register'](_0xa1bd39));}[_0x7db477(0x3fd)](){const _0x485ee8=_0x7db477;this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)]['register'](_0x52a209,_0x290e71)),this[_0x485ee8(0x36b)](),this[_0x485ee8(0x3c5)](),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x4850a6,_0x532467)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x560d2a,_0x533993)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x19a0d7,_0x5e650e)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x2084e0,_0x14a76c)),this[_0x485ee8(0x2b0)](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x5ac958,_0x45324f)),this[_0x485ee8(0x2b0)](this['_componentManager']['register'](_0x469608,_0x56d51f['ShapeTextFloatToolbar'])),this['_registerPickers'](),this[_0x485ee8(0x114)]['get'](_0x459a9e[_0x485ee8(0x44a)])||this['disposeWithMe'](this[_0x485ee8(0x114)][_0x485ee8(0x394)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0x485ee8(0x2b0)](this['_componentManager'][_0x485ee8(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x3c07be=_0x7db477;this['disposeWithMe'](this[_0x3c07be(0x114)][_0x3c07be(0x394)](_0x4378d7,_0x264d9e));}[_0x7db477(0x3c5)](){const _0x3a7d0b=_0x7db477;this[_0x3a7d0b(0x2b0)](this[_0x3a7d0b(0x114)][_0x3a7d0b(0x394)](_0x384936,_0x170c97));}[_0x7db477(0x1b0)](){const _0x2ec621=_0x7db477;this[_0x2ec621(0x2b0)](this['_componentManager'][_0x2ec621(0x394)](_0xc138a4,_0x4eeaa2)),this['disposeWithMe'](this[_0x2ec621(0x114)][_0x2ec621(0x394)](_0x5e6476,_0x2facba));}};_0x33d9ae=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x32c)])),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x2cb)]))],_0x33d9ae);let _0x3a06ff=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xc8aaed,_0x2fdf4a,_0x2f51bd,_0x4b1d49,_0x3d0e49,_0x3f9724,_0x947914,_0x223c2c,_0x38404d,_0x482828,_0x10dfc4,_0x4c44c1,_0x2e3649){const _0x2c59fc=_0x7db477;super(),this['_univerInstanceService']=_0xc8aaed,this[_0x2c59fc(0x3af)]=_0x2fdf4a,this[_0x2c59fc(0x285)]=_0x2f51bd,this[_0x2c59fc(0x25b)]=_0x4b1d49,this['_localeService']=_0x3d0e49,this['_commandService']=_0x3f9724,this[_0x2c59fc(0x369)]=_0x947914,this[_0x2c59fc(0x1f4)]=_0x223c2c,this[_0x2c59fc(0x2f9)]=_0x38404d,this['_contextService']=_0x482828,this[_0x2c59fc(0x24f)]=_0x10dfc4,this[_0x2c59fc(0x17b)]=_0x4c44c1,this[_0x2c59fc(0x2da)]=_0x2e3649,_0x38c0c9(this,'_sidebarDisposable',null),_0x38c0c9(this,_0x2c59fc(0x303),null),_0x38c0c9(this,_0x2c59fc(0x4a0),!0x1),_0x38c0c9(this,_0x2c59fc(0x35c),0x0),_0x38c0c9(this,_0x2c59fc(0x450),new Map()),_0x38c0c9(this,'_popupTargetKeys',new Map()),this[_0x2c59fc(0x232)](),this[_0x2c59fc(0x2b0)](this['_univerInstanceService'][_0x2c59fc(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x2c59fc(0x146)](_0x3c7bdc=>{const _0x2ef768=_0x2c59fc;if(!_0x3c7bdc){var _0x5ec1e4;(_0x5ec1e4=this['_sidebarDisposable'])==null||_0x5ec1e4[_0x2ef768(0x18c)]();}})),this[_0x2c59fc(0x2d6)](),this[_0x2c59fc(0x2b0)]((0x0,_0x56d51f[_0x2c59fc(0x112)])(this[_0x2c59fc(0x2f9)],_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x49718a=>this[_0x2c59fc(0x1d3)](_0x49718a))),this['disposeWithMe'](this[_0x2c59fc(0x24f)]['editingParams$'][_0x2c59fc(0x146)](_0x49b248=>{const _0x117b2e=_0x2c59fc;_0x49b248&&this[_0x117b2e(0x154)](void 0x0,!0x0);})),this[_0x2c59fc(0x2b0)](this[_0x2c59fc(0x17b)][_0x2c59fc(0x3f4)]['subscribe'](()=>{const _0x262619=_0x2c59fc;this['_drawingManagerService'][_0x262619(0x3b6)]()['some'](_0x358d75=>_0x358d75[_0x262619(0x3bc)]===_0x47c402[_0x262619(0x472)][_0x262619(0x427)]&&this['_univerInstanceService']['getUnitType'](_0x358d75[_0x262619(0x24d)])===_0x47c402[_0x262619(0x1aa)][_0x262619(0x486)]&&!this['_canEditShape'](_0x358d75[_0x262619(0x24d)],_0x358d75[_0x262619(0x2ef)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x7db477(0x136)](_0x221dc6,_0xf3f593,_0x6e119b,_0x3696e0){const _0x2fb9b4=_0x7db477;return[{'label':_0x2fb9b4(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':_0x3696e0===_0x47c402[_0x2fb9b4(0x472)]['DRAWING_DOM']},{'label':_0x2fb9b4(0x27f),'index':0x1,'commandId':_0x13d142[_0x2fb9b4(0x1f8)]['id'],'commandParams':{'unitId':_0x221dc6,'drawings':[{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b}]},'disable':!0x1},{'label':_0x2fb9b4(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x221dc6,'subUnitId':_0xf3f593,'drawingId':_0x6e119b},'disable':!0x1}];}['_initMenu'](){const _0x1fffb7=_0x7db477;this[_0x1fffb7(0x285)][_0x1fffb7(0x241)](_0x317aa8);}[_0x7db477(0x375)](_0x58c886,_0x4ed663,_0x541e09){const _0x445305=_0x7db477;let _0x2d0347=this[_0x445305(0x25b)][_0x445305(0x15e)](_0x58c886,_0x4ed663,_0x541e09),_0x58cd8f=this[_0x445305(0x25b)][_0x445305(0x237)](_0x58c886,_0x4ed663,_0x541e09);return _0x2d0347===void 0x0||_0x58cd8f===void 0x0?null:{'shapeData':_0x58cd8f,'shapeId':_0x541e09,'shapeType':_0x2d0347,'unitId':_0x58c886,'subUnitId':_0x4ed663,'version':this[_0x445305(0x35c)],'disableShapeOption':!0x1};}[_0x7db477(0x154)](_0x1da2d7,_0x46b7f6=!0x1){const _0x18edd3=_0x7db477;if(_0x1da2d7==null){[...this['_disposePopupsByUnit'][_0x18edd3(0x2d8)]()]['forEach'](_0x3ff6c9=>this[_0x18edd3(0x154)](_0x3ff6c9,_0x46b7f6));return;}let _0x3fc994=this[_0x18edd3(0x450)]['get'](_0x1da2d7);if(_0x3fc994){for(let _0x21b594=_0x3fc994[_0x18edd3(0x2b4)]-0x1;_0x21b594>=0x0;--_0x21b594){let _0x327353=_0x3fc994[_0x21b594];(_0x46b7f6||_0x327353[_0x18edd3(0x230)]())&&(_0x327353[_0x18edd3(0x18c)](),_0x3fc994[_0x18edd3(0x45a)](_0x21b594,0x1));}_0x3fc994[_0x18edd3(0x2b4)]===0x0&&(this[_0x18edd3(0x450)][_0x18edd3(0x348)](_0x1da2d7),this[_0x18edd3(0x125)]['delete'](_0x1da2d7));}}['_getDisposePopups'](_0x1d5d4e){const _0x46ab1f=_0x7db477;let _0x159e60=this[_0x46ab1f(0x450)][_0x46ab1f(0x45e)](_0x1d5d4e);if(_0x159e60)return _0x159e60;let _0x159d35=[];return this[_0x46ab1f(0x450)][_0x46ab1f(0x3fc)](_0x1d5d4e,_0x159d35),_0x159d35;}[_0x7db477(0x1d3)](_0x49cb01){const _0x2827a5=_0x7db477;var _0x28c135;let _0x463d59=new _0x47c402[(_0x2827a5(0x28a))](),_0x44a623=(_0x28c135=this['_renderManagerService']['getAllRenderersOfType'](_0x47c402[_0x2827a5(0x1aa)][_0x2827a5(0x486)])[_0x2827a5(0x363)](_0x5b31bb=>_0x5b31bb['scene'][_0x2827a5(0x339)]()===_0x49cb01))==null?void 0x0:_0x28c135[_0x2827a5(0x24d)];return _0x44a623?(_0x463d59['add'](_0x49cb01[_0x2827a5(0x23a)][_0x2827a5(0x146)](()=>this[_0x2827a5(0x39f)](_0x49cb01,_0x44a623))),_0x463d59['add'](_0x49cb01[_0x2827a5(0x212)][_0x2827a5(0x146)](()=>{const _0x33c33f=_0x2827a5;this[_0x33c33f(0x154)](_0x44a623),queueMicrotask(()=>{const _0x34de94=_0x33c33f;_0x49cb01[_0x34de94(0x408)]()[_0x34de94(0x142)]>0x0||(this[_0x34de94(0x1e2)][_0x34de94(0x244)](_0x47c402['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x34de94(0x369)][_0x34de94(0x2e7)](null));});})),_0x463d59[_0x2827a5(0x3f2)](_0x49cb01[_0x2827a5(0x170)][_0x2827a5(0x146)](()=>{const _0x3828d6=_0x2827a5;this[_0x3828d6(0x154)](_0x44a623,!0x0);})),_0x463d59):_0x463d59;}[_0x7db477(0x39f)](_0x3d607f,_0x5765cc){const _0xa9193b=_0x7db477;let _0x3b0c4e=_0x3d607f['getSelectedObjectMap']();if(this['_isOpenedShapeEditPanel']){this['_clearPopups'](_0x5765cc,!0x0);return;}if(_0x3b0c4e[_0xa9193b(0x142)]>0x1){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x44a110=_0x3b0c4e[_0xa9193b(0x235)]()['next']()['value'];if(!_0x44a110){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x47160e=this['_drawingManagerService'][_0xa9193b(0x35d)](_0x44a110[_0xa9193b(0x34c)]);if(!_0x47160e||_0x47160e[_0xa9193b(0x3bc)]!==_0x47c402[_0xa9193b(0x472)][_0xa9193b(0x427)]){this[_0xa9193b(0x154)](_0x5765cc);return;}let {unitId:_0x4d3fd7,subUnitId:_0x2a3f48,drawingId:_0x32f541}=_0x47160e;if(!this[_0xa9193b(0x1f2)](_0x4d3fd7,_0x32f541)){this[_0xa9193b(0x154)](_0x5765cc,!0x0);return;}let _0x4dc5da=this[_0xa9193b(0x375)](_0x4d3fd7,_0x2a3f48,_0x32f541);if(!_0x4dc5da){this[_0xa9193b(0x154)](_0x5765cc);return;}let _0x6d8242=this[_0xa9193b(0x450)][_0xa9193b(0x45e)](_0x5765cc),_0x3c7e58=_0x4d3fd7+':'+_0x2a3f48+':'+_0x32f541;if(this['_popupTargetKeys'][_0xa9193b(0x45e)](_0x5765cc)===_0x3c7e58&&_0x6d8242!=null&&_0x6d8242[_0xa9193b(0x2b4)])return;this[_0xa9193b(0x154)](_0x5765cc);let _0x2d248a=this[_0xa9193b(0x2f9)][_0xa9193b(0x345)](_0x4d3fd7),_0x6dae8=((_0x2d248a==null?void 0x0:_0x2d248a[_0xa9193b(0x426)])===!0x1?_0x2d248a[_0xa9193b(0x459)](_0x130604[_0xa9193b(0x47d)]):this[_0xa9193b(0x1f4)])[_0xa9193b(0x3e0)](_0x44a110,this[_0xa9193b(0x35a)](_0x4dc5da,()=>this[_0xa9193b(0x154)](_0x5765cc,!0x0)),_0x4d3fd7);this[_0xa9193b(0x2b0)](_0x6dae8),this[_0xa9193b(0x49b)](_0x5765cc)[_0xa9193b(0x327)](_0x6dae8),this[_0xa9193b(0x125)][_0xa9193b(0x3fc)](_0x5765cc,_0x3c7e58),this[_0xa9193b(0x369)]['getFocusDrawings']()[_0xa9193b(0x30e)](_0x2ce5d2=>_0x2ce5d2['unitId']===_0x4d3fd7&&_0x2ce5d2[_0xa9193b(0x28c)]===_0x2a3f48&&_0x2ce5d2[_0xa9193b(0x2ef)]===_0x32f541)||this[_0xa9193b(0x369)][_0xa9193b(0x2e7)]([{'unitId':_0x4d3fd7,'subUnitId':_0x2a3f48,'drawingId':_0x32f541}]);}[_0x7db477(0x35a)](_0x454f6a,_0xcfbddc){const _0x41382c=_0x7db477;let {unitId:_0x2b3fa2,subUnitId:_0x1d8300,shapeId:_0x1d98a4}=_0x454f6a,_0x3875ee={'hostType':_0x47c402['UniverInstanceType']['UNIVER_DOC'],'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'shapeId':_0x1d98a4};return{'componentKey':_0x384936,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x454f6a[_0x41382c(0x49e)],'onText':()=>{const _0x5c72bc=_0x41382c;_0xcfbddc(),this[_0x5c72bc(0x2da)][_0x5c72bc(0x1c9)](_0x5c72bc(0x2f6),_0x3875ee);},'onStyle':()=>{const _0x563963=_0x41382c;_0xcfbddc(),this['_mobileEditorService'][_0x563963(0x1c9)](_0x563963(0x43a),_0x3875ee);},'onDelete':()=>this[_0x41382c(0x248)][_0x41382c(0x467)](_0x13d142[_0x41382c(0x1f8)]['id'],{'unitId':_0x2b3fa2,'drawings':[{'unitId':_0x2b3fa2,'subUnitId':_0x1d8300,'drawingId':_0x1d98a4}]})}};}['_canEditShape'](_0x35235a,_0x4db8ba){const _0x376ad5=_0x7db477;let _0x41b2b8=this[_0x376ad5(0x130)][_0x376ad5(0x2aa)](_0x35235a,_0x47c402['UniverInstanceType'][_0x376ad5(0x486)]);if(!_0x41b2b8)return!0x1;let _0x2942c3=(0x0,_0x18b339['getDocumentDrawingSegmentId'])(_0x41b2b8,_0x4db8ba);return(0x0,_0x18b339[_0x376ad5(0x3e1)])(this[_0x376ad5(0x17b)],_0x35235a,[...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x41b2b8,_0x2942c3,'drawing',_0x4db8ba),(0x0,_0x18b339[_0x376ad5(0x44d)])(_0x2942c3,_0x376ad5(0x31b),_0x4db8ba)]);}[_0x7db477(0x2d6)](){const _0xd4dacc=_0x7db477;this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x248)][_0xd4dacc(0x187)](_0x230a82=>{const _0x3b60a3=_0xd4dacc;if(_0x230a82['id']===_0x39980d['id']){let {unitId:_0x1387c2,subUnitId:_0x13f934,drawingId:_0x59cc07}=_0x230a82[_0x3b60a3(0x20d)];this[_0x3b60a3(0x35c)]+=0x1,this[_0x3b60a3(0x303)]=this[_0x3b60a3(0x375)](_0x1387c2,_0x13f934,_0x59cc07),this[_0x3b60a3(0x154)](void 0x0,!0x0),this[_0x3b60a3(0x2c5)]();}if(_0x230a82['id']===_0x87b80e['id']&&(this[_0x3b60a3(0x303)]=null,this[_0x3b60a3(0x298)]()),_0x230a82['id']===_0x284855[_0x3b60a3(0x324)]['id']){var _0xd07dc3;let {unitId:_0x314c22,shapeId:_0x191dba}=_0x230a82[_0x3b60a3(0x20d)];if(((_0xd07dc3=this[_0x3b60a3(0x303)])==null?void 0x0:_0xd07dc3[_0x3b60a3(0x424)])===_0x191dba){let _0x3dbb43=this['_getShapeInfo'](_0x314c22,this[_0x3b60a3(0x303)][_0x3b60a3(0x28c)],_0x191dba);_0x3dbb43&&(this[_0x3b60a3(0x35c)]+=0x1,_0x3dbb43[_0x3b60a3(0x39b)]=this[_0x3b60a3(0x35c)],this[_0x3b60a3(0x303)]=_0x3dbb43,this[_0x3b60a3(0x4a0)]&&this['_openShapeEditPanel']());}}})),this[_0xd4dacc(0x2b0)](this[_0xd4dacc(0x369)][_0xd4dacc(0x48c)]['subscribe'](_0x417380=>{const _0xf515bf=_0xd4dacc;if(!this[_0xf515bf(0x4a0)])return;if(_0x417380[_0xf515bf(0x2b4)]===0x0){this['_activeShapeInfo']=null,this[_0xf515bf(0x298)]();return;}if(_0x417380['length']===0x1&&_0x417380[0x0]['drawingType']===_0x47c402['DrawingTypeEnum'][_0xf515bf(0x427)]&&(this[_0xf515bf(0x35c)]+=0x1,this[_0xf515bf(0x303)]=this[_0xf515bf(0x375)](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0][_0xf515bf(0x2ef)]),this[_0xf515bf(0x303)])){this['_openShapeEditPanel']();return;}let _0x5725f9=_0x417380['filter'](_0x2f42d7=>_0x2f42d7[_0xf515bf(0x3bc)]===_0x47c402[_0xf515bf(0x472)][_0xf515bf(0x427)]);if(this['_shapeEditPanelVersion']+=0x1,this[_0xf515bf(0x303)]=this['_getShapeInfo'](_0x417380[0x0]['unitId'],_0x417380[0x0][_0xf515bf(0x28c)],_0x417380[0x0]['drawingId']),this['_activeShapeInfo']&&_0x417380['length']>0x1&&_0x5725f9[_0xf515bf(0x2b4)]===_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x2c5)]();return;}if(this['_activeShapeInfo']&&_0x5725f9[_0xf515bf(0x2b4)]!==_0x417380[_0xf515bf(0x2b4)]){this[_0xf515bf(0x303)][_0xf515bf(0x305)]=!0x0,this[_0xf515bf(0x2c5)]();return;}this[_0xf515bf(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x3e8273=_0x7db477;this[_0x3e8273(0x303)]&&(this[_0x3e8273(0x289)]=this[_0x3e8273(0x3af)][_0x3e8273(0x1c9)]({'id':_0x52a209,'header':{'title':this[_0x3e8273(0x29a)]['t'](_0x3e8273(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x3e8273(0x303)]},'onClose':()=>{const _0x1b20d8=_0x3e8273;this[_0x1b20d8(0x369)][_0x1b20d8(0x2e7)](null),this[_0x1b20d8(0x1e2)][_0x1b20d8(0x244)](_0x47c402[_0x1b20d8(0x1eb)],!0x1),this[_0x1b20d8(0x289)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x7db477(0x298)](){const _0x3a61c9=_0x7db477;this[_0x3a61c9(0x4a0)]=!0x1,this[_0x3a61c9(0x3af)]['close'](_0x52a209),this[_0x3a61c9(0x289)]=null,this[_0x3a61c9(0x1e2)]['setContextValue'](_0x47c402[_0x3a61c9(0x1eb)],!0x1),this['_drawingManagerService'][_0x3a61c9(0x2e7)](null);}};_0x3a06ff=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d['IMenuManagerService']),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855['DocsShapeService'])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402['IContextService']),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0xc,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x141)]))],_0x3a06ff);let _0x5bde57=_0x7db477(0x149),_0x31410c=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x1344bd,_0x4895e7,_0x455aae,_0xb33b1b,_0xb3ae77,_0x5a6806){const _0x157a58=_0x7db477;super(),this[_0x157a58(0x285)]=_0x1344bd,this['_ribbonService']=_0x4895e7,this[_0x157a58(0x369)]=_0x455aae,this[_0x157a58(0x130)]=_0xb33b1b,this[_0x157a58(0x2f9)]=_0xb3ae77,this[_0x157a58(0x3f0)]=_0x5a6806,_0x38c0c9(this,_0x157a58(0x20b),!0x1),this[_0x157a58(0x285)][_0x157a58(0x241)](_0x391af2),this[_0x157a58(0x2b0)]((0x0,_0x47c402['toDisposable'])(this[_0x157a58(0x369)][_0x157a58(0x48c)]['subscribe'](()=>this[_0x157a58(0x27b)]()))),this['_update']();}[_0x7db477(0x18c)](){const _0x290a29=_0x7db477;this[_0x290a29(0x3f0)][_0x290a29(0x3ff)](!0x1,_0x5bde57),this['_hide'](),super[_0x290a29(0x18c)]();}['_update'](){const _0x30f81d=_0x7db477;var _0x243462;let _0x14f56d=this[_0x30f81d(0x369)]['getFocusDrawings'](),_0x467c59=_0x14f56d[_0x30f81d(0x2b4)]===0x1?_0x14f56d[0x0]:void 0x0;if((_0x467c59==null?void 0x0:_0x467c59[_0x30f81d(0x3bc)])!==_0x47c402[_0x30f81d(0x472)][_0x30f81d(0x427)]||this['_univerInstanceService']['getUnitType'](_0x467c59['unitId'])!==_0x47c402[_0x30f81d(0x1aa)][_0x30f81d(0x486)]){this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](!0x1,_0x5bde57),this[_0x30f81d(0x2de)]();return;}let _0x36f048=(_0x243462=this[_0x30f81d(0x2f9)][_0x30f81d(0x345)](_0x467c59[_0x30f81d(0x24d)]))==null?void 0x0:_0x243462[_0x30f81d(0x1ae)][_0x30f81d(0x1a2)](),_0x433fc0=(0x0,_0x56d51f['resolveShapeContextualRibbonHostMode'])(_0x36f048)===_0x30f81d(0x27e);if(this[_0x30f81d(0x3f0)][_0x30f81d(0x3ff)](_0x433fc0,_0x5bde57),_0x433fc0){this['_hide']();return;}this[_0x30f81d(0x20b)]||(this[_0x30f81d(0x20b)]=!0x0,this[_0x30f81d(0x1e1)]['showContextualTab'](_0x2bcc29,{'activate':!0x0}));}[_0x7db477(0x2de)](){const _0x502e7a=_0x7db477;this[_0x502e7a(0x20b)]&&(this[_0x502e7a(0x20b)]=!0x1,this[_0x502e7a(0x1e1)][_0x502e7a(0x347)](_0x2bcc29),this[_0x502e7a(0x1e1)]['setCollapsedIds']([]));}};_0x31410c=_0x1cbdb5([_0x15d88a(0x0,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x1,_0x86086d[_0x7db477(0x231)]),_0x15d88a(0x2,_0x4152b2['IDrawingManagerService']),_0x15d88a(0x3,_0x47c402['IUniverInstanceService']),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x18b)]))],_0x31410c);let _0x368f6a=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x159ee2,_0x26ea36,_0x38263f,_0x6f077d){const _0x22c449=_0x7db477;super(),this[_0x22c449(0x248)]=_0x159ee2,this[_0x22c449(0x2f9)]=_0x26ea36,this['_drawingManagerService']=_0x38263f,this[_0x22c449(0x1c7)]=_0x6f077d,this[_0x22c449(0x484)]();}[_0x7db477(0x484)](){const _0x5950e5=_0x7db477;this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)][_0x5950e5(0x1b9)][_0x5950e5(0x146)](_0x1b0126=>this[_0x5950e5(0x301)](_0x1b0126))),this[_0x5950e5(0x2b0)](this[_0x5950e5(0x369)]['update$'][_0x5950e5(0x146)](_0x2f6d59=>{const _0x46685f=_0x5950e5;_0x2f6d59[_0x46685f(0x2dd)](_0x56b432=>this[_0x46685f(0x21a)](_0x56b432));})),this['disposeWithMe'](this[_0x5950e5(0x248)][_0x5950e5(0x187)](_0x43f2dd=>{const _0x36f04a=_0x5950e5;if(_0x43f2dd['id']!==_0x284855[_0x36f04a(0x324)]['id'])return;let {unitId:_0x6e5451,shapeId:_0x899311}=_0x43f2dd['params'];this[_0x36f04a(0x2fd)]({'unitId':_0x6e5451,'subUnitId':_0x6e5451,'drawingId':_0x899311});}));}[_0x7db477(0x301)](_0x328e9a){const _0x4800c8=_0x7db477;_0x328e9a[_0x4800c8(0x2dd)](_0x4a3ab5=>{const _0x2366c7=_0x4800c8;let _0x2ace93=this[_0x2366c7(0x23b)](_0x4a3ab5[_0x2366c7(0x24d)]);if(!_0x2ace93)return;let _0x2428b1=this[_0x2366c7(0x369)][_0x2366c7(0x340)](_0x4a3ab5);(_0x2428b1==null?void 0x0:_0x2428b1[_0x2366c7(0x3bc)])===_0x47c402[_0x2366c7(0x472)][_0x2366c7(0x427)]&&this['_docDrawingShapeRenderController'][_0x2366c7(0x286)](_0x2428b1,_0x2ace93[_0x2366c7(0x11a)]);});}[_0x7db477(0x21a)](_0xed0d55){const _0x20fa61=_0x7db477;let _0xbb4ecc=this[_0x20fa61(0x369)][_0x20fa61(0x340)](_0xed0d55);if((_0xbb4ecc==null?void 0x0:_0xbb4ecc[_0x20fa61(0x3bc)])!==_0x47c402[_0x20fa61(0x472)]['DRAWING_SHAPE'])return;let _0x49ce25=this['_getSceneByUnitId'](_0xed0d55[_0x20fa61(0x24d)]);if(!_0x49ce25||_0xbb4ecc[_0x20fa61(0x211)]==null)return;let _0x2f8924=(0x0,_0x4152b2[_0x20fa61(0x2b6)])(_0xed0d55),_0x4e6155=_0x49ce25[_0x20fa61(0x11a)][_0x20fa61(0x40b)](_0x2f8924);_0x4e6155&&(_0x4e6155[_0x20fa61(0x13e)](_0xbb4ecc['srcRect']),_0x4e6155['setPrstGeom'](_0xbb4ecc[_0x20fa61(0x2d3)]),_0x4e6155[_0x20fa61(0x182)](!0x0));}[_0x7db477(0x2fd)](_0x793bc){const _0x13aa2c=_0x7db477;let _0x2518ea=this[_0x13aa2c(0x23b)](_0x793bc[_0x13aa2c(0x24d)]);if(!_0x2518ea)return;let _0x45ff19=(0x0,_0x4152b2[_0x13aa2c(0x2b6)])(_0x793bc),_0x566b52=_0x2518ea[_0x13aa2c(0x11a)]['getObjectIncludeInGroup'](_0x45ff19);_0x566b52&&(this['_docDrawingShapeRenderController']['refreshShapeFillImage'](_0x566b52),this[_0x13aa2c(0x1c7)][_0x13aa2c(0x349)](_0x566b52,{'unitId':_0x793bc[_0x13aa2c(0x24d)],'subUnitId':_0x793bc['subUnitId'],'shapeId':_0x793bc[_0x13aa2c(0x2ef)]}),_0x566b52[_0x13aa2c(0x182)](!0x0));}[_0x7db477(0x23b)](_0x24902e){const _0x3e8ae3=_0x7db477;if(_0x24902e==null)return null;let _0x1a5837=this[_0x3e8ae3(0x2f9)]['getRenderUnitById'](_0x24902e),_0x1fcba4=_0x1a5837==null?void 0x0:_0x1a5837[_0x3e8ae3(0x11a)];return _0x1fcba4==null?null:{'scene':_0x1fcba4};}};_0x368f6a=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['ICommandService']),_0x15d88a(0x1,_0x54839f['IRenderManagerService']),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x5b7161))],_0x368f6a);let _0x35c733=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0x196ac2=_0x1bd49e,_0x1e599c,_0x31f9f8,_0x66b58f,_0x268096){const _0x6a79a3=_0x7db477;super(),this[_0x6a79a3(0x33d)]=_0x196ac2,this['_injector']=_0x1e599c,this[_0x6a79a3(0x248)]=_0x31f9f8,this[_0x6a79a3(0x127)]=_0x66b58f,this[_0x6a79a3(0x2f9)]=_0x268096;let {menu:_0x4a7ffb,..._0x36c49e}=(0x0,_0x47c402[_0x6a79a3(0x1a1)])({},_0x1bd49e,this['_config']);_0x4a7ffb&&this[_0x6a79a3(0x127)][_0x6a79a3(0x147)]('menu',_0x4a7ffb,{'merge':!0x0}),this[_0x6a79a3(0x127)][_0x6a79a3(0x147)](_0x3c8ab9,_0x36c49e),[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x6a79a3(0x2dd)](_0x5b87a6=>this[_0x6a79a3(0x2b0)](this[_0x6a79a3(0x248)][_0x6a79a3(0x156)](_0x5b87a6)));}['onStarting'](){const _0x4a2b96=_0x7db477;let _0x2bbe9e=[[_0x33d9ae],[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]];(0x0,_0x47c402[_0x4a2b96(0x3d2)])(this[_0x4a2b96(0x3a5)],_0x2bbe9e),this[_0x4a2b96(0x3a5)][_0x4a2b96(0x45e)](_0x33d9ae);}[_0x7db477(0x456)](){const _0x5592be=_0x7db477;this[_0x5592be(0x2b0)](this[_0x5592be(0x2f9)][_0x5592be(0x19b)](_0x47c402[_0x5592be(0x1aa)][_0x5592be(0x486)],[_0x3e66ac])),(0x0,_0x47c402[_0x5592be(0x30c)])(this[_0x5592be(0x3a5)],[[_0x3a06ff],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x43257f],[_0x31410c]]);}};_0x38c0c9(_0x35c733,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)][_0x7db477(0x486)]),_0x38c0c9(_0x35c733,'pluginName',_0x7db477(0x2e9)),_0x38c0c9(_0x35c733,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x35c733,_0x7db477(0x39b),_0x279654),_0x35c733=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339[_0x7db477(0x209)],_0x4152b2['UniverDrawingPlugin'],_0x459a9e[_0x7db477(0x1d2)],_0x54839f['UniverRenderEnginePlugin'],_0x130604['UniverDocsMobileUIPlugin'],_0x48b72a[_0x7db477(0x420)],_0x1d2176['UniverDocsDrawingMobileUIPlugin'],_0x284855[_0x7db477(0x3b9)],_0x56d51f[_0x7db477(0x452)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x21d)])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f['IRenderManagerService'])],_0x35c733);let _0x5ba519=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x2ba988,_0x14991f){const _0xa0cde2=_0x7db477;super(),this['_componentManager']=_0x2ba988,this[_0xa0cde2(0x1a5)]=_0x14991f,this[_0xa0cde2(0x26b)](),this['_registerComponents']();}[_0x7db477(0x26b)](){const _0x52e0ca=_0x7db477;this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x28e))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)]['register']({'ObjectLayersIcon':_0x1f286e})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x1ec))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'BottomIcon':_0x48e3a1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('MoveDownIcon')||this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveDownIcon':_0x29fbfe})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x378))||this[_0x52e0ca(0x2b0)](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)]({'MoveUpIcon':_0x2d9da1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)]('ShapeFormatSettingIcon')||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'ShapeFormatSettingIcon':_0x660fb1})),this[_0x52e0ca(0x1a5)][_0x52e0ca(0x48e)](_0x52e0ca(0x461))||this[_0x52e0ca(0x2b0)](this['_iconManager'][_0x52e0ca(0x394)]({'TopmostIcon':_0x2ac36e})),this['disposeWithMe'](this[_0x52e0ca(0x1a5)][_0x52e0ca(0x394)](_0xa1bd39));}['_registerComponents'](){const _0xb6e21f=_0x7db477;this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x52a209,_0x38ef89)),this[_0xb6e21f(0x36b)](),this['_registerFloatingToolbar'](),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)]['register'](_0x4850a6,_0x532467)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x560d2a,_0x533993)),this['disposeWithMe'](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x19a0d7,_0x5e650e)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x2084e0,_0x14a76c)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x5ac958,_0x45324f)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x469608,_0x56d51f[_0xb6e21f(0x2a1)])),this[_0xb6e21f(0x1b0)](),this[_0xb6e21f(0x114)][_0xb6e21f(0x45e)](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0xb6e21f(0x2b0)](this['_componentManager']['register'](_0x459a9e['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x34fc80)),this[_0xb6e21f(0x2b0)](this[_0xb6e21f(0x114)][_0xb6e21f(0x394)](_0x3a6f6f,_0x1e8cf0));}[_0x7db477(0x36b)](){const _0x31b5cf=_0x7db477;this[_0x31b5cf(0x2b0)](this['_componentManager'][_0x31b5cf(0x394)](_0x4378d7,_0x2413ae));}['_registerFloatingToolbar'](){const _0x340ac9=_0x7db477;this[_0x340ac9(0x2b0)](this[_0x340ac9(0x114)][_0x340ac9(0x394)](_0x384936,_0x14cedd));}[_0x7db477(0x1b0)](){const _0x371636=_0x7db477;this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0xc138a4,_0x3be8f4)),this[_0x371636(0x2b0)](this[_0x371636(0x114)][_0x371636(0x394)](_0x5e6476,_0x50210b));}};_0x5ba519=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402['Inject'])(_0x86086d['ComponentManager'])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x86086d[_0x7db477(0x2cb)]))],_0x5ba519);let _0xac86fa=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x467225,_0x2f2639,_0x5209c3,_0x249b1c,_0x35bf7f,_0x24a19d,_0x12128e,_0x39bcba,_0x12cbb2){const _0x289e8d=_0x7db477;super();let _0x102c23=_0xe77ce2=>{const _0x41da0d=_0x3f06;let _0x3fe05=_0x24a19d[_0x41da0d(0x2aa)](_0xe77ce2[_0x41da0d(0x24d)],_0x47c402[_0x41da0d(0x1aa)]['UNIVER_DOC']),_0x328d8a=_0x3fe05?(0x0,_0x18b339[_0x41da0d(0x1af)])(_0x3fe05,_0xe77ce2[_0x41da0d(0x424)]):'';return!!_0x3fe05&&(0x0,_0x18b339[_0x41da0d(0x3e1)])(_0x39bcba,_0xe77ce2[_0x41da0d(0x24d)],[(0x0,_0x18b339[_0x41da0d(0x44d)])(_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)]),...(0x0,_0x18b339['getDocumentEntityParentPermissionObjectIds'])(_0x3fe05,_0x328d8a,_0x41da0d(0x31b),_0xe77ce2[_0x41da0d(0x424)])]);},_0x3cbe3c=_0x27cc97=>_0x27cc97[_0x289e8d(0x424)]&&_0x102c23(_0x27cc97)?_0x5209c3['getShapeDataById'](_0x27cc97[_0x289e8d(0x24d)],_0x27cc97[_0x289e8d(0x424)])??null:null,_0x277855=()=>{const _0x337d9d=_0x289e8d;let _0x4b564f=_0x35bf7f['getFocusDrawings'](),_0x3a9e99=_0x4b564f[_0x337d9d(0x2b4)]===0x1?_0x4b564f[0x0]:null;return(_0x3a9e99==null?void 0x0:_0x3a9e99[_0x337d9d(0x3bc)])===_0x47c402[_0x337d9d(0x472)][_0x337d9d(0x427)]&&_0x3a9e99[_0x337d9d(0x24d)]===_0x467225[_0x337d9d(0x24d)]?{'unitId':_0x3a9e99['unitId'],'subUnitId':_0x3a9e99[_0x337d9d(0x28c)],'shapeId':_0x3a9e99[_0x337d9d(0x2ef)]}:null;};this[_0x289e8d(0x2b0)]((0x0,_0x56d51f[_0x289e8d(0x308)])(_0x467225,_0x2f2639,{'changes$':(0x0,_0x21926c[_0x289e8d(0x1a1)])(_0x35bf7f[_0x289e8d(0x48c)],_0x249b1c['editingParams$'],_0x39bcba[_0x289e8d(0x3f4)]),'isActive':()=>{const _0x2e6f8c=_0x289e8d;var _0x27ec3b;return((_0x27ec3b=_0x24a19d[_0x2e6f8c(0x400)]())==null?void 0x0:_0x27ec3b[_0x2e6f8c(0x38c)]())===_0x467225[_0x2e6f8c(0x24d)]&&!_0x12128e[_0x2e6f8c(0x1fd)](_0x47c402[_0x2e6f8c(0x415)])&&_0x35bf7f[_0x2e6f8c(0x3b6)]()[_0x2e6f8c(0x30e)](_0x1190c7=>_0x1190c7['unitId']===_0x467225[_0x2e6f8c(0x24d)]);},'getSelectedTarget':_0x277855,'getSource':()=>{let _0x2e377e=_0x277855();return _0x2e377e?_0x3cbe3c(_0x2e377e):null;},'getTarget':_0x53b540=>{const _0x2b57f3=_0x289e8d;let _0x9297b7=_0x467225[_0x2b57f3(0x11a)][_0x2b57f3(0x3a9)](new _0x54839f['Vector2'](_0x53b540['offsetX'],_0x53b540[_0x2b57f3(0x309)]));if(!(_0x9297b7 instanceof _0x5777c9))return null;let _0x525acc={'unitId':_0x467225[_0x2b57f3(0x24d)],'subUnitId':_0x467225[_0x2b57f3(0x24d)],'shapeId':_0x9297b7['shapeId']};return _0x102c23(_0x525acc)?_0x525acc:null;},'getShape':_0x3cbe3c,'update':(_0x21c9cc,_0x42111c,_0x4c086c)=>_0x12cbb2[_0x289e8d(0x467)](_0x284855['UpdateDocShapeDataCommand']['id'],{..._0x21c9cc,'shapeData':_0x4c086c,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x42111c}})}));}};_0xac86fa=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x470)])),_0x15d88a(0x2,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x4,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x5,_0x47c402[_0x7db477(0x191)]),_0x15d88a(0x6,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x7,_0x47c402[_0x7db477(0x213)]),_0x15d88a(0x8,_0x47c402[_0x7db477(0x250)])],_0xac86fa);function _0x33479e(_0x422029,_0x4896be){const _0x54c6b3=_0x7db477;let _0x402555=_0x422029;for(;_0x402555;){if(_0x4896be(_0x402555))return _0x402555;_0x402555=typeof _0x402555[_0x54c6b3(0x3da)]==_0x54c6b3(0x38d)?_0x402555[_0x54c6b3(0x3da)]():null;}return null;}function _0x2211b1(_0x234939){return _0x33479e(_0x234939,_0x31c1f1=>_0x31c1f1 instanceof _0x5777c9);}function _0x16fbbf(_0x27cc46){const _0x48c2b7=_0x7db477;return(_0x27cc46==null?void 0x0:_0x27cc46[_0x48c2b7(0x3d0)])==null;}let _0x5df16b=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x925d98,_0x5b933d,_0x146d68,_0x3ac95a,_0x29537b,_0x5a5482){const _0x10e431=_0x7db477;super(),this[_0x10e431(0x3c6)]=_0x925d98,this[_0x10e431(0x24f)]=_0x5b933d,this[_0x10e431(0x369)]=_0x146d68,this[_0x10e431(0x1e2)]=_0x3ac95a,this[_0x10e431(0x30d)]=_0x29537b,this['_docsShapeService']=_0x5a5482,_0x38c0c9(this,_0x10e431(0x2a2),null),_0x38c0c9(this,_0x10e431(0x36a),null),this[_0x10e431(0x37c)](),this['_initSelection'](),this[_0x10e431(0x385)]();}[_0x7db477(0x18c)](){const _0x1be056=_0x7db477;this['_endLayoutInteraction'](),super[_0x1be056(0x18c)]();}[_0x7db477(0x37c)](){const _0x5bf652=_0x7db477;let {scene:_0x2f7e23}=this[_0x5bf652(0x3c6)];this[_0x5bf652(0x2b0)](_0x2f7e23[_0x5bf652(0x25e)][_0x5bf652(0x20f)]((_0x2993c8,_0x467a5e)=>{const _0x1f98f9=_0x5bf652;let {offsetX:_0x7da6e9,offsetY:_0x47717a}=_0x2993c8,_0x2c136f=_0x54839f[_0x1f98f9(0x2d2)][_0x1f98f9(0x25c)]([_0x7da6e9,_0x47717a]),_0x3c9b15=_0x2211b1(_0x2f7e23[_0x1f98f9(0x3a9)](_0x2c136f))??this[_0x1f98f9(0x1c3)](_0x2c136f);if(_0x3c9b15){_0x467a5e[_0x1f98f9(0x361)]();let _0x517b29=this['_docsShapeService']['getShapeModel'](_0x3c9b15['unitId'],_0x3c9b15[_0x1f98f9(0x28c)],_0x3c9b15[_0x1f98f9(0x424)]);if(!_0x517b29||(0x0,_0x3becc2[_0x1f98f9(0x34f)])(_0x517b29['getShapeType']())||!_0x16fbbf(_0x517b29['getShapeData']()))return;this[_0x1f98f9(0x24f)][_0x1f98f9(0x2e2)]({'visible':!0x0,'unitId':_0x3c9b15[_0x1f98f9(0x24d)],'subUnitId':_0x3c9b15[_0x1f98f9(0x28c)],'shapeId':_0x3c9b15[_0x1f98f9(0x424)],'shapeKey':_0x3c9b15[_0x1f98f9(0x34c)]});}}));}['_getFocusedShapeAtPoint'](_0x392bfc){const _0x442492=_0x7db477;let {scene:_0xae4f85}=this[_0x442492(0x3c6)];return this[_0x442492(0x369)][_0x442492(0x3b6)]()[_0x442492(0x3b4)](_0x3d6b04=>_0xae4f85[_0x442492(0x40b)]((0x0,_0x4152b2[_0x442492(0x2b6)])(_0x3d6b04)))[_0x442492(0x363)](_0xfb7e3d=>_0xfb7e3d instanceof _0x5777c9&&_0xfb7e3d['isHit'](_0x392bfc))??null;}[_0x7db477(0x24c)](){const _0x491fcf=_0x7db477;this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x48c)][_0x491fcf(0x146)](_0x3ad0db=>{const _0x9f19c8=_0x491fcf;if(_0x3ad0db[_0x9f19c8(0x2b4)]===0x1){let _0x28db70=_0x3ad0db[0x0],_0x8f98e9=this['_drawingManagerService']['getDrawingByParam'](_0x28db70);if((_0x8f98e9==null?void 0x0:_0x8f98e9['drawingType'])===_0x47c402[_0x9f19c8(0x472)][_0x9f19c8(0x427)]){let _0x1ac858=this[_0x9f19c8(0x24f)][_0x9f19c8(0x350)]();if((_0x1ac858==null?void 0x0:_0x1ac858[_0x9f19c8(0x424)])===_0x28db70['drawingId']&&_0x1ac858[_0x9f19c8(0x190)])return;(0x0,_0x3becc2[_0x9f19c8(0x34f)])(this[_0x9f19c8(0x25b)][_0x9f19c8(0x466)](_0x28db70['unitId'],_0x28db70[_0x9f19c8(0x28c)],_0x28db70[_0x9f19c8(0x2ef)]))&&this[_0x9f19c8(0x24f)][_0x9f19c8(0x2e2)](null);}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();}else this[_0x9f19c8(0x24f)][_0x9f19c8(0x377)]();})),this[_0x491fcf(0x2b0)](this[_0x491fcf(0x369)][_0x491fcf(0x440)][_0x491fcf(0x146)](_0x4eae7b=>{const _0xdc75a9=_0x491fcf;let _0x522817=this['_shapeTextEditingService']['getEditing']();_0x522817&&_0x4eae7b['some'](_0x763f38=>_0x763f38[_0xdc75a9(0x2ef)]===_0x522817[_0xdc75a9(0x424)])&&this[_0xdc75a9(0x24f)][_0xdc75a9(0x2e2)](null);}));}[_0x7db477(0x385)](){const _0x11f8d1=_0x7db477;this[_0x11f8d1(0x2b0)](this[_0x11f8d1(0x24f)]['editingParams$'][_0x11f8d1(0x146)](_0x3cb15f=>{const _0x3782a0=_0x11f8d1;(_0x3cb15f==null?void 0x0:_0x3cb15f[_0x3782a0(0x190)])===!0x0&&_0x3cb15f[_0x3782a0(0x24d)]===this['_context'][_0x3782a0(0x24d)]?this['_layoutInteraction']??=this[_0x3782a0(0x30d)][_0x3782a0(0x335)]():this[_0x3782a0(0x253)]();let {scene:_0x183c38}=this[_0x3782a0(0x3c6)];if(this[_0x3782a0(0x2a2)]){let _0x44e7bb=_0x183c38[_0x3782a0(0x40b)](this[_0x3782a0(0x2a2)]);_0x44e7bb&&_0x44e7bb[_0x3782a0(0x2e2)](!0x1);}if(_0x3cb15f){let _0x5377dd=!!_0x3cb15f['visible'],_0x421ddc=_0x183c38['getObjectIncludeInGroup'](_0x3cb15f['shapeKey']);_0x421ddc&&(_0x421ddc[_0x3782a0(0x2e2)](_0x5377dd),this[_0x3782a0(0x2a2)]=_0x3cb15f[_0x3782a0(0x20c)]),this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],_0x5377dd);}else this[_0x3782a0(0x2a2)]=null,this[_0x3782a0(0x1e2)][_0x3782a0(0x244)](_0x47c402[_0x3782a0(0x415)],!0x1);}));}[_0x7db477(0x253)](){const _0x15d4a8=_0x7db477;var _0x2aa13e;(_0x2aa13e=this[_0x15d4a8(0x36a)])==null||_0x2aa13e[_0x15d4a8(0x18c)](),this[_0x15d4a8(0x36a)]=null;}};_0x5df16b=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0x2,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x417)])),_0x15d88a(0x5,(0x0,_0x47c402['Inject'])(_0x284855[_0x7db477(0x2ac)]))],_0x5df16b);let _0x1642ea=class extends _0x56d51f['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509){super(_0x271547,_0x2a621a,_0x1d73c0,_0x1000bf,_0x53f8d3,_0x3e512a,_0x38657a,_0x4926f7,_0x13ec89,_0x153509,{'componentKey':_0x469608,'editorUnitId':_0x4e500d});}};_0x1642ea=_0x1cbdb5([_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x18b339[_0x7db477(0x225)])),_0x15d88a(0x2,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x47d)])),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x432)])),_0x15d88a(0x4,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x5,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604[_0x7db477(0x14d)])),_0x15d88a(0x6,(0x0,_0x47c402[_0x7db477(0x261)])(_0x56d51f[_0x7db477(0x45d)])),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x18b339[_0x7db477(0x123)])),_0x15d88a(0x8,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocRenderController'])),_0x15d88a(0x9,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f))],_0x1642ea);let _0xc0e7ef=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0xd2c99f,_0x5c7119,_0x4b2e46,_0x14d49c,_0x206c88,_0x139688,_0x710287,_0x411754,_0x33f121,_0x215c50,_0x3cee12,_0x36bfca){const _0x3bc39a=_0x7db477;super(),this[_0x3bc39a(0x130)]=_0xd2c99f,this[_0x3bc39a(0x3af)]=_0x5c7119,this['_menuManagerService']=_0x4b2e46,this[_0x3bc39a(0x25b)]=_0x14d49c,this['_localeService']=_0x206c88,this[_0x3bc39a(0x248)]=_0x139688,this[_0x3bc39a(0x369)]=_0x710287,this['_docCanvasPopManagerService']=_0x411754,this[_0x3bc39a(0x2f9)]=_0x33f121,this[_0x3bc39a(0x1e2)]=_0x215c50,this[_0x3bc39a(0x24f)]=_0x3cee12,this[_0x3bc39a(0x17b)]=_0x36bfca,_0x38c0c9(this,_0x3bc39a(0x289),null),_0x38c0c9(this,'_activeShapeInfo',null),_0x38c0c9(this,'_isOpenedShapeEditPanel',!0x1),_0x38c0c9(this,_0x3bc39a(0x35c),0x0),_0x38c0c9(this,_0x3bc39a(0x450),new Map()),_0x38c0c9(this,_0x3bc39a(0x125),new Map()),this[_0x3bc39a(0x232)](),this[_0x3bc39a(0x2b0)](this['_univerInstanceService'][_0x3bc39a(0x300)](_0x47c402['UniverInstanceType']['UNIVER_DOC'])[_0x3bc39a(0x146)](_0x21e360=>{const _0x2e11d5=_0x3bc39a;if(!_0x21e360){var _0x31ed01;(_0x31ed01=this[_0x2e11d5(0x289)])==null||_0x31ed01[_0x2e11d5(0x18c)]();}})),this[_0x3bc39a(0x2d6)](),this[_0x3bc39a(0x2b0)]((0x0,_0x56d51f['bindRenderTransformerLifecycle'])(this[_0x3bc39a(0x2f9)],_0x47c402[_0x3bc39a(0x1aa)][_0x3bc39a(0x486)],_0x363bb7=>this[_0x3bc39a(0x1d3)](_0x363bb7))),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x3bc39a(0x146)](_0x3041ca=>{const _0x547555=_0x3bc39a;_0x3041ca&&this[_0x547555(0x154)](void 0x0,!0x0);})),this[_0x3bc39a(0x2b0)](this[_0x3bc39a(0x17b)]['permissionPointUpdate$']['subscribe'](()=>{const _0x2e80ae=_0x3bc39a;this[_0x2e80ae(0x369)][_0x2e80ae(0x3b6)]()['some'](_0x51492e=>_0x51492e[_0x2e80ae(0x3bc)]===_0x47c402[_0x2e80ae(0x472)][_0x2e80ae(0x427)]&&this[_0x2e80ae(0x130)][_0x2e80ae(0x145)](_0x51492e[_0x2e80ae(0x24d)])===_0x47c402[_0x2e80ae(0x1aa)]['UNIVER_DOC']&&!this[_0x2e80ae(0x1f2)](_0x51492e[_0x2e80ae(0x24d)],_0x51492e[_0x2e80ae(0x2ef)]))&&(this[_0x2e80ae(0x154)](void 0x0,!0x0),this[_0x2e80ae(0x298)]());}));}[_0x7db477(0x232)](){const _0x5d5896=_0x7db477;this[_0x5d5896(0x285)][_0x5d5896(0x241)](_0x317aa8);}[_0x7db477(0x136)](_0x564053,_0x156858,_0x3368f6,_0x38d239){const _0x2b475f=_0x7db477;return[{'label':_0x2b475f(0x2c0),'index':0x0,'commandId':_0x39980d['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':_0x38d239===_0x47c402['DrawingTypeEnum'][_0x2b475f(0x36e)]},{'label':_0x2b475f(0x27f),'index':0x1,'commandId':_0x13d142['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x564053,'drawings':[{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6}]},'disable':!0x1},{'label':_0x2b475f(0x2f3),'index':0x2,'commandId':_0x87b80e['id'],'commandParams':{'unitId':_0x564053,'subUnitId':_0x156858,'drawingId':_0x3368f6},'disable':!0x1}];}[_0x7db477(0x375)](_0x2babdc,_0x5bb671,_0x8d4d1d){const _0x5bac62=_0x7db477;let _0xfe37a8=this[_0x5bac62(0x25b)][_0x5bac62(0x15e)](_0x2babdc,_0x5bb671,_0x8d4d1d),_0x4ad968=this[_0x5bac62(0x25b)][_0x5bac62(0x237)](_0x2babdc,_0x5bb671,_0x8d4d1d);return _0xfe37a8!==void 0x0&&_0x4ad968!==void 0x0?{'shapeData':_0x4ad968,'shapeId':_0x8d4d1d,'shapeType':_0xfe37a8,'unitId':_0x2babdc,'subUnitId':_0x5bb671,'version':this[_0x5bac62(0x35c)],'disableShapeOption':!0x1}:null;}[_0x7db477(0x154)](_0x238dd4,_0x19d3d0=!0x1){const _0x31b58c=_0x7db477;if(_0x238dd4==null){[...this[_0x31b58c(0x450)][_0x31b58c(0x2d8)]()][_0x31b58c(0x2dd)](_0x22513b=>this[_0x31b58c(0x154)](_0x22513b,_0x19d3d0));return;}let _0x42d3e1=this['_disposePopupsByUnit']['get'](_0x238dd4);if(_0x42d3e1){for(let _0x5f3225=_0x42d3e1['length']-0x1;_0x5f3225>=0x0;--_0x5f3225){let _0x2bb3b4=_0x42d3e1[_0x5f3225];(_0x19d3d0||_0x2bb3b4[_0x31b58c(0x230)]())&&(_0x2bb3b4[_0x31b58c(0x18c)](),_0x42d3e1[_0x31b58c(0x45a)](_0x5f3225,0x1));}_0x42d3e1['length']===0x0&&(this[_0x31b58c(0x450)]['delete'](_0x238dd4),this[_0x31b58c(0x125)][_0x31b58c(0x348)](_0x238dd4));}}[_0x7db477(0x49b)](_0x4bd59a){const _0x3916e6=_0x7db477;let _0x4a67e5=this['_disposePopupsByUnit'][_0x3916e6(0x45e)](_0x4bd59a);if(_0x4a67e5)return _0x4a67e5;let _0xdfeff8=[];return this['_disposePopupsByUnit'][_0x3916e6(0x3fc)](_0x4bd59a,_0xdfeff8),_0xdfeff8;}[_0x7db477(0x1d3)](_0x28eaef){const _0x376ed8=_0x7db477;var _0x1dc558;let _0xbb4b4a=new _0x47c402['DisposableCollection'](),_0x1004eb=(_0x1dc558=this['_renderManagerService'][_0x376ed8(0x337)](_0x47c402[_0x376ed8(0x1aa)][_0x376ed8(0x486)])[_0x376ed8(0x363)](_0x52b4af=>_0x52b4af[_0x376ed8(0x11a)][_0x376ed8(0x339)]()===_0x28eaef))==null?void 0x0:_0x1dc558[_0x376ed8(0x24d)];return _0x1004eb?(_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef['createControl$'][_0x376ed8(0x146)](()=>this['_handleCreateControl'](_0x28eaef,_0x1004eb))),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x212)][_0x376ed8(0x146)](()=>{const _0x330c73=_0x376ed8;this[_0x330c73(0x154)](_0x1004eb),queueMicrotask(()=>{const _0x590aa3=_0x330c73;_0x28eaef[_0x590aa3(0x408)]()['size']>0x0||(this[_0x590aa3(0x1e2)][_0x590aa3(0x244)](_0x47c402[_0x590aa3(0x1eb)],!0x1),this[_0x590aa3(0x369)]['focusDrawing'](null));});})),_0xbb4b4a[_0x376ed8(0x3f2)](_0x28eaef[_0x376ed8(0x170)][_0x376ed8(0x146)](()=>{const _0x4db24c=_0x376ed8;this[_0x4db24c(0x154)](_0x1004eb,!0x0);})),_0xbb4b4a):_0xbb4b4a;}[_0x7db477(0x39f)](_0x200bf5,_0x2b9aca){const _0x199df0=_0x7db477;let _0x588b5b=_0x200bf5[_0x199df0(0x408)]();if(this[_0x199df0(0x4a0)]){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}if(_0x588b5b[_0x199df0(0x142)]>0x1){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x46a5d5=_0x588b5b['values']()[_0x199df0(0x22e)]()['value'];if(!_0x46a5d5){this['_clearPopups'](_0x2b9aca);return;}let _0x580c65=this[_0x199df0(0x369)][_0x199df0(0x35d)](_0x46a5d5[_0x199df0(0x34c)]);if(!_0x580c65||_0x580c65[_0x199df0(0x3bc)]!==_0x47c402[_0x199df0(0x472)][_0x199df0(0x427)]){this[_0x199df0(0x154)](_0x2b9aca);return;}let {unitId:_0x5afaa9,subUnitId:_0x572910,drawingId:_0x151952,drawingType:_0x34a38e}=_0x580c65;if(!this[_0x199df0(0x1f2)](_0x5afaa9,_0x151952)){this[_0x199df0(0x154)](_0x2b9aca,!0x0);return;}let _0x46e28d=this[_0x199df0(0x375)](_0x5afaa9,_0x572910,_0x151952);if(!_0x46e28d){this[_0x199df0(0x154)](_0x2b9aca);return;}let _0x4a7ef4=this[_0x199df0(0x450)][_0x199df0(0x45e)](_0x2b9aca),_0x214555=_0x5afaa9+':'+_0x572910+':'+_0x151952;if(this['_popupTargetKeys'][_0x199df0(0x45e)](_0x2b9aca)===_0x214555&&_0x4a7ef4&&_0x4a7ef4[_0x199df0(0x2b4)]>0x0)return;this[_0x199df0(0x154)](_0x2b9aca);let _0x1f53b7=this[_0x199df0(0x2f9)]['getRenderUnitById'](_0x5afaa9),_0x4be348=((_0x1f53b7==null?void 0x0:_0x1f53b7[_0x199df0(0x426)])===!0x1?_0x1f53b7[_0x199df0(0x459)](_0x130604[_0x199df0(0x47d)]):this[_0x199df0(0x1f4)])[_0x199df0(0x3e0)](_0x46a5d5,this[_0x199df0(0x35a)](_0x46e28d,_0x34a38e),_0x5afaa9);this[_0x199df0(0x2b0)](_0x4be348),this['_getDisposePopups'](_0x2b9aca)[_0x199df0(0x327)](_0x4be348),this[_0x199df0(0x125)][_0x199df0(0x3fc)](_0x2b9aca,_0x214555),this[_0x199df0(0x369)][_0x199df0(0x3b6)]()[_0x199df0(0x30e)](_0x3aee6d=>_0x3aee6d['unitId']===_0x5afaa9&&_0x3aee6d[_0x199df0(0x28c)]===_0x572910&&_0x3aee6d[_0x199df0(0x2ef)]===_0x151952)||this['_drawingManagerService'][_0x199df0(0x2e7)]([{'unitId':_0x5afaa9,'subUnitId':_0x572910,'drawingId':_0x151952}]);}['_getShapePopup'](_0x34cd58,_0x21c662){const _0x4ef536=_0x7db477;return{'componentKey':_0x384936,'direction':_0x4ef536(0x3dc),'offset':[0x0,_0x56d51f[_0x4ef536(0x217)]],'extraProps':{'unitId':_0x34cd58['unitId'],'subUnitId':_0x34cd58[_0x4ef536(0x28c)],'drawingId':_0x34cd58['shapeId'],'drawingType':_0x21c662,'shapeType':_0x34cd58[_0x4ef536(0x49e)],'shapeData':_0x34cd58[_0x4ef536(0x441)]}};}[_0x7db477(0x1f2)](_0x2167ca,_0x4b8e06){const _0x89859d=_0x7db477;let _0x5b0f2e=this['_univerInstanceService']['getUnit'](_0x2167ca,_0x47c402[_0x89859d(0x1aa)]['UNIVER_DOC']);if(!_0x5b0f2e)return!0x1;let _0x3f626a=(0x0,_0x18b339[_0x89859d(0x1af)])(_0x5b0f2e,_0x4b8e06);return(0x0,_0x18b339[_0x89859d(0x3e1)])(this[_0x89859d(0x17b)],_0x2167ca,[...(0x0,_0x18b339[_0x89859d(0x15b)])(_0x5b0f2e,_0x3f626a,_0x89859d(0x31b),_0x4b8e06),(0x0,_0x18b339['getDocumentEntityPermissionObjectId'])(_0x3f626a,'drawing',_0x4b8e06)]);}[_0x7db477(0x2d6)](){const _0x32263b=_0x7db477;this[_0x32263b(0x2b0)](this[_0x32263b(0x248)][_0x32263b(0x187)](_0x266706=>{const _0x3fb181=_0x32263b;if(_0x266706['id']===_0x39980d['id']){let {unitId:_0x1ddf5d,subUnitId:_0x163bb5,drawingId:_0x4cd34f}=_0x266706[_0x3fb181(0x20d)];this[_0x3fb181(0x35c)]+=0x1,this[_0x3fb181(0x303)]=this[_0x3fb181(0x375)](_0x1ddf5d,_0x163bb5,_0x4cd34f),this['_clearPopups'](void 0x0,!0x0),this[_0x3fb181(0x2c5)]();}if(_0x266706['id']===_0x87b80e['id']&&(this['_activeShapeInfo']=null,this[_0x3fb181(0x298)]()),_0x266706['id']===_0x284855['UpdateDocShapeDataMutation']['id']){let {unitId:_0x307e76,shapeId:_0xc9739e}=_0x266706['params'];if(this['_activeShapeInfo']&&this[_0x3fb181(0x303)][_0x3fb181(0x424)]===_0xc9739e){let _0x5c1e0a=this[_0x3fb181(0x375)](_0x307e76,this[_0x3fb181(0x303)]['subUnitId'],_0xc9739e);_0x5c1e0a&&(this['_shapeEditPanelVersion']+=0x1,_0x5c1e0a[_0x3fb181(0x39b)]=this[_0x3fb181(0x35c)],this['_activeShapeInfo']=_0x5c1e0a,this[_0x3fb181(0x4a0)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this[_0x32263b(0x369)][_0x32263b(0x48c)][_0x32263b(0x146)](_0x2333b3=>{const _0x525605=_0x32263b;if(this[_0x525605(0x4a0)]===!0x1)return;if(_0x2333b3[_0x525605(0x2b4)]===0x0){this[_0x525605(0x303)]=null,this[_0x525605(0x298)]();return;}if(_0x2333b3[_0x525605(0x2b4)]===0x1&&_0x2333b3[0x0][_0x525605(0x3bc)]===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]&&(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0][_0x525605(0x24d)],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)])){this[_0x525605(0x2c5)]();return;}let _0x59e97e=_0x2333b3[_0x525605(0x1ef)](_0x55f4f8=>_0x55f4f8['drawingType']===_0x47c402[_0x525605(0x472)][_0x525605(0x427)]);if(_0x2333b3[_0x525605(0x2b4)]>0x1&&_0x59e97e[_0x525605(0x2b4)]===_0x2333b3[_0x525605(0x2b4)]){if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this['_getShapeInfo'](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0][_0x525605(0x2ef)]),this[_0x525605(0x303)]){this[_0x525605(0x2c5)]();return;}}else{if(this[_0x525605(0x35c)]+=0x1,this[_0x525605(0x303)]=this[_0x525605(0x375)](_0x2333b3[0x0]['unitId'],_0x2333b3[0x0][_0x525605(0x28c)],_0x2333b3[0x0]['drawingId']),this[_0x525605(0x303)]){this[_0x525605(0x303)][_0x525605(0x305)]=!0x0,this[_0x525605(0x2c5)]();return;}}this[_0x525605(0x298)]();}));}[_0x7db477(0x2c5)](){const _0x62cad=_0x7db477;this[_0x62cad(0x303)]&&(this[_0x62cad(0x289)]=this['_sidebarService'][_0x62cad(0x1c9)]({'id':_0x52a209,'header':{'title':this['_localeService']['t'](_0x62cad(0x42f))},'width':0x184,'children':{'label':_0x52a209,...this[_0x62cad(0x303)]},'onClose':()=>{const _0x194ba3=_0x62cad;this[_0x194ba3(0x369)]['focusDrawing'](null),this[_0x194ba3(0x1e2)][_0x194ba3(0x244)](_0x47c402[_0x194ba3(0x1eb)],!0x1),this[_0x194ba3(0x289)]=null;}}),this[_0x62cad(0x4a0)]=!0x0);}['_closeShapeEditPanel'](){const _0x3252de=_0x7db477;this['_isOpenedShapeEditPanel']=!0x1,this[_0x3252de(0x3af)][_0x3252de(0x172)](_0x52a209),this[_0x3252de(0x289)]=null,this[_0x3252de(0x1e2)][_0x3252de(0x244)](_0x47c402[_0x3252de(0x1eb)],!0x1),this[_0x3252de(0x369)][_0x3252de(0x2e7)](null);}};_0xc0e7ef=_0x1cbdb5([_0x15d88a(0x0,_0x47c402['IUniverInstanceService']),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x86086d[_0x7db477(0x393)])),_0x15d88a(0x2,_0x86086d[_0x7db477(0x1db)]),_0x15d88a(0x3,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x4,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402[_0x7db477(0x2ba)])),_0x15d88a(0x5,_0x47c402['ICommandService']),_0x15d88a(0x6,_0x4152b2[_0x7db477(0x1a4)]),_0x15d88a(0x7,(0x0,_0x47c402[_0x7db477(0x261)])(_0x130604['DocCanvasPopManagerService'])),_0x15d88a(0x8,_0x54839f['IRenderManagerService']),_0x15d88a(0x9,_0x47c402[_0x7db477(0x474)]),_0x15d88a(0xa,(0x0,_0x47c402[_0x7db477(0x261)])(_0x43257f)),_0x15d88a(0xb,_0x47c402[_0x7db477(0x213)])],_0xc0e7ef);let _0x458493=class extends _0x47c402[_0x7db477(0x329)]{constructor(_0x18aafd,_0x3495ef){const _0x5e0d67=_0x7db477;super(),this[_0x5e0d67(0x25b)]=_0x18aafd,this[_0x5e0d67(0x29a)]=_0x3495ef,this['disposeWithMe']((0x0,_0x47c402[_0x5e0d67(0x2e3)])((0x0,_0x54839f[_0x5e0d67(0x222)])((_0x32b5cd,_0x162fef,_0x1d0167)=>this[_0x5e0d67(0x1f6)](_0x32b5cd,_0x162fef,_0x1d0167))));}[_0x7db477(0x1f6)](_0x2191ae,_0x26df1a,_0x5b5f29){const _0x2a856d=_0x7db477;let _0x1373f8=this[_0x2a856d(0x25b)]['getShapeModel'](_0x2191ae,_0x26df1a);if(!_0x1373f8)return null;let _0x5d02c9=_0x1373f8[_0x2a856d(0x38a)](),_0x8942f=(0x0,_0x3becc2[_0x2a856d(0x29e)])(_0x5d02c9),_0x254423=_0x5d02c9[_0x2a856d(0x296)];if(!_0x254423||_0x8942f[_0x2a856d(0x37a)]!==_0x3becc2[_0x2a856d(0x1c0)]['SpAutoFit'])return null;let _0x4e468a=_0x5b5f29[_0x2a856d(0x196)],_0x27a517=_0x5b5f29[_0x2a856d(0x210)];_0x1373f8[_0x2a856d(0x1d4)]({'width':_0x4e468a,'height':_0x27a517});let _0x526658=_0x1373f8[_0x2a856d(0x258)]({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}),_0x4e2005=(0x0,_0x56d51f[_0x2a856d(0x2ff)])(_0x2a856d(0x2f4)in _0x254423?_0x254423['dataModel']:void 0x0),_0x5e4010=(_0x4e2005==null?void 0x0:_0x4e2005[_0x2a856d(0x1b6)])??('isRichText'in _0x254423?(0x0,_0x56d51f[_0x2a856d(0x16f)])(_0x254423,_0x26df1a+_0x2a856d(0x160)):null);if(!_0x5e4010)return null;let _0x54ef93=(0x0,_0x56d51f[_0x2a856d(0x3c7)])({'documentData':_0x5e4010,'height':_0x27a517,'shapeData':_0x5d02c9,'textRect':_0x526658,'width':_0x4e468a,'widthBuffer':0x0});_0x54ef93&&({width:_0x4e468a,height:_0x27a517}=_0x54ef93,_0x1373f8['updateContext']({'width':_0x4e468a,'height':_0x27a517}),_0x526658=_0x1373f8['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x4e468a,'height':_0x27a517}));let _0x5a5079=_0x254423['isHorizontal']!==!0x1,_0x22232a=(0x0,_0x56d51f['prepareShapeTextDocumentData'])(_0x5e4010,{'isHorizontal':_0x5a5079,'textRect':_0x526658,'verticalAlign':_0x4e2005==null?void 0x0:_0x4e2005['va'],'horizontalAlign':_0x4e2005==null?void 0x0:_0x4e2005['ha'],'wrapStrategy':(0x0,_0x56d51f[_0x2a856d(0x451)])(_0x5d02c9)}),_0x3c9757=new _0x47c402['DocumentDataModel'](_0x22232a),_0x1e58c9=new _0x54839f[(_0x2a856d(0x3de))](_0x3c9757),_0x32840a=_0x54839f[_0x2a856d(0x1fc)][_0x2a856d(0x46d)](_0x1e58c9,this['_localeService']);try{var _0x53e9fc,_0x15712b;_0x32840a[_0x2a856d(0x272)]();let _0x5e9a38=((_0x53e9fc=_0x32840a[_0x2a856d(0x410)]())==null?void 0x0:_0x53e9fc['pages'])??[],_0x455f8e=_0x5e9a38[_0x5e9a38[_0x2a856d(0x2b4)]-0x1],_0x3c7857=_0x455f8e?Math['max'](0x0,((_0x15712b=(0x0,_0x54839f[_0x2a856d(0x2b5)])(_0x455f8e))==null?void 0x0:_0x15712b[_0x2a856d(0x44f)])??0x0):0x0,_0x4fe5ba=_0x32840a[_0x2a856d(0x1ba)]()['actualHeight']+_0x3c7857-(_0x5a5079?_0x526658[_0x2a856d(0x1e3)]:_0x526658[_0x2a856d(0x19f)]);return Number[_0x2a856d(0x401)](_0x4fe5ba)?_0x5a5079?{'width':_0x4e468a,'height':Math['max'](0x1,_0x27a517+_0x4fe5ba)}:{'width':Math[_0x2a856d(0x326)](0x1,_0x4e468a+_0x4fe5ba),'height':_0x27a517}:null;}finally{_0x32840a['dispose'](),_0x1e58c9[_0x2a856d(0x18c)](),_0x3c9757['dispose']();}}};_0x458493=_0x1cbdb5([_0x15d88a(0x0,(0x0,_0x47c402[_0x7db477(0x261)])(_0x284855[_0x7db477(0x2ac)])),_0x15d88a(0x1,(0x0,_0x47c402['Inject'])(_0x47c402['LocaleService']))],_0x458493);let _0x550cac=class extends _0x47c402[_0x7db477(0x26d)]{constructor(_0xdcb5ca=_0x1bd49e,_0x3e3654,_0x2f67cb,_0x25f7c0,_0x415e29){const _0x1867fd=_0x7db477;super(),this[_0x1867fd(0x33d)]=_0xdcb5ca,this['_injector']=_0x3e3654,this[_0x1867fd(0x248)]=_0x2f67cb,this[_0x1867fd(0x127)]=_0x25f7c0,this[_0x1867fd(0x2f9)]=_0x415e29;let {menu:_0x4870b8,..._0x4f3661}=(0x0,_0x47c402['merge'])({},_0x1bd49e,this[_0x1867fd(0x33d)]);_0x4870b8&&this[_0x1867fd(0x127)]['setConfig'](_0x1867fd(0x16a),_0x4870b8,{'merge':!0x0}),this['_configService'][_0x1867fd(0x147)](_0x3c8ab9,_0x4f3661),this[_0x1867fd(0x12e)]();}['onStarting'](){const _0x2ab351=_0x7db477;(0x0,_0x47c402['registerDependencies'])(this[_0x2ab351(0x3a5)],this['_getDependencies']()),this[_0x2ab351(0x3a5)]['get'](_0x5ba519),this['_initUIPart']();}[_0x7db477(0x2ec)](){return[[_0x5ba519],[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x3e66ac],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]];}['onReady'](){const _0x1339a9=_0x7db477;this[_0x1339a9(0x25f)]()[_0x1339a9(0x2dd)](_0x4fa06c=>{const _0x3c31a5=_0x1339a9;this[_0x3c31a5(0x2b0)](this['_renderManagerService']['registerRenderModule'](_0x47c402['UniverInstanceType']['UNIVER_DOC'],_0x4fa06c));}),(0x0,_0x47c402[_0x1339a9(0x30c)])(this[_0x1339a9(0x3a5)],[[_0xc0e7ef],[_0x368f6a],[_0x5b7161],[_0x2cac68],[_0x1471d7],[_0xab8686],[_0x458493],[_0x43257f],[_0x31410c]]);}[_0x7db477(0x25f)](){return[[_0x3e66ac],[_0x5df16b],[_0xac86fa]];}['onRendered'](){const _0x397257=_0x7db477;this[_0x397257(0x2b0)](this[_0x397257(0x2f9)][_0x397257(0x19b)](_0x47c402[_0x397257(0x1aa)][_0x397257(0x486)],[_0x1642ea]));}[_0x7db477(0x12e)](){const _0x1c3e90=_0x7db477;[_0x4654b3,_0x87b80e,_0x39980d,_0x3c123e,_0x5bf868,_0x58df16][_0x1c3e90(0x2dd)](_0x2e824e=>this[_0x1c3e90(0x2b0)](this[_0x1c3e90(0x248)][_0x1c3e90(0x156)](_0x2e824e)));}[_0x7db477(0x2e6)](){const _0x29970c=_0x7db477;let _0x54d74b=this[_0x29970c(0x3a5)],_0x33000e=_0x54d74b[_0x29970c(0x45e)](_0x86086d[_0x29970c(0x1a7)]);this[_0x29970c(0x2b0)](_0x33000e['registerComponent'](_0x86086d['BuiltInUIPart']['CONTENT'],()=>(0x0,_0x86086d[_0x29970c(0x288)])(_0x1e8cf0,_0x54d74b)));}};_0x38c0c9(_0x550cac,_0x7db477(0x139),_0x47c402[_0x7db477(0x1aa)]['UNIVER_DOC']),_0x38c0c9(_0x550cac,_0x7db477(0x40c),_0x7db477(0x2e9)),_0x38c0c9(_0x550cac,_0x7db477(0x219),_0x45c6c8),_0x38c0c9(_0x550cac,_0x7db477(0x39b),_0x279654),_0x550cac=_0x1cbdb5([(0x0,_0x47c402[_0x7db477(0x3ba)])(_0x2a35ca[_0x7db477(0x443)],_0x18b339['UniverDocsPlugin'],_0x4152b2[_0x7db477(0x1b8)],_0x459a9e[_0x7db477(0x254)],_0x54839f['UniverRenderEnginePlugin'],_0x130604[_0x7db477(0x293)],_0x48b72a['UniverShapeEditorPlugin'],_0x1d2176[_0x7db477(0x2f0)],_0x284855['UniverDocsShapePlugin'],_0x56d51f[_0x7db477(0x12c)]),_0x15d88a(0x1,(0x0,_0x47c402[_0x7db477(0x261)])(_0x47c402['Injector'])),_0x15d88a(0x2,_0x47c402[_0x7db477(0x250)]),_0x15d88a(0x3,_0x47c402[_0x7db477(0x3a6)]),_0x15d88a(0x4,_0x54839f[_0x7db477(0x173)])],_0x550cac),_0x47b7a8[_0x7db477(0x46f)]=_0x317aa8,Object['defineProperty'](_0x47b7a8,_0x7db477(0x2f1),{'enumerable':!0x0,'get':function(){return _0x35c733;}}),Object[_0x7db477(0x1c8)](_0x47b7a8,_0x7db477(0x121),{'enumerable':!0x0,'get':function(){return _0x550cac;}});}));
|
|
1
|
+
function _0x249c(_0x345bee,_0x56a769){_0x345bee=_0x345bee-0x172;const _0x527654=_0x5276();let _0x249c92=_0x527654[_0x345bee];return _0x249c92;}function _0x5276(){const _0x2f95e5=['hasAttribute','drawing-ui.objectListPanel.filterAll','UnitObject','getVisible','_componentManager','cancelEditing','strokeOpacity','docs-shape-ui.textWrap.inline','doc.operation.open-doc-shape-format-panel','_popupMenuListener','featurePluginUpdateNotification','UniverDocsShapeMobileUIPlugin','@univerjs-pro/docs-shape','beginInteraction','shouldClipShapeTextDocument','LAYOUT','length','TRUE','toPrimitive','_getActiveDrawingParam','getEditing','string','subUnitId','defIds','merge','IContextService','shape-editor-ui.arrange.forward','ShapeRenderModeEnum','_insertShapes','IConfigService','Vector2','_loadAndSetImage','univer-grid\x20univer-gap-5\x20univer-p-3','isRichText','engine','getLastLine','MobileDocDrawingPosition','icon','isolated','docs-shape-ui.ribbon.shape-format.arrange-front','SetDocumentPermissionCommand','forwardRef','clearAdjustControls','DocSelectionRenderService','docs-shape-ui.ribbon.shape-format','has','UpdateDocDrawingWrappingStyleCommand','getAdjustInfoByName','endArrow','CROSSHAIR','isFinite','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','CommandType','doc.shape.text.float-menu','_updateSrcRectByTransform','left','ShapeFloatingToolbarService','fillImageSourceType','drawing-ui.objectListPanel.expand','IconManager','UpdateDrawingDocTransformCommand','packageName','localeService','pages','registerClipDelegate','getBody','useDependency','FromArray','onDblclick$','GROUP','getSelfOrHeaderFooterModel','BEHIND_TEXT','pick','BooleanNumber','UniverLicensePlugin','shape-text-','prototype','updateDocumentDataMargin','register','SHAPE_TEXT','UniverDrawing','FormatPainterSessionService','_imageIoService','applyPoint','rxjs','ShapeArrowSizeEnum','doc.shape.edit.panel','refreshShapeFillImage','_ribbonService','adjHandleStroke','text-wrap-shape-icon','complete','DocParagraphMenuService','_drawShapeText','oKey','_baseShapeHeight','@univerjs/ui','_registerComponents','canDispose','srcRect','DocumentSkeleton','isInGroup','docs-shape-ui.textWrap.square','mergeMenu','clipTop','_registerPickers','UniverDocs','useFormulaShapeToolbar','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','splice','next','@univerjs/docs-drawing','_initEvents','_context','getRenderUnitById','PictureFill','classType','drawing-ui.objectListPanel.moveForward','ShapeTextAutoFitType','_localeService','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','drawing','1.0.3','assign','_sidebarDisposable','formulaPresentation','docs-shape-ui.deleteShape','subtle','contentHeight','useState','sectionFloating','insertGroupObject','CONTENT','headerId','set','render','non-scaling-stroke','_refreshShapeData','getMatrix','MobileShapeEditorControls','useImperativeHandle','INSERT_BELLOW_MENU_ID','path','hideInfoPopup','PRINTING_COMPONENT_COLLECT','_initEditingParams','_shapeEditPanelVersion','clearActiveDrawingObjects','clipByShape','applyQuickStyleToShapeData','vertical-center','currentColor','attrs','_adjHandlerPointerMove','isRender','drawing-ui.objectListPanel.sectionCanvas','flipX','extraProps','MobileMenu','min','fill','getDocumentEntityParentPermissionObjectIds','getUnit','isRenderLinePointsMode','DOCS_SHAPE_UI_PLUGIN','behindDoc','bottom','changeEnd$','_editingParams$','shape-editor-ui.arrange.backward','UniverProShapeEditorUi','get','_getFocusedShapeAtPoint','_transform','updateDocumentStyle','clip','_isStartAdjusting','drawFormulaShapeAnimationLayers','symbol','offsetY','displayName','_drawRichText','UniverInstanceType','addObject','getFocusedUnit','ShapeStyleRibbonControl','0.8','setCanUseShapeClip','_instanceService','UniverDocsDrawingUi','ShapeTextHyperLinkPopupService','COMMAND','delete','generateRandomId','resolveShapeContextualRibbonHostMode','useObservable','@univerjs-pro/docs-shape-ui','showContextualTab','fillImageSource','PARAGRAPH','invert','data','_updateAdjustControlPositions','WRAP_SQUARE','ICommandService','syncExecuteCommand','UpdateDocShapeDataCommand','Shape','drawing-ui.objectListPanel.empty','activeTarget','_initialize','shape-editor-ui.toolbar.quickStyles','_addShapeAdjustControl','drawing-ui.objectListPanel.unlockAll','DocsShapeWrapInFrontOfTextIcon','drawing-ui.objectListPanel.lockAll','getShapeModel','TopmostIcon','_registerIcons','getImageSourceCache','params','_toVisualAdjustPoint','_getDisposePopups','prepareShapeTextDocumentData','ShapeDefaultConfig','height','plainShapeTextToDocumentData','_docLayoutInteractionService','attachTransformerTo','@univerjs/core','update$','element','useLayoutEffect','createInternalEditorID','_drawingType','VIEW_MAIN','stroke-width','MobileObjectListPanel','setConfig','resolveShapeTextHyperLinkAt','MobileShapePickerPanel','dispose','ShapeTextFloatMenuRenderControllerBase','_formulaShapes','isEditing','React','UUID','decorate','DocumentViewModel','ContextMenuGroup','skeFooters','_props','children','DocsShapeWrapInlineIcon','_getSceneByUnitId','4jEjkvP','flipY','INLINE','getDrawingByParam','paragraphs','_applyFormulaAutoFitSize','getSelectedObjectMap','resetCursor','ShapeLineTypeEnum','resolveActiveShapeQuickStylePresetId','DocRenderController','_sidebarService','canEditDocumentTargets','IDocDrawingService','strokeWidth','setContextValue','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','TextWrappingStyle','indexOf','warn','@univerjs/engine-render','drawingType','name','top-bottom','footerId','DependentOn','_clearShapeAdjustControls','jsxs','_visible','paragraphId','univerjs-icon\x20univerjs-icon-','add$','SolidFill','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','0\x200\x2016\x2016','push','drawing-ui.objectListPanel.filterHidden','getDocumentEntityPermissionObjectId','docs-shape-ui.insertShape','Line','getShapeTextRect','_baseShapeTop','originalStrokeWidth','changeStart$','getContextValue','version','doc.operation.open-shape-object-list-panel','attachPopupToObject','RIBBON','pluginName','resolveShapeTextBodyBehavior','_formulaAnimation','getInterceptPoints','observe','Path','@univerjs/docs-drawing-ui','ShapeFillEnum','RENDER_CLASS_TYPE','setOnSavingEditorData','segmentId','enableObjectsEvent','endOffset','drawing-ui.objectListPanel.search','enhanceParams','DocCanvasPopManagerService','getSkeletonData','backward','getMenuHiddenObservable','_createShapeAdjustControls','doc.shape.floating-toolbar','_initMenu','1137415UuIoTG','getParagraphContentStartOffset','_setTransForm','querySelectorAll','fillType','setCollapsedIds','IUniverInstanceService','drawing-ui.objectListPanel.descriptionPlaceholder','viewBox','doc.image-clip.shape-picker.component','topmost-icon','DocsShapeWrapSquareIcon','_updateShape','behind','drawing-ui.objectListPanel.dragToReorder','iterator','toFixed','div','_shapeFloatingToolbarService','drawing-ui.objectListPanel.close','react/jsx-runtime','rect','unsubscribe','onload','renderDrawingShape','DrawingCommonPanel','getPageDrawingIds','span','UNIVER_DOC','addImageSourceCache','docs-shape-ui.openPanel','formulaBinding','description','Plugin','more-down-icon','isDrawingObject','below','docs-shape-ui.ribbon.shape-format.formula-control','DocsShapeWrapBehindTextIcon','some','drawing-ui.objectListPanel.sectionFloating','_hyperLinkRegions','ArrangeTypeEnum','SELECTOR','docs-shape-ui.config','UniverDocsMobileUIPlugin','colorChannel1','UNIVER_SHEET','DRAWING_SHAPE','flatMap','drawing-ui.objectListPanel.collapse','UniverDrawingPlugin','LEFT','URL','_shapeTextEditingService','_registerDrawingTransformHandler','createShapeTextBoxShapeData','getDrawingData','_getRenderModules','multiply','_clipService','changing$','object-layers-icon','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','actions','_getDependencies','completeEditing','636670nuTGCs','resize','setAdjustValueByName','1.2','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','label','setCursor','behindText','docs-shape-ui.textWrap.topAndBottom','onTransformChange$','Inject','3250120jqCDCG','updateShapeFillImage','subscribe','drawingId','true','color','doc.shape.picker.component','parseFloat','setEditing','UniverEngineRender','extensionGroups','prstGeom','UniverProDocsShapeUi','getValue','UniverDocsPlugin','UpdateDocShapeDataMutation','FOCUSING_COMMON_DRAWINGS','_getShapeInfo','20MXDnRF','docs-shape-ui.ribbon.shape-format.arrange-back','clip-','RibbonInsertGroup','_adjName','getTextModel','width','Fragment','_contextService','defineProperty','createControl$','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','shape-format-setting-icon','editingParams$','TOP','doc','SetDocDrawingArrangeCommand','docs-shape-ui.ribbon.shape-format.text-control','_endLayoutInteraction','SHAPE_EDITOR_TRANSFORMER_CONFIG','connectInjector','_config','docs-shape-ui.mobile.delete','UniverProLicense','getActiveViewportByCoord','shape-editor-ui.arrange.back','CURSOR_TYPE','BehaviorSubject','DEFAULT_DOC_SHAPE_WIDTH','OPERATION','getShapeQuickStyleType','1em','onReady','hidden','docs-shape-ui.ribbon.shape-format.arrange-forward','VIEWPORT_KEY','_isShouldShowDrawingShapeAdjust','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','_mobileEditorService','0\x200\x2017\x2016','_getShapeAdjustPointListById','Transform','idSuffix','jsx','setSrcRect','.below','image','getDrawingShapeKeyByDrawingSearch','_transformCalculateSrcRect','@univerjs/docs','_releaseRenderCache','createShapeFormulaDocument','disconnect','pipe','DocDrawingPosition','getShapeTypeById','clone','DocsShapeTextEditorContainer','@univerjs/docs-ui','getSnapshot','getDocumentPermissionValue','getObjectIncludeInGroup','getPresentation','MobileActionRow','getDrawingOrder','setPresentation','_docDrawingShapeRenderController','registerShapeFormatPainter','refreshFormulaPresentation','@univerjs/design','UniverProEngineShape','getUnitType','@univerjs-pro/shape-editor-ui','_shapeFormulaService','_clearPopups','shapeText','_lastEditingShapeKey','priority','_getActiveDrawingShape','paragraph','Arrow','current','_formulaKey','onRendered','drawing-ui.objectListPanel.description','defs','_isOpenedShapeEditPanel','clear','xlink:href','docs-shape-ui.ribbon.shape-format.wrapping-style','layoutType','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.textWrap.inFrontText','top','ShapeTextRibbonControl','M4.2\x205.5H10.5','none','_univerInstanceService','IRenderManagerService','869238NmXWah','RichTextEditingMutation','OBJECT_LIST_FLOATING_SECTION_ID','drawWith','@univerjs-pro/license','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','DocEventManagerService','drawing-ui.objectListPanel.showAll','UniverDocsUi','IMenuManagerService','style','_docsShapeService','filter','docs-shape-ui.quickStyles','@univerjs/drawing-ui','5.5','UniverShapeEditorPlugin','add','_docPrintInterceptorService','_adjHandlerPointerUp','DocSelectionManagerService','_getShapePopup','0\x200\x2020\x2020','adjHandleSize','_registerOperations','_activeAdjustInfo','docs-shape-text-','beginPath','transform','with','clipHeight','getScene','restore','disableObjectsEvent','_shapeRenderController','ShapeFormatSettingIcon','getAutoFitPresentations','size','MenuManagerPosition','SHAPE','entries','canvas','RemoveDocDrawingCommand','reverse','_adjustPointObjects','_initUIPart','setPrstGeom','174cffEet','unregister','appliedStrokeWidth','getFocusDrawings','IN_FRONT_OF_TEXT','docs-shape-ui.shape-format.formula-ribbon-control','ObjectLayersIcon','evenodd','_clearCompletionFrame','removeProperty','type','http://www.w3.org/2000/svg','front','DOC_PARAGRAPH_T_INSERT_MENU_ID','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','_registerFloatingToolbar','onCommandExecuted','custom','1sIimJC','stopPropagation','shapeType','permissionPointUpdate$','sin','ShapeGroupEnum','_drawingManagerService','scene','getActiveTextRange','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','getCanvasElement','drawing-ui.objectListPanel.details','PaintIcon','_attachAdjustEvent','contentVerticalOffset','drawing-ui.objectListPanel.name','isConnectorShape','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','create','focus$','getObjectListPanelSectionIdForDrawingType','visible','_handleCreateControl','offsetX','2400739fBsOIM','max','SpAutoFit','resolveShapeTextDocumentPageHeight','_docCanvasPopManagerService','getActualSize','_update','includes','_canEdit','useId','replace','values','horizontal','_iconManager','getAdjustValueByName','ShapeFormulaService','UniverRenderEnginePlugin','vectorEffect','save','M2\x203h16M2\x2017h16','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','_toScenePoint','getState','docs-shape-ui.mobile.style','ShapePickerDropdown','wrapStrategy','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','LocaleService','hideContextualTab','removeAttribute','fallbackHeight','dataModel','title','fontSize','isLineShape','DocLayoutInteractionService','onPointerUp$','text','shapeId','calcAdjValues','getParent','normalizeShapeTextModel','panel','-layout','round','UniverDocsShapeUIPlugin','setProperty','parent','error','transformByState','find','OTHERS','distinctUntilChanged','ShapeTypeEnum','url(#$1','focusDrawing','draw','ShapeQuickStyleGallery','forward','tag','getShapeDataById','DocsShapeService','getShapeType','getInverseCoord','docs-shape-ui.shape-format.style-ribbon-control','MobileDocDrawingTextWrap','asObservable','DRAWING_IMAGE','DOCS_COMPONENT_MAIN_LAYER_INDEX','isReleased','cos','resolveShapeTextEditorWrapStrategy','UniverProShapeEditor','BottomIcon','skeHeaders','UniverDrawingUi','getDrawingSearch','componentKey','setFallbackVisible','M4.64645\x209.85355C4.45118\x209.65829\x204.45118\x209.34171\x204.64645\x209.14645L7.64645\x206.14645C7.84171\x205.95118\x208.15829\x205.95118\x208.35355\x206.14645L11.3536\x209.14645C11.5488\x209.34171\x2011.5488\x209.65829\x2011.3536\x209.85355C11.1583\x2010.0488\x2010.8417\x2010.0488\x2010.6464\x209.85355L8\x207.20711L5.35355\x209.85355C5.15829\x2010.0488\x204.84171\x2010.0488\x204.64645\x209.85355Z','transformVector2SceneCoord','adjName','_activeShapeModel','_activeShapeAdjustPointList','WRAP_NONE','Circle','forEach','IRibbonService','_updateShapeAdjustControls','vertical','UniverProtocol','getPropertyValue','DisposableCollection','MoveUpIcon','getShapeData','close','_urlImageService','IDrawingManagerService','drawings','_canEditShape','ObjectPermissionButton','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','DOC_CONTENT_INSERT_MENU_ID','spaceBelowApply','inline','getRealBound','visible$','getCurrentUnitOfType','9HnUcOH','UniverDrawingMobileUIPlugin','calculate','Rect','remove$','EMPTY_PARAGRAPH_MENU_ID','getOwnPropertyDescriptor','getPropertyPriority','subscribeEvent','_closeShapeEditPanel','docs-shape-ui.textWrap.behindText','exports','memo','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','svg','doc.operation.apply-shape-quick-style','PositionedObjectLayoutType','cells','presentationChanged$','useMemo','registerRenderModule','_menuManagerService','_permissionService','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','setFillImage','_baseShapeLeft','useRef','docs-shape-contextual-ribbon','_registerObjectListPanel','DocShapeAnchorPosition','actualHeight','getDrawingDataForUnit','IUIPartsService','createShapeTextHyperLinkRegions','isHitLine','getCurrentTypeOfUnit$','getDocumentDrawingSegmentId','_loadShapePictureFill','square','DocumentDataModel','ShapeArrowTypeEnum','translateWithPrecision','drawing-ui.objectListPanel.moveBackward','moveRange','drawing-ui.objectListPanel.locate','0.14','keys','_drawSimpleText','docs-shape-ui.mobile.text','docs-shape-ui.objectListPanel.open','DrawingTypeEnum','getShapePopupMenus','Injector','executeCommand','drawing-ui.objectListPanel.hideAll','_activeShapeInfo','ImageSourceTypeEnum','@univerjs-pro/engine-shape','interceptor','isMainScene','drawing-ui.objectListPanel.typeNames.','doc.operation.close-doc-shape-format-panel','angle','getDrawingEditable','doc-shape-adjust-point-','_baseShapeWidth','@univerjs/protocol','getDrawingEffectBounds','drawing-ui.objectListPanel.filterLocked','_measure','MoveDownIcon','clearControl$','sheet.image-clip.shape-picker.component','drawing-ui.objectListPanel.unlockHint','debounceRefreshControls','MenuItemType','disableShapeOption','_initSelection','resolveShapeTextEditorBehaviorShapeData','isHit','_initPrinting','UniverDocsShapePlugin','makeDirty','getDrawingPoints','_renderManagerService','getAllRenderersOfType','docs-shape-ui.crop.shape','docs-shape-ui.objectListPanel.title','unitId','ShapePickerPanel','presentation','constructor','M4.2\x208.3H6.8','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','activateDrawingObject','toDisposable','canvasElement','shapeData','target','animationEnabled','ShapeEditPanel','resolveHyperLinkAt','_commandService','pageWidth','setDocsCustomBlockRenderViewportProvider','_activeShapeId','Observable','_getShapeAdjustInfosById','_configService','cloneShapeDataForType','_popupTargetKeys','currentAdjustValues','marginTop','map','SHAPE_CHANGE_PICKER_COMPONENT','shape-editor-ui.toolbar.changeShape','ContextMenuPosition','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','ancestorTransform','disposeWithMe','_registerDrawingFocusChangeHandler','preValue','docs-shape-ui.shape-format.quick-style-gallery','DEFAULT_DOC_SHAPE_HEIGHT','_injector','clearAdjustValue','trim','_layoutInteraction','createElement','setShapeProps','selectable','shape-editor-ui.arrange.front','InsertDocShapeCommand','composeMatrix','IImageIoService','getTransformerByCreate','order','paragraphMenuPlacement','IPermissionService','DRAWING_DOM','drawing-ui.objectListPanel.unlock','DocsShapeUIMenuSchema','_renderWithCache','_shapeId','@univerjs-pro/shape-editor','FloatingObjectToolbarPosition','MoreDownIcon','getShapeTextData','_hide','bindRenderTransformerLifecycle','context-bar','HorizontalAlign','UpdateDocDrawingMetadataCommand','FormulaShapeAnimationController','BUTTON','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','open','_openShapeEditPanel','ComponentManager','ShapeIcon','src','useEffect','reduce','resolveShapeTextHyperLinkObject','_draw','shouldAllowShapeTextEditorHostSizeShrink','fontFamily','shapeModel','registerComponent','stroke','DocInterceptorService','WRAP_TOP_AND_BOTTOM','DocsShapeWrapTopBottomIcon','_init','hadStyleAttribute','116011qxZcUM','_completionFrame','docs-shape-ui.ribbon.shape-format.arrange-backward','updateContext','#3B82F6','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','UnitAction','UniverShapeEditorMobileUIPlugin','_onSavingEditorData$','startOffset','function','UniverProDocsShape','22522968PMxoho','back','objects','docs-shape-ui.formatShape','startArrow','#2563EB','getUnitId','getDrawingOKey','setFormulaPresentation','_disposePopupsByUnit','_initCommands','touchDependencies','UniverDocsDrawing','Module','FOCUSING_SHAPE_TEXT_EDITOR','object','docs-shape-ui.hidePanel','ObjectListPanelBase','popup','value','@univerjs/drawing','mask','UniverIcon','move-up-icon','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','ShapeModel','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','startIndex','_drawRichTextLayer','_unitId','_subUnitId','OFFSET','Disposable','resolveFormulaShapeAutoFitSize'];_0x5276=function(){return _0x2f95e5;};return _0x5276();}(function(_0x3a552f,_0x3e13a0){const _0x36da81=_0x249c,_0x488888=_0x3a552f();while(!![]){try{const _0x1a2c52=-parseInt(_0x36da81(0x24b))/0x1*(parseInt(_0x36da81(0x18a))/0x2)+parseInt(_0x36da81(0x20a))/0x3+parseInt(_0x36da81(0x4ab))/0x4*(-parseInt(_0x36da81(0x4f2))/0x5)+-parseInt(_0x36da81(0x239))/0x6*(parseInt(_0x36da81(0x37e))/0x7)+parseInt(_0x36da81(0x195))/0x8*(-parseInt(_0x36da81(0x2cf))/0x9)+parseInt(_0x36da81(0x1a7))/0xa*(-parseInt(_0x36da81(0x263))/0xb)+parseInt(_0x36da81(0x38a))/0xc;if(_0x1a2c52===_0x3e13a0)break;else _0x488888['push'](_0x488888['shift']());}catch(_0x1176f9){_0x488888['push'](_0x488888['shift']());}}}(_0x5276,0x489f6),function(_0x413ef0,_0x326bb2){const _0xbc84d7=_0x249c;typeof exports==_0xbc84d7(0x399)&&typeof module<'u'?_0x326bb2(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'),require('@univerjs/design'),require('@univerjs/protocol')):typeof define==_0xbc84d7(0x388)&&define['amd']?define([_0xbc84d7(0x2da),_0xbc84d7(0x1ef),_0xbc84d7(0x1e1),_0xbc84d7(0x40c),_0xbc84d7(0x3b8),_0xbc84d7(0x308),_0xbc84d7(0x35f),_0xbc84d7(0x491),_0xbc84d7(0x1d8),_0xbc84d7(0x41b),_0xbc84d7(0x4bf),_0xbc84d7(0x39e),_0xbc84d7(0x218),_0xbc84d7(0x506),_0xbc84d7(0x400),_0xbc84d7(0x20e),_0xbc84d7(0x4e2),'react',_0xbc84d7(0x1ec),_0xbc84d7(0x311)],_0x326bb2):(_0x413ef0=typeof globalThis<'u'?globalThis:_0x413ef0||self,_0x326bb2(_0x413ef0[_0xbc84d7(0x1a1)]={},_0x413ef0[_0xbc84d7(0x456)],_0x413ef0[_0xbc84d7(0x212)],_0x413ef0['UniverUi'],_0x413ef0[_0xbc84d7(0x389)],_0x413ef0[_0xbc84d7(0x1ed)],_0x413ef0[_0xbc84d7(0x2ab)],_0x413ef0['UniverCore'],_0x413ef0[_0xbc84d7(0x416)],_0x413ef0[_0xbc84d7(0x396)],_0x413ef0[_0xbc84d7(0x19e)],_0x413ef0[_0xbc84d7(0x3fc)],_0x413ef0[_0xbc84d7(0x2ae)],_0x413ef0[_0xbc84d7(0x4a1)],_0x413ef0[_0xbc84d7(0x400)],_0x413ef0[_0xbc84d7(0x1be)],_0x413ef0[_0xbc84d7(0x469)],_0x413ef0['React'],_0x413ef0['UniverDesign'],_0x413ef0[_0xbc84d7(0x2bd)]));}(this,function(_0x50fdf7,_0x1e943b,_0x43e864,_0x5d0d3c,_0x4593cd,_0x2d76dd,_0x35f25f,_0x27c7af,_0x374e66,_0x156531,_0x48e4a9,_0x2ead9f,_0x535004,_0x422a0d,_0x2b0fcd,_0x41055d,_0x2c87d2,_0xfdbdbb,_0x16f5fd,_0x221952){const _0x7105ae=_0x249c;Object['defineProperty'](_0x50fdf7,Symbol['toStringTag'],{'value':_0x7105ae(0x397)});function _0x5de44d(_0x26754f,_0xe4f955){const _0x2a9956=_0x7105ae;if(_0xe4f955){if((0x0,_0x2d76dd['isConnectorShape'])(_0x26754f)&&(_0xe4f955['startArrow']||_0xe4f955[_0x2a9956(0x3dc)]))return{'ln':{'startArrow':_0xe4f955[_0x2a9956(0x38e)]?{'type':_0x2d76dd[_0x2a9956(0x2f7)][_0x2a9956(0x1f7)],'size':_0x2d76dd[_0x2a9956(0x401)]['Medium']}:void 0x0,'endArrow':_0xe4f955[_0x2a9956(0x3dc)]?{'type':_0x2d76dd[_0x2a9956(0x2f7)][_0x2a9956(0x1f7)],'size':_0x2d76dd['ShapeArrowSizeEnum']['Large']}:void 0x0}};if(_0x26754f===_0x2d76dd[_0x2a9956(0x298)][_0x2a9956(0x2d2)]&&(_0xe4f955[_0x2a9956(0x26f)]||_0xe4f955[_0x2a9956(0x2bc)]))return(0x0,_0x35f25f[_0x2a9956(0x17f)])({'fill':{'fillType':_0x2d76dd[_0x2a9956(0x4e3)][_0x2a9956(0x4cb)],'color':_0x2a9956(0x382)},'isHorizontal':!!_0xe4f955[_0x2a9956(0x26f)],'stroke':{'lineStrokeType':_0x2d76dd[_0x2a9956(0x4b3)]['SolidLine'],'width':0x1,'color':_0x2a9956(0x38f)}});}}function _0x59ea1c(_0x402eba,_0x1e3a97){const _0x52cfdd=_0x7105ae;var _0x20e950;let _0x1d7201=_0x1e3a97[_0x52cfdd(0x4e6)]??'',_0x10429c=(_0x20e950=_0x402eba[_0x52cfdd(0x3f2)](_0x1d7201))==null?void 0x0:_0x20e950[_0x52cfdd(0x3ed)]();if(!_0x10429c)return null;let _0x3f2deb=_0x10429c[_0x52cfdd(0x4af)]??[],_0x25b182=_0x3f2deb[_0x52cfdd(0x295)](_0x1db4d9=>{const _0x16800e=_0x52cfdd;let _0x2e70ec=(0x0,_0x27c7af[_0x16800e(0x4f3)])(_0x10429c,_0x1db4d9);return _0x1e3a97[_0x16800e(0x387)]>=_0x2e70ec&&_0x1e3a97[_0x16800e(0x387)]<=_0x1db4d9[_0x16800e(0x3a5)];})??_0x3f2deb[_0x3f2deb[_0x52cfdd(0x3bc)]-0x1];return _0x25b182?{'paragraphId':_0x25b182[_0x52cfdd(0x4c8)],'segmentId':_0x1d7201,'position':_0x4593cd[_0x52cfdd(0x2ec)][_0x52cfdd(0x3a9)],'offset':_0x1e3a97[_0x52cfdd(0x387)]-(0x0,_0x27c7af[_0x52cfdd(0x4f3)])(_0x10429c,_0x25b182)}:null;}function _0x512291(_0x442fd2,_0x512f7b,_0x19aeb5){const _0x3542f4=_0x7105ae;var _0x47faeb,_0x2642a7;if(!_0x19aeb5)return null;let _0x14cec6=(_0x47faeb=_0x442fd2['get'](_0x48e4a9[_0x3542f4(0x209)])[_0x3542f4(0x41e)](_0x512f7b))==null?void 0x0:_0x47faeb['with'](_0x43e864[_0x3542f4(0x408)])[_0x3542f4(0x47d)];if(!_0x14cec6)return null;let _0x20be3b=_0x19aeb5===_0x3542f4(0x516)?{'startOffset':_0x14cec6[_0x3542f4(0x2fa)][_0x3542f4(0x4e8)],'endOffset':_0x14cec6[_0x3542f4(0x2fa)][_0x3542f4(0x4e8)]}:_0x14cec6['menuRange'];return{'startOffset':_0x20be3b[_0x3542f4(0x387)],'endOffset':_0x20be3b[_0x3542f4(0x4e8)],'collapsed':_0x20be3b[_0x3542f4(0x387)]===_0x20be3b[_0x3542f4(0x4e8)],'segmentId':((_0x2642a7=_0x14cec6[_0x3542f4(0x1f6)])==null?void 0x0:_0x2642a7[_0x3542f4(0x4e6)])??''};}let _0x21db7c={'type':_0x27c7af[_0x7105ae(0x3e0)][_0x7105ae(0x46b)],'id':'doc.command.menu-insert-shape','handler':async(_0x16936b,_0x31eb78)=>{const _0x30a020=_0x7105ae;let _0x36ce1d=_0x16936b[_0x30a020(0x457)](_0x27c7af['IUniverInstanceService'])[_0x30a020(0x2ce)](_0x27c7af['UniverInstanceType'][_0x30a020(0x50e)]);if(!_0x36ce1d)return!0x1;let _0x1e6426=_0x16936b[_0x30a020(0x457)](_0x27c7af[_0x30a020(0x478)]),_0x23075a=_0x36ce1d[_0x30a020(0x390)](),_0x2953b0=_0x31eb78[_0x30a020(0x289)]??(0x0,_0x27c7af[_0x30a020(0x46d)])(),_0x12d839=_0x31eb78[_0x30a020(0x1ad)]??_0x4593cd[_0x30a020(0x1c3)],_0x4d95fd=_0x31eb78[_0x30a020(0x48d)]??_0x4593cd[_0x30a020(0x34a)],_0x2f5b60=_0x31eb78[_0x30a020(0x330)]??_0x5de44d(_0x31eb78[_0x30a020(0x39d)],_0x31eb78[_0x30a020(0x4ea)]),_0x3ee14a=_0x512291(_0x16936b,_0x23075a,_0x31eb78[_0x30a020(0x358)])??_0x16936b[_0x30a020(0x457)](_0x374e66[_0x30a020(0x21e)])[_0x30a020(0x253)]();if(!_0x3ee14a)return!0x1;let _0x2ec6c8=_0x59ea1c(_0x36ce1d,_0x3ee14a);return _0x2ec6c8?!!_0x1e6426[_0x30a020(0x479)](_0x4593cd[_0x30a020(0x353)]['id'],{'unitId':_0x23075a,'shapeId':_0x2953b0,'shapeType':_0x31eb78['value'],'shapeData':_0x2f5b60,'transform':{'width':_0x12d839,'height':_0x4d95fd},'placement':{'wrappingStyle':_0x156531[_0x30a020(0x4bc)][_0x30a020(0x4ad)],'anchor':_0x2ec6c8}}):!0x1;}},_0x1cfbc7=_0x7105ae(0x402),_0x3a45b1=_0x7105ae(0x3d8),_0x3ad19e='doc.shape.object-list.panel',_0x4252da=(0x0,_0x27c7af[_0x7105ae(0x495)])(_0x7105ae(0x3fb)),_0xf2e4c6=_0x7105ae(0x3e1),_0x47775f=_0x7105ae(0x1e0),_0x1a103f={'id':_0x7105ae(0x4d9),'type':_0x27c7af[_0x7105ae(0x3e0)][_0x7105ae(0x46b)],'handler':(_0x5f35e7,_0x5f5d0d)=>{const _0x28ef40=_0x7105ae;let _0x5372dd=_0x5f35e7[_0x28ef40(0x457)](_0x5d0d3c['ISidebarService']),_0x1456ea=_0x5f35e7[_0x28ef40(0x457)](_0x27c7af['LocaleService']),_0x5f049b=_0x5f35e7['get'](_0x2ead9f[_0x28ef40(0x2c4)]);return(_0x5f5d0d==null?void 0x0:_0x5f5d0d[_0x28ef40(0x39d)])===_0x28ef40(0x2c2)?(_0x5372dd[_0x28ef40(0x2c2)](_0x3ad19e),!0x0):(_0x5372dd[_0x28ef40(0x36b)]({'id':_0x3ad19e,'header':{'title':_0x1456ea['t'](_0x28ef40(0x326))},'children':{'label':_0x3ad19e},'onClose':()=>{_0x5f049b['focusDrawing'](null);},'width':0x168}),!0x0);}},_0x7559e5={'type':_0x27c7af[_0x7105ae(0x3e0)]['OPERATION'],'id':_0x7105ae(0x3b4),'handler'(){return!0x0;}};function _0xadd6b0(_0x5a85ed){const _0x2389ca=_0x7105ae;let _0x1508d7=_0x5a85ed[_0x2389ca(0x457)](_0x2ead9f[_0x2389ca(0x2c4)])['getFocusDrawings'](),_0x57a7ce=_0x1508d7[_0x2389ca(0x3bc)]===0x1?_0x1508d7[0x0]:null;if(!_0x57a7ce||_0x57a7ce[_0x2389ca(0x4c0)]!==_0x27c7af['DrawingTypeEnum'][_0x2389ca(0x177)])return null;let _0x5714ad=_0x5a85ed[_0x2389ca(0x457)](_0x4593cd[_0x2389ca(0x2a0)]),_0x53c6ee=_0x5714ad[_0x2389ca(0x1de)](_0x57a7ce['unitId'],_0x57a7ce['subUnitId'],_0x57a7ce[_0x2389ca(0x198)]),_0x3c3a68=_0x5714ad[_0x2389ca(0x29f)](_0x57a7ce[_0x2389ca(0x327)],_0x57a7ce[_0x2389ca(0x3c2)],_0x57a7ce[_0x2389ca(0x198)]);return _0x53c6ee===void 0x0||!_0x3c3a68?null:{'drawing':_0x57a7ce,'shapeData':_0x3c3a68,'shapeType':_0x53c6ee};}let _0x4cfc8b={'id':_0x7105ae(0x2de),'type':_0x27c7af['CommandType'][_0x7105ae(0x1c4)],'handler':(_0xba2845,_0x32c1c3)=>{const _0x5c8cfc=_0x7105ae;let _0x5665c7=_0xadd6b0(_0xba2845),_0x1d529b=(0x0,_0x35f25f['getShapeQuickStylePreset'])((_0x32c1c3==null?void 0x0:_0x32c1c3['presetId'])??(_0x32c1c3==null?void 0x0:_0x32c1c3['value'])??'');if(!_0x5665c7||!_0x1d529b||_0x1d529b[_0x5c8cfc(0x243)]!==(0x0,_0x35f25f[_0x5c8cfc(0x1c5)])(_0x5665c7[_0x5c8cfc(0x330)]))return!0x1;let _0x3d6da1=(0x0,_0x35f25f[_0x5c8cfc(0x441)])(_0x5665c7[_0x5c8cfc(0x330)],_0x1d529b);if(!_0x3d6da1)return!0x1;let {drawing:_0x3ef942}=_0x5665c7;return _0xba2845['get'](_0x27c7af['ICommandService'])[_0x5c8cfc(0x304)](_0x4593cd[_0x5c8cfc(0x47a)]['id'],{'unitId':_0x3ef942['unitId'],'shapeId':_0x3ef942[_0x5c8cfc(0x198)],'shapeData':_0x3d6da1,'oldShapeJSON':{'oldShapeData':_0x5665c7[_0x5c8cfc(0x330)]}});}},_0x2203b2={'id':'doc.operation.update-shape-type','type':_0x27c7af['CommandType'][_0x7105ae(0x1c4)],'handler':(_0x5147ff,_0x5762f2)=>{const _0x214693=_0x7105ae;let _0x479326=_0xadd6b0(_0x5147ff),_0x42a176=(_0x5762f2==null?void 0x0:_0x5762f2[_0x214693(0x24d)])??(_0x5762f2==null?void 0x0:_0x5762f2[_0x214693(0x39d)]);if(!_0x479326||!_0x42a176||(0x0,_0x2d76dd[_0x214693(0x25b)])(_0x479326[_0x214693(0x24d)])||(0x0,_0x2d76dd[_0x214693(0x25b)])(_0x42a176))return!0x1;let _0x26ac55=(0x0,_0x35f25f[_0x214693(0x33c)])(_0x479326['shapeData'],_0x42a176);if(!_0x26ac55)return!0x1;let {drawing:_0x54d2af}=_0x479326;return _0x5147ff[_0x214693(0x457)](_0x27c7af[_0x214693(0x478)])['executeCommand'](_0x4593cd[_0x214693(0x47a)]['id'],{'unitId':_0x54d2af[_0x214693(0x327)],'shapeId':_0x54d2af['drawingId'],'shapeType':_0x42a176,'shapeData':_0x26ac55,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x479326['shapeType'],'oldShapeData':_0x479326['shapeData']}});}};function _0xb8d662(_0x10f2d9,_0x4fe0dd){return function(_0x4dd2a0,_0x803016){_0x4fe0dd(_0x4dd2a0,_0x803016,_0x10f2d9);};}function _0x21f5d0(_0x51f1b5,_0x1450ca,_0x23d69f,_0x21118b){const _0x14ce65=_0x7105ae;var _0x306717=arguments[_0x14ce65(0x3bc)],_0x4deaad=_0x306717<0x3?_0x1450ca:_0x21118b===null?_0x21118b=Object[_0x14ce65(0x2d5)](_0x1450ca,_0x23d69f):_0x21118b,_0x3794a;if(typeof Reflect==_0x14ce65(0x399)&&typeof Reflect[_0x14ce65(0x4a3)]==_0x14ce65(0x388))_0x4deaad=Reflect[_0x14ce65(0x4a3)](_0x51f1b5,_0x1450ca,_0x23d69f,_0x21118b);else{for(var _0x38cd2d=_0x51f1b5[_0x14ce65(0x3bc)]-0x1;_0x38cd2d>=0x0;_0x38cd2d--)(_0x3794a=_0x51f1b5[_0x38cd2d])&&(_0x4deaad=(_0x306717<0x3?_0x3794a(_0x4deaad):_0x306717>0x3?_0x3794a(_0x1450ca,_0x23d69f,_0x4deaad):_0x3794a(_0x1450ca,_0x23d69f))||_0x4deaad);}return _0x306717>0x3&&_0x4deaad&&Object['defineProperty'](_0x1450ca,_0x23d69f,_0x4deaad),_0x4deaad;}let _0x2f0fb0=class extends _0x27c7af['Disposable']{constructor(_0x40824f,_0x7f7fea){const _0xa10ee2=_0x7105ae;super(),this[_0xa10ee2(0x183)]=_0x40824f,this[_0xa10ee2(0x251)]=_0x7f7fea,this['_registerImageShapeClipDelegate'](),this['_clipService']['setCanUseShapeClip'](!0x0),this[_0xa10ee2(0x346)]({'dispose':()=>this[_0xa10ee2(0x183)][_0xa10ee2(0x467)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1d9896=_0x7105ae;let _0x3d5272=new Map(),_0x3ba62d=this['_clipService'][_0x1d9896(0x3ec)]((_0x570c44,_0xe73401,_0x154316,_0x4d7603,_0x185eb3)=>{const _0x3db78e=_0x1d9896;let _0x180b01=_0xe73401;if(_0x180b01===_0x2d76dd[_0x3db78e(0x298)]['None']||_0xe73401===_0x3db78e(0x24a))return!0x1;try{let _0x119817=_0x3d5272[_0x3db78e(0x457)](_0xe73401);return _0x119817||(_0x119817=new _0x2d76dd[(_0x3db78e(0x3a3))](_0x180b01,_0x3db78e(0x1a9)+_0xe73401),_0x3d5272['set'](_0xe73401,_0x119817)),_0x119817[_0x3db78e(0x34c)](),_0x185eb3&&Object[_0x3db78e(0x2fd)](_0x185eb3)[_0x3db78e(0x3bc)]>0x0&&_0x119817['setShapeData']({'adjustValues':_0x185eb3},!0x0),_0x119817['updateContext']({'width':_0x154316,'height':_0x4d7603}),_0x119817['buildClipPath'](_0x570c44,{'left':0x0,'top':0x0,'width':_0x154316,'height':_0x4d7603});}catch{return!0x1;}});this[_0x1d9896(0x346)](_0x3ba62d),this[_0x1d9896(0x346)]({'dispose':()=>_0x3d5272[_0x1d9896(0x1fe)]()});}[_0x7105ae(0x440)](_0x3bc20f,_0x307acc,_0x3af2a1,_0x2631f4,_0xc37c86){const _0x2ccdf8=_0x7105ae;let _0x866059=this[_0x2ccdf8(0x251)][_0x2ccdf8(0x180)](_0x3bc20f,_0x307acc)[_0x3af2a1];_0x866059&&_0x866059['drawingType']===_0x27c7af['DrawingTypeEnum'][_0x2ccdf8(0x2a6)]&&this[_0x2ccdf8(0x251)][_0x2ccdf8(0x3b6)]([{..._0x866059,'prstGeom':_0x2631f4,'adjustValues':_0xc37c86}]);}};_0x2f0fb0=_0x21f5d0([_0xb8d662(0x0,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x535004['DrawingImageClipService'])),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x2ead9f['IDrawingManagerService']))],_0x2f0fb0);let _0x369009=_0x7105ae(0x19b),_0x392e47=_0x7105ae(0x4fb);function _0x319fb8({onShapeClick:_0x521ad1,excludeGroups:_0x1fd422}){const _0x26c67a=_0x7105ae;return(0x0,_0x422a0d[_0x26c67a(0x1d2)])(_0x1e943b[_0x26c67a(0x328)],{'excludeGroups':_0x1fd422,'onShapeClick':_0x521ad1,'scrollContainer':_0x26c67a(0x292)});}function _0x5196e1(){const _0x41df1f=_0x7105ae;let _0x1d9c56=(0x0,_0x5d0d3c[_0x41df1f(0x3ee)])(_0x2ead9f[_0x41df1f(0x2c4)]),_0x43c79c=(0x0,_0x5d0d3c['useDependency'])(_0x2f0fb0);return _0x1a71be=>{const _0x13e279=_0x41df1f;let _0x2aca1a=_0x1d9c56[_0x13e279(0x23c)]()[_0x13e279(0x295)](_0x54af6e=>_0x54af6e[_0x13e279(0x4c0)]===_0x27c7af[_0x13e279(0x301)][_0x13e279(0x2a6)]);_0x2aca1a&&_0x43c79c['clipByShape'](_0x2aca1a['unitId'],_0x2aca1a[_0x13e279(0x3c2)],_0x2aca1a[_0x13e279(0x198)],_0x1a71be['type']);};}function _0x415690(){const _0x5a2943=_0x7105ae;let _0x487d1d=_0x5196e1();return(0x0,_0x422a0d[_0x5a2943(0x1d2)])(_0x1e943b[_0x5a2943(0x27b)],{'buttonLabel':_0x5a2943(0x325),'excludeGroups':[_0x1e943b[_0x5a2943(0x250)]['Line']],'onShapeClick':_0x487d1d});}function _0x10a8cc(){const _0x40a8b3=_0x7105ae;let _0x5530ca=(0x0,_0x5d0d3c['useDependency'])(_0x5d0d3c[_0x40a8b3(0x36d)]),_0x39f386=(0x0,_0x5d0d3c[_0x40a8b3(0x3ee)])(_0x2ead9f[_0x40a8b3(0x2c4)]),_0x36c337=(0x0,_0x5d0d3c['useDependency'])(_0x27c7af[_0x40a8b3(0x4f8)]),_0x3a0986=_0x39f386['getFocusDrawings']()[0x0],_0x907217=_0x3a0986?_0x36c337[_0x40a8b3(0x1ee)](_0x3a0986[_0x40a8b3(0x327)]):void 0x0,_0x503cc8=_0x907217===_0x27c7af[_0x40a8b3(0x462)]['UNIVER_DOC']?_0x392e47:_0x907217===_0x27c7af[_0x40a8b3(0x462)][_0x40a8b3(0x176)]?_0x40a8b3(0x317):void 0x0,_0x1b19cf=_0x503cc8?_0x5530ca[_0x40a8b3(0x457)](_0x503cc8):void 0x0;return _0x1b19cf?(0x0,_0x422a0d[_0x40a8b3(0x1d2)])(_0x1b19cf,{}):null;}function _0x1b09c7({paragraphMenuPlacement:_0x540c7b,PickerComponent:_0x2f802b=_0x319fb8}){const _0x59465e=_0x7105ae;let _0x3195b9=(0x0,_0x5d0d3c[_0x59465e(0x3ee)])(_0x27c7af['ICommandService']);return(0x0,_0x422a0d[_0x59465e(0x1d2)])(_0x2f802b,{'onShapeClick':_0x4ac9a7=>{const _0x62de17=_0x59465e;_0x3195b9['executeCommand'](_0x21db7c['id'],{'paragraphMenuPlacement':_0x540c7b,'value':_0x4ac9a7[_0x62de17(0x243)],'enhanceParams':{'endArrow':_0x4ac9a7['endArrow'],'startArrow':_0x4ac9a7[_0x62de17(0x38e)],'horizontal':_0x4ac9a7[_0x62de17(0x26f)],'vertical':_0x4ac9a7['vertical']}});}});}function _0x31910f(_0x3a9096){const _0x4b3016=_0x7105ae;return _0x22d8c5=>({'id':_0x21db7c['id'],'type':_0x5d0d3c[_0x4b3016(0x31a)][_0x4b3016(0x172)],'selections':[{'label':{'name':_0x369009,'hoverable':!0x1,'selectable':!0x1,'props':_0x3a9096?{'id':_0x21db7c['id'],'paragraphMenuPlacement':_0x3a9096}:{'id':_0x21db7c['id']}}}],'icon':_0x4b3016(0x36e),'title':_0x4b3016(0x4d1),'tooltip':_0x4b3016(0x4d1),'hidden$':(0x0,_0x5d0d3c[_0x4b3016(0x4ee)])(_0x22d8c5,_0x27c7af[_0x4b3016(0x462)][_0x4b3016(0x50e)])});}let _0x1f97d0=_0x31910f(),_0x41804b=_0x31910f(_0x7105ae(0x516)),_0x48ee40=_0x31910f(_0x7105ae(0x331));function _0x56ca98(_0x24428d){const _0x1e964a=_0x7105ae;return{'id':_0x1a103f['id'],'type':_0x5d0d3c['MenuItemType'][_0x1e964a(0x369)],'icon':'ObjectLayersIcon','title':_0x1e964a(0x300),'tooltip':_0x1e964a(0x300),'hidden$':(0x0,_0x5d0d3c[_0x1e964a(0x4ee)])(_0x24428d,_0x27c7af[_0x1e964a(0x462)][_0x1e964a(0x50e)])};}function _0x191420(_0x5288d4,_0x9d798d,_0x32c955,_0x482b12,_0x4cf746,_0x13d1eb){const _0xa063eb=_0x7105ae;let _0x1e2cf5={'unitId':_0x9d798d,'shapeId':_0x482b12,'shapeData':_0x13d1eb,'oldShapeJSON':_0x4cf746};return _0x5288d4[_0xa063eb(0x304)](_0x4593cd['UpdateDocShapeDataCommand']['id'],_0x1e2cf5);}function _0x4f4088(_0x4863cf,_0x47b36c,_0x4af4ee,_0x5cce0d,_0x56d8a2,_0x541a4d){const _0x188bec=_0x7105ae;let _0xfc5a27={'unitId':_0x47b36c,'shapeId':_0x5cce0d,'shapeData':_0x541a4d,'oldShapeJSON':_0x56d8a2};return _0x4863cf[_0x188bec(0x304)](_0x4593cd[_0x188bec(0x47a)]['id'],_0xfc5a27);}let _0x1c5af=_0x7105ae(0x349),_0x4f982c=_0x7105ae(0x2a3),_0x3d9e86='docs-shape-ui.shape-format.text-ribbon-control',_0x51a83f=_0x7105ae(0x23e),_0x547f99='docs-shape-ui.shape-format.wrapping-style-label',_0xb2905f=[{'value':_0x156531[_0x7105ae(0x4bc)][_0x7105ae(0x4ad)],'label':_0x7105ae(0x3b3),'icon':_0x7105ae(0x4a9)},{'value':_0x156531['TextWrappingStyle'][_0x7105ae(0x477)],'label':'docs-shape-ui.textWrap.square','icon':_0x7105ae(0x4fd)},{'value':_0x156531[_0x7105ae(0x4bc)][_0x7105ae(0x37a)],'label':_0x7105ae(0x192),'icon':_0x7105ae(0x37b)},{'value':_0x156531[_0x7105ae(0x4bc)]['BEHIND_TEXT'],'label':_0x7105ae(0x2d9),'icon':_0x7105ae(0x518)},{'value':_0x156531[_0x7105ae(0x4bc)][_0x7105ae(0x23d)],'label':_0x7105ae(0x203),'icon':_0x7105ae(0x482)}];function _0x10ab2c(){const _0x593ae6=_0x7105ae;let _0xcf2935=(0x0,_0x5d0d3c[_0x593ae6(0x3ee)])(_0x27c7af[_0x593ae6(0x478)]),_0x44d7a4=(0x0,_0x5d0d3c['useDependency'])(_0x2ead9f[_0x593ae6(0x2c4)]),_0x4eb0d9=(0x0,_0x5d0d3c[_0x593ae6(0x3ee)])(_0x4593cd['DocsShapeService']),_0x310026=()=>{const _0xc4f146=_0x593ae6;var _0x53ed32;let _0x28ef47=_0x44d7a4[_0xc4f146(0x23c)]();if(_0x28ef47[_0xc4f146(0x3bc)]!==0x1||((_0x53ed32=_0x28ef47[0x0])==null?void 0x0:_0x53ed32['drawingType'])!==_0x27c7af[_0xc4f146(0x301)][_0xc4f146(0x177)])return null;let {unitId:_0x219202,subUnitId:_0x5815d3,drawingId:_0x46aeb4}=_0x28ef47[0x0],_0x2b1a1d=_0x4eb0d9[_0xc4f146(0x1de)](_0x219202,_0x5815d3,_0x46aeb4),_0x74eec5=_0x4eb0d9[_0xc4f146(0x29f)](_0x219202,_0x5815d3,_0x46aeb4);return _0x2b1a1d===void 0x0||!_0x74eec5?null:{'unitId':_0x219202,'subUnitId':_0x5815d3,'drawingId':_0x46aeb4,'shapeType':_0x2b1a1d,'shapeData':_0x74eec5};},_0x29e6a7=(0x0,_0x5d0d3c[_0x593ae6(0x46f)])(()=>new _0x2b0fcd[(_0x593ae6(0x339))](_0x71b7d7=>{const _0x5aece4=_0x593ae6;let _0x169ee5=()=>_0x71b7d7[_0x5aece4(0x41a)](_0x310026()),_0x28964e=_0x44d7a4[_0x5aece4(0x25e)][_0x5aece4(0x197)](_0x169ee5),_0x3e6165=_0xcf2935[_0x5aece4(0x249)](_0x388be7=>{const _0x3e0f5c=_0x5aece4;_0x388be7['id']===_0x4593cd[_0x3e0f5c(0x1a4)]['id']&&_0x169ee5();});return _0x169ee5(),()=>{const _0x5be0b6=_0x5aece4;_0x28964e[_0x5be0b6(0x508)](),_0x3e6165[_0x5be0b6(0x49d)]();};}),_0x310026(),!0x1,[_0xcf2935,_0x4eb0d9,_0x44d7a4]);return{'selection':_0x29e6a7,'updateShapeData':_0x1d0a95=>{const _0x8446c8=_0x593ae6;_0x29e6a7&&_0x191420(_0xcf2935,_0x29e6a7[_0x8446c8(0x327)],_0x29e6a7[_0x8446c8(0x3c2)],_0x29e6a7[_0x8446c8(0x198)],{'oldShapeData':_0x29e6a7[_0x8446c8(0x330)]},_0x1d0a95);}};}function _0x1d0fd1(){const _0x419c5e=_0x7105ae;let {selection:_0x283010,updateShapeData:_0x2511dc}=_0x10ab2c();return _0x283010?(0x0,_0x422a0d['jsx'])(_0x1e943b[_0x419c5e(0x465)],{'shapeData':_0x283010['shapeData'],'shapeType':_0x283010[_0x419c5e(0x24d)],'onUpdateShapeData':_0x2511dc}):null;}function _0x1e0a77(){const _0x166edd=_0x7105ae;let _0x15da81=(0x0,_0x5d0d3c[_0x166edd(0x3ee)])(_0x27c7af[_0x166edd(0x478)]),_0x5d9a41=(0x0,_0x5d0d3c[_0x166edd(0x3ee)])(_0x27c7af[_0x166edd(0x27e)]),{selection:_0x53ee3c}=_0x10ab2c();return _0x53ee3c?(0x0,_0x422a0d[_0x166edd(0x1d2)])(_0x1e943b[_0x166edd(0x29c)],{'type':(0x0,_0x35f25f['getShapeQuickStyleType'])(_0x53ee3c[_0x166edd(0x330)]),'ariaLabel':_0x5d9a41['t'](_0x166edd(0x217)),'activePresetId':(0x0,_0x35f25f[_0x166edd(0x4b4)])(_0x53ee3c[_0x166edd(0x330)]),'onSelect':_0x38bc57=>_0x15da81[_0x166edd(0x304)](_0x4cfc8b['id'],{'presetId':_0x38bc57})}):null;}function _0x33ed11(){const _0xf3e1eb=_0x7105ae;let {selection:_0x60c919,updateShapeData:_0x18c2a7}=_0x10ab2c();return _0x60c919?(0x0,_0x422a0d[_0xf3e1eb(0x1d2)])(_0x1e943b[_0xf3e1eb(0x205)],{'fontFamilyPopupDataComponent':'docs-shape-format-font-family-menu','shapeData':_0x60c919[_0xf3e1eb(0x330)],'onUpdateShapeData':_0x18c2a7}):null;}function _0x583058(){const _0x4034e6=_0x7105ae;var _0x26b7ac;let {selection:_0x3c20a1,updateShapeData:_0x45c30b}=_0x10ab2c(),_0x2d03ea=(0x0,_0x1e943b[_0x4034e6(0x417)])({'hostType':_0x27c7af[_0x4034e6(0x462)][_0x4034e6(0x50e)],'unitId':(_0x3c20a1==null?void 0x0:_0x3c20a1[_0x4034e6(0x327)])??'','subUnitId':(_0x3c20a1==null?void 0x0:_0x3c20a1[_0x4034e6(0x3c2)])??'','shapeId':(_0x3c20a1==null?void 0x0:_0x3c20a1[_0x4034e6(0x198)])??'','shapeData':_0x3c20a1==null?void 0x0:_0x3c20a1[_0x4034e6(0x330)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x4034e6(0x452),'onUpdateBinding':_0x2eb812=>_0x45c30b({'formulaBinding':_0x2eb812})}),_0x30fe43=((_0x26b7ac=_0x2d03ea['extensionGroups'])==null?void 0x0:_0x26b7ac[_0x4034e6(0x178)](_0x575b6e=>_0x575b6e[_0x4034e6(0x187)])[_0x4034e6(0x216)](_0x42b6c9=>_0x42b6c9[_0x4034e6(0x260)]!==!0x1))??[];return _0x3c20a1!=null&&_0x3c20a1[_0x4034e6(0x330)][_0x4034e6(0x511)]?(0x0,_0x422a0d[_0x4034e6(0x1d2)])(_0x1e943b['ShapeFormulaRibbonControl'],{'actions':_0x30fe43,'panel':_0x2d03ea[_0x4034e6(0x28d)]}):null;}function _0xef465c({value:_0x58aeb4}){const _0x2e62e7=_0x7105ae;let _0x102e7d=(0x0,_0x5d0d3c[_0x2e62e7(0x3ee)])(_0x27c7af['LocaleService']),_0x8c2107=_0xb2905f[_0x2e62e7(0x295)](_0x3619f2=>_0x3619f2[_0x2e62e7(0x39d)]===_0x58aeb4)??_0xb2905f[0x0];return _0x8c2107?(0x0,_0x422a0d['jsx'])(_0x2e62e7(0x50d),{'children':_0x102e7d['t'](_0x8c2107[_0x2e62e7(0x18f)])}):null;}let _0x13dc03='docs-shape-ui.ribbon.shape-format.style-control',_0x527035=_0x7105ae(0x1b8),_0x2507b0=_0x7105ae(0x517),_0x5c9cc3=_0x7105ae(0x1c9),_0x8bed5e=_0x7105ae(0x380),_0x16616d=_0x7105ae(0x3d3),_0x350473=_0x7105ae(0x1a8),_0x347822=_0x7105ae(0x200);function _0x165e1d(_0x35747e){const _0x24bc4e=_0x7105ae;let _0x27c3a3=_0x35747e[_0x24bc4e(0x457)](_0x27c7af['ICommandService']),_0x58fb6d=_0x35747e[_0x24bc4e(0x457)](_0x2ead9f['IDrawingManagerService']),_0x2929b5=_0x35747e[_0x24bc4e(0x457)](_0x4593cd[_0x24bc4e(0x2a0)]);return new _0x2b0fcd['Observable'](_0x2de370=>{const _0xd75c97=_0x24bc4e;let _0x7de067=()=>{const _0x560ecc=_0x249c;let _0x306ee3=_0x506e0f(_0x35747e),_0x37b88f=_0x306ee3?_0x2929b5[_0x560ecc(0x29f)](_0x306ee3[_0x560ecc(0x327)],_0x306ee3[_0x560ecc(0x3c2)],_0x306ee3[_0x560ecc(0x198)]):null;_0x2de370[_0x560ecc(0x41a)](_0x37b88f?(0x0,_0x35f25f['resolveActiveShapeQuickStylePresetId'])(_0x37b88f)??'':'');},_0x3b6c1c=_0x58fb6d['focus$'][_0xd75c97(0x197)](_0x7de067),_0x5763d0=_0x27c3a3['onCommandExecuted'](_0x466dc1=>{const _0x231aa2=_0xd75c97;_0x466dc1['id']===_0x4593cd[_0x231aa2(0x1a4)]['id']&&_0x7de067();});return _0x7de067(),()=>{const _0x4142dd=_0xd75c97;_0x3b6c1c[_0x4142dd(0x508)](),_0x5763d0[_0x4142dd(0x49d)]();};});}function _0x506e0f(_0xf4c8c7){const _0x42e37a=_0x7105ae;var _0x569f3c;let _0xc90fe2=_0xf4c8c7[_0x42e37a(0x457)](_0x2ead9f['IDrawingManagerService'])[_0x42e37a(0x23c)]();return _0xc90fe2['length']===0x1&&((_0x569f3c=_0xc90fe2[0x0])==null?void 0x0:_0x569f3c[_0x42e37a(0x4c0)])===_0x27c7af['DrawingTypeEnum']['DRAWING_SHAPE']?_0xc90fe2[0x0]:null;}function _0x167296(_0x1c6bfb){const _0x3569fe=_0x7105ae;return(_0x1c6bfb==null?void 0x0:_0x1c6bfb[_0x3569fe(0x201)])===_0x27c7af[_0x3569fe(0x2df)][_0x3569fe(0x2b7)]?_0x1c6bfb[_0x3569fe(0x451)]===_0x27c7af[_0x3569fe(0x3f5)][_0x3569fe(0x3bd)]?_0x156531[_0x3569fe(0x4bc)][_0x3569fe(0x3f3)]:_0x156531['TextWrappingStyle'][_0x3569fe(0x23d)]:(_0x1c6bfb==null?void 0x0:_0x1c6bfb[_0x3569fe(0x201)])===_0x27c7af[_0x3569fe(0x2df)]['WRAP_SQUARE']?_0x156531['TextWrappingStyle'][_0x3569fe(0x477)]:(_0x1c6bfb==null?void 0x0:_0x1c6bfb['layoutType'])===_0x27c7af[_0x3569fe(0x2df)][_0x3569fe(0x37a)]?_0x156531['TextWrappingStyle'][_0x3569fe(0x37a)]:_0x156531['TextWrappingStyle'][_0x3569fe(0x4ad)];}function _0x14e4fa(_0x1907d3){const _0x452087=_0x7105ae;let _0x2d9095=_0x1907d3['get'](_0x27c7af[_0x452087(0x478)]),_0x227186=_0x1907d3[_0x452087(0x457)](_0x2ead9f[_0x452087(0x2c4)]),_0x17f3bc=_0x1907d3['get'](_0x27c7af[_0x452087(0x4f8)]);return new _0x2b0fcd[(_0x452087(0x339))](_0x3246b7=>{const _0x54b31b=_0x452087;let _0x2e235d=()=>{const _0x5b6547=_0x249c;var _0x42c2d4;let _0x20c6a2=_0x506e0f(_0x1907d3),_0x18c377=_0x20c6a2?_0x17f3bc[_0x5b6547(0x44e)](_0x20c6a2['unitId'],_0x27c7af[_0x5b6547(0x462)][_0x5b6547(0x50e)]):void 0x0;_0x3246b7['next'](_0x167296(_0x20c6a2?_0x18c377==null||(_0x42c2d4=_0x18c377[_0x5b6547(0x1e2)]()[_0x5b6547(0x2c5)])==null?void 0x0:_0x42c2d4[_0x20c6a2[_0x5b6547(0x198)]]:void 0x0));},_0x3c8ada=_0x227186[_0x54b31b(0x25e)][_0x54b31b(0x197)](_0x2e235d),_0x53849f=_0x2d9095[_0x54b31b(0x249)](_0xc0ad90=>{const _0x1f0e01=_0x54b31b;_0xc0ad90['id']===_0x374e66[_0x1f0e01(0x20b)]['id']&&_0x2e235d();});return _0x2e235d(),()=>{const _0x1d81bf=_0x54b31b;_0x3c8ada['unsubscribe'](),_0x53849f[_0x1d81bf(0x49d)]();};})[_0x452087(0x1dc)]((0x0,_0x2b0fcd[_0x452087(0x297)])());}function _0x12d832(_0x311474,_0x1c039d=!0x1){const _0x2727ac=_0x7105ae;let _0x237439=_0x311474[_0x2727ac(0x457)](_0x27c7af[_0x2727ac(0x478)]),_0x1eaff8=_0x311474['get'](_0x2ead9f['IDrawingManagerService']),_0x40a03e=_0x311474['get'](_0x4593cd[_0x2727ac(0x2a0)]);return new _0x2b0fcd[(_0x2727ac(0x339))](_0x27bea5=>{const _0x1242e9=_0x2727ac;let _0x103545=()=>{const _0x2aae38=_0x249c;let _0x2cd1a2=_0x506e0f(_0x311474);if(!_0x2cd1a2){_0x27bea5[_0x2aae38(0x41a)](!0x0);return;}let _0x374dfa=_0x40a03e[_0x2aae38(0x29f)](_0x2cd1a2[_0x2aae38(0x327)],_0x2cd1a2['subUnitId'],_0x2cd1a2[_0x2aae38(0x198)]);_0x27bea5[_0x2aae38(0x41a)](!_0x374dfa||_0x1c039d&&_0x374dfa[_0x2aae38(0x511)]==null);},_0x136c19=_0x1eaff8[_0x1242e9(0x25e)][_0x1242e9(0x197)](_0x103545),_0xaa40fb=_0x237439[_0x1242e9(0x249)](_0x40d093=>{const _0x201b62=_0x1242e9;_0x40d093['id']===_0x4593cd[_0x201b62(0x1a4)]['id']&&_0x103545();});return _0x103545(),()=>{const _0x104529=_0x1242e9;_0x136c19[_0x104529(0x508)](),_0xaa40fb['dispose']();};});}function _0xd8ed51(_0x50bd39){const _0x3e2349=_0x7105ae;let _0x1013cb=_0x50bd39[_0x3e2349(0x457)](_0x2ead9f[_0x3e2349(0x2c4)]),_0x5d6e07=_0x50bd39[_0x3e2349(0x457)](_0x4593cd[_0x3e2349(0x2a0)]);return _0x1013cb[_0x3e2349(0x25e)][_0x3e2349(0x1dc)]((0x0,_0x2b0fcd['startWith'])(_0x1013cb[_0x3e2349(0x23c)]()),(0x0,_0x2b0fcd['map'])(()=>{const _0x1672fb=_0x3e2349;let _0x597b46=_0x506e0f(_0x50bd39),_0x98a758=_0x597b46?_0x5d6e07[_0x1672fb(0x1de)](_0x597b46[_0x1672fb(0x327)],_0x597b46[_0x1672fb(0x3c2)],_0x597b46[_0x1672fb(0x198)]):void 0x0;return _0x98a758===void 0x0||(0x0,_0x2d76dd[_0x1672fb(0x25b)])(_0x98a758);}));}function _0x14ac05(_0x76907d){const _0x3b49a1=_0x7105ae;return{'id':_0x4cfc8b['id'],'type':_0x5d0d3c[_0x3b49a1(0x31a)][_0x3b49a1(0x172)],'icon':_0x3b49a1(0x257),'title':_0x3b49a1(0x47f),'tooltip':_0x3b49a1(0x47f),'selections':[{'label':{'name':_0x1c5af,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x165e1d(_0x76907d),'hidden$':_0x12d832(_0x76907d)};}function _0x4c8c73(_0x388653){const _0x3e3d3d=_0x7105ae;return{'id':_0x2203b2['id'],'type':_0x5d0d3c[_0x3e3d3d(0x31a)][_0x3e3d3d(0x172)],'icon':_0x3e3d3d(0x36e),'title':_0x3e3d3d(0x342),'tooltip':_0x3e3d3d(0x342),'slot':!0x0,'selections':[{'label':{'name':_0x1e943b[_0x3e3d3d(0x341)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xd8ed51(_0x388653)};}function _0x1b0f99(_0x240301,_0xca23b7,_0x37bc16=!0x1){const _0x389d68=_0x7105ae;return _0x1fa1c8=>({'id':_0x240301,'type':_0x5d0d3c[_0x389d68(0x31a)][_0x389d68(0x369)],'label':{'name':_0xca23b7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x12d832(_0x1fa1c8,_0x37bc16)});}let _0xf8be44=_0x1b0f99(_0x13dc03,_0x4f982c),_0x5b1886=_0x1b0f99(_0x527035,_0x3d9e86),_0x3e06d1=_0x1b0f99(_0x2507b0,_0x51a83f,!0x0);function _0x299d55(_0x1d0d8c){const _0x18b9d5=_0x7105ae;return{'id':_0x347822,'type':_0x5d0d3c['MenuItemType'][_0x18b9d5(0x172)],'icon':_0xb2905f[0x0][_0x18b9d5(0x3d1)],'label':_0x547f99,'selectionsCommandId':_0x156531['UpdateDocDrawingWrappingStyleCommand']['id'],'selections':_0xb2905f[_0x18b9d5(0x340)](({icon:_0x1f91d9,label:_0x4fd0bb,value:_0x55386a})=>({'value':_0x55386a,'label':_0x4fd0bb,'icon':_0x1f91d9,'params':()=>{const _0x23332d=_0x18b9d5;let _0x2d2e0c=_0x506e0f(_0x1d0d8c);return _0x2d2e0c?{'unitId':_0x2d2e0c[_0x23332d(0x327)],'subUnitId':_0x2d2e0c['subUnitId'],'drawings':[{'unitId':_0x2d2e0c[_0x23332d(0x327)],'subUnitId':_0x2d2e0c[_0x23332d(0x3c2)],'drawingId':_0x2d2e0c[_0x23332d(0x198)]}],'wrappingStyle':_0x55386a}:void 0x0;}})),'value$':_0x14e4fa(_0x1d0d8c),'hidden$':_0x12d832(_0x1d0d8c)};}function _0xf8ca91(_0x3ae512,_0x36adff,_0x46ad56,_0xfcf5dd){const _0x193c21=_0x7105ae;return _0x356cef=>({'id':_0x3ae512,'commandId':_0x156531['SetDocDrawingArrangeCommand']['id'],'type':_0x5d0d3c[_0x193c21(0x31a)][_0x193c21(0x369)],'icon':_0x46ad56,'title':_0xfcf5dd,'tooltip':_0xfcf5dd,'hidden$':_0x12d832(_0x356cef),'params':()=>{const _0x51d355=_0x193c21;let _0x9feb5e=_0x506e0f(_0x356cef);return _0x9feb5e?{'unitId':_0x9feb5e[_0x51d355(0x327)],'subUnitId':_0x9feb5e[_0x51d355(0x3c2)],'drawingIds':[_0x9feb5e['drawingId']],'arrangeType':_0x36adff}:void 0x0;}});}let _0x4af25b=_0xf8ca91(_0x5c9cc3,_0x27c7af[_0x7105ae(0x51c)][_0x7105ae(0x29d)],_0x7105ae(0x2c0),_0x7105ae(0x3c6)),_0x4fe539=_0xf8ca91(_0x8bed5e,_0x27c7af['ArrangeTypeEnum']['backward'],'MoveDownIcon',_0x7105ae(0x455)),_0x4c8b93=_0xf8ca91(_0x16616d,_0x27c7af[_0x7105ae(0x51c)]['front'],_0x7105ae(0x485),_0x7105ae(0x352)),_0x4b2b90=_0xf8ca91(_0x350473,_0x27c7af[_0x7105ae(0x51c)][_0x7105ae(0x38b)],_0x7105ae(0x2ac),_0x7105ae(0x1c0));function _0x5eaddd(_0x79f1cf){const _0x38699f=_0x7105ae;return{'id':_0x7559e5['id'],'type':_0x5d0d3c[_0x38699f(0x31a)][_0x38699f(0x369)],'icon':'ShapeFormatSettingIcon','title':_0x38699f(0x38d),'tooltip':_0x38699f(0x38d),'hidden$':_0x12d832(_0x79f1cf),'params':()=>{const _0x5f0d4f=_0x38699f;let _0x1ed955=_0x506e0f(_0x79f1cf);return _0x1ed955?{'unitId':_0x1ed955[_0x5f0d4f(0x327)],'subUnitId':_0x1ed955['subUnitId'],'drawingId':_0x1ed955[_0x5f0d4f(0x198)]}:void 0x0;}};}let _0x115081={[_0x5d0d3c[_0x7105ae(0x230)][_0x7105ae(0x4db)]]:{[_0x3a45b1]:{'order':0x64,'title':'docs-shape-ui.formatShape','contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x4cfc8b['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x14ac05},[_0x2203b2['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4c8c73}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x13dc03]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0xf8be44}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x527035]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x5b1886}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x347822]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x299d55},[_0x5c9cc3]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4af25b},[_0x8bed5e]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x4fe539},[_0x16616d]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x4c8b93},[_0x350473]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x4b2b90}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2507b0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x3e06d1}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x7559e5['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5eaddd},[_0x1e943b['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x1e943b['ShapeFloatingToolbarToggleFactory']}}}}},_0x7d00f1={[_0x5d0d3c[_0x7105ae(0x1aa)]['MEDIA']]:{[_0x21db7c['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x573fe1=>({..._0x1f97d0(_0x573fe1),'title':void 0x0})}},[_0x5d0d3c[_0x7105ae(0x1aa)][_0x7105ae(0x296)]]:{[_0x1a103f['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x56ca98}},[_0x5d0d3c[_0x7105ae(0x343)][_0x7105ae(0x473)]]:{[_0x5d0d3c[_0x7105ae(0x4a5)][_0x7105ae(0x3bb)]]:{[_0x43e864[_0x7105ae(0x439)]]:{[_0x21db7c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x41804b}}},[_0x43e864[_0x7105ae(0x2c9)]]:{[_0x5d0d3c[_0x7105ae(0x4a5)][_0x7105ae(0x3bb)]]:{[_0x21db7c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x41804b}}},[_0x43e864[_0x7105ae(0x2d4)]]:{[_0x5d0d3c[_0x7105ae(0x4a5)]['LAYOUT']]:{[_0x21db7c['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x48ee40}}},[_0x43e864[_0x7105ae(0x246)]]:{'insert':{[_0x21db7c['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x1f97d0}}},[_0x43e864[_0x7105ae(0x25c)]]:{'insert':{[_0x21db7c['id']+_0x7105ae(0x1d4)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x41804b}}}}};var _0x3d8a08=_0x7105ae(0x470),_0x174586=_0x7105ae(0x426);let _0x44fd3d={'type':_0x27c7af[_0x7105ae(0x3e0)][_0x7105ae(0x1c4)],'id':_0x7105ae(0x30c),'handler'(){return!0x0;}},_0x5dd5c4=_0x7105ae(0x173),_0x46d3a2={};function _0xcacbca(_0x4050d0){'@babel/helpers - typeof';const _0xf62068=_0x7105ae;return _0xcacbca=typeof Symbol=='function'&&typeof Symbol[_0xf62068(0x501)]==_0xf62068(0x45e)?function(_0x3b801b){return typeof _0x3b801b;}:function(_0x1eb86d){const _0x3d644d=_0xf62068;return _0x1eb86d&&typeof Symbol==_0x3d644d(0x388)&&_0x1eb86d[_0x3d644d(0x32a)]===Symbol&&_0x1eb86d!==Symbol[_0x3d644d(0x3f8)]?'symbol':typeof _0x1eb86d;},_0xcacbca(_0x4050d0);}function _0x4e8441(_0x28900c,_0x4473dc){const _0x4a16de=_0x7105ae;if(_0xcacbca(_0x28900c)!=_0x4a16de(0x399)||!_0x28900c)return _0x28900c;var _0x38a74f=_0x28900c[Symbol[_0x4a16de(0x3be)]];if(_0x38a74f!==void 0x0){var _0x166d65=_0x38a74f['call'](_0x28900c,_0x4473dc||'default');if(_0xcacbca(_0x166d65)!=_0x4a16de(0x399))return _0x166d65;throw TypeError(_0x4a16de(0x36a));}return(_0x4473dc===_0x4a16de(0x3c1)?String:Number)(_0x28900c);}function _0x243b4(_0x497a9a){const _0x214970=_0x7105ae;var _0x181d8f=_0x4e8441(_0x497a9a,_0x214970(0x3c1));return _0xcacbca(_0x181d8f)=='symbol'?_0x181d8f:_0x181d8f+'';}function _0x35ae83(_0x4561f6,_0x3a3d03,_0x40ac70){return(_0x3a3d03=_0x243b4(_0x3a3d03))in _0x4561f6?Object['defineProperty'](_0x4561f6,_0x3a3d03,{'value':_0x40ac70,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4561f6[_0x3a3d03]=_0x40ac70,_0x4561f6;}var _0x41965c=class extends _0x48e4a9[_0x7105ae(0x47b)]{constructor(_0x6da70f,_0x5689f7){const _0x4752bd=_0x7105ae;super(_0x6da70f,_0x5689f7),_0x35ae83(this,'_shapeId',null),_0x35ae83(this,_0x4752bd(0x1ab),null),_0x35ae83(this,'_unitId',null),_0x35ae83(this,_0x4752bd(0x3a8),null),_0x5689f7&&this[_0x4752bd(0x350)](_0x5689f7);}['getDrawingSearch'](){const _0x11afc9=_0x7105ae;return{'unitId':this[_0x11afc9(0x3a7)],'subUnitId':this[_0x11afc9(0x3a8)],'drawingId':this['_shapeId']};}[_0x7105ae(0x350)](_0x28e341){const _0x2cbc10=_0x7105ae;_0x28e341[_0x2cbc10(0x289)]!==void 0x0&&(this[_0x2cbc10(0x35e)]=_0x28e341['shapeId']),_0x28e341[_0x2cbc10(0x2b4)]!==void 0x0&&(this[_0x2cbc10(0x1ab)]=_0x28e341[_0x2cbc10(0x2b4)]),_0x28e341['unitId']!==void 0x0&&(this[_0x2cbc10(0x3a7)]=_0x28e341['unitId']),_0x28e341[_0x2cbc10(0x3c2)]!==void 0x0&&(this[_0x2cbc10(0x3a8)]=_0x28e341[_0x2cbc10(0x3c2)]),this[_0x2cbc10(0x294)]({'width':_0x28e341[_0x2cbc10(0x1ad)],'height':_0x28e341[_0x2cbc10(0x48d)]});}[_0x7105ae(0x373)](_0x31910b){const _0x3e551e=_0x7105ae;_0x48e4a9[_0x3e551e(0x2b8)][_0x3e551e(0x20d)](_0x31910b,{'radius':_0x2d76dd[_0x3e551e(0x48c)][_0x3e551e(0x221)],'fill':_0x2d76dd[_0x3e551e(0x48c)]['adjHandleFill'],'stroke':_0x2d76dd['ShapeDefaultConfig'][_0x3e551e(0x405)],'strokeWidth':0x1,'evented':!0x0});}};function _0x24ccf4(_0x53f262,_0x2f5a6a,_0x429c6e){const _0x30cec9=_0x7105ae;let _0x5cca86={..._0x2f5a6a,'dataModel':{..._0x2f5a6a[_0x30cec9(0x282)]??{},..._0x429c6e?{'doc':_0x429c6e}:null}},_0x2078b0=(0x0,_0x1e943b[_0x30cec9(0x31d)])(_0x53f262,_0x5cca86),_0x44b22c=(0x0,_0x1e943b[_0x30cec9(0x2aa)])(_0x2078b0);return{'clip':(0x0,_0x1e943b[_0x30cec9(0x3ba)])(_0x2078b0,_0x44b22c),'wrapStrategy':_0x44b22c};}var _0x42a12a=class extends _0x48e4a9[_0x7105ae(0x47b)]{constructor(_0x139c10,_0x4df1c2){const _0x1f8e70=_0x7105ae;super(_0x139c10,_0x4df1c2),_0x35ae83(this,'_hyperLinkRegions',[]),_0x35ae83(this,_0x1f8e70(0x4a7),void 0x0),_0x35ae83(this,_0x1f8e70(0x4de),new _0x1e943b[(_0x1f8e70(0x368))](()=>this[_0x1f8e70(0x321)](!0x0),()=>this[_0x1f8e70(0x4b0)]())),_0x35ae83(this,_0x1f8e70(0x1d7),!0x0),_0x35ae83(this,_0x1f8e70(0x496),_0x27c7af[_0x1f8e70(0x301)][_0x1f8e70(0x177)]),_0x35ae83(this,_0x1f8e70(0x515),!0x0),this[_0x1f8e70(0x4a7)]={..._0x4df1c2},this[_0x1f8e70(0x4de)][_0x1f8e70(0x1e8)](_0x4df1c2[_0x1f8e70(0x429)],_0x4df1c2['animateFormulaPresentation']!==!0x1),this[_0x1f8e70(0x37c)](),this['_applyFormulaAutoFitSize']();}[_0x7105ae(0x37c)](){const _0x216e2c=_0x7105ae;this[_0x216e2c(0x193)]['subscribeEvent'](_0xbbd9f8=>{const _0x15b54a=_0x216e2c;this[_0x15b54a(0x3e2)](_0xbbd9f8);});}[_0x7105ae(0x238)](_0xde6e5){const _0x55e76e=_0x7105ae;this[_0x55e76e(0x4a7)][_0x55e76e(0x1a0)]=_0xde6e5;}['resolveHyperLinkAt'](_0x55e6a1){const _0x4e7eb5=_0x7105ae;if(this['_props'][_0x4e7eb5(0x4a0)])return null;let _0x579102=this['getInverseCoord'](_0x55e6a1),{width:_0x8e7c88,height:_0x4fe9eb}=this['getRealBound']();return(0x0,_0x1e943b[_0x4e7eb5(0x49b)])(this[_0x4e7eb5(0x51b)],{'x':(this[_0x4e7eb5(0x448)]?-_0x579102['x']:_0x579102['x'])+_0x8e7c88/0x2,'y':_0x579102['y']+_0x4fe9eb/0x2});}['setEditing'](_0x300b21){const _0x2c1222=_0x7105ae;this[_0x2c1222(0x4a7)][_0x2c1222(0x4a0)]=_0x300b21,this[_0x2c1222(0x321)](!0x0);}['setFormulaPresentation'](_0x4eef42,_0x59fdc2=!0x0){const _0x17aa25=_0x7105ae;this[_0x17aa25(0x4de)][_0x17aa25(0x1e8)](_0x4eef42,_0x59fdc2),this[_0x17aa25(0x4a7)][_0x17aa25(0x429)]=_0x4eef42,this[_0x17aa25(0x4b0)](),this[_0x17aa25(0x321)](!0x0);}[_0x7105ae(0x4b0)](){const _0x52cf01=_0x7105ae;let _0x222d41=this['_props'][_0x52cf01(0x376)],_0x46db77=_0x222d41[_0x52cf01(0x362)](),_0x5b4ebe=(0x0,_0x1e943b[_0x52cf01(0x28c)])(_0x46db77==null?void 0x0:_0x46db77['dataModel']),_0x389776=_0x5b4ebe==null?void 0x0:_0x5b4ebe['doc'],_0x115d48=this[_0x52cf01(0x4de)][_0x52cf01(0x22e)]();if(!_0x389776||_0x115d48['length']===0x0)return;_0x222d41['updateContext']({'width':this[_0x52cf01(0x1ad)],'height':this['height']});let _0x32eef5=(0x0,_0x1e943b[_0x52cf01(0x3ab)])({'documentData':_0x115d48[_0x52cf01(0x340)](_0xa4d14e=>(0x0,_0x35f25f[_0x52cf01(0x1da)])(_0x389776,_0xa4d14e)),'height':this[_0x52cf01(0x48d)],'shapeData':_0x222d41[_0x52cf01(0x2c1)](),'textRect':_0x222d41[_0x52cf01(0x4d3)]({'left':0x0,'top':0x0,'width':this[_0x52cf01(0x1ad)],'height':this[_0x52cf01(0x48d)]}),'width':this[_0x52cf01(0x1ad)]});if(_0x32eef5){var _0x59b861;this['resize'](_0x32eef5[_0x52cf01(0x1ad)],_0x32eef5[_0x52cf01(0x48d)]),(_0x59b861=this[_0x52cf01(0x229)]())==null||(_0x59b861=_0x59b861['getTransformer']())==null||_0x59b861[_0x52cf01(0x319)]();}}get[_0x7105ae(0x327)](){const _0x283658=_0x7105ae;return this[_0x283658(0x4a7)][_0x283658(0x327)];}get[_0x7105ae(0x3c2)](){const _0x566620=_0x7105ae;return this[_0x566620(0x4a7)][_0x566620(0x3c2)];}[_0x7105ae(0x3e2)](_0x1ba844){const _0x14777d=_0x7105ae;if(this[_0x14777d(0x4a7)][_0x14777d(0x40f)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x4ed2ef,height:_0x184b57}=this,{width:_0x46fa47=0x0,height:_0x387d29=0x0}=_0x1ba844[_0x14777d(0x348)],{left:_0x2f514b=0x0,top:_0x5ecc67=0x0,right:_0x2cc838=0x0,bottom:_0x2a22f6=0x0}=this[_0x14777d(0x4a7)]['srcRect'],_0x52e5b2=_0x2f514b,_0x1edf9d=_0x5ecc67,_0x1132d9=_0x2cc838,_0x31d95e=_0x2a22f6,_0x12809c=!0x1;if(_0x46fa47!==0x0&&_0x46fa47!==_0x4ed2ef){let _0x31144e=_0x2f514b/_0x46fa47,_0x4bc82d=_0x2cc838/_0x46fa47;_0x52e5b2=_0x4ed2ef*_0x31144e,_0x1132d9=_0x4ed2ef*_0x4bc82d,_0x12809c=!0x0;}if(_0x387d29!==0x0&&_0x387d29!==_0x184b57){let _0x2c8550=_0x5ecc67/_0x387d29,_0x41e1c9=_0x2a22f6/_0x387d29;_0x1edf9d=_0x184b57*_0x2c8550,_0x31d95e=_0x184b57*_0x41e1c9,_0x12809c=!0x0;}_0x12809c&&this[_0x14777d(0x1d3)]({'left':_0x52e5b2,'top':_0x1edf9d,'right':_0x1132d9,'bottom':_0x31d95e});}['setSrcRect'](_0x4fee61){const _0x45bb6b=_0x7105ae;this[_0x45bb6b(0x4a7)][_0x45bb6b(0x40f)]=_0x4fee61,this[_0x45bb6b(0x321)](!0x0);}[_0x7105ae(0x2e7)](_0xe91320){const _0x277e59=_0x7105ae;this[_0x277e59(0x4a7)][_0x277e59(0x1d5)]=_0xe91320,this['makeDirty'](!0x0);}set[_0x7105ae(0x226)](_0xbc5aa){const _0x2a29bc=_0x7105ae;this[_0x2a29bc(0x459)]=_0xbc5aa;}get['transform'](){const _0x1064cf=_0x7105ae;this['_transform']||this[_0x1064cf(0x4f4)]();let _0x4442a1=this[_0x1064cf(0x459)][_0x1064cf(0x1df)]();return this['transformForAngle'](_0x4442a1);}get['shapeModel'](){const _0x56dffa=_0x7105ae;return this[_0x56dffa(0x4a7)][_0x56dffa(0x376)];}get['shapeId'](){const _0x170f61=_0x7105ae;return this['_props'][_0x170f61(0x289)];}get[_0x7105ae(0x420)](){const _0xb57b42=_0x7105ae;return _0x48e4a9[_0xb57b42(0x4e4)][_0xb57b42(0x231)];}[_0x7105ae(0x373)](_0x395e98,_0x136603,_0x464d3d,_0xd7fa3d){const _0x1ead52=_0x7105ae;let _0x229cc0=this[_0x1ead52(0x4a7)][_0x1ead52(0x376)];if(!_0x229cc0||!_0x136603)return;let _0x2a18e1=_0x464d3d??this[_0x1ead52(0x1ad)],_0x3dc04b=_0xd7fa3d??this[_0x1ead52(0x48d)],_0x5c7387={'shapeType':_0x229cc0[_0x1ead52(0x2a1)](),'width':_0x2a18e1,'height':_0x3dc04b},_0x1e69e2={'renderMode':_0x2d76dd[_0x1ead52(0x3c7)][_0x1ead52(0x4e1)],'oKey':this[_0x1ead52(0x40a)],'image':this[_0x1ead52(0x4a7)]['image'],'angle':this[_0x1ead52(0x30d)]};_0x229cc0[_0x1ead52(0x381)](_0x5c7387),_0x395e98['save']();let _0x5c7c19={'top':0x0,'left':0x0,'width':_0x2a18e1,'height':_0x3dc04b},_0x4ef2f5=_0x229cc0[_0x1ead52(0x312)](_0x5c7c19);_0x4ef2f5?this[_0x1ead52(0x35d)](_0x395e98,_0x4ef2f5,_0x224a1c=>{const _0x51c86a=_0x1ead52;_0x229cc0[_0x51c86a(0x433)](_0x224a1c,_0x5c7c19,_0x1e69e2);}):(this[_0x1ead52(0x1d9)](),_0x229cc0[_0x1ead52(0x433)](_0x395e98,_0x5c7c19,_0x1e69e2)),_0x395e98['restore']();let _0x2fef18=_0x229cc0[_0x1ead52(0x362)](),_0x559f8b=_0x229cc0['getShapeTextRect'](_0x5c7c19),_0x3e6095=_0x229cc0[_0x1ead52(0x285)]();if(_0x2fef18&&_0x559f8b&&!_0x3e6095){_0x395e98[_0x1ead52(0x275)](),this[_0x1ead52(0x279)]()[_0x1ead52(0x448)]&&_0x395e98['scale'](-0x1,0x1);let _0x4aa5ec=_0x2a18e1/0x2,_0x15bb0d=_0x3dc04b/0x2;_0x395e98['translate'](-_0x4aa5ec,-_0x15bb0d),_0x395e98[_0x1ead52(0x225)](),this[_0x1ead52(0x409)](_0x395e98,_0x2fef18,_0x559f8b),_0x395e98[_0x1ead52(0x22a)]();}}['getDrawingPoints'](_0xbcefec){}['_drawShapeText'](_0x4e9084,_0x411d1f,_0x499646){const _0x4d1972=_0x7105ae;var _0x57d3;this['_hyperLinkRegions']=[],!this[_0x4d1972(0x4a7)][_0x4d1972(0x4a0)]&&(!((_0x57d3=_0x411d1f['dataModel'])!=null&&_0x57d3[_0x4d1972(0x1b6)])&&_0x4d1972(0x3cd)in _0x411d1f&&_0x411d1f['isRichText']===!0x1?this[_0x4d1972(0x2fe)](_0x4e9084,_0x411d1f,_0x499646):this[_0x4d1972(0x461)](_0x4e9084,_0x411d1f,_0x499646));}['_drawSimpleText'](_0x37cdb5,_0x42b0d4,_0x20a187){const _0x35402a=_0x7105ae;this[_0x35402a(0x461)](_0x37cdb5,{..._0x42b0d4,'text':_0x42b0d4[_0x35402a(0x288)]??'','dataModel':{'doc':(0x0,_0x1e943b[_0x35402a(0x48e)])(_0x42b0d4,_0x35402a(0x224)+this[_0x35402a(0x40a)])}},_0x20a187);}[_0x7105ae(0x461)](_0x32cfd0,_0x115bed,_0x400c45){const _0x46c861=_0x7105ae;(0x0,_0x1e943b[_0x46c861(0x45d)])(_0x32cfd0,this['_formulaAnimation'],(_0x1e48bc,_0x38f938,_0x62e91d)=>{const _0x3e6aff=_0x46c861;this[_0x3e6aff(0x3a6)](_0x1e48bc,_0x115bed,_0x400c45,_0x38f938,_0x62e91d===_0x3e6aff(0x1f8));});}['_drawRichTextLayer'](_0x169e26,_0x2f294e,_0x440f68,_0x41a654,_0x2da649){const _0x1e9d86=_0x7105ae;let _0x31d254=this[_0x1e9d86(0x4a7)][_0x1e9d86(0x3ea)];if(!_0x2f294e['dataModel']||!_0x31d254){_0x31d254||console[_0x1e9d86(0x4be)](_0x1e9d86(0x1b2));return;}let _0x387fd6=(0x0,_0x1e943b[_0x1e9d86(0x28c)])(_0x2f294e[_0x1e9d86(0x282)]);if(!_0x387fd6)return;let _0x1a5d49=_0x387fd6[_0x1e9d86(0x1b6)];if(!_0x1a5d49)return;let _0x4f73a1=(0x0,_0x35f25f[_0x1e9d86(0x1da)])(_0x1a5d49,_0x41a654),_0x556e90=_0x387fd6['va']??_0x27c7af['VerticalAlign'][_0x1e9d86(0x1b5)],_0x1a083c=_0x387fd6['ha']??_0x27c7af['HorizontalAlign'][_0x1e9d86(0x17b)],_0x84d650=_0x24ccf4(this['_props']['shapeModel']['getShapeData'](),_0x2f294e,_0x4f73a1),_0x51c824=_0x2f294e['isHorizontal'],_0x385fec=(0x0,_0x1e943b[_0x1e9d86(0x48b)])(_0x4f73a1,{'isHorizontal':_0x51c824!==!0x1,'textRect':_0x440f68,'verticalAlign':_0x556e90,'horizontalAlign':_0x1a083c,'wrapStrategy':_0x84d650[_0x1e9d86(0x27c)]}),_0x14369b=new _0x27c7af[(_0x1e9d86(0x2f6))](_0x385fec),_0x4f8876=new _0x48e4a9[(_0x1e9d86(0x4a4))](_0x14369b),_0x35298d=_0x48e4a9[_0x1e9d86(0x410)][_0x1e9d86(0x25d)](_0x4f8876,_0x31d254);_0x35298d[_0x1e9d86(0x2d1)]();let _0x163c2e=_0x35298d['getActualSize']()['actualHeight'],_0x37eb74=(0x0,_0x1e943b['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x163c2e,'verticalAlign':_0x556e90,'viewportHeight':_0x440f68[_0x1e9d86(0x48d)]});_0x14369b[_0x1e9d86(0x45a)]({'pageSize':{'width':_0x51c824===!0x1?_0x440f68[_0x1e9d86(0x48d)]:_0x440f68[_0x1e9d86(0x1ad)],'height':(0x0,_0x1e943b[_0x1e9d86(0x266)])(_0x4f73a1,_0x37eb74[_0x1e9d86(0x42c)])}}),_0x14369b[_0x1e9d86(0x3f9)]({'t':_0x37eb74[_0x1e9d86(0x33f)]}),_0x35298d[_0x1e9d86(0x2d1)]();let _0x3a806e=new _0x48e4a9['Documents'](_0x1e9d86(0x3f7)+this[_0x1e9d86(0x40a)],_0x35298d,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x1e9d86(0x321)](!0x0)});_0x3a806e[_0x1e9d86(0x18b)](_0x440f68[_0x1e9d86(0x1ad)],_0x37eb74[_0x1e9d86(0x42c)]),_0x169e26['save'](),_0x169e26[_0x1e9d86(0x2f8)](_0x440f68['left'],_0x440f68[_0x1e9d86(0x204)]),_0x84d650[_0x1e9d86(0x45b)]&&(_0x169e26[_0x1e9d86(0x225)](),_0x169e26[_0x1e9d86(0x507)](0x0,_0x37eb74['clipTop'],_0x440f68['width'],_0x37eb74[_0x1e9d86(0x228)]),_0x169e26[_0x1e9d86(0x45b)]()),_0x37eb74[_0x1e9d86(0x259)]&&_0x169e26[_0x1e9d86(0x2f8)](0x0,_0x37eb74['contentVerticalOffset']),_0x3a806e[_0x1e9d86(0x29b)](_0x169e26),_0x2da649&&(this[_0x1e9d86(0x51b)]=(0x0,_0x1e943b[_0x1e9d86(0x2f0)])(_0x3a806e,{'left':_0x440f68['left'],'top':_0x440f68[_0x1e9d86(0x204)]+_0x37eb74[_0x1e9d86(0x259)]},_0x84d650[_0x1e9d86(0x45b)]?{'left':_0x440f68['left'],'right':_0x440f68['left']+_0x440f68[_0x1e9d86(0x1ad)],'top':_0x440f68[_0x1e9d86(0x204)]+_0x37eb74[_0x1e9d86(0x414)],'bottom':_0x440f68[_0x1e9d86(0x204)]+_0x37eb74[_0x1e9d86(0x414)]+_0x37eb74[_0x1e9d86(0x228)]}:void 0x0)),_0x169e26[_0x1e9d86(0x22a)](),_0x3a806e[_0x1e9d86(0x49d)](),_0x35298d['dispose'](),_0x4f8876[_0x1e9d86(0x49d)](),_0x14369b[_0x1e9d86(0x49d)]();}[_0x7105ae(0x433)](_0xa1b8e4,_0x335e99,_0x482eca=!0x1){const _0x2beaf2=_0x7105ae;if(!this[_0x2beaf2(0x260)])return this[_0x2beaf2(0x321)](!0x1),this;let {width:_0x1dcd45,height:_0xececb1,left:_0x4fe3a5,top:_0x599ccd}=this,_0x3e5f02=this[_0x2beaf2(0x2cc)]();if(_0x1dcd45=_0x3e5f02['width'],_0xececb1=_0x3e5f02['height'],_0x4fe3a5=_0x3e5f02[_0x2beaf2(0x3e3)],_0x599ccd=_0x3e5f02[_0x2beaf2(0x204)],this[_0x2beaf2(0x446)](_0x335e99)){let {top:_0xfd6bf7,left:_0x1cc913,bottom:_0x134a28,right:_0x6a9a9}=_0x335e99['viewBound'];if(_0x1dcd45+this['strokeWidth']+_0x4fe3a5<_0x1cc913||_0x6a9a9<_0x4fe3a5||_0xececb1+this[_0x2beaf2(0x4b9)]+_0x599ccd<_0xfd6bf7||_0x134a28<_0x599ccd)return this;}let _0x13acdc=_0x4fe3a5+_0x1dcd45/0x2,_0x40686c=_0x599ccd+_0xececb1/0x2,_0x2b4e4c=this[_0x2beaf2(0x226)][_0x2beaf2(0x436)]();if(this[_0x2beaf2(0x4a7)][_0x2beaf2(0x4a0)]){let _0x27ab96=this[_0x2beaf2(0x279)](),_0x1f746e=new _0x48e4a9['Transform']();_0x1f746e[_0x2beaf2(0x354)]({..._0x27ab96}),_0x2b4e4c=_0x1f746e[_0x2beaf2(0x436)]();}return _0xa1b8e4[_0x2beaf2(0x275)](),this[_0x2beaf2(0x4a7)]['shapeModel'][_0x2beaf2(0x44f)]===!0x0||_0xa1b8e4[_0x2beaf2(0x226)](_0x2b4e4c[0x0],_0x2b4e4c[0x1],_0x2b4e4c[0x2],_0x2b4e4c[0x3],_0x13acdc,_0x40686c),this[_0x2beaf2(0x373)](_0xa1b8e4,_0x335e99,_0x1dcd45,_0xececb1),_0xa1b8e4[_0x2beaf2(0x22a)](),this[_0x2beaf2(0x321)](!0x1),this;}[_0x7105ae(0x2a2)](_0x532381){const _0x1ce109=_0x7105ae;let {left:_0x418087,top:_0x1bbc1a,width:_0x26db60,height:_0xe75f8e}=this[_0x1ce109(0x2cc)](),_0x169e06=this[_0x1ce109(0x226)][_0x1ce109(0x436)](),_0x314bd1=_0x418087+_0x26db60/0x2,_0x5c826a=_0x1bbc1a+_0xe75f8e/0x2,_0x119ae3=new _0x48e4a9[(_0x1ce109(0x1d0))]([_0x169e06[0x0],_0x169e06[0x1],_0x169e06[0x2],_0x169e06[0x3],_0x314bd1,_0x5c826a]),_0x1d19cc=this[_0x1ce109(0x28b)]();return(this['isInGroup']&&(_0x1d19cc==null?void 0x0:_0x1d19cc['classType'])===_0x48e4a9[_0x1ce109(0x4e4)]['GROUP']?_0x1d19cc[_0x1ce109(0x345)][_0x1ce109(0x182)](_0x119ae3):_0x119ae3)['invert']()[_0x1ce109(0x3ff)](_0x532381);}[_0x7105ae(0x31e)](_0x245705){const _0x431a4b=_0x7105ae;let {left:_0x19d568,top:_0x2894f4,width:_0x1faa03,height:_0x1407b3}=this['getRealBound'](),_0xebbd6d=_0x19d568+_0x1faa03/0x2,_0x5df82a=_0x2894f4+_0x1407b3/0x2,_0x5a54ae=this[_0x431a4b(0x226)][_0x431a4b(0x436)](),_0x1736ae=new _0x48e4a9[(_0x431a4b(0x1d0))]([_0x5a54ae[0x0],_0x5a54ae[0x1],_0x5a54ae[0x2],_0x5a54ae[0x3],_0xebbd6d,_0x5df82a]),_0x557bd6=this['getParent'](),_0x118072=(this[_0x431a4b(0x411)]&&(_0x557bd6==null?void 0x0:_0x557bd6[_0x431a4b(0x420)])===_0x48e4a9[_0x431a4b(0x4e4)][_0x431a4b(0x3f1)]?_0x557bd6[_0x431a4b(0x345)][_0x431a4b(0x182)](_0x1736ae):_0x1736ae)[_0x431a4b(0x474)]()[_0x431a4b(0x3ff)](_0x245705),_0x441d40=_0x1faa03/0x2,_0x436099=_0x1407b3/0x2,_0x765f00=this[_0x431a4b(0x4a7)][_0x431a4b(0x376)];return _0x765f00&&_0x765f00[_0x431a4b(0x285)]()?_0x765f00[_0x431a4b(0x2f1)](_0x118072['x'],_0x118072['y'],_0x1faa03,_0x1407b3):_0x118072['x']>=-_0x441d40-this[_0x431a4b(0x4b9)]/0x2&&_0x118072['x']<=_0x441d40+this[_0x431a4b(0x4b9)]/0x2&&_0x118072['y']>=-_0x436099-this['strokeWidth']/0x2&&_0x118072['y']<=_0x436099+this[_0x431a4b(0x4b9)]/0x2;}[_0x7105ae(0x49d)](){const _0x4789b2=_0x7105ae;this[_0x4789b2(0x4de)][_0x4789b2(0x49d)](),this['_props'][_0x4789b2(0x376)]=null,super['dispose']();}};let _0x208ab6=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x27f441,_0x368b79,_0x4f6475,_0x2df44f){const _0x3df1f1=_0x7105ae;super(),this[_0x3df1f1(0x41d)]=_0x27f441,this['_drawingManagerService']=_0x368b79,this[_0x3df1f1(0x215)]=_0x4f6475,this[_0x3df1f1(0x335)]=_0x2df44f,_0x35ae83(this,_0x3df1f1(0x338),null),_0x35ae83(this,'_unitId',null),_0x35ae83(this,'_subUnitId',null),_0x35ae83(this,_0x3df1f1(0x2b6),void 0x0),_0x35ae83(this,_0x3df1f1(0x236),[]),_0x35ae83(this,_0x3df1f1(0x2e8),0x0),_0x35ae83(this,_0x3df1f1(0x4d4),0x0),_0x35ae83(this,'_baseShapeWidth',0x0),_0x35ae83(this,'_baseShapeHeight',0x0),_0x35ae83(this,_0x3df1f1(0x45c),!0x1),_0x35ae83(this,_0x3df1f1(0x1cb),!0x1),_0x35ae83(this,_0x3df1f1(0x223),void 0x0),_0x35ae83(this,_0x3df1f1(0x2b5),void 0x0),_0x35ae83(this,'_adjHandlerPointerMove',void 0x0),_0x35ae83(this,'_adjHandlerPointerUp',void 0x0),this[_0x3df1f1(0x347)](),this[_0x3df1f1(0x17e)]();}[_0x7105ae(0x3d6)](){const _0x502613=_0x7105ae;this[_0x502613(0x4c5)]();}['refreshAdjustControls'](){this['_updateShapeAdjustControls'](!0x0);}['_getShapeAdjustPointListById'](_0x18a921,_0x5c6f36,_0x44fb97){const _0x345e5c=_0x7105ae;var _0x2210e8;return(_0x2210e8=this[_0x345e5c(0x215)][_0x345e5c(0x484)](_0x18a921,_0x5c6f36,_0x44fb97))==null?void 0x0:_0x2210e8[_0x345e5c(0x322)]();}[_0x7105ae(0x33a)](_0x44ccf2,_0x5f5d03,_0x4e95e1,_0x4f98b5){const _0x43df08=_0x7105ae;var _0x1f554d;return(_0x1f554d=this[_0x43df08(0x215)][_0x43df08(0x484)](_0x44ccf2,_0x5f5d03,_0x4e95e1))==null?void 0x0:_0x1f554d[_0x43df08(0x3db)](_0x4f98b5);}[_0x7105ae(0x3bf)](){const _0x4fcec8=_0x7105ae;return this[_0x4fcec8(0x3a7)]===null||this['_subUnitId']===null||this[_0x4fcec8(0x338)]===null?null:this['_drawingManagerService'][_0x4fcec8(0x4ae)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4fcec8(0x338)]})??null;}[_0x7105ae(0x1f5)](_0x2679b0){const _0x59d05e=_0x7105ae;if(this[_0x59d05e(0x3a7)]===null||this[_0x59d05e(0x3a8)]===null||this['_activeShapeId']===null)return null;let _0x26b31a=(0x0,_0x2ead9f[_0x59d05e(0x1d6)])({'unitId':this['_unitId'],'subUnitId':this[_0x59d05e(0x3a8)],'drawingId':this['_activeShapeId']}),_0x324705=_0x2679b0[_0x59d05e(0x1e4)](_0x26b31a);return _0x324705 instanceof _0x42a12a?_0x324705:null;}[_0x7105ae(0x4ef)](_0x14254d=!0x1){const _0x460e0b=_0x7105ae;if(this[_0x460e0b(0x3a7)]===null||this['_subUnitId']===null||this[_0x460e0b(0x338)]===null)return;let _0x2bce6b=this['_getActiveDrawingParam']();if((_0x2bce6b==null?void 0x0:_0x2bce6b[_0x460e0b(0x4c0)])!==_0x27c7af[_0x460e0b(0x301)][_0x460e0b(0x177)]||!_0x2bce6b[_0x460e0b(0x226)])return;let _0x5446a5=this[_0x460e0b(0x215)][_0x460e0b(0x484)](this[_0x460e0b(0x3a7)],this[_0x460e0b(0x3a8)],this['_activeShapeId']);if(!_0x5446a5||_0x5446a5['isLineShape']())return;let {left:_0x4b5efe=0x0,top:_0x20c961=0x0,width:_0x2bf1ca=0x0,height:_0x113311=0x0,flipX:_0x5a1b3c,flipY:_0x372dcc,angle:_0x678973=0x0}=_0x2bce6b[_0x460e0b(0x226)];(_0x14254d||!this[_0x460e0b(0x2b6)])&&(_0x5446a5['updateContext']({'width':_0x2bf1ca,'height':_0x113311}),this[_0x460e0b(0x2b6)]=_0x5446a5[_0x460e0b(0x322)]());let _0xc26eaa=this[_0x460e0b(0x2b6)];if(!(_0xc26eaa!=null&&_0xc26eaa[_0x460e0b(0x3bc)]))return;let {scene:_0x574c25}=this[_0x460e0b(0x41d)];for(let _0x11c74e of _0xc26eaa){let _0x3e2456=this[_0x460e0b(0x489)](_0x11c74e,_0x2bf1ca,_0x113311,!!_0x5a1b3c,!!_0x372dcc,_0x678973);this['_addShapeAdjustControl'](_0x574c25,_0x3e2456,_0x3e2456['adjName'],_0x4b5efe,_0x20c961,this[_0x460e0b(0x3a7)],this[_0x460e0b(0x3a8)]);}}[_0x7105ae(0x489)](_0x594767,_0x4a75f0,_0x2f3010,_0x1fa6d9,_0x3514ef,_0x2e7fb9){const _0x5beb4f=_0x7105ae;let _0x4d3a46=_0x594767['x'],_0x490b04=_0x594767['y'];if(_0x1fa6d9&&(_0x4d3a46=_0x4a75f0-_0x4d3a46),_0x3514ef&&(_0x490b04=_0x2f3010-_0x490b04),_0x2e7fb9!==0x0){let _0x3159b8=_0x4a75f0/0x2,_0x41f98b=_0x2f3010/0x2,_0x4eb5cb=_0x2e7fb9*Math['PI']/0xb4,_0x2ca7fa=Math[_0x5beb4f(0x2a9)](_0x4eb5cb),_0x35af62=Math[_0x5beb4f(0x24f)](_0x4eb5cb),_0x52f823=_0x4d3a46-_0x3159b8,_0x1a66c1=_0x490b04-_0x41f98b;_0x4d3a46=_0x3159b8+(_0x52f823*_0x2ca7fa-_0x1a66c1*_0x35af62),_0x490b04=_0x41f98b+(_0x52f823*_0x35af62+_0x1a66c1*_0x2ca7fa);}return{'x':_0x4d3a46,'y':_0x490b04,'adjName':_0x594767['adjName']};}[_0x7105ae(0x2bb)](_0x347d93=!0x1){const _0x2a10f8=_0x7105ae;_0x347d93&&this[_0x2a10f8(0x4c5)](),this[_0x2a10f8(0x4ef)](_0x347d93);}[_0x7105ae(0x480)](_0x34624d,_0x64ae82,_0x55316c,_0x35a5ff,_0x3ab89b,_0x2dc7ed,_0x23e02d){const _0x37bd67=_0x7105ae;if(!this[_0x37bd67(0x338)])return;let _0x5d946b=_0x37bd67(0x30f)+this[_0x37bd67(0x338)]+'-'+_0x55316c,_0x4dc3fb=_0x34624d[_0x37bd67(0x1e4)](_0x5d946b);if(_0x4dc3fb){_0x4dc3fb[_0x37bd67(0x294)]({'left':_0x64ae82['x']+_0x35a5ff-_0x2d76dd[_0x37bd67(0x48c)][_0x37bd67(0x221)],'top':_0x64ae82['y']+_0x3ab89b-_0x2d76dd[_0x37bd67(0x48c)]['adjHandleSize']}),_0x4dc3fb[_0x37bd67(0x321)](!0x0);return;}let _0x4664d8=new _0x41965c(_0x5d946b,{'left':_0x64ae82['x']+_0x35a5ff-_0x2d76dd[_0x37bd67(0x48c)][_0x37bd67(0x221)],'top':_0x64ae82['y']+_0x3ab89b-_0x2d76dd[_0x37bd67(0x48c)][_0x37bd67(0x221)],'adjName':_0x55316c,'shapeId':this[_0x37bd67(0x338)],'unitId':_0x2dc7ed,'subUnitId':_0x23e02d,'width':_0x2d76dd[_0x37bd67(0x48c)][_0x37bd67(0x221)]+0x8,'height':_0x2d76dd[_0x37bd67(0x48c)][_0x37bd67(0x221)]+0x8,'zIndex':_0x48e4a9[_0x37bd67(0x202)]+0x1,'evented':!0x0});this[_0x37bd67(0x236)]['push'](_0x4664d8),this[_0x37bd67(0x258)](_0x4664d8,_0x34624d,_0x55316c),_0x34624d['addObject'](_0x4664d8,_0x48e4a9['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x7105ae(0x4c5)](){const _0x3d75f3=_0x7105ae;this['_adjustPointObjects'][_0x3d75f3(0x2b9)](_0x599edc=>_0x599edc[_0x3d75f3(0x49d)]()),this[_0x3d75f3(0x236)]=[];}[_0x7105ae(0x476)](){this['_createShapeAdjustControls']();}[_0x7105ae(0x278)](_0x434c30,_0x1f3d2b,_0x2d07eb){const _0x1805ce=_0x7105ae;let _0x3b164d=_0x48e4a9[_0x1805ce(0x3ca)][_0x1805ce(0x3ef)]([_0x1f3d2b,_0x2d07eb]),_0x6d2544=_0x434c30[_0x1805ce(0x1bf)](_0x3b164d)??_0x434c30['getViewports']()[0x0];return(_0x6d2544==null?void 0x0:_0x6d2544[_0x1805ce(0x2b3)](_0x3b164d))??_0x3b164d;}[_0x7105ae(0x258)](_0x50b388,_0x27a52d,_0x161656){const _0x19b4cb=_0x7105ae;this[_0x19b4cb(0x346)]((0x0,_0x27c7af[_0x19b4cb(0x32e)])(_0x50b388['onPointerDown$'][_0x19b4cb(0x2d7)]((_0x3491e0,_0xf45dda)=>{const _0x17a48c=_0x19b4cb;var _0xe6d20d;let _0x267314=_0x50b388[_0x17a48c(0x2af)]();this['_activeAdjustInfo']=this['_getShapeAdjustInfosById'](_0x267314[_0x17a48c(0x327)],_0x267314[_0x17a48c(0x3c2)],_0x267314[_0x17a48c(0x198)],_0x161656),this['_activeShapeModel']=this[_0x17a48c(0x215)][_0x17a48c(0x484)](_0x267314[_0x17a48c(0x327)],_0x267314[_0x17a48c(0x3c2)],_0x267314[_0x17a48c(0x198)]);let _0x269377=this['_getActiveDrawingParam'](),_0x2ffca1=_0x269377==null?void 0x0:_0x269377[_0x17a48c(0x226)];if(!_0x269377||!_0x2ffca1||!this[_0x17a48c(0x2b5)])return;this['_baseShapeLeft']=_0x2ffca1[_0x17a48c(0x3e3)]||0x0,this[_0x17a48c(0x4d4)]=_0x2ffca1[_0x17a48c(0x204)]||0x0,this[_0x17a48c(0x310)]=_0x2ffca1[_0x17a48c(0x1ad)]||0x0,this[_0x17a48c(0x40b)]=_0x2ffca1[_0x17a48c(0x48d)]||0x0;let _0x1ba9c0=!!_0x2ffca1['flipX'],_0x4efc65=!!_0x2ffca1[_0x17a48c(0x4ac)],_0x2ab6ff=_0x2ffca1[_0x17a48c(0x30d)]||0x0,_0x92e242={...((_0xe6d20d=this[_0x17a48c(0x223)])==null?void 0x0:_0xe6d20d[_0x17a48c(0x33e)])??{}};this[_0x17a48c(0x45c)]=!0x0,_0x27a52d[_0x17a48c(0x22b)](),this[_0x17a48c(0x445)]=_0x27a52d['onPointerMove$'][_0x17a48c(0x2d7)]((_0x2eaf90,_0x4b018a)=>{const _0x300a4e=_0x17a48c;var _0x458f18;if(!this['_isStartAdjusting']||!this[_0x300a4e(0x2b5)]||!this[_0x300a4e(0x223)])return;_0x27a52d[_0x300a4e(0x22b)](),_0x27a52d[_0x300a4e(0x190)](_0x48e4a9[_0x300a4e(0x1c1)][_0x300a4e(0x3dd)]);let _0x84e1f3=this[_0x300a4e(0x278)](_0x27a52d,_0x2eaf90['offsetX'],_0x2eaf90['offsetY']),_0x3e951a=_0x84e1f3['x']-this[_0x300a4e(0x2e8)],_0x2513c2=_0x84e1f3['y']-this[_0x300a4e(0x4d4)];if(_0x2ab6ff!==0x0){let _0x8fa745=this['_baseShapeWidth']/0x2,_0x5c10ab=this[_0x300a4e(0x40b)]/0x2,_0x3f0d76=_0x2ab6ff*Math['PI']/0xb4,_0x126f0=Math['cos'](_0x3f0d76),_0x4e5c65=Math[_0x300a4e(0x24f)](_0x3f0d76),_0x24153c=_0x3e951a-_0x8fa745,_0x50b509=_0x2513c2-_0x5c10ab;_0x3e951a=_0x8fa745+(_0x24153c*_0x126f0+_0x50b509*_0x4e5c65),_0x2513c2=_0x5c10ab+(-_0x24153c*_0x4e5c65+_0x50b509*_0x126f0);}_0x1ba9c0&&(_0x3e951a=this[_0x300a4e(0x310)]-_0x3e951a),_0x4efc65&&(_0x2513c2=this['_baseShapeHeight']-_0x2513c2);let _0x318f70={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x300a4e(0x40b)]},_0x4ae0b9=this[_0x300a4e(0x2b5)][_0x300a4e(0x28a)](_0x318f70,{'x':_0x3e951a,'y':_0x2513c2},this[_0x300a4e(0x223)],_0x1ba9c0,_0x4efc65);if(Object['keys'](_0x4ae0b9)[_0x300a4e(0x3bc)]!==0x0){for(let [_0xe94956,_0x24043b]of Object['entries'](_0x4ae0b9))this[_0x300a4e(0x2b5)][_0x300a4e(0x18c)](_0xe94956,_0x24043b);this[_0x300a4e(0x2b5)]['updateContext']({'width':this[_0x300a4e(0x310)],'height':this['_baseShapeHeight']}),(_0x458f18=this[_0x300a4e(0x1f5)](_0x27a52d))==null||_0x458f18[_0x300a4e(0x321)](!0x0),this['_activeShapeAdjustPointList']=this[_0x300a4e(0x1cf)](_0x267314['unitId'],_0x267314[_0x300a4e(0x3c2)],_0x267314[_0x300a4e(0x198)]),this[_0x300a4e(0x476)](),_0x4b018a['stopPropagation']();}}),this['_adjHandlerPointerUp']=_0x27a52d[_0x17a48c(0x287)][_0x17a48c(0x2d7)]((_0x4e528e,_0x97183a)=>{const _0x29148c=_0x17a48c;var _0x1742de,_0x3ce17c;(_0x1742de=this[_0x29148c(0x445)])==null||_0x1742de['unsubscribe'](),(_0x3ce17c=this[_0x29148c(0x21d)])==null||_0x3ce17c[_0x29148c(0x508)](),_0x27a52d[_0x29148c(0x4b2)]();let _0x2acf09=this[_0x29148c(0x223)];if(_0x2acf09&&this[_0x29148c(0x2b5)]){let _0x23dac6={};for(let _0x30be6d of Object[_0x29148c(0x2fd)](_0x2acf09[_0x29148c(0x33e)])){let _0x6cf3df=this[_0x29148c(0x2b5)][_0x29148c(0x271)](_0x30be6d);_0x6cf3df!==void 0x0&&(_0x23dac6[_0x30be6d]=_0x6cf3df);}Object[_0x29148c(0x2fd)](_0x23dac6)['length']>0x0&&_0x191420(this[_0x29148c(0x335)],_0x267314[_0x29148c(0x327)],_0x267314['subUnitId'],_0x267314[_0x29148c(0x198)],{'oldShapeData':{'adjustValues':_0x92e242}},{'adjustValues':_0x23dac6});}this['_activeAdjustInfo']=void 0x0,this[_0x29148c(0x2b5)]=void 0x0,this[_0x29148c(0x45c)]=!0x1,_0x27a52d[_0x29148c(0x4e7)](),_0x97183a[_0x29148c(0x24c)]();}),_0xf45dda[_0x17a48c(0x24c)]();})));}[_0x7105ae(0x17e)](){const _0x3d9e1b=_0x7105ae;let {scene:_0x487502}=this['_context'],_0x1c56be=_0x487502[_0x3d9e1b(0x356)]();this['disposeWithMe'](_0x1c56be[_0x3d9e1b(0x4d6)]['subscribe'](_0x4606f8=>{const _0x388e2c=_0x3d9e1b;this[_0x388e2c(0x4ef)](),_0x4606f8[_0x388e2c(0x38c)]!==null&&_0x4606f8[_0x388e2c(0x38c)][_0x388e2c(0x22f)]===0x1&&_0x4606f8['objects'][_0x388e2c(0x26e)]()['next']()[_0x388e2c(0x39d)]instanceof _0x42a12a&&(this[_0x388e2c(0x1cb)]=!0x0);})),this[_0x3d9e1b(0x346)](_0x1c56be['changing$']['subscribe'](()=>{const _0x556610=_0x3d9e1b;this[_0x556610(0x1cb)]&&this[_0x556610(0x4c5)]();})),this['disposeWithMe'](_0x487502[_0x3d9e1b(0x287)][_0x3d9e1b(0x2d7)](()=>{const _0x5757be=_0x3d9e1b;this[_0x5757be(0x1cb)]&&(this[_0x5757be(0x1cb)]=!0x1,this[_0x5757be(0x4ef)]());})),this['disposeWithMe'](_0x1c56be[_0x3d9e1b(0x453)][_0x3d9e1b(0x197)](()=>{const _0x22dda3=_0x3d9e1b;this['_unitId']&&this[_0x22dda3(0x3a8)]&&this[_0x22dda3(0x338)]&&(this['_activeShapeAdjustPointList']=this[_0x22dda3(0x1cf)](this[_0x22dda3(0x3a7)],this['_subUnitId'],this[_0x22dda3(0x338)]),this[_0x22dda3(0x476)]());}));}[_0x7105ae(0x347)](){const _0xd7f971=_0x7105ae;this['disposeWithMe'](this['_commandService'][_0xd7f971(0x249)](_0x28fdc4=>{const _0x3b67b9=_0xd7f971;if(_0x28fdc4['id']!==_0x4593cd[_0x3b67b9(0x1a4)]['id'])return;let {unitId:_0x4bd2d0,shapeId:_0x568c15}=_0x28fdc4[_0x3b67b9(0x488)];_0x4bd2d0===this[_0x3b67b9(0x3a7)]&&_0x568c15===this[_0x3b67b9(0x338)]&&this['refreshAdjustControls']();})),this['disposeWithMe'](this[_0xd7f971(0x251)][_0xd7f971(0x25e)]['subscribe'](_0x45d35b=>{const _0x25f3ae=_0xd7f971;if(_0x45d35b[_0x25f3ae(0x3bc)]===0x1){let _0x5c2f05=_0x45d35b[0x0],_0x5523ba=this['_drawingManagerService'][_0x25f3ae(0x4ae)](_0x5c2f05);if((_0x5523ba==null?void 0x0:_0x5523ba[_0x25f3ae(0x4c0)])===_0x27c7af['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x25f3ae(0x338)]=_0x5c2f05[_0x25f3ae(0x198)],this[_0x25f3ae(0x3a7)]=_0x5c2f05[_0x25f3ae(0x327)],this[_0x25f3ae(0x3a8)]=_0x5c2f05[_0x25f3ae(0x3c2)],this[_0x25f3ae(0x2b6)]=this[_0x25f3ae(0x1cf)](_0x5c2f05['unitId'],_0x5c2f05[_0x25f3ae(0x3c2)],_0x5c2f05['drawingId']),this[_0x25f3ae(0x4c5)](),this[_0x25f3ae(0x4ef)]();return;}}this[_0x25f3ae(0x338)]=null,this[_0x25f3ae(0x2b6)]=void 0x0,this[_0x25f3ae(0x3a7)]=null,this[_0x25f3ae(0x3a8)]=null,this[_0x25f3ae(0x4c5)]();})),this[_0xd7f971(0x346)]((0x0,_0x2b0fcd['merge'])(this[_0xd7f971(0x251)]['update$'],this[_0xd7f971(0x251)]['refreshTransform$'])[_0xd7f971(0x197)](_0x285b2a=>{const _0x45e689=_0xd7f971;var _0x445cab;let _0x315492=_0x285b2a[_0x45e689(0x295)](_0x23b6b4=>_0x23b6b4[_0x45e689(0x198)]===this[_0x45e689(0x338)]&&_0x23b6b4[_0x45e689(0x327)]===this['_unitId']&&_0x23b6b4[_0x45e689(0x3c2)]===this[_0x45e689(0x3a8)]);_0x315492&&((_0x445cab=this[_0x45e689(0x251)][_0x45e689(0x4ae)](_0x315492))==null?void 0x0:_0x445cab[_0x45e689(0x4c0)])===_0x27c7af['DrawingTypeEnum']['DRAWING_SHAPE']&&this[_0x45e689(0x2bb)](!0x0);})),this[_0xd7f971(0x346)](this[_0xd7f971(0x251)][_0xd7f971(0x2d3)][_0xd7f971(0x197)](_0x239252=>{const _0x13f3bc=_0xd7f971;for(let _0x4355f7 of _0x239252)this[_0x13f3bc(0x338)]===_0x4355f7['drawingId']&&(this[_0x13f3bc(0x338)]=null,this[_0x13f3bc(0x2b6)]=void 0x0,this[_0x13f3bc(0x3a7)]=null,this[_0x13f3bc(0x3a8)]=null,this[_0x13f3bc(0x4c5)]());}));}};_0x208ab6=_0x21f5d0([_0xb8d662(0x1,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x2,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x4593cd[_0x7105ae(0x2a0)])),_0xb8d662(0x3,_0x27c7af['ICommandService'])],_0x208ab6);let _0x26fbf4=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x25b037,_0x4dc8b6){const _0x11d17f=_0x7105ae;super(),this[_0x11d17f(0x2e5)]=_0x25b037,this[_0x11d17f(0x468)]=_0x4dc8b6,_0x35ae83(this,_0x11d17f(0x454),new _0x2b0fcd[(_0x11d17f(0x1c2))](null)),_0x35ae83(this,'editingParams$',this['_editingParams$'][_0x11d17f(0x2a5)]()),_0x35ae83(this,_0x11d17f(0x386),new _0x2b0fcd[(_0x11d17f(0x1c2))](!0x1)),_0x35ae83(this,'onSavingEditorData$',this[_0x11d17f(0x386)][_0x11d17f(0x2a5)]()),_0x35ae83(this,_0x11d17f(0x37f),void 0x0),this[_0x11d17f(0x346)](this[_0x11d17f(0x2e5)][_0x11d17f(0x24e)]['subscribe'](()=>{const _0x16d391=_0x11d17f;let _0x1e0b28=this[_0x16d391(0x3c0)]();_0x1e0b28!=null&&_0x1e0b28[_0x16d391(0x260)]&&!this[_0x16d391(0x26b)](_0x1e0b28)&&this[_0x16d391(0x19d)](null);}));}[_0x7105ae(0x49d)](){const _0xc40e13=_0x7105ae;this[_0xc40e13(0x241)](),this[_0xc40e13(0x454)][_0xc40e13(0x41a)](null),this[_0xc40e13(0x454)][_0xc40e13(0x407)](),this[_0xc40e13(0x386)][_0xc40e13(0x41a)](!0x1),this['_onSavingEditorData$']['complete'](),super['dispose']();}[_0x7105ae(0x19d)](_0x1e37fd){const _0x44c5a1=_0x7105ae;(_0x1e37fd==null||!_0x1e37fd[_0x44c5a1(0x260)]||this['_canEdit'](_0x1e37fd))&&(this[_0x44c5a1(0x241)](),this[_0x44c5a1(0x454)][_0x44c5a1(0x41a)](_0x1e37fd),(_0x1e37fd==null||_0x1e37fd[_0x44c5a1(0x260)]&&this[_0x44c5a1(0x386)][_0x44c5a1(0x1a2)]())&&this[_0x44c5a1(0x386)][_0x44c5a1(0x41a)](!0x1));}[_0x7105ae(0x4e5)](_0x4e7971){const _0x52d572=_0x7105ae;this[_0x52d572(0x386)][_0x52d572(0x41a)](_0x4e7971);}[_0x7105ae(0x3c0)](){const _0x340917=_0x7105ae;return this[_0x340917(0x454)]['getValue']();}[_0x7105ae(0x26b)](_0x51ab4b){const _0x52b451=_0x7105ae;let _0x439888=this['_instanceService'][_0x52b451(0x44e)](_0x51ab4b[_0x52b451(0x327)],_0x27c7af[_0x52b451(0x462)][_0x52b451(0x50e)]);if(!_0x439888)return!0x0;let _0x73007f=(0x0,_0x374e66[_0x52b451(0x2f3)])(_0x439888,_0x51ab4b[_0x52b451(0x289)]);return(0x0,_0x374e66[_0x52b451(0x4b7)])(this[_0x52b451(0x2e5)],_0x51ab4b[_0x52b451(0x327)],[...(0x0,_0x374e66[_0x52b451(0x44d)])(_0x439888,_0x73007f,'drawing',_0x51ab4b[_0x52b451(0x289)]),(0x0,_0x374e66[_0x52b451(0x4d0)])(_0x73007f,_0x52b451(0x425),_0x51ab4b['shapeId'])]);}['completeEditing'](_0x3cf457){const _0xb7f701=_0x7105ae;let _0x38c8e7=this['getEditing']();_0x38c8e7&&this['_completionFrame']===void 0x0&&(this['setOnSavingEditorData'](!0x0),this[_0xb7f701(0x37f)]=requestAnimationFrame(()=>{const _0x1cb312=_0xb7f701;this[_0x1cb312(0x37f)]=void 0x0,this[_0x1cb312(0x3c0)]()===_0x38c8e7&&this[_0x1cb312(0x19d)](null);}));}[_0x7105ae(0x241)](){const _0x2d5aad=_0x7105ae;this[_0x2d5aad(0x37f)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this['_completionFrame']=void 0x0);}[_0x7105ae(0x3b1)](){const _0xe30a83=_0x7105ae;this[_0xe30a83(0x3c0)]()&&this['setEditing'](null);}};_0x26fbf4=_0x21f5d0([_0xb8d662(0x0,_0x27c7af[_0x7105ae(0x359)]),_0xb8d662(0x1,_0x27c7af[_0x7105ae(0x4f8)])],_0x26fbf4);function _0x201691(_0x58cf85){const _0x5e73b6=_0x7105ae;return _0x58cf85[_0x5e73b6(0x191)]===!0x0||_0x58cf85['behindText']===_0x27c7af['BooleanNumber'][_0x5e73b6(0x3bd)]||_0x58cf85[_0x5e73b6(0x201)]===_0x27c7af[_0x5e73b6(0x2df)][_0x5e73b6(0x2b7)]&&_0x58cf85[_0x5e73b6(0x451)]===_0x27c7af[_0x5e73b6(0x3f5)][_0x5e73b6(0x3bd)]?_0x43e864[_0x5e73b6(0x2a7)]-0x1:_0x48e4a9[_0x5e73b6(0x202)];}let _0xf4964f=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x156c58,_0xba756e,_0x10fd5f,_0x382fc0,_0x49a25b,_0x560626,_0x512948){const _0x4a3cb5=_0x7105ae;super(),this[_0x4a3cb5(0x251)]=_0x156c58,this[_0x4a3cb5(0x215)]=_0xba756e,this[_0x4a3cb5(0x423)]=_0x10fd5f,this[_0x4a3cb5(0x3fe)]=_0x382fc0,this[_0x4a3cb5(0x2c3)]=_0x49a25b,this['_shapeTextEditingService']=_0x560626,this[_0x4a3cb5(0x1f0)]=_0x512948,_0x35ae83(this,_0x4a3cb5(0x49f),new Map()),this[_0x4a3cb5(0x346)](this[_0x4a3cb5(0x1f0)][_0x4a3cb5(0x2e1)]['subscribe'](_0x2d7e49=>{const _0x391d78=_0x4a3cb5;var _0x5893dc;(_0x5893dc=this[_0x391d78(0x49f)]['get'](this[_0x391d78(0x1f9)](_0x2d7e49[_0x391d78(0x327)],_0x2d7e49[_0x391d78(0x3c2)],_0x2d7e49[_0x391d78(0x289)])))==null||_0x5893dc[_0x391d78(0x2b9)](_0x2bfca1=>_0x2bfca1['setFormulaPresentation'](_0x2d7e49[_0x391d78(0x329)],_0x2d7e49[_0x391d78(0x332)]));})),this[_0x4a3cb5(0x346)](this[_0x4a3cb5(0x251)][_0x4a3cb5(0x2d3)][_0x4a3cb5(0x197)](_0x5843c4=>{const _0xe5b4d7=_0x4a3cb5;_0x5843c4[_0xe5b4d7(0x2b9)](_0xc47268=>{const _0xa5df3f=_0xe5b4d7;this[_0xa5df3f(0x1f0)][_0xa5df3f(0x23a)]({'unitId':_0xc47268[_0xa5df3f(0x327)],'subUnitId':_0xc47268['subUnitId'],'shapeId':_0xc47268[_0xa5df3f(0x198)]}),this[_0xa5df3f(0x49f)][_0xa5df3f(0x46c)](this[_0xa5df3f(0x1f9)](_0xc47268[_0xa5df3f(0x327)],_0xc47268[_0xa5df3f(0x3c2)],_0xc47268[_0xa5df3f(0x198)]));});}));}[_0x7105ae(0x50a)](_0x9dbd16,_0x51d2b6){const _0x8127de=_0x7105ae;let {transform:_0x105c96,drawingType:_0x3130af,srcRect:_0x26ac49,prstGeom:_0x40afc1,groupId:_0x111696,unitId:_0x40ad48,subUnitId:_0x3e079d,drawingId:_0xfc3885,isMultiTransform:_0x925a1d,transforms:_0x273bdc,hidden:_0x58f7ea,selectable:_0x5c4b59}=_0x9dbd16;if(_0x3130af!==_0x27c7af['DrawingTypeEnum'][_0x8127de(0x177)]||!this[_0x8127de(0x251)]['getDrawingVisible']()||_0x105c96==null)return;let _0x311231=this[_0x8127de(0x251)][_0x8127de(0x30e)](),_0x585094=_0x925a1d&&_0x273bdc?_0x273bdc:[_0x105c96],_0x14cd60=[];for(let [_0xe95ad,_0x2b4df7]of _0x585094['entries']()){let {left:_0x5ed150,top:_0x23a990,width:_0x36aa9e,height:_0x351790,angle:_0x12bd36,flipX:_0x116613,flipY:_0x1ffc76,skewX:_0x48b6cb,skewY:_0x1d75c1}=_0x2b4df7,_0x2e0b01=(0x0,_0x2ead9f[_0x8127de(0x1d6)])({'unitId':_0x40ad48,'subUnitId':_0x3e079d,'drawingId':_0xfc3885},_0x925a1d?_0xe95ad:void 0x0),_0x55c692=_0x51d2b6[_0x8127de(0x1e4)](_0x2e0b01);if(_0x55c692!=null){let _0x57c9b2={'unitId':_0x40ad48,'subUnitId':_0x3e079d,'shapeId':_0xfc3885};_0x55c692 instanceof _0x42a12a&&this['refreshFormulaPresentation'](_0x55c692,_0x57c9b2),_0x55c692[_0x8127de(0x294)]({'left':_0x5ed150,'top':_0x23a990,'width':_0x36aa9e,'height':_0x351790,'angle':_0x12bd36,'flipX':_0x116613,'flipY':_0x1ffc76,'skewX':_0x48b6cb,'skewY':_0x1d75c1});continue;}let _0x50c8b2=this[_0x8127de(0x251)][_0x8127de(0x1e7)](_0x40ad48,_0x3e079d),_0x2bdfd8=_0x50c8b2[_0x8127de(0x4bd)](_0xfc3885);if(_0x51d2b6[_0x8127de(0x1e4)](_0x2e0b01)||!this[_0x8127de(0x251)]['getDrawingVisible']())continue;let _0x49883d=this[_0x8127de(0x215)][_0x8127de(0x484)](_0x40ad48,_0x3e079d,_0xfc3885);if(!_0x49883d)continue;let _0x540824=(0x0,_0x2d76dd[_0x8127de(0x25b)])(_0x49883d[_0x8127de(0x2a1)]())?{..._0x1e943b['SHAPE_EDITOR_TRANSFORMER_CONFIG'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x1e943b[_0x8127de(0x1ba)],_0x1d7ebb=_0x49883d[_0x8127de(0x2c1)]()[_0x8127de(0x511)],_0x26346={'unitId':_0x40ad48,'subUnitId':_0x3e079d,'shapeId':_0xfc3885};_0x1d7ebb&&this['_shapeFormulaService'][_0x8127de(0x3fa)](_0x26346,_0x1d7ebb);let _0x761f89=new _0x42a12a(_0x2e0b01,{..._0x2b4df7,'zIndex':_0x2bdfd8===-0x1?_0x50c8b2[_0x8127de(0x3bc)]-0x1:_0x2bdfd8,'shapeModel':_0x49883d,'localeService':this[_0x8127de(0x423)],'shapeId':_0xfc3885,'unitId':_0x40ad48,'subUnitId':_0x3e079d,'visible':_0x58f7ea!==!0x0,'evented':_0x5c4b59!==!0x1,'formulaPresentation':_0x1d7ebb?this['_shapeFormulaService'][_0x8127de(0x1e5)](_0x26346):void 0x0,'animateFormulaPresentation':(_0x1d7ebb==null?void 0x0:_0x1d7ebb[_0x8127de(0x332)])!==!0x1,'transformerConfig':_0x540824});if(_0x1d7ebb){let _0x202207=this['_formulaKey'](_0x40ad48,_0x3e079d,_0xfc3885),_0x4499fb=this[_0x8127de(0x49f)][_0x8127de(0x457)](_0x202207)??new Set();_0x4499fb['add'](_0x761f89),this[_0x8127de(0x49f)][_0x8127de(0x432)](_0x202207,_0x4499fb);}this['disposeWithMe']((0x0,_0x27c7af[_0x8127de(0x32e)])(_0x761f89[_0x8127de(0x3f0)][_0x8127de(0x2d7)]((_0x19c62d,_0x4ee566)=>{const _0x45a192=_0x8127de;_0x49883d[_0x45a192(0x285)]()||_0x1d7ebb||(this[_0x45a192(0x17d)][_0x45a192(0x19d)]({'visible':!0x0,'unitId':_0x40ad48,'subUnitId':_0x3e079d,'shapeId':_0xfc3885,'shapeKey':_0x761f89[_0x45a192(0x40a)]}),_0x4ee566[_0x45a192(0x24c)]());}))),_0x51d2b6[_0x8127de(0x463)](_0x761f89,_0x201691(_0x9dbd16)),_0x311231&&_0x51d2b6[_0x8127de(0x490)](_0x761f89),_0x111696&&(0x0,_0x535004[_0x8127de(0x42f)])({'drawingId':_0x111696,'unitId':_0x40ad48,'subUnitId':_0x3e079d},_0x761f89,_0x51d2b6,this[_0x8127de(0x251)],_0x925a1d?_0xe95ad:void 0x0),_0x40afc1!=null&&_0x761f89[_0x8127de(0x238)](_0x40afc1),_0x26ac49!=null&&_0x761f89['setSrcRect'](_0x26ac49),this[_0x8127de(0x2f4)](_0x761f89,_0x49883d[_0x8127de(0x2c1)]()),_0x14cd60[_0x8127de(0x4ce)](_0x761f89);}return _0x14cd60;}[_0x7105ae(0x1f9)](_0x24f586,_0x12889c,_0x3bd77a){return _0x24f586+'\x00'+_0x12889c+'\x00'+_0x3bd77a;}[_0x7105ae(0x1eb)](_0x56990c,_0x5b7729){const _0x11d10d=_0x7105ae;let _0x2daaf1=this[_0x11d10d(0x215)]['getShapeModel'](_0x5b7729[_0x11d10d(0x327)],_0x5b7729[_0x11d10d(0x3c2)],_0x5b7729['shapeId']),_0x1c93b8=_0x2daaf1==null?void 0x0:_0x2daaf1[_0x11d10d(0x2c1)]()[_0x11d10d(0x511)],_0x45e55c=this[_0x11d10d(0x1f9)](_0x5b7729[_0x11d10d(0x327)],_0x5b7729[_0x11d10d(0x3c2)],_0x5b7729[_0x11d10d(0x289)]);if(_0x1c93b8){this[_0x11d10d(0x1f0)]['register'](_0x5b7729,_0x1c93b8);let _0x3af36f=this[_0x11d10d(0x49f)][_0x11d10d(0x457)](_0x45e55c)??new Set();_0x3af36f['add'](_0x56990c),this[_0x11d10d(0x49f)][_0x11d10d(0x432)](_0x45e55c,_0x3af36f);}else{var _0x3e7927;this[_0x11d10d(0x1f0)]['unregister'](_0x5b7729),(_0x3e7927=this[_0x11d10d(0x49f)][_0x11d10d(0x457)](_0x45e55c))==null||_0x3e7927[_0x11d10d(0x46c)](_0x56990c);}_0x56990c[_0x11d10d(0x392)](_0x1c93b8?this[_0x11d10d(0x1f0)]['getPresentation'](_0x5b7729):void 0x0,(_0x1c93b8==null?void 0x0:_0x1c93b8['animationEnabled'])!==!0x1);}[_0x7105ae(0x403)](_0x13c7b5){const _0x24801f=_0x7105ae;let _0x40623e=_0x13c7b5[_0x24801f(0x376)][_0x24801f(0x2c1)](),_0x3d8fad=_0x40623e[_0x24801f(0x44c)];if(!_0x3d8fad||_0x3d8fad['fillType']!==_0x2d76dd[_0x24801f(0x4e3)][_0x24801f(0x41f)]||!_0x3d8fad[_0x24801f(0x472)]){_0x13c7b5[_0x24801f(0x2e7)](void 0x0);return;}this['_loadShapePictureFill'](_0x13c7b5,_0x40623e);}[_0x7105ae(0x2f4)](_0x15fc75,_0x1657f8){const _0x842fde=_0x7105ae;let _0x19ed57=_0x1657f8['fill'];if(!_0x19ed57||_0x19ed57[_0x842fde(0x4f6)]!==_0x2d76dd[_0x842fde(0x4e3)][_0x842fde(0x41f)]||!_0x19ed57[_0x842fde(0x472)])return;let _0x2ece9d=_0x19ed57[_0x842fde(0x472)],_0xa555a8=_0x19ed57[_0x842fde(0x3e5)]??_0x2d76dd[_0x842fde(0x307)]['URL'],_0x422960=this[_0x842fde(0x3fe)][_0x842fde(0x487)](_0x2ece9d,_0xa555a8);if(_0x422960){_0x15fc75[_0x842fde(0x2e7)](_0x422960);return;}this['_loadAndSetImage'](_0x15fc75,_0x2ece9d,_0xa555a8);}async[_0x7105ae(0x3cb)](_0x49862b,_0x9aca71,_0x332a1c){const _0x13030e=_0x7105ae;let _0x178d4c;try{if(_0x332a1c===_0x2d76dd[_0x13030e(0x307)][_0x13030e(0x4a2)])_0x178d4c=await this['_imageIoService']['getImage'](_0x9aca71);else{if(_0x332a1c===_0x2d76dd[_0x13030e(0x307)][_0x13030e(0x17c)])try{_0x178d4c=await this[_0x13030e(0x2c3)]['getImage'](_0x9aca71);}catch{_0x178d4c=_0x9aca71;}else _0x178d4c=_0x9aca71;}}catch(_0xa2c9bb){console['error']('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0xa2c9bb);return;}let _0x3f0ea4=new window['Image']();_0x3f0ea4[_0x13030e(0x509)]=()=>{const _0x1a1b0a=_0x13030e;this[_0x1a1b0a(0x3fe)][_0x1a1b0a(0x50f)](_0x9aca71,_0x332a1c,_0x3f0ea4),_0x49862b[_0x1a1b0a(0x2e7)](_0x3f0ea4);},_0x3f0ea4['onerror']=()=>{const _0x9bf62b=_0x13030e;console[_0x9bf62b(0x293)](_0x9bf62b(0x186),_0x9aca71);},_0x3f0ea4[_0x13030e(0x36f)]=_0x178d4c;}};_0xf4964f=_0x21f5d0([_0xb8d662(0x0,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x4593cd[_0x7105ae(0x2a0)])),_0xb8d662(0x2,(0x0,_0x27c7af['Inject'])(_0x27c7af[_0x7105ae(0x27e)])),_0xb8d662(0x3,_0x27c7af[_0x7105ae(0x355)]),_0xb8d662(0x4,_0x27c7af['IURLImageService']),_0xb8d662(0x5,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4)),_0xb8d662(0x6,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x35f25f[_0x7105ae(0x272)]))],_0xf4964f);let _0x48f705=class extends _0x27c7af['Disposable']{constructor(_0x18217f,_0x239d7f,_0x3f7ab0){const _0x243075=_0x7105ae;super(),this[_0x243075(0x21c)]=_0x18217f,this[_0x243075(0x251)]=_0x239d7f,this[_0x243075(0x22c)]=_0x3f7ab0,this[_0x243075(0x31f)]();}[_0x7105ae(0x31f)](){const _0x2167a2=_0x7105ae;this[_0x2167a2(0x346)](this[_0x2167a2(0x21c)]['interceptor']['intercept'](this[_0x2167a2(0x21c)][_0x2167a2(0x309)][_0x2167a2(0x4df)]()[_0x2167a2(0x43c)],{'handler':(_0x983012,_0x2b6a53,_0x303be1)=>{const _0x488a51=_0x2167a2;var _0x559d54;let {unitId:_0x4dadbe,scene:_0x55c659,skeleton:_0x47c0a6}=_0x2b6a53,{pageIndex:_0x332d38}=_0x2b6a53,_0x466613=(_0x559d54=this[_0x488a51(0x251)][_0x488a51(0x2ee)](_0x4dadbe))==null?void 0x0:_0x559d54[_0x4dadbe],_0x1b020f=_0x1c2a46(this[_0x488a51(0x21c)],_0x47c0a6,_0x332d38);return _0x466613==null||_0x466613[_0x488a51(0x357)]['forEach'](_0x4a5673=>{const _0x3ac9e2=_0x488a51;if(_0x1b020f&&!_0x1b020f[_0x3ac9e2(0x3d9)](_0x4a5673))return;let _0x2e7565=_0x466613[_0x3ac9e2(0x475)][_0x4a5673];_0x2e7565[_0x3ac9e2(0x4c0)]===_0x27c7af[_0x3ac9e2(0x301)][_0x3ac9e2(0x177)]&&!_0x2e7565['hidden']&&this['_shapeRenderController'][_0x3ac9e2(0x50a)](_0x2e7565,_0x55c659);}),_0x303be1(_0x983012);}}));}};_0x48f705=_0x21f5d0([_0xb8d662(0x0,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864['DocPrintInterceptorService'])),_0xb8d662(0x1,_0x2ead9f['IDrawingManagerService']),_0xb8d662(0x2,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0xf4964f))],_0x48f705);function _0x1c2a46(_0x34743c,_0x307721,_0x42bd38){const _0xdd2dce=_0x7105ae;var _0x24f6ba,_0x49524c;let _0x4713e2=_0x34743c;if(_0x4713e2[_0xdd2dce(0x50c)])return _0x4713e2[_0xdd2dce(0x50c)](_0x307721,_0x42bd38);let _0x59eba0=_0x307721[_0xdd2dce(0x4ec)]();if(!_0x59eba0||_0x59eba0[_0xdd2dce(0x3eb)][_0xdd2dce(0x3bc)]<=0x1||_0x42bd38==null)return null;let _0x475e19=new Set(),_0x556a06=_0x59eba0['pages'][_0x42bd38];if(!_0x556a06)return _0x475e19;_0x465366(_0x556a06,_0x475e19);let _0x1c60d0=(_0x24f6ba=_0x59eba0[_0xdd2dce(0x2ad)][_0xdd2dce(0x457)](_0x556a06[_0xdd2dce(0x431)]))==null?void 0x0:_0x24f6ba[_0xdd2dce(0x457)](_0x556a06[_0xdd2dce(0x336)]),_0x222674=(_0x49524c=_0x59eba0[_0xdd2dce(0x4a6)]['get'](_0x556a06[_0xdd2dce(0x4c3)]))==null?void 0x0:_0x49524c[_0xdd2dce(0x457)](_0x556a06['pageWidth']);return _0x1c60d0&&_0x465366(_0x1c60d0,_0x475e19),_0x222674&&_0x465366(_0x222674,_0x475e19),_0x475e19;}function _0x465366(_0x3235d1,_0x476f7c){const _0x5a7cca=_0x7105ae;for(let _0x291a8e of _0x3235d1['skeDrawings'][_0x5a7cca(0x2fd)]())_0x476f7c[_0x5a7cca(0x21b)](_0x291a8e);for(let _0x158d3b of _0x3235d1['skeTables'][_0x5a7cca(0x26e)]())for(let _0x2f6595 of _0x158d3b['rows'])for(let _0x500fb6 of _0x2f6595[_0x5a7cca(0x2e0)])_0x465366(_0x500fb6,_0x476f7c);}function _0x34811d({ref:_0x106e40,..._0x31f371}){const _0x1132ab=_0x7105ae;let {preserveStrokeWidth:_0x94e27e,icon:_0xf8116f,id:_0x156807,className:_0x20f03c,extend:_0x29f054,..._0x4c62aa}=_0x31f371,_0xca6dec=(_0x1132ab(0x4c9)+_0x156807+'\x20'+(_0x20f03c||''))[_0x1132ab(0x34d)](),_0x5e7eed='_'+(0x0,_0xfdbdbb[_0x1132ab(0x26c)])(),_0x26d7ad=(0x0,_0xfdbdbb[_0x1132ab(0x2e9)])(null);return(0x0,_0xfdbdbb[_0x1132ab(0x438)])(_0x106e40,()=>_0x26d7ad[_0x1132ab(0x1f8)]),(0x0,_0xfdbdbb[_0x1132ab(0x494)])(()=>{const _0x2ca6d5=_0x1132ab;if(_0x94e27e&&_0x26d7ad['current']&&_0x26d7ad[_0x2ca6d5(0x1f8)]['localName']===_0xf8116f['tag'])return _0x3c48d3(_0x26d7ad[_0x2ca6d5(0x1f8)]);},[_0x94e27e,_0xf8116f]),_0x2b167a(_0xf8116f,''+_0x156807,{'defIds':_0xf8116f[_0x1132ab(0x3c3)],'idSuffix':_0x5e7eed},{'ref':_0x26d7ad,'className':_0xca6dec,..._0x4c62aa},_0x29f054);}function _0x2b167a(_0x541377,_0x4c218f,_0x48c6b7,_0xeaf38d,_0x47ac20){const _0x3d267e=_0x7105ae;return(0x0,_0xfdbdbb['createElement'])(_0x541377[_0x3d267e(0x29e)],{'key':_0x4c218f,..._0x50b840(_0x541377,_0x48c6b7,_0x47ac20),..._0xeaf38d},(_0x9ab3b1(_0x541377,_0x48c6b7)[_0x3d267e(0x4a8)]||[])[_0x3d267e(0x340)]((_0x208c5e,_0x2de952)=>_0x2b167a(_0x208c5e,_0x4c218f+'-'+_0x541377[_0x3d267e(0x29e)]+'-'+_0x2de952,_0x48c6b7,void 0x0,_0x47ac20)));}function _0x50b840(_0x7dfd5f,_0xdfc67b,_0x260bc3){const _0xd7e3d=_0x7105ae;let _0x46ad33={..._0x7dfd5f[_0xd7e3d(0x444)]};_0x260bc3!=null&&_0x260bc3[_0xd7e3d(0x175)]&&_0x46ad33[_0xd7e3d(0x44c)]==='colorChannel1'&&(_0x46ad33['fill']=_0x260bc3[_0xd7e3d(0x175)]),_0x260bc3!=null&&_0x260bc3[_0xd7e3d(0x175)]&&_0x46ad33[_0xd7e3d(0x378)]===_0xd7e3d(0x175)&&(_0x46ad33[_0xd7e3d(0x378)]=_0x260bc3['colorChannel1']),_0x7dfd5f[_0xd7e3d(0x29e)]===_0xd7e3d(0x39f)&&_0x46ad33['id']&&(_0x46ad33['id']+=_0xdfc67b['idSuffix']),Object[_0xd7e3d(0x232)](_0x46ad33)[_0xd7e3d(0x2b9)](([_0x2f4cd0,_0x2c9068])=>{const _0x541a56=_0xd7e3d;_0x2f4cd0===_0x541a56(0x39f)&&typeof _0x2c9068=='string'&&(_0x46ad33[_0x2f4cd0]=_0x2c9068[_0x541a56(0x26d)](/url\(#(.*)\)/,_0x541a56(0x299)+_0xdfc67b[_0x541a56(0x1d1)]+')'));});let {defIds:_0x18f6c2}=_0xdfc67b;return!_0x18f6c2||_0x18f6c2[_0xd7e3d(0x3bc)]===0x0?_0x46ad33:(_0x7dfd5f['tag']==='use'&&_0x46ad33['xlink:href']&&(_0x46ad33[_0xd7e3d(0x1ff)]+=_0xdfc67b['idSuffix']),Object[_0xd7e3d(0x232)](_0x46ad33)[_0xd7e3d(0x2b9)](([_0x45f54d,_0x18d5c0])=>{const _0x5e4cb3=_0xd7e3d;typeof _0x18d5c0==_0x5e4cb3(0x3c1)&&(_0x46ad33[_0x45f54d]=_0x18d5c0[_0x5e4cb3(0x26d)](/url\(#(.*)\)/,'url(#$1'+_0xdfc67b[_0x5e4cb3(0x1d1)]+')'));}),_0x46ad33);}function _0x9ab3b1(_0x117cac,_0x56bbcf){const _0x32445a=_0x7105ae;var _0x87bc73;let {defIds:_0x169573}=_0x56bbcf;return!_0x169573||_0x169573[_0x32445a(0x3bc)]===0x0?_0x117cac:_0x117cac[_0x32445a(0x29e)]===_0x32445a(0x1fc)&&(_0x87bc73=_0x117cac[_0x32445a(0x4a8)])!=null&&_0x87bc73['length']?{..._0x117cac,'children':_0x117cac[_0x32445a(0x4a8)][_0x32445a(0x340)](_0x18df8f=>typeof _0x18df8f[_0x32445a(0x444)]['id']==_0x32445a(0x3c1)&&_0x169573&&_0x169573['includes'](_0x18df8f['attrs']['id'])?{..._0x18df8f,'attrs':{..._0x18df8f['attrs'],'id':_0x18df8f[_0x32445a(0x444)]['id']+_0x56bbcf['idSuffix']}}:_0x18df8f)}:_0x117cac;}function _0x3c48d3(_0x268bc4){const _0x35ef28=_0x7105ae;let _0x3cc562=_0x268bc4[_0x35ef28(0x4fa)]['baseVal'],_0x5469a9=Math[_0x35ef28(0x264)](_0x3cc562[_0x35ef28(0x1ad)],_0x3cc562['height']);if(!Number[_0x35ef28(0x3de)](_0x5469a9)||_0x5469a9<=0x0||_0x3cc562[_0x35ef28(0x1ad)]<=0x0||_0x3cc562['height']<=0x0)return()=>void 0x0;let _0x591d16=0x10/_0x5469a9,_0x33a1d6=Array['from'](_0x268bc4[_0x35ef28(0x4f5)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x35ef28(0x178)](_0x3faff1=>{const _0x356c3c=_0x35ef28;let _0xf99fc5=getComputedStyle(_0x3faff1),_0x57ba07=Number[_0x356c3c(0x19c)](_0xf99fc5[_0x356c3c(0x4b9)]);return _0xf99fc5[_0x356c3c(0x378)]===_0x356c3c(0x207)||Number[_0x356c3c(0x19c)](_0xf99fc5[_0x356c3c(0x3b2)])===0x0||_0xf99fc5[_0x356c3c(0x274)]===_0x356c3c(0x434)||!Number[_0x356c3c(0x3de)](_0x57ba07)||_0x57ba07<=0x0?[]:[{'element':_0x3faff1,'hadStyleAttribute':_0x3faff1[_0x356c3c(0x3ac)]('style'),'originalStrokeWidth':_0x57ba07,'strokeWidth':_0x2d0120(_0x3faff1['style'],_0x356c3c(0x498))}];})['map'](_0x477714=>({'appliedStrokeWidth':null,'element':_0x477714[_0x35ef28(0x493)],'hadStyleAttribute':_0x477714['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x477714['originalStrokeWidth'],'strokeWidth':_0x477714[_0x35ef28(0x4b9)]}));if(_0x33a1d6['length']===0x0)return()=>void 0x0;let _0x4a692f=(_0x9c8f3a,_0x271fa9)=>{const _0xaf8351=_0x35ef28;if(_0x3cc562[_0xaf8351(0x1ad)]<=0x0||_0x3cc562['height']<=0x0||_0x9c8f3a<=0x0||_0x271fa9<=0x0)return;let _0x49162a=Math[_0xaf8351(0x44b)](_0x9c8f3a/_0x3cc562[_0xaf8351(0x1ad)],_0x271fa9/_0x3cc562['height']);!Number['isFinite'](_0x49162a)||_0x49162a<=0x0||_0x33a1d6[_0xaf8351(0x2b9)](_0x2d0902=>{const _0x7a2bfe=_0xaf8351;if(_0x2d0902[_0x7a2bfe(0x2a8)])return;if(_0x2d0902[_0x7a2bfe(0x23b)]!==null&&(_0x2d0902[_0x7a2bfe(0x493)][_0x7a2bfe(0x214)][_0x7a2bfe(0x2be)]('stroke-width')!==_0x2d0902['appliedStrokeWidth']||_0x2d0902[_0x7a2bfe(0x493)]['style'][_0x7a2bfe(0x2d6)](_0x7a2bfe(0x498))!==_0x2d0902[_0x7a2bfe(0x4b9)][_0x7a2bfe(0x1f4)])){_0x2d0902[_0x7a2bfe(0x23b)]=null,_0x2d0902[_0x7a2bfe(0x2a8)]=!0x0;return;}let _0x5e5760=_0x2d0902[_0x7a2bfe(0x4d5)]*_0x591d16/_0x49162a,_0x491b2f=Number(_0x5e5760[_0x7a2bfe(0x502)](0xc))+'px';_0x2d0902[_0x7a2bfe(0x493)][_0x7a2bfe(0x214)][_0x7a2bfe(0x291)](_0x7a2bfe(0x498),_0x491b2f,_0x2d0902[_0x7a2bfe(0x4b9)][_0x7a2bfe(0x1f4)]),_0x2d0902[_0x7a2bfe(0x23b)]=_0x491b2f;});},_0x39756c=_0x268bc4['getBoundingClientRect']();_0x4a692f(_0x39756c[_0x35ef28(0x1ad)],_0x39756c[_0x35ef28(0x48d)]);let _0x24ada7=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x298f0a=>{const _0x7a4054=_0x35ef28;if(_0x298f0a['some'](_0x11de87=>_0x11de87['target']===_0x268bc4)){let _0x545f2a=_0x268bc4['getBoundingClientRect']();_0x4a692f(_0x545f2a[_0x7a4054(0x1ad)],_0x545f2a[_0x7a4054(0x48d)]);}});return _0x24ada7==null||_0x24ada7[_0x35ef28(0x4e0)](_0x268bc4),()=>{const _0x56a059=_0x35ef28;_0x24ada7==null||_0x24ada7[_0x56a059(0x1db)](),_0x33a1d6['forEach'](_0x2bb5a8=>{const _0x3659c9=_0x56a059;_0x2bb5a8[_0x3659c9(0x23b)]!==null&&(_0x2ab59d(_0x2bb5a8['element']['style'],_0x3659c9(0x498),_0x2bb5a8[_0x3659c9(0x23b)],_0x2bb5a8[_0x3659c9(0x4b9)][_0x3659c9(0x1f4)],_0x2bb5a8[_0x3659c9(0x4b9)]),!_0x2bb5a8[_0x3659c9(0x37d)]&&_0x2bb5a8[_0x3659c9(0x493)][_0x3659c9(0x214)]['length']===0x0&&_0x2bb5a8['element'][_0x3659c9(0x280)](_0x3659c9(0x214)));});};}function _0x2d0120(_0x5821d1,_0x44031a){const _0x57b7f6=_0x7105ae;return{'priority':_0x5821d1[_0x57b7f6(0x2d6)](_0x44031a),'value':_0x5821d1[_0x57b7f6(0x2be)](_0x44031a)};}function _0x2ab59d(_0x11ab5c,_0x26824d,_0x45949b,_0x4917e8,_0x3aecbe){const _0x23fc7d=_0x7105ae;_0x11ab5c[_0x23fc7d(0x2be)](_0x26824d)===_0x45949b&&_0x11ab5c[_0x23fc7d(0x2d6)](_0x26824d)===_0x4917e8&&(_0x3aecbe['value']?_0x11ab5c[_0x23fc7d(0x291)](_0x26824d,_0x3aecbe['value'],_0x3aecbe['priority']):_0x11ab5c[_0x23fc7d(0x242)](_0x26824d));}_0x34811d[_0x7105ae(0x460)]=_0x7105ae(0x3a0);let _0x5f02df={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x1ce),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x254),'fillRule':'evenodd','clipRule':_0x7105ae(0x240)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':_0x7105ae(0x443),'d':'M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':_0x7105ae(0x443),'d':_0x7105ae(0x2dc)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x3a2)}}]},_0x41ffef=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x18952f,_0x5b8c28){const _0x1297a3=_0x7105ae;return(0x0,_0xfdbdbb[_0x1297a3(0x34f)])(_0x34811d,Object[_0x1297a3(0x427)]({},_0x18952f,{'id':'bottom-icon','ref':_0x5b8c28,'icon':_0x5f02df}));});_0x41ffef['displayName']='BottomIcon';let _0x25cf30={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x3a4),'fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}}]},_0x43c882=(0x0,_0xfdbdbb['forwardRef'])(function(_0x51fae6,_0x398142){const _0x5b5248=_0x7105ae;return(0x0,_0xfdbdbb[_0x5b5248(0x34f)])(_0x34811d,Object['assign']({},_0x51fae6,{'id':_0x5b5248(0x514),'ref':_0x398142,'icon':_0x25cf30}));});_0x43c882[_0x7105ae(0x460)]=_0x7105ae(0x361);let _0xe83f8a={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':'none','viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x2b2),'fillRule':'evenodd','clipRule':_0x7105ae(0x240)}}]},_0x5e3333=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x967452,_0x302746){const _0x54be83=_0x7105ae;return(0x0,_0xfdbdbb[_0x54be83(0x34f)])(_0x34811d,Object[_0x54be83(0x427)]({},_0x967452,{'id':'more-up-icon','ref':_0x302746,'icon':_0xe83f8a}));});_0x5e3333[_0x7105ae(0x460)]='MoreUpIcon';let _0x343042={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x7105ae(0x443),'d':_0x7105ae(0x247),'fillRule':'evenodd','clipRule':_0x7105ae(0x240)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x27d)}}]},_0x9efe91=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x51a450,_0x2ee526){const _0x4fccf8=_0x7105ae;return(0x0,_0xfdbdbb[_0x4fccf8(0x34f)])(_0x34811d,Object[_0x4fccf8(0x427)]({},_0x51a450,{'id':'move-down-icon','ref':_0x2ee526,'icon':_0x343042}));});_0x9efe91[_0x7105ae(0x460)]='MoveDownIcon';let _0x23891f={'tag':'svg','attrs':{'xmlns':_0x7105ae(0x244),'fill':'none','viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':'1em'},'children':[{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':_0x7105ae(0x277),'fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':_0x7105ae(0x443),'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'}}]},_0x4a4f54=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x59ea46,_0x1193c1){const _0x5465fa=_0x7105ae;return(0x0,_0xfdbdbb['createElement'])(_0x34811d,Object['assign']({},_0x59ea46,{'id':_0x5465fa(0x3a1),'ref':_0x1193c1,'icon':_0x23891f}));});_0x4a4f54['displayName']='MoveUpIcon';let _0x57cdd={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x7105ae(0x28f),'strokeLinejoin':_0x7105ae(0x28f),'strokeWidth':1.3}},{'tag':_0x7105ae(0x43a),'attrs':{'stroke':_0x7105ae(0x443),'d':_0x7105ae(0x4cc),'strokeLinecap':_0x7105ae(0x28f),'strokeLinejoin':'round','strokeWidth':1.3}}]},_0x4d0657=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x2cdc3c,_0x33d03c){const _0xaed5c8=_0x7105ae;return(0x0,_0xfdbdbb[_0xaed5c8(0x34f)])(_0x34811d,Object['assign']({},_0x2cdc3c,{'id':_0xaed5c8(0x185),'ref':_0x33d03c,'icon':_0x57cdd}));});_0x4d0657[_0x7105ae(0x460)]=_0x7105ae(0x23f);let _0x2dc519={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x4cd),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':'path','attrs':{'stroke':_0x7105ae(0x443),'d':_0x7105ae(0x20f),'strokeLinecap':_0x7105ae(0x28f),'strokeLinejoin':_0x7105ae(0x28f),'strokeWidth':1.2}},{'tag':_0x7105ae(0x43a),'attrs':{'stroke':_0x7105ae(0x443),'d':_0x7105ae(0x206),'strokeLinecap':_0x7105ae(0x28f),'strokeWidth':1.2}},{'tag':_0x7105ae(0x43a),'attrs':{'stroke':'currentColor','d':_0x7105ae(0x32b),'strokeLinecap':_0x7105ae(0x28f),'strokeWidth':1.2}},{'tag':_0x7105ae(0x43a),'attrs':{'stroke':_0x7105ae(0x443),'d':_0x7105ae(0x4bb),'strokeLinejoin':_0x7105ae(0x28f)}},{'tag':'path','attrs':{'stroke':_0x7105ae(0x443),'d':_0x7105ae(0x2e6)}}]},_0x5bd523=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0xfd2e73,_0x1f6091){const _0xab4059=_0x7105ae;return(0x0,_0xfdbdbb[_0xab4059(0x34f)])(_0x34811d,Object[_0xab4059(0x427)]({},_0xfd2e73,{'id':_0xab4059(0x1b3),'ref':_0x1f6091,'icon':_0x2dc519}));});_0x5bd523[_0x7105ae(0x460)]=_0x7105ae(0x22d);let _0x18bb83={'tag':'svg','attrs':{'xmlns':_0x7105ae(0x244),'fill':_0x7105ae(0x207),'viewBox':_0x7105ae(0x220),'width':_0x7105ae(0x1c6),'height':_0x7105ae(0x1c6)},'children':[{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x7105ae(0x443),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x7105ae(0x443),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x7105ae(0x507),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x7105ae(0x443),'rx':0.6}},{'tag':_0x7105ae(0x507),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':_0x7105ae(0x507),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':_0x7105ae(0x443),'rx':0.6}},{'tag':_0x7105ae(0x507),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x7105ae(0x443),'rx':0.6}},{'tag':_0x7105ae(0x507),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':'currentColor','rx':0.6}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':_0x7105ae(0x443),'d':_0x7105ae(0x424),'fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}}]},_0x540123=(0x0,_0xfdbdbb[_0x7105ae(0x3d5)])(function(_0x548fc8,_0x4793f1){const _0x295f5f=_0x7105ae;return(0x0,_0xfdbdbb[_0x295f5f(0x34f)])(_0x34811d,Object[_0x295f5f(0x427)]({},_0x548fc8,{'id':_0x295f5f(0x406),'ref':_0x4793f1,'icon':_0x18bb83}));});_0x540123[_0x7105ae(0x460)]='TextWrapShapeIcon';let _0x1f2dbc={'tag':_0x7105ae(0x2dd),'attrs':{'xmlns':_0x7105ae(0x244),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x7105ae(0x1c6),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x7105ae(0x443),'d':_0x7105ae(0x2c8)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':_0x7105ae(0x443),'d':_0x7105ae(0x32c),'fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}},{'tag':_0x7105ae(0x43a),'attrs':{'fill':'currentColor','d':'M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','fillRule':_0x7105ae(0x240),'clipRule':_0x7105ae(0x240)}}]},_0x34c705=(0x0,_0xfdbdbb['forwardRef'])(function(_0xfdcec,_0x414a81){const _0x364705=_0x7105ae;return(0x0,_0xfdbdbb['createElement'])(_0x34811d,Object['assign']({},_0xfdcec,{'id':_0x364705(0x4fc),'ref':_0x414a81,'icon':_0x1f2dbc}));});_0x34c705[_0x7105ae(0x460)]=_0x7105ae(0x485);function _0x1dbf2f(_0x22ca7c){const _0x4bac92=_0x7105ae;return(0x0,_0x422a0d[_0x4bac92(0x1d2)])(_0x1b09c7,{..._0x22ca7c,'PickerComponent':_0x1e943b[_0x4bac92(0x49c)]});}function _0x3b6a11(){const _0x2e2226=_0x7105ae;let _0x4aeb15=(0x0,_0x5d0d3c[_0x2e2226(0x3ee)])(_0x27c7af[_0x2e2226(0x27e)]),_0x37ad9a=_0x5196e1(),[_0x3a7e39,_0x4f990d]=(0x0,_0xfdbdbb[_0x2e2226(0x42d)])(!0x1);return(0x0,_0x422a0d[_0x2e2226(0x4c6)])(_0x2e2226(0x503),{'className':'univer-grid\x20univer-gap-3','children':[(0x0,_0x422a0d[_0x2e2226(0x1d2)])(_0x16f5fd[_0x2e2226(0x1e6)],{'title':_0x4aeb15['t'](_0x2e2226(0x325)),'aria-expanded':_0x3a7e39,'variant':_0x2e2226(0x42b),'trailing':_0x3a7e39?(0x0,_0x422a0d[_0x2e2226(0x1d2)])(_0x5e3333,{}):(0x0,_0x422a0d[_0x2e2226(0x1d2)])(_0x43c882,{}),'onClick':()=>_0x4f990d(_0x4c41bb=>!_0x4c41bb)}),_0x3a7e39&&(0x0,_0x422a0d[_0x2e2226(0x1d2)])(_0x1e943b[_0x2e2226(0x49c)],{'excludeGroups':[_0x1e943b['ShapeGroupEnum'][_0x2e2226(0x4d2)]],'onShapeClick':_0x2bc24b=>{_0x37ad9a(_0x2bc24b),_0x4f990d(!0x1);}})]});}function _0x44262c(_0x449c96){const _0x536ecd=_0x7105ae;return _0x449c96[_0x536ecd(0x34d)]()||void 0x0;}function _0x3c6ec(_0x56df3b,_0x188f8b,_0xdc2e66){const _0x2beade=_0x7105ae;var _0x3cd787,_0x46483b;return((_0x3cd787=_0x56df3b['name'])==null?void 0x0:_0x3cd787[_0x2beade(0x34d)]())||((_0x46483b=_0x56df3b['title'])==null?void 0x0:_0x46483b[_0x2beade(0x34d)]())||_0xdc2e66['t'](_0x2beade(0x30b)+(0x0,_0x1e943b['getDrawingTypeNameKey'])(_0x56df3b['drawingType']))+'\x20'+(_0x188f8b+0x1);}function _0x1b7c7d({PanelComponent:_0x277517=_0x535004[_0x7105ae(0x39b)]}){const _0x28cb1a=_0x7105ae;let _0x51e5a6=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x27c7af[_0x28cb1a(0x27e)]),_0x5e8fec={'title':_0x51e5a6['t']('drawing-ui.objectListPanel.title'),'empty':_0x51e5a6['t'](_0x28cb1a(0x47c)),'showAll':_0x51e5a6['t'](_0x28cb1a(0x211)),'hideAll':_0x51e5a6['t'](_0x28cb1a(0x305)),'lockAll':_0x51e5a6['t'](_0x28cb1a(0x483)),'unlockAll':_0x51e5a6['t'](_0x28cb1a(0x481)),'moveForward':_0x51e5a6['t'](_0x28cb1a(0x421)),'moveBackward':_0x51e5a6['t'](_0x28cb1a(0x2f9)),'close':_0x51e5a6['t'](_0x28cb1a(0x505)),'show':_0x51e5a6['t']('drawing-ui.objectListPanel.show'),'hide':_0x51e5a6['t']('drawing-ui.objectListPanel.hide'),'lock':_0x51e5a6['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x51e5a6['t'](_0x28cb1a(0x35b)),'lockHint':_0x51e5a6['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x51e5a6['t'](_0x28cb1a(0x318)),'name':_0x51e5a6['t'](_0x28cb1a(0x25a)),'nameInput':_0x51e5a6['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x51e5a6['t'](_0x28cb1a(0x1fb)),'descriptionPlaceholder':_0x51e5a6['t'](_0x28cb1a(0x4f9)),'details':_0x51e5a6['t'](_0x28cb1a(0x256)),'noSelection':_0x51e5a6['t']('drawing-ui.objectListPanel.noSelection'),'locate':_0x51e5a6['t'](_0x28cb1a(0x2fb)),'expand':_0x51e5a6['t'](_0x28cb1a(0x3e6)),'collapse':_0x51e5a6['t'](_0x28cb1a(0x179)),'dragToReorder':_0x51e5a6['t'](_0x28cb1a(0x500)),'search':_0x51e5a6['t'](_0x28cb1a(0x4e9)),'filterAll':_0x51e5a6['t'](_0x28cb1a(0x3ad)),'filterHidden':_0x51e5a6['t'](_0x28cb1a(0x4cf)),'filterLocked':_0x51e5a6['t'](_0x28cb1a(0x313)),'sectionCanvas':_0x51e5a6['t'](_0x28cb1a(0x447)),'sectionFloating':_0x51e5a6['t'](_0x28cb1a(0x51a))},_0x4e7642=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x27c7af[_0x28cb1a(0x478)]),_0xe1a813=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x27c7af[_0x28cb1a(0x4f8)]),_0x54411f=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x156531[_0x28cb1a(0x4b8)]),_0x58af73=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x2ead9f['IDrawingManagerService']),_0x43345e=(0x0,_0x5d0d3c[_0x28cb1a(0x3ee)])(_0x48e4a9[_0x28cb1a(0x209)]),[,_0x3f1e00]=(0x0,_0xfdbdbb['useReducer'])(_0x41a4f3=>_0x41a4f3+0x1,0x0),_0x3bdf83=_0xe1a813[_0x28cb1a(0x2ce)](_0x27c7af[_0x28cb1a(0x462)]['UNIVER_DOC']),_0x331a5b=(_0x3bdf83==null?void 0x0:_0x3bdf83[_0x28cb1a(0x390)]())??'',_0x4a7b03=_0x331a5b,_0x5ee0b5=(0x0,_0x5d0d3c[_0x28cb1a(0x46f)])(()=>_0x58af73[_0x28cb1a(0x25e)],_0x58af73[_0x28cb1a(0x23c)](),!0x1,[_0x58af73]);(0x0,_0xfdbdbb['useEffect'])(()=>{const _0x1cadad=_0x28cb1a;let _0x194e7f=_0x4e7642['onCommandExecuted'](()=>_0x3f1e00());return()=>_0x194e7f[_0x1cadad(0x49d)]();},[_0x4e7642]);let _0x4d29bc=_0x331a5b?_0x54411f[_0x28cb1a(0x180)](_0x331a5b,_0x4a7b03):{},_0x2858c9=(_0x331a5b?_0x54411f[_0x28cb1a(0x1e7)](_0x331a5b,_0x4a7b03):[])[_0x28cb1a(0x340)](_0x2d5c66=>_0x4d29bc[_0x2d5c66])[_0x28cb1a(0x216)](_0x1e729d=>!!_0x1e729d)[_0x28cb1a(0x235)](),_0x5abc41=_0x2858c9[_0x28cb1a(0x371)]((_0x37baae,_0xc58507)=>(_0x37baae[(0x0,_0x535004[_0x28cb1a(0x25f)])(_0xc58507[_0x28cb1a(0x4c0)])]+=0x1,_0x37baae),{'canvas':0x0,'floating':0x0}),_0x1fafed={'canvas':0x0,'floating':0x0},_0x559113=_0x2858c9[_0x28cb1a(0x340)]((_0x2c70a0,_0x359966)=>{const _0x5bac9a=_0x28cb1a;let _0x498041=(0x0,_0x535004[_0x5bac9a(0x25f)])(_0x2c70a0[_0x5bac9a(0x4c0)]),_0x337995=_0x498041===_0x535004[_0x5bac9a(0x20c)],_0x979257=_0x1fafed[_0x498041]++;return{'id':_0x2c70a0[_0x5bac9a(0x198)],'name':_0x3c6ec(_0x2c70a0,_0x359966,_0x51e5a6),'description':_0x2c70a0[_0x5bac9a(0x512)],'visible':_0x2c70a0[_0x5bac9a(0x1c8)]!==!0x0,'selectable':_0x2c70a0['selectable']!==!0x1,'sectionId':_0x498041,'sectionTitle':_0x337995?_0x5e8fec[_0x5bac9a(0x42e)]:_0x5e8fec['sectionCanvas'],'capabilities':_0x337995?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x337995&&_0x979257>0x0,'canMoveBackward':!_0x337995&&_0x979257<_0x5abc41[_0x5bac9a(0x233)]-0x1,'canReorder':!_0x337995};}),_0x4b3445=(0x0,_0xfdbdbb['useMemo'])(()=>(_0x5ee0b5??[])['filter'](_0x1d6c54=>_0x1d6c54['unitId']===_0x331a5b&&_0x1d6c54['subUnitId']===_0x4a7b03)[_0x28cb1a(0x340)](_0x40fa54=>_0x40fa54['drawingId']),[_0x5ee0b5,_0x4a7b03,_0x331a5b]),_0x472d59=_0x4b3445[_0x4b3445[_0x28cb1a(0x3bc)]-0x1]??null,_0x3e4629=_0x6136c2=>_0x54411f[_0x28cb1a(0x4ae)]({'unitId':_0x331a5b,'subUnitId':_0x4a7b03,'drawingId':_0x6136c2})??null,_0x4b007f=async _0x16aacf=>{const _0x23b4b0=_0x28cb1a;_0x331a5b&&_0x16aacf[_0x23b4b0(0x3bc)]&&await _0x4e7642['executeCommand'](_0x4593cd[_0x23b4b0(0x367)]['id'],{'unitId':_0x331a5b,'patches':_0x16aacf});},_0x103ece=(_0x1dbe2b,_0x87ec9e)=>{const _0x4973e6=_0x28cb1a;if(!_0x331a5b)return;let _0x198e79=_0x87ec9e?_0x4b3445[_0x4973e6(0x26a)](_0x1dbe2b)?_0x4b3445['filter'](_0x2640db=>_0x2640db!==_0x1dbe2b):[..._0x4b3445,_0x1dbe2b]:[_0x1dbe2b];_0x4e7642[_0x4973e6(0x479)](_0x2ead9f['SetDrawingSelectedOperation']['id'],_0x198e79[_0x4973e6(0x340)](_0x419cba=>({'unitId':_0x331a5b,'subUnitId':_0x4a7b03,'drawingId':_0x419cba})));let _0x49037c=_0x198e79[_0x198e79['length']-0x1];_0x49037c?(0x0,_0x1e943b[_0x4973e6(0x32d)])(_0x43345e,{'unitId':_0x331a5b,'subUnitId':_0x4a7b03,'drawingId':_0x49037c}):(0x0,_0x1e943b[_0x4973e6(0x43f)])(_0x43345e,_0x331a5b);},_0x46069e=async(_0x4cdb32,_0x5c1dbf)=>{const _0x4e7ab6=_0x28cb1a;await _0x4b007f(_0x4cdb32[_0x4e7ab6(0x340)](_0x53ad88=>_0x3e4629(_0x53ad88))[_0x4e7ab6(0x216)](_0x189773=>!!_0x189773)[_0x4e7ab6(0x216)](_0x50ec4c=>_0x50ec4c['hidden']!==!0x0!==_0x5c1dbf)[_0x4e7ab6(0x340)](_0x2fcd8a=>({'drawingId':_0x2fcd8a[_0x4e7ab6(0x198)],'hidden':!_0x5c1dbf})));},_0x2885fe=async(_0x316ade,_0x129dbf)=>{const _0x437617=_0x28cb1a;await _0x4b007f(_0x316ade[_0x437617(0x340)](_0x51beb4=>_0x3e4629(_0x51beb4))[_0x437617(0x216)](_0x588487=>!!_0x588487)[_0x437617(0x216)](_0x4d3618=>_0x4d3618[_0x437617(0x351)]!==!0x1!==_0x129dbf)[_0x437617(0x340)](_0x16c5a9=>({'drawingId':_0x16c5a9['drawingId'],'selectable':_0x129dbf})));},_0x345da6=_0x2325bd=>{const _0x39b87b=_0x28cb1a;let _0x5c55b6=_0x3e4629(_0x2325bd);if(_0x5c55b6)return _0x2885fe([_0x2325bd],_0x5c55b6[_0x39b87b(0x351)]===!0x1);},_0x4cc881=async(_0x840643,_0x530b81)=>{const _0x3fdd62=_0x28cb1a;let _0x156e2b=_0x3e4629(_0x840643),_0x30aa9d=_0x44262c(_0x530b81);!_0x156e2b||(_0x156e2b[_0x3fdd62(0x4c1)]??void 0x0)===_0x30aa9d&&(_0x156e2b[_0x3fdd62(0x283)]||void 0x0)===_0x30aa9d||await _0x4b007f([{'drawingId':_0x840643,'name':_0x30aa9d,'title':_0x30aa9d}]);},_0x42480=async(_0x8090f3,_0x57b564)=>{let _0x179580=_0x3e4629(_0x8090f3),_0x2fe7d9=_0x44262c(_0x57b564);_0x179580&&(_0x179580['description']??void 0x0)!==_0x2fe7d9&&await _0x4b007f([{'drawingId':_0x8090f3,'description':_0x2fe7d9}]);},_0x9ee7e5=async(_0x5df610,_0xfb1cf1)=>{const _0x48cbf3=_0x28cb1a;_0x331a5b&&await _0x4e7642[_0x48cbf3(0x304)](_0x156531[_0x48cbf3(0x1b7)]['id'],{'unitId':_0x331a5b,'subUnitId':_0x4a7b03,'drawingIds':[_0x5df610],'arrangeType':_0xfb1cf1});};return _0x331a5b?(0x0,_0x422a0d['jsx'])(_0x277517,{'labels':_0x5e8fec,'renderPermissionAction':_0x1866b9=>_0x3bdf83?(0x0,_0x422a0d[_0x28cb1a(0x1d2)])(_0x5d0d3c[_0x28cb1a(0x2c7)],{'target':{'unitId':_0x331a5b,'objectId':(0x0,_0x374e66[_0x28cb1a(0x4d0)])((0x0,_0x374e66[_0x28cb1a(0x2f3)])(_0x3bdf83,_0x1866b9['id']),'drawing',_0x1866b9['id']),'objectType':_0x221952[_0x28cb1a(0x3ae)]['DocumentEntity']},'name':_0x1866b9[_0x28cb1a(0x4c1)],'commandId':_0x374e66[_0x28cb1a(0x3d4)]['id'],'exists':()=>!!_0x3e4629(_0x1866b9['id'])},_0x331a5b+'/'+_0x1866b9['id']):null,'items':_0x559113,'selectedIds':_0x4b3445,'focusedId':_0x472d59,'showHeader':!0x1,'onSelect':_0x103ece,'onSetVisible':_0x46069e,'onSetSelectable':_0x2885fe,'onCommitName':_0x4cc881,'onCommitDescription':_0x42480,'onMoveForward':async _0x2d5b1d=>_0x9ee7e5(_0x2d5b1d,_0x27c7af[_0x28cb1a(0x51c)][_0x28cb1a(0x29d)]),'onMoveBackward':async _0x20f6db=>_0x9ee7e5(_0x20f6db,_0x27c7af[_0x28cb1a(0x51c)][_0x28cb1a(0x4ed)]),'onToggleSelectable':_0x345da6}):(0x0,_0x422a0d[_0x28cb1a(0x1d2)])('div',{'className':_0x28cb1a(0x418),'children':_0x5e8fec[_0x28cb1a(0x283)]});}function _0x510104(){const _0x2aa15e=_0x7105ae;return(0x0,_0x422a0d['jsx'])(_0x1b7c7d,{'PanelComponent':_0x535004[_0x2aa15e(0x499)]});}let _0x4ec9c9=class{constructor(_0x117dd2){const _0x10aace=_0x7105ae;this[_0x10aace(0x323)]=_0x117dd2;}['updateShapeFillImage'](_0x184f73,_0x217172){const _0x42bb5c=_0x7105ae;let _0x4dead7=this['_renderManagerService'][_0x42bb5c(0x41e)](_0x184f73[_0x42bb5c(0x327)]),_0x450d=_0x4dead7==null?void 0x0:_0x4dead7[_0x42bb5c(0x252)];if(!_0x450d)return;let _0x195bac=(0x0,_0x2ead9f[_0x42bb5c(0x1d6)])(_0x184f73),_0xf8e0e6=_0x450d['getObjectIncludeInGroup'](_0x195bac);_0xf8e0e6==null||_0xf8e0e6[_0x42bb5c(0x2e7)](_0x217172);}};_0x4ec9c9=_0x21f5d0([_0xb8d662(0x0,_0x48e4a9[_0x7105ae(0x209)])],_0x4ec9c9);function _0x495089(){const _0x55893f=_0x7105ae;let _0x41a5f4=(0x0,_0x5d0d3c['useDependency'])(_0x2ead9f[_0x55893f(0x2c4)]),_0x488172=(0x0,_0x5d0d3c[_0x55893f(0x46f)])(()=>_0x41a5f4[_0x55893f(0x25e)],_0x41a5f4['getFocusDrawings'](),!0x1,[_0x41a5f4]);return _0x488172[_0x55893f(0x3bc)]===0x0?null:(0x0,_0x422a0d[_0x55893f(0x1d2)])(_0x55893f(0x503),{'children':(0x0,_0x422a0d['jsxs'])(_0x55893f(0x503),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x422a0d[_0x55893f(0x1d2)])(_0x535004[_0x55893f(0x50b)],{'drawings':_0x488172,'hasCropper':!0x1}),(0x0,_0x422a0d[_0x55893f(0x1d2)])(_0x2c87d2['DocDrawingTextWrap'],{'drawings':_0x488172}),(0x0,_0x422a0d[_0x55893f(0x1d2)])(_0x2c87d2[_0x55893f(0x1dd)],{'drawings':_0x488172})]})});}function _0x9d273b(_0x5ce200){const _0x3a251d=_0x7105ae;let {unitId:_0x5eb6a9,subUnitId:_0x2d7cf9,shapeId:_0x17964e,PositionComponent:_0x43e1d3=_0x495089}=_0x5ce200,_0x18cd25=(0x0,_0x5d0d3c[_0x3a251d(0x3ee)])(_0x27c7af[_0x3a251d(0x478)]),_0x517793=(0x0,_0x5d0d3c[_0x3a251d(0x3ee)])(_0x4ec9c9);return(0x0,_0x422a0d[_0x3a251d(0x1d2)])(_0x1e943b[_0x3a251d(0x333)],{..._0x5ce200,'positionEditor':(0x0,_0x422a0d['jsx'])(_0x43e1d3,{}),'onUpdateShapeData':(_0xcc78ab,_0x3d6bbc)=>{_0x191420(_0x18cd25,_0x5eb6a9,_0x2d7cf9,_0x17964e,_0xcc78ab,_0x3d6bbc);},'onUpdateLineShapeData':(_0xc3e27e,_0x4224b4)=>{_0x4f4088(_0x18cd25,_0x5eb6a9,_0x2d7cf9,_0x17964e,_0xc3e27e,_0x4224b4);},'onUpdateShapeFillImage':_0x44b76e=>{const _0x5344ad=_0x3a251d;_0x517793[_0x5344ad(0x196)]({'unitId':_0x5eb6a9,'subUnitId':_0x2d7cf9,'drawingId':_0x17964e},_0x44b76e);}});}function _0x1e0b26(){const _0x438d6c=_0x7105ae;let _0x16c991=(0x0,_0x5d0d3c['useDependency'])(_0x2ead9f[_0x438d6c(0x2c4)]),_0x27d9f5=(0x0,_0x5d0d3c['useObservable'])(_0x16c991[_0x438d6c(0x25e)],_0x16c991[_0x438d6c(0x23c)]());return _0x27d9f5[_0x438d6c(0x3bc)]===0x0?null:(0x0,_0x422a0d['jsxs'])(_0x438d6c(0x503),{'className':_0x438d6c(0x3cc),'children':[(0x0,_0x422a0d[_0x438d6c(0x1d2)])(_0x535004[_0x438d6c(0x50b)],{'drawings':_0x27d9f5,'hasCropper':!0x1}),(0x0,_0x422a0d[_0x438d6c(0x1d2)])(_0x2c87d2[_0x438d6c(0x2a4)],{'drawings':_0x27d9f5}),(0x0,_0x422a0d[_0x438d6c(0x1d2)])(_0x2c87d2[_0x438d6c(0x3d0)],{'drawings':_0x27d9f5})]});}function _0x21104(_0x1a4452){const _0x9ac439=_0x7105ae;return(0x0,_0x422a0d[_0x9ac439(0x1d2)])(_0x1e943b[_0x9ac439(0x437)],{'children':(0x0,_0x422a0d['jsx'])(_0x9d273b,{..._0x1a4452,'PositionComponent':_0x1e0b26})});}function _0x5e82b6({popup:_0x1ab92e}){const _0x49a87f=_0x7105ae;let _0x42a604=(0x0,_0x5d0d3c[_0x49a87f(0x3ee)])(_0x27c7af[_0x49a87f(0x27e)]),{shapeType:_0x183c81,onText:_0x5df9a6,onStyle:_0x3faa93,onDelete:_0x391eb6}=_0x1ab92e[_0x49a87f(0x449)],_0xd8a126=[{'key':'text','order':0x0,'item':{'id':_0x49a87f(0x288),'type':_0x5d0d3c[_0x49a87f(0x31a)][_0x49a87f(0x369)],'title':_0x42a604['t'](_0x49a87f(0x2ff)),'disabled$':(0x0,_0x2b0fcd['of'])((0x0,_0x2d76dd[_0x49a87f(0x25b)])(_0x183c81))}},{'key':_0x49a87f(0x214),'order':0x1,'item':{'id':_0x49a87f(0x214),'type':_0x5d0d3c[_0x49a87f(0x31a)][_0x49a87f(0x369)],'title':_0x42a604['t'](_0x49a87f(0x27a))}},{'key':'delete','order':0x2,'item':{'id':_0x49a87f(0x46c),'type':_0x5d0d3c[_0x49a87f(0x31a)][_0x49a87f(0x369)],'title':_0x42a604['t'](_0x49a87f(0x1bd))}}];return(0x0,_0x422a0d[_0x49a87f(0x1d2)])(_0x5d0d3c[_0x49a87f(0x44a)],{'schemas':_0xd8a126,'presentation':_0x49a87f(0x365),'onOptionSelect':async({id:_0x219bbd})=>{const _0x2028b0=_0x49a87f;_0x219bbd===_0x2028b0(0x288)?await _0x5df9a6():_0x219bbd===_0x2028b0(0x214)?await _0x3faa93():_0x219bbd===_0x2028b0(0x46c)&&await _0x391eb6();}});}let _0x2825d6=_0x7105ae(0x4f0);function _0x3a2f9e(_0x27a086,_0x3a2ddb){const _0x54958b=_0x7105ae;var _0x486c43;let _0x22a1dc=_0x27a086==null||(_0x486c43=_0x27a086['getSnapshot']()['drawings'])==null?void 0x0:_0x486c43[_0x3a2ddb];return _0x22a1dc?_0x22a1dc[_0x54958b(0x201)]===_0x27c7af['PositionedObjectLayoutType'][_0x54958b(0x2b7)]?_0x22a1dc['behindDoc']===_0x27c7af['BooleanNumber']['TRUE']?_0x156531[_0x54958b(0x4bc)][_0x54958b(0x3f3)]:_0x156531[_0x54958b(0x4bc)]['IN_FRONT_OF_TEXT']:_0x22a1dc[_0x54958b(0x201)]===_0x27c7af[_0x54958b(0x2df)]['WRAP_SQUARE']?_0x156531['TextWrappingStyle'][_0x54958b(0x477)]:_0x22a1dc['layoutType']===_0x27c7af[_0x54958b(0x2df)][_0x54958b(0x37a)]?_0x156531[_0x54958b(0x4bc)]['WRAP_TOP_AND_BOTTOM']:_0x156531[_0x54958b(0x4bc)]['INLINE']:_0x156531[_0x54958b(0x4bc)]['INLINE'];}function _0x46e337(_0x4fa7d1){const _0x458e80=_0x7105ae;let _0x520fdc=(0x0,_0x5d0d3c['useDependency'])(_0x1e943b[_0x458e80(0x3e4)]),_0x1db4f2=(0x0,_0x5d0d3c[_0x458e80(0x46f)])(()=>_0x520fdc[_0x458e80(0x2cd)],_0x520fdc[_0x458e80(0x3af)](),!0x1,[_0x520fdc]),_0x18fec7=_0x4fa7d1['popup'][_0x458e80(0x449)];return _0x1db4f2?(0x0,_0x422a0d[_0x458e80(0x1d2)])(_0x2988f8,{..._0x18fec7,'canvasElement':_0x4fa7d1[_0x458e80(0x39c)]['canvasElement']}):null;}function _0x2988f8(_0x1ce4f5){const _0x84e8fd=_0x7105ae;let _0x606afa=(0x0,_0x5d0d3c[_0x84e8fd(0x3ee)])(_0x27c7af[_0x84e8fd(0x478)]),_0x1f57f5=(0x0,_0x5d0d3c[_0x84e8fd(0x3ee)])(_0x27c7af[_0x84e8fd(0x27e)]),_0x210aad=(0x0,_0x5d0d3c[_0x84e8fd(0x3ee)])(_0x4593cd[_0x84e8fd(0x2a0)]),_0x2dd2e5=(0x0,_0x5d0d3c[_0x84e8fd(0x3ee)])(_0x27c7af[_0x84e8fd(0x4f8)]),{unitId:_0x155cd6,subUnitId:_0x2ddebe,drawingId:_0x1491df,shapeType:_0x1edb02}=_0x1ce4f5,[_0x5bb79c,_0x143dd9]=(0x0,_0xfdbdbb[_0x84e8fd(0x42d)])(_0x1ce4f5[_0x84e8fd(0x330)]),_0x32089f=_0x2dd2e5[_0x84e8fd(0x44e)](_0x155cd6,_0x27c7af[_0x84e8fd(0x462)][_0x84e8fd(0x50e)])??void 0x0,[_0x3f948f,_0x875738]=(0x0,_0xfdbdbb[_0x84e8fd(0x42d)])(()=>_0x3a2f9e(_0x32089f,_0x1491df)),_0x65cdb=(0x0,_0xfdbdbb[_0x84e8fd(0x2e2)])(()=>(0x0,_0x1e943b['getTextStyle'])(_0x5bb79c),[_0x5bb79c]),_0x180213=(0x0,_0xfdbdbb[_0x84e8fd(0x2e2)])(()=>(0x0,_0x1e943b[_0x84e8fd(0x1ac)])(_0x5bb79c),[_0x5bb79c]);(0x0,_0xfdbdbb[_0x84e8fd(0x370)])(()=>{const _0x5f5dd2=_0x84e8fd;let _0x2f068d=_0x606afa[_0x5f5dd2(0x249)](_0x5dd5d0=>{const _0x53f8cd=_0x5f5dd2;if(_0x5dd5d0['id']!==_0x4593cd[_0x53f8cd(0x1a4)]['id'])return;let _0x51f35f=_0x210aad[_0x53f8cd(0x29f)](_0x155cd6,_0x2ddebe,_0x1491df);_0x51f35f&&_0x143dd9(_0x51f35f);});return()=>_0x2f068d[_0x5f5dd2(0x49d)]();},[_0x606afa,_0x210aad,_0x1491df,_0x2ddebe,_0x155cd6]);let _0x16d05b=_0xfc9028=>{_0x143dd9(_0xddb4a4=>({..._0xddb4a4,..._0xfc9028}));},_0x576089=_0x887562=>{let _0x39de03=(0x0,_0x1e943b['buildShapeTextDataUpdate'])(_0x5bb79c,_0x887562);_0x191420(_0x606afa,_0x155cd6,_0x2ddebe,_0x1491df,{'oldShapeData':{'shapeText':_0x5bb79c['shapeText']}},_0x39de03),_0x16d05b(_0x39de03);},_0x5ba5f7=_0xb57c6d=>{const _0x1ebe52=_0x84e8fd;_0x875738(_0xb57c6d),_0x606afa[_0x1ebe52(0x304)](_0x156531[_0x1ebe52(0x3da)]['id'],{'unitId':_0x155cd6,'subUnitId':_0x2ddebe,'drawings':[{'unitId':_0x155cd6,'subUnitId':_0x2ddebe,'drawingId':_0x1491df}],'wrappingStyle':_0xb57c6d});},_0x48f931=(0x0,_0x1e943b[_0x84e8fd(0x417)])({'hostType':_0x27c7af[_0x84e8fd(0x462)][_0x84e8fd(0x50e)],'unitId':_0x155cd6,'subUnitId':_0x2ddebe,'shapeId':_0x1491df,'shapeData':_0x5bb79c,'onUpdateBinding':_0x1cc194=>{let _0x11b6f8={'formulaBinding':_0x1cc194};_0x191420(_0x606afa,_0x155cd6,_0x2ddebe,_0x1491df,{'oldShapeData':{'formulaBinding':_0x5bb79c['formulaBinding']}},_0x11b6f8),_0x16d05b(_0x11b6f8);}}),_0x393b80=[{'label':_0x1f57f5['t']('docs-shape-ui.textWrap.inline'),'value':_0x156531[_0x84e8fd(0x4bc)]['INLINE'],'icon':(0x0,_0x422a0d['jsx'])(_0x540123,{})},{'label':_0x1f57f5['t'](_0x84e8fd(0x412)),'value':_0x156531[_0x84e8fd(0x4bc)][_0x84e8fd(0x477)],'icon':(0x0,_0x422a0d['jsx'])(_0x540123,{})},{'label':_0x1f57f5['t'](_0x84e8fd(0x192)),'value':_0x156531[_0x84e8fd(0x4bc)][_0x84e8fd(0x37a)],'icon':(0x0,_0x422a0d[_0x84e8fd(0x1d2)])(_0x540123,{})},{'label':_0x1f57f5['t'](_0x84e8fd(0x2d9)),'value':_0x156531[_0x84e8fd(0x4bc)][_0x84e8fd(0x3f3)],'icon':(0x0,_0x422a0d[_0x84e8fd(0x1d2)])(_0x540123,{})},{'label':_0x1f57f5['t'](_0x84e8fd(0x203)),'value':_0x156531['TextWrappingStyle'][_0x84e8fd(0x23d)],'icon':(0x0,_0x422a0d[_0x84e8fd(0x1d2)])(_0x540123,{})}];return(0x0,_0x422a0d[_0x84e8fd(0x4c6)])(_0x422a0d['Fragment'],{'children':[(0x0,_0x422a0d[_0x84e8fd(0x1d2)])(_0x1e943b['ShapeFloatingToolbar'],{'canvasElement':_0x1ce4f5[_0x84e8fd(0x32f)],'shapeData':_0x5bb79c,'shapeType':_0x1edb02,'textStyle':{'ff':_0x2d76dd['ShapeDefaultConfig']['shapeText'][_0x84e8fd(0x375)],'fs':_0x2d76dd[_0x84e8fd(0x48c)][_0x84e8fd(0x1f2)][_0x84e8fd(0x284)],'cl':{'rgb':_0x2d76dd[_0x84e8fd(0x48c)]['shapeText'][_0x84e8fd(0x19a)]},..._0x65cdb},'textModel':_0x180213?{'ha':_0x180213['ha']??_0x27c7af[_0x84e8fd(0x366)][_0x84e8fd(0x17b)],'va':_0x180213['va']??_0x27c7af['VerticalAlign'][_0x84e8fd(0x1b5)]}:null,'wrappingStyle':_0x3f948f,'wrappingStyleOptions':_0x393b80,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2d76dd['ShapeDefaultConfig']['fill'],'defaultGradientEndColor':_0x2d76dd[_0x84e8fd(0x48c)]['gradientEndColor'],'defaultStrokeColor':_0x2d76dd[_0x84e8fd(0x48c)]['stroke'],'extensionGroups':_0x48f931[_0x84e8fd(0x19f)],'floatingObjectToolbarPosition':_0x5d0d3c[_0x84e8fd(0x360)]['DOC'],'onUpdateShapeData':(_0x142ceb,_0x288fc6)=>{_0x191420(_0x606afa,_0x155cd6,_0x2ddebe,_0x1491df,_0x142ceb,_0x288fc6),_0x288fc6&&_0x16d05b(_0x288fc6);},'onUpdateText':_0x576089,'onUpdateWrappingStyle':_0x157aca=>_0x5ba5f7(_0x157aca),'onOpenPanel':()=>{const _0x1ed964=_0x84e8fd;_0x606afa[_0x1ed964(0x304)](_0x7559e5['id'],{'unitId':_0x155cd6,'subUnitId':_0x2ddebe,'drawingId':_0x1491df});},'onDelete':()=>{const _0x37920a=_0x84e8fd;_0x606afa[_0x37920a(0x304)](_0x156531[_0x37920a(0x234)]['id'],{'unitId':_0x155cd6,'drawings':[{'unitId':_0x155cd6,'subUnitId':_0x2ddebe,'drawingId':_0x1491df}]});}}),_0x48f931[_0x84e8fd(0x28d)]]});}function _0x8abfc9({variant:_0x5b423e,extend:_0x27dbfc,..._0x4fcfe7}){const _0x2a6869=_0x7105ae;let _0x8e2064=(0x0,_0x422a0d[_0x2a6869(0x1d2)])(_0x2a6869(0x507),{'x':'7','y':_0x2a6869(0x219),'width':'6','height':'9','rx':'1','fill':_0x2a6869(0x443),'fillOpacity':_0x2a6869(0x2fc),'stroke':_0x2a6869(0x443),'strokeWidth':_0x2a6869(0x18d)});return(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x2a6869(0x2dd),{'aria-hidden':_0x2a6869(0x199),'fill':'none','height':'1em','viewBox':_0x2a6869(0x220),'width':_0x2a6869(0x1c6),..._0x4fcfe7,'children':[_0x5b423e===_0x2a6869(0x2cb)&&(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x422a0d['Fragment'],{'children':[(0x0,_0x422a0d['jsx'])(_0x2a6869(0x43a),{'d':_0x2a6869(0x18e),'stroke':_0x2a6869(0x443),'strokeLinecap':'round','strokeWidth':_0x2a6869(0x18d)}),(0x0,_0x422a0d[_0x2a6869(0x1d2)])(_0x2a6869(0x507),{'x':'8','y':'7','width':'4','height':'6','rx':_0x2a6869(0x466),'fill':_0x2a6869(0x443),'fillOpacity':_0x2a6869(0x2fc),'stroke':_0x2a6869(0x443),'strokeWidth':_0x2a6869(0x18d)})]}),_0x5b423e===_0x2a6869(0x2f5)&&(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x422a0d[_0x2a6869(0x1ae)],{'children':[(0x0,_0x422a0d['jsx'])(_0x2a6869(0x43a),{'d':_0x2a6869(0x1cc),'stroke':_0x2a6869(0x443),'strokeLinecap':'round','strokeWidth':_0x2a6869(0x18d)}),_0x8e2064]}),_0x5b423e===_0x2a6869(0x4c2)&&(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x422a0d['Fragment'],{'children':[(0x0,_0x422a0d[_0x2a6869(0x1d2)])(_0x2a6869(0x43a),{'d':_0x2a6869(0x276),'stroke':'currentColor','strokeLinecap':_0x2a6869(0x28f),'strokeWidth':_0x2a6869(0x18d)}),_0x8e2064]}),_0x5b423e===_0x2a6869(0x4ff)&&(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x422a0d['Fragment'],{'children':[_0x8e2064,(0x0,_0x422a0d[_0x2a6869(0x1d2)])(_0x2a6869(0x43a),{'d':_0x2a6869(0x3df),'stroke':_0x2a6869(0x443),'strokeLinecap':'round','strokeWidth':_0x2a6869(0x18d)})]}),_0x5b423e===_0x2a6869(0x245)&&(0x0,_0x422a0d[_0x2a6869(0x4c6)])(_0x422a0d[_0x2a6869(0x1ae)],{'children':[(0x0,_0x422a0d['jsx'])(_0x2a6869(0x43a),{'d':_0x2a6869(0x3df),'stroke':_0x2a6869(0x443),'strokeLinecap':_0x2a6869(0x28f),'strokeWidth':'1.2'}),(0x0,_0x422a0d[_0x2a6869(0x1d2)])('rect',{'x':'7','y':_0x2a6869(0x219),'width':'6','height':'9','rx':'1','fill':_0x2a6869(0x443)})]})]});}let _0x165b19=_0xc78c63=>_0x5343e6=>(0x0,_0x422a0d[_0x7105ae(0x1d2)])(_0x8abfc9,{..._0x5343e6,'variant':_0xc78c63}),_0x4a3b51={'DocsShapeWrapInlineIcon':_0x165b19(_0x7105ae(0x2cb)),'DocsShapeWrapSquareIcon':_0x165b19('square'),'DocsShapeWrapTopBottomIcon':_0x165b19('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x165b19(_0x7105ae(0x4ff)),'DocsShapeWrapInFrontOfTextIcon':_0x165b19('front')},_0x2e4c42=(0x0,_0xfdbdbb[_0x7105ae(0x2db)])(()=>{const _0x1554fe=_0x7105ae;let _0x54244f=(0x0,_0x5d0d3c[_0x1554fe(0x3ee)])(_0x26fbf4),_0x7f6a4c=(0x0,_0x5d0d3c[_0x1554fe(0x3ee)])(_0x4593cd['DocsShapeService']),_0x3fa64f=(0x0,_0x5d0d3c['useDependency'])(_0x2ead9f[_0x1554fe(0x2c4)]),_0x59672d=(0x0,_0x5d0d3c[_0x1554fe(0x3ee)])(_0x27c7af['ICommandService']),_0x499314=(0x0,_0xfdbdbb['useMemo'])(()=>({'getShapeModel':(_0x227c93,_0x356d8e,_0x4feab6)=>_0x7f6a4c['getShapeModel'](_0x227c93,_0x356d8e,_0x4feab6),'getShapeData':(_0x150d70,_0x62ef0d,_0x49aea5)=>_0x7f6a4c[_0x1554fe(0x29f)](_0x150d70,_0x62ef0d,_0x49aea5),'getDrawingTransform':(_0x2bea21,_0x4b5ac6,_0x1d5a93)=>{const _0x35061b=_0x1554fe;let _0x241670=_0x3fa64f['getDrawingByParam']({'unitId':_0x2bea21,'subUnitId':_0x4b5ac6,'drawingId':_0x1d5a93});return _0x241670==null?void 0x0:_0x241670[_0x35061b(0x226)];},'updateShapeText':({unitId:_0x29573f,shapeId:_0xffdebb,shapeText:_0x2b8101,oldShapeText:_0x22b2bc})=>{_0x59672d['executeCommand'](_0x4593cd['UpdateDocShapeDataCommand']['id'],{'unitId':_0x29573f,'shapeId':_0xffdebb,'shapeData':{'shapeText':_0x2b8101},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x22b2bc}}});},'updateHostSize':({unitId:_0x41323d,subUnitId:_0x5a5a8d,shapeId:_0x1d5dc1,width:_0x432e6a,height:_0x33c44f})=>{const _0x160755=_0x1554fe;_0x59672d[_0x160755(0x304)](_0x156531[_0x160755(0x3e8)]['id'],{'unitId':_0x41323d,'subUnitId':_0x5a5a8d,'drawings':[{'drawingId':_0x1d5dc1,'key':_0x160755(0x22f),'value':{'width':_0x432e6a,'height':_0x33c44f}}]});},'allowHostSizeShrink':({unitId:_0x21e860,subUnitId:_0x13c3cd,shapeId:_0x43bcbb})=>(0x0,_0x1e943b[_0x1554fe(0x374)])(_0x7f6a4c[_0x1554fe(0x29f)](_0x21e860,_0x13c3cd,_0x43bcbb))}),[_0x59672d,_0x7f6a4c,_0x3fa64f]),_0xd34582=(0x0,_0xfdbdbb[_0x1554fe(0x2e2)])(()=>({'viewportKeys':{'main':_0x43e864[_0x1554fe(0x1ca)][_0x1554fe(0x497)]}}),[]);return(0x0,_0x422a0d[_0x1554fe(0x1d2)])(_0x1e943b['ShapeTextEditorContainer'],{'adapter':_0x499314,'editingService':_0x54244f,'editorUnitId':_0x4252da,'positionOptions':_0xd34582});}),_0xe70e53=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x15a7df,_0x1a28af){const _0x20604c=_0x7105ae;super(),this['_componentManager']=_0x15a7df,this[_0x20604c(0x270)]=_0x1a28af,this[_0x20604c(0x486)](),this[_0x20604c(0x40d)]();}[_0x7105ae(0x486)](){const _0x4d774c=_0x7105ae;this[_0x4d774c(0x270)][_0x4d774c(0x3d9)]('ObjectLayersIcon')||this[_0x4d774c(0x346)](this[_0x4d774c(0x270)]['register']({'ObjectLayersIcon':_0x4d0657})),this[_0x4d774c(0x270)][_0x4d774c(0x3d9)](_0x4d774c(0x2ac))||this[_0x4d774c(0x346)](this[_0x4d774c(0x270)][_0x4d774c(0x3fa)]({'BottomIcon':_0x41ffef})),this[_0x4d774c(0x270)][_0x4d774c(0x3d9)](_0x4d774c(0x315))||this[_0x4d774c(0x346)](this[_0x4d774c(0x270)][_0x4d774c(0x3fa)]({'MoveDownIcon':_0x9efe91})),this[_0x4d774c(0x270)][_0x4d774c(0x3d9)]('MoveUpIcon')||this[_0x4d774c(0x346)](this['_iconManager'][_0x4d774c(0x3fa)]({'MoveUpIcon':_0x4a4f54})),this[_0x4d774c(0x270)][_0x4d774c(0x3d9)](_0x4d774c(0x22d))||this[_0x4d774c(0x346)](this['_iconManager'][_0x4d774c(0x3fa)]({'ShapeFormatSettingIcon':_0x5bd523})),this[_0x4d774c(0x270)][_0x4d774c(0x3d9)](_0x4d774c(0x485))||this[_0x4d774c(0x346)](this[_0x4d774c(0x270)]['register']({'TopmostIcon':_0x34c705})),this[_0x4d774c(0x346)](this[_0x4d774c(0x270)][_0x4d774c(0x3fa)](_0x4a3b51));}[_0x7105ae(0x40d)](){const _0x256d2c=_0x7105ae;this[_0x256d2c(0x346)](this[_0x256d2c(0x3b0)]['register'](_0x1cfbc7,_0x21104)),this[_0x256d2c(0x2eb)](),this[_0x256d2c(0x248)](),this[_0x256d2c(0x346)](this[_0x256d2c(0x3b0)][_0x256d2c(0x3fa)](_0x4f982c,_0x1d0fd1)),this[_0x256d2c(0x346)](this['_componentManager'][_0x256d2c(0x3fa)](_0x1c5af,_0x1e0a77)),this['disposeWithMe'](this['_componentManager'][_0x256d2c(0x3fa)](_0x3d9e86,_0x33ed11)),this[_0x256d2c(0x346)](this[_0x256d2c(0x3b0)]['register'](_0x51a83f,_0x583058)),this[_0x256d2c(0x346)](this['_componentManager'][_0x256d2c(0x3fa)](_0x547f99,_0xef465c)),this[_0x256d2c(0x346)](this[_0x256d2c(0x3b0)][_0x256d2c(0x3fa)](_0xf2e4c6,_0x1e943b['ShapeTextFloatToolbar'])),this[_0x256d2c(0x415)](),this[_0x256d2c(0x3b0)]['get'](_0x535004['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this[_0x256d2c(0x346)](this[_0x256d2c(0x3b0)][_0x256d2c(0x3fa)](_0x535004[_0x256d2c(0x344)],_0x10a8cc)),this[_0x256d2c(0x346)](this['_componentManager'][_0x256d2c(0x3fa)](_0x47775f,_0x2e4c42));}[_0x7105ae(0x2eb)](){const _0x20c7e8=_0x7105ae;this[_0x20c7e8(0x346)](this[_0x20c7e8(0x3b0)][_0x20c7e8(0x3fa)](_0x3ad19e,_0x510104));}[_0x7105ae(0x248)](){const _0x534bdc=_0x7105ae;this[_0x534bdc(0x346)](this[_0x534bdc(0x3b0)][_0x534bdc(0x3fa)](_0x2825d6,_0x5e82b6));}[_0x7105ae(0x415)](){const _0x710bda=_0x7105ae;this[_0x710bda(0x346)](this[_0x710bda(0x3b0)][_0x710bda(0x3fa)](_0x369009,_0x1dbf2f)),this[_0x710bda(0x346)](this[_0x710bda(0x3b0)][_0x710bda(0x3fa)](_0x392e47,_0x3b6a11));}};_0xe70e53=_0x21f5d0([_0xb8d662(0x0,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x5d0d3c[_0x7105ae(0x36d)])),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x5d0d3c[_0x7105ae(0x3e7)]))],_0xe70e53);let _0x3ad79a=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x9fa2cc,_0x5cd0f1,_0x1076af,_0x1b291b,_0xc0eb89,_0x5054d3,_0x309ab0,_0x2cb327,_0x45b6bc,_0x15a49f,_0x400c97,_0x58cae3,_0x36ffa7){const _0x24f767=_0x7105ae;super(),this[_0x24f767(0x208)]=_0x9fa2cc,this[_0x24f767(0x4b6)]=_0x5cd0f1,this[_0x24f767(0x2e4)]=_0x1076af,this[_0x24f767(0x215)]=_0x1b291b,this[_0x24f767(0x423)]=_0xc0eb89,this[_0x24f767(0x335)]=_0x5054d3,this['_drawingManagerService']=_0x309ab0,this[_0x24f767(0x267)]=_0x2cb327,this[_0x24f767(0x323)]=_0x45b6bc,this[_0x24f767(0x1af)]=_0x15a49f,this['_shapeTextEditingService']=_0x400c97,this[_0x24f767(0x2e5)]=_0x58cae3,this['_mobileEditorService']=_0x36ffa7,_0x35ae83(this,_0x24f767(0x428),null),_0x35ae83(this,'_activeShapeInfo',null),_0x35ae83(this,_0x24f767(0x1fd),!0x1),_0x35ae83(this,_0x24f767(0x43e),0x0),_0x35ae83(this,_0x24f767(0x393),new Map()),_0x35ae83(this,_0x24f767(0x33d),new Map()),this['_initMenu'](),this[_0x24f767(0x346)](this[_0x24f767(0x208)][_0x24f767(0x2f2)](_0x27c7af[_0x24f767(0x462)]['UNIVER_DOC'])[_0x24f767(0x197)](_0x22d978=>{const _0x4b0dda=_0x24f767;if(!_0x22d978){var _0x4200bd;(_0x4200bd=this[_0x4b0dda(0x428)])==null||_0x4200bd[_0x4b0dda(0x49d)]();}})),this['_registerOperations'](),this[_0x24f767(0x346)]((0x0,_0x1e943b[_0x24f767(0x364)])(this[_0x24f767(0x323)],_0x27c7af[_0x24f767(0x462)][_0x24f767(0x50e)],_0x43e0=>this[_0x24f767(0x3b5)](_0x43e0))),this['disposeWithMe'](this[_0x24f767(0x17d)][_0x24f767(0x1b4)]['subscribe'](_0x15d407=>{const _0x2b1d58=_0x24f767;_0x15d407&&this[_0x2b1d58(0x1f1)](void 0x0,!0x0);})),this[_0x24f767(0x346)](this[_0x24f767(0x2e5)][_0x24f767(0x24e)][_0x24f767(0x197)](()=>{const _0x136598=_0x24f767;this[_0x136598(0x251)][_0x136598(0x23c)]()[_0x136598(0x519)](_0x16b063=>_0x16b063[_0x136598(0x4c0)]===_0x27c7af[_0x136598(0x301)][_0x136598(0x177)]&&this[_0x136598(0x208)]['getUnitType'](_0x16b063[_0x136598(0x327)])===_0x27c7af[_0x136598(0x462)][_0x136598(0x50e)]&&!this[_0x136598(0x2c6)](_0x16b063[_0x136598(0x327)],_0x16b063[_0x136598(0x198)]))&&(this[_0x136598(0x1f1)](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}['getShapePopupMenus'](_0x4b4831,_0x3c59e2,_0x198176,_0x1099f6){const _0x42d5a7=_0x7105ae;return[{'label':_0x42d5a7(0x510),'index':0x0,'commandId':_0x7559e5['id'],'commandParams':{'unitId':_0x4b4831,'subUnitId':_0x3c59e2,'drawingId':_0x198176},'disable':_0x1099f6===_0x27c7af[_0x42d5a7(0x301)][_0x42d5a7(0x35a)]},{'label':_0x42d5a7(0x42a),'index':0x1,'commandId':_0x156531[_0x42d5a7(0x234)]['id'],'commandParams':{'unitId':_0x4b4831,'drawings':[{'unitId':_0x4b4831,'subUnitId':_0x3c59e2,'drawingId':_0x198176}]},'disable':!0x1},{'label':_0x42d5a7(0x39a),'index':0x2,'commandId':_0x44fd3d['id'],'commandParams':{'unitId':_0x4b4831,'subUnitId':_0x3c59e2,'drawingId':_0x198176},'disable':!0x1}];}[_0x7105ae(0x4f1)](){const _0x3b0ae7=_0x7105ae;this['_menuManagerService'][_0x3b0ae7(0x413)](_0x7d00f1);}[_0x7105ae(0x1a6)](_0x2cdcc5,_0x551997,_0x8e8094){const _0x42f335=_0x7105ae;let _0x426088=this[_0x42f335(0x215)][_0x42f335(0x1de)](_0x2cdcc5,_0x551997,_0x8e8094),_0x4dd71b=this[_0x42f335(0x215)]['getShapeDataById'](_0x2cdcc5,_0x551997,_0x8e8094);return _0x426088===void 0x0||_0x4dd71b===void 0x0?null:{'shapeData':_0x4dd71b,'shapeId':_0x8e8094,'shapeType':_0x426088,'unitId':_0x2cdcc5,'subUnitId':_0x551997,'version':this[_0x42f335(0x43e)],'disableShapeOption':!0x1};}[_0x7105ae(0x1f1)](_0x27d053,_0x1e84df=!0x1){const _0x84f9a8=_0x7105ae;if(_0x27d053==null){[...this['_disposePopupsByUnit'][_0x84f9a8(0x2fd)]()]['forEach'](_0x3da2fa=>this[_0x84f9a8(0x1f1)](_0x3da2fa,_0x1e84df));return;}let _0x1c7308=this[_0x84f9a8(0x393)][_0x84f9a8(0x457)](_0x27d053);if(_0x1c7308){for(let _0x5489c8=_0x1c7308[_0x84f9a8(0x3bc)]-0x1;_0x5489c8>=0x0;--_0x5489c8){let _0x437430=_0x1c7308[_0x5489c8];(_0x1e84df||_0x437430[_0x84f9a8(0x40e)]())&&(_0x437430['dispose'](),_0x1c7308[_0x84f9a8(0x419)](_0x5489c8,0x1));}_0x1c7308[_0x84f9a8(0x3bc)]===0x0&&(this[_0x84f9a8(0x393)][_0x84f9a8(0x46c)](_0x27d053),this[_0x84f9a8(0x33d)][_0x84f9a8(0x46c)](_0x27d053));}}[_0x7105ae(0x48a)](_0x540d23){const _0x4ddd41=_0x7105ae;let _0x1d7e89=this[_0x4ddd41(0x393)][_0x4ddd41(0x457)](_0x540d23);if(_0x1d7e89)return _0x1d7e89;let _0x5ea954=[];return this['_disposePopupsByUnit'][_0x4ddd41(0x432)](_0x540d23,_0x5ea954),_0x5ea954;}[_0x7105ae(0x3b5)](_0x52a630){const _0x10a9c3=_0x7105ae;var _0x5ddb1b;let _0x4f7fcc=new _0x27c7af['DisposableCollection'](),_0x3263d9=(_0x5ddb1b=this[_0x10a9c3(0x323)][_0x10a9c3(0x324)](_0x27c7af[_0x10a9c3(0x462)][_0x10a9c3(0x50e)])[_0x10a9c3(0x295)](_0x4019ae=>_0x4019ae[_0x10a9c3(0x252)][_0x10a9c3(0x356)]()===_0x52a630))==null?void 0x0:_0x5ddb1b[_0x10a9c3(0x327)];return _0x3263d9?(_0x4f7fcc[_0x10a9c3(0x21b)](_0x52a630[_0x10a9c3(0x1b1)][_0x10a9c3(0x197)](()=>this[_0x10a9c3(0x261)](_0x52a630,_0x3263d9))),_0x4f7fcc[_0x10a9c3(0x21b)](_0x52a630[_0x10a9c3(0x316)]['subscribe'](()=>{const _0x4133ed=_0x10a9c3;this[_0x4133ed(0x1f1)](_0x3263d9),queueMicrotask(()=>{const _0x52af82=_0x4133ed;_0x52a630[_0x52af82(0x4b1)]()['size']>0x0||!this[_0x52af82(0x251)]['getFocusDrawings']()[_0x52af82(0x519)](_0x5797d6=>_0x5797d6[_0x52af82(0x327)]===_0x3263d9)||(this[_0x52af82(0x1af)][_0x52af82(0x4ba)](_0x27c7af['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x52af82(0x29a)](null));});})),_0x4f7fcc[_0x10a9c3(0x21b)](_0x52a630[_0x10a9c3(0x184)][_0x10a9c3(0x197)](()=>{const _0x420b2c=_0x10a9c3;this[_0x420b2c(0x1f1)](_0x3263d9,!0x0);})),_0x4f7fcc):_0x4f7fcc;}[_0x7105ae(0x261)](_0x2be64c,_0xa32f47){const _0x554447=_0x7105ae;let _0x25a98e=_0x2be64c[_0x554447(0x4b1)]();if(this[_0x554447(0x1fd)]){this[_0x554447(0x1f1)](_0xa32f47,!0x0);return;}if(_0x25a98e[_0x554447(0x22f)]>0x1){this[_0x554447(0x1f1)](_0xa32f47);return;}let _0x39d4cb=_0x25a98e['values']()[_0x554447(0x41a)]()[_0x554447(0x39d)];if(!_0x39d4cb){this[_0x554447(0x1f1)](_0xa32f47);return;}let _0x335cba=this[_0x554447(0x251)][_0x554447(0x391)](_0x39d4cb['oKey']);if(!_0x335cba||_0x335cba[_0x554447(0x4c0)]!==_0x27c7af[_0x554447(0x301)][_0x554447(0x177)]){this[_0x554447(0x1f1)](_0xa32f47);return;}let {unitId:_0x2edec9,subUnitId:_0x3e9b7a,drawingId:_0x49eca1}=_0x335cba;if(!this[_0x554447(0x2c6)](_0x2edec9,_0x49eca1)){this['_clearPopups'](_0xa32f47,!0x0);return;}let _0x2c67df=this[_0x554447(0x1a6)](_0x2edec9,_0x3e9b7a,_0x49eca1);if(!_0x2c67df){this[_0x554447(0x1f1)](_0xa32f47);return;}let _0x1960bb=this[_0x554447(0x393)][_0x554447(0x457)](_0xa32f47),_0x489986=_0x2edec9+':'+_0x3e9b7a+':'+_0x49eca1;if(this['_popupTargetKeys'][_0x554447(0x457)](_0xa32f47)===_0x489986&&_0x1960bb!=null&&_0x1960bb[_0x554447(0x3bc)])return;this[_0x554447(0x1f1)](_0xa32f47);let _0x4ec2bf=this[_0x554447(0x323)][_0x554447(0x41e)](_0x2edec9),_0x20780e=((_0x4ec2bf==null?void 0x0:_0x4ec2bf[_0x554447(0x30a)])===!0x1?_0x4ec2bf['with'](_0x43e864[_0x554447(0x4eb)]):this[_0x554447(0x267)])[_0x554447(0x4da)](_0x39d4cb,this['_getShapePopup'](_0x2c67df,()=>this[_0x554447(0x1f1)](_0xa32f47,!0x0)),_0x2edec9);this['disposeWithMe'](_0x20780e),this[_0x554447(0x48a)](_0xa32f47)['push'](_0x20780e),this[_0x554447(0x33d)]['set'](_0xa32f47,_0x489986),this[_0x554447(0x251)][_0x554447(0x23c)]()[_0x554447(0x519)](_0x1083db=>_0x1083db[_0x554447(0x327)]===_0x2edec9&&_0x1083db['subUnitId']===_0x3e9b7a&&_0x1083db[_0x554447(0x198)]===_0x49eca1)||this[_0x554447(0x251)][_0x554447(0x29a)]([{'unitId':_0x2edec9,'subUnitId':_0x3e9b7a,'drawingId':_0x49eca1}]);}[_0x7105ae(0x21f)](_0x4f76c9,_0x4df1ab){const _0x3fe4a9=_0x7105ae;let {unitId:_0x5cae5c,subUnitId:_0x471d73,shapeId:_0x432e6d}=_0x4f76c9,_0x858adb={'hostType':_0x27c7af[_0x3fe4a9(0x462)][_0x3fe4a9(0x50e)],'unitId':_0x5cae5c,'subUnitId':_0x471d73,'shapeId':_0x432e6d};return{'componentKey':_0x2825d6,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x4f76c9['shapeType'],'onText':()=>{const _0x79767b=_0x3fe4a9;_0x4df1ab(),this[_0x79767b(0x1cd)][_0x79767b(0x36b)](_0x79767b(0x288),_0x858adb);},'onStyle':()=>{const _0x30971e=_0x3fe4a9;_0x4df1ab(),this[_0x30971e(0x1cd)][_0x30971e(0x36b)](_0x30971e(0x214),_0x858adb);},'onDelete':()=>this[_0x3fe4a9(0x335)][_0x3fe4a9(0x304)](_0x156531[_0x3fe4a9(0x234)]['id'],{'unitId':_0x5cae5c,'drawings':[{'unitId':_0x5cae5c,'subUnitId':_0x471d73,'drawingId':_0x432e6d}]})}};}[_0x7105ae(0x2c6)](_0x48701e,_0x189fe9){const _0xe91edc=_0x7105ae;let _0x2d7b0b=this[_0xe91edc(0x208)][_0xe91edc(0x44e)](_0x48701e,_0x27c7af[_0xe91edc(0x462)][_0xe91edc(0x50e)]);if(!_0x2d7b0b)return!0x1;let _0x5b764d=(0x0,_0x374e66[_0xe91edc(0x2f3)])(_0x2d7b0b,_0x189fe9);return(0x0,_0x374e66[_0xe91edc(0x4b7)])(this[_0xe91edc(0x2e5)],_0x48701e,[...(0x0,_0x374e66[_0xe91edc(0x44d)])(_0x2d7b0b,_0x5b764d,_0xe91edc(0x425),_0x189fe9),(0x0,_0x374e66[_0xe91edc(0x4d0)])(_0x5b764d,_0xe91edc(0x425),_0x189fe9)]);}[_0x7105ae(0x222)](){const _0x296701=_0x7105ae;this['disposeWithMe'](this[_0x296701(0x335)][_0x296701(0x249)](_0x1b2024=>{const _0x42f478=_0x296701;if(_0x1b2024['id']===_0x7559e5['id']){let {unitId:_0x2d6a10,subUnitId:_0x19134c,drawingId:_0x1704e3}=_0x1b2024[_0x42f478(0x488)];this[_0x42f478(0x43e)]+=0x1,this[_0x42f478(0x306)]=this[_0x42f478(0x1a6)](_0x2d6a10,_0x19134c,_0x1704e3),this['_clearPopups'](void 0x0,!0x0),this['_openShapeEditPanel']();}if(_0x1b2024['id']===_0x44fd3d['id']&&(this[_0x42f478(0x306)]=null,this[_0x42f478(0x2d8)]()),_0x1b2024['id']===_0x4593cd[_0x42f478(0x1a4)]['id']){var _0x29f8e7;let {unitId:_0x339aad,shapeId:_0x3aaf35}=_0x1b2024[_0x42f478(0x488)];if(((_0x29f8e7=this[_0x42f478(0x306)])==null?void 0x0:_0x29f8e7['shapeId'])===_0x3aaf35){let _0x2ffcbe=this[_0x42f478(0x1a6)](_0x339aad,this[_0x42f478(0x306)][_0x42f478(0x3c2)],_0x3aaf35);_0x2ffcbe&&(this['_shapeEditPanelVersion']+=0x1,_0x2ffcbe[_0x42f478(0x4d8)]=this[_0x42f478(0x43e)],this[_0x42f478(0x306)]=_0x2ffcbe,this[_0x42f478(0x1fd)]&&this['_openShapeEditPanel']());}}})),this['disposeWithMe'](this[_0x296701(0x251)][_0x296701(0x25e)][_0x296701(0x197)](_0x1fee9f=>{const _0x3ac6b9=_0x296701;if(!this[_0x3ac6b9(0x1fd)])return;if(_0x1fee9f[_0x3ac6b9(0x3bc)]===0x0){this[_0x3ac6b9(0x306)]=null,this[_0x3ac6b9(0x2d8)]();return;}if(_0x1fee9f['length']===0x1&&_0x1fee9f[0x0][_0x3ac6b9(0x4c0)]===_0x27c7af[_0x3ac6b9(0x301)][_0x3ac6b9(0x177)]&&(this[_0x3ac6b9(0x43e)]+=0x1,this['_activeShapeInfo']=this[_0x3ac6b9(0x1a6)](_0x1fee9f[0x0]['unitId'],_0x1fee9f[0x0][_0x3ac6b9(0x3c2)],_0x1fee9f[0x0][_0x3ac6b9(0x198)]),this[_0x3ac6b9(0x306)])){this[_0x3ac6b9(0x36c)]();return;}let _0x2c0df7=_0x1fee9f[_0x3ac6b9(0x216)](_0x3a6359=>_0x3a6359['drawingType']===_0x27c7af[_0x3ac6b9(0x301)][_0x3ac6b9(0x177)]);if(this[_0x3ac6b9(0x43e)]+=0x1,this[_0x3ac6b9(0x306)]=this[_0x3ac6b9(0x1a6)](_0x1fee9f[0x0][_0x3ac6b9(0x327)],_0x1fee9f[0x0]['subUnitId'],_0x1fee9f[0x0][_0x3ac6b9(0x198)]),this[_0x3ac6b9(0x306)]&&_0x1fee9f['length']>0x1&&_0x2c0df7[_0x3ac6b9(0x3bc)]===_0x1fee9f[_0x3ac6b9(0x3bc)]){this['_openShapeEditPanel']();return;}if(this[_0x3ac6b9(0x306)]&&_0x2c0df7[_0x3ac6b9(0x3bc)]!==_0x1fee9f['length']){this['_activeShapeInfo'][_0x3ac6b9(0x31b)]=!0x0,this[_0x3ac6b9(0x36c)]();return;}this[_0x3ac6b9(0x2d8)]();}));}[_0x7105ae(0x36c)](){const _0x301a97=_0x7105ae;this[_0x301a97(0x306)]&&(this['_sidebarDisposable']=this[_0x301a97(0x4b6)][_0x301a97(0x36b)]({'id':_0x1cfbc7,'header':{'title':this['_localeService']['t'](_0x301a97(0x38d))},'width':0x184,'children':{'label':_0x1cfbc7,...this[_0x301a97(0x306)]},'onClose':()=>{const _0x3dccd4=_0x301a97;this[_0x3dccd4(0x251)]['focusDrawing'](null),this['_contextService'][_0x3dccd4(0x4ba)](_0x27c7af['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x3dccd4(0x428)]=null;}}),this[_0x301a97(0x1fd)]=!0x0);}[_0x7105ae(0x2d8)](){const _0x8665ca=_0x7105ae;this[_0x8665ca(0x1fd)]=!0x1,this[_0x8665ca(0x4b6)][_0x8665ca(0x2c2)](_0x1cfbc7),this[_0x8665ca(0x428)]=null,this['_contextService'][_0x8665ca(0x4ba)](_0x27c7af['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x8665ca(0x251)][_0x8665ca(0x29a)](null);}};_0x3ad79a=_0x21f5d0([_0xb8d662(0x0,_0x27c7af['IUniverInstanceService']),_0xb8d662(0x1,(0x0,_0x27c7af['Inject'])(_0x5d0d3c['ISidebarService'])),_0xb8d662(0x2,_0x5d0d3c[_0x7105ae(0x213)]),_0xb8d662(0x3,(0x0,_0x27c7af['Inject'])(_0x4593cd['DocsShapeService'])),_0xb8d662(0x4,(0x0,_0x27c7af['Inject'])(_0x27c7af[_0x7105ae(0x27e)])),_0xb8d662(0x5,_0x27c7af[_0x7105ae(0x478)]),_0xb8d662(0x6,_0x2ead9f['IDrawingManagerService']),_0xb8d662(0x7,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864[_0x7105ae(0x4eb)])),_0xb8d662(0x8,_0x48e4a9[_0x7105ae(0x209)]),_0xb8d662(0x9,_0x27c7af[_0x7105ae(0x3c5)]),_0xb8d662(0xa,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4)),_0xb8d662(0xb,_0x27c7af[_0x7105ae(0x359)]),_0xb8d662(0xc,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x1e943b['MobileShapeEditorService']))],_0x3ad79a);let _0x22b9b1=_0x7105ae(0x2ea),_0x53bc97=class extends _0x27c7af['Disposable']{constructor(_0x305465,_0x132023,_0x2c82d1,_0x7ded74,_0x4cd40f,_0x16adbc){const _0x1914b3=_0x7105ae;super(),this[_0x1914b3(0x2e4)]=_0x305465,this[_0x1914b3(0x404)]=_0x132023,this[_0x1914b3(0x251)]=_0x2c82d1,this[_0x1914b3(0x208)]=_0x7ded74,this[_0x1914b3(0x323)]=_0x4cd40f,this[_0x1914b3(0x504)]=_0x16adbc,_0x35ae83(this,'_visible',!0x1),this[_0x1914b3(0x2e4)][_0x1914b3(0x413)](_0x115081),this[_0x1914b3(0x346)]((0x0,_0x27c7af[_0x1914b3(0x32e)])(this[_0x1914b3(0x251)]['focus$']['subscribe'](()=>this['_update']()))),this[_0x1914b3(0x269)]();}[_0x7105ae(0x49d)](){const _0x3fd39d=_0x7105ae;this[_0x3fd39d(0x504)][_0x3fd39d(0x2b1)](!0x1,_0x22b9b1),this[_0x3fd39d(0x363)](),super[_0x3fd39d(0x49d)]();}['_update'](){const _0x3ba86d=_0x7105ae;var _0x108aac;let _0x18236b=this[_0x3ba86d(0x251)]['getFocusDrawings'](),_0xae745c=_0x18236b[_0x3ba86d(0x3bc)]===0x1?_0x18236b[0x0]:void 0x0;if((_0xae745c==null?void 0x0:_0xae745c[_0x3ba86d(0x4c0)])!==_0x27c7af[_0x3ba86d(0x301)][_0x3ba86d(0x177)]||this[_0x3ba86d(0x208)][_0x3ba86d(0x1ee)](_0xae745c[_0x3ba86d(0x327)])!==_0x27c7af[_0x3ba86d(0x462)][_0x3ba86d(0x50e)]){this[_0x3ba86d(0x504)][_0x3ba86d(0x2b1)](!0x1,_0x22b9b1),this[_0x3ba86d(0x363)]();return;}let _0x22194f=(_0x108aac=this[_0x3ba86d(0x323)][_0x3ba86d(0x41e)](_0xae745c[_0x3ba86d(0x327)]))==null?void 0x0:_0x108aac[_0x3ba86d(0x3ce)][_0x3ba86d(0x255)](),_0x5ef925=(0x0,_0x1e943b[_0x3ba86d(0x46e)])(_0x22194f)===_0x3ba86d(0x3d2);if(this[_0x3ba86d(0x504)][_0x3ba86d(0x2b1)](_0x5ef925,_0x22b9b1),_0x5ef925){this['_hide']();return;}this['_visible']=!0x0,this[_0x3ba86d(0x404)][_0x3ba86d(0x471)](_0x3a45b1,{'activate':!0x0});}[_0x7105ae(0x363)](){const _0x211f2c=_0x7105ae;this[_0x211f2c(0x4c7)]&&(this[_0x211f2c(0x4c7)]=!0x1,this[_0x211f2c(0x404)][_0x211f2c(0x27f)](_0x3a45b1),this[_0x211f2c(0x404)][_0x211f2c(0x4f7)]([]));}};_0x53bc97=_0x21f5d0([_0xb8d662(0x0,_0x5d0d3c[_0x7105ae(0x213)]),_0xb8d662(0x1,_0x5d0d3c[_0x7105ae(0x2ba)]),_0xb8d662(0x2,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x3,_0x27c7af['IUniverInstanceService']),_0xb8d662(0x4,_0x48e4a9[_0x7105ae(0x209)]),_0xb8d662(0x5,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x1e943b['ShapeFloatingToolbarService']))],_0x53bc97);let _0x1bdb39=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x216a2b,_0x343ea2,_0x2f9ce9,_0x3ffa99){const _0x5d6339=_0x7105ae;super(),this[_0x5d6339(0x335)]=_0x216a2b,this[_0x5d6339(0x323)]=_0x343ea2,this[_0x5d6339(0x251)]=_0x2f9ce9,this[_0x5d6339(0x1e9)]=_0x3ffa99,this['_initialize']();}[_0x7105ae(0x47e)](){const _0x465c66=_0x7105ae;this[_0x465c66(0x346)](this['_drawingManagerService'][_0x465c66(0x4ca)][_0x465c66(0x197)](_0x3a1178=>this[_0x465c66(0x3c8)](_0x3a1178))),this['disposeWithMe'](this[_0x465c66(0x251)][_0x465c66(0x492)][_0x465c66(0x197)](_0x2110ae=>{const _0x58c169=_0x465c66;_0x2110ae['forEach'](_0xa1a09a=>this[_0x58c169(0x4fe)](_0xa1a09a));})),this[_0x465c66(0x346)](this[_0x465c66(0x335)]['onCommandExecuted'](_0x15cbbf=>{const _0x27bf3f=_0x465c66;if(_0x15cbbf['id']!==_0x4593cd['UpdateDocShapeDataMutation']['id'])return;let {unitId:_0xe55b3c,shapeId:_0x58d21c}=_0x15cbbf[_0x27bf3f(0x488)];this[_0x27bf3f(0x435)]({'unitId':_0xe55b3c,'subUnitId':_0xe55b3c,'drawingId':_0x58d21c});}));}[_0x7105ae(0x3c8)](_0x54ebc9){const _0x2a06f1=_0x7105ae;_0x54ebc9[_0x2a06f1(0x2b9)](_0x4a191a=>{const _0x3c0638=_0x2a06f1;let _0x5a0d9c=this['_getSceneByUnitId'](_0x4a191a[_0x3c0638(0x327)]);if(!_0x5a0d9c)return;let _0x16349c=this[_0x3c0638(0x251)][_0x3c0638(0x4ae)](_0x4a191a);(_0x16349c==null?void 0x0:_0x16349c[_0x3c0638(0x4c0)])===_0x27c7af[_0x3c0638(0x301)][_0x3c0638(0x177)]&&this[_0x3c0638(0x1e9)][_0x3c0638(0x50a)](_0x16349c,_0x5a0d9c[_0x3c0638(0x252)]);});}[_0x7105ae(0x4fe)](_0x5cb700){const _0x42ed64=_0x7105ae;let _0x18c27d=this[_0x42ed64(0x251)]['getDrawingByParam'](_0x5cb700);if((_0x18c27d==null?void 0x0:_0x18c27d[_0x42ed64(0x4c0)])!==_0x27c7af[_0x42ed64(0x301)][_0x42ed64(0x177)])return;let _0x4b563a=this[_0x42ed64(0x4aa)](_0x5cb700[_0x42ed64(0x327)]);if(!_0x4b563a||_0x18c27d[_0x42ed64(0x226)]==null)return;let _0x5a0fb7=(0x0,_0x2ead9f['getDrawingShapeKeyByDrawingSearch'])(_0x5cb700),_0x38e187=_0x4b563a[_0x42ed64(0x252)]['getObjectIncludeInGroup'](_0x5a0fb7);_0x38e187&&(_0x38e187['setSrcRect'](_0x18c27d[_0x42ed64(0x40f)]),_0x38e187[_0x42ed64(0x238)](_0x18c27d[_0x42ed64(0x1a0)]),_0x38e187[_0x42ed64(0x321)](!0x0));}['_refreshShapeData'](_0xc27dd1){const _0x2496ef=_0x7105ae;let _0x1048e6=this[_0x2496ef(0x4aa)](_0xc27dd1[_0x2496ef(0x327)]);if(!_0x1048e6)return;let _0x40d307=(0x0,_0x2ead9f[_0x2496ef(0x1d6)])(_0xc27dd1),_0x5483d6=_0x1048e6['scene'][_0x2496ef(0x1e4)](_0x40d307);_0x5483d6&&(this['_docDrawingShapeRenderController'][_0x2496ef(0x403)](_0x5483d6),this[_0x2496ef(0x1e9)][_0x2496ef(0x1eb)](_0x5483d6,{'unitId':_0xc27dd1['unitId'],'subUnitId':_0xc27dd1['subUnitId'],'shapeId':_0xc27dd1[_0x2496ef(0x198)]}),_0x5483d6[_0x2496ef(0x321)](!0x0));}['_getSceneByUnitId'](_0x1d339e){const _0x1276f2=_0x7105ae;if(_0x1d339e==null)return null;let _0x530e34=this[_0x1276f2(0x323)][_0x1276f2(0x41e)](_0x1d339e),_0x50de75=_0x530e34==null?void 0x0:_0x530e34['scene'];return _0x50de75==null?null:{'scene':_0x50de75};}};_0x1bdb39=_0x21f5d0([_0xb8d662(0x0,_0x27c7af['ICommandService']),_0xb8d662(0x1,_0x48e4a9[_0x7105ae(0x209)]),_0xb8d662(0x2,_0x2ead9f['IDrawingManagerService']),_0xb8d662(0x3,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0xf4964f))],_0x1bdb39);let _0x2a0c57=class extends _0x27c7af[_0x7105ae(0x513)]{constructor(_0xef3816=_0x46d3a2,_0x1aadef,_0x4c08b7,_0x243ca7,_0x40ce13){const _0x37cbb1=_0x7105ae;super(),this['_config']=_0xef3816,this['_injector']=_0x1aadef,this[_0x37cbb1(0x335)]=_0x4c08b7,this[_0x37cbb1(0x33b)]=_0x243ca7,this[_0x37cbb1(0x323)]=_0x40ce13;let {menu:_0x57f5f4,..._0x21370c}=(0x0,_0x27c7af[_0x37cbb1(0x3c4)])({},_0x46d3a2,this[_0x37cbb1(0x1bc)]);_0x57f5f4&&this[_0x37cbb1(0x33b)][_0x37cbb1(0x49a)]('menu',_0x57f5f4,{'merge':!0x0}),this[_0x37cbb1(0x33b)]['setConfig'](_0x5dd5c4,_0x21370c),[_0x21db7c,_0x44fd3d,_0x7559e5,_0x1a103f,_0x4cfc8b,_0x2203b2][_0x37cbb1(0x2b9)](_0xa38b6c=>this[_0x37cbb1(0x346)](this[_0x37cbb1(0x335)]['registerCommand'](_0xa38b6c)));}['onStarting'](){const _0x58a0dd=_0x7105ae;let _0xa7ac93=[[_0xe70e53],[_0x3ad79a],[_0x1bdb39],[_0xf4964f],[_0x48f705],[_0x208ab6],[_0x2f0fb0],[_0x4ec9c9],[_0x26fbf4],[_0x53bc97]];(0x0,_0x27c7af['registerDependencies'])(this[_0x58a0dd(0x34b)],_0xa7ac93),this[_0x58a0dd(0x34b)][_0x58a0dd(0x457)](_0xe70e53);}['onReady'](){const _0x5da6a6=_0x7105ae;this[_0x5da6a6(0x346)](this[_0x5da6a6(0x323)][_0x5da6a6(0x2e3)](_0x27c7af['UniverInstanceType']['UNIVER_DOC'],[_0x208ab6])),(0x0,_0x27c7af['touchDependencies'])(this[_0x5da6a6(0x34b)],[[_0x3ad79a],[_0x1bdb39],[_0xf4964f],[_0x48f705],[_0x2f0fb0],[_0x4ec9c9],[_0x26fbf4],[_0x53bc97]]);}};_0x35ae83(_0x2a0c57,'type',_0x27c7af[_0x7105ae(0x462)][_0x7105ae(0x50e)]),_0x35ae83(_0x2a0c57,_0x7105ae(0x4dc),_0x7105ae(0x450)),_0x35ae83(_0x2a0c57,_0x7105ae(0x3e9),_0x3d8a08),_0x35ae83(_0x2a0c57,_0x7105ae(0x4d8),_0x174586),_0x2a0c57=_0x21f5d0([(0x0,_0x27c7af[_0x7105ae(0x4c4)])(_0x41055d[_0x7105ae(0x3f6)],_0x374e66['UniverDocsPlugin'],_0x2ead9f[_0x7105ae(0x17a)],_0x535004[_0x7105ae(0x2d0)],_0x48e4a9[_0x7105ae(0x273)],_0x43e864[_0x7105ae(0x174)],_0x35f25f['UniverShapeEditorPlugin'],_0x2c87d2['UniverDocsDrawingMobileUIPlugin'],_0x4593cd[_0x7105ae(0x320)],_0x1e943b[_0x7105ae(0x385)]),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x27c7af[_0x7105ae(0x303)])),_0xb8d662(0x2,_0x27c7af[_0x7105ae(0x478)]),_0xb8d662(0x3,_0x27c7af[_0x7105ae(0x3c9)]),_0xb8d662(0x4,_0x48e4a9[_0x7105ae(0x209)])],_0x2a0c57);let _0x3e194e=class extends _0x27c7af['Disposable']{constructor(_0x900cd7,_0x35a8ec){const _0x52aff2=_0x7105ae;super(),this[_0x52aff2(0x3b0)]=_0x900cd7,this[_0x52aff2(0x270)]=_0x35a8ec,this[_0x52aff2(0x486)](),this['_registerComponents']();}['_registerIcons'](){const _0x43e760=_0x7105ae;this[_0x43e760(0x270)][_0x43e760(0x3d9)](_0x43e760(0x23f))||this['disposeWithMe'](this[_0x43e760(0x270)][_0x43e760(0x3fa)]({'ObjectLayersIcon':_0x4d0657})),this['_iconManager'][_0x43e760(0x3d9)](_0x43e760(0x2ac))||this[_0x43e760(0x346)](this[_0x43e760(0x270)][_0x43e760(0x3fa)]({'BottomIcon':_0x41ffef})),this[_0x43e760(0x270)][_0x43e760(0x3d9)](_0x43e760(0x315))||this['disposeWithMe'](this['_iconManager'][_0x43e760(0x3fa)]({'MoveDownIcon':_0x9efe91})),this[_0x43e760(0x270)]['has'](_0x43e760(0x2c0))||this[_0x43e760(0x346)](this['_iconManager'][_0x43e760(0x3fa)]({'MoveUpIcon':_0x4a4f54})),this[_0x43e760(0x270)]['has'](_0x43e760(0x22d))||this[_0x43e760(0x346)](this[_0x43e760(0x270)][_0x43e760(0x3fa)]({'ShapeFormatSettingIcon':_0x5bd523})),this[_0x43e760(0x270)][_0x43e760(0x3d9)](_0x43e760(0x485))||this[_0x43e760(0x346)](this['_iconManager'][_0x43e760(0x3fa)]({'TopmostIcon':_0x34c705})),this[_0x43e760(0x346)](this[_0x43e760(0x270)]['register'](_0x4a3b51));}[_0x7105ae(0x40d)](){const _0x4bc5a8=_0x7105ae;this['disposeWithMe'](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x1cfbc7,_0x9d273b)),this[_0x4bc5a8(0x2eb)](),this[_0x4bc5a8(0x248)](),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x4f982c,_0x1d0fd1)),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x1c5af,_0x1e0a77)),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x3d9e86,_0x33ed11)),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x51a83f,_0x583058)),this['disposeWithMe'](this[_0x4bc5a8(0x3b0)]['register'](_0x547f99,_0xef465c)),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0xf2e4c6,_0x1e943b['ShapeTextFloatToolbar'])),this['_registerPickers'](),this['_componentManager'][_0x4bc5a8(0x457)](_0x535004[_0x4bc5a8(0x344)])||this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x535004['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x10a8cc)),this[_0x4bc5a8(0x346)](this[_0x4bc5a8(0x3b0)][_0x4bc5a8(0x3fa)](_0x47775f,_0x2e4c42));}[_0x7105ae(0x2eb)](){const _0x4fad2f=_0x7105ae;this[_0x4fad2f(0x346)](this[_0x4fad2f(0x3b0)]['register'](_0x3ad19e,_0x1b7c7d));}[_0x7105ae(0x248)](){const _0x23a275=_0x7105ae;this[_0x23a275(0x346)](this[_0x23a275(0x3b0)]['register'](_0x2825d6,_0x46e337));}[_0x7105ae(0x415)](){const _0x16090b=_0x7105ae;this[_0x16090b(0x346)](this[_0x16090b(0x3b0)][_0x16090b(0x3fa)](_0x369009,_0x1b09c7)),this[_0x16090b(0x346)](this['_componentManager'][_0x16090b(0x3fa)](_0x392e47,_0x415690));}};_0x3e194e=_0x21f5d0([_0xb8d662(0x0,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x5d0d3c[_0x7105ae(0x36d)])),_0xb8d662(0x1,(0x0,_0x27c7af['Inject'])(_0x5d0d3c[_0x7105ae(0x3e7)]))],_0x3e194e);let _0x16acdf=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x259ac3,_0x4146d1,_0x3801c2,_0x3d81bc,_0x4ccd0d,_0x154286,_0x3730cc,_0x37499d,_0xef371){const _0x26439e=_0x7105ae;super();let _0x473eb5=_0x2484e7=>{const _0x311550=_0x249c;let _0x40fe40=_0x154286[_0x311550(0x44e)](_0x2484e7[_0x311550(0x327)],_0x27c7af['UniverInstanceType'][_0x311550(0x50e)]),_0x2f7b83=_0x40fe40?(0x0,_0x374e66[_0x311550(0x2f3)])(_0x40fe40,_0x2484e7[_0x311550(0x289)]):'';return!!_0x40fe40&&(0x0,_0x374e66[_0x311550(0x4b7)])(_0x37499d,_0x2484e7[_0x311550(0x327)],[(0x0,_0x374e66[_0x311550(0x4d0)])(_0x2f7b83,'drawing',_0x2484e7[_0x311550(0x289)]),...(0x0,_0x374e66[_0x311550(0x44d)])(_0x40fe40,_0x2f7b83,_0x311550(0x425),_0x2484e7['shapeId'])]);},_0x4a17de=_0x2248e3=>_0x2248e3[_0x26439e(0x289)]&&_0x473eb5(_0x2248e3)?_0x3801c2[_0x26439e(0x29f)](_0x2248e3[_0x26439e(0x327)],_0x2248e3['shapeId'])??null:null,_0x2c9141=()=>{const _0x3d9408=_0x26439e;let _0x1ca18d=_0x4ccd0d[_0x3d9408(0x23c)](),_0x330485=_0x1ca18d['length']===0x1?_0x1ca18d[0x0]:null;return(_0x330485==null?void 0x0:_0x330485[_0x3d9408(0x4c0)])===_0x27c7af[_0x3d9408(0x301)][_0x3d9408(0x177)]&&_0x330485[_0x3d9408(0x327)]===_0x259ac3[_0x3d9408(0x327)]?{'unitId':_0x330485['unitId'],'subUnitId':_0x330485[_0x3d9408(0x3c2)],'shapeId':_0x330485[_0x3d9408(0x198)]}:null;};this[_0x26439e(0x346)]((0x0,_0x1e943b[_0x26439e(0x1ea)])(_0x259ac3,_0x4146d1,{'changes$':(0x0,_0x2b0fcd[_0x26439e(0x3c4)])(_0x4ccd0d['focus$'],_0x3d81bc[_0x26439e(0x1b4)],_0x37499d[_0x26439e(0x24e)]),'isActive':()=>{const _0x516d54=_0x26439e;var _0x1653fd;return((_0x1653fd=_0x154286[_0x516d54(0x464)]())==null?void 0x0:_0x1653fd[_0x516d54(0x390)]())===_0x259ac3['unitId']&&!_0x3730cc[_0x516d54(0x4d7)](_0x27c7af['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x4ccd0d['getFocusDrawings']()[_0x516d54(0x519)](_0x4755ee=>_0x4755ee[_0x516d54(0x327)]===_0x259ac3[_0x516d54(0x327)]);},'getSelectedTarget':_0x2c9141,'getSource':()=>{let _0x574c51=_0x2c9141();return _0x574c51?_0x4a17de(_0x574c51):null;},'getTarget':_0x51eeb7=>{const _0x39e522=_0x26439e;let _0x3e8864=_0x259ac3[_0x39e522(0x252)][_0x39e522(0x3f4)](new _0x48e4a9[(_0x39e522(0x3ca))](_0x51eeb7['offsetX'],_0x51eeb7[_0x39e522(0x45f)]));if(!(_0x3e8864 instanceof _0x42a12a))return null;let _0x51d7cc={'unitId':_0x259ac3[_0x39e522(0x327)],'subUnitId':_0x259ac3['unitId'],'shapeId':_0x3e8864[_0x39e522(0x289)]};return _0x473eb5(_0x51d7cc)?_0x51d7cc:null;},'getShape':_0x4a17de,'update':(_0x4f45f5,_0x7de7fd,_0x1a9478)=>_0xef371[_0x26439e(0x304)](_0x4593cd[_0x26439e(0x47a)]['id'],{..._0x4f45f5,'shapeData':_0x1a9478,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x7de7fd}})}));}};_0x16acdf=_0x21f5d0([_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x5d0d3c[_0x7105ae(0x3fd)])),_0xb8d662(0x2,(0x0,_0x27c7af['Inject'])(_0x4593cd[_0x7105ae(0x2a0)])),_0xb8d662(0x3,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4)),_0xb8d662(0x4,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x5,_0x27c7af[_0x7105ae(0x4f8)]),_0xb8d662(0x6,_0x27c7af[_0x7105ae(0x3c5)]),_0xb8d662(0x7,_0x27c7af[_0x7105ae(0x359)]),_0xb8d662(0x8,_0x27c7af['ICommandService'])],_0x16acdf);function _0x1e16b4(_0xaa3d5e,_0x57f7a9){const _0x2e12a4=_0x7105ae;let _0x1b4e78=_0xaa3d5e;for(;_0x1b4e78;){if(_0x57f7a9(_0x1b4e78))return _0x1b4e78;_0x1b4e78=typeof _0x1b4e78['getParent']==_0x2e12a4(0x388)?_0x1b4e78[_0x2e12a4(0x28b)]():null;}return null;}function _0x265262(_0x364b5a){return _0x1e16b4(_0x364b5a,_0x4f1fdf=>_0x4f1fdf instanceof _0x42a12a);}function _0x5e8caf(_0x1de39e){return(_0x1de39e==null?void 0x0:_0x1de39e['formulaBinding'])==null;}let _0xa86fee=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0xa1657e,_0x52382d,_0x52af21,_0x3b643f,_0x12bb83,_0x5ad86c){const _0x308eff=_0x7105ae;super(),this[_0x308eff(0x41d)]=_0xa1657e,this[_0x308eff(0x17d)]=_0x52382d,this['_drawingManagerService']=_0x52af21,this[_0x308eff(0x1af)]=_0x3b643f,this[_0x308eff(0x48f)]=_0x12bb83,this[_0x308eff(0x215)]=_0x5ad86c,_0x35ae83(this,'_lastEditingShapeKey',null),_0x35ae83(this,_0x308eff(0x34e),null),this[_0x308eff(0x41c)](),this[_0x308eff(0x31c)](),this[_0x308eff(0x43d)]();}[_0x7105ae(0x49d)](){const _0x1946db=_0x7105ae;this['_endLayoutInteraction'](),super[_0x1946db(0x49d)]();}[_0x7105ae(0x41c)](){const _0x3fce2c=_0x7105ae;let {scene:_0x3c9db4}=this[_0x3fce2c(0x41d)];this[_0x3fce2c(0x346)](_0x3c9db4[_0x3fce2c(0x3f0)][_0x3fce2c(0x2d7)]((_0x3b0cd5,_0x179c1c)=>{const _0x5d9312=_0x3fce2c;let {offsetX:_0x3823fe,offsetY:_0x3ec8d3}=_0x3b0cd5,_0x14c2e8=_0x48e4a9[_0x5d9312(0x3ca)][_0x5d9312(0x3ef)]([_0x3823fe,_0x3ec8d3]),_0x3ed62c=_0x265262(_0x3c9db4['pick'](_0x14c2e8))??this['_getFocusedShapeAtPoint'](_0x14c2e8);if(_0x3ed62c){_0x179c1c[_0x5d9312(0x24c)]();let _0x162f02=this[_0x5d9312(0x215)]['getShapeModel'](_0x3ed62c[_0x5d9312(0x327)],_0x3ed62c[_0x5d9312(0x3c2)],_0x3ed62c[_0x5d9312(0x289)]);if(!_0x162f02||(0x0,_0x2d76dd[_0x5d9312(0x25b)])(_0x162f02['getShapeType']())||!_0x5e8caf(_0x162f02[_0x5d9312(0x2c1)]()))return;this['_shapeTextEditingService'][_0x5d9312(0x19d)]({'visible':!0x0,'unitId':_0x3ed62c[_0x5d9312(0x327)],'subUnitId':_0x3ed62c[_0x5d9312(0x3c2)],'shapeId':_0x3ed62c[_0x5d9312(0x289)],'shapeKey':_0x3ed62c[_0x5d9312(0x40a)]});}}));}[_0x7105ae(0x458)](_0x1ca00f){const _0x1c9b3a=_0x7105ae;let {scene:_0x370a53}=this[_0x1c9b3a(0x41d)];return this[_0x1c9b3a(0x251)][_0x1c9b3a(0x23c)]()[_0x1c9b3a(0x340)](_0x155140=>_0x370a53[_0x1c9b3a(0x1e4)]((0x0,_0x2ead9f[_0x1c9b3a(0x1d6)])(_0x155140)))[_0x1c9b3a(0x295)](_0x9e13b8=>_0x9e13b8 instanceof _0x42a12a&&_0x9e13b8[_0x1c9b3a(0x31e)](_0x1ca00f))??null;}['_initSelection'](){const _0x517b96=_0x7105ae;this[_0x517b96(0x346)](this[_0x517b96(0x251)]['focus$']['subscribe'](_0x150173=>{const _0x2cc788=_0x517b96;if(_0x150173[_0x2cc788(0x3bc)]===0x1){let _0x35432a=_0x150173[0x0],_0x5c277c=this[_0x2cc788(0x251)][_0x2cc788(0x4ae)](_0x35432a);if((_0x5c277c==null?void 0x0:_0x5c277c[_0x2cc788(0x4c0)])===_0x27c7af[_0x2cc788(0x301)][_0x2cc788(0x177)]){let _0x4ec2a8=this['_shapeTextEditingService'][_0x2cc788(0x3c0)]();if((_0x4ec2a8==null?void 0x0:_0x4ec2a8['shapeId'])===_0x35432a['drawingId']&&_0x4ec2a8[_0x2cc788(0x260)])return;(0x0,_0x2d76dd[_0x2cc788(0x25b)])(this[_0x2cc788(0x215)][_0x2cc788(0x2a1)](_0x35432a[_0x2cc788(0x327)],_0x35432a[_0x2cc788(0x3c2)],_0x35432a[_0x2cc788(0x198)]))&&this['_shapeTextEditingService'][_0x2cc788(0x19d)](null);}else this[_0x2cc788(0x17d)][_0x2cc788(0x189)]();}else this[_0x2cc788(0x17d)][_0x2cc788(0x189)]();})),this[_0x517b96(0x346)](this[_0x517b96(0x251)][_0x517b96(0x2d3)][_0x517b96(0x197)](_0xa46fdf=>{const _0x380371=_0x517b96;let _0x24dee4=this[_0x380371(0x17d)][_0x380371(0x3c0)]();_0x24dee4&&_0xa46fdf[_0x380371(0x519)](_0x623b42=>_0x623b42[_0x380371(0x198)]===_0x24dee4['shapeId'])&&this[_0x380371(0x17d)]['setEditing'](null);}));}[_0x7105ae(0x43d)](){const _0x443131=_0x7105ae;this[_0x443131(0x346)](this[_0x443131(0x17d)]['editingParams$'][_0x443131(0x197)](_0x11ce55=>{const _0x5317cd=_0x443131;(_0x11ce55==null?void 0x0:_0x11ce55[_0x5317cd(0x260)])===!0x0&&_0x11ce55['unitId']===this[_0x5317cd(0x41d)][_0x5317cd(0x327)]?this['_layoutInteraction']??=this[_0x5317cd(0x48f)][_0x5317cd(0x3b9)]():this[_0x5317cd(0x1b9)]();let {scene:_0x2bbb7f}=this[_0x5317cd(0x41d)];if(this['_lastEditingShapeKey']){let _0x3b9729=_0x2bbb7f[_0x5317cd(0x1e4)](this[_0x5317cd(0x1f3)]);_0x3b9729&&_0x3b9729[_0x5317cd(0x19d)](!0x1);}if(_0x11ce55){let _0x1fb485=!!_0x11ce55[_0x5317cd(0x260)],_0x1dc7e2=_0x2bbb7f['getObjectIncludeInGroup'](_0x11ce55['shapeKey']);_0x1dc7e2&&(_0x1dc7e2[_0x5317cd(0x19d)](_0x1fb485),this[_0x5317cd(0x1f3)]=_0x11ce55['shapeKey']),this[_0x5317cd(0x1af)]['setContextValue'](_0x27c7af[_0x5317cd(0x398)],_0x1fb485);}else this[_0x5317cd(0x1f3)]=null,this[_0x5317cd(0x1af)][_0x5317cd(0x4ba)](_0x27c7af[_0x5317cd(0x398)],!0x1);}));}['_endLayoutInteraction'](){const _0x483747=_0x7105ae;var _0x1dadf0;(_0x1dadf0=this[_0x483747(0x34e)])==null||_0x1dadf0[_0x483747(0x49d)](),this[_0x483747(0x34e)]=null;}};_0xa86fee=_0x21f5d0([_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4)),_0xb8d662(0x2,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x3,_0x27c7af[_0x7105ae(0x3c5)]),_0xb8d662(0x4,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864[_0x7105ae(0x286)])),_0xb8d662(0x5,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x4593cd[_0x7105ae(0x2a0)]))],_0xa86fee);let _0x4c381b=class extends _0x1e943b[_0x7105ae(0x49e)]{constructor(_0x3a42b3,_0x36e7d2,_0x1f0727,_0x2494d2,_0x38395f,_0x408a18,_0x188342,_0x2ef1af,_0x1890b9,_0x14a92f){super(_0x3a42b3,_0x36e7d2,_0x1f0727,_0x2494d2,_0x38395f,_0x408a18,_0x188342,_0x2ef1af,_0x1890b9,_0x14a92f,{'componentKey':_0xf2e4c6,'editorUnitId':_0x4252da});}};_0x4c381b=_0x21f5d0([_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x374e66[_0x7105ae(0x21e)])),_0xb8d662(0x2,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864[_0x7105ae(0x4eb)])),_0xb8d662(0x3,(0x0,_0x27c7af['Inject'])(_0x43e864[_0x7105ae(0x3d7)])),_0xb8d662(0x4,_0x27c7af[_0x7105ae(0x478)]),_0xb8d662(0x5,(0x0,_0x27c7af['Inject'])(_0x43e864[_0x7105ae(0x210)])),_0xb8d662(0x6,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x1e943b[_0x7105ae(0x46a)])),_0xb8d662(0x7,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x374e66[_0x7105ae(0x379)])),_0xb8d662(0x8,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864[_0x7105ae(0x4b5)])),_0xb8d662(0x9,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4))],_0x4c381b);let _0x219489=class extends _0x1e943b['ShapeTextHyperLinkHoverController']{constructor(_0x136d28,_0x58017c,_0x54884c,_0x1a3b3e,_0x361ffd){const _0x35a839=_0x7105ae;super(_0x136d28,_0x58017c,{'editing$':_0x54884c[_0x35a839(0x1b4)],'resolve':_0x2d8fd9=>{const _0x18c9b2=_0x35a839;var _0x2ae83b;let _0x42b679=new _0x48e4a9[(_0x18c9b2(0x3ca))](_0x2d8fd9[_0x18c9b2(0x262)],_0x2d8fd9[_0x18c9b2(0x45f)]),_0x1ad671=((_0x2ae83b=_0x136d28[_0x18c9b2(0x252)][_0x18c9b2(0x1bf)](_0x42b679))==null?void 0x0:_0x2ae83b[_0x18c9b2(0x2b3)](_0x42b679))??_0x42b679,_0x414eb9=(0x0,_0x1e943b[_0x18c9b2(0x372)])(_0x136d28['scene'][_0x18c9b2(0x3f4)](_0x42b679)??null,_0x1ad671);if(!(_0x414eb9 instanceof _0x42a12a))return null;let _0xff6a58=_0x414eb9[_0x18c9b2(0x334)](_0x1ad671);if(!_0xff6a58)return null;let _0xf9d078=_0x414eb9,_0x379533={'componentKey':_0x1e943b['ShapeTextHyperLinkInfo'][_0x18c9b2(0x2b0)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x58017c[_0x18c9b2(0x43b)]()};return{'object':_0x414eb9,'info':{..._0xff6a58,'unitId':_0x414eb9[_0x18c9b2(0x327)],'subUnitId':_0x414eb9[_0x18c9b2(0x3c2)],'shapeKey':_0x414eb9[_0x18c9b2(0x40a)],'readonly':!0x0,'copyable':(0x0,_0x374e66[_0x18c9b2(0x1e3)])(_0x361ffd,_0x414eb9[_0x18c9b2(0x327)],_0x414eb9[_0x18c9b2(0x327)],_0x221952[_0x18c9b2(0x384)]['Copy'])},'attachPopup':()=>_0x1a3b3e[_0x18c9b2(0x4da)](_0xf9d078,_0x379533,_0xf9d078['unitId'])};}});}};_0x219489=_0x21f5d0([_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x1e943b[_0x7105ae(0x46a)])),_0xb8d662(0x2,(0x0,_0x27c7af['Inject'])(_0x26fbf4)),_0xb8d662(0x3,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x43e864['DocCanvasPopManagerService'])),_0xb8d662(0x4,_0x27c7af[_0x7105ae(0x359)])],_0x219489);let _0x411bc3=class extends _0x27c7af['Disposable']{constructor(_0x3f6571,_0x4b772d,_0x5b4ed0,_0x1f7122,_0x45d49c,_0x17491a,_0x234b72,_0x3a9932,_0x2bb91a,_0x2477c7,_0x1f6f32,_0xf17b75){const _0x3de6c1=_0x7105ae;super(),this['_univerInstanceService']=_0x3f6571,this[_0x3de6c1(0x4b6)]=_0x4b772d,this['_menuManagerService']=_0x5b4ed0,this[_0x3de6c1(0x215)]=_0x1f7122,this['_localeService']=_0x45d49c,this[_0x3de6c1(0x335)]=_0x17491a,this[_0x3de6c1(0x251)]=_0x234b72,this['_docCanvasPopManagerService']=_0x3a9932,this[_0x3de6c1(0x323)]=_0x2bb91a,this[_0x3de6c1(0x1af)]=_0x2477c7,this[_0x3de6c1(0x17d)]=_0x1f6f32,this[_0x3de6c1(0x2e5)]=_0xf17b75,_0x35ae83(this,_0x3de6c1(0x428),null),_0x35ae83(this,'_activeShapeInfo',null),_0x35ae83(this,_0x3de6c1(0x1fd),!0x1),_0x35ae83(this,'_shapeEditPanelVersion',0x0),_0x35ae83(this,_0x3de6c1(0x393),new Map()),_0x35ae83(this,_0x3de6c1(0x33d),new Map()),this[_0x3de6c1(0x4f1)](),this[_0x3de6c1(0x346)](this[_0x3de6c1(0x208)][_0x3de6c1(0x2f2)](_0x27c7af[_0x3de6c1(0x462)][_0x3de6c1(0x50e)])[_0x3de6c1(0x197)](_0x2ce2ba=>{const _0x5d907d=_0x3de6c1;if(!_0x2ce2ba){var _0x2b3d14;(_0x2b3d14=this[_0x5d907d(0x428)])==null||_0x2b3d14['dispose']();}})),this['_registerOperations'](),this['disposeWithMe']((0x0,_0x1e943b['bindRenderTransformerLifecycle'])(this['_renderManagerService'],_0x27c7af['UniverInstanceType'][_0x3de6c1(0x50e)],_0x2a4170=>this[_0x3de6c1(0x3b5)](_0x2a4170))),this[_0x3de6c1(0x346)](this['_shapeTextEditingService'][_0x3de6c1(0x1b4)][_0x3de6c1(0x197)](_0x2a0b5d=>{const _0x4a9e87=_0x3de6c1;_0x2a0b5d&&this[_0x4a9e87(0x1f1)](void 0x0,!0x0);})),this[_0x3de6c1(0x346)](this['_permissionService'][_0x3de6c1(0x24e)]['subscribe'](()=>{const _0x12e72e=_0x3de6c1;this['_drawingManagerService']['getFocusDrawings']()[_0x12e72e(0x519)](_0x25190c=>_0x25190c[_0x12e72e(0x4c0)]===_0x27c7af[_0x12e72e(0x301)]['DRAWING_SHAPE']&&this[_0x12e72e(0x208)][_0x12e72e(0x1ee)](_0x25190c['unitId'])===_0x27c7af[_0x12e72e(0x462)][_0x12e72e(0x50e)]&&!this[_0x12e72e(0x2c6)](_0x25190c[_0x12e72e(0x327)],_0x25190c[_0x12e72e(0x198)]))&&(this[_0x12e72e(0x1f1)](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x7105ae(0x4f1)](){const _0xdd1f53=_0x7105ae;this['_menuManagerService'][_0xdd1f53(0x413)](_0x7d00f1);}[_0x7105ae(0x302)](_0x31bb47,_0x1acad7,_0x17c594,_0x5e4c53){const _0x1078ec=_0x7105ae;return[{'label':_0x1078ec(0x510),'index':0x0,'commandId':_0x7559e5['id'],'commandParams':{'unitId':_0x31bb47,'subUnitId':_0x1acad7,'drawingId':_0x17c594},'disable':_0x5e4c53===_0x27c7af['DrawingTypeEnum'][_0x1078ec(0x35a)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x156531['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x31bb47,'drawings':[{'unitId':_0x31bb47,'subUnitId':_0x1acad7,'drawingId':_0x17c594}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x44fd3d['id'],'commandParams':{'unitId':_0x31bb47,'subUnitId':_0x1acad7,'drawingId':_0x17c594},'disable':!0x1}];}[_0x7105ae(0x1a6)](_0xb34409,_0x3b29ad,_0x28a5dc){const _0x334fc2=_0x7105ae;let _0x413124=this['_docsShapeService'][_0x334fc2(0x1de)](_0xb34409,_0x3b29ad,_0x28a5dc),_0x3ad4c8=this[_0x334fc2(0x215)]['getShapeDataById'](_0xb34409,_0x3b29ad,_0x28a5dc);return _0x413124!==void 0x0&&_0x3ad4c8!==void 0x0?{'shapeData':_0x3ad4c8,'shapeId':_0x28a5dc,'shapeType':_0x413124,'unitId':_0xb34409,'subUnitId':_0x3b29ad,'version':this[_0x334fc2(0x43e)],'disableShapeOption':!0x1}:null;}[_0x7105ae(0x1f1)](_0x4161b3,_0x1eb4a7=!0x1){const _0x34d7eb=_0x7105ae;if(_0x4161b3==null){[...this[_0x34d7eb(0x393)][_0x34d7eb(0x2fd)]()][_0x34d7eb(0x2b9)](_0x573d4f=>this['_clearPopups'](_0x573d4f,_0x1eb4a7));return;}let _0x56ff8c=this[_0x34d7eb(0x393)][_0x34d7eb(0x457)](_0x4161b3);if(_0x56ff8c){for(let _0x13767b=_0x56ff8c[_0x34d7eb(0x3bc)]-0x1;_0x13767b>=0x0;--_0x13767b){let _0x198727=_0x56ff8c[_0x13767b];(_0x1eb4a7||_0x198727[_0x34d7eb(0x40e)]())&&(_0x198727['dispose'](),_0x56ff8c[_0x34d7eb(0x419)](_0x13767b,0x1));}_0x56ff8c['length']===0x0&&(this[_0x34d7eb(0x393)][_0x34d7eb(0x46c)](_0x4161b3),this[_0x34d7eb(0x33d)][_0x34d7eb(0x46c)](_0x4161b3));}}[_0x7105ae(0x48a)](_0x21d614){const _0x264955=_0x7105ae;let _0x3e76ca=this[_0x264955(0x393)][_0x264955(0x457)](_0x21d614);if(_0x3e76ca)return _0x3e76ca;let _0x2a0f49=[];return this[_0x264955(0x393)][_0x264955(0x432)](_0x21d614,_0x2a0f49),_0x2a0f49;}[_0x7105ae(0x3b5)](_0x8d0f4a){const _0x3d7f7f=_0x7105ae;var _0x550744;let _0x266fa3=new _0x27c7af[(_0x3d7f7f(0x2bf))](),_0x2f1762=(_0x550744=this[_0x3d7f7f(0x323)][_0x3d7f7f(0x324)](_0x27c7af[_0x3d7f7f(0x462)][_0x3d7f7f(0x50e)])[_0x3d7f7f(0x295)](_0x271577=>_0x271577[_0x3d7f7f(0x252)]['getTransformerByCreate']()===_0x8d0f4a))==null?void 0x0:_0x550744[_0x3d7f7f(0x327)];return _0x2f1762?(_0x266fa3['add'](_0x8d0f4a[_0x3d7f7f(0x1b1)][_0x3d7f7f(0x197)](()=>this[_0x3d7f7f(0x261)](_0x8d0f4a,_0x2f1762))),_0x266fa3[_0x3d7f7f(0x21b)](_0x8d0f4a[_0x3d7f7f(0x316)][_0x3d7f7f(0x197)](()=>{this['_clearPopups'](_0x2f1762),queueMicrotask(()=>{const _0x57e6d7=_0x249c;_0x8d0f4a[_0x57e6d7(0x4b1)]()['size']>0x0||!this[_0x57e6d7(0x251)]['getFocusDrawings']()[_0x57e6d7(0x519)](_0x370dc3=>_0x370dc3[_0x57e6d7(0x327)]===_0x2f1762)||(this[_0x57e6d7(0x1af)]['setContextValue'](_0x27c7af[_0x57e6d7(0x1a5)],!0x1),this[_0x57e6d7(0x251)][_0x57e6d7(0x29a)](null));});})),_0x266fa3[_0x3d7f7f(0x21b)](_0x8d0f4a['changing$'][_0x3d7f7f(0x197)](()=>{const _0x3de3b2=_0x3d7f7f;this[_0x3de3b2(0x1f1)](_0x2f1762,!0x0);})),_0x266fa3):_0x266fa3;}[_0x7105ae(0x261)](_0xdc88f4,_0x3c15b5){const _0x472937=_0x7105ae;let _0x1a30fb=_0xdc88f4[_0x472937(0x4b1)]();if(this[_0x472937(0x1fd)]){this[_0x472937(0x1f1)](_0x3c15b5,!0x0);return;}if(_0x1a30fb[_0x472937(0x22f)]>0x1){this['_clearPopups'](_0x3c15b5);return;}let _0x29ac6c=_0x1a30fb[_0x472937(0x26e)]()[_0x472937(0x41a)]()[_0x472937(0x39d)];if(!_0x29ac6c){this[_0x472937(0x1f1)](_0x3c15b5);return;}let _0x3ab5b9=this[_0x472937(0x251)][_0x472937(0x391)](_0x29ac6c[_0x472937(0x40a)]);if(!_0x3ab5b9||_0x3ab5b9[_0x472937(0x4c0)]!==_0x27c7af['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x472937(0x1f1)](_0x3c15b5);return;}let {unitId:_0x4d0886,subUnitId:_0x3473c7,drawingId:_0x34b235,drawingType:_0x252420}=_0x3ab5b9;if(!this[_0x472937(0x2c6)](_0x4d0886,_0x34b235)){this[_0x472937(0x1f1)](_0x3c15b5,!0x0);return;}let _0x367c73=this[_0x472937(0x1a6)](_0x4d0886,_0x3473c7,_0x34b235);if(!_0x367c73){this[_0x472937(0x1f1)](_0x3c15b5);return;}let _0x4ee9ba=this[_0x472937(0x393)][_0x472937(0x457)](_0x3c15b5),_0x333ca3=_0x4d0886+':'+_0x3473c7+':'+_0x34b235;if(this['_popupTargetKeys'][_0x472937(0x457)](_0x3c15b5)===_0x333ca3&&_0x4ee9ba&&_0x4ee9ba['length']>0x0)return;this[_0x472937(0x1f1)](_0x3c15b5);let _0x3fa92c=this[_0x472937(0x323)]['getRenderUnitById'](_0x4d0886),_0x3c1628=((_0x3fa92c==null?void 0x0:_0x3fa92c['isMainScene'])===!0x1?_0x3fa92c[_0x472937(0x227)](_0x43e864[_0x472937(0x4eb)]):this[_0x472937(0x267)])[_0x472937(0x4da)](_0x29ac6c,this[_0x472937(0x21f)](_0x367c73,_0x252420),_0x4d0886);this['disposeWithMe'](_0x3c1628),this[_0x472937(0x48a)](_0x3c15b5)[_0x472937(0x4ce)](_0x3c1628),this['_popupTargetKeys']['set'](_0x3c15b5,_0x333ca3),this[_0x472937(0x251)][_0x472937(0x23c)]()['some'](_0x5dff11=>_0x5dff11[_0x472937(0x327)]===_0x4d0886&&_0x5dff11[_0x472937(0x3c2)]===_0x3473c7&&_0x5dff11[_0x472937(0x198)]===_0x34b235)||this[_0x472937(0x251)][_0x472937(0x29a)]([{'unitId':_0x4d0886,'subUnitId':_0x3473c7,'drawingId':_0x34b235}]);}[_0x7105ae(0x21f)](_0x19ba43,_0x36d369){const _0x4fe77f=_0x7105ae;return{'componentKey':_0x2825d6,'direction':_0x4fe77f(0x442),'offset':[0x0,_0x1e943b[_0x4fe77f(0x383)]],'extraProps':{'unitId':_0x19ba43[_0x4fe77f(0x327)],'subUnitId':_0x19ba43[_0x4fe77f(0x3c2)],'drawingId':_0x19ba43['shapeId'],'drawingType':_0x36d369,'shapeType':_0x19ba43[_0x4fe77f(0x24d)],'shapeData':_0x19ba43['shapeData']}};}[_0x7105ae(0x2c6)](_0x2647ec,_0x467957){const _0x369d48=_0x7105ae;let _0x4d5257=this[_0x369d48(0x208)][_0x369d48(0x44e)](_0x2647ec,_0x27c7af[_0x369d48(0x462)]['UNIVER_DOC']);if(!_0x4d5257)return!0x1;let _0x3f2bb5=(0x0,_0x374e66[_0x369d48(0x2f3)])(_0x4d5257,_0x467957);return(0x0,_0x374e66[_0x369d48(0x4b7)])(this[_0x369d48(0x2e5)],_0x2647ec,[...(0x0,_0x374e66[_0x369d48(0x44d)])(_0x4d5257,_0x3f2bb5,_0x369d48(0x425),_0x467957),(0x0,_0x374e66['getDocumentEntityPermissionObjectId'])(_0x3f2bb5,_0x369d48(0x425),_0x467957)]);}[_0x7105ae(0x222)](){const _0x528e36=_0x7105ae;this[_0x528e36(0x346)](this[_0x528e36(0x335)][_0x528e36(0x249)](_0x586ce9=>{const _0x5150f4=_0x528e36;if(_0x586ce9['id']===_0x7559e5['id']){let {unitId:_0x22d1b6,subUnitId:_0xc81733,drawingId:_0x5bd497}=_0x586ce9['params'];this[_0x5150f4(0x43e)]+=0x1,this[_0x5150f4(0x306)]=this[_0x5150f4(0x1a6)](_0x22d1b6,_0xc81733,_0x5bd497),this[_0x5150f4(0x1f1)](void 0x0,!0x0),this[_0x5150f4(0x36c)]();}if(_0x586ce9['id']===_0x44fd3d['id']&&(this[_0x5150f4(0x306)]=null,this[_0x5150f4(0x2d8)]()),_0x586ce9['id']===_0x4593cd['UpdateDocShapeDataMutation']['id']){let {unitId:_0x5cdd91,shapeId:_0x8bab4c}=_0x586ce9['params'];if(this['_activeShapeInfo']&&this[_0x5150f4(0x306)][_0x5150f4(0x289)]===_0x8bab4c){let _0xc8ac62=this[_0x5150f4(0x1a6)](_0x5cdd91,this[_0x5150f4(0x306)]['subUnitId'],_0x8bab4c);_0xc8ac62&&(this[_0x5150f4(0x43e)]+=0x1,_0xc8ac62['version']=this[_0x5150f4(0x43e)],this[_0x5150f4(0x306)]=_0xc8ac62,this[_0x5150f4(0x1fd)]&&this['_openShapeEditPanel']());}}})),this[_0x528e36(0x346)](this[_0x528e36(0x251)][_0x528e36(0x25e)][_0x528e36(0x197)](_0x4a4eda=>{const _0x47d2b3=_0x528e36;if(this[_0x47d2b3(0x1fd)]===!0x1)return;if(_0x4a4eda[_0x47d2b3(0x3bc)]===0x0){this['_activeShapeInfo']=null,this[_0x47d2b3(0x2d8)]();return;}if(_0x4a4eda[_0x47d2b3(0x3bc)]===0x1&&_0x4a4eda[0x0][_0x47d2b3(0x4c0)]===_0x27c7af['DrawingTypeEnum'][_0x47d2b3(0x177)]&&(this[_0x47d2b3(0x43e)]+=0x1,this[_0x47d2b3(0x306)]=this[_0x47d2b3(0x1a6)](_0x4a4eda[0x0]['unitId'],_0x4a4eda[0x0][_0x47d2b3(0x3c2)],_0x4a4eda[0x0][_0x47d2b3(0x198)]),this['_activeShapeInfo'])){this[_0x47d2b3(0x36c)]();return;}let _0x5d99bf=_0x4a4eda['filter'](_0x3d0631=>_0x3d0631[_0x47d2b3(0x4c0)]===_0x27c7af[_0x47d2b3(0x301)][_0x47d2b3(0x177)]);if(_0x4a4eda[_0x47d2b3(0x3bc)]>0x1&&_0x5d99bf[_0x47d2b3(0x3bc)]===_0x4a4eda['length']){if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x47d2b3(0x1a6)](_0x4a4eda[0x0][_0x47d2b3(0x327)],_0x4a4eda[0x0][_0x47d2b3(0x3c2)],_0x4a4eda[0x0][_0x47d2b3(0x198)]),this[_0x47d2b3(0x306)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x47d2b3(0x43e)]+=0x1,this[_0x47d2b3(0x306)]=this[_0x47d2b3(0x1a6)](_0x4a4eda[0x0][_0x47d2b3(0x327)],_0x4a4eda[0x0]['subUnitId'],_0x4a4eda[0x0][_0x47d2b3(0x198)]),this[_0x47d2b3(0x306)]){this[_0x47d2b3(0x306)]['disableShapeOption']=!0x0,this[_0x47d2b3(0x36c)]();return;}}this[_0x47d2b3(0x2d8)]();}));}[_0x7105ae(0x36c)](){const _0x4f7bc6=_0x7105ae;this[_0x4f7bc6(0x306)]&&(this['_sidebarDisposable']=this[_0x4f7bc6(0x4b6)][_0x4f7bc6(0x36b)]({'id':_0x1cfbc7,'header':{'title':this[_0x4f7bc6(0x423)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x1cfbc7,...this[_0x4f7bc6(0x306)]},'onClose':()=>{const _0x94c526=_0x4f7bc6;this['_drawingManagerService'][_0x94c526(0x29a)](null),this['_contextService'][_0x94c526(0x4ba)](_0x27c7af[_0x94c526(0x1a5)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x5ee328=_0x7105ae;this[_0x5ee328(0x1fd)]=!0x1,this[_0x5ee328(0x4b6)][_0x5ee328(0x2c2)](_0x1cfbc7),this[_0x5ee328(0x428)]=null,this['_contextService']['setContextValue'](_0x27c7af[_0x5ee328(0x1a5)],!0x1),this['_drawingManagerService'][_0x5ee328(0x29a)](null);}};_0x411bc3=_0x21f5d0([_0xb8d662(0x0,_0x27c7af['IUniverInstanceService']),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x5d0d3c['ISidebarService'])),_0xb8d662(0x2,_0x5d0d3c['IMenuManagerService']),_0xb8d662(0x3,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x4593cd[_0x7105ae(0x2a0)])),_0xb8d662(0x4,(0x0,_0x27c7af['Inject'])(_0x27c7af[_0x7105ae(0x27e)])),_0xb8d662(0x5,_0x27c7af[_0x7105ae(0x478)]),_0xb8d662(0x6,_0x2ead9f[_0x7105ae(0x2c4)]),_0xb8d662(0x7,(0x0,_0x27c7af['Inject'])(_0x43e864[_0x7105ae(0x4eb)])),_0xb8d662(0x8,_0x48e4a9[_0x7105ae(0x209)]),_0xb8d662(0x9,_0x27c7af[_0x7105ae(0x3c5)]),_0xb8d662(0xa,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x26fbf4)),_0xb8d662(0xb,_0x27c7af[_0x7105ae(0x359)])],_0x411bc3);let _0x424c86=class extends _0x27c7af[_0x7105ae(0x3aa)]{constructor(_0x67ddc3,_0x2de2f9){const _0x3ea3b4=_0x7105ae;super(),this[_0x3ea3b4(0x215)]=_0x67ddc3,this[_0x3ea3b4(0x423)]=_0x2de2f9,this[_0x3ea3b4(0x346)]((0x0,_0x27c7af[_0x3ea3b4(0x32e)])((0x0,_0x48e4a9[_0x3ea3b4(0x337)])((_0x5927ba,_0x3b76e3,_0x339ee3)=>this[_0x3ea3b4(0x314)](_0x5927ba,_0x3b76e3,_0x339ee3))));}[_0x7105ae(0x314)](_0x52d15c,_0xb346ce,_0x2652ff){const _0x9b69aa=_0x7105ae;let _0x2d3ab4=this[_0x9b69aa(0x215)][_0x9b69aa(0x484)](_0x52d15c,_0xb346ce);if(!_0x2d3ab4)return null;let _0x552fa1=_0x2d3ab4[_0x9b69aa(0x2c1)](),_0x1d02fd=(0x0,_0x2d76dd[_0x9b69aa(0x4dd)])(_0x552fa1),_0x2310cc=_0x552fa1['shapeText'];if(!_0x2310cc||_0x1d02fd['autoFitType']!==_0x2d76dd[_0x9b69aa(0x422)][_0x9b69aa(0x265)])return null;let _0x3ee23f=_0x2652ff['fallbackWidth'],_0x55c5c9=_0x2652ff[_0x9b69aa(0x281)];_0x2d3ab4[_0x9b69aa(0x381)]({'width':_0x3ee23f,'height':_0x55c5c9});let _0x3aa0a8=_0x2d3ab4[_0x9b69aa(0x4d3)]({'left':0x0,'top':0x0,'width':_0x3ee23f,'height':_0x55c5c9}),_0x8f9969=(0x0,_0x1e943b[_0x9b69aa(0x28c)])(_0x9b69aa(0x282)in _0x2310cc?_0x2310cc[_0x9b69aa(0x282)]:void 0x0),_0x3e2e5d=(_0x8f9969==null?void 0x0:_0x8f9969['doc'])??(_0x9b69aa(0x3cd)in _0x2310cc?(0x0,_0x1e943b[_0x9b69aa(0x48e)])(_0x2310cc,_0xb346ce+_0x9b69aa(0x28e)):null);if(!_0x3e2e5d)return null;let _0xe47134=(0x0,_0x1e943b[_0x9b69aa(0x3ab)])({'documentData':_0x3e2e5d,'height':_0x55c5c9,'shapeData':_0x552fa1,'textRect':_0x3aa0a8,'width':_0x3ee23f,'widthBuffer':0x0});_0xe47134&&({width:_0x3ee23f,height:_0x55c5c9}=_0xe47134,_0x2d3ab4[_0x9b69aa(0x381)]({'width':_0x3ee23f,'height':_0x55c5c9}),_0x3aa0a8=_0x2d3ab4[_0x9b69aa(0x4d3)]({'left':0x0,'top':0x0,'width':_0x3ee23f,'height':_0x55c5c9}));let _0x37c90e=_0x2310cc['isHorizontal']!==!0x1,_0x21d4af=(0x0,_0x1e943b[_0x9b69aa(0x48b)])(_0x3e2e5d,{'isHorizontal':_0x37c90e,'textRect':_0x3aa0a8,'verticalAlign':_0x8f9969==null?void 0x0:_0x8f9969['va'],'horizontalAlign':_0x8f9969==null?void 0x0:_0x8f9969['ha'],'wrapStrategy':(0x0,_0x1e943b[_0x9b69aa(0x2aa)])(_0x552fa1)}),_0x2fd386=new _0x27c7af['DocumentDataModel'](_0x21d4af),_0x642ebc=new _0x48e4a9['DocumentViewModel'](_0x2fd386),_0x44fe21=_0x48e4a9['DocumentSkeleton']['create'](_0x642ebc,this[_0x9b69aa(0x423)]);try{var _0x43205e,_0x5c199e;_0x44fe21['calculate']();let _0xe387c2=((_0x43205e=_0x44fe21['getSkeletonData']())==null?void 0x0:_0x43205e[_0x9b69aa(0x3eb)])??[],_0xc7631a=_0xe387c2[_0xe387c2[_0x9b69aa(0x3bc)]-0x1],_0x558e46=_0xc7631a?Math[_0x9b69aa(0x264)](0x0,((_0x5c199e=(0x0,_0x48e4a9[_0x9b69aa(0x3cf)])(_0xc7631a))==null?void 0x0:_0x5c199e[_0x9b69aa(0x2ca)])??0x0):0x0,_0xd7b595=_0x44fe21[_0x9b69aa(0x268)]()[_0x9b69aa(0x2ed)]+_0x558e46-(_0x37c90e?_0x3aa0a8[_0x9b69aa(0x48d)]:_0x3aa0a8[_0x9b69aa(0x1ad)]);return Number['isFinite'](_0xd7b595)?_0x37c90e?{'width':_0x3ee23f,'height':Math[_0x9b69aa(0x264)](0x1,_0x55c5c9+_0xd7b595)}:{'width':Math[_0x9b69aa(0x264)](0x1,_0x3ee23f+_0xd7b595),'height':_0x55c5c9}:null;}finally{_0x44fe21[_0x9b69aa(0x49d)](),_0x642ebc[_0x9b69aa(0x49d)](),_0x2fd386[_0x9b69aa(0x49d)]();}}};_0x424c86=_0x21f5d0([_0xb8d662(0x0,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x4593cd[_0x7105ae(0x2a0)])),_0xb8d662(0x1,(0x0,_0x27c7af['Inject'])(_0x27c7af[_0x7105ae(0x27e)]))],_0x424c86);let _0x3acd0c=class extends _0x27c7af['Plugin']{constructor(_0x1a4a0a=_0x46d3a2,_0x429160,_0x783b25,_0x3e0d76,_0x403045){const _0x3a6ada=_0x7105ae;super(),this[_0x3a6ada(0x1bc)]=_0x1a4a0a,this[_0x3a6ada(0x34b)]=_0x429160,this[_0x3a6ada(0x335)]=_0x783b25,this[_0x3a6ada(0x33b)]=_0x3e0d76,this[_0x3a6ada(0x323)]=_0x403045;let {menu:_0x1af28b,..._0x5f0f44}=(0x0,_0x27c7af[_0x3a6ada(0x3c4)])({},_0x46d3a2,this[_0x3a6ada(0x1bc)]);_0x1af28b&&this[_0x3a6ada(0x33b)][_0x3a6ada(0x49a)]('menu',_0x1af28b,{'merge':!0x0}),this[_0x3a6ada(0x33b)][_0x3a6ada(0x49a)](_0x5dd5c4,_0x5f0f44),this[_0x3a6ada(0x394)]();}['onStarting'](){const _0x4fdb18=_0x7105ae;(0x0,_0x27c7af['registerDependencies'])(this[_0x4fdb18(0x34b)],this['_getDependencies']()),this[_0x4fdb18(0x34b)][_0x4fdb18(0x457)](_0x3e194e),this[_0x4fdb18(0x237)]();}[_0x7105ae(0x188)](){return[[_0x3e194e],[_0x411bc3],[_0x1bdb39],[_0xf4964f],[_0x48f705],[_0x208ab6],[_0x2f0fb0],[_0x4ec9c9],[_0x424c86],[_0x26fbf4],[_0x53bc97]];}[_0x7105ae(0x1c7)](){const _0x301b31=_0x7105ae;this[_0x301b31(0x181)]()[_0x301b31(0x2b9)](_0x3987d4=>{const _0x174862=_0x301b31;this[_0x174862(0x346)](this[_0x174862(0x323)][_0x174862(0x2e3)](_0x27c7af['UniverInstanceType'][_0x174862(0x50e)],_0x3987d4));}),(0x0,_0x27c7af[_0x301b31(0x395)])(this[_0x301b31(0x34b)],[[_0x411bc3],[_0x1bdb39],[_0xf4964f],[_0x48f705],[_0x2f0fb0],[_0x4ec9c9],[_0x424c86],[_0x26fbf4],[_0x53bc97]]);}[_0x7105ae(0x181)](){return[[_0x208ab6],[_0xa86fee],[_0x219489],[_0x16acdf]];}[_0x7105ae(0x1fa)](){const _0x21f641=_0x7105ae;this[_0x21f641(0x346)](this['_renderManagerService'][_0x21f641(0x2e3)](_0x27c7af[_0x21f641(0x462)][_0x21f641(0x50e)],[_0x4c381b]));}[_0x7105ae(0x394)](){const _0x46f673=_0x7105ae;[_0x21db7c,_0x44fd3d,_0x7559e5,_0x1a103f,_0x4cfc8b,_0x2203b2][_0x46f673(0x2b9)](_0x12ff6e=>this[_0x46f673(0x346)](this[_0x46f673(0x335)]['registerCommand'](_0x12ff6e)));}[_0x7105ae(0x237)](){const _0x33b01e=_0x7105ae;let _0x5a4c3d=this[_0x33b01e(0x34b)],_0x1ce389=_0x5a4c3d[_0x33b01e(0x457)](_0x5d0d3c[_0x33b01e(0x2ef)]);this[_0x33b01e(0x346)](_0x1ce389[_0x33b01e(0x377)](_0x5d0d3c['BuiltInUIPart'][_0x33b01e(0x430)],()=>(0x0,_0x5d0d3c[_0x33b01e(0x1bb)])(_0x2e4c42,_0x5a4c3d)));}};_0x35ae83(_0x3acd0c,_0x7105ae(0x243),_0x27c7af[_0x7105ae(0x462)][_0x7105ae(0x50e)]),_0x35ae83(_0x3acd0c,_0x7105ae(0x4dc),'DOCS_SHAPE_UI_PLUGIN'),_0x35ae83(_0x3acd0c,_0x7105ae(0x3e9),_0x3d8a08),_0x35ae83(_0x3acd0c,_0x7105ae(0x4d8),_0x174586),_0x3acd0c=_0x21f5d0([(0x0,_0x27c7af[_0x7105ae(0x4c4)])(_0x41055d[_0x7105ae(0x3f6)],_0x374e66[_0x7105ae(0x1a3)],_0x2ead9f['UniverDrawingPlugin'],_0x535004['UniverDrawingUIPlugin'],_0x48e4a9[_0x7105ae(0x273)],_0x43e864['UniverDocsUIPlugin'],_0x35f25f[_0x7105ae(0x21a)],_0x2c87d2['UniverDocsDrawingUIPlugin'],_0x4593cd['UniverDocsShapePlugin'],_0x1e943b['UniverShapeEditorUIPlugin']),_0xb8d662(0x1,(0x0,_0x27c7af[_0x7105ae(0x194)])(_0x27c7af[_0x7105ae(0x303)])),_0xb8d662(0x2,_0x27c7af[_0x7105ae(0x478)]),_0xb8d662(0x3,_0x27c7af['IConfigService']),_0xb8d662(0x4,_0x48e4a9[_0x7105ae(0x209)])],_0x3acd0c),_0x50fdf7[_0x7105ae(0x35c)]=_0x7d00f1,Object[_0x7105ae(0x1b0)](_0x50fdf7,_0x7105ae(0x3b7),{'enumerable':!0x0,'get':function(){return _0x2a0c57;}}),Object['defineProperty'](_0x50fdf7,_0x7105ae(0x290),{'enumerable':!0x0,'get':function(){return _0x3acd0c;}});}));
|