@univerjs-pro/docs-shape-ui 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +20 -20
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2d29(){const _0x2e790e=['layoutType','xlink:href','shapeData','getCanvasElement','_drawRichTextLayer','_registerComponents','univer-grid\x20univer-gap-5\x20univer-px-4\x20univer-py-3','behindText','ShapeFormulaRibbonControl','Medium','0\x200\x2016\x2016','some','FromArray','defineProperty','registerShapeFormatPainter','warn','completeEditing','UniverDrawing','UniverProLicense','DocCanvasPopManagerService','shape-editor-ui.toolbar.changeShape','SHAPE_EDITOR_TRANSFORMER_CONFIG','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','forward','createShapeFormulaDocument','context-bar','displayName','merge','UniverUi','_draw','translateWithPrecision','DrawingCommonPanel','_shapeFormulaService','ShapeTextRibbonControl','docs-shape-format-font-family-menu','_docLayoutInteractionService','TextWrappingStyle','useEffect','UnitAction','custom','addObject','clearControl$','UniverProShapeEditor','composeMatrix','onCommandExecuted','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','DOCS_COMPONENT_MAIN_LAYER_INDEX','UpdateDrawingDocTransformCommand','_formulaAnimation','jsx','BuiltInUIPart','dataModel','flipX','_shapeRenderController','BehaviorSubject','-layout','UniverDocsUIPlugin','DocsShapeService','from','OFFSET','_iconManager','multiply','endOffset','212156UAYdXH','docs-shape-ui.shape-format.quick-style-gallery','FormulaShapeAnimationController','save','DRAWING_OBJECT_LAYER_INDEX','stopPropagation','1em','_lastEditingShapeKey','_completionFrame','MoreDownIcon','bottom','more-up-icon','register','docs-shape-ui.ribbon.shape-format.text-control','getDocumentDrawingSegmentId','shapeType','defs','0\x200\x2020\x2020','decorate','sin','vectorEffect','cancelEditing','getFocusDrawings','useReducer','getLastLine','contentVerticalOffset','_drawingManagerService','rect','createElement','popup','attrs','actualHeight','DependentOn','element','setFormulaPresentation','setPresentation','SHAPE','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','docs-shape-ui.ribbon.shape-format.style-control','connectInjector','DocInterceptorService','backward','_drawingType','drawing-ui.objectListPanel.typeNames.','startOffset','IContextService','Module','applyQuickStyleToShapeData','color','FloatingObjectToolbarPosition','getSkeletonData','@univerjs/protocol','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','clearAdjustValue','values','_initEvents','_releaseRenderCache','stroke-width','_drawSimpleText','appliedStrokeWidth','CommandType','autoFitType','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','horizontal','getOwnPropertyDescriptor','DocumentViewModel','6TvlcRk','gradientEndColor','_setTransForm','MobileShapePickerPanel','syncExecuteCommand','startWith','_formulaShapes','getInterceptPoints','RENDER_CLASS_TYPE','shape-editor-ui.arrange.back','trim','DocsShapeUIMenuSchema','docs-shape-ui.textWrap.inFrontText','drawing-ui.objectListPanel.unlockHint','_injector','_urlImageService','touchDependencies','doc.command.menu-insert-shape','strokeWidth','transformVector2SceneCoord','parent','ISidebarService','doc.operation.update-shape-type','getDrawingOKey','_univerInstanceService','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','UniverDrawingUIPlugin','getImage','getActiveViewportByCoord','_instanceService','resolveShapeTextEditorWrapStrategy','M5\x206.5L8\x209.5L11\x206.5','DocumentDataModel','UniverDrawingMobileUIPlugin','ShapeTextAutoFitType','drawing-ui.objectListPanel.close','onload','UpdateDocShapeDataCommand','getMatrix','resolveFormulaShapeAutoFitSize','_adjustPointObjects','WRAP_TOP_AND_BOTTOM','add','_getDependencies','UniverDocsShapeUIPlugin','getTransformerByCreate','vertical','ICommandService','MoveDownIcon','OPERATION','registerRenderModule','1.5.0','docs-shape-ui.ribbon.shape-format.arrange-backward','_sidebarService','DEFAULT_DOC_SHAPE_HEIGHT','IMenuManagerService','subtle','disposeWithMe','updateContext','entries','_updateShapeAdjustControls','getObjectIncludeInGroup','round','IUniverInstanceService','editingParams$','isHit','_subUnitId','canDispose','querySelectorAll','_editingParams$','getDrawingShapeKeyByDrawingSearch','Inject','ShapeRenderModeEnum','CONTENT','_baseShapeHeight','_activeShapeModel','visible','getDrawingPoints','ShapeFloatingToolbar','DocsShapeWrapBehindTextIcon','calculate','_getShapeAdjustPointListById','getUnitType','svg','getDrawingData','footerId','DocDrawingPosition','cloneShapeDataForType','TopmostIcon','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','bottom-icon','_getSceneByUnitId','ShapeIcon','drawing-ui.objectListPanel.showAll','data','createControl$','docs-shape-ui.insertShape','IImageIoService','ShapePickerDropdown','_transform','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','_popupTargetKeys','canvasElement','DRAWING_DOM','PositionedObjectLayoutType','text','strokeOpacity','docs-shape-contextual-ribbon','moveRange','getDrawingDataForUnit','Observable','@univerjs/engine-render','left','setCollapsedIds','idSuffix','pages','RemoveDocDrawingCommand','docs-shape-ui.shape-format.text-ribbon-control','UniverCore','_clearPopups','_props','rows','min','rxjs','drawing-ui.objectListPanel.moveForward','SolidLine','div','_adjName','RichTextEditingMutation','top-bottom','reduce','render','flatMap','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','DrawingImageClipService','useId','_registerImageShapeClipDelegate','IPermissionService','ShapeArrowSizeEnum','executeCommand','children','MenuManagerPosition','startIndex','DRAWING_SHAPE','_popupMenuListener','hasAttribute','WRAP_NONE','resetCursor','baseVal','formulaBinding','@univerjs/docs','vertical-center','createShapeTextBoxShapeData','SolidFill','getDrawingTypeNameKey','intercept','_getActiveDrawingShape','docs-shape-ui.formatShape','URL','getState','plainShapeTextToDocumentData','menuRange','104fZNLFU','UpdateDocDrawingWrappingStyleCommand','normalizeShapeTextModel','_contextService','0.14','description','value','UniverDocs','onerror','drawing-ui.objectListPanel.lockHint','isRichText','get','_createShapeAdjustControls','UniverShapeEditorMobileUIPlugin','find','_clipService','removeAttribute','_menuManagerService','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','toStringTag','_registerDrawingTransformHandler','none','isFinite','resolveShapeContextualRibbonHostMode','drawing-ui.objectListPanel.unlockAll','drawing-ui.objectListPanel.filterHidden','_localeService','72099LPUcvc','focusDrawing','Documents','740568NnnZkC','doc','menu','drawing-ui.objectListPanel.hideAll','useFormulaShapeToolbar','animateFormulaPresentation','_initUIPart','LEFT','@univerjs-pro/license','front','clipHeight','drawFormulaShapeAnimationLayers','MobileMenu','0\x200\x2017\x2016','drawing-ui.objectListPanel.unlock','length','assign','_config','objects','clearActiveDrawingObjects','@univerjs-pro/shape-editor-ui','SHAPE_CHANGE_PICKER_COMPONENT','getSelectedObjectMap','.below','getUnitId','_renderWithCache','includes','useRef','_layoutInteraction','_permissionService','ShapeTextFloatMenuRenderControllerBase','ImageSourceTypeEnum','width','_endLayoutInteraction','VIEW_MAIN','Vector2','getPresentation','currentAdjustValues','getShapeQuickStyleType','getAllRenderersOfType','srcRect','clipByShape','_hyperLinkRegions','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','_componentManager','function','getViewports','getShapeType','subscribeEvent','drawing-ui.objectListPanel.details','fill','getUnit','DrawingTypeEnum','@univerjs/docs-drawing','shape-editor-ui.arrange.front','DocsShapeTextEditorContainer','createShapeTextHyperLinkRegions','isDrawingObject','hadStyleAttribute','with','version','packageName','registerDependencies','replace','oKey','getShapePopupMenus','docs-shape-ui.shape-format.formula-ribbon-control','localeService','UniverDocsDrawingUi','isInGroup','buildClipPath','DocSelectionRenderService','SELECTOR','disconnect','onPointerUp$','docs-shape-ui.shape-format.style-ribbon-control','tag','buildShapeTextDataUpdate','UniverProtocol','params','M4.2\x208.3H6.8','UniverShapeEditorUIPlugin','getAdjustInfoByName','focus$','shape-editor-ui.arrange.forward','_shapeId','error','delete','drawing-ui.objectListPanel.dragToReorder','_shapeTextEditingService','RibbonInsertGroup','symbol','Plugin','setProperty','hasDefault','UniverLicensePlugin','docs-shape-ui.objectListPanel.open','2172695uKgGSY','VerticalAlign','clone','UniverShapeEditorPlugin','ObjectLayersIcon','_renderManagerService','_shapeEditPanelVersion','_updateSrcRectByTransform','_disposePopupsByUnit','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','title','onRendered','_addShapeAdjustControl','restore','drawing-ui.objectListPanel.filterLocked','MobileShapeEditorService','_registerOperations','ContextMenuPosition','shapeKey','renderDrawingShape','_imageIoService','UpdateDocShapeDataMutation','adjHandleFill','_getRenderModules','skeHeaders','TOP','getTransformer','observe','doc.operation.open-shape-object-list-panel','map','pipe','permissionPointUpdate$','changing$','M4.2\x205.5H10.5','_initEditingParams','_attachAdjustEvent','ShapeGroupEnum','_context','setCursor','resolveShapeTextEditorBehaviorShapeData','docs-shape-ui.ribbon.shape-format.arrange-back','ShapeTextHyperLinkPopupService','selectable','_isShouldShowDrawingShapeAdjust','drawingType','mergeMenu','drawing-ui.objectListPanel.show','drawing-ui.objectListPanel.name','#3B82F6','DocLayoutInteractionService','docs-shape-ui.shape-format.wrapping-style-label','BEHIND_TEXT','height','getShapeData','fillImageSourceType','drawing-ui.objectListPanel.lock','close','FormatPainterSessionService','SpAutoFit','string','IconManager','@univerjs-pro/docs-shape-ui','pick','doc.shape.edit.panel','INSERT_BELLOW_MENU_ID','animationEnabled','FOCUSING_COMMON_DRAWINGS','SetDocumentPermissionCommand','ArrangeTypeEnum','shapeId','react/jsx-runtime','shapeModel','getCurrentTypeOfUnit$','_activeShapeId','src','update$','docs-shape-ui.textWrap.topAndBottom','_docPrintInterceptorService','VIEWPORT_KEY','UnitObject','square','hideContextualTab','UniverDocsUi','setSrcRect','name','remove$','@univerjs/design','http://www.w3.org/2000/svg','enableObjectsEvent','CROSSHAIR','_registerDrawingFocusChangeHandler','disableObjectsEvent','MoveUpIcon','registerClipDelegate','setContextValue','LocaleService','_shapeFloatingToolbarService','ShapeDefaultConfig','has','target','doc.operation.close-doc-shape-format-panel','setFallbackVisible','_closeShapeEditPanel','_activeShapeAdjustPointList','adjHandleStroke','skeTables','segmentId','current','subscribe','ShapeTextHyperLinkHoverController','_drawShapeText','Shape','bindRenderTransformerLifecycle','forEach','Circle','getRealBound','PRINTING_COMPONENT_COLLECT','fontSize','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','setEditing','fontFamily','ShapeModel','url(#$1','IDrawingManagerService','ToggleShapeFloatingToolbarOperation','getShapeDataById','beginPath','setShapeProps','doc.operation.apply-shape-quick-style','forwardRef','angle','getAdjustValueByName','applyPoint','featurePluginUpdateNotification','_sidebarDisposable','MobileActionRow','getSelfOrHeaderFooterModel','footerLayoutKey','getShapeTypeById','OBJECT_LIST_FLOATING_SECTION_ID','getPageDrawingIds','ShapeArrowTypeEnum','behindDoc','DocPrintInterceptorService','_mobileEditorService','next','beginInteraction','unsubscribe','_registerIcons','IDocDrawingService','_ribbonService','doc.shape.text.float-menu','DocsShapeWrapSquareIcon','drawing-ui.objectListPanel.locate','onTransformChange$','ContextMenuGroup','top','default','span','resolveShapeTextBodyBehavior','distinctUntilChanged','_clearCompletionFrame','getBoundingClientRect','showContextualTab','activateDrawingObject','DOC_PARAGRAPH_T_INSERT_MENU_ID','docs-shape-ui.ribbon.shape-format.wrapping-style','getDocumentEntityPermissionObjectId','evenodd','ShapeFillEnum','adjName','type','spaceBelowApply','BooleanNumber','getShapeTextRect','getDocumentEntityParentPermissionObjectIds','preValue','Path','jsxs','getScene','refreshTransform$','ObjectListPanelBase','open','drawing-ui.objectListPanel.empty','drawing-ui.objectListPanel.sectionFloating','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','doc.image-clip.shape-picker.component','_docsShapeService','transformByState','WRAP_SQUARE','_baseShapeTop','653056TjiuPD','prstGeom','ComponentManager','DocsShapeWrapInlineIcon','resolveShapeTextDocumentRenderLayout','ShapeFormatSettingIcon','react','_drawRichText','_initMenu','useImperativeHandle','drawing-ui.objectListPanel.sectionCanvas','UniverRenderEnginePlugin','skeDrawings','_getActiveDrawingParam','fillImageSource','drawing-ui.objectListPanel.nameInput','UNIVER_DOC','doc.shape.object-list.panel','TRUE','ShapeTextFloatToolbar','registerCommand','getContextValue','docs-shape-ui.ribbon.shape-format.arrange-forward','inline','getParent','offsetX','formulaPresentation','docs-shape-ui.config','push','activeTarget','_docDrawingShapeRenderController','_canEdit','sheet.image-clip.shape-picker.component','DocumentEntity','panel','makeDirty','drawings','updateDocumentStyle','#2563EB','getDrawingEditable','attachPopupToObject','drawing','UUID','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','_loadAndSetImage','keys','957222jNgqfB','getPropertyPriority','sidebarOptions$','BUTTON','extensionGroups','Injector','univerjs-icon\x20univerjs-icon-','UniverProDocsShape','clip-','_transformCalculateSrcRect','resolveActiveShapeQuickStylePresetId','docs-shape-ui.ribbon.shape-format.arrange-front','1.2','UniverDocsShapePlugin','DisposableCollection','resolveShapeTextDocumentPageHeight','skeFooters','setPrstGeom','DocumentSkeleton','docs-shape-ui.openPanel','isMainScene','transformForAngle','_unitId','splice','toPrimitive','getEditing','cos','univer-box-border\x20univer-px-4\x20univer-text-sm','_canEditShape','_initPrinting','useMemo','_formulaKey','Disposable','_updateShape','_initSelection','sectionFloating','_toScenePoint','actions','fillType','ShapeTypeEnum','_initialize','currentColor','_isStartAdjusting','UniverIcon','prepareShapeTextDocumentData','drawing-ui.objectListPanel.search','IRibbonService','useLayoutEffect','set','adjHandleSize','onDblclick$','isLineShape','_update','TextWrapShapeIcon','top-center','PARAGRAPH','marginTop','Rect','create','React','_docCanvasPopManagerService','paragraphMenuPlacement','drawing-ui.objectListPanel.moveBackward','getObjectListPanelSectionIdForDrawingType','_getShapeInfo','ShapeLineTypeEnum','getValue','IURLImageService','isReleased','_onSavingEditorData$','getParagraphContentStartOffset','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_baseShapeWidth','@univerjs/docs-ui','asObservable','LAYOUT','defIds','@univerjs/docs-drawing-ui','UniverDocsShapeMobileUIPlugin','drawing-ui.objectListPanel.descriptionPlaceholder','interceptor','_openShapeEditPanel','pageWidth','size','_insertShapes','docs-shape-ui.ribbon.shape-format','startArrow','originalStrokeWidth','presentationChanged$','_getShapePopup','updateShapeFillImage','@univerjs/drawing','_hide','invert','viewBox','text-wrap-shape-icon','memo','icon','offsetY','transform','paragraphs','1969185lVVXDe','getSnapshot','Fragment','refreshAdjustControls','headerLayoutKey','useObservable','_commandService','more-down-icon','_adjHandlerPointerUp','mask','_activeAdjustInfo','@univerjs/drawing-ui','canEditDocumentTargets','UniverDocsDrawing','getDrawingEffectBounds','ShapeFormulaService','DRAWING_IMAGE','univer-grid\x20univer-gap-3','UniverDrawingPlugin','sectionCanvas','clearAdjustControls','clear','style','_handleCreateControl','dispose','_activeShapeInfo','_initCommands','shapeText','drawing-ui.objectListPanel.lockAll','_baseShapeLeft','UniverDesign','drawing-ui.objectListPanel.hide','@univerjs-pro/engine-shape','INLINE','_visible','@univerjs/ui','drawing-ui.objectListPanel.title','getPropertyValue','docs-shape-ui.textWrap.behindText','_getShapeAdjustInfosById','fallbackWidth','UniverDocsMobileUIPlugin','draw','shape-editor-ui.toolbar.quickStyles','DocParagraphMenuService','visible$','DocsShapeWrapTopBottomIcon','ShapeFloatingToolbarService','onSavingEditorData$','setShapeData','IUIPartsService','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','UniverInstanceType','@univerjs-pro/docs-shape','ShapeQuickStyleGallery','isConnectorShape','behind','object-layers-icon','extraProps','Large','hidden','max','M2\x203h16M2\x2017h16','getDrawingSearch','MobileDocDrawingPosition','setOnSavingEditorData','parseFloat','GROUP','refreshFormulaPresentation','stroke','componentKey','non-scaling-stroke','isHorizontal','useDependency','colorChannel1','Transform','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','ShapeTextEditorContainer','resize','getShapeQuickStylePreset','isHitLine','DOCS_SHAPE_UI_PLUGIN','CURSOR_TYPE','clip','getCurrentUnitOfType','COMMAND','isolated','DocsShapeWrapInFrontOfTextIcon','onReady','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','unitId','prototype','@univerjs-pro/shape-editor','getShapeTextData','drawing-ui.objectListPanel.noSelection','getDrawingOrder','drawing-ui.objectListPanel.description','move-down-icon','move-up-icon','5.5','resolveShapeTextHyperLinkAt','doc.shape.picker.component','IRenderManagerService','drawing-ui.objectListPanel.expand','priority','getShapeModel','_getDisposePopups','scene','BottomIcon','complete','SetDocDrawingArrangeCommand','EMPTY_PARAGRAPH_MENU_ID','subUnitId','filter','getBody','image','removeProperty','_configService','docs-shape-ui.textWrap.inline','docs-shape-ui.deleteShape','_updateAdjustControlPositions','getInverseCoord','docs-shape-ui.quickStyles','UNIVER_SHEET','MenuItemType','IN_FRONT_OF_TEXT','setFillImage','resolveHyperLinkAt','canvas','unregister','getMenuHiddenObservable','_loadShapePictureFill','path','docs-shape-ui.textWrap.square','isEditing','setConfig','setAdjustValueByName','defer','engine','pluginName','enhanceParams','useState','getDrawingByParam','object','refreshShapeFillImage','clipTop','PictureFill','DocShapeAnchorPosition','localName','options','getDrawingVisible','insertGroupObject','drawingId','getActualSize','_getFocusedShapeAtPoint','OTHERS','getRenderUnitById','_applyFormulaAutoFitSize','below','toFixed','changeStart$','getAutoFitPresentations','classType','_measure','ancestorTransform','shouldClipShapeTextDocument','_clearShapeAdjustControls','DocDrawingTextWrap','reverse','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','_isOpenedShapeEditPanel'];_0x2d29=function(){return _0x2e790e;};return _0x2d29();}function _0x1cb9(_0x513d9e,_0x3654bb){_0x513d9e=_0x513d9e-0x143;const _0x2d29b5=_0x2d29();let _0x1cb957=_0x2d29b5[_0x513d9e];return _0x1cb957;}(function(_0x1ca34e,_0xa87fd1){const _0x49ceb6=_0x1cb9,_0x535a6e=_0x1ca34e();while(!![]){try{const _0x499b66=parseInt(_0x49ceb6(0x339))/0x1+-parseInt(_0x49ceb6(0x1bc))/0x2+parseInt(_0x49ceb6(0x1ea))/0x3+parseInt(_0x49ceb6(0x43c))/0x4+-parseInt(_0x49ceb6(0x24f))/0x5+-parseInt(_0x49ceb6(0x37c))/0x6*(-parseInt(_0x49ceb6(0x49d))/0x7)+parseInt(_0x49ceb6(0x41e))/0x8*(-parseInt(_0x49ceb6(0x439))/0x9);if(_0x499b66===_0xa87fd1)break;else _0x535a6e['push'](_0x535a6e['shift']());}catch(_0x186425){_0x535a6e['push'](_0x535a6e['shift']());}}}(_0x2d29,0x31609),function(_0x37a0d4,_0x310188){const _0x439304=_0x1cb9;typeof exports==_0x439304(0x2de)&&typeof module<'u'?_0x310188(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==_0x439304(0x469)&&define['amd']?define(['exports',_0x439304(0x450),_0x439304(0x233),_0x439304(0x272),_0x439304(0x284),_0x439304(0x26f),_0x439304(0x2ab),'@univerjs/core',_0x439304(0x412),_0x439304(0x471),_0x439304(0x3eb),_0x439304(0x245),_0x439304(0x25a),_0x439304(0x143),_0x439304(0x3f7),_0x439304(0x444),_0x439304(0x237),_0x439304(0x1c2),_0x439304(0x153),_0x439304(0x36d)],_0x310188):(_0x37a0d4=typeof globalThis<'u'?globalThis:_0x37a0d4||self,_0x310188(_0x37a0d4['UniverProDocsShapeUi']={},_0x37a0d4['UniverProShapeEditorUi'],_0x37a0d4[_0x439304(0x14f)],_0x37a0d4[_0x439304(0x316)],_0x37a0d4[_0x439304(0x1f1)],_0x37a0d4['UniverProEngineShape'],_0x37a0d4[_0x439304(0x324)],_0x37a0d4[_0x439304(0x3f2)],_0x37a0d4[_0x439304(0x425)],_0x37a0d4[_0x439304(0x25c)],_0x37a0d4['UniverEngineRender'],_0x37a0d4[_0x439304(0x30b)],_0x37a0d4['UniverDrawingUi'],_0x37a0d4[_0x439304(0x225)],_0x37a0d4[_0x439304(0x3f7)],_0x37a0d4[_0x439304(0x30c)],_0x37a0d4[_0x439304(0x480)],_0x37a0d4[_0x439304(0x225)],_0x37a0d4[_0x439304(0x26d)],_0x37a0d4[_0x439304(0x48a)]));}(this,function(_0x820882,_0x5ceb8e,_0x5bdd19,_0x7c4c2f,_0x156d72,_0x11cfc4,_0x339478,_0x1f70ef,_0x5f20c1,_0x535687,_0x35408c,_0x509efb,_0x57c854,_0x57c25a,_0x3781f8,_0xab2065,_0x23d22e,_0x31450,_0x104a58,_0xe6e2b9){const _0x54e2e6=_0x1cb9;Object[_0x54e2e6(0x307)](_0x820882,Symbol[_0x54e2e6(0x431)],{'value':_0x54e2e6(0x368)});function _0x12f394(_0x55b6d1,_0x3edd69){const _0x30a68f=_0x54e2e6;if(_0x3edd69){if((0x0,_0x11cfc4[_0x30a68f(0x286)])(_0x55b6d1)&&(_0x3edd69[_0x30a68f(0x240)]||_0x3edd69['endArrow']))return{'ln':{'startArrow':_0x3edd69[_0x30a68f(0x240)]?{'type':_0x11cfc4[_0x30a68f(0x18a)]['Arrow'],'size':_0x11cfc4[_0x30a68f(0x406)][_0x30a68f(0x303)]}:void 0x0,'endArrow':_0x3edd69['endArrow']?{'type':_0x11cfc4[_0x30a68f(0x18a)]['Arrow'],'size':_0x11cfc4[_0x30a68f(0x406)][_0x30a68f(0x28a)]}:void 0x0}};if(_0x55b6d1===_0x11cfc4[_0x30a68f(0x211)][_0x30a68f(0x223)]&&(_0x3edd69[_0x30a68f(0x379)]||_0x3edd69[_0x30a68f(0x3aa)]))return(0x0,_0x339478[_0x30a68f(0x414)])({'fill':{'fillType':_0x11cfc4[_0x30a68f(0x1a6)][_0x30a68f(0x415)],'color':_0x30a68f(0x4cd)},'isHorizontal':!!_0x3edd69[_0x30a68f(0x379)],'stroke':{'lineStrokeType':_0x11cfc4[_0x30a68f(0x22b)][_0x30a68f(0x3f9)],'width':0x1,'color':_0x30a68f(0x1e2)}});}}function _0x39f41c(_0x4fb59b,_0x2129c0){const _0x13f06d=_0x54e2e6;var _0x59d377;let _0x1ed7f1=_0x2129c0[_0x13f06d(0x167)]??'',_0x277963=(_0x59d377=_0x4fb59b[_0x13f06d(0x185)](_0x1ed7f1))==null?void 0x0:_0x59d377[_0x13f06d(0x2c1)]();if(!_0x277963)return null;let _0x5acd46=_0x277963[_0x13f06d(0x24e)]??[],_0x17be63=_0x5acd46[_0x13f06d(0x42c)](_0x299ffc=>{const _0x495b31=_0x13f06d;let _0x5b20ab=(0x0,_0x1f70ef[_0x495b31(0x230)])(_0x277963,_0x299ffc);return _0x2129c0[_0x495b31(0x366)]>=_0x5b20ab&&_0x2129c0[_0x495b31(0x366)]<=_0x299ffc[_0x495b31(0x40a)];})??_0x5acd46[_0x5acd46[_0x13f06d(0x44b)]-0x1];return _0x17be63?{'paragraphId':_0x17be63['paragraphId'],'segmentId':_0x1ed7f1,'position':_0x156d72[_0x13f06d(0x2e2)][_0x13f06d(0x335)],'offset':_0x2129c0[_0x13f06d(0x366)]-(0x0,_0x1f70ef['getParagraphContentStartOffset'])(_0x277963,_0x17be63)}:null;}function _0x20140c(_0x5b3e65,_0x6fcc45,_0x3d435e){const _0x25ba10=_0x54e2e6;var _0x2475e2,_0xc41c84;if(!_0x3d435e)return null;let _0x94d86=(_0x2475e2=_0x5b3e65['get'](_0x35408c[_0x25ba10(0x2b5)])[_0x25ba10(0x2eb)](_0x6fcc45))==null?void 0x0:_0x2475e2[_0x25ba10(0x477)](_0x5bdd19[_0x25ba10(0x27b)])[_0x25ba10(0x1d9)];if(!_0x94d86)return null;let _0x54abe3=_0x3d435e==='below'?{'startOffset':_0x94d86[_0x25ba10(0x3e8)][_0x25ba10(0x338)],'endOffset':_0x94d86[_0x25ba10(0x3e8)][_0x25ba10(0x338)]}:_0x94d86[_0x25ba10(0x41d)];return{'startOffset':_0x54abe3[_0x25ba10(0x366)],'endOffset':_0x54abe3[_0x25ba10(0x338)],'collapsed':_0x54abe3[_0x25ba10(0x366)]===_0x54abe3['endOffset'],'segmentId':((_0xc41c84=_0x94d86['paragraph'])==null?void 0x0:_0xc41c84[_0x25ba10(0x167)])??''};}let _0x2567e4={'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x2a4)],'id':_0x54e2e6(0x38d),'handler':async(_0x3eff7a,_0x572790)=>{const _0x18afb9=_0x54e2e6;let _0x34cd8d=_0x3eff7a[_0x18afb9(0x429)](_0x1f70ef[_0x18afb9(0x3bb)])[_0x18afb9(0x2a3)](_0x1f70ef[_0x18afb9(0x283)][_0x18afb9(0x1cc)]);if(!_0x34cd8d)return!0x1;let _0x57200d=_0x3eff7a[_0x18afb9(0x429)](_0x1f70ef[_0x18afb9(0x3ab)]),_0xb76b7f=_0x34cd8d[_0x18afb9(0x454)](),_0x34f38d=_0x572790[_0x18afb9(0x4e2)]??(0x0,_0x1f70ef['generateRandomId'])(),_0x20fde9=_0x572790[_0x18afb9(0x45c)]??_0x156d72['DEFAULT_DOC_SHAPE_WIDTH'],_0x3653e9=_0x572790[_0x18afb9(0x4d1)]??_0x156d72[_0x18afb9(0x3b2)],_0x457ff5=_0x572790[_0x18afb9(0x2fc)]??_0x12f394(_0x572790[_0x18afb9(0x424)],_0x572790[_0x18afb9(0x2db)]),_0x897ed7=_0x20140c(_0x3eff7a,_0xb76b7f,_0x572790[_0x18afb9(0x227)])??_0x3eff7a[_0x18afb9(0x429)](_0x5f20c1['DocSelectionManagerService'])['getActiveTextRange']();if(!_0x897ed7)return!0x1;let _0x241471=_0x39f41c(_0x34cd8d,_0x897ed7);return _0x241471?!!_0x57200d['syncExecuteCommand'](_0x156d72['InsertDocShapeCommand']['id'],{'unitId':_0xb76b7f,'shapeId':_0x34f38d,'shapeType':_0x572790['value'],'shapeData':_0x457ff5,'transform':{'width':_0x20fde9,'height':_0x3653e9},'placement':{'wrappingStyle':_0x535687['TextWrappingStyle'][_0x18afb9(0x270)],'anchor':_0x241471}}):!0x1;}},_0x45c66c='doc.shape.edit.panel',_0x150b38=_0x54e2e6(0x23f),_0x3e20a4=_0x54e2e6(0x1cd),_0x5247b4=(0x0,_0x1f70ef['createInternalEditorID'])('SHAPE_TEXT'),_0x148b7f=_0x54e2e6(0x194),_0x40116f=_0x54e2e6(0x473),_0x27bc22={'id':_0x54e2e6(0x4b9),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x2a4)],'handler':(_0x139701,_0x409ca4)=>{const _0x32ffd9=_0x54e2e6;let _0x5c9d6d=_0x139701[_0x32ffd9(0x429)](_0x7c4c2f[_0x32ffd9(0x391)]),_0x577327=_0x139701[_0x32ffd9(0x429)](_0x1f70ef[_0x32ffd9(0x15c)]),_0x11a418=_0x139701['get'](_0x509efb[_0x32ffd9(0x178)]);return(_0x409ca4==null?void 0x0:_0x409ca4['value'])==='close'?(_0x5c9d6d['close'](_0x3e20a4),!0x0):(_0x5c9d6d[_0x32ffd9(0x1b3)]({'id':_0x3e20a4,'header':{'title':_0x577327['t']('docs-shape-ui.objectListPanel.title')},'children':{'label':_0x3e20a4},'onClose':()=>{const _0x3a37a9=_0x32ffd9;_0x11a418[_0x3a37a9(0x43a)](null);},'width':0x168}),!0x0);}},_0xf4b337={'type':_0x1f70ef['CommandType'][_0x54e2e6(0x3ad)],'id':'doc.operation.open-doc-shape-format-panel','handler'(){return!0x0;}};function _0x4891ec(_0x4ef5a0){const _0x9e0da7=_0x54e2e6;let _0x59f6d8=_0x4ef5a0[_0x9e0da7(0x429)](_0x509efb[_0x9e0da7(0x178)])[_0x9e0da7(0x34f)](),_0x17693d=_0x59f6d8[_0x9e0da7(0x44b)]===0x1?_0x59f6d8[0x0]:null;if(!_0x17693d||_0x17693d[_0x9e0da7(0x4c9)]!==_0x1f70ef[_0x9e0da7(0x470)]['DRAWING_SHAPE'])return null;let _0x518595=_0x4ef5a0['get'](_0x156d72[_0x9e0da7(0x333)]),_0x421668=_0x518595['getShapeTypeById'](_0x17693d[_0x9e0da7(0x2a9)],_0x17693d[_0x9e0da7(0x2bf)],_0x17693d[_0x9e0da7(0x2e7)]),_0x2288ac=_0x518595[_0x9e0da7(0x17a)](_0x17693d[_0x9e0da7(0x2a9)],_0x17693d[_0x9e0da7(0x2bf)],_0x17693d['drawingId']);return _0x421668===void 0x0||!_0x2288ac?null:{'drawing':_0x17693d,'shapeData':_0x2288ac,'shapeType':_0x421668};}let _0x23b4a0={'id':_0x54e2e6(0x17d),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x3ad)],'handler':(_0x2aaffd,_0x575445)=>{const _0x4982f3=_0x54e2e6;let _0x5dcf0f=_0x4891ec(_0x2aaffd),_0x49cb4a=(0x0,_0x339478[_0x4982f3(0x29e)])((_0x575445==null?void 0x0:_0x575445['presetId'])??(_0x575445==null?void 0x0:_0x575445['value'])??'');if(!_0x5dcf0f||!_0x49cb4a||_0x49cb4a[_0x4982f3(0x1a8)]!==(0x0,_0x339478['getShapeQuickStyleType'])(_0x5dcf0f[_0x4982f3(0x2fc)]))return!0x1;let _0x30628e=(0x0,_0x339478[_0x4982f3(0x369)])(_0x5dcf0f[_0x4982f3(0x2fc)],_0x49cb4a);if(!_0x30628e)return!0x1;let {drawing:_0x55ea29}=_0x5dcf0f;return _0x2aaffd[_0x4982f3(0x429)](_0x1f70ef[_0x4982f3(0x3ab)])[_0x4982f3(0x407)](_0x156d72[_0x4982f3(0x3a1)]['id'],{'unitId':_0x55ea29['unitId'],'shapeId':_0x55ea29[_0x4982f3(0x2e7)],'shapeData':_0x30628e,'oldShapeJSON':{'oldShapeData':_0x5dcf0f[_0x4982f3(0x2fc)]}});}},_0x8614a3={'id':_0x54e2e6(0x392),'type':_0x1f70ef[_0x54e2e6(0x376)][_0x54e2e6(0x3ad)],'handler':(_0x24223a,_0x39ea48)=>{const _0x1dbc3c=_0x54e2e6;let _0x39aac4=_0x4891ec(_0x24223a),_0x156121=(_0x39ea48==null?void 0x0:_0x39ea48[_0x1dbc3c(0x348)])??(_0x39ea48==null?void 0x0:_0x39ea48['value']);if(!_0x39aac4||!_0x156121||(0x0,_0x11cfc4[_0x1dbc3c(0x286)])(_0x39aac4[_0x1dbc3c(0x348)])||(0x0,_0x11cfc4['isConnectorShape'])(_0x156121))return!0x1;let _0xdf7764=(0x0,_0x339478[_0x1dbc3c(0x3d3)])(_0x39aac4[_0x1dbc3c(0x2fc)],_0x156121);if(!_0xdf7764)return!0x1;let {drawing:_0xade536}=_0x39aac4;return _0x24223a[_0x1dbc3c(0x429)](_0x1f70ef[_0x1dbc3c(0x3ab)])[_0x1dbc3c(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],{'unitId':_0xade536['unitId'],'shapeId':_0xade536[_0x1dbc3c(0x2e7)],'shapeType':_0x156121,'shapeData':_0xdf7764,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x39aac4[_0x1dbc3c(0x348)],'oldShapeData':_0x39aac4['shapeData']}});}};function _0x1af634(_0x2020fe,_0x1309f3){return function(_0x16579a,_0x526c82){_0x1309f3(_0x16579a,_0x526c82,_0x2020fe);};}function _0x105eeb(_0x2427eb,_0x50ea27,_0x37e70d,_0x118449){const _0x50997e=_0x54e2e6;var _0x34fe1b=arguments[_0x50997e(0x44b)],_0x41c799=_0x34fe1b<0x3?_0x50ea27:_0x118449===null?_0x118449=Object[_0x50997e(0x37a)](_0x50ea27,_0x37e70d):_0x118449,_0x2023fc;if(typeof Reflect==_0x50997e(0x2de)&&typeof Reflect[_0x50997e(0x34b)]==_0x50997e(0x469))_0x41c799=Reflect[_0x50997e(0x34b)](_0x2427eb,_0x50ea27,_0x37e70d,_0x118449);else{for(var _0x42e49b=_0x2427eb[_0x50997e(0x44b)]-0x1;_0x42e49b>=0x0;_0x42e49b--)(_0x2023fc=_0x2427eb[_0x42e49b])&&(_0x41c799=(_0x34fe1b<0x3?_0x2023fc(_0x41c799):_0x34fe1b>0x3?_0x2023fc(_0x50ea27,_0x37e70d,_0x41c799):_0x2023fc(_0x50ea27,_0x37e70d))||_0x41c799);}return _0x34fe1b>0x3&&_0x41c799&&Object[_0x50997e(0x307)](_0x50ea27,_0x37e70d,_0x41c799),_0x41c799;}let _0xb8d91=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x4dd06b,_0x52ae7b){const _0x6fe12b=_0x54e2e6;super(),this[_0x6fe12b(0x42d)]=_0x4dd06b,this[_0x6fe12b(0x353)]=_0x52ae7b,this[_0x6fe12b(0x404)](),this[_0x6fe12b(0x42d)]['setCanUseShapeClip'](!0x0),this[_0x6fe12b(0x3b5)]({'dispose':()=>this[_0x6fe12b(0x42d)]['setCanUseShapeClip'](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1952a1=_0x54e2e6;let _0x23704b=new Map(),_0x35fef1=this['_clipService'][_0x1952a1(0x15a)]((_0x46c001,_0x15cd87,_0x364f05,_0x38c3f6,_0x491966)=>{const _0x4b79fc=_0x1952a1;let _0xe824f3=_0x15cd87;if(_0xe824f3===_0x11cfc4[_0x4b79fc(0x211)]['None']||_0x15cd87===_0x4b79fc(0x321))return!0x1;try{let _0x2345e4=_0x23704b[_0x4b79fc(0x429)](_0x15cd87);return _0x2345e4||(_0x2345e4=new _0x11cfc4[(_0x4b79fc(0x176))](_0xe824f3,_0x4b79fc(0x1f2)+_0x15cd87),_0x23704b[_0x4b79fc(0x21a)](_0x15cd87,_0x2345e4)),_0x2345e4[_0x4b79fc(0x36f)](),_0x491966&&Object[_0x4b79fc(0x1e9)](_0x491966)[_0x4b79fc(0x44b)]>0x0&&_0x2345e4[_0x4b79fc(0x280)]({'adjustValues':_0x491966},!0x0),_0x2345e4[_0x4b79fc(0x3b6)]({'width':_0x364f05,'height':_0x38c3f6}),_0x2345e4[_0x4b79fc(0x482)](_0x46c001,{'left':0x0,'top':0x0,'width':_0x364f05,'height':_0x38c3f6});}catch{return!0x1;}});this[_0x1952a1(0x3b5)](_0x35fef1),this[_0x1952a1(0x3b5)]({'dispose':()=>_0x23704b[_0x1952a1(0x264)]()});}[_0x54e2e6(0x465)](_0x520ad6,_0x12d96e,_0x57c887,_0x3319fa,_0x4ebba3){const _0x3b0550=_0x54e2e6;let _0xe8bc1f=this[_0x3b0550(0x353)][_0x3b0550(0x3d0)](_0x520ad6,_0x12d96e)[_0x57c887];_0xe8bc1f&&_0xe8bc1f[_0x3b0550(0x4c9)]===_0x1f70ef[_0x3b0550(0x470)][_0x3b0550(0x25f)]&&this[_0x3b0550(0x353)][_0x3b0550(0x182)]([{..._0xe8bc1f,'prstGeom':_0x3319fa,'adjustValues':_0x4ebba3}]);}};_0xb8d91=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef['Inject'])(_0x57c854[_0x54e2e6(0x402)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x509efb[_0x54e2e6(0x178)]))],_0xb8d91);let _0x3234d1=_0x54e2e6(0x2b4),_0x42bec7=_0x54e2e6(0x1b7);function _0x289d87({onShapeClick:_0x2a9c31,excludeGroups:_0x560eaa}){const _0x4d4afe=_0x54e2e6;return(0x0,_0x57c25a[_0x4d4afe(0x32b)])(_0x5ceb8e['ShapePickerPanel'],{'excludeGroups':_0x560eaa,'onShapeClick':_0x2a9c31,'scrollContainer':_0x4d4afe(0x390)});}function _0x288c0f(){const _0x37e561=_0x54e2e6;let _0x5531f0=(0x0,_0x7c4c2f[_0x37e561(0x298)])(_0x509efb[_0x37e561(0x178)]),_0x59f632=(0x0,_0x7c4c2f[_0x37e561(0x298)])(_0xb8d91);return _0x57b271=>{const _0x48270c=_0x37e561;let _0x1faa2d=_0x5531f0[_0x48270c(0x34f)]()['find'](_0x34ee5c=>_0x34ee5c[_0x48270c(0x4c9)]===_0x1f70ef[_0x48270c(0x470)][_0x48270c(0x25f)]);_0x1faa2d&&_0x59f632[_0x48270c(0x465)](_0x1faa2d[_0x48270c(0x2a9)],_0x1faa2d[_0x48270c(0x2bf)],_0x1faa2d[_0x48270c(0x2e7)],_0x57b271[_0x48270c(0x1a8)]);};}function _0x13d12e(){const _0x2f2e77=_0x54e2e6;let _0x80c4e9=_0x288c0f();return(0x0,_0x57c25a[_0x2f2e77(0x32b)])(_0x5ceb8e[_0x2f2e77(0x3de)],{'buttonLabel':'docs-shape-ui.crop.shape','excludeGroups':[_0x5ceb8e[_0x2f2e77(0x4c1)]['Line']],'onShapeClick':_0x80c4e9});}function _0x280758(){const _0x3e0fd3=_0x54e2e6;let _0x3f31a9=(0x0,_0x7c4c2f['useDependency'])(_0x7c4c2f[_0x3e0fd3(0x1be)]),_0x3c7bdb=(0x0,_0x7c4c2f['useDependency'])(_0x509efb[_0x3e0fd3(0x178)]),_0x5baadc=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x3e0fd3(0x3bb)]),_0x2f6f62=_0x3c7bdb[_0x3e0fd3(0x34f)]()[0x0],_0x466fde=_0x2f6f62?_0x5baadc[_0x3e0fd3(0x3ce)](_0x2f6f62[_0x3e0fd3(0x2a9)]):void 0x0,_0x46dbe0=_0x466fde===_0x1f70ef['UniverInstanceType']['UNIVER_DOC']?_0x42bec7:_0x466fde===_0x1f70ef[_0x3e0fd3(0x283)][_0x3e0fd3(0x2ca)]?_0x3e0fd3(0x1dc):void 0x0,_0x13d208=_0x46dbe0?_0x3f31a9[_0x3e0fd3(0x429)](_0x46dbe0):void 0x0;return _0x13d208?(0x0,_0x57c25a[_0x3e0fd3(0x32b)])(_0x13d208,{}):null;}function _0x13878f({paragraphMenuPlacement:_0x47d7e9,PickerComponent:_0x5eeb7c=_0x289d87}){const _0x1f6eeb=_0x54e2e6;let _0x18fd4d=(0x0,_0x7c4c2f[_0x1f6eeb(0x298)])(_0x1f70ef[_0x1f6eeb(0x3ab)]);return(0x0,_0x57c25a['jsx'])(_0x5eeb7c,{'onShapeClick':_0x1be000=>{const _0x381623=_0x1f6eeb;_0x18fd4d['executeCommand'](_0x2567e4['id'],{'paragraphMenuPlacement':_0x47d7e9,'value':_0x1be000[_0x381623(0x1a8)],'enhanceParams':{'endArrow':_0x1be000['endArrow'],'startArrow':_0x1be000[_0x381623(0x240)],'horizontal':_0x1be000['horizontal'],'vertical':_0x1be000[_0x381623(0x3aa)]}});}});}function _0x253ef0(_0x3fd6c2){const _0x1bdb8b=_0x54e2e6;return _0x1e2360=>({'id':_0x2567e4['id'],'type':_0x7c4c2f[_0x1bdb8b(0x2cb)][_0x1bdb8b(0x484)],'selections':[{'label':{'name':_0x3234d1,'hoverable':!0x1,'selectable':!0x1,'props':_0x3fd6c2?{'id':_0x2567e4['id'],'paragraphMenuPlacement':_0x3fd6c2}:{'id':_0x2567e4['id']}}}],'icon':_0x1bdb8b(0x3d8),'title':'docs-shape-ui.insertShape','tooltip':_0x1bdb8b(0x3dc),'hidden$':(0x0,_0x7c4c2f[_0x1bdb8b(0x2d1)])(_0x1e2360,_0x1f70ef['UniverInstanceType'][_0x1bdb8b(0x1cc)])});}let _0x563e01=_0x253ef0(),_0x49b5e5=_0x253ef0(_0x54e2e6(0x2ed)),_0x31cd9a=_0x253ef0(_0x54e2e6(0x160));function _0x1336d3(_0x414add){const _0x148e8e=_0x54e2e6;let _0x2477c3=_0x414add['get'](_0x7c4c2f[_0x148e8e(0x391)]);return{'id':_0x27bc22['id'],'type':_0x7c4c2f[_0x148e8e(0x2cb)][_0x148e8e(0x1ed)],'icon':_0x148e8e(0x4a1),'title':_0x148e8e(0x49c),'tooltip':_0x148e8e(0x49c),'activated$':(0x0,_0x3781f8[_0x148e8e(0x2d8)])(()=>_0x2477c3[_0x148e8e(0x1ec)][_0x148e8e(0x4bb)]((0x0,_0x3781f8[_0x148e8e(0x381)])(_0x2477c3[_0x148e8e(0x2e4)]),(0x0,_0x3781f8[_0x148e8e(0x4ba)])(_0x10b035=>_0x10b035[_0x148e8e(0x3c8)]===!0x0&&_0x10b035['id']===_0x148e8e(0x1cd)),(0x0,_0x3781f8[_0x148e8e(0x19d)])())),'hidden$':(0x0,_0x7c4c2f[_0x148e8e(0x2d1)])(_0x414add,_0x1f70ef[_0x148e8e(0x283)]['UNIVER_DOC'])};}function _0x47b987(_0x1cbcb9,_0x1bdc56,_0x599707,_0x78011d,_0x5f901a,_0x5e7237){const _0x2f432b=_0x54e2e6;let _0x599e19={'unitId':_0x1bdc56,'shapeId':_0x78011d,'shapeData':_0x5e7237,'oldShapeJSON':_0x5f901a};return _0x1cbcb9[_0x2f432b(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],_0x599e19);}function _0x166ba9(_0x49738b,_0x120b05,_0x4dd219,_0x545f79,_0x3f69c,_0x5f5450){const _0x10aec9=_0x54e2e6;let _0x4906f4={'unitId':_0x120b05,'shapeId':_0x545f79,'shapeData':_0x5f5450,'oldShapeJSON':_0x3f69c};return _0x49738b[_0x10aec9(0x407)](_0x156d72[_0x10aec9(0x3a1)]['id'],_0x4906f4);}let _0x38ab15=_0x54e2e6(0x33a),_0x11a36f=_0x54e2e6(0x487),_0x4327b8=_0x54e2e6(0x3f1),_0x191cb1=_0x54e2e6(0x47e),_0x2515e8=_0x54e2e6(0x4cf),_0x1f13d0=[{'value':_0x535687[_0x54e2e6(0x31e)][_0x54e2e6(0x270)],'label':_0x54e2e6(0x2c5),'icon':_0x54e2e6(0x1bf)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x1ba)],'label':_0x54e2e6(0x2d4),'icon':_0x54e2e6(0x195)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x3a5)],'label':_0x54e2e6(0x149),'icon':_0x54e2e6(0x27d)},{'value':_0x535687['TextWrappingStyle'][_0x54e2e6(0x4d0)],'label':_0x54e2e6(0x275),'icon':_0x54e2e6(0x3cb)},{'value':_0x535687[_0x54e2e6(0x31e)]['IN_FRONT_OF_TEXT'],'label':_0x54e2e6(0x388),'icon':_0x54e2e6(0x2a6)}];function _0x3d4c5a(){const _0x512ae1=_0x54e2e6;let _0x14afd5=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x1f70ef[_0x512ae1(0x3ab)]),_0x495027=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x509efb[_0x512ae1(0x178)]),_0x138713=(0x0,_0x7c4c2f[_0x512ae1(0x298)])(_0x156d72[_0x512ae1(0x333)]),_0x17bbcf=()=>{const _0x7c4d04=_0x512ae1;var _0x353e03;let _0x45d11b=_0x495027[_0x7c4d04(0x34f)]();if(_0x45d11b['length']!==0x1||((_0x353e03=_0x45d11b[0x0])==null?void 0x0:_0x353e03[_0x7c4d04(0x4c9)])!==_0x1f70ef[_0x7c4d04(0x470)][_0x7c4d04(0x40b)])return null;let {unitId:_0x3fa45f,subUnitId:_0x47a186,drawingId:_0x1d8d3e}=_0x45d11b[0x0],_0x1e9866=_0x138713['getShapeTypeById'](_0x3fa45f,_0x47a186,_0x1d8d3e),_0x5ed79a=_0x138713[_0x7c4d04(0x17a)](_0x3fa45f,_0x47a186,_0x1d8d3e);return _0x1e9866===void 0x0||!_0x5ed79a?null:{'unitId':_0x3fa45f,'subUnitId':_0x47a186,'drawingId':_0x1d8d3e,'shapeType':_0x1e9866,'shapeData':_0x5ed79a};},_0x2d1c99=(0x0,_0x7c4c2f[_0x512ae1(0x254)])(()=>new _0x3781f8[(_0x512ae1(0x3ea))](_0x242dd4=>{const _0x42bc23=_0x512ae1;let _0xfe0a6=()=>_0x242dd4[_0x42bc23(0x18e)](_0x17bbcf()),_0x44692c=_0x495027[_0x42bc23(0x48f)][_0x42bc23(0x169)](_0xfe0a6),_0x4f1d4f=_0x14afd5[_0x42bc23(0x326)](_0x574b4a=>{_0x574b4a['id']===_0x156d72['UpdateDocShapeDataMutation']['id']&&_0xfe0a6();});return _0xfe0a6(),()=>{const _0x164473=_0x42bc23;_0x44692c[_0x164473(0x190)](),_0x4f1d4f['dispose']();};}),_0x17bbcf(),!0x1,[_0x14afd5,_0x138713,_0x495027]);return{'selection':_0x2d1c99,'updateShapeData':_0x412a4b=>{const _0x43d971=_0x512ae1;_0x2d1c99&&_0x47b987(_0x14afd5,_0x2d1c99[_0x43d971(0x2a9)],_0x2d1c99[_0x43d971(0x2bf)],_0x2d1c99[_0x43d971(0x2e7)],{'oldShapeData':_0x2d1c99[_0x43d971(0x2fc)]},_0x412a4b);}};}function _0xbdc066(){const _0x443312=_0x54e2e6;let {selection:_0x235ddd,updateShapeData:_0x3b1e15}=_0x3d4c5a();return _0x235ddd?(0x0,_0x57c25a['jsx'])(_0x5ceb8e['ShapeStyleRibbonControl'],{'shapeData':_0x235ddd[_0x443312(0x2fc)],'shapeType':_0x235ddd[_0x443312(0x348)],'onUpdateShapeData':_0x3b1e15}):null;}function _0x5a86e2(){const _0x49d042=_0x54e2e6;let _0x1bc5bf=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x49d042(0x3ab)]),_0x4520b1=(0x0,_0x7c4c2f[_0x49d042(0x298)])(_0x1f70ef[_0x49d042(0x15c)]),{selection:_0x138ca6}=_0x3d4c5a();return _0x138ca6?(0x0,_0x57c25a[_0x49d042(0x32b)])(_0x5ceb8e[_0x49d042(0x285)],{'type':(0x0,_0x339478[_0x49d042(0x462)])(_0x138ca6['shapeData']),'ariaLabel':_0x4520b1['t'](_0x49d042(0x2c9)),'activePresetId':(0x0,_0x339478[_0x49d042(0x1f4)])(_0x138ca6[_0x49d042(0x2fc)]),'onSelect':_0x56783d=>_0x1bc5bf['executeCommand'](_0x23b4a0['id'],{'presetId':_0x56783d})}):null;}function _0x58fb9b(){const _0x49a734=_0x54e2e6;let {selection:_0x514727,updateShapeData:_0x194778}=_0x3d4c5a();return _0x514727?(0x0,_0x57c25a[_0x49a734(0x32b)])(_0x5ceb8e[_0x49a734(0x31b)],{'fontFamilyPopupDataComponent':_0x49a734(0x31c),'shapeData':_0x514727[_0x49a734(0x2fc)],'onUpdateShapeData':_0x194778}):null;}function _0x464b9a(){const _0x22e0eb=_0x54e2e6;var _0x3d7079;let {selection:_0x11fd52,updateShapeData:_0x20cf9e}=_0x3d4c5a(),_0x57ae7d=(0x0,_0x5ceb8e['useFormulaShapeToolbar'])({'hostType':_0x1f70ef[_0x22e0eb(0x283)][_0x22e0eb(0x1cc)],'unitId':(_0x11fd52==null?void 0x0:_0x11fd52[_0x22e0eb(0x2a9)])??'','subUnitId':(_0x11fd52==null?void 0x0:_0x11fd52[_0x22e0eb(0x2bf)])??'','shapeId':(_0x11fd52==null?void 0x0:_0x11fd52['drawingId'])??'','shapeData':_0x11fd52==null?void 0x0:_0x11fd52['shapeData'],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x22e0eb(0x343),'onUpdateBinding':_0x32d5fc=>_0x20cf9e({'formulaBinding':_0x32d5fc})}),_0x215e44=((_0x3d7079=_0x57ae7d[_0x22e0eb(0x1ee)])==null?void 0x0:_0x3d7079[_0x22e0eb(0x400)](_0x4e9d82=>_0x4e9d82[_0x22e0eb(0x20f)])[_0x22e0eb(0x2c0)](_0x4a021c=>_0x4a021c[_0x22e0eb(0x3c8)]!==!0x1))??[];return _0x11fd52!=null&&_0x11fd52['shapeData'][_0x22e0eb(0x411)]?(0x0,_0x57c25a['jsx'])(_0x5ceb8e[_0x22e0eb(0x302)],{'actions':_0x215e44,'panel':_0x57ae7d[_0x22e0eb(0x1de)]}):null;}function _0x5a5a75({value:_0x2f5c9c}){const _0xdb2087=_0x54e2e6;let _0x3905c2=(0x0,_0x7c4c2f[_0xdb2087(0x298)])(_0x1f70ef[_0xdb2087(0x15c)]),_0x39cc77=_0x1f13d0[_0xdb2087(0x42c)](_0x4eb940=>_0x4eb940['value']===_0x2f5c9c)??_0x1f13d0[0x0];return _0x39cc77?(0x0,_0x57c25a[_0xdb2087(0x32b)])(_0xdb2087(0x19b),{'children':_0x3905c2['t'](_0x39cc77['label'])}):null;}let _0x471a2a=_0x54e2e6(0x360),_0x3901b0=_0x54e2e6(0x346),_0xbd3d43='docs-shape-ui.ribbon.shape-format.formula-control',_0x19eeaf=_0x54e2e6(0x1d2),_0x13160b=_0x54e2e6(0x3b0),_0x37e15b=_0x54e2e6(0x1f5),_0xc2421a=_0x54e2e6(0x4c5),_0x4ab358=_0x54e2e6(0x1a3);function _0x1f5d1e(_0x4dbd1d){const _0x5dc27c=_0x54e2e6;let _0xef6270=_0x4dbd1d[_0x5dc27c(0x429)](_0x1f70ef['ICommandService']),_0x32903a=_0x4dbd1d[_0x5dc27c(0x429)](_0x509efb[_0x5dc27c(0x178)]),_0x562be3=_0x4dbd1d[_0x5dc27c(0x429)](_0x156d72[_0x5dc27c(0x333)]);return new _0x3781f8[(_0x5dc27c(0x3ea))](_0x24f2d1=>{const _0x51e7d3=_0x5dc27c;let _0x5aab8e=()=>{const _0x353fbb=_0x1cb9;let _0x26a814=_0x4ddc7f(_0x4dbd1d),_0x35eabe=_0x26a814?_0x562be3['getShapeDataById'](_0x26a814[_0x353fbb(0x2a9)],_0x26a814[_0x353fbb(0x2bf)],_0x26a814[_0x353fbb(0x2e7)]):null;_0x24f2d1[_0x353fbb(0x18e)](_0x35eabe?(0x0,_0x339478[_0x353fbb(0x1f4)])(_0x35eabe)??'':'');},_0x5617aa=_0x32903a[_0x51e7d3(0x48f)]['subscribe'](_0x5aab8e),_0x23dcf7=_0xef6270[_0x51e7d3(0x326)](_0x15c771=>{const _0x278072=_0x51e7d3;_0x15c771['id']===_0x156d72[_0x278072(0x4b2)]['id']&&_0x5aab8e();});return _0x5aab8e(),()=>{const _0x26dd64=_0x51e7d3;_0x5617aa[_0x26dd64(0x190)](),_0x23dcf7[_0x26dd64(0x267)]();};});}function _0x4ddc7f(_0x4f5d1a){const _0x37195d=_0x54e2e6;var _0x634452;let _0x10a897=_0x4f5d1a[_0x37195d(0x429)](_0x509efb[_0x37195d(0x178)])['getFocusDrawings']();return _0x10a897['length']===0x1&&((_0x634452=_0x10a897[0x0])==null?void 0x0:_0x634452[_0x37195d(0x4c9)])===_0x1f70ef[_0x37195d(0x470)][_0x37195d(0x40b)]?_0x10a897[0x0]:null;}function _0x808b19(_0x92a000){const _0x54502c=_0x54e2e6;return(_0x92a000==null?void 0x0:_0x92a000[_0x54502c(0x2fa)])===_0x1f70ef['PositionedObjectLayoutType'][_0x54502c(0x40e)]?_0x92a000[_0x54502c(0x18b)]===_0x1f70ef[_0x54502c(0x1aa)][_0x54502c(0x1ce)]?_0x535687[_0x54502c(0x31e)][_0x54502c(0x4d0)]:_0x535687[_0x54502c(0x31e)]['IN_FRONT_OF_TEXT']:(_0x92a000==null?void 0x0:_0x92a000['layoutType'])===_0x1f70ef['PositionedObjectLayoutType'][_0x54502c(0x1ba)]?_0x535687[_0x54502c(0x31e)]['WRAP_SQUARE']:(_0x92a000==null?void 0x0:_0x92a000['layoutType'])===_0x1f70ef[_0x54502c(0x3e4)]['WRAP_TOP_AND_BOTTOM']?_0x535687[_0x54502c(0x31e)]['WRAP_TOP_AND_BOTTOM']:_0x535687['TextWrappingStyle']['INLINE'];}function _0x11db84(_0x39e0be){const _0x3fa974=_0x54e2e6;let _0x496bc9=_0x39e0be[_0x3fa974(0x429)](_0x1f70ef['ICommandService']),_0x269d4f=_0x39e0be['get'](_0x509efb[_0x3fa974(0x178)]),_0x453220=_0x39e0be[_0x3fa974(0x429)](_0x1f70ef[_0x3fa974(0x3bb)]);return new _0x3781f8[(_0x3fa974(0x3ea))](_0x4f19a4=>{const _0x7372ea=_0x3fa974;let _0x13e9fa=()=>{const _0x28ffd6=_0x1cb9;var _0x23aa75;let _0x551e77=_0x4ddc7f(_0x39e0be),_0xa7a041=_0x551e77?_0x453220[_0x28ffd6(0x46f)](_0x551e77[_0x28ffd6(0x2a9)],_0x1f70ef[_0x28ffd6(0x283)]['UNIVER_DOC']):void 0x0;_0x4f19a4['next'](_0x808b19(_0x551e77?_0xa7a041==null||(_0x23aa75=_0xa7a041['getSnapshot']()['drawings'])==null?void 0x0:_0x23aa75[_0x551e77[_0x28ffd6(0x2e7)]]:void 0x0));},_0x570ff9=_0x269d4f[_0x7372ea(0x48f)][_0x7372ea(0x169)](_0x13e9fa),_0x7b934c=_0x496bc9['onCommandExecuted'](_0x569e20=>{const _0x2f5195=_0x7372ea;_0x569e20['id']===_0x5f20c1[_0x2f5195(0x3fc)]['id']&&_0x13e9fa();});return _0x13e9fa(),()=>{const _0xf7aec0=_0x7372ea;_0x570ff9[_0xf7aec0(0x190)](),_0x7b934c[_0xf7aec0(0x267)]();};})[_0x3fa974(0x4bb)]((0x0,_0x3781f8[_0x3fa974(0x19d)])());}function _0x2af056(_0x4e6fbe,_0x3f2178=!0x1){const _0x526927=_0x54e2e6;let _0x47b151=_0x4e6fbe[_0x526927(0x429)](_0x1f70ef['ICommandService']),_0x44c70e=_0x4e6fbe[_0x526927(0x429)](_0x509efb[_0x526927(0x178)]),_0x2b59e3=_0x4e6fbe[_0x526927(0x429)](_0x156d72[_0x526927(0x333)]);return new _0x3781f8[(_0x526927(0x3ea))](_0x3cf0d4=>{const _0x2b07c5=_0x526927;let _0xac3257=()=>{const _0x569923=_0x1cb9;let _0x11704d=_0x4ddc7f(_0x4e6fbe);if(!_0x11704d){_0x3cf0d4['next'](!0x0);return;}let _0x3f2a08=_0x2b59e3['getShapeDataById'](_0x11704d[_0x569923(0x2a9)],_0x11704d[_0x569923(0x2bf)],_0x11704d['drawingId']);_0x3cf0d4[_0x569923(0x18e)](!_0x3f2a08||_0x3f2178&&_0x3f2a08[_0x569923(0x411)]==null);},_0x1b8bc0=_0x44c70e['focus$']['subscribe'](_0xac3257),_0x3e2edd=_0x47b151[_0x2b07c5(0x326)](_0x5bc1ce=>{const _0x28666b=_0x2b07c5;_0x5bc1ce['id']===_0x156d72[_0x28666b(0x4b2)]['id']&&_0xac3257();});return _0xac3257(),()=>{const _0xab79db=_0x2b07c5;_0x1b8bc0['unsubscribe'](),_0x3e2edd[_0xab79db(0x267)]();};});}function _0xc5d771(_0x2d8040){const _0x1a11ee=_0x54e2e6;let _0x13a7b8=_0x2d8040[_0x1a11ee(0x429)](_0x509efb['IDrawingManagerService']),_0x429f5c=_0x2d8040[_0x1a11ee(0x429)](_0x156d72[_0x1a11ee(0x333)]);return _0x13a7b8[_0x1a11ee(0x48f)][_0x1a11ee(0x4bb)]((0x0,_0x3781f8[_0x1a11ee(0x381)])(_0x13a7b8['getFocusDrawings']()),(0x0,_0x3781f8[_0x1a11ee(0x4ba)])(()=>{const _0x1af615=_0x1a11ee;let _0x330e37=_0x4ddc7f(_0x2d8040),_0x4e00a4=_0x330e37?_0x429f5c['getShapeTypeById'](_0x330e37['unitId'],_0x330e37[_0x1af615(0x2bf)],_0x330e37[_0x1af615(0x2e7)]):void 0x0;return _0x4e00a4===void 0x0||(0x0,_0x11cfc4[_0x1af615(0x286)])(_0x4e00a4);}));}function _0x12c684(_0x396cc8){const _0x14a6a6=_0x54e2e6;return{'id':_0x23b4a0['id'],'type':_0x7c4c2f[_0x14a6a6(0x2cb)][_0x14a6a6(0x484)],'icon':'PaintIcon','title':_0x14a6a6(0x27a),'tooltip':_0x14a6a6(0x27a),'selections':[{'label':{'name':_0x38ab15,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1f5d1e(_0x396cc8),'hidden$':_0x2af056(_0x396cc8)};}function _0x145869(_0x12f1c3){const _0x5cd55d=_0x54e2e6;return{'id':_0x8614a3['id'],'type':_0x7c4c2f[_0x5cd55d(0x2cb)][_0x5cd55d(0x484)],'icon':_0x5cd55d(0x3d8),'title':_0x5cd55d(0x30e),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x5ceb8e[_0x5cd55d(0x451)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0xc5d771(_0x12f1c3)};}function _0x571d95(_0x5ad41a,_0x1228e1,_0x1eeb89=!0x1){return _0x1629fe=>({'id':_0x5ad41a,'type':_0x7c4c2f['MenuItemType']['BUTTON'],'label':{'name':_0x1228e1,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x2af056(_0x1629fe,_0x1eeb89)});}let _0x18e5eb=_0x571d95(_0x471a2a,_0x11a36f),_0xe8079e=_0x571d95(_0x3901b0,_0x4327b8),_0x47e6e1=_0x571d95(_0xbd3d43,_0x191cb1,!0x0);function _0x2def5a(_0x1525b3){const _0x568031=_0x54e2e6;return{'id':_0x4ab358,'type':_0x7c4c2f[_0x568031(0x2cb)][_0x568031(0x484)],'icon':_0x1f13d0[0x0][_0x568031(0x24b)],'label':_0x2515e8,'selectionsCommandId':_0x535687[_0x568031(0x41f)]['id'],'selections':_0x1f13d0['map'](({icon:_0x2f6b25,label:_0x522217,value:_0x1c93fd})=>({'value':_0x1c93fd,'label':_0x522217,'icon':_0x2f6b25,'params':()=>{const _0x449402=_0x568031;let _0x48114d=_0x4ddc7f(_0x1525b3);return _0x48114d?{'unitId':_0x48114d[_0x449402(0x2a9)],'subUnitId':_0x48114d[_0x449402(0x2bf)],'drawings':[{'unitId':_0x48114d[_0x449402(0x2a9)],'subUnitId':_0x48114d[_0x449402(0x2bf)],'drawingId':_0x48114d[_0x449402(0x2e7)]}],'wrappingStyle':_0x1c93fd}:void 0x0;}})),'value$':_0x11db84(_0x1525b3),'hidden$':_0x2af056(_0x1525b3)};}function _0x572b10(_0x5b1d19,_0x3ed2a8,_0xdbf1da,_0x383905){const _0x129d2b=_0x54e2e6;return _0x4f3688=>({'id':_0x5b1d19,'commandId':_0x535687[_0x129d2b(0x2bd)]['id'],'type':_0x7c4c2f[_0x129d2b(0x2cb)][_0x129d2b(0x1ed)],'icon':_0xdbf1da,'title':_0x383905,'tooltip':_0x383905,'hidden$':_0x2af056(_0x4f3688),'params':()=>{const _0x40f450=_0x129d2b;let _0x55fc79=_0x4ddc7f(_0x4f3688);return _0x55fc79?{'unitId':_0x55fc79['unitId'],'subUnitId':_0x55fc79[_0x40f450(0x2bf)],'drawingIds':[_0x55fc79[_0x40f450(0x2e7)]],'arrangeType':_0x3ed2a8}:void 0x0;}});}let _0x1e17c1=_0x572b10(_0x19eeaf,_0x1f70ef[_0x54e2e6(0x4e1)][_0x54e2e6(0x311)],_0x54e2e6(0x159),_0x54e2e6(0x490)),_0xa1a5cf=_0x572b10(_0x13160b,_0x1f70ef[_0x54e2e6(0x4e1)]['backward'],_0x54e2e6(0x3ac),'shape-editor-ui.arrange.backward'),_0x55eba9=_0x572b10(_0x37e15b,_0x1f70ef[_0x54e2e6(0x4e1)][_0x54e2e6(0x445)],'TopmostIcon',_0x54e2e6(0x472)),_0x20edb9=_0x572b10(_0xc2421a,_0x1f70ef['ArrangeTypeEnum']['back'],_0x54e2e6(0x2bb),_0x54e2e6(0x385));function _0x5df0f(_0x129ec0){const _0x483a35=_0x54e2e6;let _0x4a27c3=_0x129ec0[_0x483a35(0x429)](_0x7c4c2f['ISidebarService']);return{'activated$':(0x0,_0x3781f8[_0x483a35(0x2d8)])(()=>_0x4a27c3['sidebarOptions$']['pipe']((0x0,_0x3781f8[_0x483a35(0x381)])(_0x4a27c3[_0x483a35(0x2e4)]),(0x0,_0x3781f8[_0x483a35(0x4ba)])(_0x1e4dc6=>_0x1e4dc6['visible']===!0x0&&_0x1e4dc6['id']===_0x483a35(0x4dc)),(0x0,_0x3781f8['distinctUntilChanged'])())),'id':_0xf4b337['id'],'type':_0x7c4c2f[_0x483a35(0x2cb)]['BUTTON'],'icon':'ShapeFormatSettingIcon','title':_0x483a35(0x419),'tooltip':_0x483a35(0x419),'hidden$':_0x2af056(_0x129ec0),'params':()=>{const _0x3d95b5=_0x483a35;let _0x2148a2=_0x4ddc7f(_0x129ec0);return _0x2148a2?{'unitId':_0x2148a2[_0x3d95b5(0x2a9)],'subUnitId':_0x2148a2['subUnitId'],'drawingId':_0x2148a2[_0x3d95b5(0x2e7)]}:void 0x0;}};}let _0x17a580={[_0x7c4c2f[_0x54e2e6(0x409)]['RIBBON']]:{[_0x150b38]:{'order':0x64,'title':_0x54e2e6(0x419),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x23b4a0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x12c684},[_0x8614a3['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x145869}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x471a2a]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x18e5eb}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x3901b0]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0xe8079e}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x4ab358]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2def5a},[_0x19eeaf]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x1e17c1},[_0x13160b]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0xa1a5cf},[_0x37e15b]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x55eba9},[_0xc2421a]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x20edb9}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0xbd3d43]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x47e6e1}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0xf4b337['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5df0f},[_0x5ceb8e[_0x54e2e6(0x179)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x5ceb8e['ShapeFloatingToolbarToggleFactory']}}}}},_0x31ed66={[_0x7c4c2f['RibbonInsertGroup']['MEDIA']]:{[_0x2567e4['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x586246=>({..._0x563e01(_0x586246),'title':void 0x0})}},[_0x7c4c2f[_0x54e2e6(0x496)][_0x54e2e6(0x2ea)]]:{[_0x27bc22['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x1336d3}},[_0x7c4c2f[_0x54e2e6(0x4ae)][_0x54e2e6(0x221)]]:{[_0x7c4c2f[_0x54e2e6(0x198)][_0x54e2e6(0x235)]]:{[_0x5bdd19[_0x54e2e6(0x4dd)]]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x49b5e5}}},[_0x5bdd19['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x7c4c2f[_0x54e2e6(0x198)][_0x54e2e6(0x235)]]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x49b5e5}}},[_0x5bdd19[_0x54e2e6(0x2be)]]:{[_0x7c4c2f['ContextMenuGroup']['LAYOUT']]:{[_0x2567e4['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x31cd9a}}},[_0x5bdd19[_0x54e2e6(0x1a2)]]:{'insert':{[_0x2567e4['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x563e01}}},[_0x5bdd19[_0x54e2e6(0x173)]]:{'insert':{[_0x2567e4['id']+_0x54e2e6(0x453)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x49b5e5}}}}};var _0x48c514=_0x54e2e6(0x4da),_0x52174e=_0x54e2e6(0x3af);let _0x388435={'type':_0x1f70ef['CommandType']['OPERATION'],'id':_0x54e2e6(0x161),'handler'(){return!0x0;}},_0x13b595=_0x54e2e6(0x1d7),_0x5a00d5={};function _0x41e84f(_0x247bac){'@babel/helpers - typeof';const _0x399e3f=_0x54e2e6;return _0x41e84f=typeof Symbol==_0x399e3f(0x469)&&typeof Symbol['iterator']==_0x399e3f(0x497)?function(_0x38af02){return typeof _0x38af02;}:function(_0x543c58){const _0x592b88=_0x399e3f;return _0x543c58&&typeof Symbol==_0x592b88(0x469)&&_0x543c58['constructor']===Symbol&&_0x543c58!==Symbol[_0x592b88(0x2aa)]?_0x592b88(0x497):typeof _0x543c58;},_0x41e84f(_0x247bac);}function _0x116d98(_0x292a97,_0xaa496){const _0x48560c=_0x54e2e6;if(_0x41e84f(_0x292a97)!='object'||!_0x292a97)return _0x292a97;var _0x21129e;if(typeof Symbol<'u'&&(_0x21129e=_0x292a97[Symbol[_0x48560c(0x202)]])!==void 0x0){var _0x50e840=_0x21129e['call'](_0x292a97,_0xaa496||_0x48560c(0x19a));if(_0x41e84f(_0x50e840)!=_0x48560c(0x2de))return _0x50e840;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xaa496==='string'?String:Number)(_0x292a97);}function _0x249672(_0x519987){const _0x53eca6=_0x54e2e6;var _0x1799a3=_0x116d98(_0x519987,_0x53eca6(0x4d8));return _0x41e84f(_0x1799a3)=='symbol'?_0x1799a3:_0x1799a3+'';}function _0x3d621e(_0x208b7f,_0xe23402,_0x394e04){return(_0xe23402=_0x249672(_0xe23402))in _0x208b7f?Object['defineProperty'](_0x208b7f,_0xe23402,{'value':_0x394e04,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x208b7f[_0xe23402]=_0x394e04,_0x208b7f;}var _0x4ee75b=class extends _0x35408c[_0x54e2e6(0x16c)]{constructor(_0x17bebf,_0x34975e){const _0x337f8d=_0x54e2e6;super(_0x17bebf,_0x34975e),_0x3d621e(this,_0x337f8d(0x491),null),_0x3d621e(this,_0x337f8d(0x3fb),null),_0x3d621e(this,'_unitId',null),_0x3d621e(this,_0x337f8d(0x3be),null),_0x34975e&&this[_0x337f8d(0x17c)](_0x34975e);}[_0x54e2e6(0x28e)](){const _0xafee77=_0x54e2e6;return{'unitId':this[_0xafee77(0x200)],'subUnitId':this[_0xafee77(0x3be)],'drawingId':this[_0xafee77(0x491)]};}['setShapeProps'](_0x35f488){const _0x24def4=_0x54e2e6;_0x35f488[_0x24def4(0x4e2)]!==void 0x0&&(this[_0x24def4(0x491)]=_0x35f488[_0x24def4(0x4e2)]),_0x35f488[_0x24def4(0x1a7)]!==void 0x0&&(this[_0x24def4(0x3fb)]=_0x35f488['adjName']),_0x35f488[_0x24def4(0x2a9)]!==void 0x0&&(this[_0x24def4(0x200)]=_0x35f488[_0x24def4(0x2a9)]),_0x35f488['subUnitId']!==void 0x0&&(this[_0x24def4(0x3be)]=_0x35f488[_0x24def4(0x2bf)]),this[_0x24def4(0x1b9)]({'width':_0x35f488[_0x24def4(0x45c)],'height':_0x35f488[_0x24def4(0x4d1)]});}[_0x54e2e6(0x317)](_0xd7f599){const _0x455bae=_0x54e2e6;_0x35408c[_0x455bae(0x16f)]['drawWith'](_0xd7f599,{'radius':_0x11cfc4['ShapeDefaultConfig'][_0x455bae(0x21b)],'fill':_0x11cfc4[_0x455bae(0x15e)][_0x455bae(0x4b3)],'stroke':_0x11cfc4[_0x455bae(0x15e)][_0x455bae(0x165)],'strokeWidth':0x1,'evented':!0x0});}};function _0x10d91f(_0x264449,_0x2e78d6,_0x52222c){const _0xdcdaee=_0x54e2e6;let _0x40bf5c={..._0x2e78d6,'dataModel':{..._0x2e78d6[_0xdcdaee(0x32d)]??{},..._0x52222c?{'doc':_0x52222c}:null}},_0x3f5c45=(0x0,_0x5ceb8e[_0xdcdaee(0x4c4)])(_0x264449,_0x40bf5c),_0x269f92=(0x0,_0x5ceb8e[_0xdcdaee(0x39a)])(_0x3f5c45);return{'clip':(0x0,_0x5ceb8e[_0xdcdaee(0x2f4)])(_0x3f5c45,_0x269f92),'wrapStrategy':_0x269f92};}var _0x418197=class extends _0x35408c[_0x54e2e6(0x16c)]{constructor(_0x2111f3,_0x147fda){const _0x2a215f=_0x54e2e6;super(_0x2111f3,_0x147fda),_0x3d621e(this,_0x2a215f(0x466),[]),_0x3d621e(this,_0x2a215f(0x3f4),void 0x0),_0x3d621e(this,'_formulaAnimation',new _0x5ceb8e[(_0x2a215f(0x33b))](()=>this[_0x2a215f(0x1df)](!0x0),()=>this[_0x2a215f(0x2ec)]())),_0x3d621e(this,_0x2a215f(0x1f3),!0x0),_0x3d621e(this,_0x2a215f(0x364),_0x1f70ef['DrawingTypeEnum'][_0x2a215f(0x40b)]),_0x3d621e(this,_0x2a215f(0x475),!0x0),this[_0x2a215f(0x3f4)]={..._0x147fda},this[_0x2a215f(0x32a)]['setPresentation'](_0x147fda['formulaPresentation'],_0x147fda[_0x2a215f(0x441)]!==!0x1),this['_init'](),this[_0x2a215f(0x2ec)]();}['_init'](){const _0x56f8fe=_0x54e2e6;this[_0x56f8fe(0x197)][_0x56f8fe(0x46c)](_0x2c70f1=>{const _0x5a960c=_0x56f8fe;this[_0x5a960c(0x4a4)](_0x2c70f1);});}[_0x54e2e6(0x1fb)](_0x55416f){const _0x22ca4e=_0x54e2e6;this['_props'][_0x22ca4e(0x1bd)]=_0x55416f;}['resolveHyperLinkAt'](_0x26a4a3){const _0x4bcf59=_0x54e2e6;if(this[_0x4bcf59(0x3f4)][_0x4bcf59(0x2d5)])return null;let _0x1fa9ea=this[_0x4bcf59(0x2c8)](_0x26a4a3),{width:_0x24cdd2,height:_0x51d45c}=this[_0x4bcf59(0x170)]();return(0x0,_0x5ceb8e[_0x4bcf59(0x2b3)])(this[_0x4bcf59(0x466)],{'x':(this[_0x4bcf59(0x32e)]?-_0x1fa9ea['x']:_0x1fa9ea['x'])+_0x24cdd2/0x2,'y':_0x1fa9ea['y']+_0x51d45c/0x2});}[_0x54e2e6(0x174)](_0x35c3a9){const _0x533c8f=_0x54e2e6;this[_0x533c8f(0x3f4)][_0x533c8f(0x2d5)]=_0x35c3a9,this[_0x533c8f(0x1df)](!0x0);}[_0x54e2e6(0x35b)](_0x48ea07,_0x49c852=!0x0){const _0x3b1560=_0x54e2e6;this[_0x3b1560(0x32a)][_0x3b1560(0x35c)](_0x48ea07,_0x49c852),this[_0x3b1560(0x3f4)][_0x3b1560(0x1d6)]=_0x48ea07,this[_0x3b1560(0x2ec)](),this[_0x3b1560(0x1df)](!0x0);}[_0x54e2e6(0x2ec)](){const _0x2a5ffe=_0x54e2e6;let _0x479b02=this['_props'][_0x2a5ffe(0x144)],_0x27f602=_0x479b02['getShapeTextData'](),_0x2e6d8b=(0x0,_0x5ceb8e[_0x2a5ffe(0x420)])(_0x27f602==null?void 0x0:_0x27f602[_0x2a5ffe(0x32d)]),_0x5a79e1=_0x2e6d8b==null?void 0x0:_0x2e6d8b['doc'],_0x80b089=this[_0x2a5ffe(0x32a)][_0x2a5ffe(0x2f0)]();if(!_0x5a79e1||_0x80b089[_0x2a5ffe(0x44b)]===0x0)return;_0x479b02[_0x2a5ffe(0x3b6)]({'width':this[_0x2a5ffe(0x45c)],'height':this[_0x2a5ffe(0x4d1)]});let _0x3baa4a=(0x0,_0x5ceb8e[_0x2a5ffe(0x3a3)])({'documentData':_0x80b089[_0x2a5ffe(0x4ba)](_0x2755fe=>(0x0,_0x339478['createShapeFormulaDocument'])(_0x5a79e1,_0x2755fe)),'height':this[_0x2a5ffe(0x4d1)],'shapeData':_0x479b02[_0x2a5ffe(0x4d2)](),'textRect':_0x479b02[_0x2a5ffe(0x1ab)]({'left':0x0,'top':0x0,'width':this['width'],'height':this[_0x2a5ffe(0x4d1)]}),'width':this[_0x2a5ffe(0x45c)]});if(_0x3baa4a){var _0x185aa4;this[_0x2a5ffe(0x29d)](_0x3baa4a[_0x2a5ffe(0x45c)],_0x3baa4a[_0x2a5ffe(0x4d1)]),(_0x185aa4=this[_0x2a5ffe(0x1b0)]())==null||(_0x185aa4=_0x185aa4[_0x2a5ffe(0x4b7)]())==null||_0x185aa4['debounceRefreshControls']();}}get['unitId'](){const _0x4d84b0=_0x54e2e6;return this[_0x4d84b0(0x3f4)]['unitId'];}get[_0x54e2e6(0x2bf)](){const _0x5a8db1=_0x54e2e6;return this[_0x5a8db1(0x3f4)][_0x5a8db1(0x2bf)];}[_0x54e2e6(0x4a4)](_0x4a3c42){const _0x822f55=_0x54e2e6;if(this[_0x822f55(0x3f4)]['srcRect']==null||!this[_0x822f55(0x1f3)])return;let {width:_0x3d09a9,height:_0x48f582}=this,{width:_0x32e062=0x0,height:_0x22929a=0x0}=_0x4a3c42[_0x822f55(0x1ad)],{left:_0x5472d5=0x0,top:_0x4b5395=0x0,right:_0x3f8d93=0x0,bottom:_0x5cd2b1=0x0}=this[_0x822f55(0x3f4)][_0x822f55(0x464)],_0x4762d5=_0x5472d5,_0x278575=_0x4b5395,_0x4991cc=_0x3f8d93,_0x5367cc=_0x5cd2b1,_0x26f4db=!0x1;if(_0x32e062!==0x0&&_0x32e062!==_0x3d09a9){let _0x859e20=_0x5472d5/_0x32e062,_0x15335d=_0x3f8d93/_0x32e062;_0x4762d5=_0x3d09a9*_0x859e20,_0x4991cc=_0x3d09a9*_0x15335d,_0x26f4db=!0x0;}if(_0x22929a!==0x0&&_0x22929a!==_0x48f582){let _0x4b6c47=_0x4b5395/_0x22929a,_0x502497=_0x5cd2b1/_0x22929a;_0x278575=_0x48f582*_0x4b6c47,_0x5367cc=_0x48f582*_0x502497,_0x26f4db=!0x0;}_0x26f4db&&this['setSrcRect']({'left':_0x4762d5,'top':_0x278575,'right':_0x4991cc,'bottom':_0x5367cc});}['setSrcRect'](_0x357acf){const _0x5c2211=_0x54e2e6;this[_0x5c2211(0x3f4)]['srcRect']=_0x357acf,this[_0x5c2211(0x1df)](!0x0);}[_0x54e2e6(0x2cd)](_0x538e6b){const _0x14cb99=_0x54e2e6;this[_0x14cb99(0x3f4)][_0x14cb99(0x2c2)]=_0x538e6b,this[_0x14cb99(0x1df)](!0x0);}set['transform'](_0x3a83fc){const _0x1100f5=_0x54e2e6;this[_0x1100f5(0x3df)]=_0x3a83fc;}get[_0x54e2e6(0x24d)](){const _0x275a1a=_0x54e2e6;this['_transform']||this[_0x275a1a(0x37e)]();let _0x501275=this[_0x275a1a(0x3df)][_0x275a1a(0x49f)]();return this[_0x275a1a(0x1ff)](_0x501275);}get['shapeModel'](){const _0x1175b7=_0x54e2e6;return this[_0x1175b7(0x3f4)][_0x1175b7(0x144)];}get[_0x54e2e6(0x4e2)](){const _0x31fa1a=_0x54e2e6;return this[_0x31fa1a(0x3f4)][_0x31fa1a(0x4e2)];}get[_0x54e2e6(0x2f1)](){const _0x3398f4=_0x54e2e6;return _0x35408c[_0x3398f4(0x384)][_0x3398f4(0x35d)];}[_0x54e2e6(0x317)](_0xd4d2e9,_0x3802f1,_0x5520a1,_0x1b721c){const _0x4e4e6a=_0x54e2e6;let _0x346976=this[_0x4e4e6a(0x3f4)][_0x4e4e6a(0x144)];if(!_0x346976||!_0x3802f1)return;let _0x2dd67e=_0x5520a1??this[_0x4e4e6a(0x45c)],_0x4718a1=_0x1b721c??this[_0x4e4e6a(0x4d1)],_0x33abc2={'shapeType':_0x346976['getShapeType'](),'width':_0x2dd67e,'height':_0x4718a1},_0x3a5f81={'renderMode':_0x11cfc4[_0x4e4e6a(0x3c4)][_0x4e4e6a(0x1ae)],'oKey':this['oKey'],'image':this[_0x4e4e6a(0x3f4)][_0x4e4e6a(0x2c2)],'angle':this[_0x4e4e6a(0x17f)]};_0x346976['updateContext'](_0x33abc2),_0xd4d2e9[_0x4e4e6a(0x33c)]();let _0x37022c={'top':0x0,'left':0x0,'width':_0x2dd67e,'height':_0x4718a1},_0x412561=_0x346976[_0x4e4e6a(0x25d)](_0x37022c);_0x412561?this[_0x4e4e6a(0x455)](_0xd4d2e9,_0x412561,_0x550e2a=>{const _0x35038=_0x4e4e6a;_0x346976[_0x35038(0x3ff)](_0x550e2a,_0x37022c,_0x3a5f81);}):(this[_0x4e4e6a(0x372)](),_0x346976[_0x4e4e6a(0x3ff)](_0xd4d2e9,_0x37022c,_0x3a5f81)),_0xd4d2e9[_0x4e4e6a(0x4aa)]();let _0x5bf373=_0x346976[_0x4e4e6a(0x2ac)](),_0x3a053f=_0x346976[_0x4e4e6a(0x1ab)](_0x37022c),_0x52c9b0=_0x346976[_0x4e4e6a(0x21d)]();if(_0x5bf373&&_0x3a053f&&!_0x52c9b0){_0xd4d2e9['save'](),this[_0x4e4e6a(0x41b)]()[_0x4e4e6a(0x32e)]&&_0xd4d2e9['scale'](-0x1,0x1);let _0x4e5858=_0x2dd67e/0x2,_0x21e232=_0x4718a1/0x2;_0xd4d2e9['translate'](-_0x4e5858,-_0x21e232),_0xd4d2e9[_0x4e4e6a(0x17b)](),this[_0x4e4e6a(0x16b)](_0xd4d2e9,_0x5bf373,_0x3a053f),_0xd4d2e9[_0x4e4e6a(0x4aa)]();}}['getDrawingPoints'](_0x17349a){}[_0x54e2e6(0x16b)](_0x18f98f,_0x5be453,_0x48696a){const _0x46c313=_0x54e2e6;var _0x55b30c;this[_0x46c313(0x466)]=[],this[_0x46c313(0x3f4)][_0x46c313(0x2d5)]||(!((_0x55b30c=_0x5be453[_0x46c313(0x32d)])!=null&&_0x55b30c[_0x46c313(0x43d)])&&'isRichText'in _0x5be453&&_0x5be453[_0x46c313(0x428)]===!0x1?this[_0x46c313(0x374)](_0x18f98f,_0x5be453,_0x48696a):this[_0x46c313(0x1c3)](_0x18f98f,_0x5be453,_0x48696a));}['_drawSimpleText'](_0x560937,_0x335e10,_0x119e5f){const _0x14f480=_0x54e2e6;this[_0x14f480(0x1c3)](_0x560937,{..._0x335e10,'text':_0x335e10[_0x14f480(0x3e5)]??'','dataModel':{'doc':(0x0,_0x5ceb8e[_0x14f480(0x41c)])(_0x335e10,'docs-shape-text-'+this['oKey'])}},_0x119e5f);}[_0x54e2e6(0x1c3)](_0x3e35f6,_0x57df9d,_0x1e0dd8){const _0x6a7803=_0x54e2e6;(0x0,_0x5ceb8e[_0x6a7803(0x447)])(_0x3e35f6,this[_0x6a7803(0x32a)],(_0x2294a8,_0x51f684,_0x2baf4c)=>{const _0x1e0379=_0x6a7803;this[_0x1e0379(0x2fe)](_0x2294a8,_0x57df9d,_0x1e0dd8,_0x51f684,_0x2baf4c===_0x1e0379(0x168));});}[_0x54e2e6(0x2fe)](_0x5707ae,_0x1e872c,_0x18dbec,_0x2229e0,_0x40a717){const _0x933f1b=_0x54e2e6;let _0x5313dc=this['_props'][_0x933f1b(0x47f)];if(!_0x1e872c[_0x933f1b(0x32d)]||!_0x5313dc){_0x5313dc||console[_0x933f1b(0x309)](_0x933f1b(0x2a8));return;}let _0x49c966=(0x0,_0x5ceb8e['normalizeShapeTextModel'])(_0x1e872c['dataModel']);if(!_0x49c966)return;let _0x3c5f29=_0x49c966[_0x933f1b(0x43d)];if(!_0x3c5f29)return;let _0x1cef20=(0x0,_0x339478[_0x933f1b(0x312)])(_0x3c5f29,_0x2229e0),_0x48ce15=_0x49c966['va']??_0x1f70ef[_0x933f1b(0x49e)][_0x933f1b(0x4b6)],_0xc79e1d=_0x49c966['ha']??_0x1f70ef['HorizontalAlign'][_0x933f1b(0x443)],_0x538143=_0x10d91f(this[_0x933f1b(0x3f4)][_0x933f1b(0x144)][_0x933f1b(0x4d2)](),_0x1e872c,_0x1cef20),_0x53ec0b=_0x1e872c[_0x933f1b(0x297)],_0x47d3c0=(0x0,_0x5ceb8e[_0x933f1b(0x216)])(_0x1cef20,{'isHorizontal':_0x53ec0b!==!0x1,'textRect':_0x18dbec,'verticalAlign':_0x48ce15,'horizontalAlign':_0xc79e1d,'wrapStrategy':_0x538143['wrapStrategy']}),_0x37ab63=new _0x1f70ef[(_0x933f1b(0x39c))](_0x47d3c0),_0x10113a=new _0x35408c[(_0x933f1b(0x37b))](_0x37ab63),_0x298e02=_0x35408c['DocumentSkeleton'][_0x933f1b(0x224)](_0x10113a,_0x5313dc);_0x298e02[_0x933f1b(0x3cc)]();let _0x49c449=_0x298e02[_0x933f1b(0x2e8)]()[_0x933f1b(0x358)],_0x3950d8=(0x0,_0x5ceb8e[_0x933f1b(0x1c0)])({'contentHeight':_0x49c449,'verticalAlign':_0x48ce15,'viewportHeight':_0x18dbec[_0x933f1b(0x4d1)]});_0x37ab63[_0x933f1b(0x1e1)]({'pageSize':{'width':_0x53ec0b===!0x1?_0x18dbec[_0x933f1b(0x4d1)]:_0x18dbec[_0x933f1b(0x45c)],'height':(0x0,_0x5ceb8e[_0x933f1b(0x1f9)])(_0x1cef20,_0x3950d8['contentHeight'])}}),_0x37ab63['updateDocumentDataMargin']({'t':_0x3950d8[_0x933f1b(0x222)]}),_0x298e02[_0x933f1b(0x3cc)]();let _0xc9f1e=new _0x35408c[(_0x933f1b(0x43b))]('shape-text-'+this[_0x933f1b(0x47c)],_0x298e02,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x933f1b(0x1df)](!0x0)});_0xc9f1e[_0x933f1b(0x29d)](_0x18dbec[_0x933f1b(0x45c)],_0x3950d8['contentHeight']),_0x5707ae['save'](),_0x5707ae[_0x933f1b(0x318)](_0x18dbec['left'],_0x18dbec[_0x933f1b(0x199)]),_0x538143[_0x933f1b(0x2a2)]&&(_0x5707ae[_0x933f1b(0x17b)](),_0x5707ae[_0x933f1b(0x354)](0x0,_0x3950d8[_0x933f1b(0x2e0)],_0x18dbec['width'],_0x3950d8[_0x933f1b(0x446)]),_0x5707ae[_0x933f1b(0x2a2)]()),_0x3950d8[_0x933f1b(0x352)]&&_0x5707ae['translateWithPrecision'](0x0,_0x3950d8['contentVerticalOffset']),_0xc9f1e[_0x933f1b(0x279)](_0x5707ae),_0x40a717&&(this[_0x933f1b(0x466)]=(0x0,_0x5ceb8e[_0x933f1b(0x474)])(_0xc9f1e,{'left':_0x18dbec[_0x933f1b(0x3ec)],'top':_0x18dbec[_0x933f1b(0x199)]+_0x3950d8[_0x933f1b(0x352)]},_0x538143['clip']?{'left':_0x18dbec[_0x933f1b(0x3ec)],'right':_0x18dbec[_0x933f1b(0x3ec)]+_0x18dbec[_0x933f1b(0x45c)],'top':_0x18dbec[_0x933f1b(0x199)]+_0x3950d8[_0x933f1b(0x2e0)],'bottom':_0x18dbec['top']+_0x3950d8[_0x933f1b(0x2e0)]+_0x3950d8[_0x933f1b(0x446)]}:void 0x0)),_0x5707ae['restore'](),_0xc9f1e[_0x933f1b(0x267)](),_0x298e02[_0x933f1b(0x267)](),_0x10113a[_0x933f1b(0x267)](),_0x37ab63[_0x933f1b(0x267)]();}[_0x54e2e6(0x3ff)](_0x79fa7a,_0x30bd7d,_0x3b2ccd=!0x1){const _0x22fc40=_0x54e2e6;if(!this[_0x22fc40(0x3c8)])return this[_0x22fc40(0x1df)](!0x1),this;let {width:_0x25fdfa,height:_0x351395,left:_0x1c865a,top:_0x4e5e76}=this,_0x5962a4=this[_0x22fc40(0x170)]();if(_0x25fdfa=_0x5962a4[_0x22fc40(0x45c)],_0x351395=_0x5962a4[_0x22fc40(0x4d1)],_0x1c865a=_0x5962a4[_0x22fc40(0x3ec)],_0x4e5e76=_0x5962a4[_0x22fc40(0x199)],this['isRender'](_0x30bd7d)){let {top:_0x1aded4,left:_0x9654b0,bottom:_0x259e65,right:_0x13c81c}=_0x30bd7d['viewBound'];if(_0x25fdfa+this[_0x22fc40(0x38e)]+_0x1c865a<_0x9654b0||_0x13c81c<_0x1c865a||_0x351395+this[_0x22fc40(0x38e)]+_0x4e5e76<_0x1aded4||_0x259e65<_0x4e5e76)return this;}let _0x458335=_0x1c865a+_0x25fdfa/0x2,_0x14c515=_0x4e5e76+_0x351395/0x2,_0x4f65eb=this[_0x22fc40(0x24d)][_0x22fc40(0x3a2)]();if(this[_0x22fc40(0x3f4)]['isEditing']){let _0x255d34=this[_0x22fc40(0x41b)](),_0xf87ad5=new _0x35408c[(_0x22fc40(0x29a))]();_0xf87ad5[_0x22fc40(0x325)]({..._0x255d34}),_0x4f65eb=_0xf87ad5[_0x22fc40(0x3a2)]();}return _0x79fa7a[_0x22fc40(0x33c)](),this[_0x22fc40(0x3f4)][_0x22fc40(0x144)]['isRenderLinePointsMode']===!0x0||_0x79fa7a[_0x22fc40(0x24d)](_0x4f65eb[0x0],_0x4f65eb[0x1],_0x4f65eb[0x2],_0x4f65eb[0x3],_0x458335,_0x14c515),this[_0x22fc40(0x317)](_0x79fa7a,_0x30bd7d,_0x25fdfa,_0x351395),_0x79fa7a['restore'](),this[_0x22fc40(0x1df)](!0x1),this;}[_0x54e2e6(0x2c8)](_0x1ec423){const _0x3c187d=_0x54e2e6;let {left:_0x10dd8b,top:_0x4a069f,width:_0x252a48,height:_0x16aaf6}=this[_0x3c187d(0x170)](),_0x1f7120=this['transform']['getMatrix'](),_0x5894f2=_0x10dd8b+_0x252a48/0x2,_0xe5e1df=_0x4a069f+_0x16aaf6/0x2,_0x1255a2=new _0x35408c[(_0x3c187d(0x29a))]([_0x1f7120[0x0],_0x1f7120[0x1],_0x1f7120[0x2],_0x1f7120[0x3],_0x5894f2,_0xe5e1df]),_0x444286=this[_0x3c187d(0x1d4)]();return(this[_0x3c187d(0x481)]&&(_0x444286==null?void 0x0:_0x444286[_0x3c187d(0x2f1)])===_0x35408c[_0x3c187d(0x384)][_0x3c187d(0x292)]?_0x444286[_0x3c187d(0x2f3)][_0x3c187d(0x337)](_0x1255a2):_0x1255a2)['invert']()[_0x3c187d(0x181)](_0x1ec423);}[_0x54e2e6(0x3bd)](_0x4aa269){const _0x25e8a3=_0x54e2e6;let {left:_0x247545,top:_0x4ef62d,width:_0x4ddf78,height:_0x5bdca9}=this['getRealBound'](),_0x4f6a38=_0x247545+_0x4ddf78/0x2,_0x24cfaa=_0x4ef62d+_0x5bdca9/0x2,_0x546cef=this[_0x25e8a3(0x24d)]['getMatrix'](),_0x369518=new _0x35408c[(_0x25e8a3(0x29a))]([_0x546cef[0x0],_0x546cef[0x1],_0x546cef[0x2],_0x546cef[0x3],_0x4f6a38,_0x24cfaa]),_0x37297d=this[_0x25e8a3(0x1d4)](),_0x13b9ed=(this[_0x25e8a3(0x481)]&&(_0x37297d==null?void 0x0:_0x37297d[_0x25e8a3(0x2f1)])===_0x35408c['RENDER_CLASS_TYPE'][_0x25e8a3(0x292)]?_0x37297d[_0x25e8a3(0x2f3)][_0x25e8a3(0x337)](_0x369518):_0x369518)[_0x25e8a3(0x247)]()[_0x25e8a3(0x181)](_0x4aa269),_0x38cc32=_0x4ddf78/0x2,_0x39b836=_0x5bdca9/0x2,_0xcae429=this['_props']['shapeModel'];return _0xcae429&&_0xcae429['isLineShape']()?_0xcae429[_0x25e8a3(0x29f)](_0x13b9ed['x'],_0x13b9ed['y'],_0x4ddf78,_0x5bdca9):_0x13b9ed['x']>=-_0x38cc32-this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['x']<=_0x38cc32+this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['y']>=-_0x39b836-this[_0x25e8a3(0x38e)]/0x2&&_0x13b9ed['y']<=_0x39b836+this['strokeWidth']/0x2;}[_0x54e2e6(0x267)](){const _0xf861b4=_0x54e2e6;this[_0xf861b4(0x32a)][_0xf861b4(0x267)](),this[_0xf861b4(0x3f4)][_0xf861b4(0x144)]=null,super['dispose']();}};let _0x548036=class extends _0x1f70ef['Disposable']{constructor(_0x5ad9ef,_0xfb063a,_0x39c99b,_0xb95008){const _0x2e0ac1=_0x54e2e6;super(),this['_context']=_0x5ad9ef,this['_drawingManagerService']=_0xfb063a,this[_0x2e0ac1(0x1b8)]=_0x39c99b,this[_0x2e0ac1(0x255)]=_0xb95008,_0x3d621e(this,'_activeShapeId',null),_0x3d621e(this,_0x2e0ac1(0x200),null),_0x3d621e(this,_0x2e0ac1(0x3be),null),_0x3d621e(this,_0x2e0ac1(0x164),void 0x0),_0x3d621e(this,_0x2e0ac1(0x3a4),[]),_0x3d621e(this,'_baseShapeLeft',0x0),_0x3d621e(this,_0x2e0ac1(0x1bb),0x0),_0x3d621e(this,_0x2e0ac1(0x232),0x0),_0x3d621e(this,_0x2e0ac1(0x3c6),0x0),_0x3d621e(this,_0x2e0ac1(0x214),!0x1),_0x3d621e(this,'_isShouldShowDrawingShapeAdjust',!0x1),_0x3d621e(this,'_activeAdjustInfo',void 0x0),_0x3d621e(this,_0x2e0ac1(0x3c7),void 0x0),_0x3d621e(this,'_adjHandlerPointerMove',void 0x0),_0x3d621e(this,_0x2e0ac1(0x257),void 0x0),this['_registerDrawingFocusChangeHandler'](),this[_0x2e0ac1(0x432)]();}[_0x54e2e6(0x263)](){const _0x497383=_0x54e2e6;this[_0x497383(0x2f5)]();}[_0x54e2e6(0x252)](){const _0x4bfcc7=_0x54e2e6;this[_0x4bfcc7(0x3b8)](!0x0);}[_0x54e2e6(0x3cd)](_0x1bbda9,_0x34d377,_0xc1f9bc){const _0x4ad184=_0x54e2e6;var _0x2f953f;return(_0x2f953f=this['_docsShapeService'][_0x4ad184(0x2b8)](_0x1bbda9,_0x34d377,_0xc1f9bc))==null?void 0x0:_0x2f953f[_0x4ad184(0x3c9)]();}['_getShapeAdjustInfosById'](_0x416c12,_0x3ef319,_0x3d5460,_0xe971fe){const _0x4cf3bc=_0x54e2e6;var _0x343934;return(_0x343934=this[_0x4cf3bc(0x1b8)][_0x4cf3bc(0x2b8)](_0x416c12,_0x3ef319,_0x3d5460))==null?void 0x0:_0x343934[_0x4cf3bc(0x48e)](_0xe971fe);}['_getActiveDrawingParam'](){const _0x586c62=_0x54e2e6;return this[_0x586c62(0x200)]===null||this[_0x586c62(0x3be)]===null||this[_0x586c62(0x146)]===null?null:this[_0x586c62(0x353)][_0x586c62(0x2dd)]({'unitId':this['_unitId'],'subUnitId':this[_0x586c62(0x3be)],'drawingId':this[_0x586c62(0x146)]})??null;}[_0x54e2e6(0x418)](_0x1623e3){const _0x58b3b2=_0x54e2e6;if(this[_0x58b3b2(0x200)]===null||this['_subUnitId']===null||this[_0x58b3b2(0x146)]===null)return null;let _0x508666=(0x0,_0x509efb['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x58b3b2(0x200)],'subUnitId':this[_0x58b3b2(0x3be)],'drawingId':this['_activeShapeId']}),_0x2b57d1=_0x1623e3[_0x58b3b2(0x3b9)](_0x508666);return _0x2b57d1 instanceof _0x418197?_0x2b57d1:null;}[_0x54e2e6(0x42a)](_0x3734e6=!0x1){const _0x525c51=_0x54e2e6;if(this[_0x525c51(0x200)]===null||this['_subUnitId']===null||this['_activeShapeId']===null)return;let _0x2c8a74=this['_getActiveDrawingParam']();if((_0x2c8a74==null?void 0x0:_0x2c8a74[_0x525c51(0x4c9)])!==_0x1f70ef['DrawingTypeEnum'][_0x525c51(0x40b)]||!_0x2c8a74[_0x525c51(0x24d)])return;let _0x3ae300=this['_docsShapeService']['getShapeModel'](this['_unitId'],this[_0x525c51(0x3be)],this[_0x525c51(0x146)]);if(!_0x3ae300||_0x3ae300[_0x525c51(0x21d)]())return;let {left:_0x1366b0=0x0,top:_0x3868af=0x0,width:_0xfb2e35=0x0,height:_0x4aa65a=0x0,flipX:_0x4d2d26,flipY:_0x3f3aff,angle:_0x5eabf3=0x0}=_0x2c8a74[_0x525c51(0x24d)];(_0x3734e6||!this[_0x525c51(0x164)])&&(_0x3ae300[_0x525c51(0x3b6)]({'width':_0xfb2e35,'height':_0x4aa65a}),this[_0x525c51(0x164)]=_0x3ae300[_0x525c51(0x3c9)]());let _0x7bddf1=this[_0x525c51(0x164)];if(!(_0x7bddf1!=null&&_0x7bddf1['length']))return;let {scene:_0x3f8afa}=this[_0x525c51(0x4c2)];for(let _0x7dc12 of _0x7bddf1){let _0x2da1b3=this['_toVisualAdjustPoint'](_0x7dc12,_0xfb2e35,_0x4aa65a,!!_0x4d2d26,!!_0x3f3aff,_0x5eabf3);this[_0x525c51(0x4a9)](_0x3f8afa,_0x2da1b3,_0x2da1b3[_0x525c51(0x1a7)],_0x1366b0,_0x3868af,this[_0x525c51(0x200)],this[_0x525c51(0x3be)]);}}['_toVisualAdjustPoint'](_0x14dfff,_0x397e31,_0x559894,_0x18f9d4,_0x2bc15c,_0x76e6c3){const _0xdcb1e9=_0x54e2e6;let _0x1c172d=_0x14dfff['x'],_0x12bd5f=_0x14dfff['y'];if(_0x18f9d4&&(_0x1c172d=_0x397e31-_0x1c172d),_0x2bc15c&&(_0x12bd5f=_0x559894-_0x12bd5f),_0x76e6c3!==0x0){let _0x1b48ea=_0x397e31/0x2,_0x4cb9fe=_0x559894/0x2,_0x4ed411=_0x76e6c3*Math['PI']/0xb4,_0x1b5192=Math[_0xdcb1e9(0x204)](_0x4ed411),_0x586000=Math[_0xdcb1e9(0x34c)](_0x4ed411),_0x5c499f=_0x1c172d-_0x1b48ea,_0x1af130=_0x12bd5f-_0x4cb9fe;_0x1c172d=_0x1b48ea+(_0x5c499f*_0x1b5192-_0x1af130*_0x586000),_0x12bd5f=_0x4cb9fe+(_0x5c499f*_0x586000+_0x1af130*_0x1b5192);}return{'x':_0x1c172d,'y':_0x12bd5f,'adjName':_0x14dfff[_0xdcb1e9(0x1a7)]};}[_0x54e2e6(0x3b8)](_0x213700=!0x1){const _0x2e7287=_0x54e2e6;_0x213700&&this[_0x2e7287(0x2f5)](),this['_createShapeAdjustControls'](_0x213700);}[_0x54e2e6(0x4a9)](_0x464245,_0x261145,_0x86df7c,_0x495286,_0x611c69,_0x813a28,_0x52782e){const _0x17704f=_0x54e2e6;if(!this[_0x17704f(0x146)])return;let _0x546560='doc-shape-adjust-point-'+this[_0x17704f(0x146)]+'-'+_0x86df7c,_0x2394a7=_0x464245[_0x17704f(0x3b9)](_0x546560);if(_0x2394a7){_0x2394a7[_0x17704f(0x1b9)]({'left':_0x261145['x']+_0x495286-_0x11cfc4['ShapeDefaultConfig'][_0x17704f(0x21b)],'top':_0x261145['y']+_0x611c69-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)]}),_0x2394a7[_0x17704f(0x1df)](!0x0);return;}let _0x1faa80=new _0x4ee75b(_0x546560,{'left':_0x261145['x']+_0x495286-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)],'top':_0x261145['y']+_0x611c69-_0x11cfc4[_0x17704f(0x15e)][_0x17704f(0x21b)],'adjName':_0x86df7c,'shapeId':this[_0x17704f(0x146)],'unitId':_0x813a28,'subUnitId':_0x52782e,'width':_0x11cfc4['ShapeDefaultConfig'][_0x17704f(0x21b)]+0x8,'height':_0x11cfc4['ShapeDefaultConfig']['adjHandleSize']+0x8,'zIndex':_0x35408c[_0x17704f(0x33d)]+0x1,'evented':!0x0});this[_0x17704f(0x3a4)]['push'](_0x1faa80),this[_0x17704f(0x4c0)](_0x1faa80,_0x464245,_0x86df7c),_0x464245['addObject'](_0x1faa80,_0x35408c[_0x17704f(0x33d)]+0x1);}[_0x54e2e6(0x2f5)](){const _0x2bbcbb=_0x54e2e6;this[_0x2bbcbb(0x3a4)]['forEach'](_0x5224bf=>_0x5224bf[_0x2bbcbb(0x267)]()),this[_0x2bbcbb(0x3a4)]=[];}['_updateAdjustControlPositions'](){const _0x17df7e=_0x54e2e6;this[_0x17df7e(0x42a)]();}[_0x54e2e6(0x20e)](_0x2be127,_0x564cf4,_0x3be930){const _0x1fd51d=_0x54e2e6;let _0x17dacf=_0x35408c[_0x1fd51d(0x45f)][_0x1fd51d(0x306)]([_0x564cf4,_0x3be930]),_0x5c9ef1=_0x2be127[_0x1fd51d(0x398)](_0x17dacf)??_0x2be127[_0x1fd51d(0x46a)]()[0x0];return(_0x5c9ef1==null?void 0x0:_0x5c9ef1[_0x1fd51d(0x38f)](_0x17dacf))??_0x17dacf;}[_0x54e2e6(0x4c0)](_0x2eb395,_0x1d14bf,_0x39cf54){const _0x3f332d=_0x54e2e6;this[_0x3f332d(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(_0x2eb395['onPointerDown$'][_0x3f332d(0x46c)]((_0x5ac3ed,_0x2daaf3)=>{const _0x2ff917=_0x3f332d;var _0x4f7d46;let _0x2de207=_0x2eb395[_0x2ff917(0x28e)]();this[_0x2ff917(0x259)]=this[_0x2ff917(0x276)](_0x2de207['unitId'],_0x2de207['subUnitId'],_0x2de207[_0x2ff917(0x2e7)],_0x39cf54),this['_activeShapeModel']=this[_0x2ff917(0x1b8)][_0x2ff917(0x2b8)](_0x2de207['unitId'],_0x2de207[_0x2ff917(0x2bf)],_0x2de207[_0x2ff917(0x2e7)]);let _0x5fabfa=this[_0x2ff917(0x1c9)](),_0x35aefb=_0x5fabfa==null?void 0x0:_0x5fabfa['transform'];if(!_0x5fabfa||!_0x35aefb||!this[_0x2ff917(0x3c7)])return;this[_0x2ff917(0x26c)]=_0x35aefb[_0x2ff917(0x3ec)]||0x0,this[_0x2ff917(0x1bb)]=_0x35aefb[_0x2ff917(0x199)]||0x0,this['_baseShapeWidth']=_0x35aefb[_0x2ff917(0x45c)]||0x0,this[_0x2ff917(0x3c6)]=_0x35aefb[_0x2ff917(0x4d1)]||0x0;let _0x597634=!!_0x35aefb[_0x2ff917(0x32e)],_0x2ef7e9=!!_0x35aefb['flipY'],_0x4e519c=_0x35aefb[_0x2ff917(0x17f)]||0x0,_0x42cd4a={...((_0x4f7d46=this['_activeAdjustInfo'])==null?void 0x0:_0x4f7d46[_0x2ff917(0x461)])??{}};this[_0x2ff917(0x214)]=!0x0,_0x1d14bf[_0x2ff917(0x158)](),this['_adjHandlerPointerMove']=_0x1d14bf['onPointerMove$'][_0x2ff917(0x46c)]((_0x259666,_0x4bc990)=>{const _0x32c0ad=_0x2ff917;var _0x4758e7;if(!this[_0x32c0ad(0x214)]||!this[_0x32c0ad(0x3c7)]||!this[_0x32c0ad(0x259)])return;_0x1d14bf[_0x32c0ad(0x158)](),_0x1d14bf[_0x32c0ad(0x4c3)](_0x35408c[_0x32c0ad(0x2a1)][_0x32c0ad(0x156)]);let _0x370c57=this['_toScenePoint'](_0x1d14bf,_0x259666[_0x32c0ad(0x1d5)],_0x259666['offsetY']),_0xf70774=_0x370c57['x']-this[_0x32c0ad(0x26c)],_0x69147e=_0x370c57['y']-this[_0x32c0ad(0x1bb)];if(_0x4e519c!==0x0){let _0x1de9c3=this[_0x32c0ad(0x232)]/0x2,_0x463bc3=this['_baseShapeHeight']/0x2,_0x524e7d=_0x4e519c*Math['PI']/0xb4,_0x3611c1=Math[_0x32c0ad(0x204)](_0x524e7d),_0x21f813=Math[_0x32c0ad(0x34c)](_0x524e7d),_0x8db004=_0xf70774-_0x1de9c3,_0x44239e=_0x69147e-_0x463bc3;_0xf70774=_0x1de9c3+(_0x8db004*_0x3611c1+_0x44239e*_0x21f813),_0x69147e=_0x463bc3+(-_0x8db004*_0x21f813+_0x44239e*_0x3611c1);}_0x597634&&(_0xf70774=this['_baseShapeWidth']-_0xf70774),_0x2ef7e9&&(_0x69147e=this[_0x32c0ad(0x3c6)]-_0x69147e);let _0x359517={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x32c0ad(0x3c6)]},_0x163e7d=this['_activeShapeModel']['calcAdjValues'](_0x359517,{'x':_0xf70774,'y':_0x69147e},this[_0x32c0ad(0x259)],_0x597634,_0x2ef7e9);if(Object[_0x32c0ad(0x1e9)](_0x163e7d)[_0x32c0ad(0x44b)]!==0x0){for(let [_0x517d81,_0x37e08f]of Object[_0x32c0ad(0x3b7)](_0x163e7d))this[_0x32c0ad(0x3c7)][_0x32c0ad(0x2d7)](_0x517d81,_0x37e08f);this[_0x32c0ad(0x3c7)]['updateContext']({'width':this['_baseShapeWidth'],'height':this[_0x32c0ad(0x3c6)]}),(_0x4758e7=this['_getActiveDrawingShape'](_0x1d14bf))==null||_0x4758e7['makeDirty'](!0x0),this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](_0x2de207[_0x32c0ad(0x2a9)],_0x2de207[_0x32c0ad(0x2bf)],_0x2de207[_0x32c0ad(0x2e7)]),this[_0x32c0ad(0x2c7)](),_0x4bc990[_0x32c0ad(0x33e)]();}}),this['_adjHandlerPointerUp']=_0x1d14bf[_0x2ff917(0x486)]['subscribeEvent']((_0x5c969d,_0xc52974)=>{const _0x3c2f44=_0x2ff917;var _0x1afcd7,_0x55a02d;(_0x1afcd7=this['_adjHandlerPointerMove'])==null||_0x1afcd7['unsubscribe'](),(_0x55a02d=this[_0x3c2f44(0x257)])==null||_0x55a02d[_0x3c2f44(0x190)](),_0x1d14bf[_0x3c2f44(0x40f)]();let _0x393f7d=this[_0x3c2f44(0x259)];if(_0x393f7d&&this[_0x3c2f44(0x3c7)]){let _0x28a33d={};for(let _0x147aa3 of Object[_0x3c2f44(0x1e9)](_0x393f7d['currentAdjustValues'])){let _0xb372f8=this[_0x3c2f44(0x3c7)][_0x3c2f44(0x180)](_0x147aa3);_0xb372f8!==void 0x0&&(_0x28a33d[_0x147aa3]=_0xb372f8);}Object[_0x3c2f44(0x1e9)](_0x28a33d)[_0x3c2f44(0x44b)]>0x0&&_0x47b987(this[_0x3c2f44(0x255)],_0x2de207[_0x3c2f44(0x2a9)],_0x2de207[_0x3c2f44(0x2bf)],_0x2de207[_0x3c2f44(0x2e7)],{'oldShapeData':{'adjustValues':_0x42cd4a}},{'adjustValues':_0x28a33d});}this[_0x3c2f44(0x259)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x3c2f44(0x214)]=!0x1,_0x1d14bf[_0x3c2f44(0x155)](),_0xc52974[_0x3c2f44(0x33e)]();}),_0x2daaf3[_0x2ff917(0x33e)]();})));}[_0x54e2e6(0x432)](){const _0x42f999=_0x54e2e6;let {scene:_0x506d5a}=this[_0x42f999(0x4c2)],_0x185377=_0x506d5a[_0x42f999(0x3a9)]();this['disposeWithMe'](_0x185377[_0x42f999(0x2ef)][_0x42f999(0x169)](_0x32a978=>{const _0x3d4ab0=_0x42f999;this[_0x3d4ab0(0x42a)](),_0x32a978[_0x3d4ab0(0x44e)]!==null&&_0x32a978['objects']['size']===0x1&&_0x32a978[_0x3d4ab0(0x44e)]['values']()['next']()[_0x3d4ab0(0x424)]instanceof _0x418197&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x42f999(0x3b5)](_0x185377[_0x42f999(0x4bd)][_0x42f999(0x169)](()=>{const _0x212375=_0x42f999;this[_0x212375(0x4c8)]&&this['_clearShapeAdjustControls']();})),this[_0x42f999(0x3b5)](_0x506d5a[_0x42f999(0x486)][_0x42f999(0x46c)](()=>{const _0x429802=_0x42f999;this['_isShouldShowDrawingShapeAdjust']&&(this[_0x429802(0x4c8)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x42f999(0x3b5)](_0x185377['changeEnd$'][_0x42f999(0x169)](()=>{const _0x2ce641=_0x42f999;this['_unitId']&&this[_0x2ce641(0x3be)]&&this[_0x2ce641(0x146)]&&(this[_0x2ce641(0x164)]=this[_0x2ce641(0x3cd)](this[_0x2ce641(0x200)],this[_0x2ce641(0x3be)],this[_0x2ce641(0x146)]),this[_0x2ce641(0x2c7)]());}));}[_0x54e2e6(0x157)](){const _0x479a0d=_0x54e2e6;this[_0x479a0d(0x3b5)](this[_0x479a0d(0x255)]['onCommandExecuted'](_0x2c475d=>{const _0x2d766f=_0x479a0d;if(_0x2c475d['id']!==_0x156d72[_0x2d766f(0x4b2)]['id'])return;let {unitId:_0x46352e,shapeId:_0x4f0b79}=_0x2c475d['params'];_0x46352e===this['_unitId']&&_0x4f0b79===this[_0x2d766f(0x146)]&&this['refreshAdjustControls']();})),this[_0x479a0d(0x3b5)](this['_drawingManagerService']['focus$'][_0x479a0d(0x169)](_0xd2509c=>{const _0x186175=_0x479a0d;if(_0xd2509c[_0x186175(0x44b)]===0x1){let _0x265b92=_0xd2509c[0x0],_0x1b3c6f=this[_0x186175(0x353)][_0x186175(0x2dd)](_0x265b92);if((_0x1b3c6f==null?void 0x0:_0x1b3c6f[_0x186175(0x4c9)])===_0x1f70ef['DrawingTypeEnum'][_0x186175(0x40b)]){this['_activeShapeId']=_0x265b92[_0x186175(0x2e7)],this[_0x186175(0x200)]=_0x265b92[_0x186175(0x2a9)],this[_0x186175(0x3be)]=_0x265b92[_0x186175(0x2bf)],this[_0x186175(0x164)]=this[_0x186175(0x3cd)](_0x265b92[_0x186175(0x2a9)],_0x265b92[_0x186175(0x2bf)],_0x265b92[_0x186175(0x2e7)]),this['_clearShapeAdjustControls'](),this[_0x186175(0x42a)]();return;}}this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x186175(0x200)]=null,this['_subUnitId']=null,this[_0x186175(0x2f5)]();})),this[_0x479a0d(0x3b5)]((0x0,_0x3781f8[_0x479a0d(0x315)])(this[_0x479a0d(0x353)]['update$'],this[_0x479a0d(0x353)][_0x479a0d(0x1b1)])[_0x479a0d(0x169)](_0x4e4bb3=>{const _0x7fe54a=_0x479a0d;var _0x3902f6;let _0xfb97a5=_0x4e4bb3['find'](_0xf8ce72=>_0xf8ce72[_0x7fe54a(0x2e7)]===this[_0x7fe54a(0x146)]&&_0xf8ce72[_0x7fe54a(0x2a9)]===this[_0x7fe54a(0x200)]&&_0xf8ce72[_0x7fe54a(0x2bf)]===this[_0x7fe54a(0x3be)]);_0xfb97a5&&((_0x3902f6=this[_0x7fe54a(0x353)][_0x7fe54a(0x2dd)](_0xfb97a5))==null?void 0x0:_0x3902f6[_0x7fe54a(0x4c9)])===_0x1f70ef[_0x7fe54a(0x470)]['DRAWING_SHAPE']&&this[_0x7fe54a(0x3b8)](!0x0);})),this[_0x479a0d(0x3b5)](this['_drawingManagerService'][_0x479a0d(0x152)]['subscribe'](_0xda8f35=>{const _0xd8c9cd=_0x479a0d;for(let _0xa70e62 of _0xda8f35)this[_0xd8c9cd(0x146)]===_0xa70e62[_0xd8c9cd(0x2e7)]&&(this[_0xd8c9cd(0x146)]=null,this[_0xd8c9cd(0x164)]=void 0x0,this[_0xd8c9cd(0x200)]=null,this[_0xd8c9cd(0x3be)]=null,this['_clearShapeAdjustControls']());}));}};_0x548036=_0x105eeb([_0x1af634(0x1,_0x509efb['IDrawingManagerService']),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3ab)])],_0x548036);let _0x5c66c5=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x49f900,_0x4fca47){const _0x53120b=_0x54e2e6;super(),this['_permissionService']=_0x49f900,this[_0x53120b(0x399)]=_0x4fca47,_0x3d621e(this,_0x53120b(0x3c1),new _0x3781f8[(_0x53120b(0x330))](null)),_0x3d621e(this,_0x53120b(0x3bc),this[_0x53120b(0x3c1)]['asObservable']()),_0x3d621e(this,_0x53120b(0x22f),new _0x3781f8[(_0x53120b(0x330))](!0x1)),_0x3d621e(this,_0x53120b(0x27f),this['_onSavingEditorData$'][_0x53120b(0x234)]()),_0x3d621e(this,'_completionFrame',void 0x0),this['disposeWithMe'](this['_permissionService'][_0x53120b(0x4bc)][_0x53120b(0x169)](()=>{const _0x44da71=_0x53120b;let _0x349e36=this[_0x44da71(0x203)]();_0x349e36!=null&&_0x349e36[_0x44da71(0x3c8)]&&!this[_0x44da71(0x1db)](_0x349e36)&&this[_0x44da71(0x174)](null);}));}[_0x54e2e6(0x267)](){const _0x651e00=_0x54e2e6;this['_clearCompletionFrame'](),this[_0x651e00(0x3c1)]['next'](null),this[_0x651e00(0x3c1)][_0x651e00(0x2bc)](),this[_0x651e00(0x22f)][_0x651e00(0x18e)](!0x1),this[_0x651e00(0x22f)][_0x651e00(0x2bc)](),super['dispose']();}[_0x54e2e6(0x174)](_0x2df176){const _0x3ed7f3=_0x54e2e6;(_0x2df176==null||!_0x2df176[_0x3ed7f3(0x3c8)]||this['_canEdit'](_0x2df176))&&(this[_0x3ed7f3(0x19e)](),this[_0x3ed7f3(0x3c1)][_0x3ed7f3(0x18e)](_0x2df176),(_0x2df176==null||_0x2df176[_0x3ed7f3(0x3c8)]&&this[_0x3ed7f3(0x22f)][_0x3ed7f3(0x22c)]())&&this[_0x3ed7f3(0x22f)][_0x3ed7f3(0x18e)](!0x1));}['setOnSavingEditorData'](_0x19325d){const _0x1d0bd1=_0x54e2e6;this[_0x1d0bd1(0x22f)][_0x1d0bd1(0x18e)](_0x19325d);}[_0x54e2e6(0x203)](){const _0x116fb0=_0x54e2e6;return this[_0x116fb0(0x3c1)][_0x116fb0(0x22c)]();}[_0x54e2e6(0x1db)](_0x497190){const _0x524413=_0x54e2e6;let _0x18ceba=this[_0x524413(0x399)]['getUnit'](_0x497190[_0x524413(0x2a9)],_0x1f70ef[_0x524413(0x283)]['UNIVER_DOC']);if(!_0x18ceba)return!0x0;let _0x4251cc=(0x0,_0x5f20c1[_0x524413(0x347)])(_0x18ceba,_0x497190['shapeId']);return(0x0,_0x5f20c1[_0x524413(0x25b)])(this[_0x524413(0x459)],_0x497190[_0x524413(0x2a9)],[...(0x0,_0x5f20c1[_0x524413(0x1ac)])(_0x18ceba,_0x4251cc,_0x524413(0x1e5),_0x497190['shapeId']),(0x0,_0x5f20c1[_0x524413(0x1a4)])(_0x4251cc,_0x524413(0x1e5),_0x497190[_0x524413(0x4e2)])]);}[_0x54e2e6(0x30a)](_0xf179b4){const _0x5aa1f9=_0x54e2e6;let _0x35abe8=this['getEditing']();_0x35abe8&&this[_0x5aa1f9(0x341)]===void 0x0&&(this[_0x5aa1f9(0x290)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0x54fd9e=_0x5aa1f9;this[_0x54fd9e(0x341)]=void 0x0,this[_0x54fd9e(0x203)]()===_0x35abe8&&this['setEditing'](null);}));}['_clearCompletionFrame'](){const _0x3e0485=_0x54e2e6;this[_0x3e0485(0x341)]!==void 0x0&&(cancelAnimationFrame(this[_0x3e0485(0x341)]),this[_0x3e0485(0x341)]=void 0x0);}[_0x54e2e6(0x34e)](){const _0x50b56b=_0x54e2e6;this[_0x50b56b(0x203)]()&&this[_0x50b56b(0x174)](null);}};_0x5c66c5=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x405)]),_0x1af634(0x1,_0x1f70ef['IUniverInstanceService'])],_0x5c66c5);function _0x4047bc(_0x3ff662){const _0x4bfd3d=_0x54e2e6;return _0x3ff662[_0x4bfd3d(0x301)]===!0x0||_0x3ff662[_0x4bfd3d(0x301)]===_0x1f70ef[_0x4bfd3d(0x1aa)][_0x4bfd3d(0x1ce)]||_0x3ff662['layoutType']===_0x1f70ef[_0x4bfd3d(0x3e4)]['WRAP_NONE']&&_0x3ff662[_0x4bfd3d(0x18b)]===_0x1f70ef[_0x4bfd3d(0x1aa)]['TRUE']?_0x5bdd19[_0x4bfd3d(0x328)]-0x1:_0x35408c[_0x4bfd3d(0x33d)];}let _0x54ec0f=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x12eafd,_0x1695cc,_0x4d683b,_0x442d52,_0xcda1b6,_0x1b9701,_0x1be2ad){const _0x4964bc=_0x54e2e6;super(),this[_0x4964bc(0x353)]=_0x12eafd,this[_0x4964bc(0x1b8)]=_0x1695cc,this[_0x4964bc(0x438)]=_0x4d683b,this['_imageIoService']=_0x442d52,this[_0x4964bc(0x38b)]=_0xcda1b6,this[_0x4964bc(0x495)]=_0x1b9701,this[_0x4964bc(0x31a)]=_0x1be2ad,_0x3d621e(this,_0x4964bc(0x382),new Map()),this['disposeWithMe'](this[_0x4964bc(0x31a)][_0x4964bc(0x242)][_0x4964bc(0x169)](_0x211a01=>{const _0x5964b7=_0x4964bc;var _0xe60cb0;(_0xe60cb0=this[_0x5964b7(0x382)]['get'](this[_0x5964b7(0x209)](_0x211a01[_0x5964b7(0x2a9)],_0x211a01[_0x5964b7(0x2bf)],_0x211a01['shapeId'])))==null||_0xe60cb0[_0x5964b7(0x16e)](_0x336ca6=>_0x336ca6['setFormulaPresentation'](_0x211a01['presentation'],_0x211a01[_0x5964b7(0x4de)]));})),this[_0x4964bc(0x3b5)](this[_0x4964bc(0x353)][_0x4964bc(0x152)]['subscribe'](_0x1fa961=>{_0x1fa961['forEach'](_0x267403=>{const _0x58cdc7=_0x1cb9;this[_0x58cdc7(0x31a)][_0x58cdc7(0x2d0)]({'unitId':_0x267403[_0x58cdc7(0x2a9)],'subUnitId':_0x267403[_0x58cdc7(0x2bf)],'shapeId':_0x267403[_0x58cdc7(0x2e7)]}),this[_0x58cdc7(0x382)][_0x58cdc7(0x493)](this['_formulaKey'](_0x267403[_0x58cdc7(0x2a9)],_0x267403[_0x58cdc7(0x2bf)],_0x267403['drawingId']));});}));}['renderDrawingShape'](_0x13d846,_0x85d2bf){const _0x598519=_0x54e2e6;let {transform:_0x41a190,drawingType:_0x181d77,srcRect:_0x1bcd9a,prstGeom:_0x3f3266,groupId:_0x5198bd,unitId:_0x466ec2,subUnitId:_0x5ad380,drawingId:_0x409451,isMultiTransform:_0xdaf5df,transforms:_0x4023c0,hidden:_0x3a548a,selectable:_0x51c3c8}=_0x13d846;if(_0x181d77!==_0x1f70ef[_0x598519(0x470)][_0x598519(0x40b)]||!this[_0x598519(0x353)][_0x598519(0x2e5)]()||_0x41a190==null)return;let _0x41ebdf=this['_drawingManagerService'][_0x598519(0x1e3)](),_0x2d6915=_0xdaf5df&&_0x4023c0?_0x4023c0:[_0x41a190],_0x235313=[];for(let [_0x287357,_0x363775]of _0x2d6915[_0x598519(0x3b7)]()){let {left:_0x264bb1,top:_0x3fc17c,width:_0x20e5fc,height:_0x21beed,angle:_0x19dbf6,flipX:_0x4df7c0,flipY:_0x2600ec,skewX:_0x425729,skewY:_0x5e7cff}=_0x363775,_0x482e7a=(0x0,_0x509efb[_0x598519(0x3c2)])({'unitId':_0x466ec2,'subUnitId':_0x5ad380,'drawingId':_0x409451},_0xdaf5df?_0x287357:void 0x0),_0x372d99=_0x85d2bf[_0x598519(0x3b9)](_0x482e7a);if(_0x372d99!=null){let _0x2ca045={'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451};_0x372d99 instanceof _0x418197&&this['refreshFormulaPresentation'](_0x372d99,_0x2ca045),_0x372d99[_0x598519(0x1b9)]({'left':_0x264bb1,'top':_0x3fc17c,'width':_0x20e5fc,'height':_0x21beed,'angle':_0x19dbf6,'flipX':_0x4df7c0,'flipY':_0x2600ec,'skewX':_0x425729,'skewY':_0x5e7cff});continue;}let _0x26d202=this[_0x598519(0x353)][_0x598519(0x2ae)](_0x466ec2,_0x5ad380),_0x1902ea=_0x26d202['indexOf'](_0x409451);if(_0x85d2bf[_0x598519(0x3b9)](_0x482e7a)||!this[_0x598519(0x353)][_0x598519(0x2e5)]())continue;let _0x207df5=this[_0x598519(0x1b8)]['getShapeModel'](_0x466ec2,_0x5ad380,_0x409451);if(!_0x207df5)continue;let _0x2b4bbf=(0x0,_0x11cfc4[_0x598519(0x286)])(_0x207df5[_0x598519(0x46b)]())?{..._0x5ceb8e[_0x598519(0x30f)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x5ceb8e['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x2bc368=_0x207df5[_0x598519(0x4d2)]()[_0x598519(0x411)],_0x5836b0={'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451};_0x2bc368&&this[_0x598519(0x31a)]['register'](_0x5836b0,_0x2bc368);let _0x3ecd13=new _0x418197(_0x482e7a,{..._0x363775,'zIndex':_0x1902ea===-0x1?_0x26d202['length']-0x1:_0x1902ea,'shapeModel':_0x207df5,'localeService':this[_0x598519(0x438)],'shapeId':_0x409451,'unitId':_0x466ec2,'subUnitId':_0x5ad380,'visible':_0x3a548a!==!0x0,'evented':_0x51c3c8!==!0x1,'formulaPresentation':_0x2bc368?this['_shapeFormulaService']['getPresentation'](_0x5836b0):void 0x0,'animateFormulaPresentation':(_0x2bc368==null?void 0x0:_0x2bc368['animationEnabled'])!==!0x1,'transformerConfig':_0x2b4bbf});if(_0x2bc368){let _0x52bbef=this[_0x598519(0x209)](_0x466ec2,_0x5ad380,_0x409451),_0xba13c2=this[_0x598519(0x382)][_0x598519(0x429)](_0x52bbef)??new Set();_0xba13c2['add'](_0x3ecd13),this[_0x598519(0x382)][_0x598519(0x21a)](_0x52bbef,_0xba13c2);}this[_0x598519(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(_0x3ecd13[_0x598519(0x21c)]['subscribeEvent']((_0x328940,_0x21ff3d)=>{const _0x21f4f4=_0x598519;_0x207df5[_0x21f4f4(0x21d)]()||_0x2bc368||(this['_shapeTextEditingService'][_0x21f4f4(0x174)]({'visible':!0x0,'unitId':_0x466ec2,'subUnitId':_0x5ad380,'shapeId':_0x409451,'shapeKey':_0x3ecd13[_0x21f4f4(0x47c)]}),_0x21ff3d[_0x21f4f4(0x33e)]());}))),_0x85d2bf[_0x598519(0x322)](_0x3ecd13,_0x4047bc(_0x13d846)),_0x41ebdf&&_0x85d2bf['attachTransformerTo'](_0x3ecd13),_0x5198bd&&(0x0,_0x57c854[_0x598519(0x2e6)])({'drawingId':_0x5198bd,'unitId':_0x466ec2,'subUnitId':_0x5ad380},_0x3ecd13,_0x85d2bf,this['_drawingManagerService'],_0xdaf5df?_0x287357:void 0x0),_0x3f3266!=null&&_0x3ecd13[_0x598519(0x1fb)](_0x3f3266),_0x1bcd9a!=null&&_0x3ecd13[_0x598519(0x150)](_0x1bcd9a),this['_loadShapePictureFill'](_0x3ecd13,_0x207df5[_0x598519(0x4d2)]()),_0x235313[_0x598519(0x1d8)](_0x3ecd13);}return _0x235313;}['_formulaKey'](_0x43c5a1,_0x3805c8,_0xf9d226){return _0x43c5a1+'\x00'+_0x3805c8+'\x00'+_0xf9d226;}[_0x54e2e6(0x293)](_0x398a71,_0x36505b){const _0x8e891f=_0x54e2e6;let _0xb3d79e=this[_0x8e891f(0x1b8)][_0x8e891f(0x2b8)](_0x36505b[_0x8e891f(0x2a9)],_0x36505b['subUnitId'],_0x36505b[_0x8e891f(0x4e2)]),_0x15491e=_0xb3d79e==null?void 0x0:_0xb3d79e[_0x8e891f(0x4d2)]()[_0x8e891f(0x411)],_0x1b8a08=this[_0x8e891f(0x209)](_0x36505b[_0x8e891f(0x2a9)],_0x36505b[_0x8e891f(0x2bf)],_0x36505b[_0x8e891f(0x4e2)]);if(_0x15491e){this['_shapeFormulaService'][_0x8e891f(0x345)](_0x36505b,_0x15491e);let _0x592787=this['_formulaShapes'][_0x8e891f(0x429)](_0x1b8a08)??new Set();_0x592787['add'](_0x398a71),this[_0x8e891f(0x382)][_0x8e891f(0x21a)](_0x1b8a08,_0x592787);}else{var _0x522fab;this[_0x8e891f(0x31a)][_0x8e891f(0x2d0)](_0x36505b),(_0x522fab=this[_0x8e891f(0x382)][_0x8e891f(0x429)](_0x1b8a08))==null||_0x522fab['delete'](_0x398a71);}_0x398a71['setFormulaPresentation'](_0x15491e?this[_0x8e891f(0x31a)][_0x8e891f(0x460)](_0x36505b):void 0x0,(_0x15491e==null?void 0x0:_0x15491e[_0x8e891f(0x4de)])!==!0x1);}[_0x54e2e6(0x2df)](_0x3d84d2){const _0x51aa03=_0x54e2e6;let _0x4151ac=_0x3d84d2['shapeModel'][_0x51aa03(0x4d2)](),_0x36052c=_0x4151ac[_0x51aa03(0x46e)];!_0x36052c||_0x36052c[_0x51aa03(0x210)]!==_0x11cfc4[_0x51aa03(0x1a6)]['PictureFill']||!_0x36052c[_0x51aa03(0x1ca)]?_0x3d84d2[_0x51aa03(0x2cd)](void 0x0):this['_loadShapePictureFill'](_0x3d84d2,_0x4151ac);}[_0x54e2e6(0x2d2)](_0xb75173,_0x40e945){const _0x74bfd5=_0x54e2e6;let _0x31dd7f=_0x40e945[_0x74bfd5(0x46e)];if(!_0x31dd7f||_0x31dd7f[_0x74bfd5(0x210)]!==_0x11cfc4[_0x74bfd5(0x1a6)][_0x74bfd5(0x2e1)]||!_0x31dd7f[_0x74bfd5(0x1ca)])return;let _0xfecd66=_0x31dd7f[_0x74bfd5(0x1ca)],_0x389522=_0x31dd7f[_0x74bfd5(0x4d3)]??_0x11cfc4['ImageSourceTypeEnum'][_0x74bfd5(0x41a)],_0x264775=this[_0x74bfd5(0x4b1)]['getImageSourceCache'](_0xfecd66,_0x389522);_0x264775?_0xb75173['setFillImage'](_0x264775):this[_0x74bfd5(0x1e8)](_0xb75173,_0xfecd66,_0x389522);}async[_0x54e2e6(0x1e8)](_0x2fbab7,_0xb719e0,_0x4f7e05){const _0x18314c=_0x54e2e6;let _0x3d2ab9;try{if(_0x4f7e05===_0x11cfc4[_0x18314c(0x45b)][_0x18314c(0x1e6)])_0x3d2ab9=await this[_0x18314c(0x4b1)][_0x18314c(0x397)](_0xb719e0);else{if(_0x4f7e05===_0x11cfc4[_0x18314c(0x45b)][_0x18314c(0x41a)])try{_0x3d2ab9=await this[_0x18314c(0x38b)][_0x18314c(0x397)](_0xb719e0);}catch{_0x3d2ab9=_0xb719e0;}else _0x3d2ab9=_0xb719e0;}}catch(_0x181d98){console[_0x18314c(0x492)](_0x18314c(0x36e),_0x181d98);return;}let _0x50da7e=new window['Image']();_0x50da7e[_0x18314c(0x3a0)]=()=>{const _0x4e134d=_0x18314c;this[_0x4e134d(0x4b1)]['addImageSourceCache'](_0xb719e0,_0x4f7e05,_0x50da7e),_0x2fbab7[_0x4e134d(0x2cd)](_0x50da7e);},_0x50da7e[_0x18314c(0x426)]=()=>{const _0x1d04b4=_0x18314c;console[_0x1d04b4(0x492)](_0x1d04b4(0x378),_0xb719e0);},_0x50da7e[_0x18314c(0x147)]=_0x3d2ab9;}};_0x54ec0f=_0x105eeb([_0x1af634(0x0,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['LocaleService'])),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3dd)]),_0x1af634(0x4,_0x1f70ef[_0x54e2e6(0x22d)]),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x6,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x339478[_0x54e2e6(0x25e)]))],_0x54ec0f);let _0x56e0bb=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x5d4c11,_0x4b94e8,_0x2f0c5c){const _0x27cd7b=_0x54e2e6;super(),this['_docPrintInterceptorService']=_0x5d4c11,this[_0x27cd7b(0x353)]=_0x4b94e8,this[_0x27cd7b(0x32f)]=_0x2f0c5c,this[_0x27cd7b(0x207)]();}[_0x54e2e6(0x207)](){const _0x5f46bf=_0x54e2e6;this[_0x5f46bf(0x3b5)](this[_0x5f46bf(0x14a)]['interceptor'][_0x5f46bf(0x417)](this[_0x5f46bf(0x14a)][_0x5f46bf(0x23a)][_0x5f46bf(0x383)]()[_0x5f46bf(0x171)],{'handler':(_0x162938,_0x443b87,_0x3d66be)=>{const _0x192447=_0x5f46bf;var _0x56528f;let {unitId:_0x1d61f1,scene:_0x181a52,skeleton:_0x1fa8b7}=_0x443b87,{pageIndex:_0x5b4309}=_0x443b87,_0x34683c=(_0x56528f=this[_0x192447(0x353)][_0x192447(0x3e9)](_0x1d61f1))==null?void 0x0:_0x56528f[_0x1d61f1],_0x3386dd=_0x18c1f8(this[_0x192447(0x14a)],_0x1fa8b7,_0x5b4309);return _0x34683c==null||_0x34683c['order'][_0x192447(0x16e)](_0x3813e0=>{const _0x83827f=_0x192447;if(_0x3386dd&&!_0x3386dd[_0x83827f(0x15f)](_0x3813e0))return;let _0x233669=_0x34683c[_0x83827f(0x3da)][_0x3813e0];_0x233669[_0x83827f(0x4c9)]===_0x1f70ef[_0x83827f(0x470)][_0x83827f(0x40b)]&&!_0x233669[_0x83827f(0x28b)]&&this['_shapeRenderController'][_0x83827f(0x4b0)](_0x233669,_0x181a52);}),_0x3d66be(_0x162938);}}));}};_0x56e0bb=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x18c)])),_0x1af634(0x1,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x2,(0x0,_0x1f70ef['Inject'])(_0x54ec0f))],_0x56e0bb);function _0x18c1f8(_0x54bb56,_0x43ee8e,_0xf4aba5){const _0x5a74e1=_0x54e2e6;var _0x231326,_0x28e22a;let _0x35e40a=_0x54bb56;if(_0x35e40a['getPageDrawingIds'])return _0x35e40a[_0x5a74e1(0x189)](_0x43ee8e,_0xf4aba5);let _0xea9500=_0x43ee8e[_0x5a74e1(0x36c)]();if(!_0xea9500||_0xea9500[_0x5a74e1(0x3ef)][_0x5a74e1(0x44b)]<=0x1||_0xf4aba5==null)return null;let _0x202817=new Set(),_0x35ec8e=_0xea9500[_0x5a74e1(0x3ef)][_0xf4aba5];if(!_0x35ec8e)return _0x202817;_0x45c64b(_0x35ec8e,_0x202817);let _0x210579=(_0x231326=_0xea9500[_0x5a74e1(0x4b5)][_0x5a74e1(0x429)](_0x35ec8e['headerId']))==null?void 0x0:_0x231326[_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x253)]??_0x35ec8e[_0x5a74e1(0x23c)]),_0x518ddd=(_0x28e22a=_0xea9500[_0x5a74e1(0x1fa)][_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x3d1)]))==null?void 0x0:_0x28e22a[_0x5a74e1(0x429)](_0x35ec8e[_0x5a74e1(0x186)]??_0x35ec8e[_0x5a74e1(0x23c)]);return _0x210579&&_0x45c64b(_0x210579,_0x202817),_0x518ddd&&_0x45c64b(_0x518ddd,_0x202817),_0x202817;}function _0x45c64b(_0x5220bf,_0x48f652){const _0x2eaf11=_0x54e2e6;for(let _0x4de72c of _0x5220bf[_0x2eaf11(0x1c8)][_0x2eaf11(0x1e9)]())_0x48f652[_0x2eaf11(0x3a6)](_0x4de72c);for(let _0x4e0203 of _0x5220bf[_0x2eaf11(0x166)][_0x2eaf11(0x370)]())for(let _0x3992be of _0x4e0203[_0x2eaf11(0x3f5)])for(let _0x2d0640 of _0x3992be['cells'])_0x45c64b(_0x2d0640,_0x48f652);}function _0x30e45a({ref:_0x372db3,..._0x4caed1}){const _0x116810=_0x54e2e6;let {preserveStrokeWidth:_0x5c3ae4,icon:_0x3a6bac,id:_0x58425b,className:_0x314a04,extend:_0x123ce9,..._0x429263}=_0x4caed1,_0x5b2541=(_0x116810(0x1f0)+_0x58425b+'\x20'+(_0x314a04||''))['trim'](),_0x3f257d='_'+(0x0,_0x31450[_0x116810(0x403)])(),_0x981b8b=(0x0,_0x31450[_0x116810(0x457)])(null);return(0x0,_0x31450[_0x116810(0x1c5)])(_0x372db3,()=>_0x981b8b['current']),(0x0,_0x31450[_0x116810(0x219)])(()=>{const _0xe83c46=_0x116810;if(_0x5c3ae4&&_0x981b8b[_0xe83c46(0x168)]&&_0x981b8b['current'][_0xe83c46(0x2e3)]===_0x3a6bac[_0xe83c46(0x488)])return _0x3b1e2b(_0x981b8b['current']);},[_0x5c3ae4,_0x3a6bac]),_0x425829(_0x3a6bac,''+_0x58425b,{'defIds':_0x3a6bac[_0x116810(0x236)],'idSuffix':_0x3f257d},{'ref':_0x981b8b,'className':_0x5b2541,..._0x429263},_0x123ce9);}function _0x425829(_0x4b1299,_0x32e1d6,_0x43e4a0,_0x189c5f,_0x452d4c){const _0x2ae680=_0x54e2e6;return(0x0,_0x31450[_0x2ae680(0x355)])(_0x4b1299['tag'],{'key':_0x32e1d6,..._0x302d55(_0x4b1299,_0x43e4a0,_0x452d4c),..._0x189c5f},(_0x1f4696(_0x4b1299,_0x43e4a0)['children']||[])[_0x2ae680(0x4ba)]((_0x225f1a,_0x1a9af3)=>_0x425829(_0x225f1a,_0x32e1d6+'-'+_0x4b1299[_0x2ae680(0x488)]+'-'+_0x1a9af3,_0x43e4a0,void 0x0,_0x452d4c)));}function _0x302d55(_0x1cd395,_0x377fcf,_0x10af2a){const _0x2d46be=_0x54e2e6;let _0x33a1ca={..._0x1cd395[_0x2d46be(0x357)]};_0x10af2a!=null&&_0x10af2a['colorChannel1']&&_0x33a1ca['fill']===_0x2d46be(0x299)&&(_0x33a1ca['fill']=_0x10af2a[_0x2d46be(0x299)]),_0x10af2a!=null&&_0x10af2a[_0x2d46be(0x299)]&&_0x33a1ca['stroke']==='colorChannel1'&&(_0x33a1ca['stroke']=_0x10af2a[_0x2d46be(0x299)]),_0x1cd395[_0x2d46be(0x488)]===_0x2d46be(0x258)&&_0x33a1ca['id']&&(_0x33a1ca['id']+=_0x377fcf[_0x2d46be(0x3ee)]),Object[_0x2d46be(0x3b7)](_0x33a1ca)['forEach'](([_0x511c8b,_0x19646b])=>{const _0x54fdb8=_0x2d46be;_0x511c8b==='mask'&&typeof _0x19646b==_0x54fdb8(0x4d8)&&(_0x33a1ca[_0x511c8b]=_0x19646b[_0x54fdb8(0x47b)](/url\(#(.*)\)/,_0x54fdb8(0x177)+_0x377fcf['idSuffix']+')'));});let {defIds:_0x552473}=_0x377fcf;return!_0x552473||_0x552473[_0x2d46be(0x44b)]===0x0||(_0x1cd395[_0x2d46be(0x488)]==='use'&&_0x33a1ca[_0x2d46be(0x2fb)]&&(_0x33a1ca[_0x2d46be(0x2fb)]+=_0x377fcf[_0x2d46be(0x3ee)]),Object[_0x2d46be(0x3b7)](_0x33a1ca)[_0x2d46be(0x16e)](([_0x20cc56,_0x51c249])=>{const _0x57839c=_0x2d46be;typeof _0x51c249==_0x57839c(0x4d8)&&(_0x33a1ca[_0x20cc56]=_0x51c249[_0x57839c(0x47b)](/url\(#(.*)\)/,'url(#$1'+_0x377fcf[_0x57839c(0x3ee)]+')'));})),_0x33a1ca;}function _0x1f4696(_0x576389,_0x4af114){const _0x40ebf0=_0x54e2e6;var _0x420302;let {defIds:_0x235950}=_0x4af114;return!_0x235950||_0x235950['length']===0x0?_0x576389:_0x576389['tag']===_0x40ebf0(0x349)&&(_0x420302=_0x576389[_0x40ebf0(0x408)])!=null&&_0x420302[_0x40ebf0(0x44b)]?{..._0x576389,'children':_0x576389[_0x40ebf0(0x408)][_0x40ebf0(0x4ba)](_0x30ae06=>typeof _0x30ae06['attrs']['id']==_0x40ebf0(0x4d8)&&_0x235950&&_0x235950[_0x40ebf0(0x456)](_0x30ae06[_0x40ebf0(0x357)]['id'])?{..._0x30ae06,'attrs':{..._0x30ae06['attrs'],'id':_0x30ae06[_0x40ebf0(0x357)]['id']+_0x4af114['idSuffix']}}:_0x30ae06)}:_0x576389;}function _0x3b1e2b(_0x1a61b1){const _0x5648e7=_0x54e2e6;let _0x7591a0=_0x1a61b1[_0x5648e7(0x248)][_0x5648e7(0x410)],_0x4bc9ee=Math[_0x5648e7(0x28c)](_0x7591a0['width'],_0x7591a0['height']);if(!Number[_0x5648e7(0x434)](_0x4bc9ee)||_0x4bc9ee<=0x0||_0x7591a0['width']<=0x0||_0x7591a0['height']<=0x0)return()=>void 0x0;let _0x4ab205=0x10/_0x4bc9ee,_0x22b27e=Array[_0x5648e7(0x334)](_0x1a61b1[_0x5648e7(0x3c0)](_0x5648e7(0x3d5)))[_0x5648e7(0x400)](_0x4d1eb0=>{const _0x3208ab=_0x5648e7;let _0x593b7e=getComputedStyle(_0x4d1eb0),_0x578747=Number[_0x3208ab(0x291)](_0x593b7e[_0x3208ab(0x38e)]);return _0x593b7e[_0x3208ab(0x294)]===_0x3208ab(0x433)||Number[_0x3208ab(0x291)](_0x593b7e[_0x3208ab(0x3e6)])===0x0||_0x593b7e[_0x3208ab(0x34d)]===_0x3208ab(0x296)||!Number['isFinite'](_0x578747)||_0x578747<=0x0?[]:[{'element':_0x4d1eb0,'hadStyleAttribute':_0x4d1eb0[_0x3208ab(0x40d)](_0x3208ab(0x265)),'originalStrokeWidth':_0x578747,'strokeWidth':_0x7c4ebd(_0x4d1eb0['style'],_0x3208ab(0x373))}];})['map'](_0x54bf3e=>({'appliedStrokeWidth':null,'element':_0x54bf3e[_0x5648e7(0x35a)],'hadStyleAttribute':_0x54bf3e['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x54bf3e[_0x5648e7(0x241)],'strokeWidth':_0x54bf3e[_0x5648e7(0x38e)]}));if(_0x22b27e[_0x5648e7(0x44b)]===0x0)return()=>void 0x0;let _0x4c3bed=(_0x37a8bd,_0x36356a)=>{const _0x27d9e2=_0x5648e7;if(_0x7591a0[_0x27d9e2(0x45c)]<=0x0||_0x7591a0['height']<=0x0||_0x37a8bd<=0x0||_0x36356a<=0x0)return;let _0x41d49a=Math[_0x27d9e2(0x3f6)](_0x37a8bd/_0x7591a0['width'],_0x36356a/_0x7591a0[_0x27d9e2(0x4d1)]);!Number[_0x27d9e2(0x434)](_0x41d49a)||_0x41d49a<=0x0||_0x22b27e[_0x27d9e2(0x16e)](_0x3f8ce6=>{const _0x208c6a=_0x27d9e2;if(_0x3f8ce6[_0x208c6a(0x22e)])return;if(_0x3f8ce6[_0x208c6a(0x375)]!==null&&(_0x3f8ce6[_0x208c6a(0x35a)][_0x208c6a(0x265)][_0x208c6a(0x274)](_0x208c6a(0x373))!==_0x3f8ce6[_0x208c6a(0x375)]||_0x3f8ce6[_0x208c6a(0x35a)][_0x208c6a(0x265)][_0x208c6a(0x1eb)](_0x208c6a(0x373))!==_0x3f8ce6[_0x208c6a(0x38e)][_0x208c6a(0x2b7)])){_0x3f8ce6[_0x208c6a(0x375)]=null,_0x3f8ce6[_0x208c6a(0x22e)]=!0x0;return;}let _0x2765d2=_0x3f8ce6['originalStrokeWidth']*_0x4ab205/_0x41d49a,_0x58edcb=Number(_0x2765d2[_0x208c6a(0x2ee)](0xc))+'px';_0x3f8ce6[_0x208c6a(0x35a)]['style'][_0x208c6a(0x499)]('stroke-width',_0x58edcb,_0x3f8ce6[_0x208c6a(0x38e)]['priority']),_0x3f8ce6['appliedStrokeWidth']=_0x58edcb;});},_0x2b201b=_0x1a61b1[_0x5648e7(0x19f)]();_0x4c3bed(_0x2b201b[_0x5648e7(0x45c)],_0x2b201b['height']);let _0x14ff24=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x16123f=>{const _0x18e854=_0x5648e7;if(_0x16123f[_0x18e854(0x305)](_0x374da6=>_0x374da6['target']===_0x1a61b1)){let _0x20205b=_0x1a61b1[_0x18e854(0x19f)]();_0x4c3bed(_0x20205b[_0x18e854(0x45c)],_0x20205b['height']);}});return _0x14ff24==null||_0x14ff24[_0x5648e7(0x4b8)](_0x1a61b1),()=>{const _0xdc880c=_0x5648e7;_0x14ff24==null||_0x14ff24[_0xdc880c(0x485)](),_0x22b27e[_0xdc880c(0x16e)](_0x5c5f3a=>{const _0x54f4c8=_0xdc880c;_0x5c5f3a[_0x54f4c8(0x375)]!==null&&(_0x16c0f9(_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x265)],_0x54f4c8(0x373),_0x5c5f3a[_0x54f4c8(0x375)],_0x5c5f3a[_0x54f4c8(0x38e)][_0x54f4c8(0x2b7)],_0x5c5f3a[_0x54f4c8(0x38e)]),!_0x5c5f3a[_0x54f4c8(0x476)]&&_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x265)][_0x54f4c8(0x44b)]===0x0&&_0x5c5f3a[_0x54f4c8(0x35a)][_0x54f4c8(0x42e)](_0x54f4c8(0x265)));});};}function _0x7c4ebd(_0x4f8d28,_0x1d7c25){const _0x37c5c7=_0x54e2e6;return{'priority':_0x4f8d28[_0x37c5c7(0x1eb)](_0x1d7c25),'value':_0x4f8d28[_0x37c5c7(0x274)](_0x1d7c25)};}function _0x16c0f9(_0x473613,_0x5a7fee,_0x2bc67f,_0x43fb3f,_0x288c81){const _0x1d2178=_0x54e2e6;_0x473613[_0x1d2178(0x274)](_0x5a7fee)===_0x2bc67f&&_0x473613[_0x1d2178(0x1eb)](_0x5a7fee)===_0x43fb3f&&(_0x288c81[_0x1d2178(0x424)]?_0x473613['setProperty'](_0x5a7fee,_0x288c81['value'],_0x288c81[_0x1d2178(0x2b7)]):_0x473613[_0x1d2178(0x2c3)](_0x5a7fee));}_0x30e45a[_0x54e2e6(0x314)]=_0x54e2e6(0x215);let _0x566e28={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x449),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':'currentColor','d':_0x54e2e6(0x4a6),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x35f),'fillRule':_0x54e2e6(0x1a5),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':'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'}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x282)}}]},_0x27ad3d=(0x0,_0x31450['forwardRef'])(function(_0x3c8dae,_0x1e5703){const _0x273d0e=_0x54e2e6;return(0x0,_0x31450[_0x273d0e(0x355)])(_0x30e45a,Object[_0x273d0e(0x44c)]({},_0x3c8dae,{'id':_0x273d0e(0x3d6),'ref':_0x1e5703,'icon':_0x566e28}));});_0x27ad3d[_0x54e2e6(0x314)]='BottomIcon';let _0x125dd3={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x39b),'strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}}]},_0x383106=(0x0,_0x31450['forwardRef'])(function(_0x8462d8,_0x11d7c1){const _0x1539dc=_0x54e2e6;return(0x0,_0x31450[_0x1539dc(0x355)])(_0x30e45a,Object[_0x1539dc(0x44c)]({},_0x8462d8,{'id':_0x1539dc(0x256),'ref':_0x11d7c1,'icon':_0x125dd3}));});_0x383106[_0x54e2e6(0x314)]=_0x54e2e6(0x342);let _0x2d0c3f={'tag':'svg','attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':'M5\x209.5L8\x206.5L11\x209.5','strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}}]},_0x5edf0c=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x4521aa,_0x4e4308){const _0x126cf0=_0x54e2e6;return(0x0,_0x31450[_0x126cf0(0x355)])(_0x30e45a,Object[_0x126cf0(0x44c)]({},_0x4521aa,{'id':_0x126cf0(0x344),'ref':_0x4e4308,'icon':_0x2d0c3f}));});_0x5edf0c['displayName']='MoreUpIcon';let _0x19f6cc={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':_0x54e2e6(0x33f),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x395),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':'currentColor','d':_0x54e2e6(0x310)}}]},_0x1270de=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x51e58d,_0x343537){const _0x44b1a1=_0x54e2e6;return(0x0,_0x31450[_0x44b1a1(0x355)])(_0x30e45a,Object[_0x44b1a1(0x44c)]({},_0x51e58d,{'id':_0x44b1a1(0x2b0),'ref':_0x343537,'icon':_0x19f6cc}));});_0x1270de[_0x54e2e6(0x314)]=_0x54e2e6(0x3ac);let _0xf5c78c={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':'1em','height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x401),'fillRule':_0x54e2e6(0x1a5),'clipRule':'evenodd'}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x1b6)}}]},_0x56d01d=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x4af674,_0x36aece){const _0x255764=_0x54e2e6;return(0x0,_0x31450[_0x255764(0x355)])(_0x30e45a,Object[_0x255764(0x44c)]({},_0x4af674,{'id':_0x255764(0x2b1),'ref':_0x36aece,'icon':_0xf5c78c}));});_0x56d01d[_0x54e2e6(0x314)]=_0x54e2e6(0x159);let _0x3d5ed1={'tag':'svg','attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':'0\x200\x2016\x2016','width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x327),'strokeLinecap':'round','strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.3}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x35e),'strokeLinecap':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.3}}]},_0x2d581e=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x2f3643,_0x3911ef){const _0xf674e0=_0x54e2e6;return(0x0,_0x31450[_0xf674e0(0x355)])(_0x30e45a,Object[_0xf674e0(0x44c)]({},_0x2f3643,{'id':_0xf674e0(0x288),'ref':_0x3911ef,'icon':_0x3d5ed1}));});_0x2d581e[_0x54e2e6(0x314)]=_0x54e2e6(0x4a1);let _0x354e3f={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x304),'width':'1em','height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'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':_0x54e2e6(0x3ba),'strokeLinejoin':_0x54e2e6(0x3ba),'strokeWidth':1.2}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x4be),'strokeLinecap':_0x54e2e6(0x3ba),'strokeWidth':1.2}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':_0x54e2e6(0x48c),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x54e2e6(0x3e0),'strokeLinejoin':_0x54e2e6(0x3ba)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'stroke':_0x54e2e6(0x213),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x57d64a=(0x0,_0x31450[_0x54e2e6(0x17e)])(function(_0x37eb68,_0x307fae){const _0x317e25=_0x54e2e6;return(0x0,_0x31450[_0x317e25(0x355)])(_0x30e45a,Object[_0x317e25(0x44c)]({},_0x37eb68,{'id':'shape-format-setting-icon','ref':_0x307fae,'icon':_0x354e3f}));});_0x57d64a[_0x54e2e6(0x314)]=_0x54e2e6(0x1c1);let _0x20e6f0={'tag':_0x54e2e6(0x3cf),'attrs':{'xmlns':_0x54e2e6(0x154),'fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x34a),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x354),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':'rect','attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x354),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x54e2e6(0x213),'rx':0.6}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x1e7),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}}]},_0x3c50f0=(0x0,_0x31450['forwardRef'])(function(_0x2da2a4,_0x5a4a26){const _0x405dd0=_0x54e2e6;return(0x0,_0x31450[_0x405dd0(0x355)])(_0x30e45a,Object[_0x405dd0(0x44c)]({},_0x2da2a4,{'id':_0x405dd0(0x249),'ref':_0x5a4a26,'icon':_0x20e6f0}));});_0x3c50f0['displayName']=_0x54e2e6(0x21f);let _0x1261aa={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x54e2e6(0x433),'viewBox':_0x54e2e6(0x449),'width':_0x54e2e6(0x33f),'height':_0x54e2e6(0x33f)},'children':[{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':'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'}},{'tag':'path','attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x467),'fillRule':_0x54e2e6(0x1a5),'clipRule':_0x54e2e6(0x1a5)}},{'tag':_0x54e2e6(0x2d3),'attrs':{'fill':_0x54e2e6(0x213),'d':_0x54e2e6(0x29b),'fillRule':'evenodd','clipRule':_0x54e2e6(0x1a5)}}]},_0x304c7a=(0x0,_0x31450['forwardRef'])(function(_0x1043eb,_0x4c46a5){const _0x518be2=_0x54e2e6;return(0x0,_0x31450[_0x518be2(0x355)])(_0x30e45a,Object['assign']({},_0x1043eb,{'id':'topmost-icon','ref':_0x4c46a5,'icon':_0x1261aa}));});_0x304c7a[_0x54e2e6(0x314)]=_0x54e2e6(0x3d4);function _0x50dfbb(_0x5d63fc){const _0x4bfd34=_0x54e2e6;return(0x0,_0x57c25a['jsx'])(_0x13878f,{..._0x5d63fc,'PickerComponent':_0x5ceb8e[_0x4bfd34(0x37f)]});}function _0x21e11d(){const _0x262a2d=_0x54e2e6;let _0x1d28d6=(0x0,_0x7c4c2f[_0x262a2d(0x298)])(_0x1f70ef['LocaleService']),_0x8cbbcb=_0x288c0f(),[_0x162998,_0x40abb0]=(0x0,_0x31450[_0x262a2d(0x2dc)])(!0x1);return(0x0,_0x57c25a[_0x262a2d(0x1af)])(_0x262a2d(0x3fa),{'className':_0x262a2d(0x260),'children':[(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x104a58[_0x262a2d(0x184)],{'title':_0x1d28d6['t']('docs-shape-ui.crop.shape'),'aria-expanded':_0x162998,'variant':_0x262a2d(0x3b4),'trailing':_0x162998?(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x5edf0c,{}):(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x383106,{}),'onClick':()=>_0x40abb0(_0x4549be=>!_0x4549be)}),_0x162998&&(0x0,_0x57c25a[_0x262a2d(0x32b)])(_0x5ceb8e[_0x262a2d(0x37f)],{'excludeGroups':[_0x5ceb8e[_0x262a2d(0x4c1)]['Line']],'onShapeClick':_0x3ece9b=>{_0x8cbbcb(_0x3ece9b),_0x40abb0(!0x1);}})]});}function _0x3b692a(_0x661fa9){return _0x661fa9['trim']()||void 0x0;}function _0x1130d(_0x4559b3,_0x10f437,_0x5eb05f){const _0x20ec42=_0x54e2e6;var _0x12842f,_0x345868;return((_0x12842f=_0x4559b3['name'])==null?void 0x0:_0x12842f[_0x20ec42(0x386)]())||((_0x345868=_0x4559b3[_0x20ec42(0x4a7)])==null?void 0x0:_0x345868[_0x20ec42(0x386)]())||_0x5eb05f['t'](_0x20ec42(0x365)+(0x0,_0x5ceb8e[_0x20ec42(0x416)])(_0x4559b3['drawingType']))+'\x20'+(_0x10f437+0x1);}function _0x6a8656({PanelComponent:_0x1ea0a0=_0x57c854[_0x54e2e6(0x1b2)]}){const _0x25ba98=_0x54e2e6;let _0x16bcff=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x25ba98(0x15c)]),_0x3f76c9={'title':_0x16bcff['t'](_0x25ba98(0x273)),'empty':_0x16bcff['t'](_0x25ba98(0x1b4)),'showAll':_0x16bcff['t'](_0x25ba98(0x3d9)),'hideAll':_0x16bcff['t'](_0x25ba98(0x43f)),'lockAll':_0x16bcff['t'](_0x25ba98(0x26b)),'unlockAll':_0x16bcff['t'](_0x25ba98(0x436)),'moveForward':_0x16bcff['t'](_0x25ba98(0x3f8)),'moveBackward':_0x16bcff['t'](_0x25ba98(0x228)),'close':_0x16bcff['t'](_0x25ba98(0x39f)),'show':_0x16bcff['t'](_0x25ba98(0x4cb)),'hide':_0x16bcff['t'](_0x25ba98(0x26e)),'lock':_0x16bcff['t'](_0x25ba98(0x4d4)),'unlock':_0x16bcff['t'](_0x25ba98(0x44a)),'lockHint':_0x16bcff['t'](_0x25ba98(0x427)),'unlockHint':_0x16bcff['t'](_0x25ba98(0x389)),'name':_0x16bcff['t'](_0x25ba98(0x4cc)),'nameInput':_0x16bcff['t'](_0x25ba98(0x1cb)),'description':_0x16bcff['t'](_0x25ba98(0x2af)),'descriptionPlaceholder':_0x16bcff['t'](_0x25ba98(0x239)),'details':_0x16bcff['t'](_0x25ba98(0x46d)),'noSelection':_0x16bcff['t'](_0x25ba98(0x2ad)),'locate':_0x16bcff['t'](_0x25ba98(0x196)),'expand':_0x16bcff['t'](_0x25ba98(0x2b6)),'collapse':_0x16bcff['t']('drawing-ui.objectListPanel.collapse'),'dragToReorder':_0x16bcff['t'](_0x25ba98(0x494)),'search':_0x16bcff['t'](_0x25ba98(0x217)),'filterAll':_0x16bcff['t']('drawing-ui.objectListPanel.filterAll'),'filterHidden':_0x16bcff['t'](_0x25ba98(0x437)),'filterLocked':_0x16bcff['t'](_0x25ba98(0x4ab)),'sectionCanvas':_0x16bcff['t'](_0x25ba98(0x1c6)),'sectionFloating':_0x16bcff['t'](_0x25ba98(0x1b5))},_0x263a40=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x1f70ef[_0x25ba98(0x3ab)]),_0x5caf43=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x1f70ef['IUniverInstanceService']),_0x32c11b=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x535687[_0x25ba98(0x192)]),_0x3fa0e0=(0x0,_0x7c4c2f['useDependency'])(_0x509efb[_0x25ba98(0x178)]),_0x159e84=(0x0,_0x7c4c2f[_0x25ba98(0x298)])(_0x35408c[_0x25ba98(0x2b5)]),[,_0x5de57c]=(0x0,_0x31450[_0x25ba98(0x350)])(_0x1a6a26=>_0x1a6a26+0x1,0x0),_0x2d80f4=_0x5caf43[_0x25ba98(0x2a3)](_0x1f70ef[_0x25ba98(0x283)][_0x25ba98(0x1cc)]),_0x3924a1=(_0x2d80f4==null?void 0x0:_0x2d80f4[_0x25ba98(0x454)]())??'',_0x388cf7=_0x3924a1,_0x439049=(0x0,_0x7c4c2f[_0x25ba98(0x254)])(()=>_0x3fa0e0[_0x25ba98(0x48f)],_0x3fa0e0['getFocusDrawings'](),!0x1,[_0x3fa0e0]);(0x0,_0x31450['useEffect'])(()=>{const _0x3f5b90=_0x25ba98;let _0x325bf7=_0x263a40[_0x3f5b90(0x326)](()=>_0x5de57c());return()=>_0x325bf7['dispose']();},[_0x263a40]);let _0xa055b7=_0x3924a1?_0x32c11b[_0x25ba98(0x3d0)](_0x3924a1,_0x388cf7):{},_0x3816d3=(_0x3924a1?_0x32c11b[_0x25ba98(0x2ae)](_0x3924a1,_0x388cf7):[])[_0x25ba98(0x4ba)](_0x2d7b89=>_0xa055b7[_0x2d7b89])[_0x25ba98(0x2c0)](_0x3e6dd1=>!!_0x3e6dd1)[_0x25ba98(0x2f7)](),_0x2c4228=_0x3816d3[_0x25ba98(0x3fe)]((_0x101b8e,_0x1ceb09)=>(_0x101b8e[(0x0,_0x57c854[_0x25ba98(0x229)])(_0x1ceb09[_0x25ba98(0x4c9)])]+=0x1,_0x101b8e),{'canvas':0x0,'floating':0x0}),_0x2f8de9={'canvas':0x0,'floating':0x0},_0x51f730=_0x3816d3['map']((_0x5619e1,_0x3dfd08)=>{const _0x2b7d53=_0x25ba98;let _0x2b6fc9=(0x0,_0x57c854[_0x2b7d53(0x229)])(_0x5619e1[_0x2b7d53(0x4c9)]),_0x51542b=_0x2b6fc9===_0x57c854[_0x2b7d53(0x188)],_0x119e76=_0x2f8de9[_0x2b6fc9]++;return{'id':_0x5619e1['drawingId'],'name':_0x1130d(_0x5619e1,_0x3dfd08,_0x16bcff),'description':_0x5619e1[_0x2b7d53(0x423)],'visible':_0x5619e1[_0x2b7d53(0x28b)]!==!0x0,'selectable':_0x5619e1[_0x2b7d53(0x4c7)]!==!0x1,'sectionId':_0x2b6fc9,'sectionTitle':_0x51542b?_0x3f76c9[_0x2b7d53(0x20d)]:_0x3f76c9[_0x2b7d53(0x262)],'capabilities':_0x51542b?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x51542b&&_0x119e76>0x0,'canMoveBackward':!_0x51542b&&_0x119e76<_0x2c4228[_0x2b7d53(0x2cf)]-0x1,'canReorder':!_0x51542b};}),_0x4cc774=(0x0,_0x31450[_0x25ba98(0x208)])(()=>(_0x439049??[])[_0x25ba98(0x2c0)](_0x1cc12c=>_0x1cc12c[_0x25ba98(0x2a9)]===_0x3924a1&&_0x1cc12c[_0x25ba98(0x2bf)]===_0x388cf7)[_0x25ba98(0x4ba)](_0x2afba0=>_0x2afba0[_0x25ba98(0x2e7)]),[_0x439049,_0x388cf7,_0x3924a1]),_0x5bb6a8=_0x4cc774[_0x4cc774[_0x25ba98(0x44b)]-0x1]??null,_0x686c=_0x21aa7f=>_0x32c11b[_0x25ba98(0x2dd)]({'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x21aa7f})??null,_0x3a92a5=async _0x47e4c9=>{const _0x3a4b37=_0x25ba98;_0x3924a1&&_0x47e4c9['length']&&await _0x263a40[_0x3a4b37(0x407)](_0x156d72['UpdateDocDrawingMetadataCommand']['id'],{'unitId':_0x3924a1,'patches':_0x47e4c9});},_0x4b9110=(_0x3356a5,_0x2723c6)=>{const _0x16f939=_0x25ba98;if(!_0x3924a1)return;let _0x52fa56=_0x2723c6?_0x4cc774[_0x16f939(0x456)](_0x3356a5)?_0x4cc774['filter'](_0x1d7917=>_0x1d7917!==_0x3356a5):[..._0x4cc774,_0x3356a5]:[_0x3356a5];_0x263a40[_0x16f939(0x380)](_0x509efb['SetDrawingSelectedOperation']['id'],_0x52fa56['map'](_0x5c6d0f=>({'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x5c6d0f})));let _0x5293b3=_0x52fa56[_0x52fa56['length']-0x1];_0x5293b3?(0x0,_0x5ceb8e[_0x16f939(0x1a1)])(_0x159e84,{'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingId':_0x5293b3}):(0x0,_0x5ceb8e[_0x16f939(0x44f)])(_0x159e84,_0x3924a1);},_0x2fb538=async(_0xde217b,_0x1ebd99)=>{const _0x120069=_0x25ba98;await _0x3a92a5(_0xde217b[_0x120069(0x4ba)](_0x1bf48e=>_0x686c(_0x1bf48e))[_0x120069(0x2c0)](_0x3c8bdd=>!!_0x3c8bdd)[_0x120069(0x2c0)](_0x3e0aad=>_0x3e0aad[_0x120069(0x28b)]!==!0x0!==_0x1ebd99)[_0x120069(0x4ba)](_0x549a7b=>({'drawingId':_0x549a7b['drawingId'],'hidden':!_0x1ebd99})));},_0x24df37=async(_0x1677f4,_0x1572bd)=>{const _0xf8d6a3=_0x25ba98;await _0x3a92a5(_0x1677f4[_0xf8d6a3(0x4ba)](_0x234c62=>_0x686c(_0x234c62))['filter'](_0x2d7887=>!!_0x2d7887)['filter'](_0x37c52f=>_0x37c52f[_0xf8d6a3(0x4c7)]!==!0x1!==_0x1572bd)[_0xf8d6a3(0x4ba)](_0x216bad=>({'drawingId':_0x216bad['drawingId'],'selectable':_0x1572bd})));},_0x4ee310=_0x252714=>{let _0x3bea26=_0x686c(_0x252714);if(_0x3bea26)return _0x24df37([_0x252714],_0x3bea26['selectable']===!0x1);},_0x30ccba=async(_0x544382,_0x152413)=>{const _0x2d2677=_0x25ba98;let _0x2778cb=_0x686c(_0x544382),_0x1f86c1=_0x3b692a(_0x152413);!_0x2778cb||(_0x2778cb[_0x2d2677(0x151)]??void 0x0)===_0x1f86c1&&(_0x2778cb[_0x2d2677(0x4a7)]||void 0x0)===_0x1f86c1||await _0x3a92a5([{'drawingId':_0x544382,'name':_0x1f86c1,'title':_0x1f86c1}]);},_0x438a47=async(_0x45cefb,_0x5affaf)=>{const _0x156750=_0x25ba98;let _0x4e7366=_0x686c(_0x45cefb),_0x2c4837=_0x3b692a(_0x5affaf);_0x4e7366&&(_0x4e7366[_0x156750(0x423)]??void 0x0)!==_0x2c4837&&await _0x3a92a5([{'drawingId':_0x45cefb,'description':_0x2c4837}]);},_0x1df70f=async(_0x5da186,_0x3624ed)=>{const _0x3b1f6a=_0x25ba98;_0x3924a1&&await _0x263a40['executeCommand'](_0x535687[_0x3b1f6a(0x2bd)]['id'],{'unitId':_0x3924a1,'subUnitId':_0x388cf7,'drawingIds':[_0x5da186],'arrangeType':_0x3624ed});};return _0x3924a1?(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x1ea0a0,{'labels':_0x3f76c9,'renderPermissionAction':_0x111138=>_0x2d80f4?(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x7c4c2f['ObjectPermissionButton'],{'target':{'unitId':_0x3924a1,'objectId':(0x0,_0x5f20c1[_0x25ba98(0x1a4)])((0x0,_0x5f20c1[_0x25ba98(0x347)])(_0x2d80f4,_0x111138['id']),_0x25ba98(0x1e5),_0x111138['id']),'objectType':_0xe6e2b9[_0x25ba98(0x14c)][_0x25ba98(0x1dd)]},'name':_0x111138['name'],'commandId':_0x5f20c1[_0x25ba98(0x4e0)]['id'],'exists':()=>!!_0x686c(_0x111138['id'])},_0x3924a1+'/'+_0x111138['id']):null,'items':_0x51f730,'selectedIds':_0x4cc774,'focusedId':_0x5bb6a8,'showHeader':!0x1,'onSelect':_0x4b9110,'onSetVisible':_0x2fb538,'onSetSelectable':_0x24df37,'onCommitName':_0x30ccba,'onCommitDescription':_0x438a47,'onMoveForward':async _0x510127=>_0x1df70f(_0x510127,_0x1f70ef[_0x25ba98(0x4e1)][_0x25ba98(0x311)]),'onMoveBackward':async _0x37fee1=>_0x1df70f(_0x37fee1,_0x1f70ef[_0x25ba98(0x4e1)][_0x25ba98(0x363)]),'onToggleSelectable':_0x4ee310}):(0x0,_0x57c25a[_0x25ba98(0x32b)])(_0x25ba98(0x3fa),{'className':_0x25ba98(0x2f8),'children':_0x3f76c9[_0x25ba98(0x4a7)]});}function _0xe390f7(){return(0x0,_0x57c25a['jsx'])(_0x6a8656,{'PanelComponent':_0x57c854['MobileObjectListPanel']});}let _0x1dc3be=class{constructor(_0x241571){const _0x5a7e4b=_0x54e2e6;this[_0x5a7e4b(0x4a2)]=_0x241571;}[_0x54e2e6(0x244)](_0x383ae7,_0x21f6bf){const _0x1c4a1a=_0x54e2e6;let _0x45530d=this[_0x1c4a1a(0x4a2)][_0x1c4a1a(0x2eb)](_0x383ae7[_0x1c4a1a(0x2a9)]),_0x10fba9=_0x45530d==null?void 0x0:_0x45530d[_0x1c4a1a(0x2ba)];if(!_0x10fba9)return;let _0x4dbe15=(0x0,_0x509efb[_0x1c4a1a(0x3c2)])(_0x383ae7),_0x449f85=_0x10fba9[_0x1c4a1a(0x3b9)](_0x4dbe15);_0x449f85==null||_0x449f85[_0x1c4a1a(0x2cd)](_0x21f6bf);}};_0x1dc3be=_0x105eeb([_0x1af634(0x0,_0x35408c[_0x54e2e6(0x2b5)])],_0x1dc3be);function _0x18b08f(){const _0x118ce8=_0x54e2e6;let _0xaf954c=(0x0,_0x7c4c2f[_0x118ce8(0x298)])(_0x509efb['IDrawingManagerService']),_0x103119=(0x0,_0x7c4c2f[_0x118ce8(0x254)])(()=>_0xaf954c[_0x118ce8(0x48f)],_0xaf954c[_0x118ce8(0x34f)](),!0x1,[_0xaf954c]);return _0x103119[_0x118ce8(0x44b)]===0x0?null:(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x118ce8(0x3fa),{'children':(0x0,_0x57c25a['jsxs'])(_0x118ce8(0x3fa),{'className':_0x118ce8(0x205),'children':[(0x0,_0x57c25a['jsx'])(_0x57c854[_0x118ce8(0x319)],{'drawings':_0x103119,'hasCropper':!0x1}),(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x23d22e[_0x118ce8(0x2f6)],{'drawings':_0x103119}),(0x0,_0x57c25a[_0x118ce8(0x32b)])(_0x23d22e[_0x118ce8(0x3d2)],{'drawings':_0x103119})]})});}function _0x2ad012(_0x592d93){const _0xe5af17=_0x54e2e6;let {unitId:_0x4c04b0,subUnitId:_0x402e0a,shapeId:_0x98ffbd,PositionComponent:_0x3e4ed0=_0x18b08f}=_0x592d93,_0x1b5e72=(0x0,_0x7c4c2f[_0xe5af17(0x298)])(_0x1f70ef[_0xe5af17(0x3ab)]),_0x180fc6=(0x0,_0x7c4c2f['useDependency'])(_0x1dc3be);return(0x0,_0x57c25a[_0xe5af17(0x32b)])(_0x5ceb8e['ShapeEditPanel'],{..._0x592d93,'positionEditor':(0x0,_0x57c25a['jsx'])(_0x3e4ed0,{}),'onUpdateShapeData':(_0x5c850e,_0x1b666a)=>{_0x47b987(_0x1b5e72,_0x4c04b0,_0x402e0a,_0x98ffbd,_0x5c850e,_0x1b666a);},'onUpdateLineShapeData':(_0x1e80d6,_0x2f5e22)=>{_0x166ba9(_0x1b5e72,_0x4c04b0,_0x402e0a,_0x98ffbd,_0x1e80d6,_0x2f5e22);},'onUpdateShapeFillImage':_0x195733=>{const _0x1a6291=_0xe5af17;_0x180fc6[_0x1a6291(0x244)]({'unitId':_0x4c04b0,'subUnitId':_0x402e0a,'drawingId':_0x98ffbd},_0x195733);}});}function _0x117f90(){const _0x1f5fd8=_0x54e2e6;let _0x2f0513=(0x0,_0x7c4c2f[_0x1f5fd8(0x298)])(_0x509efb[_0x1f5fd8(0x178)]),_0x5e5a34=(0x0,_0x7c4c2f[_0x1f5fd8(0x254)])(_0x2f0513[_0x1f5fd8(0x48f)],_0x2f0513['getFocusDrawings']());return _0x5e5a34['length']===0x0?null:(0x0,_0x57c25a[_0x1f5fd8(0x1af)])(_0x1f5fd8(0x3fa),{'className':_0x1f5fd8(0x300),'children':[(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x57c854['DrawingCommonPanel'],{'drawings':_0x5e5a34,'hasCropper':!0x1}),(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x23d22e['MobileDocDrawingTextWrap'],{'drawings':_0x5e5a34}),(0x0,_0x57c25a[_0x1f5fd8(0x32b)])(_0x23d22e[_0x1f5fd8(0x28f)],{'drawings':_0x5e5a34})]});}function _0x1b6b85(_0x4a00c1){const _0x3b9768=_0x54e2e6;return(0x0,_0x57c25a[_0x3b9768(0x32b)])(_0x5ceb8e['MobileShapeEditorControls'],{'children':(0x0,_0x57c25a['jsx'])(_0x2ad012,{..._0x4a00c1,'PositionComponent':_0x117f90})});}function _0x54dfa4({popup:_0x1b587b}){const _0x2e9794=_0x54e2e6;let _0x2f7e8a=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x2e9794(0x15c)]),{shapeType:_0xc87283,onText:_0x9dbed0,onStyle:_0x2ce2cd,onDelete:_0x414e18}=_0x1b587b[_0x2e9794(0x289)],_0x19d62a=[{'key':_0x2e9794(0x3e5),'order':0x0,'item':{'id':'text','type':_0x7c4c2f['MenuItemType'][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.text'),'disabled$':(0x0,_0x3781f8['of'])((0x0,_0x11cfc4[_0x2e9794(0x286)])(_0xc87283))}},{'key':_0x2e9794(0x265),'order':0x1,'item':{'id':'style','type':_0x7c4c2f[_0x2e9794(0x2cb)][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.style')}},{'key':_0x2e9794(0x493),'order':0x2,'item':{'id':_0x2e9794(0x493),'type':_0x7c4c2f['MenuItemType'][_0x2e9794(0x1ed)],'title':_0x2f7e8a['t']('docs-shape-ui.mobile.delete')}}];return(0x0,_0x57c25a[_0x2e9794(0x32b)])(_0x7c4c2f[_0x2e9794(0x448)],{'schemas':_0x19d62a,'presentation':_0x2e9794(0x313),'onOptionSelect':async({id:_0x5038e9})=>{const _0x5bac64=_0x2e9794;_0x5038e9===_0x5bac64(0x3e5)?await _0x9dbed0():_0x5038e9===_0x5bac64(0x265)?await _0x2ce2cd():_0x5038e9==='delete'&&await _0x414e18();}});}let _0x1b4f5e='doc.shape.floating-toolbar';function _0x3f98ca(_0x5eaad7,_0x1d1a91){const _0x4a3b6e=_0x54e2e6;var _0x244a9d;let _0x507c9b=_0x5eaad7==null||(_0x244a9d=_0x5eaad7[_0x4a3b6e(0x250)]()[_0x4a3b6e(0x1e0)])==null?void 0x0:_0x244a9d[_0x1d1a91];return _0x507c9b?_0x507c9b[_0x4a3b6e(0x2fa)]===_0x1f70ef[_0x4a3b6e(0x3e4)][_0x4a3b6e(0x40e)]?_0x507c9b[_0x4a3b6e(0x18b)]===_0x1f70ef[_0x4a3b6e(0x1aa)][_0x4a3b6e(0x1ce)]?_0x535687['TextWrappingStyle'][_0x4a3b6e(0x4d0)]:_0x535687['TextWrappingStyle'][_0x4a3b6e(0x2cc)]:_0x507c9b[_0x4a3b6e(0x2fa)]===_0x1f70ef[_0x4a3b6e(0x3e4)]['WRAP_SQUARE']?_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x1ba)]:_0x507c9b['layoutType']===_0x1f70ef['PositionedObjectLayoutType'][_0x4a3b6e(0x3a5)]?_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x3a5)]:_0x535687['TextWrappingStyle']['INLINE']:_0x535687[_0x4a3b6e(0x31e)][_0x4a3b6e(0x270)];}function _0x33a116(_0x110ec3){const _0x3be9d7=_0x54e2e6;let _0x1a149e=(0x0,_0x7c4c2f[_0x3be9d7(0x298)])(_0x5ceb8e[_0x3be9d7(0x27e)]),_0x5f010d=(0x0,_0x7c4c2f['useObservable'])(()=>_0x1a149e[_0x3be9d7(0x27c)],_0x1a149e['getVisible'](),!0x1,[_0x1a149e]),_0x6f013e=_0x110ec3[_0x3be9d7(0x356)][_0x3be9d7(0x289)];return _0x5f010d?(0x0,_0x57c25a[_0x3be9d7(0x32b)])(_0x101b4f,{..._0x6f013e,'canvasElement':_0x110ec3[_0x3be9d7(0x356)][_0x3be9d7(0x3e2)]}):null;}function _0x101b4f(_0x3d7386){const _0x2a0046=_0x54e2e6;let _0x19937a=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x1f70ef[_0x2a0046(0x3ab)]),_0x263b99=(0x0,_0x7c4c2f['useDependency'])(_0x1f70ef[_0x2a0046(0x15c)]),_0x12f93a=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x156d72[_0x2a0046(0x333)]),_0x138d29=(0x0,_0x7c4c2f[_0x2a0046(0x298)])(_0x1f70ef[_0x2a0046(0x3bb)]),{unitId:_0xa45a2e,subUnitId:_0x50e3ee,drawingId:_0x3c3e4b,shapeType:_0x2ba690}=_0x3d7386,[_0x271e38,_0x550f02]=(0x0,_0x31450['useState'])(_0x3d7386[_0x2a0046(0x2fc)]),_0x396526=_0x138d29[_0x2a0046(0x46f)](_0xa45a2e,_0x1f70ef[_0x2a0046(0x283)][_0x2a0046(0x1cc)])??void 0x0,[_0x59d016,_0x1ad258]=(0x0,_0x31450[_0x2a0046(0x2dc)])(()=>_0x3f98ca(_0x396526,_0x3c3e4b)),_0x17b2ac=(0x0,_0x31450['useMemo'])(()=>(0x0,_0x5ceb8e['getTextStyle'])(_0x271e38),[_0x271e38]),_0x20639e=(0x0,_0x31450[_0x2a0046(0x208)])(()=>(0x0,_0x5ceb8e['getTextModel'])(_0x271e38),[_0x271e38]);(0x0,_0x31450[_0x2a0046(0x31f)])(()=>{const _0x2b580d=_0x2a0046;let _0x5841cd=_0x19937a[_0x2b580d(0x326)](_0x1dd046=>{if(_0x1dd046['id']!==_0x156d72['UpdateDocShapeDataMutation']['id'])return;let _0x1b663c=_0x12f93a['getShapeDataById'](_0xa45a2e,_0x50e3ee,_0x3c3e4b);_0x1b663c&&_0x550f02(_0x1b663c);});return()=>_0x5841cd[_0x2b580d(0x267)]();},[_0x19937a,_0x12f93a,_0x3c3e4b,_0x50e3ee,_0xa45a2e]);let _0x3190b6=_0x4dbf54=>{_0x550f02(_0xaad990=>({..._0xaad990,..._0x4dbf54}));},_0x423e48=_0x20b58f=>{const _0x4819cf=_0x2a0046;let _0x283276=(0x0,_0x5ceb8e[_0x4819cf(0x489)])(_0x271e38,_0x20b58f);_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,{'oldShapeData':{'shapeText':_0x271e38[_0x4819cf(0x26a)]}},_0x283276),_0x3190b6(_0x283276);},_0x4049ce=_0x2959e4=>{const _0x13dcd0=_0x2a0046;_0x1ad258(_0x2959e4),_0x19937a[_0x13dcd0(0x407)](_0x535687[_0x13dcd0(0x41f)]['id'],{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawings':[{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b}],'wrappingStyle':_0x2959e4});},_0x429a09=(0x0,_0x5ceb8e[_0x2a0046(0x440)])({'hostType':_0x1f70ef[_0x2a0046(0x283)][_0x2a0046(0x1cc)],'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'shapeId':_0x3c3e4b,'shapeData':_0x271e38,'onUpdateBinding':_0x3a0772=>{let _0x26d3b0={'formulaBinding':_0x3a0772};_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,{'oldShapeData':{'formulaBinding':_0x271e38['formulaBinding']}},_0x26d3b0),_0x3190b6(_0x26d3b0);}}),_0x129917=[{'label':_0x263b99['t'](_0x2a0046(0x2c5)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x270)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x2d4)),'value':_0x535687['TextWrappingStyle'][_0x2a0046(0x1ba)],'icon':(0x0,_0x57c25a['jsx'])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x149)),'value':_0x535687[_0x2a0046(0x31e)]['WRAP_TOP_AND_BOTTOM'],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x275)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x4d0)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})},{'label':_0x263b99['t'](_0x2a0046(0x388)),'value':_0x535687[_0x2a0046(0x31e)][_0x2a0046(0x2cc)],'icon':(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x3c50f0,{})}];return(0x0,_0x57c25a[_0x2a0046(0x1af)])(_0x57c25a['Fragment'],{'children':[(0x0,_0x57c25a[_0x2a0046(0x32b)])(_0x5ceb8e[_0x2a0046(0x3ca)],{'canvasElement':_0x3d7386[_0x2a0046(0x3e2)],'shapeData':_0x271e38,'shapeType':_0x2ba690,'textStyle':{'ff':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x175)],'fs':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x172)],'cl':{'rgb':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x26a)][_0x2a0046(0x36a)]},..._0x17b2ac},'textModel':_0x20639e?{'ha':_0x20639e['ha']??_0x1f70ef['HorizontalAlign']['LEFT'],'va':_0x20639e['va']??_0x1f70ef[_0x2a0046(0x49e)]['TOP']}:null,'wrappingStyle':_0x59d016,'wrappingStyleOptions':_0x129917,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x46e)],'defaultGradientEndColor':_0x11cfc4[_0x2a0046(0x15e)][_0x2a0046(0x37d)],'defaultStrokeColor':_0x11cfc4['ShapeDefaultConfig']['stroke'],'extensionGroups':_0x429a09[_0x2a0046(0x1ee)],'floatingObjectToolbarPosition':_0x7c4c2f[_0x2a0046(0x36b)]['DOC'],'onUpdateShapeData':(_0x240690,_0x240906)=>{_0x47b987(_0x19937a,_0xa45a2e,_0x50e3ee,_0x3c3e4b,_0x240690,_0x240906),_0x240906&&_0x3190b6(_0x240906);},'onUpdateText':_0x423e48,'onUpdateWrappingStyle':_0x21f87d=>_0x4049ce(_0x21f87d),'onOpenPanel':()=>{_0x19937a['executeCommand'](_0xf4b337['id'],{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b});},'onDelete':()=>{const _0x4b425=_0x2a0046;_0x19937a[_0x4b425(0x407)](_0x535687[_0x4b425(0x3f0)]['id'],{'unitId':_0xa45a2e,'drawings':[{'unitId':_0xa45a2e,'subUnitId':_0x50e3ee,'drawingId':_0x3c3e4b}]});}}),_0x429a09[_0x2a0046(0x1de)]]});}function _0x2f6796({variant:_0x3c35b1,extend:_0x1a8a25,..._0x58998f}){const _0x319dad=_0x54e2e6;let _0x34a51b=(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x354),{'x':'7','y':_0x319dad(0x2b2),'width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x319dad(0x422),'stroke':_0x319dad(0x213),'strokeWidth':_0x319dad(0x1f6)});return(0x0,_0x57c25a['jsxs'])(_0x319dad(0x3cf),{'aria-hidden':'true','fill':'none','height':_0x319dad(0x33f),'viewBox':_0x319dad(0x34a),'width':_0x319dad(0x33f),..._0x58998f,'children':[_0x3c35b1==='inline'&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':'M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','stroke':_0x319dad(0x213),'strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),(0x0,_0x57c25a['jsx'])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':'0.8','fill':_0x319dad(0x213),'fillOpacity':_0x319dad(0x422),'stroke':'currentColor','strokeWidth':_0x319dad(0x1f6)})]}),_0x3c35b1==='square'&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])('path',{'d':'M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','stroke':_0x319dad(0x213),'strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),_0x34a51b]}),_0x3c35b1===_0x319dad(0x3fd)&&(0x0,_0x57c25a['jsxs'])(_0x57c25a[_0x319dad(0x251)],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])('path',{'d':_0x319dad(0x28d),'stroke':_0x319dad(0x213),'strokeLinecap':_0x319dad(0x3ba),'strokeWidth':_0x319dad(0x1f6)}),_0x34a51b]}),_0x3c35b1===_0x319dad(0x287)&&(0x0,_0x57c25a[_0x319dad(0x1af)])(_0x57c25a[_0x319dad(0x251)],{'children':[_0x34a51b,(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':'currentColor','strokeLinecap':_0x319dad(0x3ba),'strokeWidth':'1.2'})]}),_0x3c35b1==='front'&&(0x0,_0x57c25a[_0x319dad(0x1af)])(_0x57c25a['Fragment'],{'children':[(0x0,_0x57c25a[_0x319dad(0x32b)])(_0x319dad(0x2d3),{'d':_0x319dad(0x430),'stroke':'currentColor','strokeLinecap':'round','strokeWidth':_0x319dad(0x1f6)}),(0x0,_0x57c25a['jsx'])(_0x319dad(0x354),{'x':'7','y':_0x319dad(0x2b2),'width':'6','height':'9','rx':'1','fill':'currentColor'})]})]});}let _0x299863=_0x12cc8f=>_0x18ac6b=>(0x0,_0x57c25a[_0x54e2e6(0x32b)])(_0x2f6796,{..._0x18ac6b,'variant':_0x12cc8f}),_0x1adc8c={'DocsShapeWrapInlineIcon':_0x299863(_0x54e2e6(0x1d3)),'DocsShapeWrapSquareIcon':_0x299863(_0x54e2e6(0x14d)),'DocsShapeWrapTopBottomIcon':_0x299863('top-bottom'),'DocsShapeWrapBehindTextIcon':_0x299863(_0x54e2e6(0x287)),'DocsShapeWrapInFrontOfTextIcon':_0x299863(_0x54e2e6(0x445))},_0x5f1b69=(0x0,_0x31450[_0x54e2e6(0x24a)])(()=>{const _0x177dcc=_0x54e2e6;let _0x4d501b=(0x0,_0x7c4c2f['useDependency'])(_0x5c66c5),_0x36a5d7=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x156d72[_0x177dcc(0x333)]),_0x596cdd=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x509efb[_0x177dcc(0x178)]),_0x32dbdf=(0x0,_0x7c4c2f[_0x177dcc(0x298)])(_0x1f70ef[_0x177dcc(0x3ab)]),_0x372ac0=(0x0,_0x31450[_0x177dcc(0x208)])(()=>({'getShapeModel':(_0x749766,_0x16b9b6,_0x457068)=>_0x36a5d7[_0x177dcc(0x2b8)](_0x749766,_0x16b9b6,_0x457068),'getShapeData':(_0x3c26ae,_0xc68d6c,_0x1a4023)=>_0x36a5d7[_0x177dcc(0x17a)](_0x3c26ae,_0xc68d6c,_0x1a4023),'getDrawingTransform':(_0x3852ac,_0x1c0483,_0x62ac61)=>{const _0x2e0014=_0x177dcc;let _0x50f6d7=_0x596cdd['getDrawingByParam']({'unitId':_0x3852ac,'subUnitId':_0x1c0483,'drawingId':_0x62ac61});return _0x50f6d7==null?void 0x0:_0x50f6d7[_0x2e0014(0x24d)];},'updateShapeText':({unitId:_0x4eef16,shapeId:_0x2a2b7d,shapeText:_0x54c1e4,oldShapeText:_0x50d97a})=>{const _0x27eee5=_0x177dcc;_0x32dbdf[_0x27eee5(0x407)](_0x156d72['UpdateDocShapeDataCommand']['id'],{'unitId':_0x4eef16,'shapeId':_0x2a2b7d,'shapeData':{'shapeText':_0x54c1e4},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x50d97a}}});},'updateHostSize':({unitId:_0x4bc165,subUnitId:_0x15a5bb,shapeId:_0xabe9b3,width:_0x51a1c5,height:_0x5478fc})=>{const _0x362880=_0x177dcc;_0x32dbdf[_0x362880(0x407)](_0x535687[_0x362880(0x329)]['id'],{'unitId':_0x4bc165,'subUnitId':_0x15a5bb,'drawings':[{'drawingId':_0xabe9b3,'key':_0x362880(0x23d),'value':{'width':_0x51a1c5,'height':_0x5478fc}}]});},'allowHostSizeShrink':({unitId:_0x1dc23f,subUnitId:_0x476d75,shapeId:_0x3e1832})=>(0x0,_0x5ceb8e['shouldAllowShapeTextEditorHostSizeShrink'])(_0x36a5d7['getShapeDataById'](_0x1dc23f,_0x476d75,_0x3e1832))}),[_0x32dbdf,_0x36a5d7,_0x596cdd]),_0x4b33f0=(0x0,_0x31450[_0x177dcc(0x208)])(()=>({'viewportKeys':{'main':_0x5bdd19[_0x177dcc(0x14b)][_0x177dcc(0x45e)]}}),[]);return(0x0,_0x57c25a[_0x177dcc(0x32b)])(_0x5ceb8e[_0x177dcc(0x29c)],{'adapter':_0x372ac0,'editingService':_0x4d501b,'editorUnitId':_0x5247b4,'positionOptions':_0x4b33f0});}),_0x8f323=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0xd15b81,_0x4561a2){const _0x54f59c=_0x54e2e6;super(),this[_0x54f59c(0x468)]=_0xd15b81,this[_0x54f59c(0x336)]=_0x4561a2,this['_registerIcons'](),this[_0x54f59c(0x2ff)]();}[_0x54e2e6(0x191)](){const _0x501d6e=_0x54e2e6;this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x4a1))||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)]['register']({'ObjectLayersIcon':_0x2d581e})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x2bb))||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'BottomIcon':_0x27ad3d})),this['_iconManager'][_0x501d6e(0x15f)](_0x501d6e(0x3ac))||this[_0x501d6e(0x3b5)](this['_iconManager'][_0x501d6e(0x345)]({'MoveDownIcon':_0x1270de})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)](_0x501d6e(0x159))||this['disposeWithMe'](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'MoveUpIcon':_0x56d01d})),this[_0x501d6e(0x336)][_0x501d6e(0x15f)]('ShapeFormatSettingIcon')||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'ShapeFormatSettingIcon':_0x57d64a})),this['_iconManager'][_0x501d6e(0x15f)]('TopmostIcon')||this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)][_0x501d6e(0x345)]({'TopmostIcon':_0x304c7a})),this[_0x501d6e(0x3b5)](this[_0x501d6e(0x336)]['register'](_0x1adc8c));}['_registerComponents'](){const _0x2b99e7=_0x54e2e6;this['disposeWithMe'](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x45c66c,_0x1b6b85)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x3e20a4,_0xe390f7)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x1b4f5e,_0x54dfa4)),this[_0x2b99e7(0x3b5)](this['_componentManager'][_0x2b99e7(0x345)](_0x11a36f,_0xbdc066)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x38ab15,_0x5a86e2)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x4327b8,_0x58fb9b)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x191cb1,_0x464b9a)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x2515e8,_0x5a5a75)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x148b7f,_0x5ceb8e['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x2b99e7(0x468)]['register'](_0x3234d1,_0x50dfbb)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)]['register'](_0x42bec7,_0x21e11d)),this[_0x2b99e7(0x468)][_0x2b99e7(0x49a)](_0x57c854[_0x2b99e7(0x231)])||this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x57c854[_0x2b99e7(0x231)],_0x280758)),this[_0x2b99e7(0x3b5)](this[_0x2b99e7(0x468)][_0x2b99e7(0x345)](_0x40116f,_0x5f1b69));}};_0x8f323=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x1be)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f['IconManager']))],_0x8f323);let _0x5b678e=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x2ea5d4,_0x1fed61,_0x32f126,_0xb7db94,_0x48466a,_0x136680,_0x34e81c,_0x1de923,_0xf4bdb8,_0x2f0f60,_0x65ceaa,_0x5ee661,_0x3ae4f4){const _0x5e3609=_0x54e2e6;super(),this[_0x5e3609(0x394)]=_0x2ea5d4,this[_0x5e3609(0x3b1)]=_0x1fed61,this['_menuManagerService']=_0x32f126,this[_0x5e3609(0x1b8)]=_0xb7db94,this['_localeService']=_0x48466a,this['_commandService']=_0x136680,this[_0x5e3609(0x353)]=_0x34e81c,this['_docCanvasPopManagerService']=_0x1de923,this[_0x5e3609(0x4a2)]=_0xf4bdb8,this[_0x5e3609(0x421)]=_0x2f0f60,this[_0x5e3609(0x495)]=_0x65ceaa,this[_0x5e3609(0x459)]=_0x5ee661,this[_0x5e3609(0x18d)]=_0x3ae4f4,_0x3d621e(this,_0x5e3609(0x183),null),_0x3d621e(this,'_activeShapeInfo',null),_0x3d621e(this,'_isOpenedShapeEditPanel',!0x1),_0x3d621e(this,_0x5e3609(0x4a3),0x0),_0x3d621e(this,'_disposePopupsByUnit',new Map()),_0x3d621e(this,_0x5e3609(0x3e1),new Map()),this[_0x5e3609(0x1c4)](),this[_0x5e3609(0x3b5)](this['_univerInstanceService'][_0x5e3609(0x145)](_0x1f70ef['UniverInstanceType'][_0x5e3609(0x1cc)])[_0x5e3609(0x169)](_0x42abd8=>{const _0xb7845a=_0x5e3609;if(!_0x42abd8){var _0x32b366;(_0x32b366=this['_sidebarDisposable'])==null||_0x32b366[_0xb7845a(0x267)]();}})),this[_0x5e3609(0x4ad)](),this['disposeWithMe'](this['_drawingManagerService']['remove$'][_0x5e3609(0x169)](_0x17025d=>{const _0x5df36a=_0x5e3609;for(let _0x40003f of _0x17025d){let _0x1f2738=_0x40003f[_0x5df36a(0x2a9)]+':'+_0x40003f[_0x5df36a(0x2bf)]+':'+_0x40003f['drawingId'];for(let [_0x2bfb90,_0x5d8b29]of this[_0x5df36a(0x3e1)])_0x5d8b29===_0x1f2738&&this['_clearPopups'](_0x2bfb90,!0x0);}})),this[_0x5e3609(0x3b5)]((0x0,_0x5ceb8e[_0x5e3609(0x16d)])(this['_renderManagerService'],_0x1f70ef[_0x5e3609(0x283)]['UNIVER_DOC'],_0x1dcc6a=>this['_popupMenuListener'](_0x1dcc6a))),this[_0x5e3609(0x3b5)](this['_shapeTextEditingService'][_0x5e3609(0x3bc)][_0x5e3609(0x169)](_0x4dc65c=>{const _0xeea973=_0x5e3609;_0x4dc65c&&this[_0xeea973(0x3f3)](void 0x0,!0x0);})),this[_0x5e3609(0x3b5)](this['_permissionService']['permissionPointUpdate$'][_0x5e3609(0x169)](()=>{const _0x5bb644=_0x5e3609;this[_0x5bb644(0x353)]['getFocusDrawings']()[_0x5bb644(0x305)](_0x551c49=>_0x551c49[_0x5bb644(0x4c9)]===_0x1f70ef['DrawingTypeEnum']['DRAWING_SHAPE']&&this['_univerInstanceService'][_0x5bb644(0x3ce)](_0x551c49[_0x5bb644(0x2a9)])===_0x1f70ef['UniverInstanceType'][_0x5bb644(0x1cc)]&&!this[_0x5bb644(0x206)](_0x551c49[_0x5bb644(0x2a9)],_0x551c49[_0x5bb644(0x2e7)]))&&(this[_0x5bb644(0x3f3)](void 0x0,!0x0),this[_0x5bb644(0x163)]());}));}[_0x54e2e6(0x47d)](_0x1f29f2,_0x4fd739,_0x27c6f3,_0x5d84){const _0xc0bb98=_0x54e2e6;return[{'label':_0xc0bb98(0x1fd),'index':0x0,'commandId':_0xf4b337['id'],'commandParams':{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3},'disable':_0x5d84===_0x1f70ef[_0xc0bb98(0x470)][_0xc0bb98(0x3e3)]},{'label':_0xc0bb98(0x2c6),'index':0x1,'commandId':_0x535687[_0xc0bb98(0x3f0)]['id'],'commandParams':{'unitId':_0x1f29f2,'drawings':[{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x388435['id'],'commandParams':{'unitId':_0x1f29f2,'subUnitId':_0x4fd739,'drawingId':_0x27c6f3},'disable':!0x1}];}[_0x54e2e6(0x1c4)](){this['_menuManagerService']['mergeMenu'](_0x31ed66);}[_0x54e2e6(0x22a)](_0x4f4b7a,_0x1b3136,_0x8eee7){const _0x1e4c7a=_0x54e2e6;let _0x197522=this[_0x1e4c7a(0x1b8)][_0x1e4c7a(0x187)](_0x4f4b7a,_0x1b3136,_0x8eee7),_0x5dd933=this['_docsShapeService'][_0x1e4c7a(0x17a)](_0x4f4b7a,_0x1b3136,_0x8eee7);return _0x197522===void 0x0||_0x5dd933===void 0x0?null:{'shapeData':_0x5dd933,'shapeId':_0x8eee7,'shapeType':_0x197522,'unitId':_0x4f4b7a,'subUnitId':_0x1b3136,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1};}['_clearPopups'](_0x36ba70,_0x5351e5=!0x1){const _0x461dde=_0x54e2e6;if(_0x36ba70==null){[...this[_0x461dde(0x4a5)]['keys']()][_0x461dde(0x16e)](_0x36c338=>this[_0x461dde(0x3f3)](_0x36c338,_0x5351e5));return;}let _0x50fe51=this[_0x461dde(0x4a5)]['get'](_0x36ba70);if(_0x50fe51){for(let _0x1b708d=_0x50fe51[_0x461dde(0x44b)]-0x1;_0x1b708d>=0x0;--_0x1b708d){let _0x12b862=_0x50fe51[_0x1b708d];(_0x5351e5||_0x12b862[_0x461dde(0x3bf)]())&&(_0x12b862[_0x461dde(0x267)](),_0x50fe51[_0x461dde(0x201)](_0x1b708d,0x1));}_0x50fe51['length']===0x0&&(this[_0x461dde(0x4a5)]['delete'](_0x36ba70),this[_0x461dde(0x3e1)][_0x461dde(0x493)](_0x36ba70));}}[_0x54e2e6(0x2b9)](_0x3f5229){const _0x22c5cb=_0x54e2e6;let _0x5ecb2f=this[_0x22c5cb(0x4a5)]['get'](_0x3f5229);if(_0x5ecb2f)return _0x5ecb2f;let _0x549211=[];return this[_0x22c5cb(0x4a5)][_0x22c5cb(0x21a)](_0x3f5229,_0x549211),_0x549211;}[_0x54e2e6(0x40c)](_0x46931d){const _0x1ffa8a=_0x54e2e6;var _0x3097d3;let _0x4892f2=new _0x1f70ef['DisposableCollection'](),_0x41864c=(_0x3097d3=this['_renderManagerService'][_0x1ffa8a(0x463)](_0x1f70ef[_0x1ffa8a(0x283)][_0x1ffa8a(0x1cc)])['find'](_0xb3e0fa=>_0xb3e0fa['scene'][_0x1ffa8a(0x3a9)]()===_0x46931d))==null?void 0x0:_0x3097d3['unitId'];return _0x41864c&&(_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d['createControl$'][_0x1ffa8a(0x169)](()=>this[_0x1ffa8a(0x266)](_0x46931d,_0x41864c))),_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d[_0x1ffa8a(0x323)][_0x1ffa8a(0x169)](()=>{const _0x1d05d2=_0x1ffa8a;this[_0x1d05d2(0x3f3)](_0x41864c),queueMicrotask(()=>{const _0x579bd3=_0x1d05d2;_0x46931d[_0x579bd3(0x452)]()['size']>0x0||!this[_0x579bd3(0x353)][_0x579bd3(0x34f)]()[_0x579bd3(0x305)](_0xc63be3=>_0xc63be3[_0x579bd3(0x2a9)]===_0x41864c)||(this['_contextService'][_0x579bd3(0x15b)](_0x1f70ef[_0x579bd3(0x4df)],!0x1),this['_drawingManagerService'][_0x579bd3(0x43a)](null));});})),_0x4892f2[_0x1ffa8a(0x3a6)](_0x46931d[_0x1ffa8a(0x4bd)]['subscribe'](()=>{const _0x3cf350=_0x1ffa8a;this[_0x3cf350(0x3f3)](_0x41864c,!0x0);}))),_0x4892f2;}[_0x54e2e6(0x266)](_0x5dc767,_0x2d4902){const _0x3052ab=_0x54e2e6;let _0x307c94=_0x5dc767['getSelectedObjectMap']();if(this[_0x3052ab(0x2f9)]){this[_0x3052ab(0x3f3)](_0x2d4902,!0x0);return;}if(_0x307c94[_0x3052ab(0x23d)]>0x1){this['_clearPopups'](_0x2d4902);return;}let _0x14eea3=_0x307c94['values']()['next']()[_0x3052ab(0x424)];if(!_0x14eea3){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let _0x40efed=this[_0x3052ab(0x353)][_0x3052ab(0x393)](_0x14eea3['oKey']);if(!_0x40efed||_0x40efed[_0x3052ab(0x4c9)]!==_0x1f70ef['DrawingTypeEnum']['DRAWING_SHAPE']){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let {unitId:_0x336546,subUnitId:_0x4e582f,drawingId:_0x35d11f}=_0x40efed;if(!this[_0x3052ab(0x206)](_0x336546,_0x35d11f)){this[_0x3052ab(0x3f3)](_0x2d4902,!0x0);return;}let _0x3d9a0e=this[_0x3052ab(0x22a)](_0x336546,_0x4e582f,_0x35d11f);if(!_0x3d9a0e){this[_0x3052ab(0x3f3)](_0x2d4902);return;}let _0x4c7b73=this['_disposePopupsByUnit']['get'](_0x2d4902),_0x3f52a7=_0x336546+':'+_0x4e582f+':'+_0x35d11f;if(this['_popupTargetKeys'][_0x3052ab(0x429)](_0x2d4902)===_0x3f52a7&&_0x4c7b73!=null&&_0x4c7b73[_0x3052ab(0x44b)])return;this[_0x3052ab(0x3f3)](_0x2d4902);let _0xd51ced=this['_renderManagerService'][_0x3052ab(0x2eb)](_0x336546),_0x3d0319=((_0xd51ced==null?void 0x0:_0xd51ced[_0x3052ab(0x1fe)])===!0x1?_0xd51ced['with'](_0x5bdd19[_0x3052ab(0x30d)]):this[_0x3052ab(0x226)])[_0x3052ab(0x1e4)](_0x14eea3,this['_getShapePopup'](_0x3d9a0e,()=>this[_0x3052ab(0x3f3)](_0x2d4902,!0x0)),_0x336546);this['disposeWithMe'](_0x3d0319),this[_0x3052ab(0x2b9)](_0x2d4902)['push'](_0x3d0319),this['_popupTargetKeys']['set'](_0x2d4902,_0x3f52a7),this[_0x3052ab(0x353)][_0x3052ab(0x34f)]()[_0x3052ab(0x305)](_0x1ba696=>_0x1ba696['unitId']===_0x336546&&_0x1ba696['subUnitId']===_0x4e582f&&_0x1ba696[_0x3052ab(0x2e7)]===_0x35d11f)||this[_0x3052ab(0x353)][_0x3052ab(0x43a)]([{'unitId':_0x336546,'subUnitId':_0x4e582f,'drawingId':_0x35d11f}]);}[_0x54e2e6(0x243)](_0x4d6ab7,_0x2f213a){const _0x379cd2=_0x54e2e6;let {unitId:_0xe218f1,subUnitId:_0x3d0eff,shapeId:_0x4090d3}=_0x4d6ab7,_0x2e4049={'hostType':_0x1f70ef[_0x379cd2(0x283)][_0x379cd2(0x1cc)],'unitId':_0xe218f1,'subUnitId':_0x3d0eff,'shapeId':_0x4090d3};return{'componentKey':_0x1b4f5e,'requiresStableLayout':!0x1,'direction':_0x379cd2(0x220),'offset':[0x0,0x8],'extraProps':{'shapeType':_0x4d6ab7['shapeType'],'onText':()=>{const _0x12050c=_0x379cd2;_0x2f213a(),this['_mobileEditorService'][_0x12050c(0x1b3)](_0x12050c(0x3e5),_0x2e4049);},'onStyle':()=>{const _0x358259=_0x379cd2;_0x2f213a(),this['_mobileEditorService'][_0x358259(0x1b3)](_0x358259(0x265),_0x2e4049);},'onDelete':()=>this[_0x379cd2(0x255)][_0x379cd2(0x407)](_0x535687[_0x379cd2(0x3f0)]['id'],{'unitId':_0xe218f1,'drawings':[{'unitId':_0xe218f1,'subUnitId':_0x3d0eff,'drawingId':_0x4090d3}]})}};}[_0x54e2e6(0x206)](_0x4844e6,_0x1275ad){const _0x332bcf=_0x54e2e6;let _0x1b1d60=this[_0x332bcf(0x394)]['getUnit'](_0x4844e6,_0x1f70ef[_0x332bcf(0x283)]['UNIVER_DOC']);if(!_0x1b1d60)return!0x1;let _0x287e41=(0x0,_0x5f20c1[_0x332bcf(0x347)])(_0x1b1d60,_0x1275ad);return(0x0,_0x5f20c1[_0x332bcf(0x25b)])(this[_0x332bcf(0x459)],_0x4844e6,[...(0x0,_0x5f20c1[_0x332bcf(0x1ac)])(_0x1b1d60,_0x287e41,_0x332bcf(0x1e5),_0x1275ad),(0x0,_0x5f20c1[_0x332bcf(0x1a4)])(_0x287e41,_0x332bcf(0x1e5),_0x1275ad)]);}[_0x54e2e6(0x4ad)](){const _0x317e9c=_0x54e2e6;this[_0x317e9c(0x3b5)](this[_0x317e9c(0x255)]['onCommandExecuted'](_0x3b151d=>{const _0x42fb98=_0x317e9c;if(_0x3b151d['id']===_0xf4b337['id']){let {unitId:_0x45f213,subUnitId:_0x167597,drawingId:_0x30e283}=_0x3b151d[_0x42fb98(0x48b)];this['_shapeEditPanelVersion']+=0x1,this[_0x42fb98(0x268)]=this[_0x42fb98(0x22a)](_0x45f213,_0x167597,_0x30e283),this['_clearPopups'](void 0x0,!0x0),this[_0x42fb98(0x23b)]();}if(_0x3b151d['id']===_0x388435['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0x3b151d['id']===_0x156d72[_0x42fb98(0x4b2)]['id']){var _0x27e8bc;let {unitId:_0x17d220,shapeId:_0x911347}=_0x3b151d[_0x42fb98(0x48b)];if(((_0x27e8bc=this[_0x42fb98(0x268)])==null?void 0x0:_0x27e8bc[_0x42fb98(0x4e2)])===_0x911347){let _0x5e7eb4=this[_0x42fb98(0x22a)](_0x17d220,this[_0x42fb98(0x268)][_0x42fb98(0x2bf)],_0x911347);_0x5e7eb4&&(this[_0x42fb98(0x4a3)]+=0x1,_0x5e7eb4['version']=this[_0x42fb98(0x4a3)],this[_0x42fb98(0x268)]=_0x5e7eb4,this[_0x42fb98(0x2f9)]&&this['_openShapeEditPanel']());}}})),this[_0x317e9c(0x3b5)](this[_0x317e9c(0x353)]['focus$'][_0x317e9c(0x169)](_0x59aba5=>{const _0x252669=_0x317e9c;if(!this[_0x252669(0x2f9)])return;if(_0x59aba5['length']===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x59aba5['length']===0x1&&_0x59aba5[0x0][_0x252669(0x4c9)]===_0x1f70ef['DrawingTypeEnum'][_0x252669(0x40b)]&&(this[_0x252669(0x4a3)]+=0x1,this[_0x252669(0x268)]=this['_getShapeInfo'](_0x59aba5[0x0][_0x252669(0x2a9)],_0x59aba5[0x0]['subUnitId'],_0x59aba5[0x0]['drawingId']),this[_0x252669(0x268)])){this[_0x252669(0x23b)]();return;}let _0x16e30d=_0x59aba5['filter'](_0x3ca897=>_0x3ca897[_0x252669(0x4c9)]===_0x1f70ef[_0x252669(0x470)][_0x252669(0x40b)]);this[_0x252669(0x4a3)]+=0x1,this[_0x252669(0x268)]=this[_0x252669(0x22a)](_0x59aba5[0x0][_0x252669(0x2a9)],_0x59aba5[0x0][_0x252669(0x2bf)],_0x59aba5[0x0][_0x252669(0x2e7)]),this['_activeShapeInfo']&&_0x59aba5[_0x252669(0x44b)]>0x1&&_0x16e30d['length']===_0x59aba5[_0x252669(0x44b)]?this[_0x252669(0x23b)]():this[_0x252669(0x268)]&&_0x16e30d['length']!==_0x59aba5[_0x252669(0x44b)]?(this[_0x252669(0x268)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']()):this[_0x252669(0x163)]();}));}[_0x54e2e6(0x23b)](){const _0x5d1758=_0x54e2e6;this[_0x5d1758(0x268)]&&(this[_0x5d1758(0x183)]=this[_0x5d1758(0x3b1)]['open']({'id':_0x45c66c,'header':{'title':this[_0x5d1758(0x438)]['t'](_0x5d1758(0x419))},'width':0x184,'children':{'label':_0x45c66c,...this[_0x5d1758(0x268)]},'onClose':()=>{const _0x426ce2=_0x5d1758;this[_0x426ce2(0x353)][_0x426ce2(0x43a)](null),this['_contextService'][_0x426ce2(0x15b)](_0x1f70ef['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x426ce2(0x183)]=null;}}),this[_0x5d1758(0x2f9)]=!0x0);}[_0x54e2e6(0x163)](){const _0x4c8489=_0x54e2e6;this['_isOpenedShapeEditPanel']=!0x1,this[_0x4c8489(0x3b1)][_0x4c8489(0x4d5)](_0x45c66c),this[_0x4c8489(0x183)]=null,this[_0x4c8489(0x421)][_0x4c8489(0x15b)](_0x1f70ef[_0x4c8489(0x4df)],!0x1),this[_0x4c8489(0x353)]['focusDrawing'](null);}};_0x5b678e=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x391)])),_0x1af634(0x2,_0x7c4c2f[_0x54e2e6(0x3b3)]),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x15c)])),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x6,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x7,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x8,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x9,_0x1f70ef['IContextService']),_0x1af634(0xa,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0xb,_0x1f70ef[_0x54e2e6(0x405)]),_0x1af634(0xc,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e[_0x54e2e6(0x4ac)]))],_0x5b678e);let _0x4153d9=_0x54e2e6(0x3e7),_0x1d5680=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x451c68,_0x820e60,_0x30d354,_0x4d68d1,_0x5c9310,_0x15031b){const _0x156668=_0x54e2e6;super(),this[_0x156668(0x42f)]=_0x451c68,this[_0x156668(0x193)]=_0x820e60,this['_drawingManagerService']=_0x30d354,this[_0x156668(0x394)]=_0x4d68d1,this[_0x156668(0x4a2)]=_0x5c9310,this['_shapeFloatingToolbarService']=_0x15031b,_0x3d621e(this,_0x156668(0x271),!0x1),this['_menuManagerService'][_0x156668(0x4ca)](_0x17a580),this[_0x156668(0x3b5)]((0x0,_0x1f70ef['toDisposable'])(this[_0x156668(0x353)][_0x156668(0x48f)]['subscribe'](()=>this[_0x156668(0x21e)]()))),this[_0x156668(0x21e)]();}[_0x54e2e6(0x267)](){const _0x4fdc10=_0x54e2e6;this[_0x4fdc10(0x15d)][_0x4fdc10(0x162)](!0x1,_0x4153d9),this[_0x4fdc10(0x246)](),super[_0x4fdc10(0x267)]();}[_0x54e2e6(0x21e)](){const _0x2a22a5=_0x54e2e6;var _0x5d33af;let _0x4bd264=this[_0x2a22a5(0x353)]['getFocusDrawings'](),_0x292c4e=_0x4bd264[_0x2a22a5(0x44b)]===0x1?_0x4bd264[0x0]:void 0x0;if((_0x292c4e==null?void 0x0:_0x292c4e[_0x2a22a5(0x4c9)])!==_0x1f70ef[_0x2a22a5(0x470)][_0x2a22a5(0x40b)]||this['_univerInstanceService'][_0x2a22a5(0x3ce)](_0x292c4e['unitId'])!==_0x1f70ef['UniverInstanceType'][_0x2a22a5(0x1cc)]){this[_0x2a22a5(0x15d)]['setFallbackVisible'](!0x1,_0x4153d9),this[_0x2a22a5(0x246)]();return;}let _0x214171=(_0x5d33af=this['_renderManagerService']['getRenderUnitById'](_0x292c4e[_0x2a22a5(0x2a9)]))==null?void 0x0:_0x5d33af[_0x2a22a5(0x2d9)][_0x2a22a5(0x2fd)](),_0x2a2cf7=(0x0,_0x5ceb8e[_0x2a22a5(0x435)])(_0x214171)===_0x2a22a5(0x2a5);this[_0x2a22a5(0x15d)]['setFallbackVisible'](_0x2a2cf7,_0x4153d9),_0x2a2cf7?this[_0x2a22a5(0x246)]():(this[_0x2a22a5(0x271)]=!0x0,this[_0x2a22a5(0x193)][_0x2a22a5(0x1a0)](_0x150b38,{'activate':!0x0}));}['_hide'](){const _0x303995=_0x54e2e6;this[_0x303995(0x271)]&&(this['_visible']=!0x1,this[_0x303995(0x193)][_0x303995(0x14e)](_0x150b38),this['_ribbonService'][_0x303995(0x3ed)]([]));}};_0x1d5680=_0x105eeb([_0x1af634(0x0,_0x7c4c2f['IMenuManagerService']),_0x1af634(0x1,_0x7c4c2f[_0x54e2e6(0x218)]),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e['ShapeFloatingToolbarService']))],_0x1d5680);let _0x3bd484=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x208f62,_0x3e6d62,_0x4d9e69,_0x141e6e){const _0x59b105=_0x54e2e6;super(),this['_commandService']=_0x208f62,this[_0x59b105(0x4a2)]=_0x3e6d62,this['_drawingManagerService']=_0x4d9e69,this[_0x59b105(0x1da)]=_0x141e6e,this[_0x59b105(0x212)]();}[_0x54e2e6(0x212)](){const _0x45a5bc=_0x54e2e6;this['disposeWithMe'](this['_drawingManagerService']['add$'][_0x45a5bc(0x169)](_0x3e9abe=>this['_insertShapes'](_0x3e9abe))),this[_0x45a5bc(0x3b5)](this['_drawingManagerService'][_0x45a5bc(0x148)][_0x45a5bc(0x169)](_0x345d9f=>{const _0x3337fc=_0x45a5bc;_0x345d9f['forEach'](_0x5c1be5=>this[_0x3337fc(0x20b)](_0x5c1be5));})),this[_0x45a5bc(0x3b5)](this[_0x45a5bc(0x255)][_0x45a5bc(0x326)](_0x5ced4e=>{const _0x399ef2=_0x45a5bc;if(_0x5ced4e['id']!==_0x156d72[_0x399ef2(0x4b2)]['id'])return;let {unitId:_0x7dc215,shapeId:_0x40a722}=_0x5ced4e[_0x399ef2(0x48b)];this['_refreshShapeData']({'unitId':_0x7dc215,'subUnitId':_0x7dc215,'drawingId':_0x40a722});}));}[_0x54e2e6(0x23e)](_0x2dc27a){const _0x409401=_0x54e2e6;_0x2dc27a[_0x409401(0x16e)](_0x381658=>{const _0x217ec7=_0x409401;let _0x106c7c=this[_0x217ec7(0x3d7)](_0x381658['unitId']);if(!_0x106c7c)return;let _0x342a64=this[_0x217ec7(0x353)][_0x217ec7(0x2dd)](_0x381658);(_0x342a64==null?void 0x0:_0x342a64['drawingType'])===_0x1f70ef[_0x217ec7(0x470)][_0x217ec7(0x40b)]&&this['_docDrawingShapeRenderController']['renderDrawingShape'](_0x342a64,_0x106c7c[_0x217ec7(0x2ba)]);});}['_updateShape'](_0x1fe45d){const _0x272a44=_0x54e2e6;let _0x3c1b22=this[_0x272a44(0x353)]['getDrawingByParam'](_0x1fe45d);if((_0x3c1b22==null?void 0x0:_0x3c1b22[_0x272a44(0x4c9)])!==_0x1f70ef[_0x272a44(0x470)]['DRAWING_SHAPE'])return;let _0x472851=this[_0x272a44(0x3d7)](_0x1fe45d[_0x272a44(0x2a9)]);if(!_0x472851||_0x3c1b22['transform']==null)return;let _0x1c5b78=(0x0,_0x509efb[_0x272a44(0x3c2)])(_0x1fe45d),_0x1bcfab=_0x472851['scene'][_0x272a44(0x3b9)](_0x1c5b78);_0x1bcfab&&(_0x1bcfab[_0x272a44(0x150)](_0x3c1b22[_0x272a44(0x464)]),_0x1bcfab[_0x272a44(0x1fb)](_0x3c1b22[_0x272a44(0x1bd)]),_0x1bcfab[_0x272a44(0x1df)](!0x0));}['_refreshShapeData'](_0x47f726){const _0x3e8ce5=_0x54e2e6;let _0x5cca62=this[_0x3e8ce5(0x3d7)](_0x47f726[_0x3e8ce5(0x2a9)]);if(!_0x5cca62)return;let _0x2f0cca=(0x0,_0x509efb['getDrawingShapeKeyByDrawingSearch'])(_0x47f726),_0x38789f=_0x5cca62[_0x3e8ce5(0x2ba)][_0x3e8ce5(0x3b9)](_0x2f0cca);_0x38789f&&(this[_0x3e8ce5(0x1da)]['refreshShapeFillImage'](_0x38789f),this['_docDrawingShapeRenderController'][_0x3e8ce5(0x293)](_0x38789f,{'unitId':_0x47f726[_0x3e8ce5(0x2a9)],'subUnitId':_0x47f726[_0x3e8ce5(0x2bf)],'shapeId':_0x47f726[_0x3e8ce5(0x2e7)]}),_0x38789f[_0x3e8ce5(0x1df)](!0x0));}[_0x54e2e6(0x3d7)](_0x4e5b51){const _0x1a27e5=_0x54e2e6;if(_0x4e5b51==null)return null;let _0x255658=this[_0x1a27e5(0x4a2)][_0x1a27e5(0x2eb)](_0x4e5b51),_0x11fb94=_0x255658==null?void 0x0:_0x255658[_0x1a27e5(0x2ba)];return _0x11fb94==null?null:{'scene':_0x11fb94};}};_0x3bd484=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x1,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x54ec0f))],_0x3bd484);let _0x216984=class extends _0x1f70ef['Plugin']{constructor(_0x5ee20c=_0x5a00d5,_0x4a9d1e,_0xe725c2,_0x4fb7cc,_0x4de471){const _0xb85371=_0x54e2e6;super(),this[_0xb85371(0x44d)]=_0x5ee20c,this[_0xb85371(0x38a)]=_0x4a9d1e,this[_0xb85371(0x255)]=_0xe725c2,this[_0xb85371(0x2c4)]=_0x4fb7cc,this[_0xb85371(0x4a2)]=_0x4de471;let {menu:_0x45ead4,..._0x9f4a1a}=(0x0,_0x1f70ef['merge'])({},_0x5a00d5,this[_0xb85371(0x44d)]);_0x45ead4&&this[_0xb85371(0x2c4)][_0xb85371(0x2d6)](_0xb85371(0x43e),_0x45ead4,{'merge':!0x0}),this[_0xb85371(0x2c4)][_0xb85371(0x2d6)](_0x13b595,_0x9f4a1a),[_0x2567e4,_0x388435,_0xf4b337,_0x27bc22,_0x23b4a0,_0x8614a3][_0xb85371(0x16e)](_0x574839=>this[_0xb85371(0x3b5)](this[_0xb85371(0x255)]['registerCommand'](_0x574839)));}['onStarting'](){const _0x3408c4=_0x54e2e6;let _0x44114c=[[_0x8f323],[_0x5b678e],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0x548036],[_0xb8d91],[_0x1dc3be],[_0x5c66c5],[_0x1d5680]];(0x0,_0x1f70ef[_0x3408c4(0x47a)])(this[_0x3408c4(0x38a)],_0x44114c),this[_0x3408c4(0x38a)]['get'](_0x8f323);}[_0x54e2e6(0x2a7)](){const _0x599a12=_0x54e2e6;this['disposeWithMe'](this['_renderManagerService'][_0x599a12(0x3ae)](_0x1f70ef['UniverInstanceType'][_0x599a12(0x1cc)],[_0x548036])),(0x0,_0x1f70ef[_0x599a12(0x38c)])(this['_injector'],[[_0x5b678e],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0xb8d91],[_0x1dc3be],[_0x5c66c5],[_0x1d5680]]);}};_0x3d621e(_0x216984,'type',_0x1f70ef[_0x54e2e6(0x283)][_0x54e2e6(0x1cc)]),_0x3d621e(_0x216984,_0x54e2e6(0x2da),'DOCS_SHAPE_UI_PLUGIN'),_0x3d621e(_0x216984,_0x54e2e6(0x479),_0x48c514),_0x3d621e(_0x216984,_0x54e2e6(0x478),_0x52174e),_0x216984=_0x105eeb([(0x0,_0x1f70ef['DependentOn'])(_0xab2065[_0x54e2e6(0x49b)],_0x5f20c1['UniverDocsPlugin'],_0x509efb[_0x54e2e6(0x261)],_0x57c854[_0x54e2e6(0x39d)],_0x35408c[_0x54e2e6(0x1c7)],_0x5bdd19[_0x54e2e6(0x278)],_0x339478[_0x54e2e6(0x4a0)],_0x23d22e['UniverDocsDrawingMobileUIPlugin'],_0x156d72['UniverDocsShapePlugin'],_0x5ceb8e[_0x54e2e6(0x42b)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x1ef)])),_0x1af634(0x2,_0x1f70ef['ICommandService']),_0x1af634(0x3,_0x1f70ef['IConfigService']),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)])],_0x216984);let _0x16254b=class extends _0x1f70ef['Disposable']{constructor(_0x155c63,_0x2fbbab){const _0xb47ab6=_0x54e2e6;super(),this[_0xb47ab6(0x468)]=_0x155c63,this[_0xb47ab6(0x336)]=_0x2fbbab,this[_0xb47ab6(0x191)](),this[_0xb47ab6(0x2ff)]();}[_0x54e2e6(0x191)](){const _0x1055d4=_0x54e2e6;this[_0x1055d4(0x336)][_0x1055d4(0x15f)](_0x1055d4(0x4a1))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'ObjectLayersIcon':_0x2d581e})),this['_iconManager'][_0x1055d4(0x15f)](_0x1055d4(0x2bb))||this[_0x1055d4(0x3b5)](this['_iconManager']['register']({'BottomIcon':_0x27ad3d})),this['_iconManager']['has']('MoveDownIcon')||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'MoveDownIcon':_0x1270de})),this[_0x1055d4(0x336)]['has'](_0x1055d4(0x159))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'MoveUpIcon':_0x56d01d})),this[_0x1055d4(0x336)][_0x1055d4(0x15f)]('ShapeFormatSettingIcon')||this[_0x1055d4(0x3b5)](this['_iconManager'][_0x1055d4(0x345)]({'ShapeFormatSettingIcon':_0x57d64a})),this[_0x1055d4(0x336)][_0x1055d4(0x15f)](_0x1055d4(0x3d4))||this[_0x1055d4(0x3b5)](this[_0x1055d4(0x336)][_0x1055d4(0x345)]({'TopmostIcon':_0x304c7a})),this['disposeWithMe'](this[_0x1055d4(0x336)][_0x1055d4(0x345)](_0x1adc8c));}[_0x54e2e6(0x2ff)](){const _0x1194a5=_0x54e2e6;this['disposeWithMe'](this['_componentManager'][_0x1194a5(0x345)](_0x45c66c,_0x2ad012)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x3e20a4,_0x6a8656)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x1b4f5e,_0x33a116)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x11a36f,_0xbdc066)),this[_0x1194a5(0x3b5)](this['_componentManager']['register'](_0x38ab15,_0x5a86e2)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x4327b8,_0x58fb9b)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x191cb1,_0x464b9a)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x2515e8,_0x5a5a75)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x148b7f,_0x5ceb8e[_0x1194a5(0x1cf)])),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x3234d1,_0x13878f)),this['disposeWithMe'](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x42bec7,_0x13d12e)),this[_0x1194a5(0x468)][_0x1194a5(0x49a)](_0x57c854[_0x1194a5(0x231)])||this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x57c854[_0x1194a5(0x231)],_0x280758)),this[_0x1194a5(0x3b5)](this[_0x1194a5(0x468)][_0x1194a5(0x345)](_0x40116f,_0x5f1b69));}};_0x16254b=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x7c4c2f[_0x54e2e6(0x1be)])),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f[_0x54e2e6(0x4d9)]))],_0x16254b);let _0xba4cff=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x199ca4,_0x5db000,_0x122d4e,_0x5ec4c7,_0x7e8595,_0x393ba6,_0x32787c,_0x8fa86a,_0xa0dd5d){const _0xc6bb96=_0x54e2e6;super();let _0x53cea6=_0x43da01=>{const _0x19aff5=_0x1cb9;let _0x26f11b=_0x393ba6[_0x19aff5(0x46f)](_0x43da01['unitId'],_0x1f70ef[_0x19aff5(0x283)][_0x19aff5(0x1cc)]),_0x3b742c=_0x26f11b?(0x0,_0x5f20c1[_0x19aff5(0x347)])(_0x26f11b,_0x43da01[_0x19aff5(0x4e2)]):'';return!!_0x26f11b&&(0x0,_0x5f20c1[_0x19aff5(0x25b)])(_0x8fa86a,_0x43da01[_0x19aff5(0x2a9)],[(0x0,_0x5f20c1[_0x19aff5(0x1a4)])(_0x3b742c,_0x19aff5(0x1e5),_0x43da01[_0x19aff5(0x4e2)]),...(0x0,_0x5f20c1['getDocumentEntityParentPermissionObjectIds'])(_0x26f11b,_0x3b742c,_0x19aff5(0x1e5),_0x43da01[_0x19aff5(0x4e2)])]);},_0x6d3ff5=_0x2c8688=>_0x2c8688[_0xc6bb96(0x4e2)]&&_0x53cea6(_0x2c8688)?_0x122d4e[_0xc6bb96(0x17a)](_0x2c8688[_0xc6bb96(0x2a9)],_0x2c8688['shapeId'])??null:null,_0x2bec6a=()=>{const _0x9e19b1=_0xc6bb96;let _0x55f60c=_0x7e8595[_0x9e19b1(0x34f)](),_0xbd672b=_0x55f60c[_0x9e19b1(0x44b)]===0x1?_0x55f60c[0x0]:null;return(_0xbd672b==null?void 0x0:_0xbd672b[_0x9e19b1(0x4c9)])===_0x1f70ef[_0x9e19b1(0x470)][_0x9e19b1(0x40b)]&&_0xbd672b[_0x9e19b1(0x2a9)]===_0x199ca4[_0x9e19b1(0x2a9)]?{'unitId':_0xbd672b[_0x9e19b1(0x2a9)],'subUnitId':_0xbd672b[_0x9e19b1(0x2bf)],'shapeId':_0xbd672b[_0x9e19b1(0x2e7)]}:null;};this[_0xc6bb96(0x3b5)]((0x0,_0x5ceb8e[_0xc6bb96(0x308)])(_0x199ca4,_0x5db000,{'changes$':(0x0,_0x3781f8[_0xc6bb96(0x315)])(_0x7e8595[_0xc6bb96(0x48f)],_0x5ec4c7[_0xc6bb96(0x3bc)],_0x8fa86a[_0xc6bb96(0x4bc)]),'isActive':()=>{const _0x5f1b59=_0xc6bb96;var _0x42ea8f;return((_0x42ea8f=_0x393ba6['getFocusedUnit']())==null?void 0x0:_0x42ea8f[_0x5f1b59(0x454)]())===_0x199ca4[_0x5f1b59(0x2a9)]&&!_0x32787c[_0x5f1b59(0x1d1)](_0x1f70ef['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x7e8595[_0x5f1b59(0x34f)]()['some'](_0x47d81a=>_0x47d81a[_0x5f1b59(0x2a9)]===_0x199ca4[_0x5f1b59(0x2a9)]);},'getSelectedTarget':_0x2bec6a,'getSource':()=>{let _0x8def35=_0x2bec6a();return _0x8def35?_0x6d3ff5(_0x8def35):null;},'getTarget':_0x2867c0=>{const _0x538af9=_0xc6bb96;let _0x3dd3e1=_0x199ca4[_0x538af9(0x2ba)][_0x538af9(0x4db)](new _0x35408c['Vector2'](_0x2867c0[_0x538af9(0x1d5)],_0x2867c0[_0x538af9(0x24c)]));if(!(_0x3dd3e1 instanceof _0x418197))return null;let _0xe18795={'unitId':_0x199ca4['unitId'],'subUnitId':_0x199ca4[_0x538af9(0x2a9)],'shapeId':_0x3dd3e1[_0x538af9(0x4e2)]};return _0x53cea6(_0xe18795)?_0xe18795:null;},'getShape':_0x6d3ff5,'update':(_0x277620,_0x189470,_0x2f82f4)=>_0xa0dd5d[_0xc6bb96(0x407)](_0x156d72[_0xc6bb96(0x3a1)]['id'],{..._0x277620,'shapeData':_0x2f82f4,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x189470}})}));}};_0xba4cff=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f[_0x54e2e6(0x4d6)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72['DocsShapeService'])),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x5c66c5)),_0x1af634(0x4,_0x509efb['IDrawingManagerService']),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x6,_0x1f70ef[_0x54e2e6(0x367)]),_0x1af634(0x7,_0x1f70ef['IPermissionService']),_0x1af634(0x8,_0x1f70ef[_0x54e2e6(0x3ab)])],_0xba4cff);function _0x267f02(_0xdf7f01,_0x4bdc30){const _0x15d583=_0x54e2e6;let _0x4d560d=_0xdf7f01;for(;_0x4d560d;){if(_0x4bdc30(_0x4d560d))return _0x4d560d;_0x4d560d=typeof _0x4d560d['getParent']==_0x15d583(0x469)?_0x4d560d[_0x15d583(0x1d4)]():null;}return null;}function _0x198df4(_0x5cced0){return _0x267f02(_0x5cced0,_0x24fc5b=>_0x24fc5b instanceof _0x418197);}function _0x12b4d7(_0x4ce7da){return(_0x4ce7da==null?void 0x0:_0x4ce7da['formulaBinding'])==null;}let _0x242997=class extends _0x1f70ef[_0x54e2e6(0x20a)]{constructor(_0x5d76ce,_0x3153a6,_0x54043b,_0x2752fc,_0x345e88){const _0x398286=_0x54e2e6;super(),this['_context']=_0x5d76ce,this[_0x398286(0x495)]=_0x3153a6,this['_drawingManagerService']=_0x54043b,this[_0x398286(0x31d)]=_0x2752fc,this['_docsShapeService']=_0x345e88,_0x3d621e(this,_0x398286(0x340),null),_0x3d621e(this,'_layoutInteraction',null),this[_0x398286(0x371)](),this[_0x398286(0x20c)](),this[_0x398286(0x4bf)]();}[_0x54e2e6(0x267)](){this['_endLayoutInteraction'](),super['dispose']();}['_initEvents'](){const _0x1b0ee6=_0x54e2e6;let {scene:_0x33a3f0}=this[_0x1b0ee6(0x4c2)];this[_0x1b0ee6(0x3b5)](_0x33a3f0[_0x1b0ee6(0x21c)]['subscribeEvent']((_0x21f2e9,_0x585da5)=>{const _0x43e873=_0x1b0ee6;let {offsetX:_0x2b8e9,offsetY:_0x888889}=_0x21f2e9,_0x1f3997=_0x35408c['Vector2'][_0x43e873(0x306)]([_0x2b8e9,_0x888889]),_0x28ad4a=_0x198df4(_0x33a3f0[_0x43e873(0x4db)](_0x1f3997))??this[_0x43e873(0x2e9)](_0x1f3997);if(_0x28ad4a){_0x585da5[_0x43e873(0x33e)]();let _0x20f13b=this[_0x43e873(0x1b8)][_0x43e873(0x2b8)](_0x28ad4a[_0x43e873(0x2a9)],_0x28ad4a[_0x43e873(0x2bf)],_0x28ad4a[_0x43e873(0x4e2)]);if(!_0x20f13b||(0x0,_0x11cfc4[_0x43e873(0x286)])(_0x20f13b[_0x43e873(0x46b)]())||!_0x12b4d7(_0x20f13b[_0x43e873(0x4d2)]()))return;this[_0x43e873(0x495)]['setEditing']({'visible':!0x0,'unitId':_0x28ad4a[_0x43e873(0x2a9)],'subUnitId':_0x28ad4a['subUnitId'],'shapeId':_0x28ad4a['shapeId'],'shapeKey':_0x28ad4a[_0x43e873(0x47c)]});}}));}[_0x54e2e6(0x2e9)](_0x5462c5){const _0x3bccfd=_0x54e2e6;let {scene:_0x36e764}=this[_0x3bccfd(0x4c2)];return this['_drawingManagerService'][_0x3bccfd(0x34f)]()[_0x3bccfd(0x4ba)](_0x1eeb41=>_0x36e764['getObjectIncludeInGroup']((0x0,_0x509efb[_0x3bccfd(0x3c2)])(_0x1eeb41)))['find'](_0x53ec9a=>_0x53ec9a instanceof _0x418197&&_0x53ec9a[_0x3bccfd(0x3bd)](_0x5462c5))??null;}[_0x54e2e6(0x20c)](){const _0x1e4c83=_0x54e2e6;this[_0x1e4c83(0x3b5)](this[_0x1e4c83(0x353)][_0x1e4c83(0x48f)][_0x1e4c83(0x169)](_0x37f5dd=>{const _0x29d95a=_0x1e4c83;if(_0x37f5dd[_0x29d95a(0x44b)]===0x1){let _0x51e38c=_0x37f5dd[0x0],_0x441aad=this[_0x29d95a(0x353)][_0x29d95a(0x2dd)](_0x51e38c);if((_0x441aad==null?void 0x0:_0x441aad[_0x29d95a(0x4c9)])===_0x1f70ef['DrawingTypeEnum'][_0x29d95a(0x40b)]){let _0x65def6=this['_shapeTextEditingService'][_0x29d95a(0x203)]();if((_0x65def6==null?void 0x0:_0x65def6[_0x29d95a(0x4e2)])===_0x51e38c[_0x29d95a(0x2e7)]&&_0x65def6[_0x29d95a(0x3c8)])return;(0x0,_0x11cfc4['isConnectorShape'])(this[_0x29d95a(0x1b8)][_0x29d95a(0x46b)](_0x51e38c['unitId'],_0x51e38c[_0x29d95a(0x2bf)],_0x51e38c[_0x29d95a(0x2e7)]))&&this[_0x29d95a(0x495)][_0x29d95a(0x174)](null);}else this[_0x29d95a(0x495)]['completeEditing']();}else this[_0x29d95a(0x495)][_0x29d95a(0x30a)]();})),this[_0x1e4c83(0x3b5)](this[_0x1e4c83(0x353)][_0x1e4c83(0x152)]['subscribe'](_0x42cb82=>{const _0x3c8261=_0x1e4c83;let _0x32a456=this[_0x3c8261(0x495)]['getEditing']();_0x32a456&&_0x42cb82[_0x3c8261(0x305)](_0x50be68=>_0x50be68[_0x3c8261(0x2e7)]===_0x32a456['shapeId'])&&this[_0x3c8261(0x495)]['setEditing'](null);}));}[_0x54e2e6(0x4bf)](){const _0x1a7f58=_0x54e2e6;this[_0x1a7f58(0x3b5)](this['_shapeTextEditingService'][_0x1a7f58(0x3bc)][_0x1a7f58(0x169)](_0x12e318=>{const _0x1e90df=_0x1a7f58;(_0x12e318==null?void 0x0:_0x12e318['visible'])===!0x0&&_0x12e318[_0x1e90df(0x2a9)]===this[_0x1e90df(0x4c2)][_0x1e90df(0x2a9)]?this[_0x1e90df(0x458)]??=this[_0x1e90df(0x31d)][_0x1e90df(0x18f)]():this[_0x1e90df(0x45d)]();let {scene:_0x249768}=this['_context'];if(this['_lastEditingShapeKey']){let _0x3ddf8a=_0x249768[_0x1e90df(0x3b9)](this[_0x1e90df(0x340)]);_0x3ddf8a&&_0x3ddf8a[_0x1e90df(0x174)](!0x1);}if(_0x12e318){let _0x4e74de=!!_0x12e318['visible'],_0x557421=_0x249768[_0x1e90df(0x3b9)](_0x12e318[_0x1e90df(0x4af)]);_0x557421&&(_0x557421['setEditing'](_0x4e74de),this[_0x1e90df(0x340)]=_0x12e318[_0x1e90df(0x4af)]);}else this[_0x1e90df(0x340)]=null;}));}[_0x54e2e6(0x45d)](){const _0x1b19fb=_0x54e2e6;var _0x11a6e5;(_0x11a6e5=this[_0x1b19fb(0x458)])==null||_0x11a6e5[_0x1b19fb(0x267)](),this[_0x1b19fb(0x458)]=null;}};_0x242997=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x2,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19[_0x54e2e6(0x4ce)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)]))],_0x242997);let _0x4a71ef=class extends _0x5ceb8e[_0x54e2e6(0x45a)]{constructor(_0x2551fc,_0x54d6d5,_0x5cc4c0,_0x1541f8,_0x5ef7a8,_0x4bc4dc,_0x49b061,_0x58f580,_0x83443c,_0x1ff138){super(_0x2551fc,_0x54d6d5,_0x5cc4c0,_0x1541f8,_0x5ef7a8,_0x4bc4dc,_0x49b061,_0x58f580,_0x83443c,_0x1ff138,{'componentKey':_0x148b7f,'editorUnitId':_0x5247b4});}};_0x4a71ef=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5f20c1['DocSelectionManagerService'])),_0x1af634(0x2,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x483)])),_0x1af634(0x4,_0x1f70ef['ICommandService']),_0x1af634(0x5,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19['DocEventManagerService'])),_0x1af634(0x6,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e['ShapeTextHyperLinkPopupService'])),_0x1af634(0x7,(0x0,_0x1f70ef['Inject'])(_0x5f20c1[_0x54e2e6(0x362)])),_0x1af634(0x8,(0x0,_0x1f70ef['Inject'])(_0x5bdd19['DocRenderController'])),_0x1af634(0x9,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5))],_0x4a71ef);let _0x4f5bb6=class extends _0x5ceb8e[_0x54e2e6(0x16a)]{constructor(_0xd3e82,_0x32edc6,_0x2c7ccd,_0x543901,_0x58709e){super(_0xd3e82,_0x32edc6,{'editing$':_0x2c7ccd['editingParams$'],'resolve':_0x130423=>{const _0x107f3d=_0x1cb9;var _0x27a67a;let _0xbcb6df=new _0x35408c[(_0x107f3d(0x45f))](_0x130423['offsetX'],_0x130423[_0x107f3d(0x24c)]),_0x1a55d6=((_0x27a67a=_0xd3e82[_0x107f3d(0x2ba)]['getActiveViewportByCoord'](_0xbcb6df))==null?void 0x0:_0x27a67a[_0x107f3d(0x38f)](_0xbcb6df))??_0xbcb6df,_0x347ce5=(0x0,_0x5ceb8e['resolveShapeTextHyperLinkObject'])(_0xd3e82['scene'][_0x107f3d(0x4db)](_0xbcb6df)??null,_0x1a55d6);if(!(_0x347ce5 instanceof _0x418197))return null;let _0x3a5ed7=_0x347ce5[_0x107f3d(0x2ce)](_0x1a55d6);if(!_0x3a5ed7)return null;let _0x378ab6=_0x347ce5,_0x32b852={'componentKey':_0x5ceb8e['ShapeTextHyperLinkInfo'][_0x107f3d(0x295)],'direction':'top-center','offset':[0x0,0xa],'onClickOutside':()=>_0x32edc6['hideInfoPopup']()};return{'object':_0x347ce5,'info':{..._0x3a5ed7,'unitId':_0x347ce5[_0x107f3d(0x2a9)],'subUnitId':_0x347ce5[_0x107f3d(0x2bf)],'shapeKey':_0x347ce5['oKey'],'readonly':!0x0,'copyable':(0x0,_0x5f20c1['getDocumentPermissionValue'])(_0x58709e,_0x347ce5[_0x107f3d(0x2a9)],_0x347ce5[_0x107f3d(0x2a9)],_0xe6e2b9[_0x107f3d(0x320)]['Copy'])},'attachPopup':()=>_0x543901[_0x107f3d(0x1e4)](_0x378ab6,_0x32b852,_0x378ab6[_0x107f3d(0x2a9)])};}});}};_0x4f5bb6=_0x105eeb([_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5ceb8e[_0x54e2e6(0x4c6)])),_0x1af634(0x2,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0x3,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5bdd19['DocCanvasPopManagerService'])),_0x1af634(0x4,_0x1f70ef[_0x54e2e6(0x405)])],_0x4f5bb6);let _0x37ec55=class extends _0x1f70ef['Disposable']{constructor(_0x14c8fc,_0x43b38a,_0x3836c2,_0x3c6830,_0x3c0158,_0x449566,_0x17b990,_0x57c005,_0x5cebe6,_0x491429,_0x29e907,_0x2de80c){const _0x58a2c9=_0x54e2e6;super(),this[_0x58a2c9(0x394)]=_0x14c8fc,this[_0x58a2c9(0x3b1)]=_0x43b38a,this['_menuManagerService']=_0x3836c2,this[_0x58a2c9(0x1b8)]=_0x3c6830,this[_0x58a2c9(0x438)]=_0x3c0158,this[_0x58a2c9(0x255)]=_0x449566,this[_0x58a2c9(0x353)]=_0x17b990,this[_0x58a2c9(0x226)]=_0x57c005,this[_0x58a2c9(0x4a2)]=_0x5cebe6,this[_0x58a2c9(0x421)]=_0x491429,this[_0x58a2c9(0x495)]=_0x29e907,this[_0x58a2c9(0x459)]=_0x2de80c,_0x3d621e(this,_0x58a2c9(0x183),null),_0x3d621e(this,_0x58a2c9(0x268),null),_0x3d621e(this,_0x58a2c9(0x2f9),!0x1),_0x3d621e(this,'_shapeEditPanelVersion',0x0),_0x3d621e(this,_0x58a2c9(0x4a5),new Map()),_0x3d621e(this,'_popupTargetKeys',new Map()),this[_0x58a2c9(0x1c4)](),this['disposeWithMe'](this[_0x58a2c9(0x394)]['getCurrentTypeOfUnit$'](_0x1f70ef[_0x58a2c9(0x283)][_0x58a2c9(0x1cc)])[_0x58a2c9(0x169)](_0x3dbd6f=>{const _0x3799d8=_0x58a2c9;if(!_0x3dbd6f){var _0x3d8109;(_0x3d8109=this[_0x3799d8(0x183)])==null||_0x3d8109['dispose']();}})),this[_0x58a2c9(0x4ad)](),this[_0x58a2c9(0x3b5)](this[_0x58a2c9(0x353)][_0x58a2c9(0x152)][_0x58a2c9(0x169)](_0x2b1cf0=>{const _0x5dfed0=_0x58a2c9;for(let _0x5273b7 of _0x2b1cf0){let _0x2546c8=_0x5273b7[_0x5dfed0(0x2a9)]+':'+_0x5273b7[_0x5dfed0(0x2bf)]+':'+_0x5273b7['drawingId'];for(let [_0x23e5a7,_0x2a42af]of this[_0x5dfed0(0x3e1)])_0x2a42af===_0x2546c8&&this[_0x5dfed0(0x3f3)](_0x23e5a7,!0x0);}})),this['disposeWithMe']((0x0,_0x5ceb8e[_0x58a2c9(0x16d)])(this[_0x58a2c9(0x4a2)],_0x1f70ef[_0x58a2c9(0x283)][_0x58a2c9(0x1cc)],_0x29ed2f=>this['_popupMenuListener'](_0x29ed2f))),this[_0x58a2c9(0x3b5)](this[_0x58a2c9(0x495)][_0x58a2c9(0x3bc)][_0x58a2c9(0x169)](_0x192685=>{const _0x4adb05=_0x58a2c9;_0x192685&&this[_0x4adb05(0x3f3)](void 0x0,!0x0);})),this['disposeWithMe'](this[_0x58a2c9(0x459)][_0x58a2c9(0x4bc)][_0x58a2c9(0x169)](()=>{const _0x517d95=_0x58a2c9;this[_0x517d95(0x353)][_0x517d95(0x34f)]()[_0x517d95(0x305)](_0x9f671a=>_0x9f671a[_0x517d95(0x4c9)]===_0x1f70ef[_0x517d95(0x470)][_0x517d95(0x40b)]&&this['_univerInstanceService']['getUnitType'](_0x9f671a['unitId'])===_0x1f70ef[_0x517d95(0x283)][_0x517d95(0x1cc)]&&!this['_canEditShape'](_0x9f671a[_0x517d95(0x2a9)],_0x9f671a[_0x517d95(0x2e7)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x517d95(0x163)]());}));}[_0x54e2e6(0x1c4)](){const _0x3924b2=_0x54e2e6;this['_menuManagerService'][_0x3924b2(0x4ca)](_0x31ed66);}[_0x54e2e6(0x47d)](_0x2dfa16,_0x1c7252,_0x5ab02d,_0x8a4ba4){const _0x588a40=_0x54e2e6;return[{'label':_0x588a40(0x1fd),'index':0x0,'commandId':_0xf4b337['id'],'commandParams':{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d},'disable':_0x8a4ba4===_0x1f70ef[_0x588a40(0x470)][_0x588a40(0x3e3)]},{'label':_0x588a40(0x2c6),'index':0x1,'commandId':_0x535687[_0x588a40(0x3f0)]['id'],'commandParams':{'unitId':_0x2dfa16,'drawings':[{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':_0x388435['id'],'commandParams':{'unitId':_0x2dfa16,'subUnitId':_0x1c7252,'drawingId':_0x5ab02d},'disable':!0x1}];}['_getShapeInfo'](_0x11324e,_0x4db7e5,_0x235777){const _0x5a2bdb=_0x54e2e6;let _0x30a2db=this[_0x5a2bdb(0x1b8)]['getShapeTypeById'](_0x11324e,_0x4db7e5,_0x235777),_0x2cc6b0=this[_0x5a2bdb(0x1b8)][_0x5a2bdb(0x17a)](_0x11324e,_0x4db7e5,_0x235777);return _0x30a2db!==void 0x0&&_0x2cc6b0!==void 0x0?{'shapeData':_0x2cc6b0,'shapeId':_0x235777,'shapeType':_0x30a2db,'unitId':_0x11324e,'subUnitId':_0x4db7e5,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}['_clearPopups'](_0x10185f,_0x500ea0=!0x1){const _0x495805=_0x54e2e6;if(_0x10185f==null){[...this[_0x495805(0x4a5)][_0x495805(0x1e9)]()][_0x495805(0x16e)](_0x8d0673=>this[_0x495805(0x3f3)](_0x8d0673,_0x500ea0));return;}let _0x5103d8=this['_disposePopupsByUnit'][_0x495805(0x429)](_0x10185f);if(_0x5103d8){for(let _0x2120c8=_0x5103d8[_0x495805(0x44b)]-0x1;_0x2120c8>=0x0;--_0x2120c8){let _0x586382=_0x5103d8[_0x2120c8];(_0x500ea0||_0x586382[_0x495805(0x3bf)]())&&(_0x586382[_0x495805(0x267)](),_0x5103d8[_0x495805(0x201)](_0x2120c8,0x1));}_0x5103d8[_0x495805(0x44b)]===0x0&&(this[_0x495805(0x4a5)][_0x495805(0x493)](_0x10185f),this[_0x495805(0x3e1)][_0x495805(0x493)](_0x10185f));}}[_0x54e2e6(0x2b9)](_0x3895cd){const _0x51a6f7=_0x54e2e6;let _0x25e3c5=this[_0x51a6f7(0x4a5)]['get'](_0x3895cd);if(_0x25e3c5)return _0x25e3c5;let _0x35928=[];return this[_0x51a6f7(0x4a5)][_0x51a6f7(0x21a)](_0x3895cd,_0x35928),_0x35928;}[_0x54e2e6(0x40c)](_0x40b692){const _0x48c7d4=_0x54e2e6;var _0x1383ad;let _0x24ce64=new _0x1f70ef[(_0x48c7d4(0x1f8))](),_0x10a0ee=(_0x1383ad=this['_renderManagerService']['getAllRenderersOfType'](_0x1f70ef[_0x48c7d4(0x283)][_0x48c7d4(0x1cc)])[_0x48c7d4(0x42c)](_0x48f4b8=>_0x48f4b8[_0x48c7d4(0x2ba)][_0x48c7d4(0x3a9)]()===_0x40b692))==null?void 0x0:_0x1383ad[_0x48c7d4(0x2a9)];return _0x10a0ee&&(_0x24ce64[_0x48c7d4(0x3a6)](_0x40b692[_0x48c7d4(0x3db)][_0x48c7d4(0x169)](()=>this[_0x48c7d4(0x266)](_0x40b692,_0x10a0ee))),_0x24ce64['add'](_0x40b692[_0x48c7d4(0x323)][_0x48c7d4(0x169)](()=>{const _0x92d6d5=_0x48c7d4;this[_0x92d6d5(0x3f3)](_0x10a0ee),queueMicrotask(()=>{const _0x45e7b6=_0x92d6d5;_0x40b692[_0x45e7b6(0x452)]()['size']>0x0||!this['_drawingManagerService'][_0x45e7b6(0x34f)]()[_0x45e7b6(0x305)](_0x313456=>_0x313456[_0x45e7b6(0x2a9)]===_0x10a0ee)||(this[_0x45e7b6(0x421)][_0x45e7b6(0x15b)](_0x1f70ef[_0x45e7b6(0x4df)],!0x1),this[_0x45e7b6(0x353)][_0x45e7b6(0x43a)](null));});})),_0x24ce64['add'](_0x40b692[_0x48c7d4(0x4bd)][_0x48c7d4(0x169)](()=>{const _0x474e83=_0x48c7d4;this[_0x474e83(0x3f3)](_0x10a0ee,!0x0);}))),_0x24ce64;}['_handleCreateControl'](_0x2ed8a5,_0x4fd9d2){const _0xc3b0d7=_0x54e2e6;let _0x57ec18=_0x2ed8a5[_0xc3b0d7(0x452)]();if(this[_0xc3b0d7(0x2f9)]){this[_0xc3b0d7(0x3f3)](_0x4fd9d2,!0x0);return;}if(_0x57ec18['size']>0x1){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let _0x433b92=_0x57ec18[_0xc3b0d7(0x370)]()[_0xc3b0d7(0x18e)]()[_0xc3b0d7(0x424)];if(!_0x433b92){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let _0x146b2c=this[_0xc3b0d7(0x353)][_0xc3b0d7(0x393)](_0x433b92[_0xc3b0d7(0x47c)]);if(!_0x146b2c||_0x146b2c[_0xc3b0d7(0x4c9)]!==_0x1f70ef[_0xc3b0d7(0x470)][_0xc3b0d7(0x40b)]){this[_0xc3b0d7(0x3f3)](_0x4fd9d2);return;}let {unitId:_0x56f16c,subUnitId:_0x2a9f8f,drawingId:_0x135369,drawingType:_0x2c6d5e}=_0x146b2c;if(!this[_0xc3b0d7(0x206)](_0x56f16c,_0x135369)){this[_0xc3b0d7(0x3f3)](_0x4fd9d2,!0x0);return;}let _0x3a426c=this[_0xc3b0d7(0x22a)](_0x56f16c,_0x2a9f8f,_0x135369);if(!_0x3a426c){this['_clearPopups'](_0x4fd9d2);return;}let _0x24a809=this[_0xc3b0d7(0x4a5)][_0xc3b0d7(0x429)](_0x4fd9d2),_0x34665f=_0x56f16c+':'+_0x2a9f8f+':'+_0x135369;if(this[_0xc3b0d7(0x3e1)][_0xc3b0d7(0x429)](_0x4fd9d2)===_0x34665f&&_0x24a809&&_0x24a809[_0xc3b0d7(0x44b)]>0x0)return;this['_clearPopups'](_0x4fd9d2);let _0x34580d=this[_0xc3b0d7(0x4a2)]['getRenderUnitById'](_0x56f16c),_0x54e900=((_0x34580d==null?void 0x0:_0x34580d[_0xc3b0d7(0x1fe)])===!0x1?_0x34580d['with'](_0x5bdd19[_0xc3b0d7(0x30d)]):this[_0xc3b0d7(0x226)])[_0xc3b0d7(0x1e4)](_0x433b92,this[_0xc3b0d7(0x243)](_0x3a426c,_0x2c6d5e),_0x56f16c);this[_0xc3b0d7(0x3b5)](_0x54e900),this[_0xc3b0d7(0x2b9)](_0x4fd9d2)[_0xc3b0d7(0x1d8)](_0x54e900),this[_0xc3b0d7(0x3e1)]['set'](_0x4fd9d2,_0x34665f),this['_drawingManagerService'][_0xc3b0d7(0x34f)]()[_0xc3b0d7(0x305)](_0x1195e=>_0x1195e[_0xc3b0d7(0x2a9)]===_0x56f16c&&_0x1195e[_0xc3b0d7(0x2bf)]===_0x2a9f8f&&_0x1195e['drawingId']===_0x135369)||this[_0xc3b0d7(0x353)][_0xc3b0d7(0x43a)]([{'unitId':_0x56f16c,'subUnitId':_0x2a9f8f,'drawingId':_0x135369}]);}[_0x54e2e6(0x243)](_0x33f471,_0x465e33){const _0x4b3394=_0x54e2e6;return{'componentKey':_0x1b4f5e,'requiresStableLayout':!0x1,'direction':_0x4b3394(0x413),'offset':[0x0,_0x5ceb8e['SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET']],'extraProps':{'unitId':_0x33f471[_0x4b3394(0x2a9)],'subUnitId':_0x33f471[_0x4b3394(0x2bf)],'drawingId':_0x33f471[_0x4b3394(0x4e2)],'drawingType':_0x465e33,'shapeType':_0x33f471[_0x4b3394(0x348)],'shapeData':_0x33f471[_0x4b3394(0x2fc)]}};}[_0x54e2e6(0x206)](_0x2f1a10,_0x6e2c0a){const _0x3e4d9b=_0x54e2e6;let _0x436b77=this['_univerInstanceService']['getUnit'](_0x2f1a10,_0x1f70ef['UniverInstanceType'][_0x3e4d9b(0x1cc)]);if(!_0x436b77)return!0x1;let _0x42c387=(0x0,_0x5f20c1[_0x3e4d9b(0x347)])(_0x436b77,_0x6e2c0a);return(0x0,_0x5f20c1[_0x3e4d9b(0x25b)])(this[_0x3e4d9b(0x459)],_0x2f1a10,[...(0x0,_0x5f20c1[_0x3e4d9b(0x1ac)])(_0x436b77,_0x42c387,'drawing',_0x6e2c0a),(0x0,_0x5f20c1[_0x3e4d9b(0x1a4)])(_0x42c387,_0x3e4d9b(0x1e5),_0x6e2c0a)]);}[_0x54e2e6(0x4ad)](){const _0x236d76=_0x54e2e6;this[_0x236d76(0x3b5)](this[_0x236d76(0x255)][_0x236d76(0x326)](_0x2a55ba=>{const _0x1781a1=_0x236d76;if(_0x2a55ba['id']===_0xf4b337['id']){let {unitId:_0x1ceeb1,subUnitId:_0x4fc358,drawingId:_0x52eeab}=_0x2a55ba[_0x1781a1(0x48b)];this['_shapeEditPanelVersion']+=0x1,this[_0x1781a1(0x268)]=this[_0x1781a1(0x22a)](_0x1ceeb1,_0x4fc358,_0x52eeab),this[_0x1781a1(0x3f3)](void 0x0,!0x0),this[_0x1781a1(0x23b)]();}if(_0x2a55ba['id']===_0x388435['id']&&(this[_0x1781a1(0x268)]=null,this[_0x1781a1(0x163)]()),_0x2a55ba['id']===_0x156d72[_0x1781a1(0x4b2)]['id']){let {unitId:_0x2b1f41,shapeId:_0x145b69}=_0x2a55ba[_0x1781a1(0x48b)];if(this['_activeShapeInfo']&&this[_0x1781a1(0x268)]['shapeId']===_0x145b69){let _0xfa8ae5=this['_getShapeInfo'](_0x2b1f41,this[_0x1781a1(0x268)][_0x1781a1(0x2bf)],_0x145b69);_0xfa8ae5&&(this[_0x1781a1(0x4a3)]+=0x1,_0xfa8ae5[_0x1781a1(0x478)]=this[_0x1781a1(0x4a3)],this[_0x1781a1(0x268)]=_0xfa8ae5,this[_0x1781a1(0x2f9)]&&this[_0x1781a1(0x23b)]());}}})),this[_0x236d76(0x3b5)](this[_0x236d76(0x353)]['focus$'][_0x236d76(0x169)](_0x13fd30=>{const _0x3f2a5e=_0x236d76;if(this[_0x3f2a5e(0x2f9)]===!0x1)return;if(_0x13fd30[_0x3f2a5e(0x44b)]===0x0){this[_0x3f2a5e(0x268)]=null,this[_0x3f2a5e(0x163)]();return;}if(_0x13fd30['length']===0x1&&_0x13fd30[0x0]['drawingType']===_0x1f70ef[_0x3f2a5e(0x470)][_0x3f2a5e(0x40b)]&&(this[_0x3f2a5e(0x4a3)]+=0x1,this['_activeShapeInfo']=this['_getShapeInfo'](_0x13fd30[0x0][_0x3f2a5e(0x2a9)],_0x13fd30[0x0][_0x3f2a5e(0x2bf)],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this[_0x3f2a5e(0x268)])){this['_openShapeEditPanel']();return;}let _0x62aad7=_0x13fd30[_0x3f2a5e(0x2c0)](_0x324063=>_0x324063[_0x3f2a5e(0x4c9)]===_0x1f70ef[_0x3f2a5e(0x470)][_0x3f2a5e(0x40b)]);if(_0x13fd30[_0x3f2a5e(0x44b)]>0x1&&_0x62aad7['length']===_0x13fd30[_0x3f2a5e(0x44b)]){if(this[_0x3f2a5e(0x4a3)]+=0x1,this[_0x3f2a5e(0x268)]=this[_0x3f2a5e(0x22a)](_0x13fd30[0x0][_0x3f2a5e(0x2a9)],_0x13fd30[0x0][_0x3f2a5e(0x2bf)],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this[_0x3f2a5e(0x268)]){this['_openShapeEditPanel']();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x3f2a5e(0x268)]=this['_getShapeInfo'](_0x13fd30[0x0]['unitId'],_0x13fd30[0x0]['subUnitId'],_0x13fd30[0x0][_0x3f2a5e(0x2e7)]),this['_activeShapeInfo']){this[_0x3f2a5e(0x268)]['disableShapeOption']=!0x0,this[_0x3f2a5e(0x23b)]();return;}}this[_0x3f2a5e(0x163)]();}));}[_0x54e2e6(0x23b)](){const _0x1e44ec=_0x54e2e6;this[_0x1e44ec(0x268)]&&(this[_0x1e44ec(0x183)]=this[_0x1e44ec(0x3b1)][_0x1e44ec(0x1b3)]({'id':_0x45c66c,'header':{'title':this['_localeService']['t'](_0x1e44ec(0x419))},'width':0x184,'children':{'label':_0x45c66c,...this[_0x1e44ec(0x268)]},'onClose':()=>{const _0x1e231c=_0x1e44ec;this['_drawingManagerService'][_0x1e231c(0x43a)](null),this[_0x1e231c(0x421)]['setContextValue'](_0x1f70ef[_0x1e231c(0x4df)],!0x1),this[_0x1e231c(0x183)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}['_closeShapeEditPanel'](){const _0x3c9c2e=_0x54e2e6;this[_0x3c9c2e(0x2f9)]=!0x1,this[_0x3c9c2e(0x3b1)]['close'](_0x45c66c),this[_0x3c9c2e(0x183)]=null,this[_0x3c9c2e(0x421)][_0x3c9c2e(0x15b)](_0x1f70ef[_0x3c9c2e(0x4df)],!0x1),this[_0x3c9c2e(0x353)][_0x3c9c2e(0x43a)](null);}};_0x37ec55=_0x105eeb([_0x1af634(0x0,_0x1f70ef[_0x54e2e6(0x3bb)]),_0x1af634(0x1,(0x0,_0x1f70ef['Inject'])(_0x7c4c2f['ISidebarService'])),_0x1af634(0x2,_0x7c4c2f[_0x54e2e6(0x3b3)]),_0x1af634(0x3,(0x0,_0x1f70ef['Inject'])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x4,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef[_0x54e2e6(0x15c)])),_0x1af634(0x5,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x6,_0x509efb[_0x54e2e6(0x178)]),_0x1af634(0x7,(0x0,_0x1f70ef['Inject'])(_0x5bdd19[_0x54e2e6(0x30d)])),_0x1af634(0x8,_0x35408c[_0x54e2e6(0x2b5)]),_0x1af634(0x9,_0x1f70ef['IContextService']),_0x1af634(0xa,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x5c66c5)),_0x1af634(0xb,_0x1f70ef[_0x54e2e6(0x405)])],_0x37ec55);let _0x5308f3=class extends _0x1f70ef['Disposable']{constructor(_0xed4c6,_0x30f2e8){const _0x200c42=_0x54e2e6;super(),this[_0x200c42(0x1b8)]=_0xed4c6,this[_0x200c42(0x438)]=_0x30f2e8,this[_0x200c42(0x3b5)]((0x0,_0x1f70ef['toDisposable'])((0x0,_0x35408c['setDocsCustomBlockRenderViewportProvider'])((_0x6358b,_0xa21e71,_0x590d9a)=>this[_0x200c42(0x2f2)](_0x6358b,_0xa21e71,_0x590d9a))));}[_0x54e2e6(0x2f2)](_0x595dff,_0x44df78,_0x176b05){const _0x564948=_0x54e2e6;let _0x5b2c37=this[_0x564948(0x1b8)][_0x564948(0x2b8)](_0x595dff,_0x44df78);if(!_0x5b2c37)return null;let _0x4195be=_0x5b2c37[_0x564948(0x4d2)](),_0x2d8881=(0x0,_0x11cfc4[_0x564948(0x19c)])(_0x4195be),_0x44e8b3=_0x4195be[_0x564948(0x26a)];if(!_0x44e8b3||_0x2d8881[_0x564948(0x377)]!==_0x11cfc4[_0x564948(0x39e)][_0x564948(0x4d7)])return null;let _0x37dbc7=_0x176b05[_0x564948(0x277)],_0x515935=_0x176b05['fallbackHeight'];_0x5b2c37['updateContext']({'width':_0x37dbc7,'height':_0x515935});let _0x4b4772=_0x5b2c37[_0x564948(0x1ab)]({'left':0x0,'top':0x0,'width':_0x37dbc7,'height':_0x515935}),_0xbe8f34=(0x0,_0x5ceb8e[_0x564948(0x420)])(_0x564948(0x32d)in _0x44e8b3?_0x44e8b3[_0x564948(0x32d)]:void 0x0),_0x142311=(_0xbe8f34==null?void 0x0:_0xbe8f34['doc'])??('isRichText'in _0x44e8b3?(0x0,_0x5ceb8e[_0x564948(0x41c)])(_0x44e8b3,_0x44df78+_0x564948(0x331)):null);if(!_0x142311)return null;let _0x1359d3=(0x0,_0x5ceb8e['resolveFormulaShapeAutoFitSize'])({'documentData':_0x142311,'height':_0x515935,'shapeData':_0x4195be,'textRect':_0x4b4772,'width':_0x37dbc7,'widthBuffer':0x0});_0x1359d3&&({width:_0x37dbc7,height:_0x515935}=_0x1359d3,_0x5b2c37[_0x564948(0x3b6)]({'width':_0x37dbc7,'height':_0x515935}),_0x4b4772=_0x5b2c37['getShapeTextRect']({'left':0x0,'top':0x0,'width':_0x37dbc7,'height':_0x515935}));let _0xa4cf5d=_0x44e8b3[_0x564948(0x297)]!==!0x1,_0x381756=(0x0,_0x5ceb8e[_0x564948(0x216)])(_0x142311,{'isHorizontal':_0xa4cf5d,'textRect':_0x4b4772,'verticalAlign':_0xbe8f34==null?void 0x0:_0xbe8f34['va'],'horizontalAlign':_0xbe8f34==null?void 0x0:_0xbe8f34['ha'],'wrapStrategy':(0x0,_0x5ceb8e[_0x564948(0x39a)])(_0x4195be)}),_0x484d74=new _0x1f70ef[(_0x564948(0x39c))](_0x381756),_0x524b2c=new _0x35408c[(_0x564948(0x37b))](_0x484d74),_0x234a20=_0x35408c[_0x564948(0x1fc)][_0x564948(0x224)](_0x524b2c,this[_0x564948(0x438)]);try{var _0x42a552,_0x591885;_0x234a20[_0x564948(0x3cc)]();let _0x5964d2=((_0x42a552=_0x234a20[_0x564948(0x36c)]())==null?void 0x0:_0x42a552[_0x564948(0x3ef)])??[],_0x492f83=_0x5964d2[_0x5964d2['length']-0x1],_0x369e55=_0x492f83?Math[_0x564948(0x28c)](0x0,((_0x591885=(0x0,_0x35408c[_0x564948(0x351)])(_0x492f83))==null?void 0x0:_0x591885[_0x564948(0x1a9)])??0x0):0x0,_0x53bfd8=_0x234a20['getActualSize']()[_0x564948(0x358)]+_0x369e55-(_0xa4cf5d?_0x4b4772[_0x564948(0x4d1)]:_0x4b4772[_0x564948(0x45c)]);return Number[_0x564948(0x434)](_0x53bfd8)?_0xa4cf5d?{'width':_0x37dbc7,'height':Math['max'](0x1,_0x515935+_0x53bfd8)}:{'width':Math[_0x564948(0x28c)](0x1,_0x37dbc7+_0x53bfd8),'height':_0x515935}:null;}finally{_0x234a20[_0x564948(0x267)](),_0x524b2c[_0x564948(0x267)](),_0x484d74[_0x564948(0x267)]();}}};_0x5308f3=_0x105eeb([_0x1af634(0x0,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x156d72[_0x54e2e6(0x333)])),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['LocaleService']))],_0x5308f3);let _0x5c8e76=class extends _0x1f70ef[_0x54e2e6(0x498)]{constructor(_0x30692b=_0x5a00d5,_0x3126f1,_0x3af3fc,_0x5bb2bb,_0x1cb7d7){const _0x2701fa=_0x54e2e6;super(),this[_0x2701fa(0x44d)]=_0x30692b,this[_0x2701fa(0x38a)]=_0x3126f1,this[_0x2701fa(0x255)]=_0x3af3fc,this[_0x2701fa(0x2c4)]=_0x5bb2bb,this[_0x2701fa(0x4a2)]=_0x1cb7d7;let {menu:_0x15e713,..._0x25f025}=(0x0,_0x1f70ef[_0x2701fa(0x315)])({},_0x5a00d5,this[_0x2701fa(0x44d)]);_0x15e713&&this[_0x2701fa(0x2c4)][_0x2701fa(0x2d6)](_0x2701fa(0x43e),_0x15e713,{'merge':!0x0}),this[_0x2701fa(0x2c4)][_0x2701fa(0x2d6)](_0x13b595,_0x25f025),this[_0x2701fa(0x269)]();}['onStarting'](){const _0x3adfe9=_0x54e2e6;(0x0,_0x1f70ef[_0x3adfe9(0x47a)])(this[_0x3adfe9(0x38a)],this[_0x3adfe9(0x3a7)]()),this['_injector'][_0x3adfe9(0x429)](_0x16254b),this[_0x3adfe9(0x442)]();}[_0x54e2e6(0x3a7)](){return[[_0x16254b],[_0x37ec55],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0x548036],[_0xb8d91],[_0x1dc3be],[_0x5308f3],[_0x5c66c5],[_0x1d5680]];}[_0x54e2e6(0x2a7)](){const _0x14ad10=_0x54e2e6;this[_0x14ad10(0x4b4)]()[_0x14ad10(0x16e)](_0x48a533=>{const _0x5e4ffa=_0x14ad10;this[_0x5e4ffa(0x3b5)](this[_0x5e4ffa(0x4a2)][_0x5e4ffa(0x3ae)](_0x1f70ef['UniverInstanceType']['UNIVER_DOC'],_0x48a533));}),(0x0,_0x1f70ef[_0x14ad10(0x38c)])(this[_0x14ad10(0x38a)],[[_0x37ec55],[_0x3bd484],[_0x54ec0f],[_0x56e0bb],[_0xb8d91],[_0x1dc3be],[_0x5308f3],[_0x5c66c5],[_0x1d5680]]);}[_0x54e2e6(0x4b4)](){return[[_0x548036],[_0x242997],[_0x4f5bb6],[_0xba4cff]];}[_0x54e2e6(0x4a8)](){const _0x319ca0=_0x54e2e6;this[_0x319ca0(0x3b5)](this[_0x319ca0(0x4a2)][_0x319ca0(0x3ae)](_0x1f70ef[_0x319ca0(0x283)][_0x319ca0(0x1cc)],[_0x4a71ef]));}[_0x54e2e6(0x269)](){const _0x45b36f=_0x54e2e6;[_0x2567e4,_0x388435,_0xf4b337,_0x27bc22,_0x23b4a0,_0x8614a3][_0x45b36f(0x16e)](_0x4fb03c=>this[_0x45b36f(0x3b5)](this[_0x45b36f(0x255)][_0x45b36f(0x1d0)](_0x4fb03c)));}[_0x54e2e6(0x442)](){const _0x497e80=_0x54e2e6;let _0x996199=this['_injector'],_0x400aa4=_0x996199[_0x497e80(0x429)](_0x7c4c2f[_0x497e80(0x281)]);this[_0x497e80(0x3b5)](_0x400aa4['registerComponent'](_0x7c4c2f[_0x497e80(0x32c)][_0x497e80(0x3c5)],()=>(0x0,_0x7c4c2f[_0x497e80(0x361)])(_0x5f1b69,_0x996199)));}};_0x3d621e(_0x5c8e76,_0x54e2e6(0x1a8),_0x1f70ef[_0x54e2e6(0x283)][_0x54e2e6(0x1cc)]),_0x3d621e(_0x5c8e76,_0x54e2e6(0x2da),_0x54e2e6(0x2a0)),_0x3d621e(_0x5c8e76,_0x54e2e6(0x479),_0x48c514),_0x3d621e(_0x5c8e76,_0x54e2e6(0x478),_0x52174e),_0x5c8e76=_0x105eeb([(0x0,_0x1f70ef[_0x54e2e6(0x359)])(_0xab2065['UniverLicensePlugin'],_0x5f20c1['UniverDocsPlugin'],_0x509efb[_0x54e2e6(0x261)],_0x57c854[_0x54e2e6(0x396)],_0x35408c[_0x54e2e6(0x1c7)],_0x5bdd19[_0x54e2e6(0x332)],_0x339478[_0x54e2e6(0x4a0)],_0x23d22e['UniverDocsDrawingUIPlugin'],_0x156d72[_0x54e2e6(0x1f7)],_0x5ceb8e[_0x54e2e6(0x48d)]),_0x1af634(0x1,(0x0,_0x1f70ef[_0x54e2e6(0x3c3)])(_0x1f70ef['Injector'])),_0x1af634(0x2,_0x1f70ef[_0x54e2e6(0x3ab)]),_0x1af634(0x3,_0x1f70ef['IConfigService']),_0x1af634(0x4,_0x35408c[_0x54e2e6(0x2b5)])],_0x5c8e76),_0x820882[_0x54e2e6(0x387)]=_0x31ed66,Object[_0x54e2e6(0x307)](_0x820882,_0x54e2e6(0x238),{'enumerable':!0x0,'get':function(){return _0x216984;}}),Object[_0x54e2e6(0x307)](_0x820882,_0x54e2e6(0x3a8),{'enumerable':!0x0,'get':function(){return _0x5c8e76;}});}));
1
+ (function(_0x5ee86c,_0x3d384d){const _0x5e6412=_0x2ff4,_0x407cd2=_0x5ee86c();while(!![]){try{const _0x465c5d=parseInt(_0x5e6412(0x20c))/0x1*(parseInt(_0x5e6412(0x140))/0x2)+parseInt(_0x5e6412(0x226))/0x3+parseInt(_0x5e6412(0x2a1))/0x4*(-parseInt(_0x5e6412(0x13d))/0x5)+parseInt(_0x5e6412(0x410))/0x6*(parseInt(_0x5e6412(0x36f))/0x7)+parseInt(_0x5e6412(0x27b))/0x8*(-parseInt(_0x5e6412(0x1e0))/0x9)+-parseInt(_0x5e6412(0xcd))/0xa+parseInt(_0x5e6412(0x149))/0xb;if(_0x465c5d===_0x3d384d)break;else _0x407cd2['push'](_0x407cd2['shift']());}catch(_0x2af180){_0x407cd2['push'](_0x407cd2['shift']());}}}(_0x1fb0,0xb0f7c),function(_0x102682,_0xe846cb){const _0x366094=_0x2ff4;typeof exports==_0x366094(0x3a8)&&typeof module<'u'?_0xe846cb(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==_0x366094(0x298)&&define[_0x366094(0x259)]?define([_0x366094(0x360),'@univerjs-pro/shape-editor-ui',_0x366094(0x36c),_0x366094(0x202),_0x366094(0x38d),'@univerjs-pro/engine-shape',_0x366094(0xd9),_0x366094(0x2b8),_0x366094(0xeb),'@univerjs/docs-drawing',_0x366094(0xee),_0x366094(0x1f5),'@univerjs/drawing-ui','react/jsx-runtime',_0x366094(0x23d),_0x366094(0xa7),_0x366094(0x1af),'react',_0x366094(0x19d),_0x366094(0x168)],_0xe846cb):(_0x102682=typeof globalThis<'u'?globalThis:_0x102682||self,_0xe846cb(_0x102682['UniverProDocsShapeUi']={},_0x102682[_0x366094(0x116)],_0x102682[_0x366094(0xfc)],_0x102682[_0x366094(0x14f)],_0x102682[_0x366094(0x132)],_0x102682['UniverProEngineShape'],_0x102682[_0x366094(0x12c)],_0x102682['UniverCore'],_0x102682['UniverDocs'],_0x102682[_0x366094(0x109)],_0x102682[_0x366094(0x341)],_0x102682[_0x366094(0x3a2)],_0x102682[_0x366094(0xd0)],_0x102682['React'],_0x102682[_0x366094(0x23d)],_0x102682[_0x366094(0x1eb)],_0x102682[_0x366094(0x1d6)],_0x102682[_0x366094(0xf3)],_0x102682[_0x366094(0x264)],_0x102682[_0x366094(0x25d)]));}(this,function(_0xb0f434,_0x4df77c,_0x25d652,_0x1f9d09,_0xddc3b0,_0x59d795,_0x4e08a0,_0x51ff18,_0x31599d,_0x522777,_0x164900,_0x893ff7,_0x358a20,_0x3eb5bb,_0x1191c7,_0x330c89,_0x2fdebd,_0x40ced8,_0xe2a8e7,_0x239f90){const _0x14788d=_0x2ff4;Object[_0x14788d(0x2f3)](_0xb0f434,Symbol['toStringTag'],{'value':_0x14788d(0xba)});function _0x4c31ea(_0x26454a,_0x5182c3){const _0x466f26=_0x14788d;if(_0x5182c3){if((0x0,_0x59d795[_0x466f26(0xdb)])(_0x26454a)&&(_0x5182c3[_0x466f26(0x337)]||_0x5182c3[_0x466f26(0x2ac)]))return{'ln':{'startArrow':_0x5182c3[_0x466f26(0x337)]?{'type':_0x59d795[_0x466f26(0x246)]['Arrow'],'size':_0x59d795[_0x466f26(0x2e5)][_0x466f26(0x40a)]}:void 0x0,'endArrow':_0x5182c3['endArrow']?{'type':_0x59d795[_0x466f26(0x246)][_0x466f26(0x3b4)],'size':_0x59d795[_0x466f26(0x2e5)]['Large']}:void 0x0}};if(_0x26454a===_0x59d795[_0x466f26(0x333)][_0x466f26(0x124)]&&(_0x5182c3[_0x466f26(0x32e)]||_0x5182c3['vertical']))return(0x0,_0x4e08a0[_0x466f26(0x2e2)])({'fill':{'fillType':_0x59d795['ShapeFillEnum']['SolidFill'],'color':_0x466f26(0x1b9)},'isHorizontal':!!_0x5182c3[_0x466f26(0x32e)],'stroke':{'lineStrokeType':_0x59d795['ShapeLineTypeEnum'][_0x466f26(0x146)],'width':0x1,'color':_0x466f26(0x331)}});}}function _0x5c1f1b(_0x421f73,_0x66943c){const _0x1c27bd=_0x14788d;var _0x5929f5;let _0x4886d7=_0x66943c['segmentId']??'',_0x49cf8f=(_0x5929f5=_0x421f73[_0x1c27bd(0x285)](_0x4886d7))==null?void 0x0:_0x5929f5['getBody']();if(!_0x49cf8f)return null;let _0x36f137=_0x49cf8f[_0x1c27bd(0x370)]??[],_0x47d5b8=_0x36f137[_0x1c27bd(0x16d)](_0xbe9bc5=>{const _0x482ca6=_0x1c27bd;let _0x4943e4=(0x0,_0x51ff18[_0x482ca6(0xbc)])(_0x49cf8f,_0xbe9bc5);return _0x66943c[_0x482ca6(0x32b)]>=_0x4943e4&&_0x66943c[_0x482ca6(0x32b)]<=_0xbe9bc5[_0x482ca6(0x216)];})??_0x36f137[_0x36f137[_0x1c27bd(0x12a)]-0x1];return _0x47d5b8?{'paragraphId':_0x47d5b8[_0x1c27bd(0x218)],'segmentId':_0x4886d7,'position':_0xddc3b0['DocShapeAnchorPosition'][_0x1c27bd(0xdc)],'offset':_0x66943c[_0x1c27bd(0x32b)]-(0x0,_0x51ff18[_0x1c27bd(0xbc)])(_0x49cf8f,_0x47d5b8)}:null;}function _0x326025(_0x588700,_0x535192,_0x21eac9){const _0x227475=_0x14788d;var _0x4cd9e2,_0x181c93;if(!_0x21eac9)return null;let _0x2d4b0e=(_0x4cd9e2=_0x588700[_0x227475(0x347)](_0x164900[_0x227475(0x1fd)])[_0x227475(0x307)](_0x535192))==null?void 0x0:_0x4cd9e2['with'](_0x25d652[_0x227475(0x295)])[_0x227475(0x212)];if(!_0x2d4b0e)return null;let _0x34c4e7=_0x21eac9===_0x227475(0x100)?{'startOffset':_0x2d4b0e[_0x227475(0x414)]['endOffset'],'endOffset':_0x2d4b0e[_0x227475(0x414)][_0x227475(0x183)]}:_0x2d4b0e[_0x227475(0x251)];return{'startOffset':_0x34c4e7[_0x227475(0x32b)],'endOffset':_0x34c4e7[_0x227475(0x183)],'collapsed':_0x34c4e7[_0x227475(0x32b)]===_0x34c4e7['endOffset'],'segmentId':((_0x181c93=_0x2d4b0e[_0x227475(0x25a)])==null?void 0x0:_0x181c93[_0x227475(0x3fe)])??''};}let _0x26e47b={'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x198)],'id':_0x14788d(0x2a5),'handler':async(_0x47f9a9,_0xbd4867)=>{const _0x42e668=_0x14788d;let _0x213d37=_0x47f9a9['get'](_0x51ff18['IUniverInstanceService'])['getCurrentUnitOfType'](_0x51ff18[_0x42e668(0x1b6)][_0x42e668(0x33c)]);if(!_0x213d37)return!0x1;let _0x3141ac=_0x47f9a9[_0x42e668(0x347)](_0x51ff18[_0x42e668(0x220)]),_0x29f7f1=_0x213d37['getUnitId'](),_0x2f2ecf=_0xbd4867[_0x42e668(0x344)]??(0x0,_0x51ff18[_0x42e668(0x258)])(),_0x4b3738=_0xbd4867[_0x42e668(0x11a)]??_0xddc3b0['DEFAULT_DOC_SHAPE_WIDTH'],_0x50d8f8=_0xbd4867[_0x42e668(0x346)]??_0xddc3b0[_0x42e668(0x19b)],_0x1822c8=_0xbd4867['shapeData']??_0x4c31ea(_0xbd4867[_0x42e668(0x1d7)],_0xbd4867[_0x42e668(0x336)]),_0x288e0a=_0x326025(_0x47f9a9,_0x29f7f1,_0xbd4867[_0x42e668(0x38e)])??_0x47f9a9[_0x42e668(0x347)](_0x31599d[_0x42e668(0x378)])[_0x42e668(0xb9)]();if(!_0x288e0a)return!0x1;let _0x161e22=_0x5c1f1b(_0x213d37,_0x288e0a);return _0x161e22?!!_0x3141ac['syncExecuteCommand'](_0xddc3b0[_0x42e668(0x2da)]['id'],{'unitId':_0x29f7f1,'shapeId':_0x2f2ecf,'shapeType':_0xbd4867[_0x42e668(0x1d7)],'shapeData':_0x1822c8,'transform':{'width':_0x4b3738,'height':_0x50d8f8},'placement':{'wrappingStyle':_0x522777[_0x42e668(0x306)][_0x42e668(0x2fd)],'anchor':_0x161e22}}):!0x1;}},_0x489aae=_0x14788d(0x272),_0x51acc9=_0x14788d(0xcb),_0x182d51='doc.shape.object-list.panel',_0x4e1cb4=(0x0,_0x51ff18['createInternalEditorID'])(_0x14788d(0xbf)),_0x1b5ebb=_0x14788d(0x181),_0x5381b7=_0x14788d(0x227),_0x132c8f={'id':_0x14788d(0x9f),'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x198)],'handler':(_0x13c2d8,_0x4a9f4d)=>{const _0xf22945=_0x14788d;let _0x447798=_0x13c2d8['get'](_0x1f9d09[_0xf22945(0x3b8)]),_0x21c302=_0x13c2d8[_0xf22945(0x347)](_0x51ff18[_0xf22945(0x18a)]),_0x37627e=_0x13c2d8['get'](_0x893ff7['IDrawingManagerService']);return(_0x4a9f4d==null?void 0x0:_0x4a9f4d[_0xf22945(0x1d7)])===_0xf22945(0x253)?(_0x447798[_0xf22945(0x253)](_0x182d51),!0x0):(_0x447798[_0xf22945(0x15c)]({'id':_0x182d51,'header':{'title':_0x21c302['t'](_0xf22945(0x23e))},'children':{'label':_0x182d51},'onClose':()=>{const _0x27188a=_0xf22945;_0x37627e[_0x27188a(0x200)](null);},'width':0x168}),!0x0);}},_0x38c6c0={'type':_0x51ff18['CommandType'][_0x14788d(0x327)],'id':_0x14788d(0x2ec),'handler'(){return!0x0;}};function _0x5be45a(_0x1a5f3b){const _0x1708f9=_0x14788d;let _0x33a5b1=_0x1a5f3b[_0x1708f9(0x347)](_0x893ff7[_0x1708f9(0x2f4)])[_0x1708f9(0x34e)](),_0x33b988=_0x33a5b1[_0x1708f9(0x12a)]===0x1?_0x33a5b1[0x0]:null;if(!_0x33b988||_0x33b988[_0x1708f9(0x22c)]!==_0x51ff18['DrawingTypeEnum'][_0x1708f9(0x376)])return null;let _0x181fc8=_0x1a5f3b[_0x1708f9(0x347)](_0xddc3b0[_0x1708f9(0x131)]),_0x16f125=_0x181fc8[_0x1708f9(0x417)](_0x33b988[_0x1708f9(0x1b5)],_0x33b988['subUnitId'],_0x33b988[_0x1708f9(0x3f7)]),_0x4c1217=_0x181fc8[_0x1708f9(0x325)](_0x33b988[_0x1708f9(0x1b5)],_0x33b988[_0x1708f9(0x151)],_0x33b988[_0x1708f9(0x3f7)]);return _0x16f125===void 0x0||!_0x4c1217?null:{'drawing':_0x33b988,'shapeData':_0x4c1217,'shapeType':_0x16f125};}let _0x4949f5={'id':'doc.operation.apply-shape-quick-style','type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x327)],'handler':(_0x21aacb,_0x46c8f2)=>{const _0x2dc89c=_0x14788d;let _0x373a3d=_0x5be45a(_0x21aacb),_0x1b4de8=(0x0,_0x4e08a0[_0x2dc89c(0x283)])((_0x46c8f2==null?void 0x0:_0x46c8f2[_0x2dc89c(0x107)])??(_0x46c8f2==null?void 0x0:_0x46c8f2[_0x2dc89c(0x1d7)])??'');if(!_0x373a3d||!_0x1b4de8||_0x1b4de8[_0x2dc89c(0x31f)]!==(0x0,_0x4e08a0[_0x2dc89c(0x3e8)])(_0x373a3d[_0x2dc89c(0x167)]))return!0x1;let _0x193643=(0x0,_0x4e08a0[_0x2dc89c(0x345)])(_0x373a3d[_0x2dc89c(0x167)],_0x1b4de8);if(!_0x193643)return!0x1;let {drawing:_0x2149df}=_0x373a3d;return _0x21aacb['get'](_0x51ff18['ICommandService'])[_0x2dc89c(0x238)](_0xddc3b0[_0x2dc89c(0x1d3)]['id'],{'unitId':_0x2149df[_0x2dc89c(0x1b5)],'shapeId':_0x2149df[_0x2dc89c(0x3f7)],'shapeData':_0x193643,'oldShapeJSON':{'oldShapeData':_0x373a3d[_0x2dc89c(0x167)]}});}},_0x55fbd0={'id':'doc.operation.update-shape-type','type':_0x51ff18['CommandType'][_0x14788d(0x327)],'handler':(_0x3f1c38,_0x466b5e)=>{const _0x217cd7=_0x14788d;let _0x32a679=_0x5be45a(_0x3f1c38),_0x53f948=(_0x466b5e==null?void 0x0:_0x466b5e[_0x217cd7(0x18b)])??(_0x466b5e==null?void 0x0:_0x466b5e[_0x217cd7(0x1d7)]);if(!_0x32a679||!_0x53f948||(0x0,_0x59d795[_0x217cd7(0xdb)])(_0x32a679[_0x217cd7(0x18b)])||(0x0,_0x59d795[_0x217cd7(0xdb)])(_0x53f948))return!0x1;let _0x10e724=(0x0,_0x4e08a0[_0x217cd7(0x113)])(_0x32a679['shapeData'],_0x53f948);if(!_0x10e724)return!0x1;let {drawing:_0x29c9c2}=_0x32a679;return _0x3f1c38[_0x217cd7(0x347)](_0x51ff18[_0x217cd7(0x220)])[_0x217cd7(0x238)](_0xddc3b0[_0x217cd7(0x1d3)]['id'],{'unitId':_0x29c9c2[_0x217cd7(0x1b5)],'shapeId':_0x29c9c2[_0x217cd7(0x3f7)],'shapeType':_0x53f948,'shapeData':_0x10e724,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0x32a679[_0x217cd7(0x18b)],'oldShapeData':_0x32a679[_0x217cd7(0x167)]}});}};function _0x3fe79d(_0x5a85bc,_0x4f720f){return function(_0x1a83bc,_0x2e01f5){_0x4f720f(_0x1a83bc,_0x2e01f5,_0x5a85bc);};}function _0x1e5419(_0x5ee077,_0x50deef,_0x58b8b8,_0x112870){const _0x20f135=_0x14788d;var _0x2dcc77=arguments[_0x20f135(0x12a)],_0x1086b3=_0x2dcc77<0x3?_0x50deef:_0x112870===null?_0x112870=Object[_0x20f135(0x294)](_0x50deef,_0x58b8b8):_0x112870,_0x58dba3;if(typeof Reflect=='object'&&typeof Reflect[_0x20f135(0x21c)]==_0x20f135(0x298))_0x1086b3=Reflect[_0x20f135(0x21c)](_0x5ee077,_0x50deef,_0x58b8b8,_0x112870);else{for(var _0x407ebc=_0x5ee077[_0x20f135(0x12a)]-0x1;_0x407ebc>=0x0;_0x407ebc--)(_0x58dba3=_0x5ee077[_0x407ebc])&&(_0x1086b3=(_0x2dcc77<0x3?_0x58dba3(_0x1086b3):_0x2dcc77>0x3?_0x58dba3(_0x50deef,_0x58b8b8,_0x1086b3):_0x58dba3(_0x50deef,_0x58b8b8))||_0x1086b3);}return _0x2dcc77>0x3&&_0x1086b3&&Object[_0x20f135(0x2f3)](_0x50deef,_0x58b8b8,_0x1086b3),_0x1086b3;}let _0x14ecae=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x482009,_0x12871c){const _0x5068f1=_0x14788d;super(),this[_0x5068f1(0x1be)]=_0x482009,this['_drawingManagerService']=_0x12871c,this['_registerImageShapeClipDelegate'](),this[_0x5068f1(0x1be)][_0x5068f1(0x3ef)](!0x0),this[_0x5068f1(0x2c1)]({'dispose':()=>this[_0x5068f1(0x1be)][_0x5068f1(0x3ef)](!0x1)});}[_0x14788d(0x382)](){const _0x12ce53=_0x14788d;let _0x20828e=new Map(),_0x5bc866=this['_clipService'][_0x12ce53(0x208)]((_0x99d559,_0x3f7018,_0x1f0a1a,_0x1b00ab,_0x5ec2d8)=>{const _0x488833=_0x12ce53;let _0x28253f=_0x3f7018;if(_0x28253f===_0x59d795[_0x488833(0x333)][_0x488833(0x3af)]||_0x3f7018===_0x488833(0x41e))return!0x1;try{let _0x2ac581=_0x20828e[_0x488833(0x347)](_0x3f7018);return _0x2ac581||(_0x2ac581=new _0x59d795[(_0x488833(0x33e))](_0x28253f,_0x488833(0x3dc)+_0x3f7018),_0x20828e['set'](_0x3f7018,_0x2ac581)),_0x2ac581['clearAdjustValue'](),_0x5ec2d8&&Object[_0x488833(0xd4)](_0x5ec2d8)[_0x488833(0x12a)]>0x0&&_0x2ac581[_0x488833(0x3d8)]({'adjustValues':_0x5ec2d8},!0x0),_0x2ac581[_0x488833(0x118)]({'width':_0x1f0a1a,'height':_0x1b00ab}),_0x2ac581[_0x488833(0x15d)](_0x99d559,{'left':0x0,'top':0x0,'width':_0x1f0a1a,'height':_0x1b00ab});}catch{return!0x1;}});this[_0x12ce53(0x2c1)](_0x5bc866),this[_0x12ce53(0x2c1)]({'dispose':()=>_0x20828e[_0x12ce53(0x3c9)]()});}[_0x14788d(0x3d1)](_0x49fd87,_0x3c9b84,_0xc22690,_0x134846,_0x3c80ab){const _0x3311a4=_0x14788d;let _0x37c7b9=this[_0x3311a4(0x39e)][_0x3311a4(0x192)](_0x49fd87,_0x3c9b84)[_0xc22690];_0x37c7b9&&_0x37c7b9[_0x3311a4(0x22c)]===_0x51ff18[_0x3311a4(0x1d4)]['DRAWING_IMAGE']&&this['_drawingManagerService']['featurePluginUpdateNotification']([{..._0x37c7b9,'prstGeom':_0x134846,'adjustValues':_0x3c80ab}]);}};_0x14ecae=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x358a20[_0x14788d(0x429)])),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x893ff7[_0x14788d(0x2f4)]))],_0x14ecae);let _0x5d3b2d=_0x14788d(0x3e6),_0x1f5594=_0x14788d(0x2cb);function _0x158617({onShapeClick:_0x57b2cb,excludeGroups:_0x3c6fe5}){const _0x400cbb=_0x14788d;return(0x0,_0x3eb5bb[_0x400cbb(0x2cc)])(_0x4df77c[_0x400cbb(0x193)],{'excludeGroups':_0x3c6fe5,'onShapeClick':_0x57b2cb,'scrollContainer':_0x400cbb(0xd5)});}function _0x39e837(){const _0x206608=_0x14788d;let _0xcb6cdf=(0x0,_0x1f9d09[_0x206608(0xe6)])(_0x893ff7[_0x206608(0x2f4)]),_0x47466b=(0x0,_0x1f9d09[_0x206608(0xe6)])(_0x14ecae);return _0x5b823b=>{const _0x4d7055=_0x206608;let _0x148736=_0xcb6cdf['getFocusDrawings']()['find'](_0x1f1063=>_0x1f1063[_0x4d7055(0x22c)]===_0x51ff18[_0x4d7055(0x1d4)][_0x4d7055(0x157)]);_0x148736&&_0x47466b[_0x4d7055(0x3d1)](_0x148736[_0x4d7055(0x1b5)],_0x148736[_0x4d7055(0x151)],_0x148736[_0x4d7055(0x3f7)],_0x5b823b[_0x4d7055(0x31f)]);};}function _0x3bae6b(){const _0x188554=_0x14788d;let _0x4001a4=_0x39e837();return(0x0,_0x3eb5bb['jsx'])(_0x4df77c[_0x188554(0x19a)],{'buttonLabel':_0x188554(0xbd),'excludeGroups':[_0x4df77c[_0x188554(0xa2)][_0x188554(0x1f0)]],'onShapeClick':_0x4001a4});}function _0x17755e(){const _0x2a2af3=_0x14788d;let _0x59b562=(0x0,_0x1f9d09[_0x2a2af3(0xe6)])(_0x1f9d09['ComponentManager']),_0x5f47a8=(0x0,_0x1f9d09['useDependency'])(_0x893ff7[_0x2a2af3(0x2f4)]),_0x21895a=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['IUniverInstanceService']),_0xe0a4e0=_0x5f47a8[_0x2a2af3(0x34e)]()[0x0],_0x43db6d=_0xe0a4e0?_0x21895a[_0x2a2af3(0x128)](_0xe0a4e0[_0x2a2af3(0x1b5)]):void 0x0,_0x4d5c6a=_0x43db6d===_0x51ff18[_0x2a2af3(0x1b6)][_0x2a2af3(0x33c)]?_0x1f5594:_0x43db6d===_0x51ff18['UniverInstanceType'][_0x2a2af3(0x2ef)]?_0x2a2af3(0xd3):void 0x0,_0x5d6d24=_0x4d5c6a?_0x59b562['get'](_0x4d5c6a):void 0x0;return _0x5d6d24?(0x0,_0x3eb5bb['jsx'])(_0x5d6d24,{}):null;}function _0x2b2ad6({paragraphMenuPlacement:_0xb43151,PickerComponent:_0x1af123=_0x158617}){const _0x5366de=_0x14788d;let _0x2a27a9=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x5366de(0x220)]);return(0x0,_0x3eb5bb['jsx'])(_0x1af123,{'onShapeClick':_0x1436ae=>{const _0x290ccd=_0x5366de;_0x2a27a9[_0x290ccd(0x238)](_0x26e47b['id'],{'paragraphMenuPlacement':_0xb43151,'value':_0x1436ae[_0x290ccd(0x31f)],'enhanceParams':{'endArrow':_0x1436ae['endArrow'],'startArrow':_0x1436ae['startArrow'],'horizontal':_0x1436ae['horizontal'],'vertical':_0x1436ae['vertical']}});}});}function _0x49e187(_0x370654){const _0x4c1ada=_0x14788d;return _0x2eaca1=>({'id':_0x26e47b['id'],'type':_0x1f9d09[_0x4c1ada(0x236)][_0x4c1ada(0x3cd)],'selections':[{'label':{'name':_0x5d3b2d,'hoverable':!0x1,'selectable':!0x1,'props':_0x370654?{'id':_0x26e47b['id'],'paragraphMenuPlacement':_0x370654}:{'id':_0x26e47b['id']}}}],'icon':_0x4c1ada(0x24b),'title':'docs-shape-ui.insertShape','tooltip':'docs-shape-ui.insertShape','hidden$':(0x0,_0x1f9d09[_0x4c1ada(0x34a)])(_0x2eaca1,_0x51ff18[_0x4c1ada(0x1b6)]['UNIVER_DOC'])});}let _0x1329c0=_0x49e187(),_0x43561a=_0x49e187(_0x14788d(0x100)),_0x197c8e=_0x49e187(_0x14788d(0x1bd));function _0x9249e8(_0x2bddc2){const _0x58dde9=_0x14788d;let _0x58ed34=_0x2bddc2[_0x58dde9(0x347)](_0x1f9d09[_0x58dde9(0x3b8)]);return{'id':_0x132c8f['id'],'type':_0x1f9d09[_0x58dde9(0x236)]['BUTTON'],'icon':_0x58dde9(0x1bb),'title':_0x58dde9(0xe0),'tooltip':_0x58dde9(0xe0),'activated$':(0x0,_0x1191c7[_0x58dde9(0x2a2)])(()=>_0x58ed34[_0x58dde9(0x15b)][_0x58dde9(0x32a)]((0x0,_0x1191c7[_0x58dde9(0x1e3)])(_0x58ed34[_0x58dde9(0x373)]),(0x0,_0x1191c7[_0x58dde9(0xf0)])(_0x5455bd=>_0x5455bd[_0x58dde9(0x2dd)]===!0x0&&_0x5455bd['id']===_0x58dde9(0xf8)),(0x0,_0x1191c7[_0x58dde9(0x235)])())),'hidden$':(0x0,_0x1f9d09[_0x58dde9(0x34a)])(_0x2bddc2,_0x51ff18[_0x58dde9(0x1b6)][_0x58dde9(0x33c)])};}function _0x50d249(_0x3eef6f,_0x24cff4,_0x4a8e25,_0x3330e0,_0x2de8b5,_0x5dee25){const _0x5e32b6=_0x14788d;let _0x2c2ca4={'unitId':_0x24cff4,'shapeId':_0x3330e0,'shapeData':_0x5dee25,'oldShapeJSON':_0x2de8b5};return _0x3eef6f[_0x5e32b6(0x238)](_0xddc3b0[_0x5e32b6(0x1d3)]['id'],_0x2c2ca4);}function _0x529d23(_0x373c44,_0x314383,_0x4f6656,_0x3d0789,_0x40597f,_0x2831bb){let _0x1800d9={'unitId':_0x314383,'shapeId':_0x3d0789,'shapeData':_0x2831bb,'oldShapeJSON':_0x40597f};return _0x373c44['executeCommand'](_0xddc3b0['UpdateDocShapeDataCommand']['id'],_0x1800d9);}let _0x2260b3=_0x14788d(0x2d5),_0x130032=_0x14788d(0x269),_0x1dea17='docs-shape-ui.shape-format.text-ribbon-control',_0x5f5cfd='docs-shape-ui.shape-format.formula-ribbon-control',_0x26b4d2=_0x14788d(0x3cb),_0x3309fe=[{'value':_0x522777[_0x14788d(0x306)][_0x14788d(0x2fd)],'label':_0x14788d(0x2b4),'icon':_0x14788d(0xc3)},{'value':_0x522777['TextWrappingStyle']['WRAP_SQUARE'],'label':_0x14788d(0x2bb),'icon':_0x14788d(0x1e8)},{'value':_0x522777['TextWrappingStyle']['WRAP_TOP_AND_BOTTOM'],'label':_0x14788d(0x303),'icon':'DocsShapeWrapTopBottomIcon'},{'value':_0x522777['TextWrappingStyle'][_0x14788d(0x3b6)],'label':_0x14788d(0x2d1),'icon':'DocsShapeWrapBehindTextIcon'},{'value':_0x522777[_0x14788d(0x306)][_0x14788d(0x28a)],'label':'docs-shape-ui.textWrap.inFrontText','icon':_0x14788d(0x170)}];function _0x76812(){const _0xf9dcd3=_0x14788d;let _0x595a11=(0x0,_0x1f9d09[_0xf9dcd3(0xe6)])(_0x51ff18[_0xf9dcd3(0x220)]),_0x1721d9=(0x0,_0x1f9d09[_0xf9dcd3(0xe6)])(_0x893ff7[_0xf9dcd3(0x2f4)]),_0x3bcb34=(0x0,_0x1f9d09['useDependency'])(_0xddc3b0[_0xf9dcd3(0x131)]),_0x4edb4d=()=>{const _0x4ca371=_0xf9dcd3;var _0x101d11;let _0x53a302=_0x1721d9[_0x4ca371(0x34e)]();if(_0x53a302[_0x4ca371(0x12a)]!==0x1||((_0x101d11=_0x53a302[0x0])==null?void 0x0:_0x101d11[_0x4ca371(0x22c)])!==_0x51ff18[_0x4ca371(0x1d4)]['DRAWING_SHAPE'])return null;let {unitId:_0x3811be,subUnitId:_0x3241af,drawingId:_0x8aef94}=_0x53a302[0x0],_0x1aac2d=_0x3bcb34[_0x4ca371(0x417)](_0x3811be,_0x3241af,_0x8aef94),_0x17fa4c=_0x3bcb34[_0x4ca371(0x325)](_0x3811be,_0x3241af,_0x8aef94);return _0x1aac2d===void 0x0||!_0x17fa4c?null:{'unitId':_0x3811be,'subUnitId':_0x3241af,'drawingId':_0x8aef94,'shapeType':_0x1aac2d,'shapeData':_0x17fa4c};},_0xda94b7=(0x0,_0x1f9d09[_0xf9dcd3(0xec)])(()=>new _0x1191c7[(_0xf9dcd3(0x266))](_0x17cbff=>{const _0x269b5e=_0xf9dcd3;let _0x5c987f=()=>_0x17cbff['next'](_0x4edb4d()),_0x720ad4=_0x1721d9[_0x269b5e(0x301)][_0x269b5e(0x402)](_0x5c987f),_0x523439=_0x595a11[_0x269b5e(0x3f1)](_0x47e2ed=>{_0x47e2ed['id']===_0xddc3b0['UpdateDocShapeDataMutation']['id']&&_0x5c987f();});return _0x5c987f(),()=>{const _0x19902b=_0x269b5e;_0x720ad4[_0x19902b(0x2ee)](),_0x523439[_0x19902b(0x20b)]();};}),_0x4edb4d(),!0x1,[_0x595a11,_0x3bcb34,_0x1721d9]);return{'selection':_0xda94b7,'updateShapeData':_0x2babfd=>{const _0x276c89=_0xf9dcd3;_0xda94b7&&_0x50d249(_0x595a11,_0xda94b7[_0x276c89(0x1b5)],_0xda94b7[_0x276c89(0x151)],_0xda94b7[_0x276c89(0x3f7)],{'oldShapeData':_0xda94b7['shapeData']},_0x2babfd);}};}function _0xeae6d5(){const _0x34e6f4=_0x14788d;let {selection:_0x26cec2,updateShapeData:_0x2d4e2e}=_0x76812();return _0x26cec2?(0x0,_0x3eb5bb[_0x34e6f4(0x2cc)])(_0x4df77c[_0x34e6f4(0x19f)],{'shapeData':_0x26cec2[_0x34e6f4(0x167)],'shapeType':_0x26cec2['shapeType'],'onUpdateShapeData':_0x2d4e2e}):null;}function _0x2f0f28(){const _0x580dac=_0x14788d;let _0x445c35=(0x0,_0x1f9d09[_0x580dac(0xe6)])(_0x51ff18[_0x580dac(0x220)]),_0x4664de=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x580dac(0x18a)]),{selection:_0x4b6b5f}=_0x76812();return _0x4b6b5f?(0x0,_0x3eb5bb[_0x580dac(0x2cc)])(_0x4df77c[_0x580dac(0x147)],{'type':(0x0,_0x4e08a0[_0x580dac(0x3e8)])(_0x4b6b5f['shapeData']),'ariaLabel':_0x4664de['t'](_0x580dac(0x22b)),'activePresetId':(0x0,_0x4e08a0['resolveActiveShapeQuickStylePresetId'])(_0x4b6b5f[_0x580dac(0x167)]),'onSelect':_0x44d7af=>_0x445c35[_0x580dac(0x238)](_0x4949f5['id'],{'presetId':_0x44d7af})}):null;}function _0x122530(){const _0x197af5=_0x14788d;let {selection:_0x28365b,updateShapeData:_0x32dde0}=_0x76812();return _0x28365b?(0x0,_0x3eb5bb[_0x197af5(0x2cc)])(_0x4df77c[_0x197af5(0x1d8)],{'fontFamilyPopupDataComponent':'docs-shape-format-font-family-menu','shapeData':_0x28365b[_0x197af5(0x167)],'onUpdateShapeData':_0x32dde0}):null;}function _0x238d7a(){const _0x56cbb9=_0x14788d;var _0x5c3ceb;let {selection:_0x30d659,updateShapeData:_0x5b4c12}=_0x76812(),_0x15db4b=(0x0,_0x4df77c[_0x56cbb9(0x2a3)])({'hostType':_0x51ff18['UniverInstanceType'][_0x56cbb9(0x33c)],'unitId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x1b5)])??'','subUnitId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x151)])??'','shapeId':(_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x3f7)])??'','shapeData':_0x30d659==null?void 0x0:_0x30d659[_0x56cbb9(0x167)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':_0x56cbb9(0xd6),'onUpdateBinding':_0x69d238=>_0x5b4c12({'formulaBinding':_0x69d238})}),_0x5f4752=((_0x5c3ceb=_0x15db4b[_0x56cbb9(0x1e2)])==null?void 0x0:_0x5c3ceb[_0x56cbb9(0x11f)](_0x5db29d=>_0x5db29d[_0x56cbb9(0x1e5)])[_0x56cbb9(0x33d)](_0x2c7a2a=>_0x2c7a2a['visible']!==!0x1))??[];return _0x30d659!=null&&_0x30d659[_0x56cbb9(0x167)][_0x56cbb9(0x37a)]?(0x0,_0x3eb5bb[_0x56cbb9(0x2cc)])(_0x4df77c[_0x56cbb9(0x158)],{'actions':_0x5f4752,'panel':_0x15db4b[_0x56cbb9(0xb2)]}):null;}function _0x1b89c8({value:_0x524dfc}){const _0x1afe3f=_0x14788d;let _0x307be5=(0x0,_0x1f9d09[_0x1afe3f(0xe6)])(_0x51ff18['LocaleService']),_0x2b1edc=_0x3309fe[_0x1afe3f(0x16d)](_0x495bb5=>_0x495bb5[_0x1afe3f(0x1d7)]===_0x524dfc)??_0x3309fe[0x0];return _0x2b1edc?(0x0,_0x3eb5bb[_0x1afe3f(0x2cc)])(_0x1afe3f(0x32c),{'children':_0x307be5['t'](_0x2b1edc['label'])}):null;}let _0x1f4c22='docs-shape-ui.ribbon.shape-format.style-control',_0xcb6cf8=_0x14788d(0x1a8),_0x1b68b9=_0x14788d(0x41c),_0x599041=_0x14788d(0x39a),_0x1bff96=_0x14788d(0x3ce),_0x5fb2b1='docs-shape-ui.ribbon.shape-format.arrange-front',_0x1c02fb=_0x14788d(0x242),_0x22c792=_0x14788d(0x14b);function _0x1bfed9(_0x1e26aa){const _0x12aea7=_0x14788d;let _0x5813d8=_0x1e26aa[_0x12aea7(0x347)](_0x51ff18[_0x12aea7(0x220)]),_0x147346=_0x1e26aa[_0x12aea7(0x347)](_0x893ff7['IDrawingManagerService']),_0x1061b0=_0x1e26aa[_0x12aea7(0x347)](_0xddc3b0[_0x12aea7(0x131)]);return new _0x1191c7[(_0x12aea7(0x266))](_0x5d3c26=>{const _0x3c00a0=_0x12aea7;let _0x3dabb1=()=>{const _0x2bdb6e=_0x2ff4;let _0x5065c4=_0x50347b(_0x1e26aa),_0x272209=_0x5065c4?_0x1061b0['getShapeDataById'](_0x5065c4[_0x2bdb6e(0x1b5)],_0x5065c4[_0x2bdb6e(0x151)],_0x5065c4[_0x2bdb6e(0x3f7)]):null;_0x5d3c26['next'](_0x272209?(0x0,_0x4e08a0[_0x2bdb6e(0x3a7)])(_0x272209)??'':'');},_0x26cf22=_0x147346['focus$']['subscribe'](_0x3dabb1),_0x4401f5=_0x5813d8[_0x3c00a0(0x3f1)](_0x618470=>{const _0x2e6e25=_0x3c00a0;_0x618470['id']===_0xddc3b0[_0x2e6e25(0x127)]['id']&&_0x3dabb1();});return _0x3dabb1(),()=>{const _0xf0f11a=_0x3c00a0;_0x26cf22[_0xf0f11a(0x2ee)](),_0x4401f5['dispose']();};});}function _0x50347b(_0xb0d395){const _0x5b24be=_0x14788d;var _0x195e92;let _0x9d9dcc=_0xb0d395[_0x5b24be(0x347)](_0x893ff7[_0x5b24be(0x2f4)])['getFocusDrawings']();return _0x9d9dcc[_0x5b24be(0x12a)]===0x1&&((_0x195e92=_0x9d9dcc[0x0])==null?void 0x0:_0x195e92[_0x5b24be(0x22c)])===_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE']?_0x9d9dcc[0x0]:null;}function _0x1fc3b0(_0x36ccca){const _0x709639=_0x14788d;return(_0x36ccca==null?void 0x0:_0x36ccca[_0x709639(0x1e9)])===_0x51ff18[_0x709639(0x2ea)]['WRAP_NONE']?_0x36ccca[_0x709639(0x3ae)]===_0x51ff18[_0x709639(0x277)]['TRUE']?_0x522777[_0x709639(0x306)][_0x709639(0x3b6)]:_0x522777['TextWrappingStyle'][_0x709639(0x28a)]:(_0x36ccca==null?void 0x0:_0x36ccca[_0x709639(0x1e9)])===_0x51ff18[_0x709639(0x2ea)][_0x709639(0x3ad)]?_0x522777['TextWrappingStyle']['WRAP_SQUARE']:(_0x36ccca==null?void 0x0:_0x36ccca['layoutType'])===_0x51ff18['PositionedObjectLayoutType'][_0x709639(0x2e7)]?_0x522777[_0x709639(0x306)][_0x709639(0x2e7)]:_0x522777[_0x709639(0x306)][_0x709639(0x2fd)];}function _0x120ba9(_0x877543){const _0x3fd741=_0x14788d;let _0x584b8e=_0x877543['get'](_0x51ff18[_0x3fd741(0x220)]),_0x540427=_0x877543[_0x3fd741(0x347)](_0x893ff7[_0x3fd741(0x2f4)]),_0x356050=_0x877543[_0x3fd741(0x347)](_0x51ff18[_0x3fd741(0x3bc)]);return new _0x1191c7[(_0x3fd741(0x266))](_0x534d67=>{const _0x4ffb08=_0x3fd741;let _0x33b203=()=>{const _0x681d5e=_0x2ff4;var _0x516c40;let _0x194485=_0x50347b(_0x877543),_0x174f5b=_0x194485?_0x356050['getUnit'](_0x194485[_0x681d5e(0x1b5)],_0x51ff18[_0x681d5e(0x1b6)]['UNIVER_DOC']):void 0x0;_0x534d67[_0x681d5e(0x234)](_0x1fc3b0(_0x194485?_0x174f5b==null||(_0x516c40=_0x174f5b[_0x681d5e(0x27d)]()[_0x681d5e(0x3e2)])==null?void 0x0:_0x516c40[_0x194485[_0x681d5e(0x3f7)]]:void 0x0));},_0x3d7d46=_0x540427[_0x4ffb08(0x301)]['subscribe'](_0x33b203),_0xcc6a6=_0x584b8e[_0x4ffb08(0x3f1)](_0x472b95=>{const _0x231277=_0x4ffb08;_0x472b95['id']===_0x31599d[_0x231277(0x2c9)]['id']&&_0x33b203();});return _0x33b203(),()=>{const _0xf54a05=_0x4ffb08;_0x3d7d46[_0xf54a05(0x2ee)](),_0xcc6a6['dispose']();};})[_0x3fd741(0x32a)]((0x0,_0x1191c7[_0x3fd741(0x235)])());}function _0x339d6f(_0x2f6405,_0x90ec32=!0x1){const _0x52eea2=_0x14788d;let _0x11a857=_0x2f6405[_0x52eea2(0x347)](_0x51ff18[_0x52eea2(0x220)]),_0x539f61=_0x2f6405[_0x52eea2(0x347)](_0x893ff7[_0x52eea2(0x2f4)]),_0x530bda=_0x2f6405[_0x52eea2(0x347)](_0xddc3b0['DocsShapeService']);return new _0x1191c7[(_0x52eea2(0x266))](_0x3bee79=>{const _0x223d3f=_0x52eea2;let _0x2e82a7=()=>{const _0x291455=_0x2ff4;let _0x5eb489=_0x50347b(_0x2f6405);if(!_0x5eb489){_0x3bee79[_0x291455(0x234)](!0x0);return;}let _0xc7af6=_0x530bda[_0x291455(0x325)](_0x5eb489[_0x291455(0x1b5)],_0x5eb489['subUnitId'],_0x5eb489[_0x291455(0x3f7)]);_0x3bee79[_0x291455(0x234)](!_0xc7af6||_0x90ec32&&_0xc7af6[_0x291455(0x37a)]==null);},_0x5f0a74=_0x539f61[_0x223d3f(0x301)][_0x223d3f(0x402)](_0x2e82a7),_0x851be3=_0x11a857[_0x223d3f(0x3f1)](_0x467266=>{const _0x500679=_0x223d3f;_0x467266['id']===_0xddc3b0[_0x500679(0x127)]['id']&&_0x2e82a7();});return _0x2e82a7(),()=>{const _0x1ec9a7=_0x223d3f;_0x5f0a74[_0x1ec9a7(0x2ee)](),_0x851be3[_0x1ec9a7(0x20b)]();};});}function _0x13aaba(_0x297bb1){const _0x4f0b1c=_0x14788d;let _0x6acc80=_0x297bb1[_0x4f0b1c(0x347)](_0x893ff7['IDrawingManagerService']),_0x393316=_0x297bb1['get'](_0xddc3b0['DocsShapeService']);return _0x6acc80[_0x4f0b1c(0x301)][_0x4f0b1c(0x32a)]((0x0,_0x1191c7[_0x4f0b1c(0x1e3)])(_0x6acc80[_0x4f0b1c(0x34e)]()),(0x0,_0x1191c7['map'])(()=>{const _0x1bf3be=_0x4f0b1c;let _0x50f3f0=_0x50347b(_0x297bb1),_0x52da0a=_0x50f3f0?_0x393316[_0x1bf3be(0x417)](_0x50f3f0[_0x1bf3be(0x1b5)],_0x50f3f0[_0x1bf3be(0x151)],_0x50f3f0[_0x1bf3be(0x3f7)]):void 0x0;return _0x52da0a===void 0x0||(0x0,_0x59d795[_0x1bf3be(0xdb)])(_0x52da0a);}));}function _0x55a348(_0x369e4a){const _0x2f806b=_0x14788d;return{'id':_0x4949f5['id'],'type':_0x1f9d09['MenuItemType'][_0x2f806b(0x3cd)],'icon':_0x2f806b(0x188),'title':'shape-editor-ui.toolbar.quickStyles','tooltip':_0x2f806b(0x1c5),'selections':[{'label':{'name':_0x2260b3,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x1bfed9(_0x369e4a),'hidden$':_0x339d6f(_0x369e4a)};}function _0x3525cd(_0x173558){const _0x463376=_0x14788d;return{'id':_0x55fbd0['id'],'type':_0x1f9d09[_0x463376(0x236)][_0x463376(0x3cd)],'icon':'ShapeIcon','title':_0x463376(0x26f),'tooltip':_0x463376(0x26f),'slot':!0x0,'selections':[{'label':{'name':_0x4df77c['SHAPE_CHANGE_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x13aaba(_0x173558)};}function _0x28e730(_0x298352,_0x4e7bfd,_0x132f2c=!0x1){const _0x33652a=_0x14788d;return _0x3e95ee=>({'id':_0x298352,'type':_0x1f9d09[_0x33652a(0x236)][_0x33652a(0x1dc)],'label':{'name':_0x4e7bfd,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x339d6f(_0x3e95ee,_0x132f2c)});}let _0x44955d=_0x28e730(_0x1f4c22,_0x130032),_0x306441=_0x28e730(_0xcb6cf8,_0x1dea17),_0x25dd2f=_0x28e730(_0x1b68b9,_0x5f5cfd,!0x0);function _0x221864(_0x3337e4){const _0x347713=_0x14788d;return{'id':_0x22c792,'type':_0x1f9d09[_0x347713(0x236)][_0x347713(0x3cd)],'icon':_0x3309fe[0x0][_0x347713(0x356)],'label':_0x26b4d2,'selectionsCommandId':_0x522777[_0x347713(0x21e)]['id'],'selections':_0x3309fe[_0x347713(0xf0)](({icon:_0x4cd20a,label:_0x2a84ce,value:_0x523b76})=>({'value':_0x523b76,'label':_0x2a84ce,'icon':_0x4cd20a,'params':()=>{const _0x486a33=_0x347713;let _0x537ac3=_0x50347b(_0x3337e4);return _0x537ac3?{'unitId':_0x537ac3['unitId'],'subUnitId':_0x537ac3['subUnitId'],'drawings':[{'unitId':_0x537ac3[_0x486a33(0x1b5)],'subUnitId':_0x537ac3['subUnitId'],'drawingId':_0x537ac3[_0x486a33(0x3f7)]}],'wrappingStyle':_0x523b76}:void 0x0;}})),'value$':_0x120ba9(_0x3337e4),'hidden$':_0x339d6f(_0x3337e4)};}function _0x448a28(_0x4cc70a,_0x48ebfb,_0x32d950,_0x19e34e){const _0x1d8297=_0x14788d;return _0x595957=>({'id':_0x4cc70a,'commandId':_0x522777[_0x1d8297(0x403)]['id'],'type':_0x1f9d09[_0x1d8297(0x236)][_0x1d8297(0x1dc)],'icon':_0x32d950,'title':_0x19e34e,'tooltip':_0x19e34e,'hidden$':_0x339d6f(_0x595957),'params':()=>{const _0xca2bae=_0x1d8297;let _0x4c3f63=_0x50347b(_0x595957);return _0x4c3f63?{'unitId':_0x4c3f63[_0xca2bae(0x1b5)],'subUnitId':_0x4c3f63[_0xca2bae(0x151)],'drawingIds':[_0x4c3f63['drawingId']],'arrangeType':_0x48ebfb}:void 0x0;}});}let _0x26e18f=_0x448a28(_0x599041,_0x51ff18[_0x14788d(0x426)]['forward'],_0x14788d(0xdd),_0x14788d(0x359)),_0x301c4e=_0x448a28(_0x1bff96,_0x51ff18[_0x14788d(0x426)][_0x14788d(0x416)],_0x14788d(0x3ee),_0x14788d(0x36a)),_0x85e059=_0x448a28(_0x5fb2b1,_0x51ff18['ArrangeTypeEnum'][_0x14788d(0x2fc)],_0x14788d(0x135),'shape-editor-ui.arrange.front'),_0x5d0edd=_0x448a28(_0x1c02fb,_0x51ff18[_0x14788d(0x426)][_0x14788d(0x27e)],_0x14788d(0xe3),_0x14788d(0x29b));function _0xa1fc84(_0x5f27b6){const _0x372691=_0x14788d;let _0xa023ee=_0x5f27b6[_0x372691(0x347)](_0x1f9d09[_0x372691(0x3b8)]);return{'activated$':(0x0,_0x1191c7['defer'])(()=>_0xa023ee[_0x372691(0x15b)][_0x372691(0x32a)]((0x0,_0x1191c7[_0x372691(0x1e3)])(_0xa023ee[_0x372691(0x373)]),(0x0,_0x1191c7[_0x372691(0xf0)])(_0x24d9af=>_0x24d9af[_0x372691(0x2dd)]===!0x0&&_0x24d9af['id']==='doc.shape.edit.panel'),(0x0,_0x1191c7[_0x372691(0x235)])())),'id':_0x38c6c0['id'],'type':_0x1f9d09[_0x372691(0x236)]['BUTTON'],'icon':_0x372691(0x282),'title':_0x372691(0x379),'tooltip':_0x372691(0x379),'hidden$':_0x339d6f(_0x5f27b6),'params':()=>{const _0x303af7=_0x372691;let _0x5627ee=_0x50347b(_0x5f27b6);return _0x5627ee?{'unitId':_0x5627ee[_0x303af7(0x1b5)],'subUnitId':_0x5627ee[_0x303af7(0x151)],'drawingId':_0x5627ee[_0x303af7(0x3f7)]}:void 0x0;}};}let _0x31d4d4={[_0x1f9d09[_0x14788d(0x31d)]['RIBBON']]:{[_0x51acc9]:{'order':0x64,'title':_0x14788d(0x379),'contextual':!0x0,'docs-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x4949f5['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x55a348},[_0x55fbd0['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x3525cd}},'docs-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x1f4c22]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x44955d}},'docs-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0xcb6cf8]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x306441}},'docs-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x22c792]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x221864},[_0x599041]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x26e18f},[_0x1bff96]:{'order':0x2,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x301c4e},[_0x5fb2b1]:{'order':0x3,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x85e059},[_0x1c02fb]:{'order':0x4,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x5d0edd}},'docs-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0x1b68b9]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0x25dd2f}},'docs-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x38c6c0['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0xa1fc84},[_0x4df77c[_0x14788d(0x2bf)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4df77c['ShapeFloatingToolbarToggleFactory']}}}}},_0x4b53ac={[_0x1f9d09[_0x14788d(0x232)]['MEDIA']]:{[_0x26e47b['id']]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0xb5478=>({..._0x1329c0(_0xb5478),'title':void 0x0})}},[_0x1f9d09[_0x14788d(0x232)][_0x14788d(0x2a6)]]:{[_0x132c8f['id']]:{'order':0x1,'gridLayout':{'row':0x1,'column':0x2,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x9249e8}},[_0x1f9d09[_0x14788d(0x13a)][_0x14788d(0x136)]]:{[_0x1f9d09[_0x14788d(0x17d)][_0x14788d(0x222)]]:{[_0x25d652[_0x14788d(0x3a9)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43561a}}},[_0x25d652['DOC_CONTENT_INSERT_MENU_ID']]:{[_0x1f9d09[_0x14788d(0x17d)][_0x14788d(0x222)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x43561a}}},[_0x25d652[_0x14788d(0x1ac)]]:{[_0x1f9d09['ContextMenuGroup'][_0x14788d(0x222)]]:{[_0x26e47b['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':_0x197c8e}}},[_0x25d652[_0x14788d(0x26d)]]:{'insert':{[_0x26e47b['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x1329c0}}},[_0x25d652[_0x14788d(0x2ce)]]:{'insert':{[_0x26e47b['id']+_0x14788d(0x2c0)]:{'replace':!0x0,'order':0x2,'menuItemFactory':_0x43561a}}}}};var _0xdb48a4=_0x14788d(0x260),_0x1ddf68=_0x14788d(0x3cf);let _0xd2094f={'type':_0x51ff18[_0x14788d(0x321)][_0x14788d(0x327)],'id':_0x14788d(0x1bf),'handler'(){return!0x0;}},_0x302969=_0x14788d(0x28e),_0x13f191={};function _0x32131c(_0x3a4dea){'@babel/helpers - typeof';const _0x1b1aa=_0x14788d;return _0x32131c=typeof Symbol==_0x1b1aa(0x298)&&typeof Symbol['iterator']=='symbol'?function(_0x2e3f1f){return typeof _0x2e3f1f;}:function(_0x3efe4b){const _0x2a4431=_0x1b1aa;return _0x3efe4b&&typeof Symbol==_0x2a4431(0x298)&&_0x3efe4b[_0x2a4431(0x328)]===Symbol&&_0x3efe4b!==Symbol['prototype']?_0x2a4431(0x311):typeof _0x3efe4b;},_0x32131c(_0x3a4dea);}function _0x28a6c9(_0x549e03,_0x50cf27){const _0x1df730=_0x14788d;if(_0x32131c(_0x549e03)!=_0x1df730(0x3a8)||!_0x549e03)return _0x549e03;var _0x399cbb;if(typeof Symbol<'u'&&(_0x399cbb=_0x549e03[Symbol['toPrimitive']])!==void 0x0){var _0x5950a8=_0x399cbb[_0x1df730(0x3de)](_0x549e03,_0x50cf27||_0x1df730(0x27c));if(_0x32131c(_0x5950a8)!=_0x1df730(0x3a8))return _0x5950a8;throw TypeError(_0x1df730(0x2b2));}return(_0x50cf27==='string'?String:Number)(_0x549e03);}function _0xaae9b2(_0x5b1128){const _0x39258c=_0x14788d;var _0x2a1d44=_0x28a6c9(_0x5b1128,_0x39258c(0x415));return _0x32131c(_0x2a1d44)==_0x39258c(0x311)?_0x2a1d44:_0x2a1d44+'';}function _0x30c9f5(_0x1128b6,_0x1c2f8e,_0x172686){const _0x362af6=_0x14788d;return(_0x1c2f8e=_0xaae9b2(_0x1c2f8e))in _0x1128b6?Object[_0x362af6(0x2f3)](_0x1128b6,_0x1c2f8e,{'value':_0x172686,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1128b6[_0x1c2f8e]=_0x172686,_0x1128b6;}var _0x2fda31=class extends _0x164900[_0x14788d(0x13c)]{constructor(_0x35ec04,_0x2d2fab){const _0x3d4c31=_0x14788d;super(_0x35ec04,_0x2d2fab),_0x30c9f5(this,_0x3d4c31(0x1ff),null),_0x30c9f5(this,'_adjName',null),_0x30c9f5(this,'_unitId',null),_0x30c9f5(this,_0x3d4c31(0x357),null),_0x2d2fab&&this['setShapeProps'](_0x2d2fab);}[_0x14788d(0x37f)](){const _0x5a84a8=_0x14788d;return{'unitId':this['_unitId'],'subUnitId':this[_0x5a84a8(0x357)],'drawingId':this[_0x5a84a8(0x1ff)]};}[_0x14788d(0x3e7)](_0x3182bd){const _0x587e1d=_0x14788d;_0x3182bd[_0x587e1d(0x344)]!==void 0x0&&(this['_shapeId']=_0x3182bd['shapeId']),_0x3182bd[_0x587e1d(0x2cf)]!==void 0x0&&(this[_0x587e1d(0x400)]=_0x3182bd[_0x587e1d(0x2cf)]),_0x3182bd[_0x587e1d(0x1b5)]!==void 0x0&&(this['_unitId']=_0x3182bd[_0x587e1d(0x1b5)]),_0x3182bd[_0x587e1d(0x151)]!==void 0x0&&(this[_0x587e1d(0x357)]=_0x3182bd[_0x587e1d(0x151)]),this[_0x587e1d(0x229)]({'width':_0x3182bd[_0x587e1d(0x11a)],'height':_0x3182bd[_0x587e1d(0x346)]});}[_0x14788d(0x3d0)](_0x14b05c){const _0x4544e1=_0x14788d;_0x164900[_0x4544e1(0x29e)]['drawWith'](_0x14b05c,{'radius':_0x59d795['ShapeDefaultConfig'][_0x4544e1(0xd8)],'fill':_0x59d795[_0x4544e1(0x248)]['adjHandleFill'],'stroke':_0x59d795['ShapeDefaultConfig']['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};function _0x3a9531(_0x233407,_0x225943,_0x31ea66){const _0x3b5fcc=_0x14788d;let _0x1d29a1={..._0x225943,'dataModel':{..._0x225943[_0x3b5fcc(0x394)]??{},..._0x31ea66?{'doc':_0x31ea66}:null}},_0x1c5019=(0x0,_0x4df77c[_0x3b5fcc(0x287)])(_0x233407,_0x1d29a1),_0x3846e7=(0x0,_0x4df77c['resolveShapeTextEditorWrapStrategy'])(_0x1c5019);return{'clip':(0x0,_0x4df77c[_0x3b5fcc(0x354)])(_0x1c5019,_0x3846e7),'wrapStrategy':_0x3846e7};}var _0x5d2ab8=class extends _0x164900['Shape']{constructor(_0x392281,_0x220dae){const _0xeb7bee=_0x14788d;super(_0x392281,_0x220dae),_0x30c9f5(this,_0xeb7bee(0x139),[]),_0x30c9f5(this,'_props',void 0x0),_0x30c9f5(this,'_formulaAnimation',new _0x4df77c['FormulaShapeAnimationController'](()=>this[_0xeb7bee(0x41f)](!0x0),()=>this[_0xeb7bee(0x381)]())),_0x30c9f5(this,_0xeb7bee(0x209),!0x0),_0x30c9f5(this,'_drawingType',_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE']),_0x30c9f5(this,_0xeb7bee(0x1c7),!0x0),this['_props']={..._0x220dae},this['_formulaAnimation'][_0xeb7bee(0x279)](_0x220dae[_0xeb7bee(0x41a)],_0x220dae['animateFormulaPresentation']!==!0x1),this[_0xeb7bee(0x108)](),this[_0xeb7bee(0x381)]();}[_0x14788d(0x108)](){const _0x59d073=_0x14788d;this[_0x59d073(0x1f7)][_0x59d073(0x3e0)](_0x598ea1=>{const _0x33699a=_0x59d073;this[_0x33699a(0x2d7)](_0x598ea1);});}[_0x14788d(0x2f6)](_0x125639){const _0x54181a=_0x14788d;this[_0x54181a(0x164)]['prstGeom']=_0x125639;}[_0x14788d(0x2a9)](_0x5383cd){const _0xed7081=_0x14788d;if(this[_0xed7081(0x164)][_0xed7081(0x1cc)])return null;let _0xf2e70b=this[_0xed7081(0x138)](_0x5383cd),{width:_0x4ce6bd,height:_0x4efcb4}=this[_0xed7081(0x3a6)]();return(0x0,_0x4df77c[_0xed7081(0x393)])(this[_0xed7081(0x139)],{'x':(this['flipX']?-_0xf2e70b['x']:_0xf2e70b['x'])+_0x4ce6bd/0x2,'y':_0xf2e70b['y']+_0x4efcb4/0x2});}[_0x14788d(0x11e)](_0x17231f){const _0x374789=_0x14788d;this[_0x374789(0x164)][_0x374789(0x1cc)]=_0x17231f,this[_0x374789(0x41f)](!0x0);}[_0x14788d(0x114)](_0x1e4f5,_0x5d8d41=!0x0){const _0x1a8374=_0x14788d;this[_0x1a8374(0x22a)]['setPresentation'](_0x1e4f5,_0x5d8d41),this['_props'][_0x1a8374(0x41a)]=_0x1e4f5,this[_0x1a8374(0x381)](),this[_0x1a8374(0x41f)](!0x0);}[_0x14788d(0x381)](){const _0x176802=_0x14788d;let _0x26c850=this[_0x176802(0x164)][_0x176802(0x30e)],_0x590edd=_0x26c850['getShapeTextData'](),_0x5d4dbe=(0x0,_0x4df77c[_0x176802(0x42a)])(_0x590edd==null?void 0x0:_0x590edd[_0x176802(0x394)]),_0x3b6c80=_0x5d4dbe==null?void 0x0:_0x5d4dbe['doc'],_0x4f5b50=this[_0x176802(0x22a)][_0x176802(0x3d7)]();if(!_0x3b6c80||_0x4f5b50[_0x176802(0x12a)]===0x0)return;_0x26c850[_0x176802(0x118)]({'width':this['width'],'height':this[_0x176802(0x346)]});let _0x2a718e=(0x0,_0x4df77c['resolveFormulaShapeAutoFitSize'])({'documentData':_0x4f5b50['map'](_0x16734b=>(0x0,_0x4e08a0[_0x176802(0x407)])(_0x3b6c80,_0x16734b)),'height':this['height'],'shapeData':_0x26c850['getShapeData'](),'textRect':_0x26c850['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x176802(0x11a)],'height':this['height']}),'width':this[_0x176802(0x11a)]});if(_0x2a718e){var _0x3f1830;this['resize'](_0x2a718e['width'],_0x2a718e[_0x176802(0x346)]),(_0x3f1830=this['getScene']())==null||(_0x3f1830=_0x3f1830['getTransformer']())==null||_0x3f1830[_0x176802(0x1a7)]();}}get['unitId'](){const _0x148e1e=_0x14788d;return this[_0x148e1e(0x164)][_0x148e1e(0x1b5)];}get[_0x14788d(0x151)](){const _0xfa38ec=_0x14788d;return this[_0xfa38ec(0x164)][_0xfa38ec(0x151)];}[_0x14788d(0x2d7)](_0x439c71){const _0x2e1fc0=_0x14788d;if(this['_props'][_0x2e1fc0(0x358)]==null||!this[_0x2e1fc0(0x209)])return;let {width:_0x1bdf96,height:_0x2d8db7}=this,{width:_0x4b383f=0x0,height:_0x28a7c3=0x0}=_0x439c71[_0x2e1fc0(0xd7)],{left:_0x79e263=0x0,top:_0x2fdec9=0x0,right:_0x5dd939=0x0,bottom:_0xc27efa=0x0}=this['_props'][_0x2e1fc0(0x358)],_0x929ab6=_0x79e263,_0x3a0e91=_0x2fdec9,_0x39ccc8=_0x5dd939,_0x7ad67a=_0xc27efa,_0x59a531=!0x1;if(_0x4b383f!==0x0&&_0x4b383f!==_0x1bdf96){let _0x1e0e4e=_0x79e263/_0x4b383f,_0x9183a4=_0x5dd939/_0x4b383f;_0x929ab6=_0x1bdf96*_0x1e0e4e,_0x39ccc8=_0x1bdf96*_0x9183a4,_0x59a531=!0x0;}if(_0x28a7c3!==0x0&&_0x28a7c3!==_0x2d8db7){let _0x4afb78=_0x2fdec9/_0x28a7c3,_0x2d5882=_0xc27efa/_0x28a7c3;_0x3a0e91=_0x2d8db7*_0x4afb78,_0x7ad67a=_0x2d8db7*_0x2d5882,_0x59a531=!0x0;}_0x59a531&&this[_0x2e1fc0(0xc9)]({'left':_0x929ab6,'top':_0x3a0e91,'right':_0x39ccc8,'bottom':_0x7ad67a});}[_0x14788d(0xc9)](_0x299879){const _0x58ff8b=_0x14788d;this[_0x58ff8b(0x164)][_0x58ff8b(0x358)]=_0x299879,this[_0x58ff8b(0x41f)](!0x0);}[_0x14788d(0x316)](_0x473f72){const _0x465e59=_0x14788d;this[_0x465e59(0x164)]['image']=_0x473f72,this[_0x465e59(0x41f)](!0x0);}set[_0x14788d(0x362)](_0x56790b){this['_transform']=_0x56790b;}get[_0x14788d(0x362)](){const _0x4feab9=_0x14788d;this[_0x4feab9(0x9e)]||this[_0x4feab9(0x305)]();let _0x3a64dd=this[_0x4feab9(0x9e)][_0x4feab9(0x320)]();return this[_0x4feab9(0x2e0)](_0x3a64dd);}get[_0x14788d(0x30e)](){const _0x4a30f9=_0x14788d;return this['_props'][_0x4a30f9(0x30e)];}get[_0x14788d(0x344)](){const _0x5026c3=_0x14788d;return this['_props'][_0x5026c3(0x344)];}get['classType'](){const _0xb92670=_0x14788d;return _0x164900[_0xb92670(0x243)]['SHAPE'];}[_0x14788d(0x3d0)](_0xa00e1a,_0x4d688a,_0x3e3bad,_0x1d2236){const _0x2f576b=_0x14788d;let _0x498f99=this['_props'][_0x2f576b(0x30e)];if(!_0x498f99||!_0x4d688a)return;let _0x8dc921=_0x3e3bad??this[_0x2f576b(0x11a)],_0x28d04a=_0x1d2236??this[_0x2f576b(0x346)],_0x3bb9fe={'shapeType':_0x498f99[_0x2f576b(0x18d)](),'width':_0x8dc921,'height':_0x28d04a},_0x3676ec={'renderMode':_0x59d795[_0x2f576b(0x224)][_0x2f576b(0xed)],'oKey':this['oKey'],'image':this[_0x2f576b(0x164)]['image'],'angle':this[_0x2f576b(0x163)]};_0x498f99[_0x2f576b(0x118)](_0x3bb9fe),_0xa00e1a[_0x2f576b(0xe8)]();let _0x383b28={'top':0x0,'left':0x0,'width':_0x8dc921,'height':_0x28d04a},_0x32eea1=_0x498f99[_0x2f576b(0x2f5)](_0x383b28);_0x32eea1?this[_0x2f576b(0x42b)](_0xa00e1a,_0x32eea1,_0x321e52=>{const _0x227059=_0x2f576b;_0x498f99[_0x227059(0x1d9)](_0x321e52,_0x383b28,_0x3676ec);}):(this[_0x2f576b(0x37b)](),_0x498f99['render'](_0xa00e1a,_0x383b28,_0x3676ec)),_0xa00e1a[_0x2f576b(0x265)]();let _0x122275=_0x498f99[_0x2f576b(0x290)](),_0x565fd5=_0x498f99[_0x2f576b(0x194)](_0x383b28),_0x4f797a=_0x498f99[_0x2f576b(0xab)]();if(_0x122275&&_0x565fd5&&!_0x4f797a){_0xa00e1a[_0x2f576b(0xe8)](),this[_0x2f576b(0x166)]()['flipX']&&_0xa00e1a[_0x2f576b(0x33b)](-0x1,0x1);let _0x44dab6=_0x8dc921/0x2,_0x1a3f2b=_0x28d04a/0x2;_0xa00e1a['translate'](-_0x44dab6,-_0x1a3f2b),_0xa00e1a[_0x2f576b(0xaa)](),this[_0x2f576b(0x411)](_0xa00e1a,_0x122275,_0x565fd5),_0xa00e1a['restore']();}}[_0x14788d(0x28c)](_0x2d6f9d){}[_0x14788d(0x411)](_0x2e4396,_0x3c883d,_0x42a17e){const _0x3bfb6c=_0x14788d;var _0x47988a;this['_hyperLinkRegions']=[],this[_0x3bfb6c(0x164)][_0x3bfb6c(0x1cc)]||(!((_0x47988a=_0x3c883d['dataModel'])!=null&&_0x47988a[_0x3bfb6c(0x35f)])&&_0x3bfb6c(0x38c)in _0x3c883d&&_0x3c883d[_0x3bfb6c(0x38c)]===!0x1?this[_0x3bfb6c(0x2f0)](_0x2e4396,_0x3c883d,_0x42a17e):this[_0x3bfb6c(0xb5)](_0x2e4396,_0x3c883d,_0x42a17e));}['_drawSimpleText'](_0x58b43d,_0x504905,_0x34f7bb){const _0x5b1511=_0x14788d;this['_drawRichText'](_0x58b43d,{..._0x504905,'text':_0x504905[_0x5b1511(0x21a)]??'','dataModel':{'doc':(0x0,_0x4df77c[_0x5b1511(0x141)])(_0x504905,_0x5b1511(0x3a1)+this[_0x5b1511(0xf9)])}},_0x34f7bb);}['_drawRichText'](_0x1b8e36,_0x3c56e3,_0x51e0f4){const _0x3fab1b=_0x14788d;(0x0,_0x4df77c[_0x3fab1b(0x119)])(_0x1b8e36,this[_0x3fab1b(0x22a)],(_0x24b011,_0x41ce3d,_0x526478)=>{const _0x202092=_0x3fab1b;this[_0x202092(0x324)](_0x24b011,_0x3c56e3,_0x51e0f4,_0x41ce3d,_0x526478==='current');});}['_drawRichTextLayer'](_0x3339e1,_0x24358e,_0x564884,_0x30146b,_0x4aa3bd){const _0x39e539=_0x14788d;let _0x8d038a=this['_props'][_0x39e539(0x1fe)];if(!_0x24358e['dataModel']||!_0x8d038a){_0x8d038a||console['warn'](_0x39e539(0x1ec));return;}let _0x450393=(0x0,_0x4df77c['normalizeShapeTextModel'])(_0x24358e[_0x39e539(0x394)]);if(!_0x450393)return;let _0x5963d7=_0x450393['doc'];if(!_0x5963d7)return;let _0x596cf1=(0x0,_0x4e08a0[_0x39e539(0x407)])(_0x5963d7,_0x30146b),_0x834a46=_0x450393['va']??_0x51ff18[_0x39e539(0x189)][_0x39e539(0x309)],_0x98ebdb=_0x450393['ha']??_0x51ff18[_0x39e539(0x2e8)][_0x39e539(0x3dd)],_0x42e81b=_0x3a9531(this[_0x39e539(0x164)][_0x39e539(0x30e)]['getShapeData'](),_0x24358e,_0x596cf1),_0x506134=_0x24358e['isHorizontal'],_0x28c52b=(0x0,_0x4df77c[_0x39e539(0x3cc)])(_0x596cf1,{'isHorizontal':_0x506134!==!0x1,'textRect':_0x564884,'verticalAlign':_0x834a46,'horizontalAlign':_0x98ebdb,'wrapStrategy':_0x42e81b[_0x39e539(0x110)]}),_0x11a0a0=new _0x51ff18[(_0x39e539(0x3ab))](_0x28c52b),_0x8b29d=new _0x164900[(_0x39e539(0x2f7))](_0x11a0a0),_0x1f6bfe=_0x164900['DocumentSkeleton'][_0x39e539(0x366)](_0x8b29d,_0x8d038a);_0x1f6bfe[_0x39e539(0x267)]();let _0x4d7a5b=_0x1f6bfe[_0x39e539(0x197)]()[_0x39e539(0x3d2)],_0x5714c7=(0x0,_0x4df77c[_0x39e539(0xad)])({'contentHeight':_0x4d7a5b,'verticalAlign':_0x834a46,'viewportHeight':_0x564884[_0x39e539(0x346)]});_0x11a0a0[_0x39e539(0x3f4)]({'pageSize':{'width':_0x506134===!0x1?_0x564884['height']:_0x564884[_0x39e539(0x11a)],'height':(0x0,_0x4df77c['resolveShapeTextDocumentPageHeight'])(_0x596cf1,_0x5714c7['contentHeight'])}}),_0x11a0a0[_0x39e539(0xe4)]({'t':_0x5714c7[_0x39e539(0xca)]}),_0x1f6bfe[_0x39e539(0x267)]();let _0x1a38fc=new _0x164900[(_0x39e539(0x3bf))](_0x39e539(0x120)+this[_0x39e539(0xf9)],_0x1f6bfe,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x1a38fc[_0x39e539(0x3f3)](_0x564884[_0x39e539(0x11a)],_0x5714c7[_0x39e539(0x1f1)]),_0x3339e1[_0x39e539(0xe8)](),_0x3339e1['translateWithPrecision'](_0x564884['left'],_0x564884['top']),_0x42e81b[_0x39e539(0x225)]&&(_0x3339e1[_0x39e539(0xaa)](),_0x3339e1[_0x39e539(0x2b5)](0x0,_0x5714c7[_0x39e539(0x342)],_0x564884[_0x39e539(0x11a)],_0x5714c7[_0x39e539(0x34f)]),_0x3339e1[_0x39e539(0x225)]()),_0x5714c7['contentVerticalOffset']&&_0x3339e1[_0x39e539(0xaf)](0x0,_0x5714c7[_0x39e539(0xc0)]),_0x1a38fc[_0x39e539(0x10a)](_0x3339e1),_0x4aa3bd&&(this[_0x39e539(0x139)]=(0x0,_0x4df77c['createShapeTextHyperLinkRegions'])(_0x1a38fc,{'left':_0x564884[_0x39e539(0x1c3)],'top':_0x564884[_0x39e539(0x24f)]+_0x5714c7[_0x39e539(0xc0)]},_0x42e81b['clip']?{'left':_0x564884[_0x39e539(0x1c3)],'right':_0x564884[_0x39e539(0x1c3)]+_0x564884['width'],'top':_0x564884[_0x39e539(0x24f)]+_0x5714c7[_0x39e539(0x342)],'bottom':_0x564884['top']+_0x5714c7['clipTop']+_0x5714c7[_0x39e539(0x34f)]}:void 0x0)),_0x3339e1['restore'](),_0x1a38fc[_0x39e539(0x20b)](),_0x1f6bfe[_0x39e539(0x20b)](),_0x8b29d['dispose'](),_0x11a0a0['dispose']();}['render'](_0x2d741f,_0x42ab6b,_0x244d90=!0x1){const _0x5c7ab4=_0x14788d;if(!this['visible'])return this[_0x5c7ab4(0x41f)](!0x1),this;let {width:_0x18a93d,height:_0x28263c,left:_0x53cf6f,top:_0x104814}=this,_0x282709=this['getRealBound']();if(_0x18a93d=_0x282709[_0x5c7ab4(0x11a)],_0x28263c=_0x282709['height'],_0x53cf6f=_0x282709[_0x5c7ab4(0x1c3)],_0x104814=_0x282709['top'],this['isRender'](_0x42ab6b)){let {top:_0x1bd637,left:_0x7d4983,bottom:_0x41b032,right:_0xf68336}=_0x42ab6b[_0x5c7ab4(0x350)];if(_0x18a93d+this[_0x5c7ab4(0x256)]+_0x53cf6f<_0x7d4983||_0xf68336<_0x53cf6f||_0x28263c+this[_0x5c7ab4(0x256)]+_0x104814<_0x1bd637||_0x41b032<_0x104814)return this;}let _0x133e4f=_0x53cf6f+_0x18a93d/0x2,_0x4b0b74=_0x104814+_0x28263c/0x2,_0x1ed36a=this[_0x5c7ab4(0x362)][_0x5c7ab4(0x343)]();if(this[_0x5c7ab4(0x164)][_0x5c7ab4(0x1cc)]){let _0x7125e=this['getState'](),_0x17004b=new _0x164900[(_0x5c7ab4(0x387))]();_0x17004b[_0x5c7ab4(0xce)]({..._0x7125e}),_0x1ed36a=_0x17004b[_0x5c7ab4(0x343)]();}return _0x2d741f[_0x5c7ab4(0xe8)](),this[_0x5c7ab4(0x164)][_0x5c7ab4(0x30e)][_0x5c7ab4(0x115)]===!0x0||_0x2d741f['transform'](_0x1ed36a[0x0],_0x1ed36a[0x1],_0x1ed36a[0x2],_0x1ed36a[0x3],_0x133e4f,_0x4b0b74),this[_0x5c7ab4(0x3d0)](_0x2d741f,_0x42ab6b,_0x18a93d,_0x28263c),_0x2d741f[_0x5c7ab4(0x265)](),this[_0x5c7ab4(0x41f)](!0x1),this;}[_0x14788d(0x138)](_0x37e457){const _0x565fbc=_0x14788d;let {left:_0x318b49,top:_0x3647b7,width:_0x51d378,height:_0x2814e9}=this[_0x565fbc(0x3a6)](),_0x27471b=this[_0x565fbc(0x362)][_0x565fbc(0x343)](),_0xae778e=_0x318b49+_0x51d378/0x2,_0xd3b632=_0x3647b7+_0x2814e9/0x2,_0x285436=new _0x164900[(_0x565fbc(0x387))]([_0x27471b[0x0],_0x27471b[0x1],_0x27471b[0x2],_0x27471b[0x3],_0xae778e,_0xd3b632]),_0x5ba59c=this[_0x565fbc(0x250)]();return(this[_0x565fbc(0x291)]&&(_0x5ba59c==null?void 0x0:_0x5ba59c[_0x565fbc(0x237)])===_0x164900['RENDER_CLASS_TYPE']['GROUP']?_0x5ba59c[_0x565fbc(0x302)][_0x565fbc(0x112)](_0x285436):_0x285436)[_0x565fbc(0x20d)]()[_0x565fbc(0x206)](_0x37e457);}['isHit'](_0x183a1d){const _0x350714=_0x14788d;let {left:_0x2c2491,top:_0x477145,width:_0x231ad5,height:_0x453f2f}=this[_0x350714(0x3a6)](),_0xdf66ff=_0x2c2491+_0x231ad5/0x2,_0x14dd9f=_0x477145+_0x453f2f/0x2,_0x44b318=this[_0x350714(0x362)]['getMatrix'](),_0x361107=new _0x164900[(_0x350714(0x387))]([_0x44b318[0x0],_0x44b318[0x1],_0x44b318[0x2],_0x44b318[0x3],_0xdf66ff,_0x14dd9f]),_0x121b92=this['getParent'](),_0x23079a=(this[_0x350714(0x291)]&&(_0x121b92==null?void 0x0:_0x121b92[_0x350714(0x237)])===_0x164900['RENDER_CLASS_TYPE'][_0x350714(0x36e)]?_0x121b92[_0x350714(0x302)][_0x350714(0x112)](_0x361107):_0x361107)[_0x350714(0x20d)]()[_0x350714(0x206)](_0x183a1d),_0x551506=_0x231ad5/0x2,_0x3a1806=_0x453f2f/0x2,_0x54dbab=this[_0x350714(0x164)][_0x350714(0x30e)];return _0x54dbab&&_0x54dbab[_0x350714(0xab)]()?_0x54dbab['isHitLine'](_0x23079a['x'],_0x23079a['y'],_0x231ad5,_0x453f2f):_0x23079a['x']>=-_0x551506-this['strokeWidth']/0x2&&_0x23079a['x']<=_0x551506+this[_0x350714(0x256)]/0x2&&_0x23079a['y']>=-_0x3a1806-this[_0x350714(0x256)]/0x2&&_0x23079a['y']<=_0x3a1806+this[_0x350714(0x256)]/0x2;}['dispose'](){const _0x35d3f6=_0x14788d;this[_0x35d3f6(0x22a)][_0x35d3f6(0x20b)](),this[_0x35d3f6(0x164)][_0x35d3f6(0x30e)]=null,super[_0x35d3f6(0x20b)]();}};let _0x40c79a=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x436b6e,_0x27d36f,_0x5398bd,_0x8c0b30){const _0x338293=_0x14788d;super(),this['_context']=_0x436b6e,this[_0x338293(0x39e)]=_0x27d36f,this[_0x338293(0xf2)]=_0x5398bd,this[_0x338293(0x22f)]=_0x8c0b30,_0x30c9f5(this,'_activeShapeId',null),_0x30c9f5(this,_0x338293(0x30c),null),_0x30c9f5(this,_0x338293(0x357),null),_0x30c9f5(this,'_activeShapeAdjustPointList',void 0x0),_0x30c9f5(this,_0x338293(0x35e),[]),_0x30c9f5(this,_0x338293(0x12d),0x0),_0x30c9f5(this,'_baseShapeTop',0x0),_0x30c9f5(this,_0x338293(0xff),0x0),_0x30c9f5(this,_0x338293(0x1ed),0x0),_0x30c9f5(this,'_isStartAdjusting',!0x1),_0x30c9f5(this,_0x338293(0x401),!0x1),_0x30c9f5(this,_0x338293(0x1e6),void 0x0),_0x30c9f5(this,_0x338293(0x2b0),void 0x0),_0x30c9f5(this,'_adjHandlerPointerMove',void 0x0),_0x30c9f5(this,_0x338293(0x9d),void 0x0),this[_0x338293(0x162)](),this[_0x338293(0xae)]();}[_0x14788d(0x312)](){this['_clearShapeAdjustControls']();}[_0x14788d(0x261)](){const _0x297887=_0x14788d;this[_0x297887(0x10e)](!0x0);}['_getShapeAdjustPointListById'](_0x4220c7,_0xb6db8b,_0x48c849){const _0x3e3ff4=_0x14788d;var _0x4915b6;return(_0x4915b6=this['_docsShapeService'][_0x3e3ff4(0x11b)](_0x4220c7,_0xb6db8b,_0x48c849))==null?void 0x0:_0x4915b6['getDrawingPoints']();}[_0x14788d(0x153)](_0x4356b3,_0x585eb0,_0x32fd68,_0x333048){const _0x3256ce=_0x14788d;var _0x384590;return(_0x384590=this[_0x3256ce(0xf2)]['getShapeModel'](_0x4356b3,_0x585eb0,_0x32fd68))==null?void 0x0:_0x384590[_0x3256ce(0x39f)](_0x333048);}[_0x14788d(0x29d)](){const _0x3560c6=_0x14788d;return this[_0x3560c6(0x30c)]===null||this['_subUnitId']===null||this['_activeShapeId']===null?null:this[_0x3560c6(0x39e)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x3560c6(0x357)],'drawingId':this[_0x3560c6(0x172)]})??null;}['_getActiveDrawingShape'](_0x30f13d){const _0x1c483b=_0x14788d;if(this[_0x1c483b(0x30c)]===null||this['_subUnitId']===null||this[_0x1c483b(0x172)]===null)return null;let _0x206dd3=(0x0,_0x893ff7[_0x1c483b(0x3d4)])({'unitId':this[_0x1c483b(0x30c)],'subUnitId':this[_0x1c483b(0x357)],'drawingId':this[_0x1c483b(0x172)]}),_0x359745=_0x30f13d[_0x1c483b(0xa5)](_0x206dd3);return _0x359745 instanceof _0x5d2ab8?_0x359745:null;}['_createShapeAdjustControls'](_0x3b1083=!0x1){const _0x27d51d=_0x14788d;if(this[_0x27d51d(0x30c)]===null||this['_subUnitId']===null||this[_0x27d51d(0x172)]===null)return;let _0x2fc11a=this[_0x27d51d(0x29d)]();if((_0x2fc11a==null?void 0x0:_0x2fc11a[_0x27d51d(0x22c)])!==_0x51ff18[_0x27d51d(0x1d4)]['DRAWING_SHAPE']||!_0x2fc11a[_0x27d51d(0x362)])return;let _0x5a577e=this['_docsShapeService'][_0x27d51d(0x11b)](this[_0x27d51d(0x30c)],this[_0x27d51d(0x357)],this[_0x27d51d(0x172)]);if(!_0x5a577e||_0x5a577e[_0x27d51d(0xab)]())return;let {left:_0x4141cb=0x0,top:_0x57cf0b=0x0,width:_0x4e6b45=0x0,height:_0x132bfc=0x0,flipX:_0x1ac21a,flipY:_0x5c5700,angle:_0x118a0b=0x0}=_0x2fc11a[_0x27d51d(0x362)];(_0x3b1083||!this['_activeShapeAdjustPointList'])&&(_0x5a577e[_0x27d51d(0x118)]({'width':_0x4e6b45,'height':_0x132bfc}),this['_activeShapeAdjustPointList']=_0x5a577e[_0x27d51d(0x28c)]());let _0x533276=this[_0x27d51d(0x37e)];if(!(_0x533276!=null&&_0x533276[_0x27d51d(0x12a)]))return;let {scene:_0xbd262}=this[_0x27d51d(0x2d0)];for(let _0x52a1cd of _0x533276){let _0x30f2ed=this[_0x27d51d(0x280)](_0x52a1cd,_0x4e6b45,_0x132bfc,!!_0x1ac21a,!!_0x5c5700,_0x118a0b);this['_addShapeAdjustControl'](_0xbd262,_0x30f2ed,_0x30f2ed[_0x27d51d(0x2cf)],_0x4141cb,_0x57cf0b,this['_unitId'],this[_0x27d51d(0x357)]);}}[_0x14788d(0x280)](_0x48a4d6,_0x240dc9,_0x4e8161,_0x4bf847,_0x339b5f,_0x3d0f3f){const _0x23a9ad=_0x14788d;let _0xa777be=_0x48a4d6['x'],_0xdb142b=_0x48a4d6['y'];if(_0x4bf847&&(_0xa777be=_0x240dc9-_0xa777be),_0x339b5f&&(_0xdb142b=_0x4e8161-_0xdb142b),_0x3d0f3f!==0x0){let _0x108c20=_0x240dc9/0x2,_0x5e35d7=_0x4e8161/0x2,_0x4407f2=_0x3d0f3f*Math['PI']/0xb4,_0x21ff10=Math[_0x23a9ad(0x15e)](_0x4407f2),_0x3c7671=Math[_0x23a9ad(0x29f)](_0x4407f2),_0x1c975e=_0xa777be-_0x108c20,_0x487e0e=_0xdb142b-_0x5e35d7;_0xa777be=_0x108c20+(_0x1c975e*_0x21ff10-_0x487e0e*_0x3c7671),_0xdb142b=_0x5e35d7+(_0x1c975e*_0x3c7671+_0x487e0e*_0x21ff10);}return{'x':_0xa777be,'y':_0xdb142b,'adjName':_0x48a4d6[_0x23a9ad(0x2cf)]};}[_0x14788d(0x10e)](_0x5d43a5=!0x1){const _0x20c195=_0x14788d;_0x5d43a5&&this[_0x20c195(0x2e1)](),this[_0x20c195(0x32d)](_0x5d43a5);}['_addShapeAdjustControl'](_0x5411cf,_0x318676,_0x21decb,_0x159849,_0x376674,_0x37436b,_0x5ec16c){const _0x3c443d=_0x14788d;if(!this[_0x3c443d(0x172)])return;let _0x26b691=_0x3c443d(0x10d)+this[_0x3c443d(0x172)]+'-'+_0x21decb,_0x33bcad=_0x5411cf[_0x3c443d(0xa5)](_0x26b691);if(_0x33bcad){_0x33bcad[_0x3c443d(0x229)]({'left':_0x318676['x']+_0x159849-_0x59d795['ShapeDefaultConfig']['adjHandleSize'],'top':_0x318676['y']+_0x376674-_0x59d795[_0x3c443d(0x248)][_0x3c443d(0xd8)]}),_0x33bcad[_0x3c443d(0x41f)](!0x0);return;}let _0xbf4fc=new _0x2fda31(_0x26b691,{'left':_0x318676['x']+_0x159849-_0x59d795['ShapeDefaultConfig']['adjHandleSize'],'top':_0x318676['y']+_0x376674-_0x59d795['ShapeDefaultConfig'][_0x3c443d(0xd8)],'adjName':_0x21decb,'shapeId':this[_0x3c443d(0x172)],'unitId':_0x37436b,'subUnitId':_0x5ec16c,'width':_0x59d795[_0x3c443d(0x248)]['adjHandleSize']+0x8,'height':_0x59d795[_0x3c443d(0x248)]['adjHandleSize']+0x8,'zIndex':_0x164900[_0x3c443d(0x33f)]+0x1,'evented':!0x0});this[_0x3c443d(0x35e)]['push'](_0xbf4fc),this[_0x3c443d(0x2fb)](_0xbf4fc,_0x5411cf,_0x21decb),_0x5411cf[_0x3c443d(0x17a)](_0xbf4fc,_0x164900[_0x3c443d(0x33f)]+0x1);}[_0x14788d(0x2e1)](){const _0x5b3cf9=_0x14788d;this[_0x5b3cf9(0x35e)]['forEach'](_0xcd3cf5=>_0xcd3cf5[_0x5b3cf9(0x20b)]()),this[_0x5b3cf9(0x35e)]=[];}[_0x14788d(0x310)](){const _0x1009f4=_0x14788d;this[_0x1009f4(0x32d)]();}[_0x14788d(0xe7)](_0x1e92e2,_0x11d02b,_0x48ff89){const _0x5850aa=_0x14788d;let _0x57dfc6=_0x164900['Vector2'][_0x5850aa(0x16f)]([_0x11d02b,_0x48ff89]),_0x6c1164=_0x1e92e2[_0x5850aa(0x101)](_0x57dfc6)??_0x1e92e2[_0x5850aa(0xbe)]()[0x0];return(_0x6c1164==null?void 0x0:_0x6c1164['transformVector2SceneCoord'](_0x57dfc6))??_0x57dfc6;}[_0x14788d(0x2fb)](_0x516330,_0x1f5d40,_0x509042){const _0x4c3dd3=_0x14788d;this[_0x4c3dd3(0x2c1)]((0x0,_0x51ff18[_0x4c3dd3(0x273)])(_0x516330[_0x4c3dd3(0xa1)][_0x4c3dd3(0x3e0)]((_0x1053ba,_0x4a2ae5)=>{const _0x481b3b=_0x4c3dd3;var _0x2d4dd9;let _0x455fc7=_0x516330[_0x481b3b(0x37f)]();this['_activeAdjustInfo']=this['_getShapeAdjustInfosById'](_0x455fc7[_0x481b3b(0x1b5)],_0x455fc7[_0x481b3b(0x151)],_0x455fc7[_0x481b3b(0x3f7)],_0x509042),this[_0x481b3b(0x2b0)]=this[_0x481b3b(0xf2)][_0x481b3b(0x11b)](_0x455fc7[_0x481b3b(0x1b5)],_0x455fc7[_0x481b3b(0x151)],_0x455fc7[_0x481b3b(0x3f7)]);let _0xf66446=this['_getActiveDrawingParam'](),_0x46c695=_0xf66446==null?void 0x0:_0xf66446[_0x481b3b(0x362)];if(!_0xf66446||!_0x46c695||!this['_activeShapeModel'])return;this[_0x481b3b(0x12d)]=_0x46c695[_0x481b3b(0x1c3)]||0x0,this[_0x481b3b(0xb3)]=_0x46c695[_0x481b3b(0x24f)]||0x0,this['_baseShapeWidth']=_0x46c695[_0x481b3b(0x11a)]||0x0,this[_0x481b3b(0x1ed)]=_0x46c695[_0x481b3b(0x346)]||0x0;let _0x10d936=!!_0x46c695[_0x481b3b(0x186)],_0x33579d=!!_0x46c695[_0x481b3b(0x9c)],_0x709413=_0x46c695[_0x481b3b(0x163)]||0x0,_0x498908={...((_0x2d4dd9=this[_0x481b3b(0x1e6)])==null?void 0x0:_0x2d4dd9['currentAdjustValues'])??{}};this['_isStartAdjusting']=!0x0,_0x1f5d40[_0x481b3b(0x21b)](),this[_0x481b3b(0x14c)]=_0x1f5d40['onPointerMove$'][_0x481b3b(0x3e0)]((_0x504f64,_0x3ea65e)=>{const _0x2e2e04=_0x481b3b;var _0x2301eb;if(!this[_0x2e2e04(0x270)]||!this[_0x2e2e04(0x2b0)]||!this[_0x2e2e04(0x1e6)])return;_0x1f5d40[_0x2e2e04(0x21b)](),_0x1f5d40['setCursor'](_0x164900[_0x2e2e04(0xd2)][_0x2e2e04(0x3c0)]);let _0x355944=this[_0x2e2e04(0xe7)](_0x1f5d40,_0x504f64['offsetX'],_0x504f64[_0x2e2e04(0x3a4)]),_0x3b709f=_0x355944['x']-this[_0x2e2e04(0x12d)],_0x3b607f=_0x355944['y']-this[_0x2e2e04(0xb3)];if(_0x709413!==0x0){let _0x29d9e7=this['_baseShapeWidth']/0x2,_0x3243aa=this[_0x2e2e04(0x1ed)]/0x2,_0x5b52e8=_0x709413*Math['PI']/0xb4,_0x1a7fd9=Math['cos'](_0x5b52e8),_0x5a4d5e=Math[_0x2e2e04(0x29f)](_0x5b52e8),_0x5e5f12=_0x3b709f-_0x29d9e7,_0x3c3cba=_0x3b607f-_0x3243aa;_0x3b709f=_0x29d9e7+(_0x5e5f12*_0x1a7fd9+_0x3c3cba*_0x5a4d5e),_0x3b607f=_0x3243aa+(-_0x5e5f12*_0x5a4d5e+_0x3c3cba*_0x1a7fd9);}_0x10d936&&(_0x3b709f=this['_baseShapeWidth']-_0x3b709f),_0x33579d&&(_0x3b607f=this[_0x2e2e04(0x1ed)]-_0x3b607f);let _0x47032a={'left':0x0,'top':0x0,'width':this[_0x2e2e04(0xff)],'height':this[_0x2e2e04(0x1ed)]},_0x44e313=this[_0x2e2e04(0x2b0)][_0x2e2e04(0x215)](_0x47032a,{'x':_0x3b709f,'y':_0x3b607f},this[_0x2e2e04(0x1e6)],_0x10d936,_0x33579d);if(Object[_0x2e2e04(0xd4)](_0x44e313)[_0x2e2e04(0x12a)]!==0x0){for(let [_0x2fa638,_0x15e76d]of Object[_0x2e2e04(0x13e)](_0x44e313))this[_0x2e2e04(0x2b0)]['setAdjustValueByName'](_0x2fa638,_0x15e76d);this[_0x2e2e04(0x2b0)][_0x2e2e04(0x118)]({'width':this[_0x2e2e04(0xff)],'height':this[_0x2e2e04(0x1ed)]}),(_0x2301eb=this[_0x2e2e04(0x2c6)](_0x1f5d40))==null||_0x2301eb[_0x2e2e04(0x41f)](!0x0),this[_0x2e2e04(0x37e)]=this[_0x2e2e04(0x241)](_0x455fc7[_0x2e2e04(0x1b5)],_0x455fc7[_0x2e2e04(0x151)],_0x455fc7[_0x2e2e04(0x3f7)]),this[_0x2e2e04(0x310)](),_0x3ea65e[_0x2e2e04(0x1c4)]();}}),this[_0x481b3b(0x9d)]=_0x1f5d40[_0x481b3b(0x3ac)]['subscribeEvent']((_0x5a225f,_0x2c8628)=>{const _0x594101=_0x481b3b;var _0x4d2ee7,_0x590f16;(_0x4d2ee7=this[_0x594101(0x14c)])==null||_0x4d2ee7[_0x594101(0x2ee)](),(_0x590f16=this[_0x594101(0x9d)])==null||_0x590f16[_0x594101(0x2ee)](),_0x1f5d40['resetCursor']();let _0x1338f7=this[_0x594101(0x1e6)];if(_0x1338f7&&this['_activeShapeModel']){let _0x6d44be={};for(let _0xce63c1 of Object['keys'](_0x1338f7[_0x594101(0xc7)])){let _0x102a40=this[_0x594101(0x2b0)][_0x594101(0x35a)](_0xce63c1);_0x102a40!==void 0x0&&(_0x6d44be[_0xce63c1]=_0x102a40);}Object[_0x594101(0xd4)](_0x6d44be)[_0x594101(0x12a)]>0x0&&_0x50d249(this[_0x594101(0x22f)],_0x455fc7[_0x594101(0x1b5)],_0x455fc7[_0x594101(0x151)],_0x455fc7[_0x594101(0x3f7)],{'oldShapeData':{'adjustValues':_0x498908}},{'adjustValues':_0x6d44be});}this[_0x594101(0x1e6)]=void 0x0,this[_0x594101(0x2b0)]=void 0x0,this[_0x594101(0x270)]=!0x1,_0x1f5d40[_0x594101(0x14a)](),_0x2c8628[_0x594101(0x1c4)]();}),_0x4a2ae5[_0x481b3b(0x1c4)]();})));}[_0x14788d(0xae)](){const _0xd94f17=_0x14788d;let {scene:_0x4035ac}=this['_context'],_0x26667b=_0x4035ac[_0xd94f17(0x2f8)]();this['disposeWithMe'](_0x26667b[_0xd94f17(0x10c)][_0xd94f17(0x402)](_0x2c590a=>{const _0x1e6010=_0xd94f17;this[_0x1e6010(0x32d)](),_0x2c590a['objects']!==null&&_0x2c590a[_0x1e6010(0x3a0)][_0x1e6010(0x397)]===0x1&&_0x2c590a[_0x1e6010(0x3a0)][_0x1e6010(0x2be)]()[_0x1e6010(0x234)]()[_0x1e6010(0x1d7)]instanceof _0x5d2ab8&&(this[_0x1e6010(0x401)]=!0x0);})),this[_0xd94f17(0x2c1)](_0x26667b[_0xd94f17(0x1aa)][_0xd94f17(0x402)](()=>{this['_isShouldShowDrawingShapeAdjust']&&this['_clearShapeAdjustControls']();})),this[_0xd94f17(0x2c1)](_0x4035ac[_0xd94f17(0x3ac)]['subscribeEvent'](()=>{const _0x2b8a7a=_0xd94f17;this[_0x2b8a7a(0x401)]&&(this[_0x2b8a7a(0x401)]=!0x1,this[_0x2b8a7a(0x32d)]());})),this['disposeWithMe'](_0x26667b[_0xd94f17(0x348)][_0xd94f17(0x402)](()=>{const _0x1eb077=_0xd94f17;this[_0x1eb077(0x30c)]&&this['_subUnitId']&&this[_0x1eb077(0x172)]&&(this[_0x1eb077(0x37e)]=this[_0x1eb077(0x241)](this[_0x1eb077(0x30c)],this[_0x1eb077(0x357)],this['_activeShapeId']),this['_updateAdjustControlPositions']());}));}[_0x14788d(0x162)](){const _0x57aa54=_0x14788d;this[_0x57aa54(0x2c1)](this[_0x57aa54(0x22f)][_0x57aa54(0x3f1)](_0xa8fa89=>{const _0x2fc50d=_0x57aa54;if(_0xa8fa89['id']!==_0xddc3b0[_0x2fc50d(0x127)]['id'])return;let {unitId:_0x64fc01,shapeId:_0x23e3e9}=_0xa8fa89[_0x2fc50d(0x423)];_0x64fc01===this[_0x2fc50d(0x30c)]&&_0x23e3e9===this[_0x2fc50d(0x172)]&&this[_0x2fc50d(0x261)]();})),this[_0x57aa54(0x2c1)](this[_0x57aa54(0x39e)]['focus$'][_0x57aa54(0x402)](_0xfa9bfc=>{const _0x450241=_0x57aa54;if(_0xfa9bfc[_0x450241(0x12a)]===0x1){let _0x298712=_0xfa9bfc[0x0],_0x574c9c=this[_0x450241(0x39e)][_0x450241(0x122)](_0x298712);if((_0x574c9c==null?void 0x0:_0x574c9c[_0x450241(0x22c)])===_0x51ff18[_0x450241(0x1d4)][_0x450241(0x376)]){this['_activeShapeId']=_0x298712[_0x450241(0x3f7)],this[_0x450241(0x30c)]=_0x298712['unitId'],this[_0x450241(0x357)]=_0x298712[_0x450241(0x151)],this['_activeShapeAdjustPointList']=this[_0x450241(0x241)](_0x298712[_0x450241(0x1b5)],_0x298712[_0x450241(0x151)],_0x298712['drawingId']),this['_clearShapeAdjustControls'](),this[_0x450241(0x32d)]();return;}}this[_0x450241(0x172)]=null,this[_0x450241(0x37e)]=void 0x0,this[_0x450241(0x30c)]=null,this[_0x450241(0x357)]=null,this[_0x450241(0x2e1)]();})),this[_0x57aa54(0x2c1)]((0x0,_0x1191c7['merge'])(this[_0x57aa54(0x39e)][_0x57aa54(0x2a8)],this[_0x57aa54(0x39e)][_0x57aa54(0x191)])[_0x57aa54(0x402)](_0x101a41=>{const _0x43b21d=_0x57aa54;var _0x2172ca;let _0x5226db=_0x101a41[_0x43b21d(0x16d)](_0x28557d=>_0x28557d['drawingId']===this[_0x43b21d(0x172)]&&_0x28557d[_0x43b21d(0x1b5)]===this[_0x43b21d(0x30c)]&&_0x28557d['subUnitId']===this[_0x43b21d(0x357)]);_0x5226db&&((_0x2172ca=this['_drawingManagerService'][_0x43b21d(0x122)](_0x5226db))==null?void 0x0:_0x2172ca[_0x43b21d(0x22c)])===_0x51ff18[_0x43b21d(0x1d4)]['DRAWING_SHAPE']&&this['_updateShapeAdjustControls'](!0x0);})),this['disposeWithMe'](this['_drawingManagerService'][_0x57aa54(0x3ec)][_0x57aa54(0x402)](_0x3a8dfa=>{const _0x408d05=_0x57aa54;for(let _0x529e8e of _0x3a8dfa)this[_0x408d05(0x172)]===_0x529e8e[_0x408d05(0x3f7)]&&(this[_0x408d05(0x172)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x408d05(0x30c)]=null,this[_0x408d05(0x357)]=null,this[_0x408d05(0x2e1)]());}));}};_0x40c79a=_0x1e5419([_0x3fe79d(0x1,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x220)])],_0x40c79a);let _0x1e6cd8=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x46ca68,_0x55f558){const _0x18424d=_0x14788d;super(),this[_0x18424d(0x102)]=_0x46ca68,this[_0x18424d(0x1cf)]=_0x55f558,_0x30c9f5(this,_0x18424d(0x2b7),new _0x1191c7[(_0x18424d(0x148))](null)),_0x30c9f5(this,_0x18424d(0x334),this[_0x18424d(0x2b7)][_0x18424d(0xef)]()),_0x30c9f5(this,'_onSavingEditorData$',new _0x1191c7[(_0x18424d(0x148))](!0x1)),_0x30c9f5(this,_0x18424d(0x1a3),this[_0x18424d(0x179)]['asObservable']()),_0x30c9f5(this,_0x18424d(0x3e9),void 0x0),this[_0x18424d(0x2c1)](this[_0x18424d(0x102)][_0x18424d(0x349)][_0x18424d(0x402)](()=>{const _0x5da200=_0x18424d;let _0x276095=this[_0x5da200(0x317)]();_0x276095!=null&&_0x276095[_0x5da200(0x2dd)]&&!this[_0x5da200(0x1fc)](_0x276095)&&this['setEditing'](null);}));}[_0x14788d(0x20b)](){const _0x463f50=_0x14788d;this[_0x463f50(0x1b0)](),this[_0x463f50(0x2b7)][_0x463f50(0x234)](null),this[_0x463f50(0x2b7)][_0x463f50(0x18f)](),this[_0x463f50(0x179)][_0x463f50(0x234)](!0x1),this['_onSavingEditorData$']['complete'](),super[_0x463f50(0x20b)]();}[_0x14788d(0x11e)](_0x5d2d48){const _0xb23f22=_0x14788d;(_0x5d2d48==null||!_0x5d2d48['visible']||this[_0xb23f22(0x1fc)](_0x5d2d48))&&(this[_0xb23f22(0x1b0)](),this['_editingParams$'][_0xb23f22(0x234)](_0x5d2d48),(_0x5d2d48==null||_0x5d2d48[_0xb23f22(0x2dd)]&&this[_0xb23f22(0x179)][_0xb23f22(0x2fe)]())&&this[_0xb23f22(0x179)][_0xb23f22(0x234)](!0x1));}[_0x14788d(0x11d)](_0x144688){const _0x3e357e=_0x14788d;this[_0x3e357e(0x179)]['next'](_0x144688);}[_0x14788d(0x317)](){const _0x1a83fa=_0x14788d;return this[_0x1a83fa(0x2b7)][_0x1a83fa(0x2fe)]();}[_0x14788d(0x1fc)](_0x44e40d){const _0x51e146=_0x14788d;let _0x4d19c6=this[_0x51e146(0x1cf)][_0x51e146(0x419)](_0x44e40d['unitId'],_0x51ff18[_0x51e146(0x1b6)]['UNIVER_DOC']);if(!_0x4d19c6)return!0x0;let _0x30af46=(0x0,_0x31599d[_0x51e146(0x332)])(_0x4d19c6,_0x44e40d[_0x51e146(0x344)]);return(0x0,_0x31599d[_0x51e146(0x117)])(this[_0x51e146(0x102)],_0x44e40d[_0x51e146(0x1b5)],[...(0x0,_0x31599d[_0x51e146(0x363)])(_0x4d19c6,_0x30af46,_0x51e146(0xfa),_0x44e40d[_0x51e146(0x344)]),(0x0,_0x31599d[_0x51e146(0xb6)])(_0x30af46,_0x51e146(0xfa),_0x44e40d['shapeId'])]);}[_0x14788d(0x161)](_0x5c3796){const _0x1155fe=_0x14788d;let _0x52a2c2=this[_0x1155fe(0x317)]();_0x52a2c2&&this[_0x1155fe(0x3e9)]===void 0x0&&(this[_0x1155fe(0x11d)](!0x0),this['_completionFrame']=requestAnimationFrame(()=>{const _0xe5c828=_0x1155fe;this[_0xe5c828(0x3e9)]=void 0x0,this['getEditing']()===_0x52a2c2&&this[_0xe5c828(0x11e)](null);}));}[_0x14788d(0x1b0)](){const _0x2d8766=_0x14788d;this[_0x2d8766(0x3e9)]!==void 0x0&&(cancelAnimationFrame(this['_completionFrame']),this[_0x2d8766(0x3e9)]=void 0x0);}['cancelEditing'](){const _0x48d1c6=_0x14788d;this[_0x48d1c6(0x317)]()&&this[_0x48d1c6(0x11e)](null);}};_0x1e6cd8=_0x1e5419([_0x3fe79d(0x0,_0x51ff18['IPermissionService']),_0x3fe79d(0x1,_0x51ff18[_0x14788d(0x3bc)])],_0x1e6cd8);function _0xcb94e3(_0x513fdf){const _0x24f13b=_0x14788d;return _0x513fdf[_0x24f13b(0x36d)]===!0x0||_0x513fdf[_0x24f13b(0x36d)]===_0x51ff18['BooleanNumber'][_0x24f13b(0x221)]||_0x513fdf['layoutType']===_0x51ff18[_0x24f13b(0x2ea)]['WRAP_NONE']&&_0x513fdf[_0x24f13b(0x3ae)]===_0x51ff18[_0x24f13b(0x277)]['TRUE']?_0x25d652['DOCS_COMPONENT_MAIN_LAYER_INDEX']-0x1:_0x164900[_0x24f13b(0x33f)];}let _0x3b1cf5=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0xc810a4,_0x560324,_0xec852a,_0x19ee24,_0x56462b,_0xfb54d0,_0x4cf531){const _0x2f40b1=_0x14788d;super(),this[_0x2f40b1(0x39e)]=_0xc810a4,this['_docsShapeService']=_0x560324,this[_0x2f40b1(0xf1)]=_0xec852a,this['_imageIoService']=_0x19ee24,this[_0x2f40b1(0x2d2)]=_0x56462b,this[_0x2f40b1(0x1de)]=_0xfb54d0,this['_shapeFormulaService']=_0x4cf531,_0x30c9f5(this,_0x2f40b1(0x16e),new Map()),this[_0x2f40b1(0x2c1)](this[_0x2f40b1(0x24a)][_0x2f40b1(0x2ca)][_0x2f40b1(0x402)](_0x392020=>{const _0x580c21=_0x2f40b1;var _0x3f58e2;(_0x3f58e2=this[_0x580c21(0x16e)][_0x580c21(0x347)](this[_0x580c21(0x3d5)](_0x392020[_0x580c21(0x1b5)],_0x392020[_0x580c21(0x151)],_0x392020['shapeId'])))==null||_0x3f58e2[_0x580c21(0x23f)](_0x4f83c4=>_0x4f83c4[_0x580c21(0x114)](_0x392020[_0x580c21(0x1c9)],_0x392020['animationEnabled']));})),this['disposeWithMe'](this[_0x2f40b1(0x39e)][_0x2f40b1(0x3ec)]['subscribe'](_0xc70b0=>{_0xc70b0['forEach'](_0x460ee7=>{const _0x34eafd=_0x2ff4;this[_0x34eafd(0x24a)]['unregister']({'unitId':_0x460ee7[_0x34eafd(0x1b5)],'subUnitId':_0x460ee7[_0x34eafd(0x151)],'shapeId':_0x460ee7['drawingId']}),this[_0x34eafd(0x16e)]['delete'](this[_0x34eafd(0x3d5)](_0x460ee7[_0x34eafd(0x1b5)],_0x460ee7[_0x34eafd(0x151)],_0x460ee7[_0x34eafd(0x3f7)]));});}));}['renderDrawingShape'](_0x442da0,_0x3bb8b9){const _0x4b365e=_0x14788d;let {transform:_0x39aecc,drawingType:_0x26c308,srcRect:_0x45f18d,prstGeom:_0x2f204e,groupId:_0x2baa5d,unitId:_0x1ab779,subUnitId:_0x465a15,drawingId:_0x200d39,isMultiTransform:_0x1c3741,transforms:_0x4a5ab6,hidden:_0x4146f4,selectable:_0x919803}=_0x442da0;if(_0x26c308!==_0x51ff18['DrawingTypeEnum'][_0x4b365e(0x376)]||!this['_drawingManagerService']['getDrawingVisible']()||_0x39aecc==null)return;let _0x3fdd5e=this[_0x4b365e(0x39e)]['getDrawingEditable'](),_0x34ce6f=_0x1c3741&&_0x4a5ab6?_0x4a5ab6:[_0x39aecc],_0x473e2a=[];for(let [_0x434dfe,_0x148152]of _0x34ce6f[_0x4b365e(0x13e)]()){let {left:_0x1bb2c9,top:_0x5a1c45,width:_0x42db1d,height:_0xa642a7,angle:_0x474b63,flipX:_0xb607eb,flipY:_0x176afe,skewX:_0x378cbc,skewY:_0x56823b}=_0x148152,_0x4740f5=(0x0,_0x893ff7[_0x4b365e(0x3d4)])({'unitId':_0x1ab779,'subUnitId':_0x465a15,'drawingId':_0x200d39},_0x1c3741?_0x434dfe:void 0x0),_0x47d04c=_0x3bb8b9[_0x4b365e(0xa5)](_0x4740f5);if(_0x47d04c!=null){let _0x4b9aac={'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39};_0x47d04c instanceof _0x5d2ab8&&this[_0x4b365e(0x2bc)](_0x47d04c,_0x4b9aac),_0x47d04c['transformByState']({'left':_0x1bb2c9,'top':_0x5a1c45,'width':_0x42db1d,'height':_0xa642a7,'angle':_0x474b63,'flipX':_0xb607eb,'flipY':_0x176afe,'skewX':_0x378cbc,'skewY':_0x56823b});continue;}let _0x4940be=this[_0x4b365e(0x39e)][_0x4b365e(0x262)](_0x1ab779,_0x465a15),_0x3e81d0=_0x4940be['indexOf'](_0x200d39);if(_0x3bb8b9[_0x4b365e(0xa5)](_0x4740f5)||!this['_drawingManagerService'][_0x4b365e(0x14e)]())continue;let _0x2aa3e3=this[_0x4b365e(0xf2)][_0x4b365e(0x11b)](_0x1ab779,_0x465a15,_0x200d39);if(!_0x2aa3e3)continue;let _0x29eaf5=(0x0,_0x59d795[_0x4b365e(0xdb)])(_0x2aa3e3[_0x4b365e(0x18d)]())?{..._0x4df77c[_0x4b365e(0x288)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:_0x4df77c['SHAPE_EDITOR_TRANSFORMER_CONFIG'],_0x1ea9b7=_0x2aa3e3['getShapeData']()[_0x4b365e(0x37a)],_0x32e34a={'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39};_0x1ea9b7&&this[_0x4b365e(0x24a)]['register'](_0x32e34a,_0x1ea9b7);let _0x1911b1=new _0x5d2ab8(_0x4740f5,{..._0x148152,'zIndex':_0x3e81d0===-0x1?_0x4940be[_0x4b365e(0x12a)]-0x1:_0x3e81d0,'shapeModel':_0x2aa3e3,'localeService':this['_localeService'],'shapeId':_0x200d39,'unitId':_0x1ab779,'subUnitId':_0x465a15,'visible':_0x4146f4!==!0x0,'evented':_0x919803!==!0x1,'formulaPresentation':_0x1ea9b7?this[_0x4b365e(0x24a)][_0x4b365e(0xde)](_0x32e34a):void 0x0,'animateFormulaPresentation':(_0x1ea9b7==null?void 0x0:_0x1ea9b7[_0x4b365e(0x3c8)])!==!0x1,'transformerConfig':_0x29eaf5});if(_0x1ea9b7){let _0x34ea7a=this[_0x4b365e(0x3d5)](_0x1ab779,_0x465a15,_0x200d39),_0x30221b=this[_0x4b365e(0x16e)][_0x4b365e(0x347)](_0x34ea7a)??new Set();_0x30221b[_0x4b365e(0x338)](_0x1911b1),this[_0x4b365e(0x16e)][_0x4b365e(0x2e4)](_0x34ea7a,_0x30221b);}this[_0x4b365e(0x2c1)]((0x0,_0x51ff18['toDisposable'])(_0x1911b1['onDblclick$'][_0x4b365e(0x3e0)]((_0x5ed4fc,_0x272c71)=>{const _0x3320c0=_0x4b365e;_0x2aa3e3[_0x3320c0(0xab)]()||_0x1ea9b7||(this[_0x3320c0(0x1de)][_0x3320c0(0x11e)]({'visible':!0x0,'unitId':_0x1ab779,'subUnitId':_0x465a15,'shapeId':_0x200d39,'shapeKey':_0x1911b1[_0x3320c0(0xf9)]}),_0x272c71['stopPropagation']());}))),_0x3bb8b9['addObject'](_0x1911b1,_0xcb94e3(_0x442da0)),_0x3fdd5e&&_0x3bb8b9[_0x4b365e(0x244)](_0x1911b1),_0x2baa5d&&(0x0,_0x358a20[_0x4b365e(0x1ef)])({'drawingId':_0x2baa5d,'unitId':_0x1ab779,'subUnitId':_0x465a15},_0x1911b1,_0x3bb8b9,this[_0x4b365e(0x39e)],_0x1c3741?_0x434dfe:void 0x0),_0x2f204e!=null&&_0x1911b1[_0x4b365e(0x2f6)](_0x2f204e),_0x45f18d!=null&&_0x1911b1[_0x4b365e(0xc9)](_0x45f18d),this[_0x4b365e(0x386)](_0x1911b1,_0x2aa3e3[_0x4b365e(0x3b3)]()),_0x473e2a[_0x4b365e(0x3a5)](_0x1911b1);}return _0x473e2a;}[_0x14788d(0x3d5)](_0x3134bd,_0x232103,_0x228613){return _0x3134bd+'\x00'+_0x232103+'\x00'+_0x228613;}['refreshFormulaPresentation'](_0x5f05a4,_0x59fe93){const _0x28691c=_0x14788d;let _0x410e11=this[_0x28691c(0xf2)][_0x28691c(0x11b)](_0x59fe93[_0x28691c(0x1b5)],_0x59fe93['subUnitId'],_0x59fe93[_0x28691c(0x344)]),_0x4ed140=_0x410e11==null?void 0x0:_0x410e11[_0x28691c(0x3b3)]()['formulaBinding'],_0x16a86e=this[_0x28691c(0x3d5)](_0x59fe93[_0x28691c(0x1b5)],_0x59fe93[_0x28691c(0x151)],_0x59fe93['shapeId']);if(_0x4ed140){this[_0x28691c(0x24a)]['register'](_0x59fe93,_0x4ed140);let _0x4bc771=this[_0x28691c(0x16e)][_0x28691c(0x347)](_0x16a86e)??new Set();_0x4bc771[_0x28691c(0x338)](_0x5f05a4),this[_0x28691c(0x16e)]['set'](_0x16a86e,_0x4bc771);}else{var _0x253e5f;this[_0x28691c(0x24a)]['unregister'](_0x59fe93),(_0x253e5f=this[_0x28691c(0x16e)]['get'](_0x16a86e))==null||_0x253e5f[_0x28691c(0x142)](_0x5f05a4);}_0x5f05a4[_0x28691c(0x114)](_0x4ed140?this['_shapeFormulaService']['getPresentation'](_0x59fe93):void 0x0,(_0x4ed140==null?void 0x0:_0x4ed140[_0x28691c(0x3c8)])!==!0x1);}[_0x14788d(0x2ff)](_0x352ca1){const _0x1dc2e3=_0x14788d;let _0x15555b=_0x352ca1[_0x1dc2e3(0x30e)][_0x1dc2e3(0x3b3)](),_0x4c1eec=_0x15555b[_0x1dc2e3(0x1f6)];!_0x4c1eec||_0x4c1eec[_0x1dc2e3(0x3e1)]!==_0x59d795[_0x1dc2e3(0x1b8)][_0x1dc2e3(0x375)]||!_0x4c1eec[_0x1dc2e3(0x1dd)]?_0x352ca1[_0x1dc2e3(0x316)](void 0x0):this['_loadShapePictureFill'](_0x352ca1,_0x15555b);}[_0x14788d(0x386)](_0x152acf,_0x20261d){const _0xf63912=_0x14788d;let _0x164f99=_0x20261d[_0xf63912(0x1f6)];if(!_0x164f99||_0x164f99['fillType']!==_0x59d795['ShapeFillEnum'][_0xf63912(0x375)]||!_0x164f99['fillImageSource'])return;let _0x12ad81=_0x164f99[_0xf63912(0x1dd)],_0x77d31e=_0x164f99['fillImageSourceType']??_0x59d795[_0xf63912(0x1ad)]['URL'],_0x260eb9=this[_0xf63912(0x247)][_0xf63912(0x18e)](_0x12ad81,_0x77d31e);_0x260eb9?_0x152acf[_0xf63912(0x316)](_0x260eb9):this[_0xf63912(0x30f)](_0x152acf,_0x12ad81,_0x77d31e);}async['_loadAndSetImage'](_0x2ffc7a,_0x160cbb,_0x1bd7de){const _0x5d0b98=_0x14788d;let _0x4f22c1;try{if(_0x1bd7de===_0x59d795[_0x5d0b98(0x1ad)][_0x5d0b98(0x3c5)])_0x4f22c1=await this[_0x5d0b98(0x247)]['getImage'](_0x160cbb);else{if(_0x1bd7de===_0x59d795[_0x5d0b98(0x1ad)]['URL'])try{_0x4f22c1=await this['_urlImageService'][_0x5d0b98(0x274)](_0x160cbb);}catch{_0x4f22c1=_0x160cbb;}else _0x4f22c1=_0x160cbb;}}catch(_0x4fdb91){console['error'](_0x5d0b98(0x286),_0x4fdb91);return;}let _0x49550=new window['Image']();_0x49550[_0x5d0b98(0x3ba)]=()=>{const _0x26d52e=_0x5d0b98;this[_0x26d52e(0x247)]['addImageSourceCache'](_0x160cbb,_0x1bd7de,_0x49550),_0x2ffc7a[_0x26d52e(0x316)](_0x49550);},_0x49550[_0x5d0b98(0x10f)]=()=>{const _0x20d45b=_0x5d0b98;console[_0x20d45b(0x3ff)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x160cbb);},_0x49550['src']=_0x4f22c1;}};_0x3b1cf5=_0x1e5419([_0x3fe79d(0x0,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0xfe)]),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0x364)]),_0x3fe79d(0x5,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x6,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4e08a0[_0x14788d(0x1d5)]))],_0x3b1cf5);let _0x26a0b9=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x19ede1,_0x5deffd,_0x42a882){const _0x144539=_0x14788d;super(),this[_0x144539(0x18c)]=_0x19ede1,this[_0x144539(0x39e)]=_0x5deffd,this[_0x144539(0x1b1)]=_0x42a882,this[_0x144539(0x408)]();}[_0x14788d(0x408)](){const _0x3b0eeb=_0x14788d;this[_0x3b0eeb(0x2c1)](this[_0x3b0eeb(0x18c)][_0x3b0eeb(0x296)][_0x3b0eeb(0xd1)](this[_0x3b0eeb(0x18c)][_0x3b0eeb(0x296)]['getInterceptPoints']()[_0x3b0eeb(0x33a)],{'handler':(_0x52fd8c,_0x5b2162,_0x5918b0)=>{const _0x18feaa=_0x3b0eeb;var _0x56ad75;let {unitId:_0x2a3507,scene:_0x4a0d03,skeleton:_0x814e36}=_0x5b2162,{pageIndex:_0x5170f5}=_0x5b2162,_0x36fe27=(_0x56ad75=this[_0x18feaa(0x39e)]['getDrawingDataForUnit'](_0x2a3507))==null?void 0x0:_0x56ad75[_0x2a3507],_0x1135cf=_0x17dad8(this[_0x18feaa(0x18c)],_0x814e36,_0x5170f5);return _0x36fe27==null||_0x36fe27[_0x18feaa(0xb1)]['forEach'](_0x572c1d=>{const _0xf85c94=_0x18feaa;if(_0x1135cf&&!_0x1135cf[_0xf85c94(0xa3)](_0x572c1d))return;let _0x28161f=_0x36fe27[_0xf85c94(0x2d4)][_0x572c1d];_0x28161f['drawingType']===_0x51ff18[_0xf85c94(0x1d4)][_0xf85c94(0x376)]&&!_0x28161f['hidden']&&this[_0xf85c94(0x1b1)][_0xf85c94(0xb0)](_0x28161f,_0x4a0d03);}),_0x5918b0(_0x52fd8c);}}));}};_0x26a0b9=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x31b)])),_0x3fe79d(0x1,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0x3b1cf5))],_0x26a0b9);function _0x17dad8(_0x5283bc,_0x2dee98,_0x409de9){const _0x54675a=_0x14788d;var _0x586a03,_0x153598;let _0x2d24ee=_0x5283bc;if(_0x2d24ee[_0x54675a(0x392)])return _0x2d24ee[_0x54675a(0x392)](_0x2dee98,_0x409de9);let _0x4a5b75=_0x2dee98[_0x54675a(0x17e)]();if(!_0x4a5b75||_0x4a5b75[_0x54675a(0x239)]['length']<=0x1||_0x409de9==null)return null;let _0x149160=new Set(),_0xa84884=_0x4a5b75['pages'][_0x409de9];if(!_0xa84884)return _0x149160;_0x5ae427(_0xa84884,_0x149160);let _0x52dcf3=(_0x586a03=_0x4a5b75['skeHeaders'][_0x54675a(0x347)](_0xa84884[_0x54675a(0xc2)]))==null?void 0x0:_0x586a03['get'](_0xa84884[_0x54675a(0x177)]??_0xa84884[_0x54675a(0x3da)]),_0x45d619=(_0x153598=_0x4a5b75[_0x54675a(0x39c)][_0x54675a(0x347)](_0xa84884['footerId']))==null?void 0x0:_0x153598[_0x54675a(0x347)](_0xa84884[_0x54675a(0x26e)]??_0xa84884['pageWidth']);return _0x52dcf3&&_0x5ae427(_0x52dcf3,_0x149160),_0x45d619&&_0x5ae427(_0x45d619,_0x149160),_0x149160;}function _0x5ae427(_0x5a441a,_0x7d394){const _0x168887=_0x14788d;for(let _0x2df238 of _0x5a441a[_0x168887(0x30d)]['keys']())_0x7d394['add'](_0x2df238);for(let _0x1d6d1e of _0x5a441a[_0x168887(0x2fa)][_0x168887(0x2be)]())for(let _0x212bf4 of _0x1d6d1e[_0x168887(0xa6)])for(let _0x2f9793 of _0x212bf4[_0x168887(0x2d8)])_0x5ae427(_0x2f9793,_0x7d394);}function _0x39e6aa({ref:_0x50bcc2,..._0x17ba4d}){const _0x335c4f=_0x14788d;let {preserveStrokeWidth:_0x4d1e33,icon:_0x37fdff,id:_0xe72bb8,className:_0x418160,extend:_0x549a55,..._0x301dd6}=_0x17ba4d,_0x2812d0=(_0x335c4f(0xc8)+_0xe72bb8+'\x20'+(_0x418160||''))[_0x335c4f(0x150)](),_0xce0463='_'+(0x0,_0x40ced8[_0x335c4f(0x254)])(),_0x54bae5=(0x0,_0x40ced8['useRef'])(null);return(0x0,_0x40ced8[_0x335c4f(0x2b1)])(_0x50bcc2,()=>_0x54bae5[_0x335c4f(0xfb)]),(0x0,_0x40ced8[_0x335c4f(0x17c)])(()=>{const _0x1045b2=_0x335c4f;if(_0x4d1e33&&_0x54bae5[_0x1045b2(0xfb)]&&_0x54bae5[_0x1045b2(0xfb)][_0x1045b2(0x3bd)]===_0x37fdff[_0x1045b2(0x2a4)])return _0x2f58e6(_0x54bae5[_0x1045b2(0xfb)]);},[_0x4d1e33,_0x37fdff]),_0x1bd2ac(_0x37fdff,''+_0xe72bb8,{'defIds':_0x37fdff[_0x335c4f(0x1f2)],'idSuffix':_0xce0463},{'ref':_0x54bae5,'className':_0x2812d0,..._0x301dd6},_0x549a55);}function _0x1bd2ac(_0x481fc1,_0x2f54a0,_0x1ed106,_0x5246d5,_0x2407dc){const _0x3fc73d=_0x14788d;return(0x0,_0x40ced8[_0x3fc73d(0x257)])(_0x481fc1[_0x3fc73d(0x2a4)],{'key':_0x2f54a0,..._0x16a2ec(_0x481fc1,_0x1ed106,_0x2407dc),..._0x5246d5},(_0x3da5fb(_0x481fc1,_0x1ed106)[_0x3fc73d(0x3e4)]||[])[_0x3fc73d(0xf0)]((_0x3467d9,_0x4adb71)=>_0x1bd2ac(_0x3467d9,_0x2f54a0+'-'+_0x481fc1[_0x3fc73d(0x2a4)]+'-'+_0x4adb71,_0x1ed106,void 0x0,_0x2407dc)));}function _0x16a2ec(_0x241dbb,_0x528d95,_0x15b85c){const _0x3a4d04=_0x14788d;let _0x11da74={..._0x241dbb[_0x3a4d04(0x3c7)]};_0x15b85c!=null&&_0x15b85c[_0x3a4d04(0x3c2)]&&_0x11da74[_0x3a4d04(0x1f6)]===_0x3a4d04(0x3c2)&&(_0x11da74['fill']=_0x15b85c[_0x3a4d04(0x3c2)]),_0x15b85c!=null&&_0x15b85c[_0x3a4d04(0x3c2)]&&_0x11da74['stroke']===_0x3a4d04(0x3c2)&&(_0x11da74[_0x3a4d04(0x3f6)]=_0x15b85c[_0x3a4d04(0x3c2)]),_0x241dbb[_0x3a4d04(0x2a4)]==='mask'&&_0x11da74['id']&&(_0x11da74['id']+=_0x528d95[_0x3a4d04(0x1b7)]),Object['entries'](_0x11da74)[_0x3a4d04(0x23f)](([_0x556387,_0x3ad998])=>{const _0x1e1adf=_0x3a4d04;_0x556387===_0x1e1adf(0x173)&&typeof _0x3ad998==_0x1e1adf(0x415)&&(_0x11da74[_0x556387]=_0x3ad998[_0x1e1adf(0x1a6)](/url\(#(.*)\)/,_0x1e1adf(0x231)+_0x528d95[_0x1e1adf(0x1b7)]+')'));});let {defIds:_0x45e885}=_0x528d95;return!_0x45e885||_0x45e885[_0x3a4d04(0x12a)]===0x0||(_0x241dbb[_0x3a4d04(0x2a4)]==='use'&&_0x11da74[_0x3a4d04(0x249)]&&(_0x11da74['xlink:href']+=_0x528d95[_0x3a4d04(0x1b7)]),Object['entries'](_0x11da74)['forEach'](([_0x204387,_0x273876])=>{const _0x4fdd8d=_0x3a4d04;typeof _0x273876==_0x4fdd8d(0x415)&&(_0x11da74[_0x204387]=_0x273876[_0x4fdd8d(0x1a6)](/url\(#(.*)\)/,_0x4fdd8d(0x231)+_0x528d95['idSuffix']+')'));})),_0x11da74;}function _0x3da5fb(_0x1e5b68,_0x1f0f00){const _0x4fa498=_0x14788d;var _0x4f66a8;let {defIds:_0x7ae3da}=_0x1f0f00;return!_0x7ae3da||_0x7ae3da['length']===0x0?_0x1e5b68:_0x1e5b68['tag']==='defs'&&(_0x4f66a8=_0x1e5b68[_0x4fa498(0x3e4)])!=null&&_0x4f66a8[_0x4fa498(0x12a)]?{..._0x1e5b68,'children':_0x1e5b68[_0x4fa498(0x3e4)][_0x4fa498(0xf0)](_0x789ecf=>typeof _0x789ecf['attrs']['id']==_0x4fa498(0x415)&&_0x7ae3da&&_0x7ae3da[_0x4fa498(0xa0)](_0x789ecf[_0x4fa498(0x3c7)]['id'])?{..._0x789ecf,'attrs':{..._0x789ecf[_0x4fa498(0x3c7)],'id':_0x789ecf[_0x4fa498(0x3c7)]['id']+_0x1f0f00['idSuffix']}}:_0x789ecf)}:_0x1e5b68;}function _0x2f58e6(_0x4797e1){const _0x55fee3=_0x14788d;let _0x59705f=_0x4797e1[_0x55fee3(0xf6)][_0x55fee3(0x40e)],_0x161f28=Math[_0x55fee3(0x20e)](_0x59705f['width'],_0x59705f[_0x55fee3(0x346)]);if(!Number[_0x55fee3(0x1ae)](_0x161f28)||_0x161f28<=0x0||_0x59705f['width']<=0x0||_0x59705f[_0x55fee3(0x346)]<=0x0)return()=>void 0x0;let _0x146691=0x10/_0x161f28,_0x19e8d4=Array[_0x55fee3(0x28f)](_0x4797e1[_0x55fee3(0x2de)](_0x55fee3(0x1b2)))[_0x55fee3(0x11f)](_0x414a5e=>{const _0x2e6150=_0x55fee3;let _0x1b8760=getComputedStyle(_0x414a5e),_0x3d2bbf=Number[_0x2e6150(0x13b)](_0x1b8760['strokeWidth']);return _0x1b8760[_0x2e6150(0x3f6)]===_0x2e6150(0x3bb)||Number[_0x2e6150(0x13b)](_0x1b8760['strokeOpacity'])===0x0||_0x1b8760[_0x2e6150(0x38a)]==='non-scaling-stroke'||!Number['isFinite'](_0x3d2bbf)||_0x3d2bbf<=0x0?[]:[{'element':_0x414a5e,'hadStyleAttribute':_0x414a5e[_0x2e6150(0x22d)](_0x2e6150(0x1c8)),'originalStrokeWidth':_0x3d2bbf,'strokeWidth':_0x3f5452(_0x414a5e[_0x2e6150(0x1c8)],'stroke-width')}];})['map'](_0x52f96b=>({'appliedStrokeWidth':null,'element':_0x52f96b[_0x55fee3(0x22e)],'hadStyleAttribute':_0x52f96b[_0x55fee3(0x20f)],'isReleased':!0x1,'originalStrokeWidth':_0x52f96b['originalStrokeWidth'],'strokeWidth':_0x52f96b[_0x55fee3(0x256)]}));if(_0x19e8d4[_0x55fee3(0x12a)]===0x0)return()=>void 0x0;let _0x1f661f=(_0x57e97d,_0x2fa431)=>{const _0x1c63a7=_0x55fee3;if(_0x59705f[_0x1c63a7(0x11a)]<=0x0||_0x59705f[_0x1c63a7(0x346)]<=0x0||_0x57e97d<=0x0||_0x2fa431<=0x0)return;let _0xc55098=Math[_0x1c63a7(0x329)](_0x57e97d/_0x59705f['width'],_0x2fa431/_0x59705f[_0x1c63a7(0x346)]);!Number['isFinite'](_0xc55098)||_0xc55098<=0x0||_0x19e8d4['forEach'](_0x79e615=>{const _0x1883c6=_0x1c63a7;if(_0x79e615[_0x1883c6(0x23b)])return;if(_0x79e615[_0x1883c6(0x1d0)]!==null&&(_0x79e615[_0x1883c6(0x22e)]['style']['getPropertyValue'](_0x1883c6(0xea))!==_0x79e615[_0x1883c6(0x1d0)]||_0x79e615[_0x1883c6(0x22e)][_0x1883c6(0x1c8)][_0x1883c6(0x223)](_0x1883c6(0xea))!==_0x79e615[_0x1883c6(0x256)]['priority'])){_0x79e615['appliedStrokeWidth']=null,_0x79e615[_0x1883c6(0x23b)]=!0x0;return;}let _0xd53160=_0x79e615[_0x1883c6(0x32f)]*_0x146691/_0xc55098,_0x2bcc71=Number(_0xd53160[_0x1883c6(0x3f2)](0xc))+'px';_0x79e615[_0x1883c6(0x22e)][_0x1883c6(0x1c8)][_0x1883c6(0x233)](_0x1883c6(0xea),_0x2bcc71,_0x79e615[_0x1883c6(0x256)][_0x1883c6(0xc6)]),_0x79e615[_0x1883c6(0x1d0)]=_0x2bcc71;});},_0x5b856a=_0x4797e1['getBoundingClientRect']();_0x1f661f(_0x5b856a[_0x55fee3(0x11a)],_0x5b856a['height']);let _0x597cd1=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4ee0ee=>{const _0x14fbde=_0x55fee3;if(_0x4ee0ee[_0x14fbde(0x330)](_0x54861b=>_0x54861b[_0x14fbde(0x1bd)]===_0x4797e1)){let _0x1dc51a=_0x4797e1[_0x14fbde(0x2a7)]();_0x1f661f(_0x1dc51a[_0x14fbde(0x11a)],_0x1dc51a[_0x14fbde(0x346)]);}});return _0x597cd1==null||_0x597cd1['observe'](_0x4797e1),()=>{const _0x551824=_0x55fee3;_0x597cd1==null||_0x597cd1['disconnect'](),_0x19e8d4[_0x551824(0x23f)](_0x1ec993=>{const _0x253e80=_0x551824;_0x1ec993[_0x253e80(0x1d0)]!==null&&(_0xf883b5(_0x1ec993['element'][_0x253e80(0x1c8)],'stroke-width',_0x1ec993[_0x253e80(0x1d0)],_0x1ec993['strokeWidth']['priority'],_0x1ec993[_0x253e80(0x256)]),!_0x1ec993[_0x253e80(0x20f)]&&_0x1ec993[_0x253e80(0x22e)][_0x253e80(0x1c8)][_0x253e80(0x12a)]===0x0&&_0x1ec993[_0x253e80(0x22e)][_0x253e80(0x353)](_0x253e80(0x1c8)));});};}function _0x3f5452(_0x30d833,_0x4bfa52){const _0x8a4474=_0x14788d;return{'priority':_0x30d833[_0x8a4474(0x223)](_0x4bfa52),'value':_0x30d833[_0x8a4474(0x41b)](_0x4bfa52)};}function _0xf883b5(_0x233da7,_0xdbb248,_0x290f8c,_0x2c0f9a,_0x3b584e){const _0x23cf82=_0x14788d;_0x233da7[_0x23cf82(0x41b)](_0xdbb248)===_0x290f8c&&_0x233da7['getPropertyPriority'](_0xdbb248)===_0x2c0f9a&&(_0x3b584e[_0x23cf82(0x1d7)]?_0x233da7['setProperty'](_0xdbb248,_0x3b584e['value'],_0x3b584e[_0x23cf82(0xc6)]):_0x233da7[_0x23cf82(0x24c)](_0xdbb248));}_0x39e6aa['displayName']='UniverIcon';let _0x4833cd={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x1fb),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x27f),'fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x2cd),'fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x195)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':'currentColor','d':_0x14788d(0x159)}}]},_0x89ad3c=(0x0,_0x40ced8['forwardRef'])(function(_0xd9780a,_0x3e14bb){const _0x9c72ee=_0x14788d;return(0x0,_0x40ced8[_0x9c72ee(0x257)])(_0x39e6aa,Object['assign']({},_0xd9780a,{'id':_0x9c72ee(0x2d6),'ref':_0x3e14bb,'icon':_0x4833cd}));});_0x89ad3c[_0x14788d(0x1e4)]=_0x14788d(0xe3);let _0x4b54d9={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x2af),'strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}}]},_0x5e5871=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x195d1c,_0x44e718){const _0x45b253=_0x14788d;return(0x0,_0x40ced8[_0x45b253(0x257)])(_0x39e6aa,Object['assign']({},_0x195d1c,{'id':'more-down-icon','ref':_0x44e718,'icon':_0x4b54d9}));});_0x5e5871[_0x14788d(0x1e4)]='MoreDownIcon';let _0x45cd54={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x29c),'strokeLinecap':'round','strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}}]},_0x3f34b8=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x2b4651,_0x3045d9){const _0x58d90b=_0x14788d;return(0x0,_0x40ced8[_0x58d90b(0x257)])(_0x39e6aa,Object['assign']({},_0x2b4651,{'id':'more-up-icon','ref':_0x3045d9,'icon':_0x45cd54}));});_0x3f34b8[_0x14788d(0x1e4)]=_0x14788d(0x3c1);let _0x4bec2d={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':'none','viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x1e7),'fillRule':'evenodd','clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x372)}}]},_0x19b97d=(0x0,_0x40ced8['forwardRef'])(function(_0x303657,_0x2035a3){const _0x25c32e=_0x14788d;return(0x0,_0x40ced8[_0x25c32e(0x257)])(_0x39e6aa,Object['assign']({},_0x303657,{'id':_0x25c32e(0x16a),'ref':_0x2035a3,'icon':_0x4bec2d}));});_0x19b97d[_0x14788d(0x1e4)]=_0x14788d(0x3ee);let _0x5868c5={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':'currentColor','d':'M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','fillRule':'evenodd','clipRule':_0x14788d(0x39d)}},{'tag':'path','attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x409)}}]},_0x5a6d9e=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x4448b3,_0x58017b){const _0xb12cf7=_0x14788d;return(0x0,_0x40ced8[_0xb12cf7(0x257)])(_0x39e6aa,Object[_0xb12cf7(0x351)]({},_0x4448b3,{'id':_0xb12cf7(0x396),'ref':_0x58017b,'icon':_0x5868c5}));});_0x5a6d9e[_0x14788d(0x1e4)]=_0x14788d(0xdd);let _0x54f137={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x196),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':'M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':'currentColor','d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}}]},_0x55676f=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x5d4bc1,_0x535db6){const _0x617fb3=_0x14788d;return(0x0,_0x40ced8['createElement'])(_0x39e6aa,Object[_0x617fb3(0x351)]({},_0x5d4bc1,{'id':_0x617fb3(0x190),'ref':_0x535db6,'icon':_0x54f137}));});_0x55676f[_0x14788d(0x1e4)]=_0x14788d(0x1bb);let _0x522221={'tag':'svg','attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':'0\x200\x2016\x2016','width':_0x14788d(0x154),'height':_0x14788d(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x2c8),'strokeLinecap':_0x14788d(0x26c),'strokeLinejoin':_0x14788d(0x26c),'strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x1fa),'strokeLinecap':_0x14788d(0x26c),'strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x12e),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':_0x14788d(0x3b2),'strokeLinejoin':_0x14788d(0x26c)}},{'tag':_0x14788d(0x15a),'attrs':{'stroke':_0x14788d(0x3b9),'d':'M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z'}}]},_0x5942b0=(0x0,_0x40ced8['forwardRef'])(function(_0x32013b,_0x1688ba){const _0x171dca=_0x14788d;return(0x0,_0x40ced8[_0x171dca(0x257)])(_0x39e6aa,Object[_0x171dca(0x351)]({},_0x32013b,{'id':_0x171dca(0x420),'ref':_0x1688ba,'icon':_0x522221}));});_0x5942b0[_0x14788d(0x1e4)]=_0x14788d(0x282);let _0x2d317a={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':'none','viewBox':_0x14788d(0xa9),'width':'1em','height':_0x14788d(0x154)},'children':[{'tag':_0x14788d(0x2b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':2.45,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':6.1,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':6.1,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':9.4,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':9.4,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':1.5,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':3.25,'height':1.2,'x':15.25,'y':12.7,'fill':'currentColor','rx':0.6}},{'tag':_0x14788d(0x2b5),'attrs':{'width':0x11,'height':1.2,'x':1.5,'y':16.35,'fill':_0x14788d(0x3b9),'rx':0.6}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0xa8),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x4d6fbf=(0x0,_0x40ced8['forwardRef'])(function(_0x399ae2,_0x443179){const _0x32ed39=_0x14788d;return(0x0,_0x40ced8[_0x32ed39(0x257)])(_0x39e6aa,Object[_0x32ed39(0x351)]({},_0x399ae2,{'id':_0x32ed39(0x297),'ref':_0x443179,'icon':_0x2d317a}));});_0x4d6fbf[_0x14788d(0x1e4)]=_0x14788d(0x299);let _0x515b63={'tag':_0x14788d(0xf5),'attrs':{'xmlns':_0x14788d(0x314),'fill':_0x14788d(0x3bb),'viewBox':_0x14788d(0x1fb),'width':_0x14788d(0x154),'height':'1em'},'children':[{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x3b7)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':_0x14788d(0x39d),'clipRule':_0x14788d(0x39d)}},{'tag':_0x14788d(0x15a),'attrs':{'fill':_0x14788d(0x3b9),'d':_0x14788d(0x2ed),'fillRule':'evenodd','clipRule':_0x14788d(0x39d)}}]},_0x405cdd=(0x0,_0x40ced8[_0x14788d(0x2c3)])(function(_0x4b4233,_0x12162b){const _0x4dd3b4=_0x14788d;return(0x0,_0x40ced8['createElement'])(_0x39e6aa,Object[_0x4dd3b4(0x351)]({},_0x4b4233,{'id':_0x4dd3b4(0x1df),'ref':_0x12162b,'icon':_0x515b63}));});_0x405cdd['displayName']='TopmostIcon';function _0x40167c(_0x303f88){const _0x587266=_0x14788d;return(0x0,_0x3eb5bb['jsx'])(_0x2b2ad6,{..._0x303f88,'PickerComponent':_0x4df77c[_0x587266(0x3c4)]});}function _0x132d09(){const _0x4bcd48=_0x14788d;let _0x5686c6=(0x0,_0x1f9d09[_0x4bcd48(0xe6)])(_0x51ff18[_0x4bcd48(0x18a)]),_0x592e07=_0x39e837(),[_0x92464a,_0x5df3e8]=(0x0,_0x40ced8['useState'])(!0x1);return(0x0,_0x3eb5bb[_0x4bcd48(0x388)])('div',{'className':'univer-grid\x20univer-gap-3','children':[(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0xe2a8e7[_0x4bcd48(0x1f3)],{'title':_0x5686c6['t'](_0x4bcd48(0xbd)),'aria-expanded':_0x92464a,'variant':_0x4bcd48(0x2f9),'trailing':_0x92464a?(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x3f34b8,{}):(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x5e5871,{}),'onClick':()=>_0x5df3e8(_0x4b100e=>!_0x4b100e)}),_0x92464a&&(0x0,_0x3eb5bb[_0x4bcd48(0x2cc)])(_0x4df77c[_0x4bcd48(0x3c4)],{'excludeGroups':[_0x4df77c[_0x4bcd48(0xa2)][_0x4bcd48(0x1f0)]],'onShapeClick':_0x36a576=>{_0x592e07(_0x36a576),_0x5df3e8(!0x1);}})]});}function _0x31d126(_0x4a96c4){const _0x390732=_0x14788d;return _0x4a96c4[_0x390732(0x150)]()||void 0x0;}function _0x313e3a(_0x3e2d83,_0x413cf3,_0x26ae86){const _0x36524b=_0x14788d;var _0x2a0219,_0x24b4c5;return((_0x2a0219=_0x3e2d83['name'])==null?void 0x0:_0x2a0219[_0x36524b(0x150)]())||((_0x24b4c5=_0x3e2d83[_0x36524b(0x213)])==null?void 0x0:_0x24b4c5['trim']())||_0x26ae86['t'](_0x36524b(0x425)+(0x0,_0x4df77c[_0x36524b(0x1c2)])(_0x3e2d83[_0x36524b(0x22c)]))+'\x20'+(_0x413cf3+0x1);}function _0x262e74({PanelComponent:_0x291649=_0x358a20[_0x14788d(0x31e)]}){const _0x512d86=_0x14788d;let _0x393c16=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x51ff18[_0x512d86(0x18a)]),_0x59a2d4={'title':_0x393c16['t'](_0x512d86(0x335)),'empty':_0x393c16['t'](_0x512d86(0x3fc)),'showAll':_0x393c16['t'](_0x512d86(0x184)),'hideAll':_0x393c16['t']('drawing-ui.objectListPanel.hideAll'),'lockAll':_0x393c16['t'](_0x512d86(0x289)),'unlockAll':_0x393c16['t'](_0x512d86(0x240)),'moveForward':_0x393c16['t']('drawing-ui.objectListPanel.moveForward'),'moveBackward':_0x393c16['t']('drawing-ui.objectListPanel.moveBackward'),'close':_0x393c16['t']('drawing-ui.objectListPanel.close'),'show':_0x393c16['t']('drawing-ui.objectListPanel.show'),'hide':_0x393c16['t'](_0x512d86(0x217)),'lock':_0x393c16['t']('drawing-ui.objectListPanel.lock'),'unlock':_0x393c16['t'](_0x512d86(0x3be)),'lockHint':_0x393c16['t'](_0x512d86(0x1ab)),'unlockHint':_0x393c16['t'](_0x512d86(0x245)),'name':_0x393c16['t'](_0x512d86(0x3fb)),'nameInput':_0x393c16['t'](_0x512d86(0x12b)),'description':_0x393c16['t'](_0x512d86(0xfd)),'descriptionPlaceholder':_0x393c16['t']('drawing-ui.objectListPanel.descriptionPlaceholder'),'details':_0x393c16['t'](_0x512d86(0x144)),'noSelection':_0x393c16['t'](_0x512d86(0x211)),'locate':_0x393c16['t']('drawing-ui.objectListPanel.locate'),'expand':_0x393c16['t'](_0x512d86(0x30b)),'collapse':_0x393c16['t'](_0x512d86(0x3d3)),'dragToReorder':_0x393c16['t']('drawing-ui.objectListPanel.dragToReorder'),'search':_0x393c16['t'](_0x512d86(0xdf)),'filterAll':_0x393c16['t'](_0x512d86(0x26a)),'filterHidden':_0x393c16['t'](_0x512d86(0x155)),'filterLocked':_0x393c16['t'](_0x512d86(0x145)),'sectionCanvas':_0x393c16['t']('drawing-ui.objectListPanel.sectionCanvas'),'sectionFloating':_0x393c16['t'](_0x512d86(0xf7))},_0x1a5026=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x512d86(0x220)]),_0x45f70b=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['IUniverInstanceService']),_0x26facc=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x522777[_0x512d86(0x3fd)]),_0x2b26cc=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x893ff7[_0x512d86(0x2f4)]),_0x1ecd48=(0x0,_0x1f9d09[_0x512d86(0xe6)])(_0x164900[_0x512d86(0x1fd)]),[,_0x232060]=(0x0,_0x40ced8[_0x512d86(0x2ae)])(_0x2841c=>_0x2841c+0x1,0x0),_0x4fb898=_0x45f70b['getCurrentUnitOfType'](_0x51ff18[_0x512d86(0x1b6)]['UNIVER_DOC']),_0x1b5ab8=(_0x4fb898==null?void 0x0:_0x4fb898[_0x512d86(0x38f)]())??'',_0x3f2129=_0x1b5ab8,_0x383cb1=(0x0,_0x1f9d09[_0x512d86(0xec)])(()=>_0x2b26cc[_0x512d86(0x301)],_0x2b26cc[_0x512d86(0x34e)](),!0x1,[_0x2b26cc]);(0x0,_0x40ced8[_0x512d86(0x187)])(()=>{const _0x4b1c7d=_0x512d86;let _0x3755e4=_0x1a5026[_0x4b1c7d(0x3f1)](()=>_0x232060());return()=>_0x3755e4['dispose']();},[_0x1a5026]);let _0x13323f=_0x1b5ab8?_0x26facc[_0x512d86(0x192)](_0x1b5ab8,_0x3f2129):{},_0x221f4c=(_0x1b5ab8?_0x26facc[_0x512d86(0x262)](_0x1b5ab8,_0x3f2129):[])[_0x512d86(0xf0)](_0x558008=>_0x13323f[_0x558008])['filter'](_0x3d26b8=>!!_0x3d26b8)['reverse'](),_0x1f24e4=_0x221f4c['reduce']((_0xd9b476,_0x32d778)=>(_0xd9b476[(0x0,_0x358a20[_0x512d86(0x1a1)])(_0x32d778['drawingType'])]+=0x1,_0xd9b476),{'canvas':0x0,'floating':0x0}),_0x3fce24={'canvas':0x0,'floating':0x0},_0x13e653=_0x221f4c[_0x512d86(0xf0)]((_0x373406,_0x346845)=>{const _0x1cf34c=_0x512d86;let _0x5ac989=(0x0,_0x358a20[_0x1cf34c(0x1a1)])(_0x373406['drawingType']),_0x3712b8=_0x5ac989===_0x358a20[_0x1cf34c(0x106)],_0x4fd614=_0x3fce24[_0x5ac989]++;return{'id':_0x373406[_0x1cf34c(0x3f7)],'name':_0x313e3a(_0x373406,_0x346845,_0x393c16),'description':_0x373406[_0x1cf34c(0x3c6)],'visible':_0x373406[_0x1cf34c(0x390)]!==!0x0,'selectable':_0x373406[_0x1cf34c(0x20a)]!==!0x1,'sectionId':_0x5ac989,'sectionTitle':_0x3712b8?_0x59a2d4[_0x1cf34c(0x214)]:_0x59a2d4[_0x1cf34c(0x2dc)],'capabilities':_0x3712b8?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x3712b8&&_0x4fd614>0x0,'canMoveBackward':!_0x3712b8&&_0x4fd614<_0x1f24e4[_0x1cf34c(0x2b9)]-0x1,'canReorder':!_0x3712b8};}),_0x137f05=(0x0,_0x40ced8['useMemo'])(()=>(_0x383cb1??[])[_0x512d86(0x33d)](_0x2e3b88=>_0x2e3b88[_0x512d86(0x1b5)]===_0x1b5ab8&&_0x2e3b88[_0x512d86(0x151)]===_0x3f2129)[_0x512d86(0xf0)](_0x31fa51=>_0x31fa51[_0x512d86(0x3f7)]),[_0x383cb1,_0x3f2129,_0x1b5ab8]),_0x2bd255=_0x137f05[_0x137f05[_0x512d86(0x12a)]-0x1]??null,_0x5cdb1d=_0x4f4e58=>_0x26facc[_0x512d86(0x122)]({'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x4f4e58})??null,_0x18e5af=async _0x87c069=>{const _0x2a60c2=_0x512d86;_0x1b5ab8&&_0x87c069['length']&&await _0x1a5026[_0x2a60c2(0x238)](_0xddc3b0[_0x2a60c2(0x263)]['id'],{'unitId':_0x1b5ab8,'patches':_0x87c069});},_0x27b720=(_0x58a210,_0x15fd23)=>{const _0x145f87=_0x512d86;if(!_0x1b5ab8)return;let _0x21941d=_0x15fd23?_0x137f05[_0x145f87(0xa0)](_0x58a210)?_0x137f05[_0x145f87(0x33d)](_0x482fc8=>_0x482fc8!==_0x58a210):[..._0x137f05,_0x58a210]:[_0x58a210];_0x1a5026[_0x145f87(0x3aa)](_0x893ff7[_0x145f87(0xb7)]['id'],_0x21941d[_0x145f87(0xf0)](_0x4bb186=>({'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x4bb186})));let _0x222807=_0x21941d[_0x21941d[_0x145f87(0x12a)]-0x1];_0x222807?(0x0,_0x4df77c[_0x145f87(0x37c)])(_0x1ecd48,{'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingId':_0x222807}):(0x0,_0x4df77c[_0x145f87(0xf4)])(_0x1ecd48,_0x1b5ab8);},_0x34efa3=async(_0x19d31c,_0x242c1a)=>{const _0x5d1380=_0x512d86;await _0x18e5af(_0x19d31c[_0x5d1380(0xf0)](_0x2a6604=>_0x5cdb1d(_0x2a6604))[_0x5d1380(0x33d)](_0x1c2971=>!!_0x1c2971)['filter'](_0x2a5114=>_0x2a5114[_0x5d1380(0x390)]!==!0x0!==_0x242c1a)[_0x5d1380(0xf0)](_0xd5a397=>({'drawingId':_0xd5a397[_0x5d1380(0x3f7)],'hidden':!_0x242c1a})));},_0x311e5d=async(_0x285d32,_0x2a022f)=>{const _0xf9cd73=_0x512d86;await _0x18e5af(_0x285d32[_0xf9cd73(0xf0)](_0x450418=>_0x5cdb1d(_0x450418))[_0xf9cd73(0x33d)](_0x176ffd=>!!_0x176ffd)[_0xf9cd73(0x33d)](_0x4480a4=>_0x4480a4[_0xf9cd73(0x20a)]!==!0x1!==_0x2a022f)[_0xf9cd73(0xf0)](_0x3ff46f=>({'drawingId':_0x3ff46f[_0xf9cd73(0x3f7)],'selectable':_0x2a022f})));},_0x242ce6=_0x3221b9=>{const _0x3e7175=_0x512d86;let _0x28e932=_0x5cdb1d(_0x3221b9);if(_0x28e932)return _0x311e5d([_0x3221b9],_0x28e932[_0x3e7175(0x20a)]===!0x1);},_0x36ad52=async(_0x523db2,_0x1c5165)=>{const _0x25b43b=_0x512d86;let _0x334792=_0x5cdb1d(_0x523db2),_0x41885b=_0x31d126(_0x1c5165);!_0x334792||(_0x334792[_0x25b43b(0x29a)]??void 0x0)===_0x41885b&&(_0x334792[_0x25b43b(0x213)]||void 0x0)===_0x41885b||await _0x18e5af([{'drawingId':_0x523db2,'name':_0x41885b,'title':_0x41885b}]);},_0x205d48=async(_0x33c385,_0x3f6dfc)=>{const _0x52e7d7=_0x512d86;let _0x57b8c4=_0x5cdb1d(_0x33c385),_0x486159=_0x31d126(_0x3f6dfc);_0x57b8c4&&(_0x57b8c4[_0x52e7d7(0x3c6)]??void 0x0)!==_0x486159&&await _0x18e5af([{'drawingId':_0x33c385,'description':_0x486159}]);},_0x2bf331=async(_0xb68082,_0x44186f)=>{const _0x1ac3f8=_0x512d86;_0x1b5ab8&&await _0x1a5026[_0x1ac3f8(0x238)](_0x522777[_0x1ac3f8(0x403)]['id'],{'unitId':_0x1b5ab8,'subUnitId':_0x3f2129,'drawingIds':[_0xb68082],'arrangeType':_0x44186f});};return _0x1b5ab8?(0x0,_0x3eb5bb[_0x512d86(0x2cc)])(_0x291649,{'labels':_0x59a2d4,'renderPermissionAction':_0x3b431d=>_0x4fb898?(0x0,_0x3eb5bb['jsx'])(_0x1f9d09[_0x512d86(0x271)],{'target':{'unitId':_0x1b5ab8,'objectId':(0x0,_0x31599d['getDocumentEntityPermissionObjectId'])((0x0,_0x31599d[_0x512d86(0x332)])(_0x4fb898,_0x3b431d['id']),'drawing',_0x3b431d['id']),'objectType':_0x239f90[_0x512d86(0x160)][_0x512d86(0x276)]},'name':_0x3b431d['name'],'commandId':_0x31599d['SetDocumentPermissionCommand']['id'],'exists':()=>!!_0x5cdb1d(_0x3b431d['id'])},_0x1b5ab8+'/'+_0x3b431d['id']):null,'items':_0x13e653,'selectedIds':_0x137f05,'focusedId':_0x2bd255,'showHeader':!0x1,'onSelect':_0x27b720,'onSetVisible':_0x34efa3,'onSetSelectable':_0x311e5d,'onCommitName':_0x36ad52,'onCommitDescription':_0x205d48,'onMoveForward':async _0x5a178c=>_0x2bf331(_0x5a178c,_0x51ff18[_0x512d86(0x426)][_0x512d86(0x1f9)]),'onMoveBackward':async _0x653d0b=>_0x2bf331(_0x653d0b,_0x51ff18[_0x512d86(0x426)][_0x512d86(0x416)]),'onToggleSelectable':_0x242ce6}):(0x0,_0x3eb5bb[_0x512d86(0x2cc)])(_0x512d86(0x1a2),{'className':_0x512d86(0x255),'children':_0x59a2d4[_0x512d86(0x213)]});}function _0x226c5b(){const _0x36b608=_0x14788d;return(0x0,_0x3eb5bb[_0x36b608(0x2cc)])(_0x262e74,{'PanelComponent':_0x358a20[_0x36b608(0x219)]});}let _0xf7061=class{constructor(_0x376bc2){const _0x1efad4=_0x14788d;this[_0x1efad4(0x11c)]=_0x376bc2;}[_0x14788d(0x31a)](_0x317fcc,_0x13e2e0){const _0x23ee55=_0x14788d;let _0x5efc31=this[_0x23ee55(0x11c)][_0x23ee55(0x307)](_0x317fcc[_0x23ee55(0x1b5)]),_0x36d6d7=_0x5efc31==null?void 0x0:_0x5efc31[_0x23ee55(0x413)];if(!_0x36d6d7)return;let _0x585158=(0x0,_0x893ff7[_0x23ee55(0x3d4)])(_0x317fcc),_0x5e2ab3=_0x36d6d7[_0x23ee55(0xa5)](_0x585158);_0x5e2ab3==null||_0x5e2ab3[_0x23ee55(0x316)](_0x13e2e0);}};_0xf7061=_0x1e5419([_0x3fe79d(0x0,_0x164900[_0x14788d(0x1fd)])],_0xf7061);function _0x284eae(){const _0x3e718f=_0x14788d;let _0x4b75af=(0x0,_0x1f9d09[_0x3e718f(0xe6)])(_0x893ff7[_0x3e718f(0x2f4)]),_0x1763cc=(0x0,_0x1f9d09[_0x3e718f(0xec)])(()=>_0x4b75af['focus$'],_0x4b75af[_0x3e718f(0x34e)](),!0x1,[_0x4b75af]);return _0x1763cc[_0x3e718f(0x12a)]===0x0?null:(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x3e718f(0x1a2),{'children':(0x0,_0x3eb5bb[_0x3e718f(0x388)])(_0x3e718f(0x1a2),{'className':_0x3e718f(0x3b5),'children':[(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x358a20[_0x3e718f(0x3ca)],{'drawings':_0x1763cc,'hasCropper':!0x1}),(0x0,_0x3eb5bb['jsx'])(_0x2fdebd[_0x3e718f(0xb8)],{'drawings':_0x1763cc}),(0x0,_0x3eb5bb[_0x3e718f(0x2cc)])(_0x2fdebd['DocDrawingPosition'],{'drawings':_0x1763cc})]})});}function _0x310271(_0x24edcb){const _0x1fc5d3=_0x14788d;let {unitId:_0x44dd16,subUnitId:_0x371cd7,shapeId:_0x5af5bf,PositionComponent:_0x16ae78=_0x284eae}=_0x24edcb,_0x4a4e33=(0x0,_0x1f9d09['useDependency'])(_0x51ff18['ICommandService']),_0x49033f=(0x0,_0x1f9d09[_0x1fc5d3(0xe6)])(_0xf7061);return(0x0,_0x3eb5bb[_0x1fc5d3(0x2cc)])(_0x4df77c[_0x1fc5d3(0x361)],{..._0x24edcb,'positionEditor':(0x0,_0x3eb5bb[_0x1fc5d3(0x2cc)])(_0x16ae78,{}),'onUpdateShapeData':(_0x4075c9,_0x466530)=>{_0x50d249(_0x4a4e33,_0x44dd16,_0x371cd7,_0x5af5bf,_0x4075c9,_0x466530);},'onUpdateLineShapeData':(_0x1648f3,_0x4ca13b)=>{_0x529d23(_0x4a4e33,_0x44dd16,_0x371cd7,_0x5af5bf,_0x1648f3,_0x4ca13b);},'onUpdateShapeFillImage':_0x20ed52=>{const _0x28d77f=_0x1fc5d3;_0x49033f[_0x28d77f(0x31a)]({'unitId':_0x44dd16,'subUnitId':_0x371cd7,'drawingId':_0x5af5bf},_0x20ed52);}});}function _0x43947a(){const _0x2c617b=_0x14788d;let _0x723fcc=(0x0,_0x1f9d09[_0x2c617b(0xe6)])(_0x893ff7['IDrawingManagerService']),_0x3081cb=(0x0,_0x1f9d09[_0x2c617b(0xec)])(_0x723fcc[_0x2c617b(0x301)],_0x723fcc[_0x2c617b(0x34e)]());return _0x3081cb[_0x2c617b(0x12a)]===0x0?null:(0x0,_0x3eb5bb[_0x2c617b(0x388)])(_0x2c617b(0x1a2),{'className':'univer-grid\x20univer-gap-5\x20univer-px-4\x20univer-py-3','children':[(0x0,_0x3eb5bb['jsx'])(_0x358a20[_0x2c617b(0x3ca)],{'drawings':_0x3081cb,'hasCropper':!0x1}),(0x0,_0x3eb5bb['jsx'])(_0x2fdebd[_0x2c617b(0x230)],{'drawings':_0x3081cb}),(0x0,_0x3eb5bb[_0x2c617b(0x2cc)])(_0x2fdebd[_0x2c617b(0x25b)],{'drawings':_0x3081cb})]});}function _0x16cc75(_0x471265){const _0x5f2617=_0x14788d;return(0x0,_0x3eb5bb['jsx'])(_0x4df77c[_0x5f2617(0x178)],{'children':(0x0,_0x3eb5bb[_0x5f2617(0x2cc)])(_0x310271,{..._0x471265,'PositionComponent':_0x43947a})});}function _0x4b40b3({popup:_0x1f0044}){const _0xf1f453=_0x14788d;let _0x42745b=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0xf1f453(0x18a)]),{shapeType:_0x4d5d27,onText:_0x17c1d3,onStyle:_0x2d16a7,onDelete:_0x12067e}=_0x1f0044[_0xf1f453(0x405)],_0x3ae082=[{'key':_0xf1f453(0x21a),'order':0x0,'item':{'id':_0xf1f453(0x21a),'type':_0x1f9d09[_0xf1f453(0x236)][_0xf1f453(0x1dc)],'title':_0x42745b['t'](_0xf1f453(0x3e5)),'disabled$':(0x0,_0x1191c7['of'])((0x0,_0x59d795[_0xf1f453(0xdb)])(_0x4d5d27))}},{'key':_0xf1f453(0x1c8),'order':0x1,'item':{'id':_0xf1f453(0x1c8),'type':_0x1f9d09[_0xf1f453(0x236)]['BUTTON'],'title':_0x42745b['t'](_0xf1f453(0x38b))}},{'key':_0xf1f453(0x142),'order':0x2,'item':{'id':_0xf1f453(0x142),'type':_0x1f9d09[_0xf1f453(0x236)]['BUTTON'],'title':_0x42745b['t'](_0xf1f453(0x428))}}];return(0x0,_0x3eb5bb[_0xf1f453(0x2cc)])(_0x1f9d09[_0xf1f453(0x40f)],{'schemas':_0x3ae082,'presentation':'context-bar','onOptionSelect':async({id:_0xaa9c94})=>{const _0x13a408=_0xf1f453;_0xaa9c94==='text'?await _0x17c1d3():_0xaa9c94==='style'?await _0x2d16a7():_0xaa9c94===_0x13a408(0x142)&&await _0x12067e();}});}let _0x3538af='doc.shape.floating-toolbar';function _0x374521(_0x5c0124,_0x57eccd){const _0x22bd12=_0x14788d;var _0x5eb723;let _0x3a65ad=_0x5c0124==null||(_0x5eb723=_0x5c0124[_0x22bd12(0x27d)]()[_0x22bd12(0x3e2)])==null?void 0x0:_0x5eb723[_0x57eccd];return _0x3a65ad?_0x3a65ad[_0x22bd12(0x1e9)]===_0x51ff18[_0x22bd12(0x2ea)]['WRAP_NONE']?_0x3a65ad[_0x22bd12(0x3ae)]===_0x51ff18[_0x22bd12(0x277)][_0x22bd12(0x221)]?_0x522777[_0x22bd12(0x306)]['BEHIND_TEXT']:_0x522777[_0x22bd12(0x306)][_0x22bd12(0x28a)]:_0x3a65ad['layoutType']===_0x51ff18[_0x22bd12(0x2ea)]['WRAP_SQUARE']?_0x522777[_0x22bd12(0x306)]['WRAP_SQUARE']:_0x3a65ad['layoutType']===_0x51ff18[_0x22bd12(0x2ea)][_0x22bd12(0x2e7)]?_0x522777[_0x22bd12(0x306)][_0x22bd12(0x2e7)]:_0x522777['TextWrappingStyle'][_0x22bd12(0x2fd)]:_0x522777['TextWrappingStyle'][_0x22bd12(0x2fd)];}function _0x2dc890(_0x2b3c1c){const _0x4bcb60=_0x14788d;let _0x44d991=(0x0,_0x1f9d09[_0x4bcb60(0xe6)])(_0x4df77c['ShapeFloatingToolbarService']),_0x3908e4=(0x0,_0x1f9d09[_0x4bcb60(0xec)])(()=>_0x44d991['visible$'],_0x44d991[_0x4bcb60(0x371)](),!0x1,[_0x44d991]),_0x33e872=_0x2b3c1c[_0x4bcb60(0x3f8)][_0x4bcb60(0x405)];return _0x3908e4?(0x0,_0x3eb5bb[_0x4bcb60(0x2cc)])(_0x1958f1,{..._0x33e872,'canvasElement':_0x2b3c1c['popup'][_0x4bcb60(0x383)]}):null;}function _0x1958f1(_0x36bff1){const _0x5edd9a=_0x14788d;let _0x2beb36=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0x51ff18[_0x5edd9a(0x220)]),_0x2f65e2=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0x51ff18[_0x5edd9a(0x18a)]),_0x35fd12=(0x0,_0x1f9d09[_0x5edd9a(0xe6)])(_0xddc3b0[_0x5edd9a(0x131)]),_0x607aff=(0x0,_0x1f9d09['useDependency'])(_0x51ff18[_0x5edd9a(0x3bc)]),{unitId:_0x25b402,subUnitId:_0x9b4242,drawingId:_0x2835ec,shapeType:_0x2a2f54}=_0x36bff1,[_0x3a7d03,_0x4c6d3d]=(0x0,_0x40ced8[_0x5edd9a(0x125)])(_0x36bff1[_0x5edd9a(0x167)]),_0x56da6c=_0x607aff[_0x5edd9a(0x419)](_0x25b402,_0x51ff18[_0x5edd9a(0x1b6)][_0x5edd9a(0x33c)])??void 0x0,[_0x594e09,_0x1743ef]=(0x0,_0x40ced8['useState'])(()=>_0x374521(_0x56da6c,_0x2835ec)),_0x4e3bcc=(0x0,_0x40ced8['useMemo'])(()=>(0x0,_0x4df77c['getTextStyle'])(_0x3a7d03),[_0x3a7d03]),_0x281c48=(0x0,_0x40ced8['useMemo'])(()=>(0x0,_0x4df77c['getTextModel'])(_0x3a7d03),[_0x3a7d03]);(0x0,_0x40ced8[_0x5edd9a(0x187)])(()=>{const _0x1c7ee7=_0x5edd9a;let _0x824469=_0x2beb36[_0x1c7ee7(0x3f1)](_0x398927=>{const _0x3f7e17=_0x1c7ee7;if(_0x398927['id']!==_0xddc3b0[_0x3f7e17(0x127)]['id'])return;let _0x479074=_0x35fd12[_0x3f7e17(0x325)](_0x25b402,_0x9b4242,_0x2835ec);_0x479074&&_0x4c6d3d(_0x479074);});return()=>_0x824469[_0x1c7ee7(0x20b)]();},[_0x2beb36,_0x35fd12,_0x2835ec,_0x9b4242,_0x25b402]);let _0x462c88=_0x5c8b5e=>{_0x4c6d3d(_0x18ee7d=>({..._0x18ee7d,..._0x5c8b5e}));},_0x15ab69=_0xe39c97=>{const _0x2cf9b4=_0x5edd9a;let _0x5a1c26=(0x0,_0x4df77c[_0x2cf9b4(0x395)])(_0x3a7d03,_0xe39c97);_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,{'oldShapeData':{'shapeText':_0x3a7d03['shapeText']}},_0x5a1c26),_0x462c88(_0x5a1c26);},_0x4dbf4a=_0x5f11da=>{const _0x2ee226=_0x5edd9a;_0x1743ef(_0x5f11da),_0x2beb36['executeCommand'](_0x522777[_0x2ee226(0x21e)]['id'],{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawings':[{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec}],'wrappingStyle':_0x5f11da});},_0x54f38d=(0x0,_0x4df77c[_0x5edd9a(0x2a3)])({'hostType':_0x51ff18[_0x5edd9a(0x1b6)][_0x5edd9a(0x33c)],'unitId':_0x25b402,'subUnitId':_0x9b4242,'shapeId':_0x2835ec,'shapeData':_0x3a7d03,'onUpdateBinding':_0x58979b=>{const _0x37d8b5=_0x5edd9a;let _0x546c1b={'formulaBinding':_0x58979b};_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,{'oldShapeData':{'formulaBinding':_0x3a7d03[_0x37d8b5(0x37a)]}},_0x546c1b),_0x462c88(_0x546c1b);}}),_0x32dee5=[{'label':_0x2f65e2['t'](_0x5edd9a(0x2b4)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x2fd)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x2bb)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x3ad)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x303)),'value':_0x522777['TextWrappingStyle'][_0x5edd9a(0x2e7)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x2d1)),'value':_0x522777[_0x5edd9a(0x306)][_0x5edd9a(0x3b6)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})},{'label':_0x2f65e2['t'](_0x5edd9a(0x21f)),'value':_0x522777['TextWrappingStyle'][_0x5edd9a(0x28a)],'icon':(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4d6fbf,{})}];return(0x0,_0x3eb5bb['jsxs'])(_0x3eb5bb[_0x5edd9a(0x268)],{'children':[(0x0,_0x3eb5bb[_0x5edd9a(0x2cc)])(_0x4df77c[_0x5edd9a(0x2bd)],{'canvasElement':_0x36bff1[_0x5edd9a(0x383)],'shapeData':_0x3a7d03,'shapeType':_0x2a2f54,'textStyle':{'ff':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3a3)][_0x5edd9a(0x1db)],'fs':_0x59d795['ShapeDefaultConfig'][_0x5edd9a(0x3a3)][_0x5edd9a(0x1d1)],'cl':{'rgb':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3a3)][_0x5edd9a(0x21d)]},..._0x4e3bcc},'textModel':_0x281c48?{'ha':_0x281c48['ha']??_0x51ff18[_0x5edd9a(0x2e8)][_0x5edd9a(0x3dd)],'va':_0x281c48['va']??_0x51ff18['VerticalAlign']['TOP']}:null,'wrappingStyle':_0x594e09,'wrappingStyleOptions':_0x32dee5,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x59d795['ShapeDefaultConfig']['fill'],'defaultGradientEndColor':_0x59d795['ShapeDefaultConfig']['gradientEndColor'],'defaultStrokeColor':_0x59d795[_0x5edd9a(0x248)][_0x5edd9a(0x3f6)],'extensionGroups':_0x54f38d['extensionGroups'],'floatingObjectToolbarPosition':_0x1f9d09['FloatingObjectToolbarPosition']['DOC'],'onUpdateShapeData':(_0x16c365,_0x3eec0e)=>{_0x50d249(_0x2beb36,_0x25b402,_0x9b4242,_0x2835ec,_0x16c365,_0x3eec0e),_0x3eec0e&&_0x462c88(_0x3eec0e);},'onUpdateText':_0x15ab69,'onUpdateWrappingStyle':_0x426192=>_0x4dbf4a(_0x426192),'onOpenPanel':()=>{_0x2beb36['executeCommand'](_0x38c6c0['id'],{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec});},'onDelete':()=>{const _0x2d52c3=_0x5edd9a;_0x2beb36['executeCommand'](_0x522777[_0x2d52c3(0x3b1)]['id'],{'unitId':_0x25b402,'drawings':[{'unitId':_0x25b402,'subUnitId':_0x9b4242,'drawingId':_0x2835ec}]});}}),_0x54f38d[_0x5edd9a(0xb2)]]});}function _0x39277d({variant:_0x1fe582,extend:_0x5685ab,..._0x12bbbc}){const _0x62d947=_0x14788d;let _0x6f1a2a=(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x2b5),{'x':'7','y':_0x62d947(0x319),'width':'6','height':'9','rx':'1','fill':'currentColor','fillOpacity':_0x62d947(0x2db),'stroke':'currentColor','strokeWidth':_0x62d947(0x15f)});return(0x0,_0x3eb5bb[_0x62d947(0x388)])('svg',{'aria-hidden':_0x62d947(0x104),'fill':_0x62d947(0x3bb),'height':'1em','viewBox':_0x62d947(0xa9),'width':_0x62d947(0x154),..._0x12bbbc,'children':[_0x1fe582==='inline'&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb['jsx'])('path',{'d':_0x62d947(0x1ea),'stroke':_0x62d947(0x3b9),'strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),(0x0,_0x3eb5bb[_0x62d947(0x2cc)])('rect',{'x':'8','y':'7','width':'4','height':'6','rx':_0x62d947(0x210),'fill':_0x62d947(0x3b9),'fillOpacity':_0x62d947(0x2db),'stroke':_0x62d947(0x3b9),'strokeWidth':_0x62d947(0x15f)})]}),_0x1fe582===_0x62d947(0x103)&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':_0x62d947(0x3b0),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),_0x6f1a2a]}),_0x1fe582===_0x62d947(0x1f4)&&(0x0,_0x3eb5bb['jsxs'])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':_0x62d947(0x339),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),_0x6f1a2a]}),_0x1fe582===_0x62d947(0x281)&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[_0x6f1a2a,(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x15a),{'d':'M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke':_0x62d947(0x3b9),'strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)})]}),_0x1fe582==='front'&&(0x0,_0x3eb5bb[_0x62d947(0x388)])(_0x3eb5bb[_0x62d947(0x268)],{'children':[(0x0,_0x3eb5bb[_0x62d947(0x2cc)])('path',{'d':_0x62d947(0x3f5),'stroke':'currentColor','strokeLinecap':_0x62d947(0x26c),'strokeWidth':_0x62d947(0x15f)}),(0x0,_0x3eb5bb[_0x62d947(0x2cc)])(_0x62d947(0x2b5),{'x':'7','y':_0x62d947(0x319),'width':'6','height':'9','rx':'1','fill':_0x62d947(0x3b9)})]})]});}let _0x15d7b9=_0x57fa60=>_0x5e56ab=>(0x0,_0x3eb5bb[_0x14788d(0x2cc)])(_0x39277d,{..._0x5e56ab,'variant':_0x57fa60}),_0x334124={'DocsShapeWrapInlineIcon':_0x15d7b9(_0x14788d(0x406)),'DocsShapeWrapSquareIcon':_0x15d7b9(_0x14788d(0x103)),'DocsShapeWrapTopBottomIcon':_0x15d7b9(_0x14788d(0x1f4)),'DocsShapeWrapBehindTextIcon':_0x15d7b9(_0x14788d(0x281)),'DocsShapeWrapInFrontOfTextIcon':_0x15d7b9(_0x14788d(0x2fc))},_0x640c7d=(0x0,_0x40ced8['memo'])(()=>{const _0x344345=_0x14788d;let _0x2ff55c=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0x1e6cd8),_0x590ba0=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0xddc3b0[_0x344345(0x131)]),_0x22448f=(0x0,_0x1f9d09['useDependency'])(_0x893ff7[_0x344345(0x2f4)]),_0x7eea1e=(0x0,_0x1f9d09[_0x344345(0xe6)])(_0x51ff18[_0x344345(0x220)]),_0x177007=(0x0,_0x40ced8[_0x344345(0x385)])(()=>({'getShapeModel':(_0x3a7eee,_0x492deb,_0x2079fc)=>_0x590ba0[_0x344345(0x11b)](_0x3a7eee,_0x492deb,_0x2079fc),'getShapeData':(_0x648b74,_0x2e6a7e,_0x2e3b86)=>_0x590ba0[_0x344345(0x325)](_0x648b74,_0x2e6a7e,_0x2e3b86),'getDrawingTransform':(_0x30b456,_0xf46f6a,_0x25dcb2)=>{const _0x441251=_0x344345;let _0x1883f7=_0x22448f[_0x441251(0x122)]({'unitId':_0x30b456,'subUnitId':_0xf46f6a,'drawingId':_0x25dcb2});return _0x1883f7==null?void 0x0:_0x1883f7[_0x441251(0x362)];},'updateShapeText':({unitId:_0x4f6d58,shapeId:_0x12b7bf,shapeText:_0x4015dd,oldShapeText:_0x551efe})=>{const _0x437089=_0x344345;_0x7eea1e[_0x437089(0x238)](_0xddc3b0[_0x437089(0x1d3)]['id'],{'unitId':_0x4f6d58,'shapeId':_0x12b7bf,'shapeData':{'shapeText':_0x4015dd},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x551efe}}});},'updateHostSize':({unitId:_0x30f29d,subUnitId:_0x55ab1d,shapeId:_0x1b03c6,width:_0x44bd82,height:_0x24c330})=>{const _0x4c72f8=_0x344345;_0x7eea1e[_0x4c72f8(0x238)](_0x522777[_0x4c72f8(0x121)]['id'],{'unitId':_0x30f29d,'subUnitId':_0x55ab1d,'drawings':[{'drawingId':_0x1b03c6,'key':_0x4c72f8(0x397),'value':{'width':_0x44bd82,'height':_0x24c330}}]});},'allowHostSizeShrink':({unitId:_0x5d65ea,subUnitId:_0x45b41f,shapeId:_0x429f79})=>(0x0,_0x4df77c[_0x344345(0x40d)])(_0x590ba0[_0x344345(0x325)](_0x5d65ea,_0x45b41f,_0x429f79))}),[_0x7eea1e,_0x590ba0,_0x22448f]),_0xcc338b=(0x0,_0x40ced8[_0x344345(0x385)])(()=>({'viewportKeys':{'main':_0x25d652[_0x344345(0x3db)][_0x344345(0x24d)]}}),[]);return(0x0,_0x3eb5bb[_0x344345(0x2cc)])(_0x4df77c[_0x344345(0x293)],{'adapter':_0x177007,'editingService':_0x2ff55c,'editorUnitId':_0x4e1cb4,'positionOptions':_0xcc338b});}),_0x1dc9ea=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x10407e,_0x4161af){const _0x4f9552=_0x14788d;super(),this[_0x4f9552(0x31c)]=_0x10407e,this['_iconManager']=_0x4161af,this['_registerIcons'](),this[_0x4f9552(0xc4)]();}[_0x14788d(0x137)](){const _0x363eb2=_0x14788d;this[_0x363eb2(0x355)]['has'](_0x363eb2(0x1bb))||this['disposeWithMe'](this['_iconManager']['register']({'ObjectLayersIcon':_0x55676f})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)](_0x363eb2(0xe3))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'BottomIcon':_0x89ad3c})),this['_iconManager']['has'](_0x363eb2(0x3ee))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'MoveDownIcon':_0x19b97d})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)](_0x363eb2(0xdd))||this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)][_0x363eb2(0x380)]({'MoveUpIcon':_0x5a6d9e})),this['_iconManager'][_0x363eb2(0xa3)](_0x363eb2(0x282))||this['disposeWithMe'](this[_0x363eb2(0x355)]['register']({'ShapeFormatSettingIcon':_0x5942b0})),this[_0x363eb2(0x355)][_0x363eb2(0xa3)]('TopmostIcon')||this[_0x363eb2(0x2c1)](this['_iconManager'][_0x363eb2(0x380)]({'TopmostIcon':_0x405cdd})),this[_0x363eb2(0x2c1)](this[_0x363eb2(0x355)]['register'](_0x334124));}[_0x14788d(0xc4)](){const _0x19f282=_0x14788d;this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)]['register'](_0x489aae,_0x16cc75)),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x182d51,_0x226c5b)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x3538af,_0x4b40b3)),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x130032,_0xeae6d5)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x2260b3,_0x2f0f28)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x1dea17,_0x122530)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5f5cfd,_0x238d7a)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x26b4d2,_0x1b89c8)),this[_0x19f282(0x2c1)](this['_componentManager'][_0x19f282(0x380)](_0x1b5ebb,_0x4df77c['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5d3b2d,_0x40167c)),this['disposeWithMe'](this['_componentManager'][_0x19f282(0x380)](_0x1f5594,_0x132d09)),this[_0x19f282(0x31c)][_0x19f282(0x24e)](_0x358a20[_0x19f282(0x1cb)])||this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x358a20[_0x19f282(0x1cb)],_0x17755e)),this[_0x19f282(0x2c1)](this[_0x19f282(0x31c)][_0x19f282(0x380)](_0x5381b7,_0x640c7d));}};_0x1dc9ea=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18['Inject'])(_0x1f9d09[_0x14788d(0x292)])),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09[_0x14788d(0x3f9)]))],_0x1dc9ea);let _0xadf974=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x473667,_0x5835fe,_0x3dd0ac,_0x31581a,_0x3125d7,_0x169820,_0x8e0ed3,_0x365d70,_0x4e884d,_0x3625a1,_0x4c9fb2,_0x21cf24,_0x1a8b1b){const _0x2c9ec4=_0x14788d;super(),this[_0x2c9ec4(0x3d6)]=_0x473667,this[_0x2c9ec4(0x2ad)]=_0x5835fe,this[_0x2c9ec4(0x35d)]=_0x3dd0ac,this['_docsShapeService']=_0x31581a,this['_localeService']=_0x3125d7,this[_0x2c9ec4(0x22f)]=_0x169820,this[_0x2c9ec4(0x39e)]=_0x8e0ed3,this[_0x2c9ec4(0x42c)]=_0x365d70,this[_0x2c9ec4(0x11c)]=_0x4e884d,this[_0x2c9ec4(0x300)]=_0x3625a1,this[_0x2c9ec4(0x1de)]=_0x4c9fb2,this[_0x2c9ec4(0x102)]=_0x21cf24,this[_0x2c9ec4(0x398)]=_0x1a8b1b,_0x30c9f5(this,_0x2c9ec4(0x23a),null),_0x30c9f5(this,'_activeShapeInfo',null),_0x30c9f5(this,'_isOpenedShapeEditPanel',!0x1),_0x30c9f5(this,'_shapeEditPanelVersion',0x0),_0x30c9f5(this,_0x2c9ec4(0x1ba),new Map()),_0x30c9f5(this,_0x2c9ec4(0x2a0),new Map()),this['_initMenu'](),this[_0x2c9ec4(0x2c1)](this[_0x2c9ec4(0x3d6)][_0x2c9ec4(0x1da)](_0x51ff18[_0x2c9ec4(0x1b6)][_0x2c9ec4(0x33c)])['subscribe'](_0x38f65e=>{const _0x3c55ea=_0x2c9ec4;if(!_0x38f65e){var _0x1ca7d8;(_0x1ca7d8=this['_sidebarDisposable'])==null||_0x1ca7d8[_0x3c55ea(0x20b)]();}})),this[_0x2c9ec4(0x34d)](),this['disposeWithMe'](this[_0x2c9ec4(0x39e)][_0x2c9ec4(0x3ec)]['subscribe'](_0x3b02f7=>{const _0x563213=_0x2c9ec4;for(let _0x262450 of _0x3b02f7){let _0x1c9550=_0x262450[_0x563213(0x1b5)]+':'+_0x262450[_0x563213(0x151)]+':'+_0x262450[_0x563213(0x3f7)];for(let [_0x58649a,_0x52b9fa]of this[_0x563213(0x2a0)])_0x52b9fa===_0x1c9550&&this[_0x563213(0x174)](_0x58649a,!0x0);}})),this['disposeWithMe']((0x0,_0x4df77c['bindRenderTransformerLifecycle'])(this['_renderManagerService'],_0x51ff18[_0x2c9ec4(0x1b6)][_0x2c9ec4(0x33c)],_0x432d62=>this[_0x2c9ec4(0x3e3)](_0x432d62))),this[_0x2c9ec4(0x2c1)](this[_0x2c9ec4(0x1de)][_0x2c9ec4(0x334)][_0x2c9ec4(0x402)](_0x195d83=>{const _0x5d0e17=_0x2c9ec4;_0x195d83&&this[_0x5d0e17(0x174)](void 0x0,!0x0);})),this[_0x2c9ec4(0x2c1)](this['_permissionService'][_0x2c9ec4(0x349)]['subscribe'](()=>{const _0x5d648e=_0x2c9ec4;this[_0x5d648e(0x39e)]['getFocusDrawings']()[_0x5d648e(0x330)](_0x376fb5=>_0x376fb5['drawingType']===_0x51ff18[_0x5d648e(0x1d4)][_0x5d648e(0x376)]&&this[_0x5d648e(0x3d6)][_0x5d648e(0x128)](_0x376fb5['unitId'])===_0x51ff18[_0x5d648e(0x1b6)][_0x5d648e(0x33c)]&&!this[_0x5d648e(0x130)](_0x376fb5[_0x5d648e(0x1b5)],_0x376fb5[_0x5d648e(0x3f7)]))&&(this['_clearPopups'](void 0x0,!0x0),this[_0x5d648e(0x35c)]());}));}[_0x14788d(0x205)](_0x4ae7e8,_0x3613c0,_0x53a527,_0x538bb2){const _0x2f7fa6=_0x14788d;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':_0x38c6c0['id'],'commandParams':{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527},'disable':_0x538bb2===_0x51ff18[_0x2f7fa6(0x1d4)][_0x2f7fa6(0x111)]},{'label':_0x2f7fa6(0x3eb),'index':0x1,'commandId':_0x522777[_0x2f7fa6(0x3b1)]['id'],'commandParams':{'unitId':_0x4ae7e8,'drawings':[{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527}]},'disable':!0x1},{'label':_0x2f7fa6(0x1e1),'index':0x2,'commandId':_0xd2094f['id'],'commandParams':{'unitId':_0x4ae7e8,'subUnitId':_0x3613c0,'drawingId':_0x53a527},'disable':!0x1}];}['_initMenu'](){const _0x2e364f=_0x14788d;this[_0x2e364f(0x35d)]['mergeMenu'](_0x4b53ac);}[_0x14788d(0x1a4)](_0x261786,_0x48fd4a,_0x139257){const _0x56c652=_0x14788d;let _0x1f28eb=this[_0x56c652(0xf2)][_0x56c652(0x417)](_0x261786,_0x48fd4a,_0x139257),_0x3ad414=this[_0x56c652(0xf2)][_0x56c652(0x325)](_0x261786,_0x48fd4a,_0x139257);return _0x1f28eb===void 0x0||_0x3ad414===void 0x0?null:{'shapeData':_0x3ad414,'shapeId':_0x139257,'shapeType':_0x1f28eb,'unitId':_0x261786,'subUnitId':_0x48fd4a,'version':this[_0x56c652(0x252)],'disableShapeOption':!0x1};}['_clearPopups'](_0x564faf,_0x232cad=!0x1){const _0x4f16ad=_0x14788d;if(_0x564faf==null){[...this['_disposePopupsByUnit'][_0x4f16ad(0xd4)]()][_0x4f16ad(0x23f)](_0x404223=>this[_0x4f16ad(0x174)](_0x404223,_0x232cad));return;}let _0x177008=this[_0x4f16ad(0x1ba)][_0x4f16ad(0x347)](_0x564faf);if(_0x177008){for(let _0x989ae9=_0x177008[_0x4f16ad(0x12a)]-0x1;_0x989ae9>=0x0;--_0x989ae9){let _0x3b1c35=_0x177008[_0x989ae9];(_0x232cad||_0x3b1c35[_0x4f16ad(0x16c)]())&&(_0x3b1c35['dispose'](),_0x177008[_0x4f16ad(0x1b4)](_0x989ae9,0x1));}_0x177008['length']===0x0&&(this[_0x4f16ad(0x1ba)]['delete'](_0x564faf),this[_0x4f16ad(0x2a0)]['delete'](_0x564faf));}}[_0x14788d(0x2c7)](_0x4a132e){const _0x2cd3bf=_0x14788d;let _0x5bc2ed=this[_0x2cd3bf(0x1ba)][_0x2cd3bf(0x347)](_0x4a132e);if(_0x5bc2ed)return _0x5bc2ed;let _0x428e27=[];return this[_0x2cd3bf(0x1ba)][_0x2cd3bf(0x2e4)](_0x4a132e,_0x428e27),_0x428e27;}[_0x14788d(0x3e3)](_0x503879){const _0x17591b=_0x14788d;var _0x265597;let _0x4d9338=new _0x51ff18[(_0x17591b(0x2c5))](),_0x2071b7=(_0x265597=this[_0x17591b(0x11c)][_0x17591b(0x3df)](_0x51ff18['UniverInstanceType'][_0x17591b(0x33c)])['find'](_0x2b8d8e=>_0x2b8d8e['scene'][_0x17591b(0x2f8)]()===_0x503879))==null?void 0x0:_0x265597['unitId'];return _0x2071b7&&(_0x4d9338['add'](_0x503879[_0x17591b(0xbb)]['subscribe'](()=>this[_0x17591b(0x175)](_0x503879,_0x2071b7))),_0x4d9338[_0x17591b(0x338)](_0x503879[_0x17591b(0x2eb)]['subscribe'](()=>{const _0x172dd1=_0x17591b;this[_0x172dd1(0x174)](_0x2071b7),queueMicrotask(()=>{const _0x4b65df=_0x172dd1;_0x503879['getSelectedObjectMap']()[_0x4b65df(0x397)]>0x0||!this[_0x4b65df(0x39e)][_0x4b65df(0x34e)]()['some'](_0x121621=>_0x121621[_0x4b65df(0x1b5)]===_0x2071b7)||(this['_contextService'][_0x4b65df(0x10b)](_0x51ff18[_0x4b65df(0x17b)],!0x1),this['_drawingManagerService'][_0x4b65df(0x200)](null));});})),_0x4d9338['add'](_0x503879[_0x17591b(0x1aa)]['subscribe'](()=>{this['_clearPopups'](_0x2071b7,!0x0);}))),_0x4d9338;}[_0x14788d(0x175)](_0x270b48,_0x1d27de){const _0x43896b=_0x14788d;let _0x574b08=_0x270b48['getSelectedObjectMap']();if(this[_0x43896b(0x389)]){this['_clearPopups'](_0x1d27de,!0x0);return;}if(_0x574b08[_0x43896b(0x397)]>0x1){this[_0x43896b(0x174)](_0x1d27de);return;}let _0x574106=_0x574b08[_0x43896b(0x2be)]()['next']()[_0x43896b(0x1d7)];if(!_0x574106){this['_clearPopups'](_0x1d27de);return;}let _0x2a515a=this[_0x43896b(0x39e)]['getDrawingOKey'](_0x574106[_0x43896b(0xf9)]);if(!_0x2a515a||_0x2a515a[_0x43896b(0x22c)]!==_0x51ff18['DrawingTypeEnum'][_0x43896b(0x376)]){this[_0x43896b(0x174)](_0x1d27de);return;}let {unitId:_0x27680,subUnitId:_0xcd97b5,drawingId:_0x1d4e3b}=_0x2a515a;if(!this[_0x43896b(0x130)](_0x27680,_0x1d4e3b)){this[_0x43896b(0x174)](_0x1d27de,!0x0);return;}let _0x11c076=this[_0x43896b(0x1a4)](_0x27680,_0xcd97b5,_0x1d4e3b);if(!_0x11c076){this[_0x43896b(0x174)](_0x1d27de);return;}let _0x62548a=this['_disposePopupsByUnit'][_0x43896b(0x347)](_0x1d27de),_0x3b4158=_0x27680+':'+_0xcd97b5+':'+_0x1d4e3b;if(this[_0x43896b(0x2a0)][_0x43896b(0x347)](_0x1d27de)===_0x3b4158&&_0x62548a!=null&&_0x62548a['length'])return;this['_clearPopups'](_0x1d27de);let _0xadfc56=this['_renderManagerService'][_0x43896b(0x307)](_0x27680),_0x5ba06c=((_0xadfc56==null?void 0x0:_0xadfc56[_0x43896b(0x228)])===!0x1?_0xadfc56[_0x43896b(0x201)](_0x25d652[_0x43896b(0x40c)]):this[_0x43896b(0x42c)])['attachPopupToObject'](_0x574106,this[_0x43896b(0x278)](_0x11c076,()=>this[_0x43896b(0x174)](_0x1d27de,!0x0)),_0x27680);this[_0x43896b(0x2c1)](_0x5ba06c),this[_0x43896b(0x2c7)](_0x1d27de)[_0x43896b(0x3a5)](_0x5ba06c),this['_popupTargetKeys']['set'](_0x1d27de,_0x3b4158),this['_drawingManagerService'][_0x43896b(0x34e)]()[_0x43896b(0x330)](_0x321faa=>_0x321faa['unitId']===_0x27680&&_0x321faa['subUnitId']===_0xcd97b5&&_0x321faa[_0x43896b(0x3f7)]===_0x1d4e3b)||this[_0x43896b(0x39e)]['focusDrawing']([{'unitId':_0x27680,'subUnitId':_0xcd97b5,'drawingId':_0x1d4e3b}]);}[_0x14788d(0x278)](_0x3d2760,_0x3e93bc){const _0x109c92=_0x14788d;let {unitId:_0x2226ca,subUnitId:_0x3a920,shapeId:_0x29e6e1}=_0x3d2760,_0x2fbca2={'hostType':_0x51ff18[_0x109c92(0x1b6)]['UNIVER_DOC'],'unitId':_0x2226ca,'subUnitId':_0x3a920,'shapeId':_0x29e6e1};return{'componentKey':_0x3538af,'requiresStableLayout':!0x1,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'shapeType':_0x3d2760[_0x109c92(0x18b)],'onText':()=>{const _0x52fb88=_0x109c92;_0x3e93bc(),this[_0x52fb88(0x398)][_0x52fb88(0x15c)](_0x52fb88(0x21a),_0x2fbca2);},'onStyle':()=>{const _0x587697=_0x109c92;_0x3e93bc(),this[_0x587697(0x398)][_0x587697(0x15c)](_0x587697(0x1c8),_0x2fbca2);},'onDelete':()=>this[_0x109c92(0x22f)][_0x109c92(0x238)](_0x522777[_0x109c92(0x3b1)]['id'],{'unitId':_0x2226ca,'drawings':[{'unitId':_0x2226ca,'subUnitId':_0x3a920,'drawingId':_0x29e6e1}]})}};}[_0x14788d(0x130)](_0x508137,_0x486975){const _0x5a027e=_0x14788d;let _0x2d8423=this['_univerInstanceService']['getUnit'](_0x508137,_0x51ff18[_0x5a027e(0x1b6)][_0x5a027e(0x33c)]);if(!_0x2d8423)return!0x1;let _0x183068=(0x0,_0x31599d['getDocumentDrawingSegmentId'])(_0x2d8423,_0x486975);return(0x0,_0x31599d[_0x5a027e(0x117)])(this['_permissionService'],_0x508137,[...(0x0,_0x31599d['getDocumentEntityParentPermissionObjectIds'])(_0x2d8423,_0x183068,'drawing',_0x486975),(0x0,_0x31599d[_0x5a027e(0xb6)])(_0x183068,_0x5a027e(0xfa),_0x486975)]);}[_0x14788d(0x34d)](){const _0x5800e0=_0x14788d;this[_0x5800e0(0x2c1)](this[_0x5800e0(0x22f)][_0x5800e0(0x3f1)](_0x31abd5=>{const _0x59552d=_0x5800e0;if(_0x31abd5['id']===_0x38c6c0['id']){let {unitId:_0x34d111,subUnitId:_0x2f54b6,drawingId:_0x51dc6f}=_0x31abd5[_0x59552d(0x423)];this['_shapeEditPanelVersion']+=0x1,this[_0x59552d(0x313)]=this[_0x59552d(0x1a4)](_0x34d111,_0x2f54b6,_0x51dc6f),this[_0x59552d(0x174)](void 0x0,!0x0),this[_0x59552d(0x156)]();}if(_0x31abd5['id']===_0xd2094f['id']&&(this['_activeShapeInfo']=null,this[_0x59552d(0x35c)]()),_0x31abd5['id']===_0xddc3b0[_0x59552d(0x127)]['id']){var _0x9e7721;let {unitId:_0x2f4c5d,shapeId:_0x3eef4e}=_0x31abd5['params'];if(((_0x9e7721=this['_activeShapeInfo'])==null?void 0x0:_0x9e7721[_0x59552d(0x344)])===_0x3eef4e){let _0x5d3b18=this[_0x59552d(0x1a4)](_0x2f4c5d,this[_0x59552d(0x313)]['subUnitId'],_0x3eef4e);_0x5d3b18&&(this['_shapeEditPanelVersion']+=0x1,_0x5d3b18['version']=this[_0x59552d(0x252)],this[_0x59552d(0x313)]=_0x5d3b18,this[_0x59552d(0x389)]&&this['_openShapeEditPanel']());}}})),this[_0x5800e0(0x2c1)](this[_0x5800e0(0x39e)][_0x5800e0(0x301)][_0x5800e0(0x402)](_0x608a0b=>{const _0x5da208=_0x5800e0;if(!this[_0x5da208(0x389)])return;if(_0x608a0b[_0x5da208(0x12a)]===0x0){this['_activeShapeInfo']=null,this[_0x5da208(0x35c)]();return;}if(_0x608a0b['length']===0x1&&_0x608a0b[0x0][_0x5da208(0x22c)]===_0x51ff18['DrawingTypeEnum'][_0x5da208(0x376)]&&(this[_0x5da208(0x252)]+=0x1,this[_0x5da208(0x313)]=this[_0x5da208(0x1a4)](_0x608a0b[0x0][_0x5da208(0x1b5)],_0x608a0b[0x0][_0x5da208(0x151)],_0x608a0b[0x0][_0x5da208(0x3f7)]),this[_0x5da208(0x313)])){this['_openShapeEditPanel']();return;}let _0x10030c=_0x608a0b['filter'](_0x1e203e=>_0x1e203e['drawingType']===_0x51ff18[_0x5da208(0x1d4)][_0x5da208(0x376)]);this[_0x5da208(0x252)]+=0x1,this[_0x5da208(0x313)]=this[_0x5da208(0x1a4)](_0x608a0b[0x0][_0x5da208(0x1b5)],_0x608a0b[0x0][_0x5da208(0x151)],_0x608a0b[0x0][_0x5da208(0x3f7)]),this[_0x5da208(0x313)]&&_0x608a0b[_0x5da208(0x12a)]>0x1&&_0x10030c[_0x5da208(0x12a)]===_0x608a0b[_0x5da208(0x12a)]?this[_0x5da208(0x156)]():this[_0x5da208(0x313)]&&_0x10030c[_0x5da208(0x12a)]!==_0x608a0b[_0x5da208(0x12a)]?(this['_activeShapeInfo'][_0x5da208(0x39b)]=!0x0,this[_0x5da208(0x156)]()):this[_0x5da208(0x35c)]();}));}[_0x14788d(0x156)](){const _0x5610f0=_0x14788d;this['_activeShapeInfo']&&(this[_0x5610f0(0x23a)]=this[_0x5610f0(0x2ad)]['open']({'id':_0x489aae,'header':{'title':this[_0x5610f0(0xf1)]['t'](_0x5610f0(0x379))},'width':0x184,'children':{'label':_0x489aae,...this[_0x5610f0(0x313)]},'onClose':()=>{const _0x574674=_0x5610f0;this[_0x574674(0x39e)][_0x574674(0x200)](null),this[_0x574674(0x300)][_0x574674(0x10b)](_0x51ff18['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x574674(0x23a)]=null;}}),this[_0x5610f0(0x389)]=!0x0);}[_0x14788d(0x35c)](){const _0x30420a=_0x14788d;this[_0x30420a(0x389)]=!0x1,this[_0x30420a(0x2ad)]['close'](_0x489aae),this[_0x30420a(0x23a)]=null,this[_0x30420a(0x300)]['setContextValue'](_0x51ff18[_0x30420a(0x17b)],!0x1),this[_0x30420a(0x39e)][_0x30420a(0x200)](null);}};_0xadf974=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09['ISidebarService'])),_0x3fe79d(0x2,_0x1f9d09[_0x14788d(0xc1)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x6,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652['DocCanvasPopManagerService'])),_0x3fe79d(0x8,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x9,_0x51ff18['IContextService']),_0x3fe79d(0xa,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0xb,_0x51ff18[_0x14788d(0xcf)]),_0x3fe79d(0xc,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c[_0x14788d(0x2df)]))],_0xadf974);let _0x20870d=_0x14788d(0x1a5),_0x13f5b6=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x38ad31,_0x1dfc0f,_0x5b31a0,_0x270e4f,_0x31fb3b,_0x3523f1){const _0x576f81=_0x14788d;super(),this[_0x576f81(0x35d)]=_0x38ad31,this[_0x576f81(0x2f1)]=_0x1dfc0f,this[_0x576f81(0x39e)]=_0x5b31a0,this[_0x576f81(0x3d6)]=_0x270e4f,this[_0x576f81(0x11c)]=_0x31fb3b,this[_0x576f81(0x2e6)]=_0x3523f1,_0x30c9f5(this,'_visible',!0x1),this[_0x576f81(0x35d)]['mergeMenu'](_0x31d4d4),this[_0x576f81(0x2c1)]((0x0,_0x51ff18[_0x576f81(0x273)])(this[_0x576f81(0x39e)][_0x576f81(0x301)][_0x576f81(0x402)](()=>this[_0x576f81(0xac)]()))),this[_0x576f81(0xac)]();}['dispose'](){const _0x295da5=_0x14788d;this[_0x295da5(0x2e6)]['setFallbackVisible'](!0x1,_0x20870d),this['_hide'](),super['dispose']();}['_update'](){const _0xe41f2d=_0x14788d;var _0x4d4d94;let _0xf8bbac=this['_drawingManagerService'][_0xe41f2d(0x34e)](),_0x1c9869=_0xf8bbac['length']===0x1?_0xf8bbac[0x0]:void 0x0;if((_0x1c9869==null?void 0x0:_0x1c9869[_0xe41f2d(0x22c)])!==_0x51ff18['DrawingTypeEnum'][_0xe41f2d(0x376)]||this[_0xe41f2d(0x3d6)][_0xe41f2d(0x128)](_0x1c9869[_0xe41f2d(0x1b5)])!==_0x51ff18[_0xe41f2d(0x1b6)][_0xe41f2d(0x33c)]){this[_0xe41f2d(0x2e6)][_0xe41f2d(0x23c)](!0x1,_0x20870d),this[_0xe41f2d(0x25f)]();return;}let _0x5d8421=(_0x4d4d94=this[_0xe41f2d(0x11c)][_0xe41f2d(0x307)](_0x1c9869[_0xe41f2d(0x1b5)]))==null?void 0x0:_0x4d4d94['engine'][_0xe41f2d(0x28d)](),_0x280abc=(0x0,_0x4df77c[_0xe41f2d(0x185)])(_0x5d8421)===_0xe41f2d(0x171);this[_0xe41f2d(0x2e6)][_0xe41f2d(0x23c)](_0x280abc,_0x20870d),_0x280abc?this[_0xe41f2d(0x25f)]():(this['_visible']=!0x0,this[_0xe41f2d(0x2f1)][_0xe41f2d(0xc5)](_0x51acc9,{'activate':!0x0}));}['_hide'](){const _0x562d96=_0x14788d;this[_0x562d96(0x1bc)]&&(this[_0x562d96(0x1bc)]=!0x1,this[_0x562d96(0x2f1)][_0x562d96(0x367)](_0x51acc9),this[_0x562d96(0x2f1)][_0x562d96(0x2ba)]([]));}};_0x13f5b6=_0x1e5419([_0x3fe79d(0x0,_0x1f9d09['IMenuManagerService']),_0x3fe79d(0x1,_0x1f9d09[_0x14788d(0x2f2)]),_0x3fe79d(0x2,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x5,(0x0,_0x51ff18['Inject'])(_0x4df77c[_0x14788d(0x1cd)]))],_0x13f5b6);let _0x3278c7=class extends _0x51ff18['Disposable']{constructor(_0x974b8e,_0x5cadd9,_0x5c5b17,_0xa29bc){const _0x29d19d=_0x14788d;super(),this[_0x29d19d(0x22f)]=_0x974b8e,this['_renderManagerService']=_0x5cadd9,this[_0x29d19d(0x39e)]=_0x5c5b17,this[_0x29d19d(0xe9)]=_0xa29bc,this['_initialize']();}[_0x14788d(0x28b)](){const _0x1083e3=_0x14788d;this['disposeWithMe'](this[_0x1083e3(0x39e)][_0x1083e3(0x365)][_0x1083e3(0x402)](_0xa8af00=>this[_0x1083e3(0x424)](_0xa8af00))),this[_0x1083e3(0x2c1)](this['_drawingManagerService'][_0x1083e3(0x2a8)]['subscribe'](_0x482235=>{const _0x492d01=_0x1083e3;_0x482235['forEach'](_0x364eba=>this[_0x492d01(0x37d)](_0x364eba));})),this[_0x1083e3(0x2c1)](this[_0x1083e3(0x22f)]['onCommandExecuted'](_0x827fd=>{const _0x32b455=_0x1083e3;if(_0x827fd['id']!==_0xddc3b0[_0x32b455(0x127)]['id'])return;let {unitId:_0x56a15a,shapeId:_0x3dedf4}=_0x827fd[_0x32b455(0x423)];this[_0x32b455(0x2b6)]({'unitId':_0x56a15a,'subUnitId':_0x56a15a,'drawingId':_0x3dedf4});}));}[_0x14788d(0x424)](_0x34af97){const _0x42d059=_0x14788d;_0x34af97[_0x42d059(0x23f)](_0x28d72c=>{const _0x1b2e66=_0x42d059;let _0x388d0d=this['_getSceneByUnitId'](_0x28d72c[_0x1b2e66(0x1b5)]);if(!_0x388d0d)return;let _0xb26f5=this['_drawingManagerService'][_0x1b2e66(0x122)](_0x28d72c);(_0xb26f5==null?void 0x0:_0xb26f5[_0x1b2e66(0x22c)])===_0x51ff18[_0x1b2e66(0x1d4)][_0x1b2e66(0x376)]&&this[_0x1b2e66(0xe9)][_0x1b2e66(0xb0)](_0xb26f5,_0x388d0d[_0x1b2e66(0x413)]);});}[_0x14788d(0x37d)](_0x352dec){const _0x17538f=_0x14788d;let _0x156b05=this[_0x17538f(0x39e)][_0x17538f(0x122)](_0x352dec);if((_0x156b05==null?void 0x0:_0x156b05['drawingType'])!==_0x51ff18['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x735159=this[_0x17538f(0xcc)](_0x352dec[_0x17538f(0x1b5)]);if(!_0x735159||_0x156b05[_0x17538f(0x362)]==null)return;let _0x14448c=(0x0,_0x893ff7[_0x17538f(0x3d4)])(_0x352dec),_0x4e0370=_0x735159[_0x17538f(0x413)][_0x17538f(0xa5)](_0x14448c);_0x4e0370&&(_0x4e0370[_0x17538f(0xc9)](_0x156b05[_0x17538f(0x358)]),_0x4e0370[_0x17538f(0x2f6)](_0x156b05[_0x17538f(0x199)]),_0x4e0370['makeDirty'](!0x0));}['_refreshShapeData'](_0x4d34c2){const _0x299b5d=_0x14788d;let _0x1a54bd=this[_0x299b5d(0xcc)](_0x4d34c2[_0x299b5d(0x1b5)]);if(!_0x1a54bd)return;let _0x20ab15=(0x0,_0x893ff7[_0x299b5d(0x3d4)])(_0x4d34c2),_0x10efe6=_0x1a54bd[_0x299b5d(0x413)][_0x299b5d(0xa5)](_0x20ab15);_0x10efe6&&(this[_0x299b5d(0xe9)][_0x299b5d(0x2ff)](_0x10efe6),this[_0x299b5d(0xe9)][_0x299b5d(0x2bc)](_0x10efe6,{'unitId':_0x4d34c2[_0x299b5d(0x1b5)],'subUnitId':_0x4d34c2[_0x299b5d(0x151)],'shapeId':_0x4d34c2[_0x299b5d(0x3f7)]}),_0x10efe6[_0x299b5d(0x41f)](!0x0));}[_0x14788d(0xcc)](_0x275d55){const _0x501874=_0x14788d;if(_0x275d55==null)return null;let _0x6e4435=this[_0x501874(0x11c)]['getRenderUnitById'](_0x275d55),_0x18d10e=_0x6e4435==null?void 0x0:_0x6e4435[_0x501874(0x413)];return _0x18d10e==null?null:{'scene':_0x18d10e};}};_0x3278c7=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x1,_0x164900['IRenderManagerService']),_0x3fe79d(0x2,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x3,(0x0,_0x51ff18['Inject'])(_0x3b1cf5))],_0x3278c7);let _0x3b80ca=class extends _0x51ff18['Plugin']{constructor(_0x487467=_0x13f191,_0x436c0b,_0x3cb4fc,_0x4afde4,_0x54f896){const _0x2cbbee=_0x14788d;super(),this[_0x2cbbee(0x284)]=_0x487467,this['_injector']=_0x436c0b,this['_commandService']=_0x3cb4fc,this[_0x2cbbee(0x26b)]=_0x4afde4,this[_0x2cbbee(0x11c)]=_0x54f896;let {menu:_0x223deb,..._0x3f0f47}=(0x0,_0x51ff18[_0x2cbbee(0x134)])({},_0x13f191,this[_0x2cbbee(0x284)]);_0x223deb&&this[_0x2cbbee(0x26b)]['setConfig'](_0x2cbbee(0x180),_0x223deb,{'merge':!0x0}),this[_0x2cbbee(0x26b)][_0x2cbbee(0x323)](_0x302969,_0x3f0f47),[_0x26e47b,_0xd2094f,_0x38c6c0,_0x132c8f,_0x4949f5,_0x55fbd0][_0x2cbbee(0x23f)](_0x3afb92=>this['disposeWithMe'](this[_0x2cbbee(0x22f)][_0x2cbbee(0x165)](_0x3afb92)));}[_0x14788d(0x19c)](){const _0x8a02d8=_0x14788d;let _0x447fe5=[[_0x1dc9ea],[_0xadf974],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x40c79a],[_0x14ecae],[_0xf7061],[_0x1e6cd8],[_0x13f5b6]];(0x0,_0x51ff18[_0x8a02d8(0x374)])(this['_injector'],_0x447fe5),this['_injector'][_0x8a02d8(0x347)](_0x1dc9ea);}[_0x14788d(0x169)](){const _0x5b43b9=_0x14788d;this[_0x5b43b9(0x2c1)](this[_0x5b43b9(0x11c)]['registerRenderModule'](_0x51ff18['UniverInstanceType'][_0x5b43b9(0x33c)],[_0x40c79a])),(0x0,_0x51ff18[_0x5b43b9(0x384)])(this[_0x5b43b9(0xb4)],[[_0xadf974],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x14ecae],[_0xf7061],[_0x1e6cd8],[_0x13f5b6]]);}};_0x30c9f5(_0x3b80ca,_0x14788d(0x31f),_0x51ff18['UniverInstanceType']['UNIVER_DOC']),_0x30c9f5(_0x3b80ca,_0x14788d(0x34b),'DOCS_SHAPE_UI_PLUGIN'),_0x30c9f5(_0x3b80ca,_0x14788d(0xda),_0xdb48a4),_0x30c9f5(_0x3b80ca,_0x14788d(0x3d9),_0x1ddf68),_0x3b80ca=_0x1e5419([(0x0,_0x51ff18['DependentOn'])(_0x330c89[_0x14788d(0x36b)],_0x31599d[_0x14788d(0x1f8)],_0x893ff7['UniverDrawingPlugin'],_0x358a20['UniverDrawingMobileUIPlugin'],_0x164900['UniverRenderEnginePlugin'],_0x25d652[_0x14788d(0x352)],_0x4e08a0[_0x14788d(0x19e)],_0x2fdebd[_0x14788d(0x3f0)],_0xddc3b0[_0x14788d(0x12f)],_0x4df77c[_0x14788d(0x129)]),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x51ff18['Injector'])),_0x3fe79d(0x2,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x16b)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)])],_0x3b80ca);let _0x3e82c2=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x5bd72e,_0x4e3d73){const _0x46d392=_0x14788d;super(),this[_0x46d392(0x31c)]=_0x5bd72e,this['_iconManager']=_0x4e3d73,this[_0x46d392(0x137)](),this['_registerComponents']();}[_0x14788d(0x137)](){const _0x2d832e=_0x14788d;this['_iconManager'][_0x2d832e(0xa3)](_0x2d832e(0x1bb))||this['disposeWithMe'](this['_iconManager']['register']({'ObjectLayersIcon':_0x55676f})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0xe3))||this['disposeWithMe'](this[_0x2d832e(0x355)][_0x2d832e(0x380)]({'BottomIcon':_0x89ad3c})),this['_iconManager'][_0x2d832e(0xa3)](_0x2d832e(0x3ee))||this[_0x2d832e(0x2c1)](this['_iconManager'][_0x2d832e(0x380)]({'MoveDownIcon':_0x19b97d})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0xdd))||this[_0x2d832e(0x2c1)](this[_0x2d832e(0x355)]['register']({'MoveUpIcon':_0x5a6d9e})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0x282))||this[_0x2d832e(0x2c1)](this[_0x2d832e(0x355)][_0x2d832e(0x380)]({'ShapeFormatSettingIcon':_0x5942b0})),this[_0x2d832e(0x355)][_0x2d832e(0xa3)](_0x2d832e(0x135))||this['disposeWithMe'](this['_iconManager'][_0x2d832e(0x380)]({'TopmostIcon':_0x405cdd})),this['disposeWithMe'](this[_0x2d832e(0x355)][_0x2d832e(0x380)](_0x334124));}['_registerComponents'](){const _0x3d71a9=_0x14788d;this[_0x3d71a9(0x2c1)](this['_componentManager']['register'](_0x489aae,_0x310271)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x182d51,_0x262e74)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x3538af,_0x2dc890)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x130032,_0xeae6d5)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x2260b3,_0x2f0f28)),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x1dea17,_0x122530)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5f5cfd,_0x238d7a)),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x26b4d2,_0x1b89c8)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x1b5ebb,_0x4df77c['ShapeTextFloatToolbar'])),this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5d3b2d,_0x2b2ad6)),this[_0x3d71a9(0x2c1)](this['_componentManager'][_0x3d71a9(0x380)](_0x1f5594,_0x3bae6b)),this[_0x3d71a9(0x31c)]['hasDefault'](_0x358a20[_0x3d71a9(0x1cb)])||this['disposeWithMe'](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x358a20['IMAGE_CLIP_SHAPE_PICKER_COMPONENT'],_0x17755e)),this[_0x3d71a9(0x2c1)](this[_0x3d71a9(0x31c)][_0x3d71a9(0x380)](_0x5381b7,_0x640c7d));}};_0x3e82c2=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09['ComponentManager'])),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x1f9d09[_0x14788d(0x3f9)]))],_0x3e82c2);let _0xbd3fc3=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x6198ab,_0x4af04c,_0x388ab7,_0x27070d,_0x490928,_0x3f3c29,_0x4b2e9f,_0x13cee9,_0x2e8110){const _0x45dda4=_0x14788d;super();let _0x29c0bb=_0x4ae1a8=>{const _0x9aa3e7=_0x2ff4;let _0x4709cf=_0x3f3c29[_0x9aa3e7(0x419)](_0x4ae1a8[_0x9aa3e7(0x1b5)],_0x51ff18[_0x9aa3e7(0x1b6)][_0x9aa3e7(0x33c)]),_0x18136f=_0x4709cf?(0x0,_0x31599d[_0x9aa3e7(0x332)])(_0x4709cf,_0x4ae1a8['shapeId']):'';return!!_0x4709cf&&(0x0,_0x31599d['canEditDocumentTargets'])(_0x13cee9,_0x4ae1a8[_0x9aa3e7(0x1b5)],[(0x0,_0x31599d[_0x9aa3e7(0xb6)])(_0x18136f,_0x9aa3e7(0xfa),_0x4ae1a8[_0x9aa3e7(0x344)]),...(0x0,_0x31599d['getDocumentEntityParentPermissionObjectIds'])(_0x4709cf,_0x18136f,_0x9aa3e7(0xfa),_0x4ae1a8[_0x9aa3e7(0x344)])]);},_0x5dad73=_0x2a0b82=>_0x2a0b82[_0x45dda4(0x344)]&&_0x29c0bb(_0x2a0b82)?_0x388ab7[_0x45dda4(0x325)](_0x2a0b82['unitId'],_0x2a0b82['shapeId'])??null:null,_0x4b2325=()=>{const _0x1cb1a5=_0x45dda4;let _0x4ba9c3=_0x490928['getFocusDrawings'](),_0xc422c5=_0x4ba9c3[_0x1cb1a5(0x12a)]===0x1?_0x4ba9c3[0x0]:null;return(_0xc422c5==null?void 0x0:_0xc422c5['drawingType'])===_0x51ff18[_0x1cb1a5(0x1d4)][_0x1cb1a5(0x376)]&&_0xc422c5[_0x1cb1a5(0x1b5)]===_0x6198ab[_0x1cb1a5(0x1b5)]?{'unitId':_0xc422c5[_0x1cb1a5(0x1b5)],'subUnitId':_0xc422c5[_0x1cb1a5(0x151)],'shapeId':_0xc422c5[_0x1cb1a5(0x3f7)]}:null;};this[_0x45dda4(0x2c1)]((0x0,_0x4df77c[_0x45dda4(0x304)])(_0x6198ab,_0x4af04c,{'changes$':(0x0,_0x1191c7[_0x45dda4(0x134)])(_0x490928[_0x45dda4(0x301)],_0x27070d[_0x45dda4(0x334)],_0x13cee9[_0x45dda4(0x349)]),'isActive':()=>{const _0x59f96e=_0x45dda4;var _0x3c94ba;return((_0x3c94ba=_0x3f3c29['getFocusedUnit']())==null?void 0x0:_0x3c94ba['getUnitId']())===_0x6198ab['unitId']&&!_0x4b2e9f['getContextValue'](_0x51ff18['FOCUSING_SHAPE_TEXT_EDITOR'])&&_0x490928[_0x59f96e(0x34e)]()[_0x59f96e(0x330)](_0x2a1d70=>_0x2a1d70['unitId']===_0x6198ab[_0x59f96e(0x1b5)]);},'getSelectedTarget':_0x4b2325,'getSource':()=>{let _0x3cea88=_0x4b2325();return _0x3cea88?_0x5dad73(_0x3cea88):null;},'getTarget':_0x13dadc=>{const _0x31bccf=_0x45dda4;let _0x21d818=_0x6198ab['scene'][_0x31bccf(0x1c1)](new _0x164900[(_0x31bccf(0x34c))](_0x13dadc['offsetX'],_0x13dadc[_0x31bccf(0x3a4)]));if(!(_0x21d818 instanceof _0x5d2ab8))return null;let _0x40e65f={'unitId':_0x6198ab[_0x31bccf(0x1b5)],'subUnitId':_0x6198ab[_0x31bccf(0x1b5)],'shapeId':_0x21d818[_0x31bccf(0x344)]};return _0x29c0bb(_0x40e65f)?_0x40e65f:null;},'getShape':_0x5dad73,'update':(_0x3997a7,_0x2261d8,_0x18a4f5)=>_0x2e8110[_0x45dda4(0x238)](_0xddc3b0[_0x45dda4(0x1d3)]['id'],{..._0x3997a7,'shapeData':_0x18a4f5,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeData':_0x2261d8}})}));}};_0xbd3fc3=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1f9d09[_0x14788d(0x152)])),_0x3fe79d(0x2,(0x0,_0x51ff18['Inject'])(_0xddc3b0['DocsShapeService'])),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x4,_0x893ff7['IDrawingManagerService']),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x6,_0x51ff18['IContextService']),_0x3fe79d(0x7,_0x51ff18['IPermissionService']),_0x3fe79d(0x8,_0x51ff18[_0x14788d(0x220)])],_0xbd3fc3);function _0x505731(_0x20d87c,_0x55e638){const _0x19fb85=_0x14788d;let _0x55c2ea=_0x20d87c;for(;_0x55c2ea;){if(_0x55e638(_0x55c2ea))return _0x55c2ea;_0x55c2ea=typeof _0x55c2ea['getParent']==_0x19fb85(0x298)?_0x55c2ea[_0x19fb85(0x250)]():null;}return null;}function _0x393e77(_0x6c2605){return _0x505731(_0x6c2605,_0x20dc9e=>_0x20dc9e instanceof _0x5d2ab8);}function _0x284dfc(_0x32d44d){return(_0x32d44d==null?void 0x0:_0x32d44d['formulaBinding'])==null;}let _0x181822=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x4f6a09,_0x17bf0d,_0xa5ff5b,_0x35cd55,_0x238aaf){const _0x183bc6=_0x14788d;super(),this[_0x183bc6(0x2d0)]=_0x4f6a09,this[_0x183bc6(0x1de)]=_0x17bf0d,this[_0x183bc6(0x39e)]=_0xa5ff5b,this[_0x183bc6(0x2e3)]=_0x35cd55,this[_0x183bc6(0xf2)]=_0x238aaf,_0x30c9f5(this,'_lastEditingShapeKey',null),_0x30c9f5(this,_0x183bc6(0x207),null),this[_0x183bc6(0x176)](),this[_0x183bc6(0x35b)](),this['_initEditingParams']();}[_0x14788d(0x20b)](){this['_endLayoutInteraction'](),super['dispose']();}[_0x14788d(0x176)](){const _0x547994=_0x14788d;let {scene:_0x2cf8c7}=this[_0x547994(0x2d0)];this[_0x547994(0x2c1)](_0x2cf8c7[_0x547994(0x105)][_0x547994(0x3e0)]((_0x9882d7,_0xb3b52f)=>{const _0x222c38=_0x547994;let {offsetX:_0x143ecb,offsetY:_0x225acd}=_0x9882d7,_0x3e5fd0=_0x164900[_0x222c38(0x34c)][_0x222c38(0x16f)]([_0x143ecb,_0x225acd]),_0x391e06=_0x393e77(_0x2cf8c7[_0x222c38(0x1c1)](_0x3e5fd0))??this[_0x222c38(0x399)](_0x3e5fd0);if(_0x391e06){_0xb3b52f[_0x222c38(0x1c4)]();let _0x2a1e57=this[_0x222c38(0xf2)]['getShapeModel'](_0x391e06[_0x222c38(0x1b5)],_0x391e06[_0x222c38(0x151)],_0x391e06['shapeId']);if(!_0x2a1e57||(0x0,_0x59d795[_0x222c38(0xdb)])(_0x2a1e57[_0x222c38(0x18d)]())||!_0x284dfc(_0x2a1e57['getShapeData']()))return;this['_shapeTextEditingService'][_0x222c38(0x11e)]({'visible':!0x0,'unitId':_0x391e06['unitId'],'subUnitId':_0x391e06[_0x222c38(0x151)],'shapeId':_0x391e06[_0x222c38(0x344)],'shapeKey':_0x391e06['oKey']});}}));}['_getFocusedShapeAtPoint'](_0x2f2c79){const _0xdd9863=_0x14788d;let {scene:_0x179192}=this[_0xdd9863(0x2d0)];return this[_0xdd9863(0x39e)]['getFocusDrawings']()[_0xdd9863(0xf0)](_0x8b7c94=>_0x179192[_0xdd9863(0xa5)]((0x0,_0x893ff7[_0xdd9863(0x3d4)])(_0x8b7c94)))[_0xdd9863(0x16d)](_0x4f89ed=>_0x4f89ed instanceof _0x5d2ab8&&_0x4f89ed['isHit'](_0x2f2c79))??null;}['_initSelection'](){const _0x7e4eea=_0x14788d;this['disposeWithMe'](this['_drawingManagerService'][_0x7e4eea(0x301)][_0x7e4eea(0x402)](_0x503e7b=>{const _0x572715=_0x7e4eea;if(_0x503e7b['length']===0x1){let _0x45b01c=_0x503e7b[0x0],_0x303e3c=this[_0x572715(0x39e)][_0x572715(0x122)](_0x45b01c);if((_0x303e3c==null?void 0x0:_0x303e3c['drawingType'])===_0x51ff18[_0x572715(0x1d4)][_0x572715(0x376)]){let _0x255ed9=this[_0x572715(0x1de)][_0x572715(0x317)]();if((_0x255ed9==null?void 0x0:_0x255ed9[_0x572715(0x344)])===_0x45b01c[_0x572715(0x3f7)]&&_0x255ed9[_0x572715(0x2dd)])return;(0x0,_0x59d795[_0x572715(0xdb)])(this[_0x572715(0xf2)][_0x572715(0x18d)](_0x45b01c['unitId'],_0x45b01c[_0x572715(0x151)],_0x45b01c[_0x572715(0x3f7)]))&&this['_shapeTextEditingService'][_0x572715(0x11e)](null);}else this[_0x572715(0x1de)][_0x572715(0x161)]();}else this['_shapeTextEditingService'][_0x572715(0x161)]();})),this[_0x7e4eea(0x2c1)](this['_drawingManagerService'][_0x7e4eea(0x3ec)][_0x7e4eea(0x402)](_0xb82087=>{const _0x29233c=_0x7e4eea;let _0x57d77d=this[_0x29233c(0x1de)][_0x29233c(0x317)]();_0x57d77d&&_0xb82087[_0x29233c(0x330)](_0x2a7fd2=>_0x2a7fd2[_0x29233c(0x3f7)]===_0x57d77d[_0x29233c(0x344)])&&this[_0x29233c(0x1de)]['setEditing'](null);}));}[_0x14788d(0x412)](){const _0x50322b=_0x14788d;this[_0x50322b(0x2c1)](this[_0x50322b(0x1de)][_0x50322b(0x334)][_0x50322b(0x402)](_0x52e550=>{const _0x2c43cf=_0x50322b;(_0x52e550==null?void 0x0:_0x52e550[_0x2c43cf(0x2dd)])===!0x0&&_0x52e550[_0x2c43cf(0x1b5)]===this[_0x2c43cf(0x2d0)]['unitId']?this[_0x2c43cf(0x207)]??=this[_0x2c43cf(0x2e3)]['beginInteraction']():this['_endLayoutInteraction']();let {scene:_0x12e1d8}=this[_0x2c43cf(0x2d0)];if(this[_0x2c43cf(0x133)]){let _0x175fe6=_0x12e1d8['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x175fe6&&_0x175fe6[_0x2c43cf(0x11e)](!0x1);}if(_0x52e550){let _0x5aa494=!!_0x52e550['visible'],_0x4ecf95=_0x12e1d8[_0x2c43cf(0xa5)](_0x52e550[_0x2c43cf(0x418)]);_0x4ecf95&&(_0x4ecf95['setEditing'](_0x5aa494),this[_0x2c43cf(0x133)]=_0x52e550['shapeKey']);}else this[_0x2c43cf(0x133)]=null;}));}[_0x14788d(0x2d3)](){const _0x55463e=_0x14788d;var _0xd86a18;(_0xd86a18=this[_0x55463e(0x207)])==null||_0xd86a18[_0x55463e(0x20b)](),this['_layoutInteraction']=null;}};_0x181822=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x2,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x369)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)]))],_0x181822);let _0x575728=class extends _0x4df77c['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x5a40d3,_0x18258e,_0x10dd1e,_0x280a2b,_0x2b72c4,_0x3cd024,_0x5651f7,_0x4e80ef,_0x5cee13,_0x1f615e){super(_0x5a40d3,_0x18258e,_0x10dd1e,_0x280a2b,_0x2b72c4,_0x3cd024,_0x5651f7,_0x4e80ef,_0x5cee13,_0x1f615e,{'componentKey':_0x1b5ebb,'editorUnitId':_0x4e1cb4});}};_0x575728=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x31599d[_0x14788d(0x378)])),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x3c3)])),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x5,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x275)])),_0x3fe79d(0x6,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c['ShapeTextHyperLinkPopupService'])),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x31599d[_0x14788d(0x25e)])),_0x3fe79d(0x8,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652['DocRenderController'])),_0x3fe79d(0x9,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8))],_0x575728);let _0x1cb18d=class extends _0x4df77c[_0x14788d(0x126)]{constructor(_0x522a9d,_0x3c189e,_0x4e5a0b,_0x22beef,_0x5e7dc5){const _0x413da4=_0x14788d;super(_0x522a9d,_0x3c189e,{'editing$':_0x4e5a0b[_0x413da4(0x334)],'resolve':_0x5b8e3b=>{const _0x4ac2bb=_0x413da4;var _0x5ef9ac;let _0x21d7e6=new _0x164900[(_0x4ac2bb(0x34c))](_0x5b8e3b[_0x4ac2bb(0x308)],_0x5b8e3b[_0x4ac2bb(0x3a4)]),_0x46969a=((_0x5ef9ac=_0x522a9d['scene']['getActiveViewportByCoord'](_0x21d7e6))==null?void 0x0:_0x5ef9ac[_0x4ac2bb(0x3ed)](_0x21d7e6))??_0x21d7e6,_0x244488=(0x0,_0x4df77c[_0x4ac2bb(0x1b3)])(_0x522a9d[_0x4ac2bb(0x413)]['pick'](_0x21d7e6)??null,_0x46969a);if(!(_0x244488 instanceof _0x5d2ab8))return null;let _0x2608cd=_0x244488[_0x4ac2bb(0x2a9)](_0x46969a);if(!_0x2608cd)return null;let _0x21ae4e=_0x244488,_0x1003c6={'componentKey':_0x4df77c[_0x4ac2bb(0x1d2)][_0x4ac2bb(0x123)],'direction':_0x4ac2bb(0x1a9),'offset':[0x0,0xa],'onClickOutside':()=>_0x3c189e['hideInfoPopup']()};return{'object':_0x244488,'info':{..._0x2608cd,'unitId':_0x244488[_0x4ac2bb(0x1b5)],'subUnitId':_0x244488[_0x4ac2bb(0x151)],'shapeKey':_0x244488[_0x4ac2bb(0xf9)],'readonly':!0x0,'copyable':(0x0,_0x31599d['getDocumentPermissionValue'])(_0x5e7dc5,_0x244488[_0x4ac2bb(0x1b5)],_0x244488['unitId'],_0x239f90[_0x4ac2bb(0x25c)][_0x4ac2bb(0x326)])},'attachPopup':()=>_0x22beef[_0x4ac2bb(0x404)](_0x21ae4e,_0x1003c6,_0x21ae4e[_0x4ac2bb(0x1b5)])};}});}};_0x1cb18d=_0x1e5419([_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x4df77c['ShapeTextHyperLinkPopupService'])),_0x3fe79d(0x2,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x4,_0x51ff18[_0x14788d(0xcf)])],_0x1cb18d);let _0x27584b=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x3b490c,_0x163b0f,_0x36e4e0,_0x5e471a,_0x4111fd,_0x611e78,_0x327632,_0x2b9fc9,_0x3e9110,_0x3190f9,_0x1c0677,_0x4647db){const _0x3feefd=_0x14788d;super(),this[_0x3feefd(0x3d6)]=_0x3b490c,this['_sidebarService']=_0x163b0f,this[_0x3feefd(0x35d)]=_0x36e4e0,this[_0x3feefd(0xf2)]=_0x5e471a,this['_localeService']=_0x4111fd,this[_0x3feefd(0x22f)]=_0x611e78,this[_0x3feefd(0x39e)]=_0x327632,this[_0x3feefd(0x42c)]=_0x2b9fc9,this[_0x3feefd(0x11c)]=_0x3e9110,this[_0x3feefd(0x300)]=_0x3190f9,this[_0x3feefd(0x1de)]=_0x1c0677,this[_0x3feefd(0x102)]=_0x4647db,_0x30c9f5(this,_0x3feefd(0x23a),null),_0x30c9f5(this,_0x3feefd(0x313),null),_0x30c9f5(this,_0x3feefd(0x389),!0x1),_0x30c9f5(this,_0x3feefd(0x252),0x0),_0x30c9f5(this,_0x3feefd(0x1ba),new Map()),_0x30c9f5(this,_0x3feefd(0x2a0),new Map()),this[_0x3feefd(0x2b3)](),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x3d6)][_0x3feefd(0x1da)](_0x51ff18[_0x3feefd(0x1b6)]['UNIVER_DOC'])['subscribe'](_0x813a98=>{const _0x588d01=_0x3feefd;if(!_0x813a98){var _0x18889c;(_0x18889c=this[_0x588d01(0x23a)])==null||_0x18889c[_0x588d01(0x20b)]();}})),this['_registerOperations'](),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x39e)][_0x3feefd(0x3ec)]['subscribe'](_0x48e397=>{const _0xe7dfef=_0x3feefd;for(let _0x336eef of _0x48e397){let _0x2c217f=_0x336eef[_0xe7dfef(0x1b5)]+':'+_0x336eef[_0xe7dfef(0x151)]+':'+_0x336eef[_0xe7dfef(0x3f7)];for(let [_0x406819,_0x977ddb]of this[_0xe7dfef(0x2a0)])_0x977ddb===_0x2c217f&&this[_0xe7dfef(0x174)](_0x406819,!0x0);}})),this['disposeWithMe']((0x0,_0x4df77c[_0x3feefd(0x1ca)])(this[_0x3feefd(0x11c)],_0x51ff18[_0x3feefd(0x1b6)][_0x3feefd(0x33c)],_0x44bd3f=>this[_0x3feefd(0x3e3)](_0x44bd3f))),this[_0x3feefd(0x2c1)](this['_shapeTextEditingService'][_0x3feefd(0x334)][_0x3feefd(0x402)](_0x29f4b0=>{_0x29f4b0&&this['_clearPopups'](void 0x0,!0x0);})),this[_0x3feefd(0x2c1)](this[_0x3feefd(0x102)]['permissionPointUpdate$']['subscribe'](()=>{const _0x5472e4=_0x3feefd;this['_drawingManagerService'][_0x5472e4(0x34e)]()[_0x5472e4(0x330)](_0x2a4f8c=>_0x2a4f8c['drawingType']===_0x51ff18[_0x5472e4(0x1d4)][_0x5472e4(0x376)]&&this['_univerInstanceService'][_0x5472e4(0x128)](_0x2a4f8c[_0x5472e4(0x1b5)])===_0x51ff18[_0x5472e4(0x1b6)][_0x5472e4(0x33c)]&&!this[_0x5472e4(0x130)](_0x2a4f8c[_0x5472e4(0x1b5)],_0x2a4f8c[_0x5472e4(0x3f7)]))&&(this[_0x5472e4(0x174)](void 0x0,!0x0),this['_closeShapeEditPanel']());}));}[_0x14788d(0x2b3)](){const _0x2e1ab7=_0x14788d;this[_0x2e1ab7(0x35d)][_0x2e1ab7(0x1c0)](_0x4b53ac);}['getShapePopupMenus'](_0x12eb55,_0x415a3e,_0x1e518f,_0x176639){const _0x2dd9e0=_0x14788d;return[{'label':_0x2dd9e0(0x340),'index':0x0,'commandId':_0x38c6c0['id'],'commandParams':{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f},'disable':_0x176639===_0x51ff18[_0x2dd9e0(0x1d4)][_0x2dd9e0(0x111)]},{'label':'docs-shape-ui.deleteShape','index':0x1,'commandId':_0x522777['RemoveDocDrawingCommand']['id'],'commandParams':{'unitId':_0x12eb55,'drawings':[{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f}]},'disable':!0x1},{'label':_0x2dd9e0(0x1e1),'index':0x2,'commandId':_0xd2094f['id'],'commandParams':{'unitId':_0x12eb55,'subUnitId':_0x415a3e,'drawingId':_0x1e518f},'disable':!0x1}];}[_0x14788d(0x1a4)](_0x1fc681,_0x462ca4,_0x269533){const _0x1198f2=_0x14788d;let _0x145828=this['_docsShapeService'][_0x1198f2(0x417)](_0x1fc681,_0x462ca4,_0x269533),_0x44c394=this[_0x1198f2(0xf2)]['getShapeDataById'](_0x1fc681,_0x462ca4,_0x269533);return _0x145828!==void 0x0&&_0x44c394!==void 0x0?{'shapeData':_0x44c394,'shapeId':_0x269533,'shapeType':_0x145828,'unitId':_0x1fc681,'subUnitId':_0x462ca4,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x14788d(0x174)](_0x25a9a3,_0x48f5d2=!0x1){const _0xced9a9=_0x14788d;if(_0x25a9a3==null){[...this['_disposePopupsByUnit'][_0xced9a9(0xd4)]()]['forEach'](_0x558df2=>this[_0xced9a9(0x174)](_0x558df2,_0x48f5d2));return;}let _0x1c2bd9=this[_0xced9a9(0x1ba)][_0xced9a9(0x347)](_0x25a9a3);if(_0x1c2bd9){for(let _0x4b735a=_0x1c2bd9[_0xced9a9(0x12a)]-0x1;_0x4b735a>=0x0;--_0x4b735a){let _0x4f61fc=_0x1c2bd9[_0x4b735a];(_0x48f5d2||_0x4f61fc[_0xced9a9(0x16c)]())&&(_0x4f61fc[_0xced9a9(0x20b)](),_0x1c2bd9[_0xced9a9(0x1b4)](_0x4b735a,0x1));}_0x1c2bd9[_0xced9a9(0x12a)]===0x0&&(this[_0xced9a9(0x1ba)][_0xced9a9(0x142)](_0x25a9a3),this['_popupTargetKeys'][_0xced9a9(0x142)](_0x25a9a3));}}[_0x14788d(0x2c7)](_0x47b4b6){const _0x309aa0=_0x14788d;let _0x3d7e38=this[_0x309aa0(0x1ba)][_0x309aa0(0x347)](_0x47b4b6);if(_0x3d7e38)return _0x3d7e38;let _0x1f6555=[];return this['_disposePopupsByUnit']['set'](_0x47b4b6,_0x1f6555),_0x1f6555;}['_popupMenuListener'](_0xcde2cc){const _0xda54a3=_0x14788d;var _0x2c392f;let _0x2a18dc=new _0x51ff18[(_0xda54a3(0x2c5))](),_0x37de89=(_0x2c392f=this[_0xda54a3(0x11c)][_0xda54a3(0x3df)](_0x51ff18[_0xda54a3(0x1b6)][_0xda54a3(0x33c)])[_0xda54a3(0x16d)](_0x38f398=>_0x38f398[_0xda54a3(0x413)][_0xda54a3(0x2f8)]()===_0xcde2cc))==null?void 0x0:_0x2c392f[_0xda54a3(0x1b5)];return _0x37de89&&(_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0xbb)]['subscribe'](()=>this[_0xda54a3(0x175)](_0xcde2cc,_0x37de89))),_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0x2eb)]['subscribe'](()=>{this['_clearPopups'](_0x37de89),queueMicrotask(()=>{const _0x4becd3=_0x2ff4;_0xcde2cc[_0x4becd3(0x322)]()['size']>0x0||!this[_0x4becd3(0x39e)][_0x4becd3(0x34e)]()[_0x4becd3(0x330)](_0x2cfc40=>_0x2cfc40['unitId']===_0x37de89)||(this[_0x4becd3(0x300)][_0x4becd3(0x10b)](_0x51ff18[_0x4becd3(0x17b)],!0x1),this[_0x4becd3(0x39e)][_0x4becd3(0x200)](null));});})),_0x2a18dc['add'](_0xcde2cc[_0xda54a3(0x1aa)][_0xda54a3(0x402)](()=>{const _0x444cf8=_0xda54a3;this[_0x444cf8(0x174)](_0x37de89,!0x0);}))),_0x2a18dc;}['_handleCreateControl'](_0x33b780,_0x50534c){const _0x2ba460=_0x14788d;let _0x29c968=_0x33b780['getSelectedObjectMap']();if(this['_isOpenedShapeEditPanel']){this[_0x2ba460(0x174)](_0x50534c,!0x0);return;}if(_0x29c968[_0x2ba460(0x397)]>0x1){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x2fb0bc=_0x29c968['values']()[_0x2ba460(0x234)]()[_0x2ba460(0x1d7)];if(!_0x2fb0bc){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x3be4ce=this['_drawingManagerService'][_0x2ba460(0x13f)](_0x2fb0bc[_0x2ba460(0xf9)]);if(!_0x3be4ce||_0x3be4ce[_0x2ba460(0x22c)]!==_0x51ff18[_0x2ba460(0x1d4)]['DRAWING_SHAPE']){this['_clearPopups'](_0x50534c);return;}let {unitId:_0x353a75,subUnitId:_0x5cc49f,drawingId:_0x12e3eb,drawingType:_0x26cffb}=_0x3be4ce;if(!this[_0x2ba460(0x130)](_0x353a75,_0x12e3eb)){this['_clearPopups'](_0x50534c,!0x0);return;}let _0x4e415c=this['_getShapeInfo'](_0x353a75,_0x5cc49f,_0x12e3eb);if(!_0x4e415c){this[_0x2ba460(0x174)](_0x50534c);return;}let _0x59671d=this['_disposePopupsByUnit'][_0x2ba460(0x347)](_0x50534c),_0x412cfa=_0x353a75+':'+_0x5cc49f+':'+_0x12e3eb;if(this[_0x2ba460(0x2a0)][_0x2ba460(0x347)](_0x50534c)===_0x412cfa&&_0x59671d&&_0x59671d[_0x2ba460(0x12a)]>0x0)return;this[_0x2ba460(0x174)](_0x50534c);let _0x4d1d2a=this['_renderManagerService']['getRenderUnitById'](_0x353a75),_0x324118=((_0x4d1d2a==null?void 0x0:_0x4d1d2a[_0x2ba460(0x228)])===!0x1?_0x4d1d2a['with'](_0x25d652[_0x2ba460(0x40c)]):this['_docCanvasPopManagerService'])[_0x2ba460(0x404)](_0x2fb0bc,this[_0x2ba460(0x278)](_0x4e415c,_0x26cffb),_0x353a75);this[_0x2ba460(0x2c1)](_0x324118),this[_0x2ba460(0x2c7)](_0x50534c)[_0x2ba460(0x3a5)](_0x324118),this[_0x2ba460(0x2a0)][_0x2ba460(0x2e4)](_0x50534c,_0x412cfa),this[_0x2ba460(0x39e)][_0x2ba460(0x34e)]()['some'](_0xd3749a=>_0xd3749a[_0x2ba460(0x1b5)]===_0x353a75&&_0xd3749a[_0x2ba460(0x151)]===_0x5cc49f&&_0xd3749a['drawingId']===_0x12e3eb)||this[_0x2ba460(0x39e)][_0x2ba460(0x200)]([{'unitId':_0x353a75,'subUnitId':_0x5cc49f,'drawingId':_0x12e3eb}]);}[_0x14788d(0x278)](_0x25a684,_0x5991f5){const _0x3df84c=_0x14788d;return{'componentKey':_0x3538af,'requiresStableLayout':!0x1,'direction':_0x3df84c(0x422),'offset':[0x0,_0x4df77c[_0x3df84c(0x204)]],'extraProps':{'unitId':_0x25a684[_0x3df84c(0x1b5)],'subUnitId':_0x25a684[_0x3df84c(0x151)],'drawingId':_0x25a684[_0x3df84c(0x344)],'drawingType':_0x5991f5,'shapeType':_0x25a684[_0x3df84c(0x18b)],'shapeData':_0x25a684[_0x3df84c(0x167)]}};}[_0x14788d(0x130)](_0x542d09,_0x4f2337){const _0x3ef7f7=_0x14788d;let _0x4bf0f3=this[_0x3ef7f7(0x3d6)][_0x3ef7f7(0x419)](_0x542d09,_0x51ff18[_0x3ef7f7(0x1b6)][_0x3ef7f7(0x33c)]);if(!_0x4bf0f3)return!0x1;let _0x11d1e0=(0x0,_0x31599d[_0x3ef7f7(0x332)])(_0x4bf0f3,_0x4f2337);return(0x0,_0x31599d[_0x3ef7f7(0x117)])(this[_0x3ef7f7(0x102)],_0x542d09,[...(0x0,_0x31599d[_0x3ef7f7(0x363)])(_0x4bf0f3,_0x11d1e0,_0x3ef7f7(0xfa),_0x4f2337),(0x0,_0x31599d[_0x3ef7f7(0xb6)])(_0x11d1e0,_0x3ef7f7(0xfa),_0x4f2337)]);}[_0x14788d(0x34d)](){const _0x82d41b=_0x14788d;this['disposeWithMe'](this['_commandService'][_0x82d41b(0x3f1)](_0xefda2f=>{const _0xdab144=_0x82d41b;if(_0xefda2f['id']===_0x38c6c0['id']){let {unitId:_0x2b74a3,subUnitId:_0x2fb1ef,drawingId:_0x1dba66}=_0xefda2f[_0xdab144(0x423)];this[_0xdab144(0x252)]+=0x1,this['_activeShapeInfo']=this[_0xdab144(0x1a4)](_0x2b74a3,_0x2fb1ef,_0x1dba66),this[_0xdab144(0x174)](void 0x0,!0x0),this['_openShapeEditPanel']();}if(_0xefda2f['id']===_0xd2094f['id']&&(this['_activeShapeInfo']=null,this['_closeShapeEditPanel']()),_0xefda2f['id']===_0xddc3b0[_0xdab144(0x127)]['id']){let {unitId:_0x905452,shapeId:_0x1257fe}=_0xefda2f[_0xdab144(0x423)];if(this[_0xdab144(0x313)]&&this[_0xdab144(0x313)][_0xdab144(0x344)]===_0x1257fe){let _0xdf0341=this['_getShapeInfo'](_0x905452,this[_0xdab144(0x313)]['subUnitId'],_0x1257fe);_0xdf0341&&(this['_shapeEditPanelVersion']+=0x1,_0xdf0341[_0xdab144(0x3d9)]=this[_0xdab144(0x252)],this['_activeShapeInfo']=_0xdf0341,this[_0xdab144(0x389)]&&this[_0xdab144(0x156)]());}}})),this[_0x82d41b(0x2c1)](this['_drawingManagerService'][_0x82d41b(0x301)]['subscribe'](_0x217053=>{const _0x4044cd=_0x82d41b;if(this[_0x4044cd(0x389)]===!0x1)return;if(_0x217053['length']===0x0){this[_0x4044cd(0x313)]=null,this['_closeShapeEditPanel']();return;}if(_0x217053[_0x4044cd(0x12a)]===0x1&&_0x217053[0x0][_0x4044cd(0x22c)]===_0x51ff18[_0x4044cd(0x1d4)][_0x4044cd(0x376)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0]['unitId'],_0x217053[0x0][_0x4044cd(0x151)],_0x217053[0x0][_0x4044cd(0x3f7)]),this[_0x4044cd(0x313)])){this[_0x4044cd(0x156)]();return;}let _0x180419=_0x217053[_0x4044cd(0x33d)](_0x57c3aa=>_0x57c3aa[_0x4044cd(0x22c)]===_0x51ff18[_0x4044cd(0x1d4)]['DRAWING_SHAPE']);if(_0x217053[_0x4044cd(0x12a)]>0x1&&_0x180419['length']===_0x217053[_0x4044cd(0x12a)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0][_0x4044cd(0x1b5)],_0x217053[0x0][_0x4044cd(0x151)],_0x217053[0x0]['drawingId']),this[_0x4044cd(0x313)]){this[_0x4044cd(0x156)]();return;}}else{if(this[_0x4044cd(0x252)]+=0x1,this[_0x4044cd(0x313)]=this[_0x4044cd(0x1a4)](_0x217053[0x0][_0x4044cd(0x1b5)],_0x217053[0x0]['subUnitId'],_0x217053[0x0]['drawingId']),this[_0x4044cd(0x313)]){this[_0x4044cd(0x313)][_0x4044cd(0x39b)]=!0x0,this[_0x4044cd(0x156)]();return;}}this[_0x4044cd(0x35c)]();}));}[_0x14788d(0x156)](){const _0x26ff8e=_0x14788d;this['_activeShapeInfo']&&(this[_0x26ff8e(0x23a)]=this[_0x26ff8e(0x2ad)][_0x26ff8e(0x15c)]({'id':_0x489aae,'header':{'title':this['_localeService']['t'](_0x26ff8e(0x379))},'width':0x184,'children':{'label':_0x489aae,...this[_0x26ff8e(0x313)]},'onClose':()=>{const _0x465c0b=_0x26ff8e;this[_0x465c0b(0x39e)][_0x465c0b(0x200)](null),this[_0x465c0b(0x300)][_0x465c0b(0x10b)](_0x51ff18[_0x465c0b(0x17b)],!0x1),this[_0x465c0b(0x23a)]=null;}}),this[_0x26ff8e(0x389)]=!0x0);}[_0x14788d(0x35c)](){const _0x81274a=_0x14788d;this['_isOpenedShapeEditPanel']=!0x1,this[_0x81274a(0x2ad)][_0x81274a(0x253)](_0x489aae),this['_sidebarDisposable']=null,this[_0x81274a(0x300)][_0x81274a(0x10b)](_0x51ff18['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x81274a(0x39e)][_0x81274a(0x200)](null);}};_0x27584b=_0x1e5419([_0x3fe79d(0x0,_0x51ff18[_0x14788d(0x3bc)]),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x1f9d09['ISidebarService'])),_0x3fe79d(0x2,_0x1f9d09[_0x14788d(0xc1)]),_0x3fe79d(0x3,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x4,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x18a)])),_0x3fe79d(0x5,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x6,_0x893ff7[_0x14788d(0x2f4)]),_0x3fe79d(0x7,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x25d652[_0x14788d(0x40c)])),_0x3fe79d(0x8,_0x164900[_0x14788d(0x1fd)]),_0x3fe79d(0x9,_0x51ff18[_0x14788d(0x182)]),_0x3fe79d(0xa,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x1e6cd8)),_0x3fe79d(0xb,_0x51ff18[_0x14788d(0xcf)])],_0x27584b);let _0x368bc4=class extends _0x51ff18[_0x14788d(0x1ce)]{constructor(_0x543b90,_0x154993){const _0xf9a7a8=_0x14788d;super(),this[_0xf9a7a8(0xf2)]=_0x543b90,this[_0xf9a7a8(0xf1)]=_0x154993,this[_0xf9a7a8(0x2c1)]((0x0,_0x51ff18[_0xf9a7a8(0x273)])((0x0,_0x164900[_0xf9a7a8(0x3ea)])((_0x4ff5c2,_0x4cd981,_0x3e83af)=>this['_measure'](_0x4ff5c2,_0x4cd981,_0x3e83af))));}['_measure'](_0x3872f8,_0x612f73,_0x4538eb){const _0x352181=_0x14788d;let _0x25b92c=this['_docsShapeService']['getShapeModel'](_0x3872f8,_0x612f73);if(!_0x25b92c)return null;let _0x2b6215=_0x25b92c[_0x352181(0x3b3)](),_0x3a52ee=(0x0,_0x59d795[_0x352181(0x30a)])(_0x2b6215),_0xdf7387=_0x2b6215[_0x352181(0x3a3)];if(!_0xdf7387||_0x3a52ee[_0x352181(0x2ab)]!==_0x59d795['ShapeTextAutoFitType'][_0x352181(0x1a0)])return null;let _0x10c142=_0x4538eb[_0x352181(0xa4)],_0x3800d6=_0x4538eb['fallbackHeight'];_0x25b92c[_0x352181(0x118)]({'width':_0x10c142,'height':_0x3800d6});let _0x442007=_0x25b92c[_0x352181(0x194)]({'left':0x0,'top':0x0,'width':_0x10c142,'height':_0x3800d6}),_0x37a490=(0x0,_0x4df77c[_0x352181(0x42a)])(_0x352181(0x394)in _0xdf7387?_0xdf7387[_0x352181(0x394)]:void 0x0),_0x5c42c6=(_0x37a490==null?void 0x0:_0x37a490[_0x352181(0x35f)])??(_0x352181(0x38c)in _0xdf7387?(0x0,_0x4df77c[_0x352181(0x141)])(_0xdf7387,_0x612f73+_0x352181(0xe2)):null);if(!_0x5c42c6)return null;let _0x4f4dae=(0x0,_0x4df77c[_0x352181(0x1ee)])({'documentData':_0x5c42c6,'height':_0x3800d6,'shapeData':_0x2b6215,'textRect':_0x442007,'width':_0x10c142,'widthBuffer':0x0});_0x4f4dae&&({width:_0x10c142,height:_0x3800d6}=_0x4f4dae,_0x25b92c[_0x352181(0x118)]({'width':_0x10c142,'height':_0x3800d6}),_0x442007=_0x25b92c[_0x352181(0x194)]({'left':0x0,'top':0x0,'width':_0x10c142,'height':_0x3800d6}));let _0x3fc79a=_0xdf7387[_0x352181(0xe5)]!==!0x1,_0x1368bd=(0x0,_0x4df77c[_0x352181(0x3cc)])(_0x5c42c6,{'isHorizontal':_0x3fc79a,'textRect':_0x442007,'verticalAlign':_0x37a490==null?void 0x0:_0x37a490['va'],'horizontalAlign':_0x37a490==null?void 0x0:_0x37a490['ha'],'wrapStrategy':(0x0,_0x4df77c[_0x352181(0x315)])(_0x2b6215)}),_0xf8e77c=new _0x51ff18[(_0x352181(0x3ab))](_0x1368bd),_0x22b002=new _0x164900[(_0x352181(0x2f7))](_0xf8e77c),_0x11dce2=_0x164900['DocumentSkeleton']['create'](_0x22b002,this[_0x352181(0xf1)]);try{var _0x1361f1,_0x4faecc;_0x11dce2['calculate']();let _0x1f4064=((_0x1361f1=_0x11dce2[_0x352181(0x17e)]())==null?void 0x0:_0x1361f1[_0x352181(0x239)])??[],_0x57cc33=_0x1f4064[_0x1f4064[_0x352181(0x12a)]-0x1],_0x17d6d8=_0x57cc33?Math[_0x352181(0x20e)](0x0,((_0x4faecc=(0x0,_0x164900[_0x352181(0x318)])(_0x57cc33))==null?void 0x0:_0x4faecc[_0x352181(0x421)])??0x0):0x0,_0xe00886=_0x11dce2[_0x352181(0x197)]()[_0x352181(0x3d2)]+_0x17d6d8-(_0x3fc79a?_0x442007[_0x352181(0x346)]:_0x442007[_0x352181(0x11a)]);return Number[_0x352181(0x1ae)](_0xe00886)?_0x3fc79a?{'width':_0x10c142,'height':Math[_0x352181(0x20e)](0x1,_0x3800d6+_0xe00886)}:{'width':Math[_0x352181(0x20e)](0x1,_0x10c142+_0xe00886),'height':_0x3800d6}:null;}finally{_0x11dce2['dispose'](),_0x22b002[_0x352181(0x20b)](),_0xf8e77c['dispose']();}}};_0x368bc4=_0x1e5419([_0x3fe79d(0x0,(0x0,_0x51ff18[_0x14788d(0x143)])(_0xddc3b0[_0x14788d(0x131)])),_0x3fe79d(0x1,(0x0,_0x51ff18['Inject'])(_0x51ff18[_0x14788d(0x18a)]))],_0x368bc4);let _0x256039=class extends _0x51ff18[_0x14788d(0x3fa)]{constructor(_0x4b0b30=_0x13f191,_0x49c68e,_0x400597,_0x525f85,_0x2d9bfa){const _0x55bcda=_0x14788d;super(),this['_config']=_0x4b0b30,this[_0x55bcda(0xb4)]=_0x49c68e,this[_0x55bcda(0x22f)]=_0x400597,this['_configService']=_0x525f85,this[_0x55bcda(0x11c)]=_0x2d9bfa;let {menu:_0x2d116e,..._0x57de8b}=(0x0,_0x51ff18[_0x55bcda(0x134)])({},_0x13f191,this[_0x55bcda(0x284)]);_0x2d116e&&this[_0x55bcda(0x26b)][_0x55bcda(0x323)]('menu',_0x2d116e,{'merge':!0x0}),this[_0x55bcda(0x26b)][_0x55bcda(0x323)](_0x302969,_0x57de8b),this[_0x55bcda(0x368)]();}[_0x14788d(0x19c)](){const _0x3b17de=_0x14788d;(0x0,_0x51ff18[_0x3b17de(0x374)])(this['_injector'],this[_0x3b17de(0x2d9)]()),this[_0x3b17de(0xb4)]['get'](_0x3e82c2),this['_initUIPart']();}[_0x14788d(0x2d9)](){return[[_0x3e82c2],[_0x27584b],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x40c79a],[_0x14ecae],[_0xf7061],[_0x368bc4],[_0x1e6cd8],[_0x13f5b6]];}[_0x14788d(0x169)](){const _0x17a0d1=_0x14788d;this[_0x17a0d1(0xe1)]()[_0x17a0d1(0x23f)](_0x44675a=>{const _0x27e191=_0x17a0d1;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x51ff18[_0x27e191(0x1b6)][_0x27e191(0x33c)],_0x44675a));}),(0x0,_0x51ff18['touchDependencies'])(this['_injector'],[[_0x27584b],[_0x3278c7],[_0x3b1cf5],[_0x26a0b9],[_0x14ecae],[_0xf7061],[_0x368bc4],[_0x1e6cd8],[_0x13f5b6]]);}['_getRenderModules'](){return[[_0x40c79a],[_0x181822],[_0x1cb18d],[_0xbd3fc3]];}['onRendered'](){const _0x2a17a6=_0x14788d;this[_0x2a17a6(0x2c1)](this[_0x2a17a6(0x11c)]['registerRenderModule'](_0x51ff18[_0x2a17a6(0x1b6)][_0x2a17a6(0x33c)],[_0x575728]));}[_0x14788d(0x368)](){const _0x2fc5d1=_0x14788d;[_0x26e47b,_0xd2094f,_0x38c6c0,_0x132c8f,_0x4949f5,_0x55fbd0][_0x2fc5d1(0x23f)](_0x5d56f0=>this[_0x2fc5d1(0x2c1)](this[_0x2fc5d1(0x22f)][_0x2fc5d1(0x165)](_0x5d56f0)));}[_0x14788d(0x27a)](){const _0x139fbf=_0x14788d;let _0x4734cb=this[_0x139fbf(0xb4)],_0x5c54d4=_0x4734cb[_0x139fbf(0x347)](_0x1f9d09[_0x139fbf(0x377)]);this[_0x139fbf(0x2c1)](_0x5c54d4[_0x139fbf(0x2c2)](_0x1f9d09[_0x139fbf(0x427)]['CONTENT'],()=>(0x0,_0x1f9d09[_0x139fbf(0x2aa)])(_0x640c7d,_0x4734cb)));}};_0x30c9f5(_0x256039,_0x14788d(0x31f),_0x51ff18['UniverInstanceType'][_0x14788d(0x33c)]),_0x30c9f5(_0x256039,'pluginName',_0x14788d(0x203)),_0x30c9f5(_0x256039,_0x14788d(0xda),_0xdb48a4),_0x30c9f5(_0x256039,_0x14788d(0x3d9),_0x1ddf68),_0x256039=_0x1e5419([(0x0,_0x51ff18['DependentOn'])(_0x330c89[_0x14788d(0x36b)],_0x31599d[_0x14788d(0x1f8)],_0x893ff7['UniverDrawingPlugin'],_0x358a20[_0x14788d(0x1c6)],_0x164900[_0x14788d(0x2e9)],_0x25d652[_0x14788d(0x2c4)],_0x4e08a0['UniverShapeEditorPlugin'],_0x2fdebd[_0x14788d(0x14d)],_0xddc3b0[_0x14788d(0x12f)],_0x4df77c[_0x14788d(0x17f)]),_0x3fe79d(0x1,(0x0,_0x51ff18[_0x14788d(0x143)])(_0x51ff18[_0x14788d(0x41d)])),_0x3fe79d(0x2,_0x51ff18[_0x14788d(0x220)]),_0x3fe79d(0x3,_0x51ff18[_0x14788d(0x16b)]),_0x3fe79d(0x4,_0x164900[_0x14788d(0x1fd)])],_0x256039),_0xb0f434[_0x14788d(0x40b)]=_0x4b53ac,Object[_0x14788d(0x2f3)](_0xb0f434,_0x14788d(0x391),{'enumerable':!0x0,'get':function(){return _0x3b80ca;}}),Object[_0x14788d(0x2f3)](_0xb0f434,_0x14788d(0x42d),{'enumerable':!0x0,'get':function(){return _0x256039;}});}));function _0x2ff4(_0x31b29a,_0x212846){_0x31b29a=_0x31b29a-0x9c;const _0x1fb02c=_0x1fb0();let _0x2ff4ac=_0x1fb02c[_0x31b29a];return _0x2ff4ac;}function _0x1fb0(){const _0x2f455b=['DocParagraphMenuService','interceptor','text-wrap-shape-icon','function','TextWrapShapeIcon','name','shape-editor-ui.arrange.back','M5\x209.5L8\x206.5L11\x209.5','_getActiveDrawingParam','Circle','sin','_popupTargetKeys','149820tsBXwz','defer','useFormulaShapeToolbar','tag','doc.command.menu-insert-shape','OTHERS','getBoundingClientRect','update$','resolveHyperLinkAt','connectInjector','autoFitType','endArrow','_sidebarService','useReducer','M5\x206.5L8\x209.5L11\x206.5','_activeShapeModel','useImperativeHandle','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_initMenu','docs-shape-ui.textWrap.inline','rect','_refreshShapeData','_editingParams$','@univerjs/core','canvas','setCollapsedIds','docs-shape-ui.textWrap.square','refreshFormulaPresentation','ShapeFloatingToolbar','values','ToggleShapeFloatingToolbarOperation','.below','disposeWithMe','registerComponent','forwardRef','UniverDocsUIPlugin','DisposableCollection','_getActiveDrawingShape','_getDisposePopups','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','RichTextEditingMutation','presentationChanged$','doc.image-clip.shape-picker.component','jsx','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','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','adjName','_context','docs-shape-ui.textWrap.behindText','_urlImageService','_endLayoutInteraction','data','docs-shape-ui.shape-format.quick-style-gallery','bottom-icon','_updateSrcRectByTransform','cells','_getDependencies','InsertDocShapeCommand','0.14','sectionCanvas','visible','querySelectorAll','MobileShapeEditorService','transformForAngle','_clearShapeAdjustControls','createShapeTextBoxShapeData','_docLayoutInteractionService','set','ShapeArrowSizeEnum','_shapeFloatingToolbarService','WRAP_TOP_AND_BOTTOM','HorizontalAlign','UniverRenderEnginePlugin','PositionedObjectLayoutType','clearControl$','doc.operation.open-doc-shape-format-panel','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','unsubscribe','UNIVER_SHEET','_drawSimpleText','_ribbonService','IRibbonService','defineProperty','IDrawingManagerService','getDrawingEffectBounds','setPrstGeom','DocumentViewModel','getTransformerByCreate','subtle','skeTables','_attachAdjustEvent','front','INLINE','getValue','refreshShapeFillImage','_contextService','focus$','ancestorTransform','docs-shape-ui.textWrap.topAndBottom','registerShapeFormatPainter','_setTransForm','TextWrappingStyle','getRenderUnitById','offsetX','TOP','resolveShapeTextBodyBehavior','drawing-ui.objectListPanel.expand','_unitId','skeDrawings','shapeModel','_loadAndSetImage','_updateAdjustControlPositions','symbol','clearAdjustControls','_activeShapeInfo','http://www.w3.org/2000/svg','resolveShapeTextEditorWrapStrategy','setFillImage','getEditing','getLastLine','5.5','updateShapeFillImage','DocPrintInterceptorService','_componentManager','MenuManagerPosition','ObjectListPanelBase','type','clone','CommandType','getSelectedObjectMap','setConfig','_drawRichTextLayer','getShapeDataById','Copy','OPERATION','constructor','min','pipe','startOffset','span','_createShapeAdjustControls','horizontal','originalStrokeWidth','some','#2563EB','getDocumentDrawingSegmentId','ShapeTypeEnum','editingParams$','drawing-ui.objectListPanel.title','enhanceParams','startArrow','add','M2\x203h16M2\x2017h16','PRINTING_COMPONENT_COLLECT','scale','UNIVER_DOC','filter','ShapeModel','DRAWING_OBJECT_LAYER_INDEX','docs-shape-ui.openPanel','UniverEngineRender','clipTop','getMatrix','shapeId','applyQuickStyleToShapeData','height','get','changeEnd$','permissionPointUpdate$','getMenuHiddenObservable','pluginName','Vector2','_registerOperations','getFocusDrawings','clipHeight','viewBound','assign','UniverDocsMobileUIPlugin','removeAttribute','shouldClipShapeTextDocument','_iconManager','icon','_subUnitId','srcRect','shape-editor-ui.arrange.forward','getAdjustValueByName','_initSelection','_closeShapeEditPanel','_menuManagerService','_adjustPointObjects','doc','exports','ShapeEditPanel','transform','getDocumentEntityParentPermissionObjectIds','IURLImageService','add$','create','hideContextualTab','_initCommands','DocLayoutInteractionService','shape-editor-ui.arrange.backward','UniverLicensePlugin','@univerjs/docs-ui','behindText','GROUP','14KwcNKq','paragraphs','getVisible','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','options','registerDependencies','PictureFill','DRAWING_SHAPE','IUIPartsService','DocSelectionManagerService','docs-shape-ui.formatShape','formulaBinding','_releaseRenderCache','activateDrawingObject','_updateShape','_activeShapeAdjustPointList','getDrawingSearch','register','_applyFormulaAutoFitSize','_registerImageShapeClipDelegate','canvasElement','touchDependencies','useMemo','_loadShapePictureFill','Transform','jsxs','_isOpenedShapeEditPanel','vectorEffect','docs-shape-ui.mobile.style','isRichText','@univerjs-pro/docs-shape','paragraphMenuPlacement','getUnitId','hidden','UniverDocsShapeMobileUIPlugin','getPageDrawingIds','resolveShapeTextHyperLinkAt','dataModel','buildShapeTextDataUpdate','move-up-icon','size','_mobileEditorService','_getFocusedShapeAtPoint','docs-shape-ui.ribbon.shape-format.arrange-forward','disableShapeOption','skeFooters','evenodd','_drawingManagerService','getAdjustInfoByName','objects','docs-shape-text-','UniverDrawing','shapeText','offsetY','push','getRealBound','resolveActiveShapeQuickStylePresetId','object','INSERT_BELLOW_MENU_ID','syncExecuteCommand','DocumentDataModel','onPointerUp$','WRAP_SQUARE','behindDoc','None','M2\x203h16M2\x207.5h3M15\x207.5h3M2\x2010h3M15\x2010h3M2\x2012.5h3M15\x2012.5h3M2\x2017h16','RemoveDocDrawingCommand','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','getShapeData','Arrow','univer-box-border\x20univer-px-4\x20univer-text-sm','BEHIND_TEXT','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','ISidebarService','currentColor','onload','none','IUniverInstanceService','localName','drawing-ui.objectListPanel.unlock','Documents','CROSSHAIR','MoreUpIcon','colorChannel1','DocSelectionRenderService','MobileShapePickerPanel','UUID','description','attrs','animationEnabled','clear','DrawingCommonPanel','docs-shape-ui.shape-format.wrapping-style-label','prepareShapeTextDocumentData','SELECTOR','docs-shape-ui.ribbon.shape-format.arrange-backward','1.5.1','_draw','clipByShape','actualHeight','drawing-ui.objectListPanel.collapse','getDrawingShapeKeyByDrawingSearch','_formulaKey','_univerInstanceService','getAutoFitPresentations','setShapeData','version','pageWidth','VIEWPORT_KEY','clip-','LEFT','call','getAllRenderersOfType','subscribeEvent','fillType','drawings','_popupMenuListener','children','docs-shape-ui.mobile.text','doc.shape.picker.component','setShapeProps','getShapeQuickStyleType','_completionFrame','setDocsCustomBlockRenderViewportProvider','docs-shape-ui.deleteShape','remove$','transformVector2SceneCoord','MoveDownIcon','setCanUseShapeClip','UniverDocsDrawingMobileUIPlugin','onCommandExecuted','toFixed','resize','updateDocumentStyle','M2\x203h16M2\x207.5h16M2\x2010h16M2\x2012.5h16M2\x2017h16','stroke','drawingId','popup','IconManager','Plugin','drawing-ui.objectListPanel.name','drawing-ui.objectListPanel.empty','IDocDrawingService','segmentId','error','_adjName','_isShouldShowDrawingShapeAdjust','subscribe','SetDocDrawingArrangeCommand','attachPopupToObject','extraProps','inline','createShapeFormulaDocument','_initPrinting','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','Medium','DocsShapeUIMenuSchema','DocCanvasPopManagerService','shouldAllowShapeTextEditorHostSizeShrink','baseVal','MobileMenu','356766aaiEYm','_drawShapeText','_initEditingParams','scene','moveRange','string','backward','getShapeTypeById','shapeKey','getUnit','formulaPresentation','getPropertyValue','docs-shape-ui.ribbon.shape-format.formula-control','Injector','custom','makeDirty','shape-format-setting-icon','spaceBelowApply','vertical-center','params','_insertShapes','drawing-ui.objectListPanel.typeNames.','ArrangeTypeEnum','BuiltInUIPart','docs-shape-ui.mobile.delete','DrawingImageClipService','normalizeShapeTextModel','_renderWithCache','_docCanvasPopManagerService','UniverDocsShapeUIPlugin','flipY','_adjHandlerPointerUp','_transform','doc.operation.open-shape-object-list-panel','includes','onPointerDown$','ShapeGroupEnum','has','fallbackWidth','getObjectIncludeInGroup','rows','@univerjs-pro/license','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','0\x200\x2020\x2020','beginPath','isLineShape','_update','resolveShapeTextDocumentRenderLayout','_registerDrawingTransformHandler','translateWithPrecision','renderDrawingShape','order','panel','_baseShapeTop','_injector','_drawRichText','getDocumentEntityPermissionObjectId','SetDrawingSelectedOperation','DocDrawingTextWrap','getActiveTextRange','Module','createControl$','getParagraphContentStartOffset','docs-shape-ui.crop.shape','getViewports','SHAPE_TEXT','contentVerticalOffset','IMenuManagerService','headerId','DocsShapeWrapInlineIcon','_registerComponents','showContextualTab','priority','currentAdjustValues','univerjs-icon\x20univerjs-icon-','setSrcRect','marginTop','docs-shape-ui.ribbon.shape-format','_getSceneByUnitId','2054260vSxkIH','composeMatrix','IPermissionService','UniverDrawingUi','intercept','CURSOR_TYPE','sheet.image-clip.shape-picker.component','keys','parent','bottom','preValue','adjHandleSize','@univerjs-pro/shape-editor','packageName','isConnectorShape','OFFSET','MoveUpIcon','getPresentation','drawing-ui.objectListPanel.search','docs-shape-ui.objectListPanel.open','_getRenderModules','-layout','BottomIcon','updateDocumentDataMargin','isHorizontal','useDependency','_toScenePoint','save','_docDrawingShapeRenderController','stroke-width','@univerjs/docs','useObservable','Path','@univerjs/engine-render','asObservable','map','_localeService','_docsShapeService','React','clearActiveDrawingObjects','svg','viewBox','drawing-ui.objectListPanel.sectionFloating','doc.shape.object-list.panel','oKey','drawing','current','UniverDocsUi','drawing-ui.objectListPanel.description','IImageIoService','_baseShapeWidth','below','getActiveViewportByCoord','_permissionService','square','true','onDblclick$','OBJECT_LIST_FLOATING_SECTION_ID','presetId','_init','UniverDocsDrawing','draw','setContextValue','changeStart$','doc-shape-adjust-point-','_updateShapeAdjustControls','onerror','wrapStrategy','DRAWING_DOM','multiply','cloneShapeDataForType','setFormulaPresentation','isRenderLinePointsMode','UniverProShapeEditorUi','canEditDocumentTargets','updateContext','drawFormulaShapeAnimationLayers','width','getShapeModel','_renderManagerService','setOnSavingEditorData','setEditing','flatMap','shape-text-','UpdateDrawingDocTransformCommand','getDrawingByParam','componentKey','Rect','useState','ShapeTextHyperLinkHoverController','UpdateDocShapeDataMutation','getUnitType','UniverShapeEditorMobileUIPlugin','length','drawing-ui.objectListPanel.nameInput','UniverProShapeEditor','_baseShapeLeft','M4.2\x208.3H6.8','UniverDocsShapePlugin','_canEditShape','DocsShapeService','UniverProDocsShape','_lastEditingShapeKey','merge','TopmostIcon','PARAGRAPH','_registerIcons','getInverseCoord','_hyperLinkRegions','ContextMenuPosition','parseFloat','Shape','135zpBmas','entries','getDrawingOKey','165716DrXQlX','plainShapeTextToDocumentData','delete','Inject','drawing-ui.objectListPanel.details','drawing-ui.objectListPanel.filterLocked','SolidLine','ShapeQuickStyleGallery','BehaviorSubject','17287897Knxmpb','enableObjectsEvent','docs-shape-ui.ribbon.shape-format.wrapping-style','_adjHandlerPointerMove','UniverDocsDrawingUIPlugin','getDrawingVisible','UniverUi','trim','subUnitId','FormatPainterSessionService','_getShapeAdjustInfosById','1em','drawing-ui.objectListPanel.filterHidden','_openShapeEditPanel','DRAWING_IMAGE','ShapeFormulaRibbonControl','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','path','sidebarOptions$','open','buildClipPath','cos','1.2','UnitObject','completeEditing','_registerDrawingFocusChangeHandler','angle','_props','registerCommand','getState','shapeData','@univerjs/protocol','onReady','move-down-icon','IConfigService','canDispose','find','_formulaShapes','FromArray','DocsShapeWrapInFrontOfTextIcon','isolated','_activeShapeId','mask','_clearPopups','_handleCreateControl','_initEvents','headerLayoutKey','MobileShapeEditorControls','_onSavingEditorData$','addObject','FOCUSING_COMMON_DRAWINGS','useLayoutEffect','ContextMenuGroup','getSkeletonData','UniverShapeEditorUIPlugin','menu','doc.shape.text.float-menu','IContextService','endOffset','drawing-ui.objectListPanel.showAll','resolveShapeContextualRibbonHostMode','flipX','useEffect','PaintIcon','VerticalAlign','LocaleService','shapeType','_docPrintInterceptorService','getShapeType','getImageSourceCache','complete','object-layers-icon','refreshTransform$','getDrawingData','ShapePickerPanel','getShapeTextRect','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','0\x200\x2016\x2016','getActualSize','COMMAND','prstGeom','ShapePickerDropdown','DEFAULT_DOC_SHAPE_HEIGHT','onStarting','@univerjs/design','UniverShapeEditorPlugin','ShapeStyleRibbonControl','SpAutoFit','getObjectListPanelSectionIdForDrawingType','div','onSavingEditorData$','_getShapeInfo','docs-shape-contextual-ribbon','replace','debounceRefreshControls','docs-shape-ui.ribbon.shape-format.text-control','top-center','changing$','drawing-ui.objectListPanel.lockHint','EMPTY_PARAGRAPH_MENU_ID','ImageSourceTypeEnum','isFinite','@univerjs/docs-drawing-ui','_clearCompletionFrame','_shapeRenderController','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','resolveShapeTextHyperLinkObject','splice','unitId','UniverInstanceType','idSuffix','ShapeFillEnum','#3B82F6','_disposePopupsByUnit','ObjectLayersIcon','_visible','target','_clipService','doc.operation.close-doc-shape-format-panel','mergeMenu','pick','getDrawingTypeNameKey','left','stopPropagation','shape-editor-ui.toolbar.quickStyles','UniverDrawingUIPlugin','isDrawingObject','style','presentation','bindRenderTransformerLifecycle','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','isEditing','ShapeFloatingToolbarService','Disposable','_instanceService','appliedStrokeWidth','fontSize','ShapeTextHyperLinkInfo','UpdateDocShapeDataCommand','DrawingTypeEnum','ShapeFormulaService','UniverDocsDrawingUi','value','ShapeTextRibbonControl','render','getCurrentTypeOfUnit$','fontFamily','BUTTON','fillImageSource','_shapeTextEditingService','topmost-icon','121293ApNhRq','docs-shape-ui.hidePanel','extensionGroups','startWith','displayName','actions','_activeAdjustInfo','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','DocsShapeWrapSquareIcon','layoutType','M2\x203.5h16M2\x2016.5h16M2\x2010h5M13\x2010h5','UniverProLicense','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','_baseShapeHeight','resolveFormulaShapeAutoFitSize','insertGroupObject','Line','contentHeight','defIds','MobileActionRow','top-bottom','@univerjs/drawing','fill','onTransformChange$','UniverDocsPlugin','forward','M4.2\x205.5H10.5','0\x200\x2017\x2016','_canEdit','IRenderManagerService','localeService','_shapeId','focusDrawing','with','@univerjs/ui','DOCS_SHAPE_UI_PLUGIN','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','getShapePopupMenus','applyPoint','_layoutInteraction','registerClipDelegate','_transformCalculateSrcRect','selectable','dispose','1TQPHvG','invert','max','hadStyleAttribute','0.8','drawing-ui.objectListPanel.noSelection','activeTarget','title','sectionFloating','calcAdjValues','startIndex','drawing-ui.objectListPanel.hide','paragraphId','MobileObjectListPanel','text','disableObjectsEvent','decorate','color','UpdateDocDrawingWrappingStyleCommand','docs-shape-ui.textWrap.inFrontText','ICommandService','TRUE','LAYOUT','getPropertyPriority','ShapeRenderModeEnum','clip','1191819IbXTpx','DocsShapeTextEditorContainer','isMainScene','transformByState','_formulaAnimation','docs-shape-ui.quickStyles','drawingType','hasAttribute','element','_commandService','MobileDocDrawingTextWrap','url(#$1','RibbonInsertGroup','setProperty','next','distinctUntilChanged','MenuItemType','classType','executeCommand','pages','_sidebarDisposable','isReleased','setFallbackVisible','rxjs','docs-shape-ui.objectListPanel.title','forEach','drawing-ui.objectListPanel.unlockAll','_getShapeAdjustPointListById','docs-shape-ui.ribbon.shape-format.arrange-back','RENDER_CLASS_TYPE','attachTransformerTo','drawing-ui.objectListPanel.unlockHint','ShapeArrowTypeEnum','_imageIoService','ShapeDefaultConfig','xlink:href','_shapeFormulaService','ShapeIcon','removeProperty','VIEW_MAIN','hasDefault','top','getParent','menuRange','_shapeEditPanelVersion','close','useId','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','strokeWidth','createElement','generateRandomId','amd','paragraph','MobileDocDrawingPosition','UnitAction','UniverProtocol','DocInterceptorService','_hide','@univerjs-pro/docs-shape-ui','refreshAdjustControls','getDrawingOrder','UpdateDocDrawingMetadataCommand','UniverDesign','restore','Observable','calculate','Fragment','docs-shape-ui.shape-format.style-ribbon-control','drawing-ui.objectListPanel.filterAll','_configService','round','DOC_PARAGRAPH_T_INSERT_MENU_ID','footerLayoutKey','shape-editor-ui.toolbar.changeShape','_isStartAdjusting','ObjectPermissionButton','doc.shape.edit.panel','toDisposable','getImage','DocEventManagerService','DocumentEntity','BooleanNumber','_getShapePopup','setPresentation','_initUIPart','136EtAOxT','default','getSnapshot','back','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','_toVisualAdjustPoint','behind','ShapeFormatSettingIcon','getShapeQuickStylePreset','_config','getSelfOrHeaderFooterModel','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','resolveShapeTextEditorBehaviorShapeData','SHAPE_EDITOR_TRANSFORMER_CONFIG','drawing-ui.objectListPanel.lockAll','IN_FRONT_OF_TEXT','_initialize','getDrawingPoints','getCanvasElement','docs-shape-ui.config','from','getShapeTextData','isInGroup','ComponentManager','ShapeTextEditorContainer','getOwnPropertyDescriptor'];_0x1fb0=function(){return _0x2f455b;};return _0x1fb0();}