@univerjs-pro/docs-shape-ui 1.0.0-alpha.0 → 1.0.0-alpha.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 (82) 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/types/views/shapes.d.ts +8 -43
  62. package/lib/umd/index.js +1 -1
  63. package/lib/umd/locale/ar-SA.js +1 -1
  64. package/lib/umd/locale/ca-ES.js +1 -1
  65. package/lib/umd/locale/de-DE.js +1 -1
  66. package/lib/umd/locale/en-US.js +1 -1
  67. package/lib/umd/locale/es-ES.js +1 -1
  68. package/lib/umd/locale/fa-IR.js +1 -1
  69. package/lib/umd/locale/fr-FR.js +1 -1
  70. package/lib/umd/locale/id-ID.js +1 -1
  71. package/lib/umd/locale/it-IT.js +1 -1
  72. package/lib/umd/locale/ja-JP.js +1 -1
  73. package/lib/umd/locale/ko-KR.js +1 -1
  74. package/lib/umd/locale/pl-PL.js +1 -1
  75. package/lib/umd/locale/pt-BR.js +1 -1
  76. package/lib/umd/locale/ru-RU.js +1 -1
  77. package/lib/umd/locale/sk-SK.js +1 -1
  78. package/lib/umd/locale/vi-VN.js +1 -1
  79. package/lib/umd/locale/zh-CN.js +1 -1
  80. package/lib/umd/locale/zh-HK.js +1 -1
  81. package/lib/umd/locale/zh-TW.js +1 -1
  82. package/package.json +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x130702=_0x10a5;(function(_0x49bc0d,_0x522928){const _0x3a4f6e=_0x10a5,_0x20395e=_0x49bc0d();while(!![]){try{const _0x12dc89=-parseInt(_0x3a4f6e(0x3ca))/0x1+parseInt(_0x3a4f6e(0x228))/0x2+-parseInt(_0x3a4f6e(0xff))/0x3+-parseInt(_0x3a4f6e(0x2ba))/0x4+parseInt(_0x3a4f6e(0x338))/0x5*(-parseInt(_0x3a4f6e(0x176))/0x6)+-parseInt(_0x3a4f6e(0x28a))/0x7*(-parseInt(_0x3a4f6e(0x25e))/0x8)+parseInt(_0x3a4f6e(0x1cd))/0x9;if(_0x12dc89===_0x522928)break;else _0x20395e['push'](_0x20395e['shift']());}catch(_0x5808c5){_0x20395e['push'](_0x20395e['shift']());}}}(_0x2bd4,0x55197));import{DEFAULT_DOC_SHAPE_HEIGHT as _0x54d5d6,DEFAULT_DOC_SHAPE_WIDTH as _0x4a2dd0,DocsShapeService as _0x2118c4,InsertDocShapeMutation as _0x255e66,UniverDocsShapePlugin as _0x4f49b5,UpdateDocShapeDataCommand as _0x47f49e,UpdateDocShapeDataMutation as _0x5982e6}from'@univerjs-pro/docs-shape';import{ImageSourceTypeEnum as _0x27109d,ShapeArrowSizeEnum as _0x27c05f,ShapeArrowTypeEnum as _0x19787c,ShapeDefaultConfig as _0x21fcf0,ShapeFillEnum as _0x287024,ShapeLineTypeEnum as _0xda36dd,ShapeModel as _0x143585,ShapeRenderModeEnum as _0x1210eb,ShapeTypeEnum as _0x332c7f,isConnectorShape as _0x1757f3}from'@univerjs-pro/engine-shape';import{BooleanNumber as _0x4b9697,CommandType as _0x21ca15,DependentOn as _0x50e9e5,Disposable as _0x3fcc5c,DocumentDataModel as _0x437d59,DrawingTypeEnum as _0x4fb2bf,FOCUSING_COMMON_DRAWINGS as _0x2b9968,FOCUSING_SHAPE_TEXT_EDITOR as _0x4b3a16,GridType as _0x5b8915,HorizontalAlign as _0x4264f8,ICommandService as _0x56458c,IConfigService as _0x241fe7,IContextService as _0x54b7a3,IURLImageService as _0x1dfb93,IUniverInstanceService as _0xaea7bd,Inject as _0x33309c,Injector as _0x30da42,LocaleService as _0x470e84,ObjectRelativeFromH as _0x2e239e,ObjectRelativeFromV as _0xab53ed,Plugin as _0x289022,PositionedObjectLayoutType as _0x1c131b,Tools as _0x314dc0,UniverInstanceType as _0x2ded89,VerticalAlign as _0x19072b,WrapStrategy as _0x474da5,WrapTextType as _0x170522,createInternalEditorID as _0x34604d,generateRandomId as _0x1bba9d,merge as _0x269ee8,registerDependencies as _0x1ed5d3,toDisposable as _0x5d41e1,touchDependencies as _0x2afea8}from'@univerjs/core';import{DocContentInsertService as _0x14f083,DocSelectionManagerService as _0x373df0}from'@univerjs/docs';import{DocDrawingPosition as _0x51237b,DocDrawingTextWrap as _0x43e3a5,InsertDocDrawingCommand as _0x482c4c,RemoveDocDrawingCommand as _0x365499,UniverDocsDrawingUIPlugin as _0x68c679}from'@univerjs/docs-drawing-ui';import{DOCS_COMPONENT_MAIN_LAYER_INDEX as _0x149c8b,DOC_CONTENT_INSERT_MENU_ID as _0x376483,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x42cc90,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x151e28,DocCanvasPopManagerService as _0x23a71d,DocParagraphMenuService as _0x2828fa,DocSelectionRenderService as _0x20066e,EMPTY_PARAGRAPH_MENU_ID as _0x142b77,INSERT_BELLOW_MENU_ID as _0x1abdc2,VIEWPORT_KEY as _0x145fa5,docDrawingPositionToTransform as _0x102c9d}from'@univerjs/docs-ui';import{CURSOR_TYPE as _0x4a6c9d,Circle as _0x20b985,DRAWING_OBJECT_LAYER_INDEX as _0x3ebd69,DocumentSkeleton as _0x521df0,DocumentViewModel as _0x3b87fd,Documents as _0x5a0da0,IRenderManagerService as _0x446451,RENDER_CLASS_TYPE as _0x439b82,Shape as _0x2607a3,Transform as _0x1ecdbe,VERTICAL_ROTATE_ANGLE as _0x49c7e8,Vector2 as _0x529e7d}from'@univerjs/engine-render';import{IDrawingManagerService as _0x5c72b9,IImageIoService as _0xf77436,getDrawingShapeKeyByDrawingSearch as _0x1d7f86}from'@univerjs/drawing';import{BuiltInUIPart as _0x55c578,ComponentManager as _0x52a9bb,ContextMenuGroup as _0x56c602,ContextMenuPosition as _0x219a5a,IFontService as _0x34967e,IMenuManagerService as _0x565f6d,ISidebarService as _0x5f2949,IUIPartsService as _0x2c4c79,IconManager as _0x1a3d08,MenuItemType as _0x19271d,RibbonInsertGroup as _0x216bd6,connectInjector as _0x2ad088,getMenuHiddenObservable as _0x3b75bd,useDependency as _0x3ffba1}from'@univerjs/ui';import{Button as _0x340ae1,Dropdown as _0x232960}from'@univerjs/design';import{DrawingCommonPanel as _0x1868a1,DrawingImageClipService as _0x709aa8,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x3d9ff1,insertGroupObject as _0x40ac00}from'@univerjs/drawing-ui';import{memo as _0x220ba1,useEffect as _0x64dd7b,useMemo as _0x4f8589,useState as _0x510af1}from'react';import{jsx as _0x429252,jsxs as _0x5376f4}from'react/jsx-runtime';import{BehaviorSubject as _0x5505cc}from'rxjs';import{ShapeEditPanel as _0x14ea07,ShapeFloatingToolbar as _0xfaa4e1,ShapeTextEditorContainer as _0x22e3bd,ShapeTextFloatMenuRenderControllerBase as _0x141be8,ShapeTextFloatToolbar as _0x30056b,TextWrapShapeIcon as _0x560ded,buildShapeTextDataUpdate as _0x16189a}from'@univerjs-pro/shape-editor-ui';import{UniverLicensePlugin as _0x4310f8}from'@univerjs-pro/license';import{ShapeAccentBorderCallout1Icon as _0x3bd578,ShapeAccentBorderCallout2Icon as _0x46e8a2,ShapeAccentBorderCallout3Icon as _0x2c93a1,ShapeAccentCallout1Icon as _0x1b8738,ShapeAccentCallout2Icon as _0x41da72,ShapeAccentCallout3Icon as _0x553e54,ShapeActionButtonBackPreviousIcon as _0x33d74e,ShapeActionButtonBeginningIcon as _0x5c053a,ShapeActionButtonBlankIcon as _0x566c39,ShapeActionButtonDocumentIcon as _0x45c79f,ShapeActionButtonEndIcon as _0x1d40d1,ShapeActionButtonForwardNextIcon as _0x62e239,ShapeActionButtonHelpIcon as _0x5f2f95,ShapeActionButtonHomeIcon as _0x5b4664,ShapeActionButtonInformationIcon as _0x430718,ShapeActionButtonMovieIcon as _0x423acb,ShapeActionButtonReturnIcon as _0x2d8725,ShapeActionButtonSoundIcon as _0x13e62f,ShapeArcIcon as _0xf2017f,ShapeBentArrowIcon as _0xd41b74,ShapeBentConnector3Arrow1Icon as _0x11ab6d,ShapeBentConnector3Arrow2Icon as _0x336889,ShapeBentConnector3Icon as _0x4b503a,ShapeBentUpArrowIcon as _0x680337,ShapeBevelIcon as _0x25a8b4,ShapeBlockArcIcon as _0x3c1cb5,ShapeBorderCallout1Icon as _0x1fb181,ShapeBorderCallout2Icon as _0x3882c8,ShapeBorderCallout3Icon as _0x21b6f1,ShapeBracePairIcon as _0x474dbd,ShapeBracketPairIcon as _0x439b49,ShapeCallout1Icon as _0x560f89,ShapeCallout2Icon as _0x3b0c27,ShapeCallout3Icon as _0x322f93,ShapeCanIcon as _0x509114,ShapeChartPlusIcon as _0x349863,ShapeChartStarIcon as _0x52a524,ShapeChartXIcon as _0x54d52c,ShapeChevronIcon as _0x139e2a,ShapeChordIcon as _0x2132d4,ShapeCircularArrowIcon as _0x2aefd3,ShapeCloudCalloutIcon as _0x46f501,ShapeCloudIcon as _0x9b0878,ShapeCornerIcon as _0x15256f,ShapeCornerTabsIcon as _0x3b84fc,ShapeCubeIcon as _0x1b4cc1,ShapeCurvedConnector3Arrow1Icon as _0x49ab0a,ShapeCurvedConnector3Arrow2Icon as _0x2f11a3,ShapeCurvedConnector3Icon as _0xdcc992,ShapeCurvedDownArrowIcon as _0x742753,ShapeCurvedLeftArrowIcon as _0x41f4a9,ShapeCurvedRightArrowIcon as _0x17c010,ShapeCurvedUpArrowIcon as _0x2598eb,ShapeDecagonIcon as _0x16a370,ShapeDiagStripeIcon as _0xd0e78a,ShapeDiamondIcon as _0xa3150e,ShapeDodecagonIcon as _0x592ea2,ShapeDonutIcon as _0x47dd32,ShapeDoubleWaveIcon as _0x5e7ac2,ShapeDownArrowCalloutIcon as _0x20ab4a,ShapeDownArrowIcon as _0x4c8fd3,ShapeEllipseIcon as _0x353f25,ShapeEllipseRibbon2Icon as _0x23c1f5,ShapeEllipseRibbonIcon as _0x941f05,ShapeFlowChartAlternateProcessIcon as _0x3f69bf,ShapeFlowChartCollateIcon as _0x448238,ShapeFlowChartConnectorIcon as _0xc3767b,ShapeFlowChartDecisionIcon as _0x55b6f9,ShapeFlowChartDelayIcon as _0x270a2c,ShapeFlowChartDisplayIcon as _0x2536f0,ShapeFlowChartDocumentIcon as _0x1f1e50,ShapeFlowChartExtractIcon as _0x362246,ShapeFlowChartInputOutputIcon as _0xfada14,ShapeFlowChartInternalStorageIcon as _0x5588e9,ShapeFlowChartMagneticDiskIcon as _0x24da01,ShapeFlowChartMagneticDrumIcon as _0x335cfb,ShapeFlowChartMagneticTapeIcon as _0x3a1bef,ShapeFlowChartManualInputIcon as _0x117589,ShapeFlowChartManualOperationIcon as _0x327bad,ShapeFlowChartMergeIcon as _0x248408,ShapeFlowChartMultidocumentIcon as _0x507e38,ShapeFlowChartOfflineStorageIcon as _0x276fd1,ShapeFlowChartOffpageConnectorIcon as _0x292a2f,ShapeFlowChartOnlineStorageIcon as _0x342818,ShapeFlowChartOrIcon as _0x527473,ShapeFlowChartPredefinedProcessIcon as _0x1a1711,ShapeFlowChartPreparationIcon as _0x11b262,ShapeFlowChartProcessIcon as _0x54f913,ShapeFlowChartPunchedCardIcon as _0x32a2a3,ShapeFlowChartPunchedTapeIcon as _0x16b999,ShapeFlowChartSortIcon as _0x1cc378,ShapeFlowChartSummingJunctionIcon as _0x3e8e22,ShapeFlowChartTerminatorIcon as _0xabff00,ShapeFolderCornerIcon as _0x41d0c0,ShapeFrameIcon as _0xa58595,ShapeFunnelIcon as _0x34b8c3,ShapeGear6Icon as _0x56bbb0,ShapeGear9Icon as _0x4b5133,ShapeHalfFrameIcon as _0x404bbb,ShapeHeartIcon as _0x1e2df3,ShapeHeptagonIcon as _0x489f28,ShapeHexagonIcon as _0x420660,ShapeHomePlateIcon as _0x1da8fe,ShapeHorizontalScrollIcon as _0x4134e3,ShapeIrregularSeal1Icon as _0x57b6a4,ShapeIrregularSeal2Icon as _0x2f6663,ShapeLeftArrowCalloutIcon as _0x1fe9a6,ShapeLeftArrowIcon as _0x5278ff,ShapeLeftBraceIcon as _0x34d5d3,ShapeLeftBracketIcon as _0x45de1f,ShapeLeftCircularArrowIcon as _0x551875,ShapeLeftRightArrowCalloutIcon as _0x444744,ShapeLeftRightArrowIcon as _0x24c350,ShapeLeftRightCircularArrowIcon as _0x1afc1c,ShapeLeftRightRibbonIcon as _0x322e6a,ShapeLeftRightUpArrowIcon as _0x59716e,ShapeLeftUpArrowIcon as _0x1d17f8,ShapeLightningBoltIcon as _0x2f7893,ShapeLineIcon as _0x44b31b,ShapeLineInvIcon as _0x2b9270,ShapeMathDivideIcon as _0x3b0f96,ShapeMathEqualIcon as _0x8929d6,ShapeMathMinusIcon as _0x3980f2,ShapeMathMultiplyIcon as _0x2b2daa,ShapeMathNotEqualIcon as _0x4baa65,ShapeMathPlusIcon as _0x33374c,ShapeMoonIcon as _0x181d61,ShapeNoSmokingIcon as _0x55fb8e,ShapeNonIsoscelesTrapezoidIcon as _0x19e869,ShapeNotchedRightArrowIcon as _0x3f3ba3,ShapeOctagonIcon as _0x561daf,ShapeParallelogramIcon as _0x5a2a0b,ShapePentagonIcon as _0x243fa6,ShapePieIcon as _0x436849,ShapePieWedgeIcon as _0x4085c8,ShapePlaqueIcon as _0x2c7338,ShapePlaqueTabsIcon as _0x31f888,ShapePlusIcon as _0x1dfa59,ShapeQuadArrowCalloutIcon as _0x3d02ab,ShapeQuadArrowIcon as _0x10a727,ShapeRectIcon as _0xad7084,ShapeRectTextboxHorizontalIcon as _0x1e8ef4,ShapeRectTextboxVerticalIcon as _0x7c1a1d,ShapeRibbon2Icon as _0x39ab76,ShapeRibbonIcon as _0x32c30e,ShapeRightArrowCalloutIcon as _0x4e9ade,ShapeRightArrowIcon as _0x48f794,ShapeRightBraceIcon as _0x3411fe,ShapeRightBracketIcon as _0x37f61f,ShapeRound1RectIcon as _0x1359b8,ShapeRound2DiagRectIcon as _0x4384d9,ShapeRound2SameRectIcon as _0xb942df,ShapeRoundRectIcon as _0x83bf8a,ShapeRtTriangleIcon as _0x8f215c,ShapeSmileyFaceIcon as _0x2adb56,ShapeSnip1RectIcon as _0x241932,ShapeSnip2DiagRectIcon as _0x1d541e,ShapeSnip2SameRectIcon as _0x4b7376,ShapeSnipRoundRectIcon as _0x5c2a23,ShapeSquareTabsIcon as _0x55e8c4,ShapeStar10Icon as _0x1f7b6d,ShapeStar12Icon as _0x5e5fd4,ShapeStar16Icon as _0x512105,ShapeStar24Icon as _0x229491,ShapeStar32Icon as _0xbfcde8,ShapeStar4Icon as _0x520549,ShapeStar5Icon as _0x4f2575,ShapeStar6Icon as _0x4ea69a,ShapeStar7Icon as _0x1a9dd3,ShapeStar8Icon as _0x117d1e,ShapeStraightConnector1Icon as _0x3dc14e,ShapeStraightConnector2Icon as _0x1e5c6b,ShapeStripedRightArrowIcon as _0x4507a4,ShapeSunIcon as _0x2960ba,ShapeSwooshArrowIcon as _0x3d3681,ShapeTeardropIcon as _0xecf075,ShapeTrapezoidIcon as _0x517d58,ShapeTriangleIcon as _0x517c45,ShapeUpArrowCalloutIcon as _0x4acb17,ShapeUpArrowIcon as _0x59b135,ShapeUpDownArrowCalloutIcon as _0x41aea3,ShapeUpDownArrowIcon as _0x2f6ee7,ShapeUturnArrowIcon as _0x3cb5af,ShapeVerticalScrollIcon as _0x1b028f,ShapeWaveIcon as _0x1332d9,ShapeWedgeEllipseCalloutIcon as _0x391c82,ShapeWedgeRectCalloutIcon as _0x27b8a7,ShapeWedgeRoundRectCalloutIcon as _0x49e7bd}from'@univerjs/icons';const Zi=_0x130702(0xf9),Qi='#2563EB';function $i(_0x5b92c6,_0x4d0a89){const _0x58c780=_0x130702;if(_0x4d0a89){if(_0x1757f3(_0x5b92c6)&&(_0x4d0a89[_0x58c780(0x214)]||_0x4d0a89[_0x58c780(0x2f1)]))return{'ln':{'startArrow':_0x4d0a89[_0x58c780(0x214)]?{'type':_0x19787c[_0x58c780(0x22f)],'size':_0x27c05f[_0x58c780(0x29f)]}:void 0x0,'endArrow':_0x4d0a89['endArrow']?{'type':_0x19787c[_0x58c780(0x22f)],'size':_0x27c05f[_0x58c780(0x342)]}:void 0x0}};if(_0x5b92c6===_0x332c7f['Rect']&&(_0x4d0a89[_0x58c780(0x302)]||_0x4d0a89[_0x58c780(0x11e)]))return{'fill':{'fillType':_0x287024[_0x58c780(0x22c)],'color':Zi},'stroke':{'lineStrokeType':_0xda36dd[_0x58c780(0x190)],'width':0x1,'color':Qi},'shapeText':{'isHorizontal':!!_0x4d0a89['horizontal']}};}}function ea(_0xd9a10,_0x36d191){const _0x3ae37c=_0x130702;var _0x85d9ac;let _0x40b9cf=_0xd9a10['get'](_0x446451)[_0x3ae37c(0x16a)](_0x36d191),_0x1c2c23=_0x40b9cf==null||(_0x85d9ac=_0x40b9cf[_0x3ae37c(0x135)](_0x20066e)['getActiveTextRange']())==null?void 0x0:_0x85d9ac[_0x3ae37c(0x395)]();return _0x1c2c23?{'left':_0x1c2c23[_0x3ae37c(0x13e)],'top':_0x1c2c23[_0x3ae37c(0x237)]}:null;}function ta(_0x31a3b3,_0x208d72,_0x4fb462){const _0x533ad9=_0x130702;var _0x52e0f0,_0x2e5560,_0x1bfd36;if(!_0x4fb462)return null;let _0x53bf18=_0x31a3b3[_0x533ad9(0x3e9)](_0x446451)[_0x533ad9(0x16a)](_0x208d72),_0x1de945=_0x53bf18==null?void 0x0:_0x53bf18[_0x533ad9(0x135)](_0x2828fa)['activeTarget'];if(!_0x1de945)return null;let _0x506968=_0x4fb462===_0x533ad9(0x234)?{'startOffset':_0x1de945['moveRange'][_0x533ad9(0x372)],'endOffset':_0x1de945[_0x533ad9(0x363)][_0x533ad9(0x372)]}:_0x1de945['menuRange'];return{'range':{'unitId':_0x208d72,'startOffset':_0x506968[_0x533ad9(0x221)],'endOffset':_0x506968[_0x533ad9(0x372)],'segmentId':(_0x52e0f0=(_0x2e5560=_0x1de945[_0x533ad9(0x1e1)])==null?void 0x0:_0x2e5560['segmentId'])==null?'':_0x52e0f0},'position':(_0x1bfd36=_0x1de945[_0x533ad9(0x1e1)])!=null&&_0x1bfd36[_0x533ad9(0x10c)]?{'left':_0x1de945['paragraph'][_0x533ad9(0x10c)][_0x533ad9(0x13e)],'top':_0x4fb462==='below'?_0x1de945[_0x533ad9(0x1e1)]['rect']['bottom']:_0x1de945[_0x533ad9(0x1e1)][_0x533ad9(0x10c)][_0x533ad9(0x237)]}:null};}function na(_0x2db04c,_0x2f896c,_0x158fa0){const _0x40241f=_0x130702;var _0x23f787;return{'size':{'width':_0x2db04c,'height':_0x2f896c},'positionH':{'relativeFrom':_0x2e239e['PAGE'],'posOffset':(_0x23f787=_0x158fa0==null?void 0x0:_0x158fa0[_0x40241f(0x13e)])==null?0x0:_0x23f787},'positionV':{'relativeFrom':_0xab53ed[_0x40241f(0x235)],'posOffset':0x0},'angle':0x0};}const B={'type':_0x21ca15[_0x130702(0xf7)],'id':_0x130702(0x29a),'handler':async(_0x164ef3,_0x50d74a)=>{const _0x1b0335=_0x130702;var _0x330979,_0x3780cb,_0x4dac66,_0x12c2b4,_0x4c8898,_0x1e5764;let _0x4e7caf=_0x164ef3[_0x1b0335(0x3e9)](_0xaea7bd)[_0x1b0335(0x1dd)]();if(!_0x4e7caf)return!0x1;let _0x4651ad=_0x164ef3[_0x1b0335(0x3e9)](_0x56458c),_0x4cf7db=_0x4e7caf['getUnitId'](),_0x3eecf7=_0x4cf7db,_0xdbede5=(_0x330979=_0x50d74a[_0x1b0335(0x132)])==null?_0x1bba9d():_0x330979,_0xc3ab3a=(_0x3780cb=_0x50d74a[_0x1b0335(0x368)])==null?_0x4a2dd0:_0x3780cb,_0x5b44be=(_0x4dac66=_0x50d74a['height'])==null?_0x54d5d6:_0x4dac66,_0x12e38c=(_0x12c2b4=(_0x4c8898=_0x50d74a[_0x1b0335(0x116)])==null?$i(_0x50d74a[_0x1b0335(0x17d)],_0x50d74a[_0x1b0335(0x3f8)]):_0x4c8898)==null?{'fill':{'fillType':_0x287024['SolidFill'],'color':Zi},'stroke':{'lineStrokeType':_0xda36dd[_0x1b0335(0x190)],'width':0x1,'color':Qi}}:_0x12c2b4,_0xa50e72=ta(_0x164ef3,_0x4cf7db,_0x50d74a[_0x1b0335(0xf0)]),_0x26e6f1=(_0x1e5764=_0xa50e72==null?void 0x0:_0xa50e72['position'])==null?ea(_0x164ef3,_0x4cf7db):_0x1e5764,_0x187294=na(_0xc3ab3a,_0x5b44be,_0x26e6f1),_0x195630=_0x102c9d(_0x187294);_0x195630&&_0x26e6f1&&(_0x195630[_0x1b0335(0x237)]=_0x26e6f1['top']),_0x4651ad['syncExecuteCommand'](_0x255e66['id'],{'unitId':_0x4cf7db,'shapeId':_0xdbede5,'shapeType':_0x50d74a[_0x1b0335(0x17d)],'shapeData':_0x12e38c}),_0xa50e72&&_0x164ef3[_0x1b0335(0x3e9)](_0x14f083)[_0x1b0335(0x1cc)](_0xa50e72[_0x1b0335(0x3b4)]);let _0x438ee8={'unitId':_0x4cf7db,'subUnitId':_0x3eecf7,'drawingId':_0xdbede5,'drawingType':_0x4fb2bf['DRAWING_SHAPE'],'transform':_0x195630,'docTransform':_0x187294,'data':{'shapeType':_0x50d74a[_0x1b0335(0x17d)],'shapeData':_0x12e38c},'behindDoc':_0x4b9697[_0x1b0335(0x2f7)],'title':'','description':'','layoutType':_0x1c131b[_0x1b0335(0x3aa)],'wrapText':_0x170522[_0x1b0335(0x3e7)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x4651ad[_0x1b0335(0x1e7)](_0x482c4c['id'],{'unitId':_0x4cf7db,'drawings':[_0x438ee8]});}},ra={'type':_0x21ca15[_0x130702(0x21a)],'id':'doc.operation.close-doc-shape-format-panel','handler'(){return!0x0;}},V={'type':_0x21ca15['OPERATION'],'id':_0x130702(0xe9),'handler'(){return!0x0;}},H=_0x130702(0x19d),ia=_0x34604d('SHAPE_TEXT');function U(_0x553d5c,_0x51375a){return function(_0x2ab239,_0x564ead){_0x51375a(_0x2ab239,_0x564ead,_0x553d5c);};}function W(_0x2d8b2a,_0x4dde2e,_0x2e9df9,_0x103b43){const _0x24fa85=_0x130702;var _0x4f51fc=arguments[_0x24fa85(0x1c3)],_0x13f978=_0x4f51fc<0x3?_0x4dde2e:_0x103b43===null?_0x103b43=Object['getOwnPropertyDescriptor'](_0x4dde2e,_0x2e9df9):_0x103b43,_0x43687e;if(typeof Reflect==_0x24fa85(0x1a8)&&typeof Reflect['decorate']=='function')_0x13f978=Reflect[_0x24fa85(0x344)](_0x2d8b2a,_0x4dde2e,_0x2e9df9,_0x103b43);else{for(var _0x29b8c2=_0x2d8b2a['length']-0x1;_0x29b8c2>=0x0;_0x29b8c2--)(_0x43687e=_0x2d8b2a[_0x29b8c2])&&(_0x13f978=(_0x4f51fc<0x3?_0x43687e(_0x13f978):_0x4f51fc>0x3?_0x43687e(_0x4dde2e,_0x2e9df9,_0x13f978):_0x43687e(_0x4dde2e,_0x2e9df9))||_0x13f978);}return _0x4f51fc>0x3&&_0x13f978&&Object[_0x24fa85(0x252)](_0x4dde2e,_0x2e9df9,_0x13f978),_0x13f978;}let G=class extends _0x3fcc5c{constructor(_0x4f4c47,_0x532daf){const _0x14adf7=_0x130702;super(),this[_0x14adf7(0x1cb)]=_0x4f4c47,this[_0x14adf7(0x1c9)]=_0x532daf,this['_registerImageShapeClipDelegate'](),this[_0x14adf7(0x1cb)]['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x14adf7(0x1cb)][_0x14adf7(0x1c6)](!0x1)});}[_0x130702(0x162)](){const _0x68327b=_0x130702;let _0x3145c5=new Map(),_0x4caebb=this['_clipService']['registerClipDelegate']((_0x254d40,_0x48b625,_0x5aec67,_0x43913d,_0x483025)=>{const _0x427938=_0x10a5;let _0x4758a0=_0x48b625;if(_0x4758a0===_0x332c7f[_0x427938(0x1ca)]||_0x48b625==='custom')return!0x1;try{let _0x1698fe=_0x3145c5['get'](_0x48b625);return _0x1698fe||(_0x1698fe=new _0x143585(_0x4758a0,'clip-'+_0x48b625),_0x3145c5[_0x427938(0x17a)](_0x48b625,_0x1698fe)),_0x483025&&_0x1698fe[_0x427938(0xf1)]({'adjustValues':_0x483025},!0x0),_0x1698fe[_0x427938(0xf3)]({'width':_0x5aec67,'height':_0x43913d}),_0x1698fe['buildClipPath'](_0x254d40,{'left':0x0,'top':0x0,'width':_0x5aec67,'height':_0x43913d});}catch{return!0x1;}});this[_0x68327b(0x34a)](_0x4caebb),this[_0x68327b(0x34a)]({'dispose':()=>_0x3145c5['clear']()});}[_0x130702(0x28e)](_0x3ed0db,_0x40686c,_0x3053ce,_0x577361,_0x53de20){const _0x311cf4=_0x130702;let _0x47cf65=this[_0x311cf4(0x1c9)]['getDrawingData'](_0x3ed0db,_0x40686c)[_0x3053ce];!_0x47cf65||_0x47cf65[_0x311cf4(0x37b)]!==_0x4fb2bf[_0x311cf4(0xbc)]||this[_0x311cf4(0x1c9)][_0x311cf4(0x2ea)]([{..._0x47cf65,'prstGeom':_0x577361,'adjustValues':_0x53de20}]);}};G=W([U(0x0,_0x33309c(_0x709aa8)),U(0x1,_0x33309c(_0x5c72b9))],G);const aa=[{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x2eb)],'icon':_0x130702(0x293),'name':_0x130702(0x37a)},{'group':'line','type':_0x332c7f[_0x130702(0x14b)],'icon':_0x130702(0x3f2),'name':_0x130702(0x39e),'endArrow':!0x0},{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x14b)],'icon':_0x130702(0x187),'name':_0x130702(0x1fb),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x3ec)],'icon':_0x130702(0x257),'name':_0x130702(0x1b6)},{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x3ec)],'icon':_0x130702(0xfa),'name':_0x130702(0x250),'endArrow':!0x0},{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x3ec)],'icon':_0x130702(0x357),'name':'docs-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x130702(0x359),'type':_0x332c7f['CurvedConnector3'],'icon':_0x130702(0x16d),'name':_0x130702(0x3b8)},{'group':_0x130702(0x359),'type':_0x332c7f[_0x130702(0x15b)],'icon':_0x130702(0x3bb),'name':_0x130702(0x2e9),'endArrow':!0x0},{'group':'line','type':_0x332c7f['CurvedConnector3'],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x130702(0x273),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':_0x332c7f['Rect'],'icon':'ShapeRectIcon','name':_0x130702(0x11f)},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x308)],'icon':_0x130702(0x122),'name':'docs-shape-ui.shape.type.round-rect'},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x1c1)],'icon':_0x130702(0x3f4),'name':'docs-shape-ui.shape.type.snip1-rect'},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0xc7)],'icon':_0x130702(0x3c3),'name':_0x130702(0x262)},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x348)],'icon':'ShapeSnip2DiagRectIcon','name':_0x130702(0x1fc)},{'group':_0x130702(0x298),'type':_0x332c7f['SnipRoundRect'],'icon':_0x130702(0x261),'name':_0x130702(0x165)},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x3fe)],'icon':'ShapeRound1RectIcon','name':'docs-shape-ui.shape.type.round1-rect'},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x3f7)],'icon':_0x130702(0x278),'name':_0x130702(0x2aa)},{'group':_0x130702(0x298),'type':_0x332c7f[_0x130702(0x376)],'icon':_0x130702(0x20b),'name':'docs-shape-ui.shape.type.round2-diag-rect'},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x239)],'icon':_0x130702(0x131),'name':_0x130702(0x347),'horizontal':!0x0},{'group':'basicShape','type':_0x332c7f['Rect'],'icon':_0x130702(0x288),'name':_0x130702(0x391),'vertical':!0x0},{'group':'basicShape','type':_0x332c7f['Ellipse'],'icon':_0x130702(0x2f8),'name':_0x130702(0x34c)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x365)],'icon':_0x130702(0x26f),'name':_0x130702(0x388)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x295)],'icon':_0x130702(0x1c7),'name':'docs-shape-ui.shape.type.rt-triangle'},{'group':'basicShape','type':_0x332c7f[_0x130702(0x1f1)],'icon':_0x130702(0x25d),'name':_0x130702(0x1a1)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x35e)],'icon':_0x130702(0x36e),'name':_0x130702(0x18d)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x3bf)],'icon':'ShapeDiamondIcon','name':_0x130702(0x1c8)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x247)],'icon':_0x130702(0x2df),'name':'docs-shape-ui.shape.type.pentagon'},{'group':_0x130702(0xf6),'type':_0x332c7f['Hexagon'],'icon':_0x130702(0x341),'name':_0x130702(0x16c)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2fe)],'icon':_0x130702(0x358),'name':_0x130702(0x14d)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x362)],'icon':'ShapeOctagonIcon','name':_0x130702(0x128)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2ee)],'icon':_0x130702(0x3af),'name':_0x130702(0x18e)},{'group':_0x130702(0xf6),'type':_0x332c7f['Dodecagon'],'icon':_0x130702(0x25c),'name':'docs-shape-ui.shape.type.dodecagon'},{'group':'basicShape','type':_0x332c7f['Pie'],'icon':'ShapePieIcon','name':_0x130702(0x2bc)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0xbb)],'icon':'ShapeChordIcon','name':_0x130702(0x331)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x27b)],'icon':_0x130702(0x3b2),'name':'docs-shape-ui.shape.type.teardrop'},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x264)],'icon':_0x130702(0x277),'name':_0x130702(0x37c)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2b9)],'icon':_0x130702(0x259),'name':_0x130702(0x24c)},{'group':_0x130702(0xf6),'type':_0x332c7f['Corner'],'icon':_0x130702(0x28d),'name':_0x130702(0x2b1)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2d5)],'icon':_0x130702(0x11b),'name':_0x130702(0xdf)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2d3)],'icon':'ShapePlusIcon','name':'docs-shape-ui.shape.type.plus'},{'group':'basicShape','type':_0x332c7f[_0x130702(0x2ae)],'icon':_0x130702(0x375),'name':_0x130702(0x10a)},{'group':_0x130702(0xf6),'type':_0x332c7f['Can'],'icon':_0x130702(0x12a),'name':_0x130702(0xd1)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x3cc)],'icon':'ShapeCubeIcon','name':_0x130702(0x3a0)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x3de)],'icon':_0x130702(0x285),'name':_0x130702(0x2ab)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x226)],'icon':_0x130702(0x31e),'name':_0x130702(0x177)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x27a)],'icon':_0x130702(0x2cc),'name':_0x130702(0x3eb)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2a3)],'icon':'ShapeBlockArcIcon','name':_0x130702(0x390)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x3e8)],'icon':'ShapeFolderCornerIcon','name':_0x130702(0x3b9)},{'group':'basicShape','type':_0x332c7f['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':_0x130702(0x291)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x37d)],'icon':_0x130702(0x360),'name':_0x130702(0x20f)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x2cd)],'icon':_0x130702(0xd6),'name':_0x130702(0x23c)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x2da)],'icon':_0x130702(0x36c),'name':'docs-shape-ui.shape.type.sun'},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x3a8)],'icon':_0x130702(0x383),'name':_0x130702(0x14f)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x1ba)],'icon':'ShapeCloudIcon','name':_0x130702(0x32b)},{'group':_0x130702(0xf6),'type':_0x332c7f['Arc'],'icon':_0x130702(0x3c8),'name':_0x130702(0x328)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x281)],'icon':'ShapeBracketPairIcon','name':'docs-shape-ui.shape.type.bracket-pair'},{'group':'basicShape','type':_0x332c7f[_0x130702(0x1d3)],'icon':_0x130702(0x1f7),'name':_0x130702(0x2e6)},{'group':_0x130702(0xf6),'type':_0x332c7f[_0x130702(0x267)],'icon':_0x130702(0x23a),'name':'docs-shape-ui.shape.type.left-bracket'},{'group':'basicShape','type':_0x332c7f[_0x130702(0x17e)],'icon':_0x130702(0x272),'name':_0x130702(0x14e)},{'group':'basicShape','type':_0x332c7f[_0x130702(0x185)],'icon':_0x130702(0x2d2),'name':'docs-shape-ui.shape.type.left-brace'},{'group':'basicShape','type':_0x332c7f['RightBrace'],'icon':_0x130702(0x1a2),'name':'docs-shape-ui.shape.type.right-brace'},{'group':'blockArrow','type':_0x332c7f[_0x130702(0x327)],'icon':'ShapeRightArrowIcon','name':_0x130702(0x37e)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x399)],'icon':'ShapeLeftArrowIcon','name':_0x130702(0x10e)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x19f)],'icon':'ShapeUpArrowIcon','name':_0x130702(0x15a)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x103)],'icon':_0x130702(0x2a9),'name':_0x130702(0x172)},{'group':_0x130702(0x3f6),'type':_0x332c7f['LeftRightArrow'],'icon':'ShapeLeftRightArrowIcon','name':'docs-shape-ui.shape.type.left-right-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f['UpDownArrow'],'icon':_0x130702(0x3a2),'name':'docs-shape-ui.shape.type.up-down-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x26e)],'icon':'ShapeQuadArrowIcon','name':_0x130702(0x10f)},{'group':_0x130702(0x3f6),'type':_0x332c7f['LeftRightUpArrow'],'icon':'ShapeLeftRightUpArrowIcon','name':_0x130702(0x2f0)},{'group':_0x130702(0x3f6),'type':_0x332c7f['BentArrow'],'icon':_0x130702(0x2b8),'name':_0x130702(0x37f)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0xea)],'icon':'ShapeUturnArrowIcon','name':'docs-shape-ui.shape.type.uturn-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x3ed)],'icon':_0x130702(0x2a4),'name':_0x130702(0x216)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x3d0)],'icon':_0x130702(0x3c0),'name':'docs-shape-ui.shape.type.bent-up-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f['CurvedRightArrow'],'icon':'ShapeCurvedRightArrowIcon','name':'docs-shape-ui.shape.type.curved-right-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x168)],'icon':_0x130702(0x104),'name':_0x130702(0x1b5)},{'group':'blockArrow','type':_0x332c7f['CurvedUpArrow'],'icon':_0x130702(0x279),'name':_0x130702(0xfb)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x3ee)],'icon':_0x130702(0xcb),'name':_0x130702(0xd3)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x193)],'icon':_0x130702(0x2e3),'name':'docs-shape-ui.shape.type.striped-right-arrow'},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x367)],'icon':'ShapeNotchedRightArrowIcon','name':_0x130702(0x1e8)},{'group':'blockArrow','type':_0x332c7f[_0x130702(0x31f)],'icon':_0x130702(0x246),'name':_0x130702(0x24a)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x317)],'icon':'ShapeChevronIcon','name':'docs-shape-ui.shape.type.chevron'},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x2ca)],'icon':_0x130702(0x3fb),'name':_0x130702(0x18a)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x312)],'icon':_0x130702(0x125),'name':_0x130702(0x2af)},{'group':_0x130702(0x3f6),'type':_0x332c7f['LeftArrowCallout'],'icon':_0x130702(0xfc),'name':_0x130702(0x380)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x248)],'icon':_0x130702(0x2e0),'name':_0x130702(0x183)},{'group':'blockArrow','type':_0x332c7f[_0x130702(0x2ec)],'icon':'ShapeLeftRightArrowCalloutIcon','name':_0x130702(0x39f)},{'group':_0x130702(0x3f6),'type':_0x332c7f[_0x130702(0x3a7)],'icon':'ShapeQuadArrowCalloutIcon','name':_0x130702(0x130)},{'group':'blockArrow','type':_0x332c7f[_0x130702(0x31c)],'icon':'ShapeCircularArrowIcon','name':_0x130702(0x1d8)},{'group':_0x130702(0x2c7),'type':_0x332c7f[_0x130702(0x29d)],'icon':_0x130702(0x1a9),'name':_0x130702(0xbf)},{'group':_0x130702(0x2c7),'type':_0x332c7f[_0x130702(0x2b0)],'icon':_0x130702(0xcc),'name':_0x130702(0x378)},{'group':_0x130702(0x2c7),'type':_0x332c7f[_0x130702(0x322)],'icon':_0x130702(0x107),'name':_0x130702(0x141)},{'group':_0x130702(0x2c7),'type':_0x332c7f['MathDivide'],'icon':_0x130702(0x105),'name':_0x130702(0x325)},{'group':_0x130702(0x2c7),'type':_0x332c7f['MathEqual'],'icon':_0x130702(0x1c5),'name':_0x130702(0x129)},{'group':_0x130702(0x2c7),'type':_0x332c7f[_0x130702(0x265)],'icon':_0x130702(0x3cb),'name':_0x130702(0xd0)},{'group':'flowchart','type':_0x332c7f[_0x130702(0x186)],'icon':_0x130702(0x10d),'name':_0x130702(0x127)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x323)],'icon':'ShapeFlowChartAlternateProcessIcon','name':'docs-shape-ui.shape.type.flow-chart-alternate-process'},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0xe1)],'icon':'ShapeFlowChartDecisionIcon','name':_0x130702(0x173)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2ce)],'icon':_0x130702(0x137),'name':_0x130702(0x1f0)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x35d)],'icon':_0x130702(0x3d9),'name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2e7)],'icon':_0x130702(0x1cf),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':'flowchart','type':_0x332c7f['FlowchartDocument'],'icon':_0x130702(0xca),'name':_0x130702(0x3dc)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2bd)],'icon':_0x130702(0x3bd),'name':_0x130702(0x396)},{'group':_0x130702(0x3c5),'type':_0x332c7f['FlowchartTerminator'],'icon':_0x130702(0x26b),'name':_0x130702(0x370)},{'group':'flowchart','type':_0x332c7f[_0x130702(0x36a)],'icon':_0x130702(0x33f),'name':'docs-shape-ui.shape.type.flow-chart-preparation'},{'group':_0x130702(0x3c5),'type':_0x332c7f['FlowchartManualInput'],'icon':_0x130702(0x15f),'name':_0x130702(0x39c)},{'group':'flowchart','type':_0x332c7f['FlowchartManualOperation'],'icon':'ShapeFlowChartManualOperationIcon','name':_0x130702(0x339)},{'group':_0x130702(0x3c5),'type':_0x332c7f['FlowchartConnector'],'icon':_0x130702(0x386),'name':_0x130702(0x2de)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x178)],'icon':_0x130702(0x1da),'name':'docs-shape-ui.shape.type.flow-chart-offpage-connector'},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x153)],'icon':'ShapeFlowChartPunchedCardIcon','name':_0x130702(0x1de)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0xd7)],'icon':_0x130702(0x3be),'name':_0x130702(0x2a6)},{'group':'flowchart','type':_0x332c7f[_0x130702(0x1a7)],'icon':_0x130702(0x256),'name':_0x130702(0x364)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2dd)],'icon':'ShapeFlowChartOrIcon','name':_0x130702(0x11d)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x3d5)],'icon':_0x130702(0x1f3),'name':_0x130702(0x3dd)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2d0)],'icon':_0x130702(0x1d4),'name':_0x130702(0x334)},{'group':'flowchart','type':_0x332c7f[_0x130702(0xcd)],'icon':_0x130702(0x18b),'name':_0x130702(0x140)},{'group':'flowchart','type':_0x332c7f[_0x130702(0x1fd)],'icon':_0x130702(0x1af),'name':_0x130702(0x26d)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x35c)],'icon':_0x130702(0x1aa),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x381)],'icon':_0x130702(0x1f2),'name':'docs-shape-ui.shape.type.flow-chart-delay'},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x13f)],'icon':_0x130702(0x3b7),'name':_0x130702(0x3e5)},{'group':'flowchart','type':_0x332c7f[_0x130702(0x311)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x130702(0x210)},{'group':_0x130702(0x3c5),'type':_0x332c7f[_0x130702(0x2dc)],'icon':'ShapeFlowChartMagneticDrumIcon','name':_0x130702(0x305)},{'group':_0x130702(0x3c5),'type':_0x332c7f['FlowchartDisplay'],'icon':_0x130702(0x393),'name':_0x130702(0x3a6)},{'group':_0x130702(0x2cf),'type':_0x332c7f['IrregularSeal1'],'icon':_0x130702(0x3d7),'name':_0x130702(0x3b1)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x232)],'icon':_0x130702(0x2b4),'name':_0x130702(0x2db)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x3ae)],'icon':_0x130702(0x14c),'name':_0x130702(0x3c9)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x205)],'icon':_0x130702(0x218),'name':_0x130702(0xc1)},{'group':'starAndBanner','type':_0x332c7f['Star6'],'icon':_0x130702(0x215),'name':_0x130702(0x2a0)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x1e2)],'icon':_0x130702(0x101),'name':_0x130702(0x346)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x1d2)],'icon':_0x130702(0x1ec),'name':'docs-shape-ui.shape.type.star8'},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x301)],'icon':_0x130702(0x2e4),'name':'docs-shape-ui.shape.type.star10'},{'group':'starAndBanner','type':_0x332c7f[_0x130702(0x3f3)],'icon':'ShapeStar12Icon','name':'docs-shape-ui.shape.type.star12'},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x354)],'icon':'ShapeStar16Icon','name':_0x130702(0x3e6)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x11c)],'icon':_0x130702(0x402),'name':_0x130702(0x156)},{'group':_0x130702(0x2cf),'type':_0x332c7f['Star32'],'icon':_0x130702(0x2a5),'name':_0x130702(0x233)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x3f1)],'icon':_0x130702(0x163),'name':_0x130702(0x32d)},{'group':_0x130702(0x2cf),'type':_0x332c7f['Ribbon'],'icon':_0x130702(0x36f),'name':_0x130702(0x254)},{'group':'starAndBanner','type':_0x332c7f['EllipseRibbon2'],'icon':_0x130702(0x194),'name':_0x130702(0x203)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x385)],'icon':'ShapeEllipseRibbonIcon','name':_0x130702(0x3d3)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x1e6)],'icon':_0x130702(0x32c),'name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x2f6)],'icon':'ShapeHorizontalScrollIcon','name':_0x130702(0x2c5)},{'group':_0x130702(0x2cf),'type':_0x332c7f[_0x130702(0x316)],'icon':'ShapeWaveIcon','name':_0x130702(0x1b2)},{'group':_0x130702(0x2cf),'type':_0x332c7f['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x130702(0x1df)},{'group':'callout','type':_0x332c7f['WedgeRectCallout'],'icon':'ShapeWedgeRectCalloutIcon','name':'docs-shape-ui.shape.type.wedge-rect-callout'},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x329)],'icon':_0x130702(0x2e8),'name':_0x130702(0x2cb)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x3c4)],'icon':_0x130702(0x12e),'name':_0x130702(0x23f)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x3f0)],'icon':_0x130702(0x351),'name':_0x130702(0x13a)},{'group':'callout','type':_0x332c7f[_0x130702(0x174)],'icon':_0x130702(0x19b),'name':_0x130702(0xb8)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x2bb)],'icon':_0x130702(0x374),'name':_0x130702(0x2ac)},{'group':'callout','type':_0x332c7f[_0x130702(0x1ff)],'icon':_0x130702(0x230),'name':_0x130702(0x2f3)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x30a)],'icon':'ShapeAccentCallout1Icon','name':_0x130702(0x12d)},{'group':_0x130702(0x3c1),'type':_0x332c7f['AccentCallout2'],'icon':'ShapeAccentCallout2Icon','name':'docs-shape-ui.shape.type.accent-callout2'},{'group':_0x130702(0x3c1),'type':_0x332c7f['AccentCallout3'],'icon':_0x130702(0x287),'name':_0x130702(0x181)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x2c4)],'icon':_0x130702(0x151),'name':_0x130702(0x394)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x3fc)],'icon':_0x130702(0x152),'name':'docs-shape-ui.shape.type.callout2'},{'group':'callout','type':_0x332c7f['Callout3'],'icon':'ShapeCallout3Icon','name':_0x130702(0x1ee)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x2be)],'icon':_0x130702(0x32e),'name':_0x130702(0xd2)},{'group':_0x130702(0x3c1),'type':_0x332c7f[_0x130702(0x139)],'icon':_0x130702(0x34f),'name':_0x130702(0x202)},{'group':_0x130702(0x3c1),'type':_0x332c7f['AccentBorderCallout3'],'icon':_0x130702(0x245),'name':_0x130702(0x36d)},{'group':_0x130702(0x397),'type':_0x332c7f['LeftCircularArrow'],'icon':_0x130702(0x23d),'name':_0x130702(0x30c)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x307)],'icon':_0x130702(0xe7),'name':_0x130702(0x2f5)},{'group':'other','type':_0x332c7f[_0x130702(0x167)],'icon':_0x130702(0x1dc),'name':_0x130702(0x169)},{'group':_0x130702(0x397),'type':_0x332c7f['LeftRightRibbon'],'icon':_0x130702(0x38f),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x17f)],'icon':_0x130702(0x36b),'name':_0x130702(0xdd)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x147)],'icon':_0x130702(0x1f8),'name':_0x130702(0x350)},{'group':'other','type':_0x332c7f['Gear6'],'icon':_0x130702(0x21b),'name':'docs-shape-ui.shape.type.gear6'},{'group':_0x130702(0x397),'type':_0x332c7f['Gear9'],'icon':_0x130702(0x160),'name':'docs-shape-ui.shape.type.gear9'},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x22a)],'icon':_0x130702(0x20c),'name':_0x130702(0x236)},{'group':'other','type':_0x332c7f[_0x130702(0x29e)],'icon':_0x130702(0x117),'name':_0x130702(0xda)},{'group':'other','type':_0x332c7f[_0x130702(0xcf)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x130702(0x309)},{'group':'other','type':_0x332c7f['ActionButtonBeginning'],'icon':_0x130702(0x1a0),'name':'docs-shape-ui.shape.type.action-button-beginning'},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x115)],'icon':_0x130702(0x38e),'name':_0x130702(0x27f)},{'group':'other','type':_0x332c7f[_0x130702(0x299)],'icon':_0x130702(0x297),'name':_0x130702(0x1a3)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0xfd)],'icon':_0x130702(0x34b),'name':_0x130702(0x28f)},{'group':'other','type':_0x332c7f[_0x130702(0x224)],'icon':_0x130702(0x199),'name':_0x130702(0x196)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x283)],'icon':_0x130702(0x2ef),'name':_0x130702(0xf2)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x33c)],'icon':'ShapeActionButtonDocumentIcon','name':_0x130702(0x22e)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x387)],'icon':_0x130702(0x2d8),'name':_0x130702(0x3b0)},{'group':'other','type':_0x332c7f[_0x130702(0x159)],'icon':'ShapeActionButtonHelpIcon','name':_0x130702(0x242)},{'group':'other','type':_0x332c7f[_0x130702(0x39a)],'icon':_0x130702(0x263),'name':_0x130702(0xe5)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x164)],'icon':_0x130702(0x110),'name':_0x130702(0x25a)},{'group':_0x130702(0x397),'type':_0x332c7f['ChartStar'],'icon':_0x130702(0x16f),'name':'docs-shape-ui.shape.type.chart-star'},{'group':'other','type':_0x332c7f[_0x130702(0x12f)],'icon':_0x130702(0x303),'name':_0x130702(0x1e5)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x211)],'icon':_0x130702(0x315),'name':_0x130702(0x220)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0xc5)],'icon':_0x130702(0x1ae),'name':_0x130702(0x35a)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x1b8)],'icon':_0x130702(0xdc),'name':'docs-shape-ui.shape.type.plaque-tabs'},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0xeb)],'icon':_0x130702(0x1ea),'name':_0x130702(0x3b3)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x2b7)],'icon':_0x130702(0x310),'name':_0x130702(0xd9)},{'group':_0x130702(0x397),'type':_0x332c7f[_0x130702(0x106)],'icon':_0x130702(0x294),'name':'docs-shape-ui.shape.type.non-isosceles-trapezoid'}],oa=_0x130702(0x1f5);function sa({onShapeClick:_0x30d122,excludeGroups:_0x10720c}){const _0x13bdbf=_0x130702;let _0x5694e7=_0x3ffba1(_0x470e84),_0x54bad4=_0x3ffba1(_0x1a3d08),_0x1383d1=(_0x10720c?aa['filter'](_0x4cae0b=>!_0x10720c[_0x13bdbf(0x274)](_0x4cae0b[_0x13bdbf(0x208)])):aa)[_0x13bdbf(0x3ea)]((_0x398294,_0x1ef814)=>(_0x398294[_0x1ef814[_0x13bdbf(0x208)]]||(_0x398294[_0x1ef814[_0x13bdbf(0x208)]]=[]),_0x398294[_0x1ef814[_0x13bdbf(0x208)]][_0x13bdbf(0x3f5)](_0x1ef814),_0x398294),{});return _0x429252(_0x13bdbf(0x3e4),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object['entries'](_0x1383d1)[_0x13bdbf(0x207)](([_0x19beff,_0x4cba3a])=>_0x5376f4(_0x13bdbf(0x3e4),{'className':'univer-mb-2','children':[_0x429252(_0x13bdbf(0x3e4),{'className':_0x13bdbf(0xde),'children':_0x5694e7['t']('docs-shape-ui.shape.group.'+_0x19beff)}),_0x429252(_0x13bdbf(0x3e4),{'className':_0x13bdbf(0x1fe),'children':_0x4cba3a[_0x13bdbf(0x207)](_0x4e47d2=>{const _0x42a6ed=_0x13bdbf;let _0x1a2588=_0x54bad4[_0x42a6ed(0x3e9)](_0x4e47d2[_0x42a6ed(0x12b)]);return _0x429252(_0x42a6ed(0x3e4),{'title':_0x5694e7['t'](_0x4e47d2['name']),'onClick':()=>_0x30d122(_0x4e47d2),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0x1a2588&&_0x429252(_0x1a2588,{'className':_0x42a6ed(0xed)})},_0x4e47d2[_0x42a6ed(0x2c8)]);})})]},_0x19beff))});}function ca(){const _0x296458=_0x130702;let _0x55d266=_0x3ffba1(_0x470e84),_0x39db8f=_0x3ffba1(_0x5c72b9),_0x123e3b=_0x3ffba1(G),[_0x523ebb,_0x3c9c92]=_0x510af1(!0x1);return _0x429252(_0x232960,{'side':_0x296458(0x13e),'open':_0x523ebb,'onOpenChange':_0x3c9c92,'overlay':_0x429252(sa,{'onShapeClick':_0x48d567=>{const _0x995ade=_0x296458;let _0x1ee396=_0x39db8f[_0x995ade(0x2a7)]()[_0x995ade(0x3ce)](_0x3110fd=>_0x3110fd['drawingType']===_0x4fb2bf[_0x995ade(0xbc)]);if(!_0x1ee396)return;let {unitId:_0x5497b5,subUnitId:_0x257936,drawingId:_0x15ad66}=_0x1ee396;_0x123e3b[_0x995ade(0x28e)](_0x5497b5,_0x257936,_0x15ad66,_0x48d567[_0x995ade(0x2f4)]),_0x3c9c92(!0x1);},'excludeGroups':[_0x296458(0x359)]}),'children':_0x429252(_0x340ae1,{'children':_0x55d266['t']('docs-shape-ui.crop.shape')})});}function la({paragraphMenuPlacement:_0x5090bd}){let _0x18c6a6=_0x3ffba1(_0x56458c);return _0x429252(sa,{'onShapeClick':_0x1cea83=>{const _0x3ff7e2=_0x10a5;_0x18c6a6[_0x3ff7e2(0x192)](B['id'],{'paragraphMenuPlacement':_0x5090bd,'value':_0x1cea83[_0x3ff7e2(0x2f4)],'enhanceParams':{'endArrow':_0x1cea83[_0x3ff7e2(0x2f1)],'startArrow':_0x1cea83[_0x3ff7e2(0x214)],'horizontal':_0x1cea83['horizontal'],'vertical':_0x1cea83[_0x3ff7e2(0x11e)]}});}});}function ua(_0x2db6a3){const _0x232bcd=_0x130702;return _0x21fc8e=>({'id':B['id'],'type':_0x19271d[_0x232bcd(0x33b)],'selections':[{'label':{'name':oa,'hoverable':!0x1,'selectable':!0x1,'props':_0x2db6a3?{'id':B['id'],'paragraphMenuPlacement':_0x2db6a3}:{'id':B['id']}}}],'icon':_0x232bcd(0x3c2),'title':_0x232bcd(0x2fb),'tooltip':_0x232bcd(0x2fb),'hidden$':_0x3b75bd(_0x21fc8e,_0x2ded89[_0x232bcd(0x29b)])});}const da=ua(),fa=ua(_0x130702(0x234)),pa=ua(_0x130702(0x2c3)),ma={[_0x216bd6['MEDIA']]:{[B['id']]:{'order':0x4,'menuItemFactory':da}},[_0x219a5a[_0x130702(0x235)]]:{[_0x56c602[_0x130702(0xe6)]]:{[_0x1abdc2]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x376483]:{[_0x56c602['LAYOUT']]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x142b77]:{[_0x56c602['LAYOUT']]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':pa}}},[_0x151e28]:{'insert':{[B['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':da}}},[_0x42cc90]:{'insert':{[B['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':fa}}}}};function K(_0x1cf4f9){'@babel/helpers - typeof';const _0x1be0fe=_0x130702;return K=typeof Symbol==_0x1be0fe(0x111)&&typeof Symbol[_0x1be0fe(0x1d6)]=='symbol'?function(_0x1f6471){return typeof _0x1f6471;}:function(_0x194cfe){const _0x16d073=_0x1be0fe;return _0x194cfe&&typeof Symbol==_0x16d073(0x111)&&_0x194cfe['constructor']===Symbol&&_0x194cfe!==Symbol[_0x16d073(0x3df)]?_0x16d073(0x149):typeof _0x194cfe;},K(_0x1cf4f9);}function ha(_0x16ce95,_0x1dab88){const _0x49f5bc=_0x130702;if(K(_0x16ce95)!=_0x49f5bc(0x1a8)||!_0x16ce95)return _0x16ce95;var _0x6efa2c=_0x16ce95[Symbol['toPrimitive']];if(_0x6efa2c!==void 0x0){var _0x546ba2=_0x6efa2c[_0x49f5bc(0x14a)](_0x16ce95,_0x1dab88||_0x49f5bc(0x24d));if(K(_0x546ba2)!=_0x49f5bc(0x1a8))return _0x546ba2;throw TypeError(_0x49f5bc(0x2e1));}return(_0x1dab88==='string'?String:Number)(_0x16ce95);}function ga(_0x581d1b){const _0xcabc2f=_0x130702;var _0xd90177=ha(_0x581d1b,_0xcabc2f(0x266));return K(_0xd90177)==_0xcabc2f(0x149)?_0xd90177:_0xd90177+'';}function q(_0x3fbfe6,_0xe0f59,_0x439225){const _0x8f40c1=_0x130702;return(_0xe0f59=ga(_0xe0f59))in _0x3fbfe6?Object[_0x8f40c1(0x252)](_0x3fbfe6,_0xe0f59,{'value':_0x439225,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3fbfe6[_0xe0f59]=_0x439225,_0x3fbfe6;}var J=class extends _0x3fcc5c{constructor(..._0x4d88e2){const _0x1e12f3=_0x130702;super(..._0x4d88e2),q(this,_0x1e12f3(0x324),new _0x5505cc(null)),q(this,_0x1e12f3(0x2e2),this[_0x1e12f3(0x324)][_0x1e12f3(0x27e)]()),q(this,_0x1e12f3(0x335),new _0x5505cc(!0x1)),q(this,'onSavingEditorData$',this['_onSavingEditorData$']['asObservable']());}[_0x130702(0x349)](){const _0x133923=_0x130702;this[_0x133923(0x324)][_0x133923(0x3e3)](null),this['_editingParams$'][_0x133923(0xb9)](),this['_onSavingEditorData$'][_0x133923(0x3e3)](!0x1),this[_0x133923(0x335)][_0x133923(0xb9)](),super['dispose']();}[_0x130702(0x120)](_0x21fb96){const _0x4fad75=_0x130702;this[_0x4fad75(0x324)][_0x4fad75(0x3e3)](_0x21fb96),_0x21fb96==null&&this[_0x4fad75(0x335)][_0x4fad75(0x3e3)](!0x1);}[_0x130702(0x270)](_0x5b5daf){const _0xe7fe7a=_0x130702;this['_onSavingEditorData$'][_0xe7fe7a(0x3e3)](_0x5b5daf);}[_0x130702(0x1d1)](){const _0x55c7f3=_0x130702;return this[_0x55c7f3(0x324)][_0x55c7f3(0x161)]();}};function _a(_0x449b84,_0x3a7195,_0x51ddc6,_0x18f9ba,_0x3e96ba,_0x31651a){const _0x1d99a0=_0x130702;let _0x804f57={'unitId':_0x3a7195,'shapeId':_0x18f9ba,'shapeData':_0x31651a,'oldShapeJSON':_0x3e96ba};return _0x449b84[_0x1d99a0(0x192)](_0x47f49e['id'],_0x804f57);}function va(_0x46a344,_0x3a19a0,_0x5edf50,_0x33405a,_0x3eb365,_0x2fab57){const _0x10d981=_0x130702;let _0x4bef19={'unitId':_0x3a19a0,'shapeId':_0x33405a,'shapeData':_0x2fab57,'oldShapeJSON':_0x3eb365};return _0x46a344[_0x10d981(0x192)](_0x47f49e['id'],_0x4bef19);}const ya=_0x130702(0x319);function ba(_0x3346f6){const _0x39bcd2=_0x130702;let _0x11612e=_0x3346f6[_0x39bcd2(0x292)];return _0x11612e&&_0x39bcd2(0xee)in _0x11612e&&_0x11612e[_0x39bcd2(0xee)]?_0x11612e[_0x39bcd2(0xee)]:null;}function xa(_0x44bc1d){const _0x418b1f=_0x130702;var _0x25bfbc,_0x217b6b,_0x229141,_0x1fcf7c;let _0x2e1a3f=(_0x25bfbc=ba(_0x44bc1d))==null?void 0x0:_0x25bfbc[_0x418b1f(0x2fc)],_0x4cd7ad=(_0x217b6b=_0x2e1a3f==null||(_0x229141=_0x2e1a3f[_0x418b1f(0x3c6)])==null||(_0x229141=_0x229141[_0x418b1f(0x1ab)])==null||(_0x229141=_0x229141[0x0])==null?void 0x0:_0x229141['ts'])==null?{}:_0x217b6b;return{..._0x2e1a3f==null||(_0x1fcf7c=_0x2e1a3f[_0x418b1f(0x240)])==null?void 0x0:_0x1fcf7c[_0x418b1f(0x332)],..._0x4cd7ad};}function Sa(_0x408ea3,_0x10da8b){const _0x1e0e84=_0x130702;var _0x174f03;let _0x3f91b7=_0x408ea3==null||(_0x174f03=_0x408ea3[_0x1e0e84(0x32a)]()['drawings'])==null?void 0x0:_0x174f03[_0x10da8b];return _0x3f91b7?_0x3f91b7[_0x1e0e84(0x333)]===_0x1c131b[_0x1e0e84(0x1db)]?_0x3f91b7[_0x1e0e84(0x20a)]===_0x4b9697[_0x1e0e84(0x268)]?_0x1e0e84(0x1bb):_0x1e0e84(0x166):_0x3f91b7[_0x1e0e84(0x333)]===_0x1c131b[_0x1e0e84(0x188)]?_0x1e0e84(0x392):_0x3f91b7[_0x1e0e84(0x333)]===_0x1c131b[_0x1e0e84(0x33a)]?'wrapTopAndBottom':'inline':_0x1e0e84(0x191);}function Ca(_0x4c06fb){const _0x319d91=_0x130702;var _0x3e7c27,_0x27c143,_0x1e338e;let _0x19327e=_0x4c06fb[_0x319d91(0x126)][_0x319d91(0x1c2)],_0x329009=_0x3ffba1(_0x56458c),_0x3fc000=_0x3ffba1(_0x470e84),_0x1141b1=_0x3ffba1(_0x2118c4),_0x3994b3=_0x3ffba1(_0xaea7bd),_0x1775fe=_0x3ffba1(_0x34967e),{unitId:_0x4fd663,subUnitId:_0x2e5a10,drawingId:_0x27162c,shapeType:_0x19d31a}=_0x19327e,[_0x3a2ec1,_0x44f10d]=_0x510af1(_0x19327e[_0x319d91(0x116)]),[_0xa1c386,_0x5c7f48]=_0x510af1(()=>_0x1775fe[_0x319d91(0x1f4)]()),_0x3f5f3a=(_0x3e7c27=_0x3994b3['getUnit'](_0x4fd663,_0x2ded89['UNIVER_DOC']))==null?void 0x0:_0x3e7c27,[_0x2f72a2,_0x7ca788]=_0x510af1(()=>Sa(_0x3f5f3a,_0x27162c)),_0x4b515e=_0x4f8589(()=>xa(_0x3a2ec1),[_0x3a2ec1]),_0x4ba8fc=_0x4f8589(()=>ba(_0x3a2ec1),[_0x3a2ec1]);_0x64dd7b(()=>{const _0x115217=_0x319d91;let _0x5c4401=_0x329009['onCommandExecuted'](_0x4ac3fb=>{if(_0x4ac3fb['id']!==_0x5982e6['id'])return;let _0x5bacc3=_0x1141b1['getShapeDataById'](_0x4fd663,_0x2e5a10,_0x27162c);_0x5bacc3&&_0x44f10d(_0x5bacc3);});return()=>_0x5c4401[_0x115217(0x349)]();},[_0x329009,_0x1141b1,_0x27162c,_0x2e5a10,_0x4fd663]),_0x64dd7b(()=>{const _0x38f724=_0x319d91;let _0x2f9726=_0x1775fe[_0x38f724(0x24e)][_0x38f724(0x144)](_0x38d8b3=>{_0x5c7f48(_0x38d8b3);});return()=>_0x2f9726['unsubscribe']();},[_0x1775fe]);let _0x3408e4=_0x3147bb=>{_0x44f10d(_0x36bd7e=>({..._0x36bd7e,..._0x3147bb}));},_0x10b576=_0x24289f=>{const _0x4ec08c=_0x319d91;let _0x5f498d=_0x16189a(_0x3a2ec1,_0x24289f);_a(_0x329009,_0x4fd663,_0x2e5a10,_0x27162c,{'oldShapeData':{'shapeText':_0x3a2ec1[_0x4ec08c(0x292)]}},_0x5f498d),_0x3408e4(_0x5f498d);},_0xaf3deb=_0x2824e4=>{const _0x1119f9=_0x319d91;_0x7ca788(_0x2824e4),_0x329009[_0x1119f9(0x192)](_0x1119f9(0xd5),{'unitId':_0x4fd663,'subUnitId':_0x2e5a10,'drawings':[{'unitId':_0x4fd663,'subUnitId':_0x2e5a10,'drawingId':_0x27162c}],'wrappingStyle':_0x2824e4});},_0x3c78e5=_0xa1c386[_0x319d91(0x207)](_0x5d73f3=>({'label':_0x3fc000['t'](_0x5d73f3[_0x319d91(0xe2)]),'value':_0x5d73f3[_0x319d91(0x17d)]})),_0x1c52d9=[{'label':_0x3fc000['t'](_0x319d91(0x1d0)),'value':_0x319d91(0x191),'icon':_0x429252(_0x560ded,{})},{'label':_0x3fc000['t'](_0x319d91(0x284)),'value':_0x319d91(0x392),'icon':_0x429252(_0x560ded,{})},{'label':_0x3fc000['t'](_0x319d91(0x28c)),'value':'wrapTopAndBottom','icon':_0x429252(_0x560ded,{})},{'label':_0x3fc000['t'](_0x319d91(0x3d1)),'value':_0x319d91(0x1bb),'icon':_0x429252(_0x560ded,{})},{'label':_0x3fc000['t']('docs-shape-ui.textWrap.inFrontText'),'value':'inFrontOfText','icon':_0x429252(_0x560ded,{})}];return _0x429252(_0xfaa4e1,{'shapeData':_0x3a2ec1,'shapeType':_0x19d31a,'textStyle':{'cl':{'rgb':_0x319d91(0x33e)},..._0x4b515e},'textModel':_0x4ba8fc?{'ha':(_0x27c143=_0x4ba8fc['ha'])==null?_0x4264f8[_0x319d91(0x343)]:_0x27c143,'va':(_0x1e338e=_0x4ba8fc['va'])==null?_0x19072b['TOP']:_0x1e338e}:null,'fontOptions':_0x3c78e5,'wrappingStyle':_0x2f72a2,'wrappingStyleOptions':_0x1c52d9,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x4ea166,_0x590fe6)=>{_a(_0x329009,_0x4fd663,_0x2e5a10,_0x27162c,_0x4ea166,_0x590fe6),_0x590fe6&&_0x3408e4(_0x590fe6);},'onUpdateText':_0x10b576,'onUpdateWrappingStyle':_0x43e845=>_0xaf3deb(_0x43e845),'onOpenPanel':()=>{_0x329009['executeCommand'](V['id'],{'unitId':_0x4fd663,'subUnitId':_0x2e5a10,'drawingId':_0x27162c});},'onDelete':()=>{const _0x1140c6=_0x319d91;_0x329009[_0x1140c6(0x192)](_0x365499['id'],{'unitId':_0x4fd663,'drawings':[{'unitId':_0x4fd663,'subUnitId':_0x2e5a10,'drawingId':_0x27162c}]});}});}let Y=class extends _0x3fcc5c{constructor(_0x258275,_0x5a1b6b,_0x58ad4e,_0x11d410,_0x5a7fec,_0x27f5fc,_0x6b6460,_0xf1a6f4,_0x2150e7,_0x45b97d,_0x21360b){const _0xe45f13=_0x130702;super(),this['_univerInstanceService']=_0x258275,this[_0xe45f13(0x2b6)]=_0x5a1b6b,this[_0xe45f13(0x27c)]=_0x58ad4e,this[_0xe45f13(0x1b0)]=_0x11d410,this['_localeService']=_0x5a7fec,this[_0xe45f13(0x22d)]=_0x27f5fc,this[_0xe45f13(0x1c9)]=_0x6b6460,this[_0xe45f13(0x1e9)]=_0xf1a6f4,this[_0xe45f13(0x19a)]=_0x2150e7,this[_0xe45f13(0x3da)]=_0x45b97d,this['_shapeTextEditingService']=_0x21360b,q(this,_0xe45f13(0x373),null),q(this,_0xe45f13(0x35b),null),q(this,_0xe45f13(0x377),!0x1),q(this,_0xe45f13(0x3f9),0x0),q(this,_0xe45f13(0x3a9),new Set()),q(this,'_disposePopups',[]),this[_0xe45f13(0xc6)](),this[_0xe45f13(0x34a)](this[_0xe45f13(0x330)][_0xe45f13(0x23b)](_0x2ded89[_0xe45f13(0x29b)])[_0xe45f13(0x144)](_0x459469=>{const _0x1c2792=_0xe45f13;if(!_0x459469){var _0x32638d;(_0x32638d=this[_0x1c2792(0x373)])==null||_0x32638d[_0x1c2792(0x349)]();return;}this[_0x1c2792(0x306)](_0x459469);})),this[_0xe45f13(0x15e)](),this[_0xe45f13(0x1a5)](),this['disposeWithMe'](this[_0xe45f13(0x124)][_0xe45f13(0x2e2)][_0xe45f13(0x144)](_0x392100=>{const _0x46198c=_0xe45f13;_0x392100&&this[_0x46198c(0x145)]();}));}[_0x130702(0xc6)](){const _0x1d9eca=_0x130702;this[_0x1d9eca(0x27c)][_0x1d9eca(0x3e2)](ma);}[_0x130702(0x1a5)](){const _0xe89bc=_0x130702;this[_0xe89bc(0x330)][_0xe89bc(0xd4)](_0x2ded89['UNIVER_DOC'])[_0xe89bc(0x1bd)](_0x15fc21=>this['_createShapePopupMenu'](_0x15fc21));}['getShapePopupMenus'](_0x17b426,_0x4c928b,_0xe2e34c,_0x26c498){const _0x2090b6=_0x130702;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x17b426,'subUnitId':_0x4c928b,'drawingId':_0xe2e34c},'disable':_0x26c498===_0x4fb2bf[_0x2090b6(0x1ce)]},{'label':_0x2090b6(0x282),'index':0x1,'commandId':_0x365499['id'],'commandParams':{'unitId':_0x17b426,'drawings':[{'unitId':_0x17b426,'subUnitId':_0x4c928b,'drawingId':_0xe2e34c}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':ra['id'],'commandParams':{'unitId':_0x17b426,'subUnitId':_0x4c928b,'drawingId':_0xe2e34c},'disable':!0x1}];}['_getShapeInfo'](_0x49d810,_0xa6c1dd,_0x6171c1){const _0x2e3827=_0x130702;let _0x3e0dc0=this[_0x2e3827(0x1b0)][_0x2e3827(0x269)](_0x49d810,_0xa6c1dd,_0x6171c1),_0x7be118=this[_0x2e3827(0x1b0)]['getShapeDataById'](_0x49d810,_0xa6c1dd,_0x6171c1);return _0x3e0dc0!==void 0x0&&_0x7be118!==void 0x0?{'shapeData':_0x7be118,'shapeId':_0x6171c1,'shapeType':_0x3e0dc0,'unitId':_0x49d810,'subUnitId':_0xa6c1dd,'version':this[_0x2e3827(0x3f9)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x29fe8b){const _0x4604d6=_0x130702;if(!_0x29fe8b)return;let _0xaf417a=_0x29fe8b['getUnitId']();this['_renderManagerService'][_0x4604d6(0x371)](_0xaf417a)&&!this['_initializedShapePopupMenu'][_0x4604d6(0x371)](_0xaf417a)&&(this[_0x4604d6(0x118)](_0xaf417a),this['_initializedShapePopupMenu'][_0x4604d6(0x1c0)](_0xaf417a));}[_0x130702(0x145)](){const _0x39ac07=_0x130702;this[_0x39ac07(0x2c2)][_0x39ac07(0x1bd)](_0x5a2b91=>_0x5a2b91[_0x39ac07(0x349)]()),this[_0x39ac07(0x2c2)][_0x39ac07(0x1c3)]=0x0;}['_popupMenuListener'](_0x3d3399){const _0x132577=_0x130702;var _0x17e286;let _0x1d8681=(_0x17e286=this['_renderManagerService'][_0x132577(0x16a)](_0x3d3399))==null?void 0x0:_0x17e286[_0x132577(0x31b)],_0xab62ec=_0x1d8681==null?void 0x0:_0x1d8681[_0x132577(0x3a4)]();!_0x1d8681||!_0xab62ec||(this[_0x132577(0x34a)](_0xab62ec['createControl$']['subscribe'](()=>{const _0x5cca16=_0x132577;let _0x3a19e4=_0xab62ec[_0x5cca16(0x213)]();if(this[_0x5cca16(0x145)](),this[_0x5cca16(0x377)]||_0x3a19e4[_0x5cca16(0x296)]>0x1)return;let _0x4c1f0d=_0x3a19e4[_0x5cca16(0x29c)]()['next']()[_0x5cca16(0x17d)];if(!_0x4c1f0d)return;let _0x51d87a=this[_0x5cca16(0x1c9)][_0x5cca16(0x39d)](_0x4c1f0d['oKey']);if(!_0x51d87a||_0x51d87a[_0x5cca16(0x37b)]!==_0x4fb2bf[_0x5cca16(0x206)])return;let {unitId:_0x5584cc,subUnitId:_0x3ae9bc,drawingId:_0x488815,drawingType:_0x4a05b5}=_0x51d87a,_0x1411ed=this[_0x5cca16(0x314)](_0x5584cc,_0x3ae9bc,_0x488815);if(!_0x1411ed)return;let _0x14b1c8=this[_0x5cca16(0x1e9)][_0x5cca16(0x320)](_0x4c1f0d,{'componentKey':ya,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x5584cc,'subUnitId':_0x3ae9bc,'drawingId':_0x488815,'drawingType':_0x4a05b5,'shapeType':_0x1411ed['shapeType'],'shapeData':_0x1411ed[_0x5cca16(0x116)]}},_0x5584cc);this['_disposePopups']['push'](this['disposeWithMe'](_0x14b1c8)),this[_0x5cca16(0x1c9)][_0x5cca16(0x2a7)]()[_0x5cca16(0x3ce)](_0x52cb82=>_0x52cb82['unitId']===_0x5584cc&&_0x52cb82[_0x5cca16(0x1be)]===_0x3ae9bc&&_0x52cb82[_0x5cca16(0x146)]===_0x488815)||this[_0x5cca16(0x1c9)]['focusDrawing']([{'unitId':_0x5584cc,'subUnitId':_0x3ae9bc,'drawingId':_0x488815}]);})),this['disposeWithMe'](_0xab62ec[_0x132577(0x2b2)][_0x132577(0x144)](()=>{const _0x3233ec=_0x132577;this[_0x3233ec(0x145)](),this[_0x3233ec(0x3da)][_0x3233ec(0x13c)](_0x2b9968,!0x1),this[_0x3233ec(0x1c9)][_0x3233ec(0x30f)](null);})),this[_0x132577(0x34a)](_0xab62ec[_0x132577(0x2d7)][_0x132577(0x144)](()=>{const _0x143ede=_0x132577;this[_0x143ede(0x145)]();})),this[_0x132577(0x34a)](_0xab62ec[_0x132577(0x18f)][_0x132577(0x144)](()=>{const _0x3edb69=_0x132577;this[_0x3edb69(0x145)]();})));}[_0x130702(0x15e)](){const _0x1f78e1=_0x130702;this['disposeWithMe'](this[_0x1f78e1(0x22d)]['onCommandExecuted'](_0x59a0d6=>{const _0x3e3bf8=_0x1f78e1;if(_0x59a0d6['id']===V['id']){let {unitId:_0x28d2cc,subUnitId:_0x2fe6e7,drawingId:_0xec1a29}=_0x59a0d6[_0x3e3bf8(0x2e5)];this[_0x3e3bf8(0x3f9)]+=0x1,this[_0x3e3bf8(0x35b)]=this['_getShapeInfo'](_0x28d2cc,_0x2fe6e7,_0xec1a29),this[_0x3e3bf8(0x145)](),this[_0x3e3bf8(0x189)]();}if(_0x59a0d6['id']===ra['id']&&(this[_0x3e3bf8(0x35b)]=null,this[_0x3e3bf8(0x227)]()),_0x59a0d6['id']===_0x5982e6['id']){let {unitId:_0x106b54,shapeId:_0x193202}=_0x59a0d6[_0x3e3bf8(0x2e5)];if(this[_0x3e3bf8(0x35b)]&&this['_activeShapeInfo']['shapeId']===_0x193202){let _0x22d0c3=this[_0x3e3bf8(0x314)](_0x106b54,this[_0x3e3bf8(0x35b)][_0x3e3bf8(0x1be)],_0x193202);_0x22d0c3&&(this['_shapeEditPanelVersion']+=0x1,_0x22d0c3['version']=this[_0x3e3bf8(0x3f9)],this[_0x3e3bf8(0x35b)]=_0x22d0c3,this[_0x3e3bf8(0x377)]&&this[_0x3e3bf8(0x189)]());}}})),this[_0x1f78e1(0x34a)](this[_0x1f78e1(0x1c9)][_0x1f78e1(0x184)][_0x1f78e1(0x144)](_0x3db985=>{const _0x270a5b=_0x1f78e1;if(this[_0x270a5b(0x377)]===!0x1)return;if(_0x3db985[_0x270a5b(0x1c3)]===0x0){this[_0x270a5b(0x35b)]=null,this[_0x270a5b(0x227)]();return;}if(_0x3db985[_0x270a5b(0x1c3)]===0x1&&_0x3db985[0x0][_0x270a5b(0x37b)]===_0x4fb2bf[_0x270a5b(0x206)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x270a5b(0x35b)]=this[_0x270a5b(0x314)](_0x3db985[0x0][_0x270a5b(0x1e0)],_0x3db985[0x0][_0x270a5b(0x1be)],_0x3db985[0x0][_0x270a5b(0x146)]),this[_0x270a5b(0x35b)])){this['_openShapeEditPanel']();return;}let _0x60b361=_0x3db985['filter'](_0xff9d71=>_0xff9d71['drawingType']===_0x4fb2bf['DRAWING_SHAPE']);if(_0x3db985[_0x270a5b(0x1c3)]>0x1&&_0x60b361[_0x270a5b(0x1c3)]===_0x3db985[_0x270a5b(0x1c3)]){if(this[_0x270a5b(0x3f9)]+=0x1,this[_0x270a5b(0x35b)]=this[_0x270a5b(0x314)](_0x3db985[0x0][_0x270a5b(0x1e0)],_0x3db985[0x0]['subUnitId'],_0x3db985[0x0][_0x270a5b(0x146)]),this[_0x270a5b(0x35b)]){this[_0x270a5b(0x189)]();return;}}else{if(this[_0x270a5b(0x3f9)]+=0x1,this[_0x270a5b(0x35b)]=this[_0x270a5b(0x314)](_0x3db985[0x0]['unitId'],_0x3db985[0x0][_0x270a5b(0x1be)],_0x3db985[0x0]['drawingId']),this[_0x270a5b(0x35b)]){this[_0x270a5b(0x35b)][_0x270a5b(0x138)]=!0x0,this[_0x270a5b(0x189)]();return;}}this['_closeShapeEditPanel']();}));}[_0x130702(0x189)](){const _0x4a1dde=_0x130702;this[_0x4a1dde(0x35b)]&&(this['_sidebarDisposable']=this[_0x4a1dde(0x2b6)]['open']({'id':H,'header':{'title':this['_localeService']['t'](_0x4a1dde(0x38c))},'width':0x184,'children':{'label':H,...this['_activeShapeInfo']},'onClose':()=>{const _0x2e7857=_0x4a1dde;this['_drawingManagerService'][_0x2e7857(0x30f)](null),this[_0x2e7857(0x3da)]['setContextValue'](_0x2b9968,!0x1),this[_0x2e7857(0x373)]=null;}}),this[_0x4a1dde(0x377)]=!0x0);}[_0x130702(0x227)](){const _0x52e4fb=_0x130702;this[_0x52e4fb(0x377)]=!0x1,this[_0x52e4fb(0x2b6)][_0x52e4fb(0x219)](H),this[_0x52e4fb(0x373)]=null,this[_0x52e4fb(0x3da)]['setContextValue'](_0x2b9968,!0x1),this[_0x52e4fb(0x1c9)][_0x52e4fb(0x30f)](null);}};Y=W([U(0x0,_0xaea7bd),U(0x1,_0x33309c(_0x5f2949)),U(0x2,_0x565f6d),U(0x3,_0x33309c(_0x2118c4)),U(0x4,_0x33309c(_0x470e84)),U(0x5,_0x56458c),U(0x6,_0x5c72b9),U(0x7,_0x33309c(_0x23a71d)),U(0x8,_0x446451),U(0x9,_0x54b7a3),U(0xa,_0x33309c(J))],Y);var wa=_0x130702(0x30e),Ta=_0x130702(0x345);const Ea={};function Da(_0x43606b){const _0xae8946=_0x130702;var _0x5662a7,_0x545a57,_0x191ede,_0x4ecc2c;let _0x1e4698=(_0x5662a7=(_0x545a57=_0x43606b[_0xae8946(0x3c6)])==null||(_0x545a57=_0x545a57[_0xae8946(0x1bf)])==null?void 0x0:_0x545a57[_0xae8946(0x1c3)])==null?0x0:_0x5662a7,_0x44c4a0=(_0x191ede=_0x43606b['body'])==null?void 0x0:_0x191ede[_0xae8946(0x1e4)];if(_0x44c4a0!=null&&_0x44c4a0[_0xae8946(0x1c3)])for(let _0x2b938b of _0x44c4a0){var _0x237c79;_0x2b938b[_0xae8946(0x337)]=(_0x237c79=_0x2b938b[_0xae8946(0x337)])==null?_0x5b8915[_0xae8946(0x143)]:_0x237c79;}else _0x43606b[_0xae8946(0x3c6)]&&(_0x43606b['body']['sectionBreaks']=[{'startIndex':Math['max'](0x0,_0x1e4698-0x1),'gridType':_0x5b8915[_0xae8946(0x143)]}]);let _0x288c84=(_0x4ecc2c=_0x43606b[_0xae8946(0x3c6)])==null?void 0x0:_0x4ecc2c[_0xae8946(0x352)];if(_0x288c84)for(let _0xa0999b of _0x288c84){var _0x362d6a,_0x160f31,_0x24ccf2,_0x389b1c,_0x1079b7,_0x2cb18b,_0x5971d6,_0x1160e4;_0xa0999b[_0xae8946(0x1f9)]={..._0xa0999b[_0xae8946(0x1f9)],'lineSpacing':(_0x362d6a=(_0x160f31=_0xa0999b[_0xae8946(0x1f9)])==null?void 0x0:_0x160f31[_0xae8946(0xf8)])==null?0x1:_0x362d6a,'snapToGrid':(_0x24ccf2=(_0x389b1c=_0xa0999b[_0xae8946(0x1f9)])==null?void 0x0:_0x389b1c[_0xae8946(0x1ad)])==null?_0x4b9697[_0xae8946(0x2f7)]:_0x24ccf2,'spaceAbove':(_0x1079b7=(_0x2cb18b=_0xa0999b[_0xae8946(0x1f9)])==null?void 0x0:_0x2cb18b[_0xae8946(0x25f)])==null?{'v':0x0}:_0x1079b7,'spaceBelow':(_0x5971d6=(_0x1160e4=_0xa0999b[_0xae8946(0x1f9)])==null?void 0x0:_0x1160e4[_0xae8946(0x3b5)])==null?{'v':0x0}:_0x5971d6};}}function Oa(_0x29d2ec){const _0x1be03d=_0x130702;let _0x2fb169=_0x29d2ec[_0x1be03d(0x3c6)],_0x54665e=_0x2fb169==null?void 0x0:_0x2fb169[_0x1be03d(0x352)],_0x2ef67f=_0x2fb169==null?void 0x0:_0x2fb169['dataStream'];if(!_0x2fb169||!(_0x54665e!=null&&_0x54665e['length'])||!_0x2ef67f)return;let _0x2b9f72=[];for(let _0x114522=0x0;_0x114522<_0x2ef67f['length'];_0x114522++)_0x2ef67f[_0x114522]==='\x0d'&&_0x2b9f72[_0x1be03d(0x3f5)](_0x114522);_0x2b9f72[_0x1be03d(0x1c3)]===_0x54665e[_0x1be03d(0x1c3)]&&(_0x2fb169[_0x1be03d(0x352)]=_0x54665e['map']((_0x139580,_0x5e0290)=>({..._0x139580,'startIndex':_0x2b9f72[_0x5e0290]})));}function ka(_0x61b817,_0x1ea465){const _0x310860=_0x130702;var _0x11ca45,_0x3f8ef4,_0x12f73a;let {isHorizontal:_0x2cc754,textRect:_0x58dff9,verticalAlign:_0x336948}=_0x1ea465,_0x21d438=_0x2cc754?_0x58dff9[_0x310860(0x368)]:_0x58dff9[_0x310860(0x170)],_0x242849=_0x314dc0[_0x310860(0x15d)](_0x61b817),_0xc187f6=(_0x11ca45=_0x242849[_0x310860(0x240)])==null?{}:_0x11ca45,_0x198c66={..._0xc187f6['renderConfig'],'centerAngle':_0x2cc754?0x0:_0x49c7e8,'vertexAngle':_0x2cc754?0x0:_0x49c7e8,'wrapStrategy':_0x474da5[_0x310860(0x209)],'zeroWidthParagraphBreak':(_0x3f8ef4=(_0x12f73a=_0xc187f6[_0x310860(0x2c0)])==null?void 0x0:_0x12f73a[_0x310860(0x289)])==null?_0x4b9697[_0x310860(0x268)]:_0x3f8ef4};if(_0x336948!==void 0x0&&(_0x198c66['verticalAlign']=_0x336948),_0x1ea465[_0x310860(0x30b)]!==void 0x0){var _0x4a01ab;_0x198c66[_0x310860(0x30b)]=_0x1ea465[_0x310860(0x30b)];let _0x532215=(_0x4a01ab=_0x242849[_0x310860(0x3c6)])==null?void 0x0:_0x4a01ab[_0x310860(0x352)];if(_0x532215){for(let _0x35a255 of _0x532215)_0x35a255[_0x310860(0x1f9)]||(_0x35a255[_0x310860(0x1f9)]={}),_0x35a255[_0x310860(0x1f9)][_0x310860(0x30b)]=_0x1ea465['horizontalAlign'];}}return _0x242849[_0x310860(0x240)]={..._0xc187f6,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x21d438,'height':0x1/0x0},'renderConfig':_0x198c66},Oa(_0x242849),Da(_0x242849),_0x242849;}var X=class extends _0x2607a3{constructor(_0x52d12d,_0xb08f){const _0x35b224=_0x130702;super(_0x52d12d,_0xb08f),q(this,_0x35b224(0x1b7),void 0x0),q(this,_0x35b224(0x318),!0x0),q(this,'_drawingType',_0x4fb2bf[_0x35b224(0x206)]),q(this,'isDrawingObject',!0x0),this[_0x35b224(0x1b7)]={..._0xb08f},this['_init']();}['_init'](){this['onTransformChange$']['subscribeEvent'](_0xc381b4=>{const _0x5ce832=_0x10a5;this[_0x5ce832(0x133)](_0xc381b4);});}[_0x130702(0x321)](_0x323a88){const _0x1a4a36=_0x130702;this[_0x1a4a36(0x1b7)]['prstGeom']=_0x323a88;}[_0x130702(0x120)](_0xf078ca){const _0xb3cec8=_0x130702;this[_0xb3cec8(0x1b7)][_0xb3cec8(0x16b)]=_0xf078ca,this[_0xb3cec8(0xc2)](!0x0);}get[_0x130702(0x1e0)](){const _0x1960ba=_0x130702;return this[_0x1960ba(0x1b7)][_0x1960ba(0x1e0)];}get['subUnitId'](){const _0x390e5f=_0x130702;return this[_0x390e5f(0x1b7)][_0x390e5f(0x1be)];}[_0x130702(0x133)](_0x3c5c1d){const _0xa21b8b=_0x130702;if(this[_0xa21b8b(0x1b7)][_0xa21b8b(0x1c4)]==null||!this[_0xa21b8b(0x318)])return;let {width:_0x1a0035,height:_0x29849a}=this,{width:_0xc43188=0x0,height:_0x13d073=0x0}=_0x3c5c1d['preValue'],{left:_0x46a90e=0x0,top:_0x3de93f=0x0,right:_0x35883a=0x0,bottom:_0x235962=0x0}=this[_0xa21b8b(0x1b7)][_0xa21b8b(0x1c4)],_0x33879e=_0x46a90e,_0x25da34=_0x3de93f,_0x14d2ef=_0x35883a,_0x54b0c9=_0x235962,_0x4d5453=!0x1;if(_0xc43188!==0x0&&_0xc43188!==_0x1a0035){let _0x247fea=_0x46a90e/_0xc43188,_0x5abd08=_0x35883a/_0xc43188;_0x33879e=_0x1a0035*_0x247fea,_0x14d2ef=_0x1a0035*_0x5abd08,_0x4d5453=!0x0;}if(_0x13d073!==0x0&&_0x13d073!==_0x29849a){let _0x2f37dd=_0x3de93f/_0x13d073,_0x55839a=_0x235962/_0x13d073;_0x25da34=_0x29849a*_0x2f37dd,_0x54b0c9=_0x29849a*_0x55839a,_0x4d5453=!0x0;}_0x4d5453&&this['setSrcRect']({'left':_0x33879e,'top':_0x25da34,'right':_0x14d2ef,'bottom':_0x54b0c9});}[_0x130702(0x3fd)](_0x2e4a61){const _0x55d556=_0x130702;this[_0x55d556(0x1b7)][_0x55d556(0x1c4)]=_0x2e4a61,this[_0x55d556(0xc2)](!0x0);}[_0x130702(0x33d)](_0x467bcb){const _0x446cd8=_0x130702;this[_0x446cd8(0x1b7)][_0x446cd8(0x271)]=_0x467bcb,this['makeDirty'](!0x0);}set['transform'](_0x3c28a5){const _0xc683ef=_0x130702;this[_0xc683ef(0x251)]=_0x3c28a5;}get['transform'](){const _0x10cca0=_0x130702;this[_0x10cca0(0x251)]||this[_0x10cca0(0x31d)]();let _0x36d867=this[_0x10cca0(0x251)][_0x10cca0(0x1d5)]();return this[_0x10cca0(0x31a)](_0x36d867);}get['shapeModel'](){const _0x1dcef6=_0x130702;return this[_0x1dcef6(0x1b7)]['shapeModel'];}get['shapeId'](){const _0x5a49a5=_0x130702;return this[_0x5a49a5(0x1b7)]['shapeId'];}get['classType'](){const _0x2b2b11=_0x130702;return _0x439b82[_0x2b2b11(0x2a1)];}[_0x130702(0x276)](_0xd5d4ad,_0x4c9a0e,_0x2f7e53,_0x12d7e1){const _0x4937fb=_0x130702;let _0x128a6c=this[_0x4937fb(0x1b7)]['shapeModel'];if(!_0x128a6c||!_0x4c9a0e)return;let _0x1af39c=_0x2f7e53==null?this['width']:_0x2f7e53,_0x2a5db7=_0x12d7e1==null?this[_0x4937fb(0x170)]:_0x12d7e1,_0x3e6158={'shapeType':_0x128a6c[_0x4937fb(0x313)](),'width':_0x1af39c,'height':_0x2a5db7},_0x54a0d0={'renderMode':_0x1210eb[_0x4937fb(0x217)],'oKey':this[_0x4937fb(0x24f)],'image':this['_props'][_0x4937fb(0x271)],'angle':this[_0x4937fb(0x382)]};_0x128a6c[_0x4937fb(0xf3)](_0x3e6158),_0xd5d4ad['save']();let _0x56e67d={'top':0x0,'left':0x0,'width':_0x1af39c,'height':_0x2a5db7};_0x128a6c[_0x4937fb(0x2a2)](_0xd5d4ad,_0x56e67d,_0x54a0d0),_0xd5d4ad[_0x4937fb(0x34e)]();let _0x4d10c8=_0x128a6c[_0x4937fb(0xb6)](),_0x43d78f=_0x128a6c[_0x4937fb(0x150)](_0x56e67d),_0xaea462=_0x128a6c['isLineShape']();if(_0x4d10c8&&_0x43d78f&&!_0xaea462){_0xd5d4ad[_0x4937fb(0x38a)](),this['getState']()['flipX']&&_0xd5d4ad[_0x4937fb(0x3cf)](-0x1,0x1);let _0x56f2eb=_0x1af39c/0x2,_0x4a96d9=_0x2a5db7/0x2;_0xd5d4ad['translate'](-_0x56f2eb,-_0x4a96d9),_0xd5d4ad[_0x4937fb(0x19e)](),this[_0x4937fb(0x112)](_0xd5d4ad,_0x4d10c8,_0x43d78f),_0xd5d4ad[_0x4937fb(0x34e)]();}}[_0x130702(0x2ff)](_0x42a01b){}[_0x130702(0x112)](_0x40867d,_0x49817e,_0x41b67c){const _0x2f5f18=_0x130702;this[_0x2f5f18(0x1b7)]['isEditing']||(_0x2f5f18(0x26c)in _0x49817e&&_0x49817e[_0x2f5f18(0x26c)]===!0x1?this['_drawSimpleText'](_0x40867d,_0x49817e,_0x41b67c):this[_0x2f5f18(0x355)](_0x40867d,_0x49817e,_0x41b67c));}['_drawSimpleText'](_0x55dffa,_0x1cdc7,_0x14333b){}[_0x130702(0x355)](_0x1f1a42,_0x278f45,_0x4a9725){const _0x4ef518=_0x130702;var _0x19712c,_0x487c35;let _0x325a44=this[_0x4ef518(0x1b7)][_0x4ef518(0x300)];if(!_0x278f45['dataModel']||!_0x325a44){_0x325a44||console[_0x4ef518(0x2d9)](_0x4ef518(0x401));return;}let _0x512f4c=_0x278f45[_0x4ef518(0xee)],_0xbd19cb=_0x512f4c[_0x4ef518(0x2fc)],_0x5a9dd1=(_0x19712c=_0x512f4c['va'])==null?_0x19072b[_0x4ef518(0x286)]:_0x19712c,_0x3beb91=(_0x487c35=_0x512f4c['ha'])==null?_0x4264f8[_0x4ef518(0x343)]:_0x487c35;if(!_0xbd19cb)return;let _0x320d6d=_0x278f45[_0x4ef518(0x175)],_0x5b7116=new _0x437d59(ka(_0xbd19cb,{'isHorizontal':_0x320d6d!==!0x1,'textRect':_0x4a9725,'verticalAlign':_0x5a9dd1,'horizontalAlign':_0x3beb91})),_0x1f022f=new _0x3b87fd(_0x5b7116),_0x45bec2=_0x521df0[_0x4ef518(0x198)](_0x1f022f,_0x325a44);_0x45bec2[_0x4ef518(0x225)]();let _0x56f1bf=new _0x5a0da0(_0x4ef518(0x1eb)+this[_0x4ef518(0x24f)],_0x45bec2,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x56f1bf[_0x4ef518(0x30d)](_0x4a9725[_0x4ef518(0x368)],_0x4a9725[_0x4ef518(0x170)]),_0x1f1a42[_0x4ef518(0x38a)](),_0x1f1a42['translateWithPrecision'](_0x4a9725['left'],_0x4a9725[_0x4ef518(0x237)]),_0x1f1a42[_0x4ef518(0x19e)](),_0x1f1a42[_0x4ef518(0x10c)](0x0,0x0,_0x4a9725[_0x4ef518(0x368)],_0x4a9725[_0x4ef518(0x170)]),_0x1f1a42[_0x4ef518(0x3d6)](),_0x56f1bf[_0x4ef518(0x21d)](_0x1f1a42),_0x1f1a42[_0x4ef518(0x34e)](),_0x56f1bf['dispose'](),_0x45bec2[_0x4ef518(0x349)](),_0x1f022f[_0x4ef518(0x349)](),_0x5b7116[_0x4ef518(0x349)]();}[_0x130702(0x2a2)](_0x47ec2a,_0x4ca898,_0x150dcd=!0x1){const _0x400a4e=_0x130702;if(!this[_0x400a4e(0xce)])return this[_0x400a4e(0xc2)](!0x1),this;let {width:_0x415e51,height:_0x414358,left:_0x4a75fb,top:_0x7306d9}=this,_0x54cacc=this[_0x400a4e(0x21f)]();if(_0x415e51=_0x54cacc['width'],_0x414358=_0x54cacc[_0x400a4e(0x170)],_0x4a75fb=_0x54cacc['left'],_0x7306d9=_0x54cacc[_0x400a4e(0x237)],this[_0x400a4e(0x13d)](_0x4ca898)){let {top:_0x2ff241,left:_0x4ab7dc,bottom:_0x3081b4,right:_0x41360d}=_0x4ca898[_0x400a4e(0x258)];if(_0x415e51+this[_0x400a4e(0x2c6)]+_0x4a75fb<_0x4ab7dc||_0x41360d<_0x4a75fb||_0x414358+this[_0x400a4e(0x2c6)]+_0x7306d9<_0x2ff241||_0x3081b4<_0x7306d9)return this;}let _0x1b549c=_0x4a75fb+_0x415e51/0x2,_0x5555f4=_0x7306d9+_0x414358/0x2,_0x5979d8=this[_0x400a4e(0xe8)][_0x400a4e(0x3d2)]();if(this[_0x400a4e(0x1b7)][_0x400a4e(0x16b)]){let _0xe20a0f=this[_0x400a4e(0x3d4)](),_0x2689e2=new _0x1ecdbe();_0x2689e2[_0x400a4e(0xc4)]({..._0xe20a0f}),_0x5979d8=_0x2689e2[_0x400a4e(0x3d2)]();}return _0x47ec2a['save'](),this[_0x400a4e(0x1b7)][_0x400a4e(0x255)][_0x400a4e(0x182)]===!0x0||_0x47ec2a[_0x400a4e(0xe8)](_0x5979d8[0x0],_0x5979d8[0x1],_0x5979d8[0x2],_0x5979d8[0x3],_0x1b549c,_0x5555f4),this[_0x400a4e(0x276)](_0x47ec2a,_0x4ca898,_0x415e51,_0x414358),_0x47ec2a['restore'](),this[_0x400a4e(0xc2)](!0x1),this;}['getInverseCoord'](_0x26eec3){const _0x23a6ca=_0x130702;let {left:_0x27e756,top:_0x506e0f,width:_0x2cba34,height:_0x4596a7}=this[_0x23a6ca(0x21f)](),_0x1dacac=this[_0x23a6ca(0xe8)][_0x23a6ca(0x3d2)](),_0xe6fbbf=_0x27e756+_0x2cba34/0x2,_0x2918c6=_0x506e0f+_0x4596a7/0x2,_0x387983=new _0x1ecdbe([_0x1dacac[0x0],_0x1dacac[0x1],_0x1dacac[0x2],_0x1dacac[0x3],_0xe6fbbf,_0x2918c6]),_0x21845c=this[_0x23a6ca(0x19c)]();return(this['isInGroup']&&(_0x21845c==null?void 0x0:_0x21845c[_0x23a6ca(0x26a)])===_0x439b82[_0x23a6ca(0x260)]?_0x21845c[_0x23a6ca(0x253)][_0x23a6ca(0xf5)](_0x387983):_0x387983)[_0x23a6ca(0x2fd)]()[_0x23a6ca(0x2b3)](_0x26eec3);}[_0x130702(0xb7)](_0xa73447){const _0x196bf7=_0x130702;let {left:_0x3b2935,top:_0x2ed7d8,width:_0x34d5f5,height:_0x2a9b06}=this[_0x196bf7(0x21f)](),_0x241b41=_0x3b2935+_0x34d5f5/0x2,_0x353373=_0x2ed7d8+_0x2a9b06/0x2,_0x4b7076=this[_0x196bf7(0xe8)][_0x196bf7(0x3d2)](),_0x468639=new _0x1ecdbe([_0x4b7076[0x0],_0x4b7076[0x1],_0x4b7076[0x2],_0x4b7076[0x3],_0x241b41,_0x353373]),_0x75af15=this[_0x196bf7(0x19c)](),_0x1e5c25=(this['isInGroup']&&(_0x75af15==null?void 0x0:_0x75af15[_0x196bf7(0x26a)])===_0x439b82['GROUP']?_0x75af15[_0x196bf7(0x253)][_0x196bf7(0xf5)](_0x468639):_0x468639)['invert']()[_0x196bf7(0x2b3)](_0xa73447),_0x45b31b=_0x34d5f5/0x2,_0x318f9b=_0x2a9b06/0x2,_0xe2bcec=this[_0x196bf7(0x1b7)][_0x196bf7(0x255)];return _0xe2bcec&&_0xe2bcec['isLineShape']()?_0xe2bcec['isHitLine'](_0x1e5c25['x'],_0x1e5c25['y'],_0x34d5f5,_0x2a9b06):_0x1e5c25['x']>=-_0x45b31b-this[_0x196bf7(0x2c6)]/0x2&&_0x1e5c25['x']<=_0x45b31b+this[_0x196bf7(0x2c6)]/0x2&&_0x1e5c25['y']>=-_0x318f9b-this[_0x196bf7(0x2c6)]/0x2&&_0x1e5c25['y']<=_0x318f9b+this[_0x196bf7(0x2c6)]/0x2;}['dispose'](){const _0x3ffc13=_0x130702;this['_props'][_0x3ffc13(0x255)]=null,super[_0x3ffc13(0x349)]();}};function Aa(_0x1082aa){const _0x361826=_0x130702;return _0x1082aa['behindText']===!0x0||_0x1082aa[_0x361826(0x1bb)]===_0x4b9697['TRUE']||_0x1082aa[_0x361826(0x333)]===_0x1c131b[_0x361826(0x1db)]&&_0x1082aa[_0x361826(0x20a)]===_0x4b9697[_0x361826(0x268)]?_0x149c8b-0x1:_0x3ebd69;}let Z=class extends _0x3fcc5c{constructor(_0x5ae251,_0x570b24,_0xd4f17b,_0x17a918,_0x535547,_0x1e6b77){const _0x43b1c0=_0x130702;super(),this['_drawingManagerService']=_0x5ae251,this[_0x43b1c0(0x1b0)]=_0x570b24,this[_0x43b1c0(0x326)]=_0xd4f17b,this[_0x43b1c0(0x398)]=_0x17a918,this[_0x43b1c0(0x3d8)]=_0x535547,this['_shapeTextEditingService']=_0x1e6b77;}[_0x130702(0x108)](_0x294c1d,_0x100a3f){const _0x274922=_0x130702;let {transform:_0x5bd7ba,drawingType:_0x227e01,srcRect:_0x50081d,prstGeom:_0x2191d5,groupId:_0x2268f9,unitId:_0x28f8cd,subUnitId:_0x28d99e,drawingId:_0x374235,isMultiTransform:_0x5bbed0,transforms:_0x24f2a8,hidden:_0x26ed96}=_0x294c1d;if(_0x227e01!==_0x4fb2bf['DRAWING_SHAPE']||!this[_0x274922(0x1c9)][_0x274922(0xe0)]()||_0x5bd7ba==null)return;let _0x50ccd3=_0x5bbed0&&_0x24f2a8?_0x24f2a8:[_0x5bd7ba],_0x4a374f=[];for(let _0x3bfe91 of _0x50ccd3){let {left:_0x5d10b4,top:_0x181efd,width:_0x4c0c4c,height:_0x521c39,angle:_0x4894ba,flipX:_0x3d591e,flipY:_0x2fe7af,skewX:_0x26e1a8,skewY:_0x1ecfa6}=_0x3bfe91,_0x462c3f=_0x50ccd3[_0x274922(0x21c)](_0x3bfe91),_0x4371ab=_0x1d7f86({'unitId':_0x28f8cd,'subUnitId':_0x28d99e,'drawingId':_0x374235},_0x5bbed0?_0x462c3f:void 0x0),_0x2fd332=_0x100a3f['getObjectIncludeInGroup'](_0x4371ab);if(_0x2fd332!=null){_0x2fd332[_0x274922(0x3a1)]({'left':_0x5d10b4,'top':_0x181efd,'width':_0x4c0c4c,'height':_0x521c39,'angle':_0x4894ba,'flipX':_0x3d591e,'flipY':_0x2fe7af,'skewX':_0x26e1a8,'skewY':_0x1ecfa6});continue;}let _0x43bd02=this['_drawingManagerService']['getDrawingOrder'](_0x28f8cd,_0x28d99e),_0x46c456=_0x43bd02[_0x274922(0x21c)](_0x374235);if(_0x100a3f[_0x274922(0xc0)](_0x4371ab)||!this[_0x274922(0x1c9)][_0x274922(0xe0)]())continue;let _0x2bd58b=this['_docsShapeService'][_0x274922(0x1bc)](_0x28f8cd,_0x28d99e,_0x374235);if(!_0x2bd58b)continue;let _0x2ff4cb=new X(_0x4371ab,{..._0x1757f3(_0x2bd58b[_0x274922(0x313)]())?{..._0x3bfe91,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x3bfe91},'zIndex':_0x46c456===-0x1?_0x43bd02[_0x274922(0x1c3)]-0x1:_0x46c456,'shapeModel':_0x2bd58b,'localeService':this[_0x274922(0x326)],'shapeId':_0x374235,'unitId':_0x28f8cd,'subUnitId':_0x28d99e,'visible':_0x26ed96!==!0x0});this['disposeWithMe'](_0x5d41e1(_0x2ff4cb[_0x274922(0xbd)]['subscribeEvent']((_0x1fd811,_0x3fff5c)=>{const _0x2a2b48=_0x274922;_0x2bd58b['isLineShape']()||(this[_0x2a2b48(0x124)][_0x2a2b48(0x120)]({'visible':!0x0,'unitId':_0x28f8cd,'subUnitId':_0x28d99e,'shapeId':_0x374235,'shapeKey':_0x2ff4cb[_0x2a2b48(0x24f)]}),_0x3fff5c[_0x2a2b48(0x3ac)]());}))),_0x100a3f[_0x274922(0x1b3)](_0x2ff4cb,Aa(_0x294c1d)),this[_0x274922(0x1c9)][_0x274922(0x249)]()&&_0x100a3f[_0x274922(0x109)](_0x2ff4cb),_0x2268f9&&_0x40ac00({'drawingId':_0x2268f9,'unitId':_0x28f8cd,'subUnitId':_0x28d99e},_0x2ff4cb,_0x100a3f,this[_0x274922(0x1c9)]),_0x2191d5!=null&&_0x2ff4cb[_0x274922(0x321)](_0x2191d5),_0x50081d!=null&&_0x2ff4cb[_0x274922(0x3fd)](_0x50081d),this['_loadShapePictureFill'](_0x2ff4cb,_0x2bd58b['getShapeData']()),_0x4a374f[_0x274922(0x3f5)](_0x2ff4cb);}return _0x4a374f;}[_0x130702(0x2ad)](_0x31abc2){const _0x5b7f9b=_0x130702;let _0x33e2f7=_0x31abc2[_0x5b7f9b(0x255)][_0x5b7f9b(0x12c)](),_0x532c34=_0x33e2f7[_0x5b7f9b(0x113)];if(!_0x532c34||_0x532c34['fillType']!==_0x287024[_0x5b7f9b(0x21e)]||!_0x532c34[_0x5b7f9b(0x13b)]){_0x31abc2[_0x5b7f9b(0x33d)](void 0x0);return;}this[_0x5b7f9b(0x304)](_0x31abc2,_0x33e2f7);}[_0x130702(0x304)](_0x1629cf,_0x23e0c7){const _0x341c21=_0x130702;var _0x4c9242;let _0x1b928e=_0x23e0c7[_0x341c21(0x113)];if(!_0x1b928e||_0x1b928e[_0x341c21(0x1f6)]!==_0x287024[_0x341c21(0x21e)]||!_0x1b928e[_0x341c21(0x13b)])return;let _0x2bc3eb=_0x1b928e[_0x341c21(0x13b)],_0x5a0625=(_0x4c9242=_0x1b928e['fillImageSourceType'])==null?_0x27109d[_0x341c21(0x3e0)]:_0x4c9242,_0x11a0a5=this[_0x341c21(0x398)]['getImageSourceCache'](_0x2bc3eb,_0x5a0625);if(_0x11a0a5){_0x1629cf[_0x341c21(0x33d)](_0x11a0a5);return;}this[_0x341c21(0x238)](_0x1629cf,_0x2bc3eb,_0x5a0625);}async[_0x130702(0x238)](_0x277987,_0x5caa8a,_0x16c178){const _0x2f8177=_0x130702;let _0x3c5d4e;try{if(_0x16c178===_0x27109d[_0x2f8177(0x1ef)])_0x3c5d4e=await this[_0x2f8177(0x398)][_0x2f8177(0xf4)](_0x5caa8a);else{if(_0x16c178===_0x27109d[_0x2f8177(0x3e0)])try{_0x3c5d4e=await this['_urlImageService']['getImage'](_0x5caa8a);}catch{_0x3c5d4e=_0x5caa8a;}else _0x3c5d4e=_0x5caa8a;}}catch(_0x2d1a8d){console[_0x2f8177(0x3ef)](_0x2f8177(0xd8),_0x2d1a8d);return;}let _0x565ca3=new window[(_0x2f8177(0x20d))]();_0x565ca3['onload']=()=>{const _0x2b241f=_0x2f8177;this[_0x2b241f(0x398)]['addImageSourceCache'](_0x5caa8a,_0x16c178,_0x565ca3),_0x277987['setFillImage'](_0x565ca3);},_0x565ca3[_0x2f8177(0xe4)]=()=>{const _0x11d968=_0x2f8177;console['error'](_0x11d968(0xfe),_0x5caa8a);},_0x565ca3['src']=_0x3c5d4e;}};Z=W([U(0x0,_0x5c72b9),U(0x1,_0x33309c(_0x2118c4)),U(0x2,_0x33309c(_0x470e84)),U(0x3,_0xf77436),U(0x4,_0x1dfb93),U(0x5,_0x33309c(J))],Z);let Q=class extends _0x3fcc5c{constructor(_0x2614f4,_0x208963,_0x3ca4b6,_0x49705d){const _0x37852c=_0x130702;super(),this['_commandService']=_0x2614f4,this[_0x37852c(0x19a)]=_0x208963,this['_drawingManagerService']=_0x3ca4b6,this['_docDrawingShapeRenderController']=_0x49705d,this[_0x37852c(0x3db)]();}[_0x130702(0x3db)](){const _0x558cd8=_0x130702;this[_0x558cd8(0x34a)](this['_drawingManagerService'][_0x558cd8(0xba)][_0x558cd8(0x144)](_0x15dffc=>this[_0x558cd8(0x39b)](_0x15dffc))),this[_0x558cd8(0x34a)](this['_drawingManagerService'][_0x558cd8(0x119)][_0x558cd8(0x144)](_0x22b1df=>{const _0x5e9773=_0x558cd8;_0x22b1df['forEach'](_0x516cb9=>this[_0x5e9773(0x2b5)](_0x516cb9));})),this[_0x558cd8(0x34a)](this['_commandService'][_0x558cd8(0x222)](_0x2b4bbf=>{if(_0x2b4bbf['id']!==_0x5982e6['id'])return;let {unitId:_0x3da9c8,shapeId:_0x483ac9}=_0x2b4bbf['params'];this['_refreshShapeData']({'unitId':_0x3da9c8,'subUnitId':_0x3da9c8,'drawingId':_0x483ac9});}));}[_0x130702(0x3ad)](_0x49ad14,_0x3404e7){const _0x3bfea8=_0x130702;let _0x36a12a=this[_0x3bfea8(0x3ab)](_0x49ad14[_0x3bfea8(0x1e0)]),_0x39299f=_0x1d7f86(_0x49ad14),_0x1cb161=_0x36a12a==null?void 0x0:_0x36a12a[_0x3bfea8(0x31b)][_0x3bfea8(0xc0)](_0x39299f);_0x1cb161==null||_0x1cb161[_0x3bfea8(0x33d)](_0x3404e7);}[_0x130702(0x39b)](_0x5c2c9d){_0x5c2c9d['forEach'](_0x51b606=>{const _0x165901=_0x10a5;var _0x1b2fec;let _0x142118=this[_0x165901(0x3ab)](_0x51b606[_0x165901(0x1e0)]);if(!_0x142118)return;let _0x4c5503=this[_0x165901(0x1c9)][_0x165901(0x204)](_0x51b606);(_0x4c5503==null?void 0x0:_0x4c5503[_0x165901(0x37b)])===_0x4fb2bf[_0x165901(0x206)]&&(_0x1757f3((_0x1b2fec=_0x4c5503[_0x165901(0x1b9)])==null?void 0x0:_0x1b2fec[_0x165901(0x195)])&&_0x4c5503[_0x165901(0xe8)]&&(_0x4c5503[_0x165901(0xe8)]={..._0x4c5503[_0x165901(0xe8)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x165901(0x1c9)][_0x165901(0x1ed)]([_0x4c5503]),this[_0x165901(0x3bc)][_0x165901(0x108)](_0x4c5503,_0x142118['scene']));});}[_0x130702(0x2b5)](_0x53095e){const _0x2302da=_0x130702;let _0xfba3c7=this[_0x2302da(0x1c9)][_0x2302da(0x204)](_0x53095e);if((_0xfba3c7==null?void 0x0:_0xfba3c7['drawingType'])!==_0x4fb2bf['DRAWING_SHAPE'])return;let _0x538948=this['_getSceneByUnitId'](_0x53095e[_0x2302da(0x1e0)]);if(!_0x538948||_0xfba3c7[_0x2302da(0xe8)]==null)return;let _0x4f0a64=_0x1d7f86(_0x53095e),_0x5672eb=_0x538948[_0x2302da(0x31b)][_0x2302da(0xc0)](_0x4f0a64);_0x5672eb&&(_0x5672eb['setSrcRect'](_0xfba3c7['srcRect']),_0x5672eb['setPrstGeom'](_0xfba3c7[_0x2302da(0xef)]),_0x5672eb[_0x2302da(0xc2)](!0x0));}['_refreshShapeData'](_0x346b19){const _0x39996f=_0x130702;let _0x28df9c=this[_0x39996f(0x3ab)](_0x346b19['unitId']);if(!_0x28df9c)return;let _0x225c22=_0x1d7f86(_0x346b19),_0x5585b6=_0x28df9c[_0x39996f(0x31b)][_0x39996f(0xc0)](_0x225c22);_0x5585b6&&(this[_0x39996f(0x3bc)][_0x39996f(0x2ad)](_0x5585b6),_0x5585b6['makeDirty'](!0x0));}[_0x130702(0x3ab)](_0x21a00e){const _0x48874e=_0x130702;if(_0x21a00e==null)return null;let _0x2f1631=this[_0x48874e(0x19a)][_0x48874e(0x16a)](_0x21a00e),_0x22d39c=_0x2f1631==null?void 0x0:_0x2f1631['scene'];return _0x22d39c==null?null:{'scene':_0x22d39c};}};Q=W([U(0x0,_0x56458c),U(0x1,_0x446451),U(0x2,_0x5c72b9),U(0x3,_0x33309c(Z))],Q);function ja(){const _0x19e665=_0x130702;let _0x4a8ad0=_0x3ffba1(_0x5c72b9),[_0x442749,_0x5d6311]=_0x510af1(_0x4a8ad0[_0x19e665(0x2a7)]());return _0x64dd7b(()=>{const _0x303720=_0x19e665;let _0x14b601=_0x4a8ad0['focus$'][_0x303720(0x144)](_0x2c6866=>{_0x5d6311(_0x2c6866);});return()=>{const _0x32d325=_0x303720;_0x14b601[_0x32d325(0x3cd)]();};},[]),_0x442749[_0x19e665(0x1c3)]===0x0?null:_0x429252(_0x19e665(0x3e4),{'children':_0x5376f4('div',{'className':_0x19e665(0x154),'children':[_0x429252(_0x1868a1,{'drawings':_0x442749,'hasCropper':!0x1}),_0x429252(_0x43e3a5,{'drawings':_0x442749}),_0x429252(_0x51237b,{'drawings':_0x442749})]})});}function Ma(_0x1b2ddb){let {unitId:_0x11f938,subUnitId:_0x28173d,shapeId:_0x5dda5b}=_0x1b2ddb,_0x44c665=_0x3ffba1(_0x56458c),_0x142966=_0x3ffba1(Q);return _0x429252(_0x14ea07,{..._0x1b2ddb,'positionEditor':_0x429252(ja,{}),'onUpdateShapeData':(_0x3701f8,_0x2c9ce9)=>{_a(_0x44c665,_0x11f938,_0x28173d,_0x5dda5b,_0x3701f8,_0x2c9ce9);},'onUpdateLineShapeData':(_0x518f24,_0x466045)=>{va(_0x44c665,_0x11f938,_0x28173d,_0x5dda5b,_0x518f24,_0x466045);},'onUpdateShapeFillImage':_0x3ead3d=>{const _0x4f94e9=_0x10a5;_0x142966[_0x4f94e9(0x3ad)]({'unitId':_0x11f938,'subUnitId':_0x28173d,'drawingId':_0x5dda5b},_0x3ead3d);}});}const Na=_0x220ba1(()=>{const _0xee1253=_0x130702;let _0x2dc126=_0x3ffba1(J),_0x4dfdb5=_0x3ffba1(_0x2118c4),_0x5e48c7=_0x3ffba1(_0x5c72b9),_0x51f2a5=_0x3ffba1(_0x56458c);return _0x429252(_0x22e3bd,{'adapter':_0x4f8589(()=>({'getShapeModel':(_0x2dc64d,_0x4e4320,_0x2ada1e)=>_0x4dfdb5['getShapeModel'](_0x2dc64d,_0x4e4320,_0x2ada1e),'getDrawingTransform':(_0x38a80c,_0x5d5a02,_0xcb6c3c)=>{const _0x165368=_0x10a5;let _0x52d085=_0x5e48c7[_0x165368(0x204)]({'unitId':_0x38a80c,'subUnitId':_0x5d5a02,'drawingId':_0xcb6c3c});return _0x52d085==null?void 0x0:_0x52d085[_0x165368(0xe8)];},'updateShapeText':({unitId:_0x23028f,shapeId:_0x122177,shapeText:_0xa98632,oldShapeText:_0x2d0692})=>{const _0x101057=_0x10a5;_0x51f2a5[_0x101057(0x192)](_0x47f49e['id'],{'unitId':_0x23028f,'shapeId':_0x122177,'shapeData':{'shapeText':_0xa98632},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x2d0692}}});}}),[_0x51f2a5,_0x4dfdb5,_0x5e48c7]),'editingService':_0x2dc126,'editorUnitId':ia,'positionOptions':_0x4f8589(()=>({'viewportKeys':{'main':_0x145fa5[_0xee1253(0x2fa)]}}),[])});});let Pa=class extends _0x3fcc5c{constructor(_0x29142e,_0x3f4fae){const _0x31e712=_0x130702;super(),this[_0x31e712(0x1fa)]=_0x29142e,this['_iconManager']=_0x3f4fae,this[_0x31e712(0x200)](),this[_0x31e712(0x3fa)]();}[_0x130702(0x200)](){const _0x3f0ec6=_0x130702;this[_0x3f0ec6(0x34a)](this[_0x3f0ec6(0x1ac)]['register']({'ShapeAccentBorderCallout1Icon':_0x3bd578,'ShapeAccentBorderCallout2Icon':_0x46e8a2,'ShapeAccentBorderCallout3Icon':_0x2c93a1,'ShapeAccentCallout1Icon':_0x1b8738,'ShapeAccentCallout2Icon':_0x41da72,'ShapeAccentCallout3Icon':_0x553e54,'ShapeActionButtonBackPreviousIcon':_0x33d74e,'ShapeActionButtonBeginningIcon':_0x5c053a,'ShapeActionButtonBlankIcon':_0x566c39,'ShapeActionButtonDocumentIcon':_0x45c79f,'ShapeActionButtonEndIcon':_0x1d40d1,'ShapeActionButtonForwardNextIcon':_0x62e239,'ShapeActionButtonHelpIcon':_0x5f2f95,'ShapeActionButtonHomeIcon':_0x5b4664,'ShapeActionButtonInformationIcon':_0x430718,'ShapeActionButtonMovieIcon':_0x423acb,'ShapeActionButtonReturnIcon':_0x2d8725,'ShapeActionButtonSoundIcon':_0x13e62f,'ShapeArcIcon':_0xf2017f,'ShapeBentArrowIcon':_0xd41b74,'ShapeBentConnector3Arrow1Icon':_0x11ab6d,'ShapeBentConnector3Arrow2Icon':_0x336889,'ShapeBentConnector3Icon':_0x4b503a,'ShapeBentUpArrowIcon':_0x680337,'ShapeBevelIcon':_0x25a8b4,'ShapeBlockArcIcon':_0x3c1cb5,'ShapeBorderCallout1Icon':_0x1fb181,'ShapeBorderCallout2Icon':_0x3882c8,'ShapeBorderCallout3Icon':_0x21b6f1,'ShapeBracePairIcon':_0x474dbd,'ShapeBracketPairIcon':_0x439b49,'ShapeCallout1Icon':_0x560f89,'ShapeCallout2Icon':_0x3b0c27,'ShapeCallout3Icon':_0x322f93,'ShapeCanIcon':_0x509114,'ShapeChartPlusIcon':_0x349863,'ShapeChartStarIcon':_0x52a524,'ShapeChartXIcon':_0x54d52c,'ShapeChevronIcon':_0x139e2a,'ShapeChordIcon':_0x2132d4,'ShapeCircularArrowIcon':_0x2aefd3,'ShapeCloudCalloutIcon':_0x46f501,'ShapeCloudIcon':_0x9b0878,'ShapeCornerIcon':_0x15256f,'ShapeCornerTabsIcon':_0x3b84fc,'ShapeCubeIcon':_0x1b4cc1,'ShapeCurvedConnector3Arrow1Icon':_0x49ab0a,'ShapeCurvedConnector3Arrow2Icon':_0x2f11a3,'ShapeCurvedConnector3Icon':_0xdcc992,'ShapeCurvedDownArrowIcon':_0x742753,'ShapeCurvedLeftArrowIcon':_0x41f4a9,'ShapeCurvedRightArrowIcon':_0x17c010,'ShapeCurvedUpArrowIcon':_0x2598eb,'ShapeDecagonIcon':_0x16a370,'ShapeDiagStripeIcon':_0xd0e78a,'ShapeDiamondIcon':_0xa3150e,'ShapeDodecagonIcon':_0x592ea2,'ShapeDonutIcon':_0x47dd32,'ShapeDoubleWaveIcon':_0x5e7ac2,'ShapeDownArrowCalloutIcon':_0x20ab4a,'ShapeDownArrowIcon':_0x4c8fd3,'ShapeEllipseIcon':_0x353f25,'ShapeEllipseRibbon2Icon':_0x23c1f5,'ShapeEllipseRibbonIcon':_0x941f05,'ShapeFlowChartAlternateProcessIcon':_0x3f69bf,'ShapeFlowChartCollateIcon':_0x448238,'ShapeFlowChartConnectorIcon':_0xc3767b,'ShapeFlowChartDecisionIcon':_0x55b6f9,'ShapeFlowChartDelayIcon':_0x270a2c,'ShapeFlowChartDisplayIcon':_0x2536f0,'ShapeFlowChartDocumentIcon':_0x1f1e50,'ShapeFlowChartExtractIcon':_0x362246,'ShapeFlowChartInputOutputIcon':_0xfada14,'ShapeFlowChartInternalStorageIcon':_0x5588e9,'ShapeFlowChartMagneticDiskIcon':_0x24da01,'ShapeFlowChartMagneticDrumIcon':_0x335cfb,'ShapeFlowChartMagneticTapeIcon':_0x3a1bef,'ShapeFlowChartManualInputIcon':_0x117589,'ShapeFlowChartManualOperationIcon':_0x327bad,'ShapeFlowChartMergeIcon':_0x248408,'ShapeFlowChartMultidocumentIcon':_0x507e38,'ShapeFlowChartOfflineStorageIcon':_0x276fd1,'ShapeFlowChartOffpageConnectorIcon':_0x292a2f,'ShapeFlowChartOnlineStorageIcon':_0x342818,'ShapeFlowChartOrIcon':_0x527473,'ShapeFlowChartPredefinedProcessIcon':_0x1a1711,'ShapeFlowChartPreparationIcon':_0x11b262,'ShapeFlowChartProcessIcon':_0x54f913,'ShapeFlowChartPunchedCardIcon':_0x32a2a3,'ShapeFlowChartPunchedTapeIcon':_0x16b999,'ShapeFlowChartSortIcon':_0x1cc378,'ShapeFlowChartSummingJunctionIcon':_0x3e8e22,'ShapeFlowChartTerminatorIcon':_0xabff00,'ShapeFolderCornerIcon':_0x41d0c0,'ShapeFrameIcon':_0xa58595,'ShapeFunnelIcon':_0x34b8c3,'ShapeGear6Icon':_0x56bbb0,'ShapeGear9Icon':_0x4b5133,'ShapeHalfFrameIcon':_0x404bbb,'ShapeHeartIcon':_0x1e2df3,'ShapeHeptagonIcon':_0x489f28,'ShapeHexagonIcon':_0x420660,'ShapeHomePlateIcon':_0x1da8fe,'ShapeHorizontalScrollIcon':_0x4134e3,'ShapeIrregularSeal1Icon':_0x57b6a4,'ShapeIrregularSeal2Icon':_0x2f6663,'ShapeLeftArrowCalloutIcon':_0x1fe9a6,'ShapeLeftArrowIcon':_0x5278ff,'ShapeLeftBraceIcon':_0x34d5d3,'ShapeLeftBracketIcon':_0x45de1f,'ShapeLeftCircularArrowIcon':_0x551875,'ShapeLeftRightArrowCalloutIcon':_0x444744,'ShapeLeftRightArrowIcon':_0x24c350,'ShapeLeftRightCircularArrowIcon':_0x1afc1c,'ShapeLeftRightRibbonIcon':_0x322e6a,'ShapeLeftRightUpArrowIcon':_0x59716e,'ShapeLeftUpArrowIcon':_0x1d17f8,'ShapeLightningBoltIcon':_0x2f7893,'ShapeLineIcon':_0x44b31b,'ShapeLineInvIcon':_0x2b9270,'ShapeMathDivideIcon':_0x3b0f96,'ShapeMathEqualIcon':_0x8929d6,'ShapeMathMinusIcon':_0x3980f2,'ShapeMathMultiplyIcon':_0x2b2daa,'ShapeMathNotEqualIcon':_0x4baa65,'ShapeMathPlusIcon':_0x33374c,'ShapeMoonIcon':_0x181d61,'ShapeNoSmokingIcon':_0x55fb8e,'ShapeNonIsoscelesTrapezoidIcon':_0x19e869,'ShapeNotchedRightArrowIcon':_0x3f3ba3,'ShapeOctagonIcon':_0x561daf,'ShapeParallelogramIcon':_0x5a2a0b,'ShapePentagonIcon':_0x243fa6,'ShapePieIcon':_0x436849,'ShapePieWedgeIcon':_0x4085c8,'ShapePlaqueIcon':_0x2c7338,'ShapePlaqueTabsIcon':_0x31f888,'ShapePlusIcon':_0x1dfa59,'ShapeQuadArrowCalloutIcon':_0x3d02ab,'ShapeQuadArrowIcon':_0x10a727,'ShapeRectIcon':_0xad7084,'ShapeRectTextboxHorizontalIcon':_0x1e8ef4,'ShapeRectTextboxVerticalIcon':_0x7c1a1d,'ShapeRibbon2Icon':_0x39ab76,'ShapeRibbonIcon':_0x32c30e,'ShapeRightArrowCalloutIcon':_0x4e9ade,'ShapeRightArrowIcon':_0x48f794,'ShapeRightBraceIcon':_0x3411fe,'ShapeRightBracketIcon':_0x37f61f,'ShapeRound1RectIcon':_0x1359b8,'ShapeRound2DiagRectIcon':_0x4384d9,'ShapeRound2SameRectIcon':_0xb942df,'ShapeRoundRectIcon':_0x83bf8a,'ShapeRtTriangleIcon':_0x8f215c,'ShapeSmileyFaceIcon':_0x2adb56,'ShapeSnip1RectIcon':_0x241932,'ShapeSnip2DiagRectIcon':_0x1d541e,'ShapeSnip2SameRectIcon':_0x4b7376,'ShapeSnipRoundRectIcon':_0x5c2a23,'ShapeSquareTabsIcon':_0x55e8c4,'ShapeStar10Icon':_0x1f7b6d,'ShapeStar12Icon':_0x5e5fd4,'ShapeStar16Icon':_0x512105,'ShapeStar24Icon':_0x229491,'ShapeStar32Icon':_0xbfcde8,'ShapeStar4Icon':_0x520549,'ShapeStar5Icon':_0x4f2575,'ShapeStar6Icon':_0x4ea69a,'ShapeStar7Icon':_0x1a9dd3,'ShapeStar8Icon':_0x117d1e,'ShapeStraightConnector1Icon':_0x3dc14e,'ShapeStraightConnector2Icon':_0x1e5c6b,'ShapeStripedRightArrowIcon':_0x4507a4,'ShapeSunIcon':_0x2960ba,'ShapeSwooshArrowIcon':_0x3d3681,'ShapeTeardropIcon':_0xecf075,'ShapeTrapezoidIcon':_0x517d58,'ShapeTriangleIcon':_0x517c45,'ShapeUpArrowCalloutIcon':_0x4acb17,'ShapeUpArrowIcon':_0x59b135,'ShapeUpDownArrowCalloutIcon':_0x41aea3,'ShapeUpDownArrowIcon':_0x2f6ee7,'ShapeUturnArrowIcon':_0x3cb5af,'ShapeVerticalScrollIcon':_0x1b028f,'ShapeWaveIcon':_0x1332d9,'ShapeWedgeEllipseCalloutIcon':_0x391c82,'ShapeWedgeRectCalloutIcon':_0x27b8a7,'ShapeWedgeRoundRectCalloutIcon':_0x49e7bd}));}[_0x130702(0x3fa)](){const _0x41f58e=_0x130702;this['disposeWithMe'](this[_0x41f58e(0x1fa)][_0x41f58e(0x34d)](H,Ma)),this[_0x41f58e(0x34a)](this['_componentManager'][_0x41f58e(0x34d)](ya,Ca)),this[_0x41f58e(0x34a)](this[_0x41f58e(0x1fa)][_0x41f58e(0x34d)](oa,la)),this[_0x41f58e(0x34a)](this['_componentManager'][_0x41f58e(0x34d)](_0x3d9ff1,ca)),this['disposeWithMe'](this['_componentManager'][_0x41f58e(0x34d)](_0x41f58e(0x16e),Na));}};Pa=W([U(0x0,_0x33309c(_0x52a9bb)),U(0x1,_0x33309c(_0x1a3d08))],Pa);var Fa=class extends _0x2607a3{constructor(_0x321c66,_0xbaf697){const _0x14aa3c=_0x130702;super(_0x321c66,_0xbaf697),q(this,_0x14aa3c(0x2d1),null),q(this,'_adjName',null),q(this,'_unitId',null),q(this,_0x14aa3c(0x11a),null),_0xbaf697&&this[_0x14aa3c(0x353)](_0xbaf697);}[_0x130702(0x201)](){const _0x5f2028=_0x130702;return{'unitId':this[_0x5f2028(0x2bf)],'subUnitId':this[_0x5f2028(0x11a)],'drawingId':this['_shapeId']};}[_0x130702(0x353)](_0x42d81a){const _0x31b7cf=_0x130702;_0x42d81a[_0x31b7cf(0x132)]!==void 0x0&&(this['_shapeId']=_0x42d81a['shapeId']),_0x42d81a[_0x31b7cf(0x22b)]!==void 0x0&&(this[_0x31b7cf(0x197)]=_0x42d81a['adjName']),_0x42d81a[_0x31b7cf(0x1e0)]!==void 0x0&&(this[_0x31b7cf(0x2bf)]=_0x42d81a[_0x31b7cf(0x1e0)]),_0x42d81a['subUnitId']!==void 0x0&&(this[_0x31b7cf(0x11a)]=_0x42d81a[_0x31b7cf(0x1be)]),this[_0x31b7cf(0x3a1)]({'width':_0x42d81a[_0x31b7cf(0x368)],'height':_0x42d81a[_0x31b7cf(0x170)]});}[_0x130702(0x276)](_0x57c66c){const _0x258fd2=_0x130702;_0x20b985[_0x258fd2(0x241)](_0x57c66c,{'radius':_0x21fcf0[_0x258fd2(0x2d4)],'fill':_0x21fcf0['adjHandleFill'],'stroke':_0x21fcf0[_0x258fd2(0x1b1)],'strokeWidth':0x1,'evented':!0x0});}};function _0x10a5(_0x5d17c7,_0x4abb14){_0x5d17c7=_0x5d17c7-0xb6;const _0x2bd471=_0x2bd4();let _0x10a55b=_0x2bd471[_0x5d17c7];return _0x10a55b;}let Ia=class extends _0x3fcc5c{constructor(_0x548969,_0x3f3a99,_0x40bfb6,_0x43850f){const _0x645c9f=_0x130702;super(),this[_0x645c9f(0xec)]=_0x548969,this[_0x645c9f(0x1c9)]=_0x3f3a99,this[_0x645c9f(0x1b0)]=_0x40bfb6,this['_commandService']=_0x43850f,q(this,_0x645c9f(0x23e),null),q(this,'_unitId',null),q(this,'_subUnitId',null),q(this,'_activeShapeAdjustPointList',void 0x0),q(this,_0x645c9f(0xc8),[]),q(this,_0x645c9f(0x35f),0x0),q(this,_0x645c9f(0x356),0x0),q(this,_0x645c9f(0x384),0x0),q(this,_0x645c9f(0x1d7),0x0),q(this,_0x645c9f(0x24b),!0x1),q(this,_0x645c9f(0x114),!0x1),q(this,_0x645c9f(0x27d),void 0x0),q(this,_0x645c9f(0x1e3),void 0x0),q(this,'_adjHandlerPointerMove',void 0x0),q(this,'_adjHandlerPointerUp',void 0x0),this[_0x645c9f(0x340)](),this['_registerDrawingTransformHandler']();}[_0x130702(0x38b)](){const _0x906542=_0x130702;this[_0x906542(0x2d6)]();}['refreshAdjustControls'](){this['_updateShapeAdjustControls'](!0x0);}[_0x130702(0x3e1)](_0x2bc4da,_0xaab28e,_0x25c8c6){const _0xd8751b=_0x130702;var _0x51f6b4;return(_0x51f6b4=this[_0xd8751b(0x1b0)][_0xd8751b(0x1bc)](_0x2bc4da,_0xaab28e,_0x25c8c6))==null?void 0x0:_0x51f6b4['getDrawingPoints']();}[_0x130702(0x2c1)](_0x2ec074,_0x362255,_0x2a2a59,_0x2e727d){const _0x24d02e=_0x130702;var _0x345890;return(_0x345890=this[_0x24d02e(0x1b0)]['getShapeModel'](_0x2ec074,_0x362255,_0x2a2a59))==null?void 0x0:_0x345890[_0x24d02e(0x3a5)](_0x2e727d);}['_getActiveDrawingParam'](){const _0x48d92e=_0x130702;if(this['_unitId']===null||this[_0x48d92e(0x11a)]===null||this[_0x48d92e(0x23e)]===null)return null;let _0x17e154=this['_drawingManagerService'][_0x48d92e(0x204)]({'unitId':this[_0x48d92e(0x2bf)],'subUnitId':this[_0x48d92e(0x11a)],'drawingId':this[_0x48d92e(0x23e)]});return _0x17e154==null?null:_0x17e154;}[_0x130702(0x121)](_0x29d47a){const _0x2bf764=_0x130702;if(this[_0x2bf764(0x2bf)]===null||this[_0x2bf764(0x11a)]===null||this[_0x2bf764(0x23e)]===null)return null;let _0x382577=_0x1d7f86({'unitId':this[_0x2bf764(0x2bf)],'subUnitId':this[_0x2bf764(0x11a)],'drawingId':this[_0x2bf764(0x23e)]}),_0x3f972f=_0x29d47a[_0x2bf764(0xc0)](_0x382577);return _0x3f972f instanceof X?_0x3f972f:null;}[_0x130702(0x155)](_0x2f49ba=!0x1){const _0x4846a9=_0x130702;if(this[_0x4846a9(0x2bf)]===null||this[_0x4846a9(0x11a)]===null||this['_activeShapeId']===null)return;let _0x5b71d1=this[_0x4846a9(0x223)]();if((_0x5b71d1==null?void 0x0:_0x5b71d1[_0x4846a9(0x37b)])!==_0x4fb2bf[_0x4846a9(0x206)]||!_0x5b71d1[_0x4846a9(0xe8)])return;let _0x241b49=this['_docsShapeService'][_0x4846a9(0x1bc)](this[_0x4846a9(0x2bf)],this[_0x4846a9(0x11a)],this[_0x4846a9(0x23e)]);if(!_0x241b49||_0x241b49['isLineShape']())return;(_0x2f49ba||!this[_0x4846a9(0x17c)])&&(this['_activeShapeAdjustPointList']=this[_0x4846a9(0x3e1)](this[_0x4846a9(0x2bf)],this[_0x4846a9(0x11a)],this[_0x4846a9(0x23e)]));let _0x481b5b=this[_0x4846a9(0x17c)];if(!(_0x481b5b!=null&&_0x481b5b[_0x4846a9(0x1c3)]))return;let {scene:_0x2edd31}=this[_0x4846a9(0xec)],{left:_0x24b2e2=0x0,top:_0x38302c=0x0,width:_0x4998ba=0x0,height:_0x11bb4d=0x0,flipX:_0x2d4ac0,flipY:_0x4cf752,angle:_0xf6a933=0x0}=_0x5b71d1[_0x4846a9(0xe8)];for(let _0x3e12c1 of _0x481b5b){let _0x2286f0=this[_0x4846a9(0x136)](_0x3e12c1,_0x4998ba,_0x11bb4d,!!_0x2d4ac0,!!_0x4cf752,_0xf6a933);this['_addShapeAdjustControl'](_0x2edd31,_0x2286f0,_0x2286f0['adjName'],_0x24b2e2,_0x38302c,this['_unitId'],this[_0x4846a9(0x11a)]);}}[_0x130702(0x136)](_0x1add39,_0x5b0bda,_0xf1e1d0,_0x2c695d,_0x3f0f11,_0x3823c8){const _0x30a557=_0x130702;let _0x1ebe31=_0x1add39['x'],_0x3fedf1=_0x1add39['y'];if(_0x2c695d&&(_0x1ebe31=_0x5b0bda-_0x1ebe31),_0x3f0f11&&(_0x3fedf1=_0xf1e1d0-_0x3fedf1),_0x3823c8!==0x0){let _0x505799=_0x5b0bda/0x2,_0x195e9d=_0xf1e1d0/0x2,_0x376a2e=_0x3823c8*Math['PI']/0xb4,_0x4d031c=Math[_0x30a557(0x3a3)](_0x376a2e),_0x7e2d6c=Math['sin'](_0x376a2e),_0x1232b5=_0x1ebe31-_0x505799,_0xc1f449=_0x3fedf1-_0x195e9d;_0x1ebe31=_0x505799+(_0x1232b5*_0x4d031c-_0xc1f449*_0x7e2d6c),_0x3fedf1=_0x195e9d+(_0x1232b5*_0x7e2d6c+_0xc1f449*_0x4d031c);}return{'x':_0x1ebe31,'y':_0x3fedf1,'adjName':_0x1add39[_0x30a557(0x22b)]};}[_0x130702(0x18c)](_0x24583d=!0x1){const _0x3d61d0=_0x130702;_0x24583d&&this['_clearShapeAdjustControls'](),this[_0x3d61d0(0x155)](_0x24583d);}[_0x130702(0x336)](_0x552f1b,_0x2bae19,_0x44b272,_0x167dd6,_0x2aeb92,_0x1ff594,_0x33332a){const _0x45e24d=_0x130702;if(!this[_0x45e24d(0x23e)])return;let _0x25b2d7=_0x45e24d(0x369)+this[_0x45e24d(0x23e)]+'-'+_0x44b272,_0x532109=_0x552f1b[_0x45e24d(0xc0)](_0x25b2d7);if(_0x532109){_0x532109[_0x45e24d(0x3a1)]({'left':_0x2bae19['x']+_0x167dd6-_0x21fcf0[_0x45e24d(0x2d4)],'top':_0x2bae19['y']+_0x2aeb92-_0x21fcf0[_0x45e24d(0x2d4)]}),_0x532109[_0x45e24d(0xc2)](!0x0);return;}let _0x3f9285=new Fa(_0x25b2d7,{'left':_0x2bae19['x']+_0x167dd6-_0x21fcf0[_0x45e24d(0x2d4)],'top':_0x2bae19['y']+_0x2aeb92-_0x21fcf0[_0x45e24d(0x2d4)],'adjName':_0x44b272,'shapeId':this[_0x45e24d(0x23e)],'unitId':_0x1ff594,'subUnitId':_0x33332a,'width':_0x21fcf0[_0x45e24d(0x2d4)]+0x8,'height':_0x21fcf0[_0x45e24d(0x2d4)]+0x8,'zIndex':_0x3ebd69+0x1,'evented':!0x0});this[_0x45e24d(0xc8)][_0x45e24d(0x3f5)](_0x3f9285),this[_0x45e24d(0x244)](_0x3f9285,_0x552f1b,_0x44b272),_0x552f1b[_0x45e24d(0x1b3)](_0x3f9285,_0x3ebd69+0x1);}[_0x130702(0x2d6)](){const _0xdc3d3e=_0x130702;this[_0xdc3d3e(0xc8)]['forEach'](_0x345ad3=>_0x345ad3[_0xdc3d3e(0x349)]()),this[_0xdc3d3e(0xc8)]=[];}[_0x130702(0x10b)](){const _0x1f6408=_0x130702;this[_0x1f6408(0x155)]();}[_0x130702(0x157)](_0x40fcd6,_0x362b7,_0x3abe64){const _0x1a139a=_0x130702;var _0x4df860,_0x5056e7;let _0xf0ef1e=_0x529e7d[_0x1a139a(0x148)]([_0x362b7,_0x3abe64]),_0x2a8a2b=(_0x4df860=_0x40fcd6[_0x1a139a(0x180)](_0xf0ef1e))==null?_0x40fcd6[_0x1a139a(0x290)]()[0x0]:_0x4df860;return(_0x5056e7=_0x2a8a2b==null?void 0x0:_0x2a8a2b['transformVector2SceneCoord'](_0xf0ef1e))==null?_0xf0ef1e:_0x5056e7;}['_attachAdjustEvent'](_0x483c88,_0x35c7f6,_0x41ae9e){const _0x2dc9d9=_0x130702;this['disposeWithMe'](_0x5d41e1(_0x483c88[_0x2dc9d9(0x3c7)][_0x2dc9d9(0x229)]((_0xf942d,_0x1c9d30)=>{const _0x97ef18=_0x2dc9d9;var _0x5b4e9a,_0x277d01,_0x3c7a1b,_0x3b804e;let _0x5292b8=_0x483c88[_0x97ef18(0x201)]();this[_0x97ef18(0x27d)]=this['_getShapeAdjustInfosById'](_0x5292b8[_0x97ef18(0x1e0)],_0x5292b8['subUnitId'],_0x5292b8['drawingId'],_0x41ae9e),this['_activeShapeModel']=this['_docsShapeService'][_0x97ef18(0x1bc)](_0x5292b8['unitId'],_0x5292b8[_0x97ef18(0x1be)],_0x5292b8[_0x97ef18(0x146)]);let _0x21642a=this[_0x97ef18(0x223)](),_0x4de4ff=_0x21642a==null?void 0x0:_0x21642a[_0x97ef18(0xe8)];if(!_0x21642a||!_0x4de4ff||!this[_0x97ef18(0x1e3)])return;this[_0x97ef18(0x35f)]=_0x4de4ff[_0x97ef18(0x13e)]||0x0,this[_0x97ef18(0x356)]=_0x4de4ff['top']||0x0,this[_0x97ef18(0x384)]=_0x4de4ff[_0x97ef18(0x368)]||0x0,this[_0x97ef18(0x1d7)]=_0x4de4ff[_0x97ef18(0x170)]||0x0;let _0x2d8150=!!_0x4de4ff['flipX'],_0x45618f=!!_0x4de4ff[_0x97ef18(0x275)],_0x2d4eac=_0x4de4ff[_0x97ef18(0x382)]||0x0,_0x44215f=((_0x5b4e9a=this[_0x97ef18(0x27d)])==null?void 0x0:_0x5b4e9a['gdRefX'])||((_0x277d01=this[_0x97ef18(0x27d)])==null?void 0x0:_0x277d01['gdRefY'])||((_0x3c7a1b=this[_0x97ef18(0x27d)])==null?void 0x0:_0x3c7a1b[_0x97ef18(0x389)])||((_0x3b804e=this[_0x97ef18(0x27d)])==null?void 0x0:_0x3b804e['gdRefR'])||_0x41ae9e,_0x2e488=this[_0x97ef18(0x1e3)][_0x97ef18(0x1d9)](_0x44215f),_0x595484={[_0x44215f]:_0x2e488};this[_0x97ef18(0x24b)]=!0x0,_0x35c7f6['disableObjectsEvent'](),this[_0x97ef18(0xc9)]=_0x35c7f6[_0x97ef18(0x280)][_0x97ef18(0x229)]((_0x1cb39d,_0x4f3fdf)=>{const _0x244001=_0x97ef18;var _0x6c76be;if(!this[_0x244001(0x24b)]||!this[_0x244001(0x1e3)]||!this['_activeAdjustInfo'])return;_0x35c7f6[_0x244001(0x3b6)](),_0x35c7f6[_0x244001(0x1a6)](_0x4a6c9d[_0x244001(0x3ba)]);let _0x212e09=this[_0x244001(0x157)](_0x35c7f6,_0x1cb39d[_0x244001(0x123)],_0x1cb39d[_0x244001(0x38d)]),_0x5cf55f=_0x212e09['x']-this[_0x244001(0x35f)],_0x1698f3=_0x212e09['y']-this[_0x244001(0x356)];if(_0x2d4eac!==0x0){let _0x4e6fc4=this[_0x244001(0x384)]/0x2,_0xf25c39=this[_0x244001(0x1d7)]/0x2,_0x4959ad=_0x2d4eac*Math['PI']/0xb4,_0x386d2f=Math[_0x244001(0x3a3)](_0x4959ad),_0x38ec51=Math['sin'](_0x4959ad),_0x160f06=_0x5cf55f-_0x4e6fc4,_0x50ca0a=_0x1698f3-_0xf25c39;_0x5cf55f=_0x4e6fc4+(_0x160f06*_0x386d2f+_0x50ca0a*_0x38ec51),_0x1698f3=_0xf25c39+(-_0x160f06*_0x38ec51+_0x50ca0a*_0x386d2f);}_0x2d8150&&(_0x5cf55f=this['_baseShapeWidth']-_0x5cf55f),_0x45618f&&(_0x1698f3=this[_0x244001(0x1d7)]-_0x1698f3);let _0x9507ce={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x244001(0x1d7)]},_0x1753d5=this[_0x244001(0x1e3)][_0x244001(0x366)](_0x9507ce,{'x':_0x5cf55f,'y':_0x1698f3},this['_activeAdjustInfo'],_0x2d8150,_0x45618f),_0x3aca01=this[_0x244001(0x27d)][_0x244001(0x32f)]||this['_activeAdjustInfo'][_0x244001(0xdb)]||this['_activeAdjustInfo'][_0x244001(0x389)]||this[_0x244001(0x27d)][_0x244001(0xe3)];_0x3aca01!==void 0x0&&(this[_0x244001(0x1e3)][_0x244001(0x20e)](_0x3aca01,_0x1753d5),(_0x6c76be=this[_0x244001(0x121)](_0x35c7f6))==null||_0x6c76be[_0x244001(0xc2)](!0x0),this[_0x244001(0x17c)]=this[_0x244001(0x3e1)](_0x5292b8['unitId'],_0x5292b8[_0x244001(0x1be)],_0x5292b8[_0x244001(0x146)]),this[_0x244001(0x10b)](),_0x4f3fdf[_0x244001(0x3ac)]());}),this[_0x97ef18(0x102)]=_0x35c7f6[_0x97ef18(0xbe)][_0x97ef18(0x229)]((_0x6c7023,_0x55c41d)=>{const _0x3c637e=_0x97ef18;var _0x345099,_0x18b5a0;(_0x345099=this[_0x3c637e(0xc9)])==null||_0x345099[_0x3c637e(0x3cd)](),(_0x18b5a0=this[_0x3c637e(0x102)])==null||_0x18b5a0['unsubscribe'](),_0x35c7f6['resetCursor']();let _0x61c148=this[_0x3c637e(0x27d)];if(_0x61c148&&this['_activeShapeModel']){let _0x2324e5=_0x61c148['gdRefX']||_0x61c148[_0x3c637e(0xdb)]||_0x61c148[_0x3c637e(0x389)]||_0x61c148[_0x3c637e(0xe3)];if(_0x2324e5!==void 0x0){let _0x35f2d6=this[_0x3c637e(0x1e3)]['getAdjustValueByName'](_0x2324e5);_0x35f2d6!==void 0x0&&_a(this['_commandService'],_0x5292b8['unitId'],_0x5292b8[_0x3c637e(0x1be)],_0x5292b8['drawingId'],{'oldShapeData':{'adjustValues':_0x595484}},{'adjustValues':{[_0x2324e5]:_0x35f2d6}});}}this[_0x3c637e(0x27d)]=void 0x0,this[_0x3c637e(0x1e3)]=void 0x0,this[_0x3c637e(0x24b)]=!0x1,_0x35c7f6[_0x3c637e(0x100)](),_0x55c41d['stopPropagation']();}),_0x1c9d30['stopPropagation']();})));}[_0x130702(0xc3)](){const _0x5a229f=_0x130702;let {scene:_0x344da0}=this['_context'],_0x2b3cfa=_0x344da0[_0x5a229f(0x3a4)]();this['disposeWithMe'](_0x2b3cfa['changeStart$']['subscribe'](_0x463565=>{const _0xeb48dc=_0x5a229f;this[_0xeb48dc(0x155)](),_0x463565[_0xeb48dc(0x231)]!==null&&_0x463565[_0xeb48dc(0x231)][_0xeb48dc(0x296)]===0x1&&_0x463565[_0xeb48dc(0x231)]['values']()['next']()[_0xeb48dc(0x17d)]instanceof X&&(this[_0xeb48dc(0x114)]=!0x0);})),this[_0x5a229f(0x34a)](_0x2b3cfa[_0x5a229f(0x2d7)]['subscribe'](()=>{const _0x5e4e11=_0x5a229f;this[_0x5e4e11(0x114)]&&this['_clearShapeAdjustControls']();})),this[_0x5a229f(0x34a)](_0x344da0[_0x5a229f(0xbe)][_0x5a229f(0x229)](()=>{const _0x5cde07=_0x5a229f;this[_0x5cde07(0x114)]&&(this[_0x5cde07(0x114)]=!0x1,this['_createShapeAdjustControls']());})),this[_0x5a229f(0x34a)](_0x2b3cfa['changeEnd$']['subscribe'](()=>{const _0xeff1cd=_0x5a229f;this['_unitId']&&this['_subUnitId']&&this[_0xeff1cd(0x23e)]&&(this['_activeShapeAdjustPointList']=this[_0xeff1cd(0x3e1)](this[_0xeff1cd(0x2bf)],this[_0xeff1cd(0x11a)],this[_0xeff1cd(0x23e)]),this[_0xeff1cd(0x10b)]());}));}[_0x130702(0x340)](){const _0x32d21d=_0x130702;this['disposeWithMe'](this['_drawingManagerService'][_0x32d21d(0x184)][_0x32d21d(0x144)](_0x5a8b84=>{const _0x5c7e47=_0x32d21d;if(_0x5a8b84[_0x5c7e47(0x1c3)]===0x1){let _0x321f98=_0x5a8b84[0x0],_0x4d4fd3=this[_0x5c7e47(0x1c9)][_0x5c7e47(0x204)](_0x321f98);if((_0x4d4fd3==null?void 0x0:_0x4d4fd3[_0x5c7e47(0x37b)])===_0x4fb2bf[_0x5c7e47(0x206)]){this[_0x5c7e47(0x23e)]=_0x321f98[_0x5c7e47(0x146)],this[_0x5c7e47(0x2bf)]=_0x321f98['unitId'],this[_0x5c7e47(0x11a)]=_0x321f98[_0x5c7e47(0x1be)],this[_0x5c7e47(0x17c)]=this[_0x5c7e47(0x3e1)](_0x321f98[_0x5c7e47(0x1e0)],_0x321f98[_0x5c7e47(0x1be)],_0x321f98[_0x5c7e47(0x146)]),this[_0x5c7e47(0x2d6)](),this['_createShapeAdjustControls']();return;}}this[_0x5c7e47(0x23e)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x5c7e47(0x2bf)]=null,this['_subUnitId']=null,this[_0x5c7e47(0x2d6)]();})),this['disposeWithMe'](this['_drawingManagerService'][_0x32d21d(0x119)]['subscribe'](_0x19ec63=>{const _0xf97047=_0x32d21d;if(_0x19ec63[_0xf97047(0x1c3)]===0x1){var _0x47cc0a;((_0x47cc0a=this[_0xf97047(0x1c9)][_0xf97047(0x204)](_0x19ec63[0x0]))==null?void 0x0:_0x47cc0a['drawingType'])===_0x4fb2bf[_0xf97047(0x206)]&&this[_0xf97047(0x18c)](!0x0);}})),this[_0x32d21d(0x34a)](this[_0x32d21d(0x1c9)]['remove$'][_0x32d21d(0x144)](_0x21adc5=>{const _0x3ad599=_0x32d21d;for(let _0x57930d of _0x21adc5)this[_0x3ad599(0x23e)]===_0x57930d[_0x3ad599(0x146)]&&(this[_0x3ad599(0x23e)]=null,this[_0x3ad599(0x17c)]=void 0x0,this[_0x3ad599(0x2bf)]=null,this[_0x3ad599(0x11a)]=null,this['_clearShapeAdjustControls']());}));}};Ia=W([U(0x1,_0x5c72b9),U(0x2,_0x33309c(_0x2118c4)),U(0x3,_0x56458c)],Ia);function La(_0x3a94dd,_0x2f842f){const _0x5281c2=_0x130702;let _0x491af2=_0x3a94dd;for(;_0x491af2;){if(_0x2f842f(_0x491af2))return _0x491af2;_0x491af2=typeof _0x491af2[_0x5281c2(0x19c)]==_0x5281c2(0x111)?_0x491af2[_0x5281c2(0x19c)]():null;}return null;}function Ra(_0x5cd9e9){return La(_0x5cd9e9,_0x173626=>_0x173626 instanceof X);}let za=class extends _0x3fcc5c{constructor(_0x4bde2f,_0xcc3016,_0x160325,_0x2e794a,_0x2e2305){const _0x2c212f=_0x130702;super(),this[_0x2c212f(0xec)]=_0x4bde2f,this['_shapeTextEditingService']=_0xcc3016,this[_0x2c212f(0x1c9)]=_0x160325,this[_0x2c212f(0x3da)]=_0x2e794a,this[_0x2c212f(0x1b0)]=_0x2e2305,q(this,_0x2c212f(0x25b),null),this[_0x2c212f(0x2c9)](),this[_0x2c212f(0x179)](),this[_0x2c212f(0x171)]();}[_0x130702(0x2c9)](){const _0x49b52a=_0x130702;let {scene:_0x19a8fe}=this[_0x49b52a(0xec)];this[_0x49b52a(0x34a)](_0x19a8fe[_0x49b52a(0xbd)][_0x49b52a(0x229)](_0xdbed14=>{const _0x591001=_0x49b52a;var _0x3df03a;let {offsetX:_0x33ea81,offsetY:_0x558294}=_0xdbed14,_0x3c0677=_0x529e7d[_0x591001(0x148)]([_0x33ea81,_0x558294]),_0x2001d8=(_0x3df03a=Ra(_0x19a8fe[_0x591001(0x134)](_0x3c0677)))==null?this['_getFocusedShapeAtPoint'](_0x3c0677):_0x3df03a;if(_0x2001d8){if(_0x1757f3(this[_0x591001(0x1b0)][_0x591001(0x313)](_0x2001d8[_0x591001(0x1e0)],_0x2001d8[_0x591001(0x1be)],_0x2001d8[_0x591001(0x132)])))return;this[_0x591001(0x124)]['setEditing']({'visible':!0x0,'unitId':_0x2001d8[_0x591001(0x1e0)],'subUnitId':_0x2001d8['subUnitId'],'shapeId':_0x2001d8[_0x591001(0x132)],'shapeKey':_0x2001d8[_0x591001(0x24f)]});}}));}[_0x130702(0x158)](_0x451025){const _0x31067d=_0x130702;let {scene:_0x34e0ff}=this[_0x31067d(0xec)],_0x361af4=this[_0x31067d(0x1c9)][_0x31067d(0x2a7)]()[_0x31067d(0x207)](_0x3ecb75=>_0x34e0ff[_0x31067d(0xc0)](_0x1d7f86(_0x3ecb75)))[_0x31067d(0x3ce)](_0x103def=>_0x103def instanceof X&&_0x103def[_0x31067d(0xb7)](_0x451025));return _0x361af4==null?null:_0x361af4;}[_0x130702(0x179)](){const _0x52c3d3=_0x130702;this['disposeWithMe'](this['_drawingManagerService'][_0x52c3d3(0x184)][_0x52c3d3(0x144)](_0x440e3e=>{const _0x1eb7c=_0x52c3d3;if(_0x440e3e[_0x1eb7c(0x1c3)]===0x1){let _0x5309c2=_0x440e3e[0x0],_0x429e9f=this[_0x1eb7c(0x1c9)][_0x1eb7c(0x204)](_0x5309c2);if((_0x429e9f==null?void 0x0:_0x429e9f[_0x1eb7c(0x37b)])===_0x4fb2bf[_0x1eb7c(0x206)]){let _0x2a841b=this['_shapeTextEditingService']['getEditing']();if((_0x2a841b==null?void 0x0:_0x2a841b[_0x1eb7c(0x132)])===_0x5309c2['drawingId']&&_0x2a841b['visible'])return;_0x1757f3(this[_0x1eb7c(0x1b0)][_0x1eb7c(0x313)](_0x5309c2['unitId'],_0x5309c2['subUnitId'],_0x5309c2[_0x1eb7c(0x146)]))&&this[_0x1eb7c(0x124)]['setEditing'](null);}else this['_shapeTextEditingService'][_0x1eb7c(0x1d1)]()&&(this['_shapeTextEditingService'][_0x1eb7c(0x270)](!0x0),requestAnimationFrame(()=>{const _0x4fd48f=_0x1eb7c;this[_0x4fd48f(0x124)][_0x4fd48f(0x120)](null);}));}else this[_0x1eb7c(0x124)][_0x1eb7c(0x1d1)]()&&(this[_0x1eb7c(0x124)][_0x1eb7c(0x270)](!0x0),requestAnimationFrame(()=>{const _0x4b1969=_0x1eb7c;this['_shapeTextEditingService'][_0x4b1969(0x120)](null);}));})),this[_0x52c3d3(0x34a)](this[_0x52c3d3(0x1c9)][_0x52c3d3(0x28b)]['subscribe'](_0xced95b=>{const _0x77aaa6=_0x52c3d3;let _0x31bb83=this[_0x77aaa6(0x124)][_0x77aaa6(0x1d1)]();_0x31bb83&&_0xced95b['some'](_0x59fb83=>_0x59fb83['drawingId']===_0x31bb83[_0x77aaa6(0x132)])&&this[_0x77aaa6(0x124)][_0x77aaa6(0x120)](null);}));}['_initEditingParams'](){const _0x454376=_0x130702;this[_0x454376(0x34a)](this[_0x454376(0x124)]['editingParams$'][_0x454376(0x144)](_0x2ac8ad=>{const _0x33a452=_0x454376;let {scene:_0x113941}=this['_context'];if(this['_lastEditingShapeKey']){let _0x392b12=_0x113941[_0x33a452(0xc0)](this[_0x33a452(0x25b)]);_0x392b12&&_0x392b12['setEditing'](!0x1);}if(_0x2ac8ad){let _0x2e478e=!!_0x2ac8ad[_0x33a452(0xce)],_0x49c75a=_0x113941['getObjectIncludeInGroup'](_0x2ac8ad[_0x33a452(0x2f2)]);_0x49c75a&&(_0x49c75a[_0x33a452(0x120)](_0x2e478e),this['_lastEditingShapeKey']=_0x2ac8ad[_0x33a452(0x2f2)]),this[_0x33a452(0x3da)][_0x33a452(0x13c)](_0x4b3a16,_0x2e478e);}else this['_lastEditingShapeKey']=null,this['_contextService']['setContextValue'](_0x4b3a16,!0x1);}));}};za=W([U(0x1,_0x33309c(J)),U(0x2,_0x5c72b9),U(0x3,_0x54b7a3),U(0x4,_0x33309c(_0x2118c4))],za);function Ba(){return _0x429252(_0x30056b,{});}let Va=class extends _0x141be8{constructor(_0xa89582,_0x5e5224,_0x553545,_0x5bbc90,_0x21cbf8){const _0x3f7ef2=_0x130702;super(_0xa89582,_0x5e5224,_0x553545,_0x5bbc90,_0x21cbf8,{'componentKey':_0x3f7ef2(0x1a4),'editorUnitId':ia,'toolbarComponent':Ba});}};function _0x2bd4(){const _0x299224=['RightArrowCallout','docs-shape-ui.shape.type.wedge-round-rect-callout','ShapeNoSmokingIcon','LightningBolt','FlowChartInputOutput','starAndBanner','FlowchartSort','_shapeId','ShapeLeftBraceIcon','Plus','adjHandleSize','DiagStripe','_clearShapeAdjustControls','changing$','ShapeActionButtonSoundIcon','warn','Sun','docs-shape-ui.shape.type.irregular-seal2','FlowchartMagneticDrum','FlowchartOr','docs-shape-ui.shape.type.flow-chart-connector','ShapePentagonIcon','ShapeUpArrowCalloutIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','editingParams$','ShapeStripedRightArrowIcon','ShapeStar10Icon','params','docs-shape-ui.shape.type.brace-pair','FlowchartInternalStorage','ShapeWedgeRoundRectCalloutIcon','docs-shape-ui.shape.type.curved-connector3-arrow1','featurePluginUpdateNotification','Line','LeftRightArrowCallout','registerComponent','Decagon','ShapeActionButtonMovieIcon','docs-shape-ui.shape.type.left-right-up-arrow','endArrow','shapeKey','docs-shape-ui.shape.type.border-callout3','type','docs-shape-ui.shape.type.left-right-circular-arrow','HorizontalScroll','FALSE','ShapeEllipseIcon','_config','VIEW_MAIN','docs-shape-ui.insertShape','doc','invert','Heptagon','getDrawingPoints','localeService','Star10','horizontal','ShapeChartXIcon','_loadShapePictureFill','docs-shape-ui.shape.type.flow-chart-magnetic-drum','_createShapePopupMenu','LeftRightCircularArrow','RoundRect','docs-shape-ui.shape.type.action-button-forward-next','AccentCallout1','horizontalAlign','docs-shape-ui.shape.type.left-circular-arrow','resize','@univerjs-pro/docs-shape-ui','focusDrawing','ShapeUpDownArrowCalloutIcon','FlowchartMagneticDisk','DownArrowCallout','getShapeType','_getShapeInfo','ShapeFlowChartOfflineStorageIcon','Wave','Chevron','_transformCalculateSrcRect','doc.shape.floating-toolbar','transformForAngle','scene','CircularArrow','_setTransForm','ShapeDonutIcon','HomePlate','attachPopupToObject','setPrstGeom','MathMultiply','FlowchartAlternateProcess','_editingParams$','docs-shape-ui.shape.type.math-divide','_localeService','RightArrow','docs-shape-ui.shape.type.arc','WedgeRoundRectCallout','getSnapshot','docs-shape-ui.shape.type.cloud','ShapeVerticalScrollIcon','docs-shape-ui.shape.type.ribbon2','ShapeAccentBorderCallout1Icon','gdRefX','_univerInstanceService','docs-shape-ui.shape.type.chord','textStyle','layoutType','docs-shape-ui.shape.type.flow-chart-sort','_onSavingEditorData$','_addShapeAdjustControl','gridType','424940PuZtDZ','docs-shape-ui.shape.type.flow-chart-manual-operation','WRAP_TOP_AND_BOTTOM','SELECTOR','ActionButtonDocument','setFillImage','#111827','ShapeFlowChartPreparationIcon','_registerDrawingFocusChangeHandler','ShapeHexagonIcon','Large','LEFT','decorate','1.0.0-alpha.0','docs-shape-ui.shape.type.star7','docs-shape-ui.shape.type.rect-textbox-horizontal','Snip2DiagRect','dispose','disposeWithMe','ShapeActionButtonInformationIcon','docs-shape-ui.shape.type.ellipse','register','restore','ShapeAccentBorderCallout2Icon','docs-shape-ui.shape.type.funnel','ShapeCloudCalloutIcon','paragraphs','setShapeProps','Star16','_drawRichText','_baseShapeTop','ShapeBentConnector3Arrow2Icon','ShapeHeptagonIcon','line','docs-shape-ui.shape.type.line-inv','_activeShapeInfo','FlowchartOnlineStorage','FlowchartPredefinedProcess','Trapezoid','_baseShapeLeft','ShapeHeartIcon','_configService','Octagon','moveRange','docs-shape-ui.shape.type.flow-chart-summing-junction','Triangle','calcAdjValue','NotchedRightArrow','width','doc-shape-adjust-point-','FlowchartPreparation','ShapePieWedgeIcon','ShapeSunIcon','docs-shape-ui.shape.type.accent-border-callout3','ShapeTrapezoidIcon','ShapeRibbonIcon','docs-shape-ui.shape.type.flow-chart-terminator','has','endOffset','_sidebarDisposable','ShapeBorderCallout2Icon','ShapePlaqueIcon','Round2DiagRect','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.math-minus','_injector','docs-shape-ui.shape.type.line','drawingType','docs-shape-ui.shape.type.frame','Heart','docs-shape-ui.shape.type.right-arrow','docs-shape-ui.shape.type.bent-arrow','docs-shape-ui.shape.type.left-arrow-callout','FlowchartDelay','angle','ShapeMoonIcon','_baseShapeWidth','EllipseRibbon','ShapeFlowChartConnectorIcon','ActionButtonSound','docs-shape-ui.shape.type.triangle','gdRefAng','save','clearAdjustControls','docs-shape-ui.formatShape','offsetY','ShapeActionButtonEndIcon','ShapeLeftRightRibbonIcon','docs-shape-ui.shape.type.block-arc','docs-shape-ui.shape.type.rect-textbox-vertical','wrapSquare','ShapeFlowChartDisplayIcon','docs-shape-ui.shape.type.callout1','getAbsolutePosition','docs-shape-ui.shape.type.flow-chart-multidocument','other','_imageIoService','LeftArrow','ActionButtonBlank','_insertShapes','docs-shape-ui.shape.type.flow-chart-manual-input','getDrawingOKey','docs-shape-ui.shape.type.straight-connector1','docs-shape-ui.shape.type.left-right-arrow-callout','docs-shape-ui.shape.type.cube','transformByState','ShapeUpDownArrowIcon','cos','getTransformerByCreate','getAdjustInfoByName','docs-shape-ui.shape.type.flow-chart-display','QuadArrowCallout','Moon','_initializedShapePopupMenu','INLINE','_getSceneByUnitId','stopPropagation','updateShapeFillImage','Star4','ShapeDecagonIcon','docs-shape-ui.shape.type.action-button-sound','docs-shape-ui.shape.type.irregular-seal1','ShapeTeardropIcon','docs-shape-ui.shape.type.square-tabs','range','spaceBelow','disableObjectsEvent','ShapeFlowChartMagneticTapeIcon','docs-shape-ui.shape.type.curved-connector3','docs-shape-ui.shape.type.folder-corner','CROSSHAIR','ShapeCurvedConnector3Arrow1Icon','_docDrawingShapeRenderController','ShapeFlowChartMultidocumentIcon','ShapeFlowChartPunchedTapeIcon','Diamond','ShapeBentUpArrowIcon','callout','ShapeIcon','ShapeSnip2SameRectIcon','WedgeEllipseCallout','flowchart','body','onPointerDown$','ShapeArcIcon','docs-shape-ui.shape.type.star4','58386ynDAuG','ShapeMathNotEqualIcon','Cube','unsubscribe','find','scale','BentUpArrow','docs-shape-ui.textWrap.behindText','getMatrix','docs-shape-ui.shape.type.ellipse-ribbon','getState','FlowchartCollate','clip','ShapeIrregularSeal1Icon','_urlImageService','ShapeFlowChartPredefinedProcessIcon','_contextService','_initialize','docs-shape-ui.shape.type.flow-chart-document','docs-shape-ui.shape.type.flow-chart-collate','Bevel','prototype','URL','_getShapeAdjustPointListById','mergeMenu','next','div','docs-shape-ui.shape.type.flow-chart-magnetic-tape','docs-shape-ui.shape.type.star16','BOTH_SIDES','FoldedCorner','get','reduce','docs-shape-ui.shape.type.no-smoking','BentConnector3','LeftUpArrow','CurvedDownArrow','error','CloudCallout','Ribbon2','ShapeStraightConnector1Icon','Star12','ShapeSnip1RectIcon','push','blockArrow','Round2SameRect','enhanceParams','_shapeEditPanelVersion','_registerComponents','ShapeRightArrowCalloutIcon','Callout2','setSrcRect','Round1Rect','onReady','setConfig','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeStar24Icon','getShapeTextData','isHit','docs-shape-ui.shape.type.border-callout1','complete','add$','Chord','DRAWING_IMAGE','onDblclick$','onPointerUp$','docs-shape-ui.shape.type.math-plus','getObjectIncludeInGroup','docs-shape-ui.shape.type.star5','makeDirty','_registerDrawingTransformHandler','composeMatrix','LineInv','_initMenu','Snip2SameRect','_adjustPointObjects','_adjHandlerPointerMove','ShapeFlowChartDocumentIcon','ShapeCurvedDownArrowIcon','ShapeMathMinusIcon','FlowchartExtract','visible','ActionButtonForwardNext','docs-shape-ui.shape.type.math-not-equal','docs-shape-ui.shape.type.can','docs-shape-ui.shape.type.accent-border-callout1','docs-shape-ui.shape.type.curved-down-arrow','getAllUnitsForType','doc.command.update-doc-drawing-wrapping-style','ShapeLightningBoltIcon','FlowchartPunchedTape','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','docs-shape-ui.shape.type.up-down-arrow-callout','docs-shape-ui.shape.type.action-button-back-previous','gdRefY','ShapePlaqueTabsIcon','docs-shape-ui.shape.type.pie-wedge','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','docs-shape-ui.shape.type.diag-stripe','getDrawingVisible','FlowchartDecision','label','gdRefR','onerror','docs-shape-ui.shape.type.action-button-blank','LAYOUT','ShapeLeftRightCircularArrowIcon','transform','doc.operation.open-doc-shape-format-panel','UturnArrow','SquareTabs','_context','univer-size-full','dataModel','prstGeom','paragraphMenuPlacement','setShapeData','docs-shape-ui.shape.type.action-button-movie','updateContext','getImage','multiply','basicShape','COMMAND','lineSpacing','#3B82F6','ShapeBentConnector3Arrow1Icon','docs-shape-ui.shape.type.curved-up-arrow','ShapeLeftArrowCalloutIcon','ActionButtonInformation','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','207255vREAbi','enableObjectsEvent','ShapeStar7Icon','_adjHandlerPointerUp','DownArrow','ShapeCurvedLeftArrowIcon','ShapeMathDivideIcon','NonIsoscelesTrapezoid','ShapeMathMultiplyIcon','renderDrawingShape','attachTransformerTo','docs-shape-ui.shape.type.plaque','_updateAdjustControlPositions','rect','ShapeFlowChartProcessIcon','docs-shape-ui.shape.type.left-arrow','docs-shape-ui.shape.type.quad-arrow','ShapeChartPlusIcon','function','_drawShapeText','fill','_isShouldShowDrawingShapeAdjust','ActionButtonEnd','shapeData','ShapeActionButtonBackPreviousIcon','_popupMenuListener','update$','_subUnitId','ShapeDiagStripeIcon','Star24','docs-shape-ui.shape.type.flow-chart-or','vertical','docs-shape-ui.shape.type.rect','setEditing','_getActiveDrawingShape','ShapeRoundRectIcon','offsetX','_shapeTextEditingService','ShapeDownArrowCalloutIcon','popup','docs-shape-ui.shape.type.flow-chart-process','docs-shape-ui.shape.type.octagon','docs-shape-ui.shape.type.math-equal','ShapeCanIcon','icon','getShapeData','docs-shape-ui.shape.type.accent-callout1','ShapeWedgeEllipseCalloutIcon','ChartX','docs-shape-ui.shape.type.quad-arrow-callout','ShapeRectTextboxHorizontalIcon','shapeId','_updateSrcRectByTransform','pick','with','_toVisualAdjustPoint','ShapeFlowChartInputOutputIcon','disableShapeOption','AccentBorderCallout2','docs-shape-ui.shape.type.cloud-callout','fillImageSource','setContextValue','isRender','left','FlowchartMagneticTape','docs-shape-ui.shape.type.flow-chart-extract','docs-shape-ui.shape.type.math-multiply','registerRenderModule','DEFAULT','subscribe','_clearPopups','drawingId','Funnel','FromArray','symbol','call','StraightConnector1','ShapeStar4Icon','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.right-bracket','docs-shape-ui.shape.type.moon','getShapeTextRect','ShapeCallout1Icon','ShapeCallout2Icon','FlowchartPunchedCard','univer-box-border\x20univer-px-4\x20univer-text-sm','_createShapeAdjustControls','docs-shape-ui.shape.type.star24','_toScenePoint','_getFocusedShapeAtPoint','ActionButtonHelp','docs-shape-ui.shape.type.up-arrow','CurvedConnector3','_initUIPart','deepClone','_registerOperations','ShapeFlowChartManualInputIcon','ShapeGear9Icon','getValue','_registerImageShapeClipDelegate','ShapeRibbon2Icon','ChartPlus','docs-shape-ui.shape.type.snip-round-rect','inFrontOfText','SwooshArrow','CurvedLeftArrow','docs-shape-ui.shape.type.swoosh-arrow','getRenderById','isEditing','docs-shape-ui.shape.type.hexagon','ShapeCurvedConnector3Icon','ShapeTextEditorContainer','ShapeChartStarIcon','height','_initEditingParams','docs-shape-ui.shape.type.down-arrow','docs-shape-ui.shape.type.flow-chart-decision','BorderCallout1','isHorizontal','12WWGCZt','docs-shape-ui.shape.type.donut','FlowchartOffPageConnector','_initSelection','set','_initCommands','_activeShapeAdjustPointList','value','RightBracket','PieWedge','getActiveViewportByCoord','docs-shape-ui.shape.type.accent-callout3','isRenderLinePointsMode','docs-shape-ui.shape.type.up-arrow-callout','focus$','LeftBrace','FlowchartProcess','ShapeStraightConnector2Icon','WRAP_SQUARE','_openShapeEditPanel','docs-shape-ui.shape.type.right-arrow-callout','ShapeFlowChartExtractIcon','_updateShapeAdjustControls','docs-shape-ui.shape.type.trapezoid','docs-shape-ui.shape.type.decagon','changeStart$','SolidLine','inline','executeCommand','StripedRightArrow','ShapeEllipseRibbon2Icon','shapeType','docs-shape-ui.shape.type.action-button-return','_adjName','create','ShapeActionButtonReturnIcon','_renderManagerService','ShapeBorderCallout1Icon','getParent','doc.shape.edit.panel','beginPath','UpArrow','ShapeActionButtonBeginningIcon','docs-shape-ui.shape.type.parallelogram','ShapeRightBraceIcon','docs-shape-ui.shape.type.action-button-home','doc.shape.text.float-menu','_initShapePopupMenu','setCursor','FlowchartSummingJunction','object','ShapeMathPlusIcon','ShapeFlowChartOnlineStorageIcon','textRuns','_iconManager','snapToGrid','ShapeLineInvIcon','ShapeFlowChartMergeIcon','_docsShapeService','adjHandleStroke','docs-shape-ui.shape.type.wave','addObject','onStarting','docs-shape-ui.shape.type.curved-left-arrow','docs-shape-ui.shape.type.bent-connector3','_props','PlaqueTabs','data','Cloud','behindText','getShapeModel','forEach','subUnitId','dataStream','add','Snip1Rect','extraProps','length','srcRect','ShapeMathEqualIcon','setCanUseShapeClip','ShapeRtTriangleIcon','docs-shape-ui.shape.type.diamond','_drawingManagerService','None','_clipService','setInsertRange','113409sYwVBy','DRAWING_DOM','ShapeFlowChartInternalStorageIcon','docs-shape-ui.textWrap.inline','getEditing','Star8','BracePair','ShapeFlowChartSortIcon','clone','iterator','_baseShapeHeight','docs-shape-ui.shape.type.circular-arrow','getAdjustValueByName','ShapeFlowChartOffpageConnectorIcon','WRAP_NONE','ShapeSwooshArrowIcon','getCurrentUniverDocInstance','docs-shape-ui.shape.type.flow-chart-punched-card','docs-shape-ui.shape.type.double-wave','unitId','paragraph','Star7','_activeShapeModel','sectionBreaks','docs-shape-ui.shape.type.chart-x','VerticalScroll','syncExecuteCommand','docs-shape-ui.shape.type.notched-right-arrow','_docCanvasPopManagerService','ShapeSquareTabsIcon','shape-text-','ShapeStar8Icon','refreshTransform','docs-shape-ui.shape.type.callout3','UUID','docs-shape-ui.shape.type.flow-chart-input-output','Parallelogram','ShapeFlowChartDelayIcon','ShapeFlowChartCollateIcon','getFonts','doc.shape.picker.component','fillType','ShapeBracePairIcon','ShapeFunnelIcon','paragraphStyle','_componentManager','docs-shape-ui.shape.type.straight-connector2','docs-shape-ui.shape.type.snip2-diag-rect','FlowchartMerge','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','BorderCallout3','_registerIcons','getDrawingSearch','docs-shape-ui.shape.type.accent-border-callout2','docs-shape-ui.shape.type.ellipse-ribbon2','getDrawingByParam','Star5','DRAWING_SHAPE','map','group','WRAP','behindDoc','ShapeRound2DiagRectIcon','ShapeCornerTabsIcon','Image','setAdjustValueByName','docs-shape-ui.shape.type.heart','docs-shape-ui.shape.type.flow-chart-magnetic-disk','FlowChartOfflineStorage','menu','getSelectedObjectMap','startArrow','ShapeStar6Icon','docs-shape-ui.shape.type.left-up-arrow','Path','ShapeStar5Icon','close','OPERATION','ShapeGear6Icon','indexOf','draw','PictureFill','getRealBound','docs-shape-ui.shape.type.flow-chart-offline-storage','startOffset','onCommandExecuted','_getActiveDrawingParam','ActionButtonReturn','calculate','Donut','_closeShapeEditPanel','905572anBQdG','subscribeEvent','CornerTabs','adjName','SolidFill','_commandService','docs-shape-ui.shape.type.action-button-document','Arrow','ShapeBorderCallout3Icon','objects','IrregularSeal2','docs-shape-ui.shape.type.star32','below','PARAGRAPH','docs-shape-ui.shape.type.corner-tabs','top','_loadAndSetImage','Rect','ShapeLeftBracketIcon','getCurrentTypeOfUnit$','docs-shape-ui.shape.type.lightning-bolt','ShapeLeftCircularArrowIcon','_activeShapeId','docs-shape-ui.shape.type.wedge-ellipse-callout','documentStyle','drawWith','docs-shape-ui.shape.type.action-button-help','version','_attachAdjustEvent','ShapeAccentBorderCallout3Icon','ShapeHomePlateIcon','Pentagon','UpArrowCallout','getDrawingEditable','docs-shape-ui.shape.type.home-plate','_isStartAdjusting','docs-shape-ui.shape.type.half-frame','default','fonts$','oKey','docs-shape-ui.shape.type.bent-connector3-arrow1','_transform','defineProperty','ancestorTransform','docs-shape-ui.shape.type.ribbon','shapeModel','ShapeFlowChartSummingJunctionIcon','ShapeBentConnector3Icon','viewBound','ShapeHalfFrameIcon','docs-shape-ui.shape.type.chart-plus','_lastEditingShapeKey','ShapeDodecagonIcon','ShapeParallelogramIcon','13992jjGLFF','spaceAbove','GROUP','ShapeSnipRoundRectIcon','docs-shape-ui.shape.type.snip2-same-rect','ShapeActionButtonBlankIcon','Frame','MathNotEqual','string','LeftBracket','TRUE','getShapeTypeById','classType','ShapeFlowChartTerminatorIcon','isRichText','docs-shape-ui.shape.type.flow-chart-merge','QuadArrow','ShapeTriangleIcon','setOnSavingEditorData','image','ShapeRightBracketIcon','docs-shape-ui.shape.type.curved-connector3-arrow2','includes','flipY','_draw','ShapeFrameIcon','ShapeRound2SameRectIcon','ShapeCurvedUpArrowIcon','NoSmoking','Teardrop','_menuManagerService','_activeAdjustInfo','asObservable','docs-shape-ui.shape.type.action-button-end','onPointerMove$','BracketPair','docs-shape-ui.deleteShape','ActionButtonMovie','docs-shape-ui.textWrap.square','ShapeBevelIcon','TOP','ShapeAccentCallout3Icon','ShapeRectTextboxVerticalIcon','zeroWidthParagraphBreak','1379DPOKcH','remove$','docs-shape-ui.textWrap.topAndBottom','ShapeCornerIcon','clipByShape','docs-shape-ui.shape.type.action-button-information','getViewports','docs-shape-ui.shape.type.smiley-face','shapeText','ShapeLineIcon','ShapeNonIsoscelesTrapezoidIcon','RightTriangle','size','ShapeActionButtonHomeIcon','rectangle','ActionButtonHome','doc.command.menu-insert-shape','UNIVER_DOC','values','MathPlus','ActionButtonBackPrevious','Medium','docs-shape-ui.shape.type.star6','SHAPE','render','BlockArc','ShapeLeftUpArrowIcon','ShapeStar32Icon','docs-shape-ui.shape.type.flow-chart-punched-tape','getFocusDrawings','DOCS_SHAPE_UI_PLUGIN','ShapeDownArrowIcon','docs-shape-ui.shape.type.round2-same-rect','docs-shape-ui.shape.type.bevel','docs-shape-ui.shape.type.border-callout2','refreshShapeFillImage','Plaque','docs-shape-ui.shape.type.down-arrow-callout','MathMinus','docs-shape-ui.shape.type.corner','clearControl$','applyPoint','ShapeIrregularSeal2Icon','_updateShape','_sidebarService','UpDownArrowCallout','ShapeBentArrowIcon','HalfFrame','655704ybuNXR','BorderCallout2','docs-shape-ui.shape.type.pie','FlowchartMultiDocument','AccentBorderCallout1','_unitId','renderConfig','_getShapeAdjustInfosById','_disposePopups','target','Callout1','docs-shape-ui.shape.type.horizontal-scroll','strokeWidth','equationShape','name','_initEvents'];_0x2bd4=function(){return _0x299224;};return _0x2bd4();}Va=W([U(0x1,_0x33309c(_0x373df0)),U(0x2,_0x33309c(_0x23a71d)),U(0x3,_0x33309c(_0x52a9bb)),U(0x4,_0x33309c(_0x20066e))],Va);let $=class extends _0x289022{constructor(_0x2ad90e=Ea,_0x58b413,_0x5abfc4,_0xd4d92b,_0x54c85c){const _0x47fff1=_0x130702;super(),this['_config']=_0x2ad90e,this['_injector']=_0x58b413,this[_0x47fff1(0x22d)]=_0x5abfc4,this[_0x47fff1(0x361)]=_0xd4d92b,this[_0x47fff1(0x19a)]=_0x54c85c;let {menu:_0x1859b4,..._0x8c3003}=_0x269ee8({},Ea,this[_0x47fff1(0x2f9)]);_0x1859b4&&this[_0x47fff1(0x361)][_0x47fff1(0x400)](_0x47fff1(0x212),_0x1859b4,{'merge':!0x0}),this['_configService'][_0x47fff1(0x400)]('docs-shape-ui.config',_0x8c3003),this[_0x47fff1(0x17b)]();}[_0x130702(0x1b4)](){const _0x2459ae=_0x130702;this[_0x2459ae(0x379)][_0x2459ae(0x1c0)]([Pa]),this['_injector'][_0x2459ae(0x3e9)](Pa),_0x1ed5d3(this[_0x2459ae(0x379)],[[Y],[Q],[Z],[Ia],[G],[J]]),this[_0x2459ae(0x15c)]();}[_0x130702(0x3ff)](){const _0x361dcf=_0x130702;this[_0x361dcf(0x19a)][_0x361dcf(0x142)](_0x2ded89[_0x361dcf(0x29b)],[Ia]),this[_0x361dcf(0x19a)][_0x361dcf(0x142)](_0x2ded89['UNIVER_DOC'],[za]),this[_0x361dcf(0x19a)][_0x361dcf(0x142)](_0x2ded89[_0x361dcf(0x29b)],[Va]),_0x2afea8(this[_0x361dcf(0x379)],[[Y],[Q],[Z],[G],[J]]);}[_0x130702(0x17b)](){const _0x3dfb45=_0x130702;[B,ra,V]['forEach'](_0x5cf1a6=>this[_0x3dfb45(0x34a)](this['_commandService']['registerCommand'](_0x5cf1a6)));}[_0x130702(0x15c)](){const _0x53606=_0x130702;let _0x1049a6=this[_0x53606(0x379)],_0x1db6e7=_0x1049a6['get'](_0x2c4c79);this['disposeWithMe'](_0x1db6e7[_0x53606(0x2ed)](_0x55c578['CONTENT'],()=>_0x2ad088(Na,_0x1049a6)));}};q($,_0x130702(0x2f4),_0x2ded89['UNIVER_DOC']),q($,'pluginName',_0x130702(0x2a8)),q($,'packageName',wa),q($,_0x130702(0x243),Ta),$=W([_0x50e9e5(_0x4310f8,_0x68c679,_0x4f49b5),U(0x1,_0x33309c(_0x30da42)),U(0x2,_0x56458c),U(0x3,_0x241fe7),U(0x4,_0x446451)],$);export{ra as CloseDocShapeFormatPanelOperation,Y as DocsShapeUIController,B as MenuInsertShapeCommand,V as OpenDocShapeFormatPanelOperation,$ as UniverDocsShapeUIPlugin};
1
+ function _0x4c8b(_0x3f1a3e,_0x2057d9){_0x3f1a3e=_0x3f1a3e-0x6b;const _0xc6620d=_0xc662();let _0x4c8b77=_0xc6620d[_0x3f1a3e];return _0x4c8b77;}const _0x16658a=_0x4c8b;(function(_0x4763bf,_0x5d5b2c){const _0x256294=_0x4c8b,_0x3f7790=_0x4763bf();while(!![]){try{const _0xfbc7a=parseInt(_0x256294(0x16c))/0x1+-parseInt(_0x256294(0x1c6))/0x2+parseInt(_0x256294(0xc2))/0x3+-parseInt(_0x256294(0x16d))/0x4+-parseInt(_0x256294(0x369))/0x5*(parseInt(_0x256294(0x20c))/0x6)+parseInt(_0x256294(0x328))/0x7*(-parseInt(_0x256294(0xc9))/0x8)+parseInt(_0x256294(0x32e))/0x9;if(_0xfbc7a===_0x5d5b2c)break;else _0x3f7790['push'](_0x3f7790['shift']());}catch(_0x947e24){_0x3f7790['push'](_0x3f7790['shift']());}}}(_0xc662,0x66f07));import{DEFAULT_DOC_SHAPE_HEIGHT as _0x4e3c27,DEFAULT_DOC_SHAPE_WIDTH as _0x5bb50a,DocsShapeService as _0x24d037,InsertDocShapeMutation as _0x3c76b5,UniverDocsShapePlugin as _0x7c41d3,UpdateDocShapeDataCommand as _0x5ad227,UpdateDocShapeDataMutation as _0x525b71}from'@univerjs-pro/docs-shape';import{ImageSourceTypeEnum as _0x2e5d4f,ShapeArrowSizeEnum as _0x58d88e,ShapeArrowTypeEnum as _0x5f067d,ShapeDefaultConfig as _0x4b4a6c,ShapeFillEnum as _0x3098ec,ShapeLineTypeEnum as _0x585b4e,ShapeModel as _0xe0ca9e,ShapeRenderModeEnum as _0x32c821,ShapeTypeEnum as _0x579b63,isConnectorShape as _0x3d96f8}from'@univerjs-pro/engine-shape';import{BooleanNumber as _0x26d619,CommandType as _0x49ec85,DependentOn as _0x441f76,Disposable as _0x1e2586,DocumentDataModel as _0x70c71a,DrawingTypeEnum as _0x1ec8b5,FOCUSING_COMMON_DRAWINGS as _0x14aa69,FOCUSING_SHAPE_TEXT_EDITOR as _0x24f629,GridType as _0x221af7,HorizontalAlign as _0x3dd034,ICommandService as _0x44ffa4,IConfigService as _0x2675aa,IContextService as _0x8b2d1e,IURLImageService as _0x15fbfd,IUniverInstanceService as _0x236f41,Inject as _0x15b52f,Injector as _0x4dfdab,LocaleService as _0x4cdcfe,ObjectRelativeFromH as _0x3e2465,ObjectRelativeFromV as _0x15f131,Plugin as _0x445366,PositionedObjectLayoutType as _0x1bec57,Tools as _0x122eeb,UniverInstanceType as _0x3e815f,VerticalAlign as _0x55788f,WrapStrategy as _0x5f12db,WrapTextType as _0x39e877,createInternalEditorID as _0x178c3e,generateRandomId as _0x22b79c,merge as _0x34694b,registerDependencies as _0x129652,toDisposable as _0x1dcf7c,touchDependencies as _0x1e913b}from'@univerjs/core';import{DocContentInsertService as _0x2520b1,DocSelectionManagerService as _0x80837d}from'@univerjs/docs';import{DocDrawingPosition as _0x547edd,DocDrawingTextWrap as _0x3d4ee4,InsertDocDrawingCommand as _0x384ba0,RemoveDocDrawingCommand as _0xf44785,UniverDocsDrawingUIPlugin as _0x20f802}from'@univerjs/docs-drawing-ui';import{DOCS_COMPONENT_MAIN_LAYER_INDEX as _0x3e69da,DOC_CONTENT_INSERT_MENU_ID as _0x48c6d2,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x596bfe,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x53684d,DocCanvasPopManagerService as _0x3f84e2,DocParagraphMenuService as _0x17fcc9,DocSelectionRenderService as _0xff4989,EMPTY_PARAGRAPH_MENU_ID as _0x4144a1,INSERT_BELLOW_MENU_ID as _0x32bef1,VIEWPORT_KEY as _0x49d9be,docDrawingPositionToTransform as _0xab9510}from'@univerjs/docs-ui';import{CURSOR_TYPE as _0x5eba90,Circle as _0x442210,DRAWING_OBJECT_LAYER_INDEX as _0x9365ac,DocumentSkeleton as _0x2ba86b,DocumentViewModel as _0x2b5e86,Documents as _0x5686fd,IRenderManagerService as _0x2e40c6,RENDER_CLASS_TYPE as _0x166d66,Shape as _0x4d368a,Transform as _0x27fe9f,VERTICAL_ROTATE_ANGLE as _0x14d207,Vector2 as _0x3a2650}from'@univerjs/engine-render';import{IDrawingManagerService as _0x441a82,IImageIoService as _0x209190,getDrawingShapeKeyByDrawingSearch as _0x37e322}from'@univerjs/drawing';import{BuiltInUIPart as _0x21500d,ComponentManager as _0x169c16,ContextMenuGroup as _0x1e7d95,ContextMenuPosition as _0x5efae2,IFontService as _0x4d3925,IMenuManagerService as _0x59d4d1,ISidebarService as _0x30f27e,IUIPartsService as _0xda7b61,IconManager as _0x2d714f,MenuItemType as _0x3e142a,RibbonInsertGroup as _0x33e92f,connectInjector as _0x197648,getMenuHiddenObservable as _0x317481,useDependency as _0x4451a1}from'@univerjs/ui';import{Button as _0x548ee1,Dropdown as _0x440415}from'@univerjs/design';import{DrawingCommonPanel as _0xb3134,DrawingImageClipService as _0x25d8d6,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x3b22ba,insertGroupObject as _0x4d2eb5}from'@univerjs/drawing-ui';import{memo as _0x34514b,useEffect as _0x53c466,useMemo as _0x21d7e4,useState as _0x247e81}from'react';import{jsx as _0x44fa53,jsxs as _0x40634d}from'react/jsx-runtime';import{BehaviorSubject as _0x55e024}from'rxjs';import{ShapeEditPanel as _0x1e1596,ShapeFloatingToolbar as _0x34828e,ShapeTextEditorContainer as _0x4caede,ShapeTextFloatMenuRenderControllerBase as _0x28b878,ShapeTextFloatToolbar as _0x50b5c7,TextWrapShapeIcon as _0x46c592,buildShapeTextDataUpdate as _0x19c78f}from'@univerjs-pro/shape-editor-ui';import{UniverLicensePlugin as _0x18b2d3}from'@univerjs-pro/license';import{ShapeAccentBorderCallout1Icon as _0x5b8823,ShapeAccentBorderCallout2Icon as _0x54651d,ShapeAccentBorderCallout3Icon as _0x3f65b2,ShapeAccentCallout1Icon as _0x3cf6fc,ShapeAccentCallout2Icon as _0x46df5d,ShapeAccentCallout3Icon as _0x4c149d,ShapeActionButtonBackPreviousIcon as _0x265efa,ShapeActionButtonBeginningIcon as _0x41c47a,ShapeActionButtonBlankIcon as _0x436196,ShapeActionButtonDocumentIcon as _0x3814fc,ShapeActionButtonEndIcon as _0x309a58,ShapeActionButtonForwardNextIcon as _0x2d604c,ShapeActionButtonHelpIcon as _0x1ee73b,ShapeActionButtonHomeIcon as _0x31c689,ShapeActionButtonInformationIcon as _0x55c3be,ShapeActionButtonMovieIcon as _0x16e591,ShapeActionButtonReturnIcon as _0x3b6497,ShapeActionButtonSoundIcon as _0x5546e0,ShapeArcIcon as _0x55599c,ShapeBentArrowIcon as _0x378b53,ShapeBentConnector3Arrow1Icon as _0x510d7b,ShapeBentConnector3Arrow2Icon as _0x289027,ShapeBentConnector3Icon as _0x3bd55f,ShapeBentUpArrowIcon as _0x147512,ShapeBevelIcon as _0x4fa64b,ShapeBlockArcIcon as _0x26758e,ShapeBorderCallout1Icon as _0x2e51e2,ShapeBorderCallout2Icon as _0x2e89a3,ShapeBorderCallout3Icon as _0x1d35b6,ShapeBracePairIcon as _0xaf90e5,ShapeBracketPairIcon as _0x3916ef,ShapeCallout1Icon as _0x35fc99,ShapeCallout2Icon as _0x192cec,ShapeCallout3Icon as _0x180492,ShapeCanIcon as _0x5723e1,ShapeChartPlusIcon as _0x5d1eca,ShapeChartStarIcon as _0x567791,ShapeChartXIcon as _0x16672e,ShapeChevronIcon as _0x178655,ShapeChordIcon as _0x50dc84,ShapeCircularArrowIcon as _0x1d0624,ShapeCloudCalloutIcon as _0x82d67c,ShapeCloudIcon as _0x45e718,ShapeCornerIcon as _0x73c816,ShapeCornerTabsIcon as _0x1cb03e,ShapeCubeIcon as _0x5597da,ShapeCurvedConnector3Arrow1Icon as _0x4e73b0,ShapeCurvedConnector3Arrow2Icon as _0x497944,ShapeCurvedConnector3Icon as _0x13b19b,ShapeCurvedDownArrowIcon as _0x4ef6db,ShapeCurvedLeftArrowIcon as _0x5dad60,ShapeCurvedRightArrowIcon as _0x4b948c,ShapeCurvedUpArrowIcon as _0x1bcbb8,ShapeDecagonIcon as _0x4f4349,ShapeDiagStripeIcon as _0x32c42b,ShapeDiamondIcon as _0x244ecc,ShapeDodecagonIcon as _0x26aaf5,ShapeDonutIcon as _0x2c695c,ShapeDoubleWaveIcon as _0x771e93,ShapeDownArrowCalloutIcon as _0x27566a,ShapeDownArrowIcon as _0x4da57c,ShapeEllipseIcon as _0x24e4a8,ShapeEllipseRibbon2Icon as _0xc1b709,ShapeEllipseRibbonIcon as _0x1658c6,ShapeFlowChartAlternateProcessIcon as _0x472b68,ShapeFlowChartCollateIcon as _0x33210f,ShapeFlowChartConnectorIcon as _0x18f6ca,ShapeFlowChartDecisionIcon as _0x30e00b,ShapeFlowChartDelayIcon as _0x38c1a2,ShapeFlowChartDisplayIcon as _0x4db7c1,ShapeFlowChartDocumentIcon as _0x847751,ShapeFlowChartExtractIcon as _0x116c57,ShapeFlowChartInputOutputIcon as _0x50db84,ShapeFlowChartInternalStorageIcon as _0x30c4d2,ShapeFlowChartMagneticDiskIcon as _0x17ba7c,ShapeFlowChartMagneticDrumIcon as _0x347be0,ShapeFlowChartMagneticTapeIcon as _0x254f04,ShapeFlowChartManualInputIcon as _0x3d9e4e,ShapeFlowChartManualOperationIcon as _0x2696ce,ShapeFlowChartMergeIcon as _0x1651bc,ShapeFlowChartMultidocumentIcon as _0x1ee59b,ShapeFlowChartOfflineStorageIcon as _0x3c74a4,ShapeFlowChartOffpageConnectorIcon as _0x57ab56,ShapeFlowChartOnlineStorageIcon as _0x39bc29,ShapeFlowChartOrIcon as _0x47d9c1,ShapeFlowChartPredefinedProcessIcon as _0x277275,ShapeFlowChartPreparationIcon as _0x32e987,ShapeFlowChartProcessIcon as _0x5e47f8,ShapeFlowChartPunchedCardIcon as _0x27905c,ShapeFlowChartPunchedTapeIcon as _0xe2a396,ShapeFlowChartSortIcon as _0x296059,ShapeFlowChartSummingJunctionIcon as _0x5cb6c7,ShapeFlowChartTerminatorIcon as _0x1a42cc,ShapeFolderCornerIcon as _0x15792f,ShapeFrameIcon as _0x506279,ShapeFunnelIcon as _0x1388be,ShapeGear6Icon as _0x45c419,ShapeGear9Icon as _0xe71435,ShapeHalfFrameIcon as _0xf3b42f,ShapeHeartIcon as _0x41f64c,ShapeHeptagonIcon as _0x2d315c,ShapeHexagonIcon as _0x39d617,ShapeHomePlateIcon as _0x3d991f,ShapeHorizontalScrollIcon as _0x2e3290,ShapeIrregularSeal1Icon as _0x4ca65e,ShapeIrregularSeal2Icon as _0x530cd0,ShapeLeftArrowCalloutIcon as _0x391d52,ShapeLeftArrowIcon as _0xa95d58,ShapeLeftBraceIcon as _0x46c5d1,ShapeLeftBracketIcon as _0x4b33c0,ShapeLeftCircularArrowIcon as _0x74f66a,ShapeLeftRightArrowCalloutIcon as _0x1a1180,ShapeLeftRightArrowIcon as _0x26b24d,ShapeLeftRightCircularArrowIcon as _0x1ce7b8,ShapeLeftRightRibbonIcon as _0x3e284d,ShapeLeftRightUpArrowIcon as _0x24b0aa,ShapeLeftUpArrowIcon as _0x132a1b,ShapeLightningBoltIcon as _0x1fa692,ShapeLineIcon as _0x229f11,ShapeLineInvIcon as _0x1d307c,ShapeMathDivideIcon as _0x160353,ShapeMathEqualIcon as _0x588939,ShapeMathMinusIcon as _0x51ffba,ShapeMathMultiplyIcon as _0x582d06,ShapeMathNotEqualIcon as _0x4ae928,ShapeMathPlusIcon as _0x4840b3,ShapeMoonIcon as _0x1d5203,ShapeNoSmokingIcon as _0x6b479a,ShapeNonIsoscelesTrapezoidIcon as _0x32cef5,ShapeNotchedRightArrowIcon as _0x5bc6e9,ShapeOctagonIcon as _0x566370,ShapeParallelogramIcon as _0x3fbd8c,ShapePentagonIcon as _0x23992c,ShapePieIcon as _0x3b8117,ShapePieWedgeIcon as _0x34bb68,ShapePlaqueIcon as _0xfc42c,ShapePlaqueTabsIcon as _0x187eee,ShapePlusIcon as _0x5698ac,ShapeQuadArrowCalloutIcon as _0x7f02f4,ShapeQuadArrowIcon as _0x27a34a,ShapeRectIcon as _0x4043b2,ShapeRectTextboxHorizontalIcon as _0xeac023,ShapeRectTextboxVerticalIcon as _0x3ef691,ShapeRibbon2Icon as _0x2eac0d,ShapeRibbonIcon as _0x5a00b2,ShapeRightArrowCalloutIcon as _0x152af9,ShapeRightArrowIcon as _0x4925ac,ShapeRightBraceIcon as _0x3156fa,ShapeRightBracketIcon as _0xc28aeb,ShapeRound1RectIcon as _0x21429c,ShapeRound2DiagRectIcon as _0x27f843,ShapeRound2SameRectIcon as _0x576d44,ShapeRoundRectIcon as _0x3fdda6,ShapeRtTriangleIcon as _0x63e75b,ShapeSmileyFaceIcon as _0x5edb5c,ShapeSnip1RectIcon as _0xe35f57,ShapeSnip2DiagRectIcon as _0x35966d,ShapeSnip2SameRectIcon as _0x462d95,ShapeSnipRoundRectIcon as _0x246584,ShapeSquareTabsIcon as _0x3da3bf,ShapeStar10Icon as _0x15e306,ShapeStar12Icon as _0x403bf8,ShapeStar16Icon as _0x3c29c4,ShapeStar24Icon as _0x468bb8,ShapeStar32Icon as _0x3e3dd0,ShapeStar4Icon as _0x4c7299,ShapeStar5Icon as _0x1cfce5,ShapeStar6Icon as _0x23d32a,ShapeStar7Icon as _0x10359b,ShapeStar8Icon as _0x1a86d0,ShapeStraightConnector1Icon as _0x58f4bc,ShapeStraightConnector2Icon as _0x311327,ShapeStripedRightArrowIcon as _0x151c73,ShapeSunIcon as _0x3355b0,ShapeSwooshArrowIcon as _0x94f0da,ShapeTeardropIcon as _0x32a410,ShapeTrapezoidIcon as _0x42a08f,ShapeTriangleIcon as _0xe0a2ce,ShapeUpArrowCalloutIcon as _0x371ffa,ShapeUpArrowIcon as _0x55319a,ShapeUpDownArrowCalloutIcon as _0x111b35,ShapeUpDownArrowIcon as _0x533fa1,ShapeUturnArrowIcon as _0x29b19d,ShapeVerticalScrollIcon as _0x51797e,ShapeWaveIcon as _0x2141d8,ShapeWedgeEllipseCalloutIcon as _0x1f44d6,ShapeWedgeRectCalloutIcon as _0x2c4f60,ShapeWedgeRoundRectCalloutIcon as _0x32e76d}from'@univerjs/icons';const Zi=_0x16658a(0x18c),Qi='#2563EB';function $i(_0x5f1892,_0x40d2e8){const _0x578fa9=_0x16658a;if(_0x40d2e8){if(_0x3d96f8(_0x5f1892)&&(_0x40d2e8[_0x578fa9(0xcf)]||_0x40d2e8[_0x578fa9(0x327)]))return{'ln':{'startArrow':_0x40d2e8['startArrow']?{'type':_0x5f067d[_0x578fa9(0x293)],'size':_0x58d88e[_0x578fa9(0x209)]}:void 0x0,'endArrow':_0x40d2e8[_0x578fa9(0x327)]?{'type':_0x5f067d['Arrow'],'size':_0x58d88e[_0x578fa9(0xc4)]}:void 0x0}};if(_0x5f1892===_0x579b63[_0x578fa9(0xc0)]&&(_0x40d2e8['horizontal']||_0x40d2e8[_0x578fa9(0x38c)]))return{'fill':{'fillType':_0x3098ec[_0x578fa9(0x357)],'color':Zi},'stroke':{'lineStrokeType':_0x585b4e[_0x578fa9(0xc1)],'width':0x1,'color':Qi},'shapeText':{'isHorizontal':!!_0x40d2e8[_0x578fa9(0x372)]}};}}function ea(_0x3c79d1,_0x1c279b){const _0x288ce1=_0x16658a;var _0x269112;let _0x5dc109=_0x3c79d1[_0x288ce1(0x250)](_0x2e40c6)[_0x288ce1(0x1c7)](_0x1c279b),_0x751c98=_0x5dc109==null||(_0x269112=_0x5dc109[_0x288ce1(0x113)](_0xff4989)[_0x288ce1(0x35a)]())==null?void 0x0:_0x269112[_0x288ce1(0x1e8)]();return _0x751c98?{'left':_0x751c98['left'],'top':_0x751c98[_0x288ce1(0x288)]}:null;}function ta(_0x25d5e1,_0x2db566,_0x22050f){const _0x134b77=_0x16658a;var _0x23b0f7,_0x137a05,_0x70e40;if(!_0x22050f)return null;let _0x378d99=_0x25d5e1[_0x134b77(0x250)](_0x2e40c6)['getRenderById'](_0x2db566),_0x1c8a02=_0x378d99==null?void 0x0:_0x378d99[_0x134b77(0x113)](_0x17fcc9)[_0x134b77(0x214)];if(!_0x1c8a02)return null;let _0x12f290=_0x22050f===_0x134b77(0x364)?{'startOffset':_0x1c8a02[_0x134b77(0x34f)][_0x134b77(0x284)],'endOffset':_0x1c8a02['moveRange']['endOffset']}:_0x1c8a02[_0x134b77(0x2ea)];return{'range':{'unitId':_0x2db566,'startOffset':_0x12f290[_0x134b77(0x2c0)],'endOffset':_0x12f290['endOffset'],'segmentId':(_0x23b0f7=(_0x137a05=_0x1c8a02[_0x134b77(0x2da)])==null?void 0x0:_0x137a05['segmentId'])==null?'':_0x23b0f7},'position':(_0x70e40=_0x1c8a02[_0x134b77(0x2da)])!=null&&_0x70e40[_0x134b77(0x9b)]?{'left':_0x1c8a02[_0x134b77(0x2da)][_0x134b77(0x9b)][_0x134b77(0xfc)],'top':_0x22050f===_0x134b77(0x364)?_0x1c8a02[_0x134b77(0x2da)][_0x134b77(0x9b)][_0x134b77(0x22d)]:_0x1c8a02['paragraph'][_0x134b77(0x9b)][_0x134b77(0x288)]}:null};}function na(_0x350129,_0x2b09d2,_0x2fdc60){const _0x5641df=_0x16658a;var _0xd2fd2f;return{'size':{'width':_0x350129,'height':_0x2b09d2},'positionH':{'relativeFrom':_0x3e2465[_0x5641df(0x266)],'posOffset':(_0xd2fd2f=_0x2fdc60==null?void 0x0:_0x2fdc60[_0x5641df(0xfc)])==null?0x0:_0xd2fd2f},'positionV':{'relativeFrom':_0x15f131[_0x5641df(0x235)],'posOffset':0x0},'angle':0x0};}const B={'type':_0x49ec85['COMMAND'],'id':_0x16658a(0x217),'handler':async(_0x399dd2,_0x58ccb6)=>{const _0x53be7b=_0x16658a;var _0x9b2c9a,_0x2f27fd,_0x2c4a36,_0x55388d,_0x596a53,_0x17a767;let _0x4320a2=_0x399dd2[_0x53be7b(0x250)](_0x236f41)[_0x53be7b(0x289)]();if(!_0x4320a2)return!0x1;let _0x1ca10d=_0x399dd2[_0x53be7b(0x250)](_0x44ffa4),_0x483ab7=_0x4320a2[_0x53be7b(0x6b)](),_0x303deb=_0x483ab7,_0xf96492=(_0x9b2c9a=_0x58ccb6[_0x53be7b(0x123)])==null?_0x22b79c():_0x9b2c9a,_0x47f50f=(_0x2f27fd=_0x58ccb6[_0x53be7b(0x24b)])==null?_0x5bb50a:_0x2f27fd,_0x477820=(_0x2c4a36=_0x58ccb6[_0x53be7b(0x296)])==null?_0x4e3c27:_0x2c4a36,_0x52cd53=(_0x55388d=(_0x596a53=_0x58ccb6[_0x53be7b(0x136)])==null?$i(_0x58ccb6[_0x53be7b(0xf0)],_0x58ccb6[_0x53be7b(0x197)]):_0x596a53)==null?{'fill':{'fillType':_0x3098ec['SolidFill'],'color':Zi},'stroke':{'lineStrokeType':_0x585b4e[_0x53be7b(0xc1)],'width':0x1,'color':Qi}}:_0x55388d,_0x233044=ta(_0x399dd2,_0x483ab7,_0x58ccb6[_0x53be7b(0x12a)]),_0x5171b5=(_0x17a767=_0x233044==null?void 0x0:_0x233044[_0x53be7b(0x337)])==null?ea(_0x399dd2,_0x483ab7):_0x17a767,_0x619fdc=na(_0x47f50f,_0x477820,_0x5171b5),_0x285d05=_0xab9510(_0x619fdc);_0x285d05&&_0x5171b5&&(_0x285d05[_0x53be7b(0x288)]=_0x5171b5[_0x53be7b(0x288)]),_0x1ca10d[_0x53be7b(0x2a5)](_0x3c76b5['id'],{'unitId':_0x483ab7,'shapeId':_0xf96492,'shapeType':_0x58ccb6['value'],'shapeData':_0x52cd53}),_0x233044&&_0x399dd2[_0x53be7b(0x250)](_0x2520b1)[_0x53be7b(0xe8)](_0x233044[_0x53be7b(0x23b)]);let _0x63cd46={'unitId':_0x483ab7,'subUnitId':_0x303deb,'drawingId':_0xf96492,'drawingType':_0x1ec8b5['DRAWING_SHAPE'],'transform':_0x285d05,'docTransform':_0x619fdc,'data':{'shapeType':_0x58ccb6[_0x53be7b(0xf0)],'shapeData':_0x52cd53},'behindDoc':_0x26d619[_0x53be7b(0x307)],'title':'','description':'','layoutType':_0x1bec57[_0x53be7b(0x10a)],'wrapText':_0x39e877[_0x53be7b(0x302)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x1ca10d['syncExecuteCommand'](_0x384ba0['id'],{'unitId':_0x483ab7,'drawings':[_0x63cd46]});}},ra={'type':_0x49ec85[_0x16658a(0x153)],'id':_0x16658a(0xda),'handler'(){return!0x0;}},V={'type':_0x49ec85['OPERATION'],'id':_0x16658a(0x200),'handler'(){return!0x0;}},H=_0x16658a(0x30c),ia=_0x178c3e('SHAPE_TEXT');function U(_0x4c4cfc,_0x46492a){return function(_0xca3f41,_0x3fba52){_0x46492a(_0xca3f41,_0x3fba52,_0x4c4cfc);};}function W(_0x45785c,_0x505833,_0x43b1b4,_0x5eb9fd){const _0x73038d=_0x16658a;var _0x534f94=arguments['length'],_0x337a73=_0x534f94<0x3?_0x505833:_0x5eb9fd===null?_0x5eb9fd=Object[_0x73038d(0x3ac)](_0x505833,_0x43b1b4):_0x5eb9fd,_0x5f4846;if(typeof Reflect==_0x73038d(0x33b)&&typeof Reflect[_0x73038d(0x2d2)]==_0x73038d(0x10b))_0x337a73=Reflect[_0x73038d(0x2d2)](_0x45785c,_0x505833,_0x43b1b4,_0x5eb9fd);else{for(var _0x18cf34=_0x45785c[_0x73038d(0x3b8)]-0x1;_0x18cf34>=0x0;_0x18cf34--)(_0x5f4846=_0x45785c[_0x18cf34])&&(_0x337a73=(_0x534f94<0x3?_0x5f4846(_0x337a73):_0x534f94>0x3?_0x5f4846(_0x505833,_0x43b1b4,_0x337a73):_0x5f4846(_0x505833,_0x43b1b4))||_0x337a73);}return _0x534f94>0x3&&_0x337a73&&Object[_0x73038d(0x1e1)](_0x505833,_0x43b1b4,_0x337a73),_0x337a73;}let G=class extends _0x1e2586{constructor(_0x537d87,_0x226fbd){const _0x3d3937=_0x16658a;super(),this[_0x3d3937(0x2c1)]=_0x537d87,this[_0x3d3937(0x2ff)]=_0x226fbd,this['_registerImageShapeClipDelegate'](),this['_clipService'][_0x3d3937(0xab)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x3d3937(0x2c1)][_0x3d3937(0xab)](!0x1)});}[_0x16658a(0x126)](){const _0x250bb5=_0x16658a;let _0x475e65=new Map(),_0x3e9637=this['_clipService'][_0x250bb5(0x3c4)]((_0x301e92,_0x5a0358,_0x50ad78,_0x4309f9,_0x377a13)=>{const _0x5f4895=_0x250bb5;let _0x28214a=_0x5a0358;if(_0x28214a===_0x579b63[_0x5f4895(0x2f7)]||_0x5a0358==='custom')return!0x1;try{let _0x31e6b5=_0x475e65['get'](_0x5a0358);return _0x31e6b5||(_0x31e6b5=new _0xe0ca9e(_0x28214a,'clip-'+_0x5a0358),_0x475e65[_0x5f4895(0x323)](_0x5a0358,_0x31e6b5)),_0x377a13&&_0x31e6b5[_0x5f4895(0x3bf)]({'adjustValues':_0x377a13},!0x0),_0x31e6b5[_0x5f4895(0x192)]({'width':_0x50ad78,'height':_0x4309f9}),_0x31e6b5[_0x5f4895(0x256)](_0x301e92,{'left':0x0,'top':0x0,'width':_0x50ad78,'height':_0x4309f9});}catch{return!0x1;}});this[_0x250bb5(0x28d)](_0x3e9637),this['disposeWithMe']({'dispose':()=>_0x475e65['clear']()});}[_0x16658a(0x86)](_0x2e7af1,_0x31bd30,_0x5909bd,_0x2075e9,_0x145d10){const _0x43801d=_0x16658a;let _0x1097b5=this['_drawingManagerService'][_0x43801d(0x173)](_0x2e7af1,_0x31bd30)[_0x5909bd];!_0x1097b5||_0x1097b5[_0x43801d(0x37f)]!==_0x1ec8b5[_0x43801d(0x18e)]||this[_0x43801d(0x2ff)]['featurePluginUpdateNotification']([{..._0x1097b5,'prstGeom':_0x2075e9,'adjustValues':_0x145d10}]);}};G=W([U(0x0,_0x15b52f(_0x25d8d6)),U(0x1,_0x15b52f(_0x441a82))],G);const aa=[{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0xd9)],'icon':_0x16658a(0x2ce),'name':_0x16658a(0x35c)},{'group':'line','type':_0x579b63[_0x16658a(0x1f6)],'icon':_0x16658a(0xe7),'name':_0x16658a(0x12f),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1f6)],'icon':'ShapeStraightConnector2Icon','name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1fd)],'icon':_0x16658a(0x294),'name':_0x16658a(0x317)},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1fd)],'icon':_0x16658a(0x281),'name':_0x16658a(0x3ad),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63['BentConnector3'],'icon':_0x16658a(0x13e),'name':_0x16658a(0xc5),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':_0x579b63['CurvedConnector3'],'icon':_0x16658a(0x2bb),'name':_0x16658a(0x23c)},{'group':_0x16658a(0x3b0),'type':_0x579b63['CurvedConnector3'],'icon':_0x16658a(0x2de),'name':_0x16658a(0x9c),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x8b)],'icon':_0x16658a(0x23d),'name':_0x16658a(0x25f),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x16658a(0x107),'type':_0x579b63['Rect'],'icon':_0x16658a(0x169),'name':_0x16658a(0x7b)},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0x1c2)],'icon':_0x16658a(0x299),'name':'docs-shape-ui.shape.type.round-rect'},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0xbd)],'icon':_0x16658a(0x83),'name':_0x16658a(0x2a3)},{'group':_0x16658a(0x107),'type':_0x579b63['Snip2SameRect'],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0x159)],'icon':_0x16658a(0x141),'name':_0x16658a(0x390)},{'group':_0x16658a(0x107),'type':_0x579b63['SnipRoundRect'],'icon':_0x16658a(0x34c),'name':_0x16658a(0x160)},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0xe6)],'icon':_0x16658a(0x90),'name':_0x16658a(0x17b)},{'group':_0x16658a(0x107),'type':_0x579b63['Round2SameRect'],'icon':'ShapeRound2SameRectIcon','name':_0x16658a(0x33d)},{'group':_0x16658a(0x107),'type':_0x579b63['Round2DiagRect'],'icon':'ShapeRound2DiagRectIcon','name':_0x16658a(0x146)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xc0)],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x16658a(0x380),'horizontal':!0x0},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xc0)],'icon':_0x16658a(0x1b0),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x32c)],'icon':_0x16658a(0x194),'name':_0x16658a(0x305)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x178)],'icon':_0x16658a(0x12c),'name':_0x16658a(0x11d)},{'group':'basicShape','type':_0x579b63['RightTriangle'],'icon':_0x16658a(0x331),'name':_0x16658a(0x170)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x353)],'icon':_0x16658a(0xa0),'name':_0x16658a(0x285)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x22b)],'icon':'ShapeTrapezoidIcon','name':_0x16658a(0x2bd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2dc)],'icon':_0x16658a(0x2f4),'name':_0x16658a(0x172)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x379)],'icon':_0x16658a(0x2e4),'name':_0x16658a(0x259)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2d7)],'icon':_0x16658a(0x3c0),'name':'docs-shape-ui.shape.type.hexagon'},{'group':_0x16658a(0x358),'type':_0x579b63['Heptagon'],'icon':_0x16658a(0x3aa),'name':_0x16658a(0x10f)},{'group':_0x16658a(0x358),'type':_0x579b63['Octagon'],'icon':'ShapeOctagonIcon','name':_0x16658a(0x267)},{'group':_0x16658a(0x358),'type':_0x579b63['Decagon'],'icon':_0x16658a(0x143),'name':_0x16658a(0x261)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x166)],'icon':_0x16658a(0x17c),'name':_0x16658a(0x346)},{'group':_0x16658a(0x358),'type':_0x579b63['Pie'],'icon':'ShapePieIcon','name':_0x16658a(0xcd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x26b)],'icon':_0x16658a(0x397),'name':_0x16658a(0x386)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2b8)],'icon':_0x16658a(0x25a),'name':'docs-shape-ui.shape.type.teardrop'},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2ed)],'icon':_0x16658a(0x1e3),'name':_0x16658a(0x2aa)},{'group':'basicShape','type':_0x579b63['HalfFrame'],'icon':_0x16658a(0x389),'name':'docs-shape-ui.shape.type.half-frame'},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2fb)],'icon':'ShapeCornerIcon','name':_0x16658a(0x2d6)},{'group':_0x16658a(0x358),'type':_0x579b63['DiagStripe'],'icon':_0x16658a(0x1c8),'name':_0x16658a(0x3c1)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xaa)],'icon':_0x16658a(0x6d),'name':_0x16658a(0x28a)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x1c4)],'icon':'ShapePlaqueIcon','name':_0x16658a(0x290)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x17e)],'icon':'ShapeCanIcon','name':_0x16658a(0x2ae)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x130)],'icon':_0x16658a(0xa9),'name':'docs-shape-ui.shape.type.cube'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x38b)],'icon':_0x16658a(0x1c1),'name':'docs-shape-ui.shape.type.bevel'},{'group':_0x16658a(0x358),'type':_0x579b63['Donut'],'icon':_0x16658a(0x210),'name':_0x16658a(0x1ef)},{'group':'basicShape','type':_0x579b63['NoSmoking'],'icon':_0x16658a(0x131),'name':_0x16658a(0x38a)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xdc)],'icon':_0x16658a(0x3b2),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x274)],'icon':'ShapeFolderCornerIcon','name':_0x16658a(0x371)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2b7)],'icon':_0x16658a(0x3a4),'name':_0x16658a(0x265)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2a2)],'icon':_0x16658a(0x8e),'name':_0x16658a(0x20d)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x3a5)],'icon':_0x16658a(0x355),'name':_0x16658a(0xa4)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x25e)],'icon':'ShapeSunIcon','name':_0x16658a(0x1e2)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x103)],'icon':_0x16658a(0x29c),'name':_0x16658a(0x348)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xd2)],'icon':_0x16658a(0xef),'name':_0x16658a(0x32d)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xea)],'icon':_0x16658a(0x233),'name':_0x16658a(0x351)},{'group':_0x16658a(0x358),'type':_0x579b63['BracketPair'],'icon':_0x16658a(0x1c9),'name':_0x16658a(0x3b4)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x25b)],'icon':'ShapeBracePairIcon','name':'docs-shape-ui.shape.type.brace-pair'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x1fe)],'icon':_0x16658a(0x255),'name':_0x16658a(0x3a0)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2f9)],'icon':'ShapeRightBracketIcon','name':_0x16658a(0x73)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x182)],'icon':_0x16658a(0x253),'name':_0x16658a(0x1bd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x17f)],'icon':_0x16658a(0x82),'name':'docs-shape-ui.shape.type.right-brace'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x1c0)],'icon':_0x16658a(0x1c3),'name':_0x16658a(0x343)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x345)],'icon':_0x16658a(0x77),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x252)],'icon':'ShapeUpArrowIcon','name':_0x16658a(0x2a6)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x2a1)],'icon':_0x16658a(0x2cb),'name':_0x16658a(0x2c4)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x111)],'icon':_0x16658a(0x1af),'name':_0x16658a(0x163)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xa5)],'icon':'ShapeUpDownArrowIcon','name':_0x16658a(0x205)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x152)],'icon':_0x16658a(0x1fa),'name':'docs-shape-ui.shape.type.quad-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xd1)],'icon':'ShapeLeftRightUpArrowIcon','name':_0x16658a(0x89)},{'group':_0x16658a(0x2ca),'type':_0x579b63['BentArrow'],'icon':_0x16658a(0x203),'name':'docs-shape-ui.shape.type.bent-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63['UturnArrow'],'icon':'ShapeUturnArrowIcon','name':_0x16658a(0x1a1)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x232)],'icon':'ShapeLeftUpArrowIcon','name':_0x16658a(0x8d)},{'group':_0x16658a(0x2ca),'type':_0x579b63['BentUpArrow'],'icon':_0x16658a(0x177),'name':_0x16658a(0x322)},{'group':'blockArrow','type':_0x579b63['CurvedRightArrow'],'icon':_0x16658a(0x376),'name':_0x16658a(0xe0)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x3ae)],'icon':_0x16658a(0x242),'name':_0x16658a(0x3c3)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0xfb)],'icon':'ShapeCurvedUpArrowIcon','name':_0x16658a(0x14c)},{'group':_0x16658a(0x2ca),'type':_0x579b63['CurvedDownArrow'],'icon':_0x16658a(0x257),'name':_0x16658a(0x20a)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x10c)],'icon':'ShapeStripedRightArrowIcon','name':'docs-shape-ui.shape.type.striped-right-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x98)],'icon':_0x16658a(0x1b9),'name':_0x16658a(0x2e8)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0xf2)],'icon':'ShapeHomePlateIcon','name':_0x16658a(0x225)},{'group':_0x16658a(0x2ca),'type':_0x579b63['Chevron'],'icon':_0x16658a(0x1ee),'name':_0x16658a(0x26e)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x14d)],'icon':_0x16658a(0x269),'name':_0x16658a(0xa6)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x1d3)],'icon':_0x16658a(0x14a),'name':_0x16658a(0x32f)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x196)],'icon':'ShapeLeftArrowCalloutIcon','name':_0x16658a(0x110)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x1e5)],'icon':_0x16658a(0x2af),'name':_0x16658a(0x158)},{'group':'blockArrow','type':_0x579b63['LeftRightArrowCallout'],'icon':_0x16658a(0x1a9),'name':'docs-shape-ui.shape.type.left-right-arrow-callout'},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x304)],'icon':_0x16658a(0x1ac),'name':_0x16658a(0x33c)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xee)],'icon':_0x16658a(0x2b1),'name':_0x16658a(0xc6)},{'group':_0x16658a(0x27e),'type':_0x579b63['MathPlus'],'icon':_0x16658a(0x251),'name':_0x16658a(0x37c)},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x13c)],'icon':'ShapeMathMinusIcon','name':_0x16658a(0x321)},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x19b)],'icon':_0x16658a(0x199),'name':_0x16658a(0x12e)},{'group':'equationShape','type':_0x579b63[_0x16658a(0x15f)],'icon':_0x16658a(0xec),'name':'docs-shape-ui.shape.type.math-divide'},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x34a)],'icon':_0x16658a(0x17d),'name':_0x16658a(0x361)},{'group':_0x16658a(0x27e),'type':_0x579b63['MathNotEqual'],'icon':_0x16658a(0x341),'name':_0x16658a(0x38e)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x2d4)],'icon':_0x16658a(0x1b8),'name':'docs-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':_0x579b63[_0x16658a(0x11b)],'icon':_0x16658a(0x132),'name':_0x16658a(0x80)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x275)],'icon':'ShapeFlowChartDecisionIcon','name':_0x16658a(0x35f)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x20f)],'icon':'ShapeFlowChartInputOutputIcon','name':_0x16658a(0x2dd)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x28e)],'icon':_0x16658a(0x104),'name':_0x16658a(0xb8)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x36f)],'icon':_0x16658a(0x19a),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartDocument'],'icon':'ShapeFlowChartDocumentIcon','name':_0x16658a(0xd0)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x35d)],'icon':_0x16658a(0x12b),'name':_0x16658a(0x21d)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x1b5)],'icon':_0x16658a(0xa2),'name':_0x16658a(0x133)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':_0x16658a(0x9d)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartManualInput'],'icon':_0x16658a(0x25d),'name':_0x16658a(0x1b2)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x311)],'icon':_0x16658a(0x125),'name':_0x16658a(0x2f2)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartConnector'],'icon':_0x16658a(0x30e),'name':_0x16658a(0x29e)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x14b)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x16658a(0x1f4)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x36b)],'icon':_0x16658a(0x308),'name':_0x16658a(0x128)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartPunchedTape'],'icon':_0x16658a(0x21a),'name':'docs-shape-ui.shape.type.flow-chart-punched-tape'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartSummingJunction'],'icon':_0x16658a(0x316),'name':_0x16658a(0x39f)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x8f)],'icon':_0x16658a(0xae),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartCollate'],'icon':_0x16658a(0x157),'name':_0x16658a(0x243)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x280)],'icon':_0x16658a(0xdf),'name':_0x16658a(0xe3)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x13b)],'icon':_0x16658a(0x394),'name':_0x16658a(0x2f5)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartMerge'],'icon':_0x16658a(0x363),'name':_0x16658a(0xb7)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x1ad)],'icon':_0x16658a(0x3b9),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':'flowchart','type':_0x579b63[_0x16658a(0xaf)],'icon':_0x16658a(0x334),'name':_0x16658a(0xe4)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x2ad)],'icon':_0x16658a(0x365),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x329)],'icon':_0x16658a(0x27d),'name':_0x16658a(0x2c7)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x387)],'icon':'ShapeFlowChartMagneticDrumIcon','name':_0x16658a(0x101)},{'group':'flowchart','type':_0x579b63[_0x16658a(0xb2)],'icon':_0x16658a(0xce),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x287)],'icon':_0x16658a(0x27f),'name':_0x16658a(0x118)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x148)],'icon':_0x16658a(0x29d),'name':_0x16658a(0x2fd)},{'group':_0x16658a(0x315),'type':_0x579b63['Star4'],'icon':_0x16658a(0x8a),'name':_0x16658a(0x271)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x336)],'icon':_0x16658a(0x16a),'name':_0x16658a(0x1ab)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x245)],'icon':_0x16658a(0x124),'name':_0x16658a(0x21c)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x30f)],'icon':_0x16658a(0x270),'name':'docs-shape-ui.shape.type.star7'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0xd8)],'icon':_0x16658a(0x11e),'name':_0x16658a(0x14e)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x1e9)],'icon':'ShapeStar10Icon','name':'docs-shape-ui.shape.type.star10'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x71)],'icon':_0x16658a(0x3bd),'name':_0x16658a(0x10d)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x332)],'icon':'ShapeStar16Icon','name':'docs-shape-ui.shape.type.star16'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x32a)],'icon':_0x16658a(0x1de),'name':_0x16658a(0x325)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x1d0)],'icon':_0x16658a(0x31d),'name':_0x16658a(0x164)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x356)],'icon':'ShapeRibbon2Icon','name':_0x16658a(0x246)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x2ef)],'icon':_0x16658a(0x171),'name':_0x16658a(0xf5)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x1d9)],'icon':_0x16658a(0x7f),'name':_0x16658a(0x165)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x190)],'icon':'ShapeEllipseRibbonIcon','name':_0x16658a(0x2e1)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x37d)],'icon':'ShapeVerticalScrollIcon','name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':'starAndBanner','type':_0x579b63['HorizontalScroll'],'icon':_0x16658a(0xe5),'name':_0x16658a(0x1b3)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x167)],'icon':_0x16658a(0x18d),'name':_0x16658a(0x212)},{'group':'starAndBanner','type':_0x579b63['DoubleWave'],'icon':_0x16658a(0x91),'name':'docs-shape-ui.shape.type.double-wave'},{'group':'callout','type':_0x579b63[_0x16658a(0x201)],'icon':'ShapeWedgeRectCalloutIcon','name':_0x16658a(0x1ff)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x342)],'icon':_0x16658a(0x7d),'name':_0x16658a(0x362)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0xe1)],'icon':_0x16658a(0x26f),'name':'docs-shape-ui.shape.type.wedge-ellipse-callout'},{'group':_0x16658a(0xb6),'type':_0x579b63['CloudCallout'],'icon':_0x16658a(0x382),'name':_0x16658a(0xff)},{'group':_0x16658a(0xb6),'type':_0x579b63['BorderCallout1'],'icon':_0x16658a(0x97),'name':'docs-shape-ui.shape.type.border-callout1'},{'group':_0x16658a(0xb6),'type':_0x579b63['BorderCallout2'],'icon':'ShapeBorderCallout2Icon','name':_0x16658a(0x384)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x2e5)],'icon':'ShapeBorderCallout3Icon','name':'docs-shape-ui.shape.type.border-callout3'},{'group':'callout','type':_0x579b63['AccentCallout1'],'icon':_0x16658a(0x2e0),'name':_0x16658a(0x2e9)},{'group':_0x16658a(0xb6),'type':_0x579b63['AccentCallout2'],'icon':_0x16658a(0x366),'name':_0x16658a(0xd5)},{'group':'callout','type':_0x579b63[_0x16658a(0x2a7)],'icon':_0x16658a(0xc7),'name':_0x16658a(0x191)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x354)],'icon':_0x16658a(0x37b),'name':_0x16658a(0x312)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x155)],'icon':_0x16658a(0x94),'name':_0x16658a(0x19c)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x138)],'icon':_0x16658a(0x1bb),'name':_0x16658a(0x23a)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x207)],'icon':_0x16658a(0xd7),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':'callout','type':_0x579b63['AccentBorderCallout2'],'icon':_0x16658a(0x20e),'name':_0x16658a(0x119)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x1d7)],'icon':_0x16658a(0x1b6),'name':_0x16658a(0x1d6)},{'group':_0x16658a(0x21e),'type':_0x579b63['LeftCircularArrow'],'icon':_0x16658a(0x15a),'name':'docs-shape-ui.shape.type.left-circular-arrow'},{'group':_0x16658a(0x21e),'type':_0x579b63['LeftRightCircularArrow'],'icon':_0x16658a(0x24c),'name':'docs-shape-ui.shape.type.left-right-circular-arrow'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x1bc)],'icon':_0x16658a(0x2e7),'name':'docs-shape-ui.shape.type.swoosh-arrow'},{'group':'other','type':_0x579b63['LeftRightRibbon'],'icon':_0x16658a(0x106),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x16658a(0x21e),'type':_0x579b63['PieWedge'],'icon':'ShapePieWedgeIcon','name':'docs-shape-ui.shape.type.pie-wedge'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x84)],'icon':'ShapeFunnelIcon','name':'docs-shape-ui.shape.type.funnel'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x28b)],'icon':_0x16658a(0x31c),'name':'docs-shape-ui.shape.type.gear6'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x263)],'icon':_0x16658a(0xbc),'name':_0x16658a(0x3c2)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x28c)],'icon':_0x16658a(0x184),'name':_0x16658a(0x29b)},{'group':'other','type':_0x579b63[_0x16658a(0x9a)],'icon':_0x16658a(0x350),'name':_0x16658a(0x175)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x279)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x16658a(0x202)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x10e)],'icon':_0x16658a(0x2e6),'name':_0x16658a(0x27b)},{'group':'other','type':_0x579b63[_0x16658a(0x396)],'icon':_0x16658a(0x326),'name':_0x16658a(0x2c3)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x1bf)],'icon':_0x16658a(0x187),'name':_0x16658a(0x22a)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x347)],'icon':_0x16658a(0x179),'name':_0x16658a(0x224)},{'group':'other','type':_0x579b63[_0x16658a(0x1ca)],'icon':_0x16658a(0xb5),'name':_0x16658a(0x156)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x399)],'icon':_0x16658a(0xdb),'name':'docs-shape-ui.shape.type.action-button-movie'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x340)],'icon':_0x16658a(0x272),'name':_0x16658a(0xe2)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x339)],'icon':_0x16658a(0x1d8),'name':_0x16658a(0x22e)},{'group':_0x16658a(0x21e),'type':_0x579b63['ActionButtonHelp'],'icon':_0x16658a(0x120),'name':_0x16658a(0x258)},{'group':'other','type':_0x579b63[_0x16658a(0x333)],'icon':_0x16658a(0x330),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':'other','type':_0x579b63[_0x16658a(0x223)],'icon':'ShapeChartPlusIcon','name':_0x16658a(0x142)},{'group':_0x16658a(0x21e),'type':_0x579b63['ChartStar'],'icon':_0x16658a(0x39d),'name':_0x16658a(0x2ab)},{'group':'other','type':_0x579b63['ChartX'],'icon':_0x16658a(0x1ed),'name':_0x16658a(0x168)},{'group':_0x16658a(0x21e),'type':_0x579b63['FlowChartOfflineStorage'],'icon':'ShapeFlowChartOfflineStorageIcon','name':'docs-shape-ui.shape.type.flow-chart-offline-storage'},{'group':_0x16658a(0x21e),'type':_0x579b63['LineInv'],'icon':'ShapeLineInvIcon','name':_0x16658a(0xca)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x6f)],'icon':_0x16658a(0x188),'name':_0x16658a(0x2be)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x3b7)],'icon':'ShapeSquareTabsIcon','name':_0x16658a(0x2ec)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x218)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x16658a(0x228)},{'group':'other','type':_0x579b63[_0x16658a(0x176)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x16658a(0x34b)}],oa=_0x16658a(0x1d2);function sa({onShapeClick:_0x210b88,excludeGroups:_0x3a5663}){const _0x50fada=_0x16658a;let _0x12c3bb=_0x4451a1(_0x4cdcfe),_0x2ac88f=_0x4451a1(_0x2d714f),_0xafa46c=(_0x3a5663?aa[_0x50fada(0x2fe)](_0x3e578c=>!_0x3a5663[_0x50fada(0x22c)](_0x3e578c[_0x50fada(0x23e)])):aa)[_0x50fada(0xc8)]((_0x4bbeca,_0xa278e)=>(_0x4bbeca[_0xa278e[_0x50fada(0x23e)]]||(_0x4bbeca[_0xa278e['group']]=[]),_0x4bbeca[_0xa278e[_0x50fada(0x23e)]][_0x50fada(0x2f3)](_0xa278e),_0x4bbeca),{});return _0x44fa53('div',{'className':_0x50fada(0x2d3),'children':Object[_0x50fada(0x1dd)](_0xafa46c)[_0x50fada(0x375)](([_0x541977,_0x1ce760])=>_0x40634d(_0x50fada(0x174),{'className':_0x50fada(0x1df),'children':[_0x44fa53(_0x50fada(0x174),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x12c3bb['t'](_0x50fada(0x1dc)+_0x541977)}),_0x44fa53('div',{'className':_0x50fada(0x370),'children':_0x1ce760[_0x50fada(0x375)](_0x501752=>{const _0x859596=_0x50fada;let _0xcd9cdc=_0x2ac88f[_0x859596(0x250)](_0x501752[_0x859596(0x237)]);return _0x44fa53(_0x859596(0x174),{'title':_0x12c3bb['t'](_0x501752['name']),'onClick':()=>_0x210b88(_0x501752),'className':_0x859596(0x39c),'children':_0xcd9cdc&&_0x44fa53(_0xcd9cdc,{'className':_0x859596(0x244)})},_0x501752[_0x859596(0x7a)]);})})]},_0x541977))});}function ca(){const _0x3382b1=_0x16658a;let _0x1bb58e=_0x4451a1(_0x4cdcfe),_0x17e415=_0x4451a1(_0x441a82),_0x137dc4=_0x4451a1(G),[_0x3dd51c,_0x20610b]=_0x247e81(!0x1);return _0x44fa53(_0x440415,{'side':_0x3382b1(0xfc),'open':_0x3dd51c,'onOpenChange':_0x20610b,'overlay':_0x44fa53(sa,{'onShapeClick':_0x217db5=>{const _0x42a05a=_0x3382b1;let _0x596565=_0x17e415[_0x42a05a(0x102)]()[_0x42a05a(0x1e0)](_0xb1d275=>_0xb1d275[_0x42a05a(0x37f)]===_0x1ec8b5[_0x42a05a(0x18e)]);if(!_0x596565)return;let {unitId:_0xa51213,subUnitId:_0xaa162d,drawingId:_0x1551ff}=_0x596565;_0x137dc4[_0x42a05a(0x86)](_0xa51213,_0xaa162d,_0x1551ff,_0x217db5[_0x42a05a(0x229)]),_0x20610b(!0x1);},'excludeGroups':['line']}),'children':_0x44fa53(_0x548ee1,{'children':_0x1bb58e['t'](_0x3382b1(0xb0))})});}function la({paragraphMenuPlacement:_0x7bcdd6}){let _0x522f1a=_0x4451a1(_0x44ffa4);return _0x44fa53(sa,{'onShapeClick':_0x5eb3a4=>{const _0x3b449b=_0x4c8b;_0x522f1a[_0x3b449b(0x204)](B['id'],{'paragraphMenuPlacement':_0x7bcdd6,'value':_0x5eb3a4[_0x3b449b(0x229)],'enhanceParams':{'endArrow':_0x5eb3a4[_0x3b449b(0x327)],'startArrow':_0x5eb3a4[_0x3b449b(0xcf)],'horizontal':_0x5eb3a4[_0x3b449b(0x372)],'vertical':_0x5eb3a4['vertical']}});}});}function ua(_0x52ed54){const _0x2bae7a=_0x16658a;return _0x2257b1=>({'id':B['id'],'type':_0x3e142a['SELECTOR'],'selections':[{'label':{'name':oa,'hoverable':!0x1,'selectable':!0x1,'props':_0x52ed54?{'id':B['id'],'paragraphMenuPlacement':_0x52ed54}:{'id':B['id']}}}],'icon':'ShapeIcon','title':_0x2bae7a(0x1f0),'tooltip':_0x2bae7a(0x1f0),'hidden$':_0x317481(_0x2257b1,_0x3e815f[_0x2bae7a(0x2a0)])});}const da=ua(),fa=ua(_0x16658a(0x364)),pa=ua('target'),ma={[_0x33e92f[_0x16658a(0xa3)]]:{[B['id']]:{'order':0x4,'menuItemFactory':da}},[_0x5efae2[_0x16658a(0x235)]]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[_0x32bef1]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x48c6d2]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x4144a1]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':pa}}},[_0x53684d]:{'insert':{[B['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':da}}},[_0x596bfe]:{'insert':{[B['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':fa}}}}};function K(_0x71030){'@babel/helpers - typeof';const _0x381ede=_0x16658a;return K=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x381ede(0x2cc)?function(_0x15be69){return typeof _0x15be69;}:function(_0x59d05f){const _0x188cc4=_0x381ede;return _0x59d05f&&typeof Symbol==_0x188cc4(0x10b)&&_0x59d05f['constructor']===Symbol&&_0x59d05f!==Symbol[_0x188cc4(0x2d8)]?'symbol':typeof _0x59d05f;},K(_0x71030);}function ha(_0x43a0d2,_0x3f3d84){const _0x2b48ae=_0x16658a;if(K(_0x43a0d2)!='object'||!_0x43a0d2)return _0x43a0d2;var _0x3f2c44=_0x43a0d2[Symbol[_0x2b48ae(0x301)]];if(_0x3f2c44!==void 0x0){var _0x52d8b7=_0x3f2c44[_0x2b48ae(0x264)](_0x43a0d2,_0x3f3d84||_0x2b48ae(0x319));if(K(_0x52d8b7)!=_0x2b48ae(0x33b))return _0x52d8b7;throw TypeError(_0x2b48ae(0x25c));}return(_0x3f3d84===_0x2b48ae(0x1a4)?String:Number)(_0x43a0d2);}function ga(_0x4d721f){const _0x2c7f74=_0x16658a;var _0x34cf4e=ha(_0x4d721f,_0x2c7f74(0x1a4));return K(_0x34cf4e)==_0x2c7f74(0x2cc)?_0x34cf4e:_0x34cf4e+'';}function q(_0x5dc134,_0x27f48d,_0x1cd750){const _0x30f048=_0x16658a;return(_0x27f48d=ga(_0x27f48d))in _0x5dc134?Object[_0x30f048(0x1e1)](_0x5dc134,_0x27f48d,{'value':_0x1cd750,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5dc134[_0x27f48d]=_0x1cd750,_0x5dc134;}var J=class extends _0x1e2586{constructor(..._0x490516){const _0x56dc4f=_0x16658a;super(..._0x490516),q(this,_0x56dc4f(0x282),new _0x55e024(null)),q(this,_0x56dc4f(0x13a),this['_editingParams$'][_0x56dc4f(0x2c2)]()),q(this,_0x56dc4f(0x9f),new _0x55e024(!0x1)),q(this,_0x56dc4f(0x391),this[_0x56dc4f(0x9f)][_0x56dc4f(0x2c2)]());}[_0x16658a(0x2f1)](){const _0x112fb1=_0x16658a;this[_0x112fb1(0x282)]['next'](null),this[_0x112fb1(0x282)][_0x112fb1(0xfd)](),this['_onSavingEditorData$'][_0x112fb1(0x213)](!0x1),this[_0x112fb1(0x9f)][_0x112fb1(0xfd)](),super[_0x112fb1(0x2f1)]();}[_0x16658a(0x335)](_0x49028b){const _0x21d8c4=_0x16658a;this[_0x21d8c4(0x282)][_0x21d8c4(0x213)](_0x49028b),_0x49028b==null&&this[_0x21d8c4(0x9f)][_0x21d8c4(0x213)](!0x1);}[_0x16658a(0x195)](_0x48d3cc){const _0x15564e=_0x16658a;this['_onSavingEditorData$'][_0x15564e(0x213)](_0x48d3cc);}[_0x16658a(0x2c9)](){return this['_editingParams$']['getValue']();}};function _a(_0x2bd95e,_0x48b460,_0x3e32f3,_0x2ab4c8,_0x146c3a,_0x2032d6){const _0x2a16e9=_0x16658a;let _0x2b08e2={'unitId':_0x48b460,'shapeId':_0x2ab4c8,'shapeData':_0x2032d6,'oldShapeJSON':_0x146c3a};return _0x2bd95e[_0x2a16e9(0x204)](_0x5ad227['id'],_0x2b08e2);}function va(_0x245e7c,_0x227faf,_0x5bd672,_0xa93fa3,_0x5ce30b,_0x5b29cb){const _0x2618a6=_0x16658a;let _0x4960fe={'unitId':_0x227faf,'shapeId':_0xa93fa3,'shapeData':_0x5b29cb,'oldShapeJSON':_0x5ce30b};return _0x245e7c[_0x2618a6(0x204)](_0x5ad227['id'],_0x4960fe);}const ya='doc.shape.floating-toolbar';function ba(_0x483557){const _0x1097c7=_0x16658a;let _0x2e25b0=_0x483557[_0x1097c7(0x116)];return _0x2e25b0&&_0x1097c7(0x139)in _0x2e25b0&&_0x2e25b0['dataModel']?_0x2e25b0[_0x1097c7(0x139)]:null;}function xa(_0x11889d){const _0x4ddeaf=_0x16658a;var _0x5f2785,_0x218eea,_0x2cb334,_0x54726d;let _0x1743c7=(_0x5f2785=ba(_0x11889d))==null?void 0x0:_0x5f2785[_0x4ddeaf(0x1a8)],_0x3c163f=(_0x218eea=_0x1743c7==null||(_0x2cb334=_0x1743c7[_0x4ddeaf(0x15b)])==null||(_0x2cb334=_0x2cb334[_0x4ddeaf(0x2cd)])==null||(_0x2cb334=_0x2cb334[0x0])==null?void 0x0:_0x2cb334['ts'])==null?{}:_0x218eea;return{..._0x1743c7==null||(_0x54726d=_0x1743c7[_0x4ddeaf(0x12d)])==null?void 0x0:_0x54726d['textStyle'],..._0x3c163f};}function Sa(_0x201281,_0x3daebb){const _0x4c5ed5=_0x16658a;var _0x4a8a8c;let _0x1dd618=_0x201281==null||(_0x4a8a8c=_0x201281[_0x4c5ed5(0x349)]()[_0x4c5ed5(0x283)])==null?void 0x0:_0x4a8a8c[_0x3daebb];return _0x1dd618?_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57['WRAP_NONE']?_0x1dd618[_0x4c5ed5(0x2a8)]===_0x26d619['TRUE']?'behindText':_0x4c5ed5(0x1aa):_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57['WRAP_SQUARE']?_0x4c5ed5(0x7e):_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57[_0x4c5ed5(0x3be)]?'wrapTopAndBottom':_0x4c5ed5(0x39b):'inline';}function Ca(_0xd087e3){const _0x1cfca9=_0x16658a;var _0x3d4863,_0xa86026,_0x4990b6;let _0xff7e4e=_0xd087e3[_0x1cfca9(0xf8)][_0x1cfca9(0x36d)],_0x3caf9a=_0x4451a1(_0x44ffa4),_0x4fac01=_0x4451a1(_0x4cdcfe),_0x50dc46=_0x4451a1(_0x24d037),_0x58141c=_0x4451a1(_0x236f41),_0x41d21b=_0x4451a1(_0x4d3925),{unitId:_0x5114f5,subUnitId:_0x25a149,drawingId:_0x137318,shapeType:_0x5cfb36}=_0xff7e4e,[_0x17b101,_0x376aa7]=_0x247e81(_0xff7e4e[_0x1cfca9(0x136)]),[_0x3b9f13,_0x5b56a5]=_0x247e81(()=>_0x41d21b[_0x1cfca9(0x2bc)]()),_0x1e181f=(_0x3d4863=_0x58141c['getUnit'](_0x5114f5,_0x3e815f[_0x1cfca9(0x2a0)]))==null?void 0x0:_0x3d4863,[_0x907fc8,_0x3c8465]=_0x247e81(()=>Sa(_0x1e181f,_0x137318)),_0x1a28b6=_0x21d7e4(()=>xa(_0x17b101),[_0x17b101]),_0x3f3efc=_0x21d7e4(()=>ba(_0x17b101),[_0x17b101]);_0x53c466(()=>{const _0x3ec9ec=_0x1cfca9;let _0x1c0661=_0x3caf9a['onCommandExecuted'](_0x4b8dc3=>{const _0x41ceac=_0x4c8b;if(_0x4b8dc3['id']!==_0x525b71['id'])return;let _0x17ac37=_0x50dc46[_0x41ceac(0x87)](_0x5114f5,_0x25a149,_0x137318);_0x17ac37&&_0x376aa7(_0x17ac37);});return()=>_0x1c0661[_0x3ec9ec(0x2f1)]();},[_0x3caf9a,_0x50dc46,_0x137318,_0x25a149,_0x5114f5]),_0x53c466(()=>{const _0x3138aa=_0x1cfca9;let _0x24b361=_0x41d21b['fonts$']['subscribe'](_0x3684cb=>{_0x5b56a5(_0x3684cb);});return()=>_0x24b361[_0x3138aa(0x1fb)]();},[_0x41d21b]);let _0x301aa8=_0x4f25d0=>{_0x376aa7(_0x4f8fb6=>({..._0x4f8fb6,..._0x4f25d0}));},_0x1947e0=_0x60ded7=>{const _0x2d5e64=_0x1cfca9;let _0x23c5b9=_0x19c78f(_0x17b101,_0x60ded7);_a(_0x3caf9a,_0x5114f5,_0x25a149,_0x137318,{'oldShapeData':{'shapeText':_0x17b101[_0x2d5e64(0x116)]}},_0x23c5b9),_0x301aa8(_0x23c5b9);},_0x257ae0=_0x4cb08e=>{const _0xf92af4=_0x1cfca9;_0x3c8465(_0x4cb08e),_0x3caf9a['executeCommand'](_0xf92af4(0x2b0),{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawings':[{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318}],'wrappingStyle':_0x4cb08e});},_0x139e1d=_0x3b9f13['map'](_0x11a1d9=>({'label':_0x4fac01['t'](_0x11a1d9[_0x1cfca9(0x18b)]),'value':_0x11a1d9[_0x1cfca9(0xf0)]})),_0x4e854f=[{'label':_0x4fac01['t']('docs-shape-ui.textWrap.inline'),'value':_0x1cfca9(0x39b),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.square'),'value':_0x1cfca9(0x7e),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.topAndBottom'),'value':'wrapTopAndBottom','icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t'](_0x1cfca9(0x140)),'value':_0x1cfca9(0x19d),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x1cfca9(0x1aa),'icon':_0x44fa53(_0x46c592,{})}];return _0x44fa53(_0x34828e,{'shapeData':_0x17b101,'shapeType':_0x5cfb36,'textStyle':{'cl':{'rgb':_0x1cfca9(0x3a9)},..._0x1a28b6},'textModel':_0x3f3efc?{'ha':(_0xa86026=_0x3f3efc['ha'])==null?_0x3dd034[_0x1cfca9(0x2b4)]:_0xa86026,'va':(_0x4990b6=_0x3f3efc['va'])==null?_0x55788f[_0x1cfca9(0x1cc)]:_0x4990b6}:null,'fontOptions':_0x139e1d,'wrappingStyle':_0x907fc8,'wrappingStyleOptions':_0x4e854f,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x2c194c,_0x2437d5)=>{_a(_0x3caf9a,_0x5114f5,_0x25a149,_0x137318,_0x2c194c,_0x2437d5),_0x2437d5&&_0x301aa8(_0x2437d5);},'onUpdateText':_0x1947e0,'onUpdateWrappingStyle':_0x27f8c6=>_0x257ae0(_0x27f8c6),'onOpenPanel':()=>{_0x3caf9a['executeCommand'](V['id'],{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318});},'onDelete':()=>{const _0x3c596e=_0x1cfca9;_0x3caf9a[_0x3c596e(0x204)](_0xf44785['id'],{'unitId':_0x5114f5,'drawings':[{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318}]});}});}let Y=class extends _0x1e2586{constructor(_0x445cd4,_0x1af157,_0x3d09ea,_0x30c125,_0x40b05e,_0x552474,_0x574348,_0x1e391e,_0x46df9f,_0xc8fc21,_0x4f38f7){const _0x52df55=_0x16658a;super(),this[_0x52df55(0x8c)]=_0x445cd4,this[_0x52df55(0x96)]=_0x1af157,this['_menuManagerService']=_0x3d09ea,this[_0x52df55(0x378)]=_0x30c125,this['_localeService']=_0x40b05e,this[_0x52df55(0x313)]=_0x552474,this['_drawingManagerService']=_0x574348,this[_0x52df55(0xb3)]=_0x1e391e,this[_0x52df55(0xdd)]=_0x46df9f,this[_0x52df55(0xad)]=_0xc8fc21,this[_0x52df55(0x309)]=_0x4f38f7,q(this,'_sidebarDisposable',null),q(this,_0x52df55(0x31b),null),q(this,_0x52df55(0x17a),!0x1),q(this,'_shapeEditPanelVersion',0x0),q(this,'_initializedShapePopupMenu',new Set()),q(this,_0x52df55(0x1eb),[]),this[_0x52df55(0x16f)](),this['disposeWithMe'](this[_0x52df55(0x8c)]['getCurrentTypeOfUnit$'](_0x3e815f[_0x52df55(0x2a0)])[_0x52df55(0x1d5)](_0x45217e=>{const _0x17a35a=_0x52df55;if(!_0x45217e){var _0x42b3fd;(_0x42b3fd=this[_0x17a35a(0x1a6)])==null||_0x42b3fd[_0x17a35a(0x2f1)]();return;}this[_0x17a35a(0x1f5)](_0x45217e);})),this[_0x52df55(0x300)](),this[_0x52df55(0x11a)](),this[_0x52df55(0x28d)](this[_0x52df55(0x309)][_0x52df55(0x13a)][_0x52df55(0x1d5)](_0x464d46=>{const _0x2577c0=_0x52df55;_0x464d46&&this[_0x2577c0(0x112)]();}));}[_0x16658a(0x16f)](){const _0x306a8c=_0x16658a;this['_menuManagerService'][_0x306a8c(0x383)](ma);}[_0x16658a(0x11a)](){const _0x1e67a8=_0x16658a;this['_univerInstanceService'][_0x1e67a8(0x1d1)](_0x3e815f['UNIVER_DOC'])[_0x1e67a8(0x122)](_0x14c041=>this['_createShapePopupMenu'](_0x14c041));}[_0x16658a(0x39e)](_0x59d71d,_0x1bbc6c,_0x23060b,_0x420187){const _0xd70f37=_0x16658a;return[{'label':_0xd70f37(0x135),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b},'disable':_0x420187===_0x1ec8b5[_0xd70f37(0x11f)]},{'label':_0xd70f37(0x314),'index':0x1,'commandId':_0xf44785['id'],'commandParams':{'unitId':_0x59d71d,'drawings':[{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':ra['id'],'commandParams':{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b},'disable':!0x1}];}[_0x16658a(0xfa)](_0x3facd8,_0x2f589b,_0x4fa92b){const _0x21c2e5=_0x16658a;let _0x5d5c68=this[_0x21c2e5(0x378)]['getShapeTypeById'](_0x3facd8,_0x2f589b,_0x4fa92b),_0x5d62b8=this[_0x21c2e5(0x378)][_0x21c2e5(0x87)](_0x3facd8,_0x2f589b,_0x4fa92b);return _0x5d5c68!==void 0x0&&_0x5d62b8!==void 0x0?{'shapeData':_0x5d62b8,'shapeId':_0x4fa92b,'shapeType':_0x5d5c68,'unitId':_0x3facd8,'subUnitId':_0x2f589b,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x1d6d4f){const _0x5737d4=_0x16658a;if(!_0x1d6d4f)return;let _0x37c4fe=_0x1d6d4f[_0x5737d4(0x6b)]();this[_0x5737d4(0xdd)][_0x5737d4(0xd3)](_0x37c4fe)&&!this[_0x5737d4(0xcb)][_0x5737d4(0xd3)](_0x37c4fe)&&(this[_0x5737d4(0x344)](_0x37c4fe),this['_initializedShapePopupMenu'][_0x5737d4(0x2fc)](_0x37c4fe));}['_clearPopups'](){const _0x5c2a7c=_0x16658a;this['_disposePopups']['forEach'](_0x581a05=>_0x581a05['dispose']()),this[_0x5c2a7c(0x1eb)][_0x5c2a7c(0x3b8)]=0x0;}[_0x16658a(0x344)](_0x4f30b0){const _0x11ae1c=_0x16658a;var _0x4baf4c;let _0x2d92c8=(_0x4baf4c=this['_renderManagerService']['getRenderById'](_0x4f30b0))==null?void 0x0:_0x4baf4c[_0x11ae1c(0xd4)],_0x321a2c=_0x2d92c8==null?void 0x0:_0x2d92c8[_0x11ae1c(0x234)]();!_0x2d92c8||!_0x321a2c||(this[_0x11ae1c(0x28d)](_0x321a2c[_0x11ae1c(0xb1)]['subscribe'](()=>{const _0x2e62b2=_0x11ae1c;let _0x2113fc=_0x321a2c[_0x2e62b2(0x262)]();if(this['_clearPopups'](),this[_0x2e62b2(0x17a)]||_0x2113fc[_0x2e62b2(0x352)]>0x1)return;let _0x241438=_0x2113fc['values']()[_0x2e62b2(0x213)]()[_0x2e62b2(0xf0)];if(!_0x241438)return;let _0x5ec556=this[_0x2e62b2(0x2ff)][_0x2e62b2(0x1cd)](_0x241438[_0x2e62b2(0x220)]);if(!_0x5ec556||_0x5ec556[_0x2e62b2(0x37f)]!==_0x1ec8b5[_0x2e62b2(0x2b5)])return;let {unitId:_0x422e75,subUnitId:_0x4da130,drawingId:_0x534b8d,drawingType:_0x325c81}=_0x5ec556,_0x2f6c73=this['_getShapeInfo'](_0x422e75,_0x4da130,_0x534b8d);if(!_0x2f6c73)return;let _0x5c6f04=this['_docCanvasPopManagerService'][_0x2e62b2(0x3b5)](_0x241438,{'componentKey':ya,'direction':_0x2e62b2(0x2ee),'offset':[0x0,0x8],'extraProps':{'unitId':_0x422e75,'subUnitId':_0x4da130,'drawingId':_0x534b8d,'drawingType':_0x325c81,'shapeType':_0x2f6c73[_0x2e62b2(0x208)],'shapeData':_0x2f6c73['shapeData']}},_0x422e75);this[_0x2e62b2(0x1eb)][_0x2e62b2(0x2f3)](this[_0x2e62b2(0x28d)](_0x5c6f04)),this[_0x2e62b2(0x2ff)][_0x2e62b2(0x102)]()[_0x2e62b2(0x1e0)](_0x56b3b7=>_0x56b3b7[_0x2e62b2(0x392)]===_0x422e75&&_0x56b3b7['subUnitId']===_0x4da130&&_0x56b3b7['drawingId']===_0x534b8d)||this[_0x2e62b2(0x2ff)][_0x2e62b2(0x36a)]([{'unitId':_0x422e75,'subUnitId':_0x4da130,'drawingId':_0x534b8d}]);})),this[_0x11ae1c(0x28d)](_0x321a2c['clearControl$'][_0x11ae1c(0x1d5)](()=>{const _0x3f7015=_0x11ae1c;this['_clearPopups'](),this[_0x3f7015(0xad)][_0x3f7015(0x15e)](_0x14aa69,!0x1),this['_drawingManagerService']['focusDrawing'](null);})),this['disposeWithMe'](_0x321a2c[_0x11ae1c(0x198)][_0x11ae1c(0x1d5)](()=>{const _0x2d095c=_0x11ae1c;this[_0x2d095c(0x112)]();})),this[_0x11ae1c(0x28d)](_0x321a2c[_0x11ae1c(0x108)][_0x11ae1c(0x1d5)](()=>{this['_clearPopups']();})));}['_registerOperations'](){const _0xb8465d=_0x16658a;this[_0xb8465d(0x28d)](this[_0xb8465d(0x313)][_0xb8465d(0x338)](_0x35834f=>{const _0x5194d6=_0xb8465d;if(_0x35834f['id']===V['id']){let {unitId:_0x233b61,subUnitId:_0x226c83,drawingId:_0x570e19}=_0x35834f[_0x5194d6(0x99)];this['_shapeEditPanelVersion']+=0x1,this[_0x5194d6(0x31b)]=this[_0x5194d6(0xfa)](_0x233b61,_0x226c83,_0x570e19),this[_0x5194d6(0x112)](),this[_0x5194d6(0x15c)]();}if(_0x35834f['id']===ra['id']&&(this[_0x5194d6(0x31b)]=null,this[_0x5194d6(0x35e)]()),_0x35834f['id']===_0x525b71['id']){let {unitId:_0x35147b,shapeId:_0x5b84bb}=_0x35834f[_0x5194d6(0x99)];if(this[_0x5194d6(0x31b)]&&this['_activeShapeInfo'][_0x5194d6(0x123)]===_0x5b84bb){let _0x4639f2=this['_getShapeInfo'](_0x35147b,this[_0x5194d6(0x31b)][_0x5194d6(0x183)],_0x5b84bb);_0x4639f2&&(this['_shapeEditPanelVersion']+=0x1,_0x4639f2[_0x5194d6(0x28f)]=this['_shapeEditPanelVersion'],this['_activeShapeInfo']=_0x4639f2,this['_isOpenedShapeEditPanel']&&this[_0x5194d6(0x15c)]());}}})),this['disposeWithMe'](this[_0xb8465d(0x2ff)][_0xb8465d(0x1f9)]['subscribe'](_0x3a071c=>{const _0x533310=_0xb8465d;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3a071c[_0x533310(0x3b8)]===0x0){this[_0x533310(0x31b)]=null,this[_0x533310(0x35e)]();return;}if(_0x3a071c[_0x533310(0x3b8)]===0x1&&_0x3a071c[0x0][_0x533310(0x37f)]===_0x1ec8b5['DRAWING_SHAPE']&&(this[_0x533310(0x29f)]+=0x1,this['_activeShapeInfo']=this[_0x533310(0xfa)](_0x3a071c[0x0][_0x533310(0x392)],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this['_activeShapeInfo'])){this['_openShapeEditPanel']();return;}let _0x331355=_0x3a071c[_0x533310(0x2fe)](_0x2c8dfb=>_0x2c8dfb[_0x533310(0x37f)]===_0x1ec8b5[_0x533310(0x2b5)]);if(_0x3a071c[_0x533310(0x3b8)]>0x1&&_0x331355[_0x533310(0x3b8)]===_0x3a071c[_0x533310(0x3b8)]){if(this[_0x533310(0x29f)]+=0x1,this[_0x533310(0x31b)]=this['_getShapeInfo'](_0x3a071c[0x0][_0x533310(0x392)],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this['_activeShapeInfo']){this[_0x533310(0x15c)]();return;}}else{if(this[_0x533310(0x29f)]+=0x1,this[_0x533310(0x31b)]=this[_0x533310(0xfa)](_0x3a071c[0x0]['unitId'],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this[_0x533310(0x31b)]){this[_0x533310(0x31b)]['disableShapeOption']=!0x0,this[_0x533310(0x15c)]();return;}}this['_closeShapeEditPanel']();}));}[_0x16658a(0x15c)](){const _0x535ae8=_0x16658a;this[_0x535ae8(0x31b)]&&(this[_0x535ae8(0x1a6)]=this[_0x535ae8(0x96)]['open']({'id':H,'header':{'title':this[_0x535ae8(0x240)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':H,...this[_0x535ae8(0x31b)]},'onClose':()=>{const _0xd29e4=_0x535ae8;this['_drawingManagerService'][_0xd29e4(0x36a)](null),this[_0xd29e4(0xad)]['setContextValue'](_0x14aa69,!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x16658a(0x35e)](){const _0x525c8e=_0x16658a;this[_0x525c8e(0x17a)]=!0x1,this[_0x525c8e(0x96)]['close'](H),this['_sidebarDisposable']=null,this['_contextService'][_0x525c8e(0x15e)](_0x14aa69,!0x1),this[_0x525c8e(0x2ff)][_0x525c8e(0x36a)](null);}};Y=W([U(0x0,_0x236f41),U(0x1,_0x15b52f(_0x30f27e)),U(0x2,_0x59d4d1),U(0x3,_0x15b52f(_0x24d037)),U(0x4,_0x15b52f(_0x4cdcfe)),U(0x5,_0x44ffa4),U(0x6,_0x441a82),U(0x7,_0x15b52f(_0x3f84e2)),U(0x8,_0x2e40c6),U(0x9,_0x8b2d1e),U(0xa,_0x15b52f(J))],Y);var wa=_0x16658a(0x239),Ta=_0x16658a(0x324);const Ea={};function Da(_0x1478f0){const _0x180b6=_0x16658a;var _0x517e65,_0x2c8dcf,_0x49abe0,_0x503593;let _0x43a98b=(_0x517e65=(_0x2c8dcf=_0x1478f0[_0x180b6(0x15b)])==null||(_0x2c8dcf=_0x2c8dcf[_0x180b6(0x2f0)])==null?void 0x0:_0x2c8dcf[_0x180b6(0x3b8)])==null?0x0:_0x517e65,_0x48337e=(_0x49abe0=_0x1478f0[_0x180b6(0x15b)])==null?void 0x0:_0x49abe0[_0x180b6(0x206)];if(_0x48337e!=null&&_0x48337e['length'])for(let _0x1cde2d of _0x48337e){var _0x2a38bd;_0x1cde2d['gridType']=(_0x2a38bd=_0x1cde2d[_0x180b6(0x2b6)])==null?_0x221af7['DEFAULT']:_0x2a38bd;}else _0x1478f0[_0x180b6(0x15b)]&&(_0x1478f0[_0x180b6(0x15b)]['sectionBreaks']=[{'startIndex':Math[_0x180b6(0xba)](0x0,_0x43a98b-0x1),'gridType':_0x221af7[_0x180b6(0x31f)]}]);let _0xb97825=(_0x503593=_0x1478f0[_0x180b6(0x15b)])==null?void 0x0:_0x503593[_0x180b6(0x3bc)];if(_0xb97825)for(let _0x499ee5 of _0xb97825){var _0x2b7dc5,_0x85676f,_0x406fe6,_0x18253d,_0x1a8e10,_0x3bca3e,_0x4db34e,_0x23041f;_0x499ee5['paragraphStyle']={..._0x499ee5['paragraphStyle'],'lineSpacing':(_0x2b7dc5=(_0x85676f=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x85676f[_0x180b6(0x2f6)])==null?0x1:_0x2b7dc5,'snapToGrid':(_0x406fe6=(_0x18253d=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x18253d[_0x180b6(0x1e7)])==null?_0x26d619[_0x180b6(0x307)]:_0x406fe6,'spaceAbove':(_0x1a8e10=(_0x3bca3e=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x3bca3e[_0x180b6(0x85)])==null?{'v':0x0}:_0x1a8e10,'spaceBelow':(_0x4db34e=(_0x23041f=_0x499ee5['paragraphStyle'])==null?void 0x0:_0x23041f[_0x180b6(0x1a3)])==null?{'v':0x0}:_0x4db34e};}}function Oa(_0x73d96c){const _0x5d87a8=_0x16658a;let _0x1d205d=_0x73d96c[_0x5d87a8(0x15b)],_0xbdcbd1=_0x1d205d==null?void 0x0:_0x1d205d['paragraphs'],_0x2ac0af=_0x1d205d==null?void 0x0:_0x1d205d[_0x5d87a8(0x2f0)];if(!_0x1d205d||!(_0xbdcbd1!=null&&_0xbdcbd1['length'])||!_0x2ac0af)return;let _0x19e0a8=[];for(let _0x5606fd=0x0;_0x5606fd<_0x2ac0af[_0x5d87a8(0x3b8)];_0x5606fd++)_0x2ac0af[_0x5606fd]==='\x0d'&&_0x19e0a8[_0x5d87a8(0x2f3)](_0x5606fd);_0x19e0a8[_0x5d87a8(0x3b8)]===_0xbdcbd1[_0x5d87a8(0x3b8)]&&(_0x1d205d['paragraphs']=_0xbdcbd1[_0x5d87a8(0x375)]((_0x2fbcd0,_0xa81384)=>({..._0x2fbcd0,'startIndex':_0x19e0a8[_0xa81384]})));}function ka(_0x3af5cd,_0x13d135){const _0x30d4a7=_0x16658a;var _0x28240c,_0x3dd5b8,_0x202a66;let {isHorizontal:_0x404dd5,textRect:_0x2da318,verticalAlign:_0x49383e}=_0x13d135,_0x52a1c5=_0x404dd5?_0x2da318['width']:_0x2da318[_0x30d4a7(0x296)],_0x8743e4=_0x122eeb[_0x30d4a7(0x2d5)](_0x3af5cd),_0x35a52f=(_0x28240c=_0x8743e4[_0x30d4a7(0x12d)])==null?{}:_0x28240c,_0x29deb4={..._0x35a52f['renderConfig'],'centerAngle':_0x404dd5?0x0:_0x14d207,'vertexAngle':_0x404dd5?0x0:_0x14d207,'wrapStrategy':_0x5f12db[_0x30d4a7(0x16b)],'zeroWidthParagraphBreak':(_0x3dd5b8=(_0x202a66=_0x35a52f['renderConfig'])==null?void 0x0:_0x202a66[_0x30d4a7(0x3b6)])==null?_0x26d619[_0x30d4a7(0x260)]:_0x3dd5b8};if(_0x49383e!==void 0x0&&(_0x29deb4[_0x30d4a7(0x273)]=_0x49383e),_0x13d135['horizontalAlign']!==void 0x0){var _0x3897a0;_0x29deb4[_0x30d4a7(0x222)]=_0x13d135['horizontalAlign'];let _0x4a92cc=(_0x3897a0=_0x8743e4[_0x30d4a7(0x15b)])==null?void 0x0:_0x3897a0[_0x30d4a7(0x3bc)];if(_0x4a92cc){for(let _0x511d88 of _0x4a92cc)_0x511d88[_0x30d4a7(0x3b3)]||(_0x511d88[_0x30d4a7(0x3b3)]={}),_0x511d88[_0x30d4a7(0x3b3)][_0x30d4a7(0x222)]=_0x13d135[_0x30d4a7(0x222)];}}return _0x8743e4[_0x30d4a7(0x12d)]={..._0x35a52f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x52a1c5,'height':0x1/0x0},'renderConfig':_0x29deb4},Oa(_0x8743e4),Da(_0x8743e4),_0x8743e4;}var X=class extends _0x4d368a{constructor(_0x1059f1,_0x35fb9a){const _0x104c7f=_0x16658a;super(_0x1059f1,_0x35fb9a),q(this,_0x104c7f(0x1a5),void 0x0),q(this,'_transformCalculateSrcRect',!0x0),q(this,_0x104c7f(0x115),_0x1ec8b5['DRAWING_SHAPE']),q(this,_0x104c7f(0x27c),!0x0),this['_props']={..._0x35fb9a},this['_init']();}['_init'](){const _0x26e3f1=_0x16658a;this['onTransformChange$'][_0x26e3f1(0x3bb)](_0xfdcbc9=>{const _0x426410=_0x26e3f1;this[_0x426410(0x7c)](_0xfdcbc9);});}[_0x16658a(0x3a7)](_0x1c493f){const _0x1ee101=_0x16658a;this[_0x1ee101(0x1a5)]['prstGeom']=_0x1c493f;}['setEditing'](_0x4968f2){this['_props']['isEditing']=_0x4968f2,this['makeDirty'](!0x0);}get['unitId'](){const _0x4624d1=_0x16658a;return this['_props'][_0x4624d1(0x392)];}get[_0x16658a(0x183)](){const _0x4498e1=_0x16658a;return this[_0x4498e1(0x1a5)][_0x4498e1(0x183)];}[_0x16658a(0x7c)](_0x1a3fbc){const _0xb04508=_0x16658a;if(this[_0xb04508(0x1a5)]['srcRect']==null||!this[_0xb04508(0x1ae)])return;let {width:_0x300381,height:_0x3d2cab}=this,{width:_0x5e6547=0x0,height:_0x5f0b13=0x0}=_0x1a3fbc[_0xb04508(0x134)],{left:_0x5dc427=0x0,top:_0x28fe2c=0x0,right:_0x2f83d9=0x0,bottom:_0x4cc380=0x0}=this['_props']['srcRect'],_0x185b22=_0x5dc427,_0xfd7aa8=_0x28fe2c,_0x15027d=_0x2f83d9,_0x1f5fbe=_0x4cc380,_0x2db08b=!0x1;if(_0x5e6547!==0x0&&_0x5e6547!==_0x300381){let _0x2fb187=_0x5dc427/_0x5e6547,_0x954b73=_0x2f83d9/_0x5e6547;_0x185b22=_0x300381*_0x2fb187,_0x15027d=_0x300381*_0x954b73,_0x2db08b=!0x0;}if(_0x5f0b13!==0x0&&_0x5f0b13!==_0x3d2cab){let _0x2a7446=_0x28fe2c/_0x5f0b13,_0x3051a5=_0x4cc380/_0x5f0b13;_0xfd7aa8=_0x3d2cab*_0x2a7446,_0x1f5fbe=_0x3d2cab*_0x3051a5,_0x2db08b=!0x0;}_0x2db08b&&this[_0xb04508(0x193)]({'left':_0x185b22,'top':_0xfd7aa8,'right':_0x15027d,'bottom':_0x1f5fbe});}[_0x16658a(0x193)](_0x57fea4){const _0x163c58=_0x16658a;this[_0x163c58(0x1a5)][_0x163c58(0x13d)]=_0x57fea4,this[_0x163c58(0x185)](!0x0);}[_0x16658a(0x27a)](_0x165062){const _0x3a0226=_0x16658a;this[_0x3a0226(0x1a5)][_0x3a0226(0x226)]=_0x165062,this[_0x3a0226(0x185)](!0x0);}set[_0x16658a(0x76)](_0x49358e){const _0x1766c6=_0x16658a;this[_0x1766c6(0x298)]=_0x49358e;}get[_0x16658a(0x76)](){const _0x47323e=_0x16658a;this[_0x47323e(0x298)]||this[_0x47323e(0x227)]();let _0x4b7e9d=this[_0x47323e(0x298)][_0x47323e(0x2b2)]();return this['transformForAngle'](_0x4b7e9d);}get['shapeModel'](){const _0xbd752d=_0x16658a;return this[_0xbd752d(0x1a5)][_0xbd752d(0x38f)];}get[_0x16658a(0x123)](){const _0x20c004=_0x16658a;return this['_props'][_0x20c004(0x123)];}get[_0x16658a(0x1a7)](){const _0x20afef=_0x16658a;return _0x166d66[_0x20afef(0x3a2)];}[_0x16658a(0x215)](_0xd613f9,_0xd17100,_0x38eb04,_0x10f1e2){const _0x3a23b9=_0x16658a;let _0x38f9ab=this[_0x3a23b9(0x1a5)][_0x3a23b9(0x38f)];if(!_0x38f9ab||!_0xd17100)return;let _0x37324e=_0x38eb04==null?this['width']:_0x38eb04,_0x1cd25b=_0x10f1e2==null?this['height']:_0x10f1e2,_0xd7c7a={'shapeType':_0x38f9ab[_0x3a23b9(0x292)](),'width':_0x37324e,'height':_0x1cd25b},_0x466243={'renderMode':_0x32c821[_0x3a23b9(0x1ec)],'oKey':this[_0x3a23b9(0x220)],'image':this[_0x3a23b9(0x1a5)][_0x3a23b9(0x226)],'angle':this[_0x3a23b9(0x121)]};_0x38f9ab[_0x3a23b9(0x192)](_0xd7c7a),_0xd613f9[_0x3a23b9(0x360)]();let _0x29369b={'top':0x0,'left':0x0,'width':_0x37324e,'height':_0x1cd25b};_0x38f9ab[_0x3a23b9(0x2d0)](_0xd613f9,_0x29369b,_0x466243),_0xd613f9[_0x3a23b9(0x291)]();let _0x3a6ec9=_0x38f9ab['getShapeTextData'](),_0x4a953f=_0x38f9ab[_0x3a23b9(0x374)](_0x29369b),_0x3a5080=_0x38f9ab[_0x3a23b9(0x72)]();if(_0x3a6ec9&&_0x4a953f&&!_0x3a5080){_0xd613f9[_0x3a23b9(0x360)](),this[_0x3a23b9(0x1e4)]()[_0x3a23b9(0x385)]&&_0xd613f9[_0x3a23b9(0x2db)](-0x1,0x1);let _0x4ba971=_0x37324e/0x2,_0x33487a=_0x1cd25b/0x2;_0xd613f9[_0x3a23b9(0x368)](-_0x4ba971,-_0x33487a),_0xd613f9['beginPath'](),this[_0x3a23b9(0x1b1)](_0xd613f9,_0x3a6ec9,_0x4a953f),_0xd613f9[_0x3a23b9(0x291)]();}}[_0x16658a(0x1fc)](_0x5cc3ce){}[_0x16658a(0x1b1)](_0x139117,_0x218ca1,_0x2e937a){const _0x225b4d=_0x16658a;this[_0x225b4d(0x1a5)][_0x225b4d(0x154)]||(_0x225b4d(0x180)in _0x218ca1&&_0x218ca1[_0x225b4d(0x180)]===!0x1?this[_0x225b4d(0x247)](_0x139117,_0x218ca1,_0x2e937a):this['_drawRichText'](_0x139117,_0x218ca1,_0x2e937a));}[_0x16658a(0x247)](_0x5e433b,_0x55595a,_0x4425f7){}['_drawRichText'](_0x3bf74e,_0x419b3c,_0x426f4d){const _0x2eb618=_0x16658a;var _0x27fd9e,_0x3f01d9;let _0x42f64a=this[_0x2eb618(0x1a5)][_0x2eb618(0x1a0)];if(!_0x419b3c[_0x2eb618(0x139)]||!_0x42f64a){_0x42f64a||console['warn'](_0x2eb618(0x1ba));return;}let _0x8ed4b1=_0x419b3c[_0x2eb618(0x139)],_0x271429=_0x8ed4b1[_0x2eb618(0x1a8)],_0x20b398=(_0x27fd9e=_0x8ed4b1['va'])==null?_0x55788f[_0x2eb618(0x1cc)]:_0x27fd9e,_0x376231=(_0x3f01d9=_0x8ed4b1['ha'])==null?_0x3dd034[_0x2eb618(0x2b4)]:_0x3f01d9;if(!_0x271429)return;let _0x26877e=_0x419b3c['isHorizontal'],_0x569788=new _0x70c71a(ka(_0x271429,{'isHorizontal':_0x26877e!==!0x1,'textRect':_0x426f4d,'verticalAlign':_0x20b398,'horizontalAlign':_0x376231})),_0x5cccf1=new _0x2b5e86(_0x569788),_0x14ad1b=_0x2ba86b[_0x2eb618(0x88)](_0x5cccf1,_0x42f64a);_0x14ad1b[_0x2eb618(0xf6)]();let _0x377e70=new _0x5686fd(_0x2eb618(0xf9)+this['oKey'],_0x14ad1b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x377e70[_0x2eb618(0x32b)](_0x426f4d[_0x2eb618(0x24b)],_0x426f4d[_0x2eb618(0x296)]),_0x3bf74e['save'](),_0x3bf74e[_0x2eb618(0x151)](_0x426f4d['left'],_0x426f4d[_0x2eb618(0x288)]),_0x3bf74e[_0x2eb618(0x181)](),_0x3bf74e[_0x2eb618(0x9b)](0x0,0x0,_0x426f4d[_0x2eb618(0x24b)],_0x426f4d[_0x2eb618(0x296)]),_0x3bf74e[_0x2eb618(0x3b1)](),_0x377e70[_0x2eb618(0x24f)](_0x3bf74e),_0x3bf74e[_0x2eb618(0x291)](),_0x377e70[_0x2eb618(0x2f1)](),_0x14ad1b[_0x2eb618(0x2f1)](),_0x5cccf1[_0x2eb618(0x2f1)](),_0x569788[_0x2eb618(0x2f1)]();}['render'](_0x54ea18,_0x3c4405,_0x847592=!0x1){const _0x1033cf=_0x16658a;if(!this[_0x1033cf(0x19e)])return this[_0x1033cf(0x185)](!0x1),this;let {width:_0x2fde5e,height:_0x582766,left:_0x1fe4a4,top:_0x171976}=this,_0x4157fc=this[_0x1033cf(0x2d1)]();if(_0x2fde5e=_0x4157fc[_0x1033cf(0x24b)],_0x582766=_0x4157fc['height'],_0x1fe4a4=_0x4157fc['left'],_0x171976=_0x4157fc[_0x1033cf(0x288)],this[_0x1033cf(0x74)](_0x3c4405)){let {top:_0x2bff4d,left:_0x496a34,bottom:_0x509ba0,right:_0x1763fa}=_0x3c4405[_0x1033cf(0x1a2)];if(_0x2fde5e+this['strokeWidth']+_0x1fe4a4<_0x496a34||_0x1763fa<_0x1fe4a4||_0x582766+this['strokeWidth']+_0x171976<_0x2bff4d||_0x509ba0<_0x171976)return this;}let _0x433ef3=_0x1fe4a4+_0x2fde5e/0x2,_0x26f9a0=_0x171976+_0x582766/0x2,_0x26bb43=this['transform']['getMatrix']();if(this[_0x1033cf(0x1a5)][_0x1033cf(0x154)]){let _0x190e02=this['getState'](),_0x56c1f9=new _0x27fe9f();_0x56c1f9[_0x1033cf(0x24a)]({..._0x190e02}),_0x26bb43=_0x56c1f9['getMatrix']();}return _0x54ea18[_0x1033cf(0x360)](),this[_0x1033cf(0x1a5)][_0x1033cf(0x38f)][_0x1033cf(0x377)]===!0x0||_0x54ea18[_0x1033cf(0x76)](_0x26bb43[0x0],_0x26bb43[0x1],_0x26bb43[0x2],_0x26bb43[0x3],_0x433ef3,_0x26f9a0),this['_draw'](_0x54ea18,_0x3c4405,_0x2fde5e,_0x582766),_0x54ea18['restore'](),this[_0x1033cf(0x185)](!0x1),this;}['getInverseCoord'](_0x4675ba){const _0x2907ee=_0x16658a;let {left:_0x1264ea,top:_0xb474ff,width:_0x558ff8,height:_0x17e6ac}=this[_0x2907ee(0x2d1)](),_0x5d6a29=this[_0x2907ee(0x76)]['getMatrix'](),_0x5ee91b=_0x1264ea+_0x558ff8/0x2,_0x55c51c=_0xb474ff+_0x17e6ac/0x2,_0x151f6b=new _0x27fe9f([_0x5d6a29[0x0],_0x5d6a29[0x1],_0x5d6a29[0x2],_0x5d6a29[0x3],_0x5ee91b,_0x55c51c]),_0x1608a1=this[_0x2907ee(0xeb)]();return(this[_0x2907ee(0x6c)]&&(_0x1608a1==null?void 0x0:_0x1608a1['classType'])===_0x166d66[_0x2907ee(0x30a)]?_0x1608a1[_0x2907ee(0x36e)][_0x2907ee(0x30d)](_0x151f6b):_0x151f6b)[_0x2907ee(0x2f8)]()[_0x2907ee(0x219)](_0x4675ba);}[_0x16658a(0x34e)](_0x2e72d2){const _0x59101d=_0x16658a;let {left:_0x6877ca,top:_0x422dee,width:_0x4c4826,height:_0x36c2c6}=this[_0x59101d(0x2d1)](),_0xa13f82=_0x6877ca+_0x4c4826/0x2,_0x45dd2b=_0x422dee+_0x36c2c6/0x2,_0x3c372f=this[_0x59101d(0x76)][_0x59101d(0x3a6)](),_0x189021=new _0x27fe9f([_0x3c372f[0x0],_0x3c372f[0x1],_0x3c372f[0x2],_0x3c372f[0x3],_0xa13f82,_0x45dd2b]),_0x43054a=this[_0x59101d(0xeb)](),_0xa97e93=(this[_0x59101d(0x6c)]&&(_0x43054a==null?void 0x0:_0x43054a['classType'])===_0x166d66[_0x59101d(0x30a)]?_0x43054a[_0x59101d(0x36e)][_0x59101d(0x30d)](_0x189021):_0x189021)[_0x59101d(0x2f8)]()[_0x59101d(0x219)](_0x2e72d2),_0x21bbec=_0x4c4826/0x2,_0x4daf40=_0x36c2c6/0x2,_0x32e650=this[_0x59101d(0x1a5)][_0x59101d(0x38f)];return _0x32e650&&_0x32e650[_0x59101d(0x72)]()?_0x32e650[_0x59101d(0x105)](_0xa97e93['x'],_0xa97e93['y'],_0x4c4826,_0x36c2c6):_0xa97e93['x']>=-_0x21bbec-this[_0x59101d(0x367)]/0x2&&_0xa97e93['x']<=_0x21bbec+this[_0x59101d(0x367)]/0x2&&_0xa97e93['y']>=-_0x4daf40-this[_0x59101d(0x367)]/0x2&&_0xa97e93['y']<=_0x4daf40+this[_0x59101d(0x367)]/0x2;}['dispose'](){const _0x103c0f=_0x16658a;this[_0x103c0f(0x1a5)][_0x103c0f(0x38f)]=null,super['dispose']();}};function Aa(_0x3de5d7){const _0x50c408=_0x16658a;return _0x3de5d7[_0x50c408(0x19d)]===!0x0||_0x3de5d7[_0x50c408(0x19d)]===_0x26d619[_0x50c408(0x260)]||_0x3de5d7[_0x50c408(0x30b)]===_0x1bec57[_0x50c408(0xc3)]&&_0x3de5d7[_0x50c408(0x2a8)]===_0x26d619[_0x50c408(0x260)]?_0x3e69da-0x1:_0x9365ac;}let Z=class extends _0x1e2586{constructor(_0x2c3f41,_0x213262,_0x27fedd,_0x364340,_0x28acec,_0x189e3c){const _0x2e6302=_0x16658a;super(),this[_0x2e6302(0x2ff)]=_0x2c3f41,this['_docsShapeService']=_0x213262,this['_localeService']=_0x27fedd,this['_imageIoService']=_0x364340,this['_urlImageService']=_0x28acec,this[_0x2e6302(0x309)]=_0x189e3c;}[_0x16658a(0xde)](_0x5ed5e9,_0x50e2ea){const _0xde2cb5=_0x16658a;let {transform:_0xaa33fe,drawingType:_0x8870e0,srcRect:_0x5d3b9d,prstGeom:_0x543121,groupId:_0x3a63bd,unitId:_0x4d9677,subUnitId:_0x56171b,drawingId:_0x590d0f,isMultiTransform:_0x2476dc,transforms:_0x345eaf,hidden:_0x4f9f78}=_0x5ed5e9;if(_0x8870e0!==_0x1ec8b5['DRAWING_SHAPE']||!this[_0xde2cb5(0x2ff)][_0xde2cb5(0x306)]()||_0xaa33fe==null)return;let _0x2abbc6=_0x2476dc&&_0x345eaf?_0x345eaf:[_0xaa33fe],_0x437e97=[];for(let _0x22ef07 of _0x2abbc6){let {left:_0xe8b911,top:_0x873b74,width:_0x5335b6,height:_0x3561b2,angle:_0x148065,flipX:_0x1be646,flipY:_0x129809,skewX:_0xd1d21d,skewY:_0x1d8a73}=_0x22ef07,_0x353f38=_0x2abbc6[_0xde2cb5(0x127)](_0x22ef07),_0x14cfd6=_0x37e322({'unitId':_0x4d9677,'subUnitId':_0x56171b,'drawingId':_0x590d0f},_0x2476dc?_0x353f38:void 0x0),_0x4ab30e=_0x50e2ea[_0xde2cb5(0x373)](_0x14cfd6);if(_0x4ab30e!=null){_0x4ab30e[_0xde2cb5(0x3ba)]({'left':_0xe8b911,'top':_0x873b74,'width':_0x5335b6,'height':_0x3561b2,'angle':_0x148065,'flipX':_0x1be646,'flipY':_0x129809,'skewX':_0xd1d21d,'skewY':_0x1d8a73});continue;}let _0x270329=this[_0xde2cb5(0x2ff)][_0xde2cb5(0x1f3)](_0x4d9677,_0x56171b),_0x100a7=_0x270329[_0xde2cb5(0x127)](_0x590d0f);if(_0x50e2ea[_0xde2cb5(0x373)](_0x14cfd6)||!this[_0xde2cb5(0x2ff)][_0xde2cb5(0x306)]())continue;let _0xb765ca=this[_0xde2cb5(0x378)][_0xde2cb5(0x278)](_0x4d9677,_0x56171b,_0x590d0f);if(!_0xb765ca)continue;let _0x2b3766=new X(_0x14cfd6,{..._0x3d96f8(_0xb765ca[_0xde2cb5(0x292)]())?{..._0x22ef07,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x22ef07},'zIndex':_0x100a7===-0x1?_0x270329[_0xde2cb5(0x3b8)]-0x1:_0x100a7,'shapeModel':_0xb765ca,'localeService':this[_0xde2cb5(0x240)],'shapeId':_0x590d0f,'unitId':_0x4d9677,'subUnitId':_0x56171b,'visible':_0x4f9f78!==!0x0});this[_0xde2cb5(0x28d)](_0x1dcf7c(_0x2b3766[_0xde2cb5(0x21b)]['subscribeEvent']((_0x551bda,_0x3bfc74)=>{const _0x3fe20b=_0xde2cb5;_0xb765ca[_0x3fe20b(0x72)]()||(this[_0x3fe20b(0x309)][_0x3fe20b(0x335)]({'visible':!0x0,'unitId':_0x4d9677,'subUnitId':_0x56171b,'shapeId':_0x590d0f,'shapeKey':_0x2b3766['oKey']}),_0x3bfc74[_0x3fe20b(0x26c)]());}))),_0x50e2ea[_0xde2cb5(0x1f2)](_0x2b3766,Aa(_0x5ed5e9)),this['_drawingManagerService'][_0xde2cb5(0x3af)]()&&_0x50e2ea[_0xde2cb5(0xa7)](_0x2b3766),_0x3a63bd&&_0x4d2eb5({'drawingId':_0x3a63bd,'unitId':_0x4d9677,'subUnitId':_0x56171b},_0x2b3766,_0x50e2ea,this[_0xde2cb5(0x2ff)]),_0x543121!=null&&_0x2b3766[_0xde2cb5(0x3a7)](_0x543121),_0x5d3b9d!=null&&_0x2b3766[_0xde2cb5(0x193)](_0x5d3b9d),this[_0xde2cb5(0x248)](_0x2b3766,_0xb765ca['getShapeData']()),_0x437e97[_0xde2cb5(0x2f3)](_0x2b3766);}return _0x437e97;}[_0x16658a(0x15d)](_0x43de07){const _0x567527=_0x16658a;let _0x3422f8=_0x43de07[_0x567527(0x38f)][_0x567527(0x26a)](),_0x313e48=_0x3422f8[_0x567527(0x320)];if(!_0x313e48||_0x313e48[_0x567527(0x79)]!==_0x3098ec[_0x567527(0x303)]||!_0x313e48[_0x567527(0x393)]){_0x43de07['setFillImage'](void 0x0);return;}this[_0x567527(0x248)](_0x43de07,_0x3422f8);}[_0x16658a(0x248)](_0x2ea752,_0x1152d4){const _0x10b663=_0x16658a;var _0x2b2e27;let _0x37b894=_0x1152d4['fill'];if(!_0x37b894||_0x37b894[_0x10b663(0x79)]!==_0x3098ec[_0x10b663(0x303)]||!_0x37b894['fillImageSource'])return;let _0x4cca76=_0x37b894[_0x10b663(0x393)],_0x4caa2d=(_0x2b2e27=_0x37b894[_0x10b663(0x35b)])==null?_0x2e5d4f['URL']:_0x2b2e27,_0x5dbfdb=this[_0x10b663(0x221)][_0x10b663(0xbe)](_0x4cca76,_0x4caa2d);if(_0x5dbfdb){_0x2ea752[_0x10b663(0x27a)](_0x5dbfdb);return;}this[_0x10b663(0x33e)](_0x2ea752,_0x4cca76,_0x4caa2d);}async['_loadAndSetImage'](_0x37f6a2,_0xe0f008,_0x4eaeca){const _0x5e205c=_0x16658a;let _0x702d51;try{if(_0x4eaeca===_0x2e5d4f[_0x5e205c(0xf7)])_0x702d51=await this[_0x5e205c(0x221)][_0x5e205c(0x3a1)](_0xe0f008);else{if(_0x4eaeca===_0x2e5d4f[_0x5e205c(0x2c6)])try{_0x702d51=await this[_0x5e205c(0x22f)][_0x5e205c(0x3a1)](_0xe0f008);}catch{_0x702d51=_0xe0f008;}else _0x702d51=_0xe0f008;}}catch(_0xa03bb3){console[_0x5e205c(0x1ce)](_0x5e205c(0x388),_0xa03bb3);return;}let _0x2f63da=new window[(_0x5e205c(0x295))]();_0x2f63da[_0x5e205c(0x2b9)]=()=>{const _0x3350eb=_0x5e205c;this[_0x3350eb(0x221)][_0x3350eb(0x92)](_0xe0f008,_0x4eaeca,_0x2f63da),_0x37f6a2[_0x3350eb(0x27a)](_0x2f63da);},_0x2f63da['onerror']=()=>{const _0x490873=_0x5e205c;console['error'](_0x490873(0x145),_0xe0f008);},_0x2f63da[_0x5e205c(0x2a9)]=_0x702d51;}};Z=W([U(0x0,_0x441a82),U(0x1,_0x15b52f(_0x24d037)),U(0x2,_0x15b52f(_0x4cdcfe)),U(0x3,_0x209190),U(0x4,_0x15fbfd),U(0x5,_0x15b52f(J))],Z);function _0xc662(){const _0x17d22c=['_activeShapeId','LEFT','DRAWING_SHAPE','gridType','SmileyFace','Teardrop','onload','_baseShapeWidth','ShapeCurvedConnector3Icon','getFonts','docs-shape-ui.shape.type.trapezoid','docs-shape-ui.shape.type.plaque-tabs','gdRefY','startOffset','_clipService','asObservable','docs-shape-ui.shape.type.action-button-end','docs-shape-ui.shape.type.down-arrow','_clearShapeAdjustControls','URL','docs-shape-ui.shape.type.flow-chart-magnetic-disk','_getActiveDrawingShape','getEditing','blockArrow','ShapeDownArrowIcon','symbol','textRuns','ShapeLineIcon','disableObjectsEvent','render','getRealBound','decorate','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','FlowchartProcess','deepClone','docs-shape-ui.shape.type.corner','Hexagon','prototype','cos','paragraph','scale','Diamond','docs-shape-ui.shape.type.flow-chart-input-output','ShapeCurvedConnector3Arrow1Icon','_initEvents','ShapeAccentCallout1Icon','docs-shape-ui.shape.type.ellipse-ribbon','getDrawingSearch','CONTENT','ShapePentagonIcon','BorderCallout3','ShapeActionButtonBeginningIcon','ShapeSwooshArrowIcon','docs-shape-ui.shape.type.notched-right-arrow','docs-shape-ui.shape.type.accent-callout1','menuRange','clearAdjustControls','docs-shape-ui.shape.type.square-tabs','Frame','top-center','Ribbon','dataStream','dispose','docs-shape-ui.shape.type.flow-chart-manual-operation','push','ShapeDiamondIcon','docs-shape-ui.shape.type.flow-chart-extract','lineSpacing','None','invert','RightBracket','_docDrawingShapeRenderController','Corner','add','docs-shape-ui.shape.type.irregular-seal2','filter','_drawingManagerService','_registerOperations','toPrimitive','BOTH_SIDES','PictureFill','QuadArrowCallout','docs-shape-ui.shape.type.ellipse','getDrawingVisible','FALSE','ShapeFlowChartPunchedCardIcon','_shapeTextEditingService','GROUP','layoutType','doc.shape.edit.panel','multiply','ShapeFlowChartConnectorIcon','Star7','flowchart','FlowchartManualOperation','docs-shape-ui.shape.type.callout1','_commandService','docs-shape-ui.deleteShape','starAndBanner','ShapeFlowChartSummingJunctionIcon','docs-shape-ui.shape.type.bent-connector3','_adjustPointObjects','default','_insertShapes','_activeShapeInfo','ShapeGear6Icon','ShapeStar32Icon','_adjName','DEFAULT','fill','docs-shape-ui.shape.type.math-minus','docs-shape-ui.shape.type.bent-up-arrow','set','1.0.0-alpha.1','docs-shape-ui.shape.type.star24','ShapeActionButtonEndIcon','endArrow','5481brqCgn','FlowchartMagneticDisk','Star24','resize','Ellipse','docs-shape-ui.shape.type.cloud','12884058YjBxaW','docs-shape-ui.shape.type.down-arrow-callout','ShapeActionButtonBlankIcon','ShapeRtTriangleIcon','Star16','ActionButtonBlank','ShapeFlowChartDelayIcon','setEditing','Star5','position','onCommandExecuted','ActionButtonSound','registerRenderModule','object','docs-shape-ui.shape.type.quad-arrow-callout','docs-shape-ui.shape.type.round2-same-rect','_loadAndSetImage','onPointerMove$','ActionButtonDocument','ShapeMathNotEqualIcon','WedgeRoundRectCallout','docs-shape-ui.shape.type.right-arrow','_popupMenuListener','LeftArrow','docs-shape-ui.shape.type.dodecagon','ActionButtonInformation','docs-shape-ui.shape.type.moon','getSnapshot','MathEqual','docs-shape-ui.shape.type.non-isosceles-trapezoid','ShapeSnipRoundRectIcon','setCursor','isHit','moveRange','ShapeActionButtonBackPreviousIcon','docs-shape-ui.shape.type.arc','size','Parallelogram','Callout1','ShapeLightningBoltIcon','Ribbon2','SolidFill','basicShape','doc.shape.text.float-menu','getActiveTextRange','fillImageSourceType','docs-shape-ui.shape.type.line','FlowchartMultiDocument','_closeShapeEditPanel','docs-shape-ui.shape.type.flow-chart-decision','save','docs-shape-ui.shape.type.math-equal','docs-shape-ui.shape.type.wedge-round-rect-callout','ShapeFlowChartMergeIcon','below','ShapeFlowChartMagneticTapeIcon','ShapeAccentCallout2Icon','strokeWidth','translate','1090wedyDO','focusDrawing','FlowchartPunchedCard','flipY','extraProps','ancestorTransform','FlowchartInternalStorage','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','docs-shape-ui.shape.type.folder-corner','horizontal','getObjectIncludeInGroup','getShapeTextRect','map','ShapeCurvedRightArrowIcon','isRenderLinePointsMode','_docsShapeService','Pentagon','_configService','ShapeCallout1Icon','docs-shape-ui.shape.type.math-plus','VerticalScroll','_toScenePoint','drawingType','docs-shape-ui.shape.type.rect-textbox-horizontal','_createShapeAdjustControls','ShapeCloudCalloutIcon','mergeMenu','docs-shape-ui.shape.type.border-callout2','flipX','docs-shape-ui.shape.type.chord','FlowchartMagneticDrum','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeHalfFrameIcon','docs-shape-ui.shape.type.no-smoking','Bevel','vertical','_baseShapeTop','docs-shape-ui.shape.type.math-not-equal','shapeModel','docs-shape-ui.shape.type.snip2-diag-rect','onSavingEditorData$','unitId','fillImageSource','ShapeFlowChartExtractIcon','_adjHandlerPointerUp','ActionButtonEnd','ShapeChordIcon','registerComponent','ActionButtonMovie','_baseShapeLeft','inline','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','ShapeChartStarIcon','getShapePopupMenus','docs-shape-ui.shape.type.flow-chart-summing-junction','docs-shape-ui.shape.type.left-bracket','getImage','SHAPE','adjName','ShapeSmileyFaceIcon','LightningBolt','getMatrix','setPrstGeom','_updateShape','#111827','ShapeHeptagonIcon','refreshAdjustControls','getOwnPropertyDescriptor','docs-shape-ui.shape.type.bent-connector3-arrow1','CurvedLeftArrow','getDrawingEditable','line','clip','ShapeBlockArcIcon','paragraphStyle','docs-shape-ui.shape.type.bracket-pair','attachPopupToObject','zeroWidthParagraphBreak','SquareTabs','length','ShapeFlowChartOnlineStorageIcon','transformByState','subscribeEvent','paragraphs','ShapeStar12Icon','WRAP_TOP_AND_BOTTOM','setShapeData','ShapeHexagonIcon','docs-shape-ui.shape.type.diag-stripe','docs-shape-ui.shape.type.gear9','docs-shape-ui.shape.type.curved-left-arrow','registerClipDelegate','_baseShapeHeight','getUnitId','isInGroup','ShapePlusIcon','_context','PlaqueTabs','getAdjustValueByName','Star12','isLineShape','docs-shape-ui.shape.type.right-bracket','isRender','onPointerUp$','transform','ShapeLeftArrowIcon','pluginName','fillType','name','docs-shape-ui.shape.type.rect','_updateSrcRectByTransform','ShapeWedgeRoundRectCalloutIcon','wrapSquare','ShapeEllipseRibbon2Icon','docs-shape-ui.shape.type.flow-chart-alternate-process','_registerDrawingFocusChangeHandler','ShapeRightBraceIcon','ShapeSnip1RectIcon','Funnel','spaceAbove','clipByShape','getShapeDataById','create','docs-shape-ui.shape.type.left-right-up-arrow','ShapeStar4Icon','CurvedConnector3','_univerInstanceService','docs-shape-ui.shape.type.left-up-arrow','ShapeHeartIcon','FlowchartOr','ShapeRound1RectIcon','ShapeDoubleWaveIcon','addImageSourceCache','sin','ShapeCallout2Icon','_getSceneByUnitId','_sidebarService','ShapeBorderCallout1Icon','NotchedRightArrow','params','ActionButtonBackPrevious','rect','docs-shape-ui.shape.type.curved-connector3-arrow1','docs-shape-ui.shape.type.flow-chart-preparation','_adjHandlerPointerMove','_onSavingEditorData$','ShapeParallelogramIcon','LAYOUT','ShapeFlowChartTerminatorIcon','MEDIA','docs-shape-ui.shape.type.lightning-bolt','UpDownArrow','docs-shape-ui.shape.type.right-arrow-callout','attachTransformerTo','VIEW_MAIN','ShapeCubeIcon','Plus','setCanUseShapeClip','_initSelection','_contextService','ShapeFlowChartOrIcon','FlowchartDelay','docs-shape-ui.crop.shape','createControl$','FlowchartDisplay','_docCanvasPopManagerService','_initEditingParams','ShapeActionButtonReturnIcon','callout','docs-shape-ui.shape.type.flow-chart-merge','docs-shape-ui.shape.type.flow-chart-predefined-process','packageName','max','onReady','ShapeGear9Icon','Snip1Rect','getImageSourceCache','_subUnitId','Rect','SolidLine','1969344ahvkAw','WRAP_NONE','Large','docs-shape-ui.shape.type.bent-connector3-arrow2','docs-shape-ui.shape.type.circular-arrow','ShapeAccentCallout3Icon','reduce','4648GlAuPv','docs-shape-ui.shape.type.line-inv','_initializedShapePopupMenu','_toVisualAdjustPoint','docs-shape-ui.shape.type.pie','ShapeFlowChartDisplayIcon','startArrow','docs-shape-ui.shape.type.flow-chart-document','LeftRightUpArrow','Cloud','has','scene','docs-shape-ui.shape.type.accent-callout2','_registerComponents','ShapeAccentBorderCallout1Icon','Star8','Line','doc.operation.close-doc-shape-format-panel','ShapeActionButtonMovieIcon','BlockArc','_renderManagerService','renderDrawingShape','ShapeFlowChartSortIcon','docs-shape-ui.shape.type.curved-right-arrow','WedgeEllipseCallout','docs-shape-ui.shape.type.action-button-document','docs-shape-ui.shape.type.flow-chart-sort','docs-shape-ui.shape.type.flow-chart-delay','ShapeHorizontalScrollIcon','Round1Rect','ShapeStraightConnector1Icon','setInsertRange','_activeShapeModel','Arc','getParent','ShapeMathDivideIcon','_getShapeAdjustPointListById','CircularArrow','ShapeCloudIcon','value','ShapeTextEditorContainer','HomePlate','_iconManager','some','docs-shape-ui.shape.type.ribbon','calculate','UUID','popup','shape-text-','_getShapeInfo','CurvedUpArrow','left','complete','calcAdjValue','docs-shape-ui.shape.type.cloud-callout','_isShouldShowDrawingShapeAdjust','docs-shape-ui.shape.type.flow-chart-magnetic-drum','getFocusDrawings','Moon','ShapeFlowChartPredefinedProcessIcon','isHitLine','ShapeLeftRightRibbonIcon','rectangle','changeStart$','drawingId','INLINE','function','StripedRightArrow','docs-shape-ui.shape.type.star12','ActionButtonBeginning','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.left-arrow-callout','LeftRightArrow','_clearPopups','with','setConfig','_drawingType','shapeText','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape.type.irregular-seal1','docs-shape-ui.shape.type.accent-border-callout2','_initShapePopupMenu','FlowchartAlternateProcess','update$','docs-shape-ui.shape.type.triangle','ShapeStar8Icon','DRAWING_DOM','ShapeActionButtonHelpIcon','angle','forEach','shapeId','ShapeStar6Icon','ShapeFlowChartManualOperationIcon','_registerImageShapeClipDelegate','indexOf','docs-shape-ui.shape.type.flow-chart-punched-card','_injector','paragraphMenuPlacement','ShapeFlowChartMultidocumentIcon','ShapeTriangleIcon','documentStyle','docs-shape-ui.shape.type.math-multiply','docs-shape-ui.shape.type.straight-connector1','Cube','ShapeNoSmokingIcon','ShapeFlowChartAlternateProcessIcon','docs-shape-ui.shape.type.flow-chart-terminator','preValue','docs-shape-ui.openPanel','shapeData','setShapeProps','Callout3','dataModel','editingParams$','FlowchartExtract','MathMinus','srcRect','ShapeBentConnector3Arrow2Icon','docs-shape-ui.config','docs-shape-ui.textWrap.behindText','ShapeSnip2DiagRectIcon','docs-shape-ui.shape.type.chart-plus','ShapeDecagonIcon','_initialize','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','docs-shape-ui.shape.type.round2-diag-rect','_refreshShapeData','IrregularSeal2','transformVector2SceneCoord','ShapeDownArrowCalloutIcon','FlowchartOffPageConnector','docs-shape-ui.shape.type.curved-up-arrow','RightArrowCallout','docs-shape-ui.shape.type.star8','_activeAdjustInfo','add$','translateWithPrecision','QuadArrow','OPERATION','isEditing','Callout2','docs-shape-ui.shape.type.action-button-return','ShapeFlowChartCollateIcon','docs-shape-ui.shape.type.up-arrow-callout','Snip2DiagRect','ShapeLeftCircularArrowIcon','body','_openShapeEditPanel','refreshShapeFillImage','setContextValue','MathDivide','docs-shape-ui.shape.type.snip-round-rect','_updateShapeAdjustControls','getDrawingByParam','docs-shape-ui.shape.type.left-right-arrow','docs-shape-ui.shape.type.star32','docs-shape-ui.shape.type.ellipse-ribbon2','Dodecagon','Wave','docs-shape-ui.shape.type.chart-x','ShapeRectIcon','ShapeStar5Icon','WRAP','621898anEVPB','2180060mxJVTQ','doc-shape-adjust-point-','_initMenu','docs-shape-ui.shape.type.rt-triangle','ShapeRibbonIcon','docs-shape-ui.shape.type.diamond','getDrawingData','div','docs-shape-ui.shape.type.action-button-back-previous','NonIsoscelesTrapezoid','ShapeBentUpArrowIcon','Triangle','ShapeActionButtonInformationIcon','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.round1-rect','ShapeDodecagonIcon','ShapeMathEqualIcon','Can','RightBrace','isRichText','beginPath','LeftBrace','subUnitId','ShapeCornerTabsIcon','makeDirty','updateShapeFillImage','ShapeActionButtonHomeIcon','ShapePlaqueTabsIcon','_getShapeAdjustInfosById','gdRefX','label','#3B82F6','ShapeWaveIcon','DRAWING_IMAGE','_componentManager','EllipseRibbon','docs-shape-ui.shape.type.accent-callout3','updateContext','setSrcRect','ShapeEllipseIcon','setOnSavingEditorData','LeftArrowCallout','enhanceParams','changing$','ShapeMathMultiplyIcon','ShapeFlowChartInternalStorageIcon','MathMultiply','docs-shape-ui.shape.type.callout2','behindText','visible','_lastEditingShapeKey','localeService','docs-shape-ui.shape.type.uturn-arrow','viewBound','spaceBelow','string','_props','_sidebarDisposable','classType','doc','ShapeLeftRightArrowCalloutIcon','inFrontOfText','docs-shape-ui.shape.type.star5','ShapeQuadArrowCalloutIcon','FlowchartOnlineStorage','_transformCalculateSrcRect','ShapeLeftRightArrowIcon','ShapeRectTextboxVerticalIcon','_drawShapeText','docs-shape-ui.shape.type.flow-chart-manual-input','docs-shape-ui.shape.type.horizontal-scroll','_attachAdjustEvent','FlowchartTerminator','ShapeAccentBorderCallout3Icon','_unitId','ShapeFlowChartProcessIcon','ShapeNotchedRightArrowIcon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeCallout3Icon','SwooshArrow','docs-shape-ui.shape.type.left-brace','_isStartAdjusting','ActionButtonHome','RightArrow','ShapeBevelIcon','RoundRect','ShapeRightArrowIcon','Plaque','enableObjectsEvent','1460938eVQeZJ','getRenderById','ShapeDiagStripeIcon','ShapeBracketPairIcon','ActionButtonReturn','offsetY','TOP','getDrawingOKey','error','_registerDrawingTransformHandler','Star32','getAllUnitsForType','doc.shape.picker.component','DownArrowCallout','CROSSHAIR','subscribe','docs-shape-ui.shape.type.accent-border-callout3','AccentBorderCallout3','ShapeActionButtonSoundIcon','EllipseRibbon2','gdRefAng','getActiveViewportByCoord','docs-shape-ui.shape.group.','entries','ShapeStar24Icon','univer-mb-2','find','defineProperty','docs-shape-ui.shape.type.sun','ShapeFrameIcon','getState','UpArrowCallout','gdRefR','snapToGrid','getAbsolutePosition','Star10','changeEnd$','_disposePopups','Path','ShapeChartXIcon','ShapeChevronIcon','docs-shape-ui.shape.type.donut','docs-shape-ui.insertShape','setAdjustValueByName','addObject','getDrawingOrder','docs-shape-ui.shape.type.flow-chart-offpage-connector','_createShapePopupMenu','StraightConnector1','_addShapeAdjustControl','menu','focus$','ShapeQuadArrowIcon','unsubscribe','getDrawingPoints','BentConnector3','LeftBracket','docs-shape-ui.shape.type.wedge-rect-callout','doc.operation.open-doc-shape-format-panel','WedgeRectCallout','docs-shape-ui.shape.type.action-button-forward-next','ShapeBentArrowIcon','executeCommand','docs-shape-ui.shape.type.up-down-arrow','sectionBreaks','AccentBorderCallout1','shapeType','Medium','docs-shape-ui.shape.type.curved-down-arrow','getViewports','15354SVzYTb','docs-shape-ui.shape.type.heart','ShapeAccentBorderCallout2Icon','FlowChartInputOutput','ShapeDonutIcon','shapeKey','docs-shape-ui.shape.type.wave','next','activeTarget','_draw','prstGeom','doc.command.menu-insert-shape','UpDownArrowCallout','applyPoint','ShapeFlowChartPunchedTapeIcon','onDblclick$','docs-shape-ui.shape.type.star6','docs-shape-ui.shape.type.flow-chart-multidocument','other','adjHandleFill','oKey','_imageIoService','horizontalAlign','ChartPlus','docs-shape-ui.shape.type.action-button-information','docs-shape-ui.shape.type.home-plate','image','_setTransForm','docs-shape-ui.shape.type.up-down-arrow-callout','type','docs-shape-ui.shape.type.action-button-home','Trapezoid','includes','bottom','docs-shape-ui.shape.type.action-button-sound','_urlImageService','refreshTransform','values','LeftUpArrow','ShapeArcIcon','getTransformerByCreate','PARAGRAPH','FromArray','icon','onPointerDown$','@univerjs-pro/docs-shape-ui','docs-shape-ui.shape.type.callout3','range','docs-shape-ui.shape.type.curved-connector3','ShapeCurvedConnector3Arrow2Icon','group','objects','_localeService','_initCommands','ShapeCurvedLeftArrowIcon','docs-shape-ui.shape.type.flow-chart-collate','univer-size-full','Star6','docs-shape-ui.shape.type.ribbon2','_drawSimpleText','_loadShapePictureFill','data','composeMatrix','width','ShapeLeftRightCircularArrowIcon','register','_getFocusedShapeAtPoint','draw','get','ShapeMathPlusIcon','UpArrow','ShapeLeftBraceIcon','_initUIPart','ShapeLeftBracketIcon','buildClipPath','ShapeCurvedDownArrowIcon','docs-shape-ui.shape.type.action-button-help','docs-shape-ui.shape.type.pentagon','ShapeTeardropIcon','BracePair','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ShapeFlowChartManualInputIcon','Sun','docs-shape-ui.shape.type.curved-connector3-arrow2','TRUE','docs-shape-ui.shape.type.decagon','getSelectedObjectMap','Gear9','call','docs-shape-ui.shape.type.smiley-face','PAGE','docs-shape-ui.shape.type.octagon','_updateAdjustControlPositions','ShapeRightArrowCalloutIcon','getShapeData','Chord','stopPropagation','adjHandleStroke','docs-shape-ui.shape.type.chevron','ShapeWedgeEllipseCalloutIcon','ShapeStar7Icon','docs-shape-ui.shape.type.star4','ShapeActionButtonDocumentIcon','verticalAlign','FoldedCorner','FlowchartDecision','_registerIcons','_shapeId','getShapeModel','ActionButtonForwardNext','setFillImage','docs-shape-ui.shape.type.action-button-beginning','isDrawingObject','ShapeFlowChartMagneticDiskIcon','equationShape','ShapeIrregularSeal1Icon','FlowchartSort','ShapeBentConnector3Arrow1Icon','_editingParams$','drawings','endOffset','docs-shape-ui.shape.type.parallelogram','getAdjustInfoByName','IrregularSeal1','top','getCurrentUniverDocInstance','docs-shape-ui.shape.type.plus','Gear6','CornerTabs','disposeWithMe','FlowchartPredefinedProcess','version','docs-shape-ui.shape.type.plaque','restore','getShapeType','Arrow','ShapeBentConnector3Icon','Image','height','_getActiveDrawingParam','_transform','ShapeRoundRectIcon','remove$','docs-shape-ui.shape.type.corner-tabs','ShapeMoonIcon','ShapeIrregularSeal2Icon','docs-shape-ui.shape.type.flow-chart-connector','_shapeEditPanelVersion','UNIVER_DOC','DownArrow','Heart','docs-shape-ui.shape.type.snip1-rect','adjHandleSize','syncExecuteCommand','docs-shape-ui.shape.type.up-arrow','AccentCallout3','behindDoc','src','docs-shape-ui.shape.type.frame','docs-shape-ui.shape.type.chart-star','_activeShapeAdjustPointList','FlowchartMagneticTape','docs-shape-ui.shape.type.can','ShapeUpArrowCalloutIcon','doc.command.update-doc-drawing-wrapping-style','ShapeCircularArrowIcon','clone'];_0xc662=function(){return _0x17d22c;};return _0xc662();}let Q=class extends _0x1e2586{constructor(_0x148e40,_0x1c3383,_0x37fa2,_0x34e7ce){const _0x281bdb=_0x16658a;super(),this[_0x281bdb(0x313)]=_0x148e40,this[_0x281bdb(0xdd)]=_0x1c3383,this[_0x281bdb(0x2ff)]=_0x37fa2,this[_0x281bdb(0x2fa)]=_0x34e7ce,this[_0x281bdb(0x144)]();}[_0x16658a(0x144)](){const _0x13b44a=_0x16658a;this[_0x13b44a(0x28d)](this['_drawingManagerService'][_0x13b44a(0x150)][_0x13b44a(0x1d5)](_0x299560=>this[_0x13b44a(0x31a)](_0x299560))),this[_0x13b44a(0x28d)](this[_0x13b44a(0x2ff)][_0x13b44a(0x11c)][_0x13b44a(0x1d5)](_0x32debb=>{const _0x3443f3=_0x13b44a;_0x32debb[_0x3443f3(0x122)](_0x57980e=>this[_0x3443f3(0x3a8)](_0x57980e));})),this[_0x13b44a(0x28d)](this[_0x13b44a(0x313)][_0x13b44a(0x338)](_0x49fc8c=>{const _0x5dbcb5=_0x13b44a;if(_0x49fc8c['id']!==_0x525b71['id'])return;let {unitId:_0x29257e,shapeId:_0x2f07c0}=_0x49fc8c[_0x5dbcb5(0x99)];this[_0x5dbcb5(0x147)]({'unitId':_0x29257e,'subUnitId':_0x29257e,'drawingId':_0x2f07c0});}));}[_0x16658a(0x186)](_0x89453d,_0x2039b0){const _0xce9b4b=_0x16658a;let _0x500477=this[_0xce9b4b(0x95)](_0x89453d[_0xce9b4b(0x392)]),_0x3ea6ee=_0x37e322(_0x89453d),_0x44ab90=_0x500477==null?void 0x0:_0x500477['scene'][_0xce9b4b(0x373)](_0x3ea6ee);_0x44ab90==null||_0x44ab90[_0xce9b4b(0x27a)](_0x2039b0);}[_0x16658a(0x31a)](_0x53a752){const _0x14cd16=_0x16658a;_0x53a752[_0x14cd16(0x122)](_0x341597=>{const _0x4bc0fe=_0x14cd16;var _0xbacc09;let _0x474c11=this[_0x4bc0fe(0x95)](_0x341597['unitId']);if(!_0x474c11)return;let _0x31eeae=this['_drawingManagerService'][_0x4bc0fe(0x162)](_0x341597);(_0x31eeae==null?void 0x0:_0x31eeae['drawingType'])===_0x1ec8b5['DRAWING_SHAPE']&&(_0x3d96f8((_0xbacc09=_0x31eeae[_0x4bc0fe(0x249)])==null?void 0x0:_0xbacc09['shapeType'])&&_0x31eeae[_0x4bc0fe(0x76)]&&(_0x31eeae[_0x4bc0fe(0x76)]={..._0x31eeae[_0x4bc0fe(0x76)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x4bc0fe(0x2ff)][_0x4bc0fe(0x230)]([_0x31eeae]),this['_docDrawingShapeRenderController'][_0x4bc0fe(0xde)](_0x31eeae,_0x474c11[_0x4bc0fe(0xd4)]));});}[_0x16658a(0x3a8)](_0x240380){const _0x232ef1=_0x16658a;let _0x18e2ce=this[_0x232ef1(0x2ff)]['getDrawingByParam'](_0x240380);if((_0x18e2ce==null?void 0x0:_0x18e2ce[_0x232ef1(0x37f)])!==_0x1ec8b5['DRAWING_SHAPE'])return;let _0x57a6ff=this[_0x232ef1(0x95)](_0x240380[_0x232ef1(0x392)]);if(!_0x57a6ff||_0x18e2ce[_0x232ef1(0x76)]==null)return;let _0x22c5f9=_0x37e322(_0x240380),_0x8b6fd4=_0x57a6ff['scene']['getObjectIncludeInGroup'](_0x22c5f9);_0x8b6fd4&&(_0x8b6fd4[_0x232ef1(0x193)](_0x18e2ce[_0x232ef1(0x13d)]),_0x8b6fd4[_0x232ef1(0x3a7)](_0x18e2ce[_0x232ef1(0x216)]),_0x8b6fd4[_0x232ef1(0x185)](!0x0));}['_refreshShapeData'](_0x90b123){const _0x274462=_0x16658a;let _0x574971=this['_getSceneByUnitId'](_0x90b123[_0x274462(0x392)]);if(!_0x574971)return;let _0x220ec9=_0x37e322(_0x90b123),_0x2d59d5=_0x574971[_0x274462(0xd4)][_0x274462(0x373)](_0x220ec9);_0x2d59d5&&(this[_0x274462(0x2fa)][_0x274462(0x15d)](_0x2d59d5),_0x2d59d5[_0x274462(0x185)](!0x0));}[_0x16658a(0x95)](_0x43a47a){const _0x4f32d3=_0x16658a;if(_0x43a47a==null)return null;let _0x484f43=this[_0x4f32d3(0xdd)]['getRenderById'](_0x43a47a),_0x29bc0e=_0x484f43==null?void 0x0:_0x484f43[_0x4f32d3(0xd4)];return _0x29bc0e==null?null:{'scene':_0x29bc0e};}};Q=W([U(0x0,_0x44ffa4),U(0x1,_0x2e40c6),U(0x2,_0x441a82),U(0x3,_0x15b52f(Z))],Q);function ja(){const _0x45682e=_0x16658a;let _0x3a6b0f=_0x4451a1(_0x441a82),[_0x482010,_0x3312be]=_0x247e81(_0x3a6b0f[_0x45682e(0x102)]());return _0x53c466(()=>{const _0x1d3887=_0x45682e;let _0x112a76=_0x3a6b0f['focus$'][_0x1d3887(0x1d5)](_0x49801b=>{_0x3312be(_0x49801b);});return()=>{_0x112a76['unsubscribe']();};},[]),_0x482010[_0x45682e(0x3b8)]===0x0?null:_0x44fa53(_0x45682e(0x174),{'children':_0x40634d(_0x45682e(0x174),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[_0x44fa53(_0xb3134,{'drawings':_0x482010,'hasCropper':!0x1}),_0x44fa53(_0x3d4ee4,{'drawings':_0x482010}),_0x44fa53(_0x547edd,{'drawings':_0x482010})]})});}function Ma(_0x1f3c8f){let {unitId:_0x5b7200,subUnitId:_0xd9de49,shapeId:_0xca82d8}=_0x1f3c8f,_0x4771ab=_0x4451a1(_0x44ffa4),_0x89ffb0=_0x4451a1(Q);return _0x44fa53(_0x1e1596,{..._0x1f3c8f,'positionEditor':_0x44fa53(ja,{}),'onUpdateShapeData':(_0x1475d7,_0x363494)=>{_a(_0x4771ab,_0x5b7200,_0xd9de49,_0xca82d8,_0x1475d7,_0x363494);},'onUpdateLineShapeData':(_0x291cad,_0x1537db)=>{va(_0x4771ab,_0x5b7200,_0xd9de49,_0xca82d8,_0x291cad,_0x1537db);},'onUpdateShapeFillImage':_0x52f730=>{const _0x1d9c2a=_0x4c8b;_0x89ffb0[_0x1d9c2a(0x186)]({'unitId':_0x5b7200,'subUnitId':_0xd9de49,'drawingId':_0xca82d8},_0x52f730);}});}const Na=_0x34514b(()=>{const _0x62dd46=_0x16658a;let _0xd1cf67=_0x4451a1(J),_0x2cc1c9=_0x4451a1(_0x24d037),_0x449a49=_0x4451a1(_0x441a82),_0x384257=_0x4451a1(_0x44ffa4);return _0x44fa53(_0x4caede,{'adapter':_0x21d7e4(()=>({'getShapeModel':(_0x478f0c,_0x554f3f,_0x41afc7)=>_0x2cc1c9['getShapeModel'](_0x478f0c,_0x554f3f,_0x41afc7),'getDrawingTransform':(_0x27fb45,_0xa1ded2,_0xd17801)=>{const _0x4f81ec=_0x4c8b;let _0x353d7a=_0x449a49['getDrawingByParam']({'unitId':_0x27fb45,'subUnitId':_0xa1ded2,'drawingId':_0xd17801});return _0x353d7a==null?void 0x0:_0x353d7a[_0x4f81ec(0x76)];},'updateShapeText':({unitId:_0x2dbb01,shapeId:_0x21e58c,shapeText:_0x4cdda9,oldShapeText:_0x5f2929})=>{const _0xcae526=_0x4c8b;_0x384257[_0xcae526(0x204)](_0x5ad227['id'],{'unitId':_0x2dbb01,'shapeId':_0x21e58c,'shapeData':{'shapeText':_0x4cdda9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5f2929}}});}}),[_0x384257,_0x2cc1c9,_0x449a49]),'editingService':_0xd1cf67,'editorUnitId':ia,'positionOptions':_0x21d7e4(()=>({'viewportKeys':{'main':_0x49d9be[_0x62dd46(0xa8)]}}),[])});});let Pa=class extends _0x1e2586{constructor(_0x3afe82,_0x108f99){const _0x43e042=_0x16658a;super(),this[_0x43e042(0x18f)]=_0x3afe82,this[_0x43e042(0xf3)]=_0x108f99,this[_0x43e042(0x276)](),this[_0x43e042(0xd6)]();}[_0x16658a(0x276)](){const _0x39b601=_0x16658a;this['disposeWithMe'](this[_0x39b601(0xf3)][_0x39b601(0x24d)]({'ShapeAccentBorderCallout1Icon':_0x5b8823,'ShapeAccentBorderCallout2Icon':_0x54651d,'ShapeAccentBorderCallout3Icon':_0x3f65b2,'ShapeAccentCallout1Icon':_0x3cf6fc,'ShapeAccentCallout2Icon':_0x46df5d,'ShapeAccentCallout3Icon':_0x4c149d,'ShapeActionButtonBackPreviousIcon':_0x265efa,'ShapeActionButtonBeginningIcon':_0x41c47a,'ShapeActionButtonBlankIcon':_0x436196,'ShapeActionButtonDocumentIcon':_0x3814fc,'ShapeActionButtonEndIcon':_0x309a58,'ShapeActionButtonForwardNextIcon':_0x2d604c,'ShapeActionButtonHelpIcon':_0x1ee73b,'ShapeActionButtonHomeIcon':_0x31c689,'ShapeActionButtonInformationIcon':_0x55c3be,'ShapeActionButtonMovieIcon':_0x16e591,'ShapeActionButtonReturnIcon':_0x3b6497,'ShapeActionButtonSoundIcon':_0x5546e0,'ShapeArcIcon':_0x55599c,'ShapeBentArrowIcon':_0x378b53,'ShapeBentConnector3Arrow1Icon':_0x510d7b,'ShapeBentConnector3Arrow2Icon':_0x289027,'ShapeBentConnector3Icon':_0x3bd55f,'ShapeBentUpArrowIcon':_0x147512,'ShapeBevelIcon':_0x4fa64b,'ShapeBlockArcIcon':_0x26758e,'ShapeBorderCallout1Icon':_0x2e51e2,'ShapeBorderCallout2Icon':_0x2e89a3,'ShapeBorderCallout3Icon':_0x1d35b6,'ShapeBracePairIcon':_0xaf90e5,'ShapeBracketPairIcon':_0x3916ef,'ShapeCallout1Icon':_0x35fc99,'ShapeCallout2Icon':_0x192cec,'ShapeCallout3Icon':_0x180492,'ShapeCanIcon':_0x5723e1,'ShapeChartPlusIcon':_0x5d1eca,'ShapeChartStarIcon':_0x567791,'ShapeChartXIcon':_0x16672e,'ShapeChevronIcon':_0x178655,'ShapeChordIcon':_0x50dc84,'ShapeCircularArrowIcon':_0x1d0624,'ShapeCloudCalloutIcon':_0x82d67c,'ShapeCloudIcon':_0x45e718,'ShapeCornerIcon':_0x73c816,'ShapeCornerTabsIcon':_0x1cb03e,'ShapeCubeIcon':_0x5597da,'ShapeCurvedConnector3Arrow1Icon':_0x4e73b0,'ShapeCurvedConnector3Arrow2Icon':_0x497944,'ShapeCurvedConnector3Icon':_0x13b19b,'ShapeCurvedDownArrowIcon':_0x4ef6db,'ShapeCurvedLeftArrowIcon':_0x5dad60,'ShapeCurvedRightArrowIcon':_0x4b948c,'ShapeCurvedUpArrowIcon':_0x1bcbb8,'ShapeDecagonIcon':_0x4f4349,'ShapeDiagStripeIcon':_0x32c42b,'ShapeDiamondIcon':_0x244ecc,'ShapeDodecagonIcon':_0x26aaf5,'ShapeDonutIcon':_0x2c695c,'ShapeDoubleWaveIcon':_0x771e93,'ShapeDownArrowCalloutIcon':_0x27566a,'ShapeDownArrowIcon':_0x4da57c,'ShapeEllipseIcon':_0x24e4a8,'ShapeEllipseRibbon2Icon':_0xc1b709,'ShapeEllipseRibbonIcon':_0x1658c6,'ShapeFlowChartAlternateProcessIcon':_0x472b68,'ShapeFlowChartCollateIcon':_0x33210f,'ShapeFlowChartConnectorIcon':_0x18f6ca,'ShapeFlowChartDecisionIcon':_0x30e00b,'ShapeFlowChartDelayIcon':_0x38c1a2,'ShapeFlowChartDisplayIcon':_0x4db7c1,'ShapeFlowChartDocumentIcon':_0x847751,'ShapeFlowChartExtractIcon':_0x116c57,'ShapeFlowChartInputOutputIcon':_0x50db84,'ShapeFlowChartInternalStorageIcon':_0x30c4d2,'ShapeFlowChartMagneticDiskIcon':_0x17ba7c,'ShapeFlowChartMagneticDrumIcon':_0x347be0,'ShapeFlowChartMagneticTapeIcon':_0x254f04,'ShapeFlowChartManualInputIcon':_0x3d9e4e,'ShapeFlowChartManualOperationIcon':_0x2696ce,'ShapeFlowChartMergeIcon':_0x1651bc,'ShapeFlowChartMultidocumentIcon':_0x1ee59b,'ShapeFlowChartOfflineStorageIcon':_0x3c74a4,'ShapeFlowChartOffpageConnectorIcon':_0x57ab56,'ShapeFlowChartOnlineStorageIcon':_0x39bc29,'ShapeFlowChartOrIcon':_0x47d9c1,'ShapeFlowChartPredefinedProcessIcon':_0x277275,'ShapeFlowChartPreparationIcon':_0x32e987,'ShapeFlowChartProcessIcon':_0x5e47f8,'ShapeFlowChartPunchedCardIcon':_0x27905c,'ShapeFlowChartPunchedTapeIcon':_0xe2a396,'ShapeFlowChartSortIcon':_0x296059,'ShapeFlowChartSummingJunctionIcon':_0x5cb6c7,'ShapeFlowChartTerminatorIcon':_0x1a42cc,'ShapeFolderCornerIcon':_0x15792f,'ShapeFrameIcon':_0x506279,'ShapeFunnelIcon':_0x1388be,'ShapeGear6Icon':_0x45c419,'ShapeGear9Icon':_0xe71435,'ShapeHalfFrameIcon':_0xf3b42f,'ShapeHeartIcon':_0x41f64c,'ShapeHeptagonIcon':_0x2d315c,'ShapeHexagonIcon':_0x39d617,'ShapeHomePlateIcon':_0x3d991f,'ShapeHorizontalScrollIcon':_0x2e3290,'ShapeIrregularSeal1Icon':_0x4ca65e,'ShapeIrregularSeal2Icon':_0x530cd0,'ShapeLeftArrowCalloutIcon':_0x391d52,'ShapeLeftArrowIcon':_0xa95d58,'ShapeLeftBraceIcon':_0x46c5d1,'ShapeLeftBracketIcon':_0x4b33c0,'ShapeLeftCircularArrowIcon':_0x74f66a,'ShapeLeftRightArrowCalloutIcon':_0x1a1180,'ShapeLeftRightArrowIcon':_0x26b24d,'ShapeLeftRightCircularArrowIcon':_0x1ce7b8,'ShapeLeftRightRibbonIcon':_0x3e284d,'ShapeLeftRightUpArrowIcon':_0x24b0aa,'ShapeLeftUpArrowIcon':_0x132a1b,'ShapeLightningBoltIcon':_0x1fa692,'ShapeLineIcon':_0x229f11,'ShapeLineInvIcon':_0x1d307c,'ShapeMathDivideIcon':_0x160353,'ShapeMathEqualIcon':_0x588939,'ShapeMathMinusIcon':_0x51ffba,'ShapeMathMultiplyIcon':_0x582d06,'ShapeMathNotEqualIcon':_0x4ae928,'ShapeMathPlusIcon':_0x4840b3,'ShapeMoonIcon':_0x1d5203,'ShapeNoSmokingIcon':_0x6b479a,'ShapeNonIsoscelesTrapezoidIcon':_0x32cef5,'ShapeNotchedRightArrowIcon':_0x5bc6e9,'ShapeOctagonIcon':_0x566370,'ShapeParallelogramIcon':_0x3fbd8c,'ShapePentagonIcon':_0x23992c,'ShapePieIcon':_0x3b8117,'ShapePieWedgeIcon':_0x34bb68,'ShapePlaqueIcon':_0xfc42c,'ShapePlaqueTabsIcon':_0x187eee,'ShapePlusIcon':_0x5698ac,'ShapeQuadArrowCalloutIcon':_0x7f02f4,'ShapeQuadArrowIcon':_0x27a34a,'ShapeRectIcon':_0x4043b2,'ShapeRectTextboxHorizontalIcon':_0xeac023,'ShapeRectTextboxVerticalIcon':_0x3ef691,'ShapeRibbon2Icon':_0x2eac0d,'ShapeRibbonIcon':_0x5a00b2,'ShapeRightArrowCalloutIcon':_0x152af9,'ShapeRightArrowIcon':_0x4925ac,'ShapeRightBraceIcon':_0x3156fa,'ShapeRightBracketIcon':_0xc28aeb,'ShapeRound1RectIcon':_0x21429c,'ShapeRound2DiagRectIcon':_0x27f843,'ShapeRound2SameRectIcon':_0x576d44,'ShapeRoundRectIcon':_0x3fdda6,'ShapeRtTriangleIcon':_0x63e75b,'ShapeSmileyFaceIcon':_0x5edb5c,'ShapeSnip1RectIcon':_0xe35f57,'ShapeSnip2DiagRectIcon':_0x35966d,'ShapeSnip2SameRectIcon':_0x462d95,'ShapeSnipRoundRectIcon':_0x246584,'ShapeSquareTabsIcon':_0x3da3bf,'ShapeStar10Icon':_0x15e306,'ShapeStar12Icon':_0x403bf8,'ShapeStar16Icon':_0x3c29c4,'ShapeStar24Icon':_0x468bb8,'ShapeStar32Icon':_0x3e3dd0,'ShapeStar4Icon':_0x4c7299,'ShapeStar5Icon':_0x1cfce5,'ShapeStar6Icon':_0x23d32a,'ShapeStar7Icon':_0x10359b,'ShapeStar8Icon':_0x1a86d0,'ShapeStraightConnector1Icon':_0x58f4bc,'ShapeStraightConnector2Icon':_0x311327,'ShapeStripedRightArrowIcon':_0x151c73,'ShapeSunIcon':_0x3355b0,'ShapeSwooshArrowIcon':_0x94f0da,'ShapeTeardropIcon':_0x32a410,'ShapeTrapezoidIcon':_0x42a08f,'ShapeTriangleIcon':_0xe0a2ce,'ShapeUpArrowCalloutIcon':_0x371ffa,'ShapeUpArrowIcon':_0x55319a,'ShapeUpDownArrowCalloutIcon':_0x111b35,'ShapeUpDownArrowIcon':_0x533fa1,'ShapeUturnArrowIcon':_0x29b19d,'ShapeVerticalScrollIcon':_0x51797e,'ShapeWaveIcon':_0x2141d8,'ShapeWedgeEllipseCalloutIcon':_0x1f44d6,'ShapeWedgeRectCalloutIcon':_0x2c4f60,'ShapeWedgeRoundRectCalloutIcon':_0x32e76d}));}['_registerComponents'](){const _0x1c22ab=_0x16658a;this['disposeWithMe'](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](H,Ma)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](ya,Ca)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](oa,la)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](_0x3b22ba,ca)),this['disposeWithMe'](this['_componentManager']['register'](_0x1c22ab(0xf1),Na));}};Pa=W([U(0x0,_0x15b52f(_0x169c16)),U(0x1,_0x15b52f(_0x2d714f))],Pa);var Fa=class extends _0x4d368a{constructor(_0x1f9447,_0x651896){const _0x2b4b14=_0x16658a;super(_0x1f9447,_0x651896),q(this,_0x2b4b14(0x277),null),q(this,'_adjName',null),q(this,_0x2b4b14(0x1b7),null),q(this,_0x2b4b14(0xbf),null),_0x651896&&this[_0x2b4b14(0x137)](_0x651896);}[_0x16658a(0x2e2)](){const _0x1d0682=_0x16658a;return{'unitId':this[_0x1d0682(0x1b7)],'subUnitId':this[_0x1d0682(0xbf)],'drawingId':this[_0x1d0682(0x277)]};}[_0x16658a(0x137)](_0x5c8def){const _0xeb75e0=_0x16658a;_0x5c8def['shapeId']!==void 0x0&&(this[_0xeb75e0(0x277)]=_0x5c8def[_0xeb75e0(0x123)]),_0x5c8def[_0xeb75e0(0x3a3)]!==void 0x0&&(this[_0xeb75e0(0x31e)]=_0x5c8def[_0xeb75e0(0x3a3)]),_0x5c8def['unitId']!==void 0x0&&(this[_0xeb75e0(0x1b7)]=_0x5c8def['unitId']),_0x5c8def[_0xeb75e0(0x183)]!==void 0x0&&(this[_0xeb75e0(0xbf)]=_0x5c8def[_0xeb75e0(0x183)]),this[_0xeb75e0(0x3ba)]({'width':_0x5c8def['width'],'height':_0x5c8def['height']});}[_0x16658a(0x215)](_0x584216){const _0x13eb3a=_0x16658a;_0x442210['drawWith'](_0x584216,{'radius':_0x4b4a6c['adjHandleSize'],'fill':_0x4b4a6c[_0x13eb3a(0x21f)],'stroke':_0x4b4a6c[_0x13eb3a(0x26d)],'strokeWidth':0x1,'evented':!0x0});}};let Ia=class extends _0x1e2586{constructor(_0x556e6a,_0x429776,_0x5da49d,_0xed2607){const _0x4a33ef=_0x16658a;super(),this['_context']=_0x556e6a,this[_0x4a33ef(0x2ff)]=_0x429776,this[_0x4a33ef(0x378)]=_0x5da49d,this['_commandService']=_0xed2607,q(this,_0x4a33ef(0x2b3),null),q(this,_0x4a33ef(0x1b7),null),q(this,_0x4a33ef(0xbf),null),q(this,_0x4a33ef(0x2ac),void 0x0),q(this,'_adjustPointObjects',[]),q(this,_0x4a33ef(0x39a),0x0),q(this,_0x4a33ef(0x38d),0x0),q(this,_0x4a33ef(0x2ba),0x0),q(this,_0x4a33ef(0x3c5),0x0),q(this,_0x4a33ef(0x1be),!0x1),q(this,_0x4a33ef(0x100),!0x1),q(this,_0x4a33ef(0x14f),void 0x0),q(this,_0x4a33ef(0xe9),void 0x0),q(this,'_adjHandlerPointerMove',void 0x0),q(this,_0x4a33ef(0x395),void 0x0),this[_0x4a33ef(0x81)](),this[_0x4a33ef(0x1cf)]();}[_0x16658a(0x2eb)](){const _0x165bd6=_0x16658a;this[_0x165bd6(0x2c5)]();}[_0x16658a(0x3ab)](){const _0x557d2c=_0x16658a;this[_0x557d2c(0x161)](!0x0);}['_getShapeAdjustPointListById'](_0x45bcb8,_0x21259a,_0x18eeb5){const _0x3e2a23=_0x16658a;var _0x56b6e1;return(_0x56b6e1=this[_0x3e2a23(0x378)]['getShapeModel'](_0x45bcb8,_0x21259a,_0x18eeb5))==null?void 0x0:_0x56b6e1[_0x3e2a23(0x1fc)]();}[_0x16658a(0x189)](_0x4988bf,_0x2452c0,_0x44a86e,_0xcab404){const _0x5db4ef=_0x16658a;var _0x166656;return(_0x166656=this['_docsShapeService'][_0x5db4ef(0x278)](_0x4988bf,_0x2452c0,_0x44a86e))==null?void 0x0:_0x166656[_0x5db4ef(0x286)](_0xcab404);}[_0x16658a(0x297)](){const _0x1c7c0f=_0x16658a;if(this['_unitId']===null||this[_0x1c7c0f(0xbf)]===null||this[_0x1c7c0f(0x2b3)]===null)return null;let _0x6cbf65=this[_0x1c7c0f(0x2ff)][_0x1c7c0f(0x162)]({'unitId':this[_0x1c7c0f(0x1b7)],'subUnitId':this[_0x1c7c0f(0xbf)],'drawingId':this[_0x1c7c0f(0x2b3)]});return _0x6cbf65==null?null:_0x6cbf65;}[_0x16658a(0x2c8)](_0x356915){const _0x4d0c8b=_0x16658a;if(this[_0x4d0c8b(0x1b7)]===null||this[_0x4d0c8b(0xbf)]===null||this[_0x4d0c8b(0x2b3)]===null)return null;let _0x6410e7=_0x37e322({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4d0c8b(0x2b3)]}),_0x4c4635=_0x356915[_0x4d0c8b(0x373)](_0x6410e7);return _0x4c4635 instanceof X?_0x4c4635:null;}['_createShapeAdjustControls'](_0x2d522f=!0x1){const _0x4e351e=_0x16658a;if(this['_unitId']===null||this[_0x4e351e(0xbf)]===null||this[_0x4e351e(0x2b3)]===null)return;let _0x14a3df=this['_getActiveDrawingParam']();if((_0x14a3df==null?void 0x0:_0x14a3df[_0x4e351e(0x37f)])!==_0x1ec8b5['DRAWING_SHAPE']||!_0x14a3df[_0x4e351e(0x76)])return;let _0x2ad217=this[_0x4e351e(0x378)][_0x4e351e(0x278)](this[_0x4e351e(0x1b7)],this[_0x4e351e(0xbf)],this[_0x4e351e(0x2b3)]);if(!_0x2ad217||_0x2ad217[_0x4e351e(0x72)]())return;(_0x2d522f||!this[_0x4e351e(0x2ac)])&&(this[_0x4e351e(0x2ac)]=this[_0x4e351e(0xed)](this[_0x4e351e(0x1b7)],this['_subUnitId'],this['_activeShapeId']));let _0x15de2d=this[_0x4e351e(0x2ac)];if(!(_0x15de2d!=null&&_0x15de2d['length']))return;let {scene:_0x4b84de}=this['_context'],{left:_0x41cbe2=0x0,top:_0x56709c=0x0,width:_0x2c50b2=0x0,height:_0x10a254=0x0,flipX:_0x1138e9,flipY:_0x2ff879,angle:_0x4e3aef=0x0}=_0x14a3df[_0x4e351e(0x76)];for(let _0xb53afc of _0x15de2d){let _0x261325=this[_0x4e351e(0xcc)](_0xb53afc,_0x2c50b2,_0x10a254,!!_0x1138e9,!!_0x2ff879,_0x4e3aef);this[_0x4e351e(0x1f7)](_0x4b84de,_0x261325,_0x261325['adjName'],_0x41cbe2,_0x56709c,this['_unitId'],this[_0x4e351e(0xbf)]);}}[_0x16658a(0xcc)](_0x2c0168,_0x30f43b,_0x23f0c4,_0x38e724,_0x3424c7,_0xa06e63){const _0x17d5e8=_0x16658a;let _0x78ace1=_0x2c0168['x'],_0xee5fcd=_0x2c0168['y'];if(_0x38e724&&(_0x78ace1=_0x30f43b-_0x78ace1),_0x3424c7&&(_0xee5fcd=_0x23f0c4-_0xee5fcd),_0xa06e63!==0x0){let _0x12d90e=_0x30f43b/0x2,_0x88a1a3=_0x23f0c4/0x2,_0x1541f4=_0xa06e63*Math['PI']/0xb4,_0x151efa=Math['cos'](_0x1541f4),_0x574e61=Math[_0x17d5e8(0x93)](_0x1541f4),_0x215617=_0x78ace1-_0x12d90e,_0x4915f6=_0xee5fcd-_0x88a1a3;_0x78ace1=_0x12d90e+(_0x215617*_0x151efa-_0x4915f6*_0x574e61),_0xee5fcd=_0x88a1a3+(_0x215617*_0x574e61+_0x4915f6*_0x151efa);}return{'x':_0x78ace1,'y':_0xee5fcd,'adjName':_0x2c0168[_0x17d5e8(0x3a3)]};}[_0x16658a(0x161)](_0x523bf6=!0x1){const _0x4d5020=_0x16658a;_0x523bf6&&this[_0x4d5020(0x2c5)](),this[_0x4d5020(0x381)](_0x523bf6);}[_0x16658a(0x1f7)](_0x2e8900,_0x23b174,_0x46d761,_0x460f43,_0x17ab0f,_0x39eef7,_0x389e22){const _0x18bce2=_0x16658a;if(!this[_0x18bce2(0x2b3)])return;let _0x59a2c9=_0x18bce2(0x16e)+this['_activeShapeId']+'-'+_0x46d761,_0x13e4a3=_0x2e8900[_0x18bce2(0x373)](_0x59a2c9);if(_0x13e4a3){_0x13e4a3['transformByState']({'left':_0x23b174['x']+_0x460f43-_0x4b4a6c[_0x18bce2(0x2a4)],'top':_0x23b174['y']+_0x17ab0f-_0x4b4a6c['adjHandleSize']}),_0x13e4a3['makeDirty'](!0x0);return;}let _0x245614=new Fa(_0x59a2c9,{'left':_0x23b174['x']+_0x460f43-_0x4b4a6c[_0x18bce2(0x2a4)],'top':_0x23b174['y']+_0x17ab0f-_0x4b4a6c[_0x18bce2(0x2a4)],'adjName':_0x46d761,'shapeId':this['_activeShapeId'],'unitId':_0x39eef7,'subUnitId':_0x389e22,'width':_0x4b4a6c['adjHandleSize']+0x8,'height':_0x4b4a6c[_0x18bce2(0x2a4)]+0x8,'zIndex':_0x9365ac+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x18bce2(0x2f3)](_0x245614),this[_0x18bce2(0x1b4)](_0x245614,_0x2e8900,_0x46d761),_0x2e8900[_0x18bce2(0x1f2)](_0x245614,_0x9365ac+0x1);}[_0x16658a(0x2c5)](){const _0x2e1452=_0x16658a;this[_0x2e1452(0x318)][_0x2e1452(0x122)](_0xd3f874=>_0xd3f874[_0x2e1452(0x2f1)]()),this['_adjustPointObjects']=[];}[_0x16658a(0x268)](){this['_createShapeAdjustControls']();}[_0x16658a(0x37e)](_0x35518f,_0x40e726,_0x50309b){const _0x4319fb=_0x16658a;var _0x2a5c80,_0x70602e;let _0x2f9a55=_0x3a2650['FromArray']([_0x40e726,_0x50309b]),_0x428961=(_0x2a5c80=_0x35518f[_0x4319fb(0x1db)](_0x2f9a55))==null?_0x35518f[_0x4319fb(0x20b)]()[0x0]:_0x2a5c80;return(_0x70602e=_0x428961==null?void 0x0:_0x428961[_0x4319fb(0x149)](_0x2f9a55))==null?_0x2f9a55:_0x70602e;}[_0x16658a(0x1b4)](_0x22e1ee,_0x21160f,_0x402db1){const _0x3e380c=_0x16658a;this['disposeWithMe'](_0x1dcf7c(_0x22e1ee[_0x3e380c(0x238)][_0x3e380c(0x3bb)]((_0x13f5d8,_0x198681)=>{const _0x2d065d=_0x3e380c;var _0x2a44e6,_0x3b8dc1,_0x321296,_0xd195a1;let _0x5323e2=_0x22e1ee[_0x2d065d(0x2e2)]();this[_0x2d065d(0x14f)]=this[_0x2d065d(0x189)](_0x5323e2['unitId'],_0x5323e2[_0x2d065d(0x183)],_0x5323e2['drawingId'],_0x402db1),this[_0x2d065d(0xe9)]=this[_0x2d065d(0x378)][_0x2d065d(0x278)](_0x5323e2[_0x2d065d(0x392)],_0x5323e2[_0x2d065d(0x183)],_0x5323e2['drawingId']);let _0x15df9c=this[_0x2d065d(0x297)](),_0x408042=_0x15df9c==null?void 0x0:_0x15df9c[_0x2d065d(0x76)];if(!_0x15df9c||!_0x408042||!this['_activeShapeModel'])return;this['_baseShapeLeft']=_0x408042[_0x2d065d(0xfc)]||0x0,this[_0x2d065d(0x38d)]=_0x408042[_0x2d065d(0x288)]||0x0,this[_0x2d065d(0x2ba)]=_0x408042[_0x2d065d(0x24b)]||0x0,this[_0x2d065d(0x3c5)]=_0x408042[_0x2d065d(0x296)]||0x0;let _0xc9a3ae=!!_0x408042[_0x2d065d(0x385)],_0x1d7d76=!!_0x408042[_0x2d065d(0x36c)],_0x3ed68e=_0x408042[_0x2d065d(0x121)]||0x0,_0x442568=((_0x2a44e6=this[_0x2d065d(0x14f)])==null?void 0x0:_0x2a44e6['gdRefX'])||((_0x3b8dc1=this[_0x2d065d(0x14f)])==null?void 0x0:_0x3b8dc1[_0x2d065d(0x2bf)])||((_0x321296=this[_0x2d065d(0x14f)])==null?void 0x0:_0x321296[_0x2d065d(0x1da)])||((_0xd195a1=this['_activeAdjustInfo'])==null?void 0x0:_0xd195a1[_0x2d065d(0x1e6)])||_0x402db1,_0x502678=this[_0x2d065d(0xe9)][_0x2d065d(0x70)](_0x442568),_0x575649={[_0x442568]:_0x502678};this[_0x2d065d(0x1be)]=!0x0,_0x21160f[_0x2d065d(0x2cf)](),this[_0x2d065d(0x9e)]=_0x21160f[_0x2d065d(0x33f)][_0x2d065d(0x3bb)]((_0xaed9eb,_0x36a44a)=>{const _0x4b5c90=_0x2d065d;var _0x3cf703;if(!this[_0x4b5c90(0x1be)]||!this[_0x4b5c90(0xe9)]||!this[_0x4b5c90(0x14f)])return;_0x21160f[_0x4b5c90(0x2cf)](),_0x21160f[_0x4b5c90(0x34d)](_0x5eba90[_0x4b5c90(0x1d4)]);let _0x5efde6=this[_0x4b5c90(0x37e)](_0x21160f,_0xaed9eb['offsetX'],_0xaed9eb[_0x4b5c90(0x1cb)]),_0x2594ef=_0x5efde6['x']-this[_0x4b5c90(0x39a)],_0x2be3b8=_0x5efde6['y']-this[_0x4b5c90(0x38d)];if(_0x3ed68e!==0x0){let _0xf30e38=this[_0x4b5c90(0x2ba)]/0x2,_0x224174=this[_0x4b5c90(0x3c5)]/0x2,_0x29d94b=_0x3ed68e*Math['PI']/0xb4,_0x62704d=Math[_0x4b5c90(0x2d9)](_0x29d94b),_0x46180c=Math[_0x4b5c90(0x93)](_0x29d94b),_0x315bc1=_0x2594ef-_0xf30e38,_0x1d6387=_0x2be3b8-_0x224174;_0x2594ef=_0xf30e38+(_0x315bc1*_0x62704d+_0x1d6387*_0x46180c),_0x2be3b8=_0x224174+(-_0x315bc1*_0x46180c+_0x1d6387*_0x62704d);}_0xc9a3ae&&(_0x2594ef=this[_0x4b5c90(0x2ba)]-_0x2594ef),_0x1d7d76&&(_0x2be3b8=this[_0x4b5c90(0x3c5)]-_0x2be3b8);let _0x21d94a={'left':0x0,'top':0x0,'width':this[_0x4b5c90(0x2ba)],'height':this[_0x4b5c90(0x3c5)]},_0x5dd354=this['_activeShapeModel'][_0x4b5c90(0xfe)](_0x21d94a,{'x':_0x2594ef,'y':_0x2be3b8},this['_activeAdjustInfo'],_0xc9a3ae,_0x1d7d76),_0x4f0dbf=this[_0x4b5c90(0x14f)][_0x4b5c90(0x18a)]||this['_activeAdjustInfo'][_0x4b5c90(0x2bf)]||this[_0x4b5c90(0x14f)][_0x4b5c90(0x1da)]||this[_0x4b5c90(0x14f)][_0x4b5c90(0x1e6)];_0x4f0dbf!==void 0x0&&(this['_activeShapeModel'][_0x4b5c90(0x1f1)](_0x4f0dbf,_0x5dd354),(_0x3cf703=this[_0x4b5c90(0x2c8)](_0x21160f))==null||_0x3cf703[_0x4b5c90(0x185)](!0x0),this[_0x4b5c90(0x2ac)]=this[_0x4b5c90(0xed)](_0x5323e2[_0x4b5c90(0x392)],_0x5323e2[_0x4b5c90(0x183)],_0x5323e2[_0x4b5c90(0x109)]),this[_0x4b5c90(0x268)](),_0x36a44a[_0x4b5c90(0x26c)]());}),this['_adjHandlerPointerUp']=_0x21160f[_0x2d065d(0x75)][_0x2d065d(0x3bb)]((_0x2bcfed,_0x141348)=>{const _0x4064ad=_0x2d065d;var _0x1bc85b,_0x456d4f;(_0x1bc85b=this['_adjHandlerPointerMove'])==null||_0x1bc85b[_0x4064ad(0x1fb)](),(_0x456d4f=this['_adjHandlerPointerUp'])==null||_0x456d4f['unsubscribe'](),_0x21160f['resetCursor']();let _0x34a39f=this['_activeAdjustInfo'];if(_0x34a39f&&this[_0x4064ad(0xe9)]){let _0x4f7aa7=_0x34a39f[_0x4064ad(0x18a)]||_0x34a39f[_0x4064ad(0x2bf)]||_0x34a39f[_0x4064ad(0x1da)]||_0x34a39f[_0x4064ad(0x1e6)];if(_0x4f7aa7!==void 0x0){let _0x195c25=this[_0x4064ad(0xe9)][_0x4064ad(0x70)](_0x4f7aa7);_0x195c25!==void 0x0&&_a(this[_0x4064ad(0x313)],_0x5323e2[_0x4064ad(0x392)],_0x5323e2[_0x4064ad(0x183)],_0x5323e2[_0x4064ad(0x109)],{'oldShapeData':{'adjustValues':_0x575649}},{'adjustValues':{[_0x4f7aa7]:_0x195c25}});}}this[_0x4064ad(0x14f)]=void 0x0,this[_0x4064ad(0xe9)]=void 0x0,this[_0x4064ad(0x1be)]=!0x1,_0x21160f[_0x4064ad(0x1c5)](),_0x141348[_0x4064ad(0x26c)]();}),_0x198681[_0x2d065d(0x26c)]();})));}[_0x16658a(0x1cf)](){const _0x2c74dc=_0x16658a;let {scene:_0x472ee0}=this[_0x2c74dc(0x6e)],_0x3d7f0a=_0x472ee0[_0x2c74dc(0x234)]();this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x108)][_0x2c74dc(0x1d5)](_0x32e554=>{const _0x2600f9=_0x2c74dc;this[_0x2600f9(0x381)](),_0x32e554[_0x2600f9(0x23f)]!==null&&_0x32e554['objects'][_0x2600f9(0x352)]===0x1&&_0x32e554[_0x2600f9(0x23f)][_0x2600f9(0x231)]()[_0x2600f9(0x213)]()[_0x2600f9(0xf0)]instanceof X&&(this[_0x2600f9(0x100)]=!0x0);})),this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x198)][_0x2c74dc(0x1d5)](()=>{const _0x598041=_0x2c74dc;this[_0x598041(0x100)]&&this[_0x598041(0x2c5)]();})),this[_0x2c74dc(0x28d)](_0x472ee0['onPointerUp$'][_0x2c74dc(0x3bb)](()=>{const _0x3b58ff=_0x2c74dc;this[_0x3b58ff(0x100)]&&(this[_0x3b58ff(0x100)]=!0x1,this[_0x3b58ff(0x381)]());})),this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x1ea)][_0x2c74dc(0x1d5)](()=>{const _0x3d1f84=_0x2c74dc;this[_0x3d1f84(0x1b7)]&&this[_0x3d1f84(0xbf)]&&this[_0x3d1f84(0x2b3)]&&(this['_activeShapeAdjustPointList']=this[_0x3d1f84(0xed)](this[_0x3d1f84(0x1b7)],this[_0x3d1f84(0xbf)],this[_0x3d1f84(0x2b3)]),this['_updateAdjustControlPositions']());}));}[_0x16658a(0x81)](){const _0x5cc652=_0x16658a;this[_0x5cc652(0x28d)](this[_0x5cc652(0x2ff)][_0x5cc652(0x1f9)][_0x5cc652(0x1d5)](_0x5a285c=>{const _0x2dc8c9=_0x5cc652;if(_0x5a285c[_0x2dc8c9(0x3b8)]===0x1){let _0x2e0738=_0x5a285c[0x0],_0x202f85=this[_0x2dc8c9(0x2ff)][_0x2dc8c9(0x162)](_0x2e0738);if((_0x202f85==null?void 0x0:_0x202f85[_0x2dc8c9(0x37f)])===_0x1ec8b5[_0x2dc8c9(0x2b5)]){this[_0x2dc8c9(0x2b3)]=_0x2e0738[_0x2dc8c9(0x109)],this[_0x2dc8c9(0x1b7)]=_0x2e0738[_0x2dc8c9(0x392)],this[_0x2dc8c9(0xbf)]=_0x2e0738[_0x2dc8c9(0x183)],this[_0x2dc8c9(0x2ac)]=this[_0x2dc8c9(0xed)](_0x2e0738['unitId'],_0x2e0738[_0x2dc8c9(0x183)],_0x2e0738[_0x2dc8c9(0x109)]),this[_0x2dc8c9(0x2c5)](),this['_createShapeAdjustControls']();return;}}this[_0x2dc8c9(0x2b3)]=null,this[_0x2dc8c9(0x2ac)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0x2dc8c9(0x2c5)]();})),this[_0x5cc652(0x28d)](this['_drawingManagerService']['update$'][_0x5cc652(0x1d5)](_0x62b49c=>{const _0x39d802=_0x5cc652;if(_0x62b49c[_0x39d802(0x3b8)]===0x1){var _0x585af9;((_0x585af9=this['_drawingManagerService'][_0x39d802(0x162)](_0x62b49c[0x0]))==null?void 0x0:_0x585af9[_0x39d802(0x37f)])===_0x1ec8b5[_0x39d802(0x2b5)]&&this[_0x39d802(0x161)](!0x0);}})),this['disposeWithMe'](this[_0x5cc652(0x2ff)][_0x5cc652(0x29a)][_0x5cc652(0x1d5)](_0x3e3f93=>{const _0x4aa9b5=_0x5cc652;for(let _0x4b2f33 of _0x3e3f93)this[_0x4aa9b5(0x2b3)]===_0x4b2f33[_0x4aa9b5(0x109)]&&(this[_0x4aa9b5(0x2b3)]=null,this[_0x4aa9b5(0x2ac)]=void 0x0,this[_0x4aa9b5(0x1b7)]=null,this['_subUnitId']=null,this[_0x4aa9b5(0x2c5)]());}));}};Ia=W([U(0x1,_0x441a82),U(0x2,_0x15b52f(_0x24d037)),U(0x3,_0x44ffa4)],Ia);function La(_0x3468a2,_0x2a75f9){const _0xfe77b4=_0x16658a;let _0x28e425=_0x3468a2;for(;_0x28e425;){if(_0x2a75f9(_0x28e425))return _0x28e425;_0x28e425=typeof _0x28e425['getParent']=='function'?_0x28e425[_0xfe77b4(0xeb)]():null;}return null;}function Ra(_0x4cd05f){return La(_0x4cd05f,_0x575a1f=>_0x575a1f instanceof X);}let za=class extends _0x1e2586{constructor(_0x522063,_0x63bec1,_0x7e2820,_0x29819e,_0x54d06c){const _0x1a1266=_0x16658a;super(),this[_0x1a1266(0x6e)]=_0x522063,this['_shapeTextEditingService']=_0x63bec1,this[_0x1a1266(0x2ff)]=_0x7e2820,this['_contextService']=_0x29819e,this['_docsShapeService']=_0x54d06c,q(this,_0x1a1266(0x19f),null),this[_0x1a1266(0x2df)](),this[_0x1a1266(0xac)](),this['_initEditingParams']();}['_initEvents'](){const _0x351666=_0x16658a;let {scene:_0x3926c5}=this['_context'];this[_0x351666(0x28d)](_0x3926c5['onDblclick$'][_0x351666(0x3bb)](_0x110e96=>{const _0x228b81=_0x351666;var _0x3706ff;let {offsetX:_0x1aa974,offsetY:_0x1b73b2}=_0x110e96,_0x4a115b=_0x3a2650[_0x228b81(0x236)]([_0x1aa974,_0x1b73b2]),_0x1e9764=(_0x3706ff=Ra(_0x3926c5['pick'](_0x4a115b)))==null?this[_0x228b81(0x24e)](_0x4a115b):_0x3706ff;if(_0x1e9764){if(_0x3d96f8(this[_0x228b81(0x378)][_0x228b81(0x292)](_0x1e9764[_0x228b81(0x392)],_0x1e9764[_0x228b81(0x183)],_0x1e9764[_0x228b81(0x123)])))return;this[_0x228b81(0x309)][_0x228b81(0x335)]({'visible':!0x0,'unitId':_0x1e9764[_0x228b81(0x392)],'subUnitId':_0x1e9764['subUnitId'],'shapeId':_0x1e9764[_0x228b81(0x123)],'shapeKey':_0x1e9764[_0x228b81(0x220)]});}}));}['_getFocusedShapeAtPoint'](_0x16385c){const _0x1b8633=_0x16658a;let {scene:_0xe20e76}=this[_0x1b8633(0x6e)],_0x5e8266=this[_0x1b8633(0x2ff)][_0x1b8633(0x102)]()[_0x1b8633(0x375)](_0x3107a3=>_0xe20e76[_0x1b8633(0x373)](_0x37e322(_0x3107a3)))[_0x1b8633(0x1e0)](_0x4c05a3=>_0x4c05a3 instanceof X&&_0x4c05a3[_0x1b8633(0x34e)](_0x16385c));return _0x5e8266==null?null:_0x5e8266;}['_initSelection'](){const _0x293d75=_0x16658a;this[_0x293d75(0x28d)](this[_0x293d75(0x2ff)][_0x293d75(0x1f9)][_0x293d75(0x1d5)](_0x3cf295=>{const _0x5383a5=_0x293d75;if(_0x3cf295['length']===0x1){let _0x422a9f=_0x3cf295[0x0],_0x31995e=this[_0x5383a5(0x2ff)]['getDrawingByParam'](_0x422a9f);if((_0x31995e==null?void 0x0:_0x31995e[_0x5383a5(0x37f)])===_0x1ec8b5[_0x5383a5(0x2b5)]){let _0x3cd364=this[_0x5383a5(0x309)]['getEditing']();if((_0x3cd364==null?void 0x0:_0x3cd364[_0x5383a5(0x123)])===_0x422a9f['drawingId']&&_0x3cd364[_0x5383a5(0x19e)])return;_0x3d96f8(this['_docsShapeService'][_0x5383a5(0x292)](_0x422a9f[_0x5383a5(0x392)],_0x422a9f[_0x5383a5(0x183)],_0x422a9f[_0x5383a5(0x109)]))&&this[_0x5383a5(0x309)][_0x5383a5(0x335)](null);}else this[_0x5383a5(0x309)][_0x5383a5(0x2c9)]()&&(this[_0x5383a5(0x309)][_0x5383a5(0x195)](!0x0),requestAnimationFrame(()=>{const _0x3802d7=_0x5383a5;this[_0x3802d7(0x309)][_0x3802d7(0x335)](null);}));}else this[_0x5383a5(0x309)]['getEditing']()&&(this[_0x5383a5(0x309)][_0x5383a5(0x195)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this['disposeWithMe'](this[_0x293d75(0x2ff)][_0x293d75(0x29a)]['subscribe'](_0x4f7896=>{const _0x5e089b=_0x293d75;let _0x59dc43=this[_0x5e089b(0x309)]['getEditing']();_0x59dc43&&_0x4f7896[_0x5e089b(0xf4)](_0x25306b=>_0x25306b['drawingId']===_0x59dc43[_0x5e089b(0x123)])&&this['_shapeTextEditingService'][_0x5e089b(0x335)](null);}));}[_0x16658a(0xb4)](){const _0x5e02e8=_0x16658a;this[_0x5e02e8(0x28d)](this[_0x5e02e8(0x309)]['editingParams$'][_0x5e02e8(0x1d5)](_0x2531e6=>{const _0x4f8e23=_0x5e02e8;let {scene:_0x580ee4}=this[_0x4f8e23(0x6e)];if(this[_0x4f8e23(0x19f)]){let _0x19807f=_0x580ee4['getObjectIncludeInGroup'](this[_0x4f8e23(0x19f)]);_0x19807f&&_0x19807f['setEditing'](!0x1);}if(_0x2531e6){let _0x425fdd=!!_0x2531e6[_0x4f8e23(0x19e)],_0x36e022=_0x580ee4[_0x4f8e23(0x373)](_0x2531e6[_0x4f8e23(0x211)]);_0x36e022&&(_0x36e022['setEditing'](_0x425fdd),this[_0x4f8e23(0x19f)]=_0x2531e6[_0x4f8e23(0x211)]),this[_0x4f8e23(0xad)][_0x4f8e23(0x15e)](_0x24f629,_0x425fdd);}else this['_lastEditingShapeKey']=null,this[_0x4f8e23(0xad)][_0x4f8e23(0x15e)](_0x24f629,!0x1);}));}};za=W([U(0x1,_0x15b52f(J)),U(0x2,_0x441a82),U(0x3,_0x8b2d1e),U(0x4,_0x15b52f(_0x24d037))],za);function Ba(){return _0x44fa53(_0x50b5c7,{});}let Va=class extends _0x28b878{constructor(_0x223e44,_0x35bf05,_0x545f52,_0x5b8327,_0x2d68d0){const _0x15387d=_0x16658a;super(_0x223e44,_0x35bf05,_0x545f52,_0x5b8327,_0x2d68d0,{'componentKey':_0x15387d(0x359),'editorUnitId':ia,'toolbarComponent':Ba});}};Va=W([U(0x1,_0x15b52f(_0x80837d)),U(0x2,_0x15b52f(_0x3f84e2)),U(0x3,_0x15b52f(_0x169c16)),U(0x4,_0x15b52f(_0xff4989))],Va);let $=class extends _0x445366{constructor(_0x395ed0=Ea,_0x571037,_0x544624,_0x361a6a,_0x131f98){const _0x1f854f=_0x16658a;super(),this['_config']=_0x395ed0,this[_0x1f854f(0x129)]=_0x571037,this[_0x1f854f(0x313)]=_0x544624,this[_0x1f854f(0x37a)]=_0x361a6a,this[_0x1f854f(0xdd)]=_0x131f98;let {menu:_0x498b04,..._0x199820}=_0x34694b({},Ea,this['_config']);_0x498b04&&this['_configService'][_0x1f854f(0x114)](_0x1f854f(0x1f8),_0x498b04,{'merge':!0x0}),this[_0x1f854f(0x37a)][_0x1f854f(0x114)](_0x1f854f(0x13f),_0x199820),this[_0x1f854f(0x241)]();}['onStarting'](){const _0x53ec9b=_0x16658a;this[_0x53ec9b(0x129)][_0x53ec9b(0x2fc)]([Pa]),this[_0x53ec9b(0x129)][_0x53ec9b(0x250)](Pa),_0x129652(this[_0x53ec9b(0x129)],[[Y],[Q],[Z],[Ia],[G],[J]]),this[_0x53ec9b(0x254)]();}[_0x16658a(0xbb)](){const _0x2bd3dd=_0x16658a;this['_renderManagerService']['registerRenderModule'](_0x3e815f[_0x2bd3dd(0x2a0)],[Ia]),this[_0x2bd3dd(0xdd)]['registerRenderModule'](_0x3e815f[_0x2bd3dd(0x2a0)],[za]),this[_0x2bd3dd(0xdd)][_0x2bd3dd(0x33a)](_0x3e815f[_0x2bd3dd(0x2a0)],[Va]),_0x1e913b(this[_0x2bd3dd(0x129)],[[Y],[Q],[Z],[G],[J]]);}[_0x16658a(0x241)](){const _0x25d8b9=_0x16658a;[B,ra,V]['forEach'](_0x3c0dc4=>this['disposeWithMe'](this[_0x25d8b9(0x313)]['registerCommand'](_0x3c0dc4)));}[_0x16658a(0x254)](){const _0x11154b=_0x16658a;let _0x3c38fb=this[_0x11154b(0x129)],_0x53ac01=_0x3c38fb[_0x11154b(0x250)](_0xda7b61);this[_0x11154b(0x28d)](_0x53ac01[_0x11154b(0x398)](_0x21500d[_0x11154b(0x2e3)],()=>_0x197648(Na,_0x3c38fb)));}};q($,_0x16658a(0x229),_0x3e815f[_0x16658a(0x2a0)]),q($,_0x16658a(0x78),_0x16658a(0x117)),q($,_0x16658a(0xb9),wa),q($,_0x16658a(0x28f),Ta),$=W([_0x441f76(_0x18b2d3,_0x20f802,_0x7c41d3),U(0x1,_0x15b52f(_0x4dfdab)),U(0x2,_0x44ffa4),U(0x3,_0x2675aa),U(0x4,_0x2e40c6)],$);export{ra as CloseDocShapeFormatPanelOperation,Y as DocsShapeUIController,B as MenuInsertShapeCommand,V as OpenDocShapeFormatPanelOperation,$ as UniverDocsShapeUIPlugin};