@univerjs-pro/docs-shape-ui 1.0.3 → 1.0.4
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/controllers/shape-text-editing.render-controller.d.ts +2 -3
- 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 +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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;}});}));
|
|
1
|
+
(function(_0x265299,_0x2b731b){const _0x444810=_0x5827,_0x429237=_0x265299();while(!![]){try{const _0x538804=-parseInt(_0x444810(0x41c))/0x1+parseInt(_0x444810(0x2cf))/0x2+-parseInt(_0x444810(0x347))/0x3*(parseInt(_0x444810(0x426))/0x4)+-parseInt(_0x444810(0x393))/0x5+-parseInt(_0x444810(0x461))/0x6+parseInt(_0x444810(0x117))/0x7+parseInt(_0x444810(0x12b))/0x8;if(_0x538804===_0x2b731b)break;else _0x429237['push'](_0x429237['shift']());}catch(_0x327945){_0x429237['push'](_0x429237['shift']());}}}(_0x3f6a,0x212cb),function(_0x1d8cda,_0x2fc232){const _0x5f9034=_0x5827;typeof exports==_0x5f9034(0x1b7)&&typeof module<'u'?_0x2fc232(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[_0x5f9034(0x14b)]?define([_0x5f9034(0x330),'@univerjs-pro/shape-editor-ui',_0x5f9034(0x156),_0x5f9034(0x498),'@univerjs-pro/docs-shape',_0x5f9034(0x206),_0x5f9034(0x468),_0x5f9034(0x165),_0x5f9034(0x1e3),_0x5f9034(0x397),'@univerjs/engine-render','@univerjs/drawing',_0x5f9034(0x2ce),_0x5f9034(0x2d3),_0x5f9034(0x1f0),_0x5f9034(0x33f),'@univerjs/docs-drawing-ui',_0x5f9034(0x491),_0x5f9034(0x1dd),'@univerjs/protocol'],_0x2fc232):(_0x1d8cda=typeof globalThis<'u'?globalThis:_0x1d8cda||self,_0x2fc232(_0x1d8cda[_0x5f9034(0x2d7)]={},_0x1d8cda[_0x5f9034(0x47d)],_0x1d8cda[_0x5f9034(0x2a7)],_0x1d8cda[_0x5f9034(0x3d6)],_0x1d8cda[_0x5f9034(0x1b9)],_0x1d8cda['UniverProEngineShape'],_0x1d8cda[_0x5f9034(0x495)],_0x1d8cda[_0x5f9034(0x20a)],_0x1d8cda[_0x5f9034(0x205)],_0x1d8cda['UniverDocsDrawing'],_0x1d8cda[_0x5f9034(0x270)],_0x1d8cda['UniverDrawing'],_0x1d8cda[_0x5f9034(0x245)],_0x1d8cda[_0x5f9034(0x164)],_0x1d8cda['rxjs'],_0x1d8cda['UniverProLicense'],_0x1d8cda['UniverDocsDrawingUi'],_0x1d8cda[_0x5f9034(0x164)],_0x1d8cda[_0x5f9034(0x222)],_0x1d8cda[_0x5f9034(0x24c)]));}(this,function(_0x20f644,_0x257c32,_0x33827d,_0x342c24,_0x1d4bf7,_0x2bd245,_0x198678,_0x179bf7,_0x31f1d7,_0x3a4044,_0x1126ec,_0x567d02,_0x5656f0,_0x480c6f,_0x5cf427,_0x58581a,_0x4b09d7,_0x308052,_0x309aa3,_0x5d6c3c){const _0x1f6723=_0x5827;Object[_0x1f6723(0x395)](_0x20f644,Symbol['toStringTag'],{'value':_0x1f6723(0x1e7)});function _0x14e1fb(_0x3541fa,_0x2c8b77){const _0x5540fb=_0x1f6723;if(_0x2c8b77){if((0x0,_0x2bd245['isConnectorShape'])(_0x3541fa)&&(_0x2c8b77['startArrow']||_0x2c8b77['endArrow']))return{'ln':{'startArrow':_0x2c8b77[_0x5540fb(0x401)]?{'type':_0x2bd245[_0x5540fb(0x1c6)][_0x5540fb(0x3a8)],'size':_0x2bd245[_0x5540fb(0x2d0)]['Medium']}:void 0x0,'endArrow':_0x2c8b77[_0x5540fb(0x35a)]?{'type':_0x2bd245[_0x5540fb(0x1c6)][_0x5540fb(0x3a8)],'size':_0x2bd245[_0x5540fb(0x2d0)][_0x5540fb(0x3aa)]}:void 0x0}};if(_0x3541fa===_0x2bd245['ShapeTypeEnum']['Rect']&&(_0x2c8b77['horizontal']||_0x2c8b77['vertical']))return(0x0,_0x198678[_0x5540fb(0x1f4)])({'fill':{'fillType':_0x2bd245[_0x5540fb(0x436)][_0x5540fb(0x383)],'color':_0x5540fb(0x13c)},'isHorizontal':!!_0x2c8b77[_0x5540fb(0x1bb)],'stroke':{'lineStrokeType':_0x2bd245[_0x5540fb(0x195)][_0x5540fb(0x305)],'width':0x1,'color':_0x5540fb(0x221)}});}}function _0x4a6f59(_0x5743aa,_0x1ab53f){const _0x290ae1=_0x1f6723;var _0x87d9e8;let _0x34769e=_0x1ab53f['segmentId']??'',_0x500948=(_0x87d9e8=_0x5743aa[_0x290ae1(0x439)](_0x34769e))==null?void 0x0:_0x87d9e8['getBody']();if(!_0x500948)return null;let _0x3278c5=_0x500948['paragraphs']??[],_0x18268d=_0x3278c5[_0x290ae1(0x237)](_0x37c6a4=>{const _0x32d5cc=_0x290ae1;let _0x5873bc=(0x0,_0x179bf7[_0x32d5cc(0x45f)])(_0x500948,_0x37c6a4);return _0x1ab53f['startOffset']>=_0x5873bc&&_0x1ab53f['startOffset']<=_0x37c6a4[_0x32d5cc(0x447)];})??_0x3278c5[_0x3278c5['length']-0x1];return _0x18268d?{'paragraphId':_0x18268d['paragraphId'],'segmentId':_0x34769e,'position':_0x1d4bf7[_0x290ae1(0x3ac)]['OFFSET'],'offset':_0x1ab53f[_0x290ae1(0x489)]-(0x0,_0x179bf7[_0x290ae1(0x45f)])(_0x500948,_0x18268d)}:null;}function _0x2ee294(_0x48f43d,_0x270aad,_0x134896){const _0x44310b=_0x1f6723;var _0x4e0568,_0x5b8c0e;if(!_0x134896)return null;let _0xe64b06=(_0x4e0568=_0x48f43d[_0x44310b(0x2c6)](_0x1126ec['IRenderManagerService'])[_0x44310b(0x1bc)](_0x270aad))==null?void 0x0:_0x4e0568[_0x44310b(0x1e4)](_0x33827d[_0x44310b(0x262)])[_0x44310b(0x44b)];if(!_0xe64b06)return null;let _0x54593f=_0x134896==='below'?{'startOffset':_0xe64b06[_0x44310b(0x2b4)][_0x44310b(0x28a)],'endOffset':_0xe64b06[_0x44310b(0x2b4)][_0x44310b(0x28a)]}:_0xe64b06[_0x44310b(0x26f)];return{'startOffset':_0x54593f[_0x44310b(0x489)],'endOffset':_0x54593f[_0x44310b(0x28a)],'collapsed':_0x54593f[_0x44310b(0x489)]===_0x54593f[_0x44310b(0x28a)],'segmentId':((_0x5b8c0e=_0xe64b06[_0x44310b(0x1bf)])==null?void 0x0:_0x5b8c0e[_0x44310b(0x427)])??''};}let _0x171f92={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x2f0)],'id':_0x1f6723(0x411),'handler':async(_0x130587,_0x41ddfa)=>{const _0x2179ec=_0x1f6723;let _0x1711c1=_0x130587[_0x2179ec(0x2c6)](_0x179bf7['IUniverInstanceService'])[_0x2179ec(0x25b)](_0x179bf7[_0x2179ec(0x42f)][_0x2179ec(0x369)]);if(!_0x1711c1)return!0x1;let _0x775c3f=_0x130587[_0x2179ec(0x2c6)](_0x179bf7[_0x2179ec(0x483)]),_0x3b8319=_0x1711c1[_0x2179ec(0x40d)](),_0x5b0fea=_0x41ddfa['shapeId']??(0x0,_0x179bf7[_0x2179ec(0x273)])(),_0x44e0ab=_0x41ddfa[_0x2179ec(0x258)]??_0x1d4bf7[_0x2179ec(0x398)],_0x46f112=_0x41ddfa[_0x2179ec(0x3a9)]??_0x1d4bf7[_0x2179ec(0x1f3)],_0x5b1391=_0x41ddfa[_0x2179ec(0x2c0)]??_0x14e1fb(_0x41ddfa['value'],_0x41ddfa[_0x2179ec(0x372)]),_0x5d4229=_0x2ee294(_0x130587,_0x3b8319,_0x41ddfa[_0x2179ec(0x268)])??_0x130587['get'](_0x31f1d7[_0x2179ec(0x33b)])[_0x2179ec(0x38e)]();if(!_0x5d4229)return!0x1;let _0x295a09=_0x4a6f59(_0x1711c1,_0x5d4229);return _0x295a09?!!_0x775c3f['syncExecuteCommand'](_0x1d4bf7[_0x2179ec(0x49f)]['id'],{'unitId':_0x3b8319,'shapeId':_0x5b0fea,'shapeType':_0x41ddfa['value'],'shapeData':_0x5b1391,'transform':{'width':_0x44e0ab,'height':_0x46f112},'placement':{'wrappingStyle':_0x3a4044[_0x2179ec(0x3ee)][_0x2179ec(0x3c4)],'anchor':_0x295a09}}):!0x1;}},_0x138c9c='doc.shape.edit.panel',_0x4008c0='docs-shape-ui.ribbon.shape-format',_0x4872be=_0x1f6723(0x177),_0x397c85=(0x0,_0x179bf7[_0x1f6723(0x13d)])('SHAPE_TEXT'),_0x110c09=_0x1f6723(0x3fd),_0x13f5c4='DocsShapeTextEditorContainer',_0x57f7a8={'id':_0x1f6723(0x175),'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x2f0)],'handler':(_0x4815d5,_0x23033d)=>{const _0x478524=_0x1f6723;let _0x23eb8f=_0x4815d5[_0x478524(0x2c6)](_0x342c24['ISidebarService']),_0x5b18f3=_0x4815d5[_0x478524(0x2c6)](_0x179bf7['LocaleService']),_0xe0858d=_0x4815d5[_0x478524(0x2c6)](_0x567d02[_0x478524(0x316)]);return(_0x23033d==null?void 0x0:_0x23033d[_0x478524(0x442)])===_0x478524(0x312)?(_0x23eb8f[_0x478524(0x312)](_0x4872be),!0x0):(_0x23eb8f[_0x478524(0x1dc)]({'id':_0x4872be,'header':{'title':_0x5b18f3['t'](_0x478524(0x308))},'children':{'label':_0x4872be},'onClose':()=>{const _0x24271b=_0x478524;_0xe0858d[_0x24271b(0x389)](null);},'width':0x168}),!0x0);}},_0x344cfa={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'id':_0x1f6723(0x2ff),'handler'(){return!0x0;}};function _0x22bf44(_0x1b791a){const _0x5ece41=_0x1f6723;let _0x509bff=_0x1b791a['get'](_0x567d02[_0x5ece41(0x316)])['getFocusDrawings'](),_0x342f23=_0x509bff['length']===0x1?_0x509bff[0x0]:null;if(!_0x342f23||_0x342f23['drawingType']!==_0x179bf7[_0x5ece41(0x121)][_0x5ece41(0x29c)])return null;let _0x4622ae=_0x1b791a[_0x5ece41(0x2c6)](_0x1d4bf7['DocsShapeService']),_0x3b4dbf=_0x4622ae['getShapeTypeById'](_0x342f23[_0x5ece41(0x2aa)],_0x342f23[_0x5ece41(0x189)],_0x342f23[_0x5ece41(0x140)]),_0x463a73=_0x4622ae[_0x5ece41(0x43e)](_0x342f23[_0x5ece41(0x2aa)],_0x342f23[_0x5ece41(0x189)],_0x342f23[_0x5ece41(0x140)]);return _0x3b4dbf===void 0x0||!_0x463a73?null:{'drawing':_0x342f23,'shapeData':_0x463a73,'shapeType':_0x3b4dbf};}let _0x155dac={'id':_0x1f6723(0x2b2),'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'handler':(_0x58df62,_0x100d88)=>{const _0x598f82=_0x1f6723;let _0x5af42f=_0x22bf44(_0x58df62),_0xe4f071=(0x0,_0x198678[_0x598f82(0x239)])((_0x100d88==null?void 0x0:_0x100d88['presetId'])??(_0x100d88==null?void 0x0:_0x100d88['value'])??'');if(!_0x5af42f||!_0xe4f071||_0xe4f071['type']!==(0x0,_0x198678[_0x598f82(0x3c3)])(_0x5af42f[_0x598f82(0x2c0)]))return!0x1;let _0x1b611b=(0x0,_0x198678[_0x598f82(0x3d7)])(_0x5af42f[_0x598f82(0x2c0)],_0xe4f071);if(!_0x1b611b)return!0x1;let {drawing:_0x5619a0}=_0x5af42f;return _0x58df62[_0x598f82(0x2c6)](_0x179bf7[_0x598f82(0x483)])[_0x598f82(0x15c)](_0x1d4bf7[_0x598f82(0x2ee)]['id'],{'unitId':_0x5619a0[_0x598f82(0x2aa)],'shapeId':_0x5619a0[_0x598f82(0x140)],'shapeData':_0x1b611b,'oldShapeJSON':{'oldShapeData':_0x5af42f[_0x598f82(0x2c0)]}});}},_0x1317e1={'id':_0x1f6723(0x119),'type':_0x179bf7['CommandType']['OPERATION'],'handler':(_0x56123f,_0x371dc1)=>{const _0x350ce3=_0x1f6723;let _0x357225=_0x22bf44(_0x56123f),_0x1bac90=(_0x371dc1==null?void 0x0:_0x371dc1[_0x350ce3(0x24e)])??(_0x371dc1==null?void 0x0:_0x371dc1[_0x350ce3(0x442)]);if(!_0x357225||!_0x1bac90||(0x0,_0x2bd245['isConnectorShape'])(_0x357225['shapeType'])||(0x0,_0x2bd245[_0x350ce3(0x452)])(_0x1bac90))return!0x1;let _0x3cf3f4=(0x0,_0x198678[_0x350ce3(0x3dd)])(_0x357225['shapeData'],_0x1bac90);if(!_0x3cf3f4)return!0x1;let {drawing:_0x4ae068}=_0x357225;return _0x56123f[_0x350ce3(0x2c6)](_0x179bf7[_0x350ce3(0x483)])[_0x350ce3(0x15c)](_0x1d4bf7[_0x350ce3(0x2ee)]['id'],{'unitId':_0x4ae068['unitId'],'shapeId':_0x4ae068[_0x350ce3(0x140)],'shapeType':_0x1bac90,'shapeData':_0x3cf3f4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x357225['shapeType'],'oldShapeData':_0x357225['shapeData']}});}};function _0x23cccd(_0x3ac351,_0x35ccde){return function(_0x369267,_0x3e5f1a){_0x35ccde(_0x369267,_0x3e5f1a,_0x3ac351);};}function _0x139e28(_0xa13512,_0x5a698b,_0x76f20b,_0x53f66c){const _0x105ed6=_0x1f6723;var _0x5524d8=arguments[_0x105ed6(0x231)],_0x112edf=_0x5524d8<0x3?_0x5a698b:_0x53f66c===null?_0x53f66c=Object['getOwnPropertyDescriptor'](_0x5a698b,_0x76f20b):_0x53f66c,_0x40d6ca;if(typeof Reflect==_0x105ed6(0x1b7)&&typeof Reflect[_0x105ed6(0x24d)]=='function')_0x112edf=Reflect[_0x105ed6(0x24d)](_0xa13512,_0x5a698b,_0x76f20b,_0x53f66c);else{for(var _0x385b67=_0xa13512[_0x105ed6(0x231)]-0x1;_0x385b67>=0x0;_0x385b67--)(_0x40d6ca=_0xa13512[_0x385b67])&&(_0x112edf=(_0x5524d8<0x3?_0x40d6ca(_0x112edf):_0x5524d8>0x3?_0x40d6ca(_0x5a698b,_0x76f20b,_0x112edf):_0x40d6ca(_0x5a698b,_0x76f20b))||_0x112edf);}return _0x5524d8>0x3&&_0x112edf&&Object['defineProperty'](_0x5a698b,_0x76f20b,_0x112edf),_0x112edf;}let _0x142998=class extends _0x179bf7['Disposable']{constructor(_0x5a43ae,_0x4f3068){const _0x5240e6=_0x1f6723;super(),this[_0x5240e6(0x408)]=_0x5a43ae,this[_0x5240e6(0x41e)]=_0x4f3068,this[_0x5240e6(0x19d)](),this['_clipService']['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x5240e6(0x408)][_0x5240e6(0x423)](!0x1)});}[_0x1f6723(0x19d)](){const _0x114a9a=_0x1f6723;let _0x37095c=new Map(),_0x2b9e85=this[_0x114a9a(0x408)][_0x114a9a(0x419)]((_0x2334fa,_0x52cdee,_0x18f8e2,_0x3a99dc,_0x381906)=>{const _0x5b7b06=_0x114a9a;let _0x4970aa=_0x52cdee;if(_0x4970aa===_0x2bd245[_0x5b7b06(0x3ce)][_0x5b7b06(0x2a9)]||_0x52cdee===_0x5b7b06(0x34d))return!0x1;try{let _0x7b4c2e=_0x37095c[_0x5b7b06(0x2c6)](_0x52cdee);return _0x7b4c2e||(_0x7b4c2e=new _0x2bd245[(_0x5b7b06(0x1ce))](_0x4970aa,_0x5b7b06(0x285)+_0x52cdee),_0x37095c[_0x5b7b06(0x21a)](_0x52cdee,_0x7b4c2e)),_0x7b4c2e[_0x5b7b06(0x1fb)](),_0x381906&&Object[_0x5b7b06(0x313)](_0x381906)[_0x5b7b06(0x231)]>0x0&&_0x7b4c2e['setShapeData']({'adjustValues':_0x381906},!0x0),_0x7b4c2e['updateContext']({'width':_0x18f8e2,'height':_0x3a99dc}),_0x7b4c2e[_0x5b7b06(0x456)](_0x2334fa,{'left':0x0,'top':0x0,'width':_0x18f8e2,'height':_0x3a99dc});}catch{return!0x1;}});this[_0x114a9a(0x18f)](_0x2b9e85),this[_0x114a9a(0x18f)]({'dispose':()=>_0x37095c[_0x114a9a(0x3f1)]()});}[_0x1f6723(0x284)](_0x2a1e50,_0x5ba22b,_0x329f95,_0x22ae69,_0x5a272f){const _0x536115=_0x1f6723;let _0x3fada0=this[_0x536115(0x41e)][_0x536115(0x3a6)](_0x2a1e50,_0x5ba22b)[_0x329f95];_0x3fada0&&_0x3fada0[_0x536115(0x31a)]===_0x179bf7[_0x536115(0x121)]['DRAWING_IMAGE']&&this[_0x536115(0x41e)]['featurePluginUpdateNotification']([{..._0x3fada0,'prstGeom':_0x22ae69,'adjustValues':_0x5a272f}]);}};_0x142998=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x5656f0[_0x1f6723(0x451)])),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x567d02[_0x1f6723(0x316)]))],_0x142998);let _0x50e49e=_0x1f6723(0x29e),_0xed3168=_0x1f6723(0x3f4);function _0x2f16b4({onShapeClick:_0x16194,excludeGroups:_0x2fac2f}){const _0x23bf21=_0x1f6723;return(0x0,_0x480c6f[_0x23bf21(0x17a)])(_0x257c32[_0x23bf21(0x3f8)],{'excludeGroups':_0x2fac2f,'onShapeClick':_0x16194,'scrollContainer':_0x23bf21(0x255)});}function _0x24e12d(){const _0x500b18=_0x1f6723;let _0x1d1953=(0x0,_0x342c24[_0x500b18(0x185)])(_0x567d02[_0x500b18(0x316)]),_0x236983=(0x0,_0x342c24[_0x500b18(0x185)])(_0x142998);return _0x42621a=>{const _0x5910bf=_0x500b18;let _0x1238ef=_0x1d1953[_0x5910bf(0x2b0)]()[_0x5910bf(0x237)](_0x943d32=>_0x943d32[_0x5910bf(0x31a)]===_0x179bf7[_0x5910bf(0x121)][_0x5910bf(0x2ed)]);_0x1238ef&&_0x236983[_0x5910bf(0x284)](_0x1238ef['unitId'],_0x1238ef[_0x5910bf(0x189)],_0x1238ef[_0x5910bf(0x140)],_0x42621a[_0x5910bf(0x333)]);};}function _0x9b0db7(){const _0x469152=_0x1f6723;let _0xbc2097=_0x24e12d();return(0x0,_0x480c6f[_0x469152(0x17a)])(_0x257c32[_0x469152(0x449)],{'buttonLabel':_0x469152(0x193),'excludeGroups':[_0x257c32[_0x469152(0x458)][_0x469152(0x1ed)]],'onShapeClick':_0xbc2097});}function _0x57e581(){const _0x35d41b=_0x1f6723;let _0x320ffe=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x342c24['ComponentManager']),_0x1c7e36=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x567d02['IDrawingManagerService']),_0x30db2d=(0x0,_0x342c24[_0x35d41b(0x185)])(_0x179bf7['IUniverInstanceService']),_0x56c115=_0x1c7e36['getFocusDrawings']()[0x0],_0x46348b=_0x56c115?_0x30db2d[_0x35d41b(0x1b1)](_0x56c115[_0x35d41b(0x2aa)]):void 0x0,_0x5e2719=_0x46348b===_0x179bf7[_0x35d41b(0x42f)][_0x35d41b(0x369)]?_0xed3168:_0x46348b===_0x179bf7['UniverInstanceType'][_0x35d41b(0x296)]?'sheet.image-clip.shape-picker.component':void 0x0,_0x49e2b0=_0x5e2719?_0x320ffe[_0x35d41b(0x2c6)](_0x5e2719):void 0x0;return _0x49e2b0?(0x0,_0x480c6f[_0x35d41b(0x17a)])(_0x49e2b0,{}):null;}function _0x6c1722({paragraphMenuPlacement:_0x56410e,PickerComponent:_0x5210db=_0x2f16b4}){const _0x5a31e5=_0x1f6723;let _0x49096b=(0x0,_0x342c24[_0x5a31e5(0x185)])(_0x179bf7[_0x5a31e5(0x483)]);return(0x0,_0x480c6f[_0x5a31e5(0x17a)])(_0x5210db,{'onShapeClick':_0x1affb5=>{const _0x5cb637=_0x5a31e5;_0x49096b[_0x5cb637(0x15c)](_0x171f92['id'],{'paragraphMenuPlacement':_0x56410e,'value':_0x1affb5[_0x5cb637(0x333)],'enhanceParams':{'endArrow':_0x1affb5[_0x5cb637(0x35a)],'startArrow':_0x1affb5['startArrow'],'horizontal':_0x1affb5[_0x5cb637(0x1bb)],'vertical':_0x1affb5['vertical']}});}});}function _0x4b246a(_0x3da778){const _0x120fbf=_0x1f6723;return _0x3b85db=>({'id':_0x171f92['id'],'type':_0x342c24[_0x120fbf(0x1fa)]['SELECTOR'],'selections':[{'label':{'name':_0x50e49e,'hoverable':!0x1,'selectable':!0x1,'props':_0x3da778?{'id':_0x171f92['id'],'paragraphMenuPlacement':_0x3da778}:{'id':_0x171f92['id']}}}],'icon':_0x120fbf(0x2b1),'title':'docs-shape-ui.insertShape','tooltip':_0x120fbf(0x3fe),'hidden$':(0x0,_0x342c24[_0x120fbf(0x3b6)])(_0x3b85db,_0x179bf7['UniverInstanceType'][_0x120fbf(0x369)])});}let _0x16e6f5=_0x4b246a(),_0x273fd0=_0x4b246a(_0x1f6723(0x146)),_0x62066=_0x4b246a(_0x1f6723(0x158));function _0x2c4093(_0x214816){const _0x3dc975=_0x1f6723;return{'id':_0x57f7a8['id'],'type':_0x342c24[_0x3dc975(0x1fa)][_0x3dc975(0x12e)],'icon':_0x3dc975(0x22c),'title':_0x3dc975(0x3b2),'tooltip':'docs-shape-ui.objectListPanel.open','hidden$':(0x0,_0x342c24[_0x3dc975(0x3b6)])(_0x214816,_0x179bf7['UniverInstanceType']['UNIVER_DOC'])};}function _0x5a93d6(_0x356005,_0x4a77d4,_0x5e0599,_0x36593a,_0x20c383,_0x4c259c){const _0x4ca33a=_0x1f6723;let _0x518913={'unitId':_0x4a77d4,'shapeId':_0x36593a,'shapeData':_0x4c259c,'oldShapeJSON':_0x20c383};return _0x356005[_0x4ca33a(0x15c)](_0x1d4bf7[_0x4ca33a(0x2ee)]['id'],_0x518913);}function _0x3a7e1f(_0x5f2070,_0x410c5c,_0x32d600,_0xe57b4d,_0xa76400,_0x767737){const _0x2fcff9=_0x1f6723;let _0x22302b={'unitId':_0x410c5c,'shapeId':_0xe57b4d,'shapeData':_0x767737,'oldShapeJSON':_0xa76400};return _0x5f2070[_0x2fcff9(0x15c)](_0x1d4bf7[_0x2fcff9(0x2ee)]['id'],_0x22302b);}let _0x21c9ec=_0x1f6723(0x2ef),_0x3e7612=_0x1f6723(0x286),_0x47fb23=_0x1f6723(0x407),_0x517deb=_0x1f6723(0x11c),_0xf7d6ad='docs-shape-ui.shape-format.wrapping-style-label',_0x2bd368=[{'value':_0x3a4044[_0x1f6723(0x3ee)]['INLINE'],'label':_0x1f6723(0x190),'icon':'DocsShapeWrapInlineIcon'},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x326)],'label':_0x1f6723(0x3c5),'icon':_0x1f6723(0x359)},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x481)],'label':_0x1f6723(0x1e5),'icon':_0x1f6723(0x471)},{'value':_0x3a4044['TextWrappingStyle'][_0x1f6723(0x424)],'label':'docs-shape-ui.textWrap.behindText','icon':_0x1f6723(0x157)},{'value':_0x3a4044[_0x1f6723(0x3ee)][_0x1f6723(0x2d5)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x1f6723(0x2f5)}];function _0x5b37d7(){const _0x2c497c=_0x1f6723;let _0x7c73fa=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x179bf7['ICommandService']),_0x41490a=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x567d02['IDrawingManagerService']),_0x5eadd2=(0x0,_0x342c24[_0x2c497c(0x185)])(_0x1d4bf7[_0x2c497c(0x390)]),_0x5c2fae=()=>{const _0x598ec4=_0x2c497c;var _0x51b02b;let _0xc23ec=_0x41490a[_0x598ec4(0x2b0)]();if(_0xc23ec[_0x598ec4(0x231)]!==0x1||((_0x51b02b=_0xc23ec[0x0])==null?void 0x0:_0x51b02b['drawingType'])!==_0x179bf7[_0x598ec4(0x121)][_0x598ec4(0x29c)])return null;let {unitId:_0xcc6ced,subUnitId:_0x2419da,drawingId:_0x28df3a}=_0xc23ec[0x0],_0x2150b2=_0x5eadd2[_0x598ec4(0x138)](_0xcc6ced,_0x2419da,_0x28df3a),_0x1c5998=_0x5eadd2[_0x598ec4(0x43e)](_0xcc6ced,_0x2419da,_0x28df3a);return _0x2150b2===void 0x0||!_0x1c5998?null:{'unitId':_0xcc6ced,'subUnitId':_0x2419da,'drawingId':_0x28df3a,'shapeType':_0x2150b2,'shapeData':_0x1c5998};},_0x5a550b=(0x0,_0x342c24[_0x2c497c(0x161)])(()=>new _0x5cf427['Observable'](_0x3d3a5e=>{const _0x38da09=_0x2c497c;let _0x2d4fca=()=>_0x3d3a5e[_0x38da09(0x431)](_0x5c2fae()),_0x43d62c=_0x41490a[_0x38da09(0x2e7)]['subscribe'](_0x2d4fca),_0x3e64ae=_0x7c73fa[_0x38da09(0x2e4)](_0x612db1=>{_0x612db1['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']&&_0x2d4fca();});return _0x2d4fca(),()=>{const _0x387557=_0x38da09;_0x43d62c[_0x387557(0x1d4)](),_0x3e64ae[_0x387557(0x2ba)]();};}),_0x5c2fae(),!0x1,[_0x7c73fa,_0x5eadd2,_0x41490a]);return{'selection':_0x5a550b,'updateShapeData':_0x2960fd=>{const _0x30bff2=_0x2c497c;_0x5a550b&&_0x5a93d6(_0x7c73fa,_0x5a550b[_0x30bff2(0x2aa)],_0x5a550b[_0x30bff2(0x189)],_0x5a550b[_0x30bff2(0x140)],{'oldShapeData':_0x5a550b[_0x30bff2(0x2c0)]},_0x2960fd);}};}function _0xf4080c(){const _0x54277c=_0x1f6723;let {selection:_0xc183f2,updateShapeData:_0x3952ab}=_0x5b37d7();return _0xc183f2?(0x0,_0x480c6f[_0x54277c(0x17a)])(_0x257c32[_0x54277c(0x47c)],{'shapeData':_0xc183f2[_0x54277c(0x2c0)],'shapeType':_0xc183f2[_0x54277c(0x24e)],'onUpdateShapeData':_0x3952ab}):null;}function _0x509acc(){const _0x5d40e4=_0x1f6723;let _0x1f3e83=(0x0,_0x342c24['useDependency'])(_0x179bf7['ICommandService']),_0xdddd9c=(0x0,_0x342c24[_0x5d40e4(0x185)])(_0x179bf7[_0x5d40e4(0x46f)]),{selection:_0x23b1b1}=_0x5b37d7();return _0x23b1b1?(0x0,_0x480c6f[_0x5d40e4(0x17a)])(_0x257c32[_0x5d40e4(0x290)],{'type':(0x0,_0x198678[_0x5d40e4(0x3c3)])(_0x23b1b1[_0x5d40e4(0x2c0)]),'ariaLabel':_0xdddd9c['t'](_0x5d40e4(0x33c)),'activePresetId':(0x0,_0x198678[_0x5d40e4(0x328)])(_0x23b1b1[_0x5d40e4(0x2c0)]),'onSelect':_0x670be2=>_0x1f3e83['executeCommand'](_0x155dac['id'],{'presetId':_0x670be2})}):null;}function _0x1a18d1(){const _0x31a5d8=_0x1f6723;let {selection:_0x1bced3,updateShapeData:_0x1cc680}=_0x5b37d7();return _0x1bced3?(0x0,_0x480c6f[_0x31a5d8(0x17a)])(_0x257c32[_0x31a5d8(0x1cd)],{'fontFamilyPopupDataComponent':'docs-shape-format-font-family-menu','shapeData':_0x1bced3[_0x31a5d8(0x2c0)],'onUpdateShapeData':_0x1cc680}):null;}function _0x15d181(){const _0x313aa4=_0x1f6723;var _0xe15e2e;let {selection:_0x5277ef,updateShapeData:_0xfb4257}=_0x5b37d7(),_0x12c717=(0x0,_0x257c32[_0x313aa4(0x36a)])({'hostType':_0x179bf7[_0x313aa4(0x42f)][_0x313aa4(0x369)],'unitId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x2aa)])??'','subUnitId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x189)])??'','shapeId':(_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x140)])??'','shapeData':_0x5277ef==null?void 0x0:_0x5277ef[_0x313aa4(0x2c0)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x313aa4(0x135),'onUpdateBinding':_0x5a6d2f=>_0xfb4257({'formulaBinding':_0x5a6d2f})}),_0x3e147c=((_0xe15e2e=_0x12c717[_0x313aa4(0x12f)])==null?void 0x0:_0xe15e2e[_0x313aa4(0x391)](_0x2f966c=>_0x2f966c[_0x313aa4(0x17e)])[_0x313aa4(0x44a)](_0x581969=>_0x581969['visible']!==!0x1))??[];return _0x5277ef!=null&&_0x5277ef[_0x313aa4(0x2c0)][_0x313aa4(0x441)]?(0x0,_0x480c6f[_0x313aa4(0x17a)])(_0x257c32[_0x313aa4(0x2f7)],{'actions':_0x3e147c,'panel':_0x12c717[_0x313aa4(0x184)]}):null;}function _0x10ab8f({value:_0x36362e}){const _0x16a56b=_0x1f6723;let _0x35bbb5=(0x0,_0x342c24[_0x16a56b(0x185)])(_0x179bf7[_0x16a56b(0x46f)]),_0x5d1cc6=_0x2bd368[_0x16a56b(0x237)](_0xd53393=>_0xd53393[_0x16a56b(0x442)]===_0x36362e)??_0x2bd368[0x0];return _0x5d1cc6?(0x0,_0x480c6f['jsx'])('span',{'children':_0x35bbb5['t'](_0x5d1cc6[_0x16a56b(0x250)])}):null;}let _0x5be356=_0x1f6723(0x15d),_0x16971b=_0x1f6723(0x429),_0x2171c5=_0x1f6723(0x303),_0xa55cd7=_0x1f6723(0x2fa),_0x4274b4=_0x1f6723(0x288),_0x19a469=_0x1f6723(0x266),_0x5eaac0=_0x1f6723(0x2d2),_0x5e39c1='docs-shape-ui.ribbon.shape-format.wrapping-style';function _0x4dca94(_0x76d00e){const _0xa9389=_0x1f6723;let _0x15fa53=_0x76d00e[_0xa9389(0x2c6)](_0x179bf7[_0xa9389(0x483)]),_0x789cc9=_0x76d00e[_0xa9389(0x2c6)](_0x567d02['IDrawingManagerService']),_0x39929d=_0x76d00e[_0xa9389(0x2c6)](_0x1d4bf7[_0xa9389(0x390)]);return new _0x5cf427[(_0xa9389(0x293))](_0x138cf4=>{const _0x596dac=_0xa9389;let _0x295c1e=()=>{const _0x485e59=_0x5827;let _0x3bd21b=_0x5e13ed(_0x76d00e),_0x2d4c71=_0x3bd21b?_0x39929d[_0x485e59(0x43e)](_0x3bd21b['unitId'],_0x3bd21b['subUnitId'],_0x3bd21b[_0x485e59(0x140)]):null;_0x138cf4[_0x485e59(0x431)](_0x2d4c71?(0x0,_0x198678[_0x485e59(0x328)])(_0x2d4c71)??'':'');},_0x35cfd9=_0x789cc9['focus$'][_0x596dac(0x37a)](_0x295c1e),_0x2b1446=_0x15fa53[_0x596dac(0x2e4)](_0x544336=>{const _0x31b7b2=_0x596dac;_0x544336['id']===_0x1d4bf7[_0x31b7b2(0x34a)]['id']&&_0x295c1e();});return _0x295c1e(),()=>{const _0x21ac48=_0x596dac;_0x35cfd9['unsubscribe'](),_0x2b1446[_0x21ac48(0x2ba)]();};});}function _0x5e13ed(_0x417bc1){const _0x4fdcf4=_0x1f6723;var _0x1d88d2;let _0x216b77=_0x417bc1[_0x4fdcf4(0x2c6)](_0x567d02[_0x4fdcf4(0x316)])[_0x4fdcf4(0x2b0)]();return _0x216b77[_0x4fdcf4(0x231)]===0x1&&((_0x1d88d2=_0x216b77[0x0])==null?void 0x0:_0x1d88d2[_0x4fdcf4(0x31a)])===_0x179bf7[_0x4fdcf4(0x121)][_0x4fdcf4(0x29c)]?_0x216b77[0x0]:null;}function _0x479a09(_0x4994c7){const _0x94f22c=_0x1f6723;return(_0x4994c7==null?void 0x0:_0x4994c7[_0x94f22c(0x1a4)])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x1a1)]?_0x4994c7[_0x94f22c(0x18c)]===_0x179bf7[_0x94f22c(0x1d6)][_0x94f22c(0x22f)]?_0x3a4044[_0x94f22c(0x3ee)]['BEHIND_TEXT']:_0x3a4044['TextWrappingStyle']['IN_FRONT_OF_TEXT']:(_0x4994c7==null?void 0x0:_0x4994c7[_0x94f22c(0x1a4)])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x326)]?_0x3a4044[_0x94f22c(0x3ee)]['WRAP_SQUARE']:(_0x4994c7==null?void 0x0:_0x4994c7['layoutType'])===_0x179bf7[_0x94f22c(0x41d)][_0x94f22c(0x481)]?_0x3a4044[_0x94f22c(0x3ee)][_0x94f22c(0x481)]:_0x3a4044[_0x94f22c(0x3ee)][_0x94f22c(0x3c4)];}function _0x5e11a1(_0x411841){const _0x29c4b0=_0x1f6723;let _0x5f1bf8=_0x411841['get'](_0x179bf7[_0x29c4b0(0x483)]),_0x209594=_0x411841['get'](_0x567d02['IDrawingManagerService']),_0x28ce4f=_0x411841['get'](_0x179bf7['IUniverInstanceService']);return new _0x5cf427[(_0x29c4b0(0x293))](_0x54f813=>{const _0x20a160=_0x29c4b0;let _0xb4d58d=()=>{const _0x4a31f3=_0x5827;var _0x3939de;let _0x8b4ef4=_0x5e13ed(_0x411841),_0x28f186=_0x8b4ef4?_0x28ce4f['getUnit'](_0x8b4ef4[_0x4a31f3(0x2aa)],_0x179bf7[_0x4a31f3(0x42f)][_0x4a31f3(0x369)]):void 0x0;_0x54f813['next'](_0x479a09(_0x8b4ef4?_0x28f186==null||(_0x3939de=_0x28f186['getSnapshot']()[_0x4a31f3(0x125)])==null?void 0x0:_0x3939de[_0x8b4ef4['drawingId']]:void 0x0));},_0x19ca78=_0x209594[_0x20a160(0x2e7)]['subscribe'](_0xb4d58d),_0x327a8f=_0x5f1bf8[_0x20a160(0x2e4)](_0x379017=>{const _0x1fc60d=_0x20a160;_0x379017['id']===_0x31f1d7[_0x1fc60d(0x274)]['id']&&_0xb4d58d();});return _0xb4d58d(),()=>{const _0x571be6=_0x20a160;_0x19ca78['unsubscribe'](),_0x327a8f[_0x571be6(0x2ba)]();};})['pipe']((0x0,_0x5cf427['distinctUntilChanged'])());}function _0x1dfc26(_0x226af8,_0x3b7dd1=!0x1){const _0xbb8ad8=_0x1f6723;let _0x2b8378=_0x226af8['get'](_0x179bf7['ICommandService']),_0x2cc147=_0x226af8[_0xbb8ad8(0x2c6)](_0x567d02[_0xbb8ad8(0x316)]),_0x574171=_0x226af8[_0xbb8ad8(0x2c6)](_0x1d4bf7[_0xbb8ad8(0x390)]);return new _0x5cf427['Observable'](_0x342ea9=>{const _0x48ad32=_0xbb8ad8;let _0x180e21=()=>{const _0x4a4431=_0x5827;let _0x4cb130=_0x5e13ed(_0x226af8);if(!_0x4cb130){_0x342ea9[_0x4a4431(0x431)](!0x0);return;}let _0x2464c5=_0x574171['getShapeDataById'](_0x4cb130[_0x4a4431(0x2aa)],_0x4cb130[_0x4a4431(0x189)],_0x4cb130['drawingId']);_0x342ea9['next'](!_0x2464c5||_0x3b7dd1&&_0x2464c5[_0x4a4431(0x441)]==null);},_0x2ddec0=_0x2cc147[_0x48ad32(0x2e7)]['subscribe'](_0x180e21),_0x4091f6=_0x2b8378['onCommandExecuted'](_0x134b22=>{_0x134b22['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']&&_0x180e21();});return _0x180e21(),()=>{const _0x3512d2=_0x48ad32;_0x2ddec0[_0x3512d2(0x1d4)](),_0x4091f6[_0x3512d2(0x2ba)]();};});}function _0x3c86db(_0x24d4d5){const _0x478912=_0x1f6723;let _0x573e06=_0x24d4d5[_0x478912(0x2c6)](_0x567d02[_0x478912(0x316)]),_0x1c1531=_0x24d4d5[_0x478912(0x2c6)](_0x1d4bf7['DocsShapeService']);return _0x573e06[_0x478912(0x2e7)][_0x478912(0x36b)]((0x0,_0x5cf427[_0x478912(0x418)])(_0x573e06[_0x478912(0x2b0)]()),(0x0,_0x5cf427['map'])(()=>{const _0x32f1ef=_0x478912;let _0x3cd3b4=_0x5e13ed(_0x24d4d5),_0x4d56eb=_0x3cd3b4?_0x1c1531[_0x32f1ef(0x138)](_0x3cd3b4['unitId'],_0x3cd3b4[_0x32f1ef(0x189)],_0x3cd3b4[_0x32f1ef(0x140)]):void 0x0;return _0x4d56eb===void 0x0||(0x0,_0x2bd245[_0x32f1ef(0x452)])(_0x4d56eb);}));}function _0x3d50a1(_0x3f2a49){const _0x2fb1a2=_0x1f6723;return{'id':_0x155dac['id'],'type':_0x342c24[_0x2fb1a2(0x1fa)]['SELECTOR'],'icon':_0x2fb1a2(0x3f6),'title':_0x2fb1a2(0x301),'tooltip':_0x2fb1a2(0x301),'selections':[{'label':{'name':_0x21c9ec,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x4dca94(_0x3f2a49),'hidden$':_0x1dfc26(_0x3f2a49)};}function _0xf45f2(_0x4c3a76){const _0x3984f0=_0x1f6723;return{'id':_0x1317e1['id'],'type':_0x342c24[_0x3984f0(0x1fa)][_0x3984f0(0x3bd)],'icon':_0x3984f0(0x2b1),'title':_0x3984f0(0x12c),'tooltip':_0x3984f0(0x12c),'slot':!0x0,'selections':[{'label':{'name':_0x257c32[_0x3984f0(0x214)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x3c86db(_0x4c3a76)};}function _0x2b2a3a(_0x1cb41c,_0x3bcf21,_0x53e902=!0x1){return _0x20ff4c=>({'id':_0x1cb41c,'type':_0x342c24['MenuItemType']['BUTTON'],'label':{'name':_0x3bcf21,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x1dfc26(_0x20ff4c,_0x53e902)});}let _0x4e9fab=_0x2b2a3a(_0x5be356,_0x3e7612),_0x53d1a5=_0x2b2a3a(_0x16971b,_0x47fb23),_0x2f6eaa=_0x2b2a3a(_0x2171c5,_0x517deb,!0x0);function _0x5c0eb5(_0x48edc3){const _0x27664b=_0x1f6723;return{'id':_0x5e39c1,'type':_0x342c24['MenuItemType'][_0x27664b(0x3bd)],'icon':_0x2bd368[0x0][_0x27664b(0x1c3)],'label':_0xf7d6ad,'selectionsCommandId':_0x3a4044[_0x27664b(0x355)]['id'],'selections':_0x2bd368['map'](({icon:_0x4f62bb,label:_0x1e12e9,value:_0x1f635d})=>({'value':_0x1f635d,'label':_0x1e12e9,'icon':_0x4f62bb,'params':()=>{const _0x3b5a95=_0x27664b;let _0x335f9d=_0x5e13ed(_0x48edc3);return _0x335f9d?{'unitId':_0x335f9d[_0x3b5a95(0x2aa)],'subUnitId':_0x335f9d[_0x3b5a95(0x189)],'drawings':[{'unitId':_0x335f9d[_0x3b5a95(0x2aa)],'subUnitId':_0x335f9d['subUnitId'],'drawingId':_0x335f9d[_0x3b5a95(0x140)]}],'wrappingStyle':_0x1f635d}:void 0x0;}})),'value$':_0x5e11a1(_0x48edc3),'hidden$':_0x1dfc26(_0x48edc3)};}function _0x3b83d6(_0x2ffc1a,_0x2a90c3,_0x2ab150,_0x3e23ef){const _0x4e4216=_0x1f6723;return _0x1309fd=>({'id':_0x2ffc1a,'commandId':_0x3a4044[_0x4e4216(0x3f0)]['id'],'type':_0x342c24[_0x4e4216(0x1fa)]['BUTTON'],'icon':_0x2ab150,'title':_0x3e23ef,'tooltip':_0x3e23ef,'hidden$':_0x1dfc26(_0x1309fd),'params':()=>{const _0x22cd00=_0x4e4216;let _0x4597a0=_0x5e13ed(_0x1309fd);return _0x4597a0?{'unitId':_0x4597a0[_0x22cd00(0x2aa)],'subUnitId':_0x4597a0['subUnitId'],'drawingIds':[_0x4597a0[_0x22cd00(0x140)]],'arrangeType':_0x2a90c3}:void 0x0;}});}let _0x4da1fe=_0x3b83d6(_0xa55cd7,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x224)],_0x1f6723(0x197),_0x1f6723(0x3b7)),_0x3d27a1=_0x3b83d6(_0x4274b4,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x317)],_0x1f6723(0x3d4),'shape-editor-ui.arrange.backward'),_0xb4db3a=_0x3b83d6(_0x19a469,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x465)],_0x1f6723(0x20e),_0x1f6723(0x329)),_0xd4ba5d=_0x3b83d6(_0x5eaac0,_0x179bf7[_0x1f6723(0x3d0)][_0x1f6723(0x474)],_0x1f6723(0x34c),'shape-editor-ui.arrange.back');function _0x13213f(_0x13da5d){const _0x3b7202=_0x1f6723;return{'id':_0x344cfa['id'],'type':_0x342c24[_0x3b7202(0x1fa)][_0x3b7202(0x12e)],'icon':_0x3b7202(0x3dc),'title':'docs-shape-ui.formatShape','tooltip':'docs-shape-ui.formatShape','hidden$':_0x1dfc26(_0x13da5d),'params':()=>{const _0x38dc5b=_0x3b7202;let _0x2fe8e4=_0x5e13ed(_0x13da5d);return _0x2fe8e4?{'unitId':_0x2fe8e4[_0x38dc5b(0x2aa)],'subUnitId':_0x2fe8e4[_0x38dc5b(0x189)],'drawingId':_0x2fe8e4[_0x38dc5b(0x140)]}:void 0x0;}};}let _0x4f740a={[_0x342c24[_0x1f6723(0x400)][_0x1f6723(0x437)]]:{[_0x4008c0]:{'order':0x64,'title':_0x1f6723(0x309),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x155dac['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3d50a1},[_0x1317e1['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xf45f2}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x5be356]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x4e9fab}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x16971b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x53d1a5}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x5e39c1]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x5c0eb5},[_0xa55cd7]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x4da1fe},[_0x4274b4]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x3d27a1},[_0x19a469]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0xb4db3a},[_0x5eaac0]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0xd4ba5d}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x2171c5]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x2f6eaa}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x344cfa['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x13213f},[_0x257c32['ToggleShapeFloatingToolbarOperation']['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x257c32['ShapeFloatingToolbarToggleFactory']}}}}},_0x44179d={[_0x342c24[_0x1f6723(0x244)][_0x1f6723(0x2ca)]]:{[_0x171f92['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2cb1af=>({..._0x16e6f5(_0x2cb1af),'title':void 0x0})}},[_0x342c24[_0x1f6723(0x244)][_0x1f6723(0x210)]]:{[_0x57f7a8['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2c4093}},[_0x342c24[_0x1f6723(0x228)][_0x1f6723(0x196)]]:{[_0x342c24['ContextMenuGroup'][_0x1f6723(0x281)]]:{[_0x33827d[_0x1f6723(0x47a)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x273fd0}}},[_0x33827d[_0x1f6723(0x4ad)]]:{[_0x342c24[_0x1f6723(0x11b)][_0x1f6723(0x281)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x273fd0}}},[_0x33827d[_0x1f6723(0x27a)]]:{[_0x342c24[_0x1f6723(0x11b)][_0x1f6723(0x281)]]:{[_0x171f92['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x62066}}},[_0x33827d[_0x1f6723(0x375)]]:{'insert':{[_0x171f92['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x16e6f5}}},[_0x33827d[_0x1f6723(0x26c)]]:{'insert':{[_0x171f92['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x273fd0}}}}};var _0x2a39c7=_0x1f6723(0x209),_0x23b802='1.0.4';let _0x4fb5aa={'type':_0x179bf7[_0x1f6723(0x1f8)][_0x1f6723(0x4a7)],'id':_0x1f6723(0x2bf),'handler'(){return!0x0;}},_0x49f7b9=_0x1f6723(0x271),_0x1b5005={};function _0x20c52f(_0x1bfac4){'@babel/helpers - typeof';const _0x488d7e=_0x1f6723;return _0x20c52f=typeof Symbol==_0x488d7e(0x1f2)&&typeof Symbol[_0x488d7e(0x339)]=='symbol'?function(_0x4b077d){return typeof _0x4b077d;}:function(_0x18fea4){const _0x391b2a=_0x488d7e;return _0x18fea4&&typeof Symbol=='function'&&_0x18fea4['constructor']===Symbol&&_0x18fea4!==Symbol[_0x391b2a(0x2b3)]?'symbol':typeof _0x18fea4;},_0x20c52f(_0x1bfac4);}function _0x19fd1e(_0x937221,_0x2d42df){const _0x614237=_0x1f6723;if(_0x20c52f(_0x937221)!='object'||!_0x937221)return _0x937221;var _0xb5d978=_0x937221[Symbol[_0x614237(0x2de)]];if(_0xb5d978!==void 0x0){var _0x1210cd=_0xb5d978['call'](_0x937221,_0x2d42df||'default');if(_0x20c52f(_0x1210cd)!='object')return _0x1210cd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2d42df===_0x614237(0x2e5)?String:Number)(_0x937221);}function _0x385986(_0x46a22f){const _0x129cdc=_0x1f6723;var _0x44a4e1=_0x19fd1e(_0x46a22f,_0x129cdc(0x2e5));return _0x20c52f(_0x44a4e1)=='symbol'?_0x44a4e1:_0x44a4e1+'';}function _0x6a547(_0x1e8eaf,_0x5bd8ad,_0x5a24bc){return(_0x5bd8ad=_0x385986(_0x5bd8ad))in _0x1e8eaf?Object['defineProperty'](_0x1e8eaf,_0x5bd8ad,{'value':_0x5a24bc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e8eaf[_0x5bd8ad]=_0x5a24bc,_0x1e8eaf;}var _0x218868=class extends _0x1126ec[_0x1f6723(0x1cf)]{constructor(_0x4b2404,_0x5b5cfc){const _0x5ce2a0=_0x1f6723;super(_0x4b2404,_0x5b5cfc),_0x6a547(this,_0x5ce2a0(0x34e),null),_0x6a547(this,_0x5ce2a0(0x149),null),_0x6a547(this,_0x5ce2a0(0x42d),null),_0x6a547(this,_0x5ce2a0(0x3cf),null),_0x5b5cfc&&this[_0x5ce2a0(0x124)](_0x5b5cfc);}[_0x1f6723(0x256)](){const _0x55f7aa=_0x1f6723;return{'unitId':this['_unitId'],'subUnitId':this[_0x55f7aa(0x3cf)],'drawingId':this[_0x55f7aa(0x34e)]};}[_0x1f6723(0x124)](_0x26bfe7){const _0x70a422=_0x1f6723;_0x26bfe7[_0x70a422(0x36e)]!==void 0x0&&(this[_0x70a422(0x34e)]=_0x26bfe7[_0x70a422(0x36e)]),_0x26bfe7[_0x70a422(0x145)]!==void 0x0&&(this[_0x70a422(0x149)]=_0x26bfe7[_0x70a422(0x145)]),_0x26bfe7[_0x70a422(0x2aa)]!==void 0x0&&(this['_unitId']=_0x26bfe7[_0x70a422(0x2aa)]),_0x26bfe7['subUnitId']!==void 0x0&&(this[_0x70a422(0x3cf)]=_0x26bfe7[_0x70a422(0x189)]),this[_0x70a422(0x18d)]({'width':_0x26bfe7[_0x70a422(0x258)],'height':_0x26bfe7[_0x70a422(0x3a9)]});}[_0x1f6723(0x1d5)](_0xec4086){const _0x572f10=_0x1f6723;_0x1126ec['Circle'][_0x572f10(0x417)](_0xec4086,{'radius':_0x2bd245[_0x572f10(0x490)][_0x572f10(0x186)],'fill':_0x2bd245['ShapeDefaultConfig']['adjHandleFill'],'stroke':_0x2bd245[_0x572f10(0x490)][_0x572f10(0x1b5)],'strokeWidth':0x1,'evented':!0x0});}};function _0x5a61c0(_0x4ded78,_0x4dddcc,_0xa864be){const _0x22af28=_0x1f6723;let _0x5e3a7b={..._0x4dddcc,'dataModel':{..._0x4dddcc['dataModel']??{},..._0xa864be?{'doc':_0xa864be}:null}},_0x1b1196=(0x0,_0x257c32[_0x22af28(0x3c6)])(_0x4ded78,_0x5e3a7b),_0x38341a=(0x0,_0x257c32[_0x22af28(0x2ea)])(_0x1b1196);return{'clip':(0x0,_0x257c32[_0x22af28(0x173)])(_0x1b1196,_0x38341a),'wrapStrategy':_0x38341a};}var _0x229152=class extends _0x1126ec[_0x1f6723(0x1cf)]{constructor(_0x5d8bdb,_0x497814){const _0x59843c=_0x1f6723;super(_0x5d8bdb,_0x497814),_0x6a547(this,_0x59843c(0x3c2),[]),_0x6a547(this,_0x59843c(0x236),void 0x0),_0x6a547(this,_0x59843c(0x388),new _0x257c32[(_0x59843c(0x192))](()=>this['makeDirty'](!0x0),()=>this[_0x59843c(0x1cc)]())),_0x6a547(this,_0x59843c(0x22d),!0x0),_0x6a547(this,_0x59843c(0x413),_0x179bf7[_0x59843c(0x121)][_0x59843c(0x29c)]),_0x6a547(this,_0x59843c(0x15e),!0x0),this[_0x59843c(0x236)]={..._0x497814},this[_0x59843c(0x388)][_0x59843c(0x357)](_0x497814['formulaPresentation'],_0x497814[_0x59843c(0x16d)]!==!0x1),this['_init'](),this[_0x59843c(0x1cc)]();}[_0x1f6723(0x22e)](){const _0x33e5f3=_0x1f6723;this[_0x33e5f3(0x240)][_0x33e5f3(0x176)](_0xc9015b=>{const _0x1ff10b=_0x33e5f3;this[_0x1ff10b(0x278)](_0xc9015b);});}['setPrstGeom'](_0x48229c){const _0x3fd1ef=_0x1f6723;this[_0x3fd1ef(0x236)][_0x3fd1ef(0x342)]=_0x48229c;}['resolveHyperLinkAt'](_0x1bb74d){const _0xba097d=_0x1f6723;if(this['_props'][_0xba097d(0x331)])return null;let _0x4688d3=this[_0xba097d(0x2a4)](_0x1bb74d),{width:_0x193b62,height:_0x31d767}=this[_0xba097d(0x3b9)]();return(0x0,_0x257c32[_0xba097d(0x1d0)])(this[_0xba097d(0x3c2)],{'x':(this[_0xba097d(0x3c9)]?-_0x4688d3['x']:_0x4688d3['x'])+_0x193b62/0x2,'y':_0x4688d3['y']+_0x31d767/0x2});}[_0x1f6723(0x11e)](_0x6b6aff){const _0x48478c=_0x1f6723;this[_0x48478c(0x236)][_0x48478c(0x331)]=_0x6b6aff,this[_0x48478c(0x402)](!0x0);}[_0x1f6723(0x2c3)](_0x5c9de8,_0x5557b5=!0x0){const _0x462735=_0x1f6723;this[_0x462735(0x388)][_0x462735(0x357)](_0x5c9de8,_0x5557b5),this[_0x462735(0x236)][_0x462735(0x276)]=_0x5c9de8,this[_0x462735(0x1cc)](),this[_0x462735(0x402)](!0x0);}[_0x1f6723(0x1cc)](){const _0x33dcde=_0x1f6723;let _0xc84911=this[_0x33dcde(0x236)][_0x33dcde(0x39a)],_0x1e6df5=_0xc84911[_0x33dcde(0x28c)](),_0x20c1fe=(0x0,_0x257c32[_0x33dcde(0x415)])(_0x1e6df5==null?void 0x0:_0x1e6df5[_0x33dcde(0x2bc)]),_0x1e664f=_0x20c1fe==null?void 0x0:_0x20c1fe['doc'],_0x2d020c=this[_0x33dcde(0x388)][_0x33dcde(0x3ab)]();if(!_0x1e664f||_0x2d020c[_0x33dcde(0x231)]===0x0)return;_0xc84911[_0x33dcde(0x353)]({'width':this['width'],'height':this[_0x33dcde(0x3a9)]});let _0x29ce80=(0x0,_0x257c32[_0x33dcde(0x2e3)])({'documentData':_0x2d020c[_0x33dcde(0x35f)](_0xdc6f1c=>(0x0,_0x198678[_0x33dcde(0x29f)])(_0x1e664f,_0xdc6f1c)),'height':this[_0x33dcde(0x3a9)],'shapeData':_0xc84911[_0x33dcde(0x4a3)](),'textRect':_0xc84911['getShapeTextRect']({'left':0x0,'top':0x0,'width':this['width'],'height':this['height']}),'width':this[_0x33dcde(0x258)]});if(_0x29ce80){var _0x3af3eb;this['resize'](_0x29ce80[_0x33dcde(0x258)],_0x29ce80[_0x33dcde(0x3a9)]),(_0x3af3eb=this[_0x33dcde(0x39c)]())==null||(_0x3af3eb=_0x3af3eb[_0x33dcde(0x3d5)]())==null||_0x3af3eb[_0x33dcde(0x3e6)]();}}get['unitId'](){const _0x3ef901=_0x1f6723;return this['_props'][_0x3ef901(0x2aa)];}get[_0x1f6723(0x189)](){const _0x1fc21d=_0x1f6723;return this[_0x1fc21d(0x236)]['subUnitId'];}['_updateSrcRectByTransform'](_0x49e3f2){const _0x938b79=_0x1f6723;if(this[_0x938b79(0x236)][_0x938b79(0x37f)]==null||!this[_0x938b79(0x22d)])return;let {width:_0x482d4b,height:_0x30db50}=this,{width:_0x18da6f=0x0,height:_0x4f5655=0x0}=_0x49e3f2[_0x938b79(0x233)],{left:_0x430185=0x0,top:_0x3f363c=0x0,right:_0x1bafee=0x0,bottom:_0x4f333d=0x0}=this[_0x938b79(0x236)][_0x938b79(0x37f)],_0x2b0dae=_0x430185,_0x213685=_0x3f363c,_0x2d56a9=_0x1bafee,_0x47fcfa=_0x4f333d,_0x119480=!0x1;if(_0x18da6f!==0x0&&_0x18da6f!==_0x482d4b){let _0x117a33=_0x430185/_0x18da6f,_0x55347f=_0x1bafee/_0x18da6f;_0x2b0dae=_0x482d4b*_0x117a33,_0x2d56a9=_0x482d4b*_0x55347f,_0x119480=!0x0;}if(_0x4f5655!==0x0&&_0x4f5655!==_0x30db50){let _0x22df25=_0x3f363c/_0x4f5655,_0x4f79c4=_0x4f333d/_0x4f5655;_0x213685=_0x30db50*_0x22df25,_0x47fcfa=_0x30db50*_0x4f79c4,_0x119480=!0x0;}_0x119480&&this['setSrcRect']({'left':_0x2b0dae,'top':_0x213685,'right':_0x2d56a9,'bottom':_0x47fcfa});}[_0x1f6723(0x153)](_0x360297){const _0x3a08fc=_0x1f6723;this[_0x3a08fc(0x236)][_0x3a08fc(0x37f)]=_0x360297,this[_0x3a08fc(0x402)](!0x0);}[_0x1f6723(0x482)](_0x10f701){const _0x2a1201=_0x1f6723;this[_0x2a1201(0x236)][_0x2a1201(0x494)]=_0x10f701,this['makeDirty'](!0x0);}set['transform'](_0x20a506){this['_transform']=_0x20a506;}get[_0x1f6723(0x182)](){const _0x488124=_0x1f6723;this[_0x488124(0x20f)]||this[_0x488124(0x335)]();let _0x4a6ede=this[_0x488124(0x20f)]['clone']();return this[_0x488124(0x406)](_0x4a6ede);}get[_0x1f6723(0x39a)](){const _0x20debf=_0x1f6723;return this[_0x20debf(0x236)][_0x20debf(0x39a)];}get[_0x1f6723(0x36e)](){const _0x35a436=_0x1f6723;return this[_0x35a436(0x236)][_0x35a436(0x36e)];}get['classType'](){const _0x4bcf10=_0x1f6723;return _0x1126ec['RENDER_CLASS_TYPE'][_0x4bcf10(0x314)];}[_0x1f6723(0x1d5)](_0x470cd0,_0x3aff61,_0x323522,_0x356d87){const _0x3218ba=_0x1f6723;let _0x341556=this[_0x3218ba(0x236)][_0x3218ba(0x39a)];if(!_0x341556||!_0x3aff61)return;let _0x1849e1=_0x323522??this[_0x3218ba(0x258)],_0x88c7bc=_0x356d87??this[_0x3218ba(0x3a9)],_0x53578b={'shapeType':_0x341556['getShapeType'](),'width':_0x1849e1,'height':_0x88c7bc},_0x18f6b4={'renderMode':_0x2bd245['ShapeRenderModeEnum'][_0x3218ba(0x47b)],'oKey':this[_0x3218ba(0x377)],'image':this['_props']['image'],'angle':this[_0x3218ba(0x38f)]};_0x341556['updateContext'](_0x53578b),_0x470cd0['save']();let _0x503a79={'top':0x0,'left':0x0,'width':_0x1849e1,'height':_0x88c7bc},_0xd42053=_0x341556[_0x3218ba(0x469)](_0x503a79);_0xd42053?this[_0x3218ba(0x292)](_0x470cd0,_0xd42053,_0x9e1423=>{_0x341556['render'](_0x9e1423,_0x503a79,_0x18f6b4);}):(this[_0x3218ba(0x472)](),_0x341556[_0x3218ba(0x2b8)](_0x470cd0,_0x503a79,_0x18f6b4)),_0x470cd0[_0x3218ba(0x485)]();let _0x2496de=_0x341556[_0x3218ba(0x28c)](),_0x45547a=_0x341556[_0x3218ba(0x2a3)](_0x503a79),_0x3aa834=_0x341556[_0x3218ba(0x368)]();if(_0x2496de&&_0x45547a&&!_0x3aa834){_0x470cd0[_0x3218ba(0x4aa)](),this[_0x3218ba(0x320)]()[_0x3218ba(0x3c9)]&&_0x470cd0[_0x3218ba(0x261)](-0x1,0x1);let _0x53e547=_0x1849e1/0x2,_0x35422b=_0x88c7bc/0x2;_0x470cd0[_0x3218ba(0x1ab)](-_0x53e547,-_0x35422b),_0x470cd0[_0x3218ba(0x1f5)](),this[_0x3218ba(0x2db)](_0x470cd0,_0x2496de,_0x45547a),_0x470cd0[_0x3218ba(0x485)]();}}[_0x1f6723(0x38b)](_0x3b9113){}[_0x1f6723(0x2db)](_0x3ceaca,_0x4637dd,_0x578bbc){const _0x3c6ffa=_0x1f6723;var _0x1f66de;this[_0x3c6ffa(0x3c2)]=[],!this[_0x3c6ffa(0x236)][_0x3c6ffa(0x331)]&&(!((_0x1f66de=_0x4637dd[_0x3c6ffa(0x2bc)])!=null&&_0x1f66de[_0x3c6ffa(0x3a0)])&&_0x3c6ffa(0x319)in _0x4637dd&&_0x4637dd['isRichText']===!0x1?this[_0x3c6ffa(0x31f)](_0x3ceaca,_0x4637dd,_0x578bbc):this['_drawRichText'](_0x3ceaca,_0x4637dd,_0x578bbc));}['_drawSimpleText'](_0x30a758,_0x467c99,_0x11e633){const _0x3ca968=_0x1f6723;this[_0x3ca968(0x162)](_0x30a758,{..._0x467c99,'text':_0x467c99[_0x3ca968(0x201)]??'','dataModel':{'doc':(0x0,_0x257c32['plainShapeTextToDocumentData'])(_0x467c99,_0x3ca968(0x1ba)+this['oKey'])}},_0x11e633);}[_0x1f6723(0x162)](_0xd836a5,_0x304578,_0x3e8c0a){const _0xedf35a=_0x1f6723;(0x0,_0x257c32['drawFormulaShapeAnimationLayers'])(_0xd836a5,this[_0xedf35a(0x388)],(_0x51fb81,_0x13f93d,_0x16acb3)=>{const _0x162c52=_0xedf35a;this['_drawRichTextLayer'](_0x51fb81,_0x304578,_0x3e8c0a,_0x13f93d,_0x16acb3===_0x162c52(0x35c));});}[_0x1f6723(0x150)](_0x1204a6,_0x43ef59,_0x4fb523,_0x1f2e41,_0x394eb0){const _0x27ac54=_0x1f6723;let _0x571a71=this[_0x27ac54(0x236)][_0x27ac54(0x48e)];if(!_0x43ef59[_0x27ac54(0x2bc)]||!_0x571a71){_0x571a71||console[_0x27ac54(0x405)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0xd79788=(0x0,_0x257c32[_0x27ac54(0x415)])(_0x43ef59[_0x27ac54(0x2bc)]);if(!_0xd79788)return;let _0x39026a=_0xd79788['doc'];if(!_0x39026a)return;let _0x161d56=(0x0,_0x198678[_0x27ac54(0x29f)])(_0x39026a,_0x1f2e41),_0x487302=_0xd79788['va']??_0x179bf7[_0x27ac54(0x3c8)]['TOP'],_0x4c6178=_0xd79788['ha']??_0x179bf7[_0x27ac54(0x1f9)][_0x27ac54(0x410)],_0x49108d=_0x5a61c0(this[_0x27ac54(0x236)][_0x27ac54(0x39a)]['getShapeData'](),_0x43ef59,_0x161d56),_0x33c117=_0x43ef59[_0x27ac54(0x220)],_0x294f06=(0x0,_0x257c32['prepareShapeTextDocumentData'])(_0x161d56,{'isHorizontal':_0x33c117!==!0x1,'textRect':_0x4fb523,'verticalAlign':_0x487302,'horizontalAlign':_0x4c6178,'wrapStrategy':_0x49108d[_0x27ac54(0x433)]}),_0x25068c=new _0x179bf7['DocumentDataModel'](_0x294f06),_0x3deb39=new _0x1126ec[(_0x27ac54(0x33e))](_0x25068c),_0x9e2aff=_0x1126ec[_0x27ac54(0x3f7)][_0x27ac54(0x38c)](_0x3deb39,_0x571a71);_0x9e2aff[_0x27ac54(0x129)]();let _0x225fe4=_0x9e2aff[_0x27ac54(0x409)]()['actualHeight'],_0x1be888=(0x0,_0x257c32['resolveShapeTextDocumentRenderLayout'])({'contentHeight':_0x225fe4,'verticalAlign':_0x487302,'viewportHeight':_0x4fb523[_0x27ac54(0x3a9)]});_0x25068c[_0x27ac54(0x25a)]({'pageSize':{'width':_0x33c117===!0x1?_0x4fb523[_0x27ac54(0x3a9)]:_0x4fb523['width'],'height':(0x0,_0x257c32['resolveShapeTextDocumentPageHeight'])(_0x161d56,_0x1be888[_0x27ac54(0x434)])}}),_0x25068c[_0x27ac54(0x2c4)]({'t':_0x1be888[_0x27ac54(0x13e)]}),_0x9e2aff[_0x27ac54(0x129)]();let _0x5e189e=new _0x1126ec[(_0x27ac54(0x19a))](_0x27ac54(0x30e)+this[_0x27ac54(0x377)],_0x9e2aff,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x27ac54(0x402)](!0x0)});_0x5e189e[_0x27ac54(0x445)](_0x4fb523['width'],_0x1be888['contentHeight']),_0x1204a6['save'](),_0x1204a6[_0x27ac54(0x3bc)](_0x4fb523[_0x27ac54(0x3ec)],_0x4fb523[_0x27ac54(0x130)]),_0x49108d[_0x27ac54(0x454)]&&(_0x1204a6[_0x27ac54(0x1f5)](),_0x1204a6[_0x27ac54(0x4b5)](0x0,_0x1be888[_0x27ac54(0x374)],_0x4fb523['width'],_0x1be888[_0x27ac54(0x39d)]),_0x1204a6[_0x27ac54(0x454)]()),_0x1be888[_0x27ac54(0x27f)]&&_0x1204a6[_0x27ac54(0x3bc)](0x0,_0x1be888[_0x27ac54(0x27f)]),_0x5e189e[_0x27ac54(0x2c5)](_0x1204a6),_0x394eb0&&(this[_0x27ac54(0x3c2)]=(0x0,_0x257c32['createShapeTextHyperLinkRegions'])(_0x5e189e,{'left':_0x4fb523[_0x27ac54(0x3ec)],'top':_0x4fb523['top']+_0x1be888[_0x27ac54(0x27f)]},_0x49108d[_0x27ac54(0x454)]?{'left':_0x4fb523[_0x27ac54(0x3ec)],'right':_0x4fb523['left']+_0x4fb523['width'],'top':_0x4fb523[_0x27ac54(0x130)]+_0x1be888[_0x27ac54(0x374)],'bottom':_0x4fb523[_0x27ac54(0x130)]+_0x1be888['clipTop']+_0x1be888['clipHeight']}:void 0x0)),_0x1204a6[_0x27ac54(0x485)](),_0x5e189e[_0x27ac54(0x2ba)](),_0x9e2aff[_0x27ac54(0x2ba)](),_0x3deb39[_0x27ac54(0x2ba)](),_0x25068c[_0x27ac54(0x2ba)]();}[_0x1f6723(0x2b8)](_0x8093c1,_0x54b28c,_0x36ecdc=!0x1){const _0x5d6aa2=_0x1f6723;if(!this['visible'])return this[_0x5d6aa2(0x402)](!0x1),this;let {width:_0x79363a,height:_0x45c8fb,left:_0xf9e69f,top:_0x9498ef}=this,_0x5de6a4=this[_0x5d6aa2(0x3b9)]();if(_0x79363a=_0x5de6a4[_0x5d6aa2(0x258)],_0x45c8fb=_0x5de6a4['height'],_0xf9e69f=_0x5de6a4[_0x5d6aa2(0x3ec)],_0x9498ef=_0x5de6a4[_0x5d6aa2(0x130)],this['isRender'](_0x54b28c)){let {top:_0x1d9d0d,left:_0x5ae0da,bottom:_0x55800a,right:_0x4a0c46}=_0x54b28c[_0x5d6aa2(0x3da)];if(_0x79363a+this[_0x5d6aa2(0x366)]+_0xf9e69f<_0x5ae0da||_0x4a0c46<_0xf9e69f||_0x45c8fb+this['strokeWidth']+_0x9498ef<_0x1d9d0d||_0x55800a<_0x9498ef)return this;}let _0x1ee40a=_0xf9e69f+_0x79363a/0x2,_0x1b6257=_0x9498ef+_0x45c8fb/0x2,_0x94b000=this['transform'][_0x5d6aa2(0x1c1)]();if(this[_0x5d6aa2(0x236)][_0x5d6aa2(0x331)]){let _0x2693ed=this['getState'](),_0x73ccf9=new _0x1126ec[(_0x5d6aa2(0x46e))]();_0x73ccf9['composeMatrix']({..._0x2693ed}),_0x94b000=_0x73ccf9[_0x5d6aa2(0x1c1)]();}return _0x8093c1[_0x5d6aa2(0x4aa)](),this[_0x5d6aa2(0x236)][_0x5d6aa2(0x39a)][_0x5d6aa2(0x343)]===!0x0||_0x8093c1['transform'](_0x94b000[0x0],_0x94b000[0x1],_0x94b000[0x2],_0x94b000[0x3],_0x1ee40a,_0x1b6257),this[_0x5d6aa2(0x1d5)](_0x8093c1,_0x54b28c,_0x79363a,_0x45c8fb),_0x8093c1[_0x5d6aa2(0x485)](),this['makeDirty'](!0x1),this;}[_0x1f6723(0x2a4)](_0x19cb9f){const _0x5c4f2e=_0x1f6723;let {left:_0x41df11,top:_0x1c2b6e,width:_0x2c526c,height:_0x249a56}=this['getRealBound'](),_0x5c08bd=this['transform'][_0x5c4f2e(0x1c1)](),_0x370632=_0x41df11+_0x2c526c/0x2,_0x34291f=_0x1c2b6e+_0x249a56/0x2,_0x3489a9=new _0x1126ec[(_0x5c4f2e(0x46e))]([_0x5c08bd[0x0],_0x5c08bd[0x1],_0x5c08bd[0x2],_0x5c08bd[0x3],_0x370632,_0x34291f]),_0x2c4948=this[_0x5c4f2e(0x21c)]();return(this['isInGroup']&&(_0x2c4948==null?void 0x0:_0x2c4948['classType'])===_0x1126ec[_0x5c4f2e(0x394)][_0x5c4f2e(0x16f)]?_0x2c4948[_0x5c4f2e(0x44e)]['multiply'](_0x3489a9):_0x3489a9)[_0x5c4f2e(0x167)]()[_0x5c4f2e(0x1df)](_0x19cb9f);}[_0x1f6723(0x2d4)](_0x3e422c){const _0x3080d4=_0x1f6723;let {left:_0xded83,top:_0x58113a,width:_0x829b27,height:_0x3ebebf}=this[_0x3080d4(0x3b9)](),_0x250c83=_0xded83+_0x829b27/0x2,_0xe16a93=_0x58113a+_0x3ebebf/0x2,_0x6fd8e7=this[_0x3080d4(0x182)][_0x3080d4(0x1c1)](),_0x327ceb=new _0x1126ec[(_0x3080d4(0x46e))]([_0x6fd8e7[0x0],_0x6fd8e7[0x1],_0x6fd8e7[0x2],_0x6fd8e7[0x3],_0x250c83,_0xe16a93]),_0x3480cc=this[_0x3080d4(0x21c)](),_0x46caf4=(this[_0x3080d4(0x204)]&&(_0x3480cc==null?void 0x0:_0x3480cc[_0x3080d4(0x1fd)])===_0x1126ec[_0x3080d4(0x394)][_0x3080d4(0x16f)]?_0x3480cc[_0x3080d4(0x44e)][_0x3080d4(0x3d2)](_0x327ceb):_0x327ceb)[_0x3080d4(0x167)]()['applyPoint'](_0x3e422c),_0x3e6921=_0x829b27/0x2,_0x31c9b3=_0x3ebebf/0x2,_0x3f562b=this[_0x3080d4(0x236)][_0x3080d4(0x39a)];return _0x3f562b&&_0x3f562b['isLineShape']()?_0x3f562b['isHitLine'](_0x46caf4['x'],_0x46caf4['y'],_0x829b27,_0x3ebebf):_0x46caf4['x']>=-_0x3e6921-this[_0x3080d4(0x366)]/0x2&&_0x46caf4['x']<=_0x3e6921+this[_0x3080d4(0x366)]/0x2&&_0x46caf4['y']>=-_0x31c9b3-this[_0x3080d4(0x366)]/0x2&&_0x46caf4['y']<=_0x31c9b3+this[_0x3080d4(0x366)]/0x2;}[_0x1f6723(0x2ba)](){const _0x4afa4a=_0x1f6723;this[_0x4afa4a(0x388)][_0x4afa4a(0x2ba)](),this['_props'][_0x4afa4a(0x39a)]=null,super['dispose']();}};let _0x32a51d=class extends _0x179bf7['Disposable']{constructor(_0x44e7f9,_0x501c16,_0x238ecd,_0x2b96fc){const _0x29bec0=_0x1f6723;super(),this['_context']=_0x44e7f9,this[_0x29bec0(0x41e)]=_0x501c16,this[_0x29bec0(0x4ae)]=_0x238ecd,this[_0x29bec0(0x213)]=_0x2b96fc,_0x6a547(this,_0x29bec0(0x360),null),_0x6a547(this,_0x29bec0(0x42d),null),_0x6a547(this,_0x29bec0(0x3cf),null),_0x6a547(this,'_activeShapeAdjustPointList',void 0x0),_0x6a547(this,_0x29bec0(0x11d),[]),_0x6a547(this,_0x29bec0(0x118),0x0),_0x6a547(this,_0x29bec0(0x24a),0x0),_0x6a547(this,'_baseShapeWidth',0x0),_0x6a547(this,_0x29bec0(0x218),0x0),_0x6a547(this,_0x29bec0(0x3ed),!0x1),_0x6a547(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x6a547(this,_0x29bec0(0x17d),void 0x0),_0x6a547(this,_0x29bec0(0x23a),void 0x0),_0x6a547(this,_0x29bec0(0x152),void 0x0),_0x6a547(this,_0x29bec0(0x36c),void 0x0),this[_0x29bec0(0x49c)](),this[_0x29bec0(0x11a)]();}[_0x1f6723(0x15f)](){const _0x1de2ed=_0x1f6723;this[_0x1de2ed(0x486)]();}[_0x1f6723(0x412)](){const _0x2700db=_0x1f6723;this[_0x2700db(0x24f)](!0x0);}[_0x1f6723(0x1da)](_0x3e386b,_0x64f0a1,_0x3c704a){const _0x38385d=_0x1f6723;var _0x55936f;return(_0x55936f=this[_0x38385d(0x4ae)][_0x38385d(0x21b)](_0x3e386b,_0x64f0a1,_0x3c704a))==null?void 0x0:_0x55936f[_0x38385d(0x38b)]();}[_0x1f6723(0x275)](_0x27dea9,_0xc78acc,_0x368385,_0x5368a6){const _0x50bf01=_0x1f6723;var _0x5db0e0;return(_0x5db0e0=this['_docsShapeService'][_0x50bf01(0x21b)](_0x27dea9,_0xc78acc,_0x368385))==null?void 0x0:_0x5db0e0[_0x50bf01(0x475)](_0x5368a6);}[_0x1f6723(0x464)](){const _0xa1181f=_0x1f6723;return this[_0xa1181f(0x42d)]===null||this[_0xa1181f(0x3cf)]===null||this[_0xa1181f(0x360)]===null?null:this['_drawingManagerService'][_0xa1181f(0x235)]({'unitId':this[_0xa1181f(0x42d)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']})??null;}[_0x1f6723(0x1b0)](_0x366cc1){const _0x218f1c=_0x1f6723;if(this[_0x218f1c(0x42d)]===null||this[_0x218f1c(0x3cf)]===null||this['_activeShapeId']===null)return null;let _0x2e4bce=(0x0,_0x567d02[_0x218f1c(0x1e8)])({'unitId':this[_0x218f1c(0x42d)],'subUnitId':this[_0x218f1c(0x3cf)],'drawingId':this[_0x218f1c(0x360)]}),_0x2d02e7=_0x366cc1['getObjectIncludeInGroup'](_0x2e4bce);return _0x2d02e7 instanceof _0x229152?_0x2d02e7:null;}[_0x1f6723(0x295)](_0x585789=!0x1){const _0x4c2538=_0x1f6723;if(this[_0x4c2538(0x42d)]===null||this[_0x4c2538(0x3cf)]===null||this[_0x4c2538(0x360)]===null)return;let _0x3ee9e9=this[_0x4c2538(0x464)]();if((_0x3ee9e9==null?void 0x0:_0x3ee9e9[_0x4c2538(0x31a)])!==_0x179bf7[_0x4c2538(0x121)][_0x4c2538(0x29c)]||!_0x3ee9e9[_0x4c2538(0x182)])return;let _0x50e07e=this[_0x4c2538(0x4ae)][_0x4c2538(0x21b)](this[_0x4c2538(0x42d)],this[_0x4c2538(0x3cf)],this[_0x4c2538(0x360)]);if(!_0x50e07e||_0x50e07e[_0x4c2538(0x368)]())return;let {left:_0x3a77f3=0x0,top:_0x18c910=0x0,width:_0xa89cd=0x0,height:_0x1e6cad=0x0,flipX:_0x342a8b,flipY:_0x3f1080,angle:_0x4b42cf=0x0}=_0x3ee9e9['transform'];(_0x585789||!this[_0x4c2538(0x1b6)])&&(_0x50e07e[_0x4c2538(0x353)]({'width':_0xa89cd,'height':_0x1e6cad}),this['_activeShapeAdjustPointList']=_0x50e07e['getDrawingPoints']());let _0x4edd25=this[_0x4c2538(0x1b6)];if(!(_0x4edd25!=null&&_0x4edd25[_0x4c2538(0x231)]))return;let {scene:_0x449bab}=this[_0x4c2538(0x364)];for(let _0x211ece of _0x4edd25){let _0x1f928e=this['_toVisualAdjustPoint'](_0x211ece,_0xa89cd,_0x1e6cad,!!_0x342a8b,!!_0x3f1080,_0x4b42cf);this['_addShapeAdjustControl'](_0x449bab,_0x1f928e,_0x1f928e[_0x4c2538(0x145)],_0x3a77f3,_0x18c910,this[_0x4c2538(0x42d)],this[_0x4c2538(0x3cf)]);}}['_toVisualAdjustPoint'](_0x5bce4c,_0x299f12,_0x2e2cb6,_0x5826e6,_0x2b49a8,_0x44351a){const _0x456ccd=_0x1f6723;let _0x5650f0=_0x5bce4c['x'],_0x51f5f0=_0x5bce4c['y'];if(_0x5826e6&&(_0x5650f0=_0x299f12-_0x5650f0),_0x2b49a8&&(_0x51f5f0=_0x2e2cb6-_0x51f5f0),_0x44351a!==0x0){let _0x353df1=_0x299f12/0x2,_0x13058f=_0x2e2cb6/0x2,_0x108395=_0x44351a*Math['PI']/0xb4,_0x31eb3b=Math[_0x456ccd(0x269)](_0x108395),_0x7fc737=Math[_0x456ccd(0x466)](_0x108395),_0x51eadb=_0x5650f0-_0x353df1,_0x2bbe6b=_0x51f5f0-_0x13058f;_0x5650f0=_0x353df1+(_0x51eadb*_0x31eb3b-_0x2bbe6b*_0x7fc737),_0x51f5f0=_0x13058f+(_0x51eadb*_0x7fc737+_0x2bbe6b*_0x31eb3b);}return{'x':_0x5650f0,'y':_0x51f5f0,'adjName':_0x5bce4c[_0x456ccd(0x145)]};}[_0x1f6723(0x24f)](_0x2b5e7e=!0x1){const _0x1f1ce1=_0x1f6723;_0x2b5e7e&&this[_0x1f1ce1(0x486)](),this[_0x1f1ce1(0x295)](_0x2b5e7e);}[_0x1f6723(0x3ef)](_0x24e1a8,_0x48ffc2,_0x2be09c,_0x31503d,_0x49e8e9,_0x300e2f,_0x259abe){const _0x5446af=_0x1f6723;if(!this[_0x5446af(0x360)])return;let _0x1a303e='doc-shape-adjust-point-'+this[_0x5446af(0x360)]+'-'+_0x2be09c,_0x591b9d=_0x24e1a8[_0x5446af(0x457)](_0x1a303e);if(_0x591b9d){_0x591b9d[_0x5446af(0x18d)]({'left':_0x48ffc2['x']+_0x31503d-_0x2bd245['ShapeDefaultConfig'][_0x5446af(0x186)],'top':_0x48ffc2['y']+_0x49e8e9-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]}),_0x591b9d[_0x5446af(0x402)](!0x0);return;}let _0x577668=new _0x218868(_0x1a303e,{'left':_0x48ffc2['x']+_0x31503d-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)],'top':_0x48ffc2['y']+_0x49e8e9-_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)],'adjName':_0x2be09c,'shapeId':this[_0x5446af(0x360)],'unitId':_0x300e2f,'subUnitId':_0x259abe,'width':_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]+0x8,'height':_0x2bd245[_0x5446af(0x490)][_0x5446af(0x186)]+0x8,'zIndex':_0x1126ec[_0x5446af(0x12a)]+0x1,'evented':!0x0});this[_0x5446af(0x11d)]['push'](_0x577668),this[_0x5446af(0x2bb)](_0x577668,_0x24e1a8,_0x2be09c),_0x24e1a8['addObject'](_0x577668,_0x1126ec[_0x5446af(0x12a)]+0x1);}[_0x1f6723(0x486)](){const _0x34030f=_0x1f6723;this['_adjustPointObjects']['forEach'](_0x42fdb6=>_0x42fdb6['dispose']()),this[_0x34030f(0x11d)]=[];}[_0x1f6723(0x420)](){const _0x5c2894=_0x1f6723;this[_0x5c2894(0x295)]();}['_toScenePoint'](_0x191eaf,_0x10562b,_0x3e0bf7){const _0xe5e29c=_0x1f6723;let _0xe911fc=_0x1126ec[_0xe5e29c(0x17b)][_0xe5e29c(0x443)]([_0x10562b,_0x3e0bf7]),_0x484223=_0x191eaf['getActiveViewportByCoord'](_0xe911fc)??_0x191eaf[_0xe5e29c(0x25e)]()[0x0];return(_0x484223==null?void 0x0:_0x484223['transformVector2SceneCoord'](_0xe911fc))??_0xe911fc;}['_attachAdjustEvent'](_0x2ab867,_0x5572da,_0x4f6dd0){const _0x5bda3b=_0x1f6723;this[_0x5bda3b(0x18f)]((0x0,_0x179bf7['toDisposable'])(_0x2ab867['onPointerDown$'][_0x5bda3b(0x176)]((_0x47f148,_0x5db022)=>{const _0x4625c6=_0x5bda3b;var _0x2089f2;let _0x5cff03=_0x2ab867[_0x4625c6(0x256)]();this[_0x4625c6(0x17d)]=this[_0x4625c6(0x275)](_0x5cff03[_0x4625c6(0x2aa)],_0x5cff03[_0x4625c6(0x189)],_0x5cff03[_0x4625c6(0x140)],_0x4f6dd0),this[_0x4625c6(0x23a)]=this['_docsShapeService'][_0x4625c6(0x21b)](_0x5cff03[_0x4625c6(0x2aa)],_0x5cff03[_0x4625c6(0x189)],_0x5cff03[_0x4625c6(0x140)]);let _0x4cf49d=this[_0x4625c6(0x464)](),_0x952bfa=_0x4cf49d==null?void 0x0:_0x4cf49d[_0x4625c6(0x182)];if(!_0x4cf49d||!_0x952bfa||!this['_activeShapeModel'])return;this[_0x4625c6(0x118)]=_0x952bfa[_0x4625c6(0x3ec)]||0x0,this['_baseShapeTop']=_0x952bfa[_0x4625c6(0x130)]||0x0,this[_0x4625c6(0x2f9)]=_0x952bfa[_0x4625c6(0x258)]||0x0,this[_0x4625c6(0x218)]=_0x952bfa['height']||0x0;let _0x267e4b=!!_0x952bfa[_0x4625c6(0x3c9)],_0x5df443=!!_0x952bfa[_0x4625c6(0x36f)],_0x1abf8e=_0x952bfa[_0x4625c6(0x38f)]||0x0,_0x5b9864={...((_0x2089f2=this['_activeAdjustInfo'])==null?void 0x0:_0x2089f2['currentAdjustValues'])??{}};this[_0x4625c6(0x3ed)]=!0x0,_0x5572da['disableObjectsEvent'](),this['_adjHandlerPointerMove']=_0x5572da[_0x4625c6(0x148)][_0x4625c6(0x176)]((_0x4ed1f3,_0x3180d4)=>{const _0x774295=_0x4625c6;var _0x1aa4ca;if(!this[_0x774295(0x3ed)]||!this[_0x774295(0x23a)]||!this[_0x774295(0x17d)])return;_0x5572da[_0x774295(0x30c)](),_0x5572da['setCursor'](_0x1126ec[_0x774295(0x2fe)]['CROSSHAIR']);let _0x3d4a5e=this['_toScenePoint'](_0x5572da,_0x4ed1f3[_0x774295(0x392)],_0x4ed1f3[_0x774295(0x287)]),_0x32b5d3=_0x3d4a5e['x']-this[_0x774295(0x118)],_0x24f48e=_0x3d4a5e['y']-this['_baseShapeTop'];if(_0x1abf8e!==0x0){let _0x58596e=this[_0x774295(0x2f9)]/0x2,_0x17aa29=this[_0x774295(0x218)]/0x2,_0x50fe2f=_0x1abf8e*Math['PI']/0xb4,_0x4d11e5=Math[_0x774295(0x269)](_0x50fe2f),_0x23a97b=Math['sin'](_0x50fe2f),_0x596bb1=_0x32b5d3-_0x58596e,_0x3fe0af=_0x24f48e-_0x17aa29;_0x32b5d3=_0x58596e+(_0x596bb1*_0x4d11e5+_0x3fe0af*_0x23a97b),_0x24f48e=_0x17aa29+(-_0x596bb1*_0x23a97b+_0x3fe0af*_0x4d11e5);}_0x267e4b&&(_0x32b5d3=this[_0x774295(0x2f9)]-_0x32b5d3),_0x5df443&&(_0x24f48e=this['_baseShapeHeight']-_0x24f48e);let _0x45f023={'left':0x0,'top':0x0,'width':this[_0x774295(0x2f9)],'height':this[_0x774295(0x218)]},_0x14c5d5=this[_0x774295(0x23a)][_0x774295(0x3d9)](_0x45f023,{'x':_0x32b5d3,'y':_0x24f48e},this[_0x774295(0x17d)],_0x267e4b,_0x5df443);if(Object['keys'](_0x14c5d5)[_0x774295(0x231)]!==0x0){for(let [_0x4571b8,_0x5b50b1]of Object[_0x774295(0x4b3)](_0x14c5d5))this[_0x774295(0x23a)]['setAdjustValueByName'](_0x4571b8,_0x5b50b1);this['_activeShapeModel'][_0x774295(0x353)]({'width':this['_baseShapeWidth'],'height':this['_baseShapeHeight']}),(_0x1aa4ca=this[_0x774295(0x1b0)](_0x5572da))==null||_0x1aa4ca[_0x774295(0x402)](!0x0),this[_0x774295(0x1b6)]=this[_0x774295(0x1da)](_0x5cff03[_0x774295(0x2aa)],_0x5cff03[_0x774295(0x189)],_0x5cff03[_0x774295(0x140)]),this['_updateAdjustControlPositions'](),_0x3180d4[_0x774295(0x147)]();}}),this[_0x4625c6(0x36c)]=_0x5572da[_0x4625c6(0x40e)][_0x4625c6(0x176)]((_0x5db8e0,_0x36ed19)=>{const _0x40224a=_0x4625c6;var _0x26a226,_0x3b225d;(_0x26a226=this[_0x40224a(0x152)])==null||_0x26a226['unsubscribe'](),(_0x3b225d=this[_0x40224a(0x36c)])==null||_0x3b225d[_0x40224a(0x1d4)](),_0x5572da[_0x40224a(0x453)]();let _0x4ed696=this[_0x40224a(0x17d)];if(_0x4ed696&&this[_0x40224a(0x23a)]){let _0x3a1361={};for(let _0x5754ec of Object[_0x40224a(0x313)](_0x4ed696[_0x40224a(0x2d6)])){let _0x5ed792=this['_activeShapeModel']['getAdjustValueByName'](_0x5754ec);_0x5ed792!==void 0x0&&(_0x3a1361[_0x5754ec]=_0x5ed792);}Object['keys'](_0x3a1361)[_0x40224a(0x231)]>0x0&&_0x5a93d6(this['_commandService'],_0x5cff03[_0x40224a(0x2aa)],_0x5cff03['subUnitId'],_0x5cff03[_0x40224a(0x140)],{'oldShapeData':{'adjustValues':_0x5b9864}},{'adjustValues':_0x3a1361});}this[_0x40224a(0x17d)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x40224a(0x3ed)]=!0x1,_0x5572da[_0x40224a(0x1eb)](),_0x36ed19[_0x40224a(0x147)]();}),_0x5db022[_0x4625c6(0x147)]();})));}[_0x1f6723(0x11a)](){const _0x3bd907=_0x1f6723;let {scene:_0x45d10c}=this[_0x3bd907(0x364)],_0x534d52=_0x45d10c[_0x3bd907(0x49d)]();this[_0x3bd907(0x18f)](_0x534d52['changeStart$'][_0x3bd907(0x37a)](_0x5b08f4=>{const _0xc95990=_0x3bd907;this[_0xc95990(0x295)](),_0x5b08f4['objects']!==null&&_0x5b08f4[_0xc95990(0x470)][_0xc95990(0x2b5)]===0x1&&_0x5b08f4[_0xc95990(0x470)]['values']()['next']()[_0xc95990(0x442)]instanceof _0x229152&&(this[_0xc95990(0x3ad)]=!0x0);})),this[_0x3bd907(0x18f)](_0x534d52[_0x3bd907(0x4a8)][_0x3bd907(0x37a)](()=>{const _0x123132=_0x3bd907;this[_0x123132(0x3ad)]&&this[_0x123132(0x486)]();})),this[_0x3bd907(0x18f)](_0x45d10c[_0x3bd907(0x40e)][_0x3bd907(0x176)](()=>{const _0x3145a2=_0x3bd907;this[_0x3145a2(0x3ad)]&&(this[_0x3145a2(0x3ad)]=!0x1,this[_0x3145a2(0x295)]());})),this['disposeWithMe'](_0x534d52[_0x3bd907(0x249)][_0x3bd907(0x37a)](()=>{const _0x24cd5c=_0x3bd907;this['_unitId']&&this[_0x24cd5c(0x3cf)]&&this[_0x24cd5c(0x360)]&&(this[_0x24cd5c(0x1b6)]=this[_0x24cd5c(0x1da)](this[_0x24cd5c(0x42d)],this[_0x24cd5c(0x3cf)],this[_0x24cd5c(0x360)]),this[_0x24cd5c(0x420)]());}));}[_0x1f6723(0x49c)](){const _0x2fa6ea=_0x1f6723;this[_0x2fa6ea(0x18f)](this[_0x2fa6ea(0x213)][_0x2fa6ea(0x2e4)](_0x566645=>{const _0x48c74b=_0x2fa6ea;if(_0x566645['id']!==_0x1d4bf7[_0x48c74b(0x34a)]['id'])return;let {unitId:_0x4955df,shapeId:_0x553b87}=_0x566645['params'];_0x4955df===this[_0x48c74b(0x42d)]&&_0x553b87===this[_0x48c74b(0x360)]&&this[_0x48c74b(0x412)]();})),this[_0x2fa6ea(0x18f)](this['_drawingManagerService']['focus$'][_0x2fa6ea(0x37a)](_0x2e8832=>{const _0xff9b50=_0x2fa6ea;if(_0x2e8832[_0xff9b50(0x231)]===0x1){let _0x3875e1=_0x2e8832[0x0],_0x1134ea=this[_0xff9b50(0x41e)]['getDrawingByParam'](_0x3875e1);if((_0x1134ea==null?void 0x0:_0x1134ea[_0xff9b50(0x31a)])===_0x179bf7[_0xff9b50(0x121)][_0xff9b50(0x29c)]){this[_0xff9b50(0x360)]=_0x3875e1[_0xff9b50(0x140)],this[_0xff9b50(0x42d)]=_0x3875e1[_0xff9b50(0x2aa)],this[_0xff9b50(0x3cf)]=_0x3875e1['subUnitId'],this[_0xff9b50(0x1b6)]=this[_0xff9b50(0x1da)](_0x3875e1['unitId'],_0x3875e1[_0xff9b50(0x189)],_0x3875e1[_0xff9b50(0x140)]),this[_0xff9b50(0x486)](),this[_0xff9b50(0x295)]();return;}}this[_0xff9b50(0x360)]=null,this[_0xff9b50(0x1b6)]=void 0x0,this[_0xff9b50(0x42d)]=null,this['_subUnitId']=null,this[_0xff9b50(0x486)]();})),this[_0x2fa6ea(0x18f)]((0x0,_0x5cf427[_0x2fa6ea(0x283)])(this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x151)],this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x2c2)])[_0x2fa6ea(0x37a)](_0x606422=>{const _0x957f7c=_0x2fa6ea;var _0x412b4b;let _0x4e7923=_0x606422[_0x957f7c(0x237)](_0x5c8503=>_0x5c8503[_0x957f7c(0x140)]===this[_0x957f7c(0x360)]&&_0x5c8503['unitId']===this[_0x957f7c(0x42d)]&&_0x5c8503[_0x957f7c(0x189)]===this[_0x957f7c(0x3cf)]);_0x4e7923&&((_0x412b4b=this[_0x957f7c(0x41e)][_0x957f7c(0x235)](_0x4e7923))==null?void 0x0:_0x412b4b[_0x957f7c(0x31a)])===_0x179bf7[_0x957f7c(0x121)][_0x957f7c(0x29c)]&&this[_0x957f7c(0x24f)](!0x0);})),this['disposeWithMe'](this[_0x2fa6ea(0x41e)][_0x2fa6ea(0x45c)][_0x2fa6ea(0x37a)](_0x33e128=>{const _0x4885b4=_0x2fa6ea;for(let _0x225752 of _0x33e128)this['_activeShapeId']===_0x225752[_0x4885b4(0x140)]&&(this[_0x4885b4(0x360)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x4885b4(0x42d)]=null,this[_0x4885b4(0x3cf)]=null,this['_clearShapeAdjustControls']());}));}};_0x32a51d=_0x139e28([_0x23cccd(0x1,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x483)])],_0x32a51d);let _0x1bc893=class extends _0x179bf7['Disposable']{constructor(_0x34d7bd,_0x2732f9){const _0x4dedd3=_0x1f6723;super(),this[_0x4dedd3(0x49a)]=_0x34d7bd,this[_0x4dedd3(0x45e)]=_0x2732f9,_0x6a547(this,_0x4dedd3(0x14d),new _0x5cf427[(_0x4dedd3(0x242))](null)),_0x6a547(this,_0x4dedd3(0x310),this['_editingParams$']['asObservable']()),_0x6a547(this,'_onSavingEditorData$',new _0x5cf427[(_0x4dedd3(0x242))](!0x1)),_0x6a547(this,_0x4dedd3(0x159),this[_0x4dedd3(0x487)][_0x4dedd3(0x223)]()),_0x6a547(this,_0x4dedd3(0x2ec),void 0x0),this[_0x4dedd3(0x18f)](this[_0x4dedd3(0x49a)]['permissionPointUpdate$'][_0x4dedd3(0x37a)](()=>{const _0x551348=_0x4dedd3;let _0x1fc4cd=this[_0x551348(0x1db)]();_0x1fc4cd!=null&&_0x1fc4cd[_0x551348(0x3f9)]&&!this[_0x551348(0x346)](_0x1fc4cd)&&this['setEditing'](null);}));}[_0x1f6723(0x2ba)](){const _0x326c22=_0x1f6723;this[_0x326c22(0x3f5)](),this['_editingParams$']['next'](null),this[_0x326c22(0x14d)][_0x326c22(0x3fc)](),this[_0x326c22(0x487)][_0x326c22(0x431)](!0x1),this[_0x326c22(0x487)][_0x326c22(0x3fc)](),super['dispose']();}[_0x1f6723(0x11e)](_0x4bc9ce){const _0x3a7067=_0x1f6723;(_0x4bc9ce==null||!_0x4bc9ce[_0x3a7067(0x3f9)]||this[_0x3a7067(0x346)](_0x4bc9ce))&&(this[_0x3a7067(0x3f5)](),this[_0x3a7067(0x14d)][_0x3a7067(0x431)](_0x4bc9ce),(_0x4bc9ce==null||_0x4bc9ce['visible']&&this['_onSavingEditorData$'][_0x3a7067(0x4a4)]())&&this[_0x3a7067(0x487)][_0x3a7067(0x431)](!0x1));}[_0x1f6723(0x2ab)](_0x2e504c){this['_onSavingEditorData$']['next'](_0x2e504c);}[_0x1f6723(0x1db)](){const _0x4e454e=_0x1f6723;return this[_0x4e454e(0x14d)][_0x4e454e(0x4a4)]();}[_0x1f6723(0x346)](_0xc89cf9){const _0x3cba86=_0x1f6723;let _0x4aaee5=this['_instanceService'][_0x3cba86(0x259)](_0xc89cf9[_0x3cba86(0x2aa)],_0x179bf7[_0x3cba86(0x42f)][_0x3cba86(0x369)]);if(!_0x4aaee5)return!0x0;let _0x1515ba=(0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x4aaee5,_0xc89cf9[_0x3cba86(0x36e)]);return(0x0,_0x31f1d7[_0x3cba86(0x380)])(this['_permissionService'],_0xc89cf9[_0x3cba86(0x2aa)],[...(0x0,_0x31f1d7[_0x3cba86(0x46a)])(_0x4aaee5,_0x1515ba,'drawing',_0xc89cf9['shapeId']),(0x0,_0x31f1d7['getDocumentEntityPermissionObjectId'])(_0x1515ba,_0x3cba86(0x199),_0xc89cf9[_0x3cba86(0x36e)])]);}[_0x1f6723(0x225)](_0x545203){const _0xd52f06=_0x1f6723;let _0x5602f9=this['getEditing']();_0x5602f9&&this[_0xd52f06(0x2ec)]===void 0x0&&(this[_0xd52f06(0x2ab)](!0x0),this[_0xd52f06(0x2ec)]=requestAnimationFrame(()=>{const _0x10b416=_0xd52f06;this['_completionFrame']=void 0x0,this[_0x10b416(0x1db)]()===_0x5602f9&&this[_0x10b416(0x11e)](null);}));}[_0x1f6723(0x3f5)](){const _0x424958=_0x1f6723;this[_0x424958(0x2ec)]!==void 0x0&&(cancelAnimationFrame(this[_0x424958(0x2ec)]),this[_0x424958(0x2ec)]=void 0x0);}[_0x1f6723(0x1f6)](){const _0x457b8f=_0x1f6723;this[_0x457b8f(0x1db)]()&&this[_0x457b8f(0x11e)](null);}};_0x1bc893=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0x1,_0x179bf7[_0x1f6723(0x18b)])],_0x1bc893);function _0x2ecc1b(_0x5ef87a){const _0x3ae049=_0x1f6723;return _0x5ef87a[_0x3ae049(0x16b)]===!0x0||_0x5ef87a[_0x3ae049(0x16b)]===_0x179bf7[_0x3ae049(0x1d6)][_0x3ae049(0x22f)]||_0x5ef87a[_0x3ae049(0x1a4)]===_0x179bf7[_0x3ae049(0x41d)][_0x3ae049(0x1a1)]&&_0x5ef87a[_0x3ae049(0x18c)]===_0x179bf7['BooleanNumber'][_0x3ae049(0x22f)]?_0x33827d[_0x3ae049(0x297)]-0x1:_0x1126ec['DRAWING_OBJECT_LAYER_INDEX'];}let _0x26cade=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x38fcf4,_0x2106a3,_0x47a3c2,_0x284d9e,_0x1c3418,_0x943273,_0x17e208){const _0x396f2b=_0x1f6723;super(),this['_drawingManagerService']=_0x38fcf4,this[_0x396f2b(0x4ae)]=_0x2106a3,this[_0x396f2b(0x4ac)]=_0x47a3c2,this[_0x396f2b(0x32d)]=_0x284d9e,this[_0x396f2b(0x460)]=_0x1c3418,this['_shapeTextEditingService']=_0x943273,this[_0x396f2b(0x254)]=_0x17e208,_0x6a547(this,_0x396f2b(0x2cc),new Map()),this['disposeWithMe'](this['_shapeFormulaService'][_0x396f2b(0x2df)][_0x396f2b(0x37a)](_0x7e32b1=>{const _0x573a9f=_0x396f2b;var _0x1f7a7e;(_0x1f7a7e=this[_0x573a9f(0x2cc)][_0x573a9f(0x2c6)](this[_0x573a9f(0x202)](_0x7e32b1[_0x573a9f(0x2aa)],_0x7e32b1[_0x573a9f(0x189)],_0x7e32b1[_0x573a9f(0x36e)])))==null||_0x1f7a7e[_0x573a9f(0x32c)](_0x1412d5=>_0x1412d5['setFormulaPresentation'](_0x7e32b1[_0x573a9f(0x322)],_0x7e32b1[_0x573a9f(0x386)]));})),this[_0x396f2b(0x18f)](this[_0x396f2b(0x41e)][_0x396f2b(0x45c)]['subscribe'](_0x7f87cb=>{const _0x5d03a3=_0x396f2b;_0x7f87cb[_0x5d03a3(0x32c)](_0xd1f3ba=>{const _0x2aa52b=_0x5d03a3;this[_0x2aa52b(0x254)][_0x2aa52b(0x2c7)]({'unitId':_0xd1f3ba['unitId'],'subUnitId':_0xd1f3ba[_0x2aa52b(0x189)],'shapeId':_0xd1f3ba[_0x2aa52b(0x140)]}),this[_0x2aa52b(0x2cc)][_0x2aa52b(0x33d)](this[_0x2aa52b(0x202)](_0xd1f3ba[_0x2aa52b(0x2aa)],_0xd1f3ba[_0x2aa52b(0x189)],_0xd1f3ba['drawingId']));});}));}['renderDrawingShape'](_0x416ca5,_0x42f477){const _0x568ef5=_0x1f6723;let {transform:_0x355c8d,drawingType:_0x399579,srcRect:_0x52f38f,prstGeom:_0x34c76c,groupId:_0xb01e2e,unitId:_0xbb863,subUnitId:_0x325681,drawingId:_0x127531,isMultiTransform:_0x429b66,transforms:_0x5eec6f,hidden:_0x17b500,selectable:_0x203e93}=_0x416ca5;if(_0x399579!==_0x179bf7[_0x568ef5(0x121)][_0x568ef5(0x29c)]||!this[_0x568ef5(0x41e)]['getDrawingVisible']()||_0x355c8d==null)return;let _0x338af6=this[_0x568ef5(0x41e)]['getDrawingEditable'](),_0x45267b=_0x429b66&&_0x5eec6f?_0x5eec6f:[_0x355c8d],_0x441215=[];for(let [_0x19ea7d,_0x111223]of _0x45267b[_0x568ef5(0x4b3)]()){let {left:_0x3be6bf,top:_0x31dae8,width:_0x464898,height:_0x4644ea,angle:_0x357d96,flipX:_0x274c2c,flipY:_0x552b34,skewX:_0x49f8d1,skewY:_0x42ba1f}=_0x111223,_0x5bfba9=(0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xbb863,'subUnitId':_0x325681,'drawingId':_0x127531},_0x429b66?_0x19ea7d:void 0x0),_0x4831f2=_0x42f477[_0x568ef5(0x457)](_0x5bfba9);if(_0x4831f2!=null){let _0x56a8c3={'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531};_0x4831f2 instanceof _0x229152&&this[_0x568ef5(0x2a1)](_0x4831f2,_0x56a8c3),_0x4831f2[_0x568ef5(0x18d)]({'left':_0x3be6bf,'top':_0x31dae8,'width':_0x464898,'height':_0x4644ea,'angle':_0x357d96,'flipX':_0x274c2c,'flipY':_0x552b34,'skewX':_0x49f8d1,'skewY':_0x42ba1f});continue;}let _0x5c9802=this['_drawingManagerService']['getDrawingOrder'](_0xbb863,_0x325681),_0x4bd4e5=_0x5c9802[_0x568ef5(0x35d)](_0x127531);if(_0x42f477['getObjectIncludeInGroup'](_0x5bfba9)||!this[_0x568ef5(0x41e)]['getDrawingVisible']())continue;let _0x17aecb=this[_0x568ef5(0x4ae)][_0x568ef5(0x21b)](_0xbb863,_0x325681,_0x127531);if(!_0x17aecb)continue;let _0xc6aaca=(0x0,_0x2bd245[_0x568ef5(0x452)])(_0x17aecb['getShapeType']())?{..._0x257c32[_0x568ef5(0x25d)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x257c32[_0x568ef5(0x25d)],_0x58dbc0=_0x17aecb[_0x568ef5(0x4a3)]()[_0x568ef5(0x441)],_0x1e39ff={'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531};_0x58dbc0&&this['_shapeFormulaService'][_0x568ef5(0x160)](_0x1e39ff,_0x58dbc0);let _0x4fe5a2=new _0x229152(_0x5bfba9,{..._0x111223,'zIndex':_0x4bd4e5===-0x1?_0x5c9802[_0x568ef5(0x231)]-0x1:_0x4bd4e5,'shapeModel':_0x17aecb,'localeService':this[_0x568ef5(0x4ac)],'shapeId':_0x127531,'unitId':_0xbb863,'subUnitId':_0x325681,'visible':_0x17b500!==!0x0,'evented':_0x203e93!==!0x1,'formulaPresentation':_0x58dbc0?this[_0x568ef5(0x254)][_0x568ef5(0x378)](_0x1e39ff):void 0x0,'animateFormulaPresentation':(_0x58dbc0==null?void 0x0:_0x58dbc0['animationEnabled'])!==!0x1,'transformerConfig':_0xc6aaca});if(_0x58dbc0){let _0x2dc2e5=this['_formulaKey'](_0xbb863,_0x325681,_0x127531),_0x127378=this[_0x568ef5(0x2cc)][_0x568ef5(0x2c6)](_0x2dc2e5)??new Set();_0x127378['add'](_0x4fe5a2),this[_0x568ef5(0x2cc)]['set'](_0x2dc2e5,_0x127378);}this[_0x568ef5(0x18f)]((0x0,_0x179bf7[_0x568ef5(0x4a5)])(_0x4fe5a2[_0x568ef5(0x399)]['subscribeEvent']((_0x12cc1f,_0x855ed0)=>{const _0x3ee8e2=_0x568ef5;_0x17aecb[_0x3ee8e2(0x368)]()||_0x58dbc0||(this[_0x3ee8e2(0x16e)][_0x3ee8e2(0x11e)]({'visible':!0x0,'unitId':_0xbb863,'subUnitId':_0x325681,'shapeId':_0x127531,'shapeKey':_0x4fe5a2[_0x3ee8e2(0x377)]}),_0x855ed0[_0x3ee8e2(0x147)]());}))),_0x42f477['addObject'](_0x4fe5a2,_0x2ecc1b(_0x416ca5)),_0x338af6&&_0x42f477['attachTransformerTo'](_0x4fe5a2),_0xb01e2e&&(0x0,_0x5656f0[_0x568ef5(0x251)])({'drawingId':_0xb01e2e,'unitId':_0xbb863,'subUnitId':_0x325681},_0x4fe5a2,_0x42f477,this['_drawingManagerService'],_0x429b66?_0x19ea7d:void 0x0),_0x34c76c!=null&&_0x4fe5a2[_0x568ef5(0x4a0)](_0x34c76c),_0x52f38f!=null&&_0x4fe5a2[_0x568ef5(0x153)](_0x52f38f),this[_0x568ef5(0x42c)](_0x4fe5a2,_0x17aecb['getShapeData']()),_0x441215[_0x568ef5(0x45d)](_0x4fe5a2);}return _0x441215;}[_0x1f6723(0x202)](_0x39f478,_0x2c197c,_0x215446){return _0x39f478+'\x00'+_0x2c197c+'\x00'+_0x215446;}[_0x1f6723(0x2a1)](_0x2fada0,_0x4878c1){const _0x30e6a3=_0x1f6723;let _0x594f6a=this[_0x30e6a3(0x4ae)][_0x30e6a3(0x21b)](_0x4878c1[_0x30e6a3(0x2aa)],_0x4878c1['subUnitId'],_0x4878c1[_0x30e6a3(0x36e)]),_0x5eb27a=_0x594f6a==null?void 0x0:_0x594f6a[_0x30e6a3(0x4a3)]()[_0x30e6a3(0x441)],_0x16eafb=this['_formulaKey'](_0x4878c1['unitId'],_0x4878c1[_0x30e6a3(0x189)],_0x4878c1[_0x30e6a3(0x36e)]);if(_0x5eb27a){this[_0x30e6a3(0x254)][_0x30e6a3(0x160)](_0x4878c1,_0x5eb27a);let _0x1baaae=this[_0x30e6a3(0x2cc)][_0x30e6a3(0x2c6)](_0x16eafb)??new Set();_0x1baaae[_0x30e6a3(0x480)](_0x2fada0),this[_0x30e6a3(0x2cc)][_0x30e6a3(0x21a)](_0x16eafb,_0x1baaae);}else{var _0x140597;this[_0x30e6a3(0x254)][_0x30e6a3(0x2c7)](_0x4878c1),(_0x140597=this[_0x30e6a3(0x2cc)][_0x30e6a3(0x2c6)](_0x16eafb))==null||_0x140597[_0x30e6a3(0x33d)](_0x2fada0);}_0x2fada0['setFormulaPresentation'](_0x5eb27a?this[_0x30e6a3(0x254)][_0x30e6a3(0x378)](_0x4878c1):void 0x0,(_0x5eb27a==null?void 0x0:_0x5eb27a[_0x30e6a3(0x386)])!==!0x1);}[_0x1f6723(0x467)](_0x4b8ceb){const _0x1fea88=_0x1f6723;let _0x3fbf6d=_0x4b8ceb[_0x1fea88(0x39a)][_0x1fea88(0x4a3)](),_0xe56885=_0x3fbf6d['fill'];if(!_0xe56885||_0xe56885['fillType']!==_0x2bd245[_0x1fea88(0x436)][_0x1fea88(0x2a2)]||!_0xe56885[_0x1fea88(0x21f)]){_0x4b8ceb[_0x1fea88(0x482)](void 0x0);return;}this[_0x1fea88(0x42c)](_0x4b8ceb,_0x3fbf6d);}['_loadShapePictureFill'](_0x413d67,_0x1c0f80){const _0x49d926=_0x1f6723;let _0x318908=_0x1c0f80['fill'];if(!_0x318908||_0x318908['fillType']!==_0x2bd245['ShapeFillEnum']['PictureFill']||!_0x318908[_0x49d926(0x21f)])return;let _0x533b1c=_0x318908['fillImageSource'],_0x8c14af=_0x318908['fillImageSourceType']??_0x2bd245[_0x49d926(0x154)]['URL'],_0x3478e9=this[_0x49d926(0x32d)][_0x49d926(0x1ca)](_0x533b1c,_0x8c14af);if(_0x3478e9){_0x413d67[_0x49d926(0x482)](_0x3478e9);return;}this[_0x49d926(0x3d3)](_0x413d67,_0x533b1c,_0x8c14af);}async[_0x1f6723(0x3d3)](_0x571350,_0x5ca3b9,_0x23a4f1){const _0x28273c=_0x1f6723;let _0x3d21c9;try{if(_0x23a4f1===_0x2bd245[_0x28273c(0x154)][_0x28273c(0x43f)])_0x3d21c9=await this[_0x28273c(0x32d)][_0x28273c(0x27d)](_0x5ca3b9);else{if(_0x23a4f1===_0x2bd245[_0x28273c(0x154)][_0x28273c(0x1d9)])try{_0x3d21c9=await this[_0x28273c(0x460)]['getImage'](_0x5ca3b9);}catch{_0x3d21c9=_0x5ca3b9;}else _0x3d21c9=_0x5ca3b9;}}catch(_0x4600ce){console['error']('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x4600ce);return;}let _0x1a90d4=new window['Image']();_0x1a90d4[_0x28273c(0x2e6)]=()=>{const _0x42a7c2=_0x28273c;this[_0x42a7c2(0x32d)][_0x42a7c2(0x2a6)](_0x5ca3b9,_0x23a4f1,_0x1a90d4),_0x571350[_0x42a7c2(0x482)](_0x1a90d4);},_0x1a90d4[_0x28273c(0x318)]=()=>{const _0x28dec5=_0x28273c;console[_0x28dec5(0x45a)](_0x28dec5(0x1f7),_0x5ca3b9);},_0x1a90d4[_0x28273c(0x142)]=_0x3d21c9;}};_0x26cade=_0x139e28([_0x23cccd(0x0,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x2,(0x0,_0x179bf7['Inject'])(_0x179bf7['LocaleService'])),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x127)]),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x1c0)]),_0x23cccd(0x5,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0x6,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x198678[_0x1f6723(0x358)]))],_0x26cade);let _0x36caba=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x7b9c7e,_0x33b36b,_0x11554f){const _0x4bcf77=_0x1f6723;super(),this[_0x4bcf77(0x40b)]=_0x7b9c7e,this[_0x4bcf77(0x41e)]=_0x33b36b,this[_0x4bcf77(0x3a2)]=_0x11554f,this[_0x4bcf77(0x2dd)]();}[_0x1f6723(0x2dd)](){const _0x52b29d=_0x1f6723;this[_0x52b29d(0x18f)](this[_0x52b29d(0x40b)]['interceptor'][_0x52b29d(0x345)](this[_0x52b29d(0x40b)]['interceptor'][_0x52b29d(0x31c)]()[_0x52b29d(0x341)],{'handler':(_0x52dbd3,_0x1576ce,_0xde71c7)=>{const _0x3e52a3=_0x52b29d;var _0x39ca67;let {unitId:_0x5e8659,scene:_0x4464e8,skeleton:_0x565fc6}=_0x1576ce,{pageIndex:_0x8acf80}=_0x1576ce,_0x273389=(_0x39ca67=this['_drawingManagerService'][_0x3e52a3(0x479)](_0x5e8659))==null?void 0x0:_0x39ca67[_0x5e8659],_0x41d363=_0x5d26f5(this[_0x3e52a3(0x40b)],_0x565fc6,_0x8acf80);return _0x273389==null||_0x273389[_0x3e52a3(0x141)]['forEach'](_0x18aaf7=>{const _0x24e96f=_0x3e52a3;if(_0x41d363&&!_0x41d363[_0x24e96f(0x1ee)](_0x18aaf7))return;let _0x16b3c1=_0x273389[_0x24e96f(0x2fb)][_0x18aaf7];_0x16b3c1['drawingType']===_0x179bf7[_0x24e96f(0x121)]['DRAWING_SHAPE']&&!_0x16b3c1['hidden']&&this[_0x24e96f(0x3a2)][_0x24e96f(0x1b4)](_0x16b3c1,_0x4464e8);}),_0xde71c7(_0x52dbd3);}}));}};_0x36caba=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x19c)])),_0x23cccd(0x1,_0x567d02['IDrawingManagerService']),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x26cade))],_0x36caba);function _0x5d26f5(_0x2e199a,_0x4755f2,_0x4ea5dd){const _0x18d996=_0x1f6723;var _0x46ebab,_0x172f89;let _0x335728=_0x2e199a;if(_0x335728[_0x18d996(0x3f3)])return _0x335728[_0x18d996(0x3f3)](_0x4755f2,_0x4ea5dd);let _0x50f49e=_0x4755f2[_0x18d996(0x3c7)]();if(!_0x50f49e||_0x50f49e[_0x18d996(0x34b)]['length']<=0x1||_0x4ea5dd==null)return null;let _0x1a629e=new Set(),_0x1bc1c5=_0x50f49e[_0x18d996(0x34b)][_0x4ea5dd];if(!_0x1bc1c5)return _0x1a629e;_0x4da517(_0x1bc1c5,_0x1a629e);let _0x4b2f0c=(_0x46ebab=_0x50f49e[_0x18d996(0x298)][_0x18d996(0x2c6)](_0x1bc1c5[_0x18d996(0x133)]))==null?void 0x0:_0x46ebab[_0x18d996(0x2c6)](_0x1bc1c5['headerLayoutKey']??_0x1bc1c5[_0x18d996(0x178)]),_0x2655da=(_0x172f89=_0x50f49e[_0x18d996(0x169)]['get'](_0x1bc1c5[_0x18d996(0x28f)]))==null?void 0x0:_0x172f89['get'](_0x1bc1c5['footerLayoutKey']??_0x1bc1c5[_0x18d996(0x178)]);return _0x4b2f0c&&_0x4da517(_0x4b2f0c,_0x1a629e),_0x2655da&&_0x4da517(_0x2655da,_0x1a629e),_0x1a629e;}function _0x4da517(_0x2a9d47,_0x3876e7){const _0x51c370=_0x1f6723;for(let _0x2f1b6d of _0x2a9d47[_0x51c370(0x15b)][_0x51c370(0x313)]())_0x3876e7['add'](_0x2f1b6d);for(let _0x214988 of _0x2a9d47[_0x51c370(0x14f)][_0x51c370(0x3e7)]())for(let _0x10b364 of _0x214988[_0x51c370(0x1ff)])for(let _0x1d34d0 of _0x10b364[_0x51c370(0x23c)])_0x4da517(_0x1d34d0,_0x3876e7);}function _0x5dce21({ref:_0x58cf0e,..._0x2f0159}){const _0x579a68=_0x1f6723;let {preserveStrokeWidth:_0x4f6425,icon:_0x389696,id:_0xa7390d,className:_0x3b8914,extend:_0x17481d,..._0x362b09}=_0x2f0159,_0x368138=(_0x579a68(0x1ea)+_0xa7390d+'\x20'+(_0x3b8914||''))[_0x579a68(0x174)](),_0xaeb1c4='_'+(0x0,_0x308052[_0x579a68(0x134)])(),_0x49b870=(0x0,_0x308052[_0x579a68(0x238)])(null);return(0x0,_0x308052['useImperativeHandle'])(_0x58cf0e,()=>_0x49b870[_0x579a68(0x35c)]),(0x0,_0x308052[_0x579a68(0x1e2)])(()=>{const _0x130943=_0x579a68;if(_0x4f6425&&_0x49b870[_0x130943(0x35c)]&&_0x49b870[_0x130943(0x35c)][_0x130943(0x234)]===_0x389696[_0x130943(0x3ca)])return _0x2cd9ad(_0x49b870['current']);},[_0x4f6425,_0x389696]),_0x500a0a(_0x389696,''+_0xa7390d,{'defIds':_0x389696[_0x579a68(0x166)],'idSuffix':_0xaeb1c4},{'ref':_0x49b870,'className':_0x368138,..._0x362b09},_0x17481d);}function _0x500a0a(_0xa05d49,_0x332012,_0x1f999d,_0x3eee5e,_0x4d09ab){const _0x33f18c=_0x1f6723;return(0x0,_0x308052[_0x33f18c(0x29d)])(_0xa05d49[_0x33f18c(0x3ca)],{'key':_0x332012,..._0x99185e(_0xa05d49,_0x1f999d,_0x4d09ab),..._0x3eee5e},(_0x3fe976(_0xa05d49,_0x1f999d)[_0x33f18c(0x1a7)]||[])[_0x33f18c(0x35f)]((_0x1b1c14,_0x2557aa)=>_0x500a0a(_0x1b1c14,_0x332012+'-'+_0xa05d49[_0x33f18c(0x3ca)]+'-'+_0x2557aa,_0x1f999d,void 0x0,_0x4d09ab)));}function _0x99185e(_0x43cdbd,_0x13d6e1,_0x41504b){const _0x46e374=_0x1f6723;let _0x38305f={..._0x43cdbd[_0x46e374(0x139)]};_0x41504b!=null&&_0x41504b[_0x46e374(0x47f)]&&_0x38305f[_0x46e374(0x131)]==='colorChannel1'&&(_0x38305f['fill']=_0x41504b[_0x46e374(0x47f)]),_0x41504b!=null&&_0x41504b[_0x46e374(0x47f)]&&_0x38305f['stroke']===_0x46e374(0x47f)&&(_0x38305f[_0x46e374(0x18e)]=_0x41504b[_0x46e374(0x47f)]),_0x43cdbd[_0x46e374(0x3ca)]===_0x46e374(0x325)&&_0x38305f['id']&&(_0x38305f['id']+=_0x13d6e1[_0x46e374(0x3c1)]),Object[_0x46e374(0x4b3)](_0x38305f)[_0x46e374(0x32c)](([_0x5cf3e4,_0x205b7f])=>{const _0x1ce44a=_0x46e374;_0x5cf3e4==='mask'&&typeof _0x205b7f==_0x1ce44a(0x2e5)&&(_0x38305f[_0x5cf3e4]=_0x205b7f[_0x1ce44a(0x416)](/url\(#(.*)\)/,_0x1ce44a(0x155)+_0x13d6e1[_0x1ce44a(0x3c1)]+')'));});let {defIds:_0x539893}=_0x13d6e1;return!_0x539893||_0x539893[_0x46e374(0x231)]===0x0?_0x38305f:(_0x43cdbd['tag']===_0x46e374(0x1c2)&&_0x38305f['xlink:href']&&(_0x38305f[_0x46e374(0x179)]+=_0x13d6e1[_0x46e374(0x3c1)]),Object[_0x46e374(0x4b3)](_0x38305f)[_0x46e374(0x32c)](([_0x84f5bd,_0x83e94c])=>{const _0x348434=_0x46e374;typeof _0x83e94c==_0x348434(0x2e5)&&(_0x38305f[_0x84f5bd]=_0x83e94c['replace'](/url\(#(.*)\)/,'url(#$1'+_0x13d6e1[_0x348434(0x3c1)]+')'));}),_0x38305f);}function _0x3fe976(_0x37b614,_0x5d521d){const _0x2a980c=_0x1f6723;var _0x32ddc6;let {defIds:_0x374e7f}=_0x5d521d;return!_0x374e7f||_0x374e7f[_0x2a980c(0x231)]===0x0?_0x37b614:_0x37b614[_0x2a980c(0x3ca)]==='defs'&&(_0x32ddc6=_0x37b614['children'])!=null&&_0x32ddc6['length']?{..._0x37b614,'children':_0x37b614['children']['map'](_0x4e5353=>typeof _0x4e5353[_0x2a980c(0x139)]['id']=='string'&&_0x374e7f&&_0x374e7f[_0x2a980c(0x3f2)](_0x4e5353[_0x2a980c(0x139)]['id'])?{..._0x4e5353,'attrs':{..._0x4e5353[_0x2a980c(0x139)],'id':_0x4e5353[_0x2a980c(0x139)]['id']+_0x5d521d[_0x2a980c(0x3c1)]}}:_0x4e5353)}:_0x37b614;}function _0x2cd9ad(_0x18b6d4){const _0x16655c=_0x1f6723;let _0x373837=_0x18b6d4[_0x16655c(0x304)][_0x16655c(0x24b)],_0x11e6dd=Math[_0x16655c(0x226)](_0x373837[_0x16655c(0x258)],_0x373837['height']);if(!Number[_0x16655c(0x1be)](_0x11e6dd)||_0x11e6dd<=0x0||_0x373837['width']<=0x0||_0x373837[_0x16655c(0x3a9)]<=0x0)return()=>void 0x0;let _0x315c2e=0x10/_0x11e6dd,_0x47aed6=Array[_0x16655c(0x2c9)](_0x18b6d4[_0x16655c(0x324)](_0x16655c(0x430)))[_0x16655c(0x391)](_0x347fe2=>{const _0xe790cb=_0x16655c;let _0x1c2831=getComputedStyle(_0x347fe2),_0x46f9bc=Number['parseFloat'](_0x1c2831['strokeWidth']);return _0x1c2831['stroke']===_0xe790cb(0x432)||Number[_0xe790cb(0x1ac)](_0x1c2831[_0xe790cb(0x497)])===0x0||_0x1c2831[_0xe790cb(0x1cb)]==='non-scaling-stroke'||!Number[_0xe790cb(0x1be)](_0x46f9bc)||_0x46f9bc<=0x0?[]:[{'element':_0x347fe2,'hadStyleAttribute':_0x347fe2[_0xe790cb(0x463)](_0xe790cb(0x207)),'originalStrokeWidth':_0x46f9bc,'strokeWidth':_0x16204d(_0x347fe2[_0xe790cb(0x207)],_0xe790cb(0x3e8))}];})['map'](_0x3ca6f1=>({'appliedStrokeWidth':null,'element':_0x3ca6f1['element'],'hadStyleAttribute':_0x3ca6f1[_0x16655c(0x323)],'isReleased':!0x1,'originalStrokeWidth':_0x3ca6f1[_0x16655c(0x31d)],'strokeWidth':_0x3ca6f1[_0x16655c(0x366)]}));if(_0x47aed6[_0x16655c(0x231)]===0x0)return()=>void 0x0;let _0x57bc43=(_0xe886b8,_0x599423)=>{const _0x2f02e1=_0x16655c;if(_0x373837[_0x2f02e1(0x258)]<=0x0||_0x373837[_0x2f02e1(0x3a9)]<=0x0||_0xe886b8<=0x0||_0x599423<=0x0)return;let _0x21e7e5=Math[_0x2f02e1(0x3b0)](_0xe886b8/_0x373837[_0x2f02e1(0x258)],_0x599423/_0x373837[_0x2f02e1(0x3a9)]);!Number[_0x2f02e1(0x1be)](_0x21e7e5)||_0x21e7e5<=0x0||_0x47aed6[_0x2f02e1(0x32c)](_0x8a35=>{const _0x5b00e1=_0x2f02e1;if(_0x8a35['isReleased'])return;if(_0x8a35[_0x5b00e1(0x1d2)]!==null&&(_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x496)](_0x5b00e1(0x3e8))!==_0x8a35[_0x5b00e1(0x1d2)]||_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x3db)](_0x5b00e1(0x3e8))!==_0x8a35[_0x5b00e1(0x366)][_0x5b00e1(0x143)])){_0x8a35[_0x5b00e1(0x1d2)]=null,_0x8a35[_0x5b00e1(0x26b)]=!0x0;return;}let _0x1e68b5=_0x8a35[_0x5b00e1(0x31d)]*_0x315c2e/_0x21e7e5,_0x5ac6dd=Number(_0x1e68b5['toFixed'](0xc))+'px';_0x8a35[_0x5b00e1(0x488)][_0x5b00e1(0x207)][_0x5b00e1(0x2c8)](_0x5b00e1(0x3e8),_0x5ac6dd,_0x8a35[_0x5b00e1(0x366)][_0x5b00e1(0x143)]),_0x8a35[_0x5b00e1(0x1d2)]=_0x5ac6dd;});},_0x388aee=_0x18b6d4['getBoundingClientRect']();_0x57bc43(_0x388aee[_0x16655c(0x258)],_0x388aee[_0x16655c(0x3a9)]);let _0x4f557d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x226417=>{const _0x82483d=_0x16655c;if(_0x226417[_0x82483d(0x215)](_0x112dc1=>_0x112dc1[_0x82483d(0x158)]===_0x18b6d4)){let _0x45aef4=_0x18b6d4[_0x82483d(0x180)]();_0x57bc43(_0x45aef4['width'],_0x45aef4['height']);}});return _0x4f557d==null||_0x4f557d['observe'](_0x18b6d4),()=>{const _0xb38eea=_0x16655c;_0x4f557d==null||_0x4f557d[_0xb38eea(0x45b)](),_0x47aed6[_0xb38eea(0x32c)](_0x34c4d2=>{const _0x38c52a=_0xb38eea;_0x34c4d2[_0x38c52a(0x1d2)]!==null&&(_0x5be44f(_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x207)],_0x38c52a(0x3e8),_0x34c4d2[_0x38c52a(0x1d2)],_0x34c4d2[_0x38c52a(0x366)][_0x38c52a(0x143)],_0x34c4d2[_0x38c52a(0x366)]),!_0x34c4d2[_0x38c52a(0x323)]&&_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x207)][_0x38c52a(0x231)]===0x0&&_0x34c4d2[_0x38c52a(0x488)][_0x38c52a(0x1fe)](_0x38c52a(0x207)));});};}function _0x16204d(_0x5c2668,_0x34b81e){const _0x11165c=_0x1f6723;return{'priority':_0x5c2668[_0x11165c(0x3db)](_0x34b81e),'value':_0x5c2668[_0x11165c(0x496)](_0x34b81e)};}function _0x5be44f(_0x15fe51,_0x320507,_0x5260fa,_0x154de0,_0x43ba8d){const _0x2f8003=_0x1f6723;_0x15fe51[_0x2f8003(0x496)](_0x320507)===_0x5260fa&&_0x15fe51[_0x2f8003(0x3db)](_0x320507)===_0x154de0&&(_0x43ba8d['value']?_0x15fe51['setProperty'](_0x320507,_0x43ba8d[_0x2f8003(0x442)],_0x43ba8d[_0x2f8003(0x143)]):_0x15fe51[_0x2f8003(0x1af)](_0x320507));}_0x5dce21[_0x1f6723(0x2e9)]=_0x1f6723(0x2d8);let _0x25ae04={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x1b2),'width':'1em','height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x404),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x478),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x22a)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':'M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946'}}]},_0x4d1c39=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x57e6d8,_0x22bc21){const _0x5c4dbd=_0x1f6723;return(0x0,_0x308052[_0x5c4dbd(0x29d)])(_0x5dce21,Object[_0x5c4dbd(0x21e)]({},_0x57e6d8,{'id':_0x5c4dbd(0x38a),'ref':_0x22bc21,'icon':_0x25ae04}));});_0x4d1c39[_0x1f6723(0x2e9)]=_0x1f6723(0x34c);let _0xbb5149={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':'1em','height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x382),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x4113b7=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x58f07c,_0x3b57e2){const _0x1604bc=_0x1f6723;return(0x0,_0x308052[_0x1604bc(0x29d)])(_0x5dce21,Object[_0x1604bc(0x21e)]({},_0x58f07c,{'id':_0x1604bc(0x42b),'ref':_0x3b57e2,'icon':_0xbb5149}));});_0x4113b7[_0x1f6723(0x2e9)]=_0x1f6723(0x168);let _0xaa4596={'tag':'svg','attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x361),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x517694=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x2f9625,_0x34795c){const _0x4d2862=_0x1f6723;return(0x0,_0x308052[_0x4d2862(0x29d)])(_0x5dce21,Object['assign']({},_0x2f9625,{'id':_0x4d2862(0x294),'ref':_0x34795c,'icon':_0xaa4596}));});_0x517694[_0x1f6723(0x2e9)]=_0x1f6723(0x1e0);let _0x4aa9b1={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x2a8),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x37d)}}]},_0x9f23a2=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0xd645bb,_0x5497af){const _0x1af7b3=_0x1f6723;return(0x0,_0x308052[_0x1af7b3(0x29d)])(_0x5dce21,Object[_0x1af7b3(0x21e)]({},_0xd645bb,{'id':_0x1af7b3(0x2c1),'ref':_0x5497af,'icon':_0x4aa9b1}));});_0x9f23a2['displayName']='MoveDownIcon';let _0x4de6c4={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x13a),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'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'}}]},_0x3869ba=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x250fbc,_0x99cda2){const _0x112945=_0x1f6723;return(0x0,_0x308052[_0x112945(0x29d)])(_0x5dce21,Object[_0x112945(0x21e)]({},_0x250fbc,{'id':_0x112945(0x26e),'ref':_0x99cda2,'icon':_0x4de6c4}));});_0x3869ba['displayName']=_0x1f6723(0x197);let _0x52179a={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x20b),'strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':'currentColor','d':_0x1f6723(0x381),'strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':_0x1f6723(0x28d),'strokeWidth':1.3}}]},_0x513f1a=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x15963a,_0x514ac9){return(0x0,_0x308052['createElement'])(_0x5dce21,Object['assign']({},_0x15963a,{'id':'object-layers-icon','ref':_0x514ac9,'icon':_0x52179a}));});_0x513f1a[_0x1f6723(0x2e9)]=_0x1f6723(0x22c);let _0x538a59={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x4a6),'width':_0x1f6723(0x15a),'height':'1em'},'children':[{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':'M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','strokeLinecap':_0x1f6723(0x28d),'strokeLinejoin':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x198),'strokeLinecap':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x48f),'strokeLinecap':_0x1f6723(0x28d),'strokeWidth':1.2}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':'M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','strokeLinejoin':'round'}},{'tag':_0x1f6723(0x3eb),'attrs':{'stroke':_0x1f6723(0x211),'d':_0x1f6723(0x217)}}]},_0x230edf=(0x0,_0x308052['forwardRef'])(function(_0x7b6fee,_0x5c9962){const _0x11271f=_0x1f6723;return(0x0,_0x308052[_0x11271f(0x29d)])(_0x5dce21,Object[_0x11271f(0x21e)]({},_0x7b6fee,{'id':_0x11271f(0x2dc),'ref':_0x5c9962,'icon':_0x538a59}));});_0x230edf[_0x1f6723(0x2e9)]=_0x1f6723(0x3dc);let _0xf28b5={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x3e9),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':_0x1f6723(0x4b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':'currentColor','rx':0.6}},{'tag':_0x1f6723(0x4b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':_0x1f6723(0x4b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x1f6723(0x211),'rx':0.6}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x1de),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}}]},_0x1c991d=(0x0,_0x308052['forwardRef'])(function(_0x5e97fd,_0x21e9a1){const _0x18326a=_0x1f6723;return(0x0,_0x308052['createElement'])(_0x5dce21,Object[_0x18326a(0x21e)]({},_0x5e97fd,{'id':_0x18326a(0x32a),'ref':_0x21e9a1,'icon':_0xf28b5}));});_0x1c991d[_0x1f6723(0x2e9)]=_0x1f6723(0x300);let _0x5593c1={'tag':_0x1f6723(0x20c),'attrs':{'xmlns':_0x1f6723(0x3ff),'fill':_0x1f6723(0x432),'viewBox':_0x1f6723(0x1b2),'width':_0x1f6723(0x15a),'height':_0x1f6723(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x42a)}},{'tag':'path','attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x440),'fillRule':_0x1f6723(0x46b),'clipRule':_0x1f6723(0x46b)}},{'tag':_0x1f6723(0x3eb),'attrs':{'fill':_0x1f6723(0x211),'d':_0x1f6723(0x3b8),'fillRule':'evenodd','clipRule':_0x1f6723(0x46b)}}]},_0xd27de2=(0x0,_0x308052[_0x1f6723(0x3e4)])(function(_0x557595,_0x4c95e8){const _0x36fd20=_0x1f6723;return(0x0,_0x308052[_0x36fd20(0x29d)])(_0x5dce21,Object[_0x36fd20(0x21e)]({},_0x557595,{'id':_0x36fd20(0x1c4),'ref':_0x4c95e8,'icon':_0x5593c1}));});_0xd27de2[_0x1f6723(0x2e9)]=_0x1f6723(0x20e);function _0x4288cd(_0x5ae8aa){const _0x22ebc4=_0x1f6723;return(0x0,_0x480c6f[_0x22ebc4(0x17a)])(_0x6c1722,{..._0x5ae8aa,'PickerComponent':_0x257c32[_0x22ebc4(0x31b)]});}function _0x266409(){const _0x518a10=_0x1f6723;let _0x221662=(0x0,_0x342c24[_0x518a10(0x185)])(_0x179bf7[_0x518a10(0x46f)]),_0x2fc26b=_0x24e12d(),[_0x5a169a,_0x1eb95c]=(0x0,_0x308052['useState'])(!0x1);return(0x0,_0x480c6f['jsxs'])(_0x518a10(0x1e9),{'className':_0x518a10(0x22b),'children':[(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x309aa3[_0x518a10(0x41f)],{'title':_0x221662['t'](_0x518a10(0x193)),'aria-expanded':_0x5a169a,'variant':_0x518a10(0x21d),'trailing':_0x5a169a?(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x517694,{}):(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x4113b7,{}),'onClick':()=>_0x1eb95c(_0x2339ad=>!_0x2339ad)}),_0x5a169a&&(0x0,_0x480c6f[_0x518a10(0x17a)])(_0x257c32[_0x518a10(0x31b)],{'excludeGroups':[_0x257c32[_0x518a10(0x458)][_0x518a10(0x1ed)]],'onShapeClick':_0x20d7ac=>{_0x2fc26b(_0x20d7ac),_0x1eb95c(!0x1);}})]});}function _0x20c94b(_0xa04073){return _0xa04073['trim']()||void 0x0;}function _0x325da8(_0xb7a37b,_0x38c3ed,_0x492d41){const _0x48ebbd=_0x1f6723;var _0x13cf11,_0x48a547;return((_0x13cf11=_0xb7a37b[_0x48ebbd(0x123)])==null?void 0x0:_0x13cf11[_0x48ebbd(0x174)]())||((_0x48a547=_0xb7a37b[_0x48ebbd(0x2f2)])==null?void 0x0:_0x48a547[_0x48ebbd(0x174)]())||_0x492d41['t']('drawing-ui.objectListPanel.typeNames.'+(0x0,_0x257c32[_0x48ebbd(0x246)])(_0xb7a37b[_0x48ebbd(0x31a)]))+'\x20'+(_0x38c3ed+0x1);}function _0x3292ea({PanelComponent:_0x1fbf81=_0x5656f0[_0x1f6723(0x227)]}){const _0x2d0c71=_0x1f6723;let _0x193403=(0x0,_0x342c24['useDependency'])(_0x179bf7[_0x2d0c71(0x46f)]),_0x2ee8ac={'title':_0x193403['t']('drawing-ui.objectListPanel.title'),'empty':_0x193403['t'](_0x2d0c71(0x2b7)),'showAll':_0x193403['t'](_0x2d0c71(0x191)),'hideAll':_0x193403['t'](_0x2d0c71(0x2d9)),'lockAll':_0x193403['t'](_0x2d0c71(0x2a5)),'unlockAll':_0x193403['t']('drawing-ui.objectListPanel.unlockAll'),'moveForward':_0x193403['t'](_0x2d0c71(0x230)),'moveBackward':_0x193403['t'](_0x2d0c71(0x334)),'close':_0x193403['t']('drawing-ui.objectListPanel.close'),'show':_0x193403['t']('drawing-ui.objectListPanel.show'),'hide':_0x193403['t'](_0x2d0c71(0x2fc)),'lock':_0x193403['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x193403['t'](_0x2d0c71(0x2f6)),'lockHint':_0x193403['t']('drawing-ui.objectListPanel.lockHint'),'unlockHint':_0x193403['t'](_0x2d0c71(0x136)),'name':_0x193403['t'](_0x2d0c71(0x35e)),'nameInput':_0x193403['t']('drawing-ui.objectListPanel.nameInput'),'description':_0x193403['t'](_0x2d0c71(0x232)),'descriptionPlaceholder':_0x193403['t'](_0x2d0c71(0x48c)),'details':_0x193403['t'](_0x2d0c71(0x499)),'noSelection':_0x193403['t'](_0x2d0c71(0x311)),'locate':_0x193403['t']('drawing-ui.objectListPanel.locate'),'expand':_0x193403['t'](_0x2d0c71(0x379)),'collapse':_0x193403['t'](_0x2d0c71(0x14c)),'dragToReorder':_0x193403['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x193403['t'](_0x2d0c71(0x3b4)),'filterAll':_0x193403['t'](_0x2d0c71(0x247)),'filterHidden':_0x193403['t'](_0x2d0c71(0x3af)),'filterLocked':_0x193403['t'](_0x2d0c71(0x30d)),'sectionCanvas':_0x193403['t'](_0x2d0c71(0x2d1)),'sectionFloating':_0x193403['t'](_0x2d0c71(0x3e1))},_0x56ddb9=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x179bf7[_0x2d0c71(0x483)]),_0x37406d=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x179bf7[_0x2d0c71(0x18b)]),_0x486e89=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x3a4044[_0x2d0c71(0x484)]),_0x420504=(0x0,_0x342c24[_0x2d0c71(0x185)])(_0x567d02[_0x2d0c71(0x316)]),_0x49c38f=(0x0,_0x342c24['useDependency'])(_0x1126ec[_0x2d0c71(0x208)]),[,_0x5359e8]=(0x0,_0x308052[_0x2d0c71(0x212)])(_0x508838=>_0x508838+0x1,0x0),_0x571178=_0x37406d['getCurrentUnitOfType'](_0x179bf7['UniverInstanceType'][_0x2d0c71(0x369)]),_0x50d191=(_0x571178==null?void 0x0:_0x571178['getUnitId']())??'',_0x2c3ac8=_0x50d191,_0x1cf0ba=(0x0,_0x342c24[_0x2d0c71(0x161)])(()=>_0x420504[_0x2d0c71(0x2e7)],_0x420504[_0x2d0c71(0x2b0)](),!0x1,[_0x420504]);(0x0,_0x308052[_0x2d0c71(0x3a7)])(()=>{let _0x1f1bce=_0x56ddb9['onCommandExecuted'](()=>_0x5359e8());return()=>_0x1f1bce['dispose']();},[_0x56ddb9]);let _0x30c1e0=_0x50d191?_0x486e89[_0x2d0c71(0x3a6)](_0x50d191,_0x2c3ac8):{},_0x140a21=(_0x50d191?_0x486e89[_0x2d0c71(0x19f)](_0x50d191,_0x2c3ac8):[])[_0x2d0c71(0x35f)](_0x217153=>_0x30c1e0[_0x217153])[_0x2d0c71(0x44a)](_0x2b3556=>!!_0x2b3556)[_0x2d0c71(0x289)](),_0x242663=_0x140a21[_0x2d0c71(0x1b3)]((_0x46e11c,_0x1c3ac5)=>(_0x46e11c[(0x0,_0x5656f0[_0x2d0c71(0x428)])(_0x1c3ac5['drawingType'])]+=0x1,_0x46e11c),{'canvas':0x0,'floating':0x0}),_0x88576={'canvas':0x0,'floating':0x0},_0x264109=_0x140a21[_0x2d0c71(0x35f)]((_0x569711,_0x5a6d79)=>{const _0x5e3d14=_0x2d0c71;let _0xf8657a=(0x0,_0x5656f0[_0x5e3d14(0x428)])(_0x569711['drawingType']),_0x1df551=_0xf8657a===_0x5656f0[_0x5e3d14(0x332)],_0xca9bf6=_0x88576[_0xf8657a]++;return{'id':_0x569711[_0x5e3d14(0x140)],'name':_0x325da8(_0x569711,_0x5a6d79,_0x193403),'description':_0x569711[_0x5e3d14(0x171)],'visible':_0x569711[_0x5e3d14(0x263)]!==!0x0,'selectable':_0x569711['selectable']!==!0x1,'sectionId':_0xf8657a,'sectionTitle':_0x1df551?_0x2ee8ac[_0x5e3d14(0x200)]:_0x2ee8ac[_0x5e3d14(0x2fd)],'capabilities':_0x1df551?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1df551&&_0xca9bf6>0x0,'canMoveBackward':!_0x1df551&&_0xca9bf6<_0x242663[_0x5e3d14(0x3b5)]-0x1,'canReorder':!_0x1df551};}),_0x74b714=(0x0,_0x308052[_0x2d0c71(0x1b8)])(()=>(_0x1cf0ba??[])[_0x2d0c71(0x44a)](_0x3576a3=>_0x3576a3['unitId']===_0x50d191&&_0x3576a3['subUnitId']===_0x2c3ac8)[_0x2d0c71(0x35f)](_0x1be28d=>_0x1be28d[_0x2d0c71(0x140)]),[_0x1cf0ba,_0x2c3ac8,_0x50d191]),_0x5b2669=_0x74b714[_0x74b714[_0x2d0c71(0x231)]-0x1]??null,_0x37c51a=_0x390509=>_0x486e89['getDrawingByParam']({'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x390509})??null,_0x2c4405=async _0x1aaae7=>{const _0x1937b1=_0x2d0c71;_0x50d191&&_0x1aaae7[_0x1937b1(0x231)]&&await _0x56ddb9['executeCommand'](_0x1d4bf7[_0x1937b1(0x3c0)]['id'],{'unitId':_0x50d191,'patches':_0x1aaae7});},_0x24ad11=(_0xc12d82,_0x478bcd)=>{const _0x1531e2=_0x2d0c71;if(!_0x50d191)return;let _0x54f74a=_0x478bcd?_0x74b714[_0x1531e2(0x3f2)](_0xc12d82)?_0x74b714[_0x1531e2(0x44a)](_0x37dd9b=>_0x37dd9b!==_0xc12d82):[..._0x74b714,_0xc12d82]:[_0xc12d82];_0x56ddb9[_0x1531e2(0x46c)](_0x567d02['SetDrawingSelectedOperation']['id'],_0x54f74a[_0x1531e2(0x35f)](_0x2e77c6=>({'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x2e77c6})));let _0x32fbcb=_0x54f74a[_0x54f74a[_0x1531e2(0x231)]-0x1];_0x32fbcb?(0x0,_0x257c32[_0x1531e2(0x462)])(_0x49c38f,{'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingId':_0x32fbcb}):(0x0,_0x257c32[_0x1531e2(0x3e2)])(_0x49c38f,_0x50d191);},_0x441c19=async(_0x1a7965,_0x60483b)=>{const _0x454d97=_0x2d0c71;await _0x2c4405(_0x1a7965[_0x454d97(0x35f)](_0x3b85a0=>_0x37c51a(_0x3b85a0))[_0x454d97(0x44a)](_0x4ffe4f=>!!_0x4ffe4f)[_0x454d97(0x44a)](_0xa0fc77=>_0xa0fc77[_0x454d97(0x263)]!==!0x0!==_0x60483b)[_0x454d97(0x35f)](_0x1827dd=>({'drawingId':_0x1827dd[_0x454d97(0x140)],'hidden':!_0x60483b})));},_0x18aa09=async(_0x16dea1,_0x3984b4)=>{const _0x118514=_0x2d0c71;await _0x2c4405(_0x16dea1[_0x118514(0x35f)](_0x2f2e68=>_0x37c51a(_0x2f2e68))[_0x118514(0x44a)](_0x23f5c1=>!!_0x23f5c1)[_0x118514(0x44a)](_0x27fa53=>_0x27fa53['selectable']!==!0x1!==_0x3984b4)[_0x118514(0x35f)](_0xde93b3=>({'drawingId':_0xde93b3['drawingId'],'selectable':_0x3984b4})));},_0x56ae5f=_0x22a040=>{const _0x37f9a2=_0x2d0c71;let _0x46e0f6=_0x37c51a(_0x22a040);if(_0x46e0f6)return _0x18aa09([_0x22a040],_0x46e0f6[_0x37f9a2(0x365)]===!0x1);},_0x1bdf62=async(_0x3c43fe,_0x18f5d9)=>{const _0x12fffb=_0x2d0c71;let _0x24cdb3=_0x37c51a(_0x3c43fe),_0x7762ce=_0x20c94b(_0x18f5d9);!_0x24cdb3||(_0x24cdb3[_0x12fffb(0x123)]??void 0x0)===_0x7762ce&&(_0x24cdb3[_0x12fffb(0x2f2)]||void 0x0)===_0x7762ce||await _0x2c4405([{'drawingId':_0x3c43fe,'name':_0x7762ce,'title':_0x7762ce}]);},_0x34fbd2=async(_0x57e591,_0x4e16d0)=>{const _0xf4ecd3=_0x2d0c71;let _0x59b8fe=_0x37c51a(_0x57e591),_0x58d943=_0x20c94b(_0x4e16d0);_0x59b8fe&&(_0x59b8fe[_0xf4ecd3(0x171)]??void 0x0)!==_0x58d943&&await _0x2c4405([{'drawingId':_0x57e591,'description':_0x58d943}]);},_0x5206f9=async(_0x490afb,_0x27df39)=>{const _0x177316=_0x2d0c71;_0x50d191&&await _0x56ddb9[_0x177316(0x15c)](_0x3a4044[_0x177316(0x3f0)]['id'],{'unitId':_0x50d191,'subUnitId':_0x2c3ac8,'drawingIds':[_0x490afb],'arrangeType':_0x27df39});};return _0x50d191?(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x1fbf81,{'labels':_0x2ee8ac,'renderPermissionAction':_0xef2a72=>_0x571178?(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x342c24[_0x2d0c71(0x216)],{'target':{'unitId':_0x50d191,'objectId':(0x0,_0x31f1d7[_0x2d0c71(0x2da)])((0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x571178,_0xef2a72['id']),_0x2d0c71(0x199),_0xef2a72['id']),'objectType':_0x5d6c3c[_0x2d0c71(0x2eb)][_0x2d0c71(0x336)]},'name':_0xef2a72['name'],'commandId':_0x31f1d7[_0x2d0c71(0x1f1)]['id'],'exists':()=>!!_0x37c51a(_0xef2a72['id'])},_0x50d191+'/'+_0xef2a72['id']):null,'items':_0x264109,'selectedIds':_0x74b714,'focusedId':_0x5b2669,'showHeader':!0x1,'onSelect':_0x24ad11,'onSetVisible':_0x441c19,'onSetSelectable':_0x18aa09,'onCommitName':_0x1bdf62,'onCommitDescription':_0x34fbd2,'onMoveForward':async _0x53f8e0=>_0x5206f9(_0x53f8e0,_0x179bf7['ArrangeTypeEnum']['forward']),'onMoveBackward':async _0x572464=>_0x5206f9(_0x572464,_0x179bf7['ArrangeTypeEnum'][_0x2d0c71(0x317)]),'onToggleSelectable':_0x56ae5f}):(0x0,_0x480c6f[_0x2d0c71(0x17a)])(_0x2d0c71(0x1e9),{'className':_0x2d0c71(0x3a4),'children':_0x2ee8ac['title']});}function _0x2c56e2(){const _0xf741c4=_0x1f6723;return(0x0,_0x480c6f[_0xf741c4(0x17a)])(_0x3292ea,{'PanelComponent':_0x5656f0[_0xf741c4(0x2f8)]});}let _0x26fa84=class{constructor(_0x55965a){const _0x1a857f=_0x1f6723;this[_0x1a857f(0x33a)]=_0x55965a;}[_0x1f6723(0x12d)](_0x310e20,_0x126b1a){const _0x265811=_0x1f6723;let _0x143450=this['_renderManagerService'][_0x265811(0x1bc)](_0x310e20[_0x265811(0x2aa)]),_0x1bf8af=_0x143450==null?void 0x0:_0x143450[_0x265811(0x280)];if(!_0x1bf8af)return;let _0x25ec27=(0x0,_0x567d02[_0x265811(0x1e8)])(_0x310e20),_0x4893df=_0x1bf8af['getObjectIncludeInGroup'](_0x25ec27);_0x4893df==null||_0x4893df[_0x265811(0x482)](_0x126b1a);}};_0x26fa84=_0x139e28([_0x23cccd(0x0,_0x1126ec[_0x1f6723(0x208)])],_0x26fa84);function _0x2c2dc7(){const _0xb06376=_0x1f6723;let _0x3c23c6=(0x0,_0x342c24[_0xb06376(0x185)])(_0x567d02['IDrawingManagerService']),_0x47d44a=(0x0,_0x342c24[_0xb06376(0x161)])(()=>_0x3c23c6['focus$'],_0x3c23c6[_0xb06376(0x2b0)](),!0x1,[_0x3c23c6]);return _0x47d44a[_0xb06376(0x231)]===0x0?null:(0x0,_0x480c6f['jsx'])(_0xb06376(0x1e9),{'children':(0x0,_0x480c6f[_0xb06376(0x438)])('div',{'className':_0xb06376(0x1a2),'children':[(0x0,_0x480c6f['jsx'])(_0x5656f0[_0xb06376(0x17c)],{'drawings':_0x47d44a,'hasCropper':!0x1}),(0x0,_0x480c6f['jsx'])(_0x4b09d7[_0xb06376(0x32e)],{'drawings':_0x47d44a}),(0x0,_0x480c6f[_0xb06376(0x17a)])(_0x4b09d7[_0xb06376(0x30a)],{'drawings':_0x47d44a})]})});}function _0x1ff39a(_0x22c196){const _0x3a30e5=_0x1f6723;let {unitId:_0x4c5f34,subUnitId:_0x1a4120,shapeId:_0x2866f9,PositionComponent:_0x1cb629=_0x2c2dc7}=_0x22c196,_0x3f5c2b=(0x0,_0x342c24[_0x3a30e5(0x185)])(_0x179bf7[_0x3a30e5(0x483)]),_0x546784=(0x0,_0x342c24[_0x3a30e5(0x185)])(_0x26fa84);return(0x0,_0x480c6f[_0x3a30e5(0x17a)])(_0x257c32[_0x3a30e5(0x352)],{..._0x22c196,'positionEditor':(0x0,_0x480c6f[_0x3a30e5(0x17a)])(_0x1cb629,{}),'onUpdateShapeData':(_0x3bb4f7,_0x219e76)=>{_0x5a93d6(_0x3f5c2b,_0x4c5f34,_0x1a4120,_0x2866f9,_0x3bb4f7,_0x219e76);},'onUpdateLineShapeData':(_0x21359c,_0x1704f8)=>{_0x3a7e1f(_0x3f5c2b,_0x4c5f34,_0x1a4120,_0x2866f9,_0x21359c,_0x1704f8);},'onUpdateShapeFillImage':_0x5ee11d=>{const _0x4222ac=_0x3a30e5;_0x546784[_0x4222ac(0x12d)]({'unitId':_0x4c5f34,'subUnitId':_0x1a4120,'drawingId':_0x2866f9},_0x5ee11d);}});}function _0x56bce5(){const _0x4c73b1=_0x1f6723;let _0x5ee103=(0x0,_0x342c24['useDependency'])(_0x567d02[_0x4c73b1(0x316)]),_0x531ce4=(0x0,_0x342c24[_0x4c73b1(0x161)])(_0x5ee103[_0x4c73b1(0x2e7)],_0x5ee103[_0x4c73b1(0x2b0)]());return _0x531ce4[_0x4c73b1(0x231)]===0x0?null:(0x0,_0x480c6f[_0x4c73b1(0x438)])(_0x4c73b1(0x1e9),{'className':_0x4c73b1(0x351),'children':[(0x0,_0x480c6f[_0x4c73b1(0x17a)])(_0x5656f0[_0x4c73b1(0x17c)],{'drawings':_0x531ce4,'hasCropper':!0x1}),(0x0,_0x480c6f[_0x4c73b1(0x17a)])(_0x4b09d7[_0x4c73b1(0x2be)],{'drawings':_0x531ce4}),(0x0,_0x480c6f['jsx'])(_0x4b09d7[_0x4c73b1(0x1d8)],{'drawings':_0x531ce4})]});}function _0x40377c(_0x48bbd2){const _0x44956a=_0x1f6723;return(0x0,_0x480c6f[_0x44956a(0x17a)])(_0x257c32[_0x44956a(0x25c)],{'children':(0x0,_0x480c6f[_0x44956a(0x17a)])(_0x1ff39a,{..._0x48bbd2,'PositionComponent':_0x56bce5})});}function _0x1a1021({popup:_0x41ff2c}){const _0x4aebc6=_0x1f6723;let _0x4c899b=(0x0,_0x342c24['useDependency'])(_0x179bf7[_0x4aebc6(0x46f)]),{shapeType:_0x5efc51,onText:_0x1cc86e,onStyle:_0x12ac25,onDelete:_0x253076}=_0x41ff2c[_0x4aebc6(0x120)],_0x287554=[{'key':_0x4aebc6(0x201),'order':0x0,'item':{'id':_0x4aebc6(0x201),'type':_0x342c24['MenuItemType'][_0x4aebc6(0x12e)],'title':_0x4c899b['t'](_0x4aebc6(0x354)),'disabled$':(0x0,_0x5cf427['of'])((0x0,_0x2bd245[_0x4aebc6(0x452)])(_0x5efc51))}},{'key':_0x4aebc6(0x207),'order':0x1,'item':{'id':_0x4aebc6(0x207),'type':_0x342c24['MenuItemType']['BUTTON'],'title':_0x4c899b['t'](_0x4aebc6(0x4b0))}},{'key':'delete','order':0x2,'item':{'id':_0x4aebc6(0x33d),'type':_0x342c24['MenuItemType'][_0x4aebc6(0x12e)],'title':_0x4c899b['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x480c6f[_0x4aebc6(0x17a)])(_0x342c24[_0x4aebc6(0x448)],{'schemas':_0x287554,'presentation':'context-bar','onOptionSelect':async({id:_0x144666})=>{const _0x245e5c=_0x4aebc6;_0x144666===_0x245e5c(0x201)?await _0x1cc86e():_0x144666===_0x245e5c(0x207)?await _0x12ac25():_0x144666===_0x245e5c(0x33d)&&await _0x253076();}});}let _0x51fd45=_0x1f6723(0x41a);function _0x2bcb06(_0x22c09d,_0xa81ffe){const _0x4c5567=_0x1f6723;var _0x254e8a;let _0x158f29=_0x22c09d==null||(_0x254e8a=_0x22c09d[_0x4c5567(0x34f)]()['drawings'])==null?void 0x0:_0x254e8a[_0xa81ffe];return _0x158f29?_0x158f29[_0x4c5567(0x1a4)]===_0x179bf7['PositionedObjectLayoutType'][_0x4c5567(0x1a1)]?_0x158f29['behindDoc']===_0x179bf7[_0x4c5567(0x1d6)][_0x4c5567(0x22f)]?_0x3a4044[_0x4c5567(0x3ee)]['BEHIND_TEXT']:_0x3a4044[_0x4c5567(0x3ee)][_0x4c5567(0x2d5)]:_0x158f29['layoutType']===_0x179bf7[_0x4c5567(0x41d)]['WRAP_SQUARE']?_0x3a4044['TextWrappingStyle'][_0x4c5567(0x326)]:_0x158f29['layoutType']===_0x179bf7[_0x4c5567(0x41d)][_0x4c5567(0x481)]?_0x3a4044[_0x4c5567(0x3ee)][_0x4c5567(0x481)]:_0x3a4044['TextWrappingStyle']['INLINE']:_0x3a4044['TextWrappingStyle'][_0x4c5567(0x3c4)];}function _0x2feffd(_0x113824){const _0x1980ae=_0x1f6723;let _0x1df968=(0x0,_0x342c24[_0x1980ae(0x185)])(_0x257c32[_0x1980ae(0x29a)]),_0x24f266=(0x0,_0x342c24[_0x1980ae(0x161)])(()=>_0x1df968[_0x1980ae(0x48d)],_0x1df968['getVisible'](),!0x1,[_0x1df968]),_0x301f79=_0x113824['popup']['extraProps'];return _0x24f266?(0x0,_0x480c6f[_0x1980ae(0x17a)])(_0x49f189,{..._0x301f79,'canvasElement':_0x113824[_0x1980ae(0x340)][_0x1980ae(0x14a)]}):null;}function _0x49f189(_0x41c003){const _0x981ae7=_0x1f6723;let _0x5959de=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7['ICommandService']),_0x4061b0=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7[_0x981ae7(0x46f)]),_0x95e227=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x1d4bf7[_0x981ae7(0x390)]),_0x2303b8=(0x0,_0x342c24[_0x981ae7(0x185)])(_0x179bf7[_0x981ae7(0x18b)]),{unitId:_0x1b8d81,subUnitId:_0x1ce103,drawingId:_0x24968b,shapeType:_0x20d9da}=_0x41c003,[_0x377a6e,_0x1e5df0]=(0x0,_0x308052[_0x981ae7(0x3cb)])(_0x41c003[_0x981ae7(0x2c0)]),_0x30bed1=_0x2303b8[_0x981ae7(0x259)](_0x1b8d81,_0x179bf7[_0x981ae7(0x42f)][_0x981ae7(0x369)])??void 0x0,[_0x4f65bc,_0x2babcc]=(0x0,_0x308052['useState'])(()=>_0x2bcb06(_0x30bed1,_0x24968b)),_0x221e52=(0x0,_0x308052['useMemo'])(()=>(0x0,_0x257c32[_0x981ae7(0x3ea)])(_0x377a6e),[_0x377a6e]),_0x21b62e=(0x0,_0x308052[_0x981ae7(0x1b8)])(()=>(0x0,_0x257c32[_0x981ae7(0x37e)])(_0x377a6e),[_0x377a6e]);(0x0,_0x308052[_0x981ae7(0x3a7)])(()=>{const _0x404d5a=_0x981ae7;let _0x26554b=_0x5959de[_0x404d5a(0x2e4)](_0x24d2b6=>{const _0x49dcbd=_0x404d5a;if(_0x24d2b6['id']!==_0x1d4bf7['UpdateDocShapeDataMutation']['id'])return;let _0x1dd96b=_0x95e227[_0x49dcbd(0x43e)](_0x1b8d81,_0x1ce103,_0x24968b);_0x1dd96b&&_0x1e5df0(_0x1dd96b);});return()=>_0x26554b[_0x404d5a(0x2ba)]();},[_0x5959de,_0x95e227,_0x24968b,_0x1ce103,_0x1b8d81]);let _0x1b23ff=_0x5a0556=>{_0x1e5df0(_0x3177e8=>({..._0x3177e8,..._0x5a0556}));},_0x30370c=_0x1be876=>{const _0x1ee704=_0x981ae7;let _0x1c2ce0=(0x0,_0x257c32[_0x1ee704(0x1ec)])(_0x377a6e,_0x1be876);_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,{'oldShapeData':{'shapeText':_0x377a6e['shapeText']}},_0x1c2ce0),_0x1b23ff(_0x1c2ce0);},_0x499096=_0x283974=>{const _0x1caa09=_0x981ae7;_0x2babcc(_0x283974),_0x5959de[_0x1caa09(0x15c)](_0x3a4044[_0x1caa09(0x355)]['id'],{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawings':[{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b}],'wrappingStyle':_0x283974});},_0x9d1f52=(0x0,_0x257c32[_0x981ae7(0x36a)])({'hostType':_0x179bf7[_0x981ae7(0x42f)]['UNIVER_DOC'],'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'shapeId':_0x24968b,'shapeData':_0x377a6e,'onUpdateBinding':_0xb6aa74=>{let _0xf17607={'formulaBinding':_0xb6aa74};_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,{'oldShapeData':{'formulaBinding':_0x377a6e['formulaBinding']}},_0xf17607),_0x1b23ff(_0xf17607);}}),_0x1da419=[{'label':_0x4061b0['t'](_0x981ae7(0x190)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x3c4)],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x3c5)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x326)],'icon':(0x0,_0x480c6f['jsx'])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x1e5)),'value':_0x3a4044[_0x981ae7(0x3ee)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t']('docs-shape-ui.textWrap.behindText'),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x424)],'icon':(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x1c991d,{})},{'label':_0x4061b0['t'](_0x981ae7(0x4b2)),'value':_0x3a4044[_0x981ae7(0x3ee)][_0x981ae7(0x2d5)],'icon':(0x0,_0x480c6f['jsx'])(_0x1c991d,{})}];return(0x0,_0x480c6f[_0x981ae7(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x981ae7(0x17a)])(_0x257c32[_0x981ae7(0x299)],{'canvasElement':_0x41c003['canvasElement'],'shapeData':_0x377a6e,'shapeType':_0x20d9da,'textStyle':{'ff':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x3a1)][_0x981ae7(0x279)],'fs':_0x2bd245[_0x981ae7(0x490)]['shapeText'][_0x981ae7(0x337)],'cl':{'rgb':_0x2bd245['ShapeDefaultConfig'][_0x981ae7(0x3a1)][_0x981ae7(0x265)]},..._0x221e52},'textModel':_0x21b62e?{'ha':_0x21b62e['ha']??_0x179bf7[_0x981ae7(0x1f9)][_0x981ae7(0x410)],'va':_0x21b62e['va']??_0x179bf7[_0x981ae7(0x3c8)][_0x981ae7(0x23b)]}:null,'wrappingStyle':_0x4f65bc,'wrappingStyleOptions':_0x1da419,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x131)],'defaultGradientEndColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x1ad)],'defaultStrokeColor':_0x2bd245[_0x981ae7(0x490)][_0x981ae7(0x18e)],'extensionGroups':_0x9d1f52[_0x981ae7(0x12f)],'floatingObjectToolbarPosition':_0x342c24[_0x981ae7(0x3fb)][_0x981ae7(0x373)],'onUpdateShapeData':(_0x5553f3,_0x5885cb)=>{_0x5a93d6(_0x5959de,_0x1b8d81,_0x1ce103,_0x24968b,_0x5553f3,_0x5885cb),_0x5885cb&&_0x1b23ff(_0x5885cb);},'onUpdateText':_0x30370c,'onUpdateWrappingStyle':_0x42f0a6=>_0x499096(_0x42f0a6),'onOpenPanel':()=>{const _0x5de4a1=_0x981ae7;_0x5959de[_0x5de4a1(0x15c)](_0x344cfa['id'],{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b});},'onDelete':()=>{const _0x2ce53d=_0x981ae7;_0x5959de[_0x2ce53d(0x15c)](_0x3a4044['RemoveDocDrawingCommand']['id'],{'unitId':_0x1b8d81,'drawings':[{'unitId':_0x1b8d81,'subUnitId':_0x1ce103,'drawingId':_0x24968b}]});}}),_0x9d1f52[_0x981ae7(0x184)]]});}function _0x3163c8({variant:_0x5dfc3d,extend:_0x34d41c,..._0xd1ec02}){const _0x40f2c0=_0x1f6723;let _0x56f3bd=(0x0,_0x480c6f[_0x40f2c0(0x17a)])('rect',{'x':'7','y':_0x40f2c0(0x1a9),'width':'6','height':'9','rx':'1','fill':_0x40f2c0(0x211),'fillOpacity':_0x40f2c0(0x4b4),'stroke':'currentColor','strokeWidth':_0x40f2c0(0x2bd)});return(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x40f2c0(0x20c),{'aria-hidden':_0x40f2c0(0x23d),'fill':_0x40f2c0(0x432),'height':'1em','viewBox':'0\x200\x2020\x2020','width':_0x40f2c0(0x15a),..._0xd1ec02,'children':[_0x5dfc3d==='inline'&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f[_0x40f2c0(0x32f)],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])('path',{'d':_0x40f2c0(0x421),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),(0x0,_0x480c6f['jsx'])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x40f2c0(0x19e),'fill':_0x40f2c0(0x211),'fillOpacity':_0x40f2c0(0x4b4),'stroke':_0x40f2c0(0x211),'strokeWidth':_0x40f2c0(0x2bd)})]}),_0x5dfc3d===_0x40f2c0(0x403)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x348),'stroke':_0x40f2c0(0x211),'strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),_0x56f3bd]}),_0x5dfc3d===_0x40f2c0(0x44c)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f[_0x40f2c0(0x17a)])('path',{'d':_0x40f2c0(0x2cb),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),_0x56f3bd]}),_0x5dfc3d===_0x40f2c0(0x132)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f[_0x40f2c0(0x32f)],{'children':[_0x56f3bd,(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x27c),'stroke':'currentColor','strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)})]}),_0x5dfc3d===_0x40f2c0(0x465)&&(0x0,_0x480c6f[_0x40f2c0(0x438)])(_0x480c6f['Fragment'],{'children':[(0x0,_0x480c6f['jsx'])(_0x40f2c0(0x3eb),{'d':_0x40f2c0(0x27c),'stroke':_0x40f2c0(0x211),'strokeLinecap':_0x40f2c0(0x28d),'strokeWidth':_0x40f2c0(0x2bd)}),(0x0,_0x480c6f[_0x40f2c0(0x17a)])(_0x40f2c0(0x4b5),{'x':'7','y':_0x40f2c0(0x1a9),'width':'6','height':'9','rx':'1','fill':_0x40f2c0(0x211)})]})]});}let _0x4d6312=_0x244f2d=>_0x46cc41=>(0x0,_0x480c6f[_0x1f6723(0x17a)])(_0x3163c8,{..._0x46cc41,'variant':_0x244f2d}),_0x11a507={'DocsShapeWrapInlineIcon':_0x4d6312('inline'),'DocsShapeWrapSquareIcon':_0x4d6312('square'),'DocsShapeWrapTopBottomIcon':_0x4d6312(_0x1f6723(0x44c)),'DocsShapeWrapBehindTextIcon':_0x4d6312('behind'),'DocsShapeWrapInFrontOfTextIcon':_0x4d6312(_0x1f6723(0x465))},_0x14ef5c=(0x0,_0x308052[_0x1f6723(0x29b)])(()=>{const _0x32aa19=_0x1f6723;let _0x197da3=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x1bc893),_0x192484=(0x0,_0x342c24['useDependency'])(_0x1d4bf7['DocsShapeService']),_0x4e156c=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x567d02['IDrawingManagerService']),_0x3d6843=(0x0,_0x342c24[_0x32aa19(0x185)])(_0x179bf7[_0x32aa19(0x483)]),_0x59780a=(0x0,_0x308052[_0x32aa19(0x1b8)])(()=>({'getShapeModel':(_0x1d38b5,_0x1c7f49,_0x282ff8)=>_0x192484[_0x32aa19(0x21b)](_0x1d38b5,_0x1c7f49,_0x282ff8),'getShapeData':(_0x6809d,_0x2759e1,_0xbe2f5f)=>_0x192484[_0x32aa19(0x43e)](_0x6809d,_0x2759e1,_0xbe2f5f),'getDrawingTransform':(_0x3cf652,_0x2d114,_0x3af802)=>{const _0x1f919a=_0x32aa19;let _0x1de12e=_0x4e156c['getDrawingByParam']({'unitId':_0x3cf652,'subUnitId':_0x2d114,'drawingId':_0x3af802});return _0x1de12e==null?void 0x0:_0x1de12e[_0x1f919a(0x182)];},'updateShapeText':({unitId:_0xcdeb00,shapeId:_0x17a242,shapeText:_0x1cb67b,oldShapeText:_0x2df3b8})=>{const _0x16c28c=_0x32aa19;_0x3d6843['executeCommand'](_0x1d4bf7[_0x16c28c(0x2ee)]['id'],{'unitId':_0xcdeb00,'shapeId':_0x17a242,'shapeData':{'shapeText':_0x1cb67b},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2df3b8}}});},'updateHostSize':({unitId:_0x150e73,subUnitId:_0x2d9c01,shapeId:_0x25cc0f,width:_0x7011fd,height:_0x37d804})=>{const _0x4ca2b4=_0x32aa19;_0x3d6843[_0x4ca2b4(0x15c)](_0x3a4044['UpdateDrawingDocTransformCommand']['id'],{'unitId':_0x150e73,'subUnitId':_0x2d9c01,'drawings':[{'drawingId':_0x25cc0f,'key':_0x4ca2b4(0x2b5),'value':{'width':_0x7011fd,'height':_0x37d804}}]});},'allowHostSizeShrink':({unitId:_0x62e07,subUnitId:_0x2579b8,shapeId:_0x354e4b})=>(0x0,_0x257c32[_0x32aa19(0x26d)])(_0x192484[_0x32aa19(0x43e)](_0x62e07,_0x2579b8,_0x354e4b))}),[_0x3d6843,_0x192484,_0x4e156c]),_0x3d912d=(0x0,_0x308052[_0x32aa19(0x1b8)])(()=>({'viewportKeys':{'main':_0x33827d[_0x32aa19(0x46d)][_0x32aa19(0x2cd)]}}),[]);return(0x0,_0x480c6f['jsx'])(_0x257c32[_0x32aa19(0x49b)],{'adapter':_0x59780a,'editingService':_0x197da3,'editorUnitId':_0x397c85,'positionOptions':_0x3d912d});}),_0x527c2c=class extends _0x179bf7['Disposable']{constructor(_0xf5ae2,_0x2e5520){const _0x5bd7fa=_0x1f6723;super(),this['_componentManager']=_0xf5ae2,this[_0x5bd7fa(0x4b1)]=_0x2e5520,this['_registerIcons'](),this['_registerComponents']();}[_0x1f6723(0x48b)](){const _0x3fffd7=_0x1f6723;this[_0x3fffd7(0x4b1)]['has'](_0x3fffd7(0x22c))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'ObjectLayersIcon':_0x513f1a})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x34c))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'BottomIcon':_0x4d1c39})),this['_iconManager'][_0x3fffd7(0x1ee)](_0x3fffd7(0x3d4))||this[_0x3fffd7(0x18f)](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)]({'MoveDownIcon':_0x9f23a2})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x197))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'MoveUpIcon':_0x3869ba})),this[_0x3fffd7(0x4b1)]['has'](_0x3fffd7(0x3dc))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'ShapeFormatSettingIcon':_0x230edf})),this[_0x3fffd7(0x4b1)][_0x3fffd7(0x1ee)](_0x3fffd7(0x20e))||this[_0x3fffd7(0x18f)](this['_iconManager'][_0x3fffd7(0x160)]({'TopmostIcon':_0xd27de2})),this['disposeWithMe'](this[_0x3fffd7(0x4b1)][_0x3fffd7(0x160)](_0x11a507));}[_0x1f6723(0x307)](){const _0x1de7e6=_0x1f6723;this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x138c9c,_0x40377c)),this[_0x1de7e6(0x30f)](),this[_0x1de7e6(0x291)](),this[_0x1de7e6(0x18f)](this['_componentManager'][_0x1de7e6(0x160)](_0x3e7612,_0xf4080c)),this[_0x1de7e6(0x18f)](this['_componentManager'][_0x1de7e6(0x160)](_0x21c9ec,_0x509acc)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x47fb23,_0x1a18d1)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x517deb,_0x15d181)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)]['register'](_0xf7d6ad,_0x10ab8f)),this['disposeWithMe'](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x110c09,_0x257c32[_0x1de7e6(0x272)])),this[_0x1de7e6(0x1a0)](),this[_0x1de7e6(0x4a1)]['hasDefault'](_0x5656f0['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'])||this['disposeWithMe'](this[_0x1de7e6(0x4a1)]['register'](_0x5656f0['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x57e581)),this[_0x1de7e6(0x18f)](this[_0x1de7e6(0x4a1)][_0x1de7e6(0x160)](_0x13f5c4,_0x14ef5c));}[_0x1f6723(0x30f)](){const _0x117d28=_0x1f6723;this['disposeWithMe'](this['_componentManager'][_0x117d28(0x160)](_0x4872be,_0x2c56e2));}['_registerFloatingToolbar'](){const _0x49fb36=_0x1f6723;this[_0x49fb36(0x18f)](this[_0x49fb36(0x4a1)]['register'](_0x51fd45,_0x1a1021));}[_0x1f6723(0x1a0)](){const _0x3c3da6=_0x1f6723;this[_0x3c3da6(0x18f)](this['_componentManager'][_0x3c3da6(0x160)](_0x50e49e,_0x4288cd)),this[_0x3c3da6(0x18f)](this[_0x3c3da6(0x4a1)]['register'](_0xed3168,_0x266409));}};_0x527c2c=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x376)])),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x342c24[_0x1f6723(0x18a)]))],_0x527c2c);let _0x3f3d6a=class extends _0x179bf7['Disposable']{constructor(_0x15a554,_0x4463a6,_0x2a7e68,_0x43e038,_0x3d0d10,_0x25fbc2,_0x2502dc,_0xf83b0b,_0xba473,_0x333b8b,_0x57bf8e,_0xa1a448,_0x4d22c2){const _0xd36547=_0x1f6723;super(),this['_univerInstanceService']=_0x15a554,this['_sidebarService']=_0x4463a6,this[_0xd36547(0x39b)]=_0x2a7e68,this[_0xd36547(0x4ae)]=_0x43e038,this['_localeService']=_0x3d0d10,this[_0xd36547(0x213)]=_0x25fbc2,this[_0xd36547(0x41e)]=_0x2502dc,this[_0xd36547(0x385)]=_0xf83b0b,this[_0xd36547(0x33a)]=_0xba473,this['_contextService']=_0x333b8b,this[_0xd36547(0x16e)]=_0x57bf8e,this[_0xd36547(0x49a)]=_0xa1a448,this[_0xd36547(0x2b9)]=_0x4d22c2,_0x6a547(this,_0xd36547(0x362),null),_0x6a547(this,_0xd36547(0x194),null),_0x6a547(this,_0xd36547(0x3d1),!0x1),_0x6a547(this,_0xd36547(0x493),0x0),_0x6a547(this,'_disposePopupsByUnit',new Map()),_0x6a547(this,'_popupTargetKeys',new Map()),this[_0xd36547(0x23f)](),this['disposeWithMe'](this[_0xd36547(0x35b)]['getCurrentTypeOfUnit$'](_0x179bf7['UniverInstanceType']['UNIVER_DOC'])['subscribe'](_0x5c3878=>{const _0x1675f1=_0xd36547;if(!_0x5c3878){var _0xb23c2b;(_0xb23c2b=this[_0x1675f1(0x362)])==null||_0xb23c2b[_0x1675f1(0x2ba)]();}})),this['_registerOperations'](),this[_0xd36547(0x18f)]((0x0,_0x257c32[_0xd36547(0x1bd)])(this[_0xd36547(0x33a)],_0x179bf7[_0xd36547(0x42f)]['UNIVER_DOC'],_0x54822d=>this[_0xd36547(0x3cd)](_0x54822d))),this[_0xd36547(0x18f)](this[_0xd36547(0x16e)][_0xd36547(0x310)]['subscribe'](_0x21e32f=>{_0x21e32f&&this['_clearPopups'](void 0x0,!0x0);})),this[_0xd36547(0x18f)](this[_0xd36547(0x49a)]['permissionPointUpdate$'][_0xd36547(0x37a)](()=>{const _0x291aa8=_0xd36547;this['_drawingManagerService'][_0x291aa8(0x2b0)]()[_0x291aa8(0x215)](_0x464e7e=>_0x464e7e[_0x291aa8(0x31a)]===_0x179bf7[_0x291aa8(0x121)]['DRAWING_SHAPE']&&this[_0x291aa8(0x35b)][_0x291aa8(0x1b1)](_0x464e7e[_0x291aa8(0x2aa)])===_0x179bf7[_0x291aa8(0x42f)][_0x291aa8(0x369)]&&!this[_0x291aa8(0x1e1)](_0x464e7e[_0x291aa8(0x2aa)],_0x464e7e[_0x291aa8(0x140)]))&&(this[_0x291aa8(0x252)](void 0x0,!0x0),this[_0x291aa8(0x1c7)]());}));}[_0x1f6723(0x241)](_0x3dd1f8,_0x442c8a,_0x301b27,_0x4fe0b1){const _0x375b87=_0x1f6723;return[{'label':_0x375b87(0x1a8),'index':0x0,'commandId':_0x344cfa['id'],'commandParams':{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27},'disable':_0x4fe0b1===_0x179bf7[_0x375b87(0x121)][_0x375b87(0x2b6)]},{'label':_0x375b87(0x39f),'index':0x1,'commandId':_0x3a4044[_0x375b87(0x188)]['id'],'commandParams':{'unitId':_0x3dd1f8,'drawings':[{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27}]},'disable':!0x1},{'label':_0x375b87(0x36d),'index':0x2,'commandId':_0x4fb5aa['id'],'commandParams':{'unitId':_0x3dd1f8,'subUnitId':_0x442c8a,'drawingId':_0x301b27},'disable':!0x1}];}[_0x1f6723(0x23f)](){const _0x4b8668=_0x1f6723;this['_menuManagerService'][_0x4b8668(0x425)](_0x44179d);}[_0x1f6723(0x172)](_0x179b2c,_0x8c58bd,_0x58edd8){const _0xcd4d99=_0x1f6723;let _0x532cf0=this[_0xcd4d99(0x4ae)]['getShapeTypeById'](_0x179b2c,_0x8c58bd,_0x58edd8),_0x49e91a=this[_0xcd4d99(0x4ae)]['getShapeDataById'](_0x179b2c,_0x8c58bd,_0x58edd8);return _0x532cf0===void 0x0||_0x49e91a===void 0x0?null:{'shapeData':_0x49e91a,'shapeId':_0x58edd8,'shapeType':_0x532cf0,'unitId':_0x179b2c,'subUnitId':_0x8c58bd,'version':this[_0xcd4d99(0x493)],'disableShapeOption':!0x1};}['_clearPopups'](_0xc84b8a,_0x3a02a4=!0x1){const _0x42685b=_0x1f6723;if(_0xc84b8a==null){[...this['_disposePopupsByUnit']['keys']()]['forEach'](_0x583405=>this['_clearPopups'](_0x583405,_0x3a02a4));return;}let _0x3f4262=this[_0x42685b(0x3cc)][_0x42685b(0x2c6)](_0xc84b8a);if(_0x3f4262){for(let _0x5eb0db=_0x3f4262[_0x42685b(0x231)]-0x1;_0x5eb0db>=0x0;--_0x5eb0db){let _0x2eb0b6=_0x3f4262[_0x5eb0db];(_0x3a02a4||_0x2eb0b6[_0x42685b(0x349)]())&&(_0x2eb0b6['dispose'](),_0x3f4262[_0x42685b(0x1a5)](_0x5eb0db,0x1));}_0x3f4262[_0x42685b(0x231)]===0x0&&(this[_0x42685b(0x3cc)]['delete'](_0xc84b8a),this['_popupTargetKeys'][_0x42685b(0x33d)](_0xc84b8a));}}[_0x1f6723(0x23e)](_0x39f81e){const _0x59beb0=_0x1f6723;let _0x380644=this['_disposePopupsByUnit'][_0x59beb0(0x2c6)](_0x39f81e);if(_0x380644)return _0x380644;let _0x22a11c=[];return this[_0x59beb0(0x3cc)]['set'](_0x39f81e,_0x22a11c),_0x22a11c;}[_0x1f6723(0x3cd)](_0x1f0065){const _0x381986=_0x1f6723;var _0x42ccb1;let _0x374460=new _0x179bf7[(_0x381986(0x446))](),_0x929f8f=(_0x42ccb1=this[_0x381986(0x33a)]['getAllRenderersOfType'](_0x179bf7[_0x381986(0x42f)][_0x381986(0x369)])['find'](_0x17c552=>_0x17c552[_0x381986(0x280)][_0x381986(0x49d)]()===_0x1f0065))==null?void 0x0:_0x42ccb1[_0x381986(0x2aa)];return _0x929f8f?(_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x260)][_0x381986(0x37a)](()=>this['_handleCreateControl'](_0x1f0065,_0x929f8f))),_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x344)][_0x381986(0x37a)](()=>{const _0x2cedaa=_0x381986;this[_0x2cedaa(0x252)](_0x929f8f),queueMicrotask(()=>{const _0x27faf9=_0x2cedaa;_0x1f0065['getSelectedObjectMap']()['size']>0x0||!this[_0x27faf9(0x41e)]['getFocusDrawings']()[_0x27faf9(0x215)](_0x183ef1=>_0x183ef1['unitId']===_0x929f8f)||(this[_0x27faf9(0x492)][_0x27faf9(0x122)](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x27faf9(0x389)](null));});})),_0x374460[_0x381986(0x480)](_0x1f0065[_0x381986(0x4a8)][_0x381986(0x37a)](()=>{this['_clearPopups'](_0x929f8f,!0x0);})),_0x374460):_0x374460;}[_0x1f6723(0x1c8)](_0x127ee6,_0x5521f0){const _0x152a05=_0x1f6723;let _0xb5c445=_0x127ee6[_0x152a05(0x128)]();if(this[_0x152a05(0x3d1)]){this[_0x152a05(0x252)](_0x5521f0,!0x0);return;}if(_0xb5c445[_0x152a05(0x2b5)]>0x1){this[_0x152a05(0x252)](_0x5521f0);return;}let _0x3ab521=_0xb5c445[_0x152a05(0x3e7)]()[_0x152a05(0x431)]()[_0x152a05(0x442)];if(!_0x3ab521){this['_clearPopups'](_0x5521f0);return;}let _0x5ec6eb=this[_0x152a05(0x41e)][_0x152a05(0x44f)](_0x3ab521[_0x152a05(0x377)]);if(!_0x5ec6eb||_0x5ec6eb[_0x152a05(0x31a)]!==_0x179bf7[_0x152a05(0x121)][_0x152a05(0x29c)]){this['_clearPopups'](_0x5521f0);return;}let {unitId:_0x23bf93,subUnitId:_0x417c80,drawingId:_0x1f0a8a}=_0x5ec6eb;if(!this[_0x152a05(0x1e1)](_0x23bf93,_0x1f0a8a)){this[_0x152a05(0x252)](_0x5521f0,!0x0);return;}let _0x14c9b4=this[_0x152a05(0x172)](_0x23bf93,_0x417c80,_0x1f0a8a);if(!_0x14c9b4){this[_0x152a05(0x252)](_0x5521f0);return;}let _0x21be73=this[_0x152a05(0x3cc)][_0x152a05(0x2c6)](_0x5521f0),_0x1305d4=_0x23bf93+':'+_0x417c80+':'+_0x1f0a8a;if(this[_0x152a05(0x384)][_0x152a05(0x2c6)](_0x5521f0)===_0x1305d4&&_0x21be73!=null&&_0x21be73[_0x152a05(0x231)])return;this[_0x152a05(0x252)](_0x5521f0);let _0x43a0b2=this[_0x152a05(0x33a)]['getRenderUnitById'](_0x23bf93),_0x4accbf=((_0x43a0b2==null?void 0x0:_0x43a0b2['isMainScene'])===!0x1?_0x43a0b2[_0x152a05(0x1e4)](_0x33827d[_0x152a05(0x1ae)]):this['_docCanvasPopManagerService'])['attachPopupToObject'](_0x3ab521,this[_0x152a05(0x229)](_0x14c9b4,()=>this[_0x152a05(0x252)](_0x5521f0,!0x0)),_0x23bf93);this['disposeWithMe'](_0x4accbf),this[_0x152a05(0x23e)](_0x5521f0)['push'](_0x4accbf),this[_0x152a05(0x384)][_0x152a05(0x21a)](_0x5521f0,_0x1305d4),this[_0x152a05(0x41e)][_0x152a05(0x2b0)]()['some'](_0x826168=>_0x826168[_0x152a05(0x2aa)]===_0x23bf93&&_0x826168[_0x152a05(0x189)]===_0x417c80&&_0x826168['drawingId']===_0x1f0a8a)||this[_0x152a05(0x41e)][_0x152a05(0x389)]([{'unitId':_0x23bf93,'subUnitId':_0x417c80,'drawingId':_0x1f0a8a}]);}['_getShapePopup'](_0x3d402f,_0x212259){const _0x338d91=_0x1f6723;let {unitId:_0x4ac3b3,subUnitId:_0x3b6681,shapeId:_0x5a3491}=_0x3d402f,_0x32b780={'hostType':_0x179bf7['UniverInstanceType'][_0x338d91(0x369)],'unitId':_0x4ac3b3,'subUnitId':_0x3b6681,'shapeId':_0x5a3491};return{'componentKey':_0x51fd45,'direction':_0x338d91(0x37b),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x3d402f[_0x338d91(0x24e)],'onText':()=>{const _0x1d89cb=_0x338d91;_0x212259(),this[_0x1d89cb(0x2b9)][_0x1d89cb(0x1dc)]('text',_0x32b780);},'onStyle':()=>{const _0x5110ec=_0x338d91;_0x212259(),this[_0x5110ec(0x2b9)][_0x5110ec(0x1dc)](_0x5110ec(0x207),_0x32b780);},'onDelete':()=>this[_0x338d91(0x213)][_0x338d91(0x15c)](_0x3a4044[_0x338d91(0x188)]['id'],{'unitId':_0x4ac3b3,'drawings':[{'unitId':_0x4ac3b3,'subUnitId':_0x3b6681,'drawingId':_0x5a3491}]})}};}[_0x1f6723(0x1e1)](_0x4898b0,_0x42c1be){const _0x34b840=_0x1f6723;let _0x1442d=this[_0x34b840(0x35b)][_0x34b840(0x259)](_0x4898b0,_0x179bf7[_0x34b840(0x42f)][_0x34b840(0x369)]);if(!_0x1442d)return!0x1;let _0x1c6159=(0x0,_0x31f1d7['getDocumentDrawingSegmentId'])(_0x1442d,_0x42c1be);return(0x0,_0x31f1d7['canEditDocumentTargets'])(this['_permissionService'],_0x4898b0,[...(0x0,_0x31f1d7[_0x34b840(0x46a)])(_0x1442d,_0x1c6159,_0x34b840(0x199),_0x42c1be),(0x0,_0x31f1d7[_0x34b840(0x2da)])(_0x1c6159,_0x34b840(0x199),_0x42c1be)]);}[_0x1f6723(0x43a)](){const _0xe4ed7f=_0x1f6723;this['disposeWithMe'](this[_0xe4ed7f(0x213)][_0xe4ed7f(0x2e4)](_0x2a958f=>{const _0x4afdf1=_0xe4ed7f;if(_0x2a958f['id']===_0x344cfa['id']){let {unitId:_0x1f7b42,subUnitId:_0x3fe10b,drawingId:_0x5efa6e}=_0x2a958f['params'];this[_0x4afdf1(0x493)]+=0x1,this[_0x4afdf1(0x194)]=this[_0x4afdf1(0x172)](_0x1f7b42,_0x3fe10b,_0x5efa6e),this['_clearPopups'](void 0x0,!0x0),this[_0x4afdf1(0x3a3)]();}if(_0x2a958f['id']===_0x4fb5aa['id']&&(this[_0x4afdf1(0x194)]=null,this['_closeShapeEditPanel']()),_0x2a958f['id']===_0x1d4bf7[_0x4afdf1(0x34a)]['id']){var _0x9c93e1;let {unitId:_0x528713,shapeId:_0x222278}=_0x2a958f[_0x4afdf1(0x41b)];if(((_0x9c93e1=this[_0x4afdf1(0x194)])==null?void 0x0:_0x9c93e1[_0x4afdf1(0x36e)])===_0x222278){let _0x155041=this[_0x4afdf1(0x172)](_0x528713,this[_0x4afdf1(0x194)][_0x4afdf1(0x189)],_0x222278);_0x155041&&(this[_0x4afdf1(0x493)]+=0x1,_0x155041['version']=this['_shapeEditPanelVersion'],this[_0x4afdf1(0x194)]=_0x155041,this[_0x4afdf1(0x3d1)]&&this[_0x4afdf1(0x3a3)]());}}})),this[_0xe4ed7f(0x18f)](this[_0xe4ed7f(0x41e)][_0xe4ed7f(0x2e7)][_0xe4ed7f(0x37a)](_0x4b54e7=>{const _0x320188=_0xe4ed7f;if(!this['_isOpenedShapeEditPanel'])return;if(_0x4b54e7[_0x320188(0x231)]===0x0){this[_0x320188(0x194)]=null,this[_0x320188(0x1c7)]();return;}if(_0x4b54e7[_0x320188(0x231)]===0x1&&_0x4b54e7[0x0][_0x320188(0x31a)]===_0x179bf7[_0x320188(0x121)][_0x320188(0x29c)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x320188(0x194)]=this[_0x320188(0x172)](_0x4b54e7[0x0]['unitId'],_0x4b54e7[0x0][_0x320188(0x189)],_0x4b54e7[0x0][_0x320188(0x140)]),this[_0x320188(0x194)])){this[_0x320188(0x3a3)]();return;}let _0x5edfca=_0x4b54e7['filter'](_0x251300=>_0x251300['drawingType']===_0x179bf7[_0x320188(0x121)]['DRAWING_SHAPE']);if(this[_0x320188(0x493)]+=0x1,this['_activeShapeInfo']=this[_0x320188(0x172)](_0x4b54e7[0x0][_0x320188(0x2aa)],_0x4b54e7[0x0][_0x320188(0x189)],_0x4b54e7[0x0][_0x320188(0x140)]),this[_0x320188(0x194)]&&_0x4b54e7['length']>0x1&&_0x5edfca[_0x320188(0x231)]===_0x4b54e7[_0x320188(0x231)]){this[_0x320188(0x3a3)]();return;}if(this[_0x320188(0x194)]&&_0x5edfca[_0x320188(0x231)]!==_0x4b54e7[_0x320188(0x231)]){this[_0x320188(0x194)][_0x320188(0x3bf)]=!0x0,this[_0x320188(0x3a3)]();return;}this[_0x320188(0x1c7)]();}));}[_0x1f6723(0x3a3)](){const _0x5926be=_0x1f6723;this[_0x5926be(0x194)]&&(this[_0x5926be(0x362)]=this[_0x5926be(0x363)]['open']({'id':_0x138c9c,'header':{'title':this['_localeService']['t'](_0x5926be(0x309))},'width':0x184,'children':{'label':_0x138c9c,...this[_0x5926be(0x194)]},'onClose':()=>{const _0x10e585=_0x5926be;this[_0x10e585(0x41e)][_0x10e585(0x389)](null),this[_0x10e585(0x492)]['setContextValue'](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x10e585(0x362)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x3cb947=_0x1f6723;this[_0x3cb947(0x3d1)]=!0x1,this[_0x3cb947(0x363)][_0x3cb947(0x312)](_0x138c9c),this[_0x3cb947(0x362)]=null,this['_contextService'][_0x3cb947(0x122)](_0x179bf7[_0x3cb947(0x4a2)],!0x1),this[_0x3cb947(0x41e)][_0x3cb947(0x389)](null);}};_0x3f3d6a=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x126)])),_0x23cccd(0x2,_0x342c24['IMenuManagerService']),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7['DocsShapeService'])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7['LocaleService'])),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x6,_0x567d02['IDrawingManagerService']),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocCanvasPopManagerService'])),_0x23cccd(0x8,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x9,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0xa,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0xb,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0xc,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x257c32[_0x1f6723(0x450)]))],_0x3f3d6a);let _0x5d802c=_0x1f6723(0x3e3),_0x7e1561=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x1003f0,_0x523b46,_0x4ea89b,_0x36bf34,_0x553d00,_0x1bf22d){const _0x56c284=_0x1f6723;super(),this[_0x56c284(0x39b)]=_0x1003f0,this[_0x56c284(0x1ef)]=_0x523b46,this[_0x56c284(0x41e)]=_0x4ea89b,this[_0x56c284(0x35b)]=_0x36bf34,this[_0x56c284(0x33a)]=_0x553d00,this[_0x56c284(0x43d)]=_0x1bf22d,_0x6a547(this,_0x56c284(0x2e1),!0x1),this['_menuManagerService'][_0x56c284(0x425)](_0x4f740a),this[_0x56c284(0x18f)]((0x0,_0x179bf7[_0x56c284(0x4a5)])(this[_0x56c284(0x41e)][_0x56c284(0x2e7)][_0x56c284(0x37a)](()=>this['_update']()))),this[_0x56c284(0x32b)]();}[_0x1f6723(0x2ba)](){const _0x36bd56=_0x1f6723;this[_0x36bd56(0x43d)][_0x36bd56(0x459)](!0x1,_0x5d802c),this[_0x36bd56(0x253)](),super[_0x36bd56(0x2ba)]();}[_0x1f6723(0x32b)](){const _0x2a0d3a=_0x1f6723;var _0x59e6ea;let _0x5c079c=this[_0x2a0d3a(0x41e)][_0x2a0d3a(0x2b0)](),_0x13d1eb=_0x5c079c[_0x2a0d3a(0x231)]===0x1?_0x5c079c[0x0]:void 0x0;if((_0x13d1eb==null?void 0x0:_0x13d1eb['drawingType'])!==_0x179bf7[_0x2a0d3a(0x121)][_0x2a0d3a(0x29c)]||this[_0x2a0d3a(0x35b)][_0x2a0d3a(0x1b1)](_0x13d1eb[_0x2a0d3a(0x2aa)])!==_0x179bf7[_0x2a0d3a(0x42f)][_0x2a0d3a(0x369)]){this[_0x2a0d3a(0x43d)][_0x2a0d3a(0x459)](!0x1,_0x5d802c),this[_0x2a0d3a(0x253)]();return;}let _0x22ae7d=(_0x59e6ea=this[_0x2a0d3a(0x33a)][_0x2a0d3a(0x1bc)](_0x13d1eb[_0x2a0d3a(0x2aa)]))==null?void 0x0:_0x59e6ea['engine']['getCanvasElement'](),_0x14fc22=(0x0,_0x257c32[_0x2a0d3a(0x1aa)])(_0x22ae7d)===_0x2a0d3a(0x31e);if(this['_shapeFloatingToolbarService'][_0x2a0d3a(0x459)](_0x14fc22,_0x5d802c),_0x14fc22){this[_0x2a0d3a(0x253)]();return;}this[_0x2a0d3a(0x2e1)]=!0x0,this['_ribbonService'][_0x2a0d3a(0x1c5)](_0x4008c0,{'activate':!0x0});}[_0x1f6723(0x253)](){const _0x1cbeac=_0x1f6723;this[_0x1cbeac(0x2e1)]&&(this[_0x1cbeac(0x2e1)]=!0x1,this[_0x1cbeac(0x1ef)]['hideContextualTab'](_0x4008c0),this[_0x1cbeac(0x1ef)]['setCollapsedIds']([]));}};_0x7e1561=_0x139e28([_0x23cccd(0x0,_0x342c24[_0x1f6723(0x1c9)]),_0x23cccd(0x1,_0x342c24[_0x1f6723(0x1d7)]),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x5,(0x0,_0x179bf7['Inject'])(_0x257c32[_0x1f6723(0x29a)]))],_0x7e1561);let _0x3eb109=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x28ce53,_0x17e75b,_0x76322,_0x201774){const _0x5799e5=_0x1f6723;super(),this[_0x5799e5(0x213)]=_0x28ce53,this['_renderManagerService']=_0x17e75b,this['_drawingManagerService']=_0x76322,this[_0x5799e5(0x14e)]=_0x201774,this[_0x5799e5(0x444)]();}['_initialize'](){const _0x2f42d9=_0x1f6723;this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x41e)][_0x2f42d9(0x37c)]['subscribe'](_0x212300=>this['_insertShapes'](_0x212300))),this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x41e)][_0x2f42d9(0x151)][_0x2f42d9(0x37a)](_0xd113c0=>{const _0x17201b=_0x2f42d9;_0xd113c0[_0x17201b(0x32c)](_0x130318=>this[_0x17201b(0x2ae)](_0x130318));})),this[_0x2f42d9(0x18f)](this[_0x2f42d9(0x213)]['onCommandExecuted'](_0xe9dc92=>{const _0x1901a3=_0x2f42d9;if(_0xe9dc92['id']!==_0x1d4bf7[_0x1901a3(0x34a)]['id'])return;let {unitId:_0x2e6e00,shapeId:_0x46f55b}=_0xe9dc92[_0x1901a3(0x41b)];this[_0x1901a3(0x350)]({'unitId':_0x2e6e00,'subUnitId':_0x2e6e00,'drawingId':_0x46f55b});}));}[_0x1f6723(0x2e8)](_0x4bd83c){const _0x51af2d=_0x1f6723;_0x4bd83c[_0x51af2d(0x32c)](_0x2f5d61=>{const _0x3eee60=_0x51af2d;let _0x3d9e27=this[_0x3eee60(0x1e6)](_0x2f5d61[_0x3eee60(0x2aa)]);if(!_0x3d9e27)return;let _0x577016=this['_drawingManagerService'][_0x3eee60(0x235)](_0x2f5d61);(_0x577016==null?void 0x0:_0x577016[_0x3eee60(0x31a)])===_0x179bf7[_0x3eee60(0x121)]['DRAWING_SHAPE']&&this[_0x3eee60(0x14e)]['renderDrawingShape'](_0x577016,_0x3d9e27['scene']);});}[_0x1f6723(0x2ae)](_0x14d6ee){const _0x3c7f24=_0x1f6723;let _0x2e63e2=this[_0x3c7f24(0x41e)][_0x3c7f24(0x235)](_0x14d6ee);if((_0x2e63e2==null?void 0x0:_0x2e63e2[_0x3c7f24(0x31a)])!==_0x179bf7['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x2f4482=this['_getSceneByUnitId'](_0x14d6ee[_0x3c7f24(0x2aa)]);if(!_0x2f4482||_0x2e63e2[_0x3c7f24(0x182)]==null)return;let _0x5a91d2=(0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])(_0x14d6ee),_0x28a100=_0x2f4482[_0x3c7f24(0x280)]['getObjectIncludeInGroup'](_0x5a91d2);_0x28a100&&(_0x28a100[_0x3c7f24(0x153)](_0x2e63e2['srcRect']),_0x28a100[_0x3c7f24(0x4a0)](_0x2e63e2[_0x3c7f24(0x342)]),_0x28a100[_0x3c7f24(0x402)](!0x0));}[_0x1f6723(0x350)](_0x4c9517){const _0x5103dc=_0x1f6723;let _0x2bf1bb=this[_0x5103dc(0x1e6)](_0x4c9517[_0x5103dc(0x2aa)]);if(!_0x2bf1bb)return;let _0x29edc9=(0x0,_0x567d02[_0x5103dc(0x1e8)])(_0x4c9517),_0x2ecb81=_0x2bf1bb[_0x5103dc(0x280)]['getObjectIncludeInGroup'](_0x29edc9);_0x2ecb81&&(this[_0x5103dc(0x14e)][_0x5103dc(0x467)](_0x2ecb81),this['_docDrawingShapeRenderController'][_0x5103dc(0x2a1)](_0x2ecb81,{'unitId':_0x4c9517['unitId'],'subUnitId':_0x4c9517[_0x5103dc(0x189)],'shapeId':_0x4c9517[_0x5103dc(0x140)]}),_0x2ecb81[_0x5103dc(0x402)](!0x0));}[_0x1f6723(0x1e6)](_0x3fa3d2){const _0x2d0133=_0x1f6723;if(_0x3fa3d2==null)return null;let _0x38f3fb=this[_0x2d0133(0x33a)][_0x2d0133(0x1bc)](_0x3fa3d2),_0x4000dc=_0x38f3fb==null?void 0x0:_0x38f3fb[_0x2d0133(0x280)];return _0x4000dc==null?null:{'scene':_0x4000dc};}};_0x3eb109=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x1,_0x1126ec[_0x1f6723(0x208)]),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x26cade))],_0x3eb109);let _0x173d84=class extends _0x179bf7[_0x1f6723(0x477)]{constructor(_0x3ef309=_0x1b5005,_0x4cbb9c,_0x44eae0,_0x2579fc,_0x47602f){const _0x378503=_0x1f6723;super(),this[_0x378503(0x2e0)]=_0x3ef309,this[_0x378503(0x48a)]=_0x4cbb9c,this[_0x378503(0x213)]=_0x44eae0,this[_0x378503(0x2f4)]=_0x2579fc,this['_renderManagerService']=_0x47602f;let {menu:_0x9f7b96,..._0x5400d2}=(0x0,_0x179bf7['merge'])({},_0x1b5005,this[_0x378503(0x2e0)]);_0x9f7b96&&this[_0x378503(0x2f4)][_0x378503(0x163)](_0x378503(0x422),_0x9f7b96,{'merge':!0x0}),this[_0x378503(0x2f4)][_0x378503(0x163)](_0x49f7b9,_0x5400d2),[_0x171f92,_0x4fb5aa,_0x344cfa,_0x57f7a8,_0x155dac,_0x1317e1][_0x378503(0x32c)](_0x3f539c=>this[_0x378503(0x18f)](this['_commandService'][_0x378503(0x2f1)](_0x3f539c)));}[_0x1f6723(0x3e0)](){const _0x5d9dc8=_0x1f6723;let _0x213e08=[[_0x527c2c],[_0x3f3d6a],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x32a51d],[_0x142998],[_0x26fa84],[_0x1bc893],[_0x7e1561]];(0x0,_0x179bf7[_0x5d9dc8(0x2f3)])(this[_0x5d9dc8(0x48a)],_0x213e08),this['_injector'][_0x5d9dc8(0x2c6)](_0x527c2c);}[_0x1f6723(0x315)](){const _0x11445c=_0x1f6723;this[_0x11445c(0x18f)](this[_0x11445c(0x33a)]['registerRenderModule'](_0x179bf7['UniverInstanceType'][_0x11445c(0x369)],[_0x32a51d])),(0x0,_0x179bf7[_0x11445c(0x3e5)])(this[_0x11445c(0x48a)],[[_0x3f3d6a],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x142998],[_0x26fa84],[_0x1bc893],[_0x7e1561]]);}};_0x6a547(_0x173d84,'type',_0x179bf7[_0x1f6723(0x42f)][_0x1f6723(0x369)]),_0x6a547(_0x173d84,'pluginName',_0x1f6723(0x387)),_0x6a547(_0x173d84,_0x1f6723(0x3b1),_0x2a39c7),_0x6a547(_0x173d84,_0x1f6723(0x3fa),_0x23b802),_0x173d84=_0x139e28([(0x0,_0x179bf7[_0x1f6723(0x43b)])(_0x58581a['UniverLicensePlugin'],_0x31f1d7[_0x1f6723(0x11f)],_0x567d02[_0x1f6723(0x306)],_0x5656f0[_0x1f6723(0x203)],_0x1126ec[_0x1f6723(0x3a5)],_0x33827d['UniverDocsMobileUIPlugin'],_0x198678[_0x1f6723(0x455)],_0x4b09d7[_0x1f6723(0x27b)],_0x1d4bf7[_0x1f6723(0x1d1)],_0x257c32[_0x1f6723(0x302)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7[_0x1f6723(0x181)])),_0x23cccd(0x2,_0x179bf7['ICommandService']),_0x23cccd(0x3,_0x179bf7['IConfigService']),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)])],_0x173d84);let _0x4e6a45=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x444e2a,_0x15ca5a){const _0x57acd0=_0x1f6723;super(),this[_0x57acd0(0x4a1)]=_0x444e2a,this[_0x57acd0(0x4b1)]=_0x15ca5a,this[_0x57acd0(0x48b)](),this['_registerComponents']();}[_0x1f6723(0x48b)](){const _0xcde67b=_0x1f6723;this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)]('ObjectLayersIcon')||this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)]({'ObjectLayersIcon':_0x513f1a})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x34c))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'BottomIcon':_0x4d1c39})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x3d4))||this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)]({'MoveDownIcon':_0x9f23a2})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x197))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'MoveUpIcon':_0x3869ba})),this[_0xcde67b(0x4b1)][_0xcde67b(0x1ee)](_0xcde67b(0x3dc))||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'ShapeFormatSettingIcon':_0x230edf})),this[_0xcde67b(0x4b1)]['has']('TopmostIcon')||this[_0xcde67b(0x18f)](this[_0xcde67b(0x4b1)][_0xcde67b(0x160)]({'TopmostIcon':_0xd27de2})),this[_0xcde67b(0x18f)](this['_iconManager'][_0xcde67b(0x160)](_0x11a507));}[_0x1f6723(0x307)](){const _0x18f036=_0x1f6723;this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x138c9c,_0x1ff39a)),this['_registerObjectListPanel'](),this[_0x18f036(0x291)](),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x3e7612,_0xf4080c)),this['disposeWithMe'](this[_0x18f036(0x4a1)]['register'](_0x21c9ec,_0x509acc)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x47fb23,_0x1a18d1)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x517deb,_0x15d181)),this[_0x18f036(0x18f)](this['_componentManager']['register'](_0xf7d6ad,_0x10ab8f)),this[_0x18f036(0x18f)](this['_componentManager'][_0x18f036(0x160)](_0x110c09,_0x257c32[_0x18f036(0x272)])),this[_0x18f036(0x1a0)](),this['_componentManager'][_0x18f036(0x38d)](_0x5656f0[_0x18f036(0x4af)])||this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x5656f0[_0x18f036(0x4af)],_0x57e581)),this[_0x18f036(0x18f)](this[_0x18f036(0x4a1)][_0x18f036(0x160)](_0x13f5c4,_0x14ef5c));}[_0x1f6723(0x30f)](){const _0x5e5687=_0x1f6723;this[_0x5e5687(0x18f)](this['_componentManager'][_0x5e5687(0x160)](_0x4872be,_0x3292ea));}[_0x1f6723(0x291)](){const _0x45a822=_0x1f6723;this['disposeWithMe'](this[_0x45a822(0x4a1)][_0x45a822(0x160)](_0x51fd45,_0x2feffd));}['_registerPickers'](){const _0x440417=_0x1f6723;this[_0x440417(0x18f)](this[_0x440417(0x4a1)][_0x440417(0x160)](_0x50e49e,_0x6c1722)),this[_0x440417(0x18f)](this[_0x440417(0x4a1)][_0x440417(0x160)](_0xed3168,_0x9b0db7));}};_0x4e6a45=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7['Inject'])(_0x342c24[_0x1f6723(0x376)])),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x18a)]))],_0x4e6a45);let _0x4abcb2=class extends _0x179bf7['Disposable']{constructor(_0xa455bf,_0x4a1b5d,_0x23b855,_0x25b869,_0x523979,_0x5d1753,_0x118295,_0x484d5b,_0x2039a2){const _0x2c7c59=_0x1f6723;super();let _0xec79a5=_0x2790c9=>{const _0xb0b933=_0x5827;let _0x3c925a=_0x5d1753[_0xb0b933(0x259)](_0x2790c9[_0xb0b933(0x2aa)],_0x179bf7[_0xb0b933(0x42f)][_0xb0b933(0x369)]),_0x583903=_0x3c925a?(0x0,_0x31f1d7[_0xb0b933(0x327)])(_0x3c925a,_0x2790c9['shapeId']):'';return!!_0x3c925a&&(0x0,_0x31f1d7[_0xb0b933(0x380)])(_0x484d5b,_0x2790c9[_0xb0b933(0x2aa)],[(0x0,_0x31f1d7['getDocumentEntityPermissionObjectId'])(_0x583903,_0xb0b933(0x199),_0x2790c9[_0xb0b933(0x36e)]),...(0x0,_0x31f1d7[_0xb0b933(0x46a)])(_0x3c925a,_0x583903,_0xb0b933(0x199),_0x2790c9['shapeId'])]);},_0x4956c6=_0x1df41=>_0x1df41['shapeId']&&_0xec79a5(_0x1df41)?_0x23b855[_0x2c7c59(0x43e)](_0x1df41[_0x2c7c59(0x2aa)],_0x1df41[_0x2c7c59(0x36e)])??null:null,_0x746a9c=()=>{const _0x103ff2=_0x2c7c59;let _0x4b8d9c=_0x523979[_0x103ff2(0x2b0)](),_0x7308c6=_0x4b8d9c['length']===0x1?_0x4b8d9c[0x0]:null;return(_0x7308c6==null?void 0x0:_0x7308c6[_0x103ff2(0x31a)])===_0x179bf7[_0x103ff2(0x121)]['DRAWING_SHAPE']&&_0x7308c6[_0x103ff2(0x2aa)]===_0xa455bf[_0x103ff2(0x2aa)]?{'unitId':_0x7308c6[_0x103ff2(0x2aa)],'subUnitId':_0x7308c6['subUnitId'],'shapeId':_0x7308c6['drawingId']}:null;};this[_0x2c7c59(0x18f)]((0x0,_0x257c32[_0x2c7c59(0x30b)])(_0xa455bf,_0x4a1b5d,{'changes$':(0x0,_0x5cf427[_0x2c7c59(0x283)])(_0x523979[_0x2c7c59(0x2e7)],_0x25b869['editingParams$'],_0x484d5b[_0x2c7c59(0x16a)]),'isActive':()=>{const _0x1c041a=_0x2c7c59;var _0x5380b9;return((_0x5380b9=_0x5d1753[_0x1c041a(0x414)]())==null?void 0x0:_0x5380b9[_0x1c041a(0x40d)]())===_0xa455bf[_0x1c041a(0x2aa)]&&!_0x118295['getContextValue'](_0x179bf7[_0x1c041a(0x187)])&&_0x523979[_0x1c041a(0x2b0)]()['some'](_0x2b08f3=>_0x2b08f3[_0x1c041a(0x2aa)]===_0xa455bf[_0x1c041a(0x2aa)]);},'getSelectedTarget':_0x746a9c,'getSource':()=>{let _0x4091e9=_0x746a9c();return _0x4091e9?_0x4956c6(_0x4091e9):null;},'getTarget':_0x3c3353=>{const _0x683366=_0x2c7c59;let _0x5545f=_0xa455bf['scene'][_0x683366(0x43c)](new _0x1126ec['Vector2'](_0x3c3353['offsetX'],_0x3c3353[_0x683366(0x287)]));if(!(_0x5545f instanceof _0x229152))return null;let _0x5ae939={'unitId':_0xa455bf[_0x683366(0x2aa)],'subUnitId':_0xa455bf[_0x683366(0x2aa)],'shapeId':_0x5545f['shapeId']};return _0xec79a5(_0x5ae939)?_0x5ae939:null;},'getShape':_0x4956c6,'update':(_0x264954,_0x2d3c14,_0x51d754)=>_0x2039a2['executeCommand'](_0x1d4bf7['UpdateDocShapeDataCommand']['id'],{..._0x264954,'shapeData':_0x51d754,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x2d3c14}})}));}};_0x4abcb2=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24['FormatPainterSessionService'])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x3,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0x4,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x6,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0x7,_0x179bf7[_0x1f6723(0x356)]),_0x23cccd(0x8,_0x179bf7['ICommandService'])],_0x4abcb2);function _0x14ac8a(_0x243a02,_0x21f1a5){const _0x498688=_0x1f6723;let _0x16e44d=_0x243a02;for(;_0x16e44d;){if(_0x21f1a5(_0x16e44d))return _0x16e44d;_0x16e44d=typeof _0x16e44d[_0x498688(0x21c)]==_0x498688(0x1f2)?_0x16e44d[_0x498688(0x21c)]():null;}return null;}function _0x2eab05(_0x5debce){return _0x14ac8a(_0x5debce,_0x322057=>_0x322057 instanceof _0x229152);}function _0x3f7d7a(_0x480293){return(_0x480293==null?void 0x0:_0x480293['formulaBinding'])==null;}let _0x3c5128=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x5cc4fe,_0x27f152,_0x3de3b6,_0x13df02,_0x1a5dd2){const _0x43c7cc=_0x1f6723;super(),this[_0x43c7cc(0x364)]=_0x5cc4fe,this['_shapeTextEditingService']=_0x27f152,this[_0x43c7cc(0x41e)]=_0x3de3b6,this[_0x43c7cc(0x40a)]=_0x13df02,this[_0x43c7cc(0x4ae)]=_0x1a5dd2,_0x6a547(this,_0x43c7cc(0x3ae),null),_0x6a547(this,_0x43c7cc(0x277),null),this[_0x43c7cc(0x20d)](),this[_0x43c7cc(0x3b3)](),this['_initEditingParams']();}[_0x1f6723(0x2ba)](){const _0x1eb0c7=_0x1f6723;this[_0x1eb0c7(0x47e)](),super[_0x1eb0c7(0x2ba)]();}[_0x1f6723(0x20d)](){const _0x540e9f=_0x1f6723;let {scene:_0x527328}=this[_0x540e9f(0x364)];this[_0x540e9f(0x18f)](_0x527328[_0x540e9f(0x399)][_0x540e9f(0x176)]((_0x6b2aac,_0x110162)=>{const _0x301522=_0x540e9f;let {offsetX:_0x37e032,offsetY:_0x3c666}=_0x6b2aac,_0x332c57=_0x1126ec[_0x301522(0x17b)][_0x301522(0x443)]([_0x37e032,_0x3c666]),_0x5e0556=_0x2eab05(_0x527328[_0x301522(0x43c)](_0x332c57))??this[_0x301522(0x144)](_0x332c57);if(_0x5e0556){_0x110162['stopPropagation']();let _0x224c50=this[_0x301522(0x4ae)][_0x301522(0x21b)](_0x5e0556[_0x301522(0x2aa)],_0x5e0556[_0x301522(0x189)],_0x5e0556['shapeId']);if(!_0x224c50||(0x0,_0x2bd245[_0x301522(0x452)])(_0x224c50[_0x301522(0x2a0)]())||!_0x3f7d7a(_0x224c50['getShapeData']()))return;this[_0x301522(0x16e)][_0x301522(0x11e)]({'visible':!0x0,'unitId':_0x5e0556[_0x301522(0x2aa)],'subUnitId':_0x5e0556[_0x301522(0x189)],'shapeId':_0x5e0556[_0x301522(0x36e)],'shapeKey':_0x5e0556[_0x301522(0x377)]});}}));}[_0x1f6723(0x144)](_0x44c1e5){const _0x496e79=_0x1f6723;let {scene:_0x432d65}=this[_0x496e79(0x364)];return this[_0x496e79(0x41e)]['getFocusDrawings']()['map'](_0x325ad7=>_0x432d65[_0x496e79(0x457)]((0x0,_0x567d02['getDrawingShapeKeyByDrawingSearch'])(_0x325ad7)))[_0x496e79(0x237)](_0x5db974=>_0x5db974 instanceof _0x229152&&_0x5db974[_0x496e79(0x2d4)](_0x44c1e5))??null;}[_0x1f6723(0x3b3)](){const _0xf73671=_0x1f6723;this[_0xf73671(0x18f)](this[_0xf73671(0x41e)][_0xf73671(0x2e7)][_0xf73671(0x37a)](_0x50dff3=>{const _0x569b0f=_0xf73671;if(_0x50dff3['length']===0x1){let _0x28f1d8=_0x50dff3[0x0],_0xbc1cd=this[_0x569b0f(0x41e)][_0x569b0f(0x235)](_0x28f1d8);if((_0xbc1cd==null?void 0x0:_0xbc1cd['drawingType'])===_0x179bf7['DrawingTypeEnum']['DRAWING_SHAPE']){let _0x5d26db=this[_0x569b0f(0x16e)][_0x569b0f(0x1db)]();if((_0x5d26db==null?void 0x0:_0x5d26db[_0x569b0f(0x36e)])===_0x28f1d8['drawingId']&&_0x5d26db['visible'])return;(0x0,_0x2bd245[_0x569b0f(0x452)])(this[_0x569b0f(0x4ae)][_0x569b0f(0x2a0)](_0x28f1d8[_0x569b0f(0x2aa)],_0x28f1d8[_0x569b0f(0x189)],_0x28f1d8['drawingId']))&&this['_shapeTextEditingService']['setEditing'](null);}else this[_0x569b0f(0x16e)]['completeEditing']();}else this[_0x569b0f(0x16e)]['completeEditing']();})),this[_0xf73671(0x18f)](this[_0xf73671(0x41e)][_0xf73671(0x45c)][_0xf73671(0x37a)](_0x511ad6=>{const _0x3d977c=_0xf73671;let _0x4918cd=this[_0x3d977c(0x16e)][_0x3d977c(0x1db)]();_0x4918cd&&_0x511ad6[_0x3d977c(0x215)](_0x214bf9=>_0x214bf9[_0x3d977c(0x140)]===_0x4918cd[_0x3d977c(0x36e)])&&this['_shapeTextEditingService'][_0x3d977c(0x11e)](null);}));}[_0x1f6723(0x49e)](){const _0x5995c6=_0x1f6723;this[_0x5995c6(0x18f)](this[_0x5995c6(0x16e)]['editingParams$']['subscribe'](_0x2c0417=>{const _0x951ae0=_0x5995c6;(_0x2c0417==null?void 0x0:_0x2c0417[_0x951ae0(0x3f9)])===!0x0&&_0x2c0417[_0x951ae0(0x2aa)]===this['_context'][_0x951ae0(0x2aa)]?this[_0x951ae0(0x277)]??=this[_0x951ae0(0x40a)][_0x951ae0(0x137)]():this[_0x951ae0(0x47e)]();let {scene:_0x1cfb50}=this['_context'];if(this[_0x951ae0(0x3ae)]){let _0x44200f=_0x1cfb50[_0x951ae0(0x457)](this[_0x951ae0(0x3ae)]);_0x44200f&&_0x44200f[_0x951ae0(0x11e)](!0x1);}if(_0x2c0417){let _0x2cbc4e=!!_0x2c0417[_0x951ae0(0x3f9)],_0x342ae1=_0x1cfb50['getObjectIncludeInGroup'](_0x2c0417[_0x951ae0(0x2ad)]);_0x342ae1&&(_0x342ae1[_0x951ae0(0x11e)](_0x2cbc4e),this['_lastEditingShapeKey']=_0x2c0417[_0x951ae0(0x2ad)]);}else this['_lastEditingShapeKey']=null;}));}[_0x1f6723(0x47e)](){const _0x17981b=_0x1f6723;var _0x55035e;(_0x55035e=this['_layoutInteraction'])==null||_0x55035e['dispose'](),this[_0x17981b(0x277)]=null;}};_0x3c5128=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0x2,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x3,(0x0,_0x179bf7['Inject'])(_0x33827d['DocLayoutInteractionService'])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)]))],_0x3c5128);let _0x9f4c35=class extends _0x257c32['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x3d7c0e,_0x409b3e,_0x12db78,_0x264516,_0x5a0378,_0x4aefeb,_0x5a3497,_0xdc40d8,_0x195a4f,_0x2a5c99){super(_0x3d7c0e,_0x409b3e,_0x12db78,_0x264516,_0x5a0378,_0x4aefeb,_0x5a3497,_0xdc40d8,_0x195a4f,_0x2a5c99,{'componentKey':_0x110c09,'editorUnitId':_0x397c85});}};_0x9f4c35=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x31f1d7['DocSelectionManagerService'])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocCanvasPopManagerService'])),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1a3)])),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x5,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocEventManagerService'])),_0x23cccd(0x6,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x257c32['ShapeTextHyperLinkPopupService'])),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x31f1d7[_0x1f6723(0x3de)])),_0x23cccd(0x8,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d['DocRenderController'])),_0x23cccd(0x9,(0x0,_0x179bf7['Inject'])(_0x1bc893))],_0x9f4c35);let _0x333cc7=class extends _0x257c32[_0x1f6723(0x183)]{constructor(_0x439d75,_0x3cd026,_0x1b02fb,_0x50eb86,_0x355852){super(_0x439d75,_0x3cd026,{'editing$':_0x1b02fb['editingParams$'],'resolve':_0x1e9771=>{const _0x487e21=_0x5827;var _0xf5fa3c;let _0x20008c=new _0x1126ec[(_0x487e21(0x17b))](_0x1e9771['offsetX'],_0x1e9771[_0x487e21(0x287)]),_0x29b666=((_0xf5fa3c=_0x439d75[_0x487e21(0x280)]['getActiveViewportByCoord'](_0x20008c))==null?void 0x0:_0xf5fa3c[_0x487e21(0x243)](_0x20008c))??_0x20008c,_0x598d53=(0x0,_0x257c32[_0x487e21(0x267)])(_0x439d75[_0x487e21(0x280)]['pick'](_0x20008c)??null,_0x29b666);if(!(_0x598d53 instanceof _0x229152))return null;let _0x43d6cc=_0x598d53[_0x487e21(0x27e)](_0x29b666);if(!_0x43d6cc)return null;let _0x3aa0e4=_0x598d53,_0x21b849={'componentKey':_0x257c32[_0x487e21(0x40f)][_0x487e21(0x264)],'direction':_0x487e21(0x37b),'offset':[0x0,0xa],'onClickOutside':()=>_0x3cd026[_0x487e21(0x282)]()};return{'object':_0x598d53,'info':{..._0x43d6cc,'unitId':_0x598d53[_0x487e21(0x2aa)],'subUnitId':_0x598d53['subUnitId'],'shapeKey':_0x598d53[_0x487e21(0x377)],'readonly':!0x0,'copyable':(0x0,_0x31f1d7[_0x487e21(0x321)])(_0x355852,_0x598d53[_0x487e21(0x2aa)],_0x598d53[_0x487e21(0x2aa)],_0x5d6c3c[_0x487e21(0x13f)][_0x487e21(0x39e)])},'attachPopup':()=>_0x50eb86[_0x487e21(0x248)](_0x3aa0e4,_0x21b849,_0x3aa0e4['unitId'])};}});}};_0x333cc7=_0x139e28([_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x257c32[_0x1f6723(0x473)])),_0x23cccd(0x2,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1bc893)),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1ae)])),_0x23cccd(0x4,_0x179bf7[_0x1f6723(0x356)])],_0x333cc7);let _0x1beda1=class extends _0x179bf7[_0x1f6723(0x170)]{constructor(_0x3aad80,_0x8124c6,_0x16f1ef,_0x4fcc43,_0xec7757,_0xa6e749,_0x15a660,_0x439ba0,_0xc5a1c1,_0x30f115,_0x172727,_0x180e5c){const _0x4b7d7=_0x1f6723;super(),this[_0x4b7d7(0x35b)]=_0x3aad80,this[_0x4b7d7(0x363)]=_0x8124c6,this['_menuManagerService']=_0x16f1ef,this[_0x4b7d7(0x4ae)]=_0x4fcc43,this[_0x4b7d7(0x4ac)]=_0xec7757,this[_0x4b7d7(0x213)]=_0xa6e749,this[_0x4b7d7(0x41e)]=_0x15a660,this[_0x4b7d7(0x385)]=_0x439ba0,this[_0x4b7d7(0x33a)]=_0xc5a1c1,this[_0x4b7d7(0x492)]=_0x30f115,this[_0x4b7d7(0x16e)]=_0x172727,this[_0x4b7d7(0x49a)]=_0x180e5c,_0x6a547(this,'_sidebarDisposable',null),_0x6a547(this,_0x4b7d7(0x194),null),_0x6a547(this,_0x4b7d7(0x3d1),!0x1),_0x6a547(this,_0x4b7d7(0x493),0x0),_0x6a547(this,_0x4b7d7(0x3cc),new Map()),_0x6a547(this,_0x4b7d7(0x384),new Map()),this['_initMenu'](),this[_0x4b7d7(0x18f)](this['_univerInstanceService'][_0x4b7d7(0x435)](_0x179bf7[_0x4b7d7(0x42f)][_0x4b7d7(0x369)])[_0x4b7d7(0x37a)](_0x17ca0e=>{const _0x802828=_0x4b7d7;if(!_0x17ca0e){var _0x1b7646;(_0x1b7646=this[_0x802828(0x362)])==null||_0x1b7646[_0x802828(0x2ba)]();}})),this['_registerOperations'](),this[_0x4b7d7(0x18f)]((0x0,_0x257c32[_0x4b7d7(0x1bd)])(this['_renderManagerService'],_0x179bf7['UniverInstanceType'][_0x4b7d7(0x369)],_0x4a336=>this[_0x4b7d7(0x3cd)](_0x4a336))),this['disposeWithMe'](this[_0x4b7d7(0x16e)][_0x4b7d7(0x310)][_0x4b7d7(0x37a)](_0x11d3ec=>{const _0x39b222=_0x4b7d7;_0x11d3ec&&this[_0x39b222(0x252)](void 0x0,!0x0);})),this[_0x4b7d7(0x18f)](this[_0x4b7d7(0x49a)]['permissionPointUpdate$'][_0x4b7d7(0x37a)](()=>{const _0x3fcb2e=_0x4b7d7;this[_0x3fcb2e(0x41e)][_0x3fcb2e(0x2b0)]()['some'](_0x23ff51=>_0x23ff51['drawingType']===_0x179bf7['DrawingTypeEnum'][_0x3fcb2e(0x29c)]&&this[_0x3fcb2e(0x35b)][_0x3fcb2e(0x1b1)](_0x23ff51[_0x3fcb2e(0x2aa)])===_0x179bf7['UniverInstanceType'][_0x3fcb2e(0x369)]&&!this[_0x3fcb2e(0x1e1)](_0x23ff51[_0x3fcb2e(0x2aa)],_0x23ff51[_0x3fcb2e(0x140)]))&&(this['_clearPopups'](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x1f6723(0x23f)](){const _0x4e7f84=_0x1f6723;this[_0x4e7f84(0x39b)][_0x4e7f84(0x425)](_0x44179d);}[_0x1f6723(0x241)](_0x1ca151,_0x4cd400,_0x1af04a,_0x5ba823){const _0x53ed4a=_0x1f6723;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x344cfa['id'],'commandParams':{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a},'disable':_0x5ba823===_0x179bf7['DrawingTypeEnum'][_0x53ed4a(0x2b6)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x3a4044[_0x53ed4a(0x188)]['id'],'commandParams':{'unitId':_0x1ca151,'drawings':[{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x4fb5aa['id'],'commandParams':{'unitId':_0x1ca151,'subUnitId':_0x4cd400,'drawingId':_0x1af04a},'disable':!0x1}];}['_getShapeInfo'](_0x15b552,_0x421bfc,_0x4f6e0b){const _0x13b10f=_0x1f6723;let _0x4eeba3=this[_0x13b10f(0x4ae)][_0x13b10f(0x138)](_0x15b552,_0x421bfc,_0x4f6e0b),_0xe15cca=this['_docsShapeService'][_0x13b10f(0x43e)](_0x15b552,_0x421bfc,_0x4f6e0b);return _0x4eeba3!==void 0x0&&_0xe15cca!==void 0x0?{'shapeData':_0xe15cca,'shapeId':_0x4f6e0b,'shapeType':_0x4eeba3,'unitId':_0x15b552,'subUnitId':_0x421bfc,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x1f6723(0x252)](_0x98bcbd,_0x24ca07=!0x1){const _0x17f21e=_0x1f6723;if(_0x98bcbd==null){[...this[_0x17f21e(0x3cc)][_0x17f21e(0x313)]()][_0x17f21e(0x32c)](_0x3113fb=>this['_clearPopups'](_0x3113fb,_0x24ca07));return;}let _0x398ba5=this[_0x17f21e(0x3cc)][_0x17f21e(0x2c6)](_0x98bcbd);if(_0x398ba5){for(let _0xce8053=_0x398ba5[_0x17f21e(0x231)]-0x1;_0xce8053>=0x0;--_0xce8053){let _0x255d48=_0x398ba5[_0xce8053];(_0x24ca07||_0x255d48[_0x17f21e(0x349)]())&&(_0x255d48['dispose'](),_0x398ba5[_0x17f21e(0x1a5)](_0xce8053,0x1));}_0x398ba5[_0x17f21e(0x231)]===0x0&&(this[_0x17f21e(0x3cc)][_0x17f21e(0x33d)](_0x98bcbd),this[_0x17f21e(0x384)][_0x17f21e(0x33d)](_0x98bcbd));}}[_0x1f6723(0x23e)](_0x3dd599){const _0x318f7d=_0x1f6723;let _0x13fc2b=this['_disposePopupsByUnit'][_0x318f7d(0x2c6)](_0x3dd599);if(_0x13fc2b)return _0x13fc2b;let _0x15148f=[];return this[_0x318f7d(0x3cc)][_0x318f7d(0x21a)](_0x3dd599,_0x15148f),_0x15148f;}['_popupMenuListener'](_0x15a3b6){const _0x4d4619=_0x1f6723;var _0x80c1e4;let _0x3866e4=new _0x179bf7[(_0x4d4619(0x446))](),_0x1a56cb=(_0x80c1e4=this[_0x4d4619(0x33a)][_0x4d4619(0x257)](_0x179bf7[_0x4d4619(0x42f)]['UNIVER_DOC'])[_0x4d4619(0x237)](_0x21e545=>_0x21e545[_0x4d4619(0x280)][_0x4d4619(0x49d)]()===_0x15a3b6))==null?void 0x0:_0x80c1e4['unitId'];return _0x1a56cb?(_0x3866e4['add'](_0x15a3b6['createControl$'][_0x4d4619(0x37a)](()=>this['_handleCreateControl'](_0x15a3b6,_0x1a56cb))),_0x3866e4[_0x4d4619(0x480)](_0x15a3b6[_0x4d4619(0x344)]['subscribe'](()=>{const _0xdbd675=_0x4d4619;this[_0xdbd675(0x252)](_0x1a56cb),queueMicrotask(()=>{const _0xc613cb=_0xdbd675;_0x15a3b6[_0xc613cb(0x128)]()[_0xc613cb(0x2b5)]>0x0||!this[_0xc613cb(0x41e)][_0xc613cb(0x2b0)]()['some'](_0x329ea1=>_0x329ea1[_0xc613cb(0x2aa)]===_0x1a56cb)||(this[_0xc613cb(0x492)][_0xc613cb(0x122)](_0x179bf7[_0xc613cb(0x4a2)],!0x1),this[_0xc613cb(0x41e)]['focusDrawing'](null));});})),_0x3866e4[_0x4d4619(0x480)](_0x15a3b6[_0x4d4619(0x4a8)][_0x4d4619(0x37a)](()=>{const _0x247e8d=_0x4d4619;this[_0x247e8d(0x252)](_0x1a56cb,!0x0);})),_0x3866e4):_0x3866e4;}[_0x1f6723(0x1c8)](_0x2e3160,_0x21d08e){const _0x7b4e17=_0x1f6723;let _0x82200b=_0x2e3160[_0x7b4e17(0x128)]();if(this[_0x7b4e17(0x3d1)]){this[_0x7b4e17(0x252)](_0x21d08e,!0x0);return;}if(_0x82200b[_0x7b4e17(0x2b5)]>0x1){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x365ee7=_0x82200b[_0x7b4e17(0x3e7)]()[_0x7b4e17(0x431)]()[_0x7b4e17(0x442)];if(!_0x365ee7){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x3e01ba=this[_0x7b4e17(0x41e)][_0x7b4e17(0x44f)](_0x365ee7[_0x7b4e17(0x377)]);if(!_0x3e01ba||_0x3e01ba[_0x7b4e17(0x31a)]!==_0x179bf7[_0x7b4e17(0x121)][_0x7b4e17(0x29c)]){this[_0x7b4e17(0x252)](_0x21d08e);return;}let {unitId:_0x45eeb0,subUnitId:_0x312b37,drawingId:_0x153a1e,drawingType:_0x313076}=_0x3e01ba;if(!this[_0x7b4e17(0x1e1)](_0x45eeb0,_0x153a1e)){this['_clearPopups'](_0x21d08e,!0x0);return;}let _0x538dd0=this['_getShapeInfo'](_0x45eeb0,_0x312b37,_0x153a1e);if(!_0x538dd0){this[_0x7b4e17(0x252)](_0x21d08e);return;}let _0x23f5ae=this[_0x7b4e17(0x3cc)][_0x7b4e17(0x2c6)](_0x21d08e),_0x125d53=_0x45eeb0+':'+_0x312b37+':'+_0x153a1e;if(this[_0x7b4e17(0x384)][_0x7b4e17(0x2c6)](_0x21d08e)===_0x125d53&&_0x23f5ae&&_0x23f5ae[_0x7b4e17(0x231)]>0x0)return;this[_0x7b4e17(0x252)](_0x21d08e);let _0x3bc628=this[_0x7b4e17(0x33a)][_0x7b4e17(0x1bc)](_0x45eeb0),_0x5b20c0=((_0x3bc628==null?void 0x0:_0x3bc628[_0x7b4e17(0x1d3)])===!0x1?_0x3bc628[_0x7b4e17(0x1e4)](_0x33827d[_0x7b4e17(0x1ae)]):this[_0x7b4e17(0x385)])[_0x7b4e17(0x248)](_0x365ee7,this[_0x7b4e17(0x229)](_0x538dd0,_0x313076),_0x45eeb0);this[_0x7b4e17(0x18f)](_0x5b20c0),this[_0x7b4e17(0x23e)](_0x21d08e)[_0x7b4e17(0x45d)](_0x5b20c0),this['_popupTargetKeys'][_0x7b4e17(0x21a)](_0x21d08e,_0x125d53),this[_0x7b4e17(0x41e)][_0x7b4e17(0x2b0)]()[_0x7b4e17(0x215)](_0x1ad2a7=>_0x1ad2a7[_0x7b4e17(0x2aa)]===_0x45eeb0&&_0x1ad2a7[_0x7b4e17(0x189)]===_0x312b37&&_0x1ad2a7[_0x7b4e17(0x140)]===_0x153a1e)||this['_drawingManagerService'][_0x7b4e17(0x389)]([{'unitId':_0x45eeb0,'subUnitId':_0x312b37,'drawingId':_0x153a1e}]);}['_getShapePopup'](_0x862e86,_0x1c1c67){const _0x12a49d=_0x1f6723;return{'componentKey':_0x51fd45,'direction':'vertical-center','offset':[0x0,_0x257c32[_0x12a49d(0x25f)]],'extraProps':{'unitId':_0x862e86[_0x12a49d(0x2aa)],'subUnitId':_0x862e86[_0x12a49d(0x189)],'drawingId':_0x862e86['shapeId'],'drawingType':_0x1c1c67,'shapeType':_0x862e86[_0x12a49d(0x24e)],'shapeData':_0x862e86['shapeData']}};}[_0x1f6723(0x1e1)](_0x2069ca,_0x5797ce){const _0x31a657=_0x1f6723;let _0x21d4eb=this[_0x31a657(0x35b)][_0x31a657(0x259)](_0x2069ca,_0x179bf7['UniverInstanceType'][_0x31a657(0x369)]);if(!_0x21d4eb)return!0x1;let _0x355732=(0x0,_0x31f1d7[_0x31a657(0x327)])(_0x21d4eb,_0x5797ce);return(0x0,_0x31f1d7[_0x31a657(0x380)])(this[_0x31a657(0x49a)],_0x2069ca,[...(0x0,_0x31f1d7['getDocumentEntityParentPermissionObjectIds'])(_0x21d4eb,_0x355732,_0x31a657(0x199),_0x5797ce),(0x0,_0x31f1d7[_0x31a657(0x2da)])(_0x355732,'drawing',_0x5797ce)]);}[_0x1f6723(0x43a)](){const _0xc148cf=_0x1f6723;this[_0xc148cf(0x18f)](this[_0xc148cf(0x213)][_0xc148cf(0x2e4)](_0x4cd7bc=>{const _0x26e87c=_0xc148cf;if(_0x4cd7bc['id']===_0x344cfa['id']){let {unitId:_0x1cb6c4,subUnitId:_0xbdb57a,drawingId:_0x15b4e8}=_0x4cd7bc[_0x26e87c(0x41b)];this[_0x26e87c(0x493)]+=0x1,this[_0x26e87c(0x194)]=this[_0x26e87c(0x172)](_0x1cb6c4,_0xbdb57a,_0x15b4e8),this[_0x26e87c(0x252)](void 0x0,!0x0),this[_0x26e87c(0x3a3)]();}if(_0x4cd7bc['id']===_0x4fb5aa['id']&&(this[_0x26e87c(0x194)]=null,this[_0x26e87c(0x1c7)]()),_0x4cd7bc['id']===_0x1d4bf7['UpdateDocShapeDataMutation']['id']){let {unitId:_0x5449da,shapeId:_0x69bc29}=_0x4cd7bc[_0x26e87c(0x41b)];if(this['_activeShapeInfo']&&this[_0x26e87c(0x194)]['shapeId']===_0x69bc29){let _0x1a1c1f=this[_0x26e87c(0x172)](_0x5449da,this[_0x26e87c(0x194)]['subUnitId'],_0x69bc29);_0x1a1c1f&&(this[_0x26e87c(0x493)]+=0x1,_0x1a1c1f[_0x26e87c(0x3fa)]=this[_0x26e87c(0x493)],this['_activeShapeInfo']=_0x1a1c1f,this[_0x26e87c(0x3d1)]&&this['_openShapeEditPanel']());}}})),this[_0xc148cf(0x18f)](this['_drawingManagerService'][_0xc148cf(0x2e7)][_0xc148cf(0x37a)](_0x4204d6=>{const _0x3854e2=_0xc148cf;if(this[_0x3854e2(0x3d1)]===!0x1)return;if(_0x4204d6['length']===0x0){this[_0x3854e2(0x194)]=null,this[_0x3854e2(0x1c7)]();return;}if(_0x4204d6[_0x3854e2(0x231)]===0x1&&_0x4204d6[0x0][_0x3854e2(0x31a)]===_0x179bf7[_0x3854e2(0x121)][_0x3854e2(0x29c)]&&(this[_0x3854e2(0x493)]+=0x1,this[_0x3854e2(0x194)]=this[_0x3854e2(0x172)](_0x4204d6[0x0]['unitId'],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0][_0x3854e2(0x140)]),this[_0x3854e2(0x194)])){this['_openShapeEditPanel']();return;}let _0x2d59ab=_0x4204d6[_0x3854e2(0x44a)](_0x47544c=>_0x47544c[_0x3854e2(0x31a)]===_0x179bf7[_0x3854e2(0x121)]['DRAWING_SHAPE']);if(_0x4204d6[_0x3854e2(0x231)]>0x1&&_0x2d59ab[_0x3854e2(0x231)]===_0x4204d6[_0x3854e2(0x231)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x3854e2(0x194)]=this['_getShapeInfo'](_0x4204d6[0x0]['unitId'],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0]['drawingId']),this[_0x3854e2(0x194)]){this[_0x3854e2(0x3a3)]();return;}}else{if(this[_0x3854e2(0x493)]+=0x1,this[_0x3854e2(0x194)]=this['_getShapeInfo'](_0x4204d6[0x0][_0x3854e2(0x2aa)],_0x4204d6[0x0][_0x3854e2(0x189)],_0x4204d6[0x0][_0x3854e2(0x140)]),this[_0x3854e2(0x194)]){this['_activeShapeInfo'][_0x3854e2(0x3bf)]=!0x0,this[_0x3854e2(0x3a3)]();return;}}this[_0x3854e2(0x1c7)]();}));}[_0x1f6723(0x3a3)](){const _0x86e4eb=_0x1f6723;this[_0x86e4eb(0x194)]&&(this[_0x86e4eb(0x362)]=this[_0x86e4eb(0x363)][_0x86e4eb(0x1dc)]({'id':_0x138c9c,'header':{'title':this['_localeService']['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':_0x138c9c,...this[_0x86e4eb(0x194)]},'onClose':()=>{const _0x4a10d5=_0x86e4eb;this[_0x4a10d5(0x41e)]['focusDrawing'](null),this[_0x4a10d5(0x492)]['setContextValue'](_0x179bf7[_0x4a10d5(0x4a2)],!0x1),this[_0x4a10d5(0x362)]=null;}}),this[_0x86e4eb(0x3d1)]=!0x0);}[_0x1f6723(0x1c7)](){const _0x586785=_0x1f6723;this[_0x586785(0x3d1)]=!0x1,this['_sidebarService']['close'](_0x138c9c),this[_0x586785(0x362)]=null,this['_contextService'][_0x586785(0x122)](_0x179bf7['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x586785(0x41e)][_0x586785(0x389)](null);}};_0x1beda1=_0x139e28([_0x23cccd(0x0,_0x179bf7[_0x1f6723(0x18b)]),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x342c24[_0x1f6723(0x126)])),_0x23cccd(0x2,_0x342c24[_0x1f6723(0x1c9)]),_0x23cccd(0x3,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x4,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7[_0x1f6723(0x46f)])),_0x23cccd(0x5,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x6,_0x567d02[_0x1f6723(0x316)]),_0x23cccd(0x7,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x33827d[_0x1f6723(0x1ae)])),_0x23cccd(0x8,_0x1126ec['IRenderManagerService']),_0x23cccd(0x9,_0x179bf7[_0x1f6723(0x3d8)]),_0x23cccd(0xa,(0x0,_0x179bf7['Inject'])(_0x1bc893)),_0x23cccd(0xb,_0x179bf7[_0x1f6723(0x356)])],_0x1beda1);let _0x2a86b3=class extends _0x179bf7['Disposable']{constructor(_0xb66b86,_0x2f6478){const _0x319da9=_0x1f6723;super(),this[_0x319da9(0x4ae)]=_0xb66b86,this[_0x319da9(0x4ac)]=_0x2f6478,this[_0x319da9(0x18f)]((0x0,_0x179bf7[_0x319da9(0x4a5)])((0x0,_0x1126ec[_0x319da9(0x42e)])((_0x1f5390,_0x4d0ccf,_0x48c77f)=>this[_0x319da9(0x4a9)](_0x1f5390,_0x4d0ccf,_0x48c77f))));}[_0x1f6723(0x4a9)](_0x576429,_0x52e7e6,_0x2ecd5f){const _0x1256a6=_0x1f6723;let _0x1e58e4=this[_0x1256a6(0x4ae)][_0x1256a6(0x21b)](_0x576429,_0x52e7e6);if(!_0x1e58e4)return null;let _0x303907=_0x1e58e4['getShapeData'](),_0x353fd5=(0x0,_0x2bd245[_0x1256a6(0x338)])(_0x303907),_0x51ba95=_0x303907[_0x1256a6(0x3a1)];if(!_0x51ba95||_0x353fd5[_0x1256a6(0x4ab)]!==_0x2bd245[_0x1256a6(0x2ac)][_0x1256a6(0x3be)])return null;let _0x3553f8=_0x2ecd5f[_0x1256a6(0x370)],_0x3870f2=_0x2ecd5f['fallbackHeight'];_0x1e58e4[_0x1256a6(0x353)]({'width':_0x3553f8,'height':_0x3870f2});let _0x63d04=_0x1e58e4[_0x1256a6(0x2a3)]({'left':0x0,'top':0x0,'width':_0x3553f8,'height':_0x3870f2}),_0x5b7832=(0x0,_0x257c32[_0x1256a6(0x415)])(_0x1256a6(0x2bc)in _0x51ba95?_0x51ba95[_0x1256a6(0x2bc)]:void 0x0),_0x4f643f=(_0x5b7832==null?void 0x0:_0x5b7832[_0x1256a6(0x3a0)])??('isRichText'in _0x51ba95?(0x0,_0x257c32['plainShapeTextToDocumentData'])(_0x51ba95,_0x52e7e6+_0x1256a6(0x26a)):null);if(!_0x4f643f)return null;let _0x5aab70=(0x0,_0x257c32[_0x1256a6(0x2e3)])({'documentData':_0x4f643f,'height':_0x3870f2,'shapeData':_0x303907,'textRect':_0x63d04,'width':_0x3553f8,'widthBuffer':0x0});_0x5aab70&&({width:_0x3553f8,height:_0x3870f2}=_0x5aab70,_0x1e58e4['updateContext']({'width':_0x3553f8,'height':_0x3870f2}),_0x63d04=_0x1e58e4['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x3553f8,'height':_0x3870f2}));let _0x4cdc7f=_0x51ba95[_0x1256a6(0x220)]!==!0x1,_0x5b3f64=(0x0,_0x257c32[_0x1256a6(0x367)])(_0x4f643f,{'isHorizontal':_0x4cdc7f,'textRect':_0x63d04,'verticalAlign':_0x5b7832==null?void 0x0:_0x5b7832['va'],'horizontalAlign':_0x5b7832==null?void 0x0:_0x5b7832['ha'],'wrapStrategy':(0x0,_0x257c32[_0x1256a6(0x2ea)])(_0x303907)}),_0x15a174=new _0x179bf7[(_0x1256a6(0x40c))](_0x5b3f64),_0x559930=new _0x1126ec[(_0x1256a6(0x33e))](_0x15a174),_0x281729=_0x1126ec[_0x1256a6(0x3f7)][_0x1256a6(0x38c)](_0x559930,this['_localeService']);try{var _0x31098c,_0x53cb0e;_0x281729['calculate']();let _0x2f7d59=((_0x31098c=_0x281729['getSkeletonData']())==null?void 0x0:_0x31098c['pages'])??[],_0x36b7a7=_0x2f7d59[_0x2f7d59['length']-0x1],_0x1a062a=_0x36b7a7?Math[_0x1256a6(0x226)](0x0,((_0x53cb0e=(0x0,_0x1126ec['getLastLine'])(_0x36b7a7))==null?void 0x0:_0x53cb0e[_0x1256a6(0x44d)])??0x0):0x0,_0x43ea7b=_0x281729[_0x1256a6(0x409)]()[_0x1256a6(0x2af)]+_0x1a062a-(_0x4cdc7f?_0x63d04['height']:_0x63d04[_0x1256a6(0x258)]);return Number[_0x1256a6(0x1be)](_0x43ea7b)?_0x4cdc7f?{'width':_0x3553f8,'height':Math[_0x1256a6(0x226)](0x1,_0x3870f2+_0x43ea7b)}:{'width':Math[_0x1256a6(0x226)](0x1,_0x3553f8+_0x43ea7b),'height':_0x3870f2}:null;}finally{_0x281729[_0x1256a6(0x2ba)](),_0x559930['dispose'](),_0x15a174[_0x1256a6(0x2ba)]();}}};_0x2a86b3=_0x139e28([_0x23cccd(0x0,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x1d4bf7[_0x1f6723(0x390)])),_0x23cccd(0x1,(0x0,_0x179bf7['Inject'])(_0x179bf7[_0x1f6723(0x46f)]))],_0x2a86b3);let _0x627297=class extends _0x179bf7[_0x1f6723(0x477)]{constructor(_0x2b9a4c=_0x1b5005,_0x723d19,_0x32044e,_0x5d473e,_0x44e5e4){const _0x4b74ed=_0x1f6723;super(),this['_config']=_0x2b9a4c,this[_0x4b74ed(0x48a)]=_0x723d19,this[_0x4b74ed(0x213)]=_0x32044e,this[_0x4b74ed(0x2f4)]=_0x5d473e,this[_0x4b74ed(0x33a)]=_0x44e5e4;let {menu:_0x1009d8,..._0x5da73f}=(0x0,_0x179bf7['merge'])({},_0x1b5005,this['_config']);_0x1009d8&&this['_configService'][_0x4b74ed(0x163)](_0x4b74ed(0x422),_0x1009d8,{'merge':!0x0}),this[_0x4b74ed(0x2f4)][_0x4b74ed(0x163)](_0x49f7b9,_0x5da73f),this[_0x4b74ed(0x3ba)]();}[_0x1f6723(0x3e0)](){const _0x153344=_0x1f6723;(0x0,_0x179bf7[_0x153344(0x2f3)])(this['_injector'],this[_0x153344(0x1fc)]()),this['_injector'][_0x153344(0x2c6)](_0x4e6a45),this[_0x153344(0x476)]();}[_0x1f6723(0x1fc)](){return[[_0x4e6a45],[_0x1beda1],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x32a51d],[_0x142998],[_0x26fa84],[_0x2a86b3],[_0x1bc893],[_0x7e1561]];}[_0x1f6723(0x315)](){const _0x217504=_0x1f6723;this[_0x217504(0x3df)]()['forEach'](_0x57ff2c=>{const _0xab3c4a=_0x217504;this[_0xab3c4a(0x18f)](this[_0xab3c4a(0x33a)][_0xab3c4a(0x17f)](_0x179bf7[_0xab3c4a(0x42f)][_0xab3c4a(0x369)],_0x57ff2c));}),(0x0,_0x179bf7[_0x217504(0x3e5)])(this['_injector'],[[_0x1beda1],[_0x3eb109],[_0x26cade],[_0x36caba],[_0x142998],[_0x26fa84],[_0x2a86b3],[_0x1bc893],[_0x7e1561]]);}['_getRenderModules'](){return[[_0x32a51d],[_0x3c5128],[_0x333cc7],[_0x4abcb2]];}['onRendered'](){const _0xceadce=_0x1f6723;this[_0xceadce(0x18f)](this[_0xceadce(0x33a)]['registerRenderModule'](_0x179bf7['UniverInstanceType']['UNIVER_DOC'],[_0x9f4c35]));}[_0x1f6723(0x3ba)](){const _0x40ac2a=_0x1f6723;[_0x171f92,_0x4fb5aa,_0x344cfa,_0x57f7a8,_0x155dac,_0x1317e1][_0x40ac2a(0x32c)](_0x4c539d=>this['disposeWithMe'](this['_commandService'][_0x40ac2a(0x2f1)](_0x4c539d)));}[_0x1f6723(0x476)](){const _0x78b64b=_0x1f6723;let _0x407a75=this[_0x78b64b(0x48a)],_0x151b2f=_0x407a75[_0x78b64b(0x2c6)](_0x342c24[_0x78b64b(0x3bb)]);this[_0x78b64b(0x18f)](_0x151b2f['registerComponent'](_0x342c24[_0x78b64b(0x1a6)][_0x78b64b(0x28e)],()=>(0x0,_0x342c24[_0x78b64b(0x2e2)])(_0x14ef5c,_0x407a75)));}};_0x6a547(_0x627297,_0x1f6723(0x333),_0x179bf7[_0x1f6723(0x42f)][_0x1f6723(0x369)]),_0x6a547(_0x627297,'pluginName',_0x1f6723(0x387)),_0x6a547(_0x627297,'packageName',_0x2a39c7),_0x6a547(_0x627297,_0x1f6723(0x3fa),_0x23b802),_0x627297=_0x139e28([(0x0,_0x179bf7['DependentOn'])(_0x58581a[_0x1f6723(0x28b)],_0x31f1d7[_0x1f6723(0x11f)],_0x567d02['UniverDrawingPlugin'],_0x5656f0[_0x1f6723(0x13b)],_0x1126ec[_0x1f6723(0x3a5)],_0x33827d[_0x1f6723(0x16c)],_0x198678[_0x1f6723(0x455)],_0x4b09d7[_0x1f6723(0x396)],_0x1d4bf7[_0x1f6723(0x1d1)],_0x257c32['UniverShapeEditorUIPlugin']),_0x23cccd(0x1,(0x0,_0x179bf7[_0x1f6723(0x371)])(_0x179bf7['Injector'])),_0x23cccd(0x2,_0x179bf7[_0x1f6723(0x483)]),_0x23cccd(0x3,_0x179bf7[_0x1f6723(0x19b)]),_0x23cccd(0x4,_0x1126ec[_0x1f6723(0x208)])],_0x627297),_0x20f644['DocsShapeUIMenuSchema']=_0x44179d,Object['defineProperty'](_0x20f644,_0x1f6723(0x219),{'enumerable':!0x0,'get':function(){return _0x173d84;}}),Object[_0x1f6723(0x395)](_0x20f644,'UniverDocsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x627297;}});}));function _0x5827(_0x5ee0b3,_0x42ab03){_0x5ee0b3=_0x5ee0b3-0x117;const _0x3f6ab0=_0x3f6a();let _0x5827d9=_0x3f6ab0[_0x5ee0b3];return _0x5827d9;}function _0x3f6a(){const _0x2dac3a=['Fragment','exports','isEditing','OBJECT_LIST_FLOATING_SECTION_ID','type','drawing-ui.objectListPanel.moveBackward','_setTransForm','DocumentEntity','fontSize','resolveShapeTextBodyBehavior','iterator','_renderManagerService','DocSelectionManagerService','docs-shape-ui.quickStyles','delete','DocumentViewModel','@univerjs-pro/license','popup','PRINTING_COMPONENT_COLLECT','prstGeom','isRenderLinePointsMode','clearControl$','intercept','_canEdit','2049tQvvqV','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','canDispose','UpdateDocShapeDataMutation','pages','BottomIcon','custom','_shapeId','getSnapshot','_refreshShapeData','univer-grid\x20univer-gap-5\x20univer-p-3','ShapeEditPanel','updateContext','docs-shape-ui.mobile.text','UpdateDocDrawingWrappingStyleCommand','IPermissionService','setPresentation','ShapeFormulaService','DocsShapeWrapSquareIcon','endArrow','_univerInstanceService','current','indexOf','drawing-ui.objectListPanel.name','map','_activeShapeId','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','_sidebarDisposable','_sidebarService','_context','selectable','strokeWidth','prepareShapeTextDocumentData','isLineShape','UNIVER_DOC','useFormulaShapeToolbar','pipe','_adjHandlerPointerUp','docs-shape-ui.hidePanel','shapeId','flipY','fallbackWidth','Inject','enhanceParams','DOC','clipTop','DOC_PARAGRAPH_T_INSERT_MENU_ID','ComponentManager','oKey','getPresentation','drawing-ui.objectListPanel.expand','subscribe','top-center','add$','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','getTextModel','srcRect','canEditDocumentTargets','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','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','SolidFill','_popupTargetKeys','_docCanvasPopManagerService','animationEnabled','DOCS_SHAPE_UI_PLUGIN','_formulaAnimation','focusDrawing','bottom-icon','getDrawingPoints','create','hasDefault','getActiveTextRange','angle','DocsShapeService','flatMap','offsetX','717650OoJkGj','RENDER_CLASS_TYPE','defineProperty','UniverDocsDrawingUIPlugin','@univerjs/docs-drawing','DEFAULT_DOC_SHAPE_WIDTH','onDblclick$','shapeModel','_menuManagerService','getScene','clipHeight','Copy','docs-shape-ui.deleteShape','doc','shapeText','_shapeRenderController','_openShapeEditPanel','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','UniverRenderEnginePlugin','getDrawingData','useEffect','Arrow','height','Large','getAutoFitPresentations','DocShapeAnchorPosition','_isShouldShowDrawingShapeAdjust','_lastEditingShapeKey','drawing-ui.objectListPanel.filterHidden','min','packageName','docs-shape-ui.objectListPanel.open','_initSelection','drawing-ui.objectListPanel.search','canvas','getMenuHiddenObservable','shape-editor-ui.arrange.forward','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','getRealBound','_initCommands','IUIPartsService','translateWithPrecision','SELECTOR','SpAutoFit','disableShapeOption','UpdateDocDrawingMetadataCommand','idSuffix','_hyperLinkRegions','getShapeQuickStyleType','INLINE','docs-shape-ui.textWrap.square','resolveShapeTextEditorBehaviorShapeData','getSkeletonData','VerticalAlign','flipX','tag','useState','_disposePopupsByUnit','_popupMenuListener','ShapeTypeEnum','_subUnitId','ArrangeTypeEnum','_isOpenedShapeEditPanel','multiply','_loadAndSetImage','MoveDownIcon','getTransformer','UniverUi','applyQuickStyleToShapeData','IContextService','calcAdjValues','viewBound','getPropertyPriority','ShapeFormatSettingIcon','cloneShapeDataForType','DocInterceptorService','_getRenderModules','onStarting','drawing-ui.objectListPanel.sectionFloating','clearActiveDrawingObjects','docs-shape-contextual-ribbon','forwardRef','touchDependencies','debounceRefreshControls','values','stroke-width','0\x200\x2020\x2020','getTextStyle','path','left','_isStartAdjusting','TextWrappingStyle','_addShapeAdjustControl','SetDocDrawingArrangeCommand','clear','includes','getPageDrawingIds','doc.image-clip.shape-picker.component','_clearCompletionFrame','PaintIcon','DocumentSkeleton','ShapePickerPanel','visible','version','FloatingObjectToolbarPosition','complete','doc.shape.text.float-menu','docs-shape-ui.insertShape','http://www.w3.org/2000/svg','MenuManagerPosition','startArrow','makeDirty','square','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','warn','transformForAngle','docs-shape-ui.shape-format.text-ribbon-control','_clipService','getActualSize','_docLayoutInteractionService','_docPrintInterceptorService','DocumentDataModel','getUnitId','onPointerUp$','ShapeTextHyperLinkInfo','LEFT','doc.command.menu-insert-shape','refreshAdjustControls','_drawingType','getFocusedUnit','normalizeShapeTextModel','replace','drawWith','startWith','registerClipDelegate','doc.shape.floating-toolbar','params','209977rEkvem','PositionedObjectLayoutType','_drawingManagerService','MobileActionRow','_updateAdjustControlPositions','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','menu','setCanUseShapeClip','BEHIND_TEXT','mergeMenu','1204AMpdfB','segmentId','getObjectListPanelSectionIdForDrawingType','docs-shape-ui.ribbon.shape-format.text-control','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','more-down-icon','_loadShapePictureFill','_unitId','setDocsCustomBlockRenderViewportProvider','UniverInstanceType','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','next','none','wrapStrategy','contentHeight','getCurrentTypeOfUnit$','ShapeFillEnum','RIBBON','jsxs','getSelfOrHeaderFooterModel','_registerOperations','DependentOn','pick','_shapeFloatingToolbarService','getShapeDataById','UUID','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','formulaBinding','value','FromArray','_initialize','resize','DisposableCollection','startIndex','MobileMenu','ShapePickerDropdown','filter','activeTarget','top-bottom','spaceBelowApply','ancestorTransform','getDrawingOKey','MobileShapeEditorService','DrawingImageClipService','isConnectorShape','resetCursor','clip','UniverShapeEditorPlugin','buildClipPath','getObjectIncludeInGroup','ShapeGroupEnum','setFallbackVisible','error','disconnect','remove$','push','_instanceService','getParagraphContentStartOffset','_urlImageService','1021086TLqCiZ','activateDrawingObject','hasAttribute','_getActiveDrawingParam','front','sin','refreshShapeFillImage','@univerjs-pro/shape-editor','getDrawingEffectBounds','getDocumentEntityParentPermissionObjectIds','evenodd','syncExecuteCommand','VIEWPORT_KEY','Transform','LocaleService','objects','DocsShapeWrapTopBottomIcon','_releaseRenderCache','ShapeTextHyperLinkPopupService','back','getAdjustInfoByName','_initUIPart','Plugin','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','getDrawingDataForUnit','INSERT_BELLOW_MENU_ID','Path','ShapeStyleRibbonControl','UniverProShapeEditorUi','_endLayoutInteraction','colorChannel1','add','WRAP_TOP_AND_BOTTOM','setFillImage','ICommandService','IDocDrawingService','restore','_clearShapeAdjustControls','_onSavingEditorData$','element','startOffset','_injector','_registerIcons','drawing-ui.objectListPanel.descriptionPlaceholder','visible$','localeService','M4.2\x208.3H6.8','ShapeDefaultConfig','react','_contextService','_shapeEditPanelVersion','image','UniverProShapeEditor','getPropertyValue','strokeOpacity','@univerjs/ui','drawing-ui.objectListPanel.details','_permissionService','ShapeTextEditorContainer','_registerDrawingFocusChangeHandler','getTransformerByCreate','_initEditingParams','InsertDocShapeCommand','setPrstGeom','_componentManager','FOCUSING_COMMON_DRAWINGS','getShapeData','getValue','toDisposable','0\x200\x2016\x2016','OPERATION','changing$','_measure','save','autoFitType','_localeService','DOC_CONTENT_INSERT_MENU_ID','_docsShapeService','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','docs-shape-ui.mobile.style','_iconManager','docs-shape-ui.textWrap.inFrontText','entries','0.14','rect','512799FUEryz','_baseShapeLeft','doc.operation.update-shape-type','_registerDrawingTransformHandler','ContextMenuGroup','docs-shape-ui.shape-format.formula-ribbon-control','_adjustPointObjects','setEditing','UniverDocsPlugin','extraProps','DrawingTypeEnum','setContextValue','name','setShapeProps','drawings','ISidebarService','IImageIoService','getSelectedObjectMap','calculate','DRAWING_OBJECT_LAYER_INDEX','5534752uzeaBq','shape-editor-ui.toolbar.changeShape','updateShapeFillImage','BUTTON','extensionGroups','top','fill','behind','headerId','useId','bottom','drawing-ui.objectListPanel.unlockHint','beginInteraction','getShapeTypeById','attrs','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','UniverDrawingUIPlugin','#3B82F6','createInternalEditorID','marginTop','UnitAction','drawingId','order','src','priority','_getFocusedShapeAtPoint','adjName','below','stopPropagation','onPointerMove$','_adjName','canvasElement','amd','drawing-ui.objectListPanel.collapse','_editingParams$','_docDrawingShapeRenderController','skeTables','_drawRichTextLayer','update$','_adjHandlerPointerMove','setSrcRect','ImageSourceTypeEnum','url(#$1','@univerjs/docs-ui','DocsShapeWrapBehindTextIcon','target','onSavingEditorData$','1em','skeDrawings','executeCommand','docs-shape-ui.ribbon.shape-format.style-control','isDrawingObject','clearAdjustControls','register','useObservable','_drawRichText','setConfig','React','@univerjs/core','defIds','invert','MoreDownIcon','skeFooters','permissionPointUpdate$','behindText','UniverDocsUIPlugin','animateFormulaPresentation','_shapeTextEditingService','GROUP','Disposable','description','_getShapeInfo','shouldClipShapeTextDocument','trim','doc.operation.open-shape-object-list-panel','subscribeEvent','doc.shape.object-list.panel','pageWidth','xlink:href','jsx','Vector2','DrawingCommonPanel','_activeAdjustInfo','actions','registerRenderModule','getBoundingClientRect','Injector','transform','ShapeTextHyperLinkHoverController','panel','useDependency','adjHandleSize','FOCUSING_SHAPE_TEXT_EDITOR','RemoveDocDrawingCommand','subUnitId','IconManager','IUniverInstanceService','behindDoc','transformByState','stroke','disposeWithMe','docs-shape-ui.textWrap.inline','drawing-ui.objectListPanel.showAll','FormulaShapeAnimationController','docs-shape-ui.crop.shape','_activeShapeInfo','ShapeLineTypeEnum','PARAGRAPH','MoveUpIcon','M4.2\x205.5H10.5','drawing','Documents','IConfigService','DocPrintInterceptorService','_registerImageShapeClipDelegate','0.8','getDrawingOrder','_registerPickers','WRAP_NONE','univer-box-border\x20univer-px-4\x20univer-text-sm','DocSelectionRenderService','layoutType','splice','BuiltInUIPart','children','docs-shape-ui.openPanel','5.5','resolveShapeContextualRibbonHostMode','translate','parseFloat','gradientEndColor','DocCanvasPopManagerService','removeProperty','_getActiveDrawingShape','getUnitType','0\x200\x2017\x2016','reduce','renderDrawingShape','adjHandleStroke','_activeShapeAdjustPointList','object','useMemo','UniverProDocsShape','docs-shape-text-','horizontal','getRenderUnitById','bindRenderTransformerLifecycle','isFinite','paragraph','IURLImageService','getMatrix','use','icon','topmost-icon','showContextualTab','ShapeArrowTypeEnum','_closeShapeEditPanel','_handleCreateControl','IMenuManagerService','getImageSourceCache','vectorEffect','_applyFormulaAutoFitSize','ShapeTextRibbonControl','ShapeModel','Shape','resolveShapeTextHyperLinkAt','UniverDocsShapePlugin','appliedStrokeWidth','isMainScene','unsubscribe','_draw','BooleanNumber','IRibbonService','MobileDocDrawingPosition','URL','_getShapeAdjustPointListById','getEditing','open','@univerjs/design','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','applyPoint','MoreUpIcon','_canEditShape','useLayoutEffect','@univerjs/docs','with','docs-shape-ui.textWrap.topAndBottom','_getSceneByUnitId','Module','getDrawingShapeKeyByDrawingSearch','div','univerjs-icon\x20univerjs-icon-','enableObjectsEvent','buildShapeTextDataUpdate','Line','has','_ribbonService','rxjs','SetDocumentPermissionCommand','function','DEFAULT_DOC_SHAPE_HEIGHT','createShapeTextBoxShapeData','beginPath','cancelEditing','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','CommandType','HorizontalAlign','MenuItemType','clearAdjustValue','_getDependencies','classType','removeAttribute','rows','sectionFloating','text','_formulaKey','UniverDrawingMobileUIPlugin','isInGroup','UniverDocs','@univerjs-pro/engine-shape','style','IRenderManagerService','@univerjs-pro/docs-shape-ui','UniverCore','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','svg','_initEvents','TopmostIcon','_transform','OTHERS','currentColor','useReducer','_commandService','SHAPE_CHANGE_PICKER_COMPONENT','some','ObjectPermissionButton','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','_baseShapeHeight','UniverDocsShapeMobileUIPlugin','set','getShapeModel','getParent','subtle','assign','fillImageSource','isHorizontal','#2563EB','UniverDesign','asObservable','forward','completeEditing','max','ObjectListPanelBase','ContextMenuPosition','_getShapePopup','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','univer-grid\x20univer-gap-3','ObjectLayersIcon','_transformCalculateSrcRect','_init','TRUE','drawing-ui.objectListPanel.moveForward','length','drawing-ui.objectListPanel.description','preValue','localName','getDrawingByParam','_props','find','useRef','getShapeQuickStylePreset','_activeShapeModel','TOP','cells','true','_getDisposePopups','_initMenu','onTransformChange$','getShapePopupMenus','BehaviorSubject','transformVector2SceneCoord','RibbonInsertGroup','UniverDrawingUi','getDrawingTypeNameKey','drawing-ui.objectListPanel.filterAll','attachPopupToObject','changeEnd$','_baseShapeTop','baseVal','UniverProtocol','decorate','shapeType','_updateShapeAdjustControls','label','insertGroupObject','_clearPopups','_hide','_shapeFormulaService','parent','getDrawingSearch','getAllRenderersOfType','width','getUnit','updateDocumentStyle','getCurrentUnitOfType','MobileShapeEditorControls','SHAPE_EDITOR_TRANSFORMER_CONFIG','getViewports','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','createControl$','scale','DocParagraphMenuService','hidden','componentKey','color','docs-shape-ui.ribbon.shape-format.arrange-front','resolveShapeTextHyperLinkObject','paragraphMenuPlacement','cos','-layout','isReleased','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','shouldAllowShapeTextEditorHostSizeShrink','move-up-icon','menuRange','UniverEngineRender','docs-shape-ui.config','ShapeTextFloatToolbar','generateRandomId','RichTextEditingMutation','_getShapeAdjustInfosById','formulaPresentation','_layoutInteraction','_updateSrcRectByTransform','fontFamily','EMPTY_PARAGRAPH_MENU_ID','UniverDocsDrawingMobileUIPlugin','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','getImage','resolveHyperLinkAt','contentVerticalOffset','scene','LAYOUT','hideInfoPopup','merge','clipByShape','clip-','docs-shape-ui.shape-format.style-ribbon-control','offsetY','docs-shape-ui.ribbon.shape-format.arrange-backward','reverse','endOffset','UniverLicensePlugin','getShapeTextData','round','CONTENT','footerId','ShapeQuickStyleGallery','_registerFloatingToolbar','_renderWithCache','Observable','more-up-icon','_createShapeAdjustControls','UNIVER_SHEET','DOCS_COMPONENT_MAIN_LAYER_INDEX','skeHeaders','ShapeFloatingToolbar','ShapeFloatingToolbarService','memo','DRAWING_SHAPE','createElement','doc.shape.picker.component','createShapeFormulaDocument','getShapeType','refreshFormulaPresentation','PictureFill','getShapeTextRect','getInverseCoord','drawing-ui.objectListPanel.lockAll','addImageSourceCache','UniverDocsUi','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','None','unitId','setOnSavingEditorData','ShapeTextAutoFitType','shapeKey','_updateShape','actualHeight','getFocusDrawings','ShapeIcon','doc.operation.apply-shape-quick-style','prototype','moveRange','size','DRAWING_DOM','drawing-ui.objectListPanel.empty','render','_mobileEditorService','dispose','_attachAdjustEvent','dataModel','1.2','MobileDocDrawingTextWrap','doc.operation.close-doc-shape-format-panel','shapeData','move-down-icon','refreshTransform$','setFormulaPresentation','updateDocumentDataMargin','draw','get','unregister','setProperty','from','MEDIA','M2\x203h16M2\x2017h16','_formulaShapes','VIEW_MAIN','@univerjs/drawing-ui','200106RNaPBI','ShapeArrowSizeEnum','drawing-ui.objectListPanel.sectionCanvas','docs-shape-ui.ribbon.shape-format.arrange-back','react/jsx-runtime','isHit','IN_FRONT_OF_TEXT','currentAdjustValues','UniverProDocsShapeUi','UniverIcon','drawing-ui.objectListPanel.hideAll','getDocumentEntityPermissionObjectId','_drawShapeText','shape-format-setting-icon','_initPrinting','toPrimitive','presentationChanged$','_config','_visible','connectInjector','resolveFormulaShapeAutoFitSize','onCommandExecuted','string','onload','focus$','_insertShapes','displayName','resolveShapeTextEditorWrapStrategy','UnitObject','_completionFrame','DRAWING_IMAGE','UpdateDocShapeDataCommand','docs-shape-ui.shape-format.quick-style-gallery','COMMAND','registerCommand','title','registerDependencies','_configService','DocsShapeWrapInFrontOfTextIcon','drawing-ui.objectListPanel.unlock','ShapeFormulaRibbonControl','MobileObjectListPanel','_baseShapeWidth','docs-shape-ui.ribbon.shape-format.arrange-forward','data','drawing-ui.objectListPanel.hide','sectionCanvas','CURSOR_TYPE','doc.operation.open-doc-shape-format-panel','TextWrapShapeIcon','shape-editor-ui.toolbar.quickStyles','UniverShapeEditorMobileUIPlugin','docs-shape-ui.ribbon.shape-format.formula-control','viewBox','SolidLine','UniverDrawingPlugin','_registerComponents','docs-shape-ui.objectListPanel.title','docs-shape-ui.formatShape','DocDrawingPosition','registerShapeFormatPainter','disableObjectsEvent','drawing-ui.objectListPanel.filterLocked','shape-text-','_registerObjectListPanel','editingParams$','drawing-ui.objectListPanel.noSelection','close','keys','SHAPE','onReady','IDrawingManagerService','backward','onerror','isRichText','drawingType','MobileShapePickerPanel','getInterceptPoints','originalStrokeWidth','isolated','_drawSimpleText','getState','getDocumentPermissionValue','presentation','hadStyleAttribute','querySelectorAll','mask','WRAP_SQUARE','getDocumentDrawingSegmentId','resolveActiveShapeQuickStylePresetId','shape-editor-ui.arrange.front','text-wrap-shape-icon','_update','forEach','_imageIoService','DocDrawingTextWrap'];_0x3f6a=function(){return _0x2dac3a;};return _0x3f6a();}
|